@univerjs-pro/collaboration-client-node 0.12.3 → 0.12.4-experimental.20251210-8d33c6e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x408f6e=_0x4eb3;(function(_0x3d1e3d,_0x3cd52c){const _0x32d9d6=_0x4eb3,_0x150ebd=_0x3d1e3d();while(!![]){try{const _0x201adc=parseInt(_0x32d9d6(0x1fe))/0x1+parseInt(_0x32d9d6(0x1d7))/0x2+-parseInt(_0x32d9d6(0x179))/0x3*(parseInt(_0x32d9d6(0x26d))/0x4)+parseInt(_0x32d9d6(0xc7))/0x5+-parseInt(_0x32d9d6(0x1e1))/0x6+-parseInt(_0x32d9d6(0x1a4))/0x7+parseInt(_0x32d9d6(0x146))/0x8;if(_0x201adc===_0x3cd52c)break;else _0x150ebd['push'](_0x150ebd['shift']());}catch(_0x42e96e){_0x150ebd['push'](_0x150ebd['shift']());}}}(_0x3b22,0x405d3));Object[_0x408f6e(0x127)](exports,Symbol['toStringTag'],{'value':_0x408f6e(0x228)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x408f6e(0x1c4),Ct={'customHeaders':{}};function Tt(_0x2b3722){const _0x36838a=_0x408f6e;return _0x2b3722&&_0x2b3722[_0x36838a(0x24e)]&&Object[_0x36838a(0x244)][_0x36838a(0xcf)][_0x36838a(0x25c)](_0x2b3722,'default')?_0x2b3722[_0x36838a(0x128)]:_0x2b3722;}function at(_0x284d5c){const _0x33c3a5=_0x408f6e;if(Object[_0x33c3a5(0x244)][_0x33c3a5(0xcf)][_0x33c3a5(0x25c)](_0x284d5c,_0x33c3a5(0x24e)))return _0x284d5c;var _0x262ce2=_0x284d5c[_0x33c3a5(0x128)];if(typeof _0x262ce2==_0x33c3a5(0x23e)){var _0x4a29e4=function _0x22a7f2(){const _0x314134=_0x33c3a5;var _0x2c0b28=!0x1;try{_0x2c0b28=this instanceof _0x22a7f2;}catch{}return _0x2c0b28?Reflect[_0x314134(0x1d6)](_0x262ce2,arguments,this[_0x314134(0x270)]):_0x262ce2[_0x314134(0xd7)](this,arguments);};_0x4a29e4['prototype']=_0x262ce2[_0x33c3a5(0x244)];}else _0x4a29e4={};return Object[_0x33c3a5(0x127)](_0x4a29e4,_0x33c3a5(0x24e),{'value':!0x0}),Object[_0x33c3a5(0x176)](_0x284d5c)[_0x33c3a5(0x195)](function(_0x54e3c9){const _0x1a7a7a=_0x33c3a5;var _0x24ec9c=Object['getOwnPropertyDescriptor'](_0x284d5c,_0x54e3c9);Object[_0x1a7a7a(0x127)](_0x4a29e4,_0x54e3c9,_0x24ec9c[_0x1a7a7a(0x288)]?_0x24ec9c:{'enumerable':!0x0,'get':function(){return _0x284d5c[_0x54e3c9];}});}),_0x4a29e4;}var se={'exports':{}},ge,Ge;function H(){const _0x28b5be=_0x408f6e;if(Ge)return ge;Ge=0x1;const _0x2d0249=['nodebuffer',_0x28b5be(0x211),'fragments'],_0x3194b5=typeof Blob<'u';return _0x3194b5&&_0x2d0249[_0x28b5be(0x19b)](_0x28b5be(0xd5)),ge={'BINARY_TYPES':_0x2d0249,'EMPTY_BUFFER':Buffer[_0x28b5be(0x199)](0x0),'GUID':_0x28b5be(0x274),'hasBlob':_0x3194b5,'kForOnEventAttribute':Symbol(_0x28b5be(0x133)),'kListener':Symbol(_0x28b5be(0x169)),'kStatusCode':Symbol(_0x28b5be(0x125)),'kWebSocket':Symbol(_0x28b5be(0x1a7)),'NOOP':()=>{}},ge;}function _0x3b22(){const _0x1470fb=['FIN\x20must\x20be\x20set','map','CollaborationSocketService','permessage-deflate','maskBuffer','concat','Inject','ISocketService','join','WS_ERR_INVALID_UTF8','Module','uncork','timeout','connection','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','objectMode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','ping','normalizeParams','sec-websocket-origin','reason','handleProtocols','delete','_req','_receiver','invalid\x20status\x20code\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','location','https:','serverMaxWindowBits','handshakeTimeout','conclude','function','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_skipUTF8Validation','binaryType','_shouldEmitClose','prototype','_compress','value','_maskBuffer','socketPath','once','_masked','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Max\x20payload\x20size\x20exceeded','wsClientError','__esModule','ILogService','next','sec-websocket-protocol','handleUpgrade','species','_readableState','Z_DEFAULT_WINDOWBITS','sec-websocket-version','_final','rsv1','Blob','controlMessage','Unknown\x20parameter\x20\x22','call','cleanup','close','invalid\x20opcode\x20','includes','WS_ERR_INVALID_OPCODE','concurrencyLimit','_registerDependencies','enqueue','_max_window_bits','_fragments','invalid\x20payload\x20length\x20','Upgrade:\x20websocket','maxRedirects','onclose','share','pending','293752TsMJTS','invalid\x20UTF-8\x20sequence','_inflate','constructor','origin','_paused','catch','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','readyState','http:','setSocket','isServer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_binaryType','Opening\x20handshake\x20has\x20timed\x20out','onerror','accept','verifyClient','followRedirects','Cookie','arrayBuffer','kCode','Injector','_fin','readUInt32BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_messageLength','get','redirect','760255rqrVQh','threshold','Disposable','authorized','encrypted','authorization','ISnapshotServerService','Invalid\x20WebSocket\x20frame:\x20','hasOwnProperty','auth','address','Connection:\x20Upgrade','kError','format','blob','_threshold','apply','extensionName','UniverCollaborationClientNodePlugin','getOwnPropertyDescriptor','createServer','captureStackTrace','_errorEmitted','server_max_window_bits','_doCreateSocket','MASK\x20must\x20be\x20clear','_options','_isServer','isInteger','defaultPort','extensions','clients','host','mask','stream','NodeCollaborationSocketService','WebSocket','setNoDelay','Z_SYNC_FLUSH','WS_NO_UTF_8_VALIDATE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_closeCode','Server\x20sent\x20an\x20invalid\x20subprotocol','end','abort','_loop','Sec-WebSocket-Origin','charCodeAt','error','servername','getData','total-length','needDrain','_bufferedBytes','\x22\x20subprotocol\x20is\x20duplicated','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_errored','zlibInflateOptions','Parameter\x20\x22','url','Unsupported\x20protocol\x20version:\x20','pow','add','getConfig','object','open','socket','port','createInflateRaw','writeHead','readUInt16BE','server_no_context_takeover','pong','isPaused','method','client_max_window_bits','size','length','isBuffer','consume','compress','set','_compressed','allowSynchronousEvents','\x22:\x20','_extensions','maxPayload','has','allocUnsafe','CONNECTING','OPEN','sendFrame','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','status-code','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','defineProperty','default','DependentOn','toDisposable','Unexpected\x20end\x20of\x20input','text/html','shift','request','noServer','statusCode','getBlobData','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','kIsForOnEventAttribute','_deflate','_queue','unexpected-response','createError','The\x20URL\x27s\x20pathname\x20is\x20empty','createConnection','STATUS_CODES','wss:','create','Plugin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','finish','IConfigService','update','_payloadLength','HTTP/1.1\x20','handleEvent','type','4405584hHmogg','readOnly','dataMessage','nodebuffer','sec-websocket-accept','readable','read','ws:','opcode','startLoop','_server','number','zlibDeflateOptions','Observable','Invalid\x20value\x20for\x20parameter\x20\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','emit','Upgrade','Invalid\x20Sec-WebSocket-Accept\x20header','bind','\x0d\x0a\x0d\x0a','_maxPayload','The\x20\x22','test','WS_ERR_EXPECTED_MASK','generateMask','jobs','backlog','Invalid\x20HTTP\x20method','_totalPayloadLength','frame','flush','Invalid\x20URL:\x20','_closeTimer','kListener','_closeFrameReceived','_configService','_read','kData','cork','The\x20server\x20is\x20not\x20running','_state','listen','acceptAsClient','warn','writeUIntBE','kRun','keys','pipe','getPayloadLength16','9ySybey','HTTP/1.1\x20101\x20Switching\x20Protocols','skipUTF8Validation','path','byteLength','terminate','env','_destroy','pause','_sender','getMask','getPayloadLength64','_removeListeners','offer','callback','concurrency','base64','from','replace','finishRequest','exports','isValidUTF8','_originalIpc','buffer','_autoPong','_firstFragment','indexOf','isIP','forEach','onopen','hostname','send','alloc','_originalSecure','push','search','CLOSING','code','_opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x20','toStringTag','target','Unexpected\x20server\x20response:\x20','173481Njrece','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','customHeaders','websocket','password','createSocket','serverNoContextTakeover','split','nextTick','destroy','protocolVersion','_httpService','upgrade','resume','Unexpected\x20character\x20at\x20index\x20','byteOffset','_bufferedAmount','cookie','addEventListener','emitClose','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Invalid\x20Upgrade\x20header','_fragmented','headers','toLowerCase','_generateMask','server','values','protocol','onmessage','slice','client_no_context_takeover','collaboration-client-node.config','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','getInfo','client','_closeMessage','endEmitted','drain','_allowSynchronousEvents','ws+unix:','buffers','writeUInt16BE','_mask','haveLength','WS_NO_BUFFER_UTIL','File','bufferedAmount','WS_ERR_EXPECTED_FIN','isArray','construct','355240YteNko','perMessageDeflate','_buffers','string','kAborted','decompress','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','message','wasClean','sec-websocket-extensions','2724144dAIQHf','find','data','dispatch','_redirects','_decompress','freeze','completeUpgrade','finished','setTimeout','write','clientMaxWindowBits','_closeFrameSent','removeListener','kByteLength','fin','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','listeners','options','createDeflateRaw','listening','href','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','toString','sec-websocket-key','RSV1\x20must\x20be\x20clear','WS_ERR_INVALID_CLOSE_CODE','isView','listenerCount','82387pTugIU','registerHTTPInterceptor','acceptAsServer','clientNoContextTakeover','unshift','CLOSED','13,\x208','GET','_no_context_takeover','_write','sha1','parse','COLLABORATION_CLIENT_NODE_CONFIG_KEY','UniverCollaborationClientPlugin','Basic\x20','onStarting','removeEventListener','_injector','errorEmitted','arraybuffer','_readyState','_writableState','_originalHostOrSocketPath','digest','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','binary','_socket','Sec-WebSocket-Protocol','connect','params','_protocol','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header'];_0x3b22=function(){return _0x1470fb;};return _0x3b22();}const Nt={},kt=Object[_0x408f6e(0x1e7)](Object[_0x408f6e(0x127)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x408f6e(0x228)})),Lt=at(kt);var Ve;function ce(){const _0x10e7cf=_0x408f6e;if(Ve)return se[_0x10e7cf(0x18d)];Ve=0x1;const {EMPTY_BUFFER:_0x309c3d}=H(),_0x1bae04=Buffer[Symbol[_0x10e7cf(0x253)]];function _0x3e2cdd(_0x43959c,_0xce5863){const _0x1b0de3=_0x10e7cf;if(_0x43959c[_0x1b0de3(0x115)]===0x0)return _0x309c3d;if(_0x43959c['length']===0x1)return _0x43959c[0x0];const _0x9ddd8c=Buffer[_0x1b0de3(0x120)](_0xce5863);let _0xdc14a7=0x0;for(let _0x39f299=0x0;_0x39f299<_0x43959c['length'];_0x39f299++){const _0x3b11d1=_0x43959c[_0x39f299];_0x9ddd8c[_0x1b0de3(0x119)](_0x3b11d1,_0xdc14a7),_0xdc14a7+=_0x3b11d1['length'];}return _0xdc14a7<_0xce5863?new _0x1bae04(_0x9ddd8c[_0x1b0de3(0x190)],_0x9ddd8c['byteOffset'],_0xdc14a7):_0x9ddd8c;}function _0x511b18(_0x9475e4,_0x302ba7,_0x2211a5,_0x1afc50,_0x166ecf){for(let _0x27eb06=0x0;_0x27eb06<_0x166ecf;_0x27eb06++)_0x2211a5[_0x1afc50+_0x27eb06]=_0x9475e4[_0x27eb06]^_0x302ba7[_0x27eb06&0x3];}function _0x516ad9(_0x433b54,_0x1d3900){const _0x23d9e4=_0x10e7cf;for(let _0x53e2df=0x0;_0x53e2df<_0x433b54[_0x23d9e4(0x115)];_0x53e2df++)_0x433b54[_0x53e2df]^=_0x1d3900[_0x53e2df&0x3];}function _0x502a0a(_0x165d4c){const _0x373dcb=_0x10e7cf;return _0x165d4c[_0x373dcb(0x115)]===_0x165d4c[_0x373dcb(0x190)][_0x373dcb(0x17d)]?_0x165d4c['buffer']:_0x165d4c[_0x373dcb(0x190)][_0x373dcb(0x1c2)](_0x165d4c['byteOffset'],_0x165d4c[_0x373dcb(0x1b3)]+_0x165d4c['length']);}function _0xec8a98(_0x13435b){const _0x1a0ee9=_0x10e7cf;if(_0xec8a98['readOnly']=!0x0,Buffer[_0x1a0ee9(0x116)](_0x13435b))return _0x13435b;let _0x26c665;return _0x13435b instanceof ArrayBuffer?_0x26c665=new _0x1bae04(_0x13435b):ArrayBuffer[_0x1a0ee9(0x1fc)](_0x13435b)?_0x26c665=new _0x1bae04(_0x13435b[_0x1a0ee9(0x190)],_0x13435b[_0x1a0ee9(0x1b3)],_0x13435b[_0x1a0ee9(0x17d)]):(_0x26c665=Buffer['from'](_0x13435b),_0xec8a98[_0x1a0ee9(0x147)]=!0x1),_0x26c665;}if(se['exports']={'concat':_0x3e2cdd,'mask':_0x511b18,'toArrayBuffer':_0x502a0a,'toBuffer':_0xec8a98,'unmask':_0x516ad9},!process[_0x10e7cf(0x17f)][_0x10e7cf(0x1d1)])try{const _0xe7dad9=Lt;se[_0x10e7cf(0x18d)][_0x10e7cf(0xe8)]=function(_0x2f3826,_0x859219,_0x5bf760,_0x4db6e4,_0x52cfef){const _0x4048a7=_0x10e7cf;_0x52cfef<0x30?_0x511b18(_0x2f3826,_0x859219,_0x5bf760,_0x4db6e4,_0x52cfef):_0xe7dad9[_0x4048a7(0xe8)](_0x2f3826,_0x859219,_0x5bf760,_0x4db6e4,_0x52cfef);},se[_0x10e7cf(0x18d)]['unmask']=function(_0x1dce81,_0x14317c){const _0x1e2c38=_0x10e7cf;_0x1dce81[_0x1e2c38(0x115)]<0x20?_0x516ad9(_0x1dce81,_0x14317c):_0xe7dad9['unmask'](_0x1dce81,_0x14317c);};}catch{}return se[_0x10e7cf(0x18d)];}var ye,He;function Pt(){const _0x202875=_0x408f6e;if(He)return ye;He=0x1;const _0x57f23b=Symbol('kDone'),_0x1afd06=Symbol(_0x202875(0x175));class _0x110d86{constructor(_0x5f4e75){const _0x58ea82=_0x202875;this[_0x57f23b]=()=>{const _0x20d199=_0x4eb3;this[_0x20d199(0x26c)]--,this[_0x1afd06]();},this[_0x58ea82(0x188)]=_0x5f4e75||0x1/0x0,this[_0x58ea82(0x161)]=[],this[_0x58ea82(0x26c)]=0x0;}[_0x202875(0x106)](_0xfc42cb){const _0x21652f=_0x202875;this[_0x21652f(0x161)]['push'](_0xfc42cb),this[_0x1afd06]();}[_0x1afd06](){const _0x1d6365=_0x202875;if(this['pending']!==this[_0x1d6365(0x188)]&&this[_0x1d6365(0x161)]['length']){const _0x3ab04f=this['jobs'][_0x1d6365(0x12d)]();this[_0x1d6365(0x26c)]++,_0x3ab04f(this[_0x57f23b]);}}}return ye=_0x110d86,ye;}var ve,ze;function he(){const _0x1f877f=_0x408f6e;if(ze)return ve;ze=0x1;const _0x14e108=bt,_0x55fede=ce(),_0x1f4d3d=Pt(),{kStatusCode:_0x2044a2}=H(),_0x376ae5=Buffer[Symbol['species']],_0xb2bb7=Buffer[_0x1f877f(0x18a)]([0x0,0x0,0xff,0xff]),_0x4e96f0=Symbol('permessage-deflate'),_0x59965b=Symbol(_0x1f877f(0xfa)),_0x1c5391=Symbol(_0x1f877f(0x187)),_0x318de9=Symbol(_0x1f877f(0x1cd)),_0x50153e=Symbol('error');let _0x25ab75;class _0x48bda6{constructor(_0x210b3d,_0x1b2dda,_0x5d84d9){const _0x20f75a=_0x1f877f;if(this['_maxPayload']=_0x5d84d9|0x0,this['_options']=_0x210b3d||{},this[_0x20f75a(0xd6)]=this[_0x20f75a(0xe1)][_0x20f75a(0xc8)]!==void 0x0?this[_0x20f75a(0xe1)][_0x20f75a(0xc8)]:0x400,this[_0x20f75a(0xe2)]=!!_0x1b2dda,this[_0x20f75a(0x134)]=null,this['_inflate']=null,this['params']=null,!_0x25ab75){const _0x508df9=this[_0x20f75a(0xe1)][_0x20f75a(0x262)]!==void 0x0?this[_0x20f75a(0xe1)]['concurrencyLimit']:0xa;_0x25ab75=new _0x1f4d3d(_0x508df9);}}static get[_0x1f877f(0xd8)](){const _0x92aaaa=_0x1f877f;return _0x92aaaa(0x221);}[_0x1f877f(0x186)](){const _0x5b4fcf=_0x1f877f,_0x2f15b2={};return this['_options'][_0x5b4fcf(0x1aa)]&&(_0x2f15b2[_0x5b4fcf(0x10f)]=!0x0),this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x201)]&&(_0x2f15b2[_0x5b4fcf(0x1c3)]=!0x0),this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x23b)]&&(_0x2f15b2[_0x5b4fcf(0xde)]=this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x23b)]),this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x1ec)]?_0x2f15b2[_0x5b4fcf(0x113)]=this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x1ec)]:this[_0x5b4fcf(0xe1)][_0x5b4fcf(0x1ec)]==null&&(_0x2f15b2[_0x5b4fcf(0x113)]=!0x0),_0x2f15b2;}[_0x1f877f(0x27d)](_0x33c714){const _0x95523=_0x1f877f;return _0x33c714=this[_0x95523(0x230)](_0x33c714),this[_0x95523(0x21b)]=this[_0x95523(0xe2)]?this['acceptAsServer'](_0x33c714):this[_0x95523(0x172)](_0x33c714),this['params'];}[_0x1f877f(0x25d)](){const _0x190645=_0x1f877f;if(this[_0x190645(0x26f)]&&(this[_0x190645(0x26f)]['close'](),this['_inflate']=null),this[_0x190645(0x134)]){const _0x1c8afb=this[_0x190645(0x134)][_0x1c5391];this['_deflate'][_0x190645(0x25e)](),this[_0x190645(0x134)]=null,_0x1c8afb&&_0x1c8afb(new Error(_0x190645(0x1dd)));}}[_0x1f877f(0x200)](_0x1ed888){const _0x58d738=_0x1f877f,_0xa4647f=this[_0x58d738(0xe1)],_0x4a3859=_0x1ed888[_0x58d738(0x1e2)](_0x2a8e19=>!(_0xa4647f['serverNoContextTakeover']===!0x1&&_0x2a8e19['server_no_context_takeover']||_0x2a8e19[_0x58d738(0xde)]&&(_0xa4647f['serverMaxWindowBits']===!0x1||typeof _0xa4647f['serverMaxWindowBits']==_0x58d738(0x151)&&_0xa4647f[_0x58d738(0x23b)]>_0x2a8e19[_0x58d738(0xde)])||typeof _0xa4647f[_0x58d738(0x1ec)]==_0x58d738(0x151)&&!_0x2a8e19[_0x58d738(0x113)]));if(!_0x4a3859)throw new Error(_0x58d738(0x126));return _0xa4647f[_0x58d738(0x1aa)]&&(_0x4a3859[_0x58d738(0x10f)]=!0x0),_0xa4647f[_0x58d738(0x201)]&&(_0x4a3859[_0x58d738(0x1c3)]=!0x0),typeof _0xa4647f[_0x58d738(0x23b)]=='number'&&(_0x4a3859[_0x58d738(0xde)]=_0xa4647f[_0x58d738(0x23b)]),typeof _0xa4647f[_0x58d738(0x1ec)]=='number'?_0x4a3859[_0x58d738(0x113)]=_0xa4647f[_0x58d738(0x1ec)]:(_0x4a3859[_0x58d738(0x113)]===!0x0||_0xa4647f['clientMaxWindowBits']===!0x1)&&delete _0x4a3859['client_max_window_bits'],_0x4a3859;}[_0x1f877f(0x172)](_0x4d2f4a){const _0x274561=_0x1f877f,_0x405ce8=_0x4d2f4a[0x0];if(this[_0x274561(0xe1)]['clientNoContextTakeover']===!0x1&&_0x405ce8[_0x274561(0x1c3)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x405ce8[_0x274561(0x113)])typeof this[_0x274561(0xe1)][_0x274561(0x1ec)]==_0x274561(0x151)&&(_0x405ce8[_0x274561(0x113)]=this[_0x274561(0xe1)][_0x274561(0x1ec)]);else{if(this[_0x274561(0xe1)][_0x274561(0x1ec)]===!0x1||typeof this[_0x274561(0xe1)][_0x274561(0x1ec)]==_0x274561(0x151)&&_0x405ce8[_0x274561(0x113)]>this[_0x274561(0xe1)][_0x274561(0x1ec)])throw new Error(_0x274561(0x124));}return _0x405ce8;}[_0x1f877f(0x230)](_0x4b0b00){return _0x4b0b00['forEach'](_0x12f72c=>{const _0x184d50=_0x4eb3;Object[_0x184d50(0x176)](_0x12f72c)[_0x184d50(0x195)](_0x15a37a=>{const _0x2c3127=_0x184d50;let _0x570e70=_0x12f72c[_0x15a37a];if(_0x570e70['length']>0x1)throw new Error(_0x2c3127(0x102)+_0x15a37a+_0x2c3127(0x13e));if(_0x570e70=_0x570e70[0x0],_0x15a37a==='client_max_window_bits'){if(_0x570e70!==!0x0){const _0x6c9b35=+_0x570e70;if(!Number[_0x2c3127(0xe3)](_0x6c9b35)||_0x6c9b35<0x8||_0x6c9b35>0xf)throw new TypeError(_0x2c3127(0x154)+_0x15a37a+_0x2c3127(0x11c)+_0x570e70);_0x570e70=_0x6c9b35;}else{if(!this[_0x2c3127(0xe2)])throw new TypeError(_0x2c3127(0x154)+_0x15a37a+'\x22:\x20'+_0x570e70);}}else{if(_0x15a37a==='server_max_window_bits'){const _0x5419a6=+_0x570e70;if(!Number[_0x2c3127(0xe3)](_0x5419a6)||_0x5419a6<0x8||_0x5419a6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x15a37a+_0x2c3127(0x11c)+_0x570e70);_0x570e70=_0x5419a6;}else{if(_0x15a37a===_0x2c3127(0x1c3)||_0x15a37a===_0x2c3127(0x10f)){if(_0x570e70!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x15a37a+_0x2c3127(0x11c)+_0x570e70);}else throw new Error(_0x2c3127(0x25b)+_0x15a37a+'\x22');}}_0x12f72c[_0x15a37a]=_0x570e70;});}),_0x4b0b00;}[_0x1f877f(0x1dc)](_0x2d8a62,_0x398f87,_0xb5d6f){const _0x2054a2=_0x1f877f;_0x25ab75[_0x2054a2(0x106)](_0xb4d2cc=>{const _0x237bca=_0x2054a2;this[_0x237bca(0x1e6)](_0x2d8a62,_0x398f87,(_0xd5494f,_0xfbcb18)=>{_0xb4d2cc(),_0xb5d6f(_0xd5494f,_0xfbcb18);});});}[_0x1f877f(0x118)](_0x328b68,_0x2b66ae,_0x22a928){const _0x16eb05=_0x1f877f;_0x25ab75[_0x16eb05(0x106)](_0x5b5fe1=>{this['_compress'](_0x328b68,_0x2b66ae,(_0xc4dad7,_0x479f95)=>{_0x5b5fe1(),_0x22a928(_0xc4dad7,_0x479f95);});});}[_0x1f877f(0x1e6)](_0x1bcbc2,_0x274fe7,_0x487519){const _0x20c5fc=_0x1f877f,_0x51833c=this[_0x20c5fc(0xe2)]?_0x20c5fc(0x1c7):'server';if(!this[_0x20c5fc(0x26f)]){const _0x5f4b68=_0x51833c+_0x20c5fc(0x265),_0x5e2851=typeof this[_0x20c5fc(0x21b)][_0x5f4b68]!=_0x20c5fc(0x151)?_0x14e108['Z_DEFAULT_WINDOWBITS']:this[_0x20c5fc(0x21b)][_0x5f4b68];this[_0x20c5fc(0x26f)]=_0x14e108[_0x20c5fc(0x10c)]({...this[_0x20c5fc(0xe1)][_0x20c5fc(0x101)],'windowBits':_0x5e2851}),this[_0x20c5fc(0x26f)][_0x4e96f0]=this,this[_0x20c5fc(0x26f)][_0x59965b]=0x0,this['_inflate'][_0x318de9]=[],this[_0x20c5fc(0x26f)]['on'](_0x20c5fc(0xf7),_0x45ef18),this['_inflate']['on'](_0x20c5fc(0x1e3),_0xc792e8);}this[_0x20c5fc(0x26f)][_0x1c5391]=_0x487519,this[_0x20c5fc(0x26f)]['write'](_0x1bcbc2),_0x274fe7&&this[_0x20c5fc(0x26f)][_0x20c5fc(0x1eb)](_0xb2bb7),this[_0x20c5fc(0x26f)][_0x20c5fc(0x166)](()=>{const _0x50d3c0=_0x20c5fc,_0x304d71=this[_0x50d3c0(0x26f)][_0x50153e];if(_0x304d71){this[_0x50d3c0(0x26f)][_0x50d3c0(0x25e)](),this[_0x50d3c0(0x26f)]=null,_0x487519(_0x304d71);return;}const _0x345302=_0x55fede[_0x50d3c0(0x223)](this['_inflate'][_0x318de9],this['_inflate'][_0x59965b]);this[_0x50d3c0(0x26f)]['_readableState']['endEmitted']?(this[_0x50d3c0(0x26f)][_0x50d3c0(0x25e)](),this[_0x50d3c0(0x26f)]=null):(this[_0x50d3c0(0x26f)][_0x59965b]=0x0,this['_inflate'][_0x318de9]=[],_0x274fe7&&this[_0x50d3c0(0x21b)][_0x51833c+_0x50d3c0(0x206)]&&this[_0x50d3c0(0x26f)]['reset']()),_0x487519(null,_0x345302);});}[_0x1f877f(0x245)](_0x4d126f,_0x41d57b,_0x1fbdb2){const _0x58a483=_0x1f877f,_0x5885b1=this[_0x58a483(0xe2)]?_0x58a483(0x1be):_0x58a483(0x1c7);if(!this[_0x58a483(0x134)]){const _0x5415fe=_0x5885b1+'_max_window_bits',_0x262f61=typeof this[_0x58a483(0x21b)][_0x5415fe]!=_0x58a483(0x151)?_0x14e108[_0x58a483(0x255)]:this[_0x58a483(0x21b)][_0x5415fe];this['_deflate']=_0x14e108[_0x58a483(0x1f4)]({...this[_0x58a483(0xe1)][_0x58a483(0x152)],'windowBits':_0x262f61}),this['_deflate'][_0x59965b]=0x0,this[_0x58a483(0x134)][_0x318de9]=[],this[_0x58a483(0x134)]['on']('data',_0x1bfbe0);}this[_0x58a483(0x134)][_0x1c5391]=_0x1fbdb2,this[_0x58a483(0x134)][_0x58a483(0x1eb)](_0x4d126f),this[_0x58a483(0x134)][_0x58a483(0x166)](_0x14e108[_0x58a483(0xed)],()=>{const _0x40e723=_0x58a483;if(!this[_0x40e723(0x134)])return;let _0x2ae305=_0x55fede[_0x40e723(0x223)](this[_0x40e723(0x134)][_0x318de9],this[_0x40e723(0x134)][_0x59965b]);_0x41d57b&&(_0x2ae305=new _0x376ae5(_0x2ae305[_0x40e723(0x190)],_0x2ae305[_0x40e723(0x1b3)],_0x2ae305[_0x40e723(0x115)]-0x4)),this['_deflate'][_0x1c5391]=null,this['_deflate'][_0x59965b]=0x0,this[_0x40e723(0x134)][_0x318de9]=[],_0x41d57b&&this[_0x40e723(0x21b)][_0x5885b1+'_no_context_takeover']&&this[_0x40e723(0x134)]['reset'](),_0x1fbdb2(null,_0x2ae305);});}}ve=_0x48bda6;function _0x1bfbe0(_0x460f3c){const _0xca0e8c=_0x1f877f;this[_0x318de9][_0xca0e8c(0x19b)](_0x460f3c),this[_0x59965b]+=_0x460f3c[_0xca0e8c(0x115)];}function _0xc792e8(_0x5ab096){const _0x15da2b=_0x1f877f;if(this[_0x59965b]+=_0x5ab096[_0x15da2b(0x115)],this[_0x4e96f0]['_maxPayload']<0x1||this[_0x59965b]<=this[_0x4e96f0][_0x15da2b(0x15c)]){this[_0x318de9]['push'](_0x5ab096);return;}this[_0x50153e]=new RangeError(_0x15da2b(0x24c)),this[_0x50153e][_0x15da2b(0x19e)]=_0x15da2b(0x24b),this[_0x50153e][_0x2044a2]=0x3f1,this[_0x15da2b(0x1ee)](_0x15da2b(0x1e3),_0xc792e8),this['reset']();}function _0x45ef18(_0x35cd13){const _0x507a45=_0x1f877f;if(this[_0x4e96f0][_0x507a45(0x26f)]=null,this[_0x50153e]){this[_0x1c5391](this[_0x50153e]);return;}_0x35cd13[_0x2044a2]=0x3ef,this[_0x1c5391](_0x35cd13);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x408f6e(0x1e7)](Object[_0x408f6e(0x127)]({'__proto__':null,'default':Dt},Symbol[_0x408f6e(0x1a1)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x31446f=_0x408f6e;if(Ye)return ie[_0x31446f(0x18d)];Ye=0x1;const {isUtf8:_0x16077a}=wt,{hasBlob:_0x39587e}=H(),_0x522ede=[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 _0x1ec2e2(_0x124f48){return _0x124f48>=0x3e8&&_0x124f48<=0x3f6&&_0x124f48!==0x3ec&&_0x124f48!==0x3ed&&_0x124f48!==0x3ee||_0x124f48>=0xbb8&&_0x124f48<=0x1387;}function _0x7700ea(_0x353dba){const _0x296a0f=_0x31446f,_0x41d854=_0x353dba[_0x296a0f(0x115)];let _0x2a4111=0x0;for(;_0x2a4111<_0x41d854;)if((_0x353dba[_0x2a4111]&0x80)===0x0)_0x2a4111++;else{if((_0x353dba[_0x2a4111]&0xe0)===0xc0){if(_0x2a4111+0x1===_0x41d854||(_0x353dba[_0x2a4111+0x1]&0xc0)!==0x80||(_0x353dba[_0x2a4111]&0xfe)===0xc0)return!0x1;_0x2a4111+=0x2;}else{if((_0x353dba[_0x2a4111]&0xf0)===0xe0){if(_0x2a4111+0x2>=_0x41d854||(_0x353dba[_0x2a4111+0x1]&0xc0)!==0x80||(_0x353dba[_0x2a4111+0x2]&0xc0)!==0x80||_0x353dba[_0x2a4111]===0xe0&&(_0x353dba[_0x2a4111+0x1]&0xe0)===0x80||_0x353dba[_0x2a4111]===0xed&&(_0x353dba[_0x2a4111+0x1]&0xe0)===0xa0)return!0x1;_0x2a4111+=0x3;}else{if((_0x353dba[_0x2a4111]&0xf8)===0xf0){if(_0x2a4111+0x3>=_0x41d854||(_0x353dba[_0x2a4111+0x1]&0xc0)!==0x80||(_0x353dba[_0x2a4111+0x2]&0xc0)!==0x80||(_0x353dba[_0x2a4111+0x3]&0xc0)!==0x80||_0x353dba[_0x2a4111]===0xf0&&(_0x353dba[_0x2a4111+0x1]&0xf0)===0x80||_0x353dba[_0x2a4111]===0xf4&&_0x353dba[_0x2a4111+0x1]>0x8f||_0x353dba[_0x2a4111]>0xf4)return!0x1;_0x2a4111+=0x4;}else return!0x1;}}}return!0x0;}function _0x3977b9(_0x26e09a){const _0x1728cf=_0x31446f;return _0x39587e&&typeof _0x26e09a==_0x1728cf(0x108)&&typeof _0x26e09a[_0x1728cf(0x281)]==_0x1728cf(0x23e)&&typeof _0x26e09a[_0x1728cf(0x145)]==_0x1728cf(0x1da)&&typeof _0x26e09a[_0x1728cf(0xe9)]==_0x1728cf(0x23e)&&(_0x26e09a[Symbol[_0x1728cf(0x1a1)]]===_0x1728cf(0x259)||_0x26e09a[Symbol[_0x1728cf(0x1a1)]]===_0x1728cf(0x1d2));}if(ie[_0x31446f(0x18d)]={'isBlob':_0x3977b9,'isValidStatusCode':_0x1ec2e2,'isValidUTF8':_0x7700ea,'tokenChars':_0x522ede},_0x16077a)ie[_0x31446f(0x18d)][_0x31446f(0x18e)]=function(_0x3a63db){const _0x12dc5c=_0x31446f;return _0x3a63db[_0x12dc5c(0x115)]<0x18?_0x7700ea(_0x3a63db):_0x16077a(_0x3a63db);};else{if(!process[_0x31446f(0x17f)][_0x31446f(0xee)])try{const _0x529e6e=Bt;ie[_0x31446f(0x18d)][_0x31446f(0x18e)]=function(_0x85fcdf){return _0x85fcdf['length']<0x20?_0x7700ea(_0x85fcdf):_0x529e6e(_0x85fcdf);};}catch{}}return ie[_0x31446f(0x18d)];}var Se,Ke;function lt(){const _0x38edcb=_0x408f6e;if(Ke)return Se;Ke=0x1;const {Writable:_0x52a1d2}=oe,_0x5262d6=he(),{BINARY_TYPES:_0x26e131,EMPTY_BUFFER:_0x653e8d,kStatusCode:_0x333ba7,kWebSocket:_0x1f0f5b}=H(),{concat:_0x5a9da2,toArrayBuffer:_0x373114,unmask:_0x3f273e}=ce(),{isValidStatusCode:_0x2f4509,isValidUTF8:_0x2700c5}=ae(),_0x200aef=Buffer[Symbol[_0x38edcb(0x253)]],_0x26e268=0x0,_0xa04d0b=0x1,_0x4308da=0x2,_0x29e4aa=0x3,_0x162460=0x4,_0x29daa0=0x5,_0x2edab4=0x6;class _0x6cc366 extends _0x52a1d2{constructor(_0x4797b1={}){const _0x2c7d5d=_0x38edcb;super(),this[_0x2c7d5d(0x1cb)]=_0x4797b1[_0x2c7d5d(0x11b)]!==void 0x0?_0x4797b1[_0x2c7d5d(0x11b)]:!0x0,this[_0x2c7d5d(0x27a)]=_0x4797b1[_0x2c7d5d(0x242)]||_0x26e131[0x0],this['_extensions']=_0x4797b1[_0x2c7d5d(0xe5)]||{},this[_0x2c7d5d(0xe2)]=!!_0x4797b1[_0x2c7d5d(0x278)],this['_maxPayload']=_0x4797b1['maxPayload']|0x0,this[_0x2c7d5d(0x241)]=!!_0x4797b1[_0x2c7d5d(0x17b)],this[_0x1f0f5b]=void 0x0,this[_0x2c7d5d(0xfc)]=0x0,this[_0x2c7d5d(0x1d9)]=[],this['_compressed']=!0x1,this[_0x2c7d5d(0x142)]=0x0,this[_0x2c7d5d(0x1cf)]=void 0x0,this['_fragmented']=0x0,this[_0x2c7d5d(0x24a)]=!0x1,this[_0x2c7d5d(0x284)]=!0x1,this[_0x2c7d5d(0x19f)]=0x0,this[_0x2c7d5d(0x164)]=0x0,this[_0x2c7d5d(0x287)]=0x0,this[_0x2c7d5d(0x266)]=[],this[_0x2c7d5d(0x100)]=!0x1,this[_0x2c7d5d(0xf4)]=!0x1,this[_0x2c7d5d(0x170)]=_0x26e268;}['_write'](_0x177f8c,_0x2e76ba,_0x45d35a){const _0xdbb6a1=_0x38edcb;if(this[_0xdbb6a1(0x19f)]===0x8&&this[_0xdbb6a1(0x170)]==_0x26e268)return _0x45d35a();this[_0xdbb6a1(0xfc)]+=_0x177f8c[_0xdbb6a1(0x115)],this[_0xdbb6a1(0x1d9)][_0xdbb6a1(0x19b)](_0x177f8c),this['startLoop'](_0x45d35a);}['consume'](_0x471357){const _0x2473fe=_0x38edcb;if(this[_0x2473fe(0xfc)]-=_0x471357,_0x471357===this[_0x2473fe(0x1d9)][0x0][_0x2473fe(0x115)])return this[_0x2473fe(0x1d9)][_0x2473fe(0x12d)]();if(_0x471357<this[_0x2473fe(0x1d9)][0x0][_0x2473fe(0x115)]){const _0x39ec19=this[_0x2473fe(0x1d9)][0x0];return this['_buffers'][0x0]=new _0x200aef(_0x39ec19[_0x2473fe(0x190)],_0x39ec19['byteOffset']+_0x471357,_0x39ec19[_0x2473fe(0x115)]-_0x471357),new _0x200aef(_0x39ec19[_0x2473fe(0x190)],_0x39ec19['byteOffset'],_0x471357);}const _0x22a383=Buffer[_0x2473fe(0x120)](_0x471357);do{const _0x318757=this[_0x2473fe(0x1d9)][0x0],_0x342267=_0x22a383[_0x2473fe(0x115)]-_0x471357;_0x471357>=_0x318757[_0x2473fe(0x115)]?_0x22a383['set'](this[_0x2473fe(0x1d9)][_0x2473fe(0x12d)](),_0x342267):(_0x22a383[_0x2473fe(0x119)](new Uint8Array(_0x318757[_0x2473fe(0x190)],_0x318757[_0x2473fe(0x1b3)],_0x471357),_0x342267),this[_0x2473fe(0x1d9)][0x0]=new _0x200aef(_0x318757['buffer'],_0x318757[_0x2473fe(0x1b3)]+_0x471357,_0x318757[_0x2473fe(0x115)]-_0x471357)),_0x471357-=_0x318757[_0x2473fe(0x115)];}while(_0x471357>0x0);return _0x22a383;}['startLoop'](_0x536609){const _0xa4541e=_0x38edcb;this[_0xa4541e(0xf4)]=!0x0;do switch(this[_0xa4541e(0x170)]){case _0x26e268:this['getInfo'](_0x536609);break;case _0xa04d0b:this[_0xa4541e(0x178)](_0x536609);break;case _0x4308da:this[_0xa4541e(0x184)](_0x536609);break;case _0x29e4aa:this[_0xa4541e(0x183)]();break;case _0x162460:this[_0xa4541e(0xf9)](_0x536609);break;case _0x29daa0:case _0x2edab4:this['_loop']=!0x1;return;}while(this[_0xa4541e(0xf4)]);this[_0xa4541e(0x100)]||_0x536609();}[_0x38edcb(0x1c6)](_0x2626d8){const _0x412b71=_0x38edcb;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x4b1496=this[_0x412b71(0x117)](0x2);if((_0x4b1496[0x0]&0x30)!==0x0){const _0x3b6aa8=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2626d8(_0x3b6aa8);return;}const _0x1bc1da=(_0x4b1496[0x0]&0x40)===0x40;if(_0x1bc1da&&!this[_0x412b71(0x11d)][_0x5262d6[_0x412b71(0xd8)]]){const _0x24a99f=this[_0x412b71(0x137)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x412b71(0x23f));_0x2626d8(_0x24a99f);return;}if(this[_0x412b71(0x284)]=(_0x4b1496[0x0]&0x80)===0x80,this[_0x412b71(0x19f)]=_0x4b1496[0x0]&0xf,this[_0x412b71(0x142)]=_0x4b1496[0x1]&0x7f,this[_0x412b71(0x19f)]===0x0){if(_0x1bc1da){const _0x467f5e=this[_0x412b71(0x137)](RangeError,_0x412b71(0x1fa),!0x0,0x3ea,_0x412b71(0x23f));_0x2626d8(_0x467f5e);return;}if(!this['_fragmented']){const _0x5bbf2e=this[_0x412b71(0x137)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2626d8(_0x5bbf2e);return;}this[_0x412b71(0x19f)]=this[_0x412b71(0x1ba)];}else{if(this[_0x412b71(0x19f)]===0x1||this[_0x412b71(0x19f)]===0x2){if(this['_fragmented']){const _0x70586c=this[_0x412b71(0x137)](RangeError,'invalid\x20opcode\x20'+this[_0x412b71(0x19f)],!0x0,0x3ea,_0x412b71(0x261));_0x2626d8(_0x70586c);return;}this[_0x412b71(0x11a)]=_0x1bc1da;}else{if(this[_0x412b71(0x19f)]>0x7&&this['_opcode']<0xb){if(!this[_0x412b71(0x284)]){const _0x12fc9e=this[_0x412b71(0x137)](RangeError,_0x412b71(0x21e),!0x0,0x3ea,_0x412b71(0x1d4));_0x2626d8(_0x12fc9e);return;}if(_0x1bc1da){const _0x1dac3e=this[_0x412b71(0x137)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x412b71(0x23f));_0x2626d8(_0x1dac3e);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x412b71(0x142)]===0x1){const _0x46bcb5=this[_0x412b71(0x137)](RangeError,_0x412b71(0x267)+this[_0x412b71(0x142)],!0x0,0x3ea,_0x412b71(0x22c));_0x2626d8(_0x46bcb5);return;}}else{const _0x43f0e3=this[_0x412b71(0x137)](RangeError,_0x412b71(0x25f)+this[_0x412b71(0x19f)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2626d8(_0x43f0e3);return;}}}if(!this[_0x412b71(0x284)]&&!this[_0x412b71(0x1ba)]&&(this[_0x412b71(0x1ba)]=this[_0x412b71(0x19f)]),this[_0x412b71(0x24a)]=(_0x4b1496[0x1]&0x80)===0x80,this[_0x412b71(0xe2)]){if(!this['_masked']){const _0x3f764e=this[_0x412b71(0x137)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x412b71(0x15f));_0x2626d8(_0x3f764e);return;}}else{if(this[_0x412b71(0x24a)]){const _0x455ce6=this[_0x412b71(0x137)](RangeError,_0x412b71(0xe0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2626d8(_0x455ce6);return;}}this[_0x412b71(0x142)]===0x7e?this[_0x412b71(0x170)]=_0xa04d0b:this['_payloadLength']===0x7f?this[_0x412b71(0x170)]=_0x4308da:this[_0x412b71(0x1d0)](_0x2626d8);}['getPayloadLength16'](_0x57c765){const _0x3b5ce8=_0x38edcb;if(this[_0x3b5ce8(0xfc)]<0x2){this[_0x3b5ce8(0xf4)]=!0x1;return;}this[_0x3b5ce8(0x142)]=this[_0x3b5ce8(0x117)](0x2)[_0x3b5ce8(0x10e)](0x0),this[_0x3b5ce8(0x1d0)](_0x57c765);}[_0x38edcb(0x184)](_0x10512d){const _0x487064=_0x38edcb;if(this[_0x487064(0xfc)]<0x8){this['_loop']=!0x1;return;}const _0x447b8b=this[_0x487064(0x117)](0x8),_0x5c247b=_0x447b8b[_0x487064(0x285)](0x0);if(_0x5c247b>Math[_0x487064(0x105)](0x2,0x15)-0x1){const _0x59b212=this[_0x487064(0x137)](RangeError,_0x487064(0x1f7),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x10512d(_0x59b212);return;}this['_payloadLength']=_0x5c247b*Math['pow'](0x2,0x20)+_0x447b8b[_0x487064(0x285)](0x4),this[_0x487064(0x1d0)](_0x10512d);}[_0x38edcb(0x1d0)](_0xe0df0){const _0x3e9d55=_0x38edcb;if(this[_0x3e9d55(0x142)]&&this[_0x3e9d55(0x19f)]<0x8&&(this[_0x3e9d55(0x164)]+=this[_0x3e9d55(0x142)],this[_0x3e9d55(0x164)]>this[_0x3e9d55(0x15c)]&&this[_0x3e9d55(0x15c)]>0x0)){const _0x27d59f=this['createError'](RangeError,_0x3e9d55(0x24c),!0x1,0x3f1,_0x3e9d55(0x24b));_0xe0df0(_0x27d59f);return;}this[_0x3e9d55(0x24a)]?this['_state']=_0x29e4aa:this[_0x3e9d55(0x170)]=_0x162460;}[_0x38edcb(0x183)](){const _0xe33eea=_0x38edcb;if(this[_0xe33eea(0xfc)]<0x4){this[_0xe33eea(0xf4)]=!0x1;return;}this['_mask']=this[_0xe33eea(0x117)](0x4),this['_state']=_0x162460;}[_0x38edcb(0xf9)](_0x50b9f3){const _0x4c2bc3=_0x38edcb;let _0x189ee3=_0x653e8d;if(this[_0x4c2bc3(0x142)]){if(this[_0x4c2bc3(0xfc)]<this[_0x4c2bc3(0x142)]){this[_0x4c2bc3(0xf4)]=!0x1;return;}_0x189ee3=this['consume'](this[_0x4c2bc3(0x142)]),this[_0x4c2bc3(0x24a)]&&(this[_0x4c2bc3(0x1cf)][0x0]|this['_mask'][0x1]|this[_0x4c2bc3(0x1cf)][0x2]|this[_0x4c2bc3(0x1cf)][0x3])!==0x0&&_0x3f273e(_0x189ee3,this[_0x4c2bc3(0x1cf)]);}if(this['_opcode']>0x7){this[_0x4c2bc3(0x25a)](_0x189ee3,_0x50b9f3);return;}if(this[_0x4c2bc3(0x11a)]){this[_0x4c2bc3(0x170)]=_0x29daa0,this[_0x4c2bc3(0x1dc)](_0x189ee3,_0x50b9f3);return;}_0x189ee3[_0x4c2bc3(0x115)]&&(this[_0x4c2bc3(0x287)]=this[_0x4c2bc3(0x164)],this[_0x4c2bc3(0x266)]['push'](_0x189ee3)),this[_0x4c2bc3(0x148)](_0x50b9f3);}[_0x38edcb(0x1dc)](_0x19adc6,_0x112bea){const _0x456cc2=_0x38edcb;this[_0x456cc2(0x11d)][_0x5262d6[_0x456cc2(0xd8)]][_0x456cc2(0x1dc)](_0x19adc6,this[_0x456cc2(0x284)],(_0x52a695,_0x1138c7)=>{const _0x4df0ca=_0x456cc2;if(_0x52a695)return _0x112bea(_0x52a695);if(_0x1138c7['length']){if(this[_0x4df0ca(0x287)]+=_0x1138c7['length'],this[_0x4df0ca(0x287)]>this[_0x4df0ca(0x15c)]&&this[_0x4df0ca(0x15c)]>0x0){const _0x409142=this[_0x4df0ca(0x137)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4df0ca(0x24b));_0x112bea(_0x409142);return;}this[_0x4df0ca(0x266)][_0x4df0ca(0x19b)](_0x1138c7);}this[_0x4df0ca(0x148)](_0x112bea),this[_0x4df0ca(0x170)]===_0x26e268&&this[_0x4df0ca(0x14f)](_0x112bea);});}[_0x38edcb(0x148)](_0x457108){const _0x392501=_0x38edcb;if(!this[_0x392501(0x284)]){this[_0x392501(0x170)]=_0x26e268;return;}const _0x58f56d=this['_messageLength'],_0x482186=this[_0x392501(0x266)];if(this[_0x392501(0x164)]=0x0,this[_0x392501(0x287)]=0x0,this[_0x392501(0x1ba)]=0x0,this[_0x392501(0x266)]=[],this[_0x392501(0x19f)]===0x2){let _0x59bffd;this[_0x392501(0x27a)]===_0x392501(0x149)?_0x59bffd=_0x5a9da2(_0x482186,_0x58f56d):this['_binaryType']===_0x392501(0x211)?_0x59bffd=_0x373114(_0x5a9da2(_0x482186,_0x58f56d)):this[_0x392501(0x27a)]==='blob'?_0x59bffd=new Blob(_0x482186):_0x59bffd=_0x482186,this[_0x392501(0x1cb)]?(this['emit'](_0x392501(0x1de),_0x59bffd,!0x0),this[_0x392501(0x170)]=_0x26e268):(this[_0x392501(0x170)]=_0x2edab4,setImmediate(()=>{const _0x13d0bc=_0x392501;this['emit'](_0x13d0bc(0x1de),_0x59bffd,!0x0),this[_0x13d0bc(0x170)]=_0x26e268,this['startLoop'](_0x457108);}));}else{const _0x1be83d=_0x5a9da2(_0x482186,_0x58f56d);if(!this[_0x392501(0x241)]&&!_0x2700c5(_0x1be83d)){const _0x45e57e=this[_0x392501(0x137)](Error,_0x392501(0x26e),!0x0,0x3ef,_0x392501(0x227));_0x457108(_0x45e57e);return;}this[_0x392501(0x170)]===_0x29daa0||this[_0x392501(0x1cb)]?(this[_0x392501(0x157)](_0x392501(0x1de),_0x1be83d,!0x1),this[_0x392501(0x170)]=_0x26e268):(this[_0x392501(0x170)]=_0x2edab4,setImmediate(()=>{const _0x1b7316=_0x392501;this[_0x1b7316(0x157)]('message',_0x1be83d,!0x1),this[_0x1b7316(0x170)]=_0x26e268,this[_0x1b7316(0x14f)](_0x457108);}));}}[_0x38edcb(0x25a)](_0xc55eaf,_0x3496cd){const _0xd7b0b5=_0x38edcb;if(this['_opcode']===0x8){if(_0xc55eaf[_0xd7b0b5(0x115)]===0x0)this[_0xd7b0b5(0xf4)]=!0x1,this[_0xd7b0b5(0x157)](_0xd7b0b5(0x23d),0x3ed,_0x653e8d),this['end']();else{const _0x2e3b45=_0xc55eaf[_0xd7b0b5(0x10e)](0x0);if(!_0x2f4509(_0x2e3b45)){const _0x1d59e0=this['createError'](RangeError,_0xd7b0b5(0x237)+_0x2e3b45,!0x0,0x3ea,_0xd7b0b5(0x1fb));_0x3496cd(_0x1d59e0);return;}const _0x2da122=new _0x200aef(_0xc55eaf[_0xd7b0b5(0x190)],_0xc55eaf[_0xd7b0b5(0x1b3)]+0x2,_0xc55eaf[_0xd7b0b5(0x115)]-0x2);if(!this[_0xd7b0b5(0x241)]&&!_0x2700c5(_0x2da122)){const _0x124758=this['createError'](Error,_0xd7b0b5(0x26e),!0x0,0x3ef,_0xd7b0b5(0x227));_0x3496cd(_0x124758);return;}this[_0xd7b0b5(0xf4)]=!0x1,this[_0xd7b0b5(0x157)](_0xd7b0b5(0x23d),_0x2e3b45,_0x2da122),this[_0xd7b0b5(0xf2)]();}this[_0xd7b0b5(0x170)]=_0x26e268;return;}this[_0xd7b0b5(0x1cb)]?(this[_0xd7b0b5(0x157)](this[_0xd7b0b5(0x19f)]===0x9?_0xd7b0b5(0x22f):'pong',_0xc55eaf),this[_0xd7b0b5(0x170)]=_0x26e268):(this[_0xd7b0b5(0x170)]=_0x2edab4,setImmediate(()=>{const _0xa8cb11=_0xd7b0b5;this[_0xa8cb11(0x157)](this['_opcode']===0x9?_0xa8cb11(0x22f):_0xa8cb11(0x110),_0xc55eaf),this['_state']=_0x26e268,this['startLoop'](_0x3496cd);}));}[_0x38edcb(0x137)](_0x2860c4,_0x40af29,_0x5393d0,_0x50fc86,_0x5c9d11){const _0x52bded=_0x38edcb;this[_0x52bded(0xf4)]=!0x1,this['_errored']=!0x0;const _0x5031ae=new _0x2860c4(_0x5393d0?_0x52bded(0xce)+_0x40af29:_0x40af29);return Error[_0x52bded(0xdc)](_0x5031ae,this[_0x52bded(0x137)]),_0x5031ae[_0x52bded(0x19e)]=_0x5c9d11,_0x5031ae[_0x333ba7]=_0x50fc86,_0x5031ae;}}return Se=_0x6cc366,Se;}var Ee,Xe;function ft(){const _0x47868a=_0x408f6e;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x56e4b0}=oe,{randomFillSync:_0x2872dd}=Le,_0x910f68=he(),{EMPTY_BUFFER:_0x579e8c,kWebSocket:_0x131828,NOOP:_0x19f39d}=H(),{isBlob:_0x1c8fa1,isValidStatusCode:_0x558d9a}=ae(),{mask:_0x2ea2dd,toBuffer:_0x4688a2}=ce(),_0x273099=Symbol(_0x47868a(0x1ef)),_0x59f5e2=Buffer['alloc'](0x4),_0x18d11f=0x8*0x400;let _0x413615,_0x3010d4=_0x18d11f;const _0x159425=0x0,_0x4ef797=0x1,_0x587fb8=0x2;class _0x557eb4{constructor(_0xd699b3,_0x11db5c,_0x250442){const _0x1235f7=_0x47868a;this['_extensions']=_0x11db5c||{},_0x250442&&(this[_0x1235f7(0x1bd)]=_0x250442,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x1235f7(0x218)]=_0xd699b3,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x1235f7(0x135)]=[],this[_0x1235f7(0x170)]=_0x159425,this[_0x1235f7(0x27c)]=_0x19f39d,this[_0x131828]=void 0x0;}static[_0x47868a(0x165)](_0x372a5e,_0x13f1c7){const _0x16b809=_0x47868a;let _0x5bdbe9,_0x19dd44=!0x1,_0x6a212f=0x2,_0x18523c=!0x1;_0x13f1c7[_0x16b809(0xe8)]&&(_0x5bdbe9=_0x13f1c7[_0x16b809(0x222)]||_0x59f5e2,_0x13f1c7[_0x16b809(0x160)]?_0x13f1c7[_0x16b809(0x160)](_0x5bdbe9):(_0x3010d4===_0x18d11f&&(_0x413615===void 0x0&&(_0x413615=Buffer['alloc'](_0x18d11f)),_0x2872dd(_0x413615,0x0,_0x18d11f),_0x3010d4=0x0),_0x5bdbe9[0x0]=_0x413615[_0x3010d4++],_0x5bdbe9[0x1]=_0x413615[_0x3010d4++],_0x5bdbe9[0x2]=_0x413615[_0x3010d4++],_0x5bdbe9[0x3]=_0x413615[_0x3010d4++]),_0x18523c=(_0x5bdbe9[0x0]|_0x5bdbe9[0x1]|_0x5bdbe9[0x2]|_0x5bdbe9[0x3])===0x0,_0x6a212f=0x6);let _0x2bb779;typeof _0x372a5e==_0x16b809(0x1da)?(!_0x13f1c7[_0x16b809(0xe8)]||_0x18523c)&&_0x13f1c7[_0x273099]!==void 0x0?_0x2bb779=_0x13f1c7[_0x273099]:(_0x372a5e=Buffer[_0x16b809(0x18a)](_0x372a5e),_0x2bb779=_0x372a5e['length']):(_0x2bb779=_0x372a5e['length'],_0x19dd44=_0x13f1c7[_0x16b809(0xe8)]&&_0x13f1c7[_0x16b809(0x147)]&&!_0x18523c);let _0x3ec6cc=_0x2bb779;_0x2bb779>=0x10000?(_0x6a212f+=0x8,_0x3ec6cc=0x7f):_0x2bb779>0x7d&&(_0x6a212f+=0x2,_0x3ec6cc=0x7e);const _0x1eca09=Buffer[_0x16b809(0x120)](_0x19dd44?_0x2bb779+_0x6a212f:_0x6a212f);return _0x1eca09[0x0]=_0x13f1c7[_0x16b809(0x1f0)]?_0x13f1c7[_0x16b809(0x14e)]|0x80:_0x13f1c7[_0x16b809(0x14e)],_0x13f1c7[_0x16b809(0x258)]&&(_0x1eca09[0x0]|=0x40),_0x1eca09[0x1]=_0x3ec6cc,_0x3ec6cc===0x7e?_0x1eca09[_0x16b809(0x1ce)](_0x2bb779,0x2):_0x3ec6cc===0x7f&&(_0x1eca09[0x2]=_0x1eca09[0x3]=0x0,_0x1eca09[_0x16b809(0x174)](_0x2bb779,0x4,0x6)),_0x13f1c7[_0x16b809(0xe8)]?(_0x1eca09[0x1]|=0x80,_0x1eca09[_0x6a212f-0x4]=_0x5bdbe9[0x0],_0x1eca09[_0x6a212f-0x3]=_0x5bdbe9[0x1],_0x1eca09[_0x6a212f-0x2]=_0x5bdbe9[0x2],_0x1eca09[_0x6a212f-0x1]=_0x5bdbe9[0x3],_0x18523c?[_0x1eca09,_0x372a5e]:_0x19dd44?(_0x2ea2dd(_0x372a5e,_0x5bdbe9,_0x1eca09,_0x6a212f,_0x2bb779),[_0x1eca09]):(_0x2ea2dd(_0x372a5e,_0x5bdbe9,_0x372a5e,0x0,_0x2bb779),[_0x1eca09,_0x372a5e])):[_0x1eca09,_0x372a5e];}[_0x47868a(0x25e)](_0x520fff,_0x26da28,_0x322fa0,_0x4e1c80){const _0x25b80a=_0x47868a;let _0x53a732;if(_0x520fff===void 0x0)_0x53a732=_0x579e8c;else{if(typeof _0x520fff!=_0x25b80a(0x151)||!_0x558d9a(_0x520fff))throw new TypeError(_0x25b80a(0x1f1));if(_0x26da28===void 0x0||!_0x26da28[_0x25b80a(0x115)])_0x53a732=Buffer['allocUnsafe'](0x2),_0x53a732[_0x25b80a(0x1ce)](_0x520fff,0x0);else{const _0x496340=Buffer['byteLength'](_0x26da28);if(_0x496340>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x53a732=Buffer[_0x25b80a(0x120)](0x2+_0x496340),_0x53a732[_0x25b80a(0x1ce)](_0x520fff,0x0),typeof _0x26da28==_0x25b80a(0x1da)?_0x53a732[_0x25b80a(0x1eb)](_0x26da28,0x2):_0x53a732[_0x25b80a(0x119)](_0x26da28,0x2);}}const _0x166fc2={[_0x273099]:_0x53a732[_0x25b80a(0x115)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x322fa0,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x159425?this[_0x25b80a(0x264)]([this[_0x25b80a(0x1e4)],_0x53a732,!0x1,_0x166fc2,_0x4e1c80]):this[_0x25b80a(0x123)](_0x557eb4['frame'](_0x53a732,_0x166fc2),_0x4e1c80);}['ping'](_0x11c75f,_0x444ace,_0x3ce66f){const _0x251ba8=_0x47868a;let _0xca062b,_0x2a5056;if(typeof _0x11c75f==_0x251ba8(0x1da)?(_0xca062b=Buffer[_0x251ba8(0x17d)](_0x11c75f),_0x2a5056=!0x1):_0x1c8fa1(_0x11c75f)?(_0xca062b=_0x11c75f['size'],_0x2a5056=!0x1):(_0x11c75f=_0x4688a2(_0x11c75f),_0xca062b=_0x11c75f['length'],_0x2a5056=_0x4688a2[_0x251ba8(0x147)]),_0xca062b>0x7d)throw new RangeError(_0x251ba8(0x216));const _0x5930b5={[_0x273099]:_0xca062b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x444ace,'maskBuffer':this[_0x251ba8(0x247)],'opcode':0x9,'readOnly':_0x2a5056,'rsv1':!0x1};_0x1c8fa1(_0x11c75f)?this[_0x251ba8(0x170)]!==_0x159425?this[_0x251ba8(0x264)]([this[_0x251ba8(0x131)],_0x11c75f,!0x1,_0x5930b5,_0x3ce66f]):this['getBlobData'](_0x11c75f,!0x1,_0x5930b5,_0x3ce66f):this[_0x251ba8(0x170)]!==_0x159425?this[_0x251ba8(0x264)]([this[_0x251ba8(0x1e4)],_0x11c75f,!0x1,_0x5930b5,_0x3ce66f]):this[_0x251ba8(0x123)](_0x557eb4[_0x251ba8(0x165)](_0x11c75f,_0x5930b5),_0x3ce66f);}[_0x47868a(0x110)](_0x48cdd9,_0x1cd16f,_0xea7955){const _0x4c366c=_0x47868a;let _0x16c4a9,_0x212d56;if(typeof _0x48cdd9==_0x4c366c(0x1da)?(_0x16c4a9=Buffer[_0x4c366c(0x17d)](_0x48cdd9),_0x212d56=!0x1):_0x1c8fa1(_0x48cdd9)?(_0x16c4a9=_0x48cdd9['size'],_0x212d56=!0x1):(_0x48cdd9=_0x4688a2(_0x48cdd9),_0x16c4a9=_0x48cdd9[_0x4c366c(0x115)],_0x212d56=_0x4688a2['readOnly']),_0x16c4a9>0x7d)throw new RangeError(_0x4c366c(0x216));const _0x3f6c16={[_0x273099]:_0x16c4a9,'fin':!0x0,'generateMask':this[_0x4c366c(0x1bd)],'mask':_0x1cd16f,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x212d56,'rsv1':!0x1};_0x1c8fa1(_0x48cdd9)?this[_0x4c366c(0x170)]!==_0x159425?this[_0x4c366c(0x264)]([this[_0x4c366c(0x131)],_0x48cdd9,!0x1,_0x3f6c16,_0xea7955]):this['getBlobData'](_0x48cdd9,!0x1,_0x3f6c16,_0xea7955):this[_0x4c366c(0x170)]!==_0x159425?this['enqueue']([this[_0x4c366c(0x1e4)],_0x48cdd9,!0x1,_0x3f6c16,_0xea7955]):this[_0x4c366c(0x123)](_0x557eb4[_0x4c366c(0x165)](_0x48cdd9,_0x3f6c16),_0xea7955);}[_0x47868a(0x198)](_0x3d0c01,_0x353d66,_0x587512){const _0x4e9619=_0x47868a,_0x2f11b2=this[_0x4e9619(0x11d)][_0x910f68[_0x4e9619(0xd8)]];let _0x4a717e=_0x353d66[_0x4e9619(0x217)]?0x2:0x1,_0x218485=_0x353d66['compress'],_0x382414,_0x2c4eff;typeof _0x3d0c01==_0x4e9619(0x1da)?(_0x382414=Buffer[_0x4e9619(0x17d)](_0x3d0c01),_0x2c4eff=!0x1):_0x1c8fa1(_0x3d0c01)?(_0x382414=_0x3d0c01[_0x4e9619(0x114)],_0x2c4eff=!0x1):(_0x3d0c01=_0x4688a2(_0x3d0c01),_0x382414=_0x3d0c01[_0x4e9619(0x115)],_0x2c4eff=_0x4688a2[_0x4e9619(0x147)]),this[_0x4e9619(0x192)]?(this['_firstFragment']=!0x1,_0x218485&&_0x2f11b2&&_0x2f11b2[_0x4e9619(0x21b)][_0x2f11b2['_isServer']?'server_no_context_takeover':_0x4e9619(0x1c3)]&&(_0x218485=_0x382414>=_0x2f11b2[_0x4e9619(0xd6)]),this[_0x4e9619(0x245)]=_0x218485):(_0x218485=!0x1,_0x4a717e=0x0),_0x353d66[_0x4e9619(0x1f0)]&&(this[_0x4e9619(0x192)]=!0x0);const _0x17b6c5={[_0x273099]:_0x382414,'fin':_0x353d66[_0x4e9619(0x1f0)],'generateMask':this[_0x4e9619(0x1bd)],'mask':_0x353d66[_0x4e9619(0xe8)],'maskBuffer':this['_maskBuffer'],'opcode':_0x4a717e,'readOnly':_0x2c4eff,'rsv1':_0x218485};_0x1c8fa1(_0x3d0c01)?this[_0x4e9619(0x170)]!==_0x159425?this['enqueue']([this[_0x4e9619(0x131)],_0x3d0c01,this[_0x4e9619(0x245)],_0x17b6c5,_0x587512]):this[_0x4e9619(0x131)](_0x3d0c01,this[_0x4e9619(0x245)],_0x17b6c5,_0x587512):this['_state']!==_0x159425?this['enqueue']([this[_0x4e9619(0x1e4)],_0x3d0c01,this['_compress'],_0x17b6c5,_0x587512]):this['dispatch'](_0x3d0c01,this[_0x4e9619(0x245)],_0x17b6c5,_0x587512);}[_0x47868a(0x131)](_0x8245a2,_0x13279e,_0xe76d74,_0x2417c1){const _0x420a50=_0x47868a;this[_0x420a50(0xfc)]+=_0xe76d74[_0x273099],this[_0x420a50(0x170)]=_0x587fb8,_0x8245a2[_0x420a50(0x281)]()['then'](_0x3cad6c=>{const _0x3c1e20=_0x420a50;if(this[_0x3c1e20(0x218)]['destroyed']){const _0x3a9b7e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x310a60,this,_0x3a9b7e,_0x2417c1);return;}this[_0x3c1e20(0xfc)]-=_0xe76d74[_0x273099];const _0x5b99d3=_0x4688a2(_0x3cad6c);_0x13279e?this[_0x3c1e20(0x1e4)](_0x5b99d3,_0x13279e,_0xe76d74,_0x2417c1):(this['_state']=_0x159425,this[_0x3c1e20(0x123)](_0x557eb4[_0x3c1e20(0x165)](_0x5b99d3,_0xe76d74),_0x2417c1),this['dequeue']());})[_0x420a50(0x273)](_0x1d8090=>{const _0x1123f8=_0x420a50;process[_0x1123f8(0x1ac)](_0x3f4ef1,this,_0x1d8090,_0x2417c1);});}[_0x47868a(0x1e4)](_0x2474de,_0x52deb9,_0x31baab,_0x21c073){const _0x46f708=_0x47868a;if(!_0x52deb9){this[_0x46f708(0x123)](_0x557eb4[_0x46f708(0x165)](_0x2474de,_0x31baab),_0x21c073);return;}const _0x2dad7f=this['_extensions'][_0x910f68[_0x46f708(0xd8)]];this[_0x46f708(0xfc)]+=_0x31baab[_0x273099],this[_0x46f708(0x170)]=_0x4ef797,_0x2dad7f[_0x46f708(0x118)](_0x2474de,_0x31baab[_0x46f708(0x1f0)],(_0x1008dd,_0x38c2d0)=>{const _0x344f4d=_0x46f708;if(this['_socket']['destroyed']){const _0x506194=new Error(_0x344f4d(0xef));_0x310a60(this,_0x506194,_0x21c073);return;}this['_bufferedBytes']-=_0x31baab[_0x273099],this[_0x344f4d(0x170)]=_0x159425,_0x31baab['readOnly']=!0x1,this[_0x344f4d(0x123)](_0x557eb4['frame'](_0x38c2d0,_0x31baab),_0x21c073),this['dequeue']();});}['dequeue'](){const _0x420047=_0x47868a;for(;this[_0x420047(0x170)]===_0x159425&&this[_0x420047(0x135)]['length'];){const _0x3746c5=this[_0x420047(0x135)][_0x420047(0x12d)]();this['_bufferedBytes']-=_0x3746c5[0x3][_0x273099],Reflect[_0x420047(0xd7)](_0x3746c5[0x0],this,_0x3746c5['slice'](0x1));}}[_0x47868a(0x264)](_0x34d863){const _0x46472e=_0x47868a;this['_bufferedBytes']+=_0x34d863[0x3][_0x273099],this[_0x46472e(0x135)][_0x46472e(0x19b)](_0x34d863);}[_0x47868a(0x123)](_0x521719,_0xf5db56){const _0x42423e=_0x47868a;_0x521719[_0x42423e(0x115)]===0x2?(this[_0x42423e(0x218)][_0x42423e(0x16e)](),this[_0x42423e(0x218)]['write'](_0x521719[0x0]),this[_0x42423e(0x218)][_0x42423e(0x1eb)](_0x521719[0x1],_0xf5db56),this[_0x42423e(0x218)][_0x42423e(0x229)]()):this[_0x42423e(0x218)]['write'](_0x521719[0x0],_0xf5db56);}}Ee=_0x557eb4;function _0x310a60(_0xe5adf8,_0x117043,_0xe921bf){const _0x37c312=_0x47868a;typeof _0xe921bf==_0x37c312(0x23e)&&_0xe921bf(_0x117043);for(let _0x556827=0x0;_0x556827<_0xe5adf8['_queue'][_0x37c312(0x115)];_0x556827++){const _0x5bf5b2=_0xe5adf8[_0x37c312(0x135)][_0x556827],_0x3eba21=_0x5bf5b2[_0x5bf5b2[_0x37c312(0x115)]-0x1];typeof _0x3eba21==_0x37c312(0x23e)&&_0x3eba21(_0x117043);}}function _0x3f4ef1(_0x5570eb,_0x1ce51e,_0x209464){const _0x324be0=_0x47868a;_0x310a60(_0x5570eb,_0x1ce51e,_0x209464),_0x5570eb[_0x324be0(0x27c)](_0x1ce51e);}return Ee;}var xe,Ze;function It(){const _0x17cab0=_0x408f6e;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x7582cd,kListener:_0x56e6b0}=H(),_0x4a848c=Symbol(_0x17cab0(0x282)),_0x5a72d6=Symbol(_0x17cab0(0x16d)),_0x32b6f7=Symbol(_0x17cab0(0xd3)),_0x4c8836=Symbol('kMessage'),_0x4ee87e=Symbol('kReason'),_0x3d7dc7=Symbol('kTarget'),_0x48a6c1=Symbol('kType'),_0x22dba2=Symbol('kWasClean');class _0x2809b0{constructor(_0x46bd22){this[_0x3d7dc7]=null,this[_0x48a6c1]=_0x46bd22;}get[_0x17cab0(0x1a2)](){return this[_0x3d7dc7];}get[_0x17cab0(0x145)](){return this[_0x48a6c1];}}Object['defineProperty'](_0x2809b0[_0x17cab0(0x244)],_0x17cab0(0x1a2),{'enumerable':!0x0}),Object[_0x17cab0(0x127)](_0x2809b0[_0x17cab0(0x244)],_0x17cab0(0x145),{'enumerable':!0x0});class _0x48b7c9 extends _0x2809b0{constructor(_0x51cfd2,_0x18c432={}){const _0x50e508=_0x17cab0;super(_0x51cfd2),this[_0x4a848c]=_0x18c432[_0x50e508(0x19e)]===void 0x0?0x0:_0x18c432[_0x50e508(0x19e)],this[_0x4ee87e]=_0x18c432['reason']===void 0x0?'':_0x18c432['reason'],this[_0x22dba2]=_0x18c432['wasClean']===void 0x0?!0x1:_0x18c432['wasClean'];}get[_0x17cab0(0x19e)](){return this[_0x4a848c];}get[_0x17cab0(0x232)](){return this[_0x4ee87e];}get[_0x17cab0(0x1df)](){return this[_0x22dba2];}}Object[_0x17cab0(0x127)](_0x48b7c9[_0x17cab0(0x244)],_0x17cab0(0x19e),{'enumerable':!0x0}),Object[_0x17cab0(0x127)](_0x48b7c9['prototype'],_0x17cab0(0x232),{'enumerable':!0x0}),Object[_0x17cab0(0x127)](_0x48b7c9['prototype'],_0x17cab0(0x1df),{'enumerable':!0x0});class _0x9851c1 extends _0x2809b0{constructor(_0x410425,_0x525035={}){const _0x4d0e36=_0x17cab0;super(_0x410425),this[_0x32b6f7]=_0x525035['error']===void 0x0?null:_0x525035[_0x4d0e36(0xf7)],this[_0x4c8836]=_0x525035[_0x4d0e36(0x1de)]===void 0x0?'':_0x525035[_0x4d0e36(0x1de)];}get[_0x17cab0(0xf7)](){return this[_0x32b6f7];}get[_0x17cab0(0x1de)](){return this[_0x4c8836];}}Object[_0x17cab0(0x127)](_0x9851c1[_0x17cab0(0x244)],'error',{'enumerable':!0x0}),Object[_0x17cab0(0x127)](_0x9851c1['prototype'],_0x17cab0(0x1de),{'enumerable':!0x0});class _0x57e586 extends _0x2809b0{constructor(_0x2614de,_0x1be04f={}){const _0x261d9c=_0x17cab0;super(_0x2614de),this[_0x5a72d6]=_0x1be04f[_0x261d9c(0x1e3)]===void 0x0?null:_0x1be04f['data'];}get[_0x17cab0(0x1e3)](){return this[_0x5a72d6];}}Object[_0x17cab0(0x127)](_0x57e586[_0x17cab0(0x244)],_0x17cab0(0x1e3),{'enumerable':!0x0}),xe={'CloseEvent':_0x48b7c9,'ErrorEvent':_0x9851c1,'Event':_0x2809b0,'EventTarget':{'addEventListener'(_0x3e2d43,_0x29f1b4,_0x3fb7a4={}){const _0x1e7fcd=_0x17cab0;for(const _0x4c6018 of this['listeners'](_0x3e2d43))if(!_0x3fb7a4[_0x7582cd]&&_0x4c6018[_0x56e6b0]===_0x29f1b4&&!_0x4c6018[_0x7582cd])return;let _0x168612;if(_0x3e2d43===_0x1e7fcd(0x1de))_0x168612=function(_0x21961b,_0x3547bb){const _0x356cad=_0x1e7fcd,_0x27a608=new _0x57e586('message',{'data':_0x3547bb?_0x21961b:_0x21961b[_0x356cad(0x1f8)]()});_0x27a608[_0x3d7dc7]=this,_0x36abec(_0x29f1b4,this,_0x27a608);};else{if(_0x3e2d43===_0x1e7fcd(0x25e))_0x168612=function(_0x366763,_0x3fe3b1){const _0x150fca=_0x1e7fcd,_0xaea7c=new _0x48b7c9(_0x150fca(0x25e),{'code':_0x366763,'reason':_0x3fe3b1[_0x150fca(0x1f8)](),'wasClean':this[_0x150fca(0x16a)]&&this[_0x150fca(0x1ed)]});_0xaea7c[_0x3d7dc7]=this,_0x36abec(_0x29f1b4,this,_0xaea7c);};else{if(_0x3e2d43===_0x1e7fcd(0xf7))_0x168612=function(_0x229b49){const _0x4a0a22=_0x1e7fcd,_0x597136=new _0x9851c1(_0x4a0a22(0xf7),{'error':_0x229b49,'message':_0x229b49['message']});_0x597136[_0x3d7dc7]=this,_0x36abec(_0x29f1b4,this,_0x597136);};else{if(_0x3e2d43===_0x1e7fcd(0x109))_0x168612=function(){const _0x204e9d=_0x1e7fcd,_0x543711=new _0x2809b0(_0x204e9d(0x109));_0x543711[_0x3d7dc7]=this,_0x36abec(_0x29f1b4,this,_0x543711);};else return;}}}_0x168612[_0x7582cd]=!!_0x3fb7a4[_0x7582cd],_0x168612[_0x56e6b0]=_0x29f1b4,_0x3fb7a4['once']?this[_0x1e7fcd(0x249)](_0x3e2d43,_0x168612):this['on'](_0x3e2d43,_0x168612);},'removeEventListener'(_0x282cc1,_0x50f4a4){const _0x4678f3=_0x17cab0;for(const _0x346ea8 of this[_0x4678f3(0x1f2)](_0x282cc1))if(_0x346ea8[_0x56e6b0]===_0x50f4a4&&!_0x346ea8[_0x7582cd]){this[_0x4678f3(0x1ee)](_0x282cc1,_0x346ea8);break;}}},'MessageEvent':_0x57e586};function _0x36abec(_0x50361f,_0x32f9c2,_0x30d243){const _0x580fac=_0x17cab0;typeof _0x50361f=='object'&&_0x50361f[_0x580fac(0x144)]?_0x50361f[_0x580fac(0x144)]['call'](_0x50361f,_0x30d243):_0x50361f[_0x580fac(0x25c)](_0x32f9c2,_0x30d243);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x20f610}=ae();function _0x2982dc(_0x510dab,_0x1b74be,_0x4133e8){_0x510dab[_0x1b74be]===void 0x0?_0x510dab[_0x1b74be]=[_0x4133e8]:_0x510dab[_0x1b74be]['push'](_0x4133e8);}function _0x219498(_0xa28432){const _0x1bedfe=_0x4eb3,_0x5c202b=Object['create'](null);let _0x9c0096=Object['create'](null),_0x3577c9=!0x1,_0x2be835=!0x1,_0x108d43=!0x1,_0x5bc42d,_0x3f3b71,_0x22ae02=-0x1,_0x5d4875=-0x1,_0x3aefe1=-0x1,_0x20314b=0x0;for(;_0x20314b<_0xa28432['length'];_0x20314b++)if(_0x5d4875=_0xa28432[_0x1bedfe(0xf6)](_0x20314b),_0x5bc42d===void 0x0){if(_0x3aefe1===-0x1&&_0x20f610[_0x5d4875]===0x1)_0x22ae02===-0x1&&(_0x22ae02=_0x20314b);else{if(_0x20314b!==0x0&&(_0x5d4875===0x20||_0x5d4875===0x9))_0x3aefe1===-0x1&&_0x22ae02!==-0x1&&(_0x3aefe1=_0x20314b);else{if(_0x5d4875===0x3b||_0x5d4875===0x2c){if(_0x22ae02===-0x1)throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);_0x3aefe1===-0x1&&(_0x3aefe1=_0x20314b);const _0x590904=_0xa28432['slice'](_0x22ae02,_0x3aefe1);_0x5d4875===0x2c?(_0x2982dc(_0x5c202b,_0x590904,_0x9c0096),_0x9c0096=Object[_0x1bedfe(0x13c)](null)):_0x5bc42d=_0x590904,_0x22ae02=_0x3aefe1=-0x1;}else throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);}}}else{if(_0x3f3b71===void 0x0){if(_0x3aefe1===-0x1&&_0x20f610[_0x5d4875]===0x1)_0x22ae02===-0x1&&(_0x22ae02=_0x20314b);else{if(_0x5d4875===0x20||_0x5d4875===0x9)_0x3aefe1===-0x1&&_0x22ae02!==-0x1&&(_0x3aefe1=_0x20314b);else{if(_0x5d4875===0x3b||_0x5d4875===0x2c){if(_0x22ae02===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20314b);_0x3aefe1===-0x1&&(_0x3aefe1=_0x20314b),_0x2982dc(_0x9c0096,_0xa28432['slice'](_0x22ae02,_0x3aefe1),!0x0),_0x5d4875===0x2c&&(_0x2982dc(_0x5c202b,_0x5bc42d,_0x9c0096),_0x9c0096=Object['create'](null),_0x5bc42d=void 0x0),_0x22ae02=_0x3aefe1=-0x1;}else{if(_0x5d4875===0x3d&&_0x22ae02!==-0x1&&_0x3aefe1===-0x1)_0x3f3b71=_0xa28432['slice'](_0x22ae02,_0x20314b),_0x22ae02=_0x3aefe1=-0x1;else throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);}}}}else{if(_0x2be835){if(_0x20f610[_0x5d4875]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20314b);_0x22ae02===-0x1?_0x22ae02=_0x20314b:_0x3577c9||(_0x3577c9=!0x0),_0x2be835=!0x1;}else{if(_0x108d43){if(_0x20f610[_0x5d4875]===0x1)_0x22ae02===-0x1&&(_0x22ae02=_0x20314b);else{if(_0x5d4875===0x22&&_0x22ae02!==-0x1)_0x108d43=!0x1,_0x3aefe1=_0x20314b;else{if(_0x5d4875===0x5c)_0x2be835=!0x0;else throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);}}}else{if(_0x5d4875===0x22&&_0xa28432[_0x1bedfe(0xf6)](_0x20314b-0x1)===0x3d)_0x108d43=!0x0;else{if(_0x3aefe1===-0x1&&_0x20f610[_0x5d4875]===0x1)_0x22ae02===-0x1&&(_0x22ae02=_0x20314b);else{if(_0x22ae02!==-0x1&&(_0x5d4875===0x20||_0x5d4875===0x9))_0x3aefe1===-0x1&&(_0x3aefe1=_0x20314b);else{if(_0x5d4875===0x3b||_0x5d4875===0x2c){if(_0x22ae02===-0x1)throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);_0x3aefe1===-0x1&&(_0x3aefe1=_0x20314b);let _0x3f2320=_0xa28432['slice'](_0x22ae02,_0x3aefe1);_0x3577c9&&(_0x3f2320=_0x3f2320[_0x1bedfe(0x18b)](/\\/g,''),_0x3577c9=!0x1),_0x2982dc(_0x9c0096,_0x3f3b71,_0x3f2320),_0x5d4875===0x2c&&(_0x2982dc(_0x5c202b,_0x5bc42d,_0x9c0096),_0x9c0096=Object[_0x1bedfe(0x13c)](null),_0x5bc42d=void 0x0),_0x3f3b71=void 0x0,_0x22ae02=_0x3aefe1=-0x1;}else throw new SyntaxError(_0x1bedfe(0x1b2)+_0x20314b);}}}}}}}if(_0x22ae02===-0x1||_0x108d43||_0x5d4875===0x20||_0x5d4875===0x9)throw new SyntaxError(_0x1bedfe(0x12b));_0x3aefe1===-0x1&&(_0x3aefe1=_0x20314b);const _0x3c359f=_0xa28432['slice'](_0x22ae02,_0x3aefe1);return _0x5bc42d===void 0x0?_0x2982dc(_0x5c202b,_0x3c359f,_0x9c0096):(_0x3f3b71===void 0x0?_0x2982dc(_0x9c0096,_0x3c359f,!0x0):_0x3577c9?_0x2982dc(_0x9c0096,_0x3f3b71,_0x3c359f[_0x1bedfe(0x18b)](/\\/g,'')):_0x2982dc(_0x9c0096,_0x3f3b71,_0x3c359f),_0x2982dc(_0x5c202b,_0x5bc42d,_0x9c0096)),_0x5c202b;}function _0xadfcba(_0x4ecff2){const _0xe86e3=_0x4eb3;return Object[_0xe86e3(0x176)](_0x4ecff2)[_0xe86e3(0x21f)](_0x5dc0f7=>{const _0xb2d015=_0xe86e3;let _0x1fc4a9=_0x4ecff2[_0x5dc0f7];return Array[_0xb2d015(0x1d5)](_0x1fc4a9)||(_0x1fc4a9=[_0x1fc4a9]),_0x1fc4a9[_0xb2d015(0x21f)](_0x9d1e9d=>[_0x5dc0f7]['concat'](Object[_0xb2d015(0x176)](_0x9d1e9d)[_0xb2d015(0x21f)](_0x313bc0=>{const _0x20d2d7=_0xb2d015;let _0x2cf606=_0x9d1e9d[_0x313bc0];return Array['isArray'](_0x2cf606)||(_0x2cf606=[_0x2cf606]),_0x2cf606[_0x20d2d7(0x21f)](_0x3dbcd3=>_0x3dbcd3===!0x0?_0x313bc0:_0x313bc0+'='+_0x3dbcd3)[_0x20d2d7(0x226)](';\x20');}))[_0xb2d015(0x226)](';\x20'))[_0xb2d015(0x226)](',\x20');})['join'](',\x20');}return be={'format':_0xadfcba,'parse':_0x219498},be;}var we,Je;function Pe(){const _0x237072=_0x408f6e;if(Je)return we;Je=0x1;const _0x224cf7=nt,_0x50a2ea=vt,_0x159f8=ot,_0x535781=St,_0x4f6f91=Et,{randomBytes:_0x3c06eb,createHash:_0x210737}=Le,{Duplex:_0x2cff6c,Readable:_0x3e5938}=oe,{URL:_0x656528}=xt,_0xd3140d=he(),_0x21d53d=lt(),_0x38cfb4=ft(),{isBlob:_0x2431ca}=ae(),{BINARY_TYPES:_0x2f7c88,EMPTY_BUFFER:_0x44bd80,GUID:_0x1a9077,kForOnEventAttribute:_0x2cc746,kListener:_0x3ce8a3,kStatusCode:_0x2b754a,kWebSocket:_0x55e158,NOOP:_0x5aa8bd}=H(),{EventTarget:{addEventListener:_0x53429d,removeEventListener:_0x13ae13}}=It(),{format:_0x15725b,parse:_0x2b553d}=ct(),{toBuffer:_0x4ada40}=ce(),_0x31cc71=0x1e*0x3e8,_0x16bfb1=Symbol(_0x237072(0x1db)),_0x30095f=[0x8,0xd],_0x27cb47=[_0x237072(0x121),_0x237072(0x122),_0x237072(0x19d),_0x237072(0x203)],_0x4c9404=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3f482f extends _0x224cf7{constructor(_0x2f2e1f,_0x282b8f,_0x525ea5){const _0xdbf18a=_0x237072;super(),this[_0xdbf18a(0x27a)]=_0x2f7c88[0x0],this[_0xdbf18a(0xf0)]=0x3ee,this[_0xdbf18a(0x16a)]=!0x1,this[_0xdbf18a(0x1ed)]=!0x1,this[_0xdbf18a(0x1c8)]=_0x44bd80,this[_0xdbf18a(0x168)]=null,this['_errorEmitted']=!0x1,this[_0xdbf18a(0x11d)]={},this[_0xdbf18a(0x272)]=!0x1,this['_protocol']='',this['_readyState']=_0x3f482f[_0xdbf18a(0x121)],this['_receiver']=null,this[_0xdbf18a(0x182)]=null,this[_0xdbf18a(0x218)]=null,_0x2f2e1f!==null?(this['_bufferedAmount']=0x0,this[_0xdbf18a(0xe2)]=!0x1,this['_redirects']=0x0,_0x282b8f===void 0x0?_0x282b8f=[]:Array['isArray'](_0x282b8f)||(typeof _0x282b8f==_0xdbf18a(0x108)&&_0x282b8f!==null?(_0x525ea5=_0x282b8f,_0x282b8f=[]):_0x282b8f=[_0x282b8f]),_0x3cf4fa(this,_0x2f2e1f,_0x282b8f,_0x525ea5)):(this[_0xdbf18a(0x191)]=_0x525ea5['autoPong'],this[_0xdbf18a(0xe2)]=!0x0);}get['binaryType'](){const _0x471a54=_0x237072;return this[_0x471a54(0x27a)];}set[_0x237072(0x242)](_0x461a2b){const _0x273e63=_0x237072;_0x2f7c88['includes'](_0x461a2b)&&(this['_binaryType']=_0x461a2b,this['_receiver']&&(this[_0x273e63(0x236)]['_binaryType']=_0x461a2b));}get[_0x237072(0x1d3)](){const _0x1a7222=_0x237072;return this[_0x1a7222(0x218)]?this[_0x1a7222(0x218)]['_writableState'][_0x1a7222(0x115)]+this[_0x1a7222(0x182)][_0x1a7222(0xfc)]:this[_0x1a7222(0x1b4)];}get[_0x237072(0xe5)](){const _0x3d7af6=_0x237072;return Object[_0x3d7af6(0x176)](this[_0x3d7af6(0x11d)])['join']();}get[_0x237072(0x111)](){const _0x4d057f=_0x237072;return this[_0x4d057f(0x272)];}get[_0x237072(0x26a)](){return null;}get[_0x237072(0x27c)](){return null;}get[_0x237072(0x196)](){return null;}get[_0x237072(0x1c1)](){return null;}get[_0x237072(0x1c0)](){const _0x102581=_0x237072;return this[_0x102581(0x21c)];}get['readyState'](){const _0x5df275=_0x237072;return this[_0x5df275(0x212)];}get['url'](){return this['_url'];}[_0x237072(0x277)](_0x21cb15,_0xca55e9,_0x93d2af){const _0x308e0b=_0x237072,_0x335eb0=new _0x21d53d({'allowSynchronousEvents':_0x93d2af[_0x308e0b(0x11b)],'binaryType':this[_0x308e0b(0x242)],'extensions':this['_extensions'],'isServer':this[_0x308e0b(0xe2)],'maxPayload':_0x93d2af['maxPayload'],'skipUTF8Validation':_0x93d2af['skipUTF8Validation']}),_0x426412=new _0x38cfb4(_0x21cb15,this[_0x308e0b(0x11d)],_0x93d2af[_0x308e0b(0x160)]);this[_0x308e0b(0x236)]=_0x335eb0,this['_sender']=_0x426412,this[_0x308e0b(0x218)]=_0x21cb15,_0x335eb0[_0x55e158]=this,_0x426412[_0x55e158]=this,_0x21cb15[_0x55e158]=this,_0x335eb0['on']('conclude',_0x5673fa),_0x335eb0['on'](_0x308e0b(0x1ca),_0x4e54ea),_0x335eb0['on'](_0x308e0b(0xf7),_0x563bc5),_0x335eb0['on'](_0x308e0b(0x1de),_0x221a21),_0x335eb0['on'](_0x308e0b(0x22f),_0x1ba71f),_0x335eb0['on']('pong',_0xdc21e2),_0x426412[_0x308e0b(0x27c)]=_0x4dd470,_0x21cb15[_0x308e0b(0x1ea)]&&_0x21cb15['setTimeout'](0x0),_0x21cb15['setNoDelay']&&_0x21cb15[_0x308e0b(0xec)](),_0xca55e9[_0x308e0b(0x115)]>0x0&&_0x21cb15[_0x308e0b(0x202)](_0xca55e9),_0x21cb15['on'](_0x308e0b(0x25e),_0x1234a7),_0x21cb15['on'](_0x308e0b(0x1e3),_0x1ad927),_0x21cb15['on'](_0x308e0b(0xf2),_0x546e42),_0x21cb15['on'](_0x308e0b(0xf7),_0x36154c),this[_0x308e0b(0x212)]=_0x3f482f[_0x308e0b(0x122)],this[_0x308e0b(0x157)](_0x308e0b(0x109));}[_0x237072(0x1b7)](){const _0x5e8a0e=_0x237072;if(!this['_socket']){this[_0x5e8a0e(0x212)]=_0x3f482f[_0x5e8a0e(0x203)],this['emit'](_0x5e8a0e(0x25e),this['_closeCode'],this['_closeMessage']);return;}this[_0x5e8a0e(0x11d)][_0xd3140d[_0x5e8a0e(0xd8)]]&&this['_extensions'][_0xd3140d[_0x5e8a0e(0xd8)]][_0x5e8a0e(0x25d)](),this[_0x5e8a0e(0x236)]['removeAllListeners'](),this[_0x5e8a0e(0x212)]=_0x3f482f[_0x5e8a0e(0x203)],this[_0x5e8a0e(0x157)](_0x5e8a0e(0x25e),this[_0x5e8a0e(0xf0)],this['_closeMessage']);}[_0x237072(0x25e)](_0x249a00,_0x1c13f7){const _0x2e5080=_0x237072;if(this[_0x2e5080(0x275)]!==_0x3f482f[_0x2e5080(0x203)]){if(this[_0x2e5080(0x275)]===_0x3f482f[_0x2e5080(0x121)]){_0x4a7f1a(this,this[_0x2e5080(0x235)],_0x2e5080(0x156));return;}if(this[_0x2e5080(0x275)]===_0x3f482f['CLOSING']){this['_closeFrameSent']&&(this[_0x2e5080(0x16a)]||this[_0x2e5080(0x236)][_0x2e5080(0x213)][_0x2e5080(0x210)])&&this[_0x2e5080(0x218)][_0x2e5080(0xf2)]();return;}this[_0x2e5080(0x212)]=_0x3f482f[_0x2e5080(0x19d)],this[_0x2e5080(0x182)][_0x2e5080(0x25e)](_0x249a00,_0x1c13f7,!this[_0x2e5080(0xe2)],_0x1845a0=>{const _0x5e51e4=_0x2e5080;_0x1845a0||(this[_0x5e51e4(0x1ed)]=!0x0,(this[_0x5e51e4(0x16a)]||this[_0x5e51e4(0x236)]['_writableState']['errorEmitted'])&&this[_0x5e51e4(0x218)][_0x5e51e4(0xf2)]());}),_0x3eb65d(this);}}[_0x237072(0x181)](){const _0x420c2f=_0x237072;this['readyState']===_0x3f482f[_0x420c2f(0x121)]||this['readyState']===_0x3f482f['CLOSED']||(this['_paused']=!0x0,this[_0x420c2f(0x218)]['pause']());}[_0x237072(0x22f)](_0x56ccd5,_0x5b7d48,_0x59ae43){const _0x3a3fd1=_0x237072;if(this[_0x3a3fd1(0x275)]===_0x3f482f[_0x3a3fd1(0x121)])throw new Error(_0x3a3fd1(0x1b8));if(typeof _0x56ccd5==_0x3a3fd1(0x23e)?(_0x59ae43=_0x56ccd5,_0x56ccd5=_0x5b7d48=void 0x0):typeof _0x5b7d48==_0x3a3fd1(0x23e)&&(_0x59ae43=_0x5b7d48,_0x5b7d48=void 0x0),typeof _0x56ccd5==_0x3a3fd1(0x151)&&(_0x56ccd5=_0x56ccd5['toString']()),this[_0x3a3fd1(0x275)]!==_0x3f482f[_0x3a3fd1(0x122)]){_0x5724d7(this,_0x56ccd5,_0x59ae43);return;}_0x5b7d48===void 0x0&&(_0x5b7d48=!this[_0x3a3fd1(0xe2)]),this[_0x3a3fd1(0x182)]['ping'](_0x56ccd5||_0x44bd80,_0x5b7d48,_0x59ae43);}['pong'](_0x16c30b,_0x57a218,_0x189021){const _0x1e6747=_0x237072;if(this[_0x1e6747(0x275)]===_0x3f482f['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16c30b=='function'?(_0x189021=_0x16c30b,_0x16c30b=_0x57a218=void 0x0):typeof _0x57a218==_0x1e6747(0x23e)&&(_0x189021=_0x57a218,_0x57a218=void 0x0),typeof _0x16c30b==_0x1e6747(0x151)&&(_0x16c30b=_0x16c30b['toString']()),this[_0x1e6747(0x275)]!==_0x3f482f['OPEN']){_0x5724d7(this,_0x16c30b,_0x189021);return;}_0x57a218===void 0x0&&(_0x57a218=!this[_0x1e6747(0xe2)]),this['_sender'][_0x1e6747(0x110)](_0x16c30b||_0x44bd80,_0x57a218,_0x189021);}[_0x237072(0x1b1)](){const _0x5188c5=_0x237072;this['readyState']===_0x3f482f['CONNECTING']||this[_0x5188c5(0x275)]===_0x3f482f[_0x5188c5(0x203)]||(this[_0x5188c5(0x272)]=!0x1,this[_0x5188c5(0x236)][_0x5188c5(0x213)][_0x5188c5(0xfb)]||this[_0x5188c5(0x218)][_0x5188c5(0x1b1)]());}['send'](_0x609a83,_0x47433a,_0x3dfcc1){const _0x1f8928=_0x237072;if(this[_0x1f8928(0x275)]===_0x3f482f['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47433a==_0x1f8928(0x23e)&&(_0x3dfcc1=_0x47433a,_0x47433a={}),typeof _0x609a83==_0x1f8928(0x151)&&(_0x609a83=_0x609a83[_0x1f8928(0x1f8)]()),this['readyState']!==_0x3f482f['OPEN']){_0x5724d7(this,_0x609a83,_0x3dfcc1);return;}const _0x1ba679={'binary':typeof _0x609a83!='string','mask':!this[_0x1f8928(0xe2)],'compress':!0x0,'fin':!0x0,..._0x47433a};this[_0x1f8928(0x11d)][_0xd3140d['extensionName']]||(_0x1ba679['compress']=!0x1),this[_0x1f8928(0x182)]['send'](_0x609a83||_0x44bd80,_0x1ba679,_0x3dfcc1);}[_0x237072(0x17e)](){const _0x228f9a=_0x237072;if(this['readyState']!==_0x3f482f['CLOSED']){if(this[_0x228f9a(0x275)]===_0x3f482f[_0x228f9a(0x121)]){_0x4a7f1a(this,this[_0x228f9a(0x235)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this['_readyState']=_0x3f482f[_0x228f9a(0x19d)],this[_0x228f9a(0x218)][_0x228f9a(0x1ad)]());}}}Object[_0x237072(0x127)](_0x3f482f,_0x237072(0x121),{'enumerable':!0x0,'value':_0x27cb47[_0x237072(0x193)]('CONNECTING')}),Object['defineProperty'](_0x3f482f[_0x237072(0x244)],_0x237072(0x121),{'enumerable':!0x0,'value':_0x27cb47['indexOf'](_0x237072(0x121))}),Object['defineProperty'](_0x3f482f,'OPEN',{'enumerable':!0x0,'value':_0x27cb47[_0x237072(0x193)](_0x237072(0x122))}),Object['defineProperty'](_0x3f482f[_0x237072(0x244)],_0x237072(0x122),{'enumerable':!0x0,'value':_0x27cb47['indexOf']('OPEN')}),Object[_0x237072(0x127)](_0x3f482f,_0x237072(0x19d),{'enumerable':!0x0,'value':_0x27cb47[_0x237072(0x193)](_0x237072(0x19d))}),Object[_0x237072(0x127)](_0x3f482f[_0x237072(0x244)],_0x237072(0x19d),{'enumerable':!0x0,'value':_0x27cb47[_0x237072(0x193)](_0x237072(0x19d))}),Object[_0x237072(0x127)](_0x3f482f,_0x237072(0x203),{'enumerable':!0x0,'value':_0x27cb47['indexOf'](_0x237072(0x203))}),Object[_0x237072(0x127)](_0x3f482f['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x27cb47[_0x237072(0x193)]('CLOSED')}),['binaryType',_0x237072(0x1d3),_0x237072(0xe5),_0x237072(0x111),_0x237072(0x1c0),_0x237072(0x275),_0x237072(0x103)]['forEach'](_0x16c121=>{const _0x49bfbb=_0x237072;Object[_0x49bfbb(0x127)](_0x3f482f[_0x49bfbb(0x244)],_0x16c121,{'enumerable':!0x0});}),['open','error','close',_0x237072(0x1de)][_0x237072(0x195)](_0x2307cd=>{const _0xccdfd8=_0x237072;Object[_0xccdfd8(0x127)](_0x3f482f[_0xccdfd8(0x244)],'on'+_0x2307cd,{'enumerable':!0x0,'get'(){const _0x380b1f=_0xccdfd8;for(const _0x260c92 of this[_0x380b1f(0x1f2)](_0x2307cd))if(_0x260c92[_0x2cc746])return _0x260c92[_0x3ce8a3];return null;},'set'(_0x22b8ea){const _0x3848b2=_0xccdfd8;for(const _0x54c610 of this[_0x3848b2(0x1f2)](_0x2307cd))if(_0x54c610[_0x2cc746]){this[_0x3848b2(0x1ee)](_0x2307cd,_0x54c610);break;}typeof _0x22b8ea==_0x3848b2(0x23e)&&this[_0x3848b2(0x1b6)](_0x2307cd,_0x22b8ea,{[_0x2cc746]:!0x0});}});}),_0x3f482f['prototype'][_0x237072(0x1b6)]=_0x53429d,_0x3f482f[_0x237072(0x244)]['removeEventListener']=_0x13ae13,we=_0x3f482f;function _0x3cf4fa(_0x3edd96,_0x43c957,_0x22ebe5,_0x4b7444){const _0x45a96a=_0x237072,_0x245aa7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x30095f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4b7444,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3edd96[_0x45a96a(0x191)]=_0x245aa7['autoPong'],!_0x30095f[_0x45a96a(0x260)](_0x245aa7['protocolVersion']))throw new RangeError(_0x45a96a(0x104)+_0x245aa7['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x30095f[_0x45a96a(0x226)](',\x20')+')');let _0x20cefa;if(_0x43c957 instanceof _0x656528)_0x20cefa=_0x43c957;else try{_0x20cefa=new _0x656528(_0x43c957);}catch{throw new SyntaxError(_0x45a96a(0x167)+_0x43c957);}_0x20cefa['protocol']===_0x45a96a(0x276)?_0x20cefa['protocol']=_0x45a96a(0x14d):_0x20cefa['protocol']===_0x45a96a(0x23a)&&(_0x20cefa[_0x45a96a(0x1c0)]=_0x45a96a(0x13b)),_0x3edd96['_url']=_0x20cefa[_0x45a96a(0x1f6)];const _0x3092ac=_0x20cefa[_0x45a96a(0x1c0)]===_0x45a96a(0x13b),_0x540f8d=_0x20cefa['protocol']===_0x45a96a(0x1cc);let _0x4f0662;if(_0x20cefa[_0x45a96a(0x1c0)]!==_0x45a96a(0x14d)&&!_0x3092ac&&!_0x540f8d?_0x4f0662=_0x45a96a(0x132):_0x540f8d&&!_0x20cefa['pathname']?_0x4f0662=_0x45a96a(0x138):_0x20cefa['hash']&&(_0x4f0662='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x4f0662){const _0x1c193b=new SyntaxError(_0x4f0662);if(_0x3edd96[_0x45a96a(0x1e5)]===0x0)throw _0x1c193b;_0xc73262(_0x3edd96,_0x1c193b);return;}const _0x5655ab=_0x3092ac?0x1bb:0x50,_0x7026a3=_0x3c06eb(0x10)[_0x45a96a(0x1f8)]('base64'),_0x247e9a=_0x3092ac?_0x50a2ea[_0x45a96a(0x12e)]:_0x159f8[_0x45a96a(0x12e)],_0x33c3e8=new Set();let _0x4a7c5d;if(_0x245aa7[_0x45a96a(0x139)]=_0x245aa7[_0x45a96a(0x139)]||(_0x3092ac?_0x1176c4:_0x34a705),_0x245aa7[_0x45a96a(0xe4)]=_0x245aa7[_0x45a96a(0xe4)]||_0x5655ab,_0x245aa7[_0x45a96a(0x10b)]=_0x20cefa[_0x45a96a(0x10b)]||_0x5655ab,_0x245aa7['host']=_0x20cefa['hostname']['startsWith']('[')?_0x20cefa[_0x45a96a(0x197)][_0x45a96a(0x1c2)](0x1,-0x1):_0x20cefa[_0x45a96a(0x197)],_0x245aa7[_0x45a96a(0x1bb)]={..._0x245aa7['headers'],'Sec-WebSocket-Version':_0x245aa7[_0x45a96a(0x1ae)],'Sec-WebSocket-Key':_0x7026a3,'Connection':_0x45a96a(0x158),'Upgrade':_0x45a96a(0x1a7)},_0x245aa7[_0x45a96a(0x17c)]=_0x20cefa['pathname']+_0x20cefa[_0x45a96a(0x19c)],_0x245aa7[_0x45a96a(0x22a)]=_0x245aa7[_0x45a96a(0x23c)],_0x245aa7[_0x45a96a(0x1d8)]&&(_0x4a7c5d=new _0xd3140d(_0x245aa7['perMessageDeflate']!==!0x0?_0x245aa7[_0x45a96a(0x1d8)]:{},!0x1,_0x245aa7[_0x45a96a(0x11e)]),_0x245aa7[_0x45a96a(0x1bb)]['Sec-WebSocket-Extensions']=_0x15725b({[_0xd3140d[_0x45a96a(0xd8)]]:_0x4a7c5d['offer']()})),_0x22ebe5[_0x45a96a(0x115)]){for(const _0x60d50 of _0x22ebe5){if(typeof _0x60d50!='string'||!_0x4c9404[_0x45a96a(0x15e)](_0x60d50)||_0x33c3e8[_0x45a96a(0x11f)](_0x60d50))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x33c3e8[_0x45a96a(0x106)](_0x60d50);}_0x245aa7[_0x45a96a(0x1bb)][_0x45a96a(0x219)]=_0x22ebe5[_0x45a96a(0x226)](',');}if(_0x245aa7[_0x45a96a(0x271)]&&(_0x245aa7[_0x45a96a(0x1ae)]<0xd?_0x245aa7[_0x45a96a(0x1bb)][_0x45a96a(0xf5)]=_0x245aa7[_0x45a96a(0x271)]:_0x245aa7[_0x45a96a(0x1bb)]['Origin']=_0x245aa7[_0x45a96a(0x271)]),(_0x20cefa['username']||_0x20cefa[_0x45a96a(0x1a8)])&&(_0x245aa7['auth']=_0x20cefa['username']+':'+_0x20cefa[_0x45a96a(0x1a8)]),_0x540f8d){const _0x38af53=_0x245aa7['path'][_0x45a96a(0x1ab)](':');_0x245aa7[_0x45a96a(0x248)]=_0x38af53[0x0],_0x245aa7[_0x45a96a(0x17c)]=_0x38af53[0x1];}let _0x4bb693;if(_0x245aa7[_0x45a96a(0x27f)]){if(_0x3edd96['_redirects']===0x0){_0x3edd96[_0x45a96a(0x18f)]=_0x540f8d,_0x3edd96[_0x45a96a(0x19a)]=_0x3092ac,_0x3edd96[_0x45a96a(0x214)]=_0x540f8d?_0x245aa7[_0x45a96a(0x248)]:_0x20cefa[_0x45a96a(0xe7)];const _0x1d5d2d=_0x4b7444&&_0x4b7444[_0x45a96a(0x1bb)];if(_0x4b7444={..._0x4b7444,'headers':{}},_0x1d5d2d){for(const [_0x216284,_0x535c78]of Object['entries'](_0x1d5d2d))_0x4b7444[_0x45a96a(0x1bb)][_0x216284['toLowerCase']()]=_0x535c78;}}else{if(_0x3edd96[_0x45a96a(0x1fd)](_0x45a96a(0xc6))===0x0){const _0x50cbec=_0x540f8d?_0x3edd96[_0x45a96a(0x18f)]?_0x245aa7[_0x45a96a(0x248)]===_0x3edd96['_originalHostOrSocketPath']:!0x1:_0x3edd96['_originalIpc']?!0x1:_0x20cefa['host']===_0x3edd96[_0x45a96a(0x214)];(!_0x50cbec||_0x3edd96[_0x45a96a(0x19a)]&&!_0x3092ac)&&(delete _0x245aa7[_0x45a96a(0x1bb)]['authorization'],delete _0x245aa7['headers'][_0x45a96a(0x1b5)],_0x50cbec||delete _0x245aa7[_0x45a96a(0x1bb)][_0x45a96a(0xe7)],_0x245aa7[_0x45a96a(0xd0)]=void 0x0);}}_0x245aa7[_0x45a96a(0xd0)]&&!_0x4b7444['headers'][_0x45a96a(0xcc)]&&(_0x4b7444[_0x45a96a(0x1bb)][_0x45a96a(0xcc)]=_0x45a96a(0x20c)+Buffer['from'](_0x245aa7['auth'])['toString']('base64')),_0x4bb693=_0x3edd96[_0x45a96a(0x235)]=_0x247e9a(_0x245aa7),_0x3edd96['_redirects']&&_0x3edd96[_0x45a96a(0x157)]('redirect',_0x3edd96[_0x45a96a(0x103)],_0x4bb693);}else _0x4bb693=_0x3edd96[_0x45a96a(0x235)]=_0x247e9a(_0x245aa7);_0x245aa7[_0x45a96a(0x22a)]&&_0x4bb693['on'](_0x45a96a(0x22a),()=>{const _0x4e5fdf=_0x45a96a;_0x4a7f1a(_0x3edd96,_0x4bb693,_0x4e5fdf(0x27b));}),_0x4bb693['on'](_0x45a96a(0xf7),_0x235f6d=>{const _0x5e179c=_0x45a96a;_0x4bb693===null||_0x4bb693[_0x16bfb1]||(_0x4bb693=_0x3edd96[_0x5e179c(0x235)]=null,_0xc73262(_0x3edd96,_0x235f6d));}),_0x4bb693['on']('response',_0x161914=>{const _0x43b9c8=_0x45a96a,_0x568bac=_0x161914[_0x43b9c8(0x1bb)][_0x43b9c8(0x239)],_0x423b53=_0x161914[_0x43b9c8(0x130)];if(_0x568bac&&_0x245aa7[_0x43b9c8(0x27f)]&&_0x423b53>=0x12c&&_0x423b53<0x190){if(++_0x3edd96[_0x43b9c8(0x1e5)]>_0x245aa7[_0x43b9c8(0x269)]){_0x4a7f1a(_0x3edd96,_0x4bb693,'Maximum\x20redirects\x20exceeded');return;}_0x4bb693[_0x43b9c8(0xf3)]();let _0x5b4660;try{_0x5b4660=new _0x656528(_0x568bac,_0x43c957);}catch{const _0x5c72e8=new SyntaxError(_0x43b9c8(0x167)+_0x568bac);_0xc73262(_0x3edd96,_0x5c72e8);return;}_0x3cf4fa(_0x3edd96,_0x5b4660,_0x22ebe5,_0x4b7444);}else _0x3edd96['emit'](_0x43b9c8(0x136),_0x4bb693,_0x161914)||_0x4a7f1a(_0x3edd96,_0x4bb693,_0x43b9c8(0x1a3)+_0x161914['statusCode']);}),_0x4bb693['on'](_0x45a96a(0x1b0),(_0x76de48,_0x3d3c9e,_0x2e083e)=>{const _0x3808f5=_0x45a96a;if(_0x3edd96[_0x3808f5(0x157)](_0x3808f5(0x1b0),_0x76de48),_0x3edd96[_0x3808f5(0x275)]!==_0x3f482f[_0x3808f5(0x121)])return;_0x4bb693=_0x3edd96[_0x3808f5(0x235)]=null;const _0x17f56e=_0x76de48[_0x3808f5(0x1bb)][_0x3808f5(0x1b0)];if(_0x17f56e===void 0x0||_0x17f56e[_0x3808f5(0x1bc)]()!=='websocket'){_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0x1b9));return;}const _0x41d451=_0x210737(_0x3808f5(0x208))[_0x3808f5(0x141)](_0x7026a3+_0x1a9077)[_0x3808f5(0x215)](_0x3808f5(0x189));if(_0x76de48[_0x3808f5(0x1bb)][_0x3808f5(0x14a)]!==_0x41d451){_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0x159));return;}const _0x49fc52=_0x76de48[_0x3808f5(0x1bb)][_0x3808f5(0x251)];let _0x14e6e5;if(_0x49fc52!==void 0x0?_0x33c3e8[_0x3808f5(0x114)]?_0x33c3e8[_0x3808f5(0x11f)](_0x49fc52)||(_0x14e6e5=_0x3808f5(0xf1)):_0x14e6e5=_0x3808f5(0x240):_0x33c3e8[_0x3808f5(0x114)]&&(_0x14e6e5='Server\x20sent\x20no\x20subprotocol'),_0x14e6e5){_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x14e6e5);return;}_0x49fc52&&(_0x3edd96['_protocol']=_0x49fc52);const _0x459756=_0x76de48[_0x3808f5(0x1bb)][_0x3808f5(0x1e0)];if(_0x459756!==void 0x0){if(!_0x4a7c5d){_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0xff));return;}let _0x30af48;try{_0x30af48=_0x2b553d(_0x459756);}catch{_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0x238));return;}const _0x31b069=Object['keys'](_0x30af48);if(_0x31b069[_0x3808f5(0x115)]!==0x1||_0x31b069[0x0]!==_0xd3140d[_0x3808f5(0xd8)]){_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0x1c5));return;}try{_0x4a7c5d[_0x3808f5(0x27d)](_0x30af48[_0xd3140d[_0x3808f5(0xd8)]]);}catch{_0x4a7f1a(_0x3edd96,_0x3d3c9e,_0x3808f5(0x238));return;}_0x3edd96[_0x3808f5(0x11d)][_0xd3140d[_0x3808f5(0xd8)]]=_0x4a7c5d;}_0x3edd96[_0x3808f5(0x277)](_0x3d3c9e,_0x2e083e,{'allowSynchronousEvents':_0x245aa7[_0x3808f5(0x11b)],'generateMask':_0x245aa7[_0x3808f5(0x160)],'maxPayload':_0x245aa7[_0x3808f5(0x11e)],'skipUTF8Validation':_0x245aa7[_0x3808f5(0x17b)]});}),_0x245aa7[_0x45a96a(0x18c)]?_0x245aa7[_0x45a96a(0x18c)](_0x4bb693,_0x3edd96):_0x4bb693[_0x45a96a(0xf2)]();}function _0xc73262(_0x11ede4,_0xdce711){const _0x548faf=_0x237072;_0x11ede4[_0x548faf(0x212)]=_0x3f482f[_0x548faf(0x19d)],_0x11ede4['_errorEmitted']=!0x0,_0x11ede4[_0x548faf(0x157)](_0x548faf(0xf7),_0xdce711),_0x11ede4['emitClose']();}function _0x34a705(_0x4ef773){const _0x5193d7=_0x237072;return _0x4ef773[_0x5193d7(0x17c)]=_0x4ef773[_0x5193d7(0x248)],_0x535781[_0x5193d7(0x21a)](_0x4ef773);}function _0x1176c4(_0x168116){const _0x31e62d=_0x237072;return _0x168116['path']=void 0x0,!_0x168116['servername']&&_0x168116[_0x31e62d(0xf8)]!==''&&(_0x168116[_0x31e62d(0xf8)]=_0x535781[_0x31e62d(0x194)](_0x168116[_0x31e62d(0xe7)])?'':_0x168116[_0x31e62d(0xe7)]),_0x4f6f91[_0x31e62d(0x21a)](_0x168116);}function _0x4a7f1a(_0x24340f,_0x57dec1,_0x2a7c09){const _0x1b38b3=_0x237072;_0x24340f[_0x1b38b3(0x212)]=_0x3f482f[_0x1b38b3(0x19d)];const _0x595d19=new Error(_0x2a7c09);Error[_0x1b38b3(0xdc)](_0x595d19,_0x4a7f1a),_0x57dec1['setHeader']?(_0x57dec1[_0x16bfb1]=!0x0,_0x57dec1[_0x1b38b3(0xf3)](),_0x57dec1[_0x1b38b3(0x10a)]&&!_0x57dec1[_0x1b38b3(0x10a)]['destroyed']&&_0x57dec1['socket']['destroy'](),process[_0x1b38b3(0x1ac)](_0xc73262,_0x24340f,_0x595d19)):(_0x57dec1[_0x1b38b3(0x1ad)](_0x595d19),_0x57dec1[_0x1b38b3(0x249)]('error',_0x24340f[_0x1b38b3(0x157)][_0x1b38b3(0x15a)](_0x24340f,'error')),_0x57dec1[_0x1b38b3(0x249)](_0x1b38b3(0x25e),_0x24340f[_0x1b38b3(0x1b7)][_0x1b38b3(0x15a)](_0x24340f)));}function _0x5724d7(_0x29142c,_0x578e7f,_0x38585b){const _0x1b38b6=_0x237072;if(_0x578e7f){const _0x560e69=_0x2431ca(_0x578e7f)?_0x578e7f[_0x1b38b6(0x114)]:_0x4ada40(_0x578e7f)[_0x1b38b6(0x115)];_0x29142c[_0x1b38b6(0x218)]?_0x29142c['_sender'][_0x1b38b6(0xfc)]+=_0x560e69:_0x29142c['_bufferedAmount']+=_0x560e69;}if(_0x38585b){const _0x158c3b=new Error(_0x1b38b6(0x1a0)+_0x29142c[_0x1b38b6(0x275)]+'\x20('+_0x27cb47[_0x29142c[_0x1b38b6(0x275)]]+')');process[_0x1b38b6(0x1ac)](_0x38585b,_0x158c3b);}}function _0x5673fa(_0x177e16,_0x4ba7be){const _0x270956=_0x237072,_0x239165=this[_0x55e158];_0x239165[_0x270956(0x16a)]=!0x0,_0x239165['_closeMessage']=_0x4ba7be,_0x239165[_0x270956(0xf0)]=_0x177e16,_0x239165['_socket'][_0x55e158]!==void 0x0&&(_0x239165['_socket'][_0x270956(0x1ee)]('data',_0x1ad927),process[_0x270956(0x1ac)](_0x1a3cf4,_0x239165[_0x270956(0x218)]),_0x177e16===0x3ed?_0x239165[_0x270956(0x25e)]():_0x239165['close'](_0x177e16,_0x4ba7be));}function _0x4e54ea(){const _0x1b399e=_0x237072,_0x2ed407=this[_0x55e158];_0x2ed407[_0x1b399e(0x111)]||_0x2ed407['_socket']['resume']();}function _0x563bc5(_0x34656e){const _0x441d2f=_0x237072,_0x1cb8da=this[_0x55e158];_0x1cb8da['_socket'][_0x55e158]!==void 0x0&&(_0x1cb8da['_socket'][_0x441d2f(0x1ee)](_0x441d2f(0x1e3),_0x1ad927),process[_0x441d2f(0x1ac)](_0x1a3cf4,_0x1cb8da[_0x441d2f(0x218)]),_0x1cb8da[_0x441d2f(0x25e)](_0x34656e[_0x2b754a])),_0x1cb8da[_0x441d2f(0xdd)]||(_0x1cb8da[_0x441d2f(0xdd)]=!0x0,_0x1cb8da[_0x441d2f(0x157)](_0x441d2f(0xf7),_0x34656e));}function _0x3d77bb(){this[_0x55e158]['emitClose']();}function _0x221a21(_0x6616c0,_0xb2f4bd){const _0x350ce7=_0x237072;this[_0x55e158][_0x350ce7(0x157)](_0x350ce7(0x1de),_0x6616c0,_0xb2f4bd);}function _0x1ba71f(_0x3cb2f8){const _0x4755fd=_0x237072,_0x9d0653=this[_0x55e158];_0x9d0653[_0x4755fd(0x191)]&&_0x9d0653[_0x4755fd(0x110)](_0x3cb2f8,!this[_0x4755fd(0xe2)],_0x5aa8bd),_0x9d0653[_0x4755fd(0x157)](_0x4755fd(0x22f),_0x3cb2f8);}function _0xdc21e2(_0x3b4c8c){const _0x5430f4=_0x237072;this[_0x55e158][_0x5430f4(0x157)](_0x5430f4(0x110),_0x3b4c8c);}function _0x1a3cf4(_0x222b50){_0x222b50['resume']();}function _0x4dd470(_0x1ad94c){const _0x4c079a=_0x237072,_0x50042c=this[_0x55e158];_0x50042c[_0x4c079a(0x275)]!==_0x3f482f[_0x4c079a(0x203)]&&(_0x50042c[_0x4c079a(0x275)]===_0x3f482f[_0x4c079a(0x122)]&&(_0x50042c[_0x4c079a(0x212)]=_0x3f482f[_0x4c079a(0x19d)],_0x3eb65d(_0x50042c)),this['_socket'][_0x4c079a(0xf2)](),_0x50042c['_errorEmitted']||(_0x50042c['_errorEmitted']=!0x0,_0x50042c[_0x4c079a(0x157)](_0x4c079a(0xf7),_0x1ad94c)));}function _0x3eb65d(_0x487337){const _0x5e257d=_0x237072;_0x487337['_closeTimer']=setTimeout(_0x487337['_socket']['destroy'][_0x5e257d(0x15a)](_0x487337[_0x5e257d(0x218)]),_0x31cc71);}function _0x1234a7(){const _0x488311=_0x237072,_0x455e52=this[_0x55e158];this[_0x488311(0x1ee)]('close',_0x1234a7),this['removeListener'](_0x488311(0x1e3),_0x1ad927),this['removeListener'](_0x488311(0xf2),_0x546e42),_0x455e52['_readyState']=_0x3f482f['CLOSING'];let _0x4803c3;!this['_readableState'][_0x488311(0x1c9)]&&!_0x455e52['_closeFrameReceived']&&!_0x455e52[_0x488311(0x236)][_0x488311(0x213)]['errorEmitted']&&(_0x4803c3=_0x455e52['_socket'][_0x488311(0x14c)]())!==null&&_0x455e52[_0x488311(0x236)][_0x488311(0x1eb)](_0x4803c3),_0x455e52[_0x488311(0x236)][_0x488311(0xf2)](),this[_0x55e158]=void 0x0,clearTimeout(_0x455e52[_0x488311(0x168)]),_0x455e52[_0x488311(0x236)]['_writableState'][_0x488311(0x1e9)]||_0x455e52['_receiver']['_writableState']['errorEmitted']?_0x455e52[_0x488311(0x1b7)]():(_0x455e52[_0x488311(0x236)]['on'](_0x488311(0xf7),_0x3d77bb),_0x455e52['_receiver']['on']('finish',_0x3d77bb));}function _0x1ad927(_0x4d98b4){const _0x3a4eef=_0x237072;this[_0x55e158][_0x3a4eef(0x236)]['write'](_0x4d98b4)||this[_0x3a4eef(0x181)]();}function _0x546e42(){const _0x3a7215=_0x237072,_0x5a0d84=this[_0x55e158];_0x5a0d84[_0x3a7215(0x212)]=_0x3f482f[_0x3a7215(0x19d)],_0x5a0d84[_0x3a7215(0x236)][_0x3a7215(0xf2)](),this[_0x3a7215(0xf2)]();}function _0x36154c(){const _0x4802bd=_0x237072,_0xc6443f=this[_0x55e158];this['removeListener'](_0x4802bd(0xf7),_0x36154c),this['on']('error',_0x5aa8bd),_0xc6443f&&(_0xc6443f[_0x4802bd(0x212)]=_0x3f482f[_0x4802bd(0x19d)],this[_0x4802bd(0x1ad)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x27a7ec}=oe;function _0x201473(_0x361e29){const _0x6d7f72=_0x4eb3;_0x361e29[_0x6d7f72(0x157)]('close');}function _0x3ada20(){const _0x12176b=_0x4eb3;!this['destroyed']&&this[_0x12176b(0x213)][_0x12176b(0x1e9)]&&this[_0x12176b(0x1ad)]();}function _0x830e9d(_0x24812c){const _0x133ed7=_0x4eb3;this[_0x133ed7(0x1ee)](_0x133ed7(0xf7),_0x830e9d),this[_0x133ed7(0x1ad)](),this[_0x133ed7(0x1fd)](_0x133ed7(0xf7))===0x0&&this[_0x133ed7(0x157)](_0x133ed7(0xf7),_0x24812c);}function _0x5c7387(_0x3fe1a0,_0x545145){const _0x37f825=_0x4eb3;let _0x2895d6=!0x0;const _0x49f396=new _0x27a7ec({..._0x545145,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3fe1a0['on'](_0x37f825(0x1de),function(_0x1cb876,_0x101bb7){const _0x29b83e=_0x37f825,_0x495100=!_0x101bb7&&_0x49f396[_0x29b83e(0x254)][_0x29b83e(0x22d)]?_0x1cb876[_0x29b83e(0x1f8)]():_0x1cb876;_0x49f396[_0x29b83e(0x19b)](_0x495100)||_0x3fe1a0[_0x29b83e(0x181)]();}),_0x3fe1a0['once'](_0x37f825(0xf7),function(_0x50c76c){_0x49f396['destroyed']||(_0x2895d6=!0x1,_0x49f396['destroy'](_0x50c76c));}),_0x3fe1a0['once'](_0x37f825(0x25e),function(){_0x49f396['destroyed']||_0x49f396['push'](null);}),_0x49f396[_0x37f825(0x180)]=function(_0x548af8,_0x4a3bc9){const _0x318eff=_0x37f825;if(_0x3fe1a0[_0x318eff(0x275)]===_0x3fe1a0[_0x318eff(0x203)]){_0x4a3bc9(_0x548af8),process['nextTick'](_0x201473,_0x49f396);return;}let _0x98f32d=!0x1;_0x3fe1a0[_0x318eff(0x249)](_0x318eff(0xf7),function(_0x2168a8){_0x98f32d=!0x0,_0x4a3bc9(_0x2168a8);}),_0x3fe1a0[_0x318eff(0x249)](_0x318eff(0x25e),function(){_0x98f32d||_0x4a3bc9(_0x548af8),process['nextTick'](_0x201473,_0x49f396);}),_0x2895d6&&_0x3fe1a0[_0x318eff(0x17e)]();},_0x49f396['_final']=function(_0x5663d6){const _0xc799c8=_0x37f825;if(_0x3fe1a0[_0xc799c8(0x275)]===_0x3fe1a0[_0xc799c8(0x121)]){_0x3fe1a0[_0xc799c8(0x249)](_0xc799c8(0x109),function(){const _0x3394b0=_0xc799c8;_0x49f396[_0x3394b0(0x257)](_0x5663d6);});return;}_0x3fe1a0[_0xc799c8(0x218)]!==null&&(_0x3fe1a0[_0xc799c8(0x218)]['_writableState'][_0xc799c8(0x1e9)]?(_0x5663d6(),_0x49f396[_0xc799c8(0x254)][_0xc799c8(0x1c9)]&&_0x49f396['destroy']()):(_0x3fe1a0[_0xc799c8(0x218)][_0xc799c8(0x249)]('finish',function(){_0x5663d6();}),_0x3fe1a0[_0xc799c8(0x25e)]()));},_0x49f396[_0x37f825(0x16c)]=function(){const _0x26e8ca=_0x37f825;_0x3fe1a0[_0x26e8ca(0x111)]&&_0x3fe1a0[_0x26e8ca(0x1b1)]();},_0x49f396[_0x37f825(0x207)]=function(_0x231953,_0x45a6c7,_0x339160){const _0x3b9643=_0x37f825;if(_0x3fe1a0[_0x3b9643(0x275)]===_0x3fe1a0[_0x3b9643(0x121)]){_0x3fe1a0[_0x3b9643(0x249)](_0x3b9643(0x109),function(){const _0x230fc1=_0x3b9643;_0x49f396[_0x230fc1(0x207)](_0x231953,_0x45a6c7,_0x339160);});return;}_0x3fe1a0[_0x3b9643(0x198)](_0x231953,_0x339160);},_0x49f396['on'](_0x37f825(0xf2),_0x3ada20),_0x49f396['on'](_0x37f825(0xf7),_0x830e9d),_0x49f396;}return Oe=_0x5c7387,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function _0x4eb3(_0x34b4ab,_0x2d4ac3){const _0x3b222e=_0x3b22();return _0x4eb3=function(_0x4eb39d,_0x52211c){_0x4eb39d=_0x4eb39d-0xc6;let _0x5c75b4=_0x3b222e[_0x4eb39d];return _0x5c75b4;},_0x4eb3(_0x34b4ab,_0x2d4ac3);}function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3cde82}=ae();function _0x83ceb6(_0x4151eb){const _0x3142c3=_0x4eb3,_0x3ec3b7=new Set();let _0x218d0b=-0x1,_0x34f907=-0x1,_0x25d668=0x0;for(_0x25d668;_0x25d668<_0x4151eb[_0x3142c3(0x115)];_0x25d668++){const _0x531df4=_0x4151eb[_0x3142c3(0xf6)](_0x25d668);if(_0x34f907===-0x1&&_0x3cde82[_0x531df4]===0x1)_0x218d0b===-0x1&&(_0x218d0b=_0x25d668);else{if(_0x25d668!==0x0&&(_0x531df4===0x20||_0x531df4===0x9))_0x34f907===-0x1&&_0x218d0b!==-0x1&&(_0x34f907=_0x25d668);else{if(_0x531df4===0x2c){if(_0x218d0b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x25d668);_0x34f907===-0x1&&(_0x34f907=_0x25d668);const _0x114e6e=_0x4151eb['slice'](_0x218d0b,_0x34f907);if(_0x3ec3b7[_0x3142c3(0x11f)](_0x114e6e))throw new SyntaxError(_0x3142c3(0x15d)+_0x114e6e+_0x3142c3(0xfd));_0x3ec3b7[_0x3142c3(0x106)](_0x114e6e),_0x218d0b=_0x34f907=-0x1;}else throw new SyntaxError(_0x3142c3(0x1b2)+_0x25d668);}}}if(_0x218d0b===-0x1||_0x34f907!==-0x1)throw new SyntaxError(_0x3142c3(0x12b));const _0x4ae2e2=_0x4151eb[_0x3142c3(0x1c2)](_0x218d0b,_0x25d668);if(_0x3ec3b7[_0x3142c3(0x11f)](_0x4ae2e2))throw new SyntaxError('The\x20\x22'+_0x4ae2e2+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3ec3b7[_0x3142c3(0x106)](_0x4ae2e2),_0x3ec3b7;}return Ce={'parse':_0x83ceb6},Ce;}var Te,rt;function Ft(){const _0x32743b=_0x408f6e;if(rt)return Te;rt=0x1;const _0x3c38a2=nt,_0x2f2d05=ot,{Duplex:_0x39914e}=oe,{createHash:_0x2dbafa}=Le,_0x39399f=ct(),_0x4fcdbb=he(),_0x3de924=At(),_0x192982=Pe(),{GUID:_0x1432c8,kWebSocket:_0xa02ef4}=H(),_0x84af87=/^[+/0-9A-Za-z]{22}==$/,_0x445613=0x0,_0x1f94d3=0x1,_0x48109f=0x2;class _0x24fd7c extends _0x3c38a2{constructor(_0x16299e,_0x2606a9){const _0x529650=_0x4eb3;if(super(),_0x16299e={'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':_0x192982,..._0x16299e},_0x16299e[_0x529650(0x10b)]==null&&!_0x16299e[_0x529650(0x1be)]&&!_0x16299e[_0x529650(0x12f)]||_0x16299e[_0x529650(0x10b)]!=null&&(_0x16299e[_0x529650(0x1be)]||_0x16299e[_0x529650(0x12f)])||_0x16299e['server']&&_0x16299e[_0x529650(0x12f)])throw new TypeError(_0x529650(0x1a5));if(_0x16299e['port']!=null?(this['_server']=_0x2f2d05[_0x529650(0xdb)]((_0x3db119,_0x388bca)=>{const _0x39e2b9=_0x529650,_0x2344dd=_0x2f2d05[_0x39e2b9(0x13a)][0x1aa];_0x388bca[_0x39e2b9(0x10d)](0x1aa,{'Content-Length':_0x2344dd[_0x39e2b9(0x115)],'Content-Type':'text/plain'}),_0x388bca['end'](_0x2344dd);}),this[_0x529650(0x150)][_0x529650(0x171)](_0x16299e[_0x529650(0x10b)],_0x16299e[_0x529650(0xe7)],_0x16299e[_0x529650(0x162)],_0x2606a9)):_0x16299e[_0x529650(0x1be)]&&(this[_0x529650(0x150)]=_0x16299e['server']),this[_0x529650(0x150)]){const _0x4a0dce=this[_0x529650(0x157)]['bind'](this,_0x529650(0x22b));this[_0x529650(0x185)]=_0x105693(this[_0x529650(0x150)],{'listening':this[_0x529650(0x157)]['bind'](this,_0x529650(0x1f5)),'error':this[_0x529650(0x157)][_0x529650(0x15a)](this,_0x529650(0xf7)),'upgrade':(_0x49c04c,_0x32c27f,_0x7774e0)=>{const _0x3e9e72=_0x529650;this[_0x3e9e72(0x252)](_0x49c04c,_0x32c27f,_0x7774e0,_0x4a0dce);}});}_0x16299e[_0x529650(0x1d8)]===!0x0&&(_0x16299e['perMessageDeflate']={}),_0x16299e['clientTracking']&&(this[_0x529650(0xe6)]=new Set(),this[_0x529650(0x243)]=!0x1),this[_0x529650(0x1f3)]=_0x16299e,this['_state']=_0x445613;}[_0x32743b(0xd1)](){const _0x4a90f8=_0x32743b;if(this[_0x4a90f8(0x1f3)][_0x4a90f8(0x12f)])throw new Error(_0x4a90f8(0x279));return this[_0x4a90f8(0x150)]?this[_0x4a90f8(0x150)][_0x4a90f8(0xd1)]():null;}[_0x32743b(0x25e)](_0x5ea5da){const _0x15c9f7=_0x32743b;if(this['_state']===_0x48109f){_0x5ea5da&&this[_0x15c9f7(0x249)](_0x15c9f7(0x25e),()=>{const _0x2f4a14=_0x15c9f7;_0x5ea5da(new Error(_0x2f4a14(0x16f)));}),process[_0x15c9f7(0x1ac)](_0x7c5ab7,this);return;}if(_0x5ea5da&&this['once'](_0x15c9f7(0x25e),_0x5ea5da),this['_state']!==_0x1f94d3){if(this['_state']=_0x1f94d3,this[_0x15c9f7(0x1f3)]['noServer']||this[_0x15c9f7(0x1f3)][_0x15c9f7(0x1be)])this[_0x15c9f7(0x150)]&&(this[_0x15c9f7(0x185)](),this[_0x15c9f7(0x185)]=this[_0x15c9f7(0x150)]=null),this[_0x15c9f7(0xe6)]?this[_0x15c9f7(0xe6)]['size']?this['_shouldEmitClose']=!0x0:process[_0x15c9f7(0x1ac)](_0x7c5ab7,this):process[_0x15c9f7(0x1ac)](_0x7c5ab7,this);else{const _0x4e5965=this['_server'];this[_0x15c9f7(0x185)](),this[_0x15c9f7(0x185)]=this[_0x15c9f7(0x150)]=null,_0x4e5965[_0x15c9f7(0x25e)](()=>{_0x7c5ab7(this);});}}}['shouldHandle'](_0xd8da8a){const _0x35ad49=_0x32743b;if(this[_0x35ad49(0x1f3)]['path']){const _0x27519f=_0xd8da8a[_0x35ad49(0x103)][_0x35ad49(0x193)]('?');if((_0x27519f!==-0x1?_0xd8da8a[_0x35ad49(0x103)][_0x35ad49(0x1c2)](0x0,_0x27519f):_0xd8da8a['url'])!==this[_0x35ad49(0x1f3)][_0x35ad49(0x17c)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1b6572,_0x59594a,_0x401155,_0x2652e7){const _0x236fae=_0x32743b;_0x59594a['on'](_0x236fae(0xf7),_0x901bad);const _0x1492b4=_0x1b6572[_0x236fae(0x1bb)][_0x236fae(0x1f9)],_0x3cd4aa=_0x1b6572[_0x236fae(0x1bb)][_0x236fae(0x1b0)],_0x4b1efd=+_0x1b6572['headers'][_0x236fae(0x256)];if(_0x1b6572[_0x236fae(0x112)]!==_0x236fae(0x205)){_0x955964(this,_0x1b6572,_0x59594a,0x195,_0x236fae(0x163));return;}if(_0x3cd4aa===void 0x0||_0x3cd4aa[_0x236fae(0x1bc)]()!==_0x236fae(0x1a7)){_0x955964(this,_0x1b6572,_0x59594a,0x190,_0x236fae(0x1b9));return;}if(_0x1492b4===void 0x0||!_0x84af87['test'](_0x1492b4)){_0x955964(this,_0x1b6572,_0x59594a,0x190,_0x236fae(0x21d));return;}if(_0x4b1efd!==0xd&&_0x4b1efd!==0x8){_0x955964(this,_0x1b6572,_0x59594a,0x190,_0x236fae(0x286),{'Sec-WebSocket-Version':_0x236fae(0x204)});return;}if(!this['shouldHandle'](_0x1b6572)){_0x2eda95(_0x59594a,0x190);return;}const _0x5eee6c=_0x1b6572[_0x236fae(0x1bb)][_0x236fae(0x251)];let _0x1ae174=new Set();if(_0x5eee6c!==void 0x0)try{_0x1ae174=_0x3de924[_0x236fae(0x209)](_0x5eee6c);}catch{_0x955964(this,_0x1b6572,_0x59594a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x508b67=_0x1b6572[_0x236fae(0x1bb)][_0x236fae(0x1e0)],_0x45b5c2={};if(this[_0x236fae(0x1f3)][_0x236fae(0x1d8)]&&_0x508b67!==void 0x0){const _0x1fe1df=new _0x4fcdbb(this['options']['perMessageDeflate'],!0x0,this['options'][_0x236fae(0x11e)]);try{const _0x4151d0=_0x39399f[_0x236fae(0x209)](_0x508b67);_0x4151d0[_0x4fcdbb[_0x236fae(0xd8)]]&&(_0x1fe1df['accept'](_0x4151d0[_0x4fcdbb['extensionName']]),_0x45b5c2[_0x4fcdbb[_0x236fae(0xd8)]]=_0x1fe1df);}catch{_0x955964(this,_0x1b6572,_0x59594a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x236fae(0x1f3)][_0x236fae(0x27e)]){const _0x244af0={'origin':_0x1b6572['headers'][''+(_0x4b1efd===0x8?_0x236fae(0x231):_0x236fae(0x271))],'secure':!!(_0x1b6572[_0x236fae(0x10a)][_0x236fae(0xca)]||_0x1b6572[_0x236fae(0x10a)][_0x236fae(0xcb)]),'req':_0x1b6572};if(this[_0x236fae(0x1f3)][_0x236fae(0x27e)][_0x236fae(0x115)]===0x2){this[_0x236fae(0x1f3)][_0x236fae(0x27e)](_0x244af0,(_0x1652ec,_0x364937,_0x55517c,_0x4ffc13)=>{const _0x172c0e=_0x236fae;if(!_0x1652ec)return _0x2eda95(_0x59594a,_0x364937||0x191,_0x55517c,_0x4ffc13);this[_0x172c0e(0x1e8)](_0x45b5c2,_0x1492b4,_0x1ae174,_0x1b6572,_0x59594a,_0x401155,_0x2652e7);});return;}if(!this[_0x236fae(0x1f3)]['verifyClient'](_0x244af0))return _0x2eda95(_0x59594a,0x191);}this[_0x236fae(0x1e8)](_0x45b5c2,_0x1492b4,_0x1ae174,_0x1b6572,_0x59594a,_0x401155,_0x2652e7);}[_0x32743b(0x1e8)](_0x508ce1,_0x4d676c,_0x4909f7,_0x55d697,_0x57630f,_0xc3cea5,_0x3014a0){const _0x268ad1=_0x32743b;if(!_0x57630f[_0x268ad1(0x14b)]||!_0x57630f['writable'])return _0x57630f[_0x268ad1(0x1ad)]();if(_0x57630f[_0xa02ef4])throw new Error(_0x268ad1(0xfe));if(this[_0x268ad1(0x170)]>_0x445613)return _0x2eda95(_0x57630f,0x1f7);const _0x54ed27=[_0x268ad1(0x17a),_0x268ad1(0x268),_0x268ad1(0xd2),'Sec-WebSocket-Accept:\x20'+_0x2dbafa(_0x268ad1(0x208))[_0x268ad1(0x141)](_0x4d676c+_0x1432c8)[_0x268ad1(0x215)](_0x268ad1(0x189))],_0x45c89a=new this[(_0x268ad1(0x1f3))][(_0x268ad1(0xeb))](null,void 0x0,this[_0x268ad1(0x1f3)]);if(_0x4909f7[_0x268ad1(0x114)]){const _0x5ffea4=this[_0x268ad1(0x1f3)][_0x268ad1(0x233)]?this[_0x268ad1(0x1f3)]['handleProtocols'](_0x4909f7,_0x55d697):_0x4909f7[_0x268ad1(0x1bf)]()['next']()[_0x268ad1(0x246)];_0x5ffea4&&(_0x54ed27['push']('Sec-WebSocket-Protocol:\x20'+_0x5ffea4),_0x45c89a['_protocol']=_0x5ffea4);}if(_0x508ce1[_0x4fcdbb[_0x268ad1(0xd8)]]){const _0x293caf=_0x508ce1[_0x4fcdbb[_0x268ad1(0xd8)]][_0x268ad1(0x21b)],_0x151d4d=_0x39399f[_0x268ad1(0xd4)]({[_0x4fcdbb[_0x268ad1(0xd8)]]:[_0x293caf]});_0x54ed27[_0x268ad1(0x19b)]('Sec-WebSocket-Extensions:\x20'+_0x151d4d),_0x45c89a[_0x268ad1(0x11d)]=_0x508ce1;}this['emit'](_0x268ad1(0x1bb),_0x54ed27,_0x55d697),_0x57630f[_0x268ad1(0x1eb)](_0x54ed27[_0x268ad1(0x223)]('\x0d\x0a')[_0x268ad1(0x226)]('\x0d\x0a')),_0x57630f[_0x268ad1(0x1ee)](_0x268ad1(0xf7),_0x901bad),_0x45c89a['setSocket'](_0x57630f,_0xc3cea5,{'allowSynchronousEvents':this['options'][_0x268ad1(0x11b)],'maxPayload':this[_0x268ad1(0x1f3)][_0x268ad1(0x11e)],'skipUTF8Validation':this['options'][_0x268ad1(0x17b)]}),this['clients']&&(this[_0x268ad1(0xe6)][_0x268ad1(0x106)](_0x45c89a),_0x45c89a['on'](_0x268ad1(0x25e),()=>{const _0x34080f=_0x268ad1;this[_0x34080f(0xe6)][_0x34080f(0x234)](_0x45c89a),this['_shouldEmitClose']&&!this[_0x34080f(0xe6)]['size']&&process[_0x34080f(0x1ac)](_0x7c5ab7,this);})),_0x3014a0(_0x45c89a,_0x55d697);}}Te=_0x24fd7c;function _0x105693(_0x5a2651,_0xcea79e){const _0xdc2dae=_0x32743b;for(const _0x1c4aeb of Object[_0xdc2dae(0x176)](_0xcea79e))_0x5a2651['on'](_0x1c4aeb,_0xcea79e[_0x1c4aeb]);return function(){const _0x2af68e=_0xdc2dae;for(const _0x25f5d1 of Object[_0x2af68e(0x176)](_0xcea79e))_0x5a2651[_0x2af68e(0x1ee)](_0x25f5d1,_0xcea79e[_0x25f5d1]);};}function _0x7c5ab7(_0x31d7c9){const _0x1c06fc=_0x32743b;_0x31d7c9[_0x1c06fc(0x170)]=_0x48109f,_0x31d7c9[_0x1c06fc(0x157)]('close');}function _0x901bad(){this['destroy']();}function _0x2eda95(_0xf17520,_0x548f3c,_0x40a2d0,_0x546f81){const _0x5c2413=_0x32743b;_0x40a2d0=_0x40a2d0||_0x2f2d05['STATUS_CODES'][_0x548f3c],_0x546f81={'Connection':_0x5c2413(0x25e),'Content-Type':_0x5c2413(0x12c),'Content-Length':Buffer[_0x5c2413(0x17d)](_0x40a2d0),..._0x546f81},_0xf17520[_0x5c2413(0x249)](_0x5c2413(0x13f),_0xf17520[_0x5c2413(0x1ad)]),_0xf17520[_0x5c2413(0xf2)](_0x5c2413(0x143)+_0x548f3c+'\x20'+_0x2f2d05[_0x5c2413(0x13a)][_0x548f3c]+'\x0d\x0a'+Object[_0x5c2413(0x176)](_0x546f81)[_0x5c2413(0x21f)](_0x5d0bd2=>_0x5d0bd2+':\x20'+_0x546f81[_0x5d0bd2])['join']('\x0d\x0a')+_0x5c2413(0x15b)+_0x40a2d0);}function _0x955964(_0x35af84,_0x257ab1,_0x4cda7e,_0x375cc9,_0xc6604e,_0x48b3ee){const _0x59f957=_0x32743b;if(_0x35af84['listenerCount'](_0x59f957(0x24d))){const _0x3adbda=new Error(_0xc6604e);Error[_0x59f957(0xdc)](_0x3adbda,_0x955964),_0x35af84[_0x59f957(0x157)](_0x59f957(0x24d),_0x3adbda,_0x4cda7e,_0x257ab1);}else _0x2eda95(_0x4cda7e,_0x375cc9,_0xc6604e,_0x48b3ee);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x500eec,_0x504921,_0x11ffbf,_0x252b11)=>{const _0x36fc2d=_0x408f6e;for(var _0x35b3c5=_0x252b11>0x1?void 0x0:_0x252b11?jt(_0x504921,_0x11ffbf):_0x504921,_0x197d0b=_0x500eec[_0x36fc2d(0x115)]-0x1,_0x33ad85;_0x197d0b>=0x0;_0x197d0b--)(_0x33ad85=_0x500eec[_0x197d0b])&&(_0x35b3c5=_0x33ad85(_0x35b3c5)||_0x35b3c5);return _0x35b3c5;},qt=(_0x138ef7,_0x4485ab)=>(_0x49a2bf,_0x218390)=>_0x4485ab(_0x49a2bf,_0x218390,_0x138ef7);let ke=class extends A[_0x408f6e(0xc9)]{constructor(_0x490d9f){const _0x2080bd=_0x408f6e;super(),this[_0x2080bd(0x16b)]=_0x490d9f;}[_0x408f6e(0x1a9)](_0x165ccb){const _0x5cd743=_0x408f6e;var _0x823511;const _0x41e325=(_0x823511=this[_0x5cd743(0x16b)]['getConfig'](fe))==null?void 0x0:_0x823511[_0x5cd743(0x1a6)];try{const _0xb22a55=new $t(_0x165ccb,{'headers':{..._0x41e325}}),_0xb8d6b7=new A['DisposableCollection']();return{'URL':_0x165ccb,'close':(_0x56faa0,_0x37f019)=>{const _0x437fd7=_0x5cd743;_0xb22a55[_0x437fd7(0x25e)](_0x56faa0,_0x37f019),_0xb8d6b7['dispose']();},'send':_0x4e08ee=>{_0xb22a55['send'](_0x4e08ee);},'open$':new V[(_0x5cd743(0x153))](_0x31c270=>{const _0x535eae=_0x5cd743,_0x5b4fe1=_0x237945=>_0x31c270[_0x535eae(0x250)](_0x237945);_0xb22a55[_0x535eae(0x1b6)]('open',_0x5b4fe1),_0xb8d6b7['add'](A['toDisposable'](()=>_0xb22a55[_0x535eae(0x20e)](_0x535eae(0x109),_0x5b4fe1)));})[_0x5cd743(0x177)](V['share']()),'close$':new V[(_0x5cd743(0x153))](_0x50f056=>{const _0x433998=_0x5cd743,_0x1f2232=_0x23c71d=>_0x50f056[_0x433998(0x250)](_0x23c71d);_0xb22a55[_0x433998(0x1b6)](_0x433998(0x25e),_0x1f2232),_0xb8d6b7[_0x433998(0x106)](A[_0x433998(0x12a)](()=>_0xb22a55['removeEventListener']('close',_0x1f2232)));})[_0x5cd743(0x177)](V[_0x5cd743(0x26b)]()),'error$':new V[(_0x5cd743(0x153))](_0x530c71=>{const _0x2bacf8=_0x5cd743,_0xa9a4c4=_0xa892e=>_0x530c71[_0x2bacf8(0x250)](_0xa892e);_0xb22a55[_0x2bacf8(0x1b6)](_0x2bacf8(0xf7),_0xa9a4c4),_0xb8d6b7[_0x2bacf8(0x106)](A['toDisposable'](()=>_0xb22a55[_0x2bacf8(0x20e)]('error',_0xa9a4c4)));})['pipe'](V[_0x5cd743(0x26b)]()),'message$':new V['Observable'](_0x348366=>{const _0x53e09e=_0x5cd743,_0x419987=_0x120a10=>_0x348366['next'](_0x120a10);_0xb22a55[_0x53e09e(0x1b6)](_0x53e09e(0x1de),_0x419987),_0xb8d6b7[_0x53e09e(0x106)](A[_0x53e09e(0x12a)](()=>_0xb22a55[_0x53e09e(0x20e)](_0x53e09e(0x1de),_0x419987)));})[_0x5cd743(0x177)](V[_0x5cd743(0x26b)]())};}catch(_0x2de2d3){return console[_0x5cd743(0xf7)](_0x2de2d3),null;}}};ke=Wt([qt(0x0,A[_0x408f6e(0x140)])],ke);var Gt=Object[_0x408f6e(0x127)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x586a17,_0x27290c,_0x554e2d)=>_0x27290c in _0x586a17?Gt(_0x586a17,_0x27290c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x554e2d}):_0x586a17[_0x27290c]=_0x554e2d,zt=(_0x182dc0,_0x322e48,_0x55906f,_0x10f3a9)=>{const _0x1cc2b8=_0x408f6e;for(var _0x5adae1=_0x10f3a9>0x1?void 0x0:_0x10f3a9?Vt(_0x322e48,_0x55906f):_0x322e48,_0x1abfa5=_0x182dc0[_0x1cc2b8(0x115)]-0x1,_0x409333;_0x1abfa5>=0x0;_0x1abfa5--)(_0x409333=_0x182dc0[_0x1abfa5])&&(_0x5adae1=_0x409333(_0x5adae1)||_0x5adae1);return _0x5adae1;},Ne=(_0x4cd693,_0x2d63f8)=>(_0x4e97a4,_0x24c3e4)=>_0x2d63f8(_0x4e97a4,_0x24c3e4,_0x4cd693),Yt=(_0x394ad3,_0x210885,_0xb06d87)=>Ht(_0x394ad3,_0x210885+'',_0xb06d87);exports[_0x408f6e(0xd9)]=class extends A[_0x408f6e(0x13d)]{constructor(_0x3a9796=Ct,_0x264359,_0x41770e,_0x5b7d66){const _0x33cabb=_0x408f6e;_0x3a9796['customHeaders']||_0x264359[_0x33cabb(0x173)](_0x33cabb(0x155)),super(),this[_0x33cabb(0x16b)]=_0x41770e,this[_0x33cabb(0x20f)]=_0x5b7d66,this[_0x33cabb(0x16b)]['setConfig'](fe,_0x3a9796);}[_0x408f6e(0x20d)](){const _0x4b0e5c=_0x408f6e;this[_0x4b0e5c(0x263)]();}[_0x408f6e(0x263)](){const _0x1938dc=_0x408f6e;A['registerDependencies'](this['_injector'],[[it[_0x1938dc(0x225)],{'useClass':ke}]]);}},Yt(exports[_0x408f6e(0xd9)],'pluginName',_0x408f6e(0x22e)),exports[_0x408f6e(0xd9)]=zt([A[_0x408f6e(0x129)](st[_0x408f6e(0x20b)]),Ne(0x1,A[_0x408f6e(0x24f)]),Ne(0x2,A[_0x408f6e(0x140)]),Ne(0x3,A[_0x408f6e(0x224)](A[_0x408f6e(0x283)]))],exports[_0x408f6e(0xd9)]);var Kt=Object[_0x408f6e(0xda)],Xt=(_0xc4e58,_0x2f7ce6,_0x371a65,_0x1ae49f)=>{const _0x4c6982=_0x408f6e;for(var _0x1e1aae=_0x1ae49f>0x1?void 0x0:_0x1ae49f?Kt(_0x2f7ce6,_0x371a65):_0x2f7ce6,_0x3f98cd=_0xc4e58[_0x4c6982(0x115)]-0x1,_0x236f0e;_0x3f98cd>=0x0;_0x3f98cd--)(_0x236f0e=_0xc4e58[_0x3f98cd])&&(_0x1e1aae=_0x236f0e(_0x1e1aae)||_0x1e1aae);return _0x1e1aae;},ne=(_0x425ef5,_0x433afd)=>(_0x59e620,_0x3bd3fd)=>_0x433afd(_0x59e620,_0x3bd3fd,_0x425ef5);exports['NodeCollaborationSocketService']=class extends st[_0x408f6e(0x220)]{constructor(_0x2732fa,_0x1f5dec,_0x56d113,_0xe49464,_0x53cbd5){const _0x2f4858=_0x408f6e;super(_0x2732fa,_0x1f5dec,_0x56d113,_0xe49464,_0x53cbd5);const _0xa6ceb5=this[_0x2f4858(0x16b)][_0x2f4858(0x107)](fe);this[_0x2f4858(0x1af)][_0x2f4858(0x1ff)]({'interceptor':(_0x4b019b,_0x2e86bc)=>{const _0x341302=_0x2f4858;var _0x1f9626;const _0x5959ba=_0x4b019b[_0x341302(0x1bb)];return(_0x1f9626=_0xa6ceb5==null?void 0x0:_0xa6ceb5['customHeaders'])!=null&&_0x1f9626['cookie']&&_0x5959ba[_0x341302(0x119)](_0x341302(0x280),_0xa6ceb5[_0x341302(0x1a6)]['cookie']),_0x2e86bc(_0x4b019b);}});}async[_0x408f6e(0x1a9)](_0x13be8b){const _0x35d7c2=_0x408f6e;return this[_0x35d7c2(0xdf)](_0x13be8b);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x408f6e(0x224)](A['Injector'])),ne(0x1,A[_0x408f6e(0x224)](it['HTTPService'])),ne(0x2,A[_0x408f6e(0x140)]),ne(0x3,A[_0x408f6e(0x24f)]),ne(0x4,Ot[_0x408f6e(0xcd)])],exports[_0x408f6e(0xea)]),exports[_0x408f6e(0x20a)]=fe;
1
+ 'use strict';const _0x274898=_0x1834;(function(_0x419c74,_0x53dd86){const _0x48f403=_0x1834,_0x1f51ae=_0x419c74();while(!![]){try{const _0x2f0b5e=parseInt(_0x48f403(0x253))/0x1+-parseInt(_0x48f403(0x112))/0x2*(-parseInt(_0x48f403(0x142))/0x3)+parseInt(_0x48f403(0x1e5))/0x4+parseInt(_0x48f403(0x1be))/0x5+-parseInt(_0x48f403(0x20a))/0x6*(-parseInt(_0x48f403(0x252))/0x7)+-parseInt(_0x48f403(0x1b9))/0x8+-parseInt(_0x48f403(0x18d))/0x9*(parseInt(_0x48f403(0x244))/0xa);if(_0x2f0b5e===_0x53dd86)break;else _0x1f51ae['push'](_0x1f51ae['shift']());}catch(_0x3e5f5d){_0x1f51ae['push'](_0x1f51ae['shift']());}}}(_0x3146,0x8984a));Object[_0x274898(0x1dd)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x274898(0x12a),Ct={'customHeaders':{}};function Tt(_0x4444f8){const _0x25f8e6=_0x274898;return _0x4444f8&&_0x4444f8[_0x25f8e6(0x1e8)]&&Object['prototype']['hasOwnProperty'][_0x25f8e6(0x15b)](_0x4444f8,'default')?_0x4444f8[_0x25f8e6(0x1a0)]:_0x4444f8;}function at(_0x4e3ed3){const _0x128c48=_0x274898;if(Object[_0x128c48(0x242)][_0x128c48(0xd5)][_0x128c48(0x15b)](_0x4e3ed3,_0x128c48(0x1e8)))return _0x4e3ed3;var _0x4f5b47=_0x4e3ed3[_0x128c48(0x1a0)];if(typeof _0x4f5b47==_0x128c48(0x195)){var _0x609961=function _0x59fab3(){const _0x3dbee3=_0x128c48;var _0x5a896a=!0x1;try{_0x5a896a=this instanceof _0x59fab3;}catch{}return _0x5a896a?Reflect['construct'](_0x4f5b47,arguments,this[_0x3dbee3(0x1e0)]):_0x4f5b47[_0x3dbee3(0x228)](this,arguments);};_0x609961[_0x128c48(0x242)]=_0x4f5b47[_0x128c48(0x242)];}else _0x609961={};return Object[_0x128c48(0x1dd)](_0x609961,_0x128c48(0x1e8),{'value':!0x0}),Object[_0x128c48(0x279)](_0x4e3ed3)[_0x128c48(0x1ff)](function(_0x5664da){const _0x2ba843=_0x128c48;var _0x38bff0=Object['getOwnPropertyDescriptor'](_0x4e3ed3,_0x5664da);Object[_0x2ba843(0x1dd)](_0x609961,_0x5664da,_0x38bff0['get']?_0x38bff0:{'enumerable':!0x0,'get':function(){return _0x4e3ed3[_0x5664da];}});}),_0x609961;}var se={'exports':{}},ge,Ge;function H(){const _0x2702c4=_0x274898;if(Ge)return ge;Ge=0x1;const _0x108a56=[_0x2702c4(0x226),'arraybuffer',_0x2702c4(0x151)],_0x247c1d=typeof Blob<'u';return _0x247c1d&&_0x108a56['push']('blob'),ge={'BINARY_TYPES':_0x108a56,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2702c4(0x213),'hasBlob':_0x247c1d,'kForOnEventAttribute':Symbol(_0x2702c4(0x197)),'kListener':Symbol(_0x2702c4(0xd9)),'kStatusCode':Symbol(_0x2702c4(0xf2)),'kWebSocket':Symbol(_0x2702c4(0xfe)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x274898(0xe5)](Object[_0x274898(0x1dd)]({'__proto__':null,'default':Nt},Symbol[_0x274898(0x110)],{'value':_0x274898(0x173)})),Lt=at(kt);var Ve;function ce(){const _0x82e349=_0x274898;if(Ve)return se[_0x82e349(0xfc)];Ve=0x1;const {EMPTY_BUFFER:_0x49b482}=H(),_0x2136ea=Buffer[Symbol[_0x82e349(0x17d)]];function _0x41578a(_0x5747e3,_0x14a84c){const _0x17903a=_0x82e349;if(_0x5747e3['length']===0x0)return _0x49b482;if(_0x5747e3['length']===0x1)return _0x5747e3[0x0];const _0x41ac60=Buffer[_0x17903a(0xd7)](_0x14a84c);let _0x1364e9=0x0;for(let _0x12b6ed=0x0;_0x12b6ed<_0x5747e3[_0x17903a(0x15e)];_0x12b6ed++){const _0x103db3=_0x5747e3[_0x12b6ed];_0x41ac60[_0x17903a(0x13b)](_0x103db3,_0x1364e9),_0x1364e9+=_0x103db3[_0x17903a(0x15e)];}return _0x1364e9<_0x14a84c?new _0x2136ea(_0x41ac60[_0x17903a(0x1da)],_0x41ac60[_0x17903a(0x157)],_0x1364e9):_0x41ac60;}function _0x402fd0(_0x54eb47,_0x439c83,_0x3a91ad,_0x245239,_0x2d68a9){for(let _0x4f1f87=0x0;_0x4f1f87<_0x2d68a9;_0x4f1f87++)_0x3a91ad[_0x245239+_0x4f1f87]=_0x54eb47[_0x4f1f87]^_0x439c83[_0x4f1f87&0x3];}function _0x578d87(_0x6846ea,_0xa80588){const _0x4f58f7=_0x82e349;for(let _0x526111=0x0;_0x526111<_0x6846ea[_0x4f58f7(0x15e)];_0x526111++)_0x6846ea[_0x526111]^=_0xa80588[_0x526111&0x3];}function _0x39ce6b(_0x40bc10){const _0x438e99=_0x82e349;return _0x40bc10['length']===_0x40bc10[_0x438e99(0x1da)][_0x438e99(0x1bc)]?_0x40bc10[_0x438e99(0x1da)]:_0x40bc10['buffer'][_0x438e99(0x23b)](_0x40bc10[_0x438e99(0x157)],_0x40bc10[_0x438e99(0x157)]+_0x40bc10[_0x438e99(0x15e)]);}function _0x5c702d(_0x4f516c){const _0x2048b0=_0x82e349;if(_0x5c702d[_0x2048b0(0xee)]=!0x0,Buffer[_0x2048b0(0x277)](_0x4f516c))return _0x4f516c;let _0x555cce;return _0x4f516c instanceof ArrayBuffer?_0x555cce=new _0x2136ea(_0x4f516c):ArrayBuffer[_0x2048b0(0xc7)](_0x4f516c)?_0x555cce=new _0x2136ea(_0x4f516c[_0x2048b0(0x1da)],_0x4f516c[_0x2048b0(0x157)],_0x4f516c[_0x2048b0(0x1bc)]):(_0x555cce=Buffer[_0x2048b0(0xc9)](_0x4f516c),_0x5c702d[_0x2048b0(0xee)]=!0x1),_0x555cce;}if(se[_0x82e349(0xfc)]={'concat':_0x41578a,'mask':_0x402fd0,'toArrayBuffer':_0x39ce6b,'toBuffer':_0x5c702d,'unmask':_0x578d87},!process['env'][_0x82e349(0x28a)])try{const _0x2a0322=Lt;se[_0x82e349(0xfc)]['mask']=function(_0x50961d,_0xb3e323,_0x72ce50,_0x603901,_0x5fc5d0){const _0x4ca7c3=_0x82e349;_0x5fc5d0<0x30?_0x402fd0(_0x50961d,_0xb3e323,_0x72ce50,_0x603901,_0x5fc5d0):_0x2a0322[_0x4ca7c3(0x1fe)](_0x50961d,_0xb3e323,_0x72ce50,_0x603901,_0x5fc5d0);},se[_0x82e349(0xfc)][_0x82e349(0x1f0)]=function(_0x12fb6,_0x431670){const _0x31e769=_0x82e349;_0x12fb6[_0x31e769(0x15e)]<0x20?_0x578d87(_0x12fb6,_0x431670):_0x2a0322['unmask'](_0x12fb6,_0x431670);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x3c0e71=_0x274898;if(He)return ye;He=0x1;const _0x327a27=Symbol(_0x3c0e71(0x136)),_0x32a564=Symbol('kRun');class _0x44bdd8{constructor(_0x2dcf18){const _0x5fbcff=_0x3c0e71;this[_0x327a27]=()=>{const _0x3eae77=_0x1834;this[_0x3eae77(0x12b)]--,this[_0x32a564]();},this[_0x5fbcff(0xfb)]=_0x2dcf18||0x1/0x0,this[_0x5fbcff(0x25e)]=[],this[_0x5fbcff(0x12b)]=0x0;}[_0x3c0e71(0x156)](_0x2a8893){const _0x2d468e=_0x3c0e71;this['jobs'][_0x2d468e(0x21b)](_0x2a8893),this[_0x32a564]();}[_0x32a564](){const _0x5a5047=_0x3c0e71;if(this[_0x5a5047(0x12b)]!==this[_0x5a5047(0xfb)]&&this[_0x5a5047(0x25e)][_0x5a5047(0x15e)]){const _0x49008c=this[_0x5a5047(0x25e)][_0x5a5047(0x241)]();this[_0x5a5047(0x12b)]++,_0x49008c(this[_0x327a27]);}}}return ye=_0x44bdd8,ye;}var ve,ze;function he(){const _0x48b540=_0x274898;if(ze)return ve;ze=0x1;const _0x15b964=bt,_0x1b6adc=ce(),_0x527ae5=Pt(),{kStatusCode:_0x13dce0}=H(),_0x170e1a=Buffer[Symbol[_0x48b540(0x17d)]],_0x38eb31=Buffer[_0x48b540(0xc9)]([0x0,0x0,0xff,0xff]),_0x2c3b0f=Symbol('permessage-deflate'),_0x4aaf1f=Symbol(_0x48b540(0x1f5)),_0x120054=Symbol(_0x48b540(0x180)),_0xf3a765=Symbol(_0x48b540(0x22a)),_0xd85a7a=Symbol('error');let _0xbb4589;class _0x51e73c{constructor(_0x232344,_0x5cff4d,_0x75cf29){const _0x49e142=_0x48b540;if(this[_0x49e142(0x13a)]=_0x75cf29|0x0,this[_0x49e142(0xda)]=_0x232344||{},this[_0x49e142(0x18b)]=this['_options'][_0x49e142(0x284)]!==void 0x0?this[_0x49e142(0xda)][_0x49e142(0x284)]:0x400,this[_0x49e142(0xc8)]=!!_0x5cff4d,this[_0x49e142(0x105)]=null,this[_0x49e142(0x1d8)]=null,this['params']=null,!_0xbb4589){const _0x3ead7e=this['_options'][_0x49e142(0x22b)]!==void 0x0?this[_0x49e142(0xda)][_0x49e142(0x22b)]:0xa;_0xbb4589=new _0x527ae5(_0x3ead7e);}}static get['extensionName'](){const _0x1fa356=_0x48b540;return _0x1fa356(0xfa);}[_0x48b540(0x1ee)](){const _0x49aa72=_0x48b540,_0x26affc={};return this[_0x49aa72(0xda)][_0x49aa72(0xde)]&&(_0x26affc[_0x49aa72(0x15a)]=!0x0),this[_0x49aa72(0xda)][_0x49aa72(0x13d)]&&(_0x26affc['client_no_context_takeover']=!0x0),this['_options'][_0x49aa72(0xcf)]&&(_0x26affc[_0x49aa72(0x1bd)]=this[_0x49aa72(0xda)][_0x49aa72(0xcf)]),this[_0x49aa72(0xda)][_0x49aa72(0x192)]?_0x26affc[_0x49aa72(0x235)]=this[_0x49aa72(0xda)][_0x49aa72(0x192)]:this[_0x49aa72(0xda)]['clientMaxWindowBits']==null&&(_0x26affc[_0x49aa72(0x235)]=!0x0),_0x26affc;}['accept'](_0x3417b5){const _0x30b2c6=_0x48b540;return _0x3417b5=this[_0x30b2c6(0x1ed)](_0x3417b5),this[_0x30b2c6(0x141)]=this['_isServer']?this[_0x30b2c6(0x263)](_0x3417b5):this[_0x30b2c6(0x1de)](_0x3417b5),this[_0x30b2c6(0x141)];}[_0x48b540(0x251)](){const _0x2d10af=_0x48b540;if(this[_0x2d10af(0x1d8)]&&(this[_0x2d10af(0x1d8)]['close'](),this['_inflate']=null),this['_deflate']){const _0x4b5bc2=this[_0x2d10af(0x105)][_0x120054];this[_0x2d10af(0x105)]['close'](),this['_deflate']=null,_0x4b5bc2&&_0x4b5bc2(new Error(_0x2d10af(0x121)));}}['acceptAsServer'](_0x575e05){const _0x16ed5e=_0x48b540,_0x2c3271=this[_0x16ed5e(0xda)],_0x48f23a=_0x575e05[_0x16ed5e(0x163)](_0x8b670a=>!(_0x2c3271['serverNoContextTakeover']===!0x1&&_0x8b670a[_0x16ed5e(0x15a)]||_0x8b670a['server_max_window_bits']&&(_0x2c3271['serverMaxWindowBits']===!0x1||typeof _0x2c3271[_0x16ed5e(0xcf)]==_0x16ed5e(0x280)&&_0x2c3271[_0x16ed5e(0xcf)]>_0x8b670a[_0x16ed5e(0x1bd)])||typeof _0x2c3271[_0x16ed5e(0x192)]=='number'&&!_0x8b670a['client_max_window_bits']));if(!_0x48f23a)throw new Error(_0x16ed5e(0x10d));return _0x2c3271['serverNoContextTakeover']&&(_0x48f23a[_0x16ed5e(0x15a)]=!0x0),_0x2c3271[_0x16ed5e(0x13d)]&&(_0x48f23a[_0x16ed5e(0x1df)]=!0x0),typeof _0x2c3271[_0x16ed5e(0xcf)]==_0x16ed5e(0x280)&&(_0x48f23a[_0x16ed5e(0x1bd)]=_0x2c3271[_0x16ed5e(0xcf)]),typeof _0x2c3271[_0x16ed5e(0x192)]==_0x16ed5e(0x280)?_0x48f23a[_0x16ed5e(0x235)]=_0x2c3271[_0x16ed5e(0x192)]:(_0x48f23a['client_max_window_bits']===!0x0||_0x2c3271[_0x16ed5e(0x192)]===!0x1)&&delete _0x48f23a['client_max_window_bits'],_0x48f23a;}[_0x48b540(0x1de)](_0x549a44){const _0x3ae282=_0x48b540,_0x33e849=_0x549a44[0x0];if(this['_options'][_0x3ae282(0x13d)]===!0x1&&_0x33e849[_0x3ae282(0x1df)])throw new Error(_0x3ae282(0x1bb));if(!_0x33e849[_0x3ae282(0x235)])typeof this[_0x3ae282(0xda)][_0x3ae282(0x192)]==_0x3ae282(0x280)&&(_0x33e849[_0x3ae282(0x235)]=this[_0x3ae282(0xda)][_0x3ae282(0x192)]);else{if(this[_0x3ae282(0xda)][_0x3ae282(0x192)]===!0x1||typeof this[_0x3ae282(0xda)]['clientMaxWindowBits']==_0x3ae282(0x280)&&_0x33e849[_0x3ae282(0x235)]>this['_options'][_0x3ae282(0x192)])throw new Error(_0x3ae282(0x19f));}return _0x33e849;}[_0x48b540(0x1ed)](_0x3cc04a){const _0xb203a2=_0x48b540;return _0x3cc04a[_0xb203a2(0x1ff)](_0x58363b=>{const _0x3415b4=_0xb203a2;Object['keys'](_0x58363b)[_0x3415b4(0x1ff)](_0x2271ec=>{const _0x7c85c1=_0x3415b4;let _0x20f89d=_0x58363b[_0x2271ec];if(_0x20f89d[_0x7c85c1(0x15e)]>0x1)throw new Error(_0x7c85c1(0x19b)+_0x2271ec+_0x7c85c1(0x267));if(_0x20f89d=_0x20f89d[0x0],_0x2271ec===_0x7c85c1(0x235)){if(_0x20f89d!==!0x0){const _0x1e5cc4=+_0x20f89d;if(!Number['isInteger'](_0x1e5cc4)||_0x1e5cc4<0x8||_0x1e5cc4>0xf)throw new TypeError(_0x7c85c1(0x16e)+_0x2271ec+_0x7c85c1(0x128)+_0x20f89d);_0x20f89d=_0x1e5cc4;}else{if(!this[_0x7c85c1(0xc8)])throw new TypeError(_0x7c85c1(0x16e)+_0x2271ec+_0x7c85c1(0x128)+_0x20f89d);}}else{if(_0x2271ec===_0x7c85c1(0x1bd)){const _0x212c20=+_0x20f89d;if(!Number[_0x7c85c1(0x132)](_0x212c20)||_0x212c20<0x8||_0x212c20>0xf)throw new TypeError(_0x7c85c1(0x16e)+_0x2271ec+'\x22:\x20'+_0x20f89d);_0x20f89d=_0x212c20;}else{if(_0x2271ec===_0x7c85c1(0x1df)||_0x2271ec==='server_no_context_takeover'){if(_0x20f89d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2271ec+_0x7c85c1(0x128)+_0x20f89d);}else throw new Error(_0x7c85c1(0x1a5)+_0x2271ec+'\x22');}}_0x58363b[_0x2271ec]=_0x20f89d;});}),_0x3cc04a;}[_0x48b540(0x21d)](_0x30ce28,_0x375ae2,_0x5a6f1a){const _0x2ee9a6=_0x48b540;_0xbb4589[_0x2ee9a6(0x156)](_0x2b4d1b=>{const _0x386ba1=_0x2ee9a6;this[_0x386ba1(0x239)](_0x30ce28,_0x375ae2,(_0x1d2113,_0x1c8765)=>{_0x2b4d1b(),_0x5a6f1a(_0x1d2113,_0x1c8765);});});}[_0x48b540(0x1cc)](_0x4fc54e,_0x198bc4,_0x1efbf2){const _0x4b6081=_0x48b540;_0xbb4589[_0x4b6081(0x156)](_0x51b5ca=>{const _0x2865f2=_0x4b6081;this[_0x2865f2(0x227)](_0x4fc54e,_0x198bc4,(_0x43deed,_0xf74bcb)=>{_0x51b5ca(),_0x1efbf2(_0x43deed,_0xf74bcb);});});}[_0x48b540(0x239)](_0x518867,_0x283c49,_0x27e762){const _0x243167=_0x48b540,_0x172fb5=this[_0x243167(0xc8)]?_0x243167(0x199):_0x243167(0x188);if(!this[_0x243167(0x1d8)]){const _0x284a90=_0x172fb5+'_max_window_bits',_0x3e5e0b=typeof this[_0x243167(0x141)][_0x284a90]!=_0x243167(0x280)?_0x15b964[_0x243167(0xdf)]:this[_0x243167(0x141)][_0x284a90];this[_0x243167(0x1d8)]=_0x15b964[_0x243167(0x16d)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x3e5e0b}),this['_inflate'][_0x2c3b0f]=this,this[_0x243167(0x1d8)][_0x4aaf1f]=0x0,this[_0x243167(0x1d8)][_0xf3a765]=[],this[_0x243167(0x1d8)]['on'](_0x243167(0x23e),_0x14452b),this[_0x243167(0x1d8)]['on'](_0x243167(0x25f),_0x4b6ca2);}this[_0x243167(0x1d8)][_0x120054]=_0x27e762,this[_0x243167(0x1d8)]['write'](_0x518867),_0x283c49&&this[_0x243167(0x1d8)][_0x243167(0x14f)](_0x38eb31),this[_0x243167(0x1d8)]['flush'](()=>{const _0x22314a=_0x243167,_0x48e737=this[_0x22314a(0x1d8)][_0xd85a7a];if(_0x48e737){this[_0x22314a(0x1d8)][_0x22314a(0x22c)](),this[_0x22314a(0x1d8)]=null,_0x27e762(_0x48e737);return;}const _0x920b72=_0x1b6adc[_0x22314a(0x210)](this[_0x22314a(0x1d8)][_0xf3a765],this[_0x22314a(0x1d8)][_0x4aaf1f]);this[_0x22314a(0x1d8)][_0x22314a(0x223)][_0x22314a(0x1e2)]?(this[_0x22314a(0x1d8)][_0x22314a(0x22c)](),this[_0x22314a(0x1d8)]=null):(this['_inflate'][_0x4aaf1f]=0x0,this['_inflate'][_0xf3a765]=[],_0x283c49&&this[_0x22314a(0x141)][_0x172fb5+'_no_context_takeover']&&this['_inflate'][_0x22314a(0x209)]()),_0x27e762(null,_0x920b72);});}[_0x48b540(0x227)](_0x3bf886,_0x31561f,_0x491a6d){const _0x4e363f=_0x48b540,_0x33e989=this[_0x4e363f(0xc8)]?_0x4e363f(0x188):_0x4e363f(0x199);if(!this[_0x4e363f(0x105)]){const _0x581666=_0x33e989+_0x4e363f(0x216),_0x5bbe6a=typeof this[_0x4e363f(0x141)][_0x581666]!=_0x4e363f(0x280)?_0x15b964['Z_DEFAULT_WINDOWBITS']:this[_0x4e363f(0x141)][_0x581666];this[_0x4e363f(0x105)]=_0x15b964[_0x4e363f(0x248)]({...this[_0x4e363f(0xda)][_0x4e363f(0x10c)],'windowBits':_0x5bbe6a}),this[_0x4e363f(0x105)][_0x4aaf1f]=0x0,this['_deflate'][_0xf3a765]=[],this[_0x4e363f(0x105)]['on']('data',_0x2ad440);}this[_0x4e363f(0x105)][_0x120054]=_0x491a6d,this[_0x4e363f(0x105)]['write'](_0x3bf886),this['_deflate'][_0x4e363f(0x125)](_0x15b964[_0x4e363f(0x1d0)],()=>{const _0x24a576=_0x4e363f;if(!this[_0x24a576(0x105)])return;let _0x4f4421=_0x1b6adc[_0x24a576(0x210)](this[_0x24a576(0x105)][_0xf3a765],this[_0x24a576(0x105)][_0x4aaf1f]);_0x31561f&&(_0x4f4421=new _0x170e1a(_0x4f4421[_0x24a576(0x1da)],_0x4f4421[_0x24a576(0x157)],_0x4f4421[_0x24a576(0x15e)]-0x4)),this[_0x24a576(0x105)][_0x120054]=null,this[_0x24a576(0x105)][_0x4aaf1f]=0x0,this[_0x24a576(0x105)][_0xf3a765]=[],_0x31561f&&this['params'][_0x33e989+_0x24a576(0x1db)]&&this['_deflate']['reset'](),_0x491a6d(null,_0x4f4421);});}}ve=_0x51e73c;function _0x2ad440(_0x32ab96){const _0x5e0ade=_0x48b540;this[_0xf3a765][_0x5e0ade(0x21b)](_0x32ab96),this[_0x4aaf1f]+=_0x32ab96['length'];}function _0x4b6ca2(_0xe5e9c8){const _0x47e8c2=_0x48b540;if(this[_0x4aaf1f]+=_0xe5e9c8['length'],this[_0x2c3b0f][_0x47e8c2(0x13a)]<0x1||this[_0x4aaf1f]<=this[_0x2c3b0f]['_maxPayload']){this[_0xf3a765][_0x47e8c2(0x21b)](_0xe5e9c8);return;}this[_0xd85a7a]=new RangeError(_0x47e8c2(0x149)),this[_0xd85a7a][_0x47e8c2(0x1fb)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0xd85a7a][_0x13dce0]=0x3f1,this[_0x47e8c2(0x181)](_0x47e8c2(0x25f),_0x4b6ca2),this[_0x47e8c2(0x209)]();}function _0x14452b(_0x35f4fd){const _0x4398e2=_0x48b540;if(this[_0x2c3b0f][_0x4398e2(0x1d8)]=null,this[_0xd85a7a]){this[_0x120054](this[_0xd85a7a]);return;}_0x35f4fd[_0x13dce0]=0x3ef,this[_0x120054](_0x35f4fd);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x274898(0x1dd)]({'__proto__':null,'default':Dt},Symbol[_0x274898(0x110)],{'value':_0x274898(0x173)})),Bt=at(Rt);var Ye;function ae(){const _0x36f267=_0x274898;if(Ye)return ie[_0x36f267(0xfc)];Ye=0x1;const {isUtf8:_0x21c003}=wt,{hasBlob:_0x3730db}=H(),_0x5b9dd5=[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 _0xc18ec9(_0x500610){return _0x500610>=0x3e8&&_0x500610<=0x3f6&&_0x500610!==0x3ec&&_0x500610!==0x3ed&&_0x500610!==0x3ee||_0x500610>=0xbb8&&_0x500610<=0x1387;}function _0x343130(_0x1abdf7){const _0x21e46f=_0x1abdf7['length'];let _0x281819=0x0;for(;_0x281819<_0x21e46f;)if((_0x1abdf7[_0x281819]&0x80)===0x0)_0x281819++;else{if((_0x1abdf7[_0x281819]&0xe0)===0xc0){if(_0x281819+0x1===_0x21e46f||(_0x1abdf7[_0x281819+0x1]&0xc0)!==0x80||(_0x1abdf7[_0x281819]&0xfe)===0xc0)return!0x1;_0x281819+=0x2;}else{if((_0x1abdf7[_0x281819]&0xf0)===0xe0){if(_0x281819+0x2>=_0x21e46f||(_0x1abdf7[_0x281819+0x1]&0xc0)!==0x80||(_0x1abdf7[_0x281819+0x2]&0xc0)!==0x80||_0x1abdf7[_0x281819]===0xe0&&(_0x1abdf7[_0x281819+0x1]&0xe0)===0x80||_0x1abdf7[_0x281819]===0xed&&(_0x1abdf7[_0x281819+0x1]&0xe0)===0xa0)return!0x1;_0x281819+=0x3;}else{if((_0x1abdf7[_0x281819]&0xf8)===0xf0){if(_0x281819+0x3>=_0x21e46f||(_0x1abdf7[_0x281819+0x1]&0xc0)!==0x80||(_0x1abdf7[_0x281819+0x2]&0xc0)!==0x80||(_0x1abdf7[_0x281819+0x3]&0xc0)!==0x80||_0x1abdf7[_0x281819]===0xf0&&(_0x1abdf7[_0x281819+0x1]&0xf0)===0x80||_0x1abdf7[_0x281819]===0xf4&&_0x1abdf7[_0x281819+0x1]>0x8f||_0x1abdf7[_0x281819]>0xf4)return!0x1;_0x281819+=0x4;}else return!0x1;}}}return!0x0;}function _0x13a58e(_0x201ea2){const _0xc8002b=_0x36f267;return _0x3730db&&typeof _0x201ea2=='object'&&typeof _0x201ea2[_0xc8002b(0x107)]==_0xc8002b(0x195)&&typeof _0x201ea2[_0xc8002b(0x1e4)]==_0xc8002b(0x14e)&&typeof _0x201ea2[_0xc8002b(0x258)]==_0xc8002b(0x195)&&(_0x201ea2[Symbol[_0xc8002b(0x110)]]==='Blob'||_0x201ea2[Symbol[_0xc8002b(0x110)]]===_0xc8002b(0x169));}if(ie[_0x36f267(0xfc)]={'isBlob':_0x13a58e,'isValidStatusCode':_0xc18ec9,'isValidUTF8':_0x343130,'tokenChars':_0x5b9dd5},_0x21c003)ie[_0x36f267(0xfc)]['isValidUTF8']=function(_0x15ed63){const _0x3d3b9c=_0x36f267;return _0x15ed63[_0x3d3b9c(0x15e)]<0x18?_0x343130(_0x15ed63):_0x21c003(_0x15ed63);};else{if(!process[_0x36f267(0x238)][_0x36f267(0x1f6)])try{const _0x4f555e=Bt;ie[_0x36f267(0xfc)][_0x36f267(0x1a2)]=function(_0x48b49d){const _0x43a0a7=_0x36f267;return _0x48b49d[_0x43a0a7(0x15e)]<0x20?_0x343130(_0x48b49d):_0x4f555e(_0x48b49d);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x544ae2=_0x274898;if(Ke)return Se;Ke=0x1;const {Writable:_0x49e9f5}=oe,_0x17a7fe=he(),{BINARY_TYPES:_0xf6497b,EMPTY_BUFFER:_0x5d8916,kStatusCode:_0x4e2c72,kWebSocket:_0x22dbbe}=H(),{concat:_0x3b746a,toArrayBuffer:_0x5620b7,unmask:_0x190bc9}=ce(),{isValidStatusCode:_0x2a1d5f,isValidUTF8:_0x14c543}=ae(),_0xccf2b7=Buffer[Symbol[_0x544ae2(0x17d)]],_0x2c4c1d=0x0,_0x4b1cb6=0x1,_0x1670ba=0x2,_0x29c9f6=0x3,_0x5e1537=0x4,_0x19e4f0=0x5,_0x3aebac=0x6;class _0xa0fd2a extends _0x49e9f5{constructor(_0x2b5b57={}){const _0x12b54e=_0x544ae2;super(),this['_allowSynchronousEvents']=_0x2b5b57[_0x12b54e(0x16b)]!==void 0x0?_0x2b5b57['allowSynchronousEvents']:!0x0,this[_0x12b54e(0x184)]=_0x2b5b57[_0x12b54e(0xf5)]||_0xf6497b[0x0],this['_extensions']=_0x2b5b57[_0x12b54e(0x150)]||{},this[_0x12b54e(0xc8)]=!!_0x2b5b57[_0x12b54e(0x185)],this[_0x12b54e(0x13a)]=_0x2b5b57[_0x12b54e(0x1e1)]|0x0,this[_0x12b54e(0x167)]=!!_0x2b5b57['skipUTF8Validation'],this[_0x22dbbe]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x12b54e(0x1f3)]=!0x1,this['_payloadLength']=0x0,this[_0x12b54e(0x276)]=void 0x0,this[_0x12b54e(0x1ab)]=0x0,this['_masked']=!0x1,this[_0x12b54e(0x187)]=!0x1,this[_0x12b54e(0x1c9)]=0x0,this[_0x12b54e(0xe1)]=0x0,this[_0x12b54e(0x11a)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x12b54e(0x1a3)]=!0x1,this['_state']=_0x2c4c1d;}['_write'](_0x1f2c8f,_0x2ca78f,_0x4ac2a5){const _0x4447f2=_0x544ae2;if(this[_0x4447f2(0x1c9)]===0x8&&this[_0x4447f2(0xdc)]==_0x2c4c1d)return _0x4ac2a5();this[_0x4447f2(0x1d2)]+=_0x1f2c8f[_0x4447f2(0x15e)],this[_0x4447f2(0x205)][_0x4447f2(0x21b)](_0x1f2c8f),this[_0x4447f2(0x1a7)](_0x4ac2a5);}[_0x544ae2(0x10f)](_0x21e6ff){const _0x4f4a69=_0x544ae2;if(this[_0x4f4a69(0x1d2)]-=_0x21e6ff,_0x21e6ff===this[_0x4f4a69(0x205)][0x0]['length'])return this[_0x4f4a69(0x205)][_0x4f4a69(0x241)]();if(_0x21e6ff<this[_0x4f4a69(0x205)][0x0][_0x4f4a69(0x15e)]){const _0x11dfe2=this[_0x4f4a69(0x205)][0x0];return this[_0x4f4a69(0x205)][0x0]=new _0xccf2b7(_0x11dfe2[_0x4f4a69(0x1da)],_0x11dfe2[_0x4f4a69(0x157)]+_0x21e6ff,_0x11dfe2[_0x4f4a69(0x15e)]-_0x21e6ff),new _0xccf2b7(_0x11dfe2[_0x4f4a69(0x1da)],_0x11dfe2['byteOffset'],_0x21e6ff);}const _0x3e633c=Buffer[_0x4f4a69(0xd7)](_0x21e6ff);do{const _0x3efec7=this['_buffers'][0x0],_0x35a73e=_0x3e633c['length']-_0x21e6ff;_0x21e6ff>=_0x3efec7[_0x4f4a69(0x15e)]?_0x3e633c[_0x4f4a69(0x13b)](this['_buffers'][_0x4f4a69(0x241)](),_0x35a73e):(_0x3e633c['set'](new Uint8Array(_0x3efec7[_0x4f4a69(0x1da)],_0x3efec7[_0x4f4a69(0x157)],_0x21e6ff),_0x35a73e),this[_0x4f4a69(0x205)][0x0]=new _0xccf2b7(_0x3efec7['buffer'],_0x3efec7[_0x4f4a69(0x157)]+_0x21e6ff,_0x3efec7[_0x4f4a69(0x15e)]-_0x21e6ff)),_0x21e6ff-=_0x3efec7['length'];}while(_0x21e6ff>0x0);return _0x3e633c;}['startLoop'](_0x44cd10){const _0x37b3d5=_0x544ae2;this[_0x37b3d5(0x1a3)]=!0x0;do switch(this[_0x37b3d5(0xdc)]){case _0x2c4c1d:this[_0x37b3d5(0x16f)](_0x44cd10);break;case _0x4b1cb6:this[_0x37b3d5(0x164)](_0x44cd10);break;case _0x1670ba:this[_0x37b3d5(0x269)](_0x44cd10);break;case _0x29c9f6:this[_0x37b3d5(0x200)]();break;case _0x5e1537:this[_0x37b3d5(0x245)](_0x44cd10);break;case _0x19e4f0:case _0x3aebac:this[_0x37b3d5(0x1a3)]=!0x1;return;}while(this[_0x37b3d5(0x1a3)]);this['_errored']||_0x44cd10();}[_0x544ae2(0x16f)](_0x3469c2){const _0x37fbf9=_0x544ae2;if(this[_0x37fbf9(0x1d2)]<0x2){this['_loop']=!0x1;return;}const _0x576d8d=this[_0x37fbf9(0x10f)](0x2);if((_0x576d8d[0x0]&0x30)!==0x0){const _0x5c840b=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3469c2(_0x5c840b);return;}const _0x1a16b6=(_0x576d8d[0x0]&0x40)===0x40;if(_0x1a16b6&&!this[_0x37fbf9(0x246)][_0x17a7fe['extensionName']]){const _0x19a486=this[_0x37fbf9(0x271)](RangeError,_0x37fbf9(0x274),!0x0,0x3ea,_0x37fbf9(0x222));_0x3469c2(_0x19a486);return;}if(this['_fin']=(_0x576d8d[0x0]&0x80)===0x80,this[_0x37fbf9(0x1c9)]=_0x576d8d[0x0]&0xf,this[_0x37fbf9(0xea)]=_0x576d8d[0x1]&0x7f,this[_0x37fbf9(0x1c9)]===0x0){if(_0x1a16b6){const _0x48a0f3=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37fbf9(0x222));_0x3469c2(_0x48a0f3);return;}if(!this[_0x37fbf9(0x1ab)]){const _0x4687de=this[_0x37fbf9(0x271)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3469c2(_0x4687de);return;}this['_opcode']=this[_0x37fbf9(0x1ab)];}else{if(this['_opcode']===0x1||this[_0x37fbf9(0x1c9)]===0x2){if(this[_0x37fbf9(0x1ab)]){const _0x332d63=this['createError'](RangeError,_0x37fbf9(0x119)+this[_0x37fbf9(0x1c9)],!0x0,0x3ea,_0x37fbf9(0x26a));_0x3469c2(_0x332d63);return;}this[_0x37fbf9(0x1f3)]=_0x1a16b6;}else{if(this[_0x37fbf9(0x1c9)]>0x7&&this[_0x37fbf9(0x1c9)]<0xb){if(!this[_0x37fbf9(0x187)]){const _0x777a12=this[_0x37fbf9(0x271)](RangeError,_0x37fbf9(0x1a6),!0x0,0x3ea,_0x37fbf9(0x20c));_0x3469c2(_0x777a12);return;}if(_0x1a16b6){const _0x5e1df0=this['createError'](RangeError,_0x37fbf9(0x274),!0x0,0x3ea,_0x37fbf9(0x222));_0x3469c2(_0x5e1df0);return;}if(this[_0x37fbf9(0xea)]>0x7d||this['_opcode']===0x8&&this[_0x37fbf9(0xea)]===0x1){const _0x461f29=this[_0x37fbf9(0x271)](RangeError,_0x37fbf9(0xd3)+this[_0x37fbf9(0xea)],!0x0,0x3ea,_0x37fbf9(0x220));_0x3469c2(_0x461f29);return;}}else{const _0xd2e54=this[_0x37fbf9(0x271)](RangeError,_0x37fbf9(0x119)+this[_0x37fbf9(0x1c9)],!0x0,0x3ea,_0x37fbf9(0x26a));_0x3469c2(_0xd2e54);return;}}}if(!this[_0x37fbf9(0x187)]&&!this[_0x37fbf9(0x1ab)]&&(this[_0x37fbf9(0x1ab)]=this[_0x37fbf9(0x1c9)]),this[_0x37fbf9(0x15c)]=(_0x576d8d[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x37fbf9(0x15c)]){const _0x4141af=this[_0x37fbf9(0x271)](RangeError,_0x37fbf9(0x124),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3469c2(_0x4141af);return;}}else{if(this[_0x37fbf9(0x15c)]){const _0x4299cd=this[_0x37fbf9(0x271)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3469c2(_0x4299cd);return;}}this[_0x37fbf9(0xea)]===0x7e?this[_0x37fbf9(0xdc)]=_0x4b1cb6:this['_payloadLength']===0x7f?this[_0x37fbf9(0xdc)]=_0x1670ba:this['haveLength'](_0x3469c2);}['getPayloadLength16'](_0x128901){const _0x659497=_0x544ae2;if(this[_0x659497(0x1d2)]<0x2){this['_loop']=!0x1;return;}this[_0x659497(0xea)]=this[_0x659497(0x10f)](0x2)[_0x659497(0x116)](0x0),this['haveLength'](_0x128901);}[_0x544ae2(0x269)](_0x407fed){const _0x25cb92=_0x544ae2;if(this[_0x25cb92(0x1d2)]<0x8){this[_0x25cb92(0x1a3)]=!0x1;return;}const _0x59328a=this[_0x25cb92(0x10f)](0x8),_0x33930c=_0x59328a[_0x25cb92(0x281)](0x0);if(_0x33930c>Math[_0x25cb92(0x1eb)](0x2,0x15)-0x1){const _0x416873=this[_0x25cb92(0x271)](RangeError,_0x25cb92(0x143),!0x1,0x3f1,_0x25cb92(0x15d));_0x407fed(_0x416873);return;}this[_0x25cb92(0xea)]=_0x33930c*Math['pow'](0x2,0x20)+_0x59328a[_0x25cb92(0x281)](0x4),this[_0x25cb92(0x131)](_0x407fed);}[_0x544ae2(0x131)](_0x48c71a){const _0x1d8f39=_0x544ae2;if(this['_payloadLength']&&this[_0x1d8f39(0x1c9)]<0x8&&(this[_0x1d8f39(0xe1)]+=this[_0x1d8f39(0xea)],this[_0x1d8f39(0xe1)]>this[_0x1d8f39(0x13a)]&&this['_maxPayload']>0x0)){const _0xde90d7=this[_0x1d8f39(0x271)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x48c71a(_0xde90d7);return;}this[_0x1d8f39(0x15c)]?this[_0x1d8f39(0xdc)]=_0x29c9f6:this['_state']=_0x5e1537;}[_0x544ae2(0x200)](){const _0x1c0485=_0x544ae2;if(this[_0x1c0485(0x1d2)]<0x4){this[_0x1c0485(0x1a3)]=!0x1;return;}this[_0x1c0485(0x276)]=this[_0x1c0485(0x10f)](0x4),this[_0x1c0485(0xdc)]=_0x5e1537;}['getData'](_0xa15e85){const _0x3a1e6a=_0x544ae2;let _0x3d2b70=_0x5d8916;if(this[_0x3a1e6a(0xea)]){if(this[_0x3a1e6a(0x1d2)]<this[_0x3a1e6a(0xea)]){this[_0x3a1e6a(0x1a3)]=!0x1;return;}_0x3d2b70=this[_0x3a1e6a(0x10f)](this[_0x3a1e6a(0xea)]),this['_masked']&&(this['_mask'][0x0]|this[_0x3a1e6a(0x276)][0x1]|this[_0x3a1e6a(0x276)][0x2]|this[_0x3a1e6a(0x276)][0x3])!==0x0&&_0x190bc9(_0x3d2b70,this[_0x3a1e6a(0x276)]);}if(this[_0x3a1e6a(0x1c9)]>0x7){this[_0x3a1e6a(0x28b)](_0x3d2b70,_0xa15e85);return;}if(this[_0x3a1e6a(0x1f3)]){this[_0x3a1e6a(0xdc)]=_0x19e4f0,this[_0x3a1e6a(0x21d)](_0x3d2b70,_0xa15e85);return;}_0x3d2b70[_0x3a1e6a(0x15e)]&&(this[_0x3a1e6a(0x11a)]=this['_totalPayloadLength'],this[_0x3a1e6a(0x1b8)][_0x3a1e6a(0x21b)](_0x3d2b70)),this['dataMessage'](_0xa15e85);}[_0x544ae2(0x21d)](_0x524c71,_0x398f68){const _0x2cf569=_0x544ae2;this[_0x2cf569(0x246)][_0x17a7fe[_0x2cf569(0x1d1)]][_0x2cf569(0x21d)](_0x524c71,this['_fin'],(_0x26751f,_0x301b2a)=>{const _0x8b237c=_0x2cf569;if(_0x26751f)return _0x398f68(_0x26751f);if(_0x301b2a[_0x8b237c(0x15e)]){if(this[_0x8b237c(0x11a)]+=_0x301b2a[_0x8b237c(0x15e)],this[_0x8b237c(0x11a)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x55b561=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x8b237c(0xe9));_0x398f68(_0x55b561);return;}this[_0x8b237c(0x1b8)]['push'](_0x301b2a);}this['dataMessage'](_0x398f68),this[_0x8b237c(0xdc)]===_0x2c4c1d&&this[_0x8b237c(0x1a7)](_0x398f68);});}[_0x544ae2(0x25a)](_0x3560c8){const _0x15f9d2=_0x544ae2;if(!this[_0x15f9d2(0x187)]){this[_0x15f9d2(0xdc)]=_0x2c4c1d;return;}const _0x39772b=this[_0x15f9d2(0x11a)],_0x3d5aa6=this[_0x15f9d2(0x1b8)];if(this['_totalPayloadLength']=0x0,this[_0x15f9d2(0x11a)]=0x0,this[_0x15f9d2(0x1ab)]=0x0,this[_0x15f9d2(0x1b8)]=[],this[_0x15f9d2(0x1c9)]===0x2){let _0x13b737;this['_binaryType']==='nodebuffer'?_0x13b737=_0x3b746a(_0x3d5aa6,_0x39772b):this[_0x15f9d2(0x184)]===_0x15f9d2(0x10a)?_0x13b737=_0x5620b7(_0x3b746a(_0x3d5aa6,_0x39772b)):this['_binaryType']==='blob'?_0x13b737=new Blob(_0x3d5aa6):_0x13b737=_0x3d5aa6,this[_0x15f9d2(0xff)]?(this[_0x15f9d2(0xcc)]('message',_0x13b737,!0x0),this[_0x15f9d2(0xdc)]=_0x2c4c1d):(this[_0x15f9d2(0xdc)]=_0x3aebac,setImmediate(()=>{const _0x47e0ba=_0x15f9d2;this['emit'](_0x47e0ba(0x10b),_0x13b737,!0x0),this['_state']=_0x2c4c1d,this[_0x47e0ba(0x1a7)](_0x3560c8);}));}else{const _0xd0a6c8=_0x3b746a(_0x3d5aa6,_0x39772b);if(!this[_0x15f9d2(0x167)]&&!_0x14c543(_0xd0a6c8)){const _0x5d65c0=this[_0x15f9d2(0x271)](Error,_0x15f9d2(0x154),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3560c8(_0x5d65c0);return;}this[_0x15f9d2(0xdc)]===_0x19e4f0||this['_allowSynchronousEvents']?(this['emit'](_0x15f9d2(0x10b),_0xd0a6c8,!0x1),this['_state']=_0x2c4c1d):(this[_0x15f9d2(0xdc)]=_0x3aebac,setImmediate(()=>{const _0x9f71d5=_0x15f9d2;this[_0x9f71d5(0xcc)](_0x9f71d5(0x10b),_0xd0a6c8,!0x1),this[_0x9f71d5(0xdc)]=_0x2c4c1d,this[_0x9f71d5(0x1a7)](_0x3560c8);}));}}[_0x544ae2(0x28b)](_0x31e24b,_0x4337eb){const _0xcf37ac=_0x544ae2;if(this[_0xcf37ac(0x1c9)]===0x8){if(_0x31e24b[_0xcf37ac(0x15e)]===0x0)this['_loop']=!0x1,this[_0xcf37ac(0xcc)]('conclude',0x3ed,_0x5d8916),this[_0xcf37ac(0x1e7)]();else{const _0x142b27=_0x31e24b[_0xcf37ac(0x116)](0x0);if(!_0x2a1d5f(_0x142b27)){const _0x478cf1=this['createError'](RangeError,_0xcf37ac(0x11e)+_0x142b27,!0x0,0x3ea,_0xcf37ac(0x27c));_0x4337eb(_0x478cf1);return;}const _0x5324ce=new _0xccf2b7(_0x31e24b[_0xcf37ac(0x1da)],_0x31e24b[_0xcf37ac(0x157)]+0x2,_0x31e24b[_0xcf37ac(0x15e)]-0x2);if(!this[_0xcf37ac(0x167)]&&!_0x14c543(_0x5324ce)){const _0x58f501=this[_0xcf37ac(0x271)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4337eb(_0x58f501);return;}this[_0xcf37ac(0x1a3)]=!0x1,this[_0xcf37ac(0xcc)](_0xcf37ac(0x174),_0x142b27,_0x5324ce),this[_0xcf37ac(0x1e7)]();}this[_0xcf37ac(0xdc)]=_0x2c4c1d;return;}this[_0xcf37ac(0xff)]?(this[_0xcf37ac(0xcc)](this[_0xcf37ac(0x1c9)]===0x9?'ping':_0xcf37ac(0x198),_0x31e24b),this[_0xcf37ac(0xdc)]=_0x2c4c1d):(this[_0xcf37ac(0xdc)]=_0x3aebac,setImmediate(()=>{const _0x4968e2=_0xcf37ac;this[_0x4968e2(0xcc)](this[_0x4968e2(0x1c9)]===0x9?_0x4968e2(0x1f1):'pong',_0x31e24b),this['_state']=_0x2c4c1d,this[_0x4968e2(0x1a7)](_0x4337eb);}));}['createError'](_0x348a03,_0x42c448,_0x25d68d,_0x2780dc,_0x37e131){const _0x48a7cf=_0x544ae2;this['_loop']=!0x1,this[_0x48a7cf(0x221)]=!0x0;const _0x6987f0=new _0x348a03(_0x25d68d?'Invalid\x20WebSocket\x20frame:\x20'+_0x42c448:_0x42c448);return Error['captureStackTrace'](_0x6987f0,this[_0x48a7cf(0x271)]),_0x6987f0[_0x48a7cf(0x1fb)]=_0x37e131,_0x6987f0[_0x4e2c72]=_0x2780dc,_0x6987f0;}}return Se=_0xa0fd2a,Se;}var Ee,Xe;function ft(){const _0x4aaab7=_0x274898;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x298a24}=oe,{randomFillSync:_0x1a5ee8}=Le,_0xeab256=he(),{EMPTY_BUFFER:_0xf1dfd4,kWebSocket:_0x283d49,NOOP:_0x5d7d3f}=H(),{isBlob:_0x4ebe19,isValidStatusCode:_0x225915}=ae(),{mask:_0x5a5ab4,toBuffer:_0x25c654}=ce(),_0x5c9bb0=Symbol(_0x4aaab7(0x1c7)),_0x5b0cb9=Buffer[_0x4aaab7(0x175)](0x4),_0x35debe=0x8*0x400;let _0x143624,_0x3552c8=_0x35debe;const _0x559a98=0x0,_0x28bddc=0x1,_0x17f3bb=0x2;class _0x3071ca{constructor(_0x104561,_0x3d3986,_0xff55c6){const _0x4c943e=_0x4aaab7;this[_0x4c943e(0x246)]=_0x3d3986||{},_0xff55c6&&(this[_0x4c943e(0x211)]=_0xff55c6,this['_maskBuffer']=Buffer[_0x4c943e(0x175)](0x4)),this[_0x4c943e(0x230)]=_0x104561,this[_0x4c943e(0x152)]=!0x0,this[_0x4c943e(0x227)]=!0x1,this[_0x4c943e(0x1d2)]=0x0,this[_0x4c943e(0x287)]=[],this['_state']=_0x559a98,this[_0x4c943e(0x257)]=_0x5d7d3f,this[_0x283d49]=void 0x0;}static[_0x4aaab7(0x27d)](_0x4d0246,_0x5d30d4){const _0x4b1df8=_0x4aaab7;let _0x316171,_0x3fe66d=!0x1,_0x590f3f=0x2,_0xebfea8=!0x1;_0x5d30d4['mask']&&(_0x316171=_0x5d30d4[_0x4b1df8(0x1a4)]||_0x5b0cb9,_0x5d30d4[_0x4b1df8(0x171)]?_0x5d30d4[_0x4b1df8(0x171)](_0x316171):(_0x3552c8===_0x35debe&&(_0x143624===void 0x0&&(_0x143624=Buffer['alloc'](_0x35debe)),_0x1a5ee8(_0x143624,0x0,_0x35debe),_0x3552c8=0x0),_0x316171[0x0]=_0x143624[_0x3552c8++],_0x316171[0x1]=_0x143624[_0x3552c8++],_0x316171[0x2]=_0x143624[_0x3552c8++],_0x316171[0x3]=_0x143624[_0x3552c8++]),_0xebfea8=(_0x316171[0x0]|_0x316171[0x1]|_0x316171[0x2]|_0x316171[0x3])===0x0,_0x590f3f=0x6);let _0x5da131;typeof _0x4d0246=='string'?(!_0x5d30d4[_0x4b1df8(0x1fe)]||_0xebfea8)&&_0x5d30d4[_0x5c9bb0]!==void 0x0?_0x5da131=_0x5d30d4[_0x5c9bb0]:(_0x4d0246=Buffer['from'](_0x4d0246),_0x5da131=_0x4d0246[_0x4b1df8(0x15e)]):(_0x5da131=_0x4d0246[_0x4b1df8(0x15e)],_0x3fe66d=_0x5d30d4[_0x4b1df8(0x1fe)]&&_0x5d30d4['readOnly']&&!_0xebfea8);let _0x1a5aeb=_0x5da131;_0x5da131>=0x10000?(_0x590f3f+=0x8,_0x1a5aeb=0x7f):_0x5da131>0x7d&&(_0x590f3f+=0x2,_0x1a5aeb=0x7e);const _0x43ed10=Buffer[_0x4b1df8(0xd7)](_0x3fe66d?_0x5da131+_0x590f3f:_0x590f3f);return _0x43ed10[0x0]=_0x5d30d4[_0x4b1df8(0xf1)]?_0x5d30d4[_0x4b1df8(0x1d4)]|0x80:_0x5d30d4[_0x4b1df8(0x1d4)],_0x5d30d4[_0x4b1df8(0x1ae)]&&(_0x43ed10[0x0]|=0x40),_0x43ed10[0x1]=_0x1a5aeb,_0x1a5aeb===0x7e?_0x43ed10[_0x4b1df8(0x272)](_0x5da131,0x2):_0x1a5aeb===0x7f&&(_0x43ed10[0x2]=_0x43ed10[0x3]=0x0,_0x43ed10['writeUIntBE'](_0x5da131,0x4,0x6)),_0x5d30d4[_0x4b1df8(0x1fe)]?(_0x43ed10[0x1]|=0x80,_0x43ed10[_0x590f3f-0x4]=_0x316171[0x0],_0x43ed10[_0x590f3f-0x3]=_0x316171[0x1],_0x43ed10[_0x590f3f-0x2]=_0x316171[0x2],_0x43ed10[_0x590f3f-0x1]=_0x316171[0x3],_0xebfea8?[_0x43ed10,_0x4d0246]:_0x3fe66d?(_0x5a5ab4(_0x4d0246,_0x316171,_0x43ed10,_0x590f3f,_0x5da131),[_0x43ed10]):(_0x5a5ab4(_0x4d0246,_0x316171,_0x4d0246,0x0,_0x5da131),[_0x43ed10,_0x4d0246])):[_0x43ed10,_0x4d0246];}[_0x4aaab7(0x22c)](_0x144c1c,_0x5f4451,_0x2a18f6,_0x51c22d){const _0x55bc45=_0x4aaab7;let _0xc37033;if(_0x144c1c===void 0x0)_0xc37033=_0xf1dfd4;else{if(typeof _0x144c1c!=_0x55bc45(0x280)||!_0x225915(_0x144c1c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5f4451===void 0x0||!_0x5f4451[_0x55bc45(0x15e)])_0xc37033=Buffer['allocUnsafe'](0x2),_0xc37033['writeUInt16BE'](_0x144c1c,0x0);else{const _0x1e0e02=Buffer[_0x55bc45(0x1bc)](_0x5f4451);if(_0x1e0e02>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0xc37033=Buffer[_0x55bc45(0xd7)](0x2+_0x1e0e02),_0xc37033[_0x55bc45(0x272)](_0x144c1c,0x0),typeof _0x5f4451==_0x55bc45(0x14e)?_0xc37033[_0x55bc45(0x14f)](_0x5f4451,0x2):_0xc37033[_0x55bc45(0x13b)](_0x5f4451,0x2);}}const _0x59f43a={[_0x5c9bb0]:_0xc37033[_0x55bc45(0x15e)],'fin':!0x0,'generateMask':this[_0x55bc45(0x211)],'mask':_0x2a18f6,'maskBuffer':this[_0x55bc45(0x1c4)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x55bc45(0xdc)]!==_0x559a98?this['enqueue']([this['dispatch'],_0xc37033,!0x1,_0x59f43a,_0x51c22d]):this[_0x55bc45(0xdb)](_0x3071ca[_0x55bc45(0x27d)](_0xc37033,_0x59f43a),_0x51c22d);}['ping'](_0x516e5c,_0x3ee935,_0x207fed){const _0x1a00f5=_0x4aaab7;let _0x2e9696,_0x2530e5;if(typeof _0x516e5c=='string'?(_0x2e9696=Buffer[_0x1a00f5(0x1bc)](_0x516e5c),_0x2530e5=!0x1):_0x4ebe19(_0x516e5c)?(_0x2e9696=_0x516e5c[_0x1a00f5(0x266)],_0x2530e5=!0x1):(_0x516e5c=_0x25c654(_0x516e5c),_0x2e9696=_0x516e5c[_0x1a00f5(0x15e)],_0x2530e5=_0x25c654[_0x1a00f5(0xee)]),_0x2e9696>0x7d)throw new RangeError(_0x1a00f5(0x16c));const _0x5a5489={[_0x5c9bb0]:_0x2e9696,'fin':!0x0,'generateMask':this[_0x1a00f5(0x211)],'mask':_0x3ee935,'maskBuffer':this[_0x1a00f5(0x1c4)],'opcode':0x9,'readOnly':_0x2530e5,'rsv1':!0x1};_0x4ebe19(_0x516e5c)?this[_0x1a00f5(0xdc)]!==_0x559a98?this['enqueue']([this[_0x1a00f5(0x14d)],_0x516e5c,!0x1,_0x5a5489,_0x207fed]):this[_0x1a00f5(0x14d)](_0x516e5c,!0x1,_0x5a5489,_0x207fed):this[_0x1a00f5(0xdc)]!==_0x559a98?this[_0x1a00f5(0x12c)]([this[_0x1a00f5(0xd8)],_0x516e5c,!0x1,_0x5a5489,_0x207fed]):this['sendFrame'](_0x3071ca['frame'](_0x516e5c,_0x5a5489),_0x207fed);}[_0x4aaab7(0x198)](_0x1cacea,_0x425d25,_0x30bc3a){const _0x1e6748=_0x4aaab7;let _0xa089d4,_0x36cebe;if(typeof _0x1cacea=='string'?(_0xa089d4=Buffer['byteLength'](_0x1cacea),_0x36cebe=!0x1):_0x4ebe19(_0x1cacea)?(_0xa089d4=_0x1cacea[_0x1e6748(0x266)],_0x36cebe=!0x1):(_0x1cacea=_0x25c654(_0x1cacea),_0xa089d4=_0x1cacea[_0x1e6748(0x15e)],_0x36cebe=_0x25c654['readOnly']),_0xa089d4>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1669e1={[_0x5c9bb0]:_0xa089d4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x425d25,'maskBuffer':this[_0x1e6748(0x1c4)],'opcode':0xa,'readOnly':_0x36cebe,'rsv1':!0x1};_0x4ebe19(_0x1cacea)?this[_0x1e6748(0xdc)]!==_0x559a98?this[_0x1e6748(0x12c)]([this[_0x1e6748(0x14d)],_0x1cacea,!0x1,_0x1669e1,_0x30bc3a]):this['getBlobData'](_0x1cacea,!0x1,_0x1669e1,_0x30bc3a):this[_0x1e6748(0xdc)]!==_0x559a98?this[_0x1e6748(0x12c)]([this['dispatch'],_0x1cacea,!0x1,_0x1669e1,_0x30bc3a]):this[_0x1e6748(0xdb)](_0x3071ca[_0x1e6748(0x27d)](_0x1cacea,_0x1669e1),_0x30bc3a);}[_0x4aaab7(0x10e)](_0x2b46b6,_0x5a0054,_0x1a6507){const _0x44a7cb=_0x4aaab7,_0x173ca1=this['_extensions'][_0xeab256['extensionName']];let _0x2c465a=_0x5a0054[_0x44a7cb(0x1b1)]?0x2:0x1,_0x5cdb84=_0x5a0054['compress'],_0x2d1850,_0x2047e2;typeof _0x2b46b6=='string'?(_0x2d1850=Buffer[_0x44a7cb(0x1bc)](_0x2b46b6),_0x2047e2=!0x1):_0x4ebe19(_0x2b46b6)?(_0x2d1850=_0x2b46b6[_0x44a7cb(0x266)],_0x2047e2=!0x1):(_0x2b46b6=_0x25c654(_0x2b46b6),_0x2d1850=_0x2b46b6[_0x44a7cb(0x15e)],_0x2047e2=_0x25c654['readOnly']),this['_firstFragment']?(this[_0x44a7cb(0x152)]=!0x1,_0x5cdb84&&_0x173ca1&&_0x173ca1[_0x44a7cb(0x141)][_0x173ca1[_0x44a7cb(0xc8)]?_0x44a7cb(0x15a):_0x44a7cb(0x1df)]&&(_0x5cdb84=_0x2d1850>=_0x173ca1[_0x44a7cb(0x18b)]),this[_0x44a7cb(0x227)]=_0x5cdb84):(_0x5cdb84=!0x1,_0x2c465a=0x0),_0x5a0054[_0x44a7cb(0xf1)]&&(this[_0x44a7cb(0x152)]=!0x0);const _0x2c6579={[_0x5c9bb0]:_0x2d1850,'fin':_0x5a0054[_0x44a7cb(0xf1)],'generateMask':this[_0x44a7cb(0x211)],'mask':_0x5a0054[_0x44a7cb(0x1fe)],'maskBuffer':this[_0x44a7cb(0x1c4)],'opcode':_0x2c465a,'readOnly':_0x2047e2,'rsv1':_0x5cdb84};_0x4ebe19(_0x2b46b6)?this[_0x44a7cb(0xdc)]!==_0x559a98?this[_0x44a7cb(0x12c)]([this[_0x44a7cb(0x14d)],_0x2b46b6,this['_compress'],_0x2c6579,_0x1a6507]):this[_0x44a7cb(0x14d)](_0x2b46b6,this[_0x44a7cb(0x227)],_0x2c6579,_0x1a6507):this[_0x44a7cb(0xdc)]!==_0x559a98?this[_0x44a7cb(0x12c)]([this[_0x44a7cb(0xd8)],_0x2b46b6,this[_0x44a7cb(0x227)],_0x2c6579,_0x1a6507]):this[_0x44a7cb(0xd8)](_0x2b46b6,this['_compress'],_0x2c6579,_0x1a6507);}['getBlobData'](_0xcc023e,_0x5725e1,_0x9d3108,_0x639e5b){const _0x4a9c68=_0x4aaab7;this[_0x4a9c68(0x1d2)]+=_0x9d3108[_0x5c9bb0],this[_0x4a9c68(0xdc)]=_0x17f3bb,_0xcc023e[_0x4a9c68(0x107)]()[_0x4a9c68(0x1f8)](_0x26924c=>{const _0x3144ee=_0x4a9c68;if(this[_0x3144ee(0x230)]['destroyed']){const _0x3c9c39=new Error(_0x3144ee(0x26c));process[_0x3144ee(0x1c1)](_0x2ad084,this,_0x3c9c39,_0x639e5b);return;}this[_0x3144ee(0x1d2)]-=_0x9d3108[_0x5c9bb0];const _0x33f40c=_0x25c654(_0x26924c);_0x5725e1?this['dispatch'](_0x33f40c,_0x5725e1,_0x9d3108,_0x639e5b):(this['_state']=_0x559a98,this[_0x3144ee(0xdb)](_0x3071ca['frame'](_0x33f40c,_0x9d3108),_0x639e5b),this['dequeue']());})[_0x4a9c68(0xf3)](_0x1b5584=>{const _0x1acacd=_0x4a9c68;process[_0x1acacd(0x1c1)](_0x3e2fb7,this,_0x1b5584,_0x639e5b);});}['dispatch'](_0x50cbe9,_0x11ae7b,_0x23c759,_0x209b78){const _0x2fb509=_0x4aaab7;if(!_0x11ae7b){this[_0x2fb509(0xdb)](_0x3071ca[_0x2fb509(0x27d)](_0x50cbe9,_0x23c759),_0x209b78);return;}const _0x306018=this[_0x2fb509(0x246)][_0xeab256[_0x2fb509(0x1d1)]];this[_0x2fb509(0x1d2)]+=_0x23c759[_0x5c9bb0],this[_0x2fb509(0xdc)]=_0x28bddc,_0x306018[_0x2fb509(0x1cc)](_0x50cbe9,_0x23c759['fin'],(_0x2ebedb,_0x54261c)=>{const _0x5e9766=_0x2fb509;if(this[_0x5e9766(0x230)][_0x5e9766(0x162)]){const _0x353df8=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2ad084(this,_0x353df8,_0x209b78);return;}this[_0x5e9766(0x1d2)]-=_0x23c759[_0x5c9bb0],this[_0x5e9766(0xdc)]=_0x559a98,_0x23c759[_0x5e9766(0xee)]=!0x1,this['sendFrame'](_0x3071ca[_0x5e9766(0x27d)](_0x54261c,_0x23c759),_0x209b78),this['dequeue']();});}[_0x4aaab7(0x24a)](){const _0x358aae=_0x4aaab7;for(;this['_state']===_0x559a98&&this['_queue'][_0x358aae(0x15e)];){const _0x1455cf=this['_queue'][_0x358aae(0x241)]();this[_0x358aae(0x1d2)]-=_0x1455cf[0x3][_0x5c9bb0],Reflect[_0x358aae(0x228)](_0x1455cf[0x0],this,_0x1455cf['slice'](0x1));}}[_0x4aaab7(0x12c)](_0x53bed9){const _0x51ffc9=_0x4aaab7;this[_0x51ffc9(0x1d2)]+=_0x53bed9[0x3][_0x5c9bb0],this[_0x51ffc9(0x287)][_0x51ffc9(0x21b)](_0x53bed9);}['sendFrame'](_0x39f932,_0x59f092){const _0x52bf91=_0x4aaab7;_0x39f932[_0x52bf91(0x15e)]===0x2?(this[_0x52bf91(0x230)][_0x52bf91(0x22d)](),this[_0x52bf91(0x230)][_0x52bf91(0x14f)](_0x39f932[0x0]),this[_0x52bf91(0x230)]['write'](_0x39f932[0x1],_0x59f092),this['_socket'][_0x52bf91(0x11d)]()):this[_0x52bf91(0x230)][_0x52bf91(0x14f)](_0x39f932[0x0],_0x59f092);}}Ee=_0x3071ca;function _0x2ad084(_0x5dcba8,_0x36e0bb,_0x20b5ef){const _0x459ee3=_0x4aaab7;typeof _0x20b5ef==_0x459ee3(0x195)&&_0x20b5ef(_0x36e0bb);for(let _0x3c83bd=0x0;_0x3c83bd<_0x5dcba8[_0x459ee3(0x287)]['length'];_0x3c83bd++){const _0x597472=_0x5dcba8[_0x459ee3(0x287)][_0x3c83bd],_0x2bbb0e=_0x597472[_0x597472[_0x459ee3(0x15e)]-0x1];typeof _0x2bbb0e==_0x459ee3(0x195)&&_0x2bbb0e(_0x36e0bb);}}function _0x3e2fb7(_0x5e7982,_0x126321,_0x51b6f1){const _0x335d6b=_0x4aaab7;_0x2ad084(_0x5e7982,_0x126321,_0x51b6f1),_0x5e7982[_0x335d6b(0x257)](_0x126321);}return Ee;}var xe,Ze;function It(){const _0x2466dc=_0x274898;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x596bc7,kListener:_0x4df34c}=H(),_0x2d200e=Symbol(_0x2466dc(0x146)),_0x31b13c=Symbol(_0x2466dc(0x126)),_0x38a4c7=Symbol(_0x2466dc(0xcd)),_0x212328=Symbol(_0x2466dc(0xd4)),_0x51be5b=Symbol('kReason'),_0xcc4ed9=Symbol(_0x2466dc(0x25b)),_0x27ab6e=Symbol('kType'),_0x463100=Symbol(_0x2466dc(0x20f));class _0x5bd73d{constructor(_0x115911){this[_0xcc4ed9]=null,this[_0x27ab6e]=_0x115911;}get[_0x2466dc(0x24e)](){return this[_0xcc4ed9];}get['type'](){return this[_0x27ab6e];}}Object['defineProperty'](_0x5bd73d[_0x2466dc(0x242)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x5bd73d[_0x2466dc(0x242)],'type',{'enumerable':!0x0});class _0x3b52e0 extends _0x5bd73d{constructor(_0x4788f6,_0x5ef7b5={}){const _0x35f69b=_0x2466dc;super(_0x4788f6),this[_0x2d200e]=_0x5ef7b5[_0x35f69b(0x1fb)]===void 0x0?0x0:_0x5ef7b5[_0x35f69b(0x1fb)],this[_0x51be5b]=_0x5ef7b5[_0x35f69b(0x26d)]===void 0x0?'':_0x5ef7b5[_0x35f69b(0x26d)],this[_0x463100]=_0x5ef7b5['wasClean']===void 0x0?!0x1:_0x5ef7b5[_0x35f69b(0x26e)];}get[_0x2466dc(0x1fb)](){return this[_0x2d200e];}get[_0x2466dc(0x26d)](){return this[_0x51be5b];}get[_0x2466dc(0x26e)](){return this[_0x463100];}}Object[_0x2466dc(0x1dd)](_0x3b52e0[_0x2466dc(0x242)],_0x2466dc(0x1fb),{'enumerable':!0x0}),Object[_0x2466dc(0x1dd)](_0x3b52e0[_0x2466dc(0x242)],_0x2466dc(0x26d),{'enumerable':!0x0}),Object[_0x2466dc(0x1dd)](_0x3b52e0[_0x2466dc(0x242)],_0x2466dc(0x26e),{'enumerable':!0x0});class _0x673dca extends _0x5bd73d{constructor(_0x9170cc,_0x560195={}){const _0x3cfae5=_0x2466dc;super(_0x9170cc),this[_0x38a4c7]=_0x560195[_0x3cfae5(0x23e)]===void 0x0?null:_0x560195[_0x3cfae5(0x23e)],this[_0x212328]=_0x560195[_0x3cfae5(0x10b)]===void 0x0?'':_0x560195[_0x3cfae5(0x10b)];}get[_0x2466dc(0x23e)](){return this[_0x38a4c7];}get['message'](){return this[_0x212328];}}Object[_0x2466dc(0x1dd)](_0x673dca['prototype'],'error',{'enumerable':!0x0}),Object[_0x2466dc(0x1dd)](_0x673dca[_0x2466dc(0x242)],_0x2466dc(0x10b),{'enumerable':!0x0});class _0x98761a extends _0x5bd73d{constructor(_0x2b16ba,_0x45629d={}){super(_0x2b16ba),this[_0x31b13c]=_0x45629d['data']===void 0x0?null:_0x45629d['data'];}get[_0x2466dc(0x25f)](){return this[_0x31b13c];}}Object[_0x2466dc(0x1dd)](_0x98761a[_0x2466dc(0x242)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x3b52e0,'ErrorEvent':_0x673dca,'Event':_0x5bd73d,'EventTarget':{'addEventListener'(_0x58adfa,_0x3e2026,_0x1b1db9={}){const _0x2b90b1=_0x2466dc;for(const _0x244f24 of this['listeners'](_0x58adfa))if(!_0x1b1db9[_0x596bc7]&&_0x244f24[_0x4df34c]===_0x3e2026&&!_0x244f24[_0x596bc7])return;let _0x2f8ce4;if(_0x58adfa==='message')_0x2f8ce4=function(_0x59bdff,_0x40fbb1){const _0x4bf6ac=_0x1834,_0x2ff037=new _0x98761a(_0x4bf6ac(0x10b),{'data':_0x40fbb1?_0x59bdff:_0x59bdff['toString']()});_0x2ff037[_0xcc4ed9]=this,_0x33fd2c(_0x3e2026,this,_0x2ff037);};else{if(_0x58adfa===_0x2b90b1(0x22c))_0x2f8ce4=function(_0x131dcb,_0x1da513){const _0x4da4cc=_0x2b90b1,_0x49fea5=new _0x3b52e0(_0x4da4cc(0x22c),{'code':_0x131dcb,'reason':_0x1da513[_0x4da4cc(0xeb)](),'wasClean':this[_0x4da4cc(0x24d)]&&this['_closeFrameSent']});_0x49fea5[_0xcc4ed9]=this,_0x33fd2c(_0x3e2026,this,_0x49fea5);};else{if(_0x58adfa===_0x2b90b1(0x23e))_0x2f8ce4=function(_0x39ad7e){const _0x36f4a2=_0x2b90b1,_0x4703d9=new _0x673dca(_0x36f4a2(0x23e),{'error':_0x39ad7e,'message':_0x39ad7e['message']});_0x4703d9[_0xcc4ed9]=this,_0x33fd2c(_0x3e2026,this,_0x4703d9);};else{if(_0x58adfa===_0x2b90b1(0x11b))_0x2f8ce4=function(){const _0x54bfd7=_0x2b90b1,_0x3b76f0=new _0x5bd73d(_0x54bfd7(0x11b));_0x3b76f0[_0xcc4ed9]=this,_0x33fd2c(_0x3e2026,this,_0x3b76f0);};else return;}}}_0x2f8ce4[_0x596bc7]=!!_0x1b1db9[_0x596bc7],_0x2f8ce4[_0x4df34c]=_0x3e2026,_0x1b1db9[_0x2b90b1(0x256)]?this[_0x2b90b1(0x256)](_0x58adfa,_0x2f8ce4):this['on'](_0x58adfa,_0x2f8ce4);},'removeEventListener'(_0x30cb87,_0x7177d9){const _0x335431=_0x2466dc;for(const _0x317221 of this[_0x335431(0x1b5)](_0x30cb87))if(_0x317221[_0x4df34c]===_0x7177d9&&!_0x317221[_0x596bc7]){this[_0x335431(0x181)](_0x30cb87,_0x317221);break;}}},'MessageEvent':_0x98761a};function _0x33fd2c(_0x14905f,_0x5897ef,_0x41b20e){const _0x4af2df=_0x2466dc;typeof _0x14905f=='object'&&_0x14905f[_0x4af2df(0x135)]?_0x14905f[_0x4af2df(0x135)]['call'](_0x14905f,_0x41b20e):_0x14905f[_0x4af2df(0x15b)](_0x5897ef,_0x41b20e);}return xe;}function _0x3146(){const _0x3fd419=['acceptAsServer','Sec-WebSocket-Protocol:\x20','writeHead','size','\x22\x20must\x20have\x20only\x20a\x20single\x20value','replace','getPayloadLength64','WS_ERR_INVALID_OPCODE','authorization','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','reason','wasClean','_removeListeners','WebSocket','createError','writeUInt16BE','Invalid\x20Sec-WebSocket-Accept\x20header','RSV1\x20must\x20be\x20clear','noServer','_mask','isBuffer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','keys','_configService','isIP','WS_ERR_INVALID_CLOSE_CODE','frame','socketPath','share','number','readUInt32BE','kAborted','connect','threshold','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','search','_queue','has','indexOf','WS_NO_BUFFER_UTIL','controlMessage','ws:','sec-websocket-version','cookie','isView','_isServer','from','CONNECTING','backlog','emit','kError','_write','serverMaxWindowBits','createConnection','Injector','_final','invalid\x20payload\x20length\x20','kMessage','hasOwnProperty','accept','allocUnsafe','dispatch','kListener','_options','sendFrame','_state','getConfig','serverNoContextTakeover','Z_DEFAULT_WINDOWBITS','_closeCode','_totalPayloadLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','onStarting','\x22\x20subprotocol\x20is\x20duplicated','freeze','Unsupported\x20protocol\x20version:\x20','password','NodeCollaborationSocketService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_payloadLength','toString','GET','_readyState','readOnly','clients','Sec-WebSocket-Protocol','fin','status-code','catch','registerHTTPInterceptor','binaryType','toLowerCase','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20Sec-WebSocket-Extensions\x20header','CollaborationSocketService','permessage-deflate','concurrency','exports','sec-websocket-extensions','websocket','_allowSynchronousEvents','pause','_paused','verifyClient','errorEmitted','onopen','_deflate','_protocol','arrayBuffer','autoPong','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','arraybuffer','message','zlibDeflateOptions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','send','consume','toStringTag','text/plain','2nDnXxg','read','_sender','skipUTF8Validation','readUInt16BE','base64','test','invalid\x20opcode\x20','_messageLength','open','createServer','uncork','invalid\x20status\x20code\x20','username','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','maxRedirects','COLLABORATION_CLIENT_NODE_CONFIG_KEY','MASK\x20must\x20be\x20set','flush','kData','object','\x22:\x20','setTimeout','collaboration-client-node.config','pending','enqueue','_url','_registerDependencies','perMessageDeflate','drain','haveLength','isInteger','_receiver','OPEN','handleEvent','kDone','Unexpected\x20character\x20at\x20index\x20','warn','Invalid\x20Sec-WebSocket-Protocol\x20header','_maxPayload','set','bufferedAmount','clientNoContextTakeover','protocol','_shouldEmitClose','Plugin','params','1917543fNZXzQ','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','objectMode','update','kCode','Maximum\x20redirects\x20exceeded','value','Max\x20payload\x20size\x20exceeded','host','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','destroy','getBlobData','string','write','extensions','fragments','_firstFragment','Sec-WebSocket-Accept:\x20','invalid\x20UTF-8\x20sequence','Server\x20sent\x20no\x20subprotocol','add','byteOffset','port','finish','server_no_context_takeover','call','_masked','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','length','_closeFrameSent','delete','UniverCollaborationClientPlugin','destroyed','find','getPayloadLength16','clientTracking','redirect','_skipUTF8Validation','method','File','response','allowSynchronousEvents','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','createInflateRaw','Invalid\x20value\x20for\x20parameter\x20\x22','getInfo','emitClose','generateMask','finished','Module','conclude','alloc','servername','hash','needDrain','startsWith','isArray','_read','abort','species','_originalSecure','addEventListener','callback','removeListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','unshift','_binaryType','isServer','_req','_fin','server','_server','encrypted','_threshold','removeEventListener','279JvgGTN','options','split','_injector','address','clientMaxWindowBits','customHeaders','next','function','Inject','kIsForOnEventAttribute','pong','client','resume','Parameter\x20\x22','captureStackTrace','Cookie','_closeMessage','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','default','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','isValidUTF8','_loop','maskBuffer','Unknown\x20parameter\x20\x22','FIN\x20must\x20be\x20set','startLoop','Sec-WebSocket-Origin','parse','CLOSED','_fragmented','origin','pathname','rsv1','_writableState','finishRequest','binary','_originalHostOrSocketPath','setNoDelay','upgrade','listeners','bind','Basic\x20','_fragments','5575864KmpzUa','connection','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','byteLength','server_max_window_bits','1368275wWtNrg','listening','unexpected-response','nextTick','dispose','wsClientError','_maskBuffer','path','shouldHandle','kByteLength','createSocket','_opcode','charCodeAt','hostname','compress','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','ws+unix:','registerDependencies','Z_SYNC_FLUSH','extensionName','_bufferedBytes','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','opcode','The\x20URL\x27s\x20pathname\x20is\x20empty','headers','ISocketService','_inflate','_httpService','buffer','_no_context_takeover','_autoPong','defineProperty','acceptAsClient','client_no_context_takeover','constructor','maxPayload','endEmitted','Invalid\x20URL:\x20','type','1296852aQNAlK','getOwnPropertyDescriptor','end','__esModule','authorized','_closeTimer','pow','onclose','normalizeParams','offer','isPaused','unmask','ping','The\x20\x22','_compressed','_originalIpc','total-length','WS_NO_UTF_8_VALIDATE','DisposableCollection','then','readable','listenerCount','code','terminate','defaultPort','mask','forEach','getMask','entries','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','socket','onmessage','_buffers','map','UniverCollaborationClientNodePlugin','format','reset','204mfqGei','listen','WS_ERR_EXPECTED_FIN','pipe','_errorEmitted','kWasClean','concat','_generateMask','handshakeTimeout','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Upgrade:\x20websocket','setHeader','_max_window_bits','CLOSING','join','sha1','protocolVersion','push','location','decompress','includes','handleProtocols','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_errored','WS_ERR_UNEXPECTED_RSV_1','_readableState','sec-websocket-protocol','href','nodebuffer','_compress','apply','timeout','buffers','concurrencyLimit','close','cork','ILogService','Observable','_socket','http:','_bufferedAmount','digest','pluginName','client_max_window_bits','STATUS_CODES','Invalid\x20HTTP\x20method','env','_decompress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','slice','Unexpected\x20server\x20response:\x20','url','error','IConfigService','_redirects','shift','prototype','auth','474260qdRgQW','getData','_extensions','Invalid\x20Upgrade\x20header','createDeflateRaw','request','dequeue','create','handleUpgrade','_closeFrameReceived','target','ISnapshotServerService','13,\x208','cleanup','155309BHTXMB','739056pbqCYx','https:','writable','once','onerror','stream','readyState','dataMessage','kTarget','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','DependentOn','jobs','data','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toDisposable','statusCode'];_0x3146=function(){return _0x3fd419;};return _0x3146();}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1c20f6}=ae();function _0x169a17(_0x184d1b,_0x437a0e,_0x16efc6){_0x184d1b[_0x437a0e]===void 0x0?_0x184d1b[_0x437a0e]=[_0x16efc6]:_0x184d1b[_0x437a0e]['push'](_0x16efc6);}function _0x417a8f(_0x4d3cca){const _0x1fec58=_0x1834,_0x1361d8=Object[_0x1fec58(0x24b)](null);let _0x14c122=Object['create'](null),_0x3ef3ba=!0x1,_0x5a69d7=!0x1,_0x55d31e=!0x1,_0x57e66f,_0x1c8aab,_0x4b340b=-0x1,_0x26e0e8=-0x1,_0x1909a6=-0x1,_0x37ca73=0x0;for(;_0x37ca73<_0x4d3cca[_0x1fec58(0x15e)];_0x37ca73++)if(_0x26e0e8=_0x4d3cca[_0x1fec58(0x1ca)](_0x37ca73),_0x57e66f===void 0x0){if(_0x1909a6===-0x1&&_0x1c20f6[_0x26e0e8]===0x1)_0x4b340b===-0x1&&(_0x4b340b=_0x37ca73);else{if(_0x37ca73!==0x0&&(_0x26e0e8===0x20||_0x26e0e8===0x9))_0x1909a6===-0x1&&_0x4b340b!==-0x1&&(_0x1909a6=_0x37ca73);else{if(_0x26e0e8===0x3b||_0x26e0e8===0x2c){if(_0x4b340b===-0x1)throw new SyntaxError(_0x1fec58(0x137)+_0x37ca73);_0x1909a6===-0x1&&(_0x1909a6=_0x37ca73);const _0x1aacb8=_0x4d3cca[_0x1fec58(0x23b)](_0x4b340b,_0x1909a6);_0x26e0e8===0x2c?(_0x169a17(_0x1361d8,_0x1aacb8,_0x14c122),_0x14c122=Object['create'](null)):_0x57e66f=_0x1aacb8,_0x4b340b=_0x1909a6=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x37ca73);}}}else{if(_0x1c8aab===void 0x0){if(_0x1909a6===-0x1&&_0x1c20f6[_0x26e0e8]===0x1)_0x4b340b===-0x1&&(_0x4b340b=_0x37ca73);else{if(_0x26e0e8===0x20||_0x26e0e8===0x9)_0x1909a6===-0x1&&_0x4b340b!==-0x1&&(_0x1909a6=_0x37ca73);else{if(_0x26e0e8===0x3b||_0x26e0e8===0x2c){if(_0x4b340b===-0x1)throw new SyntaxError(_0x1fec58(0x137)+_0x37ca73);_0x1909a6===-0x1&&(_0x1909a6=_0x37ca73),_0x169a17(_0x14c122,_0x4d3cca['slice'](_0x4b340b,_0x1909a6),!0x0),_0x26e0e8===0x2c&&(_0x169a17(_0x1361d8,_0x57e66f,_0x14c122),_0x14c122=Object[_0x1fec58(0x24b)](null),_0x57e66f=void 0x0),_0x4b340b=_0x1909a6=-0x1;}else{if(_0x26e0e8===0x3d&&_0x4b340b!==-0x1&&_0x1909a6===-0x1)_0x1c8aab=_0x4d3cca[_0x1fec58(0x23b)](_0x4b340b,_0x37ca73),_0x4b340b=_0x1909a6=-0x1;else throw new SyntaxError(_0x1fec58(0x137)+_0x37ca73);}}}}else{if(_0x5a69d7){if(_0x1c20f6[_0x26e0e8]!==0x1)throw new SyntaxError(_0x1fec58(0x137)+_0x37ca73);_0x4b340b===-0x1?_0x4b340b=_0x37ca73:_0x3ef3ba||(_0x3ef3ba=!0x0),_0x5a69d7=!0x1;}else{if(_0x55d31e){if(_0x1c20f6[_0x26e0e8]===0x1)_0x4b340b===-0x1&&(_0x4b340b=_0x37ca73);else{if(_0x26e0e8===0x22&&_0x4b340b!==-0x1)_0x55d31e=!0x1,_0x1909a6=_0x37ca73;else{if(_0x26e0e8===0x5c)_0x5a69d7=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x37ca73);}}}else{if(_0x26e0e8===0x22&&_0x4d3cca[_0x1fec58(0x1ca)](_0x37ca73-0x1)===0x3d)_0x55d31e=!0x0;else{if(_0x1909a6===-0x1&&_0x1c20f6[_0x26e0e8]===0x1)_0x4b340b===-0x1&&(_0x4b340b=_0x37ca73);else{if(_0x4b340b!==-0x1&&(_0x26e0e8===0x20||_0x26e0e8===0x9))_0x1909a6===-0x1&&(_0x1909a6=_0x37ca73);else{if(_0x26e0e8===0x3b||_0x26e0e8===0x2c){if(_0x4b340b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x37ca73);_0x1909a6===-0x1&&(_0x1909a6=_0x37ca73);let _0x210725=_0x4d3cca[_0x1fec58(0x23b)](_0x4b340b,_0x1909a6);_0x3ef3ba&&(_0x210725=_0x210725[_0x1fec58(0x268)](/\\/g,''),_0x3ef3ba=!0x1),_0x169a17(_0x14c122,_0x1c8aab,_0x210725),_0x26e0e8===0x2c&&(_0x169a17(_0x1361d8,_0x57e66f,_0x14c122),_0x14c122=Object[_0x1fec58(0x24b)](null),_0x57e66f=void 0x0),_0x1c8aab=void 0x0,_0x4b340b=_0x1909a6=-0x1;}else throw new SyntaxError(_0x1fec58(0x137)+_0x37ca73);}}}}}}}if(_0x4b340b===-0x1||_0x55d31e||_0x26e0e8===0x20||_0x26e0e8===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x1909a6===-0x1&&(_0x1909a6=_0x37ca73);const _0x12cc9c=_0x4d3cca['slice'](_0x4b340b,_0x1909a6);return _0x57e66f===void 0x0?_0x169a17(_0x1361d8,_0x12cc9c,_0x14c122):(_0x1c8aab===void 0x0?_0x169a17(_0x14c122,_0x12cc9c,!0x0):_0x3ef3ba?_0x169a17(_0x14c122,_0x1c8aab,_0x12cc9c[_0x1fec58(0x268)](/\\/g,'')):_0x169a17(_0x14c122,_0x1c8aab,_0x12cc9c),_0x169a17(_0x1361d8,_0x57e66f,_0x14c122)),_0x1361d8;}function _0x196fba(_0x12be16){const _0x4f7a73=_0x1834;return Object[_0x4f7a73(0x279)](_0x12be16)[_0x4f7a73(0x206)](_0x207b64=>{const _0x5db7fe=_0x4f7a73;let _0xe20138=_0x12be16[_0x207b64];return Array[_0x5db7fe(0x17a)](_0xe20138)||(_0xe20138=[_0xe20138]),_0xe20138[_0x5db7fe(0x206)](_0xbc7684=>[_0x207b64][_0x5db7fe(0x210)](Object[_0x5db7fe(0x279)](_0xbc7684)[_0x5db7fe(0x206)](_0x5c065d=>{const _0x1aaa80=_0x5db7fe;let _0x2a8c7f=_0xbc7684[_0x5c065d];return Array[_0x1aaa80(0x17a)](_0x2a8c7f)||(_0x2a8c7f=[_0x2a8c7f]),_0x2a8c7f[_0x1aaa80(0x206)](_0x1379e7=>_0x1379e7===!0x0?_0x5c065d:_0x5c065d+'='+_0x1379e7)[_0x1aaa80(0x218)](';\x20');}))[_0x5db7fe(0x218)](';\x20'))[_0x5db7fe(0x218)](',\x20');})['join'](',\x20');}return be={'format':_0x196fba,'parse':_0x417a8f},be;}var we,Je;function Pe(){const _0x364056=_0x274898;if(Je)return we;Je=0x1;const _0x53b1b1=nt,_0x39bd59=vt,_0x4ac69e=ot,_0x10f206=St,_0x3e0508=Et,{randomBytes:_0x499d04,createHash:_0x3540c2}=Le,{Duplex:_0x370499,Readable:_0x324f68}=oe,{URL:_0x30d6a8}=xt,_0x330c33=he(),_0x4ad6fc=lt(),_0x3d895b=ft(),{isBlob:_0x368480}=ae(),{BINARY_TYPES:_0x2bb3f1,EMPTY_BUFFER:_0x1ec594,GUID:_0x2fa65f,kForOnEventAttribute:_0x4cf757,kListener:_0x2426ae,kStatusCode:_0x56b937,kWebSocket:_0x4a9f51,NOOP:_0x212716}=H(),{EventTarget:{addEventListener:_0x421ffe,removeEventListener:_0x3776d6}}=It(),{format:_0x531042,parse:_0x58a4b5}=ct(),{toBuffer:_0x54e30d}=ce(),_0x3bab11=0x1e*0x3e8,_0x15c69d=Symbol(_0x364056(0x282)),_0x45a161=[0x8,0xd],_0x4752b1=[_0x364056(0xca),'OPEN',_0x364056(0x217),_0x364056(0x1aa)],_0x526681=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x276345 extends _0x53b1b1{constructor(_0x34ef8c,_0x5d5408,_0x2009ad){const _0x350af0=_0x364056;super(),this['_binaryType']=_0x2bb3f1[0x0],this[_0x350af0(0xe0)]=0x3ee,this[_0x350af0(0x24d)]=!0x1,this[_0x350af0(0x15f)]=!0x1,this[_0x350af0(0x19e)]=_0x1ec594,this[_0x350af0(0x1ea)]=null,this[_0x350af0(0x20e)]=!0x1,this[_0x350af0(0x246)]={},this[_0x350af0(0x101)]=!0x1,this['_protocol']='',this['_readyState']=_0x276345[_0x350af0(0xca)],this['_receiver']=null,this['_sender']=null,this[_0x350af0(0x230)]=null,_0x34ef8c!==null?(this[_0x350af0(0x232)]=0x0,this[_0x350af0(0xc8)]=!0x1,this[_0x350af0(0x240)]=0x0,_0x5d5408===void 0x0?_0x5d5408=[]:Array[_0x350af0(0x17a)](_0x5d5408)||(typeof _0x5d5408==_0x350af0(0x127)&&_0x5d5408!==null?(_0x2009ad=_0x5d5408,_0x5d5408=[]):_0x5d5408=[_0x5d5408]),_0x323ba3(this,_0x34ef8c,_0x5d5408,_0x2009ad)):(this['_autoPong']=_0x2009ad[_0x350af0(0x108)],this[_0x350af0(0xc8)]=!0x0);}get[_0x364056(0xf5)](){const _0x10a4d5=_0x364056;return this[_0x10a4d5(0x184)];}set[_0x364056(0xf5)](_0xb5c98){const _0x3ddad8=_0x364056;_0x2bb3f1['includes'](_0xb5c98)&&(this[_0x3ddad8(0x184)]=_0xb5c98,this['_receiver']&&(this['_receiver'][_0x3ddad8(0x184)]=_0xb5c98));}get[_0x364056(0x13c)](){const _0x423b0c=_0x364056;return this[_0x423b0c(0x230)]?this[_0x423b0c(0x230)][_0x423b0c(0x1af)][_0x423b0c(0x15e)]+this[_0x423b0c(0x114)][_0x423b0c(0x1d2)]:this[_0x423b0c(0x232)];}get[_0x364056(0x150)](){const _0x3e4e92=_0x364056;return Object['keys'](this[_0x3e4e92(0x246)])[_0x3e4e92(0x218)]();}get[_0x364056(0x1ef)](){const _0x3866e0=_0x364056;return this[_0x3866e0(0x101)];}get[_0x364056(0x1ec)](){return null;}get[_0x364056(0x257)](){return null;}get[_0x364056(0x104)](){return null;}get[_0x364056(0x204)](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0x3d2233=_0x364056;return this[_0x3d2233(0xed)];}get['url'](){const _0x1d41b3=_0x364056;return this[_0x1d41b3(0x12d)];}['setSocket'](_0x19f100,_0x144085,_0x2bc140){const _0x1dc9d7=_0x364056,_0x24ce7d=new _0x4ad6fc({'allowSynchronousEvents':_0x2bc140[_0x1dc9d7(0x16b)],'binaryType':this['binaryType'],'extensions':this[_0x1dc9d7(0x246)],'isServer':this[_0x1dc9d7(0xc8)],'maxPayload':_0x2bc140[_0x1dc9d7(0x1e1)],'skipUTF8Validation':_0x2bc140[_0x1dc9d7(0x115)]}),_0x45fc9f=new _0x3d895b(_0x19f100,this['_extensions'],_0x2bc140[_0x1dc9d7(0x171)]);this[_0x1dc9d7(0x133)]=_0x24ce7d,this[_0x1dc9d7(0x114)]=_0x45fc9f,this['_socket']=_0x19f100,_0x24ce7d[_0x4a9f51]=this,_0x45fc9f[_0x4a9f51]=this,_0x19f100[_0x4a9f51]=this,_0x24ce7d['on']('conclude',_0x48690e),_0x24ce7d['on'](_0x1dc9d7(0x130),_0x506e97),_0x24ce7d['on'](_0x1dc9d7(0x23e),_0x12cee0),_0x24ce7d['on'](_0x1dc9d7(0x10b),_0x93e5ef),_0x24ce7d['on'](_0x1dc9d7(0x1f1),_0x4bf4b9),_0x24ce7d['on'](_0x1dc9d7(0x198),_0x340740),_0x45fc9f['onerror']=_0x5a28ee,_0x19f100[_0x1dc9d7(0x129)]&&_0x19f100[_0x1dc9d7(0x129)](0x0),_0x19f100[_0x1dc9d7(0x1b3)]&&_0x19f100['setNoDelay'](),_0x144085[_0x1dc9d7(0x15e)]>0x0&&_0x19f100[_0x1dc9d7(0x183)](_0x144085),_0x19f100['on']('close',_0x59518e),_0x19f100['on'](_0x1dc9d7(0x25f),_0x22c992),_0x19f100['on']('end',_0x2d1a6f),_0x19f100['on'](_0x1dc9d7(0x23e),_0x1a68f2),this['_readyState']=_0x276345[_0x1dc9d7(0x134)],this[_0x1dc9d7(0xcc)](_0x1dc9d7(0x11b));}[_0x364056(0x170)](){const _0x1b4fee=_0x364056;if(!this[_0x1b4fee(0x230)]){this[_0x1b4fee(0xed)]=_0x276345[_0x1b4fee(0x1aa)],this[_0x1b4fee(0xcc)](_0x1b4fee(0x22c),this[_0x1b4fee(0xe0)],this[_0x1b4fee(0x19e)]);return;}this[_0x1b4fee(0x246)][_0x330c33['extensionName']]&&this[_0x1b4fee(0x246)][_0x330c33['extensionName']][_0x1b4fee(0x251)](),this['_receiver']['removeAllListeners'](),this['_readyState']=_0x276345[_0x1b4fee(0x1aa)],this[_0x1b4fee(0xcc)]('close',this[_0x1b4fee(0xe0)],this[_0x1b4fee(0x19e)]);}[_0x364056(0x22c)](_0xf1aa19,_0x2adc11){const _0x461f05=_0x364056;if(this[_0x461f05(0x259)]!==_0x276345[_0x461f05(0x1aa)]){if(this['readyState']===_0x276345[_0x461f05(0xca)]){_0x36f165(this,this[_0x461f05(0x186)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x461f05(0x259)]===_0x276345[_0x461f05(0x217)]){this['_closeFrameSent']&&(this[_0x461f05(0x24d)]||this[_0x461f05(0x133)][_0x461f05(0x1af)][_0x461f05(0x103)])&&this['_socket']['end']();return;}this[_0x461f05(0xed)]=_0x276345[_0x461f05(0x217)],this[_0x461f05(0x114)][_0x461f05(0x22c)](_0xf1aa19,_0x2adc11,!this[_0x461f05(0xc8)],_0x582f0b=>{const _0x44e9bd=_0x461f05;_0x582f0b||(this['_closeFrameSent']=!0x0,(this[_0x44e9bd(0x24d)]||this[_0x44e9bd(0x133)][_0x44e9bd(0x1af)][_0x44e9bd(0x103)])&&this[_0x44e9bd(0x230)][_0x44e9bd(0x1e7)]());}),_0x565d80(this);}}[_0x364056(0x100)](){const _0x175f7f=_0x364056;this[_0x175f7f(0x259)]===_0x276345[_0x175f7f(0xca)]||this[_0x175f7f(0x259)]===_0x276345[_0x175f7f(0x1aa)]||(this['_paused']=!0x0,this[_0x175f7f(0x230)][_0x175f7f(0x100)]());}['ping'](_0x32f62a,_0x8528d8,_0x4854eb){const _0x3c1f94=_0x364056;if(this[_0x3c1f94(0x259)]===_0x276345['CONNECTING'])throw new Error(_0x3c1f94(0x25c));if(typeof _0x32f62a=='function'?(_0x4854eb=_0x32f62a,_0x32f62a=_0x8528d8=void 0x0):typeof _0x8528d8==_0x3c1f94(0x195)&&(_0x4854eb=_0x8528d8,_0x8528d8=void 0x0),typeof _0x32f62a=='number'&&(_0x32f62a=_0x32f62a[_0x3c1f94(0xeb)]()),this[_0x3c1f94(0x259)]!==_0x276345[_0x3c1f94(0x134)]){_0x22ced2(this,_0x32f62a,_0x4854eb);return;}_0x8528d8===void 0x0&&(_0x8528d8=!this['_isServer']),this[_0x3c1f94(0x114)][_0x3c1f94(0x1f1)](_0x32f62a||_0x1ec594,_0x8528d8,_0x4854eb);}[_0x364056(0x198)](_0xf164dc,_0x12093a,_0x2d6081){const _0x25636e=_0x364056;if(this['readyState']===_0x276345[_0x25636e(0xca)])throw new Error(_0x25636e(0x25c));if(typeof _0xf164dc==_0x25636e(0x195)?(_0x2d6081=_0xf164dc,_0xf164dc=_0x12093a=void 0x0):typeof _0x12093a==_0x25636e(0x195)&&(_0x2d6081=_0x12093a,_0x12093a=void 0x0),typeof _0xf164dc==_0x25636e(0x280)&&(_0xf164dc=_0xf164dc[_0x25636e(0xeb)]()),this[_0x25636e(0x259)]!==_0x276345[_0x25636e(0x134)]){_0x22ced2(this,_0xf164dc,_0x2d6081);return;}_0x12093a===void 0x0&&(_0x12093a=!this[_0x25636e(0xc8)]),this[_0x25636e(0x114)][_0x25636e(0x198)](_0xf164dc||_0x1ec594,_0x12093a,_0x2d6081);}['resume'](){const _0x5191ce=_0x364056;this[_0x5191ce(0x259)]===_0x276345[_0x5191ce(0xca)]||this['readyState']===_0x276345[_0x5191ce(0x1aa)]||(this['_paused']=!0x1,this[_0x5191ce(0x133)][_0x5191ce(0x1af)][_0x5191ce(0x178)]||this[_0x5191ce(0x230)][_0x5191ce(0x19a)]());}[_0x364056(0x10e)](_0x496aa5,_0x409de6,_0x25ab16){const _0x21471e=_0x364056;if(this[_0x21471e(0x259)]===_0x276345[_0x21471e(0xca)])throw new Error(_0x21471e(0x25c));if(typeof _0x409de6==_0x21471e(0x195)&&(_0x25ab16=_0x409de6,_0x409de6={}),typeof _0x496aa5==_0x21471e(0x280)&&(_0x496aa5=_0x496aa5['toString']()),this['readyState']!==_0x276345[_0x21471e(0x134)]){_0x22ced2(this,_0x496aa5,_0x25ab16);return;}const _0x44b5a7={'binary':typeof _0x496aa5!=_0x21471e(0x14e),'mask':!this[_0x21471e(0xc8)],'compress':!0x0,'fin':!0x0,..._0x409de6};this[_0x21471e(0x246)][_0x330c33[_0x21471e(0x1d1)]]||(_0x44b5a7['compress']=!0x1),this[_0x21471e(0x114)][_0x21471e(0x10e)](_0x496aa5||_0x1ec594,_0x44b5a7,_0x25ab16);}[_0x364056(0x1fc)](){const _0x3b959b=_0x364056;if(this[_0x3b959b(0x259)]!==_0x276345[_0x3b959b(0x1aa)]){if(this[_0x3b959b(0x259)]===_0x276345[_0x3b959b(0xca)]){_0x36f165(this,this[_0x3b959b(0x186)],_0x3b959b(0x109));return;}this[_0x3b959b(0x230)]&&(this[_0x3b959b(0xed)]=_0x276345[_0x3b959b(0x217)],this[_0x3b959b(0x230)][_0x3b959b(0x14c)]());}}}Object['defineProperty'](_0x276345,_0x364056(0xca),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)]('CONNECTING')}),Object[_0x364056(0x1dd)](_0x276345[_0x364056(0x242)],_0x364056(0xca),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)]('CONNECTING')}),Object[_0x364056(0x1dd)](_0x276345,_0x364056(0x134),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)](_0x364056(0x134))}),Object[_0x364056(0x1dd)](_0x276345[_0x364056(0x242)],_0x364056(0x134),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)](_0x364056(0x134))}),Object[_0x364056(0x1dd)](_0x276345,_0x364056(0x217),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)]('CLOSING')}),Object[_0x364056(0x1dd)](_0x276345[_0x364056(0x242)],'CLOSING',{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)](_0x364056(0x217))}),Object['defineProperty'](_0x276345,'CLOSED',{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)]('CLOSED')}),Object['defineProperty'](_0x276345['prototype'],_0x364056(0x1aa),{'enumerable':!0x0,'value':_0x4752b1[_0x364056(0x289)](_0x364056(0x1aa))}),['binaryType',_0x364056(0x13c),_0x364056(0x150),'isPaused',_0x364056(0x13e),_0x364056(0x259),_0x364056(0x23d)][_0x364056(0x1ff)](_0x3f88a3=>{const _0x433166=_0x364056;Object[_0x433166(0x1dd)](_0x276345['prototype'],_0x3f88a3,{'enumerable':!0x0});}),['open','error',_0x364056(0x22c),_0x364056(0x10b)][_0x364056(0x1ff)](_0x1b9cb7=>{const _0xff0bad=_0x364056;Object[_0xff0bad(0x1dd)](_0x276345[_0xff0bad(0x242)],'on'+_0x1b9cb7,{'enumerable':!0x0,'get'(){const _0x4e31d5=_0xff0bad;for(const _0x280317 of this[_0x4e31d5(0x1b5)](_0x1b9cb7))if(_0x280317[_0x4cf757])return _0x280317[_0x2426ae];return null;},'set'(_0x37e5ea){const _0x422d29=_0xff0bad;for(const _0x5b8850 of this[_0x422d29(0x1b5)](_0x1b9cb7))if(_0x5b8850[_0x4cf757]){this[_0x422d29(0x181)](_0x1b9cb7,_0x5b8850);break;}typeof _0x37e5ea==_0x422d29(0x195)&&this[_0x422d29(0x17f)](_0x1b9cb7,_0x37e5ea,{[_0x4cf757]:!0x0});}});}),_0x276345[_0x364056(0x242)][_0x364056(0x17f)]=_0x421ffe,_0x276345[_0x364056(0x242)][_0x364056(0x18c)]=_0x3776d6,we=_0x276345;function _0x323ba3(_0x4c9c0b,_0x3b5d26,_0x364443,_0x2119c3){const _0x180a99=_0x364056,_0x424181={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x45a161[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2119c3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x180a99(0xec),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4c9c0b[_0x180a99(0x1dc)]=_0x424181[_0x180a99(0x108)],!_0x45a161[_0x180a99(0x21e)](_0x424181[_0x180a99(0x21a)]))throw new RangeError(_0x180a99(0xe6)+_0x424181[_0x180a99(0x21a)]+'\x20(supported\x20versions:\x20'+_0x45a161[_0x180a99(0x218)](',\x20')+')');let _0x171716;if(_0x3b5d26 instanceof _0x30d6a8)_0x171716=_0x3b5d26;else try{_0x171716=new _0x30d6a8(_0x3b5d26);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3b5d26);}_0x171716['protocol']===_0x180a99(0x231)?_0x171716['protocol']=_0x180a99(0x28c):_0x171716[_0x180a99(0x13e)]===_0x180a99(0x254)&&(_0x171716[_0x180a99(0x13e)]='wss:'),_0x4c9c0b[_0x180a99(0x12d)]=_0x171716[_0x180a99(0x225)];const _0x11d5e3=_0x171716['protocol']==='wss:',_0x4f7e8e=_0x171716[_0x180a99(0x13e)]===_0x180a99(0x1ce);let _0x48b379;if(_0x171716[_0x180a99(0x13e)]!==_0x180a99(0x28c)&&!_0x11d5e3&&!_0x4f7e8e?_0x48b379=_0x180a99(0x14b):_0x4f7e8e&&!_0x171716[_0x180a99(0x1ad)]?_0x48b379=_0x180a99(0x1d5):_0x171716[_0x180a99(0x177)]&&(_0x48b379=_0x180a99(0x260)),_0x48b379){const _0x3725b5=new SyntaxError(_0x48b379);if(_0x4c9c0b['_redirects']===0x0)throw _0x3725b5;_0x454879(_0x4c9c0b,_0x3725b5);return;}const _0x2db300=_0x11d5e3?0x1bb:0x50,_0x36b454=_0x499d04(0x10)[_0x180a99(0xeb)](_0x180a99(0x117)),_0x3ba470=_0x11d5e3?_0x39bd59['request']:_0x4ac69e[_0x180a99(0x249)],_0x4673e5=new Set();let _0x5944d4;if(_0x424181[_0x180a99(0xd0)]=_0x424181[_0x180a99(0xd0)]||(_0x11d5e3?_0x1cffa7:_0x22b2a8),_0x424181[_0x180a99(0x1fd)]=_0x424181[_0x180a99(0x1fd)]||_0x2db300,_0x424181[_0x180a99(0x158)]=_0x171716[_0x180a99(0x158)]||_0x2db300,_0x424181[_0x180a99(0x14a)]=_0x171716[_0x180a99(0x1cb)][_0x180a99(0x179)]('[')?_0x171716[_0x180a99(0x1cb)][_0x180a99(0x23b)](0x1,-0x1):_0x171716[_0x180a99(0x1cb)],_0x424181[_0x180a99(0x1d6)]={..._0x424181[_0x180a99(0x1d6)],'Sec-WebSocket-Version':_0x424181[_0x180a99(0x21a)],'Sec-WebSocket-Key':_0x36b454,'Connection':'Upgrade','Upgrade':_0x180a99(0xfe)},_0x424181[_0x180a99(0x1c5)]=_0x171716[_0x180a99(0x1ad)]+_0x171716[_0x180a99(0x286)],_0x424181[_0x180a99(0x229)]=_0x424181[_0x180a99(0x212)],_0x424181['perMessageDeflate']&&(_0x5944d4=new _0x330c33(_0x424181['perMessageDeflate']!==!0x0?_0x424181[_0x180a99(0x12f)]:{},!0x1,_0x424181[_0x180a99(0x1e1)]),_0x424181[_0x180a99(0x1d6)]['Sec-WebSocket-Extensions']=_0x531042({[_0x330c33['extensionName']]:_0x5944d4[_0x180a99(0x1ee)]()})),_0x364443[_0x180a99(0x15e)]){for(const _0x15f514 of _0x364443){if(typeof _0x15f514!='string'||!_0x526681[_0x180a99(0x118)](_0x15f514)||_0x4673e5['has'](_0x15f514))throw new SyntaxError(_0x180a99(0x1a1));_0x4673e5[_0x180a99(0x156)](_0x15f514);}_0x424181[_0x180a99(0x1d6)][_0x180a99(0xf0)]=_0x364443[_0x180a99(0x218)](',');}if(_0x424181[_0x180a99(0x1ac)]&&(_0x424181[_0x180a99(0x21a)]<0xd?_0x424181['headers'][_0x180a99(0x1a8)]=_0x424181['origin']:_0x424181['headers']['Origin']=_0x424181['origin']),(_0x171716[_0x180a99(0x11f)]||_0x171716[_0x180a99(0xe7)])&&(_0x424181['auth']=_0x171716[_0x180a99(0x11f)]+':'+_0x171716['password']),_0x4f7e8e){const _0x329dce=_0x424181[_0x180a99(0x1c5)][_0x180a99(0x18f)](':');_0x424181[_0x180a99(0x27e)]=_0x329dce[0x0],_0x424181['path']=_0x329dce[0x1];}let _0xab729a;if(_0x424181['followRedirects']){if(_0x4c9c0b['_redirects']===0x0){_0x4c9c0b[_0x180a99(0x1f4)]=_0x4f7e8e,_0x4c9c0b[_0x180a99(0x17e)]=_0x11d5e3,_0x4c9c0b[_0x180a99(0x1b2)]=_0x4f7e8e?_0x424181['socketPath']:_0x171716[_0x180a99(0x14a)];const _0x4447f1=_0x2119c3&&_0x2119c3['headers'];if(_0x2119c3={..._0x2119c3,'headers':{}},_0x4447f1){for(const [_0x355215,_0x1898fd]of Object[_0x180a99(0x201)](_0x4447f1))_0x2119c3[_0x180a99(0x1d6)][_0x355215['toLowerCase']()]=_0x1898fd;}}else{if(_0x4c9c0b[_0x180a99(0x1fa)](_0x180a99(0x166))===0x0){const _0x473b0b=_0x4f7e8e?_0x4c9c0b[_0x180a99(0x1f4)]?_0x424181['socketPath']===_0x4c9c0b['_originalHostOrSocketPath']:!0x1:_0x4c9c0b[_0x180a99(0x1f4)]?!0x1:_0x171716[_0x180a99(0x14a)]===_0x4c9c0b[_0x180a99(0x1b2)];(!_0x473b0b||_0x4c9c0b['_originalSecure']&&!_0x11d5e3)&&(delete _0x424181[_0x180a99(0x1d6)]['authorization'],delete _0x424181[_0x180a99(0x1d6)][_0x180a99(0xc6)],_0x473b0b||delete _0x424181[_0x180a99(0x1d6)]['host'],_0x424181[_0x180a99(0x243)]=void 0x0);}}_0x424181[_0x180a99(0x243)]&&!_0x2119c3[_0x180a99(0x1d6)][_0x180a99(0x26b)]&&(_0x2119c3[_0x180a99(0x1d6)][_0x180a99(0x26b)]=_0x180a99(0x1b7)+Buffer[_0x180a99(0xc9)](_0x424181[_0x180a99(0x243)])[_0x180a99(0xeb)](_0x180a99(0x117))),_0xab729a=_0x4c9c0b[_0x180a99(0x186)]=_0x3ba470(_0x424181),_0x4c9c0b[_0x180a99(0x240)]&&_0x4c9c0b['emit']('redirect',_0x4c9c0b[_0x180a99(0x23d)],_0xab729a);}else _0xab729a=_0x4c9c0b['_req']=_0x3ba470(_0x424181);_0x424181[_0x180a99(0x229)]&&_0xab729a['on'](_0x180a99(0x229),()=>{const _0x308d53=_0x180a99;_0x36f165(_0x4c9c0b,_0xab729a,_0x308d53(0xf7));}),_0xab729a['on']('error',_0x40ece8=>{_0xab729a===null||_0xab729a[_0x15c69d]||(_0xab729a=_0x4c9c0b['_req']=null,_0x454879(_0x4c9c0b,_0x40ece8));}),_0xab729a['on'](_0x180a99(0x16a),_0x1062a6=>{const _0x4036cc=_0x180a99,_0x52323b=_0x1062a6[_0x4036cc(0x1d6)][_0x4036cc(0x21c)],_0x553bfd=_0x1062a6[_0x4036cc(0x262)];if(_0x52323b&&_0x424181['followRedirects']&&_0x553bfd>=0x12c&&_0x553bfd<0x190){if(++_0x4c9c0b[_0x4036cc(0x240)]>_0x424181[_0x4036cc(0x122)]){_0x36f165(_0x4c9c0b,_0xab729a,_0x4036cc(0x147));return;}_0xab729a[_0x4036cc(0x17c)]();let _0x2e06c3;try{_0x2e06c3=new _0x30d6a8(_0x52323b,_0x3b5d26);}catch{const _0xc372de=new SyntaxError(_0x4036cc(0x1e3)+_0x52323b);_0x454879(_0x4c9c0b,_0xc372de);return;}_0x323ba3(_0x4c9c0b,_0x2e06c3,_0x364443,_0x2119c3);}else _0x4c9c0b[_0x4036cc(0xcc)](_0x4036cc(0x1c0),_0xab729a,_0x1062a6)||_0x36f165(_0x4c9c0b,_0xab729a,_0x4036cc(0x23c)+_0x1062a6[_0x4036cc(0x262)]);}),_0xab729a['on'](_0x180a99(0x1b4),(_0x504373,_0x4940ba,_0x4895d2)=>{const _0x5de412=_0x180a99;if(_0x4c9c0b[_0x5de412(0xcc)]('upgrade',_0x504373),_0x4c9c0b['readyState']!==_0x276345[_0x5de412(0xca)])return;_0xab729a=_0x4c9c0b[_0x5de412(0x186)]=null;const _0x402a89=_0x504373[_0x5de412(0x1d6)][_0x5de412(0x1b4)];if(_0x402a89===void 0x0||_0x402a89[_0x5de412(0xf6)]()!==_0x5de412(0xfe)){_0x36f165(_0x4c9c0b,_0x4940ba,_0x5de412(0x247));return;}const _0x129d94=_0x3540c2(_0x5de412(0x219))[_0x5de412(0x145)](_0x36b454+_0x2fa65f)['digest'](_0x5de412(0x117));if(_0x504373['headers']['sec-websocket-accept']!==_0x129d94){_0x36f165(_0x4c9c0b,_0x4940ba,_0x5de412(0x273));return;}const _0x3c70fb=_0x504373[_0x5de412(0x1d6)][_0x5de412(0x224)];let _0x4cb738;if(_0x3c70fb!==void 0x0?_0x4673e5[_0x5de412(0x266)]?_0x4673e5[_0x5de412(0x288)](_0x3c70fb)||(_0x4cb738='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4cb738=_0x5de412(0x182):_0x4673e5[_0x5de412(0x266)]&&(_0x4cb738=_0x5de412(0x155)),_0x4cb738){_0x36f165(_0x4c9c0b,_0x4940ba,_0x4cb738);return;}_0x3c70fb&&(_0x4c9c0b[_0x5de412(0x106)]=_0x3c70fb);const _0x54b739=_0x504373[_0x5de412(0x1d6)][_0x5de412(0xfd)];if(_0x54b739!==void 0x0){if(!_0x5944d4){_0x36f165(_0x4c9c0b,_0x4940ba,_0x5de412(0x1cd));return;}let _0x596ffe;try{_0x596ffe=_0x58a4b5(_0x54b739);}catch{_0x36f165(_0x4c9c0b,_0x4940ba,_0x5de412(0xf8));return;}const _0x265096=Object['keys'](_0x596ffe);if(_0x265096[_0x5de412(0x15e)]!==0x1||_0x265096[0x0]!==_0x330c33['extensionName']){_0x36f165(_0x4c9c0b,_0x4940ba,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5944d4[_0x5de412(0xd6)](_0x596ffe[_0x330c33[_0x5de412(0x1d1)]]);}catch{_0x36f165(_0x4c9c0b,_0x4940ba,_0x5de412(0xf8));return;}_0x4c9c0b['_extensions'][_0x330c33[_0x5de412(0x1d1)]]=_0x5944d4;}_0x4c9c0b['setSocket'](_0x4940ba,_0x4895d2,{'allowSynchronousEvents':_0x424181['allowSynchronousEvents'],'generateMask':_0x424181[_0x5de412(0x171)],'maxPayload':_0x424181[_0x5de412(0x1e1)],'skipUTF8Validation':_0x424181['skipUTF8Validation']});}),_0x424181[_0x180a99(0x1b0)]?_0x424181[_0x180a99(0x1b0)](_0xab729a,_0x4c9c0b):_0xab729a['end']();}function _0x454879(_0x297dcd,_0x482251){const _0x1451a1=_0x364056;_0x297dcd[_0x1451a1(0xed)]=_0x276345[_0x1451a1(0x217)],_0x297dcd['_errorEmitted']=!0x0,_0x297dcd[_0x1451a1(0xcc)]('error',_0x482251),_0x297dcd[_0x1451a1(0x170)]();}function _0x22b2a8(_0x1c4194){const _0x292855=_0x364056;return _0x1c4194[_0x292855(0x1c5)]=_0x1c4194['socketPath'],_0x10f206[_0x292855(0x283)](_0x1c4194);}function _0x1cffa7(_0x582079){const _0x303b4f=_0x364056;return _0x582079['path']=void 0x0,!_0x582079[_0x303b4f(0x176)]&&_0x582079[_0x303b4f(0x176)]!==''&&(_0x582079[_0x303b4f(0x176)]=_0x10f206[_0x303b4f(0x27b)](_0x582079['host'])?'':_0x582079['host']),_0x3e0508[_0x303b4f(0x283)](_0x582079);}function _0x36f165(_0x5ad800,_0x23b7fe,_0x53b2a5){const _0xa05e72=_0x364056;_0x5ad800[_0xa05e72(0xed)]=_0x276345[_0xa05e72(0x217)];const _0x32d3ed=new Error(_0x53b2a5);Error[_0xa05e72(0x19c)](_0x32d3ed,_0x36f165),_0x23b7fe[_0xa05e72(0x215)]?(_0x23b7fe[_0x15c69d]=!0x0,_0x23b7fe['abort'](),_0x23b7fe[_0xa05e72(0x203)]&&!_0x23b7fe[_0xa05e72(0x203)]['destroyed']&&_0x23b7fe['socket'][_0xa05e72(0x14c)](),process[_0xa05e72(0x1c1)](_0x454879,_0x5ad800,_0x32d3ed)):(_0x23b7fe[_0xa05e72(0x14c)](_0x32d3ed),_0x23b7fe[_0xa05e72(0x256)](_0xa05e72(0x23e),_0x5ad800[_0xa05e72(0xcc)][_0xa05e72(0x1b6)](_0x5ad800,_0xa05e72(0x23e))),_0x23b7fe[_0xa05e72(0x256)](_0xa05e72(0x22c),_0x5ad800['emitClose'][_0xa05e72(0x1b6)](_0x5ad800)));}function _0x22ced2(_0x407b6c,_0x534a21,_0x42a76a){const _0x40b1e5=_0x364056;if(_0x534a21){const _0x436b4a=_0x368480(_0x534a21)?_0x534a21['size']:_0x54e30d(_0x534a21)[_0x40b1e5(0x15e)];_0x407b6c[_0x40b1e5(0x230)]?_0x407b6c[_0x40b1e5(0x114)][_0x40b1e5(0x1d2)]+=_0x436b4a:_0x407b6c[_0x40b1e5(0x232)]+=_0x436b4a;}if(_0x42a76a){const _0x35627d=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x407b6c['readyState']+'\x20('+_0x4752b1[_0x407b6c[_0x40b1e5(0x259)]]+')');process[_0x40b1e5(0x1c1)](_0x42a76a,_0x35627d);}}function _0x48690e(_0x4e320a,_0x50fa69){const _0x58490d=_0x364056,_0x4dcb02=this[_0x4a9f51];_0x4dcb02[_0x58490d(0x24d)]=!0x0,_0x4dcb02['_closeMessage']=_0x50fa69,_0x4dcb02[_0x58490d(0xe0)]=_0x4e320a,_0x4dcb02[_0x58490d(0x230)][_0x4a9f51]!==void 0x0&&(_0x4dcb02[_0x58490d(0x230)]['removeListener'](_0x58490d(0x25f),_0x22c992),process[_0x58490d(0x1c1)](_0x2651a1,_0x4dcb02['_socket']),_0x4e320a===0x3ed?_0x4dcb02[_0x58490d(0x22c)]():_0x4dcb02[_0x58490d(0x22c)](_0x4e320a,_0x50fa69));}function _0x506e97(){const _0x2d2259=_0x364056,_0x2e4d5c=this[_0x4a9f51];_0x2e4d5c[_0x2d2259(0x1ef)]||_0x2e4d5c[_0x2d2259(0x230)][_0x2d2259(0x19a)]();}function _0x12cee0(_0x4f5877){const _0x5375d9=_0x364056,_0x1b5b65=this[_0x4a9f51];_0x1b5b65[_0x5375d9(0x230)][_0x4a9f51]!==void 0x0&&(_0x1b5b65[_0x5375d9(0x230)][_0x5375d9(0x181)](_0x5375d9(0x25f),_0x22c992),process[_0x5375d9(0x1c1)](_0x2651a1,_0x1b5b65[_0x5375d9(0x230)]),_0x1b5b65[_0x5375d9(0x22c)](_0x4f5877[_0x56b937])),_0x1b5b65[_0x5375d9(0x20e)]||(_0x1b5b65[_0x5375d9(0x20e)]=!0x0,_0x1b5b65[_0x5375d9(0xcc)](_0x5375d9(0x23e),_0x4f5877));}function _0x395586(){const _0x39b788=_0x364056;this[_0x4a9f51][_0x39b788(0x170)]();}function _0x93e5ef(_0xc46966,_0x20f562){const _0x12dc93=_0x364056;this[_0x4a9f51][_0x12dc93(0xcc)](_0x12dc93(0x10b),_0xc46966,_0x20f562);}function _0x4bf4b9(_0x5e9ce7){const _0x18ca9e=_0x364056,_0x1c11e7=this[_0x4a9f51];_0x1c11e7[_0x18ca9e(0x1dc)]&&_0x1c11e7[_0x18ca9e(0x198)](_0x5e9ce7,!this[_0x18ca9e(0xc8)],_0x212716),_0x1c11e7[_0x18ca9e(0xcc)](_0x18ca9e(0x1f1),_0x5e9ce7);}function _0x340740(_0x151233){const _0x586a8d=_0x364056;this[_0x4a9f51][_0x586a8d(0xcc)](_0x586a8d(0x198),_0x151233);}function _0x2651a1(_0x195b06){const _0x4ea5b7=_0x364056;_0x195b06[_0x4ea5b7(0x19a)]();}function _0x5a28ee(_0x318b0a){const _0x1e7598=_0x364056,_0x45454f=this[_0x4a9f51];_0x45454f[_0x1e7598(0x259)]!==_0x276345['CLOSED']&&(_0x45454f['readyState']===_0x276345[_0x1e7598(0x134)]&&(_0x45454f['_readyState']=_0x276345[_0x1e7598(0x217)],_0x565d80(_0x45454f)),this[_0x1e7598(0x230)][_0x1e7598(0x1e7)](),_0x45454f[_0x1e7598(0x20e)]||(_0x45454f['_errorEmitted']=!0x0,_0x45454f[_0x1e7598(0xcc)]('error',_0x318b0a)));}function _0x565d80(_0x4b9452){const _0x4bfbb4=_0x364056;_0x4b9452['_closeTimer']=setTimeout(_0x4b9452[_0x4bfbb4(0x230)]['destroy']['bind'](_0x4b9452[_0x4bfbb4(0x230)]),_0x3bab11);}function _0x59518e(){const _0x14ad29=_0x364056,_0x35588d=this[_0x4a9f51];this[_0x14ad29(0x181)]('close',_0x59518e),this['removeListener'](_0x14ad29(0x25f),_0x22c992),this[_0x14ad29(0x181)]('end',_0x2d1a6f),_0x35588d['_readyState']=_0x276345[_0x14ad29(0x217)];let _0x5df6bb;!this[_0x14ad29(0x223)][_0x14ad29(0x1e2)]&&!_0x35588d[_0x14ad29(0x24d)]&&!_0x35588d['_receiver'][_0x14ad29(0x1af)][_0x14ad29(0x103)]&&(_0x5df6bb=_0x35588d['_socket'][_0x14ad29(0x113)]())!==null&&_0x35588d['_receiver'][_0x14ad29(0x14f)](_0x5df6bb),_0x35588d[_0x14ad29(0x133)][_0x14ad29(0x1e7)](),this[_0x4a9f51]=void 0x0,clearTimeout(_0x35588d[_0x14ad29(0x1ea)]),_0x35588d['_receiver'][_0x14ad29(0x1af)][_0x14ad29(0x172)]||_0x35588d[_0x14ad29(0x133)][_0x14ad29(0x1af)][_0x14ad29(0x103)]?_0x35588d['emitClose']():(_0x35588d[_0x14ad29(0x133)]['on'](_0x14ad29(0x23e),_0x395586),_0x35588d[_0x14ad29(0x133)]['on'](_0x14ad29(0x159),_0x395586));}function _0x22c992(_0x2430ff){const _0x344de2=_0x364056;this[_0x4a9f51]['_receiver'][_0x344de2(0x14f)](_0x2430ff)||this[_0x344de2(0x100)]();}function _0x2d1a6f(){const _0x123286=_0x364056,_0x482329=this[_0x4a9f51];_0x482329[_0x123286(0xed)]=_0x276345['CLOSING'],_0x482329[_0x123286(0x133)][_0x123286(0x1e7)](),this[_0x123286(0x1e7)]();}function _0x1a68f2(){const _0x37d713=_0x364056,_0x322242=this[_0x4a9f51];this['removeListener']('error',_0x1a68f2),this['on']('error',_0x212716),_0x322242&&(_0x322242[_0x37d713(0xed)]=_0x276345['CLOSING'],this[_0x37d713(0x14c)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x202e77}=oe;function _0xfcf186(_0x20690b){const _0x4478c8=_0x1834;_0x20690b['emit'](_0x4478c8(0x22c));}function _0xcaf955(){const _0x5c16b3=_0x1834;!this[_0x5c16b3(0x162)]&&this['_writableState'][_0x5c16b3(0x172)]&&this['destroy']();}function _0x41b4b6(_0x4fdf09){const _0x21fab5=_0x1834;this['removeListener'](_0x21fab5(0x23e),_0x41b4b6),this['destroy'](),this[_0x21fab5(0x1fa)]('error')===0x0&&this['emit'](_0x21fab5(0x23e),_0x4fdf09);}function _0x2bcd16(_0x45f7e5,_0x56f32e){const _0xf70912=_0x1834;let _0x164377=!0x0;const _0x2740cd=new _0x202e77({..._0x56f32e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x45f7e5['on'](_0xf70912(0x10b),function(_0x116286,_0x1fdc3d){const _0x310d8b=_0xf70912,_0x5908e1=!_0x1fdc3d&&_0x2740cd[_0x310d8b(0x223)][_0x310d8b(0x144)]?_0x116286[_0x310d8b(0xeb)]():_0x116286;_0x2740cd['push'](_0x5908e1)||_0x45f7e5[_0x310d8b(0x100)]();}),_0x45f7e5[_0xf70912(0x256)](_0xf70912(0x23e),function(_0x22f9bd){const _0x17f436=_0xf70912;_0x2740cd[_0x17f436(0x162)]||(_0x164377=!0x1,_0x2740cd[_0x17f436(0x14c)](_0x22f9bd));}),_0x45f7e5['once']('close',function(){const _0x1c7d76=_0xf70912;_0x2740cd[_0x1c7d76(0x162)]||_0x2740cd[_0x1c7d76(0x21b)](null);}),_0x2740cd['_destroy']=function(_0x4d19f3,_0x226f38){const _0x39c32a=_0xf70912;if(_0x45f7e5[_0x39c32a(0x259)]===_0x45f7e5[_0x39c32a(0x1aa)]){_0x226f38(_0x4d19f3),process[_0x39c32a(0x1c1)](_0xfcf186,_0x2740cd);return;}let _0x68353b=!0x1;_0x45f7e5[_0x39c32a(0x256)]('error',function(_0xa35d8){_0x68353b=!0x0,_0x226f38(_0xa35d8);}),_0x45f7e5['once'](_0x39c32a(0x22c),function(){const _0x2e5428=_0x39c32a;_0x68353b||_0x226f38(_0x4d19f3),process[_0x2e5428(0x1c1)](_0xfcf186,_0x2740cd);}),_0x164377&&_0x45f7e5['terminate']();},_0x2740cd[_0xf70912(0xd2)]=function(_0x4609fd){const _0x10f293=_0xf70912;if(_0x45f7e5[_0x10f293(0x259)]===_0x45f7e5['CONNECTING']){_0x45f7e5[_0x10f293(0x256)]('open',function(){const _0x5d4edf=_0x10f293;_0x2740cd[_0x5d4edf(0xd2)](_0x4609fd);});return;}_0x45f7e5[_0x10f293(0x230)]!==null&&(_0x45f7e5[_0x10f293(0x230)][_0x10f293(0x1af)]['finished']?(_0x4609fd(),_0x2740cd[_0x10f293(0x223)][_0x10f293(0x1e2)]&&_0x2740cd[_0x10f293(0x14c)]()):(_0x45f7e5[_0x10f293(0x230)]['once'](_0x10f293(0x159),function(){_0x4609fd();}),_0x45f7e5['close']()));},_0x2740cd[_0xf70912(0x17b)]=function(){const _0x5ecdc9=_0xf70912;_0x45f7e5[_0x5ecdc9(0x1ef)]&&_0x45f7e5[_0x5ecdc9(0x19a)]();},_0x2740cd['_write']=function(_0x5006b4,_0x59204b,_0x592c2a){const _0x315d2d=_0xf70912;if(_0x45f7e5['readyState']===_0x45f7e5[_0x315d2d(0xca)]){_0x45f7e5[_0x315d2d(0x256)](_0x315d2d(0x11b),function(){const _0x101ae7=_0x315d2d;_0x2740cd[_0x101ae7(0xce)](_0x5006b4,_0x59204b,_0x592c2a);});return;}_0x45f7e5[_0x315d2d(0x10e)](_0x5006b4,_0x592c2a);},_0x2740cd['on']('end',_0xcaf955),_0x2740cd['on'](_0xf70912(0x23e),_0x41b4b6),_0x2740cd;}return Oe=_0x2bcd16,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x51feba}=ae();function _0x2435f3(_0x2ee7f3){const _0x17b3fa=_0x1834,_0x2ccc53=new Set();let _0x3d6c3b=-0x1,_0x33df51=-0x1,_0x5b9289=0x0;for(_0x5b9289;_0x5b9289<_0x2ee7f3['length'];_0x5b9289++){const _0x49d58b=_0x2ee7f3[_0x17b3fa(0x1ca)](_0x5b9289);if(_0x33df51===-0x1&&_0x51feba[_0x49d58b]===0x1)_0x3d6c3b===-0x1&&(_0x3d6c3b=_0x5b9289);else{if(_0x5b9289!==0x0&&(_0x49d58b===0x20||_0x49d58b===0x9))_0x33df51===-0x1&&_0x3d6c3b!==-0x1&&(_0x33df51=_0x5b9289);else{if(_0x49d58b===0x2c){if(_0x3d6c3b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b9289);_0x33df51===-0x1&&(_0x33df51=_0x5b9289);const _0x305bcd=_0x2ee7f3[_0x17b3fa(0x23b)](_0x3d6c3b,_0x33df51);if(_0x2ccc53['has'](_0x305bcd))throw new SyntaxError(_0x17b3fa(0x1f2)+_0x305bcd+_0x17b3fa(0xe4));_0x2ccc53[_0x17b3fa(0x156)](_0x305bcd),_0x3d6c3b=_0x33df51=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b9289);}}}if(_0x3d6c3b===-0x1||_0x33df51!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x35d3d7=_0x2ee7f3['slice'](_0x3d6c3b,_0x5b9289);if(_0x2ccc53[_0x17b3fa(0x288)](_0x35d3d7))throw new SyntaxError(_0x17b3fa(0x1f2)+_0x35d3d7+_0x17b3fa(0xe4));return _0x2ccc53[_0x17b3fa(0x156)](_0x35d3d7),_0x2ccc53;}return Ce={'parse':_0x2435f3},Ce;}var Te,rt;function Ft(){const _0x145b9f=_0x274898;if(rt)return Te;rt=0x1;const _0x18e18f=nt,_0x19abaa=ot,{Duplex:_0x5b08f7}=oe,{createHash:_0xc3f2e6}=Le,_0x3b731d=ct(),_0x3ce3b4=he(),_0x285e9b=At(),_0x38b022=Pe(),{GUID:_0x2703fc,kWebSocket:_0x4066a}=H(),_0x56060e=/^[+/0-9A-Za-z]{22}==$/,_0x3ddd11=0x0,_0x267fae=0x1,_0x396bd5=0x2;class _0x422a91 extends _0x18e18f{constructor(_0x30bff3,_0x38421e){const _0x290d3b=_0x1834;if(super(),_0x30bff3={'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':_0x38b022,..._0x30bff3},_0x30bff3[_0x290d3b(0x158)]==null&&!_0x30bff3['server']&&!_0x30bff3[_0x290d3b(0x275)]||_0x30bff3[_0x290d3b(0x158)]!=null&&(_0x30bff3[_0x290d3b(0x188)]||_0x30bff3['noServer'])||_0x30bff3[_0x290d3b(0x188)]&&_0x30bff3[_0x290d3b(0x275)])throw new TypeError(_0x290d3b(0x285));if(_0x30bff3['port']!=null?(this[_0x290d3b(0x189)]=_0x19abaa[_0x290d3b(0x11c)]((_0x432700,_0x2427d5)=>{const _0x5a0c02=_0x290d3b,_0xf92d4a=_0x19abaa[_0x5a0c02(0x236)][0x1aa];_0x2427d5[_0x5a0c02(0x265)](0x1aa,{'Content-Length':_0xf92d4a[_0x5a0c02(0x15e)],'Content-Type':_0x5a0c02(0x111)}),_0x2427d5[_0x5a0c02(0x1e7)](_0xf92d4a);}),this[_0x290d3b(0x189)][_0x290d3b(0x20b)](_0x30bff3[_0x290d3b(0x158)],_0x30bff3[_0x290d3b(0x14a)],_0x30bff3[_0x290d3b(0xcb)],_0x38421e)):_0x30bff3['server']&&(this['_server']=_0x30bff3[_0x290d3b(0x188)]),this[_0x290d3b(0x189)]){const _0x2eae5b=this[_0x290d3b(0xcc)][_0x290d3b(0x1b6)](this,_0x290d3b(0x1ba));this[_0x290d3b(0x26f)]=_0x133550(this[_0x290d3b(0x189)],{'listening':this['emit'][_0x290d3b(0x1b6)](this,_0x290d3b(0x1bf)),'error':this[_0x290d3b(0xcc)][_0x290d3b(0x1b6)](this,_0x290d3b(0x23e)),'upgrade':(_0x3b22d3,_0x3dd98d,_0xe8200f)=>{this['handleUpgrade'](_0x3b22d3,_0x3dd98d,_0xe8200f,_0x2eae5b);}});}_0x30bff3['perMessageDeflate']===!0x0&&(_0x30bff3[_0x290d3b(0x12f)]={}),_0x30bff3[_0x290d3b(0x165)]&&(this[_0x290d3b(0xef)]=new Set(),this[_0x290d3b(0x13f)]=!0x1),this[_0x290d3b(0x18e)]=_0x30bff3,this[_0x290d3b(0xdc)]=_0x3ddd11;}[_0x145b9f(0x191)](){const _0x213849=_0x145b9f;if(this['options']['noServer'])throw new Error(_0x213849(0x23a));return this[_0x213849(0x189)]?this[_0x213849(0x189)][_0x213849(0x191)]():null;}['close'](_0x565a39){const _0x355f8c=_0x145b9f;if(this[_0x355f8c(0xdc)]===_0x396bd5){_0x565a39&&this['once']('close',()=>{_0x565a39(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x355f8c(0x1c1)](_0x28c900,this);return;}if(_0x565a39&&this[_0x355f8c(0x256)](_0x355f8c(0x22c),_0x565a39),this['_state']!==_0x267fae){if(this['_state']=_0x267fae,this[_0x355f8c(0x18e)][_0x355f8c(0x275)]||this['options'][_0x355f8c(0x188)])this[_0x355f8c(0x189)]&&(this[_0x355f8c(0x26f)](),this[_0x355f8c(0x26f)]=this[_0x355f8c(0x189)]=null),this['clients']?this[_0x355f8c(0xef)][_0x355f8c(0x266)]?this[_0x355f8c(0x13f)]=!0x0:process[_0x355f8c(0x1c1)](_0x28c900,this):process[_0x355f8c(0x1c1)](_0x28c900,this);else{const _0x2296b6=this[_0x355f8c(0x189)];this['_removeListeners'](),this[_0x355f8c(0x26f)]=this[_0x355f8c(0x189)]=null,_0x2296b6[_0x355f8c(0x22c)](()=>{_0x28c900(this);});}}}[_0x145b9f(0x1c6)](_0x54342c){const _0x26323d=_0x145b9f;if(this[_0x26323d(0x18e)]['path']){const _0x3345ed=_0x54342c[_0x26323d(0x23d)][_0x26323d(0x289)]('?');if((_0x3345ed!==-0x1?_0x54342c['url'][_0x26323d(0x23b)](0x0,_0x3345ed):_0x54342c['url'])!==this['options'][_0x26323d(0x1c5)])return!0x1;}return!0x0;}[_0x145b9f(0x24c)](_0x31e4cd,_0x2986a7,_0x53be38,_0x4f041d){const _0x656ba0=_0x145b9f;_0x2986a7['on'](_0x656ba0(0x23e),_0x260ce6);const _0x411617=_0x31e4cd[_0x656ba0(0x1d6)]['sec-websocket-key'],_0x515647=_0x31e4cd[_0x656ba0(0x1d6)][_0x656ba0(0x1b4)],_0x1c4017=+_0x31e4cd['headers'][_0x656ba0(0x28d)];if(_0x31e4cd[_0x656ba0(0x168)]!=='GET'){_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x195,_0x656ba0(0x237));return;}if(_0x515647===void 0x0||_0x515647[_0x656ba0(0xf6)]()!==_0x656ba0(0xfe)){_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x190,_0x656ba0(0x247));return;}if(_0x411617===void 0x0||!_0x56060e['test'](_0x411617)){_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x1c4017!==0xd&&_0x1c4017!==0x8){_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x190,_0x656ba0(0x278),{'Sec-WebSocket-Version':_0x656ba0(0x250)});return;}if(!this[_0x656ba0(0x1c6)](_0x31e4cd)){_0x460ac4(_0x2986a7,0x190);return;}const _0x53e18b=_0x31e4cd[_0x656ba0(0x1d6)]['sec-websocket-protocol'];let _0x11ce48=new Set();if(_0x53e18b!==void 0x0)try{_0x11ce48=_0x285e9b[_0x656ba0(0x1a9)](_0x53e18b);}catch{_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x190,_0x656ba0(0x139));return;}const _0xd480d2=_0x31e4cd['headers'][_0x656ba0(0xfd)],_0x12046d={};if(this['options'][_0x656ba0(0x12f)]&&_0xd480d2!==void 0x0){const _0x3b48d3=new _0x3ce3b4(this[_0x656ba0(0x18e)][_0x656ba0(0x12f)],!0x0,this[_0x656ba0(0x18e)][_0x656ba0(0x1e1)]);try{const _0x18171b=_0x3b731d[_0x656ba0(0x1a9)](_0xd480d2);_0x18171b[_0x3ce3b4['extensionName']]&&(_0x3b48d3['accept'](_0x18171b[_0x3ce3b4[_0x656ba0(0x1d1)]]),_0x12046d[_0x3ce3b4[_0x656ba0(0x1d1)]]=_0x3b48d3);}catch{_0x3e3d98(this,_0x31e4cd,_0x2986a7,0x190,_0x656ba0(0x120));return;}}if(this['options'][_0x656ba0(0x102)]){const _0x142a72={'origin':_0x31e4cd[_0x656ba0(0x1d6)][''+(_0x1c4017===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x31e4cd['socket'][_0x656ba0(0x1e9)]||_0x31e4cd[_0x656ba0(0x203)][_0x656ba0(0x18a)]),'req':_0x31e4cd};if(this[_0x656ba0(0x18e)][_0x656ba0(0x102)][_0x656ba0(0x15e)]===0x2){this['options'][_0x656ba0(0x102)](_0x142a72,(_0x41dbee,_0x4467e6,_0x2a296e,_0x47f785)=>{if(!_0x41dbee)return _0x460ac4(_0x2986a7,_0x4467e6||0x191,_0x2a296e,_0x47f785);this['completeUpgrade'](_0x12046d,_0x411617,_0x11ce48,_0x31e4cd,_0x2986a7,_0x53be38,_0x4f041d);});return;}if(!this[_0x656ba0(0x18e)][_0x656ba0(0x102)](_0x142a72))return _0x460ac4(_0x2986a7,0x191);}this['completeUpgrade'](_0x12046d,_0x411617,_0x11ce48,_0x31e4cd,_0x2986a7,_0x53be38,_0x4f041d);}['completeUpgrade'](_0x37ac0f,_0x13061e,_0x38542f,_0x5c1244,_0x2679ec,_0x3bd5db,_0x4a5a2d){const _0xb0404a=_0x145b9f;if(!_0x2679ec[_0xb0404a(0x1f9)]||!_0x2679ec[_0xb0404a(0x255)])return _0x2679ec[_0xb0404a(0x14c)]();if(_0x2679ec[_0x4066a])throw new Error(_0xb0404a(0x202));if(this[_0xb0404a(0xdc)]>_0x3ddd11)return _0x460ac4(_0x2679ec,0x1f7);const _0xff853d=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xb0404a(0x214),'Connection:\x20Upgrade',_0xb0404a(0x153)+_0xc3f2e6(_0xb0404a(0x219))[_0xb0404a(0x145)](_0x13061e+_0x2703fc)[_0xb0404a(0x233)](_0xb0404a(0x117))],_0x28aae1=new this[(_0xb0404a(0x18e))][(_0xb0404a(0x270))](null,void 0x0,this[_0xb0404a(0x18e)]);if(_0x38542f[_0xb0404a(0x266)]){const _0x44173c=this[_0xb0404a(0x18e)][_0xb0404a(0x21f)]?this[_0xb0404a(0x18e)][_0xb0404a(0x21f)](_0x38542f,_0x5c1244):_0x38542f['values']()[_0xb0404a(0x194)]()[_0xb0404a(0x148)];_0x44173c&&(_0xff853d['push'](_0xb0404a(0x264)+_0x44173c),_0x28aae1[_0xb0404a(0x106)]=_0x44173c);}if(_0x37ac0f[_0x3ce3b4[_0xb0404a(0x1d1)]]){const _0x56125a=_0x37ac0f[_0x3ce3b4['extensionName']][_0xb0404a(0x141)],_0x242cf5=_0x3b731d[_0xb0404a(0x208)]({[_0x3ce3b4[_0xb0404a(0x1d1)]]:[_0x56125a]});_0xff853d[_0xb0404a(0x21b)]('Sec-WebSocket-Extensions:\x20'+_0x242cf5),_0x28aae1[_0xb0404a(0x246)]=_0x37ac0f;}this['emit']('headers',_0xff853d,_0x5c1244),_0x2679ec['write'](_0xff853d[_0xb0404a(0x210)]('\x0d\x0a')[_0xb0404a(0x218)]('\x0d\x0a')),_0x2679ec['removeListener'](_0xb0404a(0x23e),_0x260ce6),_0x28aae1['setSocket'](_0x2679ec,_0x3bd5db,{'allowSynchronousEvents':this[_0xb0404a(0x18e)][_0xb0404a(0x16b)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0xb0404a(0x18e)][_0xb0404a(0x115)]}),this['clients']&&(this['clients']['add'](_0x28aae1),_0x28aae1['on']('close',()=>{const _0x4f0dcd=_0xb0404a;this['clients'][_0x4f0dcd(0x160)](_0x28aae1),this['_shouldEmitClose']&&!this[_0x4f0dcd(0xef)][_0x4f0dcd(0x266)]&&process[_0x4f0dcd(0x1c1)](_0x28c900,this);})),_0x4a5a2d(_0x28aae1,_0x5c1244);}}Te=_0x422a91;function _0x133550(_0x4da87d,_0x2ee044){const _0x45c998=_0x145b9f;for(const _0x50c66e of Object[_0x45c998(0x279)](_0x2ee044))_0x4da87d['on'](_0x50c66e,_0x2ee044[_0x50c66e]);return function(){const _0x1072dd=_0x45c998;for(const _0x1b788e of Object[_0x1072dd(0x279)](_0x2ee044))_0x4da87d[_0x1072dd(0x181)](_0x1b788e,_0x2ee044[_0x1b788e]);};}function _0x28c900(_0x34c866){const _0x307a23=_0x145b9f;_0x34c866[_0x307a23(0xdc)]=_0x396bd5,_0x34c866[_0x307a23(0xcc)](_0x307a23(0x22c));}function _0x260ce6(){const _0x4b2bb5=_0x145b9f;this[_0x4b2bb5(0x14c)]();}function _0x460ac4(_0x53009d,_0x527a00,_0x2a7a05,_0x5b9f35){const _0x1454f2=_0x145b9f;_0x2a7a05=_0x2a7a05||_0x19abaa[_0x1454f2(0x236)][_0x527a00],_0x5b9f35={'Connection':_0x1454f2(0x22c),'Content-Type':'text/html','Content-Length':Buffer[_0x1454f2(0x1bc)](_0x2a7a05),..._0x5b9f35},_0x53009d[_0x1454f2(0x256)]('finish',_0x53009d['destroy']),_0x53009d[_0x1454f2(0x1e7)]('HTTP/1.1\x20'+_0x527a00+'\x20'+_0x19abaa[_0x1454f2(0x236)][_0x527a00]+'\x0d\x0a'+Object[_0x1454f2(0x279)](_0x5b9f35)['map'](_0x488218=>_0x488218+':\x20'+_0x5b9f35[_0x488218])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a7a05);}function _0x3e3d98(_0x5b5cb7,_0x47fd8d,_0x2e9804,_0x3e9687,_0x320df3,_0x43553f){const _0xca37c3=_0x145b9f;if(_0x5b5cb7[_0xca37c3(0x1fa)](_0xca37c3(0x1c3))){const _0x440b9f=new Error(_0x320df3);Error['captureStackTrace'](_0x440b9f,_0x3e3d98),_0x5b5cb7[_0xca37c3(0xcc)](_0xca37c3(0x1c3),_0x440b9f,_0x2e9804,_0x47fd8d);}else _0x460ac4(_0x2e9804,_0x3e9687,_0x320df3,_0x43553f);}return Te;}Ft();var jt=Object[_0x274898(0x1e6)],Wt=(_0x4db1a5,_0x3ad1b5,_0x47b54a,_0x3e4bdc)=>{const _0x1c9498=_0x274898;for(var _0x219f15=_0x3e4bdc>0x1?void 0x0:_0x3e4bdc?jt(_0x3ad1b5,_0x47b54a):_0x3ad1b5,_0x357e00=_0x4db1a5[_0x1c9498(0x15e)]-0x1,_0x1def1c;_0x357e00>=0x0;_0x357e00--)(_0x1def1c=_0x4db1a5[_0x357e00])&&(_0x219f15=_0x1def1c(_0x219f15)||_0x219f15);return _0x219f15;},qt=(_0x2754e3,_0xa14fef)=>(_0x2f54ca,_0x346267)=>_0xa14fef(_0x2f54ca,_0x346267,_0x2754e3);let ke=class extends A['Disposable']{constructor(_0x20a134){const _0xc7f6f0=_0x274898;super(),this[_0xc7f6f0(0x27a)]=_0x20a134;}[_0x274898(0x1c8)](_0xe5371d){const _0x490526=_0x274898;var _0x48efcc;const _0x361a79=(_0x48efcc=this[_0x490526(0x27a)][_0x490526(0xdd)](fe))==null?void 0x0:_0x48efcc[_0x490526(0x193)];try{const _0x5e2487=new $t(_0xe5371d,{'headers':{..._0x361a79}}),_0x4b7f5c=new A[(_0x490526(0x1f7))]();return{'URL':_0xe5371d,'close':(_0x1b2517,_0x52ee2b)=>{const _0x6ca01d=_0x490526;_0x5e2487[_0x6ca01d(0x22c)](_0x1b2517,_0x52ee2b),_0x4b7f5c[_0x6ca01d(0x1c2)]();},'send':_0x2fa8f4=>{const _0x45c0f1=_0x490526;_0x5e2487[_0x45c0f1(0x10e)](_0x2fa8f4);},'open$':new V[(_0x490526(0x22f))](_0x50f679=>{const _0x2712c9=_0x490526,_0x98b7b9=_0x23668e=>_0x50f679[_0x2712c9(0x194)](_0x23668e);_0x5e2487['addEventListener']('open',_0x98b7b9),_0x4b7f5c[_0x2712c9(0x156)](A['toDisposable'](()=>_0x5e2487['removeEventListener'](_0x2712c9(0x11b),_0x98b7b9)));})['pipe'](V[_0x490526(0x27f)]()),'close$':new V[(_0x490526(0x22f))](_0x3766c2=>{const _0x4bb975=_0x490526,_0x53c854=_0x7591d1=>_0x3766c2[_0x4bb975(0x194)](_0x7591d1);_0x5e2487[_0x4bb975(0x17f)]('close',_0x53c854),_0x4b7f5c[_0x4bb975(0x156)](A[_0x4bb975(0x261)](()=>_0x5e2487['removeEventListener'](_0x4bb975(0x22c),_0x53c854)));})[_0x490526(0x20d)](V['share']()),'error$':new V['Observable'](_0x1c8f29=>{const _0x2b8013=_0x490526,_0x58464a=_0x1ff717=>_0x1c8f29[_0x2b8013(0x194)](_0x1ff717);_0x5e2487[_0x2b8013(0x17f)](_0x2b8013(0x23e),_0x58464a),_0x4b7f5c[_0x2b8013(0x156)](A[_0x2b8013(0x261)](()=>_0x5e2487[_0x2b8013(0x18c)]('error',_0x58464a)));})['pipe'](V['share']()),'message$':new V[(_0x490526(0x22f))](_0x1403ff=>{const _0x1b6b11=_0x490526,_0x242f3b=_0x365668=>_0x1403ff[_0x1b6b11(0x194)](_0x365668);_0x5e2487[_0x1b6b11(0x17f)](_0x1b6b11(0x10b),_0x242f3b),_0x4b7f5c['add'](A['toDisposable'](()=>_0x5e2487[_0x1b6b11(0x18c)](_0x1b6b11(0x10b),_0x242f3b)));})[_0x490526(0x20d)](V[_0x490526(0x27f)]())};}catch(_0x3ea785){return console[_0x490526(0x23e)](_0x3ea785),null;}}};ke=Wt([qt(0x0,A[_0x274898(0x23f)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x26a1ae,_0x1fbc2c,_0x1d7a4e)=>_0x1fbc2c in _0x26a1ae?Gt(_0x26a1ae,_0x1fbc2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d7a4e}):_0x26a1ae[_0x1fbc2c]=_0x1d7a4e,zt=(_0x2ddf6c,_0x4f27a0,_0x5be433,_0x2f6e39)=>{const _0x278746=_0x274898;for(var _0x21a10c=_0x2f6e39>0x1?void 0x0:_0x2f6e39?Vt(_0x4f27a0,_0x5be433):_0x4f27a0,_0x860f43=_0x2ddf6c[_0x278746(0x15e)]-0x1,_0x55cd7e;_0x860f43>=0x0;_0x860f43--)(_0x55cd7e=_0x2ddf6c[_0x860f43])&&(_0x21a10c=_0x55cd7e(_0x21a10c)||_0x21a10c);return _0x21a10c;},Ne=(_0x45c7c0,_0xa07ed3)=>(_0x3c9e68,_0x16665b)=>_0xa07ed3(_0x3c9e68,_0x16665b,_0x45c7c0),Yt=(_0x3797ba,_0xaccf47,_0x134bd2)=>Ht(_0x3797ba,_0xaccf47+'',_0x134bd2);exports[_0x274898(0x207)]=class extends A[_0x274898(0x140)]{constructor(_0x1b7134=Ct,_0x1f8693,_0x1bea59,_0x2146eb){const _0x25f455=_0x274898;_0x1b7134[_0x25f455(0x193)]||_0x1f8693[_0x25f455(0x138)](_0x25f455(0xe2)),super(),this[_0x25f455(0x27a)]=_0x1bea59,this['_injector']=_0x2146eb,this[_0x25f455(0x27a)]['setConfig'](fe,_0x1b7134);}[_0x274898(0xe3)](){const _0x469aef=_0x274898;this[_0x469aef(0x12e)]();}[_0x274898(0x12e)](){const _0x458343=_0x274898;A[_0x458343(0x1cf)](this[_0x458343(0x190)],[[it[_0x458343(0x1d7)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x274898(0x234),_0x274898(0x1d3)),exports[_0x274898(0x207)]=zt([A[_0x274898(0x25d)](st[_0x274898(0x161)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x274898(0x23f)]),Ne(0x3,A[_0x274898(0x196)](A[_0x274898(0xd1)]))],exports[_0x274898(0x207)]);var Kt=Object[_0x274898(0x1e6)],Xt=(_0x11818d,_0x48250b,_0x3633e6,_0x4b5418)=>{const _0x546f35=_0x274898;for(var _0x4c956b=_0x4b5418>0x1?void 0x0:_0x4b5418?Kt(_0x48250b,_0x3633e6):_0x48250b,_0x2510e6=_0x11818d[_0x546f35(0x15e)]-0x1,_0x3acf12;_0x2510e6>=0x0;_0x2510e6--)(_0x3acf12=_0x11818d[_0x2510e6])&&(_0x4c956b=_0x3acf12(_0x4c956b)||_0x4c956b);return _0x4c956b;},ne=(_0x42d68e,_0x1e17e5)=>(_0x14518c,_0x4a0012)=>_0x1e17e5(_0x14518c,_0x4a0012,_0x42d68e);function _0x1834(_0x4f9b00,_0x3f90d6){_0x4f9b00=_0x4f9b00-0xc6;const _0x31461b=_0x3146();let _0x1834b4=_0x31461b[_0x4f9b00];return _0x1834b4;}exports[_0x274898(0xe8)]=class extends st[_0x274898(0xf9)]{constructor(_0x1bc805,_0x2b1918,_0xd42d3f,_0x3c3d4c,_0x342e45){const _0x1326b2=_0x274898;super(_0x1bc805,_0x2b1918,_0xd42d3f,_0x3c3d4c,_0x342e45);const _0x12672f=this['_configService']['getConfig'](fe);this[_0x1326b2(0x1d9)][_0x1326b2(0xf4)]({'interceptor':(_0x1c3dc6,_0x3afcf5)=>{const _0x44bae0=_0x1326b2;var _0x24b80b;const _0x502463=_0x1c3dc6[_0x44bae0(0x1d6)];return(_0x24b80b=_0x12672f==null?void 0x0:_0x12672f['customHeaders'])!=null&&_0x24b80b[_0x44bae0(0xc6)]&&_0x502463[_0x44bae0(0x13b)](_0x44bae0(0x19d),_0x12672f[_0x44bae0(0x193)]['cookie']),_0x3afcf5(_0x1c3dc6);}});}async[_0x274898(0x1c8)](_0x2effcc){return this['_doCreateSocket'](_0x2effcc);}},exports[_0x274898(0xe8)]=Xt([ne(0x0,A['Inject'](A[_0x274898(0xd1)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x274898(0x22e)]),ne(0x4,Ot[_0x274898(0x24f)])],exports[_0x274898(0xe8)]),exports[_0x274898(0x123)]=fe;