@univerjs-pro/collaboration-client-node 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x29fd(){const _0x537d46=['code','_messageLength','acceptAsClient','env','client','open','offer','end','value','zlibDeflateOptions','extensionName','CollaborationSocketService','ISnapshotServerService','getOwnPropertyDescriptor','_firstFragment','_closeCode','error','finished','reason','unexpected-response','isServer','45rKgRJb','Invalid\x20Sec-WebSocket-Protocol\x20header','byteOffset','@univerjs-pro/collaboration-client','_mask','_payloadLength','kTarget','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','set','_shouldEmitClose','startsWith','href','Connection:\x20Upgrade','object','indexOf','uncork','isBuffer','concat','origin','require$$4','_extensions','UniverCore','verifyClient','_maxPayload','UniverProCollaborationClientNode','_compressed','_originalSecure','_originalIpc','binaryType','defineProperty','_writableState','function','slice','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','http:','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_state','emit','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','total-length','_threshold','_binaryType','extensions','_server','listening','The\x20URL\x27s\x20pathname\x20is\x20empty','invalid\x20payload\x20length\x20','url','writable','unshift','_allowSynchronousEvents','replace','UniverProCollaborationClient','_totalPayloadLength','invalid\x20opcode\x20','CLOSED','pong','skipUTF8Validation','constructor','maskBuffer','kDone','DisposableCollection','type','options','maxRedirects','sha1','binary','buffer','invalid\x20status\x20code\x20','cookie','pathname','removeEventListener','prototype','push','objectMode','dequeue','Sec-WebSocket-Extensions','CONNECTING','https','client_max_window_bits','events','UniverNetwork','errorEmitted','kRun','_paused','location','autoPong','handleProtocols','onerror','blob','shift','opcode','_protocol','ISocketService','server_no_context_takeover','_fragmented','WS_ERR_UNEXPECTED_RSV_1','includes','request','finish','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_options','normalizeParams','_originalHostOrSocketPath','format','Origin','perMessageDeflate','kIsForOnEventAttribute','share','WebSocket\x20is\x20not\x20open:\x20readyState\x20','from','has','socket','wasClean','nodebuffer','controlMessage','_buffers','completeUpgrade','kWasClean','wsClientError','username','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','serverMaxWindowBits','Unknown\x20parameter\x20\x22','_loop','hostname','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','test','Z_DEFAULT_WINDOWBITS','Invalid\x20WebSocket\x20frame:\x20','abort','resume','then','WS_ERR_INVALID_OPCODE','Parameter\x20\x22','148630MePqqL','getBlobData','HTTPService','setConfig','cleanup','handshakeTimeout','string','ws+unix:','threshold','target','encrypted','The\x20\x22','pow','require$$0$1','shouldHandle','_inflate','customHeaders','Unexpected\x20character\x20at\x20index\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Invalid\x20Sec-WebSocket-Extensions\x20header','_fragments','getData','bind','serverNoContextTakeover','amd','createDeflateRaw','Sec-WebSocket-Protocol','133074ISwvqt','data','_queue','Invalid\x20value\x20for\x20parameter\x20\x22','Invalid\x20Sec-WebSocket-Accept\x20header','1IFOIjB','\x0d\x0a\x0d\x0a','finishRequest','CLOSING','listeners','allocUnsafe','_registerDependencies','_closeFrameSent','Observable','allowSynchronousEvents','invalid\x20opcode\x200','removeAllListeners','kAborted','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','\x20(supported\x20versions:\x20','enqueue','nextTick','species','mask','GET','drain','getInfo','304SgJMeV','setHeader','writeUInt16BE','needDrain','_decompress','port','readUInt32BE','listenerCount','exports','digest','socketPath','require$$0$3','hasOwnProperty','Sec-WebSocket-Accept:\x20','number','Plugin','ILogService','13,\x208','clientNoContextTakeover','Disposable','isValidUTF8','destroyed','compress','isArray','generateMask','call','decompress','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','endEmitted','toDisposable','noServer','Server\x20sent\x20no\x20subprotocol','byteLength','emitClose','_opcode','_removeListeners','send','protocol','next','_bufferedBytes','sec-websocket-origin','concurrency','consume','isView','collaboration-client-node.config','dataMessage','haveLength','_isServer','once','__esModule','\x22:\x20','destroy','OPEN','_redirects','handleUpgrade','@univerjs/core','rxjs','removeListener','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_closeMessage','search','onmessage','conclude','readUInt16BE','Maximum\x20redirects\x20exceeded','_closeTimer','_final','cork','getConfig','isPaused','frame','password','Opening\x20handshake\x20has\x20timed\x20out','keys','map','terminate','_fin','authorization','clients','auth','_configService','arraybuffer','server_max_window_bits','protocolVersion','alloc','timeout','acceptAsServer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','527542xqJmMZ','ping','accept','status-code','312oYTLsv','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','8603AgMbDy','headers','_masked','bufferedAmount','write','method','_httpService','close','permessage-deflate','kData','update','_maskBuffer','WebSocket','ws:','fin','default','createError','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_doCreateSocket','MASK\x20must\x20be\x20clear','client_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','response','stream','_compress','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sec-websocket-version','_sender','sec-websocket-accept','construct','WS_ERR_INVALID_UTF8','buffers','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','message','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','readyState','toLowerCase','address','pipe','reset','values','add','redirect','IConfigService','dispose','_skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','_bufferedAmount','toStringTag','getPayloadLength16','forEach','UniverProCollaboration','readable','freeze','websocket','createConnection','Invalid\x20Upgrade\x20header','join','concurrencyLimit','sec-websocket-extensions','params','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_UNEXPECTED_RSV_2_3','wss:','Unsupported\x20protocol\x20version:\x20','kError','isInteger','server','create','Max\x20payload\x20size\x20exceeded','_readyState','Sec-WebSocket-Origin','Unexpected\x20server\x20response:\x20','_errorEmitted','createSocket','kMessage','RSV1\x20must\x20be\x20clear','kCode','split','zlib','8485oKtHgP','UniverCollaborationClientNodePlugin','startLoop','createInflateRaw','Cookie','maxPayload','http','clientTracking','Inject','MASK\x20must\x20be\x20set','catch','pending','HTTP/1.1\x20101\x20Switching\x20Protocols','jobs','path','followRedirects','kByteLength','Upgrade','pause','STATUS_CODES','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','arrayBuffer','apply','parse','authorized','_write','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_readableState','fragments','require$$0','_generateMask','base64','connect','_deflate','COLLABORATION_CLIENT_NODE_CONFIG_KEY','setNoDelay','read','handleEvent','_req','HTTP/1.1\x20','backlog','kType','2064GXRvFx','require$$0$2','Invalid\x20URL:\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toString','text/html','The\x20server\x20is\x20not\x20running','getPayloadLength64','onclose','kReason','statusCode','WS_NO_UTF_8_VALIDATE','_autoPong','find','upgrade','_receiver','size','captureStackTrace','_socket','sec-websocket-protocol','charCodeAt','720111ncuSvh','sendFrame','18535QNPDCU','registerDependencies','Injector','length','host','flush','readOnly','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientMaxWindowBits','_closeFrameReceived','dispatch','servername','_url','setSocket','NodeCollaborationSocketService','addEventListener','hash'];_0x29fd=function(){return _0x537d46;};return _0x29fd();}function _0x4cae(_0x4f2429,_0x331874){_0x4f2429=_0x4f2429-0xf0;const _0x29fd11=_0x29fd();let _0x4caeeb=_0x29fd11[_0x4f2429];return _0x4caeeb;}(function(_0x1a5bce,_0xcbfdf8){const _0x4b3ecd=_0x4cae,_0x50b0b4=_0x1a5bce();while(!![]){try{const _0x53e2f9=-parseInt(_0x4b3ecd(0x206))/0x1*(-parseInt(_0x4b3ecd(0x275))/0x2)+-parseInt(_0x4b3ecd(0x137))/0x3+parseInt(_0x4b3ecd(0x21c))/0x4*(-parseInt(_0x4b3ecd(0xf8))/0x5)+-parseInt(_0x4b3ecd(0x201))/0x6+parseInt(_0x4b3ecd(0x27b))/0x7*(parseInt(_0x4b3ecd(0x122))/0x8)+-parseInt(_0x4b3ecd(0x15f))/0x9*(-parseInt(_0x4b3ecd(0x1e6))/0xa)+parseInt(_0x4b3ecd(0x139))/0xb*(-parseInt(_0x4b3ecd(0x279))/0xc);if(_0x53e2f9===_0xcbfdf8)break;else _0x50b0b4['push'](_0x50b0b4['shift']());}catch(_0x1a8cf8){_0x50b0b4['push'](_0x50b0b4['shift']());}}}(_0x29fd,0x35c0a),function(_0xd1d8db,_0x22c621){const _0x444e29=_0x4cae;typeof exports=='object'&&typeof module<'u'?_0x22c621(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define==_0x444e29(0x17e)&&define[_0x444e29(0x1fe)]?define(['exports',_0x444e29(0x162),_0x444e29(0x254),'@univerjs/network',_0x444e29(0x255),_0x444e29(0x1af),_0x444e29(0x1ad),_0x444e29(0xfe),'net','tls','crypto',_0x444e29(0x292),'url',_0x444e29(0xf7),_0x444e29(0x1a2),'@univerjs-pro/collaboration'],_0x22c621):(_0xd1d8db=typeof globalThis<'u'?globalThis:_0xd1d8db||self,_0x22c621(_0xd1d8db[_0x444e29(0x177)]={},_0xd1d8db[_0x444e29(0x193)],_0xd1d8db[_0x444e29(0x174)],_0xd1d8db[_0x444e29(0x1b0)],_0xd1d8db[_0x444e29(0x255)],_0xd1d8db[_0x444e29(0x227)],_0xd1d8db['require$$1$1'],_0xd1d8db['require$$2$1'],_0xd1d8db['require$$3'],_0xd1d8db[_0x444e29(0x172)],_0xd1d8db['require$$1'],_0xd1d8db[_0x444e29(0x123)],_0xd1d8db['require$$7'],_0xd1d8db[_0x444e29(0x115)],_0xd1d8db[_0x444e29(0x1f3)],_0xd1d8db[_0x444e29(0x2b0)]));}(this,function(_0x5cae9b,_0x1e58a0,_0x59edc7,_0x161a66,_0x16327a,_0x4ddd71,_0xc39672,_0x30bab8,_0x2a4b71,_0x1a4c7d,_0x26dfc4,_0x2f6ccb,_0x567749,_0x178c83,_0x12aaa7,_0x48e6d7){'use strict';const _0x193ea3=_0x4cae;const _0x256e3c=_0x193ea3(0x249),_0x3891b4={};function _0x461918(_0x239593){const _0xc1f771=_0x193ea3;return _0x239593&&_0x239593[_0xc1f771(0x24e)]&&Object[_0xc1f771(0x1a7)][_0xc1f771(0x228)][_0xc1f771(0x235)](_0x239593,_0xc1f771(0x28a))?_0x239593[_0xc1f771(0x28a)]:_0x239593;}function _0x15f3b4(_0x4b7e61){const _0x93187a=_0x193ea3;if(Object[_0x93187a(0x1a7)][_0x93187a(0x228)][_0x93187a(0x235)](_0x4b7e61,_0x93187a(0x24e)))return _0x4b7e61;var _0x21c02c=_0x4b7e61[_0x93187a(0x28a)];if(typeof _0x21c02c==_0x93187a(0x17e)){var _0x1fe497=function _0x28c1d1(){const _0x57abdb=_0x93187a;var _0x268049=!0x1;try{_0x268049=this instanceof _0x28c1d1;}catch{}return _0x268049?Reflect[_0x57abdb(0x298)](_0x21c02c,arguments,this[_0x57abdb(0x199)]):_0x21c02c[_0x57abdb(0x10e)](this,arguments);};_0x1fe497[_0x93187a(0x1a7)]=_0x21c02c[_0x93187a(0x1a7)];}else _0x1fe497={};return Object[_0x93187a(0x17c)](_0x1fe497,_0x93187a(0x24e),{'value':!0x0}),Object[_0x93187a(0x266)](_0x4b7e61)[_0x93187a(0x2af)](function(_0x338fc5){const _0x2ba9eb=_0x93187a;var _0x483ff7=Object[_0x2ba9eb(0x157)](_0x4b7e61,_0x338fc5);Object[_0x2ba9eb(0x17c)](_0x1fe497,_0x338fc5,_0x483ff7['get']?_0x483ff7:{'enumerable':!0x0,'get':function(){return _0x4b7e61[_0x338fc5];}});}),_0x1fe497;}var _0x34c148,_0x28a8d1;function _0x4627b8(){const _0x42f1bf=_0x193ea3;if(_0x28a8d1)return _0x34c148;_0x28a8d1=0x1;const _0x5a947e=[_0x42f1bf(0x1d1),_0x42f1bf(0x26e),_0x42f1bf(0x114)],_0x402b3c=typeof Blob<'u';return _0x402b3c&&_0x5a947e[_0x42f1bf(0x1a8)](_0x42f1bf(0x1b8)),_0x34c148={'BINARY_TYPES':_0x5a947e,'EMPTY_BUFFER':Buffer[_0x42f1bf(0x271)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x402b3c,'kForOnEventAttribute':Symbol(_0x42f1bf(0x1ca)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x42f1bf(0x278)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},_0x34c148;}var _0x316949,_0x3a50ee;function _0x533e59(){const _0x5a18d9=_0x193ea3;if(_0x3a50ee)return _0x316949;_0x3a50ee=0x1;const {EMPTY_BUFFER:_0x3dea15}=_0x4627b8(),_0x592cf3=Buffer[Symbol[_0x5a18d9(0x217)]];function _0x946b17(_0x4f7e94,_0x1668a6){const _0x5ec8ed=_0x5a18d9;if(_0x4f7e94[_0x5ec8ed(0x13c)]===0x0)return _0x3dea15;if(_0x4f7e94[_0x5ec8ed(0x13c)]===0x1)return _0x4f7e94[0x0];const _0x5e639b=Buffer[_0x5ec8ed(0x20b)](_0x1668a6);let _0x42304d=0x0;for(let _0x1760e8=0x0;_0x1760e8<_0x4f7e94['length'];_0x1760e8++){const _0x103ed3=_0x4f7e94[_0x1760e8];_0x5e639b[_0x5ec8ed(0x167)](_0x103ed3,_0x42304d),_0x42304d+=_0x103ed3[_0x5ec8ed(0x13c)];}return _0x42304d<_0x1668a6?new _0x592cf3(_0x5e639b[_0x5ec8ed(0x1a2)],_0x5e639b[_0x5ec8ed(0x161)],_0x42304d):_0x5e639b;}function _0x520bd9(_0xde20db,_0x4a62d9,_0xda7baf,_0x53f04f,_0x524c50){for(let _0xc2495a=0x0;_0xc2495a<_0x524c50;_0xc2495a++)_0xda7baf[_0x53f04f+_0xc2495a]=_0xde20db[_0xc2495a]^_0x4a62d9[_0xc2495a&0x3];}function _0x495c06(_0x19864c,_0x5075b2){const _0x31136b=_0x5a18d9;for(let _0x330b5a=0x0;_0x330b5a<_0x19864c[_0x31136b(0x13c)];_0x330b5a++)_0x19864c[_0x330b5a]^=_0x5075b2[_0x330b5a&0x3];}function _0x2518ae(_0x2d0163){const _0x515945=_0x5a18d9;return _0x2d0163[_0x515945(0x13c)]===_0x2d0163[_0x515945(0x1a2)][_0x515945(0x23d)]?_0x2d0163[_0x515945(0x1a2)]:_0x2d0163[_0x515945(0x1a2)]['slice'](_0x2d0163[_0x515945(0x161)],_0x2d0163[_0x515945(0x161)]+_0x2d0163[_0x515945(0x13c)]);}function _0x4acd6a(_0x1923d5){const _0x9da5fe=_0x5a18d9;if(_0x4acd6a[_0x9da5fe(0x13f)]=!0x0,Buffer[_0x9da5fe(0x16f)](_0x1923d5))return _0x1923d5;let _0x46514a;return _0x1923d5 instanceof ArrayBuffer?_0x46514a=new _0x592cf3(_0x1923d5):ArrayBuffer[_0x9da5fe(0x248)](_0x1923d5)?_0x46514a=new _0x592cf3(_0x1923d5[_0x9da5fe(0x1a2)],_0x1923d5[_0x9da5fe(0x161)],_0x1923d5[_0x9da5fe(0x23d)]):(_0x46514a=Buffer[_0x9da5fe(0x1cd)](_0x1923d5),_0x4acd6a[_0x9da5fe(0x13f)]=!0x1),_0x46514a;}return _0x316949={'concat':_0x946b17,'mask':_0x520bd9,'toArrayBuffer':_0x2518ae,'toBuffer':_0x4acd6a,'unmask':_0x495c06},_0x316949;}var _0x8608c7,_0x4f013e;function _0x457e38(){const _0x25b8b2=_0x193ea3;if(_0x4f013e)return _0x8608c7;_0x4f013e=0x1;const _0x5b8bb4=Symbol(_0x25b8b2(0x19b)),_0x1df1ea=Symbol(_0x25b8b2(0x1b2));class _0x53ff83{constructor(_0x24252f){const _0x4992a0=_0x25b8b2;this[_0x5b8bb4]=()=>{this['pending']--,this[_0x1df1ea]();},this[_0x4992a0(0x246)]=_0x24252f||0x1/0x0,this[_0x4992a0(0x105)]=[],this['pending']=0x0;}[_0x25b8b2(0x2a6)](_0x96bf31){const _0x38f196=_0x25b8b2;this['jobs'][_0x38f196(0x1a8)](_0x96bf31),this[_0x1df1ea]();}[_0x1df1ea](){const _0xb81814=_0x25b8b2;if(this[_0xb81814(0x103)]!==this[_0xb81814(0x246)]&&this[_0xb81814(0x105)][_0xb81814(0x13c)]){const _0x5503ac=this[_0xb81814(0x105)]['shift']();this[_0xb81814(0x103)]++,_0x5503ac(this[_0x5b8bb4]);}}}return _0x8608c7=_0x53ff83,_0x8608c7;}var _0x56269a,_0x3e59b2;function _0x4a7dac(){const _0xf80b8a=_0x193ea3;if(_0x3e59b2)return _0x56269a;_0x3e59b2=0x1;const _0x4371b7=_0x178c83,_0x1ec649=_0x533e59(),_0x154002=_0x457e38(),{kStatusCode:_0x147401}=_0x4627b8(),_0x3294e1=Buffer[Symbol[_0xf80b8a(0x217)]],_0xa39059=Buffer[_0xf80b8a(0x1cd)]([0x0,0x0,0xff,0xff]),_0xe1aee=Symbol(_0xf80b8a(0x283)),_0xbce325=Symbol(_0xf80b8a(0x186)),_0x614078=Symbol('callback'),_0x1ccb1d=Symbol(_0xf80b8a(0x29a)),_0x65db2e=Symbol('error');let _0x7360c2;class _0x4317c5{constructor(_0x519697,_0x56ca16,_0x17bd8e){const _0x128aa8=_0xf80b8a;if(this[_0x128aa8(0x176)]=_0x17bd8e|0x0,this[_0x128aa8(0x1c4)]=_0x519697||{},this[_0x128aa8(0x187)]=this[_0x128aa8(0x1c4)][_0x128aa8(0x1ee)]!==void 0x0?this[_0x128aa8(0x1c4)][_0x128aa8(0x1ee)]:0x400,this['_isServer']=!!_0x56ca16,this[_0x128aa8(0x119)]=null,this[_0x128aa8(0x1f5)]=null,this[_0x128aa8(0x2b9)]=null,!_0x7360c2){const _0x2682c7=this[_0x128aa8(0x1c4)][_0x128aa8(0x2b7)]!==void 0x0?this['_options'][_0x128aa8(0x2b7)]:0xa;_0x7360c2=new _0x154002(_0x2682c7);}}static get[_0xf80b8a(0x154)](){const _0x41096f=_0xf80b8a;return _0x41096f(0x283);}[_0xf80b8a(0x150)](){const _0x3374a6=_0xf80b8a,_0x902e74={};return this[_0x3374a6(0x1c4)][_0x3374a6(0x1fd)]&&(_0x902e74[_0x3374a6(0x1bd)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x902e74[_0x3374a6(0x28f)]=!0x0),this['_options'][_0x3374a6(0x1d9)]&&(_0x902e74['server_max_window_bits']=this[_0x3374a6(0x1c4)][_0x3374a6(0x1d9)]),this[_0x3374a6(0x1c4)][_0x3374a6(0x141)]?_0x902e74[_0x3374a6(0x1ae)]=this[_0x3374a6(0x1c4)]['clientMaxWindowBits']:this[_0x3374a6(0x1c4)][_0x3374a6(0x141)]==null&&(_0x902e74[_0x3374a6(0x1ae)]=!0x0),_0x902e74;}[_0xf80b8a(0x277)](_0x57d50f){const _0x27ce21=_0xf80b8a;return _0x57d50f=this[_0x27ce21(0x1c5)](_0x57d50f),this[_0x27ce21(0x2b9)]=this['_isServer']?this['acceptAsServer'](_0x57d50f):this[_0x27ce21(0x14c)](_0x57d50f),this[_0x27ce21(0x2b9)];}['cleanup'](){const _0x3d9660=_0xf80b8a;if(this[_0x3d9660(0x1f5)]&&(this[_0x3d9660(0x1f5)]['close'](),this[_0x3d9660(0x1f5)]=null),this[_0x3d9660(0x119)]){const _0x148c1e=this[_0x3d9660(0x119)][_0x614078];this[_0x3d9660(0x119)][_0x3d9660(0x282)](),this[_0x3d9660(0x119)]=null,_0x148c1e&&_0x148c1e(new Error(_0x3d9660(0x1d8)));}}[_0xf80b8a(0x273)](_0x41102e){const _0x5c18ec=_0xf80b8a,_0x244862=this[_0x5c18ec(0x1c4)],_0x3eeb97=_0x41102e[_0x5c18ec(0x12f)](_0x30771d=>!(_0x244862[_0x5c18ec(0x1fd)]===!0x1&&_0x30771d[_0x5c18ec(0x1bd)]||_0x30771d['server_max_window_bits']&&(_0x244862[_0x5c18ec(0x1d9)]===!0x1||typeof _0x244862[_0x5c18ec(0x1d9)]==_0x5c18ec(0x22a)&&_0x244862[_0x5c18ec(0x1d9)]>_0x30771d[_0x5c18ec(0x26f)])||typeof _0x244862['clientMaxWindowBits']==_0x5c18ec(0x22a)&&!_0x30771d[_0x5c18ec(0x1ae)]));if(!_0x3eeb97)throw new Error(_0x5c18ec(0x28c));return _0x244862[_0x5c18ec(0x1fd)]&&(_0x3eeb97[_0x5c18ec(0x1bd)]=!0x0),_0x244862['clientNoContextTakeover']&&(_0x3eeb97['client_no_context_takeover']=!0x0),typeof _0x244862['serverMaxWindowBits']==_0x5c18ec(0x22a)&&(_0x3eeb97[_0x5c18ec(0x26f)]=_0x244862[_0x5c18ec(0x1d9)]),typeof _0x244862['clientMaxWindowBits']==_0x5c18ec(0x22a)?_0x3eeb97[_0x5c18ec(0x1ae)]=_0x244862[_0x5c18ec(0x141)]:(_0x3eeb97[_0x5c18ec(0x1ae)]===!0x0||_0x244862[_0x5c18ec(0x141)]===!0x1)&&delete _0x3eeb97[_0x5c18ec(0x1ae)],_0x3eeb97;}['acceptAsClient'](_0x35bcc8){const _0x729691=_0xf80b8a,_0x2deb57=_0x35bcc8[0x0];if(this['_options'][_0x729691(0x22e)]===!0x1&&_0x2deb57['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2deb57[_0x729691(0x1ae)])typeof this[_0x729691(0x1c4)]['clientMaxWindowBits']==_0x729691(0x22a)&&(_0x2deb57['client_max_window_bits']=this[_0x729691(0x1c4)][_0x729691(0x141)]);else{if(this['_options'][_0x729691(0x141)]===!0x1||typeof this[_0x729691(0x1c4)][_0x729691(0x141)]==_0x729691(0x22a)&&_0x2deb57[_0x729691(0x1ae)]>this[_0x729691(0x1c4)][_0x729691(0x141)])throw new Error(_0x729691(0x1f8));}return _0x2deb57;}[_0xf80b8a(0x1c5)](_0x127baa){const _0x7907a6=_0xf80b8a;return _0x127baa[_0x7907a6(0x2af)](_0x39e777=>{const _0x49d4e8=_0x7907a6;Object[_0x49d4e8(0x266)](_0x39e777)[_0x49d4e8(0x2af)](_0x219998=>{const _0x5f42bd=_0x49d4e8;let _0x3eb0b3=_0x39e777[_0x219998];if(_0x3eb0b3[_0x5f42bd(0x13c)]>0x1)throw new Error(_0x5f42bd(0x1e5)+_0x219998+_0x5f42bd(0x29e));if(_0x3eb0b3=_0x3eb0b3[0x0],_0x219998===_0x5f42bd(0x1ae)){if(_0x3eb0b3!==!0x0){const _0x4d0f78=+_0x3eb0b3;if(!Number[_0x5f42bd(0x2bf)](_0x4d0f78)||_0x4d0f78<0x8||_0x4d0f78>0xf)throw new TypeError(_0x5f42bd(0x204)+_0x219998+_0x5f42bd(0x24f)+_0x3eb0b3);_0x3eb0b3=_0x4d0f78;}else{if(!this[_0x5f42bd(0x24c)])throw new TypeError(_0x5f42bd(0x204)+_0x219998+'\x22:\x20'+_0x3eb0b3);}}else{if(_0x219998===_0x5f42bd(0x26f)){const _0x2c4a38=+_0x3eb0b3;if(!Number[_0x5f42bd(0x2bf)](_0x2c4a38)||_0x2c4a38<0x8||_0x2c4a38>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x219998+'\x22:\x20'+_0x3eb0b3);_0x3eb0b3=_0x2c4a38;}else{if(_0x219998===_0x5f42bd(0x28f)||_0x219998===_0x5f42bd(0x1bd)){if(_0x3eb0b3!==!0x0)throw new TypeError(_0x5f42bd(0x204)+_0x219998+_0x5f42bd(0x24f)+_0x3eb0b3);}else throw new Error(_0x5f42bd(0x1da)+_0x219998+'\x22');}}_0x39e777[_0x219998]=_0x3eb0b3;});}),_0x127baa;}[_0xf80b8a(0x236)](_0x245072,_0x3189ec,_0x55fd48){_0x7360c2['add'](_0x48cd6b=>{const _0x5c1928=_0x4cae;this[_0x5c1928(0x220)](_0x245072,_0x3189ec,(_0x528673,_0x8ef7de)=>{_0x48cd6b(),_0x55fd48(_0x528673,_0x8ef7de);});});}[_0xf80b8a(0x232)](_0xa551bd,_0x488926,_0x423af2){const _0x3a0fbc=_0xf80b8a;_0x7360c2[_0x3a0fbc(0x2a6)](_0x1eb96e=>{const _0x100a2d=_0x3a0fbc;this[_0x100a2d(0x293)](_0xa551bd,_0x488926,(_0x1949f7,_0x401075)=>{_0x1eb96e(),_0x423af2(_0x1949f7,_0x401075);});});}['_decompress'](_0x29aff9,_0x121054,_0x1aae2d){const _0x45da4c=_0xf80b8a,_0x2e36ff=this[_0x45da4c(0x24c)]?_0x45da4c(0x14e):'server';if(!this[_0x45da4c(0x1f5)]){const _0x1b124e=_0x2e36ff+'_max_window_bits',_0x39265e=typeof this[_0x45da4c(0x2b9)][_0x1b124e]!=_0x45da4c(0x22a)?_0x4371b7['Z_DEFAULT_WINDOWBITS']:this[_0x45da4c(0x2b9)][_0x1b124e];this[_0x45da4c(0x1f5)]=_0x4371b7[_0x45da4c(0xfb)]({...this[_0x45da4c(0x1c4)]['zlibInflateOptions'],'windowBits':_0x39265e}),this[_0x45da4c(0x1f5)][_0xe1aee]=this,this[_0x45da4c(0x1f5)][_0xbce325]=0x0,this[_0x45da4c(0x1f5)][_0x1ccb1d]=[],this['_inflate']['on'](_0x45da4c(0x15a),_0x110c29),this[_0x45da4c(0x1f5)]['on']('data',_0x1d955d);}this[_0x45da4c(0x1f5)][_0x614078]=_0x1aae2d,this[_0x45da4c(0x1f5)]['write'](_0x29aff9),_0x121054&&this[_0x45da4c(0x1f5)][_0x45da4c(0x27f)](_0xa39059),this[_0x45da4c(0x1f5)][_0x45da4c(0x13e)](()=>{const _0x23a462=_0x45da4c,_0x2341d8=this[_0x23a462(0x1f5)][_0x65db2e];if(_0x2341d8){this[_0x23a462(0x1f5)][_0x23a462(0x282)](),this['_inflate']=null,_0x1aae2d(_0x2341d8);return;}const _0x49cf65=_0x1ec649['concat'](this['_inflate'][_0x1ccb1d],this[_0x23a462(0x1f5)][_0xbce325]);this[_0x23a462(0x1f5)][_0x23a462(0x113)][_0x23a462(0x239)]?(this['_inflate'][_0x23a462(0x282)](),this[_0x23a462(0x1f5)]=null):(this['_inflate'][_0xbce325]=0x0,this[_0x23a462(0x1f5)][_0x1ccb1d]=[],_0x121054&&this['params'][_0x2e36ff+'_no_context_takeover']&&this['_inflate']['reset']()),_0x1aae2d(null,_0x49cf65);});}[_0xf80b8a(0x293)](_0x5380eb,_0x478a07,_0x536e88){const _0x29594c=_0xf80b8a,_0x47c0dc=this[_0x29594c(0x24c)]?'server':_0x29594c(0x14e);if(!this[_0x29594c(0x119)]){const _0x4a2a27=_0x47c0dc+'_max_window_bits',_0xa9388f=typeof this[_0x29594c(0x2b9)][_0x4a2a27]!=_0x29594c(0x22a)?_0x4371b7[_0x29594c(0x1df)]:this[_0x29594c(0x2b9)][_0x4a2a27];this[_0x29594c(0x119)]=_0x4371b7[_0x29594c(0x1ff)]({...this[_0x29594c(0x1c4)][_0x29594c(0x153)],'windowBits':_0xa9388f}),this['_deflate'][_0xbce325]=0x0,this[_0x29594c(0x119)][_0x1ccb1d]=[],this[_0x29594c(0x119)]['on'](_0x29594c(0x202),_0x4c9adf);}this[_0x29594c(0x119)][_0x614078]=_0x536e88,this[_0x29594c(0x119)][_0x29594c(0x27f)](_0x5380eb),this[_0x29594c(0x119)][_0x29594c(0x13e)](_0x4371b7['Z_SYNC_FLUSH'],()=>{const _0x596427=_0x29594c;if(!this[_0x596427(0x119)])return;let _0x3b8e9d=_0x1ec649[_0x596427(0x170)](this['_deflate'][_0x1ccb1d],this[_0x596427(0x119)][_0xbce325]);_0x478a07&&(_0x3b8e9d=new _0x3294e1(_0x3b8e9d[_0x596427(0x1a2)],_0x3b8e9d[_0x596427(0x161)],_0x3b8e9d[_0x596427(0x13c)]-0x4)),this[_0x596427(0x119)][_0x614078]=null,this[_0x596427(0x119)][_0xbce325]=0x0,this[_0x596427(0x119)][_0x1ccb1d]=[],_0x478a07&&this[_0x596427(0x2b9)][_0x47c0dc+'_no_context_takeover']&&this[_0x596427(0x119)][_0x596427(0x2a4)](),_0x536e88(null,_0x3b8e9d);});}}_0x56269a=_0x4317c5;function _0x4c9adf(_0x2bbb49){const _0x102bf7=_0xf80b8a;this[_0x1ccb1d][_0x102bf7(0x1a8)](_0x2bbb49),this[_0xbce325]+=_0x2bbb49[_0x102bf7(0x13c)];}function _0x1d955d(_0x435b86){const _0x41eadb=_0xf80b8a;if(this[_0xbce325]+=_0x435b86[_0x41eadb(0x13c)],this[_0xe1aee][_0x41eadb(0x176)]<0x1||this[_0xbce325]<=this[_0xe1aee][_0x41eadb(0x176)]){this[_0x1ccb1d][_0x41eadb(0x1a8)](_0x435b86);return;}this[_0x65db2e]=new RangeError(_0x41eadb(0x2c2)),this[_0x65db2e][_0x41eadb(0x14a)]=_0x41eadb(0x294),this[_0x65db2e][_0x147401]=0x3f1,this['removeListener']('data',_0x1d955d),this[_0x41eadb(0x2a4)]();}function _0x110c29(_0x571740){if(this[_0xe1aee]['_inflate']=null,this[_0x65db2e]){this[_0x614078](this[_0x65db2e]);return;}_0x571740[_0x147401]=0x3ef,this[_0x614078](_0x571740);}return _0x56269a;}var _0x4b2762={'exports':{}};const _0x29e2a9=_0x15f3b4(Object[_0x193ea3(0x2b2)](Object[_0x193ea3(0x17c)]({'__proto__':null,'default':{}},Symbol[_0x193ea3(0x2ad)],{'value':'Module'})));var _0x3bdae3;function _0x47b52b(){const _0x44dc62=_0x193ea3;if(_0x3bdae3)return _0x4b2762[_0x44dc62(0x224)];_0x3bdae3=0x1;const {isUtf8:_0x3d778f}=_0x12aaa7,{hasBlob:_0x391105}=_0x4627b8(),_0x527fbf=[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 _0x231424(_0x5a4404){return _0x5a4404>=0x3e8&&_0x5a4404<=0x3f6&&_0x5a4404!==0x3ec&&_0x5a4404!==0x3ed&&_0x5a4404!==0x3ee||_0x5a4404>=0xbb8&&_0x5a4404<=0x1387;}function _0x5eb5fd(_0x222d79){const _0x501554=_0x44dc62,_0x43b9d4=_0x222d79[_0x501554(0x13c)];let _0x466ce8=0x0;for(;_0x466ce8<_0x43b9d4;)if((_0x222d79[_0x466ce8]&0x80)===0x0)_0x466ce8++;else{if((_0x222d79[_0x466ce8]&0xe0)===0xc0){if(_0x466ce8+0x1===_0x43b9d4||(_0x222d79[_0x466ce8+0x1]&0xc0)!==0x80||(_0x222d79[_0x466ce8]&0xfe)===0xc0)return!0x1;_0x466ce8+=0x2;}else{if((_0x222d79[_0x466ce8]&0xf0)===0xe0){if(_0x466ce8+0x2>=_0x43b9d4||(_0x222d79[_0x466ce8+0x1]&0xc0)!==0x80||(_0x222d79[_0x466ce8+0x2]&0xc0)!==0x80||_0x222d79[_0x466ce8]===0xe0&&(_0x222d79[_0x466ce8+0x1]&0xe0)===0x80||_0x222d79[_0x466ce8]===0xed&&(_0x222d79[_0x466ce8+0x1]&0xe0)===0xa0)return!0x1;_0x466ce8+=0x3;}else{if((_0x222d79[_0x466ce8]&0xf8)===0xf0){if(_0x466ce8+0x3>=_0x43b9d4||(_0x222d79[_0x466ce8+0x1]&0xc0)!==0x80||(_0x222d79[_0x466ce8+0x2]&0xc0)!==0x80||(_0x222d79[_0x466ce8+0x3]&0xc0)!==0x80||_0x222d79[_0x466ce8]===0xf0&&(_0x222d79[_0x466ce8+0x1]&0xf0)===0x80||_0x222d79[_0x466ce8]===0xf4&&_0x222d79[_0x466ce8+0x1]>0x8f||_0x222d79[_0x466ce8]>0xf4)return!0x1;_0x466ce8+=0x4;}else return!0x1;}}}return!0x0;}function _0x5b8a54(_0x59667c){const _0x55bef3=_0x44dc62;return _0x391105&&typeof _0x59667c==_0x55bef3(0x16c)&&typeof _0x59667c['arrayBuffer']==_0x55bef3(0x17e)&&typeof _0x59667c['type']==_0x55bef3(0x1ec)&&typeof _0x59667c[_0x55bef3(0x292)]=='function'&&(_0x59667c[Symbol['toStringTag']]==='Blob'||_0x59667c[Symbol['toStringTag']]==='File');}if(_0x4b2762[_0x44dc62(0x224)]={'isBlob':_0x5b8a54,'isValidStatusCode':_0x231424,'isValidUTF8':_0x5eb5fd,'tokenChars':_0x527fbf},_0x3d778f)_0x4b2762[_0x44dc62(0x224)]['isValidUTF8']=function(_0x1c81b2){const _0x520f98=_0x44dc62;return _0x1c81b2[_0x520f98(0x13c)]<0x18?_0x5eb5fd(_0x1c81b2):_0x3d778f(_0x1c81b2);};else{if(!process[_0x44dc62(0x14d)][_0x44dc62(0x12d)])try{const _0x36f7a5=_0x29e2a9;_0x4b2762['exports'][_0x44dc62(0x230)]=function(_0x29e349){const _0x399542=_0x44dc62;return _0x29e349[_0x399542(0x13c)]<0x20?_0x5eb5fd(_0x29e349):_0x36f7a5(_0x29e349);};}catch{}}return _0x4b2762['exports'];}var _0x3a6d89,_0x48108e;function _0x1a5e38(){const _0x5417dd=_0x193ea3;if(_0x48108e)return _0x3a6d89;_0x48108e=0x1;const {Writable:_0x103a47}=_0x2f6ccb,_0x45d69a=_0x4a7dac(),{BINARY_TYPES:_0x186bc7,EMPTY_BUFFER:_0x5dccdb,kStatusCode:_0x1141aa,kWebSocket:_0x157ecd}=_0x4627b8(),{concat:_0x4cbb20,toArrayBuffer:_0x5ef552,unmask:_0x8221df}=_0x533e59(),{isValidStatusCode:_0x30c441,isValidUTF8:_0x18679e}=_0x47b52b(),_0x4a7823=Buffer[Symbol[_0x5417dd(0x217)]],_0x2e0f7d=0x0,_0x23aa89=0x1,_0x5d7841=0x2,_0x37514f=0x3,_0x53b4b4=0x4,_0x42b53b=0x5,_0x476e6e=0x6;class _0x52a887 extends _0x103a47{constructor(_0x38dd38={}){const _0x4120e9=_0x5417dd;super(),this[_0x4120e9(0x191)]=_0x38dd38[_0x4120e9(0x20f)]!==void 0x0?_0x38dd38[_0x4120e9(0x20f)]:!0x0,this[_0x4120e9(0x188)]=_0x38dd38['binaryType']||_0x186bc7[0x0],this['_extensions']=_0x38dd38[_0x4120e9(0x189)]||{},this[_0x4120e9(0x24c)]=!!_0x38dd38[_0x4120e9(0x15e)],this[_0x4120e9(0x176)]=_0x38dd38[_0x4120e9(0xfd)]|0x0,this[_0x4120e9(0x2aa)]=!!_0x38dd38[_0x4120e9(0x198)],this[_0x157ecd]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4120e9(0x1d3)]=[],this[_0x4120e9(0x178)]=!0x1,this[_0x4120e9(0x164)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x4120e9(0x269)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4120e9(0x14b)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x4120e9(0x1db)]=!0x1,this[_0x4120e9(0x183)]=_0x2e0f7d;}[_0x5417dd(0x111)](_0x10f74b,_0x4bfe92,_0xb73b64){const _0x171f37=_0x5417dd;if(this[_0x171f37(0x23f)]===0x8&&this[_0x171f37(0x183)]==_0x2e0f7d)return _0xb73b64();this[_0x171f37(0x244)]+=_0x10f74b[_0x171f37(0x13c)],this['_buffers']['push'](_0x10f74b),this['startLoop'](_0xb73b64);}[_0x5417dd(0x247)](_0x15ac6e){const _0x33348b=_0x5417dd;if(this[_0x33348b(0x244)]-=_0x15ac6e,_0x15ac6e===this['_buffers'][0x0][_0x33348b(0x13c)])return this[_0x33348b(0x1d3)][_0x33348b(0x1b9)]();if(_0x15ac6e<this[_0x33348b(0x1d3)][0x0][_0x33348b(0x13c)]){const _0xa0662=this[_0x33348b(0x1d3)][0x0];return this['_buffers'][0x0]=new _0x4a7823(_0xa0662[_0x33348b(0x1a2)],_0xa0662['byteOffset']+_0x15ac6e,_0xa0662['length']-_0x15ac6e),new _0x4a7823(_0xa0662[_0x33348b(0x1a2)],_0xa0662[_0x33348b(0x161)],_0x15ac6e);}const _0xb2194b=Buffer[_0x33348b(0x20b)](_0x15ac6e);do{const _0x444609=this[_0x33348b(0x1d3)][0x0],_0x4a2b94=_0xb2194b[_0x33348b(0x13c)]-_0x15ac6e;_0x15ac6e>=_0x444609['length']?_0xb2194b[_0x33348b(0x167)](this[_0x33348b(0x1d3)]['shift'](),_0x4a2b94):(_0xb2194b[_0x33348b(0x167)](new Uint8Array(_0x444609[_0x33348b(0x1a2)],_0x444609[_0x33348b(0x161)],_0x15ac6e),_0x4a2b94),this[_0x33348b(0x1d3)][0x0]=new _0x4a7823(_0x444609[_0x33348b(0x1a2)],_0x444609[_0x33348b(0x161)]+_0x15ac6e,_0x444609[_0x33348b(0x13c)]-_0x15ac6e)),_0x15ac6e-=_0x444609['length'];}while(_0x15ac6e>0x0);return _0xb2194b;}[_0x5417dd(0xfa)](_0x52b585){const _0x208b75=_0x5417dd;this[_0x208b75(0x1db)]=!0x0;do switch(this[_0x208b75(0x183)]){case _0x2e0f7d:this[_0x208b75(0x21b)](_0x52b585);break;case _0x23aa89:this['getPayloadLength16'](_0x52b585);break;case _0x5d7841:this[_0x208b75(0x129)](_0x52b585);break;case _0x37514f:this['getMask']();break;case _0x53b4b4:this['getData'](_0x52b585);break;case _0x42b53b:case _0x476e6e:this[_0x208b75(0x1db)]=!0x1;return;}while(this[_0x208b75(0x1db)]);this['_errored']||_0x52b585();}[_0x5417dd(0x21b)](_0x431099){const _0x12642a=_0x5417dd;if(this[_0x12642a(0x244)]<0x2){this[_0x12642a(0x1db)]=!0x1;return;}const _0x267a76=this[_0x12642a(0x247)](0x2);if((_0x267a76[0x0]&0x30)!==0x0){const _0x1402aa=this[_0x12642a(0x28b)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x12642a(0x2bb));_0x431099(_0x1402aa);return;}const _0x13ffb0=(_0x267a76[0x0]&0x40)===0x40;if(_0x13ffb0&&!this[_0x12642a(0x173)][_0x45d69a['extensionName']]){const _0x31a6f4=this['createError'](RangeError,_0x12642a(0xf4),!0x0,0x3ea,_0x12642a(0x1bf));_0x431099(_0x31a6f4);return;}if(this[_0x12642a(0x269)]=(_0x267a76[0x0]&0x80)===0x80,this[_0x12642a(0x23f)]=_0x267a76[0x0]&0xf,this[_0x12642a(0x164)]=_0x267a76[0x1]&0x7f,this['_opcode']===0x0){if(_0x13ffb0){const _0x18c751=this['createError'](RangeError,_0x12642a(0xf4),!0x0,0x3ea,_0x12642a(0x1bf));_0x431099(_0x18c751);return;}if(!this['_fragmented']){const _0x5c2cf9=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x210),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x431099(_0x5c2cf9);return;}this[_0x12642a(0x23f)]=this[_0x12642a(0x1be)];}else{if(this['_opcode']===0x1||this[_0x12642a(0x23f)]===0x2){if(this[_0x12642a(0x1be)]){const _0x4ebb07=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x195)+this[_0x12642a(0x23f)],!0x0,0x3ea,_0x12642a(0x1e4));_0x431099(_0x4ebb07);return;}this[_0x12642a(0x178)]=_0x13ffb0;}else{if(this[_0x12642a(0x23f)]>0x7&&this[_0x12642a(0x23f)]<0xb){if(!this[_0x12642a(0x269)]){const _0x319af4=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x431099(_0x319af4);return;}if(_0x13ffb0){const _0x549967=this[_0x12642a(0x28b)](RangeError,_0x12642a(0xf4),!0x0,0x3ea,_0x12642a(0x1bf));_0x431099(_0x549967);return;}if(this['_payloadLength']>0x7d||this[_0x12642a(0x23f)]===0x8&&this['_payloadLength']===0x1){const _0xeaf9de=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x18d)+this[_0x12642a(0x164)],!0x0,0x3ea,_0x12642a(0x140));_0x431099(_0xeaf9de);return;}}else{const _0x20625f=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x195)+this[_0x12642a(0x23f)],!0x0,0x3ea,_0x12642a(0x1e4));_0x431099(_0x20625f);return;}}}if(!this['_fin']&&!this[_0x12642a(0x1be)]&&(this[_0x12642a(0x1be)]=this[_0x12642a(0x23f)]),this[_0x12642a(0x27d)]=(_0x267a76[0x1]&0x80)===0x80,this[_0x12642a(0x24c)]){if(!this[_0x12642a(0x27d)]){const _0x3ef77e=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x101),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x431099(_0x3ef77e);return;}}else{if(this['_masked']){const _0x29a1a7=this[_0x12642a(0x28b)](RangeError,_0x12642a(0x28e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x431099(_0x29a1a7);return;}}this[_0x12642a(0x164)]===0x7e?this[_0x12642a(0x183)]=_0x23aa89:this[_0x12642a(0x164)]===0x7f?this[_0x12642a(0x183)]=_0x5d7841:this[_0x12642a(0x24b)](_0x431099);}[_0x5417dd(0x2ae)](_0x3368da){const _0x440d47=_0x5417dd;if(this[_0x440d47(0x244)]<0x2){this[_0x440d47(0x1db)]=!0x1;return;}this[_0x440d47(0x164)]=this[_0x440d47(0x247)](0x2)[_0x440d47(0x25c)](0x0),this[_0x440d47(0x24b)](_0x3368da);}[_0x5417dd(0x129)](_0x4d8311){const _0x46176e=_0x5417dd;if(this['_bufferedBytes']<0x8){this[_0x46176e(0x1db)]=!0x1;return;}const _0xc288c7=this[_0x46176e(0x247)](0x8),_0x1a7367=_0xc288c7[_0x46176e(0x222)](0x0);if(_0x1a7367>Math[_0x46176e(0x1f2)](0x2,0x15)-0x1){const _0x4b2f55=this[_0x46176e(0x28b)](RangeError,_0x46176e(0x112),!0x1,0x3f1,_0x46176e(0x29f));_0x4d8311(_0x4b2f55);return;}this[_0x46176e(0x164)]=_0x1a7367*Math['pow'](0x2,0x20)+_0xc288c7['readUInt32BE'](0x4),this[_0x46176e(0x24b)](_0x4d8311);}[_0x5417dd(0x24b)](_0x338fa0){const _0x3e50df=_0x5417dd;if(this[_0x3e50df(0x164)]&&this[_0x3e50df(0x23f)]<0x8&&(this['_totalPayloadLength']+=this[_0x3e50df(0x164)],this[_0x3e50df(0x194)]>this[_0x3e50df(0x176)]&&this[_0x3e50df(0x176)]>0x0)){const _0x265243=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x338fa0(_0x265243);return;}this[_0x3e50df(0x27d)]?this['_state']=_0x37514f:this[_0x3e50df(0x183)]=_0x53b4b4;}['getMask'](){const _0x5d1a09=_0x5417dd;if(this['_bufferedBytes']<0x4){this[_0x5d1a09(0x1db)]=!0x1;return;}this[_0x5d1a09(0x163)]=this[_0x5d1a09(0x247)](0x4),this['_state']=_0x53b4b4;}[_0x5417dd(0x1fb)](_0x47e659){const _0x2bd5f0=_0x5417dd;let _0x378be1=_0x5dccdb;if(this[_0x2bd5f0(0x164)]){if(this['_bufferedBytes']<this[_0x2bd5f0(0x164)]){this[_0x2bd5f0(0x1db)]=!0x1;return;}_0x378be1=this[_0x2bd5f0(0x247)](this['_payloadLength']),this[_0x2bd5f0(0x27d)]&&(this[_0x2bd5f0(0x163)][0x0]|this['_mask'][0x1]|this[_0x2bd5f0(0x163)][0x2]|this['_mask'][0x3])!==0x0&&_0x8221df(_0x378be1,this[_0x2bd5f0(0x163)]);}if(this['_opcode']>0x7){this[_0x2bd5f0(0x1d2)](_0x378be1,_0x47e659);return;}if(this[_0x2bd5f0(0x178)]){this[_0x2bd5f0(0x183)]=_0x42b53b,this['decompress'](_0x378be1,_0x47e659);return;}_0x378be1[_0x2bd5f0(0x13c)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x2bd5f0(0x1fa)]['push'](_0x378be1)),this[_0x2bd5f0(0x24a)](_0x47e659);}['decompress'](_0x164af6,_0x264e0c){const _0x374b77=_0x5417dd;this[_0x374b77(0x173)][_0x45d69a[_0x374b77(0x154)]][_0x374b77(0x236)](_0x164af6,this[_0x374b77(0x269)],(_0x325483,_0x53e448)=>{const _0x47c0fe=_0x374b77;if(_0x325483)return _0x264e0c(_0x325483);if(_0x53e448[_0x47c0fe(0x13c)]){if(this['_messageLength']+=_0x53e448['length'],this['_messageLength']>this[_0x47c0fe(0x176)]&&this['_maxPayload']>0x0){const _0x1b66e4=this[_0x47c0fe(0x28b)](RangeError,_0x47c0fe(0x2c2),!0x1,0x3f1,_0x47c0fe(0x294));_0x264e0c(_0x1b66e4);return;}this[_0x47c0fe(0x1fa)][_0x47c0fe(0x1a8)](_0x53e448);}this['dataMessage'](_0x264e0c),this['_state']===_0x2e0f7d&&this[_0x47c0fe(0xfa)](_0x264e0c);});}['dataMessage'](_0x1020f7){const _0x223226=_0x5417dd;if(!this[_0x223226(0x269)]){this['_state']=_0x2e0f7d;return;}const _0x157796=this[_0x223226(0x14b)],_0x39c1cf=this[_0x223226(0x1fa)];if(this[_0x223226(0x194)]=0x0,this[_0x223226(0x14b)]=0x0,this[_0x223226(0x1be)]=0x0,this['_fragments']=[],this[_0x223226(0x23f)]===0x2){let _0x4e2ba1;this[_0x223226(0x188)]===_0x223226(0x1d1)?_0x4e2ba1=_0x4cbb20(_0x39c1cf,_0x157796):this[_0x223226(0x188)]===_0x223226(0x26e)?_0x4e2ba1=_0x5ef552(_0x4cbb20(_0x39c1cf,_0x157796)):this[_0x223226(0x188)]==='blob'?_0x4e2ba1=new Blob(_0x39c1cf):_0x4e2ba1=_0x39c1cf,this['_allowSynchronousEvents']?(this[_0x223226(0x184)](_0x223226(0x29d),_0x4e2ba1,!0x0),this[_0x223226(0x183)]=_0x2e0f7d):(this['_state']=_0x476e6e,setImmediate(()=>{const _0x141835=_0x223226;this['emit'](_0x141835(0x29d),_0x4e2ba1,!0x0),this[_0x141835(0x183)]=_0x2e0f7d,this['startLoop'](_0x1020f7);}));}else{const _0x390a71=_0x4cbb20(_0x39c1cf,_0x157796);if(!this[_0x223226(0x2aa)]&&!_0x18679e(_0x390a71)){const _0x43c16b=this[_0x223226(0x28b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x223226(0x299));_0x1020f7(_0x43c16b);return;}this[_0x223226(0x183)]===_0x42b53b||this[_0x223226(0x191)]?(this['emit'](_0x223226(0x29d),_0x390a71,!0x1),this['_state']=_0x2e0f7d):(this[_0x223226(0x183)]=_0x476e6e,setImmediate(()=>{const _0x4f049a=_0x223226;this[_0x4f049a(0x184)]('message',_0x390a71,!0x1),this['_state']=_0x2e0f7d,this[_0x4f049a(0xfa)](_0x1020f7);}));}}[_0x5417dd(0x1d2)](_0x3acdfd,_0x3849f9){const _0x1f6465=_0x5417dd;if(this[_0x1f6465(0x23f)]===0x8){if(_0x3acdfd[_0x1f6465(0x13c)]===0x0)this[_0x1f6465(0x1db)]=!0x1,this[_0x1f6465(0x184)]('conclude',0x3ed,_0x5dccdb),this[_0x1f6465(0x151)]();else{const _0x338e57=_0x3acdfd[_0x1f6465(0x25c)](0x0);if(!_0x30c441(_0x338e57)){const _0x2f15e2=this['createError'](RangeError,_0x1f6465(0x1a3)+_0x338e57,!0x0,0x3ea,_0x1f6465(0x29c));_0x3849f9(_0x2f15e2);return;}const _0x5b8324=new _0x4a7823(_0x3acdfd[_0x1f6465(0x1a2)],_0x3acdfd['byteOffset']+0x2,_0x3acdfd['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x18679e(_0x5b8324)){const _0x3d0c48=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1f6465(0x299));_0x3849f9(_0x3d0c48);return;}this['_loop']=!0x1,this[_0x1f6465(0x184)](_0x1f6465(0x25b),_0x338e57,_0x5b8324),this[_0x1f6465(0x151)]();}this[_0x1f6465(0x183)]=_0x2e0f7d;return;}this[_0x1f6465(0x191)]?(this[_0x1f6465(0x184)](this[_0x1f6465(0x23f)]===0x9?_0x1f6465(0x276):_0x1f6465(0x197),_0x3acdfd),this[_0x1f6465(0x183)]=_0x2e0f7d):(this[_0x1f6465(0x183)]=_0x476e6e,setImmediate(()=>{const _0x4f8336=_0x1f6465;this[_0x4f8336(0x184)](this[_0x4f8336(0x23f)]===0x9?_0x4f8336(0x276):'pong',_0x3acdfd),this[_0x4f8336(0x183)]=_0x2e0f7d,this['startLoop'](_0x3849f9);}));}[_0x5417dd(0x28b)](_0x173add,_0x4e46c2,_0x431edb,_0x3fec73,_0x40c58d){const _0x290c0e=_0x5417dd;this[_0x290c0e(0x1db)]=!0x1,this['_errored']=!0x0;const _0x57807b=new _0x173add(_0x431edb?_0x290c0e(0x1e0)+_0x4e46c2:_0x4e46c2);return Error[_0x290c0e(0x133)](_0x57807b,this[_0x290c0e(0x28b)]),_0x57807b['code']=_0x40c58d,_0x57807b[_0x1141aa]=_0x3fec73,_0x57807b;}}return _0x3a6d89=_0x52a887,_0x3a6d89;}var _0x1bf99c,_0xe6d8b5;function _0x1f035b(){const _0x54c74d=_0x193ea3;if(_0xe6d8b5)return _0x1bf99c;_0xe6d8b5=0x1;const {Duplex:_0x2c3ab0}=_0x2f6ccb,{randomFillSync:_0x346263}=_0x26dfc4,_0x4519f5=_0x4a7dac(),{EMPTY_BUFFER:_0x2d33ca,kWebSocket:_0x395e07,NOOP:_0x5b6998}=_0x4627b8(),{isBlob:_0x2bca48,isValidStatusCode:_0x9a0eb3}=_0x47b52b(),{mask:_0x577a41,toBuffer:_0xd945b3}=_0x533e59(),_0x2758f7=Symbol(_0x54c74d(0x108)),_0x5a57d3=Buffer[_0x54c74d(0x271)](0x4),_0x368f21=0x8*0x400;let _0x4b8cb2,_0xf5b15f=_0x368f21;const _0x1d330f=0x0,_0xf4c71b=0x1,_0x5394d4=0x2;class _0x17568c{constructor(_0x118afd,_0x5f52e5,_0x53e13b){const _0x121e79=_0x54c74d;this['_extensions']=_0x5f52e5||{},_0x53e13b&&(this[_0x121e79(0x116)]=_0x53e13b,this['_maskBuffer']=Buffer[_0x121e79(0x271)](0x4)),this[_0x121e79(0x134)]=_0x118afd,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x121e79(0x244)]=0x0,this[_0x121e79(0x203)]=[],this[_0x121e79(0x183)]=_0x1d330f,this['onerror']=_0x5b6998,this[_0x395e07]=void 0x0;}static[_0x54c74d(0x263)](_0x15cca7,_0x3c176f){const _0x58e8e0=_0x54c74d;let _0x1a31d5,_0x49552f=!0x1,_0x19d9be=0x2,_0x10d01c=!0x1;_0x3c176f['mask']&&(_0x1a31d5=_0x3c176f[_0x58e8e0(0x19a)]||_0x5a57d3,_0x3c176f[_0x58e8e0(0x234)]?_0x3c176f['generateMask'](_0x1a31d5):(_0xf5b15f===_0x368f21&&(_0x4b8cb2===void 0x0&&(_0x4b8cb2=Buffer[_0x58e8e0(0x271)](_0x368f21)),_0x346263(_0x4b8cb2,0x0,_0x368f21),_0xf5b15f=0x0),_0x1a31d5[0x0]=_0x4b8cb2[_0xf5b15f++],_0x1a31d5[0x1]=_0x4b8cb2[_0xf5b15f++],_0x1a31d5[0x2]=_0x4b8cb2[_0xf5b15f++],_0x1a31d5[0x3]=_0x4b8cb2[_0xf5b15f++]),_0x10d01c=(_0x1a31d5[0x0]|_0x1a31d5[0x1]|_0x1a31d5[0x2]|_0x1a31d5[0x3])===0x0,_0x19d9be=0x6);let _0x1c1816;typeof _0x15cca7==_0x58e8e0(0x1ec)?(!_0x3c176f[_0x58e8e0(0x218)]||_0x10d01c)&&_0x3c176f[_0x2758f7]!==void 0x0?_0x1c1816=_0x3c176f[_0x2758f7]:(_0x15cca7=Buffer[_0x58e8e0(0x1cd)](_0x15cca7),_0x1c1816=_0x15cca7['length']):(_0x1c1816=_0x15cca7[_0x58e8e0(0x13c)],_0x49552f=_0x3c176f[_0x58e8e0(0x218)]&&_0x3c176f[_0x58e8e0(0x13f)]&&!_0x10d01c);let _0x4d3426=_0x1c1816;_0x1c1816>=0x10000?(_0x19d9be+=0x8,_0x4d3426=0x7f):_0x1c1816>0x7d&&(_0x19d9be+=0x2,_0x4d3426=0x7e);const _0x2f907c=Buffer['allocUnsafe'](_0x49552f?_0x1c1816+_0x19d9be:_0x19d9be);return _0x2f907c[0x0]=_0x3c176f['fin']?_0x3c176f[_0x58e8e0(0x1ba)]|0x80:_0x3c176f['opcode'],_0x3c176f['rsv1']&&(_0x2f907c[0x0]|=0x40),_0x2f907c[0x1]=_0x4d3426,_0x4d3426===0x7e?_0x2f907c[_0x58e8e0(0x21e)](_0x1c1816,0x2):_0x4d3426===0x7f&&(_0x2f907c[0x2]=_0x2f907c[0x3]=0x0,_0x2f907c['writeUIntBE'](_0x1c1816,0x4,0x6)),_0x3c176f[_0x58e8e0(0x218)]?(_0x2f907c[0x1]|=0x80,_0x2f907c[_0x19d9be-0x4]=_0x1a31d5[0x0],_0x2f907c[_0x19d9be-0x3]=_0x1a31d5[0x1],_0x2f907c[_0x19d9be-0x2]=_0x1a31d5[0x2],_0x2f907c[_0x19d9be-0x1]=_0x1a31d5[0x3],_0x10d01c?[_0x2f907c,_0x15cca7]:_0x49552f?(_0x577a41(_0x15cca7,_0x1a31d5,_0x2f907c,_0x19d9be,_0x1c1816),[_0x2f907c]):(_0x577a41(_0x15cca7,_0x1a31d5,_0x15cca7,0x0,_0x1c1816),[_0x2f907c,_0x15cca7])):[_0x2f907c,_0x15cca7];}[_0x54c74d(0x282)](_0x51c7c3,_0x2a1848,_0x126462,_0x2add51){const _0x5cab38=_0x54c74d;let _0x184a5d;if(_0x51c7c3===void 0x0)_0x184a5d=_0x2d33ca;else{if(typeof _0x51c7c3!=_0x5cab38(0x22a)||!_0x9a0eb3(_0x51c7c3))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2a1848===void 0x0||!_0x2a1848[_0x5cab38(0x13c)])_0x184a5d=Buffer[_0x5cab38(0x20b)](0x2),_0x184a5d[_0x5cab38(0x21e)](_0x51c7c3,0x0);else{const _0x30ea95=Buffer[_0x5cab38(0x23d)](_0x2a1848);if(_0x30ea95>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x184a5d=Buffer[_0x5cab38(0x20b)](0x2+_0x30ea95),_0x184a5d['writeUInt16BE'](_0x51c7c3,0x0),typeof _0x2a1848=='string'?_0x184a5d['write'](_0x2a1848,0x2):_0x184a5d['set'](_0x2a1848,0x2);}}const _0x5ca3ce={[_0x2758f7]:_0x184a5d[_0x5cab38(0x13c)],'fin':!0x0,'generateMask':this[_0x5cab38(0x116)],'mask':_0x126462,'maskBuffer':this[_0x5cab38(0x286)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5cab38(0x183)]!==_0x1d330f?this[_0x5cab38(0x215)]([this[_0x5cab38(0x143)],_0x184a5d,!0x1,_0x5ca3ce,_0x2add51]):this[_0x5cab38(0x138)](_0x17568c[_0x5cab38(0x263)](_0x184a5d,_0x5ca3ce),_0x2add51);}[_0x54c74d(0x276)](_0x245c90,_0xf7e62e,_0x198328){const _0x539682=_0x54c74d;let _0x16c570,_0x3645f6;if(typeof _0x245c90==_0x539682(0x1ec)?(_0x16c570=Buffer[_0x539682(0x23d)](_0x245c90),_0x3645f6=!0x1):_0x2bca48(_0x245c90)?(_0x16c570=_0x245c90[_0x539682(0x132)],_0x3645f6=!0x1):(_0x245c90=_0xd945b3(_0x245c90),_0x16c570=_0x245c90[_0x539682(0x13c)],_0x3645f6=_0xd945b3[_0x539682(0x13f)]),_0x16c570>0x7d)throw new RangeError(_0x539682(0x27a));const _0x2f88d2={[_0x2758f7]:_0x16c570,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xf7e62e,'maskBuffer':this[_0x539682(0x286)],'opcode':0x9,'readOnly':_0x3645f6,'rsv1':!0x1};_0x2bca48(_0x245c90)?this[_0x539682(0x183)]!==_0x1d330f?this[_0x539682(0x215)]([this['getBlobData'],_0x245c90,!0x1,_0x2f88d2,_0x198328]):this[_0x539682(0x1e7)](_0x245c90,!0x1,_0x2f88d2,_0x198328):this[_0x539682(0x183)]!==_0x1d330f?this[_0x539682(0x215)]([this[_0x539682(0x143)],_0x245c90,!0x1,_0x2f88d2,_0x198328]):this[_0x539682(0x138)](_0x17568c[_0x539682(0x263)](_0x245c90,_0x2f88d2),_0x198328);}[_0x54c74d(0x197)](_0x2dda33,_0x2d72a6,_0x358316){const _0x10ded7=_0x54c74d;let _0x544005,_0x5500fa;if(typeof _0x2dda33==_0x10ded7(0x1ec)?(_0x544005=Buffer[_0x10ded7(0x23d)](_0x2dda33),_0x5500fa=!0x1):_0x2bca48(_0x2dda33)?(_0x544005=_0x2dda33['size'],_0x5500fa=!0x1):(_0x2dda33=_0xd945b3(_0x2dda33),_0x544005=_0x2dda33[_0x10ded7(0x13c)],_0x5500fa=_0xd945b3[_0x10ded7(0x13f)]),_0x544005>0x7d)throw new RangeError(_0x10ded7(0x27a));const _0x18a2c5={[_0x2758f7]:_0x544005,'fin':!0x0,'generateMask':this[_0x10ded7(0x116)],'mask':_0x2d72a6,'maskBuffer':this[_0x10ded7(0x286)],'opcode':0xa,'readOnly':_0x5500fa,'rsv1':!0x1};_0x2bca48(_0x2dda33)?this[_0x10ded7(0x183)]!==_0x1d330f?this[_0x10ded7(0x215)]([this[_0x10ded7(0x1e7)],_0x2dda33,!0x1,_0x18a2c5,_0x358316]):this[_0x10ded7(0x1e7)](_0x2dda33,!0x1,_0x18a2c5,_0x358316):this[_0x10ded7(0x183)]!==_0x1d330f?this[_0x10ded7(0x215)]([this['dispatch'],_0x2dda33,!0x1,_0x18a2c5,_0x358316]):this[_0x10ded7(0x138)](_0x17568c[_0x10ded7(0x263)](_0x2dda33,_0x18a2c5),_0x358316);}[_0x54c74d(0x241)](_0x3e4140,_0x3d5d9e,_0x5bd7c0){const _0x356b09=_0x54c74d,_0x1c05b5=this[_0x356b09(0x173)][_0x4519f5['extensionName']];let _0x4f95bc=_0x3d5d9e[_0x356b09(0x1a1)]?0x2:0x1,_0x4b5a87=_0x3d5d9e[_0x356b09(0x232)],_0x2a15dd,_0x8f1d1d;typeof _0x3e4140==_0x356b09(0x1ec)?(_0x2a15dd=Buffer[_0x356b09(0x23d)](_0x3e4140),_0x8f1d1d=!0x1):_0x2bca48(_0x3e4140)?(_0x2a15dd=_0x3e4140[_0x356b09(0x132)],_0x8f1d1d=!0x1):(_0x3e4140=_0xd945b3(_0x3e4140),_0x2a15dd=_0x3e4140[_0x356b09(0x13c)],_0x8f1d1d=_0xd945b3['readOnly']),this[_0x356b09(0x158)]?(this[_0x356b09(0x158)]=!0x1,_0x4b5a87&&_0x1c05b5&&_0x1c05b5[_0x356b09(0x2b9)][_0x1c05b5[_0x356b09(0x24c)]?_0x356b09(0x1bd):_0x356b09(0x28f)]&&(_0x4b5a87=_0x2a15dd>=_0x1c05b5[_0x356b09(0x187)]),this['_compress']=_0x4b5a87):(_0x4b5a87=!0x1,_0x4f95bc=0x0),_0x3d5d9e[_0x356b09(0x289)]&&(this[_0x356b09(0x158)]=!0x0);const _0x4b2001={[_0x2758f7]:_0x2a15dd,'fin':_0x3d5d9e[_0x356b09(0x289)],'generateMask':this['_generateMask'],'mask':_0x3d5d9e[_0x356b09(0x218)],'maskBuffer':this[_0x356b09(0x286)],'opcode':_0x4f95bc,'readOnly':_0x8f1d1d,'rsv1':_0x4b5a87};_0x2bca48(_0x3e4140)?this[_0x356b09(0x183)]!==_0x1d330f?this[_0x356b09(0x215)]([this[_0x356b09(0x1e7)],_0x3e4140,this[_0x356b09(0x293)],_0x4b2001,_0x5bd7c0]):this[_0x356b09(0x1e7)](_0x3e4140,this[_0x356b09(0x293)],_0x4b2001,_0x5bd7c0):this[_0x356b09(0x183)]!==_0x1d330f?this[_0x356b09(0x215)]([this[_0x356b09(0x143)],_0x3e4140,this[_0x356b09(0x293)],_0x4b2001,_0x5bd7c0]):this['dispatch'](_0x3e4140,this[_0x356b09(0x293)],_0x4b2001,_0x5bd7c0);}['getBlobData'](_0x5872fb,_0x48aa3c,_0x48c88c,_0x368266){const _0x33dcaf=_0x54c74d;this[_0x33dcaf(0x244)]+=_0x48c88c[_0x2758f7],this[_0x33dcaf(0x183)]=_0x5394d4,_0x5872fb[_0x33dcaf(0x10d)]()[_0x33dcaf(0x1e3)](_0x2eabe2=>{const _0xf3faf3=_0x33dcaf;if(this[_0xf3faf3(0x134)][_0xf3faf3(0x231)]){const _0x4b15f6=new Error(_0xf3faf3(0x185));process[_0xf3faf3(0x216)](_0x553376,this,_0x4b15f6,_0x368266);return;}this[_0xf3faf3(0x244)]-=_0x48c88c[_0x2758f7];const _0x1e3292=_0xd945b3(_0x2eabe2);_0x48aa3c?this[_0xf3faf3(0x143)](_0x1e3292,_0x48aa3c,_0x48c88c,_0x368266):(this[_0xf3faf3(0x183)]=_0x1d330f,this[_0xf3faf3(0x138)](_0x17568c[_0xf3faf3(0x263)](_0x1e3292,_0x48c88c),_0x368266),this[_0xf3faf3(0x1aa)]());})[_0x33dcaf(0x102)](_0x11fec2=>{process['nextTick'](_0x2d4fe6,this,_0x11fec2,_0x368266);});}['dispatch'](_0x36b819,_0xbf7a87,_0x1076ff,_0x11040e){const _0x3295dd=_0x54c74d;if(!_0xbf7a87){this[_0x3295dd(0x138)](_0x17568c[_0x3295dd(0x263)](_0x36b819,_0x1076ff),_0x11040e);return;}const _0x238d49=this[_0x3295dd(0x173)][_0x4519f5[_0x3295dd(0x154)]];this[_0x3295dd(0x244)]+=_0x1076ff[_0x2758f7],this[_0x3295dd(0x183)]=_0xf4c71b,_0x238d49['compress'](_0x36b819,_0x1076ff[_0x3295dd(0x289)],(_0x1815b2,_0x4458a3)=>{const _0x3db1a7=_0x3295dd;if(this[_0x3db1a7(0x134)][_0x3db1a7(0x231)]){const _0x565332=new Error(_0x3db1a7(0x274));_0x553376(this,_0x565332,_0x11040e);return;}this['_bufferedBytes']-=_0x1076ff[_0x2758f7],this['_state']=_0x1d330f,_0x1076ff[_0x3db1a7(0x13f)]=!0x1,this[_0x3db1a7(0x138)](_0x17568c['frame'](_0x4458a3,_0x1076ff),_0x11040e),this['dequeue']();});}[_0x54c74d(0x1aa)](){const _0x49cfd7=_0x54c74d;for(;this[_0x49cfd7(0x183)]===_0x1d330f&&this[_0x49cfd7(0x203)]['length'];){const _0x53587a=this[_0x49cfd7(0x203)][_0x49cfd7(0x1b9)]();this[_0x49cfd7(0x244)]-=_0x53587a[0x3][_0x2758f7],Reflect[_0x49cfd7(0x10e)](_0x53587a[0x0],this,_0x53587a[_0x49cfd7(0x17f)](0x1));}}[_0x54c74d(0x215)](_0x42401a){const _0x2925be=_0x54c74d;this['_bufferedBytes']+=_0x42401a[0x3][_0x2758f7],this[_0x2925be(0x203)]['push'](_0x42401a);}[_0x54c74d(0x138)](_0x45c444,_0x41f72c){const _0x1b75ee=_0x54c74d;_0x45c444[_0x1b75ee(0x13c)]===0x2?(this[_0x1b75ee(0x134)][_0x1b75ee(0x260)](),this['_socket']['write'](_0x45c444[0x0]),this[_0x1b75ee(0x134)][_0x1b75ee(0x27f)](_0x45c444[0x1],_0x41f72c),this[_0x1b75ee(0x134)][_0x1b75ee(0x16e)]()):this[_0x1b75ee(0x134)][_0x1b75ee(0x27f)](_0x45c444[0x0],_0x41f72c);}}_0x1bf99c=_0x17568c;function _0x553376(_0x21a474,_0x175ef9,_0x48d877){const _0x4cc5ae=_0x54c74d;typeof _0x48d877==_0x4cc5ae(0x17e)&&_0x48d877(_0x175ef9);for(let _0x26f0fd=0x0;_0x26f0fd<_0x21a474['_queue'][_0x4cc5ae(0x13c)];_0x26f0fd++){const _0x5b9599=_0x21a474['_queue'][_0x26f0fd],_0x237de7=_0x5b9599[_0x5b9599['length']-0x1];typeof _0x237de7=='function'&&_0x237de7(_0x175ef9);}}function _0x2d4fe6(_0xda9e44,_0x4d8572,_0x41962a){const _0xae818d=_0x54c74d;_0x553376(_0xda9e44,_0x4d8572,_0x41962a),_0xda9e44[_0xae818d(0x1b7)](_0x4d8572);}return _0x1bf99c;}var _0x49e1ab,_0x38c8f6;function _0x344fb2(){const _0x380f37=_0x193ea3;if(_0x38c8f6)return _0x49e1ab;_0x38c8f6=0x1;const {kForOnEventAttribute:_0x36c22a,kListener:_0x4d74d5}=_0x4627b8(),_0x3b912b=Symbol(_0x380f37(0xf5)),_0x3da6b5=Symbol(_0x380f37(0x284)),_0x49165e=Symbol(_0x380f37(0x2be)),_0x53a6b7=Symbol(_0x380f37(0xf3)),_0x347124=Symbol(_0x380f37(0x12b)),_0x4a1bf5=Symbol(_0x380f37(0x165)),_0xd5bb22=Symbol(_0x380f37(0x121)),_0x2ce0ce=Symbol(_0x380f37(0x1d5));class _0x51e913{constructor(_0xacda34){this[_0x4a1bf5]=null,this[_0xd5bb22]=_0xacda34;}get[_0x380f37(0x1ef)](){return this[_0x4a1bf5];}get[_0x380f37(0x19d)](){return this[_0xd5bb22];}}Object[_0x380f37(0x17c)](_0x51e913[_0x380f37(0x1a7)],'target',{'enumerable':!0x0}),Object[_0x380f37(0x17c)](_0x51e913[_0x380f37(0x1a7)],_0x380f37(0x19d),{'enumerable':!0x0});class _0x58713d extends _0x51e913{constructor(_0x562f24,_0x4c83a9={}){const _0xf77286=_0x380f37;super(_0x562f24),this[_0x3b912b]=_0x4c83a9[_0xf77286(0x14a)]===void 0x0?0x0:_0x4c83a9['code'],this[_0x347124]=_0x4c83a9[_0xf77286(0x15c)]===void 0x0?'':_0x4c83a9[_0xf77286(0x15c)],this[_0x2ce0ce]=_0x4c83a9[_0xf77286(0x1d0)]===void 0x0?!0x1:_0x4c83a9['wasClean'];}get[_0x380f37(0x14a)](){return this[_0x3b912b];}get['reason'](){return this[_0x347124];}get[_0x380f37(0x1d0)](){return this[_0x2ce0ce];}}Object[_0x380f37(0x17c)](_0x58713d[_0x380f37(0x1a7)],_0x380f37(0x14a),{'enumerable':!0x0}),Object[_0x380f37(0x17c)](_0x58713d['prototype'],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x58713d['prototype'],_0x380f37(0x1d0),{'enumerable':!0x0});class _0x338a1d extends _0x51e913{constructor(_0x12b1fb,_0x275465={}){const _0x28995c=_0x380f37;super(_0x12b1fb),this[_0x49165e]=_0x275465[_0x28995c(0x15a)]===void 0x0?null:_0x275465[_0x28995c(0x15a)],this[_0x53a6b7]=_0x275465[_0x28995c(0x29d)]===void 0x0?'':_0x275465[_0x28995c(0x29d)];}get[_0x380f37(0x15a)](){return this[_0x49165e];}get[_0x380f37(0x29d)](){return this[_0x53a6b7];}}Object[_0x380f37(0x17c)](_0x338a1d[_0x380f37(0x1a7)],_0x380f37(0x15a),{'enumerable':!0x0}),Object[_0x380f37(0x17c)](_0x338a1d[_0x380f37(0x1a7)],_0x380f37(0x29d),{'enumerable':!0x0});class _0x4afbdd extends _0x51e913{constructor(_0xa0a4,_0x35d0c9={}){const _0x451ff8=_0x380f37;super(_0xa0a4),this[_0x3da6b5]=_0x35d0c9[_0x451ff8(0x202)]===void 0x0?null:_0x35d0c9[_0x451ff8(0x202)];}get[_0x380f37(0x202)](){return this[_0x3da6b5];}}Object[_0x380f37(0x17c)](_0x4afbdd[_0x380f37(0x1a7)],'data',{'enumerable':!0x0}),_0x49e1ab={'CloseEvent':_0x58713d,'ErrorEvent':_0x338a1d,'Event':_0x51e913,'EventTarget':{'addEventListener'(_0x57a496,_0x437370,_0x315b0c={}){const _0x35f8d3=_0x380f37;for(const _0x29cc3b of this[_0x35f8d3(0x20a)](_0x57a496))if(!_0x315b0c[_0x36c22a]&&_0x29cc3b[_0x4d74d5]===_0x437370&&!_0x29cc3b[_0x36c22a])return;let _0x90c3d2;if(_0x57a496===_0x35f8d3(0x29d))_0x90c3d2=function(_0x312b22,_0x566c59){const _0x165537=_0x35f8d3,_0x4f67d7=new _0x4afbdd(_0x165537(0x29d),{'data':_0x566c59?_0x312b22:_0x312b22[_0x165537(0x126)]()});_0x4f67d7[_0x4a1bf5]=this,_0x8dcdf5(_0x437370,this,_0x4f67d7);};else{if(_0x57a496===_0x35f8d3(0x282))_0x90c3d2=function(_0x198e96,_0x570e9b){const _0xd760bc=_0x35f8d3,_0xe7785f=new _0x58713d(_0xd760bc(0x282),{'code':_0x198e96,'reason':_0x570e9b[_0xd760bc(0x126)](),'wasClean':this[_0xd760bc(0x142)]&&this[_0xd760bc(0x20d)]});_0xe7785f[_0x4a1bf5]=this,_0x8dcdf5(_0x437370,this,_0xe7785f);};else{if(_0x57a496===_0x35f8d3(0x15a))_0x90c3d2=function(_0x4956b8){const _0x35f361=_0x35f8d3,_0x4f96fa=new _0x338a1d(_0x35f361(0x15a),{'error':_0x4956b8,'message':_0x4956b8[_0x35f361(0x29d)]});_0x4f96fa[_0x4a1bf5]=this,_0x8dcdf5(_0x437370,this,_0x4f96fa);};else{if(_0x57a496==='open')_0x90c3d2=function(){const _0x1c61ff=_0x35f8d3,_0x40fc80=new _0x51e913(_0x1c61ff(0x14f));_0x40fc80[_0x4a1bf5]=this,_0x8dcdf5(_0x437370,this,_0x40fc80);};else return;}}}_0x90c3d2[_0x36c22a]=!!_0x315b0c[_0x36c22a],_0x90c3d2[_0x4d74d5]=_0x437370,_0x315b0c[_0x35f8d3(0x24d)]?this[_0x35f8d3(0x24d)](_0x57a496,_0x90c3d2):this['on'](_0x57a496,_0x90c3d2);},'removeEventListener'(_0x28fe96,_0x144f38){const _0x140d20=_0x380f37;for(const _0x23cfe1 of this[_0x140d20(0x20a)](_0x28fe96))if(_0x23cfe1[_0x4d74d5]===_0x144f38&&!_0x23cfe1[_0x36c22a]){this[_0x140d20(0x256)](_0x28fe96,_0x23cfe1);break;}}},'MessageEvent':_0x4afbdd};function _0x8dcdf5(_0x3a9eb3,_0x508335,_0xf48f4e){const _0x3e62f6=_0x380f37;typeof _0x3a9eb3==_0x3e62f6(0x16c)&&_0x3a9eb3[_0x3e62f6(0x11d)]?_0x3a9eb3[_0x3e62f6(0x11d)][_0x3e62f6(0x235)](_0x3a9eb3,_0xf48f4e):_0x3a9eb3[_0x3e62f6(0x235)](_0x508335,_0xf48f4e);}return _0x49e1ab;}var _0x4ea143,_0x554833;function _0x452e22(){if(_0x554833)return _0x4ea143;_0x554833=0x1;const {tokenChars:_0x3574b9}=_0x47b52b();function _0x5dcd92(_0x344b78,_0x1b10dd,_0x1a8ab1){const _0x46be95=_0x4cae;_0x344b78[_0x1b10dd]===void 0x0?_0x344b78[_0x1b10dd]=[_0x1a8ab1]:_0x344b78[_0x1b10dd][_0x46be95(0x1a8)](_0x1a8ab1);}function _0x53f6c2(_0xb39b75){const _0x27468c=_0x4cae,_0x3db636=Object['create'](null);let _0x476b98=Object[_0x27468c(0x2c1)](null),_0x37e665=!0x1,_0x1548ce=!0x1,_0x3281a1=!0x1,_0x1518ca,_0xebf2ae,_0x4e8b36=-0x1,_0x1da3df=-0x1,_0x52c724=-0x1,_0x22431f=0x0;for(;_0x22431f<_0xb39b75['length'];_0x22431f++)if(_0x1da3df=_0xb39b75[_0x27468c(0x136)](_0x22431f),_0x1518ca===void 0x0){if(_0x52c724===-0x1&&_0x3574b9[_0x1da3df]===0x1)_0x4e8b36===-0x1&&(_0x4e8b36=_0x22431f);else{if(_0x22431f!==0x0&&(_0x1da3df===0x20||_0x1da3df===0x9))_0x52c724===-0x1&&_0x4e8b36!==-0x1&&(_0x52c724=_0x22431f);else{if(_0x1da3df===0x3b||_0x1da3df===0x2c){if(_0x4e8b36===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x22431f);_0x52c724===-0x1&&(_0x52c724=_0x22431f);const _0x49e29a=_0xb39b75[_0x27468c(0x17f)](_0x4e8b36,_0x52c724);_0x1da3df===0x2c?(_0x5dcd92(_0x3db636,_0x49e29a,_0x476b98),_0x476b98=Object['create'](null)):_0x1518ca=_0x49e29a,_0x4e8b36=_0x52c724=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x22431f);}}}else{if(_0xebf2ae===void 0x0){if(_0x52c724===-0x1&&_0x3574b9[_0x1da3df]===0x1)_0x4e8b36===-0x1&&(_0x4e8b36=_0x22431f);else{if(_0x1da3df===0x20||_0x1da3df===0x9)_0x52c724===-0x1&&_0x4e8b36!==-0x1&&(_0x52c724=_0x22431f);else{if(_0x1da3df===0x3b||_0x1da3df===0x2c){if(_0x4e8b36===-0x1)throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);_0x52c724===-0x1&&(_0x52c724=_0x22431f),_0x5dcd92(_0x476b98,_0xb39b75[_0x27468c(0x17f)](_0x4e8b36,_0x52c724),!0x0),_0x1da3df===0x2c&&(_0x5dcd92(_0x3db636,_0x1518ca,_0x476b98),_0x476b98=Object['create'](null),_0x1518ca=void 0x0),_0x4e8b36=_0x52c724=-0x1;}else{if(_0x1da3df===0x3d&&_0x4e8b36!==-0x1&&_0x52c724===-0x1)_0xebf2ae=_0xb39b75[_0x27468c(0x17f)](_0x4e8b36,_0x22431f),_0x4e8b36=_0x52c724=-0x1;else throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);}}}}else{if(_0x1548ce){if(_0x3574b9[_0x1da3df]!==0x1)throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);_0x4e8b36===-0x1?_0x4e8b36=_0x22431f:_0x37e665||(_0x37e665=!0x0),_0x1548ce=!0x1;}else{if(_0x3281a1){if(_0x3574b9[_0x1da3df]===0x1)_0x4e8b36===-0x1&&(_0x4e8b36=_0x22431f);else{if(_0x1da3df===0x22&&_0x4e8b36!==-0x1)_0x3281a1=!0x1,_0x52c724=_0x22431f;else{if(_0x1da3df===0x5c)_0x1548ce=!0x0;else throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);}}}else{if(_0x1da3df===0x22&&_0xb39b75[_0x27468c(0x136)](_0x22431f-0x1)===0x3d)_0x3281a1=!0x0;else{if(_0x52c724===-0x1&&_0x3574b9[_0x1da3df]===0x1)_0x4e8b36===-0x1&&(_0x4e8b36=_0x22431f);else{if(_0x4e8b36!==-0x1&&(_0x1da3df===0x20||_0x1da3df===0x9))_0x52c724===-0x1&&(_0x52c724=_0x22431f);else{if(_0x1da3df===0x3b||_0x1da3df===0x2c){if(_0x4e8b36===-0x1)throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);_0x52c724===-0x1&&(_0x52c724=_0x22431f);let _0x57f9b4=_0xb39b75[_0x27468c(0x17f)](_0x4e8b36,_0x52c724);_0x37e665&&(_0x57f9b4=_0x57f9b4['replace'](/\\/g,''),_0x37e665=!0x1),_0x5dcd92(_0x476b98,_0xebf2ae,_0x57f9b4),_0x1da3df===0x2c&&(_0x5dcd92(_0x3db636,_0x1518ca,_0x476b98),_0x476b98=Object[_0x27468c(0x2c1)](null),_0x1518ca=void 0x0),_0xebf2ae=void 0x0,_0x4e8b36=_0x52c724=-0x1;}else throw new SyntaxError(_0x27468c(0x1f7)+_0x22431f);}}}}}}}if(_0x4e8b36===-0x1||_0x3281a1||_0x1da3df===0x20||_0x1da3df===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x52c724===-0x1&&(_0x52c724=_0x22431f);const _0x54e22c=_0xb39b75[_0x27468c(0x17f)](_0x4e8b36,_0x52c724);return _0x1518ca===void 0x0?_0x5dcd92(_0x3db636,_0x54e22c,_0x476b98):(_0xebf2ae===void 0x0?_0x5dcd92(_0x476b98,_0x54e22c,!0x0):_0x37e665?_0x5dcd92(_0x476b98,_0xebf2ae,_0x54e22c[_0x27468c(0x192)](/\\/g,'')):_0x5dcd92(_0x476b98,_0xebf2ae,_0x54e22c),_0x5dcd92(_0x3db636,_0x1518ca,_0x476b98)),_0x3db636;}function _0x567319(_0x594e62){const _0x1c1616=_0x4cae;return Object['keys'](_0x594e62)[_0x1c1616(0x267)](_0x5a8ae3=>{const _0x27f7d5=_0x1c1616;let _0x151850=_0x594e62[_0x5a8ae3];return Array[_0x27f7d5(0x233)](_0x151850)||(_0x151850=[_0x151850]),_0x151850[_0x27f7d5(0x267)](_0x4fc3dc=>[_0x5a8ae3][_0x27f7d5(0x170)](Object[_0x27f7d5(0x266)](_0x4fc3dc)[_0x27f7d5(0x267)](_0xea204f=>{const _0x2471fe=_0x27f7d5;let _0x174620=_0x4fc3dc[_0xea204f];return Array[_0x2471fe(0x233)](_0x174620)||(_0x174620=[_0x174620]),_0x174620[_0x2471fe(0x267)](_0x5f1b7f=>_0x5f1b7f===!0x0?_0xea204f:_0xea204f+'='+_0x5f1b7f)[_0x2471fe(0x2b6)](';\x20');}))[_0x27f7d5(0x2b6)](';\x20'))[_0x27f7d5(0x2b6)](',\x20');})[_0x1c1616(0x2b6)](',\x20');}return _0x4ea143={'format':_0x567319,'parse':_0x53f6c2},_0x4ea143;}var _0x78fa08,_0xe08963;function _0x40be12(){const _0x4ef00c=_0x193ea3;if(_0xe08963)return _0x78fa08;_0xe08963=0x1;const _0x5cf264=_0x4ddd71,_0x5ae2e6=_0xc39672,_0x3be0bf=_0x30bab8,_0xc20061=_0x2a4b71,_0x4e3e=_0x1a4c7d,{randomBytes:_0x4ab172,createHash:_0x4cae1c}=_0x26dfc4,{Duplex:_0x15c352,Readable:_0x5c59c7}=_0x2f6ccb,{URL:_0x6f0b00}=_0x567749,_0x1f94f4=_0x4a7dac(),_0x5ead86=_0x1a5e38(),_0x51806c=_0x1f035b(),{isBlob:_0xb6de0b}=_0x47b52b(),{BINARY_TYPES:_0x3244cc,EMPTY_BUFFER:_0x1e1d2a,GUID:_0x5951dc,kForOnEventAttribute:_0xf8a4c7,kListener:_0x30e76d,kStatusCode:_0x19014d,kWebSocket:_0xccb5af,NOOP:_0x492987}=_0x4627b8(),{EventTarget:{addEventListener:_0x536fc7,removeEventListener:_0x5c359c}}=_0x344fb2(),{format:_0x41bb3a,parse:_0xc09787}=_0x452e22(),{toBuffer:_0x26214a}=_0x533e59(),_0x170300=0x1e*0x3e8,_0x367a56=Symbol(_0x4ef00c(0x212)),_0x2117b0=[0x8,0xd],_0x23cf44=[_0x4ef00c(0x1ac),_0x4ef00c(0x251),_0x4ef00c(0x209),_0x4ef00c(0x196)],_0x1ca272=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x59ee37 extends _0x5cf264{constructor(_0x5aca2d,_0xa64ef2,_0x565f75){const _0x3a920d=_0x4ef00c;super(),this[_0x3a920d(0x188)]=_0x3244cc[0x0],this[_0x3a920d(0x159)]=0x3ee,this[_0x3a920d(0x142)]=!0x1,this[_0x3a920d(0x20d)]=!0x1,this[_0x3a920d(0x258)]=_0x1e1d2a,this['_closeTimer']=null,this[_0x3a920d(0xf1)]=!0x1,this['_extensions']={},this[_0x3a920d(0x1b3)]=!0x1,this[_0x3a920d(0x1bb)]='',this[_0x3a920d(0x2c3)]=_0x59ee37[_0x3a920d(0x1ac)],this[_0x3a920d(0x131)]=null,this['_sender']=null,this[_0x3a920d(0x134)]=null,_0x5aca2d!==null?(this[_0x3a920d(0x2ac)]=0x0,this['_isServer']=!0x1,this[_0x3a920d(0x252)]=0x0,_0xa64ef2===void 0x0?_0xa64ef2=[]:Array[_0x3a920d(0x233)](_0xa64ef2)||(typeof _0xa64ef2=='object'&&_0xa64ef2!==null?(_0x565f75=_0xa64ef2,_0xa64ef2=[]):_0xa64ef2=[_0xa64ef2]),_0x2f10b8(this,_0x5aca2d,_0xa64ef2,_0x565f75)):(this[_0x3a920d(0x12e)]=_0x565f75[_0x3a920d(0x1b5)],this[_0x3a920d(0x24c)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4ef00c(0x17b)](_0x1f2a2d){const _0x5389a6=_0x4ef00c;_0x3244cc['includes'](_0x1f2a2d)&&(this[_0x5389a6(0x188)]=_0x1f2a2d,this['_receiver']&&(this[_0x5389a6(0x131)][_0x5389a6(0x188)]=_0x1f2a2d));}get[_0x4ef00c(0x27e)](){const _0x25f2f0=_0x4ef00c;return this[_0x25f2f0(0x134)]?this[_0x25f2f0(0x134)][_0x25f2f0(0x17d)][_0x25f2f0(0x13c)]+this[_0x25f2f0(0x296)][_0x25f2f0(0x244)]:this[_0x25f2f0(0x2ac)];}get[_0x4ef00c(0x189)](){return Object['keys'](this['_extensions'])['join']();}get[_0x4ef00c(0x262)](){const _0x505ae1=_0x4ef00c;return this[_0x505ae1(0x1b3)];}get[_0x4ef00c(0x12a)](){return null;}get[_0x4ef00c(0x1b7)](){return null;}get['onopen'](){return null;}get[_0x4ef00c(0x25a)](){return null;}get[_0x4ef00c(0x242)](){const _0x590a97=_0x4ef00c;return this[_0x590a97(0x1bb)];}get['readyState'](){return this['_readyState'];}get[_0x4ef00c(0x18e)](){const _0x93b0c6=_0x4ef00c;return this[_0x93b0c6(0x145)];}[_0x4ef00c(0x146)](_0x4e9fdf,_0x1ae17a,_0x3b98d8){const _0x4fdb4e=_0x4ef00c,_0x357d9d=new _0x5ead86({'allowSynchronousEvents':_0x3b98d8[_0x4fdb4e(0x20f)],'binaryType':this['binaryType'],'extensions':this[_0x4fdb4e(0x173)],'isServer':this['_isServer'],'maxPayload':_0x3b98d8[_0x4fdb4e(0xfd)],'skipUTF8Validation':_0x3b98d8[_0x4fdb4e(0x198)]}),_0x241bf4=new _0x51806c(_0x4e9fdf,this['_extensions'],_0x3b98d8[_0x4fdb4e(0x234)]);this[_0x4fdb4e(0x131)]=_0x357d9d,this['_sender']=_0x241bf4,this[_0x4fdb4e(0x134)]=_0x4e9fdf,_0x357d9d[_0xccb5af]=this,_0x241bf4[_0xccb5af]=this,_0x4e9fdf[_0xccb5af]=this,_0x357d9d['on'](_0x4fdb4e(0x25b),_0x4257be),_0x357d9d['on'](_0x4fdb4e(0x21a),_0x30986b),_0x357d9d['on'](_0x4fdb4e(0x15a),_0x532998),_0x357d9d['on']('message',_0x4986a0),_0x357d9d['on'](_0x4fdb4e(0x276),_0x29e4f1),_0x357d9d['on'](_0x4fdb4e(0x197),_0x460655),_0x241bf4[_0x4fdb4e(0x1b7)]=_0x51dc84,_0x4e9fdf['setTimeout']&&_0x4e9fdf['setTimeout'](0x0),_0x4e9fdf[_0x4fdb4e(0x11b)]&&_0x4e9fdf['setNoDelay'](),_0x1ae17a[_0x4fdb4e(0x13c)]>0x0&&_0x4e9fdf[_0x4fdb4e(0x190)](_0x1ae17a),_0x4e9fdf['on'](_0x4fdb4e(0x282),_0x5993b6),_0x4e9fdf['on'](_0x4fdb4e(0x202),_0x511c26),_0x4e9fdf['on']('end',_0x2e7008),_0x4e9fdf['on'](_0x4fdb4e(0x15a),_0x567d72),this['_readyState']=_0x59ee37[_0x4fdb4e(0x251)],this[_0x4fdb4e(0x184)](_0x4fdb4e(0x14f));}[_0x4ef00c(0x23e)](){const _0x24dc96=_0x4ef00c;if(!this[_0x24dc96(0x134)]){this['_readyState']=_0x59ee37[_0x24dc96(0x196)],this[_0x24dc96(0x184)]('close',this[_0x24dc96(0x159)],this[_0x24dc96(0x258)]);return;}this['_extensions'][_0x1f94f4['extensionName']]&&this['_extensions'][_0x1f94f4[_0x24dc96(0x154)]][_0x24dc96(0x1ea)](),this[_0x24dc96(0x131)][_0x24dc96(0x211)](),this[_0x24dc96(0x2c3)]=_0x59ee37[_0x24dc96(0x196)],this['emit'](_0x24dc96(0x282),this[_0x24dc96(0x159)],this[_0x24dc96(0x258)]);}[_0x4ef00c(0x282)](_0x52d6d5,_0x229f4c){const _0x4715af=_0x4ef00c;if(this[_0x4715af(0x2a0)]!==_0x59ee37[_0x4715af(0x196)]){if(this['readyState']===_0x59ee37[_0x4715af(0x1ac)]){_0xc3dfcf(this,this[_0x4715af(0x11e)],_0x4715af(0x10c));return;}if(this[_0x4715af(0x2a0)]===_0x59ee37[_0x4715af(0x209)]){this[_0x4715af(0x20d)]&&(this[_0x4715af(0x142)]||this[_0x4715af(0x131)][_0x4715af(0x17d)][_0x4715af(0x1b1)])&&this[_0x4715af(0x134)][_0x4715af(0x151)]();return;}this[_0x4715af(0x2c3)]=_0x59ee37['CLOSING'],this[_0x4715af(0x296)]['close'](_0x52d6d5,_0x229f4c,!this['_isServer'],_0xf64d9a=>{const _0x2fc431=_0x4715af;_0xf64d9a||(this[_0x2fc431(0x20d)]=!0x0,(this['_closeFrameReceived']||this[_0x2fc431(0x131)]['_writableState'][_0x2fc431(0x1b1)])&&this[_0x2fc431(0x134)][_0x2fc431(0x151)]());}),_0xf45baa(this);}}[_0x4ef00c(0x10a)](){const _0x2ba92d=_0x4ef00c;this[_0x2ba92d(0x2a0)]===_0x59ee37[_0x2ba92d(0x1ac)]||this[_0x2ba92d(0x2a0)]===_0x59ee37[_0x2ba92d(0x196)]||(this['_paused']=!0x0,this[_0x2ba92d(0x134)][_0x2ba92d(0x10a)]());}[_0x4ef00c(0x276)](_0x4f7879,_0x3a9471,_0x5d3766){const _0x417235=_0x4ef00c;if(this[_0x417235(0x2a0)]===_0x59ee37[_0x417235(0x1ac)])throw new Error(_0x417235(0x213));if(typeof _0x4f7879=='function'?(_0x5d3766=_0x4f7879,_0x4f7879=_0x3a9471=void 0x0):typeof _0x3a9471==_0x417235(0x17e)&&(_0x5d3766=_0x3a9471,_0x3a9471=void 0x0),typeof _0x4f7879==_0x417235(0x22a)&&(_0x4f7879=_0x4f7879[_0x417235(0x126)]()),this[_0x417235(0x2a0)]!==_0x59ee37['OPEN']){_0x251db3(this,_0x4f7879,_0x5d3766);return;}_0x3a9471===void 0x0&&(_0x3a9471=!this[_0x417235(0x24c)]),this['_sender'][_0x417235(0x276)](_0x4f7879||_0x1e1d2a,_0x3a9471,_0x5d3766);}[_0x4ef00c(0x197)](_0xf997a1,_0x47d246,_0x5814ac){const _0xe788ca=_0x4ef00c;if(this[_0xe788ca(0x2a0)]===_0x59ee37[_0xe788ca(0x1ac)])throw new Error(_0xe788ca(0x213));if(typeof _0xf997a1==_0xe788ca(0x17e)?(_0x5814ac=_0xf997a1,_0xf997a1=_0x47d246=void 0x0):typeof _0x47d246==_0xe788ca(0x17e)&&(_0x5814ac=_0x47d246,_0x47d246=void 0x0),typeof _0xf997a1=='number'&&(_0xf997a1=_0xf997a1[_0xe788ca(0x126)]()),this['readyState']!==_0x59ee37['OPEN']){_0x251db3(this,_0xf997a1,_0x5814ac);return;}_0x47d246===void 0x0&&(_0x47d246=!this[_0xe788ca(0x24c)]),this[_0xe788ca(0x296)][_0xe788ca(0x197)](_0xf997a1||_0x1e1d2a,_0x47d246,_0x5814ac);}[_0x4ef00c(0x1e2)](){const _0x44bf9a=_0x4ef00c;this[_0x44bf9a(0x2a0)]===_0x59ee37[_0x44bf9a(0x1ac)]||this[_0x44bf9a(0x2a0)]===_0x59ee37[_0x44bf9a(0x196)]||(this['_paused']=!0x1,this['_receiver'][_0x44bf9a(0x17d)][_0x44bf9a(0x21f)]||this['_socket'][_0x44bf9a(0x1e2)]());}[_0x4ef00c(0x241)](_0xe33aad,_0x4a0239,_0x48c5bc){const _0x2dc14e=_0x4ef00c;if(this[_0x2dc14e(0x2a0)]===_0x59ee37[_0x2dc14e(0x1ac)])throw new Error(_0x2dc14e(0x213));if(typeof _0x4a0239==_0x2dc14e(0x17e)&&(_0x48c5bc=_0x4a0239,_0x4a0239={}),typeof _0xe33aad=='number'&&(_0xe33aad=_0xe33aad[_0x2dc14e(0x126)]()),this[_0x2dc14e(0x2a0)]!==_0x59ee37['OPEN']){_0x251db3(this,_0xe33aad,_0x48c5bc);return;}const _0x58af45={'binary':typeof _0xe33aad!=_0x2dc14e(0x1ec),'mask':!this[_0x2dc14e(0x24c)],'compress':!0x0,'fin':!0x0,..._0x4a0239};this['_extensions'][_0x1f94f4[_0x2dc14e(0x154)]]||(_0x58af45['compress']=!0x1),this[_0x2dc14e(0x296)]['send'](_0xe33aad||_0x1e1d2a,_0x58af45,_0x48c5bc);}[_0x4ef00c(0x268)](){const _0x2aca53=_0x4ef00c;if(this['readyState']!==_0x59ee37[_0x2aca53(0x196)]){if(this[_0x2aca53(0x2a0)]===_0x59ee37[_0x2aca53(0x1ac)]){_0xc3dfcf(this,this[_0x2aca53(0x11e)],_0x2aca53(0x10c));return;}this[_0x2aca53(0x134)]&&(this[_0x2aca53(0x2c3)]=_0x59ee37[_0x2aca53(0x209)],this[_0x2aca53(0x134)][_0x2aca53(0x250)]());}}}Object[_0x4ef00c(0x17c)](_0x59ee37,_0x4ef00c(0x1ac),{'enumerable':!0x0,'value':_0x23cf44['indexOf'](_0x4ef00c(0x1ac))}),Object['defineProperty'](_0x59ee37[_0x4ef00c(0x1a7)],'CONNECTING',{'enumerable':!0x0,'value':_0x23cf44['indexOf'](_0x4ef00c(0x1ac))}),Object[_0x4ef00c(0x17c)](_0x59ee37,_0x4ef00c(0x251),{'enumerable':!0x0,'value':_0x23cf44['indexOf']('OPEN')}),Object['defineProperty'](_0x59ee37[_0x4ef00c(0x1a7)],_0x4ef00c(0x251),{'enumerable':!0x0,'value':_0x23cf44[_0x4ef00c(0x16d)](_0x4ef00c(0x251))}),Object['defineProperty'](_0x59ee37,_0x4ef00c(0x209),{'enumerable':!0x0,'value':_0x23cf44[_0x4ef00c(0x16d)](_0x4ef00c(0x209))}),Object[_0x4ef00c(0x17c)](_0x59ee37[_0x4ef00c(0x1a7)],_0x4ef00c(0x209),{'enumerable':!0x0,'value':_0x23cf44[_0x4ef00c(0x16d)](_0x4ef00c(0x209))}),Object[_0x4ef00c(0x17c)](_0x59ee37,_0x4ef00c(0x196),{'enumerable':!0x0,'value':_0x23cf44[_0x4ef00c(0x16d)]('CLOSED')}),Object['defineProperty'](_0x59ee37[_0x4ef00c(0x1a7)],'CLOSED',{'enumerable':!0x0,'value':_0x23cf44[_0x4ef00c(0x16d)](_0x4ef00c(0x196))}),[_0x4ef00c(0x17b),_0x4ef00c(0x27e),_0x4ef00c(0x189),_0x4ef00c(0x262),_0x4ef00c(0x242),_0x4ef00c(0x2a0),_0x4ef00c(0x18e)][_0x4ef00c(0x2af)](_0x5832e4=>{const _0x2e97c1=_0x4ef00c;Object[_0x2e97c1(0x17c)](_0x59ee37[_0x2e97c1(0x1a7)],_0x5832e4,{'enumerable':!0x0});}),['open','error',_0x4ef00c(0x282),_0x4ef00c(0x29d)][_0x4ef00c(0x2af)](_0x37c8fa=>{const _0x16e8b3=_0x4ef00c;Object[_0x16e8b3(0x17c)](_0x59ee37[_0x16e8b3(0x1a7)],'on'+_0x37c8fa,{'enumerable':!0x0,'get'(){const _0xcc63b3=_0x16e8b3;for(const _0x1eb120 of this[_0xcc63b3(0x20a)](_0x37c8fa))if(_0x1eb120[_0xf8a4c7])return _0x1eb120[_0x30e76d];return null;},'set'(_0x94b10f){const _0x5e4c0f=_0x16e8b3;for(const _0x114fd7 of this[_0x5e4c0f(0x20a)](_0x37c8fa))if(_0x114fd7[_0xf8a4c7]){this[_0x5e4c0f(0x256)](_0x37c8fa,_0x114fd7);break;}typeof _0x94b10f==_0x5e4c0f(0x17e)&&this['addEventListener'](_0x37c8fa,_0x94b10f,{[_0xf8a4c7]:!0x0});}});}),_0x59ee37[_0x4ef00c(0x1a7)][_0x4ef00c(0x148)]=_0x536fc7,_0x59ee37[_0x4ef00c(0x1a7)][_0x4ef00c(0x1a6)]=_0x5c359c,_0x78fa08=_0x59ee37;function _0x2f10b8(_0x3abd7e,_0x1bab9c,_0x49c789,_0x574155){const _0xa989e3=_0x4ef00c,_0x4d41ae={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2117b0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x574155,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3abd7e[_0xa989e3(0x12e)]=_0x4d41ae[_0xa989e3(0x1b5)],!_0x2117b0[_0xa989e3(0x1c0)](_0x4d41ae[_0xa989e3(0x270)]))throw new RangeError(_0xa989e3(0x2bd)+_0x4d41ae[_0xa989e3(0x270)]+_0xa989e3(0x214)+_0x2117b0['join'](',\x20')+')');let _0x39b869;if(_0x1bab9c instanceof _0x6f0b00)_0x39b869=_0x1bab9c;else try{_0x39b869=new _0x6f0b00(_0x1bab9c);}catch{throw new SyntaxError(_0xa989e3(0x124)+_0x1bab9c);}_0x39b869[_0xa989e3(0x242)]===_0xa989e3(0x181)?_0x39b869[_0xa989e3(0x242)]=_0xa989e3(0x288):_0x39b869[_0xa989e3(0x242)]==='https:'&&(_0x39b869[_0xa989e3(0x242)]=_0xa989e3(0x2bc)),_0x3abd7e['_url']=_0x39b869[_0xa989e3(0x16a)];const _0x22b95a=_0x39b869[_0xa989e3(0x242)]===_0xa989e3(0x2bc),_0x47ddc7=_0x39b869[_0xa989e3(0x242)]===_0xa989e3(0x1ed);let _0x3004be;if(_0x39b869[_0xa989e3(0x242)]!==_0xa989e3(0x288)&&!_0x22b95a&&!_0x47ddc7?_0x3004be=_0xa989e3(0x180):_0x47ddc7&&!_0x39b869['pathname']?_0x3004be=_0xa989e3(0x18c):_0x39b869[_0xa989e3(0x149)]&&(_0x3004be=_0xa989e3(0x29b)),_0x3004be){const _0x324983=new SyntaxError(_0x3004be);if(_0x3abd7e[_0xa989e3(0x252)]===0x0)throw _0x324983;_0x4bc2d6(_0x3abd7e,_0x324983);return;}const _0x2a9b81=_0x22b95a?0x1bb:0x50,_0x4b5fa4=_0x4ab172(0x10)[_0xa989e3(0x126)](_0xa989e3(0x117)),_0x5add9d=_0x22b95a?_0x5ae2e6[_0xa989e3(0x1c1)]:_0x3be0bf['request'],_0x5d3cb6=new Set();let _0x459cda;if(_0x4d41ae['createConnection']=_0x4d41ae[_0xa989e3(0x2b4)]||(_0x22b95a?_0x3ecaa3:_0xe3df31),_0x4d41ae['defaultPort']=_0x4d41ae['defaultPort']||_0x2a9b81,_0x4d41ae['port']=_0x39b869['port']||_0x2a9b81,_0x4d41ae[_0xa989e3(0x13d)]=_0x39b869[_0xa989e3(0x1dc)][_0xa989e3(0x169)]('[')?_0x39b869[_0xa989e3(0x1dc)][_0xa989e3(0x17f)](0x1,-0x1):_0x39b869[_0xa989e3(0x1dc)],_0x4d41ae['headers']={..._0x4d41ae['headers'],'Sec-WebSocket-Version':_0x4d41ae[_0xa989e3(0x270)],'Sec-WebSocket-Key':_0x4b5fa4,'Connection':_0xa989e3(0x109),'Upgrade':'websocket'},_0x4d41ae[_0xa989e3(0x106)]=_0x39b869[_0xa989e3(0x1a5)]+_0x39b869[_0xa989e3(0x259)],_0x4d41ae[_0xa989e3(0x272)]=_0x4d41ae[_0xa989e3(0x1eb)],_0x4d41ae[_0xa989e3(0x1c9)]&&(_0x459cda=new _0x1f94f4(_0x4d41ae[_0xa989e3(0x1c9)]!==!0x0?_0x4d41ae[_0xa989e3(0x1c9)]:{},!0x1,_0x4d41ae[_0xa989e3(0xfd)]),_0x4d41ae[_0xa989e3(0x27c)][_0xa989e3(0x1ab)]=_0x41bb3a({[_0x1f94f4[_0xa989e3(0x154)]]:_0x459cda[_0xa989e3(0x150)]()})),_0x49c789[_0xa989e3(0x13c)]){for(const _0x316577 of _0x49c789){if(typeof _0x316577!=_0xa989e3(0x1ec)||!_0x1ca272[_0xa989e3(0x1de)](_0x316577)||_0x5d3cb6[_0xa989e3(0x1ce)](_0x316577))throw new SyntaxError(_0xa989e3(0x1c3));_0x5d3cb6['add'](_0x316577);}_0x4d41ae[_0xa989e3(0x27c)][_0xa989e3(0x200)]=_0x49c789[_0xa989e3(0x2b6)](',');}if(_0x4d41ae[_0xa989e3(0x171)]&&(_0x4d41ae[_0xa989e3(0x270)]<0xd?_0x4d41ae[_0xa989e3(0x27c)][_0xa989e3(0x2c4)]=_0x4d41ae[_0xa989e3(0x171)]:_0x4d41ae['headers'][_0xa989e3(0x1c8)]=_0x4d41ae[_0xa989e3(0x171)]),(_0x39b869['username']||_0x39b869['password'])&&(_0x4d41ae[_0xa989e3(0x26c)]=_0x39b869[_0xa989e3(0x1d7)]+':'+_0x39b869[_0xa989e3(0x264)]),_0x47ddc7){const _0x305d43=_0x4d41ae[_0xa989e3(0x106)][_0xa989e3(0xf6)](':');_0x4d41ae['socketPath']=_0x305d43[0x0],_0x4d41ae[_0xa989e3(0x106)]=_0x305d43[0x1];}let _0xd6ee16;if(_0x4d41ae['followRedirects']){if(_0x3abd7e[_0xa989e3(0x252)]===0x0){_0x3abd7e[_0xa989e3(0x17a)]=_0x47ddc7,_0x3abd7e[_0xa989e3(0x179)]=_0x22b95a,_0x3abd7e[_0xa989e3(0x1c6)]=_0x47ddc7?_0x4d41ae[_0xa989e3(0x226)]:_0x39b869['host'];const _0xfd9d22=_0x574155&&_0x574155['headers'];if(_0x574155={..._0x574155,'headers':{}},_0xfd9d22){for(const [_0x2918a0,_0x2329b1]of Object['entries'](_0xfd9d22))_0x574155[_0xa989e3(0x27c)][_0x2918a0['toLowerCase']()]=_0x2329b1;}}else{if(_0x3abd7e[_0xa989e3(0x223)]('redirect')===0x0){const _0x2b82e8=_0x47ddc7?_0x3abd7e[_0xa989e3(0x17a)]?_0x4d41ae[_0xa989e3(0x226)]===_0x3abd7e[_0xa989e3(0x1c6)]:!0x1:_0x3abd7e[_0xa989e3(0x17a)]?!0x1:_0x39b869[_0xa989e3(0x13d)]===_0x3abd7e[_0xa989e3(0x1c6)];(!_0x2b82e8||_0x3abd7e[_0xa989e3(0x179)]&&!_0x22b95a)&&(delete _0x4d41ae['headers'][_0xa989e3(0x26a)],delete _0x4d41ae[_0xa989e3(0x27c)][_0xa989e3(0x1a4)],_0x2b82e8||delete _0x4d41ae[_0xa989e3(0x27c)][_0xa989e3(0x13d)],_0x4d41ae['auth']=void 0x0);}}_0x4d41ae[_0xa989e3(0x26c)]&&!_0x574155[_0xa989e3(0x27c)][_0xa989e3(0x26a)]&&(_0x574155[_0xa989e3(0x27c)][_0xa989e3(0x26a)]='Basic\x20'+Buffer[_0xa989e3(0x1cd)](_0x4d41ae['auth'])[_0xa989e3(0x126)]('base64')),_0xd6ee16=_0x3abd7e[_0xa989e3(0x11e)]=_0x5add9d(_0x4d41ae),_0x3abd7e[_0xa989e3(0x252)]&&_0x3abd7e['emit'](_0xa989e3(0x2a7),_0x3abd7e[_0xa989e3(0x18e)],_0xd6ee16);}else _0xd6ee16=_0x3abd7e['_req']=_0x5add9d(_0x4d41ae);_0x4d41ae['timeout']&&_0xd6ee16['on'](_0xa989e3(0x272),()=>{const _0x30ea9b=_0xa989e3;_0xc3dfcf(_0x3abd7e,_0xd6ee16,_0x30ea9b(0x265));}),_0xd6ee16['on'](_0xa989e3(0x15a),_0x27825b=>{_0xd6ee16===null||_0xd6ee16[_0x367a56]||(_0xd6ee16=_0x3abd7e['_req']=null,_0x4bc2d6(_0x3abd7e,_0x27825b));}),_0xd6ee16['on'](_0xa989e3(0x291),_0x9d9835=>{const _0x47d360=_0xa989e3,_0x198db0=_0x9d9835[_0x47d360(0x27c)][_0x47d360(0x1b4)],_0x1d46bc=_0x9d9835[_0x47d360(0x12c)];if(_0x198db0&&_0x4d41ae[_0x47d360(0x107)]&&_0x1d46bc>=0x12c&&_0x1d46bc<0x190){if(++_0x3abd7e[_0x47d360(0x252)]>_0x4d41ae[_0x47d360(0x19f)]){_0xc3dfcf(_0x3abd7e,_0xd6ee16,_0x47d360(0x25d));return;}_0xd6ee16[_0x47d360(0x1e1)]();let _0x125024;try{_0x125024=new _0x6f0b00(_0x198db0,_0x1bab9c);}catch{const _0x1d973f=new SyntaxError(_0x47d360(0x124)+_0x198db0);_0x4bc2d6(_0x3abd7e,_0x1d973f);return;}_0x2f10b8(_0x3abd7e,_0x125024,_0x49c789,_0x574155);}else _0x3abd7e[_0x47d360(0x184)](_0x47d360(0x15d),_0xd6ee16,_0x9d9835)||_0xc3dfcf(_0x3abd7e,_0xd6ee16,_0x47d360(0xf0)+_0x9d9835['statusCode']);}),_0xd6ee16['on'](_0xa989e3(0x130),(_0x4beaef,_0x2de36f,_0x486a22)=>{const _0x4d5d85=_0xa989e3;if(_0x3abd7e['emit'](_0x4d5d85(0x130),_0x4beaef),_0x3abd7e[_0x4d5d85(0x2a0)]!==_0x59ee37[_0x4d5d85(0x1ac)])return;_0xd6ee16=_0x3abd7e[_0x4d5d85(0x11e)]=null;const _0x2a6c40=_0x4beaef['headers'][_0x4d5d85(0x130)];if(_0x2a6c40===void 0x0||_0x2a6c40[_0x4d5d85(0x2a1)]()!==_0x4d5d85(0x2b3)){_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x4d5d85(0x2b5));return;}const _0x4b1c27=_0x4cae1c(_0x4d5d85(0x1a0))[_0x4d5d85(0x285)](_0x4b5fa4+_0x5951dc)[_0x4d5d85(0x225)]('base64');if(_0x4beaef[_0x4d5d85(0x27c)][_0x4d5d85(0x297)]!==_0x4b1c27){_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x4d5d85(0x205));return;}const _0x5b1abd=_0x4beaef['headers'][_0x4d5d85(0x135)];let _0x2f1a11;if(_0x5b1abd!==void 0x0?_0x5d3cb6[_0x4d5d85(0x132)]?_0x5d3cb6['has'](_0x5b1abd)||(_0x2f1a11='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2f1a11=_0x4d5d85(0x166):_0x5d3cb6[_0x4d5d85(0x132)]&&(_0x2f1a11=_0x4d5d85(0x23c)),_0x2f1a11){_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x2f1a11);return;}_0x5b1abd&&(_0x3abd7e[_0x4d5d85(0x1bb)]=_0x5b1abd);const _0x24ef4b=_0x4beaef[_0x4d5d85(0x27c)][_0x4d5d85(0x2b8)];if(_0x24ef4b!==void 0x0){if(!_0x459cda){_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x4d5d85(0x182));return;}let _0x46b0f8;try{_0x46b0f8=_0xc09787(_0x24ef4b);}catch{_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x4d5d85(0x1f9));return;}const _0x4ba4f6=Object[_0x4d5d85(0x266)](_0x46b0f8);if(_0x4ba4f6['length']!==0x1||_0x4ba4f6[0x0]!==_0x1f94f4[_0x4d5d85(0x154)]){_0xc3dfcf(_0x3abd7e,_0x2de36f,_0x4d5d85(0x1dd));return;}try{_0x459cda['accept'](_0x46b0f8[_0x1f94f4[_0x4d5d85(0x154)]]);}catch{_0xc3dfcf(_0x3abd7e,_0x2de36f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3abd7e[_0x4d5d85(0x173)][_0x1f94f4['extensionName']]=_0x459cda;}_0x3abd7e['setSocket'](_0x2de36f,_0x486a22,{'allowSynchronousEvents':_0x4d41ae['allowSynchronousEvents'],'generateMask':_0x4d41ae['generateMask'],'maxPayload':_0x4d41ae[_0x4d5d85(0xfd)],'skipUTF8Validation':_0x4d41ae['skipUTF8Validation']});}),_0x4d41ae[_0xa989e3(0x208)]?_0x4d41ae[_0xa989e3(0x208)](_0xd6ee16,_0x3abd7e):_0xd6ee16[_0xa989e3(0x151)]();}function _0x4bc2d6(_0x146a35,_0x43553c){const _0x21a6a3=_0x4ef00c;_0x146a35[_0x21a6a3(0x2c3)]=_0x59ee37[_0x21a6a3(0x209)],_0x146a35[_0x21a6a3(0xf1)]=!0x0,_0x146a35[_0x21a6a3(0x184)](_0x21a6a3(0x15a),_0x43553c),_0x146a35[_0x21a6a3(0x23e)]();}function _0xe3df31(_0xb8f9a3){const _0x4402ff=_0x4ef00c;return _0xb8f9a3[_0x4402ff(0x106)]=_0xb8f9a3[_0x4402ff(0x226)],_0xc20061['connect'](_0xb8f9a3);}function _0x3ecaa3(_0x2c18b4){const _0x424d43=_0x4ef00c;return _0x2c18b4[_0x424d43(0x106)]=void 0x0,!_0x2c18b4[_0x424d43(0x144)]&&_0x2c18b4[_0x424d43(0x144)]!==''&&(_0x2c18b4[_0x424d43(0x144)]=_0xc20061['isIP'](_0x2c18b4[_0x424d43(0x13d)])?'':_0x2c18b4['host']),_0x4e3e[_0x424d43(0x118)](_0x2c18b4);}function _0xc3dfcf(_0x257ab6,_0x4766e7,_0x3fdc57){const _0x19d94a=_0x4ef00c;_0x257ab6['_readyState']=_0x59ee37[_0x19d94a(0x209)];const _0x24ad4d=new Error(_0x3fdc57);Error['captureStackTrace'](_0x24ad4d,_0xc3dfcf),_0x4766e7[_0x19d94a(0x21d)]?(_0x4766e7[_0x367a56]=!0x0,_0x4766e7['abort'](),_0x4766e7[_0x19d94a(0x1cf)]&&!_0x4766e7[_0x19d94a(0x1cf)][_0x19d94a(0x231)]&&_0x4766e7[_0x19d94a(0x1cf)]['destroy'](),process[_0x19d94a(0x216)](_0x4bc2d6,_0x257ab6,_0x24ad4d)):(_0x4766e7[_0x19d94a(0x250)](_0x24ad4d),_0x4766e7['once'](_0x19d94a(0x15a),_0x257ab6['emit'][_0x19d94a(0x1fc)](_0x257ab6,_0x19d94a(0x15a))),_0x4766e7[_0x19d94a(0x24d)]('close',_0x257ab6[_0x19d94a(0x23e)]['bind'](_0x257ab6)));}function _0x251db3(_0x127e3f,_0x9553cd,_0xc2ee6){const _0x392953=_0x4ef00c;if(_0x9553cd){const _0x5bbedd=_0xb6de0b(_0x9553cd)?_0x9553cd[_0x392953(0x132)]:_0x26214a(_0x9553cd)[_0x392953(0x13c)];_0x127e3f[_0x392953(0x134)]?_0x127e3f[_0x392953(0x296)][_0x392953(0x244)]+=_0x5bbedd:_0x127e3f[_0x392953(0x2ac)]+=_0x5bbedd;}if(_0xc2ee6){const _0x4da1e3=new Error(_0x392953(0x1cc)+_0x127e3f['readyState']+'\x20('+_0x23cf44[_0x127e3f[_0x392953(0x2a0)]]+')');process[_0x392953(0x216)](_0xc2ee6,_0x4da1e3);}}function _0x4257be(_0x306902,_0x3e685c){const _0x4b45d1=_0x4ef00c,_0x2ae83b=this[_0xccb5af];_0x2ae83b[_0x4b45d1(0x142)]=!0x0,_0x2ae83b[_0x4b45d1(0x258)]=_0x3e685c,_0x2ae83b[_0x4b45d1(0x159)]=_0x306902,_0x2ae83b[_0x4b45d1(0x134)][_0xccb5af]!==void 0x0&&(_0x2ae83b[_0x4b45d1(0x134)][_0x4b45d1(0x256)](_0x4b45d1(0x202),_0x511c26),process[_0x4b45d1(0x216)](_0xf537a5,_0x2ae83b[_0x4b45d1(0x134)]),_0x306902===0x3ed?_0x2ae83b['close']():_0x2ae83b[_0x4b45d1(0x282)](_0x306902,_0x3e685c));}function _0x30986b(){const _0x14c0ce=_0x4ef00c,_0x40c16e=this[_0xccb5af];_0x40c16e[_0x14c0ce(0x262)]||_0x40c16e['_socket'][_0x14c0ce(0x1e2)]();}function _0x532998(_0x3dc9fc){const _0x4ea9b1=_0x4ef00c,_0x254f9f=this[_0xccb5af];_0x254f9f['_socket'][_0xccb5af]!==void 0x0&&(_0x254f9f['_socket']['removeListener']('data',_0x511c26),process[_0x4ea9b1(0x216)](_0xf537a5,_0x254f9f['_socket']),_0x254f9f['close'](_0x3dc9fc[_0x19014d])),_0x254f9f[_0x4ea9b1(0xf1)]||(_0x254f9f[_0x4ea9b1(0xf1)]=!0x0,_0x254f9f[_0x4ea9b1(0x184)](_0x4ea9b1(0x15a),_0x3dc9fc));}function _0x50abb3(){this[_0xccb5af]['emitClose']();}function _0x4986a0(_0x1befb3,_0x4dd329){const _0x1971a1=_0x4ef00c;this[_0xccb5af][_0x1971a1(0x184)](_0x1971a1(0x29d),_0x1befb3,_0x4dd329);}function _0x29e4f1(_0x22ce97){const _0x579376=_0x4ef00c,_0x4213b3=this[_0xccb5af];_0x4213b3[_0x579376(0x12e)]&&_0x4213b3[_0x579376(0x197)](_0x22ce97,!this[_0x579376(0x24c)],_0x492987),_0x4213b3['emit'](_0x579376(0x276),_0x22ce97);}function _0x460655(_0x92bf3){const _0x4668b2=_0x4ef00c;this[_0xccb5af][_0x4668b2(0x184)](_0x4668b2(0x197),_0x92bf3);}function _0xf537a5(_0x158c54){const _0x29dc88=_0x4ef00c;_0x158c54[_0x29dc88(0x1e2)]();}function _0x51dc84(_0x516d40){const _0x8c61f1=_0x4ef00c,_0xa52a7c=this[_0xccb5af];_0xa52a7c['readyState']!==_0x59ee37[_0x8c61f1(0x196)]&&(_0xa52a7c[_0x8c61f1(0x2a0)]===_0x59ee37[_0x8c61f1(0x251)]&&(_0xa52a7c['_readyState']=_0x59ee37[_0x8c61f1(0x209)],_0xf45baa(_0xa52a7c)),this['_socket'][_0x8c61f1(0x151)](),_0xa52a7c['_errorEmitted']||(_0xa52a7c[_0x8c61f1(0xf1)]=!0x0,_0xa52a7c[_0x8c61f1(0x184)](_0x8c61f1(0x15a),_0x516d40)));}function _0xf45baa(_0x25ecc6){const _0x517c26=_0x4ef00c;_0x25ecc6[_0x517c26(0x25e)]=setTimeout(_0x25ecc6[_0x517c26(0x134)][_0x517c26(0x250)][_0x517c26(0x1fc)](_0x25ecc6[_0x517c26(0x134)]),_0x170300);}function _0x5993b6(){const _0x329ff8=_0x4ef00c,_0xb28567=this[_0xccb5af];this['removeListener']('close',_0x5993b6),this[_0x329ff8(0x256)]('data',_0x511c26),this[_0x329ff8(0x256)](_0x329ff8(0x151),_0x2e7008),_0xb28567[_0x329ff8(0x2c3)]=_0x59ee37[_0x329ff8(0x209)];let _0x7a96e6;!this[_0x329ff8(0x113)]['endEmitted']&&!_0xb28567['_closeFrameReceived']&&!_0xb28567[_0x329ff8(0x131)][_0x329ff8(0x17d)]['errorEmitted']&&(_0x7a96e6=_0xb28567['_socket'][_0x329ff8(0x11c)]())!==null&&_0xb28567[_0x329ff8(0x131)]['write'](_0x7a96e6),_0xb28567[_0x329ff8(0x131)][_0x329ff8(0x151)](),this[_0xccb5af]=void 0x0,clearTimeout(_0xb28567['_closeTimer']),_0xb28567[_0x329ff8(0x131)][_0x329ff8(0x17d)]['finished']||_0xb28567[_0x329ff8(0x131)][_0x329ff8(0x17d)][_0x329ff8(0x1b1)]?_0xb28567[_0x329ff8(0x23e)]():(_0xb28567[_0x329ff8(0x131)]['on']('error',_0x50abb3),_0xb28567['_receiver']['on'](_0x329ff8(0x1c2),_0x50abb3));}function _0x511c26(_0x229817){const _0x11d09c=_0x4ef00c;this[_0xccb5af][_0x11d09c(0x131)]['write'](_0x229817)||this[_0x11d09c(0x10a)]();}function _0x2e7008(){const _0x11a806=_0x4ef00c,_0x32ebd5=this[_0xccb5af];_0x32ebd5[_0x11a806(0x2c3)]=_0x59ee37[_0x11a806(0x209)],_0x32ebd5[_0x11a806(0x131)][_0x11a806(0x151)](),this[_0x11a806(0x151)]();}function _0x567d72(){const _0x31a1db=_0x4ef00c,_0x5a8690=this[_0xccb5af];this['removeListener']('error',_0x567d72),this['on'](_0x31a1db(0x15a),_0x492987),_0x5a8690&&(_0x5a8690['_readyState']=_0x59ee37['CLOSING'],this['destroy']());}return _0x78fa08;}var _0x3c28c5,_0x587fb8;function _0x5219c6(){if(_0x587fb8)return _0x3c28c5;_0x587fb8=0x1,_0x40be12();const {Duplex:_0x1c36d3}=_0x2f6ccb;function _0x19503f(_0x1b495b){const _0x3cee17=_0x4cae;_0x1b495b[_0x3cee17(0x184)](_0x3cee17(0x282));}function _0x486808(){const _0x307243=_0x4cae;!this['destroyed']&&this[_0x307243(0x17d)][_0x307243(0x15b)]&&this[_0x307243(0x250)]();}function _0xf84055(_0xa5b73b){const _0x1351ec=_0x4cae;this[_0x1351ec(0x256)](_0x1351ec(0x15a),_0xf84055),this['destroy'](),this[_0x1351ec(0x223)]('error')===0x0&&this[_0x1351ec(0x184)]('error',_0xa5b73b);}function _0x246269(_0x1ca895,_0x11d841){const _0xf22ecf=_0x4cae;let _0x4171fe=!0x0;const _0x29d28e=new _0x1c36d3({..._0x11d841,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1ca895['on'](_0xf22ecf(0x29d),function(_0x311b78,_0x4dbbba){const _0x3f70d7=_0xf22ecf,_0x163183=!_0x4dbbba&&_0x29d28e[_0x3f70d7(0x113)][_0x3f70d7(0x1a9)]?_0x311b78[_0x3f70d7(0x126)]():_0x311b78;_0x29d28e['push'](_0x163183)||_0x1ca895[_0x3f70d7(0x10a)]();}),_0x1ca895[_0xf22ecf(0x24d)]('error',function(_0x246adc){const _0x51130f=_0xf22ecf;_0x29d28e['destroyed']||(_0x4171fe=!0x1,_0x29d28e[_0x51130f(0x250)](_0x246adc));}),_0x1ca895[_0xf22ecf(0x24d)]('close',function(){const _0x2bda98=_0xf22ecf;_0x29d28e[_0x2bda98(0x231)]||_0x29d28e['push'](null);}),_0x29d28e['_destroy']=function(_0x2f70c0,_0xa05462){const _0x1add3a=_0xf22ecf;if(_0x1ca895['readyState']===_0x1ca895[_0x1add3a(0x196)]){_0xa05462(_0x2f70c0),process[_0x1add3a(0x216)](_0x19503f,_0x29d28e);return;}let _0x35bee8=!0x1;_0x1ca895['once'](_0x1add3a(0x15a),function(_0x5b14bb){_0x35bee8=!0x0,_0xa05462(_0x5b14bb);}),_0x1ca895[_0x1add3a(0x24d)]('close',function(){_0x35bee8||_0xa05462(_0x2f70c0),process['nextTick'](_0x19503f,_0x29d28e);}),_0x4171fe&&_0x1ca895[_0x1add3a(0x268)]();},_0x29d28e[_0xf22ecf(0x25f)]=function(_0x450414){const _0x3224d9=_0xf22ecf;if(_0x1ca895[_0x3224d9(0x2a0)]===_0x1ca895[_0x3224d9(0x1ac)]){_0x1ca895[_0x3224d9(0x24d)](_0x3224d9(0x14f),function(){const _0x3fe965=_0x3224d9;_0x29d28e[_0x3fe965(0x25f)](_0x450414);});return;}_0x1ca895['_socket']!==null&&(_0x1ca895[_0x3224d9(0x134)][_0x3224d9(0x17d)][_0x3224d9(0x15b)]?(_0x450414(),_0x29d28e['_readableState']['endEmitted']&&_0x29d28e[_0x3224d9(0x250)]()):(_0x1ca895[_0x3224d9(0x134)][_0x3224d9(0x24d)]('finish',function(){_0x450414();}),_0x1ca895[_0x3224d9(0x282)]()));},_0x29d28e['_read']=function(){const _0x42097b=_0xf22ecf;_0x1ca895[_0x42097b(0x262)]&&_0x1ca895[_0x42097b(0x1e2)]();},_0x29d28e['_write']=function(_0x1f5fb3,_0x5c212a,_0x24d9ae){const _0x514821=_0xf22ecf;if(_0x1ca895[_0x514821(0x2a0)]===_0x1ca895[_0x514821(0x1ac)]){_0x1ca895['once'](_0x514821(0x14f),function(){const _0x4ed45c=_0x514821;_0x29d28e[_0x4ed45c(0x111)](_0x1f5fb3,_0x5c212a,_0x24d9ae);});return;}_0x1ca895[_0x514821(0x241)](_0x1f5fb3,_0x24d9ae);},_0x29d28e['on'](_0xf22ecf(0x151),_0x486808),_0x29d28e['on'](_0xf22ecf(0x15a),_0xf84055),_0x29d28e;}return _0x3c28c5=_0x246269,_0x3c28c5;}_0x5219c6(),_0x1a5e38(),_0x1f035b();var _0x146207=_0x40be12();const _0x4e1fc2=_0x461918(_0x146207);var _0x2bd3ab,_0xffc937;function _0x2976e7(){if(_0xffc937)return _0x2bd3ab;_0xffc937=0x1;const {tokenChars:_0xbf2780}=_0x47b52b();function _0x4875b5(_0x732754){const _0x26fbe7=_0x4cae,_0x599f99=new Set();let _0x358dfe=-0x1,_0x271cb7=-0x1,_0x281677=0x0;for(_0x281677;_0x281677<_0x732754['length'];_0x281677++){const _0x271378=_0x732754[_0x26fbe7(0x136)](_0x281677);if(_0x271cb7===-0x1&&_0xbf2780[_0x271378]===0x1)_0x358dfe===-0x1&&(_0x358dfe=_0x281677);else{if(_0x281677!==0x0&&(_0x271378===0x20||_0x271378===0x9))_0x271cb7===-0x1&&_0x358dfe!==-0x1&&(_0x271cb7=_0x281677);else{if(_0x271378===0x2c){if(_0x358dfe===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x281677);_0x271cb7===-0x1&&(_0x271cb7=_0x281677);const _0x108f7d=_0x732754[_0x26fbe7(0x17f)](_0x358dfe,_0x271cb7);if(_0x599f99[_0x26fbe7(0x1ce)](_0x108f7d))throw new SyntaxError(_0x26fbe7(0x1f1)+_0x108f7d+_0x26fbe7(0x2ab));_0x599f99[_0x26fbe7(0x2a6)](_0x108f7d),_0x358dfe=_0x271cb7=-0x1;}else throw new SyntaxError(_0x26fbe7(0x1f7)+_0x281677);}}}if(_0x358dfe===-0x1||_0x271cb7!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x247b42=_0x732754[_0x26fbe7(0x17f)](_0x358dfe,_0x281677);if(_0x599f99['has'](_0x247b42))throw new SyntaxError(_0x26fbe7(0x1f1)+_0x247b42+'\x22\x20subprotocol\x20is\x20duplicated');return _0x599f99['add'](_0x247b42),_0x599f99;}return _0x2bd3ab={'parse':_0x4875b5},_0x2bd3ab;}var _0x5383fb,_0x2c978b;function _0x1b8011(){const _0x3787f7=_0x193ea3;if(_0x2c978b)return _0x5383fb;_0x2c978b=0x1;const _0x2ab0c1=_0x4ddd71,_0x53b58e=_0x30bab8,{Duplex:_0x57c904}=_0x2f6ccb,{createHash:_0x3530dc}=_0x26dfc4,_0x1cbad5=_0x452e22(),_0x30b548=_0x4a7dac(),_0x4e7173=_0x2976e7(),_0xabd468=_0x40be12(),{GUID:_0x6225fa,kWebSocket:_0x3202ee}=_0x4627b8(),_0x402e77=/^[+/0-9A-Za-z]{22}==$/,_0x29dbcd=0x0,_0x404990=0x1,_0x350d8e=0x2;class _0x5edce2 extends _0x2ab0c1{constructor(_0xaf85df,_0x33890e){const _0x24407f=_0x4cae;if(super(),_0xaf85df={'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':_0xabd468,..._0xaf85df},_0xaf85df[_0x24407f(0x221)]==null&&!_0xaf85df[_0x24407f(0x2c0)]&&!_0xaf85df[_0x24407f(0x23b)]||_0xaf85df[_0x24407f(0x221)]!=null&&(_0xaf85df[_0x24407f(0x2c0)]||_0xaf85df[_0x24407f(0x23b)])||_0xaf85df[_0x24407f(0x2c0)]&&_0xaf85df[_0x24407f(0x23b)])throw new TypeError(_0x24407f(0x238));if(_0xaf85df[_0x24407f(0x221)]!=null?(this[_0x24407f(0x18a)]=_0x53b58e['createServer']((_0xce32ae,_0x4d05f6)=>{const _0x1f067c=_0x24407f,_0x135287=_0x53b58e[_0x1f067c(0x10b)][0x1aa];_0x4d05f6['writeHead'](0x1aa,{'Content-Length':_0x135287[_0x1f067c(0x13c)],'Content-Type':'text/plain'}),_0x4d05f6[_0x1f067c(0x151)](_0x135287);}),this[_0x24407f(0x18a)]['listen'](_0xaf85df[_0x24407f(0x221)],_0xaf85df[_0x24407f(0x13d)],_0xaf85df[_0x24407f(0x120)],_0x33890e)):_0xaf85df[_0x24407f(0x2c0)]&&(this[_0x24407f(0x18a)]=_0xaf85df[_0x24407f(0x2c0)]),this[_0x24407f(0x18a)]){const _0xf30c92=this['emit'][_0x24407f(0x1fc)](this,'connection');this[_0x24407f(0x240)]=_0x34ec9b(this['_server'],{'listening':this['emit'][_0x24407f(0x1fc)](this,_0x24407f(0x18b)),'error':this[_0x24407f(0x184)][_0x24407f(0x1fc)](this,_0x24407f(0x15a)),'upgrade':(_0x22bcbd,_0x3fbaef,_0x500b4)=>{const _0x57ee42=_0x24407f;this[_0x57ee42(0x253)](_0x22bcbd,_0x3fbaef,_0x500b4,_0xf30c92);}});}_0xaf85df[_0x24407f(0x1c9)]===!0x0&&(_0xaf85df[_0x24407f(0x1c9)]={}),_0xaf85df[_0x24407f(0xff)]&&(this[_0x24407f(0x26b)]=new Set(),this[_0x24407f(0x168)]=!0x1),this[_0x24407f(0x19e)]=_0xaf85df,this[_0x24407f(0x183)]=_0x29dbcd;}[_0x3787f7(0x2a2)](){const _0x3ee607=_0x3787f7;if(this[_0x3ee607(0x19e)][_0x3ee607(0x23b)])throw new Error(_0x3ee607(0x2ba));return this['_server']?this[_0x3ee607(0x18a)][_0x3ee607(0x2a2)]():null;}[_0x3787f7(0x282)](_0x3a56dc){const _0x3b8e57=_0x3787f7;if(this['_state']===_0x350d8e){_0x3a56dc&&this['once'](_0x3b8e57(0x282),()=>{const _0xc38a99=_0x3b8e57;_0x3a56dc(new Error(_0xc38a99(0x128)));}),process[_0x3b8e57(0x216)](_0x3edfbd,this);return;}if(_0x3a56dc&&this['once'](_0x3b8e57(0x282),_0x3a56dc),this[_0x3b8e57(0x183)]!==_0x404990){if(this['_state']=_0x404990,this['options'][_0x3b8e57(0x23b)]||this[_0x3b8e57(0x19e)][_0x3b8e57(0x2c0)])this['_server']&&(this['_removeListeners'](),this[_0x3b8e57(0x240)]=this[_0x3b8e57(0x18a)]=null),this[_0x3b8e57(0x26b)]?this['clients']['size']?this['_shouldEmitClose']=!0x0:process[_0x3b8e57(0x216)](_0x3edfbd,this):process[_0x3b8e57(0x216)](_0x3edfbd,this);else{const _0x22adaf=this[_0x3b8e57(0x18a)];this[_0x3b8e57(0x240)](),this[_0x3b8e57(0x240)]=this['_server']=null,_0x22adaf[_0x3b8e57(0x282)](()=>{_0x3edfbd(this);});}}}[_0x3787f7(0x1f4)](_0x4bfb05){const _0x1a43b9=_0x3787f7;if(this['options'][_0x1a43b9(0x106)]){const _0x5c2eaa=_0x4bfb05[_0x1a43b9(0x18e)][_0x1a43b9(0x16d)]('?');if((_0x5c2eaa!==-0x1?_0x4bfb05[_0x1a43b9(0x18e)]['slice'](0x0,_0x5c2eaa):_0x4bfb05[_0x1a43b9(0x18e)])!==this[_0x1a43b9(0x19e)]['path'])return!0x1;}return!0x0;}[_0x3787f7(0x253)](_0x3a2d7d,_0x36d505,_0x5bc787,_0x52902d){const _0x55568c=_0x3787f7;_0x36d505['on']('error',_0x3e5440);const _0x597557=_0x3a2d7d[_0x55568c(0x27c)]['sec-websocket-key'],_0x1508b0=_0x3a2d7d[_0x55568c(0x27c)][_0x55568c(0x130)],_0x35eba3=+_0x3a2d7d[_0x55568c(0x27c)][_0x55568c(0x295)];if(_0x3a2d7d[_0x55568c(0x280)]!==_0x55568c(0x219)){_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1508b0===void 0x0||_0x1508b0[_0x55568c(0x2a1)]()!==_0x55568c(0x2b3)){_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x597557===void 0x0||!_0x402e77['test'](_0x597557)){_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x190,_0x55568c(0x290));return;}if(_0x35eba3!==0xd&&_0x35eba3!==0x8){_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x55568c(0x22d)});return;}if(!this[_0x55568c(0x1f4)](_0x3a2d7d)){_0x1f0a3f(_0x36d505,0x190);return;}const _0x1933be=_0x3a2d7d[_0x55568c(0x27c)][_0x55568c(0x135)];let _0x4b58be=new Set();if(_0x1933be!==void 0x0)try{_0x4b58be=_0x4e7173[_0x55568c(0x10f)](_0x1933be);}catch{_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x190,_0x55568c(0x160));return;}const _0x5b8117=_0x3a2d7d['headers']['sec-websocket-extensions'],_0x3dfa04={};if(this[_0x55568c(0x19e)]['perMessageDeflate']&&_0x5b8117!==void 0x0){const _0xa8495a=new _0x30b548(this[_0x55568c(0x19e)][_0x55568c(0x1c9)],!0x0,this['options'][_0x55568c(0xfd)]);try{const _0xb88ac2=_0x1cbad5[_0x55568c(0x10f)](_0x5b8117);_0xb88ac2[_0x30b548[_0x55568c(0x154)]]&&(_0xa8495a[_0x55568c(0x277)](_0xb88ac2[_0x30b548[_0x55568c(0x154)]]),_0x3dfa04[_0x30b548['extensionName']]=_0xa8495a);}catch{_0x27b5a4(this,_0x3a2d7d,_0x36d505,0x190,_0x55568c(0x257));return;}}if(this['options'][_0x55568c(0x175)]){const _0x12cee3={'origin':_0x3a2d7d['headers'][''+(_0x35eba3===0x8?_0x55568c(0x245):_0x55568c(0x171))],'secure':!!(_0x3a2d7d[_0x55568c(0x1cf)][_0x55568c(0x110)]||_0x3a2d7d['socket'][_0x55568c(0x1f0)]),'req':_0x3a2d7d};if(this[_0x55568c(0x19e)][_0x55568c(0x175)][_0x55568c(0x13c)]===0x2){this[_0x55568c(0x19e)][_0x55568c(0x175)](_0x12cee3,(_0xace316,_0x273ad1,_0x483e8d,_0x247893)=>{const _0xb1aa92=_0x55568c;if(!_0xace316)return _0x1f0a3f(_0x36d505,_0x273ad1||0x191,_0x483e8d,_0x247893);this[_0xb1aa92(0x1d4)](_0x3dfa04,_0x597557,_0x4b58be,_0x3a2d7d,_0x36d505,_0x5bc787,_0x52902d);});return;}if(!this[_0x55568c(0x19e)][_0x55568c(0x175)](_0x12cee3))return _0x1f0a3f(_0x36d505,0x191);}this[_0x55568c(0x1d4)](_0x3dfa04,_0x597557,_0x4b58be,_0x3a2d7d,_0x36d505,_0x5bc787,_0x52902d);}[_0x3787f7(0x1d4)](_0x34c231,_0x558680,_0x45c89a,_0x247ad4,_0x4ae0d1,_0x284526,_0x252ab1){const _0x1ad908=_0x3787f7;if(!_0x4ae0d1[_0x1ad908(0x2b1)]||!_0x4ae0d1[_0x1ad908(0x18f)])return _0x4ae0d1[_0x1ad908(0x250)]();if(_0x4ae0d1[_0x3202ee])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1ad908(0x183)]>_0x29dbcd)return _0x1f0a3f(_0x4ae0d1,0x1f7);const _0x1e1c25=[_0x1ad908(0x104),'Upgrade:\x20websocket',_0x1ad908(0x16b),_0x1ad908(0x229)+_0x3530dc(_0x1ad908(0x1a0))[_0x1ad908(0x285)](_0x558680+_0x6225fa)[_0x1ad908(0x225)](_0x1ad908(0x117))],_0x13288c=new this['options'][(_0x1ad908(0x287))](null,void 0x0,this[_0x1ad908(0x19e)]);if(_0x45c89a[_0x1ad908(0x132)]){const _0x56ffa1=this['options'][_0x1ad908(0x1b6)]?this[_0x1ad908(0x19e)][_0x1ad908(0x1b6)](_0x45c89a,_0x247ad4):_0x45c89a[_0x1ad908(0x2a5)]()[_0x1ad908(0x243)]()[_0x1ad908(0x152)];_0x56ffa1&&(_0x1e1c25[_0x1ad908(0x1a8)]('Sec-WebSocket-Protocol:\x20'+_0x56ffa1),_0x13288c[_0x1ad908(0x1bb)]=_0x56ffa1);}if(_0x34c231[_0x30b548[_0x1ad908(0x154)]]){const _0x47d741=_0x34c231[_0x30b548['extensionName']][_0x1ad908(0x2b9)],_0x326f7c=_0x1cbad5[_0x1ad908(0x1c7)]({[_0x30b548['extensionName']]:[_0x47d741]});_0x1e1c25[_0x1ad908(0x1a8)]('Sec-WebSocket-Extensions:\x20'+_0x326f7c),_0x13288c['_extensions']=_0x34c231;}this[_0x1ad908(0x184)](_0x1ad908(0x27c),_0x1e1c25,_0x247ad4),_0x4ae0d1[_0x1ad908(0x27f)](_0x1e1c25['concat']('\x0d\x0a')[_0x1ad908(0x2b6)]('\x0d\x0a')),_0x4ae0d1[_0x1ad908(0x256)](_0x1ad908(0x15a),_0x3e5440),_0x13288c[_0x1ad908(0x146)](_0x4ae0d1,_0x284526,{'allowSynchronousEvents':this[_0x1ad908(0x19e)]['allowSynchronousEvents'],'maxPayload':this[_0x1ad908(0x19e)][_0x1ad908(0xfd)],'skipUTF8Validation':this[_0x1ad908(0x19e)][_0x1ad908(0x198)]}),this[_0x1ad908(0x26b)]&&(this[_0x1ad908(0x26b)][_0x1ad908(0x2a6)](_0x13288c),_0x13288c['on'](_0x1ad908(0x282),()=>{const _0x59f52a=_0x1ad908;this[_0x59f52a(0x26b)]['delete'](_0x13288c),this[_0x59f52a(0x168)]&&!this[_0x59f52a(0x26b)][_0x59f52a(0x132)]&&process[_0x59f52a(0x216)](_0x3edfbd,this);})),_0x252ab1(_0x13288c,_0x247ad4);}}_0x5383fb=_0x5edce2;function _0x34ec9b(_0x3f8f2a,_0x1407ec){const _0x3be8af=_0x3787f7;for(const _0x2c5ce6 of Object[_0x3be8af(0x266)](_0x1407ec))_0x3f8f2a['on'](_0x2c5ce6,_0x1407ec[_0x2c5ce6]);return function(){const _0x41acd1=_0x3be8af;for(const _0x834fb5 of Object[_0x41acd1(0x266)](_0x1407ec))_0x3f8f2a[_0x41acd1(0x256)](_0x834fb5,_0x1407ec[_0x834fb5]);};}function _0x3edfbd(_0x55237c){const _0x398624=_0x3787f7;_0x55237c[_0x398624(0x183)]=_0x350d8e,_0x55237c[_0x398624(0x184)](_0x398624(0x282));}function _0x3e5440(){const _0x3afcb6=_0x3787f7;this[_0x3afcb6(0x250)]();}function _0x1f0a3f(_0x87c080,_0x87a560,_0x149eb9,_0x5099f8){const _0x1d5207=_0x3787f7;_0x149eb9=_0x149eb9||_0x53b58e[_0x1d5207(0x10b)][_0x87a560],_0x5099f8={'Connection':_0x1d5207(0x282),'Content-Type':_0x1d5207(0x127),'Content-Length':Buffer['byteLength'](_0x149eb9),..._0x5099f8},_0x87c080[_0x1d5207(0x24d)](_0x1d5207(0x1c2),_0x87c080[_0x1d5207(0x250)]),_0x87c080['end'](_0x1d5207(0x11f)+_0x87a560+'\x20'+_0x53b58e[_0x1d5207(0x10b)][_0x87a560]+'\x0d\x0a'+Object[_0x1d5207(0x266)](_0x5099f8)[_0x1d5207(0x267)](_0x48e098=>_0x48e098+':\x20'+_0x5099f8[_0x48e098])['join']('\x0d\x0a')+_0x1d5207(0x207)+_0x149eb9);}function _0x27b5a4(_0x33f229,_0x51e5b0,_0x5195f5,_0x518b86,_0x4f9c5f,_0x57750d){const _0x28807d=_0x3787f7;if(_0x33f229['listenerCount'](_0x28807d(0x1d6))){const _0x51a7fa=new Error(_0x4f9c5f);Error['captureStackTrace'](_0x51a7fa,_0x27b5a4),_0x33f229['emit'](_0x28807d(0x1d6),_0x51a7fa,_0x5195f5,_0x51e5b0);}else _0x1f0a3f(_0x5195f5,_0x518b86,_0x4f9c5f,_0x57750d);}return _0x5383fb;}_0x1b8011();var _0x819d86=Object[_0x193ea3(0x157)],_0x5968c3=(_0x1db41b,_0x50e5ee,_0x3f964d,_0x20b90b)=>{for(var _0x6a296b=_0x20b90b>0x1?void 0x0:_0x20b90b?_0x819d86(_0x50e5ee,_0x3f964d):_0x50e5ee,_0x2afe5c=_0x1db41b['length']-0x1,_0x4dd9d1;_0x2afe5c>=0x0;_0x2afe5c--)(_0x4dd9d1=_0x1db41b[_0x2afe5c])&&(_0x6a296b=_0x4dd9d1(_0x6a296b)||_0x6a296b);return _0x6a296b;},_0x58cc56=(_0x3dbc72,_0x2191e6)=>(_0x2fdb8b,_0x5cdacb)=>_0x2191e6(_0x2fdb8b,_0x5cdacb,_0x3dbc72);let _0x35d536=class extends _0x59edc7[_0x193ea3(0x22f)]{constructor(_0x3591fb){const _0x44e232=_0x193ea3;super(),this[_0x44e232(0x26d)]=_0x3591fb;}[_0x193ea3(0xf2)](_0x2a327f){const _0x485f19=_0x193ea3;var _0x457e4e;const _0x3dd5ad=((_0x457e4e=this['_configService'][_0x485f19(0x261)](_0x1e58a0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x457e4e[_0x485f19(0x1f6)])||{};try{const _0x1fcaf9=new _0x4e1fc2(_0x2a327f,{'headers':{..._0x3dd5ad}}),_0x3037be=new _0x59edc7[(_0x485f19(0x19c))]();return{'URL':_0x2a327f,'close':(_0x160a03,_0x43055f)=>{const _0x596df7=_0x485f19;_0x1fcaf9[_0x596df7(0x282)](_0x160a03,_0x43055f),_0x3037be[_0x596df7(0x2a9)]();},'send':_0x952f6c=>{_0x1fcaf9['send'](_0x952f6c);},'open$':new _0x16327a[(_0x485f19(0x20e))](_0x8ac18a=>{const _0x1648ea=_0x485f19,_0x4ef278=_0x577df2=>_0x8ac18a[_0x1648ea(0x243)](_0x577df2);_0x1fcaf9[_0x1648ea(0x148)](_0x1648ea(0x14f),_0x4ef278),_0x3037be[_0x1648ea(0x2a6)](_0x59edc7[_0x1648ea(0x23a)](()=>_0x1fcaf9[_0x1648ea(0x1a6)](_0x1648ea(0x14f),_0x4ef278)));})['pipe'](_0x16327a['share']()),'close$':new _0x16327a[(_0x485f19(0x20e))](_0x272eba=>{const _0xc316d7=_0x485f19,_0x42e0f9=_0x327075=>_0x272eba[_0xc316d7(0x243)](_0x327075);_0x1fcaf9[_0xc316d7(0x148)](_0xc316d7(0x282),_0x42e0f9),_0x3037be['add'](_0x59edc7[_0xc316d7(0x23a)](()=>_0x1fcaf9['removeEventListener'](_0xc316d7(0x282),_0x42e0f9)));})[_0x485f19(0x2a3)](_0x16327a['share']()),'error$':new _0x16327a['Observable'](_0x395875=>{const _0x213e9f=_0x485f19,_0x3693fe=_0x4ba192=>_0x395875['next'](_0x4ba192);_0x1fcaf9[_0x213e9f(0x148)](_0x213e9f(0x15a),_0x3693fe),_0x3037be['add'](_0x59edc7['toDisposable'](()=>_0x1fcaf9[_0x213e9f(0x1a6)](_0x213e9f(0x15a),_0x3693fe)));})[_0x485f19(0x2a3)](_0x16327a['share']()),'message$':new _0x16327a[(_0x485f19(0x20e))](_0xafc03b=>{const _0x3932a5=_0x485f19,_0xa86e43=_0x180fcb=>_0xafc03b[_0x3932a5(0x243)](_0x180fcb);_0x1fcaf9[_0x3932a5(0x148)](_0x3932a5(0x29d),_0xa86e43),_0x3037be[_0x3932a5(0x2a6)](_0x59edc7[_0x3932a5(0x23a)](()=>_0x1fcaf9[_0x3932a5(0x1a6)]('message',_0xa86e43)));})[_0x485f19(0x2a3)](_0x16327a[_0x485f19(0x1cb)]())};}catch(_0x2ae6e3){return console[_0x485f19(0x15a)](_0x2ae6e3),null;}}};_0x35d536=_0x5968c3([_0x58cc56(0x0,_0x59edc7[_0x193ea3(0x2a8)])],_0x35d536);var _0x489b66=Object['defineProperty'],_0x247056=Object[_0x193ea3(0x157)],_0x1c7e74=(_0x2de795,_0x581cf4,_0x1978ea)=>_0x581cf4 in _0x2de795?_0x489b66(_0x2de795,_0x581cf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1978ea}):_0x2de795[_0x581cf4]=_0x1978ea,_0x3d03a1=(_0x43693e,_0x30b832,_0x39a744,_0x5ddd6a)=>{const _0x548925=_0x193ea3;for(var _0x323227=_0x5ddd6a>0x1?void 0x0:_0x5ddd6a?_0x247056(_0x30b832,_0x39a744):_0x30b832,_0x29a6c6=_0x43693e[_0x548925(0x13c)]-0x1,_0x44ab50;_0x29a6c6>=0x0;_0x29a6c6--)(_0x44ab50=_0x43693e[_0x29a6c6])&&(_0x323227=_0x44ab50(_0x323227)||_0x323227);return _0x323227;},_0x189d54=(_0x23535f,_0x3da49e)=>(_0xaf574e,_0x1d58e0)=>_0x3da49e(_0xaf574e,_0x1d58e0,_0x23535f),_0x2c85f9=(_0x4f8efd,_0x519fbe,_0x1234be)=>_0x1c7e74(_0x4f8efd,_0x519fbe+'',_0x1234be);_0x5cae9b['UniverCollaborationClientNodePlugin']=class extends _0x59edc7[_0x193ea3(0x22b)]{constructor(_0x2399df=_0x3891b4,_0x192336,_0x54cae2){const _0x35b431=_0x193ea3;super(),this[_0x35b431(0x26d)]=_0x192336,this['_injector']=_0x54cae2,this['_configService'][_0x35b431(0x1e9)](_0x256e3c,_0x2399df);}['onStarting'](){const _0x1279b4=_0x193ea3;this[_0x1279b4(0x20c)]();}['_registerDependencies'](){const _0x17da8f=_0x193ea3;_0x59edc7[_0x17da8f(0x13a)](this['_injector'],[[_0x161a66[_0x17da8f(0x1bc)],{'useClass':_0x35d536}]]);}},_0x2c85f9(_0x5cae9b[_0x193ea3(0xf9)],'pluginName',_0x193ea3(0x125)),_0x5cae9b[_0x193ea3(0xf9)]=_0x3d03a1([_0x59edc7['DependentOn'](_0x1e58a0['UniverCollaborationClientPlugin']),_0x189d54(0x1,_0x59edc7[_0x193ea3(0x2a8)]),_0x189d54(0x2,_0x59edc7[_0x193ea3(0x100)](_0x59edc7[_0x193ea3(0x13b)]))],_0x5cae9b['UniverCollaborationClientNodePlugin']);var _0x4692fd=Object[_0x193ea3(0x157)],_0x4654f1=(_0x25c28b,_0x4c6e08,_0x4f9d3a,_0x16a35e)=>{for(var _0x559b22=_0x16a35e>0x1?void 0x0:_0x16a35e?_0x4692fd(_0x4c6e08,_0x4f9d3a):_0x4c6e08,_0xf969f4=_0x25c28b['length']-0x1,_0x45ef92;_0xf969f4>=0x0;_0xf969f4--)(_0x45ef92=_0x25c28b[_0xf969f4])&&(_0x559b22=_0x45ef92(_0x559b22)||_0x559b22);return _0x559b22;},_0x35c16d=(_0x3a17b9,_0x3c9c69)=>(_0x30fc39,_0x179bed)=>_0x3c9c69(_0x30fc39,_0x179bed,_0x3a17b9);_0x5cae9b[_0x193ea3(0x147)]=class extends _0x1e58a0[_0x193ea3(0x155)]{constructor(_0x3afaa3,_0x89e5d3,_0x310159,_0x284a2d,_0x4fd928){const _0x1ed8b2=_0x193ea3;super(_0x3afaa3,_0x89e5d3,_0x310159,_0x284a2d,_0x4fd928);const _0x1d7420=this[_0x1ed8b2(0x26d)][_0x1ed8b2(0x261)](_0x1e58a0[_0x1ed8b2(0x237)]);this[_0x1ed8b2(0x281)]['registerHTTPInterceptor']({'interceptor':(_0xebe172,_0x5c832b)=>{const _0x2c3867=_0x1ed8b2;var _0x111b8e;const _0x28f1e1=_0xebe172[_0x2c3867(0x27c)];return(_0x111b8e=_0x1d7420==null?void 0x0:_0x1d7420[_0x2c3867(0x1f6)])!=null&&_0x111b8e[_0x2c3867(0x1a4)]&&_0x28f1e1[_0x2c3867(0x167)](_0x2c3867(0xfc),_0x1d7420[_0x2c3867(0x1f6)][_0x2c3867(0x1a4)]),_0x5c832b(_0xebe172);}});}async[_0x193ea3(0xf2)](_0x301acf){const _0x27eb05=_0x193ea3;return this[_0x27eb05(0x28d)](_0x301acf);}},_0x5cae9b[_0x193ea3(0x147)]=_0x4654f1([_0x35c16d(0x0,_0x59edc7[_0x193ea3(0x100)](_0x59edc7[_0x193ea3(0x13b)])),_0x35c16d(0x1,_0x59edc7[_0x193ea3(0x100)](_0x161a66[_0x193ea3(0x1e8)])),_0x35c16d(0x2,_0x59edc7['IConfigService']),_0x35c16d(0x3,_0x59edc7[_0x193ea3(0x22c)]),_0x35c16d(0x4,_0x48e6d7[_0x193ea3(0x156)])],_0x5cae9b[_0x193ea3(0x147)]),_0x5cae9b[_0x193ea3(0x11a)]=_0x256e3c,Object[_0x193ea3(0x17c)](_0x5cae9b,Symbol[_0x193ea3(0x2ad)],{'value':'Module'});}));
|
|
1
|
+
function _0x203d(_0x1e844b,_0xf14b30){_0x1e844b=_0x1e844b-0x1a6;const _0x2df90b=_0x2df9();let _0x203dac=_0x2df90b[_0x1e844b];return _0x203dac;}function _0x2df9(){const _0x5323d1=['sec-websocket-protocol','@univerjs-pro/collaboration','tls','includes','WS_NO_UTF_8_VALIDATE','offer','update','UniverCollaborationClientNodePlugin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','toDisposable','964095OhuPui','WS_ERR_INVALID_CLOSE_CODE','_sender','onmessage','autoPong','ping','require$$0','toLowerCase','_receiver','WebSocket','apply','abort','add','zlibInflateOptions','maxRedirects','_payloadLength','drain','createConnection','_req','push','concat','Maximum\x20redirects\x20exceeded','statusCode','cork','_errorEmitted','_closeFrameSent','zlib','uncork','origin','_skipUTF8Validation','noServer','https:','isBuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','finishRequest','join','format','sec-websocket-key','encrypted','require$$0$1','dataMessage','http:','next','Invalid\x20WebSocket\x20frame:\x20','serverNoContextTakeover','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Invalid\x20value\x20for\x20parameter\x20\x22','HTTPService','invalid\x20payload\x20length\x20','errorEmitted','construct','UniverProCollaboration','Origin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_max_window_bits','object','CLOSING','arrayBuffer','username','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','handleProtocols','response','url','Sec-WebSocket-Protocol:\x20','13,\x208','split','writeUIntBE','WS_ERR_UNEXPECTED_MASK','request','collaboration-client-node.config','Z_SYNC_FLUSH','prototype','keys','data','consume','1176NlCvOR','password','File','readUInt16BE','_closeCode','species','terminate','_threshold','socketPath','getOwnPropertyDescriptor','concurrencyLimit','_closeTimer','protocol','_fragmented','find','default','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','invalid\x20UTF-8\x20sequence','pipe','\x22\x20subprotocol\x20is\x20duplicated','once','Inject','WS_ERR_INVALID_OPCODE','defaultPort','getBlobData','threshold','getMask','finish','connection','acceptAsClient','hasOwnProperty','skipUTF8Validation','RSV1\x20must\x20be\x20clear','onStarting','_totalPayloadLength','clientMaxWindowBits','startLoop','generateMask','forEach','message','bind','writeUInt16BE','1195224wYUftF','exports','env','\x22:\x20','normalizeParams','createDeflateRaw','authorized','_maxPayload','replace','close','share','verifyClient','string','WS_ERR_EXPECTED_MASK','pending','rxjs','getData','listeners','accept','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','require$$3','createSocket','Sec-WebSocket-Protocol','dequeue','dispose','_opcode','_buffers','_paused','enqueue','OPEN','registerHTTPInterceptor','charCodeAt','type','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','listen','wss:','decompress','NodeCollaborationSocketService','server_no_context_takeover','bufferedAmount','The\x20server\x20is\x20not\x20running','call','perMessageDeflate','getPayloadLength16','customHeaders','_state','kError','server_max_window_bits','permessage-deflate','_configService','pow','_readableState','Blob','_compressed','allocUnsafe','DependentOn','crypto','backlog','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_protocol','186036wsfnsT','concurrency','Unexpected\x20character\x20at\x20index\x20','Connection:\x20Upgrade','getPayloadLength64','sha1','_writableState','invalid\x20opcode\x20','pause','417488EYYAZu','maskBuffer','client_no_context_takeover','removeListener','251800GiLvqu','nextTick','Server\x20sent\x20an\x20invalid\x20subprotocol','options','destroyed','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','from','The\x20\x22','cleanup','kWasClean','compress','Server\x20sent\x20no\x20subprotocol','WebSocket\x20is\x20not\x20open:\x20readyState\x20','CollaborationSocketService','kReason','controlMessage','kRun','_readyState','finished','CONNECTING','frame','_errored','_extensions','fin','IConfigService','_socket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','createError','objectMode','buffer','resume','freeze','auth','pong','UniverProCollaborationClientNode','sec-websocket-extensions','readUInt32BE','read','mask','Invalid\x20Sec-WebSocket-Extensions\x20header','readyState','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','path','addEventListener','shouldHandle','endEmitted','socket','kCode','setSocket','map','sec-websocket-version','handleUpgrade','protocolVersion','port','_fragments','_autoPong','headers','byteLength','kDone','conclude','readOnly','constructor','removeEventListener','setHeader','_url','code','upgrade','get','nodebuffer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','address','createInflateRaw','_registerDependencies','Max\x20payload\x20size\x20exceeded','redirect','handleEvent','_isServer','blob','clientNoContextTakeover','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','_firstFragment','binaryType','maxPayload','haveLength','method','setTimeout','connect','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','@univerjs-pro/collaboration-client','function','Invalid\x20Sec-WebSocket-Protocol\x20header','emitClose','jobs','params','_originalSecure','reset','Basic\x20','\x20(supported\x20versions:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ISnapshotServerService','destroy','_originalIpc','_removeListeners','isValidUTF8','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Cookie','UniverCollaborationClientPlugin','host','https','_fin','amd','stream','startsWith','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','test','require$$0$3','_bufferedBytes','_allowSynchronousEvents','isArray','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','DisposableCollection','websocket','server','total-length','delete','emit','servername','_inflate','_httpService','cookie','_maskBuffer','isIP','values','fragments','alloc','text/html','MASK\x20must\x20be\x20set','onerror','arraybuffer','_masked','_destroy','_mask','Invalid\x20HTTP\x20method','sendFrame','completeUpgrade','_options','Injector','MASK\x20must\x20be\x20clear','HTTP/1.1\x20','_messageLength','timeout','_closeFrameReceived','sec-websocket-accept','set','_write','_loop','isInteger','wasClean','_injector','isServer','_shouldEmitClose','client','_queue','has','unshift','_binaryType','error','Upgrade','_bufferedAmount','_final','WS_ERR_UNEXPECTED_RSV_1','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','callback','Observable','end','Invalid\x20Sec-WebSocket-Accept\x20header','isPaused','_redirects','clientTracking','href','status-code','Invalid\x20URL:\x20','hostname','kIsForOnEventAttribute','Upgrade:\x20websocket','Disposable','dispatch','STATUS_CODES','reason','_originalHostOrSocketPath','GET','registerDependencies','extensionName','value','base64','digest','Sec-WebSocket-Origin','kByteLength','pluginName','require$$4','shift','defineProperty','_server','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','listening','Unexpected\x20server\x20response:\x20','109549UePZXH','createServer','FIN\x20must\x20be\x20set','entries','client_max_window_bits','pathname','Sec-WebSocket-Accept:\x20','onclose','zlibDeflateOptions','number','target','open','allowSynchronousEvents','removeAllListeners','__esModule','ws:','_closeMessage','WS_ERR_UNEXPECTED_RSV_2_3','COLLABORATION_CLIENT_NODE_CONFIG_KEY','getInfo','Module','length','setConfig','UniverCore','20144QpSqAL','Plugin','flush','isView','toStringTag','setNoDelay','write','serverMaxWindowBits','toString','parse','indexOf','Parameter\x20\x22','followRedirects','Invalid\x20Upgrade\x20header','_generateMask','wsClientError','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','clients','_compress','slice','Z_DEFAULT_WINDOWBITS','require$$1$1','writeHead','size','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','captureStackTrace','hash','authorization','send','kListener','_decompress','byteOffset','_deflate','_no_context_takeover','writable','Sec-WebSocket-Extensions','listenerCount','kData','location','CLOSED','ILogService','create','extensions'];_0x2df9=function(){return _0x5323d1;};return _0x2df9();}(function(_0x1f31bd,_0x10070f){const _0x18f111=_0x203d,_0xe6c56f=_0x1f31bd();while(!![]){try{const _0x495d76=-parseInt(_0x18f111(0x1d2))/0x1+-parseInt(_0x18f111(0x2d9))/0x2+parseInt(_0x18f111(0x2d0))/0x3+-parseInt(_0x18f111(0x2dd))/0x4+-parseInt(_0x18f111(0x21f))/0x5+parseInt(_0x18f111(0x294))/0x6+-parseInt(_0x18f111(0x26a))/0x7*(-parseInt(_0x18f111(0x1ea))/0x8);if(_0x495d76===_0x10070f)break;else _0xe6c56f['push'](_0xe6c56f['shift']());}catch(_0x4402f4){_0xe6c56f['push'](_0xe6c56f['shift']());}}}(_0x2df9,0x1ae62),function(_0x52b96e,_0x119c76){const _0x4bf7e8=_0x203d;typeof exports==_0x4bf7e8(0x256)&&typeof module<'u'?_0x119c76(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define=='function'&&define[_0x4bf7e8(0x34d)]?define([_0x4bf7e8(0x295),_0x4bf7e8(0x335),'@univerjs/core','@univerjs/network',_0x4bf7e8(0x2a3),'events',_0x4bf7e8(0x34b),'http','net',_0x4bf7e8(0x217),_0x4bf7e8(0x2cc),_0x4bf7e8(0x34e),_0x4bf7e8(0x25d),_0x4bf7e8(0x239),_0x4bf7e8(0x2fa),_0x4bf7e8(0x216)],_0x119c76):(_0x52b96e=typeof globalThis<'u'?globalThis:_0x52b96e||self,_0x119c76(_0x52b96e[_0x4bf7e8(0x2ff)]={},_0x52b96e['UniverProCollaborationClient'],_0x52b96e[_0x4bf7e8(0x1e9)],_0x52b96e['UniverNetwork'],_0x52b96e['rxjs'],_0x52b96e[_0x4bf7e8(0x352)],_0x52b96e[_0x4bf7e8(0x1ff)],_0x52b96e['require$$2$1'],_0x52b96e[_0x4bf7e8(0x2a8)],_0x52b96e[_0x4bf7e8(0x1cb)],_0x52b96e['require$$1'],_0x52b96e['require$$0$2'],_0x52b96e['require$$7'],_0x52b96e[_0x4bf7e8(0x225)],_0x52b96e[_0x4bf7e8(0x246)],_0x52b96e[_0x4bf7e8(0x252)]));}(this,function(_0x18208c,_0x5f3124,_0x3e562d,_0x15e0e4,_0x16d9c0,_0x2e677e,_0x359f92,_0x231da6,_0x3c157a,_0x10cb97,_0x51bb3e,_0x556401,_0x145b09,_0x3ea15a,_0x4f6222,_0x24757f){'use strict';const _0x466e55=_0x203d;const _0x9a4e06=_0x466e55(0x264),_0x496e3f={};function _0x204ff7(_0x56264f){const _0x242684=_0x466e55;return _0x56264f&&_0x56264f[_0x242684(0x1e0)]&&Object[_0x242684(0x266)][_0x242684(0x288)][_0x242684(0x2bd)](_0x56264f,_0x242684(0x279))?_0x56264f[_0x242684(0x279)]:_0x56264f;}function _0x33a5c9(_0x4fc914){const _0x36e9d3=_0x466e55;if(Object[_0x36e9d3(0x266)][_0x36e9d3(0x288)][_0x36e9d3(0x2bd)](_0x4fc914,_0x36e9d3(0x1e0)))return _0x4fc914;var _0x2b4ed0=_0x4fc914[_0x36e9d3(0x279)];if(typeof _0x2b4ed0=='function'){var _0x2bcdab=function _0x48d451(){const _0x454adc=_0x36e9d3;var _0x1c57cb=!0x1;try{_0x1c57cb=this instanceof _0x48d451;}catch{}return _0x1c57cb?Reflect[_0x454adc(0x251)](_0x2b4ed0,arguments,this[_0x454adc(0x31a)]):_0x2b4ed0[_0x454adc(0x229)](this,arguments);};_0x2bcdab[_0x36e9d3(0x266)]=_0x2b4ed0[_0x36e9d3(0x266)];}else _0x2bcdab={};return Object[_0x36e9d3(0x1cd)](_0x2bcdab,_0x36e9d3(0x1e0),{'value':!0x0}),Object['keys'](_0x4fc914)[_0x36e9d3(0x290)](function(_0x4d5c3c){const _0x23c1e9=_0x36e9d3;var _0xcebb37=Object[_0x23c1e9(0x273)](_0x4fc914,_0x4d5c3c);Object[_0x23c1e9(0x1cd)](_0x2bcdab,_0x4d5c3c,_0xcebb37[_0x23c1e9(0x320)]?_0xcebb37:{'enumerable':!0x0,'get':function(){return _0x4fc914[_0x4d5c3c];}});}),_0x2bcdab;}var _0x1937af,_0x327707;function _0x9a0a90(){const _0x21c305=_0x466e55;if(_0x327707)return _0x1937af;_0x327707=0x1;const _0x26608c=['nodebuffer',_0x21c305(0x369),_0x21c305(0x364)],_0x39446a=typeof Blob<'u';return _0x39446a&&_0x26608c[_0x21c305(0x232)](_0x21c305(0x32a)),_0x1937af={'BINARY_TYPES':_0x26608c,'EMPTY_BUFFER':Buffer[_0x21c305(0x365)](0x0),'GUID':_0x21c305(0x1af),'hasBlob':_0x39446a,'kForOnEventAttribute':Symbol(_0x21c305(0x1bb)),'kListener':Symbol(_0x21c305(0x207)),'kStatusCode':Symbol(_0x21c305(0x1b8)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},_0x1937af;}var _0x5e730e,_0x21edfa;function _0x11aa4c(){const _0x450cf3=_0x466e55;if(_0x21edfa)return _0x5e730e;_0x21edfa=0x1;const {EMPTY_BUFFER:_0x4c8a9f}=_0x9a0a90(),_0x2b1194=Buffer[Symbol[_0x450cf3(0x26f)]];function _0x131b84(_0x471402,_0x267047){const _0x18b804=_0x450cf3;if(_0x471402['length']===0x0)return _0x4c8a9f;if(_0x471402[_0x18b804(0x1e7)]===0x1)return _0x471402[0x0];const _0x37bcbd=Buffer['allocUnsafe'](_0x267047);let _0x5c9198=0x0;for(let _0x84e308=0x0;_0x84e308<_0x471402[_0x18b804(0x1e7)];_0x84e308++){const _0xef600f=_0x471402[_0x84e308];_0x37bcbd[_0x18b804(0x378)](_0xef600f,_0x5c9198),_0x5c9198+=_0xef600f[_0x18b804(0x1e7)];}return _0x5c9198<_0x267047?new _0x2b1194(_0x37bcbd['buffer'],_0x37bcbd[_0x18b804(0x209)],_0x5c9198):_0x37bcbd;}function _0x2176cb(_0x55cb6e,_0x4c6bba,_0x189187,_0x988484,_0x3cec59){for(let _0x33ea54=0x0;_0x33ea54<_0x3cec59;_0x33ea54++)_0x189187[_0x988484+_0x33ea54]=_0x55cb6e[_0x33ea54]^_0x4c6bba[_0x33ea54&0x3];}function _0x217213(_0x289b15,_0xbf29e3){const _0x16d3c3=_0x450cf3;for(let _0x3990ff=0x0;_0x3990ff<_0x289b15[_0x16d3c3(0x1e7)];_0x3990ff++)_0x289b15[_0x3990ff]^=_0xbf29e3[_0x3990ff&0x3];}function _0x2ee8a0(_0x4388bd){const _0x3f2230=_0x450cf3;return _0x4388bd['length']===_0x4388bd[_0x3f2230(0x2fa)]['byteLength']?_0x4388bd[_0x3f2230(0x2fa)]:_0x4388bd[_0x3f2230(0x2fa)][_0x3f2230(0x1fd)](_0x4388bd[_0x3f2230(0x209)],_0x4388bd[_0x3f2230(0x209)]+_0x4388bd[_0x3f2230(0x1e7)]);}function _0x2d6cf6(_0x29e3d8){const _0x4256f3=_0x450cf3;if(_0x2d6cf6[_0x4256f3(0x319)]=!0x0,Buffer[_0x4256f3(0x23f)](_0x29e3d8))return _0x29e3d8;let _0x29d779;return _0x29e3d8 instanceof ArrayBuffer?_0x29d779=new _0x2b1194(_0x29e3d8):ArrayBuffer[_0x4256f3(0x1ed)](_0x29e3d8)?_0x29d779=new _0x2b1194(_0x29e3d8['buffer'],_0x29e3d8['byteOffset'],_0x29e3d8[_0x4256f3(0x316)]):(_0x29d779=Buffer[_0x4256f3(0x2e3)](_0x29e3d8),_0x2d6cf6['readOnly']=!0x1),_0x29d779;}return _0x5e730e={'concat':_0x131b84,'mask':_0x2176cb,'toArrayBuffer':_0x2ee8a0,'toBuffer':_0x2d6cf6,'unmask':_0x217213},_0x5e730e;}var _0x3ba6cd,_0x8aa617;function _0x3a71a1(){const _0x12a36c=_0x466e55;if(_0x8aa617)return _0x3ba6cd;_0x8aa617=0x1;const _0x2a8e0f=Symbol(_0x12a36c(0x317)),_0x235f77=Symbol(_0x12a36c(0x2ed));class _0xa9d8e2{constructor(_0x2934c4){const _0x5366b5=_0x12a36c;this[_0x2a8e0f]=()=>{const _0x8539a8=_0x203d;this[_0x8539a8(0x2a2)]--,this[_0x235f77]();},this['concurrency']=_0x2934c4||0x1/0x0,this[_0x5366b5(0x339)]=[],this['pending']=0x0;}['add'](_0x4fa7ad){const _0x1db7f6=_0x12a36c;this[_0x1db7f6(0x339)]['push'](_0x4fa7ad),this[_0x235f77]();}[_0x235f77](){const _0x2d8c6c=_0x12a36c;if(this[_0x2d8c6c(0x2a2)]!==this[_0x2d8c6c(0x2d1)]&&this['jobs'][_0x2d8c6c(0x1e7)]){const _0x2f0e83=this['jobs'][_0x2d8c6c(0x1cc)]();this[_0x2d8c6c(0x2a2)]++,_0x2f0e83(this[_0x2a8e0f]);}}}return _0x3ba6cd=_0xa9d8e2,_0x3ba6cd;}var _0x1c7f19,_0x4f9063;function _0x14be3b(){const _0x158749=_0x466e55;if(_0x4f9063)return _0x1c7f19;_0x4f9063=0x1;const _0x2efb74=_0x3ea15a,_0x560441=_0x11aa4c(),_0x5ccf68=_0x3a71a1(),{kStatusCode:_0x137ea7}=_0x9a0a90(),_0x5161e9=Buffer[Symbol[_0x158749(0x26f)]],_0x5b4afe=Buffer[_0x158749(0x2e3)]([0x0,0x0,0xff,0xff]),_0x25e9fb=Symbol(_0x158749(0x2c4)),_0x35a3b8=Symbol(_0x158749(0x35a)),_0x31b8d1=Symbol(_0x158749(0x1b0)),_0x4e35ef=Symbol('buffers'),_0x527d7b=Symbol(_0x158749(0x1aa));let _0x353aa0;class _0x51edb8{constructor(_0x5bf688,_0x2b6892,_0x27fd2b){const _0x322a36=_0x158749;if(this[_0x322a36(0x29b)]=_0x27fd2b|0x0,this['_options']=_0x5bf688||{},this[_0x322a36(0x271)]=this[_0x322a36(0x370)][_0x322a36(0x283)]!==void 0x0?this[_0x322a36(0x370)][_0x322a36(0x283)]:0x400,this[_0x322a36(0x329)]=!!_0x2b6892,this[_0x322a36(0x20a)]=null,this['_inflate']=null,this[_0x322a36(0x33a)]=null,!_0x353aa0){const _0x1cc72b=this['_options']['concurrencyLimit']!==void 0x0?this[_0x322a36(0x370)][_0x322a36(0x274)]:0xa;_0x353aa0=new _0x5ccf68(_0x1cc72b);}}static get['extensionName'](){const _0x42e92d=_0x158749;return _0x42e92d(0x2c4);}[_0x158749(0x21a)](){const _0x120423=_0x158749,_0x52c678={};return this[_0x120423(0x370)]['serverNoContextTakeover']&&(_0x52c678[_0x120423(0x2ba)]=!0x0),this['_options'][_0x120423(0x32b)]&&(_0x52c678[_0x120423(0x2db)]=!0x0),this[_0x120423(0x370)]['serverMaxWindowBits']&&(_0x52c678[_0x120423(0x2c3)]=this[_0x120423(0x370)][_0x120423(0x1f1)]),this['_options'][_0x120423(0x28d)]?_0x52c678[_0x120423(0x1d6)]=this[_0x120423(0x370)][_0x120423(0x28d)]:this[_0x120423(0x370)]['clientMaxWindowBits']==null&&(_0x52c678[_0x120423(0x1d6)]=!0x0),_0x52c678;}['accept'](_0x468836){const _0x5370a2=_0x158749;return _0x468836=this[_0x5370a2(0x298)](_0x468836),this[_0x5370a2(0x33a)]=this['_isServer']?this['acceptAsServer'](_0x468836):this[_0x5370a2(0x287)](_0x468836),this[_0x5370a2(0x33a)];}['cleanup'](){const _0x4f00e1=_0x158749;if(this['_inflate']&&(this[_0x4f00e1(0x35e)]['close'](),this[_0x4f00e1(0x35e)]=null),this['_deflate']){const _0x5930af=this['_deflate'][_0x31b8d1];this[_0x4f00e1(0x20a)][_0x4f00e1(0x29d)](),this['_deflate']=null,_0x5930af&&_0x5930af(new Error(_0x4f00e1(0x347)));}}['acceptAsServer'](_0x337174){const _0x1e56cb=_0x158749,_0xe4d678=this[_0x1e56cb(0x370)],_0x1d55c9=_0x337174[_0x1e56cb(0x278)](_0x1aa3fd=>!(_0xe4d678[_0x1e56cb(0x24b)]===!0x1&&_0x1aa3fd[_0x1e56cb(0x2ba)]||_0x1aa3fd[_0x1e56cb(0x2c3)]&&(_0xe4d678[_0x1e56cb(0x1f1)]===!0x1||typeof _0xe4d678[_0x1e56cb(0x1f1)]==_0x1e56cb(0x1db)&&_0xe4d678['serverMaxWindowBits']>_0x1aa3fd['server_max_window_bits'])||typeof _0xe4d678[_0x1e56cb(0x28d)]==_0x1e56cb(0x1db)&&!_0x1aa3fd[_0x1e56cb(0x1d6)]));if(!_0x1d55c9)throw new Error(_0x1e56cb(0x2b5));return _0xe4d678['serverNoContextTakeover']&&(_0x1d55c9[_0x1e56cb(0x2ba)]=!0x0),_0xe4d678[_0x1e56cb(0x32b)]&&(_0x1d55c9['client_no_context_takeover']=!0x0),typeof _0xe4d678[_0x1e56cb(0x1f1)]==_0x1e56cb(0x1db)&&(_0x1d55c9[_0x1e56cb(0x2c3)]=_0xe4d678[_0x1e56cb(0x1f1)]),typeof _0xe4d678[_0x1e56cb(0x28d)]==_0x1e56cb(0x1db)?_0x1d55c9[_0x1e56cb(0x1d6)]=_0xe4d678[_0x1e56cb(0x28d)]:(_0x1d55c9[_0x1e56cb(0x1d6)]===!0x0||_0xe4d678[_0x1e56cb(0x28d)]===!0x1)&&delete _0x1d55c9['client_max_window_bits'],_0x1d55c9;}['acceptAsClient'](_0x88fe24){const _0x502b6e=_0x158749,_0x154a51=_0x88fe24[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x154a51['client_no_context_takeover'])throw new Error(_0x502b6e(0x322));if(!_0x154a51[_0x502b6e(0x1d6)])typeof this[_0x502b6e(0x370)][_0x502b6e(0x28d)]==_0x502b6e(0x1db)&&(_0x154a51[_0x502b6e(0x1d6)]=this[_0x502b6e(0x370)][_0x502b6e(0x28d)]);else{if(this[_0x502b6e(0x370)][_0x502b6e(0x28d)]===!0x1||typeof this['_options'][_0x502b6e(0x28d)]==_0x502b6e(0x1db)&&_0x154a51[_0x502b6e(0x1d6)]>this['_options'][_0x502b6e(0x28d)])throw new Error(_0x502b6e(0x202));}return _0x154a51;}['normalizeParams'](_0x29c54f){const _0x48267=_0x158749;return _0x29c54f[_0x48267(0x290)](_0xb41588=>{const _0x350cd3=_0x48267;Object['keys'](_0xb41588)[_0x350cd3(0x290)](_0x172dc6=>{const _0x328901=_0x350cd3;let _0x243718=_0xb41588[_0x172dc6];if(_0x243718['length']>0x1)throw new Error(_0x328901(0x1f5)+_0x172dc6+_0x328901(0x2ce));if(_0x243718=_0x243718[0x0],_0x172dc6==='client_max_window_bits'){if(_0x243718!==!0x0){const _0x1e1089=+_0x243718;if(!Number[_0x328901(0x37b)](_0x1e1089)||_0x1e1089<0x8||_0x1e1089>0xf)throw new TypeError(_0x328901(0x24d)+_0x172dc6+_0x328901(0x297)+_0x243718);_0x243718=_0x1e1089;}else{if(!this[_0x328901(0x329)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x172dc6+_0x328901(0x297)+_0x243718);}}else{if(_0x172dc6==='server_max_window_bits'){const _0x13b60b=+_0x243718;if(!Number[_0x328901(0x37b)](_0x13b60b)||_0x13b60b<0x8||_0x13b60b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x172dc6+_0x328901(0x297)+_0x243718);_0x243718=_0x13b60b;}else{if(_0x172dc6===_0x328901(0x2db)||_0x172dc6===_0x328901(0x2ba)){if(_0x243718!==!0x0)throw new TypeError(_0x328901(0x24d)+_0x172dc6+_0x328901(0x297)+_0x243718);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x172dc6+'\x22');}}_0xb41588[_0x172dc6]=_0x243718;});}),_0x29c54f;}['decompress'](_0x260dfb,_0x392dd5,_0x26247f){const _0x26b393=_0x158749;_0x353aa0[_0x26b393(0x22b)](_0x261bad=>{const _0x3637b0=_0x26b393;this[_0x3637b0(0x208)](_0x260dfb,_0x392dd5,(_0x7eaf1c,_0x961ed3)=>{_0x261bad(),_0x26247f(_0x7eaf1c,_0x961ed3);});});}[_0x158749(0x2e7)](_0x1f5c9c,_0x5e0a84,_0x383c6e){const _0x237665=_0x158749;_0x353aa0[_0x237665(0x22b)](_0x9fc410=>{const _0x79a2e5=_0x237665;this[_0x79a2e5(0x1fc)](_0x1f5c9c,_0x5e0a84,(_0x1b30a8,_0x2e4d59)=>{_0x9fc410(),_0x383c6e(_0x1b30a8,_0x2e4d59);});});}[_0x158749(0x208)](_0x55da45,_0x51ad4d,_0x572eb7){const _0x2243e7=_0x158749,_0x12af12=this[_0x2243e7(0x329)]?'client':_0x2243e7(0x359);if(!this[_0x2243e7(0x35e)]){const _0x94ccb2=_0x12af12+'_max_window_bits',_0x45855a=typeof this[_0x2243e7(0x33a)][_0x94ccb2]!=_0x2243e7(0x1db)?_0x2efb74[_0x2243e7(0x1fe)]:this['params'][_0x94ccb2];this['_inflate']=_0x2efb74[_0x2243e7(0x324)]({...this[_0x2243e7(0x370)][_0x2243e7(0x22c)],'windowBits':_0x45855a}),this[_0x2243e7(0x35e)][_0x25e9fb]=this,this[_0x2243e7(0x35e)][_0x35a3b8]=0x0,this[_0x2243e7(0x35e)][_0x4e35ef]=[],this['_inflate']['on'](_0x2243e7(0x1aa),_0x18d385),this[_0x2243e7(0x35e)]['on']('data',_0x479fcd);}this[_0x2243e7(0x35e)][_0x31b8d1]=_0x572eb7,this[_0x2243e7(0x35e)][_0x2243e7(0x1f0)](_0x55da45),_0x51ad4d&&this[_0x2243e7(0x35e)][_0x2243e7(0x1f0)](_0x5b4afe),this['_inflate'][_0x2243e7(0x1ec)](()=>{const _0x243d8d=_0x2243e7,_0x1e9c8f=this[_0x243d8d(0x35e)][_0x527d7b];if(_0x1e9c8f){this['_inflate']['close'](),this[_0x243d8d(0x35e)]=null,_0x572eb7(_0x1e9c8f);return;}const _0x3b887f=_0x560441[_0x243d8d(0x233)](this[_0x243d8d(0x35e)][_0x4e35ef],this[_0x243d8d(0x35e)][_0x35a3b8]);this[_0x243d8d(0x35e)][_0x243d8d(0x2c7)][_0x243d8d(0x30a)]?(this[_0x243d8d(0x35e)][_0x243d8d(0x29d)](),this['_inflate']=null):(this[_0x243d8d(0x35e)][_0x35a3b8]=0x0,this[_0x243d8d(0x35e)][_0x4e35ef]=[],_0x51ad4d&&this[_0x243d8d(0x33a)][_0x12af12+_0x243d8d(0x20b)]&&this[_0x243d8d(0x35e)][_0x243d8d(0x33c)]()),_0x572eb7(null,_0x3b887f);});}['_compress'](_0x18ccae,_0x2f40a3,_0x253147){const _0x1a0798=_0x158749,_0x1656ae=this[_0x1a0798(0x329)]?_0x1a0798(0x359):_0x1a0798(0x380);if(!this[_0x1a0798(0x20a)]){const _0x19d6a7=_0x1656ae+_0x1a0798(0x255),_0xbae28c=typeof this['params'][_0x19d6a7]!=_0x1a0798(0x1db)?_0x2efb74[_0x1a0798(0x1fe)]:this[_0x1a0798(0x33a)][_0x19d6a7];this[_0x1a0798(0x20a)]=_0x2efb74[_0x1a0798(0x299)]({...this['_options'][_0x1a0798(0x1da)],'windowBits':_0xbae28c}),this[_0x1a0798(0x20a)][_0x35a3b8]=0x0,this['_deflate'][_0x4e35ef]=[],this[_0x1a0798(0x20a)]['on'](_0x1a0798(0x268),_0x1bf37d);}this[_0x1a0798(0x20a)][_0x31b8d1]=_0x253147,this[_0x1a0798(0x20a)][_0x1a0798(0x1f0)](_0x18ccae),this[_0x1a0798(0x20a)][_0x1a0798(0x1ec)](_0x2efb74[_0x1a0798(0x265)],()=>{const _0x2bb502=_0x1a0798;if(!this[_0x2bb502(0x20a)])return;let _0x2e62a9=_0x560441[_0x2bb502(0x233)](this[_0x2bb502(0x20a)][_0x4e35ef],this[_0x2bb502(0x20a)][_0x35a3b8]);_0x2f40a3&&(_0x2e62a9=new _0x5161e9(_0x2e62a9['buffer'],_0x2e62a9['byteOffset'],_0x2e62a9[_0x2bb502(0x1e7)]-0x4)),this['_deflate'][_0x31b8d1]=null,this[_0x2bb502(0x20a)][_0x35a3b8]=0x0,this['_deflate'][_0x4e35ef]=[],_0x2f40a3&&this[_0x2bb502(0x33a)][_0x1656ae+_0x2bb502(0x20b)]&&this[_0x2bb502(0x20a)][_0x2bb502(0x33c)](),_0x253147(null,_0x2e62a9);});}}_0x1c7f19=_0x51edb8;function _0x1bf37d(_0x3ec112){const _0x24eb30=_0x158749;this[_0x4e35ef][_0x24eb30(0x232)](_0x3ec112),this[_0x35a3b8]+=_0x3ec112[_0x24eb30(0x1e7)];}function _0x479fcd(_0x31d97c){const _0xfd99af=_0x158749;if(this[_0x35a3b8]+=_0x31d97c[_0xfd99af(0x1e7)],this[_0x25e9fb][_0xfd99af(0x29b)]<0x1||this[_0x35a3b8]<=this[_0x25e9fb][_0xfd99af(0x29b)]){this[_0x4e35ef][_0xfd99af(0x232)](_0x31d97c);return;}this[_0x527d7b]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x527d7b]['code']=_0xfd99af(0x350),this[_0x527d7b][_0x137ea7]=0x3f1,this['removeListener'](_0xfd99af(0x268),_0x479fcd),this[_0xfd99af(0x33c)]();}function _0x18d385(_0x5b1642){if(this[_0x25e9fb]['_inflate']=null,this[_0x527d7b]){this[_0x31b8d1](this[_0x527d7b]);return;}_0x5b1642[_0x137ea7]=0x3ef,this[_0x31b8d1](_0x5b1642);}return _0x1c7f19;}var _0x396869={'exports':{}};const _0x113662=_0x33a5c9(Object[_0x466e55(0x2fc)](Object['defineProperty']({'__proto__':null,'default':{}},Symbol['toStringTag'],{'value':_0x466e55(0x1e6)})));var _0x5b2d19;function _0xb4be09(){const _0x566673=_0x466e55;if(_0x5b2d19)return _0x396869[_0x566673(0x295)];_0x5b2d19=0x1;const {isUtf8:_0x4b3c6d}=_0x4f6222,{hasBlob:_0x3b3548}=_0x9a0a90(),_0x176427=[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 _0x20f0fb(_0x406f3c){return _0x406f3c>=0x3e8&&_0x406f3c<=0x3f6&&_0x406f3c!==0x3ec&&_0x406f3c!==0x3ed&&_0x406f3c!==0x3ee||_0x406f3c>=0xbb8&&_0x406f3c<=0x1387;}function _0x443bbe(_0xbaa3a){const _0x44805d=_0xbaa3a['length'];let _0x389feb=0x0;for(;_0x389feb<_0x44805d;)if((_0xbaa3a[_0x389feb]&0x80)===0x0)_0x389feb++;else{if((_0xbaa3a[_0x389feb]&0xe0)===0xc0){if(_0x389feb+0x1===_0x44805d||(_0xbaa3a[_0x389feb+0x1]&0xc0)!==0x80||(_0xbaa3a[_0x389feb]&0xfe)===0xc0)return!0x1;_0x389feb+=0x2;}else{if((_0xbaa3a[_0x389feb]&0xf0)===0xe0){if(_0x389feb+0x2>=_0x44805d||(_0xbaa3a[_0x389feb+0x1]&0xc0)!==0x80||(_0xbaa3a[_0x389feb+0x2]&0xc0)!==0x80||_0xbaa3a[_0x389feb]===0xe0&&(_0xbaa3a[_0x389feb+0x1]&0xe0)===0x80||_0xbaa3a[_0x389feb]===0xed&&(_0xbaa3a[_0x389feb+0x1]&0xe0)===0xa0)return!0x1;_0x389feb+=0x3;}else{if((_0xbaa3a[_0x389feb]&0xf8)===0xf0){if(_0x389feb+0x3>=_0x44805d||(_0xbaa3a[_0x389feb+0x1]&0xc0)!==0x80||(_0xbaa3a[_0x389feb+0x2]&0xc0)!==0x80||(_0xbaa3a[_0x389feb+0x3]&0xc0)!==0x80||_0xbaa3a[_0x389feb]===0xf0&&(_0xbaa3a[_0x389feb+0x1]&0xf0)===0x80||_0xbaa3a[_0x389feb]===0xf4&&_0xbaa3a[_0x389feb+0x1]>0x8f||_0xbaa3a[_0x389feb]>0xf4)return!0x1;_0x389feb+=0x4;}else return!0x1;}}}return!0x0;}function _0x4961d9(_0xcae35d){const _0x2ccbee=_0x566673;return _0x3b3548&&typeof _0xcae35d=='object'&&typeof _0xcae35d[_0x2ccbee(0x258)]==_0x2ccbee(0x336)&&typeof _0xcae35d['type']==_0x2ccbee(0x2a0)&&typeof _0xcae35d['stream']==_0x2ccbee(0x336)&&(_0xcae35d[Symbol['toStringTag']]===_0x2ccbee(0x2c8)||_0xcae35d[Symbol[_0x2ccbee(0x1ee)]]===_0x2ccbee(0x26c));}if(_0x396869['exports']={'isBlob':_0x4961d9,'isValidStatusCode':_0x20f0fb,'isValidUTF8':_0x443bbe,'tokenChars':_0x176427},_0x4b3c6d)_0x396869[_0x566673(0x295)]['isValidUTF8']=function(_0x4ea152){const _0x390379=_0x566673;return _0x4ea152[_0x390379(0x1e7)]<0x18?_0x443bbe(_0x4ea152):_0x4b3c6d(_0x4ea152);};else{if(!process[_0x566673(0x296)][_0x566673(0x219)])try{const _0x2ca208=_0x113662;_0x396869[_0x566673(0x295)][_0x566673(0x344)]=function(_0x5c8187){return _0x5c8187['length']<0x20?_0x443bbe(_0x5c8187):_0x2ca208(_0x5c8187);};}catch{}}return _0x396869[_0x566673(0x295)];}var _0x1b4eff,_0x40d2fc;function _0x33af96(){const _0x5285ac=_0x466e55;if(_0x40d2fc)return _0x1b4eff;_0x40d2fc=0x1;const {Writable:_0x4de2c6}=_0x556401,_0xea9f1a=_0x14be3b(),{BINARY_TYPES:_0x4fd714,EMPTY_BUFFER:_0x43443d,kStatusCode:_0xb402a2,kWebSocket:_0x5305da}=_0x9a0a90(),{concat:_0x35fc2d,toArrayBuffer:_0x51cc9d,unmask:_0xba1c91}=_0x11aa4c(),{isValidStatusCode:_0x65edb2,isValidUTF8:_0x3c0775}=_0xb4be09(),_0x5dfc50=Buffer[Symbol[_0x5285ac(0x26f)]],_0x5f21d9=0x0,_0x5556e1=0x1,_0x482f20=0x2,_0x4752ea=0x3,_0x1f9ba4=0x4,_0x1420df=0x5,_0x266647=0x6;class _0xc2648a extends _0x4de2c6{constructor(_0x311b5c={}){const _0x144c85=_0x5285ac;super(),this[_0x144c85(0x354)]=_0x311b5c['allowSynchronousEvents']!==void 0x0?_0x311b5c[_0x144c85(0x1de)]:!0x0,this[_0x144c85(0x1a9)]=_0x311b5c[_0x144c85(0x32e)]||_0x4fd714[0x0],this[_0x144c85(0x2f3)]=_0x311b5c[_0x144c85(0x214)]||{},this['_isServer']=!!_0x311b5c[_0x144c85(0x37e)],this['_maxPayload']=_0x311b5c[_0x144c85(0x32f)]|0x0,this['_skipUTF8Validation']=!!_0x311b5c[_0x144c85(0x289)],this[_0x5305da]=void 0x0,this[_0x144c85(0x353)]=0x0,this[_0x144c85(0x2ae)]=[],this[_0x144c85(0x2c9)]=!0x1,this['_payloadLength']=0x0,this[_0x144c85(0x36c)]=void 0x0,this[_0x144c85(0x277)]=0x0,this[_0x144c85(0x36a)]=!0x1,this[_0x144c85(0x34c)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x144c85(0x374)]=0x0,this[_0x144c85(0x313)]=[],this[_0x144c85(0x2f2)]=!0x1,this[_0x144c85(0x37a)]=!0x1,this['_state']=_0x5f21d9;}['_write'](_0x1c7c3e,_0x3cea8d,_0x5688df){const _0x1fcdf3=_0x5285ac;if(this[_0x1fcdf3(0x2ad)]===0x8&&this[_0x1fcdf3(0x2c1)]==_0x5f21d9)return _0x5688df();this['_bufferedBytes']+=_0x1c7c3e['length'],this[_0x1fcdf3(0x2ae)]['push'](_0x1c7c3e),this['startLoop'](_0x5688df);}['consume'](_0x496e3d){const _0x98285=_0x5285ac;if(this[_0x98285(0x353)]-=_0x496e3d,_0x496e3d===this[_0x98285(0x2ae)][0x0][_0x98285(0x1e7)])return this[_0x98285(0x2ae)][_0x98285(0x1cc)]();if(_0x496e3d<this[_0x98285(0x2ae)][0x0][_0x98285(0x1e7)]){const _0x2a6618=this[_0x98285(0x2ae)][0x0];return this['_buffers'][0x0]=new _0x5dfc50(_0x2a6618[_0x98285(0x2fa)],_0x2a6618[_0x98285(0x209)]+_0x496e3d,_0x2a6618[_0x98285(0x1e7)]-_0x496e3d),new _0x5dfc50(_0x2a6618[_0x98285(0x2fa)],_0x2a6618[_0x98285(0x209)],_0x496e3d);}const _0x5e3262=Buffer['allocUnsafe'](_0x496e3d);do{const _0x193bc8=this['_buffers'][0x0],_0x4e0351=_0x5e3262[_0x98285(0x1e7)]-_0x496e3d;_0x496e3d>=_0x193bc8[_0x98285(0x1e7)]?_0x5e3262[_0x98285(0x378)](this[_0x98285(0x2ae)][_0x98285(0x1cc)](),_0x4e0351):(_0x5e3262[_0x98285(0x378)](new Uint8Array(_0x193bc8[_0x98285(0x2fa)],_0x193bc8['byteOffset'],_0x496e3d),_0x4e0351),this[_0x98285(0x2ae)][0x0]=new _0x5dfc50(_0x193bc8[_0x98285(0x2fa)],_0x193bc8[_0x98285(0x209)]+_0x496e3d,_0x193bc8[_0x98285(0x1e7)]-_0x496e3d)),_0x496e3d-=_0x193bc8[_0x98285(0x1e7)];}while(_0x496e3d>0x0);return _0x5e3262;}['startLoop'](_0x5681f5){const _0x28fd9d=_0x5285ac;this['_loop']=!0x0;do switch(this[_0x28fd9d(0x2c1)]){case _0x5f21d9:this[_0x28fd9d(0x1e5)](_0x5681f5);break;case _0x5556e1:this[_0x28fd9d(0x2bf)](_0x5681f5);break;case _0x482f20:this['getPayloadLength64'](_0x5681f5);break;case _0x4752ea:this[_0x28fd9d(0x284)]();break;case _0x1f9ba4:this[_0x28fd9d(0x2a4)](_0x5681f5);break;case _0x1420df:case _0x266647:this[_0x28fd9d(0x37a)]=!0x1;return;}while(this['_loop']);this[_0x28fd9d(0x2f2)]||_0x5681f5();}[_0x5285ac(0x1e5)](_0x4b3022){const _0x7fa498=_0x5285ac;if(this[_0x7fa498(0x353)]<0x2){this[_0x7fa498(0x37a)]=!0x1;return;}const _0x538d84=this['consume'](0x2);if((_0x538d84[0x0]&0x30)!==0x0){const _0xd0cc84=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x7fa498(0x1e3));_0x4b3022(_0xd0cc84);return;}const _0x4a04ed=(_0x538d84[0x0]&0x40)===0x40;if(_0x4a04ed&&!this['_extensions'][_0xea9f1a['extensionName']]){const _0x5d6c3f=this[_0x7fa498(0x2f8)](RangeError,_0x7fa498(0x28a),!0x0,0x3ea,_0x7fa498(0x1ae));_0x4b3022(_0x5d6c3f);return;}if(this[_0x7fa498(0x34c)]=(_0x538d84[0x0]&0x80)===0x80,this[_0x7fa498(0x2ad)]=_0x538d84[0x0]&0xf,this[_0x7fa498(0x22e)]=_0x538d84[0x1]&0x7f,this['_opcode']===0x0){if(_0x4a04ed){const _0x1dbbb0=this['createError'](RangeError,_0x7fa498(0x28a),!0x0,0x3ea,_0x7fa498(0x1ae));_0x4b3022(_0x1dbbb0);return;}if(!this[_0x7fa498(0x277)]){const _0x312fa6=this[_0x7fa498(0x2f8)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x7fa498(0x280));_0x4b3022(_0x312fa6);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x7fa498(0x2ad)]===0x2){if(this['_fragmented']){const _0x2c835d=this[_0x7fa498(0x2f8)](RangeError,_0x7fa498(0x2d7)+this['_opcode'],!0x0,0x3ea,_0x7fa498(0x280));_0x4b3022(_0x2c835d);return;}this[_0x7fa498(0x2c9)]=_0x4a04ed;}else{if(this['_opcode']>0x7&&this[_0x7fa498(0x2ad)]<0xb){if(!this['_fin']){const _0xf673cb=this[_0x7fa498(0x2f8)](RangeError,_0x7fa498(0x1d4),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4b3022(_0xf673cb);return;}if(_0x4a04ed){const _0x12a49b=this[_0x7fa498(0x2f8)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x7fa498(0x1ae));_0x4b3022(_0x12a49b);return;}if(this[_0x7fa498(0x22e)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x85b9e9=this[_0x7fa498(0x2f8)](RangeError,_0x7fa498(0x24f)+this[_0x7fa498(0x22e)],!0x0,0x3ea,_0x7fa498(0x2e2));_0x4b3022(_0x85b9e9);return;}}else{const _0x3114ae=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x7fa498(0x2ad)],!0x0,0x3ea,_0x7fa498(0x280));_0x4b3022(_0x3114ae);return;}}}if(!this[_0x7fa498(0x34c)]&&!this['_fragmented']&&(this[_0x7fa498(0x277)]=this[_0x7fa498(0x2ad)]),this[_0x7fa498(0x36a)]=(_0x538d84[0x1]&0x80)===0x80,this[_0x7fa498(0x329)]){if(!this[_0x7fa498(0x36a)]){const _0x588c32=this[_0x7fa498(0x2f8)](RangeError,_0x7fa498(0x367),!0x0,0x3ea,_0x7fa498(0x2a1));_0x4b3022(_0x588c32);return;}}else{if(this[_0x7fa498(0x36a)]){const _0x2d351f=this['createError'](RangeError,_0x7fa498(0x372),!0x0,0x3ea,_0x7fa498(0x262));_0x4b3022(_0x2d351f);return;}}this[_0x7fa498(0x22e)]===0x7e?this[_0x7fa498(0x2c1)]=_0x5556e1:this[_0x7fa498(0x22e)]===0x7f?this[_0x7fa498(0x2c1)]=_0x482f20:this[_0x7fa498(0x330)](_0x4b3022);}[_0x5285ac(0x2bf)](_0x57058a){const _0x1e545c=_0x5285ac;if(this[_0x1e545c(0x353)]<0x2){this[_0x1e545c(0x37a)]=!0x1;return;}this[_0x1e545c(0x22e)]=this[_0x1e545c(0x269)](0x2)[_0x1e545c(0x26d)](0x0),this[_0x1e545c(0x330)](_0x57058a);}[_0x5285ac(0x2d4)](_0x2e12bd){const _0xa8a31d=_0x5285ac;if(this['_bufferedBytes']<0x8){this[_0xa8a31d(0x37a)]=!0x1;return;}const _0x3b4ea6=this['consume'](0x8),_0x19e852=_0x3b4ea6[_0xa8a31d(0x301)](0x0);if(_0x19e852>Math[_0xa8a31d(0x2c6)](0x2,0x15)-0x1){const _0x609821=this[_0xa8a31d(0x2f8)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0xa8a31d(0x240));_0x2e12bd(_0x609821);return;}this['_payloadLength']=_0x19e852*Math[_0xa8a31d(0x2c6)](0x2,0x20)+_0x3b4ea6[_0xa8a31d(0x301)](0x4),this[_0xa8a31d(0x330)](_0x2e12bd);}[_0x5285ac(0x330)](_0x25f379){const _0x4558dc=_0x5285ac;if(this['_payloadLength']&&this[_0x4558dc(0x2ad)]<0x8&&(this[_0x4558dc(0x28c)]+=this['_payloadLength'],this[_0x4558dc(0x28c)]>this[_0x4558dc(0x29b)]&&this[_0x4558dc(0x29b)]>0x0)){const _0x575219=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4558dc(0x350));_0x25f379(_0x575219);return;}this[_0x4558dc(0x36a)]?this['_state']=_0x4752ea:this[_0x4558dc(0x2c1)]=_0x1f9ba4;}['getMask'](){const _0x29a07c=_0x5285ac;if(this[_0x29a07c(0x353)]<0x4){this[_0x29a07c(0x37a)]=!0x1;return;}this['_mask']=this[_0x29a07c(0x269)](0x4),this[_0x29a07c(0x2c1)]=_0x1f9ba4;}[_0x5285ac(0x2a4)](_0x4a6116){const _0x2f98ae=_0x5285ac;let _0x5ac5f5=_0x43443d;if(this['_payloadLength']){if(this[_0x2f98ae(0x353)]<this[_0x2f98ae(0x22e)]){this[_0x2f98ae(0x37a)]=!0x1;return;}_0x5ac5f5=this[_0x2f98ae(0x269)](this['_payloadLength']),this['_masked']&&(this[_0x2f98ae(0x36c)][0x0]|this[_0x2f98ae(0x36c)][0x1]|this[_0x2f98ae(0x36c)][0x2]|this['_mask'][0x3])!==0x0&&_0xba1c91(_0x5ac5f5,this[_0x2f98ae(0x36c)]);}if(this[_0x2f98ae(0x2ad)]>0x7){this[_0x2f98ae(0x2ec)](_0x5ac5f5,_0x4a6116);return;}if(this[_0x2f98ae(0x2c9)]){this[_0x2f98ae(0x2c1)]=_0x1420df,this['decompress'](_0x5ac5f5,_0x4a6116);return;}_0x5ac5f5[_0x2f98ae(0x1e7)]&&(this[_0x2f98ae(0x374)]=this[_0x2f98ae(0x28c)],this[_0x2f98ae(0x313)][_0x2f98ae(0x232)](_0x5ac5f5)),this['dataMessage'](_0x4a6116);}['decompress'](_0x5dd98f,_0x322c48){const _0x4450d3=_0x5285ac;this[_0x4450d3(0x2f3)][_0xea9f1a[_0x4450d3(0x1c4)]][_0x4450d3(0x2b8)](_0x5dd98f,this[_0x4450d3(0x34c)],(_0xaebf6e,_0x2fadcb)=>{const _0x510a32=_0x4450d3;if(_0xaebf6e)return _0x322c48(_0xaebf6e);if(_0x2fadcb[_0x510a32(0x1e7)]){if(this[_0x510a32(0x374)]+=_0x2fadcb[_0x510a32(0x1e7)],this['_messageLength']>this[_0x510a32(0x29b)]&&this[_0x510a32(0x29b)]>0x0){const _0x3bed8c=this[_0x510a32(0x2f8)](RangeError,_0x510a32(0x326),!0x1,0x3f1,_0x510a32(0x350));_0x322c48(_0x3bed8c);return;}this[_0x510a32(0x313)][_0x510a32(0x232)](_0x2fadcb);}this['dataMessage'](_0x322c48),this[_0x510a32(0x2c1)]===_0x5f21d9&&this[_0x510a32(0x28e)](_0x322c48);});}[_0x5285ac(0x247)](_0x2a657a){const _0x288206=_0x5285ac;if(!this[_0x288206(0x34c)]){this[_0x288206(0x2c1)]=_0x5f21d9;return;}const _0x287bcb=this[_0x288206(0x374)],_0x4c1661=this[_0x288206(0x313)];if(this[_0x288206(0x28c)]=0x0,this[_0x288206(0x374)]=0x0,this['_fragmented']=0x0,this[_0x288206(0x313)]=[],this[_0x288206(0x2ad)]===0x2){let _0x1363f0;this[_0x288206(0x1a9)]===_0x288206(0x321)?_0x1363f0=_0x35fc2d(_0x4c1661,_0x287bcb):this[_0x288206(0x1a9)]===_0x288206(0x369)?_0x1363f0=_0x51cc9d(_0x35fc2d(_0x4c1661,_0x287bcb)):this[_0x288206(0x1a9)]===_0x288206(0x32a)?_0x1363f0=new Blob(_0x4c1661):_0x1363f0=_0x4c1661,this['_allowSynchronousEvents']?(this['emit'](_0x288206(0x291),_0x1363f0,!0x0),this[_0x288206(0x2c1)]=_0x5f21d9):(this[_0x288206(0x2c1)]=_0x266647,setImmediate(()=>{const _0x2be80f=_0x288206;this[_0x2be80f(0x35c)]('message',_0x1363f0,!0x0),this[_0x2be80f(0x2c1)]=_0x5f21d9,this['startLoop'](_0x2a657a);}));}else{const _0x44a108=_0x35fc2d(_0x4c1661,_0x287bcb);if(!this[_0x288206(0x23c)]&&!_0x3c0775(_0x44a108)){const _0x2e0627=this['createError'](Error,_0x288206(0x27b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2a657a(_0x2e0627);return;}this[_0x288206(0x2c1)]===_0x1420df||this[_0x288206(0x354)]?(this['emit'](_0x288206(0x291),_0x44a108,!0x1),this[_0x288206(0x2c1)]=_0x5f21d9):(this[_0x288206(0x2c1)]=_0x266647,setImmediate(()=>{const _0x501e58=_0x288206;this['emit'](_0x501e58(0x291),_0x44a108,!0x1),this['_state']=_0x5f21d9,this['startLoop'](_0x2a657a);}));}}['controlMessage'](_0x1593c6,_0xea3e6){const _0x4539da=_0x5285ac;if(this[_0x4539da(0x2ad)]===0x8){if(_0x1593c6[_0x4539da(0x1e7)]===0x0)this[_0x4539da(0x37a)]=!0x1,this[_0x4539da(0x35c)]('conclude',0x3ed,_0x43443d),this[_0x4539da(0x1b2)]();else{const _0x21dbcd=_0x1593c6[_0x4539da(0x26d)](0x0);if(!_0x65edb2(_0x21dbcd)){const _0x27c583=this[_0x4539da(0x2f8)](RangeError,'invalid\x20status\x20code\x20'+_0x21dbcd,!0x0,0x3ea,_0x4539da(0x220));_0xea3e6(_0x27c583);return;}const _0x71a8e5=new _0x5dfc50(_0x1593c6[_0x4539da(0x2fa)],_0x1593c6[_0x4539da(0x209)]+0x2,_0x1593c6['length']-0x2);if(!this[_0x4539da(0x23c)]&&!_0x3c0775(_0x71a8e5)){const _0x56f30f=this[_0x4539da(0x2f8)](Error,_0x4539da(0x27b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xea3e6(_0x56f30f);return;}this[_0x4539da(0x37a)]=!0x1,this[_0x4539da(0x35c)](_0x4539da(0x318),_0x21dbcd,_0x71a8e5),this[_0x4539da(0x1b2)]();}this[_0x4539da(0x2c1)]=_0x5f21d9;return;}this[_0x4539da(0x354)]?(this[_0x4539da(0x35c)](this['_opcode']===0x9?_0x4539da(0x224):_0x4539da(0x2fe),_0x1593c6),this[_0x4539da(0x2c1)]=_0x5f21d9):(this[_0x4539da(0x2c1)]=_0x266647,setImmediate(()=>{const _0x38a15e=_0x4539da;this[_0x38a15e(0x35c)](this['_opcode']===0x9?_0x38a15e(0x224):_0x38a15e(0x2fe),_0x1593c6),this[_0x38a15e(0x2c1)]=_0x5f21d9,this[_0x38a15e(0x28e)](_0xea3e6);}));}[_0x5285ac(0x2f8)](_0x3a406d,_0x56573f,_0x5997cd,_0xb4977d,_0x3da918){const _0x5a01b6=_0x5285ac;this[_0x5a01b6(0x37a)]=!0x1,this['_errored']=!0x0;const _0x490872=new _0x3a406d(_0x5997cd?_0x5a01b6(0x24a)+_0x56573f:_0x56573f);return Error[_0x5a01b6(0x203)](_0x490872,this[_0x5a01b6(0x2f8)]),_0x490872[_0x5a01b6(0x31e)]=_0x3da918,_0x490872[_0xb402a2]=_0xb4977d,_0x490872;}}return _0x1b4eff=_0xc2648a,_0x1b4eff;}var _0x537e27,_0x202d27;function _0x28545b(){const _0x37515b=_0x466e55;if(_0x202d27)return _0x537e27;_0x202d27=0x1;const {Duplex:_0x47cca9}=_0x556401,{randomFillSync:_0x3723e0}=_0x51bb3e,_0x277720=_0x14be3b(),{EMPTY_BUFFER:_0x2698e8,kWebSocket:_0x116b04,NOOP:_0x3d7cc3}=_0x9a0a90(),{isBlob:_0x2c4020,isValidStatusCode:_0x2ff063}=_0xb4be09(),{mask:_0x20138d,toBuffer:_0x468f44}=_0x11aa4c(),_0x2f0c47=Symbol(_0x37515b(0x1c9)),_0x4c5400=Buffer[_0x37515b(0x365)](0x4),_0x91db7=0x8*0x400;let _0x50afd9,_0x5d0789=_0x91db7;const _0x2e7647=0x0,_0x259921=0x1,_0x5a4cb7=0x2;class _0x8af0cf{constructor(_0x2494dd,_0x412c38,_0x1ba9f5){const _0x400962=_0x37515b;this[_0x400962(0x2f3)]=_0x412c38||{},_0x1ba9f5&&(this[_0x400962(0x1f8)]=_0x1ba9f5,this['_maskBuffer']=Buffer[_0x400962(0x365)](0x4)),this[_0x400962(0x2f6)]=_0x2494dd,this[_0x400962(0x32d)]=!0x0,this[_0x400962(0x1fc)]=!0x1,this[_0x400962(0x353)]=0x0,this[_0x400962(0x1a6)]=[],this['_state']=_0x2e7647,this[_0x400962(0x368)]=_0x3d7cc3,this[_0x116b04]=void 0x0;}static[_0x37515b(0x2f1)](_0x3e7fea,_0xfea650){const _0x1f8531=_0x37515b;let _0x24a9e7,_0x57ed75=!0x1,_0x141531=0x2,_0x156cc0=!0x1;_0xfea650['mask']&&(_0x24a9e7=_0xfea650[_0x1f8531(0x2da)]||_0x4c5400,_0xfea650[_0x1f8531(0x28f)]?_0xfea650[_0x1f8531(0x28f)](_0x24a9e7):(_0x5d0789===_0x91db7&&(_0x50afd9===void 0x0&&(_0x50afd9=Buffer[_0x1f8531(0x365)](_0x91db7)),_0x3723e0(_0x50afd9,0x0,_0x91db7),_0x5d0789=0x0),_0x24a9e7[0x0]=_0x50afd9[_0x5d0789++],_0x24a9e7[0x1]=_0x50afd9[_0x5d0789++],_0x24a9e7[0x2]=_0x50afd9[_0x5d0789++],_0x24a9e7[0x3]=_0x50afd9[_0x5d0789++]),_0x156cc0=(_0x24a9e7[0x0]|_0x24a9e7[0x1]|_0x24a9e7[0x2]|_0x24a9e7[0x3])===0x0,_0x141531=0x6);let _0x20bf16;typeof _0x3e7fea==_0x1f8531(0x2a0)?(!_0xfea650['mask']||_0x156cc0)&&_0xfea650[_0x2f0c47]!==void 0x0?_0x20bf16=_0xfea650[_0x2f0c47]:(_0x3e7fea=Buffer[_0x1f8531(0x2e3)](_0x3e7fea),_0x20bf16=_0x3e7fea['length']):(_0x20bf16=_0x3e7fea['length'],_0x57ed75=_0xfea650[_0x1f8531(0x303)]&&_0xfea650['readOnly']&&!_0x156cc0);let _0x332bef=_0x20bf16;_0x20bf16>=0x10000?(_0x141531+=0x8,_0x332bef=0x7f):_0x20bf16>0x7d&&(_0x141531+=0x2,_0x332bef=0x7e);const _0x19612d=Buffer['allocUnsafe'](_0x57ed75?_0x20bf16+_0x141531:_0x141531);return _0x19612d[0x0]=_0xfea650[_0x1f8531(0x2f4)]?_0xfea650['opcode']|0x80:_0xfea650['opcode'],_0xfea650['rsv1']&&(_0x19612d[0x0]|=0x40),_0x19612d[0x1]=_0x332bef,_0x332bef===0x7e?_0x19612d[_0x1f8531(0x293)](_0x20bf16,0x2):_0x332bef===0x7f&&(_0x19612d[0x2]=_0x19612d[0x3]=0x0,_0x19612d[_0x1f8531(0x261)](_0x20bf16,0x4,0x6)),_0xfea650[_0x1f8531(0x303)]?(_0x19612d[0x1]|=0x80,_0x19612d[_0x141531-0x4]=_0x24a9e7[0x0],_0x19612d[_0x141531-0x3]=_0x24a9e7[0x1],_0x19612d[_0x141531-0x2]=_0x24a9e7[0x2],_0x19612d[_0x141531-0x1]=_0x24a9e7[0x3],_0x156cc0?[_0x19612d,_0x3e7fea]:_0x57ed75?(_0x20138d(_0x3e7fea,_0x24a9e7,_0x19612d,_0x141531,_0x20bf16),[_0x19612d]):(_0x20138d(_0x3e7fea,_0x24a9e7,_0x3e7fea,0x0,_0x20bf16),[_0x19612d,_0x3e7fea])):[_0x19612d,_0x3e7fea];}['close'](_0x415f8f,_0x364afc,_0x5befce,_0x5be899){const _0x205781=_0x37515b;let _0x5246c8;if(_0x415f8f===void 0x0)_0x5246c8=_0x2698e8;else{if(typeof _0x415f8f!=_0x205781(0x1db)||!_0x2ff063(_0x415f8f))throw new TypeError(_0x205781(0x2f7));if(_0x364afc===void 0x0||!_0x364afc[_0x205781(0x1e7)])_0x5246c8=Buffer[_0x205781(0x2ca)](0x2),_0x5246c8[_0x205781(0x293)](_0x415f8f,0x0);else{const _0x29a23e=Buffer['byteLength'](_0x364afc);if(_0x29a23e>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x5246c8=Buffer['allocUnsafe'](0x2+_0x29a23e),_0x5246c8['writeUInt16BE'](_0x415f8f,0x0),typeof _0x364afc==_0x205781(0x2a0)?_0x5246c8[_0x205781(0x1f0)](_0x364afc,0x2):_0x5246c8['set'](_0x364afc,0x2);}}const _0x2d59a2={[_0x2f0c47]:_0x5246c8[_0x205781(0x1e7)],'fin':!0x0,'generateMask':this[_0x205781(0x1f8)],'mask':_0x5befce,'maskBuffer':this[_0x205781(0x361)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x205781(0x2c1)]!==_0x2e7647?this['enqueue']([this['dispatch'],_0x5246c8,!0x1,_0x2d59a2,_0x5be899]):this[_0x205781(0x36e)](_0x8af0cf['frame'](_0x5246c8,_0x2d59a2),_0x5be899);}[_0x37515b(0x224)](_0x27a8be,_0x20addd,_0x250fe4){const _0x48e624=_0x37515b;let _0x1923a6,_0x49b001;if(typeof _0x27a8be=='string'?(_0x1923a6=Buffer[_0x48e624(0x316)](_0x27a8be),_0x49b001=!0x1):_0x2c4020(_0x27a8be)?(_0x1923a6=_0x27a8be['size'],_0x49b001=!0x1):(_0x27a8be=_0x468f44(_0x27a8be),_0x1923a6=_0x27a8be[_0x48e624(0x1e7)],_0x49b001=_0x468f44['readOnly']),_0x1923a6>0x7d)throw new RangeError(_0x48e624(0x25a));const _0x4434b0={[_0x2f0c47]:_0x1923a6,'fin':!0x0,'generateMask':this[_0x48e624(0x1f8)],'mask':_0x20addd,'maskBuffer':this[_0x48e624(0x361)],'opcode':0x9,'readOnly':_0x49b001,'rsv1':!0x1};_0x2c4020(_0x27a8be)?this[_0x48e624(0x2c1)]!==_0x2e7647?this[_0x48e624(0x2b0)]([this[_0x48e624(0x282)],_0x27a8be,!0x1,_0x4434b0,_0x250fe4]):this['getBlobData'](_0x27a8be,!0x1,_0x4434b0,_0x250fe4):this[_0x48e624(0x2c1)]!==_0x2e7647?this[_0x48e624(0x2b0)]([this[_0x48e624(0x1be)],_0x27a8be,!0x1,_0x4434b0,_0x250fe4]):this[_0x48e624(0x36e)](_0x8af0cf[_0x48e624(0x2f1)](_0x27a8be,_0x4434b0),_0x250fe4);}['pong'](_0x1d7489,_0x37b5fa,_0x1f0f81){const _0x314374=_0x37515b;let _0x4d4aa4,_0x126b40;if(typeof _0x1d7489==_0x314374(0x2a0)?(_0x4d4aa4=Buffer['byteLength'](_0x1d7489),_0x126b40=!0x1):_0x2c4020(_0x1d7489)?(_0x4d4aa4=_0x1d7489[_0x314374(0x201)],_0x126b40=!0x1):(_0x1d7489=_0x468f44(_0x1d7489),_0x4d4aa4=_0x1d7489[_0x314374(0x1e7)],_0x126b40=_0x468f44['readOnly']),_0x4d4aa4>0x7d)throw new RangeError(_0x314374(0x25a));const _0x91f9f4={[_0x2f0c47]:_0x4d4aa4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37b5fa,'maskBuffer':this[_0x314374(0x361)],'opcode':0xa,'readOnly':_0x126b40,'rsv1':!0x1};_0x2c4020(_0x1d7489)?this['_state']!==_0x2e7647?this[_0x314374(0x2b0)]([this[_0x314374(0x282)],_0x1d7489,!0x1,_0x91f9f4,_0x1f0f81]):this[_0x314374(0x282)](_0x1d7489,!0x1,_0x91f9f4,_0x1f0f81):this[_0x314374(0x2c1)]!==_0x2e7647?this[_0x314374(0x2b0)]([this[_0x314374(0x1be)],_0x1d7489,!0x1,_0x91f9f4,_0x1f0f81]):this['sendFrame'](_0x8af0cf['frame'](_0x1d7489,_0x91f9f4),_0x1f0f81);}[_0x37515b(0x206)](_0x26b9c3,_0x278b43,_0x5b6704){const _0xade5d7=_0x37515b,_0x25a03d=this[_0xade5d7(0x2f3)][_0x277720[_0xade5d7(0x1c4)]];let _0x3f6829=_0x278b43['binary']?0x2:0x1,_0x3a0d6c=_0x278b43['compress'],_0x3e591a,_0x3677c6;typeof _0x26b9c3==_0xade5d7(0x2a0)?(_0x3e591a=Buffer['byteLength'](_0x26b9c3),_0x3677c6=!0x1):_0x2c4020(_0x26b9c3)?(_0x3e591a=_0x26b9c3[_0xade5d7(0x201)],_0x3677c6=!0x1):(_0x26b9c3=_0x468f44(_0x26b9c3),_0x3e591a=_0x26b9c3[_0xade5d7(0x1e7)],_0x3677c6=_0x468f44[_0xade5d7(0x319)]),this[_0xade5d7(0x32d)]?(this[_0xade5d7(0x32d)]=!0x1,_0x3a0d6c&&_0x25a03d&&_0x25a03d[_0xade5d7(0x33a)][_0x25a03d[_0xade5d7(0x329)]?'server_no_context_takeover':_0xade5d7(0x2db)]&&(_0x3a0d6c=_0x3e591a>=_0x25a03d[_0xade5d7(0x271)]),this['_compress']=_0x3a0d6c):(_0x3a0d6c=!0x1,_0x3f6829=0x0),_0x278b43['fin']&&(this[_0xade5d7(0x32d)]=!0x0);const _0x1d170b={[_0x2f0c47]:_0x3e591a,'fin':_0x278b43['fin'],'generateMask':this[_0xade5d7(0x1f8)],'mask':_0x278b43[_0xade5d7(0x303)],'maskBuffer':this['_maskBuffer'],'opcode':_0x3f6829,'readOnly':_0x3677c6,'rsv1':_0x3a0d6c};_0x2c4020(_0x26b9c3)?this[_0xade5d7(0x2c1)]!==_0x2e7647?this[_0xade5d7(0x2b0)]([this[_0xade5d7(0x282)],_0x26b9c3,this[_0xade5d7(0x1fc)],_0x1d170b,_0x5b6704]):this[_0xade5d7(0x282)](_0x26b9c3,this[_0xade5d7(0x1fc)],_0x1d170b,_0x5b6704):this[_0xade5d7(0x2c1)]!==_0x2e7647?this[_0xade5d7(0x2b0)]([this[_0xade5d7(0x1be)],_0x26b9c3,this[_0xade5d7(0x1fc)],_0x1d170b,_0x5b6704]):this[_0xade5d7(0x1be)](_0x26b9c3,this[_0xade5d7(0x1fc)],_0x1d170b,_0x5b6704);}['getBlobData'](_0x4a59cc,_0x4a3a91,_0x5c75c4,_0x2ceb3a){const _0x59959f=_0x37515b;this[_0x59959f(0x353)]+=_0x5c75c4[_0x2f0c47],this[_0x59959f(0x2c1)]=_0x5a4cb7,_0x4a59cc['arrayBuffer']()['then'](_0x451a4f=>{const _0x58d725=_0x59959f;if(this[_0x58d725(0x2f6)][_0x58d725(0x2e1)]){const _0x5905c4=new Error(_0x58d725(0x306));process[_0x58d725(0x2de)](_0x211446,this,_0x5905c4,_0x2ceb3a);return;}this[_0x58d725(0x353)]-=_0x5c75c4[_0x2f0c47];const _0x41fbc6=_0x468f44(_0x451a4f);_0x4a3a91?this['dispatch'](_0x41fbc6,_0x4a3a91,_0x5c75c4,_0x2ceb3a):(this['_state']=_0x2e7647,this[_0x58d725(0x36e)](_0x8af0cf['frame'](_0x41fbc6,_0x5c75c4),_0x2ceb3a),this[_0x58d725(0x2ab)]());})['catch'](_0x513ddf=>{const _0x4efc30=_0x59959f;process[_0x4efc30(0x2de)](_0x5a5a21,this,_0x513ddf,_0x2ceb3a);});}[_0x37515b(0x1be)](_0x28f552,_0x58262b,_0x3113c0,_0x4d0bab){const _0x50a39a=_0x37515b;if(!_0x58262b){this['sendFrame'](_0x8af0cf['frame'](_0x28f552,_0x3113c0),_0x4d0bab);return;}const _0x2989ad=this['_extensions'][_0x277720[_0x50a39a(0x1c4)]];this[_0x50a39a(0x353)]+=_0x3113c0[_0x2f0c47],this[_0x50a39a(0x2c1)]=_0x259921,_0x2989ad[_0x50a39a(0x2e7)](_0x28f552,_0x3113c0['fin'],(_0x44abdc,_0x5a897f)=>{const _0x2b2918=_0x50a39a;if(this[_0x2b2918(0x2f6)][_0x2b2918(0x2e1)]){const _0x4d35e4=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x211446(this,_0x4d35e4,_0x4d0bab);return;}this['_bufferedBytes']-=_0x3113c0[_0x2f0c47],this['_state']=_0x2e7647,_0x3113c0[_0x2b2918(0x319)]=!0x1,this['sendFrame'](_0x8af0cf[_0x2b2918(0x2f1)](_0x5a897f,_0x3113c0),_0x4d0bab),this[_0x2b2918(0x2ab)]();});}[_0x37515b(0x2ab)](){const _0x742c17=_0x37515b;for(;this[_0x742c17(0x2c1)]===_0x2e7647&&this[_0x742c17(0x1a6)][_0x742c17(0x1e7)];){const _0x5ebf9a=this['_queue']['shift']();this[_0x742c17(0x353)]-=_0x5ebf9a[0x3][_0x2f0c47],Reflect[_0x742c17(0x229)](_0x5ebf9a[0x0],this,_0x5ebf9a[_0x742c17(0x1fd)](0x1));}}['enqueue'](_0x483b55){const _0x53f71f=_0x37515b;this[_0x53f71f(0x353)]+=_0x483b55[0x3][_0x2f0c47],this[_0x53f71f(0x1a6)][_0x53f71f(0x232)](_0x483b55);}[_0x37515b(0x36e)](_0x46a411,_0x7240e0){const _0x46590f=_0x37515b;_0x46a411['length']===0x2?(this[_0x46590f(0x2f6)][_0x46590f(0x236)](),this[_0x46590f(0x2f6)][_0x46590f(0x1f0)](_0x46a411[0x0]),this[_0x46590f(0x2f6)]['write'](_0x46a411[0x1],_0x7240e0),this[_0x46590f(0x2f6)][_0x46590f(0x23a)]()):this[_0x46590f(0x2f6)][_0x46590f(0x1f0)](_0x46a411[0x0],_0x7240e0);}}_0x537e27=_0x8af0cf;function _0x211446(_0x1595da,_0x2484d4,_0x302c40){const _0x41416f=_0x37515b;typeof _0x302c40==_0x41416f(0x336)&&_0x302c40(_0x2484d4);for(let _0x2e6278=0x0;_0x2e6278<_0x1595da[_0x41416f(0x1a6)][_0x41416f(0x1e7)];_0x2e6278++){const _0x167538=_0x1595da[_0x41416f(0x1a6)][_0x2e6278],_0x59ecbf=_0x167538[_0x167538[_0x41416f(0x1e7)]-0x1];typeof _0x59ecbf==_0x41416f(0x336)&&_0x59ecbf(_0x2484d4);}}function _0x5a5a21(_0x53f0eb,_0x20777d,_0x59b4fc){_0x211446(_0x53f0eb,_0x20777d,_0x59b4fc),_0x53f0eb['onerror'](_0x20777d);}return _0x537e27;}var _0x5e1e01,_0x3387a5;function _0x5a0fda(){const _0x2e2763=_0x466e55;if(_0x3387a5)return _0x5e1e01;_0x3387a5=0x1;const {kForOnEventAttribute:_0x40eeda,kListener:_0x28483c}=_0x9a0a90(),_0x22e771=Symbol(_0x2e2763(0x30c)),_0x22a21c=Symbol(_0x2e2763(0x20f)),_0x3aec28=Symbol(_0x2e2763(0x2c2)),_0x5f5c35=Symbol('kMessage'),_0xf4c262=Symbol(_0x2e2763(0x2eb)),_0x1df9a1=Symbol('kTarget'),_0x479cc2=Symbol('kType'),_0x1f383b=Symbol(_0x2e2763(0x2e6));class _0x3040c1{constructor(_0x4d1796){this[_0x1df9a1]=null,this[_0x479cc2]=_0x4d1796;}get['target'](){return this[_0x1df9a1];}get[_0x2e2763(0x2b4)](){return this[_0x479cc2];}}Object[_0x2e2763(0x1cd)](_0x3040c1['prototype'],_0x2e2763(0x1dc),{'enumerable':!0x0}),Object[_0x2e2763(0x1cd)](_0x3040c1[_0x2e2763(0x266)],_0x2e2763(0x2b4),{'enumerable':!0x0});class _0x238397 extends _0x3040c1{constructor(_0x32e9a2,_0x5ea6d8={}){const _0x140093=_0x2e2763;super(_0x32e9a2),this[_0x22e771]=_0x5ea6d8['code']===void 0x0?0x0:_0x5ea6d8[_0x140093(0x31e)],this[_0xf4c262]=_0x5ea6d8['reason']===void 0x0?'':_0x5ea6d8[_0x140093(0x1c0)],this[_0x1f383b]=_0x5ea6d8['wasClean']===void 0x0?!0x1:_0x5ea6d8[_0x140093(0x37c)];}get[_0x2e2763(0x31e)](){return this[_0x22e771];}get[_0x2e2763(0x1c0)](){return this[_0xf4c262];}get[_0x2e2763(0x37c)](){return this[_0x1f383b];}}Object['defineProperty'](_0x238397[_0x2e2763(0x266)],'code',{'enumerable':!0x0}),Object[_0x2e2763(0x1cd)](_0x238397[_0x2e2763(0x266)],_0x2e2763(0x1c0),{'enumerable':!0x0}),Object[_0x2e2763(0x1cd)](_0x238397[_0x2e2763(0x266)],_0x2e2763(0x37c),{'enumerable':!0x0});class _0x23a150 extends _0x3040c1{constructor(_0x4dd1c0,_0x3cc60f={}){const _0x451dc0=_0x2e2763;super(_0x4dd1c0),this[_0x3aec28]=_0x3cc60f[_0x451dc0(0x1aa)]===void 0x0?null:_0x3cc60f[_0x451dc0(0x1aa)],this[_0x5f5c35]=_0x3cc60f[_0x451dc0(0x291)]===void 0x0?'':_0x3cc60f[_0x451dc0(0x291)];}get[_0x2e2763(0x1aa)](){return this[_0x3aec28];}get[_0x2e2763(0x291)](){return this[_0x5f5c35];}}Object[_0x2e2763(0x1cd)](_0x23a150[_0x2e2763(0x266)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x23a150[_0x2e2763(0x266)],_0x2e2763(0x291),{'enumerable':!0x0});class _0x513dde extends _0x3040c1{constructor(_0x13ee0b,_0x102b00={}){const _0x54b97e=_0x2e2763;super(_0x13ee0b),this[_0x22a21c]=_0x102b00[_0x54b97e(0x268)]===void 0x0?null:_0x102b00[_0x54b97e(0x268)];}get[_0x2e2763(0x268)](){return this[_0x22a21c];}}Object[_0x2e2763(0x1cd)](_0x513dde[_0x2e2763(0x266)],_0x2e2763(0x268),{'enumerable':!0x0}),_0x5e1e01={'CloseEvent':_0x238397,'ErrorEvent':_0x23a150,'Event':_0x3040c1,'EventTarget':{'addEventListener'(_0x43b7ec,_0xf1aad3,_0x2f6e13={}){const _0xb444fe=_0x2e2763;for(const _0x2f84b2 of this[_0xb444fe(0x2a5)](_0x43b7ec))if(!_0x2f6e13[_0x40eeda]&&_0x2f84b2[_0x28483c]===_0xf1aad3&&!_0x2f84b2[_0x40eeda])return;let _0xb3318a;if(_0x43b7ec===_0xb444fe(0x291))_0xb3318a=function(_0x3283d6,_0x341816){const _0x5bb65b=_0xb444fe,_0x242f7e=new _0x513dde('message',{'data':_0x341816?_0x3283d6:_0x3283d6[_0x5bb65b(0x1f2)]()});_0x242f7e[_0x1df9a1]=this,_0x2b3690(_0xf1aad3,this,_0x242f7e);};else{if(_0x43b7ec===_0xb444fe(0x29d))_0xb3318a=function(_0x52dd93,_0x88014a){const _0x57bf7c=_0xb444fe,_0x1e3682=new _0x238397(_0x57bf7c(0x29d),{'code':_0x52dd93,'reason':_0x88014a['toString'](),'wasClean':this[_0x57bf7c(0x376)]&&this[_0x57bf7c(0x238)]});_0x1e3682[_0x1df9a1]=this,_0x2b3690(_0xf1aad3,this,_0x1e3682);};else{if(_0x43b7ec===_0xb444fe(0x1aa))_0xb3318a=function(_0x19e948){const _0x5dc7e6=_0xb444fe,_0x39bc96=new _0x23a150('error',{'error':_0x19e948,'message':_0x19e948[_0x5dc7e6(0x291)]});_0x39bc96[_0x1df9a1]=this,_0x2b3690(_0xf1aad3,this,_0x39bc96);};else{if(_0x43b7ec==='open')_0xb3318a=function(){const _0xa90f56=new _0x3040c1('open');_0xa90f56[_0x1df9a1]=this,_0x2b3690(_0xf1aad3,this,_0xa90f56);};else return;}}}_0xb3318a[_0x40eeda]=!!_0x2f6e13[_0x40eeda],_0xb3318a[_0x28483c]=_0xf1aad3,_0x2f6e13[_0xb444fe(0x27e)]?this['once'](_0x43b7ec,_0xb3318a):this['on'](_0x43b7ec,_0xb3318a);},'removeEventListener'(_0x531927,_0x179ed1){const _0x56bca7=_0x2e2763;for(const _0x59df95 of this[_0x56bca7(0x2a5)](_0x531927))if(_0x59df95[_0x28483c]===_0x179ed1&&!_0x59df95[_0x40eeda]){this[_0x56bca7(0x2dc)](_0x531927,_0x59df95);break;}}},'MessageEvent':_0x513dde};function _0x2b3690(_0x5d326e,_0x3cea9a,_0x11a6a5){const _0x1c31df=_0x2e2763;typeof _0x5d326e=='object'&&_0x5d326e['handleEvent']?_0x5d326e[_0x1c31df(0x328)][_0x1c31df(0x2bd)](_0x5d326e,_0x11a6a5):_0x5d326e[_0x1c31df(0x2bd)](_0x3cea9a,_0x11a6a5);}return _0x5e1e01;}var _0x10902c,_0x4ab9b8;function _0x2157c6(){if(_0x4ab9b8)return _0x10902c;_0x4ab9b8=0x1;const {tokenChars:_0x3b1724}=_0xb4be09();function _0x2414ca(_0x29d389,_0x2105c6,_0x442652){const _0x3c278d=_0x203d;_0x29d389[_0x2105c6]===void 0x0?_0x29d389[_0x2105c6]=[_0x442652]:_0x29d389[_0x2105c6][_0x3c278d(0x232)](_0x442652);}function _0x497649(_0x51ee02){const _0x210758=_0x203d,_0x37ab0b=Object[_0x210758(0x213)](null);let _0x4666b3=Object[_0x210758(0x213)](null),_0x24238e=!0x1,_0x394b65=!0x1,_0x2ac890=!0x1,_0x10ad75,_0x124809,_0x2dabb1=-0x1,_0x431254=-0x1,_0x540233=-0x1,_0x443a34=0x0;for(;_0x443a34<_0x51ee02[_0x210758(0x1e7)];_0x443a34++)if(_0x431254=_0x51ee02['charCodeAt'](_0x443a34),_0x10ad75===void 0x0){if(_0x540233===-0x1&&_0x3b1724[_0x431254]===0x1)_0x2dabb1===-0x1&&(_0x2dabb1=_0x443a34);else{if(_0x443a34!==0x0&&(_0x431254===0x20||_0x431254===0x9))_0x540233===-0x1&&_0x2dabb1!==-0x1&&(_0x540233=_0x443a34);else{if(_0x431254===0x3b||_0x431254===0x2c){if(_0x2dabb1===-0x1)throw new SyntaxError(_0x210758(0x2d2)+_0x443a34);_0x540233===-0x1&&(_0x540233=_0x443a34);const _0x118413=_0x51ee02[_0x210758(0x1fd)](_0x2dabb1,_0x540233);_0x431254===0x2c?(_0x2414ca(_0x37ab0b,_0x118413,_0x4666b3),_0x4666b3=Object[_0x210758(0x213)](null)):_0x10ad75=_0x118413,_0x2dabb1=_0x540233=-0x1;}else throw new SyntaxError(_0x210758(0x2d2)+_0x443a34);}}}else{if(_0x124809===void 0x0){if(_0x540233===-0x1&&_0x3b1724[_0x431254]===0x1)_0x2dabb1===-0x1&&(_0x2dabb1=_0x443a34);else{if(_0x431254===0x20||_0x431254===0x9)_0x540233===-0x1&&_0x2dabb1!==-0x1&&(_0x540233=_0x443a34);else{if(_0x431254===0x3b||_0x431254===0x2c){if(_0x2dabb1===-0x1)throw new SyntaxError(_0x210758(0x2d2)+_0x443a34);_0x540233===-0x1&&(_0x540233=_0x443a34),_0x2414ca(_0x4666b3,_0x51ee02[_0x210758(0x1fd)](_0x2dabb1,_0x540233),!0x0),_0x431254===0x2c&&(_0x2414ca(_0x37ab0b,_0x10ad75,_0x4666b3),_0x4666b3=Object['create'](null),_0x10ad75=void 0x0),_0x2dabb1=_0x540233=-0x1;}else{if(_0x431254===0x3d&&_0x2dabb1!==-0x1&&_0x540233===-0x1)_0x124809=_0x51ee02[_0x210758(0x1fd)](_0x2dabb1,_0x443a34),_0x2dabb1=_0x540233=-0x1;else throw new SyntaxError(_0x210758(0x2d2)+_0x443a34);}}}}else{if(_0x394b65){if(_0x3b1724[_0x431254]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x443a34);_0x2dabb1===-0x1?_0x2dabb1=_0x443a34:_0x24238e||(_0x24238e=!0x0),_0x394b65=!0x1;}else{if(_0x2ac890){if(_0x3b1724[_0x431254]===0x1)_0x2dabb1===-0x1&&(_0x2dabb1=_0x443a34);else{if(_0x431254===0x22&&_0x2dabb1!==-0x1)_0x2ac890=!0x1,_0x540233=_0x443a34;else{if(_0x431254===0x5c)_0x394b65=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x443a34);}}}else{if(_0x431254===0x22&&_0x51ee02[_0x210758(0x2b3)](_0x443a34-0x1)===0x3d)_0x2ac890=!0x0;else{if(_0x540233===-0x1&&_0x3b1724[_0x431254]===0x1)_0x2dabb1===-0x1&&(_0x2dabb1=_0x443a34);else{if(_0x2dabb1!==-0x1&&(_0x431254===0x20||_0x431254===0x9))_0x540233===-0x1&&(_0x540233=_0x443a34);else{if(_0x431254===0x3b||_0x431254===0x2c){if(_0x2dabb1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x443a34);_0x540233===-0x1&&(_0x540233=_0x443a34);let _0x153fe2=_0x51ee02[_0x210758(0x1fd)](_0x2dabb1,_0x540233);_0x24238e&&(_0x153fe2=_0x153fe2[_0x210758(0x29c)](/\\/g,''),_0x24238e=!0x1),_0x2414ca(_0x4666b3,_0x124809,_0x153fe2),_0x431254===0x2c&&(_0x2414ca(_0x37ab0b,_0x10ad75,_0x4666b3),_0x4666b3=Object[_0x210758(0x213)](null),_0x10ad75=void 0x0),_0x124809=void 0x0,_0x2dabb1=_0x540233=-0x1;}else throw new SyntaxError(_0x210758(0x2d2)+_0x443a34);}}}}}}}if(_0x2dabb1===-0x1||_0x2ac890||_0x431254===0x20||_0x431254===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x540233===-0x1&&(_0x540233=_0x443a34);const _0x26f05b=_0x51ee02['slice'](_0x2dabb1,_0x540233);return _0x10ad75===void 0x0?_0x2414ca(_0x37ab0b,_0x26f05b,_0x4666b3):(_0x124809===void 0x0?_0x2414ca(_0x4666b3,_0x26f05b,!0x0):_0x24238e?_0x2414ca(_0x4666b3,_0x124809,_0x26f05b['replace'](/\\/g,'')):_0x2414ca(_0x4666b3,_0x124809,_0x26f05b),_0x2414ca(_0x37ab0b,_0x10ad75,_0x4666b3)),_0x37ab0b;}function _0x1d5383(_0x41e016){return Object['keys'](_0x41e016)['map'](_0x72b3d0=>{const _0x344c90=_0x203d;let _0x3cbab8=_0x41e016[_0x72b3d0];return Array[_0x344c90(0x355)](_0x3cbab8)||(_0x3cbab8=[_0x3cbab8]),_0x3cbab8['map'](_0x374f91=>[_0x72b3d0][_0x344c90(0x233)](Object[_0x344c90(0x267)](_0x374f91)[_0x344c90(0x30e)](_0x4cb4c8=>{const _0x5552d0=_0x344c90;let _0x370bd3=_0x374f91[_0x4cb4c8];return Array[_0x5552d0(0x355)](_0x370bd3)||(_0x370bd3=[_0x370bd3]),_0x370bd3[_0x5552d0(0x30e)](_0x2a6fc1=>_0x2a6fc1===!0x0?_0x4cb4c8:_0x4cb4c8+'='+_0x2a6fc1)[_0x5552d0(0x242)](';\x20');}))[_0x344c90(0x242)](';\x20'))['join'](',\x20');})['join'](',\x20');}return _0x10902c={'format':_0x1d5383,'parse':_0x497649},_0x10902c;}var _0x363ef4,_0x462b22;function _0x397788(){const _0x21ec6b=_0x466e55;if(_0x462b22)return _0x363ef4;_0x462b22=0x1;const _0x5946b1=_0x2e677e,_0xbe8e10=_0x359f92,_0x3b3bfa=_0x231da6,_0x1f473f=_0x3c157a,_0x2fcf15=_0x10cb97,{randomBytes:_0x4c0d27,createHash:_0x237674}=_0x51bb3e,{Duplex:_0x3d38a6,Readable:_0x59a89b}=_0x556401,{URL:_0x1f4c00}=_0x145b09,_0x2e28bb=_0x14be3b(),_0x51069e=_0x33af96(),_0x485f6f=_0x28545b(),{isBlob:_0xba1eab}=_0xb4be09(),{BINARY_TYPES:_0x51e2e7,EMPTY_BUFFER:_0xf11ef1,GUID:_0x4efb04,kForOnEventAttribute:_0x5cda32,kListener:_0x5d25bb,kStatusCode:_0x50f51c,kWebSocket:_0x4db407,NOOP:_0x203b12}=_0x9a0a90(),{EventTarget:{addEventListener:_0xe0d243,removeEventListener:_0x205502}}=_0x5a0fda(),{format:_0xe9f510,parse:_0x25e2f8}=_0x2157c6(),{toBuffer:_0x4cbb2e}=_0x11aa4c(),_0x5d0538=0x1e*0x3e8,_0x1d1cbf=Symbol('kAborted'),_0x3f7af4=[0x8,0xd],_0x3d4f17=['CONNECTING',_0x21ec6b(0x2b1),_0x21ec6b(0x257),_0x21ec6b(0x211)],_0x383281=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2cfb82 extends _0x5946b1{constructor(_0x1dcd12,_0x5563b3,_0x5629a7){const _0x244233=_0x21ec6b;super(),this['_binaryType']=_0x51e2e7[0x0],this[_0x244233(0x26e)]=0x3ee,this[_0x244233(0x376)]=!0x1,this[_0x244233(0x238)]=!0x1,this['_closeMessage']=_0xf11ef1,this[_0x244233(0x275)]=null,this['_errorEmitted']=!0x1,this[_0x244233(0x2f3)]={},this['_paused']=!0x1,this[_0x244233(0x2cf)]='',this['_readyState']=_0x2cfb82['CONNECTING'],this[_0x244233(0x227)]=null,this[_0x244233(0x221)]=null,this[_0x244233(0x2f6)]=null,_0x1dcd12!==null?(this[_0x244233(0x1ac)]=0x0,this[_0x244233(0x329)]=!0x1,this[_0x244233(0x1b5)]=0x0,_0x5563b3===void 0x0?_0x5563b3=[]:Array['isArray'](_0x5563b3)||(typeof _0x5563b3=='object'&&_0x5563b3!==null?(_0x5629a7=_0x5563b3,_0x5563b3=[]):_0x5563b3=[_0x5563b3]),_0x1b02bb(this,_0x1dcd12,_0x5563b3,_0x5629a7)):(this[_0x244233(0x314)]=_0x5629a7[_0x244233(0x223)],this[_0x244233(0x329)]=!0x0);}get['binaryType'](){const _0x588b5a=_0x21ec6b;return this[_0x588b5a(0x1a9)];}set[_0x21ec6b(0x32e)](_0x3d12f2){const _0x5549eb=_0x21ec6b;_0x51e2e7[_0x5549eb(0x218)](_0x3d12f2)&&(this[_0x5549eb(0x1a9)]=_0x3d12f2,this['_receiver']&&(this[_0x5549eb(0x227)]['_binaryType']=_0x3d12f2));}get['bufferedAmount'](){const _0x1d5e68=_0x21ec6b;return this['_socket']?this[_0x1d5e68(0x2f6)][_0x1d5e68(0x2d6)][_0x1d5e68(0x1e7)]+this[_0x1d5e68(0x221)][_0x1d5e68(0x353)]:this[_0x1d5e68(0x1ac)];}get['extensions'](){const _0x5c1ac8=_0x21ec6b;return Object[_0x5c1ac8(0x267)](this[_0x5c1ac8(0x2f3)])[_0x5c1ac8(0x242)]();}get[_0x21ec6b(0x1b4)](){const _0x4c91bd=_0x21ec6b;return this[_0x4c91bd(0x2af)];}get[_0x21ec6b(0x1d9)](){return null;}get[_0x21ec6b(0x368)](){return null;}get['onopen'](){return null;}get[_0x21ec6b(0x222)](){return null;}get[_0x21ec6b(0x276)](){const _0x4a19c6=_0x21ec6b;return this[_0x4a19c6(0x2cf)];}get[_0x21ec6b(0x305)](){const _0x442d86=_0x21ec6b;return this[_0x442d86(0x2ee)];}get[_0x21ec6b(0x25d)](){const _0x2dee99=_0x21ec6b;return this[_0x2dee99(0x31d)];}[_0x21ec6b(0x30d)](_0x5e41cd,_0xabf81d,_0x392a45){const _0x4ec88e=_0x21ec6b,_0x1388f9=new _0x51069e({'allowSynchronousEvents':_0x392a45[_0x4ec88e(0x1de)],'binaryType':this[_0x4ec88e(0x32e)],'extensions':this[_0x4ec88e(0x2f3)],'isServer':this[_0x4ec88e(0x329)],'maxPayload':_0x392a45[_0x4ec88e(0x32f)],'skipUTF8Validation':_0x392a45[_0x4ec88e(0x289)]}),_0x59900a=new _0x485f6f(_0x5e41cd,this[_0x4ec88e(0x2f3)],_0x392a45[_0x4ec88e(0x28f)]);this['_receiver']=_0x1388f9,this[_0x4ec88e(0x221)]=_0x59900a,this[_0x4ec88e(0x2f6)]=_0x5e41cd,_0x1388f9[_0x4db407]=this,_0x59900a[_0x4db407]=this,_0x5e41cd[_0x4db407]=this,_0x1388f9['on'](_0x4ec88e(0x318),_0x5536eb),_0x1388f9['on'](_0x4ec88e(0x22f),_0x119416),_0x1388f9['on'](_0x4ec88e(0x1aa),_0x3d0f8b),_0x1388f9['on'](_0x4ec88e(0x291),_0x3962cd),_0x1388f9['on']('ping',_0xdb90b4),_0x1388f9['on'](_0x4ec88e(0x2fe),_0x40ea3a),_0x59900a[_0x4ec88e(0x368)]=_0xb59392,_0x5e41cd['setTimeout']&&_0x5e41cd[_0x4ec88e(0x332)](0x0),_0x5e41cd[_0x4ec88e(0x1ef)]&&_0x5e41cd[_0x4ec88e(0x1ef)](),_0xabf81d[_0x4ec88e(0x1e7)]>0x0&&_0x5e41cd[_0x4ec88e(0x1a8)](_0xabf81d),_0x5e41cd['on'](_0x4ec88e(0x29d),_0x46b81d),_0x5e41cd['on'](_0x4ec88e(0x268),_0x3d9ad3),_0x5e41cd['on']('end',_0x943761),_0x5e41cd['on']('error',_0x2d0bee),this[_0x4ec88e(0x2ee)]=_0x2cfb82[_0x4ec88e(0x2b1)],this[_0x4ec88e(0x35c)]('open');}[_0x21ec6b(0x338)](){const _0x346cd6=_0x21ec6b;if(!this[_0x346cd6(0x2f6)]){this['_readyState']=_0x2cfb82[_0x346cd6(0x211)],this[_0x346cd6(0x35c)](_0x346cd6(0x29d),this[_0x346cd6(0x26e)],this[_0x346cd6(0x1e2)]);return;}this['_extensions'][_0x2e28bb[_0x346cd6(0x1c4)]]&&this[_0x346cd6(0x2f3)][_0x2e28bb[_0x346cd6(0x1c4)]][_0x346cd6(0x2e5)](),this[_0x346cd6(0x227)][_0x346cd6(0x1df)](),this[_0x346cd6(0x2ee)]=_0x2cfb82['CLOSED'],this[_0x346cd6(0x35c)]('close',this[_0x346cd6(0x26e)],this[_0x346cd6(0x1e2)]);}[_0x21ec6b(0x29d)](_0x2f0e86,_0x19f0e6){const _0x4a6f30=_0x21ec6b;if(this[_0x4a6f30(0x305)]!==_0x2cfb82[_0x4a6f30(0x211)]){if(this['readyState']===_0x2cfb82[_0x4a6f30(0x2f0)]){_0x184f66(this,this[_0x4a6f30(0x231)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a6f30(0x305)]===_0x2cfb82[_0x4a6f30(0x257)]){this[_0x4a6f30(0x238)]&&(this[_0x4a6f30(0x376)]||this[_0x4a6f30(0x227)]['_writableState'][_0x4a6f30(0x250)])&&this[_0x4a6f30(0x2f6)]['end']();return;}this['_readyState']=_0x2cfb82[_0x4a6f30(0x257)],this[_0x4a6f30(0x221)][_0x4a6f30(0x29d)](_0x2f0e86,_0x19f0e6,!this['_isServer'],_0x59bcfa=>{const _0x2df574=_0x4a6f30;_0x59bcfa||(this['_closeFrameSent']=!0x0,(this[_0x2df574(0x376)]||this['_receiver'][_0x2df574(0x2d6)]['errorEmitted'])&&this[_0x2df574(0x2f6)]['end']());}),_0x55935a(this);}}[_0x21ec6b(0x2d8)](){const _0x42d6d3=_0x21ec6b;this[_0x42d6d3(0x305)]===_0x2cfb82[_0x42d6d3(0x2f0)]||this[_0x42d6d3(0x305)]===_0x2cfb82['CLOSED']||(this[_0x42d6d3(0x2af)]=!0x0,this['_socket'][_0x42d6d3(0x2d8)]());}[_0x21ec6b(0x224)](_0x3f83bc,_0x48d7bb,_0x253af1){const _0x4028ca=_0x21ec6b;if(this[_0x4028ca(0x305)]===_0x2cfb82[_0x4028ca(0x2f0)])throw new Error(_0x4028ca(0x1cf));if(typeof _0x3f83bc==_0x4028ca(0x336)?(_0x253af1=_0x3f83bc,_0x3f83bc=_0x48d7bb=void 0x0):typeof _0x48d7bb==_0x4028ca(0x336)&&(_0x253af1=_0x48d7bb,_0x48d7bb=void 0x0),typeof _0x3f83bc==_0x4028ca(0x1db)&&(_0x3f83bc=_0x3f83bc['toString']()),this['readyState']!==_0x2cfb82[_0x4028ca(0x2b1)]){_0x91f639(this,_0x3f83bc,_0x253af1);return;}_0x48d7bb===void 0x0&&(_0x48d7bb=!this[_0x4028ca(0x329)]),this['_sender'][_0x4028ca(0x224)](_0x3f83bc||_0xf11ef1,_0x48d7bb,_0x253af1);}[_0x21ec6b(0x2fe)](_0x31bc73,_0x5abdad,_0x2ef07d){const _0x3f7e33=_0x21ec6b;if(this[_0x3f7e33(0x305)]===_0x2cfb82['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x31bc73=='function'?(_0x2ef07d=_0x31bc73,_0x31bc73=_0x5abdad=void 0x0):typeof _0x5abdad=='function'&&(_0x2ef07d=_0x5abdad,_0x5abdad=void 0x0),typeof _0x31bc73==_0x3f7e33(0x1db)&&(_0x31bc73=_0x31bc73['toString']()),this[_0x3f7e33(0x305)]!==_0x2cfb82[_0x3f7e33(0x2b1)]){_0x91f639(this,_0x31bc73,_0x2ef07d);return;}_0x5abdad===void 0x0&&(_0x5abdad=!this[_0x3f7e33(0x329)]),this[_0x3f7e33(0x221)][_0x3f7e33(0x2fe)](_0x31bc73||_0xf11ef1,_0x5abdad,_0x2ef07d);}[_0x21ec6b(0x2fb)](){const _0x4678de=_0x21ec6b;this[_0x4678de(0x305)]===_0x2cfb82['CONNECTING']||this['readyState']===_0x2cfb82[_0x4678de(0x211)]||(this[_0x4678de(0x2af)]=!0x1,this[_0x4678de(0x227)][_0x4678de(0x2d6)]['needDrain']||this[_0x4678de(0x2f6)][_0x4678de(0x2fb)]());}[_0x21ec6b(0x206)](_0x19c707,_0x24ccb1,_0x1cc2ba){const _0x442ea5=_0x21ec6b;if(this[_0x442ea5(0x305)]===_0x2cfb82[_0x442ea5(0x2f0)])throw new Error(_0x442ea5(0x1cf));if(typeof _0x24ccb1=='function'&&(_0x1cc2ba=_0x24ccb1,_0x24ccb1={}),typeof _0x19c707==_0x442ea5(0x1db)&&(_0x19c707=_0x19c707[_0x442ea5(0x1f2)]()),this['readyState']!==_0x2cfb82[_0x442ea5(0x2b1)]){_0x91f639(this,_0x19c707,_0x1cc2ba);return;}const _0x26f30d={'binary':typeof _0x19c707!='string','mask':!this[_0x442ea5(0x329)],'compress':!0x0,'fin':!0x0,..._0x24ccb1};this[_0x442ea5(0x2f3)][_0x2e28bb['extensionName']]||(_0x26f30d['compress']=!0x1),this[_0x442ea5(0x221)][_0x442ea5(0x206)](_0x19c707||_0xf11ef1,_0x26f30d,_0x1cc2ba);}[_0x21ec6b(0x270)](){const _0x5ea0fb=_0x21ec6b;if(this['readyState']!==_0x2cfb82[_0x5ea0fb(0x211)]){if(this[_0x5ea0fb(0x305)]===_0x2cfb82[_0x5ea0fb(0x2f0)]){_0x184f66(this,this[_0x5ea0fb(0x231)],_0x5ea0fb(0x21d));return;}this[_0x5ea0fb(0x2f6)]&&(this[_0x5ea0fb(0x2ee)]=_0x2cfb82[_0x5ea0fb(0x257)],this[_0x5ea0fb(0x2f6)][_0x5ea0fb(0x341)]());}}}Object[_0x21ec6b(0x1cd)](_0x2cfb82,_0x21ec6b(0x2f0),{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)](_0x21ec6b(0x2f0))}),Object[_0x21ec6b(0x1cd)](_0x2cfb82[_0x21ec6b(0x266)],_0x21ec6b(0x2f0),{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)](_0x21ec6b(0x2f0))}),Object[_0x21ec6b(0x1cd)](_0x2cfb82,'OPEN',{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)](_0x21ec6b(0x2b1))}),Object[_0x21ec6b(0x1cd)](_0x2cfb82[_0x21ec6b(0x266)],'OPEN',{'enumerable':!0x0,'value':_0x3d4f17['indexOf'](_0x21ec6b(0x2b1))}),Object['defineProperty'](_0x2cfb82,'CLOSING',{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)](_0x21ec6b(0x257))}),Object[_0x21ec6b(0x1cd)](_0x2cfb82['prototype'],_0x21ec6b(0x257),{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)]('CLOSING')}),Object['defineProperty'](_0x2cfb82,_0x21ec6b(0x211),{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)]('CLOSED')}),Object['defineProperty'](_0x2cfb82['prototype'],_0x21ec6b(0x211),{'enumerable':!0x0,'value':_0x3d4f17[_0x21ec6b(0x1f4)](_0x21ec6b(0x211))}),[_0x21ec6b(0x32e),_0x21ec6b(0x2bb),_0x21ec6b(0x214),_0x21ec6b(0x1b4),_0x21ec6b(0x276),_0x21ec6b(0x305),_0x21ec6b(0x25d)][_0x21ec6b(0x290)](_0x16e8d2=>{const _0xda5a7f=_0x21ec6b;Object[_0xda5a7f(0x1cd)](_0x2cfb82[_0xda5a7f(0x266)],_0x16e8d2,{'enumerable':!0x0});}),[_0x21ec6b(0x1dd),_0x21ec6b(0x1aa),_0x21ec6b(0x29d),_0x21ec6b(0x291)][_0x21ec6b(0x290)](_0x38e5da=>{const _0x4a5753=_0x21ec6b;Object[_0x4a5753(0x1cd)](_0x2cfb82[_0x4a5753(0x266)],'on'+_0x38e5da,{'enumerable':!0x0,'get'(){const _0x857a36=_0x4a5753;for(const _0x308b7e of this[_0x857a36(0x2a5)](_0x38e5da))if(_0x308b7e[_0x5cda32])return _0x308b7e[_0x5d25bb];return null;},'set'(_0x224f25){const _0x2e2ec3=_0x4a5753;for(const _0xc9ab8b of this['listeners'](_0x38e5da))if(_0xc9ab8b[_0x5cda32]){this[_0x2e2ec3(0x2dc)](_0x38e5da,_0xc9ab8b);break;}typeof _0x224f25==_0x2e2ec3(0x336)&&this[_0x2e2ec3(0x308)](_0x38e5da,_0x224f25,{[_0x5cda32]:!0x0});}});}),_0x2cfb82['prototype']['addEventListener']=_0xe0d243,_0x2cfb82[_0x21ec6b(0x266)][_0x21ec6b(0x31b)]=_0x205502,_0x363ef4=_0x2cfb82;function _0x1b02bb(_0x3a9074,_0x4b8ffd,_0x4691be,_0x493f7d){const _0x21f6fd=_0x21ec6b,_0x2bc200={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3f7af4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x493f7d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x21f6fd(0x1c2),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a9074[_0x21f6fd(0x314)]=_0x2bc200[_0x21f6fd(0x223)],!_0x3f7af4[_0x21f6fd(0x218)](_0x2bc200[_0x21f6fd(0x311)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2bc200[_0x21f6fd(0x311)]+_0x21f6fd(0x33e)+_0x3f7af4[_0x21f6fd(0x242)](',\x20')+')');let _0x512f3c;if(_0x4b8ffd instanceof _0x1f4c00)_0x512f3c=_0x4b8ffd;else try{_0x512f3c=new _0x1f4c00(_0x4b8ffd);}catch{throw new SyntaxError(_0x21f6fd(0x1b9)+_0x4b8ffd);}_0x512f3c[_0x21f6fd(0x276)]===_0x21f6fd(0x248)?_0x512f3c['protocol']=_0x21f6fd(0x1e1):_0x512f3c[_0x21f6fd(0x276)]===_0x21f6fd(0x23e)&&(_0x512f3c['protocol']='wss:'),_0x3a9074[_0x21f6fd(0x31d)]=_0x512f3c[_0x21f6fd(0x1b7)];const _0x497758=_0x512f3c['protocol']===_0x21f6fd(0x2b7),_0xa8244d=_0x512f3c['protocol']==='ws+unix:';let _0x39c50f;if(_0x512f3c[_0x21f6fd(0x276)]!==_0x21f6fd(0x1e1)&&!_0x497758&&!_0xa8244d?_0x39c50f=_0x21f6fd(0x32c):_0xa8244d&&!_0x512f3c[_0x21f6fd(0x1d7)]?_0x39c50f='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x512f3c[_0x21f6fd(0x204)]&&(_0x39c50f=_0x21f6fd(0x24c)),_0x39c50f){const _0x2a1318=new SyntaxError(_0x39c50f);if(_0x3a9074[_0x21f6fd(0x1b5)]===0x0)throw _0x2a1318;_0x169847(_0x3a9074,_0x2a1318);return;}const _0x14c8f2=_0x497758?0x1bb:0x50,_0x3f9bbf=_0x4c0d27(0x10)[_0x21f6fd(0x1f2)]('base64'),_0x650734=_0x497758?_0xbe8e10[_0x21f6fd(0x263)]:_0x3b3bfa[_0x21f6fd(0x263)],_0x390928=new Set();let _0x21f0b6;if(_0x2bc200[_0x21f6fd(0x230)]=_0x2bc200['createConnection']||(_0x497758?_0x3c3773:_0x24c0a7),_0x2bc200[_0x21f6fd(0x281)]=_0x2bc200[_0x21f6fd(0x281)]||_0x14c8f2,_0x2bc200[_0x21f6fd(0x312)]=_0x512f3c[_0x21f6fd(0x312)]||_0x14c8f2,_0x2bc200[_0x21f6fd(0x34a)]=_0x512f3c[_0x21f6fd(0x1ba)][_0x21f6fd(0x34f)]('[')?_0x512f3c[_0x21f6fd(0x1ba)][_0x21f6fd(0x1fd)](0x1,-0x1):_0x512f3c[_0x21f6fd(0x1ba)],_0x2bc200[_0x21f6fd(0x315)]={..._0x2bc200['headers'],'Sec-WebSocket-Version':_0x2bc200[_0x21f6fd(0x311)],'Sec-WebSocket-Key':_0x3f9bbf,'Connection':_0x21f6fd(0x1ab),'Upgrade':_0x21f6fd(0x358)},_0x2bc200['path']=_0x512f3c[_0x21f6fd(0x1d7)]+_0x512f3c['search'],_0x2bc200[_0x21f6fd(0x375)]=_0x2bc200['handshakeTimeout'],_0x2bc200[_0x21f6fd(0x2be)]&&(_0x21f0b6=new _0x2e28bb(_0x2bc200['perMessageDeflate']!==!0x0?_0x2bc200[_0x21f6fd(0x2be)]:{},!0x1,_0x2bc200[_0x21f6fd(0x32f)]),_0x2bc200[_0x21f6fd(0x315)][_0x21f6fd(0x20d)]=_0xe9f510({[_0x2e28bb[_0x21f6fd(0x1c4)]]:_0x21f0b6[_0x21f6fd(0x21a)]()})),_0x4691be[_0x21f6fd(0x1e7)]){for(const _0x36aed3 of _0x4691be){if(typeof _0x36aed3!=_0x21f6fd(0x2a0)||!_0x383281[_0x21f6fd(0x351)](_0x36aed3)||_0x390928['has'](_0x36aed3))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x390928['add'](_0x36aed3);}_0x2bc200['headers'][_0x21f6fd(0x2aa)]=_0x4691be[_0x21f6fd(0x242)](',');}if(_0x2bc200[_0x21f6fd(0x23b)]&&(_0x2bc200[_0x21f6fd(0x311)]<0xd?_0x2bc200['headers'][_0x21f6fd(0x1c8)]=_0x2bc200[_0x21f6fd(0x23b)]:_0x2bc200[_0x21f6fd(0x315)][_0x21f6fd(0x253)]=_0x2bc200['origin']),(_0x512f3c[_0x21f6fd(0x259)]||_0x512f3c[_0x21f6fd(0x26b)])&&(_0x2bc200[_0x21f6fd(0x2fd)]=_0x512f3c[_0x21f6fd(0x259)]+':'+_0x512f3c['password']),_0xa8244d){const _0x32f42b=_0x2bc200['path'][_0x21f6fd(0x260)](':');_0x2bc200[_0x21f6fd(0x272)]=_0x32f42b[0x0],_0x2bc200[_0x21f6fd(0x307)]=_0x32f42b[0x1];}let _0x46a4d5;if(_0x2bc200[_0x21f6fd(0x1f6)]){if(_0x3a9074['_redirects']===0x0){_0x3a9074[_0x21f6fd(0x342)]=_0xa8244d,_0x3a9074[_0x21f6fd(0x33b)]=_0x497758,_0x3a9074[_0x21f6fd(0x1c1)]=_0xa8244d?_0x2bc200[_0x21f6fd(0x272)]:_0x512f3c['host'];const _0x24ca48=_0x493f7d&&_0x493f7d[_0x21f6fd(0x315)];if(_0x493f7d={..._0x493f7d,'headers':{}},_0x24ca48){for(const [_0x9ca68b,_0x1cbaa0]of Object[_0x21f6fd(0x1d5)](_0x24ca48))_0x493f7d[_0x21f6fd(0x315)][_0x9ca68b[_0x21f6fd(0x226)]()]=_0x1cbaa0;}}else{if(_0x3a9074[_0x21f6fd(0x20e)](_0x21f6fd(0x327))===0x0){const _0x890a2c=_0xa8244d?_0x3a9074[_0x21f6fd(0x342)]?_0x2bc200['socketPath']===_0x3a9074[_0x21f6fd(0x1c1)]:!0x1:_0x3a9074['_originalIpc']?!0x1:_0x512f3c[_0x21f6fd(0x34a)]===_0x3a9074[_0x21f6fd(0x1c1)];(!_0x890a2c||_0x3a9074[_0x21f6fd(0x33b)]&&!_0x497758)&&(delete _0x2bc200[_0x21f6fd(0x315)]['authorization'],delete _0x2bc200[_0x21f6fd(0x315)]['cookie'],_0x890a2c||delete _0x2bc200[_0x21f6fd(0x315)]['host'],_0x2bc200[_0x21f6fd(0x2fd)]=void 0x0);}}_0x2bc200[_0x21f6fd(0x2fd)]&&!_0x493f7d[_0x21f6fd(0x315)]['authorization']&&(_0x493f7d[_0x21f6fd(0x315)][_0x21f6fd(0x205)]=_0x21f6fd(0x33d)+Buffer[_0x21f6fd(0x2e3)](_0x2bc200['auth'])['toString']('base64')),_0x46a4d5=_0x3a9074[_0x21f6fd(0x231)]=_0x650734(_0x2bc200),_0x3a9074[_0x21f6fd(0x1b5)]&&_0x3a9074['emit'](_0x21f6fd(0x327),_0x3a9074[_0x21f6fd(0x25d)],_0x46a4d5);}else _0x46a4d5=_0x3a9074[_0x21f6fd(0x231)]=_0x650734(_0x2bc200);_0x2bc200['timeout']&&_0x46a4d5['on'](_0x21f6fd(0x375),()=>{_0x184f66(_0x3a9074,_0x46a4d5,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x46a4d5['on'](_0x21f6fd(0x1aa),_0xb21b88=>{const _0x371436=_0x21f6fd;_0x46a4d5===null||_0x46a4d5[_0x1d1cbf]||(_0x46a4d5=_0x3a9074[_0x371436(0x231)]=null,_0x169847(_0x3a9074,_0xb21b88));}),_0x46a4d5['on'](_0x21f6fd(0x25c),_0x49432e=>{const _0x38915d=_0x21f6fd,_0x2cc32c=_0x49432e[_0x38915d(0x315)][_0x38915d(0x210)],_0x5ab358=_0x49432e[_0x38915d(0x235)];if(_0x2cc32c&&_0x2bc200[_0x38915d(0x1f6)]&&_0x5ab358>=0x12c&&_0x5ab358<0x190){if(++_0x3a9074[_0x38915d(0x1b5)]>_0x2bc200[_0x38915d(0x22d)]){_0x184f66(_0x3a9074,_0x46a4d5,_0x38915d(0x234));return;}_0x46a4d5[_0x38915d(0x22a)]();let _0x2c0b87;try{_0x2c0b87=new _0x1f4c00(_0x2cc32c,_0x4b8ffd);}catch{const _0x1d040c=new SyntaxError(_0x38915d(0x1b9)+_0x2cc32c);_0x169847(_0x3a9074,_0x1d040c);return;}_0x1b02bb(_0x3a9074,_0x2c0b87,_0x4691be,_0x493f7d);}else _0x3a9074['emit']('unexpected-response',_0x46a4d5,_0x49432e)||_0x184f66(_0x3a9074,_0x46a4d5,_0x38915d(0x1d1)+_0x49432e['statusCode']);}),_0x46a4d5['on'](_0x21f6fd(0x31f),(_0x9513ce,_0x6b290a,_0x59e3d3)=>{const _0x38bfd3=_0x21f6fd;if(_0x3a9074[_0x38bfd3(0x35c)](_0x38bfd3(0x31f),_0x9513ce),_0x3a9074[_0x38bfd3(0x305)]!==_0x2cfb82[_0x38bfd3(0x2f0)])return;_0x46a4d5=_0x3a9074[_0x38bfd3(0x231)]=null;const _0x56ff7e=_0x9513ce[_0x38bfd3(0x315)][_0x38bfd3(0x31f)];if(_0x56ff7e===void 0x0||_0x56ff7e[_0x38bfd3(0x226)]()!==_0x38bfd3(0x358)){_0x184f66(_0x3a9074,_0x6b290a,'Invalid\x20Upgrade\x20header');return;}const _0x4160fc=_0x237674('sha1')[_0x38bfd3(0x21b)](_0x3f9bbf+_0x4efb04)[_0x38bfd3(0x1c7)](_0x38bfd3(0x1c6));if(_0x9513ce[_0x38bfd3(0x315)][_0x38bfd3(0x377)]!==_0x4160fc){_0x184f66(_0x3a9074,_0x6b290a,_0x38bfd3(0x1b3));return;}const _0x100fb1=_0x9513ce['headers'][_0x38bfd3(0x215)];let _0x3cd145;if(_0x100fb1!==void 0x0?_0x390928[_0x38bfd3(0x201)]?_0x390928[_0x38bfd3(0x1a7)](_0x100fb1)||(_0x3cd145=_0x38bfd3(0x2df)):_0x3cd145=_0x38bfd3(0x346):_0x390928[_0x38bfd3(0x201)]&&(_0x3cd145=_0x38bfd3(0x2e8)),_0x3cd145){_0x184f66(_0x3a9074,_0x6b290a,_0x3cd145);return;}_0x100fb1&&(_0x3a9074[_0x38bfd3(0x2cf)]=_0x100fb1);const _0x4b5e6e=_0x9513ce['headers'][_0x38bfd3(0x300)];if(_0x4b5e6e!==void 0x0){if(!_0x21f0b6){_0x184f66(_0x3a9074,_0x6b290a,_0x38bfd3(0x345));return;}let _0x15f554;try{_0x15f554=_0x25e2f8(_0x4b5e6e);}catch{_0x184f66(_0x3a9074,_0x6b290a,_0x38bfd3(0x304));return;}const _0xd55ad2=Object[_0x38bfd3(0x267)](_0x15f554);if(_0xd55ad2[_0x38bfd3(0x1e7)]!==0x1||_0xd55ad2[0x0]!==_0x2e28bb[_0x38bfd3(0x1c4)]){_0x184f66(_0x3a9074,_0x6b290a,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x21f0b6[_0x38bfd3(0x2a6)](_0x15f554[_0x2e28bb[_0x38bfd3(0x1c4)]]);}catch{_0x184f66(_0x3a9074,_0x6b290a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3a9074[_0x38bfd3(0x2f3)][_0x2e28bb['extensionName']]=_0x21f0b6;}_0x3a9074[_0x38bfd3(0x30d)](_0x6b290a,_0x59e3d3,{'allowSynchronousEvents':_0x2bc200['allowSynchronousEvents'],'generateMask':_0x2bc200['generateMask'],'maxPayload':_0x2bc200['maxPayload'],'skipUTF8Validation':_0x2bc200[_0x38bfd3(0x289)]});}),_0x2bc200[_0x21f6fd(0x241)]?_0x2bc200[_0x21f6fd(0x241)](_0x46a4d5,_0x3a9074):_0x46a4d5[_0x21f6fd(0x1b2)]();}function _0x169847(_0x33b647,_0x5c7eb0){const _0x16cb48=_0x21ec6b;_0x33b647[_0x16cb48(0x2ee)]=_0x2cfb82[_0x16cb48(0x257)],_0x33b647[_0x16cb48(0x237)]=!0x0,_0x33b647['emit'](_0x16cb48(0x1aa),_0x5c7eb0),_0x33b647[_0x16cb48(0x338)]();}function _0x24c0a7(_0x3b96ff){const _0x1ab3c2=_0x21ec6b;return _0x3b96ff[_0x1ab3c2(0x307)]=_0x3b96ff[_0x1ab3c2(0x272)],_0x1f473f['connect'](_0x3b96ff);}function _0x3c3773(_0x2b1035){const _0x23f37b=_0x21ec6b;return _0x2b1035[_0x23f37b(0x307)]=void 0x0,!_0x2b1035[_0x23f37b(0x35d)]&&_0x2b1035[_0x23f37b(0x35d)]!==''&&(_0x2b1035[_0x23f37b(0x35d)]=_0x1f473f[_0x23f37b(0x362)](_0x2b1035['host'])?'':_0x2b1035['host']),_0x2fcf15[_0x23f37b(0x333)](_0x2b1035);}function _0x184f66(_0x308f92,_0x5256b6,_0x3c084a){const _0xebb8e5=_0x21ec6b;_0x308f92['_readyState']=_0x2cfb82[_0xebb8e5(0x257)];const _0x3ef64b=new Error(_0x3c084a);Error[_0xebb8e5(0x203)](_0x3ef64b,_0x184f66),_0x5256b6[_0xebb8e5(0x31c)]?(_0x5256b6[_0x1d1cbf]=!0x0,_0x5256b6[_0xebb8e5(0x22a)](),_0x5256b6[_0xebb8e5(0x30b)]&&!_0x5256b6['socket'][_0xebb8e5(0x2e1)]&&_0x5256b6['socket'][_0xebb8e5(0x341)](),process[_0xebb8e5(0x2de)](_0x169847,_0x308f92,_0x3ef64b)):(_0x5256b6[_0xebb8e5(0x341)](_0x3ef64b),_0x5256b6['once'](_0xebb8e5(0x1aa),_0x308f92[_0xebb8e5(0x35c)]['bind'](_0x308f92,_0xebb8e5(0x1aa))),_0x5256b6['once']('close',_0x308f92[_0xebb8e5(0x338)][_0xebb8e5(0x292)](_0x308f92)));}function _0x91f639(_0x2d3359,_0x310f91,_0x50e2b3){const _0x5092d8=_0x21ec6b;if(_0x310f91){const _0x4d79f7=_0xba1eab(_0x310f91)?_0x310f91[_0x5092d8(0x201)]:_0x4cbb2e(_0x310f91)[_0x5092d8(0x1e7)];_0x2d3359[_0x5092d8(0x2f6)]?_0x2d3359[_0x5092d8(0x221)][_0x5092d8(0x353)]+=_0x4d79f7:_0x2d3359[_0x5092d8(0x1ac)]+=_0x4d79f7;}if(_0x50e2b3){const _0x595439=new Error(_0x5092d8(0x2e9)+_0x2d3359[_0x5092d8(0x305)]+'\x20('+_0x3d4f17[_0x2d3359[_0x5092d8(0x305)]]+')');process[_0x5092d8(0x2de)](_0x50e2b3,_0x595439);}}function _0x5536eb(_0xc84007,_0x4bd55f){const _0x2519d0=_0x21ec6b,_0x48b32e=this[_0x4db407];_0x48b32e[_0x2519d0(0x376)]=!0x0,_0x48b32e[_0x2519d0(0x1e2)]=_0x4bd55f,_0x48b32e['_closeCode']=_0xc84007,_0x48b32e[_0x2519d0(0x2f6)][_0x4db407]!==void 0x0&&(_0x48b32e[_0x2519d0(0x2f6)][_0x2519d0(0x2dc)](_0x2519d0(0x268),_0x3d9ad3),process[_0x2519d0(0x2de)](_0x50d75f,_0x48b32e['_socket']),_0xc84007===0x3ed?_0x48b32e['close']():_0x48b32e[_0x2519d0(0x29d)](_0xc84007,_0x4bd55f));}function _0x119416(){const _0x5afba3=_0x21ec6b,_0x8a5fba=this[_0x4db407];_0x8a5fba[_0x5afba3(0x1b4)]||_0x8a5fba[_0x5afba3(0x2f6)][_0x5afba3(0x2fb)]();}function _0x3d0f8b(_0x4638f4){const _0x2208ad=_0x21ec6b,_0x2dda48=this[_0x4db407];_0x2dda48['_socket'][_0x4db407]!==void 0x0&&(_0x2dda48['_socket']['removeListener'](_0x2208ad(0x268),_0x3d9ad3),process['nextTick'](_0x50d75f,_0x2dda48['_socket']),_0x2dda48['close'](_0x4638f4[_0x50f51c])),_0x2dda48[_0x2208ad(0x237)]||(_0x2dda48[_0x2208ad(0x237)]=!0x0,_0x2dda48[_0x2208ad(0x35c)](_0x2208ad(0x1aa),_0x4638f4));}function _0xfc4d99(){const _0x2c04db=_0x21ec6b;this[_0x4db407][_0x2c04db(0x338)]();}function _0x3962cd(_0x1d6e9c,_0x2b0466){const _0x238d4a=_0x21ec6b;this[_0x4db407]['emit'](_0x238d4a(0x291),_0x1d6e9c,_0x2b0466);}function _0xdb90b4(_0x77a989){const _0x259ae3=_0x21ec6b,_0x2a7ef0=this[_0x4db407];_0x2a7ef0[_0x259ae3(0x314)]&&_0x2a7ef0[_0x259ae3(0x2fe)](_0x77a989,!this[_0x259ae3(0x329)],_0x203b12),_0x2a7ef0[_0x259ae3(0x35c)](_0x259ae3(0x224),_0x77a989);}function _0x40ea3a(_0x2e1995){const _0x5e9567=_0x21ec6b;this[_0x4db407][_0x5e9567(0x35c)](_0x5e9567(0x2fe),_0x2e1995);}function _0x50d75f(_0x54a9a6){const _0x5f2ede=_0x21ec6b;_0x54a9a6[_0x5f2ede(0x2fb)]();}function _0xb59392(_0x34cfc5){const _0xce08b2=_0x21ec6b,_0x808cfc=this[_0x4db407];_0x808cfc['readyState']!==_0x2cfb82[_0xce08b2(0x211)]&&(_0x808cfc['readyState']===_0x2cfb82['OPEN']&&(_0x808cfc[_0xce08b2(0x2ee)]=_0x2cfb82[_0xce08b2(0x257)],_0x55935a(_0x808cfc)),this[_0xce08b2(0x2f6)][_0xce08b2(0x1b2)](),_0x808cfc[_0xce08b2(0x237)]||(_0x808cfc[_0xce08b2(0x237)]=!0x0,_0x808cfc[_0xce08b2(0x35c)](_0xce08b2(0x1aa),_0x34cfc5)));}function _0x55935a(_0x370628){const _0xbc5c22=_0x21ec6b;_0x370628['_closeTimer']=setTimeout(_0x370628['_socket'][_0xbc5c22(0x341)][_0xbc5c22(0x292)](_0x370628[_0xbc5c22(0x2f6)]),_0x5d0538);}function _0x46b81d(){const _0x271451=_0x21ec6b,_0x221e88=this[_0x4db407];this[_0x271451(0x2dc)](_0x271451(0x29d),_0x46b81d),this[_0x271451(0x2dc)]('data',_0x3d9ad3),this['removeListener'](_0x271451(0x1b2),_0x943761),_0x221e88['_readyState']=_0x2cfb82[_0x271451(0x257)];let _0x134394;!this[_0x271451(0x2c7)][_0x271451(0x30a)]&&!_0x221e88['_closeFrameReceived']&&!_0x221e88[_0x271451(0x227)][_0x271451(0x2d6)]['errorEmitted']&&(_0x134394=_0x221e88['_socket'][_0x271451(0x302)]())!==null&&_0x221e88[_0x271451(0x227)]['write'](_0x134394),_0x221e88[_0x271451(0x227)][_0x271451(0x1b2)](),this[_0x4db407]=void 0x0,clearTimeout(_0x221e88[_0x271451(0x275)]),_0x221e88['_receiver'][_0x271451(0x2d6)][_0x271451(0x2ef)]||_0x221e88[_0x271451(0x227)][_0x271451(0x2d6)]['errorEmitted']?_0x221e88[_0x271451(0x338)]():(_0x221e88['_receiver']['on']('error',_0xfc4d99),_0x221e88['_receiver']['on']('finish',_0xfc4d99));}function _0x3d9ad3(_0x1898fb){const _0x4ef4bc=_0x21ec6b;this[_0x4db407][_0x4ef4bc(0x227)]['write'](_0x1898fb)||this[_0x4ef4bc(0x2d8)]();}function _0x943761(){const _0x2c79fb=_0x21ec6b,_0x31dbaf=this[_0x4db407];_0x31dbaf[_0x2c79fb(0x2ee)]=_0x2cfb82['CLOSING'],_0x31dbaf[_0x2c79fb(0x227)][_0x2c79fb(0x1b2)](),this[_0x2c79fb(0x1b2)]();}function _0x2d0bee(){const _0x45d142=_0x21ec6b,_0xeff316=this[_0x4db407];this[_0x45d142(0x2dc)](_0x45d142(0x1aa),_0x2d0bee),this['on']('error',_0x203b12),_0xeff316&&(_0xeff316[_0x45d142(0x2ee)]=_0x2cfb82['CLOSING'],this['destroy']());}return _0x363ef4;}var _0x22c0f9,_0x4d7262;function _0x4d2cb5(){if(_0x4d7262)return _0x22c0f9;_0x4d7262=0x1,_0x397788();const {Duplex:_0x25d28d}=_0x556401;function _0x207c15(_0x32afe3){const _0x55c911=_0x203d;_0x32afe3[_0x55c911(0x35c)](_0x55c911(0x29d));}function _0xdabf0c(){const _0x2d010c=_0x203d;!this['destroyed']&&this[_0x2d010c(0x2d6)]['finished']&&this['destroy']();}function _0x41d648(_0x4ae88c){const _0x502920=_0x203d;this['removeListener'](_0x502920(0x1aa),_0x41d648),this['destroy'](),this[_0x502920(0x20e)](_0x502920(0x1aa))===0x0&&this[_0x502920(0x35c)](_0x502920(0x1aa),_0x4ae88c);}function _0x4c5352(_0x1361b5,_0x17c2eb){const _0x5040f2=_0x203d;let _0x3a6163=!0x0;const _0x50503e=new _0x25d28d({..._0x17c2eb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1361b5['on'](_0x5040f2(0x291),function(_0x40f5ca,_0x3237e3){const _0x5a288b=_0x5040f2,_0x4a3711=!_0x3237e3&&_0x50503e[_0x5a288b(0x2c7)][_0x5a288b(0x2f9)]?_0x40f5ca['toString']():_0x40f5ca;_0x50503e['push'](_0x4a3711)||_0x1361b5[_0x5a288b(0x2d8)]();}),_0x1361b5[_0x5040f2(0x27e)]('error',function(_0x418aa9){const _0x792991=_0x5040f2;_0x50503e[_0x792991(0x2e1)]||(_0x3a6163=!0x1,_0x50503e[_0x792991(0x341)](_0x418aa9));}),_0x1361b5['once'](_0x5040f2(0x29d),function(){const _0x4467c2=_0x5040f2;_0x50503e[_0x4467c2(0x2e1)]||_0x50503e['push'](null);}),_0x50503e[_0x5040f2(0x36b)]=function(_0x484848,_0x545f55){const _0x49d21f=_0x5040f2;if(_0x1361b5[_0x49d21f(0x305)]===_0x1361b5[_0x49d21f(0x211)]){_0x545f55(_0x484848),process[_0x49d21f(0x2de)](_0x207c15,_0x50503e);return;}let _0x5339ba=!0x1;_0x1361b5[_0x49d21f(0x27e)](_0x49d21f(0x1aa),function(_0x7619f8){_0x5339ba=!0x0,_0x545f55(_0x7619f8);}),_0x1361b5[_0x49d21f(0x27e)](_0x49d21f(0x29d),function(){const _0x3d9f87=_0x49d21f;_0x5339ba||_0x545f55(_0x484848),process[_0x3d9f87(0x2de)](_0x207c15,_0x50503e);}),_0x3a6163&&_0x1361b5[_0x49d21f(0x270)]();},_0x50503e[_0x5040f2(0x1ad)]=function(_0x46bd94){const _0x59e721=_0x5040f2;if(_0x1361b5[_0x59e721(0x305)]===_0x1361b5[_0x59e721(0x2f0)]){_0x1361b5[_0x59e721(0x27e)](_0x59e721(0x1dd),function(){_0x50503e['_final'](_0x46bd94);});return;}_0x1361b5['_socket']!==null&&(_0x1361b5[_0x59e721(0x2f6)][_0x59e721(0x2d6)][_0x59e721(0x2ef)]?(_0x46bd94(),_0x50503e[_0x59e721(0x2c7)]['endEmitted']&&_0x50503e[_0x59e721(0x341)]()):(_0x1361b5['_socket'][_0x59e721(0x27e)](_0x59e721(0x285),function(){_0x46bd94();}),_0x1361b5['close']()));},_0x50503e['_read']=function(){const _0x20f991=_0x5040f2;_0x1361b5[_0x20f991(0x1b4)]&&_0x1361b5[_0x20f991(0x2fb)]();},_0x50503e[_0x5040f2(0x379)]=function(_0x37456b,_0x5f4890,_0x4ee1df){const _0x4bed58=_0x5040f2;if(_0x1361b5['readyState']===_0x1361b5['CONNECTING']){_0x1361b5[_0x4bed58(0x27e)](_0x4bed58(0x1dd),function(){const _0x35781e=_0x4bed58;_0x50503e[_0x35781e(0x379)](_0x37456b,_0x5f4890,_0x4ee1df);});return;}_0x1361b5[_0x4bed58(0x206)](_0x37456b,_0x4ee1df);},_0x50503e['on'](_0x5040f2(0x1b2),_0xdabf0c),_0x50503e['on'](_0x5040f2(0x1aa),_0x41d648),_0x50503e;}return _0x22c0f9=_0x4c5352,_0x22c0f9;}_0x4d2cb5(),_0x33af96(),_0x28545b();var _0x1a5a99=_0x397788();const _0x242a63=_0x204ff7(_0x1a5a99);var _0x2d8e24,_0xa2259e;function _0x28ba54(){if(_0xa2259e)return _0x2d8e24;_0xa2259e=0x1;const {tokenChars:_0x1db1e1}=_0xb4be09();function _0xe3030a(_0x558f10){const _0x57638e=_0x203d,_0x29e778=new Set();let _0x3c8d68=-0x1,_0x53ae40=-0x1,_0x3c961a=0x0;for(_0x3c961a;_0x3c961a<_0x558f10['length'];_0x3c961a++){const _0x48c33f=_0x558f10[_0x57638e(0x2b3)](_0x3c961a);if(_0x53ae40===-0x1&&_0x1db1e1[_0x48c33f]===0x1)_0x3c8d68===-0x1&&(_0x3c8d68=_0x3c961a);else{if(_0x3c961a!==0x0&&(_0x48c33f===0x20||_0x48c33f===0x9))_0x53ae40===-0x1&&_0x3c8d68!==-0x1&&(_0x53ae40=_0x3c961a);else{if(_0x48c33f===0x2c){if(_0x3c8d68===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3c961a);_0x53ae40===-0x1&&(_0x53ae40=_0x3c961a);const _0x12a68f=_0x558f10[_0x57638e(0x1fd)](_0x3c8d68,_0x53ae40);if(_0x29e778[_0x57638e(0x1a7)](_0x12a68f))throw new SyntaxError(_0x57638e(0x2e4)+_0x12a68f+'\x22\x20subprotocol\x20is\x20duplicated');_0x29e778[_0x57638e(0x22b)](_0x12a68f),_0x3c8d68=_0x53ae40=-0x1;}else throw new SyntaxError(_0x57638e(0x2d2)+_0x3c961a);}}}if(_0x3c8d68===-0x1||_0x53ae40!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x5c075e=_0x558f10[_0x57638e(0x1fd)](_0x3c8d68,_0x3c961a);if(_0x29e778[_0x57638e(0x1a7)](_0x5c075e))throw new SyntaxError(_0x57638e(0x2e4)+_0x5c075e+_0x57638e(0x27d));return _0x29e778[_0x57638e(0x22b)](_0x5c075e),_0x29e778;}return _0x2d8e24={'parse':_0xe3030a},_0x2d8e24;}var _0xd78c5d,_0x3fa36d;function _0x49f4cc(){const _0x35729c=_0x466e55;if(_0x3fa36d)return _0xd78c5d;_0x3fa36d=0x1;const _0x1e5099=_0x2e677e,_0x2aadb4=_0x231da6,{Duplex:_0x12019f}=_0x556401,{createHash:_0x42170c}=_0x51bb3e,_0x4e8f8e=_0x2157c6(),_0x43f4c7=_0x14be3b(),_0x5a1d17=_0x28ba54(),_0x4bf8aa=_0x397788(),{GUID:_0x40c540,kWebSocket:_0x3fda11}=_0x9a0a90(),_0x37452d=/^[+/0-9A-Za-z]{22}==$/,_0x39daa7=0x0,_0x53c36c=0x1,_0x2dac30=0x2;class _0x88554a extends _0x1e5099{constructor(_0x3b6d52,_0x52c475){const _0x5a6447=_0x203d;if(super(),_0x3b6d52={'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':_0x4bf8aa,..._0x3b6d52},_0x3b6d52['port']==null&&!_0x3b6d52[_0x5a6447(0x359)]&&!_0x3b6d52[_0x5a6447(0x23d)]||_0x3b6d52[_0x5a6447(0x312)]!=null&&(_0x3b6d52[_0x5a6447(0x359)]||_0x3b6d52['noServer'])||_0x3b6d52['server']&&_0x3b6d52[_0x5a6447(0x23d)])throw new TypeError(_0x5a6447(0x2a7));if(_0x3b6d52[_0x5a6447(0x312)]!=null?(this['_server']=_0x2aadb4[_0x5a6447(0x1d3)]((_0x53b10a,_0x3602b6)=>{const _0x314a19=_0x5a6447,_0x1583d5=_0x2aadb4['STATUS_CODES'][0x1aa];_0x3602b6[_0x314a19(0x200)](0x1aa,{'Content-Length':_0x1583d5['length'],'Content-Type':'text/plain'}),_0x3602b6[_0x314a19(0x1b2)](_0x1583d5);}),this[_0x5a6447(0x1ce)][_0x5a6447(0x2b6)](_0x3b6d52['port'],_0x3b6d52[_0x5a6447(0x34a)],_0x3b6d52[_0x5a6447(0x2cd)],_0x52c475)):_0x3b6d52[_0x5a6447(0x359)]&&(this[_0x5a6447(0x1ce)]=_0x3b6d52['server']),this[_0x5a6447(0x1ce)]){const _0x2dcbdc=this[_0x5a6447(0x35c)][_0x5a6447(0x292)](this,_0x5a6447(0x286));this[_0x5a6447(0x343)]=_0x3421c9(this['_server'],{'listening':this[_0x5a6447(0x35c)][_0x5a6447(0x292)](this,_0x5a6447(0x1d0)),'error':this[_0x5a6447(0x35c)][_0x5a6447(0x292)](this,_0x5a6447(0x1aa)),'upgrade':(_0x3b50f7,_0x6e465a,_0x46a24f)=>{const _0x4a140c=_0x5a6447;this[_0x4a140c(0x310)](_0x3b50f7,_0x6e465a,_0x46a24f,_0x2dcbdc);}});}_0x3b6d52[_0x5a6447(0x2be)]===!0x0&&(_0x3b6d52[_0x5a6447(0x2be)]={}),_0x3b6d52[_0x5a6447(0x1b6)]&&(this[_0x5a6447(0x1fb)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x3b6d52,this['_state']=_0x39daa7;}[_0x35729c(0x323)](){const _0x340373=_0x35729c;if(this['options'][_0x340373(0x23d)])throw new Error(_0x340373(0x356));return this[_0x340373(0x1ce)]?this[_0x340373(0x1ce)]['address']():null;}[_0x35729c(0x29d)](_0x2939c8){const _0x59fc4d=_0x35729c;if(this[_0x59fc4d(0x2c1)]===_0x2dac30){_0x2939c8&&this[_0x59fc4d(0x27e)](_0x59fc4d(0x29d),()=>{const _0x37794b=_0x59fc4d;_0x2939c8(new Error(_0x37794b(0x2bc)));}),process[_0x59fc4d(0x2de)](_0x4d539a,this);return;}if(_0x2939c8&&this[_0x59fc4d(0x27e)](_0x59fc4d(0x29d),_0x2939c8),this[_0x59fc4d(0x2c1)]!==_0x53c36c){if(this[_0x59fc4d(0x2c1)]=_0x53c36c,this['options'][_0x59fc4d(0x23d)]||this[_0x59fc4d(0x2e0)][_0x59fc4d(0x359)])this[_0x59fc4d(0x1ce)]&&(this[_0x59fc4d(0x343)](),this['_removeListeners']=this['_server']=null),this['clients']?this['clients']['size']?this[_0x59fc4d(0x37f)]=!0x0:process[_0x59fc4d(0x2de)](_0x4d539a,this):process[_0x59fc4d(0x2de)](_0x4d539a,this);else{const _0x327d37=this['_server'];this[_0x59fc4d(0x343)](),this[_0x59fc4d(0x343)]=this[_0x59fc4d(0x1ce)]=null,_0x327d37['close'](()=>{_0x4d539a(this);});}}}[_0x35729c(0x309)](_0x1ed9be){const _0x1ba884=_0x35729c;if(this[_0x1ba884(0x2e0)][_0x1ba884(0x307)]){const _0x35e2d1=_0x1ed9be['url']['indexOf']('?');if((_0x35e2d1!==-0x1?_0x1ed9be[_0x1ba884(0x25d)]['slice'](0x0,_0x35e2d1):_0x1ed9be[_0x1ba884(0x25d)])!==this[_0x1ba884(0x2e0)][_0x1ba884(0x307)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5a31e4,_0xef5ca0,_0x5afbc3,_0x2b74a6){const _0xea9593=_0x35729c;_0xef5ca0['on'](_0xea9593(0x1aa),_0x2724bd);const _0xf254ff=_0x5a31e4[_0xea9593(0x315)][_0xea9593(0x244)],_0x2a7cd4=_0x5a31e4[_0xea9593(0x315)][_0xea9593(0x31f)],_0x1a8650=+_0x5a31e4[_0xea9593(0x315)][_0xea9593(0x30f)];if(_0x5a31e4[_0xea9593(0x331)]!==_0xea9593(0x1c2)){_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x195,_0xea9593(0x36d));return;}if(_0x2a7cd4===void 0x0||_0x2a7cd4['toLowerCase']()!=='websocket'){_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x190,_0xea9593(0x1f7));return;}if(_0xf254ff===void 0x0||!_0x37452d[_0xea9593(0x351)](_0xf254ff)){_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x190,_0xea9593(0x33f));return;}if(_0x1a8650!==0xd&&_0x1a8650!==0x8){_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0xea9593(0x25f)});return;}if(!this[_0xea9593(0x309)](_0x5a31e4)){_0x4de4a3(_0xef5ca0,0x190);return;}const _0x4c178a=_0x5a31e4[_0xea9593(0x315)][_0xea9593(0x215)];let _0x30f76e=new Set();if(_0x4c178a!==void 0x0)try{_0x30f76e=_0x5a1d17[_0xea9593(0x1f3)](_0x4c178a);}catch{_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x190,_0xea9593(0x337));return;}const _0x38a186=_0x5a31e4[_0xea9593(0x315)][_0xea9593(0x300)],_0x45fdb5={};if(this['options']['perMessageDeflate']&&_0x38a186!==void 0x0){const _0x23c1c4=new _0x43f4c7(this[_0xea9593(0x2e0)][_0xea9593(0x2be)],!0x0,this[_0xea9593(0x2e0)][_0xea9593(0x32f)]);try{const _0x4b176a=_0x4e8f8e[_0xea9593(0x1f3)](_0x38a186);_0x4b176a[_0x43f4c7[_0xea9593(0x1c4)]]&&(_0x23c1c4[_0xea9593(0x2a6)](_0x4b176a[_0x43f4c7['extensionName']]),_0x45fdb5[_0x43f4c7['extensionName']]=_0x23c1c4);}catch{_0xd2ff6a(this,_0x5a31e4,_0xef5ca0,0x190,_0xea9593(0x334));return;}}if(this[_0xea9593(0x2e0)][_0xea9593(0x29f)]){const _0x26e8de={'origin':_0x5a31e4[_0xea9593(0x315)][''+(_0x1a8650===0x8?'sec-websocket-origin':_0xea9593(0x23b))],'secure':!!(_0x5a31e4[_0xea9593(0x30b)][_0xea9593(0x29a)]||_0x5a31e4['socket'][_0xea9593(0x245)]),'req':_0x5a31e4};if(this['options']['verifyClient']['length']===0x2){this[_0xea9593(0x2e0)][_0xea9593(0x29f)](_0x26e8de,(_0x1da5cd,_0x3d16d4,_0x4d9f5b,_0x465920)=>{if(!_0x1da5cd)return _0x4de4a3(_0xef5ca0,_0x3d16d4||0x191,_0x4d9f5b,_0x465920);this['completeUpgrade'](_0x45fdb5,_0xf254ff,_0x30f76e,_0x5a31e4,_0xef5ca0,_0x5afbc3,_0x2b74a6);});return;}if(!this[_0xea9593(0x2e0)][_0xea9593(0x29f)](_0x26e8de))return _0x4de4a3(_0xef5ca0,0x191);}this[_0xea9593(0x36f)](_0x45fdb5,_0xf254ff,_0x30f76e,_0x5a31e4,_0xef5ca0,_0x5afbc3,_0x2b74a6);}[_0x35729c(0x36f)](_0x5806a,_0x11e7c0,_0x3772d0,_0x5acd88,_0x321efc,_0x1cf611,_0x4b2334){const _0x3dbcde=_0x35729c;if(!_0x321efc['readable']||!_0x321efc[_0x3dbcde(0x20c)])return _0x321efc[_0x3dbcde(0x341)]();if(_0x321efc[_0x3fda11])throw new Error(_0x3dbcde(0x27a));if(this['_state']>_0x39daa7)return _0x4de4a3(_0x321efc,0x1f7);const _0x328d60=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3dbcde(0x1bc),_0x3dbcde(0x2d3),_0x3dbcde(0x1d8)+_0x42170c(_0x3dbcde(0x2d5))[_0x3dbcde(0x21b)](_0x11e7c0+_0x40c540)[_0x3dbcde(0x1c7)](_0x3dbcde(0x1c6))],_0x315f94=new this[(_0x3dbcde(0x2e0))][(_0x3dbcde(0x228))](null,void 0x0,this[_0x3dbcde(0x2e0)]);if(_0x3772d0[_0x3dbcde(0x201)]){const _0x2cf7df=this['options'][_0x3dbcde(0x25b)]?this['options'][_0x3dbcde(0x25b)](_0x3772d0,_0x5acd88):_0x3772d0[_0x3dbcde(0x363)]()['next']()[_0x3dbcde(0x1c5)];_0x2cf7df&&(_0x328d60[_0x3dbcde(0x232)](_0x3dbcde(0x25e)+_0x2cf7df),_0x315f94[_0x3dbcde(0x2cf)]=_0x2cf7df);}if(_0x5806a[_0x43f4c7[_0x3dbcde(0x1c4)]]){const _0x800197=_0x5806a[_0x43f4c7[_0x3dbcde(0x1c4)]][_0x3dbcde(0x33a)],_0x5185a1=_0x4e8f8e[_0x3dbcde(0x243)]({[_0x43f4c7['extensionName']]:[_0x800197]});_0x328d60['push']('Sec-WebSocket-Extensions:\x20'+_0x5185a1),_0x315f94[_0x3dbcde(0x2f3)]=_0x5806a;}this['emit'](_0x3dbcde(0x315),_0x328d60,_0x5acd88),_0x321efc[_0x3dbcde(0x1f0)](_0x328d60[_0x3dbcde(0x233)]('\x0d\x0a')[_0x3dbcde(0x242)]('\x0d\x0a')),_0x321efc['removeListener'](_0x3dbcde(0x1aa),_0x2724bd),_0x315f94[_0x3dbcde(0x30d)](_0x321efc,_0x1cf611,{'allowSynchronousEvents':this[_0x3dbcde(0x2e0)][_0x3dbcde(0x1de)],'maxPayload':this[_0x3dbcde(0x2e0)][_0x3dbcde(0x32f)],'skipUTF8Validation':this['options'][_0x3dbcde(0x289)]}),this['clients']&&(this[_0x3dbcde(0x1fb)]['add'](_0x315f94),_0x315f94['on']('close',()=>{const _0x2625dd=_0x3dbcde;this[_0x2625dd(0x1fb)][_0x2625dd(0x35b)](_0x315f94),this[_0x2625dd(0x37f)]&&!this['clients'][_0x2625dd(0x201)]&&process[_0x2625dd(0x2de)](_0x4d539a,this);})),_0x4b2334(_0x315f94,_0x5acd88);}}_0xd78c5d=_0x88554a;function _0x3421c9(_0x4fd822,_0x5d0782){const _0x384334=_0x35729c;for(const _0x422be4 of Object[_0x384334(0x267)](_0x5d0782))_0x4fd822['on'](_0x422be4,_0x5d0782[_0x422be4]);return function(){const _0xda74fd=_0x384334;for(const _0xd81454 of Object['keys'](_0x5d0782))_0x4fd822[_0xda74fd(0x2dc)](_0xd81454,_0x5d0782[_0xd81454]);};}function _0x4d539a(_0x57cd52){_0x57cd52['_state']=_0x2dac30,_0x57cd52['emit']('close');}function _0x2724bd(){this['destroy']();}function _0x4de4a3(_0xf64dc2,_0x4a85e8,_0x41c15e,_0x43309e){const _0x40e3b5=_0x35729c;_0x41c15e=_0x41c15e||_0x2aadb4[_0x40e3b5(0x1bf)][_0x4a85e8],_0x43309e={'Connection':'close','Content-Type':_0x40e3b5(0x366),'Content-Length':Buffer[_0x40e3b5(0x316)](_0x41c15e),..._0x43309e},_0xf64dc2[_0x40e3b5(0x27e)]('finish',_0xf64dc2['destroy']),_0xf64dc2[_0x40e3b5(0x1b2)](_0x40e3b5(0x373)+_0x4a85e8+'\x20'+_0x2aadb4[_0x40e3b5(0x1bf)][_0x4a85e8]+'\x0d\x0a'+Object[_0x40e3b5(0x267)](_0x43309e)['map'](_0xb279e3=>_0xb279e3+':\x20'+_0x43309e[_0xb279e3])[_0x40e3b5(0x242)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x41c15e);}function _0xd2ff6a(_0x2d55fc,_0x50fd2e,_0x2aabd5,_0x59ff0c,_0x3882d1,_0x2cc876){const _0x3e5b00=_0x35729c;if(_0x2d55fc['listenerCount'](_0x3e5b00(0x1f9))){const _0x1d74db=new Error(_0x3882d1);Error['captureStackTrace'](_0x1d74db,_0xd2ff6a),_0x2d55fc['emit'](_0x3e5b00(0x1f9),_0x1d74db,_0x2aabd5,_0x50fd2e);}else _0x4de4a3(_0x2aabd5,_0x59ff0c,_0x3882d1,_0x2cc876);}return _0xd78c5d;}_0x49f4cc();var _0xd5d4a2=Object[_0x466e55(0x273)],_0x307f93=(_0x3e7e68,_0x57e164,_0x2ce7ab,_0x314d26)=>{const _0x3c3153=_0x466e55;for(var _0x3927c4=_0x314d26>0x1?void 0x0:_0x314d26?_0xd5d4a2(_0x57e164,_0x2ce7ab):_0x57e164,_0x19fcf7=_0x3e7e68[_0x3c3153(0x1e7)]-0x1,_0x2d4828;_0x19fcf7>=0x0;_0x19fcf7--)(_0x2d4828=_0x3e7e68[_0x19fcf7])&&(_0x3927c4=_0x2d4828(_0x3927c4)||_0x3927c4);return _0x3927c4;},_0x2ca05b=(_0x35d512,_0x246f24)=>(_0x222a7d,_0x2b5872)=>_0x246f24(_0x222a7d,_0x2b5872,_0x35d512);let _0x3afe14=class extends _0x3e562d[_0x466e55(0x1bd)]{constructor(_0x1819a1){super(),this['_configService']=_0x1819a1;}['createSocket'](_0x4e2cd8){const _0x2809f6=_0x466e55;var _0xc5311a;const _0x4d1545=((_0xc5311a=this[_0x2809f6(0x2c5)]['getConfig'](_0x5f3124[_0x2809f6(0x254)]))==null?void 0x0:_0xc5311a[_0x2809f6(0x2c0)])||{};try{const _0x547562=new _0x242a63(_0x4e2cd8,{'headers':{..._0x4d1545}}),_0x2b7bd0=new _0x3e562d[(_0x2809f6(0x357))]();return{'URL':_0x4e2cd8,'close':(_0x5c8f7d,_0x5f2658)=>{const _0xc1ab1b=_0x2809f6;_0x547562[_0xc1ab1b(0x29d)](_0x5c8f7d,_0x5f2658),_0x2b7bd0[_0xc1ab1b(0x2ac)]();},'send':_0x207933=>{_0x547562['send'](_0x207933);},'open$':new _0x16d9c0[(_0x2809f6(0x1b1))](_0x1ede43=>{const _0xd24374=_0x2809f6,_0x48bc79=_0x1dfeb8=>_0x1ede43[_0xd24374(0x249)](_0x1dfeb8);_0x547562['addEventListener'](_0xd24374(0x1dd),_0x48bc79),_0x2b7bd0[_0xd24374(0x22b)](_0x3e562d[_0xd24374(0x21e)](()=>_0x547562[_0xd24374(0x31b)]('open',_0x48bc79)));})[_0x2809f6(0x27c)](_0x16d9c0['share']()),'close$':new _0x16d9c0[(_0x2809f6(0x1b1))](_0x4d7f07=>{const _0x4fd02b=_0x2809f6,_0x556200=_0x1dc33e=>_0x4d7f07[_0x4fd02b(0x249)](_0x1dc33e);_0x547562['addEventListener'](_0x4fd02b(0x29d),_0x556200),_0x2b7bd0[_0x4fd02b(0x22b)](_0x3e562d['toDisposable'](()=>_0x547562[_0x4fd02b(0x31b)](_0x4fd02b(0x29d),_0x556200)));})['pipe'](_0x16d9c0[_0x2809f6(0x29e)]()),'error$':new _0x16d9c0[(_0x2809f6(0x1b1))](_0x47e670=>{const _0x43a0e8=_0x2809f6,_0x1cab6a=_0x155921=>_0x47e670[_0x43a0e8(0x249)](_0x155921);_0x547562[_0x43a0e8(0x308)](_0x43a0e8(0x1aa),_0x1cab6a),_0x2b7bd0[_0x43a0e8(0x22b)](_0x3e562d['toDisposable'](()=>_0x547562[_0x43a0e8(0x31b)](_0x43a0e8(0x1aa),_0x1cab6a)));})[_0x2809f6(0x27c)](_0x16d9c0['share']()),'message$':new _0x16d9c0[(_0x2809f6(0x1b1))](_0x3cd3ba=>{const _0x114a9c=_0x2809f6,_0x1dd641=_0x2eca2c=>_0x3cd3ba[_0x114a9c(0x249)](_0x2eca2c);_0x547562['addEventListener'](_0x114a9c(0x291),_0x1dd641),_0x2b7bd0['add'](_0x3e562d[_0x114a9c(0x21e)](()=>_0x547562[_0x114a9c(0x31b)](_0x114a9c(0x291),_0x1dd641)));})[_0x2809f6(0x27c)](_0x16d9c0[_0x2809f6(0x29e)]())};}catch(_0x1a33a1){return console[_0x2809f6(0x1aa)](_0x1a33a1),null;}}};_0x3afe14=_0x307f93([_0x2ca05b(0x0,_0x3e562d[_0x466e55(0x2f5)])],_0x3afe14);var _0x6d89e7=Object['defineProperty'],_0x3a0196=Object[_0x466e55(0x273)],_0x51da64=(_0x7f78d,_0x16df3a,_0x437865)=>_0x16df3a in _0x7f78d?_0x6d89e7(_0x7f78d,_0x16df3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x437865}):_0x7f78d[_0x16df3a]=_0x437865,_0x3ce02e=(_0x26177a,_0x3558e6,_0x575248,_0x1bb6c8)=>{const _0x571a8a=_0x466e55;for(var _0x5c69e2=_0x1bb6c8>0x1?void 0x0:_0x1bb6c8?_0x3a0196(_0x3558e6,_0x575248):_0x3558e6,_0x42ec02=_0x26177a[_0x571a8a(0x1e7)]-0x1,_0x21f65a;_0x42ec02>=0x0;_0x42ec02--)(_0x21f65a=_0x26177a[_0x42ec02])&&(_0x5c69e2=_0x21f65a(_0x5c69e2)||_0x5c69e2);return _0x5c69e2;},_0x51d203=(_0x5b45ff,_0x52589a)=>(_0x2f3d14,_0x3df658)=>_0x52589a(_0x2f3d14,_0x3df658,_0x5b45ff),_0x30da66=(_0x2ef820,_0x2217be,_0x251cd1)=>_0x51da64(_0x2ef820,_0x2217be+'',_0x251cd1);_0x18208c[_0x466e55(0x21c)]=class extends _0x3e562d[_0x466e55(0x1eb)]{constructor(_0x47bf75=_0x496e3f,_0x720afc,_0x555ce5){const _0x23d71f=_0x466e55;super(),this[_0x23d71f(0x2c5)]=_0x720afc,this['_injector']=_0x555ce5,this[_0x23d71f(0x2c5)][_0x23d71f(0x1e8)](_0x9a4e06,_0x47bf75);}[_0x466e55(0x28b)](){this['_registerDependencies']();}[_0x466e55(0x325)](){const _0x2ada58=_0x466e55;_0x3e562d[_0x2ada58(0x1c3)](this[_0x2ada58(0x37d)],[[_0x15e0e4['ISocketService'],{'useClass':_0x3afe14}]]);}},_0x30da66(_0x18208c[_0x466e55(0x21c)],_0x466e55(0x1ca),_0x466e55(0x1fa)),_0x18208c[_0x466e55(0x21c)]=_0x3ce02e([_0x3e562d[_0x466e55(0x2cb)](_0x5f3124[_0x466e55(0x349)]),_0x51d203(0x1,_0x3e562d['IConfigService']),_0x51d203(0x2,_0x3e562d[_0x466e55(0x27f)](_0x3e562d[_0x466e55(0x371)]))],_0x18208c[_0x466e55(0x21c)]);var _0x5e739f=Object[_0x466e55(0x273)],_0x20b48e=(_0x49b72c,_0x47e472,_0x28ea72,_0x1b0806)=>{const _0x2a0c92=_0x466e55;for(var _0x27d272=_0x1b0806>0x1?void 0x0:_0x1b0806?_0x5e739f(_0x47e472,_0x28ea72):_0x47e472,_0x235345=_0x49b72c[_0x2a0c92(0x1e7)]-0x1,_0x2ccae2;_0x235345>=0x0;_0x235345--)(_0x2ccae2=_0x49b72c[_0x235345])&&(_0x27d272=_0x2ccae2(_0x27d272)||_0x27d272);return _0x27d272;},_0x4dd9a3=(_0x766e79,_0x19081d)=>(_0x2a9113,_0x2b24dd)=>_0x19081d(_0x2a9113,_0x2b24dd,_0x766e79);_0x18208c[_0x466e55(0x2b9)]=class extends _0x5f3124[_0x466e55(0x2ea)]{constructor(_0x542001,_0x405b5c,_0x4b6da6,_0x9606ed,_0x3f7fdb){const _0x136a16=_0x466e55;super(_0x542001,_0x405b5c,_0x4b6da6,_0x9606ed,_0x3f7fdb);const _0x58dc70=this[_0x136a16(0x2c5)]['getConfig'](_0x5f3124[_0x136a16(0x254)]);this[_0x136a16(0x35f)][_0x136a16(0x2b2)]({'interceptor':(_0x4314c6,_0x18c99b)=>{const _0x597174=_0x136a16;var _0x441e70;const _0x3e012b=_0x4314c6[_0x597174(0x315)];return(_0x441e70=_0x58dc70==null?void 0x0:_0x58dc70[_0x597174(0x2c0)])!=null&&_0x441e70[_0x597174(0x360)]&&_0x3e012b['set'](_0x597174(0x348),_0x58dc70['customHeaders']['cookie']),_0x18c99b(_0x4314c6);}});}async[_0x466e55(0x2a9)](_0x2ab063){return this['_doCreateSocket'](_0x2ab063);}},_0x18208c[_0x466e55(0x2b9)]=_0x20b48e([_0x4dd9a3(0x0,_0x3e562d[_0x466e55(0x27f)](_0x3e562d[_0x466e55(0x371)])),_0x4dd9a3(0x1,_0x3e562d[_0x466e55(0x27f)](_0x15e0e4[_0x466e55(0x24e)])),_0x4dd9a3(0x2,_0x3e562d[_0x466e55(0x2f5)]),_0x4dd9a3(0x3,_0x3e562d[_0x466e55(0x212)]),_0x4dd9a3(0x4,_0x24757f[_0x466e55(0x340)])],_0x18208c[_0x466e55(0x2b9)]),_0x18208c[_0x466e55(0x1e4)]=_0x9a4e06,Object[_0x466e55(0x1cd)](_0x18208c,Symbol[_0x466e55(0x1ee)],{'value':_0x466e55(0x1e6)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "0.15.2-insiders.
|
|
3
|
+
"version": "0.15.2-insiders.20260124-12fc7f0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"ws": "8.18.3",
|
|
50
|
-
"@univerjs-pro/collaboration": "0.15.2-insiders.
|
|
51
|
-
"@univerjs-pro/collaboration-client": "0.15.2-insiders.
|
|
52
|
-
"@univerjs/
|
|
53
|
-
"@univerjs/
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.2-insiders.20260124-12fc7f0",
|
|
51
|
+
"@univerjs-pro/collaboration-client": "0.15.2-insiders.20260124-12fc7f0",
|
|
52
|
+
"@univerjs/network": "0.15.2-insiders.20260124-12fc7f0",
|
|
53
|
+
"@univerjs/core": "0.15.2-insiders.20260124-12fc7f0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/ws": "8.18.1",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"typescript": "^5.9.3",
|
|
59
59
|
"vite": "^7.3.1",
|
|
60
60
|
"vitest": "^4.0.16",
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs
|
|
61
|
+
"@univerjs-infra/shared": "0.15.2",
|
|
62
|
+
"@univerjs/core": "0.15.2-insiders.20260124-12fc7f0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"test": "vitest run",
|