@univerjs-pro/collaboration-client-node 0.7.0 → 0.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xc592e0=_0x33fa;(function(_0x4226fd,_0x70d399){const _0x2f649e=_0x33fa,_0x5295e7=_0x4226fd();while(!![]){try{const _0x435cb5=parseInt(_0x2f649e(0x12f))/0x1*(-parseInt(_0x2f649e(0x178))/0x2)+parseInt(_0x2f649e(0x228))/0x3*(-parseInt(_0x2f649e(0x139))/0x4)+-parseInt(_0x2f649e(0x127))/0x5*(-parseInt(_0x2f649e(0x2b3))/0x6)+-parseInt(_0x2f649e(0x204))/0x7+parseInt(_0x2f649e(0x20b))/0x8+parseInt(_0x2f649e(0x175))/0x9*(-parseInt(_0x2f649e(0x13a))/0xa)+-parseInt(_0x2f649e(0x286))/0xb*(-parseInt(_0x2f649e(0x129))/0xc);if(_0x435cb5===_0x70d399)break;else _0x5295e7['push'](_0x5295e7['shift']());}catch(_0x3f7d31){_0x5295e7['push'](_0x5295e7['shift']());}}}(_0x5e37,0x1cb8a));import{UniverCollaborationClientPlugin as _0x56ed27,CollaborationSocketService as _0x505879}from'@univerjs-pro/collaboration-client';import{Disposable as _0x372dc6,DisposableCollection as _0x4f61fc,toDisposable as _0x3635b1,IConfigService as _0xa8ce35,DependentOn as _0x128f79,ILogService as _0xfe304b,Inject as _0xf2788c,Injector as _0x50503b,Plugin as _0xbd7967,registerDependencies as _0x4d5543}from'@univerjs/core';import{ISocketService as _0x249bf7,HTTPService as _0x7723dd}from'@univerjs/network';import{Observable as _0x60adf7,share as _0x148dcc}from'rxjs';import _0x65c4b3 from'events';function _0x5e37(){const _0x36a30d=['Invalid\x20Sec-WebSocket-Accept\x20header','protocol','1869896voQRvR','_options','File','Maximum\x20redirects\x20exceeded','total-length','endEmitted','createInflateRaw','destroy','onStarting','_closeFrameReceived','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startLoop','unmask','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','options','open','dispatch','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNEXPECTED_RSV_2_3','createDeflateRaw','shouldHandle','server_no_context_takeover','Module','MASK\x20must\x20be\x20clear','charCodeAt','binary','arraybuffer','request','next','99867hTSdmp','set','Sec-WebSocket-Protocol','pluginName','getPayloadLength16','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isArray','noServer','handleProtocols','cookie','_originalHostOrSocketPath','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-origin','generateMask','_buffers','isInteger','_isServer','_opcode','reason','client_max_window_bits','defaultPort','_maxPayload','location','path','setHeader','kListener','WS_ERR_INVALID_CLOSE_CODE','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_totalPayloadLength','_read','addEventListener','emitClose','forEach','bind','listening','kIsForOnEventAttribute','sec-websocket-key','STATUS_CODES','defineProperty','decompress','wss:','_server','sec-websocket-version','wsClientError','_masked','_readableState','_messageLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','value','haveLength','invalid\x20status\x20code\x20','invalid\x20opcode\x200','getBlobData','cleanup','add','_shouldEmitClose','WS_ERR_UNEXPECTED_MASK','_state','cork','string','_final','apply','onmessage','Upgrade','message','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','readable','writable','_autoPong','_redirects','Opening\x20handshake\x20has\x20timed\x20out','createSocket','verifyClient','allocUnsafe','byteLength','accept','Sec-WebSocket-Protocol:\x20','completeUpgrade','status-code','stream','host','setTimeout','invalid\x20UTF-8\x20sequence','update','_allowSynchronousEvents','readyState','ping','call','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_doCreateSocket','Max\x20payload\x20size\x20exceeded','entries','redirect','__esModule','201718WAPwPJ','toString','controlMessage','kReason','_inflate','permessage-deflate','RSV1\x20must\x20be\x20clear','OPEN','invalid\x20payload\x20length\x20','onerror','_closeTimer','isValidUTF8','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20end\x20of\x20input','params','maxRedirects','onclose','removeEventListener','join','WS_NO_BUFFER_UTIL','hostname','autoPong','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','_mask','sec-websocket-extensions','WS_NO_UTF_8_VALIDATE','nextTick','read','object','Unexpected\x20character\x20at\x20index\x20','headers','bufferedAmount','readOnly','Unsupported\x20protocol\x20version:\x20','dequeue','serverNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','upgrade','terminate','byteOffset','concurrencyLimit','origin','env','12zCDonQ','_writableState','send','createServer','wasClean','response','has','_removeListeners','Invalid\x20URL:\x20','getData','write','_sender','customHeaders','fin','isPaused','dataMessage','getConfig','create','extensionName','clientNoContextTakeover','clients','concat','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Sec-WebSocket-Accept:\x20','opcode','_registerDependencies','MASK\x20must\x20be\x20set','_max_window_bits','skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_1','writeUIntBE','_binaryType','WS_ERR_EXPECTED_MASK','catch','shift','fragments','65660yQrfJY','number','84QvOIPD','CLOSING','_bufferedAmount','_queue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','GET','30ZWBPSW','pipe','drain','blob','_closeFrameSent','isIP','_compressed','server','setNoDelay','_extensions','12BKDmJE','160070pHuEts','followRedirects','allowSynchronousEvents','_originalIpc','CLOSED','finish','The\x20server\x20is\x20not\x20running','jobs','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','zlibInflateOptions','_write','freeze','warn','data','setSocket','keys','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Upgrade:\x20websocket','href','_req','code','default','toStringTag','pow','_deflate','authorization','Invalid\x20Sec-WebSocket-Extensions\x20header','buffers','finishRequest','_paused','captureStackTrace','error','handleEvent','extensions','onopen','_closeMessage','sendFrame','_closeCode','alloc','conclude','normalizeParams','port','maskBuffer','Basic\x20','errorEmitted','enqueue','writeUInt16BE','Sec-WebSocket-Origin','kCode','perMessageDeflate','needDrain','buffer','_errorEmitted','Sec-WebSocket-Extensions:\x20','kRun','getMask','listeners','sha1','includes','18GejCxn','setConfig','connection','6980PHTEDm','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-accept','timeout','from','createConnection','_errored','kAborted','frame','_receiver','Invalid\x20Upgrade\x20header','encrypted','WebSocket','finished','_configService','length','FIN\x20must\x20be\x20set','removeListener','_protocol','websocket','dispose','startsWith','_bufferedBytes','socketPath','getInfo','_payloadLength','_maskBuffer','push','_fragmented','kTarget','socket','The\x20URL\x20contains\x20a\x20fragment\x20identifier','pathname','handshakeTimeout','concurrency','\x22\x20subprotocol\x20is\x20duplicated','parse','offer','species','_compress','_fin','uncork','function','Invalid\x20Sec-WebSocket-Protocol\x20header','binaryType','username','client','_loop','resume','password','close','ws:','_injector','construct','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroyed','kError','pong','_skipUTF8Validation','acceptAsServer','protocolVersion','once','acceptAsClient','kType','text/html','_threshold','Connection:\x20Upgrade','slice','pause','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x20(supported\x20versions:\x20','compress','createError','then','format','WS_ERR_EXPECTED_FIN','writeHead','sec-websocket-protocol','_fragments','_no_context_takeover','arrayBuffer','servername','Invalid\x20HTTP\x20method','connect','kWasClean','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','toLowerCase','_firstFragment','clientMaxWindowBits','digest','WS_ERR_INVALID_OPCODE','abort','readUInt16BE','reset','_socket','replace','type','find','threshold','client_no_context_takeover','invalid\x20opcode\x20','statusCode','The\x20\x22','mask','size','prototype','callback','nodebuffer','_readyState','Invalid\x20WebSocket\x20frame:\x20','maxPayload','target','handleUpgrade','method','pending','_destroy','indexOf','consume','end','WS_ERR_INVALID_UTF8','isBuffer','get','_generateMask','https:','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','http:','\x22:\x20','readUInt32BE','exports','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kDone','server_max_window_bits','url','map','getPayloadLength64','getOwnPropertyDescriptor','_httpService','emit','239008kyerxd','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','base64','listenerCount','serverMaxWindowBits'];_0x5e37=function(){return _0x36a30d;};return _0x5e37();}import _0x2a038a from'https';import _0x52e28b from'http';import _0x461c75 from'net';import _0x46b953 from'tls';import _0x306241 from'crypto';import _0x1ba7a8 from'stream';import _0x16f754 from'url';import _0x31bb7e from'zlib';import _0x4561d1 from'buffer';import{ISnapshotServerService as _0x1a59b4}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x5f397f){const _0x39124b=_0x33fa;return _0x5f397f&&_0x5f397f['__esModule']&&Object['prototype']['hasOwnProperty'][_0x39124b(0x27f)](_0x5f397f,_0x39124b(0x14f))?_0x5f397f['default']:_0x5f397f;}function ut(_0x1e9a90){const _0x460461=_0x33fa;if(Object['prototype']['hasOwnProperty'][_0x460461(0x27f)](_0x1e9a90,_0x460461(0x285)))return _0x1e9a90;var _0x41319f=_0x1e9a90[_0x460461(0x14f)];if(typeof _0x41319f==_0x460461(0x1a2)){var _0x211680=function _0x28b70d(){const _0x257315=_0x460461;return this instanceof _0x28b70d?Reflect[_0x257315(0x1ad)](_0x41319f,arguments,this['constructor']):_0x41319f[_0x257315(0x265)](this,arguments);};_0x211680['prototype']=_0x41319f['prototype'];}else _0x211680={};return Object[_0x460461(0x24e)](_0x211680,_0x460461(0x285),{'value':!0x0}),Object[_0x460461(0x149)](_0x1e9a90)['forEach'](function(_0xade50c){const _0x456ffa=_0x460461;var _0x19e87c=Object['getOwnPropertyDescriptor'](_0x1e9a90,_0xade50c);Object[_0x456ffa(0x24e)](_0x211680,_0xade50c,_0x19e87c[_0x456ffa(0x1f3)]?_0x19e87c:{'enumerable':!0x0,'get':function(){return _0x1e9a90[_0xade50c];}});}),_0x211680;}var te={'exports':{}},ge,Ye;function V(){const _0x3d9905=_0x33fa;if(Ye)return ge;Ye=0x1;const _0x3859dd=[_0x3d9905(0x1e5),_0x3d9905(0x225),_0x3d9905(0x126)],_0x2d3692=typeof Blob<'u';return _0x2d3692&&_0x3859dd['push'](_0x3d9905(0x132)),ge={'BINARY_TYPES':_0x3859dd,'EMPTY_BUFFER':Buffer[_0x3d9905(0x160)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2d3692,'kForOnEventAttribute':Symbol(_0x3d9905(0x24b)),'kListener':Symbol(_0x3d9905(0x241)),'kStatusCode':Symbol(_0x3d9905(0x276)),'kWebSocket':Symbol(_0x3d9905(0x18b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xc592e0(0x145)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0xc592e0(0x150)],{'value':_0xc592e0(0x221)})),Vt=ut(Gt);var Ke;function ce(){const _0x5a966b=_0xc592e0;if(Ke)return te[_0x5a966b(0x1fa)];Ke=0x1;const {EMPTY_BUFFER:_0x2fb8f1}=V(),_0x1c8125=Buffer[Symbol['species']];function _0x818731(_0xa51c0a,_0xa7c251){const _0x3f265c=_0x5a966b;if(_0xa51c0a['length']===0x0)return _0x2fb8f1;if(_0xa51c0a[_0x3f265c(0x187)]===0x1)return _0xa51c0a[0x0];const _0x11dec5=Buffer[_0x3f265c(0x271)](_0xa7c251);let _0x774316=0x0;for(let _0x3555e5=0x0;_0x3555e5<_0xa51c0a[_0x3f265c(0x187)];_0x3555e5++){const _0x49573b=_0xa51c0a[_0x3555e5];_0x11dec5[_0x3f265c(0x229)](_0x49573b,_0x774316),_0x774316+=_0x49573b['length'];}return _0x774316<_0xa7c251?new _0x1c8125(_0x11dec5['buffer'],_0x11dec5['byteOffset'],_0x774316):_0x11dec5;}function _0x3c8c52(_0x34ea62,_0x12f93f,_0x30c101,_0x5c06bb,_0x43037f){for(let _0x58ce82=0x0;_0x58ce82<_0x43037f;_0x58ce82++)_0x30c101[_0x5c06bb+_0x58ce82]=_0x34ea62[_0x58ce82]^_0x12f93f[_0x58ce82&0x3];}function _0x4b5049(_0x2fde7d,_0x470692){for(let _0x3a00d5=0x0;_0x3a00d5<_0x2fde7d['length'];_0x3a00d5++)_0x2fde7d[_0x3a00d5]^=_0x470692[_0x3a00d5&0x3];}function _0x14080b(_0x2cd8eb){const _0x45c6e4=_0x5a966b;return _0x2cd8eb[_0x45c6e4(0x187)]===_0x2cd8eb[_0x45c6e4(0x16d)]['byteLength']?_0x2cd8eb[_0x45c6e4(0x16d)]:_0x2cd8eb[_0x45c6e4(0x16d)]['slice'](_0x2cd8eb[_0x45c6e4(0x2af)],_0x2cd8eb[_0x45c6e4(0x2af)]+_0x2cd8eb['length']);}function _0x453e5b(_0x375e8a){const _0x3f5443=_0x5a966b;if(_0x453e5b[_0x3f5443(0x2a8)]=!0x0,Buffer[_0x3f5443(0x1f2)](_0x375e8a))return _0x375e8a;let _0x4299d7;return _0x375e8a instanceof ArrayBuffer?_0x4299d7=new _0x1c8125(_0x375e8a):ArrayBuffer['isView'](_0x375e8a)?_0x4299d7=new _0x1c8125(_0x375e8a[_0x3f5443(0x16d)],_0x375e8a[_0x3f5443(0x2af)],_0x375e8a['byteLength']):(_0x4299d7=Buffer[_0x3f5443(0x17c)](_0x375e8a),_0x453e5b[_0x3f5443(0x2a8)]=!0x1),_0x4299d7;}if(te[_0x5a966b(0x1fa)]={'concat':_0x818731,'mask':_0x3c8c52,'toArrayBuffer':_0x14080b,'toBuffer':_0x453e5b,'unmask':_0x4b5049},!process['env'][_0x5a966b(0x299)])try{const _0xab576e=Vt;te['exports'][_0x5a966b(0x1e1)]=function(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61){_0x531d61<0x30?_0x3c8c52(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61):_0xab576e['mask'](_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61);},te[_0x5a966b(0x1fa)][_0x5a966b(0x217)]=function(_0x241b52,_0x513ce3){const _0x418f92=_0x5a966b;_0x241b52[_0x418f92(0x187)]<0x20?_0x4b5049(_0x241b52,_0x513ce3):_0xab576e['unmask'](_0x241b52,_0x513ce3);};}catch{}return te[_0x5a966b(0x1fa)];}var ye,Xe;function qt(){const _0x2d159b=_0xc592e0;if(Xe)return ye;Xe=0x1;const _0x4e384c=Symbol(_0x2d159b(0x1fc)),_0x22dd83=Symbol(_0x2d159b(0x170));class _0x42c3fd{constructor(_0x55f5b0){const _0x2546c0=_0x2d159b;this[_0x4e384c]=()=>{const _0x1bb47f=_0x33fa;this[_0x1bb47f(0x1ec)]--,this[_0x22dd83]();},this[_0x2546c0(0x19a)]=_0x55f5b0||0x1/0x0,this[_0x2546c0(0x141)]=[],this[_0x2546c0(0x1ec)]=0x0;}[_0x2d159b(0x25e)](_0x211581){const _0x2452de=_0x2d159b;this['jobs'][_0x2452de(0x193)](_0x211581),this[_0x22dd83]();}[_0x22dd83](){const _0x3b0dc5=_0x2d159b;if(this[_0x3b0dc5(0x1ec)]!==this['concurrency']&&this[_0x3b0dc5(0x141)]['length']){const _0x33c505=this[_0x3b0dc5(0x141)][_0x3b0dc5(0x2d7)]();this[_0x3b0dc5(0x1ec)]++,_0x33c505(this[_0x4e384c]);}}}return ye=_0x42c3fd,ye;}var ve,Ze;function he(){const _0x1e4763=_0xc592e0;if(Ze)return ve;Ze=0x1;const _0x5919ec=_0x31bb7e,_0x45e18a=ce(),_0x2fab12=qt(),{kStatusCode:_0x517da1}=V(),_0x32d893=Buffer[Symbol[_0x1e4763(0x19e)]],_0x464688=Buffer[_0x1e4763(0x17c)]([0x0,0x0,0xff,0xff]),_0x40ad8a=Symbol(_0x1e4763(0x28b)),_0x2c0160=Symbol(_0x1e4763(0x20f)),_0x3581ec=Symbol(_0x1e4763(0x1e4)),_0x24ad05=Symbol(_0x1e4763(0x155)),_0x50949a=Symbol('error');let _0x526b4d;class _0x4941c0{constructor(_0x278117,_0x300533,_0x26211c){const _0x424214=_0x1e4763;if(this[_0x424214(0x23d)]=_0x26211c|0x0,this['_options']=_0x278117||{},this[_0x424214(0x1b9)]=this[_0x424214(0x20c)][_0x424214(0x1dc)]!==void 0x0?this[_0x424214(0x20c)]['threshold']:0x400,this[_0x424214(0x238)]=!!_0x300533,this[_0x424214(0x152)]=null,this[_0x424214(0x28a)]=null,this[_0x424214(0x294)]=null,!_0x526b4d){const _0x29a5ab=this[_0x424214(0x20c)][_0x424214(0x2b0)]!==void 0x0?this[_0x424214(0x20c)][_0x424214(0x2b0)]:0xa;_0x526b4d=new _0x2fab12(_0x29a5ab);}}static get['extensionName'](){const _0x9ed47e=_0x1e4763;return _0x9ed47e(0x28b);}[_0x1e4763(0x19d)](){const _0x317383=_0x1e4763,_0x379f4d={};return this[_0x317383(0x20c)][_0x317383(0x2ab)]&&(_0x379f4d[_0x317383(0x220)]=!0x0),this[_0x317383(0x20c)][_0x317383(0x2c6)]&&(_0x379f4d[_0x317383(0x1dd)]=!0x0),this['_options'][_0x317383(0x208)]&&(_0x379f4d[_0x317383(0x1fd)]=this[_0x317383(0x20c)][_0x317383(0x208)]),this['_options']['clientMaxWindowBits']?_0x379f4d['client_max_window_bits']=this[_0x317383(0x20c)][_0x317383(0x1d2)]:this[_0x317383(0x20c)][_0x317383(0x1d2)]==null&&(_0x379f4d['client_max_window_bits']=!0x0),_0x379f4d;}['accept'](_0x2b3934){const _0x2477a3=_0x1e4763;return _0x2b3934=this[_0x2477a3(0x162)](_0x2b3934),this['params']=this[_0x2477a3(0x238)]?this[_0x2477a3(0x1b3)](_0x2b3934):this[_0x2477a3(0x1b6)](_0x2b3934),this[_0x2477a3(0x294)];}[_0x1e4763(0x25d)](){const _0x1b4db1=_0x1e4763;if(this[_0x1b4db1(0x28a)]&&(this['_inflate'][_0x1b4db1(0x1aa)](),this['_inflate']=null),this[_0x1b4db1(0x152)]){const _0x3b0b74=this[_0x1b4db1(0x152)][_0x3581ec];this[_0x1b4db1(0x152)][_0x1b4db1(0x1aa)](),this[_0x1b4db1(0x152)]=null,_0x3b0b74&&_0x3b0b74(new Error(_0x1b4db1(0x243)));}}[_0x1e4763(0x1b3)](_0x3684db){const _0x363ccf=_0x1e4763,_0x5c698d=this[_0x363ccf(0x20c)],_0xc05606=_0x3684db[_0x363ccf(0x1db)](_0x311e5d=>!(_0x5c698d['serverNoContextTakeover']===!0x1&&_0x311e5d[_0x363ccf(0x220)]||_0x311e5d[_0x363ccf(0x1fd)]&&(_0x5c698d[_0x363ccf(0x208)]===!0x1||typeof _0x5c698d['serverMaxWindowBits']==_0x363ccf(0x128)&&_0x5c698d[_0x363ccf(0x208)]>_0x311e5d[_0x363ccf(0x1fd)])||typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)&&!_0x311e5d[_0x363ccf(0x23b)]));if(!_0xc05606)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5c698d[_0x363ccf(0x2ab)]&&(_0xc05606['server_no_context_takeover']=!0x0),_0x5c698d['clientNoContextTakeover']&&(_0xc05606['client_no_context_takeover']=!0x0),typeof _0x5c698d[_0x363ccf(0x208)]=='number'&&(_0xc05606['server_max_window_bits']=_0x5c698d[_0x363ccf(0x208)]),typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)?_0xc05606[_0x363ccf(0x23b)]=_0x5c698d[_0x363ccf(0x1d2)]:(_0xc05606[_0x363ccf(0x23b)]===!0x0||_0x5c698d[_0x363ccf(0x1d2)]===!0x1)&&delete _0xc05606['client_max_window_bits'],_0xc05606;}[_0x1e4763(0x1b6)](_0x540707){const _0x370f39=_0x1e4763,_0x35dda3=_0x540707[0x0];if(this[_0x370f39(0x20c)][_0x370f39(0x2c6)]===!0x1&&_0x35dda3[_0x370f39(0x1dd)])throw new Error(_0x370f39(0x1cf));if(!_0x35dda3['client_max_window_bits'])typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&(_0x35dda3[_0x370f39(0x23b)]=this[_0x370f39(0x20c)][_0x370f39(0x1d2)]);else{if(this[_0x370f39(0x20c)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&_0x35dda3[_0x370f39(0x23b)]>this[_0x370f39(0x20c)][_0x370f39(0x1d2)])throw new Error(_0x370f39(0x142));}return _0x35dda3;}[_0x1e4763(0x162)](_0x41c907){const _0x1c4567=_0x1e4763;return _0x41c907[_0x1c4567(0x248)](_0x3d1182=>{const _0x23d4f3=_0x1c4567;Object[_0x23d4f3(0x149)](_0x3d1182)[_0x23d4f3(0x248)](_0x2ba827=>{const _0x2d004f=_0x23d4f3;let _0x2763bf=_0x3d1182[_0x2ba827];if(_0x2763bf['length']>0x1)throw new Error('Parameter\x20\x22'+_0x2ba827+_0x2d004f(0x12d));if(_0x2763bf=_0x2763bf[0x0],_0x2ba827===_0x2d004f(0x23b)){if(_0x2763bf!==!0x0){const _0x148c28=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x148c28)||_0x148c28<0x8||_0x148c28>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+'\x22:\x20'+_0x2763bf);_0x2763bf=_0x148c28;}else{if(!this[_0x2d004f(0x238)])throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}}else{if(_0x2ba827==='server_max_window_bits'){const _0x55c514=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x55c514)||_0x55c514<0x8||_0x55c514>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);_0x2763bf=_0x55c514;}else{if(_0x2ba827==='client_no_context_takeover'||_0x2ba827===_0x2d004f(0x220)){if(_0x2763bf!==!0x0)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2ba827+'\x22');}}_0x3d1182[_0x2ba827]=_0x2763bf;});}),_0x41c907;}['decompress'](_0x311890,_0x1265ab,_0x120b48){_0x526b4d['add'](_0x339f4a=>{this['_decompress'](_0x311890,_0x1265ab,(_0x6b7f22,_0x436de1)=>{_0x339f4a(),_0x120b48(_0x6b7f22,_0x436de1);});});}['compress'](_0x4b3d4a,_0x19b3a9,_0x59559a){const _0x3b14aa=_0x1e4763;_0x526b4d[_0x3b14aa(0x25e)](_0x7666e1=>{this['_compress'](_0x4b3d4a,_0x19b3a9,(_0x194814,_0x418c92)=>{_0x7666e1(),_0x59559a(_0x194814,_0x418c92);});});}['_decompress'](_0x2702e1,_0xaa9241,_0x346b7b){const _0x434e1f=_0x1e4763,_0x4bf84b=this[_0x434e1f(0x238)]?_0x434e1f(0x1a6):_0x434e1f(0x136);if(!this[_0x434e1f(0x28a)]){const _0x2397c5=_0x4bf84b+_0x434e1f(0x2d0),_0x379818=typeof this['params'][_0x2397c5]!=_0x434e1f(0x128)?_0x5919ec[_0x434e1f(0x2ca)]:this[_0x434e1f(0x294)][_0x2397c5];this[_0x434e1f(0x28a)]=_0x5919ec[_0x434e1f(0x211)]({...this['_options'][_0x434e1f(0x143)],'windowBits':_0x379818}),this[_0x434e1f(0x28a)][_0x40ad8a]=this,this['_inflate'][_0x2c0160]=0x0,this[_0x434e1f(0x28a)][_0x24ad05]=[],this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x159),_0x24110f),this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x147),_0x4297f7);}this[_0x434e1f(0x28a)][_0x3581ec]=_0x346b7b,this[_0x434e1f(0x28a)][_0x434e1f(0x2bd)](_0x2702e1),_0xaa9241&&this[_0x434e1f(0x28a)]['write'](_0x464688),this['_inflate']['flush'](()=>{const _0x1ca781=_0x434e1f,_0x2fe3e8=this[_0x1ca781(0x28a)][_0x50949a];if(_0x2fe3e8){this['_inflate'][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null,_0x346b7b(_0x2fe3e8);return;}const _0x21e2de=_0x45e18a[_0x1ca781(0x2c8)](this[_0x1ca781(0x28a)][_0x24ad05],this[_0x1ca781(0x28a)][_0x2c0160]);this[_0x1ca781(0x28a)][_0x1ca781(0x255)]['endEmitted']?(this[_0x1ca781(0x28a)][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null):(this[_0x1ca781(0x28a)][_0x2c0160]=0x0,this['_inflate'][_0x24ad05]=[],_0xaa9241&&this['params'][_0x4bf84b+_0x1ca781(0x1c7)]&&this[_0x1ca781(0x28a)]['reset']()),_0x346b7b(null,_0x21e2de);});}[_0x1e4763(0x19f)](_0x2d22f3,_0x23477c,_0x2e069d){const _0x5b8981=_0x1e4763,_0x92d4c0=this[_0x5b8981(0x238)]?'server':_0x5b8981(0x1a6);if(!this['_deflate']){const _0x5d6e19=_0x92d4c0+'_max_window_bits',_0x26001e=typeof this[_0x5b8981(0x294)][_0x5d6e19]!=_0x5b8981(0x128)?_0x5919ec[_0x5b8981(0x2ca)]:this[_0x5b8981(0x294)][_0x5d6e19];this[_0x5b8981(0x152)]=_0x5919ec[_0x5b8981(0x21e)]({...this[_0x5b8981(0x20c)]['zlibDeflateOptions'],'windowBits':_0x26001e}),this['_deflate'][_0x2c0160]=0x0,this[_0x5b8981(0x152)][_0x24ad05]=[],this[_0x5b8981(0x152)]['on'](_0x5b8981(0x147),_0x200408);}this['_deflate'][_0x3581ec]=_0x2e069d,this[_0x5b8981(0x152)][_0x5b8981(0x2bd)](_0x2d22f3),this[_0x5b8981(0x152)]['flush'](_0x5919ec['Z_SYNC_FLUSH'],()=>{const _0x284565=_0x5b8981;if(!this['_deflate'])return;let _0x3dfbb7=_0x45e18a[_0x284565(0x2c8)](this[_0x284565(0x152)][_0x24ad05],this[_0x284565(0x152)][_0x2c0160]);_0x23477c&&(_0x3dfbb7=new _0x32d893(_0x3dfbb7[_0x284565(0x16d)],_0x3dfbb7['byteOffset'],_0x3dfbb7['length']-0x4)),this['_deflate'][_0x3581ec]=null,this[_0x284565(0x152)][_0x2c0160]=0x0,this[_0x284565(0x152)][_0x24ad05]=[],_0x23477c&&this['params'][_0x92d4c0+_0x284565(0x1c7)]&&this[_0x284565(0x152)][_0x284565(0x1d7)](),_0x2e069d(null,_0x3dfbb7);});}}ve=_0x4941c0;function _0x200408(_0x175de2){const _0x25d24a=_0x1e4763;this[_0x24ad05][_0x25d24a(0x193)](_0x175de2),this[_0x2c0160]+=_0x175de2[_0x25d24a(0x187)];}function _0x4297f7(_0xe15bba){const _0x535975=_0x1e4763;if(this[_0x2c0160]+=_0xe15bba[_0x535975(0x187)],this[_0x40ad8a][_0x535975(0x23d)]<0x1||this[_0x2c0160]<=this[_0x40ad8a][_0x535975(0x23d)]){this[_0x24ad05][_0x535975(0x193)](_0xe15bba);return;}this[_0x50949a]=new RangeError(_0x535975(0x282)),this[_0x50949a][_0x535975(0x14e)]=_0x535975(0x2ac),this[_0x50949a][_0x517da1]=0x3f1,this[_0x535975(0x189)]('data',_0x4297f7),this[_0x535975(0x1d7)]();}function _0x24110f(_0xc7da73){const _0x3bc6ec=_0x1e4763;this[_0x40ad8a][_0x3bc6ec(0x28a)]=null,_0xc7da73[_0x517da1]=0x3ef,this[_0x3581ec](_0xc7da73);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc592e0(0x145)](Object[_0xc592e0(0x24e)]({'__proto__':null,'default':Ht},Symbol[_0xc592e0(0x150)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x405cb0=_0xc592e0;if(Qe)return re[_0x405cb0(0x1fa)];Qe=0x1;const {isUtf8:_0x1097f0}=_0x4561d1,{hasBlob:_0xf6bbb6}=V(),_0x35272f=[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 _0x1b9eee(_0x4287fa){return _0x4287fa>=0x3e8&&_0x4287fa<=0x3f6&&_0x4287fa!==0x3ec&&_0x4287fa!==0x3ed&&_0x4287fa!==0x3ee||_0x4287fa>=0xbb8&&_0x4287fa<=0x1387;}function _0x561b1e(_0x1c8b73){const _0x3f8505=_0x405cb0,_0x1cbc03=_0x1c8b73[_0x3f8505(0x187)];let _0x18c032=0x0;for(;_0x18c032<_0x1cbc03;)if((_0x1c8b73[_0x18c032]&0x80)===0x0)_0x18c032++;else{if((_0x1c8b73[_0x18c032]&0xe0)===0xc0){if(_0x18c032+0x1===_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032]&0xfe)===0xc0)return!0x1;_0x18c032+=0x2;}else{if((_0x1c8b73[_0x18c032]&0xf0)===0xe0){if(_0x18c032+0x2>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xe0&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0x80||_0x1c8b73[_0x18c032]===0xed&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0xa0)return!0x1;_0x18c032+=0x3;}else{if((_0x1c8b73[_0x18c032]&0xf8)===0xf0){if(_0x18c032+0x3>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x3]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xf0&&(_0x1c8b73[_0x18c032+0x1]&0xf0)===0x80||_0x1c8b73[_0x18c032]===0xf4&&_0x1c8b73[_0x18c032+0x1]>0x8f||_0x1c8b73[_0x18c032]>0xf4)return!0x1;_0x18c032+=0x4;}else return!0x1;}}}return!0x0;}function _0x585132(_0x5ab3ab){const _0x58895a=_0x405cb0;return _0xf6bbb6&&typeof _0x5ab3ab==_0x58895a(0x2a4)&&typeof _0x5ab3ab[_0x58895a(0x1c8)]==_0x58895a(0x1a2)&&typeof _0x5ab3ab[_0x58895a(0x1da)]==_0x58895a(0x263)&&typeof _0x5ab3ab[_0x58895a(0x277)]==_0x58895a(0x1a2)&&(_0x5ab3ab[Symbol[_0x58895a(0x150)]]==='Blob'||_0x5ab3ab[Symbol[_0x58895a(0x150)]]===_0x58895a(0x20d));}if(re[_0x405cb0(0x1fa)]={'isBlob':_0x585132,'isValidStatusCode':_0x1b9eee,'isValidUTF8':_0x561b1e,'tokenChars':_0x35272f},_0x1097f0)re[_0x405cb0(0x1fa)]['isValidUTF8']=function(_0x3c0c9c){return _0x3c0c9c['length']<0x18?_0x561b1e(_0x3c0c9c):_0x1097f0(_0x3c0c9c);};else{if(!process[_0x405cb0(0x2b2)][_0x405cb0(0x2a1)])try{const _0x1d3277=Yt;re[_0x405cb0(0x1fa)][_0x405cb0(0x291)]=function(_0x5d121b){return _0x5d121b['length']<0x20?_0x561b1e(_0x5d121b):_0x1d3277(_0x5d121b);};}catch{}}return re[_0x405cb0(0x1fa)];}var Se,Je;function dt(){const _0x480757=_0xc592e0;if(Je)return Se;Je=0x1;const {Writable:_0x31611a}=_0x1ba7a8,_0x405f45=he(),{BINARY_TYPES:_0x121c6e,EMPTY_BUFFER:_0x22181b,kStatusCode:_0x1b7d13,kWebSocket:_0x372e4c}=V(),{concat:_0x531ca8,toArrayBuffer:_0x1bc102,unmask:_0x41f58c}=ce(),{isValidStatusCode:_0x58ea54,isValidUTF8:_0x2c7cc5}=ne(),_0x8430bf=Buffer[Symbol[_0x480757(0x19e)]],_0x3a9485=0x0,_0x49e0d4=0x1,_0x1da475=0x2,_0x279059=0x3,_0x4d60f8=0x4,_0x21ef5c=0x5,_0x1b98c3=0x6;class _0x409acf extends _0x31611a{constructor(_0x1acb8b={}){const _0x1e6677=_0x480757;super(),this[_0x1e6677(0x27c)]=_0x1acb8b['allowSynchronousEvents']!==void 0x0?_0x1acb8b[_0x1e6677(0x13c)]:!0x0,this[_0x1e6677(0x2d4)]=_0x1acb8b[_0x1e6677(0x1a4)]||_0x121c6e[0x0],this[_0x1e6677(0x138)]=_0x1acb8b[_0x1e6677(0x15b)]||{},this[_0x1e6677(0x238)]=!!_0x1acb8b['isServer'],this[_0x1e6677(0x23d)]=_0x1acb8b['maxPayload']|0x0,this[_0x1e6677(0x1b2)]=!!_0x1acb8b['skipUTF8Validation'],this[_0x372e4c]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1e6677(0x236)]=[],this[_0x1e6677(0x135)]=!0x1,this[_0x1e6677(0x191)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x1e6677(0x1a0)]=!0x1,this['_opcode']=0x0,this[_0x1e6677(0x244)]=0x0,this['_messageLength']=0x0,this[_0x1e6677(0x1c6)]=[],this['_errored']=!0x1,this[_0x1e6677(0x1a7)]=!0x1,this['_state']=_0x3a9485;}[_0x480757(0x144)](_0x2135db,_0x291f76,_0x16ce1a){const _0x448c53=_0x480757;if(this[_0x448c53(0x239)]===0x8&&this[_0x448c53(0x261)]==_0x3a9485)return _0x16ce1a();this[_0x448c53(0x18e)]+=_0x2135db['length'],this[_0x448c53(0x236)][_0x448c53(0x193)](_0x2135db),this[_0x448c53(0x216)](_0x16ce1a);}[_0x480757(0x1ef)](_0x4f4078){const _0x5b93d7=_0x480757;if(this['_bufferedBytes']-=_0x4f4078,_0x4f4078===this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)])return this[_0x5b93d7(0x236)]['shift']();if(_0x4f4078<this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)]){const _0x2162ac=this[_0x5b93d7(0x236)][0x0];return this['_buffers'][0x0]=new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)]+_0x4f4078,_0x2162ac[_0x5b93d7(0x187)]-_0x4f4078),new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)],_0x4f4078);}const _0x774dd2=Buffer[_0x5b93d7(0x271)](_0x4f4078);do{const _0x428d3c=this[_0x5b93d7(0x236)][0x0],_0x5de305=_0x774dd2[_0x5b93d7(0x187)]-_0x4f4078;_0x4f4078>=_0x428d3c[_0x5b93d7(0x187)]?_0x774dd2[_0x5b93d7(0x229)](this[_0x5b93d7(0x236)][_0x5b93d7(0x2d7)](),_0x5de305):(_0x774dd2['set'](new Uint8Array(_0x428d3c[_0x5b93d7(0x16d)],_0x428d3c[_0x5b93d7(0x2af)],_0x4f4078),_0x5de305),this[_0x5b93d7(0x236)][0x0]=new _0x8430bf(_0x428d3c['buffer'],_0x428d3c[_0x5b93d7(0x2af)]+_0x4f4078,_0x428d3c['length']-_0x4f4078)),_0x4f4078-=_0x428d3c['length'];}while(_0x4f4078>0x0);return _0x774dd2;}['startLoop'](_0x35b652){const _0x4d8c4f=_0x480757;this[_0x4d8c4f(0x1a7)]=!0x0;do switch(this[_0x4d8c4f(0x261)]){case _0x3a9485:this[_0x4d8c4f(0x190)](_0x35b652);break;case _0x49e0d4:this['getPayloadLength16'](_0x35b652);break;case _0x1da475:this[_0x4d8c4f(0x200)](_0x35b652);break;case _0x279059:this[_0x4d8c4f(0x171)]();break;case _0x4d60f8:this[_0x4d8c4f(0x2bc)](_0x35b652);break;case _0x21ef5c:case _0x1b98c3:this['_loop']=!0x1;return;}while(this[_0x4d8c4f(0x1a7)]);this[_0x4d8c4f(0x17e)]||_0x35b652();}[_0x480757(0x190)](_0x3a125c){const _0x10d9bb=_0x480757;if(this[_0x10d9bb(0x18e)]<0x2){this[_0x10d9bb(0x1a7)]=!0x1;return;}const _0xcbce82=this[_0x10d9bb(0x1ef)](0x2);if((_0xcbce82[0x0]&0x30)!==0x0){const _0x13dcca=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x215),!0x0,0x3ea,_0x10d9bb(0x21d));_0x3a125c(_0x13dcca);return;}const _0x39abd5=(_0xcbce82[0x0]&0x40)===0x40;if(_0x39abd5&&!this[_0x10d9bb(0x138)][_0x405f45[_0x10d9bb(0x2c5)]]){const _0x3883aa=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3a125c(_0x3883aa);return;}if(this[_0x10d9bb(0x1a0)]=(_0xcbce82[0x0]&0x80)===0x80,this[_0x10d9bb(0x239)]=_0xcbce82[0x0]&0xf,this[_0x10d9bb(0x191)]=_0xcbce82[0x1]&0x7f,this[_0x10d9bb(0x239)]===0x0){if(_0x39abd5){const _0x387985=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x387985);return;}if(!this['_fragmented']){const _0x1bbefc=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x25b),!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x1bbefc);return;}this[_0x10d9bb(0x239)]=this[_0x10d9bb(0x194)];}else{if(this[_0x10d9bb(0x239)]===0x1||this[_0x10d9bb(0x239)]===0x2){if(this[_0x10d9bb(0x194)]){const _0x20c797=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20c797);return;}this[_0x10d9bb(0x135)]=_0x39abd5;}else{if(this[_0x10d9bb(0x239)]>0x7&&this[_0x10d9bb(0x239)]<0xb){if(!this[_0x10d9bb(0x1a0)]){const _0x5ad6b1=this['createError'](RangeError,_0x10d9bb(0x188),!0x0,0x3ea,_0x10d9bb(0x1c3));_0x3a125c(_0x5ad6b1);return;}if(_0x39abd5){const _0x3b1fdf=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x3b1fdf);return;}if(this[_0x10d9bb(0x191)]>0x7d||this[_0x10d9bb(0x239)]===0x8&&this[_0x10d9bb(0x191)]===0x1){const _0x2d1b39=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28e)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3a125c(_0x2d1b39);return;}}else{const _0x20037d=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x1de)+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20037d);return;}}}if(!this[_0x10d9bb(0x1a0)]&&!this[_0x10d9bb(0x194)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0xcbce82[0x1]&0x80)===0x80,this[_0x10d9bb(0x238)]){if(!this[_0x10d9bb(0x254)]){const _0x5e1d7a=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x2cf),!0x0,0x3ea,_0x10d9bb(0x2d5));_0x3a125c(_0x5e1d7a);return;}}else{if(this[_0x10d9bb(0x254)]){const _0x64223b=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x222),!0x0,0x3ea,_0x10d9bb(0x260));_0x3a125c(_0x64223b);return;}}this['_payloadLength']===0x7e?this[_0x10d9bb(0x261)]=_0x49e0d4:this['_payloadLength']===0x7f?this[_0x10d9bb(0x261)]=_0x1da475:this['haveLength'](_0x3a125c);}[_0x480757(0x22c)](_0xd6f2d5){const _0x1880e6=_0x480757;if(this[_0x1880e6(0x18e)]<0x2){this[_0x1880e6(0x1a7)]=!0x1;return;}this[_0x1880e6(0x191)]=this[_0x1880e6(0x1ef)](0x2)[_0x1880e6(0x1d6)](0x0),this[_0x1880e6(0x259)](_0xd6f2d5);}[_0x480757(0x200)](_0x3a4b46){const _0x1c35f3=_0x480757;if(this[_0x1c35f3(0x18e)]<0x8){this[_0x1c35f3(0x1a7)]=!0x1;return;}const _0x581c77=this['consume'](0x8),_0x11afe1=_0x581c77['readUInt32BE'](0x0);if(_0x11afe1>Math['pow'](0x2,0x15)-0x1){const _0x30a828=this[_0x1c35f3(0x1c0)](RangeError,_0x1c35f3(0x280),!0x1,0x3f1,_0x1c35f3(0x1ae));_0x3a4b46(_0x30a828);return;}this[_0x1c35f3(0x191)]=_0x11afe1*Math[_0x1c35f3(0x151)](0x2,0x20)+_0x581c77[_0x1c35f3(0x1f9)](0x4),this[_0x1c35f3(0x259)](_0x3a4b46);}[_0x480757(0x259)](_0x33c7dd){const _0x3a869e=_0x480757;if(this['_payloadLength']&&this[_0x3a869e(0x239)]<0x8&&(this[_0x3a869e(0x244)]+=this[_0x3a869e(0x191)],this[_0x3a869e(0x244)]>this['_maxPayload']&&this[_0x3a869e(0x23d)]>0x0)){const _0x508ace=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3a869e(0x2ac));_0x33c7dd(_0x508ace);return;}this[_0x3a869e(0x254)]?this['_state']=_0x279059:this[_0x3a869e(0x261)]=_0x4d60f8;}[_0x480757(0x171)](){const _0x4c4864=_0x480757;if(this[_0x4c4864(0x18e)]<0x4){this[_0x4c4864(0x1a7)]=!0x1;return;}this[_0x4c4864(0x29f)]=this[_0x4c4864(0x1ef)](0x4),this['_state']=_0x4d60f8;}[_0x480757(0x2bc)](_0x42182d){const _0x1750e7=_0x480757;let _0xf85f4b=_0x22181b;if(this[_0x1750e7(0x191)]){if(this[_0x1750e7(0x18e)]<this[_0x1750e7(0x191)]){this['_loop']=!0x1;return;}_0xf85f4b=this[_0x1750e7(0x1ef)](this[_0x1750e7(0x191)]),this[_0x1750e7(0x254)]&&(this[_0x1750e7(0x29f)][0x0]|this[_0x1750e7(0x29f)][0x1]|this[_0x1750e7(0x29f)][0x2]|this[_0x1750e7(0x29f)][0x3])!==0x0&&_0x41f58c(_0xf85f4b,this[_0x1750e7(0x29f)]);}if(this[_0x1750e7(0x239)]>0x7){this[_0x1750e7(0x288)](_0xf85f4b,_0x42182d);return;}if(this[_0x1750e7(0x135)]){this[_0x1750e7(0x261)]=_0x21ef5c,this[_0x1750e7(0x24f)](_0xf85f4b,_0x42182d);return;}_0xf85f4b[_0x1750e7(0x187)]&&(this[_0x1750e7(0x256)]=this['_totalPayloadLength'],this[_0x1750e7(0x1c6)]['push'](_0xf85f4b)),this[_0x1750e7(0x2c2)](_0x42182d);}[_0x480757(0x24f)](_0x54b89d,_0x2269d8){const _0x244c90=_0x480757;this[_0x244c90(0x138)][_0x405f45[_0x244c90(0x2c5)]][_0x244c90(0x24f)](_0x54b89d,this[_0x244c90(0x1a0)],(_0x573976,_0x1d0c50)=>{const _0x11bfba=_0x244c90;if(_0x573976)return _0x2269d8(_0x573976);if(_0x1d0c50[_0x11bfba(0x187)]){if(this[_0x11bfba(0x256)]+=_0x1d0c50[_0x11bfba(0x187)],this['_messageLength']>this['_maxPayload']&&this[_0x11bfba(0x23d)]>0x0){const _0x3f130f=this[_0x11bfba(0x1c0)](RangeError,_0x11bfba(0x282),!0x1,0x3f1,_0x11bfba(0x2ac));_0x2269d8(_0x3f130f);return;}this['_fragments'][_0x11bfba(0x193)](_0x1d0c50);}this[_0x11bfba(0x2c2)](_0x2269d8),this['_state']===_0x3a9485&&this['startLoop'](_0x2269d8);});}[_0x480757(0x2c2)](_0x585e79){const _0x300fe4=_0x480757;if(!this[_0x300fe4(0x1a0)]){this[_0x300fe4(0x261)]=_0x3a9485;return;}const _0x27d3f7=this[_0x300fe4(0x256)],_0x205e46=this['_fragments'];if(this[_0x300fe4(0x244)]=0x0,this[_0x300fe4(0x256)]=0x0,this[_0x300fe4(0x194)]=0x0,this[_0x300fe4(0x1c6)]=[],this['_opcode']===0x2){let _0x4aa728;this['_binaryType']===_0x300fe4(0x1e5)?_0x4aa728=_0x531ca8(_0x205e46,_0x27d3f7):this[_0x300fe4(0x2d4)]==='arraybuffer'?_0x4aa728=_0x1bc102(_0x531ca8(_0x205e46,_0x27d3f7)):this['_binaryType']==='blob'?_0x4aa728=new Blob(_0x205e46):_0x4aa728=_0x205e46,this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x4aa728,!0x0),this['_state']=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x4d59e5=_0x300fe4;this[_0x4d59e5(0x203)](_0x4d59e5(0x268),_0x4aa728,!0x0),this[_0x4d59e5(0x261)]=_0x3a9485,this[_0x4d59e5(0x216)](_0x585e79);}));}else{const _0x487a5d=_0x531ca8(_0x205e46,_0x27d3f7);if(!this['_skipUTF8Validation']&&!_0x2c7cc5(_0x487a5d)){const _0x3d4ba7=this[_0x300fe4(0x1c0)](Error,_0x300fe4(0x27a),!0x0,0x3ef,_0x300fe4(0x1f1));_0x585e79(_0x3d4ba7);return;}this[_0x300fe4(0x261)]===_0x21ef5c||this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x487a5d,!0x1),this[_0x300fe4(0x261)]=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x35f1c8=_0x300fe4;this['emit'](_0x35f1c8(0x268),_0x487a5d,!0x1),this[_0x35f1c8(0x261)]=_0x3a9485,this[_0x35f1c8(0x216)](_0x585e79);}));}}[_0x480757(0x288)](_0x5d4429,_0x6ca9e3){const _0x3807fc=_0x480757;if(this['_opcode']===0x8){if(_0x5d4429[_0x3807fc(0x187)]===0x0)this[_0x3807fc(0x1a7)]=!0x1,this['emit'](_0x3807fc(0x161),0x3ed,_0x22181b),this[_0x3807fc(0x1f0)]();else{const _0x1b35bf=_0x5d4429[_0x3807fc(0x1d6)](0x0);if(!_0x58ea54(_0x1b35bf)){const _0x4041d0=this['createError'](RangeError,_0x3807fc(0x25a)+_0x1b35bf,!0x0,0x3ea,_0x3807fc(0x242));_0x6ca9e3(_0x4041d0);return;}const _0x504a91=new _0x8430bf(_0x5d4429[_0x3807fc(0x16d)],_0x5d4429[_0x3807fc(0x2af)]+0x2,_0x5d4429['length']-0x2);if(!this[_0x3807fc(0x1b2)]&&!_0x2c7cc5(_0x504a91)){const _0x5b8fb7=this[_0x3807fc(0x1c0)](Error,_0x3807fc(0x27a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x6ca9e3(_0x5b8fb7);return;}this[_0x3807fc(0x1a7)]=!0x1,this[_0x3807fc(0x203)]('conclude',_0x1b35bf,_0x504a91),this['end']();}this[_0x3807fc(0x261)]=_0x3a9485;return;}this[_0x3807fc(0x27c)]?(this[_0x3807fc(0x203)](this['_opcode']===0x9?_0x3807fc(0x27e):_0x3807fc(0x1b1),_0x5d4429),this[_0x3807fc(0x261)]=_0x3a9485):(this['_state']=_0x1b98c3,setImmediate(()=>{const _0x42671a=_0x3807fc;this[_0x42671a(0x203)](this[_0x42671a(0x239)]===0x9?_0x42671a(0x27e):_0x42671a(0x1b1),_0x5d4429),this[_0x42671a(0x261)]=_0x3a9485,this[_0x42671a(0x216)](_0x6ca9e3);}));}[_0x480757(0x1c0)](_0x3640f1,_0x371d17,_0x3f96a7,_0x321554,_0x18ec3e){const _0x6e66f9=_0x480757;this['_loop']=!0x1,this[_0x6e66f9(0x17e)]=!0x0;const _0x5eb71a=new _0x3640f1(_0x3f96a7?_0x6e66f9(0x1e7)+_0x371d17:_0x371d17);return Error[_0x6e66f9(0x158)](_0x5eb71a,this[_0x6e66f9(0x1c0)]),_0x5eb71a[_0x6e66f9(0x14e)]=_0x18ec3e,_0x5eb71a[_0x1b7d13]=_0x321554,_0x5eb71a;}}return Se=_0x409acf,Se;}var Ee,et;function _t(){const _0x37a645=_0xc592e0;if(et)return Ee;et=0x1;const {Duplex:_0x507f57}=_0x1ba7a8,{randomFillSync:_0x4191d3}=_0x306241,_0x2f4789=he(),{EMPTY_BUFFER:_0x39c984,kWebSocket:_0x28a698,NOOP:_0x2053f2}=V(),{isBlob:_0x28b4da,isValidStatusCode:_0x54a720}=ne(),{mask:_0xbf093a,toBuffer:_0x661468}=ce(),_0x5150ec=Symbol('kByteLength'),_0x1285ee=Buffer['alloc'](0x4),_0x6880db=0x8*0x400;let _0x21239b,_0x264dd1=_0x6880db;const _0x190fa8=0x0,_0x41926d=0x1,_0x50ac63=0x2;class _0x1fcecc{constructor(_0x94e9df,_0x31cab6,_0x54b773){const _0x159d91=_0x33fa;this[_0x159d91(0x138)]=_0x31cab6||{},_0x54b773&&(this[_0x159d91(0x1f4)]=_0x54b773,this['_maskBuffer']=Buffer[_0x159d91(0x160)](0x4)),this['_socket']=_0x94e9df,this['_firstFragment']=!0x0,this[_0x159d91(0x19f)]=!0x1,this[_0x159d91(0x18e)]=0x0,this['_queue']=[],this[_0x159d91(0x261)]=_0x190fa8,this['onerror']=_0x2053f2,this[_0x28a698]=void 0x0;}static[_0x37a645(0x180)](_0x2fcb1a,_0x1e2265){const _0x14d920=_0x37a645;let _0x13db3e,_0x5ebd7a=!0x1,_0x3d922e=0x2,_0xb03e20=!0x1;_0x1e2265[_0x14d920(0x1e1)]&&(_0x13db3e=_0x1e2265[_0x14d920(0x164)]||_0x1285ee,_0x1e2265[_0x14d920(0x235)]?_0x1e2265[_0x14d920(0x235)](_0x13db3e):(_0x264dd1===_0x6880db&&(_0x21239b===void 0x0&&(_0x21239b=Buffer[_0x14d920(0x160)](_0x6880db)),_0x4191d3(_0x21239b,0x0,_0x6880db),_0x264dd1=0x0),_0x13db3e[0x0]=_0x21239b[_0x264dd1++],_0x13db3e[0x1]=_0x21239b[_0x264dd1++],_0x13db3e[0x2]=_0x21239b[_0x264dd1++],_0x13db3e[0x3]=_0x21239b[_0x264dd1++]),_0xb03e20=(_0x13db3e[0x0]|_0x13db3e[0x1]|_0x13db3e[0x2]|_0x13db3e[0x3])===0x0,_0x3d922e=0x6);let _0x3311ad;typeof _0x2fcb1a=='string'?(!_0x1e2265[_0x14d920(0x1e1)]||_0xb03e20)&&_0x1e2265[_0x5150ec]!==void 0x0?_0x3311ad=_0x1e2265[_0x5150ec]:(_0x2fcb1a=Buffer['from'](_0x2fcb1a),_0x3311ad=_0x2fcb1a[_0x14d920(0x187)]):(_0x3311ad=_0x2fcb1a[_0x14d920(0x187)],_0x5ebd7a=_0x1e2265[_0x14d920(0x1e1)]&&_0x1e2265[_0x14d920(0x2a8)]&&!_0xb03e20);let _0x18a9f7=_0x3311ad;_0x3311ad>=0x10000?(_0x3d922e+=0x8,_0x18a9f7=0x7f):_0x3311ad>0x7d&&(_0x3d922e+=0x2,_0x18a9f7=0x7e);const _0x438c54=Buffer['allocUnsafe'](_0x5ebd7a?_0x3311ad+_0x3d922e:_0x3d922e);return _0x438c54[0x0]=_0x1e2265[_0x14d920(0x2c0)]?_0x1e2265[_0x14d920(0x2cd)]|0x80:_0x1e2265[_0x14d920(0x2cd)],_0x1e2265['rsv1']&&(_0x438c54[0x0]|=0x40),_0x438c54[0x1]=_0x18a9f7,_0x18a9f7===0x7e?_0x438c54[_0x14d920(0x168)](_0x3311ad,0x2):_0x18a9f7===0x7f&&(_0x438c54[0x2]=_0x438c54[0x3]=0x0,_0x438c54[_0x14d920(0x2d3)](_0x3311ad,0x4,0x6)),_0x1e2265[_0x14d920(0x1e1)]?(_0x438c54[0x1]|=0x80,_0x438c54[_0x3d922e-0x4]=_0x13db3e[0x0],_0x438c54[_0x3d922e-0x3]=_0x13db3e[0x1],_0x438c54[_0x3d922e-0x2]=_0x13db3e[0x2],_0x438c54[_0x3d922e-0x1]=_0x13db3e[0x3],_0xb03e20?[_0x438c54,_0x2fcb1a]:_0x5ebd7a?(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x438c54,_0x3d922e,_0x3311ad),[_0x438c54]):(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x2fcb1a,0x0,_0x3311ad),[_0x438c54,_0x2fcb1a])):[_0x438c54,_0x2fcb1a];}[_0x37a645(0x1aa)](_0x17d54f,_0x579afb,_0x24484e,_0x1a6b8d){const _0x4c9f10=_0x37a645;let _0x2abb91;if(_0x17d54f===void 0x0)_0x2abb91=_0x39c984;else{if(typeof _0x17d54f!='number'||!_0x54a720(_0x17d54f))throw new TypeError(_0x4c9f10(0x1f6));if(_0x579afb===void 0x0||!_0x579afb[_0x4c9f10(0x187)])_0x2abb91=Buffer[_0x4c9f10(0x271)](0x2),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0);else{const _0x59623f=Buffer[_0x4c9f10(0x272)](_0x579afb);if(_0x59623f>0x7b)throw new RangeError(_0x4c9f10(0x1fb));_0x2abb91=Buffer['allocUnsafe'](0x2+_0x59623f),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0),typeof _0x579afb==_0x4c9f10(0x263)?_0x2abb91['write'](_0x579afb,0x2):_0x2abb91[_0x4c9f10(0x229)](_0x579afb,0x2);}}const _0x1cd10c={[_0x5150ec]:_0x2abb91[_0x4c9f10(0x187)],'fin':!0x0,'generateMask':this[_0x4c9f10(0x1f4)],'mask':_0x24484e,'maskBuffer':this[_0x4c9f10(0x192)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4c9f10(0x261)]!==_0x190fa8?this['enqueue']([this[_0x4c9f10(0x21b)],_0x2abb91,!0x1,_0x1cd10c,_0x1a6b8d]):this[_0x4c9f10(0x15e)](_0x1fcecc[_0x4c9f10(0x180)](_0x2abb91,_0x1cd10c),_0x1a6b8d);}[_0x37a645(0x27e)](_0x9e6417,_0x133efb,_0x4423c5){const _0x3b46a8=_0x37a645;let _0x3ba549,_0x1de455;if(typeof _0x9e6417==_0x3b46a8(0x263)?(_0x3ba549=Buffer[_0x3b46a8(0x272)](_0x9e6417),_0x1de455=!0x1):_0x28b4da(_0x9e6417)?(_0x3ba549=_0x9e6417['size'],_0x1de455=!0x1):(_0x9e6417=_0x661468(_0x9e6417),_0x3ba549=_0x9e6417[_0x3b46a8(0x187)],_0x1de455=_0x661468[_0x3b46a8(0x2a8)]),_0x3ba549>0x7d)throw new RangeError(_0x3b46a8(0x14a));const _0x3e1c06={[_0x5150ec]:_0x3ba549,'fin':!0x0,'generateMask':this[_0x3b46a8(0x1f4)],'mask':_0x133efb,'maskBuffer':this[_0x3b46a8(0x192)],'opcode':0x9,'readOnly':_0x1de455,'rsv1':!0x1};_0x28b4da(_0x9e6417)?this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this[_0x3b46a8(0x25c)],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this['getBlobData'](_0x9e6417,!0x1,_0x3e1c06,_0x4423c5):this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this['dispatch'],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this[_0x3b46a8(0x15e)](_0x1fcecc['frame'](_0x9e6417,_0x3e1c06),_0x4423c5);}[_0x37a645(0x1b1)](_0x5644bb,_0x2551be,_0x49d8a6){const _0x126628=_0x37a645;let _0x27a87c,_0x3eeb9e;if(typeof _0x5644bb==_0x126628(0x263)?(_0x27a87c=Buffer[_0x126628(0x272)](_0x5644bb),_0x3eeb9e=!0x1):_0x28b4da(_0x5644bb)?(_0x27a87c=_0x5644bb[_0x126628(0x1e2)],_0x3eeb9e=!0x1):(_0x5644bb=_0x661468(_0x5644bb),_0x27a87c=_0x5644bb[_0x126628(0x187)],_0x3eeb9e=_0x661468[_0x126628(0x2a8)]),_0x27a87c>0x7d)throw new RangeError(_0x126628(0x14a));const _0x816d87={[_0x5150ec]:_0x27a87c,'fin':!0x0,'generateMask':this[_0x126628(0x1f4)],'mask':_0x2551be,'maskBuffer':this[_0x126628(0x192)],'opcode':0xa,'readOnly':_0x3eeb9e,'rsv1':!0x1};_0x28b4da(_0x5644bb)?this['_state']!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x25c)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x25c)](_0x5644bb,!0x1,_0x816d87,_0x49d8a6):this[_0x126628(0x261)]!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x21b)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x15e)](_0x1fcecc[_0x126628(0x180)](_0x5644bb,_0x816d87),_0x49d8a6);}[_0x37a645(0x2b5)](_0x6a6564,_0x4cf4e0,_0x57ab66){const _0x4ba586=_0x37a645,_0x19645e=this['_extensions'][_0x2f4789['extensionName']];let _0x3ef702=_0x4cf4e0[_0x4ba586(0x224)]?0x2:0x1,_0x5d0ef9=_0x4cf4e0['compress'],_0x5ad512,_0x285375;typeof _0x6a6564==_0x4ba586(0x263)?(_0x5ad512=Buffer['byteLength'](_0x6a6564),_0x285375=!0x1):_0x28b4da(_0x6a6564)?(_0x5ad512=_0x6a6564[_0x4ba586(0x1e2)],_0x285375=!0x1):(_0x6a6564=_0x661468(_0x6a6564),_0x5ad512=_0x6a6564[_0x4ba586(0x187)],_0x285375=_0x661468[_0x4ba586(0x2a8)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x5d0ef9&&_0x19645e&&_0x19645e[_0x4ba586(0x294)][_0x19645e[_0x4ba586(0x238)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x5d0ef9=_0x5ad512>=_0x19645e['_threshold']),this[_0x4ba586(0x19f)]=_0x5d0ef9):(_0x5d0ef9=!0x1,_0x3ef702=0x0),_0x4cf4e0[_0x4ba586(0x2c0)]&&(this[_0x4ba586(0x1d1)]=!0x0);const _0x465a66={[_0x5150ec]:_0x5ad512,'fin':_0x4cf4e0[_0x4ba586(0x2c0)],'generateMask':this['_generateMask'],'mask':_0x4cf4e0[_0x4ba586(0x1e1)],'maskBuffer':this[_0x4ba586(0x192)],'opcode':_0x3ef702,'readOnly':_0x285375,'rsv1':_0x5d0ef9};_0x28b4da(_0x6a6564)?this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this['getBlobData'],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x25c)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66):this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this[_0x4ba586(0x21b)],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x21b)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66);}['getBlobData'](_0x230bb0,_0x3b2e50,_0x33f2bf,_0x11be9e){const _0x6b286f=_0x37a645;this['_bufferedBytes']+=_0x33f2bf[_0x5150ec],this[_0x6b286f(0x261)]=_0x50ac63,_0x230bb0[_0x6b286f(0x1c8)]()[_0x6b286f(0x1c1)](_0x80f0bd=>{const _0x308858=_0x6b286f;if(this[_0x308858(0x1d8)][_0x308858(0x1af)]){const _0x243ab8=new Error(_0x308858(0x1bd));process[_0x308858(0x2a2)](_0x357645,this,_0x243ab8,_0x11be9e);return;}this['_bufferedBytes']-=_0x33f2bf[_0x5150ec];const _0x42a364=_0x661468(_0x80f0bd);_0x3b2e50?this['dispatch'](_0x42a364,_0x3b2e50,_0x33f2bf,_0x11be9e):(this['_state']=_0x190fa8,this[_0x308858(0x15e)](_0x1fcecc[_0x308858(0x180)](_0x42a364,_0x33f2bf),_0x11be9e),this[_0x308858(0x2aa)]());})[_0x6b286f(0x2d6)](_0x37497f=>{const _0x17e970=_0x6b286f;process[_0x17e970(0x2a2)](_0x58348c,this,_0x37497f,_0x11be9e);});}['dispatch'](_0x4d0fe7,_0x44f3a9,_0x497378,_0xd8ff49){const _0x485d58=_0x37a645;if(!_0x44f3a9){this[_0x485d58(0x15e)](_0x1fcecc[_0x485d58(0x180)](_0x4d0fe7,_0x497378),_0xd8ff49);return;}const _0x48c564=this[_0x485d58(0x138)][_0x2f4789[_0x485d58(0x2c5)]];this[_0x485d58(0x18e)]+=_0x497378[_0x5150ec],this[_0x485d58(0x261)]=_0x41926d,_0x48c564['compress'](_0x4d0fe7,_0x497378[_0x485d58(0x2c0)],(_0x57dd7f,_0x41fc6c)=>{const _0x2326b6=_0x485d58;if(this[_0x2326b6(0x1d8)]['destroyed']){const _0x80d617=new Error(_0x2326b6(0x2cb));_0x357645(this,_0x80d617,_0xd8ff49);return;}this[_0x2326b6(0x18e)]-=_0x497378[_0x5150ec],this[_0x2326b6(0x261)]=_0x190fa8,_0x497378[_0x2326b6(0x2a8)]=!0x1,this['sendFrame'](_0x1fcecc[_0x2326b6(0x180)](_0x41fc6c,_0x497378),_0xd8ff49),this[_0x2326b6(0x2aa)]();});}['dequeue'](){const _0x1dc708=_0x37a645;for(;this[_0x1dc708(0x261)]===_0x190fa8&&this['_queue'][_0x1dc708(0x187)];){const _0x438490=this[_0x1dc708(0x12c)][_0x1dc708(0x2d7)]();this['_bufferedBytes']-=_0x438490[0x3][_0x5150ec],Reflect[_0x1dc708(0x265)](_0x438490[0x0],this,_0x438490[_0x1dc708(0x1bb)](0x1));}}[_0x37a645(0x167)](_0x397294){const _0x18d980=_0x37a645;this[_0x18d980(0x18e)]+=_0x397294[0x3][_0x5150ec],this[_0x18d980(0x12c)][_0x18d980(0x193)](_0x397294);}[_0x37a645(0x15e)](_0x12cb34,_0x135918){const _0x309127=_0x37a645;_0x12cb34[_0x309127(0x187)]===0x2?(this[_0x309127(0x1d8)][_0x309127(0x262)](),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0]),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x1],_0x135918),this[_0x309127(0x1d8)][_0x309127(0x1a1)]()):this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0],_0x135918);}}Ee=_0x1fcecc;function _0x357645(_0x309a7f,_0x23817c,_0x12e8cd){const _0x2ac16a=_0x37a645;typeof _0x12e8cd==_0x2ac16a(0x1a2)&&_0x12e8cd(_0x23817c);for(let _0x195fa5=0x0;_0x195fa5<_0x309a7f[_0x2ac16a(0x12c)][_0x2ac16a(0x187)];_0x195fa5++){const _0x4deaf8=_0x309a7f[_0x2ac16a(0x12c)][_0x195fa5],_0x4ec8ce=_0x4deaf8[_0x4deaf8[_0x2ac16a(0x187)]-0x1];typeof _0x4ec8ce==_0x2ac16a(0x1a2)&&_0x4ec8ce(_0x23817c);}}function _0x58348c(_0x4c1397,_0x4d0b0e,_0x13aa78){const _0x512ad6=_0x37a645;_0x357645(_0x4c1397,_0x4d0b0e,_0x13aa78),_0x4c1397[_0x512ad6(0x28f)](_0x4d0b0e);}return Ee;}var xe,tt;function Kt(){const _0x9eceeb=_0xc592e0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5a8feb,kListener:_0x1b83af}=V(),_0x16a3f6=Symbol(_0x9eceeb(0x16a)),_0x58ee00=Symbol('kData'),_0x2e554a=Symbol(_0x9eceeb(0x1b0)),_0x4663ab=Symbol('kMessage'),_0x47cc81=Symbol(_0x9eceeb(0x289)),_0x244953=Symbol(_0x9eceeb(0x195)),_0x35644d=Symbol(_0x9eceeb(0x1b7)),_0x5d3f11=Symbol(_0x9eceeb(0x1cc));class _0x30ece4{constructor(_0x383510){this[_0x244953]=null,this[_0x35644d]=_0x383510;}get[_0x9eceeb(0x1e9)](){return this[_0x244953];}get['type'](){return this[_0x35644d];}}Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1e9),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1da),{'enumerable':!0x0});class _0xaaee87 extends _0x30ece4{constructor(_0x5183aa,_0x5d4459={}){const _0x1ef693=_0x9eceeb;super(_0x5183aa),this[_0x16a3f6]=_0x5d4459['code']===void 0x0?0x0:_0x5d4459[_0x1ef693(0x14e)],this[_0x47cc81]=_0x5d4459[_0x1ef693(0x23a)]===void 0x0?'':_0x5d4459[_0x1ef693(0x23a)],this[_0x5d3f11]=_0x5d4459[_0x1ef693(0x2b7)]===void 0x0?!0x1:_0x5d4459['wasClean'];}get[_0x9eceeb(0x14e)](){return this[_0x16a3f6];}get[_0x9eceeb(0x23a)](){return this[_0x47cc81];}get['wasClean'](){return this[_0x5d3f11];}}Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],'code',{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],_0x9eceeb(0x23a),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87['prototype'],_0x9eceeb(0x2b7),{'enumerable':!0x0});class _0xc18b53 extends _0x30ece4{constructor(_0x2b339b,_0x255915={}){const _0x43332b=_0x9eceeb;super(_0x2b339b),this[_0x2e554a]=_0x255915[_0x43332b(0x159)]===void 0x0?null:_0x255915[_0x43332b(0x159)],this[_0x4663ab]=_0x255915[_0x43332b(0x268)]===void 0x0?'':_0x255915[_0x43332b(0x268)];}get[_0x9eceeb(0x159)](){return this[_0x2e554a];}get['message'](){return this[_0x4663ab];}}Object['defineProperty'](_0xc18b53['prototype'],_0x9eceeb(0x159),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xc18b53[_0x9eceeb(0x1e3)],_0x9eceeb(0x268),{'enumerable':!0x0});class _0xcbbc8c extends _0x30ece4{constructor(_0x4808bb,_0x1384dc={}){super(_0x4808bb),this[_0x58ee00]=_0x1384dc['data']===void 0x0?null:_0x1384dc['data'];}get[_0x9eceeb(0x147)](){return this[_0x58ee00];}}Object[_0x9eceeb(0x24e)](_0xcbbc8c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xaaee87,'ErrorEvent':_0xc18b53,'Event':_0x30ece4,'EventTarget':{'addEventListener'(_0x452f48,_0x768a94,_0x2afdbe={}){const _0x22acda=_0x9eceeb;for(const _0xcd3854 of this['listeners'](_0x452f48))if(!_0x2afdbe[_0x5a8feb]&&_0xcd3854[_0x1b83af]===_0x768a94&&!_0xcd3854[_0x5a8feb])return;let _0xe788d9;if(_0x452f48===_0x22acda(0x268))_0xe788d9=function(_0x1ed953,_0x34aace){const _0xa80cc0=_0x22acda,_0x1382b6=new _0xcbbc8c(_0xa80cc0(0x268),{'data':_0x34aace?_0x1ed953:_0x1ed953[_0xa80cc0(0x287)]()});_0x1382b6[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x1382b6);};else{if(_0x452f48==='close')_0xe788d9=function(_0x5cb85e,_0x136d5a){const _0x1f450b=_0x22acda,_0x3939d9=new _0xaaee87(_0x1f450b(0x1aa),{'code':_0x5cb85e,'reason':_0x136d5a[_0x1f450b(0x287)](),'wasClean':this[_0x1f450b(0x214)]&&this[_0x1f450b(0x133)]});_0x3939d9[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x3939d9);};else{if(_0x452f48===_0x22acda(0x159))_0xe788d9=function(_0x140a01){const _0x10af75=_0x22acda,_0x21c4d4=new _0xc18b53(_0x10af75(0x159),{'error':_0x140a01,'message':_0x140a01[_0x10af75(0x268)]});_0x21c4d4[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x21c4d4);};else{if(_0x452f48===_0x22acda(0x21a))_0xe788d9=function(){const _0x5a3830=new _0x30ece4('open');_0x5a3830[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x5a3830);};else return;}}}_0xe788d9[_0x5a8feb]=!!_0x2afdbe[_0x5a8feb],_0xe788d9[_0x1b83af]=_0x768a94,_0x2afdbe[_0x22acda(0x1b5)]?this[_0x22acda(0x1b5)](_0x452f48,_0xe788d9):this['on'](_0x452f48,_0xe788d9);},'removeEventListener'(_0x1c28b8,_0x5182c7){const _0x4e64d6=_0x9eceeb;for(const _0xfe4cfa of this[_0x4e64d6(0x172)](_0x1c28b8))if(_0xfe4cfa[_0x1b83af]===_0x5182c7&&!_0xfe4cfa[_0x5a8feb]){this['removeListener'](_0x1c28b8,_0xfe4cfa);break;}}},'MessageEvent':_0xcbbc8c};function _0x1db29f(_0x3713c0,_0xdff843,_0x205e75){const _0x37bc1a=_0x9eceeb;typeof _0x3713c0==_0x37bc1a(0x2a4)&&_0x3713c0[_0x37bc1a(0x15a)]?_0x3713c0[_0x37bc1a(0x15a)][_0x37bc1a(0x27f)](_0x3713c0,_0x205e75):_0x3713c0[_0x37bc1a(0x27f)](_0xdff843,_0x205e75);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x282b01}=ne();function _0x5a8d35(_0x3cfd74,_0x319a28,_0x355509){const _0x4e492d=_0x33fa;_0x3cfd74[_0x319a28]===void 0x0?_0x3cfd74[_0x319a28]=[_0x355509]:_0x3cfd74[_0x319a28][_0x4e492d(0x193)](_0x355509);}function _0x1f7da9(_0x3cc443){const _0x43231d=_0x33fa,_0x858177=Object[_0x43231d(0x2c4)](null);let _0x42b766=Object[_0x43231d(0x2c4)](null),_0x39f7c4=!0x1,_0x34b18c=!0x1,_0x1fa267=!0x1,_0x197da0,_0x551f28,_0x12f9a7=-0x1,_0xdf2789=-0x1,_0x14274f=-0x1,_0x1c78c9=0x0;for(;_0x1c78c9<_0x3cc443[_0x43231d(0x187)];_0x1c78c9++)if(_0xdf2789=_0x3cc443[_0x43231d(0x223)](_0x1c78c9),_0x197da0===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x1c78c9!==0x0&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x4c1f3b=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0xdf2789===0x2c?(_0x5a8d35(_0x858177,_0x4c1f3b,_0x42b766),_0x42b766=Object['create'](null)):_0x197da0=_0x4c1f3b,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0x551f28===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x20||_0xdf2789===0x9)_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9),_0x5a8d35(_0x42b766,_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f),!0x0),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object['create'](null),_0x197da0=void 0x0),_0x12f9a7=_0x14274f=-0x1;}else{if(_0xdf2789===0x3d&&_0x12f9a7!==-0x1&&_0x14274f===-0x1)_0x551f28=_0x3cc443['slice'](_0x12f9a7,_0x1c78c9),_0x12f9a7=_0x14274f=-0x1;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}else{if(_0x34b18c){if(_0x282b01[_0xdf2789]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x12f9a7===-0x1?_0x12f9a7=_0x1c78c9:_0x39f7c4||(_0x39f7c4=!0x0),_0x34b18c=!0x1;}else{if(_0x1fa267){if(_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x22&&_0x12f9a7!==-0x1)_0x1fa267=!0x1,_0x14274f=_0x1c78c9;else{if(_0xdf2789===0x5c)_0x34b18c=!0x0;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0xdf2789===0x22&&_0x3cc443[_0x43231d(0x223)](_0x1c78c9-0x1)===0x3d)_0x1fa267=!0x0;else{if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x12f9a7!==-0x1&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);let _0x35d28c=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0x39f7c4&&(_0x35d28c=_0x35d28c['replace'](/\\/g,''),_0x39f7c4=!0x1),_0x5a8d35(_0x42b766,_0x551f28,_0x35d28c),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object[_0x43231d(0x2c4)](null),_0x197da0=void 0x0),_0x551f28=void 0x0,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}}}}if(_0x12f9a7===-0x1||_0x1fa267||_0xdf2789===0x20||_0xdf2789===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x2c4cad=_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f);return _0x197da0===void 0x0?_0x5a8d35(_0x858177,_0x2c4cad,_0x42b766):(_0x551f28===void 0x0?_0x5a8d35(_0x42b766,_0x2c4cad,!0x0):_0x39f7c4?_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad[_0x43231d(0x1d9)](/\\/g,'')):_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad),_0x5a8d35(_0x858177,_0x197da0,_0x42b766)),_0x858177;}function _0x56b29f(_0x135cae){const _0x58a5c2=_0x33fa;return Object[_0x58a5c2(0x149)](_0x135cae)['map'](_0x21e013=>{const _0x56790c=_0x58a5c2;let _0x16cc25=_0x135cae[_0x21e013];return Array[_0x56790c(0x22e)](_0x16cc25)||(_0x16cc25=[_0x16cc25]),_0x16cc25['map'](_0x84de94=>[_0x21e013][_0x56790c(0x2c8)](Object[_0x56790c(0x149)](_0x84de94)[_0x56790c(0x1ff)](_0x17127c=>{const _0x4ff591=_0x56790c;let _0xd362a0=_0x84de94[_0x17127c];return Array[_0x4ff591(0x22e)](_0xd362a0)||(_0xd362a0=[_0xd362a0]),_0xd362a0[_0x4ff591(0x1ff)](_0x275060=>_0x275060===!0x0?_0x17127c:_0x17127c+'='+_0x275060)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x58a5c2(0x298)](',\x20');}return be={'format':_0x56b29f,'parse':_0x1f7da9},be;}var we,st;function _0x33fa(_0x3d07aa,_0x2fdd3d){const _0x5e37c9=_0x5e37();return _0x33fa=function(_0x33fa13,_0x10dc42){_0x33fa13=_0x33fa13-0x126;let _0x464a5f=_0x5e37c9[_0x33fa13];return _0x464a5f;},_0x33fa(_0x3d07aa,_0x2fdd3d);}function Ie(){const _0x34742b=_0xc592e0;if(st)return we;st=0x1;const _0x2a1f72=_0x65c4b3,_0xd5b70d=_0x2a038a,_0x42b658=_0x52e28b,_0x22f7c5=_0x461c75,_0x39ddbc=_0x46b953,{randomBytes:_0x3f7c77,createHash:_0x59ff6d}=_0x306241,{Duplex:_0x41c504,Readable:_0x1bfa46}=_0x1ba7a8,{URL:_0x4b1d38}=_0x16f754,_0x4c0772=he(),_0x180e22=dt(),_0x5cc961=_t(),{isBlob:_0x4f9c50}=ne(),{BINARY_TYPES:_0x5715a8,EMPTY_BUFFER:_0x526c4d,GUID:_0x17edf6,kForOnEventAttribute:_0xa18724,kListener:_0x434861,kStatusCode:_0x1bb141,kWebSocket:_0xf70647,NOOP:_0x1e7d2f}=V(),{EventTarget:{addEventListener:_0x3dac29,removeEventListener:_0x447ada}}=Kt(),{format:_0x4cd271,parse:_0x4564e3}=pt(),{toBuffer:_0x5b8587}=ce(),_0x154808=0x1e*0x3e8,_0x398bf1=Symbol(_0x34742b(0x17f)),_0x4e2ae5=[0x8,0xd],_0x3112b1=[_0x34742b(0x29c),_0x34742b(0x28d),_0x34742b(0x12a),_0x34742b(0x13e)],_0xa78f0e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x19bb9c extends _0x2a1f72{constructor(_0x182107,_0x3b8c97,_0x3d8881){const _0x439e26=_0x34742b;super(),this[_0x439e26(0x2d4)]=_0x5715a8[0x0],this[_0x439e26(0x15f)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x526c4d,this[_0x439e26(0x290)]=null,this[_0x439e26(0x16e)]=!0x1,this[_0x439e26(0x138)]={},this[_0x439e26(0x157)]=!0x1,this[_0x439e26(0x18a)]='',this['_readyState']=_0x19bb9c[_0x439e26(0x29c)],this[_0x439e26(0x181)]=null,this[_0x439e26(0x2be)]=null,this[_0x439e26(0x1d8)]=null,_0x182107!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x3b8c97===void 0x0?_0x3b8c97=[]:Array[_0x439e26(0x22e)](_0x3b8c97)||(typeof _0x3b8c97=='object'&&_0x3b8c97!==null?(_0x3d8881=_0x3b8c97,_0x3b8c97=[]):_0x3b8c97=[_0x3b8c97]),_0x4a627e(this,_0x182107,_0x3b8c97,_0x3d8881)):(this[_0x439e26(0x26c)]=_0x3d8881[_0x439e26(0x29b)],this[_0x439e26(0x238)]=!0x0);}get[_0x34742b(0x1a4)](){const _0x3132cc=_0x34742b;return this[_0x3132cc(0x2d4)];}set[_0x34742b(0x1a4)](_0x1af834){const _0x2718ae=_0x34742b;_0x5715a8[_0x2718ae(0x174)](_0x1af834)&&(this[_0x2718ae(0x2d4)]=_0x1af834,this[_0x2718ae(0x181)]&&(this[_0x2718ae(0x181)][_0x2718ae(0x2d4)]=_0x1af834));}get[_0x34742b(0x2a7)](){const _0x3d2ba7=_0x34742b;return this[_0x3d2ba7(0x1d8)]?this[_0x3d2ba7(0x1d8)][_0x3d2ba7(0x2b4)]['length']+this[_0x3d2ba7(0x2be)][_0x3d2ba7(0x18e)]:this[_0x3d2ba7(0x12b)];}get[_0x34742b(0x15b)](){const _0x279ed9=_0x34742b;return Object[_0x279ed9(0x149)](this[_0x279ed9(0x138)])[_0x279ed9(0x298)]();}get['isPaused'](){const _0x582fe7=_0x34742b;return this[_0x582fe7(0x157)];}get[_0x34742b(0x296)](){return null;}get[_0x34742b(0x28f)](){return null;}get[_0x34742b(0x15c)](){return null;}get[_0x34742b(0x266)](){return null;}get[_0x34742b(0x20a)](){const _0x441ea6=_0x34742b;return this[_0x441ea6(0x18a)];}get[_0x34742b(0x27d)](){const _0x335039=_0x34742b;return this[_0x335039(0x1e6)];}get[_0x34742b(0x1fe)](){return this['_url'];}[_0x34742b(0x148)](_0x6d0fa7,_0x5f0fa8,_0x2e054d){const _0x4e573c=_0x34742b,_0x4ef699=new _0x180e22({'allowSynchronousEvents':_0x2e054d[_0x4e573c(0x13c)],'binaryType':this[_0x4e573c(0x1a4)],'extensions':this['_extensions'],'isServer':this[_0x4e573c(0x238)],'maxPayload':_0x2e054d[_0x4e573c(0x1e8)],'skipUTF8Validation':_0x2e054d['skipUTF8Validation']}),_0x4db958=new _0x5cc961(_0x6d0fa7,this[_0x4e573c(0x138)],_0x2e054d[_0x4e573c(0x235)]);this[_0x4e573c(0x181)]=_0x4ef699,this[_0x4e573c(0x2be)]=_0x4db958,this[_0x4e573c(0x1d8)]=_0x6d0fa7,_0x4ef699[_0xf70647]=this,_0x4db958[_0xf70647]=this,_0x6d0fa7[_0xf70647]=this,_0x4ef699['on'](_0x4e573c(0x161),_0x2e2dbb),_0x4ef699['on'](_0x4e573c(0x131),_0x1b23ca),_0x4ef699['on'](_0x4e573c(0x159),_0x3a764f),_0x4ef699['on']('message',_0x31f8fe),_0x4ef699['on'](_0x4e573c(0x27e),_0x4ab286),_0x4ef699['on']('pong',_0x199679),_0x4db958['onerror']=_0x55b6ea,_0x6d0fa7[_0x4e573c(0x279)]&&_0x6d0fa7['setTimeout'](0x0),_0x6d0fa7['setNoDelay']&&_0x6d0fa7[_0x4e573c(0x137)](),_0x5f0fa8[_0x4e573c(0x187)]>0x0&&_0x6d0fa7['unshift'](_0x5f0fa8),_0x6d0fa7['on']('close',_0x2ed511),_0x6d0fa7['on']('data',_0x35b3af),_0x6d0fa7['on'](_0x4e573c(0x1f0),_0x4dd039),_0x6d0fa7['on']('error',_0x159b70),this[_0x4e573c(0x1e6)]=_0x19bb9c[_0x4e573c(0x28d)],this['emit']('open');}[_0x34742b(0x247)](){const _0x1259d1=_0x34742b;if(!this[_0x1259d1(0x1d8)]){this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);return;}this[_0x1259d1(0x138)][_0x4c0772[_0x1259d1(0x2c5)]]&&this['_extensions'][_0x4c0772[_0x1259d1(0x2c5)]][_0x1259d1(0x25d)](),this[_0x1259d1(0x181)]['removeAllListeners'](),this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);}[_0x34742b(0x1aa)](_0x3d082c,_0x4176c6){const _0xe7004c=_0x34742b;if(this[_0xe7004c(0x27d)]!==_0x19bb9c[_0xe7004c(0x13e)]){if(this[_0xe7004c(0x27d)]===_0x19bb9c['CONNECTING']){_0xd1a8ce(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xe7004c(0x27d)]===_0x19bb9c['CLOSING']){this[_0xe7004c(0x133)]&&(this[_0xe7004c(0x214)]||this[_0xe7004c(0x181)][_0xe7004c(0x2b4)][_0xe7004c(0x166)])&&this[_0xe7004c(0x1d8)]['end']();return;}this[_0xe7004c(0x1e6)]=_0x19bb9c[_0xe7004c(0x12a)],this[_0xe7004c(0x2be)][_0xe7004c(0x1aa)](_0x3d082c,_0x4176c6,!this['_isServer'],_0x2bbaa4=>{const _0x540d40=_0xe7004c;_0x2bbaa4||(this[_0x540d40(0x133)]=!0x0,(this[_0x540d40(0x214)]||this['_receiver'][_0x540d40(0x2b4)][_0x540d40(0x166)])&&this[_0x540d40(0x1d8)][_0x540d40(0x1f0)]());}),_0x342fcb(this);}}[_0x34742b(0x1bc)](){const _0x441c9d=_0x34742b;this['readyState']===_0x19bb9c[_0x441c9d(0x29c)]||this[_0x441c9d(0x27d)]===_0x19bb9c[_0x441c9d(0x13e)]||(this[_0x441c9d(0x157)]=!0x0,this[_0x441c9d(0x1d8)][_0x441c9d(0x1bc)]());}[_0x34742b(0x27e)](_0x3a5119,_0x21a98d,_0x4b73ea){const _0x52d23a=_0x34742b;if(this[_0x52d23a(0x27d)]===_0x19bb9c[_0x52d23a(0x29c)])throw new Error(_0x52d23a(0x22d));if(typeof _0x3a5119==_0x52d23a(0x1a2)?(_0x4b73ea=_0x3a5119,_0x3a5119=_0x21a98d=void 0x0):typeof _0x21a98d==_0x52d23a(0x1a2)&&(_0x4b73ea=_0x21a98d,_0x21a98d=void 0x0),typeof _0x3a5119==_0x52d23a(0x128)&&(_0x3a5119=_0x3a5119[_0x52d23a(0x287)]()),this[_0x52d23a(0x27d)]!==_0x19bb9c[_0x52d23a(0x28d)]){_0x6148b1(this,_0x3a5119,_0x4b73ea);return;}_0x21a98d===void 0x0&&(_0x21a98d=!this[_0x52d23a(0x238)]),this[_0x52d23a(0x2be)]['ping'](_0x3a5119||_0x526c4d,_0x21a98d,_0x4b73ea);}[_0x34742b(0x1b1)](_0x19b86a,_0x3c6fa5,_0x4bdaf5){const _0xa6eba9=_0x34742b;if(this[_0xa6eba9(0x27d)]===_0x19bb9c[_0xa6eba9(0x29c)])throw new Error(_0xa6eba9(0x22d));if(typeof _0x19b86a=='function'?(_0x4bdaf5=_0x19b86a,_0x19b86a=_0x3c6fa5=void 0x0):typeof _0x3c6fa5==_0xa6eba9(0x1a2)&&(_0x4bdaf5=_0x3c6fa5,_0x3c6fa5=void 0x0),typeof _0x19b86a==_0xa6eba9(0x128)&&(_0x19b86a=_0x19b86a['toString']()),this[_0xa6eba9(0x27d)]!==_0x19bb9c[_0xa6eba9(0x28d)]){_0x6148b1(this,_0x19b86a,_0x4bdaf5);return;}_0x3c6fa5===void 0x0&&(_0x3c6fa5=!this[_0xa6eba9(0x238)]),this[_0xa6eba9(0x2be)][_0xa6eba9(0x1b1)](_0x19b86a||_0x526c4d,_0x3c6fa5,_0x4bdaf5);}[_0x34742b(0x1a8)](){const _0x3724c6=_0x34742b;this['readyState']===_0x19bb9c['CONNECTING']||this[_0x3724c6(0x27d)]===_0x19bb9c['CLOSED']||(this[_0x3724c6(0x157)]=!0x1,this[_0x3724c6(0x181)][_0x3724c6(0x2b4)][_0x3724c6(0x16c)]||this[_0x3724c6(0x1d8)]['resume']());}['send'](_0xaa4b3,_0x32d427,_0x314d2f){const _0x11490e=_0x34742b;if(this[_0x11490e(0x27d)]===_0x19bb9c[_0x11490e(0x29c)])throw new Error(_0x11490e(0x22d));if(typeof _0x32d427==_0x11490e(0x1a2)&&(_0x314d2f=_0x32d427,_0x32d427={}),typeof _0xaa4b3==_0x11490e(0x128)&&(_0xaa4b3=_0xaa4b3[_0x11490e(0x287)]()),this['readyState']!==_0x19bb9c[_0x11490e(0x28d)]){_0x6148b1(this,_0xaa4b3,_0x314d2f);return;}const _0x58526f={'binary':typeof _0xaa4b3!=_0x11490e(0x263),'mask':!this[_0x11490e(0x238)],'compress':!0x0,'fin':!0x0,..._0x32d427};this[_0x11490e(0x138)][_0x4c0772[_0x11490e(0x2c5)]]||(_0x58526f[_0x11490e(0x1bf)]=!0x1),this[_0x11490e(0x2be)][_0x11490e(0x2b5)](_0xaa4b3||_0x526c4d,_0x58526f,_0x314d2f);}[_0x34742b(0x2ae)](){const _0x41c9ce=_0x34742b;if(this[_0x41c9ce(0x27d)]!==_0x19bb9c[_0x41c9ce(0x13e)]){if(this[_0x41c9ce(0x27d)]===_0x19bb9c[_0x41c9ce(0x29c)]){_0xd1a8ce(this,this[_0x41c9ce(0x14d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x41c9ce(0x1d8)]&&(this[_0x41c9ce(0x1e6)]=_0x19bb9c[_0x41c9ce(0x12a)],this[_0x41c9ce(0x1d8)][_0x41c9ce(0x212)]());}}}Object[_0x34742b(0x24e)](_0x19bb9c,'CONNECTING',{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x29c),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c,_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)]('OPEN')}),Object[_0x34742b(0x24e)](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x28d))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x12a))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x12a))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x13e),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x13e))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],'CLOSED',{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x13e))}),[_0x34742b(0x1a4),'bufferedAmount',_0x34742b(0x15b),'isPaused',_0x34742b(0x20a),'readyState',_0x34742b(0x1fe)][_0x34742b(0x248)](_0x44dcc3=>{const _0x10365e=_0x34742b;Object[_0x10365e(0x24e)](_0x19bb9c[_0x10365e(0x1e3)],_0x44dcc3,{'enumerable':!0x0});}),['open','error',_0x34742b(0x1aa),_0x34742b(0x268)][_0x34742b(0x248)](_0x10aebd=>{const _0x54ebb7=_0x34742b;Object[_0x54ebb7(0x24e)](_0x19bb9c['prototype'],'on'+_0x10aebd,{'enumerable':!0x0,'get'(){const _0x213a50=_0x54ebb7;for(const _0xdce92d of this[_0x213a50(0x172)](_0x10aebd))if(_0xdce92d[_0xa18724])return _0xdce92d[_0x434861];return null;},'set'(_0x205425){const _0x5bb9ce=_0x54ebb7;for(const _0x2fc2c3 of this[_0x5bb9ce(0x172)](_0x10aebd))if(_0x2fc2c3[_0xa18724]){this['removeListener'](_0x10aebd,_0x2fc2c3);break;}typeof _0x205425==_0x5bb9ce(0x1a2)&&this[_0x5bb9ce(0x246)](_0x10aebd,_0x205425,{[_0xa18724]:!0x0});}});}),_0x19bb9c[_0x34742b(0x1e3)]['addEventListener']=_0x3dac29,_0x19bb9c[_0x34742b(0x1e3)][_0x34742b(0x297)]=_0x447ada,we=_0x19bb9c;function _0x4a627e(_0x23bd7f,_0x3fc50e,_0xf4c651,_0x476010){const _0x600d20=_0x34742b,_0x452c0a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4e2ae5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x476010,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x600d20(0x12e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x23bd7f[_0x600d20(0x26c)]=_0x452c0a[_0x600d20(0x29b)],!_0x4e2ae5[_0x600d20(0x174)](_0x452c0a['protocolVersion']))throw new RangeError(_0x600d20(0x2a9)+_0x452c0a[_0x600d20(0x1b4)]+_0x600d20(0x1be)+_0x4e2ae5[_0x600d20(0x298)](',\x20')+')');let _0x48ba42;if(_0x3fc50e instanceof _0x4b1d38)_0x48ba42=_0x3fc50e;else try{_0x48ba42=new _0x4b1d38(_0x3fc50e);}catch{throw new SyntaxError(_0x600d20(0x2bb)+_0x3fc50e);}_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x1f7)?_0x48ba42['protocol']=_0x600d20(0x1ab):_0x48ba42['protocol']===_0x600d20(0x1f5)&&(_0x48ba42[_0x600d20(0x20a)]='wss:'),_0x23bd7f['_url']=_0x48ba42[_0x600d20(0x14c)];const _0x466c5=_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x250),_0x83b40c=_0x48ba42[_0x600d20(0x20a)]==='ws+unix:';let _0x21f060;if(_0x48ba42[_0x600d20(0x20a)]!==_0x600d20(0x1ab)&&!_0x466c5&&!_0x83b40c?_0x21f060=_0x600d20(0x205):_0x83b40c&&!_0x48ba42[_0x600d20(0x198)]?_0x21f060='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x48ba42['hash']&&(_0x21f060=_0x600d20(0x197)),_0x21f060){const _0x10f088=new SyntaxError(_0x21f060);if(_0x23bd7f[_0x600d20(0x26d)]===0x0)throw _0x10f088;_0x24f2f8(_0x23bd7f,_0x10f088);return;}const _0x1a619c=_0x466c5?0x1bb:0x50,_0x2602f3=_0x3f7c77(0x10)[_0x600d20(0x287)]('base64'),_0x4147f3=_0x466c5?_0xd5b70d[_0x600d20(0x226)]:_0x42b658[_0x600d20(0x226)],_0x4ffecb=new Set();let _0x5db9fe;if(_0x452c0a['createConnection']=_0x452c0a[_0x600d20(0x17d)]||(_0x466c5?_0x2b4030:_0x4123e8),_0x452c0a[_0x600d20(0x23c)]=_0x452c0a[_0x600d20(0x23c)]||_0x1a619c,_0x452c0a[_0x600d20(0x163)]=_0x48ba42['port']||_0x1a619c,_0x452c0a[_0x600d20(0x278)]=_0x48ba42[_0x600d20(0x29a)][_0x600d20(0x18d)]('[')?_0x48ba42['hostname'][_0x600d20(0x1bb)](0x1,-0x1):_0x48ba42[_0x600d20(0x29a)],_0x452c0a[_0x600d20(0x2a6)]={..._0x452c0a[_0x600d20(0x2a6)],'Sec-WebSocket-Version':_0x452c0a[_0x600d20(0x1b4)],'Sec-WebSocket-Key':_0x2602f3,'Connection':_0x600d20(0x267),'Upgrade':_0x600d20(0x18b)},_0x452c0a[_0x600d20(0x23f)]=_0x48ba42[_0x600d20(0x198)]+_0x48ba42[_0x600d20(0x29e)],_0x452c0a[_0x600d20(0x17b)]=_0x452c0a[_0x600d20(0x199)],_0x452c0a[_0x600d20(0x16b)]&&(_0x5db9fe=new _0x4c0772(_0x452c0a[_0x600d20(0x16b)]!==!0x0?_0x452c0a['perMessageDeflate']:{},!0x1,_0x452c0a[_0x600d20(0x1e8)]),_0x452c0a[_0x600d20(0x2a6)]['Sec-WebSocket-Extensions']=_0x4cd271({[_0x4c0772[_0x600d20(0x2c5)]]:_0x5db9fe[_0x600d20(0x19d)]()})),_0xf4c651[_0x600d20(0x187)]){for(const _0xe8e368 of _0xf4c651){if(typeof _0xe8e368!=_0x600d20(0x263)||!_0xa78f0e['test'](_0xe8e368)||_0x4ffecb[_0x600d20(0x2b9)](_0xe8e368))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4ffecb['add'](_0xe8e368);}_0x452c0a['headers'][_0x600d20(0x22a)]=_0xf4c651[_0x600d20(0x298)](',');}if(_0x452c0a['origin']&&(_0x452c0a[_0x600d20(0x1b4)]<0xd?_0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x169)]=_0x452c0a[_0x600d20(0x2b1)]:_0x452c0a['headers']['Origin']=_0x452c0a[_0x600d20(0x2b1)]),(_0x48ba42[_0x600d20(0x1a5)]||_0x48ba42[_0x600d20(0x1a9)])&&(_0x452c0a['auth']=_0x48ba42[_0x600d20(0x1a5)]+':'+_0x48ba42['password']),_0x83b40c){const _0x22e24d=_0x452c0a['path']['split'](':');_0x452c0a[_0x600d20(0x18f)]=_0x22e24d[0x0],_0x452c0a[_0x600d20(0x23f)]=_0x22e24d[0x1];}let _0x91d5e7;if(_0x452c0a[_0x600d20(0x13b)]){if(_0x23bd7f[_0x600d20(0x26d)]===0x0){_0x23bd7f[_0x600d20(0x13d)]=_0x83b40c,_0x23bd7f['_originalSecure']=_0x466c5,_0x23bd7f[_0x600d20(0x232)]=_0x83b40c?_0x452c0a[_0x600d20(0x18f)]:_0x48ba42['host'];const _0x41a8d2=_0x476010&&_0x476010[_0x600d20(0x2a6)];if(_0x476010={..._0x476010,'headers':{}},_0x41a8d2){for(const [_0x463552,_0x1239de]of Object[_0x600d20(0x283)](_0x41a8d2))_0x476010['headers'][_0x463552[_0x600d20(0x1d0)]()]=_0x1239de;}}else{if(_0x23bd7f[_0x600d20(0x207)](_0x600d20(0x284))===0x0){const _0x5b7cc2=_0x83b40c?_0x23bd7f['_originalIpc']?_0x452c0a[_0x600d20(0x18f)]===_0x23bd7f[_0x600d20(0x232)]:!0x1:_0x23bd7f[_0x600d20(0x13d)]?!0x1:_0x48ba42[_0x600d20(0x278)]===_0x23bd7f['_originalHostOrSocketPath'];(!_0x5b7cc2||_0x23bd7f['_originalSecure']&&!_0x466c5)&&(delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x153)],delete _0x452c0a['headers'][_0x600d20(0x231)],_0x5b7cc2||delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x278)],_0x452c0a['auth']=void 0x0);}}_0x452c0a['auth']&&!_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]&&(_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]=_0x600d20(0x165)+Buffer[_0x600d20(0x17c)](_0x452c0a['auth'])[_0x600d20(0x287)](_0x600d20(0x206))),_0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a),_0x23bd7f[_0x600d20(0x26d)]&&_0x23bd7f[_0x600d20(0x203)]('redirect',_0x23bd7f[_0x600d20(0x1fe)],_0x91d5e7);}else _0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a);_0x452c0a[_0x600d20(0x17b)]&&_0x91d5e7['on'](_0x600d20(0x17b),()=>{const _0xbcc0b=_0x600d20;_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0xbcc0b(0x26e));}),_0x91d5e7['on']('error',_0xd8555d=>{const _0xcc71da=_0x600d20;_0x91d5e7===null||_0x91d5e7[_0x398bf1]||(_0x91d5e7=_0x23bd7f[_0xcc71da(0x14d)]=null,_0x24f2f8(_0x23bd7f,_0xd8555d));}),_0x91d5e7['on'](_0x600d20(0x2b8),_0x404711=>{const _0x202723=_0x600d20,_0x5b2f03=_0x404711[_0x202723(0x2a6)][_0x202723(0x23e)],_0xa98497=_0x404711[_0x202723(0x1df)];if(_0x5b2f03&&_0x452c0a[_0x202723(0x13b)]&&_0xa98497>=0x12c&&_0xa98497<0x190){if(++_0x23bd7f[_0x202723(0x26d)]>_0x452c0a[_0x202723(0x295)]){_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0x202723(0x20e));return;}_0x91d5e7[_0x202723(0x1d5)]();let _0x5828cc;try{_0x5828cc=new _0x4b1d38(_0x5b2f03,_0x3fc50e);}catch{const _0x1ba4f0=new SyntaxError(_0x202723(0x2bb)+_0x5b2f03);_0x24f2f8(_0x23bd7f,_0x1ba4f0);return;}_0x4a627e(_0x23bd7f,_0x5828cc,_0xf4c651,_0x476010);}else _0x23bd7f[_0x202723(0x203)]('unexpected-response',_0x91d5e7,_0x404711)||_0xd1a8ce(_0x23bd7f,_0x91d5e7,'Unexpected\x20server\x20response:\x20'+_0x404711[_0x202723(0x1df)]);}),_0x91d5e7['on'](_0x600d20(0x2ad),(_0x464c14,_0x2ac95b,_0x26b119)=>{const _0x882625=_0x600d20;if(_0x23bd7f[_0x882625(0x203)]('upgrade',_0x464c14),_0x23bd7f[_0x882625(0x27d)]!==_0x19bb9c[_0x882625(0x29c)])return;_0x91d5e7=_0x23bd7f[_0x882625(0x14d)]=null;const _0x4d914f=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2ad)];if(_0x4d914f===void 0x0||_0x4d914f['toLowerCase']()!=='websocket'){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x182));return;}const _0x3d073b=_0x59ff6d(_0x882625(0x173))[_0x882625(0x27b)](_0x2602f3+_0x17edf6)[_0x882625(0x1d3)](_0x882625(0x206));if(_0x464c14[_0x882625(0x2a6)][_0x882625(0x17a)]!==_0x3d073b){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x209));return;}const _0x1a228a=_0x464c14['headers'][_0x882625(0x1c5)];let _0x5a5710;if(_0x1a228a!==void 0x0?_0x4ffecb[_0x882625(0x1e2)]?_0x4ffecb[_0x882625(0x2b9)](_0x1a228a)||(_0x5a5710='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5a5710=_0x882625(0x233):_0x4ffecb[_0x882625(0x1e2)]&&(_0x5a5710='Server\x20sent\x20no\x20subprotocol'),_0x5a5710){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x5a5710);return;}_0x1a228a&&(_0x23bd7f[_0x882625(0x18a)]=_0x1a228a);const _0xb2ea9b=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2a0)];if(_0xb2ea9b!==void 0x0){if(!_0x5db9fe){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x21c));return;}let _0x508a19;try{_0x508a19=_0x4564e3(_0xb2ea9b);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}const _0x43baa6=Object[_0x882625(0x149)](_0x508a19);if(_0x43baa6[_0x882625(0x187)]!==0x1||_0x43baa6[0x0]!==_0x4c0772[_0x882625(0x2c5)]){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x2c9));return;}try{_0x5db9fe[_0x882625(0x273)](_0x508a19[_0x4c0772['extensionName']]);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}_0x23bd7f[_0x882625(0x138)][_0x4c0772[_0x882625(0x2c5)]]=_0x5db9fe;}_0x23bd7f[_0x882625(0x148)](_0x2ac95b,_0x26b119,{'allowSynchronousEvents':_0x452c0a['allowSynchronousEvents'],'generateMask':_0x452c0a[_0x882625(0x235)],'maxPayload':_0x452c0a[_0x882625(0x1e8)],'skipUTF8Validation':_0x452c0a['skipUTF8Validation']});}),_0x452c0a['finishRequest']?_0x452c0a[_0x600d20(0x156)](_0x91d5e7,_0x23bd7f):_0x91d5e7[_0x600d20(0x1f0)]();}function _0x24f2f8(_0x5ea7be,_0xde0fe4){const _0x593ded=_0x34742b;_0x5ea7be[_0x593ded(0x1e6)]=_0x19bb9c[_0x593ded(0x12a)],_0x5ea7be[_0x593ded(0x16e)]=!0x0,_0x5ea7be[_0x593ded(0x203)]('error',_0xde0fe4),_0x5ea7be[_0x593ded(0x247)]();}function _0x4123e8(_0x57764f){const _0xaafba3=_0x34742b;return _0x57764f['path']=_0x57764f[_0xaafba3(0x18f)],_0x22f7c5[_0xaafba3(0x1cb)](_0x57764f);}function _0x2b4030(_0x3bda41){const _0x255d68=_0x34742b;return _0x3bda41['path']=void 0x0,!_0x3bda41[_0x255d68(0x1c9)]&&_0x3bda41[_0x255d68(0x1c9)]!==''&&(_0x3bda41[_0x255d68(0x1c9)]=_0x22f7c5[_0x255d68(0x134)](_0x3bda41[_0x255d68(0x278)])?'':_0x3bda41[_0x255d68(0x278)]),_0x39ddbc[_0x255d68(0x1cb)](_0x3bda41);}function _0xd1a8ce(_0x1371a4,_0x511038,_0x2e05f4){const _0x7aa29b=_0x34742b;_0x1371a4[_0x7aa29b(0x1e6)]=_0x19bb9c['CLOSING'];const _0x400079=new Error(_0x2e05f4);Error[_0x7aa29b(0x158)](_0x400079,_0xd1a8ce),_0x511038[_0x7aa29b(0x240)]?(_0x511038[_0x398bf1]=!0x0,_0x511038[_0x7aa29b(0x1d5)](),_0x511038[_0x7aa29b(0x196)]&&!_0x511038[_0x7aa29b(0x196)][_0x7aa29b(0x1af)]&&_0x511038['socket']['destroy'](),process[_0x7aa29b(0x2a2)](_0x24f2f8,_0x1371a4,_0x400079)):(_0x511038[_0x7aa29b(0x212)](_0x400079),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x159),_0x1371a4[_0x7aa29b(0x203)][_0x7aa29b(0x249)](_0x1371a4,_0x7aa29b(0x159))),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x1aa),_0x1371a4[_0x7aa29b(0x247)][_0x7aa29b(0x249)](_0x1371a4)));}function _0x6148b1(_0x18c19d,_0x13a6e7,_0x51a7c4){const _0x1dfaa9=_0x34742b;if(_0x13a6e7){const _0x56ea86=_0x4f9c50(_0x13a6e7)?_0x13a6e7[_0x1dfaa9(0x1e2)]:_0x5b8587(_0x13a6e7)['length'];_0x18c19d[_0x1dfaa9(0x1d8)]?_0x18c19d['_sender'][_0x1dfaa9(0x18e)]+=_0x56ea86:_0x18c19d['_bufferedAmount']+=_0x56ea86;}if(_0x51a7c4){const _0x1b8741=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x18c19d['readyState']+'\x20('+_0x3112b1[_0x18c19d[_0x1dfaa9(0x27d)]]+')');process[_0x1dfaa9(0x2a2)](_0x51a7c4,_0x1b8741);}}function _0x2e2dbb(_0x3b2f53,_0x4efb81){const _0x25c853=_0x34742b,_0x4fb72e=this[_0xf70647];_0x4fb72e['_closeFrameReceived']=!0x0,_0x4fb72e['_closeMessage']=_0x4efb81,_0x4fb72e[_0x25c853(0x15f)]=_0x3b2f53,_0x4fb72e[_0x25c853(0x1d8)][_0xf70647]!==void 0x0&&(_0x4fb72e[_0x25c853(0x1d8)][_0x25c853(0x189)](_0x25c853(0x147),_0x35b3af),process[_0x25c853(0x2a2)](_0x331cfb,_0x4fb72e['_socket']),_0x3b2f53===0x3ed?_0x4fb72e['close']():_0x4fb72e['close'](_0x3b2f53,_0x4efb81));}function _0x1b23ca(){const _0x39bcce=_0x34742b,_0x1ad931=this[_0xf70647];_0x1ad931[_0x39bcce(0x2c1)]||_0x1ad931['_socket'][_0x39bcce(0x1a8)]();}function _0x3a764f(_0x3d5e97){const _0x3d83c4=_0x34742b,_0x5ead73=this[_0xf70647];_0x5ead73['_socket'][_0xf70647]!==void 0x0&&(_0x5ead73['_socket'][_0x3d83c4(0x189)](_0x3d83c4(0x147),_0x35b3af),process[_0x3d83c4(0x2a2)](_0x331cfb,_0x5ead73[_0x3d83c4(0x1d8)]),_0x5ead73[_0x3d83c4(0x1aa)](_0x3d5e97[_0x1bb141])),_0x5ead73['_errorEmitted']||(_0x5ead73[_0x3d83c4(0x16e)]=!0x0,_0x5ead73[_0x3d83c4(0x203)](_0x3d83c4(0x159),_0x3d5e97));}function _0x3f3ebf(){const _0x56115f=_0x34742b;this[_0xf70647][_0x56115f(0x247)]();}function _0x31f8fe(_0x548f85,_0x2b1a97){const _0xf0e97=_0x34742b;this[_0xf70647]['emit'](_0xf0e97(0x268),_0x548f85,_0x2b1a97);}function _0x4ab286(_0x47945c){const _0x3be21b=_0x34742b,_0x6f55e6=this[_0xf70647];_0x6f55e6[_0x3be21b(0x26c)]&&_0x6f55e6['pong'](_0x47945c,!this[_0x3be21b(0x238)],_0x1e7d2f),_0x6f55e6['emit']('ping',_0x47945c);}function _0x199679(_0x4c4537){const _0x4da060=_0x34742b;this[_0xf70647]['emit'](_0x4da060(0x1b1),_0x4c4537);}function _0x331cfb(_0x5dcebd){const _0x1ec4b1=_0x34742b;_0x5dcebd[_0x1ec4b1(0x1a8)]();}function _0x55b6ea(_0x421bb9){const _0x281959=_0x34742b,_0x297dfb=this[_0xf70647];_0x297dfb[_0x281959(0x27d)]!==_0x19bb9c[_0x281959(0x13e)]&&(_0x297dfb[_0x281959(0x27d)]===_0x19bb9c[_0x281959(0x28d)]&&(_0x297dfb[_0x281959(0x1e6)]=_0x19bb9c['CLOSING'],_0x342fcb(_0x297dfb)),this[_0x281959(0x1d8)]['end'](),_0x297dfb['_errorEmitted']||(_0x297dfb[_0x281959(0x16e)]=!0x0,_0x297dfb['emit']('error',_0x421bb9)));}function _0x342fcb(_0x2b332d){const _0x546011=_0x34742b;_0x2b332d[_0x546011(0x290)]=setTimeout(_0x2b332d[_0x546011(0x1d8)]['destroy']['bind'](_0x2b332d[_0x546011(0x1d8)]),_0x154808);}function _0x2ed511(){const _0x3f3eda=_0x34742b,_0x55312c=this[_0xf70647];this[_0x3f3eda(0x189)]('close',_0x2ed511),this[_0x3f3eda(0x189)](_0x3f3eda(0x147),_0x35b3af),this[_0x3f3eda(0x189)](_0x3f3eda(0x1f0),_0x4dd039),_0x55312c[_0x3f3eda(0x1e6)]=_0x19bb9c[_0x3f3eda(0x12a)];let _0x3d35e0;!this[_0x3f3eda(0x255)][_0x3f3eda(0x210)]&&!_0x55312c[_0x3f3eda(0x214)]&&!_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]&&(_0x3d35e0=_0x55312c[_0x3f3eda(0x1d8)][_0x3f3eda(0x2a3)]())!==null&&_0x55312c[_0x3f3eda(0x181)]['write'](_0x3d35e0),_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x1f0)](),this[_0xf70647]=void 0x0,clearTimeout(_0x55312c[_0x3f3eda(0x290)]),_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x185)]||_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]?_0x55312c[_0x3f3eda(0x247)]():(_0x55312c[_0x3f3eda(0x181)]['on'](_0x3f3eda(0x159),_0x3f3ebf),_0x55312c['_receiver']['on'](_0x3f3eda(0x13f),_0x3f3ebf));}function _0x35b3af(_0x907999){const _0x29d681=_0x34742b;this[_0xf70647][_0x29d681(0x181)]['write'](_0x907999)||this[_0x29d681(0x1bc)]();}function _0x4dd039(){const _0x22064c=_0x34742b,_0x5904c0=this[_0xf70647];_0x5904c0['_readyState']=_0x19bb9c[_0x22064c(0x12a)],_0x5904c0[_0x22064c(0x181)]['end'](),this[_0x22064c(0x1f0)]();}function _0x159b70(){const _0x5c5dfb=_0x34742b,_0x133aa9=this[_0xf70647];this[_0x5c5dfb(0x189)]('error',_0x159b70),this['on'](_0x5c5dfb(0x159),_0x1e7d2f),_0x133aa9&&(_0x133aa9[_0x5c5dfb(0x1e6)]=_0x19bb9c[_0x5c5dfb(0x12a)],this[_0x5c5dfb(0x212)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x38a22e}=_0x1ba7a8;function _0x53ccd5(_0x2210e8){const _0x2a0830=_0x33fa;_0x2210e8[_0x2a0830(0x203)](_0x2a0830(0x1aa));}function _0x76b1e7(){const _0x3c61b8=_0x33fa;!this[_0x3c61b8(0x1af)]&&this[_0x3c61b8(0x2b4)][_0x3c61b8(0x185)]&&this[_0x3c61b8(0x212)]();}function _0x509bc5(_0x155574){const _0x54d23b=_0x33fa;this[_0x54d23b(0x189)](_0x54d23b(0x159),_0x509bc5),this[_0x54d23b(0x212)](),this[_0x54d23b(0x207)]('error')===0x0&&this[_0x54d23b(0x203)](_0x54d23b(0x159),_0x155574);}function _0x5b8299(_0x362a9f,_0x2c554e){const _0xfa438f=_0x33fa;let _0x2c7afd=!0x0;const _0xb5240b=new _0x38a22e({..._0x2c554e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x362a9f['on'](_0xfa438f(0x268),function(_0x49b4c0,_0x1a7f7f){const _0x76e344=_0xfa438f,_0x2f611d=!_0x1a7f7f&&_0xb5240b[_0x76e344(0x255)]['objectMode']?_0x49b4c0[_0x76e344(0x287)]():_0x49b4c0;_0xb5240b['push'](_0x2f611d)||_0x362a9f[_0x76e344(0x1bc)]();}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x159),function(_0x494095){_0xb5240b['destroyed']||(_0x2c7afd=!0x1,_0xb5240b['destroy'](_0x494095));}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x1aa),function(){const _0xc579ee=_0xfa438f;_0xb5240b[_0xc579ee(0x1af)]||_0xb5240b[_0xc579ee(0x193)](null);}),_0xb5240b[_0xfa438f(0x1ed)]=function(_0x249d47,_0x5e6d7e){const _0x314614=_0xfa438f;if(_0x362a9f['readyState']===_0x362a9f[_0x314614(0x13e)]){_0x5e6d7e(_0x249d47),process[_0x314614(0x2a2)](_0x53ccd5,_0xb5240b);return;}let _0x334262=!0x1;_0x362a9f['once'](_0x314614(0x159),function(_0x3fa47e){_0x334262=!0x0,_0x5e6d7e(_0x3fa47e);}),_0x362a9f['once']('close',function(){const _0x110021=_0x314614;_0x334262||_0x5e6d7e(_0x249d47),process[_0x110021(0x2a2)](_0x53ccd5,_0xb5240b);}),_0x2c7afd&&_0x362a9f[_0x314614(0x2ae)]();},_0xb5240b[_0xfa438f(0x264)]=function(_0x2d0790){const _0x26020b=_0xfa438f;if(_0x362a9f[_0x26020b(0x27d)]===_0x362a9f[_0x26020b(0x29c)]){_0x362a9f['once']('open',function(){_0xb5240b['_final'](_0x2d0790);});return;}_0x362a9f['_socket']!==null&&(_0x362a9f[_0x26020b(0x1d8)]['_writableState'][_0x26020b(0x185)]?(_0x2d0790(),_0xb5240b[_0x26020b(0x255)][_0x26020b(0x210)]&&_0xb5240b['destroy']()):(_0x362a9f[_0x26020b(0x1d8)][_0x26020b(0x1b5)](_0x26020b(0x13f),function(){_0x2d0790();}),_0x362a9f[_0x26020b(0x1aa)]()));},_0xb5240b[_0xfa438f(0x245)]=function(){const _0x27289f=_0xfa438f;_0x362a9f[_0x27289f(0x2c1)]&&_0x362a9f[_0x27289f(0x1a8)]();},_0xb5240b[_0xfa438f(0x144)]=function(_0x3b6f14,_0x258682,_0x136ea5){const _0x6b5215=_0xfa438f;if(_0x362a9f[_0x6b5215(0x27d)]===_0x362a9f[_0x6b5215(0x29c)]){_0x362a9f[_0x6b5215(0x1b5)](_0x6b5215(0x21a),function(){const _0x141b29=_0x6b5215;_0xb5240b[_0x141b29(0x144)](_0x3b6f14,_0x258682,_0x136ea5);});return;}_0x362a9f[_0x6b5215(0x2b5)](_0x3b6f14,_0x136ea5);},_0xb5240b['on'](_0xfa438f(0x1f0),_0x76b1e7),_0xb5240b['on'](_0xfa438f(0x159),_0x509bc5),_0xb5240b;}return Oe=_0x5b8299,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x36bc7a}=ne();function _0x59a2a2(_0x17fd91){const _0x442e04=_0x33fa,_0x546734=new Set();let _0x445414=-0x1,_0x58f05d=-0x1,_0x762db8=0x0;for(_0x762db8;_0x762db8<_0x17fd91[_0x442e04(0x187)];_0x762db8++){const _0x5d0293=_0x17fd91['charCodeAt'](_0x762db8);if(_0x58f05d===-0x1&&_0x36bc7a[_0x5d0293]===0x1)_0x445414===-0x1&&(_0x445414=_0x762db8);else{if(_0x762db8!==0x0&&(_0x5d0293===0x20||_0x5d0293===0x9))_0x58f05d===-0x1&&_0x445414!==-0x1&&(_0x58f05d=_0x762db8);else{if(_0x5d0293===0x2c){if(_0x445414===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x762db8);_0x58f05d===-0x1&&(_0x58f05d=_0x762db8);const _0x205906=_0x17fd91['slice'](_0x445414,_0x58f05d);if(_0x546734[_0x442e04(0x2b9)](_0x205906))throw new SyntaxError(_0x442e04(0x1e0)+_0x205906+_0x442e04(0x19b));_0x546734[_0x442e04(0x25e)](_0x205906),_0x445414=_0x58f05d=-0x1;}else throw new SyntaxError(_0x442e04(0x2a5)+_0x762db8);}}}if(_0x445414===-0x1||_0x58f05d!==-0x1)throw new SyntaxError(_0x442e04(0x293));const _0x58e69e=_0x17fd91[_0x442e04(0x1bb)](_0x445414,_0x762db8);if(_0x546734['has'](_0x58e69e))throw new SyntaxError(_0x442e04(0x1e0)+_0x58e69e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x546734[_0x442e04(0x25e)](_0x58e69e),_0x546734;}return Ce={'parse':_0x59a2a2},Ce;}var Te,ot;function er(){const _0x2f0be9=_0xc592e0;if(ot)return Te;ot=0x1;const _0x271c4b=_0x65c4b3,_0x1fa536=_0x52e28b,{Duplex:_0x3adf57}=_0x1ba7a8,{createHash:_0x2f958f}=_0x306241,_0x5ad037=pt(),_0x4f51f2=he(),_0x193ae6=Jt(),_0xeaf11e=Ie(),{GUID:_0x162afd,kWebSocket:_0x347635}=V(),_0x2178e4=/^[+/0-9A-Za-z]{22}==$/,_0x488a9e=0x0,_0x38d873=0x1,_0x311c01=0x2;class _0x297779 extends _0x271c4b{constructor(_0x2981ab,_0x1c0cd0){const _0x19fe51=_0x33fa;if(super(),_0x2981ab={'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':_0xeaf11e,..._0x2981ab},_0x2981ab[_0x19fe51(0x163)]==null&&!_0x2981ab[_0x19fe51(0x136)]&&!_0x2981ab[_0x19fe51(0x22f)]||_0x2981ab[_0x19fe51(0x163)]!=null&&(_0x2981ab['server']||_0x2981ab['noServer'])||_0x2981ab[_0x19fe51(0x136)]&&_0x2981ab['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2981ab[_0x19fe51(0x163)]!=null?(this[_0x19fe51(0x251)]=_0x1fa536[_0x19fe51(0x2b6)]((_0x4737a2,_0x14b07a)=>{const _0xa49b6a=_0x19fe51,_0x1ac7c7=_0x1fa536['STATUS_CODES'][0x1aa];_0x14b07a[_0xa49b6a(0x1c4)](0x1aa,{'Content-Length':_0x1ac7c7[_0xa49b6a(0x187)],'Content-Type':'text/plain'}),_0x14b07a['end'](_0x1ac7c7);}),this[_0x19fe51(0x251)]['listen'](_0x2981ab[_0x19fe51(0x163)],_0x2981ab['host'],_0x2981ab['backlog'],_0x1c0cd0)):_0x2981ab[_0x19fe51(0x136)]&&(this[_0x19fe51(0x251)]=_0x2981ab['server']),this['_server']){const _0x50aeca=this[_0x19fe51(0x203)]['bind'](this,_0x19fe51(0x177));this[_0x19fe51(0x2ba)]=_0x19638c(this['_server'],{'listening':this['emit'][_0x19fe51(0x249)](this,_0x19fe51(0x24a)),'error':this[_0x19fe51(0x203)]['bind'](this,'error'),'upgrade':(_0x3abbc8,_0x36bff2,_0xddf5d2)=>{const _0x35232c=_0x19fe51;this[_0x35232c(0x1ea)](_0x3abbc8,_0x36bff2,_0xddf5d2,_0x50aeca);}});}_0x2981ab[_0x19fe51(0x16b)]===!0x0&&(_0x2981ab[_0x19fe51(0x16b)]={}),_0x2981ab['clientTracking']&&(this[_0x19fe51(0x2c7)]=new Set(),this[_0x19fe51(0x25f)]=!0x1),this[_0x19fe51(0x219)]=_0x2981ab,this['_state']=_0x488a9e;}['address'](){const _0x552d3b=_0x33fa;if(this[_0x552d3b(0x219)][_0x552d3b(0x22f)])throw new Error(_0x552d3b(0x218));return this[_0x552d3b(0x251)]?this[_0x552d3b(0x251)]['address']():null;}['close'](_0x1d0529){const _0x50fdf0=_0x33fa;if(this[_0x50fdf0(0x261)]===_0x311c01){_0x1d0529&&this[_0x50fdf0(0x1b5)](_0x50fdf0(0x1aa),()=>{const _0x13e49f=_0x50fdf0;_0x1d0529(new Error(_0x13e49f(0x140)));}),process[_0x50fdf0(0x2a2)](_0x39d8fc,this);return;}if(_0x1d0529&&this['once'](_0x50fdf0(0x1aa),_0x1d0529),this[_0x50fdf0(0x261)]!==_0x38d873){if(this[_0x50fdf0(0x261)]=_0x38d873,this[_0x50fdf0(0x219)][_0x50fdf0(0x22f)]||this['options'][_0x50fdf0(0x136)])this[_0x50fdf0(0x251)]&&(this[_0x50fdf0(0x2ba)](),this[_0x50fdf0(0x2ba)]=this[_0x50fdf0(0x251)]=null),this[_0x50fdf0(0x2c7)]?this[_0x50fdf0(0x2c7)][_0x50fdf0(0x1e2)]?this[_0x50fdf0(0x25f)]=!0x0:process['nextTick'](_0x39d8fc,this):process[_0x50fdf0(0x2a2)](_0x39d8fc,this);else{const _0x586ea0=this[_0x50fdf0(0x251)];this['_removeListeners'](),this[_0x50fdf0(0x2ba)]=this['_server']=null,_0x586ea0['close'](()=>{_0x39d8fc(this);});}}}[_0x2f0be9(0x21f)](_0x2e3aa7){const _0x18f941=_0x2f0be9;if(this[_0x18f941(0x219)][_0x18f941(0x23f)]){const _0x48c430=_0x2e3aa7[_0x18f941(0x1fe)][_0x18f941(0x1ee)]('?');if((_0x48c430!==-0x1?_0x2e3aa7['url'][_0x18f941(0x1bb)](0x0,_0x48c430):_0x2e3aa7[_0x18f941(0x1fe)])!==this[_0x18f941(0x219)][_0x18f941(0x23f)])return!0x1;}return!0x0;}[_0x2f0be9(0x1ea)](_0x2bfb65,_0x54302d,_0x538bff,_0x32f076){const _0x2f3ff3=_0x2f0be9;_0x54302d['on'](_0x2f3ff3(0x159),_0xaf66bd);const _0x123214=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x24c)],_0x2a9070=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2ad)],_0x36004a=+_0x2bfb65['headers'][_0x2f3ff3(0x252)];if(_0x2bfb65[_0x2f3ff3(0x1eb)]!==_0x2f3ff3(0x12e)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x195,_0x2f3ff3(0x1ca));return;}if(_0x2a9070===void 0x0||_0x2a9070[_0x2f3ff3(0x1d0)]()!=='websocket'){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x182));return;}if(_0x123214===void 0x0||!_0x2178e4['test'](_0x123214)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1cd));return;}if(_0x36004a!==0x8&&_0x36004a!==0xd){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x292));return;}if(!this['shouldHandle'](_0x2bfb65)){_0x52ddcf(_0x54302d,0x190);return;}const _0x480776=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x1c5)];let _0xe98418=new Set();if(_0x480776!==void 0x0)try{_0xe98418=_0x193ae6['parse'](_0x480776);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1a3));return;}const _0x292d14=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2a0)],_0x232583={};if(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)]&&_0x292d14!==void 0x0){const _0x57bb4f=new _0x4f51f2(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)],!0x0,this[_0x2f3ff3(0x219)]['maxPayload']);try{const _0x38b990=_0x5ad037[_0x2f3ff3(0x19c)](_0x292d14);_0x38b990[_0x4f51f2['extensionName']]&&(_0x57bb4f[_0x2f3ff3(0x273)](_0x38b990[_0x4f51f2[_0x2f3ff3(0x2c5)]]),_0x232583[_0x4f51f2[_0x2f3ff3(0x2c5)]]=_0x57bb4f);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x269));return;}}if(this['options'][_0x2f3ff3(0x270)]){const _0x4e7087={'origin':_0x2bfb65[_0x2f3ff3(0x2a6)][''+(_0x36004a===0x8?_0x2f3ff3(0x234):_0x2f3ff3(0x2b1))],'secure':!!(_0x2bfb65['socket']['authorized']||_0x2bfb65['socket'][_0x2f3ff3(0x183)]),'req':_0x2bfb65};if(this[_0x2f3ff3(0x219)]['verifyClient']['length']===0x2){this['options'][_0x2f3ff3(0x270)](_0x4e7087,(_0x2798d2,_0x4eee02,_0x44e9e5,_0x9047f)=>{if(!_0x2798d2)return _0x52ddcf(_0x54302d,_0x4eee02||0x191,_0x44e9e5,_0x9047f);this['completeUpgrade'](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);});return;}if(!this[_0x2f3ff3(0x219)][_0x2f3ff3(0x270)](_0x4e7087))return _0x52ddcf(_0x54302d,0x191);}this[_0x2f3ff3(0x275)](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);}['completeUpgrade'](_0x3c230f,_0x54035d,_0x93438c,_0x45cefa,_0x48d59b,_0x420a3e,_0xd0cc87){const _0x231eb4=_0x2f0be9;if(!_0x48d59b[_0x231eb4(0x26a)]||!_0x48d59b[_0x231eb4(0x26b)])return _0x48d59b[_0x231eb4(0x212)]();if(_0x48d59b[_0x347635])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x231eb4(0x261)]>_0x488a9e)return _0x52ddcf(_0x48d59b,0x1f7);const _0x2d96c5=[_0x231eb4(0x29d),_0x231eb4(0x14b),_0x231eb4(0x1ba),_0x231eb4(0x2cc)+_0x2f958f(_0x231eb4(0x173))[_0x231eb4(0x27b)](_0x54035d+_0x162afd)[_0x231eb4(0x1d3)](_0x231eb4(0x206))],_0x281808=new this[(_0x231eb4(0x219))][(_0x231eb4(0x184))](null,void 0x0,this['options']);if(_0x93438c[_0x231eb4(0x1e2)]){const _0x148897=this['options'][_0x231eb4(0x230)]?this[_0x231eb4(0x219)]['handleProtocols'](_0x93438c,_0x45cefa):_0x93438c['values']()['next']()[_0x231eb4(0x258)];_0x148897&&(_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x274)+_0x148897),_0x281808[_0x231eb4(0x18a)]=_0x148897);}if(_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]){const _0xb415af=_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]['params'],_0x96d22d=_0x5ad037[_0x231eb4(0x1c2)]({[_0x4f51f2['extensionName']]:[_0xb415af]});_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x16f)+_0x96d22d),_0x281808[_0x231eb4(0x138)]=_0x3c230f;}this[_0x231eb4(0x203)]('headers',_0x2d96c5,_0x45cefa),_0x48d59b[_0x231eb4(0x2bd)](_0x2d96c5['concat']('\x0d\x0a')[_0x231eb4(0x298)]('\x0d\x0a')),_0x48d59b[_0x231eb4(0x189)](_0x231eb4(0x159),_0xaf66bd),_0x281808[_0x231eb4(0x148)](_0x48d59b,_0x420a3e,{'allowSynchronousEvents':this[_0x231eb4(0x219)][_0x231eb4(0x13c)],'maxPayload':this[_0x231eb4(0x219)][_0x231eb4(0x1e8)],'skipUTF8Validation':this[_0x231eb4(0x219)][_0x231eb4(0x2d1)]}),this[_0x231eb4(0x2c7)]&&(this[_0x231eb4(0x2c7)]['add'](_0x281808),_0x281808['on'](_0x231eb4(0x1aa),()=>{const _0x4d3c85=_0x231eb4;this[_0x4d3c85(0x2c7)]['delete'](_0x281808),this[_0x4d3c85(0x25f)]&&!this[_0x4d3c85(0x2c7)][_0x4d3c85(0x1e2)]&&process[_0x4d3c85(0x2a2)](_0x39d8fc,this);})),_0xd0cc87(_0x281808,_0x45cefa);}}Te=_0x297779;function _0x19638c(_0x3b2271,_0x2594df){for(const _0x2bbe99 of Object['keys'](_0x2594df))_0x3b2271['on'](_0x2bbe99,_0x2594df[_0x2bbe99]);return function(){const _0x3685c4=_0x33fa;for(const _0x62fd0 of Object[_0x3685c4(0x149)](_0x2594df))_0x3b2271['removeListener'](_0x62fd0,_0x2594df[_0x62fd0]);};}function _0x39d8fc(_0x1a380d){const _0x31e7ab=_0x2f0be9;_0x1a380d['_state']=_0x311c01,_0x1a380d['emit'](_0x31e7ab(0x1aa));}function _0xaf66bd(){const _0xb07692=_0x2f0be9;this[_0xb07692(0x212)]();}function _0x52ddcf(_0x5aeb52,_0x4277b4,_0x49ec4e,_0x59ed0f){const _0x449a62=_0x2f0be9;_0x49ec4e=_0x49ec4e||_0x1fa536[_0x449a62(0x24d)][_0x4277b4],_0x59ed0f={'Connection':_0x449a62(0x1aa),'Content-Type':_0x449a62(0x1b8),'Content-Length':Buffer[_0x449a62(0x272)](_0x49ec4e),..._0x59ed0f},_0x5aeb52[_0x449a62(0x1b5)]('finish',_0x5aeb52[_0x449a62(0x212)]),_0x5aeb52[_0x449a62(0x1f0)]('HTTP/1.1\x20'+_0x4277b4+'\x20'+_0x1fa536['STATUS_CODES'][_0x4277b4]+'\x0d\x0a'+Object[_0x449a62(0x149)](_0x59ed0f)[_0x449a62(0x1ff)](_0x3edd94=>_0x3edd94+':\x20'+_0x59ed0f[_0x3edd94])[_0x449a62(0x298)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x49ec4e);}function _0x2a15d1(_0x3c0874,_0x25c424,_0x2b6d5f,_0x313705,_0x28547c){const _0x59da40=_0x2f0be9;if(_0x3c0874[_0x59da40(0x207)](_0x59da40(0x253))){const _0x4f87ad=new Error(_0x28547c);Error[_0x59da40(0x158)](_0x4f87ad,_0x2a15d1),_0x3c0874[_0x59da40(0x203)](_0x59da40(0x253),_0x4f87ad,_0x2b6d5f,_0x25c424);}else _0x52ddcf(_0x2b6d5f,_0x313705,_0x28547c);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x32fb3e,_0x38a96e,_0x5d053d,_0x11ba73)=>{const _0x7287d8=_0xc592e0;for(var _0x1fd6b7=_0x11ba73>0x1?void 0x0:_0x11ba73?tr(_0x38a96e,_0x5d053d):_0x38a96e,_0x4c73a4=_0x32fb3e[_0x7287d8(0x187)]-0x1,_0x216ca8;_0x4c73a4>=0x0;_0x4c73a4--)(_0x216ca8=_0x32fb3e[_0x4c73a4])&&(_0x1fd6b7=_0x216ca8(_0x1fd6b7)||_0x1fd6b7);return _0x1fd6b7;},sr=(_0x2bcfa3,_0x1a91ae)=>(_0x374833,_0x1fbf0f)=>_0x1a91ae(_0x374833,_0x1fbf0f,_0x2bcfa3);let Ne=class extends _0x372dc6{constructor(_0x46a955){super(),this['_configService']=_0x46a955;}['createSocket'](_0x2784d5){const _0x23bd85=_0xc592e0;var _0xe64c49;const _0xfc665=(_0xe64c49=this[_0x23bd85(0x186)][_0x23bd85(0x2c3)](Be))==null?void 0x0:_0xe64c49['customHeaders'];try{const _0x35fe4d=new Qt(_0x2784d5,{'headers':{..._0xfc665}}),_0x5da97b=new _0x4f61fc();return{'URL':_0x2784d5,'close':(_0x309b0a,_0xf6c724)=>{const _0x2a18ac=_0x23bd85;_0x35fe4d[_0x2a18ac(0x1aa)](_0x309b0a,_0xf6c724),_0x5da97b[_0x2a18ac(0x18c)]();},'send':_0x2fd585=>{_0x35fe4d['send'](_0x2fd585);},'open$':new _0x60adf7(_0x618e7d=>{const _0x284365=_0x23bd85,_0x39929c=_0x45a46c=>_0x618e7d['next'](_0x45a46c);_0x35fe4d[_0x284365(0x246)](_0x284365(0x21a),_0x39929c),_0x5da97b['add'](_0x3635b1(()=>_0x35fe4d[_0x284365(0x297)]('open',_0x39929c)));})[_0x23bd85(0x130)](_0x148dcc()),'close$':new _0x60adf7(_0x53777c=>{const _0xdbafc5=_0x23bd85,_0x9f3b20=_0x524154=>_0x53777c[_0xdbafc5(0x227)](_0x524154);_0x35fe4d[_0xdbafc5(0x246)](_0xdbafc5(0x1aa),_0x9f3b20),_0x5da97b[_0xdbafc5(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener']('close',_0x9f3b20)));})['pipe'](_0x148dcc()),'error$':new _0x60adf7(_0x422888=>{const _0x2449fb=_0x23bd85,_0x4d97fe=_0x442ee0=>_0x422888[_0x2449fb(0x227)](_0x442ee0);_0x35fe4d[_0x2449fb(0x246)]('error',_0x4d97fe),_0x5da97b[_0x2449fb(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener'](_0x2449fb(0x159),_0x4d97fe)));})[_0x23bd85(0x130)](_0x148dcc()),'message$':new _0x60adf7(_0xdd7294=>{const _0x393de2=_0x23bd85,_0x1eea4c=_0x13144c=>_0xdd7294[_0x393de2(0x227)](_0x13144c);_0x35fe4d['addEventListener']('message',_0x1eea4c),_0x5da97b[_0x393de2(0x25e)](_0x3635b1(()=>_0x35fe4d[_0x393de2(0x297)](_0x393de2(0x268),_0x1eea4c)));})[_0x23bd85(0x130)](_0x148dcc())};}catch(_0x3b4a56){return console['error'](_0x3b4a56),null;}}};Ne=rr([sr(0x0,_0xa8ce35)],Ne);var ir=Object[_0xc592e0(0x24e)],nr=Object[_0xc592e0(0x201)],or=(_0x55ac9d,_0x3ba7c9,_0xb6ea38)=>_0x3ba7c9 in _0x55ac9d?ir(_0x55ac9d,_0x3ba7c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb6ea38}):_0x55ac9d[_0x3ba7c9]=_0xb6ea38,ar=(_0x29dc6f,_0x512e8f,_0x48a416,_0x2be5e9)=>{for(var _0x5038ae=_0x2be5e9>0x1?void 0x0:_0x2be5e9?nr(_0x512e8f,_0x48a416):_0x512e8f,_0x5cbf49=_0x29dc6f['length']-0x1,_0x937732;_0x5cbf49>=0x0;_0x5cbf49--)(_0x937732=_0x29dc6f[_0x5cbf49])&&(_0x5038ae=_0x937732(_0x5038ae)||_0x5038ae);return _0x5038ae;},ke=(_0x150bec,_0xc2c9e3)=>(_0x3c0c17,_0x25b67f)=>_0xc2c9e3(_0x3c0c17,_0x25b67f,_0x150bec),lr=(_0x2496d3,_0x22f5b1,_0x1792fe)=>or(_0x2496d3,_0x22f5b1+'',_0x1792fe);let Pe=class extends _0xbd7967{constructor(_0x11a02f=Ft,_0x33f31c,_0x31b8ef,_0x7c3258){const _0x43c407=_0xc592e0;_0x11a02f['customHeaders']||_0x33f31c[_0x43c407(0x146)](_0x43c407(0x257)),super(),this[_0x43c407(0x186)]=_0x31b8ef,this[_0x43c407(0x1ac)]=_0x7c3258,this['_configService'][_0x43c407(0x176)](Be,_0x11a02f);}[_0xc592e0(0x213)](){this['_registerDependencies']();}[_0xc592e0(0x2ce)](){_0x4d5543(this['_injector'],[[_0x249bf7,{'useClass':Ne}]]);}};lr(Pe,_0xc592e0(0x22b),_0xc592e0(0x179)),Pe=ar([_0x128f79(_0x56ed27),ke(0x1,_0xfe304b),ke(0x2,_0xa8ce35),ke(0x3,_0xf2788c(_0x50503b))],Pe);var fr=Object[_0xc592e0(0x201)],cr=(_0xfd78fc,_0x2da17b,_0x532f72,_0x505132)=>{const _0x14f01c=_0xc592e0;for(var _0x245742=_0x505132>0x1?void 0x0:_0x505132?fr(_0x2da17b,_0x532f72):_0x2da17b,_0x56b78c=_0xfd78fc[_0x14f01c(0x187)]-0x1,_0x273480;_0x56b78c>=0x0;_0x56b78c--)(_0x273480=_0xfd78fc[_0x56b78c])&&(_0x245742=_0x273480(_0x245742)||_0x245742);return _0x245742;},se=(_0x3b71e9,_0x4bb7b4)=>(_0x10cda8,_0xf7aee0)=>_0x4bb7b4(_0x10cda8,_0xf7aee0,_0x3b71e9);let at=class extends _0x505879{constructor(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82){const _0x4ff66e=_0xc592e0;super(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82);const _0x4afa8b=this[_0x4ff66e(0x186)][_0x4ff66e(0x2c3)](Be);this[_0x4ff66e(0x202)]['registerHTTPInterceptor']({'interceptor':(_0x152122,_0x4e2f49)=>{const _0x4122c4=_0x4ff66e;var _0x989122;const _0x4eb381=_0x152122[_0x4122c4(0x2a6)];return(_0x989122=_0x4afa8b==null?void 0x0:_0x4afa8b[_0x4122c4(0x2bf)])!=null&&_0x989122[_0x4122c4(0x231)]&&_0x4eb381[_0x4122c4(0x229)]('Cookie',_0x4afa8b['customHeaders'][_0x4122c4(0x231)]),_0x4e2f49(_0x152122);}});}async[_0xc592e0(0x26f)](_0x1fc154){const _0x598b00=_0xc592e0;return this[_0x598b00(0x281)](_0x1fc154);}};at=cr([se(0x0,_0xf2788c(_0x50503b)),se(0x1,_0xf2788c(_0x7723dd)),se(0x2,_0xa8ce35),se(0x3,_0xfe304b),se(0x4,_0x1a59b4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x32c0a1=_0x7a11;(function(_0x5e159a,_0x1853a7){const _0x576b0d=_0x7a11,_0x424ebd=_0x5e159a();while(!![]){try{const _0x4a156c=-parseInt(_0x576b0d(0x307))/0x1+-parseInt(_0x576b0d(0x2df))/0x2+parseInt(_0x576b0d(0x226))/0x3+-parseInt(_0x576b0d(0x1f6))/0x4+parseInt(_0x576b0d(0x30b))/0x5*(parseInt(_0x576b0d(0x314))/0x6)+parseInt(_0x576b0d(0x297))/0x7+parseInt(_0x576b0d(0x1a3))/0x8;if(_0x4a156c===_0x1853a7)break;else _0x424ebd['push'](_0x424ebd['shift']());}catch(_0x505924){_0x424ebd['push'](_0x424ebd['shift']());}}}(_0x5837,0x5ae0b));import{UniverCollaborationClientPlugin as _0x4874df,CollaborationSocketService as _0x3dbc5c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x6924ba,DisposableCollection as _0x302e9e,toDisposable as _0x26b427,IConfigService as _0x12a9c6,DependentOn as _0x5c9127,ILogService as _0x2a60e2,Inject as _0x57c28a,Injector as _0x3918e6,Plugin as _0xc4467e,registerDependencies as _0x39fbfe}from'@univerjs/core';import{ISocketService as _0x4f41b6,HTTPService as _0x3b713a}from'@univerjs/network';import{Observable as _0x4dcd33,share as _0x3d5744}from'rxjs';import _0x7673ac from'events';import _0x40d1ce from'https';import _0x1cec09 from'http';import _0x422c82 from'net';import _0x2089cd from'tls';import _0x2f43cd from'crypto';import _0xb997d8 from'stream';import _0x6e8398 from'url';import _0x30b359 from'zlib';function _0x5837(){const _0x29d503=['_allowSynchronousEvents','cork','Sec-WebSocket-Extensions','_binaryType','setSocket','Upgrade','protocolVersion','_redirects','isArray','1216190HPqjXR','acceptAsClient','invalid\x20opcode\x200','_generateMask','rsv1','handleProtocols','authorized','_server','wss:','server_no_context_takeover','emit','haveLength','removeEventListener','protocol','clients','Unexpected\x20character\x20at\x20index\x20','_originalSecure','shift','end','_compress','zlibDeflateOptions','_fin','WS_ERR_UNEXPECTED_RSV_1','code','_state','exports','set','The\x20\x22','data','sec-websocket-version','Unexpected\x20server\x20response:\x20','reason','_final','pipe','onclose','_options','maxRedirects','kCode','_payloadLength','listenerCount','731711pfbcvL','The\x20URL\x20contains\x20a\x20fragment\x20identifier','client','unmask','252575ZDYNAp','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','emitClose','arrayBuffer','destroyed','offer','finish','options','WS_ERR_UNEXPECTED_MASK','42GqQzcQ','backlog','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','FIN\x20must\x20be\x20set','kListener','finished','fin','toLowerCase','terminate','digest','getData','isView','getPayloadLength64','_closeTimer','_firstFragment','add','species','WS_ERR_UNEXPECTED_RSV_2_3','href','drain','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','collaboration-client-node.config','once','connection','Maximum\x20redirects\x20exceeded','controlMessage','forEach','_writableState','Unsupported\x20protocol\x20version:\x20','_fragmented','dispose','location','ping','isInteger','bufferedAmount','setConfig','_fragments','next','concat','consume','address','params','writeUIntBE','nodebuffer','normalizeParams','removeListener','CLOSED','default','response','File','HTTP/1.1\x20101\x20Switching\x20Protocols','write','_receiver','_socket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_closeFrameSent','kIsForOnEventAttribute','Sec-WebSocket-Accept:\x20','4245520cemcui','generateMask','_masked','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_deflate','autoPong','client_no_context_takeover','abort','createServer','needDrain','_no_context_takeover','construct','RSV1\x20must\x20be\x20clear','serverMaxWindowBits','size','_isServer','invalid\x20status\x20code\x20','_readyState','prototype','Max\x20payload\x20size\x20exceeded','push','objectMode','readOnly','_messageLength','Invalid\x20URL:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','dataMessage','origin','opcode','unexpected-response','toString','getBlobData','verifyClient','OPEN','_opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_bufferedAmount','kRun','hash','invalid\x20UTF-8\x20sequence','update','_maskBuffer','WS_ERR_EXPECTED_MASK','_mask','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','server','cookie','port','replace','byteLength','skipUTF8Validation','getPayloadLength16','buffers','WS_ERR_EXPECTED_FIN','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','indexOf','\x22:\x20','permessage-deflate','reset','concurrencyLimit','Invalid\x20Upgrade\x20header','unshift','nextTick','wasClean','join','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_originalIpc','followRedirects','pluginName','_totalPayloadLength','upgrade','registerHTTPInterceptor','hasOwnProperty','websocket','Blob','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','handleEvent','error','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','STATUS_CODES','close','38612voDUvf','username','_decompress','_loop','compress','isIP','kType','extensionName','jobs','_buffers','server_max_window_bits','keys','MASK\x20must\x20be\x20clear','_threshold','getInfo','isServer','path','request','writeUInt16BE','serverNoContextTakeover','mask','HTTP/1.1\x20','headers','listening','WS_ERR_INVALID_OPCODE','Module','binaryType','createDeflateRaw','CONNECTING','_registerDependencies','connect','socketPath','alloc','perMessageDeflate','create','resume','setTimeout','Invalid\x20Sec-WebSocket-Accept\x20header','allowSynchronousEvents','conclude','createSocket','delete','send','dequeue','concurrency','Server\x20sent\x20an\x20invalid\x20subprotocol','dispatch','captureStackTrace','1398798QJJPXV','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WS_ERR_INVALID_UTF8','length','enqueue','Sec-WebSocket-Protocol:\x20','callback','\x0d\x0a\x0d\x0a','listeners','Z_DEFAULT_WINDOWBITS','sec-websocket-protocol','_shouldEmitClose','values','createError','format','apply','function','setNoDelay','setHeader','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','authorization','GET','target','_errorEmitted','search','decompress','createInflateRaw','_url','pong','cleanup','bind','has','status-code','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getOwnPropertyDescriptor','socket','Sec-WebSocket-Origin','_closeFrameReceived','_skipUTF8Validation','_bufferedBytes','endEmitted','shouldHandle','kReason','parse','_max_window_bits','wsClientError','includes','kWasClean','hostname','_removeListeners','completeUpgrade','_compressed','clientMaxWindowBits','split','host','charCodeAt','Basic\x20','_extensions','number','maxPayload','flush','pause','string','sec-websocket-accept','then','entries','writeHead','byteOffset','_write','readyState','constructor','_read','writable','sha1','statusCode','onerror','client_max_window_bits','invalid\x20payload\x20length\x20','clientTracking','url','buffer','errorEmitted','_errored','catch','toStringTag','total-length','env','clientNoContextTakeover','_closeCode','slice','Unexpected\x20end\x20of\x20input','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','defaultPort','isPaused','startLoop','auth','test','_sender','message','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','type','blob','servername','_injector','destroy','_req','redirect','Cookie','sendFrame','from','customHeaders','Invalid\x20value\x20for\x20parameter\x20\x22','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','2597931tSVkso','ws:','_closeMessage','removeAllListeners','finishRequest','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt16BE','base64','isBuffer','frame','Connection:\x20Upgrade','onmessage','_autoPong','_doCreateSocket','freeze','open','call','Opening\x20handshake\x20has\x20timed\x20out','_inflate','getConfig','onStarting','_originalHostOrSocketPath','_httpService','threshold','readUInt32BE','allocUnsafe','Invalid\x20WebSocket\x20frame:\x20','acceptAsServer','_protocol','map','extensions','startsWith','accept','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CLOSING','_paused','Invalid\x20HTTP\x20method','_readableState','sec-websocket-origin','\x22\x20subprotocol\x20is\x20duplicated','WebSocket','addEventListener','_maxPayload','defineProperty','noServer','_queue','handleUpgrade','_configService','binary','createConnection','invalid\x20opcode\x20','__esModule','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','maskBuffer','timeout','pending','getMask','arraybuffer','sec-websocket-extensions','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','read','object','pathname'];_0x5837=function(){return _0x29d503;};return _0x5837();}import _0x1e29bc from'buffer';import{ISnapshotServerService as _0x21d179}from'@univerjs-pro/collaboration';const Be=_0x32c0a1(0x329),Ft={'customHeaders':{}};function jt(_0x259a04){const _0x4118bc=_0x32c0a1;return _0x259a04&&_0x259a04[_0x4118bc(0x2ca)]&&Object['prototype'][_0x4118bc(0x1ed)][_0x4118bc(0x2a7)](_0x259a04,_0x4118bc(0x343))?_0x259a04[_0x4118bc(0x343)]:_0x259a04;}function ut(_0x4a802b){const _0x527bfc=_0x32c0a1;if(Object[_0x527bfc(0x1b5)][_0x527bfc(0x1ed)]['call'](_0x4a802b,_0x527bfc(0x2ca)))return _0x4a802b;var _0x351035=_0x4a802b['default'];if(typeof _0x351035==_0x527bfc(0x236)){var _0x4c484a=function _0x321608(){const _0x598d89=_0x527bfc;return this instanceof _0x321608?Reflect[_0x598d89(0x1ae)](_0x351035,arguments,this[_0x598d89(0x26c)]):_0x351035[_0x598d89(0x235)](this,arguments);};_0x4c484a[_0x527bfc(0x1b5)]=_0x351035[_0x527bfc(0x1b5)];}else _0x4c484a={};return Object[_0x527bfc(0x2c2)](_0x4c484a,'__esModule',{'value':!0x0}),Object['keys'](_0x4a802b)[_0x527bfc(0x32e)](function(_0x252613){const _0x120291=_0x527bfc;var _0x3562c4=Object[_0x120291(0x248)](_0x4a802b,_0x252613);Object['defineProperty'](_0x4c484a,_0x252613,_0x3562c4['get']?_0x3562c4:{'enumerable':!0x0,'get':function(){return _0x4a802b[_0x252613];}});}),_0x4c484a;}var te={'exports':{}},ge,Ye;function V(){const _0x40b82b=_0x32c0a1;if(Ye)return ge;Ye=0x1;const _0x533521=[_0x40b82b(0x33f),_0x40b82b(0x2d0),'fragments'],_0x50accf=typeof Blob<'u';return _0x50accf&&_0x533521[_0x40b82b(0x1b7)](_0x40b82b(0x28b)),ge={'BINARY_TYPES':_0x533521,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x50accf,'kForOnEventAttribute':Symbol(_0x40b82b(0x34c)),'kListener':Symbol(_0x40b82b(0x318)),'kStatusCode':Symbol(_0x40b82b(0x246)),'kWebSocket':Symbol(_0x40b82b(0x1ee)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x32c0a1(0x20f)})),Vt=ut(Gt);var Ke;function ce(){const _0xa1abce=_0x32c0a1;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x4a0596}=V(),_0x2e5e6d=Buffer[Symbol[_0xa1abce(0x324)]];function _0x3deb63(_0x50b0eb,_0x595324){const _0x1a28d9=_0xa1abce;if(_0x50b0eb[_0x1a28d9(0x229)]===0x0)return _0x4a0596;if(_0x50b0eb[_0x1a28d9(0x229)]===0x1)return _0x50b0eb[0x0];const _0x28dfde=Buffer[_0x1a28d9(0x2b0)](_0x595324);let _0x352538=0x0;for(let _0x3f6036=0x0;_0x3f6036<_0x50b0eb['length'];_0x3f6036++){const _0x17110f=_0x50b0eb[_0x3f6036];_0x28dfde[_0x1a28d9(0x2f9)](_0x17110f,_0x352538),_0x352538+=_0x17110f[_0x1a28d9(0x229)];}return _0x352538<_0x595324?new _0x2e5e6d(_0x28dfde[_0x1a28d9(0x276)],_0x28dfde[_0x1a28d9(0x269)],_0x352538):_0x28dfde;}function _0x443d1e(_0xf905db,_0x43e40e,_0x16e137,_0x3bc8b,_0x2f8c17){for(let _0x236b10=0x0;_0x236b10<_0x2f8c17;_0x236b10++)_0x16e137[_0x3bc8b+_0x236b10]=_0xf905db[_0x236b10]^_0x43e40e[_0x236b10&0x3];}function _0x47fab7(_0x3b5706,_0x541f2e){for(let _0x486475=0x0;_0x486475<_0x3b5706['length'];_0x486475++)_0x3b5706[_0x486475]^=_0x541f2e[_0x486475&0x3];}function _0x44da8e(_0x4e850d){const _0x561019=_0xa1abce;return _0x4e850d[_0x561019(0x229)]===_0x4e850d[_0x561019(0x276)][_0x561019(0x1d6)]?_0x4e850d[_0x561019(0x276)]:_0x4e850d[_0x561019(0x276)]['slice'](_0x4e850d[_0x561019(0x269)],_0x4e850d[_0x561019(0x269)]+_0x4e850d[_0x561019(0x229)]);}function _0x254ebc(_0x5c6d65){const _0x494786=_0xa1abce;if(_0x254ebc[_0x494786(0x1b9)]=!0x0,Buffer[_0x494786(0x29f)](_0x5c6d65))return _0x5c6d65;let _0x3631e1;return _0x5c6d65 instanceof ArrayBuffer?_0x3631e1=new _0x2e5e6d(_0x5c6d65):ArrayBuffer[_0x494786(0x31f)](_0x5c6d65)?_0x3631e1=new _0x2e5e6d(_0x5c6d65['buffer'],_0x5c6d65[_0x494786(0x269)],_0x5c6d65[_0x494786(0x1d6)]):(_0x3631e1=Buffer[_0x494786(0x293)](_0x5c6d65),_0x254ebc[_0x494786(0x1b9)]=!0x1),_0x3631e1;}if(te['exports']={'concat':_0x3deb63,'mask':_0x443d1e,'toArrayBuffer':_0x44da8e,'toBuffer':_0x254ebc,'unmask':_0x47fab7},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x4f3421=Vt;te[_0xa1abce(0x2f8)]['mask']=function(_0x68881e,_0xa3d998,_0x1475de,_0x2167c5,_0x47bdb8){_0x47bdb8<0x30?_0x443d1e(_0x68881e,_0xa3d998,_0x1475de,_0x2167c5,_0x47bdb8):_0x4f3421['mask'](_0x68881e,_0xa3d998,_0x1475de,_0x2167c5,_0x47bdb8);},te[_0xa1abce(0x2f8)][_0xa1abce(0x30a)]=function(_0x20b4b3,_0x24c12c){const _0x473f6e=_0xa1abce;_0x20b4b3['length']<0x20?_0x47fab7(_0x20b4b3,_0x24c12c):_0x4f3421[_0x473f6e(0x30a)](_0x20b4b3,_0x24c12c);};}catch{}return te[_0xa1abce(0x2f8)];}var ye,Xe;function qt(){const _0x5b1b69=_0x32c0a1;if(Xe)return ye;Xe=0x1;const _0x452bd5=Symbol('kDone'),_0x156b98=Symbol(_0x5b1b69(0x1c8));class _0x1e30dc{constructor(_0x34e201){const _0x3bfa12=_0x5b1b69;this[_0x452bd5]=()=>{const _0x16b2ad=_0x7a11;this[_0x16b2ad(0x2ce)]--,this[_0x156b98]();},this[_0x3bfa12(0x222)]=_0x34e201||0x1/0x0,this[_0x3bfa12(0x1fe)]=[],this[_0x3bfa12(0x2ce)]=0x0;}[_0x5b1b69(0x323)](_0x3a3ef0){const _0x58842f=_0x5b1b69;this['jobs'][_0x58842f(0x1b7)](_0x3a3ef0),this[_0x156b98]();}[_0x156b98](){const _0x44adfe=_0x5b1b69;if(this[_0x44adfe(0x2ce)]!==this[_0x44adfe(0x222)]&&this[_0x44adfe(0x1fe)][_0x44adfe(0x229)]){const _0x4b39a1=this['jobs']['shift']();this[_0x44adfe(0x2ce)]++,_0x4b39a1(this[_0x452bd5]);}}}return ye=_0x1e30dc,ye;}var ve,Ze;function he(){const _0x269b23=_0x32c0a1;if(Ze)return ve;Ze=0x1;const _0x468871=_0x30b359,_0x29f963=ce(),_0x496787=qt(),{kStatusCode:_0xdd31e}=V(),_0x1c73a6=Buffer[Symbol[_0x269b23(0x324)]],_0x34f676=Buffer[_0x269b23(0x293)]([0x0,0x0,0xff,0xff]),_0x39085c=Symbol(_0x269b23(0x1de)),_0x3ff8b4=Symbol(_0x269b23(0x27b)),_0x5f640a=Symbol(_0x269b23(0x22c)),_0x2f7d18=Symbol(_0x269b23(0x1d9)),_0x34dceb=Symbol(_0x269b23(0x1f2));let _0x2684f7;class _0x4839e7{constructor(_0x5a159a,_0x304701,_0x115c31){const _0x2a8421=_0x269b23;if(this[_0x2a8421(0x2c1)]=_0x115c31|0x0,this['_options']=_0x5a159a||{},this[_0x2a8421(0x203)]=this[_0x2a8421(0x302)][_0x2a8421(0x2ae)]!==void 0x0?this[_0x2a8421(0x302)][_0x2a8421(0x2ae)]:0x400,this[_0x2a8421(0x1b2)]=!!_0x304701,this[_0x2a8421(0x1a7)]=null,this[_0x2a8421(0x2a9)]=null,this[_0x2a8421(0x33d)]=null,!_0x2684f7){const _0x3190f2=this[_0x2a8421(0x302)][_0x2a8421(0x1e0)]!==void 0x0?this[_0x2a8421(0x302)][_0x2a8421(0x1e0)]:0xa;_0x2684f7=new _0x496787(_0x3190f2);}}static get[_0x269b23(0x1fd)](){const _0x3b073b=_0x269b23;return _0x3b073b(0x1de);}[_0x269b23(0x310)](){const _0x4e0465=_0x269b23,_0x546568={};return this[_0x4e0465(0x302)][_0x4e0465(0x209)]&&(_0x546568[_0x4e0465(0x2e8)]=!0x0),this[_0x4e0465(0x302)][_0x4e0465(0x27d)]&&(_0x546568['client_no_context_takeover']=!0x0),this[_0x4e0465(0x302)][_0x4e0465(0x1b0)]&&(_0x546568['server_max_window_bits']=this['_options'][_0x4e0465(0x1b0)]),this['_options'][_0x4e0465(0x25a)]?_0x546568[_0x4e0465(0x272)]=this[_0x4e0465(0x302)]['clientMaxWindowBits']:this[_0x4e0465(0x302)][_0x4e0465(0x25a)]==null&&(_0x546568[_0x4e0465(0x272)]=!0x0),_0x546568;}[_0x269b23(0x2b7)](_0x55716d){const _0x3dfa0b=_0x269b23;return _0x55716d=this[_0x3dfa0b(0x340)](_0x55716d),this[_0x3dfa0b(0x33d)]=this[_0x3dfa0b(0x1b2)]?this[_0x3dfa0b(0x2b2)](_0x55716d):this[_0x3dfa0b(0x2e0)](_0x55716d),this['params'];}[_0x269b23(0x243)](){const _0x40da78=_0x269b23;if(this[_0x40da78(0x2a9)]&&(this[_0x40da78(0x2a9)][_0x40da78(0x1f5)](),this[_0x40da78(0x2a9)]=null),this[_0x40da78(0x1a7)]){const _0x4d8396=this['_deflate'][_0x5f640a];this[_0x40da78(0x1a7)][_0x40da78(0x1f5)](),this['_deflate']=null,_0x4d8396&&_0x4d8396(new Error(_0x40da78(0x281)));}}[_0x269b23(0x2b2)](_0x59167f){const _0x511332=_0x269b23,_0x3f60d2=this[_0x511332(0x302)],_0x2c3a94=_0x59167f['find'](_0x5e1cdb=>!(_0x3f60d2[_0x511332(0x209)]===!0x1&&_0x5e1cdb[_0x511332(0x2e8)]||_0x5e1cdb[_0x511332(0x200)]&&(_0x3f60d2[_0x511332(0x1b0)]===!0x1||typeof _0x3f60d2['serverMaxWindowBits']==_0x511332(0x260)&&_0x3f60d2[_0x511332(0x1b0)]>_0x5e1cdb[_0x511332(0x200)])||typeof _0x3f60d2[_0x511332(0x25a)]=='number'&&!_0x5e1cdb['client_max_window_bits']));if(!_0x2c3a94)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x3f60d2[_0x511332(0x209)]&&(_0x2c3a94[_0x511332(0x2e8)]=!0x0),_0x3f60d2[_0x511332(0x27d)]&&(_0x2c3a94[_0x511332(0x1a9)]=!0x0),typeof _0x3f60d2[_0x511332(0x1b0)]=='number'&&(_0x2c3a94[_0x511332(0x200)]=_0x3f60d2[_0x511332(0x1b0)]),typeof _0x3f60d2[_0x511332(0x25a)]=='number'?_0x2c3a94[_0x511332(0x272)]=_0x3f60d2[_0x511332(0x25a)]:(_0x2c3a94['client_max_window_bits']===!0x0||_0x3f60d2[_0x511332(0x25a)]===!0x1)&&delete _0x2c3a94[_0x511332(0x272)],_0x2c3a94;}['acceptAsClient'](_0x3f20a3){const _0x3187d7=_0x269b23,_0x103ee2=_0x3f20a3[0x0];if(this['_options'][_0x3187d7(0x27d)]===!0x1&&_0x103ee2['client_no_context_takeover'])throw new Error(_0x3187d7(0x1cf));if(!_0x103ee2[_0x3187d7(0x272)])typeof this[_0x3187d7(0x302)][_0x3187d7(0x25a)]==_0x3187d7(0x260)&&(_0x103ee2[_0x3187d7(0x272)]=this[_0x3187d7(0x302)][_0x3187d7(0x25a)]);else{if(this[_0x3187d7(0x302)]['clientMaxWindowBits']===!0x1||typeof this[_0x3187d7(0x302)][_0x3187d7(0x25a)]=='number'&&_0x103ee2['client_max_window_bits']>this[_0x3187d7(0x302)][_0x3187d7(0x25a)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x103ee2;}[_0x269b23(0x340)](_0x59da11){const _0x369337=_0x269b23;return _0x59da11[_0x369337(0x32e)](_0x31b0a9=>{const _0x3db760=_0x369337;Object['keys'](_0x31b0a9)[_0x3db760(0x32e)](_0x5d53b4=>{const _0x7ca651=_0x3db760;let _0x493438=_0x31b0a9[_0x5d53b4];if(_0x493438[_0x7ca651(0x229)]>0x1)throw new Error('Parameter\x20\x22'+_0x5d53b4+_0x7ca651(0x29c));if(_0x493438=_0x493438[0x0],_0x5d53b4==='client_max_window_bits'){if(_0x493438!==!0x0){const _0x5ce008=+_0x493438;if(!Number[_0x7ca651(0x335)](_0x5ce008)||_0x5ce008<0x8||_0x5ce008>0xf)throw new TypeError(_0x7ca651(0x295)+_0x5d53b4+_0x7ca651(0x1dd)+_0x493438);_0x493438=_0x5ce008;}else{if(!this[_0x7ca651(0x1b2)])throw new TypeError(_0x7ca651(0x295)+_0x5d53b4+_0x7ca651(0x1dd)+_0x493438);}}else{if(_0x5d53b4===_0x7ca651(0x200)){const _0x276a92=+_0x493438;if(!Number[_0x7ca651(0x335)](_0x276a92)||_0x276a92<0x8||_0x276a92>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5d53b4+_0x7ca651(0x1dd)+_0x493438);_0x493438=_0x276a92;}else{if(_0x5d53b4==='client_no_context_takeover'||_0x5d53b4===_0x7ca651(0x2e8)){if(_0x493438!==!0x0)throw new TypeError(_0x7ca651(0x295)+_0x5d53b4+_0x7ca651(0x1dd)+_0x493438);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x5d53b4+'\x22');}}_0x31b0a9[_0x5d53b4]=_0x493438;});}),_0x59da11;}[_0x269b23(0x23f)](_0xfd266e,_0x3c5bcc,_0x645827){_0x2684f7['add'](_0x45e519=>{const _0x3ad4d6=_0x7a11;this[_0x3ad4d6(0x1f8)](_0xfd266e,_0x3c5bcc,(_0x206e01,_0x40f0c0)=>{_0x45e519(),_0x645827(_0x206e01,_0x40f0c0);});});}[_0x269b23(0x1fa)](_0x39b052,_0x35e268,_0x32445e){const _0x426db2=_0x269b23;_0x2684f7[_0x426db2(0x323)](_0x42d407=>{this['_compress'](_0x39b052,_0x35e268,(_0x3d33a7,_0x546281)=>{_0x42d407(),_0x32445e(_0x3d33a7,_0x546281);});});}['_decompress'](_0x13780c,_0x1bb52b,_0x358046){const _0x4e84e4=_0x269b23,_0x109162=this['_isServer']?_0x4e84e4(0x309):'server';if(!this[_0x4e84e4(0x2a9)]){const _0x193509=_0x109162+_0x4e84e4(0x252),_0x516d3b=typeof this['params'][_0x193509]!='number'?_0x468871[_0x4e84e4(0x22f)]:this[_0x4e84e4(0x33d)][_0x193509];this[_0x4e84e4(0x2a9)]=_0x468871[_0x4e84e4(0x240)]({...this[_0x4e84e4(0x302)]['zlibInflateOptions'],'windowBits':_0x516d3b}),this[_0x4e84e4(0x2a9)][_0x39085c]=this,this[_0x4e84e4(0x2a9)][_0x3ff8b4]=0x0,this[_0x4e84e4(0x2a9)][_0x2f7d18]=[],this['_inflate']['on']('error',_0x122b75),this[_0x4e84e4(0x2a9)]['on']('data',_0x3bbde7);}this[_0x4e84e4(0x2a9)][_0x5f640a]=_0x358046,this[_0x4e84e4(0x2a9)][_0x4e84e4(0x347)](_0x13780c),_0x1bb52b&&this['_inflate'][_0x4e84e4(0x347)](_0x34f676),this[_0x4e84e4(0x2a9)]['flush'](()=>{const _0x26ae7c=_0x4e84e4,_0x264bd6=this['_inflate'][_0x34dceb];if(_0x264bd6){this[_0x26ae7c(0x2a9)][_0x26ae7c(0x1f5)](),this[_0x26ae7c(0x2a9)]=null,_0x358046(_0x264bd6);return;}const _0x13040f=_0x29f963[_0x26ae7c(0x33a)](this[_0x26ae7c(0x2a9)][_0x2f7d18],this[_0x26ae7c(0x2a9)][_0x3ff8b4]);this[_0x26ae7c(0x2a9)][_0x26ae7c(0x2bc)]['endEmitted']?(this[_0x26ae7c(0x2a9)]['close'](),this[_0x26ae7c(0x2a9)]=null):(this[_0x26ae7c(0x2a9)][_0x3ff8b4]=0x0,this['_inflate'][_0x2f7d18]=[],_0x1bb52b&&this[_0x26ae7c(0x33d)][_0x109162+_0x26ae7c(0x1ad)]&&this['_inflate']['reset']()),_0x358046(null,_0x13040f);});}[_0x269b23(0x2f2)](_0x451df5,_0x20da91,_0x2617db){const _0x24209b=_0x269b23,_0x246e1d=this[_0x24209b(0x1b2)]?_0x24209b(0x1d2):_0x24209b(0x309);if(!this[_0x24209b(0x1a7)]){const _0x3a1e9f=_0x246e1d+'_max_window_bits',_0x1e1cea=typeof this[_0x24209b(0x33d)][_0x3a1e9f]!=_0x24209b(0x260)?_0x468871[_0x24209b(0x22f)]:this[_0x24209b(0x33d)][_0x3a1e9f];this[_0x24209b(0x1a7)]=_0x468871[_0x24209b(0x211)]({...this[_0x24209b(0x302)][_0x24209b(0x2f3)],'windowBits':_0x1e1cea}),this[_0x24209b(0x1a7)][_0x3ff8b4]=0x0,this[_0x24209b(0x1a7)][_0x2f7d18]=[],this[_0x24209b(0x1a7)]['on'](_0x24209b(0x2fb),_0x867d59);}this[_0x24209b(0x1a7)][_0x5f640a]=_0x2617db,this[_0x24209b(0x1a7)][_0x24209b(0x347)](_0x451df5),this[_0x24209b(0x1a7)][_0x24209b(0x262)](_0x468871['Z_SYNC_FLUSH'],()=>{const _0x153746=_0x24209b;if(!this[_0x153746(0x1a7)])return;let _0x19baaf=_0x29f963[_0x153746(0x33a)](this[_0x153746(0x1a7)][_0x2f7d18],this[_0x153746(0x1a7)][_0x3ff8b4]);_0x20da91&&(_0x19baaf=new _0x1c73a6(_0x19baaf['buffer'],_0x19baaf[_0x153746(0x269)],_0x19baaf[_0x153746(0x229)]-0x4)),this[_0x153746(0x1a7)][_0x5f640a]=null,this[_0x153746(0x1a7)][_0x3ff8b4]=0x0,this['_deflate'][_0x2f7d18]=[],_0x20da91&&this[_0x153746(0x33d)][_0x246e1d+_0x153746(0x1ad)]&&this[_0x153746(0x1a7)][_0x153746(0x1df)](),_0x2617db(null,_0x19baaf);});}}ve=_0x4839e7;function _0x867d59(_0x2bef08){const _0x548980=_0x269b23;this[_0x2f7d18][_0x548980(0x1b7)](_0x2bef08),this[_0x3ff8b4]+=_0x2bef08[_0x548980(0x229)];}function _0x3bbde7(_0x473422){const _0x576722=_0x269b23;if(this[_0x3ff8b4]+=_0x473422[_0x576722(0x229)],this[_0x39085c]['_maxPayload']<0x1||this[_0x3ff8b4]<=this[_0x39085c][_0x576722(0x2c1)]){this[_0x2f7d18][_0x576722(0x1b7)](_0x473422);return;}this[_0x34dceb]=new RangeError(_0x576722(0x1b6)),this[_0x34dceb][_0x576722(0x2f6)]=_0x576722(0x34a),this[_0x34dceb][_0xdd31e]=0x3f1,this[_0x576722(0x341)](_0x576722(0x2fb),_0x3bbde7),this[_0x576722(0x1df)]();}function _0x122b75(_0xd8b7f9){const _0x1a9002=_0x269b23;if(this[_0x39085c][_0x1a9002(0x2a9)]=null,this[_0x34dceb]){this[_0x5f640a](this[_0x34dceb]);return;}_0xd8b7f9[_0xdd31e]=0x3ef,this[_0x5f640a](_0xd8b7f9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x32c0a1(0x2a5)](Object[_0x32c0a1(0x2c2)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x491690=_0x32c0a1;if(Qe)return re[_0x491690(0x2f8)];Qe=0x1;const {isUtf8:_0x1ebaa8}=_0x1e29bc,{hasBlob:_0x453d0e}=V(),_0x2512be=[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 _0x5c4371(_0x43fc77){return _0x43fc77>=0x3e8&&_0x43fc77<=0x3f6&&_0x43fc77!==0x3ec&&_0x43fc77!==0x3ed&&_0x43fc77!==0x3ee||_0x43fc77>=0xbb8&&_0x43fc77<=0x1387;}function _0x438c0e(_0x325799){const _0x3084a4=_0x491690,_0x3772be=_0x325799[_0x3084a4(0x229)];let _0x295842=0x0;for(;_0x295842<_0x3772be;)if((_0x325799[_0x295842]&0x80)===0x0)_0x295842++;else{if((_0x325799[_0x295842]&0xe0)===0xc0){if(_0x295842+0x1===_0x3772be||(_0x325799[_0x295842+0x1]&0xc0)!==0x80||(_0x325799[_0x295842]&0xfe)===0xc0)return!0x1;_0x295842+=0x2;}else{if((_0x325799[_0x295842]&0xf0)===0xe0){if(_0x295842+0x2>=_0x3772be||(_0x325799[_0x295842+0x1]&0xc0)!==0x80||(_0x325799[_0x295842+0x2]&0xc0)!==0x80||_0x325799[_0x295842]===0xe0&&(_0x325799[_0x295842+0x1]&0xe0)===0x80||_0x325799[_0x295842]===0xed&&(_0x325799[_0x295842+0x1]&0xe0)===0xa0)return!0x1;_0x295842+=0x3;}else{if((_0x325799[_0x295842]&0xf8)===0xf0){if(_0x295842+0x3>=_0x3772be||(_0x325799[_0x295842+0x1]&0xc0)!==0x80||(_0x325799[_0x295842+0x2]&0xc0)!==0x80||(_0x325799[_0x295842+0x3]&0xc0)!==0x80||_0x325799[_0x295842]===0xf0&&(_0x325799[_0x295842+0x1]&0xf0)===0x80||_0x325799[_0x295842]===0xf4&&_0x325799[_0x295842+0x1]>0x8f||_0x325799[_0x295842]>0xf4)return!0x1;_0x295842+=0x4;}else return!0x1;}}}return!0x0;}function _0x162493(_0x47d969){const _0x5b369f=_0x491690;return _0x453d0e&&typeof _0x47d969==_0x5b369f(0x2d4)&&typeof _0x47d969[_0x5b369f(0x30e)]==_0x5b369f(0x236)&&typeof _0x47d969[_0x5b369f(0x28a)]=='string'&&typeof _0x47d969['stream']==_0x5b369f(0x236)&&(_0x47d969[Symbol[_0x5b369f(0x27a)]]===_0x5b369f(0x1ef)||_0x47d969[Symbol[_0x5b369f(0x27a)]]===_0x5b369f(0x345));}if(re[_0x491690(0x2f8)]={'isBlob':_0x162493,'isValidStatusCode':_0x5c4371,'isValidUTF8':_0x438c0e,'tokenChars':_0x2512be},_0x1ebaa8)re[_0x491690(0x2f8)]['isValidUTF8']=function(_0x5d044a){const _0x13bc5d=_0x491690;return _0x5d044a[_0x13bc5d(0x229)]<0x18?_0x438c0e(_0x5d044a):_0x1ebaa8(_0x5d044a);};else{if(!process[_0x491690(0x27c)]['WS_NO_UTF_8_VALIDATE'])try{const _0x3a0fb8=Yt;re[_0x491690(0x2f8)]['isValidUTF8']=function(_0x2d7d84){const _0x38f55d=_0x491690;return _0x2d7d84[_0x38f55d(0x229)]<0x20?_0x438c0e(_0x2d7d84):_0x3a0fb8(_0x2d7d84);};}catch{}}return re[_0x491690(0x2f8)];}var Se,Je;function dt(){const _0x16d7c6=_0x32c0a1;if(Je)return Se;Je=0x1;const {Writable:_0x50a4aa}=_0xb997d8,_0x3c95d3=he(),{BINARY_TYPES:_0x39475b,EMPTY_BUFFER:_0xd377d0,kStatusCode:_0x3a9c1e,kWebSocket:_0x5312e5}=V(),{concat:_0x568b05,toArrayBuffer:_0x28b40e,unmask:_0x171a35}=ce(),{isValidStatusCode:_0x2c3416,isValidUTF8:_0x21a2b9}=ne(),_0x578b2f=Buffer[Symbol[_0x16d7c6(0x324)]],_0x10594e=0x0,_0x391a56=0x1,_0x374bf9=0x2,_0x4c9678=0x3,_0x2706f3=0x4,_0x2a1949=0x5,_0x9a5106=0x6;class _0x36915d extends _0x50a4aa{constructor(_0x561873={}){const _0x40fb06=_0x16d7c6;super(),this[_0x40fb06(0x2d6)]=_0x561873[_0x40fb06(0x21c)]!==void 0x0?_0x561873[_0x40fb06(0x21c)]:!0x0,this['_binaryType']=_0x561873[_0x40fb06(0x210)]||_0x39475b[0x0],this[_0x40fb06(0x25f)]=_0x561873[_0x40fb06(0x2b5)]||{},this[_0x40fb06(0x1b2)]=!!_0x561873[_0x40fb06(0x205)],this['_maxPayload']=_0x561873['maxPayload']|0x0,this[_0x40fb06(0x24c)]=!!_0x561873['skipUTF8Validation'],this[_0x5312e5]=void 0x0,this[_0x40fb06(0x24d)]=0x0,this[_0x40fb06(0x1ff)]=[],this[_0x40fb06(0x259)]=!0x1,this[_0x40fb06(0x305)]=0x0,this[_0x40fb06(0x1ce)]=void 0x0,this[_0x40fb06(0x331)]=0x0,this[_0x40fb06(0x1a5)]=!0x1,this[_0x40fb06(0x2f4)]=!0x1,this[_0x40fb06(0x1c5)]=0x0,this[_0x40fb06(0x1ea)]=0x0,this[_0x40fb06(0x1ba)]=0x0,this['_fragments']=[],this[_0x40fb06(0x278)]=!0x1,this['_loop']=!0x1,this[_0x40fb06(0x2f7)]=_0x10594e;}['_write'](_0x14c899,_0x383788,_0x5939f5){const _0x14909c=_0x16d7c6;if(this['_opcode']===0x8&&this[_0x14909c(0x2f7)]==_0x10594e)return _0x5939f5();this[_0x14909c(0x24d)]+=_0x14c899[_0x14909c(0x229)],this[_0x14909c(0x1ff)][_0x14909c(0x1b7)](_0x14c899),this[_0x14909c(0x284)](_0x5939f5);}['consume'](_0x36200c){const _0x49b553=_0x16d7c6;if(this[_0x49b553(0x24d)]-=_0x36200c,_0x36200c===this[_0x49b553(0x1ff)][0x0][_0x49b553(0x229)])return this[_0x49b553(0x1ff)][_0x49b553(0x2f0)]();if(_0x36200c<this[_0x49b553(0x1ff)][0x0][_0x49b553(0x229)]){const _0xc480e9=this[_0x49b553(0x1ff)][0x0];return this['_buffers'][0x0]=new _0x578b2f(_0xc480e9[_0x49b553(0x276)],_0xc480e9[_0x49b553(0x269)]+_0x36200c,_0xc480e9[_0x49b553(0x229)]-_0x36200c),new _0x578b2f(_0xc480e9[_0x49b553(0x276)],_0xc480e9[_0x49b553(0x269)],_0x36200c);}const _0x27aef6=Buffer['allocUnsafe'](_0x36200c);do{const _0x581f58=this[_0x49b553(0x1ff)][0x0],_0xc4ac38=_0x27aef6[_0x49b553(0x229)]-_0x36200c;_0x36200c>=_0x581f58[_0x49b553(0x229)]?_0x27aef6[_0x49b553(0x2f9)](this[_0x49b553(0x1ff)][_0x49b553(0x2f0)](),_0xc4ac38):(_0x27aef6[_0x49b553(0x2f9)](new Uint8Array(_0x581f58[_0x49b553(0x276)],_0x581f58[_0x49b553(0x269)],_0x36200c),_0xc4ac38),this[_0x49b553(0x1ff)][0x0]=new _0x578b2f(_0x581f58['buffer'],_0x581f58[_0x49b553(0x269)]+_0x36200c,_0x581f58[_0x49b553(0x229)]-_0x36200c)),_0x36200c-=_0x581f58[_0x49b553(0x229)];}while(_0x36200c>0x0);return _0x27aef6;}[_0x16d7c6(0x284)](_0x100326){const _0x15cc2d=_0x16d7c6;this[_0x15cc2d(0x1f9)]=!0x0;do switch(this[_0x15cc2d(0x2f7)]){case _0x10594e:this[_0x15cc2d(0x204)](_0x100326);break;case _0x391a56:this[_0x15cc2d(0x1d8)](_0x100326);break;case _0x374bf9:this['getPayloadLength64'](_0x100326);break;case _0x4c9678:this[_0x15cc2d(0x2cf)]();break;case _0x2706f3:this[_0x15cc2d(0x31e)](_0x100326);break;case _0x2a1949:case _0x9a5106:this[_0x15cc2d(0x1f9)]=!0x1;return;}while(this['_loop']);this[_0x15cc2d(0x278)]||_0x100326();}[_0x16d7c6(0x204)](_0x3a5971){const _0x306e10=_0x16d7c6;if(this[_0x306e10(0x24d)]<0x2){this[_0x306e10(0x1f9)]=!0x1;return;}const _0x209700=this[_0x306e10(0x33b)](0x2);if((_0x209700[0x0]&0x30)!==0x0){const _0x498a53=this[_0x306e10(0x233)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x306e10(0x325));_0x3a5971(_0x498a53);return;}const _0x57dd33=(_0x209700[0x0]&0x40)===0x40;if(_0x57dd33&&!this[_0x306e10(0x25f)][_0x3c95d3[_0x306e10(0x1fd)]]){const _0x244214=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x306e10(0x2f5));_0x3a5971(_0x244214);return;}if(this[_0x306e10(0x2f4)]=(_0x209700[0x0]&0x80)===0x80,this[_0x306e10(0x1c5)]=_0x209700[0x0]&0xf,this['_payloadLength']=_0x209700[0x1]&0x7f,this[_0x306e10(0x1c5)]===0x0){if(_0x57dd33){const _0x59522e=this[_0x306e10(0x233)](RangeError,_0x306e10(0x1af),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3a5971(_0x59522e);return;}if(!this[_0x306e10(0x331)]){const _0x342227=this['createError'](RangeError,_0x306e10(0x2e1),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3a5971(_0x342227);return;}this[_0x306e10(0x1c5)]=this['_fragmented'];}else{if(this[_0x306e10(0x1c5)]===0x1||this['_opcode']===0x2){if(this[_0x306e10(0x331)]){const _0x25a4c3=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x306e10(0x1c5)],!0x0,0x3ea,_0x306e10(0x20e));_0x3a5971(_0x25a4c3);return;}this[_0x306e10(0x259)]=_0x57dd33;}else{if(this[_0x306e10(0x1c5)]>0x7&&this[_0x306e10(0x1c5)]<0xb){if(!this[_0x306e10(0x2f4)]){const _0x415910=this[_0x306e10(0x233)](RangeError,_0x306e10(0x317),!0x0,0x3ea,_0x306e10(0x1da));_0x3a5971(_0x415910);return;}if(_0x57dd33){const _0x4b17de=this[_0x306e10(0x233)](RangeError,_0x306e10(0x1af),!0x0,0x3ea,_0x306e10(0x2f5));_0x3a5971(_0x4b17de);return;}if(this[_0x306e10(0x305)]>0x7d||this[_0x306e10(0x1c5)]===0x8&&this[_0x306e10(0x305)]===0x1){const _0x29b04b=this['createError'](RangeError,_0x306e10(0x273)+this[_0x306e10(0x305)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3a5971(_0x29b04b);return;}}else{const _0x4070b3=this[_0x306e10(0x233)](RangeError,_0x306e10(0x2c9)+this[_0x306e10(0x1c5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3a5971(_0x4070b3);return;}}}if(!this[_0x306e10(0x2f4)]&&!this[_0x306e10(0x331)]&&(this[_0x306e10(0x331)]=this[_0x306e10(0x1c5)]),this['_masked']=(_0x209700[0x1]&0x80)===0x80,this[_0x306e10(0x1b2)]){if(!this[_0x306e10(0x1a5)]){const _0x776ad3=this[_0x306e10(0x233)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x306e10(0x1cd));_0x3a5971(_0x776ad3);return;}}else{if(this[_0x306e10(0x1a5)]){const _0x5c71b0=this[_0x306e10(0x233)](RangeError,_0x306e10(0x202),!0x0,0x3ea,_0x306e10(0x313));_0x3a5971(_0x5c71b0);return;}}this[_0x306e10(0x305)]===0x7e?this[_0x306e10(0x2f7)]=_0x391a56:this[_0x306e10(0x305)]===0x7f?this[_0x306e10(0x2f7)]=_0x374bf9:this[_0x306e10(0x2ea)](_0x3a5971);}[_0x16d7c6(0x1d8)](_0x35596e){const _0x4aafa7=_0x16d7c6;if(this[_0x4aafa7(0x24d)]<0x2){this[_0x4aafa7(0x1f9)]=!0x1;return;}this[_0x4aafa7(0x305)]=this[_0x4aafa7(0x33b)](0x2)[_0x4aafa7(0x29d)](0x0),this[_0x4aafa7(0x2ea)](_0x35596e);}[_0x16d7c6(0x320)](_0x15b883){const _0x4c9583=_0x16d7c6;if(this[_0x4c9583(0x24d)]<0x8){this['_loop']=!0x1;return;}const _0x52c46c=this[_0x4c9583(0x33b)](0x8),_0x457eaf=_0x52c46c[_0x4c9583(0x2af)](0x0);if(_0x457eaf>Math['pow'](0x2,0x15)-0x1){const _0x170a7f=this[_0x4c9583(0x233)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x4c9583(0x289));_0x15b883(_0x170a7f);return;}this[_0x4c9583(0x305)]=_0x457eaf*Math['pow'](0x2,0x20)+_0x52c46c[_0x4c9583(0x2af)](0x4),this[_0x4c9583(0x2ea)](_0x15b883);}[_0x16d7c6(0x2ea)](_0x28f570){const _0x2d3b1e=_0x16d7c6;if(this['_payloadLength']&&this[_0x2d3b1e(0x1c5)]<0x8&&(this[_0x2d3b1e(0x1ea)]+=this[_0x2d3b1e(0x305)],this[_0x2d3b1e(0x1ea)]>this[_0x2d3b1e(0x2c1)]&&this['_maxPayload']>0x0)){const _0x2440fa=this[_0x2d3b1e(0x233)](RangeError,_0x2d3b1e(0x1b6),!0x1,0x3f1,_0x2d3b1e(0x34a));_0x28f570(_0x2440fa);return;}this[_0x2d3b1e(0x1a5)]?this[_0x2d3b1e(0x2f7)]=_0x4c9678:this[_0x2d3b1e(0x2f7)]=_0x2706f3;}[_0x16d7c6(0x2cf)](){const _0x39b0f4=_0x16d7c6;if(this[_0x39b0f4(0x24d)]<0x4){this[_0x39b0f4(0x1f9)]=!0x1;return;}this[_0x39b0f4(0x1ce)]=this['consume'](0x4),this['_state']=_0x2706f3;}[_0x16d7c6(0x31e)](_0x5e5761){const _0x28c9a7=_0x16d7c6;let _0x57c1d6=_0xd377d0;if(this[_0x28c9a7(0x305)]){if(this[_0x28c9a7(0x24d)]<this['_payloadLength']){this[_0x28c9a7(0x1f9)]=!0x1;return;}_0x57c1d6=this[_0x28c9a7(0x33b)](this['_payloadLength']),this['_masked']&&(this[_0x28c9a7(0x1ce)][0x0]|this['_mask'][0x1]|this[_0x28c9a7(0x1ce)][0x2]|this['_mask'][0x3])!==0x0&&_0x171a35(_0x57c1d6,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x57c1d6,_0x5e5761);return;}if(this[_0x28c9a7(0x259)]){this[_0x28c9a7(0x2f7)]=_0x2a1949,this[_0x28c9a7(0x23f)](_0x57c1d6,_0x5e5761);return;}_0x57c1d6['length']&&(this['_messageLength']=this[_0x28c9a7(0x1ea)],this[_0x28c9a7(0x338)][_0x28c9a7(0x1b7)](_0x57c1d6)),this[_0x28c9a7(0x1bd)](_0x5e5761);}[_0x16d7c6(0x23f)](_0x47d8ff,_0x434d5c){const _0x3db6c4=_0x16d7c6;this['_extensions'][_0x3c95d3['extensionName']][_0x3db6c4(0x23f)](_0x47d8ff,this[_0x3db6c4(0x2f4)],(_0x4fdf63,_0x41fa60)=>{const _0x2e1474=_0x3db6c4;if(_0x4fdf63)return _0x434d5c(_0x4fdf63);if(_0x41fa60[_0x2e1474(0x229)]){if(this[_0x2e1474(0x1ba)]+=_0x41fa60[_0x2e1474(0x229)],this[_0x2e1474(0x1ba)]>this[_0x2e1474(0x2c1)]&&this[_0x2e1474(0x2c1)]>0x0){const _0x476224=this['createError'](RangeError,_0x2e1474(0x1b6),!0x1,0x3f1,_0x2e1474(0x34a));_0x434d5c(_0x476224);return;}this[_0x2e1474(0x338)][_0x2e1474(0x1b7)](_0x41fa60);}this['dataMessage'](_0x434d5c),this[_0x2e1474(0x2f7)]===_0x10594e&&this[_0x2e1474(0x284)](_0x434d5c);});}['dataMessage'](_0x3f5db4){const _0x466d45=_0x16d7c6;if(!this[_0x466d45(0x2f4)]){this[_0x466d45(0x2f7)]=_0x10594e;return;}const _0x378005=this[_0x466d45(0x1ba)],_0x536f45=this[_0x466d45(0x338)];if(this[_0x466d45(0x1ea)]=0x0,this[_0x466d45(0x1ba)]=0x0,this['_fragmented']=0x0,this[_0x466d45(0x338)]=[],this[_0x466d45(0x1c5)]===0x2){let _0x41636c;this['_binaryType']===_0x466d45(0x33f)?_0x41636c=_0x568b05(_0x536f45,_0x378005):this['_binaryType']==='arraybuffer'?_0x41636c=_0x28b40e(_0x568b05(_0x536f45,_0x378005)):this['_binaryType']===_0x466d45(0x28b)?_0x41636c=new Blob(_0x536f45):_0x41636c=_0x536f45,this['_allowSynchronousEvents']?(this[_0x466d45(0x2e9)](_0x466d45(0x288),_0x41636c,!0x0),this[_0x466d45(0x2f7)]=_0x10594e):(this[_0x466d45(0x2f7)]=_0x9a5106,setImmediate(()=>{const _0x46473=_0x466d45;this['emit'](_0x46473(0x288),_0x41636c,!0x0),this['_state']=_0x10594e,this[_0x46473(0x284)](_0x3f5db4);}));}else{const _0x21439c=_0x568b05(_0x536f45,_0x378005);if(!this['_skipUTF8Validation']&&!_0x21a2b9(_0x21439c)){const _0x3ef32c=this[_0x466d45(0x233)](Error,_0x466d45(0x1ca),!0x0,0x3ef,_0x466d45(0x228));_0x3f5db4(_0x3ef32c);return;}this[_0x466d45(0x2f7)]===_0x2a1949||this[_0x466d45(0x2d6)]?(this[_0x466d45(0x2e9)](_0x466d45(0x288),_0x21439c,!0x1),this[_0x466d45(0x2f7)]=_0x10594e):(this[_0x466d45(0x2f7)]=_0x9a5106,setImmediate(()=>{const _0x244fba=_0x466d45;this[_0x244fba(0x2e9)](_0x244fba(0x288),_0x21439c,!0x1),this[_0x244fba(0x2f7)]=_0x10594e,this['startLoop'](_0x3f5db4);}));}}[_0x16d7c6(0x32d)](_0x11ea3d,_0x21f730){const _0x4e8690=_0x16d7c6;if(this['_opcode']===0x8){if(_0x11ea3d[_0x4e8690(0x229)]===0x0)this['_loop']=!0x1,this[_0x4e8690(0x2e9)](_0x4e8690(0x21d),0x3ed,_0xd377d0),this['end']();else{const _0x392fbe=_0x11ea3d[_0x4e8690(0x29d)](0x0);if(!_0x2c3416(_0x392fbe)){const _0x34f339=this[_0x4e8690(0x233)](RangeError,_0x4e8690(0x1b3)+_0x392fbe,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x21f730(_0x34f339);return;}const _0x5afa0f=new _0x578b2f(_0x11ea3d[_0x4e8690(0x276)],_0x11ea3d['byteOffset']+0x2,_0x11ea3d[_0x4e8690(0x229)]-0x2);if(!this[_0x4e8690(0x24c)]&&!_0x21a2b9(_0x5afa0f)){const _0x5c1f8a=this[_0x4e8690(0x233)](Error,_0x4e8690(0x1ca),!0x0,0x3ef,_0x4e8690(0x228));_0x21f730(_0x5c1f8a);return;}this[_0x4e8690(0x1f9)]=!0x1,this[_0x4e8690(0x2e9)]('conclude',_0x392fbe,_0x5afa0f),this[_0x4e8690(0x2f1)]();}this[_0x4e8690(0x2f7)]=_0x10594e;return;}this[_0x4e8690(0x2d6)]?(this[_0x4e8690(0x2e9)](this[_0x4e8690(0x1c5)]===0x9?'ping':_0x4e8690(0x242),_0x11ea3d),this[_0x4e8690(0x2f7)]=_0x10594e):(this[_0x4e8690(0x2f7)]=_0x9a5106,setImmediate(()=>{const _0x10e682=_0x4e8690;this[_0x10e682(0x2e9)](this[_0x10e682(0x1c5)]===0x9?_0x10e682(0x334):'pong',_0x11ea3d),this[_0x10e682(0x2f7)]=_0x10594e,this[_0x10e682(0x284)](_0x21f730);}));}[_0x16d7c6(0x233)](_0x26d3e2,_0x5d2511,_0x2e01d8,_0x4b59a1,_0x288ac9){const _0x5f3ace=_0x16d7c6;this['_loop']=!0x1,this[_0x5f3ace(0x278)]=!0x0;const _0x6df988=new _0x26d3e2(_0x2e01d8?_0x5f3ace(0x2b1)+_0x5d2511:_0x5d2511);return Error[_0x5f3ace(0x225)](_0x6df988,this[_0x5f3ace(0x233)]),_0x6df988[_0x5f3ace(0x2f6)]=_0x288ac9,_0x6df988[_0x3a9c1e]=_0x4b59a1,_0x6df988;}}return Se=_0x36915d,Se;}var Ee,et;function _t(){const _0x3afdd5=_0x32c0a1;if(et)return Ee;et=0x1;const {Duplex:_0x213e56}=_0xb997d8,{randomFillSync:_0x5c34e0}=_0x2f43cd,_0xd6a012=he(),{EMPTY_BUFFER:_0x58ae7f,kWebSocket:_0x68ade7,NOOP:_0x1bf877}=V(),{isBlob:_0x4c834a,isValidStatusCode:_0x4f1b7e}=ne(),{mask:_0x5aa9da,toBuffer:_0x4cdafc}=ce(),_0x5a1a01=Symbol('kByteLength'),_0x508fdd=Buffer['alloc'](0x4),_0x4a25ae=0x8*0x400;let _0x4bed6e,_0x48506e=_0x4a25ae;const _0x5c6b64=0x0,_0x2c5118=0x1,_0x3ea5ae=0x2;class _0x5e956c{constructor(_0xc2c513,_0x492839,_0x4ee012){const _0x590d83=_0x7a11;this[_0x590d83(0x25f)]=_0x492839||{},_0x4ee012&&(this[_0x590d83(0x2e2)]=_0x4ee012,this[_0x590d83(0x1cc)]=Buffer['alloc'](0x4)),this['_socket']=_0xc2c513,this['_firstFragment']=!0x0,this[_0x590d83(0x2f2)]=!0x1,this[_0x590d83(0x24d)]=0x0,this[_0x590d83(0x2c4)]=[],this['_state']=_0x5c6b64,this[_0x590d83(0x271)]=_0x1bf877,this[_0x68ade7]=void 0x0;}static[_0x3afdd5(0x2a0)](_0x2ff18b,_0x37bdbd){const _0x4f9a7c=_0x3afdd5;let _0x4a3417,_0xe3bb21=!0x1,_0x4f7b48=0x2,_0x31fa1c=!0x1;_0x37bdbd[_0x4f9a7c(0x20a)]&&(_0x4a3417=_0x37bdbd[_0x4f9a7c(0x2cc)]||_0x508fdd,_0x37bdbd[_0x4f9a7c(0x1a4)]?_0x37bdbd[_0x4f9a7c(0x1a4)](_0x4a3417):(_0x48506e===_0x4a25ae&&(_0x4bed6e===void 0x0&&(_0x4bed6e=Buffer[_0x4f9a7c(0x216)](_0x4a25ae)),_0x5c34e0(_0x4bed6e,0x0,_0x4a25ae),_0x48506e=0x0),_0x4a3417[0x0]=_0x4bed6e[_0x48506e++],_0x4a3417[0x1]=_0x4bed6e[_0x48506e++],_0x4a3417[0x2]=_0x4bed6e[_0x48506e++],_0x4a3417[0x3]=_0x4bed6e[_0x48506e++]),_0x31fa1c=(_0x4a3417[0x0]|_0x4a3417[0x1]|_0x4a3417[0x2]|_0x4a3417[0x3])===0x0,_0x4f7b48=0x6);let _0x362195;typeof _0x2ff18b=='string'?(!_0x37bdbd[_0x4f9a7c(0x20a)]||_0x31fa1c)&&_0x37bdbd[_0x5a1a01]!==void 0x0?_0x362195=_0x37bdbd[_0x5a1a01]:(_0x2ff18b=Buffer[_0x4f9a7c(0x293)](_0x2ff18b),_0x362195=_0x2ff18b[_0x4f9a7c(0x229)]):(_0x362195=_0x2ff18b[_0x4f9a7c(0x229)],_0xe3bb21=_0x37bdbd[_0x4f9a7c(0x20a)]&&_0x37bdbd[_0x4f9a7c(0x1b9)]&&!_0x31fa1c);let _0x28e1f9=_0x362195;_0x362195>=0x10000?(_0x4f7b48+=0x8,_0x28e1f9=0x7f):_0x362195>0x7d&&(_0x4f7b48+=0x2,_0x28e1f9=0x7e);const _0x98f688=Buffer[_0x4f9a7c(0x2b0)](_0xe3bb21?_0x362195+_0x4f7b48:_0x4f7b48);return _0x98f688[0x0]=_0x37bdbd[_0x4f9a7c(0x31a)]?_0x37bdbd['opcode']|0x80:_0x37bdbd[_0x4f9a7c(0x1bf)],_0x37bdbd[_0x4f9a7c(0x2e3)]&&(_0x98f688[0x0]|=0x40),_0x98f688[0x1]=_0x28e1f9,_0x28e1f9===0x7e?_0x98f688[_0x4f9a7c(0x208)](_0x362195,0x2):_0x28e1f9===0x7f&&(_0x98f688[0x2]=_0x98f688[0x3]=0x0,_0x98f688[_0x4f9a7c(0x33e)](_0x362195,0x4,0x6)),_0x37bdbd[_0x4f9a7c(0x20a)]?(_0x98f688[0x1]|=0x80,_0x98f688[_0x4f7b48-0x4]=_0x4a3417[0x0],_0x98f688[_0x4f7b48-0x3]=_0x4a3417[0x1],_0x98f688[_0x4f7b48-0x2]=_0x4a3417[0x2],_0x98f688[_0x4f7b48-0x1]=_0x4a3417[0x3],_0x31fa1c?[_0x98f688,_0x2ff18b]:_0xe3bb21?(_0x5aa9da(_0x2ff18b,_0x4a3417,_0x98f688,_0x4f7b48,_0x362195),[_0x98f688]):(_0x5aa9da(_0x2ff18b,_0x4a3417,_0x2ff18b,0x0,_0x362195),[_0x98f688,_0x2ff18b])):[_0x98f688,_0x2ff18b];}[_0x3afdd5(0x1f5)](_0x465706,_0x1aaff2,_0x51512e,_0x29afc8){const _0x3a8ac3=_0x3afdd5;let _0x25fb33;if(_0x465706===void 0x0)_0x25fb33=_0x58ae7f;else{if(typeof _0x465706!='number'||!_0x4f1b7e(_0x465706))throw new TypeError(_0x3a8ac3(0x227));if(_0x1aaff2===void 0x0||!_0x1aaff2[_0x3a8ac3(0x229)])_0x25fb33=Buffer[_0x3a8ac3(0x2b0)](0x2),_0x25fb33[_0x3a8ac3(0x208)](_0x465706,0x0);else{const _0x9b8405=Buffer[_0x3a8ac3(0x1d6)](_0x1aaff2);if(_0x9b8405>0x7b)throw new RangeError(_0x3a8ac3(0x1f0));_0x25fb33=Buffer['allocUnsafe'](0x2+_0x9b8405),_0x25fb33['writeUInt16BE'](_0x465706,0x0),typeof _0x1aaff2==_0x3a8ac3(0x264)?_0x25fb33[_0x3a8ac3(0x347)](_0x1aaff2,0x2):_0x25fb33[_0x3a8ac3(0x2f9)](_0x1aaff2,0x2);}}const _0x2b8b4b={[_0x5a1a01]:_0x25fb33[_0x3a8ac3(0x229)],'fin':!0x0,'generateMask':this[_0x3a8ac3(0x2e2)],'mask':_0x51512e,'maskBuffer':this[_0x3a8ac3(0x1cc)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3a8ac3(0x2f7)]!==_0x5c6b64?this[_0x3a8ac3(0x22a)]([this['dispatch'],_0x25fb33,!0x1,_0x2b8b4b,_0x29afc8]):this[_0x3a8ac3(0x292)](_0x5e956c[_0x3a8ac3(0x2a0)](_0x25fb33,_0x2b8b4b),_0x29afc8);}[_0x3afdd5(0x334)](_0x18fb2c,_0x5760d5,_0x3b9ffb){const _0x42b17a=_0x3afdd5;let _0x5e96ff,_0x222423;if(typeof _0x18fb2c=='string'?(_0x5e96ff=Buffer[_0x42b17a(0x1d6)](_0x18fb2c),_0x222423=!0x1):_0x4c834a(_0x18fb2c)?(_0x5e96ff=_0x18fb2c[_0x42b17a(0x1b1)],_0x222423=!0x1):(_0x18fb2c=_0x4cdafc(_0x18fb2c),_0x5e96ff=_0x18fb2c[_0x42b17a(0x229)],_0x222423=_0x4cdafc[_0x42b17a(0x1b9)]),_0x5e96ff>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3eac7f={[_0x5a1a01]:_0x5e96ff,'fin':!0x0,'generateMask':this[_0x42b17a(0x2e2)],'mask':_0x5760d5,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x222423,'rsv1':!0x1};_0x4c834a(_0x18fb2c)?this[_0x42b17a(0x2f7)]!==_0x5c6b64?this[_0x42b17a(0x22a)]([this[_0x42b17a(0x1c2)],_0x18fb2c,!0x1,_0x3eac7f,_0x3b9ffb]):this[_0x42b17a(0x1c2)](_0x18fb2c,!0x1,_0x3eac7f,_0x3b9ffb):this[_0x42b17a(0x2f7)]!==_0x5c6b64?this[_0x42b17a(0x22a)]([this[_0x42b17a(0x224)],_0x18fb2c,!0x1,_0x3eac7f,_0x3b9ffb]):this[_0x42b17a(0x292)](_0x5e956c[_0x42b17a(0x2a0)](_0x18fb2c,_0x3eac7f),_0x3b9ffb);}[_0x3afdd5(0x242)](_0x4af1cb,_0x3d6c6e,_0x478da2){const _0x1318fe=_0x3afdd5;let _0x16e56c,_0x30a81d;if(typeof _0x4af1cb==_0x1318fe(0x264)?(_0x16e56c=Buffer[_0x1318fe(0x1d6)](_0x4af1cb),_0x30a81d=!0x1):_0x4c834a(_0x4af1cb)?(_0x16e56c=_0x4af1cb[_0x1318fe(0x1b1)],_0x30a81d=!0x1):(_0x4af1cb=_0x4cdafc(_0x4af1cb),_0x16e56c=_0x4af1cb['length'],_0x30a81d=_0x4cdafc[_0x1318fe(0x1b9)]),_0x16e56c>0x7d)throw new RangeError(_0x1318fe(0x316));const _0x245d78={[_0x5a1a01]:_0x16e56c,'fin':!0x0,'generateMask':this[_0x1318fe(0x2e2)],'mask':_0x3d6c6e,'maskBuffer':this[_0x1318fe(0x1cc)],'opcode':0xa,'readOnly':_0x30a81d,'rsv1':!0x1};_0x4c834a(_0x4af1cb)?this[_0x1318fe(0x2f7)]!==_0x5c6b64?this[_0x1318fe(0x22a)]([this[_0x1318fe(0x1c2)],_0x4af1cb,!0x1,_0x245d78,_0x478da2]):this[_0x1318fe(0x1c2)](_0x4af1cb,!0x1,_0x245d78,_0x478da2):this['_state']!==_0x5c6b64?this[_0x1318fe(0x22a)]([this[_0x1318fe(0x224)],_0x4af1cb,!0x1,_0x245d78,_0x478da2]):this[_0x1318fe(0x292)](_0x5e956c[_0x1318fe(0x2a0)](_0x4af1cb,_0x245d78),_0x478da2);}[_0x3afdd5(0x220)](_0x516ca8,_0x2df47f,_0xe6ff26){const _0x276389=_0x3afdd5,_0x2a34c8=this[_0x276389(0x25f)][_0xd6a012['extensionName']];let _0x5bb4ee=_0x2df47f[_0x276389(0x2c7)]?0x2:0x1,_0x56bc82=_0x2df47f[_0x276389(0x1fa)],_0x25b7fa,_0x488dc9;typeof _0x516ca8==_0x276389(0x264)?(_0x25b7fa=Buffer[_0x276389(0x1d6)](_0x516ca8),_0x488dc9=!0x1):_0x4c834a(_0x516ca8)?(_0x25b7fa=_0x516ca8[_0x276389(0x1b1)],_0x488dc9=!0x1):(_0x516ca8=_0x4cdafc(_0x516ca8),_0x25b7fa=_0x516ca8[_0x276389(0x229)],_0x488dc9=_0x4cdafc[_0x276389(0x1b9)]),this[_0x276389(0x322)]?(this[_0x276389(0x322)]=!0x1,_0x56bc82&&_0x2a34c8&&_0x2a34c8[_0x276389(0x33d)][_0x2a34c8[_0x276389(0x1b2)]?_0x276389(0x2e8):_0x276389(0x1a9)]&&(_0x56bc82=_0x25b7fa>=_0x2a34c8[_0x276389(0x203)]),this[_0x276389(0x2f2)]=_0x56bc82):(_0x56bc82=!0x1,_0x5bb4ee=0x0),_0x2df47f[_0x276389(0x31a)]&&(this[_0x276389(0x322)]=!0x0);const _0x548ad9={[_0x5a1a01]:_0x25b7fa,'fin':_0x2df47f['fin'],'generateMask':this[_0x276389(0x2e2)],'mask':_0x2df47f[_0x276389(0x20a)],'maskBuffer':this[_0x276389(0x1cc)],'opcode':_0x5bb4ee,'readOnly':_0x488dc9,'rsv1':_0x56bc82};_0x4c834a(_0x516ca8)?this[_0x276389(0x2f7)]!==_0x5c6b64?this[_0x276389(0x22a)]([this[_0x276389(0x1c2)],_0x516ca8,this[_0x276389(0x2f2)],_0x548ad9,_0xe6ff26]):this[_0x276389(0x1c2)](_0x516ca8,this['_compress'],_0x548ad9,_0xe6ff26):this[_0x276389(0x2f7)]!==_0x5c6b64?this[_0x276389(0x22a)]([this[_0x276389(0x224)],_0x516ca8,this[_0x276389(0x2f2)],_0x548ad9,_0xe6ff26]):this[_0x276389(0x224)](_0x516ca8,this[_0x276389(0x2f2)],_0x548ad9,_0xe6ff26);}['getBlobData'](_0x368674,_0x15b6e7,_0xcf3755,_0x2b7a26){const _0x372d06=_0x3afdd5;this[_0x372d06(0x24d)]+=_0xcf3755[_0x5a1a01],this[_0x372d06(0x2f7)]=_0x3ea5ae,_0x368674[_0x372d06(0x30e)]()[_0x372d06(0x266)](_0x3b7af3=>{const _0x38a291=_0x372d06;if(this[_0x38a291(0x349)][_0x38a291(0x30f)]){const _0x512790=new Error(_0x38a291(0x1d0));process[_0x38a291(0x1e3)](_0x3f59d3,this,_0x512790,_0x2b7a26);return;}this['_bufferedBytes']-=_0xcf3755[_0x5a1a01];const _0x2bf7b5=_0x4cdafc(_0x3b7af3);_0x15b6e7?this[_0x38a291(0x224)](_0x2bf7b5,_0x15b6e7,_0xcf3755,_0x2b7a26):(this['_state']=_0x5c6b64,this[_0x38a291(0x292)](_0x5e956c[_0x38a291(0x2a0)](_0x2bf7b5,_0xcf3755),_0x2b7a26),this[_0x38a291(0x221)]());})[_0x372d06(0x279)](_0x52f8c7=>{const _0x30504b=_0x372d06;process[_0x30504b(0x1e3)](_0x307296,this,_0x52f8c7,_0x2b7a26);});}[_0x3afdd5(0x224)](_0x623b,_0x40cac3,_0x67443e,_0x286b3d){const _0xd56f53=_0x3afdd5;if(!_0x40cac3){this['sendFrame'](_0x5e956c['frame'](_0x623b,_0x67443e),_0x286b3d);return;}const _0x2cd331=this[_0xd56f53(0x25f)][_0xd6a012['extensionName']];this['_bufferedBytes']+=_0x67443e[_0x5a1a01],this[_0xd56f53(0x2f7)]=_0x2c5118,_0x2cd331['compress'](_0x623b,_0x67443e['fin'],(_0x3d1dc7,_0xab6be9)=>{const _0x3a59e6=_0xd56f53;if(this[_0x3a59e6(0x349)][_0x3a59e6(0x30f)]){const _0x2324c5=new Error(_0x3a59e6(0x296));_0x3f59d3(this,_0x2324c5,_0x286b3d);return;}this[_0x3a59e6(0x24d)]-=_0x67443e[_0x5a1a01],this[_0x3a59e6(0x2f7)]=_0x5c6b64,_0x67443e['readOnly']=!0x1,this['sendFrame'](_0x5e956c['frame'](_0xab6be9,_0x67443e),_0x286b3d),this['dequeue']();});}[_0x3afdd5(0x221)](){const _0x5e4272=_0x3afdd5;for(;this['_state']===_0x5c6b64&&this[_0x5e4272(0x2c4)][_0x5e4272(0x229)];){const _0x1ab410=this['_queue'][_0x5e4272(0x2f0)]();this[_0x5e4272(0x24d)]-=_0x1ab410[0x3][_0x5a1a01],Reflect['apply'](_0x1ab410[0x0],this,_0x1ab410['slice'](0x1));}}[_0x3afdd5(0x22a)](_0x61ef39){const _0x282bbb=_0x3afdd5;this[_0x282bbb(0x24d)]+=_0x61ef39[0x3][_0x5a1a01],this[_0x282bbb(0x2c4)][_0x282bbb(0x1b7)](_0x61ef39);}[_0x3afdd5(0x292)](_0x3a7e8b,_0x53418c){const _0x261c72=_0x3afdd5;_0x3a7e8b[_0x261c72(0x229)]===0x2?(this['_socket'][_0x261c72(0x2d7)](),this[_0x261c72(0x349)][_0x261c72(0x347)](_0x3a7e8b[0x0]),this['_socket'][_0x261c72(0x347)](_0x3a7e8b[0x1],_0x53418c),this[_0x261c72(0x349)]['uncork']()):this[_0x261c72(0x349)][_0x261c72(0x347)](_0x3a7e8b[0x0],_0x53418c);}}Ee=_0x5e956c;function _0x3f59d3(_0x116aaa,_0xefe1b8,_0x309890){const _0x240bc5=_0x3afdd5;typeof _0x309890==_0x240bc5(0x236)&&_0x309890(_0xefe1b8);for(let _0x1be773=0x0;_0x1be773<_0x116aaa[_0x240bc5(0x2c4)][_0x240bc5(0x229)];_0x1be773++){const _0x2eb412=_0x116aaa[_0x240bc5(0x2c4)][_0x1be773],_0x46970d=_0x2eb412[_0x2eb412[_0x240bc5(0x229)]-0x1];typeof _0x46970d==_0x240bc5(0x236)&&_0x46970d(_0xefe1b8);}}function _0x307296(_0x266c63,_0x1d1dfd,_0x17c243){const _0x5758d0=_0x3afdd5;_0x3f59d3(_0x266c63,_0x1d1dfd,_0x17c243),_0x266c63[_0x5758d0(0x271)](_0x1d1dfd);}return Ee;}var xe,tt;function Kt(){const _0x465646=_0x32c0a1;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x131bd0,kListener:_0x4a695e}=V(),_0x5dcba4=Symbol(_0x465646(0x304)),_0x24a09b=Symbol('kData'),_0x24a415=Symbol('kError'),_0x5c7c28=Symbol('kMessage'),_0x5defc9=Symbol(_0x465646(0x250)),_0x5e91ca=Symbol('kTarget'),_0x53072a=Symbol(_0x465646(0x1fc)),_0x47ea10=Symbol(_0x465646(0x255));class _0x5b24a7{constructor(_0x2e1929){this[_0x5e91ca]=null,this[_0x53072a]=_0x2e1929;}get[_0x465646(0x23c)](){return this[_0x5e91ca];}get[_0x465646(0x28a)](){return this[_0x53072a];}}Object[_0x465646(0x2c2)](_0x5b24a7[_0x465646(0x1b5)],_0x465646(0x23c),{'enumerable':!0x0}),Object[_0x465646(0x2c2)](_0x5b24a7[_0x465646(0x1b5)],'type',{'enumerable':!0x0});class _0x6ee5d3 extends _0x5b24a7{constructor(_0x175361,_0x1345ec={}){const _0x4db54d=_0x465646;super(_0x175361),this[_0x5dcba4]=_0x1345ec['code']===void 0x0?0x0:_0x1345ec['code'],this[_0x5defc9]=_0x1345ec['reason']===void 0x0?'':_0x1345ec[_0x4db54d(0x2fe)],this[_0x47ea10]=_0x1345ec[_0x4db54d(0x1e4)]===void 0x0?!0x1:_0x1345ec[_0x4db54d(0x1e4)];}get[_0x465646(0x2f6)](){return this[_0x5dcba4];}get[_0x465646(0x2fe)](){return this[_0x5defc9];}get[_0x465646(0x1e4)](){return this[_0x47ea10];}}Object[_0x465646(0x2c2)](_0x6ee5d3[_0x465646(0x1b5)],_0x465646(0x2f6),{'enumerable':!0x0}),Object[_0x465646(0x2c2)](_0x6ee5d3[_0x465646(0x1b5)],_0x465646(0x2fe),{'enumerable':!0x0}),Object[_0x465646(0x2c2)](_0x6ee5d3['prototype'],_0x465646(0x1e4),{'enumerable':!0x0});class _0x4af574 extends _0x5b24a7{constructor(_0x125c21,_0x1f1d07={}){const _0x1380c4=_0x465646;super(_0x125c21),this[_0x24a415]=_0x1f1d07[_0x1380c4(0x1f2)]===void 0x0?null:_0x1f1d07['error'],this[_0x5c7c28]=_0x1f1d07['message']===void 0x0?'':_0x1f1d07[_0x1380c4(0x288)];}get[_0x465646(0x1f2)](){return this[_0x24a415];}get['message'](){return this[_0x5c7c28];}}Object[_0x465646(0x2c2)](_0x4af574['prototype'],_0x465646(0x1f2),{'enumerable':!0x0}),Object[_0x465646(0x2c2)](_0x4af574[_0x465646(0x1b5)],'message',{'enumerable':!0x0});class _0x572ec8 extends _0x5b24a7{constructor(_0xf79403,_0x128263={}){const _0x325774=_0x465646;super(_0xf79403),this[_0x24a09b]=_0x128263[_0x325774(0x2fb)]===void 0x0?null:_0x128263['data'];}get[_0x465646(0x2fb)](){return this[_0x24a09b];}}Object[_0x465646(0x2c2)](_0x572ec8[_0x465646(0x1b5)],_0x465646(0x2fb),{'enumerable':!0x0}),xe={'CloseEvent':_0x6ee5d3,'ErrorEvent':_0x4af574,'Event':_0x5b24a7,'EventTarget':{'addEventListener'(_0x833af2,_0x15fb1f,_0x135d2a={}){const _0x58b36c=_0x465646;for(const _0x45cf59 of this[_0x58b36c(0x22e)](_0x833af2))if(!_0x135d2a[_0x131bd0]&&_0x45cf59[_0x4a695e]===_0x15fb1f&&!_0x45cf59[_0x131bd0])return;let _0x3f5a5e;if(_0x833af2===_0x58b36c(0x288))_0x3f5a5e=function(_0x102085,_0x1bbcb2){const _0x5e5e6d=_0x58b36c,_0x542fda=new _0x572ec8(_0x5e5e6d(0x288),{'data':_0x1bbcb2?_0x102085:_0x102085[_0x5e5e6d(0x1c1)]()});_0x542fda[_0x5e91ca]=this,_0x51c41e(_0x15fb1f,this,_0x542fda);};else{if(_0x833af2===_0x58b36c(0x1f5))_0x3f5a5e=function(_0x2e80f7,_0x503ea9){const _0x167523=_0x58b36c,_0x53249a=new _0x6ee5d3(_0x167523(0x1f5),{'code':_0x2e80f7,'reason':_0x503ea9[_0x167523(0x1c1)](),'wasClean':this[_0x167523(0x24b)]&&this[_0x167523(0x34b)]});_0x53249a[_0x5e91ca]=this,_0x51c41e(_0x15fb1f,this,_0x53249a);};else{if(_0x833af2==='error')_0x3f5a5e=function(_0x442c50){const _0x4d8027=_0x58b36c,_0x2bbb23=new _0x4af574(_0x4d8027(0x1f2),{'error':_0x442c50,'message':_0x442c50[_0x4d8027(0x288)]});_0x2bbb23[_0x5e91ca]=this,_0x51c41e(_0x15fb1f,this,_0x2bbb23);};else{if(_0x833af2===_0x58b36c(0x2a6))_0x3f5a5e=function(){const _0x2a1ef4=_0x58b36c,_0x60c9e4=new _0x5b24a7(_0x2a1ef4(0x2a6));_0x60c9e4[_0x5e91ca]=this,_0x51c41e(_0x15fb1f,this,_0x60c9e4);};else return;}}}_0x3f5a5e[_0x131bd0]=!!_0x135d2a[_0x131bd0],_0x3f5a5e[_0x4a695e]=_0x15fb1f,_0x135d2a[_0x58b36c(0x32a)]?this[_0x58b36c(0x32a)](_0x833af2,_0x3f5a5e):this['on'](_0x833af2,_0x3f5a5e);},'removeEventListener'(_0x14bcff,_0x4336ff){const _0x23dcf6=_0x465646;for(const _0x108172 of this[_0x23dcf6(0x22e)](_0x14bcff))if(_0x108172[_0x4a695e]===_0x4336ff&&!_0x108172[_0x131bd0]){this[_0x23dcf6(0x341)](_0x14bcff,_0x108172);break;}}},'MessageEvent':_0x572ec8};function _0x51c41e(_0x2516ef,_0x2fbca3,_0x52d6bc){const _0x75599c=_0x465646;typeof _0x2516ef=='object'&&_0x2516ef['handleEvent']?_0x2516ef[_0x75599c(0x1f1)][_0x75599c(0x2a7)](_0x2516ef,_0x52d6bc):_0x2516ef[_0x75599c(0x2a7)](_0x2fbca3,_0x52d6bc);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x515b97}=ne();function _0x47d863(_0x1560f5,_0x544fa7,_0x57ebc5){const _0x20ab05=_0x7a11;_0x1560f5[_0x544fa7]===void 0x0?_0x1560f5[_0x544fa7]=[_0x57ebc5]:_0x1560f5[_0x544fa7][_0x20ab05(0x1b7)](_0x57ebc5);}function _0xaf08c0(_0x15cbf9){const _0x5a32e3=_0x7a11,_0x439cb4=Object['create'](null);let _0x51047d=Object[_0x5a32e3(0x218)](null),_0x2b2a2c=!0x1,_0x312208=!0x1,_0x10c417=!0x1,_0x2e5b78,_0x29e178,_0x105829=-0x1,_0x4e9824=-0x1,_0x5f1085=-0x1,_0x3239c8=0x0;for(;_0x3239c8<_0x15cbf9[_0x5a32e3(0x229)];_0x3239c8++)if(_0x4e9824=_0x15cbf9[_0x5a32e3(0x25d)](_0x3239c8),_0x2e5b78===void 0x0){if(_0x5f1085===-0x1&&_0x515b97[_0x4e9824]===0x1)_0x105829===-0x1&&(_0x105829=_0x3239c8);else{if(_0x3239c8!==0x0&&(_0x4e9824===0x20||_0x4e9824===0x9))_0x5f1085===-0x1&&_0x105829!==-0x1&&(_0x5f1085=_0x3239c8);else{if(_0x4e9824===0x3b||_0x4e9824===0x2c){if(_0x105829===-0x1)throw new SyntaxError(_0x5a32e3(0x2ee)+_0x3239c8);_0x5f1085===-0x1&&(_0x5f1085=_0x3239c8);const _0x18e2a3=_0x15cbf9[_0x5a32e3(0x27f)](_0x105829,_0x5f1085);_0x4e9824===0x2c?(_0x47d863(_0x439cb4,_0x18e2a3,_0x51047d),_0x51047d=Object[_0x5a32e3(0x218)](null)):_0x2e5b78=_0x18e2a3,_0x105829=_0x5f1085=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3239c8);}}}else{if(_0x29e178===void 0x0){if(_0x5f1085===-0x1&&_0x515b97[_0x4e9824]===0x1)_0x105829===-0x1&&(_0x105829=_0x3239c8);else{if(_0x4e9824===0x20||_0x4e9824===0x9)_0x5f1085===-0x1&&_0x105829!==-0x1&&(_0x5f1085=_0x3239c8);else{if(_0x4e9824===0x3b||_0x4e9824===0x2c){if(_0x105829===-0x1)throw new SyntaxError(_0x5a32e3(0x2ee)+_0x3239c8);_0x5f1085===-0x1&&(_0x5f1085=_0x3239c8),_0x47d863(_0x51047d,_0x15cbf9[_0x5a32e3(0x27f)](_0x105829,_0x5f1085),!0x0),_0x4e9824===0x2c&&(_0x47d863(_0x439cb4,_0x2e5b78,_0x51047d),_0x51047d=Object[_0x5a32e3(0x218)](null),_0x2e5b78=void 0x0),_0x105829=_0x5f1085=-0x1;}else{if(_0x4e9824===0x3d&&_0x105829!==-0x1&&_0x5f1085===-0x1)_0x29e178=_0x15cbf9[_0x5a32e3(0x27f)](_0x105829,_0x3239c8),_0x105829=_0x5f1085=-0x1;else throw new SyntaxError(_0x5a32e3(0x2ee)+_0x3239c8);}}}}else{if(_0x312208){if(_0x515b97[_0x4e9824]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3239c8);_0x105829===-0x1?_0x105829=_0x3239c8:_0x2b2a2c||(_0x2b2a2c=!0x0),_0x312208=!0x1;}else{if(_0x10c417){if(_0x515b97[_0x4e9824]===0x1)_0x105829===-0x1&&(_0x105829=_0x3239c8);else{if(_0x4e9824===0x22&&_0x105829!==-0x1)_0x10c417=!0x1,_0x5f1085=_0x3239c8;else{if(_0x4e9824===0x5c)_0x312208=!0x0;else throw new SyntaxError(_0x5a32e3(0x2ee)+_0x3239c8);}}}else{if(_0x4e9824===0x22&&_0x15cbf9[_0x5a32e3(0x25d)](_0x3239c8-0x1)===0x3d)_0x10c417=!0x0;else{if(_0x5f1085===-0x1&&_0x515b97[_0x4e9824]===0x1)_0x105829===-0x1&&(_0x105829=_0x3239c8);else{if(_0x105829!==-0x1&&(_0x4e9824===0x20||_0x4e9824===0x9))_0x5f1085===-0x1&&(_0x5f1085=_0x3239c8);else{if(_0x4e9824===0x3b||_0x4e9824===0x2c){if(_0x105829===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3239c8);_0x5f1085===-0x1&&(_0x5f1085=_0x3239c8);let _0x1e42a0=_0x15cbf9['slice'](_0x105829,_0x5f1085);_0x2b2a2c&&(_0x1e42a0=_0x1e42a0[_0x5a32e3(0x1d5)](/\\/g,''),_0x2b2a2c=!0x1),_0x47d863(_0x51047d,_0x29e178,_0x1e42a0),_0x4e9824===0x2c&&(_0x47d863(_0x439cb4,_0x2e5b78,_0x51047d),_0x51047d=Object[_0x5a32e3(0x218)](null),_0x2e5b78=void 0x0),_0x29e178=void 0x0,_0x105829=_0x5f1085=-0x1;}else throw new SyntaxError(_0x5a32e3(0x2ee)+_0x3239c8);}}}}}}}if(_0x105829===-0x1||_0x10c417||_0x4e9824===0x20||_0x4e9824===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x5f1085===-0x1&&(_0x5f1085=_0x3239c8);const _0x435ac0=_0x15cbf9[_0x5a32e3(0x27f)](_0x105829,_0x5f1085);return _0x2e5b78===void 0x0?_0x47d863(_0x439cb4,_0x435ac0,_0x51047d):(_0x29e178===void 0x0?_0x47d863(_0x51047d,_0x435ac0,!0x0):_0x2b2a2c?_0x47d863(_0x51047d,_0x29e178,_0x435ac0['replace'](/\\/g,'')):_0x47d863(_0x51047d,_0x29e178,_0x435ac0),_0x47d863(_0x439cb4,_0x2e5b78,_0x51047d)),_0x439cb4;}function _0x2dbe1c(_0x1b088a){return Object['keys'](_0x1b088a)['map'](_0x541efb=>{const _0x13fed8=_0x7a11;let _0x35f397=_0x1b088a[_0x541efb];return Array[_0x13fed8(0x2de)](_0x35f397)||(_0x35f397=[_0x35f397]),_0x35f397[_0x13fed8(0x2b4)](_0x229cbd=>[_0x541efb][_0x13fed8(0x33a)](Object[_0x13fed8(0x201)](_0x229cbd)['map'](_0x598afa=>{const _0x450583=_0x13fed8;let _0x4a7bdd=_0x229cbd[_0x598afa];return Array['isArray'](_0x4a7bdd)||(_0x4a7bdd=[_0x4a7bdd]),_0x4a7bdd[_0x450583(0x2b4)](_0x31467a=>_0x31467a===!0x0?_0x598afa:_0x598afa+'='+_0x31467a)[_0x450583(0x1e5)](';\x20');}))[_0x13fed8(0x1e5)](';\x20'))[_0x13fed8(0x1e5)](',\x20');})['join'](',\x20');}return be={'format':_0x2dbe1c,'parse':_0xaf08c0},be;}var we,st;function Ie(){const _0x233d78=_0x32c0a1;if(st)return we;st=0x1;const _0x3839d8=_0x7673ac,_0x10c44a=_0x40d1ce,_0x43aca2=_0x1cec09,_0x3fac79=_0x422c82,_0x47119f=_0x2089cd,{randomBytes:_0x5aad43,createHash:_0x34a540}=_0x2f43cd,{Duplex:_0x35c2bf,Readable:_0x59b4a8}=_0xb997d8,{URL:_0x3aa6d0}=_0x6e8398,_0x39cfbc=he(),_0x54cd90=dt(),_0x54e618=_t(),{isBlob:_0x5f5134}=ne(),{BINARY_TYPES:_0x4ac538,EMPTY_BUFFER:_0x12fcca,GUID:_0x528830,kForOnEventAttribute:_0x4e43e7,kListener:_0x473646,kStatusCode:_0xacb7c9,kWebSocket:_0x13de1c,NOOP:_0x544163}=V(),{EventTarget:{addEventListener:_0x1fee98,removeEventListener:_0xbe0ba8}}=Kt(),{format:_0x5db073,parse:_0x54035a}=pt(),{toBuffer:_0x4170a8}=ce(),_0xc0a9d8=0x1e*0x3e8,_0x2c7fd3=Symbol('kAborted'),_0x1cfb7a=[0x8,0xd],_0x5466e4=[_0x233d78(0x212),_0x233d78(0x1c4),_0x233d78(0x2b9),_0x233d78(0x342)],_0x43d01f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4bccfc extends _0x3839d8{constructor(_0x155af6,_0x3e8b5f,_0x38baeb){const _0x1b4260=_0x233d78;super(),this[_0x1b4260(0x2d9)]=_0x4ac538[0x0],this[_0x1b4260(0x27e)]=0x3ee,this[_0x1b4260(0x24b)]=!0x1,this[_0x1b4260(0x34b)]=!0x1,this[_0x1b4260(0x299)]=_0x12fcca,this[_0x1b4260(0x321)]=null,this[_0x1b4260(0x23d)]=!0x1,this[_0x1b4260(0x25f)]={},this[_0x1b4260(0x2ba)]=!0x1,this[_0x1b4260(0x2b3)]='',this['_readyState']=_0x4bccfc['CONNECTING'],this['_receiver']=null,this[_0x1b4260(0x287)]=null,this[_0x1b4260(0x349)]=null,_0x155af6!==null?(this[_0x1b4260(0x1c7)]=0x0,this[_0x1b4260(0x1b2)]=!0x1,this['_redirects']=0x0,_0x3e8b5f===void 0x0?_0x3e8b5f=[]:Array[_0x1b4260(0x2de)](_0x3e8b5f)||(typeof _0x3e8b5f==_0x1b4260(0x2d4)&&_0x3e8b5f!==null?(_0x38baeb=_0x3e8b5f,_0x3e8b5f=[]):_0x3e8b5f=[_0x3e8b5f]),_0xc6da54(this,_0x155af6,_0x3e8b5f,_0x38baeb)):(this[_0x1b4260(0x2a3)]=_0x38baeb[_0x1b4260(0x1a8)],this['_isServer']=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x233d78(0x210)](_0x3dbeae){const _0x56d321=_0x233d78;_0x4ac538[_0x56d321(0x254)](_0x3dbeae)&&(this['_binaryType']=_0x3dbeae,this[_0x56d321(0x348)]&&(this[_0x56d321(0x348)][_0x56d321(0x2d9)]=_0x3dbeae));}get[_0x233d78(0x336)](){const _0x1e746e=_0x233d78;return this[_0x1e746e(0x349)]?this[_0x1e746e(0x349)][_0x1e746e(0x32f)]['length']+this[_0x1e746e(0x287)][_0x1e746e(0x24d)]:this[_0x1e746e(0x1c7)];}get[_0x233d78(0x2b5)](){const _0x17832a=_0x233d78;return Object[_0x17832a(0x201)](this[_0x17832a(0x25f)])['join']();}get[_0x233d78(0x283)](){const _0x46dc61=_0x233d78;return this[_0x46dc61(0x2ba)];}get[_0x233d78(0x301)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x233d78(0x2a2)](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0xe1fee0=_0x233d78;return this[_0xe1fee0(0x1b4)];}get[_0x233d78(0x275)](){const _0x4d06aa=_0x233d78;return this[_0x4d06aa(0x241)];}['setSocket'](_0x506d8c,_0x3f58c2,_0x415f25){const _0x42713f=_0x233d78,_0x1576db=new _0x54cd90({'allowSynchronousEvents':_0x415f25[_0x42713f(0x21c)],'binaryType':this[_0x42713f(0x210)],'extensions':this[_0x42713f(0x25f)],'isServer':this[_0x42713f(0x1b2)],'maxPayload':_0x415f25[_0x42713f(0x261)],'skipUTF8Validation':_0x415f25[_0x42713f(0x1d7)]}),_0x5e185c=new _0x54e618(_0x506d8c,this['_extensions'],_0x415f25[_0x42713f(0x1a4)]);this[_0x42713f(0x348)]=_0x1576db,this['_sender']=_0x5e185c,this[_0x42713f(0x349)]=_0x506d8c,_0x1576db[_0x13de1c]=this,_0x5e185c[_0x13de1c]=this,_0x506d8c[_0x13de1c]=this,_0x1576db['on']('conclude',_0x11e597),_0x1576db['on'](_0x42713f(0x327),_0x14bd8d),_0x1576db['on'](_0x42713f(0x1f2),_0x1f8d34),_0x1576db['on']('message',_0x41e1c9),_0x1576db['on'](_0x42713f(0x334),_0x405f0f),_0x1576db['on']('pong',_0x2262b0),_0x5e185c[_0x42713f(0x271)]=_0x1a7a57,_0x506d8c[_0x42713f(0x21a)]&&_0x506d8c['setTimeout'](0x0),_0x506d8c[_0x42713f(0x237)]&&_0x506d8c[_0x42713f(0x237)](),_0x3f58c2['length']>0x0&&_0x506d8c[_0x42713f(0x1e2)](_0x3f58c2),_0x506d8c['on'](_0x42713f(0x1f5),_0x187bcd),_0x506d8c['on'](_0x42713f(0x2fb),_0x1de269),_0x506d8c['on'](_0x42713f(0x2f1),_0x551285),_0x506d8c['on'](_0x42713f(0x1f2),_0x5adeff),this[_0x42713f(0x1b4)]=_0x4bccfc[_0x42713f(0x1c4)],this[_0x42713f(0x2e9)]('open');}[_0x233d78(0x30d)](){const _0x165213=_0x233d78;if(!this[_0x165213(0x349)]){this[_0x165213(0x1b4)]=_0x4bccfc[_0x165213(0x342)],this[_0x165213(0x2e9)](_0x165213(0x1f5),this[_0x165213(0x27e)],this[_0x165213(0x299)]);return;}this['_extensions'][_0x39cfbc[_0x165213(0x1fd)]]&&this['_extensions'][_0x39cfbc['extensionName']][_0x165213(0x243)](),this['_receiver'][_0x165213(0x29a)](),this[_0x165213(0x1b4)]=_0x4bccfc[_0x165213(0x342)],this['emit'](_0x165213(0x1f5),this[_0x165213(0x27e)],this[_0x165213(0x299)]);}[_0x233d78(0x1f5)](_0x3bf278,_0x1eb1de){const _0x5bbf2c=_0x233d78;if(this[_0x5bbf2c(0x26b)]!==_0x4bccfc[_0x5bbf2c(0x342)]){if(this['readyState']===_0x4bccfc[_0x5bbf2c(0x212)]){_0x555493(this,this[_0x5bbf2c(0x28f)],_0x5bbf2c(0x2b8));return;}if(this['readyState']===_0x4bccfc[_0x5bbf2c(0x2b9)]){this[_0x5bbf2c(0x34b)]&&(this['_closeFrameReceived']||this[_0x5bbf2c(0x348)][_0x5bbf2c(0x32f)][_0x5bbf2c(0x277)])&&this['_socket']['end']();return;}this[_0x5bbf2c(0x1b4)]=_0x4bccfc[_0x5bbf2c(0x2b9)],this[_0x5bbf2c(0x287)][_0x5bbf2c(0x1f5)](_0x3bf278,_0x1eb1de,!this['_isServer'],_0x5a850a=>{const _0x19c342=_0x5bbf2c;_0x5a850a||(this[_0x19c342(0x34b)]=!0x0,(this['_closeFrameReceived']||this[_0x19c342(0x348)]['_writableState']['errorEmitted'])&&this[_0x19c342(0x349)][_0x19c342(0x2f1)]());}),_0x504685(this);}}[_0x233d78(0x263)](){const _0x41c798=_0x233d78;this['readyState']===_0x4bccfc[_0x41c798(0x212)]||this[_0x41c798(0x26b)]===_0x4bccfc[_0x41c798(0x342)]||(this[_0x41c798(0x2ba)]=!0x0,this[_0x41c798(0x349)][_0x41c798(0x263)]());}[_0x233d78(0x334)](_0x3ade88,_0x410e7f,_0x1412ca){const _0x5e18be=_0x233d78;if(this[_0x5e18be(0x26b)]===_0x4bccfc[_0x5e18be(0x212)])throw new Error(_0x5e18be(0x328));if(typeof _0x3ade88==_0x5e18be(0x236)?(_0x1412ca=_0x3ade88,_0x3ade88=_0x410e7f=void 0x0):typeof _0x410e7f=='function'&&(_0x1412ca=_0x410e7f,_0x410e7f=void 0x0),typeof _0x3ade88==_0x5e18be(0x260)&&(_0x3ade88=_0x3ade88['toString']()),this[_0x5e18be(0x26b)]!==_0x4bccfc[_0x5e18be(0x1c4)]){_0xf456b7(this,_0x3ade88,_0x1412ca);return;}_0x410e7f===void 0x0&&(_0x410e7f=!this[_0x5e18be(0x1b2)]),this['_sender'][_0x5e18be(0x334)](_0x3ade88||_0x12fcca,_0x410e7f,_0x1412ca);}[_0x233d78(0x242)](_0x4a4e3b,_0x2230ec,_0x385b2f){const _0x47dedf=_0x233d78;if(this[_0x47dedf(0x26b)]===_0x4bccfc['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a4e3b==_0x47dedf(0x236)?(_0x385b2f=_0x4a4e3b,_0x4a4e3b=_0x2230ec=void 0x0):typeof _0x2230ec==_0x47dedf(0x236)&&(_0x385b2f=_0x2230ec,_0x2230ec=void 0x0),typeof _0x4a4e3b==_0x47dedf(0x260)&&(_0x4a4e3b=_0x4a4e3b['toString']()),this[_0x47dedf(0x26b)]!==_0x4bccfc[_0x47dedf(0x1c4)]){_0xf456b7(this,_0x4a4e3b,_0x385b2f);return;}_0x2230ec===void 0x0&&(_0x2230ec=!this[_0x47dedf(0x1b2)]),this[_0x47dedf(0x287)][_0x47dedf(0x242)](_0x4a4e3b||_0x12fcca,_0x2230ec,_0x385b2f);}[_0x233d78(0x219)](){const _0x282ff9=_0x233d78;this[_0x282ff9(0x26b)]===_0x4bccfc[_0x282ff9(0x212)]||this[_0x282ff9(0x26b)]===_0x4bccfc[_0x282ff9(0x342)]||(this['_paused']=!0x1,this['_receiver'][_0x282ff9(0x32f)][_0x282ff9(0x1ac)]||this[_0x282ff9(0x349)][_0x282ff9(0x219)]());}['send'](_0x2735b8,_0x2c427c,_0xc869db){const _0x57cd14=_0x233d78;if(this[_0x57cd14(0x26b)]===_0x4bccfc[_0x57cd14(0x212)])throw new Error(_0x57cd14(0x328));if(typeof _0x2c427c==_0x57cd14(0x236)&&(_0xc869db=_0x2c427c,_0x2c427c={}),typeof _0x2735b8==_0x57cd14(0x260)&&(_0x2735b8=_0x2735b8[_0x57cd14(0x1c1)]()),this['readyState']!==_0x4bccfc['OPEN']){_0xf456b7(this,_0x2735b8,_0xc869db);return;}const _0x4ac53={'binary':typeof _0x2735b8!=_0x57cd14(0x264),'mask':!this[_0x57cd14(0x1b2)],'compress':!0x0,'fin':!0x0,..._0x2c427c};this[_0x57cd14(0x25f)][_0x39cfbc[_0x57cd14(0x1fd)]]||(_0x4ac53[_0x57cd14(0x1fa)]=!0x1),this['_sender'][_0x57cd14(0x220)](_0x2735b8||_0x12fcca,_0x4ac53,_0xc869db);}['terminate'](){const _0x5c94e8=_0x233d78;if(this[_0x5c94e8(0x26b)]!==_0x4bccfc[_0x5c94e8(0x342)]){if(this['readyState']===_0x4bccfc[_0x5c94e8(0x212)]){_0x555493(this,this[_0x5c94e8(0x28f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x5c94e8(0x1b4)]=_0x4bccfc['CLOSING'],this[_0x5c94e8(0x349)]['destroy']());}}}Object['defineProperty'](_0x4bccfc,_0x233d78(0x212),{'enumerable':!0x0,'value':_0x5466e4['indexOf'](_0x233d78(0x212))}),Object[_0x233d78(0x2c2)](_0x4bccfc['prototype'],_0x233d78(0x212),{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)](_0x233d78(0x212))}),Object[_0x233d78(0x2c2)](_0x4bccfc,_0x233d78(0x1c4),{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)]('OPEN')}),Object['defineProperty'](_0x4bccfc['prototype'],_0x233d78(0x1c4),{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)](_0x233d78(0x1c4))}),Object[_0x233d78(0x2c2)](_0x4bccfc,_0x233d78(0x2b9),{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)]('CLOSING')}),Object[_0x233d78(0x2c2)](_0x4bccfc['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)](_0x233d78(0x2b9))}),Object['defineProperty'](_0x4bccfc,_0x233d78(0x342),{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)](_0x233d78(0x342))}),Object[_0x233d78(0x2c2)](_0x4bccfc[_0x233d78(0x1b5)],'CLOSED',{'enumerable':!0x0,'value':_0x5466e4[_0x233d78(0x1dc)](_0x233d78(0x342))}),[_0x233d78(0x210),_0x233d78(0x336),_0x233d78(0x2b5),_0x233d78(0x283),'protocol',_0x233d78(0x26b),_0x233d78(0x275)][_0x233d78(0x32e)](_0x2bad02=>{const _0x318f55=_0x233d78;Object[_0x318f55(0x2c2)](_0x4bccfc['prototype'],_0x2bad02,{'enumerable':!0x0});}),['open',_0x233d78(0x1f2),'close',_0x233d78(0x288)][_0x233d78(0x32e)](_0x4461a2=>{const _0x3aafb7=_0x233d78;Object[_0x3aafb7(0x2c2)](_0x4bccfc[_0x3aafb7(0x1b5)],'on'+_0x4461a2,{'enumerable':!0x0,'get'(){const _0x54fb57=_0x3aafb7;for(const _0xb83013 of this[_0x54fb57(0x22e)](_0x4461a2))if(_0xb83013[_0x4e43e7])return _0xb83013[_0x473646];return null;},'set'(_0x2bdc79){for(const _0x56dd62 of this['listeners'](_0x4461a2))if(_0x56dd62[_0x4e43e7]){this['removeListener'](_0x4461a2,_0x56dd62);break;}typeof _0x2bdc79=='function'&&this['addEventListener'](_0x4461a2,_0x2bdc79,{[_0x4e43e7]:!0x0});}});}),_0x4bccfc['prototype'][_0x233d78(0x2c0)]=_0x1fee98,_0x4bccfc['prototype'][_0x233d78(0x2eb)]=_0xbe0ba8,we=_0x4bccfc;function _0xc6da54(_0x448453,_0x5bf144,_0x32fa4b,_0x356530){const _0x3c2928=_0x233d78,_0x4e904d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1cfb7a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x356530,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3c2928(0x23b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x448453[_0x3c2928(0x2a3)]=_0x4e904d[_0x3c2928(0x1a8)],!_0x1cfb7a[_0x3c2928(0x254)](_0x4e904d[_0x3c2928(0x2dc)]))throw new RangeError(_0x3c2928(0x330)+_0x4e904d[_0x3c2928(0x2dc)]+'\x20(supported\x20versions:\x20'+_0x1cfb7a[_0x3c2928(0x1e5)](',\x20')+')');let _0x28ab34;if(_0x5bf144 instanceof _0x3aa6d0)_0x28ab34=_0x5bf144;else try{_0x28ab34=new _0x3aa6d0(_0x5bf144);}catch{throw new SyntaxError(_0x3c2928(0x1bb)+_0x5bf144);}_0x28ab34[_0x3c2928(0x2ec)]==='http:'?_0x28ab34[_0x3c2928(0x2ec)]=_0x3c2928(0x298):_0x28ab34[_0x3c2928(0x2ec)]==='https:'&&(_0x28ab34[_0x3c2928(0x2ec)]=_0x3c2928(0x2e7)),_0x448453[_0x3c2928(0x241)]=_0x28ab34[_0x3c2928(0x326)];const _0x547af1=_0x28ab34[_0x3c2928(0x2ec)]===_0x3c2928(0x2e7),_0x4b348b=_0x28ab34[_0x3c2928(0x2ec)]==='ws+unix:';let _0x19d494;if(_0x28ab34[_0x3c2928(0x2ec)]!==_0x3c2928(0x298)&&!_0x547af1&&!_0x4b348b?_0x19d494=_0x3c2928(0x239):_0x4b348b&&!_0x28ab34[_0x3c2928(0x2d5)]?_0x19d494='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x28ab34[_0x3c2928(0x1c9)]&&(_0x19d494=_0x3c2928(0x308)),_0x19d494){const _0x47b29b=new SyntaxError(_0x19d494);if(_0x448453['_redirects']===0x0)throw _0x47b29b;_0x1c16b2(_0x448453,_0x47b29b);return;}const _0x10c867=_0x547af1?0x1bb:0x50,_0x39af66=_0x5aad43(0x10)[_0x3c2928(0x1c1)](_0x3c2928(0x29e)),_0x3dcfd5=_0x547af1?_0x10c44a[_0x3c2928(0x207)]:_0x43aca2[_0x3c2928(0x207)],_0x5bdef7=new Set();let _0x2537e4;if(_0x4e904d[_0x3c2928(0x2c8)]=_0x4e904d[_0x3c2928(0x2c8)]||(_0x547af1?_0x3ca2e2:_0x1dcf3f),_0x4e904d[_0x3c2928(0x282)]=_0x4e904d[_0x3c2928(0x282)]||_0x10c867,_0x4e904d['port']=_0x28ab34[_0x3c2928(0x1d4)]||_0x10c867,_0x4e904d[_0x3c2928(0x25c)]=_0x28ab34[_0x3c2928(0x256)][_0x3c2928(0x2b6)]('[')?_0x28ab34['hostname'][_0x3c2928(0x27f)](0x1,-0x1):_0x28ab34['hostname'],_0x4e904d['headers']={..._0x4e904d['headers'],'Sec-WebSocket-Version':_0x4e904d[_0x3c2928(0x2dc)],'Sec-WebSocket-Key':_0x39af66,'Connection':_0x3c2928(0x2db),'Upgrade':_0x3c2928(0x1ee)},_0x4e904d['path']=_0x28ab34[_0x3c2928(0x2d5)]+_0x28ab34[_0x3c2928(0x23e)],_0x4e904d['timeout']=_0x4e904d['handshakeTimeout'],_0x4e904d[_0x3c2928(0x217)]&&(_0x2537e4=new _0x39cfbc(_0x4e904d['perMessageDeflate']!==!0x0?_0x4e904d[_0x3c2928(0x217)]:{},!0x1,_0x4e904d[_0x3c2928(0x261)]),_0x4e904d[_0x3c2928(0x20c)][_0x3c2928(0x2d8)]=_0x5db073({[_0x39cfbc['extensionName']]:_0x2537e4[_0x3c2928(0x310)]()})),_0x32fa4b[_0x3c2928(0x229)]){for(const _0x4bb5ba of _0x32fa4b){if(typeof _0x4bb5ba!=_0x3c2928(0x264)||!_0x43d01f[_0x3c2928(0x286)](_0x4bb5ba)||_0x5bdef7[_0x3c2928(0x245)](_0x4bb5ba))throw new SyntaxError(_0x3c2928(0x30c));_0x5bdef7[_0x3c2928(0x323)](_0x4bb5ba);}_0x4e904d['headers']['Sec-WebSocket-Protocol']=_0x32fa4b['join'](',');}if(_0x4e904d[_0x3c2928(0x1be)]&&(_0x4e904d[_0x3c2928(0x2dc)]<0xd?_0x4e904d[_0x3c2928(0x20c)][_0x3c2928(0x24a)]=_0x4e904d['origin']:_0x4e904d[_0x3c2928(0x20c)]['Origin']=_0x4e904d[_0x3c2928(0x1be)]),(_0x28ab34[_0x3c2928(0x1f7)]||_0x28ab34['password'])&&(_0x4e904d[_0x3c2928(0x285)]=_0x28ab34[_0x3c2928(0x1f7)]+':'+_0x28ab34['password']),_0x4b348b){const _0x3990e5=_0x4e904d[_0x3c2928(0x206)][_0x3c2928(0x25b)](':');_0x4e904d['socketPath']=_0x3990e5[0x0],_0x4e904d[_0x3c2928(0x206)]=_0x3990e5[0x1];}let _0x30274a;if(_0x4e904d[_0x3c2928(0x1e8)]){if(_0x448453['_redirects']===0x0){_0x448453[_0x3c2928(0x1e7)]=_0x4b348b,_0x448453[_0x3c2928(0x2ef)]=_0x547af1,_0x448453[_0x3c2928(0x2ac)]=_0x4b348b?_0x4e904d[_0x3c2928(0x215)]:_0x28ab34[_0x3c2928(0x25c)];const _0x55bb42=_0x356530&&_0x356530[_0x3c2928(0x20c)];if(_0x356530={..._0x356530,'headers':{}},_0x55bb42){for(const [_0x41a1d6,_0x49e3d8]of Object[_0x3c2928(0x267)](_0x55bb42))_0x356530['headers'][_0x41a1d6[_0x3c2928(0x31b)]()]=_0x49e3d8;}}else{if(_0x448453[_0x3c2928(0x306)](_0x3c2928(0x290))===0x0){const _0x249cb2=_0x4b348b?_0x448453['_originalIpc']?_0x4e904d[_0x3c2928(0x215)]===_0x448453[_0x3c2928(0x2ac)]:!0x1:_0x448453[_0x3c2928(0x1e7)]?!0x1:_0x28ab34['host']===_0x448453[_0x3c2928(0x2ac)];(!_0x249cb2||_0x448453[_0x3c2928(0x2ef)]&&!_0x547af1)&&(delete _0x4e904d[_0x3c2928(0x20c)][_0x3c2928(0x23a)],delete _0x4e904d[_0x3c2928(0x20c)][_0x3c2928(0x1d3)],_0x249cb2||delete _0x4e904d[_0x3c2928(0x20c)][_0x3c2928(0x25c)],_0x4e904d[_0x3c2928(0x285)]=void 0x0);}}_0x4e904d[_0x3c2928(0x285)]&&!_0x356530['headers'][_0x3c2928(0x23a)]&&(_0x356530['headers'][_0x3c2928(0x23a)]=_0x3c2928(0x25e)+Buffer[_0x3c2928(0x293)](_0x4e904d[_0x3c2928(0x285)])[_0x3c2928(0x1c1)](_0x3c2928(0x29e))),_0x30274a=_0x448453[_0x3c2928(0x28f)]=_0x3dcfd5(_0x4e904d),_0x448453[_0x3c2928(0x2dd)]&&_0x448453[_0x3c2928(0x2e9)](_0x3c2928(0x290),_0x448453[_0x3c2928(0x275)],_0x30274a);}else _0x30274a=_0x448453['_req']=_0x3dcfd5(_0x4e904d);_0x4e904d[_0x3c2928(0x2cd)]&&_0x30274a['on'](_0x3c2928(0x2cd),()=>{const _0x4d9708=_0x3c2928;_0x555493(_0x448453,_0x30274a,_0x4d9708(0x2a8));}),_0x30274a['on'](_0x3c2928(0x1f2),_0x8b7128=>{const _0x35536a=_0x3c2928;_0x30274a===null||_0x30274a[_0x2c7fd3]||(_0x30274a=_0x448453[_0x35536a(0x28f)]=null,_0x1c16b2(_0x448453,_0x8b7128));}),_0x30274a['on'](_0x3c2928(0x344),_0xcbb73=>{const _0x54a1d5=_0x3c2928,_0x191bb4=_0xcbb73[_0x54a1d5(0x20c)][_0x54a1d5(0x333)],_0x18ab38=_0xcbb73[_0x54a1d5(0x270)];if(_0x191bb4&&_0x4e904d[_0x54a1d5(0x1e8)]&&_0x18ab38>=0x12c&&_0x18ab38<0x190){if(++_0x448453['_redirects']>_0x4e904d[_0x54a1d5(0x303)]){_0x555493(_0x448453,_0x30274a,_0x54a1d5(0x32c));return;}_0x30274a['abort']();let _0x354821;try{_0x354821=new _0x3aa6d0(_0x191bb4,_0x5bf144);}catch{const _0x4c1f18=new SyntaxError(_0x54a1d5(0x1bb)+_0x191bb4);_0x1c16b2(_0x448453,_0x4c1f18);return;}_0xc6da54(_0x448453,_0x354821,_0x32fa4b,_0x356530);}else _0x448453[_0x54a1d5(0x2e9)](_0x54a1d5(0x1c0),_0x30274a,_0xcbb73)||_0x555493(_0x448453,_0x30274a,_0x54a1d5(0x2fd)+_0xcbb73[_0x54a1d5(0x270)]);}),_0x30274a['on']('upgrade',(_0x3e2338,_0x34cf31,_0x2b016e)=>{const _0x398fd1=_0x3c2928;if(_0x448453['emit']('upgrade',_0x3e2338),_0x448453['readyState']!==_0x4bccfc[_0x398fd1(0x212)])return;_0x30274a=_0x448453[_0x398fd1(0x28f)]=null;const _0x238de3=_0x3e2338[_0x398fd1(0x20c)][_0x398fd1(0x1eb)];if(_0x238de3===void 0x0||_0x238de3[_0x398fd1(0x31b)]()!=='websocket'){_0x555493(_0x448453,_0x34cf31,_0x398fd1(0x1e1));return;}const _0x84367b=_0x34a540('sha1')['update'](_0x39af66+_0x528830)[_0x398fd1(0x31d)](_0x398fd1(0x29e));if(_0x3e2338[_0x398fd1(0x20c)][_0x398fd1(0x265)]!==_0x84367b){_0x555493(_0x448453,_0x34cf31,_0x398fd1(0x21b));return;}const _0x47e672=_0x3e2338['headers'][_0x398fd1(0x230)];let _0x49f844;if(_0x47e672!==void 0x0?_0x5bdef7[_0x398fd1(0x1b1)]?_0x5bdef7[_0x398fd1(0x245)](_0x47e672)||(_0x49f844=_0x398fd1(0x223)):_0x49f844='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5bdef7['size']&&(_0x49f844='Server\x20sent\x20no\x20subprotocol'),_0x49f844){_0x555493(_0x448453,_0x34cf31,_0x49f844);return;}_0x47e672&&(_0x448453[_0x398fd1(0x2b3)]=_0x47e672);const _0x7ed7f=_0x3e2338['headers']['sec-websocket-extensions'];if(_0x7ed7f!==void 0x0){if(!_0x2537e4){_0x555493(_0x448453,_0x34cf31,_0x398fd1(0x1e6));return;}let _0x3d36ab;try{_0x3d36ab=_0x54035a(_0x7ed7f);}catch{_0x555493(_0x448453,_0x34cf31,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x242c07=Object[_0x398fd1(0x201)](_0x3d36ab);if(_0x242c07[_0x398fd1(0x229)]!==0x1||_0x242c07[0x0]!==_0x39cfbc[_0x398fd1(0x1fd)]){_0x555493(_0x448453,_0x34cf31,_0x398fd1(0x1f3));return;}try{_0x2537e4[_0x398fd1(0x2b7)](_0x3d36ab[_0x39cfbc[_0x398fd1(0x1fd)]]);}catch{_0x555493(_0x448453,_0x34cf31,_0x398fd1(0x1bc));return;}_0x448453['_extensions'][_0x39cfbc[_0x398fd1(0x1fd)]]=_0x2537e4;}_0x448453[_0x398fd1(0x2da)](_0x34cf31,_0x2b016e,{'allowSynchronousEvents':_0x4e904d['allowSynchronousEvents'],'generateMask':_0x4e904d[_0x398fd1(0x1a4)],'maxPayload':_0x4e904d['maxPayload'],'skipUTF8Validation':_0x4e904d['skipUTF8Validation']});}),_0x4e904d[_0x3c2928(0x29b)]?_0x4e904d['finishRequest'](_0x30274a,_0x448453):_0x30274a['end']();}function _0x1c16b2(_0x20e275,_0x2c64c5){const _0x48da94=_0x233d78;_0x20e275[_0x48da94(0x1b4)]=_0x4bccfc['CLOSING'],_0x20e275[_0x48da94(0x23d)]=!0x0,_0x20e275[_0x48da94(0x2e9)]('error',_0x2c64c5),_0x20e275[_0x48da94(0x30d)]();}function _0x1dcf3f(_0x4b47d6){const _0x1c297c=_0x233d78;return _0x4b47d6[_0x1c297c(0x206)]=_0x4b47d6[_0x1c297c(0x215)],_0x3fac79['connect'](_0x4b47d6);}function _0x3ca2e2(_0x5e21cf){const _0x55fbbe=_0x233d78;return _0x5e21cf['path']=void 0x0,!_0x5e21cf[_0x55fbbe(0x28c)]&&_0x5e21cf[_0x55fbbe(0x28c)]!==''&&(_0x5e21cf['servername']=_0x3fac79[_0x55fbbe(0x1fb)](_0x5e21cf[_0x55fbbe(0x25c)])?'':_0x5e21cf['host']),_0x47119f[_0x55fbbe(0x214)](_0x5e21cf);}function _0x555493(_0x4f45f2,_0x47f761,_0xb43d19){const _0x1f0a18=_0x233d78;_0x4f45f2[_0x1f0a18(0x1b4)]=_0x4bccfc['CLOSING'];const _0x6e0305=new Error(_0xb43d19);Error['captureStackTrace'](_0x6e0305,_0x555493),_0x47f761[_0x1f0a18(0x238)]?(_0x47f761[_0x2c7fd3]=!0x0,_0x47f761[_0x1f0a18(0x1aa)](),_0x47f761[_0x1f0a18(0x249)]&&!_0x47f761[_0x1f0a18(0x249)][_0x1f0a18(0x30f)]&&_0x47f761[_0x1f0a18(0x249)][_0x1f0a18(0x28e)](),process[_0x1f0a18(0x1e3)](_0x1c16b2,_0x4f45f2,_0x6e0305)):(_0x47f761[_0x1f0a18(0x28e)](_0x6e0305),_0x47f761[_0x1f0a18(0x32a)](_0x1f0a18(0x1f2),_0x4f45f2[_0x1f0a18(0x2e9)][_0x1f0a18(0x244)](_0x4f45f2,_0x1f0a18(0x1f2))),_0x47f761[_0x1f0a18(0x32a)](_0x1f0a18(0x1f5),_0x4f45f2['emitClose'][_0x1f0a18(0x244)](_0x4f45f2)));}function _0xf456b7(_0x2aa146,_0x65082,_0x42278a){const _0x533920=_0x233d78;if(_0x65082){const _0x49b4c7=_0x5f5134(_0x65082)?_0x65082[_0x533920(0x1b1)]:_0x4170a8(_0x65082)['length'];_0x2aa146[_0x533920(0x349)]?_0x2aa146[_0x533920(0x287)][_0x533920(0x24d)]+=_0x49b4c7:_0x2aa146[_0x533920(0x1c7)]+=_0x49b4c7;}if(_0x42278a){const _0x481a70=new Error(_0x533920(0x1c6)+_0x2aa146['readyState']+'\x20('+_0x5466e4[_0x2aa146['readyState']]+')');process['nextTick'](_0x42278a,_0x481a70);}}function _0x11e597(_0x2a19c8,_0x259b34){const _0x4d836d=_0x233d78,_0x54a3ec=this[_0x13de1c];_0x54a3ec['_closeFrameReceived']=!0x0,_0x54a3ec[_0x4d836d(0x299)]=_0x259b34,_0x54a3ec[_0x4d836d(0x27e)]=_0x2a19c8,_0x54a3ec[_0x4d836d(0x349)][_0x13de1c]!==void 0x0&&(_0x54a3ec[_0x4d836d(0x349)][_0x4d836d(0x341)](_0x4d836d(0x2fb),_0x1de269),process[_0x4d836d(0x1e3)](_0x24801c,_0x54a3ec['_socket']),_0x2a19c8===0x3ed?_0x54a3ec[_0x4d836d(0x1f5)]():_0x54a3ec[_0x4d836d(0x1f5)](_0x2a19c8,_0x259b34));}function _0x14bd8d(){const _0x24f26e=_0x233d78,_0x425b44=this[_0x13de1c];_0x425b44[_0x24f26e(0x283)]||_0x425b44[_0x24f26e(0x349)][_0x24f26e(0x219)]();}function _0x1f8d34(_0x2847b0){const _0x3df70f=_0x233d78,_0x5ec670=this[_0x13de1c];_0x5ec670[_0x3df70f(0x349)][_0x13de1c]!==void 0x0&&(_0x5ec670[_0x3df70f(0x349)]['removeListener'](_0x3df70f(0x2fb),_0x1de269),process[_0x3df70f(0x1e3)](_0x24801c,_0x5ec670[_0x3df70f(0x349)]),_0x5ec670[_0x3df70f(0x1f5)](_0x2847b0[_0xacb7c9])),_0x5ec670[_0x3df70f(0x23d)]||(_0x5ec670['_errorEmitted']=!0x0,_0x5ec670[_0x3df70f(0x2e9)](_0x3df70f(0x1f2),_0x2847b0));}function _0x49589a(){this[_0x13de1c]['emitClose']();}function _0x41e1c9(_0x5d7ffb,_0x318b16){const _0x4c8bd4=_0x233d78;this[_0x13de1c][_0x4c8bd4(0x2e9)]('message',_0x5d7ffb,_0x318b16);}function _0x405f0f(_0x521440){const _0x394e5e=_0x233d78,_0x38b337=this[_0x13de1c];_0x38b337['_autoPong']&&_0x38b337[_0x394e5e(0x242)](_0x521440,!this[_0x394e5e(0x1b2)],_0x544163),_0x38b337[_0x394e5e(0x2e9)]('ping',_0x521440);}function _0x2262b0(_0x3fd0d5){const _0x133ec6=_0x233d78;this[_0x13de1c][_0x133ec6(0x2e9)](_0x133ec6(0x242),_0x3fd0d5);}function _0x24801c(_0x3b2651){_0x3b2651['resume']();}function _0x1a7a57(_0x245ed2){const _0x3008ce=_0x233d78,_0x5e58b7=this[_0x13de1c];_0x5e58b7[_0x3008ce(0x26b)]!==_0x4bccfc['CLOSED']&&(_0x5e58b7['readyState']===_0x4bccfc[_0x3008ce(0x1c4)]&&(_0x5e58b7[_0x3008ce(0x1b4)]=_0x4bccfc[_0x3008ce(0x2b9)],_0x504685(_0x5e58b7)),this[_0x3008ce(0x349)][_0x3008ce(0x2f1)](),_0x5e58b7[_0x3008ce(0x23d)]||(_0x5e58b7[_0x3008ce(0x23d)]=!0x0,_0x5e58b7[_0x3008ce(0x2e9)](_0x3008ce(0x1f2),_0x245ed2)));}function _0x504685(_0x20a123){const _0x17c072=_0x233d78;_0x20a123[_0x17c072(0x321)]=setTimeout(_0x20a123[_0x17c072(0x349)]['destroy']['bind'](_0x20a123['_socket']),_0xc0a9d8);}function _0x187bcd(){const _0xf89990=_0x233d78,_0x14338c=this[_0x13de1c];this[_0xf89990(0x341)](_0xf89990(0x1f5),_0x187bcd),this[_0xf89990(0x341)](_0xf89990(0x2fb),_0x1de269),this[_0xf89990(0x341)](_0xf89990(0x2f1),_0x551285),_0x14338c['_readyState']=_0x4bccfc[_0xf89990(0x2b9)];let _0x2da9b7;!this[_0xf89990(0x2bc)][_0xf89990(0x24e)]&&!_0x14338c[_0xf89990(0x24b)]&&!_0x14338c[_0xf89990(0x348)][_0xf89990(0x32f)][_0xf89990(0x277)]&&(_0x2da9b7=_0x14338c['_socket'][_0xf89990(0x2d3)]())!==null&&_0x14338c[_0xf89990(0x348)]['write'](_0x2da9b7),_0x14338c['_receiver'][_0xf89990(0x2f1)](),this[_0x13de1c]=void 0x0,clearTimeout(_0x14338c[_0xf89990(0x321)]),_0x14338c[_0xf89990(0x348)][_0xf89990(0x32f)][_0xf89990(0x319)]||_0x14338c[_0xf89990(0x348)][_0xf89990(0x32f)][_0xf89990(0x277)]?_0x14338c[_0xf89990(0x30d)]():(_0x14338c[_0xf89990(0x348)]['on']('error',_0x49589a),_0x14338c[_0xf89990(0x348)]['on'](_0xf89990(0x311),_0x49589a));}function _0x1de269(_0x4cf41a){const _0x549763=_0x233d78;this[_0x13de1c][_0x549763(0x348)]['write'](_0x4cf41a)||this[_0x549763(0x263)]();}function _0x551285(){const _0x5375d7=_0x233d78,_0x587e4b=this[_0x13de1c];_0x587e4b[_0x5375d7(0x1b4)]=_0x4bccfc[_0x5375d7(0x2b9)],_0x587e4b[_0x5375d7(0x348)]['end'](),this['end']();}function _0x5adeff(){const _0xce9337=_0x233d78,_0x62a928=this[_0x13de1c];this['removeListener'](_0xce9337(0x1f2),_0x5adeff),this['on'](_0xce9337(0x1f2),_0x544163),_0x62a928&&(_0x62a928[_0xce9337(0x1b4)]=_0x4bccfc[_0xce9337(0x2b9)],this[_0xce9337(0x28e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5b800c}=_0xb997d8;function _0x387489(_0x42577d){const _0xf9909f=_0x7a11;_0x42577d[_0xf9909f(0x2e9)](_0xf9909f(0x1f5));}function _0x13934a(){const _0x41a244=_0x7a11;!this[_0x41a244(0x30f)]&&this['_writableState'][_0x41a244(0x319)]&&this[_0x41a244(0x28e)]();}function _0x5bf726(_0x41d336){const _0x1502b7=_0x7a11;this[_0x1502b7(0x341)](_0x1502b7(0x1f2),_0x5bf726),this[_0x1502b7(0x28e)](),this[_0x1502b7(0x306)](_0x1502b7(0x1f2))===0x0&&this[_0x1502b7(0x2e9)]('error',_0x41d336);}function _0x2698a1(_0x2b460e,_0x3f1539){const _0x2ebcb4=_0x7a11;let _0x26efa4=!0x0;const _0x548576=new _0x5b800c({..._0x3f1539,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2b460e['on']('message',function(_0x261a7c,_0x30de71){const _0x3d9ace=_0x7a11,_0x3df1e=!_0x30de71&&_0x548576['_readableState'][_0x3d9ace(0x1b8)]?_0x261a7c[_0x3d9ace(0x1c1)]():_0x261a7c;_0x548576[_0x3d9ace(0x1b7)](_0x3df1e)||_0x2b460e['pause']();}),_0x2b460e[_0x2ebcb4(0x32a)]('error',function(_0x476484){_0x548576['destroyed']||(_0x26efa4=!0x1,_0x548576['destroy'](_0x476484));}),_0x2b460e['once']('close',function(){const _0x25e9d2=_0x2ebcb4;_0x548576[_0x25e9d2(0x30f)]||_0x548576['push'](null);}),_0x548576['_destroy']=function(_0x3a8f94,_0x5b749c){const _0x18ee34=_0x2ebcb4;if(_0x2b460e[_0x18ee34(0x26b)]===_0x2b460e[_0x18ee34(0x342)]){_0x5b749c(_0x3a8f94),process[_0x18ee34(0x1e3)](_0x387489,_0x548576);return;}let _0x4f1b16=!0x1;_0x2b460e[_0x18ee34(0x32a)](_0x18ee34(0x1f2),function(_0x402c75){_0x4f1b16=!0x0,_0x5b749c(_0x402c75);}),_0x2b460e[_0x18ee34(0x32a)](_0x18ee34(0x1f5),function(){const _0x55fe04=_0x18ee34;_0x4f1b16||_0x5b749c(_0x3a8f94),process[_0x55fe04(0x1e3)](_0x387489,_0x548576);}),_0x26efa4&&_0x2b460e[_0x18ee34(0x31c)]();},_0x548576[_0x2ebcb4(0x2ff)]=function(_0x101cbc){const _0x46e8e0=_0x2ebcb4;if(_0x2b460e[_0x46e8e0(0x26b)]===_0x2b460e[_0x46e8e0(0x212)]){_0x2b460e[_0x46e8e0(0x32a)](_0x46e8e0(0x2a6),function(){const _0x4f1b77=_0x46e8e0;_0x548576[_0x4f1b77(0x2ff)](_0x101cbc);});return;}_0x2b460e[_0x46e8e0(0x349)]!==null&&(_0x2b460e[_0x46e8e0(0x349)]['_writableState'][_0x46e8e0(0x319)]?(_0x101cbc(),_0x548576['_readableState']['endEmitted']&&_0x548576[_0x46e8e0(0x28e)]()):(_0x2b460e[_0x46e8e0(0x349)]['once']('finish',function(){_0x101cbc();}),_0x2b460e[_0x46e8e0(0x1f5)]()));},_0x548576[_0x2ebcb4(0x26d)]=function(){const _0x36e2f1=_0x2ebcb4;_0x2b460e[_0x36e2f1(0x283)]&&_0x2b460e[_0x36e2f1(0x219)]();},_0x548576[_0x2ebcb4(0x26a)]=function(_0x203a7e,_0x310425,_0x3a6626){const _0x47e914=_0x2ebcb4;if(_0x2b460e['readyState']===_0x2b460e['CONNECTING']){_0x2b460e[_0x47e914(0x32a)]('open',function(){const _0x21f126=_0x47e914;_0x548576[_0x21f126(0x26a)](_0x203a7e,_0x310425,_0x3a6626);});return;}_0x2b460e[_0x47e914(0x220)](_0x203a7e,_0x3a6626);},_0x548576['on'](_0x2ebcb4(0x2f1),_0x13934a),_0x548576['on']('error',_0x5bf726),_0x548576;}return Oe=_0x2698a1,Oe;}Xt(),dt(),_t();function _0x7a11(_0x3da480,_0x47b831){const _0x5837e9=_0x5837();return _0x7a11=function(_0x7a1171,_0x1fe3e8){_0x7a1171=_0x7a1171-0x1a2;let _0x54ab26=_0x5837e9[_0x7a1171];return _0x54ab26;},_0x7a11(_0x3da480,_0x47b831);}var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x5ae05e}=ne();function _0xda480a(_0x12f8f0){const _0x26246d=_0x7a11,_0x5d6fdf=new Set();let _0x10eda1=-0x1,_0x556781=-0x1,_0x43956a=0x0;for(_0x43956a;_0x43956a<_0x12f8f0[_0x26246d(0x229)];_0x43956a++){const _0x1f5860=_0x12f8f0[_0x26246d(0x25d)](_0x43956a);if(_0x556781===-0x1&&_0x5ae05e[_0x1f5860]===0x1)_0x10eda1===-0x1&&(_0x10eda1=_0x43956a);else{if(_0x43956a!==0x0&&(_0x1f5860===0x20||_0x1f5860===0x9))_0x556781===-0x1&&_0x10eda1!==-0x1&&(_0x556781=_0x43956a);else{if(_0x1f5860===0x2c){if(_0x10eda1===-0x1)throw new SyntaxError(_0x26246d(0x2ee)+_0x43956a);_0x556781===-0x1&&(_0x556781=_0x43956a);const _0x5db27e=_0x12f8f0[_0x26246d(0x27f)](_0x10eda1,_0x556781);if(_0x5d6fdf[_0x26246d(0x245)](_0x5db27e))throw new SyntaxError(_0x26246d(0x2fa)+_0x5db27e+'\x22\x20subprotocol\x20is\x20duplicated');_0x5d6fdf[_0x26246d(0x323)](_0x5db27e),_0x10eda1=_0x556781=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x43956a);}}}if(_0x10eda1===-0x1||_0x556781!==-0x1)throw new SyntaxError(_0x26246d(0x280));const _0xa9c906=_0x12f8f0[_0x26246d(0x27f)](_0x10eda1,_0x43956a);if(_0x5d6fdf[_0x26246d(0x245)](_0xa9c906))throw new SyntaxError(_0x26246d(0x2fa)+_0xa9c906+_0x26246d(0x2be));return _0x5d6fdf[_0x26246d(0x323)](_0xa9c906),_0x5d6fdf;}return Ce={'parse':_0xda480a},Ce;}var Te,ot;function er(){const _0x554893=_0x32c0a1;if(ot)return Te;ot=0x1;const _0x24b96c=_0x7673ac,_0x1f7b28=_0x1cec09,{Duplex:_0x1c3e86}=_0xb997d8,{createHash:_0x34ce6a}=_0x2f43cd,_0x443345=pt(),_0x39b8bc=he(),_0x551f03=Jt(),_0x4f15e4=Ie(),{GUID:_0x373a7e,kWebSocket:_0x529d12}=V(),_0x32941e=/^[+/0-9A-Za-z]{22}==$/,_0x3d0ba0=0x0,_0x2a260b=0x1,_0x473527=0x2;class _0xe4295d extends _0x24b96c{constructor(_0x1cc9b0,_0x3a28b0){const _0xab1bca=_0x7a11;if(super(),_0x1cc9b0={'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':_0x4f15e4,..._0x1cc9b0},_0x1cc9b0[_0xab1bca(0x1d4)]==null&&!_0x1cc9b0[_0xab1bca(0x1d2)]&&!_0x1cc9b0[_0xab1bca(0x2c3)]||_0x1cc9b0[_0xab1bca(0x1d4)]!=null&&(_0x1cc9b0[_0xab1bca(0x1d2)]||_0x1cc9b0[_0xab1bca(0x2c3)])||_0x1cc9b0[_0xab1bca(0x1d2)]&&_0x1cc9b0[_0xab1bca(0x2c3)])throw new TypeError(_0xab1bca(0x1a6));if(_0x1cc9b0[_0xab1bca(0x1d4)]!=null?(this[_0xab1bca(0x2e6)]=_0x1f7b28[_0xab1bca(0x1ab)]((_0x5100ef,_0x591f67)=>{const _0x2507aa=_0xab1bca,_0x5d557a=_0x1f7b28[_0x2507aa(0x1f4)][0x1aa];_0x591f67[_0x2507aa(0x268)](0x1aa,{'Content-Length':_0x5d557a[_0x2507aa(0x229)],'Content-Type':'text/plain'}),_0x591f67[_0x2507aa(0x2f1)](_0x5d557a);}),this[_0xab1bca(0x2e6)]['listen'](_0x1cc9b0[_0xab1bca(0x1d4)],_0x1cc9b0[_0xab1bca(0x25c)],_0x1cc9b0[_0xab1bca(0x315)],_0x3a28b0)):_0x1cc9b0[_0xab1bca(0x1d2)]&&(this[_0xab1bca(0x2e6)]=_0x1cc9b0[_0xab1bca(0x1d2)]),this['_server']){const _0x5ebd79=this[_0xab1bca(0x2e9)][_0xab1bca(0x244)](this,_0xab1bca(0x32b));this['_removeListeners']=_0x46cc88(this[_0xab1bca(0x2e6)],{'listening':this['emit'][_0xab1bca(0x244)](this,_0xab1bca(0x20d)),'error':this[_0xab1bca(0x2e9)]['bind'](this,'error'),'upgrade':(_0x425f5c,_0x4a882b,_0x276ab8)=>{const _0x25ef4d=_0xab1bca;this[_0x25ef4d(0x2c5)](_0x425f5c,_0x4a882b,_0x276ab8,_0x5ebd79);}});}_0x1cc9b0[_0xab1bca(0x217)]===!0x0&&(_0x1cc9b0[_0xab1bca(0x217)]={}),_0x1cc9b0[_0xab1bca(0x274)]&&(this[_0xab1bca(0x2ed)]=new Set(),this[_0xab1bca(0x231)]=!0x1),this[_0xab1bca(0x312)]=_0x1cc9b0,this[_0xab1bca(0x2f7)]=_0x3d0ba0;}[_0x554893(0x33c)](){const _0x5dc53f=_0x554893;if(this[_0x5dc53f(0x312)][_0x5dc53f(0x2c3)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5dc53f(0x2e6)]?this[_0x5dc53f(0x2e6)]['address']():null;}[_0x554893(0x1f5)](_0x6b2db6){const _0x18b524=_0x554893;if(this[_0x18b524(0x2f7)]===_0x473527){_0x6b2db6&&this[_0x18b524(0x32a)]('close',()=>{_0x6b2db6(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x18b524(0x1e3)](_0x57ec59,this);return;}if(_0x6b2db6&&this[_0x18b524(0x32a)](_0x18b524(0x1f5),_0x6b2db6),this[_0x18b524(0x2f7)]!==_0x2a260b){if(this[_0x18b524(0x2f7)]=_0x2a260b,this[_0x18b524(0x312)][_0x18b524(0x2c3)]||this[_0x18b524(0x312)][_0x18b524(0x1d2)])this[_0x18b524(0x2e6)]&&(this[_0x18b524(0x257)](),this[_0x18b524(0x257)]=this[_0x18b524(0x2e6)]=null),this[_0x18b524(0x2ed)]?this[_0x18b524(0x2ed)][_0x18b524(0x1b1)]?this[_0x18b524(0x231)]=!0x0:process['nextTick'](_0x57ec59,this):process[_0x18b524(0x1e3)](_0x57ec59,this);else{const _0x4419a0=this['_server'];this['_removeListeners'](),this[_0x18b524(0x257)]=this[_0x18b524(0x2e6)]=null,_0x4419a0['close'](()=>{_0x57ec59(this);});}}}['shouldHandle'](_0x5c3625){const _0x1a2169=_0x554893;if(this[_0x1a2169(0x312)][_0x1a2169(0x206)]){const _0x4e039a=_0x5c3625[_0x1a2169(0x275)][_0x1a2169(0x1dc)]('?');if((_0x4e039a!==-0x1?_0x5c3625[_0x1a2169(0x275)][_0x1a2169(0x27f)](0x0,_0x4e039a):_0x5c3625[_0x1a2169(0x275)])!==this[_0x1a2169(0x312)][_0x1a2169(0x206)])return!0x1;}return!0x0;}[_0x554893(0x2c5)](_0x297cdb,_0x1f53e4,_0xbf7606,_0x2ea64c){const _0x1a9502=_0x554893;_0x1f53e4['on']('error',_0x5eb336);const _0x2f3e88=_0x297cdb[_0x1a9502(0x20c)]['sec-websocket-key'],_0x4e7aa8=_0x297cdb['headers'][_0x1a9502(0x1eb)],_0x32dbf9=+_0x297cdb[_0x1a9502(0x20c)][_0x1a9502(0x2fc)];if(_0x297cdb['method']!==_0x1a9502(0x23b)){_0x8a792(this,_0x297cdb,_0x1f53e4,0x195,_0x1a9502(0x2bb));return;}if(_0x4e7aa8===void 0x0||_0x4e7aa8[_0x1a9502(0x31b)]()!==_0x1a9502(0x1ee)){_0x8a792(this,_0x297cdb,_0x1f53e4,0x190,_0x1a9502(0x1e1));return;}if(_0x2f3e88===void 0x0||!_0x32941e[_0x1a9502(0x286)](_0x2f3e88)){_0x8a792(this,_0x297cdb,_0x1f53e4,0x190,_0x1a9502(0x2d2));return;}if(_0x32dbf9!==0x8&&_0x32dbf9!==0xd){_0x8a792(this,_0x297cdb,_0x1f53e4,0x190,_0x1a9502(0x1d1));return;}if(!this[_0x1a9502(0x24f)](_0x297cdb)){_0xcf0aa1(_0x1f53e4,0x190);return;}const _0x5ba4d1=_0x297cdb[_0x1a9502(0x20c)][_0x1a9502(0x230)];let _0x221f8a=new Set();if(_0x5ba4d1!==void 0x0)try{_0x221f8a=_0x551f03['parse'](_0x5ba4d1);}catch{_0x8a792(this,_0x297cdb,_0x1f53e4,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2f2227=_0x297cdb['headers'][_0x1a9502(0x2d1)],_0x312851={};if(this[_0x1a9502(0x312)][_0x1a9502(0x217)]&&_0x2f2227!==void 0x0){const _0x1efcb1=new _0x39b8bc(this[_0x1a9502(0x312)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0xaa7621=_0x443345[_0x1a9502(0x251)](_0x2f2227);_0xaa7621[_0x39b8bc['extensionName']]&&(_0x1efcb1['accept'](_0xaa7621[_0x39b8bc[_0x1a9502(0x1fd)]]),_0x312851[_0x39b8bc['extensionName']]=_0x1efcb1);}catch{_0x8a792(this,_0x297cdb,_0x1f53e4,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1a9502(0x312)][_0x1a9502(0x1c3)]){const _0x4cc6b9={'origin':_0x297cdb['headers'][''+(_0x32dbf9===0x8?_0x1a9502(0x2bd):_0x1a9502(0x1be))],'secure':!!(_0x297cdb[_0x1a9502(0x249)][_0x1a9502(0x2e5)]||_0x297cdb['socket']['encrypted']),'req':_0x297cdb};if(this['options']['verifyClient'][_0x1a9502(0x229)]===0x2){this[_0x1a9502(0x312)][_0x1a9502(0x1c3)](_0x4cc6b9,(_0x1be89b,_0x5dddb2,_0x497270,_0x4c1e19)=>{const _0x1e604a=_0x1a9502;if(!_0x1be89b)return _0xcf0aa1(_0x1f53e4,_0x5dddb2||0x191,_0x497270,_0x4c1e19);this[_0x1e604a(0x258)](_0x312851,_0x2f3e88,_0x221f8a,_0x297cdb,_0x1f53e4,_0xbf7606,_0x2ea64c);});return;}if(!this[_0x1a9502(0x312)]['verifyClient'](_0x4cc6b9))return _0xcf0aa1(_0x1f53e4,0x191);}this[_0x1a9502(0x258)](_0x312851,_0x2f3e88,_0x221f8a,_0x297cdb,_0x1f53e4,_0xbf7606,_0x2ea64c);}[_0x554893(0x258)](_0x509386,_0x2e0568,_0x2f4000,_0xcc26eb,_0x3dbf5d,_0x3c1375,_0x19c432){const _0x5ca89e=_0x554893;if(!_0x3dbf5d['readable']||!_0x3dbf5d[_0x5ca89e(0x26e)])return _0x3dbf5d[_0x5ca89e(0x28e)]();if(_0x3dbf5d[_0x529d12])throw new Error(_0x5ca89e(0x1db));if(this[_0x5ca89e(0x2f7)]>_0x3d0ba0)return _0xcf0aa1(_0x3dbf5d,0x1f7);const _0x4fc02d=[_0x5ca89e(0x346),'Upgrade:\x20websocket',_0x5ca89e(0x2a1),_0x5ca89e(0x1a2)+_0x34ce6a(_0x5ca89e(0x26f))[_0x5ca89e(0x1cb)](_0x2e0568+_0x373a7e)[_0x5ca89e(0x31d)](_0x5ca89e(0x29e))],_0x2c841a=new this[(_0x5ca89e(0x312))][(_0x5ca89e(0x2bf))](null,void 0x0,this[_0x5ca89e(0x312)]);if(_0x2f4000[_0x5ca89e(0x1b1)]){const _0x3520fc=this[_0x5ca89e(0x312)][_0x5ca89e(0x2e4)]?this[_0x5ca89e(0x312)]['handleProtocols'](_0x2f4000,_0xcc26eb):_0x2f4000[_0x5ca89e(0x232)]()[_0x5ca89e(0x339)]()['value'];_0x3520fc&&(_0x4fc02d['push'](_0x5ca89e(0x22b)+_0x3520fc),_0x2c841a[_0x5ca89e(0x2b3)]=_0x3520fc);}if(_0x509386[_0x39b8bc[_0x5ca89e(0x1fd)]]){const _0x58dfb6=_0x509386[_0x39b8bc[_0x5ca89e(0x1fd)]][_0x5ca89e(0x33d)],_0x7b813a=_0x443345[_0x5ca89e(0x234)]({[_0x39b8bc[_0x5ca89e(0x1fd)]]:[_0x58dfb6]});_0x4fc02d['push']('Sec-WebSocket-Extensions:\x20'+_0x7b813a),_0x2c841a[_0x5ca89e(0x25f)]=_0x509386;}this[_0x5ca89e(0x2e9)](_0x5ca89e(0x20c),_0x4fc02d,_0xcc26eb),_0x3dbf5d['write'](_0x4fc02d[_0x5ca89e(0x33a)]('\x0d\x0a')[_0x5ca89e(0x1e5)]('\x0d\x0a')),_0x3dbf5d['removeListener'](_0x5ca89e(0x1f2),_0x5eb336),_0x2c841a['setSocket'](_0x3dbf5d,_0x3c1375,{'allowSynchronousEvents':this[_0x5ca89e(0x312)][_0x5ca89e(0x21c)],'maxPayload':this[_0x5ca89e(0x312)]['maxPayload'],'skipUTF8Validation':this[_0x5ca89e(0x312)][_0x5ca89e(0x1d7)]}),this[_0x5ca89e(0x2ed)]&&(this[_0x5ca89e(0x2ed)]['add'](_0x2c841a),_0x2c841a['on']('close',()=>{const _0x2edde6=_0x5ca89e;this[_0x2edde6(0x2ed)][_0x2edde6(0x21f)](_0x2c841a),this[_0x2edde6(0x231)]&&!this['clients']['size']&&process[_0x2edde6(0x1e3)](_0x57ec59,this);})),_0x19c432(_0x2c841a,_0xcc26eb);}}Te=_0xe4295d;function _0x46cc88(_0xbe3a84,_0x18ab35){const _0x1413c2=_0x554893;for(const _0x51c047 of Object[_0x1413c2(0x201)](_0x18ab35))_0xbe3a84['on'](_0x51c047,_0x18ab35[_0x51c047]);return function(){const _0x388c98=_0x1413c2;for(const _0xbaf0dc of Object[_0x388c98(0x201)](_0x18ab35))_0xbe3a84['removeListener'](_0xbaf0dc,_0x18ab35[_0xbaf0dc]);};}function _0x57ec59(_0x1f2de1){const _0x16ad56=_0x554893;_0x1f2de1['_state']=_0x473527,_0x1f2de1[_0x16ad56(0x2e9)]('close');}function _0x5eb336(){const _0x4606e0=_0x554893;this[_0x4606e0(0x28e)]();}function _0xcf0aa1(_0x1aa68d,_0xc05204,_0x5e099d,_0x44a966){const _0x5113b7=_0x554893;_0x5e099d=_0x5e099d||_0x1f7b28[_0x5113b7(0x1f4)][_0xc05204],_0x44a966={'Connection':_0x5113b7(0x1f5),'Content-Type':'text/html','Content-Length':Buffer[_0x5113b7(0x1d6)](_0x5e099d),..._0x44a966},_0x1aa68d[_0x5113b7(0x32a)](_0x5113b7(0x311),_0x1aa68d['destroy']),_0x1aa68d[_0x5113b7(0x2f1)](_0x5113b7(0x20b)+_0xc05204+'\x20'+_0x1f7b28[_0x5113b7(0x1f4)][_0xc05204]+'\x0d\x0a'+Object['keys'](_0x44a966)[_0x5113b7(0x2b4)](_0x33a3cf=>_0x33a3cf+':\x20'+_0x44a966[_0x33a3cf])[_0x5113b7(0x1e5)]('\x0d\x0a')+_0x5113b7(0x22d)+_0x5e099d);}function _0x8a792(_0x5c017f,_0x5b8798,_0x5f1677,_0x182363,_0x22fcf9){const _0x8fdf0a=_0x554893;if(_0x5c017f['listenerCount'](_0x8fdf0a(0x253))){const _0x3100e8=new Error(_0x22fcf9);Error[_0x8fdf0a(0x225)](_0x3100e8,_0x8a792),_0x5c017f[_0x8fdf0a(0x2e9)](_0x8fdf0a(0x253),_0x3100e8,_0x5f1677,_0x5b8798);}else _0xcf0aa1(_0x5f1677,_0x182363,_0x22fcf9);}return Te;}er();var tr=Object[_0x32c0a1(0x248)],rr=(_0x32ca71,_0x17e987,_0x388376,_0x1ee88a)=>{for(var _0x2d5a80=_0x1ee88a>0x1?void 0x0:_0x1ee88a?tr(_0x17e987,_0x388376):_0x17e987,_0x1616fe=_0x32ca71['length']-0x1,_0x492865;_0x1616fe>=0x0;_0x1616fe--)(_0x492865=_0x32ca71[_0x1616fe])&&(_0x2d5a80=_0x492865(_0x2d5a80)||_0x2d5a80);return _0x2d5a80;},sr=(_0x7d292,_0x5097bf)=>(_0x20cd60,_0x67fa91)=>_0x5097bf(_0x20cd60,_0x67fa91,_0x7d292);let Ne=class extends _0x6924ba{constructor(_0x3c5af0){const _0x208379=_0x32c0a1;super(),this[_0x208379(0x2c6)]=_0x3c5af0;}[_0x32c0a1(0x21e)](_0x5b040b){const _0x32544d=_0x32c0a1;var _0x391b1d;const _0x419090=(_0x391b1d=this[_0x32544d(0x2c6)]['getConfig'](Be))==null?void 0x0:_0x391b1d[_0x32544d(0x294)];try{const _0x5e2f16=new Qt(_0x5b040b,{'headers':{..._0x419090}}),_0x41d07b=new _0x302e9e();return{'URL':_0x5b040b,'close':(_0x483873,_0x533f55)=>{const _0x4b5f55=_0x32544d;_0x5e2f16['close'](_0x483873,_0x533f55),_0x41d07b[_0x4b5f55(0x332)]();},'send':_0x55d42f=>{const _0x2ced7c=_0x32544d;_0x5e2f16[_0x2ced7c(0x220)](_0x55d42f);},'open$':new _0x4dcd33(_0x484936=>{const _0x10e23e=_0x32544d,_0x18c7bd=_0x2df701=>_0x484936[_0x10e23e(0x339)](_0x2df701);_0x5e2f16[_0x10e23e(0x2c0)]('open',_0x18c7bd),_0x41d07b[_0x10e23e(0x323)](_0x26b427(()=>_0x5e2f16[_0x10e23e(0x2eb)](_0x10e23e(0x2a6),_0x18c7bd)));})[_0x32544d(0x300)](_0x3d5744()),'close$':new _0x4dcd33(_0x1c7a11=>{const _0x411382=_0x32544d,_0x2ecd65=_0x4131cd=>_0x1c7a11[_0x411382(0x339)](_0x4131cd);_0x5e2f16[_0x411382(0x2c0)](_0x411382(0x1f5),_0x2ecd65),_0x41d07b[_0x411382(0x323)](_0x26b427(()=>_0x5e2f16[_0x411382(0x2eb)]('close',_0x2ecd65)));})[_0x32544d(0x300)](_0x3d5744()),'error$':new _0x4dcd33(_0x5522bc=>{const _0x340261=_0x32544d,_0x3fd3a9=_0x33d20c=>_0x5522bc[_0x340261(0x339)](_0x33d20c);_0x5e2f16[_0x340261(0x2c0)](_0x340261(0x1f2),_0x3fd3a9),_0x41d07b[_0x340261(0x323)](_0x26b427(()=>_0x5e2f16[_0x340261(0x2eb)](_0x340261(0x1f2),_0x3fd3a9)));})[_0x32544d(0x300)](_0x3d5744()),'message$':new _0x4dcd33(_0x5b0d7a=>{const _0x8ea2a2=_0x32544d,_0x379df2=_0x2d1f97=>_0x5b0d7a[_0x8ea2a2(0x339)](_0x2d1f97);_0x5e2f16[_0x8ea2a2(0x2c0)](_0x8ea2a2(0x288),_0x379df2),_0x41d07b[_0x8ea2a2(0x323)](_0x26b427(()=>_0x5e2f16[_0x8ea2a2(0x2eb)](_0x8ea2a2(0x288),_0x379df2)));})['pipe'](_0x3d5744())};}catch(_0x233681){return console[_0x32544d(0x1f2)](_0x233681),null;}}};Ne=rr([sr(0x0,_0x12a9c6)],Ne);var ir=Object['defineProperty'],nr=Object[_0x32c0a1(0x248)],or=(_0x5418ba,_0x4a83fc,_0x2c14d9)=>_0x4a83fc in _0x5418ba?ir(_0x5418ba,_0x4a83fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c14d9}):_0x5418ba[_0x4a83fc]=_0x2c14d9,ar=(_0x1cd062,_0x8d64e5,_0x2951d7,_0x12c4bc)=>{for(var _0x49d448=_0x12c4bc>0x1?void 0x0:_0x12c4bc?nr(_0x8d64e5,_0x2951d7):_0x8d64e5,_0x3484a5=_0x1cd062['length']-0x1,_0x197ccb;_0x3484a5>=0x0;_0x3484a5--)(_0x197ccb=_0x1cd062[_0x3484a5])&&(_0x49d448=_0x197ccb(_0x49d448)||_0x49d448);return _0x49d448;},ke=(_0x4f68cf,_0x3c2b2c)=>(_0x4dffee,_0x350f35)=>_0x3c2b2c(_0x4dffee,_0x350f35,_0x4f68cf),lr=(_0x12f440,_0x3f7f48,_0x149f1a)=>or(_0x12f440,_0x3f7f48+'',_0x149f1a);let Pe=class extends _0xc4467e{constructor(_0x173ee6=Ft,_0x260e4c,_0x33ecee,_0x2df7ca){const _0x18d81c=_0x32c0a1;_0x173ee6['customHeaders']||_0x260e4c['warn'](_0x18d81c(0x2cb)),super(),this['_configService']=_0x33ecee,this[_0x18d81c(0x28d)]=_0x2df7ca,this['_configService'][_0x18d81c(0x337)](Be,_0x173ee6);}[_0x32c0a1(0x2ab)](){this['_registerDependencies']();}[_0x32c0a1(0x213)](){const _0x8f9986=_0x32c0a1;_0x39fbfe(this[_0x8f9986(0x28d)],[[_0x4f41b6,{'useClass':Ne}]]);}};lr(Pe,_0x32c0a1(0x1e9),_0x32c0a1(0x247)),Pe=ar([_0x5c9127(_0x4874df),ke(0x1,_0x2a60e2),ke(0x2,_0x12a9c6),ke(0x3,_0x57c28a(_0x3918e6))],Pe);var fr=Object[_0x32c0a1(0x248)],cr=(_0x532eeb,_0xa26975,_0x1ca740,_0x57f029)=>{const _0x5a44fe=_0x32c0a1;for(var _0x579bcb=_0x57f029>0x1?void 0x0:_0x57f029?fr(_0xa26975,_0x1ca740):_0xa26975,_0x2d6661=_0x532eeb[_0x5a44fe(0x229)]-0x1,_0x3118cc;_0x2d6661>=0x0;_0x2d6661--)(_0x3118cc=_0x532eeb[_0x2d6661])&&(_0x579bcb=_0x3118cc(_0x579bcb)||_0x579bcb);return _0x579bcb;},se=(_0x1c91f4,_0x9f7ecb)=>(_0xbcdcf1,_0x19530b)=>_0x9f7ecb(_0xbcdcf1,_0x19530b,_0x1c91f4);let at=class extends _0x3dbc5c{constructor(_0x6dec1a,_0x2ec897,_0x2879b6,_0x5de748,_0x45c225){const _0x7e1fbc=_0x32c0a1;super(_0x6dec1a,_0x2ec897,_0x2879b6,_0x5de748,_0x45c225);const _0x1bb453=this[_0x7e1fbc(0x2c6)][_0x7e1fbc(0x2aa)](Be);this[_0x7e1fbc(0x2ad)][_0x7e1fbc(0x1ec)]({'interceptor':(_0x2fcea7,_0x598619)=>{const _0x26902c=_0x7e1fbc;var _0x263662;const _0x5a739c=_0x2fcea7['headers'];return(_0x263662=_0x1bb453==null?void 0x0:_0x1bb453['customHeaders'])!=null&&_0x263662[_0x26902c(0x1d3)]&&_0x5a739c[_0x26902c(0x2f9)](_0x26902c(0x291),_0x1bb453['customHeaders'][_0x26902c(0x1d3)]),_0x598619(_0x2fcea7);}});}async[_0x32c0a1(0x21e)](_0x4ba442){const _0x32234b=_0x32c0a1;return this[_0x32234b(0x2a4)](_0x4ba442);}};at=cr([se(0x0,_0x57c28a(_0x3918e6)),se(0x1,_0x57c28a(_0x3b713a)),se(0x2,_0x12a9c6),se(0x3,_0x2a60e2),se(0x4,_0x21d179)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};