@univerjs-pro/collaboration-client-node 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3
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 +8 -8
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2b5109=_0x59e2;(function(_0x413037,_0x17110c){const _0x115cf4=_0x59e2,_0x364cc4=_0x413037();while(!![]){try{const _0x265fee=-parseInt(_0x115cf4(0x25c))/0x1*(-parseInt(_0x115cf4(0x1af))/0x2)+parseInt(_0x115cf4(0x11e))/0x3+-parseInt(_0x115cf4(0x10d))/0x4+-parseInt(_0x115cf4(0x204))/0x5*(parseInt(_0x115cf4(0x195))/0x6)+parseInt(_0x115cf4(0x23b))/0x7*(parseInt(_0x115cf4(0x100))/0x8)+parseInt(_0x115cf4(0x17b))/0x9+-parseInt(_0x115cf4(0xd9))/0xa;if(_0x265fee===_0x17110c)break;else _0x364cc4['push'](_0x364cc4['shift']());}catch(_0x31e163){_0x364cc4['push'](_0x364cc4['shift']());}}}(_0x11f7,0x7b155));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3cb9aa,UniverCollaborationClientPlugin as _0x2e630e,CollaborationSocketService as _0x297464}from'@univerjs-pro/collaboration-client';function _0x59e2(_0x232b47,_0x429f94){_0x232b47=_0x232b47-0xcc;const _0x11f79d=_0x11f7();let _0x59e261=_0x11f79d[_0x232b47];return _0x59e261;}import{Disposable as _0x36616a,DisposableCollection as _0x2758cc,toDisposable as _0x2e40c2,IConfigService as _0x201c2f,DependentOn as _0x3259dd,Inject as _0xae5a1c,Injector as _0xcb414c,Plugin as _0x2cc2f1,registerDependencies as _0x215cc3,ILogService as _0xa71197}from'@univerjs/core';function _0x11f7(){const _0x6c0bec=['pause','base64','_masked','_paused','kByteLength','authorization','join','clientNoContextTakeover','_options','invalid\x20status\x20code\x20','perMessageDeflate','kAborted','redirect','_url','_bufferedBytes','drain','format','readable','_injector','location','from','41odItsD','host','origin','entries','pipe','map','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','Module','open','getPayloadLength64','_readyState','followRedirects','_bufferedAmount','getBlobData','WebSocket','_totalPayloadLength','default','_sender','createDeflateRaw','error','Sec-WebSocket-Protocol:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','clientTracking','then','wsClientError','binaryType','uncork','toString','exports','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','server_max_window_bits','Parameter\x20\x22','path','buffer','dequeue','isBuffer','read','FIN\x20must\x20be\x20set','forEach','resume','Sec-WebSocket-Origin','ws:','_generateMask','4253810aCHboY','parse','finish','emitClose','autoPong','defineProperty','Server\x20sent\x20an\x20invalid\x20subprotocol','dispatch','pong','client_max_window_bits','charCodeAt','serverNoContextTakeover','_errorEmitted','hasOwnProperty','set','authorized','invalid\x20opcode\x20','auth','pending','server_no_context_takeover','kTarget','endEmitted','shouldHandle','_threshold','allocUnsafe','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Z_DEFAULT_WINDOWBITS','RSV1\x20must\x20be\x20clear','string','_protocol','Basic\x20','Upgrade','The\x20URL\x27s\x20pathname\x20is\x20empty','_fragmented','pathname','objectMode','_originalHostOrSocketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x20','setNoDelay','1128rIIQpd','Sec-WebSocket-Extensions:\x20','completeUpgrade','isPaused','Invalid\x20WebSocket\x20frame:\x20','arrayBuffer','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','writeUInt16BE','frame','getMask','HTTP/1.1\x20','sec-websocket-extensions','975724NrMwgq','ping','sec-websocket-version','writable','concurrencyLimit','_state','consume','once','cookie','create','OPEN','\x20(supported\x20versions:\x20','rsv1','emit','password','_server','sendFrame','1349805FVBfCC','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_socket','cleanup','destroy','_compress','_doCreateSocket','_closeMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','allowSynchronousEvents','_maskBuffer','onopen','request','split','finished','handleUpgrade','send','upgrade','destroyed','isValidUTF8','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','write','onerror','kIsForOnEventAttribute','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','cork','Origin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','sec-websocket-key','response','generateMask','object','timeout','indexOf','_opcode','serverMaxWindowBits','protocolVersion','_removeListeners','setTimeout','_maxPayload','Invalid\x20URL:\x20','_buffers','keys','_compressed','readOnly','Connection:\x20Upgrade','push','url','total-length','_fin','bind','addEventListener','enqueue','_originalSecure','clients','number','value','Z_SYNC_FLUSH','_readableState','find','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20Upgrade\x20header','_extensions','code','listen','protocol','options','handleProtocols','MASK\x20must\x20be\x20clear','listeners','connection','opcode','wasClean','toLowerCase','unshift','_loop','readyState','Unsupported\x20protocol\x20version:\x20','skipUTF8Validation','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','kType','handshakeTimeout','sec-websocket-accept','removeAllListeners','noServer','readUInt32BE','params','Upgrade:\x20websocket','_mask','fragments','arraybuffer','text/html','1112112bCmceV','_receiver','Invalid\x20value\x20for\x20parameter\x20\x22','needDrain','Cookie','callback','end','permessage-deflate','client','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','target','listening','method','reason','servername','Sec-WebSocket-Extensions','zlibInflateOptions','readUInt16BE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','errorEmitted','removeEventListener','invalid\x20payload\x20length\x20','__esModule','invalid\x20UTF-8\x20sequence','listenerCount','_writableState','882OxDErP','CLOSED','writeHead','hash','createSocket','MASK\x20must\x20be\x20set','createInflateRaw','collaboration-client-node.config','mask','WS_ERR_INVALID_CLOSE_CODE','controlMessage','encrypted','test','_isServer','pow','setConfig','STATUS_CODES','kData','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','accept','type','replace','buffers','address','kDone','clientMaxWindowBits','1038xdmkHb','_queue','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20URL\x20contains\x20a\x20fragment\x20identifier','dispose','constructor','Unexpected\x20character\x20at\x20index\x20','conclude','byteOffset','compress','socket','_final','_allowSynchronousEvents','WS_ERR_EXPECTED_FIN','_registerDependencies','bufferedAmount','_no_context_takeover','CONNECTING','sec-websocket-origin','connect','server','statusCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','jobs','backlog','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kRun','next','size','verifyClient','_payloadLength','setHeader','username','_closeTimer','onclose','abort','_fragments','values','_httpService','kMessage','websocket','nodebuffer','onStarting','sec-websocket-protocol','_messageLength','alloc','prototype','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','reset','threshold','concat','_originalIpc','_write','headers','includes','\x22\x20subprotocol\x20is\x20duplicated','onmessage','get','_closeFrameReceived','_decompress','setSocket','extensionName','data','add','socketPath','writeUIntBE','byteLength','pluginName','_errored','\x22\x20must\x20have\x20only\x20a\x20single\x20value','\x22:\x20','isArray','offer','dataMessage','getData','maxPayload','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Sec-WebSocket-Accept:\x20','File','getOwnPropertyDescriptor','Unknown\x20parameter\x20\x22','_inflate','wss:','port','customHeaders','12560emnIrI','Opening\x20handshake\x20has\x20timed\x20out','startLoop','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','extensions','maskBuffer','WS_ERR_INVALID_OPCODE','haveLength','blob','species','concurrency','createError','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','toStringTag','construct','_deflate','isServer','slice','shift','finishRequest','kReason','defaultPort','getConfig','_skipUTF8Validation','text/plain','WS_ERR_INVALID_UTF8','acceptAsServer','WS_ERR_EXPECTED_MASK','hostname','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','digest','terminate','_configService','update','_closeFrameSent','The\x20\x22','length','getPayloadLength16','acceptAsClient','handleEvent','_req','nextTick','ws+unix:','message','_closeCode','Unexpected\x20end\x20of\x20input','call','captureStackTrace','_shouldEmitClose','removeListener','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','close','createServer','function','catch','47061yDsASP','_binaryType','invalid\x20opcode\x200','CLOSING','Max\x20payload\x20size\x20exceeded','decompress','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_redirects','fin','Sec-WebSocket-Protocol','client_no_context_takeover','has'];_0x11f7=function(){return _0x6c0bec;};return _0x11f7();}import{ISocketService as _0x16a40e,HTTPService as _0x7c4dea}from'@univerjs/network';import{Observable as _0x4fe831,share as _0x2c7369}from'rxjs';import _0x32ca21 from'events';import _0x2b6ba0 from'https';import _0x14a6c3 from'http';import _0x2991e4 from'net';import _0x1659f2 from'tls';import _0x572ea6 from'crypto';import _0xc0bc2f from'stream';import _0x58baac from'url';import _0xa8a821 from'zlib';import _0x128edf from'buffer';import{ISnapshotServerService as _0x18603c}from'@univerjs-pro/collaboration';const $t=_0x2b5109(0x19c),Ft={};function Wt(_0x1db60c){const _0x57bd19=_0x2b5109;return _0x1db60c&&_0x1db60c[_0x57bd19(0x191)]&&Object['prototype'][_0x57bd19(0xe6)][_0x57bd19(0x232)](_0x1db60c,_0x57bd19(0x26d))?_0x1db60c['default']:_0x1db60c;}function jt(_0x160e2b){const _0x38bd7f=_0x2b5109;if(Object[_0x38bd7f(0x1dd)][_0x38bd7f(0xe6)][_0x38bd7f(0x232)](_0x160e2b,_0x38bd7f(0x191)))return _0x160e2b;var _0x53f03a=_0x160e2b[_0x38bd7f(0x26d)];if(typeof _0x53f03a=='function'){var _0x2e14ad=function _0x3b4224(){const _0x219ed2=_0x38bd7f;var _0x1a65d6=!0x1;try{_0x1a65d6=this instanceof _0x3b4224;}catch{}return _0x1a65d6?Reflect[_0x219ed2(0x212)](_0x53f03a,arguments,this[_0x219ed2(0x1b4)]):_0x53f03a['apply'](this,arguments);};_0x2e14ad[_0x38bd7f(0x1dd)]=_0x53f03a[_0x38bd7f(0x1dd)];}else _0x2e14ad={};return Object['defineProperty'](_0x2e14ad,'__esModule',{'value':!0x0}),Object[_0x38bd7f(0x149)](_0x160e2b)[_0x38bd7f(0xd4)](function(_0x3a9947){const _0x3e6a84=_0x38bd7f;var _0x3e32e9=Object[_0x3e6a84(0x1fe)](_0x160e2b,_0x3a9947);Object[_0x3e6a84(0xde)](_0x2e14ad,_0x3a9947,_0x3e32e9[_0x3e6a84(0x1e8)]?_0x3e32e9:{'enumerable':!0x0,'get':function(){return _0x160e2b[_0x3a9947];}});}),_0x2e14ad;}var me,He;function V(){const _0x30b2e7=_0x2b5109;if(He)return me;He=0x1;const _0x4d7571=[_0x30b2e7(0x1d8),_0x30b2e7(0x179),_0x30b2e7(0x178)],_0x5d6166=typeof Blob<'u';return _0x5d6166&&_0x4d7571[_0x30b2e7(0x14d)]('blob'),me={'BINARY_TYPES':_0x4d7571,'EMPTY_BUFFER':Buffer[_0x30b2e7(0x1dc)](0x0),'GUID':_0x30b2e7(0x13a),'hasBlob':_0x5d6166,'kForOnEventAttribute':Symbol(_0x30b2e7(0x135)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},me;}var ge,ze;function fe(){if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x1b72c9}=V(),_0x25b60a=Buffer[Symbol['species']];function _0x177c1b(_0x3d2e10,_0x3d8f47){const _0xbf8e36=_0x59e2;if(_0x3d2e10[_0xbf8e36(0x228)]===0x0)return _0x1b72c9;if(_0x3d2e10['length']===0x1)return _0x3d2e10[0x0];const _0x591ebe=Buffer[_0xbf8e36(0xf1)](_0x3d8f47);let _0x4441d5=0x0;for(let _0x3430ce=0x0;_0x3430ce<_0x3d2e10[_0xbf8e36(0x228)];_0x3430ce++){const _0x5dd926=_0x3d2e10[_0x3430ce];_0x591ebe[_0xbf8e36(0xe7)](_0x5dd926,_0x4441d5),_0x4441d5+=_0x5dd926['length'];}return _0x4441d5<_0x3d8f47?new _0x25b60a(_0x591ebe[_0xbf8e36(0xcf)],_0x591ebe[_0xbf8e36(0x1b7)],_0x4441d5):_0x591ebe;}function _0x5a6058(_0xdc0dc,_0x5cf280,_0x2e86fc,_0x5786df,_0x29cf86){for(let _0x10b4d4=0x0;_0x10b4d4<_0x29cf86;_0x10b4d4++)_0x2e86fc[_0x5786df+_0x10b4d4]=_0xdc0dc[_0x10b4d4]^_0x5cf280[_0x10b4d4&0x3];}function _0x1c5eee(_0x26dd26,_0x3aef0e){const _0x49dad4=_0x59e2;for(let _0x2fa470=0x0;_0x2fa470<_0x26dd26[_0x49dad4(0x228)];_0x2fa470++)_0x26dd26[_0x2fa470]^=_0x3aef0e[_0x2fa470&0x3];}function _0x30b377(_0x1d11cc){const _0x25a704=_0x59e2;return _0x1d11cc[_0x25a704(0x228)]===_0x1d11cc[_0x25a704(0xcf)]['byteLength']?_0x1d11cc[_0x25a704(0xcf)]:_0x1d11cc['buffer']['slice'](_0x1d11cc[_0x25a704(0x1b7)],_0x1d11cc[_0x25a704(0x1b7)]+_0x1d11cc[_0x25a704(0x228)]);}function _0x1dcd84(_0x5302df){const _0x2365f5=_0x59e2;if(_0x1dcd84[_0x2365f5(0x14b)]=!0x0,Buffer[_0x2365f5(0xd1)](_0x5302df))return _0x5302df;let _0x109c55;return _0x5302df instanceof ArrayBuffer?_0x109c55=new _0x25b60a(_0x5302df):ArrayBuffer['isView'](_0x5302df)?_0x109c55=new _0x25b60a(_0x5302df[_0x2365f5(0xcf)],_0x5302df[_0x2365f5(0x1b7)],_0x5302df['byteLength']):(_0x109c55=Buffer[_0x2365f5(0x25b)](_0x5302df),_0x1dcd84['readOnly']=!0x1),_0x109c55;}return ge={'concat':_0x177c1b,'mask':_0x5a6058,'toArrayBuffer':_0x30b377,'toBuffer':_0x1dcd84,'unmask':_0x1c5eee},ge;}var ye,Ye;function Gt(){const _0x2e8903=_0x2b5109;if(Ye)return ye;Ye=0x1;const _0x5a5621=Symbol(_0x2e8903(0x1ad)),_0x566470=Symbol(_0x2e8903(0x1c9));class _0x5ada32{constructor(_0xce2157){const _0x4d738a=_0x2e8903;this[_0x5a5621]=()=>{const _0x2ec325=_0x59e2;this[_0x2ec325(0xeb)]--,this[_0x566470]();},this[_0x4d738a(0x20e)]=_0xce2157||0x1/0x0,this[_0x4d738a(0x1c6)]=[],this[_0x4d738a(0xeb)]=0x0;}[_0x2e8903(0x1ee)](_0x96dffa){const _0x2d4085=_0x2e8903;this[_0x2d4085(0x1c6)][_0x2d4085(0x14d)](_0x96dffa),this[_0x566470]();}[_0x566470](){const _0x5aa00c=_0x2e8903;if(this[_0x5aa00c(0xeb)]!==this[_0x5aa00c(0x20e)]&&this[_0x5aa00c(0x1c6)][_0x5aa00c(0x228)]){const _0x52a06b=this[_0x5aa00c(0x1c6)][_0x5aa00c(0x216)]();this[_0x5aa00c(0xeb)]++,_0x52a06b(this[_0x5a5621]);}}}return ye=_0x5ada32,ye;}var ve,Ke;function ce(){const _0x510c34=_0x2b5109;if(Ke)return ve;Ke=0x1;const _0x56ae01=_0xa8a821,_0x64a841=fe(),_0x26390f=Gt(),{kStatusCode:_0x4f0561}=V(),_0x57f8d9=Buffer[Symbol['species']],_0x6f7ce6=Buffer[_0x510c34(0x25b)]([0x0,0x0,0xff,0xff]),_0x2ff8f6=Symbol(_0x510c34(0x182)),_0x17a8f8=Symbol(_0x510c34(0x14f)),_0x44df97=Symbol(_0x510c34(0x180)),_0x59789d=Symbol(_0x510c34(0x1ab)),_0x28333e=Symbol(_0x510c34(0x270));let _0x48356e;class _0x453f6c{constructor(_0x15aff0,_0x51b096,_0x12d591){const _0x56fbd9=_0x510c34;if(this[_0x56fbd9(0x146)]=_0x12d591|0x0,this[_0x56fbd9(0x24f)]=_0x15aff0||{},this[_0x56fbd9(0xf0)]=this[_0x56fbd9(0x24f)]['threshold']!==void 0x0?this['_options'][_0x56fbd9(0x1e0)]:0x400,this[_0x56fbd9(0x1a2)]=!!_0x51b096,this[_0x56fbd9(0x213)]=null,this['_inflate']=null,this['params']=null,!_0x48356e){const _0x297958=this['_options'][_0x56fbd9(0x111)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x48356e=new _0x26390f(_0x297958);}}static get[_0x510c34(0x1ec)](){return'permessage-deflate';}[_0x510c34(0x1f7)](){const _0x4a6b87=_0x510c34,_0x2c2ad1={};return this[_0x4a6b87(0x24f)][_0x4a6b87(0xe4)]&&(_0x2c2ad1[_0x4a6b87(0xec)]=!0x0),this[_0x4a6b87(0x24f)][_0x4a6b87(0x24e)]&&(_0x2c2ad1['client_no_context_takeover']=!0x0),this[_0x4a6b87(0x24f)][_0x4a6b87(0x142)]&&(_0x2c2ad1[_0x4a6b87(0xcc)]=this[_0x4a6b87(0x24f)]['serverMaxWindowBits']),this[_0x4a6b87(0x24f)][_0x4a6b87(0x1ae)]?_0x2c2ad1['client_max_window_bits']=this['_options'][_0x4a6b87(0x1ae)]:this['_options'][_0x4a6b87(0x1ae)]==null&&(_0x2c2ad1[_0x4a6b87(0xe2)]=!0x0),_0x2c2ad1;}[_0x510c34(0x1a8)](_0x2e07b5){const _0x524b96=_0x510c34;return _0x2e07b5=this[_0x524b96(0x27b)](_0x2e07b5),this['params']=this[_0x524b96(0x1a2)]?this[_0x524b96(0x21e)](_0x2e07b5):this[_0x524b96(0x22a)](_0x2e07b5),this['params'];}[_0x510c34(0x121)](){const _0x43a85d=_0x510c34;if(this[_0x43a85d(0x200)]&&(this[_0x43a85d(0x200)][_0x43a85d(0x237)](),this[_0x43a85d(0x200)]=null),this[_0x43a85d(0x213)]){const _0x111323=this[_0x43a85d(0x213)][_0x44df97];this[_0x43a85d(0x213)][_0x43a85d(0x237)](),this[_0x43a85d(0x213)]=null,_0x111323&&_0x111323(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x510c34(0x21e)](_0x97faa7){const _0x2a8283=_0x510c34,_0x1a8309=this[_0x2a8283(0x24f)],_0x1d7c6d=_0x97faa7[_0x2a8283(0x15a)](_0x2048f2=>!(_0x1a8309[_0x2a8283(0xe4)]===!0x1&&_0x2048f2['server_no_context_takeover']||_0x2048f2[_0x2a8283(0xcc)]&&(_0x1a8309[_0x2a8283(0x142)]===!0x1||typeof _0x1a8309[_0x2a8283(0x142)]==_0x2a8283(0x156)&&_0x1a8309[_0x2a8283(0x142)]>_0x2048f2[_0x2a8283(0xcc)])||typeof _0x1a8309[_0x2a8283(0x1ae)]==_0x2a8283(0x156)&&!_0x2048f2['client_max_window_bits']));if(!_0x1d7c6d)throw new Error(_0x2a8283(0x1de));return _0x1a8309['serverNoContextTakeover']&&(_0x1d7c6d[_0x2a8283(0xec)]=!0x0),_0x1a8309[_0x2a8283(0x24e)]&&(_0x1d7c6d['client_no_context_takeover']=!0x0),typeof _0x1a8309[_0x2a8283(0x142)]==_0x2a8283(0x156)&&(_0x1d7c6d[_0x2a8283(0xcc)]=_0x1a8309['serverMaxWindowBits']),typeof _0x1a8309[_0x2a8283(0x1ae)]==_0x2a8283(0x156)?_0x1d7c6d[_0x2a8283(0xe2)]=_0x1a8309[_0x2a8283(0x1ae)]:(_0x1d7c6d[_0x2a8283(0xe2)]===!0x0||_0x1a8309[_0x2a8283(0x1ae)]===!0x1)&&delete _0x1d7c6d[_0x2a8283(0xe2)],_0x1d7c6d;}[_0x510c34(0x22a)](_0x4282cc){const _0x3df1b1=_0x510c34,_0x113a1c=_0x4282cc[0x0];if(this[_0x3df1b1(0x24f)]['clientNoContextTakeover']===!0x1&&_0x113a1c['client_no_context_takeover'])throw new Error(_0x3df1b1(0x184));if(!_0x113a1c[_0x3df1b1(0xe2)])typeof this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]==_0x3df1b1(0x156)&&(_0x113a1c[_0x3df1b1(0xe2)]=this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]);else{if(this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]===!0x1||typeof this['_options'][_0x3df1b1(0x1ae)]=='number'&&_0x113a1c['client_max_window_bits']>this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)])throw new Error(_0x3df1b1(0x262));}return _0x113a1c;}[_0x510c34(0x27b)](_0x20a9aa){const _0x4e603f=_0x510c34;return _0x20a9aa[_0x4e603f(0xd4)](_0x322935=>{const _0x5af3b5=_0x4e603f;Object[_0x5af3b5(0x149)](_0x322935)['forEach'](_0x3dabb0=>{const _0x2029f0=_0x5af3b5;let _0x5f195d=_0x322935[_0x3dabb0];if(_0x5f195d[_0x2029f0(0x228)]>0x1)throw new Error(_0x2029f0(0xcd)+_0x3dabb0+_0x2029f0(0x1f4));if(_0x5f195d=_0x5f195d[0x0],_0x3dabb0===_0x2029f0(0xe2)){if(_0x5f195d!==!0x0){const _0x3d7ff6=+_0x5f195d;if(!Number['isInteger'](_0x3d7ff6)||_0x3d7ff6<0x8||_0x3d7ff6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);_0x5f195d=_0x3d7ff6;}else{if(!this[_0x2029f0(0x1a2)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);}}else{if(_0x3dabb0===_0x2029f0(0xcc)){const _0x201f48=+_0x5f195d;if(!Number['isInteger'](_0x201f48)||_0x201f48<0x8||_0x201f48>0xf)throw new TypeError(_0x2029f0(0x17d)+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);_0x5f195d=_0x201f48;}else{if(_0x3dabb0===_0x2029f0(0x245)||_0x3dabb0==='server_no_context_takeover'){if(_0x5f195d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);}else throw new Error(_0x2029f0(0x1ff)+_0x3dabb0+'\x22');}}_0x322935[_0x3dabb0]=_0x5f195d;});}),_0x20a9aa;}[_0x510c34(0x240)](_0x5b438f,_0x3ea510,_0x434dc7){const _0x19a9b1=_0x510c34;_0x48356e[_0x19a9b1(0x1ee)](_0x239786=>{const _0x4eb5f9=_0x19a9b1;this[_0x4eb5f9(0x1ea)](_0x5b438f,_0x3ea510,(_0x1c47df,_0x597cbb)=>{_0x239786(),_0x434dc7(_0x1c47df,_0x597cbb);});});}['compress'](_0x3e2040,_0xf76b7,_0x2f958f){_0x48356e['add'](_0x40bf52=>{const _0x10e060=_0x59e2;this[_0x10e060(0x123)](_0x3e2040,_0xf76b7,(_0x22efed,_0xbef243)=>{_0x40bf52(),_0x2f958f(_0x22efed,_0xbef243);});});}[_0x510c34(0x1ea)](_0x1a9c07,_0x533d00,_0x27f17e){const _0x135b93=_0x510c34,_0x251763=this[_0x135b93(0x1a2)]?_0x135b93(0x183):_0x135b93(0x1c3);if(!this[_0x135b93(0x200)]){const _0x348729=_0x251763+_0x135b93(0x106),_0x30db28=typeof this[_0x135b93(0x175)][_0x348729]!=_0x135b93(0x156)?_0x56ae01[_0x135b93(0xf3)]:this[_0x135b93(0x175)][_0x348729];this[_0x135b93(0x200)]=_0x56ae01[_0x135b93(0x19b)]({...this[_0x135b93(0x24f)][_0x135b93(0x18b)],'windowBits':_0x30db28}),this[_0x135b93(0x200)][_0x2ff8f6]=this,this['_inflate'][_0x17a8f8]=0x0,this['_inflate'][_0x59789d]=[],this[_0x135b93(0x200)]['on'](_0x135b93(0x270),_0x4a255e),this[_0x135b93(0x200)]['on'](_0x135b93(0x1ed),_0x175273);}this[_0x135b93(0x200)][_0x44df97]=_0x27f17e,this['_inflate']['write'](_0x1a9c07),_0x533d00&&this[_0x135b93(0x200)][_0x135b93(0x133)](_0x6f7ce6),this[_0x135b93(0x200)]['flush'](()=>{const _0x22ce20=_0x135b93,_0x98c66b=this[_0x22ce20(0x200)][_0x28333e];if(_0x98c66b){this[_0x22ce20(0x200)][_0x22ce20(0x237)](),this['_inflate']=null,_0x27f17e(_0x98c66b);return;}const _0x4d30a2=_0x64a841[_0x22ce20(0x1e1)](this[_0x22ce20(0x200)][_0x59789d],this[_0x22ce20(0x200)][_0x17a8f8]);this[_0x22ce20(0x200)][_0x22ce20(0x159)][_0x22ce20(0xee)]?(this[_0x22ce20(0x200)][_0x22ce20(0x237)](),this[_0x22ce20(0x200)]=null):(this[_0x22ce20(0x200)][_0x17a8f8]=0x0,this['_inflate'][_0x59789d]=[],_0x533d00&&this[_0x22ce20(0x175)][_0x251763+_0x22ce20(0x1bf)]&&this[_0x22ce20(0x200)]['reset']()),_0x27f17e(null,_0x4d30a2);});}[_0x510c34(0x123)](_0x2335d4,_0xecac79,_0x50e135){const _0x3ea067=_0x510c34,_0x4a965b=this[_0x3ea067(0x1a2)]?_0x3ea067(0x1c3):'client';if(!this[_0x3ea067(0x213)]){const _0xe8ca29=_0x4a965b+_0x3ea067(0x106),_0x3a92e5=typeof this['params'][_0xe8ca29]!='number'?_0x56ae01[_0x3ea067(0xf3)]:this[_0x3ea067(0x175)][_0xe8ca29];this['_deflate']=_0x56ae01[_0x3ea067(0x26f)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x3a92e5}),this[_0x3ea067(0x213)][_0x17a8f8]=0x0,this[_0x3ea067(0x213)][_0x59789d]=[],this[_0x3ea067(0x213)]['on'](_0x3ea067(0x1ed),_0x439d2d);}this[_0x3ea067(0x213)][_0x44df97]=_0x50e135,this[_0x3ea067(0x213)][_0x3ea067(0x133)](_0x2335d4),this[_0x3ea067(0x213)]['flush'](_0x56ae01[_0x3ea067(0x158)],()=>{const _0x2dae44=_0x3ea067;if(!this['_deflate'])return;let _0x3c9389=_0x64a841[_0x2dae44(0x1e1)](this['_deflate'][_0x59789d],this['_deflate'][_0x17a8f8]);_0xecac79&&(_0x3c9389=new _0x57f8d9(_0x3c9389[_0x2dae44(0xcf)],_0x3c9389[_0x2dae44(0x1b7)],_0x3c9389[_0x2dae44(0x228)]-0x4)),this['_deflate'][_0x44df97]=null,this['_deflate'][_0x17a8f8]=0x0,this[_0x2dae44(0x213)][_0x59789d]=[],_0xecac79&&this[_0x2dae44(0x175)][_0x4a965b+_0x2dae44(0x1bf)]&&this['_deflate'][_0x2dae44(0x1df)](),_0x50e135(null,_0x3c9389);});}}ve=_0x453f6c;function _0x439d2d(_0x29d1ee){const _0xa5fc6c=_0x510c34;this[_0x59789d][_0xa5fc6c(0x14d)](_0x29d1ee),this[_0x17a8f8]+=_0x29d1ee[_0xa5fc6c(0x228)];}function _0x175273(_0x5f51e1){const _0x5d79ce=_0x510c34;if(this[_0x17a8f8]+=_0x5f51e1[_0x5d79ce(0x228)],this[_0x2ff8f6][_0x5d79ce(0x146)]<0x1||this[_0x17a8f8]<=this[_0x2ff8f6][_0x5d79ce(0x146)]){this[_0x59789d]['push'](_0x5f51e1);return;}this[_0x28333e]=new RangeError(_0x5d79ce(0x23f)),this[_0x28333e][_0x5d79ce(0x15e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x28333e][_0x4f0561]=0x3f1,this['removeListener']('data',_0x175273),this['reset']();}function _0x4a255e(_0x394f88){const _0x15b834=_0x510c34;if(this[_0x2ff8f6][_0x15b834(0x200)]=null,this[_0x28333e]){this[_0x44df97](this[_0x28333e]);return;}_0x394f88[_0x4f0561]=0x3ef,this[_0x44df97](_0x394f88);}return ve;}var te={'exports':{}};const Vt={},qt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Vt},Symbol[_0x2b5109(0x211)],{'value':_0x2b5109(0x264)})),Ht=jt(qt);var Xe;function ie(){const _0x2c3d5b=_0x2b5109;if(Xe)return te[_0x2c3d5b(0x27a)];Xe=0x1;const {isUtf8:_0x31891b}=_0x128edf,{hasBlob:_0x2c2ab3}=V(),_0x21acd5=[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 _0x34b29d(_0x2dc7b9){return _0x2dc7b9>=0x3e8&&_0x2dc7b9<=0x3f6&&_0x2dc7b9!==0x3ec&&_0x2dc7b9!==0x3ed&&_0x2dc7b9!==0x3ee||_0x2dc7b9>=0xbb8&&_0x2dc7b9<=0x1387;}function _0x17a8a9(_0x14372d){const _0xa47659=_0x2c3d5b,_0x59f6c5=_0x14372d[_0xa47659(0x228)];let _0x2af5fe=0x0;for(;_0x2af5fe<_0x59f6c5;)if((_0x14372d[_0x2af5fe]&0x80)===0x0)_0x2af5fe++;else{if((_0x14372d[_0x2af5fe]&0xe0)===0xc0){if(_0x2af5fe+0x1===_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe]&0xfe)===0xc0)return!0x1;_0x2af5fe+=0x2;}else{if((_0x14372d[_0x2af5fe]&0xf0)===0xe0){if(_0x2af5fe+0x2>=_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x2]&0xc0)!==0x80||_0x14372d[_0x2af5fe]===0xe0&&(_0x14372d[_0x2af5fe+0x1]&0xe0)===0x80||_0x14372d[_0x2af5fe]===0xed&&(_0x14372d[_0x2af5fe+0x1]&0xe0)===0xa0)return!0x1;_0x2af5fe+=0x3;}else{if((_0x14372d[_0x2af5fe]&0xf8)===0xf0){if(_0x2af5fe+0x3>=_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x2]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x3]&0xc0)!==0x80||_0x14372d[_0x2af5fe]===0xf0&&(_0x14372d[_0x2af5fe+0x1]&0xf0)===0x80||_0x14372d[_0x2af5fe]===0xf4&&_0x14372d[_0x2af5fe+0x1]>0x8f||_0x14372d[_0x2af5fe]>0xf4)return!0x1;_0x2af5fe+=0x4;}else return!0x1;}}}return!0x0;}function _0x374378(_0xc8c758){const _0x1d5389=_0x2c3d5b;return _0x2c2ab3&&typeof _0xc8c758=='object'&&typeof _0xc8c758['arrayBuffer']==_0x1d5389(0x239)&&typeof _0xc8c758[_0x1d5389(0x1a9)]==_0x1d5389(0xf5)&&typeof _0xc8c758['stream']==_0x1d5389(0x239)&&(_0xc8c758[Symbol['toStringTag']]==='Blob'||_0xc8c758[Symbol[_0x1d5389(0x211)]]===_0x1d5389(0x1fd));}if(te[_0x2c3d5b(0x27a)]={'isBlob':_0x374378,'isValidStatusCode':_0x34b29d,'isValidUTF8':_0x17a8a9,'tokenChars':_0x21acd5},_0x31891b)te[_0x2c3d5b(0x27a)][_0x2c3d5b(0x131)]=function(_0x3a8583){const _0x44ea75=_0x2c3d5b;return _0x3a8583[_0x44ea75(0x228)]<0x18?_0x17a8a9(_0x3a8583):_0x31891b(_0x3a8583);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x1c7663=Ht;te[_0x2c3d5b(0x27a)][_0x2c3d5b(0x131)]=function(_0x116d86){const _0x332850=_0x2c3d5b;return _0x116d86[_0x332850(0x228)]<0x20?_0x17a8a9(_0x116d86):_0x1c7663(_0x116d86);};}catch{}}return te['exports'];}var Se,Ze;function ht(){const _0x1d0c71=_0x2b5109;if(Ze)return Se;Ze=0x1;const {Writable:_0x366c1d}=_0xc0bc2f,_0x10fca3=ce(),{BINARY_TYPES:_0xa3592c,EMPTY_BUFFER:_0xb4ce7c,kStatusCode:_0x480fc3,kWebSocket:_0x201561}=V(),{concat:_0x2b2a86,toArrayBuffer:_0x5c596c,unmask:_0x367f4e}=fe(),{isValidStatusCode:_0x52a0d0,isValidUTF8:_0x13d100}=ie(),_0x38bce7=Buffer[Symbol[_0x1d0c71(0x20d)]],_0x11a1d7=0x0,_0x2f5c48=0x1,_0x3e0468=0x2,_0x49ade0=0x3,_0x28fc41=0x4,_0x24a89c=0x5,_0x19135c=0x6;class _0x1653fc extends _0x366c1d{constructor(_0x24830a={}){const _0x1215f6=_0x1d0c71;super(),this[_0x1215f6(0x1bb)]=_0x24830a[_0x1215f6(0x127)]!==void 0x0?_0x24830a[_0x1215f6(0x127)]:!0x0,this[_0x1215f6(0x23c)]=_0x24830a[_0x1215f6(0x277)]||_0xa3592c[0x0],this[_0x1215f6(0x15d)]=_0x24830a[_0x1215f6(0x208)]||{},this[_0x1215f6(0x1a2)]=!!_0x24830a[_0x1215f6(0x214)],this['_maxPayload']=_0x24830a[_0x1215f6(0x1fa)]|0x0,this[_0x1215f6(0x21b)]=!!_0x24830a[_0x1215f6(0x16d)],this[_0x201561]=void 0x0,this[_0x1215f6(0x255)]=0x0,this[_0x1215f6(0x148)]=[],this[_0x1215f6(0x14a)]=!0x1,this['_payloadLength']=0x0,this[_0x1215f6(0x177)]=void 0x0,this[_0x1215f6(0xfa)]=0x0,this['_masked']=!0x1,this[_0x1215f6(0x150)]=!0x1,this[_0x1215f6(0x141)]=0x0,this[_0x1215f6(0x26c)]=0x0,this[_0x1215f6(0x1db)]=0x0,this[_0x1215f6(0x1d3)]=[],this[_0x1215f6(0x1f3)]=!0x1,this['_loop']=!0x1,this[_0x1215f6(0x112)]=_0x11a1d7;}[_0x1d0c71(0x1e3)](_0x384cbf,_0x663fb4,_0x50d99c){const _0x1815d8=_0x1d0c71;if(this['_opcode']===0x8&&this[_0x1815d8(0x112)]==_0x11a1d7)return _0x50d99c();this[_0x1815d8(0x255)]+=_0x384cbf[_0x1815d8(0x228)],this['_buffers'][_0x1815d8(0x14d)](_0x384cbf),this['startLoop'](_0x50d99c);}[_0x1d0c71(0x113)](_0x2c0f98){const _0x4eb806=_0x1d0c71;if(this[_0x4eb806(0x255)]-=_0x2c0f98,_0x2c0f98===this['_buffers'][0x0][_0x4eb806(0x228)])return this['_buffers'][_0x4eb806(0x216)]();if(_0x2c0f98<this[_0x4eb806(0x148)][0x0][_0x4eb806(0x228)]){const _0x1732d6=this['_buffers'][0x0];return this[_0x4eb806(0x148)][0x0]=new _0x38bce7(_0x1732d6['buffer'],_0x1732d6[_0x4eb806(0x1b7)]+_0x2c0f98,_0x1732d6['length']-_0x2c0f98),new _0x38bce7(_0x1732d6[_0x4eb806(0xcf)],_0x1732d6[_0x4eb806(0x1b7)],_0x2c0f98);}const _0x4278b6=Buffer[_0x4eb806(0xf1)](_0x2c0f98);do{const _0x303027=this[_0x4eb806(0x148)][0x0],_0x54668d=_0x4278b6[_0x4eb806(0x228)]-_0x2c0f98;_0x2c0f98>=_0x303027[_0x4eb806(0x228)]?_0x4278b6[_0x4eb806(0xe7)](this[_0x4eb806(0x148)][_0x4eb806(0x216)](),_0x54668d):(_0x4278b6[_0x4eb806(0xe7)](new Uint8Array(_0x303027[_0x4eb806(0xcf)],_0x303027[_0x4eb806(0x1b7)],_0x2c0f98),_0x54668d),this[_0x4eb806(0x148)][0x0]=new _0x38bce7(_0x303027[_0x4eb806(0xcf)],_0x303027['byteOffset']+_0x2c0f98,_0x303027[_0x4eb806(0x228)]-_0x2c0f98)),_0x2c0f98-=_0x303027[_0x4eb806(0x228)];}while(_0x2c0f98>0x0);return _0x4278b6;}[_0x1d0c71(0x206)](_0x533030){const _0x97d1f7=_0x1d0c71;this['_loop']=!0x0;do switch(this[_0x97d1f7(0x112)]){case _0x11a1d7:this['getInfo'](_0x533030);break;case _0x2f5c48:this[_0x97d1f7(0x229)](_0x533030);break;case _0x3e0468:this['getPayloadLength64'](_0x533030);break;case _0x49ade0:this[_0x97d1f7(0x10a)]();break;case _0x28fc41:this[_0x97d1f7(0x1f9)](_0x533030);break;case _0x24a89c:case _0x19135c:this[_0x97d1f7(0x16a)]=!0x1;return;}while(this[_0x97d1f7(0x16a)]);this[_0x97d1f7(0x1f3)]||_0x533030();}['getInfo'](_0x2c8300){const _0xca4334=_0x1d0c71;if(this[_0xca4334(0x255)]<0x2){this['_loop']=!0x1;return;}const _0x3f5faa=this[_0xca4334(0x113)](0x2);if((_0x3f5faa[0x0]&0x30)!==0x0){const _0x3b86c3=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x18d),!0x0,0x3ea,_0xca4334(0x107));_0x2c8300(_0x3b86c3);return;}const _0x2ea3f1=(_0x3f5faa[0x0]&0x40)===0x40;if(_0x2ea3f1&&!this[_0xca4334(0x15d)][_0x10fca3['extensionName']]){const _0x546887=this['createError'](RangeError,_0xca4334(0xf4),!0x0,0x3ea,_0xca4334(0x15b));_0x2c8300(_0x546887);return;}if(this[_0xca4334(0x150)]=(_0x3f5faa[0x0]&0x80)===0x80,this[_0xca4334(0x141)]=_0x3f5faa[0x0]&0xf,this[_0xca4334(0x1cd)]=_0x3f5faa[0x1]&0x7f,this['_opcode']===0x0){if(_0x2ea3f1){const _0x17ecec=this[_0xca4334(0x20f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xca4334(0x15b));_0x2c8300(_0x17ecec);return;}if(!this[_0xca4334(0xfa)]){const _0x1eeb8d=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x23d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2c8300(_0x1eeb8d);return;}this[_0xca4334(0x141)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0xca4334(0x141)]===0x2){if(this[_0xca4334(0xfa)]){const _0x47919a=this['createError'](RangeError,_0xca4334(0xe9)+this[_0xca4334(0x141)],!0x0,0x3ea,_0xca4334(0x20a));_0x2c8300(_0x47919a);return;}this[_0xca4334(0x14a)]=_0x2ea3f1;}else{if(this['_opcode']>0x7&&this[_0xca4334(0x141)]<0xb){if(!this[_0xca4334(0x150)]){const _0x2963f8=this['createError'](RangeError,_0xca4334(0xd3),!0x0,0x3ea,_0xca4334(0x1bc));_0x2c8300(_0x2963f8);return;}if(_0x2ea3f1){const _0x29f944=this[_0xca4334(0x20f)](RangeError,_0xca4334(0xf4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2c8300(_0x29f944);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0xca4334(0x1cd)]===0x1){const _0x2bd4b5=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x190)+this[_0xca4334(0x1cd)],!0x0,0x3ea,_0xca4334(0x1a7));_0x2c8300(_0x2bd4b5);return;}}else{const _0x508fae=this[_0xca4334(0x20f)](RangeError,_0xca4334(0xe9)+this[_0xca4334(0x141)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2c8300(_0x508fae);return;}}}if(!this[_0xca4334(0x150)]&&!this[_0xca4334(0xfa)]&&(this[_0xca4334(0xfa)]=this['_opcode']),this[_0xca4334(0x249)]=(_0x3f5faa[0x1]&0x80)===0x80,this[_0xca4334(0x1a2)]){if(!this[_0xca4334(0x249)]){const _0x29528d=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x19a),!0x0,0x3ea,_0xca4334(0x21f));_0x2c8300(_0x29528d);return;}}else{if(this[_0xca4334(0x249)]){const _0xb49588=this['createError'](RangeError,_0xca4334(0x163),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2c8300(_0xb49588);return;}}this[_0xca4334(0x1cd)]===0x7e?this['_state']=_0x2f5c48:this[_0xca4334(0x1cd)]===0x7f?this[_0xca4334(0x112)]=_0x3e0468:this[_0xca4334(0x20b)](_0x2c8300);}[_0x1d0c71(0x229)](_0x2d5eb1){const _0x21f623=_0x1d0c71;if(this[_0x21f623(0x255)]<0x2){this[_0x21f623(0x16a)]=!0x1;return;}this[_0x21f623(0x1cd)]=this[_0x21f623(0x113)](0x2)[_0x21f623(0x18c)](0x0),this[_0x21f623(0x20b)](_0x2d5eb1);}[_0x1d0c71(0x266)](_0x3451e8){const _0x3e449f=_0x1d0c71;if(this[_0x3e449f(0x255)]<0x8){this[_0x3e449f(0x16a)]=!0x1;return;}const _0x3da037=this[_0x3e449f(0x113)](0x8),_0x454943=_0x3da037[_0x3e449f(0x174)](0x0);if(_0x454943>Math[_0x3e449f(0x1a3)](0x2,0x15)-0x1){const _0xc5ebfe=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3451e8(_0xc5ebfe);return;}this[_0x3e449f(0x1cd)]=_0x454943*Math[_0x3e449f(0x1a3)](0x2,0x20)+_0x3da037['readUInt32BE'](0x4),this[_0x3e449f(0x20b)](_0x3451e8);}[_0x1d0c71(0x20b)](_0x4ac2f6){const _0x3cb46a=_0x1d0c71;if(this[_0x3cb46a(0x1cd)]&&this[_0x3cb46a(0x141)]<0x8&&(this[_0x3cb46a(0x26c)]+=this[_0x3cb46a(0x1cd)],this[_0x3cb46a(0x26c)]>this[_0x3cb46a(0x146)]&&this[_0x3cb46a(0x146)]>0x0)){const _0x4de53e=this[_0x3cb46a(0x20f)](RangeError,_0x3cb46a(0x23f),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4ac2f6(_0x4de53e);return;}this['_masked']?this[_0x3cb46a(0x112)]=_0x49ade0:this[_0x3cb46a(0x112)]=_0x28fc41;}[_0x1d0c71(0x10a)](){const _0x267ec0=_0x1d0c71;if(this[_0x267ec0(0x255)]<0x4){this[_0x267ec0(0x16a)]=!0x1;return;}this['_mask']=this[_0x267ec0(0x113)](0x4),this[_0x267ec0(0x112)]=_0x28fc41;}['getData'](_0x252e4a){const _0x2eda0e=_0x1d0c71;let _0x3fccad=_0xb4ce7c;if(this[_0x2eda0e(0x1cd)]){if(this[_0x2eda0e(0x255)]<this[_0x2eda0e(0x1cd)]){this[_0x2eda0e(0x16a)]=!0x1;return;}_0x3fccad=this[_0x2eda0e(0x113)](this[_0x2eda0e(0x1cd)]),this['_masked']&&(this[_0x2eda0e(0x177)][0x0]|this['_mask'][0x1]|this[_0x2eda0e(0x177)][0x2]|this[_0x2eda0e(0x177)][0x3])!==0x0&&_0x367f4e(_0x3fccad,this[_0x2eda0e(0x177)]);}if(this[_0x2eda0e(0x141)]>0x7){this[_0x2eda0e(0x19f)](_0x3fccad,_0x252e4a);return;}if(this['_compressed']){this[_0x2eda0e(0x112)]=_0x24a89c,this[_0x2eda0e(0x240)](_0x3fccad,_0x252e4a);return;}_0x3fccad[_0x2eda0e(0x228)]&&(this['_messageLength']=this[_0x2eda0e(0x26c)],this[_0x2eda0e(0x1d3)][_0x2eda0e(0x14d)](_0x3fccad)),this[_0x2eda0e(0x1f8)](_0x252e4a);}[_0x1d0c71(0x240)](_0x5564dd,_0x368d65){const _0x210653=_0x1d0c71;this[_0x210653(0x15d)][_0x10fca3['extensionName']][_0x210653(0x240)](_0x5564dd,this[_0x210653(0x150)],(_0x1dba67,_0x327134)=>{const _0x536f04=_0x210653;if(_0x1dba67)return _0x368d65(_0x1dba67);if(_0x327134['length']){if(this['_messageLength']+=_0x327134[_0x536f04(0x228)],this[_0x536f04(0x1db)]>this[_0x536f04(0x146)]&&this[_0x536f04(0x146)]>0x0){const _0xc7cdbb=this[_0x536f04(0x20f)](RangeError,_0x536f04(0x23f),!0x1,0x3f1,_0x536f04(0x126));_0x368d65(_0xc7cdbb);return;}this['_fragments'][_0x536f04(0x14d)](_0x327134);}this[_0x536f04(0x1f8)](_0x368d65),this['_state']===_0x11a1d7&&this[_0x536f04(0x206)](_0x368d65);});}[_0x1d0c71(0x1f8)](_0x34ef3f){const _0x56ee22=_0x1d0c71;if(!this['_fin']){this[_0x56ee22(0x112)]=_0x11a1d7;return;}const _0x45a7a0=this[_0x56ee22(0x1db)],_0xcafc8d=this[_0x56ee22(0x1d3)];if(this['_totalPayloadLength']=0x0,this[_0x56ee22(0x1db)]=0x0,this[_0x56ee22(0xfa)]=0x0,this[_0x56ee22(0x1d3)]=[],this[_0x56ee22(0x141)]===0x2){let _0x1e2452;this[_0x56ee22(0x23c)]===_0x56ee22(0x1d8)?_0x1e2452=_0x2b2a86(_0xcafc8d,_0x45a7a0):this[_0x56ee22(0x23c)]===_0x56ee22(0x179)?_0x1e2452=_0x5c596c(_0x2b2a86(_0xcafc8d,_0x45a7a0)):this[_0x56ee22(0x23c)]===_0x56ee22(0x20c)?_0x1e2452=new Blob(_0xcafc8d):_0x1e2452=_0xcafc8d,this[_0x56ee22(0x1bb)]?(this[_0x56ee22(0x11a)](_0x56ee22(0x22f),_0x1e2452,!0x0),this['_state']=_0x11a1d7):(this[_0x56ee22(0x112)]=_0x19135c,setImmediate(()=>{const _0x477520=_0x56ee22;this[_0x477520(0x11a)](_0x477520(0x22f),_0x1e2452,!0x0),this[_0x477520(0x112)]=_0x11a1d7,this['startLoop'](_0x34ef3f);}));}else{const _0x32e221=_0x2b2a86(_0xcafc8d,_0x45a7a0);if(!this[_0x56ee22(0x21b)]&&!_0x13d100(_0x32e221)){const _0x4ad815=this[_0x56ee22(0x20f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x56ee22(0x21d));_0x34ef3f(_0x4ad815);return;}this[_0x56ee22(0x112)]===_0x24a89c||this['_allowSynchronousEvents']?(this[_0x56ee22(0x11a)]('message',_0x32e221,!0x1),this[_0x56ee22(0x112)]=_0x11a1d7):(this[_0x56ee22(0x112)]=_0x19135c,setImmediate(()=>{const _0x5ba26a=_0x56ee22;this[_0x5ba26a(0x11a)](_0x5ba26a(0x22f),_0x32e221,!0x1),this[_0x5ba26a(0x112)]=_0x11a1d7,this['startLoop'](_0x34ef3f);}));}}[_0x1d0c71(0x19f)](_0x31a4a0,_0x17c46b){const _0x5d347f=_0x1d0c71;if(this['_opcode']===0x8){if(_0x31a4a0[_0x5d347f(0x228)]===0x0)this[_0x5d347f(0x16a)]=!0x1,this['emit']('conclude',0x3ed,_0xb4ce7c),this[_0x5d347f(0x181)]();else{const _0x3c97b4=_0x31a4a0[_0x5d347f(0x18c)](0x0);if(!_0x52a0d0(_0x3c97b4)){const _0x45d18f=this[_0x5d347f(0x20f)](RangeError,_0x5d347f(0x250)+_0x3c97b4,!0x0,0x3ea,_0x5d347f(0x19e));_0x17c46b(_0x45d18f);return;}const _0x57438d=new _0x38bce7(_0x31a4a0[_0x5d347f(0xcf)],_0x31a4a0[_0x5d347f(0x1b7)]+0x2,_0x31a4a0[_0x5d347f(0x228)]-0x2);if(!this[_0x5d347f(0x21b)]&&!_0x13d100(_0x57438d)){const _0x2a2f0d=this['createError'](Error,_0x5d347f(0x192),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x17c46b(_0x2a2f0d);return;}this['_loop']=!0x1,this['emit']('conclude',_0x3c97b4,_0x57438d),this[_0x5d347f(0x181)]();}this[_0x5d347f(0x112)]=_0x11a1d7;return;}this[_0x5d347f(0x1bb)]?(this[_0x5d347f(0x11a)](this[_0x5d347f(0x141)]===0x9?_0x5d347f(0x10e):'pong',_0x31a4a0),this[_0x5d347f(0x112)]=_0x11a1d7):(this[_0x5d347f(0x112)]=_0x19135c,setImmediate(()=>{const _0x3b6961=_0x5d347f;this[_0x3b6961(0x11a)](this['_opcode']===0x9?'ping':'pong',_0x31a4a0),this['_state']=_0x11a1d7,this[_0x3b6961(0x206)](_0x17c46b);}));}[_0x1d0c71(0x20f)](_0x32d174,_0x2649d5,_0x371ab7,_0x5e2aa7,_0x179268){const _0x41e136=_0x1d0c71;this[_0x41e136(0x16a)]=!0x1,this['_errored']=!0x0;const _0x415957=new _0x32d174(_0x371ab7?_0x41e136(0x104)+_0x2649d5:_0x2649d5);return Error[_0x41e136(0x233)](_0x415957,this[_0x41e136(0x20f)]),_0x415957[_0x41e136(0x15e)]=_0x179268,_0x415957[_0x480fc3]=_0x5e2aa7,_0x415957;}}return Se=_0x1653fc,Se;}var Ee,Qe;function ut(){const _0x3436b6=_0x2b5109;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x206c56}=_0xc0bc2f,{randomFillSync:_0xa0fc6d}=_0x572ea6,_0x1d48ad=ce(),{EMPTY_BUFFER:_0x3472c9,kWebSocket:_0x275923,NOOP:_0x784f63}=V(),{isBlob:_0x55ee1a,isValidStatusCode:_0x477b7f}=ie(),{mask:_0x3f3658,toBuffer:_0x448dc4}=fe(),_0x2a41a1=Symbol(_0x3436b6(0x24b)),_0x335b52=Buffer[_0x3436b6(0x1dc)](0x4),_0x49e699=0x8*0x400;let _0x266a2d,_0x5171bf=_0x49e699;const _0x13630a=0x0,_0xc0afed=0x1,_0x93cd2e=0x2;class _0x468284{constructor(_0x36b26b,_0x53ac7e,_0x42e1b6){const _0x1e0d7a=_0x3436b6;this[_0x1e0d7a(0x15d)]=_0x53ac7e||{},_0x42e1b6&&(this[_0x1e0d7a(0xd8)]=_0x42e1b6,this[_0x1e0d7a(0x128)]=Buffer['alloc'](0x4)),this[_0x1e0d7a(0x120)]=_0x36b26b,this[_0x1e0d7a(0x263)]=!0x0,this[_0x1e0d7a(0x123)]=!0x1,this[_0x1e0d7a(0x255)]=0x0,this[_0x1e0d7a(0x1b0)]=[],this['_state']=_0x13630a,this[_0x1e0d7a(0x134)]=_0x784f63,this[_0x275923]=void 0x0;}static[_0x3436b6(0x109)](_0x4a94ec,_0x11f43b){const _0xf38e8d=_0x3436b6;let _0x46c231,_0x4aff6e=!0x1,_0x145d5d=0x2,_0x38646a=!0x1;_0x11f43b['mask']&&(_0x46c231=_0x11f43b[_0xf38e8d(0x209)]||_0x335b52,_0x11f43b['generateMask']?_0x11f43b[_0xf38e8d(0x13d)](_0x46c231):(_0x5171bf===_0x49e699&&(_0x266a2d===void 0x0&&(_0x266a2d=Buffer[_0xf38e8d(0x1dc)](_0x49e699)),_0xa0fc6d(_0x266a2d,0x0,_0x49e699),_0x5171bf=0x0),_0x46c231[0x0]=_0x266a2d[_0x5171bf++],_0x46c231[0x1]=_0x266a2d[_0x5171bf++],_0x46c231[0x2]=_0x266a2d[_0x5171bf++],_0x46c231[0x3]=_0x266a2d[_0x5171bf++]),_0x38646a=(_0x46c231[0x0]|_0x46c231[0x1]|_0x46c231[0x2]|_0x46c231[0x3])===0x0,_0x145d5d=0x6);let _0x318e77;typeof _0x4a94ec==_0xf38e8d(0xf5)?(!_0x11f43b[_0xf38e8d(0x19d)]||_0x38646a)&&_0x11f43b[_0x2a41a1]!==void 0x0?_0x318e77=_0x11f43b[_0x2a41a1]:(_0x4a94ec=Buffer['from'](_0x4a94ec),_0x318e77=_0x4a94ec[_0xf38e8d(0x228)]):(_0x318e77=_0x4a94ec[_0xf38e8d(0x228)],_0x4aff6e=_0x11f43b[_0xf38e8d(0x19d)]&&_0x11f43b[_0xf38e8d(0x14b)]&&!_0x38646a);let _0x13a673=_0x318e77;_0x318e77>=0x10000?(_0x145d5d+=0x8,_0x13a673=0x7f):_0x318e77>0x7d&&(_0x145d5d+=0x2,_0x13a673=0x7e);const _0xfd2d81=Buffer[_0xf38e8d(0xf1)](_0x4aff6e?_0x318e77+_0x145d5d:_0x145d5d);return _0xfd2d81[0x0]=_0x11f43b[_0xf38e8d(0x243)]?_0x11f43b[_0xf38e8d(0x166)]|0x80:_0x11f43b['opcode'],_0x11f43b[_0xf38e8d(0x119)]&&(_0xfd2d81[0x0]|=0x40),_0xfd2d81[0x1]=_0x13a673,_0x13a673===0x7e?_0xfd2d81[_0xf38e8d(0x108)](_0x318e77,0x2):_0x13a673===0x7f&&(_0xfd2d81[0x2]=_0xfd2d81[0x3]=0x0,_0xfd2d81[_0xf38e8d(0x1f0)](_0x318e77,0x4,0x6)),_0x11f43b[_0xf38e8d(0x19d)]?(_0xfd2d81[0x1]|=0x80,_0xfd2d81[_0x145d5d-0x4]=_0x46c231[0x0],_0xfd2d81[_0x145d5d-0x3]=_0x46c231[0x1],_0xfd2d81[_0x145d5d-0x2]=_0x46c231[0x2],_0xfd2d81[_0x145d5d-0x1]=_0x46c231[0x3],_0x38646a?[_0xfd2d81,_0x4a94ec]:_0x4aff6e?(_0x3f3658(_0x4a94ec,_0x46c231,_0xfd2d81,_0x145d5d,_0x318e77),[_0xfd2d81]):(_0x3f3658(_0x4a94ec,_0x46c231,_0x4a94ec,0x0,_0x318e77),[_0xfd2d81,_0x4a94ec])):[_0xfd2d81,_0x4a94ec];}[_0x3436b6(0x237)](_0x5ae73e,_0x214c57,_0x396d1d,_0x43e0fc){const _0x2b7215=_0x3436b6;let _0x5c2ae3;if(_0x5ae73e===void 0x0)_0x5c2ae3=_0x3472c9;else{if(typeof _0x5ae73e!=_0x2b7215(0x156)||!_0x477b7f(_0x5ae73e))throw new TypeError(_0x2b7215(0x16e));if(_0x214c57===void 0x0||!_0x214c57[_0x2b7215(0x228)])_0x5c2ae3=Buffer['allocUnsafe'](0x2),_0x5c2ae3[_0x2b7215(0x108)](_0x5ae73e,0x0);else{const _0x589a5f=Buffer[_0x2b7215(0x1f1)](_0x214c57);if(_0x589a5f>0x7b)throw new RangeError(_0x2b7215(0x139));_0x5c2ae3=Buffer['allocUnsafe'](0x2+_0x589a5f),_0x5c2ae3[_0x2b7215(0x108)](_0x5ae73e,0x0),typeof _0x214c57==_0x2b7215(0xf5)?_0x5c2ae3[_0x2b7215(0x133)](_0x214c57,0x2):_0x5c2ae3[_0x2b7215(0xe7)](_0x214c57,0x2);}}const _0x463fda={[_0x2a41a1]:_0x5c2ae3[_0x2b7215(0x228)],'fin':!0x0,'generateMask':this[_0x2b7215(0xd8)],'mask':_0x396d1d,'maskBuffer':this[_0x2b7215(0x128)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b7215(0x112)]!==_0x13630a?this['enqueue']([this[_0x2b7215(0xe0)],_0x5c2ae3,!0x1,_0x463fda,_0x43e0fc]):this[_0x2b7215(0x11d)](_0x468284[_0x2b7215(0x109)](_0x5c2ae3,_0x463fda),_0x43e0fc);}['ping'](_0x97dfde,_0x2503e2,_0x39f9e3){const _0x3a3a2c=_0x3436b6;let _0x2b7a52,_0x5f0634;if(typeof _0x97dfde==_0x3a3a2c(0xf5)?(_0x2b7a52=Buffer[_0x3a3a2c(0x1f1)](_0x97dfde),_0x5f0634=!0x1):_0x55ee1a(_0x97dfde)?(_0x2b7a52=_0x97dfde[_0x3a3a2c(0x1cb)],_0x5f0634=!0x1):(_0x97dfde=_0x448dc4(_0x97dfde),_0x2b7a52=_0x97dfde[_0x3a3a2c(0x228)],_0x5f0634=_0x448dc4[_0x3a3a2c(0x14b)]),_0x2b7a52>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x364ab6={[_0x2a41a1]:_0x2b7a52,'fin':!0x0,'generateMask':this[_0x3a3a2c(0xd8)],'mask':_0x2503e2,'maskBuffer':this[_0x3a3a2c(0x128)],'opcode':0x9,'readOnly':_0x5f0634,'rsv1':!0x1};_0x55ee1a(_0x97dfde)?this['_state']!==_0x13630a?this['enqueue']([this[_0x3a3a2c(0x26a)],_0x97dfde,!0x1,_0x364ab6,_0x39f9e3]):this[_0x3a3a2c(0x26a)](_0x97dfde,!0x1,_0x364ab6,_0x39f9e3):this['_state']!==_0x13630a?this[_0x3a3a2c(0x153)]([this[_0x3a3a2c(0xe0)],_0x97dfde,!0x1,_0x364ab6,_0x39f9e3]):this[_0x3a3a2c(0x11d)](_0x468284[_0x3a3a2c(0x109)](_0x97dfde,_0x364ab6),_0x39f9e3);}[_0x3436b6(0xe1)](_0x42fbfe,_0x2f5846,_0x279ae4){const _0x4dcd04=_0x3436b6;let _0x1d932b,_0x121a46;if(typeof _0x42fbfe==_0x4dcd04(0xf5)?(_0x1d932b=Buffer[_0x4dcd04(0x1f1)](_0x42fbfe),_0x121a46=!0x1):_0x55ee1a(_0x42fbfe)?(_0x1d932b=_0x42fbfe[_0x4dcd04(0x1cb)],_0x121a46=!0x1):(_0x42fbfe=_0x448dc4(_0x42fbfe),_0x1d932b=_0x42fbfe[_0x4dcd04(0x228)],_0x121a46=_0x448dc4['readOnly']),_0x1d932b>0x7d)throw new RangeError(_0x4dcd04(0x236));const _0x26ce1c={[_0x2a41a1]:_0x1d932b,'fin':!0x0,'generateMask':this[_0x4dcd04(0xd8)],'mask':_0x2f5846,'maskBuffer':this[_0x4dcd04(0x128)],'opcode':0xa,'readOnly':_0x121a46,'rsv1':!0x1};_0x55ee1a(_0x42fbfe)?this[_0x4dcd04(0x112)]!==_0x13630a?this[_0x4dcd04(0x153)]([this['getBlobData'],_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4]):this[_0x4dcd04(0x26a)](_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4):this['_state']!==_0x13630a?this['enqueue']([this[_0x4dcd04(0xe0)],_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4]):this[_0x4dcd04(0x11d)](_0x468284[_0x4dcd04(0x109)](_0x42fbfe,_0x26ce1c),_0x279ae4);}[_0x3436b6(0x12e)](_0x429644,_0x9b5eba,_0x8a1c95){const _0x12ad21=_0x3436b6,_0x3a7a03=this[_0x12ad21(0x15d)][_0x1d48ad[_0x12ad21(0x1ec)]];let _0x148cf9=_0x9b5eba['binary']?0x2:0x1,_0x248eac=_0x9b5eba['compress'],_0x2feb4c,_0x1224eb;typeof _0x429644==_0x12ad21(0xf5)?(_0x2feb4c=Buffer[_0x12ad21(0x1f1)](_0x429644),_0x1224eb=!0x1):_0x55ee1a(_0x429644)?(_0x2feb4c=_0x429644[_0x12ad21(0x1cb)],_0x1224eb=!0x1):(_0x429644=_0x448dc4(_0x429644),_0x2feb4c=_0x429644[_0x12ad21(0x228)],_0x1224eb=_0x448dc4[_0x12ad21(0x14b)]),this[_0x12ad21(0x263)]?(this[_0x12ad21(0x263)]=!0x1,_0x248eac&&_0x3a7a03&&_0x3a7a03['params'][_0x3a7a03['_isServer']?_0x12ad21(0xec):_0x12ad21(0x245)]&&(_0x248eac=_0x2feb4c>=_0x3a7a03[_0x12ad21(0xf0)]),this[_0x12ad21(0x123)]=_0x248eac):(_0x248eac=!0x1,_0x148cf9=0x0),_0x9b5eba[_0x12ad21(0x243)]&&(this[_0x12ad21(0x263)]=!0x0);const _0x3378cc={[_0x2a41a1]:_0x2feb4c,'fin':_0x9b5eba[_0x12ad21(0x243)],'generateMask':this[_0x12ad21(0xd8)],'mask':_0x9b5eba[_0x12ad21(0x19d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x148cf9,'readOnly':_0x1224eb,'rsv1':_0x248eac};_0x55ee1a(_0x429644)?this[_0x12ad21(0x112)]!==_0x13630a?this[_0x12ad21(0x153)]([this[_0x12ad21(0x26a)],_0x429644,this[_0x12ad21(0x123)],_0x3378cc,_0x8a1c95]):this[_0x12ad21(0x26a)](_0x429644,this['_compress'],_0x3378cc,_0x8a1c95):this[_0x12ad21(0x112)]!==_0x13630a?this[_0x12ad21(0x153)]([this[_0x12ad21(0xe0)],_0x429644,this['_compress'],_0x3378cc,_0x8a1c95]):this['dispatch'](_0x429644,this[_0x12ad21(0x123)],_0x3378cc,_0x8a1c95);}[_0x3436b6(0x26a)](_0x2fd703,_0x2c7f99,_0x1e2baf,_0x4b8af4){const _0x41e291=_0x3436b6;this[_0x41e291(0x255)]+=_0x1e2baf[_0x2a41a1],this[_0x41e291(0x112)]=_0x93cd2e,_0x2fd703[_0x41e291(0x105)]()[_0x41e291(0x275)](_0x21d9e4=>{const _0x35490b=_0x41e291;if(this[_0x35490b(0x120)][_0x35490b(0x130)]){const _0x4569dc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x72a0c5,this,_0x4569dc,_0x4b8af4);return;}this['_bufferedBytes']-=_0x1e2baf[_0x2a41a1];const _0xa96e40=_0x448dc4(_0x21d9e4);_0x2c7f99?this[_0x35490b(0xe0)](_0xa96e40,_0x2c7f99,_0x1e2baf,_0x4b8af4):(this[_0x35490b(0x112)]=_0x13630a,this[_0x35490b(0x11d)](_0x468284[_0x35490b(0x109)](_0xa96e40,_0x1e2baf),_0x4b8af4),this[_0x35490b(0xd0)]());})[_0x41e291(0x23a)](_0x44d09f=>{const _0xb07813=_0x41e291;process[_0xb07813(0x22d)](_0x1ad570,this,_0x44d09f,_0x4b8af4);});}[_0x3436b6(0xe0)](_0x56545f,_0x315717,_0x4db02e,_0x5f33bf){const _0x45d275=_0x3436b6;if(!_0x315717){this['sendFrame'](_0x468284['frame'](_0x56545f,_0x4db02e),_0x5f33bf);return;}const _0x4ba283=this[_0x45d275(0x15d)][_0x1d48ad[_0x45d275(0x1ec)]];this[_0x45d275(0x255)]+=_0x4db02e[_0x2a41a1],this['_state']=_0xc0afed,_0x4ba283[_0x45d275(0x1b8)](_0x56545f,_0x4db02e[_0x45d275(0x243)],(_0x3b70b8,_0x2bbdde)=>{const _0x5cbc65=_0x45d275;if(this[_0x5cbc65(0x120)][_0x5cbc65(0x130)]){const _0x7dbdfe=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x72a0c5(this,_0x7dbdfe,_0x5f33bf);return;}this['_bufferedBytes']-=_0x4db02e[_0x2a41a1],this[_0x5cbc65(0x112)]=_0x13630a,_0x4db02e[_0x5cbc65(0x14b)]=!0x1,this[_0x5cbc65(0x11d)](_0x468284['frame'](_0x2bbdde,_0x4db02e),_0x5f33bf),this['dequeue']();});}[_0x3436b6(0xd0)](){const _0x5c9b5a=_0x3436b6;for(;this[_0x5c9b5a(0x112)]===_0x13630a&&this[_0x5c9b5a(0x1b0)][_0x5c9b5a(0x228)];){const _0x5ba3ad=this[_0x5c9b5a(0x1b0)][_0x5c9b5a(0x216)]();this[_0x5c9b5a(0x255)]-=_0x5ba3ad[0x3][_0x2a41a1],Reflect['apply'](_0x5ba3ad[0x0],this,_0x5ba3ad[_0x5c9b5a(0x215)](0x1));}}[_0x3436b6(0x153)](_0xedcf9c){const _0x2c30eb=_0x3436b6;this[_0x2c30eb(0x255)]+=_0xedcf9c[0x3][_0x2a41a1],this[_0x2c30eb(0x1b0)][_0x2c30eb(0x14d)](_0xedcf9c);}[_0x3436b6(0x11d)](_0x444028,_0x17226a){const _0x3aed1c=_0x3436b6;_0x444028[_0x3aed1c(0x228)]===0x2?(this['_socket'][_0x3aed1c(0x137)](),this[_0x3aed1c(0x120)][_0x3aed1c(0x133)](_0x444028[0x0]),this[_0x3aed1c(0x120)][_0x3aed1c(0x133)](_0x444028[0x1],_0x17226a),this['_socket'][_0x3aed1c(0x278)]()):this['_socket'][_0x3aed1c(0x133)](_0x444028[0x0],_0x17226a);}}Ee=_0x468284;function _0x72a0c5(_0x1e6a1d,_0x3cf980,_0x5d6003){const _0x7e2ee5=_0x3436b6;typeof _0x5d6003=='function'&&_0x5d6003(_0x3cf980);for(let _0x163ad=0x0;_0x163ad<_0x1e6a1d[_0x7e2ee5(0x1b0)][_0x7e2ee5(0x228)];_0x163ad++){const _0x265b60=_0x1e6a1d[_0x7e2ee5(0x1b0)][_0x163ad],_0x4e70f4=_0x265b60[_0x265b60[_0x7e2ee5(0x228)]-0x1];typeof _0x4e70f4==_0x7e2ee5(0x239)&&_0x4e70f4(_0x3cf980);}}function _0x1ad570(_0x43b9d6,_0x598946,_0x222c16){const _0x1df4de=_0x3436b6;_0x72a0c5(_0x43b9d6,_0x598946,_0x222c16),_0x43b9d6[_0x1df4de(0x134)](_0x598946);}return Ee;}var xe,Je;function zt(){const _0xec08a9=_0x2b5109;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x429b33,kListener:_0xfc0d2a}=V(),_0x5f5b9c=Symbol('kCode'),_0x130a16=Symbol(_0xec08a9(0x1a6)),_0x2cf12b=Symbol('kError'),_0x3fb18e=Symbol(_0xec08a9(0x1d6)),_0x1186b0=Symbol(_0xec08a9(0x218)),_0x2180d0=Symbol(_0xec08a9(0xed)),_0xf20c62=Symbol(_0xec08a9(0x16f)),_0x3ef1c8=Symbol('kWasClean');class _0xc068a6{constructor(_0x41a739){this[_0x2180d0]=null,this[_0xf20c62]=_0x41a739;}get[_0xec08a9(0x185)](){return this[_0x2180d0];}get[_0xec08a9(0x1a9)](){return this[_0xf20c62];}}Object[_0xec08a9(0xde)](_0xc068a6[_0xec08a9(0x1dd)],_0xec08a9(0x185),{'enumerable':!0x0}),Object[_0xec08a9(0xde)](_0xc068a6[_0xec08a9(0x1dd)],'type',{'enumerable':!0x0});class _0x333fca extends _0xc068a6{constructor(_0x122c4f,_0xf06f20={}){const _0x200ca=_0xec08a9;super(_0x122c4f),this[_0x5f5b9c]=_0xf06f20[_0x200ca(0x15e)]===void 0x0?0x0:_0xf06f20['code'],this[_0x1186b0]=_0xf06f20['reason']===void 0x0?'':_0xf06f20[_0x200ca(0x188)],this[_0x3ef1c8]=_0xf06f20['wasClean']===void 0x0?!0x1:_0xf06f20[_0x200ca(0x167)];}get[_0xec08a9(0x15e)](){return this[_0x5f5b9c];}get[_0xec08a9(0x188)](){return this[_0x1186b0];}get[_0xec08a9(0x167)](){return this[_0x3ef1c8];}}Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x15e),{'enumerable':!0x0}),Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x188),{'enumerable':!0x0}),Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x167),{'enumerable':!0x0});class _0x43d3dd extends _0xc068a6{constructor(_0x2b5529,_0x2e961c={}){const _0x3d67bd=_0xec08a9;super(_0x2b5529),this[_0x2cf12b]=_0x2e961c[_0x3d67bd(0x270)]===void 0x0?null:_0x2e961c[_0x3d67bd(0x270)],this[_0x3fb18e]=_0x2e961c[_0x3d67bd(0x22f)]===void 0x0?'':_0x2e961c[_0x3d67bd(0x22f)];}get[_0xec08a9(0x270)](){return this[_0x2cf12b];}get[_0xec08a9(0x22f)](){return this[_0x3fb18e];}}Object[_0xec08a9(0xde)](_0x43d3dd[_0xec08a9(0x1dd)],'error',{'enumerable':!0x0}),Object[_0xec08a9(0xde)](_0x43d3dd['prototype'],'message',{'enumerable':!0x0});class _0x6b7360 extends _0xc068a6{constructor(_0x234ac5,_0x3a18ed={}){const _0x2f6d2e=_0xec08a9;super(_0x234ac5),this[_0x130a16]=_0x3a18ed[_0x2f6d2e(0x1ed)]===void 0x0?null:_0x3a18ed[_0x2f6d2e(0x1ed)];}get[_0xec08a9(0x1ed)](){return this[_0x130a16];}}Object['defineProperty'](_0x6b7360['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x333fca,'ErrorEvent':_0x43d3dd,'Event':_0xc068a6,'EventTarget':{'addEventListener'(_0x22891f,_0x94606c,_0xfca942={}){const _0x5e44b0=_0xec08a9;for(const _0xf0f4ef of this[_0x5e44b0(0x164)](_0x22891f))if(!_0xfca942[_0x429b33]&&_0xf0f4ef[_0xfc0d2a]===_0x94606c&&!_0xf0f4ef[_0x429b33])return;let _0x87d9d0;if(_0x22891f===_0x5e44b0(0x22f))_0x87d9d0=function(_0x1c0065,_0x57e0da){const _0xf39b8=_0x5e44b0,_0x430588=new _0x6b7360(_0xf39b8(0x22f),{'data':_0x57e0da?_0x1c0065:_0x1c0065[_0xf39b8(0x279)]()});_0x430588[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x430588);};else{if(_0x22891f===_0x5e44b0(0x237))_0x87d9d0=function(_0x85e4c7,_0x11c7cc){const _0x2df5f4=_0x5e44b0,_0x1cd3f8=new _0x333fca(_0x2df5f4(0x237),{'code':_0x85e4c7,'reason':_0x11c7cc[_0x2df5f4(0x279)](),'wasClean':this[_0x2df5f4(0x1e9)]&&this[_0x2df5f4(0x226)]});_0x1cd3f8[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x1cd3f8);};else{if(_0x22891f===_0x5e44b0(0x270))_0x87d9d0=function(_0x4bed4b){const _0x4bba18=_0x5e44b0,_0x24610f=new _0x43d3dd(_0x4bba18(0x270),{'error':_0x4bed4b,'message':_0x4bed4b['message']});_0x24610f[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x24610f);};else{if(_0x22891f===_0x5e44b0(0x265))_0x87d9d0=function(){const _0x36701f=_0x5e44b0,_0x4f1c5b=new _0xc068a6(_0x36701f(0x265));_0x4f1c5b[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x4f1c5b);};else return;}}}_0x87d9d0[_0x429b33]=!!_0xfca942[_0x429b33],_0x87d9d0[_0xfc0d2a]=_0x94606c,_0xfca942[_0x5e44b0(0x114)]?this[_0x5e44b0(0x114)](_0x22891f,_0x87d9d0):this['on'](_0x22891f,_0x87d9d0);},'removeEventListener'(_0xabcfd3,_0x23d194){const _0x7a7659=_0xec08a9;for(const _0x152734 of this[_0x7a7659(0x164)](_0xabcfd3))if(_0x152734[_0xfc0d2a]===_0x23d194&&!_0x152734[_0x429b33]){this[_0x7a7659(0x235)](_0xabcfd3,_0x152734);break;}}},'MessageEvent':_0x6b7360};function _0x5c9255(_0x22f4b5,_0x2b712d,_0x6b81b0){const _0x3e3764=_0xec08a9;typeof _0x22f4b5==_0x3e3764(0x13e)&&_0x22f4b5[_0x3e3764(0x22b)]?_0x22f4b5[_0x3e3764(0x22b)][_0x3e3764(0x232)](_0x22f4b5,_0x6b81b0):_0x22f4b5[_0x3e3764(0x232)](_0x2b712d,_0x6b81b0);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x3c96ef}=ie();function _0x1ab604(_0x35bbed,_0x45be9d,_0x64fa83){const _0x433209=_0x59e2;_0x35bbed[_0x45be9d]===void 0x0?_0x35bbed[_0x45be9d]=[_0x64fa83]:_0x35bbed[_0x45be9d][_0x433209(0x14d)](_0x64fa83);}function _0x5a12a7(_0x3543ef){const _0x5f3f86=_0x59e2,_0x1d0077=Object[_0x5f3f86(0x116)](null);let _0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x318930=!0x1,_0x108fb1=!0x1,_0x4dfd54=!0x1,_0x195456,_0x2df495,_0x3e8699=-0x1,_0x3e8251=-0x1,_0x401597=-0x1,_0xe02d84=0x0;for(;_0xe02d84<_0x3543ef[_0x5f3f86(0x228)];_0xe02d84++)if(_0x3e8251=_0x3543ef[_0x5f3f86(0xe3)](_0xe02d84),_0x195456===void 0x0){if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0xe02d84!==0x0&&(_0x3e8251===0x20||_0x3e8251===0x9))_0x401597===-0x1&&_0x3e8699!==-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84);const _0x441204=_0x3543ef['slice'](_0x3e8699,_0x401597);_0x3e8251===0x2c?(_0x1ab604(_0x1d0077,_0x441204,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null)):_0x195456=_0x441204,_0x3e8699=_0x401597=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe02d84);}}}else{if(_0x2df495===void 0x0){if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8251===0x20||_0x3e8251===0x9)_0x401597===-0x1&&_0x3e8699!==-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84),_0x1ab604(_0x1b07a5,_0x3543ef['slice'](_0x3e8699,_0x401597),!0x0),_0x3e8251===0x2c&&(_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x195456=void 0x0),_0x3e8699=_0x401597=-0x1;}else{if(_0x3e8251===0x3d&&_0x3e8699!==-0x1&&_0x401597===-0x1)_0x2df495=_0x3543ef['slice'](_0x3e8699,_0xe02d84),_0x3e8699=_0x401597=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe02d84);}}}}else{if(_0x108fb1){if(_0x3c96ef[_0x3e8251]!==0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x3e8699===-0x1?_0x3e8699=_0xe02d84:_0x318930||(_0x318930=!0x0),_0x108fb1=!0x1;}else{if(_0x4dfd54){if(_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8251===0x22&&_0x3e8699!==-0x1)_0x4dfd54=!0x1,_0x401597=_0xe02d84;else{if(_0x3e8251===0x5c)_0x108fb1=!0x0;else throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);}}}else{if(_0x3e8251===0x22&&_0x3543ef['charCodeAt'](_0xe02d84-0x1)===0x3d)_0x4dfd54=!0x0;else{if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8699!==-0x1&&(_0x3e8251===0x20||_0x3e8251===0x9))_0x401597===-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84);let _0x12490a=_0x3543ef[_0x5f3f86(0x215)](_0x3e8699,_0x401597);_0x318930&&(_0x12490a=_0x12490a[_0x5f3f86(0x1aa)](/\\/g,''),_0x318930=!0x1),_0x1ab604(_0x1b07a5,_0x2df495,_0x12490a),_0x3e8251===0x2c&&(_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x195456=void 0x0),_0x2df495=void 0x0,_0x3e8699=_0x401597=-0x1;}else throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);}}}}}}}if(_0x3e8699===-0x1||_0x4dfd54||_0x3e8251===0x20||_0x3e8251===0x9)throw new SyntaxError(_0x5f3f86(0x231));_0x401597===-0x1&&(_0x401597=_0xe02d84);const _0x114386=_0x3543ef[_0x5f3f86(0x215)](_0x3e8699,_0x401597);return _0x195456===void 0x0?_0x1ab604(_0x1d0077,_0x114386,_0x1b07a5):(_0x2df495===void 0x0?_0x1ab604(_0x1b07a5,_0x114386,!0x0):_0x318930?_0x1ab604(_0x1b07a5,_0x2df495,_0x114386[_0x5f3f86(0x1aa)](/\\/g,'')):_0x1ab604(_0x1b07a5,_0x2df495,_0x114386),_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5)),_0x1d0077;}function _0x3fe01d(_0x1213fd){const _0x534fe9=_0x59e2;return Object[_0x534fe9(0x149)](_0x1213fd)['map'](_0x369c8b=>{const _0x4b43f8=_0x534fe9;let _0x5077c4=_0x1213fd[_0x369c8b];return Array[_0x4b43f8(0x1f6)](_0x5077c4)||(_0x5077c4=[_0x5077c4]),_0x5077c4[_0x4b43f8(0x261)](_0x2eca18=>[_0x369c8b][_0x4b43f8(0x1e1)](Object[_0x4b43f8(0x149)](_0x2eca18)[_0x4b43f8(0x261)](_0x42bcc3=>{const _0x54f576=_0x4b43f8;let _0x5dffb0=_0x2eca18[_0x42bcc3];return Array[_0x54f576(0x1f6)](_0x5dffb0)||(_0x5dffb0=[_0x5dffb0]),_0x5dffb0[_0x54f576(0x261)](_0x74111d=>_0x74111d===!0x0?_0x42bcc3:_0x42bcc3+'='+_0x74111d)[_0x54f576(0x24d)](';\x20');}))[_0x4b43f8(0x24d)](';\x20'))['join'](',\x20');})[_0x534fe9(0x24d)](',\x20');}return be={'format':_0x3fe01d,'parse':_0x5a12a7},be;}var we,tt;function Be(){const _0x527490=_0x2b5109;if(tt)return we;tt=0x1;const _0x2a2a39=_0x32ca21,_0x4d98b7=_0x2b6ba0,_0x256751=_0x14a6c3,_0x24822e=_0x2991e4,_0x3728f7=_0x1659f2,{randomBytes:_0x1dbb1a,createHash:_0x24cc5b}=_0x572ea6,{Duplex:_0x3a3553,Readable:_0x57a70d}=_0xc0bc2f,{URL:_0x5c9830}=_0x58baac,_0x5cb1f5=ce(),_0x53bf0d=ht(),_0x55c340=ut(),{isBlob:_0x4604ed}=ie(),{BINARY_TYPES:_0x45ae12,EMPTY_BUFFER:_0x549232,GUID:_0x443b99,kForOnEventAttribute:_0x121e68,kListener:_0x3f9077,kStatusCode:_0x4f6677,kWebSocket:_0x28ed7f,NOOP:_0x51101e}=V(),{EventTarget:{addEventListener:_0x43dfc9,removeEventListener:_0x34e1e4}}=zt(),{format:_0x276aeb,parse:_0x498a6a}=dt(),{toBuffer:_0x5d281f}=fe(),_0x2f3008=0x1e*0x3e8,_0x3c88d9=Symbol(_0x527490(0x252)),_0x33bd37=[0x8,0xd],_0x4aada9=[_0x527490(0x1c0),_0x527490(0x117),_0x527490(0x23e),_0x527490(0x196)],_0x11799b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1562f4 extends _0x2a2a39{constructor(_0x3ba7ac,_0x4e25ac,_0x2e24a7){const _0x2f8f21=_0x527490;super(),this[_0x2f8f21(0x23c)]=_0x45ae12[0x0],this[_0x2f8f21(0x230)]=0x3ee,this[_0x2f8f21(0x1e9)]=!0x1,this[_0x2f8f21(0x226)]=!0x1,this[_0x2f8f21(0x125)]=_0x549232,this[_0x2f8f21(0x1d0)]=null,this['_errorEmitted']=!0x1,this[_0x2f8f21(0x15d)]={},this[_0x2f8f21(0x24a)]=!0x1,this['_protocol']='',this[_0x2f8f21(0x267)]=_0x1562f4[_0x2f8f21(0x1c0)],this['_receiver']=null,this['_sender']=null,this[_0x2f8f21(0x120)]=null,_0x3ba7ac!==null?(this[_0x2f8f21(0x269)]=0x0,this[_0x2f8f21(0x1a2)]=!0x1,this[_0x2f8f21(0x242)]=0x0,_0x4e25ac===void 0x0?_0x4e25ac=[]:Array[_0x2f8f21(0x1f6)](_0x4e25ac)||(typeof _0x4e25ac==_0x2f8f21(0x13e)&&_0x4e25ac!==null?(_0x2e24a7=_0x4e25ac,_0x4e25ac=[]):_0x4e25ac=[_0x4e25ac]),_0x35e608(this,_0x3ba7ac,_0x4e25ac,_0x2e24a7)):(this['_autoPong']=_0x2e24a7[_0x2f8f21(0xdd)],this[_0x2f8f21(0x1a2)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x527490(0x277)](_0x5acb96){const _0xe31f8a=_0x527490;_0x45ae12[_0xe31f8a(0x1e5)](_0x5acb96)&&(this[_0xe31f8a(0x23c)]=_0x5acb96,this[_0xe31f8a(0x17c)]&&(this[_0xe31f8a(0x17c)]['_binaryType']=_0x5acb96));}get['bufferedAmount'](){const _0x4377ac=_0x527490;return this[_0x4377ac(0x120)]?this[_0x4377ac(0x120)][_0x4377ac(0x194)]['length']+this['_sender'][_0x4377ac(0x255)]:this['_bufferedAmount'];}get['extensions'](){const _0x10fec7=_0x527490;return Object['keys'](this[_0x10fec7(0x15d)])[_0x10fec7(0x24d)]();}get[_0x527490(0x103)](){const _0x2eed16=_0x527490;return this[_0x2eed16(0x24a)];}get[_0x527490(0x1d1)](){return null;}get[_0x527490(0x134)](){return null;}get[_0x527490(0x129)](){return null;}get[_0x527490(0x1e7)](){return null;}get[_0x527490(0x160)](){return this['_protocol'];}get[_0x527490(0x16b)](){const _0x28231e=_0x527490;return this[_0x28231e(0x267)];}get['url'](){return this['_url'];}[_0x527490(0x1eb)](_0x2e94ad,_0x5932f7,_0x270829){const _0x34b64a=_0x527490,_0x29884c=new _0x53bf0d({'allowSynchronousEvents':_0x270829[_0x34b64a(0x127)],'binaryType':this[_0x34b64a(0x277)],'extensions':this[_0x34b64a(0x15d)],'isServer':this['_isServer'],'maxPayload':_0x270829[_0x34b64a(0x1fa)],'skipUTF8Validation':_0x270829['skipUTF8Validation']}),_0x282b65=new _0x55c340(_0x2e94ad,this['_extensions'],_0x270829[_0x34b64a(0x13d)]);this[_0x34b64a(0x17c)]=_0x29884c,this[_0x34b64a(0x26e)]=_0x282b65,this['_socket']=_0x2e94ad,_0x29884c[_0x28ed7f]=this,_0x282b65[_0x28ed7f]=this,_0x2e94ad[_0x28ed7f]=this,_0x29884c['on'](_0x34b64a(0x1b6),_0x152d07),_0x29884c['on'](_0x34b64a(0x256),_0x432737),_0x29884c['on'](_0x34b64a(0x270),_0x3885db),_0x29884c['on'](_0x34b64a(0x22f),_0x23cd64),_0x29884c['on'](_0x34b64a(0x10e),_0x488c51),_0x29884c['on'](_0x34b64a(0xe1),_0x330841),_0x282b65['onerror']=_0x31c8be,_0x2e94ad[_0x34b64a(0x145)]&&_0x2e94ad[_0x34b64a(0x145)](0x0),_0x2e94ad['setNoDelay']&&_0x2e94ad[_0x34b64a(0xff)](),_0x5932f7['length']>0x0&&_0x2e94ad[_0x34b64a(0x169)](_0x5932f7),_0x2e94ad['on']('close',_0xf4dc58),_0x2e94ad['on'](_0x34b64a(0x1ed),_0x48debe),_0x2e94ad['on']('end',_0x4c6138),_0x2e94ad['on'](_0x34b64a(0x270),_0x3528d7),this[_0x34b64a(0x267)]=_0x1562f4['OPEN'],this[_0x34b64a(0x11a)](_0x34b64a(0x265));}['emitClose'](){const _0x285d7b=_0x527490;if(!this[_0x285d7b(0x120)]){this['_readyState']=_0x1562f4[_0x285d7b(0x196)],this[_0x285d7b(0x11a)](_0x285d7b(0x237),this[_0x285d7b(0x230)],this[_0x285d7b(0x125)]);return;}this[_0x285d7b(0x15d)][_0x5cb1f5[_0x285d7b(0x1ec)]]&&this[_0x285d7b(0x15d)][_0x5cb1f5['extensionName']]['cleanup'](),this[_0x285d7b(0x17c)][_0x285d7b(0x172)](),this[_0x285d7b(0x267)]=_0x1562f4['CLOSED'],this['emit'](_0x285d7b(0x237),this['_closeCode'],this[_0x285d7b(0x125)]);}[_0x527490(0x237)](_0x4d0826,_0x6bcb17){const _0x1f373d=_0x527490;if(this[_0x1f373d(0x16b)]!==_0x1562f4['CLOSED']){if(this[_0x1f373d(0x16b)]===_0x1562f4[_0x1f373d(0x1c0)]){_0x54159c(this,this[_0x1f373d(0x22c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1f373d(0x16b)]===_0x1562f4['CLOSING']){this['_closeFrameSent']&&(this[_0x1f373d(0x1e9)]||this[_0x1f373d(0x17c)]['_writableState'][_0x1f373d(0x18e)])&&this[_0x1f373d(0x120)]['end']();return;}this[_0x1f373d(0x267)]=_0x1562f4['CLOSING'],this['_sender'][_0x1f373d(0x237)](_0x4d0826,_0x6bcb17,!this[_0x1f373d(0x1a2)],_0x48db2d=>{const _0x28e104=_0x1f373d;_0x48db2d||(this[_0x28e104(0x226)]=!0x0,(this[_0x28e104(0x1e9)]||this[_0x28e104(0x17c)][_0x28e104(0x194)][_0x28e104(0x18e)])&&this[_0x28e104(0x120)][_0x28e104(0x181)]());}),_0xa94329(this);}}[_0x527490(0x247)](){const _0x30d27c=_0x527490;this['readyState']===_0x1562f4['CONNECTING']||this[_0x30d27c(0x16b)]===_0x1562f4[_0x30d27c(0x196)]||(this[_0x30d27c(0x24a)]=!0x0,this[_0x30d27c(0x120)][_0x30d27c(0x247)]());}['ping'](_0x38bd2e,_0x181e2d,_0x5cd9a4){const _0x25c0c1=_0x527490;if(this[_0x25c0c1(0x16b)]===_0x1562f4[_0x25c0c1(0x1c0)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x38bd2e==_0x25c0c1(0x239)?(_0x5cd9a4=_0x38bd2e,_0x38bd2e=_0x181e2d=void 0x0):typeof _0x181e2d==_0x25c0c1(0x239)&&(_0x5cd9a4=_0x181e2d,_0x181e2d=void 0x0),typeof _0x38bd2e==_0x25c0c1(0x156)&&(_0x38bd2e=_0x38bd2e['toString']()),this[_0x25c0c1(0x16b)]!==_0x1562f4[_0x25c0c1(0x117)]){_0x20571b(this,_0x38bd2e,_0x5cd9a4);return;}_0x181e2d===void 0x0&&(_0x181e2d=!this[_0x25c0c1(0x1a2)]),this['_sender'][_0x25c0c1(0x10e)](_0x38bd2e||_0x549232,_0x181e2d,_0x5cd9a4);}[_0x527490(0xe1)](_0x48e812,_0xeea49c,_0x385330){const _0x350207=_0x527490;if(this[_0x350207(0x16b)]===_0x1562f4[_0x350207(0x1c0)])throw new Error(_0x350207(0x272));if(typeof _0x48e812==_0x350207(0x239)?(_0x385330=_0x48e812,_0x48e812=_0xeea49c=void 0x0):typeof _0xeea49c==_0x350207(0x239)&&(_0x385330=_0xeea49c,_0xeea49c=void 0x0),typeof _0x48e812=='number'&&(_0x48e812=_0x48e812[_0x350207(0x279)]()),this['readyState']!==_0x1562f4['OPEN']){_0x20571b(this,_0x48e812,_0x385330);return;}_0xeea49c===void 0x0&&(_0xeea49c=!this[_0x350207(0x1a2)]),this[_0x350207(0x26e)][_0x350207(0xe1)](_0x48e812||_0x549232,_0xeea49c,_0x385330);}[_0x527490(0xd5)](){const _0x5250ce=_0x527490;this['readyState']===_0x1562f4[_0x5250ce(0x1c0)]||this['readyState']===_0x1562f4[_0x5250ce(0x196)]||(this[_0x5250ce(0x24a)]=!0x1,this[_0x5250ce(0x17c)]['_writableState'][_0x5250ce(0x17e)]||this[_0x5250ce(0x120)]['resume']());}[_0x527490(0x12e)](_0x4b93c1,_0x4eaa0e,_0x3de927){const _0x365a41=_0x527490;if(this[_0x365a41(0x16b)]===_0x1562f4[_0x365a41(0x1c0)])throw new Error(_0x365a41(0x272));if(typeof _0x4eaa0e==_0x365a41(0x239)&&(_0x3de927=_0x4eaa0e,_0x4eaa0e={}),typeof _0x4b93c1==_0x365a41(0x156)&&(_0x4b93c1=_0x4b93c1[_0x365a41(0x279)]()),this['readyState']!==_0x1562f4['OPEN']){_0x20571b(this,_0x4b93c1,_0x3de927);return;}const _0x19ea6a={'binary':typeof _0x4b93c1!=_0x365a41(0xf5),'mask':!this[_0x365a41(0x1a2)],'compress':!0x0,'fin':!0x0,..._0x4eaa0e};this[_0x365a41(0x15d)][_0x5cb1f5[_0x365a41(0x1ec)]]||(_0x19ea6a[_0x365a41(0x1b8)]=!0x1),this[_0x365a41(0x26e)][_0x365a41(0x12e)](_0x4b93c1||_0x549232,_0x19ea6a,_0x3de927);}[_0x527490(0x223)](){const _0x215645=_0x527490;if(this[_0x215645(0x16b)]!==_0x1562f4[_0x215645(0x196)]){if(this[_0x215645(0x16b)]===_0x1562f4[_0x215645(0x1c0)]){_0x54159c(this,this[_0x215645(0x22c)],_0x215645(0x1fb));return;}this['_socket']&&(this['_readyState']=_0x1562f4[_0x215645(0x23e)],this[_0x215645(0x120)][_0x215645(0x122)]());}}}Object[_0x527490(0xde)](_0x1562f4,'CONNECTING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x1c0))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],'CONNECTING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x1c0))}),Object[_0x527490(0xde)](_0x1562f4,_0x527490(0x117),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x117))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],_0x527490(0x117),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x117))}),Object[_0x527490(0xde)](_0x1562f4,_0x527490(0x23e),{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x23e))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],'CLOSING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x23e))}),Object['defineProperty'](_0x1562f4,_0x527490(0x196),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x196))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],_0x527490(0x196),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x196))}),[_0x527490(0x277),_0x527490(0x1be),'extensions',_0x527490(0x103),_0x527490(0x160),_0x527490(0x16b),'url'][_0x527490(0xd4)](_0x3745ab=>{const _0x169d98=_0x527490;Object['defineProperty'](_0x1562f4[_0x169d98(0x1dd)],_0x3745ab,{'enumerable':!0x0});}),[_0x527490(0x265),_0x527490(0x270),_0x527490(0x237),_0x527490(0x22f)][_0x527490(0xd4)](_0x3243c2=>{const _0x58eaa2=_0x527490;Object['defineProperty'](_0x1562f4[_0x58eaa2(0x1dd)],'on'+_0x3243c2,{'enumerable':!0x0,'get'(){const _0x2eb325=_0x58eaa2;for(const _0x5eec7d of this[_0x2eb325(0x164)](_0x3243c2))if(_0x5eec7d[_0x121e68])return _0x5eec7d[_0x3f9077];return null;},'set'(_0xf6bac0){const _0x4e05d0=_0x58eaa2;for(const _0x491a16 of this['listeners'](_0x3243c2))if(_0x491a16[_0x121e68]){this[_0x4e05d0(0x235)](_0x3243c2,_0x491a16);break;}typeof _0xf6bac0==_0x4e05d0(0x239)&&this['addEventListener'](_0x3243c2,_0xf6bac0,{[_0x121e68]:!0x0});}});}),_0x1562f4[_0x527490(0x1dd)][_0x527490(0x152)]=_0x43dfc9,_0x1562f4[_0x527490(0x1dd)]['removeEventListener']=_0x34e1e4,we=_0x1562f4;function _0x35e608(_0x2fe377,_0x1f4964,_0x1d303e,_0x5557cf){const _0x5594c8=_0x527490,_0x2fbe19={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x33bd37[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5557cf,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2fe377['_autoPong']=_0x2fbe19[_0x5594c8(0xdd)],!_0x33bd37['includes'](_0x2fbe19[_0x5594c8(0x143)]))throw new RangeError(_0x5594c8(0x16c)+_0x2fbe19['protocolVersion']+_0x5594c8(0x118)+_0x33bd37['join'](',\x20')+')');let _0xb8f276;if(_0x1f4964 instanceof _0x5c9830)_0xb8f276=_0x1f4964;else try{_0xb8f276=new _0x5c9830(_0x1f4964);}catch{throw new SyntaxError(_0x5594c8(0x147)+_0x1f4964);}_0xb8f276['protocol']==='http:'?_0xb8f276[_0x5594c8(0x160)]=_0x5594c8(0xd7):_0xb8f276[_0x5594c8(0x160)]==='https:'&&(_0xb8f276['protocol']=_0x5594c8(0x201)),_0x2fe377[_0x5594c8(0x254)]=_0xb8f276['href'];const _0x311025=_0xb8f276[_0x5594c8(0x160)]===_0x5594c8(0x201),_0x5339f0=_0xb8f276[_0x5594c8(0x160)]===_0x5594c8(0x22e);let _0x59b011;if(_0xb8f276['protocol']!==_0x5594c8(0xd7)&&!_0x311025&&!_0x5339f0?_0x59b011=_0x5594c8(0x132):_0x5339f0&&!_0xb8f276[_0x5594c8(0xfb)]?_0x59b011=_0x5594c8(0xf9):_0xb8f276[_0x5594c8(0x198)]&&(_0x59b011=_0x5594c8(0x1b2)),_0x59b011){const _0x213df8=new SyntaxError(_0x59b011);if(_0x2fe377['_redirects']===0x0)throw _0x213df8;_0x5d5077(_0x2fe377,_0x213df8);return;}const _0x5a02b7=_0x311025?0x1bb:0x50,_0x27ee41=_0x1dbb1a(0x10)[_0x5594c8(0x279)](_0x5594c8(0x248)),_0x31f44b=_0x311025?_0x4d98b7[_0x5594c8(0x12a)]:_0x256751[_0x5594c8(0x12a)],_0x32643b=new Set();let _0x46657b;if(_0x2fbe19['createConnection']=_0x2fbe19['createConnection']||(_0x311025?_0x24e7ce:_0x5c3dcb),_0x2fbe19[_0x5594c8(0x219)]=_0x2fbe19[_0x5594c8(0x219)]||_0x5a02b7,_0x2fbe19[_0x5594c8(0x202)]=_0xb8f276[_0x5594c8(0x202)]||_0x5a02b7,_0x2fbe19[_0x5594c8(0x25d)]=_0xb8f276['hostname']['startsWith']('[')?_0xb8f276['hostname'][_0x5594c8(0x215)](0x1,-0x1):_0xb8f276[_0x5594c8(0x220)],_0x2fbe19[_0x5594c8(0x1e4)]={..._0x2fbe19[_0x5594c8(0x1e4)],'Sec-WebSocket-Version':_0x2fbe19[_0x5594c8(0x143)],'Sec-WebSocket-Key':_0x27ee41,'Connection':_0x5594c8(0xf8),'Upgrade':_0x5594c8(0x1d7)},_0x2fbe19[_0x5594c8(0xce)]=_0xb8f276[_0x5594c8(0xfb)]+_0xb8f276['search'],_0x2fbe19[_0x5594c8(0x13f)]=_0x2fbe19[_0x5594c8(0x170)],_0x2fbe19[_0x5594c8(0x251)]&&(_0x46657b=new _0x5cb1f5(_0x2fbe19[_0x5594c8(0x251)]!==!0x0?_0x2fbe19[_0x5594c8(0x251)]:{},!0x1,_0x2fbe19['maxPayload']),_0x2fbe19['headers'][_0x5594c8(0x18a)]=_0x276aeb({[_0x5cb1f5[_0x5594c8(0x1ec)]]:_0x46657b['offer']()})),_0x1d303e[_0x5594c8(0x228)]){for(const _0x471311 of _0x1d303e){if(typeof _0x471311!=_0x5594c8(0xf5)||!_0x11799b[_0x5594c8(0x1a1)](_0x471311)||_0x32643b[_0x5594c8(0x246)](_0x471311))throw new SyntaxError(_0x5594c8(0x221));_0x32643b[_0x5594c8(0x1ee)](_0x471311);}_0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x244)]=_0x1d303e[_0x5594c8(0x24d)](',');}if(_0x2fbe19['origin']&&(_0x2fbe19['protocolVersion']<0xd?_0x2fbe19['headers'][_0x5594c8(0xd6)]=_0x2fbe19[_0x5594c8(0x25e)]:_0x2fbe19['headers'][_0x5594c8(0x138)]=_0x2fbe19[_0x5594c8(0x25e)]),(_0xb8f276['username']||_0xb8f276[_0x5594c8(0x11b)])&&(_0x2fbe19[_0x5594c8(0xea)]=_0xb8f276[_0x5594c8(0x1cf)]+':'+_0xb8f276['password']),_0x5339f0){const _0x5dc309=_0x2fbe19[_0x5594c8(0xce)][_0x5594c8(0x12b)](':');_0x2fbe19[_0x5594c8(0x1ef)]=_0x5dc309[0x0],_0x2fbe19[_0x5594c8(0xce)]=_0x5dc309[0x1];}let _0x42ae27;if(_0x2fbe19[_0x5594c8(0x268)]){if(_0x2fe377[_0x5594c8(0x242)]===0x0){_0x2fe377[_0x5594c8(0x1e2)]=_0x5339f0,_0x2fe377['_originalSecure']=_0x311025,_0x2fe377[_0x5594c8(0xfd)]=_0x5339f0?_0x2fbe19[_0x5594c8(0x1ef)]:_0xb8f276[_0x5594c8(0x25d)];const _0x141591=_0x5557cf&&_0x5557cf['headers'];if(_0x5557cf={..._0x5557cf,'headers':{}},_0x141591){for(const [_0x16cf47,_0x21d2c6]of Object[_0x5594c8(0x25f)](_0x141591))_0x5557cf[_0x5594c8(0x1e4)][_0x16cf47[_0x5594c8(0x168)]()]=_0x21d2c6;}}else{if(_0x2fe377[_0x5594c8(0x193)](_0x5594c8(0x253))===0x0){const _0x1905e2=_0x5339f0?_0x2fe377[_0x5594c8(0x1e2)]?_0x2fbe19['socketPath']===_0x2fe377[_0x5594c8(0xfd)]:!0x1:_0x2fe377[_0x5594c8(0x1e2)]?!0x1:_0xb8f276['host']===_0x2fe377['_originalHostOrSocketPath'];(!_0x1905e2||_0x2fe377[_0x5594c8(0x154)]&&!_0x311025)&&(delete _0x2fbe19[_0x5594c8(0x1e4)]['authorization'],delete _0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x115)],_0x1905e2||delete _0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x25d)],_0x2fbe19[_0x5594c8(0xea)]=void 0x0);}}_0x2fbe19['auth']&&!_0x5557cf[_0x5594c8(0x1e4)][_0x5594c8(0x24c)]&&(_0x5557cf['headers'][_0x5594c8(0x24c)]=_0x5594c8(0xf7)+Buffer[_0x5594c8(0x25b)](_0x2fbe19[_0x5594c8(0xea)])[_0x5594c8(0x279)](_0x5594c8(0x248))),_0x42ae27=_0x2fe377[_0x5594c8(0x22c)]=_0x31f44b(_0x2fbe19),_0x2fe377[_0x5594c8(0x242)]&&_0x2fe377[_0x5594c8(0x11a)](_0x5594c8(0x253),_0x2fe377[_0x5594c8(0x14e)],_0x42ae27);}else _0x42ae27=_0x2fe377[_0x5594c8(0x22c)]=_0x31f44b(_0x2fbe19);_0x2fbe19[_0x5594c8(0x13f)]&&_0x42ae27['on'](_0x5594c8(0x13f),()=>{const _0x239af9=_0x5594c8;_0x54159c(_0x2fe377,_0x42ae27,_0x239af9(0x205));}),_0x42ae27['on'](_0x5594c8(0x270),_0x5ec9b3=>{const _0x2d6808=_0x5594c8;_0x42ae27===null||_0x42ae27[_0x3c88d9]||(_0x42ae27=_0x2fe377[_0x2d6808(0x22c)]=null,_0x5d5077(_0x2fe377,_0x5ec9b3));}),_0x42ae27['on'](_0x5594c8(0x13c),_0x44206e=>{const _0x5e979e=_0x5594c8,_0x156048=_0x44206e[_0x5e979e(0x1e4)][_0x5e979e(0x25a)],_0x23c8cf=_0x44206e[_0x5e979e(0x1c4)];if(_0x156048&&_0x2fbe19[_0x5e979e(0x268)]&&_0x23c8cf>=0x12c&&_0x23c8cf<0x190){if(++_0x2fe377[_0x5e979e(0x242)]>_0x2fbe19['maxRedirects']){_0x54159c(_0x2fe377,_0x42ae27,'Maximum\x20redirects\x20exceeded');return;}_0x42ae27[_0x5e979e(0x1d2)]();let _0x4a2a42;try{_0x4a2a42=new _0x5c9830(_0x156048,_0x1f4964);}catch{const _0x581409=new SyntaxError(_0x5e979e(0x147)+_0x156048);_0x5d5077(_0x2fe377,_0x581409);return;}_0x35e608(_0x2fe377,_0x4a2a42,_0x1d303e,_0x5557cf);}else _0x2fe377[_0x5e979e(0x11a)]('unexpected-response',_0x42ae27,_0x44206e)||_0x54159c(_0x2fe377,_0x42ae27,'Unexpected\x20server\x20response:\x20'+_0x44206e[_0x5e979e(0x1c4)]);}),_0x42ae27['on'](_0x5594c8(0x12f),(_0x27ab5b,_0x400775,_0x3ae449)=>{const _0x258b9d=_0x5594c8;if(_0x2fe377['emit'](_0x258b9d(0x12f),_0x27ab5b),_0x2fe377[_0x258b9d(0x16b)]!==_0x1562f4['CONNECTING'])return;_0x42ae27=_0x2fe377[_0x258b9d(0x22c)]=null;const _0x2ced5c=_0x27ab5b['headers']['upgrade'];if(_0x2ced5c===void 0x0||_0x2ced5c['toLowerCase']()!=='websocket'){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x15c));return;}const _0x20d59b=_0x24cc5b('sha1')[_0x258b9d(0x225)](_0x27ee41+_0x443b99)['digest'](_0x258b9d(0x248));if(_0x27ab5b['headers'][_0x258b9d(0x171)]!==_0x20d59b){_0x54159c(_0x2fe377,_0x400775,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4a7e5e=_0x27ab5b['headers'][_0x258b9d(0x1da)];let _0xc7e7ac;if(_0x4a7e5e!==void 0x0?_0x32643b[_0x258b9d(0x1cb)]?_0x32643b[_0x258b9d(0x246)](_0x4a7e5e)||(_0xc7e7ac=_0x258b9d(0xdf)):_0xc7e7ac=_0x258b9d(0x1b1):_0x32643b[_0x258b9d(0x1cb)]&&(_0xc7e7ac='Server\x20sent\x20no\x20subprotocol'),_0xc7e7ac){_0x54159c(_0x2fe377,_0x400775,_0xc7e7ac);return;}_0x4a7e5e&&(_0x2fe377[_0x258b9d(0xf6)]=_0x4a7e5e);const _0x6a8230=_0x27ab5b[_0x258b9d(0x1e4)][_0x258b9d(0x10c)];if(_0x6a8230!==void 0x0){if(!_0x46657b){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x11f));return;}let _0x40282a;try{_0x40282a=_0x498a6a(_0x6a8230);}catch{_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x27c));return;}const _0x37517d=Object[_0x258b9d(0x149)](_0x40282a);if(_0x37517d['length']!==0x1||_0x37517d[0x0]!==_0x5cb1f5[_0x258b9d(0x1ec)]){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x273));return;}try{_0x46657b[_0x258b9d(0x1a8)](_0x40282a[_0x5cb1f5[_0x258b9d(0x1ec)]]);}catch{_0x54159c(_0x2fe377,_0x400775,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2fe377[_0x258b9d(0x15d)][_0x5cb1f5[_0x258b9d(0x1ec)]]=_0x46657b;}_0x2fe377[_0x258b9d(0x1eb)](_0x400775,_0x3ae449,{'allowSynchronousEvents':_0x2fbe19[_0x258b9d(0x127)],'generateMask':_0x2fbe19[_0x258b9d(0x13d)],'maxPayload':_0x2fbe19['maxPayload'],'skipUTF8Validation':_0x2fbe19[_0x258b9d(0x16d)]});}),_0x2fbe19[_0x5594c8(0x217)]?_0x2fbe19[_0x5594c8(0x217)](_0x42ae27,_0x2fe377):_0x42ae27[_0x5594c8(0x181)]();}function _0x5d5077(_0x35eac3,_0x3e6b18){const _0x557048=_0x527490;_0x35eac3['_readyState']=_0x1562f4[_0x557048(0x23e)],_0x35eac3[_0x557048(0xe5)]=!0x0,_0x35eac3['emit'](_0x557048(0x270),_0x3e6b18),_0x35eac3[_0x557048(0xdc)]();}function _0x5c3dcb(_0x4e0447){const _0x3285e0=_0x527490;return _0x4e0447[_0x3285e0(0xce)]=_0x4e0447['socketPath'],_0x24822e['connect'](_0x4e0447);}function _0x24e7ce(_0x22bbd8){const _0x47208a=_0x527490;return _0x22bbd8['path']=void 0x0,!_0x22bbd8[_0x47208a(0x189)]&&_0x22bbd8[_0x47208a(0x189)]!==''&&(_0x22bbd8['servername']=_0x24822e['isIP'](_0x22bbd8[_0x47208a(0x25d)])?'':_0x22bbd8[_0x47208a(0x25d)]),_0x3728f7[_0x47208a(0x1c2)](_0x22bbd8);}function _0x54159c(_0x321d21,_0x271f39,_0xb78eb8){const _0x5c9321=_0x527490;_0x321d21[_0x5c9321(0x267)]=_0x1562f4[_0x5c9321(0x23e)];const _0x310470=new Error(_0xb78eb8);Error[_0x5c9321(0x233)](_0x310470,_0x54159c),_0x271f39[_0x5c9321(0x1ce)]?(_0x271f39[_0x3c88d9]=!0x0,_0x271f39[_0x5c9321(0x1d2)](),_0x271f39[_0x5c9321(0x1b9)]&&!_0x271f39['socket']['destroyed']&&_0x271f39[_0x5c9321(0x1b9)]['destroy'](),process[_0x5c9321(0x22d)](_0x5d5077,_0x321d21,_0x310470)):(_0x271f39[_0x5c9321(0x122)](_0x310470),_0x271f39['once']('error',_0x321d21[_0x5c9321(0x11a)]['bind'](_0x321d21,_0x5c9321(0x270))),_0x271f39[_0x5c9321(0x114)](_0x5c9321(0x237),_0x321d21['emitClose']['bind'](_0x321d21)));}function _0x20571b(_0x5ab92a,_0x1eeff2,_0x12b4a6){const _0x1db190=_0x527490;if(_0x1eeff2){const _0x51ee35=_0x4604ed(_0x1eeff2)?_0x1eeff2[_0x1db190(0x1cb)]:_0x5d281f(_0x1eeff2)[_0x1db190(0x228)];_0x5ab92a[_0x1db190(0x120)]?_0x5ab92a['_sender'][_0x1db190(0x255)]+=_0x51ee35:_0x5ab92a[_0x1db190(0x269)]+=_0x51ee35;}if(_0x12b4a6){const _0x458a97=new Error(_0x1db190(0xfe)+_0x5ab92a[_0x1db190(0x16b)]+'\x20('+_0x4aada9[_0x5ab92a[_0x1db190(0x16b)]]+')');process[_0x1db190(0x22d)](_0x12b4a6,_0x458a97);}}function _0x152d07(_0x451041,_0x41296f){const _0x9edde1=_0x527490,_0x582800=this[_0x28ed7f];_0x582800[_0x9edde1(0x1e9)]=!0x0,_0x582800[_0x9edde1(0x125)]=_0x41296f,_0x582800[_0x9edde1(0x230)]=_0x451041,_0x582800[_0x9edde1(0x120)][_0x28ed7f]!==void 0x0&&(_0x582800['_socket']['removeListener'](_0x9edde1(0x1ed),_0x48debe),process[_0x9edde1(0x22d)](_0x837cad,_0x582800[_0x9edde1(0x120)]),_0x451041===0x3ed?_0x582800[_0x9edde1(0x237)]():_0x582800[_0x9edde1(0x237)](_0x451041,_0x41296f));}function _0x432737(){const _0x242184=_0x527490,_0x15a156=this[_0x28ed7f];_0x15a156[_0x242184(0x103)]||_0x15a156[_0x242184(0x120)][_0x242184(0xd5)]();}function _0x3885db(_0x5d581b){const _0x149435=_0x527490,_0x148374=this[_0x28ed7f];_0x148374['_socket'][_0x28ed7f]!==void 0x0&&(_0x148374['_socket'][_0x149435(0x235)]('data',_0x48debe),process['nextTick'](_0x837cad,_0x148374[_0x149435(0x120)]),_0x148374[_0x149435(0x237)](_0x5d581b[_0x4f6677])),_0x148374['_errorEmitted']||(_0x148374[_0x149435(0xe5)]=!0x0,_0x148374[_0x149435(0x11a)]('error',_0x5d581b));}function _0x2d51ac(){const _0x3cf6b9=_0x527490;this[_0x28ed7f][_0x3cf6b9(0xdc)]();}function _0x23cd64(_0x24ae28,_0x5ce822){const _0x2bf327=_0x527490;this[_0x28ed7f][_0x2bf327(0x11a)](_0x2bf327(0x22f),_0x24ae28,_0x5ce822);}function _0x488c51(_0x4554d0){const _0xbfc118=_0x527490,_0x80dc93=this[_0x28ed7f];_0x80dc93['_autoPong']&&_0x80dc93['pong'](_0x4554d0,!this[_0xbfc118(0x1a2)],_0x51101e),_0x80dc93[_0xbfc118(0x11a)](_0xbfc118(0x10e),_0x4554d0);}function _0x330841(_0x3cdab7){const _0x39d37d=_0x527490;this[_0x28ed7f][_0x39d37d(0x11a)](_0x39d37d(0xe1),_0x3cdab7);}function _0x837cad(_0x4d0497){const _0x50f49c=_0x527490;_0x4d0497[_0x50f49c(0xd5)]();}function _0x31c8be(_0x26e304){const _0x260481=_0x527490,_0x16297c=this[_0x28ed7f];_0x16297c[_0x260481(0x16b)]!==_0x1562f4[_0x260481(0x196)]&&(_0x16297c[_0x260481(0x16b)]===_0x1562f4['OPEN']&&(_0x16297c[_0x260481(0x267)]=_0x1562f4['CLOSING'],_0xa94329(_0x16297c)),this[_0x260481(0x120)][_0x260481(0x181)](),_0x16297c[_0x260481(0xe5)]||(_0x16297c[_0x260481(0xe5)]=!0x0,_0x16297c[_0x260481(0x11a)](_0x260481(0x270),_0x26e304)));}function _0xa94329(_0x8cd619){const _0x3fe9be=_0x527490;_0x8cd619[_0x3fe9be(0x1d0)]=setTimeout(_0x8cd619[_0x3fe9be(0x120)][_0x3fe9be(0x122)][_0x3fe9be(0x151)](_0x8cd619[_0x3fe9be(0x120)]),_0x2f3008);}function _0xf4dc58(){const _0x2f7810=_0x527490,_0x39a797=this[_0x28ed7f];this['removeListener'](_0x2f7810(0x237),_0xf4dc58),this[_0x2f7810(0x235)](_0x2f7810(0x1ed),_0x48debe),this[_0x2f7810(0x235)]('end',_0x4c6138),_0x39a797[_0x2f7810(0x267)]=_0x1562f4['CLOSING'];let _0x497180;!this[_0x2f7810(0x159)]['endEmitted']&&!_0x39a797['_closeFrameReceived']&&!_0x39a797['_receiver']['_writableState'][_0x2f7810(0x18e)]&&(_0x497180=_0x39a797[_0x2f7810(0x120)][_0x2f7810(0xd2)]())!==null&&_0x39a797[_0x2f7810(0x17c)][_0x2f7810(0x133)](_0x497180),_0x39a797[_0x2f7810(0x17c)][_0x2f7810(0x181)](),this[_0x28ed7f]=void 0x0,clearTimeout(_0x39a797[_0x2f7810(0x1d0)]),_0x39a797['_receiver'][_0x2f7810(0x194)]['finished']||_0x39a797['_receiver'][_0x2f7810(0x194)][_0x2f7810(0x18e)]?_0x39a797[_0x2f7810(0xdc)]():(_0x39a797['_receiver']['on'](_0x2f7810(0x270),_0x2d51ac),_0x39a797['_receiver']['on'](_0x2f7810(0xdb),_0x2d51ac));}function _0x48debe(_0x4c9d4c){const _0x2db5da=_0x527490;this[_0x28ed7f][_0x2db5da(0x17c)][_0x2db5da(0x133)](_0x4c9d4c)||this[_0x2db5da(0x247)]();}function _0x4c6138(){const _0x57b0b0=_0x527490,_0x4c74a3=this[_0x28ed7f];_0x4c74a3[_0x57b0b0(0x267)]=_0x1562f4[_0x57b0b0(0x23e)],_0x4c74a3[_0x57b0b0(0x17c)][_0x57b0b0(0x181)](),this['end']();}function _0x3528d7(){const _0x43c5ca=_0x527490,_0x49ea63=this[_0x28ed7f];this[_0x43c5ca(0x235)](_0x43c5ca(0x270),_0x3528d7),this['on']('error',_0x51101e),_0x49ea63&&(_0x49ea63['_readyState']=_0x1562f4[_0x43c5ca(0x23e)],this[_0x43c5ca(0x122)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x14dc2f}=_0xc0bc2f;function _0xcf633(_0x56a203){const _0x403867=_0x59e2;_0x56a203['emit'](_0x403867(0x237));}function _0x2cf652(){const _0x744772=_0x59e2;!this['destroyed']&&this[_0x744772(0x194)][_0x744772(0x12c)]&&this[_0x744772(0x122)]();}function _0x808b4e(_0x354391){const _0x43f1f9=_0x59e2;this[_0x43f1f9(0x235)](_0x43f1f9(0x270),_0x808b4e),this[_0x43f1f9(0x122)](),this[_0x43f1f9(0x193)](_0x43f1f9(0x270))===0x0&&this[_0x43f1f9(0x11a)]('error',_0x354391);}function _0x1143bd(_0x4edc44,_0x525522){const _0x33ac1b=_0x59e2;let _0x2f6ee2=!0x0;const _0x9f6bf=new _0x14dc2f({..._0x525522,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4edc44['on']('message',function(_0x219639,_0x951d31){const _0x3a395e=_0x59e2,_0x3a4ca8=!_0x951d31&&_0x9f6bf['_readableState'][_0x3a395e(0xfc)]?_0x219639[_0x3a395e(0x279)]():_0x219639;_0x9f6bf[_0x3a395e(0x14d)](_0x3a4ca8)||_0x4edc44[_0x3a395e(0x247)]();}),_0x4edc44[_0x33ac1b(0x114)]('error',function(_0x3abf1f){const _0x3f7043=_0x33ac1b;_0x9f6bf['destroyed']||(_0x2f6ee2=!0x1,_0x9f6bf[_0x3f7043(0x122)](_0x3abf1f));}),_0x4edc44['once']('close',function(){const _0x1b7bc9=_0x33ac1b;_0x9f6bf[_0x1b7bc9(0x130)]||_0x9f6bf[_0x1b7bc9(0x14d)](null);}),_0x9f6bf['_destroy']=function(_0x2142e7,_0x39207b){const _0x4d7d67=_0x33ac1b;if(_0x4edc44[_0x4d7d67(0x16b)]===_0x4edc44[_0x4d7d67(0x196)]){_0x39207b(_0x2142e7),process[_0x4d7d67(0x22d)](_0xcf633,_0x9f6bf);return;}let _0x5c6e0c=!0x1;_0x4edc44[_0x4d7d67(0x114)](_0x4d7d67(0x270),function(_0x9d58ae){_0x5c6e0c=!0x0,_0x39207b(_0x9d58ae);}),_0x4edc44['once'](_0x4d7d67(0x237),function(){_0x5c6e0c||_0x39207b(_0x2142e7),process['nextTick'](_0xcf633,_0x9f6bf);}),_0x2f6ee2&&_0x4edc44[_0x4d7d67(0x223)]();},_0x9f6bf[_0x33ac1b(0x1ba)]=function(_0xbe9492){const _0x1a8ba4=_0x33ac1b;if(_0x4edc44[_0x1a8ba4(0x16b)]===_0x4edc44[_0x1a8ba4(0x1c0)]){_0x4edc44['once']('open',function(){const _0x5e22ba=_0x1a8ba4;_0x9f6bf[_0x5e22ba(0x1ba)](_0xbe9492);});return;}_0x4edc44[_0x1a8ba4(0x120)]!==null&&(_0x4edc44[_0x1a8ba4(0x120)][_0x1a8ba4(0x194)]['finished']?(_0xbe9492(),_0x9f6bf['_readableState'][_0x1a8ba4(0xee)]&&_0x9f6bf['destroy']()):(_0x4edc44['_socket']['once']('finish',function(){_0xbe9492();}),_0x4edc44[_0x1a8ba4(0x237)]()));},_0x9f6bf['_read']=function(){const _0x37efec=_0x33ac1b;_0x4edc44[_0x37efec(0x103)]&&_0x4edc44[_0x37efec(0xd5)]();},_0x9f6bf[_0x33ac1b(0x1e3)]=function(_0x5166d2,_0x2a2733,_0x2e4257){const _0x1a3cfb=_0x33ac1b;if(_0x4edc44[_0x1a3cfb(0x16b)]===_0x4edc44[_0x1a3cfb(0x1c0)]){_0x4edc44[_0x1a3cfb(0x114)](_0x1a3cfb(0x265),function(){const _0x24f758=_0x1a3cfb;_0x9f6bf[_0x24f758(0x1e3)](_0x5166d2,_0x2a2733,_0x2e4257);});return;}_0x4edc44[_0x1a3cfb(0x12e)](_0x5166d2,_0x2e4257);},_0x9f6bf['on'](_0x33ac1b(0x181),_0x2cf652),_0x9f6bf['on'](_0x33ac1b(0x270),_0x808b4e),_0x9f6bf;}return Oe=_0x1143bd,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x4cfe89}=ie();function _0x5a6d2e(_0x55fc73){const _0x5ec14b=_0x59e2,_0x55efeb=new Set();let _0x2cdaac=-0x1,_0x4d3d94=-0x1,_0x478356=0x0;for(_0x478356;_0x478356<_0x55fc73[_0x5ec14b(0x228)];_0x478356++){const _0x1aa9cd=_0x55fc73[_0x5ec14b(0xe3)](_0x478356);if(_0x4d3d94===-0x1&&_0x4cfe89[_0x1aa9cd]===0x1)_0x2cdaac===-0x1&&(_0x2cdaac=_0x478356);else{if(_0x478356!==0x0&&(_0x1aa9cd===0x20||_0x1aa9cd===0x9))_0x4d3d94===-0x1&&_0x2cdaac!==-0x1&&(_0x4d3d94=_0x478356);else{if(_0x1aa9cd===0x2c){if(_0x2cdaac===-0x1)throw new SyntaxError(_0x5ec14b(0x1b5)+_0x478356);_0x4d3d94===-0x1&&(_0x4d3d94=_0x478356);const _0x3ea98a=_0x55fc73['slice'](_0x2cdaac,_0x4d3d94);if(_0x55efeb[_0x5ec14b(0x246)](_0x3ea98a))throw new SyntaxError(_0x5ec14b(0x227)+_0x3ea98a+_0x5ec14b(0x1e6));_0x55efeb[_0x5ec14b(0x1ee)](_0x3ea98a),_0x2cdaac=_0x4d3d94=-0x1;}else throw new SyntaxError(_0x5ec14b(0x1b5)+_0x478356);}}}if(_0x2cdaac===-0x1||_0x4d3d94!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x547936=_0x55fc73[_0x5ec14b(0x215)](_0x2cdaac,_0x478356);if(_0x55efeb[_0x5ec14b(0x246)](_0x547936))throw new SyntaxError(_0x5ec14b(0x227)+_0x547936+_0x5ec14b(0x1e6));return _0x55efeb['add'](_0x547936),_0x55efeb;}return Ce={'parse':_0x5a6d2e},Ce;}var Te,it;function Qt(){const _0x32abcf=_0x2b5109;if(it)return Te;it=0x1;const _0x578750=_0x32ca21,_0x484cd8=_0x14a6c3,{Duplex:_0x267d5c}=_0xc0bc2f,{createHash:_0x55bdc4}=_0x572ea6,_0x455241=dt(),_0x1539a5=ce(),_0x14c3b1=Zt(),_0x17be2c=Be(),{GUID:_0x355232,kWebSocket:_0x310698}=V(),_0x24a7b4=/^[+/0-9A-Za-z]{22}==$/,_0x28e1c1=0x0,_0x2dcb02=0x1,_0x4c88c5=0x2;class _0x199434 extends _0x578750{constructor(_0x3e9011,_0x4d915e){const _0x49ec0a=_0x59e2;if(super(),_0x3e9011={'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':_0x17be2c,..._0x3e9011},_0x3e9011[_0x49ec0a(0x202)]==null&&!_0x3e9011[_0x49ec0a(0x1c3)]&&!_0x3e9011[_0x49ec0a(0x173)]||_0x3e9011['port']!=null&&(_0x3e9011[_0x49ec0a(0x1c3)]||_0x3e9011[_0x49ec0a(0x173)])||_0x3e9011[_0x49ec0a(0x1c3)]&&_0x3e9011[_0x49ec0a(0x173)])throw new TypeError(_0x49ec0a(0x207));if(_0x3e9011[_0x49ec0a(0x202)]!=null?(this[_0x49ec0a(0x11c)]=_0x484cd8[_0x49ec0a(0x238)]((_0x441b99,_0x1a181b)=>{const _0x294192=_0x49ec0a,_0x3a3e30=_0x484cd8[_0x294192(0x1a5)][0x1aa];_0x1a181b[_0x294192(0x197)](0x1aa,{'Content-Length':_0x3a3e30[_0x294192(0x228)],'Content-Type':_0x294192(0x21c)}),_0x1a181b[_0x294192(0x181)](_0x3a3e30);}),this[_0x49ec0a(0x11c)][_0x49ec0a(0x15f)](_0x3e9011[_0x49ec0a(0x202)],_0x3e9011['host'],_0x3e9011[_0x49ec0a(0x1c7)],_0x4d915e)):_0x3e9011['server']&&(this[_0x49ec0a(0x11c)]=_0x3e9011[_0x49ec0a(0x1c3)]),this['_server']){const _0x31020b=this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x165));this[_0x49ec0a(0x144)]=_0x5adf89(this['_server'],{'listening':this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x186)),'error':this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x270)),'upgrade':(_0x4c7147,_0x45f8d8,_0x2d0c49)=>{const _0x1247b8=_0x49ec0a;this[_0x1247b8(0x12d)](_0x4c7147,_0x45f8d8,_0x2d0c49,_0x31020b);}});}_0x3e9011[_0x49ec0a(0x251)]===!0x0&&(_0x3e9011['perMessageDeflate']={}),_0x3e9011[_0x49ec0a(0x274)]&&(this[_0x49ec0a(0x155)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x49ec0a(0x161)]=_0x3e9011,this['_state']=_0x28e1c1;}[_0x32abcf(0x1ac)](){const _0x4c9689=_0x32abcf;if(this[_0x4c9689(0x161)]['noServer'])throw new Error(_0x4c9689(0xf2));return this[_0x4c9689(0x11c)]?this['_server']['address']():null;}['close'](_0x20704a){const _0x2ec054=_0x32abcf;if(this[_0x2ec054(0x112)]===_0x4c88c5){_0x20704a&&this[_0x2ec054(0x114)](_0x2ec054(0x237),()=>{_0x20704a(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2ec054(0x22d)](_0x44c007,this);return;}if(_0x20704a&&this[_0x2ec054(0x114)]('close',_0x20704a),this['_state']!==_0x2dcb02){if(this[_0x2ec054(0x112)]=_0x2dcb02,this[_0x2ec054(0x161)][_0x2ec054(0x173)]||this['options'][_0x2ec054(0x1c3)])this[_0x2ec054(0x11c)]&&(this[_0x2ec054(0x144)](),this['_removeListeners']=this[_0x2ec054(0x11c)]=null),this['clients']?this[_0x2ec054(0x155)][_0x2ec054(0x1cb)]?this['_shouldEmitClose']=!0x0:process[_0x2ec054(0x22d)](_0x44c007,this):process[_0x2ec054(0x22d)](_0x44c007,this);else{const _0x4c2bfb=this[_0x2ec054(0x11c)];this[_0x2ec054(0x144)](),this[_0x2ec054(0x144)]=this[_0x2ec054(0x11c)]=null,_0x4c2bfb[_0x2ec054(0x237)](()=>{_0x44c007(this);});}}}['shouldHandle'](_0x40dfc2){const _0x2a9540=_0x32abcf;if(this[_0x2a9540(0x161)][_0x2a9540(0xce)]){const _0x404056=_0x40dfc2[_0x2a9540(0x14e)]['indexOf']('?');if((_0x404056!==-0x1?_0x40dfc2[_0x2a9540(0x14e)][_0x2a9540(0x215)](0x0,_0x404056):_0x40dfc2['url'])!==this['options']['path'])return!0x1;}return!0x0;}[_0x32abcf(0x12d)](_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7){const _0x2d0ce3=_0x32abcf;_0x21bea7['on'](_0x2d0ce3(0x270),_0x51f899);const _0x1e729f=_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x13b)],_0x1d5294=_0x3a0122[_0x2d0ce3(0x1e4)]['upgrade'],_0x2f295e=+_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x10f)];if(_0x3a0122[_0x2d0ce3(0x187)]!=='GET'){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1d5294===void 0x0||_0x1d5294[_0x2d0ce3(0x168)]()!==_0x2d0ce3(0x1d7)){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x15c));return;}if(_0x1e729f===void 0x0||!_0x24a7b4['test'](_0x1e729f)){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x1c5));return;}if(_0x2f295e!==0xd&&_0x2f295e!==0x8){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x1c8),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2d0ce3(0xef)](_0x3a0122)){_0x2bd6af(_0x21bea7,0x190);return;}const _0x33314a=_0x3a0122[_0x2d0ce3(0x1e4)]['sec-websocket-protocol'];let _0x2c363c=new Set();if(_0x33314a!==void 0x0)try{_0x2c363c=_0x14c3b1[_0x2d0ce3(0xda)](_0x33314a);}catch{_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x462c0c=_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x10c)],_0x3544b1={};if(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x251)]&&_0x462c0c!==void 0x0){const _0x239712=new _0x1539a5(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x251)],!0x0,this[_0x2d0ce3(0x161)]['maxPayload']);try{const _0x5ad83d=_0x455241['parse'](_0x462c0c);_0x5ad83d[_0x1539a5[_0x2d0ce3(0x1ec)]]&&(_0x239712[_0x2d0ce3(0x1a8)](_0x5ad83d[_0x1539a5['extensionName']]),_0x3544b1[_0x1539a5[_0x2d0ce3(0x1ec)]]=_0x239712);}catch{_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x241));return;}}if(this[_0x2d0ce3(0x161)]['verifyClient']){const _0x3ab1b9={'origin':_0x3a0122[_0x2d0ce3(0x1e4)][''+(_0x2f295e===0x8?_0x2d0ce3(0x1c1):'origin')],'secure':!!(_0x3a0122[_0x2d0ce3(0x1b9)][_0x2d0ce3(0xe8)]||_0x3a0122[_0x2d0ce3(0x1b9)][_0x2d0ce3(0x1a0)]),'req':_0x3a0122};if(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x1cc)]['length']===0x2){this[_0x2d0ce3(0x161)]['verifyClient'](_0x3ab1b9,(_0x19c5e1,_0x2a7d2,_0x2d6ec2,_0x2c69b7)=>{const _0x301593=_0x2d0ce3;if(!_0x19c5e1)return _0x2bd6af(_0x21bea7,_0x2a7d2||0x191,_0x2d6ec2,_0x2c69b7);this[_0x301593(0x102)](_0x3544b1,_0x1e729f,_0x2c363c,_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7);});return;}if(!this[_0x2d0ce3(0x161)]['verifyClient'](_0x3ab1b9))return _0x2bd6af(_0x21bea7,0x191);}this[_0x2d0ce3(0x102)](_0x3544b1,_0x1e729f,_0x2c363c,_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7);}[_0x32abcf(0x102)](_0x2cc0ee,_0x3f0814,_0x4ef470,_0x37ae37,_0x65cf12,_0x2f4648,_0x1f884a){const _0x11e275=_0x32abcf;if(!_0x65cf12[_0x11e275(0x258)]||!_0x65cf12[_0x11e275(0x110)])return _0x65cf12[_0x11e275(0x122)]();if(_0x65cf12[_0x310698])throw new Error(_0x11e275(0x210));if(this[_0x11e275(0x112)]>_0x28e1c1)return _0x2bd6af(_0x65cf12,0x1f7);const _0x35fd95=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x11e275(0x176),_0x11e275(0x14c),_0x11e275(0x1fc)+_0x55bdc4('sha1')[_0x11e275(0x225)](_0x3f0814+_0x355232)[_0x11e275(0x222)](_0x11e275(0x248))],_0x2c9997=new this[(_0x11e275(0x161))][(_0x11e275(0x26b))](null,void 0x0,this['options']);if(_0x4ef470[_0x11e275(0x1cb)]){const _0x2f7317=this['options']['handleProtocols']?this[_0x11e275(0x161)][_0x11e275(0x162)](_0x4ef470,_0x37ae37):_0x4ef470[_0x11e275(0x1d4)]()[_0x11e275(0x1ca)]()[_0x11e275(0x157)];_0x2f7317&&(_0x35fd95[_0x11e275(0x14d)](_0x11e275(0x271)+_0x2f7317),_0x2c9997[_0x11e275(0xf6)]=_0x2f7317);}if(_0x2cc0ee[_0x1539a5[_0x11e275(0x1ec)]]){const _0x5c55a6=_0x2cc0ee[_0x1539a5[_0x11e275(0x1ec)]]['params'],_0x474444=_0x455241[_0x11e275(0x257)]({[_0x1539a5[_0x11e275(0x1ec)]]:[_0x5c55a6]});_0x35fd95[_0x11e275(0x14d)](_0x11e275(0x101)+_0x474444),_0x2c9997[_0x11e275(0x15d)]=_0x2cc0ee;}this[_0x11e275(0x11a)](_0x11e275(0x1e4),_0x35fd95,_0x37ae37),_0x65cf12[_0x11e275(0x133)](_0x35fd95[_0x11e275(0x1e1)]('\x0d\x0a')[_0x11e275(0x24d)]('\x0d\x0a')),_0x65cf12['removeListener'](_0x11e275(0x270),_0x51f899),_0x2c9997[_0x11e275(0x1eb)](_0x65cf12,_0x2f4648,{'allowSynchronousEvents':this[_0x11e275(0x161)][_0x11e275(0x127)],'maxPayload':this['options'][_0x11e275(0x1fa)],'skipUTF8Validation':this[_0x11e275(0x161)]['skipUTF8Validation']}),this[_0x11e275(0x155)]&&(this[_0x11e275(0x155)][_0x11e275(0x1ee)](_0x2c9997),_0x2c9997['on'](_0x11e275(0x237),()=>{const _0x496ad5=_0x11e275;this[_0x496ad5(0x155)]['delete'](_0x2c9997),this[_0x496ad5(0x234)]&&!this[_0x496ad5(0x155)][_0x496ad5(0x1cb)]&&process[_0x496ad5(0x22d)](_0x44c007,this);})),_0x1f884a(_0x2c9997,_0x37ae37);}}Te=_0x199434;function _0x5adf89(_0x18a184,_0x530004){const _0x41c764=_0x32abcf;for(const _0xec9e0a of Object[_0x41c764(0x149)](_0x530004))_0x18a184['on'](_0xec9e0a,_0x530004[_0xec9e0a]);return function(){const _0x8c76d=_0x41c764;for(const _0x587857 of Object['keys'](_0x530004))_0x18a184[_0x8c76d(0x235)](_0x587857,_0x530004[_0x587857]);};}function _0x44c007(_0x677212){const _0x4b4d0d=_0x32abcf;_0x677212['_state']=_0x4c88c5,_0x677212[_0x4b4d0d(0x11a)](_0x4b4d0d(0x237));}function _0x51f899(){const _0x532369=_0x32abcf;this[_0x532369(0x122)]();}function _0x2bd6af(_0x25352f,_0x1c0395,_0x2a50fb,_0x44ce4d){const _0xfcbedb=_0x32abcf;_0x2a50fb=_0x2a50fb||_0x484cd8[_0xfcbedb(0x1a5)][_0x1c0395],_0x44ce4d={'Connection':_0xfcbedb(0x237),'Content-Type':_0xfcbedb(0x17a),'Content-Length':Buffer[_0xfcbedb(0x1f1)](_0x2a50fb),..._0x44ce4d},_0x25352f[_0xfcbedb(0x114)](_0xfcbedb(0xdb),_0x25352f[_0xfcbedb(0x122)]),_0x25352f[_0xfcbedb(0x181)](_0xfcbedb(0x10b)+_0x1c0395+'\x20'+_0x484cd8[_0xfcbedb(0x1a5)][_0x1c0395]+'\x0d\x0a'+Object[_0xfcbedb(0x149)](_0x44ce4d)[_0xfcbedb(0x261)](_0x4bdfeb=>_0x4bdfeb+':\x20'+_0x44ce4d[_0x4bdfeb])[_0xfcbedb(0x24d)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a50fb);}function _0xf64a6a(_0xcd4f75,_0x1489e9,_0x1a72a5,_0x5e097e,_0x37d8e5,_0x4b1a28){const _0x360952=_0x32abcf;if(_0xcd4f75[_0x360952(0x193)](_0x360952(0x276))){const _0x2809b8=new Error(_0x37d8e5);Error[_0x360952(0x233)](_0x2809b8,_0xf64a6a),_0xcd4f75[_0x360952(0x11a)](_0x360952(0x276),_0x2809b8,_0x1a72a5,_0x1489e9);}else _0x2bd6af(_0x1a72a5,_0x5e097e,_0x37d8e5,_0x4b1a28);}return Te;}Qt();var Jt=Object[_0x2b5109(0x1fe)],er=(_0x3a262c,_0x1eb515,_0x3e6609,_0x27ae30)=>{for(var _0x482fd3=_0x27ae30>0x1?void 0x0:_0x27ae30?Jt(_0x1eb515,_0x3e6609):_0x1eb515,_0x39f439=_0x3a262c['length']-0x1,_0xf62513;_0x39f439>=0x0;_0x39f439--)(_0xf62513=_0x3a262c[_0x39f439])&&(_0x482fd3=_0xf62513(_0x482fd3)||_0x482fd3);return _0x482fd3;},tr=(_0x5b0c1d,_0x195db3)=>(_0x5c03d8,_0x3e837c)=>_0x195db3(_0x5c03d8,_0x3e837c,_0x5b0c1d);let ke=class extends _0x36616a{constructor(_0x801b5f){const _0x2f73eb=_0x2b5109;super(),this[_0x2f73eb(0x224)]=_0x801b5f;}[_0x2b5109(0x199)](_0x111b0e){const _0x18c8f6=_0x2b5109;var _0x111b3a;const _0x2f69a1=((_0x111b3a=this[_0x18c8f6(0x224)][_0x18c8f6(0x21a)](_0x3cb9aa))==null?void 0x0:_0x111b3a['customHeaders'])||{};try{const _0x1658ef=new Xt(_0x111b0e,{'headers':{..._0x2f69a1}}),_0x1b8d39=new _0x2758cc();return{'URL':_0x111b0e,'close':(_0x4105cf,_0x504b6c)=>{const _0xbc3dba=_0x18c8f6;_0x1658ef[_0xbc3dba(0x237)](_0x4105cf,_0x504b6c),_0x1b8d39[_0xbc3dba(0x1b3)]();},'send':_0x727e87=>{const _0x466e3a=_0x18c8f6;_0x1658ef[_0x466e3a(0x12e)](_0x727e87);},'open$':new _0x4fe831(_0x2c384c=>{const _0x53e7e9=_0x18c8f6,_0x557c65=_0x3d6b88=>_0x2c384c[_0x53e7e9(0x1ca)](_0x3d6b88);_0x1658ef[_0x53e7e9(0x152)]('open',_0x557c65),_0x1b8d39[_0x53e7e9(0x1ee)](_0x2e40c2(()=>_0x1658ef[_0x53e7e9(0x18f)](_0x53e7e9(0x265),_0x557c65)));})[_0x18c8f6(0x260)](_0x2c7369()),'close$':new _0x4fe831(_0xdd232a=>{const _0x3f45f7=_0x18c8f6,_0x55668b=_0x3a25bb=>_0xdd232a[_0x3f45f7(0x1ca)](_0x3a25bb);_0x1658ef[_0x3f45f7(0x152)](_0x3f45f7(0x237),_0x55668b),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef[_0x3f45f7(0x18f)](_0x3f45f7(0x237),_0x55668b)));})[_0x18c8f6(0x260)](_0x2c7369()),'error$':new _0x4fe831(_0x516f45=>{const _0x4336f9=_0x18c8f6,_0x2b898c=_0x544e0a=>_0x516f45[_0x4336f9(0x1ca)](_0x544e0a);_0x1658ef[_0x4336f9(0x152)](_0x4336f9(0x270),_0x2b898c),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef[_0x4336f9(0x18f)](_0x4336f9(0x270),_0x2b898c)));})[_0x18c8f6(0x260)](_0x2c7369()),'message$':new _0x4fe831(_0x11450f=>{const _0x2adfb4=_0x18c8f6,_0x1a77a7=_0xc0a8b9=>_0x11450f[_0x2adfb4(0x1ca)](_0xc0a8b9);_0x1658ef[_0x2adfb4(0x152)](_0x2adfb4(0x22f),_0x1a77a7),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef['removeEventListener'](_0x2adfb4(0x22f),_0x1a77a7)));})[_0x18c8f6(0x260)](_0x2c7369())};}catch(_0x19905f){return console[_0x18c8f6(0x270)](_0x19905f),null;}}};ke=er([tr(0x0,_0x201c2f)],ke);var rr=Object[_0x2b5109(0xde)],sr=Object[_0x2b5109(0x1fe)],ir=(_0x224281,_0x16e9e3,_0x4144df)=>_0x16e9e3 in _0x224281?rr(_0x224281,_0x16e9e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4144df}):_0x224281[_0x16e9e3]=_0x4144df,nr=(_0x2577fa,_0x7e5709,_0x3ecd93,_0x322d41)=>{const _0x3d99b0=_0x2b5109;for(var _0x9a8147=_0x322d41>0x1?void 0x0:_0x322d41?sr(_0x7e5709,_0x3ecd93):_0x7e5709,_0x584568=_0x2577fa[_0x3d99b0(0x228)]-0x1,_0x126816;_0x584568>=0x0;_0x584568--)(_0x126816=_0x2577fa[_0x584568])&&(_0x9a8147=_0x126816(_0x9a8147)||_0x9a8147);return _0x9a8147;},nt=(_0x191a20,_0x4f9738)=>(_0x4ab4e3,_0x7d06df)=>_0x4f9738(_0x4ab4e3,_0x7d06df,_0x191a20),or=(_0x22a9a8,_0x4af709,_0xa73803)=>ir(_0x22a9a8,_0x4af709+'',_0xa73803);let Ne=class extends _0x2cc2f1{constructor(_0x245060=Ft,_0x1bc80c,_0x958f54){const _0x147a49=_0x2b5109;super(),this[_0x147a49(0x224)]=_0x1bc80c,this[_0x147a49(0x259)]=_0x958f54,this[_0x147a49(0x224)][_0x147a49(0x1a4)]($t,_0x245060);}[_0x2b5109(0x1d9)](){const _0x42ed82=_0x2b5109;this[_0x42ed82(0x1bd)]();}['_registerDependencies'](){const _0x2f5a2e=_0x2b5109;_0x215cc3(this[_0x2f5a2e(0x259)],[[_0x16a40e,{'useClass':ke}]]);}};or(Ne,_0x2b5109(0x1f2),_0x2b5109(0x136)),Ne=nr([_0x3259dd(_0x2e630e),nt(0x1,_0x201c2f),nt(0x2,_0xae5a1c(_0xcb414c))],Ne);var ar=Object[_0x2b5109(0x1fe)],lr=(_0x2edace,_0x471495,_0x594761,_0x5a74b1)=>{const _0x5cb672=_0x2b5109;for(var _0x53d67e=_0x5a74b1>0x1?void 0x0:_0x5a74b1?ar(_0x471495,_0x594761):_0x471495,_0x5adadb=_0x2edace[_0x5cb672(0x228)]-0x1,_0x5aa689;_0x5adadb>=0x0;_0x5adadb--)(_0x5aa689=_0x2edace[_0x5adadb])&&(_0x53d67e=_0x5aa689(_0x53d67e)||_0x53d67e);return _0x53d67e;},re=(_0x27d467,_0x1f05fe)=>(_0x423f1d,_0x2e6916)=>_0x1f05fe(_0x423f1d,_0x2e6916,_0x27d467);let ot=class extends _0x297464{constructor(_0x2f25ad,_0x42ae45,_0x5a5bf6,_0xa29db3,_0x1b91fc){const _0xe49262=_0x2b5109;super(_0x2f25ad,_0x42ae45,_0x5a5bf6,_0xa29db3,_0x1b91fc);const _0x4490a8=this[_0xe49262(0x224)][_0xe49262(0x21a)](_0x3cb9aa);this[_0xe49262(0x1d5)]['registerHTTPInterceptor']({'interceptor':(_0x4f0110,_0x33cad5)=>{const _0x425c00=_0xe49262;var _0x4a0546;const _0x53559a=_0x4f0110[_0x425c00(0x1e4)];return(_0x4a0546=_0x4490a8==null?void 0x0:_0x4490a8[_0x425c00(0x203)])!=null&&_0x4a0546[_0x425c00(0x115)]&&_0x53559a[_0x425c00(0xe7)](_0x425c00(0x17f),_0x4490a8[_0x425c00(0x203)][_0x425c00(0x115)]),_0x33cad5(_0x4f0110);}});}async['createSocket'](_0x5f085b){const _0x504e20=_0x2b5109;return this[_0x504e20(0x124)](_0x5f085b);}};ot=lr([re(0x0,_0xae5a1c(_0xcb414c)),re(0x1,_0xae5a1c(_0x7c4dea)),re(0x2,_0x201c2f),re(0x3,_0xa71197),re(0x4,_0x18603c)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x2e07f2=_0x1103;(function(_0x2ddf94,_0x24745f){const _0x27d5ef=_0x1103,_0x276415=_0x2ddf94();while(!![]){try{const _0xd33bc0=-parseInt(_0x27d5ef(0x2da))/0x1*(-parseInt(_0x27d5ef(0x2de))/0x2)+-parseInt(_0x27d5ef(0x25a))/0x3+-parseInt(_0x27d5ef(0x26f))/0x4*(-parseInt(_0x27d5ef(0x244))/0x5)+-parseInt(_0x27d5ef(0x2c0))/0x6*(-parseInt(_0x27d5ef(0x296))/0x7)+-parseInt(_0x27d5ef(0x20f))/0x8*(-parseInt(_0x27d5ef(0x272))/0x9)+-parseInt(_0x27d5ef(0x31f))/0xa+-parseInt(_0x27d5ef(0x31d))/0xb;if(_0xd33bc0===_0x24745f)break;else _0x276415['push'](_0x276415['shift']());}catch(_0x3c5156){_0x276415['push'](_0x276415['shift']());}}}(_0x2b6f,0xee36a));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x491e33,UniverCollaborationClientPlugin as _0x129a19,CollaborationSocketService as _0x2e7c0a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x39f382,DisposableCollection as _0xc40d42,toDisposable as _0x586f45,IConfigService as _0x5b9c5b,DependentOn as _0x56c4e0,Inject as _0x434f05,Injector as _0x8d32e6,Plugin as _0x225e75,registerDependencies as _0x4f0f3d,ILogService as _0x356720}from'@univerjs/core';import{ISocketService as _0x52c648,HTTPService as _0x2ff20f}from'@univerjs/network';import{Observable as _0x2860cc,share as _0x3b5c28}from'rxjs';import _0xfa26c6 from'events';import _0x305c4a from'https';import _0x43bc88 from'http';import _0x3d3387 from'net';function _0x2b6f(){const _0x24908c=['_loop','bufferedAmount','captureStackTrace','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','writable','getPayloadLength64','destroy','registerHTTPInterceptor','_receiver','stream','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','binary','uncork','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','80843hDmFTP','kListener','sendFrame','join','CONNECTING','nodebuffer','_readyState','toString','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','maxPayload','server_no_context_takeover','_fragments','skipUTF8Validation','WS_ERR_EXPECTED_FIN','jobs','HTTP/1.1\x20','response','WS_ERR_UNEXPECTED_RSV_1','once','kDone','_state','next','concurrencyLimit','Parameter\x20\x22','_removeListeners','_req','verifyClient','apply','url','completeUpgrade','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WS_ERR_INVALID_UTF8','emitClose','listeners','HTTP/1.1\x20101\x20Switching\x20Protocols','getConfig','perMessageDeflate','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','timeout','create','_totalPayloadLength','_allowSynchronousEvents','426RFZGrp','shift','servername','Z_SYNC_FLUSH','_closeTimer','endEmitted','_extensions','isValidUTF8','_no_context_takeover','customHeaders','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','send','http:','objectMode','open','Upgrade:\x20websocket','listenerCount','function','maskBuffer','The\x20\x22','length','sec-websocket-extensions','object','Basic\x20','terminate','protocol','10197MsTFpT','listening','Blob','invalid\x20payload\x20length\x20','368wHZJQE','setTimeout','_final','read','kError','acceptAsServer','push','needDrain','_closeFrameSent','removeAllListeners','13,\x208','Origin','_readableState','extensions','write','dataMessage','emit','Server\x20sent\x20no\x20subprotocol','_opcode','isIP','address','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','kCode','client','password','toLowerCase','slice','addEventListener','\x0d\x0a\x0d\x0a','_closeMessage','getOwnPropertyDescriptor','freeze','normalizeParams','_decompress','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20character\x20at\x20index\x20','drain','WS_ERR_UNEXPECTED_RSV_2_3','extensionName','finished','autoPong','Sec-WebSocket-Protocol:\x20','finishRequest','_skipUTF8Validation','offer','parse','code','MASK\x20must\x20be\x20set','_originalHostOrSocketPath','dispatch','_doCreateSocket','readOnly','invalid\x20UTF-8\x20sequence','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_bufferedBytes','fragments','_buffers','search','_originalSecure','text/html','options','kData','24205610lVggKo','_shouldEmitClose','10063430zanTSr','Unsupported\x20protocol\x20version:\x20','setNoDelay','_max_window_bits','writeHead','Invalid\x20value\x20for\x20parameter\x20\x22','conclude','setSocket','defaultPort','total-length','wasClean','_generateMask','flush','byteLength','reset','isInteger','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','removeListener','The\x20URL\x27s\x20pathname\x20is\x20empty','find','createSocket','pipe','_options','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20Upgrade\x20header','_httpService','writeUInt16BE','username','data','_masked','client_no_context_takeover','getMask','pending','sec-websocket-accept','_payloadLength','socket','isArray','readUInt32BE','has','Cookie','isBuffer','The\x20server\x20is\x20not\x20running','statusCode','replace','haveLength','STATUS_CODES','server_max_window_bits','authorized','defineProperty','kReason','abort','invalid\x20status\x20code\x20','_fragmented','charCodeAt','Invalid\x20HTTP\x20method','getInfo','WS_ERR_INVALID_CLOSE_CODE','default','prototype','allowSynchronousEvents','noServer','getBlobData','shouldHandle','_write','frame','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','threshold','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','isPaused','concat','\x22\x20subprotocol\x20is\x20duplicated','base64','sha1','encrypted','size','host','_protocol','origin','permessage-deflate','_firstFragment','errorEmitted','set','sec-websocket-protocol','_inflate','forEach','OPEN','Invalid\x20WebSocket\x20frame:\x20','kByteLength','call','error','hasOwnProperty','Invalid\x20URL:\x20','_socket','MASK\x20must\x20be\x20clear','sec-websocket-version','followRedirects','onStarting','enqueue','end','_autoPong','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','catch','kIsForOnEventAttribute','WS_ERR_EXPECTED_MASK','pow','string','WS_ERR_INVALID_OPCODE','_maskBuffer','serverMaxWindowBits','onmessage','pong','dequeue','delete','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','resume','readable','_mask','_closeCode','opcode','headers','_closeFrameReceived','createServer','indexOf','\x22:\x20','connect','clientTracking','getData','Unknown\x20parameter\x20\x22','ping','RSV1\x20must\x20be\x20clear','Max\x20payload\x20size\x20exceeded','compress','kMessage','includes','accept','startLoop','__esModule','constructor','digest','update','finish','server','kAborted','destroyed','env','hostname','cookie','_errorEmitted','Z_DEFAULT_WINDOWBITS','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','readyState','allocUnsafe','_injector','split','species','construct','pathname','handleProtocols','_deflate','mask','collaboration-client-node.config','_configService','port','Upgrade','4482992apqTxb','href','bind','callback','message','_sender','https:','_paused','_errored','text/plain','handshakeTimeout','CLOSING','_messageLength','target','toStringTag','from','dispose','_destroy','method','startsWith','clientNoContextTakeover','params','Sec-WebSocket-Extensions:\x20','acceptAsClient','decompress','buffer','clients','_isServer','_registerDependencies','unshift','keys','isServer','_url','client_max_window_bits','serverNoContextTakeover','test','wss:','_queue','status-code','byteOffset','handleUpgrade','Maximum\x20redirects\x20exceeded','\x22\x20must\x20have\x20only\x20a\x20single\x20value','alloc','_originalIpc','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_compressed','Unexpected\x20end\x20of\x20input','sec-websocket-key','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','exports','websocket','connection','5GYglgA','_compress','_writableState','_server','GET','Module','fin','concurrency','listen','_bufferedAmount','type','binaryType','path','arraybuffer','Connection:\x20Upgrade','upgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isView','_binaryType','blob','kType','setConfig','1067052cVsfpj','consume','\x20(supported\x20versions:\x20','number','onerror','Invalid\x20Sec-WebSocket-Extensions\x20header','CLOSED','ws:','socketPath','WebSocket','setHeader','value','entries','_fin','values','sec-websocket-origin','WS_NO_UTF_8_VALIDATE','createError','auth','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','close','643640PedDOF','zlibInflateOptions','add','27CHPVDa','pause','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getPayloadLength16','_threshold','nextTick','pluginName','createConnection','_maxPayload','map','redirect','generateMask','Unexpected\x20server\x20response:\x20','authorization','protocolVersion','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','removeEventListener','location','clientMaxWindowBits'];_0x2b6f=function(){return _0x24908c;};return _0x2b6f();}import _0x50b5e4 from'tls';import _0x449068 from'crypto';import _0x1fd5aa from'stream';import _0x42dcdf from'url';import _0x190136 from'zlib';import _0x4da62e from'buffer';import{ISnapshotServerService as _0x55ff2a}from'@univerjs-pro/collaboration';const $t=_0x2e07f2(0x20b),Ft={};function Wt(_0x1f2695){const _0x41b1db=_0x2e07f2;return _0x1f2695&&_0x1f2695[_0x41b1db(0x1f3)]&&Object[_0x41b1db(0x359)][_0x41b1db(0x1c5)][_0x41b1db(0x1c3)](_0x1f2695,_0x41b1db(0x358))?_0x1f2695[_0x41b1db(0x358)]:_0x1f2695;}function jt(_0x59b6f7){const _0x27c2f1=_0x2e07f2;if(Object[_0x27c2f1(0x359)][_0x27c2f1(0x1c5)][_0x27c2f1(0x1c3)](_0x59b6f7,_0x27c2f1(0x1f3)))return _0x59b6f7;var _0xbce915=_0x59b6f7[_0x27c2f1(0x358)];if(typeof _0xbce915=='function'){var _0x4ca9e4=function _0x34f3c2(){const _0x29c22f=_0x27c2f1;var _0x59fc82=!0x1;try{_0x59fc82=this instanceof _0x34f3c2;}catch{}return _0x59fc82?Reflect[_0x29c22f(0x206)](_0xbce915,arguments,this[_0x29c22f(0x1f4)]):_0xbce915[_0x29c22f(0x2b1)](this,arguments);};_0x4ca9e4['prototype']=_0xbce915['prototype'];}else _0x4ca9e4={};return Object[_0x27c2f1(0x34f)](_0x4ca9e4,'__esModule',{'value':!0x0}),Object['keys'](_0x59b6f7)['forEach'](function(_0x4d7ac5){const _0xd6097b=_0x27c2f1;var _0x389798=Object[_0xd6097b(0x2fc)](_0x59b6f7,_0x4d7ac5);Object[_0xd6097b(0x34f)](_0x4ca9e4,_0x4d7ac5,_0x389798['get']?_0x389798:{'enumerable':!0x0,'get':function(){return _0x59b6f7[_0x4d7ac5];}});}),_0x4ca9e4;}var me,He;function V(){const _0x59f1b1=_0x2e07f2;if(He)return me;He=0x1;const _0x17dfb6=[_0x59f1b1(0x29b),_0x59f1b1(0x251),_0x59f1b1(0x316)],_0x527577=typeof Blob<'u';return _0x527577&&_0x17dfb6[_0x59f1b1(0x2e4)](_0x59f1b1(0x257)),me={'BINARY_TYPES':_0x17dfb6,'EMPTY_BUFFER':Buffer[_0x59f1b1(0x23a)](0x0),'GUID':_0x59f1b1(0x26d),'hasBlob':_0x527577,'kForOnEventAttribute':Symbol(_0x59f1b1(0x1d1)),'kListener':Symbol(_0x59f1b1(0x297)),'kStatusCode':Symbol(_0x59f1b1(0x235)),'kWebSocket':Symbol(_0x59f1b1(0x242)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x57394f=_0x2e07f2;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x5d8d05}=V(),_0x2ecdcd=Buffer[Symbol[_0x57394f(0x205)]];function _0x4be020(_0x40e016,_0x5d29d0){const _0x59163c=_0x57394f;if(_0x40e016[_0x59163c(0x2d4)]===0x0)return _0x5d8d05;if(_0x40e016[_0x59163c(0x2d4)]===0x1)return _0x40e016[0x0];const _0x58f447=Buffer[_0x59163c(0x202)](_0x5d29d0);let _0x39b815=0x0;for(let _0xaad853=0x0;_0xaad853<_0x40e016[_0x59163c(0x2d4)];_0xaad853++){const _0x426520=_0x40e016[_0xaad853];_0x58f447[_0x59163c(0x1bc)](_0x426520,_0x39b815),_0x39b815+=_0x426520[_0x59163c(0x2d4)];}return _0x39b815<_0x5d29d0?new _0x2ecdcd(_0x58f447['buffer'],_0x58f447[_0x59163c(0x236)],_0x39b815):_0x58f447;}function _0x3e2da3(_0x43567b,_0x322ca3,_0x3396f8,_0xe96af6,_0x649f03){for(let _0x466cf6=0x0;_0x466cf6<_0x649f03;_0x466cf6++)_0x3396f8[_0xe96af6+_0x466cf6]=_0x43567b[_0x466cf6]^_0x322ca3[_0x466cf6&0x3];}function _0x37dca6(_0x393587,_0x674437){const _0x4b0960=_0x57394f;for(let _0x18ac93=0x0;_0x18ac93<_0x393587[_0x4b0960(0x2d4)];_0x18ac93++)_0x393587[_0x18ac93]^=_0x674437[_0x18ac93&0x3];}function _0x4f50fc(_0x183cf6){const _0x57f7d0=_0x57394f;return _0x183cf6[_0x57f7d0(0x2d4)]===_0x183cf6[_0x57f7d0(0x228)]['byteLength']?_0x183cf6['buffer']:_0x183cf6[_0x57f7d0(0x228)][_0x57f7d0(0x2f8)](_0x183cf6[_0x57f7d0(0x236)],_0x183cf6['byteOffset']+_0x183cf6[_0x57f7d0(0x2d4)]);}function _0x4ff25b(_0x455e4e){const _0xe7b0d=_0x57394f;if(_0x4ff25b['readOnly']=!0x0,Buffer[_0xe7b0d(0x347)](_0x455e4e))return _0x455e4e;let _0x162b1a;return _0x455e4e instanceof ArrayBuffer?_0x162b1a=new _0x2ecdcd(_0x455e4e):ArrayBuffer[_0xe7b0d(0x255)](_0x455e4e)?_0x162b1a=new _0x2ecdcd(_0x455e4e[_0xe7b0d(0x228)],_0x455e4e['byteOffset'],_0x455e4e[_0xe7b0d(0x32c)]):(_0x162b1a=Buffer['from'](_0x455e4e),_0x4ff25b[_0xe7b0d(0x312)]=!0x1),_0x162b1a;}return ge={'concat':_0x4be020,'mask':_0x3e2da3,'toArrayBuffer':_0x4f50fc,'toBuffer':_0x4ff25b,'unmask':_0x37dca6},ge;}var ye,Ye;function Gt(){const _0x38f027=_0x2e07f2;if(Ye)return ye;Ye=0x1;const _0x3edd67=Symbol(_0x38f027(0x2a9)),_0x12e322=Symbol('kRun');class _0x2ab4db{constructor(_0x49ada0){const _0x315602=_0x38f027;this[_0x3edd67]=()=>{this['pending']--,this[_0x12e322]();},this[_0x315602(0x24b)]=_0x49ada0||0x1/0x0,this[_0x315602(0x2a4)]=[],this[_0x315602(0x33f)]=0x0;}[_0x38f027(0x271)](_0x18f90d){const _0x2da6d7=_0x38f027;this[_0x2da6d7(0x2a4)][_0x2da6d7(0x2e4)](_0x18f90d),this[_0x12e322]();}[_0x12e322](){const _0x8dc64c=_0x38f027;if(this[_0x8dc64c(0x33f)]!==this[_0x8dc64c(0x24b)]&&this[_0x8dc64c(0x2a4)][_0x8dc64c(0x2d4)]){const _0x479a0f=this[_0x8dc64c(0x2a4)]['shift']();this['pending']++,_0x479a0f(this[_0x3edd67]);}}}return ye=_0x2ab4db,ye;}var ve,Ke;function ce(){const _0x2a8012=_0x2e07f2;if(Ke)return ve;Ke=0x1;const _0x2149e4=_0x190136,_0x6c1b7c=fe(),_0x468d78=Gt(),{kStatusCode:_0x25bba7}=V(),_0x2f465d=Buffer[Symbol[_0x2a8012(0x205)]],_0x191e16=Buffer[_0x2a8012(0x21e)]([0x0,0x0,0xff,0xff]),_0x48d7bb=Symbol(_0x2a8012(0x1b9)),_0x2fd30a=Symbol(_0x2a8012(0x328)),_0x45395f=Symbol(_0x2a8012(0x212)),_0x50b304=Symbol('buffers'),_0x16cf0d=Symbol(_0x2a8012(0x1c4));let _0x4cd200;class _0x3c81ed{constructor(_0x49f544,_0x1fe164,_0x48b2de){const _0x25cf26=_0x2a8012;if(this[_0x25cf26(0x27a)]=_0x48b2de|0x0,this[_0x25cf26(0x335)]=_0x49f544||{},this['_threshold']=this[_0x25cf26(0x335)][_0x25cf26(0x361)]!==void 0x0?this[_0x25cf26(0x335)][_0x25cf26(0x361)]:0x400,this[_0x25cf26(0x22a)]=!!_0x1fe164,this[_0x25cf26(0x209)]=null,this['_inflate']=null,this[_0x25cf26(0x224)]=null,!_0x4cd200){const _0x5b57a9=this[_0x25cf26(0x335)][_0x25cf26(0x2ac)]!==void 0x0?this[_0x25cf26(0x335)][_0x25cf26(0x2ac)]:0xa;_0x4cd200=new _0x468d78(_0x5b57a9);}}static get[_0x2a8012(0x305)](){return'permessage-deflate';}[_0x2a8012(0x30b)](){const _0x55aed0=_0x2a8012,_0x495afe={};return this[_0x55aed0(0x335)][_0x55aed0(0x231)]&&(_0x495afe['server_no_context_takeover']=!0x0),this[_0x55aed0(0x335)][_0x55aed0(0x223)]&&(_0x495afe['client_no_context_takeover']=!0x0),this['_options'][_0x55aed0(0x1d7)]&&(_0x495afe[_0x55aed0(0x34d)]=this[_0x55aed0(0x335)]['serverMaxWindowBits']),this[_0x55aed0(0x335)][_0x55aed0(0x285)]?_0x495afe['client_max_window_bits']=this[_0x55aed0(0x335)]['clientMaxWindowBits']:this[_0x55aed0(0x335)][_0x55aed0(0x285)]==null&&(_0x495afe[_0x55aed0(0x230)]=!0x0),_0x495afe;}[_0x2a8012(0x1f1)](_0x550a1a){const _0x2f8514=_0x2a8012;return _0x550a1a=this[_0x2f8514(0x2fe)](_0x550a1a),this[_0x2f8514(0x224)]=this[_0x2f8514(0x22a)]?this[_0x2f8514(0x2e3)](_0x550a1a):this['acceptAsClient'](_0x550a1a),this[_0x2f8514(0x224)];}[_0x2a8012(0x300)](){const _0x2827d1=_0x2a8012;if(this[_0x2827d1(0x1be)]&&(this[_0x2827d1(0x1be)]['close'](),this['_inflate']=null),this[_0x2827d1(0x209)]){const _0x28f5e7=this[_0x2827d1(0x209)][_0x45395f];this[_0x2827d1(0x209)]['close'](),this[_0x2827d1(0x209)]=null,_0x28f5e7&&_0x28f5e7(new Error(_0x2827d1(0x291)));}}['acceptAsServer'](_0x550f35){const _0x3e5fae=_0x2a8012,_0x962908=this[_0x3e5fae(0x335)],_0x25b7da=_0x550f35[_0x3e5fae(0x332)](_0x267496=>!(_0x962908[_0x3e5fae(0x231)]===!0x1&&_0x267496['server_no_context_takeover']||_0x267496[_0x3e5fae(0x34d)]&&(_0x962908[_0x3e5fae(0x1d7)]===!0x1||typeof _0x962908[_0x3e5fae(0x1d7)]==_0x3e5fae(0x25d)&&_0x962908[_0x3e5fae(0x1d7)]>_0x267496['server_max_window_bits'])||typeof _0x962908[_0x3e5fae(0x285)]=='number'&&!_0x267496[_0x3e5fae(0x230)]));if(!_0x25b7da)throw new Error(_0x3e5fae(0x29e));return _0x962908['serverNoContextTakeover']&&(_0x25b7da[_0x3e5fae(0x2a0)]=!0x0),_0x962908[_0x3e5fae(0x223)]&&(_0x25b7da['client_no_context_takeover']=!0x0),typeof _0x962908[_0x3e5fae(0x1d7)]==_0x3e5fae(0x25d)&&(_0x25b7da[_0x3e5fae(0x34d)]=_0x962908[_0x3e5fae(0x1d7)]),typeof _0x962908['clientMaxWindowBits']==_0x3e5fae(0x25d)?_0x25b7da[_0x3e5fae(0x230)]=_0x962908[_0x3e5fae(0x285)]:(_0x25b7da[_0x3e5fae(0x230)]===!0x0||_0x962908[_0x3e5fae(0x285)]===!0x1)&&delete _0x25b7da[_0x3e5fae(0x230)],_0x25b7da;}[_0x2a8012(0x226)](_0x24f415){const _0xaaeb3=_0x2a8012,_0x277d63=_0x24f415[0x0];if(this[_0xaaeb3(0x335)][_0xaaeb3(0x223)]===!0x1&&_0x277d63[_0xaaeb3(0x33d)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x277d63[_0xaaeb3(0x230)])typeof this['_options'][_0xaaeb3(0x285)]=='number'&&(_0x277d63[_0xaaeb3(0x230)]=this[_0xaaeb3(0x335)][_0xaaeb3(0x285)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0xaaeb3(0x335)][_0xaaeb3(0x285)]==_0xaaeb3(0x25d)&&_0x277d63[_0xaaeb3(0x230)]>this[_0xaaeb3(0x335)][_0xaaeb3(0x285)])throw new Error(_0xaaeb3(0x282));}return _0x277d63;}[_0x2a8012(0x2fe)](_0x197142){const _0x145ee6=_0x2a8012;return _0x197142[_0x145ee6(0x1bf)](_0x34fe81=>{const _0x4afeff=_0x145ee6;Object[_0x4afeff(0x22d)](_0x34fe81)[_0x4afeff(0x1bf)](_0x5a45c2=>{const _0x36baf7=_0x4afeff;let _0x5bc18d=_0x34fe81[_0x5a45c2];if(_0x5bc18d[_0x36baf7(0x2d4)]>0x1)throw new Error(_0x36baf7(0x2ad)+_0x5a45c2+_0x36baf7(0x239));if(_0x5bc18d=_0x5bc18d[0x0],_0x5a45c2===_0x36baf7(0x230)){if(_0x5bc18d!==!0x0){const _0x31e9d9=+_0x5bc18d;if(!Number[_0x36baf7(0x32e)](_0x31e9d9)||_0x31e9d9<0x8||_0x31e9d9>0xf)throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+'\x22:\x20'+_0x5bc18d);_0x5bc18d=_0x31e9d9;}else{if(!this[_0x36baf7(0x22a)])throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);}}else{if(_0x5a45c2===_0x36baf7(0x34d)){const _0x2cbc6a=+_0x5bc18d;if(!Number['isInteger'](_0x2cbc6a)||_0x2cbc6a<0x8||_0x2cbc6a>0xf)throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);_0x5bc18d=_0x2cbc6a;}else{if(_0x5a45c2===_0x36baf7(0x33d)||_0x5a45c2==='server_no_context_takeover'){if(_0x5bc18d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);}else throw new Error(_0x36baf7(0x1ea)+_0x5a45c2+'\x22');}}_0x34fe81[_0x5a45c2]=_0x5bc18d;});}),_0x197142;}[_0x2a8012(0x227)](_0x360c07,_0x3a611a,_0x4efcae){const _0x3c0bcc=_0x2a8012;_0x4cd200[_0x3c0bcc(0x271)](_0x57231b=>{const _0x68739=_0x3c0bcc;this[_0x68739(0x2ff)](_0x360c07,_0x3a611a,(_0x273a5e,_0x20d9cd)=>{_0x57231b(),_0x4efcae(_0x273a5e,_0x20d9cd);});});}[_0x2a8012(0x1ee)](_0x1e25ae,_0x12793b,_0x1b7b7f){const _0x4372c5=_0x2a8012;_0x4cd200[_0x4372c5(0x271)](_0x325760=>{const _0x12670f=_0x4372c5;this[_0x12670f(0x245)](_0x1e25ae,_0x12793b,(_0x2c90a8,_0x190c48)=>{_0x325760(),_0x1b7b7f(_0x2c90a8,_0x190c48);});});}['_decompress'](_0x367882,_0xac31c3,_0x5b84b6){const _0x3c27f3=_0x2a8012,_0x38ff3b=this[_0x3c27f3(0x22a)]?'client':_0x3c27f3(0x1f8);if(!this[_0x3c27f3(0x1be)]){const _0x364836=_0x38ff3b+_0x3c27f3(0x322),_0x87ca8f=typeof this['params'][_0x364836]!=_0x3c27f3(0x25d)?_0x2149e4[_0x3c27f3(0x1ff)]:this[_0x3c27f3(0x224)][_0x364836];this[_0x3c27f3(0x1be)]=_0x2149e4['createInflateRaw']({...this[_0x3c27f3(0x335)][_0x3c27f3(0x270)],'windowBits':_0x87ca8f}),this[_0x3c27f3(0x1be)][_0x48d7bb]=this,this['_inflate'][_0x2fd30a]=0x0,this[_0x3c27f3(0x1be)][_0x50b304]=[],this[_0x3c27f3(0x1be)]['on'](_0x3c27f3(0x1c4),_0xf67878),this[_0x3c27f3(0x1be)]['on'](_0x3c27f3(0x33b),_0x4a4bd9);}this[_0x3c27f3(0x1be)][_0x45395f]=_0x5b84b6,this['_inflate']['write'](_0x367882),_0xac31c3&&this[_0x3c27f3(0x1be)][_0x3c27f3(0x2ec)](_0x191e16),this[_0x3c27f3(0x1be)][_0x3c27f3(0x32b)](()=>{const _0xe90d13=_0x3c27f3,_0x479564=this[_0xe90d13(0x1be)][_0x16cf0d];if(_0x479564){this['_inflate'][_0xe90d13(0x26e)](),this[_0xe90d13(0x1be)]=null,_0x5b84b6(_0x479564);return;}const _0x4626a4=_0x6c1b7c['concat'](this[_0xe90d13(0x1be)][_0x50b304],this[_0xe90d13(0x1be)][_0x2fd30a]);this[_0xe90d13(0x1be)][_0xe90d13(0x2ea)]['endEmitted']?(this[_0xe90d13(0x1be)][_0xe90d13(0x26e)](),this[_0xe90d13(0x1be)]=null):(this['_inflate'][_0x2fd30a]=0x0,this['_inflate'][_0x50b304]=[],_0xac31c3&&this[_0xe90d13(0x224)][_0x38ff3b+_0xe90d13(0x2c8)]&&this[_0xe90d13(0x1be)][_0xe90d13(0x32d)]()),_0x5b84b6(null,_0x4626a4);});}[_0x2a8012(0x245)](_0x27b964,_0x2e0b89,_0x2335cb){const _0x15baeb=_0x2a8012,_0x1cf6a6=this[_0x15baeb(0x22a)]?_0x15baeb(0x1f8):_0x15baeb(0x2f5);if(!this['_deflate']){const _0x5da0ea=_0x1cf6a6+_0x15baeb(0x322),_0xd1d920=typeof this[_0x15baeb(0x224)][_0x5da0ea]!='number'?_0x2149e4[_0x15baeb(0x1ff)]:this[_0x15baeb(0x224)][_0x5da0ea];this[_0x15baeb(0x209)]=_0x2149e4['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0xd1d920}),this[_0x15baeb(0x209)][_0x2fd30a]=0x0,this[_0x15baeb(0x209)][_0x50b304]=[],this[_0x15baeb(0x209)]['on'](_0x15baeb(0x33b),_0x5440a0);}this[_0x15baeb(0x209)][_0x45395f]=_0x2335cb,this[_0x15baeb(0x209)]['write'](_0x27b964),this[_0x15baeb(0x209)]['flush'](_0x2149e4[_0x15baeb(0x2c3)],()=>{const _0x2892c8=_0x15baeb;if(!this[_0x2892c8(0x209)])return;let _0x4635ea=_0x6c1b7c[_0x2892c8(0x1b0)](this[_0x2892c8(0x209)][_0x50b304],this[_0x2892c8(0x209)][_0x2fd30a]);_0x2e0b89&&(_0x4635ea=new _0x2f465d(_0x4635ea[_0x2892c8(0x228)],_0x4635ea[_0x2892c8(0x236)],_0x4635ea[_0x2892c8(0x2d4)]-0x4)),this[_0x2892c8(0x209)][_0x45395f]=null,this[_0x2892c8(0x209)][_0x2fd30a]=0x0,this[_0x2892c8(0x209)][_0x50b304]=[],_0x2e0b89&&this[_0x2892c8(0x224)][_0x1cf6a6+_0x2892c8(0x2c8)]&&this[_0x2892c8(0x209)][_0x2892c8(0x32d)](),_0x2335cb(null,_0x4635ea);});}}ve=_0x3c81ed;function _0x5440a0(_0x582aa5){const _0x4109e4=_0x2a8012;this[_0x50b304][_0x4109e4(0x2e4)](_0x582aa5),this[_0x2fd30a]+=_0x582aa5[_0x4109e4(0x2d4)];}function _0x4a4bd9(_0x4aa046){const _0x260b20=_0x2a8012;if(this[_0x2fd30a]+=_0x4aa046[_0x260b20(0x2d4)],this[_0x48d7bb][_0x260b20(0x27a)]<0x1||this[_0x2fd30a]<=this[_0x48d7bb][_0x260b20(0x27a)]){this[_0x50b304][_0x260b20(0x2e4)](_0x4aa046);return;}this[_0x16cf0d]=new RangeError(_0x260b20(0x1ed)),this[_0x16cf0d][_0x260b20(0x30d)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x16cf0d][_0x25bba7]=0x3f1,this['removeListener'](_0x260b20(0x33b),_0x4a4bd9),this['reset']();}function _0xf67878(_0x22762b){const _0x334736=_0x2a8012;if(this[_0x48d7bb][_0x334736(0x1be)]=null,this[_0x16cf0d]){this[_0x45395f](this[_0x16cf0d]);return;}_0x22762b[_0x25bba7]=0x3ef,this[_0x45395f](_0x22762b);}return ve;}var te={'exports':{}};const Vt={},qt=Object[_0x2e07f2(0x2fd)](Object[_0x2e07f2(0x34f)]({'__proto__':null,'default':Vt},Symbol['toStringTag'],{'value':_0x2e07f2(0x249)})),Ht=jt(qt);var Xe;function ie(){const _0x3790fa=_0x2e07f2;if(Xe)return te[_0x3790fa(0x241)];Xe=0x1;const {isUtf8:_0x258e80}=_0x4da62e,{hasBlob:_0x39abe2}=V(),_0x4a45b0=[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 _0x45c90e(_0x430812){return _0x430812>=0x3e8&&_0x430812<=0x3f6&&_0x430812!==0x3ec&&_0x430812!==0x3ed&&_0x430812!==0x3ee||_0x430812>=0xbb8&&_0x430812<=0x1387;}function _0x2cf5ea(_0x5c86c8){const _0x3a7b1e=_0x3790fa,_0x55a930=_0x5c86c8[_0x3a7b1e(0x2d4)];let _0x53b554=0x0;for(;_0x53b554<_0x55a930;)if((_0x5c86c8[_0x53b554]&0x80)===0x0)_0x53b554++;else{if((_0x5c86c8[_0x53b554]&0xe0)===0xc0){if(_0x53b554+0x1===_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554]&0xfe)===0xc0)return!0x1;_0x53b554+=0x2;}else{if((_0x5c86c8[_0x53b554]&0xf0)===0xe0){if(_0x53b554+0x2>=_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x2]&0xc0)!==0x80||_0x5c86c8[_0x53b554]===0xe0&&(_0x5c86c8[_0x53b554+0x1]&0xe0)===0x80||_0x5c86c8[_0x53b554]===0xed&&(_0x5c86c8[_0x53b554+0x1]&0xe0)===0xa0)return!0x1;_0x53b554+=0x3;}else{if((_0x5c86c8[_0x53b554]&0xf8)===0xf0){if(_0x53b554+0x3>=_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x2]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x3]&0xc0)!==0x80||_0x5c86c8[_0x53b554]===0xf0&&(_0x5c86c8[_0x53b554+0x1]&0xf0)===0x80||_0x5c86c8[_0x53b554]===0xf4&&_0x5c86c8[_0x53b554+0x1]>0x8f||_0x5c86c8[_0x53b554]>0xf4)return!0x1;_0x53b554+=0x4;}else return!0x1;}}}return!0x0;}function _0x34380c(_0x35fca4){const _0x424578=_0x3790fa;return _0x39abe2&&typeof _0x35fca4=='object'&&typeof _0x35fca4['arrayBuffer']==_0x424578(0x2d1)&&typeof _0x35fca4[_0x424578(0x24e)]=='string'&&typeof _0x35fca4[_0x424578(0x290)]==_0x424578(0x2d1)&&(_0x35fca4[Symbol[_0x424578(0x21d)]]===_0x424578(0x2dc)||_0x35fca4[Symbol[_0x424578(0x21d)]]==='File');}if(te[_0x3790fa(0x241)]={'isBlob':_0x34380c,'isValidStatusCode':_0x45c90e,'isValidUTF8':_0x2cf5ea,'tokenChars':_0x4a45b0},_0x258e80)te['exports'][_0x3790fa(0x2c7)]=function(_0x5e35af){const _0x3d2729=_0x3790fa;return _0x5e35af[_0x3d2729(0x2d4)]<0x18?_0x2cf5ea(_0x5e35af):_0x258e80(_0x5e35af);};else{if(!process[_0x3790fa(0x1fb)][_0x3790fa(0x26a)])try{const _0xfa89f6=Ht;te[_0x3790fa(0x241)]['isValidUTF8']=function(_0x220b86){const _0xfeb038=_0x3790fa;return _0x220b86[_0xfeb038(0x2d4)]<0x20?_0x2cf5ea(_0x220b86):_0xfa89f6(_0x220b86);};}catch{}}return te['exports'];}var Se,Ze;function ht(){const _0x92cc8a=_0x2e07f2;if(Ze)return Se;Ze=0x1;const {Writable:_0x4cfe04}=_0x1fd5aa,_0x126cbb=ce(),{BINARY_TYPES:_0x580133,EMPTY_BUFFER:_0xa17738,kStatusCode:_0x26ef9f,kWebSocket:_0x338411}=V(),{concat:_0x5c06c2,toArrayBuffer:_0x4e3c4a,unmask:_0x5b3acf}=fe(),{isValidStatusCode:_0x67916a,isValidUTF8:_0x121eca}=ie(),_0xc99029=Buffer[Symbol[_0x92cc8a(0x205)]],_0x2cb269=0x0,_0x23a836=0x1,_0x15bf24=0x2,_0x543076=0x3,_0x3e3e3d=0x4,_0x54c084=0x5,_0x26652d=0x6;class _0x51f116 extends _0x4cfe04{constructor(_0x573ff0={}){const _0x35ea46=_0x92cc8a;super(),this[_0x35ea46(0x2bf)]=_0x573ff0[_0x35ea46(0x35a)]!==void 0x0?_0x573ff0[_0x35ea46(0x35a)]:!0x0,this[_0x35ea46(0x256)]=_0x573ff0[_0x35ea46(0x24f)]||_0x580133[0x0],this[_0x35ea46(0x2c6)]=_0x573ff0['extensions']||{},this[_0x35ea46(0x22a)]=!!_0x573ff0[_0x35ea46(0x22e)],this[_0x35ea46(0x27a)]=_0x573ff0[_0x35ea46(0x29f)]|0x0,this['_skipUTF8Validation']=!!_0x573ff0[_0x35ea46(0x2a2)],this[_0x338411]=void 0x0,this[_0x35ea46(0x315)]=0x0,this['_buffers']=[],this[_0x35ea46(0x23d)]=!0x1,this[_0x35ea46(0x341)]=0x0,this[_0x35ea46(0x1df)]=void 0x0,this[_0x35ea46(0x353)]=0x0,this[_0x35ea46(0x33c)]=!0x1,this[_0x35ea46(0x267)]=!0x1,this[_0x35ea46(0x2f0)]=0x0,this[_0x35ea46(0x2be)]=0x0,this[_0x35ea46(0x21b)]=0x0,this[_0x35ea46(0x2a1)]=[],this['_errored']=!0x1,this[_0x35ea46(0x286)]=!0x1,this[_0x35ea46(0x2aa)]=_0x2cb269;}[_0x92cc8a(0x35e)](_0x4d1b05,_0x16d706,_0x4327fc){const _0x2860b6=_0x92cc8a;if(this[_0x2860b6(0x2f0)]===0x8&&this['_state']==_0x2cb269)return _0x4327fc();this[_0x2860b6(0x315)]+=_0x4d1b05[_0x2860b6(0x2d4)],this['_buffers'][_0x2860b6(0x2e4)](_0x4d1b05),this[_0x2860b6(0x1f2)](_0x4327fc);}[_0x92cc8a(0x25b)](_0x2e916c){const _0x383d54=_0x92cc8a;if(this[_0x383d54(0x315)]-=_0x2e916c,_0x2e916c===this[_0x383d54(0x317)][0x0][_0x383d54(0x2d4)])return this[_0x383d54(0x317)][_0x383d54(0x2c1)]();if(_0x2e916c<this['_buffers'][0x0][_0x383d54(0x2d4)]){const _0x41b107=this[_0x383d54(0x317)][0x0];return this[_0x383d54(0x317)][0x0]=new _0xc99029(_0x41b107['buffer'],_0x41b107[_0x383d54(0x236)]+_0x2e916c,_0x41b107[_0x383d54(0x2d4)]-_0x2e916c),new _0xc99029(_0x41b107[_0x383d54(0x228)],_0x41b107[_0x383d54(0x236)],_0x2e916c);}const _0x1cc851=Buffer[_0x383d54(0x202)](_0x2e916c);do{const _0x246e1f=this['_buffers'][0x0],_0x3322cc=_0x1cc851[_0x383d54(0x2d4)]-_0x2e916c;_0x2e916c>=_0x246e1f['length']?_0x1cc851[_0x383d54(0x1bc)](this[_0x383d54(0x317)]['shift'](),_0x3322cc):(_0x1cc851['set'](new Uint8Array(_0x246e1f['buffer'],_0x246e1f[_0x383d54(0x236)],_0x2e916c),_0x3322cc),this[_0x383d54(0x317)][0x0]=new _0xc99029(_0x246e1f[_0x383d54(0x228)],_0x246e1f[_0x383d54(0x236)]+_0x2e916c,_0x246e1f['length']-_0x2e916c)),_0x2e916c-=_0x246e1f[_0x383d54(0x2d4)];}while(_0x2e916c>0x0);return _0x1cc851;}[_0x92cc8a(0x1f2)](_0x404bf2){const _0xd13a2e=_0x92cc8a;this[_0xd13a2e(0x286)]=!0x0;do switch(this[_0xd13a2e(0x2aa)]){case _0x2cb269:this[_0xd13a2e(0x356)](_0x404bf2);break;case _0x23a836:this[_0xd13a2e(0x275)](_0x404bf2);break;case _0x15bf24:this[_0xd13a2e(0x28c)](_0x404bf2);break;case _0x543076:this[_0xd13a2e(0x33e)]();break;case _0x3e3e3d:this[_0xd13a2e(0x1e9)](_0x404bf2);break;case _0x54c084:case _0x26652d:this[_0xd13a2e(0x286)]=!0x1;return;}while(this[_0xd13a2e(0x286)]);this[_0xd13a2e(0x217)]||_0x404bf2();}[_0x92cc8a(0x356)](_0x33fabd){const _0x3941f4=_0x92cc8a;if(this[_0x3941f4(0x315)]<0x2){this['_loop']=!0x1;return;}const _0x1563d4=this['consume'](0x2);if((_0x1563d4[0x0]&0x30)!==0x0){const _0x5f5245=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3941f4(0x304));_0x33fabd(_0x5f5245);return;}const _0xf0c596=(_0x1563d4[0x0]&0x40)===0x40;if(_0xf0c596&&!this['_extensions'][_0x126cbb[_0x3941f4(0x305)]]){const _0x3390e8=this[_0x3941f4(0x26b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3941f4(0x2a7));_0x33fabd(_0x3390e8);return;}if(this[_0x3941f4(0x267)]=(_0x1563d4[0x0]&0x80)===0x80,this['_opcode']=_0x1563d4[0x0]&0xf,this[_0x3941f4(0x341)]=_0x1563d4[0x1]&0x7f,this['_opcode']===0x0){if(_0xf0c596){const _0x526554=this['createError'](RangeError,_0x3941f4(0x1ec),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x33fabd(_0x526554);return;}if(!this[_0x3941f4(0x353)]){const _0x82e5ae=this[_0x3941f4(0x26b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x82e5ae);return;}this[_0x3941f4(0x2f0)]=this[_0x3941f4(0x353)];}else{if(this[_0x3941f4(0x2f0)]===0x1||this['_opcode']===0x2){if(this[_0x3941f4(0x353)]){const _0x1dd10e=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x295)+this[_0x3941f4(0x2f0)],!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x1dd10e);return;}this[_0x3941f4(0x23d)]=_0xf0c596;}else{if(this[_0x3941f4(0x2f0)]>0x7&&this[_0x3941f4(0x2f0)]<0xb){if(!this['_fin']){const _0x42aeac=this[_0x3941f4(0x26b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3941f4(0x2a3));_0x33fabd(_0x42aeac);return;}if(_0xf0c596){const _0x3ed58d=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x1ec),!0x0,0x3ea,_0x3941f4(0x2a7));_0x33fabd(_0x3ed58d);return;}if(this[_0x3941f4(0x341)]>0x7d||this[_0x3941f4(0x2f0)]===0x8&&this['_payloadLength']===0x1){const _0x315a32=this['createError'](RangeError,_0x3941f4(0x2dd)+this[_0x3941f4(0x341)],!0x0,0x3ea,_0x3941f4(0x294));_0x33fabd(_0x315a32);return;}}else{const _0x1f4741=this['createError'](RangeError,_0x3941f4(0x295)+this[_0x3941f4(0x2f0)],!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x1f4741);return;}}}if(!this[_0x3941f4(0x267)]&&!this[_0x3941f4(0x353)]&&(this[_0x3941f4(0x353)]=this[_0x3941f4(0x2f0)]),this['_masked']=(_0x1563d4[0x1]&0x80)===0x80,this[_0x3941f4(0x22a)]){if(!this[_0x3941f4(0x33c)]){const _0x56ed02=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x30e),!0x0,0x3ea,_0x3941f4(0x1d2));_0x33fabd(_0x56ed02);return;}}else{if(this[_0x3941f4(0x33c)]){const _0xc23929=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x1c8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x33fabd(_0xc23929);return;}}this[_0x3941f4(0x341)]===0x7e?this[_0x3941f4(0x2aa)]=_0x23a836:this[_0x3941f4(0x341)]===0x7f?this[_0x3941f4(0x2aa)]=_0x15bf24:this[_0x3941f4(0x34b)](_0x33fabd);}[_0x92cc8a(0x275)](_0x4783e2){const _0x894fb9=_0x92cc8a;if(this['_bufferedBytes']<0x2){this[_0x894fb9(0x286)]=!0x1;return;}this[_0x894fb9(0x341)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4783e2);}[_0x92cc8a(0x28c)](_0x3033e7){const _0x3d7a90=_0x92cc8a;if(this[_0x3d7a90(0x315)]<0x8){this[_0x3d7a90(0x286)]=!0x1;return;}const _0x1b4599=this[_0x3d7a90(0x25b)](0x8),_0x2bb717=_0x1b4599[_0x3d7a90(0x344)](0x0);if(_0x2bb717>Math[_0x3d7a90(0x1d3)](0x2,0x15)-0x1){const _0x579146=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3d7a90(0x200));_0x3033e7(_0x579146);return;}this[_0x3d7a90(0x341)]=_0x2bb717*Math[_0x3d7a90(0x1d3)](0x2,0x20)+_0x1b4599[_0x3d7a90(0x344)](0x4),this[_0x3d7a90(0x34b)](_0x3033e7);}[_0x92cc8a(0x34b)](_0x4913b8){const _0x167911=_0x92cc8a;if(this[_0x167911(0x341)]&&this[_0x167911(0x2f0)]<0x8&&(this[_0x167911(0x2be)]+=this[_0x167911(0x341)],this['_totalPayloadLength']>this[_0x167911(0x27a)]&&this[_0x167911(0x27a)]>0x0)){const _0x47cca4=this[_0x167911(0x26b)](RangeError,_0x167911(0x1ed),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4913b8(_0x47cca4);return;}this[_0x167911(0x33c)]?this[_0x167911(0x2aa)]=_0x543076:this[_0x167911(0x2aa)]=_0x3e3e3d;}['getMask'](){const _0x3d6f7b=_0x92cc8a;if(this[_0x3d6f7b(0x315)]<0x4){this[_0x3d6f7b(0x286)]=!0x1;return;}this[_0x3d6f7b(0x1df)]=this[_0x3d6f7b(0x25b)](0x4),this[_0x3d6f7b(0x2aa)]=_0x3e3e3d;}['getData'](_0xdc5261){const _0x4690a9=_0x92cc8a;let _0x27a2d5=_0xa17738;if(this[_0x4690a9(0x341)]){if(this[_0x4690a9(0x315)]<this[_0x4690a9(0x341)]){this[_0x4690a9(0x286)]=!0x1;return;}_0x27a2d5=this[_0x4690a9(0x25b)](this[_0x4690a9(0x341)]),this[_0x4690a9(0x33c)]&&(this['_mask'][0x0]|this[_0x4690a9(0x1df)][0x1]|this[_0x4690a9(0x1df)][0x2]|this[_0x4690a9(0x1df)][0x3])!==0x0&&_0x5b3acf(_0x27a2d5,this[_0x4690a9(0x1df)]);}if(this[_0x4690a9(0x2f0)]>0x7){this['controlMessage'](_0x27a2d5,_0xdc5261);return;}if(this[_0x4690a9(0x23d)]){this[_0x4690a9(0x2aa)]=_0x54c084,this['decompress'](_0x27a2d5,_0xdc5261);return;}_0x27a2d5[_0x4690a9(0x2d4)]&&(this[_0x4690a9(0x21b)]=this[_0x4690a9(0x2be)],this[_0x4690a9(0x2a1)][_0x4690a9(0x2e4)](_0x27a2d5)),this[_0x4690a9(0x2ed)](_0xdc5261);}[_0x92cc8a(0x227)](_0x55a6cc,_0x441f05){const _0x49db20=_0x92cc8a;this[_0x49db20(0x2c6)][_0x126cbb[_0x49db20(0x305)]][_0x49db20(0x227)](_0x55a6cc,this[_0x49db20(0x267)],(_0x336771,_0x492f4f)=>{const _0x1bb871=_0x49db20;if(_0x336771)return _0x441f05(_0x336771);if(_0x492f4f[_0x1bb871(0x2d4)]){if(this[_0x1bb871(0x21b)]+=_0x492f4f['length'],this[_0x1bb871(0x21b)]>this[_0x1bb871(0x27a)]&&this[_0x1bb871(0x27a)]>0x0){const _0x2759c1=this[_0x1bb871(0x26b)](RangeError,_0x1bb871(0x1ed),!0x1,0x3f1,_0x1bb871(0x2f3));_0x441f05(_0x2759c1);return;}this[_0x1bb871(0x2a1)][_0x1bb871(0x2e4)](_0x492f4f);}this[_0x1bb871(0x2ed)](_0x441f05),this[_0x1bb871(0x2aa)]===_0x2cb269&&this[_0x1bb871(0x1f2)](_0x441f05);});}['dataMessage'](_0xdddb65){const _0xe1ce1b=_0x92cc8a;if(!this['_fin']){this[_0xe1ce1b(0x2aa)]=_0x2cb269;return;}const _0x2754ca=this['_messageLength'],_0x59ec70=this[_0xe1ce1b(0x2a1)];if(this[_0xe1ce1b(0x2be)]=0x0,this[_0xe1ce1b(0x21b)]=0x0,this[_0xe1ce1b(0x353)]=0x0,this['_fragments']=[],this[_0xe1ce1b(0x2f0)]===0x2){let _0x2b8522;this[_0xe1ce1b(0x256)]===_0xe1ce1b(0x29b)?_0x2b8522=_0x5c06c2(_0x59ec70,_0x2754ca):this[_0xe1ce1b(0x256)]===_0xe1ce1b(0x251)?_0x2b8522=_0x4e3c4a(_0x5c06c2(_0x59ec70,_0x2754ca)):this[_0xe1ce1b(0x256)]==='blob'?_0x2b8522=new Blob(_0x59ec70):_0x2b8522=_0x59ec70,this[_0xe1ce1b(0x2bf)]?(this[_0xe1ce1b(0x2ee)]('message',_0x2b8522,!0x0),this[_0xe1ce1b(0x2aa)]=_0x2cb269):(this[_0xe1ce1b(0x2aa)]=_0x26652d,setImmediate(()=>{const _0x134335=_0xe1ce1b;this[_0x134335(0x2ee)](_0x134335(0x213),_0x2b8522,!0x0),this[_0x134335(0x2aa)]=_0x2cb269,this['startLoop'](_0xdddb65);}));}else{const _0x39ec41=_0x5c06c2(_0x59ec70,_0x2754ca);if(!this[_0xe1ce1b(0x30a)]&&!_0x121eca(_0x39ec41)){const _0x4c1add=this[_0xe1ce1b(0x26b)](Error,_0xe1ce1b(0x313),!0x0,0x3ef,_0xe1ce1b(0x2b5));_0xdddb65(_0x4c1add);return;}this[_0xe1ce1b(0x2aa)]===_0x54c084||this['_allowSynchronousEvents']?(this[_0xe1ce1b(0x2ee)](_0xe1ce1b(0x213),_0x39ec41,!0x1),this['_state']=_0x2cb269):(this[_0xe1ce1b(0x2aa)]=_0x26652d,setImmediate(()=>{this['emit']('message',_0x39ec41,!0x1),this['_state']=_0x2cb269,this['startLoop'](_0xdddb65);}));}}['controlMessage'](_0x4bc155,_0x3e4a17){const _0x4eaa57=_0x92cc8a;if(this[_0x4eaa57(0x2f0)]===0x8){if(_0x4bc155[_0x4eaa57(0x2d4)]===0x0)this[_0x4eaa57(0x286)]=!0x1,this[_0x4eaa57(0x2ee)](_0x4eaa57(0x325),0x3ed,_0xa17738),this[_0x4eaa57(0x1cd)]();else{const _0x4137a2=_0x4bc155['readUInt16BE'](0x0);if(!_0x67916a(_0x4137a2)){const _0xa417bc=this[_0x4eaa57(0x26b)](RangeError,_0x4eaa57(0x352)+_0x4137a2,!0x0,0x3ea,_0x4eaa57(0x357));_0x3e4a17(_0xa417bc);return;}const _0x16ee72=new _0xc99029(_0x4bc155[_0x4eaa57(0x228)],_0x4bc155[_0x4eaa57(0x236)]+0x2,_0x4bc155['length']-0x2);if(!this[_0x4eaa57(0x30a)]&&!_0x121eca(_0x16ee72)){const _0x13d250=this[_0x4eaa57(0x26b)](Error,_0x4eaa57(0x313),!0x0,0x3ef,_0x4eaa57(0x2b5));_0x3e4a17(_0x13d250);return;}this[_0x4eaa57(0x286)]=!0x1,this[_0x4eaa57(0x2ee)](_0x4eaa57(0x325),_0x4137a2,_0x16ee72),this[_0x4eaa57(0x1cd)]();}this[_0x4eaa57(0x2aa)]=_0x2cb269;return;}this[_0x4eaa57(0x2bf)]?(this[_0x4eaa57(0x2ee)](this[_0x4eaa57(0x2f0)]===0x9?'ping':_0x4eaa57(0x1d9),_0x4bc155),this[_0x4eaa57(0x2aa)]=_0x2cb269):(this[_0x4eaa57(0x2aa)]=_0x26652d,setImmediate(()=>{const _0x1a0f79=_0x4eaa57;this[_0x1a0f79(0x2ee)](this[_0x1a0f79(0x2f0)]===0x9?_0x1a0f79(0x1eb):'pong',_0x4bc155),this[_0x1a0f79(0x2aa)]=_0x2cb269,this[_0x1a0f79(0x1f2)](_0x3e4a17);}));}[_0x92cc8a(0x26b)](_0x582210,_0x3ce39b,_0x38e884,_0x38b7bc,_0x44d50a){const _0x465fb2=_0x92cc8a;this[_0x465fb2(0x286)]=!0x1,this[_0x465fb2(0x217)]=!0x0;const _0x4223b4=new _0x582210(_0x38e884?_0x465fb2(0x1c1)+_0x3ce39b:_0x3ce39b);return Error[_0x465fb2(0x288)](_0x4223b4,this[_0x465fb2(0x26b)]),_0x4223b4[_0x465fb2(0x30d)]=_0x44d50a,_0x4223b4[_0x26ef9f]=_0x38b7bc,_0x4223b4;}}return Se=_0x51f116,Se;}var Ee,Qe;function ut(){const _0x50f68e=_0x2e07f2;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x184310}=_0x1fd5aa,{randomFillSync:_0x354353}=_0x449068,_0x294c59=ce(),{EMPTY_BUFFER:_0x288dd1,kWebSocket:_0x5505f1,NOOP:_0x4072b7}=V(),{isBlob:_0x68d414,isValidStatusCode:_0x4aac03}=ie(),{mask:_0x4b70e8,toBuffer:_0x10151c}=fe(),_0x456e9c=Symbol(_0x50f68e(0x1c2)),_0x2fa4b0=Buffer[_0x50f68e(0x23a)](0x4),_0x30a6f9=0x8*0x400;let _0x26d107,_0x4d39ef=_0x30a6f9;const _0x22656e=0x0,_0x339935=0x1,_0x5d92b4=0x2;class _0x57b263{constructor(_0x2a5515,_0x592a20,_0x5e711a){const _0x49173d=_0x50f68e;this[_0x49173d(0x2c6)]=_0x592a20||{},_0x5e711a&&(this['_generateMask']=_0x5e711a,this['_maskBuffer']=Buffer[_0x49173d(0x23a)](0x4)),this['_socket']=_0x2a5515,this[_0x49173d(0x1ba)]=!0x0,this[_0x49173d(0x245)]=!0x1,this[_0x49173d(0x315)]=0x0,this['_queue']=[],this['_state']=_0x22656e,this[_0x49173d(0x25e)]=_0x4072b7,this[_0x5505f1]=void 0x0;}static[_0x50f68e(0x35f)](_0x3dc8bb,_0x4bac7e){const _0x33184d=_0x50f68e;let _0x25c516,_0x364130=!0x1,_0x12cd07=0x2,_0xa156c9=!0x1;_0x4bac7e[_0x33184d(0x20a)]&&(_0x25c516=_0x4bac7e[_0x33184d(0x2d2)]||_0x2fa4b0,_0x4bac7e[_0x33184d(0x27d)]?_0x4bac7e[_0x33184d(0x27d)](_0x25c516):(_0x4d39ef===_0x30a6f9&&(_0x26d107===void 0x0&&(_0x26d107=Buffer['alloc'](_0x30a6f9)),_0x354353(_0x26d107,0x0,_0x30a6f9),_0x4d39ef=0x0),_0x25c516[0x0]=_0x26d107[_0x4d39ef++],_0x25c516[0x1]=_0x26d107[_0x4d39ef++],_0x25c516[0x2]=_0x26d107[_0x4d39ef++],_0x25c516[0x3]=_0x26d107[_0x4d39ef++]),_0xa156c9=(_0x25c516[0x0]|_0x25c516[0x1]|_0x25c516[0x2]|_0x25c516[0x3])===0x0,_0x12cd07=0x6);let _0x5a837f;typeof _0x3dc8bb==_0x33184d(0x1d4)?(!_0x4bac7e[_0x33184d(0x20a)]||_0xa156c9)&&_0x4bac7e[_0x456e9c]!==void 0x0?_0x5a837f=_0x4bac7e[_0x456e9c]:(_0x3dc8bb=Buffer[_0x33184d(0x21e)](_0x3dc8bb),_0x5a837f=_0x3dc8bb[_0x33184d(0x2d4)]):(_0x5a837f=_0x3dc8bb[_0x33184d(0x2d4)],_0x364130=_0x4bac7e['mask']&&_0x4bac7e[_0x33184d(0x312)]&&!_0xa156c9);let _0x4ad219=_0x5a837f;_0x5a837f>=0x10000?(_0x12cd07+=0x8,_0x4ad219=0x7f):_0x5a837f>0x7d&&(_0x12cd07+=0x2,_0x4ad219=0x7e);const _0x5ac7e1=Buffer['allocUnsafe'](_0x364130?_0x5a837f+_0x12cd07:_0x12cd07);return _0x5ac7e1[0x0]=_0x4bac7e[_0x33184d(0x24a)]?_0x4bac7e[_0x33184d(0x1e1)]|0x80:_0x4bac7e[_0x33184d(0x1e1)],_0x4bac7e['rsv1']&&(_0x5ac7e1[0x0]|=0x40),_0x5ac7e1[0x1]=_0x4ad219,_0x4ad219===0x7e?_0x5ac7e1[_0x33184d(0x339)](_0x5a837f,0x2):_0x4ad219===0x7f&&(_0x5ac7e1[0x2]=_0x5ac7e1[0x3]=0x0,_0x5ac7e1['writeUIntBE'](_0x5a837f,0x4,0x6)),_0x4bac7e[_0x33184d(0x20a)]?(_0x5ac7e1[0x1]|=0x80,_0x5ac7e1[_0x12cd07-0x4]=_0x25c516[0x0],_0x5ac7e1[_0x12cd07-0x3]=_0x25c516[0x1],_0x5ac7e1[_0x12cd07-0x2]=_0x25c516[0x2],_0x5ac7e1[_0x12cd07-0x1]=_0x25c516[0x3],_0xa156c9?[_0x5ac7e1,_0x3dc8bb]:_0x364130?(_0x4b70e8(_0x3dc8bb,_0x25c516,_0x5ac7e1,_0x12cd07,_0x5a837f),[_0x5ac7e1]):(_0x4b70e8(_0x3dc8bb,_0x25c516,_0x3dc8bb,0x0,_0x5a837f),[_0x5ac7e1,_0x3dc8bb])):[_0x5ac7e1,_0x3dc8bb];}[_0x50f68e(0x26e)](_0xe5ab32,_0x486711,_0x2775e3,_0x55b486){const _0x2c0fc5=_0x50f68e;let _0x52fb59;if(_0xe5ab32===void 0x0)_0x52fb59=_0x288dd1;else{if(typeof _0xe5ab32!=_0x2c0fc5(0x25d)||!_0x4aac03(_0xe5ab32))throw new TypeError(_0x2c0fc5(0x240));if(_0x486711===void 0x0||!_0x486711[_0x2c0fc5(0x2d4)])_0x52fb59=Buffer['allocUnsafe'](0x2),_0x52fb59[_0x2c0fc5(0x339)](_0xe5ab32,0x0);else{const _0x186f7=Buffer[_0x2c0fc5(0x32c)](_0x486711);if(_0x186f7>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x52fb59=Buffer['allocUnsafe'](0x2+_0x186f7),_0x52fb59['writeUInt16BE'](_0xe5ab32,0x0),typeof _0x486711==_0x2c0fc5(0x1d4)?_0x52fb59['write'](_0x486711,0x2):_0x52fb59[_0x2c0fc5(0x1bc)](_0x486711,0x2);}}const _0x191900={[_0x456e9c]:_0x52fb59[_0x2c0fc5(0x2d4)],'fin':!0x0,'generateMask':this[_0x2c0fc5(0x32a)],'mask':_0x2775e3,'maskBuffer':this[_0x2c0fc5(0x1d6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2c0fc5(0x2aa)]!==_0x22656e?this['enqueue']([this[_0x2c0fc5(0x310)],_0x52fb59,!0x1,_0x191900,_0x55b486]):this[_0x2c0fc5(0x298)](_0x57b263[_0x2c0fc5(0x35f)](_0x52fb59,_0x191900),_0x55b486);}[_0x50f68e(0x1eb)](_0x5b3b36,_0x52e4fd,_0xce74c3){const _0x3a19f4=_0x50f68e;let _0x19177d,_0x2f1f8d;if(typeof _0x5b3b36==_0x3a19f4(0x1d4)?(_0x19177d=Buffer['byteLength'](_0x5b3b36),_0x2f1f8d=!0x1):_0x68d414(_0x5b3b36)?(_0x19177d=_0x5b3b36[_0x3a19f4(0x1b5)],_0x2f1f8d=!0x1):(_0x5b3b36=_0x10151c(_0x5b3b36),_0x19177d=_0x5b3b36[_0x3a19f4(0x2d4)],_0x2f1f8d=_0x10151c[_0x3a19f4(0x312)]),_0x19177d>0x7d)throw new RangeError(_0x3a19f4(0x360));const _0x4a7086={[_0x456e9c]:_0x19177d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x52e4fd,'maskBuffer':this[_0x3a19f4(0x1d6)],'opcode':0x9,'readOnly':_0x2f1f8d,'rsv1':!0x1};_0x68d414(_0x5b3b36)?this[_0x3a19f4(0x2aa)]!==_0x22656e?this[_0x3a19f4(0x1cc)]([this['getBlobData'],_0x5b3b36,!0x1,_0x4a7086,_0xce74c3]):this[_0x3a19f4(0x35c)](_0x5b3b36,!0x1,_0x4a7086,_0xce74c3):this['_state']!==_0x22656e?this[_0x3a19f4(0x1cc)]([this['dispatch'],_0x5b3b36,!0x1,_0x4a7086,_0xce74c3]):this[_0x3a19f4(0x298)](_0x57b263[_0x3a19f4(0x35f)](_0x5b3b36,_0x4a7086),_0xce74c3);}[_0x50f68e(0x1d9)](_0x3d3486,_0x599729,_0x1925f3){const _0x6f3cf7=_0x50f68e;let _0x1ea6ad,_0x27106c;if(typeof _0x3d3486=='string'?(_0x1ea6ad=Buffer['byteLength'](_0x3d3486),_0x27106c=!0x1):_0x68d414(_0x3d3486)?(_0x1ea6ad=_0x3d3486['size'],_0x27106c=!0x1):(_0x3d3486=_0x10151c(_0x3d3486),_0x1ea6ad=_0x3d3486[_0x6f3cf7(0x2d4)],_0x27106c=_0x10151c[_0x6f3cf7(0x312)]),_0x1ea6ad>0x7d)throw new RangeError(_0x6f3cf7(0x360));const _0x19803f={[_0x456e9c]:_0x1ea6ad,'fin':!0x0,'generateMask':this[_0x6f3cf7(0x32a)],'mask':_0x599729,'maskBuffer':this[_0x6f3cf7(0x1d6)],'opcode':0xa,'readOnly':_0x27106c,'rsv1':!0x1};_0x68d414(_0x3d3486)?this['_state']!==_0x22656e?this[_0x6f3cf7(0x1cc)]([this['getBlobData'],_0x3d3486,!0x1,_0x19803f,_0x1925f3]):this[_0x6f3cf7(0x35c)](_0x3d3486,!0x1,_0x19803f,_0x1925f3):this['_state']!==_0x22656e?this[_0x6f3cf7(0x1cc)]([this['dispatch'],_0x3d3486,!0x1,_0x19803f,_0x1925f3]):this['sendFrame'](_0x57b263['frame'](_0x3d3486,_0x19803f),_0x1925f3);}[_0x50f68e(0x2cb)](_0x5e5f0a,_0x861d91,_0x4192f0){const _0x1fff2d=_0x50f68e,_0x88a83=this[_0x1fff2d(0x2c6)][_0x294c59['extensionName']];let _0x5f48a1=_0x861d91[_0x1fff2d(0x292)]?0x2:0x1,_0x25c107=_0x861d91[_0x1fff2d(0x1ee)],_0x23652f,_0x51299f;typeof _0x5e5f0a=='string'?(_0x23652f=Buffer['byteLength'](_0x5e5f0a),_0x51299f=!0x1):_0x68d414(_0x5e5f0a)?(_0x23652f=_0x5e5f0a[_0x1fff2d(0x1b5)],_0x51299f=!0x1):(_0x5e5f0a=_0x10151c(_0x5e5f0a),_0x23652f=_0x5e5f0a[_0x1fff2d(0x2d4)],_0x51299f=_0x10151c['readOnly']),this[_0x1fff2d(0x1ba)]?(this[_0x1fff2d(0x1ba)]=!0x1,_0x25c107&&_0x88a83&&_0x88a83[_0x1fff2d(0x224)][_0x88a83[_0x1fff2d(0x22a)]?_0x1fff2d(0x2a0):'client_no_context_takeover']&&(_0x25c107=_0x23652f>=_0x88a83[_0x1fff2d(0x276)]),this[_0x1fff2d(0x245)]=_0x25c107):(_0x25c107=!0x1,_0x5f48a1=0x0),_0x861d91[_0x1fff2d(0x24a)]&&(this[_0x1fff2d(0x1ba)]=!0x0);const _0x27523a={[_0x456e9c]:_0x23652f,'fin':_0x861d91['fin'],'generateMask':this[_0x1fff2d(0x32a)],'mask':_0x861d91[_0x1fff2d(0x20a)],'maskBuffer':this[_0x1fff2d(0x1d6)],'opcode':_0x5f48a1,'readOnly':_0x51299f,'rsv1':_0x25c107};_0x68d414(_0x5e5f0a)?this[_0x1fff2d(0x2aa)]!==_0x22656e?this['enqueue']([this['getBlobData'],_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0]):this[_0x1fff2d(0x35c)](_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0):this[_0x1fff2d(0x2aa)]!==_0x22656e?this['enqueue']([this[_0x1fff2d(0x310)],_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0]):this[_0x1fff2d(0x310)](_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0);}['getBlobData'](_0x57c249,_0x38147a,_0x3c2247,_0x1dee15){const _0x527b7d=_0x50f68e;this[_0x527b7d(0x315)]+=_0x3c2247[_0x456e9c],this[_0x527b7d(0x2aa)]=_0x5d92b4,_0x57c249['arrayBuffer']()['then'](_0x4bc975=>{const _0xb646d2=_0x527b7d;if(this[_0xb646d2(0x1c7)][_0xb646d2(0x1fa)]){const _0x1c1852=new Error(_0xb646d2(0x23c));process[_0xb646d2(0x277)](_0xd80649,this,_0x1c1852,_0x1dee15);return;}this[_0xb646d2(0x315)]-=_0x3c2247[_0x456e9c];const _0x2f8cd6=_0x10151c(_0x4bc975);_0x38147a?this[_0xb646d2(0x310)](_0x2f8cd6,_0x38147a,_0x3c2247,_0x1dee15):(this[_0xb646d2(0x2aa)]=_0x22656e,this[_0xb646d2(0x298)](_0x57b263[_0xb646d2(0x35f)](_0x2f8cd6,_0x3c2247),_0x1dee15),this['dequeue']());})[_0x527b7d(0x1d0)](_0x151478=>{process['nextTick'](_0x2353c0,this,_0x151478,_0x1dee15);});}['dispatch'](_0x2e5b8e,_0x2faef7,_0x59098f,_0x1f1d29){const _0x399c54=_0x50f68e;if(!_0x2faef7){this[_0x399c54(0x298)](_0x57b263[_0x399c54(0x35f)](_0x2e5b8e,_0x59098f),_0x1f1d29);return;}const _0x42d0a5=this['_extensions'][_0x294c59[_0x399c54(0x305)]];this['_bufferedBytes']+=_0x59098f[_0x456e9c],this[_0x399c54(0x2aa)]=_0x339935,_0x42d0a5[_0x399c54(0x1ee)](_0x2e5b8e,_0x59098f['fin'],(_0x3b56fc,_0x5e7334)=>{const _0x208d5a=_0x399c54;if(this[_0x208d5a(0x1c7)][_0x208d5a(0x1fa)]){const _0xfa97ab=new Error(_0x208d5a(0x2ca));_0xd80649(this,_0xfa97ab,_0x1f1d29);return;}this[_0x208d5a(0x315)]-=_0x59098f[_0x456e9c],this['_state']=_0x22656e,_0x59098f['readOnly']=!0x1,this[_0x208d5a(0x298)](_0x57b263[_0x208d5a(0x35f)](_0x5e7334,_0x59098f),_0x1f1d29),this[_0x208d5a(0x1da)]();});}[_0x50f68e(0x1da)](){const _0x28d124=_0x50f68e;for(;this[_0x28d124(0x2aa)]===_0x22656e&&this[_0x28d124(0x234)][_0x28d124(0x2d4)];){const _0xff586f=this['_queue']['shift']();this[_0x28d124(0x315)]-=_0xff586f[0x3][_0x456e9c],Reflect[_0x28d124(0x2b1)](_0xff586f[0x0],this,_0xff586f[_0x28d124(0x2f8)](0x1));}}['enqueue'](_0x6c9b42){const _0x2e9c31=_0x50f68e;this[_0x2e9c31(0x315)]+=_0x6c9b42[0x3][_0x456e9c],this[_0x2e9c31(0x234)][_0x2e9c31(0x2e4)](_0x6c9b42);}[_0x50f68e(0x298)](_0x317222,_0x19b6f2){const _0x4ce164=_0x50f68e;_0x317222[_0x4ce164(0x2d4)]===0x2?(this[_0x4ce164(0x1c7)]['cork'](),this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x0]),this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x1],_0x19b6f2),this['_socket'][_0x4ce164(0x293)]()):this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x0],_0x19b6f2);}}Ee=_0x57b263;function _0xd80649(_0x4c5735,_0x525be2,_0x249067){const _0x16aa43=_0x50f68e;typeof _0x249067=='function'&&_0x249067(_0x525be2);for(let _0x2a9f4a=0x0;_0x2a9f4a<_0x4c5735['_queue'][_0x16aa43(0x2d4)];_0x2a9f4a++){const _0x5bcc8c=_0x4c5735[_0x16aa43(0x234)][_0x2a9f4a],_0x4b7ed2=_0x5bcc8c[_0x5bcc8c[_0x16aa43(0x2d4)]-0x1];typeof _0x4b7ed2=='function'&&_0x4b7ed2(_0x525be2);}}function _0x2353c0(_0x53c0f3,_0x48d442,_0x5ed870){const _0x2af06e=_0x50f68e;_0xd80649(_0x53c0f3,_0x48d442,_0x5ed870),_0x53c0f3[_0x2af06e(0x25e)](_0x48d442);}return Ee;}var xe,Je;function zt(){const _0x8cfd1c=_0x2e07f2;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x52b9fb,kListener:_0x2f0d7d}=V(),_0x4b906c=Symbol(_0x8cfd1c(0x2f4)),_0x17c227=Symbol(_0x8cfd1c(0x31c)),_0x1f6156=Symbol(_0x8cfd1c(0x2e2)),_0x1fd379=Symbol(_0x8cfd1c(0x1ef)),_0x31111d=Symbol(_0x8cfd1c(0x350)),_0x556942=Symbol('kTarget'),_0x4ec03e=Symbol(_0x8cfd1c(0x258)),_0x1a45c6=Symbol('kWasClean');class _0x536598{constructor(_0x445730){this[_0x556942]=null,this[_0x4ec03e]=_0x445730;}get[_0x8cfd1c(0x21c)](){return this[_0x556942];}get['type'](){return this[_0x4ec03e];}}Object[_0x8cfd1c(0x34f)](_0x536598[_0x8cfd1c(0x359)],_0x8cfd1c(0x21c),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x536598[_0x8cfd1c(0x359)],'type',{'enumerable':!0x0});class _0x5b7476 extends _0x536598{constructor(_0x1cdc03,_0x3cab7d={}){const _0x2b941d=_0x8cfd1c;super(_0x1cdc03),this[_0x4b906c]=_0x3cab7d[_0x2b941d(0x30d)]===void 0x0?0x0:_0x3cab7d['code'],this[_0x31111d]=_0x3cab7d[_0x2b941d(0x289)]===void 0x0?'':_0x3cab7d['reason'],this[_0x1a45c6]=_0x3cab7d[_0x2b941d(0x329)]===void 0x0?!0x1:_0x3cab7d[_0x2b941d(0x329)];}get[_0x8cfd1c(0x30d)](){return this[_0x4b906c];}get[_0x8cfd1c(0x289)](){return this[_0x31111d];}get[_0x8cfd1c(0x329)](){return this[_0x1a45c6];}}Object[_0x8cfd1c(0x34f)](_0x5b7476['prototype'],_0x8cfd1c(0x30d),{'enumerable':!0x0}),Object['defineProperty'](_0x5b7476[_0x8cfd1c(0x359)],_0x8cfd1c(0x289),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x5b7476[_0x8cfd1c(0x359)],_0x8cfd1c(0x329),{'enumerable':!0x0});class _0x32838d extends _0x536598{constructor(_0x163569,_0x51fbb7={}){const _0x15d590=_0x8cfd1c;super(_0x163569),this[_0x1f6156]=_0x51fbb7[_0x15d590(0x1c4)]===void 0x0?null:_0x51fbb7[_0x15d590(0x1c4)],this[_0x1fd379]=_0x51fbb7[_0x15d590(0x213)]===void 0x0?'':_0x51fbb7[_0x15d590(0x213)];}get[_0x8cfd1c(0x1c4)](){return this[_0x1f6156];}get[_0x8cfd1c(0x213)](){return this[_0x1fd379];}}Object[_0x8cfd1c(0x34f)](_0x32838d['prototype'],_0x8cfd1c(0x1c4),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x32838d[_0x8cfd1c(0x359)],'message',{'enumerable':!0x0});class _0x1186ea extends _0x536598{constructor(_0xafb152,_0x6543be={}){const _0x3d00cf=_0x8cfd1c;super(_0xafb152),this[_0x17c227]=_0x6543be[_0x3d00cf(0x33b)]===void 0x0?null:_0x6543be[_0x3d00cf(0x33b)];}get[_0x8cfd1c(0x33b)](){return this[_0x17c227];}}Object[_0x8cfd1c(0x34f)](_0x1186ea[_0x8cfd1c(0x359)],_0x8cfd1c(0x33b),{'enumerable':!0x0}),xe={'CloseEvent':_0x5b7476,'ErrorEvent':_0x32838d,'Event':_0x536598,'EventTarget':{'addEventListener'(_0x25b536,_0x566574,_0x2f10f0={}){const _0xb58ada=_0x8cfd1c;for(const _0x39822e of this[_0xb58ada(0x2b7)](_0x25b536))if(!_0x2f10f0[_0x52b9fb]&&_0x39822e[_0x2f0d7d]===_0x566574&&!_0x39822e[_0x52b9fb])return;let _0x2c8632;if(_0x25b536===_0xb58ada(0x213))_0x2c8632=function(_0xc18355,_0x19b55c){const _0x1a1370=_0xb58ada,_0x41cc55=new _0x1186ea(_0x1a1370(0x213),{'data':_0x19b55c?_0xc18355:_0xc18355[_0x1a1370(0x29d)]()});_0x41cc55[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x41cc55);};else{if(_0x25b536==='close')_0x2c8632=function(_0x592c7d,_0x23c0c7){const _0x2250a5=_0xb58ada,_0x50342b=new _0x5b7476(_0x2250a5(0x26e),{'code':_0x592c7d,'reason':_0x23c0c7[_0x2250a5(0x29d)](),'wasClean':this[_0x2250a5(0x1e3)]&&this[_0x2250a5(0x2e6)]});_0x50342b[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x50342b);};else{if(_0x25b536==='error')_0x2c8632=function(_0x5542a5){const _0x165493=_0xb58ada,_0x858fa0=new _0x32838d(_0x165493(0x1c4),{'error':_0x5542a5,'message':_0x5542a5['message']});_0x858fa0[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x858fa0);};else{if(_0x25b536===_0xb58ada(0x2ce))_0x2c8632=function(){const _0x372d7e=_0xb58ada,_0xa98d92=new _0x536598(_0x372d7e(0x2ce));_0xa98d92[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0xa98d92);};else return;}}}_0x2c8632[_0x52b9fb]=!!_0x2f10f0[_0x52b9fb],_0x2c8632[_0x2f0d7d]=_0x566574,_0x2f10f0[_0xb58ada(0x2a8)]?this['once'](_0x25b536,_0x2c8632):this['on'](_0x25b536,_0x2c8632);},'removeEventListener'(_0x3673a9,_0x2fbe5a){const _0x83dfe8=_0x8cfd1c;for(const _0x529e06 of this[_0x83dfe8(0x2b7)](_0x3673a9))if(_0x529e06[_0x2f0d7d]===_0x2fbe5a&&!_0x529e06[_0x52b9fb]){this[_0x83dfe8(0x330)](_0x3673a9,_0x529e06);break;}}},'MessageEvent':_0x1186ea};function _0x5e2ff4(_0x4e80c5,_0x39044e,_0x3549c2){const _0x2d6a90=_0x8cfd1c;typeof _0x4e80c5==_0x2d6a90(0x2d6)&&_0x4e80c5['handleEvent']?_0x4e80c5['handleEvent'][_0x2d6a90(0x1c3)](_0x4e80c5,_0x3549c2):_0x4e80c5['call'](_0x39044e,_0x3549c2);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x42de0f}=ie();function _0x2cab81(_0x11f227,_0x297dbf,_0x4ca19f){const _0x4ca743=_0x1103;_0x11f227[_0x297dbf]===void 0x0?_0x11f227[_0x297dbf]=[_0x4ca19f]:_0x11f227[_0x297dbf][_0x4ca743(0x2e4)](_0x4ca19f);}function _0x3fcc92(_0x23f6b2){const _0x4c52c7=_0x1103,_0x254d62=Object[_0x4c52c7(0x2bd)](null);let _0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x1d3ad2=!0x1,_0x99253d=!0x1,_0x1eb0cb=!0x1,_0x18606c,_0xeee31e,_0x185c63=-0x1,_0x1eee5c=-0x1,_0x540ffc=-0x1,_0x13b0da=0x0;for(;_0x13b0da<_0x23f6b2[_0x4c52c7(0x2d4)];_0x13b0da++)if(_0x1eee5c=_0x23f6b2[_0x4c52c7(0x354)](_0x13b0da),_0x18606c===void 0x0){if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x13b0da!==0x0&&(_0x1eee5c===0x20||_0x1eee5c===0x9))_0x540ffc===-0x1&&_0x185c63!==-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);const _0x4423dd=_0x23f6b2['slice'](_0x185c63,_0x540ffc);_0x1eee5c===0x2c?(_0x2cab81(_0x254d62,_0x4423dd,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null)):_0x18606c=_0x4423dd,_0x185c63=_0x540ffc=-0x1;}else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}else{if(_0xeee31e===void 0x0){if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x1eee5c===0x20||_0x1eee5c===0x9)_0x540ffc===-0x1&&_0x185c63!==-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da),_0x2cab81(_0x3a9c62,_0x23f6b2['slice'](_0x185c63,_0x540ffc),!0x0),_0x1eee5c===0x2c&&(_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x18606c=void 0x0),_0x185c63=_0x540ffc=-0x1;}else{if(_0x1eee5c===0x3d&&_0x185c63!==-0x1&&_0x540ffc===-0x1)_0xeee31e=_0x23f6b2['slice'](_0x185c63,_0x13b0da),_0x185c63=_0x540ffc=-0x1;else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}}else{if(_0x99253d){if(_0x42de0f[_0x1eee5c]!==0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x185c63===-0x1?_0x185c63=_0x13b0da:_0x1d3ad2||(_0x1d3ad2=!0x0),_0x99253d=!0x1;}else{if(_0x1eb0cb){if(_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x1eee5c===0x22&&_0x185c63!==-0x1)_0x1eb0cb=!0x1,_0x540ffc=_0x13b0da;else{if(_0x1eee5c===0x5c)_0x99253d=!0x0;else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}else{if(_0x1eee5c===0x22&&_0x23f6b2[_0x4c52c7(0x354)](_0x13b0da-0x1)===0x3d)_0x1eb0cb=!0x0;else{if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x185c63!==-0x1&&(_0x1eee5c===0x20||_0x1eee5c===0x9))_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);let _0x78c6b5=_0x23f6b2['slice'](_0x185c63,_0x540ffc);_0x1d3ad2&&(_0x78c6b5=_0x78c6b5[_0x4c52c7(0x34a)](/\\/g,''),_0x1d3ad2=!0x1),_0x2cab81(_0x3a9c62,_0xeee31e,_0x78c6b5),_0x1eee5c===0x2c&&(_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x18606c=void 0x0),_0xeee31e=void 0x0,_0x185c63=_0x540ffc=-0x1;}else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}}}}}if(_0x185c63===-0x1||_0x1eb0cb||_0x1eee5c===0x20||_0x1eee5c===0x9)throw new SyntaxError(_0x4c52c7(0x23e));_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);const _0xb081a8=_0x23f6b2[_0x4c52c7(0x2f8)](_0x185c63,_0x540ffc);return _0x18606c===void 0x0?_0x2cab81(_0x254d62,_0xb081a8,_0x3a9c62):(_0xeee31e===void 0x0?_0x2cab81(_0x3a9c62,_0xb081a8,!0x0):_0x1d3ad2?_0x2cab81(_0x3a9c62,_0xeee31e,_0xb081a8[_0x4c52c7(0x34a)](/\\/g,'')):_0x2cab81(_0x3a9c62,_0xeee31e,_0xb081a8),_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62)),_0x254d62;}function _0x400694(_0x5eaba9){const _0x531504=_0x1103;return Object[_0x531504(0x22d)](_0x5eaba9)[_0x531504(0x27b)](_0x4d47a0=>{const _0x313afc=_0x531504;let _0x22ffc8=_0x5eaba9[_0x4d47a0];return Array[_0x313afc(0x343)](_0x22ffc8)||(_0x22ffc8=[_0x22ffc8]),_0x22ffc8['map'](_0x4838be=>[_0x4d47a0][_0x313afc(0x1b0)](Object[_0x313afc(0x22d)](_0x4838be)[_0x313afc(0x27b)](_0x21f20c=>{const _0x2475ab=_0x313afc;let _0x36e0b6=_0x4838be[_0x21f20c];return Array['isArray'](_0x36e0b6)||(_0x36e0b6=[_0x36e0b6]),_0x36e0b6[_0x2475ab(0x27b)](_0x5a82f3=>_0x5a82f3===!0x0?_0x21f20c:_0x21f20c+'='+_0x5a82f3)['join'](';\x20');}))[_0x313afc(0x299)](';\x20'))[_0x313afc(0x299)](',\x20');})[_0x531504(0x299)](',\x20');}return be={'format':_0x400694,'parse':_0x3fcc92},be;}var we,tt;function Be(){const _0x1edfa7=_0x2e07f2;if(tt)return we;tt=0x1;const _0x1b5038=_0xfa26c6,_0xcee82c=_0x305c4a,_0x31cdb4=_0x43bc88,_0x71dfbb=_0x3d3387,_0xf75bc9=_0x50b5e4,{randomBytes:_0x1e47b8,createHash:_0x30b024}=_0x449068,{Duplex:_0x3be550,Readable:_0x161daa}=_0x1fd5aa,{URL:_0x3acb20}=_0x42dcdf,_0xa334e8=ce(),_0x17a0ba=ht(),_0x1caa2b=ut(),{isBlob:_0x1341c9}=ie(),{BINARY_TYPES:_0x58ebb3,EMPTY_BUFFER:_0x3a8818,GUID:_0x18f12a,kForOnEventAttribute:_0x5cbcb9,kListener:_0x8da17f,kStatusCode:_0x36e375,kWebSocket:_0x2d0926,NOOP:_0x4728fb}=V(),{EventTarget:{addEventListener:_0x377e8e,removeEventListener:_0x53a74e}}=zt(),{format:_0x27730a,parse:_0x590bad}=dt(),{toBuffer:_0x40cc91}=fe(),_0x24db5b=0x1e*0x3e8,_0x44d53c=Symbol(_0x1edfa7(0x1f9)),_0x14e613=[0x8,0xd],_0x533a2f=['CONNECTING',_0x1edfa7(0x1c0),_0x1edfa7(0x21a),_0x1edfa7(0x260)],_0x226dae=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x169a1b extends _0x1b5038{constructor(_0x1d6fd9,_0x32599f,_0xa78bbc){const _0x396f05=_0x1edfa7;super(),this[_0x396f05(0x256)]=_0x58ebb3[0x0],this[_0x396f05(0x1e0)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x3a8818,this[_0x396f05(0x2c4)]=null,this[_0x396f05(0x1fe)]=!0x1,this[_0x396f05(0x2c6)]={},this[_0x396f05(0x216)]=!0x1,this[_0x396f05(0x1b7)]='',this['_readyState']=_0x169a1b[_0x396f05(0x29a)],this[_0x396f05(0x28f)]=null,this['_sender']=null,this['_socket']=null,_0x1d6fd9!==null?(this['_bufferedAmount']=0x0,this[_0x396f05(0x22a)]=!0x1,this[_0x396f05(0x281)]=0x0,_0x32599f===void 0x0?_0x32599f=[]:Array[_0x396f05(0x343)](_0x32599f)||(typeof _0x32599f=='object'&&_0x32599f!==null?(_0xa78bbc=_0x32599f,_0x32599f=[]):_0x32599f=[_0x32599f]),_0x35b7da(this,_0x1d6fd9,_0x32599f,_0xa78bbc)):(this[_0x396f05(0x1ce)]=_0xa78bbc[_0x396f05(0x307)],this[_0x396f05(0x22a)]=!0x0);}get[_0x1edfa7(0x24f)](){const _0x550151=_0x1edfa7;return this[_0x550151(0x256)];}set['binaryType'](_0x5bc716){const _0x5df3f0=_0x1edfa7;_0x58ebb3[_0x5df3f0(0x1f0)](_0x5bc716)&&(this[_0x5df3f0(0x256)]=_0x5bc716,this['_receiver']&&(this[_0x5df3f0(0x28f)][_0x5df3f0(0x256)]=_0x5bc716));}get[_0x1edfa7(0x287)](){const _0x3d04e6=_0x1edfa7;return this[_0x3d04e6(0x1c7)]?this[_0x3d04e6(0x1c7)][_0x3d04e6(0x246)][_0x3d04e6(0x2d4)]+this[_0x3d04e6(0x214)][_0x3d04e6(0x315)]:this['_bufferedAmount'];}get['extensions'](){const _0x2a30c3=_0x1edfa7;return Object[_0x2a30c3(0x22d)](this[_0x2a30c3(0x2c6)])['join']();}get[_0x1edfa7(0x1af)](){return this['_paused'];}get['onclose'](){return null;}get[_0x1edfa7(0x25e)](){return null;}get['onopen'](){return null;}get[_0x1edfa7(0x1d8)](){return null;}get['protocol'](){const _0x7dbfc9=_0x1edfa7;return this[_0x7dbfc9(0x1b7)];}get[_0x1edfa7(0x201)](){const _0x36475b=_0x1edfa7;return this[_0x36475b(0x29c)];}get[_0x1edfa7(0x2b2)](){return this['_url'];}[_0x1edfa7(0x326)](_0x1923fd,_0x2dad0f,_0x5e42cc){const _0x588820=_0x1edfa7,_0x59ba32=new _0x17a0ba({'allowSynchronousEvents':_0x5e42cc[_0x588820(0x35a)],'binaryType':this[_0x588820(0x24f)],'extensions':this[_0x588820(0x2c6)],'isServer':this['_isServer'],'maxPayload':_0x5e42cc[_0x588820(0x29f)],'skipUTF8Validation':_0x5e42cc['skipUTF8Validation']}),_0x25c957=new _0x1caa2b(_0x1923fd,this[_0x588820(0x2c6)],_0x5e42cc[_0x588820(0x27d)]);this[_0x588820(0x28f)]=_0x59ba32,this[_0x588820(0x214)]=_0x25c957,this[_0x588820(0x1c7)]=_0x1923fd,_0x59ba32[_0x2d0926]=this,_0x25c957[_0x2d0926]=this,_0x1923fd[_0x2d0926]=this,_0x59ba32['on']('conclude',_0x3b895c),_0x59ba32['on'](_0x588820(0x303),_0x38118a),_0x59ba32['on'](_0x588820(0x1c4),_0x17aeda),_0x59ba32['on']('message',_0x11ff56),_0x59ba32['on'](_0x588820(0x1eb),_0x49fb15),_0x59ba32['on']('pong',_0x5c8ebb),_0x25c957[_0x588820(0x25e)]=_0x4e3b9,_0x1923fd[_0x588820(0x2df)]&&_0x1923fd[_0x588820(0x2df)](0x0),_0x1923fd['setNoDelay']&&_0x1923fd[_0x588820(0x321)](),_0x2dad0f['length']>0x0&&_0x1923fd[_0x588820(0x22c)](_0x2dad0f),_0x1923fd['on']('close',_0x1a5b1d),_0x1923fd['on'](_0x588820(0x33b),_0x10fa9d),_0x1923fd['on'](_0x588820(0x1cd),_0x272f7e),_0x1923fd['on'](_0x588820(0x1c4),_0x5c4531),this[_0x588820(0x29c)]=_0x169a1b[_0x588820(0x1c0)],this[_0x588820(0x2ee)](_0x588820(0x2ce));}[_0x1edfa7(0x2b6)](){const _0x4d2ad6=_0x1edfa7;if(!this[_0x4d2ad6(0x1c7)]){this['_readyState']=_0x169a1b[_0x4d2ad6(0x260)],this[_0x4d2ad6(0x2ee)](_0x4d2ad6(0x26e),this[_0x4d2ad6(0x1e0)],this[_0x4d2ad6(0x2fb)]);return;}this[_0x4d2ad6(0x2c6)][_0xa334e8[_0x4d2ad6(0x305)]]&&this[_0x4d2ad6(0x2c6)][_0xa334e8[_0x4d2ad6(0x305)]]['cleanup'](),this[_0x4d2ad6(0x28f)][_0x4d2ad6(0x2e7)](),this[_0x4d2ad6(0x29c)]=_0x169a1b[_0x4d2ad6(0x260)],this[_0x4d2ad6(0x2ee)](_0x4d2ad6(0x26e),this[_0x4d2ad6(0x1e0)],this[_0x4d2ad6(0x2fb)]);}[_0x1edfa7(0x26e)](_0x15e598,_0x4a5fbe){const _0x39b0ee=_0x1edfa7;if(this[_0x39b0ee(0x201)]!==_0x169a1b[_0x39b0ee(0x260)]){if(this[_0x39b0ee(0x201)]===_0x169a1b[_0x39b0ee(0x29a)]){_0x4dd7f4(this,this[_0x39b0ee(0x2af)],_0x39b0ee(0x254));return;}if(this[_0x39b0ee(0x201)]===_0x169a1b['CLOSING']){this['_closeFrameSent']&&(this[_0x39b0ee(0x1e3)]||this[_0x39b0ee(0x28f)][_0x39b0ee(0x246)]['errorEmitted'])&&this[_0x39b0ee(0x1c7)]['end']();return;}this[_0x39b0ee(0x29c)]=_0x169a1b[_0x39b0ee(0x21a)],this[_0x39b0ee(0x214)][_0x39b0ee(0x26e)](_0x15e598,_0x4a5fbe,!this[_0x39b0ee(0x22a)],_0x1d09bf=>{const _0x32464a=_0x39b0ee;_0x1d09bf||(this['_closeFrameSent']=!0x0,(this[_0x32464a(0x1e3)]||this[_0x32464a(0x28f)][_0x32464a(0x246)]['errorEmitted'])&&this['_socket'][_0x32464a(0x1cd)]());}),_0x57de29(this);}}[_0x1edfa7(0x273)](){const _0x3e6523=_0x1edfa7;this[_0x3e6523(0x201)]===_0x169a1b[_0x3e6523(0x29a)]||this['readyState']===_0x169a1b[_0x3e6523(0x260)]||(this['_paused']=!0x0,this['_socket'][_0x3e6523(0x273)]());}[_0x1edfa7(0x1eb)](_0x4f4b0d,_0x3ae8be,_0x32fafb){const _0x2e3667=_0x1edfa7;if(this[_0x2e3667(0x201)]===_0x169a1b['CONNECTING'])throw new Error(_0x2e3667(0x301));if(typeof _0x4f4b0d==_0x2e3667(0x2d1)?(_0x32fafb=_0x4f4b0d,_0x4f4b0d=_0x3ae8be=void 0x0):typeof _0x3ae8be==_0x2e3667(0x2d1)&&(_0x32fafb=_0x3ae8be,_0x3ae8be=void 0x0),typeof _0x4f4b0d=='number'&&(_0x4f4b0d=_0x4f4b0d[_0x2e3667(0x29d)]()),this[_0x2e3667(0x201)]!==_0x169a1b[_0x2e3667(0x1c0)]){_0x16500b(this,_0x4f4b0d,_0x32fafb);return;}_0x3ae8be===void 0x0&&(_0x3ae8be=!this['_isServer']),this[_0x2e3667(0x214)][_0x2e3667(0x1eb)](_0x4f4b0d||_0x3a8818,_0x3ae8be,_0x32fafb);}[_0x1edfa7(0x1d9)](_0x3529fe,_0x10be76,_0x799374){const _0x129277=_0x1edfa7;if(this[_0x129277(0x201)]===_0x169a1b[_0x129277(0x29a)])throw new Error(_0x129277(0x301));if(typeof _0x3529fe==_0x129277(0x2d1)?(_0x799374=_0x3529fe,_0x3529fe=_0x10be76=void 0x0):typeof _0x10be76==_0x129277(0x2d1)&&(_0x799374=_0x10be76,_0x10be76=void 0x0),typeof _0x3529fe=='number'&&(_0x3529fe=_0x3529fe[_0x129277(0x29d)]()),this['readyState']!==_0x169a1b['OPEN']){_0x16500b(this,_0x3529fe,_0x799374);return;}_0x10be76===void 0x0&&(_0x10be76=!this[_0x129277(0x22a)]),this[_0x129277(0x214)][_0x129277(0x1d9)](_0x3529fe||_0x3a8818,_0x10be76,_0x799374);}['resume'](){const _0x5011b4=_0x1edfa7;this['readyState']===_0x169a1b['CONNECTING']||this[_0x5011b4(0x201)]===_0x169a1b[_0x5011b4(0x260)]||(this[_0x5011b4(0x216)]=!0x1,this[_0x5011b4(0x28f)][_0x5011b4(0x246)][_0x5011b4(0x2e5)]||this[_0x5011b4(0x1c7)][_0x5011b4(0x1dd)]());}[_0x1edfa7(0x2cb)](_0x1f9f16,_0xb996bf,_0x5c05ac){const _0x35e55a=_0x1edfa7;if(this[_0x35e55a(0x201)]===_0x169a1b[_0x35e55a(0x29a)])throw new Error(_0x35e55a(0x301));if(typeof _0xb996bf=='function'&&(_0x5c05ac=_0xb996bf,_0xb996bf={}),typeof _0x1f9f16==_0x35e55a(0x25d)&&(_0x1f9f16=_0x1f9f16[_0x35e55a(0x29d)]()),this[_0x35e55a(0x201)]!==_0x169a1b[_0x35e55a(0x1c0)]){_0x16500b(this,_0x1f9f16,_0x5c05ac);return;}const _0x50e5a3={'binary':typeof _0x1f9f16!=_0x35e55a(0x1d4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xb996bf};this[_0x35e55a(0x2c6)][_0xa334e8['extensionName']]||(_0x50e5a3[_0x35e55a(0x1ee)]=!0x1),this[_0x35e55a(0x214)][_0x35e55a(0x2cb)](_0x1f9f16||_0x3a8818,_0x50e5a3,_0x5c05ac);}[_0x1edfa7(0x2d8)](){const _0x271262=_0x1edfa7;if(this['readyState']!==_0x169a1b[_0x271262(0x260)]){if(this[_0x271262(0x201)]===_0x169a1b[_0x271262(0x29a)]){_0x4dd7f4(this,this[_0x271262(0x2af)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x271262(0x1c7)]&&(this[_0x271262(0x29c)]=_0x169a1b[_0x271262(0x21a)],this[_0x271262(0x1c7)]['destroy']());}}}Object['defineProperty'](_0x169a1b,_0x1edfa7(0x29a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x29a))}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],_0x1edfa7(0x29a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x29a))}),Object['defineProperty'](_0x169a1b,_0x1edfa7(0x1c0),{'enumerable':!0x0,'value':_0x533a2f['indexOf'](_0x1edfa7(0x1c0))}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],_0x1edfa7(0x1c0),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)]('OPEN')}),Object[_0x1edfa7(0x34f)](_0x169a1b,_0x1edfa7(0x21a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x21a))}),Object[_0x1edfa7(0x34f)](_0x169a1b['prototype'],_0x1edfa7(0x21a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x21a))}),Object[_0x1edfa7(0x34f)](_0x169a1b,_0x1edfa7(0x260),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)]('CLOSED')}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],'CLOSED',{'enumerable':!0x0,'value':_0x533a2f['indexOf']('CLOSED')}),['binaryType',_0x1edfa7(0x287),_0x1edfa7(0x2eb),_0x1edfa7(0x1af),'protocol',_0x1edfa7(0x201),'url'][_0x1edfa7(0x1bf)](_0x4f0ade=>{const _0x28fe42=_0x1edfa7;Object['defineProperty'](_0x169a1b[_0x28fe42(0x359)],_0x4f0ade,{'enumerable':!0x0});}),[_0x1edfa7(0x2ce),_0x1edfa7(0x1c4),'close',_0x1edfa7(0x213)][_0x1edfa7(0x1bf)](_0x28cded=>{const _0x16494a=_0x1edfa7;Object[_0x16494a(0x34f)](_0x169a1b[_0x16494a(0x359)],'on'+_0x28cded,{'enumerable':!0x0,'get'(){for(const _0x5c5fb5 of this['listeners'](_0x28cded))if(_0x5c5fb5[_0x5cbcb9])return _0x5c5fb5[_0x8da17f];return null;},'set'(_0x4234c){const _0x21ce7c=_0x16494a;for(const _0x1ae15d of this[_0x21ce7c(0x2b7)](_0x28cded))if(_0x1ae15d[_0x5cbcb9]){this['removeListener'](_0x28cded,_0x1ae15d);break;}typeof _0x4234c==_0x21ce7c(0x2d1)&&this['addEventListener'](_0x28cded,_0x4234c,{[_0x5cbcb9]:!0x0});}});}),_0x169a1b['prototype']['addEventListener']=_0x377e8e,_0x169a1b['prototype'][_0x1edfa7(0x283)]=_0x53a74e,we=_0x169a1b;function _0x35b7da(_0x191a52,_0x3686f0,_0x1a07e6,_0x331851){const _0x441231=_0x1edfa7,_0x2b7b14={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x14e613[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x331851,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x441231(0x248),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x191a52[_0x441231(0x1ce)]=_0x2b7b14[_0x441231(0x307)],!_0x14e613['includes'](_0x2b7b14[_0x441231(0x280)]))throw new RangeError(_0x441231(0x320)+_0x2b7b14[_0x441231(0x280)]+_0x441231(0x25c)+_0x14e613['join'](',\x20')+')');let _0x575693;if(_0x3686f0 instanceof _0x3acb20)_0x575693=_0x3686f0;else try{_0x575693=new _0x3acb20(_0x3686f0);}catch{throw new SyntaxError(_0x441231(0x1c6)+_0x3686f0);}_0x575693[_0x441231(0x2d9)]===_0x441231(0x2cc)?_0x575693[_0x441231(0x2d9)]='ws:':_0x575693[_0x441231(0x2d9)]===_0x441231(0x215)&&(_0x575693['protocol']='wss:'),_0x191a52[_0x441231(0x22f)]=_0x575693[_0x441231(0x210)];const _0x339524=_0x575693[_0x441231(0x2d9)]===_0x441231(0x233),_0x43d9e6=_0x575693[_0x441231(0x2d9)]==='ws+unix:';let _0x22f8ab;if(_0x575693[_0x441231(0x2d9)]!==_0x441231(0x261)&&!_0x339524&&!_0x43d9e6?_0x22f8ab=_0x441231(0x1ae):_0x43d9e6&&!_0x575693[_0x441231(0x207)]?_0x22f8ab=_0x441231(0x331):_0x575693['hash']&&(_0x22f8ab='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x22f8ab){const _0x3eb07d=new SyntaxError(_0x22f8ab);if(_0x191a52[_0x441231(0x281)]===0x0)throw _0x3eb07d;_0x54161e(_0x191a52,_0x3eb07d);return;}const _0x2d2f7c=_0x339524?0x1bb:0x50,_0x30df9b=_0x1e47b8(0x10)[_0x441231(0x29d)](_0x441231(0x1b2)),_0x52ac50=_0x339524?_0xcee82c['request']:_0x31cdb4['request'],_0x992b22=new Set();let _0x323437;if(_0x2b7b14['createConnection']=_0x2b7b14[_0x441231(0x279)]||(_0x339524?_0x194803:_0xc73db3),_0x2b7b14[_0x441231(0x327)]=_0x2b7b14['defaultPort']||_0x2d2f7c,_0x2b7b14['port']=_0x575693[_0x441231(0x20d)]||_0x2d2f7c,_0x2b7b14[_0x441231(0x1b6)]=_0x575693[_0x441231(0x1fc)][_0x441231(0x222)]('[')?_0x575693[_0x441231(0x1fc)][_0x441231(0x2f8)](0x1,-0x1):_0x575693['hostname'],_0x2b7b14[_0x441231(0x1e2)]={..._0x2b7b14[_0x441231(0x1e2)],'Sec-WebSocket-Version':_0x2b7b14[_0x441231(0x280)],'Sec-WebSocket-Key':_0x30df9b,'Connection':_0x441231(0x20e),'Upgrade':'websocket'},_0x2b7b14[_0x441231(0x250)]=_0x575693[_0x441231(0x207)]+_0x575693[_0x441231(0x318)],_0x2b7b14[_0x441231(0x2bc)]=_0x2b7b14[_0x441231(0x219)],_0x2b7b14[_0x441231(0x2ba)]&&(_0x323437=new _0xa334e8(_0x2b7b14[_0x441231(0x2ba)]!==!0x0?_0x2b7b14[_0x441231(0x2ba)]:{},!0x1,_0x2b7b14[_0x441231(0x29f)]),_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Extensions']=_0x27730a({[_0xa334e8[_0x441231(0x305)]]:_0x323437[_0x441231(0x30b)]()})),_0x1a07e6[_0x441231(0x2d4)]){for(const _0x2058a5 of _0x1a07e6){if(typeof _0x2058a5!=_0x441231(0x1d4)||!_0x226dae[_0x441231(0x232)](_0x2058a5)||_0x992b22['has'](_0x2058a5))throw new SyntaxError(_0x441231(0x28a));_0x992b22['add'](_0x2058a5);}_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Protocol']=_0x1a07e6[_0x441231(0x299)](',');}if(_0x2b7b14[_0x441231(0x1b8)]&&(_0x2b7b14[_0x441231(0x280)]<0xd?_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Origin']=_0x2b7b14['origin']:_0x2b7b14[_0x441231(0x1e2)][_0x441231(0x2e9)]=_0x2b7b14['origin']),(_0x575693[_0x441231(0x33a)]||_0x575693[_0x441231(0x2f6)])&&(_0x2b7b14['auth']=_0x575693[_0x441231(0x33a)]+':'+_0x575693[_0x441231(0x2f6)]),_0x43d9e6){const _0x565e09=_0x2b7b14[_0x441231(0x250)][_0x441231(0x204)](':');_0x2b7b14[_0x441231(0x262)]=_0x565e09[0x0],_0x2b7b14[_0x441231(0x250)]=_0x565e09[0x1];}let _0x28ab8b;if(_0x2b7b14['followRedirects']){if(_0x191a52[_0x441231(0x281)]===0x0){_0x191a52[_0x441231(0x23b)]=_0x43d9e6,_0x191a52[_0x441231(0x319)]=_0x339524,_0x191a52[_0x441231(0x30f)]=_0x43d9e6?_0x2b7b14['socketPath']:_0x575693[_0x441231(0x1b6)];const _0x82dd68=_0x331851&&_0x331851[_0x441231(0x1e2)];if(_0x331851={..._0x331851,'headers':{}},_0x82dd68){for(const [_0xea2b42,_0x4f49f0]of Object[_0x441231(0x266)](_0x82dd68))_0x331851[_0x441231(0x1e2)][_0xea2b42[_0x441231(0x2f7)]()]=_0x4f49f0;}}else{if(_0x191a52[_0x441231(0x2d0)]('redirect')===0x0){const _0xb9c144=_0x43d9e6?_0x191a52[_0x441231(0x23b)]?_0x2b7b14[_0x441231(0x262)]===_0x191a52[_0x441231(0x30f)]:!0x1:_0x191a52[_0x441231(0x23b)]?!0x1:_0x575693['host']===_0x191a52[_0x441231(0x30f)];(!_0xb9c144||_0x191a52[_0x441231(0x319)]&&!_0x339524)&&(delete _0x2b7b14[_0x441231(0x1e2)][_0x441231(0x27f)],delete _0x2b7b14['headers'][_0x441231(0x1fd)],_0xb9c144||delete _0x2b7b14[_0x441231(0x1e2)][_0x441231(0x1b6)],_0x2b7b14[_0x441231(0x26c)]=void 0x0);}}_0x2b7b14['auth']&&!_0x331851[_0x441231(0x1e2)]['authorization']&&(_0x331851[_0x441231(0x1e2)][_0x441231(0x27f)]=_0x441231(0x2d7)+Buffer[_0x441231(0x21e)](_0x2b7b14[_0x441231(0x26c)])[_0x441231(0x29d)](_0x441231(0x1b2))),_0x28ab8b=_0x191a52[_0x441231(0x2af)]=_0x52ac50(_0x2b7b14),_0x191a52[_0x441231(0x281)]&&_0x191a52[_0x441231(0x2ee)](_0x441231(0x27c),_0x191a52[_0x441231(0x2b2)],_0x28ab8b);}else _0x28ab8b=_0x191a52['_req']=_0x52ac50(_0x2b7b14);_0x2b7b14[_0x441231(0x2bc)]&&_0x28ab8b['on']('timeout',()=>{const _0x58c39c=_0x441231;_0x4dd7f4(_0x191a52,_0x28ab8b,_0x58c39c(0x336));}),_0x28ab8b['on'](_0x441231(0x1c4),_0x1cd68c=>{_0x28ab8b===null||_0x28ab8b[_0x44d53c]||(_0x28ab8b=_0x191a52['_req']=null,_0x54161e(_0x191a52,_0x1cd68c));}),_0x28ab8b['on'](_0x441231(0x2a6),_0x1ea270=>{const _0x26d64f=_0x441231,_0x233ecd=_0x1ea270[_0x26d64f(0x1e2)][_0x26d64f(0x284)],_0x1b3b04=_0x1ea270[_0x26d64f(0x349)];if(_0x233ecd&&_0x2b7b14[_0x26d64f(0x1ca)]&&_0x1b3b04>=0x12c&&_0x1b3b04<0x190){if(++_0x191a52['_redirects']>_0x2b7b14['maxRedirects']){_0x4dd7f4(_0x191a52,_0x28ab8b,_0x26d64f(0x238));return;}_0x28ab8b[_0x26d64f(0x351)]();let _0x28d87e;try{_0x28d87e=new _0x3acb20(_0x233ecd,_0x3686f0);}catch{const _0x429cfd=new SyntaxError('Invalid\x20URL:\x20'+_0x233ecd);_0x54161e(_0x191a52,_0x429cfd);return;}_0x35b7da(_0x191a52,_0x28d87e,_0x1a07e6,_0x331851);}else _0x191a52[_0x26d64f(0x2ee)]('unexpected-response',_0x28ab8b,_0x1ea270)||_0x4dd7f4(_0x191a52,_0x28ab8b,_0x26d64f(0x27e)+_0x1ea270[_0x26d64f(0x349)]);}),_0x28ab8b['on'](_0x441231(0x253),(_0x4de458,_0x23b3ce,_0x3161b7)=>{const _0x47ceb6=_0x441231;if(_0x191a52[_0x47ceb6(0x2ee)](_0x47ceb6(0x253),_0x4de458),_0x191a52['readyState']!==_0x169a1b[_0x47ceb6(0x29a)])return;_0x28ab8b=_0x191a52[_0x47ceb6(0x2af)]=null;const _0xa02905=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x253)];if(_0xa02905===void 0x0||_0xa02905['toLowerCase']()!==_0x47ceb6(0x242)){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x337));return;}const _0x4e53b1=_0x30b024(_0x47ceb6(0x1b3))[_0x47ceb6(0x1f6)](_0x30df9b+_0x18f12a)[_0x47ceb6(0x1f5)](_0x47ceb6(0x1b2));if(_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x340)]!==_0x4e53b1){_0x4dd7f4(_0x191a52,_0x23b3ce,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x516bf6=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x1bd)];let _0x34ef89;if(_0x516bf6!==void 0x0?_0x992b22[_0x47ceb6(0x1b5)]?_0x992b22[_0x47ceb6(0x345)](_0x516bf6)||(_0x34ef89='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x34ef89=_0x47ceb6(0x2b4):_0x992b22['size']&&(_0x34ef89=_0x47ceb6(0x2ef)),_0x34ef89){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x34ef89);return;}_0x516bf6&&(_0x191a52[_0x47ceb6(0x1b7)]=_0x516bf6);const _0x467fe7=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x2d5)];if(_0x467fe7!==void 0x0){if(!_0x323437){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x32f));return;}let _0x39af27;try{_0x39af27=_0x590bad(_0x467fe7);}catch{_0x4dd7f4(_0x191a52,_0x23b3ce,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3efb96=Object['keys'](_0x39af27);if(_0x3efb96['length']!==0x1||_0x3efb96[0x0]!==_0xa334e8['extensionName']){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x1dc));return;}try{_0x323437[_0x47ceb6(0x1f1)](_0x39af27[_0xa334e8['extensionName']]);}catch{_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x25f));return;}_0x191a52[_0x47ceb6(0x2c6)][_0xa334e8[_0x47ceb6(0x305)]]=_0x323437;}_0x191a52[_0x47ceb6(0x326)](_0x23b3ce,_0x3161b7,{'allowSynchronousEvents':_0x2b7b14[_0x47ceb6(0x35a)],'generateMask':_0x2b7b14[_0x47ceb6(0x27d)],'maxPayload':_0x2b7b14['maxPayload'],'skipUTF8Validation':_0x2b7b14[_0x47ceb6(0x2a2)]});}),_0x2b7b14[_0x441231(0x309)]?_0x2b7b14[_0x441231(0x309)](_0x28ab8b,_0x191a52):_0x28ab8b[_0x441231(0x1cd)]();}function _0x54161e(_0x2300eb,_0x195ce8){const _0x21b09a=_0x1edfa7;_0x2300eb[_0x21b09a(0x29c)]=_0x169a1b[_0x21b09a(0x21a)],_0x2300eb['_errorEmitted']=!0x0,_0x2300eb[_0x21b09a(0x2ee)](_0x21b09a(0x1c4),_0x195ce8),_0x2300eb[_0x21b09a(0x2b6)]();}function _0xc73db3(_0x17e197){const _0x478cb3=_0x1edfa7;return _0x17e197[_0x478cb3(0x250)]=_0x17e197[_0x478cb3(0x262)],_0x71dfbb['connect'](_0x17e197);}function _0x194803(_0x4b17c9){const _0x1cea3d=_0x1edfa7;return _0x4b17c9[_0x1cea3d(0x250)]=void 0x0,!_0x4b17c9[_0x1cea3d(0x2c2)]&&_0x4b17c9[_0x1cea3d(0x2c2)]!==''&&(_0x4b17c9[_0x1cea3d(0x2c2)]=_0x71dfbb[_0x1cea3d(0x2f1)](_0x4b17c9[_0x1cea3d(0x1b6)])?'':_0x4b17c9[_0x1cea3d(0x1b6)]),_0xf75bc9[_0x1cea3d(0x1e7)](_0x4b17c9);}function _0x4dd7f4(_0x71e998,_0x1526d6,_0xb69ff2){const _0x353f5c=_0x1edfa7;_0x71e998[_0x353f5c(0x29c)]=_0x169a1b[_0x353f5c(0x21a)];const _0x3afd96=new Error(_0xb69ff2);Error[_0x353f5c(0x288)](_0x3afd96,_0x4dd7f4),_0x1526d6[_0x353f5c(0x264)]?(_0x1526d6[_0x44d53c]=!0x0,_0x1526d6[_0x353f5c(0x351)](),_0x1526d6[_0x353f5c(0x342)]&&!_0x1526d6[_0x353f5c(0x342)]['destroyed']&&_0x1526d6[_0x353f5c(0x342)][_0x353f5c(0x28d)](),process['nextTick'](_0x54161e,_0x71e998,_0x3afd96)):(_0x1526d6[_0x353f5c(0x28d)](_0x3afd96),_0x1526d6[_0x353f5c(0x2a8)]('error',_0x71e998['emit'][_0x353f5c(0x211)](_0x71e998,'error')),_0x1526d6[_0x353f5c(0x2a8)]('close',_0x71e998[_0x353f5c(0x2b6)][_0x353f5c(0x211)](_0x71e998)));}function _0x16500b(_0xa9b5df,_0x2ff833,_0x1434ae){const _0x34207c=_0x1edfa7;if(_0x2ff833){const _0x51f55d=_0x1341c9(_0x2ff833)?_0x2ff833['size']:_0x40cc91(_0x2ff833)[_0x34207c(0x2d4)];_0xa9b5df[_0x34207c(0x1c7)]?_0xa9b5df[_0x34207c(0x214)][_0x34207c(0x315)]+=_0x51f55d:_0xa9b5df[_0x34207c(0x24d)]+=_0x51f55d;}if(_0x1434ae){const _0x271cbe=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xa9b5df[_0x34207c(0x201)]+'\x20('+_0x533a2f[_0xa9b5df['readyState']]+')');process[_0x34207c(0x277)](_0x1434ae,_0x271cbe);}}function _0x3b895c(_0x3039a,_0x150654){const _0x1ef059=_0x1edfa7,_0x47b7f6=this[_0x2d0926];_0x47b7f6[_0x1ef059(0x1e3)]=!0x0,_0x47b7f6[_0x1ef059(0x2fb)]=_0x150654,_0x47b7f6[_0x1ef059(0x1e0)]=_0x3039a,_0x47b7f6[_0x1ef059(0x1c7)][_0x2d0926]!==void 0x0&&(_0x47b7f6[_0x1ef059(0x1c7)][_0x1ef059(0x330)](_0x1ef059(0x33b),_0x10fa9d),process['nextTick'](_0x4457d8,_0x47b7f6[_0x1ef059(0x1c7)]),_0x3039a===0x3ed?_0x47b7f6[_0x1ef059(0x26e)]():_0x47b7f6[_0x1ef059(0x26e)](_0x3039a,_0x150654));}function _0x38118a(){const _0x23bd29=_0x1edfa7,_0x4eef6d=this[_0x2d0926];_0x4eef6d[_0x23bd29(0x1af)]||_0x4eef6d[_0x23bd29(0x1c7)][_0x23bd29(0x1dd)]();}function _0x17aeda(_0x393c15){const _0x5a2866=_0x1edfa7,_0x310187=this[_0x2d0926];_0x310187[_0x5a2866(0x1c7)][_0x2d0926]!==void 0x0&&(_0x310187[_0x5a2866(0x1c7)][_0x5a2866(0x330)]('data',_0x10fa9d),process[_0x5a2866(0x277)](_0x4457d8,_0x310187[_0x5a2866(0x1c7)]),_0x310187[_0x5a2866(0x26e)](_0x393c15[_0x36e375])),_0x310187[_0x5a2866(0x1fe)]||(_0x310187[_0x5a2866(0x1fe)]=!0x0,_0x310187[_0x5a2866(0x2ee)]('error',_0x393c15));}function _0x2941cc(){const _0x549dfa=_0x1edfa7;this[_0x2d0926][_0x549dfa(0x2b6)]();}function _0x11ff56(_0x301216,_0x55764b){const _0x7705b8=_0x1edfa7;this[_0x2d0926][_0x7705b8(0x2ee)](_0x7705b8(0x213),_0x301216,_0x55764b);}function _0x49fb15(_0x246aa1){const _0x18a321=_0x1edfa7,_0xec800=this[_0x2d0926];_0xec800['_autoPong']&&_0xec800[_0x18a321(0x1d9)](_0x246aa1,!this['_isServer'],_0x4728fb),_0xec800[_0x18a321(0x2ee)](_0x18a321(0x1eb),_0x246aa1);}function _0x5c8ebb(_0x3370e9){const _0x1612a0=_0x1edfa7;this[_0x2d0926]['emit'](_0x1612a0(0x1d9),_0x3370e9);}function _0x4457d8(_0x5517e0){const _0xf3c22f=_0x1edfa7;_0x5517e0[_0xf3c22f(0x1dd)]();}function _0x4e3b9(_0x4bccaa){const _0x41f290=_0x1edfa7,_0x360a1f=this[_0x2d0926];_0x360a1f['readyState']!==_0x169a1b[_0x41f290(0x260)]&&(_0x360a1f['readyState']===_0x169a1b[_0x41f290(0x1c0)]&&(_0x360a1f[_0x41f290(0x29c)]=_0x169a1b['CLOSING'],_0x57de29(_0x360a1f)),this[_0x41f290(0x1c7)][_0x41f290(0x1cd)](),_0x360a1f[_0x41f290(0x1fe)]||(_0x360a1f[_0x41f290(0x1fe)]=!0x0,_0x360a1f[_0x41f290(0x2ee)](_0x41f290(0x1c4),_0x4bccaa)));}function _0x57de29(_0x27fc95){const _0x59dcaa=_0x1edfa7;_0x27fc95[_0x59dcaa(0x2c4)]=setTimeout(_0x27fc95[_0x59dcaa(0x1c7)][_0x59dcaa(0x28d)][_0x59dcaa(0x211)](_0x27fc95[_0x59dcaa(0x1c7)]),_0x24db5b);}function _0x1a5b1d(){const _0x1ba458=_0x1edfa7,_0x29f3d6=this[_0x2d0926];this[_0x1ba458(0x330)](_0x1ba458(0x26e),_0x1a5b1d),this[_0x1ba458(0x330)](_0x1ba458(0x33b),_0x10fa9d),this['removeListener'](_0x1ba458(0x1cd),_0x272f7e),_0x29f3d6[_0x1ba458(0x29c)]=_0x169a1b[_0x1ba458(0x21a)];let _0x3e9180;!this[_0x1ba458(0x2ea)][_0x1ba458(0x2c5)]&&!_0x29f3d6[_0x1ba458(0x1e3)]&&!_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x1bb)]&&(_0x3e9180=_0x29f3d6[_0x1ba458(0x1c7)][_0x1ba458(0x2e1)]())!==null&&_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x2ec)](_0x3e9180),_0x29f3d6['_receiver'][_0x1ba458(0x1cd)](),this[_0x2d0926]=void 0x0,clearTimeout(_0x29f3d6[_0x1ba458(0x2c4)]),_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x306)]||_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x1bb)]?_0x29f3d6['emitClose']():(_0x29f3d6[_0x1ba458(0x28f)]['on']('error',_0x2941cc),_0x29f3d6[_0x1ba458(0x28f)]['on'](_0x1ba458(0x1f7),_0x2941cc));}function _0x10fa9d(_0x18ee59){const _0x3e636c=_0x1edfa7;this[_0x2d0926]['_receiver'][_0x3e636c(0x2ec)](_0x18ee59)||this[_0x3e636c(0x273)]();}function _0x272f7e(){const _0x5b38fa=_0x1edfa7,_0x1c494e=this[_0x2d0926];_0x1c494e[_0x5b38fa(0x29c)]=_0x169a1b[_0x5b38fa(0x21a)],_0x1c494e['_receiver'][_0x5b38fa(0x1cd)](),this[_0x5b38fa(0x1cd)]();}function _0x5c4531(){const _0x2c9c6b=_0x1edfa7,_0x4ca7d9=this[_0x2d0926];this[_0x2c9c6b(0x330)](_0x2c9c6b(0x1c4),_0x5c4531),this['on'](_0x2c9c6b(0x1c4),_0x4728fb),_0x4ca7d9&&(_0x4ca7d9['_readyState']=_0x169a1b[_0x2c9c6b(0x21a)],this[_0x2c9c6b(0x28d)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x57d527}=_0x1fd5aa;function _0x236442(_0x13c068){const _0x5e34c9=_0x1103;_0x13c068['emit'](_0x5e34c9(0x26e));}function _0x35dbac(){const _0x4c4eb6=_0x1103;!this[_0x4c4eb6(0x1fa)]&&this[_0x4c4eb6(0x246)][_0x4c4eb6(0x306)]&&this[_0x4c4eb6(0x28d)]();}function _0x19282c(_0x32b345){const _0x3a5f50=_0x1103;this['removeListener'](_0x3a5f50(0x1c4),_0x19282c),this[_0x3a5f50(0x28d)](),this[_0x3a5f50(0x2d0)]('error')===0x0&&this[_0x3a5f50(0x2ee)]('error',_0x32b345);}function _0x408817(_0x9fa73b,_0x3ef768){const _0xa6ca88=_0x1103;let _0x4a4f7c=!0x0;const _0x1840ed=new _0x57d527({..._0x3ef768,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x9fa73b['on'](_0xa6ca88(0x213),function(_0x119497,_0x1bb036){const _0x460095=_0xa6ca88,_0x9e6b87=!_0x1bb036&&_0x1840ed[_0x460095(0x2ea)][_0x460095(0x2cd)]?_0x119497[_0x460095(0x29d)]():_0x119497;_0x1840ed['push'](_0x9e6b87)||_0x9fa73b[_0x460095(0x273)]();}),_0x9fa73b['once'](_0xa6ca88(0x1c4),function(_0x1d069e){const _0x4a3caa=_0xa6ca88;_0x1840ed[_0x4a3caa(0x1fa)]||(_0x4a4f7c=!0x1,_0x1840ed[_0x4a3caa(0x28d)](_0x1d069e));}),_0x9fa73b[_0xa6ca88(0x2a8)](_0xa6ca88(0x26e),function(){const _0x374265=_0xa6ca88;_0x1840ed['destroyed']||_0x1840ed[_0x374265(0x2e4)](null);}),_0x1840ed[_0xa6ca88(0x220)]=function(_0x1c1018,_0x4285bf){const _0x1f5b2a=_0xa6ca88;if(_0x9fa73b[_0x1f5b2a(0x201)]===_0x9fa73b[_0x1f5b2a(0x260)]){_0x4285bf(_0x1c1018),process[_0x1f5b2a(0x277)](_0x236442,_0x1840ed);return;}let _0x46ff64=!0x1;_0x9fa73b[_0x1f5b2a(0x2a8)](_0x1f5b2a(0x1c4),function(_0x1dd794){_0x46ff64=!0x0,_0x4285bf(_0x1dd794);}),_0x9fa73b[_0x1f5b2a(0x2a8)](_0x1f5b2a(0x26e),function(){const _0x2aeeb1=_0x1f5b2a;_0x46ff64||_0x4285bf(_0x1c1018),process[_0x2aeeb1(0x277)](_0x236442,_0x1840ed);}),_0x4a4f7c&&_0x9fa73b[_0x1f5b2a(0x2d8)]();},_0x1840ed['_final']=function(_0x420ee6){const _0x52dbee=_0xa6ca88;if(_0x9fa73b[_0x52dbee(0x201)]===_0x9fa73b[_0x52dbee(0x29a)]){_0x9fa73b[_0x52dbee(0x2a8)](_0x52dbee(0x2ce),function(){const _0x2f1503=_0x52dbee;_0x1840ed[_0x2f1503(0x2e0)](_0x420ee6);});return;}_0x9fa73b[_0x52dbee(0x1c7)]!==null&&(_0x9fa73b[_0x52dbee(0x1c7)]['_writableState'][_0x52dbee(0x306)]?(_0x420ee6(),_0x1840ed['_readableState'][_0x52dbee(0x2c5)]&&_0x1840ed[_0x52dbee(0x28d)]()):(_0x9fa73b[_0x52dbee(0x1c7)][_0x52dbee(0x2a8)](_0x52dbee(0x1f7),function(){_0x420ee6();}),_0x9fa73b[_0x52dbee(0x26e)]()));},_0x1840ed['_read']=function(){const _0x6cb57f=_0xa6ca88;_0x9fa73b[_0x6cb57f(0x1af)]&&_0x9fa73b[_0x6cb57f(0x1dd)]();},_0x1840ed[_0xa6ca88(0x35e)]=function(_0x95a7ab,_0x45bd26,_0x1372db){const _0x131108=_0xa6ca88;if(_0x9fa73b[_0x131108(0x201)]===_0x9fa73b[_0x131108(0x29a)]){_0x9fa73b[_0x131108(0x2a8)](_0x131108(0x2ce),function(){_0x1840ed['_write'](_0x95a7ab,_0x45bd26,_0x1372db);});return;}_0x9fa73b[_0x131108(0x2cb)](_0x95a7ab,_0x1372db);},_0x1840ed['on'](_0xa6ca88(0x1cd),_0x35dbac),_0x1840ed['on']('error',_0x19282c),_0x1840ed;}return Oe=_0x408817,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x2f027b}=ie();function _0x5ce716(_0x515143){const _0x490d95=_0x1103,_0x3948b6=new Set();let _0x52d9d8=-0x1,_0x51c42a=-0x1,_0x26d1b7=0x0;for(_0x26d1b7;_0x26d1b7<_0x515143[_0x490d95(0x2d4)];_0x26d1b7++){const _0x1d307e=_0x515143[_0x490d95(0x354)](_0x26d1b7);if(_0x51c42a===-0x1&&_0x2f027b[_0x1d307e]===0x1)_0x52d9d8===-0x1&&(_0x52d9d8=_0x26d1b7);else{if(_0x26d1b7!==0x0&&(_0x1d307e===0x20||_0x1d307e===0x9))_0x51c42a===-0x1&&_0x52d9d8!==-0x1&&(_0x51c42a=_0x26d1b7);else{if(_0x1d307e===0x2c){if(_0x52d9d8===-0x1)throw new SyntaxError(_0x490d95(0x302)+_0x26d1b7);_0x51c42a===-0x1&&(_0x51c42a=_0x26d1b7);const _0x8bc224=_0x515143['slice'](_0x52d9d8,_0x51c42a);if(_0x3948b6[_0x490d95(0x345)](_0x8bc224))throw new SyntaxError(_0x490d95(0x2d3)+_0x8bc224+_0x490d95(0x1b1));_0x3948b6['add'](_0x8bc224),_0x52d9d8=_0x51c42a=-0x1;}else throw new SyntaxError(_0x490d95(0x302)+_0x26d1b7);}}}if(_0x52d9d8===-0x1||_0x51c42a!==-0x1)throw new SyntaxError(_0x490d95(0x23e));const _0x1985a2=_0x515143[_0x490d95(0x2f8)](_0x52d9d8,_0x26d1b7);if(_0x3948b6['has'](_0x1985a2))throw new SyntaxError(_0x490d95(0x2d3)+_0x1985a2+_0x490d95(0x1b1));return _0x3948b6[_0x490d95(0x271)](_0x1985a2),_0x3948b6;}return Ce={'parse':_0x5ce716},Ce;}var Te,it;function Qt(){const _0x2d8765=_0x2e07f2;if(it)return Te;it=0x1;const _0xbd8107=_0xfa26c6,_0x1b6e02=_0x43bc88,{Duplex:_0x1af18f}=_0x1fd5aa,{createHash:_0x156677}=_0x449068,_0x5e71f2=dt(),_0x5c1d6c=ce(),_0x235747=Zt(),_0x528358=Be(),{GUID:_0x527301,kWebSocket:_0x1d3cc5}=V(),_0x8f4d4a=/^[+/0-9A-Za-z]{22}==$/,_0xc2f4be=0x0,_0x1af45a=0x1,_0x52d149=0x2;class _0x1428da extends _0xbd8107{constructor(_0x45f6bc,_0x44a778){const _0x324682=_0x1103;if(super(),_0x45f6bc={'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':_0x528358,..._0x45f6bc},_0x45f6bc[_0x324682(0x20d)]==null&&!_0x45f6bc[_0x324682(0x1f8)]&&!_0x45f6bc[_0x324682(0x35b)]||_0x45f6bc['port']!=null&&(_0x45f6bc[_0x324682(0x1f8)]||_0x45f6bc[_0x324682(0x35b)])||_0x45f6bc['server']&&_0x45f6bc[_0x324682(0x35b)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x45f6bc[_0x324682(0x20d)]!=null?(this[_0x324682(0x247)]=_0x1b6e02[_0x324682(0x1e4)]((_0x411caa,_0x206bc9)=>{const _0x3fb8f4=_0x324682,_0x2a6213=_0x1b6e02[_0x3fb8f4(0x34c)][0x1aa];_0x206bc9[_0x3fb8f4(0x323)](0x1aa,{'Content-Length':_0x2a6213[_0x3fb8f4(0x2d4)],'Content-Type':_0x3fb8f4(0x218)}),_0x206bc9[_0x3fb8f4(0x1cd)](_0x2a6213);}),this[_0x324682(0x247)][_0x324682(0x24c)](_0x45f6bc[_0x324682(0x20d)],_0x45f6bc[_0x324682(0x1b6)],_0x45f6bc['backlog'],_0x44a778)):_0x45f6bc[_0x324682(0x1f8)]&&(this[_0x324682(0x247)]=_0x45f6bc[_0x324682(0x1f8)]),this['_server']){const _0x21c4d0=this['emit'][_0x324682(0x211)](this,_0x324682(0x243));this[_0x324682(0x2ae)]=_0x3e35a3(this['_server'],{'listening':this[_0x324682(0x2ee)]['bind'](this,_0x324682(0x2db)),'error':this[_0x324682(0x2ee)][_0x324682(0x211)](this,_0x324682(0x1c4)),'upgrade':(_0x16e469,_0x264927,_0x587a96)=>{const _0x45d22c=_0x324682;this[_0x45d22c(0x237)](_0x16e469,_0x264927,_0x587a96,_0x21c4d0);}});}_0x45f6bc['perMessageDeflate']===!0x0&&(_0x45f6bc[_0x324682(0x2ba)]={}),_0x45f6bc[_0x324682(0x1e8)]&&(this['clients']=new Set(),this[_0x324682(0x31e)]=!0x1),this[_0x324682(0x31b)]=_0x45f6bc,this[_0x324682(0x2aa)]=_0xc2f4be;}[_0x2d8765(0x2f2)](){const _0x3402b4=_0x2d8765;if(this['options'][_0x3402b4(0x35b)])throw new Error(_0x3402b4(0x1cf));return this[_0x3402b4(0x247)]?this[_0x3402b4(0x247)][_0x3402b4(0x2f2)]():null;}[_0x2d8765(0x26e)](_0x5c85eb){const _0x4b3e2b=_0x2d8765;if(this[_0x4b3e2b(0x2aa)]===_0x52d149){_0x5c85eb&&this[_0x4b3e2b(0x2a8)](_0x4b3e2b(0x26e),()=>{const _0x23dd77=_0x4b3e2b;_0x5c85eb(new Error(_0x23dd77(0x348)));}),process[_0x4b3e2b(0x277)](_0x3bc45e,this);return;}if(_0x5c85eb&&this['once'](_0x4b3e2b(0x26e),_0x5c85eb),this[_0x4b3e2b(0x2aa)]!==_0x1af45a){if(this[_0x4b3e2b(0x2aa)]=_0x1af45a,this[_0x4b3e2b(0x31b)][_0x4b3e2b(0x35b)]||this['options'][_0x4b3e2b(0x1f8)])this[_0x4b3e2b(0x247)]&&(this[_0x4b3e2b(0x2ae)](),this[_0x4b3e2b(0x2ae)]=this['_server']=null),this[_0x4b3e2b(0x229)]?this[_0x4b3e2b(0x229)]['size']?this[_0x4b3e2b(0x31e)]=!0x0:process[_0x4b3e2b(0x277)](_0x3bc45e,this):process[_0x4b3e2b(0x277)](_0x3bc45e,this);else{const _0xfe584d=this[_0x4b3e2b(0x247)];this[_0x4b3e2b(0x2ae)](),this['_removeListeners']=this['_server']=null,_0xfe584d[_0x4b3e2b(0x26e)](()=>{_0x3bc45e(this);});}}}[_0x2d8765(0x35d)](_0x41816a){const _0x4650ee=_0x2d8765;if(this[_0x4650ee(0x31b)]['path']){const _0x238750=_0x41816a['url']['indexOf']('?');if((_0x238750!==-0x1?_0x41816a['url'][_0x4650ee(0x2f8)](0x0,_0x238750):_0x41816a[_0x4650ee(0x2b2)])!==this['options'][_0x4650ee(0x250)])return!0x1;}return!0x0;}['handleUpgrade'](_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b){const _0x476380=_0x2d8765;_0x4fdac5['on'](_0x476380(0x1c4),_0x3eb102);const _0xbae69=_0x45d53f['headers'][_0x476380(0x23f)],_0x1dfbbc=_0x45d53f['headers']['upgrade'],_0x2f43fb=+_0x45d53f[_0x476380(0x1e2)][_0x476380(0x1c9)];if(_0x45d53f[_0x476380(0x221)]!==_0x476380(0x248)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x195,_0x476380(0x355));return;}if(_0x1dfbbc===void 0x0||_0x1dfbbc[_0x476380(0x2f7)]()!==_0x476380(0x242)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x337));return;}if(_0xbae69===void 0x0||!_0x8f4d4a[_0x476380(0x232)](_0xbae69)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2f43fb!==0xd&&_0x2f43fb!==0x8){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x314),{'Sec-WebSocket-Version':_0x476380(0x2e8)});return;}if(!this[_0x476380(0x35d)](_0x45d53f)){_0x145723(_0x4fdac5,0x190);return;}const _0x272529=_0x45d53f[_0x476380(0x1e2)][_0x476380(0x1bd)];let _0x865408=new Set();if(_0x272529!==void 0x0)try{_0x865408=_0x235747[_0x476380(0x30c)](_0x272529);}catch{_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xaf82b2=_0x45d53f[_0x476380(0x1e2)][_0x476380(0x2d5)],_0x318c73={};if(this[_0x476380(0x31b)]['perMessageDeflate']&&_0xaf82b2!==void 0x0){const _0x1bff79=new _0x5c1d6c(this['options'][_0x476380(0x2ba)],!0x0,this[_0x476380(0x31b)]['maxPayload']);try{const _0x2f2b0b=_0x5e71f2[_0x476380(0x30c)](_0xaf82b2);_0x2f2b0b[_0x5c1d6c[_0x476380(0x305)]]&&(_0x1bff79['accept'](_0x2f2b0b[_0x5c1d6c[_0x476380(0x305)]]),_0x318c73[_0x5c1d6c[_0x476380(0x305)]]=_0x1bff79);}catch{_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x2bb));return;}}if(this[_0x476380(0x31b)][_0x476380(0x2b0)]){const _0x5adb3b={'origin':_0x45d53f[_0x476380(0x1e2)][''+(_0x2f43fb===0x8?_0x476380(0x269):_0x476380(0x1b8))],'secure':!!(_0x45d53f[_0x476380(0x342)][_0x476380(0x34e)]||_0x45d53f[_0x476380(0x342)][_0x476380(0x1b4)]),'req':_0x45d53f};if(this['options'][_0x476380(0x2b0)][_0x476380(0x2d4)]===0x2){this[_0x476380(0x31b)][_0x476380(0x2b0)](_0x5adb3b,(_0x297959,_0x2fcaf1,_0x54f577,_0x2c2947)=>{const _0x17dc87=_0x476380;if(!_0x297959)return _0x145723(_0x4fdac5,_0x2fcaf1||0x191,_0x54f577,_0x2c2947);this[_0x17dc87(0x2b3)](_0x318c73,_0xbae69,_0x865408,_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b);});return;}if(!this[_0x476380(0x31b)][_0x476380(0x2b0)](_0x5adb3b))return _0x145723(_0x4fdac5,0x191);}this[_0x476380(0x2b3)](_0x318c73,_0xbae69,_0x865408,_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b);}[_0x2d8765(0x2b3)](_0x5b3b61,_0x4c1a81,_0x12b9ba,_0x320a00,_0x2a5620,_0x4bcd0b,_0x720278){const _0x9f8db1=_0x2d8765;if(!_0x2a5620[_0x9f8db1(0x1de)]||!_0x2a5620[_0x9f8db1(0x28b)])return _0x2a5620[_0x9f8db1(0x28d)]();if(_0x2a5620[_0x1d3cc5])throw new Error(_0x9f8db1(0x274));if(this['_state']>_0xc2f4be)return _0x145723(_0x2a5620,0x1f7);const _0x40362b=[_0x9f8db1(0x2b8),_0x9f8db1(0x2cf),_0x9f8db1(0x252),'Sec-WebSocket-Accept:\x20'+_0x156677('sha1')['update'](_0x4c1a81+_0x527301)[_0x9f8db1(0x1f5)](_0x9f8db1(0x1b2))],_0x1088e0=new this[(_0x9f8db1(0x31b))][(_0x9f8db1(0x263))](null,void 0x0,this[_0x9f8db1(0x31b)]);if(_0x12b9ba['size']){const _0x19b3a9=this[_0x9f8db1(0x31b)][_0x9f8db1(0x208)]?this[_0x9f8db1(0x31b)][_0x9f8db1(0x208)](_0x12b9ba,_0x320a00):_0x12b9ba[_0x9f8db1(0x268)]()['next']()[_0x9f8db1(0x265)];_0x19b3a9&&(_0x40362b['push'](_0x9f8db1(0x308)+_0x19b3a9),_0x1088e0[_0x9f8db1(0x1b7)]=_0x19b3a9);}if(_0x5b3b61[_0x5c1d6c[_0x9f8db1(0x305)]]){const _0x55522f=_0x5b3b61[_0x5c1d6c[_0x9f8db1(0x305)]][_0x9f8db1(0x224)],_0xa7f295=_0x5e71f2['format']({[_0x5c1d6c['extensionName']]:[_0x55522f]});_0x40362b[_0x9f8db1(0x2e4)](_0x9f8db1(0x225)+_0xa7f295),_0x1088e0[_0x9f8db1(0x2c6)]=_0x5b3b61;}this[_0x9f8db1(0x2ee)](_0x9f8db1(0x1e2),_0x40362b,_0x320a00),_0x2a5620['write'](_0x40362b[_0x9f8db1(0x1b0)]('\x0d\x0a')[_0x9f8db1(0x299)]('\x0d\x0a')),_0x2a5620[_0x9f8db1(0x330)](_0x9f8db1(0x1c4),_0x3eb102),_0x1088e0[_0x9f8db1(0x326)](_0x2a5620,_0x4bcd0b,{'allowSynchronousEvents':this['options'][_0x9f8db1(0x35a)],'maxPayload':this[_0x9f8db1(0x31b)][_0x9f8db1(0x29f)],'skipUTF8Validation':this[_0x9f8db1(0x31b)][_0x9f8db1(0x2a2)]}),this[_0x9f8db1(0x229)]&&(this[_0x9f8db1(0x229)][_0x9f8db1(0x271)](_0x1088e0),_0x1088e0['on'](_0x9f8db1(0x26e),()=>{const _0x599f21=_0x9f8db1;this[_0x599f21(0x229)][_0x599f21(0x1db)](_0x1088e0),this[_0x599f21(0x31e)]&&!this[_0x599f21(0x229)][_0x599f21(0x1b5)]&&process[_0x599f21(0x277)](_0x3bc45e,this);})),_0x720278(_0x1088e0,_0x320a00);}}Te=_0x1428da;function _0x3e35a3(_0x42c2f7,_0x2dba31){const _0x57eed9=_0x2d8765;for(const _0x52bed6 of Object[_0x57eed9(0x22d)](_0x2dba31))_0x42c2f7['on'](_0x52bed6,_0x2dba31[_0x52bed6]);return function(){const _0x445478=_0x57eed9;for(const _0x576066 of Object[_0x445478(0x22d)](_0x2dba31))_0x42c2f7[_0x445478(0x330)](_0x576066,_0x2dba31[_0x576066]);};}function _0x3bc45e(_0x27c7e8){const _0x291567=_0x2d8765;_0x27c7e8[_0x291567(0x2aa)]=_0x52d149,_0x27c7e8['emit'](_0x291567(0x26e));}function _0x3eb102(){const _0x3502b0=_0x2d8765;this[_0x3502b0(0x28d)]();}function _0x145723(_0xa14356,_0x257ec3,_0x24ff49,_0x4166b7){const _0x5227e8=_0x2d8765;_0x24ff49=_0x24ff49||_0x1b6e02['STATUS_CODES'][_0x257ec3],_0x4166b7={'Connection':_0x5227e8(0x26e),'Content-Type':_0x5227e8(0x31a),'Content-Length':Buffer[_0x5227e8(0x32c)](_0x24ff49),..._0x4166b7},_0xa14356['once'](_0x5227e8(0x1f7),_0xa14356[_0x5227e8(0x28d)]),_0xa14356[_0x5227e8(0x1cd)](_0x5227e8(0x2a5)+_0x257ec3+'\x20'+_0x1b6e02['STATUS_CODES'][_0x257ec3]+'\x0d\x0a'+Object[_0x5227e8(0x22d)](_0x4166b7)[_0x5227e8(0x27b)](_0xc8aeef=>_0xc8aeef+':\x20'+_0x4166b7[_0xc8aeef])[_0x5227e8(0x299)]('\x0d\x0a')+_0x5227e8(0x2fa)+_0x24ff49);}function _0x14b313(_0x231119,_0x5d3090,_0x524254,_0x40ec46,_0x5e5b70,_0x69d41f){const _0x1c60c5=_0x2d8765;if(_0x231119[_0x1c60c5(0x2d0)]('wsClientError')){const _0xfb2a51=new Error(_0x5e5b70);Error['captureStackTrace'](_0xfb2a51,_0x14b313),_0x231119[_0x1c60c5(0x2ee)]('wsClientError',_0xfb2a51,_0x524254,_0x5d3090);}else _0x145723(_0x524254,_0x40ec46,_0x5e5b70,_0x69d41f);}return Te;}Qt();var Jt=Object[_0x2e07f2(0x2fc)],er=(_0x374ec1,_0x5575f7,_0x4d288b,_0x2be337)=>{const _0x5bffff=_0x2e07f2;for(var _0x48f935=_0x2be337>0x1?void 0x0:_0x2be337?Jt(_0x5575f7,_0x4d288b):_0x5575f7,_0x483d28=_0x374ec1[_0x5bffff(0x2d4)]-0x1,_0x4882b5;_0x483d28>=0x0;_0x483d28--)(_0x4882b5=_0x374ec1[_0x483d28])&&(_0x48f935=_0x4882b5(_0x48f935)||_0x48f935);return _0x48f935;},tr=(_0x40be31,_0x46ca21)=>(_0xdee19,_0x3a88d0)=>_0x46ca21(_0xdee19,_0x3a88d0,_0x40be31);let ke=class extends _0x39f382{constructor(_0x617cec){const _0x5eb7a7=_0x2e07f2;super(),this[_0x5eb7a7(0x20c)]=_0x617cec;}[_0x2e07f2(0x333)](_0x72aa4e){const _0x3a33ba=_0x2e07f2;var _0x4c3329;const _0x5b86bc=((_0x4c3329=this[_0x3a33ba(0x20c)]['getConfig'](_0x491e33))==null?void 0x0:_0x4c3329[_0x3a33ba(0x2c9)])||{};try{const _0x7e857c=new Xt(_0x72aa4e,{'headers':{..._0x5b86bc}}),_0x566461=new _0xc40d42();return{'URL':_0x72aa4e,'close':(_0x17509f,_0x15b671)=>{const _0x2b49a8=_0x3a33ba;_0x7e857c[_0x2b49a8(0x26e)](_0x17509f,_0x15b671),_0x566461[_0x2b49a8(0x21f)]();},'send':_0x4f59f5=>{const _0x2e7992=_0x3a33ba;_0x7e857c[_0x2e7992(0x2cb)](_0x4f59f5);},'open$':new _0x2860cc(_0x155a03=>{const _0x216dd0=_0x3a33ba,_0x5e3324=_0x81ea2=>_0x155a03['next'](_0x81ea2);_0x7e857c[_0x216dd0(0x2f9)](_0x216dd0(0x2ce),_0x5e3324),_0x566461[_0x216dd0(0x271)](_0x586f45(()=>_0x7e857c[_0x216dd0(0x283)](_0x216dd0(0x2ce),_0x5e3324)));})[_0x3a33ba(0x334)](_0x3b5c28()),'close$':new _0x2860cc(_0x3add1e=>{const _0x58309e=_0x3a33ba,_0x1520ce=_0xbf9606=>_0x3add1e['next'](_0xbf9606);_0x7e857c[_0x58309e(0x2f9)]('close',_0x1520ce),_0x566461['add'](_0x586f45(()=>_0x7e857c[_0x58309e(0x283)]('close',_0x1520ce)));})[_0x3a33ba(0x334)](_0x3b5c28()),'error$':new _0x2860cc(_0x46a6c6=>{const _0x3725b5=_0x3a33ba,_0x16df6f=_0x27131d=>_0x46a6c6[_0x3725b5(0x2ab)](_0x27131d);_0x7e857c[_0x3725b5(0x2f9)](_0x3725b5(0x1c4),_0x16df6f),_0x566461[_0x3725b5(0x271)](_0x586f45(()=>_0x7e857c[_0x3725b5(0x283)](_0x3725b5(0x1c4),_0x16df6f)));})[_0x3a33ba(0x334)](_0x3b5c28()),'message$':new _0x2860cc(_0x2d8f2d=>{const _0x360d0b=_0x3a33ba,_0x3ec9bf=_0x362d9f=>_0x2d8f2d[_0x360d0b(0x2ab)](_0x362d9f);_0x7e857c['addEventListener']('message',_0x3ec9bf),_0x566461[_0x360d0b(0x271)](_0x586f45(()=>_0x7e857c['removeEventListener']('message',_0x3ec9bf)));})[_0x3a33ba(0x334)](_0x3b5c28())};}catch(_0x50bb61){return console[_0x3a33ba(0x1c4)](_0x50bb61),null;}}};ke=er([tr(0x0,_0x5b9c5b)],ke);var rr=Object['defineProperty'],sr=Object[_0x2e07f2(0x2fc)],ir=(_0x99e7da,_0x38873c,_0x3476bc)=>_0x38873c in _0x99e7da?rr(_0x99e7da,_0x38873c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3476bc}):_0x99e7da[_0x38873c]=_0x3476bc,nr=(_0x34969c,_0x594c80,_0x15804a,_0x7abe42)=>{const _0x45389a=_0x2e07f2;for(var _0x249da7=_0x7abe42>0x1?void 0x0:_0x7abe42?sr(_0x594c80,_0x15804a):_0x594c80,_0x4d607c=_0x34969c[_0x45389a(0x2d4)]-0x1,_0x5b2e0d;_0x4d607c>=0x0;_0x4d607c--)(_0x5b2e0d=_0x34969c[_0x4d607c])&&(_0x249da7=_0x5b2e0d(_0x249da7)||_0x249da7);return _0x249da7;},nt=(_0xe9aaa2,_0x5c7771)=>(_0xcc4788,_0x17e9c8)=>_0x5c7771(_0xcc4788,_0x17e9c8,_0xe9aaa2),or=(_0x58b155,_0x4dda9a,_0x2dacc1)=>ir(_0x58b155,_0x4dda9a+'',_0x2dacc1);let Ne=class extends _0x225e75{constructor(_0x44ee14=Ft,_0x27abcc,_0x25406e){const _0xcedfe4=_0x2e07f2;super(),this[_0xcedfe4(0x20c)]=_0x27abcc,this['_injector']=_0x25406e,this['_configService'][_0xcedfe4(0x259)]($t,_0x44ee14);}[_0x2e07f2(0x1cb)](){const _0xd6986b=_0x2e07f2;this[_0xd6986b(0x22b)]();}[_0x2e07f2(0x22b)](){const _0x4eaeba=_0x2e07f2;_0x4f0f3d(this[_0x4eaeba(0x203)],[[_0x52c648,{'useClass':ke}]]);}};or(Ne,_0x2e07f2(0x278),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Ne=nr([_0x56c4e0(_0x129a19),nt(0x1,_0x5b9c5b),nt(0x2,_0x434f05(_0x8d32e6))],Ne);var ar=Object[_0x2e07f2(0x2fc)],lr=(_0x3def59,_0x4e9513,_0x540941,_0x100a2b)=>{for(var _0x382b46=_0x100a2b>0x1?void 0x0:_0x100a2b?ar(_0x4e9513,_0x540941):_0x4e9513,_0x59d16b=_0x3def59['length']-0x1,_0x26e82c;_0x59d16b>=0x0;_0x59d16b--)(_0x26e82c=_0x3def59[_0x59d16b])&&(_0x382b46=_0x26e82c(_0x382b46)||_0x382b46);return _0x382b46;},re=(_0x58c86d,_0x579a65)=>(_0x3c9f14,_0x3b5684)=>_0x579a65(_0x3c9f14,_0x3b5684,_0x58c86d);function _0x1103(_0x5626c8,_0x1e9a6c){_0x5626c8=_0x5626c8-0x1ae;const _0x2b6f02=_0x2b6f();let _0x1103b9=_0x2b6f02[_0x5626c8];return _0x1103b9;}let ot=class extends _0x2e7c0a{constructor(_0x3e86fc,_0x420eaf,_0x1a856d,_0x51b122,_0x3f87d1){const _0x1d67a7=_0x2e07f2;super(_0x3e86fc,_0x420eaf,_0x1a856d,_0x51b122,_0x3f87d1);const _0x4b2356=this[_0x1d67a7(0x20c)][_0x1d67a7(0x2b9)](_0x491e33);this[_0x1d67a7(0x338)][_0x1d67a7(0x28e)]({'interceptor':(_0x190889,_0x5c4f90)=>{const _0x17adc7=_0x1d67a7;var _0x76dd6b;const _0x5f5370=_0x190889[_0x17adc7(0x1e2)];return(_0x76dd6b=_0x4b2356==null?void 0x0:_0x4b2356['customHeaders'])!=null&&_0x76dd6b[_0x17adc7(0x1fd)]&&_0x5f5370['set'](_0x17adc7(0x346),_0x4b2356[_0x17adc7(0x2c9)][_0x17adc7(0x1fd)]),_0x5c4f90(_0x190889);}});}async[_0x2e07f2(0x333)](_0x5d78d5){const _0xabfa5b=_0x2e07f2;return this[_0xabfa5b(0x311)](_0x5d78d5);}};ot=lr([re(0x0,_0x434f05(_0x8d32e6)),re(0x1,_0x434f05(_0x2ff20f)),re(0x2,_0x5b9c5b),re(0x3,_0x356720),re(0x4,_0x55ff2a)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
|