@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250407-5251826 → 0.6.9-experimental.20250408-786b00e

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 _0x4b01a7=_0x1757;(function(_0x107a00,_0x353ca0){const _0xbb1ade=_0x1757,_0x540a37=_0x107a00();while(!![]){try{const _0x1071ed=parseInt(_0xbb1ade(0x31e))/0x1+-parseInt(_0xbb1ade(0x270))/0x2*(parseInt(_0xbb1ade(0x328))/0x3)+parseInt(_0xbb1ade(0x17f))/0x4*(-parseInt(_0xbb1ade(0x2b4))/0x5)+parseInt(_0xbb1ade(0x251))/0x6*(parseInt(_0xbb1ade(0x17c))/0x7)+parseInt(_0xbb1ade(0x2e6))/0x8+-parseInt(_0xbb1ade(0x29e))/0x9+parseInt(_0xbb1ade(0x286))/0xa;if(_0x1071ed===_0x353ca0)break;else _0x540a37['push'](_0x540a37['shift']());}catch(_0x1bc34e){_0x540a37['push'](_0x540a37['shift']());}}}(_0x1737,0x45220));Object[_0x4b01a7(0x1f8)](exports,Symbol['toStringTag'],{'value':_0x4b01a7(0x28e)});const st=require(_0x4b01a7(0x25c)),A=require('@univerjs/core'),it=require(_0x4b01a7(0x301)),V=require(_0x4b01a7(0x24b)),nt=require(_0x4b01a7(0x314)),vt=require(_0x4b01a7(0x28f)),ot=require('http'),St=require(_0x4b01a7(0x1e3)),Et=require(_0x4b01a7(0x23d)),Le=require('crypto'),oe=require(_0x4b01a7(0x1eb)),xt=require('url'),bt=require('zlib'),wt=require(_0x4b01a7(0x1aa)),Ot=require(_0x4b01a7(0x29d)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x18c977){const _0x4bef24=_0x4b01a7;return _0x18c977&&_0x18c977[_0x4bef24(0x2b5)]&&Object[_0x4bef24(0x304)]['hasOwnProperty'][_0x4bef24(0x2f7)](_0x18c977,_0x4bef24(0x176))?_0x18c977[_0x4bef24(0x176)]:_0x18c977;}function at(_0x176a32){const _0x492d20=_0x4b01a7;if(Object['prototype']['hasOwnProperty'][_0x492d20(0x2f7)](_0x176a32,_0x492d20(0x2b5)))return _0x176a32;var _0x4e9be5=_0x176a32[_0x492d20(0x176)];if(typeof _0x4e9be5==_0x492d20(0x2e9)){var _0x4fcbb9=function _0x50abab(){const _0x33b269=_0x492d20;return this instanceof _0x50abab?Reflect['construct'](_0x4e9be5,arguments,this[_0x33b269(0x1b1)]):_0x4e9be5[_0x33b269(0x1d5)](this,arguments);};_0x4fcbb9[_0x492d20(0x304)]=_0x4e9be5[_0x492d20(0x304)];}else _0x4fcbb9={};return Object['defineProperty'](_0x4fcbb9,_0x492d20(0x2b5),{'value':!0x0}),Object['keys'](_0x176a32)['forEach'](function(_0x45f897){const _0x3a4097=_0x492d20;var _0x1a2453=Object[_0x3a4097(0x1fd)](_0x176a32,_0x45f897);Object[_0x3a4097(0x1f8)](_0x4fcbb9,_0x45f897,_0x1a2453[_0x3a4097(0x250)]?_0x1a2453:{'enumerable':!0x0,'get':function(){return _0x176a32[_0x45f897];}});}),_0x4fcbb9;}var se={'exports':{}},ge,Ge;function H(){const _0x577483=_0x4b01a7;if(Ge)return ge;Ge=0x1;const _0xf6ba85=[_0x577483(0x1ec),'arraybuffer',_0x577483(0x2a1)],_0x2da521=typeof Blob<'u';return _0x2da521&&_0xf6ba85['push'](_0x577483(0x179)),ge={'BINARY_TYPES':_0xf6ba85,'EMPTY_BUFFER':Buffer[_0x577483(0x239)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2da521,'kForOnEventAttribute':Symbol(_0x577483(0x307)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x577483(0x1bf)),'kWebSocket':Symbol(_0x577483(0x24d)),'NOOP':()=>{}},ge;}function _0x1737(){const _0x510466=['Sec-WebSocket-Extensions','readOnly','http:','mask','_isServer','kError','isBuffer','protocolVersion','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','wss:','concurrencyLimit','code','addEventListener','allocUnsafe','createServer','ILogService','acceptAsServer','decompress','clientMaxWindowBits','dispatch','timeout','ISnapshotServerService','readyState','\x0d\x0a\x0d\x0a','perMessageDeflate','join','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','_httpService','kType','_readableState','share','alloc','Basic\x20','nextTick','update','tls','Sec-WebSocket-Protocol','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','onopen','writable','rsv1','kTarget','_compressed','format','number','CollaborationSocketService','servername','followRedirects','shouldHandle','rxjs','href','websocket','toString','_compress','get','30ImlOqK','pong','options','MASK\x20must\x20be\x20set','client','invalid\x20payload\x20length\x20','_masked','threshold','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','open','Maximum\x20redirects\x20exceeded','@univerjs-pro/collaboration-client','Invalid\x20WebSocket\x20frame:\x20','Observable','kAborted','_socket','_readyState','dequeue','destroyed','concat','_req','_maxPayload','haveLength','_no_context_takeover','write','message','then','abort','protocol','Upgrade:\x20websocket','WebSocket','674GPoSMa','byteLength','The\x20\x22','_closeFrameSent','send','WS_ERR_EXPECTED_FIN','upgrade','length','errorEmitted','_removeListeners','UniverCollaborationClientNodePlugin','_originalIpc','authorization','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','createConnection','username','endEmitted','sec-websocket-version','setNoDelay','toLowerCase','ws+unix:','getBlobData','3952600rHzGJX','value','_closeCode','freeze','push','values','Invalid\x20Sec-WebSocket-Extensions\x20header','create','Module','https','connection','Server\x20sent\x20no\x20subprotocol','search','_bufferedBytes','_extensions','setHeader','opcode','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','setSocket','sha1','STATUS_CODES','kWasClean','onclose','@univerjs-pro/collaboration','4379652ZvvscU','_final','toStringTag','fragments','request','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_originalHostOrSocketPath','_binaryType','backlog','handleEvent','client_max_window_bits','_totalPayloadLength','invalid\x20status\x20code\x20','maxPayload','drain','finished','Sec-WebSocket-Protocol:\x20','fin','concurrency','object','total-length','data','2484545ouXLKh','__esModule','Invalid\x20Sec-WebSocket-Protocol\x20header','pending','sec-websocket-extensions','host','Invalid\x20value\x20for\x20parameter\x20\x22','base64','_server','_doCreateSocket','getInfo','Z_DEFAULT_WINDOWBITS','onStarting','_fin','needDrain','_autoPong','catch','close','invalid\x20opcode\x20','_queue','frame','_redirects','_sender','isInteger','reset','dataMessage','cookie','The\x20server\x20is\x20not\x20running','defaultPort','forEach','_fragmented','response','bufferedAmount','WS_ERR_INVALID_OPCODE','map','CLOSED','port','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','onerror','compress','_read','getPayloadLength64','skipUTF8Validation','_receiver','objectMode','Inject','Unexpected\x20server\x20response:\x20','pause','_paused','string','1716776XixcAj','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','readable','function','_errorEmitted','origin','error','Sec-WebSocket-Origin','generateMask','Origin','readUInt32BE','redirect','finishRequest','getData','hostname','sec-websocket-origin','removeEventListener','call','slice','handleProtocols','_write','allowSynchronousEvents','auth','Max\x20payload\x20size\x20exceeded','toDisposable','captureStackTrace','indexOf','@univerjs/network','handshakeTimeout','species','prototype','OPEN','removeAllListeners','kIsForOnEventAttribute','verifyClient','pathname','url','entries','_options','_loop','noServer','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','destroy','Upgrade','_buffers','Invalid\x20Upgrade\x20header','events','WS_ERR_UNEXPECTED_RSV_1','DisposableCollection','listeners','warn','next','binaryType','maskBuffer','target','authorized','448761QZRHks','_inflate','charCodeAt','set','dispose','test','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','pow','Opening\x20handshake\x20has\x20timed\x20out','CLOSING','3027uBgYBH','completeUpgrade','HTTP/1.1\x20','startLoop','WS_ERR_INVALID_UTF8','cork','CONNECTING','sec-websocket-protocol','extensionName','delete','exports','socketPath','extensions','_threshold','https:','_messageLength','The\x20URL\x27s\x20pathname\x20is\x20empty','includes','_fragments','wasClean','invalid\x20UTF-8\x20sequence','setTimeout','listen','default','createSocket','connect','blob','env','clientNoContextTakeover','767368QqvcWF','text/html','_payloadLength','4vQuwmO','getConfig','RSV1\x20must\x20be\x20clear','_closeTimer','writeUIntBE','accept','once','_generateMask','normalizeParams','listening','_decompress','unmask','pluginName','path','callback','_allowSynchronousEvents','_deflate','serverMaxWindowBits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','ISocketService','_max_window_bits','bind','ping','_closeFrameReceived','client_no_context_takeover','_closeMessage','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getMask','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','writeHead','serverNoContextTakeover','emit','hash','ws:','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','sendFrame','readUInt16BE','conclude','consume','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','writeUInt16BE','wsClientError','text/plain','buffer','finish','_firstFragment','keys','server_max_window_bits','clientTracking','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','constructor','createError','type','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','IConfigService','address','add','uncork','_url','zlibInflateOptions','invalid\x20opcode\x200','listenerCount','Unexpected\x20character\x20at\x20index\x20','has','status-code','HTTPService','socket','isView','kByteLength','resume','from','startsWith','enqueue','_registerDependencies','buffers','headers','find','isArray','sec-websocket-key','server_no_context_takeover','flush','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','emitClose','byteOffset','arraybuffer','Connection:\x20Upgrade','apply','pipe','location','Unsupported\x20protocol\x20version:\x20','_shouldEmitClose','clients','registerDependencies','\x22:\x20','server','createDeflateRaw','size','_bufferedAmount','acceptAsClient','NodeCollaborationSocketService','net','handleUpgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_configService','getPayloadLength16','customHeaders','isValidUTF8','kRun','stream','nodebuffer','_skipUTF8Validation','end','\x22\x20subprotocol\x20is\x20duplicated','arrayBuffer','binary','_originalSecure','isIP','MASK\x20must\x20be\x20clear','removeListener','COLLABORATION_CLIENT_NODE_CONFIG_KEY','offer','defineProperty','sec-websocket-accept','isPaused','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_opcode','getOwnPropertyDescriptor','params','_protocol','terminate','Invalid\x20URL:\x20','_state','jobs','_mask','_maskBuffer','autoPong','shift','_errored','split','WS_ERR_UNEXPECTED_RSV_2_3','Sec-WebSocket-Extensions:\x20','replace','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','digest','_writableState','\x22\x20must\x20have\x20only\x20a\x20single\x20value','read','FIN\x20must\x20be\x20set','controlMessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','parse','reason','_injector','Injector'];_0x1737=function(){return _0x510466;};return _0x1737();}const Nt={},kt=Object['freeze'](Object[_0x4b01a7(0x1f8)]({'__proto__':null,'default':Nt},Symbol[_0x4b01a7(0x2a0)],{'value':_0x4b01a7(0x28e)})),Lt=at(kt);var Ve;function ce(){const _0x2f4ab7=_0x4b01a7;if(Ve)return se[_0x2f4ab7(0x169)];Ve=0x1;const {EMPTY_BUFFER:_0x195702}=H(),_0x41900e=Buffer[Symbol[_0x2f4ab7(0x303)]];function _0xff67e(_0x562960,_0x267fdc){const _0x318708=_0x2f4ab7;if(_0x562960[_0x318708(0x277)]===0x0)return _0x195702;if(_0x562960[_0x318708(0x277)]===0x1)return _0x562960[0x0];const _0x5da5d5=Buffer['allocUnsafe'](_0x267fdc);let _0x33936f=0x0;for(let _0x1b580a=0x0;_0x1b580a<_0x562960['length'];_0x1b580a++){const _0x46cf77=_0x562960[_0x1b580a];_0x5da5d5[_0x318708(0x321)](_0x46cf77,_0x33936f),_0x33936f+=_0x46cf77['length'];}return _0x33936f<_0x267fdc?new _0x41900e(_0x5da5d5[_0x318708(0x1aa)],_0x5da5d5[_0x318708(0x1d2)],_0x33936f):_0x5da5d5;}function _0x4ae045(_0x37280b,_0x68def0,_0x1ab615,_0x418161,_0x597e4c){for(let _0x58a491=0x0;_0x58a491<_0x597e4c;_0x58a491++)_0x1ab615[_0x418161+_0x58a491]=_0x37280b[_0x58a491]^_0x68def0[_0x58a491&0x3];}function _0x4bfe1d(_0x3c4b9c,_0x4fb20c){const _0x3d0498=_0x2f4ab7;for(let _0x2e495b=0x0;_0x2e495b<_0x3c4b9c[_0x3d0498(0x277)];_0x2e495b++)_0x3c4b9c[_0x2e495b]^=_0x4fb20c[_0x2e495b&0x3];}function _0x2e1c4a(_0x5a1d3c){const _0x2894e6=_0x2f4ab7;return _0x5a1d3c[_0x2894e6(0x277)]===_0x5a1d3c['buffer'][_0x2894e6(0x271)]?_0x5a1d3c['buffer']:_0x5a1d3c['buffer'][_0x2894e6(0x2f8)](_0x5a1d3c['byteOffset'],_0x5a1d3c[_0x2894e6(0x1d2)]+_0x5a1d3c['length']);}function _0x141384(_0x3de018){const _0x843e2a=_0x2f4ab7;if(_0x141384[_0x843e2a(0x21b)]=!0x0,Buffer[_0x843e2a(0x220)](_0x3de018))return _0x3de018;let _0x20e50d;return _0x3de018 instanceof ArrayBuffer?_0x20e50d=new _0x41900e(_0x3de018):ArrayBuffer[_0x843e2a(0x1c2)](_0x3de018)?_0x20e50d=new _0x41900e(_0x3de018[_0x843e2a(0x1aa)],_0x3de018[_0x843e2a(0x1d2)],_0x3de018[_0x843e2a(0x271)]):(_0x20e50d=Buffer[_0x843e2a(0x1c5)](_0x3de018),_0x141384[_0x843e2a(0x21b)]=!0x1),_0x20e50d;}if(se['exports']={'concat':_0xff67e,'mask':_0x4ae045,'toArrayBuffer':_0x2e1c4a,'toBuffer':_0x141384,'unmask':_0x4bfe1d},!process[_0x2f4ab7(0x17a)]['WS_NO_BUFFER_UTIL'])try{const _0x1b7e18=Lt;se[_0x2f4ab7(0x169)][_0x2f4ab7(0x21d)]=function(_0xed5a72,_0x27c0b9,_0x6fda38,_0x50ad7b,_0x1b2051){const _0xbdcc9b=_0x2f4ab7;_0x1b2051<0x30?_0x4ae045(_0xed5a72,_0x27c0b9,_0x6fda38,_0x50ad7b,_0x1b2051):_0x1b7e18[_0xbdcc9b(0x21d)](_0xed5a72,_0x27c0b9,_0x6fda38,_0x50ad7b,_0x1b2051);},se[_0x2f4ab7(0x169)][_0x2f4ab7(0x18a)]=function(_0x3aa4e1,_0x28160b){const _0x2c59db=_0x2f4ab7;_0x3aa4e1[_0x2c59db(0x277)]<0x20?_0x4bfe1d(_0x3aa4e1,_0x28160b):_0x1b7e18[_0x2c59db(0x18a)](_0x3aa4e1,_0x28160b);};}catch{}return se[_0x2f4ab7(0x169)];}var ye,He;function Pt(){const _0x2fdc42=_0x4b01a7;if(He)return ye;He=0x1;const _0x247670=Symbol('kDone'),_0x3b7549=Symbol(_0x2fdc42(0x1ea));class _0x4e7053{constructor(_0x3130e1){const _0x52ac67=_0x2fdc42;this[_0x247670]=()=>{const _0x51de89=_0x1757;this[_0x51de89(0x2b7)]--,this[_0x3b7549]();},this[_0x52ac67(0x2b0)]=_0x3130e1||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x2fdc42(0x1b7)](_0x543a60){const _0x3d57f0=_0x2fdc42;this[_0x3d57f0(0x203)][_0x3d57f0(0x28a)](_0x543a60),this[_0x3b7549]();}[_0x3b7549](){const _0x226bcb=_0x2fdc42;if(this['pending']!==this['concurrency']&&this['jobs'][_0x226bcb(0x277)]){const _0x3c5bf8=this[_0x226bcb(0x203)][_0x226bcb(0x207)]();this[_0x226bcb(0x2b7)]++,_0x3c5bf8(this[_0x247670]);}}}return ye=_0x4e7053,ye;}var ve,ze;function he(){const _0x501785=_0x4b01a7;if(ze)return ve;ze=0x1;const _0x56c999=bt,_0x2d1a17=ce(),_0x4353b7=Pt(),{kStatusCode:_0x10d1ed}=H(),_0xd75e1a=Buffer[Symbol['species']],_0xc3be32=Buffer[_0x501785(0x1c5)]([0x0,0x0,0xff,0xff]),_0x5acbed=Symbol('permessage-deflate'),_0x495b28=Symbol(_0x501785(0x2b2)),_0x5ea24=Symbol(_0x501785(0x18d)),_0x3cc1c4=Symbol(_0x501785(0x1c9)),_0x4e5794=Symbol(_0x501785(0x2ec));let _0x3d62fd;class _0x29007c{constructor(_0x3f4512,_0xb04b48,_0xa00864){const _0x424ec2=_0x501785;if(this[_0x424ec2(0x266)]=_0xa00864|0x0,this[_0x424ec2(0x30c)]=_0x3f4512||{},this[_0x424ec2(0x16c)]=this[_0x424ec2(0x30c)]['threshold']!==void 0x0?this[_0x424ec2(0x30c)][_0x424ec2(0x258)]:0x400,this[_0x424ec2(0x21e)]=!!_0xb04b48,this[_0x424ec2(0x18f)]=null,this[_0x424ec2(0x31f)]=null,this[_0x424ec2(0x1fe)]=null,!_0x3d62fd){const _0x517ae5=this['_options'][_0x424ec2(0x224)]!==void 0x0?this[_0x424ec2(0x30c)][_0x424ec2(0x224)]:0xa;_0x3d62fd=new _0x4353b7(_0x517ae5);}}static get[_0x501785(0x167)](){return'permessage-deflate';}[_0x501785(0x1f7)](){const _0x4d4a64=_0x501785,_0x3ca8fe={};return this[_0x4d4a64(0x30c)][_0x4d4a64(0x19d)]&&(_0x3ca8fe[_0x4d4a64(0x1ce)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x3ca8fe[_0x4d4a64(0x197)]=!0x0),this[_0x4d4a64(0x30c)][_0x4d4a64(0x190)]&&(_0x3ca8fe[_0x4d4a64(0x1ae)]=this[_0x4d4a64(0x30c)][_0x4d4a64(0x190)]),this[_0x4d4a64(0x30c)]['clientMaxWindowBits']?_0x3ca8fe['client_max_window_bits']=this['_options'][_0x4d4a64(0x22c)]:this[_0x4d4a64(0x30c)][_0x4d4a64(0x22c)]==null&&(_0x3ca8fe[_0x4d4a64(0x2a8)]=!0x0),_0x3ca8fe;}[_0x501785(0x184)](_0x5bb83f){const _0x489067=_0x501785;return _0x5bb83f=this['normalizeParams'](_0x5bb83f),this[_0x489067(0x1fe)]=this[_0x489067(0x21e)]?this[_0x489067(0x22a)](_0x5bb83f):this[_0x489067(0x1e1)](_0x5bb83f),this[_0x489067(0x1fe)];}['cleanup'](){const _0x188716=_0x501785;if(this[_0x188716(0x31f)]&&(this[_0x188716(0x31f)]['close'](),this['_inflate']=null),this[_0x188716(0x18f)]){const _0x1c8c34=this['_deflate'][_0x5ea24];this[_0x188716(0x18f)][_0x188716(0x2c5)](),this[_0x188716(0x18f)]=null,_0x1c8c34&&_0x1c8c34(new Error(_0x188716(0x1fb)));}}[_0x501785(0x22a)](_0x59970c){const _0x58dc87=_0x501785,_0x44dd27=this[_0x58dc87(0x30c)],_0x258b3c=_0x59970c[_0x58dc87(0x1cb)](_0x10461f=>!(_0x44dd27[_0x58dc87(0x19d)]===!0x1&&_0x10461f['server_no_context_takeover']||_0x10461f[_0x58dc87(0x1ae)]&&(_0x44dd27['serverMaxWindowBits']===!0x1||typeof _0x44dd27[_0x58dc87(0x190)]=='number'&&_0x44dd27[_0x58dc87(0x190)]>_0x10461f[_0x58dc87(0x1ae)])||typeof _0x44dd27[_0x58dc87(0x22c)]=='number'&&!_0x10461f['client_max_window_bits']));if(!_0x258b3c)throw new Error(_0x58dc87(0x214));return _0x44dd27[_0x58dc87(0x19d)]&&(_0x258b3c[_0x58dc87(0x1ce)]=!0x0),_0x44dd27[_0x58dc87(0x17b)]&&(_0x258b3c['client_no_context_takeover']=!0x0),typeof _0x44dd27[_0x58dc87(0x190)]==_0x58dc87(0x246)&&(_0x258b3c[_0x58dc87(0x1ae)]=_0x44dd27[_0x58dc87(0x190)]),typeof _0x44dd27['clientMaxWindowBits']==_0x58dc87(0x246)?_0x258b3c['client_max_window_bits']=_0x44dd27[_0x58dc87(0x22c)]:(_0x258b3c[_0x58dc87(0x2a8)]===!0x0||_0x44dd27[_0x58dc87(0x22c)]===!0x1)&&delete _0x258b3c[_0x58dc87(0x2a8)],_0x258b3c;}[_0x501785(0x1e1)](_0x347a56){const _0x3cb8c7=_0x501785,_0x447072=_0x347a56[0x0];if(this[_0x3cb8c7(0x30c)][_0x3cb8c7(0x17b)]===!0x1&&_0x447072[_0x3cb8c7(0x197)])throw new Error(_0x3cb8c7(0x1b4));if(!_0x447072[_0x3cb8c7(0x2a8)])typeof this[_0x3cb8c7(0x30c)][_0x3cb8c7(0x22c)]==_0x3cb8c7(0x246)&&(_0x447072[_0x3cb8c7(0x2a8)]=this[_0x3cb8c7(0x30c)][_0x3cb8c7(0x22c)]);else{if(this['_options'][_0x3cb8c7(0x22c)]===!0x1||typeof this[_0x3cb8c7(0x30c)][_0x3cb8c7(0x22c)]==_0x3cb8c7(0x246)&&_0x447072['client_max_window_bits']>this['_options'][_0x3cb8c7(0x22c)])throw new Error(_0x3cb8c7(0x2a3));}return _0x447072;}[_0x501785(0x187)](_0x2da5c4){const _0x21388e=_0x501785;return _0x2da5c4[_0x21388e(0x2d1)](_0x4a658d=>{const _0x16e350=_0x21388e;Object[_0x16e350(0x1ad)](_0x4a658d)[_0x16e350(0x2d1)](_0x2c9709=>{const _0x502741=_0x16e350;let _0x4d7d0b=_0x4a658d[_0x2c9709];if(_0x4d7d0b[_0x502741(0x277)]>0x1)throw new Error('Parameter\x20\x22'+_0x2c9709+_0x502741(0x210));if(_0x4d7d0b=_0x4d7d0b[0x0],_0x2c9709===_0x502741(0x2a8)){if(_0x4d7d0b!==!0x0){const _0x3f41bb=+_0x4d7d0b;if(!Number['isInteger'](_0x3f41bb)||_0x3f41bb<0x8||_0x3f41bb>0xf)throw new TypeError(_0x502741(0x2ba)+_0x2c9709+_0x502741(0x1dc)+_0x4d7d0b);_0x4d7d0b=_0x3f41bb;}else{if(!this[_0x502741(0x21e)])throw new TypeError(_0x502741(0x2ba)+_0x2c9709+_0x502741(0x1dc)+_0x4d7d0b);}}else{if(_0x2c9709===_0x502741(0x1ae)){const _0x27b3c2=+_0x4d7d0b;if(!Number[_0x502741(0x2cb)](_0x27b3c2)||_0x27b3c2<0x8||_0x27b3c2>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2c9709+'\x22:\x20'+_0x4d7d0b);_0x4d7d0b=_0x27b3c2;}else{if(_0x2c9709===_0x502741(0x197)||_0x2c9709===_0x502741(0x1ce)){if(_0x4d7d0b!==!0x0)throw new TypeError(_0x502741(0x2ba)+_0x2c9709+_0x502741(0x1dc)+_0x4d7d0b);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2c9709+'\x22');}}_0x4a658d[_0x2c9709]=_0x4d7d0b;});}),_0x2da5c4;}['decompress'](_0x8b9e6d,_0x53a2b2,_0x5ee54d){const _0x514d30=_0x501785;_0x3d62fd[_0x514d30(0x1b7)](_0x5d6231=>{this['_decompress'](_0x8b9e6d,_0x53a2b2,(_0x4bbcfe,_0xafbc59)=>{_0x5d6231(),_0x5ee54d(_0x4bbcfe,_0xafbc59);});});}[_0x501785(0x2db)](_0x404734,_0x24e70b,_0x10321d){const _0x5114e8=_0x501785;_0x3d62fd[_0x5114e8(0x1b7)](_0x50ec23=>{const _0x39233e=_0x5114e8;this[_0x39233e(0x24f)](_0x404734,_0x24e70b,(_0x485134,_0x33be64)=>{_0x50ec23(),_0x10321d(_0x485134,_0x33be64);});});}[_0x501785(0x189)](_0x2f4948,_0x39f959,_0x6e19bf){const _0x1b9493=_0x501785,_0x3c761f=this['_isServer']?_0x1b9493(0x255):_0x1b9493(0x1dd);if(!this[_0x1b9493(0x31f)]){const _0x2b9b32=_0x3c761f+_0x1b9493(0x193),_0x492fde=typeof this[_0x1b9493(0x1fe)][_0x2b9b32]!=_0x1b9493(0x246)?_0x56c999['Z_DEFAULT_WINDOWBITS']:this[_0x1b9493(0x1fe)][_0x2b9b32];this[_0x1b9493(0x31f)]=_0x56c999['createInflateRaw']({...this[_0x1b9493(0x30c)][_0x1b9493(0x1ba)],'windowBits':_0x492fde}),this[_0x1b9493(0x31f)][_0x5acbed]=this,this[_0x1b9493(0x31f)][_0x495b28]=0x0,this[_0x1b9493(0x31f)][_0x3cc1c4]=[],this[_0x1b9493(0x31f)]['on'](_0x1b9493(0x2ec),_0x562a55),this[_0x1b9493(0x31f)]['on'](_0x1b9493(0x2b3),_0x459894);}this[_0x1b9493(0x31f)][_0x5ea24]=_0x6e19bf,this[_0x1b9493(0x31f)]['write'](_0x2f4948),_0x39f959&&this[_0x1b9493(0x31f)][_0x1b9493(0x269)](_0xc3be32),this['_inflate'][_0x1b9493(0x1cf)](()=>{const _0x1950ca=_0x1b9493,_0x591a10=this[_0x1950ca(0x31f)][_0x4e5794];if(_0x591a10){this[_0x1950ca(0x31f)][_0x1950ca(0x2c5)](),this[_0x1950ca(0x31f)]=null,_0x6e19bf(_0x591a10);return;}const _0x317b2d=_0x2d1a17[_0x1950ca(0x264)](this[_0x1950ca(0x31f)][_0x3cc1c4],this[_0x1950ca(0x31f)][_0x495b28]);this[_0x1950ca(0x31f)][_0x1950ca(0x237)][_0x1950ca(0x280)]?(this[_0x1950ca(0x31f)][_0x1950ca(0x2c5)](),this[_0x1950ca(0x31f)]=null):(this[_0x1950ca(0x31f)][_0x495b28]=0x0,this[_0x1950ca(0x31f)][_0x3cc1c4]=[],_0x39f959&&this[_0x1950ca(0x1fe)][_0x3c761f+_0x1950ca(0x268)]&&this[_0x1950ca(0x31f)][_0x1950ca(0x2cc)]()),_0x6e19bf(null,_0x317b2d);});}[_0x501785(0x24f)](_0x2d195b,_0x1531a3,_0x21b304){const _0x4af283=_0x501785,_0x1c8eed=this[_0x4af283(0x21e)]?_0x4af283(0x1dd):_0x4af283(0x255);if(!this[_0x4af283(0x18f)]){const _0x1e91d1=_0x1c8eed+_0x4af283(0x193),_0x4dea79=typeof this[_0x4af283(0x1fe)][_0x1e91d1]!=_0x4af283(0x246)?_0x56c999[_0x4af283(0x2bf)]:this[_0x4af283(0x1fe)][_0x1e91d1];this[_0x4af283(0x18f)]=_0x56c999[_0x4af283(0x1de)]({...this[_0x4af283(0x30c)]['zlibDeflateOptions'],'windowBits':_0x4dea79}),this[_0x4af283(0x18f)][_0x495b28]=0x0,this['_deflate'][_0x3cc1c4]=[],this['_deflate']['on'](_0x4af283(0x2b3),_0x1783f7);}this[_0x4af283(0x18f)][_0x5ea24]=_0x21b304,this[_0x4af283(0x18f)]['write'](_0x2d195b),this[_0x4af283(0x18f)][_0x4af283(0x1cf)](_0x56c999['Z_SYNC_FLUSH'],()=>{const _0x5a5758=_0x4af283;if(!this[_0x5a5758(0x18f)])return;let _0x498d94=_0x2d1a17[_0x5a5758(0x264)](this[_0x5a5758(0x18f)][_0x3cc1c4],this['_deflate'][_0x495b28]);_0x1531a3&&(_0x498d94=new _0xd75e1a(_0x498d94[_0x5a5758(0x1aa)],_0x498d94[_0x5a5758(0x1d2)],_0x498d94[_0x5a5758(0x277)]-0x4)),this['_deflate'][_0x5ea24]=null,this['_deflate'][_0x495b28]=0x0,this['_deflate'][_0x3cc1c4]=[],_0x1531a3&&this[_0x5a5758(0x1fe)][_0x1c8eed+_0x5a5758(0x268)]&&this[_0x5a5758(0x18f)][_0x5a5758(0x2cc)](),_0x21b304(null,_0x498d94);});}}ve=_0x29007c;function _0x1783f7(_0x41c618){const _0x30f23e=_0x501785;this[_0x3cc1c4][_0x30f23e(0x28a)](_0x41c618),this[_0x495b28]+=_0x41c618[_0x30f23e(0x277)];}function _0x459894(_0x192ea2){const _0x387163=_0x501785;if(this[_0x495b28]+=_0x192ea2[_0x387163(0x277)],this[_0x5acbed][_0x387163(0x266)]<0x1||this[_0x495b28]<=this[_0x5acbed][_0x387163(0x266)]){this[_0x3cc1c4]['push'](_0x192ea2);return;}this[_0x4e5794]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x4e5794][_0x387163(0x225)]=_0x387163(0x297),this[_0x4e5794][_0x10d1ed]=0x3f1,this[_0x387163(0x1f5)](_0x387163(0x2b3),_0x459894),this[_0x387163(0x2cc)]();}function _0x562a55(_0x1a85e4){const _0x2c6394=_0x501785;this[_0x5acbed][_0x2c6394(0x31f)]=null,_0x1a85e4[_0x10d1ed]=0x3ef,this[_0x5ea24](_0x1a85e4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4b01a7(0x289)](Object[_0x4b01a7(0x1f8)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x4b01a7(0x28e)})),Bt=at(Rt);var Ye;function ae(){const _0x1c6bee=_0x4b01a7;if(Ye)return ie[_0x1c6bee(0x169)];Ye=0x1;const {isUtf8:_0x27ca94}=wt,{hasBlob:_0x4aeb47}=H(),_0x288b59=[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 _0x221814(_0x2c9bb9){return _0x2c9bb9>=0x3e8&&_0x2c9bb9<=0x3f6&&_0x2c9bb9!==0x3ec&&_0x2c9bb9!==0x3ed&&_0x2c9bb9!==0x3ee||_0x2c9bb9>=0xbb8&&_0x2c9bb9<=0x1387;}function _0x20e5aa(_0x3922eb){const _0x180812=_0x1c6bee,_0x25f397=_0x3922eb[_0x180812(0x277)];let _0x1bb985=0x0;for(;_0x1bb985<_0x25f397;)if((_0x3922eb[_0x1bb985]&0x80)===0x0)_0x1bb985++;else{if((_0x3922eb[_0x1bb985]&0xe0)===0xc0){if(_0x1bb985+0x1===_0x25f397||(_0x3922eb[_0x1bb985+0x1]&0xc0)!==0x80||(_0x3922eb[_0x1bb985]&0xfe)===0xc0)return!0x1;_0x1bb985+=0x2;}else{if((_0x3922eb[_0x1bb985]&0xf0)===0xe0){if(_0x1bb985+0x2>=_0x25f397||(_0x3922eb[_0x1bb985+0x1]&0xc0)!==0x80||(_0x3922eb[_0x1bb985+0x2]&0xc0)!==0x80||_0x3922eb[_0x1bb985]===0xe0&&(_0x3922eb[_0x1bb985+0x1]&0xe0)===0x80||_0x3922eb[_0x1bb985]===0xed&&(_0x3922eb[_0x1bb985+0x1]&0xe0)===0xa0)return!0x1;_0x1bb985+=0x3;}else{if((_0x3922eb[_0x1bb985]&0xf8)===0xf0){if(_0x1bb985+0x3>=_0x25f397||(_0x3922eb[_0x1bb985+0x1]&0xc0)!==0x80||(_0x3922eb[_0x1bb985+0x2]&0xc0)!==0x80||(_0x3922eb[_0x1bb985+0x3]&0xc0)!==0x80||_0x3922eb[_0x1bb985]===0xf0&&(_0x3922eb[_0x1bb985+0x1]&0xf0)===0x80||_0x3922eb[_0x1bb985]===0xf4&&_0x3922eb[_0x1bb985+0x1]>0x8f||_0x3922eb[_0x1bb985]>0xf4)return!0x1;_0x1bb985+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a5fb6(_0x252b0e){const _0x4a19be=_0x1c6bee;return _0x4aeb47&&typeof _0x252b0e=='object'&&typeof _0x252b0e[_0x4a19be(0x1f0)]==_0x4a19be(0x2e9)&&typeof _0x252b0e['type']==_0x4a19be(0x2e5)&&typeof _0x252b0e[_0x4a19be(0x1eb)]=='function'&&(_0x252b0e[Symbol['toStringTag']]==='Blob'||_0x252b0e[Symbol[_0x4a19be(0x2a0)]]==='File');}if(ie[_0x1c6bee(0x169)]={'isBlob':_0x1a5fb6,'isValidStatusCode':_0x221814,'isValidUTF8':_0x20e5aa,'tokenChars':_0x288b59},_0x27ca94)ie[_0x1c6bee(0x169)]['isValidUTF8']=function(_0x599374){const _0x1b6e07=_0x1c6bee;return _0x599374[_0x1b6e07(0x277)]<0x18?_0x20e5aa(_0x599374):_0x27ca94(_0x599374);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x19f50b=Bt;ie[_0x1c6bee(0x169)][_0x1c6bee(0x1e9)]=function(_0x361890){const _0x253d67=_0x1c6bee;return _0x361890[_0x253d67(0x277)]<0x20?_0x20e5aa(_0x361890):_0x19f50b(_0x361890);};}catch{}}return ie[_0x1c6bee(0x169)];}var Se,Ke;function lt(){const _0x3b48bb=_0x4b01a7;if(Ke)return Se;Ke=0x1;const {Writable:_0x5342d0}=oe,_0x37aa91=he(),{BINARY_TYPES:_0x12b072,EMPTY_BUFFER:_0x2a9f6c,kStatusCode:_0x323e0d,kWebSocket:_0x543b28}=H(),{concat:_0x3ccdbe,toArrayBuffer:_0x4dea85,unmask:_0x391f8b}=ce(),{isValidStatusCode:_0x3fab93,isValidUTF8:_0x2e645b}=ae(),_0x2cd809=Buffer[Symbol[_0x3b48bb(0x303)]],_0x5857fb=0x0,_0x2f0984=0x1,_0x410706=0x2,_0x5bdc1d=0x3,_0x28d89f=0x4,_0x3cfcdb=0x5,_0x414575=0x6;class _0x2cec03 extends _0x5342d0{constructor(_0x29e6de={}){const _0x22fe50=_0x3b48bb;super(),this['_allowSynchronousEvents']=_0x29e6de[_0x22fe50(0x2fb)]!==void 0x0?_0x29e6de[_0x22fe50(0x2fb)]:!0x0,this[_0x22fe50(0x2a5)]=_0x29e6de[_0x22fe50(0x31a)]||_0x12b072[0x0],this[_0x22fe50(0x294)]=_0x29e6de[_0x22fe50(0x16b)]||{},this[_0x22fe50(0x21e)]=!!_0x29e6de['isServer'],this[_0x22fe50(0x266)]=_0x29e6de[_0x22fe50(0x2ab)]|0x0,this['_skipUTF8Validation']=!!_0x29e6de['skipUTF8Validation'],this[_0x543b28]=void 0x0,this[_0x22fe50(0x293)]=0x0,this[_0x22fe50(0x312)]=[],this[_0x22fe50(0x244)]=!0x1,this[_0x22fe50(0x17e)]=0x0,this[_0x22fe50(0x204)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x22fe50(0x1fc)]=0x0,this['_totalPayloadLength']=0x0,this[_0x22fe50(0x16e)]=0x0,this[_0x22fe50(0x171)]=[],this[_0x22fe50(0x208)]=!0x1,this[_0x22fe50(0x30d)]=!0x1,this[_0x22fe50(0x202)]=_0x5857fb;}[_0x3b48bb(0x2fa)](_0x2acc7f,_0x4c6776,_0xa3eac4){const _0x2198d9=_0x3b48bb;if(this[_0x2198d9(0x1fc)]===0x8&&this['_state']==_0x5857fb)return _0xa3eac4();this[_0x2198d9(0x293)]+=_0x2acc7f[_0x2198d9(0x277)],this[_0x2198d9(0x312)][_0x2198d9(0x28a)](_0x2acc7f),this['startLoop'](_0xa3eac4);}[_0x3b48bb(0x1a5)](_0x309576){const _0x1443f6=_0x3b48bb;if(this['_bufferedBytes']-=_0x309576,_0x309576===this[_0x1443f6(0x312)][0x0][_0x1443f6(0x277)])return this[_0x1443f6(0x312)][_0x1443f6(0x207)]();if(_0x309576<this[_0x1443f6(0x312)][0x0]['length']){const _0x1c4c6e=this[_0x1443f6(0x312)][0x0];return this['_buffers'][0x0]=new _0x2cd809(_0x1c4c6e[_0x1443f6(0x1aa)],_0x1c4c6e[_0x1443f6(0x1d2)]+_0x309576,_0x1c4c6e[_0x1443f6(0x277)]-_0x309576),new _0x2cd809(_0x1c4c6e[_0x1443f6(0x1aa)],_0x1c4c6e['byteOffset'],_0x309576);}const _0x3e750f=Buffer['allocUnsafe'](_0x309576);do{const _0x4c4722=this['_buffers'][0x0],_0x493266=_0x3e750f[_0x1443f6(0x277)]-_0x309576;_0x309576>=_0x4c4722[_0x1443f6(0x277)]?_0x3e750f['set'](this[_0x1443f6(0x312)][_0x1443f6(0x207)](),_0x493266):(_0x3e750f[_0x1443f6(0x321)](new Uint8Array(_0x4c4722[_0x1443f6(0x1aa)],_0x4c4722[_0x1443f6(0x1d2)],_0x309576),_0x493266),this[_0x1443f6(0x312)][0x0]=new _0x2cd809(_0x4c4722[_0x1443f6(0x1aa)],_0x4c4722[_0x1443f6(0x1d2)]+_0x309576,_0x4c4722['length']-_0x309576)),_0x309576-=_0x4c4722[_0x1443f6(0x277)];}while(_0x309576>0x0);return _0x3e750f;}[_0x3b48bb(0x162)](_0x4e1062){const _0x158e58=_0x3b48bb;this[_0x158e58(0x30d)]=!0x0;do switch(this[_0x158e58(0x202)]){case _0x5857fb:this[_0x158e58(0x2be)](_0x4e1062);break;case _0x2f0984:this[_0x158e58(0x1e7)](_0x4e1062);break;case _0x410706:this[_0x158e58(0x2dd)](_0x4e1062);break;case _0x5bdc1d:this['getMask']();break;case _0x28d89f:this[_0x158e58(0x2f3)](_0x4e1062);break;case _0x3cfcdb:case _0x414575:this[_0x158e58(0x30d)]=!0x1;return;}while(this[_0x158e58(0x30d)]);this[_0x158e58(0x208)]||_0x4e1062();}['getInfo'](_0xe44130){const _0x320b32=_0x3b48bb;if(this[_0x320b32(0x293)]<0x2){this[_0x320b32(0x30d)]=!0x1;return;}const _0x5a7687=this[_0x320b32(0x1a5)](0x2);if((_0x5a7687[0x0]&0x30)!==0x0){const _0x4e8147=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x2d9),!0x0,0x3ea,_0x320b32(0x20a));_0xe44130(_0x4e8147);return;}const _0x2c7e28=(_0x5a7687[0x0]&0x40)===0x40;if(_0x2c7e28&&!this['_extensions'][_0x37aa91[_0x320b32(0x167)]]){const _0x3c4e3d=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x181),!0x0,0x3ea,_0x320b32(0x315));_0xe44130(_0x3c4e3d);return;}if(this['_fin']=(_0x5a7687[0x0]&0x80)===0x80,this[_0x320b32(0x1fc)]=_0x5a7687[0x0]&0xf,this['_payloadLength']=_0x5a7687[0x1]&0x7f,this['_opcode']===0x0){if(_0x2c7e28){const _0x174d1e=this['createError'](RangeError,_0x320b32(0x181),!0x0,0x3ea,_0x320b32(0x315));_0xe44130(_0x174d1e);return;}if(!this[_0x320b32(0x2d2)]){const _0x3edd09=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x1bb),!0x0,0x3ea,_0x320b32(0x2d5));_0xe44130(_0x3edd09);return;}this[_0x320b32(0x1fc)]=this[_0x320b32(0x2d2)];}else{if(this['_opcode']===0x1||this[_0x320b32(0x1fc)]===0x2){if(this[_0x320b32(0x2d2)]){const _0x2acd50=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x2c6)+this[_0x320b32(0x1fc)],!0x0,0x3ea,_0x320b32(0x2d5));_0xe44130(_0x2acd50);return;}this[_0x320b32(0x244)]=_0x2c7e28;}else{if(this[_0x320b32(0x1fc)]>0x7&&this[_0x320b32(0x1fc)]<0xb){if(!this[_0x320b32(0x2c1)]){const _0x2cddb9=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x212),!0x0,0x3ea,_0x320b32(0x275));_0xe44130(_0x2cddb9);return;}if(_0x2c7e28){const _0x1e41a0=this['createError'](RangeError,_0x320b32(0x181),!0x0,0x3ea,_0x320b32(0x315));_0xe44130(_0x1e41a0);return;}if(this['_payloadLength']>0x7d||this[_0x320b32(0x1fc)]===0x8&&this[_0x320b32(0x17e)]===0x1){const _0x1fa091=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x256)+this['_payloadLength'],!0x0,0x3ea,_0x320b32(0x27d));_0xe44130(_0x1fa091);return;}}else{const _0xcea113=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x2c6)+this[_0x320b32(0x1fc)],!0x0,0x3ea,_0x320b32(0x2d5));_0xe44130(_0xcea113);return;}}}if(!this['_fin']&&!this[_0x320b32(0x2d2)]&&(this[_0x320b32(0x2d2)]=this[_0x320b32(0x1fc)]),this[_0x320b32(0x257)]=(_0x5a7687[0x1]&0x80)===0x80,this[_0x320b32(0x21e)]){if(!this[_0x320b32(0x257)]){const _0x392ef9=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x254),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xe44130(_0x392ef9);return;}}else{if(this[_0x320b32(0x257)]){const _0x3c8a81=this[_0x320b32(0x1b2)](RangeError,_0x320b32(0x1f4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xe44130(_0x3c8a81);return;}}this[_0x320b32(0x17e)]===0x7e?this[_0x320b32(0x202)]=_0x2f0984:this[_0x320b32(0x17e)]===0x7f?this[_0x320b32(0x202)]=_0x410706:this[_0x320b32(0x267)](_0xe44130);}[_0x3b48bb(0x1e7)](_0x2d3c45){const _0x434108=_0x3b48bb;if(this[_0x434108(0x293)]<0x2){this[_0x434108(0x30d)]=!0x1;return;}this[_0x434108(0x17e)]=this['consume'](0x2)[_0x434108(0x1a3)](0x0),this[_0x434108(0x267)](_0x2d3c45);}[_0x3b48bb(0x2dd)](_0x333771){const _0x1b39ad=_0x3b48bb;if(this['_bufferedBytes']<0x8){this[_0x1b39ad(0x30d)]=!0x1;return;}const _0x42e60d=this['consume'](0x8),_0x1e2c42=_0x42e60d[_0x1b39ad(0x2f0)](0x0);if(_0x1e2c42>Math['pow'](0x2,0x15)-0x1){const _0x3c0e31=this[_0x1b39ad(0x1b2)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x333771(_0x3c0e31);return;}this[_0x1b39ad(0x17e)]=_0x1e2c42*Math[_0x1b39ad(0x325)](0x2,0x20)+_0x42e60d[_0x1b39ad(0x2f0)](0x4),this[_0x1b39ad(0x267)](_0x333771);}[_0x3b48bb(0x267)](_0xc07319){const _0x3b08ef=_0x3b48bb;if(this[_0x3b08ef(0x17e)]&&this[_0x3b08ef(0x1fc)]<0x8&&(this[_0x3b08ef(0x2a9)]+=this[_0x3b08ef(0x17e)],this[_0x3b08ef(0x2a9)]>this[_0x3b08ef(0x266)]&&this[_0x3b08ef(0x266)]>0x0)){const _0x30fdec=this[_0x3b08ef(0x1b2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3b08ef(0x297));_0xc07319(_0x30fdec);return;}this[_0x3b08ef(0x257)]?this['_state']=_0x5bdc1d:this[_0x3b08ef(0x202)]=_0x28d89f;}[_0x3b48bb(0x19a)](){const _0x30c5c6=_0x3b48bb;if(this[_0x30c5c6(0x293)]<0x4){this[_0x30c5c6(0x30d)]=!0x1;return;}this[_0x30c5c6(0x204)]=this[_0x30c5c6(0x1a5)](0x4),this['_state']=_0x28d89f;}[_0x3b48bb(0x2f3)](_0x582aba){const _0x57ee86=_0x3b48bb;let _0x34cc32=_0x2a9f6c;if(this['_payloadLength']){if(this[_0x57ee86(0x293)]<this['_payloadLength']){this[_0x57ee86(0x30d)]=!0x1;return;}_0x34cc32=this['consume'](this['_payloadLength']),this[_0x57ee86(0x257)]&&(this[_0x57ee86(0x204)][0x0]|this['_mask'][0x1]|this[_0x57ee86(0x204)][0x2]|this[_0x57ee86(0x204)][0x3])!==0x0&&_0x391f8b(_0x34cc32,this['_mask']);}if(this[_0x57ee86(0x1fc)]>0x7){this[_0x57ee86(0x213)](_0x34cc32,_0x582aba);return;}if(this[_0x57ee86(0x244)]){this[_0x57ee86(0x202)]=_0x3cfcdb,this[_0x57ee86(0x22b)](_0x34cc32,_0x582aba);return;}_0x34cc32['length']&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x57ee86(0x171)][_0x57ee86(0x28a)](_0x34cc32)),this[_0x57ee86(0x2cd)](_0x582aba);}[_0x3b48bb(0x22b)](_0x53a8a6,_0x55f116){const _0x2f9f9c=_0x3b48bb;this[_0x2f9f9c(0x294)][_0x37aa91[_0x2f9f9c(0x167)]][_0x2f9f9c(0x22b)](_0x53a8a6,this['_fin'],(_0x46f57b,_0x5b17fa)=>{const _0x257cff=_0x2f9f9c;if(_0x46f57b)return _0x55f116(_0x46f57b);if(_0x5b17fa[_0x257cff(0x277)]){if(this['_messageLength']+=_0x5b17fa[_0x257cff(0x277)],this['_messageLength']>this[_0x257cff(0x266)]&&this['_maxPayload']>0x0){const _0x8b6ba1=this['createError'](RangeError,_0x257cff(0x2fd),!0x1,0x3f1,_0x257cff(0x297));_0x55f116(_0x8b6ba1);return;}this[_0x257cff(0x171)][_0x257cff(0x28a)](_0x5b17fa);}this['dataMessage'](_0x55f116),this[_0x257cff(0x202)]===_0x5857fb&&this['startLoop'](_0x55f116);});}['dataMessage'](_0x58a119){const _0x233768=_0x3b48bb;if(!this[_0x233768(0x2c1)]){this['_state']=_0x5857fb;return;}const _0x30e5e5=this[_0x233768(0x16e)],_0x1495b9=this[_0x233768(0x171)];if(this[_0x233768(0x2a9)]=0x0,this[_0x233768(0x16e)]=0x0,this['_fragmented']=0x0,this[_0x233768(0x171)]=[],this[_0x233768(0x1fc)]===0x2){let _0x54eb72;this[_0x233768(0x2a5)]==='nodebuffer'?_0x54eb72=_0x3ccdbe(_0x1495b9,_0x30e5e5):this[_0x233768(0x2a5)]===_0x233768(0x1d3)?_0x54eb72=_0x4dea85(_0x3ccdbe(_0x1495b9,_0x30e5e5)):this[_0x233768(0x2a5)]===_0x233768(0x179)?_0x54eb72=new Blob(_0x1495b9):_0x54eb72=_0x1495b9,this[_0x233768(0x18e)]?(this['emit'](_0x233768(0x26a),_0x54eb72,!0x0),this[_0x233768(0x202)]=_0x5857fb):(this[_0x233768(0x202)]=_0x414575,setImmediate(()=>{const _0x397db2=_0x233768;this[_0x397db2(0x19e)](_0x397db2(0x26a),_0x54eb72,!0x0),this[_0x397db2(0x202)]=_0x5857fb,this[_0x397db2(0x162)](_0x58a119);}));}else{const _0x2fdb60=_0x3ccdbe(_0x1495b9,_0x30e5e5);if(!this[_0x233768(0x1ed)]&&!_0x2e645b(_0x2fdb60)){const _0x155a88=this['createError'](Error,_0x233768(0x173),!0x0,0x3ef,_0x233768(0x163));_0x58a119(_0x155a88);return;}this[_0x233768(0x202)]===_0x3cfcdb||this['_allowSynchronousEvents']?(this[_0x233768(0x19e)]('message',_0x2fdb60,!0x1),this[_0x233768(0x202)]=_0x5857fb):(this[_0x233768(0x202)]=_0x414575,setImmediate(()=>{const _0x1445c8=_0x233768;this[_0x1445c8(0x19e)](_0x1445c8(0x26a),_0x2fdb60,!0x1),this['_state']=_0x5857fb,this[_0x1445c8(0x162)](_0x58a119);}));}}[_0x3b48bb(0x213)](_0x45f58b,_0x559309){const _0x1000e6=_0x3b48bb;if(this[_0x1000e6(0x1fc)]===0x8){if(_0x45f58b[_0x1000e6(0x277)]===0x0)this[_0x1000e6(0x30d)]=!0x1,this[_0x1000e6(0x19e)](_0x1000e6(0x1a4),0x3ed,_0x2a9f6c),this[_0x1000e6(0x1ee)]();else{const _0xe7c240=_0x45f58b[_0x1000e6(0x1a3)](0x0);if(!_0x3fab93(_0xe7c240)){const _0x1388b3=this[_0x1000e6(0x1b2)](RangeError,_0x1000e6(0x2aa)+_0xe7c240,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x559309(_0x1388b3);return;}const _0x53d16f=new _0x2cd809(_0x45f58b[_0x1000e6(0x1aa)],_0x45f58b[_0x1000e6(0x1d2)]+0x2,_0x45f58b[_0x1000e6(0x277)]-0x2);if(!this[_0x1000e6(0x1ed)]&&!_0x2e645b(_0x53d16f)){const _0x3c310d=this[_0x1000e6(0x1b2)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1000e6(0x163));_0x559309(_0x3c310d);return;}this['_loop']=!0x1,this['emit'](_0x1000e6(0x1a4),_0xe7c240,_0x53d16f),this['end']();}this['_state']=_0x5857fb;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x1000e6(0x1fc)]===0x9?'ping':'pong',_0x45f58b),this[_0x1000e6(0x202)]=_0x5857fb):(this[_0x1000e6(0x202)]=_0x414575,setImmediate(()=>{const _0x351fdb=_0x1000e6;this[_0x351fdb(0x19e)](this['_opcode']===0x9?'ping':_0x351fdb(0x252),_0x45f58b),this['_state']=_0x5857fb,this[_0x351fdb(0x162)](_0x559309);}));}[_0x3b48bb(0x1b2)](_0x5d4e4e,_0x3c7331,_0x6de97a,_0x5ad231,_0x30bc92){const _0x271f59=_0x3b48bb;this[_0x271f59(0x30d)]=!0x1,this[_0x271f59(0x208)]=!0x0;const _0x5064a6=new _0x5d4e4e(_0x6de97a?_0x271f59(0x25d)+_0x3c7331:_0x3c7331);return Error[_0x271f59(0x2ff)](_0x5064a6,this[_0x271f59(0x1b2)]),_0x5064a6[_0x271f59(0x225)]=_0x30bc92,_0x5064a6[_0x323e0d]=_0x5ad231,_0x5064a6;}}return Se=_0x2cec03,Se;}var Ee,Xe;function ft(){const _0x3be97b=_0x4b01a7;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2fea3b}=oe,{randomFillSync:_0xd2ae93}=Le,_0x3d40cd=he(),{EMPTY_BUFFER:_0x49dba9,kWebSocket:_0x47cf76,NOOP:_0xa95136}=H(),{isBlob:_0x39dc48,isValidStatusCode:_0xef2ff9}=ae(),{mask:_0x114e74,toBuffer:_0x224419}=ce(),_0x319142=Symbol(_0x3be97b(0x1c3)),_0x426233=Buffer[_0x3be97b(0x239)](0x4),_0x5508d2=0x8*0x400;let _0x3148cf,_0x768b01=_0x5508d2;const _0x56d479=0x0,_0x5c4f48=0x1,_0x45faf2=0x2;class _0x5449fe{constructor(_0x5bdf15,_0x3487bc,_0x4f2c04){const _0x21ee8e=_0x3be97b;this[_0x21ee8e(0x294)]=_0x3487bc||{},_0x4f2c04&&(this[_0x21ee8e(0x186)]=_0x4f2c04,this[_0x21ee8e(0x205)]=Buffer[_0x21ee8e(0x239)](0x4)),this['_socket']=_0x5bdf15,this['_firstFragment']=!0x0,this[_0x21ee8e(0x24f)]=!0x1,this[_0x21ee8e(0x293)]=0x0,this[_0x21ee8e(0x2c7)]=[],this[_0x21ee8e(0x202)]=_0x56d479,this[_0x21ee8e(0x2da)]=_0xa95136,this[_0x47cf76]=void 0x0;}static[_0x3be97b(0x2c8)](_0x16e351,_0x1eeb86){const _0x2849cb=_0x3be97b;let _0x34e9a8,_0x217b31=!0x1,_0x237beb=0x2,_0x492b58=!0x1;_0x1eeb86[_0x2849cb(0x21d)]&&(_0x34e9a8=_0x1eeb86[_0x2849cb(0x31b)]||_0x426233,_0x1eeb86[_0x2849cb(0x2ee)]?_0x1eeb86['generateMask'](_0x34e9a8):(_0x768b01===_0x5508d2&&(_0x3148cf===void 0x0&&(_0x3148cf=Buffer[_0x2849cb(0x239)](_0x5508d2)),_0xd2ae93(_0x3148cf,0x0,_0x5508d2),_0x768b01=0x0),_0x34e9a8[0x0]=_0x3148cf[_0x768b01++],_0x34e9a8[0x1]=_0x3148cf[_0x768b01++],_0x34e9a8[0x2]=_0x3148cf[_0x768b01++],_0x34e9a8[0x3]=_0x3148cf[_0x768b01++]),_0x492b58=(_0x34e9a8[0x0]|_0x34e9a8[0x1]|_0x34e9a8[0x2]|_0x34e9a8[0x3])===0x0,_0x237beb=0x6);let _0x1d7552;typeof _0x16e351==_0x2849cb(0x2e5)?(!_0x1eeb86[_0x2849cb(0x21d)]||_0x492b58)&&_0x1eeb86[_0x319142]!==void 0x0?_0x1d7552=_0x1eeb86[_0x319142]:(_0x16e351=Buffer[_0x2849cb(0x1c5)](_0x16e351),_0x1d7552=_0x16e351[_0x2849cb(0x277)]):(_0x1d7552=_0x16e351[_0x2849cb(0x277)],_0x217b31=_0x1eeb86['mask']&&_0x1eeb86['readOnly']&&!_0x492b58);let _0x335db7=_0x1d7552;_0x1d7552>=0x10000?(_0x237beb+=0x8,_0x335db7=0x7f):_0x1d7552>0x7d&&(_0x237beb+=0x2,_0x335db7=0x7e);const _0x48e1e4=Buffer[_0x2849cb(0x227)](_0x217b31?_0x1d7552+_0x237beb:_0x237beb);return _0x48e1e4[0x0]=_0x1eeb86['fin']?_0x1eeb86[_0x2849cb(0x296)]|0x80:_0x1eeb86[_0x2849cb(0x296)],_0x1eeb86[_0x2849cb(0x242)]&&(_0x48e1e4[0x0]|=0x40),_0x48e1e4[0x1]=_0x335db7,_0x335db7===0x7e?_0x48e1e4[_0x2849cb(0x1a7)](_0x1d7552,0x2):_0x335db7===0x7f&&(_0x48e1e4[0x2]=_0x48e1e4[0x3]=0x0,_0x48e1e4[_0x2849cb(0x183)](_0x1d7552,0x4,0x6)),_0x1eeb86[_0x2849cb(0x21d)]?(_0x48e1e4[0x1]|=0x80,_0x48e1e4[_0x237beb-0x4]=_0x34e9a8[0x0],_0x48e1e4[_0x237beb-0x3]=_0x34e9a8[0x1],_0x48e1e4[_0x237beb-0x2]=_0x34e9a8[0x2],_0x48e1e4[_0x237beb-0x1]=_0x34e9a8[0x3],_0x492b58?[_0x48e1e4,_0x16e351]:_0x217b31?(_0x114e74(_0x16e351,_0x34e9a8,_0x48e1e4,_0x237beb,_0x1d7552),[_0x48e1e4]):(_0x114e74(_0x16e351,_0x34e9a8,_0x16e351,0x0,_0x1d7552),[_0x48e1e4,_0x16e351])):[_0x48e1e4,_0x16e351];}[_0x3be97b(0x2c5)](_0x3a0377,_0x5c2289,_0x4bc6fa,_0x4a17f2){const _0x48326b=_0x3be97b;let _0x4baf3c;if(_0x3a0377===void 0x0)_0x4baf3c=_0x49dba9;else{if(typeof _0x3a0377!=_0x48326b(0x246)||!_0xef2ff9(_0x3a0377))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5c2289===void 0x0||!_0x5c2289[_0x48326b(0x277)])_0x4baf3c=Buffer[_0x48326b(0x227)](0x2),_0x4baf3c[_0x48326b(0x1a7)](_0x3a0377,0x0);else{const _0x4a631b=Buffer[_0x48326b(0x271)](_0x5c2289);if(_0x4a631b>0x7b)throw new RangeError(_0x48326b(0x199));_0x4baf3c=Buffer[_0x48326b(0x227)](0x2+_0x4a631b),_0x4baf3c[_0x48326b(0x1a7)](_0x3a0377,0x0),typeof _0x5c2289=='string'?_0x4baf3c[_0x48326b(0x269)](_0x5c2289,0x2):_0x4baf3c[_0x48326b(0x321)](_0x5c2289,0x2);}}const _0x3fe7e9={[_0x319142]:_0x4baf3c[_0x48326b(0x277)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4bc6fa,'maskBuffer':this[_0x48326b(0x205)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x56d479?this['enqueue']([this['dispatch'],_0x4baf3c,!0x1,_0x3fe7e9,_0x4a17f2]):this[_0x48326b(0x1a2)](_0x5449fe['frame'](_0x4baf3c,_0x3fe7e9),_0x4a17f2);}[_0x3be97b(0x195)](_0x600e78,_0x450e8c,_0x3d506b){const _0x45676a=_0x3be97b;let _0x5b4c1b,_0xfc7b79;if(typeof _0x600e78==_0x45676a(0x2e5)?(_0x5b4c1b=Buffer[_0x45676a(0x271)](_0x600e78),_0xfc7b79=!0x1):_0x39dc48(_0x600e78)?(_0x5b4c1b=_0x600e78[_0x45676a(0x1df)],_0xfc7b79=!0x1):(_0x600e78=_0x224419(_0x600e78),_0x5b4c1b=_0x600e78['length'],_0xfc7b79=_0x224419[_0x45676a(0x21b)]),_0x5b4c1b>0x7d)throw new RangeError(_0x45676a(0x30f));const _0x45f0b5={[_0x319142]:_0x5b4c1b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x450e8c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xfc7b79,'rsv1':!0x1};_0x39dc48(_0x600e78)?this[_0x45676a(0x202)]!==_0x56d479?this[_0x45676a(0x1c7)]([this['getBlobData'],_0x600e78,!0x1,_0x45f0b5,_0x3d506b]):this[_0x45676a(0x285)](_0x600e78,!0x1,_0x45f0b5,_0x3d506b):this[_0x45676a(0x202)]!==_0x56d479?this[_0x45676a(0x1c7)]([this[_0x45676a(0x22d)],_0x600e78,!0x1,_0x45f0b5,_0x3d506b]):this[_0x45676a(0x1a2)](_0x5449fe[_0x45676a(0x2c8)](_0x600e78,_0x45f0b5),_0x3d506b);}[_0x3be97b(0x252)](_0x25333e,_0x3540e2,_0x5054fc){const _0x560510=_0x3be97b;let _0x22b527,_0xb18f57;if(typeof _0x25333e==_0x560510(0x2e5)?(_0x22b527=Buffer['byteLength'](_0x25333e),_0xb18f57=!0x1):_0x39dc48(_0x25333e)?(_0x22b527=_0x25333e[_0x560510(0x1df)],_0xb18f57=!0x1):(_0x25333e=_0x224419(_0x25333e),_0x22b527=_0x25333e['length'],_0xb18f57=_0x224419['readOnly']),_0x22b527>0x7d)throw new RangeError(_0x560510(0x30f));const _0x524654={[_0x319142]:_0x22b527,'fin':!0x0,'generateMask':this[_0x560510(0x186)],'mask':_0x3540e2,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xb18f57,'rsv1':!0x1};_0x39dc48(_0x25333e)?this['_state']!==_0x56d479?this[_0x560510(0x1c7)]([this[_0x560510(0x285)],_0x25333e,!0x1,_0x524654,_0x5054fc]):this['getBlobData'](_0x25333e,!0x1,_0x524654,_0x5054fc):this[_0x560510(0x202)]!==_0x56d479?this[_0x560510(0x1c7)]([this[_0x560510(0x22d)],_0x25333e,!0x1,_0x524654,_0x5054fc]):this[_0x560510(0x1a2)](_0x5449fe['frame'](_0x25333e,_0x524654),_0x5054fc);}[_0x3be97b(0x274)](_0x3c5e3a,_0x2954f2,_0xb67b99){const _0x318a1f=_0x3be97b,_0x3f3792=this[_0x318a1f(0x294)][_0x3d40cd['extensionName']];let _0x348b0d=_0x2954f2[_0x318a1f(0x1f1)]?0x2:0x1,_0x13276c=_0x2954f2[_0x318a1f(0x2db)],_0x29c312,_0x5f0b16;typeof _0x3c5e3a==_0x318a1f(0x2e5)?(_0x29c312=Buffer[_0x318a1f(0x271)](_0x3c5e3a),_0x5f0b16=!0x1):_0x39dc48(_0x3c5e3a)?(_0x29c312=_0x3c5e3a[_0x318a1f(0x1df)],_0x5f0b16=!0x1):(_0x3c5e3a=_0x224419(_0x3c5e3a),_0x29c312=_0x3c5e3a[_0x318a1f(0x277)],_0x5f0b16=_0x224419[_0x318a1f(0x21b)]),this['_firstFragment']?(this[_0x318a1f(0x1ac)]=!0x1,_0x13276c&&_0x3f3792&&_0x3f3792[_0x318a1f(0x1fe)][_0x3f3792[_0x318a1f(0x21e)]?_0x318a1f(0x1ce):'client_no_context_takeover']&&(_0x13276c=_0x29c312>=_0x3f3792[_0x318a1f(0x16c)]),this[_0x318a1f(0x24f)]=_0x13276c):(_0x13276c=!0x1,_0x348b0d=0x0),_0x2954f2['fin']&&(this[_0x318a1f(0x1ac)]=!0x0);const _0x2ebdab={[_0x319142]:_0x29c312,'fin':_0x2954f2[_0x318a1f(0x2af)],'generateMask':this[_0x318a1f(0x186)],'mask':_0x2954f2[_0x318a1f(0x21d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x348b0d,'readOnly':_0x5f0b16,'rsv1':_0x13276c};_0x39dc48(_0x3c5e3a)?this[_0x318a1f(0x202)]!==_0x56d479?this['enqueue']([this[_0x318a1f(0x285)],_0x3c5e3a,this[_0x318a1f(0x24f)],_0x2ebdab,_0xb67b99]):this[_0x318a1f(0x285)](_0x3c5e3a,this[_0x318a1f(0x24f)],_0x2ebdab,_0xb67b99):this[_0x318a1f(0x202)]!==_0x56d479?this[_0x318a1f(0x1c7)]([this[_0x318a1f(0x22d)],_0x3c5e3a,this[_0x318a1f(0x24f)],_0x2ebdab,_0xb67b99]):this[_0x318a1f(0x22d)](_0x3c5e3a,this['_compress'],_0x2ebdab,_0xb67b99);}[_0x3be97b(0x285)](_0x217a00,_0x2e2301,_0x4d5536,_0x4f84a6){const _0x8149f6=_0x3be97b;this[_0x8149f6(0x293)]+=_0x4d5536[_0x319142],this['_state']=_0x45faf2,_0x217a00[_0x8149f6(0x1f0)]()[_0x8149f6(0x26b)](_0x42e494=>{const _0x5d9b3b=_0x8149f6;if(this['_socket']['destroyed']){const _0x41c177=new Error(_0x5d9b3b(0x20d));process['nextTick'](_0x5e1f68,this,_0x41c177,_0x4f84a6);return;}this[_0x5d9b3b(0x293)]-=_0x4d5536[_0x319142];const _0x47d447=_0x224419(_0x42e494);_0x2e2301?this[_0x5d9b3b(0x22d)](_0x47d447,_0x2e2301,_0x4d5536,_0x4f84a6):(this[_0x5d9b3b(0x202)]=_0x56d479,this[_0x5d9b3b(0x1a2)](_0x5449fe['frame'](_0x47d447,_0x4d5536),_0x4f84a6),this[_0x5d9b3b(0x262)]());})[_0x8149f6(0x2c4)](_0x35b2e2=>{const _0x454e6e=_0x8149f6;process[_0x454e6e(0x23b)](_0x10d1ff,this,_0x35b2e2,_0x4f84a6);});}[_0x3be97b(0x22d)](_0x3782b3,_0x46d287,_0x164a92,_0x8e263e){const _0x1b762f=_0x3be97b;if(!_0x46d287){this['sendFrame'](_0x5449fe[_0x1b762f(0x2c8)](_0x3782b3,_0x164a92),_0x8e263e);return;}const _0x40d674=this[_0x1b762f(0x294)][_0x3d40cd[_0x1b762f(0x167)]];this[_0x1b762f(0x293)]+=_0x164a92[_0x319142],this['_state']=_0x5c4f48,_0x40d674[_0x1b762f(0x2db)](_0x3782b3,_0x164a92[_0x1b762f(0x2af)],(_0x520b82,_0x5372f3)=>{const _0x122534=_0x1b762f;if(this[_0x122534(0x260)][_0x122534(0x263)]){const _0x2659e2=new Error(_0x122534(0x259));_0x5e1f68(this,_0x2659e2,_0x8e263e);return;}this[_0x122534(0x293)]-=_0x164a92[_0x319142],this[_0x122534(0x202)]=_0x56d479,_0x164a92[_0x122534(0x21b)]=!0x1,this[_0x122534(0x1a2)](_0x5449fe[_0x122534(0x2c8)](_0x5372f3,_0x164a92),_0x8e263e),this[_0x122534(0x262)]();});}[_0x3be97b(0x262)](){const _0x496877=_0x3be97b;for(;this[_0x496877(0x202)]===_0x56d479&&this['_queue']['length'];){const _0x2e5299=this['_queue'][_0x496877(0x207)]();this[_0x496877(0x293)]-=_0x2e5299[0x3][_0x319142],Reflect[_0x496877(0x1d5)](_0x2e5299[0x0],this,_0x2e5299[_0x496877(0x2f8)](0x1));}}['enqueue'](_0x3ddae7){const _0x1cff2a=_0x3be97b;this[_0x1cff2a(0x293)]+=_0x3ddae7[0x3][_0x319142],this[_0x1cff2a(0x2c7)]['push'](_0x3ddae7);}['sendFrame'](_0x41bb25,_0x1f8ff1){const _0x1072e5=_0x3be97b;_0x41bb25[_0x1072e5(0x277)]===0x2?(this[_0x1072e5(0x260)][_0x1072e5(0x164)](),this[_0x1072e5(0x260)]['write'](_0x41bb25[0x0]),this[_0x1072e5(0x260)][_0x1072e5(0x269)](_0x41bb25[0x1],_0x1f8ff1),this[_0x1072e5(0x260)][_0x1072e5(0x1b8)]()):this[_0x1072e5(0x260)][_0x1072e5(0x269)](_0x41bb25[0x0],_0x1f8ff1);}}Ee=_0x5449fe;function _0x5e1f68(_0x5cc2f4,_0x4ffc8a,_0x509311){const _0x3aec15=_0x3be97b;typeof _0x509311==_0x3aec15(0x2e9)&&_0x509311(_0x4ffc8a);for(let _0x10ea3d=0x0;_0x10ea3d<_0x5cc2f4[_0x3aec15(0x2c7)]['length'];_0x10ea3d++){const _0x5d7640=_0x5cc2f4[_0x3aec15(0x2c7)][_0x10ea3d],_0x3643f1=_0x5d7640[_0x5d7640[_0x3aec15(0x277)]-0x1];typeof _0x3643f1==_0x3aec15(0x2e9)&&_0x3643f1(_0x4ffc8a);}}function _0x10d1ff(_0x12ba23,_0x5d5c12,_0x3c7948){const _0x49ce30=_0x3be97b;_0x5e1f68(_0x12ba23,_0x5d5c12,_0x3c7948),_0x12ba23[_0x49ce30(0x2da)](_0x5d5c12);}return Ee;}var xe,Ze;function It(){const _0x5effa6=_0x4b01a7;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x288021,kListener:_0x2f2c37}=H(),_0xc33c1=Symbol('kCode'),_0x243558=Symbol('kData'),_0x5ebbcf=Symbol(_0x5effa6(0x21f)),_0x49b8bd=Symbol('kMessage'),_0x5717a6=Symbol('kReason'),_0xa76b24=Symbol(_0x5effa6(0x243)),_0x123688=Symbol(_0x5effa6(0x236)),_0x5a23f9=Symbol(_0x5effa6(0x29b));class _0x2b1ee1{constructor(_0x1a95f8){this[_0xa76b24]=null,this[_0x123688]=_0x1a95f8;}get[_0x5effa6(0x31c)](){return this[_0xa76b24];}get[_0x5effa6(0x1b3)](){return this[_0x123688];}}Object['defineProperty'](_0x2b1ee1[_0x5effa6(0x304)],'target',{'enumerable':!0x0}),Object[_0x5effa6(0x1f8)](_0x2b1ee1[_0x5effa6(0x304)],_0x5effa6(0x1b3),{'enumerable':!0x0});class _0x1e8e57 extends _0x2b1ee1{constructor(_0xbaeafd,_0x26ca30={}){const _0x14fedc=_0x5effa6;super(_0xbaeafd),this[_0xc33c1]=_0x26ca30['code']===void 0x0?0x0:_0x26ca30[_0x14fedc(0x225)],this[_0x5717a6]=_0x26ca30[_0x14fedc(0x217)]===void 0x0?'':_0x26ca30[_0x14fedc(0x217)],this[_0x5a23f9]=_0x26ca30['wasClean']===void 0x0?!0x1:_0x26ca30[_0x14fedc(0x172)];}get[_0x5effa6(0x225)](){return this[_0xc33c1];}get[_0x5effa6(0x217)](){return this[_0x5717a6];}get[_0x5effa6(0x172)](){return this[_0x5a23f9];}}Object[_0x5effa6(0x1f8)](_0x1e8e57[_0x5effa6(0x304)],_0x5effa6(0x225),{'enumerable':!0x0}),Object[_0x5effa6(0x1f8)](_0x1e8e57['prototype'],_0x5effa6(0x217),{'enumerable':!0x0}),Object['defineProperty'](_0x1e8e57[_0x5effa6(0x304)],'wasClean',{'enumerable':!0x0});class _0x3c28fd extends _0x2b1ee1{constructor(_0x3cbe78,_0x2232c9={}){const _0x4603a7=_0x5effa6;super(_0x3cbe78),this[_0x5ebbcf]=_0x2232c9['error']===void 0x0?null:_0x2232c9[_0x4603a7(0x2ec)],this[_0x49b8bd]=_0x2232c9['message']===void 0x0?'':_0x2232c9[_0x4603a7(0x26a)];}get['error'](){return this[_0x5ebbcf];}get[_0x5effa6(0x26a)](){return this[_0x49b8bd];}}Object['defineProperty'](_0x3c28fd['prototype'],'error',{'enumerable':!0x0}),Object[_0x5effa6(0x1f8)](_0x3c28fd[_0x5effa6(0x304)],_0x5effa6(0x26a),{'enumerable':!0x0});class _0x155ed7 extends _0x2b1ee1{constructor(_0x4913ab,_0x53756e={}){const _0x47faa0=_0x5effa6;super(_0x4913ab),this[_0x243558]=_0x53756e[_0x47faa0(0x2b3)]===void 0x0?null:_0x53756e[_0x47faa0(0x2b3)];}get['data'](){return this[_0x243558];}}Object[_0x5effa6(0x1f8)](_0x155ed7[_0x5effa6(0x304)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1e8e57,'ErrorEvent':_0x3c28fd,'Event':_0x2b1ee1,'EventTarget':{'addEventListener'(_0x2c61b8,_0x2efcdf,_0x3ae333={}){const _0x5469b5=_0x5effa6;for(const _0x43e0b1 of this[_0x5469b5(0x317)](_0x2c61b8))if(!_0x3ae333[_0x288021]&&_0x43e0b1[_0x2f2c37]===_0x2efcdf&&!_0x43e0b1[_0x288021])return;let _0x41cb89;if(_0x2c61b8==='message')_0x41cb89=function(_0xf7bea2,_0x13e83a){const _0x57de85=_0x5469b5,_0x43ebca=new _0x155ed7(_0x57de85(0x26a),{'data':_0x13e83a?_0xf7bea2:_0xf7bea2[_0x57de85(0x24e)]()});_0x43ebca[_0xa76b24]=this,_0x3a9f33(_0x2efcdf,this,_0x43ebca);};else{if(_0x2c61b8===_0x5469b5(0x2c5))_0x41cb89=function(_0x2e1776,_0x4708b9){const _0x52ba53=_0x5469b5,_0x5487c7=new _0x1e8e57('close',{'code':_0x2e1776,'reason':_0x4708b9[_0x52ba53(0x24e)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x5487c7[_0xa76b24]=this,_0x3a9f33(_0x2efcdf,this,_0x5487c7);};else{if(_0x2c61b8===_0x5469b5(0x2ec))_0x41cb89=function(_0x544cd8){const _0x1c8f2a=new _0x3c28fd('error',{'error':_0x544cd8,'message':_0x544cd8['message']});_0x1c8f2a[_0xa76b24]=this,_0x3a9f33(_0x2efcdf,this,_0x1c8f2a);};else{if(_0x2c61b8==='open')_0x41cb89=function(){const _0x5adcb7=_0x5469b5,_0xa70a7d=new _0x2b1ee1(_0x5adcb7(0x25a));_0xa70a7d[_0xa76b24]=this,_0x3a9f33(_0x2efcdf,this,_0xa70a7d);};else return;}}}_0x41cb89[_0x288021]=!!_0x3ae333[_0x288021],_0x41cb89[_0x2f2c37]=_0x2efcdf,_0x3ae333[_0x5469b5(0x185)]?this[_0x5469b5(0x185)](_0x2c61b8,_0x41cb89):this['on'](_0x2c61b8,_0x41cb89);},'removeEventListener'(_0x196168,_0x10c742){const _0x428257=_0x5effa6;for(const _0x332be6 of this[_0x428257(0x317)](_0x196168))if(_0x332be6[_0x2f2c37]===_0x10c742&&!_0x332be6[_0x288021]){this[_0x428257(0x1f5)](_0x196168,_0x332be6);break;}}},'MessageEvent':_0x155ed7};function _0x3a9f33(_0x46bef4,_0x342cc1,_0x45aa62){const _0x207154=_0x5effa6;typeof _0x46bef4==_0x207154(0x2b1)&&_0x46bef4[_0x207154(0x2a7)]?_0x46bef4[_0x207154(0x2a7)][_0x207154(0x2f7)](_0x46bef4,_0x45aa62):_0x46bef4[_0x207154(0x2f7)](_0x342cc1,_0x45aa62);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xaaa42}=ae();function _0x1f43c8(_0x595ce2,_0x28225c,_0x5253d7){const _0x514f4b=_0x1757;_0x595ce2[_0x28225c]===void 0x0?_0x595ce2[_0x28225c]=[_0x5253d7]:_0x595ce2[_0x28225c][_0x514f4b(0x28a)](_0x5253d7);}function _0xa1787a(_0x55dcb1){const _0xa09e10=_0x1757,_0xd4ae99=Object[_0xa09e10(0x28d)](null);let _0x3a397d=Object[_0xa09e10(0x28d)](null),_0xac7f65=!0x1,_0x883356=!0x1,_0xaa9097=!0x1,_0x245603,_0x1a968e,_0x72300d=-0x1,_0x1da159=-0x1,_0x46f944=-0x1,_0x370ebe=0x0;for(;_0x370ebe<_0x55dcb1[_0xa09e10(0x277)];_0x370ebe++)if(_0x1da159=_0x55dcb1['charCodeAt'](_0x370ebe),_0x245603===void 0x0){if(_0x46f944===-0x1&&_0xaaa42[_0x1da159]===0x1)_0x72300d===-0x1&&(_0x72300d=_0x370ebe);else{if(_0x370ebe!==0x0&&(_0x1da159===0x20||_0x1da159===0x9))_0x46f944===-0x1&&_0x72300d!==-0x1&&(_0x46f944=_0x370ebe);else{if(_0x1da159===0x3b||_0x1da159===0x2c){if(_0x72300d===-0x1)throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);_0x46f944===-0x1&&(_0x46f944=_0x370ebe);const _0x5be8ca=_0x55dcb1['slice'](_0x72300d,_0x46f944);_0x1da159===0x2c?(_0x1f43c8(_0xd4ae99,_0x5be8ca,_0x3a397d),_0x3a397d=Object[_0xa09e10(0x28d)](null)):_0x245603=_0x5be8ca,_0x72300d=_0x46f944=-0x1;}else throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);}}}else{if(_0x1a968e===void 0x0){if(_0x46f944===-0x1&&_0xaaa42[_0x1da159]===0x1)_0x72300d===-0x1&&(_0x72300d=_0x370ebe);else{if(_0x1da159===0x20||_0x1da159===0x9)_0x46f944===-0x1&&_0x72300d!==-0x1&&(_0x46f944=_0x370ebe);else{if(_0x1da159===0x3b||_0x1da159===0x2c){if(_0x72300d===-0x1)throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);_0x46f944===-0x1&&(_0x46f944=_0x370ebe),_0x1f43c8(_0x3a397d,_0x55dcb1[_0xa09e10(0x2f8)](_0x72300d,_0x46f944),!0x0),_0x1da159===0x2c&&(_0x1f43c8(_0xd4ae99,_0x245603,_0x3a397d),_0x3a397d=Object['create'](null),_0x245603=void 0x0),_0x72300d=_0x46f944=-0x1;}else{if(_0x1da159===0x3d&&_0x72300d!==-0x1&&_0x46f944===-0x1)_0x1a968e=_0x55dcb1['slice'](_0x72300d,_0x370ebe),_0x72300d=_0x46f944=-0x1;else throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);}}}}else{if(_0x883356){if(_0xaaa42[_0x1da159]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x370ebe);_0x72300d===-0x1?_0x72300d=_0x370ebe:_0xac7f65||(_0xac7f65=!0x0),_0x883356=!0x1;}else{if(_0xaa9097){if(_0xaaa42[_0x1da159]===0x1)_0x72300d===-0x1&&(_0x72300d=_0x370ebe);else{if(_0x1da159===0x22&&_0x72300d!==-0x1)_0xaa9097=!0x1,_0x46f944=_0x370ebe;else{if(_0x1da159===0x5c)_0x883356=!0x0;else throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);}}}else{if(_0x1da159===0x22&&_0x55dcb1[_0xa09e10(0x320)](_0x370ebe-0x1)===0x3d)_0xaa9097=!0x0;else{if(_0x46f944===-0x1&&_0xaaa42[_0x1da159]===0x1)_0x72300d===-0x1&&(_0x72300d=_0x370ebe);else{if(_0x72300d!==-0x1&&(_0x1da159===0x20||_0x1da159===0x9))_0x46f944===-0x1&&(_0x46f944=_0x370ebe);else{if(_0x1da159===0x3b||_0x1da159===0x2c){if(_0x72300d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x370ebe);_0x46f944===-0x1&&(_0x46f944=_0x370ebe);let _0x1677bc=_0x55dcb1[_0xa09e10(0x2f8)](_0x72300d,_0x46f944);_0xac7f65&&(_0x1677bc=_0x1677bc[_0xa09e10(0x20c)](/\\/g,''),_0xac7f65=!0x1),_0x1f43c8(_0x3a397d,_0x1a968e,_0x1677bc),_0x1da159===0x2c&&(_0x1f43c8(_0xd4ae99,_0x245603,_0x3a397d),_0x3a397d=Object['create'](null),_0x245603=void 0x0),_0x1a968e=void 0x0,_0x72300d=_0x46f944=-0x1;}else throw new SyntaxError(_0xa09e10(0x1bd)+_0x370ebe);}}}}}}}if(_0x72300d===-0x1||_0xaa9097||_0x1da159===0x20||_0x1da159===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x46f944===-0x1&&(_0x46f944=_0x370ebe);const _0x3eac8d=_0x55dcb1[_0xa09e10(0x2f8)](_0x72300d,_0x46f944);return _0x245603===void 0x0?_0x1f43c8(_0xd4ae99,_0x3eac8d,_0x3a397d):(_0x1a968e===void 0x0?_0x1f43c8(_0x3a397d,_0x3eac8d,!0x0):_0xac7f65?_0x1f43c8(_0x3a397d,_0x1a968e,_0x3eac8d[_0xa09e10(0x20c)](/\\/g,'')):_0x1f43c8(_0x3a397d,_0x1a968e,_0x3eac8d),_0x1f43c8(_0xd4ae99,_0x245603,_0x3a397d)),_0xd4ae99;}function _0x4c7b78(_0x1e0fd2){const _0x4023ce=_0x1757;return Object[_0x4023ce(0x1ad)](_0x1e0fd2)[_0x4023ce(0x2d6)](_0x37c9ed=>{const _0x53e7ac=_0x4023ce;let _0x5e9061=_0x1e0fd2[_0x37c9ed];return Array[_0x53e7ac(0x1cc)](_0x5e9061)||(_0x5e9061=[_0x5e9061]),_0x5e9061['map'](_0x4af4be=>[_0x37c9ed]['concat'](Object['keys'](_0x4af4be)[_0x53e7ac(0x2d6)](_0x34aecd=>{const _0x2e5866=_0x53e7ac;let _0x28267f=_0x4af4be[_0x34aecd];return Array[_0x2e5866(0x1cc)](_0x28267f)||(_0x28267f=[_0x28267f]),_0x28267f[_0x2e5866(0x2d6)](_0x3d4a59=>_0x3d4a59===!0x0?_0x34aecd:_0x34aecd+'='+_0x3d4a59)[_0x2e5866(0x233)](';\x20');}))[_0x53e7ac(0x233)](';\x20'))[_0x53e7ac(0x233)](',\x20');})[_0x4023ce(0x233)](',\x20');}return be={'format':_0x4c7b78,'parse':_0xa1787a},be;}var we,Je;function _0x1757(_0xbbd658,_0x56218d){const _0x173789=_0x1737();return _0x1757=function(_0x1757e8,_0x922781){_0x1757e8=_0x1757e8-0x162;let _0x1b5fc6=_0x173789[_0x1757e8];return _0x1b5fc6;},_0x1757(_0xbbd658,_0x56218d);}function Pe(){const _0x525118=_0x4b01a7;if(Je)return we;Je=0x1;const _0x924434=nt,_0x2d4d39=vt,_0x1f45fd=ot,_0x52412b=St,_0x467a01=Et,{randomBytes:_0x47dd64,createHash:_0x44fd34}=Le,{Duplex:_0x5d4b7f,Readable:_0x3fb868}=oe,{URL:_0x36c34b}=xt,_0x31e4e6=he(),_0x5e22f3=lt(),_0x54d72a=ft(),{isBlob:_0xabc75}=ae(),{BINARY_TYPES:_0x52063b,EMPTY_BUFFER:_0x1bc01d,GUID:_0x5599fc,kForOnEventAttribute:_0x1c4177,kListener:_0x22dba5,kStatusCode:_0x544c74,kWebSocket:_0x508774,NOOP:_0x322b7d}=H(),{EventTarget:{addEventListener:_0xeec6af,removeEventListener:_0x489022}}=It(),{format:_0x44f14f,parse:_0x46417b}=ct(),{toBuffer:_0x52387b}=ce(),_0x469fb5=0x1e*0x3e8,_0x50870d=Symbol(_0x525118(0x25f)),_0x39788d=[0x8,0xd],_0x523316=[_0x525118(0x165),_0x525118(0x305),'CLOSING',_0x525118(0x2d7)],_0x18d963=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x30cbd5 extends _0x924434{constructor(_0x46b2d3,_0x49aaa8,_0x4ba226){const _0xc6446=_0x525118;super(),this[_0xc6446(0x2a5)]=_0x52063b[0x0],this['_closeCode']=0x3ee,this[_0xc6446(0x196)]=!0x1,this[_0xc6446(0x273)]=!0x1,this['_closeMessage']=_0x1bc01d,this[_0xc6446(0x182)]=null,this['_errorEmitted']=!0x1,this[_0xc6446(0x294)]={},this[_0xc6446(0x2e4)]=!0x1,this[_0xc6446(0x1ff)]='',this[_0xc6446(0x261)]=_0x30cbd5['CONNECTING'],this[_0xc6446(0x2df)]=null,this[_0xc6446(0x2ca)]=null,this[_0xc6446(0x260)]=null,_0x46b2d3!==null?(this[_0xc6446(0x1e0)]=0x0,this[_0xc6446(0x21e)]=!0x1,this['_redirects']=0x0,_0x49aaa8===void 0x0?_0x49aaa8=[]:Array['isArray'](_0x49aaa8)||(typeof _0x49aaa8==_0xc6446(0x2b1)&&_0x49aaa8!==null?(_0x4ba226=_0x49aaa8,_0x49aaa8=[]):_0x49aaa8=[_0x49aaa8]),_0x1f4c26(this,_0x46b2d3,_0x49aaa8,_0x4ba226)):(this[_0xc6446(0x2c3)]=_0x4ba226[_0xc6446(0x206)],this[_0xc6446(0x21e)]=!0x0);}get[_0x525118(0x31a)](){const _0x2c384d=_0x525118;return this[_0x2c384d(0x2a5)];}set[_0x525118(0x31a)](_0x3b92da){const _0x4cd823=_0x525118;_0x52063b[_0x4cd823(0x170)](_0x3b92da)&&(this[_0x4cd823(0x2a5)]=_0x3b92da,this[_0x4cd823(0x2df)]&&(this[_0x4cd823(0x2df)][_0x4cd823(0x2a5)]=_0x3b92da));}get[_0x525118(0x2d4)](){const _0x11cbd6=_0x525118;return this['_socket']?this[_0x11cbd6(0x260)][_0x11cbd6(0x20f)][_0x11cbd6(0x277)]+this['_sender']['_bufferedBytes']:this[_0x11cbd6(0x1e0)];}get[_0x525118(0x16b)](){const _0x31d5de=_0x525118;return Object[_0x31d5de(0x1ad)](this[_0x31d5de(0x294)])[_0x31d5de(0x233)]();}get['isPaused'](){const _0x29c362=_0x525118;return this[_0x29c362(0x2e4)];}get[_0x525118(0x29c)](){return null;}get[_0x525118(0x2da)](){return null;}get[_0x525118(0x240)](){return null;}get['onmessage'](){return null;}get[_0x525118(0x26d)](){return this['_protocol'];}get[_0x525118(0x230)](){const _0x27bd7a=_0x525118;return this[_0x27bd7a(0x261)];}get['url'](){const _0x6eddc1=_0x525118;return this[_0x6eddc1(0x1b9)];}[_0x525118(0x298)](_0x16f445,_0x6e712b,_0x3b26ff){const _0x58bdfa=_0x525118,_0x29b139=new _0x5e22f3({'allowSynchronousEvents':_0x3b26ff[_0x58bdfa(0x2fb)],'binaryType':this[_0x58bdfa(0x31a)],'extensions':this['_extensions'],'isServer':this[_0x58bdfa(0x21e)],'maxPayload':_0x3b26ff[_0x58bdfa(0x2ab)],'skipUTF8Validation':_0x3b26ff['skipUTF8Validation']}),_0x26fe5f=new _0x54d72a(_0x16f445,this['_extensions'],_0x3b26ff[_0x58bdfa(0x2ee)]);this['_receiver']=_0x29b139,this['_sender']=_0x26fe5f,this[_0x58bdfa(0x260)]=_0x16f445,_0x29b139[_0x508774]=this,_0x26fe5f[_0x508774]=this,_0x16f445[_0x508774]=this,_0x29b139['on'](_0x58bdfa(0x1a4),_0xc63f41),_0x29b139['on'](_0x58bdfa(0x2ac),_0x5f382),_0x29b139['on']('error',_0x2c879f),_0x29b139['on']('message',_0x51b475),_0x29b139['on'](_0x58bdfa(0x195),_0x39535e),_0x29b139['on'](_0x58bdfa(0x252),_0x8017c4),_0x26fe5f[_0x58bdfa(0x2da)]=_0x5ac1ff,_0x16f445[_0x58bdfa(0x174)]&&_0x16f445[_0x58bdfa(0x174)](0x0),_0x16f445[_0x58bdfa(0x282)]&&_0x16f445[_0x58bdfa(0x282)](),_0x6e712b[_0x58bdfa(0x277)]>0x0&&_0x16f445['unshift'](_0x6e712b),_0x16f445['on'](_0x58bdfa(0x2c5),_0x155902),_0x16f445['on'](_0x58bdfa(0x2b3),_0x199a24),_0x16f445['on'](_0x58bdfa(0x1ee),_0x5c4a85),_0x16f445['on'](_0x58bdfa(0x2ec),_0x16cdff),this[_0x58bdfa(0x261)]=_0x30cbd5['OPEN'],this[_0x58bdfa(0x19e)]('open');}[_0x525118(0x1d1)](){const _0x5cc7d9=_0x525118;if(!this[_0x5cc7d9(0x260)]){this['_readyState']=_0x30cbd5[_0x5cc7d9(0x2d7)],this[_0x5cc7d9(0x19e)](_0x5cc7d9(0x2c5),this[_0x5cc7d9(0x288)],this['_closeMessage']);return;}this[_0x5cc7d9(0x294)][_0x31e4e6[_0x5cc7d9(0x167)]]&&this[_0x5cc7d9(0x294)][_0x31e4e6[_0x5cc7d9(0x167)]]['cleanup'](),this[_0x5cc7d9(0x2df)][_0x5cc7d9(0x306)](),this[_0x5cc7d9(0x261)]=_0x30cbd5[_0x5cc7d9(0x2d7)],this[_0x5cc7d9(0x19e)](_0x5cc7d9(0x2c5),this[_0x5cc7d9(0x288)],this[_0x5cc7d9(0x198)]);}[_0x525118(0x2c5)](_0x1d5196,_0x39bfa3){const _0x2527fe=_0x525118;if(this[_0x2527fe(0x230)]!==_0x30cbd5[_0x2527fe(0x2d7)]){if(this[_0x2527fe(0x230)]===_0x30cbd5[_0x2527fe(0x165)]){_0x3d7e85(this,this['_req'],_0x2527fe(0x215));return;}if(this[_0x2527fe(0x230)]===_0x30cbd5[_0x2527fe(0x327)]){this['_closeFrameSent']&&(this[_0x2527fe(0x196)]||this[_0x2527fe(0x2df)][_0x2527fe(0x20f)]['errorEmitted'])&&this[_0x2527fe(0x260)]['end']();return;}this['_readyState']=_0x30cbd5['CLOSING'],this['_sender'][_0x2527fe(0x2c5)](_0x1d5196,_0x39bfa3,!this[_0x2527fe(0x21e)],_0x466dd6=>{const _0x2891bc=_0x2527fe;_0x466dd6||(this[_0x2891bc(0x273)]=!0x0,(this[_0x2891bc(0x196)]||this[_0x2891bc(0x2df)]['_writableState'][_0x2891bc(0x278)])&&this[_0x2891bc(0x260)][_0x2891bc(0x1ee)]());}),_0x3eaf65(this);}}[_0x525118(0x2e3)](){const _0x12732e=_0x525118;this[_0x12732e(0x230)]===_0x30cbd5[_0x12732e(0x165)]||this[_0x12732e(0x230)]===_0x30cbd5[_0x12732e(0x2d7)]||(this[_0x12732e(0x2e4)]=!0x0,this[_0x12732e(0x260)][_0x12732e(0x2e3)]());}[_0x525118(0x195)](_0x282f3d,_0xe6b286,_0x52b2ca){const _0x57ce0c=_0x525118;if(this['readyState']===_0x30cbd5['CONNECTING'])throw new Error(_0x57ce0c(0x19b));if(typeof _0x282f3d==_0x57ce0c(0x2e9)?(_0x52b2ca=_0x282f3d,_0x282f3d=_0xe6b286=void 0x0):typeof _0xe6b286=='function'&&(_0x52b2ca=_0xe6b286,_0xe6b286=void 0x0),typeof _0x282f3d==_0x57ce0c(0x246)&&(_0x282f3d=_0x282f3d[_0x57ce0c(0x24e)]()),this[_0x57ce0c(0x230)]!==_0x30cbd5[_0x57ce0c(0x305)]){_0x3575a6(this,_0x282f3d,_0x52b2ca);return;}_0xe6b286===void 0x0&&(_0xe6b286=!this['_isServer']),this[_0x57ce0c(0x2ca)]['ping'](_0x282f3d||_0x1bc01d,_0xe6b286,_0x52b2ca);}[_0x525118(0x252)](_0x3960a6,_0x5f1aae,_0x25e910){const _0x118dce=_0x525118;if(this[_0x118dce(0x230)]===_0x30cbd5[_0x118dce(0x165)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3960a6==_0x118dce(0x2e9)?(_0x25e910=_0x3960a6,_0x3960a6=_0x5f1aae=void 0x0):typeof _0x5f1aae==_0x118dce(0x2e9)&&(_0x25e910=_0x5f1aae,_0x5f1aae=void 0x0),typeof _0x3960a6==_0x118dce(0x246)&&(_0x3960a6=_0x3960a6[_0x118dce(0x24e)]()),this[_0x118dce(0x230)]!==_0x30cbd5[_0x118dce(0x305)]){_0x3575a6(this,_0x3960a6,_0x25e910);return;}_0x5f1aae===void 0x0&&(_0x5f1aae=!this[_0x118dce(0x21e)]),this['_sender'][_0x118dce(0x252)](_0x3960a6||_0x1bc01d,_0x5f1aae,_0x25e910);}['resume'](){const _0x3b0005=_0x525118;this[_0x3b0005(0x230)]===_0x30cbd5[_0x3b0005(0x165)]||this[_0x3b0005(0x230)]===_0x30cbd5[_0x3b0005(0x2d7)]||(this[_0x3b0005(0x2e4)]=!0x1,this[_0x3b0005(0x2df)][_0x3b0005(0x20f)][_0x3b0005(0x2c2)]||this[_0x3b0005(0x260)][_0x3b0005(0x1c4)]());}['send'](_0x1c5f89,_0x434676,_0x77bfad){const _0xfb5e85=_0x525118;if(this[_0xfb5e85(0x230)]===_0x30cbd5[_0xfb5e85(0x165)])throw new Error(_0xfb5e85(0x19b));if(typeof _0x434676=='function'&&(_0x77bfad=_0x434676,_0x434676={}),typeof _0x1c5f89==_0xfb5e85(0x246)&&(_0x1c5f89=_0x1c5f89[_0xfb5e85(0x24e)]()),this[_0xfb5e85(0x230)]!==_0x30cbd5[_0xfb5e85(0x305)]){_0x3575a6(this,_0x1c5f89,_0x77bfad);return;}const _0xda9265={'binary':typeof _0x1c5f89!=_0xfb5e85(0x2e5),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x434676};this[_0xfb5e85(0x294)][_0x31e4e6['extensionName']]||(_0xda9265['compress']=!0x1),this[_0xfb5e85(0x2ca)]['send'](_0x1c5f89||_0x1bc01d,_0xda9265,_0x77bfad);}[_0x525118(0x200)](){const _0x5c59c9=_0x525118;if(this[_0x5c59c9(0x230)]!==_0x30cbd5[_0x5c59c9(0x2d7)]){if(this[_0x5c59c9(0x230)]===_0x30cbd5['CONNECTING']){_0x3d7e85(this,this[_0x5c59c9(0x265)],_0x5c59c9(0x215));return;}this[_0x5c59c9(0x260)]&&(this[_0x5c59c9(0x261)]=_0x30cbd5[_0x5c59c9(0x327)],this[_0x5c59c9(0x260)]['destroy']());}}}Object[_0x525118(0x1f8)](_0x30cbd5,_0x525118(0x165),{'enumerable':!0x0,'value':_0x523316['indexOf'](_0x525118(0x165))}),Object[_0x525118(0x1f8)](_0x30cbd5[_0x525118(0x304)],'CONNECTING',{'enumerable':!0x0,'value':_0x523316[_0x525118(0x300)](_0x525118(0x165))}),Object[_0x525118(0x1f8)](_0x30cbd5,'OPEN',{'enumerable':!0x0,'value':_0x523316['indexOf'](_0x525118(0x305))}),Object[_0x525118(0x1f8)](_0x30cbd5[_0x525118(0x304)],_0x525118(0x305),{'enumerable':!0x0,'value':_0x523316[_0x525118(0x300)]('OPEN')}),Object['defineProperty'](_0x30cbd5,_0x525118(0x327),{'enumerable':!0x0,'value':_0x523316['indexOf'](_0x525118(0x327))}),Object[_0x525118(0x1f8)](_0x30cbd5[_0x525118(0x304)],_0x525118(0x327),{'enumerable':!0x0,'value':_0x523316[_0x525118(0x300)](_0x525118(0x327))}),Object[_0x525118(0x1f8)](_0x30cbd5,'CLOSED',{'enumerable':!0x0,'value':_0x523316[_0x525118(0x300)](_0x525118(0x2d7))}),Object[_0x525118(0x1f8)](_0x30cbd5[_0x525118(0x304)],'CLOSED',{'enumerable':!0x0,'value':_0x523316['indexOf']('CLOSED')}),[_0x525118(0x31a),_0x525118(0x2d4),'extensions','isPaused',_0x525118(0x26d),_0x525118(0x230),_0x525118(0x30a)][_0x525118(0x2d1)](_0x264bfc=>{const _0x264886=_0x525118;Object['defineProperty'](_0x30cbd5[_0x264886(0x304)],_0x264bfc,{'enumerable':!0x0});}),[_0x525118(0x25a),_0x525118(0x2ec),'close',_0x525118(0x26a)]['forEach'](_0x1fdaab=>{const _0x2424bb=_0x525118;Object['defineProperty'](_0x30cbd5[_0x2424bb(0x304)],'on'+_0x1fdaab,{'enumerable':!0x0,'get'(){const _0x4b4278=_0x2424bb;for(const _0x29dd86 of this[_0x4b4278(0x317)](_0x1fdaab))if(_0x29dd86[_0x1c4177])return _0x29dd86[_0x22dba5];return null;},'set'(_0x321d8f){const _0x3a2180=_0x2424bb;for(const _0x5cdee1 of this[_0x3a2180(0x317)](_0x1fdaab))if(_0x5cdee1[_0x1c4177]){this[_0x3a2180(0x1f5)](_0x1fdaab,_0x5cdee1);break;}typeof _0x321d8f==_0x3a2180(0x2e9)&&this[_0x3a2180(0x226)](_0x1fdaab,_0x321d8f,{[_0x1c4177]:!0x0});}});}),_0x30cbd5[_0x525118(0x304)][_0x525118(0x226)]=_0xeec6af,_0x30cbd5[_0x525118(0x304)]['removeEventListener']=_0x489022,we=_0x30cbd5;function _0x1f4c26(_0x2a2948,_0x25a60e,_0x5cc6db,_0x5c0d0f){const _0x4730d7=_0x525118,_0x593a36={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x39788d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c0d0f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2a2948['_autoPong']=_0x593a36[_0x4730d7(0x206)],!_0x39788d[_0x4730d7(0x170)](_0x593a36[_0x4730d7(0x221)]))throw new RangeError(_0x4730d7(0x1d8)+_0x593a36[_0x4730d7(0x221)]+'\x20(supported\x20versions:\x20'+_0x39788d[_0x4730d7(0x233)](',\x20')+')');let _0x23974c;if(_0x25a60e instanceof _0x36c34b)_0x23974c=_0x25a60e;else try{_0x23974c=new _0x36c34b(_0x25a60e);}catch{throw new SyntaxError(_0x4730d7(0x201)+_0x25a60e);}_0x23974c[_0x4730d7(0x26d)]===_0x4730d7(0x21c)?_0x23974c[_0x4730d7(0x26d)]='ws:':_0x23974c['protocol']===_0x4730d7(0x16d)&&(_0x23974c[_0x4730d7(0x26d)]=_0x4730d7(0x223)),_0x2a2948[_0x4730d7(0x1b9)]=_0x23974c[_0x4730d7(0x24c)];const _0x54099a=_0x23974c[_0x4730d7(0x26d)]===_0x4730d7(0x223),_0x5504f7=_0x23974c[_0x4730d7(0x26d)]===_0x4730d7(0x284);let _0x468bb1;if(_0x23974c[_0x4730d7(0x26d)]!==_0x4730d7(0x1a0)&&!_0x54099a&&!_0x5504f7?_0x468bb1=_0x4730d7(0x234):_0x5504f7&&!_0x23974c[_0x4730d7(0x309)]?_0x468bb1=_0x4730d7(0x16f):_0x23974c[_0x4730d7(0x19f)]&&(_0x468bb1=_0x4730d7(0x191)),_0x468bb1){const _0x4022df=new SyntaxError(_0x468bb1);if(_0x2a2948[_0x4730d7(0x2c9)]===0x0)throw _0x4022df;_0x28d000(_0x2a2948,_0x4022df);return;}const _0x4e0c61=_0x54099a?0x1bb:0x50,_0xf9b0ef=_0x47dd64(0x10)[_0x4730d7(0x24e)](_0x4730d7(0x2bb)),_0x223c64=_0x54099a?_0x2d4d39['request']:_0x1f45fd[_0x4730d7(0x2a2)],_0x3e4a3f=new Set();let _0x47b585;if(_0x593a36[_0x4730d7(0x27e)]=_0x593a36[_0x4730d7(0x27e)]||(_0x54099a?_0x46c5a9:_0x1abeb0),_0x593a36[_0x4730d7(0x2d0)]=_0x593a36[_0x4730d7(0x2d0)]||_0x4e0c61,_0x593a36[_0x4730d7(0x2d8)]=_0x23974c[_0x4730d7(0x2d8)]||_0x4e0c61,_0x593a36['host']=_0x23974c[_0x4730d7(0x2f4)][_0x4730d7(0x1c6)]('[')?_0x23974c[_0x4730d7(0x2f4)][_0x4730d7(0x2f8)](0x1,-0x1):_0x23974c[_0x4730d7(0x2f4)],_0x593a36[_0x4730d7(0x1ca)]={..._0x593a36[_0x4730d7(0x1ca)],'Sec-WebSocket-Version':_0x593a36[_0x4730d7(0x221)],'Sec-WebSocket-Key':_0xf9b0ef,'Connection':_0x4730d7(0x311),'Upgrade':_0x4730d7(0x24d)},_0x593a36[_0x4730d7(0x18c)]=_0x23974c['pathname']+_0x23974c[_0x4730d7(0x292)],_0x593a36['timeout']=_0x593a36[_0x4730d7(0x302)],_0x593a36['perMessageDeflate']&&(_0x47b585=new _0x31e4e6(_0x593a36['perMessageDeflate']!==!0x0?_0x593a36[_0x4730d7(0x232)]:{},!0x1,_0x593a36[_0x4730d7(0x2ab)]),_0x593a36[_0x4730d7(0x1ca)][_0x4730d7(0x21a)]=_0x44f14f({[_0x31e4e6[_0x4730d7(0x167)]]:_0x47b585['offer']()})),_0x5cc6db[_0x4730d7(0x277)]){for(const _0x4df444 of _0x5cc6db){if(typeof _0x4df444!=_0x4730d7(0x2e5)||!_0x18d963[_0x4730d7(0x323)](_0x4df444)||_0x3e4a3f[_0x4730d7(0x1be)](_0x4df444))throw new SyntaxError(_0x4730d7(0x222));_0x3e4a3f[_0x4730d7(0x1b7)](_0x4df444);}_0x593a36[_0x4730d7(0x1ca)][_0x4730d7(0x23e)]=_0x5cc6db[_0x4730d7(0x233)](',');}if(_0x593a36[_0x4730d7(0x2eb)]&&(_0x593a36[_0x4730d7(0x221)]<0xd?_0x593a36[_0x4730d7(0x1ca)][_0x4730d7(0x2ed)]=_0x593a36[_0x4730d7(0x2eb)]:_0x593a36[_0x4730d7(0x1ca)][_0x4730d7(0x2ef)]=_0x593a36[_0x4730d7(0x2eb)]),(_0x23974c[_0x4730d7(0x27f)]||_0x23974c['password'])&&(_0x593a36[_0x4730d7(0x2fc)]=_0x23974c['username']+':'+_0x23974c['password']),_0x5504f7){const _0x38fecf=_0x593a36[_0x4730d7(0x18c)][_0x4730d7(0x209)](':');_0x593a36[_0x4730d7(0x16a)]=_0x38fecf[0x0],_0x593a36[_0x4730d7(0x18c)]=_0x38fecf[0x1];}let _0x116dde;if(_0x593a36[_0x4730d7(0x249)]){if(_0x2a2948[_0x4730d7(0x2c9)]===0x0){_0x2a2948[_0x4730d7(0x27b)]=_0x5504f7,_0x2a2948[_0x4730d7(0x1f2)]=_0x54099a,_0x2a2948[_0x4730d7(0x2a4)]=_0x5504f7?_0x593a36[_0x4730d7(0x16a)]:_0x23974c['host'];const _0x2744d4=_0x5c0d0f&&_0x5c0d0f[_0x4730d7(0x1ca)];if(_0x5c0d0f={..._0x5c0d0f,'headers':{}},_0x2744d4){for(const [_0x3fba88,_0x4679f1]of Object[_0x4730d7(0x30b)](_0x2744d4))_0x5c0d0f[_0x4730d7(0x1ca)][_0x3fba88[_0x4730d7(0x283)]()]=_0x4679f1;}}else{if(_0x2a2948[_0x4730d7(0x1bc)](_0x4730d7(0x2f1))===0x0){const _0x1e3e67=_0x5504f7?_0x2a2948[_0x4730d7(0x27b)]?_0x593a36[_0x4730d7(0x16a)]===_0x2a2948[_0x4730d7(0x2a4)]:!0x1:_0x2a2948[_0x4730d7(0x27b)]?!0x1:_0x23974c[_0x4730d7(0x2b9)]===_0x2a2948[_0x4730d7(0x2a4)];(!_0x1e3e67||_0x2a2948[_0x4730d7(0x1f2)]&&!_0x54099a)&&(delete _0x593a36[_0x4730d7(0x1ca)][_0x4730d7(0x27c)],delete _0x593a36['headers'][_0x4730d7(0x2ce)],_0x1e3e67||delete _0x593a36['headers'][_0x4730d7(0x2b9)],_0x593a36[_0x4730d7(0x2fc)]=void 0x0);}}_0x593a36[_0x4730d7(0x2fc)]&&!_0x5c0d0f[_0x4730d7(0x1ca)][_0x4730d7(0x27c)]&&(_0x5c0d0f[_0x4730d7(0x1ca)][_0x4730d7(0x27c)]=_0x4730d7(0x23a)+Buffer['from'](_0x593a36['auth'])[_0x4730d7(0x24e)](_0x4730d7(0x2bb))),_0x116dde=_0x2a2948[_0x4730d7(0x265)]=_0x223c64(_0x593a36),_0x2a2948[_0x4730d7(0x2c9)]&&_0x2a2948[_0x4730d7(0x19e)]('redirect',_0x2a2948[_0x4730d7(0x30a)],_0x116dde);}else _0x116dde=_0x2a2948[_0x4730d7(0x265)]=_0x223c64(_0x593a36);_0x593a36[_0x4730d7(0x22e)]&&_0x116dde['on'](_0x4730d7(0x22e),()=>{const _0x663f16=_0x4730d7;_0x3d7e85(_0x2a2948,_0x116dde,_0x663f16(0x326));}),_0x116dde['on']('error',_0x4aa706=>{const _0x1b84ca=_0x4730d7;_0x116dde===null||_0x116dde[_0x50870d]||(_0x116dde=_0x2a2948[_0x1b84ca(0x265)]=null,_0x28d000(_0x2a2948,_0x4aa706));}),_0x116dde['on'](_0x4730d7(0x2d3),_0x4e463f=>{const _0x29b0f8=_0x4730d7,_0x41850c=_0x4e463f[_0x29b0f8(0x1ca)][_0x29b0f8(0x1d7)],_0x3b1e3c=_0x4e463f['statusCode'];if(_0x41850c&&_0x593a36[_0x29b0f8(0x249)]&&_0x3b1e3c>=0x12c&&_0x3b1e3c<0x190){if(++_0x2a2948['_redirects']>_0x593a36['maxRedirects']){_0x3d7e85(_0x2a2948,_0x116dde,_0x29b0f8(0x25b));return;}_0x116dde[_0x29b0f8(0x26c)]();let _0x14191a;try{_0x14191a=new _0x36c34b(_0x41850c,_0x25a60e);}catch{const _0x7d8775=new SyntaxError(_0x29b0f8(0x201)+_0x41850c);_0x28d000(_0x2a2948,_0x7d8775);return;}_0x1f4c26(_0x2a2948,_0x14191a,_0x5cc6db,_0x5c0d0f);}else _0x2a2948[_0x29b0f8(0x19e)]('unexpected-response',_0x116dde,_0x4e463f)||_0x3d7e85(_0x2a2948,_0x116dde,_0x29b0f8(0x2e2)+_0x4e463f['statusCode']);}),_0x116dde['on'](_0x4730d7(0x276),(_0x58b4bd,_0x5851ed,_0x3a585c)=>{const _0x5e5630=_0x4730d7;if(_0x2a2948['emit'](_0x5e5630(0x276),_0x58b4bd),_0x2a2948['readyState']!==_0x30cbd5['CONNECTING'])return;_0x116dde=_0x2a2948[_0x5e5630(0x265)]=null;const _0x132bf9=_0x58b4bd[_0x5e5630(0x1ca)]['upgrade'];if(_0x132bf9===void 0x0||_0x132bf9['toLowerCase']()!==_0x5e5630(0x24d)){_0x3d7e85(_0x2a2948,_0x5851ed,'Invalid\x20Upgrade\x20header');return;}const _0x4d2786=_0x44fd34(_0x5e5630(0x299))[_0x5e5630(0x23c)](_0xf9b0ef+_0x5599fc)['digest'](_0x5e5630(0x2bb));if(_0x58b4bd[_0x5e5630(0x1ca)][_0x5e5630(0x1f9)]!==_0x4d2786){_0x3d7e85(_0x2a2948,_0x5851ed,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x35fdef=_0x58b4bd[_0x5e5630(0x1ca)][_0x5e5630(0x166)];let _0x4a11a0;if(_0x35fdef!==void 0x0?_0x3e4a3f[_0x5e5630(0x1df)]?_0x3e4a3f[_0x5e5630(0x1be)](_0x35fdef)||(_0x4a11a0='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4a11a0=_0x5e5630(0x23f):_0x3e4a3f[_0x5e5630(0x1df)]&&(_0x4a11a0=_0x5e5630(0x291)),_0x4a11a0){_0x3d7e85(_0x2a2948,_0x5851ed,_0x4a11a0);return;}_0x35fdef&&(_0x2a2948[_0x5e5630(0x1ff)]=_0x35fdef);const _0x2e9d2e=_0x58b4bd['headers']['sec-websocket-extensions'];if(_0x2e9d2e!==void 0x0){if(!_0x47b585){_0x3d7e85(_0x2a2948,_0x5851ed,_0x5e5630(0x2e7));return;}let _0x69f2d0;try{_0x69f2d0=_0x46417b(_0x2e9d2e);}catch{_0x3d7e85(_0x2a2948,_0x5851ed,_0x5e5630(0x28c));return;}const _0x293cb7=Object[_0x5e5630(0x1ad)](_0x69f2d0);if(_0x293cb7['length']!==0x1||_0x293cb7[0x0]!==_0x31e4e6[_0x5e5630(0x167)]){_0x3d7e85(_0x2a2948,_0x5851ed,_0x5e5630(0x324));return;}try{_0x47b585[_0x5e5630(0x184)](_0x69f2d0[_0x31e4e6[_0x5e5630(0x167)]]);}catch{_0x3d7e85(_0x2a2948,_0x5851ed,_0x5e5630(0x28c));return;}_0x2a2948[_0x5e5630(0x294)][_0x31e4e6[_0x5e5630(0x167)]]=_0x47b585;}_0x2a2948[_0x5e5630(0x298)](_0x5851ed,_0x3a585c,{'allowSynchronousEvents':_0x593a36[_0x5e5630(0x2fb)],'generateMask':_0x593a36[_0x5e5630(0x2ee)],'maxPayload':_0x593a36['maxPayload'],'skipUTF8Validation':_0x593a36['skipUTF8Validation']});}),_0x593a36[_0x4730d7(0x2f2)]?_0x593a36['finishRequest'](_0x116dde,_0x2a2948):_0x116dde[_0x4730d7(0x1ee)]();}function _0x28d000(_0x216573,_0x221786){const _0x138b9a=_0x525118;_0x216573[_0x138b9a(0x261)]=_0x30cbd5['CLOSING'],_0x216573[_0x138b9a(0x2ea)]=!0x0,_0x216573['emit']('error',_0x221786),_0x216573['emitClose']();}function _0x1abeb0(_0x139701){const _0xca2d9d=_0x525118;return _0x139701[_0xca2d9d(0x18c)]=_0x139701[_0xca2d9d(0x16a)],_0x52412b[_0xca2d9d(0x178)](_0x139701);}function _0x46c5a9(_0x313b42){const _0x586927=_0x525118;return _0x313b42['path']=void 0x0,!_0x313b42[_0x586927(0x248)]&&_0x313b42[_0x586927(0x248)]!==''&&(_0x313b42['servername']=_0x52412b[_0x586927(0x1f3)](_0x313b42[_0x586927(0x2b9)])?'':_0x313b42[_0x586927(0x2b9)]),_0x467a01[_0x586927(0x178)](_0x313b42);}function _0x3d7e85(_0x5bc7ef,_0x2a0eb4,_0x489ecf){const _0x379d29=_0x525118;_0x5bc7ef['_readyState']=_0x30cbd5[_0x379d29(0x327)];const _0x2b899f=new Error(_0x489ecf);Error[_0x379d29(0x2ff)](_0x2b899f,_0x3d7e85),_0x2a0eb4[_0x379d29(0x295)]?(_0x2a0eb4[_0x50870d]=!0x0,_0x2a0eb4[_0x379d29(0x26c)](),_0x2a0eb4[_0x379d29(0x1c1)]&&!_0x2a0eb4[_0x379d29(0x1c1)][_0x379d29(0x263)]&&_0x2a0eb4['socket'][_0x379d29(0x310)](),process['nextTick'](_0x28d000,_0x5bc7ef,_0x2b899f)):(_0x2a0eb4[_0x379d29(0x310)](_0x2b899f),_0x2a0eb4['once'](_0x379d29(0x2ec),_0x5bc7ef[_0x379d29(0x19e)][_0x379d29(0x194)](_0x5bc7ef,_0x379d29(0x2ec))),_0x2a0eb4['once']('close',_0x5bc7ef[_0x379d29(0x1d1)][_0x379d29(0x194)](_0x5bc7ef)));}function _0x3575a6(_0x1a02ec,_0x2dca94,_0x5ccdad){const _0x415dc4=_0x525118;if(_0x2dca94){const _0x57fb8c=_0xabc75(_0x2dca94)?_0x2dca94[_0x415dc4(0x1df)]:_0x52387b(_0x2dca94)[_0x415dc4(0x277)];_0x1a02ec[_0x415dc4(0x260)]?_0x1a02ec[_0x415dc4(0x2ca)][_0x415dc4(0x293)]+=_0x57fb8c:_0x1a02ec['_bufferedAmount']+=_0x57fb8c;}if(_0x5ccdad){const _0x3246e4=new Error(_0x415dc4(0x1e5)+_0x1a02ec[_0x415dc4(0x230)]+'\x20('+_0x523316[_0x1a02ec[_0x415dc4(0x230)]]+')');process[_0x415dc4(0x23b)](_0x5ccdad,_0x3246e4);}}function _0xc63f41(_0x15ea52,_0x5b509e){const _0x5f256e=_0x525118,_0x1a7b4b=this[_0x508774];_0x1a7b4b['_closeFrameReceived']=!0x0,_0x1a7b4b[_0x5f256e(0x198)]=_0x5b509e,_0x1a7b4b[_0x5f256e(0x288)]=_0x15ea52,_0x1a7b4b[_0x5f256e(0x260)][_0x508774]!==void 0x0&&(_0x1a7b4b['_socket'][_0x5f256e(0x1f5)](_0x5f256e(0x2b3),_0x199a24),process['nextTick'](_0x312f3b,_0x1a7b4b[_0x5f256e(0x260)]),_0x15ea52===0x3ed?_0x1a7b4b[_0x5f256e(0x2c5)]():_0x1a7b4b[_0x5f256e(0x2c5)](_0x15ea52,_0x5b509e));}function _0x5f382(){const _0x2b41d1=_0x525118,_0x2b602f=this[_0x508774];_0x2b602f['isPaused']||_0x2b602f[_0x2b41d1(0x260)][_0x2b41d1(0x1c4)]();}function _0x2c879f(_0x10e696){const _0x2910a3=_0x525118,_0x137adb=this[_0x508774];_0x137adb[_0x2910a3(0x260)][_0x508774]!==void 0x0&&(_0x137adb['_socket'][_0x2910a3(0x1f5)]('data',_0x199a24),process[_0x2910a3(0x23b)](_0x312f3b,_0x137adb[_0x2910a3(0x260)]),_0x137adb['close'](_0x10e696[_0x544c74])),_0x137adb[_0x2910a3(0x2ea)]||(_0x137adb[_0x2910a3(0x2ea)]=!0x0,_0x137adb[_0x2910a3(0x19e)](_0x2910a3(0x2ec),_0x10e696));}function _0x3bb0a1(){this[_0x508774]['emitClose']();}function _0x51b475(_0x11d8f9,_0x11d8f0){const _0x56614f=_0x525118;this[_0x508774][_0x56614f(0x19e)]('message',_0x11d8f9,_0x11d8f0);}function _0x39535e(_0x57451e){const _0x2e70b9=_0x525118,_0x1ba717=this[_0x508774];_0x1ba717['_autoPong']&&_0x1ba717[_0x2e70b9(0x252)](_0x57451e,!this[_0x2e70b9(0x21e)],_0x322b7d),_0x1ba717['emit'](_0x2e70b9(0x195),_0x57451e);}function _0x8017c4(_0x1f3c8f){const _0x5a822e=_0x525118;this[_0x508774][_0x5a822e(0x19e)](_0x5a822e(0x252),_0x1f3c8f);}function _0x312f3b(_0x2b86b4){const _0x2db1aa=_0x525118;_0x2b86b4[_0x2db1aa(0x1c4)]();}function _0x5ac1ff(_0x4587b8){const _0x2942a6=_0x525118,_0x118633=this[_0x508774];_0x118633[_0x2942a6(0x230)]!==_0x30cbd5[_0x2942a6(0x2d7)]&&(_0x118633[_0x2942a6(0x230)]===_0x30cbd5[_0x2942a6(0x305)]&&(_0x118633[_0x2942a6(0x261)]=_0x30cbd5[_0x2942a6(0x327)],_0x3eaf65(_0x118633)),this[_0x2942a6(0x260)][_0x2942a6(0x1ee)](),_0x118633[_0x2942a6(0x2ea)]||(_0x118633[_0x2942a6(0x2ea)]=!0x0,_0x118633['emit'](_0x2942a6(0x2ec),_0x4587b8)));}function _0x3eaf65(_0x205ce4){const _0x3eebef=_0x525118;_0x205ce4['_closeTimer']=setTimeout(_0x205ce4[_0x3eebef(0x260)][_0x3eebef(0x310)]['bind'](_0x205ce4[_0x3eebef(0x260)]),_0x469fb5);}function _0x155902(){const _0x3d860d=_0x525118,_0x346e28=this[_0x508774];this['removeListener'](_0x3d860d(0x2c5),_0x155902),this[_0x3d860d(0x1f5)](_0x3d860d(0x2b3),_0x199a24),this[_0x3d860d(0x1f5)](_0x3d860d(0x1ee),_0x5c4a85),_0x346e28[_0x3d860d(0x261)]=_0x30cbd5[_0x3d860d(0x327)];let _0x5f04b5;!this['_readableState'][_0x3d860d(0x280)]&&!_0x346e28[_0x3d860d(0x196)]&&!_0x346e28[_0x3d860d(0x2df)][_0x3d860d(0x20f)][_0x3d860d(0x278)]&&(_0x5f04b5=_0x346e28['_socket'][_0x3d860d(0x211)]())!==null&&_0x346e28[_0x3d860d(0x2df)][_0x3d860d(0x269)](_0x5f04b5),_0x346e28[_0x3d860d(0x2df)]['end'](),this[_0x508774]=void 0x0,clearTimeout(_0x346e28[_0x3d860d(0x182)]),_0x346e28[_0x3d860d(0x2df)]['_writableState'][_0x3d860d(0x2ad)]||_0x346e28[_0x3d860d(0x2df)][_0x3d860d(0x20f)][_0x3d860d(0x278)]?_0x346e28[_0x3d860d(0x1d1)]():(_0x346e28[_0x3d860d(0x2df)]['on'](_0x3d860d(0x2ec),_0x3bb0a1),_0x346e28['_receiver']['on'](_0x3d860d(0x1ab),_0x3bb0a1));}function _0x199a24(_0xcc3337){const _0x230959=_0x525118;this[_0x508774][_0x230959(0x2df)]['write'](_0xcc3337)||this[_0x230959(0x2e3)]();}function _0x5c4a85(){const _0x5b42ba=_0x525118,_0x51f258=this[_0x508774];_0x51f258[_0x5b42ba(0x261)]=_0x30cbd5[_0x5b42ba(0x327)],_0x51f258[_0x5b42ba(0x2df)][_0x5b42ba(0x1ee)](),this['end']();}function _0x16cdff(){const _0x43c840=_0x525118,_0x1b488f=this[_0x508774];this[_0x43c840(0x1f5)]('error',_0x16cdff),this['on'](_0x43c840(0x2ec),_0x322b7d),_0x1b488f&&(_0x1b488f['_readyState']=_0x30cbd5[_0x43c840(0x327)],this[_0x43c840(0x310)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1444dc}=oe;function _0x5cf478(_0x22f58d){const _0x208ba1=_0x1757;_0x22f58d[_0x208ba1(0x19e)](_0x208ba1(0x2c5));}function _0x33a5d2(){const _0x44725e=_0x1757;!this[_0x44725e(0x263)]&&this[_0x44725e(0x20f)][_0x44725e(0x2ad)]&&this[_0x44725e(0x310)]();}function _0x175ed5(_0x5f335f){const _0x4fcb0d=_0x1757;this[_0x4fcb0d(0x1f5)]('error',_0x175ed5),this[_0x4fcb0d(0x310)](),this[_0x4fcb0d(0x1bc)]('error')===0x0&&this[_0x4fcb0d(0x19e)](_0x4fcb0d(0x2ec),_0x5f335f);}function _0x198173(_0x100c0b,_0x348b5f){const _0x57bff7=_0x1757;let _0x29ad82=!0x0;const _0x3557f8=new _0x1444dc({..._0x348b5f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x100c0b['on'](_0x57bff7(0x26a),function(_0x36d1e3,_0x508f07){const _0x193a30=_0x57bff7,_0x2dd1af=!_0x508f07&&_0x3557f8[_0x193a30(0x237)][_0x193a30(0x2e0)]?_0x36d1e3[_0x193a30(0x24e)]():_0x36d1e3;_0x3557f8[_0x193a30(0x28a)](_0x2dd1af)||_0x100c0b[_0x193a30(0x2e3)]();}),_0x100c0b[_0x57bff7(0x185)](_0x57bff7(0x2ec),function(_0x524cbf){const _0x5b574b=_0x57bff7;_0x3557f8['destroyed']||(_0x29ad82=!0x1,_0x3557f8[_0x5b574b(0x310)](_0x524cbf));}),_0x100c0b[_0x57bff7(0x185)](_0x57bff7(0x2c5),function(){const _0xf7d18d=_0x57bff7;_0x3557f8['destroyed']||_0x3557f8[_0xf7d18d(0x28a)](null);}),_0x3557f8['_destroy']=function(_0x4799ce,_0x538df0){const _0x1f6c1d=_0x57bff7;if(_0x100c0b[_0x1f6c1d(0x230)]===_0x100c0b['CLOSED']){_0x538df0(_0x4799ce),process[_0x1f6c1d(0x23b)](_0x5cf478,_0x3557f8);return;}let _0x471a35=!0x1;_0x100c0b[_0x1f6c1d(0x185)](_0x1f6c1d(0x2ec),function(_0x516191){_0x471a35=!0x0,_0x538df0(_0x516191);}),_0x100c0b[_0x1f6c1d(0x185)]('close',function(){const _0x53e4a5=_0x1f6c1d;_0x471a35||_0x538df0(_0x4799ce),process[_0x53e4a5(0x23b)](_0x5cf478,_0x3557f8);}),_0x29ad82&&_0x100c0b[_0x1f6c1d(0x200)]();},_0x3557f8[_0x57bff7(0x29f)]=function(_0x575219){const _0xaa084b=_0x57bff7;if(_0x100c0b[_0xaa084b(0x230)]===_0x100c0b[_0xaa084b(0x165)]){_0x100c0b[_0xaa084b(0x185)](_0xaa084b(0x25a),function(){_0x3557f8['_final'](_0x575219);});return;}_0x100c0b[_0xaa084b(0x260)]!==null&&(_0x100c0b[_0xaa084b(0x260)]['_writableState'][_0xaa084b(0x2ad)]?(_0x575219(),_0x3557f8['_readableState'][_0xaa084b(0x280)]&&_0x3557f8[_0xaa084b(0x310)]()):(_0x100c0b[_0xaa084b(0x260)][_0xaa084b(0x185)]('finish',function(){_0x575219();}),_0x100c0b['close']()));},_0x3557f8[_0x57bff7(0x2dc)]=function(){const _0x8ea70b=_0x57bff7;_0x100c0b[_0x8ea70b(0x1fa)]&&_0x100c0b[_0x8ea70b(0x1c4)]();},_0x3557f8[_0x57bff7(0x2fa)]=function(_0x451737,_0x3b19e4,_0x1dbc03){const _0x5f2c44=_0x57bff7;if(_0x100c0b['readyState']===_0x100c0b[_0x5f2c44(0x165)]){_0x100c0b['once']('open',function(){_0x3557f8['_write'](_0x451737,_0x3b19e4,_0x1dbc03);});return;}_0x100c0b[_0x5f2c44(0x274)](_0x451737,_0x1dbc03);},_0x3557f8['on'](_0x57bff7(0x1ee),_0x33a5d2),_0x3557f8['on'](_0x57bff7(0x2ec),_0x175ed5),_0x3557f8;}return Oe=_0x198173,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x33f595}=ae();function _0x54ff96(_0x1d20fd){const _0x37c783=_0x1757,_0x55daa4=new Set();let _0x1e587c=-0x1,_0x118015=-0x1,_0x2ab648=0x0;for(_0x2ab648;_0x2ab648<_0x1d20fd[_0x37c783(0x277)];_0x2ab648++){const _0x2fa60c=_0x1d20fd[_0x37c783(0x320)](_0x2ab648);if(_0x118015===-0x1&&_0x33f595[_0x2fa60c]===0x1)_0x1e587c===-0x1&&(_0x1e587c=_0x2ab648);else{if(_0x2ab648!==0x0&&(_0x2fa60c===0x20||_0x2fa60c===0x9))_0x118015===-0x1&&_0x1e587c!==-0x1&&(_0x118015=_0x2ab648);else{if(_0x2fa60c===0x2c){if(_0x1e587c===-0x1)throw new SyntaxError(_0x37c783(0x1bd)+_0x2ab648);_0x118015===-0x1&&(_0x118015=_0x2ab648);const _0x286494=_0x1d20fd[_0x37c783(0x2f8)](_0x1e587c,_0x118015);if(_0x55daa4[_0x37c783(0x1be)](_0x286494))throw new SyntaxError(_0x37c783(0x272)+_0x286494+_0x37c783(0x1ef));_0x55daa4[_0x37c783(0x1b7)](_0x286494),_0x1e587c=_0x118015=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2ab648);}}}if(_0x1e587c===-0x1||_0x118015!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x48df0b=_0x1d20fd['slice'](_0x1e587c,_0x2ab648);if(_0x55daa4['has'](_0x48df0b))throw new SyntaxError(_0x37c783(0x272)+_0x48df0b+_0x37c783(0x1ef));return _0x55daa4[_0x37c783(0x1b7)](_0x48df0b),_0x55daa4;}return Ce={'parse':_0x54ff96},Ce;}var Te,rt;function Ft(){const _0x1536cd=_0x4b01a7;if(rt)return Te;rt=0x1;const _0x445131=nt,_0x5c1baf=ot,{Duplex:_0xab6c27}=oe,{createHash:_0x1cba98}=Le,_0x52344c=ct(),_0x359cb5=he(),_0x4cbe45=At(),_0x4fb48e=Pe(),{GUID:_0x5f8c84,kWebSocket:_0x5ca16c}=H(),_0x2eb262=/^[+/0-9A-Za-z]{22}==$/,_0x3a863b=0x0,_0x3f2bc3=0x1,_0x5c8b93=0x2;class _0x1c4e8f extends _0x445131{constructor(_0xd8cafa,_0x41d22c){const _0x259c6e=_0x1757;if(super(),_0xd8cafa={'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':_0x4fb48e,..._0xd8cafa},_0xd8cafa['port']==null&&!_0xd8cafa['server']&&!_0xd8cafa[_0x259c6e(0x30e)]||_0xd8cafa[_0x259c6e(0x2d8)]!=null&&(_0xd8cafa['server']||_0xd8cafa[_0x259c6e(0x30e)])||_0xd8cafa['server']&&_0xd8cafa['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0xd8cafa['port']!=null?(this['_server']=_0x5c1baf[_0x259c6e(0x228)]((_0x1ea846,_0x46e3ad)=>{const _0x3876b4=_0x259c6e,_0xf142e9=_0x5c1baf['STATUS_CODES'][0x1aa];_0x46e3ad[_0x3876b4(0x19c)](0x1aa,{'Content-Length':_0xf142e9['length'],'Content-Type':_0x3876b4(0x1a9)}),_0x46e3ad[_0x3876b4(0x1ee)](_0xf142e9);}),this[_0x259c6e(0x2bc)][_0x259c6e(0x175)](_0xd8cafa[_0x259c6e(0x2d8)],_0xd8cafa['host'],_0xd8cafa[_0x259c6e(0x2a6)],_0x41d22c)):_0xd8cafa[_0x259c6e(0x1dd)]&&(this[_0x259c6e(0x2bc)]=_0xd8cafa[_0x259c6e(0x1dd)]),this['_server']){const _0x594a62=this[_0x259c6e(0x19e)]['bind'](this,_0x259c6e(0x290));this[_0x259c6e(0x279)]=_0x4b7d2e(this['_server'],{'listening':this['emit'][_0x259c6e(0x194)](this,_0x259c6e(0x188)),'error':this[_0x259c6e(0x19e)][_0x259c6e(0x194)](this,'error'),'upgrade':(_0xe9f151,_0x400fd4,_0x23ac22)=>{const _0x178180=_0x259c6e;this[_0x178180(0x1e4)](_0xe9f151,_0x400fd4,_0x23ac22,_0x594a62);}});}_0xd8cafa[_0x259c6e(0x232)]===!0x0&&(_0xd8cafa[_0x259c6e(0x232)]={}),_0xd8cafa[_0x259c6e(0x1af)]&&(this[_0x259c6e(0x1da)]=new Set(),this[_0x259c6e(0x1d9)]=!0x1),this[_0x259c6e(0x253)]=_0xd8cafa,this[_0x259c6e(0x202)]=_0x3a863b;}[_0x1536cd(0x1b6)](){const _0x11e1bb=_0x1536cd;if(this[_0x11e1bb(0x253)][_0x11e1bb(0x30e)])throw new Error(_0x11e1bb(0x1a1));return this[_0x11e1bb(0x2bc)]?this[_0x11e1bb(0x2bc)][_0x11e1bb(0x1b6)]():null;}[_0x1536cd(0x2c5)](_0x27b60a){const _0x1d1751=_0x1536cd;if(this['_state']===_0x5c8b93){_0x27b60a&&this[_0x1d1751(0x185)](_0x1d1751(0x2c5),()=>{const _0x23db64=_0x1d1751;_0x27b60a(new Error(_0x23db64(0x2cf)));}),process[_0x1d1751(0x23b)](_0x34204b,this);return;}if(_0x27b60a&&this[_0x1d1751(0x185)](_0x1d1751(0x2c5),_0x27b60a),this[_0x1d1751(0x202)]!==_0x3f2bc3){if(this['_state']=_0x3f2bc3,this['options']['noServer']||this[_0x1d1751(0x253)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x1d1751(0x279)]=this[_0x1d1751(0x2bc)]=null),this['clients']?this[_0x1d1751(0x1da)][_0x1d1751(0x1df)]?this['_shouldEmitClose']=!0x0:process[_0x1d1751(0x23b)](_0x34204b,this):process['nextTick'](_0x34204b,this);else{const _0x40335b=this[_0x1d1751(0x2bc)];this[_0x1d1751(0x279)](),this[_0x1d1751(0x279)]=this['_server']=null,_0x40335b[_0x1d1751(0x2c5)](()=>{_0x34204b(this);});}}}[_0x1536cd(0x24a)](_0x5cb003){const _0x382876=_0x1536cd;if(this[_0x382876(0x253)][_0x382876(0x18c)]){const _0x9b1a3e=_0x5cb003[_0x382876(0x30a)][_0x382876(0x300)]('?');if((_0x9b1a3e!==-0x1?_0x5cb003[_0x382876(0x30a)][_0x382876(0x2f8)](0x0,_0x9b1a3e):_0x5cb003[_0x382876(0x30a)])!==this[_0x382876(0x253)][_0x382876(0x18c)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5d6586,_0x240026,_0x5b865e,_0x308bbe){const _0x1d8ebe=_0x1536cd;_0x240026['on'](_0x1d8ebe(0x2ec),_0xccb60f);const _0x3823f6=_0x5d6586[_0x1d8ebe(0x1ca)][_0x1d8ebe(0x1cd)],_0x5d7af6=_0x5d6586[_0x1d8ebe(0x1ca)]['upgrade'],_0x3a5191=+_0x5d6586[_0x1d8ebe(0x1ca)][_0x1d8ebe(0x281)];if(_0x5d6586['method']!=='GET'){_0x5b797e(this,_0x5d6586,_0x240026,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5d7af6===void 0x0||_0x5d7af6['toLowerCase']()!==_0x1d8ebe(0x24d)){_0x5b797e(this,_0x5d6586,_0x240026,0x190,_0x1d8ebe(0x313));return;}if(_0x3823f6===void 0x0||!_0x2eb262[_0x1d8ebe(0x323)](_0x3823f6)){_0x5b797e(this,_0x5d6586,_0x240026,0x190,_0x1d8ebe(0x1a6));return;}if(_0x3a5191!==0x8&&_0x3a5191!==0xd){_0x5b797e(this,_0x5d6586,_0x240026,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x5d6586)){_0x55ccdc(_0x240026,0x190);return;}const _0xa8fb89=_0x5d6586[_0x1d8ebe(0x1ca)][_0x1d8ebe(0x166)];let _0x41bb16=new Set();if(_0xa8fb89!==void 0x0)try{_0x41bb16=_0x4cbe45[_0x1d8ebe(0x216)](_0xa8fb89);}catch{_0x5b797e(this,_0x5d6586,_0x240026,0x190,_0x1d8ebe(0x2b6));return;}const _0x13bf17=_0x5d6586['headers'][_0x1d8ebe(0x2b8)],_0x1e96b6={};if(this['options'][_0x1d8ebe(0x232)]&&_0x13bf17!==void 0x0){const _0x53e999=new _0x359cb5(this[_0x1d8ebe(0x253)]['perMessageDeflate'],!0x0,this[_0x1d8ebe(0x253)][_0x1d8ebe(0x2ab)]);try{const _0x4b2608=_0x52344c['parse'](_0x13bf17);_0x4b2608[_0x359cb5[_0x1d8ebe(0x167)]]&&(_0x53e999['accept'](_0x4b2608[_0x359cb5[_0x1d8ebe(0x167)]]),_0x1e96b6[_0x359cb5[_0x1d8ebe(0x167)]]=_0x53e999);}catch{_0x5b797e(this,_0x5d6586,_0x240026,0x190,_0x1d8ebe(0x1b0));return;}}if(this[_0x1d8ebe(0x253)][_0x1d8ebe(0x308)]){const _0x6b5285={'origin':_0x5d6586[_0x1d8ebe(0x1ca)][''+(_0x3a5191===0x8?_0x1d8ebe(0x2f5):'origin')],'secure':!!(_0x5d6586[_0x1d8ebe(0x1c1)][_0x1d8ebe(0x31d)]||_0x5d6586[_0x1d8ebe(0x1c1)]['encrypted']),'req':_0x5d6586};if(this[_0x1d8ebe(0x253)][_0x1d8ebe(0x308)][_0x1d8ebe(0x277)]===0x2){this[_0x1d8ebe(0x253)][_0x1d8ebe(0x308)](_0x6b5285,(_0xfa2625,_0x2186f4,_0x311f41,_0x5ea42f)=>{if(!_0xfa2625)return _0x55ccdc(_0x240026,_0x2186f4||0x191,_0x311f41,_0x5ea42f);this['completeUpgrade'](_0x1e96b6,_0x3823f6,_0x41bb16,_0x5d6586,_0x240026,_0x5b865e,_0x308bbe);});return;}if(!this[_0x1d8ebe(0x253)][_0x1d8ebe(0x308)](_0x6b5285))return _0x55ccdc(_0x240026,0x191);}this['completeUpgrade'](_0x1e96b6,_0x3823f6,_0x41bb16,_0x5d6586,_0x240026,_0x5b865e,_0x308bbe);}[_0x1536cd(0x329)](_0x192ff3,_0x417c80,_0x253045,_0x3af42e,_0x18ecd7,_0x49666e,_0x26cdae){const _0x107ea8=_0x1536cd;if(!_0x18ecd7[_0x107ea8(0x2e8)]||!_0x18ecd7[_0x107ea8(0x241)])return _0x18ecd7[_0x107ea8(0x310)]();if(_0x18ecd7[_0x5ca16c])throw new Error(_0x107ea8(0x1d0));if(this[_0x107ea8(0x202)]>_0x3a863b)return _0x55ccdc(_0x18ecd7,0x1f7);const _0x2fe898=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x107ea8(0x26e),_0x107ea8(0x1d4),'Sec-WebSocket-Accept:\x20'+_0x1cba98('sha1')[_0x107ea8(0x23c)](_0x417c80+_0x5f8c84)[_0x107ea8(0x20e)](_0x107ea8(0x2bb))],_0x1c3a1b=new this[(_0x107ea8(0x253))][(_0x107ea8(0x26f))](null,void 0x0,this[_0x107ea8(0x253)]);if(_0x253045['size']){const _0xe39155=this[_0x107ea8(0x253)]['handleProtocols']?this['options'][_0x107ea8(0x2f9)](_0x253045,_0x3af42e):_0x253045[_0x107ea8(0x28b)]()['next']()[_0x107ea8(0x287)];_0xe39155&&(_0x2fe898['push'](_0x107ea8(0x2ae)+_0xe39155),_0x1c3a1b[_0x107ea8(0x1ff)]=_0xe39155);}if(_0x192ff3[_0x359cb5[_0x107ea8(0x167)]]){const _0x540cec=_0x192ff3[_0x359cb5[_0x107ea8(0x167)]][_0x107ea8(0x1fe)],_0x3b6a4a=_0x52344c[_0x107ea8(0x245)]({[_0x359cb5[_0x107ea8(0x167)]]:[_0x540cec]});_0x2fe898[_0x107ea8(0x28a)](_0x107ea8(0x20b)+_0x3b6a4a),_0x1c3a1b[_0x107ea8(0x294)]=_0x192ff3;}this[_0x107ea8(0x19e)](_0x107ea8(0x1ca),_0x2fe898,_0x3af42e),_0x18ecd7['write'](_0x2fe898[_0x107ea8(0x264)]('\x0d\x0a')[_0x107ea8(0x233)]('\x0d\x0a')),_0x18ecd7[_0x107ea8(0x1f5)](_0x107ea8(0x2ec),_0xccb60f),_0x1c3a1b['setSocket'](_0x18ecd7,_0x49666e,{'allowSynchronousEvents':this['options'][_0x107ea8(0x2fb)],'maxPayload':this[_0x107ea8(0x253)][_0x107ea8(0x2ab)],'skipUTF8Validation':this[_0x107ea8(0x253)][_0x107ea8(0x2de)]}),this['clients']&&(this['clients']['add'](_0x1c3a1b),_0x1c3a1b['on'](_0x107ea8(0x2c5),()=>{const _0x2835ec=_0x107ea8;this[_0x2835ec(0x1da)][_0x2835ec(0x168)](_0x1c3a1b),this['_shouldEmitClose']&&!this[_0x2835ec(0x1da)][_0x2835ec(0x1df)]&&process[_0x2835ec(0x23b)](_0x34204b,this);})),_0x26cdae(_0x1c3a1b,_0x3af42e);}}Te=_0x1c4e8f;function _0x4b7d2e(_0x5d5719,_0x17648c){const _0x201643=_0x1536cd;for(const _0x1cbdf8 of Object[_0x201643(0x1ad)](_0x17648c))_0x5d5719['on'](_0x1cbdf8,_0x17648c[_0x1cbdf8]);return function(){const _0x1366d5=_0x201643;for(const _0x594010 of Object[_0x1366d5(0x1ad)](_0x17648c))_0x5d5719['removeListener'](_0x594010,_0x17648c[_0x594010]);};}function _0x34204b(_0x2cd50c){const _0x4a1315=_0x1536cd;_0x2cd50c[_0x4a1315(0x202)]=_0x5c8b93,_0x2cd50c[_0x4a1315(0x19e)]('close');}function _0xccb60f(){const _0x127da2=_0x1536cd;this[_0x127da2(0x310)]();}function _0x55ccdc(_0x3c0546,_0x2f506e,_0x59cc8d,_0x280277){const _0xc6c5c4=_0x1536cd;_0x59cc8d=_0x59cc8d||_0x5c1baf[_0xc6c5c4(0x29a)][_0x2f506e],_0x280277={'Connection':_0xc6c5c4(0x2c5),'Content-Type':_0xc6c5c4(0x17d),'Content-Length':Buffer['byteLength'](_0x59cc8d),..._0x280277},_0x3c0546[_0xc6c5c4(0x185)]('finish',_0x3c0546['destroy']),_0x3c0546[_0xc6c5c4(0x1ee)](_0xc6c5c4(0x32a)+_0x2f506e+'\x20'+_0x5c1baf[_0xc6c5c4(0x29a)][_0x2f506e]+'\x0d\x0a'+Object[_0xc6c5c4(0x1ad)](_0x280277)[_0xc6c5c4(0x2d6)](_0xd6a038=>_0xd6a038+':\x20'+_0x280277[_0xd6a038])[_0xc6c5c4(0x233)]('\x0d\x0a')+_0xc6c5c4(0x231)+_0x59cc8d);}function _0x5b797e(_0x19acfc,_0xf0977f,_0xa0debe,_0x5871cf,_0x5d8d90){const _0x59f865=_0x1536cd;if(_0x19acfc['listenerCount'](_0x59f865(0x1a8))){const _0x259d4f=new Error(_0x5d8d90);Error[_0x59f865(0x2ff)](_0x259d4f,_0x5b797e),_0x19acfc[_0x59f865(0x19e)](_0x59f865(0x1a8),_0x259d4f,_0xa0debe,_0xf0977f);}else _0x55ccdc(_0xa0debe,_0x5871cf,_0x5d8d90);}return Te;}Ft();var jt=Object[_0x4b01a7(0x1fd)],Wt=(_0x169073,_0x339db7,_0x92bf0d,_0x3746d5)=>{const _0x20e4a5=_0x4b01a7;for(var _0x489482=_0x3746d5>0x1?void 0x0:_0x3746d5?jt(_0x339db7,_0x92bf0d):_0x339db7,_0x5cfe33=_0x169073[_0x20e4a5(0x277)]-0x1,_0x114526;_0x5cfe33>=0x0;_0x5cfe33--)(_0x114526=_0x169073[_0x5cfe33])&&(_0x489482=_0x114526(_0x489482)||_0x489482);return _0x489482;},qt=(_0x51bfa4,_0x39cfbe)=>(_0x4599d2,_0x2c8936)=>_0x39cfbe(_0x4599d2,_0x2c8936,_0x51bfa4);let ke=class extends A['Disposable']{constructor(_0x513c53){super(),this['_configService']=_0x513c53;}[_0x4b01a7(0x177)](_0x745f53){const _0x5440fd=_0x4b01a7;var _0x1ed70e;const _0x1ecdb1=(_0x1ed70e=this[_0x5440fd(0x1e6)][_0x5440fd(0x180)](fe))==null?void 0x0:_0x1ed70e[_0x5440fd(0x1e8)];try{const _0x184af0=new $t(_0x745f53,{'headers':{..._0x1ecdb1}}),_0x267605=new A[(_0x5440fd(0x316))]();return{'URL':_0x745f53,'close':(_0x44df09,_0x3e1c8c)=>{const _0xd789b8=_0x5440fd;_0x184af0[_0xd789b8(0x2c5)](_0x44df09,_0x3e1c8c),_0x267605[_0xd789b8(0x322)]();},'send':_0x3aa314=>{_0x184af0['send'](_0x3aa314);},'open$':new V[(_0x5440fd(0x25e))](_0x5938dc=>{const _0x4a21cf=_0x5440fd,_0x260aba=_0x3f148d=>_0x5938dc['next'](_0x3f148d);_0x184af0[_0x4a21cf(0x226)]('open',_0x260aba),_0x267605[_0x4a21cf(0x1b7)](A[_0x4a21cf(0x2fe)](()=>_0x184af0[_0x4a21cf(0x2f6)]('open',_0x260aba)));})['pipe'](V[_0x5440fd(0x238)]()),'close$':new V[(_0x5440fd(0x25e))](_0xbb682a=>{const _0x9a2deb=_0x5440fd,_0x1c967a=_0x46a33c=>_0xbb682a['next'](_0x46a33c);_0x184af0[_0x9a2deb(0x226)](_0x9a2deb(0x2c5),_0x1c967a),_0x267605[_0x9a2deb(0x1b7)](A[_0x9a2deb(0x2fe)](()=>_0x184af0['removeEventListener'](_0x9a2deb(0x2c5),_0x1c967a)));})[_0x5440fd(0x1d6)](V['share']()),'error$':new V[(_0x5440fd(0x25e))](_0x2662eb=>{const _0x1fe016=_0x5440fd,_0x213f44=_0x4a51fb=>_0x2662eb['next'](_0x4a51fb);_0x184af0[_0x1fe016(0x226)](_0x1fe016(0x2ec),_0x213f44),_0x267605[_0x1fe016(0x1b7)](A[_0x1fe016(0x2fe)](()=>_0x184af0[_0x1fe016(0x2f6)](_0x1fe016(0x2ec),_0x213f44)));})[_0x5440fd(0x1d6)](V['share']()),'message$':new V[(_0x5440fd(0x25e))](_0x33b369=>{const _0x46ba1a=_0x5440fd,_0x2caa49=_0x21c3cd=>_0x33b369[_0x46ba1a(0x319)](_0x21c3cd);_0x184af0[_0x46ba1a(0x226)](_0x46ba1a(0x26a),_0x2caa49),_0x267605['add'](A[_0x46ba1a(0x2fe)](()=>_0x184af0['removeEventListener']('message',_0x2caa49)));})[_0x5440fd(0x1d6)](V[_0x5440fd(0x238)]())};}catch(_0x63e0b6){return console['error'](_0x63e0b6),null;}}};ke=Wt([qt(0x0,A[_0x4b01a7(0x1b5)])],ke);var Gt=Object[_0x4b01a7(0x1f8)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5e2886,_0x3e23b5,_0x34a092)=>_0x3e23b5 in _0x5e2886?Gt(_0x5e2886,_0x3e23b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a092}):_0x5e2886[_0x3e23b5]=_0x34a092,zt=(_0x4dcc3a,_0x3cb739,_0x215637,_0x156ef3)=>{const _0x535e42=_0x4b01a7;for(var _0x955659=_0x156ef3>0x1?void 0x0:_0x156ef3?Vt(_0x3cb739,_0x215637):_0x3cb739,_0x20d52b=_0x4dcc3a[_0x535e42(0x277)]-0x1,_0x495302;_0x20d52b>=0x0;_0x20d52b--)(_0x495302=_0x4dcc3a[_0x20d52b])&&(_0x955659=_0x495302(_0x955659)||_0x955659);return _0x955659;},Ne=(_0x1f9458,_0x2e3391)=>(_0x3b506b,_0x476bad)=>_0x2e3391(_0x3b506b,_0x476bad,_0x1f9458),Yt=(_0x39fb12,_0x222534,_0x1a1585)=>Ht(_0x39fb12,_0x222534+'',_0x1a1585);exports[_0x4b01a7(0x27a)]=class extends A['Plugin']{constructor(_0xc049d1=Ct,_0x41c584,_0x2e2f8b,_0x2a10c0){const _0x43c41d=_0x4b01a7;_0xc049d1['customHeaders']||_0x41c584[_0x43c41d(0x318)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x43c41d(0x1e6)]=_0x2e2f8b,this[_0x43c41d(0x218)]=_0x2a10c0,this['_configService']['setConfig'](fe,_0xc049d1);}[_0x4b01a7(0x2c0)](){this['_registerDependencies']();}[_0x4b01a7(0x1c8)](){const _0x4d0ea9=_0x4b01a7;A[_0x4d0ea9(0x1db)](this[_0x4d0ea9(0x218)],[[it[_0x4d0ea9(0x192)],{'useClass':ke}]]);}},Yt(exports[_0x4b01a7(0x27a)],_0x4b01a7(0x18b),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x4b01a7(0x27a)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x4b01a7(0x229)]),Ne(0x2,A[_0x4b01a7(0x1b5)]),Ne(0x3,A[_0x4b01a7(0x2e1)](A['Injector']))],exports[_0x4b01a7(0x27a)]);var Kt=Object[_0x4b01a7(0x1fd)],Xt=(_0x4f4a4a,_0x38b6ac,_0x57496c,_0x44b655)=>{const _0x50c42e=_0x4b01a7;for(var _0x265ce7=_0x44b655>0x1?void 0x0:_0x44b655?Kt(_0x38b6ac,_0x57496c):_0x38b6ac,_0x2b85c2=_0x4f4a4a[_0x50c42e(0x277)]-0x1,_0x59f011;_0x2b85c2>=0x0;_0x2b85c2--)(_0x59f011=_0x4f4a4a[_0x2b85c2])&&(_0x265ce7=_0x59f011(_0x265ce7)||_0x265ce7);return _0x265ce7;},ne=(_0x91d023,_0xeb7d1e)=>(_0x14378b,_0x5e7aec)=>_0xeb7d1e(_0x14378b,_0x5e7aec,_0x91d023);exports['NodeCollaborationSocketService']=class extends st[_0x4b01a7(0x247)]{constructor(_0x593c4d,_0x16bef7,_0xce5201,_0x31e9d0,_0x3e443a){const _0x431077=_0x4b01a7;super(_0x593c4d,_0x16bef7,_0xce5201,_0x31e9d0,_0x3e443a);const _0x433d45=this['_configService'][_0x431077(0x180)](fe);this[_0x431077(0x235)]['registerHTTPInterceptor']({'interceptor':(_0x57ff1e,_0x486cfd)=>{const _0x33f45a=_0x431077;var _0x3ab741;const _0x161686=_0x57ff1e[_0x33f45a(0x1ca)];return(_0x3ab741=_0x433d45==null?void 0x0:_0x433d45[_0x33f45a(0x1e8)])!=null&&_0x3ab741[_0x33f45a(0x2ce)]&&_0x161686[_0x33f45a(0x321)]('Cookie',_0x433d45[_0x33f45a(0x1e8)][_0x33f45a(0x2ce)]),_0x486cfd(_0x57ff1e);}});}async['createSocket'](_0x1351cf){const _0x2c3d9d=_0x4b01a7;return this[_0x2c3d9d(0x2bd)](_0x1351cf);}},exports[_0x4b01a7(0x1e2)]=Xt([ne(0x0,A[_0x4b01a7(0x2e1)](A[_0x4b01a7(0x219)])),ne(0x1,A[_0x4b01a7(0x2e1)](it[_0x4b01a7(0x1c0)])),ne(0x2,A[_0x4b01a7(0x1b5)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x4b01a7(0x22f)])],exports[_0x4b01a7(0x1e2)]),exports[_0x4b01a7(0x1f6)]=fe;
1
+ 'use strict';const _0x11f02f=_0x52bb;(function(_0x356266,_0x32fef2){const _0x195e8d=_0x52bb,_0x361d96=_0x356266();while(!![]){try{const _0x5a965d=-parseInt(_0x195e8d(0x1bd))/0x1+parseInt(_0x195e8d(0x316))/0x2*(parseInt(_0x195e8d(0x2aa))/0x3)+parseInt(_0x195e8d(0x303))/0x4*(-parseInt(_0x195e8d(0x205))/0x5)+parseInt(_0x195e8d(0x227))/0x6+parseInt(_0x195e8d(0x2a9))/0x7*(-parseInt(_0x195e8d(0x32e))/0x8)+parseInt(_0x195e8d(0x1bb))/0x9*(-parseInt(_0x195e8d(0x2bc))/0xa)+parseInt(_0x195e8d(0x1d9))/0xb;if(_0x5a965d===_0x32fef2)break;else _0x361d96['push'](_0x361d96['shift']());}catch(_0x43fdd1){_0x361d96['push'](_0x361d96['shift']());}}}(_0xdbad,0xc812d));Object[_0x11f02f(0x357)](exports,Symbol['toStringTag'],{'value':_0x11f02f(0x2e1)});const st=require(_0x11f02f(0x34f)),A=require(_0x11f02f(0x247)),it=require(_0x11f02f(0x2c9)),V=require('rxjs'),nt=require(_0x11f02f(0x2ea)),vt=require(_0x11f02f(0x315)),ot=require(_0x11f02f(0x2d7)),St=require('net'),Et=require('tls'),Le=require(_0x11f02f(0x199)),oe=require(_0x11f02f(0x2f5)),xt=require(_0x11f02f(0x1fe)),bt=require(_0x11f02f(0x28c)),wt=require(_0x11f02f(0x2d1)),Ot=require(_0x11f02f(0x353)),fe=_0x11f02f(0x321),Ct={'customHeaders':{}};function Tt(_0x4144b1){const _0x3883ee=_0x11f02f;return _0x4144b1&&_0x4144b1[_0x3883ee(0x1a2)]&&Object[_0x3883ee(0x24d)][_0x3883ee(0x1dd)][_0x3883ee(0x1c5)](_0x4144b1,_0x3883ee(0x2b3))?_0x4144b1[_0x3883ee(0x2b3)]:_0x4144b1;}function at(_0x38ccc9){const _0x38ae30=_0x11f02f;if(Object[_0x38ae30(0x24d)]['hasOwnProperty'][_0x38ae30(0x1c5)](_0x38ccc9,_0x38ae30(0x1a2)))return _0x38ccc9;var _0x332adc=_0x38ccc9[_0x38ae30(0x2b3)];if(typeof _0x332adc==_0x38ae30(0x27e)){var _0x285ad8=function _0x31c084(){const _0x1c42ff=_0x38ae30;return this instanceof _0x31c084?Reflect[_0x1c42ff(0x22b)](_0x332adc,arguments,this[_0x1c42ff(0x1ab)]):_0x332adc[_0x1c42ff(0x1ea)](this,arguments);};_0x285ad8[_0x38ae30(0x24d)]=_0x332adc['prototype'];}else _0x285ad8={};return Object['defineProperty'](_0x285ad8,'__esModule',{'value':!0x0}),Object[_0x38ae30(0x212)](_0x38ccc9)[_0x38ae30(0x32b)](function(_0x256c69){const _0xf8f438=_0x38ae30;var _0x31f761=Object[_0xf8f438(0x1c7)](_0x38ccc9,_0x256c69);Object[_0xf8f438(0x357)](_0x285ad8,_0x256c69,_0x31f761[_0xf8f438(0x1b9)]?_0x31f761:{'enumerable':!0x0,'get':function(){return _0x38ccc9[_0x256c69];}});}),_0x285ad8;}var se={'exports':{}},ge,Ge;function H(){const _0x85aac6=_0x11f02f;if(Ge)return ge;Ge=0x1;const _0x4704dc=[_0x85aac6(0x2c7),_0x85aac6(0x23f),_0x85aac6(0x35b)],_0xd7793d=typeof Blob<'u';return _0xd7793d&&_0x4704dc['push']('blob'),ge={'BINARY_TYPES':_0x4704dc,'EMPTY_BUFFER':Buffer[_0x85aac6(0x2da)](0x0),'GUID':_0x85aac6(0x2e9),'hasBlob':_0xd7793d,'kForOnEventAttribute':Symbol(_0x85aac6(0x244)),'kListener':Symbol(_0x85aac6(0x35c)),'kStatusCode':Symbol(_0x85aac6(0x301)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x11f02f(0x1fd)](Object[_0x11f02f(0x357)]({'__proto__':null,'default':Nt},Symbol[_0x11f02f(0x229)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x3f9be7=_0x11f02f;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2f2a9a}=H(),_0x2ba674=Buffer[Symbol['species']];function _0x4b9de9(_0x1215b4,_0xd06b18){const _0x505131=_0x52bb;if(_0x1215b4['length']===0x0)return _0x2f2a9a;if(_0x1215b4[_0x505131(0x361)]===0x1)return _0x1215b4[0x0];const _0x32c1cd=Buffer[_0x505131(0x1c4)](_0xd06b18);let _0x1367c7=0x0;for(let _0x3dd3f0=0x0;_0x3dd3f0<_0x1215b4[_0x505131(0x361)];_0x3dd3f0++){const _0x9ad4ed=_0x1215b4[_0x3dd3f0];_0x32c1cd[_0x505131(0x307)](_0x9ad4ed,_0x1367c7),_0x1367c7+=_0x9ad4ed[_0x505131(0x361)];}return _0x1367c7<_0xd06b18?new _0x2ba674(_0x32c1cd[_0x505131(0x2d1)],_0x32c1cd[_0x505131(0x263)],_0x1367c7):_0x32c1cd;}function _0x519e7a(_0x255ed0,_0x4c32e0,_0xd34642,_0x3be081,_0x8e8046){for(let _0x3f5f83=0x0;_0x3f5f83<_0x8e8046;_0x3f5f83++)_0xd34642[_0x3be081+_0x3f5f83]=_0x255ed0[_0x3f5f83]^_0x4c32e0[_0x3f5f83&0x3];}function _0x2fafbc(_0x51b472,_0x422ba4){const _0x5151ae=_0x52bb;for(let _0x1188c9=0x0;_0x1188c9<_0x51b472[_0x5151ae(0x361)];_0x1188c9++)_0x51b472[_0x1188c9]^=_0x422ba4[_0x1188c9&0x3];}function _0x2c02c5(_0x50397e){const _0x288187=_0x52bb;return _0x50397e[_0x288187(0x361)]===_0x50397e['buffer']['byteLength']?_0x50397e['buffer']:_0x50397e[_0x288187(0x2d1)][_0x288187(0x26c)](_0x50397e[_0x288187(0x263)],_0x50397e[_0x288187(0x263)]+_0x50397e['length']);}function _0x42ff1a(_0xd22950){const _0xa54ca0=_0x52bb;if(_0x42ff1a['readOnly']=!0x0,Buffer['isBuffer'](_0xd22950))return _0xd22950;let _0x58250e;return _0xd22950 instanceof ArrayBuffer?_0x58250e=new _0x2ba674(_0xd22950):ArrayBuffer[_0xa54ca0(0x29c)](_0xd22950)?_0x58250e=new _0x2ba674(_0xd22950['buffer'],_0xd22950[_0xa54ca0(0x263)],_0xd22950['byteLength']):(_0x58250e=Buffer[_0xa54ca0(0x192)](_0xd22950),_0x42ff1a['readOnly']=!0x1),_0x58250e;}if(se[_0x3f9be7(0x297)]={'concat':_0x4b9de9,'mask':_0x519e7a,'toArrayBuffer':_0x2c02c5,'toBuffer':_0x42ff1a,'unmask':_0x2fafbc},!process['env'][_0x3f9be7(0x1f2)])try{const _0x42f5fc=Lt;se[_0x3f9be7(0x297)][_0x3f9be7(0x193)]=function(_0x2a04b1,_0x2f0f04,_0x260815,_0x5a117a,_0x5472d9){const _0x32d365=_0x3f9be7;_0x5472d9<0x30?_0x519e7a(_0x2a04b1,_0x2f0f04,_0x260815,_0x5a117a,_0x5472d9):_0x42f5fc[_0x32d365(0x193)](_0x2a04b1,_0x2f0f04,_0x260815,_0x5a117a,_0x5472d9);},se[_0x3f9be7(0x297)][_0x3f9be7(0x222)]=function(_0x428dc2,_0x4a11eb){const _0x33b0b5=_0x3f9be7;_0x428dc2[_0x33b0b5(0x361)]<0x20?_0x2fafbc(_0x428dc2,_0x4a11eb):_0x42f5fc['unmask'](_0x428dc2,_0x4a11eb);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x459e79=_0x11f02f;if(He)return ye;He=0x1;const _0x2bbc57=Symbol(_0x459e79(0x1f3)),_0x385f84=Symbol('kRun');class _0x4c0ef7{constructor(_0xfc2c50){const _0x2391a1=_0x459e79;this[_0x2bbc57]=()=>{const _0x265c32=_0x52bb;this[_0x265c32(0x2e5)]--,this[_0x385f84]();},this[_0x2391a1(0x26f)]=_0xfc2c50||0x1/0x0,this[_0x2391a1(0x2a2)]=[],this[_0x2391a1(0x2e5)]=0x0;}['add'](_0x542f47){const _0x174d45=_0x459e79;this[_0x174d45(0x2a2)][_0x174d45(0x206)](_0x542f47),this[_0x385f84]();}[_0x385f84](){const _0x30fd90=_0x459e79;if(this['pending']!==this[_0x30fd90(0x26f)]&&this['jobs'][_0x30fd90(0x361)]){const _0x1c872a=this['jobs'][_0x30fd90(0x322)]();this[_0x30fd90(0x2e5)]++,_0x1c872a(this[_0x2bbc57]);}}}return ye=_0x4c0ef7,ye;}var ve,ze;function he(){const _0x4813a9=_0x11f02f;if(ze)return ve;ze=0x1;const _0x2cbeab=bt,_0x1948b0=ce(),_0x2b01dd=Pt(),{kStatusCode:_0xd28435}=H(),_0x13e47d=Buffer[Symbol['species']],_0x43ef4c=Buffer[_0x4813a9(0x192)]([0x0,0x0,0xff,0xff]),_0x4f2697=Symbol('permessage-deflate'),_0x19fb9f=Symbol('total-length'),_0x1095dc=Symbol(_0x4813a9(0x276)),_0x2708ce=Symbol(_0x4813a9(0x1ac)),_0x2db50d=Symbol(_0x4813a9(0x1f0));let _0x298fea;class _0xa81ca{constructor(_0x1e6dec,_0x52a6d8,_0x1e9284){const _0x24f855=_0x4813a9;if(this[_0x24f855(0x259)]=_0x1e9284|0x0,this[_0x24f855(0x2d9)]=_0x1e6dec||{},this[_0x24f855(0x2e8)]=this['_options'][_0x24f855(0x1b5)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x24f855(0x232)]=!!_0x52a6d8,this[_0x24f855(0x2f8)]=null,this[_0x24f855(0x1b1)]=null,this[_0x24f855(0x1ef)]=null,!_0x298fea){const _0x406ecc=this[_0x24f855(0x2d9)][_0x24f855(0x280)]!==void 0x0?this[_0x24f855(0x2d9)][_0x24f855(0x280)]:0xa;_0x298fea=new _0x2b01dd(_0x406ecc);}}static get[_0x4813a9(0x339)](){const _0xbc7754=_0x4813a9;return _0xbc7754(0x278);}[_0x4813a9(0x1d0)](){const _0x51a767=_0x4813a9,_0xee53b0={};return this['_options'][_0x51a767(0x1dc)]&&(_0xee53b0['server_no_context_takeover']=!0x0),this['_options'][_0x51a767(0x200)]&&(_0xee53b0[_0x51a767(0x284)]=!0x0),this['_options'][_0x51a767(0x1a3)]&&(_0xee53b0['server_max_window_bits']=this[_0x51a767(0x2d9)][_0x51a767(0x1a3)]),this[_0x51a767(0x2d9)]['clientMaxWindowBits']?_0xee53b0['client_max_window_bits']=this[_0x51a767(0x2d9)][_0x51a767(0x204)]:this['_options'][_0x51a767(0x204)]==null&&(_0xee53b0['client_max_window_bits']=!0x0),_0xee53b0;}[_0x4813a9(0x225)](_0x54abb7){const _0x92fe0e=_0x4813a9;return _0x54abb7=this[_0x92fe0e(0x2ff)](_0x54abb7),this[_0x92fe0e(0x1ef)]=this[_0x92fe0e(0x232)]?this[_0x92fe0e(0x281)](_0x54abb7):this[_0x92fe0e(0x32a)](_0x54abb7),this[_0x92fe0e(0x1ef)];}[_0x4813a9(0x2cd)](){const _0x13951d=_0x4813a9;if(this[_0x13951d(0x1b1)]&&(this[_0x13951d(0x1b1)]['close'](),this['_inflate']=null),this[_0x13951d(0x2f8)]){const _0x5a19d7=this[_0x13951d(0x2f8)][_0x1095dc];this[_0x13951d(0x2f8)]['close'](),this[_0x13951d(0x2f8)]=null,_0x5a19d7&&_0x5a19d7(new Error(_0x13951d(0x22f)));}}['acceptAsServer'](_0x263a17){const _0x4a6437=_0x4813a9,_0x42ca59=this['_options'],_0x27780b=_0x263a17['find'](_0x211919=>!(_0x42ca59[_0x4a6437(0x1dc)]===!0x1&&_0x211919[_0x4a6437(0x248)]||_0x211919[_0x4a6437(0x23d)]&&(_0x42ca59[_0x4a6437(0x1a3)]===!0x1||typeof _0x42ca59[_0x4a6437(0x1a3)]==_0x4a6437(0x2ad)&&_0x42ca59[_0x4a6437(0x1a3)]>_0x211919[_0x4a6437(0x23d)])||typeof _0x42ca59[_0x4a6437(0x204)]==_0x4a6437(0x2ad)&&!_0x211919[_0x4a6437(0x2fb)]));if(!_0x27780b)throw new Error(_0x4a6437(0x19e));return _0x42ca59[_0x4a6437(0x1dc)]&&(_0x27780b[_0x4a6437(0x248)]=!0x0),_0x42ca59[_0x4a6437(0x200)]&&(_0x27780b[_0x4a6437(0x284)]=!0x0),typeof _0x42ca59[_0x4a6437(0x1a3)]==_0x4a6437(0x2ad)&&(_0x27780b[_0x4a6437(0x23d)]=_0x42ca59[_0x4a6437(0x1a3)]),typeof _0x42ca59[_0x4a6437(0x204)]==_0x4a6437(0x2ad)?_0x27780b[_0x4a6437(0x2fb)]=_0x42ca59[_0x4a6437(0x204)]:(_0x27780b[_0x4a6437(0x2fb)]===!0x0||_0x42ca59[_0x4a6437(0x204)]===!0x1)&&delete _0x27780b['client_max_window_bits'],_0x27780b;}[_0x4813a9(0x32a)](_0x4b2ce5){const _0x5507d4=_0x4813a9,_0x294451=_0x4b2ce5[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x294451['client_no_context_takeover'])throw new Error(_0x5507d4(0x1a6));if(!_0x294451[_0x5507d4(0x2fb)])typeof this[_0x5507d4(0x2d9)]['clientMaxWindowBits']==_0x5507d4(0x2ad)&&(_0x294451[_0x5507d4(0x2fb)]=this[_0x5507d4(0x2d9)][_0x5507d4(0x204)]);else{if(this[_0x5507d4(0x2d9)][_0x5507d4(0x204)]===!0x1||typeof this[_0x5507d4(0x2d9)][_0x5507d4(0x204)]=='number'&&_0x294451[_0x5507d4(0x2fb)]>this[_0x5507d4(0x2d9)][_0x5507d4(0x204)])throw new Error(_0x5507d4(0x2d2));}return _0x294451;}[_0x4813a9(0x2ff)](_0x58e1ba){const _0x177fcd=_0x4813a9;return _0x58e1ba[_0x177fcd(0x32b)](_0x1ba568=>{const _0x310cf5=_0x177fcd;Object[_0x310cf5(0x212)](_0x1ba568)[_0x310cf5(0x32b)](_0x43bf08=>{const _0x17d18d=_0x310cf5;let _0x55f0e6=_0x1ba568[_0x43bf08];if(_0x55f0e6['length']>0x1)throw new Error(_0x17d18d(0x19a)+_0x43bf08+_0x17d18d(0x1c0));if(_0x55f0e6=_0x55f0e6[0x0],_0x43bf08===_0x17d18d(0x2fb)){if(_0x55f0e6!==!0x0){const _0x28a1b4=+_0x55f0e6;if(!Number[_0x17d18d(0x341)](_0x28a1b4)||_0x28a1b4<0x8||_0x28a1b4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43bf08+'\x22:\x20'+_0x55f0e6);_0x55f0e6=_0x28a1b4;}else{if(!this[_0x17d18d(0x232)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43bf08+_0x17d18d(0x308)+_0x55f0e6);}}else{if(_0x43bf08==='server_max_window_bits'){const _0x101d9a=+_0x55f0e6;if(!Number[_0x17d18d(0x341)](_0x101d9a)||_0x101d9a<0x8||_0x101d9a>0xf)throw new TypeError(_0x17d18d(0x20a)+_0x43bf08+_0x17d18d(0x308)+_0x55f0e6);_0x55f0e6=_0x101d9a;}else{if(_0x43bf08==='client_no_context_takeover'||_0x43bf08===_0x17d18d(0x248)){if(_0x55f0e6!==!0x0)throw new TypeError(_0x17d18d(0x20a)+_0x43bf08+_0x17d18d(0x308)+_0x55f0e6);}else throw new Error(_0x17d18d(0x266)+_0x43bf08+'\x22');}}_0x1ba568[_0x43bf08]=_0x55f0e6;});}),_0x58e1ba;}[_0x4813a9(0x213)](_0x1eb2bb,_0x48b86a,_0xa62795){const _0x5a4989=_0x4813a9;_0x298fea[_0x5a4989(0x342)](_0x4b8514=>{this['_decompress'](_0x1eb2bb,_0x48b86a,(_0x121087,_0x595507)=>{_0x4b8514(),_0xa62795(_0x121087,_0x595507);});});}[_0x4813a9(0x359)](_0x4a6da0,_0x2d492a,_0x4a6937){const _0x54c6df=_0x4813a9;_0x298fea[_0x54c6df(0x342)](_0x309ba4=>{const _0x1b3fb6=_0x54c6df;this[_0x1b3fb6(0x2b5)](_0x4a6da0,_0x2d492a,(_0x4cf43c,_0x3fd9ab)=>{_0x309ba4(),_0x4a6937(_0x4cf43c,_0x3fd9ab);});});}[_0x4813a9(0x2cc)](_0xefaf3b,_0x170c63,_0x59e4a9){const _0x16ab80=_0x4813a9,_0x36975c=this['_isServer']?_0x16ab80(0x196):_0x16ab80(0x1ba);if(!this[_0x16ab80(0x1b1)]){const _0x4dd42d=_0x36975c+_0x16ab80(0x1d6),_0x252a39=typeof this['params'][_0x4dd42d]!=_0x16ab80(0x2ad)?_0x2cbeab[_0x16ab80(0x1da)]:this[_0x16ab80(0x1ef)][_0x4dd42d];this[_0x16ab80(0x1b1)]=_0x2cbeab['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x252a39}),this[_0x16ab80(0x1b1)][_0x4f2697]=this,this[_0x16ab80(0x1b1)][_0x19fb9f]=0x0,this['_inflate'][_0x2708ce]=[],this[_0x16ab80(0x1b1)]['on'](_0x16ab80(0x1f0),_0x3a70bb),this['_inflate']['on'](_0x16ab80(0x226),_0x437cf0);}this[_0x16ab80(0x1b1)][_0x1095dc]=_0x59e4a9,this[_0x16ab80(0x1b1)][_0x16ab80(0x320)](_0xefaf3b),_0x170c63&&this[_0x16ab80(0x1b1)][_0x16ab80(0x320)](_0x43ef4c),this[_0x16ab80(0x1b1)][_0x16ab80(0x25f)](()=>{const _0x3957f6=_0x16ab80,_0x252959=this['_inflate'][_0x2db50d];if(_0x252959){this[_0x3957f6(0x1b1)][_0x3957f6(0x202)](),this[_0x3957f6(0x1b1)]=null,_0x59e4a9(_0x252959);return;}const _0x29da72=_0x1948b0[_0x3957f6(0x2c5)](this[_0x3957f6(0x1b1)][_0x2708ce],this[_0x3957f6(0x1b1)][_0x19fb9f]);this[_0x3957f6(0x1b1)][_0x3957f6(0x330)][_0x3957f6(0x22d)]?(this[_0x3957f6(0x1b1)][_0x3957f6(0x202)](),this[_0x3957f6(0x1b1)]=null):(this[_0x3957f6(0x1b1)][_0x19fb9f]=0x0,this[_0x3957f6(0x1b1)][_0x2708ce]=[],_0x170c63&&this[_0x3957f6(0x1ef)][_0x36975c+'_no_context_takeover']&&this[_0x3957f6(0x1b1)][_0x3957f6(0x31b)]()),_0x59e4a9(null,_0x29da72);});}[_0x4813a9(0x2b5)](_0x593937,_0x224bf9,_0x330088){const _0x13a530=_0x4813a9,_0x3db952=this[_0x13a530(0x232)]?_0x13a530(0x1ba):_0x13a530(0x196);if(!this[_0x13a530(0x2f8)]){const _0x28e771=_0x3db952+_0x13a530(0x1d6),_0x454ca3=typeof this['params'][_0x28e771]!='number'?_0x2cbeab[_0x13a530(0x1da)]:this[_0x13a530(0x1ef)][_0x28e771];this[_0x13a530(0x2f8)]=_0x2cbeab['createDeflateRaw']({...this[_0x13a530(0x2d9)][_0x13a530(0x31a)],'windowBits':_0x454ca3}),this[_0x13a530(0x2f8)][_0x19fb9f]=0x0,this[_0x13a530(0x2f8)][_0x2708ce]=[],this[_0x13a530(0x2f8)]['on'](_0x13a530(0x226),_0x42b38e);}this['_deflate'][_0x1095dc]=_0x330088,this['_deflate'][_0x13a530(0x320)](_0x593937),this[_0x13a530(0x2f8)][_0x13a530(0x25f)](_0x2cbeab['Z_SYNC_FLUSH'],()=>{const _0x1d82fb=_0x13a530;if(!this[_0x1d82fb(0x2f8)])return;let _0x1c9112=_0x1948b0[_0x1d82fb(0x2c5)](this[_0x1d82fb(0x2f8)][_0x2708ce],this['_deflate'][_0x19fb9f]);_0x224bf9&&(_0x1c9112=new _0x13e47d(_0x1c9112[_0x1d82fb(0x2d1)],_0x1c9112[_0x1d82fb(0x263)],_0x1c9112[_0x1d82fb(0x361)]-0x4)),this[_0x1d82fb(0x2f8)][_0x1095dc]=null,this[_0x1d82fb(0x2f8)][_0x19fb9f]=0x0,this[_0x1d82fb(0x2f8)][_0x2708ce]=[],_0x224bf9&&this[_0x1d82fb(0x1ef)][_0x3db952+'_no_context_takeover']&&this[_0x1d82fb(0x2f8)][_0x1d82fb(0x31b)](),_0x330088(null,_0x1c9112);});}}ve=_0xa81ca;function _0x42b38e(_0x1e897e){const _0x248030=_0x4813a9;this[_0x2708ce][_0x248030(0x206)](_0x1e897e),this[_0x19fb9f]+=_0x1e897e['length'];}function _0x437cf0(_0x3f7ad6){const _0x2fb770=_0x4813a9;if(this[_0x19fb9f]+=_0x3f7ad6[_0x2fb770(0x361)],this[_0x4f2697]['_maxPayload']<0x1||this[_0x19fb9f]<=this[_0x4f2697][_0x2fb770(0x259)]){this[_0x2708ce]['push'](_0x3f7ad6);return;}this[_0x2db50d]=new RangeError(_0x2fb770(0x34a)),this[_0x2db50d][_0x2fb770(0x24e)]=_0x2fb770(0x1d2),this[_0x2db50d][_0xd28435]=0x3f1,this['removeListener']('data',_0x437cf0),this[_0x2fb770(0x31b)]();}function _0x3a70bb(_0x160022){const _0x4d75d5=_0x4813a9;this[_0x4f2697][_0x4d75d5(0x1b1)]=null,_0x160022[_0xd28435]=0x3ef,this[_0x1095dc](_0x160022);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x11f02f(0x1fd)](Object[_0x11f02f(0x357)]({'__proto__':null,'default':Dt},Symbol[_0x11f02f(0x229)],{'value':_0x11f02f(0x2e1)})),Bt=at(Rt);var Ye;function ae(){const _0x4a7cb8=_0x11f02f;if(Ye)return ie[_0x4a7cb8(0x297)];Ye=0x1;const {isUtf8:_0x1c78f3}=wt,{hasBlob:_0x170f74}=H(),_0x14c5cb=[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 _0x3d202a(_0x4242b1){return _0x4242b1>=0x3e8&&_0x4242b1<=0x3f6&&_0x4242b1!==0x3ec&&_0x4242b1!==0x3ed&&_0x4242b1!==0x3ee||_0x4242b1>=0xbb8&&_0x4242b1<=0x1387;}function _0x4fc400(_0x11060b){const _0x18c922=_0x4a7cb8,_0x4b4db8=_0x11060b[_0x18c922(0x361)];let _0x1439a3=0x0;for(;_0x1439a3<_0x4b4db8;)if((_0x11060b[_0x1439a3]&0x80)===0x0)_0x1439a3++;else{if((_0x11060b[_0x1439a3]&0xe0)===0xc0){if(_0x1439a3+0x1===_0x4b4db8||(_0x11060b[_0x1439a3+0x1]&0xc0)!==0x80||(_0x11060b[_0x1439a3]&0xfe)===0xc0)return!0x1;_0x1439a3+=0x2;}else{if((_0x11060b[_0x1439a3]&0xf0)===0xe0){if(_0x1439a3+0x2>=_0x4b4db8||(_0x11060b[_0x1439a3+0x1]&0xc0)!==0x80||(_0x11060b[_0x1439a3+0x2]&0xc0)!==0x80||_0x11060b[_0x1439a3]===0xe0&&(_0x11060b[_0x1439a3+0x1]&0xe0)===0x80||_0x11060b[_0x1439a3]===0xed&&(_0x11060b[_0x1439a3+0x1]&0xe0)===0xa0)return!0x1;_0x1439a3+=0x3;}else{if((_0x11060b[_0x1439a3]&0xf8)===0xf0){if(_0x1439a3+0x3>=_0x4b4db8||(_0x11060b[_0x1439a3+0x1]&0xc0)!==0x80||(_0x11060b[_0x1439a3+0x2]&0xc0)!==0x80||(_0x11060b[_0x1439a3+0x3]&0xc0)!==0x80||_0x11060b[_0x1439a3]===0xf0&&(_0x11060b[_0x1439a3+0x1]&0xf0)===0x80||_0x11060b[_0x1439a3]===0xf4&&_0x11060b[_0x1439a3+0x1]>0x8f||_0x11060b[_0x1439a3]>0xf4)return!0x1;_0x1439a3+=0x4;}else return!0x1;}}}return!0x0;}function _0x283c02(_0x35dc8d){const _0x1106a4=_0x4a7cb8;return _0x170f74&&typeof _0x35dc8d==_0x1106a4(0x2ed)&&typeof _0x35dc8d[_0x1106a4(0x1c3)]==_0x1106a4(0x27e)&&typeof _0x35dc8d[_0x1106a4(0x309)]==_0x1106a4(0x2dd)&&typeof _0x35dc8d[_0x1106a4(0x2f5)]==_0x1106a4(0x27e)&&(_0x35dc8d[Symbol['toStringTag']]===_0x1106a4(0x201)||_0x35dc8d[Symbol[_0x1106a4(0x229)]]===_0x1106a4(0x2d0));}if(ie[_0x4a7cb8(0x297)]={'isBlob':_0x283c02,'isValidStatusCode':_0x3d202a,'isValidUTF8':_0x4fc400,'tokenChars':_0x14c5cb},_0x1c78f3)ie[_0x4a7cb8(0x297)][_0x4a7cb8(0x1ca)]=function(_0x2d8411){const _0x13e873=_0x4a7cb8;return _0x2d8411[_0x13e873(0x361)]<0x18?_0x4fc400(_0x2d8411):_0x1c78f3(_0x2d8411);};else{if(!process['env'][_0x4a7cb8(0x28e)])try{const _0x2c4169=Bt;ie['exports'][_0x4a7cb8(0x1ca)]=function(_0x3ddfcd){const _0xe651b5=_0x4a7cb8;return _0x3ddfcd[_0xe651b5(0x361)]<0x20?_0x4fc400(_0x3ddfcd):_0x2c4169(_0x3ddfcd);};}catch{}}return ie[_0x4a7cb8(0x297)];}var Se,Ke;function lt(){const _0x355875=_0x11f02f;if(Ke)return Se;Ke=0x1;const {Writable:_0x5d7bd0}=oe,_0x37527f=he(),{BINARY_TYPES:_0x252a98,EMPTY_BUFFER:_0x53ef7c,kStatusCode:_0x167ae5,kWebSocket:_0x4c291d}=H(),{concat:_0x54482f,toArrayBuffer:_0x1f4a9c,unmask:_0x3d08cf}=ce(),{isValidStatusCode:_0x43c629,isValidUTF8:_0x51e89d}=ae(),_0x35b702=Buffer[Symbol[_0x355875(0x340)]],_0x590ab0=0x0,_0x2b659b=0x1,_0x42f3a0=0x2,_0x57d4cc=0x3,_0x56a09=0x4,_0x3b8d8a=0x5,_0x390803=0x6;class _0x213bec extends _0x5d7bd0{constructor(_0x209d8f={}){const _0x16653d=_0x355875;super(),this[_0x16653d(0x268)]=_0x209d8f['allowSynchronousEvents']!==void 0x0?_0x209d8f[_0x16653d(0x197)]:!0x0,this[_0x16653d(0x27c)]=_0x209d8f[_0x16653d(0x2ae)]||_0x252a98[0x0],this[_0x16653d(0x2b7)]=_0x209d8f[_0x16653d(0x24c)]||{},this[_0x16653d(0x232)]=!!_0x209d8f[_0x16653d(0x267)],this[_0x16653d(0x259)]=_0x209d8f['maxPayload']|0x0,this[_0x16653d(0x318)]=!!_0x209d8f['skipUTF8Validation'],this[_0x4c291d]=void 0x0,this[_0x16653d(0x1d1)]=0x0,this['_buffers']=[],this[_0x16653d(0x221)]=!0x1,this['_payloadLength']=0x0,this[_0x16653d(0x33a)]=void 0x0,this[_0x16653d(0x2ec)]=0x0,this[_0x16653d(0x209)]=!0x1,this[_0x16653d(0x354)]=!0x1,this['_opcode']=0x0,this[_0x16653d(0x1fa)]=0x0,this[_0x16653d(0x323)]=0x0,this[_0x16653d(0x26b)]=[],this[_0x16653d(0x362)]=!0x1,this[_0x16653d(0x250)]=!0x1,this[_0x16653d(0x2be)]=_0x590ab0;}[_0x355875(0x2e3)](_0x56ca75,_0x15fd36,_0x98b576){const _0x4999b4=_0x355875;if(this[_0x4999b4(0x279)]===0x8&&this['_state']==_0x590ab0)return _0x98b576();this[_0x4999b4(0x1d1)]+=_0x56ca75[_0x4999b4(0x361)],this[_0x4999b4(0x345)][_0x4999b4(0x206)](_0x56ca75),this[_0x4999b4(0x224)](_0x98b576);}[_0x355875(0x1e2)](_0x3e0936){const _0x2538ad=_0x355875;if(this[_0x2538ad(0x1d1)]-=_0x3e0936,_0x3e0936===this['_buffers'][0x0]['length'])return this[_0x2538ad(0x345)][_0x2538ad(0x322)]();if(_0x3e0936<this[_0x2538ad(0x345)][0x0][_0x2538ad(0x361)]){const _0x4f7386=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x35b702(_0x4f7386[_0x2538ad(0x2d1)],_0x4f7386['byteOffset']+_0x3e0936,_0x4f7386['length']-_0x3e0936),new _0x35b702(_0x4f7386[_0x2538ad(0x2d1)],_0x4f7386[_0x2538ad(0x263)],_0x3e0936);}const _0x39917f=Buffer[_0x2538ad(0x1c4)](_0x3e0936);do{const _0x3b02ae=this[_0x2538ad(0x345)][0x0],_0x52d4d0=_0x39917f[_0x2538ad(0x361)]-_0x3e0936;_0x3e0936>=_0x3b02ae[_0x2538ad(0x361)]?_0x39917f['set'](this[_0x2538ad(0x345)][_0x2538ad(0x322)](),_0x52d4d0):(_0x39917f[_0x2538ad(0x307)](new Uint8Array(_0x3b02ae[_0x2538ad(0x2d1)],_0x3b02ae['byteOffset'],_0x3e0936),_0x52d4d0),this[_0x2538ad(0x345)][0x0]=new _0x35b702(_0x3b02ae[_0x2538ad(0x2d1)],_0x3b02ae[_0x2538ad(0x263)]+_0x3e0936,_0x3b02ae[_0x2538ad(0x361)]-_0x3e0936)),_0x3e0936-=_0x3b02ae[_0x2538ad(0x361)];}while(_0x3e0936>0x0);return _0x39917f;}[_0x355875(0x224)](_0x4c1b13){const _0x10e497=_0x355875;this[_0x10e497(0x250)]=!0x0;do switch(this['_state']){case _0x590ab0:this[_0x10e497(0x29a)](_0x4c1b13);break;case _0x2b659b:this['getPayloadLength16'](_0x4c1b13);break;case _0x42f3a0:this[_0x10e497(0x30e)](_0x4c1b13);break;case _0x57d4cc:this[_0x10e497(0x1f8)]();break;case _0x56a09:this['getData'](_0x4c1b13);break;case _0x3b8d8a:case _0x390803:this['_loop']=!0x1;return;}while(this[_0x10e497(0x250)]);this['_errored']||_0x4c1b13();}['getInfo'](_0x1eccdf){const _0x29b0ff=_0x355875;if(this[_0x29b0ff(0x1d1)]<0x2){this[_0x29b0ff(0x250)]=!0x1;return;}const _0x4ecf5e=this[_0x29b0ff(0x1e2)](0x2);if((_0x4ecf5e[0x0]&0x30)!==0x0){const _0x2cd4f3=this['createError'](RangeError,_0x29b0ff(0x25c),!0x0,0x3ea,_0x29b0ff(0x298));_0x1eccdf(_0x2cd4f3);return;}const _0x4f7ff1=(_0x4ecf5e[0x0]&0x40)===0x40;if(_0x4f7ff1&&!this[_0x29b0ff(0x2b7)][_0x37527f[_0x29b0ff(0x339)]]){const _0x4e73ed=this[_0x29b0ff(0x300)](RangeError,_0x29b0ff(0x328),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1eccdf(_0x4e73ed);return;}if(this[_0x29b0ff(0x354)]=(_0x4ecf5e[0x0]&0x80)===0x80,this[_0x29b0ff(0x279)]=_0x4ecf5e[0x0]&0xf,this[_0x29b0ff(0x305)]=_0x4ecf5e[0x1]&0x7f,this[_0x29b0ff(0x279)]===0x0){if(_0x4f7ff1){const _0x557b96=this[_0x29b0ff(0x300)](RangeError,_0x29b0ff(0x328),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1eccdf(_0x557b96);return;}if(!this[_0x29b0ff(0x2ec)]){const _0x5523f2=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x29b0ff(0x1a7));_0x1eccdf(_0x5523f2);return;}this['_opcode']=this[_0x29b0ff(0x2ec)];}else{if(this[_0x29b0ff(0x279)]===0x1||this['_opcode']===0x2){if(this[_0x29b0ff(0x2ec)]){const _0x2b1c88=this[_0x29b0ff(0x300)](RangeError,_0x29b0ff(0x2db)+this[_0x29b0ff(0x279)],!0x0,0x3ea,_0x29b0ff(0x1a7));_0x1eccdf(_0x2b1c88);return;}this[_0x29b0ff(0x221)]=_0x4f7ff1;}else{if(this[_0x29b0ff(0x279)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x428dc5=this['createError'](RangeError,_0x29b0ff(0x351),!0x0,0x3ea,_0x29b0ff(0x1ee));_0x1eccdf(_0x428dc5);return;}if(_0x4f7ff1){const _0x1b203b=this[_0x29b0ff(0x300)](RangeError,_0x29b0ff(0x328),!0x0,0x3ea,_0x29b0ff(0x2cb));_0x1eccdf(_0x1b203b);return;}if(this[_0x29b0ff(0x305)]>0x7d||this[_0x29b0ff(0x279)]===0x8&&this[_0x29b0ff(0x305)]===0x1){const _0x3bef27=this['createError'](RangeError,_0x29b0ff(0x1b2)+this[_0x29b0ff(0x305)],!0x0,0x3ea,_0x29b0ff(0x2ee));_0x1eccdf(_0x3bef27);return;}}else{const _0x4a8dbf=this[_0x29b0ff(0x300)](RangeError,_0x29b0ff(0x2db)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1eccdf(_0x4a8dbf);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x29b0ff(0x2ec)]=this[_0x29b0ff(0x279)]),this[_0x29b0ff(0x209)]=(_0x4ecf5e[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x29b0ff(0x209)]){const _0x56c084=this[_0x29b0ff(0x300)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1eccdf(_0x56c084);return;}}else{if(this[_0x29b0ff(0x209)]){const _0x5e0249=this['createError'](RangeError,_0x29b0ff(0x256),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x1eccdf(_0x5e0249);return;}}this[_0x29b0ff(0x305)]===0x7e?this[_0x29b0ff(0x2be)]=_0x2b659b:this[_0x29b0ff(0x305)]===0x7f?this['_state']=_0x42f3a0:this['haveLength'](_0x1eccdf);}['getPayloadLength16'](_0x50dcd0){const _0x3b9236=_0x355875;if(this[_0x3b9236(0x1d1)]<0x2){this['_loop']=!0x1;return;}this[_0x3b9236(0x305)]=this[_0x3b9236(0x1e2)](0x2)[_0x3b9236(0x271)](0x0),this['haveLength'](_0x50dcd0);}['getPayloadLength64'](_0x1a6ea3){const _0x41baeb=_0x355875;if(this[_0x41baeb(0x1d1)]<0x8){this['_loop']=!0x1;return;}const _0x11fc71=this[_0x41baeb(0x1e2)](0x8),_0x5c7d30=_0x11fc71[_0x41baeb(0x32f)](0x0);if(_0x5c7d30>Math[_0x41baeb(0x241)](0x2,0x15)-0x1){const _0x35eb2e=this[_0x41baeb(0x300)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x41baeb(0x2f2));_0x1a6ea3(_0x35eb2e);return;}this[_0x41baeb(0x305)]=_0x5c7d30*Math['pow'](0x2,0x20)+_0x11fc71[_0x41baeb(0x32f)](0x4),this['haveLength'](_0x1a6ea3);}[_0x355875(0x30b)](_0x3e4f9a){const _0xca9dc0=_0x355875;if(this['_payloadLength']&&this[_0xca9dc0(0x279)]<0x8&&(this[_0xca9dc0(0x1fa)]+=this[_0xca9dc0(0x305)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0xca9dc0(0x259)]>0x0)){const _0x58b270=this[_0xca9dc0(0x300)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xca9dc0(0x1d2));_0x3e4f9a(_0x58b270);return;}this[_0xca9dc0(0x209)]?this[_0xca9dc0(0x2be)]=_0x57d4cc:this[_0xca9dc0(0x2be)]=_0x56a09;}[_0x355875(0x1f8)](){const _0x1480ad=_0x355875;if(this[_0x1480ad(0x1d1)]<0x4){this[_0x1480ad(0x250)]=!0x1;return;}this[_0x1480ad(0x33a)]=this[_0x1480ad(0x1e2)](0x4),this[_0x1480ad(0x2be)]=_0x56a09;}[_0x355875(0x314)](_0x36dd4e){const _0x1b5a00=_0x355875;let _0x2b61f2=_0x53ef7c;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x1b5a00(0x250)]=!0x1;return;}_0x2b61f2=this[_0x1b5a00(0x1e2)](this[_0x1b5a00(0x305)]),this[_0x1b5a00(0x209)]&&(this[_0x1b5a00(0x33a)][0x0]|this[_0x1b5a00(0x33a)][0x1]|this[_0x1b5a00(0x33a)][0x2]|this['_mask'][0x3])!==0x0&&_0x3d08cf(_0x2b61f2,this[_0x1b5a00(0x33a)]);}if(this['_opcode']>0x7){this[_0x1b5a00(0x20b)](_0x2b61f2,_0x36dd4e);return;}if(this['_compressed']){this[_0x1b5a00(0x2be)]=_0x3b8d8a,this['decompress'](_0x2b61f2,_0x36dd4e);return;}_0x2b61f2[_0x1b5a00(0x361)]&&(this[_0x1b5a00(0x323)]=this[_0x1b5a00(0x1fa)],this['_fragments'][_0x1b5a00(0x206)](_0x2b61f2)),this[_0x1b5a00(0x25a)](_0x36dd4e);}[_0x355875(0x213)](_0x5e5583,_0x426898){const _0x3faff8=_0x355875;this['_extensions'][_0x37527f['extensionName']][_0x3faff8(0x213)](_0x5e5583,this[_0x3faff8(0x354)],(_0x307c6c,_0x47c855)=>{const _0x347cae=_0x3faff8;if(_0x307c6c)return _0x426898(_0x307c6c);if(_0x47c855[_0x347cae(0x361)]){if(this[_0x347cae(0x323)]+=_0x47c855[_0x347cae(0x361)],this[_0x347cae(0x323)]>this[_0x347cae(0x259)]&&this['_maxPayload']>0x0){const _0x4d3610=this[_0x347cae(0x300)](RangeError,_0x347cae(0x34a),!0x1,0x3f1,_0x347cae(0x1d2));_0x426898(_0x4d3610);return;}this[_0x347cae(0x26b)][_0x347cae(0x206)](_0x47c855);}this[_0x347cae(0x25a)](_0x426898),this['_state']===_0x590ab0&&this[_0x347cae(0x224)](_0x426898);});}[_0x355875(0x25a)](_0x15f859){const _0x46a503=_0x355875;if(!this[_0x46a503(0x354)]){this[_0x46a503(0x2be)]=_0x590ab0;return;}const _0xc67d8=this[_0x46a503(0x323)],_0x5b1810=this[_0x46a503(0x26b)];if(this['_totalPayloadLength']=0x0,this[_0x46a503(0x323)]=0x0,this[_0x46a503(0x2ec)]=0x0,this[_0x46a503(0x26b)]=[],this[_0x46a503(0x279)]===0x2){let _0x168dda;this[_0x46a503(0x27c)]===_0x46a503(0x2c7)?_0x168dda=_0x54482f(_0x5b1810,_0xc67d8):this[_0x46a503(0x27c)]===_0x46a503(0x23f)?_0x168dda=_0x1f4a9c(_0x54482f(_0x5b1810,_0xc67d8)):this['_binaryType']===_0x46a503(0x1d5)?_0x168dda=new Blob(_0x5b1810):_0x168dda=_0x5b1810,this['_allowSynchronousEvents']?(this['emit'](_0x46a503(0x34c),_0x168dda,!0x0),this[_0x46a503(0x2be)]=_0x590ab0):(this[_0x46a503(0x2be)]=_0x390803,setImmediate(()=>{const _0x517653=_0x46a503;this[_0x517653(0x27a)](_0x517653(0x34c),_0x168dda,!0x0),this[_0x517653(0x2be)]=_0x590ab0,this['startLoop'](_0x15f859);}));}else{const _0x444afe=_0x54482f(_0x5b1810,_0xc67d8);if(!this[_0x46a503(0x318)]&&!_0x51e89d(_0x444afe)){const _0x31b0c0=this[_0x46a503(0x300)](Error,_0x46a503(0x1ae),!0x0,0x3ef,_0x46a503(0x349));_0x15f859(_0x31b0c0);return;}this['_state']===_0x3b8d8a||this[_0x46a503(0x268)]?(this[_0x46a503(0x27a)]('message',_0x444afe,!0x1),this[_0x46a503(0x2be)]=_0x590ab0):(this[_0x46a503(0x2be)]=_0x390803,setImmediate(()=>{const _0x27b0c4=_0x46a503;this[_0x27b0c4(0x27a)]('message',_0x444afe,!0x1),this['_state']=_0x590ab0,this[_0x27b0c4(0x224)](_0x15f859);}));}}[_0x355875(0x20b)](_0x5bb97b,_0x437ebc){const _0x1820e4=_0x355875;if(this['_opcode']===0x8){if(_0x5bb97b[_0x1820e4(0x361)]===0x0)this[_0x1820e4(0x250)]=!0x1,this[_0x1820e4(0x27a)]('conclude',0x3ed,_0x53ef7c),this[_0x1820e4(0x30f)]();else{const _0x960ae7=_0x5bb97b[_0x1820e4(0x271)](0x0);if(!_0x43c629(_0x960ae7)){const _0x406f60=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x960ae7,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x437ebc(_0x406f60);return;}const _0x36ae78=new _0x35b702(_0x5bb97b['buffer'],_0x5bb97b[_0x1820e4(0x263)]+0x2,_0x5bb97b[_0x1820e4(0x361)]-0x2);if(!this['_skipUTF8Validation']&&!_0x51e89d(_0x36ae78)){const _0x491243=this[_0x1820e4(0x300)](Error,_0x1820e4(0x1ae),!0x0,0x3ef,_0x1820e4(0x349));_0x437ebc(_0x491243);return;}this[_0x1820e4(0x250)]=!0x1,this[_0x1820e4(0x27a)](_0x1820e4(0x1a8),_0x960ae7,_0x36ae78),this[_0x1820e4(0x30f)]();}this[_0x1820e4(0x2be)]=_0x590ab0;return;}this[_0x1820e4(0x268)]?(this[_0x1820e4(0x27a)](this[_0x1820e4(0x279)]===0x9?_0x1820e4(0x19d):_0x1820e4(0x211),_0x5bb97b),this[_0x1820e4(0x2be)]=_0x590ab0):(this[_0x1820e4(0x2be)]=_0x390803,setImmediate(()=>{const _0x2c1893=_0x1820e4;this[_0x2c1893(0x27a)](this[_0x2c1893(0x279)]===0x9?_0x2c1893(0x19d):_0x2c1893(0x211),_0x5bb97b),this[_0x2c1893(0x2be)]=_0x590ab0,this[_0x2c1893(0x224)](_0x437ebc);}));}[_0x355875(0x300)](_0x1fde1f,_0x415677,_0x1f2183,_0x216a22,_0x31c863){const _0x3d8555=_0x355875;this[_0x3d8555(0x250)]=!0x1,this[_0x3d8555(0x362)]=!0x0;const _0x3b3081=new _0x1fde1f(_0x1f2183?_0x3d8555(0x1b0)+_0x415677:_0x415677);return Error['captureStackTrace'](_0x3b3081,this[_0x3d8555(0x300)]),_0x3b3081['code']=_0x31c863,_0x3b3081[_0x167ae5]=_0x216a22,_0x3b3081;}}return Se=_0x213bec,Se;}var Ee,Xe;function ft(){const _0x439a4f=_0x11f02f;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1f1605}=oe,{randomFillSync:_0x5ad9f8}=Le,_0x519550=he(),{EMPTY_BUFFER:_0x4b0d5b,kWebSocket:_0x29292a,NOOP:_0x5c263b}=H(),{isBlob:_0xdc8777,isValidStatusCode:_0x2227bf}=ae(),{mask:_0x28463e,toBuffer:_0x1fa070}=ce(),_0x3032ad=Symbol(_0x439a4f(0x2bf)),_0x222765=Buffer[_0x439a4f(0x2da)](0x4),_0x4acba7=0x8*0x400;let _0x5071f5,_0x24d03a=_0x4acba7;const _0x34beb8=0x0,_0x5f2238=0x1,_0x3c5762=0x2;class _0x5ae07b{constructor(_0x3cb64f,_0x5c03b1,_0x22dadc){const _0x45488f=_0x439a4f;this['_extensions']=_0x5c03b1||{},_0x22dadc&&(this[_0x45488f(0x306)]=_0x22dadc,this['_maskBuffer']=Buffer[_0x45488f(0x2da)](0x4)),this[_0x45488f(0x291)]=_0x3cb64f,this[_0x45488f(0x214)]=!0x0,this[_0x45488f(0x2b5)]=!0x1,this['_bufferedBytes']=0x0,this[_0x45488f(0x2b0)]=[],this[_0x45488f(0x2be)]=_0x34beb8,this['onerror']=_0x5c263b,this[_0x29292a]=void 0x0;}static[_0x439a4f(0x302)](_0x146830,_0x279bf1){const _0x230496=_0x439a4f;let _0x38c2c1,_0x80c8a0=!0x1,_0x499073=0x2,_0x4ba309=!0x1;_0x279bf1[_0x230496(0x193)]&&(_0x38c2c1=_0x279bf1['maskBuffer']||_0x222765,_0x279bf1['generateMask']?_0x279bf1[_0x230496(0x2bb)](_0x38c2c1):(_0x24d03a===_0x4acba7&&(_0x5071f5===void 0x0&&(_0x5071f5=Buffer[_0x230496(0x2da)](_0x4acba7)),_0x5ad9f8(_0x5071f5,0x0,_0x4acba7),_0x24d03a=0x0),_0x38c2c1[0x0]=_0x5071f5[_0x24d03a++],_0x38c2c1[0x1]=_0x5071f5[_0x24d03a++],_0x38c2c1[0x2]=_0x5071f5[_0x24d03a++],_0x38c2c1[0x3]=_0x5071f5[_0x24d03a++]),_0x4ba309=(_0x38c2c1[0x0]|_0x38c2c1[0x1]|_0x38c2c1[0x2]|_0x38c2c1[0x3])===0x0,_0x499073=0x6);let _0x50d9a3;typeof _0x146830==_0x230496(0x2dd)?(!_0x279bf1['mask']||_0x4ba309)&&_0x279bf1[_0x3032ad]!==void 0x0?_0x50d9a3=_0x279bf1[_0x3032ad]:(_0x146830=Buffer['from'](_0x146830),_0x50d9a3=_0x146830[_0x230496(0x361)]):(_0x50d9a3=_0x146830[_0x230496(0x361)],_0x80c8a0=_0x279bf1['mask']&&_0x279bf1[_0x230496(0x273)]&&!_0x4ba309);let _0x7bee91=_0x50d9a3;_0x50d9a3>=0x10000?(_0x499073+=0x8,_0x7bee91=0x7f):_0x50d9a3>0x7d&&(_0x499073+=0x2,_0x7bee91=0x7e);const _0x12c329=Buffer[_0x230496(0x1c4)](_0x80c8a0?_0x50d9a3+_0x499073:_0x499073);return _0x12c329[0x0]=_0x279bf1[_0x230496(0x1bf)]?_0x279bf1[_0x230496(0x21e)]|0x80:_0x279bf1[_0x230496(0x21e)],_0x279bf1[_0x230496(0x1f1)]&&(_0x12c329[0x0]|=0x40),_0x12c329[0x1]=_0x7bee91,_0x7bee91===0x7e?_0x12c329[_0x230496(0x310)](_0x50d9a3,0x2):_0x7bee91===0x7f&&(_0x12c329[0x2]=_0x12c329[0x3]=0x0,_0x12c329[_0x230496(0x346)](_0x50d9a3,0x4,0x6)),_0x279bf1[_0x230496(0x193)]?(_0x12c329[0x1]|=0x80,_0x12c329[_0x499073-0x4]=_0x38c2c1[0x0],_0x12c329[_0x499073-0x3]=_0x38c2c1[0x1],_0x12c329[_0x499073-0x2]=_0x38c2c1[0x2],_0x12c329[_0x499073-0x1]=_0x38c2c1[0x3],_0x4ba309?[_0x12c329,_0x146830]:_0x80c8a0?(_0x28463e(_0x146830,_0x38c2c1,_0x12c329,_0x499073,_0x50d9a3),[_0x12c329]):(_0x28463e(_0x146830,_0x38c2c1,_0x146830,0x0,_0x50d9a3),[_0x12c329,_0x146830])):[_0x12c329,_0x146830];}[_0x439a4f(0x202)](_0x5c3ede,_0x3101e5,_0x3f4b31,_0x2e1e39){const _0x4d2787=_0x439a4f;let _0x2d32ec;if(_0x5c3ede===void 0x0)_0x2d32ec=_0x4b0d5b;else{if(typeof _0x5c3ede!=_0x4d2787(0x2ad)||!_0x2227bf(_0x5c3ede))throw new TypeError(_0x4d2787(0x2df));if(_0x3101e5===void 0x0||!_0x3101e5['length'])_0x2d32ec=Buffer[_0x4d2787(0x1c4)](0x2),_0x2d32ec[_0x4d2787(0x310)](_0x5c3ede,0x0);else{const _0x95153a=Buffer['byteLength'](_0x3101e5);if(_0x95153a>0x7b)throw new RangeError(_0x4d2787(0x253));_0x2d32ec=Buffer[_0x4d2787(0x1c4)](0x2+_0x95153a),_0x2d32ec[_0x4d2787(0x310)](_0x5c3ede,0x0),typeof _0x3101e5==_0x4d2787(0x2dd)?_0x2d32ec[_0x4d2787(0x320)](_0x3101e5,0x2):_0x2d32ec[_0x4d2787(0x307)](_0x3101e5,0x2);}}const _0x13f83c={[_0x3032ad]:_0x2d32ec[_0x4d2787(0x361)],'fin':!0x0,'generateMask':this[_0x4d2787(0x306)],'mask':_0x3f4b31,'maskBuffer':this[_0x4d2787(0x35d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x34beb8?this[_0x4d2787(0x29e)]([this[_0x4d2787(0x356)],_0x2d32ec,!0x1,_0x13f83c,_0x2e1e39]):this[_0x4d2787(0x2a6)](_0x5ae07b['frame'](_0x2d32ec,_0x13f83c),_0x2e1e39);}['ping'](_0x86588e,_0x247a57,_0x64ee36){const _0x370e65=_0x439a4f;let _0x2839f9,_0x5a40ea;if(typeof _0x86588e==_0x370e65(0x2dd)?(_0x2839f9=Buffer[_0x370e65(0x335)](_0x86588e),_0x5a40ea=!0x1):_0xdc8777(_0x86588e)?(_0x2839f9=_0x86588e[_0x370e65(0x289)],_0x5a40ea=!0x1):(_0x86588e=_0x1fa070(_0x86588e),_0x2839f9=_0x86588e[_0x370e65(0x361)],_0x5a40ea=_0x1fa070[_0x370e65(0x273)]),_0x2839f9>0x7d)throw new RangeError(_0x370e65(0x219));const _0x14d7a4={[_0x3032ad]:_0x2839f9,'fin':!0x0,'generateMask':this[_0x370e65(0x306)],'mask':_0x247a57,'maskBuffer':this[_0x370e65(0x35d)],'opcode':0x9,'readOnly':_0x5a40ea,'rsv1':!0x1};_0xdc8777(_0x86588e)?this[_0x370e65(0x2be)]!==_0x34beb8?this['enqueue']([this[_0x370e65(0x23c)],_0x86588e,!0x1,_0x14d7a4,_0x64ee36]):this['getBlobData'](_0x86588e,!0x1,_0x14d7a4,_0x64ee36):this[_0x370e65(0x2be)]!==_0x34beb8?this[_0x370e65(0x29e)]([this[_0x370e65(0x356)],_0x86588e,!0x1,_0x14d7a4,_0x64ee36]):this[_0x370e65(0x2a6)](_0x5ae07b['frame'](_0x86588e,_0x14d7a4),_0x64ee36);}[_0x439a4f(0x211)](_0x5b043d,_0x2a8865,_0x523a1f){const _0x4b6e53=_0x439a4f;let _0x42b0d0,_0x3e0b69;if(typeof _0x5b043d==_0x4b6e53(0x2dd)?(_0x42b0d0=Buffer[_0x4b6e53(0x335)](_0x5b043d),_0x3e0b69=!0x1):_0xdc8777(_0x5b043d)?(_0x42b0d0=_0x5b043d['size'],_0x3e0b69=!0x1):(_0x5b043d=_0x1fa070(_0x5b043d),_0x42b0d0=_0x5b043d[_0x4b6e53(0x361)],_0x3e0b69=_0x1fa070[_0x4b6e53(0x273)]),_0x42b0d0>0x7d)throw new RangeError(_0x4b6e53(0x219));const _0xa07cde={[_0x3032ad]:_0x42b0d0,'fin':!0x0,'generateMask':this[_0x4b6e53(0x306)],'mask':_0x2a8865,'maskBuffer':this[_0x4b6e53(0x35d)],'opcode':0xa,'readOnly':_0x3e0b69,'rsv1':!0x1};_0xdc8777(_0x5b043d)?this[_0x4b6e53(0x2be)]!==_0x34beb8?this['enqueue']([this[_0x4b6e53(0x23c)],_0x5b043d,!0x1,_0xa07cde,_0x523a1f]):this[_0x4b6e53(0x23c)](_0x5b043d,!0x1,_0xa07cde,_0x523a1f):this[_0x4b6e53(0x2be)]!==_0x34beb8?this[_0x4b6e53(0x29e)]([this[_0x4b6e53(0x356)],_0x5b043d,!0x1,_0xa07cde,_0x523a1f]):this[_0x4b6e53(0x2a6)](_0x5ae07b[_0x4b6e53(0x302)](_0x5b043d,_0xa07cde),_0x523a1f);}['send'](_0x2cc45f,_0x174882,_0xb922b1){const _0xeb5ae3=_0x439a4f,_0x1d3244=this[_0xeb5ae3(0x2b7)][_0x519550['extensionName']];let _0x4012b5=_0x174882['binary']?0x2:0x1,_0x53e3b4=_0x174882[_0xeb5ae3(0x359)],_0x255902,_0x400588;typeof _0x2cc45f==_0xeb5ae3(0x2dd)?(_0x255902=Buffer['byteLength'](_0x2cc45f),_0x400588=!0x1):_0xdc8777(_0x2cc45f)?(_0x255902=_0x2cc45f['size'],_0x400588=!0x1):(_0x2cc45f=_0x1fa070(_0x2cc45f),_0x255902=_0x2cc45f['length'],_0x400588=_0x1fa070[_0xeb5ae3(0x273)]),this[_0xeb5ae3(0x214)]?(this[_0xeb5ae3(0x214)]=!0x1,_0x53e3b4&&_0x1d3244&&_0x1d3244[_0xeb5ae3(0x1ef)][_0x1d3244[_0xeb5ae3(0x232)]?_0xeb5ae3(0x248):_0xeb5ae3(0x284)]&&(_0x53e3b4=_0x255902>=_0x1d3244[_0xeb5ae3(0x2e8)]),this[_0xeb5ae3(0x2b5)]=_0x53e3b4):(_0x53e3b4=!0x1,_0x4012b5=0x0),_0x174882[_0xeb5ae3(0x1bf)]&&(this[_0xeb5ae3(0x214)]=!0x0);const _0x490de6={[_0x3032ad]:_0x255902,'fin':_0x174882[_0xeb5ae3(0x1bf)],'generateMask':this[_0xeb5ae3(0x306)],'mask':_0x174882[_0xeb5ae3(0x193)],'maskBuffer':this[_0xeb5ae3(0x35d)],'opcode':_0x4012b5,'readOnly':_0x400588,'rsv1':_0x53e3b4};_0xdc8777(_0x2cc45f)?this[_0xeb5ae3(0x2be)]!==_0x34beb8?this[_0xeb5ae3(0x29e)]([this['getBlobData'],_0x2cc45f,this[_0xeb5ae3(0x2b5)],_0x490de6,_0xb922b1]):this[_0xeb5ae3(0x23c)](_0x2cc45f,this[_0xeb5ae3(0x2b5)],_0x490de6,_0xb922b1):this[_0xeb5ae3(0x2be)]!==_0x34beb8?this[_0xeb5ae3(0x29e)]([this[_0xeb5ae3(0x356)],_0x2cc45f,this['_compress'],_0x490de6,_0xb922b1]):this['dispatch'](_0x2cc45f,this['_compress'],_0x490de6,_0xb922b1);}[_0x439a4f(0x23c)](_0x4f5e33,_0x100d5c,_0x27608b,_0x4b273c){const _0x2e3aa1=_0x439a4f;this[_0x2e3aa1(0x1d1)]+=_0x27608b[_0x3032ad],this[_0x2e3aa1(0x2be)]=_0x3c5762,_0x4f5e33['arrayBuffer']()['then'](_0x1ea9ae=>{const _0x36774b=_0x2e3aa1;if(this[_0x36774b(0x291)]['destroyed']){const _0x41427a=new Error(_0x36774b(0x262));process[_0x36774b(0x2e7)](_0x4aa1b7,this,_0x41427a,_0x4b273c);return;}this[_0x36774b(0x1d1)]-=_0x27608b[_0x3032ad];const _0x3360ab=_0x1fa070(_0x1ea9ae);_0x100d5c?this[_0x36774b(0x356)](_0x3360ab,_0x100d5c,_0x27608b,_0x4b273c):(this['_state']=_0x34beb8,this[_0x36774b(0x2a6)](_0x5ae07b[_0x36774b(0x302)](_0x3360ab,_0x27608b),_0x4b273c),this['dequeue']());})[_0x2e3aa1(0x19c)](_0x495879=>{process['nextTick'](_0x111da7,this,_0x495879,_0x4b273c);});}[_0x439a4f(0x356)](_0x48ff2d,_0xea3b67,_0x55a361,_0x5700fe){const _0x14a8b7=_0x439a4f;if(!_0xea3b67){this[_0x14a8b7(0x2a6)](_0x5ae07b[_0x14a8b7(0x302)](_0x48ff2d,_0x55a361),_0x5700fe);return;}const _0x4052dd=this[_0x14a8b7(0x2b7)][_0x519550[_0x14a8b7(0x339)]];this[_0x14a8b7(0x1d1)]+=_0x55a361[_0x3032ad],this[_0x14a8b7(0x2be)]=_0x5f2238,_0x4052dd['compress'](_0x48ff2d,_0x55a361[_0x14a8b7(0x1bf)],(_0x10d465,_0x39045f)=>{const _0x14ce05=_0x14a8b7;if(this[_0x14ce05(0x291)][_0x14ce05(0x239)]){const _0x40e760=new Error(_0x14ce05(0x1a4));_0x4aa1b7(this,_0x40e760,_0x5700fe);return;}this[_0x14ce05(0x1d1)]-=_0x55a361[_0x3032ad],this[_0x14ce05(0x2be)]=_0x34beb8,_0x55a361[_0x14ce05(0x273)]=!0x1,this['sendFrame'](_0x5ae07b[_0x14ce05(0x302)](_0x39045f,_0x55a361),_0x5700fe),this['dequeue']();});}[_0x439a4f(0x35f)](){const _0x4051ad=_0x439a4f;for(;this[_0x4051ad(0x2be)]===_0x34beb8&&this['_queue'][_0x4051ad(0x361)];){const _0x2bcf1d=this[_0x4051ad(0x2b0)]['shift']();this[_0x4051ad(0x1d1)]-=_0x2bcf1d[0x3][_0x3032ad],Reflect['apply'](_0x2bcf1d[0x0],this,_0x2bcf1d[_0x4051ad(0x26c)](0x1));}}[_0x439a4f(0x29e)](_0x2a2bb0){const _0x5a4b6a=_0x439a4f;this[_0x5a4b6a(0x1d1)]+=_0x2a2bb0[0x3][_0x3032ad],this['_queue'][_0x5a4b6a(0x206)](_0x2a2bb0);}[_0x439a4f(0x2a6)](_0x1aab2a,_0x547002){const _0x17169d=_0x439a4f;_0x1aab2a[_0x17169d(0x361)]===0x2?(this[_0x17169d(0x291)]['cork'](),this['_socket']['write'](_0x1aab2a[0x0]),this[_0x17169d(0x291)][_0x17169d(0x320)](_0x1aab2a[0x1],_0x547002),this[_0x17169d(0x291)][_0x17169d(0x2ba)]()):this[_0x17169d(0x291)][_0x17169d(0x320)](_0x1aab2a[0x0],_0x547002);}}Ee=_0x5ae07b;function _0x4aa1b7(_0xaa6cb5,_0x46e533,_0x10915d){const _0x3da436=_0x439a4f;typeof _0x10915d==_0x3da436(0x27e)&&_0x10915d(_0x46e533);for(let _0x54043c=0x0;_0x54043c<_0xaa6cb5[_0x3da436(0x2b0)][_0x3da436(0x361)];_0x54043c++){const _0x15744d=_0xaa6cb5[_0x3da436(0x2b0)][_0x54043c],_0x5f424b=_0x15744d[_0x15744d['length']-0x1];typeof _0x5f424b==_0x3da436(0x27e)&&_0x5f424b(_0x46e533);}}function _0x111da7(_0x58ecab,_0x4ea022,_0x38fd05){const _0x50466a=_0x439a4f;_0x4aa1b7(_0x58ecab,_0x4ea022,_0x38fd05),_0x58ecab[_0x50466a(0x32c)](_0x4ea022);}return Ee;}var xe,Ze;function It(){const _0x49e6ac=_0x11f02f;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x25292d,kListener:_0xefe0f0}=H(),_0x329790=Symbol(_0x49e6ac(0x304)),_0x1a92e6=Symbol('kData'),_0x73cc0b=Symbol(_0x49e6ac(0x294)),_0x218744=Symbol('kMessage'),_0x1655f8=Symbol(_0x49e6ac(0x230)),_0xd58257=Symbol(_0x49e6ac(0x2d4)),_0x12f221=Symbol('kType'),_0x3603a3=Symbol(_0x49e6ac(0x319));class _0x78e531{constructor(_0x17d701){this[_0xd58257]=null,this[_0x12f221]=_0x17d701;}get[_0x49e6ac(0x1ff)](){return this[_0xd58257];}get['type'](){return this[_0x12f221];}}Object[_0x49e6ac(0x357)](_0x78e531['prototype'],_0x49e6ac(0x1ff),{'enumerable':!0x0}),Object['defineProperty'](_0x78e531[_0x49e6ac(0x24d)],_0x49e6ac(0x309),{'enumerable':!0x0});class _0x5dea18 extends _0x78e531{constructor(_0x204b7a,_0x49fff2={}){const _0x4fea18=_0x49e6ac;super(_0x204b7a),this[_0x329790]=_0x49fff2['code']===void 0x0?0x0:_0x49fff2[_0x4fea18(0x24e)],this[_0x1655f8]=_0x49fff2['reason']===void 0x0?'':_0x49fff2[_0x4fea18(0x24b)],this[_0x3603a3]=_0x49fff2[_0x4fea18(0x286)]===void 0x0?!0x1:_0x49fff2[_0x4fea18(0x286)];}get[_0x49e6ac(0x24e)](){return this[_0x329790];}get[_0x49e6ac(0x24b)](){return this[_0x1655f8];}get[_0x49e6ac(0x286)](){return this[_0x3603a3];}}Object[_0x49e6ac(0x357)](_0x5dea18[_0x49e6ac(0x24d)],_0x49e6ac(0x24e),{'enumerable':!0x0}),Object['defineProperty'](_0x5dea18[_0x49e6ac(0x24d)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x5dea18[_0x49e6ac(0x24d)],_0x49e6ac(0x286),{'enumerable':!0x0});class _0x54f01b extends _0x78e531{constructor(_0xd2dd98,_0x2b6fe1={}){const _0x2da473=_0x49e6ac;super(_0xd2dd98),this[_0x73cc0b]=_0x2b6fe1[_0x2da473(0x1f0)]===void 0x0?null:_0x2b6fe1[_0x2da473(0x1f0)],this[_0x218744]=_0x2b6fe1[_0x2da473(0x34c)]===void 0x0?'':_0x2b6fe1[_0x2da473(0x34c)];}get[_0x49e6ac(0x1f0)](){return this[_0x73cc0b];}get['message'](){return this[_0x218744];}}Object['defineProperty'](_0x54f01b[_0x49e6ac(0x24d)],_0x49e6ac(0x1f0),{'enumerable':!0x0}),Object[_0x49e6ac(0x357)](_0x54f01b[_0x49e6ac(0x24d)],_0x49e6ac(0x34c),{'enumerable':!0x0});class _0x492469 extends _0x78e531{constructor(_0x2d7bb6,_0x4dfdcd={}){const _0x34c701=_0x49e6ac;super(_0x2d7bb6),this[_0x1a92e6]=_0x4dfdcd[_0x34c701(0x226)]===void 0x0?null:_0x4dfdcd[_0x34c701(0x226)];}get[_0x49e6ac(0x226)](){return this[_0x1a92e6];}}Object[_0x49e6ac(0x357)](_0x492469['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x5dea18,'ErrorEvent':_0x54f01b,'Event':_0x78e531,'EventTarget':{'addEventListener'(_0x3e7d2e,_0xbeec7b,_0x1e8143={}){const _0x4b4731=_0x49e6ac;for(const _0x827ee1 of this[_0x4b4731(0x1cc)](_0x3e7d2e))if(!_0x1e8143[_0x25292d]&&_0x827ee1[_0xefe0f0]===_0xbeec7b&&!_0x827ee1[_0x25292d])return;let _0x532111;if(_0x3e7d2e==='message')_0x532111=function(_0x4e2ea2,_0x31a021){const _0x333875=_0x4b4731,_0x587d81=new _0x492469(_0x333875(0x34c),{'data':_0x31a021?_0x4e2ea2:_0x4e2ea2[_0x333875(0x258)]()});_0x587d81[_0xd58257]=this,_0x580f37(_0xbeec7b,this,_0x587d81);};else{if(_0x3e7d2e===_0x4b4731(0x202))_0x532111=function(_0x170e0d,_0x9923e0){const _0x5a4347=_0x4b4731,_0x15a2ce=new _0x5dea18(_0x5a4347(0x202),{'code':_0x170e0d,'reason':_0x9923e0[_0x5a4347(0x258)](),'wasClean':this[_0x5a4347(0x33f)]&&this[_0x5a4347(0x2fc)]});_0x15a2ce[_0xd58257]=this,_0x580f37(_0xbeec7b,this,_0x15a2ce);};else{if(_0x3e7d2e===_0x4b4731(0x1f0))_0x532111=function(_0x252b4e){const _0x212cb5=_0x4b4731,_0x43a140=new _0x54f01b(_0x212cb5(0x1f0),{'error':_0x252b4e,'message':_0x252b4e[_0x212cb5(0x34c)]});_0x43a140[_0xd58257]=this,_0x580f37(_0xbeec7b,this,_0x43a140);};else{if(_0x3e7d2e===_0x4b4731(0x235))_0x532111=function(){const _0x247bd3=_0x4b4731,_0x5ccd8e=new _0x78e531(_0x247bd3(0x235));_0x5ccd8e[_0xd58257]=this,_0x580f37(_0xbeec7b,this,_0x5ccd8e);};else return;}}}_0x532111[_0x25292d]=!!_0x1e8143[_0x25292d],_0x532111[_0xefe0f0]=_0xbeec7b,_0x1e8143[_0x4b4731(0x27f)]?this[_0x4b4731(0x27f)](_0x3e7d2e,_0x532111):this['on'](_0x3e7d2e,_0x532111);},'removeEventListener'(_0x51e7b1,_0x42bc24){const _0x1bdb8f=_0x49e6ac;for(const _0x1a37c2 of this[_0x1bdb8f(0x1cc)](_0x51e7b1))if(_0x1a37c2[_0xefe0f0]===_0x42bc24&&!_0x1a37c2[_0x25292d]){this[_0x1bdb8f(0x240)](_0x51e7b1,_0x1a37c2);break;}}},'MessageEvent':_0x492469};function _0x580f37(_0x39de74,_0x343dc3,_0x293fdc){const _0x4f1339=_0x49e6ac;typeof _0x39de74==_0x4f1339(0x2ed)&&_0x39de74[_0x4f1339(0x237)]?_0x39de74['handleEvent'][_0x4f1339(0x1c5)](_0x39de74,_0x293fdc):_0x39de74[_0x4f1339(0x1c5)](_0x343dc3,_0x293fdc);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x463be5}=ae();function _0x4edff4(_0xb7016e,_0x1b195d,_0x3ec85d){const _0x21acba=_0x52bb;_0xb7016e[_0x1b195d]===void 0x0?_0xb7016e[_0x1b195d]=[_0x3ec85d]:_0xb7016e[_0x1b195d][_0x21acba(0x206)](_0x3ec85d);}function _0x55f20d(_0x237352){const _0x53768d=_0x52bb,_0x2a7adc=Object[_0x53768d(0x1ce)](null);let _0x2559af=Object[_0x53768d(0x1ce)](null),_0x1c395f=!0x1,_0x2977c7=!0x1,_0x4a6f34=!0x1,_0x3910a4,_0x580990,_0x48fd50=-0x1,_0x2be384=-0x1,_0x36dad3=-0x1,_0x3c6ef9=0x0;for(;_0x3c6ef9<_0x237352[_0x53768d(0x361)];_0x3c6ef9++)if(_0x2be384=_0x237352[_0x53768d(0x19b)](_0x3c6ef9),_0x3910a4===void 0x0){if(_0x36dad3===-0x1&&_0x463be5[_0x2be384]===0x1)_0x48fd50===-0x1&&(_0x48fd50=_0x3c6ef9);else{if(_0x3c6ef9!==0x0&&(_0x2be384===0x20||_0x2be384===0x9))_0x36dad3===-0x1&&_0x48fd50!==-0x1&&(_0x36dad3=_0x3c6ef9);else{if(_0x2be384===0x3b||_0x2be384===0x2c){if(_0x48fd50===-0x1)throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);_0x36dad3===-0x1&&(_0x36dad3=_0x3c6ef9);const _0x3cbd2a=_0x237352['slice'](_0x48fd50,_0x36dad3);_0x2be384===0x2c?(_0x4edff4(_0x2a7adc,_0x3cbd2a,_0x2559af),_0x2559af=Object[_0x53768d(0x1ce)](null)):_0x3910a4=_0x3cbd2a,_0x48fd50=_0x36dad3=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3c6ef9);}}}else{if(_0x580990===void 0x0){if(_0x36dad3===-0x1&&_0x463be5[_0x2be384]===0x1)_0x48fd50===-0x1&&(_0x48fd50=_0x3c6ef9);else{if(_0x2be384===0x20||_0x2be384===0x9)_0x36dad3===-0x1&&_0x48fd50!==-0x1&&(_0x36dad3=_0x3c6ef9);else{if(_0x2be384===0x3b||_0x2be384===0x2c){if(_0x48fd50===-0x1)throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);_0x36dad3===-0x1&&(_0x36dad3=_0x3c6ef9),_0x4edff4(_0x2559af,_0x237352[_0x53768d(0x26c)](_0x48fd50,_0x36dad3),!0x0),_0x2be384===0x2c&&(_0x4edff4(_0x2a7adc,_0x3910a4,_0x2559af),_0x2559af=Object[_0x53768d(0x1ce)](null),_0x3910a4=void 0x0),_0x48fd50=_0x36dad3=-0x1;}else{if(_0x2be384===0x3d&&_0x48fd50!==-0x1&&_0x36dad3===-0x1)_0x580990=_0x237352[_0x53768d(0x26c)](_0x48fd50,_0x3c6ef9),_0x48fd50=_0x36dad3=-0x1;else throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);}}}}else{if(_0x2977c7){if(_0x463be5[_0x2be384]!==0x1)throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);_0x48fd50===-0x1?_0x48fd50=_0x3c6ef9:_0x1c395f||(_0x1c395f=!0x0),_0x2977c7=!0x1;}else{if(_0x4a6f34){if(_0x463be5[_0x2be384]===0x1)_0x48fd50===-0x1&&(_0x48fd50=_0x3c6ef9);else{if(_0x2be384===0x22&&_0x48fd50!==-0x1)_0x4a6f34=!0x1,_0x36dad3=_0x3c6ef9;else{if(_0x2be384===0x5c)_0x2977c7=!0x0;else throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);}}}else{if(_0x2be384===0x22&&_0x237352[_0x53768d(0x19b)](_0x3c6ef9-0x1)===0x3d)_0x4a6f34=!0x0;else{if(_0x36dad3===-0x1&&_0x463be5[_0x2be384]===0x1)_0x48fd50===-0x1&&(_0x48fd50=_0x3c6ef9);else{if(_0x48fd50!==-0x1&&(_0x2be384===0x20||_0x2be384===0x9))_0x36dad3===-0x1&&(_0x36dad3=_0x3c6ef9);else{if(_0x2be384===0x3b||_0x2be384===0x2c){if(_0x48fd50===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3c6ef9);_0x36dad3===-0x1&&(_0x36dad3=_0x3c6ef9);let _0x4348f9=_0x237352[_0x53768d(0x26c)](_0x48fd50,_0x36dad3);_0x1c395f&&(_0x4348f9=_0x4348f9[_0x53768d(0x1e8)](/\\/g,''),_0x1c395f=!0x1),_0x4edff4(_0x2559af,_0x580990,_0x4348f9),_0x2be384===0x2c&&(_0x4edff4(_0x2a7adc,_0x3910a4,_0x2559af),_0x2559af=Object[_0x53768d(0x1ce)](null),_0x3910a4=void 0x0),_0x580990=void 0x0,_0x48fd50=_0x36dad3=-0x1;}else throw new SyntaxError(_0x53768d(0x2cf)+_0x3c6ef9);}}}}}}}if(_0x48fd50===-0x1||_0x4a6f34||_0x2be384===0x20||_0x2be384===0x9)throw new SyntaxError(_0x53768d(0x27b));_0x36dad3===-0x1&&(_0x36dad3=_0x3c6ef9);const _0x5f0906=_0x237352[_0x53768d(0x26c)](_0x48fd50,_0x36dad3);return _0x3910a4===void 0x0?_0x4edff4(_0x2a7adc,_0x5f0906,_0x2559af):(_0x580990===void 0x0?_0x4edff4(_0x2559af,_0x5f0906,!0x0):_0x1c395f?_0x4edff4(_0x2559af,_0x580990,_0x5f0906['replace'](/\\/g,'')):_0x4edff4(_0x2559af,_0x580990,_0x5f0906),_0x4edff4(_0x2a7adc,_0x3910a4,_0x2559af)),_0x2a7adc;}function _0x423d74(_0x40d7d8){const _0x588345=_0x52bb;return Object['keys'](_0x40d7d8)['map'](_0xcf5379=>{const _0x43084c=_0x52bb;let _0x5ab1b7=_0x40d7d8[_0xcf5379];return Array[_0x43084c(0x360)](_0x5ab1b7)||(_0x5ab1b7=[_0x5ab1b7]),_0x5ab1b7[_0x43084c(0x270)](_0x448617=>[_0xcf5379][_0x43084c(0x2c5)](Object[_0x43084c(0x212)](_0x448617)[_0x43084c(0x270)](_0x588efa=>{const _0x42a709=_0x43084c;let _0x1d71c9=_0x448617[_0x588efa];return Array['isArray'](_0x1d71c9)||(_0x1d71c9=[_0x1d71c9]),_0x1d71c9[_0x42a709(0x270)](_0x21a85d=>_0x21a85d===!0x0?_0x588efa:_0x588efa+'='+_0x21a85d)['join'](';\x20');}))['join'](';\x20'))[_0x43084c(0x2c6)](',\x20');})[_0x588345(0x2c6)](',\x20');}return be={'format':_0x423d74,'parse':_0x55f20d},be;}var we,Je;function Pe(){const _0x27f257=_0x11f02f;if(Je)return we;Je=0x1;const _0xaa057a=nt,_0x4f075e=vt,_0x59ce88=ot,_0x2a43ea=St,_0x22225c=Et,{randomBytes:_0x4b4453,createHash:_0x4de5b0}=Le,{Duplex:_0x28f1ea,Readable:_0x2354d5}=oe,{URL:_0x4bd60a}=xt,_0x430d71=he(),_0x15da81=lt(),_0x283993=ft(),{isBlob:_0x1246e5}=ae(),{BINARY_TYPES:_0x1bdfb3,EMPTY_BUFFER:_0x145196,GUID:_0x1283f4,kForOnEventAttribute:_0x2d1ed1,kListener:_0x443dc4,kStatusCode:_0x1c3e21,kWebSocket:_0x3de8ed,NOOP:_0x50c15e}=H(),{EventTarget:{addEventListener:_0x3e1329,removeEventListener:_0xf98b21}}=It(),{format:_0x1fc1c6,parse:_0x3f1d8e}=ct(),{toBuffer:_0x5d212d}=ce(),_0x34f523=0x1e*0x3e8,_0x5c8b94=Symbol(_0x27f257(0x29d)),_0x2b843b=[0x8,0xd],_0x478e2e=[_0x27f257(0x274),'OPEN',_0x27f257(0x2fa),_0x27f257(0x1a0)],_0x2c085e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4de4b3 extends _0xaa057a{constructor(_0x41e922,_0x26d051,_0x111ebe){const _0x5c2be5=_0x27f257;super(),this[_0x5c2be5(0x27c)]=_0x1bdfb3[0x0],this[_0x5c2be5(0x1df)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x5c2be5(0x2fc)]=!0x1,this[_0x5c2be5(0x243)]=_0x145196,this[_0x5c2be5(0x1e3)]=null,this['_errorEmitted']=!0x1,this[_0x5c2be5(0x2b7)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x5c2be5(0x338)]=_0x4de4b3[_0x5c2be5(0x274)],this[_0x5c2be5(0x260)]=null,this['_sender']=null,this['_socket']=null,_0x41e922!==null?(this[_0x5c2be5(0x21a)]=0x0,this[_0x5c2be5(0x232)]=!0x1,this['_redirects']=0x0,_0x26d051===void 0x0?_0x26d051=[]:Array['isArray'](_0x26d051)||(typeof _0x26d051==_0x5c2be5(0x2ed)&&_0x26d051!==null?(_0x111ebe=_0x26d051,_0x26d051=[]):_0x26d051=[_0x26d051]),_0x1f6ecc(this,_0x41e922,_0x26d051,_0x111ebe)):(this['_autoPong']=_0x111ebe[_0x5c2be5(0x26d)],this[_0x5c2be5(0x232)]=!0x0);}get[_0x27f257(0x2ae)](){const _0x60834=_0x27f257;return this[_0x60834(0x27c)];}set[_0x27f257(0x2ae)](_0xb84534){const _0x18df7c=_0x27f257;_0x1bdfb3['includes'](_0xb84534)&&(this[_0x18df7c(0x27c)]=_0xb84534,this[_0x18df7c(0x260)]&&(this[_0x18df7c(0x260)][_0x18df7c(0x27c)]=_0xb84534));}get[_0x27f257(0x1cd)](){const _0x2c7f1d=_0x27f257;return this['_socket']?this[_0x2c7f1d(0x291)][_0x2c7f1d(0x283)][_0x2c7f1d(0x361)]+this['_sender']['_bufferedBytes']:this[_0x2c7f1d(0x21a)];}get[_0x27f257(0x24c)](){const _0x4bee7b=_0x27f257;return Object[_0x4bee7b(0x212)](this['_extensions'])['join']();}get[_0x27f257(0x242)](){return this['_paused'];}get[_0x27f257(0x2c3)](){return null;}get['onerror'](){return null;}get[_0x27f257(0x26a)](){return null;}get[_0x27f257(0x2c8)](){return null;}get[_0x27f257(0x1b3)](){const _0x3b1566=_0x27f257;return this[_0x3b1566(0x2e2)];}get[_0x27f257(0x1f7)](){const _0x26c260=_0x27f257;return this[_0x26c260(0x338)];}get['url'](){const _0x2d9fc9=_0x27f257;return this[_0x2d9fc9(0x215)];}[_0x27f257(0x350)](_0x45b2a3,_0x5af1cb,_0x2f1155){const _0x13911b=_0x27f257,_0x4350da=new _0x15da81({'allowSynchronousEvents':_0x2f1155[_0x13911b(0x197)],'binaryType':this[_0x13911b(0x2ae)],'extensions':this[_0x13911b(0x2b7)],'isServer':this[_0x13911b(0x232)],'maxPayload':_0x2f1155[_0x13911b(0x33b)],'skipUTF8Validation':_0x2f1155[_0x13911b(0x194)]}),_0x36da75=new _0x283993(_0x45b2a3,this[_0x13911b(0x2b7)],_0x2f1155[_0x13911b(0x2bb)]);this['_receiver']=_0x4350da,this[_0x13911b(0x1e6)]=_0x36da75,this['_socket']=_0x45b2a3,_0x4350da[_0x3de8ed]=this,_0x36da75[_0x3de8ed]=this,_0x45b2a3[_0x3de8ed]=this,_0x4350da['on'](_0x13911b(0x1a8),_0x126ebe),_0x4350da['on'](_0x13911b(0x35e),_0x34e6b8),_0x4350da['on']('error',_0x243932),_0x4350da['on'](_0x13911b(0x34c),_0x3af9d4),_0x4350da['on'](_0x13911b(0x19d),_0x15d8e1),_0x4350da['on']('pong',_0x10d3a8),_0x36da75[_0x13911b(0x32c)]=_0x5570b8,_0x45b2a3[_0x13911b(0x20d)]&&_0x45b2a3[_0x13911b(0x20d)](0x0),_0x45b2a3[_0x13911b(0x2a5)]&&_0x45b2a3[_0x13911b(0x2a5)](),_0x5af1cb[_0x13911b(0x361)]>0x0&&_0x45b2a3[_0x13911b(0x29f)](_0x5af1cb),_0x45b2a3['on']('close',_0x578e6b),_0x45b2a3['on'](_0x13911b(0x226),_0x3d3b8b),_0x45b2a3['on'](_0x13911b(0x30f),_0x2d573f),_0x45b2a3['on']('error',_0x531182),this[_0x13911b(0x338)]=_0x4de4b3['OPEN'],this['emit'](_0x13911b(0x235));}[_0x27f257(0x1a9)](){const _0x3a91e1=_0x27f257;if(!this[_0x3a91e1(0x291)]){this[_0x3a91e1(0x338)]=_0x4de4b3[_0x3a91e1(0x1a0)],this[_0x3a91e1(0x27a)](_0x3a91e1(0x202),this[_0x3a91e1(0x1df)],this[_0x3a91e1(0x243)]);return;}this[_0x3a91e1(0x2b7)][_0x430d71['extensionName']]&&this[_0x3a91e1(0x2b7)][_0x430d71[_0x3a91e1(0x339)]][_0x3a91e1(0x2cd)](),this['_receiver'][_0x3a91e1(0x2c2)](),this[_0x3a91e1(0x338)]=_0x4de4b3[_0x3a91e1(0x1a0)],this[_0x3a91e1(0x27a)]('close',this[_0x3a91e1(0x1df)],this[_0x3a91e1(0x243)]);}['close'](_0x1f6daa,_0xe54392){const _0x4aecdb=_0x27f257;if(this['readyState']!==_0x4de4b3['CLOSED']){if(this['readyState']===_0x4de4b3['CONNECTING']){_0x50f198(this,this[_0x4aecdb(0x324)],_0x4aecdb(0x207));return;}if(this['readyState']===_0x4de4b3['CLOSING']){this[_0x4aecdb(0x2fc)]&&(this['_closeFrameReceived']||this[_0x4aecdb(0x260)][_0x4aecdb(0x283)][_0x4aecdb(0x21b)])&&this[_0x4aecdb(0x291)]['end']();return;}this[_0x4aecdb(0x338)]=_0x4de4b3[_0x4aecdb(0x2fa)],this[_0x4aecdb(0x1e6)][_0x4aecdb(0x202)](_0x1f6daa,_0xe54392,!this['_isServer'],_0x4799e3=>{const _0x10f725=_0x4aecdb;_0x4799e3||(this[_0x10f725(0x2fc)]=!0x0,(this[_0x10f725(0x33f)]||this[_0x10f725(0x260)][_0x10f725(0x283)][_0x10f725(0x21b)])&&this[_0x10f725(0x291)][_0x10f725(0x30f)]());}),_0x5f453b(this);}}[_0x27f257(0x1c6)](){const _0x17c546=_0x27f257;this[_0x17c546(0x1f7)]===_0x4de4b3[_0x17c546(0x274)]||this[_0x17c546(0x1f7)]===_0x4de4b3[_0x17c546(0x1a0)]||(this[_0x17c546(0x1e9)]=!0x0,this[_0x17c546(0x291)][_0x17c546(0x1c6)]());}['ping'](_0xf0bea4,_0x800e9d,_0x2a5648){const _0x5b7a9e=_0x27f257;if(this[_0x5b7a9e(0x1f7)]===_0x4de4b3['CONNECTING'])throw new Error(_0x5b7a9e(0x337));if(typeof _0xf0bea4==_0x5b7a9e(0x27e)?(_0x2a5648=_0xf0bea4,_0xf0bea4=_0x800e9d=void 0x0):typeof _0x800e9d==_0x5b7a9e(0x27e)&&(_0x2a5648=_0x800e9d,_0x800e9d=void 0x0),typeof _0xf0bea4==_0x5b7a9e(0x2ad)&&(_0xf0bea4=_0xf0bea4[_0x5b7a9e(0x258)]()),this['readyState']!==_0x4de4b3[_0x5b7a9e(0x30a)]){_0x4ff44f(this,_0xf0bea4,_0x2a5648);return;}_0x800e9d===void 0x0&&(_0x800e9d=!this['_isServer']),this[_0x5b7a9e(0x1e6)][_0x5b7a9e(0x19d)](_0xf0bea4||_0x145196,_0x800e9d,_0x2a5648);}['pong'](_0x549d94,_0x5c4680,_0x1c9caa){const _0x107972=_0x27f257;if(this[_0x107972(0x1f7)]===_0x4de4b3[_0x107972(0x274)])throw new Error(_0x107972(0x337));if(typeof _0x549d94==_0x107972(0x27e)?(_0x1c9caa=_0x549d94,_0x549d94=_0x5c4680=void 0x0):typeof _0x5c4680=='function'&&(_0x1c9caa=_0x5c4680,_0x5c4680=void 0x0),typeof _0x549d94==_0x107972(0x2ad)&&(_0x549d94=_0x549d94[_0x107972(0x258)]()),this['readyState']!==_0x4de4b3[_0x107972(0x30a)]){_0x4ff44f(this,_0x549d94,_0x1c9caa);return;}_0x5c4680===void 0x0&&(_0x5c4680=!this[_0x107972(0x232)]),this[_0x107972(0x1e6)][_0x107972(0x211)](_0x549d94||_0x145196,_0x5c4680,_0x1c9caa);}[_0x27f257(0x272)](){const _0x5443c5=_0x27f257;this[_0x5443c5(0x1f7)]===_0x4de4b3[_0x5443c5(0x274)]||this['readyState']===_0x4de4b3['CLOSED']||(this[_0x5443c5(0x1e9)]=!0x1,this[_0x5443c5(0x260)][_0x5443c5(0x283)][_0x5443c5(0x2a1)]||this[_0x5443c5(0x291)][_0x5443c5(0x272)]());}[_0x27f257(0x2ab)](_0x2d71a0,_0x275ff4,_0x545901){const _0x541887=_0x27f257;if(this[_0x541887(0x1f7)]===_0x4de4b3[_0x541887(0x274)])throw new Error(_0x541887(0x337));if(typeof _0x275ff4==_0x541887(0x27e)&&(_0x545901=_0x275ff4,_0x275ff4={}),typeof _0x2d71a0==_0x541887(0x2ad)&&(_0x2d71a0=_0x2d71a0[_0x541887(0x258)]()),this['readyState']!==_0x4de4b3[_0x541887(0x30a)]){_0x4ff44f(this,_0x2d71a0,_0x545901);return;}const _0x938f4b={'binary':typeof _0x2d71a0!=_0x541887(0x2dd),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x275ff4};this[_0x541887(0x2b7)][_0x430d71[_0x541887(0x339)]]||(_0x938f4b[_0x541887(0x359)]=!0x1),this['_sender'][_0x541887(0x2ab)](_0x2d71a0||_0x145196,_0x938f4b,_0x545901);}[_0x27f257(0x317)](){const _0x141cfd=_0x27f257;if(this[_0x141cfd(0x1f7)]!==_0x4de4b3[_0x141cfd(0x1a0)]){if(this['readyState']===_0x4de4b3['CONNECTING']){_0x50f198(this,this[_0x141cfd(0x324)],_0x141cfd(0x207));return;}this['_socket']&&(this[_0x141cfd(0x338)]=_0x4de4b3[_0x141cfd(0x2fa)],this['_socket'][_0x141cfd(0x25b)]());}}}Object[_0x27f257(0x357)](_0x4de4b3,_0x27f257(0x274),{'enumerable':!0x0,'value':_0x478e2e[_0x27f257(0x265)](_0x27f257(0x274))}),Object[_0x27f257(0x357)](_0x4de4b3[_0x27f257(0x24d)],'CONNECTING',{'enumerable':!0x0,'value':_0x478e2e['indexOf'](_0x27f257(0x274))}),Object[_0x27f257(0x357)](_0x4de4b3,_0x27f257(0x30a),{'enumerable':!0x0,'value':_0x478e2e[_0x27f257(0x265)](_0x27f257(0x30a))}),Object[_0x27f257(0x357)](_0x4de4b3[_0x27f257(0x24d)],_0x27f257(0x30a),{'enumerable':!0x0,'value':_0x478e2e['indexOf'](_0x27f257(0x30a))}),Object[_0x27f257(0x357)](_0x4de4b3,_0x27f257(0x2fa),{'enumerable':!0x0,'value':_0x478e2e[_0x27f257(0x265)](_0x27f257(0x2fa))}),Object['defineProperty'](_0x4de4b3[_0x27f257(0x24d)],'CLOSING',{'enumerable':!0x0,'value':_0x478e2e[_0x27f257(0x265)](_0x27f257(0x2fa))}),Object['defineProperty'](_0x4de4b3,'CLOSED',{'enumerable':!0x0,'value':_0x478e2e[_0x27f257(0x265)]('CLOSED')}),Object[_0x27f257(0x357)](_0x4de4b3[_0x27f257(0x24d)],_0x27f257(0x1a0),{'enumerable':!0x0,'value':_0x478e2e['indexOf'](_0x27f257(0x1a0))}),[_0x27f257(0x2ae),_0x27f257(0x1cd),_0x27f257(0x24c),_0x27f257(0x242),_0x27f257(0x1b3),'readyState','url'][_0x27f257(0x32b)](_0x57d746=>{const _0x4c6bb4=_0x27f257;Object[_0x4c6bb4(0x357)](_0x4de4b3[_0x4c6bb4(0x24d)],_0x57d746,{'enumerable':!0x0});}),[_0x27f257(0x235),_0x27f257(0x1f0),_0x27f257(0x202),_0x27f257(0x34c)][_0x27f257(0x32b)](_0x4503f7=>{const _0x574ee9=_0x27f257;Object[_0x574ee9(0x357)](_0x4de4b3['prototype'],'on'+_0x4503f7,{'enumerable':!0x0,'get'(){const _0x4f3f19=_0x574ee9;for(const _0x35f9ea of this[_0x4f3f19(0x1cc)](_0x4503f7))if(_0x35f9ea[_0x2d1ed1])return _0x35f9ea[_0x443dc4];return null;},'set'(_0x44e4ea){const _0x493ab6=_0x574ee9;for(const _0x3f8420 of this[_0x493ab6(0x1cc)](_0x4503f7))if(_0x3f8420[_0x2d1ed1]){this[_0x493ab6(0x240)](_0x4503f7,_0x3f8420);break;}typeof _0x44e4ea==_0x493ab6(0x27e)&&this[_0x493ab6(0x331)](_0x4503f7,_0x44e4ea,{[_0x2d1ed1]:!0x0});}});}),_0x4de4b3['prototype'][_0x27f257(0x331)]=_0x3e1329,_0x4de4b3[_0x27f257(0x24d)][_0x27f257(0x33e)]=_0xf98b21,we=_0x4de4b3;function _0x1f6ecc(_0xdeb6df,_0x344620,_0x307428,_0x56db4a){const _0xbf18d3=_0x27f257,_0x569984={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2b843b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x56db4a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xbf18d3(0x2f4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xdeb6df['_autoPong']=_0x569984['autoPong'],!_0x2b843b['includes'](_0x569984[_0xbf18d3(0x2c0)]))throw new RangeError(_0xbf18d3(0x311)+_0x569984[_0xbf18d3(0x2c0)]+_0xbf18d3(0x2ca)+_0x2b843b['join'](',\x20')+')');let _0x548204;if(_0x344620 instanceof _0x4bd60a)_0x548204=_0x344620;else try{_0x548204=new _0x4bd60a(_0x344620);}catch{throw new SyntaxError(_0xbf18d3(0x2d6)+_0x344620);}_0x548204[_0xbf18d3(0x1b3)]==='http:'?_0x548204[_0xbf18d3(0x1b3)]=_0xbf18d3(0x2a0):_0x548204[_0xbf18d3(0x1b3)]===_0xbf18d3(0x334)&&(_0x548204[_0xbf18d3(0x1b3)]=_0xbf18d3(0x30d)),_0xdeb6df[_0xbf18d3(0x215)]=_0x548204[_0xbf18d3(0x1c1)];const _0x6d5f7c=_0x548204['protocol']===_0xbf18d3(0x30d),_0x1c9a2f=_0x548204[_0xbf18d3(0x1b3)]===_0xbf18d3(0x31f);let _0x219d83;if(_0x548204[_0xbf18d3(0x1b3)]!=='ws:'&&!_0x6d5f7c&&!_0x1c9a2f?_0x219d83=_0xbf18d3(0x29b):_0x1c9a2f&&!_0x548204[_0xbf18d3(0x28f)]?_0x219d83=_0xbf18d3(0x26e):_0x548204[_0xbf18d3(0x2fd)]&&(_0x219d83=_0xbf18d3(0x24f)),_0x219d83){const _0xe8dd2f=new SyntaxError(_0x219d83);if(_0xdeb6df[_0xbf18d3(0x1c8)]===0x0)throw _0xe8dd2f;_0x451d43(_0xdeb6df,_0xe8dd2f);return;}const _0x59192b=_0x6d5f7c?0x1bb:0x50,_0x140d33=_0x4b4453(0x10)[_0xbf18d3(0x258)]('base64'),_0x2e304b=_0x6d5f7c?_0x4f075e[_0xbf18d3(0x275)]:_0x59ce88[_0xbf18d3(0x275)],_0x2366da=new Set();let _0x4b3f37;if(_0x569984['createConnection']=_0x569984[_0xbf18d3(0x2d5)]||(_0x6d5f7c?_0x29debd:_0x1bc3cc),_0x569984[_0xbf18d3(0x20e)]=_0x569984['defaultPort']||_0x59192b,_0x569984[_0xbf18d3(0x2f0)]=_0x548204['port']||_0x59192b,_0x569984[_0xbf18d3(0x19f)]=_0x548204['hostname'][_0xbf18d3(0x327)]('[')?_0x548204[_0xbf18d3(0x292)][_0xbf18d3(0x26c)](0x1,-0x1):_0x548204[_0xbf18d3(0x292)],_0x569984[_0xbf18d3(0x264)]={..._0x569984[_0xbf18d3(0x264)],'Sec-WebSocket-Version':_0x569984[_0xbf18d3(0x2c0)],'Sec-WebSocket-Key':_0x140d33,'Connection':_0xbf18d3(0x22e),'Upgrade':_0xbf18d3(0x1be)},_0x569984[_0xbf18d3(0x287)]=_0x548204['pathname']+_0x548204[_0xbf18d3(0x31c)],_0x569984[_0xbf18d3(0x24a)]=_0x569984[_0xbf18d3(0x2ce)],_0x569984['perMessageDeflate']&&(_0x4b3f37=new _0x430d71(_0x569984['perMessageDeflate']!==!0x0?_0x569984[_0xbf18d3(0x1d7)]:{},!0x1,_0x569984['maxPayload']),_0x569984['headers'][_0xbf18d3(0x20c)]=_0x1fc1c6({[_0x430d71[_0xbf18d3(0x339)]]:_0x4b3f37[_0xbf18d3(0x1d0)]()})),_0x307428['length']){for(const _0x38dd49 of _0x307428){if(typeof _0x38dd49!=_0xbf18d3(0x2dd)||!_0x2c085e[_0xbf18d3(0x2a7)](_0x38dd49)||_0x2366da[_0xbf18d3(0x1cb)](_0x38dd49))throw new SyntaxError(_0xbf18d3(0x32d));_0x2366da['add'](_0x38dd49);}_0x569984[_0xbf18d3(0x264)][_0xbf18d3(0x1c2)]=_0x307428[_0xbf18d3(0x2c6)](',');}if(_0x569984['origin']&&(_0x569984[_0xbf18d3(0x2c0)]<0xd?_0x569984[_0xbf18d3(0x264)][_0xbf18d3(0x238)]=_0x569984['origin']:_0x569984[_0xbf18d3(0x264)][_0xbf18d3(0x347)]=_0x569984[_0xbf18d3(0x203)]),(_0x548204[_0xbf18d3(0x2fe)]||_0x548204[_0xbf18d3(0x1de)])&&(_0x569984[_0xbf18d3(0x246)]=_0x548204[_0xbf18d3(0x2fe)]+':'+_0x548204['password']),_0x1c9a2f){const _0x5980c5=_0x569984['path']['split'](':');_0x569984[_0xbf18d3(0x261)]=_0x5980c5[0x0],_0x569984[_0xbf18d3(0x287)]=_0x5980c5[0x1];}let _0x34cbe1;if(_0x569984[_0xbf18d3(0x1e0)]){if(_0xdeb6df[_0xbf18d3(0x1c8)]===0x0){_0xdeb6df[_0xbf18d3(0x2f6)]=_0x1c9a2f,_0xdeb6df[_0xbf18d3(0x2a4)]=_0x6d5f7c,_0xdeb6df[_0xbf18d3(0x34d)]=_0x1c9a2f?_0x569984[_0xbf18d3(0x261)]:_0x548204[_0xbf18d3(0x19f)];const _0x3d6156=_0x56db4a&&_0x56db4a[_0xbf18d3(0x264)];if(_0x56db4a={..._0x56db4a,'headers':{}},_0x3d6156){for(const [_0x3f59b7,_0x47972a]of Object[_0xbf18d3(0x1eb)](_0x3d6156))_0x56db4a[_0xbf18d3(0x264)][_0x3f59b7['toLowerCase']()]=_0x47972a;}}else{if(_0xdeb6df['listenerCount']('redirect')===0x0){const _0x299b7e=_0x1c9a2f?_0xdeb6df['_originalIpc']?_0x569984[_0xbf18d3(0x261)]===_0xdeb6df[_0xbf18d3(0x34d)]:!0x1:_0xdeb6df['_originalIpc']?!0x1:_0x548204['host']===_0xdeb6df[_0xbf18d3(0x34d)];(!_0x299b7e||_0xdeb6df[_0xbf18d3(0x2a4)]&&!_0x6d5f7c)&&(delete _0x569984['headers']['authorization'],delete _0x569984[_0xbf18d3(0x264)][_0xbf18d3(0x23b)],_0x299b7e||delete _0x569984[_0xbf18d3(0x264)]['host'],_0x569984[_0xbf18d3(0x246)]=void 0x0);}}_0x569984[_0xbf18d3(0x246)]&&!_0x56db4a[_0xbf18d3(0x264)][_0xbf18d3(0x231)]&&(_0x56db4a[_0xbf18d3(0x264)][_0xbf18d3(0x231)]=_0xbf18d3(0x195)+Buffer[_0xbf18d3(0x192)](_0x569984['auth'])['toString'](_0xbf18d3(0x28d))),_0x34cbe1=_0xdeb6df['_req']=_0x2e304b(_0x569984),_0xdeb6df[_0xbf18d3(0x1c8)]&&_0xdeb6df[_0xbf18d3(0x27a)](_0xbf18d3(0x299),_0xdeb6df[_0xbf18d3(0x1fe)],_0x34cbe1);}else _0x34cbe1=_0xdeb6df[_0xbf18d3(0x324)]=_0x2e304b(_0x569984);_0x569984[_0xbf18d3(0x24a)]&&_0x34cbe1['on']('timeout',()=>{_0x50f198(_0xdeb6df,_0x34cbe1,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x34cbe1['on']('error',_0x25f0d7=>{const _0x3fe91f=_0xbf18d3;_0x34cbe1===null||_0x34cbe1[_0x5c8b94]||(_0x34cbe1=_0xdeb6df[_0x3fe91f(0x324)]=null,_0x451d43(_0xdeb6df,_0x25f0d7));}),_0x34cbe1['on']('response',_0x239a67=>{const _0x2e5f03=_0xbf18d3,_0x10b14a=_0x239a67[_0x2e5f03(0x264)][_0x2e5f03(0x255)],_0x27d31e=_0x239a67[_0x2e5f03(0x1f6)];if(_0x10b14a&&_0x569984[_0x2e5f03(0x1e0)]&&_0x27d31e>=0x12c&&_0x27d31e<0x190){if(++_0xdeb6df[_0x2e5f03(0x1c8)]>_0x569984[_0x2e5f03(0x1f9)]){_0x50f198(_0xdeb6df,_0x34cbe1,_0x2e5f03(0x333));return;}_0x34cbe1['abort']();let _0x5a829b;try{_0x5a829b=new _0x4bd60a(_0x10b14a,_0x344620);}catch{const _0x591cdc=new SyntaxError('Invalid\x20URL:\x20'+_0x10b14a);_0x451d43(_0xdeb6df,_0x591cdc);return;}_0x1f6ecc(_0xdeb6df,_0x5a829b,_0x307428,_0x56db4a);}else _0xdeb6df[_0x2e5f03(0x27a)](_0x2e5f03(0x27d),_0x34cbe1,_0x239a67)||_0x50f198(_0xdeb6df,_0x34cbe1,_0x2e5f03(0x2f7)+_0x239a67[_0x2e5f03(0x1f6)]);}),_0x34cbe1['on'](_0xbf18d3(0x325),(_0x3e9a65,_0x12d51a,_0x173357)=>{const _0x40ffbc=_0xbf18d3;if(_0xdeb6df[_0x40ffbc(0x27a)]('upgrade',_0x3e9a65),_0xdeb6df[_0x40ffbc(0x1f7)]!==_0x4de4b3[_0x40ffbc(0x274)])return;_0x34cbe1=_0xdeb6df[_0x40ffbc(0x324)]=null;const _0x6a8ed0=_0x3e9a65[_0x40ffbc(0x264)][_0x40ffbc(0x325)];if(_0x6a8ed0===void 0x0||_0x6a8ed0['toLowerCase']()!=='websocket'){_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x31d));return;}const _0x25b2b4=_0x4de5b0(_0x40ffbc(0x2b6))[_0x40ffbc(0x2b2)](_0x140d33+_0x1283f4)[_0x40ffbc(0x1aa)](_0x40ffbc(0x28d));if(_0x3e9a65[_0x40ffbc(0x264)][_0x40ffbc(0x236)]!==_0x25b2b4){_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x234));return;}const _0x3ecc8f=_0x3e9a65['headers'][_0x40ffbc(0x1e1)];let _0x206d5e;if(_0x3ecc8f!==void 0x0?_0x2366da['size']?_0x2366da[_0x40ffbc(0x1cb)](_0x3ecc8f)||(_0x206d5e=_0x40ffbc(0x1af)):_0x206d5e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2366da[_0x40ffbc(0x289)]&&(_0x206d5e='Server\x20sent\x20no\x20subprotocol'),_0x206d5e){_0x50f198(_0xdeb6df,_0x12d51a,_0x206d5e);return;}_0x3ecc8f&&(_0xdeb6df[_0x40ffbc(0x2e2)]=_0x3ecc8f);const _0x1e4235=_0x3e9a65['headers']['sec-websocket-extensions'];if(_0x1e4235!==void 0x0){if(!_0x4b3f37){_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x269));return;}let _0x144655;try{_0x144655=_0x3f1d8e(_0x1e4235);}catch{_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x220));return;}const _0x5064de=Object['keys'](_0x144655);if(_0x5064de[_0x40ffbc(0x361)]!==0x1||_0x5064de[0x0]!==_0x430d71['extensionName']){_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x210));return;}try{_0x4b3f37['accept'](_0x144655[_0x430d71[_0x40ffbc(0x339)]]);}catch{_0x50f198(_0xdeb6df,_0x12d51a,_0x40ffbc(0x220));return;}_0xdeb6df[_0x40ffbc(0x2b7)][_0x430d71[_0x40ffbc(0x339)]]=_0x4b3f37;}_0xdeb6df['setSocket'](_0x12d51a,_0x173357,{'allowSynchronousEvents':_0x569984[_0x40ffbc(0x197)],'generateMask':_0x569984[_0x40ffbc(0x2bb)],'maxPayload':_0x569984[_0x40ffbc(0x33b)],'skipUTF8Validation':_0x569984[_0x40ffbc(0x194)]});}),_0x569984[_0xbf18d3(0x1e4)]?_0x569984['finishRequest'](_0x34cbe1,_0xdeb6df):_0x34cbe1['end']();}function _0x451d43(_0x4f7b38,_0x28ef17){const _0x341ed6=_0x27f257;_0x4f7b38[_0x341ed6(0x338)]=_0x4de4b3[_0x341ed6(0x2fa)],_0x4f7b38[_0x341ed6(0x2ef)]=!0x0,_0x4f7b38['emit'](_0x341ed6(0x1f0),_0x28ef17),_0x4f7b38['emitClose']();}function _0x1bc3cc(_0x468da2){const _0x487f15=_0x27f257;return _0x468da2[_0x487f15(0x287)]=_0x468da2[_0x487f15(0x261)],_0x2a43ea[_0x487f15(0x2f1)](_0x468da2);}function _0x29debd(_0x5585f1){const _0x44785d=_0x27f257;return _0x5585f1['path']=void 0x0,!_0x5585f1[_0x44785d(0x2b4)]&&_0x5585f1[_0x44785d(0x2b4)]!==''&&(_0x5585f1[_0x44785d(0x2b4)]=_0x2a43ea[_0x44785d(0x30c)](_0x5585f1[_0x44785d(0x19f)])?'':_0x5585f1[_0x44785d(0x19f)]),_0x22225c['connect'](_0x5585f1);}function _0x50f198(_0x291aba,_0x4f0659,_0xc1b39c){const _0x10863c=_0x27f257;_0x291aba['_readyState']=_0x4de4b3['CLOSING'];const _0x22ae22=new Error(_0xc1b39c);Error[_0x10863c(0x1fb)](_0x22ae22,_0x50f198),_0x4f0659[_0x10863c(0x2e0)]?(_0x4f0659[_0x5c8b94]=!0x0,_0x4f0659[_0x10863c(0x198)](),_0x4f0659[_0x10863c(0x28b)]&&!_0x4f0659['socket']['destroyed']&&_0x4f0659['socket']['destroy'](),process[_0x10863c(0x2e7)](_0x451d43,_0x291aba,_0x22ae22)):(_0x4f0659['destroy'](_0x22ae22),_0x4f0659[_0x10863c(0x27f)]('error',_0x291aba[_0x10863c(0x27a)]['bind'](_0x291aba,_0x10863c(0x1f0))),_0x4f0659['once'](_0x10863c(0x202),_0x291aba[_0x10863c(0x1a9)][_0x10863c(0x223)](_0x291aba)));}function _0x4ff44f(_0xc14757,_0x283e75,_0x30f551){const _0x304f8e=_0x27f257;if(_0x283e75){const _0x42ea23=_0x1246e5(_0x283e75)?_0x283e75[_0x304f8e(0x289)]:_0x5d212d(_0x283e75)[_0x304f8e(0x361)];_0xc14757['_socket']?_0xc14757['_sender'][_0x304f8e(0x1d1)]+=_0x42ea23:_0xc14757['_bufferedAmount']+=_0x42ea23;}if(_0x30f551){const _0x209ee7=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xc14757[_0x304f8e(0x1f7)]+'\x20('+_0x478e2e[_0xc14757['readyState']]+')');process[_0x304f8e(0x2e7)](_0x30f551,_0x209ee7);}}function _0x126ebe(_0x487f93,_0x31917f){const _0x521b09=_0x27f257,_0x3f25d0=this[_0x3de8ed];_0x3f25d0[_0x521b09(0x33f)]=!0x0,_0x3f25d0[_0x521b09(0x243)]=_0x31917f,_0x3f25d0['_closeCode']=_0x487f93,_0x3f25d0['_socket'][_0x3de8ed]!==void 0x0&&(_0x3f25d0[_0x521b09(0x291)]['removeListener']('data',_0x3d3b8b),process[_0x521b09(0x2e7)](_0x1a1b1b,_0x3f25d0[_0x521b09(0x291)]),_0x487f93===0x3ed?_0x3f25d0['close']():_0x3f25d0[_0x521b09(0x202)](_0x487f93,_0x31917f));}function _0x34e6b8(){const _0x391c1c=_0x27f257,_0x572fd9=this[_0x3de8ed];_0x572fd9[_0x391c1c(0x242)]||_0x572fd9['_socket']['resume']();}function _0x243932(_0x1ceab1){const _0x3db3b3=_0x27f257,_0x1321ba=this[_0x3de8ed];_0x1321ba['_socket'][_0x3de8ed]!==void 0x0&&(_0x1321ba[_0x3db3b3(0x291)][_0x3db3b3(0x240)](_0x3db3b3(0x226),_0x3d3b8b),process[_0x3db3b3(0x2e7)](_0x1a1b1b,_0x1321ba[_0x3db3b3(0x291)]),_0x1321ba[_0x3db3b3(0x202)](_0x1ceab1[_0x1c3e21])),_0x1321ba[_0x3db3b3(0x2ef)]||(_0x1321ba[_0x3db3b3(0x2ef)]=!0x0,_0x1321ba['emit'](_0x3db3b3(0x1f0),_0x1ceab1));}function _0x26a6c6(){const _0x4365c4=_0x27f257;this[_0x3de8ed][_0x4365c4(0x1a9)]();}function _0x3af9d4(_0x5b3db3,_0x5e3e79){this[_0x3de8ed]['emit']('message',_0x5b3db3,_0x5e3e79);}function _0x15d8e1(_0x575906){const _0x5e870b=_0x27f257,_0x355111=this[_0x3de8ed];_0x355111['_autoPong']&&_0x355111[_0x5e870b(0x211)](_0x575906,!this['_isServer'],_0x50c15e),_0x355111[_0x5e870b(0x27a)](_0x5e870b(0x19d),_0x575906);}function _0x10d3a8(_0x13382c){const _0x1bb8e3=_0x27f257;this[_0x3de8ed][_0x1bb8e3(0x27a)](_0x1bb8e3(0x211),_0x13382c);}function _0x1a1b1b(_0x26eb3a){const _0x33d0a2=_0x27f257;_0x26eb3a[_0x33d0a2(0x272)]();}function _0x5570b8(_0x27cf3a){const _0x4074be=_0x27f257,_0x19a8e5=this[_0x3de8ed];_0x19a8e5[_0x4074be(0x1f7)]!==_0x4de4b3['CLOSED']&&(_0x19a8e5[_0x4074be(0x1f7)]===_0x4de4b3[_0x4074be(0x30a)]&&(_0x19a8e5['_readyState']=_0x4de4b3[_0x4074be(0x2fa)],_0x5f453b(_0x19a8e5)),this['_socket'][_0x4074be(0x30f)](),_0x19a8e5['_errorEmitted']||(_0x19a8e5[_0x4074be(0x2ef)]=!0x0,_0x19a8e5[_0x4074be(0x27a)](_0x4074be(0x1f0),_0x27cf3a)));}function _0x5f453b(_0x492587){const _0x486d0c=_0x27f257;_0x492587[_0x486d0c(0x1e3)]=setTimeout(_0x492587['_socket'][_0x486d0c(0x25b)][_0x486d0c(0x223)](_0x492587[_0x486d0c(0x291)]),_0x34f523);}function _0x578e6b(){const _0x5bdc5b=_0x27f257,_0x1929a6=this[_0x3de8ed];this[_0x5bdc5b(0x240)](_0x5bdc5b(0x202),_0x578e6b),this['removeListener'](_0x5bdc5b(0x226),_0x3d3b8b),this['removeListener'](_0x5bdc5b(0x30f),_0x2d573f),_0x1929a6['_readyState']=_0x4de4b3[_0x5bdc5b(0x2fa)];let _0x22d7a2;!this[_0x5bdc5b(0x330)]['endEmitted']&&!_0x1929a6[_0x5bdc5b(0x33f)]&&!_0x1929a6[_0x5bdc5b(0x260)][_0x5bdc5b(0x283)][_0x5bdc5b(0x21b)]&&(_0x22d7a2=_0x1929a6[_0x5bdc5b(0x291)][_0x5bdc5b(0x34b)]())!==null&&_0x1929a6[_0x5bdc5b(0x260)][_0x5bdc5b(0x320)](_0x22d7a2),_0x1929a6[_0x5bdc5b(0x260)]['end'](),this[_0x3de8ed]=void 0x0,clearTimeout(_0x1929a6[_0x5bdc5b(0x1e3)]),_0x1929a6[_0x5bdc5b(0x260)][_0x5bdc5b(0x283)][_0x5bdc5b(0x2eb)]||_0x1929a6['_receiver'][_0x5bdc5b(0x283)][_0x5bdc5b(0x21b)]?_0x1929a6[_0x5bdc5b(0x1a9)]():(_0x1929a6[_0x5bdc5b(0x260)]['on'](_0x5bdc5b(0x1f0),_0x26a6c6),_0x1929a6[_0x5bdc5b(0x260)]['on'](_0x5bdc5b(0x358),_0x26a6c6));}function _0x3d3b8b(_0x4050c8){const _0x19b166=_0x27f257;this[_0x3de8ed][_0x19b166(0x260)][_0x19b166(0x320)](_0x4050c8)||this[_0x19b166(0x1c6)]();}function _0x2d573f(){const _0x22ec62=_0x27f257,_0x2d3ae6=this[_0x3de8ed];_0x2d3ae6['_readyState']=_0x4de4b3[_0x22ec62(0x2fa)],_0x2d3ae6[_0x22ec62(0x260)]['end'](),this['end']();}function _0x531182(){const _0x5f5032=_0x27f257,_0x404e57=this[_0x3de8ed];this[_0x5f5032(0x240)](_0x5f5032(0x1f0),_0x531182),this['on']('error',_0x50c15e),_0x404e57&&(_0x404e57[_0x5f5032(0x338)]=_0x4de4b3[_0x5f5032(0x2fa)],this[_0x5f5032(0x25b)]());}return we;}var Oe,et;function _0xdbad(){const _0x5b1828=['ILogService','size','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','socket','zlib','base64','WS_NO_UTF_8_VALIDATE','pathname','UniverCollaborationClientNodePlugin','_socket','hostname','encrypted','kError','clients','CollaborationSocketService','exports','WS_ERR_UNEXPECTED_RSV_2_3','redirect','getInfo','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','isView','kAborted','enqueue','unshift','ws:','needDrain','jobs','dispose','_originalSecure','setNoDelay','sendFrame','test','Observable','7710059BVykoH','51702DCLpFW','send','_doCreateSocket','number','binaryType','STATUS_CODES','_queue','writable','update','default','servername','_compress','sha1','_extensions','Invalid\x20HTTP\x20method','method','uncork','generateMask','12260eOPTgp','_removeListeners','_state','kByteLength','protocolVersion','address','removeAllListeners','onclose','parse','concat','join','nodebuffer','onmessage','@univerjs/network','\x20(supported\x20versions:\x20','WS_ERR_UNEXPECTED_RSV_1','_decompress','cleanup','handshakeTimeout','Unexpected\x20character\x20at\x20index\x20','File','buffer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_server','kTarget','createConnection','Invalid\x20URL:\x20','http','The\x20\x22','_options','alloc','invalid\x20opcode\x20','_final','string','connection','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setHeader','Module','_protocol','_write','Invalid\x20Sec-WebSocket-Protocol\x20header','pending','listenerCount','nextTick','_threshold','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','events','finished','_fragmented','object','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_errorEmitted','port','connect','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Connection:\x20Upgrade','GET','stream','_originalIpc','Unexpected\x20server\x20response:\x20','_deflate','getConfig','CLOSING','client_max_window_bits','_closeFrameSent','hash','username','normalizeParams','createError','status-code','frame','4VBigOe','kCode','_payloadLength','_generateMask','set','\x22:\x20','type','OPEN','haveLength','isIP','wss:','getPayloadLength64','end','writeUInt16BE','Unsupported\x20protocol\x20version:\x20','noServer','writeHead','getData','https','26mxiuJG','terminate','_skipUTF8Validation','kWasClean','zlibDeflateOptions','reset','search','Invalid\x20Upgrade\x20header','verifyClient','ws+unix:','write','collaboration-client-node.config','shift','_messageLength','_req','upgrade','backlog','startsWith','RSV1\x20must\x20be\x20clear','text/html','acceptAsClient','forEach','onerror','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','8IIAmoV','readUInt32BE','_readableState','addEventListener','onStarting','Maximum\x20redirects\x20exceeded','https:','byteLength','listening','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_readyState','extensionName','_mask','maxPayload','Sec-WebSocket-Accept:\x20','delete','removeEventListener','_closeFrameReceived','species','isInteger','add','\x22\x20subprotocol\x20is\x20duplicated','wsClientError','_buffers','writeUIntBE','Origin','DependentOn','WS_ERR_INVALID_UTF8','Max\x20payload\x20size\x20exceeded','read','message','_originalHostOrSocketPath','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','@univerjs-pro/collaboration-client','setSocket','FIN\x20must\x20be\x20set','DisposableCollection','@univerjs-pro/collaboration','_fin','sec-websocket-origin','dispatch','defineProperty','finish','compress','Sec-WebSocket-Extensions:\x20','fragments','kListener','_maskBuffer','drain','dequeue','isArray','length','_errored','from','mask','skipUTF8Validation','Basic\x20','client','allowSynchronousEvents','abort','crypto','Parameter\x20\x22','charCodeAt','catch','ping','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','host','CLOSED','text/plain','__esModule','serverMaxWindowBits','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','WS_ERR_INVALID_OPCODE','conclude','emitClose','digest','constructor','buffers','toDisposable','invalid\x20UTF-8\x20sequence','Server\x20sent\x20an\x20invalid\x20subprotocol','Invalid\x20WebSocket\x20frame:\x20','_inflate','invalid\x20payload\x20length\x20','protocol','next','threshold','shouldHandle','options','ISnapshotServerService','get','server','8127UPpQds','handleUpgrade','1458022VKVuSR','websocket','fin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','href','Sec-WebSocket-Protocol','arrayBuffer','allocUnsafe','call','pause','getOwnPropertyDescriptor','_redirects','IConfigService','isValidUTF8','has','listeners','bufferedAmount','create','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','offer','_bufferedBytes','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createServer','The\x20server\x20is\x20not\x20running','blob','_max_window_bits','perMessageDeflate','_configService','43170941KiQbUr','Z_DEFAULT_WINDOWBITS','readable','serverNoContextTakeover','hasOwnProperty','password','_closeCode','followRedirects','sec-websocket-protocol','consume','_closeTimer','finishRequest','warn','_sender','handleProtocols','replace','_paused','apply','entries','listen','_read','WS_ERR_EXPECTED_FIN','params','error','rsv1','WS_NO_BUFFER_UTIL','kDone','_shouldEmitClose','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','statusCode','readyState','getMask','maxRedirects','_totalPayloadLength','captureStackTrace','clientTracking','freeze','url','target','clientNoContextTakeover','Blob','close','origin','clientMaxWindowBits','3558180HeeUFv','push','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','share','_masked','Invalid\x20value\x20for\x20parameter\x20\x22','controlMessage','Sec-WebSocket-Extensions','setTimeout','defaultPort','_registerDependencies','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','pong','keys','decompress','_firstFragment','_url','sec-websocket-key','value','sec-websocket-version','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_bufferedAmount','errorEmitted','values','toLowerCase','opcode','Upgrade:\x20websocket','Invalid\x20Sec-WebSocket-Extensions\x20header','_compressed','unmask','bind','startLoop','accept','data','6294006jHcgub','WebSocket','toStringTag','Disposable','construct','customHeaders','endEmitted','Upgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','kReason','authorization','_isServer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Invalid\x20Sec-WebSocket-Accept\x20header','open','sec-websocket-accept','handleEvent','Sec-WebSocket-Origin','destroyed','Sec-WebSocket-Protocol:\x20','cookie','getBlobData','server_max_window_bits','\x0d\x0a\x0d\x0a','arraybuffer','removeListener','pow','isPaused','_closeMessage','kIsForOnEventAttribute','objectMode','auth','@univerjs/core','server_no_context_takeover','COLLABORATION_CLIENT_NODE_CONFIG_KEY','timeout','reason','extensions','prototype','code','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_loop','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Injector','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Cookie','location','MASK\x20must\x20be\x20clear','Inject','toString','_maxPayload','dataMessage','destroy','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','setConfig','completeUpgrade','flush','_receiver','socketPath','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','byteOffset','headers','indexOf','Unknown\x20parameter\x20\x22','isServer','_allowSynchronousEvents','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','onopen','_fragments','slice','autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','concurrency','map','readUInt16BE','resume','readOnly','CONNECTING','request','callback','_injector','permessage-deflate','_opcode','emit','Unexpected\x20end\x20of\x20input','_binaryType','unexpected-response','function','once','concurrencyLimit','acceptAsServer','HTTPService','_writableState','client_no_context_takeover','pipe','wasClean','path'];_0xdbad=function(){return _0x5b1828;};return _0xdbad();}function _0x52bb(_0x1b4585,_0x3268be){const _0xdbad41=_0xdbad();return _0x52bb=function(_0x52bb01,_0x5466a2){_0x52bb01=_0x52bb01-0x192;let _0x11fedb=_0xdbad41[_0x52bb01];return _0x11fedb;},_0x52bb(_0x1b4585,_0x3268be);}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xf40307}=oe;function _0x3c47f7(_0x6864b8){const _0x12ebf2=_0x52bb;_0x6864b8[_0x12ebf2(0x27a)]('close');}function _0x60acaa(){const _0x5b76f3=_0x52bb;!this[_0x5b76f3(0x239)]&&this[_0x5b76f3(0x283)][_0x5b76f3(0x2eb)]&&this[_0x5b76f3(0x25b)]();}function _0x79ac21(_0x474712){const _0x1deda8=_0x52bb;this[_0x1deda8(0x240)](_0x1deda8(0x1f0),_0x79ac21),this[_0x1deda8(0x25b)](),this[_0x1deda8(0x2e6)](_0x1deda8(0x1f0))===0x0&&this[_0x1deda8(0x27a)]('error',_0x474712);}function _0x2bcb5d(_0x54f053,_0x11c12e){const _0x3660cd=_0x52bb;let _0x4d16ff=!0x0;const _0x57f21f=new _0xf40307({..._0x11c12e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54f053['on'](_0x3660cd(0x34c),function(_0x12fade,_0x4c6965){const _0x5045c7=_0x3660cd,_0xd7c44e=!_0x4c6965&&_0x57f21f[_0x5045c7(0x330)][_0x5045c7(0x245)]?_0x12fade[_0x5045c7(0x258)]():_0x12fade;_0x57f21f['push'](_0xd7c44e)||_0x54f053[_0x5045c7(0x1c6)]();}),_0x54f053[_0x3660cd(0x27f)](_0x3660cd(0x1f0),function(_0x3c5d9b){const _0x40025c=_0x3660cd;_0x57f21f[_0x40025c(0x239)]||(_0x4d16ff=!0x1,_0x57f21f[_0x40025c(0x25b)](_0x3c5d9b));}),_0x54f053[_0x3660cd(0x27f)](_0x3660cd(0x202),function(){const _0x449237=_0x3660cd;_0x57f21f[_0x449237(0x239)]||_0x57f21f['push'](null);}),_0x57f21f['_destroy']=function(_0x416695,_0x45028a){const _0x5d1fa3=_0x3660cd;if(_0x54f053['readyState']===_0x54f053[_0x5d1fa3(0x1a0)]){_0x45028a(_0x416695),process[_0x5d1fa3(0x2e7)](_0x3c47f7,_0x57f21f);return;}let _0x1ef996=!0x1;_0x54f053[_0x5d1fa3(0x27f)]('error',function(_0x29d107){_0x1ef996=!0x0,_0x45028a(_0x29d107);}),_0x54f053[_0x5d1fa3(0x27f)](_0x5d1fa3(0x202),function(){_0x1ef996||_0x45028a(_0x416695),process['nextTick'](_0x3c47f7,_0x57f21f);}),_0x4d16ff&&_0x54f053[_0x5d1fa3(0x317)]();},_0x57f21f[_0x3660cd(0x2dc)]=function(_0x4ecaa7){const _0x335bd8=_0x3660cd;if(_0x54f053['readyState']===_0x54f053[_0x335bd8(0x274)]){_0x54f053[_0x335bd8(0x27f)]('open',function(){const _0x6dd0a3=_0x335bd8;_0x57f21f[_0x6dd0a3(0x2dc)](_0x4ecaa7);});return;}_0x54f053['_socket']!==null&&(_0x54f053[_0x335bd8(0x291)][_0x335bd8(0x283)][_0x335bd8(0x2eb)]?(_0x4ecaa7(),_0x57f21f[_0x335bd8(0x330)][_0x335bd8(0x22d)]&&_0x57f21f[_0x335bd8(0x25b)]()):(_0x54f053['_socket'][_0x335bd8(0x27f)](_0x335bd8(0x358),function(){_0x4ecaa7();}),_0x54f053['close']()));},_0x57f21f[_0x3660cd(0x1ed)]=function(){const _0x559387=_0x3660cd;_0x54f053[_0x559387(0x242)]&&_0x54f053['resume']();},_0x57f21f['_write']=function(_0x1c64ff,_0x29ab4b,_0x3a1a1b){const _0x2d1da8=_0x3660cd;if(_0x54f053['readyState']===_0x54f053[_0x2d1da8(0x274)]){_0x54f053['once'](_0x2d1da8(0x235),function(){_0x57f21f['_write'](_0x1c64ff,_0x29ab4b,_0x3a1a1b);});return;}_0x54f053[_0x2d1da8(0x2ab)](_0x1c64ff,_0x3a1a1b);},_0x57f21f['on'](_0x3660cd(0x30f),_0x60acaa),_0x57f21f['on'](_0x3660cd(0x1f0),_0x79ac21),_0x57f21f;}return Oe=_0x2bcb5d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3ead96}=ae();function _0x1b34ad(_0x4cf68c){const _0x2b7d18=_0x52bb,_0x53462e=new Set();let _0x3697b8=-0x1,_0x448a58=-0x1,_0x4fb29e=0x0;for(_0x4fb29e;_0x4fb29e<_0x4cf68c[_0x2b7d18(0x361)];_0x4fb29e++){const _0x5af7c0=_0x4cf68c[_0x2b7d18(0x19b)](_0x4fb29e);if(_0x448a58===-0x1&&_0x3ead96[_0x5af7c0]===0x1)_0x3697b8===-0x1&&(_0x3697b8=_0x4fb29e);else{if(_0x4fb29e!==0x0&&(_0x5af7c0===0x20||_0x5af7c0===0x9))_0x448a58===-0x1&&_0x3697b8!==-0x1&&(_0x448a58=_0x4fb29e);else{if(_0x5af7c0===0x2c){if(_0x3697b8===-0x1)throw new SyntaxError(_0x2b7d18(0x2cf)+_0x4fb29e);_0x448a58===-0x1&&(_0x448a58=_0x4fb29e);const _0x17810b=_0x4cf68c['slice'](_0x3697b8,_0x448a58);if(_0x53462e[_0x2b7d18(0x1cb)](_0x17810b))throw new SyntaxError(_0x2b7d18(0x2d8)+_0x17810b+_0x2b7d18(0x343));_0x53462e['add'](_0x17810b),_0x3697b8=_0x448a58=-0x1;}else throw new SyntaxError(_0x2b7d18(0x2cf)+_0x4fb29e);}}}if(_0x3697b8===-0x1||_0x448a58!==-0x1)throw new SyntaxError(_0x2b7d18(0x27b));const _0x51a739=_0x4cf68c[_0x2b7d18(0x26c)](_0x3697b8,_0x4fb29e);if(_0x53462e[_0x2b7d18(0x1cb)](_0x51a739))throw new SyntaxError(_0x2b7d18(0x2d8)+_0x51a739+_0x2b7d18(0x343));return _0x53462e[_0x2b7d18(0x342)](_0x51a739),_0x53462e;}return Ce={'parse':_0x1b34ad},Ce;}var Te,rt;function Ft(){const _0x44847e=_0x11f02f;if(rt)return Te;rt=0x1;const _0x579933=nt,_0x5a9408=ot,{Duplex:_0x6390ff}=oe,{createHash:_0x4d48d3}=Le,_0x5a720d=ct(),_0x460792=he(),_0x105ffd=At(),_0x536a2e=Pe(),{GUID:_0x25a960,kWebSocket:_0x476425}=H(),_0x598649=/^[+/0-9A-Za-z]{22}==$/,_0x4eb993=0x0,_0x295cc8=0x1,_0x51e436=0x2;class _0x5b5c53 extends _0x579933{constructor(_0x3b6238,_0xe66287){const _0x81ce52=_0x52bb;if(super(),_0x3b6238={'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':_0x536a2e,..._0x3b6238},_0x3b6238[_0x81ce52(0x2f0)]==null&&!_0x3b6238[_0x81ce52(0x1ba)]&&!_0x3b6238[_0x81ce52(0x312)]||_0x3b6238['port']!=null&&(_0x3b6238[_0x81ce52(0x1ba)]||_0x3b6238['noServer'])||_0x3b6238['server']&&_0x3b6238[_0x81ce52(0x312)])throw new TypeError(_0x81ce52(0x1a5));if(_0x3b6238['port']!=null?(this[_0x81ce52(0x2d3)]=_0x5a9408[_0x81ce52(0x1d3)]((_0x10226c,_0x23857f)=>{const _0x1aa6e6=_0x81ce52,_0x4749c0=_0x5a9408['STATUS_CODES'][0x1aa];_0x23857f[_0x1aa6e6(0x313)](0x1aa,{'Content-Length':_0x4749c0[_0x1aa6e6(0x361)],'Content-Type':_0x1aa6e6(0x1a1)}),_0x23857f[_0x1aa6e6(0x30f)](_0x4749c0);}),this['_server'][_0x81ce52(0x1ec)](_0x3b6238[_0x81ce52(0x2f0)],_0x3b6238[_0x81ce52(0x19f)],_0x3b6238[_0x81ce52(0x326)],_0xe66287)):_0x3b6238[_0x81ce52(0x1ba)]&&(this[_0x81ce52(0x2d3)]=_0x3b6238['server']),this[_0x81ce52(0x2d3)]){const _0x100e66=this[_0x81ce52(0x27a)]['bind'](this,_0x81ce52(0x2de));this[_0x81ce52(0x2bd)]=_0x54710c(this['_server'],{'listening':this[_0x81ce52(0x27a)][_0x81ce52(0x223)](this,_0x81ce52(0x336)),'error':this['emit'][_0x81ce52(0x223)](this,_0x81ce52(0x1f0)),'upgrade':(_0x4cfdc1,_0x42407f,_0x35022c)=>{const _0x48eb1e=_0x81ce52;this[_0x48eb1e(0x1bc)](_0x4cfdc1,_0x42407f,_0x35022c,_0x100e66);}});}_0x3b6238['perMessageDeflate']===!0x0&&(_0x3b6238[_0x81ce52(0x1d7)]={}),_0x3b6238[_0x81ce52(0x1fc)]&&(this['clients']=new Set(),this[_0x81ce52(0x1f4)]=!0x1),this[_0x81ce52(0x1b7)]=_0x3b6238,this[_0x81ce52(0x2be)]=_0x4eb993;}[_0x44847e(0x2c1)](){const _0x4b6ea2=_0x44847e;if(this[_0x4b6ea2(0x1b7)]['noServer'])throw new Error(_0x4b6ea2(0x1f5));return this[_0x4b6ea2(0x2d3)]?this[_0x4b6ea2(0x2d3)][_0x4b6ea2(0x2c1)]():null;}[_0x44847e(0x202)](_0x3ab70c){const _0x43ae0a=_0x44847e;if(this['_state']===_0x51e436){_0x3ab70c&&this[_0x43ae0a(0x27f)]('close',()=>{const _0x1cc280=_0x43ae0a;_0x3ab70c(new Error(_0x1cc280(0x1d4)));}),process[_0x43ae0a(0x2e7)](_0x2fa0ac,this);return;}if(_0x3ab70c&&this[_0x43ae0a(0x27f)](_0x43ae0a(0x202),_0x3ab70c),this[_0x43ae0a(0x2be)]!==_0x295cc8){if(this[_0x43ae0a(0x2be)]=_0x295cc8,this[_0x43ae0a(0x1b7)][_0x43ae0a(0x312)]||this[_0x43ae0a(0x1b7)][_0x43ae0a(0x1ba)])this[_0x43ae0a(0x2d3)]&&(this['_removeListeners'](),this[_0x43ae0a(0x2bd)]=this[_0x43ae0a(0x2d3)]=null),this[_0x43ae0a(0x295)]?this[_0x43ae0a(0x295)][_0x43ae0a(0x289)]?this[_0x43ae0a(0x1f4)]=!0x0:process[_0x43ae0a(0x2e7)](_0x2fa0ac,this):process[_0x43ae0a(0x2e7)](_0x2fa0ac,this);else{const _0x142b07=this[_0x43ae0a(0x2d3)];this[_0x43ae0a(0x2bd)](),this[_0x43ae0a(0x2bd)]=this[_0x43ae0a(0x2d3)]=null,_0x142b07[_0x43ae0a(0x202)](()=>{_0x2fa0ac(this);});}}}[_0x44847e(0x1b6)](_0x5cc0ae){const _0x3e1f35=_0x44847e;if(this[_0x3e1f35(0x1b7)]['path']){const _0x4ee178=_0x5cc0ae[_0x3e1f35(0x1fe)][_0x3e1f35(0x265)]('?');if((_0x4ee178!==-0x1?_0x5cc0ae[_0x3e1f35(0x1fe)][_0x3e1f35(0x26c)](0x0,_0x4ee178):_0x5cc0ae['url'])!==this[_0x3e1f35(0x1b7)][_0x3e1f35(0x287)])return!0x1;}return!0x0;}['handleUpgrade'](_0x9e18a5,_0x4d3d9d,_0xa98875,_0x457bb0){const _0x4c83a1=_0x44847e;_0x4d3d9d['on'](_0x4c83a1(0x1f0),_0x1d257c);const _0x2d400a=_0x9e18a5[_0x4c83a1(0x264)][_0x4c83a1(0x216)],_0x296da5=_0x9e18a5['headers'][_0x4c83a1(0x325)],_0xe1e17b=+_0x9e18a5[_0x4c83a1(0x264)][_0x4c83a1(0x218)];if(_0x9e18a5[_0x4c83a1(0x2b9)]!==_0x4c83a1(0x2f4)){_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x195,_0x4c83a1(0x2b8));return;}if(_0x296da5===void 0x0||_0x296da5[_0x4c83a1(0x21d)]()!==_0x4c83a1(0x1be)){_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x190,_0x4c83a1(0x31d));return;}if(_0x2d400a===void 0x0||!_0x598649['test'](_0x2d400a)){_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x190,_0x4c83a1(0x251));return;}if(_0xe1e17b!==0x8&&_0xe1e17b!==0xd){_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x190,_0x4c83a1(0x1cf));return;}if(!this[_0x4c83a1(0x1b6)](_0x9e18a5)){_0x4b6593(_0x4d3d9d,0x190);return;}const _0x2e3446=_0x9e18a5[_0x4c83a1(0x264)][_0x4c83a1(0x1e1)];let _0x2ce5f7=new Set();if(_0x2e3446!==void 0x0)try{_0x2ce5f7=_0x105ffd[_0x4c83a1(0x2c4)](_0x2e3446);}catch{_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x190,_0x4c83a1(0x2e4));return;}const _0x83f1dd=_0x9e18a5['headers']['sec-websocket-extensions'],_0x498aaf={};if(this[_0x4c83a1(0x1b7)][_0x4c83a1(0x1d7)]&&_0x83f1dd!==void 0x0){const _0x734707=new _0x460792(this[_0x4c83a1(0x1b7)][_0x4c83a1(0x1d7)],!0x0,this[_0x4c83a1(0x1b7)][_0x4c83a1(0x33b)]);try{const _0x178bbc=_0x5a720d[_0x4c83a1(0x2c4)](_0x83f1dd);_0x178bbc[_0x460792['extensionName']]&&(_0x734707[_0x4c83a1(0x225)](_0x178bbc[_0x460792[_0x4c83a1(0x339)]]),_0x498aaf[_0x460792[_0x4c83a1(0x339)]]=_0x734707);}catch{_0x1f5ae4(this,_0x9e18a5,_0x4d3d9d,0x190,_0x4c83a1(0x28a));return;}}if(this['options']['verifyClient']){const _0x55d5f1={'origin':_0x9e18a5[_0x4c83a1(0x264)][''+(_0xe1e17b===0x8?_0x4c83a1(0x355):'origin')],'secure':!!(_0x9e18a5[_0x4c83a1(0x28b)]['authorized']||_0x9e18a5['socket'][_0x4c83a1(0x293)]),'req':_0x9e18a5};if(this[_0x4c83a1(0x1b7)][_0x4c83a1(0x31e)][_0x4c83a1(0x361)]===0x2){this[_0x4c83a1(0x1b7)]['verifyClient'](_0x55d5f1,(_0x15db9a,_0x3696ea,_0x4b9033,_0x4a511c)=>{if(!_0x15db9a)return _0x4b6593(_0x4d3d9d,_0x3696ea||0x191,_0x4b9033,_0x4a511c);this['completeUpgrade'](_0x498aaf,_0x2d400a,_0x2ce5f7,_0x9e18a5,_0x4d3d9d,_0xa98875,_0x457bb0);});return;}if(!this[_0x4c83a1(0x1b7)]['verifyClient'](_0x55d5f1))return _0x4b6593(_0x4d3d9d,0x191);}this[_0x4c83a1(0x25e)](_0x498aaf,_0x2d400a,_0x2ce5f7,_0x9e18a5,_0x4d3d9d,_0xa98875,_0x457bb0);}[_0x44847e(0x25e)](_0x36fca6,_0x1f66fc,_0xb7ae61,_0x3c12a6,_0x2c8b4d,_0x2b0352,_0x4e278e){const _0x5f3c4a=_0x44847e;if(!_0x2c8b4d[_0x5f3c4a(0x1db)]||!_0x2c8b4d[_0x5f3c4a(0x2b1)])return _0x2c8b4d[_0x5f3c4a(0x25b)]();if(_0x2c8b4d[_0x476425])throw new Error(_0x5f3c4a(0x233));if(this['_state']>_0x4eb993)return _0x4b6593(_0x2c8b4d,0x1f7);const _0x5d36fd=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5f3c4a(0x21f),_0x5f3c4a(0x2f3),_0x5f3c4a(0x33c)+_0x4d48d3('sha1')['update'](_0x1f66fc+_0x25a960)[_0x5f3c4a(0x1aa)]('base64')],_0x16b397=new this[(_0x5f3c4a(0x1b7))][(_0x5f3c4a(0x228))](null,void 0x0,this['options']);if(_0xb7ae61[_0x5f3c4a(0x289)]){const _0x21f606=this[_0x5f3c4a(0x1b7)]['handleProtocols']?this[_0x5f3c4a(0x1b7)][_0x5f3c4a(0x1e7)](_0xb7ae61,_0x3c12a6):_0xb7ae61[_0x5f3c4a(0x21c)]()[_0x5f3c4a(0x1b4)]()[_0x5f3c4a(0x217)];_0x21f606&&(_0x5d36fd[_0x5f3c4a(0x206)](_0x5f3c4a(0x23a)+_0x21f606),_0x16b397[_0x5f3c4a(0x2e2)]=_0x21f606);}if(_0x36fca6[_0x460792[_0x5f3c4a(0x339)]]){const _0x116245=_0x36fca6[_0x460792['extensionName']][_0x5f3c4a(0x1ef)],_0x41e211=_0x5a720d['format']({[_0x460792['extensionName']]:[_0x116245]});_0x5d36fd[_0x5f3c4a(0x206)](_0x5f3c4a(0x35a)+_0x41e211),_0x16b397[_0x5f3c4a(0x2b7)]=_0x36fca6;}this['emit']('headers',_0x5d36fd,_0x3c12a6),_0x2c8b4d[_0x5f3c4a(0x320)](_0x5d36fd[_0x5f3c4a(0x2c5)]('\x0d\x0a')[_0x5f3c4a(0x2c6)]('\x0d\x0a')),_0x2c8b4d[_0x5f3c4a(0x240)](_0x5f3c4a(0x1f0),_0x1d257c),_0x16b397[_0x5f3c4a(0x350)](_0x2c8b4d,_0x2b0352,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x5f3c4a(0x1b7)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x5f3c4a(0x295)]&&(this[_0x5f3c4a(0x295)][_0x5f3c4a(0x342)](_0x16b397),_0x16b397['on'](_0x5f3c4a(0x202),()=>{const _0x85bcea=_0x5f3c4a;this[_0x85bcea(0x295)][_0x85bcea(0x33d)](_0x16b397),this[_0x85bcea(0x1f4)]&&!this[_0x85bcea(0x295)][_0x85bcea(0x289)]&&process[_0x85bcea(0x2e7)](_0x2fa0ac,this);})),_0x4e278e(_0x16b397,_0x3c12a6);}}Te=_0x5b5c53;function _0x54710c(_0x1fbdd8,_0x302a24){const _0x2c7fa4=_0x44847e;for(const _0x54ea1c of Object[_0x2c7fa4(0x212)](_0x302a24))_0x1fbdd8['on'](_0x54ea1c,_0x302a24[_0x54ea1c]);return function(){const _0x204ece=_0x2c7fa4;for(const _0x184226 of Object[_0x204ece(0x212)](_0x302a24))_0x1fbdd8[_0x204ece(0x240)](_0x184226,_0x302a24[_0x184226]);};}function _0x2fa0ac(_0x3d5a8f){const _0x127208=_0x44847e;_0x3d5a8f[_0x127208(0x2be)]=_0x51e436,_0x3d5a8f[_0x127208(0x27a)]('close');}function _0x1d257c(){const _0x48322f=_0x44847e;this[_0x48322f(0x25b)]();}function _0x4b6593(_0x52bd0a,_0x4c079e,_0x39821b,_0xaba189){const _0x341e2e=_0x44847e;_0x39821b=_0x39821b||_0x5a9408[_0x341e2e(0x2af)][_0x4c079e],_0xaba189={'Connection':'close','Content-Type':_0x341e2e(0x329),'Content-Length':Buffer[_0x341e2e(0x335)](_0x39821b),..._0xaba189},_0x52bd0a[_0x341e2e(0x27f)](_0x341e2e(0x358),_0x52bd0a[_0x341e2e(0x25b)]),_0x52bd0a[_0x341e2e(0x30f)]('HTTP/1.1\x20'+_0x4c079e+'\x20'+_0x5a9408[_0x341e2e(0x2af)][_0x4c079e]+'\x0d\x0a'+Object['keys'](_0xaba189)[_0x341e2e(0x270)](_0x59c26e=>_0x59c26e+':\x20'+_0xaba189[_0x59c26e])['join']('\x0d\x0a')+_0x341e2e(0x23e)+_0x39821b);}function _0x1f5ae4(_0x3c4d42,_0x1f0e9d,_0x270fc2,_0x2bbfe3,_0x51763e){const _0x22b572=_0x44847e;if(_0x3c4d42[_0x22b572(0x2e6)](_0x22b572(0x344))){const _0x35ce4d=new Error(_0x51763e);Error[_0x22b572(0x1fb)](_0x35ce4d,_0x1f5ae4),_0x3c4d42[_0x22b572(0x27a)]('wsClientError',_0x35ce4d,_0x270fc2,_0x1f0e9d);}else _0x4b6593(_0x270fc2,_0x2bbfe3,_0x51763e);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x14a8b0,_0x20eecc,_0x10c3d1,_0x54796b)=>{const _0x4449f0=_0x11f02f;for(var _0x4bda9c=_0x54796b>0x1?void 0x0:_0x54796b?jt(_0x20eecc,_0x10c3d1):_0x20eecc,_0x5ef8f2=_0x14a8b0[_0x4449f0(0x361)]-0x1,_0x3f57db;_0x5ef8f2>=0x0;_0x5ef8f2--)(_0x3f57db=_0x14a8b0[_0x5ef8f2])&&(_0x4bda9c=_0x3f57db(_0x4bda9c)||_0x4bda9c);return _0x4bda9c;},qt=(_0x45ec45,_0x1df9e0)=>(_0x44f0c5,_0x38e1fe)=>_0x1df9e0(_0x44f0c5,_0x38e1fe,_0x45ec45);let ke=class extends A[_0x11f02f(0x22a)]{constructor(_0xe5fcef){const _0x353fec=_0x11f02f;super(),this[_0x353fec(0x1d8)]=_0xe5fcef;}['createSocket'](_0xdd533d){const _0x14db9a=_0x11f02f;var _0x4c79dc;const _0x157582=(_0x4c79dc=this[_0x14db9a(0x1d8)][_0x14db9a(0x2f9)](fe))==null?void 0x0:_0x4c79dc['customHeaders'];try{const _0x3f71ab=new $t(_0xdd533d,{'headers':{..._0x157582}}),_0x53f038=new A[(_0x14db9a(0x352))]();return{'URL':_0xdd533d,'close':(_0x404e33,_0x33517e)=>{const _0x392bdc=_0x14db9a;_0x3f71ab[_0x392bdc(0x202)](_0x404e33,_0x33517e),_0x53f038[_0x392bdc(0x2a3)]();},'send':_0x2eedf=>{const _0x564755=_0x14db9a;_0x3f71ab[_0x564755(0x2ab)](_0x2eedf);},'open$':new V[(_0x14db9a(0x2a8))](_0x72ab9=>{const _0x1f9979=_0x14db9a,_0x4e68c9=_0x2d0ec6=>_0x72ab9[_0x1f9979(0x1b4)](_0x2d0ec6);_0x3f71ab[_0x1f9979(0x331)](_0x1f9979(0x235),_0x4e68c9),_0x53f038['add'](A[_0x1f9979(0x1ad)](()=>_0x3f71ab[_0x1f9979(0x33e)](_0x1f9979(0x235),_0x4e68c9)));})[_0x14db9a(0x285)](V[_0x14db9a(0x208)]()),'close$':new V[(_0x14db9a(0x2a8))](_0x1a05d8=>{const _0x19cf1a=_0x14db9a,_0x4bb1d1=_0x45334a=>_0x1a05d8[_0x19cf1a(0x1b4)](_0x45334a);_0x3f71ab[_0x19cf1a(0x331)](_0x19cf1a(0x202),_0x4bb1d1),_0x53f038[_0x19cf1a(0x342)](A['toDisposable'](()=>_0x3f71ab[_0x19cf1a(0x33e)]('close',_0x4bb1d1)));})['pipe'](V[_0x14db9a(0x208)]()),'error$':new V[(_0x14db9a(0x2a8))](_0x5ee991=>{const _0x67d025=_0x14db9a,_0x25a094=_0x2561a9=>_0x5ee991[_0x67d025(0x1b4)](_0x2561a9);_0x3f71ab[_0x67d025(0x331)](_0x67d025(0x1f0),_0x25a094),_0x53f038[_0x67d025(0x342)](A['toDisposable'](()=>_0x3f71ab[_0x67d025(0x33e)]('error',_0x25a094)));})[_0x14db9a(0x285)](V[_0x14db9a(0x208)]()),'message$':new V[(_0x14db9a(0x2a8))](_0x3988f9=>{const _0x47aee4=_0x14db9a,_0x3b8900=_0x5bf7ac=>_0x3988f9[_0x47aee4(0x1b4)](_0x5bf7ac);_0x3f71ab[_0x47aee4(0x331)]('message',_0x3b8900),_0x53f038[_0x47aee4(0x342)](A['toDisposable'](()=>_0x3f71ab[_0x47aee4(0x33e)](_0x47aee4(0x34c),_0x3b8900)));})['pipe'](V[_0x14db9a(0x208)]())};}catch(_0x1d93ad){return console[_0x14db9a(0x1f0)](_0x1d93ad),null;}}};ke=Wt([qt(0x0,A[_0x11f02f(0x1c9)])],ke);var Gt=Object[_0x11f02f(0x357)],Vt=Object[_0x11f02f(0x1c7)],Ht=(_0x17316b,_0x55f6b1,_0x5b2cd9)=>_0x55f6b1 in _0x17316b?Gt(_0x17316b,_0x55f6b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2cd9}):_0x17316b[_0x55f6b1]=_0x5b2cd9,zt=(_0x2a92c4,_0x11bac,_0x4970f1,_0xb45ece)=>{for(var _0x4cd355=_0xb45ece>0x1?void 0x0:_0xb45ece?Vt(_0x11bac,_0x4970f1):_0x11bac,_0x2dd29b=_0x2a92c4['length']-0x1,_0xdf3c67;_0x2dd29b>=0x0;_0x2dd29b--)(_0xdf3c67=_0x2a92c4[_0x2dd29b])&&(_0x4cd355=_0xdf3c67(_0x4cd355)||_0x4cd355);return _0x4cd355;},Ne=(_0x1187ee,_0x439e7c)=>(_0x1ce7b6,_0x2a7397)=>_0x439e7c(_0x1ce7b6,_0x2a7397,_0x1187ee),Yt=(_0x4604bb,_0x1399c9,_0x7adf1d)=>Ht(_0x4604bb,_0x1399c9+'',_0x7adf1d);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x324857=Ct,_0x5bae85,_0x2be867,_0x353ad3){const _0x2f3af4=_0x11f02f;_0x324857[_0x2f3af4(0x22c)]||_0x5bae85[_0x2f3af4(0x1e5)](_0x2f3af4(0x34e)),super(),this[_0x2f3af4(0x1d8)]=_0x2be867,this[_0x2f3af4(0x277)]=_0x353ad3,this[_0x2f3af4(0x1d8)][_0x2f3af4(0x25d)](fe,_0x324857);}[_0x11f02f(0x332)](){const _0x255940=_0x11f02f;this[_0x255940(0x20f)]();}[_0x11f02f(0x20f)](){const _0x5f3600=_0x11f02f;A['registerDependencies'](this[_0x5f3600(0x277)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x11f02f(0x290)],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x11f02f(0x348)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x11f02f(0x288)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x11f02f(0x257)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x19daa2,_0x3c7924,_0x3caebb,_0x21fd77)=>{const _0x1af121=_0x11f02f;for(var _0x13b5df=_0x21fd77>0x1?void 0x0:_0x21fd77?Kt(_0x3c7924,_0x3caebb):_0x3c7924,_0x237eb7=_0x19daa2[_0x1af121(0x361)]-0x1,_0x12d9b3;_0x237eb7>=0x0;_0x237eb7--)(_0x12d9b3=_0x19daa2[_0x237eb7])&&(_0x13b5df=_0x12d9b3(_0x13b5df)||_0x13b5df);return _0x13b5df;},ne=(_0x7a8624,_0x2bb45f)=>(_0x2389ec,_0x5177f1)=>_0x2bb45f(_0x2389ec,_0x5177f1,_0x7a8624);exports['NodeCollaborationSocketService']=class extends st[_0x11f02f(0x296)]{constructor(_0x5f4048,_0x501c73,_0x366454,_0x15691f,_0x43b16d){const _0x10d56d=_0x11f02f;super(_0x5f4048,_0x501c73,_0x366454,_0x15691f,_0x43b16d);const _0x4d49cd=this[_0x10d56d(0x1d8)][_0x10d56d(0x2f9)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x55537e,_0x5115b5)=>{const _0x5a4e2a=_0x10d56d;var _0x34bbe7;const _0x1362a1=_0x55537e[_0x5a4e2a(0x264)];return(_0x34bbe7=_0x4d49cd==null?void 0x0:_0x4d49cd[_0x5a4e2a(0x22c)])!=null&&_0x34bbe7[_0x5a4e2a(0x23b)]&&_0x1362a1['set'](_0x5a4e2a(0x254),_0x4d49cd[_0x5a4e2a(0x22c)][_0x5a4e2a(0x23b)]),_0x5115b5(_0x55537e);}});}async['createSocket'](_0x15c85a){const _0x171797=_0x11f02f;return this[_0x171797(0x2ac)](_0x15c85a);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x11f02f(0x252)])),ne(0x1,A['Inject'](it[_0x11f02f(0x282)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x11f02f(0x288)]),ne(0x4,Ot[_0x11f02f(0x1b8)])],exports['NodeCollaborationSocketService']),exports[_0x11f02f(0x249)]=fe;