@univerjs-pro/collaboration-client-node 0.9.2-nightly.202507141607 → 0.9.2-nightly.202507161608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xbb2108=_0x10c2;(function(_0x4d2f9c,_0x4273cf){const _0xeca673=_0x10c2,_0x306669=_0x4d2f9c();while(!![]){try{const _0x5a453a=-parseInt(_0xeca673(0x16e))/0x1*(parseInt(_0xeca673(0x204))/0x2)+-parseInt(_0xeca673(0x232))/0x3*(parseInt(_0xeca673(0x135))/0x4)+-parseInt(_0xeca673(0x1f5))/0x5+-parseInt(_0xeca673(0x13b))/0x6*(parseInt(_0xeca673(0x256))/0x7)+-parseInt(_0xeca673(0x248))/0x8*(parseInt(_0xeca673(0x1b6))/0x9)+parseInt(_0xeca673(0x1b0))/0xa+parseInt(_0xeca673(0x164))/0xb;if(_0x5a453a===_0x4273cf)break;else _0x306669['push'](_0x306669['shift']());}catch(_0x24cabf){_0x306669['push'](_0x306669['shift']());}}}(_0x5828,0x5eb8e));Object['defineProperty'](exports,Symbol[_0xbb2108(0x161)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xbb2108(0x1b1),Ct={'customHeaders':{}};function Tt(_0x219e95){const _0x391fca=_0xbb2108;return _0x219e95&&_0x219e95[_0x391fca(0x1ee)]&&Object['prototype'][_0x391fca(0x1d7)][_0x391fca(0x162)](_0x219e95,'default')?_0x219e95[_0x391fca(0x18b)]:_0x219e95;}function at(_0x4692d2){const _0x17cc51=_0xbb2108;if(Object[_0x17cc51(0x258)][_0x17cc51(0x1d7)][_0x17cc51(0x162)](_0x4692d2,_0x17cc51(0x1ee)))return _0x4692d2;var _0x507d54=_0x4692d2['default'];if(typeof _0x507d54==_0x17cc51(0x128)){var _0x3eeec5=function _0xcf27b3(){const _0x3f1843=_0x17cc51;return this instanceof _0xcf27b3?Reflect[_0x3f1843(0xe0)](_0x507d54,arguments,this['constructor']):_0x507d54[_0x3f1843(0xd1)](this,arguments);};_0x3eeec5['prototype']=_0x507d54[_0x17cc51(0x258)];}else _0x3eeec5={};return Object[_0x17cc51(0x20e)](_0x3eeec5,'__esModule',{'value':!0x0}),Object[_0x17cc51(0xd8)](_0x4692d2)[_0x17cc51(0x242)](function(_0x3a4ff5){var _0x452576=Object['getOwnPropertyDescriptor'](_0x4692d2,_0x3a4ff5);Object['defineProperty'](_0x3eeec5,_0x3a4ff5,_0x452576['get']?_0x452576:{'enumerable':!0x0,'get':function(){return _0x4692d2[_0x3a4ff5];}});}),_0x3eeec5;}var se={'exports':{}},ge,Ge;function H(){const _0x486966=_0xbb2108;if(Ge)return ge;Ge=0x1;const _0x22863f=[_0x486966(0x1d3),'arraybuffer',_0x486966(0x1d6)],_0x4202e5=typeof Blob<'u';return _0x4202e5&&_0x22863f[_0x486966(0x172)](_0x486966(0x13c)),ge={'BINARY_TYPES':_0x22863f,'EMPTY_BUFFER':Buffer[_0x486966(0x15d)](0x0),'GUID':_0x486966(0xe4),'hasBlob':_0x4202e5,'kForOnEventAttribute':Symbol(_0x486966(0x118)),'kListener':Symbol(_0x486966(0x127)),'kStatusCode':Symbol(_0x486966(0x1d8)),'kWebSocket':Symbol(_0x486966(0xa5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xbb2108(0x19f)](Object[_0xbb2108(0x20e)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0xbb2108(0x22e)})),Lt=at(kt);function _0x5828(){const _0x177d11=['buffer','Sec-WebSocket-Origin','writeUIntBE','emitClose','autoPong','params','captureStackTrace','\x22\x20subprotocol\x20is\x20duplicated','handleUpgrade','__esModule','acceptAsServer','getBlobData','ws:','isPaused','total-length','flush','3129910KJsqas','end','connect','isServer','removeAllListeners','sec-websocket-key','client','includes','isView','code','Observable','warn','clientMaxWindowBits','dequeue','_removeListeners','1000102DDQxcD','createError','allowSynchronousEvents','Invalid\x20Upgrade\x20header','nextTick','WS_NO_UTF_8_VALIDATE','uncork','Invalid\x20HTTP\x20method','listenerCount','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','defineProperty','_errored','auth','address','opcode','writable','concat','CLOSED','offer','share','_autoPong','replace','then','readUInt32BE','_bufferedAmount','removeListener','registerDependencies','join','UniverCollaborationClientPlugin','_socket','dispose','_closeMessage','MASK\x20must\x20be\x20clear','sendFrame','servername','_shouldEmitClose','kData','_doCreateSocket','_threshold','rsv1','charCodeAt','setNoDelay','Module','_no_context_takeover','dataMessage','readUInt16BE','1037181WBQncz','The\x20URL\x27s\x20pathname\x20is\x20empty','map','listening','wss:','cork','length','isValidUTF8','getPayloadLength16','wasClean','Z_DEFAULT_WINDOWBITS','mask','onmessage','close','_req','byteOffset','forEach','_server','Origin','reset','client_max_window_bits','Invalid\x20value\x20for\x20parameter\x20\x22','78328kYcsgj','unshift','digest','send','MASK\x20must\x20be\x20set','Max\x20payload\x20size\x20exceeded','_injector','port','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_bufferedBytes','Connection:\x20Upgrade','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20end\x20of\x20input','DependentOn','7kinazJ','generateMask','prototype','errorEmitted','string','Server\x20sent\x20an\x20invalid\x20subprotocol','readyState','WS_ERR_INVALID_OPCODE','completeUpgrade','statusCode','https:','websocket','resume','delete','frame','error','writeUInt16BE','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_INVALID_CLOSE_CODE','defaultPort','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','format','getOwnPropertyDescriptor','_mask','drain','_masked','readable','_deflate','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','target','_paused','kCode','\x22:\x20','entries','search','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','upgrade','concurrencyLimit','getData','threshold','WS_ERR_UNEXPECTED_RSV_2_3','_write','ping','pending','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','fin','sec-websocket-protocol','location','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Unknown\x20parameter\x20\x22','controlMessage','hostname','Disposable','kType','redirect','apply','bind','abort','destroy','_sender','Unsupported\x20protocol\x20version:\x20','accept','keys','toString','Upgrade:\x20websocket','OPEN','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shift','_buffers','socketPath','construct','headers','type','listen','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_extensions','_originalSecure','byteLength','_closeFrameReceived','server_no_context_takeover','buffers','cleanup','kWasClean','WS_ERR_UNEXPECTED_MASK','normalizeParams','kDone','HTTP/1.1\x20','cookie','finished','binaryType','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_compressed','RSV1\x20must\x20be\x20clear','sec-websocket-extensions','_configService','exports','_fragments','_url','enqueue','next','_loop','isInteger','Sec-WebSocket-Accept:\x20','sha1','NodeCollaborationSocketService','_options','Sec-WebSocket-Extensions:\x20','customHeaders','compress','_totalPayloadLength','getConfig','read','pause','setConfig','_maskBuffer','find','CONNECTING','getMask','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_readableState','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pathname','createSocket','url','base64','kIsForOnEventAttribute','_readyState','WS_NO_BUFFER_UTIL','toLowerCase','pow','kAborted','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','objectMode','write','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','env','value','request','catch','ISnapshotServerService','kListener','function','toDisposable','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','timeout','message','needDrain','arrayBuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Basic\x20','_httpService','_max_window_bits','wsClientError','add','8ZgUxvj','username','protocol','conclude','kRun','onclose','3412194duRIuZ','blob','invalid\x20opcode\x20','emit','_closeTimer','HTTPService','startsWith','Upgrade','handleProtocols','Inject','maxPayload','clientTracking','removeEventListener','server_max_window_bits','WebSocket','Invalid\x20URL:\x20','isArray','_final','onStarting','_fragmented','_originalHostOrSocketPath','The\x20server\x20is\x20not\x20running','STATUS_CODES','skipUTF8Validation','_decompress','_queue','permessage-deflate','backlog','_isServer','allocUnsafe','arraybuffer','finishRequest','from','Injector','alloc','createServer','indexOf','_destroy','toStringTag','call','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','25626755jJVazN','perMessageDeflate','UniverCollaborationClientNodePlugin','_state','split','Invalid\x20Sec-WebSocket-Extensions\x20header','CollaborationSocketService','destroyed','_originalIpc','once','1MPDhSH','pong','bufferedAmount','dispatch','push','path','verifyClient','_skipUTF8Validation','consume','pipe','_receiver','_messageLength','readOnly','IConfigService','WS_ERR_EXPECTED_MASK','has','unmask','Invalid\x20WebSocket\x20frame:\x20','clientNoContextTakeover','onerror','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','size','parse','invalid\x20status\x20code\x20','concurrency','endEmitted','addEventListener','update','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','default','listeners','authorization','noServer','GET','finish','kMessage','_maxPayload','_redirects','onopen','_inflate','_allowSynchronousEvents','zlibDeflateOptions','shouldHandle','Invalid\x20Sec-WebSocket-Protocol\x20header','test','_writableState','clients','object','text/plain','freeze','protocolVersion','writeHead','_errorEmitted','WS_ERR_UNEXPECTED_RSV_1','CLOSING','species','startLoop','jobs','client_no_context_takeover','href','open','_compress','acceptAsClient','_closeFrameSent','number','extensions','5325820ZeSCwO','collaboration-client-node.config','host','_firstFragment','serverMaxWindowBits','registerHTTPInterceptor','81eZrRdw','set','text/html','getInfo','options','ILogService','isBuffer','http:','terminate','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','setSocket','WS_ERR_EXPECTED_FIN','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_opcode','_fin','password','Unexpected\x20character\x20at\x20index\x20','socket','authorized','create','_protocol','extensionName','data','kError','Server\x20sent\x20no\x20subprotocol','slice','haveLength','reason','nodebuffer','\x20(supported\x20versions:\x20','ws+unix:','fragments','hasOwnProperty','status-code','_payloadLength','createConnection','_binaryType','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','origin','_generateMask','_closeCode','server','setTimeout','decompress','invalid\x20UTF-8\x20sequence','serverNoContextTakeover'];_0x5828=function(){return _0x177d11;};return _0x5828();}var Ve;function ce(){const _0x268b4f=_0xbb2108;if(Ve)return se[_0x268b4f(0xf9)];Ve=0x1;const {EMPTY_BUFFER:_0x14402c}=H(),_0x55642f=Buffer[Symbol[_0x268b4f(0x1a5)]];function _0x551bc2(_0x23de30,_0x2f19d6){const _0x439a84=_0x268b4f;if(_0x23de30[_0x439a84(0x238)]===0x0)return _0x14402c;if(_0x23de30[_0x439a84(0x238)]===0x1)return _0x23de30[0x0];const _0x33599c=Buffer[_0x439a84(0x158)](_0x2f19d6);let _0x2dc187=0x0;for(let _0x227d0e=0x0;_0x227d0e<_0x23de30[_0x439a84(0x238)];_0x227d0e++){const _0x3bb794=_0x23de30[_0x227d0e];_0x33599c[_0x439a84(0x1b7)](_0x3bb794,_0x2dc187),_0x2dc187+=_0x3bb794['length'];}return _0x2dc187<_0x2f19d6?new _0x55642f(_0x33599c['buffer'],_0x33599c['byteOffset'],_0x2dc187):_0x33599c;}function _0x5c7489(_0x5f114c,_0x239f30,_0x12db6f,_0x40c811,_0x12d06b){for(let _0x5c38ed=0x0;_0x5c38ed<_0x12d06b;_0x5c38ed++)_0x12db6f[_0x40c811+_0x5c38ed]=_0x5f114c[_0x5c38ed]^_0x239f30[_0x5c38ed&0x3];}function _0x12fb41(_0x52414c,_0x57a088){for(let _0x417560=0x0;_0x417560<_0x52414c['length'];_0x417560++)_0x52414c[_0x417560]^=_0x57a088[_0x417560&0x3];}function _0x460f17(_0x53fdc5){const _0xa5deac=_0x268b4f;return _0x53fdc5[_0xa5deac(0x238)]===_0x53fdc5[_0xa5deac(0x1e5)][_0xa5deac(0xe7)]?_0x53fdc5['buffer']:_0x53fdc5[_0xa5deac(0x1e5)][_0xa5deac(0x1d0)](_0x53fdc5['byteOffset'],_0x53fdc5[_0xa5deac(0x241)]+_0x53fdc5[_0xa5deac(0x238)]);}function _0x2ef6eb(_0x44cef3){const _0x1cb07a=_0x268b4f;if(_0x2ef6eb['readOnly']=!0x0,Buffer[_0x1cb07a(0x1bc)](_0x44cef3))return _0x44cef3;let _0x4d58aa;return _0x44cef3 instanceof ArrayBuffer?_0x4d58aa=new _0x55642f(_0x44cef3):ArrayBuffer[_0x1cb07a(0x1fd)](_0x44cef3)?_0x4d58aa=new _0x55642f(_0x44cef3[_0x1cb07a(0x1e5)],_0x44cef3[_0x1cb07a(0x241)],_0x44cef3[_0x1cb07a(0xe7)]):(_0x4d58aa=Buffer[_0x1cb07a(0x15b)](_0x44cef3),_0x2ef6eb[_0x1cb07a(0x17a)]=!0x1),_0x4d58aa;}if(se[_0x268b4f(0xf9)]={'concat':_0x551bc2,'mask':_0x5c7489,'toArrayBuffer':_0x460f17,'toBuffer':_0x2ef6eb,'unmask':_0x12fb41},!process[_0x268b4f(0x122)][_0x268b4f(0x11a)])try{const _0x2dc56e=Lt;se[_0x268b4f(0xf9)][_0x268b4f(0x23d)]=function(_0x3dd9dd,_0x57cedc,_0x49562f,_0x5f4399,_0x4a38e0){const _0x3d95b4=_0x268b4f;_0x4a38e0<0x30?_0x5c7489(_0x3dd9dd,_0x57cedc,_0x49562f,_0x5f4399,_0x4a38e0):_0x2dc56e[_0x3d95b4(0x23d)](_0x3dd9dd,_0x57cedc,_0x49562f,_0x5f4399,_0x4a38e0);},se[_0x268b4f(0xf9)][_0x268b4f(0x17e)]=function(_0x7cb30f,_0x5f28dd){_0x7cb30f['length']<0x20?_0x12fb41(_0x7cb30f,_0x5f28dd):_0x2dc56e['unmask'](_0x7cb30f,_0x5f28dd);};}catch{}return se[_0x268b4f(0xf9)];}var ye,He;function Pt(){const _0xe8b9b9=_0xbb2108;if(He)return ye;He=0x1;const _0x479669=Symbol(_0xe8b9b9(0xef)),_0x1e8dfb=Symbol(_0xe8b9b9(0x139));class _0x1f3dd6{constructor(_0x49b8b4){const _0x1a4195=_0xe8b9b9;this[_0x479669]=()=>{this['pending']--,this[_0x1e8dfb]();},this[_0x1a4195(0x186)]=_0x49b8b4||0x1/0x0,this['jobs']=[],this[_0x1a4195(0xc5)]=0x0;}['add'](_0x33cdef){const _0x5caf37=_0xe8b9b9;this[_0x5caf37(0x1a7)]['push'](_0x33cdef),this[_0x1e8dfb]();}[_0x1e8dfb](){const _0x876013=_0xe8b9b9;if(this[_0x876013(0xc5)]!==this['concurrency']&&this[_0x876013(0x1a7)][_0x876013(0x238)]){const _0x1fef96=this['jobs']['shift']();this[_0x876013(0xc5)]++,_0x1fef96(this[_0x479669]);}}}return ye=_0x1f3dd6,ye;}var ve,ze;function he(){const _0x23280b=_0xbb2108;if(ze)return ve;ze=0x1;const _0x4b0848=bt,_0x475f52=ce(),_0x10478f=Pt(),{kStatusCode:_0x11d5e6}=H(),_0x4fdc42=Buffer[Symbol[_0x23280b(0x1a5)]],_0x57a977=Buffer[_0x23280b(0x15b)]([0x0,0x0,0xff,0xff]),_0x4005c3=Symbol(_0x23280b(0x155)),_0x558fcf=Symbol(_0x23280b(0x1f3)),_0x5c91df=Symbol('callback'),_0x1fd7f3=Symbol(_0x23280b(0xea)),_0x3c6ab8=Symbol(_0x23280b(0xa9));let _0x276b51;class _0x155072{constructor(_0x34fee0,_0x13f6cd,_0x55e139){const _0x57ccb4=_0x23280b;if(this[_0x57ccb4(0x192)]=_0x55e139|0x0,this['_options']=_0x34fee0||{},this[_0x57ccb4(0x22a)]=this['_options'][_0x57ccb4(0xc1)]!==void 0x0?this[_0x57ccb4(0x103)]['threshold']:0x400,this['_isServer']=!!_0x13f6cd,this[_0x57ccb4(0xb5)]=null,this[_0x57ccb4(0x195)]=null,this[_0x57ccb4(0x1ea)]=null,!_0x276b51){const _0x3a6583=this[_0x57ccb4(0x103)][_0x57ccb4(0xbf)]!==void 0x0?this[_0x57ccb4(0x103)][_0x57ccb4(0xbf)]:0xa;_0x276b51=new _0x10478f(_0x3a6583);}}static get['extensionName'](){const _0x1ccd9f=_0x23280b;return _0x1ccd9f(0x155);}['offer'](){const _0x2d29f4=_0x23280b,_0x1f1826={};return this['_options'][_0x2d29f4(0x1e4)]&&(_0x1f1826['server_no_context_takeover']=!0x0),this[_0x2d29f4(0x103)][_0x2d29f4(0x180)]&&(_0x1f1826['client_no_context_takeover']=!0x0),this[_0x2d29f4(0x103)][_0x2d29f4(0x1b4)]&&(_0x1f1826['server_max_window_bits']=this[_0x2d29f4(0x103)][_0x2d29f4(0x1b4)]),this[_0x2d29f4(0x103)][_0x2d29f4(0x201)]?_0x1f1826[_0x2d29f4(0x246)]=this[_0x2d29f4(0x103)][_0x2d29f4(0x201)]:this[_0x2d29f4(0x103)][_0x2d29f4(0x201)]==null&&(_0x1f1826['client_max_window_bits']=!0x0),_0x1f1826;}[_0x23280b(0xd7)](_0x1294bb){const _0x18c60b=_0x23280b;return _0x1294bb=this[_0x18c60b(0xee)](_0x1294bb),this['params']=this[_0x18c60b(0x157)]?this[_0x18c60b(0x1ef)](_0x1294bb):this[_0x18c60b(0x1ac)](_0x1294bb),this[_0x18c60b(0x1ea)];}[_0x23280b(0xeb)](){const _0x33f5f0=_0x23280b;if(this[_0x33f5f0(0x195)]&&(this['_inflate'][_0x33f5f0(0x23f)](),this[_0x33f5f0(0x195)]=null),this['_deflate']){const _0xee4c98=this[_0x33f5f0(0xb5)][_0x5c91df];this['_deflate']['close'](),this[_0x33f5f0(0xb5)]=null,_0xee4c98&&_0xee4c98(new Error(_0x33f5f0(0x113)));}}['acceptAsServer'](_0x9cdecb){const _0x462392=_0x23280b,_0x1c988d=this['_options'],_0x17c544=_0x9cdecb[_0x462392(0x10d)](_0x3437b9=>!(_0x1c988d[_0x462392(0x1e4)]===!0x1&&_0x3437b9['server_no_context_takeover']||_0x3437b9[_0x462392(0x148)]&&(_0x1c988d[_0x462392(0x1b4)]===!0x1||typeof _0x1c988d[_0x462392(0x1b4)]==_0x462392(0x1ae)&&_0x1c988d[_0x462392(0x1b4)]>_0x3437b9[_0x462392(0x148)])||typeof _0x1c988d[_0x462392(0x201)]==_0x462392(0x1ae)&&!_0x3437b9['client_max_window_bits']));if(!_0x17c544)throw new Error(_0x462392(0x20d));return _0x1c988d[_0x462392(0x1e4)]&&(_0x17c544[_0x462392(0xe9)]=!0x0),_0x1c988d['clientNoContextTakeover']&&(_0x17c544['client_no_context_takeover']=!0x0),typeof _0x1c988d['serverMaxWindowBits']=='number'&&(_0x17c544[_0x462392(0x148)]=_0x1c988d[_0x462392(0x1b4)]),typeof _0x1c988d[_0x462392(0x201)]==_0x462392(0x1ae)?_0x17c544['client_max_window_bits']=_0x1c988d[_0x462392(0x201)]:(_0x17c544[_0x462392(0x246)]===!0x0||_0x1c988d['clientMaxWindowBits']===!0x1)&&delete _0x17c544[_0x462392(0x246)],_0x17c544;}[_0x23280b(0x1ac)](_0x422690){const _0x24a888=_0x23280b,_0x49d5eb=_0x422690[0x0];if(this[_0x24a888(0x103)][_0x24a888(0x180)]===!0x1&&_0x49d5eb[_0x24a888(0x1a8)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x49d5eb[_0x24a888(0x246)])typeof this['_options']['clientMaxWindowBits']==_0x24a888(0x1ae)&&(_0x49d5eb[_0x24a888(0x246)]=this[_0x24a888(0x103)][_0x24a888(0x201)]);else{if(this[_0x24a888(0x103)][_0x24a888(0x201)]===!0x1||typeof this[_0x24a888(0x103)]['clientMaxWindowBits']==_0x24a888(0x1ae)&&_0x49d5eb[_0x24a888(0x246)]>this[_0x24a888(0x103)]['clientMaxWindowBits'])throw new Error(_0x24a888(0xdc));}return _0x49d5eb;}[_0x23280b(0xee)](_0x4344e7){const _0x51d47f=_0x23280b;return _0x4344e7[_0x51d47f(0x242)](_0x5f4bb3=>{const _0x8dfed9=_0x51d47f;Object[_0x8dfed9(0xd8)](_0x5f4bb3)[_0x8dfed9(0x242)](_0x457202=>{const _0x5ed4f6=_0x8dfed9;let _0xba6c48=_0x5f4bb3[_0x457202];if(_0xba6c48[_0x5ed4f6(0x238)]>0x1)throw new Error('Parameter\x20\x22'+_0x457202+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0xba6c48=_0xba6c48[0x0],_0x457202===_0x5ed4f6(0x246)){if(_0xba6c48!==!0x0){const _0x500f91=+_0xba6c48;if(!Number[_0x5ed4f6(0xff)](_0x500f91)||_0x500f91<0x8||_0x500f91>0xf)throw new TypeError(_0x5ed4f6(0x247)+_0x457202+_0x5ed4f6(0xba)+_0xba6c48);_0xba6c48=_0x500f91;}else{if(!this['_isServer'])throw new TypeError(_0x5ed4f6(0x247)+_0x457202+_0x5ed4f6(0xba)+_0xba6c48);}}else{if(_0x457202==='server_max_window_bits'){const _0x1ae01e=+_0xba6c48;if(!Number['isInteger'](_0x1ae01e)||_0x1ae01e<0x8||_0x1ae01e>0xf)throw new TypeError(_0x5ed4f6(0x247)+_0x457202+_0x5ed4f6(0xba)+_0xba6c48);_0xba6c48=_0x1ae01e;}else{if(_0x457202===_0x5ed4f6(0x1a8)||_0x457202===_0x5ed4f6(0xe9)){if(_0xba6c48!==!0x0)throw new TypeError(_0x5ed4f6(0x247)+_0x457202+'\x22:\x20'+_0xba6c48);}else throw new Error(_0x5ed4f6(0xcb)+_0x457202+'\x22');}}_0x5f4bb3[_0x457202]=_0xba6c48;});}),_0x4344e7;}[_0x23280b(0x1e2)](_0x17e459,_0x3fc426,_0x28e760){const _0x891803=_0x23280b;_0x276b51[_0x891803(0x134)](_0x1838b9=>{const _0x3be857=_0x891803;this[_0x3be857(0x153)](_0x17e459,_0x3fc426,(_0x13f52c,_0x2d629e)=>{_0x1838b9(),_0x28e760(_0x13f52c,_0x2d629e);});});}[_0x23280b(0x106)](_0x1905ad,_0x1d9dfa,_0x199a4e){const _0x41b145=_0x23280b;_0x276b51[_0x41b145(0x134)](_0x1ac9eb=>{const _0xc57cfe=_0x41b145;this[_0xc57cfe(0x1ab)](_0x1905ad,_0x1d9dfa,(_0x5e2b92,_0xbb5fe)=>{_0x1ac9eb(),_0x199a4e(_0x5e2b92,_0xbb5fe);});});}[_0x23280b(0x153)](_0x1a35f6,_0x2f84c3,_0x3c73ca){const _0x8c6fa8=_0x23280b,_0x1e7f72=this[_0x8c6fa8(0x157)]?_0x8c6fa8(0x1fb):'server';if(!this[_0x8c6fa8(0x195)]){const _0x20d40a=_0x1e7f72+_0x8c6fa8(0x132),_0x1d852f=typeof this[_0x8c6fa8(0x1ea)][_0x20d40a]!='number'?_0x4b0848[_0x8c6fa8(0x23c)]:this[_0x8c6fa8(0x1ea)][_0x20d40a];this[_0x8c6fa8(0x195)]=_0x4b0848['createInflateRaw']({...this[_0x8c6fa8(0x103)]['zlibInflateOptions'],'windowBits':_0x1d852f}),this[_0x8c6fa8(0x195)][_0x4005c3]=this,this[_0x8c6fa8(0x195)][_0x558fcf]=0x0,this[_0x8c6fa8(0x195)][_0x1fd7f3]=[],this[_0x8c6fa8(0x195)]['on'](_0x8c6fa8(0xa9),_0x12e8ab),this[_0x8c6fa8(0x195)]['on'](_0x8c6fa8(0x1cd),_0x429262);}this['_inflate'][_0x5c91df]=_0x3c73ca,this[_0x8c6fa8(0x195)][_0x8c6fa8(0x120)](_0x1a35f6),_0x2f84c3&&this['_inflate'][_0x8c6fa8(0x120)](_0x57a977),this[_0x8c6fa8(0x195)][_0x8c6fa8(0x1f4)](()=>{const _0x33bceb=_0x8c6fa8,_0x6318c0=this['_inflate'][_0x3c6ab8];if(_0x6318c0){this['_inflate'][_0x33bceb(0x23f)](),this[_0x33bceb(0x195)]=null,_0x3c73ca(_0x6318c0);return;}const _0x437b79=_0x475f52[_0x33bceb(0x214)](this[_0x33bceb(0x195)][_0x1fd7f3],this[_0x33bceb(0x195)][_0x558fcf]);this[_0x33bceb(0x195)][_0x33bceb(0x111)][_0x33bceb(0x187)]?(this[_0x33bceb(0x195)][_0x33bceb(0x23f)](),this[_0x33bceb(0x195)]=null):(this['_inflate'][_0x558fcf]=0x0,this['_inflate'][_0x1fd7f3]=[],_0x2f84c3&&this['params'][_0x1e7f72+_0x33bceb(0x22f)]&&this[_0x33bceb(0x195)][_0x33bceb(0x245)]()),_0x3c73ca(null,_0x437b79);});}['_compress'](_0x37f404,_0x45cc13,_0x28a16f){const _0x154d73=_0x23280b,_0x4ee15f=this['_isServer']?'server':'client';if(!this[_0x154d73(0xb5)]){const _0x508374=_0x4ee15f+_0x154d73(0x132),_0x4b1b7e=typeof this[_0x154d73(0x1ea)][_0x508374]!='number'?_0x4b0848[_0x154d73(0x23c)]:this[_0x154d73(0x1ea)][_0x508374];this[_0x154d73(0xb5)]=_0x4b0848['createDeflateRaw']({...this[_0x154d73(0x103)][_0x154d73(0x197)],'windowBits':_0x4b1b7e}),this['_deflate'][_0x558fcf]=0x0,this[_0x154d73(0xb5)][_0x1fd7f3]=[],this['_deflate']['on'](_0x154d73(0x1cd),_0x34c25e);}this[_0x154d73(0xb5)][_0x5c91df]=_0x28a16f,this['_deflate'][_0x154d73(0x120)](_0x37f404),this[_0x154d73(0xb5)][_0x154d73(0x1f4)](_0x4b0848['Z_SYNC_FLUSH'],()=>{const _0x38bf19=_0x154d73;if(!this[_0x38bf19(0xb5)])return;let _0x5aab39=_0x475f52[_0x38bf19(0x214)](this[_0x38bf19(0xb5)][_0x1fd7f3],this[_0x38bf19(0xb5)][_0x558fcf]);_0x45cc13&&(_0x5aab39=new _0x4fdc42(_0x5aab39['buffer'],_0x5aab39[_0x38bf19(0x241)],_0x5aab39['length']-0x4)),this[_0x38bf19(0xb5)][_0x5c91df]=null,this[_0x38bf19(0xb5)][_0x558fcf]=0x0,this['_deflate'][_0x1fd7f3]=[],_0x45cc13&&this[_0x38bf19(0x1ea)][_0x4ee15f+'_no_context_takeover']&&this[_0x38bf19(0xb5)][_0x38bf19(0x245)](),_0x28a16f(null,_0x5aab39);});}}ve=_0x155072;function _0x34c25e(_0xe17e9){const _0x3bb7ad=_0x23280b;this[_0x1fd7f3][_0x3bb7ad(0x172)](_0xe17e9),this[_0x558fcf]+=_0xe17e9[_0x3bb7ad(0x238)];}function _0x429262(_0x4c7cda){const _0x40f309=_0x23280b;if(this[_0x558fcf]+=_0x4c7cda[_0x40f309(0x238)],this[_0x4005c3][_0x40f309(0x192)]<0x1||this[_0x558fcf]<=this[_0x4005c3]['_maxPayload']){this[_0x1fd7f3][_0x40f309(0x172)](_0x4c7cda);return;}this[_0x3c6ab8]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3c6ab8][_0x40f309(0x1fe)]=_0x40f309(0x18a),this[_0x3c6ab8][_0x11d5e6]=0x3f1,this['removeListener']('data',_0x429262),this['reset']();}function _0x12e8ab(_0x2043e8){const _0x433bbb=_0x23280b;if(this[_0x4005c3][_0x433bbb(0x195)]=null,this[_0x3c6ab8]){this[_0x5c91df](this[_0x3c6ab8]);return;}_0x2043e8[_0x11d5e6]=0x3ef,this[_0x5c91df](_0x2043e8);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xbb2108(0x19f)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0xbb2108(0x161)],{'value':_0xbb2108(0x22e)})),Bt=at(Rt);var Ye;function ae(){const _0x101c0c=_0xbb2108;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1c82a5}=wt,{hasBlob:_0x118be8}=H(),_0x32e196=[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 _0x58eaa5(_0x19e676){return _0x19e676>=0x3e8&&_0x19e676<=0x3f6&&_0x19e676!==0x3ec&&_0x19e676!==0x3ed&&_0x19e676!==0x3ee||_0x19e676>=0xbb8&&_0x19e676<=0x1387;}function _0x15eac3(_0x34c002){const _0x5dd012=_0x34c002['length'];let _0x2084ed=0x0;for(;_0x2084ed<_0x5dd012;)if((_0x34c002[_0x2084ed]&0x80)===0x0)_0x2084ed++;else{if((_0x34c002[_0x2084ed]&0xe0)===0xc0){if(_0x2084ed+0x1===_0x5dd012||(_0x34c002[_0x2084ed+0x1]&0xc0)!==0x80||(_0x34c002[_0x2084ed]&0xfe)===0xc0)return!0x1;_0x2084ed+=0x2;}else{if((_0x34c002[_0x2084ed]&0xf0)===0xe0){if(_0x2084ed+0x2>=_0x5dd012||(_0x34c002[_0x2084ed+0x1]&0xc0)!==0x80||(_0x34c002[_0x2084ed+0x2]&0xc0)!==0x80||_0x34c002[_0x2084ed]===0xe0&&(_0x34c002[_0x2084ed+0x1]&0xe0)===0x80||_0x34c002[_0x2084ed]===0xed&&(_0x34c002[_0x2084ed+0x1]&0xe0)===0xa0)return!0x1;_0x2084ed+=0x3;}else{if((_0x34c002[_0x2084ed]&0xf8)===0xf0){if(_0x2084ed+0x3>=_0x5dd012||(_0x34c002[_0x2084ed+0x1]&0xc0)!==0x80||(_0x34c002[_0x2084ed+0x2]&0xc0)!==0x80||(_0x34c002[_0x2084ed+0x3]&0xc0)!==0x80||_0x34c002[_0x2084ed]===0xf0&&(_0x34c002[_0x2084ed+0x1]&0xf0)===0x80||_0x34c002[_0x2084ed]===0xf4&&_0x34c002[_0x2084ed+0x1]>0x8f||_0x34c002[_0x2084ed]>0xf4)return!0x1;_0x2084ed+=0x4;}else return!0x1;}}}return!0x0;}function _0x1aec73(_0xaad79a){const _0x4d0419=_0x10c2;return _0x118be8&&typeof _0xaad79a==_0x4d0419(0x19d)&&typeof _0xaad79a['arrayBuffer']==_0x4d0419(0x128)&&typeof _0xaad79a[_0x4d0419(0xe2)]==_0x4d0419(0x25a)&&typeof _0xaad79a['stream']==_0x4d0419(0x128)&&(_0xaad79a[Symbol[_0x4d0419(0x161)]]==='Blob'||_0xaad79a[Symbol[_0x4d0419(0x161)]]==='File');}if(ie['exports']={'isBlob':_0x1aec73,'isValidStatusCode':_0x58eaa5,'isValidUTF8':_0x15eac3,'tokenChars':_0x32e196},_0x1c82a5)ie[_0x101c0c(0xf9)][_0x101c0c(0x239)]=function(_0x594dae){const _0x160b62=_0x101c0c;return _0x594dae[_0x160b62(0x238)]<0x18?_0x15eac3(_0x594dae):_0x1c82a5(_0x594dae);};else{if(!process[_0x101c0c(0x122)][_0x101c0c(0x209)])try{const _0x29c2cd=Bt;ie['exports'][_0x101c0c(0x239)]=function(_0x596b8d){return _0x596b8d['length']<0x20?_0x15eac3(_0x596b8d):_0x29c2cd(_0x596b8d);};}catch{}}return ie[_0x101c0c(0xf9)];}var Se,Ke;function lt(){const _0x3db285=_0xbb2108;if(Ke)return Se;Ke=0x1;const {Writable:_0x34df60}=oe,_0x16b7bb=he(),{BINARY_TYPES:_0x118d6c,EMPTY_BUFFER:_0x14a304,kStatusCode:_0x452407,kWebSocket:_0x13d593}=H(),{concat:_0x37d99f,toArrayBuffer:_0x1cfb73,unmask:_0x249144}=ce(),{isValidStatusCode:_0x796610,isValidUTF8:_0x1d288e}=ae(),_0x39f22f=Buffer[Symbol[_0x3db285(0x1a5)]],_0x4c6bfb=0x0,_0x13b40c=0x1,_0x91494c=0x2,_0x20d156=0x3,_0x175082=0x4,_0x44652a=0x5,_0x1c9497=0x6;class _0x1cd943 extends _0x34df60{constructor(_0x5cdd81={}){const _0x552593=_0x3db285;super(),this[_0x552593(0x196)]=_0x5cdd81['allowSynchronousEvents']!==void 0x0?_0x5cdd81[_0x552593(0x206)]:!0x0,this[_0x552593(0x1db)]=_0x5cdd81[_0x552593(0xf3)]||_0x118d6c[0x0],this[_0x552593(0xe5)]=_0x5cdd81[_0x552593(0x1af)]||{},this[_0x552593(0x157)]=!!_0x5cdd81[_0x552593(0x1f8)],this[_0x552593(0x192)]=_0x5cdd81[_0x552593(0x145)]|0x0,this['_skipUTF8Validation']=!!_0x5cdd81['skipUTF8Validation'],this[_0x13d593]=void 0x0,this[_0x552593(0x251)]=0x0,this[_0x552593(0xde)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x552593(0xb1)]=void 0x0,this[_0x552593(0x14e)]=0x0,this[_0x552593(0xb3)]=!0x1,this[_0x552593(0x1c5)]=!0x1,this[_0x552593(0x1c4)]=0x0,this['_totalPayloadLength']=0x0,this[_0x552593(0x179)]=0x0,this['_fragments']=[],this[_0x552593(0x20f)]=!0x1,this[_0x552593(0xfe)]=!0x1,this[_0x552593(0x167)]=_0x4c6bfb;}[_0x3db285(0xc3)](_0x4c12f8,_0x25f4fd,_0x402d51){const _0x17e8c3=_0x3db285;if(this[_0x17e8c3(0x1c4)]===0x8&&this[_0x17e8c3(0x167)]==_0x4c6bfb)return _0x402d51();this[_0x17e8c3(0x251)]+=_0x4c12f8[_0x17e8c3(0x238)],this[_0x17e8c3(0xde)]['push'](_0x4c12f8),this[_0x17e8c3(0x1a6)](_0x402d51);}[_0x3db285(0x176)](_0xd4cad7){const _0x4a7ef1=_0x3db285;if(this[_0x4a7ef1(0x251)]-=_0xd4cad7,_0xd4cad7===this['_buffers'][0x0][_0x4a7ef1(0x238)])return this[_0x4a7ef1(0xde)]['shift']();if(_0xd4cad7<this['_buffers'][0x0]['length']){const _0x5a6086=this[_0x4a7ef1(0xde)][0x0];return this[_0x4a7ef1(0xde)][0x0]=new _0x39f22f(_0x5a6086[_0x4a7ef1(0x1e5)],_0x5a6086[_0x4a7ef1(0x241)]+_0xd4cad7,_0x5a6086[_0x4a7ef1(0x238)]-_0xd4cad7),new _0x39f22f(_0x5a6086['buffer'],_0x5a6086[_0x4a7ef1(0x241)],_0xd4cad7);}const _0x36a2bd=Buffer[_0x4a7ef1(0x158)](_0xd4cad7);do{const _0x28adab=this[_0x4a7ef1(0xde)][0x0],_0x3712b8=_0x36a2bd['length']-_0xd4cad7;_0xd4cad7>=_0x28adab[_0x4a7ef1(0x238)]?_0x36a2bd[_0x4a7ef1(0x1b7)](this[_0x4a7ef1(0xde)][_0x4a7ef1(0xdd)](),_0x3712b8):(_0x36a2bd[_0x4a7ef1(0x1b7)](new Uint8Array(_0x28adab[_0x4a7ef1(0x1e5)],_0x28adab[_0x4a7ef1(0x241)],_0xd4cad7),_0x3712b8),this[_0x4a7ef1(0xde)][0x0]=new _0x39f22f(_0x28adab[_0x4a7ef1(0x1e5)],_0x28adab[_0x4a7ef1(0x241)]+_0xd4cad7,_0x28adab[_0x4a7ef1(0x238)]-_0xd4cad7)),_0xd4cad7-=_0x28adab[_0x4a7ef1(0x238)];}while(_0xd4cad7>0x0);return _0x36a2bd;}[_0x3db285(0x1a6)](_0x519f97){const _0x4843b9=_0x3db285;this[_0x4843b9(0xfe)]=!0x0;do switch(this[_0x4843b9(0x167)]){case _0x4c6bfb:this[_0x4843b9(0x1b9)](_0x519f97);break;case _0x13b40c:this[_0x4843b9(0x23a)](_0x519f97);break;case _0x91494c:this['getPayloadLength64'](_0x519f97);break;case _0x20d156:this['getMask']();break;case _0x175082:this[_0x4843b9(0xc0)](_0x519f97);break;case _0x44652a:case _0x1c9497:this['_loop']=!0x1;return;}while(this[_0x4843b9(0xfe)]);this[_0x4843b9(0x20f)]||_0x519f97();}[_0x3db285(0x1b9)](_0xf3710b){const _0x2e7828=_0x3db285;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0xa17cbb=this['consume'](0x2);if((_0xa17cbb[0x0]&0x30)!==0x0){const _0x435b7f=this[_0x2e7828(0x205)](RangeError,_0x2e7828(0xb6),!0x0,0x3ea,_0x2e7828(0xc2));_0xf3710b(_0x435b7f);return;}const _0x5427fd=(_0xa17cbb[0x0]&0x40)===0x40;if(_0x5427fd&&!this[_0x2e7828(0xe5)][_0x16b7bb[_0x2e7828(0x1cc)]]){const _0x24cbc4=this[_0x2e7828(0x205)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2e7828(0x1a3));_0xf3710b(_0x24cbc4);return;}if(this[_0x2e7828(0x1c5)]=(_0xa17cbb[0x0]&0x80)===0x80,this[_0x2e7828(0x1c4)]=_0xa17cbb[0x0]&0xf,this['_payloadLength']=_0xa17cbb[0x1]&0x7f,this[_0x2e7828(0x1c4)]===0x0){if(_0x5427fd){const _0x55b315=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2e7828(0x1a3));_0xf3710b(_0x55b315);return;}if(!this[_0x2e7828(0x14e)]){const _0x309e9b=this[_0x2e7828(0x205)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x2e7828(0xa1));_0xf3710b(_0x309e9b);return;}this[_0x2e7828(0x1c4)]=this['_fragmented'];}else{if(this[_0x2e7828(0x1c4)]===0x1||this[_0x2e7828(0x1c4)]===0x2){if(this[_0x2e7828(0x14e)]){const _0x522e85=this[_0x2e7828(0x205)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf3710b(_0x522e85);return;}this['_compressed']=_0x5427fd;}else{if(this[_0x2e7828(0x1c4)]>0x7&&this[_0x2e7828(0x1c4)]<0xb){if(!this[_0x2e7828(0x1c5)]){const _0x1aae3c=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x2e7828(0x1c2));_0xf3710b(_0x1aae3c);return;}if(_0x5427fd){const _0x34ab23=this[_0x2e7828(0x205)](RangeError,_0x2e7828(0xf6),!0x0,0x3ea,_0x2e7828(0x1a3));_0xf3710b(_0x34ab23);return;}if(this[_0x2e7828(0x1d9)]>0x7d||this[_0x2e7828(0x1c4)]===0x8&&this[_0x2e7828(0x1d9)]===0x1){const _0x342a54=this[_0x2e7828(0x205)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x2e7828(0x1d9)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xf3710b(_0x342a54);return;}}else{const _0x36dc9d=this[_0x2e7828(0x205)](RangeError,_0x2e7828(0x13d)+this[_0x2e7828(0x1c4)],!0x0,0x3ea,_0x2e7828(0xa1));_0xf3710b(_0x36dc9d);return;}}}if(!this[_0x2e7828(0x1c5)]&&!this['_fragmented']&&(this[_0x2e7828(0x14e)]=this[_0x2e7828(0x1c4)]),this[_0x2e7828(0xb3)]=(_0xa17cbb[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x2e7828(0xb3)]){const _0x271c13=this[_0x2e7828(0x205)](RangeError,_0x2e7828(0x24c),!0x0,0x3ea,_0x2e7828(0x17c));_0xf3710b(_0x271c13);return;}}else{if(this[_0x2e7828(0xb3)]){const _0x47f4fb=this['createError'](RangeError,_0x2e7828(0x224),!0x0,0x3ea,_0x2e7828(0xed));_0xf3710b(_0x47f4fb);return;}}this[_0x2e7828(0x1d9)]===0x7e?this[_0x2e7828(0x167)]=_0x13b40c:this[_0x2e7828(0x1d9)]===0x7f?this[_0x2e7828(0x167)]=_0x91494c:this[_0x2e7828(0x1d1)](_0xf3710b);}[_0x3db285(0x23a)](_0x5ae5e2){const _0x5701d0=_0x3db285;if(this[_0x5701d0(0x251)]<0x2){this['_loop']=!0x1;return;}this[_0x5701d0(0x1d9)]=this[_0x5701d0(0x176)](0x2)[_0x5701d0(0x231)](0x0),this[_0x5701d0(0x1d1)](_0x5ae5e2);}['getPayloadLength64'](_0x4a4f01){const _0x17b49c=_0x3db285;if(this[_0x17b49c(0x251)]<0x8){this[_0x17b49c(0xfe)]=!0x1;return;}const _0x1e695e=this[_0x17b49c(0x176)](0x8),_0x2b27b7=_0x1e695e[_0x17b49c(0x21b)](0x0);if(_0x2b27b7>Math['pow'](0x2,0x15)-0x1){const _0x14b006=this[_0x17b49c(0x205)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x17b49c(0x182));_0x4a4f01(_0x14b006);return;}this[_0x17b49c(0x1d9)]=_0x2b27b7*Math[_0x17b49c(0x11c)](0x2,0x20)+_0x1e695e[_0x17b49c(0x21b)](0x4),this[_0x17b49c(0x1d1)](_0x4a4f01);}['haveLength'](_0x5b2d98){const _0x465baf=_0x3db285;if(this[_0x465baf(0x1d9)]&&this[_0x465baf(0x1c4)]<0x8&&(this[_0x465baf(0x107)]+=this[_0x465baf(0x1d9)],this[_0x465baf(0x107)]>this[_0x465baf(0x192)]&&this[_0x465baf(0x192)]>0x0)){const _0x3a6615=this['createError'](RangeError,_0x465baf(0x24d),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5b2d98(_0x3a6615);return;}this[_0x465baf(0xb3)]?this[_0x465baf(0x167)]=_0x20d156:this['_state']=_0x175082;}[_0x3db285(0x10f)](){const _0x16cbc8=_0x3db285;if(this[_0x16cbc8(0x251)]<0x4){this[_0x16cbc8(0xfe)]=!0x1;return;}this[_0x16cbc8(0xb1)]=this[_0x16cbc8(0x176)](0x4),this['_state']=_0x175082;}['getData'](_0x1cb3e7){const _0x5a15b7=_0x3db285;let _0x2fe2ec=_0x14a304;if(this[_0x5a15b7(0x1d9)]){if(this['_bufferedBytes']<this[_0x5a15b7(0x1d9)]){this['_loop']=!0x1;return;}_0x2fe2ec=this[_0x5a15b7(0x176)](this[_0x5a15b7(0x1d9)]),this[_0x5a15b7(0xb3)]&&(this[_0x5a15b7(0xb1)][0x0]|this[_0x5a15b7(0xb1)][0x1]|this[_0x5a15b7(0xb1)][0x2]|this[_0x5a15b7(0xb1)][0x3])!==0x0&&_0x249144(_0x2fe2ec,this['_mask']);}if(this[_0x5a15b7(0x1c4)]>0x7){this[_0x5a15b7(0xcc)](_0x2fe2ec,_0x1cb3e7);return;}if(this[_0x5a15b7(0xf5)]){this[_0x5a15b7(0x167)]=_0x44652a,this['decompress'](_0x2fe2ec,_0x1cb3e7);return;}_0x2fe2ec[_0x5a15b7(0x238)]&&(this[_0x5a15b7(0x179)]=this[_0x5a15b7(0x107)],this[_0x5a15b7(0xfa)]['push'](_0x2fe2ec)),this[_0x5a15b7(0x230)](_0x1cb3e7);}[_0x3db285(0x1e2)](_0x80c9b0,_0x1eb7f1){const _0x4a383e=_0x3db285;this[_0x4a383e(0xe5)][_0x16b7bb[_0x4a383e(0x1cc)]][_0x4a383e(0x1e2)](_0x80c9b0,this[_0x4a383e(0x1c5)],(_0x2f2b62,_0x43953e)=>{const _0x18ce06=_0x4a383e;if(_0x2f2b62)return _0x1eb7f1(_0x2f2b62);if(_0x43953e[_0x18ce06(0x238)]){if(this[_0x18ce06(0x179)]+=_0x43953e[_0x18ce06(0x238)],this[_0x18ce06(0x179)]>this[_0x18ce06(0x192)]&&this[_0x18ce06(0x192)]>0x0){const _0x231ce8=this[_0x18ce06(0x205)](RangeError,_0x18ce06(0x24d),!0x1,0x3f1,_0x18ce06(0x18a));_0x1eb7f1(_0x231ce8);return;}this[_0x18ce06(0xfa)]['push'](_0x43953e);}this[_0x18ce06(0x230)](_0x1eb7f1),this[_0x18ce06(0x167)]===_0x4c6bfb&&this[_0x18ce06(0x1a6)](_0x1eb7f1);});}[_0x3db285(0x230)](_0x2cd39a){const _0x320171=_0x3db285;if(!this[_0x320171(0x1c5)]){this['_state']=_0x4c6bfb;return;}const _0x8936a0=this[_0x320171(0x179)],_0x2600e9=this['_fragments'];if(this[_0x320171(0x107)]=0x0,this[_0x320171(0x179)]=0x0,this[_0x320171(0x14e)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x48df19;this['_binaryType']===_0x320171(0x1d3)?_0x48df19=_0x37d99f(_0x2600e9,_0x8936a0):this['_binaryType']===_0x320171(0x159)?_0x48df19=_0x1cfb73(_0x37d99f(_0x2600e9,_0x8936a0)):this['_binaryType']===_0x320171(0x13c)?_0x48df19=new Blob(_0x2600e9):_0x48df19=_0x2600e9,this[_0x320171(0x196)]?(this[_0x320171(0x13e)](_0x320171(0x12c),_0x48df19,!0x0),this[_0x320171(0x167)]=_0x4c6bfb):(this['_state']=_0x1c9497,setImmediate(()=>{const _0x270b37=_0x320171;this[_0x270b37(0x13e)](_0x270b37(0x12c),_0x48df19,!0x0),this[_0x270b37(0x167)]=_0x4c6bfb,this['startLoop'](_0x2cd39a);}));}else{const _0x3518ac=_0x37d99f(_0x2600e9,_0x8936a0);if(!this[_0x320171(0x175)]&&!_0x1d288e(_0x3518ac)){const _0x2eeb1c=this[_0x320171(0x205)](Error,_0x320171(0x1e3),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2cd39a(_0x2eeb1c);return;}this[_0x320171(0x167)]===_0x44652a||this[_0x320171(0x196)]?(this['emit'](_0x320171(0x12c),_0x3518ac,!0x1),this[_0x320171(0x167)]=_0x4c6bfb):(this['_state']=_0x1c9497,setImmediate(()=>{const _0xe279b9=_0x320171;this[_0xe279b9(0x13e)]('message',_0x3518ac,!0x1),this[_0xe279b9(0x167)]=_0x4c6bfb,this[_0xe279b9(0x1a6)](_0x2cd39a);}));}}['controlMessage'](_0x9e1612,_0x2ffe49){const _0x272913=_0x3db285;if(this[_0x272913(0x1c4)]===0x8){if(_0x9e1612[_0x272913(0x238)]===0x0)this[_0x272913(0xfe)]=!0x1,this[_0x272913(0x13e)](_0x272913(0x138),0x3ed,_0x14a304),this[_0x272913(0x1f6)]();else{const _0x9bf3e4=_0x9e1612[_0x272913(0x231)](0x0);if(!_0x796610(_0x9bf3e4)){const _0x2f69d1=this[_0x272913(0x205)](RangeError,_0x272913(0x185)+_0x9bf3e4,!0x0,0x3ea,_0x272913(0xac));_0x2ffe49(_0x2f69d1);return;}const _0x2e5ae7=new _0x39f22f(_0x9e1612[_0x272913(0x1e5)],_0x9e1612[_0x272913(0x241)]+0x2,_0x9e1612[_0x272913(0x238)]-0x2);if(!this['_skipUTF8Validation']&&!_0x1d288e(_0x2e5ae7)){const _0x1d2ce1=this[_0x272913(0x205)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2ffe49(_0x1d2ce1);return;}this[_0x272913(0xfe)]=!0x1,this[_0x272913(0x13e)](_0x272913(0x138),_0x9bf3e4,_0x2e5ae7),this[_0x272913(0x1f6)]();}this[_0x272913(0x167)]=_0x4c6bfb;return;}this[_0x272913(0x196)]?(this[_0x272913(0x13e)](this[_0x272913(0x1c4)]===0x9?_0x272913(0xc4):_0x272913(0x16f),_0x9e1612),this[_0x272913(0x167)]=_0x4c6bfb):(this['_state']=_0x1c9497,setImmediate(()=>{const _0x7004a2=_0x272913;this[_0x7004a2(0x13e)](this[_0x7004a2(0x1c4)]===0x9?_0x7004a2(0xc4):'pong',_0x9e1612),this[_0x7004a2(0x167)]=_0x4c6bfb,this[_0x7004a2(0x1a6)](_0x2ffe49);}));}[_0x3db285(0x205)](_0x35ce0b,_0x26de8b,_0x18ac10,_0x2c308e,_0x520b2e){const _0x5f09cb=_0x3db285;this[_0x5f09cb(0xfe)]=!0x1,this[_0x5f09cb(0x20f)]=!0x0;const _0x5d01d1=new _0x35ce0b(_0x18ac10?_0x5f09cb(0x17f)+_0x26de8b:_0x26de8b);return Error[_0x5f09cb(0x1eb)](_0x5d01d1,this['createError']),_0x5d01d1[_0x5f09cb(0x1fe)]=_0x520b2e,_0x5d01d1[_0x452407]=_0x2c308e,_0x5d01d1;}}return Se=_0x1cd943,Se;}var Ee,Xe;function ft(){const _0x25ec38=_0xbb2108;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1e9c73}=oe,{randomFillSync:_0x63c9e3}=Le,_0x45162c=he(),{EMPTY_BUFFER:_0x557c77,kWebSocket:_0x583fd8,NOOP:_0x1ef29b}=H(),{isBlob:_0x1a1578,isValidStatusCode:_0x70183c}=ae(),{mask:_0x51363e,toBuffer:_0x53e593}=ce(),_0x3cb9e9=Symbol('kByteLength'),_0x554f44=Buffer[_0x25ec38(0x15d)](0x4),_0x53a787=0x8*0x400;let _0xb94e8a,_0x32dd0f=_0x53a787;const _0x1e906d=0x0,_0x5cddeb=0x1,_0x2610c8=0x2;class _0xd3ea59{constructor(_0x4052f8,_0x1d8907,_0x548ffa){const _0x250c95=_0x25ec38;this[_0x250c95(0xe5)]=_0x1d8907||{},_0x548ffa&&(this[_0x250c95(0x1de)]=_0x548ffa,this['_maskBuffer']=Buffer[_0x250c95(0x15d)](0x4)),this[_0x250c95(0x221)]=_0x4052f8,this[_0x250c95(0x1b3)]=!0x0,this[_0x250c95(0x1ab)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x250c95(0x167)]=_0x1e906d,this[_0x250c95(0x181)]=_0x1ef29b,this[_0x583fd8]=void 0x0;}static[_0x25ec38(0xa8)](_0x94b043,_0x12bfc1){const _0x1ca749=_0x25ec38;let _0x213487,_0x243a7c=!0x1,_0x189987=0x2,_0x408857=!0x1;_0x12bfc1[_0x1ca749(0x23d)]&&(_0x213487=_0x12bfc1['maskBuffer']||_0x554f44,_0x12bfc1[_0x1ca749(0x257)]?_0x12bfc1[_0x1ca749(0x257)](_0x213487):(_0x32dd0f===_0x53a787&&(_0xb94e8a===void 0x0&&(_0xb94e8a=Buffer[_0x1ca749(0x15d)](_0x53a787)),_0x63c9e3(_0xb94e8a,0x0,_0x53a787),_0x32dd0f=0x0),_0x213487[0x0]=_0xb94e8a[_0x32dd0f++],_0x213487[0x1]=_0xb94e8a[_0x32dd0f++],_0x213487[0x2]=_0xb94e8a[_0x32dd0f++],_0x213487[0x3]=_0xb94e8a[_0x32dd0f++]),_0x408857=(_0x213487[0x0]|_0x213487[0x1]|_0x213487[0x2]|_0x213487[0x3])===0x0,_0x189987=0x6);let _0x5a0cab;typeof _0x94b043==_0x1ca749(0x25a)?(!_0x12bfc1[_0x1ca749(0x23d)]||_0x408857)&&_0x12bfc1[_0x3cb9e9]!==void 0x0?_0x5a0cab=_0x12bfc1[_0x3cb9e9]:(_0x94b043=Buffer[_0x1ca749(0x15b)](_0x94b043),_0x5a0cab=_0x94b043['length']):(_0x5a0cab=_0x94b043['length'],_0x243a7c=_0x12bfc1[_0x1ca749(0x23d)]&&_0x12bfc1['readOnly']&&!_0x408857);let _0x4dab5f=_0x5a0cab;_0x5a0cab>=0x10000?(_0x189987+=0x8,_0x4dab5f=0x7f):_0x5a0cab>0x7d&&(_0x189987+=0x2,_0x4dab5f=0x7e);const _0x59fed9=Buffer['allocUnsafe'](_0x243a7c?_0x5a0cab+_0x189987:_0x189987);return _0x59fed9[0x0]=_0x12bfc1[_0x1ca749(0xc7)]?_0x12bfc1[_0x1ca749(0x212)]|0x80:_0x12bfc1[_0x1ca749(0x212)],_0x12bfc1[_0x1ca749(0x22b)]&&(_0x59fed9[0x0]|=0x40),_0x59fed9[0x1]=_0x4dab5f,_0x4dab5f===0x7e?_0x59fed9[_0x1ca749(0xaa)](_0x5a0cab,0x2):_0x4dab5f===0x7f&&(_0x59fed9[0x2]=_0x59fed9[0x3]=0x0,_0x59fed9[_0x1ca749(0x1e7)](_0x5a0cab,0x4,0x6)),_0x12bfc1[_0x1ca749(0x23d)]?(_0x59fed9[0x1]|=0x80,_0x59fed9[_0x189987-0x4]=_0x213487[0x0],_0x59fed9[_0x189987-0x3]=_0x213487[0x1],_0x59fed9[_0x189987-0x2]=_0x213487[0x2],_0x59fed9[_0x189987-0x1]=_0x213487[0x3],_0x408857?[_0x59fed9,_0x94b043]:_0x243a7c?(_0x51363e(_0x94b043,_0x213487,_0x59fed9,_0x189987,_0x5a0cab),[_0x59fed9]):(_0x51363e(_0x94b043,_0x213487,_0x94b043,0x0,_0x5a0cab),[_0x59fed9,_0x94b043])):[_0x59fed9,_0x94b043];}[_0x25ec38(0x23f)](_0x3b49f5,_0x43178c,_0x59a8d3,_0x39155e){const _0x1fdbce=_0x25ec38;let _0x4280ba;if(_0x3b49f5===void 0x0)_0x4280ba=_0x557c77;else{if(typeof _0x3b49f5!=_0x1fdbce(0x1ae)||!_0x70183c(_0x3b49f5))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x43178c===void 0x0||!_0x43178c[_0x1fdbce(0x238)])_0x4280ba=Buffer[_0x1fdbce(0x158)](0x2),_0x4280ba[_0x1fdbce(0xaa)](_0x3b49f5,0x0);else{const _0x151a1b=Buffer['byteLength'](_0x43178c);if(_0x151a1b>0x7b)throw new RangeError(_0x1fdbce(0x1bf));_0x4280ba=Buffer[_0x1fdbce(0x158)](0x2+_0x151a1b),_0x4280ba[_0x1fdbce(0xaa)](_0x3b49f5,0x0),typeof _0x43178c==_0x1fdbce(0x25a)?_0x4280ba[_0x1fdbce(0x120)](_0x43178c,0x2):_0x4280ba[_0x1fdbce(0x1b7)](_0x43178c,0x2);}}const _0x4f7764={[_0x3cb9e9]:_0x4280ba['length'],'fin':!0x0,'generateMask':this[_0x1fdbce(0x1de)],'mask':_0x59a8d3,'maskBuffer':this[_0x1fdbce(0x10c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x1e906d?this['enqueue']([this['dispatch'],_0x4280ba,!0x1,_0x4f7764,_0x39155e]):this[_0x1fdbce(0x225)](_0xd3ea59[_0x1fdbce(0xa8)](_0x4280ba,_0x4f7764),_0x39155e);}[_0x25ec38(0xc4)](_0x1d570d,_0x1e0b2f,_0x393858){const _0x15522d=_0x25ec38;let _0x1ad417,_0x34b10d;if(typeof _0x1d570d==_0x15522d(0x25a)?(_0x1ad417=Buffer['byteLength'](_0x1d570d),_0x34b10d=!0x1):_0x1a1578(_0x1d570d)?(_0x1ad417=_0x1d570d['size'],_0x34b10d=!0x1):(_0x1d570d=_0x53e593(_0x1d570d),_0x1ad417=_0x1d570d[_0x15522d(0x238)],_0x34b10d=_0x53e593[_0x15522d(0x17a)]),_0x1ad417>0x7d)throw new RangeError(_0x15522d(0xae));const _0x4b97a7={[_0x3cb9e9]:_0x1ad417,'fin':!0x0,'generateMask':this[_0x15522d(0x1de)],'mask':_0x1e0b2f,'maskBuffer':this[_0x15522d(0x10c)],'opcode':0x9,'readOnly':_0x34b10d,'rsv1':!0x1};_0x1a1578(_0x1d570d)?this[_0x15522d(0x167)]!==_0x1e906d?this[_0x15522d(0xfc)]([this[_0x15522d(0x1f0)],_0x1d570d,!0x1,_0x4b97a7,_0x393858]):this[_0x15522d(0x1f0)](_0x1d570d,!0x1,_0x4b97a7,_0x393858):this[_0x15522d(0x167)]!==_0x1e906d?this[_0x15522d(0xfc)]([this[_0x15522d(0x171)],_0x1d570d,!0x1,_0x4b97a7,_0x393858]):this['sendFrame'](_0xd3ea59[_0x15522d(0xa8)](_0x1d570d,_0x4b97a7),_0x393858);}[_0x25ec38(0x16f)](_0x2de287,_0x228f7d,_0x4e8a5d){const _0x5eb315=_0x25ec38;let _0x95ed9,_0x29129a;if(typeof _0x2de287==_0x5eb315(0x25a)?(_0x95ed9=Buffer[_0x5eb315(0xe7)](_0x2de287),_0x29129a=!0x1):_0x1a1578(_0x2de287)?(_0x95ed9=_0x2de287[_0x5eb315(0x183)],_0x29129a=!0x1):(_0x2de287=_0x53e593(_0x2de287),_0x95ed9=_0x2de287['length'],_0x29129a=_0x53e593[_0x5eb315(0x17a)]),_0x95ed9>0x7d)throw new RangeError(_0x5eb315(0xae));const _0x65bf63={[_0x3cb9e9]:_0x95ed9,'fin':!0x0,'generateMask':this[_0x5eb315(0x1de)],'mask':_0x228f7d,'maskBuffer':this[_0x5eb315(0x10c)],'opcode':0xa,'readOnly':_0x29129a,'rsv1':!0x1};_0x1a1578(_0x2de287)?this[_0x5eb315(0x167)]!==_0x1e906d?this[_0x5eb315(0xfc)]([this['getBlobData'],_0x2de287,!0x1,_0x65bf63,_0x4e8a5d]):this[_0x5eb315(0x1f0)](_0x2de287,!0x1,_0x65bf63,_0x4e8a5d):this[_0x5eb315(0x167)]!==_0x1e906d?this[_0x5eb315(0xfc)]([this['dispatch'],_0x2de287,!0x1,_0x65bf63,_0x4e8a5d]):this[_0x5eb315(0x225)](_0xd3ea59[_0x5eb315(0xa8)](_0x2de287,_0x65bf63),_0x4e8a5d);}['send'](_0x13159b,_0xf5ce9d,_0x21def9){const _0x3206be=_0x25ec38,_0x3a0630=this[_0x3206be(0xe5)][_0x45162c[_0x3206be(0x1cc)]];let _0x449d09=_0xf5ce9d['binary']?0x2:0x1,_0x4fca15=_0xf5ce9d[_0x3206be(0x106)],_0x525938,_0x1fa657;typeof _0x13159b==_0x3206be(0x25a)?(_0x525938=Buffer[_0x3206be(0xe7)](_0x13159b),_0x1fa657=!0x1):_0x1a1578(_0x13159b)?(_0x525938=_0x13159b[_0x3206be(0x183)],_0x1fa657=!0x1):(_0x13159b=_0x53e593(_0x13159b),_0x525938=_0x13159b[_0x3206be(0x238)],_0x1fa657=_0x53e593[_0x3206be(0x17a)]),this['_firstFragment']?(this[_0x3206be(0x1b3)]=!0x1,_0x4fca15&&_0x3a0630&&_0x3a0630[_0x3206be(0x1ea)][_0x3a0630[_0x3206be(0x157)]?_0x3206be(0xe9):'client_no_context_takeover']&&(_0x4fca15=_0x525938>=_0x3a0630[_0x3206be(0x22a)]),this['_compress']=_0x4fca15):(_0x4fca15=!0x1,_0x449d09=0x0),_0xf5ce9d[_0x3206be(0xc7)]&&(this[_0x3206be(0x1b3)]=!0x0);const _0x2297e5={[_0x3cb9e9]:_0x525938,'fin':_0xf5ce9d[_0x3206be(0xc7)],'generateMask':this[_0x3206be(0x1de)],'mask':_0xf5ce9d[_0x3206be(0x23d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x449d09,'readOnly':_0x1fa657,'rsv1':_0x4fca15};_0x1a1578(_0x13159b)?this[_0x3206be(0x167)]!==_0x1e906d?this[_0x3206be(0xfc)]([this['getBlobData'],_0x13159b,this[_0x3206be(0x1ab)],_0x2297e5,_0x21def9]):this[_0x3206be(0x1f0)](_0x13159b,this[_0x3206be(0x1ab)],_0x2297e5,_0x21def9):this[_0x3206be(0x167)]!==_0x1e906d?this[_0x3206be(0xfc)]([this[_0x3206be(0x171)],_0x13159b,this[_0x3206be(0x1ab)],_0x2297e5,_0x21def9]):this[_0x3206be(0x171)](_0x13159b,this[_0x3206be(0x1ab)],_0x2297e5,_0x21def9);}[_0x25ec38(0x1f0)](_0x3c6b08,_0x4f1427,_0x20cd43,_0x2d8776){const _0x395cd1=_0x25ec38;this[_0x395cd1(0x251)]+=_0x20cd43[_0x3cb9e9],this['_state']=_0x2610c8,_0x3c6b08[_0x395cd1(0x12e)]()[_0x395cd1(0x21a)](_0x284be1=>{const _0x472529=_0x395cd1;if(this[_0x472529(0x221)]['destroyed']){const _0x43ab17=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x472529(0x208)](_0x17dda8,this,_0x43ab17,_0x2d8776);return;}this[_0x472529(0x251)]-=_0x20cd43[_0x3cb9e9];const _0x2981aa=_0x53e593(_0x284be1);_0x4f1427?this[_0x472529(0x171)](_0x2981aa,_0x4f1427,_0x20cd43,_0x2d8776):(this['_state']=_0x1e906d,this[_0x472529(0x225)](_0xd3ea59[_0x472529(0xa8)](_0x2981aa,_0x20cd43),_0x2d8776),this[_0x472529(0x202)]());})[_0x395cd1(0x125)](_0x3380fb=>{process['nextTick'](_0x37156f,this,_0x3380fb,_0x2d8776);});}[_0x25ec38(0x171)](_0x551a40,_0x170412,_0x5cba3c,_0x2c45a3){const _0x52339a=_0x25ec38;if(!_0x170412){this[_0x52339a(0x225)](_0xd3ea59[_0x52339a(0xa8)](_0x551a40,_0x5cba3c),_0x2c45a3);return;}const _0x43f590=this[_0x52339a(0xe5)][_0x45162c[_0x52339a(0x1cc)]];this['_bufferedBytes']+=_0x5cba3c[_0x3cb9e9],this[_0x52339a(0x167)]=_0x5cddeb,_0x43f590[_0x52339a(0x106)](_0x551a40,_0x5cba3c['fin'],(_0x46156f,_0x2c2b20)=>{const _0x553ecc=_0x52339a;if(this['_socket'][_0x553ecc(0x16b)]){const _0x206bb8=new Error(_0x553ecc(0x121));_0x17dda8(this,_0x206bb8,_0x2c45a3);return;}this[_0x553ecc(0x251)]-=_0x5cba3c[_0x3cb9e9],this['_state']=_0x1e906d,_0x5cba3c[_0x553ecc(0x17a)]=!0x1,this[_0x553ecc(0x225)](_0xd3ea59[_0x553ecc(0xa8)](_0x2c2b20,_0x5cba3c),_0x2c45a3),this[_0x553ecc(0x202)]();});}['dequeue'](){const _0x45f5a6=_0x25ec38;for(;this[_0x45f5a6(0x167)]===_0x1e906d&&this[_0x45f5a6(0x154)]['length'];){const _0x1f3c13=this['_queue'][_0x45f5a6(0xdd)]();this[_0x45f5a6(0x251)]-=_0x1f3c13[0x3][_0x3cb9e9],Reflect[_0x45f5a6(0xd1)](_0x1f3c13[0x0],this,_0x1f3c13[_0x45f5a6(0x1d0)](0x1));}}[_0x25ec38(0xfc)](_0x210402){const _0x2c568a=_0x25ec38;this[_0x2c568a(0x251)]+=_0x210402[0x3][_0x3cb9e9],this[_0x2c568a(0x154)][_0x2c568a(0x172)](_0x210402);}['sendFrame'](_0x4c44fb,_0x500522){const _0x3bc792=_0x25ec38;_0x4c44fb['length']===0x2?(this[_0x3bc792(0x221)][_0x3bc792(0x237)](),this[_0x3bc792(0x221)][_0x3bc792(0x120)](_0x4c44fb[0x0]),this['_socket'][_0x3bc792(0x120)](_0x4c44fb[0x1],_0x500522),this[_0x3bc792(0x221)][_0x3bc792(0x20a)]()):this['_socket']['write'](_0x4c44fb[0x0],_0x500522);}}Ee=_0xd3ea59;function _0x17dda8(_0x195a3e,_0x5090e9,_0x432e14){const _0x291765=_0x25ec38;typeof _0x432e14==_0x291765(0x128)&&_0x432e14(_0x5090e9);for(let _0x11efef=0x0;_0x11efef<_0x195a3e[_0x291765(0x154)]['length'];_0x11efef++){const _0x1c1981=_0x195a3e[_0x291765(0x154)][_0x11efef],_0x4d88a8=_0x1c1981[_0x1c1981[_0x291765(0x238)]-0x1];typeof _0x4d88a8==_0x291765(0x128)&&_0x4d88a8(_0x5090e9);}}function _0x37156f(_0x39992b,_0x29cf70,_0x39a84b){_0x17dda8(_0x39992b,_0x29cf70,_0x39a84b),_0x39992b['onerror'](_0x29cf70);}return Ee;}var xe,Ze;function It(){const _0x59b778=_0xbb2108;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2b34bd,kListener:_0x64f0b9}=H(),_0x1a9e98=Symbol(_0x59b778(0xb9)),_0x542313=Symbol(_0x59b778(0x228)),_0x9478ee=Symbol(_0x59b778(0x1ce)),_0x9608c9=Symbol(_0x59b778(0x191)),_0x53d789=Symbol('kReason'),_0x3d4fa9=Symbol('kTarget'),_0x3d7b7f=Symbol(_0x59b778(0xcf)),_0x132873=Symbol(_0x59b778(0xec));class _0x25e324{constructor(_0x326719){this[_0x3d4fa9]=null,this[_0x3d7b7f]=_0x326719;}get[_0x59b778(0xb7)](){return this[_0x3d4fa9];}get[_0x59b778(0xe2)](){return this[_0x3d7b7f];}}Object[_0x59b778(0x20e)](_0x25e324[_0x59b778(0x258)],_0x59b778(0xb7),{'enumerable':!0x0}),Object[_0x59b778(0x20e)](_0x25e324[_0x59b778(0x258)],_0x59b778(0xe2),{'enumerable':!0x0});class _0x176143 extends _0x25e324{constructor(_0x5c6d0a,_0x5ecb2e={}){const _0x1d8d70=_0x59b778;super(_0x5c6d0a),this[_0x1a9e98]=_0x5ecb2e[_0x1d8d70(0x1fe)]===void 0x0?0x0:_0x5ecb2e[_0x1d8d70(0x1fe)],this[_0x53d789]=_0x5ecb2e[_0x1d8d70(0x1d2)]===void 0x0?'':_0x5ecb2e[_0x1d8d70(0x1d2)],this[_0x132873]=_0x5ecb2e['wasClean']===void 0x0?!0x1:_0x5ecb2e[_0x1d8d70(0x23b)];}get[_0x59b778(0x1fe)](){return this[_0x1a9e98];}get['reason'](){return this[_0x53d789];}get['wasClean'](){return this[_0x132873];}}Object['defineProperty'](_0x176143[_0x59b778(0x258)],_0x59b778(0x1fe),{'enumerable':!0x0}),Object[_0x59b778(0x20e)](_0x176143[_0x59b778(0x258)],_0x59b778(0x1d2),{'enumerable':!0x0}),Object[_0x59b778(0x20e)](_0x176143[_0x59b778(0x258)],_0x59b778(0x23b),{'enumerable':!0x0});class _0x254743 extends _0x25e324{constructor(_0x5bd028,_0x3dbb27={}){const _0x1fb45e=_0x59b778;super(_0x5bd028),this[_0x9478ee]=_0x3dbb27[_0x1fb45e(0xa9)]===void 0x0?null:_0x3dbb27[_0x1fb45e(0xa9)],this[_0x9608c9]=_0x3dbb27[_0x1fb45e(0x12c)]===void 0x0?'':_0x3dbb27[_0x1fb45e(0x12c)];}get[_0x59b778(0xa9)](){return this[_0x9478ee];}get[_0x59b778(0x12c)](){return this[_0x9608c9];}}Object[_0x59b778(0x20e)](_0x254743['prototype'],'error',{'enumerable':!0x0}),Object[_0x59b778(0x20e)](_0x254743['prototype'],_0x59b778(0x12c),{'enumerable':!0x0});class _0x5a71ad extends _0x25e324{constructor(_0x2cb40b,_0x3e8926={}){const _0x29d853=_0x59b778;super(_0x2cb40b),this[_0x542313]=_0x3e8926[_0x29d853(0x1cd)]===void 0x0?null:_0x3e8926['data'];}get[_0x59b778(0x1cd)](){return this[_0x542313];}}Object['defineProperty'](_0x5a71ad['prototype'],_0x59b778(0x1cd),{'enumerable':!0x0}),xe={'CloseEvent':_0x176143,'ErrorEvent':_0x254743,'Event':_0x25e324,'EventTarget':{'addEventListener'(_0x47b62c,_0x4282a8,_0x28ddee={}){const _0x5acf90=_0x59b778;for(const _0x24e02a of this[_0x5acf90(0x18c)](_0x47b62c))if(!_0x28ddee[_0x2b34bd]&&_0x24e02a[_0x64f0b9]===_0x4282a8&&!_0x24e02a[_0x2b34bd])return;let _0x22374e;if(_0x47b62c===_0x5acf90(0x12c))_0x22374e=function(_0x5348a8,_0x1e4608){const _0x504cb0=_0x5acf90,_0x1bc4aa=new _0x5a71ad(_0x504cb0(0x12c),{'data':_0x1e4608?_0x5348a8:_0x5348a8[_0x504cb0(0xd9)]()});_0x1bc4aa[_0x3d4fa9]=this,_0x22b04d(_0x4282a8,this,_0x1bc4aa);};else{if(_0x47b62c===_0x5acf90(0x23f))_0x22374e=function(_0x49fc8f,_0x5243e3){const _0xda3e08=_0x5acf90,_0xc1414e=new _0x176143(_0xda3e08(0x23f),{'code':_0x49fc8f,'reason':_0x5243e3[_0xda3e08(0xd9)](),'wasClean':this[_0xda3e08(0xe8)]&&this[_0xda3e08(0x1ad)]});_0xc1414e[_0x3d4fa9]=this,_0x22b04d(_0x4282a8,this,_0xc1414e);};else{if(_0x47b62c==='error')_0x22374e=function(_0x155c04){const _0x3cff0e=_0x5acf90,_0x3bc308=new _0x254743(_0x3cff0e(0xa9),{'error':_0x155c04,'message':_0x155c04[_0x3cff0e(0x12c)]});_0x3bc308[_0x3d4fa9]=this,_0x22b04d(_0x4282a8,this,_0x3bc308);};else{if(_0x47b62c===_0x5acf90(0x1aa))_0x22374e=function(){const _0x17817d=new _0x25e324('open');_0x17817d[_0x3d4fa9]=this,_0x22b04d(_0x4282a8,this,_0x17817d);};else return;}}}_0x22374e[_0x2b34bd]=!!_0x28ddee[_0x2b34bd],_0x22374e[_0x64f0b9]=_0x4282a8,_0x28ddee[_0x5acf90(0x16d)]?this[_0x5acf90(0x16d)](_0x47b62c,_0x22374e):this['on'](_0x47b62c,_0x22374e);},'removeEventListener'(_0x3cb456,_0xf323c0){const _0x57869f=_0x59b778;for(const _0x223d37 of this[_0x57869f(0x18c)](_0x3cb456))if(_0x223d37[_0x64f0b9]===_0xf323c0&&!_0x223d37[_0x2b34bd]){this[_0x57869f(0x21d)](_0x3cb456,_0x223d37);break;}}},'MessageEvent':_0x5a71ad};function _0x22b04d(_0x7ca36c,_0x23b837,_0x141eee){const _0x177c3e=_0x59b778;typeof _0x7ca36c==_0x177c3e(0x19d)&&_0x7ca36c['handleEvent']?_0x7ca36c['handleEvent']['call'](_0x7ca36c,_0x141eee):_0x7ca36c[_0x177c3e(0x162)](_0x23b837,_0x141eee);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1cb3b8}=ae();function _0x422915(_0x1a2527,_0x58e44f,_0xd6f915){_0x1a2527[_0x58e44f]===void 0x0?_0x1a2527[_0x58e44f]=[_0xd6f915]:_0x1a2527[_0x58e44f]['push'](_0xd6f915);}function _0x4d62ae(_0x3088b4){const _0x284209=_0x10c2,_0x502b82=Object[_0x284209(0x1ca)](null);let _0xcb5383=Object['create'](null),_0x13b755=!0x1,_0x48c2e2=!0x1,_0xbfc023=!0x1,_0x362085,_0x2bbf43,_0x467bbd=-0x1,_0x555c95=-0x1,_0x15fa7b=-0x1,_0x15d19b=0x0;for(;_0x15d19b<_0x3088b4[_0x284209(0x238)];_0x15d19b++)if(_0x555c95=_0x3088b4[_0x284209(0x22c)](_0x15d19b),_0x362085===void 0x0){if(_0x15fa7b===-0x1&&_0x1cb3b8[_0x555c95]===0x1)_0x467bbd===-0x1&&(_0x467bbd=_0x15d19b);else{if(_0x15d19b!==0x0&&(_0x555c95===0x20||_0x555c95===0x9))_0x15fa7b===-0x1&&_0x467bbd!==-0x1&&(_0x15fa7b=_0x15d19b);else{if(_0x555c95===0x3b||_0x555c95===0x2c){if(_0x467bbd===-0x1)throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);_0x15fa7b===-0x1&&(_0x15fa7b=_0x15d19b);const _0x50b26f=_0x3088b4[_0x284209(0x1d0)](_0x467bbd,_0x15fa7b);_0x555c95===0x2c?(_0x422915(_0x502b82,_0x50b26f,_0xcb5383),_0xcb5383=Object['create'](null)):_0x362085=_0x50b26f,_0x467bbd=_0x15fa7b=-0x1;}else throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);}}}else{if(_0x2bbf43===void 0x0){if(_0x15fa7b===-0x1&&_0x1cb3b8[_0x555c95]===0x1)_0x467bbd===-0x1&&(_0x467bbd=_0x15d19b);else{if(_0x555c95===0x20||_0x555c95===0x9)_0x15fa7b===-0x1&&_0x467bbd!==-0x1&&(_0x15fa7b=_0x15d19b);else{if(_0x555c95===0x3b||_0x555c95===0x2c){if(_0x467bbd===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x15d19b);_0x15fa7b===-0x1&&(_0x15fa7b=_0x15d19b),_0x422915(_0xcb5383,_0x3088b4[_0x284209(0x1d0)](_0x467bbd,_0x15fa7b),!0x0),_0x555c95===0x2c&&(_0x422915(_0x502b82,_0x362085,_0xcb5383),_0xcb5383=Object['create'](null),_0x362085=void 0x0),_0x467bbd=_0x15fa7b=-0x1;}else{if(_0x555c95===0x3d&&_0x467bbd!==-0x1&&_0x15fa7b===-0x1)_0x2bbf43=_0x3088b4['slice'](_0x467bbd,_0x15d19b),_0x467bbd=_0x15fa7b=-0x1;else throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);}}}}else{if(_0x48c2e2){if(_0x1cb3b8[_0x555c95]!==0x1)throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);_0x467bbd===-0x1?_0x467bbd=_0x15d19b:_0x13b755||(_0x13b755=!0x0),_0x48c2e2=!0x1;}else{if(_0xbfc023){if(_0x1cb3b8[_0x555c95]===0x1)_0x467bbd===-0x1&&(_0x467bbd=_0x15d19b);else{if(_0x555c95===0x22&&_0x467bbd!==-0x1)_0xbfc023=!0x1,_0x15fa7b=_0x15d19b;else{if(_0x555c95===0x5c)_0x48c2e2=!0x0;else throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);}}}else{if(_0x555c95===0x22&&_0x3088b4['charCodeAt'](_0x15d19b-0x1)===0x3d)_0xbfc023=!0x0;else{if(_0x15fa7b===-0x1&&_0x1cb3b8[_0x555c95]===0x1)_0x467bbd===-0x1&&(_0x467bbd=_0x15d19b);else{if(_0x467bbd!==-0x1&&(_0x555c95===0x20||_0x555c95===0x9))_0x15fa7b===-0x1&&(_0x15fa7b=_0x15d19b);else{if(_0x555c95===0x3b||_0x555c95===0x2c){if(_0x467bbd===-0x1)throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);_0x15fa7b===-0x1&&(_0x15fa7b=_0x15d19b);let _0x3baad5=_0x3088b4[_0x284209(0x1d0)](_0x467bbd,_0x15fa7b);_0x13b755&&(_0x3baad5=_0x3baad5[_0x284209(0x219)](/\\/g,''),_0x13b755=!0x1),_0x422915(_0xcb5383,_0x2bbf43,_0x3baad5),_0x555c95===0x2c&&(_0x422915(_0x502b82,_0x362085,_0xcb5383),_0xcb5383=Object['create'](null),_0x362085=void 0x0),_0x2bbf43=void 0x0,_0x467bbd=_0x15fa7b=-0x1;}else throw new SyntaxError(_0x284209(0x1c7)+_0x15d19b);}}}}}}}if(_0x467bbd===-0x1||_0xbfc023||_0x555c95===0x20||_0x555c95===0x9)throw new SyntaxError(_0x284209(0x254));_0x15fa7b===-0x1&&(_0x15fa7b=_0x15d19b);const _0x14c8a4=_0x3088b4['slice'](_0x467bbd,_0x15fa7b);return _0x362085===void 0x0?_0x422915(_0x502b82,_0x14c8a4,_0xcb5383):(_0x2bbf43===void 0x0?_0x422915(_0xcb5383,_0x14c8a4,!0x0):_0x13b755?_0x422915(_0xcb5383,_0x2bbf43,_0x14c8a4[_0x284209(0x219)](/\\/g,'')):_0x422915(_0xcb5383,_0x2bbf43,_0x14c8a4),_0x422915(_0x502b82,_0x362085,_0xcb5383)),_0x502b82;}function _0x4ed1a0(_0x2add25){const _0x1c1054=_0x10c2;return Object[_0x1c1054(0xd8)](_0x2add25)['map'](_0x2d1ff9=>{const _0x3e1384=_0x1c1054;let _0x210963=_0x2add25[_0x2d1ff9];return Array[_0x3e1384(0x14b)](_0x210963)||(_0x210963=[_0x210963]),_0x210963[_0x3e1384(0x234)](_0x49aeb9=>[_0x2d1ff9][_0x3e1384(0x214)](Object[_0x3e1384(0xd8)](_0x49aeb9)['map'](_0x29f48f=>{const _0x4418a8=_0x3e1384;let _0x433e9a=_0x49aeb9[_0x29f48f];return Array[_0x4418a8(0x14b)](_0x433e9a)||(_0x433e9a=[_0x433e9a]),_0x433e9a[_0x4418a8(0x234)](_0x1a8dfc=>_0x1a8dfc===!0x0?_0x29f48f:_0x29f48f+'='+_0x1a8dfc)[_0x4418a8(0x21f)](';\x20');}))[_0x3e1384(0x21f)](';\x20'))[_0x3e1384(0x21f)](',\x20');})[_0x1c1054(0x21f)](',\x20');}return be={'format':_0x4ed1a0,'parse':_0x4d62ae},be;}var we,Je;function Pe(){const _0x2f493a=_0xbb2108;if(Je)return we;Je=0x1;const _0x195caa=nt,_0x139edb=vt,_0x87a542=ot,_0x41f342=St,_0x348727=Et,{randomBytes:_0x8ca056,createHash:_0x237bf7}=Le,{Duplex:_0x2e4682,Readable:_0x11dece}=oe,{URL:_0x254e78}=xt,_0x33c084=he(),_0x494c36=lt(),_0x1b9dc7=ft(),{isBlob:_0x111e35}=ae(),{BINARY_TYPES:_0x5d8fa6,EMPTY_BUFFER:_0x59ce48,GUID:_0x331d77,kForOnEventAttribute:_0x451e2a,kListener:_0x761d17,kStatusCode:_0x53f4a5,kWebSocket:_0x12f40c,NOOP:_0x3410e0}=H(),{EventTarget:{addEventListener:_0x3c6fba,removeEventListener:_0x193417}}=It(),{format:_0x56b1b0,parse:_0x2dfcf2}=ct(),{toBuffer:_0x516dc3}=ce(),_0x53c114=0x1e*0x3e8,_0x18e172=Symbol(_0x2f493a(0x11d)),_0x3ac995=[0x8,0xd],_0xbdee16=[_0x2f493a(0x10e),_0x2f493a(0xdb),_0x2f493a(0x1a4),_0x2f493a(0x215)],_0x2b8cea=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x39b9af extends _0x195caa{constructor(_0x1fcbac,_0xd6ce57,_0x1ec6d1){const _0x1e70f3=_0x2f493a;super(),this[_0x1e70f3(0x1db)]=_0x5d8fa6[0x0],this[_0x1e70f3(0x1df)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1e70f3(0x1ad)]=!0x1,this[_0x1e70f3(0x223)]=_0x59ce48,this[_0x1e70f3(0x13f)]=null,this[_0x1e70f3(0x1a2)]=!0x1,this[_0x1e70f3(0xe5)]={},this[_0x1e70f3(0xb8)]=!0x1,this[_0x1e70f3(0x1cb)]='',this[_0x1e70f3(0x119)]=_0x39b9af['CONNECTING'],this[_0x1e70f3(0x178)]=null,this['_sender']=null,this[_0x1e70f3(0x221)]=null,_0x1fcbac!==null?(this[_0x1e70f3(0x21c)]=0x0,this[_0x1e70f3(0x157)]=!0x1,this[_0x1e70f3(0x193)]=0x0,_0xd6ce57===void 0x0?_0xd6ce57=[]:Array['isArray'](_0xd6ce57)||(typeof _0xd6ce57==_0x1e70f3(0x19d)&&_0xd6ce57!==null?(_0x1ec6d1=_0xd6ce57,_0xd6ce57=[]):_0xd6ce57=[_0xd6ce57]),_0x2341e3(this,_0x1fcbac,_0xd6ce57,_0x1ec6d1)):(this[_0x1e70f3(0x218)]=_0x1ec6d1[_0x1e70f3(0x1e9)],this[_0x1e70f3(0x157)]=!0x0);}get[_0x2f493a(0xf3)](){const _0x554ead=_0x2f493a;return this[_0x554ead(0x1db)];}set['binaryType'](_0x1a1bae){const _0x1ed29d=_0x2f493a;_0x5d8fa6[_0x1ed29d(0x1fc)](_0x1a1bae)&&(this['_binaryType']=_0x1a1bae,this[_0x1ed29d(0x178)]&&(this[_0x1ed29d(0x178)][_0x1ed29d(0x1db)]=_0x1a1bae));}get['bufferedAmount'](){const _0x3d3fdc=_0x2f493a;return this[_0x3d3fdc(0x221)]?this[_0x3d3fdc(0x221)][_0x3d3fdc(0x19b)][_0x3d3fdc(0x238)]+this[_0x3d3fdc(0xd5)][_0x3d3fdc(0x251)]:this[_0x3d3fdc(0x21c)];}get[_0x2f493a(0x1af)](){const _0x279cdd=_0x2f493a;return Object['keys'](this[_0x279cdd(0xe5)])[_0x279cdd(0x21f)]();}get[_0x2f493a(0x1f2)](){const _0x3e0ec3=_0x2f493a;return this[_0x3e0ec3(0xb8)];}get[_0x2f493a(0x13a)](){return null;}get[_0x2f493a(0x181)](){return null;}get[_0x2f493a(0x194)](){return null;}get[_0x2f493a(0x23e)](){return null;}get[_0x2f493a(0x137)](){const _0x28dadc=_0x2f493a;return this[_0x28dadc(0x1cb)];}get[_0x2f493a(0x25c)](){return this['_readyState'];}get['url'](){const _0x46523c=_0x2f493a;return this[_0x46523c(0xfb)];}[_0x2f493a(0x1c1)](_0x5e2e1f,_0x4ba456,_0x4c7a33){const _0x46dfd6=_0x2f493a,_0x1a528e=new _0x494c36({'allowSynchronousEvents':_0x4c7a33['allowSynchronousEvents'],'binaryType':this[_0x46dfd6(0xf3)],'extensions':this[_0x46dfd6(0xe5)],'isServer':this['_isServer'],'maxPayload':_0x4c7a33[_0x46dfd6(0x145)],'skipUTF8Validation':_0x4c7a33['skipUTF8Validation']}),_0x5c7ca0=new _0x1b9dc7(_0x5e2e1f,this['_extensions'],_0x4c7a33[_0x46dfd6(0x257)]);this[_0x46dfd6(0x178)]=_0x1a528e,this[_0x46dfd6(0xd5)]=_0x5c7ca0,this['_socket']=_0x5e2e1f,_0x1a528e[_0x12f40c]=this,_0x5c7ca0[_0x12f40c]=this,_0x5e2e1f[_0x12f40c]=this,_0x1a528e['on'](_0x46dfd6(0x138),_0x2ffe10),_0x1a528e['on'](_0x46dfd6(0xb2),_0x227cfe),_0x1a528e['on'](_0x46dfd6(0xa9),_0x24b73d),_0x1a528e['on'](_0x46dfd6(0x12c),_0x5a4796),_0x1a528e['on'](_0x46dfd6(0xc4),_0xa3122b),_0x1a528e['on'](_0x46dfd6(0x16f),_0x3eb409),_0x5c7ca0[_0x46dfd6(0x181)]=_0x4c6958,_0x5e2e1f[_0x46dfd6(0x1e1)]&&_0x5e2e1f['setTimeout'](0x0),_0x5e2e1f[_0x46dfd6(0x22d)]&&_0x5e2e1f['setNoDelay'](),_0x4ba456['length']>0x0&&_0x5e2e1f[_0x46dfd6(0x249)](_0x4ba456),_0x5e2e1f['on']('close',_0x399601),_0x5e2e1f['on'](_0x46dfd6(0x1cd),_0x19cb05),_0x5e2e1f['on'](_0x46dfd6(0x1f6),_0x4e23d4),_0x5e2e1f['on'](_0x46dfd6(0xa9),_0xfa7763),this[_0x46dfd6(0x119)]=_0x39b9af[_0x46dfd6(0xdb)],this['emit']('open');}[_0x2f493a(0x1e8)](){const _0x136cad=_0x2f493a;if(!this[_0x136cad(0x221)]){this[_0x136cad(0x119)]=_0x39b9af[_0x136cad(0x215)],this[_0x136cad(0x13e)]('close',this[_0x136cad(0x1df)],this[_0x136cad(0x223)]);return;}this[_0x136cad(0xe5)][_0x33c084['extensionName']]&&this[_0x136cad(0xe5)][_0x33c084[_0x136cad(0x1cc)]][_0x136cad(0xeb)](),this[_0x136cad(0x178)][_0x136cad(0x1f9)](),this[_0x136cad(0x119)]=_0x39b9af[_0x136cad(0x215)],this[_0x136cad(0x13e)](_0x136cad(0x23f),this[_0x136cad(0x1df)],this['_closeMessage']);}['close'](_0x34b3fb,_0x23740e){const _0x2f80e4=_0x2f493a;if(this[_0x2f80e4(0x25c)]!==_0x39b9af[_0x2f80e4(0x215)]){if(this[_0x2f80e4(0x25c)]===_0x39b9af[_0x2f80e4(0x10e)]){_0x4c0663(this,this['_req'],_0x2f80e4(0x1dc));return;}if(this[_0x2f80e4(0x25c)]===_0x39b9af[_0x2f80e4(0x1a4)]){this[_0x2f80e4(0x1ad)]&&(this[_0x2f80e4(0xe8)]||this[_0x2f80e4(0x178)][_0x2f80e4(0x19b)]['errorEmitted'])&&this[_0x2f80e4(0x221)][_0x2f80e4(0x1f6)]();return;}this[_0x2f80e4(0x119)]=_0x39b9af['CLOSING'],this['_sender'][_0x2f80e4(0x23f)](_0x34b3fb,_0x23740e,!this['_isServer'],_0x8732c1=>{const _0x208c83=_0x2f80e4;_0x8732c1||(this['_closeFrameSent']=!0x0,(this[_0x208c83(0xe8)]||this[_0x208c83(0x178)][_0x208c83(0x19b)][_0x208c83(0x259)])&&this[_0x208c83(0x221)]['end']());}),_0x94b310(this);}}[_0x2f493a(0x10a)](){const _0x51512a=_0x2f493a;this[_0x51512a(0x25c)]===_0x39b9af[_0x51512a(0x10e)]||this[_0x51512a(0x25c)]===_0x39b9af[_0x51512a(0x215)]||(this['_paused']=!0x0,this['_socket']['pause']());}[_0x2f493a(0xc4)](_0x5a1af7,_0x4f703f,_0x51b729){const _0x4e5455=_0x2f493a;if(this['readyState']===_0x39b9af[_0x4e5455(0x10e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5a1af7=='function'?(_0x51b729=_0x5a1af7,_0x5a1af7=_0x4f703f=void 0x0):typeof _0x4f703f==_0x4e5455(0x128)&&(_0x51b729=_0x4f703f,_0x4f703f=void 0x0),typeof _0x5a1af7==_0x4e5455(0x1ae)&&(_0x5a1af7=_0x5a1af7[_0x4e5455(0xd9)]()),this[_0x4e5455(0x25c)]!==_0x39b9af[_0x4e5455(0xdb)]){_0x589652(this,_0x5a1af7,_0x51b729);return;}_0x4f703f===void 0x0&&(_0x4f703f=!this[_0x4e5455(0x157)]),this['_sender'][_0x4e5455(0xc4)](_0x5a1af7||_0x59ce48,_0x4f703f,_0x51b729);}['pong'](_0x3df7ed,_0x443abf,_0xec0d56){const _0x519a11=_0x2f493a;if(this[_0x519a11(0x25c)]===_0x39b9af[_0x519a11(0x10e)])throw new Error(_0x519a11(0xbd));if(typeof _0x3df7ed=='function'?(_0xec0d56=_0x3df7ed,_0x3df7ed=_0x443abf=void 0x0):typeof _0x443abf=='function'&&(_0xec0d56=_0x443abf,_0x443abf=void 0x0),typeof _0x3df7ed==_0x519a11(0x1ae)&&(_0x3df7ed=_0x3df7ed['toString']()),this[_0x519a11(0x25c)]!==_0x39b9af[_0x519a11(0xdb)]){_0x589652(this,_0x3df7ed,_0xec0d56);return;}_0x443abf===void 0x0&&(_0x443abf=!this['_isServer']),this[_0x519a11(0xd5)][_0x519a11(0x16f)](_0x3df7ed||_0x59ce48,_0x443abf,_0xec0d56);}[_0x2f493a(0xa6)](){const _0x21e935=_0x2f493a;this['readyState']===_0x39b9af[_0x21e935(0x10e)]||this[_0x21e935(0x25c)]===_0x39b9af['CLOSED']||(this['_paused']=!0x1,this[_0x21e935(0x178)][_0x21e935(0x19b)][_0x21e935(0x12d)]||this[_0x21e935(0x221)]['resume']());}[_0x2f493a(0x24b)](_0x6497ae,_0x50501a,_0x4f75ba){const _0x553f81=_0x2f493a;if(this[_0x553f81(0x25c)]===_0x39b9af[_0x553f81(0x10e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x50501a=='function'&&(_0x4f75ba=_0x50501a,_0x50501a={}),typeof _0x6497ae=='number'&&(_0x6497ae=_0x6497ae[_0x553f81(0xd9)]()),this['readyState']!==_0x39b9af['OPEN']){_0x589652(this,_0x6497ae,_0x4f75ba);return;}const _0x1b848c={'binary':typeof _0x6497ae!=_0x553f81(0x25a),'mask':!this[_0x553f81(0x157)],'compress':!0x0,'fin':!0x0,..._0x50501a};this['_extensions'][_0x33c084['extensionName']]||(_0x1b848c['compress']=!0x1),this['_sender'][_0x553f81(0x24b)](_0x6497ae||_0x59ce48,_0x1b848c,_0x4f75ba);}[_0x2f493a(0x1be)](){const _0x316b49=_0x2f493a;if(this['readyState']!==_0x39b9af['CLOSED']){if(this['readyState']===_0x39b9af[_0x316b49(0x10e)]){_0x4c0663(this,this[_0x316b49(0x240)],_0x316b49(0x1dc));return;}this[_0x316b49(0x221)]&&(this['_readyState']=_0x39b9af[_0x316b49(0x1a4)],this[_0x316b49(0x221)][_0x316b49(0xd4)]());}}}Object['defineProperty'](_0x39b9af,'CONNECTING',{'enumerable':!0x0,'value':_0xbdee16['indexOf']('CONNECTING')}),Object[_0x2f493a(0x20e)](_0x39b9af[_0x2f493a(0x258)],_0x2f493a(0x10e),{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0x10e))}),Object[_0x2f493a(0x20e)](_0x39b9af,'OPEN',{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0xdb))}),Object[_0x2f493a(0x20e)](_0x39b9af[_0x2f493a(0x258)],_0x2f493a(0xdb),{'enumerable':!0x0,'value':_0xbdee16['indexOf'](_0x2f493a(0xdb))}),Object[_0x2f493a(0x20e)](_0x39b9af,'CLOSING',{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0x1a4))}),Object[_0x2f493a(0x20e)](_0x39b9af[_0x2f493a(0x258)],'CLOSING',{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0x1a4))}),Object[_0x2f493a(0x20e)](_0x39b9af,_0x2f493a(0x215),{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0x215))}),Object[_0x2f493a(0x20e)](_0x39b9af[_0x2f493a(0x258)],_0x2f493a(0x215),{'enumerable':!0x0,'value':_0xbdee16[_0x2f493a(0x15f)](_0x2f493a(0x215))}),[_0x2f493a(0xf3),_0x2f493a(0x170),_0x2f493a(0x1af),_0x2f493a(0x1f2),_0x2f493a(0x137),_0x2f493a(0x25c),_0x2f493a(0x116)]['forEach'](_0xfb7e6f=>{const _0x4ae601=_0x2f493a;Object[_0x4ae601(0x20e)](_0x39b9af[_0x4ae601(0x258)],_0xfb7e6f,{'enumerable':!0x0});}),[_0x2f493a(0x1aa),_0x2f493a(0xa9),'close',_0x2f493a(0x12c)][_0x2f493a(0x242)](_0xa9ed05=>{const _0x27610d=_0x2f493a;Object[_0x27610d(0x20e)](_0x39b9af[_0x27610d(0x258)],'on'+_0xa9ed05,{'enumerable':!0x0,'get'(){const _0xe5b4d=_0x27610d;for(const _0xf0f4cb of this[_0xe5b4d(0x18c)](_0xa9ed05))if(_0xf0f4cb[_0x451e2a])return _0xf0f4cb[_0x761d17];return null;},'set'(_0x4bb0cf){const _0x288791=_0x27610d;for(const _0x4f12af of this[_0x288791(0x18c)](_0xa9ed05))if(_0x4f12af[_0x451e2a]){this[_0x288791(0x21d)](_0xa9ed05,_0x4f12af);break;}typeof _0x4bb0cf==_0x288791(0x128)&&this[_0x288791(0x188)](_0xa9ed05,_0x4bb0cf,{[_0x451e2a]:!0x0});}});}),_0x39b9af[_0x2f493a(0x258)][_0x2f493a(0x188)]=_0x3c6fba,_0x39b9af[_0x2f493a(0x258)][_0x2f493a(0x147)]=_0x193417,we=_0x39b9af;function _0x2341e3(_0xaa889f,_0x141490,_0x389c09,_0x365512){const _0x300953=_0x2f493a,_0x100db6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3ac995[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x365512,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x300953(0x18f),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xaa889f[_0x300953(0x218)]=_0x100db6[_0x300953(0x1e9)],!_0x3ac995[_0x300953(0x1fc)](_0x100db6[_0x300953(0x1a0)]))throw new RangeError(_0x300953(0xd6)+_0x100db6['protocolVersion']+_0x300953(0x1d4)+_0x3ac995[_0x300953(0x21f)](',\x20')+')');let _0x2dcd89;if(_0x141490 instanceof _0x254e78)_0x2dcd89=_0x141490;else try{_0x2dcd89=new _0x254e78(_0x141490);}catch{throw new SyntaxError(_0x300953(0x14a)+_0x141490);}_0x2dcd89[_0x300953(0x137)]===_0x300953(0x1bd)?_0x2dcd89[_0x300953(0x137)]=_0x300953(0x1f1):_0x2dcd89['protocol']===_0x300953(0xa4)&&(_0x2dcd89['protocol']=_0x300953(0x236)),_0xaa889f[_0x300953(0xfb)]=_0x2dcd89[_0x300953(0x1a9)];const _0x2d36b9=_0x2dcd89['protocol']===_0x300953(0x236),_0x3c7668=_0x2dcd89[_0x300953(0x137)]===_0x300953(0x1d5);let _0x2c87e0;if(_0x2dcd89['protocol']!=='ws:'&&!_0x2d36b9&&!_0x3c7668?_0x2c87e0=_0x300953(0xc6):_0x3c7668&&!_0x2dcd89[_0x300953(0x114)]?_0x2c87e0=_0x300953(0x233):_0x2dcd89['hash']&&(_0x2c87e0='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x2c87e0){const _0xb0bd41=new SyntaxError(_0x2c87e0);if(_0xaa889f[_0x300953(0x193)]===0x0)throw _0xb0bd41;_0x1b6494(_0xaa889f,_0xb0bd41);return;}const _0x1ec905=_0x2d36b9?0x1bb:0x50,_0x134a92=_0x8ca056(0x10)[_0x300953(0xd9)](_0x300953(0x117)),_0x27173c=_0x2d36b9?_0x139edb[_0x300953(0x124)]:_0x87a542[_0x300953(0x124)],_0x25fdfe=new Set();let _0x511708;if(_0x100db6['createConnection']=_0x100db6[_0x300953(0x1da)]||(_0x2d36b9?_0x211e15:_0x34831c),_0x100db6['defaultPort']=_0x100db6[_0x300953(0xad)]||_0x1ec905,_0x100db6[_0x300953(0x24f)]=_0x2dcd89[_0x300953(0x24f)]||_0x1ec905,_0x100db6[_0x300953(0x1b2)]=_0x2dcd89['hostname'][_0x300953(0x141)]('[')?_0x2dcd89[_0x300953(0xcd)]['slice'](0x1,-0x1):_0x2dcd89[_0x300953(0xcd)],_0x100db6[_0x300953(0xe1)]={..._0x100db6[_0x300953(0xe1)],'Sec-WebSocket-Version':_0x100db6[_0x300953(0x1a0)],'Sec-WebSocket-Key':_0x134a92,'Connection':_0x300953(0x142),'Upgrade':_0x300953(0xa5)},_0x100db6[_0x300953(0x173)]=_0x2dcd89[_0x300953(0x114)]+_0x2dcd89[_0x300953(0xbc)],_0x100db6['timeout']=_0x100db6['handshakeTimeout'],_0x100db6[_0x300953(0x165)]&&(_0x511708=new _0x33c084(_0x100db6['perMessageDeflate']!==!0x0?_0x100db6[_0x300953(0x165)]:{},!0x1,_0x100db6['maxPayload']),_0x100db6[_0x300953(0xe1)]['Sec-WebSocket-Extensions']=_0x56b1b0({[_0x33c084[_0x300953(0x1cc)]]:_0x511708[_0x300953(0x216)]()})),_0x389c09[_0x300953(0x238)]){for(const _0x169a3a of _0x389c09){if(typeof _0x169a3a!=_0x300953(0x25a)||!_0x2b8cea[_0x300953(0x19a)](_0x169a3a)||_0x25fdfe[_0x300953(0x17d)](_0x169a3a))throw new SyntaxError(_0x300953(0x11e));_0x25fdfe[_0x300953(0x134)](_0x169a3a);}_0x100db6['headers']['Sec-WebSocket-Protocol']=_0x389c09[_0x300953(0x21f)](',');}if(_0x100db6['origin']&&(_0x100db6[_0x300953(0x1a0)]<0xd?_0x100db6[_0x300953(0xe1)][_0x300953(0x1e6)]=_0x100db6['origin']:_0x100db6[_0x300953(0xe1)][_0x300953(0x244)]=_0x100db6['origin']),(_0x2dcd89['username']||_0x2dcd89[_0x300953(0x1c6)])&&(_0x100db6[_0x300953(0x210)]=_0x2dcd89[_0x300953(0x136)]+':'+_0x2dcd89[_0x300953(0x1c6)]),_0x3c7668){const _0x467977=_0x100db6[_0x300953(0x173)][_0x300953(0x168)](':');_0x100db6['socketPath']=_0x467977[0x0],_0x100db6['path']=_0x467977[0x1];}let _0x3b1aaf;if(_0x100db6['followRedirects']){if(_0xaa889f['_redirects']===0x0){_0xaa889f[_0x300953(0x16c)]=_0x3c7668,_0xaa889f['_originalSecure']=_0x2d36b9,_0xaa889f['_originalHostOrSocketPath']=_0x3c7668?_0x100db6[_0x300953(0xdf)]:_0x2dcd89[_0x300953(0x1b2)];const _0x44d256=_0x365512&&_0x365512['headers'];if(_0x365512={..._0x365512,'headers':{}},_0x44d256){for(const [_0xc066b3,_0x113671]of Object[_0x300953(0xbb)](_0x44d256))_0x365512[_0x300953(0xe1)][_0xc066b3[_0x300953(0x11b)]()]=_0x113671;}}else{if(_0xaa889f[_0x300953(0x20c)]('redirect')===0x0){const _0x2d2fd0=_0x3c7668?_0xaa889f[_0x300953(0x16c)]?_0x100db6['socketPath']===_0xaa889f[_0x300953(0x14f)]:!0x1:_0xaa889f['_originalIpc']?!0x1:_0x2dcd89[_0x300953(0x1b2)]===_0xaa889f['_originalHostOrSocketPath'];(!_0x2d2fd0||_0xaa889f[_0x300953(0xe6)]&&!_0x2d36b9)&&(delete _0x100db6[_0x300953(0xe1)][_0x300953(0x18d)],delete _0x100db6[_0x300953(0xe1)][_0x300953(0xf1)],_0x2d2fd0||delete _0x100db6[_0x300953(0xe1)]['host'],_0x100db6[_0x300953(0x210)]=void 0x0);}}_0x100db6[_0x300953(0x210)]&&!_0x365512[_0x300953(0xe1)][_0x300953(0x18d)]&&(_0x365512[_0x300953(0xe1)][_0x300953(0x18d)]=_0x300953(0x130)+Buffer[_0x300953(0x15b)](_0x100db6[_0x300953(0x210)])[_0x300953(0xd9)]('base64')),_0x3b1aaf=_0xaa889f[_0x300953(0x240)]=_0x27173c(_0x100db6),_0xaa889f[_0x300953(0x193)]&&_0xaa889f[_0x300953(0x13e)](_0x300953(0xd0),_0xaa889f[_0x300953(0x116)],_0x3b1aaf);}else _0x3b1aaf=_0xaa889f['_req']=_0x27173c(_0x100db6);_0x100db6[_0x300953(0x12b)]&&_0x3b1aaf['on'](_0x300953(0x12b),()=>{const _0x2267fb=_0x300953;_0x4c0663(_0xaa889f,_0x3b1aaf,_0x2267fb(0x253));}),_0x3b1aaf['on']('error',_0x1e0a70=>{const _0x17a19f=_0x300953;_0x3b1aaf===null||_0x3b1aaf[_0x18e172]||(_0x3b1aaf=_0xaa889f[_0x17a19f(0x240)]=null,_0x1b6494(_0xaa889f,_0x1e0a70));}),_0x3b1aaf['on']('response',_0x34151d=>{const _0x5197fa=_0x300953,_0x8e1f56=_0x34151d[_0x5197fa(0xe1)][_0x5197fa(0xc9)],_0x2215cb=_0x34151d[_0x5197fa(0xa3)];if(_0x8e1f56&&_0x100db6['followRedirects']&&_0x2215cb>=0x12c&&_0x2215cb<0x190){if(++_0xaa889f[_0x5197fa(0x193)]>_0x100db6['maxRedirects']){_0x4c0663(_0xaa889f,_0x3b1aaf,'Maximum\x20redirects\x20exceeded');return;}_0x3b1aaf['abort']();let _0x1b699e;try{_0x1b699e=new _0x254e78(_0x8e1f56,_0x141490);}catch{const _0x1c1413=new SyntaxError(_0x5197fa(0x14a)+_0x8e1f56);_0x1b6494(_0xaa889f,_0x1c1413);return;}_0x2341e3(_0xaa889f,_0x1b699e,_0x389c09,_0x365512);}else _0xaa889f[_0x5197fa(0x13e)]('unexpected-response',_0x3b1aaf,_0x34151d)||_0x4c0663(_0xaa889f,_0x3b1aaf,'Unexpected\x20server\x20response:\x20'+_0x34151d['statusCode']);}),_0x3b1aaf['on'](_0x300953(0xbe),(_0x132f95,_0x3b8c26,_0x148f1b)=>{const _0x2ef314=_0x300953;if(_0xaa889f[_0x2ef314(0x13e)](_0x2ef314(0xbe),_0x132f95),_0xaa889f[_0x2ef314(0x25c)]!==_0x39b9af['CONNECTING'])return;_0x3b1aaf=_0xaa889f[_0x2ef314(0x240)]=null;const _0x1a447c=_0x132f95['headers']['upgrade'];if(_0x1a447c===void 0x0||_0x1a447c[_0x2ef314(0x11b)]()!==_0x2ef314(0xa5)){_0x4c0663(_0xaa889f,_0x3b8c26,_0x2ef314(0x207));return;}const _0x24019c=_0x237bf7(_0x2ef314(0x101))[_0x2ef314(0x189)](_0x134a92+_0x331d77)[_0x2ef314(0x24a)](_0x2ef314(0x117));if(_0x132f95[_0x2ef314(0xe1)]['sec-websocket-accept']!==_0x24019c){_0x4c0663(_0xaa889f,_0x3b8c26,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x1ffa9d=_0x132f95['headers']['sec-websocket-protocol'];let _0x4ab0c3;if(_0x1ffa9d!==void 0x0?_0x25fdfe[_0x2ef314(0x183)]?_0x25fdfe[_0x2ef314(0x17d)](_0x1ffa9d)||(_0x4ab0c3=_0x2ef314(0x25b)):_0x4ab0c3=_0x2ef314(0x12a):_0x25fdfe['size']&&(_0x4ab0c3=_0x2ef314(0x1cf)),_0x4ab0c3){_0x4c0663(_0xaa889f,_0x3b8c26,_0x4ab0c3);return;}_0x1ffa9d&&(_0xaa889f[_0x2ef314(0x1cb)]=_0x1ffa9d);const _0x93f75d=_0x132f95[_0x2ef314(0xe1)]['sec-websocket-extensions'];if(_0x93f75d!==void 0x0){if(!_0x511708){_0x4c0663(_0xaa889f,_0x3b8c26,_0x2ef314(0x112));return;}let _0x413b61;try{_0x413b61=_0x2dfcf2(_0x93f75d);}catch{_0x4c0663(_0xaa889f,_0x3b8c26,_0x2ef314(0x169));return;}const _0xc70e37=Object[_0x2ef314(0xd8)](_0x413b61);if(_0xc70e37[_0x2ef314(0x238)]!==0x1||_0xc70e37[0x0]!==_0x33c084[_0x2ef314(0x1cc)]){_0x4c0663(_0xaa889f,_0x3b8c26,_0x2ef314(0x1c0));return;}try{_0x511708[_0x2ef314(0xd7)](_0x413b61[_0x33c084['extensionName']]);}catch{_0x4c0663(_0xaa889f,_0x3b8c26,_0x2ef314(0x169));return;}_0xaa889f[_0x2ef314(0xe5)][_0x33c084['extensionName']]=_0x511708;}_0xaa889f[_0x2ef314(0x1c1)](_0x3b8c26,_0x148f1b,{'allowSynchronousEvents':_0x100db6[_0x2ef314(0x206)],'generateMask':_0x100db6['generateMask'],'maxPayload':_0x100db6[_0x2ef314(0x145)],'skipUTF8Validation':_0x100db6[_0x2ef314(0x152)]});}),_0x100db6[_0x300953(0x15a)]?_0x100db6['finishRequest'](_0x3b1aaf,_0xaa889f):_0x3b1aaf[_0x300953(0x1f6)]();}function _0x1b6494(_0x512d7f,_0x22d02c){const _0x28e657=_0x2f493a;_0x512d7f[_0x28e657(0x119)]=_0x39b9af[_0x28e657(0x1a4)],_0x512d7f[_0x28e657(0x1a2)]=!0x0,_0x512d7f[_0x28e657(0x13e)](_0x28e657(0xa9),_0x22d02c),_0x512d7f[_0x28e657(0x1e8)]();}function _0x34831c(_0x1b5495){const _0x5db0f9=_0x2f493a;return _0x1b5495[_0x5db0f9(0x173)]=_0x1b5495['socketPath'],_0x41f342[_0x5db0f9(0x1f7)](_0x1b5495);}function _0x211e15(_0x5b4d18){const _0x4b4512=_0x2f493a;return _0x5b4d18[_0x4b4512(0x173)]=void 0x0,!_0x5b4d18[_0x4b4512(0x226)]&&_0x5b4d18['servername']!==''&&(_0x5b4d18[_0x4b4512(0x226)]=_0x41f342['isIP'](_0x5b4d18[_0x4b4512(0x1b2)])?'':_0x5b4d18['host']),_0x348727[_0x4b4512(0x1f7)](_0x5b4d18);}function _0x4c0663(_0x58083b,_0x229735,_0x354363){const _0x12debb=_0x2f493a;_0x58083b[_0x12debb(0x119)]=_0x39b9af[_0x12debb(0x1a4)];const _0x6aa88=new Error(_0x354363);Error[_0x12debb(0x1eb)](_0x6aa88,_0x4c0663),_0x229735['setHeader']?(_0x229735[_0x18e172]=!0x0,_0x229735[_0x12debb(0xd3)](),_0x229735[_0x12debb(0x1c8)]&&!_0x229735['socket']['destroyed']&&_0x229735[_0x12debb(0x1c8)][_0x12debb(0xd4)](),process[_0x12debb(0x208)](_0x1b6494,_0x58083b,_0x6aa88)):(_0x229735[_0x12debb(0xd4)](_0x6aa88),_0x229735[_0x12debb(0x16d)](_0x12debb(0xa9),_0x58083b[_0x12debb(0x13e)][_0x12debb(0xd2)](_0x58083b,_0x12debb(0xa9))),_0x229735[_0x12debb(0x16d)]('close',_0x58083b[_0x12debb(0x1e8)][_0x12debb(0xd2)](_0x58083b)));}function _0x589652(_0x3a09a2,_0x1f8e67,_0x2e4c21){const _0x548aa0=_0x2f493a;if(_0x1f8e67){const _0x41b033=_0x111e35(_0x1f8e67)?_0x1f8e67[_0x548aa0(0x183)]:_0x516dc3(_0x1f8e67)[_0x548aa0(0x238)];_0x3a09a2['_socket']?_0x3a09a2[_0x548aa0(0xd5)][_0x548aa0(0x251)]+=_0x41b033:_0x3a09a2[_0x548aa0(0x21c)]+=_0x41b033;}if(_0x2e4c21){const _0x2b62fa=new Error(_0x548aa0(0x12f)+_0x3a09a2[_0x548aa0(0x25c)]+'\x20('+_0xbdee16[_0x3a09a2['readyState']]+')');process[_0x548aa0(0x208)](_0x2e4c21,_0x2b62fa);}}function _0x2ffe10(_0x2d8d24,_0x37ee6b){const _0x3f0e7d=_0x2f493a,_0x2f1772=this[_0x12f40c];_0x2f1772[_0x3f0e7d(0xe8)]=!0x0,_0x2f1772[_0x3f0e7d(0x223)]=_0x37ee6b,_0x2f1772[_0x3f0e7d(0x1df)]=_0x2d8d24,_0x2f1772[_0x3f0e7d(0x221)][_0x12f40c]!==void 0x0&&(_0x2f1772['_socket']['removeListener'](_0x3f0e7d(0x1cd),_0x19cb05),process[_0x3f0e7d(0x208)](_0x5188da,_0x2f1772[_0x3f0e7d(0x221)]),_0x2d8d24===0x3ed?_0x2f1772[_0x3f0e7d(0x23f)]():_0x2f1772[_0x3f0e7d(0x23f)](_0x2d8d24,_0x37ee6b));}function _0x227cfe(){const _0x9fb31b=_0x2f493a,_0x2399f1=this[_0x12f40c];_0x2399f1['isPaused']||_0x2399f1[_0x9fb31b(0x221)][_0x9fb31b(0xa6)]();}function _0x24b73d(_0x2dae12){const _0x42b102=_0x2f493a,_0x188a4d=this[_0x12f40c];_0x188a4d[_0x42b102(0x221)][_0x12f40c]!==void 0x0&&(_0x188a4d[_0x42b102(0x221)]['removeListener']('data',_0x19cb05),process[_0x42b102(0x208)](_0x5188da,_0x188a4d['_socket']),_0x188a4d[_0x42b102(0x23f)](_0x2dae12[_0x53f4a5])),_0x188a4d[_0x42b102(0x1a2)]||(_0x188a4d[_0x42b102(0x1a2)]=!0x0,_0x188a4d['emit'](_0x42b102(0xa9),_0x2dae12));}function _0x2fce68(){const _0x1ebc43=_0x2f493a;this[_0x12f40c][_0x1ebc43(0x1e8)]();}function _0x5a4796(_0xcf96bb,_0x34e47e){const _0xd6c8b1=_0x2f493a;this[_0x12f40c][_0xd6c8b1(0x13e)]('message',_0xcf96bb,_0x34e47e);}function _0xa3122b(_0x197d4c){const _0x4eb521=_0x2f493a,_0x508bf1=this[_0x12f40c];_0x508bf1['_autoPong']&&_0x508bf1[_0x4eb521(0x16f)](_0x197d4c,!this[_0x4eb521(0x157)],_0x3410e0),_0x508bf1['emit'](_0x4eb521(0xc4),_0x197d4c);}function _0x3eb409(_0x341933){const _0x4150a0=_0x2f493a;this[_0x12f40c]['emit'](_0x4150a0(0x16f),_0x341933);}function _0x5188da(_0x4d7884){const _0x1044b1=_0x2f493a;_0x4d7884[_0x1044b1(0xa6)]();}function _0x4c6958(_0x17414f){const _0x3b3129=_0x2f493a,_0x3be854=this[_0x12f40c];_0x3be854[_0x3b3129(0x25c)]!==_0x39b9af[_0x3b3129(0x215)]&&(_0x3be854[_0x3b3129(0x25c)]===_0x39b9af[_0x3b3129(0xdb)]&&(_0x3be854[_0x3b3129(0x119)]=_0x39b9af[_0x3b3129(0x1a4)],_0x94b310(_0x3be854)),this[_0x3b3129(0x221)]['end'](),_0x3be854[_0x3b3129(0x1a2)]||(_0x3be854[_0x3b3129(0x1a2)]=!0x0,_0x3be854[_0x3b3129(0x13e)](_0x3b3129(0xa9),_0x17414f)));}function _0x94b310(_0x259a47){const _0x1910cc=_0x2f493a;_0x259a47['_closeTimer']=setTimeout(_0x259a47[_0x1910cc(0x221)][_0x1910cc(0xd4)][_0x1910cc(0xd2)](_0x259a47['_socket']),_0x53c114);}function _0x399601(){const _0x19983a=_0x2f493a,_0x29c83e=this[_0x12f40c];this[_0x19983a(0x21d)](_0x19983a(0x23f),_0x399601),this[_0x19983a(0x21d)](_0x19983a(0x1cd),_0x19cb05),this[_0x19983a(0x21d)](_0x19983a(0x1f6),_0x4e23d4),_0x29c83e[_0x19983a(0x119)]=_0x39b9af[_0x19983a(0x1a4)];let _0x463c72;!this['_readableState'][_0x19983a(0x187)]&&!_0x29c83e[_0x19983a(0xe8)]&&!_0x29c83e[_0x19983a(0x178)][_0x19983a(0x19b)][_0x19983a(0x259)]&&(_0x463c72=_0x29c83e['_socket'][_0x19983a(0x109)]())!==null&&_0x29c83e['_receiver'][_0x19983a(0x120)](_0x463c72),_0x29c83e[_0x19983a(0x178)][_0x19983a(0x1f6)](),this[_0x12f40c]=void 0x0,clearTimeout(_0x29c83e[_0x19983a(0x13f)]),_0x29c83e['_receiver'][_0x19983a(0x19b)][_0x19983a(0xf2)]||_0x29c83e['_receiver'][_0x19983a(0x19b)][_0x19983a(0x259)]?_0x29c83e[_0x19983a(0x1e8)]():(_0x29c83e[_0x19983a(0x178)]['on'](_0x19983a(0xa9),_0x2fce68),_0x29c83e['_receiver']['on']('finish',_0x2fce68));}function _0x19cb05(_0x570b98){const _0x3dcdb9=_0x2f493a;this[_0x12f40c]['_receiver'][_0x3dcdb9(0x120)](_0x570b98)||this['pause']();}function _0x4e23d4(){const _0x80290a=_0x2f493a,_0x541859=this[_0x12f40c];_0x541859[_0x80290a(0x119)]=_0x39b9af[_0x80290a(0x1a4)],_0x541859[_0x80290a(0x178)][_0x80290a(0x1f6)](),this[_0x80290a(0x1f6)]();}function _0xfa7763(){const _0x175967=_0x2f493a,_0x1fbc5d=this[_0x12f40c];this[_0x175967(0x21d)]('error',_0xfa7763),this['on'](_0x175967(0xa9),_0x3410e0),_0x1fbc5d&&(_0x1fbc5d[_0x175967(0x119)]=_0x39b9af[_0x175967(0x1a4)],this[_0x175967(0xd4)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1bdfee}=oe;function _0x478f35(_0x23f532){_0x23f532['emit']('close');}function _0x205e26(){const _0x55ebfb=_0x10c2;!this[_0x55ebfb(0x16b)]&&this[_0x55ebfb(0x19b)][_0x55ebfb(0xf2)]&&this[_0x55ebfb(0xd4)]();}function _0x4b9242(_0x4cfe88){const _0x292d2c=_0x10c2;this[_0x292d2c(0x21d)](_0x292d2c(0xa9),_0x4b9242),this[_0x292d2c(0xd4)](),this[_0x292d2c(0x20c)]('error')===0x0&&this[_0x292d2c(0x13e)](_0x292d2c(0xa9),_0x4cfe88);}function _0x6897bd(_0x53522d,_0x57daf9){const _0x3e0260=_0x10c2;let _0x1df03a=!0x0;const _0x1ab856=new _0x1bdfee({..._0x57daf9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x53522d['on'](_0x3e0260(0x12c),function(_0x925662,_0x2cbc99){const _0xd5a157=_0x3e0260,_0x42d1cb=!_0x2cbc99&&_0x1ab856['_readableState'][_0xd5a157(0x11f)]?_0x925662['toString']():_0x925662;_0x1ab856[_0xd5a157(0x172)](_0x42d1cb)||_0x53522d[_0xd5a157(0x10a)]();}),_0x53522d[_0x3e0260(0x16d)](_0x3e0260(0xa9),function(_0x3beedc){const _0x4577a3=_0x3e0260;_0x1ab856[_0x4577a3(0x16b)]||(_0x1df03a=!0x1,_0x1ab856[_0x4577a3(0xd4)](_0x3beedc));}),_0x53522d['once'](_0x3e0260(0x23f),function(){const _0x2955b6=_0x3e0260;_0x1ab856[_0x2955b6(0x16b)]||_0x1ab856['push'](null);}),_0x1ab856[_0x3e0260(0x160)]=function(_0x206ec8,_0x13cbef){const _0x2bbe0e=_0x3e0260;if(_0x53522d[_0x2bbe0e(0x25c)]===_0x53522d[_0x2bbe0e(0x215)]){_0x13cbef(_0x206ec8),process[_0x2bbe0e(0x208)](_0x478f35,_0x1ab856);return;}let _0x1be7b6=!0x1;_0x53522d[_0x2bbe0e(0x16d)](_0x2bbe0e(0xa9),function(_0x59a41a){_0x1be7b6=!0x0,_0x13cbef(_0x59a41a);}),_0x53522d[_0x2bbe0e(0x16d)]('close',function(){const _0x4371d9=_0x2bbe0e;_0x1be7b6||_0x13cbef(_0x206ec8),process[_0x4371d9(0x208)](_0x478f35,_0x1ab856);}),_0x1df03a&&_0x53522d[_0x2bbe0e(0x1be)]();},_0x1ab856[_0x3e0260(0x14c)]=function(_0x3dd761){const _0x34574e=_0x3e0260;if(_0x53522d['readyState']===_0x53522d['CONNECTING']){_0x53522d[_0x34574e(0x16d)](_0x34574e(0x1aa),function(){_0x1ab856['_final'](_0x3dd761);});return;}_0x53522d[_0x34574e(0x221)]!==null&&(_0x53522d['_socket']['_writableState'][_0x34574e(0xf2)]?(_0x3dd761(),_0x1ab856[_0x34574e(0x111)][_0x34574e(0x187)]&&_0x1ab856[_0x34574e(0xd4)]()):(_0x53522d[_0x34574e(0x221)][_0x34574e(0x16d)](_0x34574e(0x190),function(){_0x3dd761();}),_0x53522d['close']()));},_0x1ab856['_read']=function(){const _0x48c7ce=_0x3e0260;_0x53522d[_0x48c7ce(0x1f2)]&&_0x53522d[_0x48c7ce(0xa6)]();},_0x1ab856[_0x3e0260(0xc3)]=function(_0x2213ea,_0x4297e4,_0x506e2a){const _0x5e3ee3=_0x3e0260;if(_0x53522d[_0x5e3ee3(0x25c)]===_0x53522d[_0x5e3ee3(0x10e)]){_0x53522d[_0x5e3ee3(0x16d)]('open',function(){_0x1ab856['_write'](_0x2213ea,_0x4297e4,_0x506e2a);});return;}_0x53522d[_0x5e3ee3(0x24b)](_0x2213ea,_0x506e2a);},_0x1ab856['on'](_0x3e0260(0x1f6),_0x205e26),_0x1ab856['on'](_0x3e0260(0xa9),_0x4b9242),_0x1ab856;}return Oe=_0x6897bd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x54d62c}=ae();function _0x167673(_0x288cac){const _0x35efbb=_0x10c2,_0x3c2447=new Set();let _0x5245a4=-0x1,_0x30c4cb=-0x1,_0x36ec6b=0x0;for(_0x36ec6b;_0x36ec6b<_0x288cac[_0x35efbb(0x238)];_0x36ec6b++){const _0x4890b1=_0x288cac['charCodeAt'](_0x36ec6b);if(_0x30c4cb===-0x1&&_0x54d62c[_0x4890b1]===0x1)_0x5245a4===-0x1&&(_0x5245a4=_0x36ec6b);else{if(_0x36ec6b!==0x0&&(_0x4890b1===0x20||_0x4890b1===0x9))_0x30c4cb===-0x1&&_0x5245a4!==-0x1&&(_0x30c4cb=_0x36ec6b);else{if(_0x4890b1===0x2c){if(_0x5245a4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x36ec6b);_0x30c4cb===-0x1&&(_0x30c4cb=_0x36ec6b);const _0x5c8ea4=_0x288cac[_0x35efbb(0x1d0)](_0x5245a4,_0x30c4cb);if(_0x3c2447[_0x35efbb(0x17d)](_0x5c8ea4))throw new SyntaxError('The\x20\x22'+_0x5c8ea4+_0x35efbb(0x1ec));_0x3c2447[_0x35efbb(0x134)](_0x5c8ea4),_0x5245a4=_0x30c4cb=-0x1;}else throw new SyntaxError(_0x35efbb(0x1c7)+_0x36ec6b);}}}if(_0x5245a4===-0x1||_0x30c4cb!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3d75f6=_0x288cac['slice'](_0x5245a4,_0x36ec6b);if(_0x3c2447[_0x35efbb(0x17d)](_0x3d75f6))throw new SyntaxError('The\x20\x22'+_0x3d75f6+_0x35efbb(0x1ec));return _0x3c2447[_0x35efbb(0x134)](_0x3d75f6),_0x3c2447;}return Ce={'parse':_0x167673},Ce;}var Te,rt;function Ft(){const _0x5a70f6=_0xbb2108;if(rt)return Te;rt=0x1;const _0x4dcf05=nt,_0x5a7c11=ot,{Duplex:_0x3f69bd}=oe,{createHash:_0x28841b}=Le,_0x30c917=ct(),_0x16443a=he(),_0x335b32=At(),_0x438deb=Pe(),{GUID:_0x2118c0,kWebSocket:_0x3c8aa7}=H(),_0x12e4a2=/^[+/0-9A-Za-z]{22}==$/,_0x504778=0x0,_0x240d64=0x1,_0x465e6c=0x2;class _0x4a9a7e extends _0x4dcf05{constructor(_0x5f374c,_0x334292){const _0x17bb9a=_0x10c2;if(super(),_0x5f374c={'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':_0x438deb,..._0x5f374c},_0x5f374c['port']==null&&!_0x5f374c[_0x17bb9a(0x1e0)]&&!_0x5f374c[_0x17bb9a(0x18e)]||_0x5f374c[_0x17bb9a(0x24f)]!=null&&(_0x5f374c[_0x17bb9a(0x1e0)]||_0x5f374c[_0x17bb9a(0x18e)])||_0x5f374c['server']&&_0x5f374c['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5f374c[_0x17bb9a(0x24f)]!=null?(this['_server']=_0x5a7c11[_0x17bb9a(0x15e)]((_0x49f7b8,_0x68497a)=>{const _0x406e4e=_0x17bb9a,_0x4028bf=_0x5a7c11[_0x406e4e(0x151)][0x1aa];_0x68497a[_0x406e4e(0x1a1)](0x1aa,{'Content-Length':_0x4028bf[_0x406e4e(0x238)],'Content-Type':_0x406e4e(0x19e)}),_0x68497a[_0x406e4e(0x1f6)](_0x4028bf);}),this[_0x17bb9a(0x243)][_0x17bb9a(0xe3)](_0x5f374c[_0x17bb9a(0x24f)],_0x5f374c[_0x17bb9a(0x1b2)],_0x5f374c[_0x17bb9a(0x156)],_0x334292)):_0x5f374c[_0x17bb9a(0x1e0)]&&(this[_0x17bb9a(0x243)]=_0x5f374c[_0x17bb9a(0x1e0)]),this[_0x17bb9a(0x243)]){const _0x50ae15=this[_0x17bb9a(0x13e)]['bind'](this,'connection');this['_removeListeners']=_0x420f14(this[_0x17bb9a(0x243)],{'listening':this['emit']['bind'](this,_0x17bb9a(0x235)),'error':this[_0x17bb9a(0x13e)][_0x17bb9a(0xd2)](this,_0x17bb9a(0xa9)),'upgrade':(_0x11b1cc,_0x5e43eb,_0x53e032)=>{const _0x2d335b=_0x17bb9a;this[_0x2d335b(0x1ed)](_0x11b1cc,_0x5e43eb,_0x53e032,_0x50ae15);}});}_0x5f374c['perMessageDeflate']===!0x0&&(_0x5f374c['perMessageDeflate']={}),_0x5f374c[_0x17bb9a(0x146)]&&(this[_0x17bb9a(0x19c)]=new Set(),this[_0x17bb9a(0x227)]=!0x1),this[_0x17bb9a(0x1ba)]=_0x5f374c,this[_0x17bb9a(0x167)]=_0x504778;}[_0x5a70f6(0x211)](){const _0x16adee=_0x5a70f6;if(this[_0x16adee(0x1ba)][_0x16adee(0x18e)])throw new Error(_0x16adee(0x1c3));return this['_server']?this[_0x16adee(0x243)]['address']():null;}['close'](_0x5e8916){const _0xbbae55=_0x5a70f6;if(this[_0xbbae55(0x167)]===_0x465e6c){_0x5e8916&&this[_0xbbae55(0x16d)](_0xbbae55(0x23f),()=>{const _0x24d607=_0xbbae55;_0x5e8916(new Error(_0x24d607(0x150)));}),process['nextTick'](_0x2e7958,this);return;}if(_0x5e8916&&this[_0xbbae55(0x16d)](_0xbbae55(0x23f),_0x5e8916),this[_0xbbae55(0x167)]!==_0x240d64){if(this[_0xbbae55(0x167)]=_0x240d64,this[_0xbbae55(0x1ba)][_0xbbae55(0x18e)]||this[_0xbbae55(0x1ba)][_0xbbae55(0x1e0)])this['_server']&&(this[_0xbbae55(0x203)](),this[_0xbbae55(0x203)]=this[_0xbbae55(0x243)]=null),this[_0xbbae55(0x19c)]?this[_0xbbae55(0x19c)][_0xbbae55(0x183)]?this[_0xbbae55(0x227)]=!0x0:process[_0xbbae55(0x208)](_0x2e7958,this):process[_0xbbae55(0x208)](_0x2e7958,this);else{const _0x5b3037=this[_0xbbae55(0x243)];this[_0xbbae55(0x203)](),this[_0xbbae55(0x203)]=this['_server']=null,_0x5b3037[_0xbbae55(0x23f)](()=>{_0x2e7958(this);});}}}[_0x5a70f6(0x198)](_0x3782c1){const _0x1dcc24=_0x5a70f6;if(this[_0x1dcc24(0x1ba)][_0x1dcc24(0x173)]){const _0x223306=_0x3782c1[_0x1dcc24(0x116)][_0x1dcc24(0x15f)]('?');if((_0x223306!==-0x1?_0x3782c1['url'][_0x1dcc24(0x1d0)](0x0,_0x223306):_0x3782c1[_0x1dcc24(0x116)])!==this[_0x1dcc24(0x1ba)][_0x1dcc24(0x173)])return!0x1;}return!0x0;}[_0x5a70f6(0x1ed)](_0x1fdc16,_0x3522b4,_0x4dea4e,_0xdc5875){const _0x328985=_0x5a70f6;_0x3522b4['on'](_0x328985(0xa9),_0x38f005);const _0x1c03c9=_0x1fdc16[_0x328985(0xe1)][_0x328985(0x1fa)],_0x47c84f=_0x1fdc16[_0x328985(0xe1)][_0x328985(0xbe)],_0x4a48e0=+_0x1fdc16['headers']['sec-websocket-version'];if(_0x1fdc16['method']!=='GET'){_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x195,_0x328985(0x20b));return;}if(_0x47c84f===void 0x0||_0x47c84f[_0x328985(0x11b)]()!==_0x328985(0xa5)){_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x190,_0x328985(0x207));return;}if(_0x1c03c9===void 0x0||!_0x12e4a2[_0x328985(0x19a)](_0x1c03c9)){_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x190,_0x328985(0xf4));return;}if(_0x4a48e0!==0x8&&_0x4a48e0!==0xd){_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x328985(0x198)](_0x1fdc16)){_0x17971f(_0x3522b4,0x190);return;}const _0x4d6d4a=_0x1fdc16[_0x328985(0xe1)][_0x328985(0xc8)];let _0x1c8bdb=new Set();if(_0x4d6d4a!==void 0x0)try{_0x1c8bdb=_0x335b32['parse'](_0x4d6d4a);}catch{_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x190,_0x328985(0x199));return;}const _0x38dcc8=_0x1fdc16[_0x328985(0xe1)][_0x328985(0xf7)],_0x2237ff={};if(this[_0x328985(0x1ba)][_0x328985(0x165)]&&_0x38dcc8!==void 0x0){const _0x1e9495=new _0x16443a(this[_0x328985(0x1ba)][_0x328985(0x165)],!0x0,this[_0x328985(0x1ba)][_0x328985(0x145)]);try{const _0x521200=_0x30c917[_0x328985(0x184)](_0x38dcc8);_0x521200[_0x16443a[_0x328985(0x1cc)]]&&(_0x1e9495[_0x328985(0xd7)](_0x521200[_0x16443a['extensionName']]),_0x2237ff[_0x16443a[_0x328985(0x1cc)]]=_0x1e9495);}catch{_0x4f31cc(this,_0x1fdc16,_0x3522b4,0x190,_0x328985(0x250));return;}}if(this[_0x328985(0x1ba)][_0x328985(0x174)]){const _0x167150={'origin':_0x1fdc16[_0x328985(0xe1)][''+(_0x4a48e0===0x8?'sec-websocket-origin':_0x328985(0x1dd))],'secure':!!(_0x1fdc16[_0x328985(0x1c8)][_0x328985(0x1c9)]||_0x1fdc16['socket']['encrypted']),'req':_0x1fdc16};if(this[_0x328985(0x1ba)][_0x328985(0x174)][_0x328985(0x238)]===0x2){this['options'][_0x328985(0x174)](_0x167150,(_0x26ab4a,_0x36482d,_0xc01adc,_0x42f4ca)=>{const _0x1088bd=_0x328985;if(!_0x26ab4a)return _0x17971f(_0x3522b4,_0x36482d||0x191,_0xc01adc,_0x42f4ca);this[_0x1088bd(0xa2)](_0x2237ff,_0x1c03c9,_0x1c8bdb,_0x1fdc16,_0x3522b4,_0x4dea4e,_0xdc5875);});return;}if(!this[_0x328985(0x1ba)][_0x328985(0x174)](_0x167150))return _0x17971f(_0x3522b4,0x191);}this[_0x328985(0xa2)](_0x2237ff,_0x1c03c9,_0x1c8bdb,_0x1fdc16,_0x3522b4,_0x4dea4e,_0xdc5875);}[_0x5a70f6(0xa2)](_0x10cade,_0x46d76d,_0x47cd94,_0x3f7759,_0x51fe22,_0x5c31a0,_0x43c535){const _0x53c901=_0x5a70f6;if(!_0x51fe22[_0x53c901(0xb4)]||!_0x51fe22[_0x53c901(0x213)])return _0x51fe22[_0x53c901(0xd4)]();if(_0x51fe22[_0x3c8aa7])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x53c901(0x167)]>_0x504778)return _0x17971f(_0x51fe22,0x1f7);const _0x39f183=[_0x53c901(0xab),_0x53c901(0xda),_0x53c901(0x252),_0x53c901(0x100)+_0x28841b(_0x53c901(0x101))[_0x53c901(0x189)](_0x46d76d+_0x2118c0)[_0x53c901(0x24a)]('base64')],_0x36c442=new this['options'][(_0x53c901(0x149))](null,void 0x0,this[_0x53c901(0x1ba)]);if(_0x47cd94[_0x53c901(0x183)]){const _0x29394c=this[_0x53c901(0x1ba)][_0x53c901(0x143)]?this[_0x53c901(0x1ba)]['handleProtocols'](_0x47cd94,_0x3f7759):_0x47cd94['values']()[_0x53c901(0xfd)]()[_0x53c901(0x123)];_0x29394c&&(_0x39f183[_0x53c901(0x172)]('Sec-WebSocket-Protocol:\x20'+_0x29394c),_0x36c442[_0x53c901(0x1cb)]=_0x29394c);}if(_0x10cade[_0x16443a['extensionName']]){const _0x583508=_0x10cade[_0x16443a[_0x53c901(0x1cc)]][_0x53c901(0x1ea)],_0x57613d=_0x30c917[_0x53c901(0xaf)]({[_0x16443a['extensionName']]:[_0x583508]});_0x39f183[_0x53c901(0x172)](_0x53c901(0x104)+_0x57613d),_0x36c442[_0x53c901(0xe5)]=_0x10cade;}this['emit'](_0x53c901(0xe1),_0x39f183,_0x3f7759),_0x51fe22[_0x53c901(0x120)](_0x39f183['concat']('\x0d\x0a')[_0x53c901(0x21f)]('\x0d\x0a')),_0x51fe22[_0x53c901(0x21d)](_0x53c901(0xa9),_0x38f005),_0x36c442[_0x53c901(0x1c1)](_0x51fe22,_0x5c31a0,{'allowSynchronousEvents':this[_0x53c901(0x1ba)][_0x53c901(0x206)],'maxPayload':this[_0x53c901(0x1ba)][_0x53c901(0x145)],'skipUTF8Validation':this[_0x53c901(0x1ba)]['skipUTF8Validation']}),this['clients']&&(this['clients']['add'](_0x36c442),_0x36c442['on'](_0x53c901(0x23f),()=>{const _0x7033f=_0x53c901;this[_0x7033f(0x19c)][_0x7033f(0xa7)](_0x36c442),this[_0x7033f(0x227)]&&!this['clients'][_0x7033f(0x183)]&&process['nextTick'](_0x2e7958,this);})),_0x43c535(_0x36c442,_0x3f7759);}}Te=_0x4a9a7e;function _0x420f14(_0x2d808a,_0x2b16dd){const _0x1d2e45=_0x5a70f6;for(const _0x40439e of Object[_0x1d2e45(0xd8)](_0x2b16dd))_0x2d808a['on'](_0x40439e,_0x2b16dd[_0x40439e]);return function(){const _0x303389=_0x1d2e45;for(const _0x5ce4ef of Object['keys'](_0x2b16dd))_0x2d808a[_0x303389(0x21d)](_0x5ce4ef,_0x2b16dd[_0x5ce4ef]);};}function _0x2e7958(_0x1ca8bb){const _0x2bb461=_0x5a70f6;_0x1ca8bb['_state']=_0x465e6c,_0x1ca8bb[_0x2bb461(0x13e)]('close');}function _0x38f005(){const _0x46a149=_0x5a70f6;this[_0x46a149(0xd4)]();}function _0x17971f(_0x2cbac7,_0x37bb76,_0x3f7994,_0x4d2165){const _0x4802f7=_0x5a70f6;_0x3f7994=_0x3f7994||_0x5a7c11[_0x4802f7(0x151)][_0x37bb76],_0x4d2165={'Connection':_0x4802f7(0x23f),'Content-Type':_0x4802f7(0x1b8),'Content-Length':Buffer[_0x4802f7(0xe7)](_0x3f7994),..._0x4d2165},_0x2cbac7[_0x4802f7(0x16d)](_0x4802f7(0x190),_0x2cbac7['destroy']),_0x2cbac7['end'](_0x4802f7(0xf0)+_0x37bb76+'\x20'+_0x5a7c11[_0x4802f7(0x151)][_0x37bb76]+'\x0d\x0a'+Object[_0x4802f7(0xd8)](_0x4d2165)['map'](_0x3fef24=>_0x3fef24+':\x20'+_0x4d2165[_0x3fef24])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3f7994);}function _0x4f31cc(_0x1a6fad,_0x39e1bb,_0x544fb4,_0x569ff1,_0x4b7dd3){const _0x775699=_0x5a70f6;if(_0x1a6fad['listenerCount'](_0x775699(0x133))){const _0x403a8e=new Error(_0x4b7dd3);Error[_0x775699(0x1eb)](_0x403a8e,_0x4f31cc),_0x1a6fad[_0x775699(0x13e)](_0x775699(0x133),_0x403a8e,_0x544fb4,_0x39e1bb);}else _0x17971f(_0x544fb4,_0x569ff1,_0x4b7dd3);}return Te;}function _0x10c2(_0x5113e9,_0x35edb5){const _0x58289f=_0x5828();return _0x10c2=function(_0x10c296,_0x47f76a){_0x10c296=_0x10c296-0xa1;let _0x2d6794=_0x58289f[_0x10c296];return _0x2d6794;},_0x10c2(_0x5113e9,_0x35edb5);}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x269f9c,_0xe96eb0,_0x4cc8ad,_0x252bb6)=>{const _0x44c8ca=_0xbb2108;for(var _0x14272f=_0x252bb6>0x1?void 0x0:_0x252bb6?jt(_0xe96eb0,_0x4cc8ad):_0xe96eb0,_0x1faf7e=_0x269f9c[_0x44c8ca(0x238)]-0x1,_0x48d325;_0x1faf7e>=0x0;_0x1faf7e--)(_0x48d325=_0x269f9c[_0x1faf7e])&&(_0x14272f=_0x48d325(_0x14272f)||_0x14272f);return _0x14272f;},qt=(_0x1967e6,_0x260111)=>(_0x2da9a7,_0x2dce66)=>_0x260111(_0x2da9a7,_0x2dce66,_0x1967e6);let ke=class extends A[_0xbb2108(0xce)]{constructor(_0x3921f9){const _0x333dbd=_0xbb2108;super(),this[_0x333dbd(0xf8)]=_0x3921f9;}[_0xbb2108(0x115)](_0x25285a){const _0x42549e=_0xbb2108;var _0x31613d;const _0x4a5c1c=(_0x31613d=this['_configService']['getConfig'](fe))==null?void 0x0:_0x31613d[_0x42549e(0x105)];try{const _0x3f988a=new $t(_0x25285a,{'headers':{..._0x4a5c1c}}),_0x2fa25b=new A['DisposableCollection']();return{'URL':_0x25285a,'close':(_0x56f441,_0x382a59)=>{const _0x3b6f05=_0x42549e;_0x3f988a[_0x3b6f05(0x23f)](_0x56f441,_0x382a59),_0x2fa25b[_0x3b6f05(0x222)]();},'send':_0x21f4b7=>{const _0x3cbb99=_0x42549e;_0x3f988a[_0x3cbb99(0x24b)](_0x21f4b7);},'open$':new V[(_0x42549e(0x1ff))](_0x549127=>{const _0xd276a=_0x42549e,_0x32a277=_0x5c0134=>_0x549127[_0xd276a(0xfd)](_0x5c0134);_0x3f988a['addEventListener'](_0xd276a(0x1aa),_0x32a277),_0x2fa25b[_0xd276a(0x134)](A['toDisposable'](()=>_0x3f988a[_0xd276a(0x147)]('open',_0x32a277)));})[_0x42549e(0x177)](V[_0x42549e(0x217)]()),'close$':new V[(_0x42549e(0x1ff))](_0x59bb1f=>{const _0x307d9e=_0x42549e,_0x2ac052=_0x183164=>_0x59bb1f[_0x307d9e(0xfd)](_0x183164);_0x3f988a[_0x307d9e(0x188)]('close',_0x2ac052),_0x2fa25b[_0x307d9e(0x134)](A[_0x307d9e(0x129)](()=>_0x3f988a[_0x307d9e(0x147)](_0x307d9e(0x23f),_0x2ac052)));})[_0x42549e(0x177)](V[_0x42549e(0x217)]()),'error$':new V['Observable'](_0x47dc20=>{const _0x47f171=_0x42549e,_0x891b3c=_0x1a2d50=>_0x47dc20[_0x47f171(0xfd)](_0x1a2d50);_0x3f988a[_0x47f171(0x188)](_0x47f171(0xa9),_0x891b3c),_0x2fa25b[_0x47f171(0x134)](A[_0x47f171(0x129)](()=>_0x3f988a['removeEventListener'](_0x47f171(0xa9),_0x891b3c)));})[_0x42549e(0x177)](V[_0x42549e(0x217)]()),'message$':new V[(_0x42549e(0x1ff))](_0xde4d61=>{const _0x2e6b03=_0x42549e,_0x200fd5=_0x1f7f27=>_0xde4d61['next'](_0x1f7f27);_0x3f988a['addEventListener'](_0x2e6b03(0x12c),_0x200fd5),_0x2fa25b['add'](A[_0x2e6b03(0x129)](()=>_0x3f988a[_0x2e6b03(0x147)](_0x2e6b03(0x12c),_0x200fd5)));})['pipe'](V[_0x42549e(0x217)]())};}catch(_0x3ec4f1){return console['error'](_0x3ec4f1),null;}}};ke=Wt([qt(0x0,A[_0xbb2108(0x17b)])],ke);var Gt=Object[_0xbb2108(0x20e)],Vt=Object[_0xbb2108(0xb0)],Ht=(_0x30a414,_0x2632aa,_0x4fd27b)=>_0x2632aa in _0x30a414?Gt(_0x30a414,_0x2632aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fd27b}):_0x30a414[_0x2632aa]=_0x4fd27b,zt=(_0x2e8234,_0x3e5c94,_0x2ba1a5,_0x41896e)=>{const _0x10fa6a=_0xbb2108;for(var _0x4a0a32=_0x41896e>0x1?void 0x0:_0x41896e?Vt(_0x3e5c94,_0x2ba1a5):_0x3e5c94,_0x5d4dca=_0x2e8234[_0x10fa6a(0x238)]-0x1,_0x274a05;_0x5d4dca>=0x0;_0x5d4dca--)(_0x274a05=_0x2e8234[_0x5d4dca])&&(_0x4a0a32=_0x274a05(_0x4a0a32)||_0x4a0a32);return _0x4a0a32;},Ne=(_0x33011c,_0x59d676)=>(_0x2c91ed,_0x22e56c)=>_0x59d676(_0x2c91ed,_0x22e56c,_0x33011c),Yt=(_0x12f813,_0x24174a,_0x247adb)=>Ht(_0x12f813,_0x24174a+'',_0x247adb);exports[_0xbb2108(0x166)]=class extends A['Plugin']{constructor(_0x539e58=Ct,_0xfc4bcc,_0x4323ee,_0xf130fe){const _0x4df72e=_0xbb2108;_0x539e58[_0x4df72e(0x105)]||_0xfc4bcc[_0x4df72e(0x200)](_0x4df72e(0x110)),super(),this[_0x4df72e(0xf8)]=_0x4323ee,this[_0x4df72e(0x24e)]=_0xf130fe,this['_configService'][_0x4df72e(0x10b)](fe,_0x539e58);}[_0xbb2108(0x14d)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x1ff393=_0xbb2108;A[_0x1ff393(0x21e)](this[_0x1ff393(0x24e)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0xbb2108(0x166)],'pluginName',_0xbb2108(0x163)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0xbb2108(0x255)](st[_0xbb2108(0x220)]),Ne(0x1,A[_0xbb2108(0x1bb)]),Ne(0x2,A[_0xbb2108(0x17b)]),Ne(0x3,A[_0xbb2108(0x144)](A[_0xbb2108(0x15c)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0xbb2108(0xb0)],Xt=(_0x3846d0,_0x308408,_0x51084e,_0x57cf60)=>{for(var _0x3c3dce=_0x57cf60>0x1?void 0x0:_0x57cf60?Kt(_0x308408,_0x51084e):_0x308408,_0x27c05a=_0x3846d0['length']-0x1,_0x453ffc;_0x27c05a>=0x0;_0x27c05a--)(_0x453ffc=_0x3846d0[_0x27c05a])&&(_0x3c3dce=_0x453ffc(_0x3c3dce)||_0x3c3dce);return _0x3c3dce;},ne=(_0x50e21f,_0x4bbd6a)=>(_0x4ac33a,_0x2afeec)=>_0x4bbd6a(_0x4ac33a,_0x2afeec,_0x50e21f);exports['NodeCollaborationSocketService']=class extends st[_0xbb2108(0x16a)]{constructor(_0x20618c,_0x14c587,_0x15b453,_0x2c1d1e,_0x4648c6){const _0x5d1814=_0xbb2108;super(_0x20618c,_0x14c587,_0x15b453,_0x2c1d1e,_0x4648c6);const _0x4dabca=this[_0x5d1814(0xf8)][_0x5d1814(0x108)](fe);this[_0x5d1814(0x131)][_0x5d1814(0x1b5)]({'interceptor':(_0x2229f8,_0x30e9d3)=>{const _0x55c88c=_0x5d1814;var _0x6d15b9;const _0x19d91d=_0x2229f8[_0x55c88c(0xe1)];return(_0x6d15b9=_0x4dabca==null?void 0x0:_0x4dabca[_0x55c88c(0x105)])!=null&&_0x6d15b9[_0x55c88c(0xf1)]&&_0x19d91d[_0x55c88c(0x1b7)]('Cookie',_0x4dabca['customHeaders'][_0x55c88c(0xf1)]),_0x30e9d3(_0x2229f8);}});}async[_0xbb2108(0x115)](_0xdb8429){const _0x5aae20=_0xbb2108;return this[_0x5aae20(0x229)](_0xdb8429);}},exports[_0xbb2108(0x102)]=Xt([ne(0x0,A[_0xbb2108(0x144)](A[_0xbb2108(0x15c)])),ne(0x1,A[_0xbb2108(0x144)](it[_0xbb2108(0x140)])),ne(0x2,A[_0xbb2108(0x17b)]),ne(0x3,A[_0xbb2108(0x1bb)]),ne(0x4,Ot[_0xbb2108(0x126)])],exports[_0xbb2108(0x102)]),exports[_0xbb2108(0xca)]=fe;
|
|
1
|
+
'use strict';const _0x4e57de=_0x1360;(function(_0x486e2d,_0x48a5a7){const _0x576876=_0x1360,_0x382107=_0x486e2d();while(!![]){try{const _0x5e9e88=parseInt(_0x576876(0x166))/0x1+-parseInt(_0x576876(0x232))/0x2+-parseInt(_0x576876(0x218))/0x3+-parseInt(_0x576876(0x283))/0x4+-parseInt(_0x576876(0x1fd))/0x5*(-parseInt(_0x576876(0x206))/0x6)+-parseInt(_0x576876(0x228))/0x7*(parseInt(_0x576876(0x284))/0x8)+parseInt(_0x576876(0x214))/0x9;if(_0x5e9e88===_0x48a5a7)break;else _0x382107['push'](_0x382107['shift']());}catch(_0x55c1a5){_0x382107['push'](_0x382107['shift']());}}}(_0x2ff6,0xe5303));Object['defineProperty'](exports,Symbol[_0x4e57de(0x297)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4e57de(0x246),Ct={'customHeaders':{}};function Tt(_0x4f121a){const _0x287404=_0x4e57de;return _0x4f121a&&_0x4f121a[_0x287404(0x140)]&&Object[_0x287404(0x178)][_0x287404(0x1e4)][_0x287404(0x1bf)](_0x4f121a,_0x287404(0x22f))?_0x4f121a[_0x287404(0x22f)]:_0x4f121a;}function at(_0x1db1cc){const _0x57758f=_0x4e57de;if(Object['prototype'][_0x57758f(0x1e4)][_0x57758f(0x1bf)](_0x1db1cc,_0x57758f(0x140)))return _0x1db1cc;var _0x16276f=_0x1db1cc[_0x57758f(0x22f)];if(typeof _0x16276f==_0x57758f(0x185)){var _0x44171b=function _0x3ae8bb(){const _0x2c886c=_0x57758f;return this instanceof _0x3ae8bb?Reflect[_0x2c886c(0x217)](_0x16276f,arguments,this[_0x2c886c(0xf1)]):_0x16276f[_0x2c886c(0x21a)](this,arguments);};_0x44171b[_0x57758f(0x178)]=_0x16276f[_0x57758f(0x178)];}else _0x44171b={};return Object[_0x57758f(0x1ff)](_0x44171b,'__esModule',{'value':!0x0}),Object[_0x57758f(0x120)](_0x1db1cc)[_0x57758f(0x294)](function(_0x139b20){const _0x5a3d06=_0x57758f;var _0x2abd57=Object[_0x5a3d06(0x136)](_0x1db1cc,_0x139b20);Object[_0x5a3d06(0x1ff)](_0x44171b,_0x139b20,_0x2abd57[_0x5a3d06(0x19e)]?_0x2abd57:{'enumerable':!0x0,'get':function(){return _0x1db1cc[_0x139b20];}});}),_0x44171b;}var se={'exports':{}},ge,Ge;function H(){const _0x19d22d=_0x4e57de;if(Ge)return ge;Ge=0x1;const _0x540a01=[_0x19d22d(0x1a8),_0x19d22d(0x210),_0x19d22d(0x1e5)],_0x45cd52=typeof Blob<'u';return _0x45cd52&&_0x540a01[_0x19d22d(0x25e)](_0x19d22d(0x151)),ge={'BINARY_TYPES':_0x540a01,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x19d22d(0x202),'hasBlob':_0x45cd52,'kForOnEventAttribute':Symbol(_0x19d22d(0x285)),'kListener':Symbol(_0x19d22d(0x165)),'kStatusCode':Symbol(_0x19d22d(0x239)),'kWebSocket':Symbol(_0x19d22d(0x244)),'NOOP':()=>{}},ge;}function _0x2ff6(){const _0x59e70d=['https:','toLowerCase','__esModule','_errorEmitted','Unexpected\x20server\x20response:\x20','isView','_redirects','indexOf','IConfigService','_closeFrameSent','map','clientTracking','_messageLength','headers','invalid\x20status\x20code\x20','reset','sha1','slice','ILogService','blob','_maxPayload','Invalid\x20WebSocket\x20frame:\x20','env','invalid\x20UTF-8\x20sequence','request','maxPayload','followRedirects','server_max_window_bits','kMessage','_bufferedAmount','_threshold','stream','Server\x20sent\x20an\x20invalid\x20subprotocol','opcode','Sec-WebSocket-Accept:\x20','isValidUTF8','readUInt16BE','buffer','createSocket','kListener','1756684WwbhAF','allocUnsafe','auth','catch','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','hash','removeAllListeners','Injector','drain','username','servername','species','onerror','_allowSynchronousEvents','base64','concat','CLOSING','conclude','prototype','haveLength','unmask','upgrade','DisposableCollection','CLOSED','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','isBuffer','_req','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','toString','dataMessage','port','function','_closeTimer','ISocketService','freeze','close','dispatch','byteOffset','entries','server','Parameter\x20\x22','_compressed','_closeCode','normalizeParams','Server\x20sent\x20no\x20subprotocol','readyState','readOnly','end','Inject','_buffers','_originalHostOrSocketPath','emitClose','object','_compress','nextTick','sec-websocket-extensions','get','invalid\x20opcode\x200','_deflate','Invalid\x20HTTP\x20method','charCodeAt','createConnection','Invalid\x20Sec-WebSocket-Accept\x20header','protocolVersion','_doCreateSocket','STATUS_CODES','nodebuffer','terminate','maskBuffer','path','hostname','getBlobData','open','text/html','_injector','_url','consume','socketPath','clients','text/plain','origin','href','isServer','includes','_registerDependencies','Z_SYNC_FLUSH','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','enqueue','call','digest','code','Invalid\x20URL:\x20','password','sendFrame','_writableState','binary','Max\x20payload\x20size\x20exceeded','_removeListeners','invalid\x20opcode\x20','setSocket','_state','Cookie','authorized','http:','kByteLength','kCode','clientMaxWindowBits','parse','getPayloadLength16','set','Invalid\x20value\x20for\x20parameter\x20\x22','_configService','encrypted','handshakeTimeout','Sec-WebSocket-Protocol','pipe','writable','captureStackTrace','perMessageDeflate','Plugin','getPayloadLength64','decompress','kType','WS_ERR_INVALID_OPCODE','value','hasOwnProperty','fragments','_server','WS_NO_BUFFER_UTIL','WS_ERR_INVALID_CLOSE_CODE','delete','offer','WS_NO_UTF_8_VALIDATE','_totalPayloadLength','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_binaryType','arrayBuffer','statusCode','then','WebSocket','errorEmitted','customHeaders','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','shouldHandle','autoPong','emit','_closeMessage','frame','isInteger','_masked','150fyjSrK','OPEN','defineProperty','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','location','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','exports','cleanup','data','188226JofLFf','registerDependencies','redirect','getInfo','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listening','target','Observable','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','url','arraybuffer','binaryType','setConfig','alloc','9659511faUUeX','maxRedirects','endEmitted','construct','2683845CuFCcJ','isArray','apply','address','toDisposable','_readyState','client_no_context_takeover','UniverCollaborationClientNodePlugin','pause','\x22\x20subprotocol\x20is\x20duplicated','kWasClean','wss:','resume','\x22\x20must\x20have\x20only\x20a\x20single\x20value','abort','_isServer','3283231DUHMYO','startLoop','byteLength','RSV1\x20must\x20be\x20clear','ws+unix:','sec-websocket-origin','ISnapshotServerService','default','\x22:\x20','dispose','387886tUbQPA','wasClean','isIP','Maximum\x20redirects\x20exceeded','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_options','removeListener','status-code','Basic\x20','shift','clientNoContextTakeover','handleUpgrade','pow','length','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createServer','cork','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','websocket','acceptAsClient','collaboration-client-node.config','_socket','serverNoContextTakeover','_protocol','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','mask','test','_paused','sec-websocket-version','kTarget','Unexpected\x20character\x20at\x20index\x20','GET','pending','Unexpected\x20end\x20of\x20input','addEventListener','NodeCollaborationSocketService','The\x20URL\x20contains\x20a\x20fragment\x20identifier','concurrencyLimit','wsClientError','_originalIpc','Invalid\x20Upgrade\x20header','HTTP/1.1\x20101\x20Switching\x20Protocols','_sender','connect','push','_httpService','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20\x22','CONNECTING','_inflate','params','from','_decompress','total-length','objectMode','Upgrade','Sec-WebSocket-Extensions:\x20','defaultPort','replace','writeHead','_closeFrameReceived','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_bufferedBytes','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_fragmented','createInflateRaw','listeners','getConfig','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','threshold','MASK\x20must\x20be\x20set','_mask','_firstFragment','createDeflateRaw','zlibInflateOptions','_queue','create','string','_destroy','verifyClient','controlMessage','3222856eKSGen','16vDWqSH','kIsForOnEventAttribute','readUInt32BE','socket','WS_ERR_UNEXPECTED_RSV_1','onclose','destroyed','pathname','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_max_window_bits','options','protocol','_maskBuffer','kError','removeEventListener','Module','forEach','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','fin','toStringTag','writeUInt16BE','error','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Opening\x20handshake\x20has\x20timed\x20out','allowSynchronousEvents','generateMask','_skipUTF8Validation','kAborted','size','Unsupported\x20protocol\x20version:\x20','Origin','next','number','bind','CollaborationSocketService','listenerCount','_generateMask','reason','Sec-WebSocket-Extensions','_originalSecure','ws:','finished','search','The\x20server\x20is\x20not\x20running','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','concurrency','rsv1','kData','Z_DEFAULT_WINDOWBITS','write','_payloadLength','writeUIntBE','pluginName','once','listen','host','_readableState','constructor','server_no_context_takeover','_fin','getMask','zlibDeflateOptions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','registerHTTPInterceptor','readable','_extensions','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','createError','Unknown\x20parameter\x20\x22','values','extensionName','Disposable','WS_ERR_EXPECTED_FIN','client','onStarting','authorization','setNoDelay','unshift','handleEvent','Sec-WebSocket-Protocol:\x20','Sec-WebSocket-Origin','send','finishRequest','cookie','completeUpgrade','unexpected-response','isPaused','timeout','_loop','dequeue','finish','ping','format','destroy','response','\x20(supported\x20versions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','jobs','add','_shouldEmitClose','client_max_window_bits','DependentOn','extensions','serverMaxWindowBits','keys','share','sec-websocket-protocol','accept','The\x20URL\x27s\x20pathname\x20is\x20empty','compress','_opcode','type','pong','_fragments','message','onmessage','_autoPong','getData','Connection:\x20Upgrade','bufferedAmount','_write','skipUTF8Validation','join','_read','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','warn','getOwnPropertyDescriptor','flush','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_receiver','_final','has','noServer'];_0x2ff6=function(){return _0x59e70d;};return _0x2ff6();}const Nt={},kt=Object[_0x4e57de(0x188)](Object[_0x4e57de(0x1ff)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x1bb049=_0x4e57de;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x38154e}=H(),_0x3e31c4=Buffer[Symbol[_0x1bb049(0x171)]];function _0x2ae29f(_0x55db46,_0x4cfdf0){const _0x284431=_0x1bb049;if(_0x55db46['length']===0x0)return _0x38154e;if(_0x55db46[_0x284431(0x23f)]===0x1)return _0x55db46[0x0];const _0x3b671d=Buffer[_0x284431(0x167)](_0x4cfdf0);let _0x52a033=0x0;for(let _0x56bb88=0x0;_0x56bb88<_0x55db46[_0x284431(0x23f)];_0x56bb88++){const _0x3fafae=_0x55db46[_0x56bb88];_0x3b671d[_0x284431(0x1d4)](_0x3fafae,_0x52a033),_0x52a033+=_0x3fafae[_0x284431(0x23f)];}return _0x52a033<_0x4cfdf0?new _0x3e31c4(_0x3b671d['buffer'],_0x3b671d[_0x284431(0x18b)],_0x52a033):_0x3b671d;}function _0x2eff27(_0x5abfb9,_0xfc957d,_0x448942,_0x3bebc8,_0x4d4b0e){for(let _0x3021fb=0x0;_0x3021fb<_0x4d4b0e;_0x3021fb++)_0x448942[_0x3bebc8+_0x3021fb]=_0x5abfb9[_0x3021fb]^_0xfc957d[_0x3021fb&0x3];}function _0x375b95(_0x1d39d1,_0x2fad08){for(let _0x442220=0x0;_0x442220<_0x1d39d1['length'];_0x442220++)_0x1d39d1[_0x442220]^=_0x2fad08[_0x442220&0x3];}function _0x593041(_0x625468){const _0x12f012=_0x1bb049;return _0x625468['length']===_0x625468[_0x12f012(0x163)][_0x12f012(0x22a)]?_0x625468[_0x12f012(0x163)]:_0x625468[_0x12f012(0x163)][_0x12f012(0x14f)](_0x625468['byteOffset'],_0x625468[_0x12f012(0x18b)]+_0x625468['length']);}function _0x404373(_0xc7a4f){const _0x66cd17=_0x1bb049;if(_0x404373[_0x66cd17(0x194)]=!0x0,Buffer[_0x66cd17(0x17f)](_0xc7a4f))return _0xc7a4f;let _0x564eb2;return _0xc7a4f instanceof ArrayBuffer?_0x564eb2=new _0x3e31c4(_0xc7a4f):ArrayBuffer[_0x66cd17(0x143)](_0xc7a4f)?_0x564eb2=new _0x3e31c4(_0xc7a4f[_0x66cd17(0x163)],_0xc7a4f[_0x66cd17(0x18b)],_0xc7a4f[_0x66cd17(0x22a)]):(_0x564eb2=Buffer[_0x66cd17(0x265)](_0xc7a4f),_0x404373[_0x66cd17(0x194)]=!0x1),_0x564eb2;}if(se['exports']={'concat':_0x2ae29f,'mask':_0x2eff27,'toArrayBuffer':_0x593041,'toBuffer':_0x404373,'unmask':_0x375b95},!process[_0x1bb049(0x154)][_0x1bb049(0x1e7)])try{const _0x443cad=Lt;se[_0x1bb049(0x203)][_0x1bb049(0x24b)]=function(_0x49d2c9,_0x4af950,_0x306a90,_0x357821,_0x2df042){const _0xfce0fa=_0x1bb049;_0x2df042<0x30?_0x2eff27(_0x49d2c9,_0x4af950,_0x306a90,_0x357821,_0x2df042):_0x443cad[_0xfce0fa(0x24b)](_0x49d2c9,_0x4af950,_0x306a90,_0x357821,_0x2df042);},se[_0x1bb049(0x203)][_0x1bb049(0x17a)]=function(_0x3b622c,_0x522259){const _0x228744=_0x1bb049;_0x3b622c[_0x228744(0x23f)]<0x20?_0x375b95(_0x3b622c,_0x522259):_0x443cad[_0x228744(0x17a)](_0x3b622c,_0x522259);};}catch{}return se[_0x1bb049(0x203)];}var ye,He;function Pt(){if(He)return ye;He=0x1;const _0x4387d1=Symbol('kDone'),_0x6ccef6=Symbol('kRun');class _0x5e3502{constructor(_0x15cea5){const _0x4f0e22=_0x1360;this[_0x4387d1]=()=>{const _0xe08e17=_0x1360;this[_0xe08e17(0x252)]--,this[_0x6ccef6]();},this[_0x4f0e22(0xe5)]=_0x15cea5||0x1/0x0,this[_0x4f0e22(0x119)]=[],this['pending']=0x0;}['add'](_0x372c7a){const _0x17114e=_0x1360;this[_0x17114e(0x119)][_0x17114e(0x25e)](_0x372c7a),this[_0x6ccef6]();}[_0x6ccef6](){const _0x1b7cb8=_0x1360;if(this['pending']!==this[_0x1b7cb8(0xe5)]&&this[_0x1b7cb8(0x119)][_0x1b7cb8(0x23f)]){const _0x1f9c34=this[_0x1b7cb8(0x119)][_0x1b7cb8(0x23b)]();this['pending']++,_0x1f9c34(this[_0x4387d1]);}}}return ye=_0x5e3502,ye;}var ve,ze;function he(){const _0x142b05=_0x4e57de;if(ze)return ve;ze=0x1;const _0xa3ec08=bt,_0x18cbc3=ce(),_0x6a4f11=Pt(),{kStatusCode:_0x6e4c03}=H(),_0x15c7dd=Buffer[Symbol[_0x142b05(0x171)]],_0x21fba0=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5a908c=Symbol('permessage-deflate'),_0x39f80c=Symbol(_0x142b05(0x267)),_0x2fa2c1=Symbol('callback'),_0x5d113c=Symbol('buffers'),_0x9b94f7=Symbol(_0x142b05(0x299));let _0x1b8230;class _0x319cca{constructor(_0x3645fa,_0x19b9f0,_0xbe654d){const _0x183b84=_0x142b05;if(this[_0x183b84(0x152)]=_0xbe654d|0x0,this['_options']=_0x3645fa||{},this[_0x183b84(0x15c)]=this[_0x183b84(0x237)][_0x183b84(0x277)]!==void 0x0?this[_0x183b84(0x237)]['threshold']:0x400,this[_0x183b84(0x227)]=!!_0x19b9f0,this[_0x183b84(0x1a0)]=null,this[_0x183b84(0x263)]=null,this[_0x183b84(0x264)]=null,!_0x1b8230){const _0x3f0877=this[_0x183b84(0x237)][_0x183b84(0x257)]!==void 0x0?this[_0x183b84(0x237)][_0x183b84(0x257)]:0xa;_0x1b8230=new _0x6a4f11(_0x3f0877);}}static get[_0x142b05(0xfe)](){return'permessage-deflate';}[_0x142b05(0x1ea)](){const _0x3795e4=_0x142b05,_0x1a917f={};return this[_0x3795e4(0x237)][_0x3795e4(0x248)]&&(_0x1a917f[_0x3795e4(0xf2)]=!0x0),this['_options'][_0x3795e4(0x23c)]&&(_0x1a917f[_0x3795e4(0x21e)]=!0x0),this[_0x3795e4(0x237)]['serverMaxWindowBits']&&(_0x1a917f['server_max_window_bits']=this[_0x3795e4(0x237)]['serverMaxWindowBits']),this[_0x3795e4(0x237)][_0x3795e4(0x1d1)]?_0x1a917f['client_max_window_bits']=this['_options'][_0x3795e4(0x1d1)]:this[_0x3795e4(0x237)][_0x3795e4(0x1d1)]==null&&(_0x1a917f['client_max_window_bits']=!0x0),_0x1a917f;}[_0x142b05(0x123)](_0x11d9e2){const _0x4698be=_0x142b05;return _0x11d9e2=this['normalizeParams'](_0x11d9e2),this[_0x4698be(0x264)]=this[_0x4698be(0x227)]?this['acceptAsServer'](_0x11d9e2):this[_0x4698be(0x245)](_0x11d9e2),this['params'];}[_0x142b05(0x204)](){const _0x2d5f57=_0x142b05;if(this[_0x2d5f57(0x263)]&&(this[_0x2d5f57(0x263)]['close'](),this[_0x2d5f57(0x263)]=null),this[_0x2d5f57(0x1a0)]){const _0x921936=this[_0x2d5f57(0x1a0)][_0x2fa2c1];this['_deflate'][_0x2d5f57(0x189)](),this[_0x2d5f57(0x1a0)]=null,_0x921936&&_0x921936(new Error(_0x2d5f57(0x29a)));}}['acceptAsServer'](_0x3ae8f4){const _0x13d4f2=_0x142b05,_0x29b9df=this[_0x13d4f2(0x237)],_0x3e627c=_0x3ae8f4['find'](_0x6be136=>!(_0x29b9df[_0x13d4f2(0x248)]===!0x1&&_0x6be136['server_no_context_takeover']||_0x6be136['server_max_window_bits']&&(_0x29b9df['serverMaxWindowBits']===!0x1||typeof _0x29b9df[_0x13d4f2(0x11f)]=='number'&&_0x29b9df[_0x13d4f2(0x11f)]>_0x6be136[_0x13d4f2(0x159)])||typeof _0x29b9df[_0x13d4f2(0x1d1)]==_0x13d4f2(0x2a4)&&!_0x6be136[_0x13d4f2(0x11c)]));if(!_0x3e627c)throw new Error(_0x13d4f2(0x181));return _0x29b9df[_0x13d4f2(0x248)]&&(_0x3e627c[_0x13d4f2(0xf2)]=!0x0),_0x29b9df['clientNoContextTakeover']&&(_0x3e627c[_0x13d4f2(0x21e)]=!0x0),typeof _0x29b9df[_0x13d4f2(0x11f)]==_0x13d4f2(0x2a4)&&(_0x3e627c[_0x13d4f2(0x159)]=_0x29b9df[_0x13d4f2(0x11f)]),typeof _0x29b9df[_0x13d4f2(0x1d1)]==_0x13d4f2(0x2a4)?_0x3e627c[_0x13d4f2(0x11c)]=_0x29b9df[_0x13d4f2(0x1d1)]:(_0x3e627c[_0x13d4f2(0x11c)]===!0x0||_0x29b9df['clientMaxWindowBits']===!0x1)&&delete _0x3e627c[_0x13d4f2(0x11c)],_0x3e627c;}[_0x142b05(0x245)](_0x592bec){const _0x55fd5e=_0x142b05,_0x8e87d8=_0x592bec[0x0];if(this['_options'][_0x55fd5e(0x23c)]===!0x1&&_0x8e87d8['client_no_context_takeover'])throw new Error(_0x55fd5e(0xe4));if(!_0x8e87d8[_0x55fd5e(0x11c)])typeof this['_options']['clientMaxWindowBits']==_0x55fd5e(0x2a4)&&(_0x8e87d8[_0x55fd5e(0x11c)]=this[_0x55fd5e(0x237)][_0x55fd5e(0x1d1)]);else{if(this[_0x55fd5e(0x237)][_0x55fd5e(0x1d1)]===!0x1||typeof this[_0x55fd5e(0x237)][_0x55fd5e(0x1d1)]==_0x55fd5e(0x2a4)&&_0x8e87d8[_0x55fd5e(0x11c)]>this[_0x55fd5e(0x237)][_0x55fd5e(0x1d1)])throw new Error(_0x55fd5e(0x139));}return _0x8e87d8;}[_0x142b05(0x191)](_0x1a5d32){const _0x5c8123=_0x142b05;return _0x1a5d32[_0x5c8123(0x294)](_0x41e769=>{const _0xc82eab=_0x5c8123;Object[_0xc82eab(0x120)](_0x41e769)['forEach'](_0x2ca577=>{const _0x41cdb9=_0xc82eab;let _0x1aaf7d=_0x41e769[_0x2ca577];if(_0x1aaf7d[_0x41cdb9(0x23f)]>0x1)throw new Error(_0x41cdb9(0x18e)+_0x2ca577+_0x41cdb9(0x225));if(_0x1aaf7d=_0x1aaf7d[0x0],_0x2ca577===_0x41cdb9(0x11c)){if(_0x1aaf7d!==!0x0){const _0x218040=+_0x1aaf7d;if(!Number[_0x41cdb9(0x1fb)](_0x218040)||_0x218040<0x8||_0x218040>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2ca577+_0x41cdb9(0x230)+_0x1aaf7d);_0x1aaf7d=_0x218040;}else{if(!this[_0x41cdb9(0x227)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2ca577+_0x41cdb9(0x230)+_0x1aaf7d);}}else{if(_0x2ca577===_0x41cdb9(0x159)){const _0x26eed1=+_0x1aaf7d;if(!Number[_0x41cdb9(0x1fb)](_0x26eed1)||_0x26eed1<0x8||_0x26eed1>0xf)throw new TypeError(_0x41cdb9(0x1d5)+_0x2ca577+_0x41cdb9(0x230)+_0x1aaf7d);_0x1aaf7d=_0x26eed1;}else{if(_0x2ca577===_0x41cdb9(0x21e)||_0x2ca577===_0x41cdb9(0xf2)){if(_0x1aaf7d!==!0x0)throw new TypeError(_0x41cdb9(0x1d5)+_0x2ca577+_0x41cdb9(0x230)+_0x1aaf7d);}else throw new Error(_0x41cdb9(0xfc)+_0x2ca577+'\x22');}}_0x41e769[_0x2ca577]=_0x1aaf7d;});}),_0x1a5d32;}[_0x142b05(0x1e0)](_0x2b3bc4,_0x4ecb43,_0x570f05){_0x1b8230['add'](_0x4b1f2a=>{const _0x1f4fa6=_0x1360;this[_0x1f4fa6(0x266)](_0x2b3bc4,_0x4ecb43,(_0x1a735a,_0x459c27)=>{_0x4b1f2a(),_0x570f05(_0x1a735a,_0x459c27);});});}[_0x142b05(0x125)](_0x7575c7,_0x1f8d88,_0x20d070){_0x1b8230['add'](_0x3e6732=>{const _0x5e7f0a=_0x1360;this[_0x5e7f0a(0x19b)](_0x7575c7,_0x1f8d88,(_0x4416ee,_0x15f901)=>{_0x3e6732(),_0x20d070(_0x4416ee,_0x15f901);});});}[_0x142b05(0x266)](_0x46b4d3,_0x224206,_0x17123a){const _0x2e9feb=_0x142b05,_0x1fd20e=this['_isServer']?_0x2e9feb(0x101):'server';if(!this[_0x2e9feb(0x263)]){const _0x1d36c7=_0x1fd20e+_0x2e9feb(0x28d),_0x485b74=typeof this['params'][_0x1d36c7]!=_0x2e9feb(0x2a4)?_0xa3ec08[_0x2e9feb(0xe8)]:this[_0x2e9feb(0x264)][_0x1d36c7];this[_0x2e9feb(0x263)]=_0xa3ec08[_0x2e9feb(0x273)]({...this['_options'][_0x2e9feb(0x27c)],'windowBits':_0x485b74}),this[_0x2e9feb(0x263)][_0x5a908c]=this,this['_inflate'][_0x39f80c]=0x0,this[_0x2e9feb(0x263)][_0x5d113c]=[],this[_0x2e9feb(0x263)]['on'](_0x2e9feb(0x299),_0x360fe4),this[_0x2e9feb(0x263)]['on'](_0x2e9feb(0x205),_0x560374);}this[_0x2e9feb(0x263)][_0x2fa2c1]=_0x17123a,this[_0x2e9feb(0x263)][_0x2e9feb(0xe9)](_0x46b4d3),_0x224206&&this[_0x2e9feb(0x263)]['write'](_0x21fba0),this[_0x2e9feb(0x263)][_0x2e9feb(0x137)](()=>{const _0x32f0dc=_0x2e9feb,_0x1418c1=this['_inflate'][_0x9b94f7];if(_0x1418c1){this[_0x32f0dc(0x263)][_0x32f0dc(0x189)](),this[_0x32f0dc(0x263)]=null,_0x17123a(_0x1418c1);return;}const _0x40f0c6=_0x18cbc3[_0x32f0dc(0x175)](this[_0x32f0dc(0x263)][_0x5d113c],this['_inflate'][_0x39f80c]);this[_0x32f0dc(0x263)][_0x32f0dc(0xf0)][_0x32f0dc(0x216)]?(this[_0x32f0dc(0x263)]['close'](),this[_0x32f0dc(0x263)]=null):(this['_inflate'][_0x39f80c]=0x0,this[_0x32f0dc(0x263)][_0x5d113c]=[],_0x224206&&this[_0x32f0dc(0x264)][_0x1fd20e+'_no_context_takeover']&&this[_0x32f0dc(0x263)]['reset']()),_0x17123a(null,_0x40f0c6);});}[_0x142b05(0x19b)](_0x25dc4f,_0x431d3e,_0x1becde){const _0x71c66b=_0x142b05,_0x44de33=this['_isServer']?_0x71c66b(0x18d):_0x71c66b(0x101);if(!this[_0x71c66b(0x1a0)]){const _0x1e733e=_0x44de33+_0x71c66b(0x28d),_0x2ce279=typeof this['params'][_0x1e733e]!=_0x71c66b(0x2a4)?_0xa3ec08['Z_DEFAULT_WINDOWBITS']:this[_0x71c66b(0x264)][_0x1e733e];this[_0x71c66b(0x1a0)]=_0xa3ec08[_0x71c66b(0x27b)]({...this[_0x71c66b(0x237)][_0x71c66b(0xf5)],'windowBits':_0x2ce279}),this[_0x71c66b(0x1a0)][_0x39f80c]=0x0,this[_0x71c66b(0x1a0)][_0x5d113c]=[],this[_0x71c66b(0x1a0)]['on'](_0x71c66b(0x205),_0xae1889);}this[_0x71c66b(0x1a0)][_0x2fa2c1]=_0x1becde,this[_0x71c66b(0x1a0)][_0x71c66b(0xe9)](_0x25dc4f),this[_0x71c66b(0x1a0)][_0x71c66b(0x137)](_0xa3ec08[_0x71c66b(0x1bb)],()=>{const _0x4337c4=_0x71c66b;if(!this[_0x4337c4(0x1a0)])return;let _0x4940c6=_0x18cbc3['concat'](this[_0x4337c4(0x1a0)][_0x5d113c],this[_0x4337c4(0x1a0)][_0x39f80c]);_0x431d3e&&(_0x4940c6=new _0x15c7dd(_0x4940c6['buffer'],_0x4940c6['byteOffset'],_0x4940c6[_0x4337c4(0x23f)]-0x4)),this[_0x4337c4(0x1a0)][_0x2fa2c1]=null,this[_0x4337c4(0x1a0)][_0x39f80c]=0x0,this[_0x4337c4(0x1a0)][_0x5d113c]=[],_0x431d3e&&this[_0x4337c4(0x264)][_0x44de33+'_no_context_takeover']&&this['_deflate'][_0x4337c4(0x14d)](),_0x1becde(null,_0x4940c6);});}}ve=_0x319cca;function _0xae1889(_0x6242c4){const _0x1c13df=_0x142b05;this[_0x5d113c][_0x1c13df(0x25e)](_0x6242c4),this[_0x39f80c]+=_0x6242c4[_0x1c13df(0x23f)];}function _0x560374(_0xaf79eb){const _0x38ae56=_0x142b05;if(this[_0x39f80c]+=_0xaf79eb[_0x38ae56(0x23f)],this[_0x5a908c][_0x38ae56(0x152)]<0x1||this[_0x39f80c]<=this[_0x5a908c][_0x38ae56(0x152)]){this[_0x5d113c][_0x38ae56(0x25e)](_0xaf79eb);return;}this[_0x9b94f7]=new RangeError(_0x38ae56(0x1c7)),this[_0x9b94f7]['code']=_0x38ae56(0x200),this[_0x9b94f7][_0x6e4c03]=0x3f1,this[_0x38ae56(0x238)]('data',_0x560374),this['reset']();}function _0x360fe4(_0x131eb5){const _0x3c8505=_0x142b05;if(this[_0x5a908c][_0x3c8505(0x263)]=null,this[_0x9b94f7]){this[_0x2fa2c1](this[_0x9b94f7]);return;}_0x131eb5[_0x6e4c03]=0x3ef,this[_0x2fa2c1](_0x131eb5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4e57de(0x188)](Object[_0x4e57de(0x1ff)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x4e57de(0x293)})),Bt=at(Rt);var Ye;function ae(){const _0x2b32af=_0x4e57de;if(Ye)return ie[_0x2b32af(0x203)];Ye=0x1;const {isUtf8:_0x12de4f}=wt,{hasBlob:_0x31ae59}=H(),_0x1c1e23=[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 _0x314824(_0x4ca70d){return _0x4ca70d>=0x3e8&&_0x4ca70d<=0x3f6&&_0x4ca70d!==0x3ec&&_0x4ca70d!==0x3ed&&_0x4ca70d!==0x3ee||_0x4ca70d>=0xbb8&&_0x4ca70d<=0x1387;}function _0x4c4e24(_0x3d2633){const _0x1e0cf5=_0x3d2633['length'];let _0x419a8a=0x0;for(;_0x419a8a<_0x1e0cf5;)if((_0x3d2633[_0x419a8a]&0x80)===0x0)_0x419a8a++;else{if((_0x3d2633[_0x419a8a]&0xe0)===0xc0){if(_0x419a8a+0x1===_0x1e0cf5||(_0x3d2633[_0x419a8a+0x1]&0xc0)!==0x80||(_0x3d2633[_0x419a8a]&0xfe)===0xc0)return!0x1;_0x419a8a+=0x2;}else{if((_0x3d2633[_0x419a8a]&0xf0)===0xe0){if(_0x419a8a+0x2>=_0x1e0cf5||(_0x3d2633[_0x419a8a+0x1]&0xc0)!==0x80||(_0x3d2633[_0x419a8a+0x2]&0xc0)!==0x80||_0x3d2633[_0x419a8a]===0xe0&&(_0x3d2633[_0x419a8a+0x1]&0xe0)===0x80||_0x3d2633[_0x419a8a]===0xed&&(_0x3d2633[_0x419a8a+0x1]&0xe0)===0xa0)return!0x1;_0x419a8a+=0x3;}else{if((_0x3d2633[_0x419a8a]&0xf8)===0xf0){if(_0x419a8a+0x3>=_0x1e0cf5||(_0x3d2633[_0x419a8a+0x1]&0xc0)!==0x80||(_0x3d2633[_0x419a8a+0x2]&0xc0)!==0x80||(_0x3d2633[_0x419a8a+0x3]&0xc0)!==0x80||_0x3d2633[_0x419a8a]===0xf0&&(_0x3d2633[_0x419a8a+0x1]&0xf0)===0x80||_0x3d2633[_0x419a8a]===0xf4&&_0x3d2633[_0x419a8a+0x1]>0x8f||_0x3d2633[_0x419a8a]>0xf4)return!0x1;_0x419a8a+=0x4;}else return!0x1;}}}return!0x0;}function _0x4edd5d(_0x3fb98b){const _0x127be6=_0x2b32af;return _0x31ae59&&typeof _0x3fb98b=='object'&&typeof _0x3fb98b['arrayBuffer']==_0x127be6(0x185)&&typeof _0x3fb98b[_0x127be6(0x127)]=='string'&&typeof _0x3fb98b[_0x127be6(0x15d)]=='function'&&(_0x3fb98b[Symbol[_0x127be6(0x297)]]==='Blob'||_0x3fb98b[Symbol[_0x127be6(0x297)]]==='File');}if(ie[_0x2b32af(0x203)]={'isBlob':_0x4edd5d,'isValidStatusCode':_0x314824,'isValidUTF8':_0x4c4e24,'tokenChars':_0x1c1e23},_0x12de4f)ie[_0x2b32af(0x203)][_0x2b32af(0x161)]=function(_0x3c433c){const _0x4dad4c=_0x2b32af;return _0x3c433c[_0x4dad4c(0x23f)]<0x18?_0x4c4e24(_0x3c433c):_0x12de4f(_0x3c433c);};else{if(!process['env'][_0x2b32af(0x1eb)])try{const _0x58973c=Bt;ie[_0x2b32af(0x203)][_0x2b32af(0x161)]=function(_0x371177){return _0x371177['length']<0x20?_0x4c4e24(_0x371177):_0x58973c(_0x371177);};}catch{}}return ie[_0x2b32af(0x203)];}var Se,Ke;function lt(){const _0x3d2575=_0x4e57de;if(Ke)return Se;Ke=0x1;const {Writable:_0x50b419}=oe,_0xf24983=he(),{BINARY_TYPES:_0x34c5e2,EMPTY_BUFFER:_0x2c4738,kStatusCode:_0x5978c5,kWebSocket:_0x182f93}=H(),{concat:_0x43514b,toArrayBuffer:_0x2a3573,unmask:_0x104619}=ce(),{isValidStatusCode:_0x20cf15,isValidUTF8:_0x49b2d4}=ae(),_0x5d52e8=Buffer[Symbol['species']],_0x571dcf=0x0,_0x318170=0x1,_0x4b3f4f=0x2,_0x68cec6=0x3,_0x4dcbca=0x4,_0x5b231e=0x5,_0x5d3bc=0x6;class _0x37e1f7 extends _0x50b419{constructor(_0x18320a={}){const _0x198ce0=_0x1360;super(),this['_allowSynchronousEvents']=_0x18320a['allowSynchronousEvents']!==void 0x0?_0x18320a[_0x198ce0(0x29c)]:!0x0,this[_0x198ce0(0x1ee)]=_0x18320a[_0x198ce0(0x211)]||_0x34c5e2[0x0],this[_0x198ce0(0xf9)]=_0x18320a['extensions']||{},this['_isServer']=!!_0x18320a[_0x198ce0(0x1b8)],this['_maxPayload']=_0x18320a[_0x198ce0(0x157)]|0x0,this['_skipUTF8Validation']=!!_0x18320a[_0x198ce0(0x131)],this[_0x182f93]=void 0x0,this['_bufferedBytes']=0x0,this[_0x198ce0(0x197)]=[],this[_0x198ce0(0x18f)]=!0x1,this['_payloadLength']=0x0,this[_0x198ce0(0x279)]=void 0x0,this[_0x198ce0(0x272)]=0x0,this['_masked']=!0x1,this[_0x198ce0(0xf3)]=!0x1,this[_0x198ce0(0x126)]=0x0,this[_0x198ce0(0x1ec)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x198ce0(0x110)]=!0x1,this[_0x198ce0(0x1cb)]=_0x571dcf;}[_0x3d2575(0x130)](_0x530593,_0x4004fd,_0x282b38){const _0x4af31d=_0x3d2575;if(this[_0x4af31d(0x126)]===0x8&&this[_0x4af31d(0x1cb)]==_0x571dcf)return _0x282b38();this[_0x4af31d(0x270)]+=_0x530593[_0x4af31d(0x23f)],this['_buffers'][_0x4af31d(0x25e)](_0x530593),this[_0x4af31d(0x229)](_0x282b38);}['consume'](_0x2a805c){const _0x4225e0=_0x3d2575;if(this[_0x4225e0(0x270)]-=_0x2a805c,_0x2a805c===this[_0x4225e0(0x197)][0x0][_0x4225e0(0x23f)])return this[_0x4225e0(0x197)][_0x4225e0(0x23b)]();if(_0x2a805c<this[_0x4225e0(0x197)][0x0]['length']){const _0x3c6b98=this[_0x4225e0(0x197)][0x0];return this[_0x4225e0(0x197)][0x0]=new _0x5d52e8(_0x3c6b98[_0x4225e0(0x163)],_0x3c6b98[_0x4225e0(0x18b)]+_0x2a805c,_0x3c6b98[_0x4225e0(0x23f)]-_0x2a805c),new _0x5d52e8(_0x3c6b98[_0x4225e0(0x163)],_0x3c6b98[_0x4225e0(0x18b)],_0x2a805c);}const _0x10b67a=Buffer[_0x4225e0(0x167)](_0x2a805c);do{const _0x3a99c1=this['_buffers'][0x0],_0x1e9fc6=_0x10b67a['length']-_0x2a805c;_0x2a805c>=_0x3a99c1[_0x4225e0(0x23f)]?_0x10b67a[_0x4225e0(0x1d4)](this['_buffers'][_0x4225e0(0x23b)](),_0x1e9fc6):(_0x10b67a[_0x4225e0(0x1d4)](new Uint8Array(_0x3a99c1[_0x4225e0(0x163)],_0x3a99c1[_0x4225e0(0x18b)],_0x2a805c),_0x1e9fc6),this[_0x4225e0(0x197)][0x0]=new _0x5d52e8(_0x3a99c1['buffer'],_0x3a99c1[_0x4225e0(0x18b)]+_0x2a805c,_0x3a99c1['length']-_0x2a805c)),_0x2a805c-=_0x3a99c1['length'];}while(_0x2a805c>0x0);return _0x10b67a;}[_0x3d2575(0x229)](_0x12504e){const _0x451d30=_0x3d2575;this[_0x451d30(0x110)]=!0x0;do switch(this[_0x451d30(0x1cb)]){case _0x571dcf:this[_0x451d30(0x209)](_0x12504e);break;case _0x318170:this[_0x451d30(0x1d3)](_0x12504e);break;case _0x4b3f4f:this[_0x451d30(0x1df)](_0x12504e);break;case _0x68cec6:this[_0x451d30(0xf4)]();break;case _0x4dcbca:this['getData'](_0x12504e);break;case _0x5b231e:case _0x5d3bc:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x12504e();}[_0x3d2575(0x209)](_0x41b36b){const _0x46a01d=_0x3d2575;if(this[_0x46a01d(0x270)]<0x2){this[_0x46a01d(0x110)]=!0x1;return;}const _0x227d1a=this[_0x46a01d(0x1b2)](0x2);if((_0x227d1a[0x0]&0x30)!==0x0){const _0x2158cc=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0xf6),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x41b36b(_0x2158cc);return;}const _0x45d526=(_0x227d1a[0x0]&0x40)===0x40;if(_0x45d526&&!this[_0x46a01d(0xf9)][_0xf24983[_0x46a01d(0xfe)]]){const _0x115f9a=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x22b),!0x0,0x3ea,_0x46a01d(0x288));_0x41b36b(_0x115f9a);return;}if(this['_fin']=(_0x227d1a[0x0]&0x80)===0x80,this[_0x46a01d(0x126)]=_0x227d1a[0x0]&0xf,this[_0x46a01d(0xea)]=_0x227d1a[0x1]&0x7f,this[_0x46a01d(0x126)]===0x0){if(_0x45d526){const _0x2c1ef1=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x22b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x41b36b(_0x2c1ef1);return;}if(!this['_fragmented']){const _0x2c00eb=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x19f),!0x0,0x3ea,_0x46a01d(0x1e2));_0x41b36b(_0x2c00eb);return;}this[_0x46a01d(0x126)]=this[_0x46a01d(0x272)];}else{if(this['_opcode']===0x1||this[_0x46a01d(0x126)]===0x2){if(this[_0x46a01d(0x272)]){const _0x539236=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x1c9)+this[_0x46a01d(0x126)],!0x0,0x3ea,_0x46a01d(0x1e2));_0x41b36b(_0x539236);return;}this['_compressed']=_0x45d526;}else{if(this[_0x46a01d(0x126)]>0x7&&this[_0x46a01d(0x126)]<0xb){if(!this[_0x46a01d(0xf3)]){const _0x148351=this[_0x46a01d(0xfb)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x46a01d(0x100));_0x41b36b(_0x148351);return;}if(_0x45d526){const _0x4598eb=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x22b),!0x0,0x3ea,_0x46a01d(0x288));_0x41b36b(_0x4598eb);return;}if(this[_0x46a01d(0xea)]>0x7d||this[_0x46a01d(0x126)]===0x8&&this['_payloadLength']===0x1){const _0x3442ef=this[_0x46a01d(0xfb)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x46a01d(0xea)],!0x0,0x3ea,_0x46a01d(0x1bc));_0x41b36b(_0x3442ef);return;}}else{const _0x11cbad=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x1c9)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x41b36b(_0x11cbad);return;}}}if(!this[_0x46a01d(0xf3)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x46a01d(0x126)]),this[_0x46a01d(0x1fc)]=(_0x227d1a[0x1]&0x80)===0x80,this[_0x46a01d(0x227)]){if(!this[_0x46a01d(0x1fc)]){const _0x40875e=this[_0x46a01d(0xfb)](RangeError,_0x46a01d(0x278),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x41b36b(_0x40875e);return;}}else{if(this[_0x46a01d(0x1fc)]){const _0x2c23f3=this[_0x46a01d(0xfb)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x41b36b(_0x2c23f3);return;}}this['_payloadLength']===0x7e?this['_state']=_0x318170:this['_payloadLength']===0x7f?this[_0x46a01d(0x1cb)]=_0x4b3f4f:this[_0x46a01d(0x179)](_0x41b36b);}[_0x3d2575(0x1d3)](_0x398580){const _0x2465f6=_0x3d2575;if(this[_0x2465f6(0x270)]<0x2){this[_0x2465f6(0x110)]=!0x1;return;}this[_0x2465f6(0xea)]=this[_0x2465f6(0x1b2)](0x2)[_0x2465f6(0x162)](0x0),this['haveLength'](_0x398580);}['getPayloadLength64'](_0x31debc){const _0x5d353a=_0x3d2575;if(this[_0x5d353a(0x270)]<0x8){this[_0x5d353a(0x110)]=!0x1;return;}const _0x3f0eb6=this['consume'](0x8),_0x311e6d=_0x3f0eb6[_0x5d353a(0x286)](0x0);if(_0x311e6d>Math[_0x5d353a(0x23e)](0x2,0x15)-0x1){const _0x112c4a=this[_0x5d353a(0xfb)](RangeError,_0x5d353a(0x1ed),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x31debc(_0x112c4a);return;}this[_0x5d353a(0xea)]=_0x311e6d*Math[_0x5d353a(0x23e)](0x2,0x20)+_0x3f0eb6[_0x5d353a(0x286)](0x4),this[_0x5d353a(0x179)](_0x31debc);}[_0x3d2575(0x179)](_0x709691){const _0x39cfb7=_0x3d2575;if(this['_payloadLength']&&this[_0x39cfb7(0x126)]<0x8&&(this[_0x39cfb7(0x1ec)]+=this['_payloadLength'],this[_0x39cfb7(0x1ec)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x4052fe=this[_0x39cfb7(0xfb)](RangeError,_0x39cfb7(0x1c7),!0x1,0x3f1,_0x39cfb7(0x200));_0x709691(_0x4052fe);return;}this[_0x39cfb7(0x1fc)]?this[_0x39cfb7(0x1cb)]=_0x68cec6:this[_0x39cfb7(0x1cb)]=_0x4dcbca;}[_0x3d2575(0xf4)](){const _0x338032=_0x3d2575;if(this['_bufferedBytes']<0x4){this[_0x338032(0x110)]=!0x1;return;}this[_0x338032(0x279)]=this[_0x338032(0x1b2)](0x4),this[_0x338032(0x1cb)]=_0x4dcbca;}[_0x3d2575(0x12d)](_0x5ecdfc){const _0x28fa0b=_0x3d2575;let _0x5287ab=_0x2c4738;if(this[_0x28fa0b(0xea)]){if(this['_bufferedBytes']<this[_0x28fa0b(0xea)]){this['_loop']=!0x1;return;}_0x5287ab=this[_0x28fa0b(0x1b2)](this[_0x28fa0b(0xea)]),this[_0x28fa0b(0x1fc)]&&(this[_0x28fa0b(0x279)][0x0]|this[_0x28fa0b(0x279)][0x1]|this[_0x28fa0b(0x279)][0x2]|this[_0x28fa0b(0x279)][0x3])!==0x0&&_0x104619(_0x5287ab,this[_0x28fa0b(0x279)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x5287ab,_0x5ecdfc);return;}if(this['_compressed']){this['_state']=_0x5b231e,this[_0x28fa0b(0x1e0)](_0x5287ab,_0x5ecdfc);return;}_0x5287ab[_0x28fa0b(0x23f)]&&(this[_0x28fa0b(0x14a)]=this[_0x28fa0b(0x1ec)],this[_0x28fa0b(0x129)][_0x28fa0b(0x25e)](_0x5287ab)),this[_0x28fa0b(0x183)](_0x5ecdfc);}[_0x3d2575(0x1e0)](_0x385eb7,_0x1f64ac){const _0x1c952c=_0x3d2575;this[_0x1c952c(0xf9)][_0xf24983[_0x1c952c(0xfe)]]['decompress'](_0x385eb7,this['_fin'],(_0x5ad34b,_0x472190)=>{const _0x1ce277=_0x1c952c;if(_0x5ad34b)return _0x1f64ac(_0x5ad34b);if(_0x472190['length']){if(this[_0x1ce277(0x14a)]+=_0x472190[_0x1ce277(0x23f)],this['_messageLength']>this[_0x1ce277(0x152)]&&this[_0x1ce277(0x152)]>0x0){const _0x31b658=this[_0x1ce277(0xfb)](RangeError,_0x1ce277(0x1c7),!0x1,0x3f1,_0x1ce277(0x200));_0x1f64ac(_0x31b658);return;}this[_0x1ce277(0x129)][_0x1ce277(0x25e)](_0x472190);}this[_0x1ce277(0x183)](_0x1f64ac),this[_0x1ce277(0x1cb)]===_0x571dcf&&this[_0x1ce277(0x229)](_0x1f64ac);});}['dataMessage'](_0x4f642f){const _0x321869=_0x3d2575;if(!this[_0x321869(0xf3)]){this[_0x321869(0x1cb)]=_0x571dcf;return;}const _0x153f1d=this[_0x321869(0x14a)],_0x39a867=this[_0x321869(0x129)];if(this['_totalPayloadLength']=0x0,this[_0x321869(0x14a)]=0x0,this[_0x321869(0x272)]=0x0,this[_0x321869(0x129)]=[],this[_0x321869(0x126)]===0x2){let _0x34ca61;this[_0x321869(0x1ee)]===_0x321869(0x1a8)?_0x34ca61=_0x43514b(_0x39a867,_0x153f1d):this[_0x321869(0x1ee)]===_0x321869(0x210)?_0x34ca61=_0x2a3573(_0x43514b(_0x39a867,_0x153f1d)):this[_0x321869(0x1ee)]===_0x321869(0x151)?_0x34ca61=new Blob(_0x39a867):_0x34ca61=_0x39a867,this[_0x321869(0x173)]?(this[_0x321869(0x1f8)](_0x321869(0x12a),_0x34ca61,!0x0),this[_0x321869(0x1cb)]=_0x571dcf):(this[_0x321869(0x1cb)]=_0x5d3bc,setImmediate(()=>{const _0x49e8d0=_0x321869;this[_0x49e8d0(0x1f8)](_0x49e8d0(0x12a),_0x34ca61,!0x0),this[_0x49e8d0(0x1cb)]=_0x571dcf,this['startLoop'](_0x4f642f);}));}else{const _0x24230e=_0x43514b(_0x39a867,_0x153f1d);if(!this[_0x321869(0x29e)]&&!_0x49b2d4(_0x24230e)){const _0x4a5a73=this[_0x321869(0xfb)](Error,_0x321869(0x155),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4f642f(_0x4a5a73);return;}this[_0x321869(0x1cb)]===_0x5b231e||this['_allowSynchronousEvents']?(this['emit'](_0x321869(0x12a),_0x24230e,!0x1),this[_0x321869(0x1cb)]=_0x571dcf):(this[_0x321869(0x1cb)]=_0x5d3bc,setImmediate(()=>{const _0x9ffc0c=_0x321869;this['emit'](_0x9ffc0c(0x12a),_0x24230e,!0x1),this[_0x9ffc0c(0x1cb)]=_0x571dcf,this[_0x9ffc0c(0x229)](_0x4f642f);}));}}[_0x3d2575(0x282)](_0x52d086,_0x3e03a3){const _0x4f42b2=_0x3d2575;if(this[_0x4f42b2(0x126)]===0x8){if(_0x52d086[_0x4f42b2(0x23f)]===0x0)this[_0x4f42b2(0x110)]=!0x1,this['emit']('conclude',0x3ed,_0x2c4738),this[_0x4f42b2(0x195)]();else{const _0x1642ca=_0x52d086[_0x4f42b2(0x162)](0x0);if(!_0x20cf15(_0x1642ca)){const _0x142ea6=this[_0x4f42b2(0xfb)](RangeError,_0x4f42b2(0x14c)+_0x1642ca,!0x0,0x3ea,_0x4f42b2(0x1e8));_0x3e03a3(_0x142ea6);return;}const _0x383973=new _0x5d52e8(_0x52d086[_0x4f42b2(0x163)],_0x52d086[_0x4f42b2(0x18b)]+0x2,_0x52d086['length']-0x2);if(!this[_0x4f42b2(0x29e)]&&!_0x49b2d4(_0x383973)){const _0x30bd56=this['createError'](Error,_0x4f42b2(0x155),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3e03a3(_0x30bd56);return;}this[_0x4f42b2(0x110)]=!0x1,this[_0x4f42b2(0x1f8)]('conclude',_0x1642ca,_0x383973),this['end']();}this[_0x4f42b2(0x1cb)]=_0x571dcf;return;}this['_allowSynchronousEvents']?(this[_0x4f42b2(0x1f8)](this[_0x4f42b2(0x126)]===0x9?'ping':_0x4f42b2(0x128),_0x52d086),this['_state']=_0x571dcf):(this[_0x4f42b2(0x1cb)]=_0x5d3bc,setImmediate(()=>{const _0x381e9a=_0x4f42b2;this['emit'](this[_0x381e9a(0x126)]===0x9?'ping':_0x381e9a(0x128),_0x52d086),this[_0x381e9a(0x1cb)]=_0x571dcf,this[_0x381e9a(0x229)](_0x3e03a3);}));}['createError'](_0x5a2309,_0x5a6f75,_0xfbf9c7,_0x212752,_0x1900a4){const _0x246bc3=_0x3d2575;this[_0x246bc3(0x110)]=!0x1,this['_errored']=!0x0;const _0x596f0c=new _0x5a2309(_0xfbf9c7?_0x246bc3(0x153)+_0x5a6f75:_0x5a6f75);return Error[_0x246bc3(0x1dc)](_0x596f0c,this[_0x246bc3(0xfb)]),_0x596f0c[_0x246bc3(0x1c1)]=_0x1900a4,_0x596f0c[_0x5978c5]=_0x212752,_0x596f0c;}}return Se=_0x37e1f7,Se;}var Ee,Xe;function ft(){const _0x33c920=_0x4e57de;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4f798e}=oe,{randomFillSync:_0x22a672}=Le,_0x43feae=he(),{EMPTY_BUFFER:_0x1683dc,kWebSocket:_0x383f30,NOOP:_0x4785a1}=H(),{isBlob:_0x33d5ea,isValidStatusCode:_0x8f84d3}=ae(),{mask:_0x6d88a6,toBuffer:_0xcb8049}=ce(),_0x4e91ad=Symbol(_0x33c920(0x1cf)),_0x2e559b=Buffer[_0x33c920(0x213)](0x4),_0x144ceb=0x8*0x400;let _0x26a69e,_0x331e46=_0x144ceb;const _0x367a3d=0x0,_0x4e4852=0x1,_0xbc4c0=0x2;class _0x336401{constructor(_0x454d84,_0x2fbb48,_0x23b9f1){const _0x50035e=_0x33c920;this[_0x50035e(0xf9)]=_0x2fbb48||{},_0x23b9f1&&(this[_0x50035e(0x2a8)]=_0x23b9f1,this['_maskBuffer']=Buffer[_0x50035e(0x213)](0x4)),this['_socket']=_0x454d84,this[_0x50035e(0x27a)]=!0x0,this[_0x50035e(0x19b)]=!0x1,this[_0x50035e(0x270)]=0x0,this[_0x50035e(0x27d)]=[],this[_0x50035e(0x1cb)]=_0x367a3d,this['onerror']=_0x4785a1,this[_0x383f30]=void 0x0;}static[_0x33c920(0x1fa)](_0x404daa,_0x36447f){const _0x4e85a8=_0x33c920;let _0x3318fd,_0x3b5477=!0x1,_0x3a40ff=0x2,_0x267d57=!0x1;_0x36447f[_0x4e85a8(0x24b)]&&(_0x3318fd=_0x36447f[_0x4e85a8(0x1aa)]||_0x2e559b,_0x36447f['generateMask']?_0x36447f[_0x4e85a8(0x29d)](_0x3318fd):(_0x331e46===_0x144ceb&&(_0x26a69e===void 0x0&&(_0x26a69e=Buffer[_0x4e85a8(0x213)](_0x144ceb)),_0x22a672(_0x26a69e,0x0,_0x144ceb),_0x331e46=0x0),_0x3318fd[0x0]=_0x26a69e[_0x331e46++],_0x3318fd[0x1]=_0x26a69e[_0x331e46++],_0x3318fd[0x2]=_0x26a69e[_0x331e46++],_0x3318fd[0x3]=_0x26a69e[_0x331e46++]),_0x267d57=(_0x3318fd[0x0]|_0x3318fd[0x1]|_0x3318fd[0x2]|_0x3318fd[0x3])===0x0,_0x3a40ff=0x6);let _0x1bad90;typeof _0x404daa==_0x4e85a8(0x27f)?(!_0x36447f[_0x4e85a8(0x24b)]||_0x267d57)&&_0x36447f[_0x4e91ad]!==void 0x0?_0x1bad90=_0x36447f[_0x4e91ad]:(_0x404daa=Buffer[_0x4e85a8(0x265)](_0x404daa),_0x1bad90=_0x404daa['length']):(_0x1bad90=_0x404daa[_0x4e85a8(0x23f)],_0x3b5477=_0x36447f[_0x4e85a8(0x24b)]&&_0x36447f['readOnly']&&!_0x267d57);let _0x51284b=_0x1bad90;_0x1bad90>=0x10000?(_0x3a40ff+=0x8,_0x51284b=0x7f):_0x1bad90>0x7d&&(_0x3a40ff+=0x2,_0x51284b=0x7e);const _0x4224f5=Buffer[_0x4e85a8(0x167)](_0x3b5477?_0x1bad90+_0x3a40ff:_0x3a40ff);return _0x4224f5[0x0]=_0x36447f[_0x4e85a8(0x296)]?_0x36447f[_0x4e85a8(0x15f)]|0x80:_0x36447f['opcode'],_0x36447f[_0x4e85a8(0xe6)]&&(_0x4224f5[0x0]|=0x40),_0x4224f5[0x1]=_0x51284b,_0x51284b===0x7e?_0x4224f5[_0x4e85a8(0x298)](_0x1bad90,0x2):_0x51284b===0x7f&&(_0x4224f5[0x2]=_0x4224f5[0x3]=0x0,_0x4224f5[_0x4e85a8(0xeb)](_0x1bad90,0x4,0x6)),_0x36447f[_0x4e85a8(0x24b)]?(_0x4224f5[0x1]|=0x80,_0x4224f5[_0x3a40ff-0x4]=_0x3318fd[0x0],_0x4224f5[_0x3a40ff-0x3]=_0x3318fd[0x1],_0x4224f5[_0x3a40ff-0x2]=_0x3318fd[0x2],_0x4224f5[_0x3a40ff-0x1]=_0x3318fd[0x3],_0x267d57?[_0x4224f5,_0x404daa]:_0x3b5477?(_0x6d88a6(_0x404daa,_0x3318fd,_0x4224f5,_0x3a40ff,_0x1bad90),[_0x4224f5]):(_0x6d88a6(_0x404daa,_0x3318fd,_0x404daa,0x0,_0x1bad90),[_0x4224f5,_0x404daa])):[_0x4224f5,_0x404daa];}[_0x33c920(0x189)](_0x233fa3,_0x5ae219,_0x402de7,_0x47c05c){const _0x443572=_0x33c920;let _0xabebf1;if(_0x233fa3===void 0x0)_0xabebf1=_0x1683dc;else{if(typeof _0x233fa3!=_0x443572(0x2a4)||!_0x8f84d3(_0x233fa3))throw new TypeError(_0x443572(0xfa));if(_0x5ae219===void 0x0||!_0x5ae219[_0x443572(0x23f)])_0xabebf1=Buffer[_0x443572(0x167)](0x2),_0xabebf1[_0x443572(0x298)](_0x233fa3,0x0);else{const _0x9fdd8f=Buffer[_0x443572(0x22a)](_0x5ae219);if(_0x9fdd8f>0x7b)throw new RangeError(_0x443572(0x240));_0xabebf1=Buffer[_0x443572(0x167)](0x2+_0x9fdd8f),_0xabebf1[_0x443572(0x298)](_0x233fa3,0x0),typeof _0x5ae219=='string'?_0xabebf1[_0x443572(0xe9)](_0x5ae219,0x2):_0xabebf1[_0x443572(0x1d4)](_0x5ae219,0x2);}}const _0x3cc4bd={[_0x4e91ad]:_0xabebf1[_0x443572(0x23f)],'fin':!0x0,'generateMask':this[_0x443572(0x2a8)],'mask':_0x402de7,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x367a3d?this[_0x443572(0x1be)]([this[_0x443572(0x18a)],_0xabebf1,!0x1,_0x3cc4bd,_0x47c05c]):this[_0x443572(0x1c4)](_0x336401[_0x443572(0x1fa)](_0xabebf1,_0x3cc4bd),_0x47c05c);}['ping'](_0x3a97,_0x523faf,_0x538007){const _0x24e5e6=_0x33c920;let _0x2c5ddf,_0x3a2024;if(typeof _0x3a97==_0x24e5e6(0x27f)?(_0x2c5ddf=Buffer['byteLength'](_0x3a97),_0x3a2024=!0x1):_0x33d5ea(_0x3a97)?(_0x2c5ddf=_0x3a97[_0x24e5e6(0x2a0)],_0x3a2024=!0x1):(_0x3a97=_0xcb8049(_0x3a97),_0x2c5ddf=_0x3a97[_0x24e5e6(0x23f)],_0x3a2024=_0xcb8049['readOnly']),_0x2c5ddf>0x7d)throw new RangeError(_0x24e5e6(0x134));const _0xbb63a={[_0x4e91ad]:_0x2c5ddf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x523faf,'maskBuffer':this[_0x24e5e6(0x290)],'opcode':0x9,'readOnly':_0x3a2024,'rsv1':!0x1};_0x33d5ea(_0x3a97)?this[_0x24e5e6(0x1cb)]!==_0x367a3d?this[_0x24e5e6(0x1be)]([this['getBlobData'],_0x3a97,!0x1,_0xbb63a,_0x538007]):this[_0x24e5e6(0x1ad)](_0x3a97,!0x1,_0xbb63a,_0x538007):this[_0x24e5e6(0x1cb)]!==_0x367a3d?this[_0x24e5e6(0x1be)]([this['dispatch'],_0x3a97,!0x1,_0xbb63a,_0x538007]):this[_0x24e5e6(0x1c4)](_0x336401['frame'](_0x3a97,_0xbb63a),_0x538007);}[_0x33c920(0x128)](_0x497d35,_0x500b07,_0x3ff02b){const _0x1ad552=_0x33c920;let _0x1da830,_0x315af0;if(typeof _0x497d35==_0x1ad552(0x27f)?(_0x1da830=Buffer['byteLength'](_0x497d35),_0x315af0=!0x1):_0x33d5ea(_0x497d35)?(_0x1da830=_0x497d35[_0x1ad552(0x2a0)],_0x315af0=!0x1):(_0x497d35=_0xcb8049(_0x497d35),_0x1da830=_0x497d35[_0x1ad552(0x23f)],_0x315af0=_0xcb8049[_0x1ad552(0x194)]),_0x1da830>0x7d)throw new RangeError(_0x1ad552(0x134));const _0x4188ce={[_0x4e91ad]:_0x1da830,'fin':!0x0,'generateMask':this[_0x1ad552(0x2a8)],'mask':_0x500b07,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x315af0,'rsv1':!0x1};_0x33d5ea(_0x497d35)?this[_0x1ad552(0x1cb)]!==_0x367a3d?this[_0x1ad552(0x1be)]([this[_0x1ad552(0x1ad)],_0x497d35,!0x1,_0x4188ce,_0x3ff02b]):this[_0x1ad552(0x1ad)](_0x497d35,!0x1,_0x4188ce,_0x3ff02b):this[_0x1ad552(0x1cb)]!==_0x367a3d?this[_0x1ad552(0x1be)]([this[_0x1ad552(0x18a)],_0x497d35,!0x1,_0x4188ce,_0x3ff02b]):this['sendFrame'](_0x336401[_0x1ad552(0x1fa)](_0x497d35,_0x4188ce),_0x3ff02b);}[_0x33c920(0x109)](_0x454928,_0x171021,_0x27cde2){const _0x3cf185=_0x33c920,_0x266f0a=this[_0x3cf185(0xf9)][_0x43feae[_0x3cf185(0xfe)]];let _0xe6d88a=_0x171021[_0x3cf185(0x1c6)]?0x2:0x1,_0x3aaceb=_0x171021[_0x3cf185(0x125)],_0x73beb8,_0x1321f3;typeof _0x454928==_0x3cf185(0x27f)?(_0x73beb8=Buffer[_0x3cf185(0x22a)](_0x454928),_0x1321f3=!0x1):_0x33d5ea(_0x454928)?(_0x73beb8=_0x454928[_0x3cf185(0x2a0)],_0x1321f3=!0x1):(_0x454928=_0xcb8049(_0x454928),_0x73beb8=_0x454928[_0x3cf185(0x23f)],_0x1321f3=_0xcb8049['readOnly']),this[_0x3cf185(0x27a)]?(this[_0x3cf185(0x27a)]=!0x1,_0x3aaceb&&_0x266f0a&&_0x266f0a[_0x3cf185(0x264)][_0x266f0a['_isServer']?'server_no_context_takeover':_0x3cf185(0x21e)]&&(_0x3aaceb=_0x73beb8>=_0x266f0a[_0x3cf185(0x15c)]),this[_0x3cf185(0x19b)]=_0x3aaceb):(_0x3aaceb=!0x1,_0xe6d88a=0x0),_0x171021[_0x3cf185(0x296)]&&(this[_0x3cf185(0x27a)]=!0x0);const _0x2c7b4e={[_0x4e91ad]:_0x73beb8,'fin':_0x171021[_0x3cf185(0x296)],'generateMask':this[_0x3cf185(0x2a8)],'mask':_0x171021[_0x3cf185(0x24b)],'maskBuffer':this['_maskBuffer'],'opcode':_0xe6d88a,'readOnly':_0x1321f3,'rsv1':_0x3aaceb};_0x33d5ea(_0x454928)?this['_state']!==_0x367a3d?this[_0x3cf185(0x1be)]([this[_0x3cf185(0x1ad)],_0x454928,this[_0x3cf185(0x19b)],_0x2c7b4e,_0x27cde2]):this[_0x3cf185(0x1ad)](_0x454928,this['_compress'],_0x2c7b4e,_0x27cde2):this[_0x3cf185(0x1cb)]!==_0x367a3d?this[_0x3cf185(0x1be)]([this[_0x3cf185(0x18a)],_0x454928,this[_0x3cf185(0x19b)],_0x2c7b4e,_0x27cde2]):this[_0x3cf185(0x18a)](_0x454928,this[_0x3cf185(0x19b)],_0x2c7b4e,_0x27cde2);}['getBlobData'](_0x53c721,_0x3a7722,_0x2ad0fe,_0x5c8b5d){const _0x37483a=_0x33c920;this[_0x37483a(0x270)]+=_0x2ad0fe[_0x4e91ad],this[_0x37483a(0x1cb)]=_0xbc4c0,_0x53c721[_0x37483a(0x1ef)]()[_0x37483a(0x1f1)](_0x31f685=>{const _0x38e2ee=_0x37483a;if(this[_0x38e2ee(0x247)][_0x38e2ee(0x28a)]){const _0x3b3575=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x38e2ee(0x19c)](_0x48c5c8,this,_0x3b3575,_0x5c8b5d);return;}this[_0x38e2ee(0x270)]-=_0x2ad0fe[_0x4e91ad];const _0x18d6c=_0xcb8049(_0x31f685);_0x3a7722?this[_0x38e2ee(0x18a)](_0x18d6c,_0x3a7722,_0x2ad0fe,_0x5c8b5d):(this['_state']=_0x367a3d,this['sendFrame'](_0x336401[_0x38e2ee(0x1fa)](_0x18d6c,_0x2ad0fe),_0x5c8b5d),this['dequeue']());})[_0x37483a(0x169)](_0x424718=>{const _0x1458a0=_0x37483a;process[_0x1458a0(0x19c)](_0x33dc7e,this,_0x424718,_0x5c8b5d);});}[_0x33c920(0x18a)](_0x2743d5,_0xc52adf,_0x3d48a5,_0xf73b8){const _0x1bce50=_0x33c920;if(!_0xc52adf){this[_0x1bce50(0x1c4)](_0x336401[_0x1bce50(0x1fa)](_0x2743d5,_0x3d48a5),_0xf73b8);return;}const _0x475053=this[_0x1bce50(0xf9)][_0x43feae[_0x1bce50(0xfe)]];this[_0x1bce50(0x270)]+=_0x3d48a5[_0x4e91ad],this[_0x1bce50(0x1cb)]=_0x4e4852,_0x475053[_0x1bce50(0x125)](_0x2743d5,_0x3d48a5['fin'],(_0x542298,_0x40c53a)=>{const _0x38a4a5=_0x1bce50;if(this[_0x38a4a5(0x247)][_0x38a4a5(0x28a)]){const _0x2396f6=new Error(_0x38a4a5(0x28c));_0x48c5c8(this,_0x2396f6,_0xf73b8);return;}this[_0x38a4a5(0x270)]-=_0x3d48a5[_0x4e91ad],this[_0x38a4a5(0x1cb)]=_0x367a3d,_0x3d48a5['readOnly']=!0x1,this['sendFrame'](_0x336401[_0x38a4a5(0x1fa)](_0x40c53a,_0x3d48a5),_0xf73b8),this['dequeue']();});}[_0x33c920(0x111)](){const _0x59cf88=_0x33c920;for(;this[_0x59cf88(0x1cb)]===_0x367a3d&&this['_queue'][_0x59cf88(0x23f)];){const _0xaaf959=this[_0x59cf88(0x27d)][_0x59cf88(0x23b)]();this[_0x59cf88(0x270)]-=_0xaaf959[0x3][_0x4e91ad],Reflect[_0x59cf88(0x21a)](_0xaaf959[0x0],this,_0xaaf959[_0x59cf88(0x14f)](0x1));}}[_0x33c920(0x1be)](_0x4aba19){const _0x4b6809=_0x33c920;this[_0x4b6809(0x270)]+=_0x4aba19[0x3][_0x4e91ad],this[_0x4b6809(0x27d)]['push'](_0x4aba19);}[_0x33c920(0x1c4)](_0x212b86,_0x355cab){const _0x972699=_0x33c920;_0x212b86['length']===0x2?(this['_socket'][_0x972699(0x242)](),this['_socket']['write'](_0x212b86[0x0]),this[_0x972699(0x247)][_0x972699(0xe9)](_0x212b86[0x1],_0x355cab),this[_0x972699(0x247)]['uncork']()):this[_0x972699(0x247)][_0x972699(0xe9)](_0x212b86[0x0],_0x355cab);}}Ee=_0x336401;function _0x48c5c8(_0x26db13,_0x3c03a6,_0x5bb6c0){const _0x3b7cdf=_0x33c920;typeof _0x5bb6c0==_0x3b7cdf(0x185)&&_0x5bb6c0(_0x3c03a6);for(let _0x45ea6d=0x0;_0x45ea6d<_0x26db13[_0x3b7cdf(0x27d)]['length'];_0x45ea6d++){const _0x51abc2=_0x26db13[_0x3b7cdf(0x27d)][_0x45ea6d],_0x5c0598=_0x51abc2[_0x51abc2['length']-0x1];typeof _0x5c0598==_0x3b7cdf(0x185)&&_0x5c0598(_0x3c03a6);}}function _0x33dc7e(_0x30497b,_0x2d4e8c,_0x489868){_0x48c5c8(_0x30497b,_0x2d4e8c,_0x489868),_0x30497b['onerror'](_0x2d4e8c);}return Ee;}var xe,Ze;function It(){const _0x7ce022=_0x4e57de;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x57369c,kListener:_0x5dbef7}=H(),_0x18cc46=Symbol(_0x7ce022(0x1d0)),_0x1b4482=Symbol(_0x7ce022(0xe7)),_0x44ceb4=Symbol(_0x7ce022(0x291)),_0x488854=Symbol(_0x7ce022(0x15a)),_0x2e3e9e=Symbol('kReason'),_0x268931=Symbol(_0x7ce022(0x24f)),_0xb5670d=Symbol(_0x7ce022(0x1e1)),_0x1e8a7b=Symbol(_0x7ce022(0x222));class _0x4c9ac7{constructor(_0x45b61d){this[_0x268931]=null,this[_0xb5670d]=_0x45b61d;}get[_0x7ce022(0x20c)](){return this[_0x268931];}get['type'](){return this[_0xb5670d];}}Object[_0x7ce022(0x1ff)](_0x4c9ac7[_0x7ce022(0x178)],'target',{'enumerable':!0x0}),Object[_0x7ce022(0x1ff)](_0x4c9ac7[_0x7ce022(0x178)],'type',{'enumerable':!0x0});class _0x3c176e extends _0x4c9ac7{constructor(_0x3aebcc,_0x513667={}){const _0x152157=_0x7ce022;super(_0x3aebcc),this[_0x18cc46]=_0x513667[_0x152157(0x1c1)]===void 0x0?0x0:_0x513667[_0x152157(0x1c1)],this[_0x2e3e9e]=_0x513667[_0x152157(0x2a9)]===void 0x0?'':_0x513667[_0x152157(0x2a9)],this[_0x1e8a7b]=_0x513667[_0x152157(0x233)]===void 0x0?!0x1:_0x513667[_0x152157(0x233)];}get[_0x7ce022(0x1c1)](){return this[_0x18cc46];}get[_0x7ce022(0x2a9)](){return this[_0x2e3e9e];}get[_0x7ce022(0x233)](){return this[_0x1e8a7b];}}Object['defineProperty'](_0x3c176e['prototype'],_0x7ce022(0x1c1),{'enumerable':!0x0}),Object[_0x7ce022(0x1ff)](_0x3c176e[_0x7ce022(0x178)],_0x7ce022(0x2a9),{'enumerable':!0x0}),Object['defineProperty'](_0x3c176e['prototype'],'wasClean',{'enumerable':!0x0});class _0x586d09 extends _0x4c9ac7{constructor(_0x415a82,_0x31a06a={}){const _0x1fbbd8=_0x7ce022;super(_0x415a82),this[_0x44ceb4]=_0x31a06a['error']===void 0x0?null:_0x31a06a[_0x1fbbd8(0x299)],this[_0x488854]=_0x31a06a['message']===void 0x0?'':_0x31a06a[_0x1fbbd8(0x12a)];}get[_0x7ce022(0x299)](){return this[_0x44ceb4];}get[_0x7ce022(0x12a)](){return this[_0x488854];}}Object[_0x7ce022(0x1ff)](_0x586d09['prototype'],_0x7ce022(0x299),{'enumerable':!0x0}),Object[_0x7ce022(0x1ff)](_0x586d09['prototype'],_0x7ce022(0x12a),{'enumerable':!0x0});class _0x2f9287 extends _0x4c9ac7{constructor(_0x206cab,_0x108a2c={}){const _0x39bea9=_0x7ce022;super(_0x206cab),this[_0x1b4482]=_0x108a2c['data']===void 0x0?null:_0x108a2c[_0x39bea9(0x205)];}get['data'](){return this[_0x1b4482];}}Object[_0x7ce022(0x1ff)](_0x2f9287[_0x7ce022(0x178)],_0x7ce022(0x205),{'enumerable':!0x0}),xe={'CloseEvent':_0x3c176e,'ErrorEvent':_0x586d09,'Event':_0x4c9ac7,'EventTarget':{'addEventListener'(_0x7a8137,_0x378ab8,_0x44cbde={}){const _0x4d2b15=_0x7ce022;for(const _0x56b0ef of this['listeners'](_0x7a8137))if(!_0x44cbde[_0x57369c]&&_0x56b0ef[_0x5dbef7]===_0x378ab8&&!_0x56b0ef[_0x57369c])return;let _0x141a17;if(_0x7a8137==='message')_0x141a17=function(_0x128f2a,_0x174e0e){const _0x5c5b1e=_0x1360,_0xd37c70=new _0x2f9287('message',{'data':_0x174e0e?_0x128f2a:_0x128f2a[_0x5c5b1e(0x182)]()});_0xd37c70[_0x268931]=this,_0x1a191a(_0x378ab8,this,_0xd37c70);};else{if(_0x7a8137===_0x4d2b15(0x189))_0x141a17=function(_0x163dc5,_0x9dd8c0){const _0x5701ab=_0x4d2b15,_0x5555dc=new _0x3c176e(_0x5701ab(0x189),{'code':_0x163dc5,'reason':_0x9dd8c0[_0x5701ab(0x182)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x5555dc[_0x268931]=this,_0x1a191a(_0x378ab8,this,_0x5555dc);};else{if(_0x7a8137===_0x4d2b15(0x299))_0x141a17=function(_0x8fa1bd){const _0x3ff701=_0x4d2b15,_0x1fa63d=new _0x586d09(_0x3ff701(0x299),{'error':_0x8fa1bd,'message':_0x8fa1bd[_0x3ff701(0x12a)]});_0x1fa63d[_0x268931]=this,_0x1a191a(_0x378ab8,this,_0x1fa63d);};else{if(_0x7a8137===_0x4d2b15(0x1ae))_0x141a17=function(){const _0x5032d6=new _0x4c9ac7('open');_0x5032d6[_0x268931]=this,_0x1a191a(_0x378ab8,this,_0x5032d6);};else return;}}}_0x141a17[_0x57369c]=!!_0x44cbde[_0x57369c],_0x141a17[_0x5dbef7]=_0x378ab8,_0x44cbde[_0x4d2b15(0xed)]?this[_0x4d2b15(0xed)](_0x7a8137,_0x141a17):this['on'](_0x7a8137,_0x141a17);},'removeEventListener'(_0x191c9b,_0x3c383b){for(const _0x472f80 of this['listeners'](_0x191c9b))if(_0x472f80[_0x5dbef7]===_0x3c383b&&!_0x472f80[_0x57369c]){this['removeListener'](_0x191c9b,_0x472f80);break;}}},'MessageEvent':_0x2f9287};function _0x1a191a(_0x569526,_0x11a649,_0x53ad05){const _0x226960=_0x7ce022;typeof _0x569526=='object'&&_0x569526['handleEvent']?_0x569526[_0x226960(0x106)][_0x226960(0x1bf)](_0x569526,_0x53ad05):_0x569526[_0x226960(0x1bf)](_0x11a649,_0x53ad05);}return xe;}var be,Qe;function _0x1360(_0x5441c2,_0x54ca4c){const _0x2ff612=_0x2ff6();return _0x1360=function(_0x1360d0,_0x1550a2){_0x1360d0=_0x1360d0-0xe3;let _0x2ab129=_0x2ff612[_0x1360d0];return _0x2ab129;},_0x1360(_0x5441c2,_0x54ca4c);}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x141314}=ae();function _0x2ea78f(_0x58576c,_0x597d25,_0x11a47a){const _0x5ec400=_0x1360;_0x58576c[_0x597d25]===void 0x0?_0x58576c[_0x597d25]=[_0x11a47a]:_0x58576c[_0x597d25][_0x5ec400(0x25e)](_0x11a47a);}function _0x10bc36(_0x1c9323){const _0x45e881=_0x1360,_0x451070=Object[_0x45e881(0x27e)](null);let _0x44918a=Object[_0x45e881(0x27e)](null),_0x212191=!0x1,_0x538aa1=!0x1,_0x8ac26=!0x1,_0x19dbd5,_0x43cddb,_0xa56bb5=-0x1,_0x1b4eff=-0x1,_0x3de126=-0x1,_0x20c908=0x0;for(;_0x20c908<_0x1c9323[_0x45e881(0x23f)];_0x20c908++)if(_0x1b4eff=_0x1c9323[_0x45e881(0x1a2)](_0x20c908),_0x19dbd5===void 0x0){if(_0x3de126===-0x1&&_0x141314[_0x1b4eff]===0x1)_0xa56bb5===-0x1&&(_0xa56bb5=_0x20c908);else{if(_0x20c908!==0x0&&(_0x1b4eff===0x20||_0x1b4eff===0x9))_0x3de126===-0x1&&_0xa56bb5!==-0x1&&(_0x3de126=_0x20c908);else{if(_0x1b4eff===0x3b||_0x1b4eff===0x2c){if(_0xa56bb5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20c908);_0x3de126===-0x1&&(_0x3de126=_0x20c908);const _0x1de0a3=_0x1c9323[_0x45e881(0x14f)](_0xa56bb5,_0x3de126);_0x1b4eff===0x2c?(_0x2ea78f(_0x451070,_0x1de0a3,_0x44918a),_0x44918a=Object[_0x45e881(0x27e)](null)):_0x19dbd5=_0x1de0a3,_0xa56bb5=_0x3de126=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20c908);}}}else{if(_0x43cddb===void 0x0){if(_0x3de126===-0x1&&_0x141314[_0x1b4eff]===0x1)_0xa56bb5===-0x1&&(_0xa56bb5=_0x20c908);else{if(_0x1b4eff===0x20||_0x1b4eff===0x9)_0x3de126===-0x1&&_0xa56bb5!==-0x1&&(_0x3de126=_0x20c908);else{if(_0x1b4eff===0x3b||_0x1b4eff===0x2c){if(_0xa56bb5===-0x1)throw new SyntaxError(_0x45e881(0x250)+_0x20c908);_0x3de126===-0x1&&(_0x3de126=_0x20c908),_0x2ea78f(_0x44918a,_0x1c9323[_0x45e881(0x14f)](_0xa56bb5,_0x3de126),!0x0),_0x1b4eff===0x2c&&(_0x2ea78f(_0x451070,_0x19dbd5,_0x44918a),_0x44918a=Object[_0x45e881(0x27e)](null),_0x19dbd5=void 0x0),_0xa56bb5=_0x3de126=-0x1;}else{if(_0x1b4eff===0x3d&&_0xa56bb5!==-0x1&&_0x3de126===-0x1)_0x43cddb=_0x1c9323[_0x45e881(0x14f)](_0xa56bb5,_0x20c908),_0xa56bb5=_0x3de126=-0x1;else throw new SyntaxError(_0x45e881(0x250)+_0x20c908);}}}}else{if(_0x538aa1){if(_0x141314[_0x1b4eff]!==0x1)throw new SyntaxError(_0x45e881(0x250)+_0x20c908);_0xa56bb5===-0x1?_0xa56bb5=_0x20c908:_0x212191||(_0x212191=!0x0),_0x538aa1=!0x1;}else{if(_0x8ac26){if(_0x141314[_0x1b4eff]===0x1)_0xa56bb5===-0x1&&(_0xa56bb5=_0x20c908);else{if(_0x1b4eff===0x22&&_0xa56bb5!==-0x1)_0x8ac26=!0x1,_0x3de126=_0x20c908;else{if(_0x1b4eff===0x5c)_0x538aa1=!0x0;else throw new SyntaxError(_0x45e881(0x250)+_0x20c908);}}}else{if(_0x1b4eff===0x22&&_0x1c9323['charCodeAt'](_0x20c908-0x1)===0x3d)_0x8ac26=!0x0;else{if(_0x3de126===-0x1&&_0x141314[_0x1b4eff]===0x1)_0xa56bb5===-0x1&&(_0xa56bb5=_0x20c908);else{if(_0xa56bb5!==-0x1&&(_0x1b4eff===0x20||_0x1b4eff===0x9))_0x3de126===-0x1&&(_0x3de126=_0x20c908);else{if(_0x1b4eff===0x3b||_0x1b4eff===0x2c){if(_0xa56bb5===-0x1)throw new SyntaxError(_0x45e881(0x250)+_0x20c908);_0x3de126===-0x1&&(_0x3de126=_0x20c908);let _0x3b14ea=_0x1c9323[_0x45e881(0x14f)](_0xa56bb5,_0x3de126);_0x212191&&(_0x3b14ea=_0x3b14ea[_0x45e881(0x26c)](/\\/g,''),_0x212191=!0x1),_0x2ea78f(_0x44918a,_0x43cddb,_0x3b14ea),_0x1b4eff===0x2c&&(_0x2ea78f(_0x451070,_0x19dbd5,_0x44918a),_0x44918a=Object[_0x45e881(0x27e)](null),_0x19dbd5=void 0x0),_0x43cddb=void 0x0,_0xa56bb5=_0x3de126=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20c908);}}}}}}}if(_0xa56bb5===-0x1||_0x8ac26||_0x1b4eff===0x20||_0x1b4eff===0x9)throw new SyntaxError(_0x45e881(0x253));_0x3de126===-0x1&&(_0x3de126=_0x20c908);const _0x5b8d0c=_0x1c9323[_0x45e881(0x14f)](_0xa56bb5,_0x3de126);return _0x19dbd5===void 0x0?_0x2ea78f(_0x451070,_0x5b8d0c,_0x44918a):(_0x43cddb===void 0x0?_0x2ea78f(_0x44918a,_0x5b8d0c,!0x0):_0x212191?_0x2ea78f(_0x44918a,_0x43cddb,_0x5b8d0c[_0x45e881(0x26c)](/\\/g,'')):_0x2ea78f(_0x44918a,_0x43cddb,_0x5b8d0c),_0x2ea78f(_0x451070,_0x19dbd5,_0x44918a)),_0x451070;}function _0x379a33(_0x221f13){const _0x16f7ae=_0x1360;return Object[_0x16f7ae(0x120)](_0x221f13)[_0x16f7ae(0x148)](_0x44f167=>{const _0x5dbab6=_0x16f7ae;let _0x3bf5ed=_0x221f13[_0x44f167];return Array[_0x5dbab6(0x219)](_0x3bf5ed)||(_0x3bf5ed=[_0x3bf5ed]),_0x3bf5ed['map'](_0x21acdc=>[_0x44f167]['concat'](Object[_0x5dbab6(0x120)](_0x21acdc)[_0x5dbab6(0x148)](_0x485fc6=>{const _0x49ffdf=_0x5dbab6;let _0x20d5b1=_0x21acdc[_0x485fc6];return Array[_0x49ffdf(0x219)](_0x20d5b1)||(_0x20d5b1=[_0x20d5b1]),_0x20d5b1[_0x49ffdf(0x148)](_0x4d373f=>_0x4d373f===!0x0?_0x485fc6:_0x485fc6+'='+_0x4d373f)['join'](';\x20');}))['join'](';\x20'))[_0x5dbab6(0x132)](',\x20');})[_0x16f7ae(0x132)](',\x20');}return be={'format':_0x379a33,'parse':_0x10bc36},be;}var we,Je;function Pe(){const _0x121430=_0x4e57de;if(Je)return we;Je=0x1;const _0x1a2217=nt,_0xe4ad88=vt,_0x571050=ot,_0x4ef1b8=St,_0x139ba2=Et,{randomBytes:_0x2ff2b8,createHash:_0x23068b}=Le,{Duplex:_0x52ffdd,Readable:_0x6355d3}=oe,{URL:_0x1c8f26}=xt,_0x4686fb=he(),_0x31855a=lt(),_0x1a06fe=ft(),{isBlob:_0x151b16}=ae(),{BINARY_TYPES:_0x4c2c8b,EMPTY_BUFFER:_0x5a8c09,GUID:_0x23aa31,kForOnEventAttribute:_0x30b54c,kListener:_0x3193df,kStatusCode:_0x55a2d4,kWebSocket:_0x194a35,NOOP:_0xae0cf6}=H(),{EventTarget:{addEventListener:_0x1c5a8c,removeEventListener:_0x594e89}}=It(),{format:_0x5930f8,parse:_0x5698ff}=ct(),{toBuffer:_0x1bc039}=ce(),_0x5ddb43=0x1e*0x3e8,_0x26b4df=Symbol(_0x121430(0x29f)),_0x22abfe=[0x8,0xd],_0x4c6e57=[_0x121430(0x262),_0x121430(0x1fe),_0x121430(0x176),_0x121430(0x17d)],_0xca56de=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x47b46d extends _0x1a2217{constructor(_0x112126,_0x5be967,_0x44b852){const _0x126665=_0x121430;super(),this[_0x126665(0x1ee)]=_0x4c2c8b[0x0],this[_0x126665(0x190)]=0x3ee,this[_0x126665(0x26e)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x5a8c09,this[_0x126665(0x186)]=null,this['_errorEmitted']=!0x1,this[_0x126665(0xf9)]={},this[_0x126665(0x24d)]=!0x1,this[_0x126665(0x249)]='',this[_0x126665(0x21d)]=_0x47b46d[_0x126665(0x262)],this[_0x126665(0x13a)]=null,this['_sender']=null,this[_0x126665(0x247)]=null,_0x112126!==null?(this[_0x126665(0x15b)]=0x0,this[_0x126665(0x227)]=!0x1,this['_redirects']=0x0,_0x5be967===void 0x0?_0x5be967=[]:Array[_0x126665(0x219)](_0x5be967)||(typeof _0x5be967==_0x126665(0x19a)&&_0x5be967!==null?(_0x44b852=_0x5be967,_0x5be967=[]):_0x5be967=[_0x5be967]),_0x32b39c(this,_0x112126,_0x5be967,_0x44b852)):(this['_autoPong']=_0x44b852[_0x126665(0x1f7)],this['_isServer']=!0x0);}get['binaryType'](){const _0x3cb099=_0x121430;return this[_0x3cb099(0x1ee)];}set[_0x121430(0x211)](_0x4d6f17){const _0x5edffe=_0x121430;_0x4c2c8b[_0x5edffe(0x1b9)](_0x4d6f17)&&(this[_0x5edffe(0x1ee)]=_0x4d6f17,this[_0x5edffe(0x13a)]&&(this[_0x5edffe(0x13a)][_0x5edffe(0x1ee)]=_0x4d6f17));}get['bufferedAmount'](){const _0x7823ec=_0x121430;return this[_0x7823ec(0x247)]?this[_0x7823ec(0x247)][_0x7823ec(0x1c5)][_0x7823ec(0x23f)]+this[_0x7823ec(0x25c)][_0x7823ec(0x270)]:this[_0x7823ec(0x15b)];}get[_0x121430(0x11e)](){const _0x4ecfc1=_0x121430;return Object['keys'](this[_0x4ecfc1(0xf9)])[_0x4ecfc1(0x132)]();}get['isPaused'](){return this['_paused'];}get[_0x121430(0x289)](){return null;}get[_0x121430(0x172)](){return null;}get['onopen'](){return null;}get[_0x121430(0x12b)](){return null;}get[_0x121430(0x28f)](){const _0x44db44=_0x121430;return this[_0x44db44(0x249)];}get['readyState'](){return this['_readyState'];}get[_0x121430(0x20f)](){const _0x2f82d2=_0x121430;return this[_0x2f82d2(0x1b1)];}[_0x121430(0x1ca)](_0x4b490c,_0x3fc5cf,_0x12f7c4){const _0x4ca8b6=_0x121430,_0x4112cd=new _0x31855a({'allowSynchronousEvents':_0x12f7c4[_0x4ca8b6(0x29c)],'binaryType':this[_0x4ca8b6(0x211)],'extensions':this[_0x4ca8b6(0xf9)],'isServer':this[_0x4ca8b6(0x227)],'maxPayload':_0x12f7c4['maxPayload'],'skipUTF8Validation':_0x12f7c4[_0x4ca8b6(0x131)]}),_0x4cbdcf=new _0x1a06fe(_0x4b490c,this[_0x4ca8b6(0xf9)],_0x12f7c4[_0x4ca8b6(0x29d)]);this['_receiver']=_0x4112cd,this[_0x4ca8b6(0x25c)]=_0x4cbdcf,this['_socket']=_0x4b490c,_0x4112cd[_0x194a35]=this,_0x4cbdcf[_0x194a35]=this,_0x4b490c[_0x194a35]=this,_0x4112cd['on'](_0x4ca8b6(0x177),_0x1d368e),_0x4112cd['on'](_0x4ca8b6(0x16e),_0x333044),_0x4112cd['on'](_0x4ca8b6(0x299),_0x3dc337),_0x4112cd['on'](_0x4ca8b6(0x12a),_0x1a837f),_0x4112cd['on'](_0x4ca8b6(0x113),_0x43ea3f),_0x4112cd['on']('pong',_0x46d4aa),_0x4cbdcf[_0x4ca8b6(0x172)]=_0x3c1e9b,_0x4b490c['setTimeout']&&_0x4b490c['setTimeout'](0x0),_0x4b490c[_0x4ca8b6(0x104)]&&_0x4b490c[_0x4ca8b6(0x104)](),_0x3fc5cf[_0x4ca8b6(0x23f)]>0x0&&_0x4b490c[_0x4ca8b6(0x105)](_0x3fc5cf),_0x4b490c['on'](_0x4ca8b6(0x189),_0x5f5af6),_0x4b490c['on'](_0x4ca8b6(0x205),_0x2edf5b),_0x4b490c['on']('end',_0x424e9a),_0x4b490c['on'](_0x4ca8b6(0x299),_0x2434a2),this[_0x4ca8b6(0x21d)]=_0x47b46d['OPEN'],this['emit'](_0x4ca8b6(0x1ae));}[_0x121430(0x199)](){const _0x357995=_0x121430;if(!this[_0x357995(0x247)]){this[_0x357995(0x21d)]=_0x47b46d[_0x357995(0x17d)],this[_0x357995(0x1f8)](_0x357995(0x189),this[_0x357995(0x190)],this[_0x357995(0x1f9)]);return;}this[_0x357995(0xf9)][_0x4686fb[_0x357995(0xfe)]]&&this['_extensions'][_0x4686fb[_0x357995(0xfe)]][_0x357995(0x204)](),this['_receiver'][_0x357995(0x16c)](),this[_0x357995(0x21d)]=_0x47b46d[_0x357995(0x17d)],this[_0x357995(0x1f8)](_0x357995(0x189),this['_closeCode'],this[_0x357995(0x1f9)]);}[_0x121430(0x189)](_0x589ea5,_0x14e735){const _0x2ae02e=_0x121430;if(this[_0x2ae02e(0x193)]!==_0x47b46d[_0x2ae02e(0x17d)]){if(this[_0x2ae02e(0x193)]===_0x47b46d['CONNECTING']){_0x3fe981(this,this[_0x2ae02e(0x180)],_0x2ae02e(0x24a));return;}if(this['readyState']===_0x47b46d[_0x2ae02e(0x176)]){this[_0x2ae02e(0x147)]&&(this['_closeFrameReceived']||this[_0x2ae02e(0x13a)]['_writableState'][_0x2ae02e(0x1f3)])&&this[_0x2ae02e(0x247)][_0x2ae02e(0x195)]();return;}this[_0x2ae02e(0x21d)]=_0x47b46d[_0x2ae02e(0x176)],this['_sender']['close'](_0x589ea5,_0x14e735,!this[_0x2ae02e(0x227)],_0x30d9aa=>{const _0x3f2482=_0x2ae02e;_0x30d9aa||(this[_0x3f2482(0x147)]=!0x0,(this['_closeFrameReceived']||this[_0x3f2482(0x13a)][_0x3f2482(0x1c5)][_0x3f2482(0x1f3)])&&this[_0x3f2482(0x247)][_0x3f2482(0x195)]());}),_0x81d385(this);}}[_0x121430(0x220)](){const _0x1f4af5=_0x121430;this[_0x1f4af5(0x193)]===_0x47b46d[_0x1f4af5(0x262)]||this[_0x1f4af5(0x193)]===_0x47b46d[_0x1f4af5(0x17d)]||(this['_paused']=!0x0,this[_0x1f4af5(0x247)][_0x1f4af5(0x220)]());}[_0x121430(0x113)](_0x146070,_0x3db0c0,_0x2f41f3){const _0x2db93a=_0x121430;if(this[_0x2db93a(0x193)]===_0x47b46d[_0x2db93a(0x262)])throw new Error(_0x2db93a(0x118));if(typeof _0x146070==_0x2db93a(0x185)?(_0x2f41f3=_0x146070,_0x146070=_0x3db0c0=void 0x0):typeof _0x3db0c0=='function'&&(_0x2f41f3=_0x3db0c0,_0x3db0c0=void 0x0),typeof _0x146070=='number'&&(_0x146070=_0x146070[_0x2db93a(0x182)]()),this[_0x2db93a(0x193)]!==_0x47b46d['OPEN']){_0x1816a6(this,_0x146070,_0x2f41f3);return;}_0x3db0c0===void 0x0&&(_0x3db0c0=!this[_0x2db93a(0x227)]),this['_sender']['ping'](_0x146070||_0x5a8c09,_0x3db0c0,_0x2f41f3);}['pong'](_0xe8f89b,_0x90825a,_0x81dcaf){const _0x428239=_0x121430;if(this['readyState']===_0x47b46d['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xe8f89b==_0x428239(0x185)?(_0x81dcaf=_0xe8f89b,_0xe8f89b=_0x90825a=void 0x0):typeof _0x90825a==_0x428239(0x185)&&(_0x81dcaf=_0x90825a,_0x90825a=void 0x0),typeof _0xe8f89b==_0x428239(0x2a4)&&(_0xe8f89b=_0xe8f89b[_0x428239(0x182)]()),this[_0x428239(0x193)]!==_0x47b46d['OPEN']){_0x1816a6(this,_0xe8f89b,_0x81dcaf);return;}_0x90825a===void 0x0&&(_0x90825a=!this['_isServer']),this[_0x428239(0x25c)][_0x428239(0x128)](_0xe8f89b||_0x5a8c09,_0x90825a,_0x81dcaf);}[_0x121430(0x224)](){const _0x23647c=_0x121430;this['readyState']===_0x47b46d[_0x23647c(0x262)]||this['readyState']===_0x47b46d[_0x23647c(0x17d)]||(this[_0x23647c(0x24d)]=!0x1,this[_0x23647c(0x13a)]['_writableState']['needDrain']||this['_socket'][_0x23647c(0x224)]());}[_0x121430(0x109)](_0x70b023,_0x4bc117,_0x575796){const _0x2dec84=_0x121430;if(this[_0x2dec84(0x193)]===_0x47b46d[_0x2dec84(0x262)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4bc117==_0x2dec84(0x185)&&(_0x575796=_0x4bc117,_0x4bc117={}),typeof _0x70b023=='number'&&(_0x70b023=_0x70b023['toString']()),this[_0x2dec84(0x193)]!==_0x47b46d['OPEN']){_0x1816a6(this,_0x70b023,_0x575796);return;}const _0x3104c2={'binary':typeof _0x70b023!=_0x2dec84(0x27f),'mask':!this[_0x2dec84(0x227)],'compress':!0x0,'fin':!0x0,..._0x4bc117};this[_0x2dec84(0xf9)][_0x4686fb[_0x2dec84(0xfe)]]||(_0x3104c2[_0x2dec84(0x125)]=!0x1),this[_0x2dec84(0x25c)]['send'](_0x70b023||_0x5a8c09,_0x3104c2,_0x575796);}[_0x121430(0x1a9)](){const _0x157a22=_0x121430;if(this['readyState']!==_0x47b46d[_0x157a22(0x17d)]){if(this['readyState']===_0x47b46d[_0x157a22(0x262)]){_0x3fe981(this,this[_0x157a22(0x180)],_0x157a22(0x24a));return;}this[_0x157a22(0x247)]&&(this[_0x157a22(0x21d)]=_0x47b46d['CLOSING'],this[_0x157a22(0x247)]['destroy']());}}}Object[_0x121430(0x1ff)](_0x47b46d,_0x121430(0x262),{'enumerable':!0x0,'value':_0x4c6e57[_0x121430(0x145)](_0x121430(0x262))}),Object[_0x121430(0x1ff)](_0x47b46d[_0x121430(0x178)],'CONNECTING',{'enumerable':!0x0,'value':_0x4c6e57[_0x121430(0x145)](_0x121430(0x262))}),Object[_0x121430(0x1ff)](_0x47b46d,_0x121430(0x1fe),{'enumerable':!0x0,'value':_0x4c6e57['indexOf']('OPEN')}),Object[_0x121430(0x1ff)](_0x47b46d[_0x121430(0x178)],'OPEN',{'enumerable':!0x0,'value':_0x4c6e57['indexOf'](_0x121430(0x1fe))}),Object['defineProperty'](_0x47b46d,_0x121430(0x176),{'enumerable':!0x0,'value':_0x4c6e57[_0x121430(0x145)]('CLOSING')}),Object[_0x121430(0x1ff)](_0x47b46d[_0x121430(0x178)],_0x121430(0x176),{'enumerable':!0x0,'value':_0x4c6e57[_0x121430(0x145)]('CLOSING')}),Object[_0x121430(0x1ff)](_0x47b46d,_0x121430(0x17d),{'enumerable':!0x0,'value':_0x4c6e57['indexOf']('CLOSED')}),Object[_0x121430(0x1ff)](_0x47b46d[_0x121430(0x178)],'CLOSED',{'enumerable':!0x0,'value':_0x4c6e57['indexOf'](_0x121430(0x17d))}),['binaryType',_0x121430(0x12f),'extensions',_0x121430(0x10e),_0x121430(0x28f),'readyState',_0x121430(0x20f)][_0x121430(0x294)](_0x5e977d=>{const _0x943637=_0x121430;Object[_0x943637(0x1ff)](_0x47b46d[_0x943637(0x178)],_0x5e977d,{'enumerable':!0x0});}),[_0x121430(0x1ae),_0x121430(0x299),'close',_0x121430(0x12a)]['forEach'](_0x55d744=>{const _0x497ff5=_0x121430;Object[_0x497ff5(0x1ff)](_0x47b46d[_0x497ff5(0x178)],'on'+_0x55d744,{'enumerable':!0x0,'get'(){const _0x530e4c=_0x497ff5;for(const _0x2057d7 of this[_0x530e4c(0x274)](_0x55d744))if(_0x2057d7[_0x30b54c])return _0x2057d7[_0x3193df];return null;},'set'(_0x331fa1){const _0x101ae4=_0x497ff5;for(const _0x28837c of this[_0x101ae4(0x274)](_0x55d744))if(_0x28837c[_0x30b54c]){this[_0x101ae4(0x238)](_0x55d744,_0x28837c);break;}typeof _0x331fa1=='function'&&this[_0x101ae4(0x254)](_0x55d744,_0x331fa1,{[_0x30b54c]:!0x0});}});}),_0x47b46d['prototype'][_0x121430(0x254)]=_0x1c5a8c,_0x47b46d[_0x121430(0x178)][_0x121430(0x292)]=_0x594e89,we=_0x47b46d;function _0x32b39c(_0x2fbdc7,_0x474d48,_0x4017ac,_0x3376e5){const _0xf15797=_0x121430,_0x5603de={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x22abfe[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3376e5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xf15797(0x251),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2fbdc7[_0xf15797(0x12c)]=_0x5603de[_0xf15797(0x1f7)],!_0x22abfe[_0xf15797(0x1b9)](_0x5603de[_0xf15797(0x1a5)]))throw new RangeError(_0xf15797(0x2a1)+_0x5603de['protocolVersion']+_0xf15797(0x117)+_0x22abfe[_0xf15797(0x132)](',\x20')+')');let _0x338747;if(_0x474d48 instanceof _0x1c8f26)_0x338747=_0x474d48;else try{_0x338747=new _0x1c8f26(_0x474d48);}catch{throw new SyntaxError(_0xf15797(0x1c2)+_0x474d48);}_0x338747[_0xf15797(0x28f)]===_0xf15797(0x1ce)?_0x338747[_0xf15797(0x28f)]=_0xf15797(0x2ac):_0x338747['protocol']===_0xf15797(0x13e)&&(_0x338747[_0xf15797(0x28f)]=_0xf15797(0x223)),_0x2fbdc7[_0xf15797(0x1b1)]=_0x338747[_0xf15797(0x1b7)];const _0x25d5ce=_0x338747[_0xf15797(0x28f)]==='wss:',_0x2d1078=_0x338747[_0xf15797(0x28f)]===_0xf15797(0x22c);let _0x3b6108;if(_0x338747['protocol']!==_0xf15797(0x2ac)&&!_0x25d5ce&&!_0x2d1078?_0x3b6108='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':_0x2d1078&&!_0x338747[_0xf15797(0x28b)]?_0x3b6108=_0xf15797(0x124):_0x338747[_0xf15797(0x16b)]&&(_0x3b6108=_0xf15797(0x256)),_0x3b6108){const _0x3ad6f7=new SyntaxError(_0x3b6108);if(_0x2fbdc7[_0xf15797(0x144)]===0x0)throw _0x3ad6f7;_0x110855(_0x2fbdc7,_0x3ad6f7);return;}const _0x5a0946=_0x25d5ce?0x1bb:0x50,_0x6d4e71=_0x2ff2b8(0x10)[_0xf15797(0x182)](_0xf15797(0x174)),_0x2599cc=_0x25d5ce?_0xe4ad88[_0xf15797(0x156)]:_0x571050[_0xf15797(0x156)],_0x1680a5=new Set();let _0x4a0919;if(_0x5603de['createConnection']=_0x5603de[_0xf15797(0x1a3)]||(_0x25d5ce?_0x189fb5:_0x47863e),_0x5603de[_0xf15797(0x26b)]=_0x5603de[_0xf15797(0x26b)]||_0x5a0946,_0x5603de[_0xf15797(0x184)]=_0x338747[_0xf15797(0x184)]||_0x5a0946,_0x5603de[_0xf15797(0xef)]=_0x338747[_0xf15797(0x1ac)]['startsWith']('[')?_0x338747['hostname'][_0xf15797(0x14f)](0x1,-0x1):_0x338747['hostname'],_0x5603de[_0xf15797(0x14b)]={..._0x5603de[_0xf15797(0x14b)],'Sec-WebSocket-Version':_0x5603de[_0xf15797(0x1a5)],'Sec-WebSocket-Key':_0x6d4e71,'Connection':_0xf15797(0x269),'Upgrade':_0xf15797(0x244)},_0x5603de[_0xf15797(0x1ab)]=_0x338747['pathname']+_0x338747[_0xf15797(0x2ae)],_0x5603de[_0xf15797(0x10f)]=_0x5603de[_0xf15797(0x1d8)],_0x5603de['perMessageDeflate']&&(_0x4a0919=new _0x4686fb(_0x5603de['perMessageDeflate']!==!0x0?_0x5603de['perMessageDeflate']:{},!0x1,_0x5603de['maxPayload']),_0x5603de[_0xf15797(0x14b)][_0xf15797(0x2aa)]=_0x5930f8({[_0x4686fb[_0xf15797(0xfe)]]:_0x4a0919[_0xf15797(0x1ea)]()})),_0x4017ac[_0xf15797(0x23f)]){for(const _0x493f42 of _0x4017ac){if(typeof _0x493f42!=_0xf15797(0x27f)||!_0xca56de[_0xf15797(0x24c)](_0x493f42)||_0x1680a5[_0xf15797(0x13c)](_0x493f42))throw new SyntaxError(_0xf15797(0x26f));_0x1680a5[_0xf15797(0x11a)](_0x493f42);}_0x5603de['headers'][_0xf15797(0x1d9)]=_0x4017ac[_0xf15797(0x132)](',');}if(_0x5603de['origin']&&(_0x5603de[_0xf15797(0x1a5)]<0xd?_0x5603de[_0xf15797(0x14b)][_0xf15797(0x108)]=_0x5603de['origin']:_0x5603de[_0xf15797(0x14b)][_0xf15797(0x2a2)]=_0x5603de[_0xf15797(0x1b6)]),(_0x338747[_0xf15797(0x16f)]||_0x338747[_0xf15797(0x1c3)])&&(_0x5603de[_0xf15797(0x168)]=_0x338747[_0xf15797(0x16f)]+':'+_0x338747[_0xf15797(0x1c3)]),_0x2d1078){const _0x5676db=_0x5603de['path']['split'](':');_0x5603de['socketPath']=_0x5676db[0x0],_0x5603de[_0xf15797(0x1ab)]=_0x5676db[0x1];}let _0x5bd410;if(_0x5603de[_0xf15797(0x158)]){if(_0x2fbdc7['_redirects']===0x0){_0x2fbdc7['_originalIpc']=_0x2d1078,_0x2fbdc7[_0xf15797(0x2ab)]=_0x25d5ce,_0x2fbdc7[_0xf15797(0x198)]=_0x2d1078?_0x5603de[_0xf15797(0x1b3)]:_0x338747[_0xf15797(0xef)];const _0xf11e4=_0x3376e5&&_0x3376e5['headers'];if(_0x3376e5={..._0x3376e5,'headers':{}},_0xf11e4){for(const [_0x39ce0c,_0x191d1a]of Object[_0xf15797(0x18c)](_0xf11e4))_0x3376e5[_0xf15797(0x14b)][_0x39ce0c[_0xf15797(0x13f)]()]=_0x191d1a;}}else{if(_0x2fbdc7['listenerCount'](_0xf15797(0x208))===0x0){const _0x56ac10=_0x2d1078?_0x2fbdc7[_0xf15797(0x259)]?_0x5603de[_0xf15797(0x1b3)]===_0x2fbdc7['_originalHostOrSocketPath']:!0x1:_0x2fbdc7['_originalIpc']?!0x1:_0x338747[_0xf15797(0xef)]===_0x2fbdc7[_0xf15797(0x198)];(!_0x56ac10||_0x2fbdc7[_0xf15797(0x2ab)]&&!_0x25d5ce)&&(delete _0x5603de['headers'][_0xf15797(0x103)],delete _0x5603de['headers'][_0xf15797(0x10b)],_0x56ac10||delete _0x5603de[_0xf15797(0x14b)][_0xf15797(0xef)],_0x5603de[_0xf15797(0x168)]=void 0x0);}}_0x5603de['auth']&&!_0x3376e5[_0xf15797(0x14b)]['authorization']&&(_0x3376e5[_0xf15797(0x14b)][_0xf15797(0x103)]=_0xf15797(0x23a)+Buffer['from'](_0x5603de[_0xf15797(0x168)])[_0xf15797(0x182)](_0xf15797(0x174))),_0x5bd410=_0x2fbdc7[_0xf15797(0x180)]=_0x2599cc(_0x5603de),_0x2fbdc7[_0xf15797(0x144)]&&_0x2fbdc7[_0xf15797(0x1f8)](_0xf15797(0x208),_0x2fbdc7[_0xf15797(0x20f)],_0x5bd410);}else _0x5bd410=_0x2fbdc7[_0xf15797(0x180)]=_0x2599cc(_0x5603de);_0x5603de[_0xf15797(0x10f)]&&_0x5bd410['on']('timeout',()=>{const _0x1f6f98=_0xf15797;_0x3fe981(_0x2fbdc7,_0x5bd410,_0x1f6f98(0x29b));}),_0x5bd410['on'](_0xf15797(0x299),_0x12c887=>{_0x5bd410===null||_0x5bd410[_0x26b4df]||(_0x5bd410=_0x2fbdc7['_req']=null,_0x110855(_0x2fbdc7,_0x12c887));}),_0x5bd410['on'](_0xf15797(0x116),_0x4494a5=>{const _0x4c4c7b=_0xf15797,_0x5ae2ff=_0x4494a5[_0x4c4c7b(0x14b)][_0x4c4c7b(0x201)],_0x5a3406=_0x4494a5[_0x4c4c7b(0x1f0)];if(_0x5ae2ff&&_0x5603de['followRedirects']&&_0x5a3406>=0x12c&&_0x5a3406<0x190){if(++_0x2fbdc7[_0x4c4c7b(0x144)]>_0x5603de[_0x4c4c7b(0x215)]){_0x3fe981(_0x2fbdc7,_0x5bd410,_0x4c4c7b(0x235));return;}_0x5bd410[_0x4c4c7b(0x226)]();let _0x5775f4;try{_0x5775f4=new _0x1c8f26(_0x5ae2ff,_0x474d48);}catch{const _0x4aecf9=new SyntaxError(_0x4c4c7b(0x1c2)+_0x5ae2ff);_0x110855(_0x2fbdc7,_0x4aecf9);return;}_0x32b39c(_0x2fbdc7,_0x5775f4,_0x4017ac,_0x3376e5);}else _0x2fbdc7[_0x4c4c7b(0x1f8)](_0x4c4c7b(0x10d),_0x5bd410,_0x4494a5)||_0x3fe981(_0x2fbdc7,_0x5bd410,_0x4c4c7b(0x142)+_0x4494a5[_0x4c4c7b(0x1f0)]);}),_0x5bd410['on'](_0xf15797(0x17b),(_0x53f68e,_0x4541b3,_0x3923c6)=>{const _0x1da330=_0xf15797;if(_0x2fbdc7[_0x1da330(0x1f8)](_0x1da330(0x17b),_0x53f68e),_0x2fbdc7[_0x1da330(0x193)]!==_0x47b46d[_0x1da330(0x262)])return;_0x5bd410=_0x2fbdc7['_req']=null;const _0x5c909d=_0x53f68e[_0x1da330(0x14b)][_0x1da330(0x17b)];if(_0x5c909d===void 0x0||_0x5c909d['toLowerCase']()!==_0x1da330(0x244)){_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x25a));return;}const _0x45eea2=_0x23068b(_0x1da330(0x14e))['update'](_0x6d4e71+_0x23aa31)[_0x1da330(0x1c0)](_0x1da330(0x174));if(_0x53f68e[_0x1da330(0x14b)]['sec-websocket-accept']!==_0x45eea2){_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x1a4));return;}const _0x2e5f76=_0x53f68e[_0x1da330(0x14b)][_0x1da330(0x122)];let _0x4765d4;if(_0x2e5f76!==void 0x0?_0x1680a5['size']?_0x1680a5[_0x1da330(0x13c)](_0x2e5f76)||(_0x4765d4=_0x1da330(0x15e)):_0x4765d4=_0x1da330(0x16a):_0x1680a5[_0x1da330(0x2a0)]&&(_0x4765d4=_0x1da330(0x192)),_0x4765d4){_0x3fe981(_0x2fbdc7,_0x4541b3,_0x4765d4);return;}_0x2e5f76&&(_0x2fbdc7[_0x1da330(0x249)]=_0x2e5f76);const _0x3f91c8=_0x53f68e[_0x1da330(0x14b)]['sec-websocket-extensions'];if(_0x3f91c8!==void 0x0){if(!_0x4a0919){_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x17e));return;}let _0x15903b;try{_0x15903b=_0x5698ff(_0x3f91c8);}catch{_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x1bd));return;}const _0x461794=Object[_0x1da330(0x120)](_0x15903b);if(_0x461794[_0x1da330(0x23f)]!==0x1||_0x461794[0x0]!==_0x4686fb[_0x1da330(0xfe)]){_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x260));return;}try{_0x4a0919[_0x1da330(0x123)](_0x15903b[_0x4686fb[_0x1da330(0xfe)]]);}catch{_0x3fe981(_0x2fbdc7,_0x4541b3,_0x1da330(0x1bd));return;}_0x2fbdc7[_0x1da330(0xf9)][_0x4686fb['extensionName']]=_0x4a0919;}_0x2fbdc7[_0x1da330(0x1ca)](_0x4541b3,_0x3923c6,{'allowSynchronousEvents':_0x5603de[_0x1da330(0x29c)],'generateMask':_0x5603de[_0x1da330(0x29d)],'maxPayload':_0x5603de[_0x1da330(0x157)],'skipUTF8Validation':_0x5603de['skipUTF8Validation']});}),_0x5603de[_0xf15797(0x10a)]?_0x5603de[_0xf15797(0x10a)](_0x5bd410,_0x2fbdc7):_0x5bd410['end']();}function _0x110855(_0x541f5f,_0x51a3b4){const _0x92195a=_0x121430;_0x541f5f[_0x92195a(0x21d)]=_0x47b46d[_0x92195a(0x176)],_0x541f5f[_0x92195a(0x141)]=!0x0,_0x541f5f[_0x92195a(0x1f8)]('error',_0x51a3b4),_0x541f5f[_0x92195a(0x199)]();}function _0x47863e(_0x41f464){const _0x4bbd3d=_0x121430;return _0x41f464[_0x4bbd3d(0x1ab)]=_0x41f464[_0x4bbd3d(0x1b3)],_0x4ef1b8[_0x4bbd3d(0x25d)](_0x41f464);}function _0x189fb5(_0x20176f){const _0x308c72=_0x121430;return _0x20176f[_0x308c72(0x1ab)]=void 0x0,!_0x20176f[_0x308c72(0x170)]&&_0x20176f['servername']!==''&&(_0x20176f['servername']=_0x4ef1b8[_0x308c72(0x234)](_0x20176f[_0x308c72(0xef)])?'':_0x20176f['host']),_0x139ba2[_0x308c72(0x25d)](_0x20176f);}function _0x3fe981(_0x4f2e10,_0x2b6105,_0x1db1b5){const _0x2f4873=_0x121430;_0x4f2e10[_0x2f4873(0x21d)]=_0x47b46d[_0x2f4873(0x176)];const _0x10ece9=new Error(_0x1db1b5);Error[_0x2f4873(0x1dc)](_0x10ece9,_0x3fe981),_0x2b6105['setHeader']?(_0x2b6105[_0x26b4df]=!0x0,_0x2b6105['abort'](),_0x2b6105[_0x2f4873(0x287)]&&!_0x2b6105['socket'][_0x2f4873(0x28a)]&&_0x2b6105[_0x2f4873(0x287)][_0x2f4873(0x115)](),process[_0x2f4873(0x19c)](_0x110855,_0x4f2e10,_0x10ece9)):(_0x2b6105['destroy'](_0x10ece9),_0x2b6105[_0x2f4873(0xed)](_0x2f4873(0x299),_0x4f2e10[_0x2f4873(0x1f8)]['bind'](_0x4f2e10,_0x2f4873(0x299))),_0x2b6105['once']('close',_0x4f2e10[_0x2f4873(0x199)][_0x2f4873(0x2a5)](_0x4f2e10)));}function _0x1816a6(_0x4d87c6,_0x518c23,_0x3544d4){const _0xe7c986=_0x121430;if(_0x518c23){const _0x3f7d2f=_0x151b16(_0x518c23)?_0x518c23[_0xe7c986(0x2a0)]:_0x1bc039(_0x518c23)[_0xe7c986(0x23f)];_0x4d87c6['_socket']?_0x4d87c6['_sender'][_0xe7c986(0x270)]+=_0x3f7d2f:_0x4d87c6['_bufferedAmount']+=_0x3f7d2f;}if(_0x3544d4){const _0x47ff48=new Error(_0xe7c986(0x20a)+_0x4d87c6[_0xe7c986(0x193)]+'\x20('+_0x4c6e57[_0x4d87c6[_0xe7c986(0x193)]]+')');process['nextTick'](_0x3544d4,_0x47ff48);}}function _0x1d368e(_0x5029ff,_0x2c154f){const _0x3e4065=_0x121430,_0x37269d=this[_0x194a35];_0x37269d[_0x3e4065(0x26e)]=!0x0,_0x37269d[_0x3e4065(0x1f9)]=_0x2c154f,_0x37269d[_0x3e4065(0x190)]=_0x5029ff,_0x37269d[_0x3e4065(0x247)][_0x194a35]!==void 0x0&&(_0x37269d[_0x3e4065(0x247)][_0x3e4065(0x238)](_0x3e4065(0x205),_0x2edf5b),process['nextTick'](_0x1106cd,_0x37269d[_0x3e4065(0x247)]),_0x5029ff===0x3ed?_0x37269d[_0x3e4065(0x189)]():_0x37269d['close'](_0x5029ff,_0x2c154f));}function _0x333044(){const _0x4b9be8=_0x121430,_0x52e2fc=this[_0x194a35];_0x52e2fc[_0x4b9be8(0x10e)]||_0x52e2fc[_0x4b9be8(0x247)][_0x4b9be8(0x224)]();}function _0x3dc337(_0x215f35){const _0xdcb199=_0x121430,_0xd86463=this[_0x194a35];_0xd86463['_socket'][_0x194a35]!==void 0x0&&(_0xd86463[_0xdcb199(0x247)][_0xdcb199(0x238)]('data',_0x2edf5b),process['nextTick'](_0x1106cd,_0xd86463['_socket']),_0xd86463[_0xdcb199(0x189)](_0x215f35[_0x55a2d4])),_0xd86463[_0xdcb199(0x141)]||(_0xd86463['_errorEmitted']=!0x0,_0xd86463['emit'](_0xdcb199(0x299),_0x215f35));}function _0x47b0fa(){this[_0x194a35]['emitClose']();}function _0x1a837f(_0x2345f9,_0x5f2c58){this[_0x194a35]['emit']('message',_0x2345f9,_0x5f2c58);}function _0x43ea3f(_0x1a290d){const _0x1e483b=_0x121430,_0x32e76e=this[_0x194a35];_0x32e76e[_0x1e483b(0x12c)]&&_0x32e76e[_0x1e483b(0x128)](_0x1a290d,!this[_0x1e483b(0x227)],_0xae0cf6),_0x32e76e[_0x1e483b(0x1f8)]('ping',_0x1a290d);}function _0x46d4aa(_0x3325a0){const _0x2da51b=_0x121430;this[_0x194a35]['emit'](_0x2da51b(0x128),_0x3325a0);}function _0x1106cd(_0x3cfc32){const _0x5303bd=_0x121430;_0x3cfc32[_0x5303bd(0x224)]();}function _0x3c1e9b(_0x4201c5){const _0x3c0e0a=_0x121430,_0x2e8ef4=this[_0x194a35];_0x2e8ef4[_0x3c0e0a(0x193)]!==_0x47b46d[_0x3c0e0a(0x17d)]&&(_0x2e8ef4[_0x3c0e0a(0x193)]===_0x47b46d[_0x3c0e0a(0x1fe)]&&(_0x2e8ef4[_0x3c0e0a(0x21d)]=_0x47b46d['CLOSING'],_0x81d385(_0x2e8ef4)),this[_0x3c0e0a(0x247)][_0x3c0e0a(0x195)](),_0x2e8ef4[_0x3c0e0a(0x141)]||(_0x2e8ef4[_0x3c0e0a(0x141)]=!0x0,_0x2e8ef4[_0x3c0e0a(0x1f8)](_0x3c0e0a(0x299),_0x4201c5)));}function _0x81d385(_0x2f67ea){const _0x334387=_0x121430;_0x2f67ea[_0x334387(0x186)]=setTimeout(_0x2f67ea[_0x334387(0x247)][_0x334387(0x115)][_0x334387(0x2a5)](_0x2f67ea['_socket']),_0x5ddb43);}function _0x5f5af6(){const _0x130dd6=_0x121430,_0x31fdec=this[_0x194a35];this[_0x130dd6(0x238)]('close',_0x5f5af6),this['removeListener'](_0x130dd6(0x205),_0x2edf5b),this[_0x130dd6(0x238)](_0x130dd6(0x195),_0x424e9a),_0x31fdec[_0x130dd6(0x21d)]=_0x47b46d['CLOSING'];let _0x2fc6fd;!this[_0x130dd6(0xf0)][_0x130dd6(0x216)]&&!_0x31fdec['_closeFrameReceived']&&!_0x31fdec[_0x130dd6(0x13a)][_0x130dd6(0x1c5)][_0x130dd6(0x1f3)]&&(_0x2fc6fd=_0x31fdec['_socket']['read']())!==null&&_0x31fdec[_0x130dd6(0x13a)][_0x130dd6(0xe9)](_0x2fc6fd),_0x31fdec[_0x130dd6(0x13a)][_0x130dd6(0x195)](),this[_0x194a35]=void 0x0,clearTimeout(_0x31fdec[_0x130dd6(0x186)]),_0x31fdec[_0x130dd6(0x13a)][_0x130dd6(0x1c5)][_0x130dd6(0x2ad)]||_0x31fdec[_0x130dd6(0x13a)]['_writableState']['errorEmitted']?_0x31fdec['emitClose']():(_0x31fdec[_0x130dd6(0x13a)]['on']('error',_0x47b0fa),_0x31fdec[_0x130dd6(0x13a)]['on']('finish',_0x47b0fa));}function _0x2edf5b(_0x25890f){const _0x3f4cfe=_0x121430;this[_0x194a35][_0x3f4cfe(0x13a)][_0x3f4cfe(0xe9)](_0x25890f)||this['pause']();}function _0x424e9a(){const _0x2f8fcc=_0x121430,_0x4be8c7=this[_0x194a35];_0x4be8c7['_readyState']=_0x47b46d[_0x2f8fcc(0x176)],_0x4be8c7['_receiver'][_0x2f8fcc(0x195)](),this[_0x2f8fcc(0x195)]();}function _0x2434a2(){const _0x38c65f=_0x121430,_0xe0b124=this[_0x194a35];this['removeListener'](_0x38c65f(0x299),_0x2434a2),this['on'](_0x38c65f(0x299),_0xae0cf6),_0xe0b124&&(_0xe0b124[_0x38c65f(0x21d)]=_0x47b46d[_0x38c65f(0x176)],this[_0x38c65f(0x115)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1a6a0d}=oe;function _0x537ac5(_0x3da277){const _0x237822=_0x1360;_0x3da277[_0x237822(0x1f8)](_0x237822(0x189));}function _0x2e8dc1(){const _0x5ac01e=_0x1360;!this[_0x5ac01e(0x28a)]&&this[_0x5ac01e(0x1c5)][_0x5ac01e(0x2ad)]&&this['destroy']();}function _0x3bbac7(_0x1cc1c5){const _0x3431c6=_0x1360;this[_0x3431c6(0x238)](_0x3431c6(0x299),_0x3bbac7),this[_0x3431c6(0x115)](),this[_0x3431c6(0x2a7)](_0x3431c6(0x299))===0x0&&this[_0x3431c6(0x1f8)](_0x3431c6(0x299),_0x1cc1c5);}function _0x41f19e(_0x82c6df,_0x46eddb){const _0x28ce34=_0x1360;let _0x1227c1=!0x0;const _0x24d6d0=new _0x1a6a0d({..._0x46eddb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x82c6df['on'](_0x28ce34(0x12a),function(_0x2d5d5d,_0x2099c6){const _0x1740cf=_0x28ce34,_0x38450c=!_0x2099c6&&_0x24d6d0['_readableState'][_0x1740cf(0x268)]?_0x2d5d5d[_0x1740cf(0x182)]():_0x2d5d5d;_0x24d6d0[_0x1740cf(0x25e)](_0x38450c)||_0x82c6df[_0x1740cf(0x220)]();}),_0x82c6df[_0x28ce34(0xed)](_0x28ce34(0x299),function(_0x24cd53){const _0x78962d=_0x28ce34;_0x24d6d0[_0x78962d(0x28a)]||(_0x1227c1=!0x1,_0x24d6d0[_0x78962d(0x115)](_0x24cd53));}),_0x82c6df[_0x28ce34(0xed)](_0x28ce34(0x189),function(){const _0xa2323f=_0x28ce34;_0x24d6d0[_0xa2323f(0x28a)]||_0x24d6d0[_0xa2323f(0x25e)](null);}),_0x24d6d0[_0x28ce34(0x280)]=function(_0x40e2a0,_0x17966b){const _0x4afc3d=_0x28ce34;if(_0x82c6df[_0x4afc3d(0x193)]===_0x82c6df[_0x4afc3d(0x17d)]){_0x17966b(_0x40e2a0),process[_0x4afc3d(0x19c)](_0x537ac5,_0x24d6d0);return;}let _0x5cceac=!0x1;_0x82c6df[_0x4afc3d(0xed)]('error',function(_0x4a6c36){_0x5cceac=!0x0,_0x17966b(_0x4a6c36);}),_0x82c6df[_0x4afc3d(0xed)](_0x4afc3d(0x189),function(){const _0x52d342=_0x4afc3d;_0x5cceac||_0x17966b(_0x40e2a0),process[_0x52d342(0x19c)](_0x537ac5,_0x24d6d0);}),_0x1227c1&&_0x82c6df[_0x4afc3d(0x1a9)]();},_0x24d6d0['_final']=function(_0x388227){const _0x8681f1=_0x28ce34;if(_0x82c6df[_0x8681f1(0x193)]===_0x82c6df['CONNECTING']){_0x82c6df['once'](_0x8681f1(0x1ae),function(){const _0x21f018=_0x8681f1;_0x24d6d0[_0x21f018(0x13b)](_0x388227);});return;}_0x82c6df['_socket']!==null&&(_0x82c6df[_0x8681f1(0x247)][_0x8681f1(0x1c5)]['finished']?(_0x388227(),_0x24d6d0[_0x8681f1(0xf0)][_0x8681f1(0x216)]&&_0x24d6d0[_0x8681f1(0x115)]()):(_0x82c6df[_0x8681f1(0x247)][_0x8681f1(0xed)](_0x8681f1(0x112),function(){_0x388227();}),_0x82c6df[_0x8681f1(0x189)]()));},_0x24d6d0[_0x28ce34(0x133)]=function(){const _0x133694=_0x28ce34;_0x82c6df['isPaused']&&_0x82c6df[_0x133694(0x224)]();},_0x24d6d0[_0x28ce34(0x130)]=function(_0x2e0499,_0x349a90,_0x13c6e5){const _0x7529a6=_0x28ce34;if(_0x82c6df['readyState']===_0x82c6df[_0x7529a6(0x262)]){_0x82c6df[_0x7529a6(0xed)]('open',function(){const _0x23a5a7=_0x7529a6;_0x24d6d0[_0x23a5a7(0x130)](_0x2e0499,_0x349a90,_0x13c6e5);});return;}_0x82c6df[_0x7529a6(0x109)](_0x2e0499,_0x13c6e5);},_0x24d6d0['on'](_0x28ce34(0x195),_0x2e8dc1),_0x24d6d0['on'](_0x28ce34(0x299),_0x3bbac7),_0x24d6d0;}return Oe=_0x41f19e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1ee699}=ae();function _0x20508a(_0x1c0a38){const _0x5bc043=_0x1360,_0xea7f8e=new Set();let _0x406f47=-0x1,_0x2befb1=-0x1,_0x401b69=0x0;for(_0x401b69;_0x401b69<_0x1c0a38[_0x5bc043(0x23f)];_0x401b69++){const _0x15926e=_0x1c0a38[_0x5bc043(0x1a2)](_0x401b69);if(_0x2befb1===-0x1&&_0x1ee699[_0x15926e]===0x1)_0x406f47===-0x1&&(_0x406f47=_0x401b69);else{if(_0x401b69!==0x0&&(_0x15926e===0x20||_0x15926e===0x9))_0x2befb1===-0x1&&_0x406f47!==-0x1&&(_0x2befb1=_0x401b69);else{if(_0x15926e===0x2c){if(_0x406f47===-0x1)throw new SyntaxError(_0x5bc043(0x250)+_0x401b69);_0x2befb1===-0x1&&(_0x2befb1=_0x401b69);const _0x3a2f86=_0x1c0a38[_0x5bc043(0x14f)](_0x406f47,_0x2befb1);if(_0xea7f8e['has'](_0x3a2f86))throw new SyntaxError(_0x5bc043(0x261)+_0x3a2f86+_0x5bc043(0x221));_0xea7f8e[_0x5bc043(0x11a)](_0x3a2f86),_0x406f47=_0x2befb1=-0x1;}else throw new SyntaxError(_0x5bc043(0x250)+_0x401b69);}}}if(_0x406f47===-0x1||_0x2befb1!==-0x1)throw new SyntaxError(_0x5bc043(0x253));const _0xbdbfd=_0x1c0a38[_0x5bc043(0x14f)](_0x406f47,_0x401b69);if(_0xea7f8e[_0x5bc043(0x13c)](_0xbdbfd))throw new SyntaxError(_0x5bc043(0x261)+_0xbdbfd+_0x5bc043(0x221));return _0xea7f8e['add'](_0xbdbfd),_0xea7f8e;}return Ce={'parse':_0x20508a},Ce;}var Te,rt;function Ft(){const _0x151b29=_0x4e57de;if(rt)return Te;rt=0x1;const _0xae5d0b=nt,_0xa67e82=ot,{Duplex:_0x22b37b}=oe,{createHash:_0x5eabc1}=Le,_0x5a2dc9=ct(),_0x38d72b=he(),_0x55d072=At(),_0x56f22e=Pe(),{GUID:_0x440b33,kWebSocket:_0x22a816}=H(),_0x4e0187=/^[+/0-9A-Za-z]{22}==$/,_0xfa945=0x0,_0x521448=0x1,_0x2a6003=0x2;class _0x46831c extends _0xae5d0b{constructor(_0x2f947d,_0x4707f0){const _0x24e0ff=_0x1360;if(super(),_0x2f947d={'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':_0x56f22e,..._0x2f947d},_0x2f947d[_0x24e0ff(0x184)]==null&&!_0x2f947d[_0x24e0ff(0x18d)]&&!_0x2f947d[_0x24e0ff(0x13d)]||_0x2f947d['port']!=null&&(_0x2f947d[_0x24e0ff(0x18d)]||_0x2f947d[_0x24e0ff(0x13d)])||_0x2f947d[_0x24e0ff(0x18d)]&&_0x2f947d['noServer'])throw new TypeError(_0x24e0ff(0x1f5));if(_0x2f947d[_0x24e0ff(0x184)]!=null?(this['_server']=_0xa67e82[_0x24e0ff(0x241)]((_0xdb467c,_0xa78b7a)=>{const _0x3a08e4=_0x24e0ff,_0x5dd381=_0xa67e82['STATUS_CODES'][0x1aa];_0xa78b7a[_0x3a08e4(0x26d)](0x1aa,{'Content-Length':_0x5dd381['length'],'Content-Type':_0x3a08e4(0x1b5)}),_0xa78b7a[_0x3a08e4(0x195)](_0x5dd381);}),this['_server'][_0x24e0ff(0xee)](_0x2f947d['port'],_0x2f947d[_0x24e0ff(0xef)],_0x2f947d['backlog'],_0x4707f0)):_0x2f947d[_0x24e0ff(0x18d)]&&(this[_0x24e0ff(0x1e6)]=_0x2f947d[_0x24e0ff(0x18d)]),this['_server']){const _0x13d29e=this[_0x24e0ff(0x1f8)][_0x24e0ff(0x2a5)](this,'connection');this[_0x24e0ff(0x1c8)]=_0x5a16a3(this[_0x24e0ff(0x1e6)],{'listening':this['emit'][_0x24e0ff(0x2a5)](this,_0x24e0ff(0x20b)),'error':this['emit']['bind'](this,_0x24e0ff(0x299)),'upgrade':(_0x4a0a2f,_0x32df88,_0x37dc5b)=>{const _0x3c1214=_0x24e0ff;this[_0x3c1214(0x23d)](_0x4a0a2f,_0x32df88,_0x37dc5b,_0x13d29e);}});}_0x2f947d[_0x24e0ff(0x1dd)]===!0x0&&(_0x2f947d['perMessageDeflate']={}),_0x2f947d[_0x24e0ff(0x149)]&&(this[_0x24e0ff(0x1b4)]=new Set(),this[_0x24e0ff(0x11b)]=!0x1),this[_0x24e0ff(0x28e)]=_0x2f947d,this['_state']=_0xfa945;}['address'](){const _0x398895=_0x1360;if(this[_0x398895(0x28e)][_0x398895(0x13d)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x398895(0x1e6)]?this['_server'][_0x398895(0x21b)]():null;}[_0x151b29(0x189)](_0x1f3b4f){const _0x5b5504=_0x151b29;if(this[_0x5b5504(0x1cb)]===_0x2a6003){_0x1f3b4f&&this[_0x5b5504(0xed)](_0x5b5504(0x189),()=>{const _0x380c42=_0x5b5504;_0x1f3b4f(new Error(_0x380c42(0xe3)));}),process[_0x5b5504(0x19c)](_0x1bdc15,this);return;}if(_0x1f3b4f&&this[_0x5b5504(0xed)]('close',_0x1f3b4f),this['_state']!==_0x521448){if(this['_state']=_0x521448,this[_0x5b5504(0x28e)]['noServer']||this['options'][_0x5b5504(0x18d)])this[_0x5b5504(0x1e6)]&&(this[_0x5b5504(0x1c8)](),this['_removeListeners']=this[_0x5b5504(0x1e6)]=null),this['clients']?this[_0x5b5504(0x1b4)][_0x5b5504(0x2a0)]?this[_0x5b5504(0x11b)]=!0x0:process[_0x5b5504(0x19c)](_0x1bdc15,this):process[_0x5b5504(0x19c)](_0x1bdc15,this);else{const _0x1ea8c8=this[_0x5b5504(0x1e6)];this[_0x5b5504(0x1c8)](),this[_0x5b5504(0x1c8)]=this[_0x5b5504(0x1e6)]=null,_0x1ea8c8[_0x5b5504(0x189)](()=>{_0x1bdc15(this);});}}}['shouldHandle'](_0x2a1588){const _0x2b57ac=_0x151b29;if(this[_0x2b57ac(0x28e)][_0x2b57ac(0x1ab)]){const _0xc0df37=_0x2a1588['url'][_0x2b57ac(0x145)]('?');if((_0xc0df37!==-0x1?_0x2a1588[_0x2b57ac(0x20f)][_0x2b57ac(0x14f)](0x0,_0xc0df37):_0x2a1588[_0x2b57ac(0x20f)])!==this[_0x2b57ac(0x28e)][_0x2b57ac(0x1ab)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3a8320,_0x223c62,_0x37c508,_0x3dba97){const _0x304e0a=_0x151b29;_0x223c62['on']('error',_0x2da968);const _0x114d83=_0x3a8320['headers']['sec-websocket-key'],_0x5b1beb=_0x3a8320[_0x304e0a(0x14b)]['upgrade'],_0x5314b0=+_0x3a8320[_0x304e0a(0x14b)][_0x304e0a(0x24e)];if(_0x3a8320['method']!==_0x304e0a(0x251)){_0x3aaf5a(this,_0x3a8320,_0x223c62,0x195,_0x304e0a(0x1a1));return;}if(_0x5b1beb===void 0x0||_0x5b1beb[_0x304e0a(0x13f)]()!==_0x304e0a(0x244)){_0x3aaf5a(this,_0x3a8320,_0x223c62,0x190,_0x304e0a(0x25a));return;}if(_0x114d83===void 0x0||!_0x4e0187[_0x304e0a(0x24c)](_0x114d83)){_0x3aaf5a(this,_0x3a8320,_0x223c62,0x190,_0x304e0a(0x276));return;}if(_0x5314b0!==0x8&&_0x5314b0!==0xd){_0x3aaf5a(this,_0x3a8320,_0x223c62,0x190,_0x304e0a(0x20e));return;}if(!this[_0x304e0a(0x1f6)](_0x3a8320)){_0x171e30(_0x223c62,0x190);return;}const _0x4f88dc=_0x3a8320[_0x304e0a(0x14b)][_0x304e0a(0x122)];let _0x4e9365=new Set();if(_0x4f88dc!==void 0x0)try{_0x4e9365=_0x55d072[_0x304e0a(0x1d2)](_0x4f88dc);}catch{_0x3aaf5a(this,_0x3a8320,_0x223c62,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x360eb0=_0x3a8320[_0x304e0a(0x14b)][_0x304e0a(0x19d)],_0x3dd0ba={};if(this[_0x304e0a(0x28e)][_0x304e0a(0x1dd)]&&_0x360eb0!==void 0x0){const _0x5e2ea5=new _0x38d72b(this[_0x304e0a(0x28e)][_0x304e0a(0x1dd)],!0x0,this[_0x304e0a(0x28e)][_0x304e0a(0x157)]);try{const _0x58f5f6=_0x5a2dc9[_0x304e0a(0x1d2)](_0x360eb0);_0x58f5f6[_0x38d72b[_0x304e0a(0xfe)]]&&(_0x5e2ea5[_0x304e0a(0x123)](_0x58f5f6[_0x38d72b[_0x304e0a(0xfe)]]),_0x3dd0ba[_0x38d72b['extensionName']]=_0x5e2ea5);}catch{_0x3aaf5a(this,_0x3a8320,_0x223c62,0x190,_0x304e0a(0x138));return;}}if(this[_0x304e0a(0x28e)][_0x304e0a(0x281)]){const _0x261936={'origin':_0x3a8320[_0x304e0a(0x14b)][''+(_0x5314b0===0x8?_0x304e0a(0x22d):_0x304e0a(0x1b6))],'secure':!!(_0x3a8320[_0x304e0a(0x287)][_0x304e0a(0x1cd)]||_0x3a8320[_0x304e0a(0x287)][_0x304e0a(0x1d7)]),'req':_0x3a8320};if(this[_0x304e0a(0x28e)][_0x304e0a(0x281)][_0x304e0a(0x23f)]===0x2){this[_0x304e0a(0x28e)][_0x304e0a(0x281)](_0x261936,(_0x4b9a87,_0x35faa0,_0x3747dc,_0x56588d)=>{const _0x45c96b=_0x304e0a;if(!_0x4b9a87)return _0x171e30(_0x223c62,_0x35faa0||0x191,_0x3747dc,_0x56588d);this[_0x45c96b(0x10c)](_0x3dd0ba,_0x114d83,_0x4e9365,_0x3a8320,_0x223c62,_0x37c508,_0x3dba97);});return;}if(!this[_0x304e0a(0x28e)][_0x304e0a(0x281)](_0x261936))return _0x171e30(_0x223c62,0x191);}this['completeUpgrade'](_0x3dd0ba,_0x114d83,_0x4e9365,_0x3a8320,_0x223c62,_0x37c508,_0x3dba97);}[_0x151b29(0x10c)](_0x42d62d,_0x555e6f,_0x2f1924,_0x59707e,_0x2a2222,_0x43c3b8,_0x481de9){const _0x2dfe4b=_0x151b29;if(!_0x2a2222[_0x2dfe4b(0xf8)]||!_0x2a2222[_0x2dfe4b(0x1db)])return _0x2a2222['destroy']();if(_0x2a2222[_0x22a816])throw new Error(_0x2dfe4b(0x295));if(this['_state']>_0xfa945)return _0x171e30(_0x2a2222,0x1f7);const _0x44c788=[_0x2dfe4b(0x25b),'Upgrade:\x20websocket',_0x2dfe4b(0x12e),_0x2dfe4b(0x160)+_0x5eabc1(_0x2dfe4b(0x14e))['update'](_0x555e6f+_0x440b33)[_0x2dfe4b(0x1c0)](_0x2dfe4b(0x174))],_0xaa4772=new this[(_0x2dfe4b(0x28e))][(_0x2dfe4b(0x1f2))](null,void 0x0,this[_0x2dfe4b(0x28e)]);if(_0x2f1924[_0x2dfe4b(0x2a0)]){const _0x3effbb=this[_0x2dfe4b(0x28e)]['handleProtocols']?this[_0x2dfe4b(0x28e)]['handleProtocols'](_0x2f1924,_0x59707e):_0x2f1924[_0x2dfe4b(0xfd)]()['next']()[_0x2dfe4b(0x1e3)];_0x3effbb&&(_0x44c788['push'](_0x2dfe4b(0x107)+_0x3effbb),_0xaa4772['_protocol']=_0x3effbb);}if(_0x42d62d[_0x38d72b[_0x2dfe4b(0xfe)]]){const _0x3014a9=_0x42d62d[_0x38d72b[_0x2dfe4b(0xfe)]]['params'],_0x3b6b84=_0x5a2dc9[_0x2dfe4b(0x114)]({[_0x38d72b['extensionName']]:[_0x3014a9]});_0x44c788[_0x2dfe4b(0x25e)](_0x2dfe4b(0x26a)+_0x3b6b84),_0xaa4772[_0x2dfe4b(0xf9)]=_0x42d62d;}this[_0x2dfe4b(0x1f8)](_0x2dfe4b(0x14b),_0x44c788,_0x59707e),_0x2a2222[_0x2dfe4b(0xe9)](_0x44c788['concat']('\x0d\x0a')[_0x2dfe4b(0x132)]('\x0d\x0a')),_0x2a2222[_0x2dfe4b(0x238)]('error',_0x2da968),_0xaa4772[_0x2dfe4b(0x1ca)](_0x2a2222,_0x43c3b8,{'allowSynchronousEvents':this[_0x2dfe4b(0x28e)][_0x2dfe4b(0x29c)],'maxPayload':this[_0x2dfe4b(0x28e)]['maxPayload'],'skipUTF8Validation':this[_0x2dfe4b(0x28e)]['skipUTF8Validation']}),this[_0x2dfe4b(0x1b4)]&&(this[_0x2dfe4b(0x1b4)][_0x2dfe4b(0x11a)](_0xaa4772),_0xaa4772['on']('close',()=>{const _0x367795=_0x2dfe4b;this[_0x367795(0x1b4)][_0x367795(0x1e9)](_0xaa4772),this[_0x367795(0x11b)]&&!this[_0x367795(0x1b4)]['size']&&process[_0x367795(0x19c)](_0x1bdc15,this);})),_0x481de9(_0xaa4772,_0x59707e);}}Te=_0x46831c;function _0x5a16a3(_0x4a89a5,_0xd14f0a){const _0x54b418=_0x151b29;for(const _0x417a80 of Object[_0x54b418(0x120)](_0xd14f0a))_0x4a89a5['on'](_0x417a80,_0xd14f0a[_0x417a80]);return function(){const _0x42e799=_0x54b418;for(const _0x1af6a5 of Object[_0x42e799(0x120)](_0xd14f0a))_0x4a89a5[_0x42e799(0x238)](_0x1af6a5,_0xd14f0a[_0x1af6a5]);};}function _0x1bdc15(_0x1593ce){const _0x6c7ebe=_0x151b29;_0x1593ce[_0x6c7ebe(0x1cb)]=_0x2a6003,_0x1593ce[_0x6c7ebe(0x1f8)](_0x6c7ebe(0x189));}function _0x2da968(){const _0xb5465c=_0x151b29;this[_0xb5465c(0x115)]();}function _0x171e30(_0x4b62f0,_0x5ae8bc,_0x113cbe,_0x2ff5a4){const _0x59ecfc=_0x151b29;_0x113cbe=_0x113cbe||_0xa67e82[_0x59ecfc(0x1a7)][_0x5ae8bc],_0x2ff5a4={'Connection':'close','Content-Type':_0x59ecfc(0x1af),'Content-Length':Buffer[_0x59ecfc(0x22a)](_0x113cbe),..._0x2ff5a4},_0x4b62f0[_0x59ecfc(0xed)](_0x59ecfc(0x112),_0x4b62f0[_0x59ecfc(0x115)]),_0x4b62f0['end']('HTTP/1.1\x20'+_0x5ae8bc+'\x20'+_0xa67e82[_0x59ecfc(0x1a7)][_0x5ae8bc]+'\x0d\x0a'+Object[_0x59ecfc(0x120)](_0x2ff5a4)[_0x59ecfc(0x148)](_0x3d3a48=>_0x3d3a48+':\x20'+_0x2ff5a4[_0x3d3a48])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x113cbe);}function _0x3aaf5a(_0x467f2d,_0x3e9237,_0x4db171,_0x55d539,_0x4d547c){const _0x1ad341=_0x151b29;if(_0x467f2d['listenerCount']('wsClientError')){const _0x2fe18f=new Error(_0x4d547c);Error[_0x1ad341(0x1dc)](_0x2fe18f,_0x3aaf5a),_0x467f2d[_0x1ad341(0x1f8)](_0x1ad341(0x258),_0x2fe18f,_0x4db171,_0x3e9237);}else _0x171e30(_0x4db171,_0x55d539,_0x4d547c);}return Te;}Ft();var jt=Object[_0x4e57de(0x136)],Wt=(_0x5223a9,_0x384789,_0x4fe7d8,_0x110d24)=>{const _0xa4a153=_0x4e57de;for(var _0x5d9b19=_0x110d24>0x1?void 0x0:_0x110d24?jt(_0x384789,_0x4fe7d8):_0x384789,_0xd52006=_0x5223a9[_0xa4a153(0x23f)]-0x1,_0x509708;_0xd52006>=0x0;_0xd52006--)(_0x509708=_0x5223a9[_0xd52006])&&(_0x5d9b19=_0x509708(_0x5d9b19)||_0x5d9b19);return _0x5d9b19;},qt=(_0x283d07,_0x1d9bdb)=>(_0x3e6a18,_0x50b47e)=>_0x1d9bdb(_0x3e6a18,_0x50b47e,_0x283d07);let ke=class extends A[_0x4e57de(0xff)]{constructor(_0x1aaedc){const _0x3ebe96=_0x4e57de;super(),this[_0x3ebe96(0x1d6)]=_0x1aaedc;}['createSocket'](_0x23fb64){const _0x4d25e9=_0x4e57de;var _0x3bdc12;const _0x45bc9e=(_0x3bdc12=this[_0x4d25e9(0x1d6)][_0x4d25e9(0x275)](fe))==null?void 0x0:_0x3bdc12[_0x4d25e9(0x1f4)];try{const _0x1d1ff5=new $t(_0x23fb64,{'headers':{..._0x45bc9e}}),_0xb73878=new A[(_0x4d25e9(0x17c))]();return{'URL':_0x23fb64,'close':(_0x667556,_0x7cd470)=>{const _0x1bb64f=_0x4d25e9;_0x1d1ff5[_0x1bb64f(0x189)](_0x667556,_0x7cd470),_0xb73878[_0x1bb64f(0x231)]();},'send':_0x19b44e=>{const _0x2a3bc9=_0x4d25e9;_0x1d1ff5[_0x2a3bc9(0x109)](_0x19b44e);},'open$':new V[(_0x4d25e9(0x20d))](_0x9e1d3e=>{const _0x3aad61=_0x4d25e9,_0x4df215=_0x94f41b=>_0x9e1d3e[_0x3aad61(0x2a3)](_0x94f41b);_0x1d1ff5[_0x3aad61(0x254)](_0x3aad61(0x1ae),_0x4df215),_0xb73878[_0x3aad61(0x11a)](A[_0x3aad61(0x21c)](()=>_0x1d1ff5['removeEventListener'](_0x3aad61(0x1ae),_0x4df215)));})['pipe'](V[_0x4d25e9(0x121)]()),'close$':new V[(_0x4d25e9(0x20d))](_0xa88ea9=>{const _0x280fab=_0x4d25e9,_0x374c20=_0x418616=>_0xa88ea9['next'](_0x418616);_0x1d1ff5['addEventListener']('close',_0x374c20),_0xb73878[_0x280fab(0x11a)](A[_0x280fab(0x21c)](()=>_0x1d1ff5['removeEventListener']('close',_0x374c20)));})['pipe'](V[_0x4d25e9(0x121)]()),'error$':new V[(_0x4d25e9(0x20d))](_0xb65334=>{const _0x592a19=_0x4d25e9,_0x1a398f=_0x479b3e=>_0xb65334[_0x592a19(0x2a3)](_0x479b3e);_0x1d1ff5[_0x592a19(0x254)](_0x592a19(0x299),_0x1a398f),_0xb73878[_0x592a19(0x11a)](A[_0x592a19(0x21c)](()=>_0x1d1ff5[_0x592a19(0x292)](_0x592a19(0x299),_0x1a398f)));})[_0x4d25e9(0x1da)](V[_0x4d25e9(0x121)]()),'message$':new V[(_0x4d25e9(0x20d))](_0x41c02d=>{const _0x5c6d96=_0x4d25e9,_0x5e3775=_0x1437e3=>_0x41c02d['next'](_0x1437e3);_0x1d1ff5[_0x5c6d96(0x254)](_0x5c6d96(0x12a),_0x5e3775),_0xb73878[_0x5c6d96(0x11a)](A[_0x5c6d96(0x21c)](()=>_0x1d1ff5[_0x5c6d96(0x292)]('message',_0x5e3775)));})[_0x4d25e9(0x1da)](V[_0x4d25e9(0x121)]())};}catch(_0x2330db){return console[_0x4d25e9(0x299)](_0x2330db),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x4e57de(0x1ff)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x472bb2,_0x48d863,_0x46f078)=>_0x48d863 in _0x472bb2?Gt(_0x472bb2,_0x48d863,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46f078}):_0x472bb2[_0x48d863]=_0x46f078,zt=(_0x544c0c,_0x841cb8,_0x5a1094,_0x5a5e79)=>{const _0x529c22=_0x4e57de;for(var _0x33af57=_0x5a5e79>0x1?void 0x0:_0x5a5e79?Vt(_0x841cb8,_0x5a1094):_0x841cb8,_0x2b7b1c=_0x544c0c[_0x529c22(0x23f)]-0x1,_0x4e4eea;_0x2b7b1c>=0x0;_0x2b7b1c--)(_0x4e4eea=_0x544c0c[_0x2b7b1c])&&(_0x33af57=_0x4e4eea(_0x33af57)||_0x33af57);return _0x33af57;},Ne=(_0xffe619,_0x183358)=>(_0x2760e6,_0x2da57f)=>_0x183358(_0x2760e6,_0x2da57f,_0xffe619),Yt=(_0x100878,_0x21432c,_0x47dd46)=>Ht(_0x100878,_0x21432c+'',_0x47dd46);exports[_0x4e57de(0x21f)]=class extends A[_0x4e57de(0x1de)]{constructor(_0x4a8af9=Ct,_0x2fe5e3,_0x796bfb,_0x58a7af){const _0x15e6c8=_0x4e57de;_0x4a8af9[_0x15e6c8(0x1f4)]||_0x2fe5e3[_0x15e6c8(0x135)](_0x15e6c8(0x236)),super(),this[_0x15e6c8(0x1d6)]=_0x796bfb,this['_injector']=_0x58a7af,this['_configService'][_0x15e6c8(0x212)](fe,_0x4a8af9);}[_0x4e57de(0x102)](){const _0x417542=_0x4e57de;this[_0x417542(0x1ba)]();}['_registerDependencies'](){const _0x38238a=_0x4e57de;A[_0x38238a(0x207)](this[_0x38238a(0x1b0)],[[it[_0x38238a(0x187)],{'useClass':ke}]]);}},Yt(exports[_0x4e57de(0x21f)],_0x4e57de(0xec),_0x4e57de(0x243)),exports[_0x4e57de(0x21f)]=zt([A[_0x4e57de(0x11d)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x4e57de(0x150)]),Ne(0x2,A[_0x4e57de(0x146)]),Ne(0x3,A[_0x4e57de(0x196)](A[_0x4e57de(0x16d)]))],exports[_0x4e57de(0x21f)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x3edd78,_0x28223b,_0x585b9a,_0x4dc2c1)=>{const _0x549440=_0x4e57de;for(var _0x37a604=_0x4dc2c1>0x1?void 0x0:_0x4dc2c1?Kt(_0x28223b,_0x585b9a):_0x28223b,_0x2b5773=_0x3edd78[_0x549440(0x23f)]-0x1,_0x3f0fd2;_0x2b5773>=0x0;_0x2b5773--)(_0x3f0fd2=_0x3edd78[_0x2b5773])&&(_0x37a604=_0x3f0fd2(_0x37a604)||_0x37a604);return _0x37a604;},ne=(_0x5306ce,_0x5e8802)=>(_0x2de6bc,_0x26dca7)=>_0x5e8802(_0x2de6bc,_0x26dca7,_0x5306ce);exports[_0x4e57de(0x255)]=class extends st[_0x4e57de(0x2a6)]{constructor(_0x26dee8,_0xccdb33,_0x3b9b99,_0x30eae2,_0x24fefc){const _0x3d3ec0=_0x4e57de;super(_0x26dee8,_0xccdb33,_0x3b9b99,_0x30eae2,_0x24fefc);const _0x16fa9d=this[_0x3d3ec0(0x1d6)][_0x3d3ec0(0x275)](fe);this[_0x3d3ec0(0x25f)][_0x3d3ec0(0xf7)]({'interceptor':(_0x13d333,_0x2a869f)=>{const _0x45523c=_0x3d3ec0;var _0x1d47c2;const _0xdf4d50=_0x13d333[_0x45523c(0x14b)];return(_0x1d47c2=_0x16fa9d==null?void 0x0:_0x16fa9d[_0x45523c(0x1f4)])!=null&&_0x1d47c2[_0x45523c(0x10b)]&&_0xdf4d50[_0x45523c(0x1d4)](_0x45523c(0x1cc),_0x16fa9d[_0x45523c(0x1f4)][_0x45523c(0x10b)]),_0x2a869f(_0x13d333);}});}async[_0x4e57de(0x164)](_0x5b233e){const _0x4917b6=_0x4e57de;return this[_0x4917b6(0x1a6)](_0x5b233e);}},exports[_0x4e57de(0x255)]=Xt([ne(0x0,A['Inject'](A[_0x4e57de(0x16d)])),ne(0x1,A[_0x4e57de(0x196)](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x4e57de(0x150)]),ne(0x4,Ot[_0x4e57de(0x22e)])],exports[_0x4e57de(0x255)]),exports[_0x4e57de(0x271)]=fe;
|