@univerjs-pro/collaboration-client-node 0.6.8 → 0.6.9

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 _0x5c4c14=_0x20d9;(function(_0x4a3885,_0x58ca50){const _0x1291ad=_0x20d9,_0x5d83b0=_0x4a3885();while(!![]){try{const _0x4bea37=parseInt(_0x1291ad(0x1cd))/0x1+-parseInt(_0x1291ad(0x294))/0x2+parseInt(_0x1291ad(0x2b0))/0x3+-parseInt(_0x1291ad(0x15b))/0x4*(-parseInt(_0x1291ad(0x136))/0x5)+parseInt(_0x1291ad(0x28b))/0x6+-parseInt(_0x1291ad(0x176))/0x7*(-parseInt(_0x1291ad(0x208))/0x8)+parseInt(_0x1291ad(0x1e2))/0x9*(-parseInt(_0x1291ad(0x10e))/0xa);if(_0x4bea37===_0x58ca50)break;else _0x5d83b0['push'](_0x5d83b0['shift']());}catch(_0x6d5b2c){_0x5d83b0['push'](_0x5d83b0['shift']());}}}(_0x41b5,0x3f68a));Object[_0x5c4c14(0x239)](exports,Symbol[_0x5c4c14(0x174)],{'value':_0x5c4c14(0x1a7)});const st=require(_0x5c4c14(0x162)),A=require(_0x5c4c14(0x2a9)),it=require(_0x5c4c14(0x175)),V=require(_0x5c4c14(0x23e)),nt=require(_0x5c4c14(0x148)),vt=require(_0x5c4c14(0x219)),ot=require(_0x5c4c14(0x10c)),St=require('net'),Et=require(_0x5c4c14(0x122)),Le=require(_0x5c4c14(0x252)),oe=require(_0x5c4c14(0x23d)),xt=require(_0x5c4c14(0x2a7)),bt=require(_0x5c4c14(0x189)),wt=require(_0x5c4c14(0x1c5)),Ot=require(_0x5c4c14(0x108)),fe=_0x5c4c14(0x1ad),Ct={'customHeaders':{}};function _0x41b5(){const _0x4fe03c=['error','alloc','_closeFrameReceived','text/html','timeout','finishRequest','_loop','fragments','concurrencyLimit','path','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','accept','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','mask','conclude','_fragmented','304740OOMfnn','protocol','hash','number','sec-websocket-accept','createConnection','createDeflateRaw','WebSocket','headers','consume','_receiver','_closeMessage','destroyed','_bufferedAmount','listening','setNoDelay','_opcode','startLoop','CLOSED','acceptAsClient','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','invalid\x20opcode\x20','Disposable','opcode','isView','_no_context_takeover','addEventListener','_registerDependencies','Z_SYNC_FLUSH','Parameter\x20\x22','_isServer','kListener','_final','getPayloadLength16','href','bind','socket','_state','2384ZEZdEM','WS_ERR_UNEXPECTED_RSV_2_3','Sec-WebSocket-Extensions:\x20','construct','_autoPong','unexpected-response','handleEvent','redirect','join','finished','replace','Unexpected\x20character\x20at\x20index\x20','client_max_window_bits','concat','entries','CollaborationSocketService','rsv1','https','code','clientNoContextTakeover','endEmitted','then','extensions','statusCode','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_options','kByteLength','controlMessage','_destroy','registerDependencies','kCode','clientMaxWindowBits','set','normalizeParams','WS_ERR_EXPECTED_MASK','exports','isServer','arraybuffer','socketPath','extensionName','env','password','Plugin','_inflate','default','HTTP/1.1\x20101\x20Switching\x20Protocols','address','CLOSING','sec-websocket-origin','defineProperty','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','stream','rxjs','slice','_errorEmitted','isBuffer','_read','_max_window_bits','kAborted','create','wss:','concurrency','_removeListeners','noServer','abort','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_server','startsWith','dispatch','enqueue','_redirects','Max\x20payload\x20size\x20exceeded','crypto','byteOffset','arrayBuffer','Sec-WebSocket-Origin','onclose','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','ws:','test','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','keys','uncork','HTTP/1.1\x20','_injector','pending','WS_ERR_EXPECTED_FIN','permessage-deflate','_payloadLength','getConfig','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_writableState','zlibInflateOptions','MASK\x20must\x20be\x20set','createInflateRaw','server','readyState','getBlobData','\x22\x20subprotocol\x20is\x20duplicated','hostname','byteLength','_compressed','from','\x0d\x0a\x0d\x0a','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','UniverCollaborationClientNodePlugin','ws+unix:','message','acceptAsServer','pong','authorized','Invalid\x20Sec-WebSocket-Extensions\x20header','defaultPort','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_compress','OPEN','value','allocUnsafe','IConfigService','WS_NO_BUFFER_UTIL','invalid\x20payload\x20length\x20','The\x20\x22','values','callback','destroy','upgrade','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','search','1636650urOlDO','ISnapshotServerService','FIN\x20must\x20be\x20set','listeners','_bufferedBytes','compress','_req','bufferedAmount','getPayloadLength64','711302BZAcTl','_generateMask','emitClose','buffers','freeze','WS_ERR_INVALID_UTF8','invalid\x20opcode\x200','followRedirects','onerror','Blob','zlibDeflateOptions','Sec-WebSocket-Extensions','toString','__esModule','Maximum\x20redirects\x20exceeded','object','size','writeHead','WS_ERR_INVALID_OPCODE','url','_closeFrameSent','@univerjs/core','RSV1\x20must\x20be\x20clear','ISocketService','status-code','maxRedirects','dequeue','_sender','1387815HBhRIl','createSocket','has','location','toLowerCase','kDone','share','backlog','_maskBuffer','includes','websocket','_paused','sendFrame','options','_deflate','isValidUTF8','end','_queue','_doCreateSocket','_maxPayload','Observable','offer','shift','getMask','map','MASK\x20must\x20be\x20clear','frame','find','pause','cookie','toDisposable','pow','haveLength','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','length','fin','@univerjs-pro/collaboration','add','_buffers','sec-websocket-version','http','split','310VNIWKN','WS_ERR_UNEXPECTED_RSV_1','request','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','auth','nodebuffer','serverNoContextTakeover','terminate','servername','perMessageDeflate','forEach','apply','sec-websocket-extensions','data','_threshold','read','getOwnPropertyDescriptor','unshift','_httpService','client','tls','_shouldEmitClose','dispose','readUInt16BE','nextTick','skipUTF8Validation','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_fragments','_originalHostOrSocketPath','Server\x20sent\x20no\x20subprotocol','string','Invalid\x20Upgrade\x20header','_masked','setSocket','host','once','needDrain','open','_socket','sha1','741485ppNMPk','NodeCollaborationSocketService','type','decompress','DisposableCollection','generateMask','_fin','handleProtocols','jobs','function','next','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_binaryType','isArray','_allowSynchronousEvents','http:','https:','params','events','customHeaders','CONNECTING','_decompress','server_no_context_takeover','objectMode','pluginName','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','base64','handleUpgrade','parse','client_no_context_takeover','species','Invalid\x20URL:\x20','isIP','removeListener','warn','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Invalid\x20value\x20for\x20parameter\x20\x22','4utXqAj','resume','_configService','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isInteger','readOnly','username','@univerjs-pro/collaboration-client','sec-websocket-protocol','_errored','emit','port','shouldHandle','Unknown\x20parameter\x20\x22','removeAllListeners','Sec-WebSocket-Protocol:\x20','dataMessage','Unsupported\x20protocol\x20version:\x20','authorization','connect','close','serverMaxWindowBits','threshold','Inject','registerHTTPInterceptor','toStringTag','@univerjs/network','8400EetTRZ','_closeCode','reason','wasClean','_mask','HTTPService','setTimeout','allowSynchronousEvents','binaryType','flush','delete','Origin','write','Injector','verifyClient','readable','cleanup','Unexpected\x20end\x20of\x20input','completeUpgrade','zlib','send','finish','wsClientError','writeUInt16BE','WS_ERR_UNEXPECTED_MASK','total-length','_firstFragment','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','protocolVersion','maxPayload','pathname','prototype','The\x20server\x20is\x20not\x20running','STATUS_CODES','WS_ERR_INVALID_CLOSE_CODE','digest','createError','_write','Invalid\x20Sec-WebSocket-Protocol\x20header','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_readyState','_readableState','reset','_skipUTF8Validation','sec-websocket-key','blob','\x22:\x20','kTarget','_closeTimer','Module','handshakeTimeout','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_totalPayloadLength','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','ILogService','collaboration-client-node.config','get','invalid\x20UTF-8\x20sequence','readUInt32BE','push','call','GET','server_max_window_bits','_messageLength','Sec-WebSocket-Protocol','getData','ping','_protocol','kMessage','unmask','captureStackTrace','indexOf','getInfo','method','errorEmitted','_originalIpc','removeEventListener','pipe','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','buffer','origin','update','listenerCount','text/plain','clients','isPaused','listen','423756jPjCtz','Unexpected\x20server\x20response:\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','hasOwnProperty','autoPong'];_0x41b5=function(){return _0x4fe03c;};return _0x41b5();}function Tt(_0x4e1042){const _0x4662fa=_0x5c4c14;return _0x4e1042&&_0x4e1042[_0x4662fa(0x2a1)]&&Object[_0x4662fa(0x195)][_0x4662fa(0x1d0)]['call'](_0x4e1042,'default')?_0x4e1042[_0x4662fa(0x234)]:_0x4e1042;}function at(_0x5a3a7d){const _0x474cb8=_0x5c4c14;if(Object['prototype'][_0x474cb8(0x1d0)][_0x474cb8(0x1b2)](_0x5a3a7d,'__esModule'))return _0x5a3a7d;var _0x2397d1=_0x5a3a7d[_0x474cb8(0x234)];if(typeof _0x2397d1==_0x474cb8(0x13f)){var _0xe4e208=function _0x3d4ea9(){const _0x47ac74=_0x474cb8;return this instanceof _0x3d4ea9?Reflect[_0x47ac74(0x20b)](_0x2397d1,arguments,this['constructor']):_0x2397d1[_0x47ac74(0x119)](this,arguments);};_0xe4e208['prototype']=_0x2397d1[_0x474cb8(0x195)];}else _0xe4e208={};return Object['defineProperty'](_0xe4e208,_0x474cb8(0x2a1),{'value':!0x0}),Object[_0x474cb8(0x25b)](_0x5a3a7d)[_0x474cb8(0x118)](function(_0x207925){const _0x28e5e6=_0x474cb8;var _0x376cc9=Object[_0x28e5e6(0x11e)](_0x5a3a7d,_0x207925);Object['defineProperty'](_0xe4e208,_0x207925,_0x376cc9[_0x28e5e6(0x1ae)]?_0x376cc9:{'enumerable':!0x0,'get':function(){return _0x5a3a7d[_0x207925];}});}),_0xe4e208;}var se={'exports':{}},ge,Ge;function H(){const _0x316aee=_0x5c4c14;if(Ge)return ge;Ge=0x1;const _0x348a9c=[_0x316aee(0x113),_0x316aee(0x22d),_0x316aee(0x1d9)],_0x472d53=typeof Blob<'u';return _0x472d53&&_0x348a9c[_0x316aee(0x1b1)](_0x316aee(0x1a3)),ge={'BINARY_TYPES':_0x348a9c,'EMPTY_BUFFER':Buffer[_0x316aee(0x1d3)](0x0),'GUID':_0x316aee(0x24b),'hasBlob':_0x472d53,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x316aee(0x201)),'kStatusCode':Symbol(_0x316aee(0x2ac)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5c4c14(0x298)](Object[_0x5c4c14(0x239)]({'__proto__':null,'default':Nt},Symbol[_0x5c4c14(0x174)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x266abe=_0x5c4c14;if(Ve)return se[_0x266abe(0x22b)];Ve=0x1;const {EMPTY_BUFFER:_0x47c9c9}=H(),_0x17f57b=Buffer[Symbol[_0x266abe(0x154)]];function _0x1c2fa8(_0x4a23a6,_0x55f166){const _0x1db2ab=_0x266abe;if(_0x4a23a6[_0x1db2ab(0x106)]===0x0)return _0x47c9c9;if(_0x4a23a6['length']===0x1)return _0x4a23a6[0x0];const _0x4ebf56=Buffer[_0x1db2ab(0x280)](_0x55f166);let _0x202131=0x0;for(let _0x2918dc=0x0;_0x2918dc<_0x4a23a6['length'];_0x2918dc++){const _0x419097=_0x4a23a6[_0x2918dc];_0x4ebf56[_0x1db2ab(0x228)](_0x419097,_0x202131),_0x202131+=_0x419097[_0x1db2ab(0x106)];}return _0x202131<_0x55f166?new _0x17f57b(_0x4ebf56[_0x1db2ab(0x1c5)],_0x4ebf56[_0x1db2ab(0x253)],_0x202131):_0x4ebf56;}function _0x224698(_0x2cd1e7,_0x364d10,_0x4bd9a3,_0x370e65,_0x1fefbf){for(let _0xb55a07=0x0;_0xb55a07<_0x1fefbf;_0xb55a07++)_0x4bd9a3[_0x370e65+_0xb55a07]=_0x2cd1e7[_0xb55a07]^_0x364d10[_0xb55a07&0x3];}function _0x5d9568(_0x720301,_0x247f07){const _0x3ae013=_0x266abe;for(let _0x16293d=0x0;_0x16293d<_0x720301[_0x3ae013(0x106)];_0x16293d++)_0x720301[_0x16293d]^=_0x247f07[_0x16293d&0x3];}function _0x59a500(_0x1af8db){const _0x3f4e1b=_0x266abe;return _0x1af8db[_0x3f4e1b(0x106)]===_0x1af8db[_0x3f4e1b(0x1c5)][_0x3f4e1b(0x26f)]?_0x1af8db['buffer']:_0x1af8db[_0x3f4e1b(0x1c5)][_0x3f4e1b(0x23f)](_0x1af8db[_0x3f4e1b(0x253)],_0x1af8db[_0x3f4e1b(0x253)]+_0x1af8db['length']);}function _0x35e649(_0x3cc676){const _0x13240b=_0x266abe;if(_0x35e649[_0x13240b(0x160)]=!0x0,Buffer[_0x13240b(0x241)](_0x3cc676))return _0x3cc676;let _0xa9b496;return _0x3cc676 instanceof ArrayBuffer?_0xa9b496=new _0x17f57b(_0x3cc676):ArrayBuffer[_0x13240b(0x1fa)](_0x3cc676)?_0xa9b496=new _0x17f57b(_0x3cc676[_0x13240b(0x1c5)],_0x3cc676[_0x13240b(0x253)],_0x3cc676[_0x13240b(0x26f)]):(_0xa9b496=Buffer[_0x13240b(0x271)](_0x3cc676),_0x35e649[_0x13240b(0x160)]=!0x1),_0xa9b496;}if(se[_0x266abe(0x22b)]={'concat':_0x1c2fa8,'mask':_0x224698,'toArrayBuffer':_0x59a500,'toBuffer':_0x35e649,'unmask':_0x5d9568},!process['env'][_0x266abe(0x282)])try{const _0x7b0ea=Lt;se[_0x266abe(0x22b)][_0x266abe(0x1df)]=function(_0x28c711,_0x6395bb,_0x4dbadc,_0x15ba95,_0x5e68a1){_0x5e68a1<0x30?_0x224698(_0x28c711,_0x6395bb,_0x4dbadc,_0x15ba95,_0x5e68a1):_0x7b0ea['mask'](_0x28c711,_0x6395bb,_0x4dbadc,_0x15ba95,_0x5e68a1);},se[_0x266abe(0x22b)][_0x266abe(0x1bb)]=function(_0x3e0206,_0x195d2d){const _0x58eccf=_0x266abe;_0x3e0206['length']<0x20?_0x5d9568(_0x3e0206,_0x195d2d):_0x7b0ea[_0x58eccf(0x1bb)](_0x3e0206,_0x195d2d);};}catch{}return se[_0x266abe(0x22b)];}var ye,He;function Pt(){const _0x4f5649=_0x5c4c14;if(He)return ye;He=0x1;const _0x2c5f4e=Symbol(_0x4f5649(0x2b5)),_0x130c1d=Symbol('kRun');class _0x5163f0{constructor(_0x46dbfc){const _0x2fc406=_0x4f5649;this[_0x2c5f4e]=()=>{const _0x47060f=_0x20d9;this[_0x47060f(0x25f)]--,this[_0x130c1d]();},this[_0x2fc406(0x247)]=_0x46dbfc||0x1/0x0,this['jobs']=[],this[_0x2fc406(0x25f)]=0x0;}['add'](_0x12d400){const _0x50687c=_0x4f5649;this[_0x50687c(0x13e)]['push'](_0x12d400),this[_0x130c1d]();}[_0x130c1d](){const _0x477cf8=_0x4f5649;if(this[_0x477cf8(0x25f)]!==this['concurrency']&&this[_0x477cf8(0x13e)][_0x477cf8(0x106)]){const _0x59cd07=this['jobs'][_0x477cf8(0xfa)]();this[_0x477cf8(0x25f)]++,_0x59cd07(this[_0x2c5f4e]);}}}return ye=_0x5163f0,ye;}var ve,ze;function he(){const _0x420d4a=_0x5c4c14;if(ze)return ve;ze=0x1;const _0x58e655=bt,_0x462cb8=ce(),_0x34fd8a=Pt(),{kStatusCode:_0x18ce25}=H(),_0x171e35=Buffer[Symbol[_0x420d4a(0x154)]],_0x3ccb81=Buffer[_0x420d4a(0x271)]([0x0,0x0,0xff,0xff]),_0x43eab2=Symbol(_0x420d4a(0x261)),_0x1b0a20=Symbol(_0x420d4a(0x18f)),_0x3001cd=Symbol(_0x420d4a(0x286)),_0x196616=Symbol(_0x420d4a(0x297)),_0x1c741c=Symbol(_0x420d4a(0x1d2));let _0x461aa1;class _0x151b63{constructor(_0x29b21a,_0x5805ee,_0x567669){const _0x2c645b=_0x420d4a;if(this[_0x2c645b(0xf7)]=_0x567669|0x0,this[_0x2c645b(0x221)]=_0x29b21a||{},this[_0x2c645b(0x11c)]=this[_0x2c645b(0x221)][_0x2c645b(0x171)]!==void 0x0?this[_0x2c645b(0x221)][_0x2c645b(0x171)]:0x400,this[_0x2c645b(0x200)]=!!_0x5805ee,this[_0x2c645b(0xf2)]=null,this['_inflate']=null,this[_0x2c645b(0x147)]=null,!_0x461aa1){const _0x4609f2=this[_0x2c645b(0x221)][_0x2c645b(0x1da)]!==void 0x0?this['_options'][_0x2c645b(0x1da)]:0xa;_0x461aa1=new _0x34fd8a(_0x4609f2);}}static get[_0x420d4a(0x22f)](){const _0x4f75e2=_0x420d4a;return _0x4f75e2(0x261);}['offer'](){const _0x64491=_0x420d4a,_0x149544={};return this['_options'][_0x64491(0x114)]&&(_0x149544[_0x64491(0x14c)]=!0x0),this['_options'][_0x64491(0x21b)]&&(_0x149544[_0x64491(0x153)]=!0x0),this[_0x64491(0x221)][_0x64491(0x170)]&&(_0x149544[_0x64491(0x1b4)]=this['_options'][_0x64491(0x170)]),this['_options'][_0x64491(0x227)]?_0x149544[_0x64491(0x214)]=this['_options'][_0x64491(0x227)]:this['_options'][_0x64491(0x227)]==null&&(_0x149544[_0x64491(0x214)]=!0x0),_0x149544;}[_0x420d4a(0x1dd)](_0x575072){const _0x89677c=_0x420d4a;return _0x575072=this[_0x89677c(0x229)](_0x575072),this[_0x89677c(0x147)]=this[_0x89677c(0x200)]?this[_0x89677c(0x277)](_0x575072):this[_0x89677c(0x1f5)](_0x575072),this[_0x89677c(0x147)];}[_0x420d4a(0x186)](){const _0x56ffc8=_0x420d4a;if(this['_inflate']&&(this[_0x56ffc8(0x233)][_0x56ffc8(0x16f)](),this[_0x56ffc8(0x233)]=null),this[_0x56ffc8(0xf2)]){const _0x5a7e99=this['_deflate'][_0x3001cd];this[_0x56ffc8(0xf2)][_0x56ffc8(0x16f)](),this[_0x56ffc8(0xf2)]=null,_0x5a7e99&&_0x5a7e99(new Error(_0x56ffc8(0x15e)));}}[_0x420d4a(0x277)](_0x41752e){const _0x635483=_0x420d4a,_0x89ee2e=this[_0x635483(0x221)],_0x5ebbe4=_0x41752e[_0x635483(0xff)](_0x2acf86=>!(_0x89ee2e[_0x635483(0x114)]===!0x1&&_0x2acf86[_0x635483(0x14c)]||_0x2acf86[_0x635483(0x1b4)]&&(_0x89ee2e[_0x635483(0x170)]===!0x1||typeof _0x89ee2e[_0x635483(0x170)]==_0x635483(0x1e5)&&_0x89ee2e[_0x635483(0x170)]>_0x2acf86[_0x635483(0x1b4)])||typeof _0x89ee2e[_0x635483(0x227)]==_0x635483(0x1e5)&&!_0x2acf86[_0x635483(0x214)]));if(!_0x5ebbe4)throw new Error(_0x635483(0x257));return _0x89ee2e[_0x635483(0x114)]&&(_0x5ebbe4[_0x635483(0x14c)]=!0x0),_0x89ee2e[_0x635483(0x21b)]&&(_0x5ebbe4[_0x635483(0x153)]=!0x0),typeof _0x89ee2e[_0x635483(0x170)]==_0x635483(0x1e5)&&(_0x5ebbe4[_0x635483(0x1b4)]=_0x89ee2e[_0x635483(0x170)]),typeof _0x89ee2e['clientMaxWindowBits']==_0x635483(0x1e5)?_0x5ebbe4[_0x635483(0x214)]=_0x89ee2e['clientMaxWindowBits']:(_0x5ebbe4['client_max_window_bits']===!0x0||_0x89ee2e[_0x635483(0x227)]===!0x1)&&delete _0x5ebbe4[_0x635483(0x214)],_0x5ebbe4;}[_0x420d4a(0x1f5)](_0x271199){const _0x2fc40d=_0x420d4a,_0x3237a3=_0x271199[0x0];if(this[_0x2fc40d(0x221)][_0x2fc40d(0x21b)]===!0x1&&_0x3237a3[_0x2fc40d(0x153)])throw new Error(_0x2fc40d(0x1f6));if(!_0x3237a3[_0x2fc40d(0x214)])typeof this[_0x2fc40d(0x221)][_0x2fc40d(0x227)]==_0x2fc40d(0x1e5)&&(_0x3237a3['client_max_window_bits']=this['_options'][_0x2fc40d(0x227)]);else{if(this[_0x2fc40d(0x221)]['clientMaxWindowBits']===!0x1||typeof this[_0x2fc40d(0x221)][_0x2fc40d(0x227)]==_0x2fc40d(0x1e5)&&_0x3237a3[_0x2fc40d(0x214)]>this[_0x2fc40d(0x221)][_0x2fc40d(0x227)])throw new Error(_0x2fc40d(0x220));}return _0x3237a3;}[_0x420d4a(0x229)](_0xffafa2){const _0x42da08=_0x420d4a;return _0xffafa2[_0x42da08(0x118)](_0x5c8835=>{const _0x5ad501=_0x42da08;Object[_0x5ad501(0x25b)](_0x5c8835)['forEach'](_0x55b707=>{const _0x35af95=_0x5ad501;let _0xade36c=_0x5c8835[_0x55b707];if(_0xade36c[_0x35af95(0x106)]>0x1)throw new Error(_0x35af95(0x1ff)+_0x55b707+_0x35af95(0x159));if(_0xade36c=_0xade36c[0x0],_0x55b707===_0x35af95(0x214)){if(_0xade36c!==!0x0){const _0x5251b8=+_0xade36c;if(!Number[_0x35af95(0x15f)](_0x5251b8)||_0x5251b8<0x8||_0x5251b8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x55b707+'\x22:\x20'+_0xade36c);_0xade36c=_0x5251b8;}else{if(!this['_isServer'])throw new TypeError(_0x35af95(0x15a)+_0x55b707+_0x35af95(0x1a4)+_0xade36c);}}else{if(_0x55b707==='server_max_window_bits'){const _0x2168b3=+_0xade36c;if(!Number[_0x35af95(0x15f)](_0x2168b3)||_0x2168b3<0x8||_0x2168b3>0xf)throw new TypeError(_0x35af95(0x15a)+_0x55b707+_0x35af95(0x1a4)+_0xade36c);_0xade36c=_0x2168b3;}else{if(_0x55b707==='client_no_context_takeover'||_0x55b707===_0x35af95(0x14c)){if(_0xade36c!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x55b707+'\x22:\x20'+_0xade36c);}else throw new Error(_0x35af95(0x168)+_0x55b707+'\x22');}}_0x5c8835[_0x55b707]=_0xade36c;});}),_0xffafa2;}[_0x420d4a(0x139)](_0x1d0675,_0x2f48f4,_0x2b31b6){_0x461aa1['add'](_0x34cedd=>{const _0xcb6206=_0x20d9;this[_0xcb6206(0x14b)](_0x1d0675,_0x2f48f4,(_0x20371f,_0x398a44)=>{_0x34cedd(),_0x2b31b6(_0x20371f,_0x398a44);});});}[_0x420d4a(0x290)](_0x1ae3ca,_0x5e127e,_0x5dc3e6){_0x461aa1['add'](_0x28a0b1=>{const _0x4ecea1=_0x20d9;this[_0x4ecea1(0x27d)](_0x1ae3ca,_0x5e127e,(_0x933a03,_0x28716e)=>{_0x28a0b1(),_0x5dc3e6(_0x933a03,_0x28716e);});});}['_decompress'](_0x20ebf1,_0x268071,_0x15704f){const _0x2ecfe9=_0x420d4a,_0x4880f1=this[_0x2ecfe9(0x200)]?_0x2ecfe9(0x121):'server';if(!this[_0x2ecfe9(0x233)]){const _0x55fe5f=_0x4880f1+_0x2ecfe9(0x243),_0x1a2a4d=typeof this[_0x2ecfe9(0x147)][_0x55fe5f]!=_0x2ecfe9(0x1e5)?_0x58e655['Z_DEFAULT_WINDOWBITS']:this['params'][_0x55fe5f];this[_0x2ecfe9(0x233)]=_0x58e655[_0x2ecfe9(0x269)]({...this[_0x2ecfe9(0x221)][_0x2ecfe9(0x267)],'windowBits':_0x1a2a4d}),this[_0x2ecfe9(0x233)][_0x43eab2]=this,this[_0x2ecfe9(0x233)][_0x1b0a20]=0x0,this[_0x2ecfe9(0x233)][_0x196616]=[],this[_0x2ecfe9(0x233)]['on'](_0x2ecfe9(0x1d2),_0x107c04),this['_inflate']['on'](_0x2ecfe9(0x11b),_0x45cd45);}this['_inflate'][_0x3001cd]=_0x15704f,this['_inflate'][_0x2ecfe9(0x182)](_0x20ebf1),_0x268071&&this[_0x2ecfe9(0x233)][_0x2ecfe9(0x182)](_0x3ccb81),this['_inflate'][_0x2ecfe9(0x17f)](()=>{const _0x21f53e=_0x2ecfe9,_0x14fe89=this[_0x21f53e(0x233)][_0x1c741c];if(_0x14fe89){this[_0x21f53e(0x233)]['close'](),this[_0x21f53e(0x233)]=null,_0x15704f(_0x14fe89);return;}const _0xd9760f=_0x462cb8[_0x21f53e(0x215)](this['_inflate'][_0x196616],this[_0x21f53e(0x233)][_0x1b0a20]);this[_0x21f53e(0x233)][_0x21f53e(0x19f)][_0x21f53e(0x21c)]?(this['_inflate'][_0x21f53e(0x16f)](),this[_0x21f53e(0x233)]=null):(this['_inflate'][_0x1b0a20]=0x0,this[_0x21f53e(0x233)][_0x196616]=[],_0x268071&&this[_0x21f53e(0x147)][_0x4880f1+_0x21f53e(0x1fb)]&&this[_0x21f53e(0x233)]['reset']()),_0x15704f(null,_0xd9760f);});}[_0x420d4a(0x27d)](_0x35dea3,_0x102f2a,_0x151b3b){const _0x56400f=_0x420d4a,_0x4b89e4=this[_0x56400f(0x200)]?'server':_0x56400f(0x121);if(!this[_0x56400f(0xf2)]){const _0x108ac9=_0x4b89e4+'_max_window_bits',_0x1c6b5d=typeof this['params'][_0x108ac9]!='number'?_0x58e655['Z_DEFAULT_WINDOWBITS']:this['params'][_0x108ac9];this[_0x56400f(0xf2)]=_0x58e655[_0x56400f(0x1e8)]({...this['_options'][_0x56400f(0x29e)],'windowBits':_0x1c6b5d}),this[_0x56400f(0xf2)][_0x1b0a20]=0x0,this[_0x56400f(0xf2)][_0x196616]=[],this[_0x56400f(0xf2)]['on'](_0x56400f(0x11b),_0x225189);}this['_deflate'][_0x3001cd]=_0x151b3b,this[_0x56400f(0xf2)][_0x56400f(0x182)](_0x35dea3),this[_0x56400f(0xf2)][_0x56400f(0x17f)](_0x58e655[_0x56400f(0x1fe)],()=>{const _0x130356=_0x56400f;if(!this[_0x130356(0xf2)])return;let _0xa39ec4=_0x462cb8[_0x130356(0x215)](this['_deflate'][_0x196616],this[_0x130356(0xf2)][_0x1b0a20]);_0x102f2a&&(_0xa39ec4=new _0x171e35(_0xa39ec4[_0x130356(0x1c5)],_0xa39ec4[_0x130356(0x253)],_0xa39ec4['length']-0x4)),this[_0x130356(0xf2)][_0x3001cd]=null,this['_deflate'][_0x1b0a20]=0x0,this[_0x130356(0xf2)][_0x196616]=[],_0x102f2a&&this[_0x130356(0x147)][_0x4b89e4+_0x130356(0x1fb)]&&this[_0x130356(0xf2)]['reset'](),_0x151b3b(null,_0xa39ec4);});}}ve=_0x151b63;function _0x225189(_0x26bb8c){const _0x5ba834=_0x420d4a;this[_0x196616]['push'](_0x26bb8c),this[_0x1b0a20]+=_0x26bb8c[_0x5ba834(0x106)];}function _0x45cd45(_0x12a0cd){const _0x42aa96=_0x420d4a;if(this[_0x1b0a20]+=_0x12a0cd[_0x42aa96(0x106)],this[_0x43eab2]['_maxPayload']<0x1||this[_0x1b0a20]<=this[_0x43eab2][_0x42aa96(0xf7)]){this[_0x196616][_0x42aa96(0x1b1)](_0x12a0cd);return;}this[_0x1c741c]=new RangeError(_0x42aa96(0x251)),this[_0x1c741c][_0x42aa96(0x21a)]=_0x42aa96(0x1cf),this[_0x1c741c][_0x18ce25]=0x3f1,this[_0x42aa96(0x157)](_0x42aa96(0x11b),_0x45cd45),this[_0x42aa96(0x1a0)]();}function _0x107c04(_0x9a5bf2){const _0x34b2e9=_0x420d4a;this[_0x43eab2][_0x34b2e9(0x233)]=null,_0x9a5bf2[_0x18ce25]=0x3ef,this[_0x3001cd](_0x9a5bf2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5c4c14(0x298)](Object[_0x5c4c14(0x239)]({'__proto__':null,'default':Dt},Symbol[_0x5c4c14(0x174)],{'value':_0x5c4c14(0x1a7)})),Bt=at(Rt);var Ye;function ae(){const _0x13d699=_0x5c4c14;if(Ye)return ie[_0x13d699(0x22b)];Ye=0x1;const {isUtf8:_0x5d10d8}=wt,{hasBlob:_0x215725}=H(),_0x243b91=[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 _0x34b414(_0x4b68dc){return _0x4b68dc>=0x3e8&&_0x4b68dc<=0x3f6&&_0x4b68dc!==0x3ec&&_0x4b68dc!==0x3ed&&_0x4b68dc!==0x3ee||_0x4b68dc>=0xbb8&&_0x4b68dc<=0x1387;}function _0x4c06c0(_0x573bf2){const _0x1748c0=_0x13d699,_0x49eeca=_0x573bf2[_0x1748c0(0x106)];let _0x4d25db=0x0;for(;_0x4d25db<_0x49eeca;)if((_0x573bf2[_0x4d25db]&0x80)===0x0)_0x4d25db++;else{if((_0x573bf2[_0x4d25db]&0xe0)===0xc0){if(_0x4d25db+0x1===_0x49eeca||(_0x573bf2[_0x4d25db+0x1]&0xc0)!==0x80||(_0x573bf2[_0x4d25db]&0xfe)===0xc0)return!0x1;_0x4d25db+=0x2;}else{if((_0x573bf2[_0x4d25db]&0xf0)===0xe0){if(_0x4d25db+0x2>=_0x49eeca||(_0x573bf2[_0x4d25db+0x1]&0xc0)!==0x80||(_0x573bf2[_0x4d25db+0x2]&0xc0)!==0x80||_0x573bf2[_0x4d25db]===0xe0&&(_0x573bf2[_0x4d25db+0x1]&0xe0)===0x80||_0x573bf2[_0x4d25db]===0xed&&(_0x573bf2[_0x4d25db+0x1]&0xe0)===0xa0)return!0x1;_0x4d25db+=0x3;}else{if((_0x573bf2[_0x4d25db]&0xf8)===0xf0){if(_0x4d25db+0x3>=_0x49eeca||(_0x573bf2[_0x4d25db+0x1]&0xc0)!==0x80||(_0x573bf2[_0x4d25db+0x2]&0xc0)!==0x80||(_0x573bf2[_0x4d25db+0x3]&0xc0)!==0x80||_0x573bf2[_0x4d25db]===0xf0&&(_0x573bf2[_0x4d25db+0x1]&0xf0)===0x80||_0x573bf2[_0x4d25db]===0xf4&&_0x573bf2[_0x4d25db+0x1]>0x8f||_0x573bf2[_0x4d25db]>0xf4)return!0x1;_0x4d25db+=0x4;}else return!0x1;}}}return!0x0;}function _0xd2354b(_0xbd9f48){const _0x107aef=_0x13d699;return _0x215725&&typeof _0xbd9f48==_0x107aef(0x2a3)&&typeof _0xbd9f48[_0x107aef(0x254)]=='function'&&typeof _0xbd9f48[_0x107aef(0x138)]==_0x107aef(0x12c)&&typeof _0xbd9f48[_0x107aef(0x23d)]==_0x107aef(0x13f)&&(_0xbd9f48[Symbol[_0x107aef(0x174)]]===_0x107aef(0x29d)||_0xbd9f48[Symbol[_0x107aef(0x174)]]==='File');}if(ie[_0x13d699(0x22b)]={'isBlob':_0xd2354b,'isValidStatusCode':_0x34b414,'isValidUTF8':_0x4c06c0,'tokenChars':_0x243b91},_0x5d10d8)ie[_0x13d699(0x22b)][_0x13d699(0xf3)]=function(_0x1b0d5a){const _0x1cfe1b=_0x13d699;return _0x1b0d5a[_0x1cfe1b(0x106)]<0x18?_0x4c06c0(_0x1b0d5a):_0x5d10d8(_0x1b0d5a);};else{if(!process[_0x13d699(0x230)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1cec92=Bt;ie[_0x13d699(0x22b)]['isValidUTF8']=function(_0x4bf733){const _0x275018=_0x13d699;return _0x4bf733[_0x275018(0x106)]<0x20?_0x4c06c0(_0x4bf733):_0x1cec92(_0x4bf733);};}catch{}}return ie[_0x13d699(0x22b)];}var Se,Ke;function lt(){const _0x54dd40=_0x5c4c14;if(Ke)return Se;Ke=0x1;const {Writable:_0x577e26}=oe,_0x4c263b=he(),{BINARY_TYPES:_0x275669,EMPTY_BUFFER:_0x4d6731,kStatusCode:_0x164825,kWebSocket:_0x2330c1}=H(),{concat:_0x47d3ec,toArrayBuffer:_0x3d3e26,unmask:_0xf1bb23}=ce(),{isValidStatusCode:_0x4b30b9,isValidUTF8:_0x35719c}=ae(),_0x3619fe=Buffer[Symbol['species']],_0x11af3e=0x0,_0x5e6ad6=0x1,_0x101083=0x2,_0x3a8883=0x3,_0x2fc6a7=0x4,_0x275802=0x5,_0x2f03fa=0x6;class _0x504d5b extends _0x577e26{constructor(_0x29defc={}){const _0x533c34=_0x20d9;super(),this['_allowSynchronousEvents']=_0x29defc[_0x533c34(0x17d)]!==void 0x0?_0x29defc[_0x533c34(0x17d)]:!0x0,this['_binaryType']=_0x29defc['binaryType']||_0x275669[0x0],this[_0x533c34(0x23b)]=_0x29defc['extensions']||{},this['_isServer']=!!_0x29defc[_0x533c34(0x22c)],this[_0x533c34(0xf7)]=_0x29defc['maxPayload']|0x0,this[_0x533c34(0x1a1)]=!!_0x29defc[_0x533c34(0x127)],this[_0x2330c1]=void 0x0,this[_0x533c34(0x28f)]=0x0,this[_0x533c34(0x10a)]=[],this[_0x533c34(0x270)]=!0x1,this[_0x533c34(0x262)]=0x0,this[_0x533c34(0x17a)]=void 0x0,this[_0x533c34(0x1e1)]=0x0,this[_0x533c34(0x12e)]=!0x1,this[_0x533c34(0x13c)]=!0x1,this[_0x533c34(0x1f2)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x533c34(0x1d8)]=!0x1,this['_state']=_0x11af3e;}['_write'](_0x400745,_0x5c8b16,_0x2ba8fd){const _0x4a3769=_0x20d9;if(this[_0x4a3769(0x1f2)]===0x8&&this[_0x4a3769(0x207)]==_0x11af3e)return _0x2ba8fd();this[_0x4a3769(0x28f)]+=_0x400745['length'],this[_0x4a3769(0x10a)][_0x4a3769(0x1b1)](_0x400745),this[_0x4a3769(0x1f3)](_0x2ba8fd);}[_0x54dd40(0x1eb)](_0x411c30){const _0x4f3c4c=_0x54dd40;if(this[_0x4f3c4c(0x28f)]-=_0x411c30,_0x411c30===this[_0x4f3c4c(0x10a)][0x0][_0x4f3c4c(0x106)])return this[_0x4f3c4c(0x10a)][_0x4f3c4c(0xfa)]();if(_0x411c30<this[_0x4f3c4c(0x10a)][0x0]['length']){const _0x59a746=this[_0x4f3c4c(0x10a)][0x0];return this['_buffers'][0x0]=new _0x3619fe(_0x59a746[_0x4f3c4c(0x1c5)],_0x59a746['byteOffset']+_0x411c30,_0x59a746['length']-_0x411c30),new _0x3619fe(_0x59a746[_0x4f3c4c(0x1c5)],_0x59a746['byteOffset'],_0x411c30);}const _0x2b1be7=Buffer[_0x4f3c4c(0x280)](_0x411c30);do{const _0xd1d1b7=this[_0x4f3c4c(0x10a)][0x0],_0x47995e=_0x2b1be7[_0x4f3c4c(0x106)]-_0x411c30;_0x411c30>=_0xd1d1b7['length']?_0x2b1be7['set'](this[_0x4f3c4c(0x10a)][_0x4f3c4c(0xfa)](),_0x47995e):(_0x2b1be7[_0x4f3c4c(0x228)](new Uint8Array(_0xd1d1b7[_0x4f3c4c(0x1c5)],_0xd1d1b7[_0x4f3c4c(0x253)],_0x411c30),_0x47995e),this['_buffers'][0x0]=new _0x3619fe(_0xd1d1b7[_0x4f3c4c(0x1c5)],_0xd1d1b7[_0x4f3c4c(0x253)]+_0x411c30,_0xd1d1b7[_0x4f3c4c(0x106)]-_0x411c30)),_0x411c30-=_0xd1d1b7['length'];}while(_0x411c30>0x0);return _0x2b1be7;}[_0x54dd40(0x1f3)](_0x476cff){const _0x7a115=_0x54dd40;this[_0x7a115(0x1d8)]=!0x0;do switch(this['_state']){case _0x11af3e:this[_0x7a115(0x1be)](_0x476cff);break;case _0x5e6ad6:this[_0x7a115(0x203)](_0x476cff);break;case _0x101083:this['getPayloadLength64'](_0x476cff);break;case _0x3a8883:this[_0x7a115(0xfb)]();break;case _0x2fc6a7:this[_0x7a115(0x1b7)](_0x476cff);break;case _0x275802:case _0x2f03fa:this['_loop']=!0x1;return;}while(this[_0x7a115(0x1d8)]);this[_0x7a115(0x164)]||_0x476cff();}[_0x54dd40(0x1be)](_0x40d26d){const _0x4c74e6=_0x54dd40;if(this[_0x4c74e6(0x28f)]<0x2){this[_0x4c74e6(0x1d8)]=!0x1;return;}const _0x2905c8=this[_0x4c74e6(0x1eb)](0x2);if((_0x2905c8[0x0]&0x30)!==0x0){const _0x24d831=this[_0x4c74e6(0x19a)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4c74e6(0x209));_0x40d26d(_0x24d831);return;}const _0x5a4a14=(_0x2905c8[0x0]&0x40)===0x40;if(_0x5a4a14&&!this[_0x4c74e6(0x23b)][_0x4c263b[_0x4c74e6(0x22f)]]){const _0x4c7a87=this[_0x4c74e6(0x19a)](RangeError,_0x4c74e6(0x2aa),!0x0,0x3ea,_0x4c74e6(0x10f));_0x40d26d(_0x4c7a87);return;}if(this[_0x4c74e6(0x13c)]=(_0x2905c8[0x0]&0x80)===0x80,this['_opcode']=_0x2905c8[0x0]&0xf,this['_payloadLength']=_0x2905c8[0x1]&0x7f,this[_0x4c74e6(0x1f2)]===0x0){if(_0x5a4a14){const _0x156e74=this['createError'](RangeError,_0x4c74e6(0x2aa),!0x0,0x3ea,_0x4c74e6(0x10f));_0x40d26d(_0x156e74);return;}if(!this[_0x4c74e6(0x1e1)]){const _0xb3b55b=this['createError'](RangeError,_0x4c74e6(0x29a),!0x0,0x3ea,_0x4c74e6(0x2a6));_0x40d26d(_0xb3b55b);return;}this[_0x4c74e6(0x1f2)]=this[_0x4c74e6(0x1e1)];}else{if(this[_0x4c74e6(0x1f2)]===0x1||this[_0x4c74e6(0x1f2)]===0x2){if(this[_0x4c74e6(0x1e1)]){const _0x1188c8=this[_0x4c74e6(0x19a)](RangeError,_0x4c74e6(0x1f7)+this[_0x4c74e6(0x1f2)],!0x0,0x3ea,_0x4c74e6(0x2a6));_0x40d26d(_0x1188c8);return;}this['_compressed']=_0x5a4a14;}else{if(this['_opcode']>0x7&&this[_0x4c74e6(0x1f2)]<0xb){if(!this['_fin']){const _0x155688=this[_0x4c74e6(0x19a)](RangeError,_0x4c74e6(0x28d),!0x0,0x3ea,_0x4c74e6(0x260));_0x40d26d(_0x155688);return;}if(_0x5a4a14){const _0x35d475=this[_0x4c74e6(0x19a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4c74e6(0x10f));_0x40d26d(_0x35d475);return;}if(this[_0x4c74e6(0x262)]>0x7d||this[_0x4c74e6(0x1f2)]===0x8&&this[_0x4c74e6(0x262)]===0x1){const _0x3da615=this['createError'](RangeError,_0x4c74e6(0x283)+this[_0x4c74e6(0x262)],!0x0,0x3ea,_0x4c74e6(0x128));_0x40d26d(_0x3da615);return;}}else{const _0x202656=this[_0x4c74e6(0x19a)](RangeError,'invalid\x20opcode\x20'+this[_0x4c74e6(0x1f2)],!0x0,0x3ea,_0x4c74e6(0x2a6));_0x40d26d(_0x202656);return;}}}if(!this[_0x4c74e6(0x13c)]&&!this['_fragmented']&&(this[_0x4c74e6(0x1e1)]=this[_0x4c74e6(0x1f2)]),this[_0x4c74e6(0x12e)]=(_0x2905c8[0x1]&0x80)===0x80,this[_0x4c74e6(0x200)]){if(!this[_0x4c74e6(0x12e)]){const _0x5413a1=this[_0x4c74e6(0x19a)](RangeError,_0x4c74e6(0x268),!0x0,0x3ea,_0x4c74e6(0x22a));_0x40d26d(_0x5413a1);return;}}else{if(this['_masked']){const _0x3369c5=this[_0x4c74e6(0x19a)](RangeError,_0x4c74e6(0xfd),!0x0,0x3ea,_0x4c74e6(0x18e));_0x40d26d(_0x3369c5);return;}}this[_0x4c74e6(0x262)]===0x7e?this['_state']=_0x5e6ad6:this[_0x4c74e6(0x262)]===0x7f?this[_0x4c74e6(0x207)]=_0x101083:this[_0x4c74e6(0x104)](_0x40d26d);}[_0x54dd40(0x203)](_0x107122){const _0x29660a=_0x54dd40;if(this[_0x29660a(0x28f)]<0x2){this[_0x29660a(0x1d8)]=!0x1;return;}this['_payloadLength']=this[_0x29660a(0x1eb)](0x2)[_0x29660a(0x125)](0x0),this[_0x29660a(0x104)](_0x107122);}[_0x54dd40(0x293)](_0x381c87){const _0xabbe81=_0x54dd40;if(this[_0xabbe81(0x28f)]<0x8){this[_0xabbe81(0x1d8)]=!0x1;return;}const _0x4d6ca3=this[_0xabbe81(0x1eb)](0x8),_0x239c71=_0x4d6ca3[_0xabbe81(0x1b0)](0x0);if(_0x239c71>Math[_0xabbe81(0x103)](0x2,0x15)-0x1){const _0x4c5854=this[_0xabbe81(0x19a)](RangeError,_0xabbe81(0x27c),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x381c87(_0x4c5854);return;}this[_0xabbe81(0x262)]=_0x239c71*Math[_0xabbe81(0x103)](0x2,0x20)+_0x4d6ca3[_0xabbe81(0x1b0)](0x4),this['haveLength'](_0x381c87);}[_0x54dd40(0x104)](_0x408af8){const _0x25e757=_0x54dd40;if(this[_0x25e757(0x262)]&&this[_0x25e757(0x1f2)]<0x8&&(this['_totalPayloadLength']+=this[_0x25e757(0x262)],this[_0x25e757(0x1aa)]>this['_maxPayload']&&this[_0x25e757(0xf7)]>0x0)){const _0x311a5e=this['createError'](RangeError,_0x25e757(0x251),!0x1,0x3f1,_0x25e757(0x1cf));_0x408af8(_0x311a5e);return;}this[_0x25e757(0x12e)]?this['_state']=_0x3a8883:this['_state']=_0x2fc6a7;}[_0x54dd40(0xfb)](){const _0x86da3=_0x54dd40;if(this[_0x86da3(0x28f)]<0x4){this[_0x86da3(0x1d8)]=!0x1;return;}this[_0x86da3(0x17a)]=this['consume'](0x4),this[_0x86da3(0x207)]=_0x2fc6a7;}[_0x54dd40(0x1b7)](_0x38b56f){const _0x189502=_0x54dd40;let _0x5cced1=_0x4d6731;if(this[_0x189502(0x262)]){if(this[_0x189502(0x28f)]<this[_0x189502(0x262)]){this[_0x189502(0x1d8)]=!0x1;return;}_0x5cced1=this[_0x189502(0x1eb)](this[_0x189502(0x262)]),this['_masked']&&(this[_0x189502(0x17a)][0x0]|this['_mask'][0x1]|this[_0x189502(0x17a)][0x2]|this[_0x189502(0x17a)][0x3])!==0x0&&_0xf1bb23(_0x5cced1,this[_0x189502(0x17a)]);}if(this[_0x189502(0x1f2)]>0x7){this[_0x189502(0x223)](_0x5cced1,_0x38b56f);return;}if(this[_0x189502(0x270)]){this[_0x189502(0x207)]=_0x275802,this[_0x189502(0x139)](_0x5cced1,_0x38b56f);return;}_0x5cced1['length']&&(this[_0x189502(0x1b5)]=this[_0x189502(0x1aa)],this[_0x189502(0x129)]['push'](_0x5cced1)),this[_0x189502(0x16b)](_0x38b56f);}[_0x54dd40(0x139)](_0x13d681,_0xc3caa0){const _0x38176c=_0x54dd40;this[_0x38176c(0x23b)][_0x4c263b[_0x38176c(0x22f)]][_0x38176c(0x139)](_0x13d681,this[_0x38176c(0x13c)],(_0x3f0ac5,_0x192022)=>{const _0x47490a=_0x38176c;if(_0x3f0ac5)return _0xc3caa0(_0x3f0ac5);if(_0x192022['length']){if(this[_0x47490a(0x1b5)]+=_0x192022[_0x47490a(0x106)],this[_0x47490a(0x1b5)]>this['_maxPayload']&&this[_0x47490a(0xf7)]>0x0){const _0x27d3ce=this[_0x47490a(0x19a)](RangeError,_0x47490a(0x251),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc3caa0(_0x27d3ce);return;}this[_0x47490a(0x129)][_0x47490a(0x1b1)](_0x192022);}this['dataMessage'](_0xc3caa0),this['_state']===_0x11af3e&&this[_0x47490a(0x1f3)](_0xc3caa0);});}['dataMessage'](_0x42e11a){const _0x558e2b=_0x54dd40;if(!this['_fin']){this['_state']=_0x11af3e;return;}const _0x1b0e7a=this[_0x558e2b(0x1b5)],_0x230d6c=this[_0x558e2b(0x129)];if(this[_0x558e2b(0x1aa)]=0x0,this['_messageLength']=0x0,this[_0x558e2b(0x1e1)]=0x0,this[_0x558e2b(0x129)]=[],this[_0x558e2b(0x1f2)]===0x2){let _0x390d57;this[_0x558e2b(0x142)]===_0x558e2b(0x113)?_0x390d57=_0x47d3ec(_0x230d6c,_0x1b0e7a):this[_0x558e2b(0x142)]===_0x558e2b(0x22d)?_0x390d57=_0x3d3e26(_0x47d3ec(_0x230d6c,_0x1b0e7a)):this[_0x558e2b(0x142)]===_0x558e2b(0x1a3)?_0x390d57=new Blob(_0x230d6c):_0x390d57=_0x230d6c,this[_0x558e2b(0x144)]?(this[_0x558e2b(0x165)]('message',_0x390d57,!0x0),this['_state']=_0x11af3e):(this[_0x558e2b(0x207)]=_0x2f03fa,setImmediate(()=>{const _0x2f45fa=_0x558e2b;this[_0x2f45fa(0x165)]('message',_0x390d57,!0x0),this[_0x2f45fa(0x207)]=_0x11af3e,this[_0x2f45fa(0x1f3)](_0x42e11a);}));}else{const _0x4273cd=_0x47d3ec(_0x230d6c,_0x1b0e7a);if(!this[_0x558e2b(0x1a1)]&&!_0x35719c(_0x4273cd)){const _0x5a5c5b=this['createError'](Error,_0x558e2b(0x1af),!0x0,0x3ef,_0x558e2b(0x299));_0x42e11a(_0x5a5c5b);return;}this[_0x558e2b(0x207)]===_0x275802||this[_0x558e2b(0x144)]?(this[_0x558e2b(0x165)](_0x558e2b(0x276),_0x4273cd,!0x1),this[_0x558e2b(0x207)]=_0x11af3e):(this['_state']=_0x2f03fa,setImmediate(()=>{const _0xd4a2e=_0x558e2b;this[_0xd4a2e(0x165)](_0xd4a2e(0x276),_0x4273cd,!0x1),this['_state']=_0x11af3e,this[_0xd4a2e(0x1f3)](_0x42e11a);}));}}[_0x54dd40(0x223)](_0x20a5ac,_0x3392db){const _0x2b0e42=_0x54dd40;if(this['_opcode']===0x8){if(_0x20a5ac[_0x2b0e42(0x106)]===0x0)this[_0x2b0e42(0x1d8)]=!0x1,this[_0x2b0e42(0x165)](_0x2b0e42(0x1e0),0x3ed,_0x4d6731),this[_0x2b0e42(0xf4)]();else{const _0x24377f=_0x20a5ac[_0x2b0e42(0x125)](0x0);if(!_0x4b30b9(_0x24377f)){const _0x1af834=this[_0x2b0e42(0x19a)](RangeError,'invalid\x20status\x20code\x20'+_0x24377f,!0x0,0x3ea,_0x2b0e42(0x198));_0x3392db(_0x1af834);return;}const _0x2b384b=new _0x3619fe(_0x20a5ac[_0x2b0e42(0x1c5)],_0x20a5ac[_0x2b0e42(0x253)]+0x2,_0x20a5ac[_0x2b0e42(0x106)]-0x2);if(!this[_0x2b0e42(0x1a1)]&&!_0x35719c(_0x2b384b)){const _0x4470c4=this[_0x2b0e42(0x19a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2b0e42(0x299));_0x3392db(_0x4470c4);return;}this[_0x2b0e42(0x1d8)]=!0x1,this[_0x2b0e42(0x165)](_0x2b0e42(0x1e0),_0x24377f,_0x2b384b),this[_0x2b0e42(0xf4)]();}this[_0x2b0e42(0x207)]=_0x11af3e;return;}this[_0x2b0e42(0x144)]?(this['emit'](this['_opcode']===0x9?_0x2b0e42(0x1b8):'pong',_0x20a5ac),this[_0x2b0e42(0x207)]=_0x11af3e):(this[_0x2b0e42(0x207)]=_0x2f03fa,setImmediate(()=>{const _0x1a103e=_0x2b0e42;this[_0x1a103e(0x165)](this[_0x1a103e(0x1f2)]===0x9?'ping':_0x1a103e(0x278),_0x20a5ac),this[_0x1a103e(0x207)]=_0x11af3e,this[_0x1a103e(0x1f3)](_0x3392db);}));}['createError'](_0x4012a3,_0x17c4ae,_0xac7914,_0x1b9243,_0x2831f6){const _0x3c44bd=_0x54dd40;this['_loop']=!0x1,this[_0x3c44bd(0x164)]=!0x0;const _0x2cced6=new _0x4012a3(_0xac7914?'Invalid\x20WebSocket\x20frame:\x20'+_0x17c4ae:_0x17c4ae);return Error['captureStackTrace'](_0x2cced6,this['createError']),_0x2cced6['code']=_0x2831f6,_0x2cced6[_0x164825]=_0x1b9243,_0x2cced6;}}return Se=_0x504d5b,Se;}var Ee,Xe;function ft(){const _0x224a2e=_0x5c4c14;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x334bed}=oe,{randomFillSync:_0x3a20ec}=Le,_0x4bd41f=he(),{EMPTY_BUFFER:_0x5b9ab6,kWebSocket:_0x2b9a9a,NOOP:_0x2b9524}=H(),{isBlob:_0x2dfa92,isValidStatusCode:_0x175358}=ae(),{mask:_0x1fe27a,toBuffer:_0xe240f4}=ce(),_0xf0b700=Symbol(_0x224a2e(0x222)),_0x1a9db1=Buffer[_0x224a2e(0x1d3)](0x4),_0x177f4b=0x8*0x400;let _0x36f67f,_0x2ac102=_0x177f4b;const _0x304a93=0x0,_0xea40f2=0x1,_0x28c37d=0x2;class _0x20b645{constructor(_0xce0ea7,_0x3a9725,_0x573db7){const _0x36e028=_0x224a2e;this[_0x36e028(0x23b)]=_0x3a9725||{},_0x573db7&&(this[_0x36e028(0x295)]=_0x573db7,this[_0x36e028(0xec)]=Buffer[_0x36e028(0x1d3)](0x4)),this[_0x36e028(0x134)]=_0xce0ea7,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x36e028(0x28f)]=0x0,this[_0x36e028(0xf5)]=[],this[_0x36e028(0x207)]=_0x304a93,this[_0x36e028(0x29c)]=_0x2b9524,this[_0x2b9a9a]=void 0x0;}static[_0x224a2e(0xfe)](_0x35970c,_0x18c266){const _0x1bee47=_0x224a2e;let _0x43094b,_0x46b3c5=!0x1,_0x344fae=0x2,_0x442d02=!0x1;_0x18c266['mask']&&(_0x43094b=_0x18c266['maskBuffer']||_0x1a9db1,_0x18c266[_0x1bee47(0x13b)]?_0x18c266[_0x1bee47(0x13b)](_0x43094b):(_0x2ac102===_0x177f4b&&(_0x36f67f===void 0x0&&(_0x36f67f=Buffer[_0x1bee47(0x1d3)](_0x177f4b)),_0x3a20ec(_0x36f67f,0x0,_0x177f4b),_0x2ac102=0x0),_0x43094b[0x0]=_0x36f67f[_0x2ac102++],_0x43094b[0x1]=_0x36f67f[_0x2ac102++],_0x43094b[0x2]=_0x36f67f[_0x2ac102++],_0x43094b[0x3]=_0x36f67f[_0x2ac102++]),_0x442d02=(_0x43094b[0x0]|_0x43094b[0x1]|_0x43094b[0x2]|_0x43094b[0x3])===0x0,_0x344fae=0x6);let _0x52ed68;typeof _0x35970c=='string'?(!_0x18c266['mask']||_0x442d02)&&_0x18c266[_0xf0b700]!==void 0x0?_0x52ed68=_0x18c266[_0xf0b700]:(_0x35970c=Buffer[_0x1bee47(0x271)](_0x35970c),_0x52ed68=_0x35970c['length']):(_0x52ed68=_0x35970c[_0x1bee47(0x106)],_0x46b3c5=_0x18c266[_0x1bee47(0x1df)]&&_0x18c266['readOnly']&&!_0x442d02);let _0x2b55f9=_0x52ed68;_0x52ed68>=0x10000?(_0x344fae+=0x8,_0x2b55f9=0x7f):_0x52ed68>0x7d&&(_0x344fae+=0x2,_0x2b55f9=0x7e);const _0x1fd7c4=Buffer[_0x1bee47(0x280)](_0x46b3c5?_0x52ed68+_0x344fae:_0x344fae);return _0x1fd7c4[0x0]=_0x18c266[_0x1bee47(0x107)]?_0x18c266[_0x1bee47(0x1f9)]|0x80:_0x18c266[_0x1bee47(0x1f9)],_0x18c266[_0x1bee47(0x218)]&&(_0x1fd7c4[0x0]|=0x40),_0x1fd7c4[0x1]=_0x2b55f9,_0x2b55f9===0x7e?_0x1fd7c4[_0x1bee47(0x18d)](_0x52ed68,0x2):_0x2b55f9===0x7f&&(_0x1fd7c4[0x2]=_0x1fd7c4[0x3]=0x0,_0x1fd7c4['writeUIntBE'](_0x52ed68,0x4,0x6)),_0x18c266['mask']?(_0x1fd7c4[0x1]|=0x80,_0x1fd7c4[_0x344fae-0x4]=_0x43094b[0x0],_0x1fd7c4[_0x344fae-0x3]=_0x43094b[0x1],_0x1fd7c4[_0x344fae-0x2]=_0x43094b[0x2],_0x1fd7c4[_0x344fae-0x1]=_0x43094b[0x3],_0x442d02?[_0x1fd7c4,_0x35970c]:_0x46b3c5?(_0x1fe27a(_0x35970c,_0x43094b,_0x1fd7c4,_0x344fae,_0x52ed68),[_0x1fd7c4]):(_0x1fe27a(_0x35970c,_0x43094b,_0x35970c,0x0,_0x52ed68),[_0x1fd7c4,_0x35970c])):[_0x1fd7c4,_0x35970c];}[_0x224a2e(0x16f)](_0x4e9598,_0x2cb2ba,_0x4a06dd,_0x329a68){const _0x1d0dc0=_0x224a2e;let _0x1c5e23;if(_0x4e9598===void 0x0)_0x1c5e23=_0x5b9ab6;else{if(typeof _0x4e9598!=_0x1d0dc0(0x1e5)||!_0x175358(_0x4e9598))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2cb2ba===void 0x0||!_0x2cb2ba[_0x1d0dc0(0x106)])_0x1c5e23=Buffer[_0x1d0dc0(0x280)](0x2),_0x1c5e23[_0x1d0dc0(0x18d)](_0x4e9598,0x0);else{const _0x4eb652=Buffer[_0x1d0dc0(0x26f)](_0x2cb2ba);if(_0x4eb652>0x7b)throw new RangeError(_0x1d0dc0(0x265));_0x1c5e23=Buffer[_0x1d0dc0(0x280)](0x2+_0x4eb652),_0x1c5e23[_0x1d0dc0(0x18d)](_0x4e9598,0x0),typeof _0x2cb2ba==_0x1d0dc0(0x12c)?_0x1c5e23[_0x1d0dc0(0x182)](_0x2cb2ba,0x2):_0x1c5e23[_0x1d0dc0(0x228)](_0x2cb2ba,0x2);}}const _0x51e555={[_0xf0b700]:_0x1c5e23[_0x1d0dc0(0x106)],'fin':!0x0,'generateMask':this[_0x1d0dc0(0x295)],'mask':_0x4a06dd,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1d0dc0(0x207)]!==_0x304a93?this['enqueue']([this[_0x1d0dc0(0x24e)],_0x1c5e23,!0x1,_0x51e555,_0x329a68]):this[_0x1d0dc0(0xf0)](_0x20b645['frame'](_0x1c5e23,_0x51e555),_0x329a68);}[_0x224a2e(0x1b8)](_0x201158,_0x42acab,_0x353d67){const _0x4b1654=_0x224a2e;let _0x153794,_0x431268;if(typeof _0x201158=='string'?(_0x153794=Buffer['byteLength'](_0x201158),_0x431268=!0x1):_0x2dfa92(_0x201158)?(_0x153794=_0x201158['size'],_0x431268=!0x1):(_0x201158=_0xe240f4(_0x201158),_0x153794=_0x201158[_0x4b1654(0x106)],_0x431268=_0xe240f4['readOnly']),_0x153794>0x7d)throw new RangeError(_0x4b1654(0x1ab));const _0x462813={[_0xf0b700]:_0x153794,'fin':!0x0,'generateMask':this[_0x4b1654(0x295)],'mask':_0x42acab,'maskBuffer':this[_0x4b1654(0xec)],'opcode':0x9,'readOnly':_0x431268,'rsv1':!0x1};_0x2dfa92(_0x201158)?this[_0x4b1654(0x207)]!==_0x304a93?this[_0x4b1654(0x24f)]([this['getBlobData'],_0x201158,!0x1,_0x462813,_0x353d67]):this[_0x4b1654(0x26c)](_0x201158,!0x1,_0x462813,_0x353d67):this['_state']!==_0x304a93?this[_0x4b1654(0x24f)]([this['dispatch'],_0x201158,!0x1,_0x462813,_0x353d67]):this[_0x4b1654(0xf0)](_0x20b645[_0x4b1654(0xfe)](_0x201158,_0x462813),_0x353d67);}[_0x224a2e(0x278)](_0x399396,_0x16c7f1,_0x18bd4e){const _0x48ec28=_0x224a2e;let _0x2e7107,_0x2236cf;if(typeof _0x399396=='string'?(_0x2e7107=Buffer['byteLength'](_0x399396),_0x2236cf=!0x1):_0x2dfa92(_0x399396)?(_0x2e7107=_0x399396[_0x48ec28(0x2a4)],_0x2236cf=!0x1):(_0x399396=_0xe240f4(_0x399396),_0x2e7107=_0x399396[_0x48ec28(0x106)],_0x2236cf=_0xe240f4['readOnly']),_0x2e7107>0x7d)throw new RangeError(_0x48ec28(0x1ab));const _0x3cbfa8={[_0xf0b700]:_0x2e7107,'fin':!0x0,'generateMask':this[_0x48ec28(0x295)],'mask':_0x16c7f1,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2236cf,'rsv1':!0x1};_0x2dfa92(_0x399396)?this[_0x48ec28(0x207)]!==_0x304a93?this[_0x48ec28(0x24f)]([this['getBlobData'],_0x399396,!0x1,_0x3cbfa8,_0x18bd4e]):this[_0x48ec28(0x26c)](_0x399396,!0x1,_0x3cbfa8,_0x18bd4e):this[_0x48ec28(0x207)]!==_0x304a93?this['enqueue']([this['dispatch'],_0x399396,!0x1,_0x3cbfa8,_0x18bd4e]):this[_0x48ec28(0xf0)](_0x20b645['frame'](_0x399396,_0x3cbfa8),_0x18bd4e);}['send'](_0x41ac72,_0x1ea160,_0x4d56ac){const _0x5c51c6=_0x224a2e,_0x21ef30=this[_0x5c51c6(0x23b)][_0x4bd41f['extensionName']];let _0x1eec07=_0x1ea160['binary']?0x2:0x1,_0x3ffb4a=_0x1ea160[_0x5c51c6(0x290)],_0x2d1589,_0x3e8acd;typeof _0x41ac72==_0x5c51c6(0x12c)?(_0x2d1589=Buffer['byteLength'](_0x41ac72),_0x3e8acd=!0x1):_0x2dfa92(_0x41ac72)?(_0x2d1589=_0x41ac72[_0x5c51c6(0x2a4)],_0x3e8acd=!0x1):(_0x41ac72=_0xe240f4(_0x41ac72),_0x2d1589=_0x41ac72[_0x5c51c6(0x106)],_0x3e8acd=_0xe240f4[_0x5c51c6(0x160)]),this[_0x5c51c6(0x190)]?(this['_firstFragment']=!0x1,_0x3ffb4a&&_0x21ef30&&_0x21ef30[_0x5c51c6(0x147)][_0x21ef30[_0x5c51c6(0x200)]?'server_no_context_takeover':_0x5c51c6(0x153)]&&(_0x3ffb4a=_0x2d1589>=_0x21ef30[_0x5c51c6(0x11c)]),this[_0x5c51c6(0x27d)]=_0x3ffb4a):(_0x3ffb4a=!0x1,_0x1eec07=0x0),_0x1ea160['fin']&&(this[_0x5c51c6(0x190)]=!0x0);const _0x20e655={[_0xf0b700]:_0x2d1589,'fin':_0x1ea160[_0x5c51c6(0x107)],'generateMask':this['_generateMask'],'mask':_0x1ea160[_0x5c51c6(0x1df)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1eec07,'readOnly':_0x3e8acd,'rsv1':_0x3ffb4a};_0x2dfa92(_0x41ac72)?this[_0x5c51c6(0x207)]!==_0x304a93?this[_0x5c51c6(0x24f)]([this[_0x5c51c6(0x26c)],_0x41ac72,this['_compress'],_0x20e655,_0x4d56ac]):this[_0x5c51c6(0x26c)](_0x41ac72,this[_0x5c51c6(0x27d)],_0x20e655,_0x4d56ac):this['_state']!==_0x304a93?this[_0x5c51c6(0x24f)]([this[_0x5c51c6(0x24e)],_0x41ac72,this[_0x5c51c6(0x27d)],_0x20e655,_0x4d56ac]):this['dispatch'](_0x41ac72,this['_compress'],_0x20e655,_0x4d56ac);}[_0x224a2e(0x26c)](_0x4a66e1,_0x483681,_0x35b131,_0x5a3385){const _0x105a73=_0x224a2e;this[_0x105a73(0x28f)]+=_0x35b131[_0xf0b700],this[_0x105a73(0x207)]=_0x28c37d,_0x4a66e1['arrayBuffer']()[_0x105a73(0x21d)](_0x2b3345=>{const _0x45875e=_0x105a73;if(this[_0x45875e(0x134)][_0x45875e(0x1ee)]){const _0x512933=new Error(_0x45875e(0x191));process[_0x45875e(0x126)](_0x527a20,this,_0x512933,_0x5a3385);return;}this[_0x45875e(0x28f)]-=_0x35b131[_0xf0b700];const _0x5acaa5=_0xe240f4(_0x2b3345);_0x483681?this[_0x45875e(0x24e)](_0x5acaa5,_0x483681,_0x35b131,_0x5a3385):(this['_state']=_0x304a93,this['sendFrame'](_0x20b645[_0x45875e(0xfe)](_0x5acaa5,_0x35b131),_0x5a3385),this[_0x45875e(0x2ae)]());})['catch'](_0x51c6a0=>{const _0x3b67be=_0x105a73;process[_0x3b67be(0x126)](_0x50bfb5,this,_0x51c6a0,_0x5a3385);});}[_0x224a2e(0x24e)](_0x38d4ef,_0x2efe8d,_0x194c3c,_0x476e79){const _0x38f18f=_0x224a2e;if(!_0x2efe8d){this[_0x38f18f(0xf0)](_0x20b645['frame'](_0x38d4ef,_0x194c3c),_0x476e79);return;}const _0x46a16b=this['_extensions'][_0x4bd41f[_0x38f18f(0x22f)]];this[_0x38f18f(0x28f)]+=_0x194c3c[_0xf0b700],this[_0x38f18f(0x207)]=_0xea40f2,_0x46a16b['compress'](_0x38d4ef,_0x194c3c[_0x38f18f(0x107)],(_0x43f855,_0x2dd52d)=>{const _0x314533=_0x38f18f;if(this['_socket']['destroyed']){const _0x3547db=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x527a20(this,_0x3547db,_0x476e79);return;}this[_0x314533(0x28f)]-=_0x194c3c[_0xf0b700],this[_0x314533(0x207)]=_0x304a93,_0x194c3c[_0x314533(0x160)]=!0x1,this[_0x314533(0xf0)](_0x20b645[_0x314533(0xfe)](_0x2dd52d,_0x194c3c),_0x476e79),this['dequeue']();});}[_0x224a2e(0x2ae)](){const _0x5a4f3f=_0x224a2e;for(;this[_0x5a4f3f(0x207)]===_0x304a93&&this[_0x5a4f3f(0xf5)]['length'];){const _0x562c20=this[_0x5a4f3f(0xf5)][_0x5a4f3f(0xfa)]();this[_0x5a4f3f(0x28f)]-=_0x562c20[0x3][_0xf0b700],Reflect[_0x5a4f3f(0x119)](_0x562c20[0x0],this,_0x562c20[_0x5a4f3f(0x23f)](0x1));}}['enqueue'](_0x4166a3){const _0xf9af5=_0x224a2e;this[_0xf9af5(0x28f)]+=_0x4166a3[0x3][_0xf0b700],this[_0xf9af5(0xf5)][_0xf9af5(0x1b1)](_0x4166a3);}[_0x224a2e(0xf0)](_0x351650,_0x1e93e9){const _0x4a5859=_0x224a2e;_0x351650[_0x4a5859(0x106)]===0x2?(this[_0x4a5859(0x134)]['cork'](),this[_0x4a5859(0x134)][_0x4a5859(0x182)](_0x351650[0x0]),this['_socket'][_0x4a5859(0x182)](_0x351650[0x1],_0x1e93e9),this[_0x4a5859(0x134)][_0x4a5859(0x25c)]()):this[_0x4a5859(0x134)][_0x4a5859(0x182)](_0x351650[0x0],_0x1e93e9);}}Ee=_0x20b645;function _0x527a20(_0x5d231e,_0x5c565a,_0x19795d){const _0xcef9d3=_0x224a2e;typeof _0x19795d==_0xcef9d3(0x13f)&&_0x19795d(_0x5c565a);for(let _0x9091c7=0x0;_0x9091c7<_0x5d231e['_queue'][_0xcef9d3(0x106)];_0x9091c7++){const _0x11ed2f=_0x5d231e[_0xcef9d3(0xf5)][_0x9091c7],_0x193472=_0x11ed2f[_0x11ed2f[_0xcef9d3(0x106)]-0x1];typeof _0x193472==_0xcef9d3(0x13f)&&_0x193472(_0x5c565a);}}function _0x50bfb5(_0x41d562,_0x4482a2,_0x5ec02a){const _0x12918d=_0x224a2e;_0x527a20(_0x41d562,_0x4482a2,_0x5ec02a),_0x41d562[_0x12918d(0x29c)](_0x4482a2);}return Ee;}var xe,Ze;function It(){const _0x54ab52=_0x5c4c14;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x202cff,kListener:_0x47be4c}=H(),_0x1ba36e=Symbol(_0x54ab52(0x226)),_0x3fcc7f=Symbol('kData'),_0x8109ec=Symbol('kError'),_0x23c0ca=Symbol(_0x54ab52(0x1ba)),_0x29ae3d=Symbol('kReason'),_0x2ea1e5=Symbol(_0x54ab52(0x1a5)),_0x5cc78d=Symbol('kType'),_0x9e158a=Symbol('kWasClean');class _0x5701ac{constructor(_0x4118dc){this[_0x2ea1e5]=null,this[_0x5cc78d]=_0x4118dc;}get['target'](){return this[_0x2ea1e5];}get['type'](){return this[_0x5cc78d];}}Object[_0x54ab52(0x239)](_0x5701ac[_0x54ab52(0x195)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x5701ac[_0x54ab52(0x195)],'type',{'enumerable':!0x0});class _0x493251 extends _0x5701ac{constructor(_0x59e85f,_0x16420f={}){const _0x5920f0=_0x54ab52;super(_0x59e85f),this[_0x1ba36e]=_0x16420f['code']===void 0x0?0x0:_0x16420f['code'],this[_0x29ae3d]=_0x16420f['reason']===void 0x0?'':_0x16420f[_0x5920f0(0x178)],this[_0x9e158a]=_0x16420f[_0x5920f0(0x179)]===void 0x0?!0x1:_0x16420f['wasClean'];}get[_0x54ab52(0x21a)](){return this[_0x1ba36e];}get[_0x54ab52(0x178)](){return this[_0x29ae3d];}get[_0x54ab52(0x179)](){return this[_0x9e158a];}}Object[_0x54ab52(0x239)](_0x493251[_0x54ab52(0x195)],_0x54ab52(0x21a),{'enumerable':!0x0}),Object[_0x54ab52(0x239)](_0x493251['prototype'],_0x54ab52(0x178),{'enumerable':!0x0}),Object['defineProperty'](_0x493251[_0x54ab52(0x195)],_0x54ab52(0x179),{'enumerable':!0x0});class _0x57237a extends _0x5701ac{constructor(_0x2a0d20,_0x430603={}){const _0x566197=_0x54ab52;super(_0x2a0d20),this[_0x8109ec]=_0x430603['error']===void 0x0?null:_0x430603[_0x566197(0x1d2)],this[_0x23c0ca]=_0x430603[_0x566197(0x276)]===void 0x0?'':_0x430603['message'];}get['error'](){return this[_0x8109ec];}get['message'](){return this[_0x23c0ca];}}Object[_0x54ab52(0x239)](_0x57237a[_0x54ab52(0x195)],_0x54ab52(0x1d2),{'enumerable':!0x0}),Object[_0x54ab52(0x239)](_0x57237a['prototype'],_0x54ab52(0x276),{'enumerable':!0x0});class _0x28fd30 extends _0x5701ac{constructor(_0x5d8913,_0x245d1f={}){const _0x557dc5=_0x54ab52;super(_0x5d8913),this[_0x3fcc7f]=_0x245d1f[_0x557dc5(0x11b)]===void 0x0?null:_0x245d1f['data'];}get['data'](){return this[_0x3fcc7f];}}Object[_0x54ab52(0x239)](_0x28fd30[_0x54ab52(0x195)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x493251,'ErrorEvent':_0x57237a,'Event':_0x5701ac,'EventTarget':{'addEventListener'(_0x1da2c8,_0x474eb6,_0x277144={}){const _0x620ad7=_0x54ab52;for(const _0x218d84 of this['listeners'](_0x1da2c8))if(!_0x277144[_0x202cff]&&_0x218d84[_0x47be4c]===_0x474eb6&&!_0x218d84[_0x202cff])return;let _0x318689;if(_0x1da2c8===_0x620ad7(0x276))_0x318689=function(_0x245a70,_0x2525db){const _0x405970=_0x620ad7,_0xc508d3=new _0x28fd30(_0x405970(0x276),{'data':_0x2525db?_0x245a70:_0x245a70[_0x405970(0x2a0)]()});_0xc508d3[_0x2ea1e5]=this,_0x301dea(_0x474eb6,this,_0xc508d3);};else{if(_0x1da2c8===_0x620ad7(0x16f))_0x318689=function(_0x3a9fda,_0x4d9fe9){const _0x509221=_0x620ad7,_0x54529f=new _0x493251(_0x509221(0x16f),{'code':_0x3a9fda,'reason':_0x4d9fe9[_0x509221(0x2a0)](),'wasClean':this[_0x509221(0x1d4)]&&this['_closeFrameSent']});_0x54529f[_0x2ea1e5]=this,_0x301dea(_0x474eb6,this,_0x54529f);};else{if(_0x1da2c8==='error')_0x318689=function(_0x60f375){const _0x5560bf=_0x620ad7,_0x3d9781=new _0x57237a(_0x5560bf(0x1d2),{'error':_0x60f375,'message':_0x60f375['message']});_0x3d9781[_0x2ea1e5]=this,_0x301dea(_0x474eb6,this,_0x3d9781);};else{if(_0x1da2c8==='open')_0x318689=function(){const _0x717ecc=_0x620ad7,_0x1dd1e0=new _0x5701ac(_0x717ecc(0x133));_0x1dd1e0[_0x2ea1e5]=this,_0x301dea(_0x474eb6,this,_0x1dd1e0);};else return;}}}_0x318689[_0x202cff]=!!_0x277144[_0x202cff],_0x318689[_0x47be4c]=_0x474eb6,_0x277144[_0x620ad7(0x131)]?this[_0x620ad7(0x131)](_0x1da2c8,_0x318689):this['on'](_0x1da2c8,_0x318689);},'removeEventListener'(_0x3ca2c1,_0x5648b4){for(const _0x14e534 of this['listeners'](_0x3ca2c1))if(_0x14e534[_0x47be4c]===_0x5648b4&&!_0x14e534[_0x202cff]){this['removeListener'](_0x3ca2c1,_0x14e534);break;}}},'MessageEvent':_0x28fd30};function _0x301dea(_0x15b6cb,_0x38c1ac,_0x38ebdf){const _0x4b3b5a=_0x54ab52;typeof _0x15b6cb=='object'&&_0x15b6cb[_0x4b3b5a(0x20e)]?_0x15b6cb[_0x4b3b5a(0x20e)][_0x4b3b5a(0x1b2)](_0x15b6cb,_0x38ebdf):_0x15b6cb[_0x4b3b5a(0x1b2)](_0x38c1ac,_0x38ebdf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5440d3}=ae();function _0x14a998(_0x23feb6,_0x7058d2,_0x1ce5a6){const _0x4056ee=_0x20d9;_0x23feb6[_0x7058d2]===void 0x0?_0x23feb6[_0x7058d2]=[_0x1ce5a6]:_0x23feb6[_0x7058d2][_0x4056ee(0x1b1)](_0x1ce5a6);}function _0x5490b1(_0x524073){const _0x576ccb=_0x20d9,_0x35b1c8=Object['create'](null);let _0x3f2575=Object[_0x576ccb(0x245)](null),_0x57a6c1=!0x1,_0x59add7=!0x1,_0x144f49=!0x1,_0x501efe,_0xdb7882,_0x42c6c1=-0x1,_0xbb752e=-0x1,_0x293093=-0x1,_0x5ae9c1=0x0;for(;_0x5ae9c1<_0x524073[_0x576ccb(0x106)];_0x5ae9c1++)if(_0xbb752e=_0x524073['charCodeAt'](_0x5ae9c1),_0x501efe===void 0x0){if(_0x293093===-0x1&&_0x5440d3[_0xbb752e]===0x1)_0x42c6c1===-0x1&&(_0x42c6c1=_0x5ae9c1);else{if(_0x5ae9c1!==0x0&&(_0xbb752e===0x20||_0xbb752e===0x9))_0x293093===-0x1&&_0x42c6c1!==-0x1&&(_0x293093=_0x5ae9c1);else{if(_0xbb752e===0x3b||_0xbb752e===0x2c){if(_0x42c6c1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5ae9c1);_0x293093===-0x1&&(_0x293093=_0x5ae9c1);const _0x4fd3a0=_0x524073[_0x576ccb(0x23f)](_0x42c6c1,_0x293093);_0xbb752e===0x2c?(_0x14a998(_0x35b1c8,_0x4fd3a0,_0x3f2575),_0x3f2575=Object[_0x576ccb(0x245)](null)):_0x501efe=_0x4fd3a0,_0x42c6c1=_0x293093=-0x1;}else throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);}}}else{if(_0xdb7882===void 0x0){if(_0x293093===-0x1&&_0x5440d3[_0xbb752e]===0x1)_0x42c6c1===-0x1&&(_0x42c6c1=_0x5ae9c1);else{if(_0xbb752e===0x20||_0xbb752e===0x9)_0x293093===-0x1&&_0x42c6c1!==-0x1&&(_0x293093=_0x5ae9c1);else{if(_0xbb752e===0x3b||_0xbb752e===0x2c){if(_0x42c6c1===-0x1)throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);_0x293093===-0x1&&(_0x293093=_0x5ae9c1),_0x14a998(_0x3f2575,_0x524073[_0x576ccb(0x23f)](_0x42c6c1,_0x293093),!0x0),_0xbb752e===0x2c&&(_0x14a998(_0x35b1c8,_0x501efe,_0x3f2575),_0x3f2575=Object[_0x576ccb(0x245)](null),_0x501efe=void 0x0),_0x42c6c1=_0x293093=-0x1;}else{if(_0xbb752e===0x3d&&_0x42c6c1!==-0x1&&_0x293093===-0x1)_0xdb7882=_0x524073['slice'](_0x42c6c1,_0x5ae9c1),_0x42c6c1=_0x293093=-0x1;else throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);}}}}else{if(_0x59add7){if(_0x5440d3[_0xbb752e]!==0x1)throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);_0x42c6c1===-0x1?_0x42c6c1=_0x5ae9c1:_0x57a6c1||(_0x57a6c1=!0x0),_0x59add7=!0x1;}else{if(_0x144f49){if(_0x5440d3[_0xbb752e]===0x1)_0x42c6c1===-0x1&&(_0x42c6c1=_0x5ae9c1);else{if(_0xbb752e===0x22&&_0x42c6c1!==-0x1)_0x144f49=!0x1,_0x293093=_0x5ae9c1;else{if(_0xbb752e===0x5c)_0x59add7=!0x0;else throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);}}}else{if(_0xbb752e===0x22&&_0x524073['charCodeAt'](_0x5ae9c1-0x1)===0x3d)_0x144f49=!0x0;else{if(_0x293093===-0x1&&_0x5440d3[_0xbb752e]===0x1)_0x42c6c1===-0x1&&(_0x42c6c1=_0x5ae9c1);else{if(_0x42c6c1!==-0x1&&(_0xbb752e===0x20||_0xbb752e===0x9))_0x293093===-0x1&&(_0x293093=_0x5ae9c1);else{if(_0xbb752e===0x3b||_0xbb752e===0x2c){if(_0x42c6c1===-0x1)throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);_0x293093===-0x1&&(_0x293093=_0x5ae9c1);let _0x537f6d=_0x524073[_0x576ccb(0x23f)](_0x42c6c1,_0x293093);_0x57a6c1&&(_0x537f6d=_0x537f6d[_0x576ccb(0x212)](/\\/g,''),_0x57a6c1=!0x1),_0x14a998(_0x3f2575,_0xdb7882,_0x537f6d),_0xbb752e===0x2c&&(_0x14a998(_0x35b1c8,_0x501efe,_0x3f2575),_0x3f2575=Object[_0x576ccb(0x245)](null),_0x501efe=void 0x0),_0xdb7882=void 0x0,_0x42c6c1=_0x293093=-0x1;}else throw new SyntaxError(_0x576ccb(0x213)+_0x5ae9c1);}}}}}}}if(_0x42c6c1===-0x1||_0x144f49||_0xbb752e===0x20||_0xbb752e===0x9)throw new SyntaxError(_0x576ccb(0x187));_0x293093===-0x1&&(_0x293093=_0x5ae9c1);const _0x1185a9=_0x524073['slice'](_0x42c6c1,_0x293093);return _0x501efe===void 0x0?_0x14a998(_0x35b1c8,_0x1185a9,_0x3f2575):(_0xdb7882===void 0x0?_0x14a998(_0x3f2575,_0x1185a9,!0x0):_0x57a6c1?_0x14a998(_0x3f2575,_0xdb7882,_0x1185a9[_0x576ccb(0x212)](/\\/g,'')):_0x14a998(_0x3f2575,_0xdb7882,_0x1185a9),_0x14a998(_0x35b1c8,_0x501efe,_0x3f2575)),_0x35b1c8;}function _0x555f31(_0x389444){const _0x162559=_0x20d9;return Object['keys'](_0x389444)[_0x162559(0xfc)](_0x410879=>{const _0x2e2afa=_0x162559;let _0x3a9735=_0x389444[_0x410879];return Array[_0x2e2afa(0x143)](_0x3a9735)||(_0x3a9735=[_0x3a9735]),_0x3a9735[_0x2e2afa(0xfc)](_0x4f40d9=>[_0x410879][_0x2e2afa(0x215)](Object[_0x2e2afa(0x25b)](_0x4f40d9)[_0x2e2afa(0xfc)](_0x3de61e=>{const _0x223e26=_0x2e2afa;let _0x45ee4a=_0x4f40d9[_0x3de61e];return Array[_0x223e26(0x143)](_0x45ee4a)||(_0x45ee4a=[_0x45ee4a]),_0x45ee4a['map'](_0x2e9a40=>_0x2e9a40===!0x0?_0x3de61e:_0x3de61e+'='+_0x2e9a40)['join'](';\x20');}))[_0x2e2afa(0x210)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x555f31,'parse':_0x5490b1},be;}var we,Je;function Pe(){const _0x33a66a=_0x5c4c14;if(Je)return we;Je=0x1;const _0x58e11e=nt,_0x4aa7f7=vt,_0x2b4074=ot,_0x410874=St,_0x3993be=Et,{randomBytes:_0x46816d,createHash:_0x31d8a1}=Le,{Duplex:_0x3f6bce,Readable:_0x324a70}=oe,{URL:_0x2c382d}=xt,_0x41c1b0=he(),_0x194a3c=lt(),_0x1f7a93=ft(),{isBlob:_0x453e93}=ae(),{BINARY_TYPES:_0x1ea323,EMPTY_BUFFER:_0x18a398,GUID:_0x1e5023,kForOnEventAttribute:_0xf43bb7,kListener:_0x5a2d4d,kStatusCode:_0x58a177,kWebSocket:_0x4fde5e,NOOP:_0x3d01e6}=H(),{EventTarget:{addEventListener:_0xb30a9c,removeEventListener:_0x5038fa}}=It(),{format:_0x6ef2f4,parse:_0x2c9d31}=ct(),{toBuffer:_0x242d6a}=ce(),_0xca0dc0=0x1e*0x3e8,_0x1c7040=Symbol(_0x33a66a(0x244)),_0x499501=[0x8,0xd],_0x5ebdf2=[_0x33a66a(0x14a),_0x33a66a(0x27e),_0x33a66a(0x237),_0x33a66a(0x1f4)],_0x59f641=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x118da0 extends _0x58e11e{constructor(_0x15f0a1,_0x18ed8c,_0x2eac29){const _0x36c2ed=_0x33a66a;super(),this[_0x36c2ed(0x142)]=_0x1ea323[0x0],this[_0x36c2ed(0x177)]=0x3ee,this[_0x36c2ed(0x1d4)]=!0x1,this[_0x36c2ed(0x2a8)]=!0x1,this[_0x36c2ed(0x1ed)]=_0x18a398,this['_closeTimer']=null,this[_0x36c2ed(0x240)]=!0x1,this[_0x36c2ed(0x23b)]={},this[_0x36c2ed(0xef)]=!0x1,this[_0x36c2ed(0x1b9)]='',this['_readyState']=_0x118da0[_0x36c2ed(0x14a)],this[_0x36c2ed(0x1ec)]=null,this[_0x36c2ed(0x2af)]=null,this['_socket']=null,_0x15f0a1!==null?(this[_0x36c2ed(0x1ef)]=0x0,this['_isServer']=!0x1,this[_0x36c2ed(0x250)]=0x0,_0x18ed8c===void 0x0?_0x18ed8c=[]:Array['isArray'](_0x18ed8c)||(typeof _0x18ed8c==_0x36c2ed(0x2a3)&&_0x18ed8c!==null?(_0x2eac29=_0x18ed8c,_0x18ed8c=[]):_0x18ed8c=[_0x18ed8c]),_0x416859(this,_0x15f0a1,_0x18ed8c,_0x2eac29)):(this['_autoPong']=_0x2eac29[_0x36c2ed(0x1d1)],this['_isServer']=!0x0);}get['binaryType'](){const _0x5a7eb5=_0x33a66a;return this[_0x5a7eb5(0x142)];}set['binaryType'](_0x55e3c8){const _0x241b22=_0x33a66a;_0x1ea323['includes'](_0x55e3c8)&&(this[_0x241b22(0x142)]=_0x55e3c8,this[_0x241b22(0x1ec)]&&(this[_0x241b22(0x1ec)]['_binaryType']=_0x55e3c8));}get[_0x33a66a(0x292)](){const _0x512f9c=_0x33a66a;return this[_0x512f9c(0x134)]?this[_0x512f9c(0x134)]['_writableState'][_0x512f9c(0x106)]+this[_0x512f9c(0x2af)]['_bufferedBytes']:this[_0x512f9c(0x1ef)];}get[_0x33a66a(0x21e)](){const _0x1754f5=_0x33a66a;return Object[_0x1754f5(0x25b)](this[_0x1754f5(0x23b)])['join']();}get[_0x33a66a(0x1cb)](){const _0x510fcb=_0x33a66a;return this[_0x510fcb(0xef)];}get[_0x33a66a(0x256)](){return null;}get[_0x33a66a(0x29c)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x33a66a(0x1e3)](){const _0x28f564=_0x33a66a;return this[_0x28f564(0x1b9)];}get['readyState'](){const _0x166465=_0x33a66a;return this[_0x166465(0x19e)];}get[_0x33a66a(0x2a7)](){return this['_url'];}[_0x33a66a(0x12f)](_0x237b59,_0x5cc5ea,_0x142fce){const _0x295395=_0x33a66a,_0x2aa781=new _0x194a3c({'allowSynchronousEvents':_0x142fce[_0x295395(0x17d)],'binaryType':this[_0x295395(0x17e)],'extensions':this[_0x295395(0x23b)],'isServer':this[_0x295395(0x200)],'maxPayload':_0x142fce[_0x295395(0x193)],'skipUTF8Validation':_0x142fce[_0x295395(0x127)]}),_0x382b10=new _0x1f7a93(_0x237b59,this[_0x295395(0x23b)],_0x142fce['generateMask']);this[_0x295395(0x1ec)]=_0x2aa781,this['_sender']=_0x382b10,this['_socket']=_0x237b59,_0x2aa781[_0x4fde5e]=this,_0x382b10[_0x4fde5e]=this,_0x237b59[_0x4fde5e]=this,_0x2aa781['on'](_0x295395(0x1e0),_0x530d81),_0x2aa781['on']('drain',_0x4768b3),_0x2aa781['on'](_0x295395(0x1d2),_0x4fe5ef),_0x2aa781['on'](_0x295395(0x276),_0x4231a0),_0x2aa781['on'](_0x295395(0x1b8),_0x59cb0f),_0x2aa781['on'](_0x295395(0x278),_0x196332),_0x382b10[_0x295395(0x29c)]=_0x4fc3bd,_0x237b59[_0x295395(0x17c)]&&_0x237b59['setTimeout'](0x0),_0x237b59['setNoDelay']&&_0x237b59[_0x295395(0x1f1)](),_0x5cc5ea[_0x295395(0x106)]>0x0&&_0x237b59[_0x295395(0x11f)](_0x5cc5ea),_0x237b59['on'](_0x295395(0x16f),_0x2118cb),_0x237b59['on'](_0x295395(0x11b),_0x1a0c45),_0x237b59['on'](_0x295395(0xf4),_0x16eea5),_0x237b59['on'](_0x295395(0x1d2),_0x56b00b),this[_0x295395(0x19e)]=_0x118da0[_0x295395(0x27e)],this[_0x295395(0x165)](_0x295395(0x133));}['emitClose'](){const _0x589666=_0x33a66a;if(!this[_0x589666(0x134)]){this['_readyState']=_0x118da0[_0x589666(0x1f4)],this[_0x589666(0x165)](_0x589666(0x16f),this[_0x589666(0x177)],this['_closeMessage']);return;}this[_0x589666(0x23b)][_0x41c1b0[_0x589666(0x22f)]]&&this[_0x589666(0x23b)][_0x41c1b0[_0x589666(0x22f)]][_0x589666(0x186)](),this[_0x589666(0x1ec)][_0x589666(0x169)](),this['_readyState']=_0x118da0[_0x589666(0x1f4)],this['emit']('close',this[_0x589666(0x177)],this[_0x589666(0x1ed)]);}[_0x33a66a(0x16f)](_0x358ebd,_0x573190){const _0x132af6=_0x33a66a;if(this[_0x132af6(0x26b)]!==_0x118da0[_0x132af6(0x1f4)]){if(this[_0x132af6(0x26b)]===_0x118da0[_0x132af6(0x14a)]){_0x5d745f(this,this[_0x132af6(0x291)],_0x132af6(0x1de));return;}if(this[_0x132af6(0x26b)]===_0x118da0[_0x132af6(0x237)]){this[_0x132af6(0x2a8)]&&(this['_closeFrameReceived']||this[_0x132af6(0x1ec)][_0x132af6(0x266)][_0x132af6(0x1c0)])&&this[_0x132af6(0x134)][_0x132af6(0xf4)]();return;}this[_0x132af6(0x19e)]=_0x118da0[_0x132af6(0x237)],this[_0x132af6(0x2af)][_0x132af6(0x16f)](_0x358ebd,_0x573190,!this[_0x132af6(0x200)],_0x390169=>{const _0x25b1bb=_0x132af6;_0x390169||(this[_0x25b1bb(0x2a8)]=!0x0,(this[_0x25b1bb(0x1d4)]||this['_receiver'][_0x25b1bb(0x266)][_0x25b1bb(0x1c0)])&&this['_socket'][_0x25b1bb(0xf4)]());}),_0x28ce92(this);}}[_0x33a66a(0x100)](){const _0x1baee6=_0x33a66a;this['readyState']===_0x118da0[_0x1baee6(0x14a)]||this[_0x1baee6(0x26b)]===_0x118da0[_0x1baee6(0x1f4)]||(this[_0x1baee6(0xef)]=!0x0,this[_0x1baee6(0x134)][_0x1baee6(0x100)]());}[_0x33a66a(0x1b8)](_0x504abe,_0x27ce91,_0x2a007a){const _0x58115a=_0x33a66a;if(this['readyState']===_0x118da0[_0x58115a(0x14a)])throw new Error(_0x58115a(0x264));if(typeof _0x504abe==_0x58115a(0x13f)?(_0x2a007a=_0x504abe,_0x504abe=_0x27ce91=void 0x0):typeof _0x27ce91==_0x58115a(0x13f)&&(_0x2a007a=_0x27ce91,_0x27ce91=void 0x0),typeof _0x504abe==_0x58115a(0x1e5)&&(_0x504abe=_0x504abe['toString']()),this[_0x58115a(0x26b)]!==_0x118da0[_0x58115a(0x27e)]){_0x42fe61(this,_0x504abe,_0x2a007a);return;}_0x27ce91===void 0x0&&(_0x27ce91=!this[_0x58115a(0x200)]),this[_0x58115a(0x2af)][_0x58115a(0x1b8)](_0x504abe||_0x18a398,_0x27ce91,_0x2a007a);}[_0x33a66a(0x278)](_0xce8c6a,_0x59b8b3,_0x35654b){const _0x35f4f9=_0x33a66a;if(this[_0x35f4f9(0x26b)]===_0x118da0[_0x35f4f9(0x14a)])throw new Error(_0x35f4f9(0x264));if(typeof _0xce8c6a=='function'?(_0x35654b=_0xce8c6a,_0xce8c6a=_0x59b8b3=void 0x0):typeof _0x59b8b3=='function'&&(_0x35654b=_0x59b8b3,_0x59b8b3=void 0x0),typeof _0xce8c6a==_0x35f4f9(0x1e5)&&(_0xce8c6a=_0xce8c6a[_0x35f4f9(0x2a0)]()),this['readyState']!==_0x118da0[_0x35f4f9(0x27e)]){_0x42fe61(this,_0xce8c6a,_0x35654b);return;}_0x59b8b3===void 0x0&&(_0x59b8b3=!this['_isServer']),this[_0x35f4f9(0x2af)][_0x35f4f9(0x278)](_0xce8c6a||_0x18a398,_0x59b8b3,_0x35654b);}[_0x33a66a(0x15c)](){const _0x337fea=_0x33a66a;this['readyState']===_0x118da0[_0x337fea(0x14a)]||this[_0x337fea(0x26b)]===_0x118da0['CLOSED']||(this[_0x337fea(0xef)]=!0x1,this[_0x337fea(0x1ec)][_0x337fea(0x266)][_0x337fea(0x132)]||this[_0x337fea(0x134)][_0x337fea(0x15c)]());}['send'](_0x129ade,_0x265306,_0x326059){const _0x33719a=_0x33a66a;if(this[_0x33719a(0x26b)]===_0x118da0[_0x33719a(0x14a)])throw new Error(_0x33719a(0x264));if(typeof _0x265306==_0x33719a(0x13f)&&(_0x326059=_0x265306,_0x265306={}),typeof _0x129ade=='number'&&(_0x129ade=_0x129ade['toString']()),this[_0x33719a(0x26b)]!==_0x118da0['OPEN']){_0x42fe61(this,_0x129ade,_0x326059);return;}const _0x4cf6f7={'binary':typeof _0x129ade!=_0x33719a(0x12c),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x265306};this[_0x33719a(0x23b)][_0x41c1b0[_0x33719a(0x22f)]]||(_0x4cf6f7[_0x33719a(0x290)]=!0x1),this['_sender']['send'](_0x129ade||_0x18a398,_0x4cf6f7,_0x326059);}[_0x33a66a(0x115)](){const _0x186ac0=_0x33a66a;if(this['readyState']!==_0x118da0[_0x186ac0(0x1f4)]){if(this[_0x186ac0(0x26b)]===_0x118da0[_0x186ac0(0x14a)]){_0x5d745f(this,this[_0x186ac0(0x291)],_0x186ac0(0x1de));return;}this[_0x186ac0(0x134)]&&(this['_readyState']=_0x118da0[_0x186ac0(0x237)],this[_0x186ac0(0x134)][_0x186ac0(0x287)]());}}}Object[_0x33a66a(0x239)](_0x118da0,_0x33a66a(0x14a),{'enumerable':!0x0,'value':_0x5ebdf2[_0x33a66a(0x1bd)](_0x33a66a(0x14a))}),Object[_0x33a66a(0x239)](_0x118da0[_0x33a66a(0x195)],_0x33a66a(0x14a),{'enumerable':!0x0,'value':_0x5ebdf2['indexOf'](_0x33a66a(0x14a))}),Object[_0x33a66a(0x239)](_0x118da0,'OPEN',{'enumerable':!0x0,'value':_0x5ebdf2[_0x33a66a(0x1bd)](_0x33a66a(0x27e))}),Object[_0x33a66a(0x239)](_0x118da0['prototype'],_0x33a66a(0x27e),{'enumerable':!0x0,'value':_0x5ebdf2[_0x33a66a(0x1bd)](_0x33a66a(0x27e))}),Object['defineProperty'](_0x118da0,_0x33a66a(0x237),{'enumerable':!0x0,'value':_0x5ebdf2['indexOf']('CLOSING')}),Object['defineProperty'](_0x118da0[_0x33a66a(0x195)],'CLOSING',{'enumerable':!0x0,'value':_0x5ebdf2[_0x33a66a(0x1bd)](_0x33a66a(0x237))}),Object[_0x33a66a(0x239)](_0x118da0,_0x33a66a(0x1f4),{'enumerable':!0x0,'value':_0x5ebdf2['indexOf'](_0x33a66a(0x1f4))}),Object['defineProperty'](_0x118da0['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x5ebdf2['indexOf'](_0x33a66a(0x1f4))}),['binaryType',_0x33a66a(0x292),_0x33a66a(0x21e),_0x33a66a(0x1cb),'protocol',_0x33a66a(0x26b),_0x33a66a(0x2a7)][_0x33a66a(0x118)](_0x300240=>{const _0x3c08c5=_0x33a66a;Object[_0x3c08c5(0x239)](_0x118da0[_0x3c08c5(0x195)],_0x300240,{'enumerable':!0x0});}),[_0x33a66a(0x133),_0x33a66a(0x1d2),'close',_0x33a66a(0x276)][_0x33a66a(0x118)](_0x590745=>{const _0x5878b2=_0x33a66a;Object[_0x5878b2(0x239)](_0x118da0[_0x5878b2(0x195)],'on'+_0x590745,{'enumerable':!0x0,'get'(){const _0x4501b7=_0x5878b2;for(const _0x243e5a of this[_0x4501b7(0x28e)](_0x590745))if(_0x243e5a[_0xf43bb7])return _0x243e5a[_0x5a2d4d];return null;},'set'(_0x1c43aa){const _0x102be3=_0x5878b2;for(const _0x3a2eee of this['listeners'](_0x590745))if(_0x3a2eee[_0xf43bb7]){this[_0x102be3(0x157)](_0x590745,_0x3a2eee);break;}typeof _0x1c43aa=='function'&&this[_0x102be3(0x1fc)](_0x590745,_0x1c43aa,{[_0xf43bb7]:!0x0});}});}),_0x118da0[_0x33a66a(0x195)][_0x33a66a(0x1fc)]=_0xb30a9c,_0x118da0[_0x33a66a(0x195)][_0x33a66a(0x1c2)]=_0x5038fa,we=_0x118da0;function _0x416859(_0x56b5ba,_0x9de4b3,_0x277d2b,_0x4de76b){const _0x548fe7=_0x33a66a,_0x357a01={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x499501[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4de76b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x548fe7(0x1b3),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x56b5ba[_0x548fe7(0x20c)]=_0x357a01[_0x548fe7(0x1d1)],!_0x499501[_0x548fe7(0xed)](_0x357a01['protocolVersion']))throw new RangeError(_0x548fe7(0x16c)+_0x357a01[_0x548fe7(0x192)]+'\x20(supported\x20versions:\x20'+_0x499501[_0x548fe7(0x210)](',\x20')+')');let _0x3406c8;if(_0x9de4b3 instanceof _0x2c382d)_0x3406c8=_0x9de4b3;else try{_0x3406c8=new _0x2c382d(_0x9de4b3);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x9de4b3);}_0x3406c8[_0x548fe7(0x1e3)]===_0x548fe7(0x145)?_0x3406c8[_0x548fe7(0x1e3)]=_0x548fe7(0x258):_0x3406c8[_0x548fe7(0x1e3)]===_0x548fe7(0x146)&&(_0x3406c8['protocol']=_0x548fe7(0x246)),_0x56b5ba['_url']=_0x3406c8[_0x548fe7(0x204)];const _0x27bcb0=_0x3406c8[_0x548fe7(0x1e3)]===_0x548fe7(0x246),_0x1965ed=_0x3406c8[_0x548fe7(0x1e3)]===_0x548fe7(0x275);let _0x1efd10;if(_0x3406c8['protocol']!==_0x548fe7(0x258)&&!_0x27bcb0&&!_0x1965ed?_0x1efd10=_0x548fe7(0x14f):_0x1965ed&&!_0x3406c8[_0x548fe7(0x194)]?_0x1efd10='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x3406c8[_0x548fe7(0x1e4)]&&(_0x1efd10=_0x548fe7(0x23c)),_0x1efd10){const _0x123de0=new SyntaxError(_0x1efd10);if(_0x56b5ba['_redirects']===0x0)throw _0x123de0;_0x2b26b2(_0x56b5ba,_0x123de0);return;}const _0x479d24=_0x27bcb0?0x1bb:0x50,_0x94d4fa=_0x46816d(0x10)[_0x548fe7(0x2a0)]('base64'),_0x5aaf0e=_0x27bcb0?_0x4aa7f7[_0x548fe7(0x110)]:_0x2b4074[_0x548fe7(0x110)],_0x1b891b=new Set();let _0x18ce33;if(_0x357a01[_0x548fe7(0x1e7)]=_0x357a01[_0x548fe7(0x1e7)]||(_0x27bcb0?_0x3bad52:_0x52e358),_0x357a01[_0x548fe7(0x27b)]=_0x357a01[_0x548fe7(0x27b)]||_0x479d24,_0x357a01['port']=_0x3406c8['port']||_0x479d24,_0x357a01[_0x548fe7(0x130)]=_0x3406c8[_0x548fe7(0x26e)][_0x548fe7(0x24d)]('[')?_0x3406c8[_0x548fe7(0x26e)][_0x548fe7(0x23f)](0x1,-0x1):_0x3406c8[_0x548fe7(0x26e)],_0x357a01[_0x548fe7(0x1ea)]={..._0x357a01[_0x548fe7(0x1ea)],'Sec-WebSocket-Version':_0x357a01['protocolVersion'],'Sec-WebSocket-Key':_0x94d4fa,'Connection':'Upgrade','Upgrade':_0x548fe7(0xee)},_0x357a01[_0x548fe7(0x1db)]=_0x3406c8[_0x548fe7(0x194)]+_0x3406c8[_0x548fe7(0x28a)],_0x357a01[_0x548fe7(0x1d6)]=_0x357a01[_0x548fe7(0x1a8)],_0x357a01[_0x548fe7(0x117)]&&(_0x18ce33=new _0x41c1b0(_0x357a01['perMessageDeflate']!==!0x0?_0x357a01[_0x548fe7(0x117)]:{},!0x1,_0x357a01[_0x548fe7(0x193)]),_0x357a01['headers'][_0x548fe7(0x29f)]=_0x6ef2f4({[_0x41c1b0['extensionName']]:_0x18ce33[_0x548fe7(0xf9)]()})),_0x277d2b[_0x548fe7(0x106)]){for(const _0x188507 of _0x277d2b){if(typeof _0x188507!=_0x548fe7(0x12c)||!_0x59f641[_0x548fe7(0x259)](_0x188507)||_0x1b891b[_0x548fe7(0x2b2)](_0x188507))throw new SyntaxError(_0x548fe7(0x23a));_0x1b891b['add'](_0x188507);}_0x357a01[_0x548fe7(0x1ea)][_0x548fe7(0x1b6)]=_0x277d2b[_0x548fe7(0x210)](',');}if(_0x357a01[_0x548fe7(0x1c6)]&&(_0x357a01['protocolVersion']<0xd?_0x357a01[_0x548fe7(0x1ea)][_0x548fe7(0x255)]=_0x357a01[_0x548fe7(0x1c6)]:_0x357a01[_0x548fe7(0x1ea)][_0x548fe7(0x181)]=_0x357a01[_0x548fe7(0x1c6)]),(_0x3406c8[_0x548fe7(0x161)]||_0x3406c8['password'])&&(_0x357a01['auth']=_0x3406c8['username']+':'+_0x3406c8[_0x548fe7(0x231)]),_0x1965ed){const _0x516591=_0x357a01['path'][_0x548fe7(0x10d)](':');_0x357a01['socketPath']=_0x516591[0x0],_0x357a01['path']=_0x516591[0x1];}let _0x5f3964;if(_0x357a01[_0x548fe7(0x29b)]){if(_0x56b5ba[_0x548fe7(0x250)]===0x0){_0x56b5ba[_0x548fe7(0x1c1)]=_0x1965ed,_0x56b5ba['_originalSecure']=_0x27bcb0,_0x56b5ba[_0x548fe7(0x12a)]=_0x1965ed?_0x357a01[_0x548fe7(0x22e)]:_0x3406c8[_0x548fe7(0x130)];const _0x7e1034=_0x4de76b&&_0x4de76b[_0x548fe7(0x1ea)];if(_0x4de76b={..._0x4de76b,'headers':{}},_0x7e1034){for(const [_0x2b7239,_0x135823]of Object[_0x548fe7(0x216)](_0x7e1034))_0x4de76b[_0x548fe7(0x1ea)][_0x2b7239['toLowerCase']()]=_0x135823;}}else{if(_0x56b5ba[_0x548fe7(0x1c8)]('redirect')===0x0){const _0x4168b0=_0x1965ed?_0x56b5ba[_0x548fe7(0x1c1)]?_0x357a01['socketPath']===_0x56b5ba[_0x548fe7(0x12a)]:!0x1:_0x56b5ba['_originalIpc']?!0x1:_0x3406c8['host']===_0x56b5ba[_0x548fe7(0x12a)];(!_0x4168b0||_0x56b5ba['_originalSecure']&&!_0x27bcb0)&&(delete _0x357a01[_0x548fe7(0x1ea)][_0x548fe7(0x16d)],delete _0x357a01[_0x548fe7(0x1ea)][_0x548fe7(0x101)],_0x4168b0||delete _0x357a01['headers'][_0x548fe7(0x130)],_0x357a01[_0x548fe7(0x112)]=void 0x0);}}_0x357a01[_0x548fe7(0x112)]&&!_0x4de76b['headers'][_0x548fe7(0x16d)]&&(_0x4de76b[_0x548fe7(0x1ea)][_0x548fe7(0x16d)]='Basic\x20'+Buffer['from'](_0x357a01[_0x548fe7(0x112)])['toString'](_0x548fe7(0x150))),_0x5f3964=_0x56b5ba[_0x548fe7(0x291)]=_0x5aaf0e(_0x357a01),_0x56b5ba[_0x548fe7(0x250)]&&_0x56b5ba[_0x548fe7(0x165)](_0x548fe7(0x20f),_0x56b5ba[_0x548fe7(0x2a7)],_0x5f3964);}else _0x5f3964=_0x56b5ba[_0x548fe7(0x291)]=_0x5aaf0e(_0x357a01);_0x357a01[_0x548fe7(0x1d6)]&&_0x5f3964['on'](_0x548fe7(0x1d6),()=>{_0x5d745f(_0x56b5ba,_0x5f3964,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x5f3964['on'](_0x548fe7(0x1d2),_0x1a4b7a=>{_0x5f3964===null||_0x5f3964[_0x1c7040]||(_0x5f3964=_0x56b5ba['_req']=null,_0x2b26b2(_0x56b5ba,_0x1a4b7a));}),_0x5f3964['on']('response',_0x4020c8=>{const _0x18664e=_0x548fe7,_0x54a04a=_0x4020c8[_0x18664e(0x1ea)][_0x18664e(0x2b3)],_0x17174a=_0x4020c8[_0x18664e(0x21f)];if(_0x54a04a&&_0x357a01[_0x18664e(0x29b)]&&_0x17174a>=0x12c&&_0x17174a<0x190){if(++_0x56b5ba['_redirects']>_0x357a01[_0x18664e(0x2ad)]){_0x5d745f(_0x56b5ba,_0x5f3964,_0x18664e(0x2a2));return;}_0x5f3964[_0x18664e(0x24a)]();let _0x39860f;try{_0x39860f=new _0x2c382d(_0x54a04a,_0x9de4b3);}catch{const _0x19ace1=new SyntaxError(_0x18664e(0x155)+_0x54a04a);_0x2b26b2(_0x56b5ba,_0x19ace1);return;}_0x416859(_0x56b5ba,_0x39860f,_0x277d2b,_0x4de76b);}else _0x56b5ba['emit'](_0x18664e(0x20d),_0x5f3964,_0x4020c8)||_0x5d745f(_0x56b5ba,_0x5f3964,_0x18664e(0x1ce)+_0x4020c8[_0x18664e(0x21f)]);}),_0x5f3964['on'](_0x548fe7(0x288),(_0x47eede,_0x42cbf2,_0x139c07)=>{const _0x144759=_0x548fe7;if(_0x56b5ba['emit'](_0x144759(0x288),_0x47eede),_0x56b5ba[_0x144759(0x26b)]!==_0x118da0['CONNECTING'])return;_0x5f3964=_0x56b5ba[_0x144759(0x291)]=null;const _0x4c3030=_0x47eede[_0x144759(0x1ea)]['upgrade'];if(_0x4c3030===void 0x0||_0x4c3030['toLowerCase']()!=='websocket'){_0x5d745f(_0x56b5ba,_0x42cbf2,_0x144759(0x12d));return;}const _0x5d12c4=_0x31d8a1(_0x144759(0x135))[_0x144759(0x1c7)](_0x94d4fa+_0x1e5023)['digest']('base64');if(_0x47eede[_0x144759(0x1ea)][_0x144759(0x1e6)]!==_0x5d12c4){_0x5d745f(_0x56b5ba,_0x42cbf2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2c21d1=_0x47eede[_0x144759(0x1ea)][_0x144759(0x163)];let _0x2daa3b;if(_0x2c21d1!==void 0x0?_0x1b891b[_0x144759(0x2a4)]?_0x1b891b[_0x144759(0x2b2)](_0x2c21d1)||(_0x2daa3b='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2daa3b=_0x144759(0x273):_0x1b891b[_0x144759(0x2a4)]&&(_0x2daa3b=_0x144759(0x12b)),_0x2daa3b){_0x5d745f(_0x56b5ba,_0x42cbf2,_0x2daa3b);return;}_0x2c21d1&&(_0x56b5ba[_0x144759(0x1b9)]=_0x2c21d1);const _0x8fe8a3=_0x47eede[_0x144759(0x1ea)][_0x144759(0x11a)];if(_0x8fe8a3!==void 0x0){if(!_0x18ce33){_0x5d745f(_0x56b5ba,_0x42cbf2,_0x144759(0x19d));return;}let _0x35e0d7;try{_0x35e0d7=_0x2c9d31(_0x8fe8a3);}catch{_0x5d745f(_0x56b5ba,_0x42cbf2,_0x144759(0x27a));return;}const _0x34a5eb=Object['keys'](_0x35e0d7);if(_0x34a5eb['length']!==0x1||_0x34a5eb[0x0]!==_0x41c1b0[_0x144759(0x22f)]){_0x5d745f(_0x56b5ba,_0x42cbf2,_0x144759(0x105));return;}try{_0x18ce33[_0x144759(0x1dd)](_0x35e0d7[_0x41c1b0[_0x144759(0x22f)]]);}catch{_0x5d745f(_0x56b5ba,_0x42cbf2,_0x144759(0x27a));return;}_0x56b5ba[_0x144759(0x23b)][_0x41c1b0['extensionName']]=_0x18ce33;}_0x56b5ba[_0x144759(0x12f)](_0x42cbf2,_0x139c07,{'allowSynchronousEvents':_0x357a01[_0x144759(0x17d)],'generateMask':_0x357a01[_0x144759(0x13b)],'maxPayload':_0x357a01['maxPayload'],'skipUTF8Validation':_0x357a01[_0x144759(0x127)]});}),_0x357a01[_0x548fe7(0x1d7)]?_0x357a01[_0x548fe7(0x1d7)](_0x5f3964,_0x56b5ba):_0x5f3964[_0x548fe7(0xf4)]();}function _0x2b26b2(_0x6c6a0e,_0x5dab35){const _0x1dd617=_0x33a66a;_0x6c6a0e[_0x1dd617(0x19e)]=_0x118da0[_0x1dd617(0x237)],_0x6c6a0e[_0x1dd617(0x240)]=!0x0,_0x6c6a0e[_0x1dd617(0x165)](_0x1dd617(0x1d2),_0x5dab35),_0x6c6a0e[_0x1dd617(0x296)]();}function _0x52e358(_0x4d0817){const _0xda5928=_0x33a66a;return _0x4d0817[_0xda5928(0x1db)]=_0x4d0817[_0xda5928(0x22e)],_0x410874[_0xda5928(0x16e)](_0x4d0817);}function _0x3bad52(_0x1dbe7b){const _0x224394=_0x33a66a;return _0x1dbe7b[_0x224394(0x1db)]=void 0x0,!_0x1dbe7b[_0x224394(0x116)]&&_0x1dbe7b[_0x224394(0x116)]!==''&&(_0x1dbe7b['servername']=_0x410874[_0x224394(0x156)](_0x1dbe7b[_0x224394(0x130)])?'':_0x1dbe7b[_0x224394(0x130)]),_0x3993be[_0x224394(0x16e)](_0x1dbe7b);}function _0x5d745f(_0x36cf22,_0x18bf9e,_0x3b8b58){const _0x1ab02a=_0x33a66a;_0x36cf22[_0x1ab02a(0x19e)]=_0x118da0['CLOSING'];const _0x5a1d00=new Error(_0x3b8b58);Error[_0x1ab02a(0x1bc)](_0x5a1d00,_0x5d745f),_0x18bf9e['setHeader']?(_0x18bf9e[_0x1c7040]=!0x0,_0x18bf9e[_0x1ab02a(0x24a)](),_0x18bf9e['socket']&&!_0x18bf9e[_0x1ab02a(0x206)][_0x1ab02a(0x1ee)]&&_0x18bf9e['socket'][_0x1ab02a(0x287)](),process[_0x1ab02a(0x126)](_0x2b26b2,_0x36cf22,_0x5a1d00)):(_0x18bf9e[_0x1ab02a(0x287)](_0x5a1d00),_0x18bf9e[_0x1ab02a(0x131)](_0x1ab02a(0x1d2),_0x36cf22['emit']['bind'](_0x36cf22,_0x1ab02a(0x1d2))),_0x18bf9e[_0x1ab02a(0x131)]('close',_0x36cf22[_0x1ab02a(0x296)][_0x1ab02a(0x205)](_0x36cf22)));}function _0x42fe61(_0x114598,_0x879031,_0x3e61c2){const _0x1b7200=_0x33a66a;if(_0x879031){const _0x2b23de=_0x453e93(_0x879031)?_0x879031[_0x1b7200(0x2a4)]:_0x242d6a(_0x879031)[_0x1b7200(0x106)];_0x114598['_socket']?_0x114598[_0x1b7200(0x2af)][_0x1b7200(0x28f)]+=_0x2b23de:_0x114598[_0x1b7200(0x1ef)]+=_0x2b23de;}if(_0x3e61c2){const _0x444b3e=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x114598[_0x1b7200(0x26b)]+'\x20('+_0x5ebdf2[_0x114598[_0x1b7200(0x26b)]]+')');process[_0x1b7200(0x126)](_0x3e61c2,_0x444b3e);}}function _0x530d81(_0x52d2da,_0x2b504d){const _0x521bcf=_0x33a66a,_0x31f7ac=this[_0x4fde5e];_0x31f7ac['_closeFrameReceived']=!0x0,_0x31f7ac[_0x521bcf(0x1ed)]=_0x2b504d,_0x31f7ac[_0x521bcf(0x177)]=_0x52d2da,_0x31f7ac[_0x521bcf(0x134)][_0x4fde5e]!==void 0x0&&(_0x31f7ac['_socket']['removeListener'](_0x521bcf(0x11b),_0x1a0c45),process[_0x521bcf(0x126)](_0x40081d,_0x31f7ac['_socket']),_0x52d2da===0x3ed?_0x31f7ac[_0x521bcf(0x16f)]():_0x31f7ac[_0x521bcf(0x16f)](_0x52d2da,_0x2b504d));}function _0x4768b3(){const _0x1e00dc=_0x33a66a,_0x4d3a12=this[_0x4fde5e];_0x4d3a12[_0x1e00dc(0x1cb)]||_0x4d3a12['_socket'][_0x1e00dc(0x15c)]();}function _0x4fe5ef(_0x1b04d2){const _0x3a7a83=_0x33a66a,_0x249b43=this[_0x4fde5e];_0x249b43[_0x3a7a83(0x134)][_0x4fde5e]!==void 0x0&&(_0x249b43[_0x3a7a83(0x134)][_0x3a7a83(0x157)](_0x3a7a83(0x11b),_0x1a0c45),process['nextTick'](_0x40081d,_0x249b43[_0x3a7a83(0x134)]),_0x249b43[_0x3a7a83(0x16f)](_0x1b04d2[_0x58a177])),_0x249b43['_errorEmitted']||(_0x249b43['_errorEmitted']=!0x0,_0x249b43[_0x3a7a83(0x165)]('error',_0x1b04d2));}function _0x165350(){this[_0x4fde5e]['emitClose']();}function _0x4231a0(_0x420b65,_0x2cd7b3){const _0x3efdfc=_0x33a66a;this[_0x4fde5e]['emit'](_0x3efdfc(0x276),_0x420b65,_0x2cd7b3);}function _0x59cb0f(_0x3f584e){const _0x36f09c=_0x33a66a,_0x1e263a=this[_0x4fde5e];_0x1e263a[_0x36f09c(0x20c)]&&_0x1e263a['pong'](_0x3f584e,!this['_isServer'],_0x3d01e6),_0x1e263a[_0x36f09c(0x165)](_0x36f09c(0x1b8),_0x3f584e);}function _0x196332(_0x2d9ddb){const _0x13e727=_0x33a66a;this[_0x4fde5e][_0x13e727(0x165)]('pong',_0x2d9ddb);}function _0x40081d(_0x52fe57){const _0x7cb13a=_0x33a66a;_0x52fe57[_0x7cb13a(0x15c)]();}function _0x4fc3bd(_0x53737c){const _0x2289b0=_0x33a66a,_0x4b9e15=this[_0x4fde5e];_0x4b9e15[_0x2289b0(0x26b)]!==_0x118da0['CLOSED']&&(_0x4b9e15[_0x2289b0(0x26b)]===_0x118da0['OPEN']&&(_0x4b9e15[_0x2289b0(0x19e)]=_0x118da0['CLOSING'],_0x28ce92(_0x4b9e15)),this[_0x2289b0(0x134)]['end'](),_0x4b9e15[_0x2289b0(0x240)]||(_0x4b9e15['_errorEmitted']=!0x0,_0x4b9e15[_0x2289b0(0x165)](_0x2289b0(0x1d2),_0x53737c)));}function _0x28ce92(_0x48d89a){const _0x3b7183=_0x33a66a;_0x48d89a[_0x3b7183(0x1a6)]=setTimeout(_0x48d89a[_0x3b7183(0x134)][_0x3b7183(0x287)]['bind'](_0x48d89a[_0x3b7183(0x134)]),_0xca0dc0);}function _0x2118cb(){const _0x439d78=_0x33a66a,_0x5ad9cc=this[_0x4fde5e];this[_0x439d78(0x157)]('close',_0x2118cb),this[_0x439d78(0x157)](_0x439d78(0x11b),_0x1a0c45),this[_0x439d78(0x157)](_0x439d78(0xf4),_0x16eea5),_0x5ad9cc['_readyState']=_0x118da0[_0x439d78(0x237)];let _0x1e59a0;!this[_0x439d78(0x19f)][_0x439d78(0x21c)]&&!_0x5ad9cc[_0x439d78(0x1d4)]&&!_0x5ad9cc[_0x439d78(0x1ec)][_0x439d78(0x266)][_0x439d78(0x1c0)]&&(_0x1e59a0=_0x5ad9cc[_0x439d78(0x134)][_0x439d78(0x11d)]())!==null&&_0x5ad9cc['_receiver']['write'](_0x1e59a0),_0x5ad9cc[_0x439d78(0x1ec)][_0x439d78(0xf4)](),this[_0x4fde5e]=void 0x0,clearTimeout(_0x5ad9cc[_0x439d78(0x1a6)]),_0x5ad9cc['_receiver']['_writableState'][_0x439d78(0x211)]||_0x5ad9cc[_0x439d78(0x1ec)][_0x439d78(0x266)][_0x439d78(0x1c0)]?_0x5ad9cc['emitClose']():(_0x5ad9cc[_0x439d78(0x1ec)]['on'](_0x439d78(0x1d2),_0x165350),_0x5ad9cc[_0x439d78(0x1ec)]['on']('finish',_0x165350));}function _0x1a0c45(_0x4f8a80){const _0x786fa=_0x33a66a;this[_0x4fde5e][_0x786fa(0x1ec)]['write'](_0x4f8a80)||this['pause']();}function _0x16eea5(){const _0x83acf5=_0x33a66a,_0x19afe9=this[_0x4fde5e];_0x19afe9['_readyState']=_0x118da0[_0x83acf5(0x237)],_0x19afe9[_0x83acf5(0x1ec)][_0x83acf5(0xf4)](),this[_0x83acf5(0xf4)]();}function _0x56b00b(){const _0x11cfd8=_0x33a66a,_0x4e3c52=this[_0x4fde5e];this[_0x11cfd8(0x157)](_0x11cfd8(0x1d2),_0x56b00b),this['on'](_0x11cfd8(0x1d2),_0x3d01e6),_0x4e3c52&&(_0x4e3c52[_0x11cfd8(0x19e)]=_0x118da0[_0x11cfd8(0x237)],this[_0x11cfd8(0x287)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1d5eab}=oe;function _0x291d7e(_0x188c89){const _0x5923ec=_0x20d9;_0x188c89['emit'](_0x5923ec(0x16f));}function _0x92d72f(){const _0x3404d2=_0x20d9;!this[_0x3404d2(0x1ee)]&&this['_writableState'][_0x3404d2(0x211)]&&this[_0x3404d2(0x287)]();}function _0x1c92fa(_0x4dce2b){const _0x184645=_0x20d9;this['removeListener'](_0x184645(0x1d2),_0x1c92fa),this[_0x184645(0x287)](),this[_0x184645(0x1c8)](_0x184645(0x1d2))===0x0&&this['emit']('error',_0x4dce2b);}function _0x537bfd(_0xf1442c,_0x8319c2){const _0x290f2c=_0x20d9;let _0x3d1406=!0x0;const _0xbd78ed=new _0x1d5eab({..._0x8319c2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf1442c['on'](_0x290f2c(0x276),function(_0x7e77f5,_0x3d875d){const _0x57a4f0=_0x290f2c,_0x3b1e7c=!_0x3d875d&&_0xbd78ed[_0x57a4f0(0x19f)][_0x57a4f0(0x14d)]?_0x7e77f5[_0x57a4f0(0x2a0)]():_0x7e77f5;_0xbd78ed[_0x57a4f0(0x1b1)](_0x3b1e7c)||_0xf1442c[_0x57a4f0(0x100)]();}),_0xf1442c[_0x290f2c(0x131)](_0x290f2c(0x1d2),function(_0x5d20fe){const _0x1900a0=_0x290f2c;_0xbd78ed[_0x1900a0(0x1ee)]||(_0x3d1406=!0x1,_0xbd78ed['destroy'](_0x5d20fe));}),_0xf1442c[_0x290f2c(0x131)](_0x290f2c(0x16f),function(){const _0x2eaa24=_0x290f2c;_0xbd78ed[_0x2eaa24(0x1ee)]||_0xbd78ed['push'](null);}),_0xbd78ed[_0x290f2c(0x224)]=function(_0x350637,_0x581194){const _0x4278cc=_0x290f2c;if(_0xf1442c[_0x4278cc(0x26b)]===_0xf1442c[_0x4278cc(0x1f4)]){_0x581194(_0x350637),process[_0x4278cc(0x126)](_0x291d7e,_0xbd78ed);return;}let _0x345753=!0x1;_0xf1442c[_0x4278cc(0x131)](_0x4278cc(0x1d2),function(_0x1aa1ee){_0x345753=!0x0,_0x581194(_0x1aa1ee);}),_0xf1442c['once'](_0x4278cc(0x16f),function(){const _0x504768=_0x4278cc;_0x345753||_0x581194(_0x350637),process[_0x504768(0x126)](_0x291d7e,_0xbd78ed);}),_0x3d1406&&_0xf1442c[_0x4278cc(0x115)]();},_0xbd78ed[_0x290f2c(0x202)]=function(_0x3ddf3a){const _0x1f217a=_0x290f2c;if(_0xf1442c['readyState']===_0xf1442c[_0x1f217a(0x14a)]){_0xf1442c[_0x1f217a(0x131)]('open',function(){const _0x483c78=_0x1f217a;_0xbd78ed[_0x483c78(0x202)](_0x3ddf3a);});return;}_0xf1442c['_socket']!==null&&(_0xf1442c[_0x1f217a(0x134)]['_writableState']['finished']?(_0x3ddf3a(),_0xbd78ed[_0x1f217a(0x19f)][_0x1f217a(0x21c)]&&_0xbd78ed[_0x1f217a(0x287)]()):(_0xf1442c[_0x1f217a(0x134)][_0x1f217a(0x131)](_0x1f217a(0x18b),function(){_0x3ddf3a();}),_0xf1442c[_0x1f217a(0x16f)]()));},_0xbd78ed[_0x290f2c(0x242)]=function(){_0xf1442c['isPaused']&&_0xf1442c['resume']();},_0xbd78ed['_write']=function(_0x1921d9,_0x1be927,_0x46aa06){const _0x493457=_0x290f2c;if(_0xf1442c[_0x493457(0x26b)]===_0xf1442c['CONNECTING']){_0xf1442c[_0x493457(0x131)](_0x493457(0x133),function(){const _0x1e8ae1=_0x493457;_0xbd78ed[_0x1e8ae1(0x19b)](_0x1921d9,_0x1be927,_0x46aa06);});return;}_0xf1442c['send'](_0x1921d9,_0x46aa06);},_0xbd78ed['on'](_0x290f2c(0xf4),_0x92d72f),_0xbd78ed['on'](_0x290f2c(0x1d2),_0x1c92fa),_0xbd78ed;}return Oe=_0x537bfd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x500536}=ae();function _0x40df32(_0x26643f){const _0x229dc5=_0x20d9,_0x2cdac9=new Set();let _0xb36af4=-0x1,_0xdebb1e=-0x1,_0x9b08ad=0x0;for(_0x9b08ad;_0x9b08ad<_0x26643f[_0x229dc5(0x106)];_0x9b08ad++){const _0x5bb25c=_0x26643f['charCodeAt'](_0x9b08ad);if(_0xdebb1e===-0x1&&_0x500536[_0x5bb25c]===0x1)_0xb36af4===-0x1&&(_0xb36af4=_0x9b08ad);else{if(_0x9b08ad!==0x0&&(_0x5bb25c===0x20||_0x5bb25c===0x9))_0xdebb1e===-0x1&&_0xb36af4!==-0x1&&(_0xdebb1e=_0x9b08ad);else{if(_0x5bb25c===0x2c){if(_0xb36af4===-0x1)throw new SyntaxError(_0x229dc5(0x213)+_0x9b08ad);_0xdebb1e===-0x1&&(_0xdebb1e=_0x9b08ad);const _0x1806cd=_0x26643f[_0x229dc5(0x23f)](_0xb36af4,_0xdebb1e);if(_0x2cdac9['has'](_0x1806cd))throw new SyntaxError(_0x229dc5(0x284)+_0x1806cd+_0x229dc5(0x26d));_0x2cdac9[_0x229dc5(0x109)](_0x1806cd),_0xb36af4=_0xdebb1e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x9b08ad);}}}if(_0xb36af4===-0x1||_0xdebb1e!==-0x1)throw new SyntaxError(_0x229dc5(0x187));const _0x3e400c=_0x26643f['slice'](_0xb36af4,_0x9b08ad);if(_0x2cdac9[_0x229dc5(0x2b2)](_0x3e400c))throw new SyntaxError(_0x229dc5(0x284)+_0x3e400c+_0x229dc5(0x26d));return _0x2cdac9['add'](_0x3e400c),_0x2cdac9;}return Ce={'parse':_0x40df32},Ce;}function _0x20d9(_0x4aca63,_0x402d1d){const _0x41b56b=_0x41b5();return _0x20d9=function(_0x20d9a5,_0x3e9a36){_0x20d9a5=_0x20d9a5-0xec;let _0xb775da=_0x41b56b[_0x20d9a5];return _0xb775da;},_0x20d9(_0x4aca63,_0x402d1d);}var Te,rt;function Ft(){const _0x48ef12=_0x5c4c14;if(rt)return Te;rt=0x1;const _0x47830f=nt,_0x14f1b2=ot,{Duplex:_0x4e78b6}=oe,{createHash:_0x36c608}=Le,_0x21e146=ct(),_0x5dbb01=he(),_0x358a42=At(),_0x10da41=Pe(),{GUID:_0x44b4a2,kWebSocket:_0x592177}=H(),_0x3c7c30=/^[+/0-9A-Za-z]{22}==$/,_0x3892c5=0x0,_0x16a041=0x1,_0x3b9c05=0x2;class _0x201009 extends _0x47830f{constructor(_0x578778,_0x52d682){const _0x288ea6=_0x20d9;if(super(),_0x578778={'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':_0x10da41,..._0x578778},_0x578778[_0x288ea6(0x166)]==null&&!_0x578778[_0x288ea6(0x26a)]&&!_0x578778[_0x288ea6(0x249)]||_0x578778[_0x288ea6(0x166)]!=null&&(_0x578778[_0x288ea6(0x26a)]||_0x578778['noServer'])||_0x578778[_0x288ea6(0x26a)]&&_0x578778[_0x288ea6(0x249)])throw new TypeError(_0x288ea6(0x289));if(_0x578778[_0x288ea6(0x166)]!=null?(this[_0x288ea6(0x24c)]=_0x14f1b2['createServer']((_0x3890c0,_0x14737c)=>{const _0x3632d6=_0x288ea6,_0x1c27dd=_0x14f1b2[_0x3632d6(0x197)][0x1aa];_0x14737c[_0x3632d6(0x2a5)](0x1aa,{'Content-Length':_0x1c27dd[_0x3632d6(0x106)],'Content-Type':_0x3632d6(0x1c9)}),_0x14737c[_0x3632d6(0xf4)](_0x1c27dd);}),this[_0x288ea6(0x24c)][_0x288ea6(0x1cc)](_0x578778[_0x288ea6(0x166)],_0x578778['host'],_0x578778[_0x288ea6(0x2b7)],_0x52d682)):_0x578778[_0x288ea6(0x26a)]&&(this[_0x288ea6(0x24c)]=_0x578778['server']),this[_0x288ea6(0x24c)]){const _0x7b9fd2=this[_0x288ea6(0x165)][_0x288ea6(0x205)](this,'connection');this[_0x288ea6(0x248)]=_0x21ef27(this[_0x288ea6(0x24c)],{'listening':this[_0x288ea6(0x165)]['bind'](this,_0x288ea6(0x1f0)),'error':this[_0x288ea6(0x165)][_0x288ea6(0x205)](this,'error'),'upgrade':(_0x2c28c0,_0x2b1ed3,_0x362f1d)=>{const _0x48de64=_0x288ea6;this[_0x48de64(0x151)](_0x2c28c0,_0x2b1ed3,_0x362f1d,_0x7b9fd2);}});}_0x578778[_0x288ea6(0x117)]===!0x0&&(_0x578778[_0x288ea6(0x117)]={}),_0x578778['clientTracking']&&(this[_0x288ea6(0x1ca)]=new Set(),this[_0x288ea6(0x123)]=!0x1),this['options']=_0x578778,this[_0x288ea6(0x207)]=_0x3892c5;}[_0x48ef12(0x236)](){const _0x9748c5=_0x48ef12;if(this[_0x9748c5(0xf1)]['noServer'])throw new Error(_0x9748c5(0x1a9));return this[_0x9748c5(0x24c)]?this['_server']['address']():null;}[_0x48ef12(0x16f)](_0x535dee){const _0xcd9430=_0x48ef12;if(this['_state']===_0x3b9c05){_0x535dee&&this[_0xcd9430(0x131)](_0xcd9430(0x16f),()=>{const _0x31b93c=_0xcd9430;_0x535dee(new Error(_0x31b93c(0x196)));}),process['nextTick'](_0x51b10a,this);return;}if(_0x535dee&&this[_0xcd9430(0x131)](_0xcd9430(0x16f),_0x535dee),this[_0xcd9430(0x207)]!==_0x16a041){if(this['_state']=_0x16a041,this[_0xcd9430(0xf1)]['noServer']||this['options'][_0xcd9430(0x26a)])this[_0xcd9430(0x24c)]&&(this[_0xcd9430(0x248)](),this[_0xcd9430(0x248)]=this[_0xcd9430(0x24c)]=null),this[_0xcd9430(0x1ca)]?this[_0xcd9430(0x1ca)][_0xcd9430(0x2a4)]?this[_0xcd9430(0x123)]=!0x0:process[_0xcd9430(0x126)](_0x51b10a,this):process['nextTick'](_0x51b10a,this);else{const _0x416acd=this[_0xcd9430(0x24c)];this[_0xcd9430(0x248)](),this[_0xcd9430(0x248)]=this[_0xcd9430(0x24c)]=null,_0x416acd[_0xcd9430(0x16f)](()=>{_0x51b10a(this);});}}}[_0x48ef12(0x167)](_0x532347){const _0x38cc20=_0x48ef12;if(this['options']['path']){const _0x2d3c94=_0x532347[_0x38cc20(0x2a7)][_0x38cc20(0x1bd)]('?');if((_0x2d3c94!==-0x1?_0x532347[_0x38cc20(0x2a7)]['slice'](0x0,_0x2d3c94):_0x532347[_0x38cc20(0x2a7)])!==this[_0x38cc20(0xf1)][_0x38cc20(0x1db)])return!0x1;}return!0x0;}[_0x48ef12(0x151)](_0x9a5709,_0x5e773a,_0x277513,_0x5db3b3){const _0x40ec43=_0x48ef12;_0x5e773a['on'](_0x40ec43(0x1d2),_0x52b696);const _0x2d28a9=_0x9a5709['headers'][_0x40ec43(0x1a2)],_0x367c80=_0x9a5709[_0x40ec43(0x1ea)][_0x40ec43(0x288)],_0x4fd2f6=+_0x9a5709[_0x40ec43(0x1ea)][_0x40ec43(0x10b)];if(_0x9a5709[_0x40ec43(0x1bf)]!==_0x40ec43(0x1b3)){_0x192ca8(this,_0x9a5709,_0x5e773a,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x367c80===void 0x0||_0x367c80[_0x40ec43(0x2b4)]()!==_0x40ec43(0xee)){_0x192ca8(this,_0x9a5709,_0x5e773a,0x190,_0x40ec43(0x12d));return;}if(_0x2d28a9===void 0x0||!_0x3c7c30[_0x40ec43(0x259)](_0x2d28a9)){_0x192ca8(this,_0x9a5709,_0x5e773a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4fd2f6!==0x8&&_0x4fd2f6!==0xd){_0x192ca8(this,_0x9a5709,_0x5e773a,0x190,_0x40ec43(0x1dc));return;}if(!this[_0x40ec43(0x167)](_0x9a5709)){_0x121cb3(_0x5e773a,0x190);return;}const _0x4e74c5=_0x9a5709[_0x40ec43(0x1ea)][_0x40ec43(0x163)];let _0x4849ac=new Set();if(_0x4e74c5!==void 0x0)try{_0x4849ac=_0x358a42[_0x40ec43(0x152)](_0x4e74c5);}catch{_0x192ca8(this,_0x9a5709,_0x5e773a,0x190,_0x40ec43(0x19c));return;}const _0x24eccf=_0x9a5709[_0x40ec43(0x1ea)][_0x40ec43(0x11a)],_0x5bb72c={};if(this['options'][_0x40ec43(0x117)]&&_0x24eccf!==void 0x0){const _0x290601=new _0x5dbb01(this['options'][_0x40ec43(0x117)],!0x0,this[_0x40ec43(0xf1)][_0x40ec43(0x193)]);try{const _0x292b5a=_0x21e146[_0x40ec43(0x152)](_0x24eccf);_0x292b5a[_0x5dbb01[_0x40ec43(0x22f)]]&&(_0x290601[_0x40ec43(0x1dd)](_0x292b5a[_0x5dbb01[_0x40ec43(0x22f)]]),_0x5bb72c[_0x5dbb01[_0x40ec43(0x22f)]]=_0x290601);}catch{_0x192ca8(this,_0x9a5709,_0x5e773a,0x190,_0x40ec43(0x111));return;}}if(this['options'][_0x40ec43(0x184)]){const _0xbaef4a={'origin':_0x9a5709[_0x40ec43(0x1ea)][''+(_0x4fd2f6===0x8?_0x40ec43(0x238):_0x40ec43(0x1c6))],'secure':!!(_0x9a5709[_0x40ec43(0x206)][_0x40ec43(0x279)]||_0x9a5709['socket']['encrypted']),'req':_0x9a5709};if(this[_0x40ec43(0xf1)][_0x40ec43(0x184)]['length']===0x2){this[_0x40ec43(0xf1)]['verifyClient'](_0xbaef4a,(_0x857171,_0x57a23b,_0x547435,_0x35f194)=>{if(!_0x857171)return _0x121cb3(_0x5e773a,_0x57a23b||0x191,_0x547435,_0x35f194);this['completeUpgrade'](_0x5bb72c,_0x2d28a9,_0x4849ac,_0x9a5709,_0x5e773a,_0x277513,_0x5db3b3);});return;}if(!this['options']['verifyClient'](_0xbaef4a))return _0x121cb3(_0x5e773a,0x191);}this[_0x40ec43(0x188)](_0x5bb72c,_0x2d28a9,_0x4849ac,_0x9a5709,_0x5e773a,_0x277513,_0x5db3b3);}[_0x48ef12(0x188)](_0x270fd8,_0x5abcdb,_0x2d92fb,_0x208c6b,_0x543bcf,_0x5a8b35,_0x760e1){const _0x42133b=_0x48ef12;if(!_0x543bcf[_0x42133b(0x185)]||!_0x543bcf['writable'])return _0x543bcf[_0x42133b(0x287)]();if(_0x543bcf[_0x592177])throw new Error(_0x42133b(0x141));if(this[_0x42133b(0x207)]>_0x3892c5)return _0x121cb3(_0x543bcf,0x1f7);const _0xb9f8a8=[_0x42133b(0x235),'Upgrade:\x20websocket','Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x36c608(_0x42133b(0x135))[_0x42133b(0x1c7)](_0x5abcdb+_0x44b4a2)[_0x42133b(0x199)]('base64')],_0x5b4329=new this[(_0x42133b(0xf1))][(_0x42133b(0x1e9))](null,void 0x0,this['options']);if(_0x2d92fb['size']){const _0x2cd7e6=this[_0x42133b(0xf1)][_0x42133b(0x13d)]?this['options'][_0x42133b(0x13d)](_0x2d92fb,_0x208c6b):_0x2d92fb[_0x42133b(0x285)]()['next']()[_0x42133b(0x27f)];_0x2cd7e6&&(_0xb9f8a8[_0x42133b(0x1b1)](_0x42133b(0x16a)+_0x2cd7e6),_0x5b4329[_0x42133b(0x1b9)]=_0x2cd7e6);}if(_0x270fd8[_0x5dbb01['extensionName']]){const _0x4bdbd0=_0x270fd8[_0x5dbb01[_0x42133b(0x22f)]][_0x42133b(0x147)],_0x2a8f1b=_0x21e146['format']({[_0x5dbb01[_0x42133b(0x22f)]]:[_0x4bdbd0]});_0xb9f8a8['push'](_0x42133b(0x20a)+_0x2a8f1b),_0x5b4329['_extensions']=_0x270fd8;}this[_0x42133b(0x165)](_0x42133b(0x1ea),_0xb9f8a8,_0x208c6b),_0x543bcf[_0x42133b(0x182)](_0xb9f8a8[_0x42133b(0x215)]('\x0d\x0a')[_0x42133b(0x210)]('\x0d\x0a')),_0x543bcf[_0x42133b(0x157)](_0x42133b(0x1d2),_0x52b696),_0x5b4329[_0x42133b(0x12f)](_0x543bcf,_0x5a8b35,{'allowSynchronousEvents':this[_0x42133b(0xf1)][_0x42133b(0x17d)],'maxPayload':this[_0x42133b(0xf1)][_0x42133b(0x193)],'skipUTF8Validation':this[_0x42133b(0xf1)][_0x42133b(0x127)]}),this[_0x42133b(0x1ca)]&&(this[_0x42133b(0x1ca)][_0x42133b(0x109)](_0x5b4329),_0x5b4329['on'](_0x42133b(0x16f),()=>{const _0x53e0a4=_0x42133b;this[_0x53e0a4(0x1ca)][_0x53e0a4(0x180)](_0x5b4329),this[_0x53e0a4(0x123)]&&!this['clients'][_0x53e0a4(0x2a4)]&&process[_0x53e0a4(0x126)](_0x51b10a,this);})),_0x760e1(_0x5b4329,_0x208c6b);}}Te=_0x201009;function _0x21ef27(_0x25a35c,_0xf54f18){const _0x2beae0=_0x48ef12;for(const _0x587187 of Object[_0x2beae0(0x25b)](_0xf54f18))_0x25a35c['on'](_0x587187,_0xf54f18[_0x587187]);return function(){const _0x3ecdbf=_0x2beae0;for(const _0x1df954 of Object[_0x3ecdbf(0x25b)](_0xf54f18))_0x25a35c[_0x3ecdbf(0x157)](_0x1df954,_0xf54f18[_0x1df954]);};}function _0x51b10a(_0x34cbda){const _0x39cc90=_0x48ef12;_0x34cbda[_0x39cc90(0x207)]=_0x3b9c05,_0x34cbda[_0x39cc90(0x165)](_0x39cc90(0x16f));}function _0x52b696(){const _0x4f52cc=_0x48ef12;this[_0x4f52cc(0x287)]();}function _0x121cb3(_0x18f5c8,_0x4fead5,_0xe26839,_0x1d7e22){const _0x17d1c3=_0x48ef12;_0xe26839=_0xe26839||_0x14f1b2[_0x17d1c3(0x197)][_0x4fead5],_0x1d7e22={'Connection':_0x17d1c3(0x16f),'Content-Type':_0x17d1c3(0x1d5),'Content-Length':Buffer[_0x17d1c3(0x26f)](_0xe26839),..._0x1d7e22},_0x18f5c8['once']('finish',_0x18f5c8['destroy']),_0x18f5c8['end'](_0x17d1c3(0x25d)+_0x4fead5+'\x20'+_0x14f1b2[_0x17d1c3(0x197)][_0x4fead5]+'\x0d\x0a'+Object['keys'](_0x1d7e22)[_0x17d1c3(0xfc)](_0x5c3fec=>_0x5c3fec+':\x20'+_0x1d7e22[_0x5c3fec])[_0x17d1c3(0x210)]('\x0d\x0a')+_0x17d1c3(0x272)+_0xe26839);}function _0x192ca8(_0x55877f,_0x2b0e04,_0x50d388,_0x176809,_0x181184){const _0xd735a0=_0x48ef12;if(_0x55877f[_0xd735a0(0x1c8)](_0xd735a0(0x18c))){const _0x192e64=new Error(_0x181184);Error[_0xd735a0(0x1bc)](_0x192e64,_0x192ca8),_0x55877f[_0xd735a0(0x165)](_0xd735a0(0x18c),_0x192e64,_0x50d388,_0x2b0e04);}else _0x121cb3(_0x50d388,_0x176809,_0x181184);}return Te;}Ft();var jt=Object[_0x5c4c14(0x11e)],Wt=(_0x133b3f,_0x1a3684,_0xc0a4d0,_0x1838f2)=>{const _0x554b00=_0x5c4c14;for(var _0xe2be25=_0x1838f2>0x1?void 0x0:_0x1838f2?jt(_0x1a3684,_0xc0a4d0):_0x1a3684,_0x59b164=_0x133b3f[_0x554b00(0x106)]-0x1,_0x5c6c4f;_0x59b164>=0x0;_0x59b164--)(_0x5c6c4f=_0x133b3f[_0x59b164])&&(_0xe2be25=_0x5c6c4f(_0xe2be25)||_0xe2be25);return _0xe2be25;},qt=(_0x2174e5,_0x538fb0)=>(_0x1de330,_0x57cc95)=>_0x538fb0(_0x1de330,_0x57cc95,_0x2174e5);let ke=class extends A[_0x5c4c14(0x1f8)]{constructor(_0x174c38){const _0x467266=_0x5c4c14;super(),this[_0x467266(0x15d)]=_0x174c38;}[_0x5c4c14(0x2b1)](_0x1be6da){const _0x57ef6c=_0x5c4c14;var _0x5bf6e7;const _0x6a6266=(_0x5bf6e7=this[_0x57ef6c(0x15d)][_0x57ef6c(0x263)](fe))==null?void 0x0:_0x5bf6e7[_0x57ef6c(0x149)];try{const _0x335868=new $t(_0x1be6da,{'headers':{..._0x6a6266}}),_0x7584fc=new A[(_0x57ef6c(0x13a))]();return{'URL':_0x1be6da,'close':(_0x517a8d,_0x169483)=>{const _0x2cdb6e=_0x57ef6c;_0x335868[_0x2cdb6e(0x16f)](_0x517a8d,_0x169483),_0x7584fc[_0x2cdb6e(0x124)]();},'send':_0x3d50db=>{const _0x334893=_0x57ef6c;_0x335868[_0x334893(0x18a)](_0x3d50db);},'open$':new V[(_0x57ef6c(0xf8))](_0x570d45=>{const _0x3c2898=_0x57ef6c,_0x754a83=_0x4f2a2e=>_0x570d45['next'](_0x4f2a2e);_0x335868[_0x3c2898(0x1fc)](_0x3c2898(0x133),_0x754a83),_0x7584fc['add'](A[_0x3c2898(0x102)](()=>_0x335868[_0x3c2898(0x1c2)](_0x3c2898(0x133),_0x754a83)));})[_0x57ef6c(0x1c3)](V[_0x57ef6c(0x2b6)]()),'close$':new V[(_0x57ef6c(0xf8))](_0x39a233=>{const _0x571416=_0x57ef6c,_0x59596b=_0xc1602b=>_0x39a233[_0x571416(0x140)](_0xc1602b);_0x335868['addEventListener'](_0x571416(0x16f),_0x59596b),_0x7584fc['add'](A['toDisposable'](()=>_0x335868[_0x571416(0x1c2)](_0x571416(0x16f),_0x59596b)));})[_0x57ef6c(0x1c3)](V['share']()),'error$':new V[(_0x57ef6c(0xf8))](_0xdc0a7e=>{const _0x3366be=_0x57ef6c,_0x2054de=_0x12572b=>_0xdc0a7e[_0x3366be(0x140)](_0x12572b);_0x335868['addEventListener'](_0x3366be(0x1d2),_0x2054de),_0x7584fc[_0x3366be(0x109)](A[_0x3366be(0x102)](()=>_0x335868[_0x3366be(0x1c2)](_0x3366be(0x1d2),_0x2054de)));})[_0x57ef6c(0x1c3)](V[_0x57ef6c(0x2b6)]()),'message$':new V[(_0x57ef6c(0xf8))](_0x152b9=>{const _0x21f2df=_0x57ef6c,_0x2fd844=_0x55f744=>_0x152b9['next'](_0x55f744);_0x335868[_0x21f2df(0x1fc)]('message',_0x2fd844),_0x7584fc[_0x21f2df(0x109)](A['toDisposable'](()=>_0x335868[_0x21f2df(0x1c2)](_0x21f2df(0x276),_0x2fd844)));})[_0x57ef6c(0x1c3)](V[_0x57ef6c(0x2b6)]())};}catch(_0x2c3cf2){return console[_0x57ef6c(0x1d2)](_0x2c3cf2),null;}}};ke=Wt([qt(0x0,A[_0x5c4c14(0x281)])],ke);var Gt=Object[_0x5c4c14(0x239)],Vt=Object[_0x5c4c14(0x11e)],Ht=(_0x12f528,_0x2599df,_0x33d722)=>_0x2599df in _0x12f528?Gt(_0x12f528,_0x2599df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33d722}):_0x12f528[_0x2599df]=_0x33d722,zt=(_0x2101ad,_0x384018,_0x292944,_0x1375eb)=>{const _0xb3a035=_0x5c4c14;for(var _0x1dee24=_0x1375eb>0x1?void 0x0:_0x1375eb?Vt(_0x384018,_0x292944):_0x384018,_0x1a73fc=_0x2101ad[_0xb3a035(0x106)]-0x1,_0x1aaef5;_0x1a73fc>=0x0;_0x1a73fc--)(_0x1aaef5=_0x2101ad[_0x1a73fc])&&(_0x1dee24=_0x1aaef5(_0x1dee24)||_0x1dee24);return _0x1dee24;},Ne=(_0x39efd3,_0x3921ac)=>(_0x551788,_0x108db3)=>_0x3921ac(_0x551788,_0x108db3,_0x39efd3),Yt=(_0x12aaca,_0x533d0e,_0xa0396c)=>Ht(_0x12aaca,_0x533d0e+'',_0xa0396c);exports[_0x5c4c14(0x274)]=class extends A[_0x5c4c14(0x232)]{constructor(_0x3de5ab=Ct,_0x549c32,_0x30e40a,_0x2bc611){const _0x3c1a82=_0x5c4c14;_0x3de5ab[_0x3c1a82(0x149)]||_0x549c32[_0x3c1a82(0x158)](_0x3c1a82(0x25a)),super(),this[_0x3c1a82(0x15d)]=_0x30e40a,this[_0x3c1a82(0x25e)]=_0x2bc611,this[_0x3c1a82(0x15d)]['setConfig'](fe,_0x3de5ab);}['onStarting'](){this['_registerDependencies']();}[_0x5c4c14(0x1fd)](){const _0x31a8dd=_0x5c4c14;A[_0x31a8dd(0x225)](this[_0x31a8dd(0x25e)],[[it[_0x31a8dd(0x2ab)],{'useClass':ke}]]);}},Yt(exports[_0x5c4c14(0x274)],_0x5c4c14(0x14e),_0x5c4c14(0x1c4)),exports[_0x5c4c14(0x274)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x5c4c14(0x1ac)]),Ne(0x2,A[_0x5c4c14(0x281)]),Ne(0x3,A[_0x5c4c14(0x172)](A[_0x5c4c14(0x183)]))],exports[_0x5c4c14(0x274)]);var Kt=Object[_0x5c4c14(0x11e)],Xt=(_0x1a11e7,_0x5418cc,_0x1dba92,_0xfb08b1)=>{const _0x2056c2=_0x5c4c14;for(var _0x39d8df=_0xfb08b1>0x1?void 0x0:_0xfb08b1?Kt(_0x5418cc,_0x1dba92):_0x5418cc,_0x418796=_0x1a11e7[_0x2056c2(0x106)]-0x1,_0x59483c;_0x418796>=0x0;_0x418796--)(_0x59483c=_0x1a11e7[_0x418796])&&(_0x39d8df=_0x59483c(_0x39d8df)||_0x39d8df);return _0x39d8df;},ne=(_0x233a8c,_0x1cac84)=>(_0x51bbba,_0x56e096)=>_0x1cac84(_0x51bbba,_0x56e096,_0x233a8c);exports[_0x5c4c14(0x137)]=class extends st[_0x5c4c14(0x217)]{constructor(_0x16c011,_0x1c06fe,_0xf9d64,_0x20d320,_0x5f2e84){const _0x211b58=_0x5c4c14;super(_0x16c011,_0x1c06fe,_0xf9d64,_0x20d320,_0x5f2e84);const _0x1cdb38=this[_0x211b58(0x15d)]['getConfig'](fe);this[_0x211b58(0x120)][_0x211b58(0x173)]({'interceptor':(_0x354a8a,_0x30ae5d)=>{const _0x9a73b1=_0x211b58;var _0x5e2ab1;const _0x428eba=_0x354a8a[_0x9a73b1(0x1ea)];return(_0x5e2ab1=_0x1cdb38==null?void 0x0:_0x1cdb38['customHeaders'])!=null&&_0x5e2ab1[_0x9a73b1(0x101)]&&_0x428eba[_0x9a73b1(0x228)]('Cookie',_0x1cdb38['customHeaders'][_0x9a73b1(0x101)]),_0x30ae5d(_0x354a8a);}});}async[_0x5c4c14(0x2b1)](_0x20a48a){const _0x34766d=_0x5c4c14;return this[_0x34766d(0xf6)](_0x20a48a);}},exports[_0x5c4c14(0x137)]=Xt([ne(0x0,A[_0x5c4c14(0x172)](A[_0x5c4c14(0x183)])),ne(0x1,A['Inject'](it[_0x5c4c14(0x17b)])),ne(0x2,A[_0x5c4c14(0x281)]),ne(0x3,A[_0x5c4c14(0x1ac)]),ne(0x4,Ot[_0x5c4c14(0x28c)])],exports[_0x5c4c14(0x137)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x340af6=_0x30df;(function(_0x55957c,_0x44d7a3){const _0x4099c7=_0x30df,_0x28be9c=_0x55957c();while(!![]){try{const _0x104322=-parseInt(_0x4099c7(0x24a))/0x1*(parseInt(_0x4099c7(0x198))/0x2)+parseInt(_0x4099c7(0x1b4))/0x3*(-parseInt(_0x4099c7(0x2d6))/0x4)+parseInt(_0x4099c7(0x178))/0x5+parseInt(_0x4099c7(0x199))/0x6+parseInt(_0x4099c7(0x248))/0x7+-parseInt(_0x4099c7(0x1c5))/0x8*(parseInt(_0x4099c7(0x1cd))/0x9)+-parseInt(_0x4099c7(0x140))/0xa;if(_0x104322===_0x44d7a3)break;else _0x28be9c['push'](_0x28be9c['shift']());}catch(_0x3abdd8){_0x28be9c['push'](_0x28be9c['shift']());}}}(_0x5853,0x4ccda));Object[_0x340af6(0x2a9)](exports,Symbol[_0x340af6(0x1d9)],{'value':_0x340af6(0x277)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x340af6(0x1e8)),it=require(_0x340af6(0x2ab)),V=require(_0x340af6(0x1f4)),nt=require('events'),vt=require(_0x340af6(0x10e)),ot=require(_0x340af6(0x2a3)),St=require(_0x340af6(0x130)),Et=require(_0x340af6(0x2b0)),Le=require(_0x340af6(0x1f9)),oe=require(_0x340af6(0x170)),xt=require(_0x340af6(0x2ca)),bt=require(_0x340af6(0x154)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x340af6(0x1b6),Ct={'customHeaders':{}};function Tt(_0x4e95be){const _0x485233=_0x340af6;return _0x4e95be&&_0x4e95be[_0x485233(0x24e)]&&Object['prototype'][_0x485233(0x1ce)]['call'](_0x4e95be,_0x485233(0x2b4))?_0x4e95be[_0x485233(0x2b4)]:_0x4e95be;}function at(_0x3357dc){const _0xe25c21=_0x340af6;if(Object['prototype'][_0xe25c21(0x1ce)][_0xe25c21(0x194)](_0x3357dc,'__esModule'))return _0x3357dc;var _0x2de4f8=_0x3357dc[_0xe25c21(0x2b4)];if(typeof _0x2de4f8=='function'){var _0x35a9e9=function _0xd6147e(){const _0x126111=_0xe25c21;return this instanceof _0xd6147e?Reflect[_0x126111(0x20c)](_0x2de4f8,arguments,this['constructor']):_0x2de4f8[_0x126111(0x145)](this,arguments);};_0x35a9e9[_0xe25c21(0x259)]=_0x2de4f8[_0xe25c21(0x259)];}else _0x35a9e9={};return Object[_0xe25c21(0x2a9)](_0x35a9e9,_0xe25c21(0x24e),{'value':!0x0}),Object[_0xe25c21(0x148)](_0x3357dc)[_0xe25c21(0x1e6)](function(_0x3f636e){const _0x501800=_0xe25c21;var _0x7bca3e=Object[_0x501800(0x193)](_0x3357dc,_0x3f636e);Object[_0x501800(0x2a9)](_0x35a9e9,_0x3f636e,_0x7bca3e[_0x501800(0x1c8)]?_0x7bca3e:{'enumerable':!0x0,'get':function(){return _0x3357dc[_0x3f636e];}});}),_0x35a9e9;}var se={'exports':{}},ge,Ge;function H(){const _0x1d8e3d=_0x340af6;if(Ge)return ge;Ge=0x1;const _0x50673e=[_0x1d8e3d(0x236),_0x1d8e3d(0x1ae),_0x1d8e3d(0x2b8)],_0x48d8a3=typeof Blob<'u';return _0x48d8a3&&_0x50673e[_0x1d8e3d(0x2b5)](_0x1d8e3d(0x232)),ge={'BINARY_TYPES':_0x50673e,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x1d8e3d(0x167),'hasBlob':_0x48d8a3,'kForOnEventAttribute':Symbol(_0x1d8e3d(0x22a)),'kListener':Symbol(_0x1d8e3d(0x27a)),'kStatusCode':Symbol(_0x1d8e3d(0x27b)),'kWebSocket':Symbol(_0x1d8e3d(0x10c)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x340af6(0x23a)](Object[_0x340af6(0x2a9)]({'__proto__':null,'default':Nt},Symbol[_0x340af6(0x1d9)],{'value':_0x340af6(0x277)})),Lt=at(kt);var Ve;function ce(){const _0x4be37e=_0x340af6;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x1bb6bb}=H(),_0x4eb3b7=Buffer[Symbol[_0x4be37e(0x128)]];function _0x5ca2bc(_0x96ffa,_0x890eae){const _0x595211=_0x4be37e;if(_0x96ffa[_0x595211(0x1f2)]===0x0)return _0x1bb6bb;if(_0x96ffa['length']===0x1)return _0x96ffa[0x0];const _0x2a2f62=Buffer[_0x595211(0x112)](_0x890eae);let _0x44c518=0x0;for(let _0x2b1734=0x0;_0x2b1734<_0x96ffa[_0x595211(0x1f2)];_0x2b1734++){const _0x319385=_0x96ffa[_0x2b1734];_0x2a2f62['set'](_0x319385,_0x44c518),_0x44c518+=_0x319385[_0x595211(0x1f2)];}return _0x44c518<_0x890eae?new _0x4eb3b7(_0x2a2f62['buffer'],_0x2a2f62[_0x595211(0x215)],_0x44c518):_0x2a2f62;}function _0x430fbb(_0x46e05b,_0x3dd415,_0x5405f6,_0x416706,_0x20cc4e){for(let _0xa9ba62=0x0;_0xa9ba62<_0x20cc4e;_0xa9ba62++)_0x5405f6[_0x416706+_0xa9ba62]=_0x46e05b[_0xa9ba62]^_0x3dd415[_0xa9ba62&0x3];}function _0x12ab78(_0x3125f5,_0x36fd87){for(let _0x3fe82e=0x0;_0x3fe82e<_0x3125f5['length'];_0x3fe82e++)_0x3125f5[_0x3fe82e]^=_0x36fd87[_0x3fe82e&0x3];}function _0x186b30(_0x334009){const _0x54d5bf=_0x4be37e;return _0x334009[_0x54d5bf(0x1f2)]===_0x334009['buffer'][_0x54d5bf(0x24b)]?_0x334009[_0x54d5bf(0x12d)]:_0x334009['buffer'][_0x54d5bf(0x172)](_0x334009[_0x54d5bf(0x215)],_0x334009[_0x54d5bf(0x215)]+_0x334009[_0x54d5bf(0x1f2)]);}function _0x323fd6(_0x28f46e){const _0x5cc8fa=_0x4be37e;if(_0x323fd6['readOnly']=!0x0,Buffer['isBuffer'](_0x28f46e))return _0x28f46e;let _0x24cce7;return _0x28f46e instanceof ArrayBuffer?_0x24cce7=new _0x4eb3b7(_0x28f46e):ArrayBuffer[_0x5cc8fa(0x190)](_0x28f46e)?_0x24cce7=new _0x4eb3b7(_0x28f46e['buffer'],_0x28f46e[_0x5cc8fa(0x215)],_0x28f46e[_0x5cc8fa(0x24b)]):(_0x24cce7=Buffer[_0x5cc8fa(0x22c)](_0x28f46e),_0x323fd6['readOnly']=!0x1),_0x24cce7;}if(se[_0x4be37e(0x118)]={'concat':_0x5ca2bc,'mask':_0x430fbb,'toArrayBuffer':_0x186b30,'toBuffer':_0x323fd6,'unmask':_0x12ab78},!process[_0x4be37e(0x296)][_0x4be37e(0x28b)])try{const _0x1feb71=Lt;se['exports']['mask']=function(_0x9c20f9,_0x2f1f7c,_0x2c9d01,_0x1c9d5f,_0xe829d0){const _0x51ad9b=_0x4be37e;_0xe829d0<0x30?_0x430fbb(_0x9c20f9,_0x2f1f7c,_0x2c9d01,_0x1c9d5f,_0xe829d0):_0x1feb71[_0x51ad9b(0x266)](_0x9c20f9,_0x2f1f7c,_0x2c9d01,_0x1c9d5f,_0xe829d0);},se[_0x4be37e(0x118)][_0x4be37e(0x2a5)]=function(_0x1a1650,_0x412a8d){const _0x31914b=_0x4be37e;_0x1a1650[_0x31914b(0x1f2)]<0x20?_0x12ab78(_0x1a1650,_0x412a8d):_0x1feb71[_0x31914b(0x2a5)](_0x1a1650,_0x412a8d);};}catch{}return se[_0x4be37e(0x118)];}var ye,He;function Pt(){const _0x2b7481=_0x340af6;if(He)return ye;He=0x1;const _0x10db1c=Symbol(_0x2b7481(0x235)),_0x41e98a=Symbol(_0x2b7481(0x23b));class _0x4db857{constructor(_0x1887dd){const _0x58b13c=_0x2b7481;this[_0x10db1c]=()=>{const _0x42f843=_0x30df;this[_0x42f843(0x298)]--,this[_0x41e98a]();},this['concurrency']=_0x1887dd||0x1/0x0,this['jobs']=[],this[_0x58b13c(0x298)]=0x0;}[_0x2b7481(0x1df)](_0x4beef8){const _0xd1f1e4=_0x2b7481;this[_0xd1f1e4(0x28d)]['push'](_0x4beef8),this[_0x41e98a]();}[_0x41e98a](){const _0x37c48a=_0x2b7481;if(this['pending']!==this['concurrency']&&this['jobs']['length']){const _0x16acba=this[_0x37c48a(0x28d)][_0x37c48a(0x22e)]();this[_0x37c48a(0x298)]++,_0x16acba(this[_0x10db1c]);}}}return ye=_0x4db857,ye;}var ve,ze;function he(){const _0x2c69b7=_0x340af6;if(ze)return ve;ze=0x1;const _0x21eb53=bt,_0x251492=ce(),_0x3666df=Pt(),{kStatusCode:_0x44b809}=H(),_0xfc62c3=Buffer[Symbol['species']],_0x3869a3=Buffer[_0x2c69b7(0x22c)]([0x0,0x0,0xff,0xff]),_0x36480e=Symbol(_0x2c69b7(0x221)),_0x37e296=Symbol(_0x2c69b7(0x1fa)),_0x1304ae=Symbol(_0x2c69b7(0x1e2)),_0x17f251=Symbol(_0x2c69b7(0x19c)),_0x1e96c6=Symbol(_0x2c69b7(0x20e));let _0x463f4d;class _0x4baa86{constructor(_0x122219,_0x154007,_0x531c0d){const _0x26006b=_0x2c69b7;if(this[_0x26006b(0x202)]=_0x531c0d|0x0,this[_0x26006b(0x22f)]=_0x122219||{},this[_0x26006b(0x243)]=this[_0x26006b(0x22f)][_0x26006b(0x1c4)]!==void 0x0?this[_0x26006b(0x22f)][_0x26006b(0x1c4)]:0x400,this['_isServer']=!!_0x154007,this[_0x26006b(0x211)]=null,this[_0x26006b(0x278)]=null,this[_0x26006b(0x293)]=null,!_0x463f4d){const _0x281cf0=this['_options'][_0x26006b(0x2a7)]!==void 0x0?this[_0x26006b(0x22f)]['concurrencyLimit']:0xa;_0x463f4d=new _0x3666df(_0x281cf0);}}static get[_0x2c69b7(0x213)](){const _0x55c21e=_0x2c69b7;return _0x55c21e(0x221);}[_0x2c69b7(0x114)](){const _0x374c2b=_0x2c69b7,_0x36857b={};return this[_0x374c2b(0x22f)][_0x374c2b(0x24f)]&&(_0x36857b['server_no_context_takeover']=!0x0),this['_options'][_0x374c2b(0x151)]&&(_0x36857b[_0x374c2b(0x124)]=!0x0),this[_0x374c2b(0x22f)][_0x374c2b(0x255)]&&(_0x36857b[_0x374c2b(0x21f)]=this[_0x374c2b(0x22f)]['serverMaxWindowBits']),this['_options'][_0x374c2b(0x18b)]?_0x36857b[_0x374c2b(0x2bc)]=this[_0x374c2b(0x22f)][_0x374c2b(0x18b)]:this[_0x374c2b(0x22f)][_0x374c2b(0x18b)]==null&&(_0x36857b[_0x374c2b(0x2bc)]=!0x0),_0x36857b;}[_0x2c69b7(0x250)](_0x37ac7b){const _0x73ea88=_0x2c69b7;return _0x37ac7b=this['normalizeParams'](_0x37ac7b),this['params']=this[_0x73ea88(0x295)]?this['acceptAsServer'](_0x37ac7b):this[_0x73ea88(0x26d)](_0x37ac7b),this[_0x73ea88(0x293)];}[_0x2c69b7(0x216)](){const _0x34090c=_0x2c69b7;if(this[_0x34090c(0x278)]&&(this['_inflate'][_0x34090c(0x260)](),this[_0x34090c(0x278)]=null),this[_0x34090c(0x211)]){const _0x4d27a0=this[_0x34090c(0x211)][_0x1304ae];this[_0x34090c(0x211)]['close'](),this[_0x34090c(0x211)]=null,_0x4d27a0&&_0x4d27a0(new Error(_0x34090c(0x13d)));}}['acceptAsServer'](_0x1cc40b){const _0x20ff4a=_0x2c69b7,_0x452ba9=this['_options'],_0x21f92f=_0x1cc40b[_0x20ff4a(0x20f)](_0x153eba=>!(_0x452ba9[_0x20ff4a(0x24f)]===!0x1&&_0x153eba[_0x20ff4a(0x204)]||_0x153eba[_0x20ff4a(0x21f)]&&(_0x452ba9[_0x20ff4a(0x255)]===!0x1||typeof _0x452ba9['serverMaxWindowBits']=='number'&&_0x452ba9[_0x20ff4a(0x255)]>_0x153eba['server_max_window_bits'])||typeof _0x452ba9[_0x20ff4a(0x18b)]=='number'&&!_0x153eba[_0x20ff4a(0x2bc)]));if(!_0x21f92f)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x452ba9[_0x20ff4a(0x24f)]&&(_0x21f92f[_0x20ff4a(0x204)]=!0x0),_0x452ba9[_0x20ff4a(0x151)]&&(_0x21f92f['client_no_context_takeover']=!0x0),typeof _0x452ba9[_0x20ff4a(0x255)]==_0x20ff4a(0x2af)&&(_0x21f92f[_0x20ff4a(0x21f)]=_0x452ba9[_0x20ff4a(0x255)]),typeof _0x452ba9[_0x20ff4a(0x18b)]=='number'?_0x21f92f['client_max_window_bits']=_0x452ba9['clientMaxWindowBits']:(_0x21f92f[_0x20ff4a(0x2bc)]===!0x0||_0x452ba9[_0x20ff4a(0x18b)]===!0x1)&&delete _0x21f92f[_0x20ff4a(0x2bc)],_0x21f92f;}[_0x2c69b7(0x26d)](_0x4f2b6f){const _0xdce89a=_0x2c69b7,_0x406d86=_0x4f2b6f[0x0];if(this[_0xdce89a(0x22f)][_0xdce89a(0x151)]===!0x1&&_0x406d86[_0xdce89a(0x124)])throw new Error(_0xdce89a(0x25a));if(!_0x406d86[_0xdce89a(0x2bc)])typeof this[_0xdce89a(0x22f)]['clientMaxWindowBits']==_0xdce89a(0x2af)&&(_0x406d86[_0xdce89a(0x2bc)]=this[_0xdce89a(0x22f)][_0xdce89a(0x18b)]);else{if(this[_0xdce89a(0x22f)]['clientMaxWindowBits']===!0x1||typeof this[_0xdce89a(0x22f)][_0xdce89a(0x18b)]==_0xdce89a(0x2af)&&_0x406d86[_0xdce89a(0x2bc)]>this[_0xdce89a(0x22f)][_0xdce89a(0x18b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x406d86;}['normalizeParams'](_0x55133d){const _0x2d0326=_0x2c69b7;return _0x55133d[_0x2d0326(0x1e6)](_0x39899b=>{const _0x49a27e=_0x2d0326;Object[_0x49a27e(0x148)](_0x39899b)[_0x49a27e(0x1e6)](_0x185a4c=>{const _0x5bddad=_0x49a27e;let _0x42c6b2=_0x39899b[_0x185a4c];if(_0x42c6b2[_0x5bddad(0x1f2)]>0x1)throw new Error(_0x5bddad(0x1f1)+_0x185a4c+_0x5bddad(0x229));if(_0x42c6b2=_0x42c6b2[0x0],_0x185a4c==='client_max_window_bits'){if(_0x42c6b2!==!0x0){const _0x36fe86=+_0x42c6b2;if(!Number[_0x5bddad(0x264)](_0x36fe86)||_0x36fe86<0x8||_0x36fe86>0xf)throw new TypeError(_0x5bddad(0x166)+_0x185a4c+_0x5bddad(0x226)+_0x42c6b2);_0x42c6b2=_0x36fe86;}else{if(!this[_0x5bddad(0x295)])throw new TypeError(_0x5bddad(0x166)+_0x185a4c+_0x5bddad(0x226)+_0x42c6b2);}}else{if(_0x185a4c==='server_max_window_bits'){const _0x1adaa7=+_0x42c6b2;if(!Number[_0x5bddad(0x264)](_0x1adaa7)||_0x1adaa7<0x8||_0x1adaa7>0xf)throw new TypeError(_0x5bddad(0x166)+_0x185a4c+'\x22:\x20'+_0x42c6b2);_0x42c6b2=_0x1adaa7;}else{if(_0x185a4c===_0x5bddad(0x124)||_0x185a4c===_0x5bddad(0x204)){if(_0x42c6b2!==!0x0)throw new TypeError(_0x5bddad(0x166)+_0x185a4c+_0x5bddad(0x226)+_0x42c6b2);}else throw new Error(_0x5bddad(0x1f3)+_0x185a4c+'\x22');}}_0x39899b[_0x185a4c]=_0x42c6b2;});}),_0x55133d;}[_0x2c69b7(0x28e)](_0x158293,_0x595347,_0x1dceb8){const _0x3b5228=_0x2c69b7;_0x463f4d[_0x3b5228(0x1df)](_0x43c171=>{const _0xbb8619=_0x3b5228;this[_0xbb8619(0x22b)](_0x158293,_0x595347,(_0x1ced71,_0x27ed24)=>{_0x43c171(),_0x1dceb8(_0x1ced71,_0x27ed24);});});}[_0x2c69b7(0x29d)](_0x3fe082,_0x55ba05,_0x1d84bc){const _0x466555=_0x2c69b7;_0x463f4d[_0x466555(0x1df)](_0x54a33c=>{const _0x530320=_0x466555;this[_0x530320(0x1f5)](_0x3fe082,_0x55ba05,(_0x55c8b3,_0xb43dde)=>{_0x54a33c(),_0x1d84bc(_0x55c8b3,_0xb43dde);});});}[_0x2c69b7(0x22b)](_0x205c3b,_0x3d113c,_0x36f1f6){const _0x342946=_0x2c69b7,_0x270edc=this[_0x342946(0x295)]?_0x342946(0x127):_0x342946(0x17c);if(!this['_inflate']){const _0x513f23=_0x270edc+'_max_window_bits',_0x4695e0=typeof this[_0x342946(0x293)][_0x513f23]!=_0x342946(0x2af)?_0x21eb53[_0x342946(0x1bc)]:this[_0x342946(0x293)][_0x513f23];this['_inflate']=_0x21eb53[_0x342946(0x137)]({...this[_0x342946(0x22f)][_0x342946(0x208)],'windowBits':_0x4695e0}),this[_0x342946(0x278)][_0x36480e]=this,this['_inflate'][_0x37e296]=0x0,this[_0x342946(0x278)][_0x17f251]=[],this[_0x342946(0x278)]['on'](_0x342946(0x20e),_0x222714),this[_0x342946(0x278)]['on'](_0x342946(0x1e7),_0x12afb4);}this[_0x342946(0x278)][_0x1304ae]=_0x36f1f6,this[_0x342946(0x278)]['write'](_0x205c3b),_0x3d113c&&this[_0x342946(0x278)]['write'](_0x3869a3),this[_0x342946(0x278)][_0x342946(0x10d)](()=>{const _0x286854=_0x342946,_0x304cc7=this[_0x286854(0x278)][_0x1e96c6];if(_0x304cc7){this[_0x286854(0x278)]['close'](),this[_0x286854(0x278)]=null,_0x36f1f6(_0x304cc7);return;}const _0x47f32f=_0x251492[_0x286854(0x20b)](this['_inflate'][_0x17f251],this[_0x286854(0x278)][_0x37e296]);this[_0x286854(0x278)][_0x286854(0x15b)][_0x286854(0x149)]?(this['_inflate'][_0x286854(0x260)](),this[_0x286854(0x278)]=null):(this[_0x286854(0x278)][_0x37e296]=0x0,this['_inflate'][_0x17f251]=[],_0x3d113c&&this['params'][_0x270edc+_0x286854(0x121)]&&this['_inflate'][_0x286854(0x15f)]()),_0x36f1f6(null,_0x47f32f);});}[_0x2c69b7(0x1f5)](_0x5ed002,_0xcce8a6,_0x238e9b){const _0x5214bb=_0x2c69b7,_0x6a1cbc=this[_0x5214bb(0x295)]?_0x5214bb(0x17c):'client';if(!this[_0x5214bb(0x211)]){const _0x163e26=_0x6a1cbc+_0x5214bb(0x12b),_0x1d4212=typeof this[_0x5214bb(0x293)][_0x163e26]!=_0x5214bb(0x2af)?_0x21eb53['Z_DEFAULT_WINDOWBITS']:this['params'][_0x163e26];this['_deflate']=_0x21eb53[_0x5214bb(0x2ad)]({...this['_options'][_0x5214bb(0x15d)],'windowBits':_0x1d4212}),this[_0x5214bb(0x211)][_0x37e296]=0x0,this[_0x5214bb(0x211)][_0x17f251]=[],this[_0x5214bb(0x211)]['on'](_0x5214bb(0x1e7),_0x1b9255);}this[_0x5214bb(0x211)][_0x1304ae]=_0x238e9b,this[_0x5214bb(0x211)][_0x5214bb(0x228)](_0x5ed002),this[_0x5214bb(0x211)]['flush'](_0x21eb53[_0x5214bb(0x23f)],()=>{const _0x178efa=_0x5214bb;if(!this[_0x178efa(0x211)])return;let _0x374233=_0x251492[_0x178efa(0x20b)](this[_0x178efa(0x211)][_0x17f251],this['_deflate'][_0x37e296]);_0xcce8a6&&(_0x374233=new _0xfc62c3(_0x374233[_0x178efa(0x12d)],_0x374233[_0x178efa(0x215)],_0x374233['length']-0x4)),this[_0x178efa(0x211)][_0x1304ae]=null,this[_0x178efa(0x211)][_0x37e296]=0x0,this[_0x178efa(0x211)][_0x17f251]=[],_0xcce8a6&&this['params'][_0x6a1cbc+_0x178efa(0x121)]&&this[_0x178efa(0x211)][_0x178efa(0x15f)](),_0x238e9b(null,_0x374233);});}}ve=_0x4baa86;function _0x1b9255(_0x296571){const _0x47f366=_0x2c69b7;this[_0x17f251][_0x47f366(0x2b5)](_0x296571),this[_0x37e296]+=_0x296571['length'];}function _0x12afb4(_0x208478){const _0x557626=_0x2c69b7;if(this[_0x37e296]+=_0x208478[_0x557626(0x1f2)],this[_0x36480e][_0x557626(0x202)]<0x1||this[_0x37e296]<=this[_0x36480e]['_maxPayload']){this[_0x17f251]['push'](_0x208478);return;}this[_0x1e96c6]=new RangeError(_0x557626(0x2a8)),this[_0x1e96c6][_0x557626(0x196)]=_0x557626(0x109),this[_0x1e96c6][_0x44b809]=0x3f1,this[_0x557626(0x1fe)](_0x557626(0x1e7),_0x12afb4),this['reset']();}function _0x222714(_0xb5e4ae){const _0x5c03df=_0x2c69b7;this[_0x36480e][_0x5c03df(0x278)]=null,_0xb5e4ae[_0x44b809]=0x3ef,this[_0x1304ae](_0xb5e4ae);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x340af6(0x2a9)]({'__proto__':null,'default':Dt},Symbol[_0x340af6(0x1d9)],{'value':_0x340af6(0x277)})),Bt=at(Rt);var Ye;function ae(){const _0x4824bd=_0x340af6;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x52ca69}=wt,{hasBlob:_0x1b5e6f}=H(),_0x346908=[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 _0x366416(_0x3833cf){return _0x3833cf>=0x3e8&&_0x3833cf<=0x3f6&&_0x3833cf!==0x3ec&&_0x3833cf!==0x3ed&&_0x3833cf!==0x3ee||_0x3833cf>=0xbb8&&_0x3833cf<=0x1387;}function _0x3a78d2(_0x46602a){const _0x174a51=_0x30df,_0x134f6d=_0x46602a[_0x174a51(0x1f2)];let _0x2be21f=0x0;for(;_0x2be21f<_0x134f6d;)if((_0x46602a[_0x2be21f]&0x80)===0x0)_0x2be21f++;else{if((_0x46602a[_0x2be21f]&0xe0)===0xc0){if(_0x2be21f+0x1===_0x134f6d||(_0x46602a[_0x2be21f+0x1]&0xc0)!==0x80||(_0x46602a[_0x2be21f]&0xfe)===0xc0)return!0x1;_0x2be21f+=0x2;}else{if((_0x46602a[_0x2be21f]&0xf0)===0xe0){if(_0x2be21f+0x2>=_0x134f6d||(_0x46602a[_0x2be21f+0x1]&0xc0)!==0x80||(_0x46602a[_0x2be21f+0x2]&0xc0)!==0x80||_0x46602a[_0x2be21f]===0xe0&&(_0x46602a[_0x2be21f+0x1]&0xe0)===0x80||_0x46602a[_0x2be21f]===0xed&&(_0x46602a[_0x2be21f+0x1]&0xe0)===0xa0)return!0x1;_0x2be21f+=0x3;}else{if((_0x46602a[_0x2be21f]&0xf8)===0xf0){if(_0x2be21f+0x3>=_0x134f6d||(_0x46602a[_0x2be21f+0x1]&0xc0)!==0x80||(_0x46602a[_0x2be21f+0x2]&0xc0)!==0x80||(_0x46602a[_0x2be21f+0x3]&0xc0)!==0x80||_0x46602a[_0x2be21f]===0xf0&&(_0x46602a[_0x2be21f+0x1]&0xf0)===0x80||_0x46602a[_0x2be21f]===0xf4&&_0x46602a[_0x2be21f+0x1]>0x8f||_0x46602a[_0x2be21f]>0xf4)return!0x1;_0x2be21f+=0x4;}else return!0x1;}}}return!0x0;}function _0x54270c(_0x22db4b){const _0x12ed94=_0x30df;return _0x1b5e6f&&typeof _0x22db4b==_0x12ed94(0x2c5)&&typeof _0x22db4b[_0x12ed94(0x20d)]==_0x12ed94(0x201)&&typeof _0x22db4b[_0x12ed94(0x11c)]=='string'&&typeof _0x22db4b['stream']=='function'&&(_0x22db4b[Symbol[_0x12ed94(0x1d9)]]==='Blob'||_0x22db4b[Symbol[_0x12ed94(0x1d9)]]===_0x12ed94(0x1b5));}if(ie[_0x4824bd(0x118)]={'isBlob':_0x54270c,'isValidStatusCode':_0x366416,'isValidUTF8':_0x3a78d2,'tokenChars':_0x346908},_0x52ca69)ie['exports'][_0x4824bd(0x279)]=function(_0x576525){const _0x3ac93a=_0x4824bd;return _0x576525[_0x3ac93a(0x1f2)]<0x18?_0x3a78d2(_0x576525):_0x52ca69(_0x576525);};else{if(!process[_0x4824bd(0x296)]['WS_NO_UTF_8_VALIDATE'])try{const _0x2be437=Bt;ie[_0x4824bd(0x118)][_0x4824bd(0x279)]=function(_0x20a17e){const _0x1a37ff=_0x4824bd;return _0x20a17e[_0x1a37ff(0x1f2)]<0x20?_0x3a78d2(_0x20a17e):_0x2be437(_0x20a17e);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0xa4b2cf=_0x340af6;if(Ke)return Se;Ke=0x1;const {Writable:_0x159459}=oe,_0x185e1b=he(),{BINARY_TYPES:_0x1a46e0,EMPTY_BUFFER:_0x8e7352,kStatusCode:_0x3b3fa6,kWebSocket:_0x198bec}=H(),{concat:_0x3b2bf7,toArrayBuffer:_0x59dbb9,unmask:_0x5541e5}=ce(),{isValidStatusCode:_0x4ae5f2,isValidUTF8:_0x268a74}=ae(),_0x3258f3=Buffer[Symbol[_0xa4b2cf(0x128)]],_0x233f9f=0x0,_0x4bc0fc=0x1,_0x57b02c=0x2,_0x5be4dc=0x3,_0x2fec48=0x4,_0x4434c8=0x5,_0x32294c=0x6;class _0x2e1202 extends _0x159459{constructor(_0x23d190={}){const _0x235a61=_0xa4b2cf;super(),this[_0x235a61(0x179)]=_0x23d190['allowSynchronousEvents']!==void 0x0?_0x23d190['allowSynchronousEvents']:!0x0,this[_0x235a61(0x274)]=_0x23d190['binaryType']||_0x1a46e0[0x0],this[_0x235a61(0x1e1)]=_0x23d190[_0x235a61(0x1d0)]||{},this[_0x235a61(0x295)]=!!_0x23d190[_0x235a61(0x164)],this['_maxPayload']=_0x23d190[_0x235a61(0x2b1)]|0x0,this[_0x235a61(0x185)]=!!_0x23d190[_0x235a61(0x29c)],this[_0x198bec]=void 0x0,this[_0x235a61(0x1e9)]=0x0,this[_0x235a61(0x1c9)]=[],this[_0x235a61(0x289)]=!0x1,this[_0x235a61(0x2c0)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x235a61(0x1ec)]=!0x1,this[_0x235a61(0x1f6)]=!0x1,this[_0x235a61(0x25c)]=0x0,this[_0x235a61(0x1cb)]=0x0,this[_0x235a61(0x195)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x235a61(0x29e)]=!0x1,this[_0x235a61(0x28c)]=_0x233f9f;}[_0xa4b2cf(0x2d2)](_0x30261c,_0x4e2e13,_0x457e86){const _0x210b15=_0xa4b2cf;if(this[_0x210b15(0x25c)]===0x8&&this[_0x210b15(0x28c)]==_0x233f9f)return _0x457e86();this[_0x210b15(0x1e9)]+=_0x30261c[_0x210b15(0x1f2)],this[_0x210b15(0x1c9)][_0x210b15(0x2b5)](_0x30261c),this[_0x210b15(0x241)](_0x457e86);}[_0xa4b2cf(0x280)](_0x337535){const _0x1533f5=_0xa4b2cf;if(this[_0x1533f5(0x1e9)]-=_0x337535,_0x337535===this['_buffers'][0x0]['length'])return this[_0x1533f5(0x1c9)][_0x1533f5(0x22e)]();if(_0x337535<this[_0x1533f5(0x1c9)][0x0][_0x1533f5(0x1f2)]){const _0x1b83ca=this[_0x1533f5(0x1c9)][0x0];return this['_buffers'][0x0]=new _0x3258f3(_0x1b83ca[_0x1533f5(0x12d)],_0x1b83ca['byteOffset']+_0x337535,_0x1b83ca[_0x1533f5(0x1f2)]-_0x337535),new _0x3258f3(_0x1b83ca[_0x1533f5(0x12d)],_0x1b83ca[_0x1533f5(0x215)],_0x337535);}const _0x59a28c=Buffer[_0x1533f5(0x112)](_0x337535);do{const _0x4077d6=this['_buffers'][0x0],_0x2a0a72=_0x59a28c[_0x1533f5(0x1f2)]-_0x337535;_0x337535>=_0x4077d6['length']?_0x59a28c['set'](this[_0x1533f5(0x1c9)][_0x1533f5(0x22e)](),_0x2a0a72):(_0x59a28c[_0x1533f5(0x175)](new Uint8Array(_0x4077d6[_0x1533f5(0x12d)],_0x4077d6[_0x1533f5(0x215)],_0x337535),_0x2a0a72),this[_0x1533f5(0x1c9)][0x0]=new _0x3258f3(_0x4077d6['buffer'],_0x4077d6['byteOffset']+_0x337535,_0x4077d6['length']-_0x337535)),_0x337535-=_0x4077d6['length'];}while(_0x337535>0x0);return _0x59a28c;}['startLoop'](_0x52ca9a){const _0x5416ba=_0xa4b2cf;this['_loop']=!0x0;do switch(this[_0x5416ba(0x28c)]){case _0x233f9f:this['getInfo'](_0x52ca9a);break;case _0x4bc0fc:this['getPayloadLength16'](_0x52ca9a);break;case _0x57b02c:this[_0x5416ba(0x2b3)](_0x52ca9a);break;case _0x5be4dc:this['getMask']();break;case _0x2fec48:this[_0x5416ba(0x1b0)](_0x52ca9a);break;case _0x4434c8:case _0x32294c:this[_0x5416ba(0x29e)]=!0x1;return;}while(this[_0x5416ba(0x29e)]);this[_0x5416ba(0x20a)]||_0x52ca9a();}['getInfo'](_0x25330f){const _0x2f026d=_0xa4b2cf;if(this[_0x2f026d(0x1e9)]<0x2){this[_0x2f026d(0x29e)]=!0x1;return;}const _0x274eec=this['consume'](0x2);if((_0x274eec[0x0]&0x30)!==0x0){const _0x1de5c2=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x191),!0x0,0x3ea,_0x2f026d(0x1bb));_0x25330f(_0x1de5c2);return;}const _0x3ce4c7=(_0x274eec[0x0]&0x40)===0x40;if(_0x3ce4c7&&!this[_0x2f026d(0x1e1)][_0x185e1b[_0x2f026d(0x213)]]){const _0x45b802=this['createError'](RangeError,_0x2f026d(0x1f8),!0x0,0x3ea,_0x2f026d(0x189));_0x25330f(_0x45b802);return;}if(this['_fin']=(_0x274eec[0x0]&0x80)===0x80,this[_0x2f026d(0x25c)]=_0x274eec[0x0]&0xf,this['_payloadLength']=_0x274eec[0x1]&0x7f,this[_0x2f026d(0x25c)]===0x0){if(_0x3ce4c7){const _0x3ddd76=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x1f8),!0x0,0x3ea,_0x2f026d(0x189));_0x25330f(_0x3ddd76);return;}if(!this[_0x2f026d(0x1b3)]){const _0x1afb32=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x2bd),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x25330f(_0x1afb32);return;}this[_0x2f026d(0x25c)]=this[_0x2f026d(0x1b3)];}else{if(this[_0x2f026d(0x25c)]===0x1||this[_0x2f026d(0x25c)]===0x2){if(this[_0x2f026d(0x1b3)]){const _0x292074=this['createError'](RangeError,_0x2f026d(0x2c1)+this[_0x2f026d(0x25c)],!0x0,0x3ea,_0x2f026d(0x1de));_0x25330f(_0x292074);return;}this['_compressed']=_0x3ce4c7;}else{if(this[_0x2f026d(0x25c)]>0x7&&this['_opcode']<0xb){if(!this[_0x2f026d(0x1f6)]){const _0x133571=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x2ae),!0x0,0x3ea,_0x2f026d(0x270));_0x25330f(_0x133571);return;}if(_0x3ce4c7){const _0x5241af=this[_0x2f026d(0x12a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2f026d(0x189));_0x25330f(_0x5241af);return;}if(this['_payloadLength']>0x7d||this[_0x2f026d(0x25c)]===0x8&&this['_payloadLength']===0x1){const _0x1395c1=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x152)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x25330f(_0x1395c1);return;}}else{const _0x4ed5cc=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x2c1)+this[_0x2f026d(0x25c)],!0x0,0x3ea,_0x2f026d(0x1de));_0x25330f(_0x4ed5cc);return;}}}if(!this[_0x2f026d(0x1f6)]&&!this['_fragmented']&&(this[_0x2f026d(0x1b3)]=this[_0x2f026d(0x25c)]),this[_0x2f026d(0x1ec)]=(_0x274eec[0x1]&0x80)===0x80,this[_0x2f026d(0x295)]){if(!this[_0x2f026d(0x1ec)]){const _0x547feb=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x144),!0x0,0x3ea,_0x2f026d(0x1cf));_0x25330f(_0x547feb);return;}}else{if(this['_masked']){const _0x17ad8a=this[_0x2f026d(0x12a)](RangeError,_0x2f026d(0x21a),!0x0,0x3ea,_0x2f026d(0x14a));_0x25330f(_0x17ad8a);return;}}this[_0x2f026d(0x2c0)]===0x7e?this[_0x2f026d(0x28c)]=_0x4bc0fc:this['_payloadLength']===0x7f?this['_state']=_0x57b02c:this[_0x2f026d(0x177)](_0x25330f);}['getPayloadLength16'](_0x3194e1){const _0x60a5=_0xa4b2cf;if(this[_0x60a5(0x1e9)]<0x2){this['_loop']=!0x1;return;}this[_0x60a5(0x2c0)]=this['consume'](0x2)[_0x60a5(0x26a)](0x0),this[_0x60a5(0x177)](_0x3194e1);}['getPayloadLength64'](_0x4b20b3){const _0x31a4ba=_0xa4b2cf;if(this[_0x31a4ba(0x1e9)]<0x8){this[_0x31a4ba(0x29e)]=!0x1;return;}const _0x3aab65=this[_0x31a4ba(0x280)](0x8),_0x3460a1=_0x3aab65[_0x31a4ba(0x1f7)](0x0);if(_0x3460a1>Math['pow'](0x2,0x15)-0x1){const _0x528d8b=this[_0x31a4ba(0x12a)](RangeError,_0x31a4ba(0x1dc),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4b20b3(_0x528d8b);return;}this[_0x31a4ba(0x2c0)]=_0x3460a1*Math[_0x31a4ba(0x222)](0x2,0x20)+_0x3aab65[_0x31a4ba(0x1f7)](0x4),this['haveLength'](_0x4b20b3);}[_0xa4b2cf(0x177)](_0x18ba56){const _0x413969=_0xa4b2cf;if(this[_0x413969(0x2c0)]&&this[_0x413969(0x25c)]<0x8&&(this[_0x413969(0x1cb)]+=this[_0x413969(0x2c0)],this[_0x413969(0x1cb)]>this['_maxPayload']&&this[_0x413969(0x202)]>0x0)){const _0x273bd6=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x413969(0x109));_0x18ba56(_0x273bd6);return;}this[_0x413969(0x1ec)]?this[_0x413969(0x28c)]=_0x5be4dc:this['_state']=_0x2fec48;}[_0xa4b2cf(0x1d4)](){const _0x44dfc8=_0xa4b2cf;if(this[_0x44dfc8(0x1e9)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x44dfc8(0x280)](0x4),this['_state']=_0x2fec48;}['getData'](_0x160973){const _0x3a437e=_0xa4b2cf;let _0x8048ef=_0x8e7352;if(this[_0x3a437e(0x2c0)]){if(this[_0x3a437e(0x1e9)]<this[_0x3a437e(0x2c0)]){this['_loop']=!0x1;return;}_0x8048ef=this[_0x3a437e(0x280)](this['_payloadLength']),this['_masked']&&(this[_0x3a437e(0x281)][0x0]|this['_mask'][0x1]|this[_0x3a437e(0x281)][0x2]|this[_0x3a437e(0x281)][0x3])!==0x0&&_0x5541e5(_0x8048ef,this[_0x3a437e(0x281)]);}if(this[_0x3a437e(0x25c)]>0x7){this[_0x3a437e(0x2ce)](_0x8048ef,_0x160973);return;}if(this[_0x3a437e(0x289)]){this['_state']=_0x4434c8,this[_0x3a437e(0x28e)](_0x8048ef,_0x160973);return;}_0x8048ef['length']&&(this[_0x3a437e(0x195)]=this[_0x3a437e(0x1cb)],this[_0x3a437e(0x218)][_0x3a437e(0x2b5)](_0x8048ef)),this['dataMessage'](_0x160973);}[_0xa4b2cf(0x28e)](_0x2121a,_0x1e3bf0){const _0x723b3d=_0xa4b2cf;this[_0x723b3d(0x1e1)][_0x185e1b[_0x723b3d(0x213)]]['decompress'](_0x2121a,this[_0x723b3d(0x1f6)],(_0x2bb191,_0x1da005)=>{const _0x52ae56=_0x723b3d;if(_0x2bb191)return _0x1e3bf0(_0x2bb191);if(_0x1da005[_0x52ae56(0x1f2)]){if(this[_0x52ae56(0x195)]+=_0x1da005[_0x52ae56(0x1f2)],this['_messageLength']>this[_0x52ae56(0x202)]&&this[_0x52ae56(0x202)]>0x0){const _0xf4c27b=this[_0x52ae56(0x12a)](RangeError,_0x52ae56(0x2a8),!0x1,0x3f1,_0x52ae56(0x109));_0x1e3bf0(_0xf4c27b);return;}this[_0x52ae56(0x218)][_0x52ae56(0x2b5)](_0x1da005);}this['dataMessage'](_0x1e3bf0),this[_0x52ae56(0x28c)]===_0x233f9f&&this[_0x52ae56(0x241)](_0x1e3bf0);});}[_0xa4b2cf(0x122)](_0x3982c4){const _0x442510=_0xa4b2cf;if(!this[_0x442510(0x1f6)]){this[_0x442510(0x28c)]=_0x233f9f;return;}const _0x2ec806=this[_0x442510(0x195)],_0x57aa73=this[_0x442510(0x218)];if(this['_totalPayloadLength']=0x0,this[_0x442510(0x195)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4029f5;this['_binaryType']==='nodebuffer'?_0x4029f5=_0x3b2bf7(_0x57aa73,_0x2ec806):this[_0x442510(0x274)]===_0x442510(0x1ae)?_0x4029f5=_0x59dbb9(_0x3b2bf7(_0x57aa73,_0x2ec806)):this[_0x442510(0x274)]===_0x442510(0x232)?_0x4029f5=new Blob(_0x57aa73):_0x4029f5=_0x57aa73,this['_allowSynchronousEvents']?(this[_0x442510(0x184)](_0x442510(0x28a),_0x4029f5,!0x0),this['_state']=_0x233f9f):(this[_0x442510(0x28c)]=_0x32294c,setImmediate(()=>{const _0x25f7da=_0x442510;this[_0x25f7da(0x184)](_0x25f7da(0x28a),_0x4029f5,!0x0),this[_0x25f7da(0x28c)]=_0x233f9f,this[_0x25f7da(0x241)](_0x3982c4);}));}else{const _0x2f034b=_0x3b2bf7(_0x57aa73,_0x2ec806);if(!this['_skipUTF8Validation']&&!_0x268a74(_0x2f034b)){const _0x53b6d6=this[_0x442510(0x12a)](Error,_0x442510(0x2a6),!0x0,0x3ef,_0x442510(0x29a));_0x3982c4(_0x53b6d6);return;}this[_0x442510(0x28c)]===_0x4434c8||this[_0x442510(0x179)]?(this[_0x442510(0x184)]('message',_0x2f034b,!0x1),this[_0x442510(0x28c)]=_0x233f9f):(this['_state']=_0x32294c,setImmediate(()=>{const _0x8be0d2=_0x442510;this[_0x8be0d2(0x184)](_0x8be0d2(0x28a),_0x2f034b,!0x1),this['_state']=_0x233f9f,this[_0x8be0d2(0x241)](_0x3982c4);}));}}[_0xa4b2cf(0x2ce)](_0xf7282d,_0x357203){const _0x438e7d=_0xa4b2cf;if(this[_0x438e7d(0x25c)]===0x8){if(_0xf7282d[_0x438e7d(0x1f2)]===0x0)this[_0x438e7d(0x29e)]=!0x1,this[_0x438e7d(0x184)](_0x438e7d(0x135),0x3ed,_0x8e7352),this[_0x438e7d(0x257)]();else{const _0x260f48=_0xf7282d[_0x438e7d(0x26a)](0x0);if(!_0x4ae5f2(_0x260f48)){const _0x588b44=this[_0x438e7d(0x12a)](RangeError,_0x438e7d(0x27d)+_0x260f48,!0x0,0x3ea,_0x438e7d(0x2cf));_0x357203(_0x588b44);return;}const _0x4bc00c=new _0x3258f3(_0xf7282d['buffer'],_0xf7282d['byteOffset']+0x2,_0xf7282d['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x268a74(_0x4bc00c)){const _0x4b55f8=this['createError'](Error,_0x438e7d(0x2a6),!0x0,0x3ef,_0x438e7d(0x29a));_0x357203(_0x4b55f8);return;}this[_0x438e7d(0x29e)]=!0x1,this[_0x438e7d(0x184)](_0x438e7d(0x135),_0x260f48,_0x4bc00c),this[_0x438e7d(0x257)]();}this['_state']=_0x233f9f;return;}this[_0x438e7d(0x179)]?(this[_0x438e7d(0x184)](this[_0x438e7d(0x25c)]===0x9?_0x438e7d(0x163):_0x438e7d(0x239),_0xf7282d),this['_state']=_0x233f9f):(this[_0x438e7d(0x28c)]=_0x32294c,setImmediate(()=>{const _0x47f36f=_0x438e7d;this[_0x47f36f(0x184)](this[_0x47f36f(0x25c)]===0x9?_0x47f36f(0x163):_0x47f36f(0x239),_0xf7282d),this[_0x47f36f(0x28c)]=_0x233f9f,this[_0x47f36f(0x241)](_0x357203);}));}[_0xa4b2cf(0x12a)](_0x1ce664,_0x2b66b7,_0x7034a0,_0x283a8a,_0x5cd0c0){const _0x4656ea=_0xa4b2cf;this[_0x4656ea(0x29e)]=!0x1,this[_0x4656ea(0x20a)]=!0x0;const _0x6814a7=new _0x1ce664(_0x7034a0?_0x4656ea(0x25e)+_0x2b66b7:_0x2b66b7);return Error[_0x4656ea(0x245)](_0x6814a7,this[_0x4656ea(0x12a)]),_0x6814a7['code']=_0x5cd0c0,_0x6814a7[_0x3b3fa6]=_0x283a8a,_0x6814a7;}}return Se=_0x2e1202,Se;}var Ee,Xe;function ft(){const _0x328a60=_0x340af6;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4c1528}=oe,{randomFillSync:_0x50f21d}=Le,_0x493375=he(),{EMPTY_BUFFER:_0x3c87f4,kWebSocket:_0x443724,NOOP:_0x584799}=H(),{isBlob:_0x18c2b2,isValidStatusCode:_0x1b5d13}=ae(),{mask:_0x2e136c,toBuffer:_0x550ab9}=ce(),_0x371262=Symbol('kByteLength'),_0x132bef=Buffer['alloc'](0x4),_0x9020fb=0x8*0x400;let _0x522d9e,_0x3508af=_0x9020fb;const _0x274495=0x0,_0x214146=0x1,_0x33667b=0x2;class _0x5e6c24{constructor(_0x1c2921,_0x4b73ab,_0x1c7c2b){const _0x4e8bbe=_0x30df;this[_0x4e8bbe(0x1e1)]=_0x4b73ab||{},_0x1c7c2b&&(this[_0x4e8bbe(0x117)]=_0x1c7c2b,this[_0x4e8bbe(0x1fd)]=Buffer[_0x4e8bbe(0x269)](0x4)),this['_socket']=_0x1c2921,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x4e8bbe(0x1e9)]=0x0,this[_0x4e8bbe(0x19d)]=[],this[_0x4e8bbe(0x28c)]=_0x274495,this['onerror']=_0x584799,this[_0x443724]=void 0x0;}static[_0x328a60(0x240)](_0x2a0047,_0xc8dd2c){const _0x5bde10=_0x328a60;let _0x492ad9,_0x1021ac=!0x1,_0x3d34df=0x2,_0x31ab5e=!0x1;_0xc8dd2c[_0x5bde10(0x266)]&&(_0x492ad9=_0xc8dd2c[_0x5bde10(0x125)]||_0x132bef,_0xc8dd2c[_0x5bde10(0x1b9)]?_0xc8dd2c['generateMask'](_0x492ad9):(_0x3508af===_0x9020fb&&(_0x522d9e===void 0x0&&(_0x522d9e=Buffer[_0x5bde10(0x269)](_0x9020fb)),_0x50f21d(_0x522d9e,0x0,_0x9020fb),_0x3508af=0x0),_0x492ad9[0x0]=_0x522d9e[_0x3508af++],_0x492ad9[0x1]=_0x522d9e[_0x3508af++],_0x492ad9[0x2]=_0x522d9e[_0x3508af++],_0x492ad9[0x3]=_0x522d9e[_0x3508af++]),_0x31ab5e=(_0x492ad9[0x0]|_0x492ad9[0x1]|_0x492ad9[0x2]|_0x492ad9[0x3])===0x0,_0x3d34df=0x6);let _0xb44d3d;typeof _0x2a0047==_0x5bde10(0x299)?(!_0xc8dd2c['mask']||_0x31ab5e)&&_0xc8dd2c[_0x371262]!==void 0x0?_0xb44d3d=_0xc8dd2c[_0x371262]:(_0x2a0047=Buffer[_0x5bde10(0x22c)](_0x2a0047),_0xb44d3d=_0x2a0047['length']):(_0xb44d3d=_0x2a0047[_0x5bde10(0x1f2)],_0x1021ac=_0xc8dd2c['mask']&&_0xc8dd2c[_0x5bde10(0x168)]&&!_0x31ab5e);let _0x386e35=_0xb44d3d;_0xb44d3d>=0x10000?(_0x3d34df+=0x8,_0x386e35=0x7f):_0xb44d3d>0x7d&&(_0x3d34df+=0x2,_0x386e35=0x7e);const _0x22adad=Buffer[_0x5bde10(0x112)](_0x1021ac?_0xb44d3d+_0x3d34df:_0x3d34df);return _0x22adad[0x0]=_0xc8dd2c[_0x5bde10(0x19e)]?_0xc8dd2c[_0x5bde10(0x1fb)]|0x80:_0xc8dd2c[_0x5bde10(0x1fb)],_0xc8dd2c[_0x5bde10(0x234)]&&(_0x22adad[0x0]|=0x40),_0x22adad[0x1]=_0x386e35,_0x386e35===0x7e?_0x22adad[_0x5bde10(0x273)](_0xb44d3d,0x2):_0x386e35===0x7f&&(_0x22adad[0x2]=_0x22adad[0x3]=0x0,_0x22adad[_0x5bde10(0x251)](_0xb44d3d,0x4,0x6)),_0xc8dd2c[_0x5bde10(0x266)]?(_0x22adad[0x1]|=0x80,_0x22adad[_0x3d34df-0x4]=_0x492ad9[0x0],_0x22adad[_0x3d34df-0x3]=_0x492ad9[0x1],_0x22adad[_0x3d34df-0x2]=_0x492ad9[0x2],_0x22adad[_0x3d34df-0x1]=_0x492ad9[0x3],_0x31ab5e?[_0x22adad,_0x2a0047]:_0x1021ac?(_0x2e136c(_0x2a0047,_0x492ad9,_0x22adad,_0x3d34df,_0xb44d3d),[_0x22adad]):(_0x2e136c(_0x2a0047,_0x492ad9,_0x2a0047,0x0,_0xb44d3d),[_0x22adad,_0x2a0047])):[_0x22adad,_0x2a0047];}['close'](_0x5e18bb,_0x1080bc,_0x551336,_0x36bf4c){const _0x348830=_0x328a60;let _0x220b98;if(_0x5e18bb===void 0x0)_0x220b98=_0x3c87f4;else{if(typeof _0x5e18bb!='number'||!_0x1b5d13(_0x5e18bb))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1080bc===void 0x0||!_0x1080bc['length'])_0x220b98=Buffer[_0x348830(0x112)](0x2),_0x220b98[_0x348830(0x273)](_0x5e18bb,0x0);else{const _0x5b4463=Buffer[_0x348830(0x24b)](_0x1080bc);if(_0x5b4463>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x220b98=Buffer['allocUnsafe'](0x2+_0x5b4463),_0x220b98['writeUInt16BE'](_0x5e18bb,0x0),typeof _0x1080bc==_0x348830(0x299)?_0x220b98[_0x348830(0x228)](_0x1080bc,0x2):_0x220b98[_0x348830(0x175)](_0x1080bc,0x2);}}const _0xfdf4bc={[_0x371262]:_0x220b98[_0x348830(0x1f2)],'fin':!0x0,'generateMask':this[_0x348830(0x117)],'mask':_0x551336,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x348830(0x28c)]!==_0x274495?this['enqueue']([this[_0x348830(0x176)],_0x220b98,!0x1,_0xfdf4bc,_0x36bf4c]):this[_0x348830(0x10f)](_0x5e6c24[_0x348830(0x240)](_0x220b98,_0xfdf4bc),_0x36bf4c);}[_0x328a60(0x163)](_0x2412b3,_0x64ba04,_0x162e09){const _0x58ec88=_0x328a60;let _0x3df32c,_0x59bc04;if(typeof _0x2412b3==_0x58ec88(0x299)?(_0x3df32c=Buffer[_0x58ec88(0x24b)](_0x2412b3),_0x59bc04=!0x1):_0x18c2b2(_0x2412b3)?(_0x3df32c=_0x2412b3[_0x58ec88(0x223)],_0x59bc04=!0x1):(_0x2412b3=_0x550ab9(_0x2412b3),_0x3df32c=_0x2412b3['length'],_0x59bc04=_0x550ab9[_0x58ec88(0x168)]),_0x3df32c>0x7d)throw new RangeError(_0x58ec88(0x247));const _0x2f960a={[_0x371262]:_0x3df32c,'fin':!0x0,'generateMask':this[_0x58ec88(0x117)],'mask':_0x64ba04,'maskBuffer':this[_0x58ec88(0x1fd)],'opcode':0x9,'readOnly':_0x59bc04,'rsv1':!0x1};_0x18c2b2(_0x2412b3)?this[_0x58ec88(0x28c)]!==_0x274495?this['enqueue']([this['getBlobData'],_0x2412b3,!0x1,_0x2f960a,_0x162e09]):this[_0x58ec88(0x268)](_0x2412b3,!0x1,_0x2f960a,_0x162e09):this[_0x58ec88(0x28c)]!==_0x274495?this[_0x58ec88(0x254)]([this[_0x58ec88(0x176)],_0x2412b3,!0x1,_0x2f960a,_0x162e09]):this[_0x58ec88(0x10f)](_0x5e6c24['frame'](_0x2412b3,_0x2f960a),_0x162e09);}['pong'](_0x4123d1,_0x521c77,_0x2a031c){const _0x514094=_0x328a60;let _0x2c4fa6,_0x202156;if(typeof _0x4123d1==_0x514094(0x299)?(_0x2c4fa6=Buffer[_0x514094(0x24b)](_0x4123d1),_0x202156=!0x1):_0x18c2b2(_0x4123d1)?(_0x2c4fa6=_0x4123d1['size'],_0x202156=!0x1):(_0x4123d1=_0x550ab9(_0x4123d1),_0x2c4fa6=_0x4123d1['length'],_0x202156=_0x550ab9[_0x514094(0x168)]),_0x2c4fa6>0x7d)throw new RangeError(_0x514094(0x247));const _0x31e28b={[_0x371262]:_0x2c4fa6,'fin':!0x0,'generateMask':this[_0x514094(0x117)],'mask':_0x521c77,'maskBuffer':this[_0x514094(0x1fd)],'opcode':0xa,'readOnly':_0x202156,'rsv1':!0x1};_0x18c2b2(_0x4123d1)?this[_0x514094(0x28c)]!==_0x274495?this['enqueue']([this[_0x514094(0x268)],_0x4123d1,!0x1,_0x31e28b,_0x2a031c]):this['getBlobData'](_0x4123d1,!0x1,_0x31e28b,_0x2a031c):this[_0x514094(0x28c)]!==_0x274495?this[_0x514094(0x254)]([this[_0x514094(0x176)],_0x4123d1,!0x1,_0x31e28b,_0x2a031c]):this['sendFrame'](_0x5e6c24[_0x514094(0x240)](_0x4123d1,_0x31e28b),_0x2a031c);}[_0x328a60(0x162)](_0x5288e9,_0x411c1b,_0x4cc3b6){const _0x2b9d8a=_0x328a60,_0x9c19b5=this[_0x2b9d8a(0x1e1)][_0x493375[_0x2b9d8a(0x213)]];let _0xa88042=_0x411c1b[_0x2b9d8a(0x25d)]?0x2:0x1,_0x2cfdf6=_0x411c1b[_0x2b9d8a(0x29d)],_0x1e56ff,_0x1f4ec3;typeof _0x5288e9==_0x2b9d8a(0x299)?(_0x1e56ff=Buffer[_0x2b9d8a(0x24b)](_0x5288e9),_0x1f4ec3=!0x1):_0x18c2b2(_0x5288e9)?(_0x1e56ff=_0x5288e9[_0x2b9d8a(0x223)],_0x1f4ec3=!0x1):(_0x5288e9=_0x550ab9(_0x5288e9),_0x1e56ff=_0x5288e9['length'],_0x1f4ec3=_0x550ab9[_0x2b9d8a(0x168)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x2cfdf6&&_0x9c19b5&&_0x9c19b5[_0x2b9d8a(0x293)][_0x9c19b5[_0x2b9d8a(0x295)]?_0x2b9d8a(0x204):_0x2b9d8a(0x124)]&&(_0x2cfdf6=_0x1e56ff>=_0x9c19b5['_threshold']),this['_compress']=_0x2cfdf6):(_0x2cfdf6=!0x1,_0xa88042=0x0),_0x411c1b[_0x2b9d8a(0x19e)]&&(this[_0x2b9d8a(0x12c)]=!0x0);const _0x1abc20={[_0x371262]:_0x1e56ff,'fin':_0x411c1b[_0x2b9d8a(0x19e)],'generateMask':this['_generateMask'],'mask':_0x411c1b[_0x2b9d8a(0x266)],'maskBuffer':this[_0x2b9d8a(0x1fd)],'opcode':_0xa88042,'readOnly':_0x1f4ec3,'rsv1':_0x2cfdf6};_0x18c2b2(_0x5288e9)?this['_state']!==_0x274495?this[_0x2b9d8a(0x254)]([this['getBlobData'],_0x5288e9,this[_0x2b9d8a(0x1f5)],_0x1abc20,_0x4cc3b6]):this[_0x2b9d8a(0x268)](_0x5288e9,this[_0x2b9d8a(0x1f5)],_0x1abc20,_0x4cc3b6):this[_0x2b9d8a(0x28c)]!==_0x274495?this[_0x2b9d8a(0x254)]([this[_0x2b9d8a(0x176)],_0x5288e9,this[_0x2b9d8a(0x1f5)],_0x1abc20,_0x4cc3b6]):this['dispatch'](_0x5288e9,this['_compress'],_0x1abc20,_0x4cc3b6);}[_0x328a60(0x268)](_0x480135,_0x4b9817,_0x3c18a3,_0x5c6374){const _0x423916=_0x328a60;this[_0x423916(0x1e9)]+=_0x3c18a3[_0x371262],this[_0x423916(0x28c)]=_0x33667b,_0x480135[_0x423916(0x20d)]()[_0x423916(0x160)](_0x51163f=>{const _0x2ee9b6=_0x423916;if(this[_0x2ee9b6(0x1e4)]['destroyed']){const _0x9e26f0=new Error(_0x2ee9b6(0x143));process[_0x2ee9b6(0x1ef)](_0x5518de,this,_0x9e26f0,_0x5c6374);return;}this['_bufferedBytes']-=_0x3c18a3[_0x371262];const _0x1c5b28=_0x550ab9(_0x51163f);_0x4b9817?this[_0x2ee9b6(0x176)](_0x1c5b28,_0x4b9817,_0x3c18a3,_0x5c6374):(this[_0x2ee9b6(0x28c)]=_0x274495,this[_0x2ee9b6(0x10f)](_0x5e6c24[_0x2ee9b6(0x240)](_0x1c5b28,_0x3c18a3),_0x5c6374),this[_0x2ee9b6(0x18c)]());})[_0x423916(0x161)](_0x18c059=>{const _0x57cf30=_0x423916;process[_0x57cf30(0x1ef)](_0x28ff52,this,_0x18c059,_0x5c6374);});}[_0x328a60(0x176)](_0x5e89a2,_0x439f16,_0x55ff03,_0x51fc9d){const _0x39b0f8=_0x328a60;if(!_0x439f16){this[_0x39b0f8(0x10f)](_0x5e6c24[_0x39b0f8(0x240)](_0x5e89a2,_0x55ff03),_0x51fc9d);return;}const _0x39af69=this['_extensions'][_0x493375[_0x39b0f8(0x213)]];this['_bufferedBytes']+=_0x55ff03[_0x371262],this[_0x39b0f8(0x28c)]=_0x214146,_0x39af69[_0x39b0f8(0x29d)](_0x5e89a2,_0x55ff03[_0x39b0f8(0x19e)],(_0xd7a354,_0x4160de)=>{const _0x3b673b=_0x39b0f8;if(this[_0x3b673b(0x1e4)]['destroyed']){const _0x183615=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5518de(this,_0x183615,_0x51fc9d);return;}this[_0x3b673b(0x1e9)]-=_0x55ff03[_0x371262],this[_0x3b673b(0x28c)]=_0x274495,_0x55ff03[_0x3b673b(0x168)]=!0x1,this[_0x3b673b(0x10f)](_0x5e6c24['frame'](_0x4160de,_0x55ff03),_0x51fc9d),this[_0x3b673b(0x18c)]();});}['dequeue'](){const _0x21a0dd=_0x328a60;for(;this[_0x21a0dd(0x28c)]===_0x274495&&this[_0x21a0dd(0x19d)][_0x21a0dd(0x1f2)];){const _0x1eb042=this[_0x21a0dd(0x19d)][_0x21a0dd(0x22e)]();this[_0x21a0dd(0x1e9)]-=_0x1eb042[0x3][_0x371262],Reflect[_0x21a0dd(0x145)](_0x1eb042[0x0],this,_0x1eb042[_0x21a0dd(0x172)](0x1));}}[_0x328a60(0x254)](_0x3d5d3d){const _0x23ecc9=_0x328a60;this[_0x23ecc9(0x1e9)]+=_0x3d5d3d[0x3][_0x371262],this[_0x23ecc9(0x19d)][_0x23ecc9(0x2b5)](_0x3d5d3d);}[_0x328a60(0x10f)](_0x1c467c,_0x229058){const _0x186cd3=_0x328a60;_0x1c467c[_0x186cd3(0x1f2)]===0x2?(this[_0x186cd3(0x1e4)][_0x186cd3(0x181)](),this[_0x186cd3(0x1e4)][_0x186cd3(0x228)](_0x1c467c[0x0]),this['_socket'][_0x186cd3(0x228)](_0x1c467c[0x1],_0x229058),this[_0x186cd3(0x1e4)][_0x186cd3(0x120)]()):this['_socket'][_0x186cd3(0x228)](_0x1c467c[0x0],_0x229058);}}Ee=_0x5e6c24;function _0x5518de(_0x3f480f,_0x5e6ff5,_0x2ab977){const _0x14e2d5=_0x328a60;typeof _0x2ab977==_0x14e2d5(0x201)&&_0x2ab977(_0x5e6ff5);for(let _0x2bc501=0x0;_0x2bc501<_0x3f480f[_0x14e2d5(0x19d)][_0x14e2d5(0x1f2)];_0x2bc501++){const _0x10d729=_0x3f480f[_0x14e2d5(0x19d)][_0x2bc501],_0x32b178=_0x10d729[_0x10d729[_0x14e2d5(0x1f2)]-0x1];typeof _0x32b178==_0x14e2d5(0x201)&&_0x32b178(_0x5e6ff5);}}function _0x28ff52(_0x5e49e6,_0x43344e,_0x12faf2){const _0xd33826=_0x328a60;_0x5518de(_0x5e49e6,_0x43344e,_0x12faf2),_0x5e49e6[_0xd33826(0x1eb)](_0x43344e);}return Ee;}var xe,Ze;function It(){const _0x2f2878=_0x340af6;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x54363b,kListener:_0xf61bd9}=H(),_0x57d496=Symbol(_0x2f2878(0x2a4)),_0xbd5ad8=Symbol(_0x2f2878(0x116)),_0x14cc45=Symbol(_0x2f2878(0x276)),_0x395fd2=Symbol(_0x2f2878(0x210)),_0x5225a7=Symbol(_0x2f2878(0x21b)),_0x31d4b2=Symbol(_0x2f2878(0x1bd)),_0x434ea7=Symbol(_0x2f2878(0x2c9)),_0x4ad320=Symbol(_0x2f2878(0x219));class _0x2dab84{constructor(_0x276507){this[_0x31d4b2]=null,this[_0x434ea7]=_0x276507;}get[_0x2f2878(0x2c6)](){return this[_0x31d4b2];}get[_0x2f2878(0x11c)](){return this[_0x434ea7];}}Object[_0x2f2878(0x2a9)](_0x2dab84[_0x2f2878(0x259)],_0x2f2878(0x2c6),{'enumerable':!0x0}),Object[_0x2f2878(0x2a9)](_0x2dab84[_0x2f2878(0x259)],_0x2f2878(0x11c),{'enumerable':!0x0});class _0x3c16cf extends _0x2dab84{constructor(_0x23d5ba,_0x311040={}){const _0x10b201=_0x2f2878;super(_0x23d5ba),this[_0x57d496]=_0x311040['code']===void 0x0?0x0:_0x311040[_0x10b201(0x196)],this[_0x5225a7]=_0x311040[_0x10b201(0x212)]===void 0x0?'':_0x311040[_0x10b201(0x212)],this[_0x4ad320]=_0x311040[_0x10b201(0x183)]===void 0x0?!0x1:_0x311040[_0x10b201(0x183)];}get[_0x2f2878(0x196)](){return this[_0x57d496];}get[_0x2f2878(0x212)](){return this[_0x5225a7];}get[_0x2f2878(0x183)](){return this[_0x4ad320];}}Object[_0x2f2878(0x2a9)](_0x3c16cf[_0x2f2878(0x259)],_0x2f2878(0x196),{'enumerable':!0x0}),Object[_0x2f2878(0x2a9)](_0x3c16cf['prototype'],_0x2f2878(0x212),{'enumerable':!0x0}),Object[_0x2f2878(0x2a9)](_0x3c16cf['prototype'],_0x2f2878(0x183),{'enumerable':!0x0});class _0x5acccb extends _0x2dab84{constructor(_0x5f12bf,_0x515ab9={}){super(_0x5f12bf),this[_0x14cc45]=_0x515ab9['error']===void 0x0?null:_0x515ab9['error'],this[_0x395fd2]=_0x515ab9['message']===void 0x0?'':_0x515ab9['message'];}get[_0x2f2878(0x20e)](){return this[_0x14cc45];}get[_0x2f2878(0x28a)](){return this[_0x395fd2];}}Object[_0x2f2878(0x2a9)](_0x5acccb[_0x2f2878(0x259)],'error',{'enumerable':!0x0}),Object[_0x2f2878(0x2a9)](_0x5acccb['prototype'],_0x2f2878(0x28a),{'enumerable':!0x0});class _0x325b8c extends _0x2dab84{constructor(_0x10d545,_0x1195b5={}){const _0x3faab5=_0x2f2878;super(_0x10d545),this[_0xbd5ad8]=_0x1195b5[_0x3faab5(0x1e7)]===void 0x0?null:_0x1195b5[_0x3faab5(0x1e7)];}get[_0x2f2878(0x1e7)](){return this[_0xbd5ad8];}}Object[_0x2f2878(0x2a9)](_0x325b8c[_0x2f2878(0x259)],_0x2f2878(0x1e7),{'enumerable':!0x0}),xe={'CloseEvent':_0x3c16cf,'ErrorEvent':_0x5acccb,'Event':_0x2dab84,'EventTarget':{'addEventListener'(_0xa0801c,_0x2bb81c,_0x152e75={}){const _0x1bb085=_0x2f2878;for(const _0x52c873 of this['listeners'](_0xa0801c))if(!_0x152e75[_0x54363b]&&_0x52c873[_0xf61bd9]===_0x2bb81c&&!_0x52c873[_0x54363b])return;let _0x483534;if(_0xa0801c===_0x1bb085(0x28a))_0x483534=function(_0xa3842,_0x19dc9b){const _0x5deb4b=_0x1bb085,_0x198c05=new _0x325b8c(_0x5deb4b(0x28a),{'data':_0x19dc9b?_0xa3842:_0xa3842[_0x5deb4b(0x2be)]()});_0x198c05[_0x31d4b2]=this,_0x3d66a1(_0x2bb81c,this,_0x198c05);};else{if(_0xa0801c===_0x1bb085(0x260))_0x483534=function(_0x39ec3d,_0x394146){const _0x338f3a=_0x1bb085,_0x8c918f=new _0x3c16cf(_0x338f3a(0x260),{'code':_0x39ec3d,'reason':_0x394146[_0x338f3a(0x2be)](),'wasClean':this[_0x338f3a(0x1c1)]&&this[_0x338f3a(0x290)]});_0x8c918f[_0x31d4b2]=this,_0x3d66a1(_0x2bb81c,this,_0x8c918f);};else{if(_0xa0801c==='error')_0x483534=function(_0x3f92ea){const _0x563a2c=_0x1bb085,_0x27e21a=new _0x5acccb(_0x563a2c(0x20e),{'error':_0x3f92ea,'message':_0x3f92ea['message']});_0x27e21a[_0x31d4b2]=this,_0x3d66a1(_0x2bb81c,this,_0x27e21a);};else{if(_0xa0801c===_0x1bb085(0x285))_0x483534=function(){const _0x41c91d=_0x1bb085,_0x318a14=new _0x2dab84(_0x41c91d(0x285));_0x318a14[_0x31d4b2]=this,_0x3d66a1(_0x2bb81c,this,_0x318a14);};else return;}}}_0x483534[_0x54363b]=!!_0x152e75[_0x54363b],_0x483534[_0xf61bd9]=_0x2bb81c,_0x152e75[_0x1bb085(0x2d5)]?this[_0x1bb085(0x2d5)](_0xa0801c,_0x483534):this['on'](_0xa0801c,_0x483534);},'removeEventListener'(_0x13edcc,_0x451d78){const _0x1b4635=_0x2f2878;for(const _0x143abd of this[_0x1b4635(0x180)](_0x13edcc))if(_0x143abd[_0xf61bd9]===_0x451d78&&!_0x143abd[_0x54363b]){this['removeListener'](_0x13edcc,_0x143abd);break;}}},'MessageEvent':_0x325b8c};function _0x3d66a1(_0x43a9fc,_0x521773,_0x3ba573){const _0x4b2432=_0x2f2878;typeof _0x43a9fc==_0x4b2432(0x2c5)&&_0x43a9fc[_0x4b2432(0x1d3)]?_0x43a9fc[_0x4b2432(0x1d3)][_0x4b2432(0x194)](_0x43a9fc,_0x3ba573):_0x43a9fc[_0x4b2432(0x194)](_0x521773,_0x3ba573);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x24e3b9}=ae();function _0x4dfc70(_0x5c16d1,_0x4233ce,_0x19bd55){_0x5c16d1[_0x4233ce]===void 0x0?_0x5c16d1[_0x4233ce]=[_0x19bd55]:_0x5c16d1[_0x4233ce]['push'](_0x19bd55);}function _0x247c15(_0x48e5ca){const _0x406faa=_0x30df,_0x4ba915=Object[_0x406faa(0x1be)](null);let _0xb462cd=Object[_0x406faa(0x1be)](null),_0x555dfc=!0x1,_0x5b26f8=!0x1,_0x234512=!0x1,_0x29f42b,_0x50d98d,_0x14e0b4=-0x1,_0x4e5b56=-0x1,_0xf77980=-0x1,_0x446708=0x0;for(;_0x446708<_0x48e5ca[_0x406faa(0x1f2)];_0x446708++)if(_0x4e5b56=_0x48e5ca[_0x406faa(0x2a0)](_0x446708),_0x29f42b===void 0x0){if(_0xf77980===-0x1&&_0x24e3b9[_0x4e5b56]===0x1)_0x14e0b4===-0x1&&(_0x14e0b4=_0x446708);else{if(_0x446708!==0x0&&(_0x4e5b56===0x20||_0x4e5b56===0x9))_0xf77980===-0x1&&_0x14e0b4!==-0x1&&(_0xf77980=_0x446708);else{if(_0x4e5b56===0x3b||_0x4e5b56===0x2c){if(_0x14e0b4===-0x1)throw new SyntaxError(_0x406faa(0x2cd)+_0x446708);_0xf77980===-0x1&&(_0xf77980=_0x446708);const _0x444ebc=_0x48e5ca[_0x406faa(0x172)](_0x14e0b4,_0xf77980);_0x4e5b56===0x2c?(_0x4dfc70(_0x4ba915,_0x444ebc,_0xb462cd),_0xb462cd=Object[_0x406faa(0x1be)](null)):_0x29f42b=_0x444ebc,_0x14e0b4=_0xf77980=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x446708);}}}else{if(_0x50d98d===void 0x0){if(_0xf77980===-0x1&&_0x24e3b9[_0x4e5b56]===0x1)_0x14e0b4===-0x1&&(_0x14e0b4=_0x446708);else{if(_0x4e5b56===0x20||_0x4e5b56===0x9)_0xf77980===-0x1&&_0x14e0b4!==-0x1&&(_0xf77980=_0x446708);else{if(_0x4e5b56===0x3b||_0x4e5b56===0x2c){if(_0x14e0b4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x446708);_0xf77980===-0x1&&(_0xf77980=_0x446708),_0x4dfc70(_0xb462cd,_0x48e5ca[_0x406faa(0x172)](_0x14e0b4,_0xf77980),!0x0),_0x4e5b56===0x2c&&(_0x4dfc70(_0x4ba915,_0x29f42b,_0xb462cd),_0xb462cd=Object[_0x406faa(0x1be)](null),_0x29f42b=void 0x0),_0x14e0b4=_0xf77980=-0x1;}else{if(_0x4e5b56===0x3d&&_0x14e0b4!==-0x1&&_0xf77980===-0x1)_0x50d98d=_0x48e5ca[_0x406faa(0x172)](_0x14e0b4,_0x446708),_0x14e0b4=_0xf77980=-0x1;else throw new SyntaxError(_0x406faa(0x2cd)+_0x446708);}}}}else{if(_0x5b26f8){if(_0x24e3b9[_0x4e5b56]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x446708);_0x14e0b4===-0x1?_0x14e0b4=_0x446708:_0x555dfc||(_0x555dfc=!0x0),_0x5b26f8=!0x1;}else{if(_0x234512){if(_0x24e3b9[_0x4e5b56]===0x1)_0x14e0b4===-0x1&&(_0x14e0b4=_0x446708);else{if(_0x4e5b56===0x22&&_0x14e0b4!==-0x1)_0x234512=!0x1,_0xf77980=_0x446708;else{if(_0x4e5b56===0x5c)_0x5b26f8=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x446708);}}}else{if(_0x4e5b56===0x22&&_0x48e5ca['charCodeAt'](_0x446708-0x1)===0x3d)_0x234512=!0x0;else{if(_0xf77980===-0x1&&_0x24e3b9[_0x4e5b56]===0x1)_0x14e0b4===-0x1&&(_0x14e0b4=_0x446708);else{if(_0x14e0b4!==-0x1&&(_0x4e5b56===0x20||_0x4e5b56===0x9))_0xf77980===-0x1&&(_0xf77980=_0x446708);else{if(_0x4e5b56===0x3b||_0x4e5b56===0x2c){if(_0x14e0b4===-0x1)throw new SyntaxError(_0x406faa(0x2cd)+_0x446708);_0xf77980===-0x1&&(_0xf77980=_0x446708);let _0x120a2=_0x48e5ca[_0x406faa(0x172)](_0x14e0b4,_0xf77980);_0x555dfc&&(_0x120a2=_0x120a2[_0x406faa(0x214)](/\\/g,''),_0x555dfc=!0x1),_0x4dfc70(_0xb462cd,_0x50d98d,_0x120a2),_0x4e5b56===0x2c&&(_0x4dfc70(_0x4ba915,_0x29f42b,_0xb462cd),_0xb462cd=Object[_0x406faa(0x1be)](null),_0x29f42b=void 0x0),_0x50d98d=void 0x0,_0x14e0b4=_0xf77980=-0x1;}else throw new SyntaxError(_0x406faa(0x2cd)+_0x446708);}}}}}}}if(_0x14e0b4===-0x1||_0x234512||_0x4e5b56===0x20||_0x4e5b56===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0xf77980===-0x1&&(_0xf77980=_0x446708);const _0x3b7694=_0x48e5ca[_0x406faa(0x172)](_0x14e0b4,_0xf77980);return _0x29f42b===void 0x0?_0x4dfc70(_0x4ba915,_0x3b7694,_0xb462cd):(_0x50d98d===void 0x0?_0x4dfc70(_0xb462cd,_0x3b7694,!0x0):_0x555dfc?_0x4dfc70(_0xb462cd,_0x50d98d,_0x3b7694[_0x406faa(0x214)](/\\/g,'')):_0x4dfc70(_0xb462cd,_0x50d98d,_0x3b7694),_0x4dfc70(_0x4ba915,_0x29f42b,_0xb462cd)),_0x4ba915;}function _0x454cec(_0x677a84){const _0x3a5d91=_0x30df;return Object[_0x3a5d91(0x148)](_0x677a84)[_0x3a5d91(0x2ac)](_0x256486=>{const _0x315da2=_0x3a5d91;let _0x336ae0=_0x677a84[_0x256486];return Array['isArray'](_0x336ae0)||(_0x336ae0=[_0x336ae0]),_0x336ae0[_0x315da2(0x2ac)](_0x1004d1=>[_0x256486][_0x315da2(0x20b)](Object[_0x315da2(0x148)](_0x1004d1)[_0x315da2(0x2ac)](_0x32dc75=>{const _0x47a10a=_0x315da2;let _0x158d8a=_0x1004d1[_0x32dc75];return Array[_0x47a10a(0x19b)](_0x158d8a)||(_0x158d8a=[_0x158d8a]),_0x158d8a[_0x47a10a(0x2ac)](_0x2c3b8e=>_0x2c3b8e===!0x0?_0x32dc75:_0x32dc75+'='+_0x2c3b8e)[_0x47a10a(0x21e)](';\x20');}))[_0x315da2(0x21e)](';\x20'))[_0x315da2(0x21e)](',\x20');})[_0x3a5d91(0x21e)](',\x20');}return be={'format':_0x454cec,'parse':_0x247c15},be;}var we,Je;function Pe(){const _0x10564a=_0x340af6;if(Je)return we;Je=0x1;const _0x5b2180=nt,_0x3fc3db=vt,_0x44409f=ot,_0x4fcc1e=St,_0x558d3f=Et,{randomBytes:_0x28f0b0,createHash:_0x455204}=Le,{Duplex:_0x316555,Readable:_0x257c17}=oe,{URL:_0x2e7417}=xt,_0x3db451=he(),_0x57f3e5=lt(),_0x80ab79=ft(),{isBlob:_0x3dc442}=ae(),{BINARY_TYPES:_0x2024cc,EMPTY_BUFFER:_0x270379,GUID:_0x125a77,kForOnEventAttribute:_0x1ad20b,kListener:_0x52bc57,kStatusCode:_0x5bfb0f,kWebSocket:_0x31b5a7,NOOP:_0x2efbf6}=H(),{EventTarget:{addEventListener:_0x20e769,removeEventListener:_0x4cb704}}=It(),{format:_0x294666,parse:_0x354aa9}=ct(),{toBuffer:_0x1d88c9}=ce(),_0xae407b=0x1e*0x3e8,_0x368cc1=Symbol(_0x10564a(0x249)),_0x23e7c4=[0x8,0xd],_0x257f98=[_0x10564a(0x11d),_0x10564a(0x13a),_0x10564a(0x171),_0x10564a(0x17b)],_0x17d1b5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xec242e extends _0x5b2180{constructor(_0x38715f,_0x51c11b,_0xad1db9){const _0x2a6f49=_0x10564a;super(),this[_0x2a6f49(0x274)]=_0x2024cc[0x0],this[_0x2a6f49(0x227)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x2a6f49(0x18f)]=_0x270379,this[_0x2a6f49(0x1dd)]=null,this[_0x2a6f49(0x265)]=!0x1,this[_0x2a6f49(0x1e1)]={},this[_0x2a6f49(0x1b2)]=!0x1,this[_0x2a6f49(0x1af)]='',this[_0x2a6f49(0x1e3)]=_0xec242e[_0x2a6f49(0x11d)],this['_receiver']=null,this[_0x2a6f49(0x29f)]=null,this[_0x2a6f49(0x1e4)]=null,_0x38715f!==null?(this[_0x2a6f49(0x27e)]=0x0,this[_0x2a6f49(0x295)]=!0x1,this[_0x2a6f49(0x147)]=0x0,_0x51c11b===void 0x0?_0x51c11b=[]:Array[_0x2a6f49(0x19b)](_0x51c11b)||(typeof _0x51c11b=='object'&&_0x51c11b!==null?(_0xad1db9=_0x51c11b,_0x51c11b=[]):_0x51c11b=[_0x51c11b]),_0x50a865(this,_0x38715f,_0x51c11b,_0xad1db9)):(this[_0x2a6f49(0x2b2)]=_0xad1db9[_0x2a6f49(0x197)],this[_0x2a6f49(0x295)]=!0x0);}get[_0x10564a(0x209)](){return this['_binaryType'];}set[_0x10564a(0x209)](_0x177ea2){const _0x2596a0=_0x10564a;_0x2024cc[_0x2596a0(0x23d)](_0x177ea2)&&(this[_0x2596a0(0x274)]=_0x177ea2,this[_0x2596a0(0x292)]&&(this['_receiver'][_0x2596a0(0x274)]=_0x177ea2));}get['bufferedAmount'](){const _0x3fa384=_0x10564a;return this[_0x3fa384(0x1e4)]?this['_socket'][_0x3fa384(0x207)][_0x3fa384(0x1f2)]+this['_sender'][_0x3fa384(0x1e9)]:this['_bufferedAmount'];}get[_0x10564a(0x1d0)](){const _0x3d3be1=_0x10564a;return Object[_0x3d3be1(0x148)](this[_0x3d3be1(0x1e1)])['join']();}get['isPaused'](){return this['_paused'];}get[_0x10564a(0x146)](){return null;}get[_0x10564a(0x1eb)](){return null;}get[_0x10564a(0x1d2)](){return null;}get[_0x10564a(0x18a)](){return null;}get[_0x10564a(0x224)](){const _0x5666f3=_0x10564a;return this[_0x5666f3(0x1af)];}get[_0x10564a(0x13b)](){return this['_readyState'];}get[_0x10564a(0x2ca)](){const _0x45cf7a=_0x10564a;return this[_0x45cf7a(0x200)];}['setSocket'](_0x5e8e60,_0x214e3a,_0x3f51cb){const _0x2530f5=_0x10564a,_0x2d6cb5=new _0x57f3e5({'allowSynchronousEvents':_0x3f51cb[_0x2530f5(0x1a0)],'binaryType':this[_0x2530f5(0x209)],'extensions':this[_0x2530f5(0x1e1)],'isServer':this[_0x2530f5(0x295)],'maxPayload':_0x3f51cb[_0x2530f5(0x2b1)],'skipUTF8Validation':_0x3f51cb['skipUTF8Validation']}),_0x1b2e93=new _0x80ab79(_0x5e8e60,this['_extensions'],_0x3f51cb[_0x2530f5(0x1b9)]);this[_0x2530f5(0x292)]=_0x2d6cb5,this['_sender']=_0x1b2e93,this[_0x2530f5(0x1e4)]=_0x5e8e60,_0x2d6cb5[_0x31b5a7]=this,_0x1b2e93[_0x31b5a7]=this,_0x5e8e60[_0x31b5a7]=this,_0x2d6cb5['on'](_0x2530f5(0x135),_0x5b6e0f),_0x2d6cb5['on'](_0x2530f5(0x16c),_0x1eca11),_0x2d6cb5['on'](_0x2530f5(0x20e),_0x4930c8),_0x2d6cb5['on'](_0x2530f5(0x28a),_0x51a8ea),_0x2d6cb5['on'](_0x2530f5(0x163),_0xfd1056),_0x2d6cb5['on'](_0x2530f5(0x239),_0x2a6eb9),_0x1b2e93[_0x2530f5(0x1eb)]=_0x6ad38e,_0x5e8e60['setTimeout']&&_0x5e8e60[_0x2530f5(0x19f)](0x0),_0x5e8e60[_0x2530f5(0x283)]&&_0x5e8e60[_0x2530f5(0x283)](),_0x214e3a['length']>0x0&&_0x5e8e60[_0x2530f5(0x203)](_0x214e3a),_0x5e8e60['on'](_0x2530f5(0x260),_0x5a0aed),_0x5e8e60['on']('data',_0xa87a51),_0x5e8e60['on'](_0x2530f5(0x257),_0x2542d9),_0x5e8e60['on'](_0x2530f5(0x20e),_0x2b37eb),this[_0x2530f5(0x1e3)]=_0xec242e[_0x2530f5(0x13a)],this['emit']('open');}[_0x10564a(0x192)](){const _0x731e0e=_0x10564a;if(!this[_0x731e0e(0x1e4)]){this[_0x731e0e(0x1e3)]=_0xec242e['CLOSED'],this[_0x731e0e(0x184)]('close',this[_0x731e0e(0x227)],this[_0x731e0e(0x18f)]);return;}this['_extensions'][_0x3db451[_0x731e0e(0x213)]]&&this['_extensions'][_0x3db451[_0x731e0e(0x213)]][_0x731e0e(0x216)](),this['_receiver'][_0x731e0e(0x287)](),this[_0x731e0e(0x1e3)]=_0xec242e[_0x731e0e(0x17b)],this['emit']('close',this[_0x731e0e(0x227)],this[_0x731e0e(0x18f)]);}[_0x10564a(0x260)](_0x11760f,_0x431070){const _0x90d7b8=_0x10564a;if(this['readyState']!==_0xec242e[_0x90d7b8(0x17b)]){if(this[_0x90d7b8(0x13b)]===_0xec242e[_0x90d7b8(0x11d)]){_0x52665c(this,this[_0x90d7b8(0x14c)],_0x90d7b8(0x1e0));return;}if(this[_0x90d7b8(0x13b)]===_0xec242e[_0x90d7b8(0x171)]){this[_0x90d7b8(0x290)]&&(this[_0x90d7b8(0x1c1)]||this[_0x90d7b8(0x292)][_0x90d7b8(0x207)][_0x90d7b8(0x1f0)])&&this['_socket'][_0x90d7b8(0x257)]();return;}this[_0x90d7b8(0x1e3)]=_0xec242e[_0x90d7b8(0x171)],this[_0x90d7b8(0x29f)][_0x90d7b8(0x260)](_0x11760f,_0x431070,!this[_0x90d7b8(0x295)],_0xa094d2=>{const _0xdccae7=_0x90d7b8;_0xa094d2||(this[_0xdccae7(0x290)]=!0x0,(this[_0xdccae7(0x1c1)]||this[_0xdccae7(0x292)][_0xdccae7(0x207)][_0xdccae7(0x1f0)])&&this[_0xdccae7(0x1e4)]['end']());}),_0x4297ae(this);}}[_0x10564a(0x1c2)](){const _0x292e92=_0x10564a;this[_0x292e92(0x13b)]===_0xec242e['CONNECTING']||this[_0x292e92(0x13b)]===_0xec242e[_0x292e92(0x17b)]||(this['_paused']=!0x0,this[_0x292e92(0x1e4)][_0x292e92(0x1c2)]());}['ping'](_0x334810,_0x1782ae,_0x36a69a){const _0x5f1b46=_0x10564a;if(this[_0x5f1b46(0x13b)]===_0xec242e[_0x5f1b46(0x11d)])throw new Error(_0x5f1b46(0x231));if(typeof _0x334810=='function'?(_0x36a69a=_0x334810,_0x334810=_0x1782ae=void 0x0):typeof _0x1782ae==_0x5f1b46(0x201)&&(_0x36a69a=_0x1782ae,_0x1782ae=void 0x0),typeof _0x334810==_0x5f1b46(0x2af)&&(_0x334810=_0x334810[_0x5f1b46(0x2be)]()),this[_0x5f1b46(0x13b)]!==_0xec242e[_0x5f1b46(0x13a)]){_0x156519(this,_0x334810,_0x36a69a);return;}_0x1782ae===void 0x0&&(_0x1782ae=!this[_0x5f1b46(0x295)]),this[_0x5f1b46(0x29f)][_0x5f1b46(0x163)](_0x334810||_0x270379,_0x1782ae,_0x36a69a);}['pong'](_0x4d03c0,_0x39f2ac,_0x12261f){const _0x6474c3=_0x10564a;if(this[_0x6474c3(0x13b)]===_0xec242e['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4d03c0==_0x6474c3(0x201)?(_0x12261f=_0x4d03c0,_0x4d03c0=_0x39f2ac=void 0x0):typeof _0x39f2ac=='function'&&(_0x12261f=_0x39f2ac,_0x39f2ac=void 0x0),typeof _0x4d03c0==_0x6474c3(0x2af)&&(_0x4d03c0=_0x4d03c0['toString']()),this[_0x6474c3(0x13b)]!==_0xec242e['OPEN']){_0x156519(this,_0x4d03c0,_0x12261f);return;}_0x39f2ac===void 0x0&&(_0x39f2ac=!this[_0x6474c3(0x295)]),this[_0x6474c3(0x29f)][_0x6474c3(0x239)](_0x4d03c0||_0x270379,_0x39f2ac,_0x12261f);}[_0x10564a(0x244)](){const _0x481cf=_0x10564a;this['readyState']===_0xec242e[_0x481cf(0x11d)]||this['readyState']===_0xec242e[_0x481cf(0x17b)]||(this[_0x481cf(0x1b2)]=!0x1,this['_receiver']['_writableState'][_0x481cf(0x15e)]||this[_0x481cf(0x1e4)]['resume']());}[_0x10564a(0x162)](_0x2493c8,_0x5efb18,_0x1df068){const _0x37328f=_0x10564a;if(this[_0x37328f(0x13b)]===_0xec242e[_0x37328f(0x11d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5efb18==_0x37328f(0x201)&&(_0x1df068=_0x5efb18,_0x5efb18={}),typeof _0x2493c8==_0x37328f(0x2af)&&(_0x2493c8=_0x2493c8[_0x37328f(0x2be)]()),this[_0x37328f(0x13b)]!==_0xec242e[_0x37328f(0x13a)]){_0x156519(this,_0x2493c8,_0x1df068);return;}const _0x3ea19c={'binary':typeof _0x2493c8!=_0x37328f(0x299),'mask':!this[_0x37328f(0x295)],'compress':!0x0,'fin':!0x0,..._0x5efb18};this[_0x37328f(0x1e1)][_0x3db451['extensionName']]||(_0x3ea19c['compress']=!0x1),this[_0x37328f(0x29f)]['send'](_0x2493c8||_0x270379,_0x3ea19c,_0x1df068);}[_0x10564a(0x169)](){const _0x3ec956=_0x10564a;if(this[_0x3ec956(0x13b)]!==_0xec242e[_0x3ec956(0x17b)]){if(this[_0x3ec956(0x13b)]===_0xec242e[_0x3ec956(0x11d)]){_0x52665c(this,this['_req'],_0x3ec956(0x1e0));return;}this[_0x3ec956(0x1e4)]&&(this['_readyState']=_0xec242e[_0x3ec956(0x171)],this[_0x3ec956(0x1e4)][_0x3ec956(0x26e)]());}}}Object[_0x10564a(0x2a9)](_0xec242e,_0x10564a(0x11d),{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x11d))}),Object[_0x10564a(0x2a9)](_0xec242e['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x11d))}),Object[_0x10564a(0x2a9)](_0xec242e,_0x10564a(0x13a),{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)]('OPEN')}),Object[_0x10564a(0x2a9)](_0xec242e['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x13a))}),Object[_0x10564a(0x2a9)](_0xec242e,'CLOSING',{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x171))}),Object[_0x10564a(0x2a9)](_0xec242e['prototype'],_0x10564a(0x171),{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x171))}),Object[_0x10564a(0x2a9)](_0xec242e,'CLOSED',{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)]('CLOSED')}),Object['defineProperty'](_0xec242e['prototype'],_0x10564a(0x17b),{'enumerable':!0x0,'value':_0x257f98[_0x10564a(0x2bb)](_0x10564a(0x17b))}),[_0x10564a(0x209),_0x10564a(0x10b),_0x10564a(0x1d0),_0x10564a(0x14d),_0x10564a(0x224),_0x10564a(0x13b),_0x10564a(0x2ca)][_0x10564a(0x1e6)](_0x3fe004=>{const _0x44b629=_0x10564a;Object[_0x44b629(0x2a9)](_0xec242e[_0x44b629(0x259)],_0x3fe004,{'enumerable':!0x0});}),['open',_0x10564a(0x20e),_0x10564a(0x260),_0x10564a(0x28a)][_0x10564a(0x1e6)](_0x32543c=>{Object['defineProperty'](_0xec242e['prototype'],'on'+_0x32543c,{'enumerable':!0x0,'get'(){for(const _0x4cf379 of this['listeners'](_0x32543c))if(_0x4cf379[_0x1ad20b])return _0x4cf379[_0x52bc57];return null;},'set'(_0x2cc561){const _0x4743c1=_0x30df;for(const _0x57d065 of this[_0x4743c1(0x180)](_0x32543c))if(_0x57d065[_0x1ad20b]){this['removeListener'](_0x32543c,_0x57d065);break;}typeof _0x2cc561==_0x4743c1(0x201)&&this['addEventListener'](_0x32543c,_0x2cc561,{[_0x1ad20b]:!0x0});}});}),_0xec242e['prototype'][_0x10564a(0x2cc)]=_0x20e769,_0xec242e['prototype'][_0x10564a(0x153)]=_0x4cb704,we=_0xec242e;function _0x50a865(_0x5a72f1,_0x52a737,_0xed3032,_0x4114e7){const _0x3dc008=_0x10564a,_0x53213f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x23e7c4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4114e7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3dc008(0x1a9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5a72f1[_0x3dc008(0x2b2)]=_0x53213f[_0x3dc008(0x197)],!_0x23e7c4[_0x3dc008(0x23d)](_0x53213f['protocolVersion']))throw new RangeError(_0x3dc008(0x15c)+_0x53213f[_0x3dc008(0x126)]+'\x20(supported\x20versions:\x20'+_0x23e7c4[_0x3dc008(0x21e)](',\x20')+')');let _0x21ab8b;if(_0x52a737 instanceof _0x2e7417)_0x21ab8b=_0x52a737;else try{_0x21ab8b=new _0x2e7417(_0x52a737);}catch{throw new SyntaxError(_0x3dc008(0x2d4)+_0x52a737);}_0x21ab8b[_0x3dc008(0x224)]===_0x3dc008(0x27f)?_0x21ab8b[_0x3dc008(0x224)]=_0x3dc008(0x1d5):_0x21ab8b[_0x3dc008(0x224)]===_0x3dc008(0x1a6)&&(_0x21ab8b[_0x3dc008(0x224)]='wss:'),_0x5a72f1[_0x3dc008(0x200)]=_0x21ab8b[_0x3dc008(0x1ed)];const _0x304f5f=_0x21ab8b[_0x3dc008(0x224)]==='wss:',_0x5e1908=_0x21ab8b[_0x3dc008(0x224)]===_0x3dc008(0x1d6);let _0x379037;if(_0x21ab8b[_0x3dc008(0x224)]!=='ws:'&&!_0x304f5f&&!_0x5e1908?_0x379037='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':_0x5e1908&&!_0x21ab8b[_0x3dc008(0x14e)]?_0x379037=_0x3dc008(0x2aa):_0x21ab8b[_0x3dc008(0x294)]&&(_0x379037='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x379037){const _0x5aeb3b=new SyntaxError(_0x379037);if(_0x5a72f1[_0x3dc008(0x147)]===0x0)throw _0x5aeb3b;_0x483b7f(_0x5a72f1,_0x5aeb3b);return;}const _0x3f1631=_0x304f5f?0x1bb:0x50,_0x36525b=_0x28f0b0(0x10)['toString'](_0x3dc008(0x28f)),_0x58ea13=_0x304f5f?_0x3fc3db[_0x3dc008(0x2a1)]:_0x44409f[_0x3dc008(0x2a1)],_0x42463b=new Set();let _0x1ccf92;if(_0x53213f[_0x3dc008(0x110)]=_0x53213f['createConnection']||(_0x304f5f?_0x4f4212:_0x53a587),_0x53213f[_0x3dc008(0x13c)]=_0x53213f[_0x3dc008(0x13c)]||_0x3f1631,_0x53213f[_0x3dc008(0x17d)]=_0x21ab8b[_0x3dc008(0x17d)]||_0x3f1631,_0x53213f['host']=_0x21ab8b[_0x3dc008(0x2d3)][_0x3dc008(0x2cb)]('[')?_0x21ab8b[_0x3dc008(0x2d3)][_0x3dc008(0x172)](0x1,-0x1):_0x21ab8b['hostname'],_0x53213f[_0x3dc008(0x2c8)]={..._0x53213f['headers'],'Sec-WebSocket-Version':_0x53213f[_0x3dc008(0x126)],'Sec-WebSocket-Key':_0x36525b,'Connection':'Upgrade','Upgrade':_0x3dc008(0x10c)},_0x53213f['path']=_0x21ab8b[_0x3dc008(0x14e)]+_0x21ab8b[_0x3dc008(0x1a1)],_0x53213f['timeout']=_0x53213f[_0x3dc008(0x1da)],_0x53213f[_0x3dc008(0x253)]&&(_0x1ccf92=new _0x3db451(_0x53213f[_0x3dc008(0x253)]!==!0x0?_0x53213f[_0x3dc008(0x253)]:{},!0x1,_0x53213f[_0x3dc008(0x2b1)]),_0x53213f['headers'][_0x3dc008(0x22d)]=_0x294666({[_0x3db451[_0x3dc008(0x213)]]:_0x1ccf92['offer']()})),_0xed3032[_0x3dc008(0x1f2)]){for(const _0x367588 of _0xed3032){if(typeof _0x367588!='string'||!_0x17d1b5[_0x3dc008(0x1ee)](_0x367588)||_0x42463b[_0x3dc008(0x271)](_0x367588))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x42463b['add'](_0x367588);}_0x53213f['headers'][_0x3dc008(0x23e)]=_0xed3032[_0x3dc008(0x21e)](',');}if(_0x53213f['origin']&&(_0x53213f[_0x3dc008(0x126)]<0xd?_0x53213f[_0x3dc008(0x2c8)][_0x3dc008(0x119)]=_0x53213f[_0x3dc008(0x17a)]:_0x53213f[_0x3dc008(0x2c8)][_0x3dc008(0x1d8)]=_0x53213f[_0x3dc008(0x17a)]),(_0x21ab8b[_0x3dc008(0x1cc)]||_0x21ab8b[_0x3dc008(0x26c)])&&(_0x53213f['auth']=_0x21ab8b[_0x3dc008(0x1cc)]+':'+_0x21ab8b[_0x3dc008(0x26c)]),_0x5e1908){const _0x2c524c=_0x53213f[_0x3dc008(0x284)]['split'](':');_0x53213f[_0x3dc008(0x138)]=_0x2c524c[0x0],_0x53213f['path']=_0x2c524c[0x1];}let _0x3b94de;if(_0x53213f[_0x3dc008(0x139)]){if(_0x5a72f1[_0x3dc008(0x147)]===0x0){_0x5a72f1[_0x3dc008(0x1fc)]=_0x5e1908,_0x5a72f1['_originalSecure']=_0x304f5f,_0x5a72f1['_originalHostOrSocketPath']=_0x5e1908?_0x53213f[_0x3dc008(0x138)]:_0x21ab8b[_0x3dc008(0x233)];const _0x2d3f97=_0x4114e7&&_0x4114e7[_0x3dc008(0x2c8)];if(_0x4114e7={..._0x4114e7,'headers':{}},_0x2d3f97){for(const [_0x2d1b71,_0x3070cb]of Object[_0x3dc008(0x16a)](_0x2d3f97))_0x4114e7[_0x3dc008(0x2c8)][_0x2d1b71[_0x3dc008(0x205)]()]=_0x3070cb;}}else{if(_0x5a72f1[_0x3dc008(0x25f)](_0x3dc008(0x27c))===0x0){const _0x5a762c=_0x5e1908?_0x5a72f1['_originalIpc']?_0x53213f[_0x3dc008(0x138)]===_0x5a72f1['_originalHostOrSocketPath']:!0x1:_0x5a72f1['_originalIpc']?!0x1:_0x21ab8b[_0x3dc008(0x233)]===_0x5a72f1[_0x3dc008(0x1a8)];(!_0x5a762c||_0x5a72f1['_originalSecure']&&!_0x304f5f)&&(delete _0x53213f[_0x3dc008(0x2c8)][_0x3dc008(0x1ea)],delete _0x53213f[_0x3dc008(0x2c8)][_0x3dc008(0x2ba)],_0x5a762c||delete _0x53213f[_0x3dc008(0x2c8)]['host'],_0x53213f['auth']=void 0x0);}}_0x53213f[_0x3dc008(0x2b9)]&&!_0x4114e7['headers'][_0x3dc008(0x1ea)]&&(_0x4114e7[_0x3dc008(0x2c8)][_0x3dc008(0x1ea)]=_0x3dc008(0x272)+Buffer[_0x3dc008(0x22c)](_0x53213f[_0x3dc008(0x2b9)])[_0x3dc008(0x2be)](_0x3dc008(0x28f))),_0x3b94de=_0x5a72f1[_0x3dc008(0x14c)]=_0x58ea13(_0x53213f),_0x5a72f1[_0x3dc008(0x147)]&&_0x5a72f1[_0x3dc008(0x184)]('redirect',_0x5a72f1['url'],_0x3b94de);}else _0x3b94de=_0x5a72f1[_0x3dc008(0x14c)]=_0x58ea13(_0x53213f);_0x53213f['timeout']&&_0x3b94de['on'](_0x3dc008(0x2d1),()=>{const _0x599916=_0x3dc008;_0x52665c(_0x5a72f1,_0x3b94de,_0x599916(0x2bf));}),_0x3b94de['on']('error',_0x2c1b4b=>{_0x3b94de===null||_0x3b94de[_0x368cc1]||(_0x3b94de=_0x5a72f1['_req']=null,_0x483b7f(_0x5a72f1,_0x2c1b4b));}),_0x3b94de['on'](_0x3dc008(0x13e),_0xdb9e6e=>{const _0x2e3917=_0x3dc008,_0x55ed5b=_0xdb9e6e[_0x2e3917(0x2c8)][_0x2e3917(0x282)],_0x922ed1=_0xdb9e6e[_0x2e3917(0x132)];if(_0x55ed5b&&_0x53213f[_0x2e3917(0x139)]&&_0x922ed1>=0x12c&&_0x922ed1<0x190){if(++_0x5a72f1[_0x2e3917(0x147)]>_0x53213f['maxRedirects']){_0x52665c(_0x5a72f1,_0x3b94de,_0x2e3917(0x19a));return;}_0x3b94de[_0x2e3917(0x286)]();let _0x4b7c15;try{_0x4b7c15=new _0x2e7417(_0x55ed5b,_0x52a737);}catch{const _0x152fe6=new SyntaxError(_0x2e3917(0x2d4)+_0x55ed5b);_0x483b7f(_0x5a72f1,_0x152fe6);return;}_0x50a865(_0x5a72f1,_0x4b7c15,_0xed3032,_0x4114e7);}else _0x5a72f1['emit'](_0x2e3917(0x1a7),_0x3b94de,_0xdb9e6e)||_0x52665c(_0x5a72f1,_0x3b94de,_0x2e3917(0x155)+_0xdb9e6e[_0x2e3917(0x132)]);}),_0x3b94de['on'](_0x3dc008(0x18d),(_0x716790,_0x463d23,_0x3144fa)=>{const _0x3fa203=_0x3dc008;if(_0x5a72f1[_0x3fa203(0x184)](_0x3fa203(0x18d),_0x716790),_0x5a72f1[_0x3fa203(0x13b)]!==_0xec242e[_0x3fa203(0x11d)])return;_0x3b94de=_0x5a72f1[_0x3fa203(0x14c)]=null;const _0x201287=_0x716790[_0x3fa203(0x2c8)][_0x3fa203(0x18d)];if(_0x201287===void 0x0||_0x201287[_0x3fa203(0x205)]()!==_0x3fa203(0x10c)){_0x52665c(_0x5a72f1,_0x463d23,'Invalid\x20Upgrade\x20header');return;}const _0xed9842=_0x455204(_0x3fa203(0x2c4))[_0x3fa203(0x1b7)](_0x36525b+_0x125a77)[_0x3fa203(0x11a)](_0x3fa203(0x28f));if(_0x716790[_0x3fa203(0x2c8)]['sec-websocket-accept']!==_0xed9842){_0x52665c(_0x5a72f1,_0x463d23,_0x3fa203(0x159));return;}const _0x47ab9f=_0x716790['headers'][_0x3fa203(0x2c7)];let _0x1a1307;if(_0x47ab9f!==void 0x0?_0x42463b[_0x3fa203(0x223)]?_0x42463b[_0x3fa203(0x271)](_0x47ab9f)||(_0x1a1307=_0x3fa203(0x150)):_0x1a1307=_0x3fa203(0x113):_0x42463b[_0x3fa203(0x223)]&&(_0x1a1307='Server\x20sent\x20no\x20subprotocol'),_0x1a1307){_0x52665c(_0x5a72f1,_0x463d23,_0x1a1307);return;}_0x47ab9f&&(_0x5a72f1[_0x3fa203(0x1af)]=_0x47ab9f);const _0x36a6ac=_0x716790['headers'][_0x3fa203(0x2d0)];if(_0x36a6ac!==void 0x0){if(!_0x1ccf92){_0x52665c(_0x5a72f1,_0x463d23,_0x3fa203(0x25b));return;}let _0x30797e;try{_0x30797e=_0x354aa9(_0x36a6ac);}catch{_0x52665c(_0x5a72f1,_0x463d23,_0x3fa203(0x165));return;}const _0x11a7a3=Object[_0x3fa203(0x148)](_0x30797e);if(_0x11a7a3[_0x3fa203(0x1f2)]!==0x1||_0x11a7a3[0x0]!==_0x3db451[_0x3fa203(0x213)]){_0x52665c(_0x5a72f1,_0x463d23,_0x3fa203(0x182));return;}try{_0x1ccf92[_0x3fa203(0x250)](_0x30797e[_0x3db451['extensionName']]);}catch{_0x52665c(_0x5a72f1,_0x463d23,_0x3fa203(0x165));return;}_0x5a72f1[_0x3fa203(0x1e1)][_0x3db451[_0x3fa203(0x213)]]=_0x1ccf92;}_0x5a72f1['setSocket'](_0x463d23,_0x3144fa,{'allowSynchronousEvents':_0x53213f['allowSynchronousEvents'],'generateMask':_0x53213f[_0x3fa203(0x1b9)],'maxPayload':_0x53213f[_0x3fa203(0x2b1)],'skipUTF8Validation':_0x53213f['skipUTF8Validation']});}),_0x53213f['finishRequest']?_0x53213f[_0x3dc008(0x246)](_0x3b94de,_0x5a72f1):_0x3b94de[_0x3dc008(0x257)]();}function _0x483b7f(_0x1e405a,_0x58131f){const _0x3d6fb4=_0x10564a;_0x1e405a[_0x3d6fb4(0x1e3)]=_0xec242e['CLOSING'],_0x1e405a[_0x3d6fb4(0x265)]=!0x0,_0x1e405a['emit']('error',_0x58131f),_0x1e405a[_0x3d6fb4(0x192)]();}function _0x53a587(_0x58ee18){const _0x32b849=_0x10564a;return _0x58ee18[_0x32b849(0x284)]=_0x58ee18[_0x32b849(0x138)],_0x4fcc1e[_0x32b849(0x2a2)](_0x58ee18);}function _0x4f4212(_0x2c4831){const _0x4bc1f1=_0x10564a;return _0x2c4831[_0x4bc1f1(0x284)]=void 0x0,!_0x2c4831[_0x4bc1f1(0x1aa)]&&_0x2c4831['servername']!==''&&(_0x2c4831[_0x4bc1f1(0x1aa)]=_0x4fcc1e[_0x4bc1f1(0x111)](_0x2c4831['host'])?'':_0x2c4831[_0x4bc1f1(0x233)]),_0x558d3f['connect'](_0x2c4831);}function _0x52665c(_0x1d783d,_0x2b8e1e,_0x3e3d7e){const _0x3d3f82=_0x10564a;_0x1d783d['_readyState']=_0xec242e[_0x3d3f82(0x171)];const _0x974ae5=new Error(_0x3e3d7e);Error[_0x3d3f82(0x245)](_0x974ae5,_0x52665c),_0x2b8e1e[_0x3d3f82(0x18e)]?(_0x2b8e1e[_0x368cc1]=!0x0,_0x2b8e1e[_0x3d3f82(0x286)](),_0x2b8e1e['socket']&&!_0x2b8e1e['socket'][_0x3d3f82(0x1bf)]&&_0x2b8e1e[_0x3d3f82(0x1c6)][_0x3d3f82(0x26e)](),process[_0x3d3f82(0x1ef)](_0x483b7f,_0x1d783d,_0x974ae5)):(_0x2b8e1e[_0x3d3f82(0x26e)](_0x974ae5),_0x2b8e1e['once'](_0x3d3f82(0x20e),_0x1d783d[_0x3d3f82(0x184)][_0x3d3f82(0x1d7)](_0x1d783d,'error')),_0x2b8e1e[_0x3d3f82(0x2d5)]('close',_0x1d783d[_0x3d3f82(0x192)]['bind'](_0x1d783d)));}function _0x156519(_0x361d7a,_0xaeb48,_0xdacecf){const _0x1fccee=_0x10564a;if(_0xaeb48){const _0x1d8183=_0x3dc442(_0xaeb48)?_0xaeb48[_0x1fccee(0x223)]:_0x1d88c9(_0xaeb48)['length'];_0x361d7a['_socket']?_0x361d7a[_0x1fccee(0x29f)][_0x1fccee(0x1e9)]+=_0x1d8183:_0x361d7a[_0x1fccee(0x27e)]+=_0x1d8183;}if(_0xdacecf){const _0x1831f5=new Error(_0x1fccee(0x16f)+_0x361d7a['readyState']+'\x20('+_0x257f98[_0x361d7a[_0x1fccee(0x13b)]]+')');process[_0x1fccee(0x1ef)](_0xdacecf,_0x1831f5);}}function _0x5b6e0f(_0x167dcd,_0x191b87){const _0x3c5b59=_0x10564a,_0x50fb34=this[_0x31b5a7];_0x50fb34[_0x3c5b59(0x1c1)]=!0x0,_0x50fb34[_0x3c5b59(0x18f)]=_0x191b87,_0x50fb34[_0x3c5b59(0x227)]=_0x167dcd,_0x50fb34[_0x3c5b59(0x1e4)][_0x31b5a7]!==void 0x0&&(_0x50fb34[_0x3c5b59(0x1e4)][_0x3c5b59(0x1fe)](_0x3c5b59(0x1e7),_0xa87a51),process[_0x3c5b59(0x1ef)](_0x5d2df6,_0x50fb34[_0x3c5b59(0x1e4)]),_0x167dcd===0x3ed?_0x50fb34['close']():_0x50fb34[_0x3c5b59(0x260)](_0x167dcd,_0x191b87));}function _0x1eca11(){const _0x3897be=_0x10564a,_0x24a08d=this[_0x31b5a7];_0x24a08d[_0x3897be(0x14d)]||_0x24a08d['_socket'][_0x3897be(0x244)]();}function _0x4930c8(_0x1172e0){const _0x564972=_0x10564a,_0x4ee6e9=this[_0x31b5a7];_0x4ee6e9[_0x564972(0x1e4)][_0x31b5a7]!==void 0x0&&(_0x4ee6e9[_0x564972(0x1e4)][_0x564972(0x1fe)]('data',_0xa87a51),process['nextTick'](_0x5d2df6,_0x4ee6e9[_0x564972(0x1e4)]),_0x4ee6e9[_0x564972(0x260)](_0x1172e0[_0x5bfb0f])),_0x4ee6e9[_0x564972(0x265)]||(_0x4ee6e9[_0x564972(0x265)]=!0x0,_0x4ee6e9['emit'](_0x564972(0x20e),_0x1172e0));}function _0x5434e8(){const _0x172c8f=_0x10564a;this[_0x31b5a7][_0x172c8f(0x192)]();}function _0x51a8ea(_0x3e81c4,_0x1370ba){const _0x4687b5=_0x10564a;this[_0x31b5a7]['emit'](_0x4687b5(0x28a),_0x3e81c4,_0x1370ba);}function _0xfd1056(_0x351a91){const _0x547015=_0x10564a,_0x9506ab=this[_0x31b5a7];_0x9506ab[_0x547015(0x2b2)]&&_0x9506ab[_0x547015(0x239)](_0x351a91,!this[_0x547015(0x295)],_0x2efbf6),_0x9506ab[_0x547015(0x184)](_0x547015(0x163),_0x351a91);}function _0x2a6eb9(_0x1be010){const _0x15b0f8=_0x10564a;this[_0x31b5a7][_0x15b0f8(0x184)](_0x15b0f8(0x239),_0x1be010);}function _0x5d2df6(_0x42e2c8){_0x42e2c8['resume']();}function _0x6ad38e(_0x225f51){const _0x34b027=_0x10564a,_0x283450=this[_0x31b5a7];_0x283450[_0x34b027(0x13b)]!==_0xec242e[_0x34b027(0x17b)]&&(_0x283450['readyState']===_0xec242e[_0x34b027(0x13a)]&&(_0x283450[_0x34b027(0x1e3)]=_0xec242e[_0x34b027(0x171)],_0x4297ae(_0x283450)),this[_0x34b027(0x1e4)][_0x34b027(0x257)](),_0x283450[_0x34b027(0x265)]||(_0x283450['_errorEmitted']=!0x0,_0x283450['emit']('error',_0x225f51)));}function _0x4297ae(_0x297341){const _0x10e539=_0x10564a;_0x297341['_closeTimer']=setTimeout(_0x297341[_0x10e539(0x1e4)]['destroy'][_0x10e539(0x1d7)](_0x297341[_0x10e539(0x1e4)]),_0xae407b);}function _0x5a0aed(){const _0x530431=_0x10564a,_0x1db950=this[_0x31b5a7];this[_0x530431(0x1fe)](_0x530431(0x260),_0x5a0aed),this['removeListener'](_0x530431(0x1e7),_0xa87a51),this['removeListener'](_0x530431(0x257),_0x2542d9),_0x1db950[_0x530431(0x1e3)]=_0xec242e[_0x530431(0x171)];let _0x49ee72;!this[_0x530431(0x15b)][_0x530431(0x149)]&&!_0x1db950[_0x530431(0x1c1)]&&!_0x1db950[_0x530431(0x292)]['_writableState'][_0x530431(0x1f0)]&&(_0x49ee72=_0x1db950[_0x530431(0x1e4)]['read']())!==null&&_0x1db950[_0x530431(0x292)][_0x530431(0x228)](_0x49ee72),_0x1db950[_0x530431(0x292)]['end'](),this[_0x31b5a7]=void 0x0,clearTimeout(_0x1db950[_0x530431(0x1dd)]),_0x1db950[_0x530431(0x292)][_0x530431(0x207)][_0x530431(0x261)]||_0x1db950[_0x530431(0x292)][_0x530431(0x207)][_0x530431(0x1f0)]?_0x1db950[_0x530431(0x192)]():(_0x1db950[_0x530431(0x292)]['on']('error',_0x5434e8),_0x1db950['_receiver']['on'](_0x530431(0x134),_0x5434e8));}function _0xa87a51(_0x5d1094){const _0x2ab54c=_0x10564a;this[_0x31b5a7][_0x2ab54c(0x292)]['write'](_0x5d1094)||this[_0x2ab54c(0x1c2)]();}function _0x2542d9(){const _0x1bc355=_0x10564a,_0x4b6b2a=this[_0x31b5a7];_0x4b6b2a['_readyState']=_0xec242e[_0x1bc355(0x171)],_0x4b6b2a[_0x1bc355(0x292)][_0x1bc355(0x257)](),this[_0x1bc355(0x257)]();}function _0x2b37eb(){const _0x33bd6f=_0x10564a,_0x3e6518=this[_0x31b5a7];this['removeListener'](_0x33bd6f(0x20e),_0x2b37eb),this['on'](_0x33bd6f(0x20e),_0x2efbf6),_0x3e6518&&(_0x3e6518[_0x33bd6f(0x1e3)]=_0xec242e[_0x33bd6f(0x171)],this[_0x33bd6f(0x26e)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xa8e25}=oe;function _0x4391e7(_0xb30345){const _0x33648e=_0x30df;_0xb30345['emit'](_0x33648e(0x260));}function _0x13b265(){const _0x3de6df=_0x30df;!this[_0x3de6df(0x1bf)]&&this[_0x3de6df(0x207)][_0x3de6df(0x261)]&&this['destroy']();}function _0x53387a(_0x40e6d7){const _0x5b77a9=_0x30df;this[_0x5b77a9(0x1fe)](_0x5b77a9(0x20e),_0x53387a),this[_0x5b77a9(0x26e)](),this[_0x5b77a9(0x25f)](_0x5b77a9(0x20e))===0x0&&this[_0x5b77a9(0x184)]('error',_0x40e6d7);}function _0x36009e(_0x38b6eb,_0x1d384f){const _0x22e649=_0x30df;let _0x4068bc=!0x0;const _0x1321bf=new _0xa8e25({..._0x1d384f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x38b6eb['on']('message',function(_0x47fa96,_0x14e72f){const _0x356092=_0x30df,_0x3170f0=!_0x14e72f&&_0x1321bf[_0x356092(0x15b)][_0x356092(0x24d)]?_0x47fa96['toString']():_0x47fa96;_0x1321bf[_0x356092(0x2b5)](_0x3170f0)||_0x38b6eb[_0x356092(0x1c2)]();}),_0x38b6eb[_0x22e649(0x2d5)](_0x22e649(0x20e),function(_0x48cb89){const _0x10cff6=_0x22e649;_0x1321bf[_0x10cff6(0x1bf)]||(_0x4068bc=!0x1,_0x1321bf[_0x10cff6(0x26e)](_0x48cb89));}),_0x38b6eb['once'](_0x22e649(0x260),function(){const _0x389562=_0x22e649;_0x1321bf[_0x389562(0x1bf)]||_0x1321bf[_0x389562(0x2b5)](null);}),_0x1321bf[_0x22e649(0x256)]=function(_0x5b3e03,_0x2ea979){const _0xd0a18b=_0x22e649;if(_0x38b6eb[_0xd0a18b(0x13b)]===_0x38b6eb[_0xd0a18b(0x17b)]){_0x2ea979(_0x5b3e03),process[_0xd0a18b(0x1ef)](_0x4391e7,_0x1321bf);return;}let _0x564c48=!0x1;_0x38b6eb['once']('error',function(_0xdaa78f){_0x564c48=!0x0,_0x2ea979(_0xdaa78f);}),_0x38b6eb['once'](_0xd0a18b(0x260),function(){_0x564c48||_0x2ea979(_0x5b3e03),process['nextTick'](_0x4391e7,_0x1321bf);}),_0x4068bc&&_0x38b6eb[_0xd0a18b(0x169)]();},_0x1321bf[_0x22e649(0x16e)]=function(_0x3c14b1){const _0x54354f=_0x22e649;if(_0x38b6eb[_0x54354f(0x13b)]===_0x38b6eb['CONNECTING']){_0x38b6eb[_0x54354f(0x2d5)](_0x54354f(0x285),function(){_0x1321bf['_final'](_0x3c14b1);});return;}_0x38b6eb[_0x54354f(0x1e4)]!==null&&(_0x38b6eb['_socket'][_0x54354f(0x207)][_0x54354f(0x261)]?(_0x3c14b1(),_0x1321bf[_0x54354f(0x15b)][_0x54354f(0x149)]&&_0x1321bf[_0x54354f(0x26e)]()):(_0x38b6eb[_0x54354f(0x1e4)]['once'](_0x54354f(0x134),function(){_0x3c14b1();}),_0x38b6eb[_0x54354f(0x260)]()));},_0x1321bf['_read']=function(){const _0x5e1923=_0x22e649;_0x38b6eb[_0x5e1923(0x14d)]&&_0x38b6eb[_0x5e1923(0x244)]();},_0x1321bf[_0x22e649(0x2d2)]=function(_0x2cb868,_0x4e3561,_0x26edbd){const _0x1789bd=_0x22e649;if(_0x38b6eb[_0x1789bd(0x13b)]===_0x38b6eb[_0x1789bd(0x11d)]){_0x38b6eb[_0x1789bd(0x2d5)]('open',function(){const _0x4a3a5e=_0x1789bd;_0x1321bf[_0x4a3a5e(0x2d2)](_0x2cb868,_0x4e3561,_0x26edbd);});return;}_0x38b6eb[_0x1789bd(0x162)](_0x2cb868,_0x26edbd);},_0x1321bf['on'](_0x22e649(0x257),_0x13b265),_0x1321bf['on']('error',_0x53387a),_0x1321bf;}return Oe=_0x36009e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x21edf6}=ae();function _0x15cda4(_0x49cf05){const _0x3c3a77=_0x30df,_0x34ccbe=new Set();let _0x5f21c8=-0x1,_0x18888b=-0x1,_0x470fc2=0x0;for(_0x470fc2;_0x470fc2<_0x49cf05['length'];_0x470fc2++){const _0x1016d2=_0x49cf05['charCodeAt'](_0x470fc2);if(_0x18888b===-0x1&&_0x21edf6[_0x1016d2]===0x1)_0x5f21c8===-0x1&&(_0x5f21c8=_0x470fc2);else{if(_0x470fc2!==0x0&&(_0x1016d2===0x20||_0x1016d2===0x9))_0x18888b===-0x1&&_0x5f21c8!==-0x1&&(_0x18888b=_0x470fc2);else{if(_0x1016d2===0x2c){if(_0x5f21c8===-0x1)throw new SyntaxError(_0x3c3a77(0x2cd)+_0x470fc2);_0x18888b===-0x1&&(_0x18888b=_0x470fc2);const _0x3bf181=_0x49cf05[_0x3c3a77(0x172)](_0x5f21c8,_0x18888b);if(_0x34ccbe[_0x3c3a77(0x271)](_0x3bf181))throw new SyntaxError('The\x20\x22'+_0x3bf181+'\x22\x20subprotocol\x20is\x20duplicated');_0x34ccbe[_0x3c3a77(0x1df)](_0x3bf181),_0x5f21c8=_0x18888b=-0x1;}else throw new SyntaxError(_0x3c3a77(0x2cd)+_0x470fc2);}}}if(_0x5f21c8===-0x1||_0x18888b!==-0x1)throw new SyntaxError(_0x3c3a77(0x26f));const _0x1d834d=_0x49cf05[_0x3c3a77(0x172)](_0x5f21c8,_0x470fc2);if(_0x34ccbe[_0x3c3a77(0x271)](_0x1d834d))throw new SyntaxError(_0x3c3a77(0x275)+_0x1d834d+'\x22\x20subprotocol\x20is\x20duplicated');return _0x34ccbe[_0x3c3a77(0x1df)](_0x1d834d),_0x34ccbe;}return Ce={'parse':_0x15cda4},Ce;}var Te,rt;function Ft(){const _0x29dcb2=_0x340af6;if(rt)return Te;rt=0x1;const _0x37887b=nt,_0x2b57a5=ot,{Duplex:_0x27002f}=oe,{createHash:_0x34ede1}=Le,_0x14567a=ct(),_0x32ec47=he(),_0xd91e0a=At(),_0x56d7b8=Pe(),{GUID:_0x3d0fca,kWebSocket:_0x293a4e}=H(),_0x336c32=/^[+/0-9A-Za-z]{22}==$/,_0xee9e01=0x0,_0x59734c=0x1,_0x3d49d6=0x2;class _0x3fa9a0 extends _0x37887b{constructor(_0x5c661c,_0x4e76b3){const _0x3fa194=_0x30df;if(super(),_0x5c661c={'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':_0x56d7b8,..._0x5c661c},_0x5c661c[_0x3fa194(0x17d)]==null&&!_0x5c661c[_0x3fa194(0x17c)]&&!_0x5c661c[_0x3fa194(0x141)]||_0x5c661c[_0x3fa194(0x17d)]!=null&&(_0x5c661c[_0x3fa194(0x17c)]||_0x5c661c[_0x3fa194(0x141)])||_0x5c661c[_0x3fa194(0x17c)]&&_0x5c661c[_0x3fa194(0x141)])throw new TypeError(_0x3fa194(0x29b));if(_0x5c661c[_0x3fa194(0x17d)]!=null?(this[_0x3fa194(0x23c)]=_0x2b57a5[_0x3fa194(0x156)]((_0x1364f3,_0x363b33)=>{const _0x277a25=_0x3fa194,_0x3fad11=_0x2b57a5[_0x277a25(0x1ad)][0x1aa];_0x363b33[_0x277a25(0x17e)](0x1aa,{'Content-Length':_0x3fad11[_0x277a25(0x1f2)],'Content-Type':_0x277a25(0x297)}),_0x363b33['end'](_0x3fad11);}),this[_0x3fa194(0x23c)]['listen'](_0x5c661c['port'],_0x5c661c[_0x3fa194(0x233)],_0x5c661c['backlog'],_0x4e76b3)):_0x5c661c[_0x3fa194(0x17c)]&&(this['_server']=_0x5c661c[_0x3fa194(0x17c)]),this[_0x3fa194(0x23c)]){const _0x288c3d=this['emit'][_0x3fa194(0x1d7)](this,_0x3fa194(0x131));this[_0x3fa194(0x24c)]=_0x2553d5(this[_0x3fa194(0x23c)],{'listening':this[_0x3fa194(0x184)]['bind'](this,_0x3fa194(0x206)),'error':this[_0x3fa194(0x184)][_0x3fa194(0x1d7)](this,_0x3fa194(0x20e)),'upgrade':(_0x20c2d4,_0x192a24,_0x7d90f3)=>{const _0x345b16=_0x3fa194;this[_0x345b16(0x14f)](_0x20c2d4,_0x192a24,_0x7d90f3,_0x288c3d);}});}_0x5c661c[_0x3fa194(0x253)]===!0x0&&(_0x5c661c[_0x3fa194(0x253)]={}),_0x5c661c[_0x3fa194(0x1db)]&&(this[_0x3fa194(0x186)]=new Set(),this[_0x3fa194(0x26b)]=!0x1),this[_0x3fa194(0x252)]=_0x5c661c,this[_0x3fa194(0x28c)]=_0xee9e01;}[_0x29dcb2(0x16b)](){const _0x269723=_0x29dcb2;if(this['options']['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x269723(0x23c)][_0x269723(0x16b)]():null;}[_0x29dcb2(0x260)](_0x5bacc7){const _0x44a316=_0x29dcb2;if(this[_0x44a316(0x28c)]===_0x3d49d6){_0x5bacc7&&this[_0x44a316(0x2d5)](_0x44a316(0x260),()=>{_0x5bacc7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x44a316(0x1ef)](_0x105ce7,this);return;}if(_0x5bacc7&&this[_0x44a316(0x2d5)](_0x44a316(0x260),_0x5bacc7),this[_0x44a316(0x28c)]!==_0x59734c){if(this[_0x44a316(0x28c)]=_0x59734c,this[_0x44a316(0x252)][_0x44a316(0x141)]||this['options'][_0x44a316(0x17c)])this[_0x44a316(0x23c)]&&(this['_removeListeners'](),this[_0x44a316(0x24c)]=this[_0x44a316(0x23c)]=null),this[_0x44a316(0x186)]?this[_0x44a316(0x186)][_0x44a316(0x223)]?this[_0x44a316(0x26b)]=!0x0:process['nextTick'](_0x105ce7,this):process['nextTick'](_0x105ce7,this);else{const _0x3679c4=this[_0x44a316(0x23c)];this['_removeListeners'](),this['_removeListeners']=this[_0x44a316(0x23c)]=null,_0x3679c4[_0x44a316(0x260)](()=>{_0x105ce7(this);});}}}[_0x29dcb2(0x1a4)](_0x2599c7){const _0x24110a=_0x29dcb2;if(this[_0x24110a(0x252)][_0x24110a(0x284)]){const _0x204296=_0x2599c7[_0x24110a(0x2ca)][_0x24110a(0x2bb)]('?');if((_0x204296!==-0x1?_0x2599c7['url'][_0x24110a(0x172)](0x0,_0x204296):_0x2599c7['url'])!==this[_0x24110a(0x252)][_0x24110a(0x284)])return!0x1;}return!0x0;}[_0x29dcb2(0x14f)](_0x1aec84,_0x59af4d,_0x127d03,_0x15efa7){const _0x1462fc=_0x29dcb2;_0x59af4d['on'](_0x1462fc(0x20e),_0x25af12);const _0x59395c=_0x1aec84[_0x1462fc(0x2c8)][_0x1462fc(0x1e5)],_0x2325af=_0x1aec84[_0x1462fc(0x2c8)][_0x1462fc(0x18d)],_0x38cabb=+_0x1aec84[_0x1462fc(0x2c8)][_0x1462fc(0x230)];if(_0x1aec84['method']!==_0x1462fc(0x1a9)){_0x4fa73d(this,_0x1aec84,_0x59af4d,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2325af===void 0x0||_0x2325af[_0x1462fc(0x205)]()!==_0x1462fc(0x10c)){_0x4fa73d(this,_0x1aec84,_0x59af4d,0x190,_0x1462fc(0x2c2));return;}if(_0x59395c===void 0x0||!_0x336c32[_0x1462fc(0x1ee)](_0x59395c)){_0x4fa73d(this,_0x1aec84,_0x59af4d,0x190,_0x1462fc(0x220));return;}if(_0x38cabb!==0x8&&_0x38cabb!==0xd){_0x4fa73d(this,_0x1aec84,_0x59af4d,0x190,_0x1462fc(0x136));return;}if(!this['shouldHandle'](_0x1aec84)){_0x5a9033(_0x59af4d,0x190);return;}const _0xcbe259=_0x1aec84[_0x1462fc(0x2c8)]['sec-websocket-protocol'];let _0x2b95fa=new Set();if(_0xcbe259!==void 0x0)try{_0x2b95fa=_0xd91e0a['parse'](_0xcbe259);}catch{_0x4fa73d(this,_0x1aec84,_0x59af4d,0x190,_0x1462fc(0x1a3));return;}const _0x533eeb=_0x1aec84[_0x1462fc(0x2c8)]['sec-websocket-extensions'],_0x4bd33d={};if(this[_0x1462fc(0x252)][_0x1462fc(0x253)]&&_0x533eeb!==void 0x0){const _0x3d87da=new _0x32ec47(this[_0x1462fc(0x252)][_0x1462fc(0x253)],!0x0,this[_0x1462fc(0x252)]['maxPayload']);try{const _0x347349=_0x14567a[_0x1462fc(0x188)](_0x533eeb);_0x347349[_0x32ec47['extensionName']]&&(_0x3d87da[_0x1462fc(0x250)](_0x347349[_0x32ec47['extensionName']]),_0x4bd33d[_0x32ec47[_0x1462fc(0x213)]]=_0x3d87da);}catch{_0x4fa73d(this,_0x1aec84,_0x59af4d,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1462fc(0x252)][_0x1462fc(0x142)]){const _0x19fd7f={'origin':_0x1aec84['headers'][''+(_0x38cabb===0x8?_0x1462fc(0x11b):_0x1462fc(0x17a))],'secure':!!(_0x1aec84['socket'][_0x1462fc(0x262)]||_0x1aec84[_0x1462fc(0x1c6)][_0x1462fc(0x1ab)]),'req':_0x1aec84};if(this[_0x1462fc(0x252)][_0x1462fc(0x142)][_0x1462fc(0x1f2)]===0x2){this[_0x1462fc(0x252)][_0x1462fc(0x142)](_0x19fd7f,(_0x23e284,_0x548a16,_0x11f07a,_0x45e34e)=>{if(!_0x23e284)return _0x5a9033(_0x59af4d,_0x548a16||0x191,_0x11f07a,_0x45e34e);this['completeUpgrade'](_0x4bd33d,_0x59395c,_0x2b95fa,_0x1aec84,_0x59af4d,_0x127d03,_0x15efa7);});return;}if(!this[_0x1462fc(0x252)][_0x1462fc(0x142)](_0x19fd7f))return _0x5a9033(_0x59af4d,0x191);}this[_0x1462fc(0x2c3)](_0x4bd33d,_0x59395c,_0x2b95fa,_0x1aec84,_0x59af4d,_0x127d03,_0x15efa7);}[_0x29dcb2(0x2c3)](_0x4e67b4,_0x4f457f,_0x34ff4d,_0x4cbbad,_0x2e5c1c,_0xceba62,_0x525d52){const _0x16743e=_0x29dcb2;if(!_0x2e5c1c[_0x16743e(0x225)]||!_0x2e5c1c[_0x16743e(0x1a2)])return _0x2e5c1c[_0x16743e(0x26e)]();if(_0x2e5c1c[_0x293a4e])throw new Error(_0x16743e(0x10a));if(this[_0x16743e(0x28c)]>_0xee9e01)return _0x5a9033(_0x2e5c1c,0x1f7);const _0x1dddd1=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x16743e(0x2b7),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x34ede1('sha1')[_0x16743e(0x1b7)](_0x4f457f+_0x3d0fca)[_0x16743e(0x11a)](_0x16743e(0x28f))],_0x4b2e01=new this['options'][(_0x16743e(0x15a))](null,void 0x0,this[_0x16743e(0x252)]);if(_0x34ff4d['size']){const _0x1ea37e=this[_0x16743e(0x252)][_0x16743e(0x1ac)]?this[_0x16743e(0x252)]['handleProtocols'](_0x34ff4d,_0x4cbbad):_0x34ff4d[_0x16743e(0x115)]()['next']()['value'];_0x1ea37e&&(_0x1dddd1[_0x16743e(0x2b5)]('Sec-WebSocket-Protocol:\x20'+_0x1ea37e),_0x4b2e01[_0x16743e(0x1af)]=_0x1ea37e);}if(_0x4e67b4[_0x32ec47[_0x16743e(0x213)]]){const _0x9db657=_0x4e67b4[_0x32ec47[_0x16743e(0x213)]]['params'],_0x2f34ca=_0x14567a['format']({[_0x32ec47[_0x16743e(0x213)]]:[_0x9db657]});_0x1dddd1[_0x16743e(0x2b5)](_0x16743e(0x1a5)+_0x2f34ca),_0x4b2e01[_0x16743e(0x1e1)]=_0x4e67b4;}this[_0x16743e(0x184)]('headers',_0x1dddd1,_0x4cbbad),_0x2e5c1c['write'](_0x1dddd1[_0x16743e(0x20b)]('\x0d\x0a')[_0x16743e(0x21e)]('\x0d\x0a')),_0x2e5c1c[_0x16743e(0x1fe)]('error',_0x25af12),_0x4b2e01['setSocket'](_0x2e5c1c,_0xceba62,{'allowSynchronousEvents':this[_0x16743e(0x252)][_0x16743e(0x1a0)],'maxPayload':this['options'][_0x16743e(0x2b1)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x16743e(0x186)]&&(this[_0x16743e(0x186)]['add'](_0x4b2e01),_0x4b2e01['on'](_0x16743e(0x260),()=>{const _0x2d538b=_0x16743e;this[_0x2d538b(0x186)][_0x2d538b(0x11e)](_0x4b2e01),this[_0x2d538b(0x26b)]&&!this[_0x2d538b(0x186)][_0x2d538b(0x223)]&&process[_0x2d538b(0x1ef)](_0x105ce7,this);})),_0x525d52(_0x4b2e01,_0x4cbbad);}}Te=_0x3fa9a0;function _0x2553d5(_0x1e90b8,_0x46c763){const _0x48ba29=_0x29dcb2;for(const _0x1831a7 of Object[_0x48ba29(0x148)](_0x46c763))_0x1e90b8['on'](_0x1831a7,_0x46c763[_0x1831a7]);return function(){const _0x3366f9=_0x48ba29;for(const _0x4903eb of Object[_0x3366f9(0x148)](_0x46c763))_0x1e90b8['removeListener'](_0x4903eb,_0x46c763[_0x4903eb]);};}function _0x105ce7(_0x4bd084){const _0x49fbbd=_0x29dcb2;_0x4bd084[_0x49fbbd(0x28c)]=_0x3d49d6,_0x4bd084[_0x49fbbd(0x184)]('close');}function _0x25af12(){const _0x8a90a3=_0x29dcb2;this[_0x8a90a3(0x26e)]();}function _0x5a9033(_0x97b37b,_0x318b99,_0x29653d,_0x679825){const _0x1cc50e=_0x29dcb2;_0x29653d=_0x29653d||_0x2b57a5[_0x1cc50e(0x1ad)][_0x318b99],_0x679825={'Connection':_0x1cc50e(0x260),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x29653d),..._0x679825},_0x97b37b[_0x1cc50e(0x2d5)](_0x1cc50e(0x134),_0x97b37b[_0x1cc50e(0x26e)]),_0x97b37b[_0x1cc50e(0x257)](_0x1cc50e(0x1b1)+_0x318b99+'\x20'+_0x2b57a5[_0x1cc50e(0x1ad)][_0x318b99]+'\x0d\x0a'+Object['keys'](_0x679825)['map'](_0x3a18a5=>_0x3a18a5+':\x20'+_0x679825[_0x3a18a5])[_0x1cc50e(0x21e)]('\x0d\x0a')+_0x1cc50e(0x12f)+_0x29653d);}function _0x4fa73d(_0x3e929d,_0x40ac31,_0x44dc7b,_0x236334,_0x262a53){const _0x497f93=_0x29dcb2;if(_0x3e929d[_0x497f93(0x25f)](_0x497f93(0x21d))){const _0x4ef467=new Error(_0x262a53);Error[_0x497f93(0x245)](_0x4ef467,_0x4fa73d),_0x3e929d['emit'](_0x497f93(0x21d),_0x4ef467,_0x44dc7b,_0x40ac31);}else _0x5a9033(_0x44dc7b,_0x236334,_0x262a53);}return Te;}Ft();var jt=Object[_0x340af6(0x193)],Wt=(_0x22706d,_0x124678,_0x3e34fa,_0x5649b2)=>{for(var _0x471f99=_0x5649b2>0x1?void 0x0:_0x5649b2?jt(_0x124678,_0x3e34fa):_0x124678,_0x4e22c8=_0x22706d['length']-0x1,_0x507bd2;_0x4e22c8>=0x0;_0x4e22c8--)(_0x507bd2=_0x22706d[_0x4e22c8])&&(_0x471f99=_0x507bd2(_0x471f99)||_0x471f99);return _0x471f99;},qt=(_0x557d08,_0x1f7e59)=>(_0x4ebb8c,_0xe4113d)=>_0x1f7e59(_0x4ebb8c,_0xe4113d,_0x557d08);function _0x5853(){const _0x4ab64f=['\x22\x20must\x20have\x20only\x20a\x20single\x20value','kIsForOnEventAttribute','_decompress','from','Sec-WebSocket-Extensions','shift','_options','sec-websocket-version','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','blob','host','rsv1','kDone','nodebuffer','share','NodeCollaborationSocketService','pong','freeze','kRun','_server','includes','Sec-WebSocket-Protocol','Z_SYNC_FLUSH','frame','startLoop','getConfig','_threshold','resume','captureStackTrace','finishRequest','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','3252879WZZLsj','kAborted','60045IAcUch','byteLength','_removeListeners','objectMode','__esModule','serverNoContextTakeover','accept','writeUIntBE','options','perMessageDeflate','enqueue','serverMaxWindowBits','_destroy','end','_configService','prototype','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_opcode','binary','Invalid\x20WebSocket\x20frame:\x20','listenerCount','close','finished','authorized','pipe','isInteger','_errorEmitted','mask','_registerDependencies','getBlobData','alloc','readUInt16BE','_shouldEmitClose','password','acceptAsClient','destroy','Unexpected\x20end\x20of\x20input','WS_ERR_EXPECTED_FIN','has','Basic\x20','writeUInt16BE','_binaryType','The\x20\x22','kError','Module','_inflate','isValidUTF8','kListener','status-code','redirect','invalid\x20status\x20code\x20','_bufferedAmount','http:','consume','_mask','location','setNoDelay','path','open','abort','removeAllListeners','UniverCollaborationClientNodePlugin','_compressed','message','WS_NO_BUFFER_UTIL','_state','jobs','decompress','base64','_closeFrameSent','registerHTTPInterceptor','_receiver','params','hash','_isServer','env','text/plain','pending','string','WS_ERR_INVALID_UTF8','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','skipUTF8Validation','compress','_loop','_sender','charCodeAt','request','connect','http','kCode','unmask','invalid\x20UTF-8\x20sequence','concurrencyLimit','Max\x20payload\x20size\x20exceeded','defineProperty','The\x20URL\x27s\x20pathname\x20is\x20empty','@univerjs/network','map','createDeflateRaw','FIN\x20must\x20be\x20set','number','tls','maxPayload','_autoPong','getPayloadLength64','default','push','DependentOn','Upgrade:\x20websocket','fragments','auth','cookie','indexOf','client_max_window_bits','invalid\x20opcode\x200','toString','Opening\x20handshake\x20has\x20timed\x20out','_payloadLength','invalid\x20opcode\x20','Invalid\x20Upgrade\x20header','completeUpgrade','sha1','object','target','sec-websocket-protocol','headers','kType','url','startsWith','addEventListener','Unexpected\x20character\x20at\x20index\x20','controlMessage','WS_ERR_INVALID_CLOSE_CODE','sec-websocket-extensions','timeout','_write','hostname','Invalid\x20URL:\x20','once','68188qBMXYg','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','bufferedAmount','websocket','flush','https','sendFrame','createConnection','isIP','allocUnsafe','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','offer','values','kData','_generateMask','exports','Sec-WebSocket-Origin','digest','sec-websocket-origin','type','CONNECTING','delete','IConfigService','uncork','_no_context_takeover','dataMessage','Plugin','client_no_context_takeover','maskBuffer','protocolVersion','client','species','Observable','createError','_max_window_bits','_firstFragment','buffer','COLLABORATION_CLIENT_NODE_CONFIG_KEY','\x0d\x0a\x0d\x0a','net','connection','statusCode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','finish','conclude','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','createInflateRaw','socketPath','followRedirects','OPEN','readyState','defaultPort','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','response','registerDependencies','2611460KtKYPs','noServer','verifyClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','MASK\x20must\x20be\x20set','apply','onclose','_redirects','keys','endEmitted','WS_ERR_UNEXPECTED_MASK','Injector','_req','isPaused','pathname','handleUpgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','clientNoContextTakeover','invalid\x20payload\x20length\x20','removeEventListener','zlib','Unexpected\x20server\x20response:\x20','createServer','UniverCollaborationClientPlugin','CollaborationSocketService','Invalid\x20Sec-WebSocket-Accept\x20header','WebSocket','_readableState','Unsupported\x20protocol\x20version:\x20','zlibDeflateOptions','needDrain','reset','then','catch','send','ping','isServer','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','readOnly','terminate','entries','address','drain','Disposable','_final','WebSocket\x20is\x20not\x20open:\x20readyState\x20','stream','CLOSING','slice','createSocket','_doCreateSocket','set','dispatch','haveLength','748765bLPsTV','_allowSynchronousEvents','origin','CLOSED','server','port','writeHead','Inject','listeners','cork','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','wasClean','emit','_skipUTF8Validation','clients','onStarting','parse','WS_ERR_UNEXPECTED_RSV_1','onmessage','clientMaxWindowBits','dequeue','upgrade','setHeader','_closeMessage','isView','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','emitClose','getOwnPropertyDescriptor','call','_messageLength','code','autoPong','2WJsDyo','1011600lJTMNa','Maximum\x20redirects\x20exceeded','isArray','buffers','_queue','fin','setTimeout','allowSynchronousEvents','search','writable','Invalid\x20Sec-WebSocket-Protocol\x20header','shouldHandle','Sec-WebSocket-Extensions:\x20','https:','unexpected-response','_originalHostOrSocketPath','GET','servername','encrypted','handleProtocols','STATUS_CODES','arraybuffer','_protocol','getData','HTTP/1.1\x20','_paused','_fragmented','6oSBUIB','File','collaboration-client-node.config','update','warn','generateMask','pluginName','WS_ERR_UNEXPECTED_RSV_2_3','Z_DEFAULT_WINDOWBITS','kTarget','create','destroyed','DisposableCollection','_closeFrameReceived','pause','toDisposable','threshold','8QRUOkg','socket','ISocketService','get','_buffers','next','_totalPayloadLength','username','1018611XluDKP','hasOwnProperty','WS_ERR_EXPECTED_MASK','extensions','dispose','onopen','handleEvent','getMask','ws:','ws+unix:','bind','Origin','toStringTag','handshakeTimeout','clientTracking','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_closeTimer','WS_ERR_INVALID_OPCODE','add','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_extensions','callback','_readyState','_socket','sec-websocket-key','forEach','data','@univerjs/core','_bufferedBytes','authorization','onerror','_masked','href','test','nextTick','errorEmitted','Parameter\x20\x22','length','Unknown\x20parameter\x20\x22','rxjs','_compress','_fin','readUInt32BE','RSV1\x20must\x20be\x20clear','crypto','total-length','opcode','_originalIpc','_maskBuffer','removeListener','customHeaders','_url','function','_maxPayload','unshift','server_no_context_takeover','toLowerCase','listening','_writableState','zlibInflateOptions','binaryType','_errored','concat','construct','arrayBuffer','error','find','kMessage','_deflate','reason','extensionName','replace','byteOffset','cleanup','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_fragments','kWasClean','MASK\x20must\x20be\x20clear','kReason','HTTPService','wsClientError','join','server_max_window_bits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','permessage-deflate','pow','size','protocol','readable','\x22:\x20','_closeCode','write'];_0x5853=function(){return _0x4ab64f;};return _0x5853();}let ke=class extends A[_0x340af6(0x16d)]{constructor(_0x24cc4a){super(),this['_configService']=_0x24cc4a;}[_0x340af6(0x173)](_0x26c94d){const _0x357ded=_0x340af6;var _0x35db10;const _0x417d99=(_0x35db10=this[_0x357ded(0x258)][_0x357ded(0x242)](fe))==null?void 0x0:_0x35db10[_0x357ded(0x1ff)];try{const _0x5b74e5=new $t(_0x26c94d,{'headers':{..._0x417d99}}),_0x44d31c=new A[(_0x357ded(0x1c0))]();return{'URL':_0x26c94d,'close':(_0x3edb03,_0xfd688e)=>{const _0x4f4f38=_0x357ded;_0x5b74e5['close'](_0x3edb03,_0xfd688e),_0x44d31c[_0x4f4f38(0x1d1)]();},'send':_0x4ff960=>{_0x5b74e5['send'](_0x4ff960);},'open$':new V[(_0x357ded(0x129))](_0x4c8982=>{const _0x115b49=_0x357ded,_0x26c9d=_0x58fb6b=>_0x4c8982[_0x115b49(0x1ca)](_0x58fb6b);_0x5b74e5['addEventListener']('open',_0x26c9d),_0x44d31c[_0x115b49(0x1df)](A['toDisposable'](()=>_0x5b74e5[_0x115b49(0x153)](_0x115b49(0x285),_0x26c9d)));})[_0x357ded(0x263)](V[_0x357ded(0x237)]()),'close$':new V[(_0x357ded(0x129))](_0x553cb8=>{const _0x4d2f5f=_0x357ded,_0x591437=_0x2987a4=>_0x553cb8[_0x4d2f5f(0x1ca)](_0x2987a4);_0x5b74e5[_0x4d2f5f(0x2cc)](_0x4d2f5f(0x260),_0x591437),_0x44d31c[_0x4d2f5f(0x1df)](A[_0x4d2f5f(0x1c3)](()=>_0x5b74e5[_0x4d2f5f(0x153)]('close',_0x591437)));})['pipe'](V[_0x357ded(0x237)]()),'error$':new V[(_0x357ded(0x129))](_0x53ba6f=>{const _0x5a1186=_0x357ded,_0x29479a=_0x585cf5=>_0x53ba6f['next'](_0x585cf5);_0x5b74e5[_0x5a1186(0x2cc)](_0x5a1186(0x20e),_0x29479a),_0x44d31c[_0x5a1186(0x1df)](A[_0x5a1186(0x1c3)](()=>_0x5b74e5[_0x5a1186(0x153)](_0x5a1186(0x20e),_0x29479a)));})[_0x357ded(0x263)](V[_0x357ded(0x237)]()),'message$':new V[(_0x357ded(0x129))](_0x4f72b5=>{const _0x3b5085=_0x357ded,_0x21ad32=_0x166e7c=>_0x4f72b5['next'](_0x166e7c);_0x5b74e5['addEventListener'](_0x3b5085(0x28a),_0x21ad32),_0x44d31c[_0x3b5085(0x1df)](A[_0x3b5085(0x1c3)](()=>_0x5b74e5[_0x3b5085(0x153)](_0x3b5085(0x28a),_0x21ad32)));})[_0x357ded(0x263)](V['share']())};}catch(_0x43d2e9){return console[_0x357ded(0x20e)](_0x43d2e9),null;}}};ke=Wt([qt(0x0,A[_0x340af6(0x11f)])],ke);var Gt=Object[_0x340af6(0x2a9)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x49036f,_0x5c6645,_0xd30e31)=>_0x5c6645 in _0x49036f?Gt(_0x49036f,_0x5c6645,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd30e31}):_0x49036f[_0x5c6645]=_0xd30e31,zt=(_0x562fae,_0x169e8a,_0x1e4566,_0x206547)=>{const _0x88d629=_0x340af6;for(var _0x33604c=_0x206547>0x1?void 0x0:_0x206547?Vt(_0x169e8a,_0x1e4566):_0x169e8a,_0x1f2a05=_0x562fae[_0x88d629(0x1f2)]-0x1,_0x2c6633;_0x1f2a05>=0x0;_0x1f2a05--)(_0x2c6633=_0x562fae[_0x1f2a05])&&(_0x33604c=_0x2c6633(_0x33604c)||_0x33604c);return _0x33604c;},Ne=(_0x1849a2,_0x30e5bc)=>(_0xeb1113,_0x47f365)=>_0x30e5bc(_0xeb1113,_0x47f365,_0x1849a2),Yt=(_0x3f0fd2,_0x2c58be,_0x32fdba)=>Ht(_0x3f0fd2,_0x2c58be+'',_0x32fdba);function _0x30df(_0xf688cd,_0x3ecfc5){const _0x58537c=_0x5853();return _0x30df=function(_0x30dfd1,_0x49964d){_0x30dfd1=_0x30dfd1-0x109;let _0x1e7cf5=_0x58537c[_0x30dfd1];return _0x1e7cf5;},_0x30df(_0xf688cd,_0x3ecfc5);}exports[_0x340af6(0x288)]=class extends A[_0x340af6(0x123)]{constructor(_0x462ec0=Ct,_0x39d01b,_0x123669,_0xfe799e){const _0x5f221e=_0x340af6;_0x462ec0['customHeaders']||_0x39d01b[_0x5f221e(0x1b8)](_0x5f221e(0x133)),super(),this[_0x5f221e(0x258)]=_0x123669,this['_injector']=_0xfe799e,this['_configService']['setConfig'](fe,_0x462ec0);}[_0x340af6(0x187)](){const _0x509a6f=_0x340af6;this[_0x509a6f(0x267)]();}[_0x340af6(0x267)](){const _0x405807=_0x340af6;A[_0x405807(0x13f)](this['_injector'],[[it[_0x405807(0x1c7)],{'useClass':ke}]]);}},Yt(exports[_0x340af6(0x288)],_0x340af6(0x1ba),_0x340af6(0x217)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x340af6(0x2b6)](st[_0x340af6(0x157)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x340af6(0x11f)]),Ne(0x3,A[_0x340af6(0x17f)](A['Injector']))],exports[_0x340af6(0x288)]);var Kt=Object[_0x340af6(0x193)],Xt=(_0x26b82e,_0x174ca6,_0x4d3940,_0x2d7f5d)=>{const _0x212df=_0x340af6;for(var _0x29ad5e=_0x2d7f5d>0x1?void 0x0:_0x2d7f5d?Kt(_0x174ca6,_0x4d3940):_0x174ca6,_0x48cdba=_0x26b82e[_0x212df(0x1f2)]-0x1,_0x2d70f1;_0x48cdba>=0x0;_0x48cdba--)(_0x2d70f1=_0x26b82e[_0x48cdba])&&(_0x29ad5e=_0x2d70f1(_0x29ad5e)||_0x29ad5e);return _0x29ad5e;},ne=(_0x10946d,_0xea0595)=>(_0x2978eb,_0x2f2af2)=>_0xea0595(_0x2978eb,_0x2f2af2,_0x10946d);exports[_0x340af6(0x238)]=class extends st[_0x340af6(0x158)]{constructor(_0x355078,_0x59a224,_0x20cd3a,_0x2f12ca,_0x14904b){const _0x47fc2c=_0x340af6;super(_0x355078,_0x59a224,_0x20cd3a,_0x2f12ca,_0x14904b);const _0x2e1572=this[_0x47fc2c(0x258)][_0x47fc2c(0x242)](fe);this['_httpService'][_0x47fc2c(0x291)]({'interceptor':(_0xacc6f2,_0x2b30fa)=>{const _0x29c56f=_0x47fc2c;var _0x44cc55;const _0x512ab5=_0xacc6f2[_0x29c56f(0x2c8)];return(_0x44cc55=_0x2e1572==null?void 0x0:_0x2e1572[_0x29c56f(0x1ff)])!=null&&_0x44cc55[_0x29c56f(0x2ba)]&&_0x512ab5['set']('Cookie',_0x2e1572[_0x29c56f(0x1ff)][_0x29c56f(0x2ba)]),_0x2b30fa(_0xacc6f2);}});}async[_0x340af6(0x173)](_0x1fce72){const _0x4fd43a=_0x340af6;return this[_0x4fd43a(0x174)](_0x1fce72);}},exports[_0x340af6(0x238)]=Xt([ne(0x0,A[_0x340af6(0x17f)](A[_0x340af6(0x14b)])),ne(0x1,A[_0x340af6(0x17f)](it[_0x340af6(0x21c)])),ne(0x2,A[_0x340af6(0x11f)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x340af6(0x238)]),exports[_0x340af6(0x12e)]=fe;