@univerjs-pro/collaboration-client-node 0.8.0-nightly.202505271607 → 0.8.0-nightly.202505281606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x149f8d=_0x6e7e;(function(_0x5c2b8c,_0x1aa4fd){const _0x487411=_0x6e7e,_0x35e1af=_0x5c2b8c();while(!![]){try{const _0x4ec14e=parseInt(_0x487411(0x247))/0x1+-parseInt(_0x487411(0x268))/0x2+-parseInt(_0x487411(0x2b6))/0x3*(parseInt(_0x487411(0x2b4))/0x4)+-parseInt(_0x487411(0x2be))/0x5*(-parseInt(_0x487411(0x1c1))/0x6)+parseInt(_0x487411(0x28c))/0x7+-parseInt(_0x487411(0x1b3))/0x8+parseInt(_0x487411(0x17e))/0x9;if(_0x4ec14e===_0x1aa4fd)break;else _0x35e1af['push'](_0x35e1af['shift']());}catch(_0x3ba21f){_0x35e1af['push'](_0x35e1af['shift']());}}}(_0x1bb3,0x73c03));Object[_0x149f8d(0x2a7)](exports,Symbol[_0x149f8d(0x1f7)],{'value':_0x149f8d(0x263)});const st=require(_0x149f8d(0x154)),A=require(_0x149f8d(0x256)),it=require('@univerjs/network'),V=require(_0x149f8d(0x28f)),nt=require(_0x149f8d(0x302)),vt=require(_0x149f8d(0x25b)),ot=require(_0x149f8d(0x187)),St=require(_0x149f8d(0x2b7)),Et=require('tls'),Le=require(_0x149f8d(0x2a9)),oe=require('stream'),xt=require(_0x149f8d(0x273)),bt=require(_0x149f8d(0x13a)),wt=require(_0x149f8d(0x1be)),Ot=require(_0x149f8d(0x1ef)),fe=_0x149f8d(0x292),Ct={'customHeaders':{}};function Tt(_0x33cfde){const _0x55342f=_0x149f8d;return _0x33cfde&&_0x33cfde[_0x55342f(0x2d4)]&&Object[_0x55342f(0x23e)][_0x55342f(0x144)][_0x55342f(0x249)](_0x33cfde,_0x55342f(0x237))?_0x33cfde[_0x55342f(0x237)]:_0x33cfde;}function at(_0x14610c){const _0x2fd038=_0x149f8d;if(Object[_0x2fd038(0x23e)][_0x2fd038(0x144)]['call'](_0x14610c,'__esModule'))return _0x14610c;var _0x41fc61=_0x14610c[_0x2fd038(0x237)];if(typeof _0x41fc61=='function'){var _0xa515b3=function _0x2696c6(){const _0x4bbe80=_0x2fd038;return this instanceof _0x2696c6?Reflect[_0x4bbe80(0x26b)](_0x41fc61,arguments,this['constructor']):_0x41fc61['apply'](this,arguments);};_0xa515b3[_0x2fd038(0x23e)]=_0x41fc61[_0x2fd038(0x23e)];}else _0xa515b3={};return Object[_0x2fd038(0x2a7)](_0xa515b3,_0x2fd038(0x2d4),{'value':!0x0}),Object[_0x2fd038(0x219)](_0x14610c)['forEach'](function(_0x3bafbe){const _0x15e75f=_0x2fd038;var _0x48d924=Object[_0x15e75f(0x276)](_0x14610c,_0x3bafbe);Object[_0x15e75f(0x2a7)](_0xa515b3,_0x3bafbe,_0x48d924[_0x15e75f(0x239)]?_0x48d924:{'enumerable':!0x0,'get':function(){return _0x14610c[_0x3bafbe];}});}),_0xa515b3;}var se={'exports':{}},ge,Ge;function H(){const _0x46981f=_0x149f8d;if(Ge)return ge;Ge=0x1;const _0x267586=['nodebuffer',_0x46981f(0x1f2),_0x46981f(0x1df)],_0x44505d=typeof Blob<'u';return _0x44505d&&_0x267586['push']('blob'),ge={'BINARY_TYPES':_0x267586,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x46981f(0x2e7),'hasBlob':_0x44505d,'kForOnEventAttribute':Symbol(_0x46981f(0x28b)),'kListener':Symbol(_0x46981f(0x1b1)),'kStatusCode':Symbol(_0x46981f(0x216)),'kWebSocket':Symbol(_0x46981f(0x1ed)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x149f8d(0x18b)](Object[_0x149f8d(0x2a7)]({'__proto__':null,'default':Nt},Symbol[_0x149f8d(0x1f7)],{'value':_0x149f8d(0x263)})),Lt=at(kt);var Ve;function ce(){const _0x1b633e=_0x149f8d;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3ac2a9}=H(),_0x310b4f=Buffer[Symbol[_0x1b633e(0x23f)]];function _0x121837(_0x8583af,_0x434fe7){const _0x30bb32=_0x1b633e;if(_0x8583af[_0x30bb32(0x25d)]===0x0)return _0x3ac2a9;if(_0x8583af[_0x30bb32(0x25d)]===0x1)return _0x8583af[0x0];const _0x2ca744=Buffer[_0x30bb32(0x155)](_0x434fe7);let _0x471e2e=0x0;for(let _0x300d90=0x0;_0x300d90<_0x8583af[_0x30bb32(0x25d)];_0x300d90++){const _0x59b54f=_0x8583af[_0x300d90];_0x2ca744[_0x30bb32(0x2c9)](_0x59b54f,_0x471e2e),_0x471e2e+=_0x59b54f[_0x30bb32(0x25d)];}return _0x471e2e<_0x434fe7?new _0x310b4f(_0x2ca744[_0x30bb32(0x1be)],_0x2ca744[_0x30bb32(0x286)],_0x471e2e):_0x2ca744;}function _0x2efa7d(_0x17161a,_0x433db1,_0x9aab01,_0x4cb8bb,_0x1f567b){for(let _0xaa01d1=0x0;_0xaa01d1<_0x1f567b;_0xaa01d1++)_0x9aab01[_0x4cb8bb+_0xaa01d1]=_0x17161a[_0xaa01d1]^_0x433db1[_0xaa01d1&0x3];}function _0x322edd(_0x1b65f4,_0x404ea8){const _0x5c6c02=_0x1b633e;for(let _0x4307bf=0x0;_0x4307bf<_0x1b65f4[_0x5c6c02(0x25d)];_0x4307bf++)_0x1b65f4[_0x4307bf]^=_0x404ea8[_0x4307bf&0x3];}function _0x166f62(_0x5e4ba2){const _0x3ee0e4=_0x1b633e;return _0x5e4ba2[_0x3ee0e4(0x25d)]===_0x5e4ba2[_0x3ee0e4(0x1be)]['byteLength']?_0x5e4ba2[_0x3ee0e4(0x1be)]:_0x5e4ba2['buffer'][_0x3ee0e4(0x22d)](_0x5e4ba2[_0x3ee0e4(0x286)],_0x5e4ba2[_0x3ee0e4(0x286)]+_0x5e4ba2['length']);}function _0x9a9e91(_0x168875){const _0x53eb79=_0x1b633e;if(_0x9a9e91[_0x53eb79(0x2bb)]=!0x0,Buffer[_0x53eb79(0x2ef)](_0x168875))return _0x168875;let _0x35e018;return _0x168875 instanceof ArrayBuffer?_0x35e018=new _0x310b4f(_0x168875):ArrayBuffer[_0x53eb79(0x152)](_0x168875)?_0x35e018=new _0x310b4f(_0x168875[_0x53eb79(0x1be)],_0x168875[_0x53eb79(0x286)],_0x168875[_0x53eb79(0x2c7)]):(_0x35e018=Buffer[_0x53eb79(0x308)](_0x168875),_0x9a9e91['readOnly']=!0x1),_0x35e018;}if(se[_0x1b633e(0x261)]={'concat':_0x121837,'mask':_0x2efa7d,'toArrayBuffer':_0x166f62,'toBuffer':_0x9a9e91,'unmask':_0x322edd},!process[_0x1b633e(0x224)]['WS_NO_BUFFER_UTIL'])try{const _0x6304fe=Lt;se['exports'][_0x1b633e(0x1cc)]=function(_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b){const _0x13bcee=_0x1b633e;_0x39f72b<0x30?_0x2efa7d(_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b):_0x6304fe[_0x13bcee(0x1cc)](_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b);},se[_0x1b633e(0x261)][_0x1b633e(0x305)]=function(_0xe8dc9e,_0x356357){const _0x3677ec=_0x1b633e;_0xe8dc9e[_0x3677ec(0x25d)]<0x20?_0x322edd(_0xe8dc9e,_0x356357):_0x6304fe[_0x3677ec(0x305)](_0xe8dc9e,_0x356357);};}catch{}return se[_0x1b633e(0x261)];}var ye,He;function Pt(){const _0x462a14=_0x149f8d;if(He)return ye;He=0x1;const _0x3c04a0=Symbol(_0x462a14(0x22a)),_0x4e406d=Symbol('kRun');class _0x47f6bb{constructor(_0xc19b34){const _0x4de1ec=_0x462a14;this[_0x3c04a0]=()=>{const _0x1682f5=_0x6e7e;this[_0x1682f5(0x140)]--,this[_0x4e406d]();},this[_0x4de1ec(0x1ae)]=_0xc19b34||0x1/0x0,this[_0x4de1ec(0x1d0)]=[],this['pending']=0x0;}[_0x462a14(0x2d1)](_0xb9b8ac){const _0x1fecfd=_0x462a14;this[_0x1fecfd(0x1d0)][_0x1fecfd(0x2d2)](_0xb9b8ac),this[_0x4e406d]();}[_0x4e406d](){const _0x37b36a=_0x462a14;if(this[_0x37b36a(0x140)]!==this[_0x37b36a(0x1ae)]&&this[_0x37b36a(0x1d0)][_0x37b36a(0x25d)]){const _0x26aad7=this[_0x37b36a(0x1d0)][_0x37b36a(0x211)]();this['pending']++,_0x26aad7(this[_0x3c04a0]);}}}return ye=_0x47f6bb,ye;}var ve,ze;function _0x1bb3(){const _0x512bfc=['_masked','\x20(supported\x20versions:\x20','writeUInt16BE','readUInt16BE','IConfigService','_mask','isPaused','isInteger','WebSocket','location','hostname','autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','nodebuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','Unknown\x20parameter\x20\x22','_opcode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','removeAllListeners','createInflateRaw','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','followRedirects','_messageLength','ISnapshotServerService','_payloadLength','shift','_allowSynchronousEvents','HTTP/1.1\x20101\x20Switching\x20Protocols','extensions','statusCode','status-code','WS_NO_UTF_8_VALIDATE','server_max_window_bits','keys','destroy','_registerDependencies','base64','Invalid\x20Sec-WebSocket-Accept\x20header','Parameter\x20\x22','FIN\x20must\x20be\x20set','hash','_threshold','Opening\x20handshake\x20has\x20timed\x20out','listen','env','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','ISocketService','_maskBuffer','share','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','kDone','then','reason','slice','host','Invalid\x20URL:\x20','object','WS_ERR_UNEXPECTED_RSV_2_3','toString','_state','createServer','permessage-deflate','completeUpgrade','default','getPayloadLength64','get','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','join','finished','string','prototype','species','readyState','Max\x20payload\x20size\x20exceeded','maxPayload','writable','The\x20URL\x20contains\x20a\x20fragment\x20identifier','upgrade','isServer','427449pqAAZa','_generateMask','call','_originalHostOrSocketPath','_fragmented','abort','username','listeners','createConnection','has','stream','_loop','readable','read','params','@univerjs/core','registerDependencies','frame','sendFrame','warn','https','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','length','pathname','_paused','_closeCode','exports','noServer','Module','_configService','_server','Disposable','send','601472KsxJLk','type','_closeTimer','construct','finish','destroyed','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-version','GET','wsClientError','_destroy','url','Plugin','dequeue','getOwnPropertyDescriptor','clientTracking','Unexpected\x20server\x20response:\x20','_originalSecure','_final','_readableState','port','concat','cork','defaultPort','verifyClient','Invalid\x20Upgrade\x20header','enqueue','offer','close','Invalid\x20Sec-WebSocket-Protocol\x20header','byteOffset','handleEvent','_closeFrameReceived','skipUTF8Validation','CLOSING','kIsForOnEventAttribute','2061206ENpDUR','address','replace','rxjs','backlog','UniverCollaborationClientPlugin','collaboration-client-node.config','arrayBuffer','_firstFragment','open','Invalid\x20value\x20for\x20parameter\x20\x22','_fin','kMessage','response','getConfig','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','maxRedirects','_isServer','https:','client_max_window_bits','socketPath','alloc','Injector','request','wasClean','pluginName','_shouldEmitClose','defineProperty','OPEN','crypto','accept','getPayloadLength16','create','\x22\x20must\x20have\x20only\x20a\x20single\x20value','text/plain','acceptAsClient','apply','STATUS_CODES','consume','invalid\x20UTF-8\x20sequence','80wAGSWJ','_max_window_bits','135591sXxFWk','net','_injector','_httpService','bufferedAmount','readOnly','needDrain','HTTP/1.1\x20','10JLvkFv','catch','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','isValidUTF8','Sec-WebSocket-Extensions:\x20','toLowerCase','registerHTTPInterceptor','controlMessage','byteLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','set','_req','_closeMessage','extensionName','binaryType','getData','toDisposable','fin','add','push','UniverCollaborationClientNodePlugin','__esModule','pause','_no_context_takeover','WS_ERR_UNEXPECTED_MASK','getInfo','Unsupported\x20protocol\x20version:\x20','charCodeAt','_closeFrameSent','next','_compressed','Unexpected\x20end\x20of\x20input','_fragments','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','compress','_url','encrypted','delete','indexOf','Sec-WebSocket-Extensions','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','connect','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','drain','getBlobData','pipe','_binaryType','cleanup','isBuffer','onclose','conclude','authorization','onerror','\x22\x20subprotocol\x20is\x20duplicated','servername','Inject','objectMode','_sender','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_redirects','split','Observable','connection','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','server_no_context_takeover','kAborted','terminate','events','emit','_readyState','unmask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pong','from','Sec-WebSocket-Protocol','captureStackTrace','sec-websocket-key','MASK\x20must\x20be\x20set','number','kData','binary','generateMask','dataMessage','zlib','listenerCount','_buffers','WS_ERR_INVALID_OPCODE','_doCreateSocket','maskBuffer','pending','invalid\x20opcode\x200','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','text/html','hasOwnProperty','CONNECTING','uncork','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','onStarting','\x0d\x0a\x0d\x0a','emitClose','clients','CLOSED','pow','update','ping','dispatch','value','isView','unexpected-response','@univerjs-pro/collaboration-client','allocUnsafe','flush','getMask','WS_ERR_INVALID_CLOSE_CODE','test','errorEmitted','reset','redirect','acceptAsServer','size','_maxPayload','client','haveLength','forEach','kByteLength','NodeCollaborationSocketService','data','Z_DEFAULT_WINDOWBITS','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-extensions','_socket','setNoDelay','search','kReason','_read','find','auth','values','_writableState','threshold','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','sha1','_autoPong','decompress','_write','Connection:\x20Upgrade','\x22:\x20','write','setSocket','password','code','2648358Lzgabg','_bufferedBytes','readUInt32BE','removeListener','sec-websocket-origin','ILogService','writeHead','allowSynchronousEvents','_extensions','http','origin','function','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','freeze','once','Server\x20sent\x20no\x20subprotocol','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','isArray','_bufferedAmount','Basic\x20','createSocket','addEventListener','timeout','error','protocol','handleUpgrade','authorized','_inflate','DependentOn','RSV1\x20must\x20be\x20clear','ws+unix:','message','digest','href','File','opcode','invalid\x20opcode\x20','finishRequest','callback','format','handleProtocols','_removeListeners','Cookie','server','method','_errored','_deflate','concurrency','target','kError','kListener','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','379648lZbrtx','kWasClean','startLoop','end','normalizeParams','_errorEmitted','clientNoContextTakeover','perMessageDeflate','serverMaxWindowBits','Maximum\x20redirects\x20exceeded','protocolVersion','buffer','cookie','sec-websocket-accept','2130234YsvuLB','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_receiver','resume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kType','nextTick','_originalIpc','_protocol','client_no_context_takeover','The\x20\x22','mask','kTarget','map','_decompress','jobs','Sec-WebSocket-Protocol:\x20','createError','concurrencyLimit','Upgrade','options','_compress','path','customHeaders','bind','isIP','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_options','rsv1','Sec-WebSocket-Accept:\x20','fragments','endEmitted','clientMaxWindowBits','WS_ERR_EXPECTED_MASK','socket','Server\x20sent\x20an\x20invalid\x20subprotocol','WS_ERR_INVALID_UTF8','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setHeader','startsWith','sec-websocket-protocol','_queue','COLLABORATION_CLIENT_NODE_CONFIG_KEY','serverNoContextTakeover','websocket','_skipUTF8Validation','@univerjs-pro/collaboration','includes','wss:','arraybuffer','ws:','zlibInflateOptions','setConfig','headers','toStringTag'];_0x1bb3=function(){return _0x512bfc;};return _0x1bb3();}function he(){const _0xd1b75d=_0x149f8d;if(ze)return ve;ze=0x1;const _0xcc3f66=bt,_0x17f2c4=ce(),_0x2442fc=Pt(),{kStatusCode:_0x19f73f}=H(),_0x30c33a=Buffer[Symbol[_0xd1b75d(0x23f)]],_0xf37f23=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3f74e8=Symbol(_0xd1b75d(0x235)),_0x15ac12=Symbol('total-length'),_0x1e76c4=Symbol(_0xd1b75d(0x1a5)),_0x1c6333=Symbol('buffers'),_0x201740=Symbol(_0xd1b75d(0x196));let _0x4d57b5;class _0x870664{constructor(_0x59a5f2,_0x457988,_0x12ec3e){const _0x1281bb=_0xd1b75d;if(this['_maxPayload']=_0x12ec3e|0x0,this[_0x1281bb(0x1dc)]=_0x59a5f2||{},this[_0x1281bb(0x221)]=this[_0x1281bb(0x1dc)][_0x1281bb(0x172)]!==void 0x0?this[_0x1281bb(0x1dc)]['threshold']:0x400,this[_0x1281bb(0x29d)]=!!_0x457988,this[_0x1281bb(0x1ad)]=null,this[_0x1281bb(0x19a)]=null,this[_0x1281bb(0x255)]=null,!_0x4d57b5){const _0xcaef2c=this['_options']['concurrencyLimit']!==void 0x0?this[_0x1281bb(0x1dc)][_0x1281bb(0x1d3)]:0xa;_0x4d57b5=new _0x2442fc(_0xcaef2c);}}static get[_0xd1b75d(0x2cc)](){const _0x2ba5a8=_0xd1b75d;return _0x2ba5a8(0x235);}[_0xd1b75d(0x283)](){const _0xea016=_0xd1b75d,_0x548b67={};return this[_0xea016(0x1dc)][_0xea016(0x1ec)]&&(_0x548b67[_0xea016(0x2ff)]=!0x0),this[_0xea016(0x1dc)][_0xea016(0x1b9)]&&(_0x548b67['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x548b67[_0xea016(0x218)]=this[_0xea016(0x1dc)][_0xea016(0x1bb)]),this['_options'][_0xea016(0x1e1)]?_0x548b67[_0xea016(0x29f)]=this[_0xea016(0x1dc)]['clientMaxWindowBits']:this[_0xea016(0x1dc)][_0xea016(0x1e1)]==null&&(_0x548b67['client_max_window_bits']=!0x0),_0x548b67;}[_0xd1b75d(0x2aa)](_0x3c1d5e){const _0x56c3aa=_0xd1b75d;return _0x3c1d5e=this[_0x56c3aa(0x1b7)](_0x3c1d5e),this[_0x56c3aa(0x255)]=this[_0x56c3aa(0x29d)]?this[_0x56c3aa(0x15d)](_0x3c1d5e):this[_0x56c3aa(0x2af)](_0x3c1d5e),this[_0x56c3aa(0x255)];}[_0xd1b75d(0x2ee)](){const _0x22c052=_0xd1b75d;if(this[_0x22c052(0x19a)]&&(this[_0x22c052(0x19a)][_0x22c052(0x284)](),this[_0x22c052(0x19a)]=null),this[_0x22c052(0x1ad)]){const _0x2f4cc3=this[_0x22c052(0x1ad)][_0x1e76c4];this['_deflate']['close'](),this['_deflate']=null,_0x2f4cc3&&_0x2f4cc3(new Error(_0x22c052(0x306)));}}[_0xd1b75d(0x15d)](_0x1ac1da){const _0x4b7f9e=_0xd1b75d,_0x132996=this[_0x4b7f9e(0x1dc)],_0x64c31c=_0x1ac1da[_0x4b7f9e(0x16e)](_0x425714=>!(_0x132996[_0x4b7f9e(0x1ec)]===!0x1&&_0x425714[_0x4b7f9e(0x2ff)]||_0x425714['server_max_window_bits']&&(_0x132996[_0x4b7f9e(0x1bb)]===!0x1||typeof _0x132996[_0x4b7f9e(0x1bb)]==_0x4b7f9e(0x30d)&&_0x132996['serverMaxWindowBits']>_0x425714[_0x4b7f9e(0x218)])||typeof _0x132996[_0x4b7f9e(0x1e1)]==_0x4b7f9e(0x30d)&&!_0x425714[_0x4b7f9e(0x29f)]));if(!_0x64c31c)throw new Error(_0x4b7f9e(0x147));return _0x132996[_0x4b7f9e(0x1ec)]&&(_0x64c31c['server_no_context_takeover']=!0x0),_0x132996[_0x4b7f9e(0x1b9)]&&(_0x64c31c[_0x4b7f9e(0x1ca)]=!0x0),typeof _0x132996['serverMaxWindowBits']==_0x4b7f9e(0x30d)&&(_0x64c31c[_0x4b7f9e(0x218)]=_0x132996[_0x4b7f9e(0x1bb)]),typeof _0x132996['clientMaxWindowBits']==_0x4b7f9e(0x30d)?_0x64c31c[_0x4b7f9e(0x29f)]=_0x132996[_0x4b7f9e(0x1e1)]:(_0x64c31c['client_max_window_bits']===!0x0||_0x132996[_0x4b7f9e(0x1e1)]===!0x1)&&delete _0x64c31c[_0x4b7f9e(0x29f)],_0x64c31c;}[_0xd1b75d(0x2af)](_0x4e97cc){const _0x507cd2=_0xd1b75d,_0x197406=_0x4e97cc[0x0];if(this[_0x507cd2(0x1dc)][_0x507cd2(0x1b9)]===!0x1&&_0x197406['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x197406['client_max_window_bits'])typeof this[_0x507cd2(0x1dc)]['clientMaxWindowBits']==_0x507cd2(0x30d)&&(_0x197406[_0x507cd2(0x29f)]=this[_0x507cd2(0x1dc)]['clientMaxWindowBits']);else{if(this[_0x507cd2(0x1dc)][_0x507cd2(0x1e1)]===!0x1||typeof this['_options'][_0x507cd2(0x1e1)]==_0x507cd2(0x30d)&&_0x197406[_0x507cd2(0x29f)]>this[_0x507cd2(0x1dc)][_0x507cd2(0x1e1)])throw new Error(_0x507cd2(0x1c2));}return _0x197406;}[_0xd1b75d(0x1b7)](_0x2ec0aa){return _0x2ec0aa['forEach'](_0x3276c0=>{const _0x5703e1=_0x6e7e;Object[_0x5703e1(0x219)](_0x3276c0)[_0x5703e1(0x162)](_0x300d4f=>{const _0x2653b8=_0x5703e1;let _0x25a747=_0x3276c0[_0x300d4f];if(_0x25a747['length']>0x1)throw new Error(_0x2653b8(0x21e)+_0x300d4f+_0x2653b8(0x2ad));if(_0x25a747=_0x25a747[0x0],_0x300d4f===_0x2653b8(0x29f)){if(_0x25a747!==!0x0){const _0x1a0559=+_0x25a747;if(!Number[_0x2653b8(0x1ff)](_0x1a0559)||_0x1a0559<0x8||_0x1a0559>0xf)throw new TypeError(_0x2653b8(0x296)+_0x300d4f+_0x2653b8(0x179)+_0x25a747);_0x25a747=_0x1a0559;}else{if(!this[_0x2653b8(0x29d)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x300d4f+_0x2653b8(0x179)+_0x25a747);}}else{if(_0x300d4f===_0x2653b8(0x218)){const _0x51d5c7=+_0x25a747;if(!Number[_0x2653b8(0x1ff)](_0x51d5c7)||_0x51d5c7<0x8||_0x51d5c7>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x300d4f+_0x2653b8(0x179)+_0x25a747);_0x25a747=_0x51d5c7;}else{if(_0x300d4f===_0x2653b8(0x1ca)||_0x300d4f===_0x2653b8(0x2ff)){if(_0x25a747!==!0x0)throw new TypeError(_0x2653b8(0x296)+_0x300d4f+'\x22:\x20'+_0x25a747);}else throw new Error(_0x2653b8(0x207)+_0x300d4f+'\x22');}}_0x3276c0[_0x300d4f]=_0x25a747;});}),_0x2ec0aa;}[_0xd1b75d(0x176)](_0x2fd54c,_0x5c186a,_0x376d6b){const _0x1ee4d7=_0xd1b75d;_0x4d57b5[_0x1ee4d7(0x2d1)](_0x3a78c2=>{const _0x53d026=_0x1ee4d7;this[_0x53d026(0x1cf)](_0x2fd54c,_0x5c186a,(_0x56ceb4,_0x161e94)=>{_0x3a78c2(),_0x376d6b(_0x56ceb4,_0x161e94);});});}[_0xd1b75d(0x2e1)](_0x2700b4,_0x20e9db,_0x433be5){const _0x314c97=_0xd1b75d;_0x4d57b5[_0x314c97(0x2d1)](_0x5bc3cd=>{this['_compress'](_0x2700b4,_0x20e9db,(_0xd21133,_0x460094)=>{_0x5bc3cd(),_0x433be5(_0xd21133,_0x460094);});});}['_decompress'](_0x198527,_0x552347,_0x340db1){const _0x542f69=_0xd1b75d,_0x5a6ded=this['_isServer']?'client':_0x542f69(0x1aa);if(!this[_0x542f69(0x19a)]){const _0xd45929=_0x5a6ded+_0x542f69(0x2b5),_0x5b1a8c=typeof this[_0x542f69(0x255)][_0xd45929]!='number'?_0xcc3f66[_0x542f69(0x166)]:this[_0x542f69(0x255)][_0xd45929];this['_inflate']=_0xcc3f66[_0x542f69(0x20b)]({...this[_0x542f69(0x1dc)][_0x542f69(0x1f4)],'windowBits':_0x5b1a8c}),this[_0x542f69(0x19a)][_0x3f74e8]=this,this[_0x542f69(0x19a)][_0x15ac12]=0x0,this[_0x542f69(0x19a)][_0x1c6333]=[],this[_0x542f69(0x19a)]['on']('error',_0x1e0c06),this[_0x542f69(0x19a)]['on'](_0x542f69(0x165),_0x7359d4);}this['_inflate'][_0x1e76c4]=_0x340db1,this['_inflate'][_0x542f69(0x17a)](_0x198527),_0x552347&&this['_inflate'][_0x542f69(0x17a)](_0xf37f23),this[_0x542f69(0x19a)][_0x542f69(0x156)](()=>{const _0xd92a67=_0x542f69,_0x10c390=this[_0xd92a67(0x19a)][_0x201740];if(_0x10c390){this['_inflate'][_0xd92a67(0x284)](),this[_0xd92a67(0x19a)]=null,_0x340db1(_0x10c390);return;}const _0x16908d=_0x17f2c4[_0xd92a67(0x27d)](this[_0xd92a67(0x19a)][_0x1c6333],this[_0xd92a67(0x19a)][_0x15ac12]);this[_0xd92a67(0x19a)][_0xd92a67(0x27b)][_0xd92a67(0x1e0)]?(this[_0xd92a67(0x19a)][_0xd92a67(0x284)](),this[_0xd92a67(0x19a)]=null):(this[_0xd92a67(0x19a)][_0x15ac12]=0x0,this[_0xd92a67(0x19a)][_0x1c6333]=[],_0x552347&&this[_0xd92a67(0x255)][_0x5a6ded+_0xd92a67(0x2d6)]&&this['_inflate']['reset']()),_0x340db1(null,_0x16908d);});}[_0xd1b75d(0x1d6)](_0x286b6e,_0x1d67bf,_0x3f1f73){const _0x11b62a=_0xd1b75d,_0x477e47=this[_0x11b62a(0x29d)]?_0x11b62a(0x1aa):_0x11b62a(0x160);if(!this[_0x11b62a(0x1ad)]){const _0x2383c9=_0x477e47+_0x11b62a(0x2b5),_0xcfe75a=typeof this[_0x11b62a(0x255)][_0x2383c9]!='number'?_0xcc3f66[_0x11b62a(0x166)]:this[_0x11b62a(0x255)][_0x2383c9];this[_0x11b62a(0x1ad)]=_0xcc3f66['createDeflateRaw']({...this[_0x11b62a(0x1dc)]['zlibDeflateOptions'],'windowBits':_0xcfe75a}),this[_0x11b62a(0x1ad)][_0x15ac12]=0x0,this[_0x11b62a(0x1ad)][_0x1c6333]=[],this[_0x11b62a(0x1ad)]['on'](_0x11b62a(0x165),_0xb3b7a9);}this[_0x11b62a(0x1ad)][_0x1e76c4]=_0x3f1f73,this[_0x11b62a(0x1ad)][_0x11b62a(0x17a)](_0x286b6e),this[_0x11b62a(0x1ad)]['flush'](_0xcc3f66['Z_SYNC_FLUSH'],()=>{const _0x3290c5=_0x11b62a;if(!this['_deflate'])return;let _0x2eb0dc=_0x17f2c4[_0x3290c5(0x27d)](this[_0x3290c5(0x1ad)][_0x1c6333],this[_0x3290c5(0x1ad)][_0x15ac12]);_0x1d67bf&&(_0x2eb0dc=new _0x30c33a(_0x2eb0dc[_0x3290c5(0x1be)],_0x2eb0dc[_0x3290c5(0x286)],_0x2eb0dc[_0x3290c5(0x25d)]-0x4)),this[_0x3290c5(0x1ad)][_0x1e76c4]=null,this[_0x3290c5(0x1ad)][_0x15ac12]=0x0,this[_0x3290c5(0x1ad)][_0x1c6333]=[],_0x1d67bf&&this['params'][_0x477e47+_0x3290c5(0x2d6)]&&this[_0x3290c5(0x1ad)][_0x3290c5(0x15b)](),_0x3f1f73(null,_0x2eb0dc);});}}ve=_0x870664;function _0xb3b7a9(_0x171876){this[_0x1c6333]['push'](_0x171876),this[_0x15ac12]+=_0x171876['length'];}function _0x7359d4(_0x3847dc){const _0xddfe88=_0xd1b75d;if(this[_0x15ac12]+=_0x3847dc[_0xddfe88(0x25d)],this[_0x3f74e8][_0xddfe88(0x15f)]<0x1||this[_0x15ac12]<=this[_0x3f74e8][_0xddfe88(0x15f)]){this[_0x1c6333]['push'](_0x3847dc);return;}this[_0x201740]=new RangeError(_0xddfe88(0x241)),this[_0x201740][_0xddfe88(0x17d)]=_0xddfe88(0x225),this[_0x201740][_0x19f73f]=0x3f1,this[_0xddfe88(0x181)](_0xddfe88(0x165),_0x7359d4),this['reset']();}function _0x1e0c06(_0x23e744){if(this[_0x3f74e8]['_inflate']=null,this[_0x201740]){this[_0x1e76c4](this[_0x201740]);return;}_0x23e744[_0x19f73f]=0x3ef,this[_0x1e76c4](_0x23e744);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x149f8d(0x18b)](Object[_0x149f8d(0x2a7)]({'__proto__':null,'default':Dt},Symbol[_0x149f8d(0x1f7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x29a4b4=_0x149f8d;if(Ye)return ie[_0x29a4b4(0x261)];Ye=0x1;const {isUtf8:_0x57a12d}=wt,{hasBlob:_0x640ead}=H(),_0x1e639d=[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 _0x94f224(_0x207652){return _0x207652>=0x3e8&&_0x207652<=0x3f6&&_0x207652!==0x3ec&&_0x207652!==0x3ed&&_0x207652!==0x3ee||_0x207652>=0xbb8&&_0x207652<=0x1387;}function _0x3363f6(_0x51fbd2){const _0x2a9324=_0x29a4b4,_0x78d5a=_0x51fbd2[_0x2a9324(0x25d)];let _0x2b1095=0x0;for(;_0x2b1095<_0x78d5a;)if((_0x51fbd2[_0x2b1095]&0x80)===0x0)_0x2b1095++;else{if((_0x51fbd2[_0x2b1095]&0xe0)===0xc0){if(_0x2b1095+0x1===_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095]&0xfe)===0xc0)return!0x1;_0x2b1095+=0x2;}else{if((_0x51fbd2[_0x2b1095]&0xf0)===0xe0){if(_0x2b1095+0x2>=_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x2]&0xc0)!==0x80||_0x51fbd2[_0x2b1095]===0xe0&&(_0x51fbd2[_0x2b1095+0x1]&0xe0)===0x80||_0x51fbd2[_0x2b1095]===0xed&&(_0x51fbd2[_0x2b1095+0x1]&0xe0)===0xa0)return!0x1;_0x2b1095+=0x3;}else{if((_0x51fbd2[_0x2b1095]&0xf8)===0xf0){if(_0x2b1095+0x3>=_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x2]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x3]&0xc0)!==0x80||_0x51fbd2[_0x2b1095]===0xf0&&(_0x51fbd2[_0x2b1095+0x1]&0xf0)===0x80||_0x51fbd2[_0x2b1095]===0xf4&&_0x51fbd2[_0x2b1095+0x1]>0x8f||_0x51fbd2[_0x2b1095]>0xf4)return!0x1;_0x2b1095+=0x4;}else return!0x1;}}}return!0x0;}function _0x447bc4(_0x92c2d9){const _0x553be4=_0x29a4b4;return _0x640ead&&typeof _0x92c2d9==_0x553be4(0x230)&&typeof _0x92c2d9[_0x553be4(0x293)]==_0x553be4(0x189)&&typeof _0x92c2d9[_0x553be4(0x269)]=='string'&&typeof _0x92c2d9[_0x553be4(0x251)]=='function'&&(_0x92c2d9[Symbol['toStringTag']]==='Blob'||_0x92c2d9[Symbol[_0x553be4(0x1f7)]]===_0x553be4(0x1a1));}if(ie[_0x29a4b4(0x261)]={'isBlob':_0x447bc4,'isValidStatusCode':_0x94f224,'isValidUTF8':_0x3363f6,'tokenChars':_0x1e639d},_0x57a12d)ie[_0x29a4b4(0x261)][_0x29a4b4(0x2c2)]=function(_0x52c197){const _0x50f4fd=_0x29a4b4;return _0x52c197[_0x50f4fd(0x25d)]<0x18?_0x3363f6(_0x52c197):_0x57a12d(_0x52c197);};else{if(!process['env'][_0x29a4b4(0x217)])try{const _0x289529=Bt;ie['exports'][_0x29a4b4(0x2c2)]=function(_0x196131){const _0xe821b3=_0x29a4b4;return _0x196131[_0xe821b3(0x25d)]<0x20?_0x3363f6(_0x196131):_0x289529(_0x196131);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x43818c=_0x149f8d;if(Ke)return Se;Ke=0x1;const {Writable:_0x35241c}=oe,_0x472037=he(),{BINARY_TYPES:_0x5c2e30,EMPTY_BUFFER:_0x1da133,kStatusCode:_0x5c2f30,kWebSocket:_0x25e66b}=H(),{concat:_0x2b592f,toArrayBuffer:_0x36f033,unmask:_0x15ee20}=ce(),{isValidStatusCode:_0x5c5743,isValidUTF8:_0x63fb0f}=ae(),_0x2a331a=Buffer[Symbol[_0x43818c(0x23f)]],_0x1f72e6=0x0,_0x1f6349=0x1,_0x263ede=0x2,_0x35a206=0x3,_0x58f589=0x4,_0x10ee81=0x5,_0x2bcee7=0x6;class _0x1b3a73 extends _0x35241c{constructor(_0x20ca06={}){const _0x56ca0b=_0x43818c;super(),this[_0x56ca0b(0x212)]=_0x20ca06[_0x56ca0b(0x185)]!==void 0x0?_0x20ca06[_0x56ca0b(0x185)]:!0x0,this['_binaryType']=_0x20ca06[_0x56ca0b(0x2cd)]||_0x5c2e30[0x0],this['_extensions']=_0x20ca06[_0x56ca0b(0x214)]||{},this[_0x56ca0b(0x29d)]=!!_0x20ca06[_0x56ca0b(0x246)],this[_0x56ca0b(0x15f)]=_0x20ca06[_0x56ca0b(0x242)]|0x0,this[_0x56ca0b(0x1ee)]=!!_0x20ca06[_0x56ca0b(0x289)],this[_0x25e66b]=void 0x0,this[_0x56ca0b(0x17f)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x56ca0b(0x1fd)]=void 0x0,this[_0x56ca0b(0x24b)]=0x0,this[_0x56ca0b(0x1f8)]=!0x1,this[_0x56ca0b(0x297)]=!0x1,this[_0x56ca0b(0x208)]=0x0,this['_totalPayloadLength']=0x0,this[_0x56ca0b(0x20e)]=0x0,this[_0x56ca0b(0x2df)]=[],this[_0x56ca0b(0x1ac)]=!0x1,this['_loop']=!0x1,this[_0x56ca0b(0x233)]=_0x1f72e6;}['_write'](_0x278979,_0x3bcbb9,_0xce8c59){const _0x56d2d3=_0x43818c;if(this[_0x56d2d3(0x208)]===0x8&&this[_0x56d2d3(0x233)]==_0x1f72e6)return _0xce8c59();this[_0x56d2d3(0x17f)]+=_0x278979['length'],this['_buffers'][_0x56d2d3(0x2d2)](_0x278979),this[_0x56d2d3(0x1b5)](_0xce8c59);}[_0x43818c(0x2b2)](_0xca30b6){const _0x409b51=_0x43818c;if(this[_0x409b51(0x17f)]-=_0xca30b6,_0xca30b6===this[_0x409b51(0x13c)][0x0]['length'])return this['_buffers'][_0x409b51(0x211)]();if(_0xca30b6<this[_0x409b51(0x13c)][0x0][_0x409b51(0x25d)]){const _0x23e6fc=this[_0x409b51(0x13c)][0x0];return this[_0x409b51(0x13c)][0x0]=new _0x2a331a(_0x23e6fc['buffer'],_0x23e6fc['byteOffset']+_0xca30b6,_0x23e6fc['length']-_0xca30b6),new _0x2a331a(_0x23e6fc[_0x409b51(0x1be)],_0x23e6fc[_0x409b51(0x286)],_0xca30b6);}const _0x41aa0c=Buffer[_0x409b51(0x155)](_0xca30b6);do{const _0x55a77a=this['_buffers'][0x0],_0x25301c=_0x41aa0c[_0x409b51(0x25d)]-_0xca30b6;_0xca30b6>=_0x55a77a['length']?_0x41aa0c[_0x409b51(0x2c9)](this[_0x409b51(0x13c)][_0x409b51(0x211)](),_0x25301c):(_0x41aa0c['set'](new Uint8Array(_0x55a77a['buffer'],_0x55a77a[_0x409b51(0x286)],_0xca30b6),_0x25301c),this[_0x409b51(0x13c)][0x0]=new _0x2a331a(_0x55a77a[_0x409b51(0x1be)],_0x55a77a['byteOffset']+_0xca30b6,_0x55a77a['length']-_0xca30b6)),_0xca30b6-=_0x55a77a[_0x409b51(0x25d)];}while(_0xca30b6>0x0);return _0x41aa0c;}[_0x43818c(0x1b5)](_0x48bcf9){const _0x5c2ff4=_0x43818c;this[_0x5c2ff4(0x252)]=!0x0;do switch(this[_0x5c2ff4(0x233)]){case _0x1f72e6:this[_0x5c2ff4(0x2d8)](_0x48bcf9);break;case _0x1f6349:this[_0x5c2ff4(0x2ab)](_0x48bcf9);break;case _0x263ede:this[_0x5c2ff4(0x238)](_0x48bcf9);break;case _0x35a206:this[_0x5c2ff4(0x157)]();break;case _0x58f589:this[_0x5c2ff4(0x2ce)](_0x48bcf9);break;case _0x10ee81:case _0x2bcee7:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x5c2ff4(0x1ac)]||_0x48bcf9();}[_0x43818c(0x2d8)](_0x5a17eb){const _0x4740d=_0x43818c;if(this[_0x4740d(0x17f)]<0x2){this[_0x4740d(0x252)]=!0x1;return;}const _0x278992=this[_0x4740d(0x2b2)](0x2);if((_0x278992[0x0]&0x30)!==0x0){const _0x1053f0=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x2f9),!0x0,0x3ea,_0x4740d(0x231));_0x5a17eb(_0x1053f0);return;}const _0x3ea3da=(_0x278992[0x0]&0x40)===0x40;if(_0x3ea3da&&!this[_0x4740d(0x186)][_0x472037[_0x4740d(0x2cc)]]){const _0x5f521a=this[_0x4740d(0x1d2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4740d(0x167));_0x5a17eb(_0x5f521a);return;}if(this[_0x4740d(0x297)]=(_0x278992[0x0]&0x80)===0x80,this[_0x4740d(0x208)]=_0x278992[0x0]&0xf,this[_0x4740d(0x210)]=_0x278992[0x1]&0x7f,this[_0x4740d(0x208)]===0x0){if(_0x3ea3da){const _0x47558b=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x19c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5a17eb(_0x47558b);return;}if(!this['_fragmented']){const _0x27cca3=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x141),!0x0,0x3ea,_0x4740d(0x13d));_0x5a17eb(_0x27cca3);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x4740d(0x24b)]){const _0x1f1fc6=this[_0x4740d(0x1d2)](RangeError,'invalid\x20opcode\x20'+this[_0x4740d(0x208)],!0x0,0x3ea,_0x4740d(0x13d));_0x5a17eb(_0x1f1fc6);return;}this[_0x4740d(0x2dd)]=_0x3ea3da;}else{if(this[_0x4740d(0x208)]>0x7&&this[_0x4740d(0x208)]<0xb){if(!this[_0x4740d(0x297)]){const _0x5abfad=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x21f),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5a17eb(_0x5abfad);return;}if(_0x3ea3da){const _0x476696=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x19c),!0x0,0x3ea,_0x4740d(0x167));_0x5a17eb(_0x476696);return;}if(this[_0x4740d(0x210)]>0x7d||this[_0x4740d(0x208)]===0x8&&this['_payloadLength']===0x1){const _0x2a25f3=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4740d(0x210)],!0x0,0x3ea,_0x4740d(0x29b));_0x5a17eb(_0x2a25f3);return;}}else{const _0x2a41d4=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x1a3)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5a17eb(_0x2a41d4);return;}}}if(!this[_0x4740d(0x297)]&&!this['_fragmented']&&(this[_0x4740d(0x24b)]=this['_opcode']),this[_0x4740d(0x1f8)]=(_0x278992[0x1]&0x80)===0x80,this[_0x4740d(0x29d)]){if(!this['_masked']){const _0x4207b6=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x30c),!0x0,0x3ea,_0x4740d(0x1e2));_0x5a17eb(_0x4207b6);return;}}else{if(this[_0x4740d(0x1f8)]){const _0x30e80d=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x4740d(0x2d7));_0x5a17eb(_0x30e80d);return;}}this[_0x4740d(0x210)]===0x7e?this[_0x4740d(0x233)]=_0x1f6349:this[_0x4740d(0x210)]===0x7f?this[_0x4740d(0x233)]=_0x263ede:this['haveLength'](_0x5a17eb);}['getPayloadLength16'](_0x2af0e1){const _0x2be48e=_0x43818c;if(this['_bufferedBytes']<0x2){this[_0x2be48e(0x252)]=!0x1;return;}this['_payloadLength']=this[_0x2be48e(0x2b2)](0x2)[_0x2be48e(0x1fb)](0x0),this[_0x2be48e(0x161)](_0x2af0e1);}[_0x43818c(0x238)](_0x54c502){const _0xad223e=_0x43818c;if(this[_0xad223e(0x17f)]<0x8){this['_loop']=!0x1;return;}const _0x581fa5=this['consume'](0x8),_0x45c855=_0x581fa5[_0xad223e(0x180)](0x0);if(_0x45c855>Math['pow'](0x2,0x15)-0x1){const _0x35221a=this[_0xad223e(0x1d2)](RangeError,_0xad223e(0x173),!0x1,0x3f1,_0xad223e(0x2e9));_0x54c502(_0x35221a);return;}this['_payloadLength']=_0x45c855*Math[_0xad223e(0x14d)](0x2,0x20)+_0x581fa5[_0xad223e(0x180)](0x4),this[_0xad223e(0x161)](_0x54c502);}[_0x43818c(0x161)](_0x1cfd90){const _0xf9e2f8=_0x43818c;if(this[_0xf9e2f8(0x210)]&&this['_opcode']<0x8&&(this[_0xf9e2f8(0x18f)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0xf9e2f8(0x15f)]&&this['_maxPayload']>0x0)){const _0x488d12=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1cfd90(_0x488d12);return;}this[_0xf9e2f8(0x1f8)]?this[_0xf9e2f8(0x233)]=_0x35a206:this[_0xf9e2f8(0x233)]=_0x58f589;}[_0x43818c(0x157)](){const _0x31efe7=_0x43818c;if(this[_0x31efe7(0x17f)]<0x4){this[_0x31efe7(0x252)]=!0x1;return;}this['_mask']=this[_0x31efe7(0x2b2)](0x4),this[_0x31efe7(0x233)]=_0x58f589;}['getData'](_0x3c6e44){const _0x3a2c89=_0x43818c;let _0x2b7ef9=_0x1da133;if(this[_0x3a2c89(0x210)]){if(this[_0x3a2c89(0x17f)]<this[_0x3a2c89(0x210)]){this[_0x3a2c89(0x252)]=!0x1;return;}_0x2b7ef9=this[_0x3a2c89(0x2b2)](this[_0x3a2c89(0x210)]),this[_0x3a2c89(0x1f8)]&&(this[_0x3a2c89(0x1fd)][0x0]|this[_0x3a2c89(0x1fd)][0x1]|this[_0x3a2c89(0x1fd)][0x2]|this[_0x3a2c89(0x1fd)][0x3])!==0x0&&_0x15ee20(_0x2b7ef9,this[_0x3a2c89(0x1fd)]);}if(this[_0x3a2c89(0x208)]>0x7){this[_0x3a2c89(0x2c6)](_0x2b7ef9,_0x3c6e44);return;}if(this['_compressed']){this[_0x3a2c89(0x233)]=_0x10ee81,this[_0x3a2c89(0x176)](_0x2b7ef9,_0x3c6e44);return;}_0x2b7ef9['length']&&(this[_0x3a2c89(0x20e)]=this[_0x3a2c89(0x18f)],this[_0x3a2c89(0x2df)][_0x3a2c89(0x2d2)](_0x2b7ef9)),this['dataMessage'](_0x3c6e44);}[_0x43818c(0x176)](_0x54211b,_0x4c9886){const _0x38379f=_0x43818c;this[_0x38379f(0x186)][_0x472037['extensionName']][_0x38379f(0x176)](_0x54211b,this[_0x38379f(0x297)],(_0x10e639,_0xe51b23)=>{const _0x15f85d=_0x38379f;if(_0x10e639)return _0x4c9886(_0x10e639);if(_0xe51b23[_0x15f85d(0x25d)]){if(this['_messageLength']+=_0xe51b23[_0x15f85d(0x25d)],this[_0x15f85d(0x20e)]>this['_maxPayload']&&this[_0x15f85d(0x15f)]>0x0){const _0x37c787=this[_0x15f85d(0x1d2)](RangeError,_0x15f85d(0x241),!0x1,0x3f1,_0x15f85d(0x225));_0x4c9886(_0x37c787);return;}this[_0x15f85d(0x2df)][_0x15f85d(0x2d2)](_0xe51b23);}this[_0x15f85d(0x139)](_0x4c9886),this[_0x15f85d(0x233)]===_0x1f72e6&&this[_0x15f85d(0x1b5)](_0x4c9886);});}[_0x43818c(0x139)](_0x58ec67){const _0x57c28b=_0x43818c;if(!this['_fin']){this[_0x57c28b(0x233)]=_0x1f72e6;return;}const _0x278db2=this['_messageLength'],_0x4df9c7=this[_0x57c28b(0x2df)];if(this[_0x57c28b(0x18f)]=0x0,this[_0x57c28b(0x20e)]=0x0,this[_0x57c28b(0x24b)]=0x0,this[_0x57c28b(0x2df)]=[],this[_0x57c28b(0x208)]===0x2){let _0x184167;this['_binaryType']===_0x57c28b(0x205)?_0x184167=_0x2b592f(_0x4df9c7,_0x278db2):this[_0x57c28b(0x2ed)]===_0x57c28b(0x1f2)?_0x184167=_0x36f033(_0x2b592f(_0x4df9c7,_0x278db2)):this[_0x57c28b(0x2ed)]==='blob'?_0x184167=new Blob(_0x4df9c7):_0x184167=_0x4df9c7,this['_allowSynchronousEvents']?(this[_0x57c28b(0x303)](_0x57c28b(0x19e),_0x184167,!0x0),this['_state']=_0x1f72e6):(this[_0x57c28b(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x4806fa=_0x57c28b;this['emit'](_0x4806fa(0x19e),_0x184167,!0x0),this[_0x4806fa(0x233)]=_0x1f72e6,this['startLoop'](_0x58ec67);}));}else{const _0x353ac1=_0x2b592f(_0x4df9c7,_0x278db2);if(!this['_skipUTF8Validation']&&!_0x63fb0f(_0x353ac1)){const _0x6ea231=this[_0x57c28b(0x1d2)](Error,_0x57c28b(0x2b3),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x58ec67(_0x6ea231);return;}this[_0x57c28b(0x233)]===_0x10ee81||this[_0x57c28b(0x212)]?(this['emit'](_0x57c28b(0x19e),_0x353ac1,!0x1),this['_state']=_0x1f72e6):(this[_0x57c28b(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x5dda3b=_0x57c28b;this[_0x5dda3b(0x303)](_0x5dda3b(0x19e),_0x353ac1,!0x1),this[_0x5dda3b(0x233)]=_0x1f72e6,this['startLoop'](_0x58ec67);}));}}[_0x43818c(0x2c6)](_0x131b81,_0x1d72ce){const _0x5266f6=_0x43818c;if(this[_0x5266f6(0x208)]===0x8){if(_0x131b81['length']===0x0)this[_0x5266f6(0x252)]=!0x1,this[_0x5266f6(0x303)](_0x5266f6(0x2f1),0x3ed,_0x1da133),this[_0x5266f6(0x1b6)]();else{const _0x36e599=_0x131b81[_0x5266f6(0x1fb)](0x0);if(!_0x5c5743(_0x36e599)){const _0xdb9954=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x36e599,!0x0,0x3ea,_0x5266f6(0x158));_0x1d72ce(_0xdb9954);return;}const _0x4e2146=new _0x2a331a(_0x131b81[_0x5266f6(0x1be)],_0x131b81[_0x5266f6(0x286)]+0x2,_0x131b81['length']-0x2);if(!this[_0x5266f6(0x1ee)]&&!_0x63fb0f(_0x4e2146)){const _0x16ab2c=this[_0x5266f6(0x1d2)](Error,_0x5266f6(0x2b3),!0x0,0x3ef,_0x5266f6(0x1e5));_0x1d72ce(_0x16ab2c);return;}this[_0x5266f6(0x252)]=!0x1,this[_0x5266f6(0x303)](_0x5266f6(0x2f1),_0x36e599,_0x4e2146),this[_0x5266f6(0x1b6)]();}this['_state']=_0x1f72e6;return;}this[_0x5266f6(0x212)]?(this[_0x5266f6(0x303)](this[_0x5266f6(0x208)]===0x9?'ping':_0x5266f6(0x307),_0x131b81),this['_state']=_0x1f72e6):(this[_0x5266f6(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x350b6b=_0x5266f6;this['emit'](this[_0x350b6b(0x208)]===0x9?_0x350b6b(0x14f):'pong',_0x131b81),this[_0x350b6b(0x233)]=_0x1f72e6,this[_0x350b6b(0x1b5)](_0x1d72ce);}));}['createError'](_0x2fc08a,_0x395a49,_0x3e4c83,_0x32f188,_0x17f72e){const _0x5b24c6=_0x43818c;this['_loop']=!0x1,this[_0x5b24c6(0x1ac)]=!0x0;const _0xfc77d=new _0x2fc08a(_0x3e4c83?_0x5b24c6(0x2c0)+_0x395a49:_0x395a49);return Error[_0x5b24c6(0x30a)](_0xfc77d,this[_0x5b24c6(0x1d2)]),_0xfc77d[_0x5b24c6(0x17d)]=_0x17f72e,_0xfc77d[_0x5c2f30]=_0x32f188,_0xfc77d;}}return Se=_0x1b3a73,Se;}var Ee,Xe;function ft(){const _0x21f9eb=_0x149f8d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x26cdff}=oe,{randomFillSync:_0x28853b}=Le,_0x49be55=he(),{EMPTY_BUFFER:_0x135717,kWebSocket:_0x4f9eab,NOOP:_0x295506}=H(),{isBlob:_0x4bb53d,isValidStatusCode:_0x2ebed0}=ae(),{mask:_0x2e2c53,toBuffer:_0x2f8618}=ce(),_0x5ab5f2=Symbol(_0x21f9eb(0x163)),_0x39641e=Buffer[_0x21f9eb(0x2a1)](0x4),_0x181c73=0x8*0x400;let _0x34f27a,_0x30e6c1=_0x181c73;const _0x5ca27c=0x0,_0x259ff5=0x1,_0x255806=0x2;class _0x5eeba2{constructor(_0x22bd52,_0x52284b,_0x4a6b4d){const _0x7d24c6=_0x21f9eb;this[_0x7d24c6(0x186)]=_0x52284b||{},_0x4a6b4d&&(this['_generateMask']=_0x4a6b4d,this[_0x7d24c6(0x227)]=Buffer[_0x7d24c6(0x2a1)](0x4)),this[_0x7d24c6(0x169)]=_0x22bd52,this[_0x7d24c6(0x294)]=!0x0,this[_0x7d24c6(0x1d6)]=!0x1,this['_bufferedBytes']=0x0,this[_0x7d24c6(0x1ea)]=[],this[_0x7d24c6(0x233)]=_0x5ca27c,this[_0x7d24c6(0x2f3)]=_0x295506,this[_0x4f9eab]=void 0x0;}static[_0x21f9eb(0x258)](_0x1cf760,_0x1c0539){const _0x47c0a9=_0x21f9eb;let _0x274282,_0x184a08=!0x1,_0x495756=0x2,_0x3d89a6=!0x1;_0x1c0539[_0x47c0a9(0x1cc)]&&(_0x274282=_0x1c0539[_0x47c0a9(0x13f)]||_0x39641e,_0x1c0539[_0x47c0a9(0x138)]?_0x1c0539[_0x47c0a9(0x138)](_0x274282):(_0x30e6c1===_0x181c73&&(_0x34f27a===void 0x0&&(_0x34f27a=Buffer[_0x47c0a9(0x2a1)](_0x181c73)),_0x28853b(_0x34f27a,0x0,_0x181c73),_0x30e6c1=0x0),_0x274282[0x0]=_0x34f27a[_0x30e6c1++],_0x274282[0x1]=_0x34f27a[_0x30e6c1++],_0x274282[0x2]=_0x34f27a[_0x30e6c1++],_0x274282[0x3]=_0x34f27a[_0x30e6c1++]),_0x3d89a6=(_0x274282[0x0]|_0x274282[0x1]|_0x274282[0x2]|_0x274282[0x3])===0x0,_0x495756=0x6);let _0x354079;typeof _0x1cf760=='string'?(!_0x1c0539['mask']||_0x3d89a6)&&_0x1c0539[_0x5ab5f2]!==void 0x0?_0x354079=_0x1c0539[_0x5ab5f2]:(_0x1cf760=Buffer[_0x47c0a9(0x308)](_0x1cf760),_0x354079=_0x1cf760['length']):(_0x354079=_0x1cf760[_0x47c0a9(0x25d)],_0x184a08=_0x1c0539['mask']&&_0x1c0539[_0x47c0a9(0x2bb)]&&!_0x3d89a6);let _0x5f053d=_0x354079;_0x354079>=0x10000?(_0x495756+=0x8,_0x5f053d=0x7f):_0x354079>0x7d&&(_0x495756+=0x2,_0x5f053d=0x7e);const _0x55e49d=Buffer[_0x47c0a9(0x155)](_0x184a08?_0x354079+_0x495756:_0x495756);return _0x55e49d[0x0]=_0x1c0539[_0x47c0a9(0x2d0)]?_0x1c0539['opcode']|0x80:_0x1c0539[_0x47c0a9(0x1a2)],_0x1c0539[_0x47c0a9(0x1dd)]&&(_0x55e49d[0x0]|=0x40),_0x55e49d[0x1]=_0x5f053d,_0x5f053d===0x7e?_0x55e49d[_0x47c0a9(0x1fa)](_0x354079,0x2):_0x5f053d===0x7f&&(_0x55e49d[0x2]=_0x55e49d[0x3]=0x0,_0x55e49d['writeUIntBE'](_0x354079,0x4,0x6)),_0x1c0539[_0x47c0a9(0x1cc)]?(_0x55e49d[0x1]|=0x80,_0x55e49d[_0x495756-0x4]=_0x274282[0x0],_0x55e49d[_0x495756-0x3]=_0x274282[0x1],_0x55e49d[_0x495756-0x2]=_0x274282[0x2],_0x55e49d[_0x495756-0x1]=_0x274282[0x3],_0x3d89a6?[_0x55e49d,_0x1cf760]:_0x184a08?(_0x2e2c53(_0x1cf760,_0x274282,_0x55e49d,_0x495756,_0x354079),[_0x55e49d]):(_0x2e2c53(_0x1cf760,_0x274282,_0x1cf760,0x0,_0x354079),[_0x55e49d,_0x1cf760])):[_0x55e49d,_0x1cf760];}[_0x21f9eb(0x284)](_0x195024,_0x18c26e,_0x3cdb61,_0x1c6890){const _0x18e33b=_0x21f9eb;let _0x4318ea;if(_0x195024===void 0x0)_0x4318ea=_0x135717;else{if(typeof _0x195024!=_0x18e33b(0x30d)||!_0x2ebed0(_0x195024))throw new TypeError(_0x18e33b(0x1e6));if(_0x18c26e===void 0x0||!_0x18c26e[_0x18e33b(0x25d)])_0x4318ea=Buffer[_0x18e33b(0x155)](0x2),_0x4318ea[_0x18e33b(0x1fa)](_0x195024,0x0);else{const _0x479a10=Buffer[_0x18e33b(0x2c7)](_0x18c26e);if(_0x479a10>0x7b)throw new RangeError(_0x18e33b(0x25c));_0x4318ea=Buffer['allocUnsafe'](0x2+_0x479a10),_0x4318ea['writeUInt16BE'](_0x195024,0x0),typeof _0x18c26e==_0x18e33b(0x23d)?_0x4318ea['write'](_0x18c26e,0x2):_0x4318ea['set'](_0x18c26e,0x2);}}const _0x10faf8={[_0x5ab5f2]:_0x4318ea[_0x18e33b(0x25d)],'fin':!0x0,'generateMask':this[_0x18e33b(0x248)],'mask':_0x3cdb61,'maskBuffer':this[_0x18e33b(0x227)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x18e33b(0x233)]!==_0x5ca27c?this['enqueue']([this[_0x18e33b(0x150)],_0x4318ea,!0x1,_0x10faf8,_0x1c6890]):this['sendFrame'](_0x5eeba2[_0x18e33b(0x258)](_0x4318ea,_0x10faf8),_0x1c6890);}[_0x21f9eb(0x14f)](_0x2f6b03,_0x5b5a1f,_0x15a10d){const _0x43b2e5=_0x21f9eb;let _0x3a18c3,_0x1acc75;if(typeof _0x2f6b03=='string'?(_0x3a18c3=Buffer[_0x43b2e5(0x2c7)](_0x2f6b03),_0x1acc75=!0x1):_0x4bb53d(_0x2f6b03)?(_0x3a18c3=_0x2f6b03[_0x43b2e5(0x15e)],_0x1acc75=!0x1):(_0x2f6b03=_0x2f8618(_0x2f6b03),_0x3a18c3=_0x2f6b03[_0x43b2e5(0x25d)],_0x1acc75=_0x2f8618['readOnly']),_0x3a18c3>0x7d)throw new RangeError(_0x43b2e5(0x2e0));const _0x545b57={[_0x5ab5f2]:_0x3a18c3,'fin':!0x0,'generateMask':this[_0x43b2e5(0x248)],'mask':_0x5b5a1f,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1acc75,'rsv1':!0x1};_0x4bb53d(_0x2f6b03)?this[_0x43b2e5(0x233)]!==_0x5ca27c?this[_0x43b2e5(0x282)]([this[_0x43b2e5(0x2eb)],_0x2f6b03,!0x1,_0x545b57,_0x15a10d]):this['getBlobData'](_0x2f6b03,!0x1,_0x545b57,_0x15a10d):this[_0x43b2e5(0x233)]!==_0x5ca27c?this[_0x43b2e5(0x282)]([this[_0x43b2e5(0x150)],_0x2f6b03,!0x1,_0x545b57,_0x15a10d]):this[_0x43b2e5(0x259)](_0x5eeba2[_0x43b2e5(0x258)](_0x2f6b03,_0x545b57),_0x15a10d);}[_0x21f9eb(0x307)](_0x26fca6,_0x5f5d1d,_0x3dcb1a){const _0x400c88=_0x21f9eb;let _0x3c7eca,_0x12b89c;if(typeof _0x26fca6==_0x400c88(0x23d)?(_0x3c7eca=Buffer[_0x400c88(0x2c7)](_0x26fca6),_0x12b89c=!0x1):_0x4bb53d(_0x26fca6)?(_0x3c7eca=_0x26fca6[_0x400c88(0x15e)],_0x12b89c=!0x1):(_0x26fca6=_0x2f8618(_0x26fca6),_0x3c7eca=_0x26fca6[_0x400c88(0x25d)],_0x12b89c=_0x2f8618['readOnly']),_0x3c7eca>0x7d)throw new RangeError(_0x400c88(0x2e0));const _0x27e994={[_0x5ab5f2]:_0x3c7eca,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5f5d1d,'maskBuffer':this[_0x400c88(0x227)],'opcode':0xa,'readOnly':_0x12b89c,'rsv1':!0x1};_0x4bb53d(_0x26fca6)?this['_state']!==_0x5ca27c?this['enqueue']([this['getBlobData'],_0x26fca6,!0x1,_0x27e994,_0x3dcb1a]):this['getBlobData'](_0x26fca6,!0x1,_0x27e994,_0x3dcb1a):this[_0x400c88(0x233)]!==_0x5ca27c?this[_0x400c88(0x282)]([this[_0x400c88(0x150)],_0x26fca6,!0x1,_0x27e994,_0x3dcb1a]):this[_0x400c88(0x259)](_0x5eeba2['frame'](_0x26fca6,_0x27e994),_0x3dcb1a);}[_0x21f9eb(0x267)](_0x47cb7e,_0x3d27f6,_0x2e5ef5){const _0x526834=_0x21f9eb,_0x5ef937=this[_0x526834(0x186)][_0x49be55['extensionName']];let _0x1e6b36=_0x3d27f6[_0x526834(0x137)]?0x2:0x1,_0x3ea778=_0x3d27f6[_0x526834(0x2e1)],_0x59013f,_0x131464;typeof _0x47cb7e=='string'?(_0x59013f=Buffer[_0x526834(0x2c7)](_0x47cb7e),_0x131464=!0x1):_0x4bb53d(_0x47cb7e)?(_0x59013f=_0x47cb7e['size'],_0x131464=!0x1):(_0x47cb7e=_0x2f8618(_0x47cb7e),_0x59013f=_0x47cb7e[_0x526834(0x25d)],_0x131464=_0x2f8618[_0x526834(0x2bb)]),this[_0x526834(0x294)]?(this[_0x526834(0x294)]=!0x1,_0x3ea778&&_0x5ef937&&_0x5ef937[_0x526834(0x255)][_0x5ef937[_0x526834(0x29d)]?_0x526834(0x2ff):'client_no_context_takeover']&&(_0x3ea778=_0x59013f>=_0x5ef937['_threshold']),this[_0x526834(0x1d6)]=_0x3ea778):(_0x3ea778=!0x1,_0x1e6b36=0x0),_0x3d27f6['fin']&&(this[_0x526834(0x294)]=!0x0);const _0x48f8d6={[_0x5ab5f2]:_0x59013f,'fin':_0x3d27f6[_0x526834(0x2d0)],'generateMask':this[_0x526834(0x248)],'mask':_0x3d27f6['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x1e6b36,'readOnly':_0x131464,'rsv1':_0x3ea778};_0x4bb53d(_0x47cb7e)?this['_state']!==_0x5ca27c?this[_0x526834(0x282)]([this[_0x526834(0x2eb)],_0x47cb7e,this['_compress'],_0x48f8d6,_0x2e5ef5]):this['getBlobData'](_0x47cb7e,this[_0x526834(0x1d6)],_0x48f8d6,_0x2e5ef5):this[_0x526834(0x233)]!==_0x5ca27c?this[_0x526834(0x282)]([this[_0x526834(0x150)],_0x47cb7e,this[_0x526834(0x1d6)],_0x48f8d6,_0x2e5ef5]):this[_0x526834(0x150)](_0x47cb7e,this['_compress'],_0x48f8d6,_0x2e5ef5);}[_0x21f9eb(0x2eb)](_0x41c659,_0x10e79a,_0x1c3fc8,_0x4daf89){const _0x603864=_0x21f9eb;this[_0x603864(0x17f)]+=_0x1c3fc8[_0x5ab5f2],this[_0x603864(0x233)]=_0x255806,_0x41c659[_0x603864(0x293)]()[_0x603864(0x22b)](_0xd550ba=>{const _0x2f0048=_0x603864;if(this[_0x2f0048(0x169)][_0x2f0048(0x26d)]){const _0x31f286=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x2f0048(0x1c7)](_0x20dff6,this,_0x31f286,_0x4daf89);return;}this[_0x2f0048(0x17f)]-=_0x1c3fc8[_0x5ab5f2];const _0x5d36e4=_0x2f8618(_0xd550ba);_0x10e79a?this[_0x2f0048(0x150)](_0x5d36e4,_0x10e79a,_0x1c3fc8,_0x4daf89):(this['_state']=_0x5ca27c,this[_0x2f0048(0x259)](_0x5eeba2[_0x2f0048(0x258)](_0x5d36e4,_0x1c3fc8),_0x4daf89),this['dequeue']());})[_0x603864(0x2bf)](_0x15aba2=>{process['nextTick'](_0x2e34cf,this,_0x15aba2,_0x4daf89);});}[_0x21f9eb(0x150)](_0x165666,_0x8c7c53,_0x4543cf,_0x4f74f9){const _0x34c5ab=_0x21f9eb;if(!_0x8c7c53){this[_0x34c5ab(0x259)](_0x5eeba2[_0x34c5ab(0x258)](_0x165666,_0x4543cf),_0x4f74f9);return;}const _0x31d982=this[_0x34c5ab(0x186)][_0x49be55[_0x34c5ab(0x2cc)]];this[_0x34c5ab(0x17f)]+=_0x4543cf[_0x5ab5f2],this['_state']=_0x259ff5,_0x31d982[_0x34c5ab(0x2e1)](_0x165666,_0x4543cf[_0x34c5ab(0x2d0)],(_0x2cfab8,_0x28e25e)=>{const _0x1f7f4f=_0x34c5ab;if(this[_0x1f7f4f(0x169)][_0x1f7f4f(0x26d)]){const _0x503cef=new Error(_0x1f7f4f(0x2c1));_0x20dff6(this,_0x503cef,_0x4f74f9);return;}this[_0x1f7f4f(0x17f)]-=_0x4543cf[_0x5ab5f2],this[_0x1f7f4f(0x233)]=_0x5ca27c,_0x4543cf[_0x1f7f4f(0x2bb)]=!0x1,this[_0x1f7f4f(0x259)](_0x5eeba2[_0x1f7f4f(0x258)](_0x28e25e,_0x4543cf),_0x4f74f9),this[_0x1f7f4f(0x275)]();});}[_0x21f9eb(0x275)](){const _0x4d0d36=_0x21f9eb;for(;this[_0x4d0d36(0x233)]===_0x5ca27c&&this[_0x4d0d36(0x1ea)][_0x4d0d36(0x25d)];){const _0xcb6083=this[_0x4d0d36(0x1ea)][_0x4d0d36(0x211)]();this[_0x4d0d36(0x17f)]-=_0xcb6083[0x3][_0x5ab5f2],Reflect[_0x4d0d36(0x2b0)](_0xcb6083[0x0],this,_0xcb6083[_0x4d0d36(0x22d)](0x1));}}[_0x21f9eb(0x282)](_0x4d2e66){const _0x302876=_0x21f9eb;this['_bufferedBytes']+=_0x4d2e66[0x3][_0x5ab5f2],this['_queue'][_0x302876(0x2d2)](_0x4d2e66);}['sendFrame'](_0xdacf47,_0x5ee4d7){const _0x35c581=_0x21f9eb;_0xdacf47[_0x35c581(0x25d)]===0x2?(this['_socket'][_0x35c581(0x27e)](),this[_0x35c581(0x169)][_0x35c581(0x17a)](_0xdacf47[0x0]),this[_0x35c581(0x169)][_0x35c581(0x17a)](_0xdacf47[0x1],_0x5ee4d7),this[_0x35c581(0x169)][_0x35c581(0x146)]()):this['_socket'][_0x35c581(0x17a)](_0xdacf47[0x0],_0x5ee4d7);}}Ee=_0x5eeba2;function _0x20dff6(_0x5782fa,_0x21396f,_0x119edd){const _0x16be47=_0x21f9eb;typeof _0x119edd==_0x16be47(0x189)&&_0x119edd(_0x21396f);for(let _0xf0d23a=0x0;_0xf0d23a<_0x5782fa[_0x16be47(0x1ea)][_0x16be47(0x25d)];_0xf0d23a++){const _0x4f01b0=_0x5782fa['_queue'][_0xf0d23a],_0x210082=_0x4f01b0[_0x4f01b0[_0x16be47(0x25d)]-0x1];typeof _0x210082==_0x16be47(0x189)&&_0x210082(_0x21396f);}}function _0x2e34cf(_0x1ce4e8,_0x4c8290,_0x3ad53e){const _0x12c94f=_0x21f9eb;_0x20dff6(_0x1ce4e8,_0x4c8290,_0x3ad53e),_0x1ce4e8[_0x12c94f(0x2f3)](_0x4c8290);}return Ee;}var xe,Ze;function It(){const _0x35afd2=_0x149f8d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x589d2f,kListener:_0x5768ca}=H(),_0x37f291=Symbol('kCode'),_0x507eb2=Symbol(_0x35afd2(0x30e)),_0x425621=Symbol(_0x35afd2(0x1b0)),_0x4d510c=Symbol(_0x35afd2(0x298)),_0x2b4f83=Symbol(_0x35afd2(0x16c)),_0x5c428c=Symbol(_0x35afd2(0x1cd)),_0x117a71=Symbol(_0x35afd2(0x1c6)),_0x4d394e=Symbol(_0x35afd2(0x1b4));class _0x3b9e0a{constructor(_0x20498e){this[_0x5c428c]=null,this[_0x117a71]=_0x20498e;}get[_0x35afd2(0x1af)](){return this[_0x5c428c];}get['type'](){return this[_0x117a71];}}Object[_0x35afd2(0x2a7)](_0x3b9e0a[_0x35afd2(0x23e)],_0x35afd2(0x1af),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x3b9e0a[_0x35afd2(0x23e)],'type',{'enumerable':!0x0});class _0x343e93 extends _0x3b9e0a{constructor(_0x44f3f6,_0x26177={}){const _0x56602d=_0x35afd2;super(_0x44f3f6),this[_0x37f291]=_0x26177['code']===void 0x0?0x0:_0x26177[_0x56602d(0x17d)],this[_0x2b4f83]=_0x26177['reason']===void 0x0?'':_0x26177[_0x56602d(0x22c)],this[_0x4d394e]=_0x26177[_0x56602d(0x2a4)]===void 0x0?!0x1:_0x26177[_0x56602d(0x2a4)];}get['code'](){return this[_0x37f291];}get['reason'](){return this[_0x2b4f83];}get[_0x35afd2(0x2a4)](){return this[_0x4d394e];}}Object[_0x35afd2(0x2a7)](_0x343e93['prototype'],_0x35afd2(0x17d),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x343e93[_0x35afd2(0x23e)],_0x35afd2(0x22c),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x343e93[_0x35afd2(0x23e)],_0x35afd2(0x2a4),{'enumerable':!0x0});class _0x4feaa5 extends _0x3b9e0a{constructor(_0x15c59c,_0x5cfb7b={}){const _0x3b2edb=_0x35afd2;super(_0x15c59c),this[_0x425621]=_0x5cfb7b[_0x3b2edb(0x196)]===void 0x0?null:_0x5cfb7b['error'],this[_0x4d510c]=_0x5cfb7b[_0x3b2edb(0x19e)]===void 0x0?'':_0x5cfb7b[_0x3b2edb(0x19e)];}get[_0x35afd2(0x196)](){return this[_0x425621];}get[_0x35afd2(0x19e)](){return this[_0x4d510c];}}Object[_0x35afd2(0x2a7)](_0x4feaa5[_0x35afd2(0x23e)],_0x35afd2(0x196),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x4feaa5[_0x35afd2(0x23e)],_0x35afd2(0x19e),{'enumerable':!0x0});class _0x1c1c96 extends _0x3b9e0a{constructor(_0x305591,_0xd6c220={}){const _0x21a160=_0x35afd2;super(_0x305591),this[_0x507eb2]=_0xd6c220[_0x21a160(0x165)]===void 0x0?null:_0xd6c220[_0x21a160(0x165)];}get['data'](){return this[_0x507eb2];}}Object[_0x35afd2(0x2a7)](_0x1c1c96[_0x35afd2(0x23e)],_0x35afd2(0x165),{'enumerable':!0x0}),xe={'CloseEvent':_0x343e93,'ErrorEvent':_0x4feaa5,'Event':_0x3b9e0a,'EventTarget':{'addEventListener'(_0x54536c,_0x1c5bbf,_0x43f690={}){const _0x54ebdf=_0x35afd2;for(const _0x28227f of this['listeners'](_0x54536c))if(!_0x43f690[_0x589d2f]&&_0x28227f[_0x5768ca]===_0x1c5bbf&&!_0x28227f[_0x589d2f])return;let _0x2fe4fc;if(_0x54536c==='message')_0x2fe4fc=function(_0x2029a8,_0x5ad51a){const _0x5a653f=_0x6e7e,_0x54a2f9=new _0x1c1c96(_0x5a653f(0x19e),{'data':_0x5ad51a?_0x2029a8:_0x2029a8['toString']()});_0x54a2f9[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x54a2f9);};else{if(_0x54536c===_0x54ebdf(0x284))_0x2fe4fc=function(_0x3c6de7,_0xd9208a){const _0x8c0611=_0x54ebdf,_0x4abdcd=new _0x343e93(_0x8c0611(0x284),{'code':_0x3c6de7,'reason':_0xd9208a[_0x8c0611(0x232)](),'wasClean':this['_closeFrameReceived']&&this[_0x8c0611(0x2db)]});_0x4abdcd[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x4abdcd);};else{if(_0x54536c===_0x54ebdf(0x196))_0x2fe4fc=function(_0x116515){const _0xa3bb0b=_0x54ebdf,_0x497fa8=new _0x4feaa5(_0xa3bb0b(0x196),{'error':_0x116515,'message':_0x116515[_0xa3bb0b(0x19e)]});_0x497fa8[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x497fa8);};else{if(_0x54536c===_0x54ebdf(0x295))_0x2fe4fc=function(){const _0x50cf44=_0x54ebdf,_0x3a9352=new _0x3b9e0a(_0x50cf44(0x295));_0x3a9352[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x3a9352);};else return;}}}_0x2fe4fc[_0x589d2f]=!!_0x43f690[_0x589d2f],_0x2fe4fc[_0x5768ca]=_0x1c5bbf,_0x43f690[_0x54ebdf(0x18c)]?this[_0x54ebdf(0x18c)](_0x54536c,_0x2fe4fc):this['on'](_0x54536c,_0x2fe4fc);},'removeEventListener'(_0x162d6c,_0x378fe0){const _0x5c7436=_0x35afd2;for(const _0x7d653f of this[_0x5c7436(0x24e)](_0x162d6c))if(_0x7d653f[_0x5768ca]===_0x378fe0&&!_0x7d653f[_0x589d2f]){this[_0x5c7436(0x181)](_0x162d6c,_0x7d653f);break;}}},'MessageEvent':_0x1c1c96};function _0x1737a5(_0x2248bc,_0x2d5f95,_0x40cfd2){const _0x336a19=_0x35afd2;typeof _0x2248bc==_0x336a19(0x230)&&_0x2248bc['handleEvent']?_0x2248bc[_0x336a19(0x287)]['call'](_0x2248bc,_0x40cfd2):_0x2248bc['call'](_0x2d5f95,_0x40cfd2);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x461a96}=ae();function _0xa1f929(_0x5b8b5e,_0x5708e5,_0x1ac376){const _0x1af97b=_0x6e7e;_0x5b8b5e[_0x5708e5]===void 0x0?_0x5b8b5e[_0x5708e5]=[_0x1ac376]:_0x5b8b5e[_0x5708e5][_0x1af97b(0x2d2)](_0x1ac376);}function _0x4a3878(_0x8b8456){const _0x53ba97=_0x6e7e,_0x417e55=Object['create'](null);let _0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x21935b=!0x1,_0x345132=!0x1,_0x2326cf=!0x1,_0x2d7b71,_0x3ec3b2,_0x6bf775=-0x1,_0x45c6c4=-0x1,_0x5536c6=-0x1,_0x556b57=0x0;for(;_0x556b57<_0x8b8456[_0x53ba97(0x25d)];_0x556b57++)if(_0x45c6c4=_0x8b8456[_0x53ba97(0x2da)](_0x556b57),_0x2d7b71===void 0x0){if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x556b57!==0x0&&(_0x45c6c4===0x20||_0x45c6c4===0x9))_0x5536c6===-0x1&&_0x6bf775!==-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);const _0x31f92e=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);_0x45c6c4===0x2c?(_0xa1f929(_0x417e55,_0x31f92e,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null)):_0x2d7b71=_0x31f92e,_0x6bf775=_0x5536c6=-0x1;}else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}else{if(_0x3ec3b2===void 0x0){if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x45c6c4===0x20||_0x45c6c4===0x9)_0x5536c6===-0x1&&_0x6bf775!==-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57),_0xa1f929(_0x3efd5f,_0x8b8456['slice'](_0x6bf775,_0x5536c6),!0x0),_0x45c6c4===0x2c&&(_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x2d7b71=void 0x0),_0x6bf775=_0x5536c6=-0x1;}else{if(_0x45c6c4===0x3d&&_0x6bf775!==-0x1&&_0x5536c6===-0x1)_0x3ec3b2=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x556b57),_0x6bf775=_0x5536c6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);}}}}else{if(_0x345132){if(_0x461a96[_0x45c6c4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);_0x6bf775===-0x1?_0x6bf775=_0x556b57:_0x21935b||(_0x21935b=!0x0),_0x345132=!0x1;}else{if(_0x2326cf){if(_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x45c6c4===0x22&&_0x6bf775!==-0x1)_0x2326cf=!0x1,_0x5536c6=_0x556b57;else{if(_0x45c6c4===0x5c)_0x345132=!0x0;else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}else{if(_0x45c6c4===0x22&&_0x8b8456['charCodeAt'](_0x556b57-0x1)===0x3d)_0x2326cf=!0x0;else{if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x6bf775!==-0x1&&(_0x45c6c4===0x20||_0x45c6c4===0x9))_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);let _0x2e2f92=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);_0x21935b&&(_0x2e2f92=_0x2e2f92[_0x53ba97(0x28e)](/\\/g,''),_0x21935b=!0x1),_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x2e2f92),_0x45c6c4===0x2c&&(_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x2d7b71=void 0x0),_0x3ec3b2=void 0x0,_0x6bf775=_0x5536c6=-0x1;}else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}}}}}if(_0x6bf775===-0x1||_0x2326cf||_0x45c6c4===0x20||_0x45c6c4===0x9)throw new SyntaxError(_0x53ba97(0x2de));_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);const _0x5aeaf9=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);return _0x2d7b71===void 0x0?_0xa1f929(_0x417e55,_0x5aeaf9,_0x3efd5f):(_0x3ec3b2===void 0x0?_0xa1f929(_0x3efd5f,_0x5aeaf9,!0x0):_0x21935b?_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x5aeaf9['replace'](/\\/g,'')):_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x5aeaf9),_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f)),_0x417e55;}function _0xa2fd88(_0x2e1ff4){const _0x64d25b=_0x6e7e;return Object[_0x64d25b(0x219)](_0x2e1ff4)['map'](_0x3b16fd=>{const _0x542d3f=_0x64d25b;let _0x5736a0=_0x2e1ff4[_0x3b16fd];return Array['isArray'](_0x5736a0)||(_0x5736a0=[_0x5736a0]),_0x5736a0[_0x542d3f(0x1ce)](_0x35e80c=>[_0x3b16fd][_0x542d3f(0x27d)](Object[_0x542d3f(0x219)](_0x35e80c)[_0x542d3f(0x1ce)](_0x2dcf60=>{const _0x37db09=_0x542d3f;let _0x57c2fd=_0x35e80c[_0x2dcf60];return Array[_0x37db09(0x190)](_0x57c2fd)||(_0x57c2fd=[_0x57c2fd]),_0x57c2fd[_0x37db09(0x1ce)](_0xd2462e=>_0xd2462e===!0x0?_0x2dcf60:_0x2dcf60+'='+_0xd2462e)[_0x37db09(0x23b)](';\x20');}))[_0x542d3f(0x23b)](';\x20'))[_0x542d3f(0x23b)](',\x20');})[_0x64d25b(0x23b)](',\x20');}return be={'format':_0xa2fd88,'parse':_0x4a3878},be;}var we,Je;function Pe(){const _0x53af94=_0x149f8d;if(Je)return we;Je=0x1;const _0x418b90=nt,_0x50cf1c=vt,_0x355c8c=ot,_0x5cf05c=St,_0x3b8dd8=Et,{randomBytes:_0x4afabf,createHash:_0x2a2baa}=Le,{Duplex:_0x3298be,Readable:_0x399622}=oe,{URL:_0x5236a9}=xt,_0x209050=he(),_0x5bf8d8=lt(),_0x5f09aa=ft(),{isBlob:_0x2f64be}=ae(),{BINARY_TYPES:_0x249518,EMPTY_BUFFER:_0xa27fe7,GUID:_0x3cf451,kForOnEventAttribute:_0x1f6bd0,kListener:_0x53e86e,kStatusCode:_0x462f13,kWebSocket:_0x8257a2,NOOP:_0x3be1dd}=H(),{EventTarget:{addEventListener:_0x4a5b3e,removeEventListener:_0x18d463}}=It(),{format:_0xe67174,parse:_0x1f30c5}=ct(),{toBuffer:_0x2fc117}=ce(),_0x470503=0x1e*0x3e8,_0x214088=Symbol(_0x53af94(0x300)),_0x4de067=[0x8,0xd],_0x5297c6=[_0x53af94(0x145),_0x53af94(0x2a8),_0x53af94(0x28a),_0x53af94(0x14c)],_0x2ca75c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53678f extends _0x418b90{constructor(_0x50ecff,_0x29920b,_0x2b619c){const _0x26b7e8=_0x53af94;super(),this['_binaryType']=_0x249518[0x0],this[_0x26b7e8(0x260)]=0x3ee,this[_0x26b7e8(0x288)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x26b7e8(0x2cb)]=_0xa27fe7,this[_0x26b7e8(0x26a)]=null,this['_errorEmitted']=!0x1,this[_0x26b7e8(0x186)]={},this['_paused']=!0x1,this[_0x26b7e8(0x1c9)]='',this[_0x26b7e8(0x304)]=_0x53678f[_0x26b7e8(0x145)],this[_0x26b7e8(0x1c3)]=null,this[_0x26b7e8(0x2f8)]=null,this[_0x26b7e8(0x169)]=null,_0x50ecff!==null?(this['_bufferedAmount']=0x0,this[_0x26b7e8(0x29d)]=!0x1,this[_0x26b7e8(0x2fa)]=0x0,_0x29920b===void 0x0?_0x29920b=[]:Array['isArray'](_0x29920b)||(typeof _0x29920b=='object'&&_0x29920b!==null?(_0x2b619c=_0x29920b,_0x29920b=[]):_0x29920b=[_0x29920b]),_0x4c4512(this,_0x50ecff,_0x29920b,_0x2b619c)):(this['_autoPong']=_0x2b619c[_0x26b7e8(0x203)],this[_0x26b7e8(0x29d)]=!0x0);}get[_0x53af94(0x2cd)](){const _0x155486=_0x53af94;return this[_0x155486(0x2ed)];}set[_0x53af94(0x2cd)](_0x3be6b6){const _0xb2f868=_0x53af94;_0x249518[_0xb2f868(0x1f0)](_0x3be6b6)&&(this[_0xb2f868(0x2ed)]=_0x3be6b6,this[_0xb2f868(0x1c3)]&&(this[_0xb2f868(0x1c3)][_0xb2f868(0x2ed)]=_0x3be6b6));}get[_0x53af94(0x2ba)](){const _0x4df436=_0x53af94;return this[_0x4df436(0x169)]?this['_socket']['_writableState'][_0x4df436(0x25d)]+this['_sender'][_0x4df436(0x17f)]:this[_0x4df436(0x191)];}get[_0x53af94(0x214)](){const _0xcabd06=_0x53af94;return Object[_0xcabd06(0x219)](this[_0xcabd06(0x186)])[_0xcabd06(0x23b)]();}get[_0x53af94(0x1fe)](){const _0x59ae90=_0x53af94;return this[_0x59ae90(0x25f)];}get[_0x53af94(0x2f0)](){return null;}get[_0x53af94(0x2f3)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x513dba=_0x53af94;return this[_0x513dba(0x1c9)];}get[_0x53af94(0x240)](){return this['_readyState'];}get[_0x53af94(0x273)](){return this['_url'];}[_0x53af94(0x17b)](_0x3c8078,_0x27fc8b,_0x1d5402){const _0x3e6e5e=_0x53af94,_0x15999a=new _0x5bf8d8({'allowSynchronousEvents':_0x1d5402[_0x3e6e5e(0x185)],'binaryType':this[_0x3e6e5e(0x2cd)],'extensions':this[_0x3e6e5e(0x186)],'isServer':this[_0x3e6e5e(0x29d)],'maxPayload':_0x1d5402['maxPayload'],'skipUTF8Validation':_0x1d5402[_0x3e6e5e(0x289)]}),_0x6fb6fc=new _0x5f09aa(_0x3c8078,this[_0x3e6e5e(0x186)],_0x1d5402[_0x3e6e5e(0x138)]);this[_0x3e6e5e(0x1c3)]=_0x15999a,this[_0x3e6e5e(0x2f8)]=_0x6fb6fc,this[_0x3e6e5e(0x169)]=_0x3c8078,_0x15999a[_0x8257a2]=this,_0x6fb6fc[_0x8257a2]=this,_0x3c8078[_0x8257a2]=this,_0x15999a['on'](_0x3e6e5e(0x2f1),_0x4b9d77),_0x15999a['on'](_0x3e6e5e(0x2ea),_0x429ec0),_0x15999a['on']('error',_0x128352),_0x15999a['on'](_0x3e6e5e(0x19e),_0x6a4de),_0x15999a['on'](_0x3e6e5e(0x14f),_0x854f36),_0x15999a['on'](_0x3e6e5e(0x307),_0x3b3ee7),_0x6fb6fc[_0x3e6e5e(0x2f3)]=_0x13c8f5,_0x3c8078['setTimeout']&&_0x3c8078['setTimeout'](0x0),_0x3c8078[_0x3e6e5e(0x16a)]&&_0x3c8078[_0x3e6e5e(0x16a)](),_0x27fc8b['length']>0x0&&_0x3c8078['unshift'](_0x27fc8b),_0x3c8078['on'](_0x3e6e5e(0x284),_0x3f1043),_0x3c8078['on'](_0x3e6e5e(0x165),_0x4ee0cb),_0x3c8078['on'](_0x3e6e5e(0x1b6),_0xe84a4e),_0x3c8078['on'](_0x3e6e5e(0x196),_0x21e7c6),this[_0x3e6e5e(0x304)]=_0x53678f[_0x3e6e5e(0x2a8)],this[_0x3e6e5e(0x303)](_0x3e6e5e(0x295));}[_0x53af94(0x14a)](){const _0x3c44bc=_0x53af94;if(!this[_0x3c44bc(0x169)]){this['_readyState']=_0x53678f[_0x3c44bc(0x14c)],this['emit'](_0x3c44bc(0x284),this['_closeCode'],this[_0x3c44bc(0x2cb)]);return;}this[_0x3c44bc(0x186)][_0x209050[_0x3c44bc(0x2cc)]]&&this[_0x3c44bc(0x186)][_0x209050[_0x3c44bc(0x2cc)]][_0x3c44bc(0x2ee)](),this[_0x3c44bc(0x1c3)][_0x3c44bc(0x20a)](),this[_0x3c44bc(0x304)]=_0x53678f[_0x3c44bc(0x14c)],this[_0x3c44bc(0x303)]('close',this[_0x3c44bc(0x260)],this[_0x3c44bc(0x2cb)]);}[_0x53af94(0x284)](_0x1622df,_0x6722a0){const _0x3ed45a=_0x53af94;if(this[_0x3ed45a(0x240)]!==_0x53678f[_0x3ed45a(0x14c)]){if(this[_0x3ed45a(0x240)]===_0x53678f[_0x3ed45a(0x145)]){_0x4dd4d1(this,this[_0x3ed45a(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3ed45a(0x240)]===_0x53678f[_0x3ed45a(0x28a)]){this['_closeFrameSent']&&(this[_0x3ed45a(0x288)]||this[_0x3ed45a(0x1c3)][_0x3ed45a(0x171)][_0x3ed45a(0x15a)])&&this[_0x3ed45a(0x169)][_0x3ed45a(0x1b6)]();return;}this[_0x3ed45a(0x304)]=_0x53678f[_0x3ed45a(0x28a)],this[_0x3ed45a(0x2f8)][_0x3ed45a(0x284)](_0x1622df,_0x6722a0,!this[_0x3ed45a(0x29d)],_0xc8a8e3=>{const _0x4af6ad=_0x3ed45a;_0xc8a8e3||(this['_closeFrameSent']=!0x0,(this[_0x4af6ad(0x288)]||this[_0x4af6ad(0x1c3)][_0x4af6ad(0x171)][_0x4af6ad(0x15a)])&&this[_0x4af6ad(0x169)][_0x4af6ad(0x1b6)]());}),_0x53854d(this);}}[_0x53af94(0x2d5)](){const _0x178455=_0x53af94;this['readyState']===_0x53678f[_0x178455(0x145)]||this[_0x178455(0x240)]===_0x53678f[_0x178455(0x14c)]||(this[_0x178455(0x25f)]=!0x0,this['_socket'][_0x178455(0x2d5)]());}[_0x53af94(0x14f)](_0x4b09a5,_0x4acc62,_0x3c37fd){const _0x1ef695=_0x53af94;if(this[_0x1ef695(0x240)]===_0x53678f[_0x1ef695(0x145)])throw new Error(_0x1ef695(0x26e));if(typeof _0x4b09a5==_0x1ef695(0x189)?(_0x3c37fd=_0x4b09a5,_0x4b09a5=_0x4acc62=void 0x0):typeof _0x4acc62=='function'&&(_0x3c37fd=_0x4acc62,_0x4acc62=void 0x0),typeof _0x4b09a5==_0x1ef695(0x30d)&&(_0x4b09a5=_0x4b09a5[_0x1ef695(0x232)]()),this['readyState']!==_0x53678f[_0x1ef695(0x2a8)]){_0x203b6f(this,_0x4b09a5,_0x3c37fd);return;}_0x4acc62===void 0x0&&(_0x4acc62=!this[_0x1ef695(0x29d)]),this[_0x1ef695(0x2f8)][_0x1ef695(0x14f)](_0x4b09a5||_0xa27fe7,_0x4acc62,_0x3c37fd);}[_0x53af94(0x307)](_0x4dc37e,_0x3783e7,_0x3812fc){const _0x4e3583=_0x53af94;if(this[_0x4e3583(0x240)]===_0x53678f[_0x4e3583(0x145)])throw new Error(_0x4e3583(0x26e));if(typeof _0x4dc37e==_0x4e3583(0x189)?(_0x3812fc=_0x4dc37e,_0x4dc37e=_0x3783e7=void 0x0):typeof _0x3783e7==_0x4e3583(0x189)&&(_0x3812fc=_0x3783e7,_0x3783e7=void 0x0),typeof _0x4dc37e=='number'&&(_0x4dc37e=_0x4dc37e[_0x4e3583(0x232)]()),this[_0x4e3583(0x240)]!==_0x53678f[_0x4e3583(0x2a8)]){_0x203b6f(this,_0x4dc37e,_0x3812fc);return;}_0x3783e7===void 0x0&&(_0x3783e7=!this[_0x4e3583(0x29d)]),this[_0x4e3583(0x2f8)]['pong'](_0x4dc37e||_0xa27fe7,_0x3783e7,_0x3812fc);}[_0x53af94(0x1c4)](){const _0x26dfe3=_0x53af94;this[_0x26dfe3(0x240)]===_0x53678f[_0x26dfe3(0x145)]||this['readyState']===_0x53678f['CLOSED']||(this['_paused']=!0x1,this[_0x26dfe3(0x1c3)]['_writableState'][_0x26dfe3(0x2bc)]||this[_0x26dfe3(0x169)][_0x26dfe3(0x1c4)]());}[_0x53af94(0x267)](_0xba7a33,_0x5247ce,_0x4cb710){const _0x309aed=_0x53af94;if(this[_0x309aed(0x240)]===_0x53678f[_0x309aed(0x145)])throw new Error(_0x309aed(0x26e));if(typeof _0x5247ce=='function'&&(_0x4cb710=_0x5247ce,_0x5247ce={}),typeof _0xba7a33==_0x309aed(0x30d)&&(_0xba7a33=_0xba7a33['toString']()),this[_0x309aed(0x240)]!==_0x53678f['OPEN']){_0x203b6f(this,_0xba7a33,_0x4cb710);return;}const _0x2e8e9b={'binary':typeof _0xba7a33!=_0x309aed(0x23d),'mask':!this[_0x309aed(0x29d)],'compress':!0x0,'fin':!0x0,..._0x5247ce};this[_0x309aed(0x186)][_0x209050[_0x309aed(0x2cc)]]||(_0x2e8e9b[_0x309aed(0x2e1)]=!0x1),this[_0x309aed(0x2f8)][_0x309aed(0x267)](_0xba7a33||_0xa27fe7,_0x2e8e9b,_0x4cb710);}[_0x53af94(0x301)](){const _0x54f7c0=_0x53af94;if(this[_0x54f7c0(0x240)]!==_0x53678f[_0x54f7c0(0x14c)]){if(this[_0x54f7c0(0x240)]===_0x53678f[_0x54f7c0(0x145)]){_0x4dd4d1(this,this[_0x54f7c0(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x54f7c0(0x169)]&&(this['_readyState']=_0x53678f[_0x54f7c0(0x28a)],this[_0x54f7c0(0x169)][_0x54f7c0(0x21a)]());}}}Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x145),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)]('CONNECTING')}),Object[_0x53af94(0x2a7)](_0x53678f['prototype'],_0x53af94(0x145),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x145))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x2a8),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x2a8))}),Object['defineProperty'](_0x53678f['prototype'],_0x53af94(0x2a8),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x2a8))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x28a),{'enumerable':!0x0,'value':_0x5297c6['indexOf'](_0x53af94(0x28a))}),Object[_0x53af94(0x2a7)](_0x53678f[_0x53af94(0x23e)],_0x53af94(0x28a),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x28a))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x14c),{'enumerable':!0x0,'value':_0x5297c6['indexOf'](_0x53af94(0x14c))}),Object[_0x53af94(0x2a7)](_0x53678f[_0x53af94(0x23e)],_0x53af94(0x14c),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x14c))}),[_0x53af94(0x2cd),_0x53af94(0x2ba),_0x53af94(0x214),_0x53af94(0x1fe),_0x53af94(0x197),_0x53af94(0x240),_0x53af94(0x273)][_0x53af94(0x162)](_0x20b53d=>{const _0x3208e0=_0x53af94;Object[_0x3208e0(0x2a7)](_0x53678f[_0x3208e0(0x23e)],_0x20b53d,{'enumerable':!0x0});}),[_0x53af94(0x295),_0x53af94(0x196),_0x53af94(0x284),_0x53af94(0x19e)][_0x53af94(0x162)](_0x449d24=>{const _0x1eaab0=_0x53af94;Object['defineProperty'](_0x53678f[_0x1eaab0(0x23e)],'on'+_0x449d24,{'enumerable':!0x0,'get'(){const _0x170363=_0x1eaab0;for(const _0x1dac4e of this[_0x170363(0x24e)](_0x449d24))if(_0x1dac4e[_0x1f6bd0])return _0x1dac4e[_0x53e86e];return null;},'set'(_0x5a2c90){const _0x2df8e5=_0x1eaab0;for(const _0x434e53 of this[_0x2df8e5(0x24e)](_0x449d24))if(_0x434e53[_0x1f6bd0]){this[_0x2df8e5(0x181)](_0x449d24,_0x434e53);break;}typeof _0x5a2c90==_0x2df8e5(0x189)&&this['addEventListener'](_0x449d24,_0x5a2c90,{[_0x1f6bd0]:!0x0});}});}),_0x53678f[_0x53af94(0x23e)][_0x53af94(0x194)]=_0x4a5b3e,_0x53678f[_0x53af94(0x23e)]['removeEventListener']=_0x18d463,we=_0x53678f;function _0x4c4512(_0x37d90d,_0x40fb37,_0x1265f7,_0x2ba3b2){const _0x2b1e3d=_0x53af94,_0x8efc94={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4de067[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ba3b2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b1e3d(0x270),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x37d90d[_0x2b1e3d(0x175)]=_0x8efc94['autoPong'],!_0x4de067['includes'](_0x8efc94[_0x2b1e3d(0x1bd)]))throw new RangeError(_0x2b1e3d(0x2d9)+_0x8efc94[_0x2b1e3d(0x1bd)]+_0x2b1e3d(0x1f9)+_0x4de067[_0x2b1e3d(0x23b)](',\x20')+')');let _0x557a28;if(_0x40fb37 instanceof _0x5236a9)_0x557a28=_0x40fb37;else try{_0x557a28=new _0x5236a9(_0x40fb37);}catch{throw new SyntaxError(_0x2b1e3d(0x22f)+_0x40fb37);}_0x557a28[_0x2b1e3d(0x197)]==='http:'?_0x557a28[_0x2b1e3d(0x197)]=_0x2b1e3d(0x1f3):_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x29e)&&(_0x557a28[_0x2b1e3d(0x197)]=_0x2b1e3d(0x1f1)),_0x37d90d[_0x2b1e3d(0x2e2)]=_0x557a28[_0x2b1e3d(0x1a0)];const _0xa29b0=_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x1f1),_0x2ff719=_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x19d);let _0xf3e2d6;if(_0x557a28['protocol']!==_0x2b1e3d(0x1f3)&&!_0xa29b0&&!_0x2ff719?_0xf3e2d6=_0x2b1e3d(0x229):_0x2ff719&&!_0x557a28[_0x2b1e3d(0x25e)]?_0xf3e2d6='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x557a28[_0x2b1e3d(0x220)]&&(_0xf3e2d6=_0x2b1e3d(0x244)),_0xf3e2d6){const _0x34a17d=new SyntaxError(_0xf3e2d6);if(_0x37d90d['_redirects']===0x0)throw _0x34a17d;_0x381d56(_0x37d90d,_0x34a17d);return;}const _0x5738fb=_0xa29b0?0x1bb:0x50,_0x87d4fb=_0x4afabf(0x10)[_0x2b1e3d(0x232)](_0x2b1e3d(0x21c)),_0x2fbd48=_0xa29b0?_0x50cf1c[_0x2b1e3d(0x2a3)]:_0x355c8c['request'],_0x474705=new Set();let _0x1d5a9b;if(_0x8efc94[_0x2b1e3d(0x24f)]=_0x8efc94[_0x2b1e3d(0x24f)]||(_0xa29b0?_0x4658a2:_0x5a8411),_0x8efc94[_0x2b1e3d(0x27f)]=_0x8efc94[_0x2b1e3d(0x27f)]||_0x5738fb,_0x8efc94[_0x2b1e3d(0x27c)]=_0x557a28[_0x2b1e3d(0x27c)]||_0x5738fb,_0x8efc94[_0x2b1e3d(0x22e)]=_0x557a28[_0x2b1e3d(0x202)][_0x2b1e3d(0x1e8)]('[')?_0x557a28[_0x2b1e3d(0x202)][_0x2b1e3d(0x22d)](0x1,-0x1):_0x557a28['hostname'],_0x8efc94[_0x2b1e3d(0x1f6)]={..._0x8efc94['headers'],'Sec-WebSocket-Version':_0x8efc94['protocolVersion'],'Sec-WebSocket-Key':_0x87d4fb,'Connection':_0x2b1e3d(0x1d4),'Upgrade':_0x2b1e3d(0x1ed)},_0x8efc94['path']=_0x557a28[_0x2b1e3d(0x25e)]+_0x557a28[_0x2b1e3d(0x16b)],_0x8efc94[_0x2b1e3d(0x195)]=_0x8efc94['handshakeTimeout'],_0x8efc94['perMessageDeflate']&&(_0x1d5a9b=new _0x209050(_0x8efc94['perMessageDeflate']!==!0x0?_0x8efc94[_0x2b1e3d(0x1ba)]:{},!0x1,_0x8efc94[_0x2b1e3d(0x242)]),_0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x2e6)]=_0xe67174({[_0x209050[_0x2b1e3d(0x2cc)]]:_0x1d5a9b['offer']()})),_0x1265f7['length']){for(const _0x4aeeed of _0x1265f7){if(typeof _0x4aeeed!=_0x2b1e3d(0x23d)||!_0x2ca75c[_0x2b1e3d(0x159)](_0x4aeeed)||_0x474705['has'](_0x4aeeed))throw new SyntaxError(_0x2b1e3d(0x2fe));_0x474705[_0x2b1e3d(0x2d1)](_0x4aeeed);}_0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x309)]=_0x1265f7[_0x2b1e3d(0x23b)](',');}if(_0x8efc94['origin']&&(_0x8efc94[_0x2b1e3d(0x1bd)]<0xd?_0x8efc94[_0x2b1e3d(0x1f6)]['Sec-WebSocket-Origin']=_0x8efc94[_0x2b1e3d(0x188)]:_0x8efc94['headers']['Origin']=_0x8efc94[_0x2b1e3d(0x188)]),(_0x557a28[_0x2b1e3d(0x24d)]||_0x557a28[_0x2b1e3d(0x17c)])&&(_0x8efc94[_0x2b1e3d(0x16f)]=_0x557a28[_0x2b1e3d(0x24d)]+':'+_0x557a28[_0x2b1e3d(0x17c)]),_0x2ff719){const _0x2c6186=_0x8efc94[_0x2b1e3d(0x1d7)][_0x2b1e3d(0x2fb)](':');_0x8efc94['socketPath']=_0x2c6186[0x0],_0x8efc94[_0x2b1e3d(0x1d7)]=_0x2c6186[0x1];}let _0x203f4a;if(_0x8efc94[_0x2b1e3d(0x20d)]){if(_0x37d90d[_0x2b1e3d(0x2fa)]===0x0){_0x37d90d[_0x2b1e3d(0x1c8)]=_0x2ff719,_0x37d90d[_0x2b1e3d(0x279)]=_0xa29b0,_0x37d90d['_originalHostOrSocketPath']=_0x2ff719?_0x8efc94['socketPath']:_0x557a28[_0x2b1e3d(0x22e)];const _0x237228=_0x2ba3b2&&_0x2ba3b2['headers'];if(_0x2ba3b2={..._0x2ba3b2,'headers':{}},_0x237228){for(const [_0x5a6b6b,_0x15ce92]of Object['entries'](_0x237228))_0x2ba3b2[_0x2b1e3d(0x1f6)][_0x5a6b6b[_0x2b1e3d(0x2c4)]()]=_0x15ce92;}}else{if(_0x37d90d[_0x2b1e3d(0x13b)](_0x2b1e3d(0x15c))===0x0){const _0x32cc4c=_0x2ff719?_0x37d90d[_0x2b1e3d(0x1c8)]?_0x8efc94[_0x2b1e3d(0x2a0)]===_0x37d90d[_0x2b1e3d(0x24a)]:!0x1:_0x37d90d[_0x2b1e3d(0x1c8)]?!0x1:_0x557a28[_0x2b1e3d(0x22e)]===_0x37d90d[_0x2b1e3d(0x24a)];(!_0x32cc4c||_0x37d90d['_originalSecure']&&!_0xa29b0)&&(delete _0x8efc94[_0x2b1e3d(0x1f6)]['authorization'],delete _0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x1bf)],_0x32cc4c||delete _0x8efc94['headers']['host'],_0x8efc94['auth']=void 0x0);}}_0x8efc94[_0x2b1e3d(0x16f)]&&!_0x2ba3b2[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x2f2)]&&(_0x2ba3b2[_0x2b1e3d(0x1f6)]['authorization']=_0x2b1e3d(0x192)+Buffer[_0x2b1e3d(0x308)](_0x8efc94['auth'])[_0x2b1e3d(0x232)](_0x2b1e3d(0x21c))),_0x203f4a=_0x37d90d[_0x2b1e3d(0x2ca)]=_0x2fbd48(_0x8efc94),_0x37d90d[_0x2b1e3d(0x2fa)]&&_0x37d90d['emit'](_0x2b1e3d(0x15c),_0x37d90d[_0x2b1e3d(0x273)],_0x203f4a);}else _0x203f4a=_0x37d90d[_0x2b1e3d(0x2ca)]=_0x2fbd48(_0x8efc94);_0x8efc94[_0x2b1e3d(0x195)]&&_0x203f4a['on'](_0x2b1e3d(0x195),()=>{const _0x48f07a=_0x2b1e3d;_0x4dd4d1(_0x37d90d,_0x203f4a,_0x48f07a(0x222));}),_0x203f4a['on'](_0x2b1e3d(0x196),_0x3c5b5b=>{_0x203f4a===null||_0x203f4a[_0x214088]||(_0x203f4a=_0x37d90d['_req']=null,_0x381d56(_0x37d90d,_0x3c5b5b));}),_0x203f4a['on'](_0x2b1e3d(0x299),_0x2a604e=>{const _0x3ed0ca=_0x2b1e3d,_0x6db246=_0x2a604e[_0x3ed0ca(0x1f6)][_0x3ed0ca(0x201)],_0x16bf33=_0x2a604e[_0x3ed0ca(0x215)];if(_0x6db246&&_0x8efc94[_0x3ed0ca(0x20d)]&&_0x16bf33>=0x12c&&_0x16bf33<0x190){if(++_0x37d90d[_0x3ed0ca(0x2fa)]>_0x8efc94[_0x3ed0ca(0x29c)]){_0x4dd4d1(_0x37d90d,_0x203f4a,_0x3ed0ca(0x1bc));return;}_0x203f4a['abort']();let _0x18f0db;try{_0x18f0db=new _0x5236a9(_0x6db246,_0x40fb37);}catch{const _0x45351d=new SyntaxError(_0x3ed0ca(0x22f)+_0x6db246);_0x381d56(_0x37d90d,_0x45351d);return;}_0x4c4512(_0x37d90d,_0x18f0db,_0x1265f7,_0x2ba3b2);}else _0x37d90d[_0x3ed0ca(0x303)](_0x3ed0ca(0x153),_0x203f4a,_0x2a604e)||_0x4dd4d1(_0x37d90d,_0x203f4a,_0x3ed0ca(0x278)+_0x2a604e['statusCode']);}),_0x203f4a['on'](_0x2b1e3d(0x245),(_0x3e8d59,_0x30be2c,_0x27113a)=>{const _0x15f52f=_0x2b1e3d;if(_0x37d90d[_0x15f52f(0x303)](_0x15f52f(0x245),_0x3e8d59),_0x37d90d['readyState']!==_0x53678f[_0x15f52f(0x145)])return;_0x203f4a=_0x37d90d[_0x15f52f(0x2ca)]=null;const _0x383180=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x245)];if(_0x383180===void 0x0||_0x383180[_0x15f52f(0x2c4)]()!==_0x15f52f(0x1ed)){_0x4dd4d1(_0x37d90d,_0x30be2c,'Invalid\x20Upgrade\x20header');return;}const _0x33f8ea=_0x2a2baa(_0x15f52f(0x174))['update'](_0x87d4fb+_0x3cf451)['digest'](_0x15f52f(0x21c));if(_0x3e8d59['headers'][_0x15f52f(0x1c0)]!==_0x33f8ea){_0x4dd4d1(_0x37d90d,_0x30be2c,_0x15f52f(0x21d));return;}const _0x298f49=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x1e9)];let _0x3825ba;if(_0x298f49!==void 0x0?_0x474705[_0x15f52f(0x15e)]?_0x474705[_0x15f52f(0x250)](_0x298f49)||(_0x3825ba=_0x15f52f(0x1e4)):_0x3825ba=_0x15f52f(0x142):_0x474705['size']&&(_0x3825ba=_0x15f52f(0x18d)),_0x3825ba){_0x4dd4d1(_0x37d90d,_0x30be2c,_0x3825ba);return;}_0x298f49&&(_0x37d90d[_0x15f52f(0x1c9)]=_0x298f49);const _0x9c34a6=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x168)];if(_0x9c34a6!==void 0x0){if(!_0x1d5a9b){_0x4dd4d1(_0x37d90d,_0x30be2c,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x58dc8e;try{_0x58dc8e=_0x1f30c5(_0x9c34a6);}catch{_0x4dd4d1(_0x37d90d,_0x30be2c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1025bb=Object[_0x15f52f(0x219)](_0x58dc8e);if(_0x1025bb['length']!==0x1||_0x1025bb[0x0]!==_0x209050['extensionName']){_0x4dd4d1(_0x37d90d,_0x30be2c,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1d5a9b['accept'](_0x58dc8e[_0x209050[_0x15f52f(0x2cc)]]);}catch{_0x4dd4d1(_0x37d90d,_0x30be2c,_0x15f52f(0x206));return;}_0x37d90d['_extensions'][_0x209050[_0x15f52f(0x2cc)]]=_0x1d5a9b;}_0x37d90d['setSocket'](_0x30be2c,_0x27113a,{'allowSynchronousEvents':_0x8efc94[_0x15f52f(0x185)],'generateMask':_0x8efc94[_0x15f52f(0x138)],'maxPayload':_0x8efc94[_0x15f52f(0x242)],'skipUTF8Validation':_0x8efc94[_0x15f52f(0x289)]});}),_0x8efc94[_0x2b1e3d(0x1a4)]?_0x8efc94[_0x2b1e3d(0x1a4)](_0x203f4a,_0x37d90d):_0x203f4a[_0x2b1e3d(0x1b6)]();}function _0x381d56(_0x179d2e,_0x429792){const _0x584e35=_0x53af94;_0x179d2e[_0x584e35(0x304)]=_0x53678f[_0x584e35(0x28a)],_0x179d2e[_0x584e35(0x1b8)]=!0x0,_0x179d2e[_0x584e35(0x303)](_0x584e35(0x196),_0x429792),_0x179d2e['emitClose']();}function _0x5a8411(_0x1e4207){const _0xdc76b7=_0x53af94;return _0x1e4207[_0xdc76b7(0x1d7)]=_0x1e4207[_0xdc76b7(0x2a0)],_0x5cf05c[_0xdc76b7(0x2e8)](_0x1e4207);}function _0x4658a2(_0x5f2f60){const _0x1a076e=_0x53af94;return _0x5f2f60[_0x1a076e(0x1d7)]=void 0x0,!_0x5f2f60[_0x1a076e(0x2f5)]&&_0x5f2f60['servername']!==''&&(_0x5f2f60[_0x1a076e(0x2f5)]=_0x5cf05c[_0x1a076e(0x1da)](_0x5f2f60[_0x1a076e(0x22e)])?'':_0x5f2f60[_0x1a076e(0x22e)]),_0x3b8dd8[_0x1a076e(0x2e8)](_0x5f2f60);}function _0x4dd4d1(_0x4fdbf1,_0x3f7194,_0x8ff7c4){const _0x278562=_0x53af94;_0x4fdbf1[_0x278562(0x304)]=_0x53678f[_0x278562(0x28a)];const _0x1969b8=new Error(_0x8ff7c4);Error[_0x278562(0x30a)](_0x1969b8,_0x4dd4d1),_0x3f7194[_0x278562(0x1e7)]?(_0x3f7194[_0x214088]=!0x0,_0x3f7194[_0x278562(0x24c)](),_0x3f7194[_0x278562(0x1e3)]&&!_0x3f7194[_0x278562(0x1e3)][_0x278562(0x26d)]&&_0x3f7194['socket'][_0x278562(0x21a)](),process[_0x278562(0x1c7)](_0x381d56,_0x4fdbf1,_0x1969b8)):(_0x3f7194[_0x278562(0x21a)](_0x1969b8),_0x3f7194[_0x278562(0x18c)](_0x278562(0x196),_0x4fdbf1[_0x278562(0x303)]['bind'](_0x4fdbf1,_0x278562(0x196))),_0x3f7194[_0x278562(0x18c)]('close',_0x4fdbf1['emitClose'][_0x278562(0x1d9)](_0x4fdbf1)));}function _0x203b6f(_0x224cf3,_0x56fc39,_0x3e67dd){const _0x3dd033=_0x53af94;if(_0x56fc39){const _0x164cbd=_0x2f64be(_0x56fc39)?_0x56fc39['size']:_0x2fc117(_0x56fc39)[_0x3dd033(0x25d)];_0x224cf3[_0x3dd033(0x169)]?_0x224cf3[_0x3dd033(0x2f8)][_0x3dd033(0x17f)]+=_0x164cbd:_0x224cf3[_0x3dd033(0x191)]+=_0x164cbd;}if(_0x3e67dd){const _0x1ad69f=new Error(_0x3dd033(0x1c5)+_0x224cf3[_0x3dd033(0x240)]+'\x20('+_0x5297c6[_0x224cf3[_0x3dd033(0x240)]]+')');process[_0x3dd033(0x1c7)](_0x3e67dd,_0x1ad69f);}}function _0x4b9d77(_0x4216e6,_0x3fc9c0){const _0x1791fe=_0x53af94,_0x2bab82=this[_0x8257a2];_0x2bab82[_0x1791fe(0x288)]=!0x0,_0x2bab82[_0x1791fe(0x2cb)]=_0x3fc9c0,_0x2bab82[_0x1791fe(0x260)]=_0x4216e6,_0x2bab82[_0x1791fe(0x169)][_0x8257a2]!==void 0x0&&(_0x2bab82[_0x1791fe(0x169)][_0x1791fe(0x181)](_0x1791fe(0x165),_0x4ee0cb),process[_0x1791fe(0x1c7)](_0x2a4141,_0x2bab82['_socket']),_0x4216e6===0x3ed?_0x2bab82[_0x1791fe(0x284)]():_0x2bab82[_0x1791fe(0x284)](_0x4216e6,_0x3fc9c0));}function _0x429ec0(){const _0x29512d=_0x53af94,_0x509662=this[_0x8257a2];_0x509662[_0x29512d(0x1fe)]||_0x509662['_socket']['resume']();}function _0x128352(_0x3baca5){const _0x34da5a=_0x53af94,_0x6ec71f=this[_0x8257a2];_0x6ec71f[_0x34da5a(0x169)][_0x8257a2]!==void 0x0&&(_0x6ec71f[_0x34da5a(0x169)]['removeListener'](_0x34da5a(0x165),_0x4ee0cb),process['nextTick'](_0x2a4141,_0x6ec71f[_0x34da5a(0x169)]),_0x6ec71f[_0x34da5a(0x284)](_0x3baca5[_0x462f13])),_0x6ec71f[_0x34da5a(0x1b8)]||(_0x6ec71f[_0x34da5a(0x1b8)]=!0x0,_0x6ec71f[_0x34da5a(0x303)](_0x34da5a(0x196),_0x3baca5));}function _0x3526ff(){const _0x116962=_0x53af94;this[_0x8257a2][_0x116962(0x14a)]();}function _0x6a4de(_0x437507,_0x54a182){const _0x670279=_0x53af94;this[_0x8257a2][_0x670279(0x303)](_0x670279(0x19e),_0x437507,_0x54a182);}function _0x854f36(_0x2174ac){const _0x1906b8=_0x53af94,_0x5994cd=this[_0x8257a2];_0x5994cd[_0x1906b8(0x175)]&&_0x5994cd[_0x1906b8(0x307)](_0x2174ac,!this[_0x1906b8(0x29d)],_0x3be1dd),_0x5994cd[_0x1906b8(0x303)](_0x1906b8(0x14f),_0x2174ac);}function _0x3b3ee7(_0x3e0f68){const _0x19bd21=_0x53af94;this[_0x8257a2][_0x19bd21(0x303)](_0x19bd21(0x307),_0x3e0f68);}function _0x2a4141(_0x18a496){const _0x3de77e=_0x53af94;_0x18a496[_0x3de77e(0x1c4)]();}function _0x13c8f5(_0x1f1789){const _0x2af37c=_0x53af94,_0x6a7729=this[_0x8257a2];_0x6a7729[_0x2af37c(0x240)]!==_0x53678f[_0x2af37c(0x14c)]&&(_0x6a7729[_0x2af37c(0x240)]===_0x53678f['OPEN']&&(_0x6a7729[_0x2af37c(0x304)]=_0x53678f[_0x2af37c(0x28a)],_0x53854d(_0x6a7729)),this[_0x2af37c(0x169)]['end'](),_0x6a7729['_errorEmitted']||(_0x6a7729[_0x2af37c(0x1b8)]=!0x0,_0x6a7729[_0x2af37c(0x303)](_0x2af37c(0x196),_0x1f1789)));}function _0x53854d(_0x1e9ddb){const _0x4d246c=_0x53af94;_0x1e9ddb['_closeTimer']=setTimeout(_0x1e9ddb[_0x4d246c(0x169)][_0x4d246c(0x21a)][_0x4d246c(0x1d9)](_0x1e9ddb['_socket']),_0x470503);}function _0x3f1043(){const _0x3778ba=_0x53af94,_0x30db7e=this[_0x8257a2];this[_0x3778ba(0x181)](_0x3778ba(0x284),_0x3f1043),this['removeListener'](_0x3778ba(0x165),_0x4ee0cb),this[_0x3778ba(0x181)]('end',_0xe84a4e),_0x30db7e[_0x3778ba(0x304)]=_0x53678f[_0x3778ba(0x28a)];let _0xdc2839;!this['_readableState'][_0x3778ba(0x1e0)]&&!_0x30db7e[_0x3778ba(0x288)]&&!_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x171)][_0x3778ba(0x15a)]&&(_0xdc2839=_0x30db7e['_socket'][_0x3778ba(0x254)]())!==null&&_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x17a)](_0xdc2839),_0x30db7e['_receiver'][_0x3778ba(0x1b6)](),this[_0x8257a2]=void 0x0,clearTimeout(_0x30db7e[_0x3778ba(0x26a)]),_0x30db7e['_receiver'][_0x3778ba(0x171)][_0x3778ba(0x23c)]||_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x171)][_0x3778ba(0x15a)]?_0x30db7e['emitClose']():(_0x30db7e[_0x3778ba(0x1c3)]['on'](_0x3778ba(0x196),_0x3526ff),_0x30db7e[_0x3778ba(0x1c3)]['on'](_0x3778ba(0x26c),_0x3526ff));}function _0x4ee0cb(_0x467568){const _0x2218b8=_0x53af94;this[_0x8257a2]['_receiver'][_0x2218b8(0x17a)](_0x467568)||this['pause']();}function _0xe84a4e(){const _0xb6859b=_0x53af94,_0xe87408=this[_0x8257a2];_0xe87408[_0xb6859b(0x304)]=_0x53678f[_0xb6859b(0x28a)],_0xe87408[_0xb6859b(0x1c3)][_0xb6859b(0x1b6)](),this[_0xb6859b(0x1b6)]();}function _0x21e7c6(){const _0x193f91=_0x53af94,_0x1a9c87=this[_0x8257a2];this[_0x193f91(0x181)]('error',_0x21e7c6),this['on'](_0x193f91(0x196),_0x3be1dd),_0x1a9c87&&(_0x1a9c87[_0x193f91(0x304)]=_0x53678f[_0x193f91(0x28a)],this[_0x193f91(0x21a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2cadcd}=oe;function _0x529973(_0x17ae02){const _0x431a4a=_0x6e7e;_0x17ae02[_0x431a4a(0x303)](_0x431a4a(0x284));}function _0x420e4d(){const _0xbc2bba=_0x6e7e;!this['destroyed']&&this[_0xbc2bba(0x171)][_0xbc2bba(0x23c)]&&this['destroy']();}function _0x163485(_0x9790ba){const _0x183135=_0x6e7e;this[_0x183135(0x181)]('error',_0x163485),this[_0x183135(0x21a)](),this[_0x183135(0x13b)](_0x183135(0x196))===0x0&&this[_0x183135(0x303)](_0x183135(0x196),_0x9790ba);}function _0x4a7103(_0x3e0b74,_0x4c3b9a){const _0x65d0f3=_0x6e7e;let _0x531fdb=!0x0;const _0x2933de=new _0x2cadcd({..._0x4c3b9a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e0b74['on'](_0x65d0f3(0x19e),function(_0x1fe638,_0x443fc5){const _0x3bff6b=_0x65d0f3,_0x39ae70=!_0x443fc5&&_0x2933de[_0x3bff6b(0x27b)][_0x3bff6b(0x2f7)]?_0x1fe638[_0x3bff6b(0x232)]():_0x1fe638;_0x2933de[_0x3bff6b(0x2d2)](_0x39ae70)||_0x3e0b74[_0x3bff6b(0x2d5)]();}),_0x3e0b74['once'](_0x65d0f3(0x196),function(_0x4b8b50){const _0x39ebd9=_0x65d0f3;_0x2933de[_0x39ebd9(0x26d)]||(_0x531fdb=!0x1,_0x2933de[_0x39ebd9(0x21a)](_0x4b8b50));}),_0x3e0b74['once'](_0x65d0f3(0x284),function(){const _0x27efeb=_0x65d0f3;_0x2933de[_0x27efeb(0x26d)]||_0x2933de[_0x27efeb(0x2d2)](null);}),_0x2933de[_0x65d0f3(0x272)]=function(_0x515d4e,_0x2cb1fc){const _0x1b3dd0=_0x65d0f3;if(_0x3e0b74[_0x1b3dd0(0x240)]===_0x3e0b74['CLOSED']){_0x2cb1fc(_0x515d4e),process[_0x1b3dd0(0x1c7)](_0x529973,_0x2933de);return;}let _0x3ecdd0=!0x1;_0x3e0b74[_0x1b3dd0(0x18c)](_0x1b3dd0(0x196),function(_0x2f976f){_0x3ecdd0=!0x0,_0x2cb1fc(_0x2f976f);}),_0x3e0b74[_0x1b3dd0(0x18c)](_0x1b3dd0(0x284),function(){const _0x56f729=_0x1b3dd0;_0x3ecdd0||_0x2cb1fc(_0x515d4e),process[_0x56f729(0x1c7)](_0x529973,_0x2933de);}),_0x531fdb&&_0x3e0b74['terminate']();},_0x2933de[_0x65d0f3(0x27a)]=function(_0x25cb68){const _0x7fcfe5=_0x65d0f3;if(_0x3e0b74[_0x7fcfe5(0x240)]===_0x3e0b74[_0x7fcfe5(0x145)]){_0x3e0b74[_0x7fcfe5(0x18c)](_0x7fcfe5(0x295),function(){const _0x2dd8f6=_0x7fcfe5;_0x2933de[_0x2dd8f6(0x27a)](_0x25cb68);});return;}_0x3e0b74[_0x7fcfe5(0x169)]!==null&&(_0x3e0b74[_0x7fcfe5(0x169)][_0x7fcfe5(0x171)][_0x7fcfe5(0x23c)]?(_0x25cb68(),_0x2933de[_0x7fcfe5(0x27b)][_0x7fcfe5(0x1e0)]&&_0x2933de[_0x7fcfe5(0x21a)]()):(_0x3e0b74[_0x7fcfe5(0x169)][_0x7fcfe5(0x18c)](_0x7fcfe5(0x26c),function(){_0x25cb68();}),_0x3e0b74['close']()));},_0x2933de[_0x65d0f3(0x16d)]=function(){const _0x51927a=_0x65d0f3;_0x3e0b74[_0x51927a(0x1fe)]&&_0x3e0b74[_0x51927a(0x1c4)]();},_0x2933de['_write']=function(_0x2cee28,_0x18b993,_0x331837){const _0x1621be=_0x65d0f3;if(_0x3e0b74[_0x1621be(0x240)]===_0x3e0b74[_0x1621be(0x145)]){_0x3e0b74[_0x1621be(0x18c)]('open',function(){const _0xa4b4fb=_0x1621be;_0x2933de[_0xa4b4fb(0x177)](_0x2cee28,_0x18b993,_0x331837);});return;}_0x3e0b74[_0x1621be(0x267)](_0x2cee28,_0x331837);},_0x2933de['on'](_0x65d0f3(0x1b6),_0x420e4d),_0x2933de['on']('error',_0x163485),_0x2933de;}return Oe=_0x4a7103,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x8033b6}=ae();function _0x4430c2(_0x1ba9a8){const _0x164afc=_0x6e7e,_0x4668f6=new Set();let _0x4a7434=-0x1,_0x38d37a=-0x1,_0x51a429=0x0;for(_0x51a429;_0x51a429<_0x1ba9a8['length'];_0x51a429++){const _0x35cba6=_0x1ba9a8['charCodeAt'](_0x51a429);if(_0x38d37a===-0x1&&_0x8033b6[_0x35cba6]===0x1)_0x4a7434===-0x1&&(_0x4a7434=_0x51a429);else{if(_0x51a429!==0x0&&(_0x35cba6===0x20||_0x35cba6===0x9))_0x38d37a===-0x1&&_0x4a7434!==-0x1&&(_0x38d37a=_0x51a429);else{if(_0x35cba6===0x2c){if(_0x4a7434===-0x1)throw new SyntaxError(_0x164afc(0x18e)+_0x51a429);_0x38d37a===-0x1&&(_0x38d37a=_0x51a429);const _0x3b915a=_0x1ba9a8['slice'](_0x4a7434,_0x38d37a);if(_0x4668f6[_0x164afc(0x250)](_0x3b915a))throw new SyntaxError('The\x20\x22'+_0x3b915a+_0x164afc(0x2f4));_0x4668f6[_0x164afc(0x2d1)](_0x3b915a),_0x4a7434=_0x38d37a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51a429);}}}if(_0x4a7434===-0x1||_0x38d37a!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3fcf0b=_0x1ba9a8['slice'](_0x4a7434,_0x51a429);if(_0x4668f6[_0x164afc(0x250)](_0x3fcf0b))throw new SyntaxError(_0x164afc(0x1cb)+_0x3fcf0b+_0x164afc(0x2f4));return _0x4668f6[_0x164afc(0x2d1)](_0x3fcf0b),_0x4668f6;}return Ce={'parse':_0x4430c2},Ce;}var Te,rt;function Ft(){const _0xad0f3=_0x149f8d;if(rt)return Te;rt=0x1;const _0x1f558c=nt,_0x9684e6=ot,{Duplex:_0x1ceb8f}=oe,{createHash:_0x3198f1}=Le,_0x32dae3=ct(),_0x4c4495=he(),_0xf7f1bb=At(),_0x9b9449=Pe(),{GUID:_0x3cda85,kWebSocket:_0x1a0277}=H(),_0x19d61d=/^[+/0-9A-Za-z]{22}==$/,_0x2dce09=0x0,_0x1dd85d=0x1,_0x45a453=0x2;class _0x38cff0 extends _0x1f558c{constructor(_0x50c94b,_0x4dd765){const _0x48e482=_0x6e7e;if(super(),_0x50c94b={'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':_0x9b9449,..._0x50c94b},_0x50c94b[_0x48e482(0x27c)]==null&&!_0x50c94b[_0x48e482(0x1aa)]&&!_0x50c94b[_0x48e482(0x262)]||_0x50c94b[_0x48e482(0x27c)]!=null&&(_0x50c94b[_0x48e482(0x1aa)]||_0x50c94b[_0x48e482(0x262)])||_0x50c94b[_0x48e482(0x1aa)]&&_0x50c94b['noServer'])throw new TypeError(_0x48e482(0x2c8));if(_0x50c94b[_0x48e482(0x27c)]!=null?(this['_server']=_0x9684e6[_0x48e482(0x234)]((_0x1e03c2,_0x2fd35d)=>{const _0x42df33=_0x48e482,_0x229760=_0x9684e6[_0x42df33(0x2b1)][0x1aa];_0x2fd35d[_0x42df33(0x184)](0x1aa,{'Content-Length':_0x229760['length'],'Content-Type':_0x42df33(0x2ae)}),_0x2fd35d['end'](_0x229760);}),this['_server'][_0x48e482(0x223)](_0x50c94b[_0x48e482(0x27c)],_0x50c94b[_0x48e482(0x22e)],_0x50c94b[_0x48e482(0x290)],_0x4dd765)):_0x50c94b['server']&&(this[_0x48e482(0x265)]=_0x50c94b['server']),this[_0x48e482(0x265)]){const _0x4fb264=this[_0x48e482(0x303)]['bind'](this,_0x48e482(0x2fd));this[_0x48e482(0x1a8)]=_0x516ac2(this['_server'],{'listening':this[_0x48e482(0x303)][_0x48e482(0x1d9)](this,'listening'),'error':this[_0x48e482(0x303)]['bind'](this,'error'),'upgrade':(_0x13c8b2,_0x39682b,_0xaeedd6)=>{const _0xd08a08=_0x48e482;this[_0xd08a08(0x198)](_0x13c8b2,_0x39682b,_0xaeedd6,_0x4fb264);}});}_0x50c94b[_0x48e482(0x1ba)]===!0x0&&(_0x50c94b[_0x48e482(0x1ba)]={}),_0x50c94b[_0x48e482(0x277)]&&(this[_0x48e482(0x14b)]=new Set(),this[_0x48e482(0x2a6)]=!0x1),this[_0x48e482(0x1d5)]=_0x50c94b,this[_0x48e482(0x233)]=_0x2dce09;}[_0xad0f3(0x28d)](){const _0x58876d=_0xad0f3;if(this[_0x58876d(0x1d5)][_0x58876d(0x262)])throw new Error(_0x58876d(0x23a));return this[_0x58876d(0x265)]?this[_0x58876d(0x265)][_0x58876d(0x28d)]():null;}['close'](_0x38d1a7){const _0x2ae2e3=_0xad0f3;if(this[_0x2ae2e3(0x233)]===_0x45a453){_0x38d1a7&&this[_0x2ae2e3(0x18c)](_0x2ae2e3(0x284),()=>{_0x38d1a7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2ae2e3(0x1c7)](_0x1e336e,this);return;}if(_0x38d1a7&&this[_0x2ae2e3(0x18c)](_0x2ae2e3(0x284),_0x38d1a7),this[_0x2ae2e3(0x233)]!==_0x1dd85d){if(this['_state']=_0x1dd85d,this[_0x2ae2e3(0x1d5)][_0x2ae2e3(0x262)]||this[_0x2ae2e3(0x1d5)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x2ae2e3(0x1a8)]=this['_server']=null),this[_0x2ae2e3(0x14b)]?this[_0x2ae2e3(0x14b)][_0x2ae2e3(0x15e)]?this['_shouldEmitClose']=!0x0:process[_0x2ae2e3(0x1c7)](_0x1e336e,this):process[_0x2ae2e3(0x1c7)](_0x1e336e,this);else{const _0xb1682c=this[_0x2ae2e3(0x265)];this[_0x2ae2e3(0x1a8)](),this[_0x2ae2e3(0x1a8)]=this[_0x2ae2e3(0x265)]=null,_0xb1682c[_0x2ae2e3(0x284)](()=>{_0x1e336e(this);});}}}['shouldHandle'](_0x44a644){const _0x16fc17=_0xad0f3;if(this[_0x16fc17(0x1d5)][_0x16fc17(0x1d7)]){const _0x1d009a=_0x44a644[_0x16fc17(0x273)][_0x16fc17(0x2e5)]('?');if((_0x1d009a!==-0x1?_0x44a644[_0x16fc17(0x273)][_0x16fc17(0x22d)](0x0,_0x1d009a):_0x44a644[_0x16fc17(0x273)])!==this['options'][_0x16fc17(0x1d7)])return!0x1;}return!0x0;}[_0xad0f3(0x198)](_0x516ae9,_0x57d834,_0x19afca,_0x35f85b){const _0x4cfb1e=_0xad0f3;_0x57d834['on'](_0x4cfb1e(0x196),_0xa803f8);const _0x377b86=_0x516ae9['headers'][_0x4cfb1e(0x30b)],_0x55429d=_0x516ae9['headers']['upgrade'],_0x2b4385=+_0x516ae9[_0x4cfb1e(0x1f6)][_0x4cfb1e(0x26f)];if(_0x516ae9[_0x4cfb1e(0x1ab)]!=='GET'){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x55429d===void 0x0||_0x55429d[_0x4cfb1e(0x2c4)]()!==_0x4cfb1e(0x1ed)){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x281));return;}if(_0x377b86===void 0x0||!_0x19d61d['test'](_0x377b86)){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x20c));return;}if(_0x2b4385!==0x8&&_0x2b4385!==0xd){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x204));return;}if(!this['shouldHandle'](_0x516ae9)){_0x533539(_0x57d834,0x190);return;}const _0xb0562c=_0x516ae9[_0x4cfb1e(0x1f6)][_0x4cfb1e(0x1e9)];let _0x2d841e=new Set();if(_0xb0562c!==void 0x0)try{_0x2d841e=_0xf7f1bb['parse'](_0xb0562c);}catch{_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x285));return;}const _0x18f691=_0x516ae9['headers'][_0x4cfb1e(0x168)],_0x4bd9be={};if(this['options'][_0x4cfb1e(0x1ba)]&&_0x18f691!==void 0x0){const _0x3a1596=new _0x4c4495(this[_0x4cfb1e(0x1d5)][_0x4cfb1e(0x1ba)],!0x0,this[_0x4cfb1e(0x1d5)][_0x4cfb1e(0x242)]);try{const _0x354a1=_0x32dae3['parse'](_0x18f691);_0x354a1[_0x4c4495[_0x4cfb1e(0x2cc)]]&&(_0x3a1596[_0x4cfb1e(0x2aa)](_0x354a1[_0x4c4495[_0x4cfb1e(0x2cc)]]),_0x4bd9be[_0x4c4495['extensionName']]=_0x3a1596);}catch{_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x1b2));return;}}if(this['options'][_0x4cfb1e(0x280)]){const _0x27b8c9={'origin':_0x516ae9['headers'][''+(_0x2b4385===0x8?_0x4cfb1e(0x182):_0x4cfb1e(0x188))],'secure':!!(_0x516ae9[_0x4cfb1e(0x1e3)][_0x4cfb1e(0x199)]||_0x516ae9[_0x4cfb1e(0x1e3)][_0x4cfb1e(0x2e3)]),'req':_0x516ae9};if(this['options'][_0x4cfb1e(0x280)][_0x4cfb1e(0x25d)]===0x2){this['options'][_0x4cfb1e(0x280)](_0x27b8c9,(_0x19e3dc,_0x1c45b1,_0x4392ba,_0x46393d)=>{const _0x44479e=_0x4cfb1e;if(!_0x19e3dc)return _0x533539(_0x57d834,_0x1c45b1||0x191,_0x4392ba,_0x46393d);this[_0x44479e(0x236)](_0x4bd9be,_0x377b86,_0x2d841e,_0x516ae9,_0x57d834,_0x19afca,_0x35f85b);});return;}if(!this['options'][_0x4cfb1e(0x280)](_0x27b8c9))return _0x533539(_0x57d834,0x191);}this['completeUpgrade'](_0x4bd9be,_0x377b86,_0x2d841e,_0x516ae9,_0x57d834,_0x19afca,_0x35f85b);}[_0xad0f3(0x236)](_0x3dc3cc,_0x431441,_0x540ec8,_0x133397,_0x451a13,_0x284b48,_0x3aa3e2){const _0x3d452a=_0xad0f3;if(!_0x451a13[_0x3d452a(0x253)]||!_0x451a13[_0x3d452a(0x243)])return _0x451a13[_0x3d452a(0x21a)]();if(_0x451a13[_0x1a0277])throw new Error(_0x3d452a(0x1db));if(this[_0x3d452a(0x233)]>_0x2dce09)return _0x533539(_0x451a13,0x1f7);const _0x23e0ed=[_0x3d452a(0x213),'Upgrade:\x20websocket',_0x3d452a(0x178),_0x3d452a(0x1de)+_0x3198f1(_0x3d452a(0x174))[_0x3d452a(0x14e)](_0x431441+_0x3cda85)[_0x3d452a(0x19f)](_0x3d452a(0x21c))],_0xeb365a=new this[(_0x3d452a(0x1d5))][(_0x3d452a(0x200))](null,void 0x0,this['options']);if(_0x540ec8[_0x3d452a(0x15e)]){const _0x376c95=this[_0x3d452a(0x1d5)][_0x3d452a(0x1a7)]?this[_0x3d452a(0x1d5)][_0x3d452a(0x1a7)](_0x540ec8,_0x133397):_0x540ec8[_0x3d452a(0x170)]()[_0x3d452a(0x2dc)]()[_0x3d452a(0x151)];_0x376c95&&(_0x23e0ed['push'](_0x3d452a(0x1d1)+_0x376c95),_0xeb365a['_protocol']=_0x376c95);}if(_0x3dc3cc[_0x4c4495[_0x3d452a(0x2cc)]]){const _0x177d98=_0x3dc3cc[_0x4c4495[_0x3d452a(0x2cc)]][_0x3d452a(0x255)],_0x1ce034=_0x32dae3[_0x3d452a(0x1a6)]({[_0x4c4495[_0x3d452a(0x2cc)]]:[_0x177d98]});_0x23e0ed['push'](_0x3d452a(0x2c3)+_0x1ce034),_0xeb365a[_0x3d452a(0x186)]=_0x3dc3cc;}this[_0x3d452a(0x303)](_0x3d452a(0x1f6),_0x23e0ed,_0x133397),_0x451a13[_0x3d452a(0x17a)](_0x23e0ed[_0x3d452a(0x27d)]('\x0d\x0a')[_0x3d452a(0x23b)]('\x0d\x0a')),_0x451a13[_0x3d452a(0x181)](_0x3d452a(0x196),_0xa803f8),_0xeb365a[_0x3d452a(0x17b)](_0x451a13,_0x284b48,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x3d452a(0x1d5)][_0x3d452a(0x242)],'skipUTF8Validation':this['options'][_0x3d452a(0x289)]}),this['clients']&&(this[_0x3d452a(0x14b)][_0x3d452a(0x2d1)](_0xeb365a),_0xeb365a['on'](_0x3d452a(0x284),()=>{const _0x4ddad2=_0x3d452a;this[_0x4ddad2(0x14b)][_0x4ddad2(0x2e4)](_0xeb365a),this[_0x4ddad2(0x2a6)]&&!this[_0x4ddad2(0x14b)][_0x4ddad2(0x15e)]&&process['nextTick'](_0x1e336e,this);})),_0x3aa3e2(_0xeb365a,_0x133397);}}Te=_0x38cff0;function _0x516ac2(_0x5d6c84,_0x3aba00){const _0x3c2ad9=_0xad0f3;for(const _0x350362 of Object[_0x3c2ad9(0x219)](_0x3aba00))_0x5d6c84['on'](_0x350362,_0x3aba00[_0x350362]);return function(){const _0x1bbcc0=_0x3c2ad9;for(const _0x4a8ec5 of Object['keys'](_0x3aba00))_0x5d6c84[_0x1bbcc0(0x181)](_0x4a8ec5,_0x3aba00[_0x4a8ec5]);};}function _0x1e336e(_0x501bef){const _0x31ba2d=_0xad0f3;_0x501bef[_0x31ba2d(0x233)]=_0x45a453,_0x501bef[_0x31ba2d(0x303)](_0x31ba2d(0x284));}function _0xa803f8(){this['destroy']();}function _0x533539(_0x910839,_0x33ea9b,_0x1c46e8,_0x118804){const _0xb303d3=_0xad0f3;_0x1c46e8=_0x1c46e8||_0x9684e6[_0xb303d3(0x2b1)][_0x33ea9b],_0x118804={'Connection':_0xb303d3(0x284),'Content-Type':_0xb303d3(0x143),'Content-Length':Buffer[_0xb303d3(0x2c7)](_0x1c46e8),..._0x118804},_0x910839[_0xb303d3(0x18c)](_0xb303d3(0x26c),_0x910839[_0xb303d3(0x21a)]),_0x910839['end'](_0xb303d3(0x2bd)+_0x33ea9b+'\x20'+_0x9684e6[_0xb303d3(0x2b1)][_0x33ea9b]+'\x0d\x0a'+Object[_0xb303d3(0x219)](_0x118804)[_0xb303d3(0x1ce)](_0x5d110e=>_0x5d110e+':\x20'+_0x118804[_0x5d110e])[_0xb303d3(0x23b)]('\x0d\x0a')+_0xb303d3(0x149)+_0x1c46e8);}function _0x3d3ba1(_0x5957db,_0x2dba86,_0x4dc830,_0x49f7bf,_0x355e06){const _0x313bb0=_0xad0f3;if(_0x5957db['listenerCount'](_0x313bb0(0x271))){const _0x151fbd=new Error(_0x355e06);Error['captureStackTrace'](_0x151fbd,_0x3d3ba1),_0x5957db[_0x313bb0(0x303)](_0x313bb0(0x271),_0x151fbd,_0x4dc830,_0x2dba86);}else _0x533539(_0x4dc830,_0x49f7bf,_0x355e06);}return Te;}Ft();function _0x6e7e(_0x425038,_0x5a84a4){const _0x1bb364=_0x1bb3();return _0x6e7e=function(_0x6e7e2,_0x2e3cb8){_0x6e7e2=_0x6e7e2-0x137;let _0x5cf960=_0x1bb364[_0x6e7e2];return _0x5cf960;},_0x6e7e(_0x425038,_0x5a84a4);}var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x10fd83,_0x2b6a78,_0x4aed5d,_0x4e8635)=>{for(var _0x3c45d3=_0x4e8635>0x1?void 0x0:_0x4e8635?jt(_0x2b6a78,_0x4aed5d):_0x2b6a78,_0x98f75e=_0x10fd83['length']-0x1,_0x47fbe9;_0x98f75e>=0x0;_0x98f75e--)(_0x47fbe9=_0x10fd83[_0x98f75e])&&(_0x3c45d3=_0x47fbe9(_0x3c45d3)||_0x3c45d3);return _0x3c45d3;},qt=(_0x420ae1,_0x3cc535)=>(_0x435514,_0x2aa68e)=>_0x3cc535(_0x435514,_0x2aa68e,_0x420ae1);let ke=class extends A[_0x149f8d(0x266)]{constructor(_0x7b2cb9){super(),this['_configService']=_0x7b2cb9;}[_0x149f8d(0x193)](_0xbe177){const _0x290f68=_0x149f8d;var _0x2886c3;const _0x504606=(_0x2886c3=this[_0x290f68(0x264)][_0x290f68(0x29a)](fe))==null?void 0x0:_0x2886c3[_0x290f68(0x1d8)];try{const _0x494c0c=new $t(_0xbe177,{'headers':{..._0x504606}}),_0x4cf410=new A['DisposableCollection']();return{'URL':_0xbe177,'close':(_0x6019aa,_0x5c727a)=>{const _0x452d0a=_0x290f68;_0x494c0c[_0x452d0a(0x284)](_0x6019aa,_0x5c727a),_0x4cf410['dispose']();},'send':_0x2aa9dd=>{const _0x2af9ff=_0x290f68;_0x494c0c[_0x2af9ff(0x267)](_0x2aa9dd);},'open$':new V[(_0x290f68(0x2fc))](_0x37be0f=>{const _0x290670=_0x290f68,_0x46227c=_0x2eb119=>_0x37be0f['next'](_0x2eb119);_0x494c0c['addEventListener']('open',_0x46227c),_0x4cf410[_0x290670(0x2d1)](A[_0x290670(0x2cf)](()=>_0x494c0c['removeEventListener']('open',_0x46227c)));})[_0x290f68(0x2ec)](V[_0x290f68(0x228)]()),'close$':new V[(_0x290f68(0x2fc))](_0x12c08f=>{const _0x13d2da=_0x290f68,_0x32647b=_0x36651f=>_0x12c08f[_0x13d2da(0x2dc)](_0x36651f);_0x494c0c[_0x13d2da(0x194)]('close',_0x32647b),_0x4cf410['add'](A[_0x13d2da(0x2cf)](()=>_0x494c0c['removeEventListener']('close',_0x32647b)));})['pipe'](V[_0x290f68(0x228)]()),'error$':new V[(_0x290f68(0x2fc))](_0x5c8c39=>{const _0x3dcf2c=_0x290f68,_0x22fa85=_0x40e81f=>_0x5c8c39[_0x3dcf2c(0x2dc)](_0x40e81f);_0x494c0c[_0x3dcf2c(0x194)](_0x3dcf2c(0x196),_0x22fa85),_0x4cf410['add'](A[_0x3dcf2c(0x2cf)](()=>_0x494c0c['removeEventListener']('error',_0x22fa85)));})[_0x290f68(0x2ec)](V[_0x290f68(0x228)]()),'message$':new V[(_0x290f68(0x2fc))](_0x2120ec=>{const _0x449ac8=_0x290f68,_0x48f8e0=_0x348989=>_0x2120ec[_0x449ac8(0x2dc)](_0x348989);_0x494c0c[_0x449ac8(0x194)](_0x449ac8(0x19e),_0x48f8e0),_0x4cf410['add'](A['toDisposable'](()=>_0x494c0c['removeEventListener'](_0x449ac8(0x19e),_0x48f8e0)));})[_0x290f68(0x2ec)](V['share']())};}catch(_0x570c0d){return console[_0x290f68(0x196)](_0x570c0d),null;}}};ke=Wt([qt(0x0,A[_0x149f8d(0x1fc)])],ke);var Gt=Object[_0x149f8d(0x2a7)],Vt=Object[_0x149f8d(0x276)],Ht=(_0x16464e,_0x5da665,_0x12a295)=>_0x5da665 in _0x16464e?Gt(_0x16464e,_0x5da665,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a295}):_0x16464e[_0x5da665]=_0x12a295,zt=(_0x2b2e03,_0x53bff1,_0x3dd371,_0x40f0b7)=>{const _0x5bca6e=_0x149f8d;for(var _0x1aa627=_0x40f0b7>0x1?void 0x0:_0x40f0b7?Vt(_0x53bff1,_0x3dd371):_0x53bff1,_0x45123b=_0x2b2e03[_0x5bca6e(0x25d)]-0x1,_0x13a836;_0x45123b>=0x0;_0x45123b--)(_0x13a836=_0x2b2e03[_0x45123b])&&(_0x1aa627=_0x13a836(_0x1aa627)||_0x1aa627);return _0x1aa627;},Ne=(_0x41eb6a,_0x1b2c96)=>(_0x24ef19,_0x1de06b)=>_0x1b2c96(_0x24ef19,_0x1de06b,_0x41eb6a),Yt=(_0x17deb5,_0x411607,_0x288f11)=>Ht(_0x17deb5,_0x411607+'',_0x288f11);exports[_0x149f8d(0x2d3)]=class extends A[_0x149f8d(0x274)]{constructor(_0x5c620c=Ct,_0x21b5b0,_0x35d2ad,_0x3bdf56){const _0x21cdb4=_0x149f8d;_0x5c620c['customHeaders']||_0x21b5b0[_0x21cdb4(0x25a)](_0x21cdb4(0x18a)),super(),this[_0x21cdb4(0x264)]=_0x35d2ad,this[_0x21cdb4(0x2b8)]=_0x3bdf56,this[_0x21cdb4(0x264)][_0x21cdb4(0x1f5)](fe,_0x5c620c);}[_0x149f8d(0x148)](){const _0x3635e0=_0x149f8d;this[_0x3635e0(0x21b)]();}[_0x149f8d(0x21b)](){const _0x404996=_0x149f8d;A[_0x404996(0x257)](this['_injector'],[[it[_0x404996(0x226)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x149f8d(0x2a5),_0x149f8d(0x209)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x149f8d(0x19b)](st[_0x149f8d(0x291)]),Ne(0x1,A[_0x149f8d(0x183)]),Ne(0x2,A[_0x149f8d(0x1fc)]),Ne(0x3,A['Inject'](A[_0x149f8d(0x2a2)]))],exports[_0x149f8d(0x2d3)]);var Kt=Object[_0x149f8d(0x276)],Xt=(_0x3e4d56,_0x5c2d4b,_0x6e9648,_0x5a8fc4)=>{const _0xf69554=_0x149f8d;for(var _0x4445c2=_0x5a8fc4>0x1?void 0x0:_0x5a8fc4?Kt(_0x5c2d4b,_0x6e9648):_0x5c2d4b,_0x50add0=_0x3e4d56[_0xf69554(0x25d)]-0x1,_0xbd2c35;_0x50add0>=0x0;_0x50add0--)(_0xbd2c35=_0x3e4d56[_0x50add0])&&(_0x4445c2=_0xbd2c35(_0x4445c2)||_0x4445c2);return _0x4445c2;},ne=(_0x3f76ff,_0x6b9574)=>(_0x142689,_0x149cb3)=>_0x6b9574(_0x142689,_0x149cb3,_0x3f76ff);exports[_0x149f8d(0x164)]=class extends st['CollaborationSocketService']{constructor(_0x162526,_0x13bb98,_0x3acd21,_0x44ebdd,_0x44536a){const _0x35efee=_0x149f8d;super(_0x162526,_0x13bb98,_0x3acd21,_0x44ebdd,_0x44536a);const _0x4989fa=this[_0x35efee(0x264)]['getConfig'](fe);this[_0x35efee(0x2b9)][_0x35efee(0x2c5)]({'interceptor':(_0x1ab26d,_0xaee07)=>{const _0x33a425=_0x35efee;var _0x4f1622;const _0x56532f=_0x1ab26d[_0x33a425(0x1f6)];return(_0x4f1622=_0x4989fa==null?void 0x0:_0x4989fa['customHeaders'])!=null&&_0x4f1622[_0x33a425(0x1bf)]&&_0x56532f[_0x33a425(0x2c9)](_0x33a425(0x1a9),_0x4989fa[_0x33a425(0x1d8)][_0x33a425(0x1bf)]),_0xaee07(_0x1ab26d);}});}async[_0x149f8d(0x193)](_0x11f34f){const _0x5d8f3c=_0x149f8d;return this[_0x5d8f3c(0x13e)](_0x11f34f);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x149f8d(0x2f6)](A[_0x149f8d(0x2a2)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x149f8d(0x183)]),ne(0x4,Ot[_0x149f8d(0x20f)])],exports[_0x149f8d(0x164)]),exports[_0x149f8d(0x1eb)]=fe;
1
+ 'use strict';const _0x519561=_0x49e0;(function(_0x523862,_0x3bd3fa){const _0x347b8f=_0x49e0,_0x4f8dd1=_0x523862();while(!![]){try{const _0x4e73f4=-parseInt(_0x347b8f(0x2ab))/0x1+parseInt(_0x347b8f(0x24c))/0x2+-parseInt(_0x347b8f(0x2af))/0x3+-parseInt(_0x347b8f(0x39a))/0x4*(-parseInt(_0x347b8f(0x25c))/0x5)+-parseInt(_0x347b8f(0x1fd))/0x6*(parseInt(_0x347b8f(0x33d))/0x7)+parseInt(_0x347b8f(0x33c))/0x8*(-parseInt(_0x347b8f(0x200))/0x9)+parseInt(_0x347b8f(0x1f6))/0xa;if(_0x4e73f4===_0x3bd3fa)break;else _0x4f8dd1['push'](_0x4f8dd1['shift']());}catch(_0x4c135a){_0x4f8dd1['push'](_0x4f8dd1['shift']());}}}(_0x5b7b,0x90647));Object[_0x519561(0x2a3)](exports,Symbol['toStringTag'],{'value':_0x519561(0x36a)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x519561(0x25e)),it=require(_0x519561(0x394)),V=require(_0x519561(0x286)),nt=require(_0x519561(0x333)),vt=require(_0x519561(0x31f)),ot=require(_0x519561(0x25b)),St=require(_0x519561(0x2d2)),Et=require(_0x519561(0x27e)),Le=require(_0x519561(0x352)),oe=require(_0x519561(0x2ca)),xt=require('url'),bt=require(_0x519561(0x39b)),wt=require('buffer'),Ot=require(_0x519561(0x34d)),fe=_0x519561(0x35c),Ct={'customHeaders':{}};function Tt(_0x598fdc){const _0x584fc5=_0x519561;return _0x598fdc&&_0x598fdc[_0x584fc5(0x289)]&&Object[_0x584fc5(0x34b)]['hasOwnProperty']['call'](_0x598fdc,_0x584fc5(0x2fc))?_0x598fdc['default']:_0x598fdc;}function at(_0x1f9179){const _0xaf3032=_0x519561;if(Object[_0xaf3032(0x34b)][_0xaf3032(0x3b3)][_0xaf3032(0x2a6)](_0x1f9179,'__esModule'))return _0x1f9179;var _0x5edcae=_0x1f9179['default'];if(typeof _0x5edcae==_0xaf3032(0x236)){var _0x3cc0ba=function _0x3723f2(){const _0x5b961a=_0xaf3032;return this instanceof _0x3723f2?Reflect[_0x5b961a(0x388)](_0x5edcae,arguments,this[_0x5b961a(0x2d4)]):_0x5edcae['apply'](this,arguments);};_0x3cc0ba[_0xaf3032(0x34b)]=_0x5edcae['prototype'];}else _0x3cc0ba={};return Object[_0xaf3032(0x2a3)](_0x3cc0ba,_0xaf3032(0x289),{'value':!0x0}),Object['keys'](_0x1f9179)[_0xaf3032(0x2e0)](function(_0x3212e1){const _0x304c19=_0xaf3032;var _0x3cdcdf=Object['getOwnPropertyDescriptor'](_0x1f9179,_0x3212e1);Object[_0x304c19(0x2a3)](_0x3cc0ba,_0x3212e1,_0x3cdcdf['get']?_0x3cdcdf:{'enumerable':!0x0,'get':function(){return _0x1f9179[_0x3212e1];}});}),_0x3cc0ba;}var se={'exports':{}},ge,Ge;function H(){const _0x3bbb7f=_0x519561;if(Ge)return ge;Ge=0x1;const _0x44d7c5=[_0x3bbb7f(0x2b2),_0x3bbb7f(0x33f),_0x3bbb7f(0x202)],_0x48ed11=typeof Blob<'u';return _0x48ed11&&_0x44d7c5[_0x3bbb7f(0x271)](_0x3bbb7f(0x277)),ge={'BINARY_TYPES':_0x44d7c5,'EMPTY_BUFFER':Buffer[_0x3bbb7f(0x304)](0x0),'GUID':_0x3bbb7f(0x210),'hasBlob':_0x48ed11,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3bbb7f(0x26e)),'kStatusCode':Symbol(_0x3bbb7f(0x245)),'kWebSocket':Symbol(_0x3bbb7f(0x217)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x519561(0x2ff)](Object[_0x519561(0x2a3)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x519561(0x36a)})),Lt=at(kt);var Ve;function ce(){const _0x452698=_0x519561;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xcbc8aa}=H(),_0x24a1bb=Buffer[Symbol[_0x452698(0x35f)]];function _0x2e7f2b(_0x21cee6,_0x560d94){const _0x554322=_0x452698;if(_0x21cee6['length']===0x0)return _0xcbc8aa;if(_0x21cee6[_0x554322(0x326)]===0x1)return _0x21cee6[0x0];const _0x117b8a=Buffer[_0x554322(0x31a)](_0x560d94);let _0x5d1081=0x0;for(let _0x75539=0x0;_0x75539<_0x21cee6[_0x554322(0x326)];_0x75539++){const _0x2da002=_0x21cee6[_0x75539];_0x117b8a[_0x554322(0x3aa)](_0x2da002,_0x5d1081),_0x5d1081+=_0x2da002[_0x554322(0x326)];}return _0x5d1081<_0x560d94?new _0x24a1bb(_0x117b8a[_0x554322(0x25d)],_0x117b8a[_0x554322(0x2bc)],_0x5d1081):_0x117b8a;}function _0x247191(_0x2b550b,_0x10cd03,_0x592604,_0x2237f8,_0x4ce55e){for(let _0x27f99c=0x0;_0x27f99c<_0x4ce55e;_0x27f99c++)_0x592604[_0x2237f8+_0x27f99c]=_0x2b550b[_0x27f99c]^_0x10cd03[_0x27f99c&0x3];}function _0x68699e(_0x20e262,_0x589d03){for(let _0x5626b7=0x0;_0x5626b7<_0x20e262['length'];_0x5626b7++)_0x20e262[_0x5626b7]^=_0x589d03[_0x5626b7&0x3];}function _0x10191e(_0x3530d7){const _0x437ff8=_0x452698;return _0x3530d7[_0x437ff8(0x326)]===_0x3530d7[_0x437ff8(0x25d)][_0x437ff8(0x28c)]?_0x3530d7[_0x437ff8(0x25d)]:_0x3530d7[_0x437ff8(0x25d)][_0x437ff8(0x1f5)](_0x3530d7['byteOffset'],_0x3530d7[_0x437ff8(0x2bc)]+_0x3530d7['length']);}function _0x156984(_0x2be555){const _0x47599e=_0x452698;if(_0x156984[_0x47599e(0x2c0)]=!0x0,Buffer[_0x47599e(0x381)](_0x2be555))return _0x2be555;let _0x42f106;return _0x2be555 instanceof ArrayBuffer?_0x42f106=new _0x24a1bb(_0x2be555):ArrayBuffer['isView'](_0x2be555)?_0x42f106=new _0x24a1bb(_0x2be555[_0x47599e(0x25d)],_0x2be555[_0x47599e(0x2bc)],_0x2be555[_0x47599e(0x28c)]):(_0x42f106=Buffer[_0x47599e(0x221)](_0x2be555),_0x156984['readOnly']=!0x1),_0x42f106;}if(se[_0x452698(0x2b5)]={'concat':_0x2e7f2b,'mask':_0x247191,'toArrayBuffer':_0x10191e,'toBuffer':_0x156984,'unmask':_0x68699e},!process[_0x452698(0x29e)]['WS_NO_BUFFER_UTIL'])try{const _0x5e2b94=Lt;se[_0x452698(0x2b5)][_0x452698(0x390)]=function(_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b){const _0x56ec10=_0x452698;_0x235e9b<0x30?_0x247191(_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b):_0x5e2b94[_0x56ec10(0x390)](_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b);},se[_0x452698(0x2b5)][_0x452698(0x338)]=function(_0x7a2e4c,_0x16cd33){const _0x288a26=_0x452698;_0x7a2e4c[_0x288a26(0x326)]<0x20?_0x68699e(_0x7a2e4c,_0x16cd33):_0x5e2b94[_0x288a26(0x338)](_0x7a2e4c,_0x16cd33);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x1e3564=_0x519561;if(He)return ye;He=0x1;const _0x25ce33=Symbol(_0x1e3564(0x276)),_0x5b48e9=Symbol(_0x1e3564(0x28e));class _0x1ab201{constructor(_0x326112){const _0x471f47=_0x1e3564;this[_0x25ce33]=()=>{this['pending']--,this[_0x5b48e9]();},this['concurrency']=_0x326112||0x1/0x0,this[_0x471f47(0x258)]=[],this[_0x471f47(0x24d)]=0x0;}[_0x1e3564(0x363)](_0x498dd7){const _0x4b926b=_0x1e3564;this[_0x4b926b(0x258)]['push'](_0x498dd7),this[_0x5b48e9]();}[_0x5b48e9](){const _0x586b01=_0x1e3564;if(this[_0x586b01(0x24d)]!==this[_0x586b01(0x314)]&&this[_0x586b01(0x258)][_0x586b01(0x326)]){const _0x1913e0=this[_0x586b01(0x258)][_0x586b01(0x230)]();this['pending']++,_0x1913e0(this[_0x25ce33]);}}}return ye=_0x1ab201,ye;}function _0x49e0(_0x3a2438,_0x5eb62f){const _0x5b7b0c=_0x5b7b();return _0x49e0=function(_0x49e022,_0x194faa){_0x49e022=_0x49e022-0x1e9;let _0x35292f=_0x5b7b0c[_0x49e022];return _0x35292f;},_0x49e0(_0x3a2438,_0x5eb62f);}var ve,ze;function he(){const _0x413dbd=_0x519561;if(ze)return ve;ze=0x1;const _0x2f05a1=bt,_0x3118a5=ce(),_0x9713c8=Pt(),{kStatusCode:_0x4a6f37}=H(),_0x486ed4=Buffer[Symbol[_0x413dbd(0x35f)]],_0x3072c2=Buffer[_0x413dbd(0x221)]([0x0,0x0,0xff,0xff]),_0x8732b3=Symbol('permessage-deflate'),_0x291bfd=Symbol(_0x413dbd(0x27b)),_0x20b249=Symbol(_0x413dbd(0x231)),_0x2dbd9d=Symbol(_0x413dbd(0x38b)),_0x91b172=Symbol(_0x413dbd(0x2a4));let _0x146e3d;class _0x51c6e8{constructor(_0x450ba8,_0xc2fa9b,_0xda618e){const _0xd3fabb=_0x413dbd;if(this[_0xd3fabb(0x22a)]=_0xda618e|0x0,this['_options']=_0x450ba8||{},this['_threshold']=this[_0xd3fabb(0x2e3)]['threshold']!==void 0x0?this[_0xd3fabb(0x2e3)][_0xd3fabb(0x2ac)]:0x400,this['_isServer']=!!_0xc2fa9b,this[_0xd3fabb(0x2fa)]=null,this[_0xd3fabb(0x25a)]=null,this[_0xd3fabb(0x233)]=null,!_0x146e3d){const _0x16cee0=this[_0xd3fabb(0x2e3)][_0xd3fabb(0x24a)]!==void 0x0?this[_0xd3fabb(0x2e3)][_0xd3fabb(0x24a)]:0xa;_0x146e3d=new _0x9713c8(_0x16cee0);}}static get[_0x413dbd(0x35e)](){return'permessage-deflate';}[_0x413dbd(0x2ae)](){const _0x470c74=_0x413dbd,_0x4723c8={};return this[_0x470c74(0x2e3)][_0x470c74(0x22c)]&&(_0x4723c8['server_no_context_takeover']=!0x0),this[_0x470c74(0x2e3)][_0x470c74(0x2f9)]&&(_0x4723c8[_0x470c74(0x27f)]=!0x0),this[_0x470c74(0x2e3)]['serverMaxWindowBits']&&(_0x4723c8[_0x470c74(0x34a)]=this[_0x470c74(0x2e3)][_0x470c74(0x330)]),this['_options'][_0x470c74(0x20b)]?_0x4723c8[_0x470c74(0x320)]=this[_0x470c74(0x2e3)]['clientMaxWindowBits']:this[_0x470c74(0x2e3)]['clientMaxWindowBits']==null&&(_0x4723c8[_0x470c74(0x320)]=!0x0),_0x4723c8;}[_0x413dbd(0x341)](_0x5dfd81){const _0xe3aace=_0x413dbd;return _0x5dfd81=this[_0xe3aace(0x2d5)](_0x5dfd81),this[_0xe3aace(0x233)]=this[_0xe3aace(0x37f)]?this[_0xe3aace(0x223)](_0x5dfd81):this[_0xe3aace(0x255)](_0x5dfd81),this[_0xe3aace(0x233)];}[_0x413dbd(0x296)](){const _0x31e35a=_0x413dbd;if(this[_0x31e35a(0x25a)]&&(this[_0x31e35a(0x25a)][_0x31e35a(0x327)](),this[_0x31e35a(0x25a)]=null),this[_0x31e35a(0x2fa)]){const _0x3180fe=this['_deflate'][_0x20b249];this[_0x31e35a(0x2fa)][_0x31e35a(0x327)](),this['_deflate']=null,_0x3180fe&&_0x3180fe(new Error(_0x31e35a(0x391)));}}[_0x413dbd(0x223)](_0x2ad4cc){const _0x442553=_0x413dbd,_0x478c10=this['_options'],_0x6de3ea=_0x2ad4cc[_0x442553(0x22d)](_0x12f522=>!(_0x478c10['serverNoContextTakeover']===!0x1&&_0x12f522[_0x442553(0x38a)]||_0x12f522[_0x442553(0x34a)]&&(_0x478c10[_0x442553(0x330)]===!0x1||typeof _0x478c10[_0x442553(0x330)]==_0x442553(0x2d9)&&_0x478c10[_0x442553(0x330)]>_0x12f522[_0x442553(0x34a)])||typeof _0x478c10[_0x442553(0x20b)]==_0x442553(0x2d9)&&!_0x12f522[_0x442553(0x320)]));if(!_0x6de3ea)throw new Error(_0x442553(0x30f));return _0x478c10['serverNoContextTakeover']&&(_0x6de3ea['server_no_context_takeover']=!0x0),_0x478c10[_0x442553(0x2f9)]&&(_0x6de3ea[_0x442553(0x27f)]=!0x0),typeof _0x478c10[_0x442553(0x330)]==_0x442553(0x2d9)&&(_0x6de3ea[_0x442553(0x34a)]=_0x478c10[_0x442553(0x330)]),typeof _0x478c10[_0x442553(0x20b)]==_0x442553(0x2d9)?_0x6de3ea[_0x442553(0x320)]=_0x478c10[_0x442553(0x20b)]:(_0x6de3ea[_0x442553(0x320)]===!0x0||_0x478c10[_0x442553(0x20b)]===!0x1)&&delete _0x6de3ea['client_max_window_bits'],_0x6de3ea;}['acceptAsClient'](_0x1cda10){const _0x2e7deb=_0x413dbd,_0x444c26=_0x1cda10[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x444c26[_0x2e7deb(0x27f)])throw new Error(_0x2e7deb(0x360));if(!_0x444c26[_0x2e7deb(0x320)])typeof this['_options'][_0x2e7deb(0x20b)]==_0x2e7deb(0x2d9)&&(_0x444c26['client_max_window_bits']=this[_0x2e7deb(0x2e3)]['clientMaxWindowBits']);else{if(this[_0x2e7deb(0x2e3)][_0x2e7deb(0x20b)]===!0x1||typeof this[_0x2e7deb(0x2e3)]['clientMaxWindowBits']==_0x2e7deb(0x2d9)&&_0x444c26[_0x2e7deb(0x320)]>this[_0x2e7deb(0x2e3)][_0x2e7deb(0x20b)])throw new Error(_0x2e7deb(0x284));}return _0x444c26;}[_0x413dbd(0x2d5)](_0x7cbd04){const _0x4a2161=_0x413dbd;return _0x7cbd04[_0x4a2161(0x2e0)](_0x3697cf=>{const _0x56ca08=_0x4a2161;Object[_0x56ca08(0x2b8)](_0x3697cf)[_0x56ca08(0x2e0)](_0x4a6fd8=>{const _0x51fb65=_0x56ca08;let _0x51821d=_0x3697cf[_0x4a6fd8];if(_0x51821d[_0x51fb65(0x326)]>0x1)throw new Error(_0x51fb65(0x269)+_0x4a6fd8+_0x51fb65(0x3b2));if(_0x51821d=_0x51821d[0x0],_0x4a6fd8==='client_max_window_bits'){if(_0x51821d!==!0x0){const _0x339a42=+_0x51821d;if(!Number['isInteger'](_0x339a42)||_0x339a42<0x8||_0x339a42>0xf)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+_0x51fb65(0x234)+_0x51821d);_0x51821d=_0x339a42;}else{if(!this['_isServer'])throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+'\x22:\x20'+_0x51821d);}}else{if(_0x4a6fd8===_0x51fb65(0x34a)){const _0x546b7b=+_0x51821d;if(!Number[_0x51fb65(0x2aa)](_0x546b7b)||_0x546b7b<0x8||_0x546b7b>0xf)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+_0x51fb65(0x234)+_0x51821d);_0x51821d=_0x546b7b;}else{if(_0x4a6fd8===_0x51fb65(0x27f)||_0x4a6fd8===_0x51fb65(0x38a)){if(_0x51821d!==!0x0)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+'\x22:\x20'+_0x51821d);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4a6fd8+'\x22');}}_0x3697cf[_0x4a6fd8]=_0x51821d;});}),_0x7cbd04;}['decompress'](_0x2782be,_0x3bc005,_0x4641b1){_0x146e3d['add'](_0x50f975=>{const _0x25e7bf=_0x49e0;this[_0x25e7bf(0x23d)](_0x2782be,_0x3bc005,(_0x213ab3,_0x2ccef1)=>{_0x50f975(),_0x4641b1(_0x213ab3,_0x2ccef1);});});}[_0x413dbd(0x322)](_0x3a73b1,_0x1d50e7,_0x176da6){const _0x3b506a=_0x413dbd;_0x146e3d[_0x3b506a(0x363)](_0x9f1be8=>{const _0x527cff=_0x3b506a;this[_0x527cff(0x38d)](_0x3a73b1,_0x1d50e7,(_0x5a446f,_0x162773)=>{_0x9f1be8(),_0x176da6(_0x5a446f,_0x162773);});});}[_0x413dbd(0x23d)](_0x94fa48,_0x31a5b4,_0x5050fa){const _0x44e65c=_0x413dbd,_0x30838b=this['_isServer']?_0x44e65c(0x3a8):_0x44e65c(0x29b);if(!this[_0x44e65c(0x25a)]){const _0x21fbe2=_0x30838b+'_max_window_bits',_0x3d91f0=typeof this[_0x44e65c(0x233)][_0x21fbe2]!=_0x44e65c(0x2d9)?_0x2f05a1[_0x44e65c(0x331)]:this[_0x44e65c(0x233)][_0x21fbe2];this[_0x44e65c(0x25a)]=_0x2f05a1['createInflateRaw']({...this[_0x44e65c(0x2e3)]['zlibInflateOptions'],'windowBits':_0x3d91f0}),this['_inflate'][_0x8732b3]=this,this[_0x44e65c(0x25a)][_0x291bfd]=0x0,this[_0x44e65c(0x25a)][_0x2dbd9d]=[],this['_inflate']['on'](_0x44e65c(0x2a4),_0x30a2bc),this[_0x44e65c(0x25a)]['on']('data',_0x47ce1e);}this[_0x44e65c(0x25a)][_0x20b249]=_0x5050fa,this[_0x44e65c(0x25a)]['write'](_0x94fa48),_0x31a5b4&&this[_0x44e65c(0x25a)][_0x44e65c(0x229)](_0x3072c2),this[_0x44e65c(0x25a)][_0x44e65c(0x2a8)](()=>{const _0x6e0763=_0x44e65c,_0x34fe57=this[_0x6e0763(0x25a)][_0x91b172];if(_0x34fe57){this['_inflate']['close'](),this['_inflate']=null,_0x5050fa(_0x34fe57);return;}const _0x3b3f6d=_0x3118a5[_0x6e0763(0x302)](this[_0x6e0763(0x25a)][_0x2dbd9d],this['_inflate'][_0x291bfd]);this[_0x6e0763(0x25a)][_0x6e0763(0x2e1)]['endEmitted']?(this[_0x6e0763(0x25a)][_0x6e0763(0x327)](),this['_inflate']=null):(this[_0x6e0763(0x25a)][_0x291bfd]=0x0,this['_inflate'][_0x2dbd9d]=[],_0x31a5b4&&this[_0x6e0763(0x233)][_0x30838b+_0x6e0763(0x39c)]&&this['_inflate']['reset']()),_0x5050fa(null,_0x3b3f6d);});}['_compress'](_0x26cc40,_0x3cd3ce,_0x1d4ab2){const _0x210280=_0x413dbd,_0x2806b3=this[_0x210280(0x37f)]?'server':_0x210280(0x3a8);if(!this[_0x210280(0x2fa)]){const _0xe886bb=_0x2806b3+_0x210280(0x27a),_0x5ab1b2=typeof this['params'][_0xe886bb]!=_0x210280(0x2d9)?_0x2f05a1[_0x210280(0x331)]:this['params'][_0xe886bb];this['_deflate']=_0x2f05a1[_0x210280(0x2f2)]({...this[_0x210280(0x2e3)][_0x210280(0x364)],'windowBits':_0x5ab1b2}),this['_deflate'][_0x291bfd]=0x0,this[_0x210280(0x2fa)][_0x2dbd9d]=[],this[_0x210280(0x2fa)]['on'](_0x210280(0x1ec),_0x5bfee7);}this[_0x210280(0x2fa)][_0x20b249]=_0x1d4ab2,this[_0x210280(0x2fa)]['write'](_0x26cc40),this[_0x210280(0x2fa)][_0x210280(0x2a8)](_0x2f05a1[_0x210280(0x249)],()=>{const _0x4db54c=_0x210280;if(!this[_0x4db54c(0x2fa)])return;let _0x1ef6bc=_0x3118a5['concat'](this['_deflate'][_0x2dbd9d],this[_0x4db54c(0x2fa)][_0x291bfd]);_0x3cd3ce&&(_0x1ef6bc=new _0x486ed4(_0x1ef6bc['buffer'],_0x1ef6bc[_0x4db54c(0x2bc)],_0x1ef6bc[_0x4db54c(0x326)]-0x4)),this[_0x4db54c(0x2fa)][_0x20b249]=null,this[_0x4db54c(0x2fa)][_0x291bfd]=0x0,this[_0x4db54c(0x2fa)][_0x2dbd9d]=[],_0x3cd3ce&&this['params'][_0x2806b3+_0x4db54c(0x39c)]&&this[_0x4db54c(0x2fa)][_0x4db54c(0x2ef)](),_0x1d4ab2(null,_0x1ef6bc);});}}ve=_0x51c6e8;function _0x5bfee7(_0x2a819e){const _0x353843=_0x413dbd;this[_0x2dbd9d][_0x353843(0x271)](_0x2a819e),this[_0x291bfd]+=_0x2a819e[_0x353843(0x326)];}function _0x47ce1e(_0x513f51){const _0x252b16=_0x413dbd;if(this[_0x291bfd]+=_0x513f51[_0x252b16(0x326)],this[_0x8732b3]['_maxPayload']<0x1||this[_0x291bfd]<=this[_0x8732b3][_0x252b16(0x22a)]){this[_0x2dbd9d][_0x252b16(0x271)](_0x513f51);return;}this[_0x91b172]=new RangeError(_0x252b16(0x359)),this[_0x91b172]['code']=_0x252b16(0x29a),this[_0x91b172][_0x4a6f37]=0x3f1,this[_0x252b16(0x321)]('data',_0x47ce1e),this[_0x252b16(0x2ef)]();}function _0x30a2bc(_0x1139e5){if(this[_0x8732b3]['_inflate']=null,this[_0x91b172]){this[_0x20b249](this[_0x91b172]);return;}_0x1139e5[_0x4a6f37]=0x3ef,this[_0x20b249](_0x1139e5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x519561(0x2ff)](Object[_0x519561(0x2a3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x519561(0x36a)})),Bt=at(Rt);var Ye;function ae(){const _0x585205=_0x519561;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1d6644}=wt,{hasBlob:_0x490726}=H(),_0x16d6e2=[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 _0x552c28(_0x27fdd9){return _0x27fdd9>=0x3e8&&_0x27fdd9<=0x3f6&&_0x27fdd9!==0x3ec&&_0x27fdd9!==0x3ed&&_0x27fdd9!==0x3ee||_0x27fdd9>=0xbb8&&_0x27fdd9<=0x1387;}function _0x38a9f3(_0x5bf441){const _0x356fa6=_0x49e0,_0x3d1ce6=_0x5bf441[_0x356fa6(0x326)];let _0xd88b77=0x0;for(;_0xd88b77<_0x3d1ce6;)if((_0x5bf441[_0xd88b77]&0x80)===0x0)_0xd88b77++;else{if((_0x5bf441[_0xd88b77]&0xe0)===0xc0){if(_0xd88b77+0x1===_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77]&0xfe)===0xc0)return!0x1;_0xd88b77+=0x2;}else{if((_0x5bf441[_0xd88b77]&0xf0)===0xe0){if(_0xd88b77+0x2>=_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x2]&0xc0)!==0x80||_0x5bf441[_0xd88b77]===0xe0&&(_0x5bf441[_0xd88b77+0x1]&0xe0)===0x80||_0x5bf441[_0xd88b77]===0xed&&(_0x5bf441[_0xd88b77+0x1]&0xe0)===0xa0)return!0x1;_0xd88b77+=0x3;}else{if((_0x5bf441[_0xd88b77]&0xf8)===0xf0){if(_0xd88b77+0x3>=_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x2]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x3]&0xc0)!==0x80||_0x5bf441[_0xd88b77]===0xf0&&(_0x5bf441[_0xd88b77+0x1]&0xf0)===0x80||_0x5bf441[_0xd88b77]===0xf4&&_0x5bf441[_0xd88b77+0x1]>0x8f||_0x5bf441[_0xd88b77]>0xf4)return!0x1;_0xd88b77+=0x4;}else return!0x1;}}}return!0x0;}function _0x354103(_0x2fc44f){const _0x5e01f5=_0x49e0;return _0x490726&&typeof _0x2fc44f=='object'&&typeof _0x2fc44f['arrayBuffer']==_0x5e01f5(0x236)&&typeof _0x2fc44f['type']=='string'&&typeof _0x2fc44f[_0x5e01f5(0x2ca)]=='function'&&(_0x2fc44f[Symbol['toStringTag']]===_0x5e01f5(0x2c7)||_0x2fc44f[Symbol['toStringTag']]===_0x5e01f5(0x38f));}if(ie[_0x585205(0x2b5)]={'isBlob':_0x354103,'isValidStatusCode':_0x552c28,'isValidUTF8':_0x38a9f3,'tokenChars':_0x16d6e2},_0x1d6644)ie[_0x585205(0x2b5)]['isValidUTF8']=function(_0xc94e57){const _0x381558=_0x585205;return _0xc94e57[_0x381558(0x326)]<0x18?_0x38a9f3(_0xc94e57):_0x1d6644(_0xc94e57);};else{if(!process[_0x585205(0x29e)][_0x585205(0x3a4)])try{const _0x404454=Bt;ie['exports'][_0x585205(0x29d)]=function(_0x32cdfc){const _0x4909f8=_0x585205;return _0x32cdfc[_0x4909f8(0x326)]<0x20?_0x38a9f3(_0x32cdfc):_0x404454(_0x32cdfc);};}catch{}}return ie['exports'];}function _0x5b7b(){const _0x3a13ac=['CLOSING','WS_NO_UTF_8_VALIDATE','timeout','sendFrame','_totalPayloadLength','client','sha1','set','pathname','maxPayload','_mask','_buffers','_closeFrameSent','invalid\x20opcode\x200','_url','\x22\x20must\x20have\x20only\x20a\x20single\x20value','hasOwnProperty','create','getData','sec-websocket-origin','data','skipUTF8Validation','registerHTTPInterceptor','emit','DependentOn','_loop','_errorEmitted','WS_ERR_UNEXPECTED_RSV_1','CLOSED','slice','28893030DqFJcW','base64','onopen','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','hostname','map','767790eqvAfF','message','binary','18adQONU','sec-websocket-extensions','fragments','pipe','removeEventListener','_autoPong','options','setNoDelay','invalid\x20opcode\x20','_doCreateSocket','defaultPort','clientMaxWindowBits','handleEvent','clients','_closeCode','Invalid\x20Sec-WebSocket-Extensions\x20header','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_originalHostOrSocketPath','open','_binaryType','_write','target','url','websocket','Unexpected\x20character\x20at\x20index\x20','setTimeout','HTTP/1.1\x20','extensions','_socket','invalid\x20status\x20code\x20','Invalid\x20Sec-WebSocket-Accept\x20header','readUInt32BE','UniverCollaborationClientNodePlugin','from','_registerDependencies','acceptAsServer','kCode','cookie','_payloadLength','enqueue','errorEmitted','write','_maxPayload','WebSocket','serverNoContextTakeover','find','sec-websocket-protocol','_readyState','shift','callback','_maskBuffer','params','\x22:\x20','frame','function','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_fin','IConfigService','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','statusCode','parse','_decompress','GET','UniverCollaborationClientPlugin','Server\x20sent\x20no\x20subprotocol','Inject','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unexpected-response','The\x20\x22','status-code','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Accept:\x20','kByteLength','Z_SYNC_FLUSH','concurrencyLimit','customHeaders','867782UzWRIm','pending','Observable','startLoop','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','onclose','replace','type','charCodeAt','acceptAsClient','Invalid\x20value\x20for\x20parameter\x20\x22','Origin','jobs','maskBuffer','_inflate','http','1001685wjLZbt','buffer','@univerjs/core','ping','_httpService','haveLength','OPEN','Invalid\x20Sec-WebSocket-Protocol\x20header','_compressed','objectMode','apply','text/html','Basic\x20','Parameter\x20\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Cookie','upgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','kListener','_closeMessage','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','push','needDrain','_bufferedBytes','_messageLength','toString','kDone','blob','isPaused','_bufferedAmount','_max_window_bits','total-length','conclude','protocol','tls','client_no_context_takeover','Maximum\x20redirects\x20exceeded','_protocol','autoPong','wasClean','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','fin','rxjs','The\x20server\x20is\x20not\x20running','binaryType','__esModule','FIN\x20must\x20be\x20set','Upgrade:\x20websocket','byteLength','join','kRun','wss:','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','pong','controlMessage','request','_redirects','setConfig','cleanup','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kMessage','writeUIntBE','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server','getBlobData','isValidUTF8','env','_final','catch','HTTP/1.1\x20101\x20Switching\x20Protocols','_writableState','defineProperty','error','noServer','call','perMessageDeflate','flush','STATUS_CODES','isInteger','1069912zKniWU','threshold','password','offer','1505445LeZcxu','onerror','_masked','nodebuffer','endEmitted','_queue','exports','Connection:\x20Upgrade','MASK\x20must\x20be\x20clear','keys','bind','Unexpected\x20end\x20of\x20input','http:','byteOffset','listening','uncork','username','readOnly','captureStackTrace','location','destroyed','handshakeTimeout','object','values','Blob','unshift','readyState','stream','kReason','share','pause','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','createSocket','code','net','generateMask','constructor','normalizeParams','size','handleUpgrade','rsv1','number','encrypted','\x0d\x0a\x0d\x0a','once','CONNECTING','Invalid\x20WebSocket\x20frame:\x20','_destroy','forEach','_readableState','delete','_options','Injector','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emitClose','readable','_state','bufferedAmount','_closeFrameReceived','_injector','completeUpgrade','decompress','value','reset','hash','dequeue','createDeflateRaw','includes','DisposableCollection','_receiver','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','clientTracking','destroy','clientNoContextTakeover','_deflate','_paused','default','sec-websocket-accept','resume','freeze','_sender','ISnapshotServerService','concat','indexOf','alloc','method','getInfo','toLowerCase','writable','send','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_originalSecure','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','update','shouldHandle','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','nextTick','socket','kWasClean','terminate','concurrency','_extensions','getConfig','kData','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_FIN','allocUnsafe','end','WS_ERR_UNEXPECTED_RSV_2_3','startsWith','next','https','client_max_window_bits','removeListener','compress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','path','kError','length','close','finish','RSV1\x20must\x20be\x20clear','ILogService','address','dispatch','consume','followRedirects','allowSynchronousEvents','serverMaxWindowBits','Z_DEFAULT_WINDOWBITS','CollaborationSocketService','events','listenerCount','dispose','finished','createError','unmask','invalid\x20UTF-8\x20sequence','text/plain','Sec-WebSocket-Extensions','4484888objMLW','35yPeqQo','Sec-WebSocket-Extensions:\x20','arraybuffer','_configService','accept','_originalIpc','ws:','wsClientError','drain','toDisposable','entries','headers','_errored','server_max_window_bits','prototype','Disposable','@univerjs-pro/collaboration','arrayBuffer','getOwnPropertyDescriptor','_shouldEmitClose','HTTPService','crypto','servername','origin','NodeCollaborationSocketService','redirect','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','href','Max\x20payload\x20size\x20exceeded','kTarget','createServer','collaboration-client-node.config','backlog','extensionName','species','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','authorized','add','zlibDeflateOptions','_fragments','getMask','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_EXPECTED_MASK','_opcode','Module','Sec-WebSocket-Protocol','_skipUTF8Validation','writeUInt16BE','has','_closeTimer','setSocket','test','connection','opcode','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_allowSynchronousEvents','pow','getPayloadLength64','setHeader','_req','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listeners','_firstFragment','authorization','connect','_isServer','auth','isBuffer','addEventListener','isArray','_fragmented','_server','WS_ERR_INVALID_UTF8','createConnection','construct','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server_no_context_takeover','buffers','verifyClient','_compress','abort','File','mask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Sec-WebSocket-Origin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','@univerjs/network','_removeListeners','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','port','protocolVersion','_generateMask','12ScmUfM','zlib','_no_context_takeover','Invalid\x20Upgrade\x20header','reason','string','finishRequest','host','dataMessage'];_0x5b7b=function(){return _0x3a13ac;};return _0x5b7b();}var Se,Ke;function lt(){const _0x350438=_0x519561;if(Ke)return Se;Ke=0x1;const {Writable:_0x145186}=oe,_0x532617=he(),{BINARY_TYPES:_0x106b1b,EMPTY_BUFFER:_0x17a1cb,kStatusCode:_0x5739e9,kWebSocket:_0x24b828}=H(),{concat:_0x449b29,toArrayBuffer:_0x504747,unmask:_0x3106ba}=ce(),{isValidStatusCode:_0x6f9919,isValidUTF8:_0x1eb984}=ae(),_0x58280e=Buffer[Symbol[_0x350438(0x35f)]],_0x57ba50=0x0,_0x1d4e75=0x1,_0xf59308=0x2,_0x17df65=0x3,_0x129e7f=0x4,_0x149d52=0x5,_0x6edd99=0x6;class _0xc453d5 extends _0x145186{constructor(_0x289aa4={}){const _0xab1c34=_0x350438;super(),this[_0xab1c34(0x375)]=_0x289aa4[_0xab1c34(0x32f)]!==void 0x0?_0x289aa4['allowSynchronousEvents']:!0x0,this[_0xab1c34(0x213)]=_0x289aa4[_0xab1c34(0x288)]||_0x106b1b[0x0],this[_0xab1c34(0x315)]=_0x289aa4[_0xab1c34(0x21b)]||{},this['_isServer']=!!_0x289aa4['isServer'],this[_0xab1c34(0x22a)]=_0x289aa4[_0xab1c34(0x3ac)]|0x0,this['_skipUTF8Validation']=!!_0x289aa4[_0xab1c34(0x1ed)],this[_0x24b828]=void 0x0,this['_bufferedBytes']=0x0,this[_0xab1c34(0x3ae)]=[],this[_0xab1c34(0x264)]=!0x1,this['_payloadLength']=0x0,this[_0xab1c34(0x3ad)]=void 0x0,this[_0xab1c34(0x384)]=0x0,this[_0xab1c34(0x2b1)]=!0x1,this[_0xab1c34(0x238)]=!0x1,this[_0xab1c34(0x369)]=0x0,this[_0xab1c34(0x3a7)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0xab1c34(0x349)]=!0x1,this[_0xab1c34(0x1f1)]=!0x1,this[_0xab1c34(0x2e8)]=_0x57ba50;}[_0x350438(0x214)](_0x4f870d,_0x2b513f,_0x1e2857){const _0x3051b8=_0x350438;if(this[_0x3051b8(0x369)]===0x8&&this['_state']==_0x57ba50)return _0x1e2857();this['_bufferedBytes']+=_0x4f870d[_0x3051b8(0x326)],this[_0x3051b8(0x3ae)]['push'](_0x4f870d),this[_0x3051b8(0x24f)](_0x1e2857);}[_0x350438(0x32d)](_0x42f4c3){const _0x4807ed=_0x350438;if(this[_0x4807ed(0x273)]-=_0x42f4c3,_0x42f4c3===this[_0x4807ed(0x3ae)][0x0][_0x4807ed(0x326)])return this[_0x4807ed(0x3ae)]['shift']();if(_0x42f4c3<this[_0x4807ed(0x3ae)][0x0]['length']){const _0x3776b0=this[_0x4807ed(0x3ae)][0x0];return this[_0x4807ed(0x3ae)][0x0]=new _0x58280e(_0x3776b0[_0x4807ed(0x25d)],_0x3776b0[_0x4807ed(0x2bc)]+_0x42f4c3,_0x3776b0[_0x4807ed(0x326)]-_0x42f4c3),new _0x58280e(_0x3776b0[_0x4807ed(0x25d)],_0x3776b0[_0x4807ed(0x2bc)],_0x42f4c3);}const _0x555a4d=Buffer['allocUnsafe'](_0x42f4c3);do{const _0xdcaa8c=this[_0x4807ed(0x3ae)][0x0],_0x4a44a2=_0x555a4d[_0x4807ed(0x326)]-_0x42f4c3;_0x42f4c3>=_0xdcaa8c['length']?_0x555a4d[_0x4807ed(0x3aa)](this[_0x4807ed(0x3ae)]['shift'](),_0x4a44a2):(_0x555a4d[_0x4807ed(0x3aa)](new Uint8Array(_0xdcaa8c[_0x4807ed(0x25d)],_0xdcaa8c[_0x4807ed(0x2bc)],_0x42f4c3),_0x4a44a2),this[_0x4807ed(0x3ae)][0x0]=new _0x58280e(_0xdcaa8c['buffer'],_0xdcaa8c[_0x4807ed(0x2bc)]+_0x42f4c3,_0xdcaa8c[_0x4807ed(0x326)]-_0x42f4c3)),_0x42f4c3-=_0xdcaa8c[_0x4807ed(0x326)];}while(_0x42f4c3>0x0);return _0x555a4d;}[_0x350438(0x24f)](_0x8042ca){const _0x4e1448=_0x350438;this[_0x4e1448(0x1f1)]=!0x0;do switch(this[_0x4e1448(0x2e8)]){case _0x57ba50:this[_0x4e1448(0x306)](_0x8042ca);break;case _0x1d4e75:this['getPayloadLength16'](_0x8042ca);break;case _0xf59308:this[_0x4e1448(0x377)](_0x8042ca);break;case _0x17df65:this[_0x4e1448(0x366)]();break;case _0x129e7f:this['getData'](_0x8042ca);break;case _0x149d52:case _0x6edd99:this['_loop']=!0x1;return;}while(this[_0x4e1448(0x1f1)]);this[_0x4e1448(0x349)]||_0x8042ca();}[_0x350438(0x306)](_0x2513fa){const _0x5429ac=_0x350438;if(this[_0x5429ac(0x273)]<0x2){this[_0x5429ac(0x1f1)]=!0x1;return;}const _0xaa4b81=this['consume'](0x2);if((_0xaa4b81[0x0]&0x30)!==0x0){const _0xe8fd05=this['createError'](RangeError,_0x5429ac(0x237),!0x0,0x3ea,_0x5429ac(0x31c));_0x2513fa(_0xe8fd05);return;}const _0x573779=(_0xaa4b81[0x0]&0x40)===0x40;if(_0x573779&&!this[_0x5429ac(0x315)][_0x532617['extensionName']]){const _0x4a3bae=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x329),!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x4a3bae);return;}if(this['_fin']=(_0xaa4b81[0x0]&0x80)===0x80,this[_0x5429ac(0x369)]=_0xaa4b81[0x0]&0xf,this['_payloadLength']=_0xaa4b81[0x1]&0x7f,this['_opcode']===0x0){if(_0x573779){const _0x8acf54=this[_0x5429ac(0x337)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x8acf54);return;}if(!this[_0x5429ac(0x384)]){const _0x15a8a6=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x3b0),!0x0,0x3ea,_0x5429ac(0x318));_0x2513fa(_0x15a8a6);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x5429ac(0x369)]===0x1||this[_0x5429ac(0x369)]===0x2){if(this['_fragmented']){const _0x7d7acf=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x208)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2513fa(_0x7d7acf);return;}this[_0x5429ac(0x264)]=_0x573779;}else{if(this[_0x5429ac(0x369)]>0x7&&this[_0x5429ac(0x369)]<0xb){if(!this[_0x5429ac(0x238)]){const _0x41c785=this['createError'](RangeError,_0x5429ac(0x28a),!0x0,0x3ea,_0x5429ac(0x319));_0x2513fa(_0x41c785);return;}if(_0x573779){const _0x10e8c8=this[_0x5429ac(0x337)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x10e8c8);return;}if(this[_0x5429ac(0x226)]>0x7d||this[_0x5429ac(0x369)]===0x8&&this[_0x5429ac(0x226)]===0x1){const _0x2a45d7=this[_0x5429ac(0x337)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5429ac(0x226)],!0x0,0x3ea,_0x5429ac(0x396));_0x2513fa(_0x2a45d7);return;}}else{const _0x542e53=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x208)+this[_0x5429ac(0x369)],!0x0,0x3ea,_0x5429ac(0x318));_0x2513fa(_0x542e53);return;}}}if(!this[_0x5429ac(0x238)]&&!this[_0x5429ac(0x384)]&&(this[_0x5429ac(0x384)]=this[_0x5429ac(0x369)]),this[_0x5429ac(0x2b1)]=(_0xaa4b81[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5429ac(0x2b1)]){const _0x22a021=this[_0x5429ac(0x337)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x5429ac(0x368));_0x2513fa(_0x22a021);return;}}else{if(this['_masked']){const _0x49f10e=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x2b7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2513fa(_0x49f10e);return;}}this[_0x5429ac(0x226)]===0x7e?this[_0x5429ac(0x2e8)]=_0x1d4e75:this[_0x5429ac(0x226)]===0x7f?this['_state']=_0xf59308:this['haveLength'](_0x2513fa);}['getPayloadLength16'](_0x25c6e5){const _0x17be2a=_0x350438;if(this[_0x17be2a(0x273)]<0x2){this[_0x17be2a(0x1f1)]=!0x1;return;}this['_payloadLength']=this[_0x17be2a(0x32d)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x25c6e5);}[_0x350438(0x377)](_0x40512b){const _0x279de3=_0x350438;if(this[_0x279de3(0x273)]<0x8){this[_0x279de3(0x1f1)]=!0x1;return;}const _0x5a59f1=this[_0x279de3(0x32d)](0x8),_0x8d4f56=_0x5a59f1[_0x279de3(0x21f)](0x0);if(_0x8d4f56>Math[_0x279de3(0x376)](0x2,0x15)-0x1){const _0x516ca8=this[_0x279de3(0x337)](RangeError,_0x279de3(0x2e5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x40512b(_0x516ca8);return;}this[_0x279de3(0x226)]=_0x8d4f56*Math[_0x279de3(0x376)](0x2,0x20)+_0x5a59f1[_0x279de3(0x21f)](0x4),this[_0x279de3(0x261)](_0x40512b);}['haveLength'](_0x4f0101){const _0x4fc51a=_0x350438;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x4fc51a(0x3a7)]+=this[_0x4fc51a(0x226)],this[_0x4fc51a(0x3a7)]>this[_0x4fc51a(0x22a)]&&this[_0x4fc51a(0x22a)]>0x0)){const _0x15fff5=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4fc51a(0x29a));_0x4f0101(_0x15fff5);return;}this[_0x4fc51a(0x2b1)]?this['_state']=_0x17df65:this[_0x4fc51a(0x2e8)]=_0x129e7f;}[_0x350438(0x366)](){const _0x3803d6=_0x350438;if(this['_bufferedBytes']<0x4){this[_0x3803d6(0x1f1)]=!0x1;return;}this[_0x3803d6(0x3ad)]=this['consume'](0x4),this[_0x3803d6(0x2e8)]=_0x129e7f;}[_0x350438(0x1ea)](_0x5e1a06){const _0x5a5ba9=_0x350438;let _0xcdd088=_0x17a1cb;if(this[_0x5a5ba9(0x226)]){if(this[_0x5a5ba9(0x273)]<this['_payloadLength']){this[_0x5a5ba9(0x1f1)]=!0x1;return;}_0xcdd088=this[_0x5a5ba9(0x32d)](this[_0x5a5ba9(0x226)]),this[_0x5a5ba9(0x2b1)]&&(this['_mask'][0x0]|this[_0x5a5ba9(0x3ad)][0x1]|this[_0x5a5ba9(0x3ad)][0x2]|this[_0x5a5ba9(0x3ad)][0x3])!==0x0&&_0x3106ba(_0xcdd088,this['_mask']);}if(this[_0x5a5ba9(0x369)]>0x7){this['controlMessage'](_0xcdd088,_0x5e1a06);return;}if(this[_0x5a5ba9(0x264)]){this[_0x5a5ba9(0x2e8)]=_0x149d52,this['decompress'](_0xcdd088,_0x5e1a06);return;}_0xcdd088['length']&&(this[_0x5a5ba9(0x274)]=this[_0x5a5ba9(0x3a7)],this['_fragments'][_0x5a5ba9(0x271)](_0xcdd088)),this[_0x5a5ba9(0x3a2)](_0x5e1a06);}[_0x350438(0x2ed)](_0x80275a,_0x3d6b9e){const _0x17a7fe=_0x350438;this['_extensions'][_0x532617[_0x17a7fe(0x35e)]][_0x17a7fe(0x2ed)](_0x80275a,this[_0x17a7fe(0x238)],(_0x3e1aa8,_0x40c911)=>{const _0x1f163e=_0x17a7fe;if(_0x3e1aa8)return _0x3d6b9e(_0x3e1aa8);if(_0x40c911[_0x1f163e(0x326)]){if(this['_messageLength']+=_0x40c911['length'],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x5dfdc7=this[_0x1f163e(0x337)](RangeError,_0x1f163e(0x359),!0x1,0x3f1,_0x1f163e(0x29a));_0x3d6b9e(_0x5dfdc7);return;}this[_0x1f163e(0x365)]['push'](_0x40c911);}this['dataMessage'](_0x3d6b9e),this[_0x1f163e(0x2e8)]===_0x57ba50&&this[_0x1f163e(0x24f)](_0x3d6b9e);});}[_0x350438(0x3a2)](_0x8e9075){const _0x4290f1=_0x350438;if(!this[_0x4290f1(0x238)]){this['_state']=_0x57ba50;return;}const _0x3075f5=this['_messageLength'],_0x559dad=this[_0x4290f1(0x365)];if(this[_0x4290f1(0x3a7)]=0x0,this[_0x4290f1(0x274)]=0x0,this[_0x4290f1(0x384)]=0x0,this['_fragments']=[],this[_0x4290f1(0x369)]===0x2){let _0x37cfa0;this['_binaryType']===_0x4290f1(0x2b2)?_0x37cfa0=_0x449b29(_0x559dad,_0x3075f5):this['_binaryType']===_0x4290f1(0x33f)?_0x37cfa0=_0x504747(_0x449b29(_0x559dad,_0x3075f5)):this['_binaryType']==='blob'?_0x37cfa0=new Blob(_0x559dad):_0x37cfa0=_0x559dad,this[_0x4290f1(0x375)]?(this[_0x4290f1(0x1ef)](_0x4290f1(0x1fe),_0x37cfa0,!0x0),this[_0x4290f1(0x2e8)]=_0x57ba50):(this['_state']=_0x6edd99,setImmediate(()=>{const _0x48cc51=_0x4290f1;this[_0x48cc51(0x1ef)](_0x48cc51(0x1fe),_0x37cfa0,!0x0),this[_0x48cc51(0x2e8)]=_0x57ba50,this[_0x48cc51(0x24f)](_0x8e9075);}));}else{const _0x4f6c20=_0x449b29(_0x559dad,_0x3075f5);if(!this['_skipUTF8Validation']&&!_0x1eb984(_0x4f6c20)){const _0x5e1a41=this[_0x4290f1(0x337)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4290f1(0x386));_0x8e9075(_0x5e1a41);return;}this['_state']===_0x149d52||this['_allowSynchronousEvents']?(this[_0x4290f1(0x1ef)](_0x4290f1(0x1fe),_0x4f6c20,!0x1),this[_0x4290f1(0x2e8)]=_0x57ba50):(this['_state']=_0x6edd99,setImmediate(()=>{const _0x43f1e3=_0x4290f1;this[_0x43f1e3(0x1ef)](_0x43f1e3(0x1fe),_0x4f6c20,!0x1),this[_0x43f1e3(0x2e8)]=_0x57ba50,this[_0x43f1e3(0x24f)](_0x8e9075);}));}}[_0x350438(0x292)](_0x5a5121,_0x541dea){const _0x1d9afc=_0x350438;if(this[_0x1d9afc(0x369)]===0x8){if(_0x5a5121[_0x1d9afc(0x326)]===0x0)this[_0x1d9afc(0x1f1)]=!0x1,this[_0x1d9afc(0x1ef)]('conclude',0x3ed,_0x17a1cb),this['end']();else{const _0x103bdd=_0x5a5121['readUInt16BE'](0x0);if(!_0x6f9919(_0x103bdd)){const _0x4c0bd1=this['createError'](RangeError,_0x1d9afc(0x21d)+_0x103bdd,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x541dea(_0x4c0bd1);return;}const _0x2926a2=new _0x58280e(_0x5a5121['buffer'],_0x5a5121[_0x1d9afc(0x2bc)]+0x2,_0x5a5121[_0x1d9afc(0x326)]-0x2);if(!this[_0x1d9afc(0x36c)]&&!_0x1eb984(_0x2926a2)){const _0x4a6ecc=this[_0x1d9afc(0x337)](Error,_0x1d9afc(0x339),!0x0,0x3ef,_0x1d9afc(0x386));_0x541dea(_0x4a6ecc);return;}this['_loop']=!0x1,this[_0x1d9afc(0x1ef)](_0x1d9afc(0x27c),_0x103bdd,_0x2926a2),this[_0x1d9afc(0x31b)]();}this[_0x1d9afc(0x2e8)]=_0x57ba50;return;}this['_allowSynchronousEvents']?(this[_0x1d9afc(0x1ef)](this[_0x1d9afc(0x369)]===0x9?_0x1d9afc(0x25f):_0x1d9afc(0x291),_0x5a5121),this[_0x1d9afc(0x2e8)]=_0x57ba50):(this[_0x1d9afc(0x2e8)]=_0x6edd99,setImmediate(()=>{const _0x275eed=_0x1d9afc;this[_0x275eed(0x1ef)](this[_0x275eed(0x369)]===0x9?'ping':_0x275eed(0x291),_0x5a5121),this[_0x275eed(0x2e8)]=_0x57ba50,this['startLoop'](_0x541dea);}));}[_0x350438(0x337)](_0x5ec2e4,_0x417c49,_0x5065e6,_0x5163ce,_0xd09c76){const _0x2c1ef6=_0x350438;this['_loop']=!0x1,this[_0x2c1ef6(0x349)]=!0x0;const _0x513cad=new _0x5ec2e4(_0x5065e6?_0x2c1ef6(0x2de)+_0x417c49:_0x417c49);return Error[_0x2c1ef6(0x2c1)](_0x513cad,this[_0x2c1ef6(0x337)]),_0x513cad['code']=_0xd09c76,_0x513cad[_0x5739e9]=_0x5163ce,_0x513cad;}}return Se=_0xc453d5,Se;}var Ee,Xe;function ft(){const _0x311f92=_0x519561;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4d68b1}=oe,{randomFillSync:_0x4be69b}=Le,_0x1df9c5=he(),{EMPTY_BUFFER:_0x55c464,kWebSocket:_0x50ecbf,NOOP:_0x150e7a}=H(),{isBlob:_0x2174c8,isValidStatusCode:_0x54ead9}=ae(),{mask:_0x4951d0,toBuffer:_0x139a63}=ce(),_0x15b0c6=Symbol(_0x311f92(0x248)),_0x562f58=Buffer[_0x311f92(0x304)](0x4),_0x402c40=0x8*0x400;let _0x4e7471,_0x30d0ef=_0x402c40;const _0x433c75=0x0,_0x3d02f1=0x1,_0xd618d9=0x2;class _0x368897{constructor(_0x5bb7a6,_0x225334,_0x184980){const _0x1c0b08=_0x311f92;this[_0x1c0b08(0x315)]=_0x225334||{},_0x184980&&(this[_0x1c0b08(0x399)]=_0x184980,this['_maskBuffer']=Buffer[_0x1c0b08(0x304)](0x4)),this['_socket']=_0x5bb7a6,this['_firstFragment']=!0x0,this[_0x1c0b08(0x38d)]=!0x1,this[_0x1c0b08(0x273)]=0x0,this['_queue']=[],this['_state']=_0x433c75,this['onerror']=_0x150e7a,this[_0x50ecbf]=void 0x0;}static[_0x311f92(0x235)](_0x269534,_0x369e60){const _0x442b56=_0x311f92;let _0x4b216d,_0x25464c=!0x1,_0x56a933=0x2,_0xea087e=!0x1;_0x369e60['mask']&&(_0x4b216d=_0x369e60[_0x442b56(0x259)]||_0x562f58,_0x369e60[_0x442b56(0x2d3)]?_0x369e60['generateMask'](_0x4b216d):(_0x30d0ef===_0x402c40&&(_0x4e7471===void 0x0&&(_0x4e7471=Buffer[_0x442b56(0x304)](_0x402c40)),_0x4be69b(_0x4e7471,0x0,_0x402c40),_0x30d0ef=0x0),_0x4b216d[0x0]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x1]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x2]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x3]=_0x4e7471[_0x30d0ef++]),_0xea087e=(_0x4b216d[0x0]|_0x4b216d[0x1]|_0x4b216d[0x2]|_0x4b216d[0x3])===0x0,_0x56a933=0x6);let _0x428e6d;typeof _0x269534==_0x442b56(0x39f)?(!_0x369e60[_0x442b56(0x390)]||_0xea087e)&&_0x369e60[_0x15b0c6]!==void 0x0?_0x428e6d=_0x369e60[_0x15b0c6]:(_0x269534=Buffer[_0x442b56(0x221)](_0x269534),_0x428e6d=_0x269534[_0x442b56(0x326)]):(_0x428e6d=_0x269534['length'],_0x25464c=_0x369e60['mask']&&_0x369e60[_0x442b56(0x2c0)]&&!_0xea087e);let _0x55ed8c=_0x428e6d;_0x428e6d>=0x10000?(_0x56a933+=0x8,_0x55ed8c=0x7f):_0x428e6d>0x7d&&(_0x56a933+=0x2,_0x55ed8c=0x7e);const _0x1dd589=Buffer[_0x442b56(0x31a)](_0x25464c?_0x428e6d+_0x56a933:_0x56a933);return _0x1dd589[0x0]=_0x369e60[_0x442b56(0x285)]?_0x369e60['opcode']|0x80:_0x369e60[_0x442b56(0x373)],_0x369e60[_0x442b56(0x2d8)]&&(_0x1dd589[0x0]|=0x40),_0x1dd589[0x1]=_0x55ed8c,_0x55ed8c===0x7e?_0x1dd589[_0x442b56(0x36d)](_0x428e6d,0x2):_0x55ed8c===0x7f&&(_0x1dd589[0x2]=_0x1dd589[0x3]=0x0,_0x1dd589[_0x442b56(0x299)](_0x428e6d,0x4,0x6)),_0x369e60[_0x442b56(0x390)]?(_0x1dd589[0x1]|=0x80,_0x1dd589[_0x56a933-0x4]=_0x4b216d[0x0],_0x1dd589[_0x56a933-0x3]=_0x4b216d[0x1],_0x1dd589[_0x56a933-0x2]=_0x4b216d[0x2],_0x1dd589[_0x56a933-0x1]=_0x4b216d[0x3],_0xea087e?[_0x1dd589,_0x269534]:_0x25464c?(_0x4951d0(_0x269534,_0x4b216d,_0x1dd589,_0x56a933,_0x428e6d),[_0x1dd589]):(_0x4951d0(_0x269534,_0x4b216d,_0x269534,0x0,_0x428e6d),[_0x1dd589,_0x269534])):[_0x1dd589,_0x269534];}[_0x311f92(0x327)](_0x1ff00a,_0x263245,_0x3b5915,_0x5ef58f){const _0x2746ce=_0x311f92;let _0x45751a;if(_0x1ff00a===void 0x0)_0x45751a=_0x55c464;else{if(typeof _0x1ff00a!=_0x2746ce(0x2d9)||!_0x54ead9(_0x1ff00a))throw new TypeError(_0x2746ce(0x250));if(_0x263245===void 0x0||!_0x263245[_0x2746ce(0x326)])_0x45751a=Buffer['allocUnsafe'](0x2),_0x45751a[_0x2746ce(0x36d)](_0x1ff00a,0x0);else{const _0x4281f0=Buffer[_0x2746ce(0x28c)](_0x263245);if(_0x4281f0>0x7b)throw new RangeError(_0x2746ce(0x393));_0x45751a=Buffer['allocUnsafe'](0x2+_0x4281f0),_0x45751a[_0x2746ce(0x36d)](_0x1ff00a,0x0),typeof _0x263245==_0x2746ce(0x39f)?_0x45751a[_0x2746ce(0x229)](_0x263245,0x2):_0x45751a['set'](_0x263245,0x2);}}const _0x569487={[_0x15b0c6]:_0x45751a['length'],'fin':!0x0,'generateMask':this[_0x2746ce(0x399)],'mask':_0x3b5915,'maskBuffer':this[_0x2746ce(0x232)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2746ce(0x2e8)]!==_0x433c75?this[_0x2746ce(0x227)]([this['dispatch'],_0x45751a,!0x1,_0x569487,_0x5ef58f]):this[_0x2746ce(0x3a6)](_0x368897['frame'](_0x45751a,_0x569487),_0x5ef58f);}[_0x311f92(0x25f)](_0x2a499d,_0x36cac0,_0x2d3894){const _0xb0d927=_0x311f92;let _0x27d525,_0x4481a6;if(typeof _0x2a499d==_0xb0d927(0x39f)?(_0x27d525=Buffer[_0xb0d927(0x28c)](_0x2a499d),_0x4481a6=!0x1):_0x2174c8(_0x2a499d)?(_0x27d525=_0x2a499d[_0xb0d927(0x2d6)],_0x4481a6=!0x1):(_0x2a499d=_0x139a63(_0x2a499d),_0x27d525=_0x2a499d[_0xb0d927(0x326)],_0x4481a6=_0x139a63[_0xb0d927(0x2c0)]),_0x27d525>0x7d)throw new RangeError(_0xb0d927(0x389));const _0x54cd27={[_0x15b0c6]:_0x27d525,'fin':!0x0,'generateMask':this[_0xb0d927(0x399)],'mask':_0x36cac0,'maskBuffer':this[_0xb0d927(0x232)],'opcode':0x9,'readOnly':_0x4481a6,'rsv1':!0x1};_0x2174c8(_0x2a499d)?this[_0xb0d927(0x2e8)]!==_0x433c75?this[_0xb0d927(0x227)]([this[_0xb0d927(0x29c)],_0x2a499d,!0x1,_0x54cd27,_0x2d3894]):this['getBlobData'](_0x2a499d,!0x1,_0x54cd27,_0x2d3894):this['_state']!==_0x433c75?this['enqueue']([this[_0xb0d927(0x32c)],_0x2a499d,!0x1,_0x54cd27,_0x2d3894]):this[_0xb0d927(0x3a6)](_0x368897[_0xb0d927(0x235)](_0x2a499d,_0x54cd27),_0x2d3894);}[_0x311f92(0x291)](_0x2107a1,_0x5c9f14,_0x2ca8e4){const _0x52b503=_0x311f92;let _0x58b3c6,_0x1c166f;if(typeof _0x2107a1=='string'?(_0x58b3c6=Buffer['byteLength'](_0x2107a1),_0x1c166f=!0x1):_0x2174c8(_0x2107a1)?(_0x58b3c6=_0x2107a1[_0x52b503(0x2d6)],_0x1c166f=!0x1):(_0x2107a1=_0x139a63(_0x2107a1),_0x58b3c6=_0x2107a1['length'],_0x1c166f=_0x139a63[_0x52b503(0x2c0)]),_0x58b3c6>0x7d)throw new RangeError(_0x52b503(0x389));const _0x360360={[_0x15b0c6]:_0x58b3c6,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5c9f14,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1c166f,'rsv1':!0x1};_0x2174c8(_0x2107a1)?this[_0x52b503(0x2e8)]!==_0x433c75?this[_0x52b503(0x227)]([this['getBlobData'],_0x2107a1,!0x1,_0x360360,_0x2ca8e4]):this[_0x52b503(0x29c)](_0x2107a1,!0x1,_0x360360,_0x2ca8e4):this[_0x52b503(0x2e8)]!==_0x433c75?this[_0x52b503(0x227)]([this[_0x52b503(0x32c)],_0x2107a1,!0x1,_0x360360,_0x2ca8e4]):this[_0x52b503(0x3a6)](_0x368897[_0x52b503(0x235)](_0x2107a1,_0x360360),_0x2ca8e4);}['send'](_0x5a5f6a,_0x1ddcfd,_0x269029){const _0x19a002=_0x311f92,_0x2e96b9=this[_0x19a002(0x315)][_0x1df9c5[_0x19a002(0x35e)]];let _0x4304fb=_0x1ddcfd[_0x19a002(0x1ff)]?0x2:0x1,_0x1f4297=_0x1ddcfd[_0x19a002(0x322)],_0x31dc48,_0x514e07;typeof _0x5a5f6a=='string'?(_0x31dc48=Buffer[_0x19a002(0x28c)](_0x5a5f6a),_0x514e07=!0x1):_0x2174c8(_0x5a5f6a)?(_0x31dc48=_0x5a5f6a['size'],_0x514e07=!0x1):(_0x5a5f6a=_0x139a63(_0x5a5f6a),_0x31dc48=_0x5a5f6a[_0x19a002(0x326)],_0x514e07=_0x139a63['readOnly']),this[_0x19a002(0x37c)]?(this['_firstFragment']=!0x1,_0x1f4297&&_0x2e96b9&&_0x2e96b9[_0x19a002(0x233)][_0x2e96b9[_0x19a002(0x37f)]?_0x19a002(0x38a):_0x19a002(0x27f)]&&(_0x1f4297=_0x31dc48>=_0x2e96b9['_threshold']),this[_0x19a002(0x38d)]=_0x1f4297):(_0x1f4297=!0x1,_0x4304fb=0x0),_0x1ddcfd['fin']&&(this[_0x19a002(0x37c)]=!0x0);const _0x237cc0={[_0x15b0c6]:_0x31dc48,'fin':_0x1ddcfd[_0x19a002(0x285)],'generateMask':this[_0x19a002(0x399)],'mask':_0x1ddcfd[_0x19a002(0x390)],'maskBuffer':this[_0x19a002(0x232)],'opcode':_0x4304fb,'readOnly':_0x514e07,'rsv1':_0x1f4297};_0x2174c8(_0x5a5f6a)?this[_0x19a002(0x2e8)]!==_0x433c75?this['enqueue']([this[_0x19a002(0x29c)],_0x5a5f6a,this[_0x19a002(0x38d)],_0x237cc0,_0x269029]):this[_0x19a002(0x29c)](_0x5a5f6a,this['_compress'],_0x237cc0,_0x269029):this['_state']!==_0x433c75?this['enqueue']([this[_0x19a002(0x32c)],_0x5a5f6a,this['_compress'],_0x237cc0,_0x269029]):this[_0x19a002(0x32c)](_0x5a5f6a,this[_0x19a002(0x38d)],_0x237cc0,_0x269029);}['getBlobData'](_0x42c74b,_0x380e15,_0x402fd4,_0x19ae5f){const _0x230ef5=_0x311f92;this[_0x230ef5(0x273)]+=_0x402fd4[_0x15b0c6],this[_0x230ef5(0x2e8)]=_0xd618d9,_0x42c74b[_0x230ef5(0x34e)]()['then'](_0x212106=>{const _0x13f7aa=_0x230ef5;if(this[_0x13f7aa(0x21c)][_0x13f7aa(0x2c3)]){const _0x3be5b8=new Error(_0x13f7aa(0x290));process[_0x13f7aa(0x310)](_0x41d58e,this,_0x3be5b8,_0x19ae5f);return;}this[_0x13f7aa(0x273)]-=_0x402fd4[_0x15b0c6];const _0x170ef6=_0x139a63(_0x212106);_0x380e15?this['dispatch'](_0x170ef6,_0x380e15,_0x402fd4,_0x19ae5f):(this[_0x13f7aa(0x2e8)]=_0x433c75,this[_0x13f7aa(0x3a6)](_0x368897[_0x13f7aa(0x235)](_0x170ef6,_0x402fd4),_0x19ae5f),this[_0x13f7aa(0x2f1)]());})[_0x230ef5(0x2a0)](_0x124d07=>{const _0x2e70d6=_0x230ef5;process[_0x2e70d6(0x310)](_0x3f6919,this,_0x124d07,_0x19ae5f);});}[_0x311f92(0x32c)](_0xecddfd,_0x5e1aeb,_0x96d1c9,_0x458cf3){const _0x42b39f=_0x311f92;if(!_0x5e1aeb){this[_0x42b39f(0x3a6)](_0x368897[_0x42b39f(0x235)](_0xecddfd,_0x96d1c9),_0x458cf3);return;}const _0xd7724=this['_extensions'][_0x1df9c5[_0x42b39f(0x35e)]];this[_0x42b39f(0x273)]+=_0x96d1c9[_0x15b0c6],this['_state']=_0x3d02f1,_0xd7724[_0x42b39f(0x322)](_0xecddfd,_0x96d1c9[_0x42b39f(0x285)],(_0x167f4d,_0x5806a2)=>{const _0x331dc4=_0x42b39f;if(this[_0x331dc4(0x21c)]['destroyed']){const _0x243dc4=new Error(_0x331dc4(0x30c));_0x41d58e(this,_0x243dc4,_0x458cf3);return;}this[_0x331dc4(0x273)]-=_0x96d1c9[_0x15b0c6],this['_state']=_0x433c75,_0x96d1c9[_0x331dc4(0x2c0)]=!0x1,this['sendFrame'](_0x368897[_0x331dc4(0x235)](_0x5806a2,_0x96d1c9),_0x458cf3),this[_0x331dc4(0x2f1)]();});}['dequeue'](){const _0x9ff1b8=_0x311f92;for(;this[_0x9ff1b8(0x2e8)]===_0x433c75&&this['_queue']['length'];){const _0xd82f08=this[_0x9ff1b8(0x2b4)][_0x9ff1b8(0x230)]();this['_bufferedBytes']-=_0xd82f08[0x3][_0x15b0c6],Reflect[_0x9ff1b8(0x266)](_0xd82f08[0x0],this,_0xd82f08[_0x9ff1b8(0x1f5)](0x1));}}[_0x311f92(0x227)](_0x8cabab){const _0x5d0d5a=_0x311f92;this[_0x5d0d5a(0x273)]+=_0x8cabab[0x3][_0x15b0c6],this[_0x5d0d5a(0x2b4)][_0x5d0d5a(0x271)](_0x8cabab);}[_0x311f92(0x3a6)](_0x46ad5e,_0x4ae883){const _0x230289=_0x311f92;_0x46ad5e[_0x230289(0x326)]===0x2?(this[_0x230289(0x21c)]['cork'](),this[_0x230289(0x21c)]['write'](_0x46ad5e[0x0]),this['_socket'][_0x230289(0x229)](_0x46ad5e[0x1],_0x4ae883),this[_0x230289(0x21c)][_0x230289(0x2be)]()):this[_0x230289(0x21c)][_0x230289(0x229)](_0x46ad5e[0x0],_0x4ae883);}}Ee=_0x368897;function _0x41d58e(_0x2dbbbd,_0x16d346,_0x3c627d){const _0x3d8155=_0x311f92;typeof _0x3c627d==_0x3d8155(0x236)&&_0x3c627d(_0x16d346);for(let _0x9c8769=0x0;_0x9c8769<_0x2dbbbd[_0x3d8155(0x2b4)][_0x3d8155(0x326)];_0x9c8769++){const _0x35c4c6=_0x2dbbbd[_0x3d8155(0x2b4)][_0x9c8769],_0x56273a=_0x35c4c6[_0x35c4c6[_0x3d8155(0x326)]-0x1];typeof _0x56273a=='function'&&_0x56273a(_0x16d346);}}function _0x3f6919(_0x16e59c,_0x270a50,_0x5ec1c9){const _0xc6b706=_0x311f92;_0x41d58e(_0x16e59c,_0x270a50,_0x5ec1c9),_0x16e59c[_0xc6b706(0x2b0)](_0x270a50);}return Ee;}var xe,Ze;function It(){const _0x46341d=_0x519561;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x45f292,kListener:_0x3bf7c9}=H(),_0x181c2e=Symbol(_0x46341d(0x224)),_0x3d67eb=Symbol(_0x46341d(0x317)),_0x3fd49c=Symbol(_0x46341d(0x325)),_0x34730c=Symbol(_0x46341d(0x298)),_0x448a27=Symbol(_0x46341d(0x2cb)),_0x55d15d=Symbol(_0x46341d(0x35a)),_0x4a311c=Symbol('kType'),_0x1c77cb=Symbol(_0x46341d(0x312));class _0x2d83c1{constructor(_0xdd4423){this[_0x55d15d]=null,this[_0x4a311c]=_0xdd4423;}get['target'](){return this[_0x55d15d];}get['type'](){return this[_0x4a311c];}}Object[_0x46341d(0x2a3)](_0x2d83c1[_0x46341d(0x34b)],_0x46341d(0x215),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x2d83c1[_0x46341d(0x34b)],_0x46341d(0x253),{'enumerable':!0x0});class _0x17efea extends _0x2d83c1{constructor(_0x55473e,_0x1957f3={}){const _0x5595d9=_0x46341d;super(_0x55473e),this[_0x181c2e]=_0x1957f3['code']===void 0x0?0x0:_0x1957f3[_0x5595d9(0x2d1)],this[_0x448a27]=_0x1957f3[_0x5595d9(0x39e)]===void 0x0?'':_0x1957f3[_0x5595d9(0x39e)],this[_0x1c77cb]=_0x1957f3[_0x5595d9(0x283)]===void 0x0?!0x1:_0x1957f3[_0x5595d9(0x283)];}get['code'](){return this[_0x181c2e];}get[_0x46341d(0x39e)](){return this[_0x448a27];}get[_0x46341d(0x283)](){return this[_0x1c77cb];}}Object['defineProperty'](_0x17efea[_0x46341d(0x34b)],_0x46341d(0x2d1),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x17efea[_0x46341d(0x34b)],_0x46341d(0x39e),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x17efea['prototype'],_0x46341d(0x283),{'enumerable':!0x0});class _0x2ed6bd extends _0x2d83c1{constructor(_0x1663f1,_0x177c8e={}){const _0x512e19=_0x46341d;super(_0x1663f1),this[_0x3fd49c]=_0x177c8e[_0x512e19(0x2a4)]===void 0x0?null:_0x177c8e['error'],this[_0x34730c]=_0x177c8e['message']===void 0x0?'':_0x177c8e['message'];}get['error'](){return this[_0x3fd49c];}get[_0x46341d(0x1fe)](){return this[_0x34730c];}}Object[_0x46341d(0x2a3)](_0x2ed6bd[_0x46341d(0x34b)],_0x46341d(0x2a4),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x2ed6bd[_0x46341d(0x34b)],_0x46341d(0x1fe),{'enumerable':!0x0});class _0x441754 extends _0x2d83c1{constructor(_0x2e3e94,_0x3a1884={}){const _0x4d8148=_0x46341d;super(_0x2e3e94),this[_0x3d67eb]=_0x3a1884[_0x4d8148(0x1ec)]===void 0x0?null:_0x3a1884[_0x4d8148(0x1ec)];}get[_0x46341d(0x1ec)](){return this[_0x3d67eb];}}Object['defineProperty'](_0x441754[_0x46341d(0x34b)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x17efea,'ErrorEvent':_0x2ed6bd,'Event':_0x2d83c1,'EventTarget':{'addEventListener'(_0x3e26df,_0x23dd58,_0x3f14d3={}){const _0x3a06e4=_0x46341d;for(const _0x4450ff of this['listeners'](_0x3e26df))if(!_0x3f14d3[_0x45f292]&&_0x4450ff[_0x3bf7c9]===_0x23dd58&&!_0x4450ff[_0x45f292])return;let _0x3f920f;if(_0x3e26df==='message')_0x3f920f=function(_0x1036a1,_0x332a6e){const _0x3f2f8f=_0x49e0,_0x860370=new _0x441754(_0x3f2f8f(0x1fe),{'data':_0x332a6e?_0x1036a1:_0x1036a1['toString']()});_0x860370[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x860370);};else{if(_0x3e26df===_0x3a06e4(0x327))_0x3f920f=function(_0x3b5667,_0x511848){const _0x487351=_0x3a06e4,_0x1f1fa9=new _0x17efea('close',{'code':_0x3b5667,'reason':_0x511848['toString'](),'wasClean':this[_0x487351(0x2ea)]&&this[_0x487351(0x3af)]});_0x1f1fa9[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x1f1fa9);};else{if(_0x3e26df===_0x3a06e4(0x2a4))_0x3f920f=function(_0x99e04e){const _0x48e8d5=_0x3a06e4,_0x5334c6=new _0x2ed6bd(_0x48e8d5(0x2a4),{'error':_0x99e04e,'message':_0x99e04e[_0x48e8d5(0x1fe)]});_0x5334c6[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x5334c6);};else{if(_0x3e26df===_0x3a06e4(0x212))_0x3f920f=function(){const _0x597660=_0x3a06e4,_0x3ea23d=new _0x2d83c1(_0x597660(0x212));_0x3ea23d[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x3ea23d);};else return;}}}_0x3f920f[_0x45f292]=!!_0x3f14d3[_0x45f292],_0x3f920f[_0x3bf7c9]=_0x23dd58,_0x3f14d3['once']?this[_0x3a06e4(0x2dc)](_0x3e26df,_0x3f920f):this['on'](_0x3e26df,_0x3f920f);},'removeEventListener'(_0x31077f,_0x1ce40d){const _0x14320f=_0x46341d;for(const _0x19b3ee of this[_0x14320f(0x37b)](_0x31077f))if(_0x19b3ee[_0x3bf7c9]===_0x1ce40d&&!_0x19b3ee[_0x45f292]){this[_0x14320f(0x321)](_0x31077f,_0x19b3ee);break;}}},'MessageEvent':_0x441754};function _0x103f13(_0xb9210a,_0x378562,_0x34bc85){const _0x76c5d9=_0x46341d;typeof _0xb9210a=='object'&&_0xb9210a['handleEvent']?_0xb9210a[_0x76c5d9(0x20c)][_0x76c5d9(0x2a6)](_0xb9210a,_0x34bc85):_0xb9210a[_0x76c5d9(0x2a6)](_0x378562,_0x34bc85);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x36df35}=ae();function _0xa05f67(_0x14e20f,_0x5c5137,_0x2e984a){_0x14e20f[_0x5c5137]===void 0x0?_0x14e20f[_0x5c5137]=[_0x2e984a]:_0x14e20f[_0x5c5137]['push'](_0x2e984a);}function _0x182774(_0x11e25e){const _0x1fe640=_0x49e0,_0x5c1205=Object[_0x1fe640(0x1e9)](null);let _0x2062ed=Object[_0x1fe640(0x1e9)](null),_0x5ca9ed=!0x1,_0x5a62a1=!0x1,_0x192a3e=!0x1,_0x5359e4,_0x492622,_0x21ea69=-0x1,_0x293e4f=-0x1,_0xde720c=-0x1,_0x55cb6e=0x0;for(;_0x55cb6e<_0x11e25e[_0x1fe640(0x326)];_0x55cb6e++)if(_0x293e4f=_0x11e25e['charCodeAt'](_0x55cb6e),_0x5359e4===void 0x0){if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x55cb6e!==0x0&&(_0x293e4f===0x20||_0x293e4f===0x9))_0xde720c===-0x1&&_0x21ea69!==-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);const _0x14e647=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);_0x293e4f===0x2c?(_0xa05f67(_0x5c1205,_0x14e647,_0x2062ed),_0x2062ed=Object[_0x1fe640(0x1e9)](null)):_0x5359e4=_0x14e647,_0x21ea69=_0xde720c=-0x1;}else throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);}}}else{if(_0x492622===void 0x0){if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x293e4f===0x20||_0x293e4f===0x9)_0xde720c===-0x1&&_0x21ea69!==-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e),_0xa05f67(_0x2062ed,_0x11e25e['slice'](_0x21ea69,_0xde720c),!0x0),_0x293e4f===0x2c&&(_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed),_0x2062ed=Object['create'](null),_0x5359e4=void 0x0),_0x21ea69=_0xde720c=-0x1;}else{if(_0x293e4f===0x3d&&_0x21ea69!==-0x1&&_0xde720c===-0x1)_0x492622=_0x11e25e['slice'](_0x21ea69,_0x55cb6e),_0x21ea69=_0xde720c=-0x1;else throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);}}}}else{if(_0x5a62a1){if(_0x36df35[_0x293e4f]!==0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0x21ea69===-0x1?_0x21ea69=_0x55cb6e:_0x5ca9ed||(_0x5ca9ed=!0x0),_0x5a62a1=!0x1;}else{if(_0x192a3e){if(_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x293e4f===0x22&&_0x21ea69!==-0x1)_0x192a3e=!0x1,_0xde720c=_0x55cb6e;else{if(_0x293e4f===0x5c)_0x5a62a1=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55cb6e);}}}else{if(_0x293e4f===0x22&&_0x11e25e[_0x1fe640(0x254)](_0x55cb6e-0x1)===0x3d)_0x192a3e=!0x0;else{if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x21ea69!==-0x1&&(_0x293e4f===0x20||_0x293e4f===0x9))_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);let _0x36c18b=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);_0x5ca9ed&&(_0x36c18b=_0x36c18b[_0x1fe640(0x252)](/\\/g,''),_0x5ca9ed=!0x1),_0xa05f67(_0x2062ed,_0x492622,_0x36c18b),_0x293e4f===0x2c&&(_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed),_0x2062ed=Object[_0x1fe640(0x1e9)](null),_0x5359e4=void 0x0),_0x492622=void 0x0,_0x21ea69=_0xde720c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55cb6e);}}}}}}}if(_0x21ea69===-0x1||_0x192a3e||_0x293e4f===0x20||_0x293e4f===0x9)throw new SyntaxError(_0x1fe640(0x2ba));_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);const _0x46bfb4=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);return _0x5359e4===void 0x0?_0xa05f67(_0x5c1205,_0x46bfb4,_0x2062ed):(_0x492622===void 0x0?_0xa05f67(_0x2062ed,_0x46bfb4,!0x0):_0x5ca9ed?_0xa05f67(_0x2062ed,_0x492622,_0x46bfb4[_0x1fe640(0x252)](/\\/g,'')):_0xa05f67(_0x2062ed,_0x492622,_0x46bfb4),_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed)),_0x5c1205;}function _0x5259ef(_0x573353){const _0x2803f1=_0x49e0;return Object['keys'](_0x573353)[_0x2803f1(0x1fc)](_0xa376b2=>{const _0x45a1d4=_0x2803f1;let _0x2dd545=_0x573353[_0xa376b2];return Array[_0x45a1d4(0x383)](_0x2dd545)||(_0x2dd545=[_0x2dd545]),_0x2dd545[_0x45a1d4(0x1fc)](_0x2e4a77=>[_0xa376b2][_0x45a1d4(0x302)](Object['keys'](_0x2e4a77)[_0x45a1d4(0x1fc)](_0x360a28=>{const _0x4002a4=_0x45a1d4;let _0x2f19f0=_0x2e4a77[_0x360a28];return Array[_0x4002a4(0x383)](_0x2f19f0)||(_0x2f19f0=[_0x2f19f0]),_0x2f19f0[_0x4002a4(0x1fc)](_0x26fef5=>_0x26fef5===!0x0?_0x360a28:_0x360a28+'='+_0x26fef5)[_0x4002a4(0x28d)](';\x20');}))[_0x45a1d4(0x28d)](';\x20'))[_0x45a1d4(0x28d)](',\x20');})['join'](',\x20');}return be={'format':_0x5259ef,'parse':_0x182774},be;}var we,Je;function Pe(){const _0x26b0a6=_0x519561;if(Je)return we;Je=0x1;const _0xaeb8ad=nt,_0xa6f7c2=vt,_0x1cbd6a=ot,_0xc54418=St,_0x2afc87=Et,{randomBytes:_0x1267b6,createHash:_0x4311a2}=Le,{Duplex:_0x5b2219,Readable:_0x2e03d6}=oe,{URL:_0xbeb4e5}=xt,_0x201e33=he(),_0x38e0be=lt(),_0x33aa21=ft(),{isBlob:_0x49dfd1}=ae(),{BINARY_TYPES:_0x35b211,EMPTY_BUFFER:_0x667a1d,GUID:_0x5206b3,kForOnEventAttribute:_0x512121,kListener:_0x175eda,kStatusCode:_0x57ed03,kWebSocket:_0x1dd5a0,NOOP:_0x563769}=H(),{EventTarget:{addEventListener:_0x4e67ee,removeEventListener:_0x5f3737}}=It(),{format:_0x5780b8,parse:_0x269685}=ct(),{toBuffer:_0x5e5c1a}=ce(),_0x3eaa49=0x1e*0x3e8,_0x12230b=Symbol('kAborted'),_0x3b3053=[0x8,0xd],_0x9bb6ec=[_0x26b0a6(0x2dd),'OPEN',_0x26b0a6(0x3a3),_0x26b0a6(0x1f4)],_0x462502=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f3a4d extends _0xaeb8ad{constructor(_0x2b8971,_0x51915f,_0x1eeb53){const _0x3f796d=_0x26b0a6;super(),this[_0x3f796d(0x213)]=_0x35b211[0x0],this['_closeCode']=0x3ee,this[_0x3f796d(0x2ea)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3f796d(0x26f)]=_0x667a1d,this[_0x3f796d(0x36f)]=null,this[_0x3f796d(0x1f2)]=!0x1,this[_0x3f796d(0x315)]={},this[_0x3f796d(0x2fb)]=!0x1,this[_0x3f796d(0x281)]='',this[_0x3f796d(0x22f)]=_0x1f3a4d[_0x3f796d(0x2dd)],this[_0x3f796d(0x2f5)]=null,this[_0x3f796d(0x300)]=null,this[_0x3f796d(0x21c)]=null,_0x2b8971!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3f796d(0x294)]=0x0,_0x51915f===void 0x0?_0x51915f=[]:Array[_0x3f796d(0x383)](_0x51915f)||(typeof _0x51915f==_0x3f796d(0x2c5)&&_0x51915f!==null?(_0x1eeb53=_0x51915f,_0x51915f=[]):_0x51915f=[_0x51915f]),_0x35b5d2(this,_0x2b8971,_0x51915f,_0x1eeb53)):(this[_0x3f796d(0x205)]=_0x1eeb53[_0x3f796d(0x282)],this[_0x3f796d(0x37f)]=!0x0);}get[_0x26b0a6(0x288)](){return this['_binaryType'];}set[_0x26b0a6(0x288)](_0x16475a){const _0x1526a5=_0x26b0a6;_0x35b211[_0x1526a5(0x2f3)](_0x16475a)&&(this['_binaryType']=_0x16475a,this[_0x1526a5(0x2f5)]&&(this[_0x1526a5(0x2f5)][_0x1526a5(0x213)]=_0x16475a));}get[_0x26b0a6(0x2e9)](){const _0x751345=_0x26b0a6;return this['_socket']?this[_0x751345(0x21c)][_0x751345(0x2a2)][_0x751345(0x326)]+this[_0x751345(0x300)][_0x751345(0x273)]:this[_0x751345(0x279)];}get[_0x26b0a6(0x21b)](){const _0x425325=_0x26b0a6;return Object['keys'](this[_0x425325(0x315)])[_0x425325(0x28d)]();}get[_0x26b0a6(0x278)](){const _0x3c9534=_0x26b0a6;return this[_0x3c9534(0x2fb)];}get[_0x26b0a6(0x251)](){return null;}get[_0x26b0a6(0x2b0)](){return null;}get[_0x26b0a6(0x1f8)](){return null;}get['onmessage'](){return null;}get[_0x26b0a6(0x27d)](){const _0x2a5ce0=_0x26b0a6;return this[_0x2a5ce0(0x281)];}get[_0x26b0a6(0x2c9)](){const _0x10c5ef=_0x26b0a6;return this[_0x10c5ef(0x22f)];}get[_0x26b0a6(0x216)](){const _0x5a2039=_0x26b0a6;return this[_0x5a2039(0x3b1)];}[_0x26b0a6(0x370)](_0x2def65,_0x8c3cca,_0xfe312){const _0x3ae2c4=_0x26b0a6,_0xd6b164=new _0x38e0be({'allowSynchronousEvents':_0xfe312[_0x3ae2c4(0x32f)],'binaryType':this[_0x3ae2c4(0x288)],'extensions':this[_0x3ae2c4(0x315)],'isServer':this[_0x3ae2c4(0x37f)],'maxPayload':_0xfe312[_0x3ae2c4(0x3ac)],'skipUTF8Validation':_0xfe312[_0x3ae2c4(0x1ed)]}),_0x1314c8=new _0x33aa21(_0x2def65,this[_0x3ae2c4(0x315)],_0xfe312[_0x3ae2c4(0x2d3)]);this['_receiver']=_0xd6b164,this['_sender']=_0x1314c8,this[_0x3ae2c4(0x21c)]=_0x2def65,_0xd6b164[_0x1dd5a0]=this,_0x1314c8[_0x1dd5a0]=this,_0x2def65[_0x1dd5a0]=this,_0xd6b164['on'](_0x3ae2c4(0x27c),_0x2f14c1),_0xd6b164['on'](_0x3ae2c4(0x345),_0x5779da),_0xd6b164['on']('error',_0x2b1ade),_0xd6b164['on'](_0x3ae2c4(0x1fe),_0x4375d2),_0xd6b164['on'](_0x3ae2c4(0x25f),_0x323f82),_0xd6b164['on'](_0x3ae2c4(0x291),_0x4e0c63),_0x1314c8[_0x3ae2c4(0x2b0)]=_0x384601,_0x2def65[_0x3ae2c4(0x219)]&&_0x2def65[_0x3ae2c4(0x219)](0x0),_0x2def65[_0x3ae2c4(0x207)]&&_0x2def65[_0x3ae2c4(0x207)](),_0x8c3cca[_0x3ae2c4(0x326)]>0x0&&_0x2def65[_0x3ae2c4(0x2c8)](_0x8c3cca),_0x2def65['on'](_0x3ae2c4(0x327),_0x2b788e),_0x2def65['on'](_0x3ae2c4(0x1ec),_0xea0ad),_0x2def65['on'](_0x3ae2c4(0x31b),_0x1247b6),_0x2def65['on'](_0x3ae2c4(0x2a4),_0x380f4f),this['_readyState']=_0x1f3a4d[_0x3ae2c4(0x262)],this[_0x3ae2c4(0x1ef)](_0x3ae2c4(0x212));}[_0x26b0a6(0x2e6)](){const _0x5660b2=_0x26b0a6;if(!this[_0x5660b2(0x21c)]){this[_0x5660b2(0x22f)]=_0x1f3a4d['CLOSED'],this[_0x5660b2(0x1ef)]('close',this[_0x5660b2(0x20e)],this[_0x5660b2(0x26f)]);return;}this['_extensions'][_0x201e33[_0x5660b2(0x35e)]]&&this[_0x5660b2(0x315)][_0x201e33[_0x5660b2(0x35e)]][_0x5660b2(0x296)](),this[_0x5660b2(0x2f5)]['removeAllListeners'](),this['_readyState']=_0x1f3a4d['CLOSED'],this[_0x5660b2(0x1ef)](_0x5660b2(0x327),this[_0x5660b2(0x20e)],this[_0x5660b2(0x26f)]);}[_0x26b0a6(0x327)](_0x20c74b,_0x216a84){const _0x4c3acc=_0x26b0a6;if(this['readyState']!==_0x1f3a4d[_0x4c3acc(0x1f4)]){if(this[_0x4c3acc(0x2c9)]===_0x1f3a4d[_0x4c3acc(0x2dd)]){_0x404b88(this,this[_0x4c3acc(0x379)],_0x4c3acc(0x26a));return;}if(this[_0x4c3acc(0x2c9)]===_0x1f3a4d[_0x4c3acc(0x3a3)]){this[_0x4c3acc(0x3af)]&&(this['_closeFrameReceived']||this[_0x4c3acc(0x2f5)][_0x4c3acc(0x2a2)]['errorEmitted'])&&this[_0x4c3acc(0x21c)][_0x4c3acc(0x31b)]();return;}this[_0x4c3acc(0x22f)]=_0x1f3a4d['CLOSING'],this[_0x4c3acc(0x300)]['close'](_0x20c74b,_0x216a84,!this[_0x4c3acc(0x37f)],_0x34120b=>{const _0x49478f=_0x4c3acc;_0x34120b||(this[_0x49478f(0x3af)]=!0x0,(this['_closeFrameReceived']||this[_0x49478f(0x2f5)][_0x49478f(0x2a2)][_0x49478f(0x228)])&&this[_0x49478f(0x21c)][_0x49478f(0x31b)]());}),_0x40b79f(this);}}[_0x26b0a6(0x2cd)](){const _0x4fa318=_0x26b0a6;this['readyState']===_0x1f3a4d['CONNECTING']||this['readyState']===_0x1f3a4d[_0x4fa318(0x1f4)]||(this[_0x4fa318(0x2fb)]=!0x0,this[_0x4fa318(0x21c)][_0x4fa318(0x2cd)]());}[_0x26b0a6(0x25f)](_0x22a555,_0x23fe3d,_0x59a866){const _0x2c94e6=_0x26b0a6;if(this[_0x2c94e6(0x2c9)]===_0x1f3a4d['CONNECTING'])throw new Error(_0x2c94e6(0x2cf));if(typeof _0x22a555==_0x2c94e6(0x236)?(_0x59a866=_0x22a555,_0x22a555=_0x23fe3d=void 0x0):typeof _0x23fe3d==_0x2c94e6(0x236)&&(_0x59a866=_0x23fe3d,_0x23fe3d=void 0x0),typeof _0x22a555==_0x2c94e6(0x2d9)&&(_0x22a555=_0x22a555[_0x2c94e6(0x275)]()),this[_0x2c94e6(0x2c9)]!==_0x1f3a4d['OPEN']){_0x4ab052(this,_0x22a555,_0x59a866);return;}_0x23fe3d===void 0x0&&(_0x23fe3d=!this[_0x2c94e6(0x37f)]),this['_sender']['ping'](_0x22a555||_0x667a1d,_0x23fe3d,_0x59a866);}[_0x26b0a6(0x291)](_0x4c7c4c,_0x11a7c1,_0x3b4782){const _0x54e82a=_0x26b0a6;if(this[_0x54e82a(0x2c9)]===_0x1f3a4d[_0x54e82a(0x2dd)])throw new Error(_0x54e82a(0x2cf));if(typeof _0x4c7c4c==_0x54e82a(0x236)?(_0x3b4782=_0x4c7c4c,_0x4c7c4c=_0x11a7c1=void 0x0):typeof _0x11a7c1==_0x54e82a(0x236)&&(_0x3b4782=_0x11a7c1,_0x11a7c1=void 0x0),typeof _0x4c7c4c=='number'&&(_0x4c7c4c=_0x4c7c4c[_0x54e82a(0x275)]()),this[_0x54e82a(0x2c9)]!==_0x1f3a4d[_0x54e82a(0x262)]){_0x4ab052(this,_0x4c7c4c,_0x3b4782);return;}_0x11a7c1===void 0x0&&(_0x11a7c1=!this['_isServer']),this[_0x54e82a(0x300)][_0x54e82a(0x291)](_0x4c7c4c||_0x667a1d,_0x11a7c1,_0x3b4782);}[_0x26b0a6(0x2fe)](){const _0x14cfe9=_0x26b0a6;this[_0x14cfe9(0x2c9)]===_0x1f3a4d[_0x14cfe9(0x2dd)]||this['readyState']===_0x1f3a4d[_0x14cfe9(0x1f4)]||(this['_paused']=!0x1,this[_0x14cfe9(0x2f5)][_0x14cfe9(0x2a2)][_0x14cfe9(0x272)]||this['_socket'][_0x14cfe9(0x2fe)]());}[_0x26b0a6(0x309)](_0x18a630,_0x35c4e8,_0x177391){const _0x4db7b1=_0x26b0a6;if(this['readyState']===_0x1f3a4d[_0x4db7b1(0x2dd)])throw new Error(_0x4db7b1(0x2cf));if(typeof _0x35c4e8==_0x4db7b1(0x236)&&(_0x177391=_0x35c4e8,_0x35c4e8={}),typeof _0x18a630==_0x4db7b1(0x2d9)&&(_0x18a630=_0x18a630['toString']()),this[_0x4db7b1(0x2c9)]!==_0x1f3a4d[_0x4db7b1(0x262)]){_0x4ab052(this,_0x18a630,_0x177391);return;}const _0x5dcd1c={'binary':typeof _0x18a630!='string','mask':!this[_0x4db7b1(0x37f)],'compress':!0x0,'fin':!0x0,..._0x35c4e8};this['_extensions'][_0x201e33['extensionName']]||(_0x5dcd1c[_0x4db7b1(0x322)]=!0x1),this['_sender'][_0x4db7b1(0x309)](_0x18a630||_0x667a1d,_0x5dcd1c,_0x177391);}[_0x26b0a6(0x313)](){const _0x1a08af=_0x26b0a6;if(this[_0x1a08af(0x2c9)]!==_0x1f3a4d[_0x1a08af(0x1f4)]){if(this['readyState']===_0x1f3a4d['CONNECTING']){_0x404b88(this,this[_0x1a08af(0x379)],_0x1a08af(0x26a));return;}this[_0x1a08af(0x21c)]&&(this[_0x1a08af(0x22f)]=_0x1f3a4d[_0x1a08af(0x3a3)],this['_socket'][_0x1a08af(0x2f8)]());}}}Object[_0x26b0a6(0x2a3)](_0x1f3a4d,_0x26b0a6(0x2dd),{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x2dd))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x2dd),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf']('CONNECTING')}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d,_0x26b0a6(0x262),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x262))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x262),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x262))}),Object['defineProperty'](_0x1f3a4d,_0x26b0a6(0x3a3),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf']('CLOSING')}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x3a3),{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x3a3))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d,'CLOSED',{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x1f4))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x1f4),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x1f4))}),[_0x26b0a6(0x288),_0x26b0a6(0x2e9),_0x26b0a6(0x21b),_0x26b0a6(0x278),_0x26b0a6(0x27d),_0x26b0a6(0x2c9),_0x26b0a6(0x216)][_0x26b0a6(0x2e0)](_0x435335=>{const _0x12736c=_0x26b0a6;Object['defineProperty'](_0x1f3a4d[_0x12736c(0x34b)],_0x435335,{'enumerable':!0x0});}),[_0x26b0a6(0x212),_0x26b0a6(0x2a4),_0x26b0a6(0x327),'message']['forEach'](_0x2b8040=>{const _0x24e2ff=_0x26b0a6;Object[_0x24e2ff(0x2a3)](_0x1f3a4d['prototype'],'on'+_0x2b8040,{'enumerable':!0x0,'get'(){const _0x4daa39=_0x24e2ff;for(const _0x4f8880 of this[_0x4daa39(0x37b)](_0x2b8040))if(_0x4f8880[_0x512121])return _0x4f8880[_0x175eda];return null;},'set'(_0xe2a572){const _0x26d6d9=_0x24e2ff;for(const _0x54585a of this[_0x26d6d9(0x37b)](_0x2b8040))if(_0x54585a[_0x512121]){this[_0x26d6d9(0x321)](_0x2b8040,_0x54585a);break;}typeof _0xe2a572==_0x26d6d9(0x236)&&this['addEventListener'](_0x2b8040,_0xe2a572,{[_0x512121]:!0x0});}});}),_0x1f3a4d[_0x26b0a6(0x34b)][_0x26b0a6(0x382)]=_0x4e67ee,_0x1f3a4d[_0x26b0a6(0x34b)][_0x26b0a6(0x204)]=_0x5f3737,we=_0x1f3a4d;function _0x35b5d2(_0xabaf5,_0x35e5b3,_0x193614,_0x56d590){const _0x21a812=_0x26b0a6,_0x50453d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3b3053[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x56d590,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x21a812(0x23e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xabaf5[_0x21a812(0x205)]=_0x50453d['autoPong'],!_0x3b3053[_0x21a812(0x2f3)](_0x50453d[_0x21a812(0x398)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x50453d[_0x21a812(0x398)]+'\x20(supported\x20versions:\x20'+_0x3b3053[_0x21a812(0x28d)](',\x20')+')');let _0x515436;if(_0x35e5b3 instanceof _0xbeb4e5)_0x515436=_0x35e5b3;else try{_0x515436=new _0xbeb4e5(_0x35e5b3);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x35e5b3);}_0x515436['protocol']===_0x21a812(0x2bb)?_0x515436[_0x21a812(0x27d)]='ws:':_0x515436[_0x21a812(0x27d)]==='https:'&&(_0x515436['protocol']=_0x21a812(0x28f)),_0xabaf5['_url']=_0x515436[_0x21a812(0x358)];const _0x5d5367=_0x515436['protocol']===_0x21a812(0x28f),_0x39212d=_0x515436[_0x21a812(0x27d)]==='ws+unix:';let _0x47c941;if(_0x515436[_0x21a812(0x27d)]!==_0x21a812(0x343)&&!_0x5d5367&&!_0x39212d?_0x47c941=_0x21a812(0x2f6):_0x39212d&&!_0x515436[_0x21a812(0x3ab)]?_0x47c941='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x515436[_0x21a812(0x2f0)]&&(_0x47c941=_0x21a812(0x1f9)),_0x47c941){const _0x44074c=new SyntaxError(_0x47c941);if(_0xabaf5[_0x21a812(0x294)]===0x0)throw _0x44074c;_0x3e7d0b(_0xabaf5,_0x44074c);return;}const _0x5eaadf=_0x5d5367?0x1bb:0x50,_0x41f3e9=_0x1267b6(0x10)[_0x21a812(0x275)](_0x21a812(0x1f7)),_0xab8c07=_0x5d5367?_0xa6f7c2['request']:_0x1cbd6a[_0x21a812(0x293)],_0x2764fc=new Set();let _0xbb281;if(_0x50453d[_0x21a812(0x387)]=_0x50453d[_0x21a812(0x387)]||(_0x5d5367?_0x3719e7:_0x4ad808),_0x50453d[_0x21a812(0x20a)]=_0x50453d[_0x21a812(0x20a)]||_0x5eaadf,_0x50453d['port']=_0x515436[_0x21a812(0x397)]||_0x5eaadf,_0x50453d[_0x21a812(0x3a1)]=_0x515436[_0x21a812(0x1fb)][_0x21a812(0x31d)]('[')?_0x515436['hostname'][_0x21a812(0x1f5)](0x1,-0x1):_0x515436[_0x21a812(0x1fb)],_0x50453d[_0x21a812(0x348)]={..._0x50453d[_0x21a812(0x348)],'Sec-WebSocket-Version':_0x50453d['protocolVersion'],'Sec-WebSocket-Key':_0x41f3e9,'Connection':'Upgrade','Upgrade':_0x21a812(0x217)},_0x50453d['path']=_0x515436['pathname']+_0x515436['search'],_0x50453d[_0x21a812(0x3a5)]=_0x50453d[_0x21a812(0x2c4)],_0x50453d[_0x21a812(0x2a7)]&&(_0xbb281=new _0x201e33(_0x50453d[_0x21a812(0x2a7)]!==!0x0?_0x50453d[_0x21a812(0x2a7)]:{},!0x1,_0x50453d[_0x21a812(0x3ac)]),_0x50453d['headers'][_0x21a812(0x33b)]=_0x5780b8({[_0x201e33['extensionName']]:_0xbb281['offer']()})),_0x193614[_0x21a812(0x326)]){for(const _0x1e2259 of _0x193614){if(typeof _0x1e2259!=_0x21a812(0x39f)||!_0x462502[_0x21a812(0x371)](_0x1e2259)||_0x2764fc[_0x21a812(0x36e)](_0x1e2259))throw new SyntaxError(_0x21a812(0x297));_0x2764fc[_0x21a812(0x363)](_0x1e2259);}_0x50453d[_0x21a812(0x348)][_0x21a812(0x36b)]=_0x193614[_0x21a812(0x28d)](',');}if(_0x50453d[_0x21a812(0x354)]&&(_0x50453d[_0x21a812(0x398)]<0xd?_0x50453d[_0x21a812(0x348)][_0x21a812(0x392)]=_0x50453d[_0x21a812(0x354)]:_0x50453d[_0x21a812(0x348)][_0x21a812(0x257)]=_0x50453d[_0x21a812(0x354)]),(_0x515436[_0x21a812(0x2bf)]||_0x515436['password'])&&(_0x50453d[_0x21a812(0x380)]=_0x515436[_0x21a812(0x2bf)]+':'+_0x515436[_0x21a812(0x2ad)]),_0x39212d){const _0x1880cf=_0x50453d[_0x21a812(0x324)]['split'](':');_0x50453d[_0x21a812(0x1fa)]=_0x1880cf[0x0],_0x50453d[_0x21a812(0x324)]=_0x1880cf[0x1];}let _0x4481f9;if(_0x50453d[_0x21a812(0x32e)]){if(_0xabaf5[_0x21a812(0x294)]===0x0){_0xabaf5[_0x21a812(0x342)]=_0x39212d,_0xabaf5[_0x21a812(0x30b)]=_0x5d5367,_0xabaf5[_0x21a812(0x211)]=_0x39212d?_0x50453d[_0x21a812(0x1fa)]:_0x515436[_0x21a812(0x3a1)];const _0xf6c2eb=_0x56d590&&_0x56d590[_0x21a812(0x348)];if(_0x56d590={..._0x56d590,'headers':{}},_0xf6c2eb){for(const [_0x32287c,_0x53b34b]of Object[_0x21a812(0x347)](_0xf6c2eb))_0x56d590[_0x21a812(0x348)][_0x32287c[_0x21a812(0x307)]()]=_0x53b34b;}}else{if(_0xabaf5[_0x21a812(0x334)]('redirect')===0x0){const _0x36f069=_0x39212d?_0xabaf5[_0x21a812(0x342)]?_0x50453d[_0x21a812(0x1fa)]===_0xabaf5['_originalHostOrSocketPath']:!0x1:_0xabaf5['_originalIpc']?!0x1:_0x515436['host']===_0xabaf5[_0x21a812(0x211)];(!_0x36f069||_0xabaf5[_0x21a812(0x30b)]&&!_0x5d5367)&&(delete _0x50453d[_0x21a812(0x348)][_0x21a812(0x37d)],delete _0x50453d['headers'][_0x21a812(0x225)],_0x36f069||delete _0x50453d['headers'][_0x21a812(0x3a1)],_0x50453d[_0x21a812(0x380)]=void 0x0);}}_0x50453d[_0x21a812(0x380)]&&!_0x56d590['headers']['authorization']&&(_0x56d590[_0x21a812(0x348)][_0x21a812(0x37d)]=_0x21a812(0x268)+Buffer['from'](_0x50453d[_0x21a812(0x380)])[_0x21a812(0x275)](_0x21a812(0x1f7))),_0x4481f9=_0xabaf5[_0x21a812(0x379)]=_0xab8c07(_0x50453d),_0xabaf5[_0x21a812(0x294)]&&_0xabaf5[_0x21a812(0x1ef)](_0x21a812(0x356),_0xabaf5['url'],_0x4481f9);}else _0x4481f9=_0xabaf5[_0x21a812(0x379)]=_0xab8c07(_0x50453d);_0x50453d['timeout']&&_0x4481f9['on'](_0x21a812(0x3a5),()=>{_0x404b88(_0xabaf5,_0x4481f9,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4481f9['on'](_0x21a812(0x2a4),_0x432c6d=>{_0x4481f9===null||_0x4481f9[_0x12230b]||(_0x4481f9=_0xabaf5['_req']=null,_0x3e7d0b(_0xabaf5,_0x432c6d));}),_0x4481f9['on']('response',_0x161c86=>{const _0x7be0a5=_0x21a812,_0x23c260=_0x161c86[_0x7be0a5(0x348)][_0x7be0a5(0x2c2)],_0x664682=_0x161c86[_0x7be0a5(0x23b)];if(_0x23c260&&_0x50453d['followRedirects']&&_0x664682>=0x12c&&_0x664682<0x190){if(++_0xabaf5['_redirects']>_0x50453d['maxRedirects']){_0x404b88(_0xabaf5,_0x4481f9,_0x7be0a5(0x280));return;}_0x4481f9[_0x7be0a5(0x38e)]();let _0x4b7257;try{_0x4b7257=new _0xbeb4e5(_0x23c260,_0x35e5b3);}catch{const _0xc3d963=new SyntaxError('Invalid\x20URL:\x20'+_0x23c260);_0x3e7d0b(_0xabaf5,_0xc3d963);return;}_0x35b5d2(_0xabaf5,_0x4b7257,_0x193614,_0x56d590);}else _0xabaf5[_0x7be0a5(0x1ef)](_0x7be0a5(0x243),_0x4481f9,_0x161c86)||_0x404b88(_0xabaf5,_0x4481f9,'Unexpected\x20server\x20response:\x20'+_0x161c86['statusCode']);}),_0x4481f9['on'](_0x21a812(0x26c),(_0x309495,_0x173e8a,_0x1f6f89)=>{const _0x505c5d=_0x21a812;if(_0xabaf5[_0x505c5d(0x1ef)]('upgrade',_0x309495),_0xabaf5[_0x505c5d(0x2c9)]!==_0x1f3a4d[_0x505c5d(0x2dd)])return;_0x4481f9=_0xabaf5[_0x505c5d(0x379)]=null;const _0x4a47bf=_0x309495[_0x505c5d(0x348)]['upgrade'];if(_0x4a47bf===void 0x0||_0x4a47bf[_0x505c5d(0x307)]()!==_0x505c5d(0x217)){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x39d));return;}const _0x5cadfd=_0x4311a2(_0x505c5d(0x3a9))[_0x505c5d(0x30d)](_0x41f3e9+_0x5206b3)['digest'](_0x505c5d(0x1f7));if(_0x309495['headers'][_0x505c5d(0x2fd)]!==_0x5cadfd){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x21e));return;}const _0x54f6d3=_0x309495[_0x505c5d(0x348)][_0x505c5d(0x22e)];let _0xc961da;if(_0x54f6d3!==void 0x0?_0x2764fc[_0x505c5d(0x2d6)]?_0x2764fc[_0x505c5d(0x36e)](_0x54f6d3)||(_0xc961da=_0x505c5d(0x26d)):_0xc961da=_0x505c5d(0x270):_0x2764fc[_0x505c5d(0x2d6)]&&(_0xc961da=_0x505c5d(0x240)),_0xc961da){_0x404b88(_0xabaf5,_0x173e8a,_0xc961da);return;}_0x54f6d3&&(_0xabaf5[_0x505c5d(0x281)]=_0x54f6d3);const _0x3bec7a=_0x309495[_0x505c5d(0x348)][_0x505c5d(0x201)];if(_0x3bec7a!==void 0x0){if(!_0xbb281){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x357));return;}let _0xc91e32;try{_0xc91e32=_0x269685(_0x3bec7a);}catch{_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x20f));return;}const _0x3ebd12=Object['keys'](_0xc91e32);if(_0x3ebd12[_0x505c5d(0x326)]!==0x1||_0x3ebd12[0x0]!==_0x201e33[_0x505c5d(0x35e)]){_0x404b88(_0xabaf5,_0x173e8a,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xbb281[_0x505c5d(0x341)](_0xc91e32[_0x201e33['extensionName']]);}catch{_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x20f));return;}_0xabaf5[_0x505c5d(0x315)][_0x201e33[_0x505c5d(0x35e)]]=_0xbb281;}_0xabaf5[_0x505c5d(0x370)](_0x173e8a,_0x1f6f89,{'allowSynchronousEvents':_0x50453d[_0x505c5d(0x32f)],'generateMask':_0x50453d[_0x505c5d(0x2d3)],'maxPayload':_0x50453d[_0x505c5d(0x3ac)],'skipUTF8Validation':_0x50453d[_0x505c5d(0x1ed)]});}),_0x50453d[_0x21a812(0x3a0)]?_0x50453d['finishRequest'](_0x4481f9,_0xabaf5):_0x4481f9['end']();}function _0x3e7d0b(_0x337bb5,_0x4d4ecc){const _0x207cec=_0x26b0a6;_0x337bb5['_readyState']=_0x1f3a4d[_0x207cec(0x3a3)],_0x337bb5[_0x207cec(0x1f2)]=!0x0,_0x337bb5[_0x207cec(0x1ef)](_0x207cec(0x2a4),_0x4d4ecc),_0x337bb5[_0x207cec(0x2e6)]();}function _0x4ad808(_0x14a91b){const _0x587eea=_0x26b0a6;return _0x14a91b[_0x587eea(0x324)]=_0x14a91b[_0x587eea(0x1fa)],_0xc54418[_0x587eea(0x37e)](_0x14a91b);}function _0x3719e7(_0x238ea){const _0x5185d9=_0x26b0a6;return _0x238ea[_0x5185d9(0x324)]=void 0x0,!_0x238ea[_0x5185d9(0x353)]&&_0x238ea[_0x5185d9(0x353)]!==''&&(_0x238ea[_0x5185d9(0x353)]=_0xc54418['isIP'](_0x238ea['host'])?'':_0x238ea[_0x5185d9(0x3a1)]),_0x2afc87[_0x5185d9(0x37e)](_0x238ea);}function _0x404b88(_0x326711,_0x1bd41d,_0x42b457){const _0x4ca755=_0x26b0a6;_0x326711['_readyState']=_0x1f3a4d[_0x4ca755(0x3a3)];const _0x1a5251=new Error(_0x42b457);Error[_0x4ca755(0x2c1)](_0x1a5251,_0x404b88),_0x1bd41d[_0x4ca755(0x378)]?(_0x1bd41d[_0x12230b]=!0x0,_0x1bd41d[_0x4ca755(0x38e)](),_0x1bd41d[_0x4ca755(0x311)]&&!_0x1bd41d[_0x4ca755(0x311)][_0x4ca755(0x2c3)]&&_0x1bd41d[_0x4ca755(0x311)][_0x4ca755(0x2f8)](),process['nextTick'](_0x3e7d0b,_0x326711,_0x1a5251)):(_0x1bd41d['destroy'](_0x1a5251),_0x1bd41d[_0x4ca755(0x2dc)](_0x4ca755(0x2a4),_0x326711[_0x4ca755(0x1ef)]['bind'](_0x326711,_0x4ca755(0x2a4))),_0x1bd41d[_0x4ca755(0x2dc)](_0x4ca755(0x327),_0x326711[_0x4ca755(0x2e6)]['bind'](_0x326711)));}function _0x4ab052(_0x2291dc,_0x1e25bb,_0x7972ff){const _0x2622a8=_0x26b0a6;if(_0x1e25bb){const _0xc48553=_0x49dfd1(_0x1e25bb)?_0x1e25bb[_0x2622a8(0x2d6)]:_0x5e5c1a(_0x1e25bb)[_0x2622a8(0x326)];_0x2291dc[_0x2622a8(0x21c)]?_0x2291dc['_sender'][_0x2622a8(0x273)]+=_0xc48553:_0x2291dc['_bufferedAmount']+=_0xc48553;}if(_0x7972ff){const _0x11cc45=new Error(_0x2622a8(0x37a)+_0x2291dc[_0x2622a8(0x2c9)]+'\x20('+_0x9bb6ec[_0x2291dc[_0x2622a8(0x2c9)]]+')');process['nextTick'](_0x7972ff,_0x11cc45);}}function _0x2f14c1(_0x109aab,_0x498dfb){const _0x33cb3e=_0x26b0a6,_0x2fb4e9=this[_0x1dd5a0];_0x2fb4e9['_closeFrameReceived']=!0x0,_0x2fb4e9['_closeMessage']=_0x498dfb,_0x2fb4e9[_0x33cb3e(0x20e)]=_0x109aab,_0x2fb4e9[_0x33cb3e(0x21c)][_0x1dd5a0]!==void 0x0&&(_0x2fb4e9[_0x33cb3e(0x21c)][_0x33cb3e(0x321)](_0x33cb3e(0x1ec),_0xea0ad),process['nextTick'](_0x340cb0,_0x2fb4e9[_0x33cb3e(0x21c)]),_0x109aab===0x3ed?_0x2fb4e9[_0x33cb3e(0x327)]():_0x2fb4e9[_0x33cb3e(0x327)](_0x109aab,_0x498dfb));}function _0x5779da(){const _0x24bfca=_0x26b0a6,_0x2c94ea=this[_0x1dd5a0];_0x2c94ea[_0x24bfca(0x278)]||_0x2c94ea[_0x24bfca(0x21c)][_0x24bfca(0x2fe)]();}function _0x2b1ade(_0xa8f743){const _0x420116=_0x26b0a6,_0x4a05b8=this[_0x1dd5a0];_0x4a05b8[_0x420116(0x21c)][_0x1dd5a0]!==void 0x0&&(_0x4a05b8[_0x420116(0x21c)]['removeListener'](_0x420116(0x1ec),_0xea0ad),process[_0x420116(0x310)](_0x340cb0,_0x4a05b8[_0x420116(0x21c)]),_0x4a05b8[_0x420116(0x327)](_0xa8f743[_0x57ed03])),_0x4a05b8[_0x420116(0x1f2)]||(_0x4a05b8[_0x420116(0x1f2)]=!0x0,_0x4a05b8[_0x420116(0x1ef)](_0x420116(0x2a4),_0xa8f743));}function _0x47efef(){const _0x3752b9=_0x26b0a6;this[_0x1dd5a0][_0x3752b9(0x2e6)]();}function _0x4375d2(_0x9abe6b,_0x310121){const _0x24bdde=_0x26b0a6;this[_0x1dd5a0][_0x24bdde(0x1ef)](_0x24bdde(0x1fe),_0x9abe6b,_0x310121);}function _0x323f82(_0x2dcdd0){const _0x5ab107=_0x26b0a6,_0x5691b7=this[_0x1dd5a0];_0x5691b7[_0x5ab107(0x205)]&&_0x5691b7[_0x5ab107(0x291)](_0x2dcdd0,!this[_0x5ab107(0x37f)],_0x563769),_0x5691b7[_0x5ab107(0x1ef)](_0x5ab107(0x25f),_0x2dcdd0);}function _0x4e0c63(_0x1596fa){const _0x3091d0=_0x26b0a6;this[_0x1dd5a0][_0x3091d0(0x1ef)](_0x3091d0(0x291),_0x1596fa);}function _0x340cb0(_0x46ddd2){const _0x57d745=_0x26b0a6;_0x46ddd2[_0x57d745(0x2fe)]();}function _0x384601(_0x31b602){const _0x309671=_0x26b0a6,_0x35c92c=this[_0x1dd5a0];_0x35c92c[_0x309671(0x2c9)]!==_0x1f3a4d['CLOSED']&&(_0x35c92c[_0x309671(0x2c9)]===_0x1f3a4d[_0x309671(0x262)]&&(_0x35c92c[_0x309671(0x22f)]=_0x1f3a4d[_0x309671(0x3a3)],_0x40b79f(_0x35c92c)),this[_0x309671(0x21c)][_0x309671(0x31b)](),_0x35c92c[_0x309671(0x1f2)]||(_0x35c92c['_errorEmitted']=!0x0,_0x35c92c[_0x309671(0x1ef)](_0x309671(0x2a4),_0x31b602)));}function _0x40b79f(_0x32933e){const _0x3be448=_0x26b0a6;_0x32933e[_0x3be448(0x36f)]=setTimeout(_0x32933e[_0x3be448(0x21c)][_0x3be448(0x2f8)][_0x3be448(0x2b9)](_0x32933e[_0x3be448(0x21c)]),_0x3eaa49);}function _0x2b788e(){const _0x227dc0=_0x26b0a6,_0x4173d1=this[_0x1dd5a0];this[_0x227dc0(0x321)](_0x227dc0(0x327),_0x2b788e),this[_0x227dc0(0x321)](_0x227dc0(0x1ec),_0xea0ad),this['removeListener']('end',_0x1247b6),_0x4173d1[_0x227dc0(0x22f)]=_0x1f3a4d[_0x227dc0(0x3a3)];let _0x5b9290;!this[_0x227dc0(0x2e1)]['endEmitted']&&!_0x4173d1[_0x227dc0(0x2ea)]&&!_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)][_0x227dc0(0x228)]&&(_0x5b9290=_0x4173d1[_0x227dc0(0x21c)]['read']())!==null&&_0x4173d1[_0x227dc0(0x2f5)]['write'](_0x5b9290),_0x4173d1[_0x227dc0(0x2f5)]['end'](),this[_0x1dd5a0]=void 0x0,clearTimeout(_0x4173d1[_0x227dc0(0x36f)]),_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)][_0x227dc0(0x336)]||_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)]['errorEmitted']?_0x4173d1[_0x227dc0(0x2e6)]():(_0x4173d1[_0x227dc0(0x2f5)]['on'](_0x227dc0(0x2a4),_0x47efef),_0x4173d1[_0x227dc0(0x2f5)]['on']('finish',_0x47efef));}function _0xea0ad(_0x5ac5fb){const _0x5c6845=_0x26b0a6;this[_0x1dd5a0]['_receiver'][_0x5c6845(0x229)](_0x5ac5fb)||this[_0x5c6845(0x2cd)]();}function _0x1247b6(){const _0x241e5c=_0x26b0a6,_0x3d782c=this[_0x1dd5a0];_0x3d782c[_0x241e5c(0x22f)]=_0x1f3a4d['CLOSING'],_0x3d782c[_0x241e5c(0x2f5)][_0x241e5c(0x31b)](),this[_0x241e5c(0x31b)]();}function _0x380f4f(){const _0x5d6245=_0x26b0a6,_0xcd2a1c=this[_0x1dd5a0];this['removeListener'](_0x5d6245(0x2a4),_0x380f4f),this['on'](_0x5d6245(0x2a4),_0x563769),_0xcd2a1c&&(_0xcd2a1c[_0x5d6245(0x22f)]=_0x1f3a4d[_0x5d6245(0x3a3)],this[_0x5d6245(0x2f8)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1e42fd}=oe;function _0x109004(_0x2a7624){const _0x5ad58b=_0x49e0;_0x2a7624[_0x5ad58b(0x1ef)](_0x5ad58b(0x327));}function _0x14708b(){const _0x2f2f5a=_0x49e0;!this[_0x2f2f5a(0x2c3)]&&this[_0x2f2f5a(0x2a2)][_0x2f2f5a(0x336)]&&this[_0x2f2f5a(0x2f8)]();}function _0x326589(_0xfdb482){const _0x339a44=_0x49e0;this[_0x339a44(0x321)](_0x339a44(0x2a4),_0x326589),this[_0x339a44(0x2f8)](),this[_0x339a44(0x334)](_0x339a44(0x2a4))===0x0&&this[_0x339a44(0x1ef)]('error',_0xfdb482);}function _0x5a4d13(_0x9f5467,_0x175b03){const _0x554011=_0x49e0;let _0x33d8f7=!0x0;const _0x17d6bb=new _0x1e42fd({..._0x175b03,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x9f5467['on'](_0x554011(0x1fe),function(_0xba2692,_0x1048ae){const _0x1b2ebf=_0x554011,_0x1b75a4=!_0x1048ae&&_0x17d6bb[_0x1b2ebf(0x2e1)][_0x1b2ebf(0x265)]?_0xba2692['toString']():_0xba2692;_0x17d6bb[_0x1b2ebf(0x271)](_0x1b75a4)||_0x9f5467[_0x1b2ebf(0x2cd)]();}),_0x9f5467[_0x554011(0x2dc)]('error',function(_0x2335ac){_0x17d6bb['destroyed']||(_0x33d8f7=!0x1,_0x17d6bb['destroy'](_0x2335ac));}),_0x9f5467['once'](_0x554011(0x327),function(){const _0x42edd7=_0x554011;_0x17d6bb['destroyed']||_0x17d6bb[_0x42edd7(0x271)](null);}),_0x17d6bb[_0x554011(0x2df)]=function(_0x28b939,_0x2063de){const _0x3bb104=_0x554011;if(_0x9f5467[_0x3bb104(0x2c9)]===_0x9f5467[_0x3bb104(0x1f4)]){_0x2063de(_0x28b939),process[_0x3bb104(0x310)](_0x109004,_0x17d6bb);return;}let _0x16b109=!0x1;_0x9f5467['once']('error',function(_0xa2c72a){_0x16b109=!0x0,_0x2063de(_0xa2c72a);}),_0x9f5467[_0x3bb104(0x2dc)](_0x3bb104(0x327),function(){const _0xf2b7e5=_0x3bb104;_0x16b109||_0x2063de(_0x28b939),process[_0xf2b7e5(0x310)](_0x109004,_0x17d6bb);}),_0x33d8f7&&_0x9f5467[_0x3bb104(0x313)]();},_0x17d6bb[_0x554011(0x29f)]=function(_0x3aa90b){const _0x944384=_0x554011;if(_0x9f5467[_0x944384(0x2c9)]===_0x9f5467[_0x944384(0x2dd)]){_0x9f5467[_0x944384(0x2dc)](_0x944384(0x212),function(){const _0x1c9b77=_0x944384;_0x17d6bb[_0x1c9b77(0x29f)](_0x3aa90b);});return;}_0x9f5467[_0x944384(0x21c)]!==null&&(_0x9f5467[_0x944384(0x21c)][_0x944384(0x2a2)][_0x944384(0x336)]?(_0x3aa90b(),_0x17d6bb[_0x944384(0x2e1)][_0x944384(0x2b3)]&&_0x17d6bb[_0x944384(0x2f8)]()):(_0x9f5467[_0x944384(0x21c)]['once'](_0x944384(0x328),function(){_0x3aa90b();}),_0x9f5467[_0x944384(0x327)]()));},_0x17d6bb['_read']=function(){const _0x438bb3=_0x554011;_0x9f5467['isPaused']&&_0x9f5467[_0x438bb3(0x2fe)]();},_0x17d6bb[_0x554011(0x214)]=function(_0xa374d3,_0x1b75b8,_0x404132){const _0x220dfe=_0x554011;if(_0x9f5467['readyState']===_0x9f5467[_0x220dfe(0x2dd)]){_0x9f5467[_0x220dfe(0x2dc)](_0x220dfe(0x212),function(){const _0x1b24ac=_0x220dfe;_0x17d6bb[_0x1b24ac(0x214)](_0xa374d3,_0x1b75b8,_0x404132);});return;}_0x9f5467['send'](_0xa374d3,_0x404132);},_0x17d6bb['on']('end',_0x14708b),_0x17d6bb['on'](_0x554011(0x2a4),_0x326589),_0x17d6bb;}return Oe=_0x5a4d13,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1120dc}=ae();function _0xd00eda(_0x1663a9){const _0x44e7e1=_0x49e0,_0x4d91fc=new Set();let _0x3d4ecf=-0x1,_0x244172=-0x1,_0x210375=0x0;for(_0x210375;_0x210375<_0x1663a9[_0x44e7e1(0x326)];_0x210375++){const _0x11a35b=_0x1663a9[_0x44e7e1(0x254)](_0x210375);if(_0x244172===-0x1&&_0x1120dc[_0x11a35b]===0x1)_0x3d4ecf===-0x1&&(_0x3d4ecf=_0x210375);else{if(_0x210375!==0x0&&(_0x11a35b===0x20||_0x11a35b===0x9))_0x244172===-0x1&&_0x3d4ecf!==-0x1&&(_0x244172=_0x210375);else{if(_0x11a35b===0x2c){if(_0x3d4ecf===-0x1)throw new SyntaxError(_0x44e7e1(0x218)+_0x210375);_0x244172===-0x1&&(_0x244172=_0x210375);const _0x4a7575=_0x1663a9[_0x44e7e1(0x1f5)](_0x3d4ecf,_0x244172);if(_0x4d91fc[_0x44e7e1(0x36e)](_0x4a7575))throw new SyntaxError('The\x20\x22'+_0x4a7575+'\x22\x20subprotocol\x20is\x20duplicated');_0x4d91fc[_0x44e7e1(0x363)](_0x4a7575),_0x3d4ecf=_0x244172=-0x1;}else throw new SyntaxError(_0x44e7e1(0x218)+_0x210375);}}}if(_0x3d4ecf===-0x1||_0x244172!==-0x1)throw new SyntaxError(_0x44e7e1(0x2ba));const _0x218f68=_0x1663a9[_0x44e7e1(0x1f5)](_0x3d4ecf,_0x210375);if(_0x4d91fc[_0x44e7e1(0x36e)](_0x218f68))throw new SyntaxError(_0x44e7e1(0x244)+_0x218f68+_0x44e7e1(0x246));return _0x4d91fc[_0x44e7e1(0x363)](_0x218f68),_0x4d91fc;}return Ce={'parse':_0xd00eda},Ce;}var Te,rt;function Ft(){const _0x6f6a18=_0x519561;if(rt)return Te;rt=0x1;const _0x108735=nt,_0x5ac818=ot,{Duplex:_0x2de539}=oe,{createHash:_0x52bef7}=Le,_0x529efc=ct(),_0x3f159d=he(),_0x522bac=At(),_0x5afcdf=Pe(),{GUID:_0x38d99b,kWebSocket:_0x3da645}=H(),_0x27b47e=/^[+/0-9A-Za-z]{22}==$/,_0x42c213=0x0,_0x13d147=0x1,_0x674cab=0x2;class _0x1b342d extends _0x108735{constructor(_0x2e0b36,_0x46649c){const _0x9c7fe8=_0x49e0;if(super(),_0x2e0b36={'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':_0x5afcdf,..._0x2e0b36},_0x2e0b36['port']==null&&!_0x2e0b36[_0x9c7fe8(0x29b)]&&!_0x2e0b36[_0x9c7fe8(0x2a5)]||_0x2e0b36[_0x9c7fe8(0x397)]!=null&&(_0x2e0b36['server']||_0x2e0b36[_0x9c7fe8(0x2a5)])||_0x2e0b36[_0x9c7fe8(0x29b)]&&_0x2e0b36[_0x9c7fe8(0x2a5)])throw new TypeError(_0x9c7fe8(0x2ce));if(_0x2e0b36[_0x9c7fe8(0x397)]!=null?(this[_0x9c7fe8(0x385)]=_0x5ac818[_0x9c7fe8(0x35b)]((_0x33f40c,_0x3506d1)=>{const _0x37bd5e=_0x9c7fe8,_0x3c4704=_0x5ac818[_0x37bd5e(0x2a9)][0x1aa];_0x3506d1['writeHead'](0x1aa,{'Content-Length':_0x3c4704['length'],'Content-Type':_0x37bd5e(0x33a)}),_0x3506d1['end'](_0x3c4704);}),this[_0x9c7fe8(0x385)]['listen'](_0x2e0b36[_0x9c7fe8(0x397)],_0x2e0b36[_0x9c7fe8(0x3a1)],_0x2e0b36[_0x9c7fe8(0x35d)],_0x46649c)):_0x2e0b36['server']&&(this[_0x9c7fe8(0x385)]=_0x2e0b36[_0x9c7fe8(0x29b)]),this[_0x9c7fe8(0x385)]){const _0x249f8c=this[_0x9c7fe8(0x1ef)][_0x9c7fe8(0x2b9)](this,_0x9c7fe8(0x372));this[_0x9c7fe8(0x395)]=_0x5f03d4(this[_0x9c7fe8(0x385)],{'listening':this[_0x9c7fe8(0x1ef)]['bind'](this,_0x9c7fe8(0x2bd)),'error':this[_0x9c7fe8(0x1ef)][_0x9c7fe8(0x2b9)](this,_0x9c7fe8(0x2a4)),'upgrade':(_0x57c391,_0x5ae517,_0x533e46)=>{const _0x507ebc=_0x9c7fe8;this[_0x507ebc(0x2d7)](_0x57c391,_0x5ae517,_0x533e46,_0x249f8c);}});}_0x2e0b36[_0x9c7fe8(0x2a7)]===!0x0&&(_0x2e0b36[_0x9c7fe8(0x2a7)]={}),_0x2e0b36[_0x9c7fe8(0x2f7)]&&(this[_0x9c7fe8(0x20d)]=new Set(),this[_0x9c7fe8(0x350)]=!0x1),this[_0x9c7fe8(0x206)]=_0x2e0b36,this[_0x9c7fe8(0x2e8)]=_0x42c213;}[_0x6f6a18(0x32b)](){const _0xc890f4=_0x6f6a18;if(this[_0xc890f4(0x206)][_0xc890f4(0x2a5)])throw new Error(_0xc890f4(0x323));return this[_0xc890f4(0x385)]?this[_0xc890f4(0x385)][_0xc890f4(0x32b)]():null;}[_0x6f6a18(0x327)](_0x24cc42){const _0x3a4d2d=_0x6f6a18;if(this[_0x3a4d2d(0x2e8)]===_0x674cab){_0x24cc42&&this[_0x3a4d2d(0x2dc)](_0x3a4d2d(0x327),()=>{const _0x51d2d1=_0x3a4d2d;_0x24cc42(new Error(_0x51d2d1(0x287)));}),process['nextTick'](_0x15a14a,this);return;}if(_0x24cc42&&this[_0x3a4d2d(0x2dc)](_0x3a4d2d(0x327),_0x24cc42),this[_0x3a4d2d(0x2e8)]!==_0x13d147){if(this[_0x3a4d2d(0x2e8)]=_0x13d147,this[_0x3a4d2d(0x206)][_0x3a4d2d(0x2a5)]||this[_0x3a4d2d(0x206)][_0x3a4d2d(0x29b)])this[_0x3a4d2d(0x385)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x3a4d2d(0x385)]=null),this[_0x3a4d2d(0x20d)]?this[_0x3a4d2d(0x20d)]['size']?this[_0x3a4d2d(0x350)]=!0x0:process[_0x3a4d2d(0x310)](_0x15a14a,this):process['nextTick'](_0x15a14a,this);else{const _0x1d4c1a=this['_server'];this[_0x3a4d2d(0x395)](),this[_0x3a4d2d(0x395)]=this['_server']=null,_0x1d4c1a[_0x3a4d2d(0x327)](()=>{_0x15a14a(this);});}}}[_0x6f6a18(0x30e)](_0x2de1e3){const _0x470e60=_0x6f6a18;if(this[_0x470e60(0x206)][_0x470e60(0x324)]){const _0x3c4cb2=_0x2de1e3[_0x470e60(0x216)][_0x470e60(0x303)]('?');if((_0x3c4cb2!==-0x1?_0x2de1e3[_0x470e60(0x216)][_0x470e60(0x1f5)](0x0,_0x3c4cb2):_0x2de1e3['url'])!==this[_0x470e60(0x206)][_0x470e60(0x324)])return!0x1;}return!0x0;}['handleUpgrade'](_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1){const _0x355157=_0x6f6a18;_0x2b40a3['on']('error',_0x1a6070);const _0x50d0da=_0x9886a6[_0x355157(0x348)]['sec-websocket-key'],_0x1e53ee=_0x9886a6['headers']['upgrade'],_0x4e4886=+_0x9886a6[_0x355157(0x348)]['sec-websocket-version'];if(_0x9886a6[_0x355157(0x305)]!==_0x355157(0x23e)){_0x479533(this,_0x9886a6,_0x2b40a3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1e53ee===void 0x0||_0x1e53ee[_0x355157(0x307)]()!=='websocket'){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x39d));return;}if(_0x50d0da===void 0x0||!_0x27b47e['test'](_0x50d0da)){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x367));return;}if(_0x4e4886!==0x8&&_0x4e4886!==0xd){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x242));return;}if(!this['shouldHandle'](_0x9886a6)){_0x26d68c(_0x2b40a3,0x190);return;}const _0x47b0f0=_0x9886a6[_0x355157(0x348)][_0x355157(0x22e)];let _0x334468=new Set();if(_0x47b0f0!==void 0x0)try{_0x334468=_0x522bac[_0x355157(0x23c)](_0x47b0f0);}catch{_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x263));return;}const _0x53aa24=_0x9886a6[_0x355157(0x348)]['sec-websocket-extensions'],_0x5214a3={};if(this['options'][_0x355157(0x2a7)]&&_0x53aa24!==void 0x0){const _0x4a150b=new _0x3f159d(this[_0x355157(0x206)][_0x355157(0x2a7)],!0x0,this[_0x355157(0x206)][_0x355157(0x3ac)]);try{const _0x469ae1=_0x529efc['parse'](_0x53aa24);_0x469ae1[_0x3f159d[_0x355157(0x35e)]]&&(_0x4a150b[_0x355157(0x341)](_0x469ae1[_0x3f159d['extensionName']]),_0x5214a3[_0x3f159d[_0x355157(0x35e)]]=_0x4a150b);}catch{_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x23a));return;}}if(this[_0x355157(0x206)]['verifyClient']){const _0x17b09c={'origin':_0x9886a6[_0x355157(0x348)][''+(_0x4e4886===0x8?_0x355157(0x1eb):'origin')],'secure':!!(_0x9886a6[_0x355157(0x311)][_0x355157(0x362)]||_0x9886a6[_0x355157(0x311)][_0x355157(0x2da)]),'req':_0x9886a6};if(this[_0x355157(0x206)][_0x355157(0x38c)]['length']===0x2){this[_0x355157(0x206)][_0x355157(0x38c)](_0x17b09c,(_0x2499c7,_0x3202a6,_0x1bb0c1,_0x27d558)=>{const _0x2e3bea=_0x355157;if(!_0x2499c7)return _0x26d68c(_0x2b40a3,_0x3202a6||0x191,_0x1bb0c1,_0x27d558);this[_0x2e3bea(0x2ec)](_0x5214a3,_0x50d0da,_0x334468,_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1);});return;}if(!this[_0x355157(0x206)]['verifyClient'](_0x17b09c))return _0x26d68c(_0x2b40a3,0x191);}this[_0x355157(0x2ec)](_0x5214a3,_0x50d0da,_0x334468,_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1);}[_0x6f6a18(0x2ec)](_0x5b00e0,_0xcbe4f6,_0x5c252b,_0x45781a,_0x3ff1f5,_0x117cb8,_0x5bd06d){const _0x319b1b=_0x6f6a18;if(!_0x3ff1f5[_0x319b1b(0x2e7)]||!_0x3ff1f5[_0x319b1b(0x308)])return _0x3ff1f5['destroy']();if(_0x3ff1f5[_0x3da645])throw new Error(_0x319b1b(0x30a));if(this[_0x319b1b(0x2e8)]>_0x42c213)return _0x26d68c(_0x3ff1f5,0x1f7);const _0x1e5060=[_0x319b1b(0x2a1),_0x319b1b(0x28b),_0x319b1b(0x2b6),_0x319b1b(0x247)+_0x52bef7(_0x319b1b(0x3a9))[_0x319b1b(0x30d)](_0xcbe4f6+_0x38d99b)['digest'](_0x319b1b(0x1f7))],_0x5100c5=new this[(_0x319b1b(0x206))][(_0x319b1b(0x22b))](null,void 0x0,this[_0x319b1b(0x206)]);if(_0x5c252b[_0x319b1b(0x2d6)]){const _0x4f5c88=this[_0x319b1b(0x206)]['handleProtocols']?this[_0x319b1b(0x206)]['handleProtocols'](_0x5c252b,_0x45781a):_0x5c252b[_0x319b1b(0x2c6)]()[_0x319b1b(0x31e)]()[_0x319b1b(0x2ee)];_0x4f5c88&&(_0x1e5060[_0x319b1b(0x271)]('Sec-WebSocket-Protocol:\x20'+_0x4f5c88),_0x5100c5['_protocol']=_0x4f5c88);}if(_0x5b00e0[_0x3f159d['extensionName']]){const _0x596f0c=_0x5b00e0[_0x3f159d[_0x319b1b(0x35e)]][_0x319b1b(0x233)],_0x1dca15=_0x529efc['format']({[_0x3f159d['extensionName']]:[_0x596f0c]});_0x1e5060[_0x319b1b(0x271)](_0x319b1b(0x33e)+_0x1dca15),_0x5100c5[_0x319b1b(0x315)]=_0x5b00e0;}this['emit'](_0x319b1b(0x348),_0x1e5060,_0x45781a),_0x3ff1f5[_0x319b1b(0x229)](_0x1e5060['concat']('\x0d\x0a')[_0x319b1b(0x28d)]('\x0d\x0a')),_0x3ff1f5['removeListener'](_0x319b1b(0x2a4),_0x1a6070),_0x5100c5[_0x319b1b(0x370)](_0x3ff1f5,_0x117cb8,{'allowSynchronousEvents':this[_0x319b1b(0x206)]['allowSynchronousEvents'],'maxPayload':this[_0x319b1b(0x206)][_0x319b1b(0x3ac)],'skipUTF8Validation':this['options'][_0x319b1b(0x1ed)]}),this[_0x319b1b(0x20d)]&&(this[_0x319b1b(0x20d)][_0x319b1b(0x363)](_0x5100c5),_0x5100c5['on'](_0x319b1b(0x327),()=>{const _0x202222=_0x319b1b;this[_0x202222(0x20d)][_0x202222(0x2e2)](_0x5100c5),this[_0x202222(0x350)]&&!this[_0x202222(0x20d)][_0x202222(0x2d6)]&&process[_0x202222(0x310)](_0x15a14a,this);})),_0x5bd06d(_0x5100c5,_0x45781a);}}Te=_0x1b342d;function _0x5f03d4(_0x3382dd,_0x3cebf8){const _0x335b26=_0x6f6a18;for(const _0x41d56c of Object[_0x335b26(0x2b8)](_0x3cebf8))_0x3382dd['on'](_0x41d56c,_0x3cebf8[_0x41d56c]);return function(){for(const _0x5c879f of Object['keys'](_0x3cebf8))_0x3382dd['removeListener'](_0x5c879f,_0x3cebf8[_0x5c879f]);};}function _0x15a14a(_0x533921){const _0x44d82d=_0x6f6a18;_0x533921[_0x44d82d(0x2e8)]=_0x674cab,_0x533921[_0x44d82d(0x1ef)](_0x44d82d(0x327));}function _0x1a6070(){this['destroy']();}function _0x26d68c(_0x381898,_0x305c04,_0x30f805,_0x483c08){const _0x1fd893=_0x6f6a18;_0x30f805=_0x30f805||_0x5ac818[_0x1fd893(0x2a9)][_0x305c04],_0x483c08={'Connection':_0x1fd893(0x327),'Content-Type':_0x1fd893(0x267),'Content-Length':Buffer[_0x1fd893(0x28c)](_0x30f805),..._0x483c08},_0x381898[_0x1fd893(0x2dc)](_0x1fd893(0x328),_0x381898['destroy']),_0x381898['end'](_0x1fd893(0x21a)+_0x305c04+'\x20'+_0x5ac818[_0x1fd893(0x2a9)][_0x305c04]+'\x0d\x0a'+Object[_0x1fd893(0x2b8)](_0x483c08)['map'](_0x15c0c5=>_0x15c0c5+':\x20'+_0x483c08[_0x15c0c5])[_0x1fd893(0x28d)]('\x0d\x0a')+_0x1fd893(0x2db)+_0x30f805);}function _0x479533(_0x4d25d1,_0x34a944,_0x46564e,_0x5e2c78,_0x16c84f){const _0x41e7e4=_0x6f6a18;if(_0x4d25d1[_0x41e7e4(0x334)](_0x41e7e4(0x344))){const _0x373a90=new Error(_0x16c84f);Error[_0x41e7e4(0x2c1)](_0x373a90,_0x479533),_0x4d25d1[_0x41e7e4(0x1ef)](_0x41e7e4(0x344),_0x373a90,_0x46564e,_0x34a944);}else _0x26d68c(_0x46564e,_0x5e2c78,_0x16c84f);}return Te;}Ft();var jt=Object[_0x519561(0x34f)],Wt=(_0x172f86,_0xfc767b,_0x42daba,_0x4c1564)=>{const _0x1337b6=_0x519561;for(var _0x229383=_0x4c1564>0x1?void 0x0:_0x4c1564?jt(_0xfc767b,_0x42daba):_0xfc767b,_0x5a1fab=_0x172f86[_0x1337b6(0x326)]-0x1,_0x4c4c97;_0x5a1fab>=0x0;_0x5a1fab--)(_0x4c4c97=_0x172f86[_0x5a1fab])&&(_0x229383=_0x4c4c97(_0x229383)||_0x229383);return _0x229383;},qt=(_0x475d06,_0x21f87b)=>(_0x1b0190,_0x4afc6e)=>_0x21f87b(_0x1b0190,_0x4afc6e,_0x475d06);let ke=class extends A[_0x519561(0x34c)]{constructor(_0x559af0){const _0x4fe58b=_0x519561;super(),this[_0x4fe58b(0x340)]=_0x559af0;}['createSocket'](_0x25676e){const _0x3b1d16=_0x519561;var _0x2539fe;const _0x4d483b=(_0x2539fe=this[_0x3b1d16(0x340)][_0x3b1d16(0x316)](fe))==null?void 0x0:_0x2539fe[_0x3b1d16(0x24b)];try{const _0x1edf68=new $t(_0x25676e,{'headers':{..._0x4d483b}}),_0x3b2243=new A[(_0x3b1d16(0x2f4))]();return{'URL':_0x25676e,'close':(_0x1e86be,_0x55614b)=>{const _0x58379b=_0x3b1d16;_0x1edf68[_0x58379b(0x327)](_0x1e86be,_0x55614b),_0x3b2243[_0x58379b(0x335)]();},'send':_0x2bb9b6=>{const _0x441fd4=_0x3b1d16;_0x1edf68[_0x441fd4(0x309)](_0x2bb9b6);},'open$':new V['Observable'](_0x4a8067=>{const _0x5a84d6=_0x3b1d16,_0x1c4a34=_0x16f3c2=>_0x4a8067[_0x5a84d6(0x31e)](_0x16f3c2);_0x1edf68['addEventListener'](_0x5a84d6(0x212),_0x1c4a34),_0x3b2243[_0x5a84d6(0x363)](A['toDisposable'](()=>_0x1edf68[_0x5a84d6(0x204)]('open',_0x1c4a34)));})['pipe'](V['share']()),'close$':new V[(_0x3b1d16(0x24e))](_0x49b336=>{const _0x3a5b24=_0x3b1d16,_0x244988=_0x45a818=>_0x49b336[_0x3a5b24(0x31e)](_0x45a818);_0x1edf68[_0x3a5b24(0x382)](_0x3a5b24(0x327),_0x244988),_0x3b2243[_0x3a5b24(0x363)](A['toDisposable'](()=>_0x1edf68[_0x3a5b24(0x204)](_0x3a5b24(0x327),_0x244988)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]()),'error$':new V[(_0x3b1d16(0x24e))](_0xee1fb9=>{const _0xab1ca9=_0x3b1d16,_0x2e41ca=_0x3a33a7=>_0xee1fb9[_0xab1ca9(0x31e)](_0x3a33a7);_0x1edf68['addEventListener'](_0xab1ca9(0x2a4),_0x2e41ca),_0x3b2243[_0xab1ca9(0x363)](A['toDisposable'](()=>_0x1edf68['removeEventListener'](_0xab1ca9(0x2a4),_0x2e41ca)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]()),'message$':new V['Observable'](_0x134e5b=>{const _0x66a07c=_0x3b1d16,_0xf457b6=_0x30750a=>_0x134e5b['next'](_0x30750a);_0x1edf68[_0x66a07c(0x382)](_0x66a07c(0x1fe),_0xf457b6),_0x3b2243[_0x66a07c(0x363)](A[_0x66a07c(0x346)](()=>_0x1edf68[_0x66a07c(0x204)](_0x66a07c(0x1fe),_0xf457b6)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]())};}catch(_0x2f6354){return console[_0x3b1d16(0x2a4)](_0x2f6354),null;}}};ke=Wt([qt(0x0,A[_0x519561(0x239)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x519561(0x34f)],Ht=(_0x75e72b,_0x5cd837,_0x2c0bd2)=>_0x5cd837 in _0x75e72b?Gt(_0x75e72b,_0x5cd837,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0bd2}):_0x75e72b[_0x5cd837]=_0x2c0bd2,zt=(_0x4cc178,_0x5f34cd,_0x198c27,_0x4c18ab)=>{const _0x4d06cd=_0x519561;for(var _0x547e0d=_0x4c18ab>0x1?void 0x0:_0x4c18ab?Vt(_0x5f34cd,_0x198c27):_0x5f34cd,_0x1dbe5c=_0x4cc178[_0x4d06cd(0x326)]-0x1,_0x50845e;_0x1dbe5c>=0x0;_0x1dbe5c--)(_0x50845e=_0x4cc178[_0x1dbe5c])&&(_0x547e0d=_0x50845e(_0x547e0d)||_0x547e0d);return _0x547e0d;},Ne=(_0x42a60b,_0x478d9e)=>(_0x2c0ada,_0x56e5af)=>_0x478d9e(_0x2c0ada,_0x56e5af,_0x42a60b),Yt=(_0x589fe3,_0x4b1d18,_0x44759e)=>Ht(_0x589fe3,_0x4b1d18+'',_0x44759e);exports[_0x519561(0x220)]=class extends A['Plugin']{constructor(_0x587b4c=Ct,_0x2fb29b,_0x3c3b06,_0x21f2eb){const _0x498bb6=_0x519561;_0x587b4c[_0x498bb6(0x24b)]||_0x2fb29b['warn'](_0x498bb6(0x361)),super(),this[_0x498bb6(0x340)]=_0x3c3b06,this[_0x498bb6(0x2eb)]=_0x21f2eb,this['_configService'][_0x498bb6(0x295)](fe,_0x587b4c);}['onStarting'](){const _0x782b57=_0x519561;this[_0x782b57(0x222)]();}[_0x519561(0x222)](){const _0x2080f1=_0x519561;A['registerDependencies'](this[_0x2080f1(0x2eb)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x519561(0x220)]=zt([A[_0x519561(0x1f0)](st[_0x519561(0x23f)]),Ne(0x1,A[_0x519561(0x32a)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x519561(0x241)](A[_0x519561(0x2e4)]))],exports[_0x519561(0x220)]);var Kt=Object[_0x519561(0x34f)],Xt=(_0x31dd7a,_0x2c39ea,_0x32327e,_0x513aec)=>{const _0x4a2689=_0x519561;for(var _0xfd8048=_0x513aec>0x1?void 0x0:_0x513aec?Kt(_0x2c39ea,_0x32327e):_0x2c39ea,_0x57b8e2=_0x31dd7a[_0x4a2689(0x326)]-0x1,_0x2f9c4c;_0x57b8e2>=0x0;_0x57b8e2--)(_0x2f9c4c=_0x31dd7a[_0x57b8e2])&&(_0xfd8048=_0x2f9c4c(_0xfd8048)||_0xfd8048);return _0xfd8048;},ne=(_0x19a2c0,_0x3289e1)=>(_0x1d985c,_0x4aae46)=>_0x3289e1(_0x1d985c,_0x4aae46,_0x19a2c0);exports['NodeCollaborationSocketService']=class extends st[_0x519561(0x332)]{constructor(_0x36b715,_0x2240f5,_0x26fe98,_0x4255de,_0x461499){const _0x4046c6=_0x519561;super(_0x36b715,_0x2240f5,_0x26fe98,_0x4255de,_0x461499);const _0x407969=this[_0x4046c6(0x340)]['getConfig'](fe);this[_0x4046c6(0x260)][_0x4046c6(0x1ee)]({'interceptor':(_0x210c0d,_0x5e12d5)=>{const _0x473a19=_0x4046c6;var _0x3cfc5e;const _0x21c504=_0x210c0d[_0x473a19(0x348)];return(_0x3cfc5e=_0x407969==null?void 0x0:_0x407969['customHeaders'])!=null&&_0x3cfc5e[_0x473a19(0x225)]&&_0x21c504[_0x473a19(0x3aa)](_0x473a19(0x26b),_0x407969[_0x473a19(0x24b)][_0x473a19(0x225)]),_0x5e12d5(_0x210c0d);}});}async[_0x519561(0x2d0)](_0x3e76cd){const _0xb8effd=_0x519561;return this[_0xb8effd(0x209)](_0x3e76cd);}},exports[_0x519561(0x355)]=Xt([ne(0x0,A[_0x519561(0x241)](A[_0x519561(0x2e4)])),ne(0x1,A[_0x519561(0x241)](it[_0x519561(0x351)])),ne(0x2,A[_0x519561(0x239)]),ne(0x3,A[_0x519561(0x32a)]),ne(0x4,Ot[_0x519561(0x301)])],exports['NodeCollaborationSocketService']),exports[_0x519561(0x374)]=fe;