@univerjs-pro/collaboration-client-node 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3c34(){const _0x2fbc96=['statusCode','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','arrayBuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','bind','_fin','Sec-WebSocket-Protocol','RSV1\x20must\x20be\x20clear','pong','digest','isArray','exports','Origin','isView','_payloadLength','nextTick','open','followRedirects','setTimeout','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_injector','total-length','getPayloadLength16','byteLength','50oiphpQ','invalid\x20UTF-8\x20sequence','websocket','UniverCollaborationClientNodePlugin','582380TSTwKb','controlMessage','toLowerCase','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Upgrade:\x20websocket','_max_window_bits','kAborted','_threshold','Invalid\x20Upgrade\x20header','cleanup','_firstFragment','map','_closeFrameSent','_writableState','server','kCode','isServer','COLLABORATION_CLIENT_NODE_CONFIG_KEY','\x0d\x0a\x0d\x0a','handleEvent','errorEmitted','Unknown\x20parameter\x20\x22','pow','dispose','sha1','Module','forEach','Unexpected\x20end\x20of\x20input','maxPayload','text/html','kIsForOnEventAttribute','removeAllListeners','_closeMessage','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','_autoPong','_originalIpc','isPaused','_allowSynchronousEvents','frame','find','socket','MASK\x20must\x20be\x20clear','invalid\x20opcode\x200','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','maxRedirects','registerDependencies','cookie','prototype','Server\x20sent\x20no\x20subprotocol','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','isInteger','cork','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','isValidUTF8','enqueue','captureStackTrace','2763597QSBDAt','WS_ERR_EXPECTED_FIN','_totalPayloadLength','concurrency','217104wRcFrj','_extensions','add','apply','send','_compress','getOwnPropertyDescriptor','Disposable','_state','finished','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20\x22','split','close','WebSocket','invalid\x20opcode\x20','readUInt32BE','offer','\x22:\x20','_mask','zlibDeflateOptions','write','shouldHandle','Observable','catch','zlibInflateOptions','unexpected-response','addEventListener','\x22\x20subprotocol\x20is\x20duplicated','_readableState','emitClose','Sec-WebSocket-Extensions','serverNoContextTakeover','customHeaders','target','setHeader','alloc','objectMode','_configService','Server\x20sent\x20an\x20invalid\x20subprotocol','host','Basic\x20','setSocket','accept','concurrencyLimit','create','get','replace','freeze','_paused','function','https:','end','Sec-WebSocket-Accept:\x20','options','Opening\x20handshake\x20has\x20timed\x20out','call','readOnly','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','test','_messageLength','decompress','_errorEmitted','_originalSecure','redirect','Connection:\x20Upgrade','join','compress','mask','type','url','destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','method','acceptAsClient','WS_ERR_EXPECTED_MASK','20rUPsJc','_doCreateSocket','_removeListeners','flush','callback','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','resume','wss:','ws:','HTTPService','permessage-deflate','jobs','needDrain','socketPath','MASK\x20must\x20be\x20set','WS_ERR_INVALID_OPCODE','createError','wsClientError','dispatch','ping','hostname','unmask','startsWith','slice','_readyState','size','server_no_context_takeover','status-code','Unexpected\x20server\x20response:\x20','set','sec-websocket-origin','fin','OPEN','invalid\x20payload\x20length\x20','_closeFrameReceived','pause','_bufferedBytes','headers','_deflate','_no_context_takeover','arraybuffer','pending','length','writeUIntBE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','noServer','wasClean','allocUnsafe','byteOffset','finish','ILogService','threshold','client_no_context_takeover','kByteLength','removeEventListener','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','40376ZHWDrv','GET','completeUpgrade','getConfig','kListener','abort','Upgrade','NodeCollaborationSocketService','indexOf','servername','_maskBuffer','charCodeAt','_protocol','toStringTag','path','haveLength','_errored','kType','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','response','serverMaxWindowBits','skipUTF8Validation','location','CLOSING','endEmitted','finishRequest','share','_receiver','maskBuffer','bufferedAmount','275utBVtm','next','removeListener','_isServer','listenerCount','_httpService','concat','_loop','getMask','_skipUTF8Validation','error','once','DisposableCollection','_write','upgrade','update','setNoDelay','Injector','createDeflateRaw','CONNECTING','DependentOn','listeners','acceptAsServer','_originalHostOrSocketPath','637pTIefK','getData','createServer','WS_ERR_UNEXPECTED_RSV_1','The\x20URL\x27s\x20pathname\x20is\x20empty','dataMessage','env','startLoop','WS_ERR_INVALID_UTF8','_binaryType','authorization','ws+unix:','clients','keys','toString','href','getInfo','Maximum\x20redirects\x20exceeded','unshift','writable','constructor','opcode','address','default','server_max_window_bits','onclose','toDisposable','code','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_sender','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','timeout','_socket','_generateMask','2BZyhof','clientNoContextTakeover','string','kMessage','values','Max\x20payload\x20size\x20exceeded','_shouldEmitClose','_bufferedAmount','HTTP/1.1\x20101\x20Switching\x20Protocols','STATUS_CODES','message','fragments','drain','listen','setConfig','emit','defineProperty','sec-websocket-key','Invalid\x20Sec-WebSocket-Accept\x20header','dequeue','_url','nodebuffer','getPayloadLength64','onopen','protocolVersion','pipe','_options','connect','extensionName','_closeCode','isIP','2777157jKGytv','extensions','Sec-WebSocket-Protocol:\x20','_closeTimer','clientTracking','kRun','UniverCollaborationClientPlugin','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','IConfigService','Sec-WebSocket-Extensions:\x20','params','value','generateMask','handleUpgrade','Inject','allowSynchronousEvents','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','verifyClient','kWasClean','_read','handleProtocols','text/plain','push','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','readUInt16BE','protocol','_fragmented','autoPong','WS_NO_BUFFER_UTIL','WS_NO_UTF_8_VALIDATE','Plugin','collaboration-client-node.config','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','readable','username','includes','onerror','sec-websocket-protocol','Parameter\x20\x22','port','buffer','number','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','hasOwnProperty','password','terminate','createInflateRaw','_queue','delete','_server','data','handshakeTimeout','reset','species','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','consume','getBlobData','13,\x208','entries','CLOSED','writeUInt16BE','sec-websocket-version','client','base64','warn','_opcode','_compressed','hash','WS_ERR_UNEXPECTED_MASK','__esModule','Invalid\x20URL:\x20','stream','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','auth','authorized','object','Invalid\x20Sec-WebSocket-Extensions\x20header','has','Z_DEFAULT_WINDOWBITS','_buffers','sendFrame','blob','Blob','Sec-WebSocket-Origin','_inflate','read','reason','1348112BDmGyO','perMessageDeflate','_masked','sec-websocket-accept','_registerDependencies','origin','parse','Unexpected\x20character\x20at\x20index\x20','defaultPort','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','client_max_window_bits','registerHTTPInterceptor','_decompress','_redirects','from','destroyed','CollaborationSocketService','conclude','binaryType','clientMaxWindowBits','readyState','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','2233638QvHeZS','_fragments','uncork','Cookie','_maxPayload','_destroy','backlog','shift','File','_req','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','createConnection'];_0x3c34=function(){return _0x2fbc96;};return _0x3c34();}const _0x5c7585=_0x2b44;(function(_0x17e93e,_0x51eb80){const _0x29ba78=_0x2b44,_0x4db9d7=_0x17e93e();while(!![]){try{const _0x346088=parseInt(_0x29ba78(0x1f6))/0x1+-parseInt(_0x29ba78(0x17f))/0x2*(-parseInt(_0x29ba78(0x26e))/0x3)+-parseInt(_0x29ba78(0x2be))/0x4*(-parseInt(_0x29ba78(0x234))/0x5)+-parseInt(_0x29ba78(0x20c))/0x6+-parseInt(_0x29ba78(0x15d))/0x7*(-parseInt(_0x29ba78(0x2f6))/0x8)+-parseInt(_0x29ba78(0x19e))/0x9*(parseInt(_0x29ba78(0x230))/0xa)+-parseInt(_0x29ba78(0x145))/0xb*(parseInt(_0x29ba78(0x272))/0xc);if(_0x346088===_0x51eb80)break;else _0x4db9d7['push'](_0x4db9d7['shift']());}catch(_0x3a0621){_0x4db9d7['push'](_0x4db9d7['shift']());}}}(_0x3c34,0xe65aa));Object['defineProperty'](exports,Symbol[_0x5c7585(0x303)],{'value':_0x5c7585(0x24d)});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=_0x5c7585(0x1bd),Ct={'customHeaders':{}};function Tt(_0xc076e7){const _0x5c3dbf=_0x5c7585;return _0xc076e7&&_0xc076e7[_0x5c3dbf(0x1e3)]&&Object[_0x5c3dbf(0x265)][_0x5c3dbf(0x1c9)][_0x5c3dbf(0x2aa)](_0xc076e7,'default')?_0xc076e7[_0x5c3dbf(0x174)]:_0xc076e7;}function at(_0x2068f6){const _0x3fbc4a=_0x5c7585;if(Object[_0x3fbc4a(0x265)][_0x3fbc4a(0x1c9)][_0x3fbc4a(0x2aa)](_0x2068f6,_0x3fbc4a(0x1e3)))return _0x2068f6;var _0x3195fd=_0x2068f6[_0x3fbc4a(0x174)];if(typeof _0x3195fd=='function'){var _0x26586d=function _0xff6240(){const _0x116974=_0x3fbc4a;var _0x2d1968=!0x1;try{_0x2d1968=this instanceof _0xff6240;}catch{}return _0x2d1968?Reflect['construct'](_0x3195fd,arguments,this[_0x116974(0x171)]):_0x3195fd[_0x116974(0x275)](this,arguments);};_0x26586d[_0x3fbc4a(0x265)]=_0x3195fd[_0x3fbc4a(0x265)];}else _0x26586d={};return Object['defineProperty'](_0x26586d,_0x3fbc4a(0x1e3),{'value':!0x0}),Object[_0x3fbc4a(0x16a)](_0x2068f6)[_0x3fbc4a(0x24e)](function(_0x5d5c1f){const _0x186984=_0x3fbc4a;var _0x1f76d8=Object[_0x186984(0x278)](_0x2068f6,_0x5d5c1f);Object[_0x186984(0x18f)](_0x26586d,_0x5d5c1f,_0x1f76d8[_0x186984(0x2a0)]?_0x1f76d8:{'enumerable':!0x0,'get':function(){return _0x2068f6[_0x5d5c1f];}});}),_0x26586d;}function _0x2b44(_0x2eb464,_0x161ddf){const _0x3c34ac=_0x3c34();return _0x2b44=function(_0x2b442d,_0x1cc1ef){_0x2b442d=_0x2b442d-0x13d;let _0x455813=_0x3c34ac[_0x2b442d];return _0x455813;},_0x2b44(_0x2eb464,_0x161ddf);}var se={'exports':{}},ge,Ge;function H(){const _0x5453a1=_0x5c7585;if(Ge)return ge;Ge=0x1;const _0x5d1746=[_0x5453a1(0x194),_0x5453a1(0x2e6),_0x5453a1(0x18a)],_0x2efce3=typeof Blob<'u';return _0x2efce3&&_0x5d1746[_0x5453a1(0x1b4)](_0x5453a1(0x1f0)),ge={'BINARY_TYPES':_0x5d1746,'EMPTY_BUFFER':Buffer[_0x5453a1(0x296)](0x0),'GUID':_0x5453a1(0x261),'hasBlob':_0x2efce3,'kForOnEventAttribute':Symbol(_0x5453a1(0x252)),'kListener':Symbol(_0x5453a1(0x2fa)),'kStatusCode':Symbol(_0x5453a1(0x2d9)),'kWebSocket':Symbol(_0x5453a1(0x232)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5c7585(0x2a2)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x5c7585(0x303)],{'value':_0x5c7585(0x24d)})),Lt=at(kt);var Ve;function ce(){const _0x2ab39a=_0x5c7585;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x4da26b}=H(),_0x6778bb=Buffer[Symbol['species']];function _0x5e323f(_0x4ce692,_0x3a4821){const _0x47e232=_0x2b44;if(_0x4ce692[_0x47e232(0x2e8)]===0x0)return _0x4da26b;if(_0x4ce692[_0x47e232(0x2e8)]===0x1)return _0x4ce692[0x0];const _0xc5afbd=Buffer[_0x47e232(0x2ed)](_0x3a4821);let _0x1641b6=0x0;for(let _0x2ef4e0=0x0;_0x2ef4e0<_0x4ce692[_0x47e232(0x2e8)];_0x2ef4e0++){const _0x3aee34=_0x4ce692[_0x2ef4e0];_0xc5afbd[_0x47e232(0x2db)](_0x3aee34,_0x1641b6),_0x1641b6+=_0x3aee34['length'];}return _0x1641b6<_0x3a4821?new _0x6778bb(_0xc5afbd[_0x47e232(0x1c6)],_0xc5afbd['byteOffset'],_0x1641b6):_0xc5afbd;}function _0x237385(_0x45e4fd,_0x4145b9,_0x27912b,_0x53863a,_0x28f184){for(let _0x697fc7=0x0;_0x697fc7<_0x28f184;_0x697fc7++)_0x27912b[_0x53863a+_0x697fc7]=_0x45e4fd[_0x697fc7]^_0x4145b9[_0x697fc7&0x3];}function _0x4bf1c8(_0x591c62,_0x485ae5){const _0x5ec101=_0x2b44;for(let _0x5d5194=0x0;_0x5d5194<_0x591c62[_0x5ec101(0x2e8)];_0x5d5194++)_0x591c62[_0x5d5194]^=_0x485ae5[_0x5d5194&0x3];}function _0x203902(_0x5e9f95){const _0x5cf4f8=_0x2b44;return _0x5e9f95[_0x5cf4f8(0x2e8)]===_0x5e9f95[_0x5cf4f8(0x1c6)][_0x5cf4f8(0x22f)]?_0x5e9f95[_0x5cf4f8(0x1c6)]:_0x5e9f95[_0x5cf4f8(0x1c6)][_0x5cf4f8(0x2d5)](_0x5e9f95[_0x5cf4f8(0x2ee)],_0x5e9f95[_0x5cf4f8(0x2ee)]+_0x5e9f95[_0x5cf4f8(0x2e8)]);}function _0x1bd6b8(_0x5211c2){const _0x9b270=_0x2b44;if(_0x1bd6b8[_0x9b270(0x2ab)]=!0x0,Buffer[_0x9b270(0x256)](_0x5211c2))return _0x5211c2;let _0x3dfbc0;return _0x5211c2 instanceof ArrayBuffer?_0x3dfbc0=new _0x6778bb(_0x5211c2):ArrayBuffer[_0x9b270(0x225)](_0x5211c2)?_0x3dfbc0=new _0x6778bb(_0x5211c2[_0x9b270(0x1c6)],_0x5211c2[_0x9b270(0x2ee)],_0x5211c2[_0x9b270(0x22f)]):(_0x3dfbc0=Buffer[_0x9b270(0x204)](_0x5211c2),_0x1bd6b8[_0x9b270(0x2ab)]=!0x1),_0x3dfbc0;}if(se[_0x2ab39a(0x223)]={'concat':_0x5e323f,'mask':_0x237385,'toArrayBuffer':_0x203902,'toBuffer':_0x1bd6b8,'unmask':_0x4bf1c8},!process[_0x2ab39a(0x163)][_0x2ab39a(0x1ba)])try{const _0x3052a4=Lt;se[_0x2ab39a(0x223)][_0x2ab39a(0x2b6)]=function(_0x519298,_0x2cdc17,_0x2434f2,_0x5c8d17,_0x2d98cc){const _0xf3445a=_0x2ab39a;_0x2d98cc<0x30?_0x237385(_0x519298,_0x2cdc17,_0x2434f2,_0x5c8d17,_0x2d98cc):_0x3052a4[_0xf3445a(0x2b6)](_0x519298,_0x2cdc17,_0x2434f2,_0x5c8d17,_0x2d98cc);},se['exports'][_0x2ab39a(0x2d3)]=function(_0x290cf0,_0x379258){const _0x4b581d=_0x2ab39a;_0x290cf0['length']<0x20?_0x4bf1c8(_0x290cf0,_0x379258):_0x3052a4[_0x4b581d(0x2d3)](_0x290cf0,_0x379258);};}catch{}return se[_0x2ab39a(0x223)];}var ye,He;function Pt(){const _0x488fb6=_0x5c7585;if(He)return ye;He=0x1;const _0x4f0163=Symbol('kDone'),_0x4c037b=Symbol(_0x488fb6(0x1a3));class _0x4e327d{constructor(_0x36c4fc){const _0xaf315b=_0x488fb6;this[_0x4f0163]=()=>{const _0x981007=_0x2b44;this[_0x981007(0x2e7)]--,this[_0x4c037b]();},this['concurrency']=_0x36c4fc||0x1/0x0,this[_0xaf315b(0x2c9)]=[],this[_0xaf315b(0x2e7)]=0x0;}[_0x488fb6(0x274)](_0x3376d2){const _0x387c6c=_0x488fb6;this[_0x387c6c(0x2c9)][_0x387c6c(0x1b4)](_0x3376d2),this[_0x4c037b]();}[_0x4c037b](){const _0xcefe12=_0x488fb6;if(this[_0xcefe12(0x2e7)]!==this[_0xcefe12(0x271)]&&this[_0xcefe12(0x2c9)]['length']){const _0x4eba50=this[_0xcefe12(0x2c9)][_0xcefe12(0x213)]();this[_0xcefe12(0x2e7)]++,_0x4eba50(this[_0x4f0163]);}}}return ye=_0x4e327d,ye;}var ve,ze;function he(){const _0x5c3841=_0x5c7585;if(ze)return ve;ze=0x1;const _0x51cb69=bt,_0x1e432b=ce(),_0x571a6b=Pt(),{kStatusCode:_0x229c16}=H(),_0x11fb1b=Buffer[Symbol[_0x5c3841(0x1d3)]],_0x4c48ce=Buffer[_0x5c3841(0x204)]([0x0,0x0,0xff,0xff]),_0x5de54e=Symbol(_0x5c3841(0x2c8)),_0xf3d1c=Symbol(_0x5c3841(0x22d)),_0x477452=Symbol(_0x5c3841(0x2c2)),_0x6f8164=Symbol('buffers'),_0xe588db=Symbol(_0x5c3841(0x14f));let _0x15cf21;class _0x28cc41{constructor(_0x2589e3,_0x440c93,_0x69db27){const _0x2599d5=_0x5c3841;if(this[_0x2599d5(0x210)]=_0x69db27|0x0,this[_0x2599d5(0x199)]=_0x2589e3||{},this[_0x2599d5(0x23b)]=this[_0x2599d5(0x199)][_0x2599d5(0x2f1)]!==void 0x0?this[_0x2599d5(0x199)][_0x2599d5(0x2f1)]:0x400,this['_isServer']=!!_0x440c93,this['_deflate']=null,this[_0x2599d5(0x1f3)]=null,this[_0x2599d5(0x1a8)]=null,!_0x15cf21){const _0x26d7d=this[_0x2599d5(0x199)][_0x2599d5(0x29e)]!==void 0x0?this[_0x2599d5(0x199)][_0x2599d5(0x29e)]:0xa;_0x15cf21=new _0x571a6b(_0x26d7d);}}static get[_0x5c3841(0x19b)](){const _0x18e727=_0x5c3841;return _0x18e727(0x2c8);}[_0x5c3841(0x283)](){const _0x48f652=_0x5c3841,_0x317b75={};return this[_0x48f652(0x199)][_0x48f652(0x292)]&&(_0x317b75[_0x48f652(0x2d8)]=!0x0),this[_0x48f652(0x199)][_0x48f652(0x180)]&&(_0x317b75[_0x48f652(0x2f2)]=!0x0),this['_options'][_0x48f652(0x30a)]&&(_0x317b75[_0x48f652(0x175)]=this['_options']['serverMaxWindowBits']),this[_0x48f652(0x199)]['clientMaxWindowBits']?_0x317b75[_0x48f652(0x200)]=this[_0x48f652(0x199)][_0x48f652(0x209)]:this[_0x48f652(0x199)][_0x48f652(0x209)]==null&&(_0x317b75[_0x48f652(0x200)]=!0x0),_0x317b75;}[_0x5c3841(0x29d)](_0x3c2f17){const _0x46b0b8=_0x5c3841;return _0x3c2f17=this['normalizeParams'](_0x3c2f17),this[_0x46b0b8(0x1a8)]=this['_isServer']?this['acceptAsServer'](_0x3c2f17):this[_0x46b0b8(0x2bc)](_0x3c2f17),this[_0x46b0b8(0x1a8)];}['cleanup'](){const _0x4a31cd=_0x5c3841;if(this[_0x4a31cd(0x1f3)]&&(this[_0x4a31cd(0x1f3)]['close'](),this[_0x4a31cd(0x1f3)]=null),this['_deflate']){const _0x46efe4=this[_0x4a31cd(0x2e4)][_0x477452];this[_0x4a31cd(0x2e4)][_0x4a31cd(0x27f)](),this[_0x4a31cd(0x2e4)]=null,_0x46efe4&&_0x46efe4(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x5c3841(0x15b)](_0x52f345){const _0x56db97=_0x5c3841,_0x144895=this['_options'],_0x3dd1f5=_0x52f345[_0x56db97(0x25d)](_0x4097f9=>!(_0x144895[_0x56db97(0x292)]===!0x1&&_0x4097f9[_0x56db97(0x2d8)]||_0x4097f9[_0x56db97(0x175)]&&(_0x144895[_0x56db97(0x30a)]===!0x1||typeof _0x144895[_0x56db97(0x30a)]==_0x56db97(0x1c7)&&_0x144895[_0x56db97(0x30a)]>_0x4097f9[_0x56db97(0x175)])||typeof _0x144895['clientMaxWindowBits']==_0x56db97(0x1c7)&&!_0x4097f9[_0x56db97(0x200)]));if(!_0x3dd1f5)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x144895[_0x56db97(0x292)]&&(_0x3dd1f5['server_no_context_takeover']=!0x0),_0x144895[_0x56db97(0x180)]&&(_0x3dd1f5[_0x56db97(0x2f2)]=!0x0),typeof _0x144895['serverMaxWindowBits']=='number'&&(_0x3dd1f5[_0x56db97(0x175)]=_0x144895[_0x56db97(0x30a)]),typeof _0x144895[_0x56db97(0x209)]==_0x56db97(0x1c7)?_0x3dd1f5[_0x56db97(0x200)]=_0x144895['clientMaxWindowBits']:(_0x3dd1f5[_0x56db97(0x200)]===!0x0||_0x144895[_0x56db97(0x209)]===!0x1)&&delete _0x3dd1f5[_0x56db97(0x200)],_0x3dd1f5;}[_0x5c3841(0x2bc)](_0x231f01){const _0x32beae=_0x5c3841,_0x13fef8=_0x231f01[0x0];if(this[_0x32beae(0x199)][_0x32beae(0x180)]===!0x1&&_0x13fef8[_0x32beae(0x2f2)])throw new Error(_0x32beae(0x1be));if(!_0x13fef8['client_max_window_bits'])typeof this[_0x32beae(0x199)]['clientMaxWindowBits']=='number'&&(_0x13fef8[_0x32beae(0x200)]=this[_0x32beae(0x199)][_0x32beae(0x209)]);else{if(this['_options'][_0x32beae(0x209)]===!0x1||typeof this[_0x32beae(0x199)][_0x32beae(0x209)]==_0x32beae(0x1c7)&&_0x13fef8['client_max_window_bits']>this['_options'][_0x32beae(0x209)])throw new Error(_0x32beae(0x17b));}return _0x13fef8;}['normalizeParams'](_0x3c4a43){return _0x3c4a43['forEach'](_0x4dfd9c=>{const _0x85a686=_0x2b44;Object[_0x85a686(0x16a)](_0x4dfd9c)[_0x85a686(0x24e)](_0x16cc89=>{const _0x5dbd92=_0x85a686;let _0x23b807=_0x4dfd9c[_0x16cc89];if(_0x23b807['length']>0x1)throw new Error(_0x5dbd92(0x1c4)+_0x16cc89+_0x5dbd92(0x27c));if(_0x23b807=_0x23b807[0x0],_0x16cc89===_0x5dbd92(0x200)){if(_0x23b807!==!0x0){const _0x5b3311=+_0x23b807;if(!Number[_0x5dbd92(0x268)](_0x5b3311)||_0x5b3311<0x8||_0x5b3311>0xf)throw new TypeError(_0x5dbd92(0x257)+_0x16cc89+'\x22:\x20'+_0x23b807);_0x23b807=_0x5b3311;}else{if(!this[_0x5dbd92(0x148)])throw new TypeError(_0x5dbd92(0x257)+_0x16cc89+_0x5dbd92(0x284)+_0x23b807);}}else{if(_0x16cc89==='server_max_window_bits'){const _0x16d071=+_0x23b807;if(!Number[_0x5dbd92(0x268)](_0x16d071)||_0x16d071<0x8||_0x16d071>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x16cc89+'\x22:\x20'+_0x23b807);_0x23b807=_0x16d071;}else{if(_0x16cc89===_0x5dbd92(0x2f2)||_0x16cc89==='server_no_context_takeover'){if(_0x23b807!==!0x0)throw new TypeError(_0x5dbd92(0x257)+_0x16cc89+'\x22:\x20'+_0x23b807);}else throw new Error(_0x5dbd92(0x249)+_0x16cc89+'\x22');}}_0x4dfd9c[_0x16cc89]=_0x23b807;});}),_0x3c4a43;}[_0x5c3841(0x2af)](_0x136314,_0x1ec8d3,_0x15ad2d){const _0x506a1f=_0x5c3841;_0x15cf21[_0x506a1f(0x274)](_0x3c76b1=>{const _0x581f34=_0x506a1f;this[_0x581f34(0x202)](_0x136314,_0x1ec8d3,(_0x44240a,_0x336fc6)=>{_0x3c76b1(),_0x15ad2d(_0x44240a,_0x336fc6);});});}[_0x5c3841(0x2b5)](_0x28bb2e,_0x299197,_0x35b43c){const _0x28ed9e=_0x5c3841;_0x15cf21[_0x28ed9e(0x274)](_0x199c54=>{this['_compress'](_0x28bb2e,_0x299197,(_0x1ea19a,_0x4d81d0)=>{_0x199c54(),_0x35b43c(_0x1ea19a,_0x4d81d0);});});}[_0x5c3841(0x202)](_0x350562,_0x5bdc49,_0x76f25e){const _0x5456fa=_0x5c3841,_0x32bbc3=this[_0x5456fa(0x148)]?_0x5456fa(0x1dc):_0x5456fa(0x242);if(!this['_inflate']){const _0x311dfc=_0x32bbc3+_0x5456fa(0x239),_0x14afd8=typeof this[_0x5456fa(0x1a8)][_0x311dfc]!='number'?_0x51cb69[_0x5456fa(0x1ed)]:this[_0x5456fa(0x1a8)][_0x311dfc];this[_0x5456fa(0x1f3)]=_0x51cb69[_0x5456fa(0x1cc)]({...this['_options'][_0x5456fa(0x28b)],'windowBits':_0x14afd8}),this[_0x5456fa(0x1f3)][_0x5de54e]=this,this[_0x5456fa(0x1f3)][_0xf3d1c]=0x0,this['_inflate'][_0x6f8164]=[],this['_inflate']['on']('error',_0x30f8d3),this[_0x5456fa(0x1f3)]['on'](_0x5456fa(0x1d0),_0x40638f);}this['_inflate'][_0x477452]=_0x76f25e,this[_0x5456fa(0x1f3)][_0x5456fa(0x287)](_0x350562),_0x5bdc49&&this[_0x5456fa(0x1f3)][_0x5456fa(0x287)](_0x4c48ce),this[_0x5456fa(0x1f3)][_0x5456fa(0x2c1)](()=>{const _0x576b8c=_0x5456fa,_0x45f7fd=this[_0x576b8c(0x1f3)][_0xe588db];if(_0x45f7fd){this[_0x576b8c(0x1f3)]['close'](),this[_0x576b8c(0x1f3)]=null,_0x76f25e(_0x45f7fd);return;}const _0x437e3b=_0x1e432b['concat'](this[_0x576b8c(0x1f3)][_0x6f8164],this[_0x576b8c(0x1f3)][_0xf3d1c]);this[_0x576b8c(0x1f3)][_0x576b8c(0x28f)][_0x576b8c(0x13f)]?(this['_inflate'][_0x576b8c(0x27f)](),this['_inflate']=null):(this[_0x576b8c(0x1f3)][_0xf3d1c]=0x0,this['_inflate'][_0x6f8164]=[],_0x5bdc49&&this['params'][_0x32bbc3+_0x576b8c(0x2e5)]&&this[_0x576b8c(0x1f3)][_0x576b8c(0x1d2)]()),_0x76f25e(null,_0x437e3b);});}[_0x5c3841(0x277)](_0x56607c,_0x3b1c22,_0x2d6424){const _0x3a679c=_0x5c3841,_0x412e4b=this[_0x3a679c(0x148)]?_0x3a679c(0x242):_0x3a679c(0x1dc);if(!this['_deflate']){const _0x3d5dca=_0x412e4b+_0x3a679c(0x239),_0x5bc9f2=typeof this[_0x3a679c(0x1a8)][_0x3d5dca]!=_0x3a679c(0x1c7)?_0x51cb69[_0x3a679c(0x1ed)]:this[_0x3a679c(0x1a8)][_0x3d5dca];this[_0x3a679c(0x2e4)]=_0x51cb69[_0x3a679c(0x157)]({...this[_0x3a679c(0x199)][_0x3a679c(0x286)],'windowBits':_0x5bc9f2}),this[_0x3a679c(0x2e4)][_0xf3d1c]=0x0,this[_0x3a679c(0x2e4)][_0x6f8164]=[],this['_deflate']['on'](_0x3a679c(0x1d0),_0x539bda);}this['_deflate'][_0x477452]=_0x2d6424,this[_0x3a679c(0x2e4)][_0x3a679c(0x287)](_0x56607c),this[_0x3a679c(0x2e4)]['flush'](_0x51cb69['Z_SYNC_FLUSH'],()=>{const _0x109d6e=_0x3a679c;if(!this[_0x109d6e(0x2e4)])return;let _0xa33a44=_0x1e432b[_0x109d6e(0x14b)](this[_0x109d6e(0x2e4)][_0x6f8164],this[_0x109d6e(0x2e4)][_0xf3d1c]);_0x3b1c22&&(_0xa33a44=new _0x11fb1b(_0xa33a44[_0x109d6e(0x1c6)],_0xa33a44[_0x109d6e(0x2ee)],_0xa33a44['length']-0x4)),this[_0x109d6e(0x2e4)][_0x477452]=null,this[_0x109d6e(0x2e4)][_0xf3d1c]=0x0,this[_0x109d6e(0x2e4)][_0x6f8164]=[],_0x3b1c22&&this[_0x109d6e(0x1a8)][_0x412e4b+'_no_context_takeover']&&this[_0x109d6e(0x2e4)][_0x109d6e(0x1d2)](),_0x2d6424(null,_0xa33a44);});}}ve=_0x28cc41;function _0x539bda(_0x56255e){const _0x2fbe76=_0x5c3841;this[_0x6f8164][_0x2fbe76(0x1b4)](_0x56255e),this[_0xf3d1c]+=_0x56255e[_0x2fbe76(0x2e8)];}function _0x40638f(_0x1e6e90){const _0x47524f=_0x5c3841;if(this[_0xf3d1c]+=_0x1e6e90[_0x47524f(0x2e8)],this[_0x5de54e]['_maxPayload']<0x1||this[_0xf3d1c]<=this[_0x5de54e][_0x47524f(0x210)]){this[_0x6f8164]['push'](_0x1e6e90);return;}this[_0xe588db]=new RangeError(_0x47524f(0x184)),this[_0xe588db][_0x47524f(0x178)]=_0x47524f(0x2ac),this[_0xe588db][_0x229c16]=0x3f1,this[_0x47524f(0x147)]('data',_0x40638f),this[_0x47524f(0x1d2)]();}function _0x30f8d3(_0x2bcee2){if(this[_0x5de54e]['_inflate']=null,this[_0xe588db]){this[_0x477452](this[_0xe588db]);return;}_0x2bcee2[_0x229c16]=0x3ef,this[_0x477452](_0x2bcee2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5c7585(0x2a2)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x5c7585(0x303)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x535f8a=_0x5c7585;if(Ye)return ie[_0x535f8a(0x223)];Ye=0x1;const {isUtf8:_0x58d057}=wt,{hasBlob:_0x47923f}=H(),_0x582312=[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 _0x558e07(_0x345ba4){return _0x345ba4>=0x3e8&&_0x345ba4<=0x3f6&&_0x345ba4!==0x3ec&&_0x345ba4!==0x3ed&&_0x345ba4!==0x3ee||_0x345ba4>=0xbb8&&_0x345ba4<=0x1387;}function _0x3be58a(_0x18f515){const _0x466430=_0x535f8a,_0x41af36=_0x18f515[_0x466430(0x2e8)];let _0x2a231b=0x0;for(;_0x2a231b<_0x41af36;)if((_0x18f515[_0x2a231b]&0x80)===0x0)_0x2a231b++;else{if((_0x18f515[_0x2a231b]&0xe0)===0xc0){if(_0x2a231b+0x1===_0x41af36||(_0x18f515[_0x2a231b+0x1]&0xc0)!==0x80||(_0x18f515[_0x2a231b]&0xfe)===0xc0)return!0x1;_0x2a231b+=0x2;}else{if((_0x18f515[_0x2a231b]&0xf0)===0xe0){if(_0x2a231b+0x2>=_0x41af36||(_0x18f515[_0x2a231b+0x1]&0xc0)!==0x80||(_0x18f515[_0x2a231b+0x2]&0xc0)!==0x80||_0x18f515[_0x2a231b]===0xe0&&(_0x18f515[_0x2a231b+0x1]&0xe0)===0x80||_0x18f515[_0x2a231b]===0xed&&(_0x18f515[_0x2a231b+0x1]&0xe0)===0xa0)return!0x1;_0x2a231b+=0x3;}else{if((_0x18f515[_0x2a231b]&0xf8)===0xf0){if(_0x2a231b+0x3>=_0x41af36||(_0x18f515[_0x2a231b+0x1]&0xc0)!==0x80||(_0x18f515[_0x2a231b+0x2]&0xc0)!==0x80||(_0x18f515[_0x2a231b+0x3]&0xc0)!==0x80||_0x18f515[_0x2a231b]===0xf0&&(_0x18f515[_0x2a231b+0x1]&0xf0)===0x80||_0x18f515[_0x2a231b]===0xf4&&_0x18f515[_0x2a231b+0x1]>0x8f||_0x18f515[_0x2a231b]>0xf4)return!0x1;_0x2a231b+=0x4;}else return!0x1;}}}return!0x0;}function _0xdef0c3(_0xb06d){const _0x174d11=_0x535f8a;return _0x47923f&&typeof _0xb06d==_0x174d11(0x1ea)&&typeof _0xb06d[_0x174d11(0x21a)]==_0x174d11(0x2a4)&&typeof _0xb06d[_0x174d11(0x2b7)]=='string'&&typeof _0xb06d[_0x174d11(0x1e5)]=='function'&&(_0xb06d[Symbol['toStringTag']]===_0x174d11(0x1f1)||_0xb06d[Symbol[_0x174d11(0x303)]]===_0x174d11(0x214));}if(ie[_0x535f8a(0x223)]={'isBlob':_0xdef0c3,'isValidStatusCode':_0x558e07,'isValidUTF8':_0x3be58a,'tokenChars':_0x582312},_0x58d057)ie['exports'][_0x535f8a(0x26b)]=function(_0x3a4cea){const _0x3d6125=_0x535f8a;return _0x3a4cea[_0x3d6125(0x2e8)]<0x18?_0x3be58a(_0x3a4cea):_0x58d057(_0x3a4cea);};else{if(!process[_0x535f8a(0x163)][_0x535f8a(0x1bb)])try{const _0x21a168=Bt;ie['exports'][_0x535f8a(0x26b)]=function(_0x382069){const _0xce9d33=_0x535f8a;return _0x382069[_0xce9d33(0x2e8)]<0x20?_0x3be58a(_0x382069):_0x21a168(_0x382069);};}catch{}}return ie[_0x535f8a(0x223)];}var Se,Ke;function lt(){const _0x242ba4=_0x5c7585;if(Ke)return Se;Ke=0x1;const {Writable:_0x423872}=oe,_0x3286b7=he(),{BINARY_TYPES:_0xbf3ad4,EMPTY_BUFFER:_0x93ab29,kStatusCode:_0x42b61c,kWebSocket:_0x25e0c7}=H(),{concat:_0x42b8e4,toArrayBuffer:_0x4ea8ee,unmask:_0x4fded4}=ce(),{isValidStatusCode:_0x4b0766,isValidUTF8:_0x3dd792}=ae(),_0x165bbc=Buffer[Symbol[_0x242ba4(0x1d3)]],_0x3a6023=0x0,_0x1e14d9=0x1,_0xf24068=0x2,_0x404652=0x3,_0x45e048=0x4,_0x2f2b86=0x5,_0x140834=0x6;class _0x14daf9 extends _0x423872{constructor(_0x58188f={}){const _0x8ff1db=_0x242ba4;super(),this[_0x8ff1db(0x25b)]=_0x58188f['allowSynchronousEvents']!==void 0x0?_0x58188f['allowSynchronousEvents']:!0x0,this[_0x8ff1db(0x166)]=_0x58188f[_0x8ff1db(0x208)]||_0xbf3ad4[0x0],this['_extensions']=_0x58188f[_0x8ff1db(0x19f)]||{},this[_0x8ff1db(0x148)]=!!_0x58188f[_0x8ff1db(0x244)],this[_0x8ff1db(0x210)]=_0x58188f[_0x8ff1db(0x250)]|0x0,this[_0x8ff1db(0x14e)]=!!_0x58188f[_0x8ff1db(0x30b)],this[_0x25e0c7]=void 0x0,this[_0x8ff1db(0x2e2)]=0x0,this[_0x8ff1db(0x1ee)]=[],this[_0x8ff1db(0x1e0)]=!0x1,this[_0x8ff1db(0x226)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x8ff1db(0x1f8)]=!0x1,this[_0x8ff1db(0x21d)]=!0x1,this[_0x8ff1db(0x1df)]=0x0,this[_0x8ff1db(0x270)]=0x0,this[_0x8ff1db(0x2ae)]=0x0,this[_0x8ff1db(0x20d)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x3a6023;}[_0x242ba4(0x152)](_0x232ef4,_0x269f14,_0x44eb52){const _0x4e0328=_0x242ba4;if(this[_0x4e0328(0x1df)]===0x8&&this[_0x4e0328(0x27a)]==_0x3a6023)return _0x44eb52();this[_0x4e0328(0x2e2)]+=_0x232ef4[_0x4e0328(0x2e8)],this[_0x4e0328(0x1ee)][_0x4e0328(0x1b4)](_0x232ef4),this['startLoop'](_0x44eb52);}[_0x242ba4(0x1d5)](_0x50885e){const _0x1a869b=_0x242ba4;if(this[_0x1a869b(0x2e2)]-=_0x50885e,_0x50885e===this[_0x1a869b(0x1ee)][0x0]['length'])return this[_0x1a869b(0x1ee)][_0x1a869b(0x213)]();if(_0x50885e<this['_buffers'][0x0]['length']){const _0x2f05d4=this[_0x1a869b(0x1ee)][0x0];return this['_buffers'][0x0]=new _0x165bbc(_0x2f05d4[_0x1a869b(0x1c6)],_0x2f05d4['byteOffset']+_0x50885e,_0x2f05d4['length']-_0x50885e),new _0x165bbc(_0x2f05d4['buffer'],_0x2f05d4['byteOffset'],_0x50885e);}const _0x4ac5a0=Buffer[_0x1a869b(0x2ed)](_0x50885e);do{const _0x45bd1f=this[_0x1a869b(0x1ee)][0x0],_0x223479=_0x4ac5a0['length']-_0x50885e;_0x50885e>=_0x45bd1f[_0x1a869b(0x2e8)]?_0x4ac5a0['set'](this['_buffers'][_0x1a869b(0x213)](),_0x223479):(_0x4ac5a0[_0x1a869b(0x2db)](new Uint8Array(_0x45bd1f['buffer'],_0x45bd1f['byteOffset'],_0x50885e),_0x223479),this[_0x1a869b(0x1ee)][0x0]=new _0x165bbc(_0x45bd1f[_0x1a869b(0x1c6)],_0x45bd1f[_0x1a869b(0x2ee)]+_0x50885e,_0x45bd1f[_0x1a869b(0x2e8)]-_0x50885e)),_0x50885e-=_0x45bd1f[_0x1a869b(0x2e8)];}while(_0x50885e>0x0);return _0x4ac5a0;}[_0x242ba4(0x164)](_0xd7a748){const _0x580dab=_0x242ba4;this[_0x580dab(0x14c)]=!0x0;do switch(this['_state']){case _0x3a6023:this[_0x580dab(0x16d)](_0xd7a748);break;case _0x1e14d9:this[_0x580dab(0x22e)](_0xd7a748);break;case _0xf24068:this[_0x580dab(0x195)](_0xd7a748);break;case _0x404652:this['getMask']();break;case _0x45e048:this[_0x580dab(0x15e)](_0xd7a748);break;case _0x2f2b86:case _0x140834:this[_0x580dab(0x14c)]=!0x1;return;}while(this[_0x580dab(0x14c)]);this[_0x580dab(0x306)]||_0xd7a748();}['getInfo'](_0x555322){const _0x593a9b=_0x242ba4;if(this[_0x593a9b(0x2e2)]<0x2){this[_0x593a9b(0x14c)]=!0x1;return;}const _0x23c273=this['consume'](0x2);if((_0x23c273[0x0]&0x30)!==0x0){const _0x8fe88f=this[_0x593a9b(0x2ce)](RangeError,_0x593a9b(0x1d4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x555322(_0x8fe88f);return;}const _0x203bdb=(_0x23c273[0x0]&0x40)===0x40;if(_0x203bdb&&!this[_0x593a9b(0x273)][_0x3286b7['extensionName']]){const _0x3bd66c=this[_0x593a9b(0x2ce)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x593a9b(0x160));_0x555322(_0x3bd66c);return;}if(this[_0x593a9b(0x21d)]=(_0x23c273[0x0]&0x80)===0x80,this[_0x593a9b(0x1df)]=_0x23c273[0x0]&0xf,this['_payloadLength']=_0x23c273[0x1]&0x7f,this[_0x593a9b(0x1df)]===0x0){if(_0x203bdb){const _0x4a6624=this[_0x593a9b(0x2ce)](RangeError,_0x593a9b(0x21f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x555322(_0x4a6624);return;}if(!this[_0x593a9b(0x1b8)]){const _0xe4d831=this['createError'](RangeError,_0x593a9b(0x260),!0x0,0x3ea,_0x593a9b(0x2cd));_0x555322(_0xe4d831);return;}this[_0x593a9b(0x1df)]=this[_0x593a9b(0x1b8)];}else{if(this[_0x593a9b(0x1df)]===0x1||this[_0x593a9b(0x1df)]===0x2){if(this[_0x593a9b(0x1b8)]){const _0x1ae5a6=this['createError'](RangeError,_0x593a9b(0x281)+this[_0x593a9b(0x1df)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x555322(_0x1ae5a6);return;}this['_compressed']=_0x203bdb;}else{if(this[_0x593a9b(0x1df)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x14b12c=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x593a9b(0x26f));_0x555322(_0x14b12c);return;}if(_0x203bdb){const _0x211fb6=this[_0x593a9b(0x2ce)](RangeError,_0x593a9b(0x21f),!0x0,0x3ea,_0x593a9b(0x160));_0x555322(_0x211fb6);return;}if(this[_0x593a9b(0x226)]>0x7d||this[_0x593a9b(0x1df)]===0x8&&this[_0x593a9b(0x226)]===0x1){const _0x2b76cc=this['createError'](RangeError,_0x593a9b(0x2df)+this[_0x593a9b(0x226)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x555322(_0x2b76cc);return;}}else{const _0x3f0952=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x555322(_0x3f0952);return;}}}if(!this[_0x593a9b(0x21d)]&&!this[_0x593a9b(0x1b8)]&&(this['_fragmented']=this[_0x593a9b(0x1df)]),this[_0x593a9b(0x1f8)]=(_0x23c273[0x1]&0x80)===0x80,this[_0x593a9b(0x148)]){if(!this[_0x593a9b(0x1f8)]){const _0x48f139=this['createError'](RangeError,_0x593a9b(0x2cc),!0x0,0x3ea,_0x593a9b(0x2bd));_0x555322(_0x48f139);return;}}else{if(this[_0x593a9b(0x1f8)]){const _0x8bc872=this['createError'](RangeError,_0x593a9b(0x25f),!0x0,0x3ea,_0x593a9b(0x1e2));_0x555322(_0x8bc872);return;}}this[_0x593a9b(0x226)]===0x7e?this['_state']=_0x1e14d9:this[_0x593a9b(0x226)]===0x7f?this['_state']=_0xf24068:this[_0x593a9b(0x305)](_0x555322);}['getPayloadLength16'](_0x5f0114){const _0x1f1157=_0x242ba4;if(this[_0x1f1157(0x2e2)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x1f1157(0x1d5)](0x2)[_0x1f1157(0x1b6)](0x0),this['haveLength'](_0x5f0114);}[_0x242ba4(0x195)](_0x31f495){const _0x99f54a=_0x242ba4;if(this[_0x99f54a(0x2e2)]<0x8){this[_0x99f54a(0x14c)]=!0x1;return;}const _0x57bd00=this[_0x99f54a(0x1d5)](0x8),_0x575c40=_0x57bd00['readUInt32BE'](0x0);if(_0x575c40>Math[_0x99f54a(0x24a)](0x2,0x15)-0x1){const _0x21e39d=this[_0x99f54a(0x2ce)](RangeError,_0x99f54a(0x2f5),!0x1,0x3f1,_0x99f54a(0x2ea));_0x31f495(_0x21e39d);return;}this[_0x99f54a(0x226)]=_0x575c40*Math[_0x99f54a(0x24a)](0x2,0x20)+_0x57bd00[_0x99f54a(0x282)](0x4),this[_0x99f54a(0x305)](_0x31f495);}[_0x242ba4(0x305)](_0x2e8197){const _0xe30eb9=_0x242ba4;if(this[_0xe30eb9(0x226)]&&this[_0xe30eb9(0x1df)]<0x8&&(this['_totalPayloadLength']+=this[_0xe30eb9(0x226)],this[_0xe30eb9(0x270)]>this[_0xe30eb9(0x210)]&&this['_maxPayload']>0x0)){const _0x4e2ff6=this[_0xe30eb9(0x2ce)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xe30eb9(0x2ac));_0x2e8197(_0x4e2ff6);return;}this[_0xe30eb9(0x1f8)]?this[_0xe30eb9(0x27a)]=_0x404652:this[_0xe30eb9(0x27a)]=_0x45e048;}[_0x242ba4(0x14d)](){const _0x3681e3=_0x242ba4;if(this[_0x3681e3(0x2e2)]<0x4){this[_0x3681e3(0x14c)]=!0x1;return;}this[_0x3681e3(0x285)]=this[_0x3681e3(0x1d5)](0x4),this[_0x3681e3(0x27a)]=_0x45e048;}[_0x242ba4(0x15e)](_0x2c0482){const _0x18016a=_0x242ba4;let _0x29159e=_0x93ab29;if(this[_0x18016a(0x226)]){if(this[_0x18016a(0x2e2)]<this[_0x18016a(0x226)]){this[_0x18016a(0x14c)]=!0x1;return;}_0x29159e=this['consume'](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x18016a(0x285)][0x1]|this[_0x18016a(0x285)][0x2]|this['_mask'][0x3])!==0x0&&_0x4fded4(_0x29159e,this['_mask']);}if(this['_opcode']>0x7){this[_0x18016a(0x235)](_0x29159e,_0x2c0482);return;}if(this[_0x18016a(0x1e0)]){this[_0x18016a(0x27a)]=_0x2f2b86,this[_0x18016a(0x2af)](_0x29159e,_0x2c0482);return;}_0x29159e['length']&&(this['_messageLength']=this[_0x18016a(0x270)],this['_fragments'][_0x18016a(0x1b4)](_0x29159e)),this[_0x18016a(0x162)](_0x2c0482);}[_0x242ba4(0x2af)](_0x1d3c15,_0x516363){const _0xcd5213=_0x242ba4;this['_extensions'][_0x3286b7[_0xcd5213(0x19b)]][_0xcd5213(0x2af)](_0x1d3c15,this[_0xcd5213(0x21d)],(_0x28c740,_0x44f41)=>{const _0x3ea02b=_0xcd5213;if(_0x28c740)return _0x516363(_0x28c740);if(_0x44f41[_0x3ea02b(0x2e8)]){if(this[_0x3ea02b(0x2ae)]+=_0x44f41['length'],this[_0x3ea02b(0x2ae)]>this[_0x3ea02b(0x210)]&&this[_0x3ea02b(0x210)]>0x0){const _0x4c14d8=this['createError'](RangeError,_0x3ea02b(0x184),!0x1,0x3f1,_0x3ea02b(0x2ac));_0x516363(_0x4c14d8);return;}this['_fragments'][_0x3ea02b(0x1b4)](_0x44f41);}this[_0x3ea02b(0x162)](_0x516363),this[_0x3ea02b(0x27a)]===_0x3a6023&&this[_0x3ea02b(0x164)](_0x516363);});}[_0x242ba4(0x162)](_0x405042){const _0x72b44d=_0x242ba4;if(!this[_0x72b44d(0x21d)]){this[_0x72b44d(0x27a)]=_0x3a6023;return;}const _0x1a3bb8=this[_0x72b44d(0x2ae)],_0x566e81=this[_0x72b44d(0x20d)];if(this['_totalPayloadLength']=0x0,this[_0x72b44d(0x2ae)]=0x0,this[_0x72b44d(0x1b8)]=0x0,this[_0x72b44d(0x20d)]=[],this['_opcode']===0x2){let _0x7383ea;this[_0x72b44d(0x166)]==='nodebuffer'?_0x7383ea=_0x42b8e4(_0x566e81,_0x1a3bb8):this[_0x72b44d(0x166)]===_0x72b44d(0x2e6)?_0x7383ea=_0x4ea8ee(_0x42b8e4(_0x566e81,_0x1a3bb8)):this[_0x72b44d(0x166)]===_0x72b44d(0x1f0)?_0x7383ea=new Blob(_0x566e81):_0x7383ea=_0x566e81,this[_0x72b44d(0x25b)]?(this[_0x72b44d(0x18e)](_0x72b44d(0x189),_0x7383ea,!0x0),this[_0x72b44d(0x27a)]=_0x3a6023):(this[_0x72b44d(0x27a)]=_0x140834,setImmediate(()=>{const _0x55ba13=_0x72b44d;this['emit'](_0x55ba13(0x189),_0x7383ea,!0x0),this[_0x55ba13(0x27a)]=_0x3a6023,this[_0x55ba13(0x164)](_0x405042);}));}else{const _0x27e33f=_0x42b8e4(_0x566e81,_0x1a3bb8);if(!this[_0x72b44d(0x14e)]&&!_0x3dd792(_0x27e33f)){const _0xc66ff4=this[_0x72b44d(0x2ce)](Error,_0x72b44d(0x231),!0x0,0x3ef,_0x72b44d(0x165));_0x405042(_0xc66ff4);return;}this['_state']===_0x2f2b86||this[_0x72b44d(0x25b)]?(this['emit']('message',_0x27e33f,!0x1),this[_0x72b44d(0x27a)]=_0x3a6023):(this[_0x72b44d(0x27a)]=_0x140834,setImmediate(()=>{const _0x101b12=_0x72b44d;this[_0x101b12(0x18e)](_0x101b12(0x189),_0x27e33f,!0x1),this[_0x101b12(0x27a)]=_0x3a6023,this['startLoop'](_0x405042);}));}}['controlMessage'](_0x4d6562,_0x9b36c){const _0x68c7a6=_0x242ba4;if(this['_opcode']===0x8){if(_0x4d6562[_0x68c7a6(0x2e8)]===0x0)this[_0x68c7a6(0x14c)]=!0x1,this[_0x68c7a6(0x18e)](_0x68c7a6(0x207),0x3ed,_0x93ab29),this[_0x68c7a6(0x2a6)]();else{const _0x161249=_0x4d6562[_0x68c7a6(0x1b6)](0x0);if(!_0x4b0766(_0x161249)){const _0x4d97d1=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x161249,!0x0,0x3ea,_0x68c7a6(0x1e7));_0x9b36c(_0x4d97d1);return;}const _0x123ff0=new _0x165bbc(_0x4d6562[_0x68c7a6(0x1c6)],_0x4d6562[_0x68c7a6(0x2ee)]+0x2,_0x4d6562[_0x68c7a6(0x2e8)]-0x2);if(!this[_0x68c7a6(0x14e)]&&!_0x3dd792(_0x123ff0)){const _0x44e44c=this[_0x68c7a6(0x2ce)](Error,_0x68c7a6(0x231),!0x0,0x3ef,_0x68c7a6(0x165));_0x9b36c(_0x44e44c);return;}this[_0x68c7a6(0x14c)]=!0x1,this[_0x68c7a6(0x18e)](_0x68c7a6(0x207),_0x161249,_0x123ff0),this['end']();}this[_0x68c7a6(0x27a)]=_0x3a6023;return;}this[_0x68c7a6(0x25b)]?(this[_0x68c7a6(0x18e)](this['_opcode']===0x9?'ping':_0x68c7a6(0x220),_0x4d6562),this['_state']=_0x3a6023):(this[_0x68c7a6(0x27a)]=_0x140834,setImmediate(()=>{const _0x1dfc7d=_0x68c7a6;this[_0x1dfc7d(0x18e)](this[_0x1dfc7d(0x1df)]===0x9?_0x1dfc7d(0x2d1):_0x1dfc7d(0x220),_0x4d6562),this[_0x1dfc7d(0x27a)]=_0x3a6023,this[_0x1dfc7d(0x164)](_0x9b36c);}));}[_0x242ba4(0x2ce)](_0xd1b057,_0x3e0a21,_0x23d278,_0x1b2ab1,_0x25ed83){const _0x2261de=_0x242ba4;this[_0x2261de(0x14c)]=!0x1,this[_0x2261de(0x306)]=!0x0;const _0x7ebfeb=new _0xd1b057(_0x23d278?'Invalid\x20WebSocket\x20frame:\x20'+_0x3e0a21:_0x3e0a21);return Error[_0x2261de(0x26d)](_0x7ebfeb,this[_0x2261de(0x2ce)]),_0x7ebfeb[_0x2261de(0x178)]=_0x25ed83,_0x7ebfeb[_0x42b61c]=_0x1b2ab1,_0x7ebfeb;}}return Se=_0x14daf9,Se;}var Ee,Xe;function ft(){const _0x2237b1=_0x5c7585;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x8b311f}=oe,{randomFillSync:_0x32677c}=Le,_0x5ba1ca=he(),{EMPTY_BUFFER:_0x510941,kWebSocket:_0x398541,NOOP:_0x4f3aa6}=H(),{isBlob:_0x55d1f6,isValidStatusCode:_0x556a80}=ae(),{mask:_0x2915ad,toBuffer:_0x24620e}=ce(),_0x1a3622=Symbol(_0x2237b1(0x2f3)),_0x5e966d=Buffer[_0x2237b1(0x296)](0x4),_0x11dd72=0x8*0x400;let _0x33bd5e,_0x357933=_0x11dd72;const _0x28ed0f=0x0,_0x5770c9=0x1,_0x420c94=0x2;class _0xeec15e{constructor(_0x4ec98c,_0x585c97,_0x5b264e){const _0x2d555d=_0x2237b1;this[_0x2d555d(0x273)]=_0x585c97||{},_0x5b264e&&(this[_0x2d555d(0x17e)]=_0x5b264e,this[_0x2d555d(0x300)]=Buffer['alloc'](0x4)),this[_0x2d555d(0x17d)]=_0x4ec98c,this[_0x2d555d(0x23e)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x2d555d(0x1cd)]=[],this[_0x2d555d(0x27a)]=_0x28ed0f,this['onerror']=_0x4f3aa6,this[_0x398541]=void 0x0;}static[_0x2237b1(0x25c)](_0x5afa19,_0x413f6e){const _0x229f37=_0x2237b1;let _0x4b332b,_0x45664e=!0x1,_0x23b802=0x2,_0x2f932e=!0x1;_0x413f6e[_0x229f37(0x2b6)]&&(_0x4b332b=_0x413f6e[_0x229f37(0x143)]||_0x5e966d,_0x413f6e['generateMask']?_0x413f6e[_0x229f37(0x1aa)](_0x4b332b):(_0x357933===_0x11dd72&&(_0x33bd5e===void 0x0&&(_0x33bd5e=Buffer[_0x229f37(0x296)](_0x11dd72)),_0x32677c(_0x33bd5e,0x0,_0x11dd72),_0x357933=0x0),_0x4b332b[0x0]=_0x33bd5e[_0x357933++],_0x4b332b[0x1]=_0x33bd5e[_0x357933++],_0x4b332b[0x2]=_0x33bd5e[_0x357933++],_0x4b332b[0x3]=_0x33bd5e[_0x357933++]),_0x2f932e=(_0x4b332b[0x0]|_0x4b332b[0x1]|_0x4b332b[0x2]|_0x4b332b[0x3])===0x0,_0x23b802=0x6);let _0x3af8b2;typeof _0x5afa19=='string'?(!_0x413f6e[_0x229f37(0x2b6)]||_0x2f932e)&&_0x413f6e[_0x1a3622]!==void 0x0?_0x3af8b2=_0x413f6e[_0x1a3622]:(_0x5afa19=Buffer['from'](_0x5afa19),_0x3af8b2=_0x5afa19[_0x229f37(0x2e8)]):(_0x3af8b2=_0x5afa19[_0x229f37(0x2e8)],_0x45664e=_0x413f6e[_0x229f37(0x2b6)]&&_0x413f6e[_0x229f37(0x2ab)]&&!_0x2f932e);let _0x3ab1f4=_0x3af8b2;_0x3af8b2>=0x10000?(_0x23b802+=0x8,_0x3ab1f4=0x7f):_0x3af8b2>0x7d&&(_0x23b802+=0x2,_0x3ab1f4=0x7e);const _0xd59cca=Buffer[_0x229f37(0x2ed)](_0x45664e?_0x3af8b2+_0x23b802:_0x23b802);return _0xd59cca[0x0]=_0x413f6e['fin']?_0x413f6e[_0x229f37(0x172)]|0x80:_0x413f6e[_0x229f37(0x172)],_0x413f6e['rsv1']&&(_0xd59cca[0x0]|=0x40),_0xd59cca[0x1]=_0x3ab1f4,_0x3ab1f4===0x7e?_0xd59cca['writeUInt16BE'](_0x3af8b2,0x2):_0x3ab1f4===0x7f&&(_0xd59cca[0x2]=_0xd59cca[0x3]=0x0,_0xd59cca[_0x229f37(0x2e9)](_0x3af8b2,0x4,0x6)),_0x413f6e[_0x229f37(0x2b6)]?(_0xd59cca[0x1]|=0x80,_0xd59cca[_0x23b802-0x4]=_0x4b332b[0x0],_0xd59cca[_0x23b802-0x3]=_0x4b332b[0x1],_0xd59cca[_0x23b802-0x2]=_0x4b332b[0x2],_0xd59cca[_0x23b802-0x1]=_0x4b332b[0x3],_0x2f932e?[_0xd59cca,_0x5afa19]:_0x45664e?(_0x2915ad(_0x5afa19,_0x4b332b,_0xd59cca,_0x23b802,_0x3af8b2),[_0xd59cca]):(_0x2915ad(_0x5afa19,_0x4b332b,_0x5afa19,0x0,_0x3af8b2),[_0xd59cca,_0x5afa19])):[_0xd59cca,_0x5afa19];}['close'](_0x243faa,_0x2f4c8d,_0x514cda,_0x356920){const _0x32e8c4=_0x2237b1;let _0x3505ab;if(_0x243faa===void 0x0)_0x3505ab=_0x510941;else{if(typeof _0x243faa!=_0x32e8c4(0x1c7)||!_0x556a80(_0x243faa))throw new TypeError(_0x32e8c4(0x2ba));if(_0x2f4c8d===void 0x0||!_0x2f4c8d[_0x32e8c4(0x2e8)])_0x3505ab=Buffer['allocUnsafe'](0x2),_0x3505ab[_0x32e8c4(0x1da)](_0x243faa,0x0);else{const _0x27a063=Buffer[_0x32e8c4(0x22f)](_0x2f4c8d);if(_0x27a063>0x7b)throw new RangeError(_0x32e8c4(0x1c8));_0x3505ab=Buffer['allocUnsafe'](0x2+_0x27a063),_0x3505ab[_0x32e8c4(0x1da)](_0x243faa,0x0),typeof _0x2f4c8d==_0x32e8c4(0x181)?_0x3505ab[_0x32e8c4(0x287)](_0x2f4c8d,0x2):_0x3505ab['set'](_0x2f4c8d,0x2);}}const _0x1988bd={[_0x1a3622]:_0x3505ab[_0x32e8c4(0x2e8)],'fin':!0x0,'generateMask':this[_0x32e8c4(0x17e)],'mask':_0x514cda,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x32e8c4(0x27a)]!==_0x28ed0f?this[_0x32e8c4(0x26c)]([this[_0x32e8c4(0x2d0)],_0x3505ab,!0x1,_0x1988bd,_0x356920]):this[_0x32e8c4(0x1ef)](_0xeec15e[_0x32e8c4(0x25c)](_0x3505ab,_0x1988bd),_0x356920);}[_0x2237b1(0x2d1)](_0x1df1e3,_0xaff689,_0x608c18){const _0x28e100=_0x2237b1;let _0x1509fc,_0x4b2588;if(typeof _0x1df1e3==_0x28e100(0x181)?(_0x1509fc=Buffer[_0x28e100(0x22f)](_0x1df1e3),_0x4b2588=!0x1):_0x55d1f6(_0x1df1e3)?(_0x1509fc=_0x1df1e3['size'],_0x4b2588=!0x1):(_0x1df1e3=_0x24620e(_0x1df1e3),_0x1509fc=_0x1df1e3[_0x28e100(0x2e8)],_0x4b2588=_0x24620e[_0x28e100(0x2ab)]),_0x1509fc>0x7d)throw new RangeError(_0x28e100(0x219));const _0x3652b7={[_0x1a3622]:_0x1509fc,'fin':!0x0,'generateMask':this[_0x28e100(0x17e)],'mask':_0xaff689,'maskBuffer':this[_0x28e100(0x300)],'opcode':0x9,'readOnly':_0x4b2588,'rsv1':!0x1};_0x55d1f6(_0x1df1e3)?this[_0x28e100(0x27a)]!==_0x28ed0f?this['enqueue']([this[_0x28e100(0x1d6)],_0x1df1e3,!0x1,_0x3652b7,_0x608c18]):this[_0x28e100(0x1d6)](_0x1df1e3,!0x1,_0x3652b7,_0x608c18):this[_0x28e100(0x27a)]!==_0x28ed0f?this[_0x28e100(0x26c)]([this['dispatch'],_0x1df1e3,!0x1,_0x3652b7,_0x608c18]):this[_0x28e100(0x1ef)](_0xeec15e[_0x28e100(0x25c)](_0x1df1e3,_0x3652b7),_0x608c18);}[_0x2237b1(0x220)](_0x2f6249,_0xaeabae,_0x35ab5a){const _0x4507f5=_0x2237b1;let _0x3f374e,_0x5962b7;if(typeof _0x2f6249==_0x4507f5(0x181)?(_0x3f374e=Buffer[_0x4507f5(0x22f)](_0x2f6249),_0x5962b7=!0x1):_0x55d1f6(_0x2f6249)?(_0x3f374e=_0x2f6249[_0x4507f5(0x2d7)],_0x5962b7=!0x1):(_0x2f6249=_0x24620e(_0x2f6249),_0x3f374e=_0x2f6249[_0x4507f5(0x2e8)],_0x5962b7=_0x24620e[_0x4507f5(0x2ab)]),_0x3f374e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x225cac={[_0x1a3622]:_0x3f374e,'fin':!0x0,'generateMask':this[_0x4507f5(0x17e)],'mask':_0xaeabae,'maskBuffer':this[_0x4507f5(0x300)],'opcode':0xa,'readOnly':_0x5962b7,'rsv1':!0x1};_0x55d1f6(_0x2f6249)?this['_state']!==_0x28ed0f?this[_0x4507f5(0x26c)]([this[_0x4507f5(0x1d6)],_0x2f6249,!0x1,_0x225cac,_0x35ab5a]):this[_0x4507f5(0x1d6)](_0x2f6249,!0x1,_0x225cac,_0x35ab5a):this[_0x4507f5(0x27a)]!==_0x28ed0f?this[_0x4507f5(0x26c)]([this[_0x4507f5(0x2d0)],_0x2f6249,!0x1,_0x225cac,_0x35ab5a]):this['sendFrame'](_0xeec15e[_0x4507f5(0x25c)](_0x2f6249,_0x225cac),_0x35ab5a);}[_0x2237b1(0x276)](_0x10f461,_0x30f645,_0x2bb3ef){const _0x1c971b=_0x2237b1,_0x46653e=this[_0x1c971b(0x273)][_0x5ba1ca[_0x1c971b(0x19b)]];let _0x5660cd=_0x30f645['binary']?0x2:0x1,_0x47ce29=_0x30f645[_0x1c971b(0x2b5)],_0x47e6c6,_0x253cfa;typeof _0x10f461==_0x1c971b(0x181)?(_0x47e6c6=Buffer[_0x1c971b(0x22f)](_0x10f461),_0x253cfa=!0x1):_0x55d1f6(_0x10f461)?(_0x47e6c6=_0x10f461[_0x1c971b(0x2d7)],_0x253cfa=!0x1):(_0x10f461=_0x24620e(_0x10f461),_0x47e6c6=_0x10f461[_0x1c971b(0x2e8)],_0x253cfa=_0x24620e[_0x1c971b(0x2ab)]),this[_0x1c971b(0x23e)]?(this[_0x1c971b(0x23e)]=!0x1,_0x47ce29&&_0x46653e&&_0x46653e[_0x1c971b(0x1a8)][_0x46653e[_0x1c971b(0x148)]?_0x1c971b(0x2d8):_0x1c971b(0x2f2)]&&(_0x47ce29=_0x47e6c6>=_0x46653e[_0x1c971b(0x23b)]),this[_0x1c971b(0x277)]=_0x47ce29):(_0x47ce29=!0x1,_0x5660cd=0x0),_0x30f645[_0x1c971b(0x2dd)]&&(this['_firstFragment']=!0x0);const _0x56b5ae={[_0x1a3622]:_0x47e6c6,'fin':_0x30f645['fin'],'generateMask':this['_generateMask'],'mask':_0x30f645[_0x1c971b(0x2b6)],'maskBuffer':this[_0x1c971b(0x300)],'opcode':_0x5660cd,'readOnly':_0x253cfa,'rsv1':_0x47ce29};_0x55d1f6(_0x10f461)?this['_state']!==_0x28ed0f?this[_0x1c971b(0x26c)]([this[_0x1c971b(0x1d6)],_0x10f461,this['_compress'],_0x56b5ae,_0x2bb3ef]):this[_0x1c971b(0x1d6)](_0x10f461,this[_0x1c971b(0x277)],_0x56b5ae,_0x2bb3ef):this[_0x1c971b(0x27a)]!==_0x28ed0f?this[_0x1c971b(0x26c)]([this[_0x1c971b(0x2d0)],_0x10f461,this[_0x1c971b(0x277)],_0x56b5ae,_0x2bb3ef]):this['dispatch'](_0x10f461,this[_0x1c971b(0x277)],_0x56b5ae,_0x2bb3ef);}[_0x2237b1(0x1d6)](_0x2e73d6,_0xe99b7d,_0x1f28d4,_0x2af64f){const _0x3d971c=_0x2237b1;this['_bufferedBytes']+=_0x1f28d4[_0x1a3622],this[_0x3d971c(0x27a)]=_0x420c94,_0x2e73d6[_0x3d971c(0x21a)]()['then'](_0x3f4b82=>{const _0x195530=_0x3d971c;if(this[_0x195530(0x17d)][_0x195530(0x205)]){const _0x3e5fad=new Error(_0x195530(0x21b));process[_0x195530(0x227)](_0x4e29d0,this,_0x3e5fad,_0x2af64f);return;}this[_0x195530(0x2e2)]-=_0x1f28d4[_0x1a3622];const _0x4aae04=_0x24620e(_0x3f4b82);_0xe99b7d?this[_0x195530(0x2d0)](_0x4aae04,_0xe99b7d,_0x1f28d4,_0x2af64f):(this['_state']=_0x28ed0f,this[_0x195530(0x1ef)](_0xeec15e[_0x195530(0x25c)](_0x4aae04,_0x1f28d4),_0x2af64f),this[_0x195530(0x192)]());})[_0x3d971c(0x28a)](_0x1b236a=>{process['nextTick'](_0x395344,this,_0x1b236a,_0x2af64f);});}[_0x2237b1(0x2d0)](_0xdaedbe,_0x52c194,_0x46acec,_0x5e7799){const _0x5239f9=_0x2237b1;if(!_0x52c194){this['sendFrame'](_0xeec15e[_0x5239f9(0x25c)](_0xdaedbe,_0x46acec),_0x5e7799);return;}const _0x30276f=this[_0x5239f9(0x273)][_0x5ba1ca[_0x5239f9(0x19b)]];this[_0x5239f9(0x2e2)]+=_0x46acec[_0x1a3622],this[_0x5239f9(0x27a)]=_0x5770c9,_0x30276f[_0x5239f9(0x2b5)](_0xdaedbe,_0x46acec[_0x5239f9(0x2dd)],(_0x35d224,_0x3d1de1)=>{const _0x4832b4=_0x5239f9;if(this[_0x4832b4(0x17d)][_0x4832b4(0x205)]){const _0x23d98f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4e29d0(this,_0x23d98f,_0x5e7799);return;}this['_bufferedBytes']-=_0x46acec[_0x1a3622],this[_0x4832b4(0x27a)]=_0x28ed0f,_0x46acec['readOnly']=!0x1,this['sendFrame'](_0xeec15e[_0x4832b4(0x25c)](_0x3d1de1,_0x46acec),_0x5e7799),this[_0x4832b4(0x192)]();});}[_0x2237b1(0x192)](){const _0x122afb=_0x2237b1;for(;this[_0x122afb(0x27a)]===_0x28ed0f&&this[_0x122afb(0x1cd)][_0x122afb(0x2e8)];){const _0x3fee43=this[_0x122afb(0x1cd)][_0x122afb(0x213)]();this[_0x122afb(0x2e2)]-=_0x3fee43[0x3][_0x1a3622],Reflect[_0x122afb(0x275)](_0x3fee43[0x0],this,_0x3fee43[_0x122afb(0x2d5)](0x1));}}[_0x2237b1(0x26c)](_0x43b654){const _0x3e9015=_0x2237b1;this[_0x3e9015(0x2e2)]+=_0x43b654[0x3][_0x1a3622],this[_0x3e9015(0x1cd)][_0x3e9015(0x1b4)](_0x43b654);}[_0x2237b1(0x1ef)](_0x2a3d37,_0x5c0ac5){const _0x2b7c07=_0x2237b1;_0x2a3d37[_0x2b7c07(0x2e8)]===0x2?(this['_socket'][_0x2b7c07(0x269)](),this['_socket']['write'](_0x2a3d37[0x0]),this[_0x2b7c07(0x17d)]['write'](_0x2a3d37[0x1],_0x5c0ac5),this[_0x2b7c07(0x17d)][_0x2b7c07(0x20e)]()):this[_0x2b7c07(0x17d)]['write'](_0x2a3d37[0x0],_0x5c0ac5);}}Ee=_0xeec15e;function _0x4e29d0(_0x478a36,_0x2e9d18,_0xa3a6cc){const _0x1a764f=_0x2237b1;typeof _0xa3a6cc==_0x1a764f(0x2a4)&&_0xa3a6cc(_0x2e9d18);for(let _0x4938b4=0x0;_0x4938b4<_0x478a36[_0x1a764f(0x1cd)][_0x1a764f(0x2e8)];_0x4938b4++){const _0x3d38e7=_0x478a36['_queue'][_0x4938b4],_0x3b86be=_0x3d38e7[_0x3d38e7[_0x1a764f(0x2e8)]-0x1];typeof _0x3b86be=='function'&&_0x3b86be(_0x2e9d18);}}function _0x395344(_0x2cbbd9,_0x44c85c,_0x221391){const _0x29634d=_0x2237b1;_0x4e29d0(_0x2cbbd9,_0x44c85c,_0x221391),_0x2cbbd9[_0x29634d(0x1c2)](_0x44c85c);}return Ee;}var xe,Ze;function It(){const _0x18c90b=_0x5c7585;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3c24b8,kListener:_0x3bbdb9}=H(),_0x286ef3=Symbol(_0x18c90b(0x243)),_0x2eff10=Symbol('kData'),_0x32af16=Symbol('kError'),_0x39ac38=Symbol(_0x18c90b(0x182)),_0x4b91fd=Symbol('kReason'),_0x473f97=Symbol('kTarget'),_0x30dde7=Symbol(_0x18c90b(0x307)),_0x2272f2=Symbol(_0x18c90b(0x1b0));class _0x491292{constructor(_0x3ba1e1){this[_0x473f97]=null,this[_0x30dde7]=_0x3ba1e1;}get['target'](){return this[_0x473f97];}get[_0x18c90b(0x2b7)](){return this[_0x30dde7];}}Object[_0x18c90b(0x18f)](_0x491292[_0x18c90b(0x265)],_0x18c90b(0x294),{'enumerable':!0x0}),Object[_0x18c90b(0x18f)](_0x491292[_0x18c90b(0x265)],_0x18c90b(0x2b7),{'enumerable':!0x0});class _0x17eee1 extends _0x491292{constructor(_0x29d4bf,_0x2f6fcc={}){const _0x63b446=_0x18c90b;super(_0x29d4bf),this[_0x286ef3]=_0x2f6fcc[_0x63b446(0x178)]===void 0x0?0x0:_0x2f6fcc[_0x63b446(0x178)],this[_0x4b91fd]=_0x2f6fcc[_0x63b446(0x1f5)]===void 0x0?'':_0x2f6fcc[_0x63b446(0x1f5)],this[_0x2272f2]=_0x2f6fcc[_0x63b446(0x2ec)]===void 0x0?!0x1:_0x2f6fcc[_0x63b446(0x2ec)];}get[_0x18c90b(0x178)](){return this[_0x286ef3];}get[_0x18c90b(0x1f5)](){return this[_0x4b91fd];}get[_0x18c90b(0x2ec)](){return this[_0x2272f2];}}Object['defineProperty'](_0x17eee1[_0x18c90b(0x265)],'code',{'enumerable':!0x0}),Object[_0x18c90b(0x18f)](_0x17eee1[_0x18c90b(0x265)],_0x18c90b(0x1f5),{'enumerable':!0x0}),Object[_0x18c90b(0x18f)](_0x17eee1['prototype'],'wasClean',{'enumerable':!0x0});class _0xb512a8 extends _0x491292{constructor(_0x23124f,_0x230bf2={}){const _0x2b45bd=_0x18c90b;super(_0x23124f),this[_0x32af16]=_0x230bf2[_0x2b45bd(0x14f)]===void 0x0?null:_0x230bf2[_0x2b45bd(0x14f)],this[_0x39ac38]=_0x230bf2[_0x2b45bd(0x189)]===void 0x0?'':_0x230bf2['message'];}get[_0x18c90b(0x14f)](){return this[_0x32af16];}get[_0x18c90b(0x189)](){return this[_0x39ac38];}}Object[_0x18c90b(0x18f)](_0xb512a8[_0x18c90b(0x265)],_0x18c90b(0x14f),{'enumerable':!0x0}),Object[_0x18c90b(0x18f)](_0xb512a8['prototype'],_0x18c90b(0x189),{'enumerable':!0x0});class _0x5ba75f extends _0x491292{constructor(_0x351ecf,_0x4f66c2={}){const _0x1d8b3c=_0x18c90b;super(_0x351ecf),this[_0x2eff10]=_0x4f66c2[_0x1d8b3c(0x1d0)]===void 0x0?null:_0x4f66c2[_0x1d8b3c(0x1d0)];}get[_0x18c90b(0x1d0)](){return this[_0x2eff10];}}Object[_0x18c90b(0x18f)](_0x5ba75f['prototype'],_0x18c90b(0x1d0),{'enumerable':!0x0}),xe={'CloseEvent':_0x17eee1,'ErrorEvent':_0xb512a8,'Event':_0x491292,'EventTarget':{'addEventListener'(_0x34b251,_0x2cb316,_0x3891d4={}){const _0x1a6d84=_0x18c90b;for(const _0x54cdf8 of this[_0x1a6d84(0x15a)](_0x34b251))if(!_0x3891d4[_0x3c24b8]&&_0x54cdf8[_0x3bbdb9]===_0x2cb316&&!_0x54cdf8[_0x3c24b8])return;let _0x5c2509;if(_0x34b251===_0x1a6d84(0x189))_0x5c2509=function(_0xbfa06,_0x18f2f7){const _0xf91be7=new _0x5ba75f('message',{'data':_0x18f2f7?_0xbfa06:_0xbfa06['toString']()});_0xf91be7[_0x473f97]=this,_0xf02c1d(_0x2cb316,this,_0xf91be7);};else{if(_0x34b251===_0x1a6d84(0x27f))_0x5c2509=function(_0x555bf2,_0x343628){const _0x21d2bd=_0x1a6d84,_0x41745d=new _0x17eee1(_0x21d2bd(0x27f),{'code':_0x555bf2,'reason':_0x343628[_0x21d2bd(0x16b)](),'wasClean':this[_0x21d2bd(0x2e0)]&&this[_0x21d2bd(0x240)]});_0x41745d[_0x473f97]=this,_0xf02c1d(_0x2cb316,this,_0x41745d);};else{if(_0x34b251===_0x1a6d84(0x14f))_0x5c2509=function(_0x5a1529){const _0x7d9f3d=_0x1a6d84,_0x10d971=new _0xb512a8(_0x7d9f3d(0x14f),{'error':_0x5a1529,'message':_0x5a1529[_0x7d9f3d(0x189)]});_0x10d971[_0x473f97]=this,_0xf02c1d(_0x2cb316,this,_0x10d971);};else{if(_0x34b251===_0x1a6d84(0x228))_0x5c2509=function(){const _0x3e6b54=_0x1a6d84,_0x262c6b=new _0x491292(_0x3e6b54(0x228));_0x262c6b[_0x473f97]=this,_0xf02c1d(_0x2cb316,this,_0x262c6b);};else return;}}}_0x5c2509[_0x3c24b8]=!!_0x3891d4[_0x3c24b8],_0x5c2509[_0x3bbdb9]=_0x2cb316,_0x3891d4[_0x1a6d84(0x150)]?this[_0x1a6d84(0x150)](_0x34b251,_0x5c2509):this['on'](_0x34b251,_0x5c2509);},'removeEventListener'(_0x512013,_0x17e052){const _0x376f56=_0x18c90b;for(const _0xde6e2 of this[_0x376f56(0x15a)](_0x512013))if(_0xde6e2[_0x3bbdb9]===_0x17e052&&!_0xde6e2[_0x3c24b8]){this[_0x376f56(0x147)](_0x512013,_0xde6e2);break;}}},'MessageEvent':_0x5ba75f};function _0xf02c1d(_0x3cfce7,_0x55d1b5,_0x5a29b6){const _0x5e466f=_0x18c90b;typeof _0x3cfce7==_0x5e466f(0x1ea)&&_0x3cfce7[_0x5e466f(0x247)]?_0x3cfce7['handleEvent'][_0x5e466f(0x2aa)](_0x3cfce7,_0x5a29b6):_0x3cfce7['call'](_0x55d1b5,_0x5a29b6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x36f18a}=ae();function _0x4b09bd(_0x5b5cff,_0x42486f,_0x374c46){const _0x59430d=_0x2b44;_0x5b5cff[_0x42486f]===void 0x0?_0x5b5cff[_0x42486f]=[_0x374c46]:_0x5b5cff[_0x42486f][_0x59430d(0x1b4)](_0x374c46);}function _0x5ab2b4(_0x1436e1){const _0x38a838=_0x2b44,_0x4884bd=Object[_0x38a838(0x29f)](null);let _0x322837=Object['create'](null),_0x2f038e=!0x1,_0x4c42ad=!0x1,_0x20944e=!0x1,_0x120b9d,_0x289471,_0x577d47=-0x1,_0x548990=-0x1,_0x5d8774=-0x1,_0x5c582e=0x0;for(;_0x5c582e<_0x1436e1[_0x38a838(0x2e8)];_0x5c582e++)if(_0x548990=_0x1436e1[_0x38a838(0x301)](_0x5c582e),_0x120b9d===void 0x0){if(_0x5d8774===-0x1&&_0x36f18a[_0x548990]===0x1)_0x577d47===-0x1&&(_0x577d47=_0x5c582e);else{if(_0x5c582e!==0x0&&(_0x548990===0x20||_0x548990===0x9))_0x5d8774===-0x1&&_0x577d47!==-0x1&&(_0x5d8774=_0x5c582e);else{if(_0x548990===0x3b||_0x548990===0x2c){if(_0x577d47===-0x1)throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);_0x5d8774===-0x1&&(_0x5d8774=_0x5c582e);const _0x5e8f32=_0x1436e1[_0x38a838(0x2d5)](_0x577d47,_0x5d8774);_0x548990===0x2c?(_0x4b09bd(_0x4884bd,_0x5e8f32,_0x322837),_0x322837=Object[_0x38a838(0x29f)](null)):_0x120b9d=_0x5e8f32,_0x577d47=_0x5d8774=-0x1;}else throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);}}}else{if(_0x289471===void 0x0){if(_0x5d8774===-0x1&&_0x36f18a[_0x548990]===0x1)_0x577d47===-0x1&&(_0x577d47=_0x5c582e);else{if(_0x548990===0x20||_0x548990===0x9)_0x5d8774===-0x1&&_0x577d47!==-0x1&&(_0x5d8774=_0x5c582e);else{if(_0x548990===0x3b||_0x548990===0x2c){if(_0x577d47===-0x1)throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);_0x5d8774===-0x1&&(_0x5d8774=_0x5c582e),_0x4b09bd(_0x322837,_0x1436e1['slice'](_0x577d47,_0x5d8774),!0x0),_0x548990===0x2c&&(_0x4b09bd(_0x4884bd,_0x120b9d,_0x322837),_0x322837=Object['create'](null),_0x120b9d=void 0x0),_0x577d47=_0x5d8774=-0x1;}else{if(_0x548990===0x3d&&_0x577d47!==-0x1&&_0x5d8774===-0x1)_0x289471=_0x1436e1[_0x38a838(0x2d5)](_0x577d47,_0x5c582e),_0x577d47=_0x5d8774=-0x1;else throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);}}}}else{if(_0x4c42ad){if(_0x36f18a[_0x548990]!==0x1)throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);_0x577d47===-0x1?_0x577d47=_0x5c582e:_0x2f038e||(_0x2f038e=!0x0),_0x4c42ad=!0x1;}else{if(_0x20944e){if(_0x36f18a[_0x548990]===0x1)_0x577d47===-0x1&&(_0x577d47=_0x5c582e);else{if(_0x548990===0x22&&_0x577d47!==-0x1)_0x20944e=!0x1,_0x5d8774=_0x5c582e;else{if(_0x548990===0x5c)_0x4c42ad=!0x0;else throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);}}}else{if(_0x548990===0x22&&_0x1436e1['charCodeAt'](_0x5c582e-0x1)===0x3d)_0x20944e=!0x0;else{if(_0x5d8774===-0x1&&_0x36f18a[_0x548990]===0x1)_0x577d47===-0x1&&(_0x577d47=_0x5c582e);else{if(_0x577d47!==-0x1&&(_0x548990===0x20||_0x548990===0x9))_0x5d8774===-0x1&&(_0x5d8774=_0x5c582e);else{if(_0x548990===0x3b||_0x548990===0x2c){if(_0x577d47===-0x1)throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);_0x5d8774===-0x1&&(_0x5d8774=_0x5c582e);let _0x3be7e5=_0x1436e1[_0x38a838(0x2d5)](_0x577d47,_0x5d8774);_0x2f038e&&(_0x3be7e5=_0x3be7e5['replace'](/\\/g,''),_0x2f038e=!0x1),_0x4b09bd(_0x322837,_0x289471,_0x3be7e5),_0x548990===0x2c&&(_0x4b09bd(_0x4884bd,_0x120b9d,_0x322837),_0x322837=Object['create'](null),_0x120b9d=void 0x0),_0x289471=void 0x0,_0x577d47=_0x5d8774=-0x1;}else throw new SyntaxError(_0x38a838(0x1fd)+_0x5c582e);}}}}}}}if(_0x577d47===-0x1||_0x20944e||_0x548990===0x20||_0x548990===0x9)throw new SyntaxError(_0x38a838(0x24f));_0x5d8774===-0x1&&(_0x5d8774=_0x5c582e);const _0xbb3ea2=_0x1436e1[_0x38a838(0x2d5)](_0x577d47,_0x5d8774);return _0x120b9d===void 0x0?_0x4b09bd(_0x4884bd,_0xbb3ea2,_0x322837):(_0x289471===void 0x0?_0x4b09bd(_0x322837,_0xbb3ea2,!0x0):_0x2f038e?_0x4b09bd(_0x322837,_0x289471,_0xbb3ea2[_0x38a838(0x2a1)](/\\/g,'')):_0x4b09bd(_0x322837,_0x289471,_0xbb3ea2),_0x4b09bd(_0x4884bd,_0x120b9d,_0x322837)),_0x4884bd;}function _0x290a2b(_0x187b7e){const _0x329f86=_0x2b44;return Object[_0x329f86(0x16a)](_0x187b7e)['map'](_0xec237f=>{const _0xd56a33=_0x329f86;let _0x200c5a=_0x187b7e[_0xec237f];return Array[_0xd56a33(0x222)](_0x200c5a)||(_0x200c5a=[_0x200c5a]),_0x200c5a[_0xd56a33(0x23f)](_0x1729a1=>[_0xec237f]['concat'](Object[_0xd56a33(0x16a)](_0x1729a1)['map'](_0x303306=>{const _0x2c7102=_0xd56a33;let _0x3aa377=_0x1729a1[_0x303306];return Array['isArray'](_0x3aa377)||(_0x3aa377=[_0x3aa377]),_0x3aa377[_0x2c7102(0x23f)](_0x5e41de=>_0x5e41de===!0x0?_0x303306:_0x303306+'='+_0x5e41de)[_0x2c7102(0x2b4)](';\x20');}))[_0xd56a33(0x2b4)](';\x20'))[_0xd56a33(0x2b4)](',\x20');})['join'](',\x20');}return be={'format':_0x290a2b,'parse':_0x5ab2b4},be;}var we,Je;function Pe(){const _0x41a683=_0x5c7585;if(Je)return we;Je=0x1;const _0x318fa6=nt,_0x1f5b60=vt,_0xdbc072=ot,_0x149306=St,_0x294ab5=Et,{randomBytes:_0x4b18fd,createHash:_0x47d2a2}=Le,{Duplex:_0x150537,Readable:_0x3b3c1d}=oe,{URL:_0xcd1c71}=xt,_0xb1e491=he(),_0x339633=lt(),_0x2ea537=ft(),{isBlob:_0x19882b}=ae(),{BINARY_TYPES:_0x5ba169,EMPTY_BUFFER:_0x1827ce,GUID:_0x41d804,kForOnEventAttribute:_0x5d140e,kListener:_0x51f2ac,kStatusCode:_0xba4dad,kWebSocket:_0x4c9fa8,NOOP:_0x1a3e43}=H(),{EventTarget:{addEventListener:_0x485a0a,removeEventListener:_0x49a366}}=It(),{format:_0x31679b,parse:_0x5b32b0}=ct(),{toBuffer:_0x3ca20a}=ce(),_0x3762fa=0x1e*0x3e8,_0x2feb29=Symbol(_0x41a683(0x23a)),_0x3c810c=[0x8,0xd],_0x57bd3f=[_0x41a683(0x158),_0x41a683(0x2de),'CLOSING',_0x41a683(0x1d9)],_0x5c2e1a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xd145a1 extends _0x318fa6{constructor(_0x1bdccb,_0x14465a,_0x1fedc8){const _0x12b3ff=_0x41a683;super(),this[_0x12b3ff(0x166)]=_0x5ba169[0x0],this[_0x12b3ff(0x19c)]=0x3ee,this[_0x12b3ff(0x2e0)]=!0x1,this[_0x12b3ff(0x240)]=!0x1,this[_0x12b3ff(0x254)]=_0x1827ce,this[_0x12b3ff(0x1a1)]=null,this['_errorEmitted']=!0x1,this[_0x12b3ff(0x273)]={},this['_paused']=!0x1,this[_0x12b3ff(0x302)]='',this[_0x12b3ff(0x2d6)]=_0xd145a1[_0x12b3ff(0x158)],this[_0x12b3ff(0x142)]=null,this['_sender']=null,this[_0x12b3ff(0x17d)]=null,_0x1bdccb!==null?(this[_0x12b3ff(0x186)]=0x0,this['_isServer']=!0x1,this[_0x12b3ff(0x203)]=0x0,_0x14465a===void 0x0?_0x14465a=[]:Array[_0x12b3ff(0x222)](_0x14465a)||(typeof _0x14465a==_0x12b3ff(0x1ea)&&_0x14465a!==null?(_0x1fedc8=_0x14465a,_0x14465a=[]):_0x14465a=[_0x14465a]),_0x1e3264(this,_0x1bdccb,_0x14465a,_0x1fedc8)):(this[_0x12b3ff(0x258)]=_0x1fedc8[_0x12b3ff(0x1b9)],this['_isServer']=!0x0);}get[_0x41a683(0x208)](){const _0x35dddf=_0x41a683;return this[_0x35dddf(0x166)];}set[_0x41a683(0x208)](_0x1a0a4d){const _0x2d7125=_0x41a683;_0x5ba169[_0x2d7125(0x1c1)](_0x1a0a4d)&&(this[_0x2d7125(0x166)]=_0x1a0a4d,this[_0x2d7125(0x142)]&&(this[_0x2d7125(0x142)][_0x2d7125(0x166)]=_0x1a0a4d));}get[_0x41a683(0x144)](){const _0xbaffbe=_0x41a683;return this[_0xbaffbe(0x17d)]?this[_0xbaffbe(0x17d)][_0xbaffbe(0x241)][_0xbaffbe(0x2e8)]+this[_0xbaffbe(0x17a)]['_bufferedBytes']:this[_0xbaffbe(0x186)];}get[_0x41a683(0x19f)](){const _0x5179ec=_0x41a683;return Object[_0x5179ec(0x16a)](this[_0x5179ec(0x273)])[_0x5179ec(0x2b4)]();}get['isPaused'](){const _0x1f75b3=_0x41a683;return this[_0x1f75b3(0x2a3)];}get[_0x41a683(0x176)](){return null;}get[_0x41a683(0x1c2)](){return null;}get[_0x41a683(0x196)](){return null;}get['onmessage'](){return null;}get[_0x41a683(0x1b7)](){const _0x397ccf=_0x41a683;return this[_0x397ccf(0x302)];}get[_0x41a683(0x20a)](){const _0x1031cd=_0x41a683;return this[_0x1031cd(0x2d6)];}get[_0x41a683(0x2b8)](){return this['_url'];}['setSocket'](_0x5c2d2b,_0x340a53,_0x2dc11a){const _0x372da6=_0x41a683,_0x199b14=new _0x339633({'allowSynchronousEvents':_0x2dc11a[_0x372da6(0x1ad)],'binaryType':this['binaryType'],'extensions':this[_0x372da6(0x273)],'isServer':this[_0x372da6(0x148)],'maxPayload':_0x2dc11a[_0x372da6(0x250)],'skipUTF8Validation':_0x2dc11a[_0x372da6(0x30b)]}),_0x5c1faf=new _0x2ea537(_0x5c2d2b,this[_0x372da6(0x273)],_0x2dc11a[_0x372da6(0x1aa)]);this['_receiver']=_0x199b14,this[_0x372da6(0x17a)]=_0x5c1faf,this[_0x372da6(0x17d)]=_0x5c2d2b,_0x199b14[_0x4c9fa8]=this,_0x5c1faf[_0x4c9fa8]=this,_0x5c2d2b[_0x4c9fa8]=this,_0x199b14['on'](_0x372da6(0x207),_0x50160c),_0x199b14['on'](_0x372da6(0x18b),_0x1177b3),_0x199b14['on']('error',_0x2b0a3e),_0x199b14['on'](_0x372da6(0x189),_0x3ebd59),_0x199b14['on'](_0x372da6(0x2d1),_0x2f052c),_0x199b14['on']('pong',_0xc0fd82),_0x5c1faf[_0x372da6(0x1c2)]=_0x3d4239,_0x5c2d2b[_0x372da6(0x22a)]&&_0x5c2d2b[_0x372da6(0x22a)](0x0),_0x5c2d2b[_0x372da6(0x155)]&&_0x5c2d2b[_0x372da6(0x155)](),_0x340a53[_0x372da6(0x2e8)]>0x0&&_0x5c2d2b[_0x372da6(0x16f)](_0x340a53),_0x5c2d2b['on'](_0x372da6(0x27f),_0x5d99b8),_0x5c2d2b['on'](_0x372da6(0x1d0),_0x5a5a3a),_0x5c2d2b['on'](_0x372da6(0x2a6),_0x48e51b),_0x5c2d2b['on'](_0x372da6(0x14f),_0x4b183f),this[_0x372da6(0x2d6)]=_0xd145a1[_0x372da6(0x2de)],this[_0x372da6(0x18e)]('open');}[_0x41a683(0x290)](){const _0x1424d7=_0x41a683;if(!this[_0x1424d7(0x17d)]){this[_0x1424d7(0x2d6)]=_0xd145a1['CLOSED'],this[_0x1424d7(0x18e)](_0x1424d7(0x27f),this['_closeCode'],this[_0x1424d7(0x254)]);return;}this[_0x1424d7(0x273)][_0xb1e491[_0x1424d7(0x19b)]]&&this[_0x1424d7(0x273)][_0xb1e491[_0x1424d7(0x19b)]][_0x1424d7(0x23d)](),this['_receiver'][_0x1424d7(0x253)](),this['_readyState']=_0xd145a1[_0x1424d7(0x1d9)],this[_0x1424d7(0x18e)](_0x1424d7(0x27f),this['_closeCode'],this['_closeMessage']);}[_0x41a683(0x27f)](_0x4b875f,_0x26318b){const _0x1cc99f=_0x41a683;if(this[_0x1cc99f(0x20a)]!==_0xd145a1[_0x1cc99f(0x1d9)]){if(this[_0x1cc99f(0x20a)]===_0xd145a1['CONNECTING']){_0x2d8951(this,this[_0x1cc99f(0x215)],_0x1cc99f(0x179));return;}if(this[_0x1cc99f(0x20a)]===_0xd145a1[_0x1cc99f(0x13e)]){this[_0x1cc99f(0x240)]&&(this[_0x1cc99f(0x2e0)]||this['_receiver'][_0x1cc99f(0x241)][_0x1cc99f(0x248)])&&this[_0x1cc99f(0x17d)][_0x1cc99f(0x2a6)]();return;}this[_0x1cc99f(0x2d6)]=_0xd145a1['CLOSING'],this['_sender'][_0x1cc99f(0x27f)](_0x4b875f,_0x26318b,!this[_0x1cc99f(0x148)],_0x2836b4=>{const _0x68226a=_0x1cc99f;_0x2836b4||(this['_closeFrameSent']=!0x0,(this[_0x68226a(0x2e0)]||this[_0x68226a(0x142)]['_writableState'][_0x68226a(0x248)])&&this['_socket'][_0x68226a(0x2a6)]());}),_0xd4daf7(this);}}[_0x41a683(0x2e1)](){const _0x3dfcf2=_0x41a683;this[_0x3dfcf2(0x20a)]===_0xd145a1['CONNECTING']||this[_0x3dfcf2(0x20a)]===_0xd145a1['CLOSED']||(this[_0x3dfcf2(0x2a3)]=!0x0,this['_socket'][_0x3dfcf2(0x2e1)]());}[_0x41a683(0x2d1)](_0x3482d1,_0x216a45,_0xbe2f8c){const _0x4887c0=_0x41a683;if(this[_0x4887c0(0x20a)]===_0xd145a1['CONNECTING'])throw new Error(_0x4887c0(0x255));if(typeof _0x3482d1==_0x4887c0(0x2a4)?(_0xbe2f8c=_0x3482d1,_0x3482d1=_0x216a45=void 0x0):typeof _0x216a45==_0x4887c0(0x2a4)&&(_0xbe2f8c=_0x216a45,_0x216a45=void 0x0),typeof _0x3482d1==_0x4887c0(0x1c7)&&(_0x3482d1=_0x3482d1[_0x4887c0(0x16b)]()),this['readyState']!==_0xd145a1[_0x4887c0(0x2de)]){_0x3e2114(this,_0x3482d1,_0xbe2f8c);return;}_0x216a45===void 0x0&&(_0x216a45=!this[_0x4887c0(0x148)]),this['_sender'][_0x4887c0(0x2d1)](_0x3482d1||_0x1827ce,_0x216a45,_0xbe2f8c);}[_0x41a683(0x220)](_0x377040,_0x4e979b,_0x204b2a){const _0x314684=_0x41a683;if(this[_0x314684(0x20a)]===_0xd145a1[_0x314684(0x158)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x377040==_0x314684(0x2a4)?(_0x204b2a=_0x377040,_0x377040=_0x4e979b=void 0x0):typeof _0x4e979b=='function'&&(_0x204b2a=_0x4e979b,_0x4e979b=void 0x0),typeof _0x377040==_0x314684(0x1c7)&&(_0x377040=_0x377040[_0x314684(0x16b)]()),this[_0x314684(0x20a)]!==_0xd145a1[_0x314684(0x2de)]){_0x3e2114(this,_0x377040,_0x204b2a);return;}_0x4e979b===void 0x0&&(_0x4e979b=!this[_0x314684(0x148)]),this[_0x314684(0x17a)][_0x314684(0x220)](_0x377040||_0x1827ce,_0x4e979b,_0x204b2a);}['resume'](){const _0x648e8=_0x41a683;this[_0x648e8(0x20a)]===_0xd145a1['CONNECTING']||this[_0x648e8(0x20a)]===_0xd145a1[_0x648e8(0x1d9)]||(this['_paused']=!0x1,this[_0x648e8(0x142)][_0x648e8(0x241)][_0x648e8(0x2ca)]||this['_socket'][_0x648e8(0x2c4)]());}['send'](_0x32baa7,_0x37f89c,_0x396122){const _0x4d9d38=_0x41a683;if(this[_0x4d9d38(0x20a)]===_0xd145a1['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x37f89c==_0x4d9d38(0x2a4)&&(_0x396122=_0x37f89c,_0x37f89c={}),typeof _0x32baa7==_0x4d9d38(0x1c7)&&(_0x32baa7=_0x32baa7['toString']()),this[_0x4d9d38(0x20a)]!==_0xd145a1[_0x4d9d38(0x2de)]){_0x3e2114(this,_0x32baa7,_0x396122);return;}const _0x510b3a={'binary':typeof _0x32baa7!='string','mask':!this[_0x4d9d38(0x148)],'compress':!0x0,'fin':!0x0,..._0x37f89c};this['_extensions'][_0xb1e491['extensionName']]||(_0x510b3a[_0x4d9d38(0x2b5)]=!0x1),this[_0x4d9d38(0x17a)][_0x4d9d38(0x276)](_0x32baa7||_0x1827ce,_0x510b3a,_0x396122);}['terminate'](){const _0x7a4e98=_0x41a683;if(this[_0x7a4e98(0x20a)]!==_0xd145a1[_0x7a4e98(0x1d9)]){if(this[_0x7a4e98(0x20a)]===_0xd145a1[_0x7a4e98(0x158)]){_0x2d8951(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x7a4e98(0x17d)]&&(this[_0x7a4e98(0x2d6)]=_0xd145a1[_0x7a4e98(0x13e)],this[_0x7a4e98(0x17d)][_0x7a4e98(0x2b9)]());}}}Object['defineProperty'](_0xd145a1,'CONNECTING',{'enumerable':!0x0,'value':_0x57bd3f['indexOf'](_0x41a683(0x158))}),Object[_0x41a683(0x18f)](_0xd145a1[_0x41a683(0x265)],'CONNECTING',{'enumerable':!0x0,'value':_0x57bd3f[_0x41a683(0x2fe)]('CONNECTING')}),Object[_0x41a683(0x18f)](_0xd145a1,'OPEN',{'enumerable':!0x0,'value':_0x57bd3f[_0x41a683(0x2fe)]('OPEN')}),Object['defineProperty'](_0xd145a1[_0x41a683(0x265)],_0x41a683(0x2de),{'enumerable':!0x0,'value':_0x57bd3f['indexOf'](_0x41a683(0x2de))}),Object['defineProperty'](_0xd145a1,'CLOSING',{'enumerable':!0x0,'value':_0x57bd3f[_0x41a683(0x2fe)](_0x41a683(0x13e))}),Object['defineProperty'](_0xd145a1['prototype'],_0x41a683(0x13e),{'enumerable':!0x0,'value':_0x57bd3f[_0x41a683(0x2fe)](_0x41a683(0x13e))}),Object[_0x41a683(0x18f)](_0xd145a1,'CLOSED',{'enumerable':!0x0,'value':_0x57bd3f['indexOf']('CLOSED')}),Object['defineProperty'](_0xd145a1[_0x41a683(0x265)],_0x41a683(0x1d9),{'enumerable':!0x0,'value':_0x57bd3f[_0x41a683(0x2fe)](_0x41a683(0x1d9))}),['binaryType',_0x41a683(0x144),'extensions',_0x41a683(0x25a),_0x41a683(0x1b7),_0x41a683(0x20a),'url'][_0x41a683(0x24e)](_0x48c2e5=>{const _0x2d002f=_0x41a683;Object[_0x2d002f(0x18f)](_0xd145a1[_0x2d002f(0x265)],_0x48c2e5,{'enumerable':!0x0});}),[_0x41a683(0x228),_0x41a683(0x14f),'close','message'][_0x41a683(0x24e)](_0xe682fa=>{const _0x64a0b4=_0x41a683;Object['defineProperty'](_0xd145a1[_0x64a0b4(0x265)],'on'+_0xe682fa,{'enumerable':!0x0,'get'(){const _0x5779e3=_0x64a0b4;for(const _0x2f6d37 of this[_0x5779e3(0x15a)](_0xe682fa))if(_0x2f6d37[_0x5d140e])return _0x2f6d37[_0x51f2ac];return null;},'set'(_0x3364b0){const _0xddbcbf=_0x64a0b4;for(const _0xd1e952 of this[_0xddbcbf(0x15a)](_0xe682fa))if(_0xd1e952[_0x5d140e]){this[_0xddbcbf(0x147)](_0xe682fa,_0xd1e952);break;}typeof _0x3364b0=='function'&&this['addEventListener'](_0xe682fa,_0x3364b0,{[_0x5d140e]:!0x0});}});}),_0xd145a1[_0x41a683(0x265)]['addEventListener']=_0x485a0a,_0xd145a1['prototype'][_0x41a683(0x2f4)]=_0x49a366,we=_0xd145a1;function _0x1e3264(_0x3db0ee,_0x180f6f,_0x46dcfe,_0x24e8ef){const _0x38e796=_0x41a683,_0x5d9a68={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3c810c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24e8ef,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3db0ee[_0x38e796(0x258)]=_0x5d9a68[_0x38e796(0x1b9)],!_0x3c810c[_0x38e796(0x1c1)](_0x5d9a68[_0x38e796(0x197)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5d9a68['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x3c810c[_0x38e796(0x2b4)](',\x20')+')');let _0x41cfe3;if(_0x180f6f instanceof _0xcd1c71)_0x41cfe3=_0x180f6f;else try{_0x41cfe3=new _0xcd1c71(_0x180f6f);}catch{throw new SyntaxError(_0x38e796(0x1e4)+_0x180f6f);}_0x41cfe3[_0x38e796(0x1b7)]==='http:'?_0x41cfe3['protocol']=_0x38e796(0x2c6):_0x41cfe3[_0x38e796(0x1b7)]===_0x38e796(0x2a5)&&(_0x41cfe3['protocol']=_0x38e796(0x2c5)),_0x3db0ee[_0x38e796(0x193)]=_0x41cfe3[_0x38e796(0x16c)];const _0x176169=_0x41cfe3[_0x38e796(0x1b7)]===_0x38e796(0x2c5),_0x3f0ddd=_0x41cfe3[_0x38e796(0x1b7)]===_0x38e796(0x168);let _0x2ee26d;if(_0x41cfe3[_0x38e796(0x1b7)]!==_0x38e796(0x2c6)&&!_0x176169&&!_0x3f0ddd?_0x2ee26d=_0x38e796(0x1b5):_0x3f0ddd&&!_0x41cfe3['pathname']?_0x2ee26d=_0x38e796(0x161):_0x41cfe3[_0x38e796(0x1e1)]&&(_0x2ee26d=_0x38e796(0x1e6)),_0x2ee26d){const _0x4cef4f=new SyntaxError(_0x2ee26d);if(_0x3db0ee[_0x38e796(0x203)]===0x0)throw _0x4cef4f;_0x4b56f0(_0x3db0ee,_0x4cef4f);return;}const _0x33b94e=_0x176169?0x1bb:0x50,_0x51da3a=_0x4b18fd(0x10)[_0x38e796(0x16b)](_0x38e796(0x1dd)),_0x11d402=_0x176169?_0x1f5b60['request']:_0xdbc072['request'],_0x6dc5d3=new Set();let _0x497147;if(_0x5d9a68[_0x38e796(0x217)]=_0x5d9a68[_0x38e796(0x217)]||(_0x176169?_0x27acdb:_0x45e6e9),_0x5d9a68[_0x38e796(0x1fe)]=_0x5d9a68[_0x38e796(0x1fe)]||_0x33b94e,_0x5d9a68[_0x38e796(0x1c5)]=_0x41cfe3[_0x38e796(0x1c5)]||_0x33b94e,_0x5d9a68[_0x38e796(0x29a)]=_0x41cfe3[_0x38e796(0x2d2)][_0x38e796(0x2d4)]('[')?_0x41cfe3['hostname']['slice'](0x1,-0x1):_0x41cfe3['hostname'],_0x5d9a68[_0x38e796(0x2e3)]={..._0x5d9a68[_0x38e796(0x2e3)],'Sec-WebSocket-Version':_0x5d9a68[_0x38e796(0x197)],'Sec-WebSocket-Key':_0x51da3a,'Connection':_0x38e796(0x2fc),'Upgrade':_0x38e796(0x232)},_0x5d9a68[_0x38e796(0x304)]=_0x41cfe3['pathname']+_0x41cfe3['search'],_0x5d9a68[_0x38e796(0x17c)]=_0x5d9a68[_0x38e796(0x1d1)],_0x5d9a68[_0x38e796(0x1f7)]&&(_0x497147=new _0xb1e491(_0x5d9a68[_0x38e796(0x1f7)]!==!0x0?_0x5d9a68['perMessageDeflate']:{},!0x1,_0x5d9a68[_0x38e796(0x250)]),_0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x291)]=_0x31679b({[_0xb1e491[_0x38e796(0x19b)]]:_0x497147['offer']()})),_0x46dcfe[_0x38e796(0x2e8)]){for(const _0x1830ed of _0x46dcfe){if(typeof _0x1830ed!='string'||!_0x5c2e1a[_0x38e796(0x2ad)](_0x1830ed)||_0x6dc5d3[_0x38e796(0x1ec)](_0x1830ed))throw new SyntaxError(_0x38e796(0x22b));_0x6dc5d3[_0x38e796(0x274)](_0x1830ed);}_0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x21e)]=_0x46dcfe[_0x38e796(0x2b4)](',');}if(_0x5d9a68['origin']&&(_0x5d9a68['protocolVersion']<0xd?_0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x1f2)]=_0x5d9a68[_0x38e796(0x1fb)]:_0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x224)]=_0x5d9a68[_0x38e796(0x1fb)]),(_0x41cfe3[_0x38e796(0x1c0)]||_0x41cfe3['password'])&&(_0x5d9a68[_0x38e796(0x1e8)]=_0x41cfe3[_0x38e796(0x1c0)]+':'+_0x41cfe3[_0x38e796(0x1ca)]),_0x3f0ddd){const _0x2a011f=_0x5d9a68[_0x38e796(0x304)][_0x38e796(0x27e)](':');_0x5d9a68['socketPath']=_0x2a011f[0x0],_0x5d9a68[_0x38e796(0x304)]=_0x2a011f[0x1];}let _0x53c8e1;if(_0x5d9a68[_0x38e796(0x229)]){if(_0x3db0ee[_0x38e796(0x203)]===0x0){_0x3db0ee['_originalIpc']=_0x3f0ddd,_0x3db0ee['_originalSecure']=_0x176169,_0x3db0ee[_0x38e796(0x15c)]=_0x3f0ddd?_0x5d9a68[_0x38e796(0x2cb)]:_0x41cfe3[_0x38e796(0x29a)];const _0x291907=_0x24e8ef&&_0x24e8ef[_0x38e796(0x2e3)];if(_0x24e8ef={..._0x24e8ef,'headers':{}},_0x291907){for(const [_0x1514ae,_0x4559f1]of Object[_0x38e796(0x1d8)](_0x291907))_0x24e8ef[_0x38e796(0x2e3)][_0x1514ae[_0x38e796(0x236)]()]=_0x4559f1;}}else{if(_0x3db0ee[_0x38e796(0x149)](_0x38e796(0x2b2))===0x0){const _0x127cd3=_0x3f0ddd?_0x3db0ee['_originalIpc']?_0x5d9a68[_0x38e796(0x2cb)]===_0x3db0ee[_0x38e796(0x15c)]:!0x1:_0x3db0ee[_0x38e796(0x259)]?!0x1:_0x41cfe3[_0x38e796(0x29a)]===_0x3db0ee[_0x38e796(0x15c)];(!_0x127cd3||_0x3db0ee[_0x38e796(0x2b1)]&&!_0x176169)&&(delete _0x5d9a68['headers'][_0x38e796(0x167)],delete _0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x264)],_0x127cd3||delete _0x5d9a68[_0x38e796(0x2e3)][_0x38e796(0x29a)],_0x5d9a68[_0x38e796(0x1e8)]=void 0x0);}}_0x5d9a68[_0x38e796(0x1e8)]&&!_0x24e8ef['headers'][_0x38e796(0x167)]&&(_0x24e8ef[_0x38e796(0x2e3)][_0x38e796(0x167)]=_0x38e796(0x29b)+Buffer[_0x38e796(0x204)](_0x5d9a68[_0x38e796(0x1e8)])['toString'](_0x38e796(0x1dd))),_0x53c8e1=_0x3db0ee[_0x38e796(0x215)]=_0x11d402(_0x5d9a68),_0x3db0ee['_redirects']&&_0x3db0ee[_0x38e796(0x18e)](_0x38e796(0x2b2),_0x3db0ee['url'],_0x53c8e1);}else _0x53c8e1=_0x3db0ee[_0x38e796(0x215)]=_0x11d402(_0x5d9a68);_0x5d9a68[_0x38e796(0x17c)]&&_0x53c8e1['on'](_0x38e796(0x17c),()=>{const _0x384021=_0x38e796;_0x2d8951(_0x3db0ee,_0x53c8e1,_0x384021(0x2a9));}),_0x53c8e1['on']('error',_0x2fb464=>{const _0x3ba1d5=_0x38e796;_0x53c8e1===null||_0x53c8e1[_0x2feb29]||(_0x53c8e1=_0x3db0ee[_0x3ba1d5(0x215)]=null,_0x4b56f0(_0x3db0ee,_0x2fb464));}),_0x53c8e1['on'](_0x38e796(0x309),_0x59de3b=>{const _0x1069d2=_0x38e796,_0xccfd16=_0x59de3b[_0x1069d2(0x2e3)][_0x1069d2(0x13d)],_0x38ebc7=_0x59de3b[_0x1069d2(0x218)];if(_0xccfd16&&_0x5d9a68[_0x1069d2(0x229)]&&_0x38ebc7>=0x12c&&_0x38ebc7<0x190){if(++_0x3db0ee[_0x1069d2(0x203)]>_0x5d9a68[_0x1069d2(0x262)]){_0x2d8951(_0x3db0ee,_0x53c8e1,_0x1069d2(0x16e));return;}_0x53c8e1[_0x1069d2(0x2fb)]();let _0x365029;try{_0x365029=new _0xcd1c71(_0xccfd16,_0x180f6f);}catch{const _0x58c4fe=new SyntaxError(_0x1069d2(0x1e4)+_0xccfd16);_0x4b56f0(_0x3db0ee,_0x58c4fe);return;}_0x1e3264(_0x3db0ee,_0x365029,_0x46dcfe,_0x24e8ef);}else _0x3db0ee[_0x1069d2(0x18e)](_0x1069d2(0x28c),_0x53c8e1,_0x59de3b)||_0x2d8951(_0x3db0ee,_0x53c8e1,_0x1069d2(0x2da)+_0x59de3b[_0x1069d2(0x218)]);}),_0x53c8e1['on'](_0x38e796(0x153),(_0x39173e,_0xdd0d20,_0xf24fc1)=>{const _0x3bfa2b=_0x38e796;if(_0x3db0ee['emit']('upgrade',_0x39173e),_0x3db0ee[_0x3bfa2b(0x20a)]!==_0xd145a1[_0x3bfa2b(0x158)])return;_0x53c8e1=_0x3db0ee[_0x3bfa2b(0x215)]=null;const _0xd6c72a=_0x39173e['headers']['upgrade'];if(_0xd6c72a===void 0x0||_0xd6c72a[_0x3bfa2b(0x236)]()!==_0x3bfa2b(0x232)){_0x2d8951(_0x3db0ee,_0xdd0d20,_0x3bfa2b(0x23c));return;}const _0x3c4e1b=_0x47d2a2(_0x3bfa2b(0x24c))[_0x3bfa2b(0x154)](_0x51da3a+_0x41d804)[_0x3bfa2b(0x221)](_0x3bfa2b(0x1dd));if(_0x39173e[_0x3bfa2b(0x2e3)][_0x3bfa2b(0x1f9)]!==_0x3c4e1b){_0x2d8951(_0x3db0ee,_0xdd0d20,_0x3bfa2b(0x191));return;}const _0x4c32b4=_0x39173e[_0x3bfa2b(0x2e3)][_0x3bfa2b(0x1c3)];let _0xf9de29;if(_0x4c32b4!==void 0x0?_0x6dc5d3[_0x3bfa2b(0x2d7)]?_0x6dc5d3[_0x3bfa2b(0x1ec)](_0x4c32b4)||(_0xf9de29=_0x3bfa2b(0x299)):_0xf9de29='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x6dc5d3[_0x3bfa2b(0x2d7)]&&(_0xf9de29=_0x3bfa2b(0x266)),_0xf9de29){_0x2d8951(_0x3db0ee,_0xdd0d20,_0xf9de29);return;}_0x4c32b4&&(_0x3db0ee[_0x3bfa2b(0x302)]=_0x4c32b4);const _0x4b4be6=_0x39173e[_0x3bfa2b(0x2e3)]['sec-websocket-extensions'];if(_0x4b4be6!==void 0x0){if(!_0x497147){_0x2d8951(_0x3db0ee,_0xdd0d20,_0x3bfa2b(0x237));return;}let _0x63623d;try{_0x63623d=_0x5b32b0(_0x4b4be6);}catch{_0x2d8951(_0x3db0ee,_0xdd0d20,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x5004b8=Object[_0x3bfa2b(0x16a)](_0x63623d);if(_0x5004b8[_0x3bfa2b(0x2e8)]!==0x1||_0x5004b8[0x0]!==_0xb1e491['extensionName']){_0x2d8951(_0x3db0ee,_0xdd0d20,_0x3bfa2b(0x20b));return;}try{_0x497147[_0x3bfa2b(0x29d)](_0x63623d[_0xb1e491[_0x3bfa2b(0x19b)]]);}catch{_0x2d8951(_0x3db0ee,_0xdd0d20,_0x3bfa2b(0x1eb));return;}_0x3db0ee[_0x3bfa2b(0x273)][_0xb1e491['extensionName']]=_0x497147;}_0x3db0ee[_0x3bfa2b(0x29c)](_0xdd0d20,_0xf24fc1,{'allowSynchronousEvents':_0x5d9a68[_0x3bfa2b(0x1ad)],'generateMask':_0x5d9a68['generateMask'],'maxPayload':_0x5d9a68[_0x3bfa2b(0x250)],'skipUTF8Validation':_0x5d9a68['skipUTF8Validation']});}),_0x5d9a68[_0x38e796(0x140)]?_0x5d9a68[_0x38e796(0x140)](_0x53c8e1,_0x3db0ee):_0x53c8e1[_0x38e796(0x2a6)]();}function _0x4b56f0(_0x24e1a1,_0x1233c0){const _0x3d3669=_0x41a683;_0x24e1a1['_readyState']=_0xd145a1[_0x3d3669(0x13e)],_0x24e1a1['_errorEmitted']=!0x0,_0x24e1a1[_0x3d3669(0x18e)](_0x3d3669(0x14f),_0x1233c0),_0x24e1a1[_0x3d3669(0x290)]();}function _0x45e6e9(_0x25da8f){const _0x421696=_0x41a683;return _0x25da8f['path']=_0x25da8f['socketPath'],_0x149306[_0x421696(0x19a)](_0x25da8f);}function _0x27acdb(_0x5eeb5e){const _0x3895c9=_0x41a683;return _0x5eeb5e[_0x3895c9(0x304)]=void 0x0,!_0x5eeb5e['servername']&&_0x5eeb5e['servername']!==''&&(_0x5eeb5e[_0x3895c9(0x2ff)]=_0x149306[_0x3895c9(0x19d)](_0x5eeb5e[_0x3895c9(0x29a)])?'':_0x5eeb5e[_0x3895c9(0x29a)]),_0x294ab5['connect'](_0x5eeb5e);}function _0x2d8951(_0x4bc220,_0x5c54d2,_0x3421f4){const _0x419f6d=_0x41a683;_0x4bc220[_0x419f6d(0x2d6)]=_0xd145a1['CLOSING'];const _0x2a5304=new Error(_0x3421f4);Error[_0x419f6d(0x26d)](_0x2a5304,_0x2d8951),_0x5c54d2[_0x419f6d(0x295)]?(_0x5c54d2[_0x2feb29]=!0x0,_0x5c54d2[_0x419f6d(0x2fb)](),_0x5c54d2[_0x419f6d(0x25e)]&&!_0x5c54d2[_0x419f6d(0x25e)][_0x419f6d(0x205)]&&_0x5c54d2['socket'][_0x419f6d(0x2b9)](),process[_0x419f6d(0x227)](_0x4b56f0,_0x4bc220,_0x2a5304)):(_0x5c54d2[_0x419f6d(0x2b9)](_0x2a5304),_0x5c54d2[_0x419f6d(0x150)](_0x419f6d(0x14f),_0x4bc220['emit']['bind'](_0x4bc220,_0x419f6d(0x14f))),_0x5c54d2[_0x419f6d(0x150)](_0x419f6d(0x27f),_0x4bc220[_0x419f6d(0x290)][_0x419f6d(0x21c)](_0x4bc220)));}function _0x3e2114(_0x5867e2,_0x35d0f3,_0x263c5d){const _0x35f790=_0x41a683;if(_0x35d0f3){const _0x3ec83c=_0x19882b(_0x35d0f3)?_0x35d0f3[_0x35f790(0x2d7)]:_0x3ca20a(_0x35d0f3)['length'];_0x5867e2[_0x35f790(0x17d)]?_0x5867e2[_0x35f790(0x17a)][_0x35f790(0x2e2)]+=_0x3ec83c:_0x5867e2[_0x35f790(0x186)]+=_0x3ec83c;}if(_0x263c5d){const _0xf9d6de=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x5867e2[_0x35f790(0x20a)]+'\x20('+_0x57bd3f[_0x5867e2['readyState']]+')');process[_0x35f790(0x227)](_0x263c5d,_0xf9d6de);}}function _0x50160c(_0x4e1386,_0x429703){const _0x299415=_0x41a683,_0xdef85b=this[_0x4c9fa8];_0xdef85b[_0x299415(0x2e0)]=!0x0,_0xdef85b[_0x299415(0x254)]=_0x429703,_0xdef85b[_0x299415(0x19c)]=_0x4e1386,_0xdef85b['_socket'][_0x4c9fa8]!==void 0x0&&(_0xdef85b[_0x299415(0x17d)]['removeListener'](_0x299415(0x1d0),_0x5a5a3a),process[_0x299415(0x227)](_0x486476,_0xdef85b['_socket']),_0x4e1386===0x3ed?_0xdef85b['close']():_0xdef85b[_0x299415(0x27f)](_0x4e1386,_0x429703));}function _0x1177b3(){const _0x5c9cf0=_0x41a683,_0x277b89=this[_0x4c9fa8];_0x277b89[_0x5c9cf0(0x25a)]||_0x277b89[_0x5c9cf0(0x17d)][_0x5c9cf0(0x2c4)]();}function _0x2b0a3e(_0x28df92){const _0x424bf6=_0x41a683,_0x2857db=this[_0x4c9fa8];_0x2857db[_0x424bf6(0x17d)][_0x4c9fa8]!==void 0x0&&(_0x2857db['_socket'][_0x424bf6(0x147)]('data',_0x5a5a3a),process[_0x424bf6(0x227)](_0x486476,_0x2857db[_0x424bf6(0x17d)]),_0x2857db[_0x424bf6(0x27f)](_0x28df92[_0xba4dad])),_0x2857db['_errorEmitted']||(_0x2857db[_0x424bf6(0x2b0)]=!0x0,_0x2857db[_0x424bf6(0x18e)](_0x424bf6(0x14f),_0x28df92));}function _0x366ee4(){const _0x1fa2df=_0x41a683;this[_0x4c9fa8][_0x1fa2df(0x290)]();}function _0x3ebd59(_0xb14873,_0xcd447f){const _0x16c102=_0x41a683;this[_0x4c9fa8][_0x16c102(0x18e)]('message',_0xb14873,_0xcd447f);}function _0x2f052c(_0xb2c5dd){const _0x1f6008=_0x41a683,_0x2e4275=this[_0x4c9fa8];_0x2e4275[_0x1f6008(0x258)]&&_0x2e4275[_0x1f6008(0x220)](_0xb2c5dd,!this[_0x1f6008(0x148)],_0x1a3e43),_0x2e4275['emit']('ping',_0xb2c5dd);}function _0xc0fd82(_0x4f7b66){const _0x44167f=_0x41a683;this[_0x4c9fa8][_0x44167f(0x18e)](_0x44167f(0x220),_0x4f7b66);}function _0x486476(_0x118bbd){const _0x5b3810=_0x41a683;_0x118bbd[_0x5b3810(0x2c4)]();}function _0x3d4239(_0x1a33d0){const _0x3faad3=_0x41a683,_0x1c0064=this[_0x4c9fa8];_0x1c0064[_0x3faad3(0x20a)]!==_0xd145a1['CLOSED']&&(_0x1c0064[_0x3faad3(0x20a)]===_0xd145a1[_0x3faad3(0x2de)]&&(_0x1c0064[_0x3faad3(0x2d6)]=_0xd145a1[_0x3faad3(0x13e)],_0xd4daf7(_0x1c0064)),this[_0x3faad3(0x17d)][_0x3faad3(0x2a6)](),_0x1c0064[_0x3faad3(0x2b0)]||(_0x1c0064[_0x3faad3(0x2b0)]=!0x0,_0x1c0064['emit']('error',_0x1a33d0)));}function _0xd4daf7(_0x29c64d){const _0x12614f=_0x41a683;_0x29c64d[_0x12614f(0x1a1)]=setTimeout(_0x29c64d[_0x12614f(0x17d)]['destroy'][_0x12614f(0x21c)](_0x29c64d[_0x12614f(0x17d)]),_0x3762fa);}function _0x5d99b8(){const _0x11e368=_0x41a683,_0x1f09d6=this[_0x4c9fa8];this[_0x11e368(0x147)]('close',_0x5d99b8),this[_0x11e368(0x147)](_0x11e368(0x1d0),_0x5a5a3a),this[_0x11e368(0x147)](_0x11e368(0x2a6),_0x48e51b),_0x1f09d6[_0x11e368(0x2d6)]=_0xd145a1[_0x11e368(0x13e)];let _0x1c9498;!this[_0x11e368(0x28f)][_0x11e368(0x13f)]&&!_0x1f09d6['_closeFrameReceived']&&!_0x1f09d6['_receiver']['_writableState'][_0x11e368(0x248)]&&(_0x1c9498=_0x1f09d6['_socket'][_0x11e368(0x1f4)]())!==null&&_0x1f09d6['_receiver'][_0x11e368(0x287)](_0x1c9498),_0x1f09d6['_receiver'][_0x11e368(0x2a6)](),this[_0x4c9fa8]=void 0x0,clearTimeout(_0x1f09d6[_0x11e368(0x1a1)]),_0x1f09d6['_receiver'][_0x11e368(0x241)]['finished']||_0x1f09d6['_receiver'][_0x11e368(0x241)][_0x11e368(0x248)]?_0x1f09d6[_0x11e368(0x290)]():(_0x1f09d6[_0x11e368(0x142)]['on']('error',_0x366ee4),_0x1f09d6[_0x11e368(0x142)]['on'](_0x11e368(0x2ef),_0x366ee4));}function _0x5a5a3a(_0x49d846){const _0x17cf59=_0x41a683;this[_0x4c9fa8]['_receiver'][_0x17cf59(0x287)](_0x49d846)||this[_0x17cf59(0x2e1)]();}function _0x48e51b(){const _0x723897=_0x41a683,_0x3c5d90=this[_0x4c9fa8];_0x3c5d90['_readyState']=_0xd145a1['CLOSING'],_0x3c5d90[_0x723897(0x142)][_0x723897(0x2a6)](),this[_0x723897(0x2a6)]();}function _0x4b183f(){const _0x147e6e=_0x41a683,_0x4409fd=this[_0x4c9fa8];this[_0x147e6e(0x147)]('error',_0x4b183f),this['on']('error',_0x1a3e43),_0x4409fd&&(_0x4409fd[_0x147e6e(0x2d6)]=_0xd145a1[_0x147e6e(0x13e)],this[_0x147e6e(0x2b9)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2330d5}=oe;function _0x4d543b(_0x1ab3f9){const _0x50ce6b=_0x2b44;_0x1ab3f9[_0x50ce6b(0x18e)](_0x50ce6b(0x27f));}function _0xb3150f(){const _0x3c51f9=_0x2b44;!this[_0x3c51f9(0x205)]&&this['_writableState'][_0x3c51f9(0x27b)]&&this[_0x3c51f9(0x2b9)]();}function _0xa734ff(_0x5e9179){const _0x407282=_0x2b44;this['removeListener']('error',_0xa734ff),this[_0x407282(0x2b9)](),this[_0x407282(0x149)](_0x407282(0x14f))===0x0&&this[_0x407282(0x18e)]('error',_0x5e9179);}function _0x47e291(_0x213825,_0x1d153d){const _0x38620e=_0x2b44;let _0x214b26=!0x0;const _0x57d9cb=new _0x2330d5({..._0x1d153d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x213825['on']('message',function(_0x1e2026,_0x13c126){const _0x52fd6f=_0x2b44,_0x2c4831=!_0x13c126&&_0x57d9cb['_readableState'][_0x52fd6f(0x297)]?_0x1e2026[_0x52fd6f(0x16b)]():_0x1e2026;_0x57d9cb[_0x52fd6f(0x1b4)](_0x2c4831)||_0x213825['pause']();}),_0x213825[_0x38620e(0x150)](_0x38620e(0x14f),function(_0x2bb7af){const _0xccab8e=_0x38620e;_0x57d9cb[_0xccab8e(0x205)]||(_0x214b26=!0x1,_0x57d9cb['destroy'](_0x2bb7af));}),_0x213825[_0x38620e(0x150)](_0x38620e(0x27f),function(){const _0x42750a=_0x38620e;_0x57d9cb[_0x42750a(0x205)]||_0x57d9cb['push'](null);}),_0x57d9cb[_0x38620e(0x211)]=function(_0x9a0d91,_0x5cbb73){const _0x1179b3=_0x38620e;if(_0x213825[_0x1179b3(0x20a)]===_0x213825[_0x1179b3(0x1d9)]){_0x5cbb73(_0x9a0d91),process[_0x1179b3(0x227)](_0x4d543b,_0x57d9cb);return;}let _0xdad0c0=!0x1;_0x213825[_0x1179b3(0x150)](_0x1179b3(0x14f),function(_0x1f9b8f){_0xdad0c0=!0x0,_0x5cbb73(_0x1f9b8f);}),_0x213825[_0x1179b3(0x150)](_0x1179b3(0x27f),function(){const _0x5c9cee=_0x1179b3;_0xdad0c0||_0x5cbb73(_0x9a0d91),process[_0x5c9cee(0x227)](_0x4d543b,_0x57d9cb);}),_0x214b26&&_0x213825[_0x1179b3(0x1cb)]();},_0x57d9cb['_final']=function(_0x3d36ed){const _0x32f8db=_0x38620e;if(_0x213825[_0x32f8db(0x20a)]===_0x213825[_0x32f8db(0x158)]){_0x213825['once'](_0x32f8db(0x228),function(){_0x57d9cb['_final'](_0x3d36ed);});return;}_0x213825[_0x32f8db(0x17d)]!==null&&(_0x213825['_socket'][_0x32f8db(0x241)][_0x32f8db(0x27b)]?(_0x3d36ed(),_0x57d9cb[_0x32f8db(0x28f)][_0x32f8db(0x13f)]&&_0x57d9cb[_0x32f8db(0x2b9)]()):(_0x213825[_0x32f8db(0x17d)][_0x32f8db(0x150)](_0x32f8db(0x2ef),function(){_0x3d36ed();}),_0x213825[_0x32f8db(0x27f)]()));},_0x57d9cb[_0x38620e(0x1b1)]=function(){const _0x596197=_0x38620e;_0x213825[_0x596197(0x25a)]&&_0x213825[_0x596197(0x2c4)]();},_0x57d9cb[_0x38620e(0x152)]=function(_0xcbc9cf,_0x47b0bb,_0xb9010){const _0x150f09=_0x38620e;if(_0x213825[_0x150f09(0x20a)]===_0x213825[_0x150f09(0x158)]){_0x213825[_0x150f09(0x150)](_0x150f09(0x228),function(){const _0xbb8f9d=_0x150f09;_0x57d9cb[_0xbb8f9d(0x152)](_0xcbc9cf,_0x47b0bb,_0xb9010);});return;}_0x213825[_0x150f09(0x276)](_0xcbc9cf,_0xb9010);},_0x57d9cb['on']('end',_0xb3150f),_0x57d9cb['on'](_0x38620e(0x14f),_0xa734ff),_0x57d9cb;}return Oe=_0x47e291,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1578d9}=ae();function _0x37dc63(_0x2007d8){const _0x2440c3=_0x2b44,_0x15d939=new Set();let _0x5d9b86=-0x1,_0x19f859=-0x1,_0x215516=0x0;for(_0x215516;_0x215516<_0x2007d8[_0x2440c3(0x2e8)];_0x215516++){const _0x213201=_0x2007d8[_0x2440c3(0x301)](_0x215516);if(_0x19f859===-0x1&&_0x1578d9[_0x213201]===0x1)_0x5d9b86===-0x1&&(_0x5d9b86=_0x215516);else{if(_0x215516!==0x0&&(_0x213201===0x20||_0x213201===0x9))_0x19f859===-0x1&&_0x5d9b86!==-0x1&&(_0x19f859=_0x215516);else{if(_0x213201===0x2c){if(_0x5d9b86===-0x1)throw new SyntaxError(_0x2440c3(0x1fd)+_0x215516);_0x19f859===-0x1&&(_0x19f859=_0x215516);const _0x3d7dbf=_0x2007d8[_0x2440c3(0x2d5)](_0x5d9b86,_0x19f859);if(_0x15d939[_0x2440c3(0x1ec)](_0x3d7dbf))throw new SyntaxError(_0x2440c3(0x27d)+_0x3d7dbf+_0x2440c3(0x28e));_0x15d939[_0x2440c3(0x274)](_0x3d7dbf),_0x5d9b86=_0x19f859=-0x1;}else throw new SyntaxError(_0x2440c3(0x1fd)+_0x215516);}}}if(_0x5d9b86===-0x1||_0x19f859!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0xb9540e=_0x2007d8[_0x2440c3(0x2d5)](_0x5d9b86,_0x215516);if(_0x15d939[_0x2440c3(0x1ec)](_0xb9540e))throw new SyntaxError(_0x2440c3(0x27d)+_0xb9540e+_0x2440c3(0x28e));return _0x15d939[_0x2440c3(0x274)](_0xb9540e),_0x15d939;}return Ce={'parse':_0x37dc63},Ce;}var Te,rt;function Ft(){const _0x4ee767=_0x5c7585;if(rt)return Te;rt=0x1;const _0x57efa6=nt,_0x1036f9=ot,{Duplex:_0x50c4fa}=oe,{createHash:_0x47b694}=Le,_0x48c246=ct(),_0x1b0500=he(),_0x2b4183=At(),_0x9ca8c6=Pe(),{GUID:_0x61023,kWebSocket:_0x5d5877}=H(),_0x4996d8=/^[+/0-9A-Za-z]{22}==$/,_0x5909c9=0x0,_0x2b1531=0x1,_0x370b5b=0x2;class _0x59bbb2 extends _0x57efa6{constructor(_0x52359c,_0x55f6ff){const _0x2b832b=_0x2b44;if(super(),_0x52359c={'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':_0x9ca8c6,..._0x52359c},_0x52359c[_0x2b832b(0x1c5)]==null&&!_0x52359c['server']&&!_0x52359c[_0x2b832b(0x2eb)]||_0x52359c[_0x2b832b(0x1c5)]!=null&&(_0x52359c[_0x2b832b(0x242)]||_0x52359c[_0x2b832b(0x2eb)])||_0x52359c[_0x2b832b(0x242)]&&_0x52359c[_0x2b832b(0x2eb)])throw new TypeError(_0x2b832b(0x1a5));if(_0x52359c[_0x2b832b(0x1c5)]!=null?(this[_0x2b832b(0x1cf)]=_0x1036f9[_0x2b832b(0x15f)]((_0x2c25d0,_0x2bfe1b)=>{const _0x4cbc18=_0x2b832b,_0x4c0685=_0x1036f9[_0x4cbc18(0x188)][0x1aa];_0x2bfe1b['writeHead'](0x1aa,{'Content-Length':_0x4c0685[_0x4cbc18(0x2e8)],'Content-Type':_0x4cbc18(0x1b3)}),_0x2bfe1b['end'](_0x4c0685);}),this['_server'][_0x2b832b(0x18c)](_0x52359c[_0x2b832b(0x1c5)],_0x52359c['host'],_0x52359c[_0x2b832b(0x212)],_0x55f6ff)):_0x52359c[_0x2b832b(0x242)]&&(this[_0x2b832b(0x1cf)]=_0x52359c[_0x2b832b(0x242)]),this[_0x2b832b(0x1cf)]){const _0x582915=this[_0x2b832b(0x18e)]['bind'](this,'connection');this[_0x2b832b(0x2c0)]=_0x31e104(this['_server'],{'listening':this[_0x2b832b(0x18e)][_0x2b832b(0x21c)](this,'listening'),'error':this[_0x2b832b(0x18e)]['bind'](this,_0x2b832b(0x14f)),'upgrade':(_0xf38b0d,_0x475e38,_0x552cd7)=>{this['handleUpgrade'](_0xf38b0d,_0x475e38,_0x552cd7,_0x582915);}});}_0x52359c[_0x2b832b(0x1f7)]===!0x0&&(_0x52359c[_0x2b832b(0x1f7)]={}),_0x52359c[_0x2b832b(0x1a2)]&&(this[_0x2b832b(0x169)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x2b832b(0x2a8)]=_0x52359c,this[_0x2b832b(0x27a)]=_0x5909c9;}[_0x4ee767(0x173)](){const _0x4a1894=_0x4ee767;if(this[_0x4a1894(0x2a8)][_0x4a1894(0x2eb)])throw new Error(_0x4a1894(0x267));return this[_0x4a1894(0x1cf)]?this[_0x4a1894(0x1cf)][_0x4a1894(0x173)]():null;}['close'](_0x43a8a3){const _0x3408f8=_0x4ee767;if(this[_0x3408f8(0x27a)]===_0x370b5b){_0x43a8a3&&this[_0x3408f8(0x150)](_0x3408f8(0x27f),()=>{_0x43a8a3(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3408f8(0x227)](_0x4e7504,this);return;}if(_0x43a8a3&&this[_0x3408f8(0x150)]('close',_0x43a8a3),this['_state']!==_0x2b1531){if(this[_0x3408f8(0x27a)]=_0x2b1531,this[_0x3408f8(0x2a8)]['noServer']||this['options']['server'])this[_0x3408f8(0x1cf)]&&(this[_0x3408f8(0x2c0)](),this[_0x3408f8(0x2c0)]=this['_server']=null),this[_0x3408f8(0x169)]?this['clients'][_0x3408f8(0x2d7)]?this[_0x3408f8(0x185)]=!0x0:process[_0x3408f8(0x227)](_0x4e7504,this):process[_0x3408f8(0x227)](_0x4e7504,this);else{const _0x3d4ae3=this[_0x3408f8(0x1cf)];this[_0x3408f8(0x2c0)](),this[_0x3408f8(0x2c0)]=this['_server']=null,_0x3d4ae3['close'](()=>{_0x4e7504(this);});}}}[_0x4ee767(0x288)](_0x4de615){const _0x4c6741=_0x4ee767;if(this['options'][_0x4c6741(0x304)]){const _0x5335ec=_0x4de615[_0x4c6741(0x2b8)][_0x4c6741(0x2fe)]('?');if((_0x5335ec!==-0x1?_0x4de615['url'][_0x4c6741(0x2d5)](0x0,_0x5335ec):_0x4de615[_0x4c6741(0x2b8)])!==this['options'][_0x4c6741(0x304)])return!0x1;}return!0x0;}[_0x4ee767(0x1ab)](_0x594ce1,_0x231b32,_0x340515,_0x1e67e2){const _0x6c3d61=_0x4ee767;_0x231b32['on'](_0x6c3d61(0x14f),_0x2059e9);const _0xaea51c=_0x594ce1[_0x6c3d61(0x2e3)][_0x6c3d61(0x190)],_0x4dea53=_0x594ce1[_0x6c3d61(0x2e3)][_0x6c3d61(0x153)],_0xc9b2da=+_0x594ce1[_0x6c3d61(0x2e3)][_0x6c3d61(0x1db)];if(_0x594ce1[_0x6c3d61(0x2bb)]!==_0x6c3d61(0x2f7)){_0x1d94c5(this,_0x594ce1,_0x231b32,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4dea53===void 0x0||_0x4dea53['toLowerCase']()!==_0x6c3d61(0x232)){_0x1d94c5(this,_0x594ce1,_0x231b32,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xaea51c===void 0x0||!_0x4996d8[_0x6c3d61(0x2ad)](_0xaea51c)){_0x1d94c5(this,_0x594ce1,_0x231b32,0x190,_0x6c3d61(0x1ae));return;}if(_0xc9b2da!==0xd&&_0xc9b2da!==0x8){_0x1d94c5(this,_0x594ce1,_0x231b32,0x190,_0x6c3d61(0x216),{'Sec-WebSocket-Version':_0x6c3d61(0x1d7)});return;}if(!this[_0x6c3d61(0x288)](_0x594ce1)){_0x2ebd0c(_0x231b32,0x190);return;}const _0x5a70bd=_0x594ce1['headers'][_0x6c3d61(0x1c3)];let _0x3c3878=new Set();if(_0x5a70bd!==void 0x0)try{_0x3c3878=_0x2b4183[_0x6c3d61(0x1fc)](_0x5a70bd);}catch{_0x1d94c5(this,_0x594ce1,_0x231b32,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x326650=_0x594ce1[_0x6c3d61(0x2e3)]['sec-websocket-extensions'],_0x39a21c={};if(this[_0x6c3d61(0x2a8)][_0x6c3d61(0x1f7)]&&_0x326650!==void 0x0){const _0x3678dc=new _0x1b0500(this[_0x6c3d61(0x2a8)]['perMessageDeflate'],!0x0,this[_0x6c3d61(0x2a8)][_0x6c3d61(0x250)]);try{const _0x1ae2b1=_0x48c246['parse'](_0x326650);_0x1ae2b1[_0x1b0500[_0x6c3d61(0x19b)]]&&(_0x3678dc['accept'](_0x1ae2b1[_0x1b0500[_0x6c3d61(0x19b)]]),_0x39a21c[_0x1b0500[_0x6c3d61(0x19b)]]=_0x3678dc);}catch{_0x1d94c5(this,_0x594ce1,_0x231b32,0x190,_0x6c3d61(0x308));return;}}if(this[_0x6c3d61(0x2a8)][_0x6c3d61(0x1af)]){const _0x22137a={'origin':_0x594ce1[_0x6c3d61(0x2e3)][''+(_0xc9b2da===0x8?_0x6c3d61(0x2dc):_0x6c3d61(0x1fb))],'secure':!!(_0x594ce1[_0x6c3d61(0x25e)][_0x6c3d61(0x1e9)]||_0x594ce1['socket']['encrypted']),'req':_0x594ce1};if(this[_0x6c3d61(0x2a8)]['verifyClient'][_0x6c3d61(0x2e8)]===0x2){this[_0x6c3d61(0x2a8)][_0x6c3d61(0x1af)](_0x22137a,(_0x2d2268,_0x12bb04,_0x3bbf1d,_0x3d2a00)=>{const _0x381df7=_0x6c3d61;if(!_0x2d2268)return _0x2ebd0c(_0x231b32,_0x12bb04||0x191,_0x3bbf1d,_0x3d2a00);this[_0x381df7(0x2f8)](_0x39a21c,_0xaea51c,_0x3c3878,_0x594ce1,_0x231b32,_0x340515,_0x1e67e2);});return;}if(!this[_0x6c3d61(0x2a8)][_0x6c3d61(0x1af)](_0x22137a))return _0x2ebd0c(_0x231b32,0x191);}this['completeUpgrade'](_0x39a21c,_0xaea51c,_0x3c3878,_0x594ce1,_0x231b32,_0x340515,_0x1e67e2);}['completeUpgrade'](_0x561405,_0x1cdbf5,_0x5aadb9,_0x5891a4,_0x4a5a62,_0x11589a,_0x4549f4){const _0x1ef7c7=_0x4ee767;if(!_0x4a5a62[_0x1ef7c7(0x1bf)]||!_0x4a5a62[_0x1ef7c7(0x170)])return _0x4a5a62['destroy']();if(_0x4a5a62[_0x5d5877])throw new Error(_0x1ef7c7(0x2c3));if(this['_state']>_0x5909c9)return _0x2ebd0c(_0x4a5a62,0x1f7);const _0x3602e2=[_0x1ef7c7(0x187),_0x1ef7c7(0x238),_0x1ef7c7(0x2b3),_0x1ef7c7(0x2a7)+_0x47b694(_0x1ef7c7(0x24c))[_0x1ef7c7(0x154)](_0x1cdbf5+_0x61023)[_0x1ef7c7(0x221)](_0x1ef7c7(0x1dd))],_0x5a5fc7=new this[(_0x1ef7c7(0x2a8))][(_0x1ef7c7(0x280))](null,void 0x0,this[_0x1ef7c7(0x2a8)]);if(_0x5aadb9[_0x1ef7c7(0x2d7)]){const _0x583039=this[_0x1ef7c7(0x2a8)][_0x1ef7c7(0x1b2)]?this[_0x1ef7c7(0x2a8)][_0x1ef7c7(0x1b2)](_0x5aadb9,_0x5891a4):_0x5aadb9[_0x1ef7c7(0x183)]()[_0x1ef7c7(0x146)]()[_0x1ef7c7(0x1a9)];_0x583039&&(_0x3602e2[_0x1ef7c7(0x1b4)](_0x1ef7c7(0x1a0)+_0x583039),_0x5a5fc7[_0x1ef7c7(0x302)]=_0x583039);}if(_0x561405[_0x1b0500[_0x1ef7c7(0x19b)]]){const _0x1f3341=_0x561405[_0x1b0500[_0x1ef7c7(0x19b)]]['params'],_0x4f96ac=_0x48c246['format']({[_0x1b0500[_0x1ef7c7(0x19b)]]:[_0x1f3341]});_0x3602e2[_0x1ef7c7(0x1b4)](_0x1ef7c7(0x1a7)+_0x4f96ac),_0x5a5fc7[_0x1ef7c7(0x273)]=_0x561405;}this[_0x1ef7c7(0x18e)](_0x1ef7c7(0x2e3),_0x3602e2,_0x5891a4),_0x4a5a62[_0x1ef7c7(0x287)](_0x3602e2['concat']('\x0d\x0a')[_0x1ef7c7(0x2b4)]('\x0d\x0a')),_0x4a5a62[_0x1ef7c7(0x147)](_0x1ef7c7(0x14f),_0x2059e9),_0x5a5fc7[_0x1ef7c7(0x29c)](_0x4a5a62,_0x11589a,{'allowSynchronousEvents':this[_0x1ef7c7(0x2a8)][_0x1ef7c7(0x1ad)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x1ef7c7(0x169)]&&(this['clients'][_0x1ef7c7(0x274)](_0x5a5fc7),_0x5a5fc7['on'](_0x1ef7c7(0x27f),()=>{const _0x534158=_0x1ef7c7;this['clients'][_0x534158(0x1ce)](_0x5a5fc7),this[_0x534158(0x185)]&&!this[_0x534158(0x169)]['size']&&process[_0x534158(0x227)](_0x4e7504,this);})),_0x4549f4(_0x5a5fc7,_0x5891a4);}}Te=_0x59bbb2;function _0x31e104(_0x5d7bab,_0x2b606e){const _0xf0d839=_0x4ee767;for(const _0x4f7e41 of Object[_0xf0d839(0x16a)](_0x2b606e))_0x5d7bab['on'](_0x4f7e41,_0x2b606e[_0x4f7e41]);return function(){const _0xf68013=_0xf0d839;for(const _0x5c35e0 of Object['keys'](_0x2b606e))_0x5d7bab[_0xf68013(0x147)](_0x5c35e0,_0x2b606e[_0x5c35e0]);};}function _0x4e7504(_0x145aed){const _0x1e9463=_0x4ee767;_0x145aed[_0x1e9463(0x27a)]=_0x370b5b,_0x145aed[_0x1e9463(0x18e)](_0x1e9463(0x27f));}function _0x2059e9(){this['destroy']();}function _0x2ebd0c(_0x588749,_0x3d016a,_0x589fcc,_0x3ca064){const _0x19cfe3=_0x4ee767;_0x589fcc=_0x589fcc||_0x1036f9[_0x19cfe3(0x188)][_0x3d016a],_0x3ca064={'Connection':'close','Content-Type':_0x19cfe3(0x251),'Content-Length':Buffer[_0x19cfe3(0x22f)](_0x589fcc),..._0x3ca064},_0x588749[_0x19cfe3(0x150)](_0x19cfe3(0x2ef),_0x588749[_0x19cfe3(0x2b9)]),_0x588749['end']('HTTP/1.1\x20'+_0x3d016a+'\x20'+_0x1036f9[_0x19cfe3(0x188)][_0x3d016a]+'\x0d\x0a'+Object['keys'](_0x3ca064)[_0x19cfe3(0x23f)](_0x3d1b7b=>_0x3d1b7b+':\x20'+_0x3ca064[_0x3d1b7b])['join']('\x0d\x0a')+_0x19cfe3(0x246)+_0x589fcc);}function _0x1d94c5(_0x43a6ba,_0x2960d1,_0x3ed29b,_0x40cacd,_0x52579a,_0x5bfdbe){const _0x1100b8=_0x4ee767;if(_0x43a6ba[_0x1100b8(0x149)](_0x1100b8(0x2cf))){const _0x23b63a=new Error(_0x52579a);Error[_0x1100b8(0x26d)](_0x23b63a,_0x1d94c5),_0x43a6ba[_0x1100b8(0x18e)](_0x1100b8(0x2cf),_0x23b63a,_0x3ed29b,_0x2960d1);}else _0x2ebd0c(_0x3ed29b,_0x40cacd,_0x52579a,_0x5bfdbe);}return Te;}Ft();var jt=Object[_0x5c7585(0x278)],Wt=(_0x27e56e,_0x33aca5,_0x734be,_0x3d5a8f)=>{for(var _0xb09976=_0x3d5a8f>0x1?void 0x0:_0x3d5a8f?jt(_0x33aca5,_0x734be):_0x33aca5,_0x369f73=_0x27e56e['length']-0x1,_0x2f5c9a;_0x369f73>=0x0;_0x369f73--)(_0x2f5c9a=_0x27e56e[_0x369f73])&&(_0xb09976=_0x2f5c9a(_0xb09976)||_0xb09976);return _0xb09976;},qt=(_0x1dbbd9,_0x4bac41)=>(_0x4350f6,_0x4c9484)=>_0x4bac41(_0x4350f6,_0x4c9484,_0x1dbbd9);let ke=class extends A[_0x5c7585(0x279)]{constructor(_0x2d70c8){const _0x4e8a80=_0x5c7585;super(),this[_0x4e8a80(0x298)]=_0x2d70c8;}['createSocket'](_0x56059b){const _0xd76503=_0x5c7585;var _0x2031bc;const _0x1b5fbf=(_0x2031bc=this[_0xd76503(0x298)]['getConfig'](fe))==null?void 0x0:_0x2031bc['customHeaders'];try{const _0x45b9d5=new $t(_0x56059b,{'headers':{..._0x1b5fbf}}),_0x335e9c=new A[(_0xd76503(0x151))]();return{'URL':_0x56059b,'close':(_0x2b9106,_0x5c64f9)=>{const _0x2b8044=_0xd76503;_0x45b9d5['close'](_0x2b9106,_0x5c64f9),_0x335e9c[_0x2b8044(0x24b)]();},'send':_0x46ab33=>{_0x45b9d5['send'](_0x46ab33);},'open$':new V[(_0xd76503(0x289))](_0xee58e3=>{const _0x83de07=_0xd76503,_0x191567=_0x10f877=>_0xee58e3[_0x83de07(0x146)](_0x10f877);_0x45b9d5[_0x83de07(0x28d)](_0x83de07(0x228),_0x191567),_0x335e9c[_0x83de07(0x274)](A[_0x83de07(0x177)](()=>_0x45b9d5['removeEventListener']('open',_0x191567)));})[_0xd76503(0x198)](V['share']()),'close$':new V[(_0xd76503(0x289))](_0x2a4de1=>{const _0x87ac8b=_0xd76503,_0x352652=_0x419106=>_0x2a4de1[_0x87ac8b(0x146)](_0x419106);_0x45b9d5[_0x87ac8b(0x28d)](_0x87ac8b(0x27f),_0x352652),_0x335e9c[_0x87ac8b(0x274)](A['toDisposable'](()=>_0x45b9d5[_0x87ac8b(0x2f4)]('close',_0x352652)));})['pipe'](V[_0xd76503(0x141)]()),'error$':new V[(_0xd76503(0x289))](_0x3d8ecb=>{const _0x2f3599=_0xd76503,_0xac21e=_0x5a9e16=>_0x3d8ecb[_0x2f3599(0x146)](_0x5a9e16);_0x45b9d5[_0x2f3599(0x28d)](_0x2f3599(0x14f),_0xac21e),_0x335e9c[_0x2f3599(0x274)](A[_0x2f3599(0x177)](()=>_0x45b9d5['removeEventListener'](_0x2f3599(0x14f),_0xac21e)));})[_0xd76503(0x198)](V[_0xd76503(0x141)]()),'message$':new V[(_0xd76503(0x289))](_0x5d1719=>{const _0x3533e7=_0xd76503,_0x4b7290=_0x44f890=>_0x5d1719[_0x3533e7(0x146)](_0x44f890);_0x45b9d5[_0x3533e7(0x28d)](_0x3533e7(0x189),_0x4b7290),_0x335e9c[_0x3533e7(0x274)](A['toDisposable'](()=>_0x45b9d5[_0x3533e7(0x2f4)](_0x3533e7(0x189),_0x4b7290)));})[_0xd76503(0x198)](V[_0xd76503(0x141)]())};}catch(_0x21f203){return console[_0xd76503(0x14f)](_0x21f203),null;}}};ke=Wt([qt(0x0,A[_0x5c7585(0x1a6)])],ke);var Gt=Object[_0x5c7585(0x18f)],Vt=Object[_0x5c7585(0x278)],Ht=(_0x32bc62,_0x5c3c6d,_0x46661f)=>_0x5c3c6d in _0x32bc62?Gt(_0x32bc62,_0x5c3c6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46661f}):_0x32bc62[_0x5c3c6d]=_0x46661f,zt=(_0x4284e3,_0x2a6e20,_0x56a248,_0x472e73)=>{const _0x50a645=_0x5c7585;for(var _0x41fdbb=_0x472e73>0x1?void 0x0:_0x472e73?Vt(_0x2a6e20,_0x56a248):_0x2a6e20,_0x5763f2=_0x4284e3[_0x50a645(0x2e8)]-0x1,_0x1c59ee;_0x5763f2>=0x0;_0x5763f2--)(_0x1c59ee=_0x4284e3[_0x5763f2])&&(_0x41fdbb=_0x1c59ee(_0x41fdbb)||_0x41fdbb);return _0x41fdbb;},Ne=(_0x5006fb,_0x2158af)=>(_0x4ee228,_0x53395c)=>_0x2158af(_0x4ee228,_0x53395c,_0x5006fb),Yt=(_0x5ef977,_0x5755f4,_0x230e9b)=>Ht(_0x5ef977,_0x5755f4+'',_0x230e9b);exports[_0x5c7585(0x233)]=class extends A[_0x5c7585(0x1bc)]{constructor(_0x11f430=Ct,_0x2971d8,_0x35dfd9,_0x170302){const _0x1d074b=_0x5c7585;_0x11f430[_0x1d074b(0x293)]||_0x2971d8[_0x1d074b(0x1de)](_0x1d074b(0x26a)),super(),this[_0x1d074b(0x298)]=_0x35dfd9,this['_injector']=_0x170302,this[_0x1d074b(0x298)][_0x1d074b(0x18d)](fe,_0x11f430);}['onStarting'](){const _0x5a2e55=_0x5c7585;this[_0x5a2e55(0x1fa)]();}['_registerDependencies'](){const _0x3b1dda=_0x5c7585;A[_0x3b1dda(0x263)](this[_0x3b1dda(0x22c)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5c7585(0x233)],'pluginName',_0x5c7585(0x1ff)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x5c7585(0x159)](st[_0x5c7585(0x1a4)]),Ne(0x1,A[_0x5c7585(0x2f0)]),Ne(0x2,A[_0x5c7585(0x1a6)]),Ne(0x3,A['Inject'](A[_0x5c7585(0x156)]))],exports[_0x5c7585(0x233)]);var Kt=Object[_0x5c7585(0x278)],Xt=(_0x26b1c1,_0x4a6b43,_0x4391f4,_0x4e47cb)=>{for(var _0x390708=_0x4e47cb>0x1?void 0x0:_0x4e47cb?Kt(_0x4a6b43,_0x4391f4):_0x4a6b43,_0x4faa41=_0x26b1c1['length']-0x1,_0x25e1b4;_0x4faa41>=0x0;_0x4faa41--)(_0x25e1b4=_0x26b1c1[_0x4faa41])&&(_0x390708=_0x25e1b4(_0x390708)||_0x390708);return _0x390708;},ne=(_0x19d89e,_0x5011fe)=>(_0x5bdad0,_0x21fb86)=>_0x5011fe(_0x5bdad0,_0x21fb86,_0x19d89e);exports[_0x5c7585(0x2fd)]=class extends st[_0x5c7585(0x206)]{constructor(_0xb70e04,_0x40c008,_0x5b3448,_0x239678,_0x184293){const _0x4959e1=_0x5c7585;super(_0xb70e04,_0x40c008,_0x5b3448,_0x239678,_0x184293);const _0x509aa2=this[_0x4959e1(0x298)][_0x4959e1(0x2f9)](fe);this[_0x4959e1(0x14a)][_0x4959e1(0x201)]({'interceptor':(_0x2e4f4e,_0x25913f)=>{const _0x50eb4a=_0x4959e1;var _0x3fcb96;const _0x97ac7b=_0x2e4f4e[_0x50eb4a(0x2e3)];return(_0x3fcb96=_0x509aa2==null?void 0x0:_0x509aa2[_0x50eb4a(0x293)])!=null&&_0x3fcb96['cookie']&&_0x97ac7b[_0x50eb4a(0x2db)](_0x50eb4a(0x20f),_0x509aa2['customHeaders']['cookie']),_0x25913f(_0x2e4f4e);}});}async['createSocket'](_0xd90bba){const _0x430341=_0x5c7585;return this[_0x430341(0x2bf)](_0xd90bba);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x5c7585(0x1ac)](A[_0x5c7585(0x156)])),ne(0x1,A[_0x5c7585(0x1ac)](it[_0x5c7585(0x2c7)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x5c7585(0x2f0)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x5c7585(0x2fd)]),exports[_0x5c7585(0x245)]=fe;
1
+ 'use strict';const _0x2b16e5=_0x2d0b;(function(_0x33ae4c,_0x105f39){const _0x27e8cd=_0x2d0b,_0xefcd26=_0x33ae4c();while(!![]){try{const _0x3bf5c4=-parseInt(_0x27e8cd(0x2d6))/0x1+-parseInt(_0x27e8cd(0x24e))/0x2*(-parseInt(_0x27e8cd(0x251))/0x3)+parseInt(_0x27e8cd(0x368))/0x4+-parseInt(_0x27e8cd(0x2ff))/0x5*(-parseInt(_0x27e8cd(0x294))/0x6)+-parseInt(_0x27e8cd(0x23a))/0x7+parseInt(_0x27e8cd(0x350))/0x8+-parseInt(_0x27e8cd(0x334))/0x9;if(_0x3bf5c4===_0x105f39)break;else _0xefcd26['push'](_0xefcd26['shift']());}catch(_0x1018a0){_0xefcd26['push'](_0xefcd26['shift']());}}}(_0x186f,0x30f4e));Object[_0x2b16e5(0x2a5)](exports,Symbol[_0x2b16e5(0x2d7)],{'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=_0x2b16e5(0x1c1),Ct={'customHeaders':{}};function Tt(_0x3a4b75){const _0x2d2899=_0x2b16e5;return _0x3a4b75&&_0x3a4b75[_0x2d2899(0x360)]&&Object[_0x2d2899(0x1dd)][_0x2d2899(0x2b5)]['call'](_0x3a4b75,_0x2d2899(0x1d6))?_0x3a4b75[_0x2d2899(0x1d6)]:_0x3a4b75;}function at(_0x44b157){const _0x33ded3=_0x2b16e5;if(Object[_0x33ded3(0x1dd)][_0x33ded3(0x2b5)][_0x33ded3(0x246)](_0x44b157,_0x33ded3(0x360)))return _0x44b157;var _0x8a81f5=_0x44b157[_0x33ded3(0x1d6)];if(typeof _0x8a81f5=='function'){var _0x1fb19c=function _0x217b5e(){const _0x30a38f=_0x33ded3;var _0x4456b6=!0x1;try{_0x4456b6=this instanceof _0x217b5e;}catch{}return _0x4456b6?Reflect['construct'](_0x8a81f5,arguments,this[_0x30a38f(0x214)]):_0x8a81f5[_0x30a38f(0x237)](this,arguments);};_0x1fb19c[_0x33ded3(0x1dd)]=_0x8a81f5[_0x33ded3(0x1dd)];}else _0x1fb19c={};return Object['defineProperty'](_0x1fb19c,_0x33ded3(0x360),{'value':!0x0}),Object[_0x33ded3(0x379)](_0x44b157)[_0x33ded3(0x35a)](function(_0xb881cd){const _0x16adf9=_0x33ded3;var _0x5b391e=Object[_0x16adf9(0x325)](_0x44b157,_0xb881cd);Object[_0x16adf9(0x2a5)](_0x1fb19c,_0xb881cd,_0x5b391e[_0x16adf9(0x271)]?_0x5b391e:{'enumerable':!0x0,'get':function(){return _0x44b157[_0xb881cd];}});}),_0x1fb19c;}var se={'exports':{}},ge,Ge;function H(){const _0x8457f3=_0x2b16e5;if(Ge)return ge;Ge=0x1;const _0x1c7bbe=[_0x8457f3(0x1e5),_0x8457f3(0x1e2),_0x8457f3(0x373)],_0x50e38a=typeof Blob<'u';return _0x50e38a&&_0x1c7bbe[_0x8457f3(0x367)](_0x8457f3(0x2e7)),ge={'BINARY_TYPES':_0x1c7bbe,'EMPTY_BUFFER':Buffer[_0x8457f3(0x24d)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x50e38a,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x8457f3(0x249)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2b16e5(0x1bd)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x2b16e5(0x2d7)],{'value':_0x2b16e5(0x2d2)})),Lt=at(kt);var Ve;function ce(){const _0x511815=_0x2b16e5;if(Ve)return se[_0x511815(0x2dd)];Ve=0x1;const {EMPTY_BUFFER:_0x2025a0}=H(),_0x9cfee4=Buffer[Symbol[_0x511815(0x31b)]];function _0x4d081c(_0x2e3c62,_0x1fbff2){const _0x137f18=_0x511815;if(_0x2e3c62[_0x137f18(0x32a)]===0x0)return _0x2025a0;if(_0x2e3c62['length']===0x1)return _0x2e3c62[0x0];const _0x53dfc2=Buffer[_0x137f18(0x31a)](_0x1fbff2);let _0xbac91e=0x0;for(let _0x5f5b48=0x0;_0x5f5b48<_0x2e3c62[_0x137f18(0x32a)];_0x5f5b48++){const _0x475751=_0x2e3c62[_0x5f5b48];_0x53dfc2['set'](_0x475751,_0xbac91e),_0xbac91e+=_0x475751[_0x137f18(0x32a)];}return _0xbac91e<_0x1fbff2?new _0x9cfee4(_0x53dfc2[_0x137f18(0x1ba)],_0x53dfc2[_0x137f18(0x353)],_0xbac91e):_0x53dfc2;}function _0xaa5700(_0x5a4703,_0x24e039,_0x1b7129,_0x156e9a,_0x476b58){for(let _0x4fab65=0x0;_0x4fab65<_0x476b58;_0x4fab65++)_0x1b7129[_0x156e9a+_0x4fab65]=_0x5a4703[_0x4fab65]^_0x24e039[_0x4fab65&0x3];}function _0x2e1b6e(_0x55747f,_0xfcb2){const _0x455c67=_0x511815;for(let _0x3d0958=0x0;_0x3d0958<_0x55747f[_0x455c67(0x32a)];_0x3d0958++)_0x55747f[_0x3d0958]^=_0xfcb2[_0x3d0958&0x3];}function _0x28d29a(_0x1aa44e){const _0x144bb0=_0x511815;return _0x1aa44e[_0x144bb0(0x32a)]===_0x1aa44e['buffer'][_0x144bb0(0x258)]?_0x1aa44e[_0x144bb0(0x1ba)]:_0x1aa44e['buffer'][_0x144bb0(0x348)](_0x1aa44e[_0x144bb0(0x353)],_0x1aa44e[_0x144bb0(0x353)]+_0x1aa44e[_0x144bb0(0x32a)]);}function _0x4f4b69(_0xd81795){const _0x3dd967=_0x511815;if(_0x4f4b69[_0x3dd967(0x2fa)]=!0x0,Buffer['isBuffer'](_0xd81795))return _0xd81795;let _0x34333f;return _0xd81795 instanceof ArrayBuffer?_0x34333f=new _0x9cfee4(_0xd81795):ArrayBuffer[_0x3dd967(0x205)](_0xd81795)?_0x34333f=new _0x9cfee4(_0xd81795[_0x3dd967(0x1ba)],_0xd81795[_0x3dd967(0x353)],_0xd81795[_0x3dd967(0x258)]):(_0x34333f=Buffer[_0x3dd967(0x2f0)](_0xd81795),_0x4f4b69['readOnly']=!0x1),_0x34333f;}if(se[_0x511815(0x2dd)]={'concat':_0x4d081c,'mask':_0xaa5700,'toArrayBuffer':_0x28d29a,'toBuffer':_0x4f4b69,'unmask':_0x2e1b6e},!process[_0x511815(0x1d5)][_0x511815(0x285)])try{const _0x42782f=Lt;se[_0x511815(0x2dd)][_0x511815(0x218)]=function(_0x51d271,_0x1465aa,_0x4dd910,_0x119c34,_0x3e97b6){const _0x1b3fc1=_0x511815;_0x3e97b6<0x30?_0xaa5700(_0x51d271,_0x1465aa,_0x4dd910,_0x119c34,_0x3e97b6):_0x42782f[_0x1b3fc1(0x218)](_0x51d271,_0x1465aa,_0x4dd910,_0x119c34,_0x3e97b6);},se[_0x511815(0x2dd)][_0x511815(0x35e)]=function(_0x52db0e,_0x14e845){const _0x42cc62=_0x511815;_0x52db0e['length']<0x20?_0x2e1b6e(_0x52db0e,_0x14e845):_0x42782f[_0x42cc62(0x35e)](_0x52db0e,_0x14e845);};}catch{}return se[_0x511815(0x2dd)];}var ye,He;function _0x2d0b(_0xd6ac6a,_0x13f41d){const _0x186fb4=_0x186f();return _0x2d0b=function(_0x2d0b95,_0x2aebb6){_0x2d0b95=_0x2d0b95-0x1b9;let _0x14dc0c=_0x186fb4[_0x2d0b95];return _0x14dc0c;},_0x2d0b(_0xd6ac6a,_0x13f41d);}function Pt(){const _0x249704=_0x2b16e5;if(He)return ye;He=0x1;const _0xdb7fa7=Symbol(_0x249704(0x33b)),_0x5b91e9=Symbol(_0x249704(0x2d9));class _0x228efe{constructor(_0x309d8b){const _0x10279e=_0x249704;this[_0xdb7fa7]=()=>{this['pending']--,this[_0x5b91e9]();},this[_0x10279e(0x292)]=_0x309d8b||0x1/0x0,this[_0x10279e(0x2e6)]=[],this['pending']=0x0;}[_0x249704(0x1c9)](_0x1cfc4c){const _0x4d34cc=_0x249704;this['jobs'][_0x4d34cc(0x367)](_0x1cfc4c),this[_0x5b91e9]();}[_0x5b91e9](){const _0x270bd2=_0x249704;if(this[_0x270bd2(0x1fe)]!==this['concurrency']&&this[_0x270bd2(0x2e6)][_0x270bd2(0x32a)]){const _0x41dd34=this[_0x270bd2(0x2e6)][_0x270bd2(0x1d9)]();this[_0x270bd2(0x1fe)]++,_0x41dd34(this[_0xdb7fa7]);}}}return ye=_0x228efe,ye;}var ve,ze;function he(){const _0x18df0b=_0x2b16e5;if(ze)return ve;ze=0x1;const _0x1379eb=bt,_0x16e725=ce(),_0x2fc954=Pt(),{kStatusCode:_0x39ee4b}=H(),_0x36baa7=Buffer[Symbol[_0x18df0b(0x31b)]],_0x346d58=Buffer[_0x18df0b(0x2f0)]([0x0,0x0,0xff,0xff]),_0x337531=Symbol(_0x18df0b(0x2cb)),_0x3d7b48=Symbol(_0x18df0b(0x2e8)),_0x522d23=Symbol('callback'),_0x4d4b88=Symbol(_0x18df0b(0x1e7)),_0x3bbe4d=Symbol('error');let _0x29d4cf;class _0x112ac6{constructor(_0x24599a,_0x12eed7,_0x5a4f95){const _0x20ec04=_0x18df0b;if(this[_0x20ec04(0x2df)]=_0x5a4f95|0x0,this[_0x20ec04(0x260)]=_0x24599a||{},this[_0x20ec04(0x1f0)]=this['_options'][_0x20ec04(0x2c1)]!==void 0x0?this[_0x20ec04(0x260)]['threshold']:0x400,this[_0x20ec04(0x212)]=!!_0x12eed7,this[_0x20ec04(0x259)]=null,this[_0x20ec04(0x28d)]=null,this[_0x20ec04(0x2a1)]=null,!_0x29d4cf){const _0x25a8c9=this['_options'][_0x20ec04(0x207)]!==void 0x0?this['_options'][_0x20ec04(0x207)]:0xa;_0x29d4cf=new _0x2fc954(_0x25a8c9);}}static get[_0x18df0b(0x239)](){const _0x25ab6e=_0x18df0b;return _0x25ab6e(0x2cb);}[_0x18df0b(0x344)](){const _0x61fa0f=_0x18df0b,_0x4d95cd={};return this[_0x61fa0f(0x260)][_0x61fa0f(0x1cc)]&&(_0x4d95cd[_0x61fa0f(0x2ea)]=!0x0),this[_0x61fa0f(0x260)][_0x61fa0f(0x34e)]&&(_0x4d95cd['client_no_context_takeover']=!0x0),this['_options'][_0x61fa0f(0x24b)]&&(_0x4d95cd['server_max_window_bits']=this[_0x61fa0f(0x260)][_0x61fa0f(0x24b)]),this[_0x61fa0f(0x260)][_0x61fa0f(0x1cb)]?_0x4d95cd[_0x61fa0f(0x2f3)]=this[_0x61fa0f(0x260)][_0x61fa0f(0x1cb)]:this[_0x61fa0f(0x260)]['clientMaxWindowBits']==null&&(_0x4d95cd['client_max_window_bits']=!0x0),_0x4d95cd;}[_0x18df0b(0x291)](_0x289b01){const _0x23f087=_0x18df0b;return _0x289b01=this[_0x23f087(0x30a)](_0x289b01),this[_0x23f087(0x2a1)]=this['_isServer']?this[_0x23f087(0x2a0)](_0x289b01):this[_0x23f087(0x1c3)](_0x289b01),this[_0x23f087(0x2a1)];}['cleanup'](){const _0x139716=_0x18df0b;if(this['_inflate']&&(this[_0x139716(0x28d)][_0x139716(0x33f)](),this['_inflate']=null),this['_deflate']){const _0x15adb3=this[_0x139716(0x259)][_0x522d23];this[_0x139716(0x259)]['close'](),this[_0x139716(0x259)]=null,_0x15adb3&&_0x15adb3(new Error(_0x139716(0x244)));}}[_0x18df0b(0x2a0)](_0x10e3a4){const _0x4f40b1=_0x18df0b,_0xac84c2=this[_0x4f40b1(0x260)],_0x4689e2=_0x10e3a4[_0x4f40b1(0x276)](_0x4e3b1a=>!(_0xac84c2['serverNoContextTakeover']===!0x1&&_0x4e3b1a['server_no_context_takeover']||_0x4e3b1a[_0x4f40b1(0x375)]&&(_0xac84c2['serverMaxWindowBits']===!0x1||typeof _0xac84c2[_0x4f40b1(0x24b)]==_0x4f40b1(0x1ed)&&_0xac84c2[_0x4f40b1(0x24b)]>_0x4e3b1a[_0x4f40b1(0x375)])||typeof _0xac84c2['clientMaxWindowBits']==_0x4f40b1(0x1ed)&&!_0x4e3b1a[_0x4f40b1(0x2f3)]));if(!_0x4689e2)throw new Error(_0x4f40b1(0x2ec));return _0xac84c2[_0x4f40b1(0x1cc)]&&(_0x4689e2[_0x4f40b1(0x2ea)]=!0x0),_0xac84c2[_0x4f40b1(0x34e)]&&(_0x4689e2[_0x4f40b1(0x211)]=!0x0),typeof _0xac84c2['serverMaxWindowBits']=='number'&&(_0x4689e2['server_max_window_bits']=_0xac84c2[_0x4f40b1(0x24b)]),typeof _0xac84c2['clientMaxWindowBits']=='number'?_0x4689e2[_0x4f40b1(0x2f3)]=_0xac84c2[_0x4f40b1(0x1cb)]:(_0x4689e2[_0x4f40b1(0x2f3)]===!0x0||_0xac84c2[_0x4f40b1(0x1cb)]===!0x1)&&delete _0x4689e2['client_max_window_bits'],_0x4689e2;}[_0x18df0b(0x1c3)](_0x216124){const _0x23d299=_0x18df0b,_0x42639c=_0x216124[0x0];if(this[_0x23d299(0x260)][_0x23d299(0x34e)]===!0x1&&_0x42639c[_0x23d299(0x211)])throw new Error(_0x23d299(0x361));if(!_0x42639c[_0x23d299(0x2f3)])typeof this[_0x23d299(0x260)][_0x23d299(0x1cb)]==_0x23d299(0x1ed)&&(_0x42639c[_0x23d299(0x2f3)]=this[_0x23d299(0x260)][_0x23d299(0x1cb)]);else{if(this[_0x23d299(0x260)][_0x23d299(0x1cb)]===!0x1||typeof this[_0x23d299(0x260)]['clientMaxWindowBits']==_0x23d299(0x1ed)&&_0x42639c[_0x23d299(0x2f3)]>this[_0x23d299(0x260)][_0x23d299(0x1cb)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x42639c;}[_0x18df0b(0x30a)](_0x18e498){return _0x18e498['forEach'](_0x119c2a=>{const _0x4aa00f=_0x2d0b;Object[_0x4aa00f(0x379)](_0x119c2a)['forEach'](_0x156e53=>{const _0x4d382c=_0x4aa00f;let _0x242255=_0x119c2a[_0x156e53];if(_0x242255[_0x4d382c(0x32a)]>0x1)throw new Error(_0x4d382c(0x2bc)+_0x156e53+_0x4d382c(0x29e));if(_0x242255=_0x242255[0x0],_0x156e53===_0x4d382c(0x2f3)){if(_0x242255!==!0x0){const _0x39d2d4=+_0x242255;if(!Number[_0x4d382c(0x2f5)](_0x39d2d4)||_0x39d2d4<0x8||_0x39d2d4>0xf)throw new TypeError(_0x4d382c(0x209)+_0x156e53+_0x4d382c(0x21e)+_0x242255);_0x242255=_0x39d2d4;}else{if(!this['_isServer'])throw new TypeError(_0x4d382c(0x209)+_0x156e53+_0x4d382c(0x21e)+_0x242255);}}else{if(_0x156e53===_0x4d382c(0x375)){const _0x5111d6=+_0x242255;if(!Number[_0x4d382c(0x2f5)](_0x5111d6)||_0x5111d6<0x8||_0x5111d6>0xf)throw new TypeError(_0x4d382c(0x209)+_0x156e53+'\x22:\x20'+_0x242255);_0x242255=_0x5111d6;}else{if(_0x156e53===_0x4d382c(0x211)||_0x156e53===_0x4d382c(0x2ea)){if(_0x242255!==!0x0)throw new TypeError(_0x4d382c(0x209)+_0x156e53+_0x4d382c(0x21e)+_0x242255);}else throw new Error(_0x4d382c(0x227)+_0x156e53+'\x22');}}_0x119c2a[_0x156e53]=_0x242255;});}),_0x18e498;}['decompress'](_0x11a5b7,_0x416cb8,_0x91579f){const _0x2d6234=_0x18df0b;_0x29d4cf[_0x2d6234(0x1c9)](_0x5e7493=>{const _0x215c58=_0x2d6234;this[_0x215c58(0x2b7)](_0x11a5b7,_0x416cb8,(_0x2d2310,_0xfc0a95)=>{_0x5e7493(),_0x91579f(_0x2d2310,_0xfc0a95);});});}['compress'](_0x10ee5a,_0x2e7233,_0x354a1a){const _0x45135f=_0x18df0b;_0x29d4cf[_0x45135f(0x1c9)](_0x59808d=>{const _0x1f2f4c=_0x45135f;this[_0x1f2f4c(0x362)](_0x10ee5a,_0x2e7233,(_0x50fddb,_0x1fb78b)=>{_0x59808d(),_0x354a1a(_0x50fddb,_0x1fb78b);});});}[_0x18df0b(0x2b7)](_0x241d70,_0x5ada04,_0x688299){const _0x49d0b8=_0x18df0b,_0x556f10=this[_0x49d0b8(0x212)]?'client':_0x49d0b8(0x2ce);if(!this[_0x49d0b8(0x28d)]){const _0x54c5b7=_0x556f10+_0x49d0b8(0x2b1),_0x37f8e6=typeof this[_0x49d0b8(0x2a1)][_0x54c5b7]!=_0x49d0b8(0x1ed)?_0x1379eb[_0x49d0b8(0x329)]:this[_0x49d0b8(0x2a1)][_0x54c5b7];this['_inflate']=_0x1379eb[_0x49d0b8(0x23c)]({...this['_options'][_0x49d0b8(0x31c)],'windowBits':_0x37f8e6}),this[_0x49d0b8(0x28d)][_0x337531]=this,this[_0x49d0b8(0x28d)][_0x3d7b48]=0x0,this[_0x49d0b8(0x28d)][_0x4d4b88]=[],this[_0x49d0b8(0x28d)]['on']('error',_0x473bc0),this[_0x49d0b8(0x28d)]['on'](_0x49d0b8(0x309),_0x166e8f);}this[_0x49d0b8(0x28d)][_0x522d23]=_0x688299,this[_0x49d0b8(0x28d)][_0x49d0b8(0x318)](_0x241d70),_0x5ada04&&this[_0x49d0b8(0x28d)]['write'](_0x346d58),this['_inflate'][_0x49d0b8(0x203)](()=>{const _0x1d9119=_0x49d0b8,_0x39c7d2=this[_0x1d9119(0x28d)][_0x3bbe4d];if(_0x39c7d2){this['_inflate'][_0x1d9119(0x33f)](),this['_inflate']=null,_0x688299(_0x39c7d2);return;}const _0x3bbf08=_0x16e725['concat'](this[_0x1d9119(0x28d)][_0x4d4b88],this[_0x1d9119(0x28d)][_0x3d7b48]);this['_inflate'][_0x1d9119(0x2ee)]['endEmitted']?(this[_0x1d9119(0x28d)][_0x1d9119(0x33f)](),this[_0x1d9119(0x28d)]=null):(this[_0x1d9119(0x28d)][_0x3d7b48]=0x0,this[_0x1d9119(0x28d)][_0x4d4b88]=[],_0x5ada04&&this[_0x1d9119(0x2a1)][_0x556f10+_0x1d9119(0x22c)]&&this['_inflate'][_0x1d9119(0x1c8)]()),_0x688299(null,_0x3bbf08);});}['_compress'](_0x5a94a1,_0x315879,_0x3f8112){const _0x2923e7=_0x18df0b,_0x11b853=this['_isServer']?_0x2923e7(0x2ce):_0x2923e7(0x21b);if(!this['_deflate']){const _0x10f495=_0x11b853+_0x2923e7(0x2b1),_0x4b6e74=typeof this[_0x2923e7(0x2a1)][_0x10f495]!=_0x2923e7(0x1ed)?_0x1379eb[_0x2923e7(0x329)]:this[_0x2923e7(0x2a1)][_0x10f495];this[_0x2923e7(0x259)]=_0x1379eb['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0x4b6e74}),this[_0x2923e7(0x259)][_0x3d7b48]=0x0,this['_deflate'][_0x4d4b88]=[],this['_deflate']['on'](_0x2923e7(0x309),_0x41fea6);}this[_0x2923e7(0x259)][_0x522d23]=_0x3f8112,this[_0x2923e7(0x259)][_0x2923e7(0x318)](_0x5a94a1),this['_deflate'][_0x2923e7(0x203)](_0x1379eb['Z_SYNC_FLUSH'],()=>{const _0xecc9da=_0x2923e7;if(!this['_deflate'])return;let _0x42cbc7=_0x16e725[_0xecc9da(0x2af)](this[_0xecc9da(0x259)][_0x4d4b88],this[_0xecc9da(0x259)][_0x3d7b48]);_0x315879&&(_0x42cbc7=new _0x36baa7(_0x42cbc7[_0xecc9da(0x1ba)],_0x42cbc7[_0xecc9da(0x353)],_0x42cbc7['length']-0x4)),this[_0xecc9da(0x259)][_0x522d23]=null,this[_0xecc9da(0x259)][_0x3d7b48]=0x0,this[_0xecc9da(0x259)][_0x4d4b88]=[],_0x315879&&this[_0xecc9da(0x2a1)][_0x11b853+'_no_context_takeover']&&this[_0xecc9da(0x259)][_0xecc9da(0x1c8)](),_0x3f8112(null,_0x42cbc7);});}}ve=_0x112ac6;function _0x41fea6(_0x5ead26){const _0x5a4d8c=_0x18df0b;this[_0x4d4b88][_0x5a4d8c(0x367)](_0x5ead26),this[_0x3d7b48]+=_0x5ead26[_0x5a4d8c(0x32a)];}function _0x166e8f(_0x1baf4a){const _0x3b2db5=_0x18df0b;if(this[_0x3d7b48]+=_0x1baf4a['length'],this[_0x337531][_0x3b2db5(0x2df)]<0x1||this[_0x3d7b48]<=this[_0x337531][_0x3b2db5(0x2df)]){this[_0x4d4b88]['push'](_0x1baf4a);return;}this[_0x3bbe4d]=new RangeError(_0x3b2db5(0x307)),this[_0x3bbe4d][_0x3b2db5(0x2c5)]=_0x3b2db5(0x1c0),this[_0x3bbe4d][_0x39ee4b]=0x3f1,this[_0x3b2db5(0x2bd)](_0x3b2db5(0x309),_0x166e8f),this[_0x3b2db5(0x1c8)]();}function _0x473bc0(_0x58af19){if(this[_0x337531]['_inflate']=null,this[_0x3bbe4d]){this[_0x522d23](this[_0x3bbe4d]);return;}_0x58af19[_0x39ee4b]=0x3ef,this[_0x522d23](_0x58af19);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x2b16e5(0x1bd)](Object[_0x2b16e5(0x2a5)]({'__proto__':null,'default':Dt},Symbol[_0x2b16e5(0x2d7)],{'value':_0x2b16e5(0x2d2)})),Bt=at(Rt);var Ye;function ae(){const _0x3898a2=_0x2b16e5;if(Ye)return ie[_0x3898a2(0x2dd)];Ye=0x1;const {isUtf8:_0x8b6daa}=wt,{hasBlob:_0x107bde}=H(),_0x1badb9=[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 _0x39e6b4(_0x4b5d34){return _0x4b5d34>=0x3e8&&_0x4b5d34<=0x3f6&&_0x4b5d34!==0x3ec&&_0x4b5d34!==0x3ed&&_0x4b5d34!==0x3ee||_0x4b5d34>=0xbb8&&_0x4b5d34<=0x1387;}function _0x1401a9(_0x35e64f){const _0x41202e=_0x35e64f['length'];let _0x27c0bc=0x0;for(;_0x27c0bc<_0x41202e;)if((_0x35e64f[_0x27c0bc]&0x80)===0x0)_0x27c0bc++;else{if((_0x35e64f[_0x27c0bc]&0xe0)===0xc0){if(_0x27c0bc+0x1===_0x41202e||(_0x35e64f[_0x27c0bc+0x1]&0xc0)!==0x80||(_0x35e64f[_0x27c0bc]&0xfe)===0xc0)return!0x1;_0x27c0bc+=0x2;}else{if((_0x35e64f[_0x27c0bc]&0xf0)===0xe0){if(_0x27c0bc+0x2>=_0x41202e||(_0x35e64f[_0x27c0bc+0x1]&0xc0)!==0x80||(_0x35e64f[_0x27c0bc+0x2]&0xc0)!==0x80||_0x35e64f[_0x27c0bc]===0xe0&&(_0x35e64f[_0x27c0bc+0x1]&0xe0)===0x80||_0x35e64f[_0x27c0bc]===0xed&&(_0x35e64f[_0x27c0bc+0x1]&0xe0)===0xa0)return!0x1;_0x27c0bc+=0x3;}else{if((_0x35e64f[_0x27c0bc]&0xf8)===0xf0){if(_0x27c0bc+0x3>=_0x41202e||(_0x35e64f[_0x27c0bc+0x1]&0xc0)!==0x80||(_0x35e64f[_0x27c0bc+0x2]&0xc0)!==0x80||(_0x35e64f[_0x27c0bc+0x3]&0xc0)!==0x80||_0x35e64f[_0x27c0bc]===0xf0&&(_0x35e64f[_0x27c0bc+0x1]&0xf0)===0x80||_0x35e64f[_0x27c0bc]===0xf4&&_0x35e64f[_0x27c0bc+0x1]>0x8f||_0x35e64f[_0x27c0bc]>0xf4)return!0x1;_0x27c0bc+=0x4;}else return!0x1;}}}return!0x0;}function _0x48852c(_0x3e8ebe){const _0x54c8c5=_0x3898a2;return _0x107bde&&typeof _0x3e8ebe==_0x54c8c5(0x248)&&typeof _0x3e8ebe[_0x54c8c5(0x247)]==_0x54c8c5(0x34d)&&typeof _0x3e8ebe['type']==_0x54c8c5(0x352)&&typeof _0x3e8ebe[_0x54c8c5(0x2ba)]==_0x54c8c5(0x34d)&&(_0x3e8ebe[Symbol[_0x54c8c5(0x2d7)]]==='Blob'||_0x3e8ebe[Symbol['toStringTag']]===_0x54c8c5(0x1bf));}if(ie[_0x3898a2(0x2dd)]={'isBlob':_0x48852c,'isValidStatusCode':_0x39e6b4,'isValidUTF8':_0x1401a9,'tokenChars':_0x1badb9},_0x8b6daa)ie[_0x3898a2(0x2dd)][_0x3898a2(0x273)]=function(_0x570558){return _0x570558['length']<0x18?_0x1401a9(_0x570558):_0x8b6daa(_0x570558);};else{if(!process[_0x3898a2(0x1d5)][_0x3898a2(0x327)])try{const _0x1b6aee=Bt;ie[_0x3898a2(0x2dd)][_0x3898a2(0x273)]=function(_0x3ce8a6){const _0x5c8d87=_0x3898a2;return _0x3ce8a6[_0x5c8d87(0x32a)]<0x20?_0x1401a9(_0x3ce8a6):_0x1b6aee(_0x3ce8a6);};}catch{}}return ie[_0x3898a2(0x2dd)];}var Se,Ke;function lt(){const _0x1b70e9=_0x2b16e5;if(Ke)return Se;Ke=0x1;const {Writable:_0x348027}=oe,_0x5dee98=he(),{BINARY_TYPES:_0x1ca045,EMPTY_BUFFER:_0x11aca6,kStatusCode:_0x3a3bda,kWebSocket:_0x4deebc}=H(),{concat:_0x5e874a,toArrayBuffer:_0x1c65ea,unmask:_0x10da1a}=ce(),{isValidStatusCode:_0x4d80f0,isValidUTF8:_0x244162}=ae(),_0x56b930=Buffer[Symbol['species']],_0x59307b=0x0,_0x55ef52=0x1,_0x1e7908=0x2,_0x33e7fb=0x3,_0x15ae0d=0x4,_0x5b492a=0x5,_0x3ae6c4=0x6;class _0x3acc36 extends _0x348027{constructor(_0x11c707={}){const _0x2379aa=_0x2d0b;super(),this[_0x2379aa(0x210)]=_0x11c707[_0x2379aa(0x2f1)]!==void 0x0?_0x11c707[_0x2379aa(0x2f1)]:!0x0,this[_0x2379aa(0x242)]=_0x11c707[_0x2379aa(0x264)]||_0x1ca045[0x0],this[_0x2379aa(0x35f)]=_0x11c707[_0x2379aa(0x311)]||{},this['_isServer']=!!_0x11c707[_0x2379aa(0x25b)],this[_0x2379aa(0x2df)]=_0x11c707[_0x2379aa(0x235)]|0x0,this[_0x2379aa(0x27b)]=!!_0x11c707['skipUTF8Validation'],this[_0x4deebc]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2379aa(0x310)]=[],this['_compressed']=!0x1,this[_0x2379aa(0x2a4)]=0x0,this[_0x2379aa(0x36b)]=void 0x0,this[_0x2379aa(0x2e5)]=0x0,this[_0x2379aa(0x20d)]=!0x1,this[_0x2379aa(0x23b)]=!0x1,this[_0x2379aa(0x28e)]=0x0,this[_0x2379aa(0x30c)]=0x0,this[_0x2379aa(0x31f)]=0x0,this[_0x2379aa(0x1d1)]=[],this[_0x2379aa(0x330)]=!0x1,this[_0x2379aa(0x1e9)]=!0x1,this[_0x2379aa(0x1df)]=_0x59307b;}[_0x1b70e9(0x22a)](_0x2ed958,_0x225582,_0x7c5e49){const _0x1803c4=_0x1b70e9;if(this[_0x1803c4(0x28e)]===0x8&&this[_0x1803c4(0x1df)]==_0x59307b)return _0x7c5e49();this['_bufferedBytes']+=_0x2ed958[_0x1803c4(0x32a)],this['_buffers'][_0x1803c4(0x367)](_0x2ed958),this['startLoop'](_0x7c5e49);}[_0x1b70e9(0x270)](_0x21a5fc){const _0x2723d0=_0x1b70e9;if(this[_0x2723d0(0x226)]-=_0x21a5fc,_0x21a5fc===this['_buffers'][0x0]['length'])return this[_0x2723d0(0x310)][_0x2723d0(0x1d9)]();if(_0x21a5fc<this[_0x2723d0(0x310)][0x0]['length']){const _0xeb39bb=this[_0x2723d0(0x310)][0x0];return this[_0x2723d0(0x310)][0x0]=new _0x56b930(_0xeb39bb[_0x2723d0(0x1ba)],_0xeb39bb[_0x2723d0(0x353)]+_0x21a5fc,_0xeb39bb[_0x2723d0(0x32a)]-_0x21a5fc),new _0x56b930(_0xeb39bb[_0x2723d0(0x1ba)],_0xeb39bb[_0x2723d0(0x353)],_0x21a5fc);}const _0xee0df4=Buffer[_0x2723d0(0x31a)](_0x21a5fc);do{const _0x500bb0=this[_0x2723d0(0x310)][0x0],_0x304f29=_0xee0df4[_0x2723d0(0x32a)]-_0x21a5fc;_0x21a5fc>=_0x500bb0['length']?_0xee0df4[_0x2723d0(0x272)](this[_0x2723d0(0x310)][_0x2723d0(0x1d9)](),_0x304f29):(_0xee0df4['set'](new Uint8Array(_0x500bb0['buffer'],_0x500bb0[_0x2723d0(0x353)],_0x21a5fc),_0x304f29),this[_0x2723d0(0x310)][0x0]=new _0x56b930(_0x500bb0[_0x2723d0(0x1ba)],_0x500bb0['byteOffset']+_0x21a5fc,_0x500bb0[_0x2723d0(0x32a)]-_0x21a5fc)),_0x21a5fc-=_0x500bb0[_0x2723d0(0x32a)];}while(_0x21a5fc>0x0);return _0xee0df4;}[_0x1b70e9(0x24f)](_0x1b4469){const _0x5a0137=_0x1b70e9;this[_0x5a0137(0x1e9)]=!0x0;do switch(this['_state']){case _0x59307b:this[_0x5a0137(0x243)](_0x1b4469);break;case _0x55ef52:this[_0x5a0137(0x2c8)](_0x1b4469);break;case _0x1e7908:this['getPayloadLength64'](_0x1b4469);break;case _0x33e7fb:this[_0x5a0137(0x337)]();break;case _0x15ae0d:this['getData'](_0x1b4469);break;case _0x5b492a:case _0x3ae6c4:this[_0x5a0137(0x1e9)]=!0x1;return;}while(this[_0x5a0137(0x1e9)]);this[_0x5a0137(0x330)]||_0x1b4469();}['getInfo'](_0x41d85c){const _0xa829d1=_0x1b70e9;if(this[_0xa829d1(0x226)]<0x2){this['_loop']=!0x1;return;}const _0x258542=this['consume'](0x2);if((_0x258542[0x0]&0x30)!==0x0){const _0x30beb8=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x2d8),!0x0,0x3ea,_0xa829d1(0x266));_0x41d85c(_0x30beb8);return;}const _0x16aa87=(_0x258542[0x0]&0x40)===0x40;if(_0x16aa87&&!this[_0xa829d1(0x35f)][_0x5dee98[_0xa829d1(0x239)]]){const _0x3d8d28=this[_0xa829d1(0x26d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x41d85c(_0x3d8d28);return;}if(this[_0xa829d1(0x23b)]=(_0x258542[0x0]&0x80)===0x80,this[_0xa829d1(0x28e)]=_0x258542[0x0]&0xf,this['_payloadLength']=_0x258542[0x1]&0x7f,this[_0xa829d1(0x28e)]===0x0){if(_0x16aa87){const _0x1756be=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x23d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x41d85c(_0x1756be);return;}if(!this[_0xa829d1(0x2e5)]){const _0x156872=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x32e),!0x0,0x3ea,_0xa829d1(0x20a));_0x41d85c(_0x156872);return;}this[_0xa829d1(0x28e)]=this[_0xa829d1(0x2e5)];}else{if(this[_0xa829d1(0x28e)]===0x1||this[_0xa829d1(0x28e)]===0x2){if(this[_0xa829d1(0x2e5)]){const _0x433192=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x297)+this['_opcode'],!0x0,0x3ea,_0xa829d1(0x20a));_0x41d85c(_0x433192);return;}this['_compressed']=_0x16aa87;}else{if(this[_0xa829d1(0x28e)]>0x7&&this[_0xa829d1(0x28e)]<0xb){if(!this[_0xa829d1(0x23b)]){const _0x11d1b6=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x202),!0x0,0x3ea,_0xa829d1(0x298));_0x41d85c(_0x11d1b6);return;}if(_0x16aa87){const _0x1a3269=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x23d),!0x0,0x3ea,_0xa829d1(0x35d));_0x41d85c(_0x1a3269);return;}if(this['_payloadLength']>0x7d||this[_0xa829d1(0x28e)]===0x8&&this[_0xa829d1(0x2a4)]===0x1){const _0x11b852=this[_0xa829d1(0x26d)](RangeError,'invalid\x20payload\x20length\x20'+this[_0xa829d1(0x2a4)],!0x0,0x3ea,_0xa829d1(0x245));_0x41d85c(_0x11b852);return;}}else{const _0x169869=this['createError'](RangeError,_0xa829d1(0x297)+this['_opcode'],!0x0,0x3ea,_0xa829d1(0x20a));_0x41d85c(_0x169869);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0xa829d1(0x2e5)]=this[_0xa829d1(0x28e)]),this[_0xa829d1(0x20d)]=(_0x258542[0x1]&0x80)===0x80,this[_0xa829d1(0x212)]){if(!this[_0xa829d1(0x20d)]){const _0x5ed6d9=this[_0xa829d1(0x26d)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xa829d1(0x2bb));_0x41d85c(_0x5ed6d9);return;}}else{if(this[_0xa829d1(0x20d)]){const _0x31700b=this[_0xa829d1(0x26d)](RangeError,_0xa829d1(0x26a),!0x0,0x3ea,_0xa829d1(0x1e6));_0x41d85c(_0x31700b);return;}}this[_0xa829d1(0x2a4)]===0x7e?this['_state']=_0x55ef52:this[_0xa829d1(0x2a4)]===0x7f?this[_0xa829d1(0x1df)]=_0x1e7908:this[_0xa829d1(0x1e8)](_0x41d85c);}[_0x1b70e9(0x2c8)](_0x4b3441){const _0x51c1a6=_0x1b70e9;if(this[_0x51c1a6(0x226)]<0x2){this[_0x51c1a6(0x1e9)]=!0x1;return;}this[_0x51c1a6(0x2a4)]=this[_0x51c1a6(0x270)](0x2)[_0x51c1a6(0x282)](0x0),this['haveLength'](_0x4b3441);}[_0x1b70e9(0x1bb)](_0x292c08){const _0xd7d6e1=_0x1b70e9;if(this[_0xd7d6e1(0x226)]<0x8){this[_0xd7d6e1(0x1e9)]=!0x1;return;}const _0x5cd8bc=this[_0xd7d6e1(0x270)](0x8),_0x44db9c=_0x5cd8bc[_0xd7d6e1(0x2e9)](0x0);if(_0x44db9c>Math['pow'](0x2,0x15)-0x1){const _0x278cc5=this[_0xd7d6e1(0x26d)](RangeError,_0xd7d6e1(0x2d1),!0x1,0x3f1,_0xd7d6e1(0x274));_0x292c08(_0x278cc5);return;}this['_payloadLength']=_0x44db9c*Math[_0xd7d6e1(0x1bc)](0x2,0x20)+_0x5cd8bc[_0xd7d6e1(0x2e9)](0x4),this[_0xd7d6e1(0x1e8)](_0x292c08);}[_0x1b70e9(0x1e8)](_0x573459){const _0x5f5b47=_0x1b70e9;if(this[_0x5f5b47(0x2a4)]&&this[_0x5f5b47(0x28e)]<0x8&&(this[_0x5f5b47(0x30c)]+=this[_0x5f5b47(0x2a4)],this[_0x5f5b47(0x30c)]>this[_0x5f5b47(0x2df)]&&this[_0x5f5b47(0x2df)]>0x0)){const _0x17a6dc=this[_0x5f5b47(0x26d)](RangeError,_0x5f5b47(0x307),!0x1,0x3f1,_0x5f5b47(0x1c0));_0x573459(_0x17a6dc);return;}this[_0x5f5b47(0x20d)]?this[_0x5f5b47(0x1df)]=_0x33e7fb:this[_0x5f5b47(0x1df)]=_0x15ae0d;}[_0x1b70e9(0x337)](){const _0x5e6513=_0x1b70e9;if(this['_bufferedBytes']<0x4){this[_0x5e6513(0x1e9)]=!0x1;return;}this[_0x5e6513(0x36b)]=this[_0x5e6513(0x270)](0x4),this[_0x5e6513(0x1df)]=_0x15ae0d;}[_0x1b70e9(0x277)](_0x3dffbc){const _0xcafd97=_0x1b70e9;let _0x1865a8=_0x11aca6;if(this['_payloadLength']){if(this[_0xcafd97(0x226)]<this[_0xcafd97(0x2a4)]){this['_loop']=!0x1;return;}_0x1865a8=this[_0xcafd97(0x270)](this[_0xcafd97(0x2a4)]),this[_0xcafd97(0x20d)]&&(this['_mask'][0x0]|this[_0xcafd97(0x36b)][0x1]|this[_0xcafd97(0x36b)][0x2]|this['_mask'][0x3])!==0x0&&_0x10da1a(_0x1865a8,this[_0xcafd97(0x36b)]);}if(this[_0xcafd97(0x28e)]>0x7){this[_0xcafd97(0x2b4)](_0x1865a8,_0x3dffbc);return;}if(this[_0xcafd97(0x357)]){this['_state']=_0x5b492a,this[_0xcafd97(0x369)](_0x1865a8,_0x3dffbc);return;}_0x1865a8[_0xcafd97(0x32a)]&&(this[_0xcafd97(0x31f)]=this[_0xcafd97(0x30c)],this['_fragments'][_0xcafd97(0x367)](_0x1865a8)),this[_0xcafd97(0x2e0)](_0x3dffbc);}[_0x1b70e9(0x369)](_0x2637eb,_0x241984){const _0x1b2c16=_0x1b70e9;this[_0x1b2c16(0x35f)][_0x5dee98[_0x1b2c16(0x239)]][_0x1b2c16(0x369)](_0x2637eb,this[_0x1b2c16(0x23b)],(_0x3a0033,_0x4c8044)=>{const _0xf22a79=_0x1b2c16;if(_0x3a0033)return _0x241984(_0x3a0033);if(_0x4c8044[_0xf22a79(0x32a)]){if(this[_0xf22a79(0x31f)]+=_0x4c8044[_0xf22a79(0x32a)],this['_messageLength']>this[_0xf22a79(0x2df)]&&this[_0xf22a79(0x2df)]>0x0){const _0x4c2a07=this[_0xf22a79(0x26d)](RangeError,_0xf22a79(0x307),!0x1,0x3f1,_0xf22a79(0x1c0));_0x241984(_0x4c2a07);return;}this[_0xf22a79(0x1d1)][_0xf22a79(0x367)](_0x4c8044);}this[_0xf22a79(0x2e0)](_0x241984),this['_state']===_0x59307b&&this[_0xf22a79(0x24f)](_0x241984);});}['dataMessage'](_0x38ea6a){const _0x41f40f=_0x1b70e9;if(!this[_0x41f40f(0x23b)]){this[_0x41f40f(0x1df)]=_0x59307b;return;}const _0x27583a=this['_messageLength'],_0xf81a83=this['_fragments'];if(this[_0x41f40f(0x30c)]=0x0,this[_0x41f40f(0x31f)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x41f40f(0x28e)]===0x2){let _0xfb1d4b;this[_0x41f40f(0x242)]===_0x41f40f(0x1e5)?_0xfb1d4b=_0x5e874a(_0xf81a83,_0x27583a):this['_binaryType']===_0x41f40f(0x1e2)?_0xfb1d4b=_0x1c65ea(_0x5e874a(_0xf81a83,_0x27583a)):this[_0x41f40f(0x242)]==='blob'?_0xfb1d4b=new Blob(_0xf81a83):_0xfb1d4b=_0xf81a83,this['_allowSynchronousEvents']?(this[_0x41f40f(0x233)](_0x41f40f(0x23f),_0xfb1d4b,!0x0),this[_0x41f40f(0x1df)]=_0x59307b):(this['_state']=_0x3ae6c4,setImmediate(()=>{const _0x480607=_0x41f40f;this[_0x480607(0x233)](_0x480607(0x23f),_0xfb1d4b,!0x0),this[_0x480607(0x1df)]=_0x59307b,this[_0x480607(0x24f)](_0x38ea6a);}));}else{const _0xf14aeb=_0x5e874a(_0xf81a83,_0x27583a);if(!this['_skipUTF8Validation']&&!_0x244162(_0xf14aeb)){const _0xe15dee=this['createError'](Error,_0x41f40f(0x35c),!0x0,0x3ef,_0x41f40f(0x1b9));_0x38ea6a(_0xe15dee);return;}this[_0x41f40f(0x1df)]===_0x5b492a||this[_0x41f40f(0x210)]?(this['emit'](_0x41f40f(0x23f),_0xf14aeb,!0x1),this[_0x41f40f(0x1df)]=_0x59307b):(this['_state']=_0x3ae6c4,setImmediate(()=>{const _0x855cda=_0x41f40f;this['emit'](_0x855cda(0x23f),_0xf14aeb,!0x1),this[_0x855cda(0x1df)]=_0x59307b,this[_0x855cda(0x24f)](_0x38ea6a);}));}}[_0x1b70e9(0x2b4)](_0xf9c982,_0x2b102a){const _0x1ff770=_0x1b70e9;if(this[_0x1ff770(0x28e)]===0x8){if(_0xf9c982[_0x1ff770(0x32a)]===0x0)this[_0x1ff770(0x1e9)]=!0x1,this['emit']('conclude',0x3ed,_0x11aca6),this[_0x1ff770(0x331)]();else{const _0x5c3397=_0xf9c982[_0x1ff770(0x282)](0x0);if(!_0x4d80f0(_0x5c3397)){const _0x3f36d1=this[_0x1ff770(0x26d)](RangeError,_0x1ff770(0x300)+_0x5c3397,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2b102a(_0x3f36d1);return;}const _0x5c87bb=new _0x56b930(_0xf9c982[_0x1ff770(0x1ba)],_0xf9c982[_0x1ff770(0x353)]+0x2,_0xf9c982['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x244162(_0x5c87bb)){const _0xa71661=this[_0x1ff770(0x26d)](Error,_0x1ff770(0x35c),!0x0,0x3ef,_0x1ff770(0x1b9));_0x2b102a(_0xa71661);return;}this[_0x1ff770(0x1e9)]=!0x1,this[_0x1ff770(0x233)](_0x1ff770(0x30e),_0x5c3397,_0x5c87bb),this[_0x1ff770(0x331)]();}this[_0x1ff770(0x1df)]=_0x59307b;return;}this[_0x1ff770(0x210)]?(this[_0x1ff770(0x233)](this[_0x1ff770(0x28e)]===0x9?_0x1ff770(0x1ca):_0x1ff770(0x263),_0xf9c982),this['_state']=_0x59307b):(this['_state']=_0x3ae6c4,setImmediate(()=>{const _0x379a8d=_0x1ff770;this[_0x379a8d(0x233)](this['_opcode']===0x9?_0x379a8d(0x1ca):_0x379a8d(0x263),_0xf9c982),this[_0x379a8d(0x1df)]=_0x59307b,this[_0x379a8d(0x24f)](_0x2b102a);}));}['createError'](_0x1b771e,_0x24b9bb,_0x17a7db,_0x2defce,_0x4aaf86){const _0x55059d=_0x1b70e9;this[_0x55059d(0x1e9)]=!0x1,this[_0x55059d(0x330)]=!0x0;const _0x4bd2c9=new _0x1b771e(_0x17a7db?'Invalid\x20WebSocket\x20frame:\x20'+_0x24b9bb:_0x24b9bb);return Error['captureStackTrace'](_0x4bd2c9,this['createError']),_0x4bd2c9[_0x55059d(0x2c5)]=_0x4aaf86,_0x4bd2c9[_0x3a3bda]=_0x2defce,_0x4bd2c9;}}return Se=_0x3acc36,Se;}var Ee,Xe;function ft(){const _0x22ec4a=_0x2b16e5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3bb554}=oe,{randomFillSync:_0x44da18}=Le,_0x486779=he(),{EMPTY_BUFFER:_0x5907b4,kWebSocket:_0x46ce9c,NOOP:_0xf01708}=H(),{isBlob:_0x3c1c22,isValidStatusCode:_0x46c2c6}=ae(),{mask:_0x571006,toBuffer:_0x4265f3}=ce(),_0x6159d6=Symbol(_0x22ec4a(0x33a)),_0x3de41f=Buffer[_0x22ec4a(0x24d)](0x4),_0x3d8100=0x8*0x400;let _0x509ad8,_0x319e5d=_0x3d8100;const _0x4e1c22=0x0,_0x533fc1=0x1,_0x59b548=0x2;class _0x536683{constructor(_0x4b677c,_0x9d41c2,_0x282cd7){const _0x3563d0=_0x22ec4a;this[_0x3563d0(0x35f)]=_0x9d41c2||{},_0x282cd7&&(this[_0x3563d0(0x21c)]=_0x282cd7,this[_0x3563d0(0x366)]=Buffer[_0x3563d0(0x24d)](0x4)),this[_0x3563d0(0x2c3)]=_0x4b677c,this[_0x3563d0(0x326)]=!0x0,this[_0x3563d0(0x362)]=!0x1,this[_0x3563d0(0x226)]=0x0,this[_0x3563d0(0x26f)]=[],this[_0x3563d0(0x1df)]=_0x4e1c22,this[_0x3563d0(0x1ee)]=_0xf01708,this[_0x46ce9c]=void 0x0;}static['frame'](_0x5edf0a,_0x36517a){const _0x5993e5=_0x22ec4a;let _0x9144d9,_0xf90468=!0x1,_0x329474=0x2,_0x817d67=!0x1;_0x36517a[_0x5993e5(0x218)]&&(_0x9144d9=_0x36517a[_0x5993e5(0x200)]||_0x3de41f,_0x36517a[_0x5993e5(0x328)]?_0x36517a['generateMask'](_0x9144d9):(_0x319e5d===_0x3d8100&&(_0x509ad8===void 0x0&&(_0x509ad8=Buffer[_0x5993e5(0x24d)](_0x3d8100)),_0x44da18(_0x509ad8,0x0,_0x3d8100),_0x319e5d=0x0),_0x9144d9[0x0]=_0x509ad8[_0x319e5d++],_0x9144d9[0x1]=_0x509ad8[_0x319e5d++],_0x9144d9[0x2]=_0x509ad8[_0x319e5d++],_0x9144d9[0x3]=_0x509ad8[_0x319e5d++]),_0x817d67=(_0x9144d9[0x0]|_0x9144d9[0x1]|_0x9144d9[0x2]|_0x9144d9[0x3])===0x0,_0x329474=0x6);let _0x221c96;typeof _0x5edf0a=='string'?(!_0x36517a[_0x5993e5(0x218)]||_0x817d67)&&_0x36517a[_0x6159d6]!==void 0x0?_0x221c96=_0x36517a[_0x6159d6]:(_0x5edf0a=Buffer['from'](_0x5edf0a),_0x221c96=_0x5edf0a[_0x5993e5(0x32a)]):(_0x221c96=_0x5edf0a[_0x5993e5(0x32a)],_0xf90468=_0x36517a['mask']&&_0x36517a[_0x5993e5(0x2fa)]&&!_0x817d67);let _0x30142c=_0x221c96;_0x221c96>=0x10000?(_0x329474+=0x8,_0x30142c=0x7f):_0x221c96>0x7d&&(_0x329474+=0x2,_0x30142c=0x7e);const _0x273661=Buffer[_0x5993e5(0x31a)](_0xf90468?_0x221c96+_0x329474:_0x329474);return _0x273661[0x0]=_0x36517a[_0x5993e5(0x2fb)]?_0x36517a['opcode']|0x80:_0x36517a['opcode'],_0x36517a[_0x5993e5(0x2c2)]&&(_0x273661[0x0]|=0x40),_0x273661[0x1]=_0x30142c,_0x30142c===0x7e?_0x273661['writeUInt16BE'](_0x221c96,0x2):_0x30142c===0x7f&&(_0x273661[0x2]=_0x273661[0x3]=0x0,_0x273661[_0x5993e5(0x2fe)](_0x221c96,0x4,0x6)),_0x36517a[_0x5993e5(0x218)]?(_0x273661[0x1]|=0x80,_0x273661[_0x329474-0x4]=_0x9144d9[0x0],_0x273661[_0x329474-0x3]=_0x9144d9[0x1],_0x273661[_0x329474-0x2]=_0x9144d9[0x2],_0x273661[_0x329474-0x1]=_0x9144d9[0x3],_0x817d67?[_0x273661,_0x5edf0a]:_0xf90468?(_0x571006(_0x5edf0a,_0x9144d9,_0x273661,_0x329474,_0x221c96),[_0x273661]):(_0x571006(_0x5edf0a,_0x9144d9,_0x5edf0a,0x0,_0x221c96),[_0x273661,_0x5edf0a])):[_0x273661,_0x5edf0a];}['close'](_0x265107,_0x38856b,_0x50915e,_0x5d699b){const _0x30bbc1=_0x22ec4a;let _0x3243e5;if(_0x265107===void 0x0)_0x3243e5=_0x5907b4;else{if(typeof _0x265107!=_0x30bbc1(0x1ed)||!_0x46c2c6(_0x265107))throw new TypeError(_0x30bbc1(0x338));if(_0x38856b===void 0x0||!_0x38856b[_0x30bbc1(0x32a)])_0x3243e5=Buffer[_0x30bbc1(0x31a)](0x2),_0x3243e5[_0x30bbc1(0x1f8)](_0x265107,0x0);else{const _0x26f8d4=Buffer[_0x30bbc1(0x258)](_0x38856b);if(_0x26f8d4>0x7b)throw new RangeError(_0x30bbc1(0x296));_0x3243e5=Buffer['allocUnsafe'](0x2+_0x26f8d4),_0x3243e5[_0x30bbc1(0x1f8)](_0x265107,0x0),typeof _0x38856b=='string'?_0x3243e5[_0x30bbc1(0x318)](_0x38856b,0x2):_0x3243e5['set'](_0x38856b,0x2);}}const _0xb4cf43={[_0x6159d6]:_0x3243e5[_0x30bbc1(0x32a)],'fin':!0x0,'generateMask':this[_0x30bbc1(0x21c)],'mask':_0x50915e,'maskBuffer':this[_0x30bbc1(0x366)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x30bbc1(0x1df)]!==_0x4e1c22?this[_0x30bbc1(0x341)]([this[_0x30bbc1(0x1f5)],_0x3243e5,!0x1,_0xb4cf43,_0x5d699b]):this[_0x30bbc1(0x1fb)](_0x536683[_0x30bbc1(0x2ef)](_0x3243e5,_0xb4cf43),_0x5d699b);}[_0x22ec4a(0x1ca)](_0x2687cd,_0xbf7676,_0x534759){const _0x2f5bc6=_0x22ec4a;let _0x54d15a,_0x4284ad;if(typeof _0x2687cd==_0x2f5bc6(0x352)?(_0x54d15a=Buffer[_0x2f5bc6(0x258)](_0x2687cd),_0x4284ad=!0x1):_0x3c1c22(_0x2687cd)?(_0x54d15a=_0x2687cd[_0x2f5bc6(0x2ae)],_0x4284ad=!0x1):(_0x2687cd=_0x4265f3(_0x2687cd),_0x54d15a=_0x2687cd['length'],_0x4284ad=_0x4265f3[_0x2f5bc6(0x2fa)]),_0x54d15a>0x7d)throw new RangeError(_0x2f5bc6(0x1ea));const _0x15fd8c={[_0x6159d6]:_0x54d15a,'fin':!0x0,'generateMask':this[_0x2f5bc6(0x21c)],'mask':_0xbf7676,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4284ad,'rsv1':!0x1};_0x3c1c22(_0x2687cd)?this[_0x2f5bc6(0x1df)]!==_0x4e1c22?this['enqueue']([this[_0x2f5bc6(0x1ec)],_0x2687cd,!0x1,_0x15fd8c,_0x534759]):this['getBlobData'](_0x2687cd,!0x1,_0x15fd8c,_0x534759):this[_0x2f5bc6(0x1df)]!==_0x4e1c22?this[_0x2f5bc6(0x341)]([this['dispatch'],_0x2687cd,!0x1,_0x15fd8c,_0x534759]):this['sendFrame'](_0x536683['frame'](_0x2687cd,_0x15fd8c),_0x534759);}[_0x22ec4a(0x263)](_0x388330,_0x25cf63,_0x1470db){const _0x1f526b=_0x22ec4a;let _0x3adcbc,_0xcc5a;if(typeof _0x388330==_0x1f526b(0x352)?(_0x3adcbc=Buffer[_0x1f526b(0x258)](_0x388330),_0xcc5a=!0x1):_0x3c1c22(_0x388330)?(_0x3adcbc=_0x388330[_0x1f526b(0x2ae)],_0xcc5a=!0x1):(_0x388330=_0x4265f3(_0x388330),_0x3adcbc=_0x388330[_0x1f526b(0x32a)],_0xcc5a=_0x4265f3[_0x1f526b(0x2fa)]),_0x3adcbc>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x11efbe={[_0x6159d6]:_0x3adcbc,'fin':!0x0,'generateMask':this[_0x1f526b(0x21c)],'mask':_0x25cf63,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xcc5a,'rsv1':!0x1};_0x3c1c22(_0x388330)?this['_state']!==_0x4e1c22?this[_0x1f526b(0x341)]([this[_0x1f526b(0x1ec)],_0x388330,!0x1,_0x11efbe,_0x1470db]):this[_0x1f526b(0x1ec)](_0x388330,!0x1,_0x11efbe,_0x1470db):this[_0x1f526b(0x1df)]!==_0x4e1c22?this[_0x1f526b(0x341)]([this['dispatch'],_0x388330,!0x1,_0x11efbe,_0x1470db]):this['sendFrame'](_0x536683[_0x1f526b(0x2ef)](_0x388330,_0x11efbe),_0x1470db);}['send'](_0x29e072,_0x2d0571,_0x375cf7){const _0x35cc07=_0x22ec4a,_0x4c67dc=this[_0x35cc07(0x35f)][_0x486779[_0x35cc07(0x239)]];let _0x324656=_0x2d0571[_0x35cc07(0x1f2)]?0x2:0x1,_0x3dd599=_0x2d0571['compress'],_0x25b120,_0x133795;typeof _0x29e072==_0x35cc07(0x352)?(_0x25b120=Buffer['byteLength'](_0x29e072),_0x133795=!0x1):_0x3c1c22(_0x29e072)?(_0x25b120=_0x29e072[_0x35cc07(0x2ae)],_0x133795=!0x1):(_0x29e072=_0x4265f3(_0x29e072),_0x25b120=_0x29e072[_0x35cc07(0x32a)],_0x133795=_0x4265f3['readOnly']),this['_firstFragment']?(this[_0x35cc07(0x326)]=!0x1,_0x3dd599&&_0x4c67dc&&_0x4c67dc['params'][_0x4c67dc[_0x35cc07(0x212)]?_0x35cc07(0x2ea):_0x35cc07(0x211)]&&(_0x3dd599=_0x25b120>=_0x4c67dc['_threshold']),this[_0x35cc07(0x362)]=_0x3dd599):(_0x3dd599=!0x1,_0x324656=0x0),_0x2d0571['fin']&&(this[_0x35cc07(0x326)]=!0x0);const _0x524976={[_0x6159d6]:_0x25b120,'fin':_0x2d0571['fin'],'generateMask':this['_generateMask'],'mask':_0x2d0571[_0x35cc07(0x218)],'maskBuffer':this[_0x35cc07(0x366)],'opcode':_0x324656,'readOnly':_0x133795,'rsv1':_0x3dd599};_0x3c1c22(_0x29e072)?this[_0x35cc07(0x1df)]!==_0x4e1c22?this[_0x35cc07(0x341)]([this[_0x35cc07(0x1ec)],_0x29e072,this[_0x35cc07(0x362)],_0x524976,_0x375cf7]):this[_0x35cc07(0x1ec)](_0x29e072,this['_compress'],_0x524976,_0x375cf7):this['_state']!==_0x4e1c22?this[_0x35cc07(0x341)]([this['dispatch'],_0x29e072,this[_0x35cc07(0x362)],_0x524976,_0x375cf7]):this['dispatch'](_0x29e072,this['_compress'],_0x524976,_0x375cf7);}[_0x22ec4a(0x1ec)](_0x291190,_0x28cbd9,_0x223218,_0xb66d12){const _0x327964=_0x22ec4a;this[_0x327964(0x226)]+=_0x223218[_0x6159d6],this[_0x327964(0x1df)]=_0x59b548,_0x291190[_0x327964(0x247)]()[_0x327964(0x2b0)](_0x1f429a=>{const _0x2d1355=_0x327964;if(this[_0x2d1355(0x2c3)][_0x2d1355(0x354)]){const _0x4978a2=new Error(_0x2d1355(0x372));process[_0x2d1355(0x1c4)](_0x157555,this,_0x4978a2,_0xb66d12);return;}this['_bufferedBytes']-=_0x223218[_0x6159d6];const _0x31bf67=_0x4265f3(_0x1f429a);_0x28cbd9?this[_0x2d1355(0x1f5)](_0x31bf67,_0x28cbd9,_0x223218,_0xb66d12):(this[_0x2d1355(0x1df)]=_0x4e1c22,this[_0x2d1355(0x1fb)](_0x536683[_0x2d1355(0x2ef)](_0x31bf67,_0x223218),_0xb66d12),this[_0x2d1355(0x1d2)]());})[_0x327964(0x1e0)](_0x35e7b0=>{process['nextTick'](_0x42d915,this,_0x35e7b0,_0xb66d12);});}[_0x22ec4a(0x1f5)](_0x131013,_0x208589,_0x2763e8,_0x4a7c96){const _0x1cf43e=_0x22ec4a;if(!_0x208589){this[_0x1cf43e(0x1fb)](_0x536683[_0x1cf43e(0x2ef)](_0x131013,_0x2763e8),_0x4a7c96);return;}const _0x1fffb9=this[_0x1cf43e(0x35f)][_0x486779[_0x1cf43e(0x239)]];this['_bufferedBytes']+=_0x2763e8[_0x6159d6],this[_0x1cf43e(0x1df)]=_0x533fc1,_0x1fffb9['compress'](_0x131013,_0x2763e8[_0x1cf43e(0x2fb)],(_0x4a2101,_0x25d312)=>{const _0x1c3866=_0x1cf43e;if(this['_socket'][_0x1c3866(0x354)]){const _0x4360dc=new Error(_0x1c3866(0x230));_0x157555(this,_0x4360dc,_0x4a7c96);return;}this[_0x1c3866(0x226)]-=_0x2763e8[_0x6159d6],this[_0x1c3866(0x1df)]=_0x4e1c22,_0x2763e8[_0x1c3866(0x2fa)]=!0x1,this[_0x1c3866(0x1fb)](_0x536683[_0x1c3866(0x2ef)](_0x25d312,_0x2763e8),_0x4a7c96),this['dequeue']();});}[_0x22ec4a(0x1d2)](){const _0x44cf6d=_0x22ec4a;for(;this[_0x44cf6d(0x1df)]===_0x4e1c22&&this[_0x44cf6d(0x26f)][_0x44cf6d(0x32a)];){const _0x838b9b=this[_0x44cf6d(0x26f)][_0x44cf6d(0x1d9)]();this[_0x44cf6d(0x226)]-=_0x838b9b[0x3][_0x6159d6],Reflect[_0x44cf6d(0x237)](_0x838b9b[0x0],this,_0x838b9b[_0x44cf6d(0x348)](0x1));}}[_0x22ec4a(0x341)](_0x4f0335){const _0x514e56=_0x22ec4a;this[_0x514e56(0x226)]+=_0x4f0335[0x3][_0x6159d6],this[_0x514e56(0x26f)]['push'](_0x4f0335);}[_0x22ec4a(0x1fb)](_0x30d103,_0x5987be){const _0x54ae44=_0x22ec4a;_0x30d103[_0x54ae44(0x32a)]===0x2?(this[_0x54ae44(0x2c3)][_0x54ae44(0x1fa)](),this['_socket'][_0x54ae44(0x318)](_0x30d103[0x0]),this[_0x54ae44(0x2c3)][_0x54ae44(0x318)](_0x30d103[0x1],_0x5987be),this[_0x54ae44(0x2c3)]['uncork']()):this[_0x54ae44(0x2c3)][_0x54ae44(0x318)](_0x30d103[0x0],_0x5987be);}}Ee=_0x536683;function _0x157555(_0x5be06c,_0x15e0c4,_0x13d99c){const _0x50f24c=_0x22ec4a;typeof _0x13d99c==_0x50f24c(0x34d)&&_0x13d99c(_0x15e0c4);for(let _0x53b0c5=0x0;_0x53b0c5<_0x5be06c[_0x50f24c(0x26f)][_0x50f24c(0x32a)];_0x53b0c5++){const _0x5dec50=_0x5be06c[_0x50f24c(0x26f)][_0x53b0c5],_0x1b6e94=_0x5dec50[_0x5dec50[_0x50f24c(0x32a)]-0x1];typeof _0x1b6e94==_0x50f24c(0x34d)&&_0x1b6e94(_0x15e0c4);}}function _0x42d915(_0x149362,_0x590a4c,_0x2a0c33){const _0x5bd68c=_0x22ec4a;_0x157555(_0x149362,_0x590a4c,_0x2a0c33),_0x149362[_0x5bd68c(0x1ee)](_0x590a4c);}return Ee;}var xe,Ze;function It(){const _0x388d89=_0x2b16e5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x432468,kListener:_0x276623}=H(),_0x4292bb=Symbol('kCode'),_0x471ea8=Symbol(_0x388d89(0x293)),_0x19cf05=Symbol(_0x388d89(0x304)),_0x2884fa=Symbol(_0x388d89(0x27f)),_0x5e0fb6=Symbol(_0x388d89(0x28a)),_0x48a392=Symbol(_0x388d89(0x224)),_0x15c48f=Symbol(_0x388d89(0x223)),_0x1be9d5=Symbol(_0x388d89(0x34b));class _0x5f1dd8{constructor(_0x56e913){this[_0x48a392]=null,this[_0x15c48f]=_0x56e913;}get['target'](){return this[_0x48a392];}get['type'](){return this[_0x15c48f];}}Object[_0x388d89(0x2a5)](_0x5f1dd8[_0x388d89(0x1dd)],_0x388d89(0x36c),{'enumerable':!0x0}),Object[_0x388d89(0x2a5)](_0x5f1dd8[_0x388d89(0x1dd)],_0x388d89(0x1ce),{'enumerable':!0x0});class _0x1d1807 extends _0x5f1dd8{constructor(_0x127794,_0x15a1be={}){const _0x4d0413=_0x388d89;super(_0x127794),this[_0x4292bb]=_0x15a1be[_0x4d0413(0x2c5)]===void 0x0?0x0:_0x15a1be[_0x4d0413(0x2c5)],this[_0x5e0fb6]=_0x15a1be[_0x4d0413(0x2e2)]===void 0x0?'':_0x15a1be[_0x4d0413(0x2e2)],this[_0x1be9d5]=_0x15a1be[_0x4d0413(0x1dc)]===void 0x0?!0x1:_0x15a1be[_0x4d0413(0x1dc)];}get[_0x388d89(0x2c5)](){return this[_0x4292bb];}get[_0x388d89(0x2e2)](){return this[_0x5e0fb6];}get[_0x388d89(0x1dc)](){return this[_0x1be9d5];}}Object[_0x388d89(0x2a5)](_0x1d1807[_0x388d89(0x1dd)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1d1807[_0x388d89(0x1dd)],'reason',{'enumerable':!0x0}),Object[_0x388d89(0x2a5)](_0x1d1807['prototype'],_0x388d89(0x1dc),{'enumerable':!0x0});class _0x355225 extends _0x5f1dd8{constructor(_0x9fa39a,_0xf03b42={}){const _0x41f4a8=_0x388d89;super(_0x9fa39a),this[_0x19cf05]=_0xf03b42['error']===void 0x0?null:_0xf03b42[_0x41f4a8(0x1da)],this[_0x2884fa]=_0xf03b42[_0x41f4a8(0x23f)]===void 0x0?'':_0xf03b42[_0x41f4a8(0x23f)];}get[_0x388d89(0x1da)](){return this[_0x19cf05];}get['message'](){return this[_0x2884fa];}}Object[_0x388d89(0x2a5)](_0x355225[_0x388d89(0x1dd)],_0x388d89(0x1da),{'enumerable':!0x0}),Object[_0x388d89(0x2a5)](_0x355225[_0x388d89(0x1dd)],_0x388d89(0x23f),{'enumerable':!0x0});class _0x131cb8 extends _0x5f1dd8{constructor(_0xf7102f,_0x1d1431={}){const _0x3b4f65=_0x388d89;super(_0xf7102f),this[_0x471ea8]=_0x1d1431[_0x3b4f65(0x309)]===void 0x0?null:_0x1d1431[_0x3b4f65(0x309)];}get[_0x388d89(0x309)](){return this[_0x471ea8];}}Object['defineProperty'](_0x131cb8[_0x388d89(0x1dd)],_0x388d89(0x309),{'enumerable':!0x0}),xe={'CloseEvent':_0x1d1807,'ErrorEvent':_0x355225,'Event':_0x5f1dd8,'EventTarget':{'addEventListener'(_0x5db78d,_0x3adac3,_0x452110={}){const _0x22d42c=_0x388d89;for(const _0x22f945 of this[_0x22d42c(0x1d0)](_0x5db78d))if(!_0x452110[_0x432468]&&_0x22f945[_0x276623]===_0x3adac3&&!_0x22f945[_0x432468])return;let _0x419c6b;if(_0x5db78d==='message')_0x419c6b=function(_0x2f7bac,_0x1991a7){const _0x30922b=_0x22d42c,_0x489cef=new _0x131cb8(_0x30922b(0x23f),{'data':_0x1991a7?_0x2f7bac:_0x2f7bac[_0x30922b(0x29a)]()});_0x489cef[_0x48a392]=this,_0x2e4f12(_0x3adac3,this,_0x489cef);};else{if(_0x5db78d===_0x22d42c(0x33f))_0x419c6b=function(_0x5a43a4,_0x32e924){const _0x5eb26e=_0x22d42c,_0x11631d=new _0x1d1807('close',{'code':_0x5a43a4,'reason':_0x32e924[_0x5eb26e(0x29a)](),'wasClean':this[_0x5eb26e(0x2f4)]&&this[_0x5eb26e(0x288)]});_0x11631d[_0x48a392]=this,_0x2e4f12(_0x3adac3,this,_0x11631d);};else{if(_0x5db78d===_0x22d42c(0x1da))_0x419c6b=function(_0x42895f){const _0x2f43bf=_0x22d42c,_0x1492ea=new _0x355225(_0x2f43bf(0x1da),{'error':_0x42895f,'message':_0x42895f[_0x2f43bf(0x23f)]});_0x1492ea[_0x48a392]=this,_0x2e4f12(_0x3adac3,this,_0x1492ea);};else{if(_0x5db78d===_0x22d42c(0x336))_0x419c6b=function(){const _0x38a6b7=new _0x5f1dd8('open');_0x38a6b7[_0x48a392]=this,_0x2e4f12(_0x3adac3,this,_0x38a6b7);};else return;}}}_0x419c6b[_0x432468]=!!_0x452110[_0x432468],_0x419c6b[_0x276623]=_0x3adac3,_0x452110['once']?this[_0x22d42c(0x32d)](_0x5db78d,_0x419c6b):this['on'](_0x5db78d,_0x419c6b);},'removeEventListener'(_0x1f9e4c,_0x351f34){const _0x1e9404=_0x388d89;for(const _0x595dc9 of this['listeners'](_0x1f9e4c))if(_0x595dc9[_0x276623]===_0x351f34&&!_0x595dc9[_0x432468]){this[_0x1e9404(0x2bd)](_0x1f9e4c,_0x595dc9);break;}}},'MessageEvent':_0x131cb8};function _0x2e4f12(_0x26e5b6,_0x2de0c4,_0x2c8a17){const _0x5cb4eb=_0x388d89;typeof _0x26e5b6==_0x5cb4eb(0x248)&&_0x26e5b6[_0x5cb4eb(0x252)]?_0x26e5b6[_0x5cb4eb(0x252)][_0x5cb4eb(0x246)](_0x26e5b6,_0x2c8a17):_0x26e5b6[_0x5cb4eb(0x246)](_0x2de0c4,_0x2c8a17);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x24b797}=ae();function _0xba3ac3(_0x236fce,_0x20cc0e,_0x40ad3f){const _0x55adc7=_0x2d0b;_0x236fce[_0x20cc0e]===void 0x0?_0x236fce[_0x20cc0e]=[_0x40ad3f]:_0x236fce[_0x20cc0e][_0x55adc7(0x367)](_0x40ad3f);}function _0x4d8cb9(_0x111022){const _0x37e326=_0x2d0b,_0x494a68=Object[_0x37e326(0x1c2)](null);let _0x2ab3a2=Object[_0x37e326(0x1c2)](null),_0xd830fc=!0x1,_0x4af096=!0x1,_0x22b15c=!0x1,_0x28377b,_0x11deb,_0x4579fd=-0x1,_0x859872=-0x1,_0x40ab67=-0x1,_0x272eec=0x0;for(;_0x272eec<_0x111022[_0x37e326(0x32a)];_0x272eec++)if(_0x859872=_0x111022[_0x37e326(0x31d)](_0x272eec),_0x28377b===void 0x0){if(_0x40ab67===-0x1&&_0x24b797[_0x859872]===0x1)_0x4579fd===-0x1&&(_0x4579fd=_0x272eec);else{if(_0x272eec!==0x0&&(_0x859872===0x20||_0x859872===0x9))_0x40ab67===-0x1&&_0x4579fd!==-0x1&&(_0x40ab67=_0x272eec);else{if(_0x859872===0x3b||_0x859872===0x2c){if(_0x4579fd===-0x1)throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);_0x40ab67===-0x1&&(_0x40ab67=_0x272eec);const _0x1ff20b=_0x111022[_0x37e326(0x348)](_0x4579fd,_0x40ab67);_0x859872===0x2c?(_0xba3ac3(_0x494a68,_0x1ff20b,_0x2ab3a2),_0x2ab3a2=Object[_0x37e326(0x1c2)](null)):_0x28377b=_0x1ff20b,_0x4579fd=_0x40ab67=-0x1;}else throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);}}}else{if(_0x11deb===void 0x0){if(_0x40ab67===-0x1&&_0x24b797[_0x859872]===0x1)_0x4579fd===-0x1&&(_0x4579fd=_0x272eec);else{if(_0x859872===0x20||_0x859872===0x9)_0x40ab67===-0x1&&_0x4579fd!==-0x1&&(_0x40ab67=_0x272eec);else{if(_0x859872===0x3b||_0x859872===0x2c){if(_0x4579fd===-0x1)throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);_0x40ab67===-0x1&&(_0x40ab67=_0x272eec),_0xba3ac3(_0x2ab3a2,_0x111022[_0x37e326(0x348)](_0x4579fd,_0x40ab67),!0x0),_0x859872===0x2c&&(_0xba3ac3(_0x494a68,_0x28377b,_0x2ab3a2),_0x2ab3a2=Object[_0x37e326(0x1c2)](null),_0x28377b=void 0x0),_0x4579fd=_0x40ab67=-0x1;}else{if(_0x859872===0x3d&&_0x4579fd!==-0x1&&_0x40ab67===-0x1)_0x11deb=_0x111022[_0x37e326(0x348)](_0x4579fd,_0x272eec),_0x4579fd=_0x40ab67=-0x1;else throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);}}}}else{if(_0x4af096){if(_0x24b797[_0x859872]!==0x1)throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);_0x4579fd===-0x1?_0x4579fd=_0x272eec:_0xd830fc||(_0xd830fc=!0x0),_0x4af096=!0x1;}else{if(_0x22b15c){if(_0x24b797[_0x859872]===0x1)_0x4579fd===-0x1&&(_0x4579fd=_0x272eec);else{if(_0x859872===0x22&&_0x4579fd!==-0x1)_0x22b15c=!0x1,_0x40ab67=_0x272eec;else{if(_0x859872===0x5c)_0x4af096=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x272eec);}}}else{if(_0x859872===0x22&&_0x111022[_0x37e326(0x31d)](_0x272eec-0x1)===0x3d)_0x22b15c=!0x0;else{if(_0x40ab67===-0x1&&_0x24b797[_0x859872]===0x1)_0x4579fd===-0x1&&(_0x4579fd=_0x272eec);else{if(_0x4579fd!==-0x1&&(_0x859872===0x20||_0x859872===0x9))_0x40ab67===-0x1&&(_0x40ab67=_0x272eec);else{if(_0x859872===0x3b||_0x859872===0x2c){if(_0x4579fd===-0x1)throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);_0x40ab67===-0x1&&(_0x40ab67=_0x272eec);let _0x5d3848=_0x111022['slice'](_0x4579fd,_0x40ab67);_0xd830fc&&(_0x5d3848=_0x5d3848['replace'](/\\/g,''),_0xd830fc=!0x1),_0xba3ac3(_0x2ab3a2,_0x11deb,_0x5d3848),_0x859872===0x2c&&(_0xba3ac3(_0x494a68,_0x28377b,_0x2ab3a2),_0x2ab3a2=Object[_0x37e326(0x1c2)](null),_0x28377b=void 0x0),_0x11deb=void 0x0,_0x4579fd=_0x40ab67=-0x1;}else throw new SyntaxError(_0x37e326(0x20e)+_0x272eec);}}}}}}}if(_0x4579fd===-0x1||_0x22b15c||_0x859872===0x20||_0x859872===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x40ab67===-0x1&&(_0x40ab67=_0x272eec);const _0x31338e=_0x111022[_0x37e326(0x348)](_0x4579fd,_0x40ab67);return _0x28377b===void 0x0?_0xba3ac3(_0x494a68,_0x31338e,_0x2ab3a2):(_0x11deb===void 0x0?_0xba3ac3(_0x2ab3a2,_0x31338e,!0x0):_0xd830fc?_0xba3ac3(_0x2ab3a2,_0x11deb,_0x31338e[_0x37e326(0x32b)](/\\/g,'')):_0xba3ac3(_0x2ab3a2,_0x11deb,_0x31338e),_0xba3ac3(_0x494a68,_0x28377b,_0x2ab3a2)),_0x494a68;}function _0x26abde(_0x33b341){const _0x23ce21=_0x2d0b;return Object[_0x23ce21(0x379)](_0x33b341)[_0x23ce21(0x265)](_0x3278da=>{const _0x92e255=_0x23ce21;let _0x344d0f=_0x33b341[_0x3278da];return Array['isArray'](_0x344d0f)||(_0x344d0f=[_0x344d0f]),_0x344d0f['map'](_0x10a188=>[_0x3278da][_0x92e255(0x2af)](Object['keys'](_0x10a188)[_0x92e255(0x265)](_0xa8faa=>{const _0x442498=_0x92e255;let _0x38939d=_0x10a188[_0xa8faa];return Array[_0x442498(0x31e)](_0x38939d)||(_0x38939d=[_0x38939d]),_0x38939d[_0x442498(0x265)](_0x4a1a53=>_0x4a1a53===!0x0?_0xa8faa:_0xa8faa+'='+_0x4a1a53)[_0x442498(0x26c)](';\x20');}))[_0x92e255(0x26c)](';\x20'))[_0x92e255(0x26c)](',\x20');})[_0x23ce21(0x26c)](',\x20');}return be={'format':_0x26abde,'parse':_0x4d8cb9},be;}var we,Je;function Pe(){const _0x3a4780=_0x2b16e5;if(Je)return we;Je=0x1;const _0x10756e=nt,_0x179e79=vt,_0x1d9ffd=ot,_0x229c3c=St,_0x262881=Et,{randomBytes:_0x65328e,createHash:_0x17cb5f}=Le,{Duplex:_0x468276,Readable:_0x3b347f}=oe,{URL:_0x2201d1}=xt,_0x1a37cf=he(),_0x5533ff=lt(),_0x148601=ft(),{isBlob:_0x2bea0f}=ae(),{BINARY_TYPES:_0xef16ad,EMPTY_BUFFER:_0x27f238,GUID:_0x517b1d,kForOnEventAttribute:_0x2d3045,kListener:_0x2f7c16,kStatusCode:_0x285996,kWebSocket:_0x186c1f,NOOP:_0x31c3ac}=H(),{EventTarget:{addEventListener:_0x3ea8e7,removeEventListener:_0x538087}}=It(),{format:_0x4e8ee1,parse:_0x548c95}=ct(),{toBuffer:_0x4a014f}=ce(),_0x50393c=0x1e*0x3e8,_0x2c7d09=Symbol(_0x3a4780(0x37a)),_0x102eac=[0x8,0xd],_0x4b9374=['CONNECTING','OPEN','CLOSING','CLOSED'],_0x1ce90f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e00d6 extends _0x10756e{constructor(_0x9beac5,_0xd46f12,_0x3e1213){const _0x5e28a4=_0x3a4780;super(),this[_0x5e28a4(0x242)]=_0xef16ad[0x0],this[_0x5e28a4(0x238)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x5e28a4(0x288)]=!0x1,this['_closeMessage']=_0x27f238,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x5e28a4(0x35f)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x5e28a4(0x236)]=_0x3e00d6['CONNECTING'],this[_0x5e28a4(0x302)]=null,this[_0x5e28a4(0x32f)]=null,this[_0x5e28a4(0x2c3)]=null,_0x9beac5!==null?(this[_0x5e28a4(0x201)]=0x0,this[_0x5e28a4(0x212)]=!0x1,this[_0x5e28a4(0x2c4)]=0x0,_0xd46f12===void 0x0?_0xd46f12=[]:Array[_0x5e28a4(0x31e)](_0xd46f12)||(typeof _0xd46f12==_0x5e28a4(0x248)&&_0xd46f12!==null?(_0x3e1213=_0xd46f12,_0xd46f12=[]):_0xd46f12=[_0xd46f12]),_0x2cc048(this,_0x9beac5,_0xd46f12,_0x3e1213)):(this[_0x5e28a4(0x305)]=_0x3e1213[_0x5e28a4(0x2f7)],this['_isServer']=!0x0);}get[_0x3a4780(0x264)](){const _0x55a68b=_0x3a4780;return this[_0x55a68b(0x242)];}set[_0x3a4780(0x264)](_0x5b89e9){const _0x5e5776=_0x3a4780;_0xef16ad[_0x5e5776(0x314)](_0x5b89e9)&&(this[_0x5e5776(0x242)]=_0x5b89e9,this[_0x5e5776(0x302)]&&(this[_0x5e5776(0x302)]['_binaryType']=_0x5b89e9));}get[_0x3a4780(0x1c7)](){const _0x1249dc=_0x3a4780;return this[_0x1249dc(0x2c3)]?this['_socket'][_0x1249dc(0x217)][_0x1249dc(0x32a)]+this['_sender'][_0x1249dc(0x226)]:this[_0x1249dc(0x201)];}get[_0x3a4780(0x311)](){const _0xf76ebc=_0x3a4780;return Object[_0xf76ebc(0x379)](this[_0xf76ebc(0x35f)])[_0xf76ebc(0x26c)]();}get[_0x3a4780(0x313)](){const _0x17503f=_0x3a4780;return this[_0x17503f(0x1fd)];}get[_0x3a4780(0x26b)](){return null;}get[_0x3a4780(0x1ee)](){return null;}get[_0x3a4780(0x21a)](){return null;}get['onmessage'](){return null;}get[_0x3a4780(0x33d)](){const _0x2b155a=_0x3a4780;return this[_0x2b155a(0x321)];}get['readyState'](){const _0x105e5c=_0x3a4780;return this[_0x105e5c(0x236)];}get[_0x3a4780(0x2f6)](){return this['_url'];}[_0x3a4780(0x333)](_0x207e31,_0x11a880,_0x526a64){const _0x436bbc=_0x3a4780,_0x78d48e=new _0x5533ff({'allowSynchronousEvents':_0x526a64[_0x436bbc(0x2f1)],'binaryType':this[_0x436bbc(0x264)],'extensions':this[_0x436bbc(0x35f)],'isServer':this[_0x436bbc(0x212)],'maxPayload':_0x526a64[_0x436bbc(0x235)],'skipUTF8Validation':_0x526a64[_0x436bbc(0x2ed)]}),_0x7690e1=new _0x148601(_0x207e31,this['_extensions'],_0x526a64[_0x436bbc(0x328)]);this[_0x436bbc(0x302)]=_0x78d48e,this['_sender']=_0x7690e1,this[_0x436bbc(0x2c3)]=_0x207e31,_0x78d48e[_0x186c1f]=this,_0x7690e1[_0x186c1f]=this,_0x207e31[_0x186c1f]=this,_0x78d48e['on']('conclude',_0x5e5fa8),_0x78d48e['on']('drain',_0xd457ae),_0x78d48e['on'](_0x436bbc(0x1da),_0x48ad58),_0x78d48e['on']('message',_0x1af5d8),_0x78d48e['on']('ping',_0x9a6200),_0x78d48e['on'](_0x436bbc(0x263),_0x24ae9c),_0x7690e1[_0x436bbc(0x1ee)]=_0x3654b1,_0x207e31[_0x436bbc(0x30b)]&&_0x207e31[_0x436bbc(0x30b)](0x0),_0x207e31['setNoDelay']&&_0x207e31[_0x436bbc(0x2b8)](),_0x11a880[_0x436bbc(0x32a)]>0x0&&_0x207e31['unshift'](_0x11a880),_0x207e31['on'](_0x436bbc(0x33f),_0x2c8753),_0x207e31['on'](_0x436bbc(0x309),_0xffe9d6),_0x207e31['on']('end',_0x13a702),_0x207e31['on'](_0x436bbc(0x1da),_0x2a2e4f),this[_0x436bbc(0x236)]=_0x3e00d6[_0x436bbc(0x374)],this[_0x436bbc(0x233)]('open');}[_0x3a4780(0x1cf)](){const _0x616a4b=_0x3a4780;if(!this[_0x616a4b(0x2c3)]){this['_readyState']=_0x3e00d6[_0x616a4b(0x358)],this[_0x616a4b(0x233)](_0x616a4b(0x33f),this[_0x616a4b(0x238)],this[_0x616a4b(0x2e3)]);return;}this[_0x616a4b(0x35f)][_0x1a37cf[_0x616a4b(0x239)]]&&this['_extensions'][_0x1a37cf[_0x616a4b(0x239)]][_0x616a4b(0x2e1)](),this[_0x616a4b(0x302)][_0x616a4b(0x1f3)](),this[_0x616a4b(0x236)]=_0x3e00d6[_0x616a4b(0x358)],this[_0x616a4b(0x233)](_0x616a4b(0x33f),this[_0x616a4b(0x238)],this['_closeMessage']);}[_0x3a4780(0x33f)](_0x4c9449,_0x8af876){const _0xa72d16=_0x3a4780;if(this[_0xa72d16(0x28f)]!==_0x3e00d6['CLOSED']){if(this[_0xa72d16(0x28f)]===_0x3e00d6[_0xa72d16(0x1db)]){_0x34dd01(this,this[_0xa72d16(0x32c)],_0xa72d16(0x308));return;}if(this[_0xa72d16(0x28f)]===_0x3e00d6[_0xa72d16(0x1f1)]){this['_closeFrameSent']&&(this[_0xa72d16(0x2f4)]||this[_0xa72d16(0x302)][_0xa72d16(0x217)][_0xa72d16(0x34c)])&&this['_socket'][_0xa72d16(0x331)]();return;}this[_0xa72d16(0x236)]=_0x3e00d6[_0xa72d16(0x1f1)],this[_0xa72d16(0x32f)][_0xa72d16(0x33f)](_0x4c9449,_0x8af876,!this[_0xa72d16(0x212)],_0x1d3fce=>{const _0x1bb312=_0xa72d16;_0x1d3fce||(this[_0x1bb312(0x288)]=!0x0,(this[_0x1bb312(0x2f4)]||this[_0x1bb312(0x302)][_0x1bb312(0x217)]['errorEmitted'])&&this[_0x1bb312(0x2c3)]['end']());}),_0x55c577(this);}}[_0x3a4780(0x283)](){const _0x1df08d=_0x3a4780;this[_0x1df08d(0x28f)]===_0x3e00d6[_0x1df08d(0x1db)]||this[_0x1df08d(0x28f)]===_0x3e00d6[_0x1df08d(0x358)]||(this[_0x1df08d(0x1fd)]=!0x0,this[_0x1df08d(0x2c3)][_0x1df08d(0x283)]());}[_0x3a4780(0x1ca)](_0x161d46,_0x338982,_0xfbd180){const _0x1a3363=_0x3a4780;if(this['readyState']===_0x3e00d6[_0x1a3363(0x1db)])throw new Error(_0x1a3363(0x320));if(typeof _0x161d46==_0x1a3363(0x34d)?(_0xfbd180=_0x161d46,_0x161d46=_0x338982=void 0x0):typeof _0x338982==_0x1a3363(0x34d)&&(_0xfbd180=_0x338982,_0x338982=void 0x0),typeof _0x161d46==_0x1a3363(0x1ed)&&(_0x161d46=_0x161d46[_0x1a3363(0x29a)]()),this[_0x1a3363(0x28f)]!==_0x3e00d6[_0x1a3363(0x374)]){_0x16226e(this,_0x161d46,_0xfbd180);return;}_0x338982===void 0x0&&(_0x338982=!this[_0x1a3363(0x212)]),this[_0x1a3363(0x32f)]['ping'](_0x161d46||_0x27f238,_0x338982,_0xfbd180);}[_0x3a4780(0x263)](_0x5e9e83,_0xc36977,_0x1869e3){const _0x72d158=_0x3a4780;if(this[_0x72d158(0x28f)]===_0x3e00d6[_0x72d158(0x1db)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5e9e83=='function'?(_0x1869e3=_0x5e9e83,_0x5e9e83=_0xc36977=void 0x0):typeof _0xc36977==_0x72d158(0x34d)&&(_0x1869e3=_0xc36977,_0xc36977=void 0x0),typeof _0x5e9e83==_0x72d158(0x1ed)&&(_0x5e9e83=_0x5e9e83[_0x72d158(0x29a)]()),this[_0x72d158(0x28f)]!==_0x3e00d6[_0x72d158(0x374)]){_0x16226e(this,_0x5e9e83,_0x1869e3);return;}_0xc36977===void 0x0&&(_0xc36977=!this[_0x72d158(0x212)]),this[_0x72d158(0x32f)][_0x72d158(0x263)](_0x5e9e83||_0x27f238,_0xc36977,_0x1869e3);}[_0x3a4780(0x29d)](){const _0x4fbbfc=_0x3a4780;this['readyState']===_0x3e00d6[_0x4fbbfc(0x1db)]||this[_0x4fbbfc(0x28f)]===_0x3e00d6[_0x4fbbfc(0x358)]||(this[_0x4fbbfc(0x1fd)]=!0x1,this['_receiver']['_writableState']['needDrain']||this[_0x4fbbfc(0x2c3)]['resume']());}[_0x3a4780(0x306)](_0x292484,_0x2e1811,_0x57b032){const _0x37bcba=_0x3a4780;if(this[_0x37bcba(0x28f)]===_0x3e00d6[_0x37bcba(0x1db)])throw new Error(_0x37bcba(0x320));if(typeof _0x2e1811==_0x37bcba(0x34d)&&(_0x57b032=_0x2e1811,_0x2e1811={}),typeof _0x292484==_0x37bcba(0x1ed)&&(_0x292484=_0x292484[_0x37bcba(0x29a)]()),this[_0x37bcba(0x28f)]!==_0x3e00d6[_0x37bcba(0x374)]){_0x16226e(this,_0x292484,_0x57b032);return;}const _0x59f174={'binary':typeof _0x292484!=_0x37bcba(0x352),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2e1811};this[_0x37bcba(0x35f)][_0x1a37cf[_0x37bcba(0x239)]]||(_0x59f174[_0x37bcba(0x250)]=!0x1),this[_0x37bcba(0x32f)][_0x37bcba(0x306)](_0x292484||_0x27f238,_0x59f174,_0x57b032);}[_0x3a4780(0x30f)](){const _0x4899dd=_0x3a4780;if(this[_0x4899dd(0x28f)]!==_0x3e00d6['CLOSED']){if(this[_0x4899dd(0x28f)]===_0x3e00d6['CONNECTING']){_0x34dd01(this,this['_req'],_0x4899dd(0x308));return;}this[_0x4899dd(0x2c3)]&&(this['_readyState']=_0x3e00d6[_0x4899dd(0x1f1)],this[_0x4899dd(0x2c3)]['destroy']());}}}Object[_0x3a4780(0x2a5)](_0x3e00d6,_0x3a4780(0x1db),{'enumerable':!0x0,'value':_0x4b9374[_0x3a4780(0x27a)](_0x3a4780(0x1db))}),Object[_0x3a4780(0x2a5)](_0x3e00d6[_0x3a4780(0x1dd)],_0x3a4780(0x1db),{'enumerable':!0x0,'value':_0x4b9374[_0x3a4780(0x27a)](_0x3a4780(0x1db))}),Object[_0x3a4780(0x2a5)](_0x3e00d6,_0x3a4780(0x374),{'enumerable':!0x0,'value':_0x4b9374['indexOf'](_0x3a4780(0x374))}),Object[_0x3a4780(0x2a5)](_0x3e00d6[_0x3a4780(0x1dd)],_0x3a4780(0x374),{'enumerable':!0x0,'value':_0x4b9374['indexOf'](_0x3a4780(0x374))}),Object[_0x3a4780(0x2a5)](_0x3e00d6,_0x3a4780(0x1f1),{'enumerable':!0x0,'value':_0x4b9374[_0x3a4780(0x27a)](_0x3a4780(0x1f1))}),Object[_0x3a4780(0x2a5)](_0x3e00d6['prototype'],_0x3a4780(0x1f1),{'enumerable':!0x0,'value':_0x4b9374['indexOf'](_0x3a4780(0x1f1))}),Object[_0x3a4780(0x2a5)](_0x3e00d6,'CLOSED',{'enumerable':!0x0,'value':_0x4b9374[_0x3a4780(0x27a)](_0x3a4780(0x358))}),Object['defineProperty'](_0x3e00d6[_0x3a4780(0x1dd)],_0x3a4780(0x358),{'enumerable':!0x0,'value':_0x4b9374['indexOf'](_0x3a4780(0x358))}),[_0x3a4780(0x264),_0x3a4780(0x1c7),'extensions','isPaused',_0x3a4780(0x33d),_0x3a4780(0x28f),_0x3a4780(0x2f6)][_0x3a4780(0x35a)](_0x570068=>{const _0x85e4ee=_0x3a4780;Object['defineProperty'](_0x3e00d6[_0x85e4ee(0x1dd)],_0x570068,{'enumerable':!0x0});}),[_0x3a4780(0x336),_0x3a4780(0x1da),_0x3a4780(0x33f),'message']['forEach'](_0x518904=>{const _0x302cc1=_0x3a4780;Object[_0x302cc1(0x2a5)](_0x3e00d6['prototype'],'on'+_0x518904,{'enumerable':!0x0,'get'(){const _0x5678c4=_0x302cc1;for(const _0x2e1909 of this[_0x5678c4(0x1d0)](_0x518904))if(_0x2e1909[_0x2d3045])return _0x2e1909[_0x2f7c16];return null;},'set'(_0x51e96d){const _0x384ae6=_0x302cc1;for(const _0x3051b9 of this[_0x384ae6(0x1d0)](_0x518904))if(_0x3051b9[_0x2d3045]){this['removeListener'](_0x518904,_0x3051b9);break;}typeof _0x51e96d=='function'&&this[_0x384ae6(0x1d7)](_0x518904,_0x51e96d,{[_0x2d3045]:!0x0});}});}),_0x3e00d6['prototype'][_0x3a4780(0x1d7)]=_0x3ea8e7,_0x3e00d6[_0x3a4780(0x1dd)][_0x3a4780(0x215)]=_0x538087,we=_0x3e00d6;function _0x2cc048(_0x544c0a,_0x55ccaa,_0x161bd9,_0x13de2c){const _0x14e6b3=_0x3a4780,_0x17517e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x102eac[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x13de2c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x14e6b3(0x34a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x544c0a['_autoPong']=_0x17517e['autoPong'],!_0x102eac[_0x14e6b3(0x314)](_0x17517e[_0x14e6b3(0x323)]))throw new RangeError(_0x14e6b3(0x335)+_0x17517e['protocolVersion']+_0x14e6b3(0x1c5)+_0x102eac[_0x14e6b3(0x26c)](',\x20')+')');let _0x2b5558;if(_0x55ccaa instanceof _0x2201d1)_0x2b5558=_0x55ccaa;else try{_0x2b5558=new _0x2201d1(_0x55ccaa);}catch{throw new SyntaxError(_0x14e6b3(0x34f)+_0x55ccaa);}_0x2b5558[_0x14e6b3(0x33d)]===_0x14e6b3(0x25a)?_0x2b5558['protocol']=_0x14e6b3(0x29c):_0x2b5558['protocol']===_0x14e6b3(0x2b9)&&(_0x2b5558['protocol']=_0x14e6b3(0x378)),_0x544c0a[_0x14e6b3(0x312)]=_0x2b5558[_0x14e6b3(0x364)];const _0x4bdaf9=_0x2b5558['protocol']===_0x14e6b3(0x378),_0xee6dd7=_0x2b5558[_0x14e6b3(0x33d)]===_0x14e6b3(0x316);let _0x2daf4e;if(_0x2b5558['protocol']!==_0x14e6b3(0x29c)&&!_0x4bdaf9&&!_0xee6dd7?_0x2daf4e=_0x14e6b3(0x2c0):_0xee6dd7&&!_0x2b5558['pathname']?_0x2daf4e=_0x14e6b3(0x2d0):_0x2b5558['hash']&&(_0x2daf4e=_0x14e6b3(0x2da)),_0x2daf4e){const _0x188f18=new SyntaxError(_0x2daf4e);if(_0x544c0a[_0x14e6b3(0x2c4)]===0x0)throw _0x188f18;_0x48d30e(_0x544c0a,_0x188f18);return;}const _0xd4921e=_0x4bdaf9?0x1bb:0x50,_0x393758=_0x65328e(0x10)[_0x14e6b3(0x29a)]('base64'),_0x47d067=_0x4bdaf9?_0x179e79['request']:_0x1d9ffd[_0x14e6b3(0x24c)],_0x1aaf89=new Set();let _0x202816;if(_0x17517e['createConnection']=_0x17517e[_0x14e6b3(0x1e1)]||(_0x4bdaf9?_0x4930bc:_0x22bd16),_0x17517e[_0x14e6b3(0x2db)]=_0x17517e[_0x14e6b3(0x2db)]||_0xd4921e,_0x17517e[_0x14e6b3(0x2de)]=_0x2b5558[_0x14e6b3(0x2de)]||_0xd4921e,_0x17517e[_0x14e6b3(0x261)]=_0x2b5558[_0x14e6b3(0x23e)][_0x14e6b3(0x315)]('[')?_0x2b5558['hostname']['slice'](0x1,-0x1):_0x2b5558['hostname'],_0x17517e[_0x14e6b3(0x365)]={..._0x17517e[_0x14e6b3(0x365)],'Sec-WebSocket-Version':_0x17517e[_0x14e6b3(0x323)],'Sec-WebSocket-Key':_0x393758,'Connection':'Upgrade','Upgrade':_0x14e6b3(0x1ef)},_0x17517e[_0x14e6b3(0x2fc)]=_0x2b5558[_0x14e6b3(0x1f4)]+_0x2b5558['search'],_0x17517e[_0x14e6b3(0x355)]=_0x17517e['handshakeTimeout'],_0x17517e[_0x14e6b3(0x2a7)]&&(_0x202816=new _0x1a37cf(_0x17517e[_0x14e6b3(0x2a7)]!==!0x0?_0x17517e[_0x14e6b3(0x2a7)]:{},!0x1,_0x17517e[_0x14e6b3(0x235)]),_0x17517e[_0x14e6b3(0x365)][_0x14e6b3(0x1f9)]=_0x4e8ee1({[_0x1a37cf[_0x14e6b3(0x239)]]:_0x202816[_0x14e6b3(0x344)]()})),_0x161bd9['length']){for(const _0x3a6553 of _0x161bd9){if(typeof _0x3a6553!='string'||!_0x1ce90f[_0x14e6b3(0x2f8)](_0x3a6553)||_0x1aaf89[_0x14e6b3(0x2a3)](_0x3a6553))throw new SyntaxError(_0x14e6b3(0x1d3));_0x1aaf89[_0x14e6b3(0x1c9)](_0x3a6553);}_0x17517e[_0x14e6b3(0x365)][_0x14e6b3(0x269)]=_0x161bd9[_0x14e6b3(0x26c)](',');}if(_0x17517e['origin']&&(_0x17517e['protocolVersion']<0xd?_0x17517e['headers'][_0x14e6b3(0x347)]=_0x17517e[_0x14e6b3(0x2c6)]:_0x17517e[_0x14e6b3(0x365)][_0x14e6b3(0x208)]=_0x17517e['origin']),(_0x2b5558[_0x14e6b3(0x30d)]||_0x2b5558['password'])&&(_0x17517e['auth']=_0x2b5558[_0x14e6b3(0x30d)]+':'+_0x2b5558[_0x14e6b3(0x22d)]),_0xee6dd7){const _0x255619=_0x17517e[_0x14e6b3(0x2fc)][_0x14e6b3(0x2f2)](':');_0x17517e[_0x14e6b3(0x332)]=_0x255619[0x0],_0x17517e[_0x14e6b3(0x2fc)]=_0x255619[0x1];}let _0x246849;if(_0x17517e[_0x14e6b3(0x257)]){if(_0x544c0a['_redirects']===0x0){_0x544c0a[_0x14e6b3(0x371)]=_0xee6dd7,_0x544c0a[_0x14e6b3(0x349)]=_0x4bdaf9,_0x544c0a[_0x14e6b3(0x29f)]=_0xee6dd7?_0x17517e[_0x14e6b3(0x332)]:_0x2b5558[_0x14e6b3(0x261)];const _0x1a595c=_0x13de2c&&_0x13de2c[_0x14e6b3(0x365)];if(_0x13de2c={..._0x13de2c,'headers':{}},_0x1a595c){for(const [_0x11799c,_0x3c3498]of Object[_0x14e6b3(0x225)](_0x1a595c))_0x13de2c[_0x14e6b3(0x365)][_0x11799c[_0x14e6b3(0x2aa)]()]=_0x3c3498;}}else{if(_0x544c0a['listenerCount']('redirect')===0x0){const _0x503c5d=_0xee6dd7?_0x544c0a[_0x14e6b3(0x371)]?_0x17517e['socketPath']===_0x544c0a[_0x14e6b3(0x29f)]:!0x1:_0x544c0a[_0x14e6b3(0x371)]?!0x1:_0x2b5558[_0x14e6b3(0x261)]===_0x544c0a[_0x14e6b3(0x29f)];(!_0x503c5d||_0x544c0a[_0x14e6b3(0x349)]&&!_0x4bdaf9)&&(delete _0x17517e['headers']['authorization'],delete _0x17517e['headers'][_0x14e6b3(0x324)],_0x503c5d||delete _0x17517e[_0x14e6b3(0x365)][_0x14e6b3(0x261)],_0x17517e['auth']=void 0x0);}}_0x17517e[_0x14e6b3(0x303)]&&!_0x13de2c[_0x14e6b3(0x365)]['authorization']&&(_0x13de2c[_0x14e6b3(0x365)]['authorization']='Basic\x20'+Buffer[_0x14e6b3(0x2f0)](_0x17517e[_0x14e6b3(0x303)])['toString']('base64')),_0x246849=_0x544c0a[_0x14e6b3(0x32c)]=_0x47d067(_0x17517e),_0x544c0a[_0x14e6b3(0x2c4)]&&_0x544c0a[_0x14e6b3(0x233)](_0x14e6b3(0x221),_0x544c0a[_0x14e6b3(0x2f6)],_0x246849);}else _0x246849=_0x544c0a['_req']=_0x47d067(_0x17517e);_0x17517e[_0x14e6b3(0x355)]&&_0x246849['on']('timeout',()=>{_0x34dd01(_0x544c0a,_0x246849,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x246849['on'](_0x14e6b3(0x1da),_0x58f1e9=>{const _0x44b1d3=_0x14e6b3;_0x246849===null||_0x246849[_0x2c7d09]||(_0x246849=_0x544c0a[_0x44b1d3(0x32c)]=null,_0x48d30e(_0x544c0a,_0x58f1e9));}),_0x246849['on']('response',_0x3669e1=>{const _0x40572c=_0x14e6b3,_0x26c2dc=_0x3669e1[_0x40572c(0x365)][_0x40572c(0x268)],_0x44c871=_0x3669e1[_0x40572c(0x2cd)];if(_0x26c2dc&&_0x17517e[_0x40572c(0x257)]&&_0x44c871>=0x12c&&_0x44c871<0x190){if(++_0x544c0a[_0x40572c(0x2c4)]>_0x17517e[_0x40572c(0x345)]){_0x34dd01(_0x544c0a,_0x246849,_0x40572c(0x2cc));return;}_0x246849[_0x40572c(0x36f)]();let _0x39c742;try{_0x39c742=new _0x2201d1(_0x26c2dc,_0x55ccaa);}catch{const _0x2637a0=new SyntaxError(_0x40572c(0x34f)+_0x26c2dc);_0x48d30e(_0x544c0a,_0x2637a0);return;}_0x2cc048(_0x544c0a,_0x39c742,_0x161bd9,_0x13de2c);}else _0x544c0a['emit'](_0x40572c(0x2b6),_0x246849,_0x3669e1)||_0x34dd01(_0x544c0a,_0x246849,_0x40572c(0x27e)+_0x3669e1[_0x40572c(0x2cd)]);}),_0x246849['on']('upgrade',(_0x2b0bd5,_0x196856,_0x5bcbf3)=>{const _0x5da09b=_0x14e6b3;if(_0x544c0a[_0x5da09b(0x233)](_0x5da09b(0x35b),_0x2b0bd5),_0x544c0a['readyState']!==_0x3e00d6['CONNECTING'])return;_0x246849=_0x544c0a[_0x5da09b(0x32c)]=null;const _0xb9c06f=_0x2b0bd5['headers'][_0x5da09b(0x35b)];if(_0xb9c06f===void 0x0||_0xb9c06f[_0x5da09b(0x2aa)]()!==_0x5da09b(0x1ef)){_0x34dd01(_0x544c0a,_0x196856,'Invalid\x20Upgrade\x20header');return;}const _0x104b98=_0x17cb5f('sha1')[_0x5da09b(0x359)](_0x393758+_0x517b1d)[_0x5da09b(0x219)]('base64');if(_0x2b0bd5['headers'][_0x5da09b(0x2ab)]!==_0x104b98){_0x34dd01(_0x544c0a,_0x196856,_0x5da09b(0x234));return;}const _0xbc4901=_0x2b0bd5[_0x5da09b(0x365)][_0x5da09b(0x1d8)];let _0x430677;if(_0xbc4901!==void 0x0?_0x1aaf89[_0x5da09b(0x2ae)]?_0x1aaf89[_0x5da09b(0x2a3)](_0xbc4901)||(_0x430677=_0x5da09b(0x2b2)):_0x430677=_0x5da09b(0x22e):_0x1aaf89[_0x5da09b(0x2ae)]&&(_0x430677=_0x5da09b(0x29b)),_0x430677){_0x34dd01(_0x544c0a,_0x196856,_0x430677);return;}_0xbc4901&&(_0x544c0a[_0x5da09b(0x321)]=_0xbc4901);const _0x204d8f=_0x2b0bd5['headers'][_0x5da09b(0x33e)];if(_0x204d8f!==void 0x0){if(!_0x202816){_0x34dd01(_0x544c0a,_0x196856,_0x5da09b(0x340));return;}let _0x11f09f;try{_0x11f09f=_0x548c95(_0x204d8f);}catch{_0x34dd01(_0x544c0a,_0x196856,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x14a930=Object[_0x5da09b(0x379)](_0x11f09f);if(_0x14a930[_0x5da09b(0x32a)]!==0x1||_0x14a930[0x0]!==_0x1a37cf[_0x5da09b(0x239)]){_0x34dd01(_0x544c0a,_0x196856,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x202816[_0x5da09b(0x291)](_0x11f09f[_0x1a37cf['extensionName']]);}catch{_0x34dd01(_0x544c0a,_0x196856,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x544c0a[_0x5da09b(0x35f)][_0x1a37cf[_0x5da09b(0x239)]]=_0x202816;}_0x544c0a[_0x5da09b(0x333)](_0x196856,_0x5bcbf3,{'allowSynchronousEvents':_0x17517e['allowSynchronousEvents'],'generateMask':_0x17517e[_0x5da09b(0x328)],'maxPayload':_0x17517e[_0x5da09b(0x235)],'skipUTF8Validation':_0x17517e[_0x5da09b(0x2ed)]});}),_0x17517e[_0x14e6b3(0x1be)]?_0x17517e[_0x14e6b3(0x1be)](_0x246849,_0x544c0a):_0x246849['end']();}function _0x48d30e(_0x5e4216,_0x533c94){const _0x42695d=_0x3a4780;_0x5e4216[_0x42695d(0x236)]=_0x3e00d6[_0x42695d(0x1f1)],_0x5e4216[_0x42695d(0x275)]=!0x0,_0x5e4216[_0x42695d(0x233)]('error',_0x533c94),_0x5e4216[_0x42695d(0x1cf)]();}function _0x22bd16(_0x25a630){const _0x2b2bef=_0x3a4780;return _0x25a630['path']=_0x25a630[_0x2b2bef(0x332)],_0x229c3c[_0x2b2bef(0x2c7)](_0x25a630);}function _0x4930bc(_0x89ba25){const _0x34629d=_0x3a4780;return _0x89ba25['path']=void 0x0,!_0x89ba25['servername']&&_0x89ba25['servername']!==''&&(_0x89ba25[_0x34629d(0x27c)]=_0x229c3c[_0x34629d(0x2fd)](_0x89ba25[_0x34629d(0x261)])?'':_0x89ba25[_0x34629d(0x261)]),_0x262881['connect'](_0x89ba25);}function _0x34dd01(_0x4b62b4,_0x34f1fd,_0x588ba6){const _0xeb4f64=_0x3a4780;_0x4b62b4['_readyState']=_0x3e00d6[_0xeb4f64(0x1f1)];const _0x2b81ab=new Error(_0x588ba6);Error[_0xeb4f64(0x240)](_0x2b81ab,_0x34dd01),_0x34f1fd[_0xeb4f64(0x2cf)]?(_0x34f1fd[_0x2c7d09]=!0x0,_0x34f1fd['abort'](),_0x34f1fd[_0xeb4f64(0x28b)]&&!_0x34f1fd[_0xeb4f64(0x28b)][_0xeb4f64(0x354)]&&_0x34f1fd[_0xeb4f64(0x28b)]['destroy'](),process[_0xeb4f64(0x1c4)](_0x48d30e,_0x4b62b4,_0x2b81ab)):(_0x34f1fd['destroy'](_0x2b81ab),_0x34f1fd[_0xeb4f64(0x32d)](_0xeb4f64(0x1da),_0x4b62b4['emit'][_0xeb4f64(0x2eb)](_0x4b62b4,'error')),_0x34f1fd[_0xeb4f64(0x32d)]('close',_0x4b62b4[_0xeb4f64(0x1cf)][_0xeb4f64(0x2eb)](_0x4b62b4)));}function _0x16226e(_0x27c8a4,_0x59606d,_0x4e5e09){const _0x2e0e7b=_0x3a4780;if(_0x59606d){const _0x525c37=_0x2bea0f(_0x59606d)?_0x59606d[_0x2e0e7b(0x2ae)]:_0x4a014f(_0x59606d)[_0x2e0e7b(0x32a)];_0x27c8a4[_0x2e0e7b(0x2c3)]?_0x27c8a4[_0x2e0e7b(0x32f)][_0x2e0e7b(0x226)]+=_0x525c37:_0x27c8a4['_bufferedAmount']+=_0x525c37;}if(_0x4e5e09){const _0x2d46f6=new Error(_0x2e0e7b(0x1f7)+_0x27c8a4[_0x2e0e7b(0x28f)]+'\x20('+_0x4b9374[_0x27c8a4['readyState']]+')');process[_0x2e0e7b(0x1c4)](_0x4e5e09,_0x2d46f6);}}function _0x5e5fa8(_0x296566,_0x2094be){const _0x5ef4e2=_0x3a4780,_0xf2bfe8=this[_0x186c1f];_0xf2bfe8[_0x5ef4e2(0x2f4)]=!0x0,_0xf2bfe8[_0x5ef4e2(0x2e3)]=_0x2094be,_0xf2bfe8['_closeCode']=_0x296566,_0xf2bfe8[_0x5ef4e2(0x2c3)][_0x186c1f]!==void 0x0&&(_0xf2bfe8[_0x5ef4e2(0x2c3)][_0x5ef4e2(0x2bd)](_0x5ef4e2(0x309),_0xffe9d6),process[_0x5ef4e2(0x1c4)](_0x3cdc5d,_0xf2bfe8[_0x5ef4e2(0x2c3)]),_0x296566===0x3ed?_0xf2bfe8[_0x5ef4e2(0x33f)]():_0xf2bfe8['close'](_0x296566,_0x2094be));}function _0xd457ae(){const _0x50a55d=_0x3a4780,_0x55ecc4=this[_0x186c1f];_0x55ecc4[_0x50a55d(0x313)]||_0x55ecc4[_0x50a55d(0x2c3)]['resume']();}function _0x48ad58(_0x5c438d){const _0x2f13a5=_0x3a4780,_0xa2383d=this[_0x186c1f];_0xa2383d[_0x2f13a5(0x2c3)][_0x186c1f]!==void 0x0&&(_0xa2383d[_0x2f13a5(0x2c3)][_0x2f13a5(0x2bd)](_0x2f13a5(0x309),_0xffe9d6),process[_0x2f13a5(0x1c4)](_0x3cdc5d,_0xa2383d['_socket']),_0xa2383d[_0x2f13a5(0x33f)](_0x5c438d[_0x285996])),_0xa2383d[_0x2f13a5(0x275)]||(_0xa2383d[_0x2f13a5(0x275)]=!0x0,_0xa2383d[_0x2f13a5(0x233)]('error',_0x5c438d));}function _0x15f29b(){const _0x1c0c0e=_0x3a4780;this[_0x186c1f][_0x1c0c0e(0x1cf)]();}function _0x1af5d8(_0x324634,_0x183352){const _0x55a6ca=_0x3a4780;this[_0x186c1f][_0x55a6ca(0x233)]('message',_0x324634,_0x183352);}function _0x9a6200(_0x4ae0a4){const _0x3c6501=_0x3a4780,_0x24ee5f=this[_0x186c1f];_0x24ee5f[_0x3c6501(0x305)]&&_0x24ee5f['pong'](_0x4ae0a4,!this[_0x3c6501(0x212)],_0x31c3ac),_0x24ee5f['emit'](_0x3c6501(0x1ca),_0x4ae0a4);}function _0x24ae9c(_0xccf5f0){const _0x161cd6=_0x3a4780;this[_0x186c1f][_0x161cd6(0x233)](_0x161cd6(0x263),_0xccf5f0);}function _0x3cdc5d(_0xc45108){const _0x2d0bac=_0x3a4780;_0xc45108[_0x2d0bac(0x29d)]();}function _0x3654b1(_0x16e64d){const _0x5b03e7=_0x3a4780,_0x52db3d=this[_0x186c1f];_0x52db3d['readyState']!==_0x3e00d6['CLOSED']&&(_0x52db3d[_0x5b03e7(0x28f)]===_0x3e00d6['OPEN']&&(_0x52db3d[_0x5b03e7(0x236)]=_0x3e00d6['CLOSING'],_0x55c577(_0x52db3d)),this[_0x5b03e7(0x2c3)][_0x5b03e7(0x331)](),_0x52db3d[_0x5b03e7(0x275)]||(_0x52db3d[_0x5b03e7(0x275)]=!0x0,_0x52db3d[_0x5b03e7(0x233)]('error',_0x16e64d)));}function _0x55c577(_0x1975e){const _0x3da661=_0x3a4780;_0x1975e[_0x3da661(0x1de)]=setTimeout(_0x1975e[_0x3da661(0x2c3)]['destroy'][_0x3da661(0x2eb)](_0x1975e['_socket']),_0x50393c);}function _0x2c8753(){const _0x13ccaa=_0x3a4780,_0x342831=this[_0x186c1f];this[_0x13ccaa(0x2bd)](_0x13ccaa(0x33f),_0x2c8753),this[_0x13ccaa(0x2bd)]('data',_0xffe9d6),this[_0x13ccaa(0x2bd)](_0x13ccaa(0x331),_0x13a702),_0x342831[_0x13ccaa(0x236)]=_0x3e00d6['CLOSING'];let _0x2171bc;!this[_0x13ccaa(0x2ee)][_0x13ccaa(0x25e)]&&!_0x342831[_0x13ccaa(0x2f4)]&&!_0x342831['_receiver'][_0x13ccaa(0x217)][_0x13ccaa(0x34c)]&&(_0x2171bc=_0x342831[_0x13ccaa(0x2c3)][_0x13ccaa(0x356)]())!==null&&_0x342831[_0x13ccaa(0x302)][_0x13ccaa(0x318)](_0x2171bc),_0x342831[_0x13ccaa(0x302)][_0x13ccaa(0x331)](),this[_0x186c1f]=void 0x0,clearTimeout(_0x342831[_0x13ccaa(0x1de)]),_0x342831[_0x13ccaa(0x302)][_0x13ccaa(0x217)][_0x13ccaa(0x228)]||_0x342831['_receiver'][_0x13ccaa(0x217)][_0x13ccaa(0x34c)]?_0x342831[_0x13ccaa(0x1cf)]():(_0x342831[_0x13ccaa(0x302)]['on'](_0x13ccaa(0x1da),_0x15f29b),_0x342831['_receiver']['on'](_0x13ccaa(0x232),_0x15f29b));}function _0xffe9d6(_0x354180){const _0x2497cc=_0x3a4780;this[_0x186c1f][_0x2497cc(0x302)][_0x2497cc(0x318)](_0x354180)||this[_0x2497cc(0x283)]();}function _0x13a702(){const _0xfcd372=_0x3a4780,_0x538979=this[_0x186c1f];_0x538979[_0xfcd372(0x236)]=_0x3e00d6['CLOSING'],_0x538979[_0xfcd372(0x302)][_0xfcd372(0x331)](),this[_0xfcd372(0x331)]();}function _0x2a2e4f(){const _0x2a8ecb=_0x3a4780,_0x731c4f=this[_0x186c1f];this['removeListener'](_0x2a8ecb(0x1da),_0x2a2e4f),this['on'](_0x2a8ecb(0x1da),_0x31c3ac),_0x731c4f&&(_0x731c4f[_0x2a8ecb(0x236)]=_0x3e00d6['CLOSING'],this[_0x2a8ecb(0x33c)]());}return we;}function _0x186f(){const _0x351e8c=['_no_context_takeover','password','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','registerDependencies','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','listen','finish','emit','Invalid\x20Sec-WebSocket-Accept\x20header','maxPayload','_readyState','apply','_closeCode','extensionName','2264178KehvYX','_fin','createInflateRaw','RSV1\x20must\x20be\x20clear','hostname','message','captureStackTrace','sha1','_binaryType','getInfo','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','call','arrayBuffer','object','kListener','createSocket','serverMaxWindowBits','request','alloc','452650qyxCJI','startLoop','compress','3ozqhdO','handleEvent','The\x20server\x20is\x20not\x20running','_removeListeners','_shouldEmitClose','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','followRedirects','byteLength','_deflate','http:','isServer','_final','13,\x208','endEmitted','ILogService','_options','host','connection','pong','binaryType','map','WS_ERR_UNEXPECTED_RSV_2_3','method','location','Sec-WebSocket-Protocol','MASK\x20must\x20be\x20clear','onclose','join','createError','_server','_queue','consume','get','set','isValidUTF8','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_errorEmitted','find','getData','COLLABORATION_CLIENT_NODE_CONFIG_KEY','NodeCollaborationSocketService','indexOf','_skipUTF8Validation','servername','encrypted','Unexpected\x20server\x20response:\x20','kMessage','options','Injector','readUInt16BE','pause','customHeaders','WS_NO_BUFFER_UTIL','Connection:\x20Upgrade','Inject','_closeFrameSent','writable','kReason','socket','verifyClient','_inflate','_opcode','readyState','sec-websocket-key','accept','concurrency','kData','1022298ksgAEu','UniverCollaborationClientNodePlugin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','invalid\x20opcode\x20','WS_ERR_EXPECTED_FIN','wsClientError','toString','Server\x20sent\x20no\x20subprotocol','ws:','resume','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_originalHostOrSocketPath','acceptAsServer','params','handleUpgrade','has','_payloadLength','defineProperty','sec-websocket-version','perMessageDeflate','listening','toDisposable','toLowerCase','sec-websocket-accept','parse','STATUS_CODES','size','concat','then','_max_window_bits','Server\x20sent\x20an\x20invalid\x20subprotocol','HTTP/1.1\x20101\x20Switching\x20Protocols','controlMessage','hasOwnProperty','unexpected-response','_decompress','setNoDelay','https:','stream','WS_ERR_EXPECTED_MASK','Parameter\x20\x22','removeListener','HTTP/1.1\x20','noServer','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','threshold','rsv1','_socket','_redirects','code','origin','connect','getPayloadLength16','IConfigService','next','permessage-deflate','Maximum\x20redirects\x20exceeded','statusCode','server','setHeader','The\x20URL\x27s\x20pathname\x20is\x20empty','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Module','pipe','address','share','273786wZLYry','toStringTag','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kRun','The\x20URL\x20contains\x20a\x20fragment\x20identifier','defaultPort','Invalid\x20Upgrade\x20header','exports','port','_maxPayload','dataMessage','cleanup','reason','_closeMessage','values','_fragmented','jobs','blob','total-length','readUInt32BE','server_no_context_takeover','bind','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','skipUTF8Validation','_readableState','frame','from','allowSynchronousEvents','split','client_max_window_bits','_closeFrameReceived','isInteger','url','autoPong','test','Plugin','readOnly','fin','path','isIP','writeUIntBE','10ywYLuA','invalid\x20status\x20code\x20','The\x20\x22','_receiver','auth','kError','_autoPong','send','Max\x20payload\x20size\x20exceeded','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','data','normalizeParams','setTimeout','_totalPayloadLength','username','conclude','terminate','_buffers','extensions','_url','isPaused','includes','startsWith','ws+unix:','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','write','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','allocUnsafe','species','zlibInflateOptions','charCodeAt','isArray','_messageLength','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_protocol','handleProtocols','protocolVersion','cookie','getOwnPropertyDescriptor','_firstFragment','WS_NO_UTF_8_VALIDATE','generateMask','Z_DEFAULT_WINDOWBITS','length','replace','_req','once','invalid\x20opcode\x200','_sender','_errored','end','socketPath','setSocket','2906064AfZFEX','Unsupported\x20protocol\x20version:\x20','open','getMask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','dispose','kByteLength','kDone','destroy','protocol','sec-websocket-extensions','close','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','enqueue','value','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','offer','maxRedirects','HTTPService','Sec-WebSocket-Origin','slice','_originalSecure','GET','kWasClean','errorEmitted','function','clientNoContextTakeover','Invalid\x20URL:\x20','1737040LkoVfy','completeUpgrade','string','byteOffset','destroyed','timeout','read','_compressed','CLOSED','update','forEach','upgrade','invalid\x20UTF-8\x20sequence','WS_ERR_UNEXPECTED_RSV_1','unmask','_extensions','__esModule','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_compress','registerHTTPInterceptor','href','headers','_maskBuffer','push','1345764kPNikp','decompress','backlog','_mask','target','Disposable','listenerCount','abort','format','_originalIpc','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','fragments','OPEN','server_max_window_bits','getConfig','base64','wss:','keys','kAborted','_destroy','WS_ERR_INVALID_UTF8','buffer','getPayloadLength64','pow','freeze','finishRequest','File','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','collaboration-client-node.config','create','acceptAsClient','nextTick','\x20(supported\x20versions:\x20','clients','bufferedAmount','reset','add','ping','clientMaxWindowBits','serverNoContextTakeover','delete','type','emitClose','listeners','_fragments','dequeue','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','ISocketService','env','default','addEventListener','sec-websocket-protocol','shift','error','CONNECTING','wasClean','prototype','_closeTimer','_state','catch','createConnection','arraybuffer','\x22\x20subprotocol\x20is\x20duplicated','_httpService','nodebuffer','WS_ERR_UNEXPECTED_MASK','buffers','haveLength','_loop','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Unexpected\x20end\x20of\x20input','getBlobData','number','onerror','websocket','_threshold','CLOSING','binary','removeAllListeners','pathname','dispatch','Upgrade:\x20websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','writeUInt16BE','Sec-WebSocket-Extensions','cork','sendFrame','CollaborationSocketService','_paused','pending','objectMode','maskBuffer','_bufferedAmount','FIN\x20must\x20be\x20set','flush','_read','isView','DisposableCollection','concurrencyLimit','Origin','Invalid\x20value\x20for\x20parameter\x20\x22','WS_ERR_INVALID_OPCODE','Cookie','Invalid\x20HTTP\x20method','_masked','Unexpected\x20character\x20at\x20index\x20','_injector','_allowSynchronousEvents','client_no_context_takeover','_isServer','_configService','constructor','removeEventListener','createServer','_writableState','mask','digest','onopen','client','_generateMask','Sec-WebSocket-Accept:\x20','\x22:\x20','sec-websocket-origin','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','redirect','\x0d\x0a\x0d\x0a','kType','kTarget','entries','_bufferedBytes','Unknown\x20parameter\x20\x22','finished','ISnapshotServerService','_write','Observable'];_0x186f=function(){return _0x351e8c;};return _0x186f();}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x398c7f}=oe;function _0x14f943(_0x4822ce){_0x4822ce['emit']('close');}function _0x3e9e4e(){const _0x21d513=_0x2d0b;!this[_0x21d513(0x354)]&&this[_0x21d513(0x217)]['finished']&&this['destroy']();}function _0x281c6e(_0x400fd8){const _0x564fc2=_0x2d0b;this[_0x564fc2(0x2bd)](_0x564fc2(0x1da),_0x281c6e),this[_0x564fc2(0x33c)](),this[_0x564fc2(0x36e)](_0x564fc2(0x1da))===0x0&&this[_0x564fc2(0x233)](_0x564fc2(0x1da),_0x400fd8);}function _0x4ff8a0(_0x58bc01,_0x43d4f4){const _0x555615=_0x2d0b;let _0x11a117=!0x0;const _0x116500=new _0x398c7f({..._0x43d4f4,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x58bc01['on'](_0x555615(0x23f),function(_0x5a1df5,_0x1d0e22){const _0x269d35=_0x555615,_0x9546f9=!_0x1d0e22&&_0x116500[_0x269d35(0x2ee)][_0x269d35(0x1ff)]?_0x5a1df5[_0x269d35(0x29a)]():_0x5a1df5;_0x116500['push'](_0x9546f9)||_0x58bc01[_0x269d35(0x283)]();}),_0x58bc01['once']('error',function(_0x38c95a){const _0x3f4c6e=_0x555615;_0x116500[_0x3f4c6e(0x354)]||(_0x11a117=!0x1,_0x116500['destroy'](_0x38c95a));}),_0x58bc01[_0x555615(0x32d)](_0x555615(0x33f),function(){const _0x5ce3c3=_0x555615;_0x116500[_0x5ce3c3(0x354)]||_0x116500[_0x5ce3c3(0x367)](null);}),_0x116500[_0x555615(0x37b)]=function(_0x4c460b,_0x1e3a4c){const _0xa4b798=_0x555615;if(_0x58bc01[_0xa4b798(0x28f)]===_0x58bc01[_0xa4b798(0x358)]){_0x1e3a4c(_0x4c460b),process['nextTick'](_0x14f943,_0x116500);return;}let _0x40f8e7=!0x1;_0x58bc01[_0xa4b798(0x32d)](_0xa4b798(0x1da),function(_0x1ae8fa){_0x40f8e7=!0x0,_0x1e3a4c(_0x1ae8fa);}),_0x58bc01[_0xa4b798(0x32d)](_0xa4b798(0x33f),function(){const _0x5c1a26=_0xa4b798;_0x40f8e7||_0x1e3a4c(_0x4c460b),process[_0x5c1a26(0x1c4)](_0x14f943,_0x116500);}),_0x11a117&&_0x58bc01[_0xa4b798(0x30f)]();},_0x116500[_0x555615(0x25c)]=function(_0x460d4e){const _0x44b8de=_0x555615;if(_0x58bc01[_0x44b8de(0x28f)]===_0x58bc01[_0x44b8de(0x1db)]){_0x58bc01[_0x44b8de(0x32d)](_0x44b8de(0x336),function(){_0x116500['_final'](_0x460d4e);});return;}_0x58bc01[_0x44b8de(0x2c3)]!==null&&(_0x58bc01[_0x44b8de(0x2c3)][_0x44b8de(0x217)][_0x44b8de(0x228)]?(_0x460d4e(),_0x116500[_0x44b8de(0x2ee)][_0x44b8de(0x25e)]&&_0x116500[_0x44b8de(0x33c)]()):(_0x58bc01[_0x44b8de(0x2c3)]['once'](_0x44b8de(0x232),function(){_0x460d4e();}),_0x58bc01[_0x44b8de(0x33f)]()));},_0x116500[_0x555615(0x204)]=function(){const _0x44d6f5=_0x555615;_0x58bc01[_0x44d6f5(0x313)]&&_0x58bc01[_0x44d6f5(0x29d)]();},_0x116500[_0x555615(0x22a)]=function(_0x3d8c8b,_0x264271,_0x40741c){const _0x50dcad=_0x555615;if(_0x58bc01[_0x50dcad(0x28f)]===_0x58bc01['CONNECTING']){_0x58bc01[_0x50dcad(0x32d)](_0x50dcad(0x336),function(){const _0x2d0d71=_0x50dcad;_0x116500[_0x2d0d71(0x22a)](_0x3d8c8b,_0x264271,_0x40741c);});return;}_0x58bc01['send'](_0x3d8c8b,_0x40741c);},_0x116500['on'](_0x555615(0x331),_0x3e9e4e),_0x116500['on']('error',_0x281c6e),_0x116500;}return Oe=_0x4ff8a0,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2b91bf}=ae();function _0x4ecbb5(_0x4866e0){const _0x5972fb=_0x2d0b,_0x2af8a1=new Set();let _0x4fcfce=-0x1,_0x277dab=-0x1,_0x5f4227=0x0;for(_0x5f4227;_0x5f4227<_0x4866e0[_0x5972fb(0x32a)];_0x5f4227++){const _0x37aa89=_0x4866e0[_0x5972fb(0x31d)](_0x5f4227);if(_0x277dab===-0x1&&_0x2b91bf[_0x37aa89]===0x1)_0x4fcfce===-0x1&&(_0x4fcfce=_0x5f4227);else{if(_0x5f4227!==0x0&&(_0x37aa89===0x20||_0x37aa89===0x9))_0x277dab===-0x1&&_0x4fcfce!==-0x1&&(_0x277dab=_0x5f4227);else{if(_0x37aa89===0x2c){if(_0x4fcfce===-0x1)throw new SyntaxError(_0x5972fb(0x20e)+_0x5f4227);_0x277dab===-0x1&&(_0x277dab=_0x5f4227);const _0x52f83a=_0x4866e0[_0x5972fb(0x348)](_0x4fcfce,_0x277dab);if(_0x2af8a1[_0x5972fb(0x2a3)](_0x52f83a))throw new SyntaxError(_0x5972fb(0x301)+_0x52f83a+_0x5972fb(0x1e3));_0x2af8a1[_0x5972fb(0x1c9)](_0x52f83a),_0x4fcfce=_0x277dab=-0x1;}else throw new SyntaxError(_0x5972fb(0x20e)+_0x5f4227);}}}if(_0x4fcfce===-0x1||_0x277dab!==-0x1)throw new SyntaxError(_0x5972fb(0x1eb));const _0x17ed0b=_0x4866e0[_0x5972fb(0x348)](_0x4fcfce,_0x5f4227);if(_0x2af8a1[_0x5972fb(0x2a3)](_0x17ed0b))throw new SyntaxError(_0x5972fb(0x301)+_0x17ed0b+_0x5972fb(0x1e3));return _0x2af8a1[_0x5972fb(0x1c9)](_0x17ed0b),_0x2af8a1;}return Ce={'parse':_0x4ecbb5},Ce;}var Te,rt;function Ft(){const _0x317bbc=_0x2b16e5;if(rt)return Te;rt=0x1;const _0x244cf7=nt,_0x40328a=ot,{Duplex:_0x5100a9}=oe,{createHash:_0x22cada}=Le,_0x483e5e=ct(),_0x3a9945=he(),_0x481a11=At(),_0x107d9c=Pe(),{GUID:_0x51250a,kWebSocket:_0x1ec9c7}=H(),_0x4d8dcb=/^[+/0-9A-Za-z]{22}==$/,_0x2df9d4=0x0,_0x95558=0x1,_0x47a5a7=0x2;class _0x1745fc extends _0x244cf7{constructor(_0x18de66,_0x597b40){const _0x55b990=_0x2d0b;if(super(),_0x18de66={'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':_0x107d9c,..._0x18de66},_0x18de66['port']==null&&!_0x18de66[_0x55b990(0x2ce)]&&!_0x18de66[_0x55b990(0x2bf)]||_0x18de66[_0x55b990(0x2de)]!=null&&(_0x18de66[_0x55b990(0x2ce)]||_0x18de66['noServer'])||_0x18de66[_0x55b990(0x2ce)]&&_0x18de66[_0x55b990(0x2bf)])throw new TypeError(_0x55b990(0x319));if(_0x18de66[_0x55b990(0x2de)]!=null?(this[_0x55b990(0x26e)]=_0x40328a[_0x55b990(0x216)]((_0x5065a8,_0x1f8d16)=>{const _0x37c148=_0x55b990,_0x57cc88=_0x40328a[_0x37c148(0x2ad)][0x1aa];_0x1f8d16['writeHead'](0x1aa,{'Content-Length':_0x57cc88[_0x37c148(0x32a)],'Content-Type':'text/plain'}),_0x1f8d16['end'](_0x57cc88);}),this[_0x55b990(0x26e)][_0x55b990(0x231)](_0x18de66[_0x55b990(0x2de)],_0x18de66[_0x55b990(0x261)],_0x18de66[_0x55b990(0x36a)],_0x597b40)):_0x18de66[_0x55b990(0x2ce)]&&(this[_0x55b990(0x26e)]=_0x18de66[_0x55b990(0x2ce)]),this[_0x55b990(0x26e)]){const _0x237c74=this[_0x55b990(0x233)][_0x55b990(0x2eb)](this,_0x55b990(0x262));this['_removeListeners']=_0x495ee6(this[_0x55b990(0x26e)],{'listening':this[_0x55b990(0x233)][_0x55b990(0x2eb)](this,_0x55b990(0x2a8)),'error':this[_0x55b990(0x233)]['bind'](this,_0x55b990(0x1da)),'upgrade':(_0x3943c0,_0x424ec2,_0x576099)=>{const _0x542241=_0x55b990;this[_0x542241(0x2a2)](_0x3943c0,_0x424ec2,_0x576099,_0x237c74);}});}_0x18de66[_0x55b990(0x2a7)]===!0x0&&(_0x18de66[_0x55b990(0x2a7)]={}),_0x18de66['clientTracking']&&(this[_0x55b990(0x1c6)]=new Set(),this[_0x55b990(0x255)]=!0x1),this[_0x55b990(0x280)]=_0x18de66,this[_0x55b990(0x1df)]=_0x2df9d4;}[_0x317bbc(0x2d4)](){const _0x3233ca=_0x317bbc;if(this[_0x3233ca(0x280)][_0x3233ca(0x2bf)])throw new Error(_0x3233ca(0x256));return this['_server']?this[_0x3233ca(0x26e)][_0x3233ca(0x2d4)]():null;}[_0x317bbc(0x33f)](_0x322379){const _0x7c38a6=_0x317bbc;if(this[_0x7c38a6(0x1df)]===_0x47a5a7){_0x322379&&this['once']('close',()=>{const _0x11c61e=_0x7c38a6;_0x322379(new Error(_0x11c61e(0x253)));}),process[_0x7c38a6(0x1c4)](_0x124aa3,this);return;}if(_0x322379&&this[_0x7c38a6(0x32d)](_0x7c38a6(0x33f),_0x322379),this['_state']!==_0x95558){if(this[_0x7c38a6(0x1df)]=_0x95558,this[_0x7c38a6(0x280)]['noServer']||this[_0x7c38a6(0x280)]['server'])this[_0x7c38a6(0x26e)]&&(this['_removeListeners'](),this[_0x7c38a6(0x254)]=this[_0x7c38a6(0x26e)]=null),this[_0x7c38a6(0x1c6)]?this[_0x7c38a6(0x1c6)][_0x7c38a6(0x2ae)]?this[_0x7c38a6(0x255)]=!0x0:process[_0x7c38a6(0x1c4)](_0x124aa3,this):process[_0x7c38a6(0x1c4)](_0x124aa3,this);else{const _0x189f85=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0x7c38a6(0x26e)]=null,_0x189f85[_0x7c38a6(0x33f)](()=>{_0x124aa3(this);});}}}['shouldHandle'](_0x193270){const _0xb91f61=_0x317bbc;if(this[_0xb91f61(0x280)]['path']){const _0x1a901d=_0x193270[_0xb91f61(0x2f6)][_0xb91f61(0x27a)]('?');if((_0x1a901d!==-0x1?_0x193270[_0xb91f61(0x2f6)]['slice'](0x0,_0x1a901d):_0x193270[_0xb91f61(0x2f6)])!==this[_0xb91f61(0x280)][_0xb91f61(0x2fc)])return!0x1;}return!0x0;}[_0x317bbc(0x2a2)](_0x5f367c,_0xa5f6a0,_0x3da44c,_0x2392d9){const _0x485ceb=_0x317bbc;_0xa5f6a0['on'](_0x485ceb(0x1da),_0x6646da);const _0x2bc869=_0x5f367c['headers'][_0x485ceb(0x290)],_0x10c102=_0x5f367c[_0x485ceb(0x365)]['upgrade'],_0x45b5bb=+_0x5f367c[_0x485ceb(0x365)][_0x485ceb(0x2a6)];if(_0x5f367c[_0x485ceb(0x267)]!==_0x485ceb(0x34a)){_0x50241c(this,_0x5f367c,_0xa5f6a0,0x195,_0x485ceb(0x20c));return;}if(_0x10c102===void 0x0||_0x10c102[_0x485ceb(0x2aa)]()!=='websocket'){_0x50241c(this,_0x5f367c,_0xa5f6a0,0x190,_0x485ceb(0x2dc));return;}if(_0x2bc869===void 0x0||!_0x4d8dcb[_0x485ceb(0x2f8)](_0x2bc869)){_0x50241c(this,_0x5f367c,_0xa5f6a0,0x190,_0x485ceb(0x317));return;}if(_0x45b5bb!==0xd&&_0x45b5bb!==0x8){_0x50241c(this,_0x5f367c,_0xa5f6a0,0x190,_0x485ceb(0x343),{'Sec-WebSocket-Version':_0x485ceb(0x25d)});return;}if(!this['shouldHandle'](_0x5f367c)){_0x43ee80(_0xa5f6a0,0x190);return;}const _0x1b4750=_0x5f367c[_0x485ceb(0x365)][_0x485ceb(0x1d8)];let _0x2102d7=new Set();if(_0x1b4750!==void 0x0)try{_0x2102d7=_0x481a11[_0x485ceb(0x2ac)](_0x1b4750);}catch{_0x50241c(this,_0x5f367c,_0xa5f6a0,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x548217=_0x5f367c[_0x485ceb(0x365)][_0x485ceb(0x33e)],_0x4733ed={};if(this[_0x485ceb(0x280)][_0x485ceb(0x2a7)]&&_0x548217!==void 0x0){const _0x2ee2e6=new _0x3a9945(this[_0x485ceb(0x280)][_0x485ceb(0x2a7)],!0x0,this[_0x485ceb(0x280)][_0x485ceb(0x235)]);try{const _0x1d6e8a=_0x483e5e[_0x485ceb(0x2ac)](_0x548217);_0x1d6e8a[_0x3a9945[_0x485ceb(0x239)]]&&(_0x2ee2e6[_0x485ceb(0x291)](_0x1d6e8a[_0x3a9945[_0x485ceb(0x239)]]),_0x4733ed[_0x3a9945[_0x485ceb(0x239)]]=_0x2ee2e6);}catch{_0x50241c(this,_0x5f367c,_0xa5f6a0,0x190,_0x485ceb(0x220));return;}}if(this['options'][_0x485ceb(0x28c)]){const _0xa03061={'origin':_0x5f367c['headers'][''+(_0x45b5bb===0x8?_0x485ceb(0x21f):_0x485ceb(0x2c6))],'secure':!!(_0x5f367c[_0x485ceb(0x28b)]['authorized']||_0x5f367c['socket'][_0x485ceb(0x27d)]),'req':_0x5f367c};if(this[_0x485ceb(0x280)][_0x485ceb(0x28c)][_0x485ceb(0x32a)]===0x2){this['options']['verifyClient'](_0xa03061,(_0x249fbf,_0x9144de,_0x12996c,_0x20115b)=>{const _0x149689=_0x485ceb;if(!_0x249fbf)return _0x43ee80(_0xa5f6a0,_0x9144de||0x191,_0x12996c,_0x20115b);this[_0x149689(0x351)](_0x4733ed,_0x2bc869,_0x2102d7,_0x5f367c,_0xa5f6a0,_0x3da44c,_0x2392d9);});return;}if(!this[_0x485ceb(0x280)][_0x485ceb(0x28c)](_0xa03061))return _0x43ee80(_0xa5f6a0,0x191);}this[_0x485ceb(0x351)](_0x4733ed,_0x2bc869,_0x2102d7,_0x5f367c,_0xa5f6a0,_0x3da44c,_0x2392d9);}[_0x317bbc(0x351)](_0x3226b3,_0x7d171e,_0x3beab7,_0x17aa68,_0x2202df,_0x3a7bfe,_0x10d109){const _0x948440=_0x317bbc;if(!_0x2202df['readable']||!_0x2202df[_0x948440(0x289)])return _0x2202df[_0x948440(0x33c)]();if(_0x2202df[_0x1ec9c7])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x948440(0x1df)]>_0x2df9d4)return _0x43ee80(_0x2202df,0x1f7);const _0x21b40d=[_0x948440(0x2b3),_0x948440(0x1f6),_0x948440(0x286),_0x948440(0x21d)+_0x22cada(_0x948440(0x241))[_0x948440(0x359)](_0x7d171e+_0x51250a)[_0x948440(0x219)](_0x948440(0x377))],_0x1c8660=new this['options']['WebSocket'](null,void 0x0,this[_0x948440(0x280)]);if(_0x3beab7[_0x948440(0x2ae)]){const _0x457c4f=this[_0x948440(0x280)][_0x948440(0x322)]?this['options'][_0x948440(0x322)](_0x3beab7,_0x17aa68):_0x3beab7[_0x948440(0x2e4)]()[_0x948440(0x2ca)]()[_0x948440(0x342)];_0x457c4f&&(_0x21b40d['push']('Sec-WebSocket-Protocol:\x20'+_0x457c4f),_0x1c8660[_0x948440(0x321)]=_0x457c4f);}if(_0x3226b3[_0x3a9945[_0x948440(0x239)]]){const _0x390b5d=_0x3226b3[_0x3a9945[_0x948440(0x239)]]['params'],_0x5e2ca4=_0x483e5e[_0x948440(0x370)]({[_0x3a9945[_0x948440(0x239)]]:[_0x390b5d]});_0x21b40d[_0x948440(0x367)]('Sec-WebSocket-Extensions:\x20'+_0x5e2ca4),_0x1c8660[_0x948440(0x35f)]=_0x3226b3;}this[_0x948440(0x233)]('headers',_0x21b40d,_0x17aa68),_0x2202df[_0x948440(0x318)](_0x21b40d[_0x948440(0x2af)]('\x0d\x0a')['join']('\x0d\x0a')),_0x2202df[_0x948440(0x2bd)]('error',_0x6646da),_0x1c8660[_0x948440(0x333)](_0x2202df,_0x3a7bfe,{'allowSynchronousEvents':this[_0x948440(0x280)][_0x948440(0x2f1)],'maxPayload':this[_0x948440(0x280)][_0x948440(0x235)],'skipUTF8Validation':this[_0x948440(0x280)][_0x948440(0x2ed)]}),this['clients']&&(this[_0x948440(0x1c6)][_0x948440(0x1c9)](_0x1c8660),_0x1c8660['on'](_0x948440(0x33f),()=>{const _0x4b8424=_0x948440;this['clients'][_0x4b8424(0x1cd)](_0x1c8660),this['_shouldEmitClose']&&!this['clients']['size']&&process[_0x4b8424(0x1c4)](_0x124aa3,this);})),_0x10d109(_0x1c8660,_0x17aa68);}}Te=_0x1745fc;function _0x495ee6(_0x2992e8,_0x54fbfc){const _0x5076cd=_0x317bbc;for(const _0x3b6d60 of Object[_0x5076cd(0x379)](_0x54fbfc))_0x2992e8['on'](_0x3b6d60,_0x54fbfc[_0x3b6d60]);return function(){const _0x4ccd92=_0x5076cd;for(const _0x4e69ac of Object[_0x4ccd92(0x379)](_0x54fbfc))_0x2992e8['removeListener'](_0x4e69ac,_0x54fbfc[_0x4e69ac]);};}function _0x124aa3(_0x4a6cdb){const _0xd111f5=_0x317bbc;_0x4a6cdb[_0xd111f5(0x1df)]=_0x47a5a7,_0x4a6cdb[_0xd111f5(0x233)](_0xd111f5(0x33f));}function _0x6646da(){this['destroy']();}function _0x43ee80(_0x5da853,_0x4aa972,_0x5b03b6,_0x2fe944){const _0x555c14=_0x317bbc;_0x5b03b6=_0x5b03b6||_0x40328a[_0x555c14(0x2ad)][_0x4aa972],_0x2fe944={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x555c14(0x258)](_0x5b03b6),..._0x2fe944},_0x5da853['once']('finish',_0x5da853['destroy']),_0x5da853['end'](_0x555c14(0x2be)+_0x4aa972+'\x20'+_0x40328a[_0x555c14(0x2ad)][_0x4aa972]+'\x0d\x0a'+Object['keys'](_0x2fe944)[_0x555c14(0x265)](_0xa8ef5f=>_0xa8ef5f+':\x20'+_0x2fe944[_0xa8ef5f])[_0x555c14(0x26c)]('\x0d\x0a')+_0x555c14(0x222)+_0x5b03b6);}function _0x50241c(_0x48f9b7,_0x1c871a,_0x1d081c,_0xff84a3,_0x73c247,_0xc8f53){const _0x58e19d=_0x317bbc;if(_0x48f9b7[_0x58e19d(0x36e)]('wsClientError')){const _0x5efe4c=new Error(_0x73c247);Error['captureStackTrace'](_0x5efe4c,_0x50241c),_0x48f9b7['emit'](_0x58e19d(0x299),_0x5efe4c,_0x1d081c,_0x1c871a);}else _0x43ee80(_0x1d081c,_0xff84a3,_0x73c247,_0xc8f53);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xb3644c,_0x144d75,_0x3f3ed0,_0x315b7c)=>{const _0x270ca5=_0x2b16e5;for(var _0x40764e=_0x315b7c>0x1?void 0x0:_0x315b7c?jt(_0x144d75,_0x3f3ed0):_0x144d75,_0x17ced9=_0xb3644c[_0x270ca5(0x32a)]-0x1,_0x38f7ca;_0x17ced9>=0x0;_0x17ced9--)(_0x38f7ca=_0xb3644c[_0x17ced9])&&(_0x40764e=_0x38f7ca(_0x40764e)||_0x40764e);return _0x40764e;},qt=(_0x1a75eb,_0x481611)=>(_0xfb9edb,_0x4f5c4a)=>_0x481611(_0xfb9edb,_0x4f5c4a,_0x1a75eb);let ke=class extends A[_0x2b16e5(0x36d)]{constructor(_0x13e32d){super(),this['_configService']=_0x13e32d;}[_0x2b16e5(0x24a)](_0x3a884e){const _0x547862=_0x2b16e5;var _0x53b106;const _0x2dee2b=(_0x53b106=this[_0x547862(0x213)][_0x547862(0x376)](fe))==null?void 0x0:_0x53b106[_0x547862(0x284)];try{const _0x4b7ab0=new $t(_0x3a884e,{'headers':{..._0x2dee2b}}),_0x20a37e=new A[(_0x547862(0x206))]();return{'URL':_0x3a884e,'close':(_0x37f7bb,_0x533d8e)=>{const _0x3b9326=_0x547862;_0x4b7ab0[_0x3b9326(0x33f)](_0x37f7bb,_0x533d8e),_0x20a37e[_0x3b9326(0x339)]();},'send':_0x53df86=>{const _0x571261=_0x547862;_0x4b7ab0[_0x571261(0x306)](_0x53df86);},'open$':new V[(_0x547862(0x22b))](_0x59e2c7=>{const _0x52342a=_0x547862,_0x534c7d=_0x1b49ab=>_0x59e2c7['next'](_0x1b49ab);_0x4b7ab0['addEventListener'](_0x52342a(0x336),_0x534c7d),_0x20a37e['add'](A['toDisposable'](()=>_0x4b7ab0['removeEventListener']('open',_0x534c7d)));})['pipe'](V[_0x547862(0x2d5)]()),'close$':new V[(_0x547862(0x22b))](_0x3bf9ed=>{const _0x525d48=_0x547862,_0x4e92fc=_0x169417=>_0x3bf9ed['next'](_0x169417);_0x4b7ab0[_0x525d48(0x1d7)](_0x525d48(0x33f),_0x4e92fc),_0x20a37e[_0x525d48(0x1c9)](A[_0x525d48(0x2a9)](()=>_0x4b7ab0['removeEventListener'](_0x525d48(0x33f),_0x4e92fc)));})[_0x547862(0x2d3)](V['share']()),'error$':new V['Observable'](_0x207dfc=>{const _0x21d831=_0x547862,_0x21594f=_0x188f9f=>_0x207dfc[_0x21d831(0x2ca)](_0x188f9f);_0x4b7ab0[_0x21d831(0x1d7)](_0x21d831(0x1da),_0x21594f),_0x20a37e['add'](A[_0x21d831(0x2a9)](()=>_0x4b7ab0[_0x21d831(0x215)](_0x21d831(0x1da),_0x21594f)));})[_0x547862(0x2d3)](V['share']()),'message$':new V['Observable'](_0x1016fb=>{const _0x4b40f6=_0x547862,_0x4243bb=_0x5d96f8=>_0x1016fb[_0x4b40f6(0x2ca)](_0x5d96f8);_0x4b7ab0[_0x4b40f6(0x1d7)](_0x4b40f6(0x23f),_0x4243bb),_0x20a37e[_0x4b40f6(0x1c9)](A[_0x4b40f6(0x2a9)](()=>_0x4b7ab0[_0x4b40f6(0x215)](_0x4b40f6(0x23f),_0x4243bb)));})[_0x547862(0x2d3)](V['share']())};}catch(_0x3bc73a){return console[_0x547862(0x1da)](_0x3bc73a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x2b16e5(0x2a5)],Vt=Object[_0x2b16e5(0x325)],Ht=(_0x5f04a9,_0x2c9bab,_0x452f67)=>_0x2c9bab in _0x5f04a9?Gt(_0x5f04a9,_0x2c9bab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x452f67}):_0x5f04a9[_0x2c9bab]=_0x452f67,zt=(_0x1f1487,_0x56a343,_0x150759,_0x436e4a)=>{const _0x18226d=_0x2b16e5;for(var _0x1c3de8=_0x436e4a>0x1?void 0x0:_0x436e4a?Vt(_0x56a343,_0x150759):_0x56a343,_0x4ea545=_0x1f1487[_0x18226d(0x32a)]-0x1,_0xd1f881;_0x4ea545>=0x0;_0x4ea545--)(_0xd1f881=_0x1f1487[_0x4ea545])&&(_0x1c3de8=_0xd1f881(_0x1c3de8)||_0x1c3de8);return _0x1c3de8;},Ne=(_0x329082,_0x42859f)=>(_0x43ee02,_0x54042b)=>_0x42859f(_0x43ee02,_0x54042b,_0x329082),Yt=(_0xb25da9,_0x4cdee5,_0x5b056f)=>Ht(_0xb25da9,_0x4cdee5+'',_0x5b056f);exports[_0x2b16e5(0x295)]=class extends A[_0x2b16e5(0x2f9)]{constructor(_0x6418fc=Ct,_0x3301eb,_0x20e2af,_0x275390){const _0x433d7c=_0x2b16e5;_0x6418fc[_0x433d7c(0x284)]||_0x3301eb['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x433d7c(0x213)]=_0x20e2af,this[_0x433d7c(0x20f)]=_0x275390,this[_0x433d7c(0x213)]['setConfig'](fe,_0x6418fc);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x1a16c7=_0x2b16e5;A[_0x1a16c7(0x22f)](this[_0x1a16c7(0x20f)],[[it[_0x1a16c7(0x1d4)],{'useClass':ke}]]);}},Yt(exports[_0x2b16e5(0x295)],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x2b16e5(0x295)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x2b16e5(0x25f)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x2b16e5(0x281)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x2b16e5(0x325)],Xt=(_0x922998,_0xf5e795,_0x41e7f4,_0xdfac68)=>{const _0xc9ac27=_0x2b16e5;for(var _0x500fa8=_0xdfac68>0x1?void 0x0:_0xdfac68?Kt(_0xf5e795,_0x41e7f4):_0xf5e795,_0xc99bea=_0x922998[_0xc9ac27(0x32a)]-0x1,_0xe39aac;_0xc99bea>=0x0;_0xc99bea--)(_0xe39aac=_0x922998[_0xc99bea])&&(_0x500fa8=_0xe39aac(_0x500fa8)||_0x500fa8);return _0x500fa8;},ne=(_0x4c511b,_0x1ac902)=>(_0x3052d8,_0x26e6db)=>_0x1ac902(_0x3052d8,_0x26e6db,_0x4c511b);exports[_0x2b16e5(0x279)]=class extends st[_0x2b16e5(0x1fc)]{constructor(_0x59e0e2,_0x50b343,_0x4587d7,_0x3ecf29,_0x446028){const _0x229fb4=_0x2b16e5;super(_0x59e0e2,_0x50b343,_0x4587d7,_0x3ecf29,_0x446028);const _0x5559a0=this[_0x229fb4(0x213)][_0x229fb4(0x376)](fe);this[_0x229fb4(0x1e4)][_0x229fb4(0x363)]({'interceptor':(_0x329084,_0x40d761)=>{const _0x51977d=_0x229fb4;var _0x23a5aa;const _0x498c30=_0x329084['headers'];return(_0x23a5aa=_0x5559a0==null?void 0x0:_0x5559a0[_0x51977d(0x284)])!=null&&_0x23a5aa[_0x51977d(0x324)]&&_0x498c30[_0x51977d(0x272)](_0x51977d(0x20b),_0x5559a0[_0x51977d(0x284)][_0x51977d(0x324)]),_0x40d761(_0x329084);}});}async[_0x2b16e5(0x24a)](_0x187fb0){return this['_doCreateSocket'](_0x187fb0);}},exports[_0x2b16e5(0x279)]=Xt([ne(0x0,A[_0x2b16e5(0x287)](A[_0x2b16e5(0x281)])),ne(0x1,A['Inject'](it[_0x2b16e5(0x346)])),ne(0x2,A[_0x2b16e5(0x2c9)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x2b16e5(0x229)])],exports[_0x2b16e5(0x279)]),exports[_0x2b16e5(0x278)]=fe;