@univerjs-pro/collaboration-client-node 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256
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 +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b728b=_0x4100;(function(_0x48533a,_0x2a426e){const _0x4d8a5d=_0x4100,_0x17da10=_0x48533a();while(!![]){try{const _0x28ad28=parseInt(_0x4d8a5d(0x195))/0x1*(parseInt(_0x4d8a5d(0x1ce))/0x2)+parseInt(_0x4d8a5d(0x166))/0x3*(-parseInt(_0x4d8a5d(0x22a))/0x4)+parseInt(_0x4d8a5d(0x189))/0x5+-parseInt(_0x4d8a5d(0x213))/0x6+-parseInt(_0x4d8a5d(0x176))/0x7+parseInt(_0x4d8a5d(0x196))/0x8*(-parseInt(_0x4d8a5d(0x2b5))/0x9)+-parseInt(_0x4d8a5d(0x143))/0xa*(-parseInt(_0x4d8a5d(0x21b))/0xb);if(_0x28ad28===_0x2a426e)break;else _0x17da10['push'](_0x17da10['shift']());}catch(_0xd01fb5){_0x17da10['push'](_0x17da10['shift']());}}}(_0x3715,0x8ef4a));import{UniverCollaborationClientPlugin as _0xa8514a,CollaborationSocketService as _0x1b1864}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4b1b9e,DisposableCollection as _0x1d42ea,toDisposable as _0x6542e1,IConfigService as _0x384188,DependentOn as _0x215725,ILogService as _0x221c24,Inject as _0x2c5d81,Injector as _0x2a4fdc,Plugin as _0x310afa,registerDependencies as _0x44617f}from'@univerjs/core';import{ISocketService as _0x396340,HTTPService as _0x1a9112}from'@univerjs/network';import{Observable as _0x3bf40d,share as _0x494739}from'rxjs';import _0x26b4d0 from'events';import _0x1e9eb from'https';import _0x480143 from'http';import _0x3e7207 from'net';import _0x22978d from'tls';import _0xa82a62 from'crypto';import _0x423274 from'stream';import _0x468647 from'url';import _0x46dace from'zlib';import _0x52885b from'buffer';import{ISnapshotServerService as _0x51a01f}from'@univerjs-pro/collaboration';const Be=_0x5b728b(0x1ef),Ft={'customHeaders':{}};function Wt(_0x2f2567){const _0x5a0a84=_0x5b728b;return _0x2f2567&&_0x2f2567[_0x5a0a84(0x2dc)]&&Object['prototype'][_0x5a0a84(0x1a7)][_0x5a0a84(0x262)](_0x2f2567,_0x5a0a84(0x2b9))?_0x2f2567[_0x5a0a84(0x2b9)]:_0x2f2567;}function ut(_0x1df971){const _0x78eb02=_0x5b728b;if(Object['prototype'][_0x78eb02(0x1a7)][_0x78eb02(0x262)](_0x1df971,'__esModule'))return _0x1df971;var _0x1443bb=_0x1df971[_0x78eb02(0x2b9)];if(typeof _0x1443bb==_0x78eb02(0x1b5)){var _0x7a7412=function _0x1c38b6(){const _0x483a38=_0x78eb02;var _0x1ada5d=!0x1;try{_0x1ada5d=this instanceof _0x1c38b6;}catch{}return _0x1ada5d?Reflect[_0x483a38(0x202)](_0x1443bb,arguments,this['constructor']):_0x1443bb[_0x483a38(0x246)](this,arguments);};_0x7a7412[_0x78eb02(0x199)]=_0x1443bb[_0x78eb02(0x199)];}else _0x7a7412={};return Object[_0x78eb02(0x218)](_0x7a7412,_0x78eb02(0x2dc),{'value':!0x0}),Object[_0x78eb02(0x1bb)](_0x1df971)[_0x78eb02(0x1d8)](function(_0x2b20ec){const _0x411844=_0x78eb02;var _0x477ad7=Object[_0x411844(0x298)](_0x1df971,_0x2b20ec);Object[_0x411844(0x218)](_0x7a7412,_0x2b20ec,_0x477ad7[_0x411844(0x1af)]?_0x477ad7:{'enumerable':!0x0,'get':function(){return _0x1df971[_0x2b20ec];}});}),_0x7a7412;}function _0x3715(){const _0x1a5e47=['toLowerCase','charCodeAt','client','The\x20server\x20is\x20not\x20running','enqueue','serverMaxWindowBits','kAborted','port','digest','sec-websocket-extensions','address','_injector','drain','_bufferedAmount','callback','setSocket','_isServer','HTTP/1.1\x20101\x20Switching\x20Protocols','createSocket','finished','__esModule','serverNoContextTakeover','setHeader','\x22:\x20','completeUpgrade','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','url','onerror','value','handleUpgrade','buffer','byteLength','_errorEmitted','Maximum\x20redirects\x20exceeded','toStringTag','nodebuffer','resume','createConnection','then','ws+unix:','cork','Invalid\x20URL:\x20','exports','kMessage','70MBGldA','conclude','writeUIntBE','removeListener','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x20','stream','dataMessage','method','defaultPort','Unexpected\x20end\x20of\x20input','errorEmitted','_deflate','client_max_window_bits','startLoop','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','GET','isPaused','invalid\x20opcode\x200','includes','target','replace','code','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','getBlobData','Unexpected\x20character\x20at\x20index\x20','Parameter\x20\x22','unexpected-response','_registerDependencies','headers','_writableState','isInteger','zlibDeflateOptions','kDone','1493835lmydUF','WS_NO_UTF_8_VALIDATE','_server','extensionName','isIP','onmessage','request','text/html','Connection:\x20Upgrade','WS_ERR_INVALID_UTF8','13,\x208','_max_window_bits','destroyed','_originalHostOrSocketPath','getPayloadLength64','arraybuffer','7977865FuuOkb','_loop','pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','create','server_no_context_takeover','readUInt32BE','cookie','open','_closeCode','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_firstFragment','indexOf','sec-websocket-key','fragments','has','autoPong','data','pathname','989995KvEJSC','_totalPayloadLength','options','getPayloadLength16','_url','byteOffset','clientTracking','concurrencyLimit','servername','invalid\x20payload\x20length\x20','maxRedirects','_configService','1153009SpWNUg','3328UhvLWy','_opcode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','prototype','objectMode','Sec-WebSocket-Origin','removeAllListeners','getInfo','invalid\x20opcode\x20','Invalid\x20HTTP\x20method','redirect','_extensions','write','test','concurrency','getData','kRun','hasOwnProperty','_decompress','handleProtocols','registerHTTPInterceptor','split','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','listeners','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','get','socketPath','_closeFrameReceived','clientNoContextTakeover','_shouldEmitClose','_payloadLength','function','push','sha1','nextTick','rsv1','binary','keys','Sec-WebSocket-Protocol','pow','entries','_messageLength','CLOSING','_receiver','total-length','_buffers','compress','flush','kType','freeze','threshold','path','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','base64','WS_ERR_EXPECTED_FIN','_state','2lOZbZM','_closeFrameSent','createInflateRaw','clientMaxWindowBits','length','send','isValidUTF8','OPEN','join','statusCode','forEach','binaryType','WS_NO_BUFFER_UTIL','password','dispatch','invalid\x20status\x20code\x20','allocUnsafe','_sender','once','createError','HTTP/1.1\x20','MASK\x20must\x20be\x20clear','readOnly','socket','_compress','handshakeTimeout','skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','bind','end','_fragmented','_allowSynchronousEvents','acceptAsClient','collaboration-client-node.config','destroy','origin','unshift','protocolVersion','next','endEmitted','type','_req','websocket','kIsForOnEventAttribute','clients','update','_skipUTF8Validation','opcode','ws:','auth','Sec-WebSocket-Protocol:\x20','alloc','construct','backlog','size','slice','server','Module','\x20(supported\x20versions:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','species','unmask','WS_ERR_INVALID_OPCODE','pong','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','find','_bufferedBytes','setTimeout','Z_SYNC_FLUSH','3608490IazLef','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-origin','_originalIpc','onStarting','defineProperty','ping','protocol','3274645rkEfvS','The\x20\x22','CONNECTING','_fragments','setNoDelay','allowSynchronousEvents','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','username','_httpService','WebSocket','STATUS_CODES','RSV1\x20must\x20be\x20clear','kError','sendFrame','env','4SvVhDI','buffers','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_removeListeners','accept','kReason','CLOSED','abort','_no_context_takeover','followRedirects','frame','noServer','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wsClientError','\x22\x20subprotocol\x20is\x20duplicated','error','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','href','Sec-WebSocket-Accept:\x20','reason','cleanup','sec-websocket-protocol','Origin','client_no_context_takeover','_autoPong','customHeaders','createDeflateRaw','pipe','apply','message','Invalid\x20Sec-WebSocket-Accept\x20header','mask','_closeTimer','text/plain','_redirects','_mask','_masked','normalizeParams','from','hash','bufferedAmount','shift','WS_ERR_UNEXPECTED_RSV_1','_options','sec-websocket-accept','server_max_window_bits','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','readyState','authorization','read','Max\x20payload\x20size\x20exceeded','listen','_generateMask','host','emit','https:','call','haveLength','_binaryType','_inflate','isArray','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','wasClean','kData','parse','uncork','removeEventListener','response','reset','acceptAsServer','add','consume','Invalid\x20Upgrade\x20header','_errored','string','getConfig','WS_ERR_UNEXPECTED_RSV_2_3','_socket','onclose','fin','wss:','dequeue','timeout','values','upgrade','invalid\x20UTF-8\x20sequence','\x0d\x0a\x0d\x0a','startsWith','emitClose','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','blob','finishRequest','_queue','controlMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_closeMessage','object','_doCreateSocket','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','catch','_maxPayload','shouldHandle','maxPayload','File','kByteLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','decompress','The\x20URL\x20contains\x20a\x20fragment\x20identifier','captureStackTrace','getOwnPropertyDescriptor','Invalid\x20Sec-WebSocket-Extensions\x20header','map','_read','_threshold','getMask','Invalid\x20Sec-WebSocket-Protocol\x20header','needDrain','params','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','verifyClient','onopen','\x22\x20must\x20have\x20only\x20a\x20single\x20value','extensions','_paused','pending','sec-websocket-version','concat','writeUInt16BE','_fin','maskBuffer','MASK\x20must\x20be\x20set','pause','jobs','toString','readUInt16BE','set','listenerCount','offer','13203fCxfva','_final','perMessageDeflate','hostname','default','close','permessage-deflate','Invalid\x20value\x20for\x20parameter\x20\x22','connection','_destroy','Unexpected\x20server\x20response:\x20','number','Invalid\x20WebSocket\x20frame:\x20','_write','_readyState','_maskBuffer','Upgrade:\x20websocket','generateMask','addEventListener'];_0x3715=function(){return _0x1a5e47;};return _0x3715();}var te={'exports':{}},ge,Ye;function V(){const _0x3057af=_0x5b728b;if(Ye)return ge;Ye=0x1;const _0x404fe1=[_0x3057af(0x2eb),_0x3057af(0x175),_0x3057af(0x184)],_0x4dff21=typeof Blob<'u';return _0x4dff21&&_0x404fe1[_0x3057af(0x1b6)]('blob'),ge={'BINARY_TYPES':_0x404fe1,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3057af(0x1ac),'hasBlob':_0x4dff21,'kForOnEventAttribute':Symbol(_0x3057af(0x1f9)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x3057af(0x1f8)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x5b728b(0x2ea)],{'value':_0x5b728b(0x207)})),Vt=ut(Gt);var Ke;function ce(){const _0x1cd62d=_0x5b728b;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x22a3bf}=V(),_0x6c7aa8=Buffer[Symbol[_0x1cd62d(0x20a)]];function _0x53d221(_0x229be5,_0x271b96){const _0x178b27=_0x1cd62d;if(_0x229be5[_0x178b27(0x1d2)]===0x0)return _0x22a3bf;if(_0x229be5[_0x178b27(0x1d2)]===0x1)return _0x229be5[0x0];const _0x5e7359=Buffer[_0x178b27(0x1de)](_0x271b96);let _0x49fa59=0x0;for(let _0x356557=0x0;_0x356557<_0x229be5[_0x178b27(0x1d2)];_0x356557++){const _0x4ff9ca=_0x229be5[_0x356557];_0x5e7359['set'](_0x4ff9ca,_0x49fa59),_0x49fa59+=_0x4ff9ca[_0x178b27(0x1d2)];}return _0x49fa59<_0x271b96?new _0x6c7aa8(_0x5e7359[_0x178b27(0x2e6)],_0x5e7359[_0x178b27(0x18e)],_0x49fa59):_0x5e7359;}function _0x4fbec2(_0x36efcc,_0x2bbd2c,_0x4894ef,_0x1ea942,_0x5c6021){for(let _0x5b1de6=0x0;_0x5b1de6<_0x5c6021;_0x5b1de6++)_0x4894ef[_0x1ea942+_0x5b1de6]=_0x36efcc[_0x5b1de6]^_0x2bbd2c[_0x5b1de6&0x3];}function _0x54f9da(_0x537689,_0x5ea407){for(let _0x5e2c8f=0x0;_0x5e2c8f<_0x537689['length'];_0x5e2c8f++)_0x537689[_0x5e2c8f]^=_0x5ea407[_0x5e2c8f&0x3];}function _0x50a603(_0x2b1d6f){const _0x2538d2=_0x1cd62d;return _0x2b1d6f['length']===_0x2b1d6f[_0x2538d2(0x2e6)][_0x2538d2(0x2e7)]?_0x2b1d6f[_0x2538d2(0x2e6)]:_0x2b1d6f[_0x2538d2(0x2e6)][_0x2538d2(0x205)](_0x2b1d6f[_0x2538d2(0x18e)],_0x2b1d6f[_0x2538d2(0x18e)]+_0x2b1d6f[_0x2538d2(0x1d2)]);}function _0x4994d3(_0x22773b){const _0x104941=_0x1cd62d;if(_0x4994d3['readOnly']=!0x0,Buffer['isBuffer'](_0x22773b))return _0x22773b;let _0x23a7b5;return _0x22773b instanceof ArrayBuffer?_0x23a7b5=new _0x6c7aa8(_0x22773b):ArrayBuffer['isView'](_0x22773b)?_0x23a7b5=new _0x6c7aa8(_0x22773b[_0x104941(0x2e6)],_0x22773b['byteOffset'],_0x22773b[_0x104941(0x2e7)]):(_0x23a7b5=Buffer[_0x104941(0x250)](_0x22773b),_0x4994d3['readOnly']=!0x1),_0x23a7b5;}if(te['exports']={'concat':_0x53d221,'mask':_0x4fbec2,'toArrayBuffer':_0x50a603,'toBuffer':_0x4994d3,'unmask':_0x54f9da},!process[_0x1cd62d(0x229)][_0x1cd62d(0x1da)])try{const _0x5ac76b=Vt;te[_0x1cd62d(0x141)][_0x1cd62d(0x249)]=function(_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde){const _0x2e7ad7=_0x1cd62d;_0x4a9dde<0x30?_0x4fbec2(_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde):_0x5ac76b[_0x2e7ad7(0x249)](_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde);},te['exports'][_0x1cd62d(0x20b)]=function(_0x1267af,_0xb23f0d){const _0x1a0129=_0x1cd62d;_0x1267af[_0x1a0129(0x1d2)]<0x20?_0x54f9da(_0x1267af,_0xb23f0d):_0x5ac76b[_0x1a0129(0x20b)](_0x1267af,_0xb23f0d);};}catch{}return te[_0x1cd62d(0x141)];}var ye,Xe;function qt(){const _0x4849ff=_0x5b728b;if(Xe)return ye;Xe=0x1;const _0x516bd9=Symbol(_0x4849ff(0x165)),_0x57a60e=Symbol(_0x4849ff(0x1a6));class _0x5b43ea{constructor(_0x10262b){const _0x4f75f3=_0x4849ff;this[_0x516bd9]=()=>{this['pending']--,this[_0x57a60e]();},this[_0x4f75f3(0x1a4)]=_0x10262b||0x1/0x0,this['jobs']=[],this[_0x4f75f3(0x2a7)]=0x0;}[_0x4849ff(0x270)](_0x3f12b8){const _0x17aec5=_0x4849ff;this[_0x17aec5(0x2af)][_0x17aec5(0x1b6)](_0x3f12b8),this[_0x57a60e]();}[_0x57a60e](){const _0x10fc23=_0x4849ff;if(this[_0x10fc23(0x2a7)]!==this['concurrency']&&this['jobs'][_0x10fc23(0x1d2)]){const _0xf9a6a8=this[_0x10fc23(0x2af)][_0x10fc23(0x253)]();this[_0x10fc23(0x2a7)]++,_0xf9a6a8(this[_0x516bd9]);}}}return ye=_0x5b43ea,ye;}var ve,Ze;function he(){const _0x156372=_0x5b728b;if(Ze)return ve;Ze=0x1;const _0x8ee41f=_0x46dace,_0x83e01a=ce(),_0x594ee4=qt(),{kStatusCode:_0x10ab46}=V(),_0xb6c6cb=Buffer[Symbol[_0x156372(0x20a)]],_0x1790f8=Buffer[_0x156372(0x250)]([0x0,0x0,0xff,0xff]),_0x3feac6=Symbol('permessage-deflate'),_0x193299=Symbol(_0x156372(0x1c2)),_0xaa5f9d=Symbol(_0x156372(0x2d6)),_0x16eb4f=Symbol(_0x156372(0x22b)),_0x460428=Symbol(_0x156372(0x239));let _0xba15dc;class _0x33b93a{constructor(_0xaed6ac,_0x2eff7c,_0x493800){const _0x26121e=_0x156372;if(this[_0x26121e(0x28f)]=_0x493800|0x0,this['_options']=_0xaed6ac||{},this[_0x26121e(0x29c)]=this[_0x26121e(0x255)][_0x26121e(0x1c8)]!==void 0x0?this[_0x26121e(0x255)][_0x26121e(0x1c8)]:0x400,this[_0x26121e(0x2d8)]=!!_0x2eff7c,this[_0x26121e(0x14f)]=null,this[_0x26121e(0x265)]=null,this[_0x26121e(0x2a0)]=null,!_0xba15dc){const _0x4f07fe=this[_0x26121e(0x255)][_0x26121e(0x190)]!==void 0x0?this[_0x26121e(0x255)][_0x26121e(0x190)]:0xa;_0xba15dc=new _0x594ee4(_0x4f07fe);}}static get[_0x156372(0x169)](){const _0xdb61b=_0x156372;return _0xdb61b(0x2bb);}[_0x156372(0x2b4)](){const _0x51abbe=_0x156372,_0x2b7107={};return this[_0x51abbe(0x255)][_0x51abbe(0x2dd)]&&(_0x2b7107[_0x51abbe(0x17b)]=!0x0),this['_options'][_0x51abbe(0x1b2)]&&(_0x2b7107['client_no_context_takeover']=!0x0),this[_0x51abbe(0x255)]['serverMaxWindowBits']&&(_0x2b7107[_0x51abbe(0x257)]=this['_options'][_0x51abbe(0x2cd)]),this[_0x51abbe(0x255)]['clientMaxWindowBits']?_0x2b7107[_0x51abbe(0x150)]=this['_options'][_0x51abbe(0x1d1)]:this[_0x51abbe(0x255)]['clientMaxWindowBits']==null&&(_0x2b7107[_0x51abbe(0x150)]=!0x0),_0x2b7107;}['accept'](_0x589b06){const _0x100616=_0x156372;return _0x589b06=this[_0x100616(0x24f)](_0x589b06),this[_0x100616(0x2a0)]=this[_0x100616(0x2d8)]?this[_0x100616(0x26f)](_0x589b06):this[_0x100616(0x1ee)](_0x589b06),this['params'];}[_0x156372(0x23e)](){const _0x1c8fa1=_0x156372;if(this[_0x1c8fa1(0x265)]&&(this[_0x1c8fa1(0x265)][_0x1c8fa1(0x2ba)](),this['_inflate']=null),this[_0x1c8fa1(0x14f)]){const _0x2313d3=this[_0x1c8fa1(0x14f)][_0xaa5f9d];this[_0x1c8fa1(0x14f)][_0x1c8fa1(0x2ba)](),this[_0x1c8fa1(0x14f)]=null,_0x2313d3&&_0x2313d3(new Error(_0x1c8fa1(0x267)));}}[_0x156372(0x26f)](_0x50da3d){const _0x5abb53=_0x156372,_0x123ab5=this[_0x5abb53(0x255)],_0x4222c0=_0x50da3d[_0x5abb53(0x20f)](_0x1de119=>!(_0x123ab5[_0x5abb53(0x2dd)]===!0x1&&_0x1de119[_0x5abb53(0x17b)]||_0x1de119[_0x5abb53(0x257)]&&(_0x123ab5[_0x5abb53(0x2cd)]===!0x1||typeof _0x123ab5[_0x5abb53(0x2cd)]=='number'&&_0x123ab5['serverMaxWindowBits']>_0x1de119['server_max_window_bits'])||typeof _0x123ab5[_0x5abb53(0x1d1)]==_0x5abb53(0x2c0)&&!_0x1de119['client_max_window_bits']));if(!_0x4222c0)throw new Error(_0x5abb53(0x236));return _0x123ab5[_0x5abb53(0x2dd)]&&(_0x4222c0['server_no_context_takeover']=!0x0),_0x123ab5[_0x5abb53(0x1b2)]&&(_0x4222c0[_0x5abb53(0x241)]=!0x0),typeof _0x123ab5[_0x5abb53(0x2cd)]==_0x5abb53(0x2c0)&&(_0x4222c0[_0x5abb53(0x257)]=_0x123ab5[_0x5abb53(0x2cd)]),typeof _0x123ab5[_0x5abb53(0x1d1)]=='number'?_0x4222c0['client_max_window_bits']=_0x123ab5[_0x5abb53(0x1d1)]:(_0x4222c0['client_max_window_bits']===!0x0||_0x123ab5['clientMaxWindowBits']===!0x1)&&delete _0x4222c0[_0x5abb53(0x150)],_0x4222c0;}[_0x156372(0x1ee)](_0x3cd1a8){const _0xddb22b=_0x156372,_0x17d317=_0x3cd1a8[0x0];if(this['_options'][_0xddb22b(0x1b2)]===!0x1&&_0x17d317['client_no_context_takeover'])throw new Error(_0xddb22b(0x221));if(!_0x17d317['client_max_window_bits'])typeof this['_options'][_0xddb22b(0x1d1)]==_0xddb22b(0x2c0)&&(_0x17d317[_0xddb22b(0x150)]=this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]);else{if(this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]===!0x1||typeof this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]==_0xddb22b(0x2c0)&&_0x17d317['client_max_window_bits']>this[_0xddb22b(0x255)][_0xddb22b(0x1d1)])throw new Error(_0xddb22b(0x22c));}return _0x17d317;}[_0x156372(0x24f)](_0x4aee1f){const _0x4cdbca=_0x156372;return _0x4aee1f[_0x4cdbca(0x1d8)](_0x305442=>{const _0x26a84e=_0x4cdbca;Object[_0x26a84e(0x1bb)](_0x305442)[_0x26a84e(0x1d8)](_0x532e24=>{const _0x3d902a=_0x26a84e;let _0x5029b9=_0x305442[_0x532e24];if(_0x5029b9[_0x3d902a(0x1d2)]>0x1)throw new Error(_0x3d902a(0x15e)+_0x532e24+_0x3d902a(0x2a4));if(_0x5029b9=_0x5029b9[0x0],_0x532e24===_0x3d902a(0x150)){if(_0x5029b9!==!0x0){const _0x2de634=+_0x5029b9;if(!Number['isInteger'](_0x2de634)||_0x2de634<0x8||_0x2de634>0xf)throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+_0x3d902a(0x2df)+_0x5029b9);_0x5029b9=_0x2de634;}else{if(!this['_isServer'])throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+'\x22:\x20'+_0x5029b9);}}else{if(_0x532e24==='server_max_window_bits'){const _0x5874fe=+_0x5029b9;if(!Number[_0x3d902a(0x163)](_0x5874fe)||_0x5874fe<0x8||_0x5874fe>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x532e24+_0x3d902a(0x2df)+_0x5029b9);_0x5029b9=_0x5874fe;}else{if(_0x532e24===_0x3d902a(0x241)||_0x532e24===_0x3d902a(0x17b)){if(_0x5029b9!==!0x0)throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+'\x22:\x20'+_0x5029b9);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x532e24+'\x22');}}_0x305442[_0x532e24]=_0x5029b9;});}),_0x4aee1f;}[_0x156372(0x295)](_0x1b5601,_0x167b87,_0xe7dfb8){const _0x5a9cfa=_0x156372;_0xba15dc[_0x5a9cfa(0x270)](_0x1297bf=>{this['_decompress'](_0x1b5601,_0x167b87,(_0x3a0cb6,_0x154e99)=>{_0x1297bf(),_0xe7dfb8(_0x3a0cb6,_0x154e99);});});}[_0x156372(0x1c4)](_0x57c194,_0x20cb44,_0x2e9539){_0xba15dc['add'](_0xce4d78=>{const _0x1a70bf=_0x4100;this[_0x1a70bf(0x1e6)](_0x57c194,_0x20cb44,(_0x341fcb,_0x248593)=>{_0xce4d78(),_0x2e9539(_0x341fcb,_0x248593);});});}[_0x156372(0x1a8)](_0x346d3f,_0x4df15d,_0x21f145){const _0x52c62d=_0x156372,_0x2b3f2c=this[_0x52c62d(0x2d8)]?_0x52c62d(0x2ca):'server';if(!this[_0x52c62d(0x265)]){const _0x2b2f30=_0x2b3f2c+'_max_window_bits',_0x2ac0f6=typeof this[_0x52c62d(0x2a0)][_0x2b2f30]!=_0x52c62d(0x2c0)?_0x8ee41f['Z_DEFAULT_WINDOWBITS']:this[_0x52c62d(0x2a0)][_0x2b2f30];this['_inflate']=_0x8ee41f[_0x52c62d(0x1d0)]({...this[_0x52c62d(0x255)]['zlibInflateOptions'],'windowBits':_0x2ac0f6}),this[_0x52c62d(0x265)][_0x3feac6]=this,this[_0x52c62d(0x265)][_0x193299]=0x0,this[_0x52c62d(0x265)][_0x16eb4f]=[],this[_0x52c62d(0x265)]['on']('error',_0x1cb6e7),this[_0x52c62d(0x265)]['on']('data',_0x3f0447);}this['_inflate'][_0xaa5f9d]=_0x21f145,this['_inflate'][_0x52c62d(0x1a2)](_0x346d3f),_0x4df15d&&this[_0x52c62d(0x265)][_0x52c62d(0x1a2)](_0x1790f8),this['_inflate']['flush'](()=>{const _0x40110f=_0x52c62d,_0xc80957=this[_0x40110f(0x265)][_0x460428];if(_0xc80957){this[_0x40110f(0x265)]['close'](),this['_inflate']=null,_0x21f145(_0xc80957);return;}const _0x381859=_0x83e01a['concat'](this[_0x40110f(0x265)][_0x16eb4f],this[_0x40110f(0x265)][_0x193299]);this['_inflate'][_0x40110f(0x283)][_0x40110f(0x1f5)]?(this[_0x40110f(0x265)][_0x40110f(0x2ba)](),this[_0x40110f(0x265)]=null):(this['_inflate'][_0x193299]=0x0,this[_0x40110f(0x265)][_0x16eb4f]=[],_0x4df15d&&this[_0x40110f(0x2a0)][_0x2b3f2c+_0x40110f(0x232)]&&this[_0x40110f(0x265)][_0x40110f(0x26e)]()),_0x21f145(null,_0x381859);});}['_compress'](_0x58dd7f,_0x267e81,_0x2463e3){const _0x4acfb6=_0x156372,_0x563368=this[_0x4acfb6(0x2d8)]?'server':_0x4acfb6(0x2ca);if(!this[_0x4acfb6(0x14f)]){const _0x588bea=_0x563368+_0x4acfb6(0x171),_0x2f99=typeof this[_0x4acfb6(0x2a0)][_0x588bea]!=_0x4acfb6(0x2c0)?_0x8ee41f['Z_DEFAULT_WINDOWBITS']:this[_0x4acfb6(0x2a0)][_0x588bea];this['_deflate']=_0x8ee41f[_0x4acfb6(0x244)]({...this['_options'][_0x4acfb6(0x164)],'windowBits':_0x2f99}),this['_deflate'][_0x193299]=0x0,this[_0x4acfb6(0x14f)][_0x16eb4f]=[],this['_deflate']['on'](_0x4acfb6(0x187),_0x57b871);}this[_0x4acfb6(0x14f)][_0xaa5f9d]=_0x2463e3,this['_deflate'][_0x4acfb6(0x1a2)](_0x58dd7f),this[_0x4acfb6(0x14f)][_0x4acfb6(0x1c5)](_0x8ee41f[_0x4acfb6(0x212)],()=>{const _0x23e3f3=_0x4acfb6;if(!this[_0x23e3f3(0x14f)])return;let _0x368007=_0x83e01a[_0x23e3f3(0x2a9)](this[_0x23e3f3(0x14f)][_0x16eb4f],this[_0x23e3f3(0x14f)][_0x193299]);_0x267e81&&(_0x368007=new _0xb6c6cb(_0x368007[_0x23e3f3(0x2e6)],_0x368007[_0x23e3f3(0x18e)],_0x368007['length']-0x4)),this['_deflate'][_0xaa5f9d]=null,this[_0x23e3f3(0x14f)][_0x193299]=0x0,this[_0x23e3f3(0x14f)][_0x16eb4f]=[],_0x267e81&&this[_0x23e3f3(0x2a0)][_0x563368+_0x23e3f3(0x232)]&&this[_0x23e3f3(0x14f)]['reset'](),_0x2463e3(null,_0x368007);});}}ve=_0x33b93a;function _0x57b871(_0x349d32){const _0x360566=_0x156372;this[_0x16eb4f]['push'](_0x349d32),this[_0x193299]+=_0x349d32[_0x360566(0x1d2)];}function _0x3f0447(_0x3720dc){const _0x2b5073=_0x156372;if(this[_0x193299]+=_0x3720dc[_0x2b5073(0x1d2)],this[_0x3feac6]['_maxPayload']<0x1||this[_0x193299]<=this[_0x3feac6]['_maxPayload']){this[_0x16eb4f][_0x2b5073(0x1b6)](_0x3720dc);return;}this[_0x460428]=new RangeError(_0x2b5073(0x25c)),this[_0x460428][_0x2b5073(0x159)]=_0x2b5073(0x289),this[_0x460428][_0x10ab46]=0x3f1,this[_0x2b5073(0x146)](_0x2b5073(0x187),_0x3f0447),this['reset']();}function _0x1cb6e7(_0x166350){const _0x5eaeea=_0x156372;if(this[_0x3feac6][_0x5eaeea(0x265)]=null,this[_0x460428]){this[_0xaa5f9d](this[_0x460428]);return;}_0x166350[_0x10ab46]=0x3ef,this[_0xaa5f9d](_0x166350);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5b728b(0x1c7)](Object[_0x5b728b(0x218)]({'__proto__':null,'default':Ht},Symbol[_0x5b728b(0x2ea)],{'value':_0x5b728b(0x207)})),Yt=ut(zt);var Qe;function ne(){const _0x1dc946=_0x5b728b;if(Qe)return re[_0x1dc946(0x141)];Qe=0x1;const {isUtf8:_0x278664}=_0x52885b,{hasBlob:_0x45f0ad}=V(),_0x163272=[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 _0x1a36d2(_0x129972){return _0x129972>=0x3e8&&_0x129972<=0x3f6&&_0x129972!==0x3ec&&_0x129972!==0x3ed&&_0x129972!==0x3ee||_0x129972>=0xbb8&&_0x129972<=0x1387;}function _0x407674(_0xe78b6b){const _0x4a0092=_0x1dc946,_0x2bb66c=_0xe78b6b[_0x4a0092(0x1d2)];let _0x3f0f93=0x0;for(;_0x3f0f93<_0x2bb66c;)if((_0xe78b6b[_0x3f0f93]&0x80)===0x0)_0x3f0f93++;else{if((_0xe78b6b[_0x3f0f93]&0xe0)===0xc0){if(_0x3f0f93+0x1===_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93]&0xfe)===0xc0)return!0x1;_0x3f0f93+=0x2;}else{if((_0xe78b6b[_0x3f0f93]&0xf0)===0xe0){if(_0x3f0f93+0x2>=_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x2]&0xc0)!==0x80||_0xe78b6b[_0x3f0f93]===0xe0&&(_0xe78b6b[_0x3f0f93+0x1]&0xe0)===0x80||_0xe78b6b[_0x3f0f93]===0xed&&(_0xe78b6b[_0x3f0f93+0x1]&0xe0)===0xa0)return!0x1;_0x3f0f93+=0x3;}else{if((_0xe78b6b[_0x3f0f93]&0xf8)===0xf0){if(_0x3f0f93+0x3>=_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x2]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x3]&0xc0)!==0x80||_0xe78b6b[_0x3f0f93]===0xf0&&(_0xe78b6b[_0x3f0f93+0x1]&0xf0)===0x80||_0xe78b6b[_0x3f0f93]===0xf4&&_0xe78b6b[_0x3f0f93+0x1]>0x8f||_0xe78b6b[_0x3f0f93]>0xf4)return!0x1;_0x3f0f93+=0x4;}else return!0x1;}}}return!0x0;}function _0x5b8d8b(_0x484429){const _0x1d4b60=_0x1dc946;return _0x45f0ad&&typeof _0x484429==_0x1d4b60(0x28b)&&typeof _0x484429['arrayBuffer']==_0x1d4b60(0x1b5)&&typeof _0x484429[_0x1d4b60(0x1f6)]==_0x1d4b60(0x274)&&typeof _0x484429[_0x1d4b60(0x149)]==_0x1d4b60(0x1b5)&&(_0x484429[Symbol[_0x1d4b60(0x2ea)]]==='Blob'||_0x484429[Symbol[_0x1d4b60(0x2ea)]]===_0x1d4b60(0x292));}if(re['exports']={'isBlob':_0x5b8d8b,'isValidStatusCode':_0x1a36d2,'isValidUTF8':_0x407674,'tokenChars':_0x163272},_0x278664)re['exports']['isValidUTF8']=function(_0x2c91f7){const _0x53e5cf=_0x1dc946;return _0x2c91f7[_0x53e5cf(0x1d2)]<0x18?_0x407674(_0x2c91f7):_0x278664(_0x2c91f7);};else{if(!process[_0x1dc946(0x229)][_0x1dc946(0x167)])try{const _0x4b3954=Yt;re[_0x1dc946(0x141)][_0x1dc946(0x1d4)]=function(_0x3826b7){const _0x3bed71=_0x1dc946;return _0x3826b7[_0x3bed71(0x1d2)]<0x20?_0x407674(_0x3826b7):_0x4b3954(_0x3826b7);};}catch{}}return re[_0x1dc946(0x141)];}var Se,Je;function dt(){const _0x3228af=_0x5b728b;if(Je)return Se;Je=0x1;const {Writable:_0x5b9d27}=_0x423274,_0xc0dbb9=he(),{BINARY_TYPES:_0x28ec32,EMPTY_BUFFER:_0x34bc4e,kStatusCode:_0x36499a,kWebSocket:_0x317fa2}=V(),{concat:_0x201896,toArrayBuffer:_0xaff609,unmask:_0xce733a}=ce(),{isValidStatusCode:_0x3cb6a5,isValidUTF8:_0x40796d}=ne(),_0x2ff7a5=Buffer[Symbol['species']],_0x3effc8=0x0,_0x4bf919=0x1,_0x387ebe=0x2,_0x4747af=0x3,_0x5550af=0x4,_0x20610e=0x5,_0x72097d=0x6;class _0x46c81e extends _0x5b9d27{constructor(_0x21dcc9={}){const _0x5c1851=_0x4100;super(),this[_0x5c1851(0x1ed)]=_0x21dcc9['allowSynchronousEvents']!==void 0x0?_0x21dcc9[_0x5c1851(0x220)]:!0x0,this['_binaryType']=_0x21dcc9[_0x5c1851(0x1d9)]||_0x28ec32[0x0],this[_0x5c1851(0x1a1)]=_0x21dcc9['extensions']||{},this[_0x5c1851(0x2d8)]=!!_0x21dcc9['isServer'],this[_0x5c1851(0x28f)]=_0x21dcc9['maxPayload']|0x0,this[_0x5c1851(0x1fc)]=!!_0x21dcc9[_0x5c1851(0x1e8)],this[_0x317fa2]=void 0x0,this[_0x5c1851(0x210)]=0x0,this[_0x5c1851(0x1c3)]=[],this['_compressed']=!0x1,this[_0x5c1851(0x1b4)]=0x0,this[_0x5c1851(0x24d)]=void 0x0,this[_0x5c1851(0x1ec)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x5c1851(0x197)]=0x0,this[_0x5c1851(0x18a)]=0x0,this[_0x5c1851(0x1bf)]=0x0,this[_0x5c1851(0x21e)]=[],this[_0x5c1851(0x273)]=!0x1,this['_loop']=!0x1,this['_state']=_0x3effc8;}[_0x3228af(0x2c2)](_0x4081df,_0x595329,_0xae0157){const _0x59037d=_0x3228af;if(this[_0x59037d(0x197)]===0x8&&this[_0x59037d(0x1cd)]==_0x3effc8)return _0xae0157();this['_bufferedBytes']+=_0x4081df[_0x59037d(0x1d2)],this[_0x59037d(0x1c3)][_0x59037d(0x1b6)](_0x4081df),this[_0x59037d(0x151)](_0xae0157);}[_0x3228af(0x271)](_0x2156c3){const _0x30a7d1=_0x3228af;if(this[_0x30a7d1(0x210)]-=_0x2156c3,_0x2156c3===this[_0x30a7d1(0x1c3)][0x0][_0x30a7d1(0x1d2)])return this[_0x30a7d1(0x1c3)][_0x30a7d1(0x253)]();if(_0x2156c3<this[_0x30a7d1(0x1c3)][0x0][_0x30a7d1(0x1d2)]){const _0x161c6b=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x2ff7a5(_0x161c6b[_0x30a7d1(0x2e6)],_0x161c6b['byteOffset']+_0x2156c3,_0x161c6b[_0x30a7d1(0x1d2)]-_0x2156c3),new _0x2ff7a5(_0x161c6b[_0x30a7d1(0x2e6)],_0x161c6b[_0x30a7d1(0x18e)],_0x2156c3);}const _0x2553ef=Buffer[_0x30a7d1(0x1de)](_0x2156c3);do{const _0x716dd6=this['_buffers'][0x0],_0x2ea81f=_0x2553ef[_0x30a7d1(0x1d2)]-_0x2156c3;_0x2156c3>=_0x716dd6[_0x30a7d1(0x1d2)]?_0x2553ef[_0x30a7d1(0x2b2)](this[_0x30a7d1(0x1c3)]['shift'](),_0x2ea81f):(_0x2553ef[_0x30a7d1(0x2b2)](new Uint8Array(_0x716dd6[_0x30a7d1(0x2e6)],_0x716dd6[_0x30a7d1(0x18e)],_0x2156c3),_0x2ea81f),this[_0x30a7d1(0x1c3)][0x0]=new _0x2ff7a5(_0x716dd6['buffer'],_0x716dd6[_0x30a7d1(0x18e)]+_0x2156c3,_0x716dd6[_0x30a7d1(0x1d2)]-_0x2156c3)),_0x2156c3-=_0x716dd6[_0x30a7d1(0x1d2)];}while(_0x2156c3>0x0);return _0x2553ef;}['startLoop'](_0x5d4a5d){const _0x232887=_0x3228af;this['_loop']=!0x0;do switch(this[_0x232887(0x1cd)]){case _0x3effc8:this[_0x232887(0x19d)](_0x5d4a5d);break;case _0x4bf919:this[_0x232887(0x18c)](_0x5d4a5d);break;case _0x387ebe:this['getPayloadLength64'](_0x5d4a5d);break;case _0x4747af:this[_0x232887(0x29d)]();break;case _0x5550af:this[_0x232887(0x1a5)](_0x5d4a5d);break;case _0x20610e:case _0x72097d:this[_0x232887(0x177)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x5d4a5d();}['getInfo'](_0x5be43a){const _0x1d82f0=_0x3228af;if(this[_0x1d82f0(0x210)]<0x2){this['_loop']=!0x1;return;}const _0x4e9f68=this[_0x1d82f0(0x271)](0x2);if((_0x4e9f68[0x0]&0x30)!==0x0){const _0x999b95=this['createError'](RangeError,_0x1d82f0(0x1ca),!0x0,0x3ea,_0x1d82f0(0x276));_0x5be43a(_0x999b95);return;}const _0x580a5c=(_0x4e9f68[0x0]&0x40)===0x40;if(_0x580a5c&&!this[_0x1d82f0(0x1a1)][_0xc0dbb9['extensionName']]){const _0xefb25e=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x226),!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0xefb25e);return;}if(this['_fin']=(_0x4e9f68[0x0]&0x80)===0x80,this[_0x1d82f0(0x197)]=_0x4e9f68[0x0]&0xf,this[_0x1d82f0(0x1b4)]=_0x4e9f68[0x1]&0x7f,this[_0x1d82f0(0x197)]===0x0){if(_0x580a5c){const _0x44c4b1=this[_0x1d82f0(0x1e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0x44c4b1);return;}if(!this[_0x1d82f0(0x1ec)]){const _0x260346=this['createError'](RangeError,_0x1d82f0(0x155),!0x0,0x3ea,_0x1d82f0(0x20c));_0x5be43a(_0x260346);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x1d82f0(0x197)]===0x2){if(this[_0x1d82f0(0x1ec)]){const _0x53fac2=this['createError'](RangeError,_0x1d82f0(0x19e)+this[_0x1d82f0(0x197)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5be43a(_0x53fac2);return;}this['_compressed']=_0x580a5c;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x1d82f0(0x2ab)]){const _0x380b34=this[_0x1d82f0(0x1e1)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1d82f0(0x1cc));_0x5be43a(_0x380b34);return;}if(_0x580a5c){const _0x48bc56=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x226),!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0x48bc56);return;}if(this[_0x1d82f0(0x1b4)]>0x7d||this[_0x1d82f0(0x197)]===0x8&&this[_0x1d82f0(0x1b4)]===0x1){const _0x241214=this['createError'](RangeError,_0x1d82f0(0x192)+this[_0x1d82f0(0x1b4)],!0x0,0x3ea,_0x1d82f0(0x1ae));_0x5be43a(_0x241214);return;}}else{const _0x104cd3=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x19e)+this['_opcode'],!0x0,0x3ea,_0x1d82f0(0x20c));_0x5be43a(_0x104cd3);return;}}}if(!this[_0x1d82f0(0x2ab)]&&!this['_fragmented']&&(this[_0x1d82f0(0x1ec)]=this[_0x1d82f0(0x197)]),this[_0x1d82f0(0x24e)]=(_0x4e9f68[0x1]&0x80)===0x80,this[_0x1d82f0(0x2d8)]){if(!this['_masked']){const _0x277eda=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x2ad),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x5be43a(_0x277eda);return;}}else{if(this[_0x1d82f0(0x24e)]){const _0x260fbe=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x1e3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5be43a(_0x260fbe);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4bf919:this[_0x1d82f0(0x1b4)]===0x7f?this['_state']=_0x387ebe:this['haveLength'](_0x5be43a);}[_0x3228af(0x18c)](_0x141492){const _0x46b285=_0x3228af;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x46b285(0x1b4)]=this[_0x46b285(0x271)](0x2)[_0x46b285(0x2b1)](0x0),this['haveLength'](_0x141492);}[_0x3228af(0x174)](_0x2b4954){const _0x504a52=_0x3228af;if(this[_0x504a52(0x210)]<0x8){this[_0x504a52(0x177)]=!0x1;return;}const _0x1a9416=this[_0x504a52(0x271)](0x8),_0x2acb0f=_0x1a9416['readUInt32BE'](0x0);if(_0x2acb0f>Math[_0x504a52(0x1bd)](0x2,0x15)-0x1){const _0x4f0e3c=this[_0x504a52(0x1e1)](RangeError,_0x504a52(0x20e),!0x1,0x3f1,_0x504a52(0x23a));_0x2b4954(_0x4f0e3c);return;}this['_payloadLength']=_0x2acb0f*Math[_0x504a52(0x1bd)](0x2,0x20)+_0x1a9416[_0x504a52(0x17c)](0x4),this['haveLength'](_0x2b4954);}[_0x3228af(0x263)](_0x5edb04){const _0x45c7fa=_0x3228af;if(this['_payloadLength']&&this[_0x45c7fa(0x197)]<0x8&&(this['_totalPayloadLength']+=this[_0x45c7fa(0x1b4)],this[_0x45c7fa(0x18a)]>this[_0x45c7fa(0x28f)]&&this[_0x45c7fa(0x28f)]>0x0)){const _0x44e9b4=this[_0x45c7fa(0x1e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5edb04(_0x44e9b4);return;}this['_masked']?this[_0x45c7fa(0x1cd)]=_0x4747af:this[_0x45c7fa(0x1cd)]=_0x5550af;}[_0x3228af(0x29d)](){const _0x537919=_0x3228af;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x537919(0x24d)]=this['consume'](0x4),this[_0x537919(0x1cd)]=_0x5550af;}['getData'](_0x3fdc7f){const _0x2f660c=_0x3228af;let _0x3b6023=_0x34bc4e;if(this[_0x2f660c(0x1b4)]){if(this[_0x2f660c(0x210)]<this[_0x2f660c(0x1b4)]){this[_0x2f660c(0x177)]=!0x1;return;}_0x3b6023=this[_0x2f660c(0x271)](this[_0x2f660c(0x1b4)]),this[_0x2f660c(0x24e)]&&(this[_0x2f660c(0x24d)][0x0]|this[_0x2f660c(0x24d)][0x1]|this[_0x2f660c(0x24d)][0x2]|this['_mask'][0x3])!==0x0&&_0xce733a(_0x3b6023,this['_mask']);}if(this['_opcode']>0x7){this[_0x2f660c(0x288)](_0x3b6023,_0x3fdc7f);return;}if(this['_compressed']){this[_0x2f660c(0x1cd)]=_0x20610e,this[_0x2f660c(0x295)](_0x3b6023,_0x3fdc7f);return;}_0x3b6023[_0x2f660c(0x1d2)]&&(this['_messageLength']=this[_0x2f660c(0x18a)],this[_0x2f660c(0x21e)][_0x2f660c(0x1b6)](_0x3b6023)),this['dataMessage'](_0x3fdc7f);}['decompress'](_0x2fdb8a,_0x3654ab){const _0x30b8ad=_0x3228af;this[_0x30b8ad(0x1a1)][_0xc0dbb9['extensionName']]['decompress'](_0x2fdb8a,this[_0x30b8ad(0x2ab)],(_0x56376a,_0x197e4a)=>{const _0x22bfcb=_0x30b8ad;if(_0x56376a)return _0x3654ab(_0x56376a);if(_0x197e4a[_0x22bfcb(0x1d2)]){if(this[_0x22bfcb(0x1bf)]+=_0x197e4a['length'],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x2f446c=this[_0x22bfcb(0x1e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x22bfcb(0x289));_0x3654ab(_0x2f446c);return;}this[_0x22bfcb(0x21e)][_0x22bfcb(0x1b6)](_0x197e4a);}this[_0x22bfcb(0x14a)](_0x3654ab),this[_0x22bfcb(0x1cd)]===_0x3effc8&&this['startLoop'](_0x3654ab);});}[_0x3228af(0x14a)](_0x507733){const _0xf07fc0=_0x3228af;if(!this[_0xf07fc0(0x2ab)]){this[_0xf07fc0(0x1cd)]=_0x3effc8;return;}const _0x3f0028=this['_messageLength'],_0x59507b=this[_0xf07fc0(0x21e)];if(this[_0xf07fc0(0x18a)]=0x0,this[_0xf07fc0(0x1bf)]=0x0,this[_0xf07fc0(0x1ec)]=0x0,this['_fragments']=[],this[_0xf07fc0(0x197)]===0x2){let _0x1d7e0b;this[_0xf07fc0(0x264)]===_0xf07fc0(0x2eb)?_0x1d7e0b=_0x201896(_0x59507b,_0x3f0028):this['_binaryType']===_0xf07fc0(0x175)?_0x1d7e0b=_0xaff609(_0x201896(_0x59507b,_0x3f0028)):this['_binaryType']===_0xf07fc0(0x285)?_0x1d7e0b=new Blob(_0x59507b):_0x1d7e0b=_0x59507b,this['_allowSynchronousEvents']?(this['emit'](_0xf07fc0(0x247),_0x1d7e0b,!0x0),this[_0xf07fc0(0x1cd)]=_0x3effc8):(this[_0xf07fc0(0x1cd)]=_0x72097d,setImmediate(()=>{const _0x3a68c8=_0xf07fc0;this[_0x3a68c8(0x260)]('message',_0x1d7e0b,!0x0),this[_0x3a68c8(0x1cd)]=_0x3effc8,this['startLoop'](_0x507733);}));}else{const _0x556273=_0x201896(_0x59507b,_0x3f0028);if(!this[_0xf07fc0(0x1fc)]&&!_0x40796d(_0x556273)){const _0x4ab3b5=this[_0xf07fc0(0x1e1)](Error,_0xf07fc0(0x27f),!0x0,0x3ef,_0xf07fc0(0x16f));_0x507733(_0x4ab3b5);return;}this['_state']===_0x20610e||this[_0xf07fc0(0x1ed)]?(this[_0xf07fc0(0x260)]('message',_0x556273,!0x1),this[_0xf07fc0(0x1cd)]=_0x3effc8):(this[_0xf07fc0(0x1cd)]=_0x72097d,setImmediate(()=>{this['emit']('message',_0x556273,!0x1),this['_state']=_0x3effc8,this['startLoop'](_0x507733);}));}}[_0x3228af(0x288)](_0x450566,_0x2efac8){const _0x4f4be9=_0x3228af;if(this[_0x4f4be9(0x197)]===0x8){if(_0x450566['length']===0x0)this[_0x4f4be9(0x177)]=!0x1,this[_0x4f4be9(0x260)](_0x4f4be9(0x144),0x3ed,_0x34bc4e),this[_0x4f4be9(0x1eb)]();else{const _0x23130e=_0x450566[_0x4f4be9(0x2b1)](0x0);if(!_0x3cb6a5(_0x23130e)){const _0x229f87=this[_0x4f4be9(0x1e1)](RangeError,_0x4f4be9(0x1dd)+_0x23130e,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2efac8(_0x229f87);return;}const _0x4fa4b9=new _0x2ff7a5(_0x450566[_0x4f4be9(0x2e6)],_0x450566[_0x4f4be9(0x18e)]+0x2,_0x450566[_0x4f4be9(0x1d2)]-0x2);if(!this[_0x4f4be9(0x1fc)]&&!_0x40796d(_0x4fa4b9)){const _0x21f169=this[_0x4f4be9(0x1e1)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4f4be9(0x16f));_0x2efac8(_0x21f169);return;}this[_0x4f4be9(0x177)]=!0x1,this['emit'](_0x4f4be9(0x144),_0x23130e,_0x4fa4b9),this[_0x4f4be9(0x1eb)]();}this[_0x4f4be9(0x1cd)]=_0x3effc8;return;}this[_0x4f4be9(0x1ed)]?(this[_0x4f4be9(0x260)](this[_0x4f4be9(0x197)]===0x9?'ping':_0x4f4be9(0x20d),_0x450566),this[_0x4f4be9(0x1cd)]=_0x3effc8):(this['_state']=_0x72097d,setImmediate(()=>{const _0x433c8c=_0x4f4be9;this['emit'](this['_opcode']===0x9?_0x433c8c(0x219):_0x433c8c(0x20d),_0x450566),this[_0x433c8c(0x1cd)]=_0x3effc8,this[_0x433c8c(0x151)](_0x2efac8);}));}[_0x3228af(0x1e1)](_0x3f98fe,_0x576776,_0x3d7916,_0x1a6420,_0x1b764e){const _0x4907d4=_0x3228af;this[_0x4907d4(0x177)]=!0x1,this['_errored']=!0x0;const _0x377d98=new _0x3f98fe(_0x3d7916?_0x4907d4(0x2c1)+_0x576776:_0x576776);return Error[_0x4907d4(0x297)](_0x377d98,this[_0x4907d4(0x1e1)]),_0x377d98[_0x4907d4(0x159)]=_0x1b764e,_0x377d98[_0x36499a]=_0x1a6420,_0x377d98;}}return Se=_0x46c81e,Se;}var Ee,et;function _t(){const _0x5334a6=_0x5b728b;if(et)return Ee;et=0x1;const {Duplex:_0x106b57}=_0x423274,{randomFillSync:_0x4d4e83}=_0xa82a62,_0xf781ba=he(),{EMPTY_BUFFER:_0x5ab23,kWebSocket:_0xa00312,NOOP:_0x463da1}=V(),{isBlob:_0x17c0d3,isValidStatusCode:_0x23bfd4}=ne(),{mask:_0x543629,toBuffer:_0x1b0017}=ce(),_0x7b0c92=Symbol(_0x5334a6(0x293)),_0x5c3dfd=Buffer[_0x5334a6(0x201)](0x4),_0x5d341a=0x8*0x400;let _0x45941d,_0x28e6df=_0x5d341a;const _0x3789de=0x0,_0x2d6f66=0x1,_0x4c40d0=0x2;class _0x6a8e89{constructor(_0x536a5e,_0x551004,_0x17f18d){const _0x3bba42=_0x5334a6;this['_extensions']=_0x551004||{},_0x17f18d&&(this[_0x3bba42(0x25e)]=_0x17f18d,this[_0x3bba42(0x2c4)]=Buffer[_0x3bba42(0x201)](0x4)),this[_0x3bba42(0x277)]=_0x536a5e,this[_0x3bba42(0x181)]=!0x0,this[_0x3bba42(0x1e6)]=!0x1,this[_0x3bba42(0x210)]=0x0,this[_0x3bba42(0x287)]=[],this[_0x3bba42(0x1cd)]=_0x3789de,this[_0x3bba42(0x2e3)]=_0x463da1,this[_0xa00312]=void 0x0;}static[_0x5334a6(0x234)](_0x7643bd,_0x2b6173){const _0x5b6225=_0x5334a6;let _0xcf6242,_0x2a4940=!0x1,_0x19c8c3=0x2,_0x4bc7be=!0x1;_0x2b6173[_0x5b6225(0x249)]&&(_0xcf6242=_0x2b6173[_0x5b6225(0x2ac)]||_0x5c3dfd,_0x2b6173[_0x5b6225(0x2c6)]?_0x2b6173[_0x5b6225(0x2c6)](_0xcf6242):(_0x28e6df===_0x5d341a&&(_0x45941d===void 0x0&&(_0x45941d=Buffer['alloc'](_0x5d341a)),_0x4d4e83(_0x45941d,0x0,_0x5d341a),_0x28e6df=0x0),_0xcf6242[0x0]=_0x45941d[_0x28e6df++],_0xcf6242[0x1]=_0x45941d[_0x28e6df++],_0xcf6242[0x2]=_0x45941d[_0x28e6df++],_0xcf6242[0x3]=_0x45941d[_0x28e6df++]),_0x4bc7be=(_0xcf6242[0x0]|_0xcf6242[0x1]|_0xcf6242[0x2]|_0xcf6242[0x3])===0x0,_0x19c8c3=0x6);let _0x6f5d46;typeof _0x7643bd==_0x5b6225(0x274)?(!_0x2b6173[_0x5b6225(0x249)]||_0x4bc7be)&&_0x2b6173[_0x7b0c92]!==void 0x0?_0x6f5d46=_0x2b6173[_0x7b0c92]:(_0x7643bd=Buffer[_0x5b6225(0x250)](_0x7643bd),_0x6f5d46=_0x7643bd[_0x5b6225(0x1d2)]):(_0x6f5d46=_0x7643bd[_0x5b6225(0x1d2)],_0x2a4940=_0x2b6173[_0x5b6225(0x249)]&&_0x2b6173[_0x5b6225(0x1e4)]&&!_0x4bc7be);let _0x205a08=_0x6f5d46;_0x6f5d46>=0x10000?(_0x19c8c3+=0x8,_0x205a08=0x7f):_0x6f5d46>0x7d&&(_0x19c8c3+=0x2,_0x205a08=0x7e);const _0x1a2806=Buffer[_0x5b6225(0x1de)](_0x2a4940?_0x6f5d46+_0x19c8c3:_0x19c8c3);return _0x1a2806[0x0]=_0x2b6173['fin']?_0x2b6173[_0x5b6225(0x1fd)]|0x80:_0x2b6173[_0x5b6225(0x1fd)],_0x2b6173[_0x5b6225(0x1b9)]&&(_0x1a2806[0x0]|=0x40),_0x1a2806[0x1]=_0x205a08,_0x205a08===0x7e?_0x1a2806[_0x5b6225(0x2aa)](_0x6f5d46,0x2):_0x205a08===0x7f&&(_0x1a2806[0x2]=_0x1a2806[0x3]=0x0,_0x1a2806[_0x5b6225(0x145)](_0x6f5d46,0x4,0x6)),_0x2b6173['mask']?(_0x1a2806[0x1]|=0x80,_0x1a2806[_0x19c8c3-0x4]=_0xcf6242[0x0],_0x1a2806[_0x19c8c3-0x3]=_0xcf6242[0x1],_0x1a2806[_0x19c8c3-0x2]=_0xcf6242[0x2],_0x1a2806[_0x19c8c3-0x1]=_0xcf6242[0x3],_0x4bc7be?[_0x1a2806,_0x7643bd]:_0x2a4940?(_0x543629(_0x7643bd,_0xcf6242,_0x1a2806,_0x19c8c3,_0x6f5d46),[_0x1a2806]):(_0x543629(_0x7643bd,_0xcf6242,_0x7643bd,0x0,_0x6f5d46),[_0x1a2806,_0x7643bd])):[_0x1a2806,_0x7643bd];}['close'](_0x363060,_0x1286cb,_0xfc1553,_0x299d27){const _0xf961e4=_0x5334a6;let _0x423ebd;if(_0x363060===void 0x0)_0x423ebd=_0x5ab23;else{if(typeof _0x363060!=_0xf961e4(0x2c0)||!_0x23bfd4(_0x363060))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1286cb===void 0x0||!_0x1286cb[_0xf961e4(0x1d2)])_0x423ebd=Buffer[_0xf961e4(0x1de)](0x2),_0x423ebd[_0xf961e4(0x2aa)](_0x363060,0x0);else{const _0x1d95cb=Buffer[_0xf961e4(0x2e7)](_0x1286cb);if(_0x1d95cb>0x7b)throw new RangeError(_0xf961e4(0x294));_0x423ebd=Buffer[_0xf961e4(0x1de)](0x2+_0x1d95cb),_0x423ebd[_0xf961e4(0x2aa)](_0x363060,0x0),typeof _0x1286cb==_0xf961e4(0x274)?_0x423ebd[_0xf961e4(0x1a2)](_0x1286cb,0x2):_0x423ebd[_0xf961e4(0x2b2)](_0x1286cb,0x2);}}const _0xb9bb1c={[_0x7b0c92]:_0x423ebd[_0xf961e4(0x1d2)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xfc1553,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xf961e4(0x1cd)]!==_0x3789de?this[_0xf961e4(0x2cc)]([this[_0xf961e4(0x1dc)],_0x423ebd,!0x1,_0xb9bb1c,_0x299d27]):this['sendFrame'](_0x6a8e89['frame'](_0x423ebd,_0xb9bb1c),_0x299d27);}[_0x5334a6(0x219)](_0x2a3ddf,_0x20ccb1,_0x494e24){const _0x5c1fec=_0x5334a6;let _0x9a53cc,_0x42f3e0;if(typeof _0x2a3ddf=='string'?(_0x9a53cc=Buffer[_0x5c1fec(0x2e7)](_0x2a3ddf),_0x42f3e0=!0x1):_0x17c0d3(_0x2a3ddf)?(_0x9a53cc=_0x2a3ddf[_0x5c1fec(0x204)],_0x42f3e0=!0x1):(_0x2a3ddf=_0x1b0017(_0x2a3ddf),_0x9a53cc=_0x2a3ddf['length'],_0x42f3e0=_0x1b0017[_0x5c1fec(0x1e4)]),_0x9a53cc>0x7d)throw new RangeError(_0x5c1fec(0x2e1));const _0x16f1ab={[_0x7b0c92]:_0x9a53cc,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x20ccb1,'maskBuffer':this[_0x5c1fec(0x2c4)],'opcode':0x9,'readOnly':_0x42f3e0,'rsv1':!0x1};_0x17c0d3(_0x2a3ddf)?this['_state']!==_0x3789de?this[_0x5c1fec(0x2cc)]([this[_0x5c1fec(0x15c)],_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24]):this[_0x5c1fec(0x15c)](_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24):this[_0x5c1fec(0x1cd)]!==_0x3789de?this['enqueue']([this[_0x5c1fec(0x1dc)],_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24]):this[_0x5c1fec(0x228)](_0x6a8e89[_0x5c1fec(0x234)](_0x2a3ddf,_0x16f1ab),_0x494e24);}[_0x5334a6(0x20d)](_0xc30701,_0x395546,_0x42c04d){const _0x1ae483=_0x5334a6;let _0x2030e6,_0x397205;if(typeof _0xc30701==_0x1ae483(0x274)?(_0x2030e6=Buffer[_0x1ae483(0x2e7)](_0xc30701),_0x397205=!0x1):_0x17c0d3(_0xc30701)?(_0x2030e6=_0xc30701[_0x1ae483(0x204)],_0x397205=!0x1):(_0xc30701=_0x1b0017(_0xc30701),_0x2030e6=_0xc30701['length'],_0x397205=_0x1b0017[_0x1ae483(0x1e4)]),_0x2030e6>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x26b312={[_0x7b0c92]:_0x2030e6,'fin':!0x0,'generateMask':this[_0x1ae483(0x25e)],'mask':_0x395546,'maskBuffer':this[_0x1ae483(0x2c4)],'opcode':0xa,'readOnly':_0x397205,'rsv1':!0x1};_0x17c0d3(_0xc30701)?this[_0x1ae483(0x1cd)]!==_0x3789de?this['enqueue']([this[_0x1ae483(0x15c)],_0xc30701,!0x1,_0x26b312,_0x42c04d]):this['getBlobData'](_0xc30701,!0x1,_0x26b312,_0x42c04d):this[_0x1ae483(0x1cd)]!==_0x3789de?this[_0x1ae483(0x2cc)]([this[_0x1ae483(0x1dc)],_0xc30701,!0x1,_0x26b312,_0x42c04d]):this[_0x1ae483(0x228)](_0x6a8e89[_0x1ae483(0x234)](_0xc30701,_0x26b312),_0x42c04d);}[_0x5334a6(0x1d3)](_0x5679b4,_0x4f9a7d,_0x5c5b61){const _0x1a693f=_0x5334a6,_0x1f137d=this[_0x1a693f(0x1a1)][_0xf781ba[_0x1a693f(0x169)]];let _0x27bdfc=_0x4f9a7d[_0x1a693f(0x1ba)]?0x2:0x1,_0x21a407=_0x4f9a7d[_0x1a693f(0x1c4)],_0x732233,_0x444ee1;typeof _0x5679b4==_0x1a693f(0x274)?(_0x732233=Buffer[_0x1a693f(0x2e7)](_0x5679b4),_0x444ee1=!0x1):_0x17c0d3(_0x5679b4)?(_0x732233=_0x5679b4[_0x1a693f(0x204)],_0x444ee1=!0x1):(_0x5679b4=_0x1b0017(_0x5679b4),_0x732233=_0x5679b4[_0x1a693f(0x1d2)],_0x444ee1=_0x1b0017[_0x1a693f(0x1e4)]),this[_0x1a693f(0x181)]?(this[_0x1a693f(0x181)]=!0x1,_0x21a407&&_0x1f137d&&_0x1f137d[_0x1a693f(0x2a0)][_0x1f137d[_0x1a693f(0x2d8)]?_0x1a693f(0x17b):_0x1a693f(0x241)]&&(_0x21a407=_0x732233>=_0x1f137d[_0x1a693f(0x29c)]),this['_compress']=_0x21a407):(_0x21a407=!0x1,_0x27bdfc=0x0),_0x4f9a7d[_0x1a693f(0x279)]&&(this[_0x1a693f(0x181)]=!0x0);const _0x1746b1={[_0x7b0c92]:_0x732233,'fin':_0x4f9a7d[_0x1a693f(0x279)],'generateMask':this['_generateMask'],'mask':_0x4f9a7d[_0x1a693f(0x249)],'maskBuffer':this[_0x1a693f(0x2c4)],'opcode':_0x27bdfc,'readOnly':_0x444ee1,'rsv1':_0x21a407};_0x17c0d3(_0x5679b4)?this[_0x1a693f(0x1cd)]!==_0x3789de?this[_0x1a693f(0x2cc)]([this[_0x1a693f(0x15c)],_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61]):this['getBlobData'](_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61):this[_0x1a693f(0x1cd)]!==_0x3789de?this[_0x1a693f(0x2cc)]([this['dispatch'],_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61]):this[_0x1a693f(0x1dc)](_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61);}[_0x5334a6(0x15c)](_0x5890d1,_0x3db2d1,_0x35b0b1,_0x35955f){const _0x5b911c=_0x5334a6;this[_0x5b911c(0x210)]+=_0x35b0b1[_0x7b0c92],this[_0x5b911c(0x1cd)]=_0x4c40d0,_0x5890d1['arrayBuffer']()[_0x5b911c(0x13d)](_0x5e1f6a=>{const _0x18ecca=_0x5b911c;if(this[_0x18ecca(0x277)][_0x18ecca(0x172)]){const _0x5a921a=new Error(_0x18ecca(0x15a));process['nextTick'](_0x4acb81,this,_0x5a921a,_0x35955f);return;}this['_bufferedBytes']-=_0x35b0b1[_0x7b0c92];const _0xaf807d=_0x1b0017(_0x5e1f6a);_0x3db2d1?this['dispatch'](_0xaf807d,_0x3db2d1,_0x35b0b1,_0x35955f):(this['_state']=_0x3789de,this[_0x18ecca(0x228)](_0x6a8e89[_0x18ecca(0x234)](_0xaf807d,_0x35b0b1),_0x35955f),this['dequeue']());})[_0x5b911c(0x28e)](_0x1abb73=>{const _0x370903=_0x5b911c;process[_0x370903(0x1b8)](_0x2daef3,this,_0x1abb73,_0x35955f);});}['dispatch'](_0x2fd6af,_0x4390a6,_0x29308a,_0x4ddab2){const _0x454d19=_0x5334a6;if(!_0x4390a6){this['sendFrame'](_0x6a8e89[_0x454d19(0x234)](_0x2fd6af,_0x29308a),_0x4ddab2);return;}const _0x2b37a3=this[_0x454d19(0x1a1)][_0xf781ba[_0x454d19(0x169)]];this[_0x454d19(0x210)]+=_0x29308a[_0x7b0c92],this['_state']=_0x2d6f66,_0x2b37a3['compress'](_0x2fd6af,_0x29308a[_0x454d19(0x279)],(_0x47430,_0x59fd13)=>{const _0x20b01b=_0x454d19;if(this[_0x20b01b(0x277)][_0x20b01b(0x172)]){const _0x233d92=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4acb81(this,_0x233d92,_0x4ddab2);return;}this['_bufferedBytes']-=_0x29308a[_0x7b0c92],this[_0x20b01b(0x1cd)]=_0x3789de,_0x29308a[_0x20b01b(0x1e4)]=!0x1,this[_0x20b01b(0x228)](_0x6a8e89[_0x20b01b(0x234)](_0x59fd13,_0x29308a),_0x4ddab2),this[_0x20b01b(0x27b)]();});}[_0x5334a6(0x27b)](){const _0x5018f7=_0x5334a6;for(;this[_0x5018f7(0x1cd)]===_0x3789de&&this[_0x5018f7(0x287)][_0x5018f7(0x1d2)];){const _0x493822=this[_0x5018f7(0x287)][_0x5018f7(0x253)]();this[_0x5018f7(0x210)]-=_0x493822[0x3][_0x7b0c92],Reflect[_0x5018f7(0x246)](_0x493822[0x0],this,_0x493822[_0x5018f7(0x205)](0x1));}}[_0x5334a6(0x2cc)](_0x53a287){this['_bufferedBytes']+=_0x53a287[0x3][_0x7b0c92],this['_queue']['push'](_0x53a287);}['sendFrame'](_0x16ad7f,_0x16dd18){const _0x2f0fb6=_0x5334a6;_0x16ad7f[_0x2f0fb6(0x1d2)]===0x2?(this['_socket'][_0x2f0fb6(0x13f)](),this['_socket']['write'](_0x16ad7f[0x0]),this[_0x2f0fb6(0x277)][_0x2f0fb6(0x1a2)](_0x16ad7f[0x1],_0x16dd18),this[_0x2f0fb6(0x277)][_0x2f0fb6(0x26b)]()):this[_0x2f0fb6(0x277)][_0x2f0fb6(0x1a2)](_0x16ad7f[0x0],_0x16dd18);}}Ee=_0x6a8e89;function _0x4acb81(_0x2af3b6,_0x8a0dee,_0x215c50){const _0x1485c6=_0x5334a6;typeof _0x215c50==_0x1485c6(0x1b5)&&_0x215c50(_0x8a0dee);for(let _0x5305cc=0x0;_0x5305cc<_0x2af3b6[_0x1485c6(0x287)][_0x1485c6(0x1d2)];_0x5305cc++){const _0x493c35=_0x2af3b6['_queue'][_0x5305cc],_0x3d5e2=_0x493c35[_0x493c35[_0x1485c6(0x1d2)]-0x1];typeof _0x3d5e2=='function'&&_0x3d5e2(_0x8a0dee);}}function _0x2daef3(_0x435baf,_0x418593,_0x2ef132){_0x4acb81(_0x435baf,_0x418593,_0x2ef132),_0x435baf['onerror'](_0x418593);}return Ee;}var xe,tt;function Kt(){const _0x15fc3b=_0x5b728b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x125b0a,kListener:_0x1ab8f4}=V(),_0xb8f989=Symbol('kCode'),_0x223ffb=Symbol(_0x15fc3b(0x269)),_0xc313f3=Symbol(_0x15fc3b(0x227)),_0x71341c=Symbol(_0x15fc3b(0x142)),_0x3148a3=Symbol(_0x15fc3b(0x22f)),_0x2b596e=Symbol(_0x15fc3b(0x15b)),_0x3921f9=Symbol(_0x15fc3b(0x1c6)),_0x32aa48=Symbol('kWasClean');class _0x1592ca{constructor(_0x1a389d){this[_0x2b596e]=null,this[_0x3921f9]=_0x1a389d;}get[_0x15fc3b(0x157)](){return this[_0x2b596e];}get[_0x15fc3b(0x1f6)](){return this[_0x3921f9];}}Object[_0x15fc3b(0x218)](_0x1592ca[_0x15fc3b(0x199)],_0x15fc3b(0x157),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x1592ca[_0x15fc3b(0x199)],_0x15fc3b(0x1f6),{'enumerable':!0x0});class _0x4ca041 extends _0x1592ca{constructor(_0xb9f2d9,_0x45b0e1={}){const _0x55a660=_0x15fc3b;super(_0xb9f2d9),this[_0xb8f989]=_0x45b0e1[_0x55a660(0x159)]===void 0x0?0x0:_0x45b0e1[_0x55a660(0x159)],this[_0x3148a3]=_0x45b0e1[_0x55a660(0x23d)]===void 0x0?'':_0x45b0e1[_0x55a660(0x23d)],this[_0x32aa48]=_0x45b0e1[_0x55a660(0x268)]===void 0x0?!0x1:_0x45b0e1[_0x55a660(0x268)];}get[_0x15fc3b(0x159)](){return this[_0xb8f989];}get[_0x15fc3b(0x23d)](){return this[_0x3148a3];}get[_0x15fc3b(0x268)](){return this[_0x32aa48];}}Object['defineProperty'](_0x4ca041[_0x15fc3b(0x199)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x4ca041[_0x15fc3b(0x199)],_0x15fc3b(0x23d),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x4ca041['prototype'],'wasClean',{'enumerable':!0x0});class _0x5e4771 extends _0x1592ca{constructor(_0x29f4e8,_0x1c917c={}){const _0x40aad7=_0x15fc3b;super(_0x29f4e8),this[_0xc313f3]=_0x1c917c[_0x40aad7(0x239)]===void 0x0?null:_0x1c917c[_0x40aad7(0x239)],this[_0x71341c]=_0x1c917c[_0x40aad7(0x247)]===void 0x0?'':_0x1c917c[_0x40aad7(0x247)];}get[_0x15fc3b(0x239)](){return this[_0xc313f3];}get[_0x15fc3b(0x247)](){return this[_0x71341c];}}Object['defineProperty'](_0x5e4771[_0x15fc3b(0x199)],_0x15fc3b(0x239),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x5e4771['prototype'],_0x15fc3b(0x247),{'enumerable':!0x0});class _0x195e89 extends _0x1592ca{constructor(_0x574804,_0x12526b={}){const _0x3cdd59=_0x15fc3b;super(_0x574804),this[_0x223ffb]=_0x12526b[_0x3cdd59(0x187)]===void 0x0?null:_0x12526b[_0x3cdd59(0x187)];}get[_0x15fc3b(0x187)](){return this[_0x223ffb];}}Object[_0x15fc3b(0x218)](_0x195e89['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4ca041,'ErrorEvent':_0x5e4771,'Event':_0x1592ca,'EventTarget':{'addEventListener'(_0x3a7e20,_0x1957f1,_0x4ba946={}){const _0xe8254d=_0x15fc3b;for(const _0x5a5298 of this[_0xe8254d(0x1ad)](_0x3a7e20))if(!_0x4ba946[_0x125b0a]&&_0x5a5298[_0x1ab8f4]===_0x1957f1&&!_0x5a5298[_0x125b0a])return;let _0x1c75a7;if(_0x3a7e20==='message')_0x1c75a7=function(_0xd20833,_0x450b46){const _0x4abe6a=_0xe8254d,_0xdf4db2=new _0x195e89(_0x4abe6a(0x247),{'data':_0x450b46?_0xd20833:_0xd20833[_0x4abe6a(0x2b0)]()});_0xdf4db2[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0xdf4db2);};else{if(_0x3a7e20===_0xe8254d(0x2ba))_0x1c75a7=function(_0x48dbfd,_0x502a96){const _0xc14f9d=_0xe8254d,_0x2400bb=new _0x4ca041(_0xc14f9d(0x2ba),{'code':_0x48dbfd,'reason':_0x502a96['toString'](),'wasClean':this[_0xc14f9d(0x1b1)]&&this[_0xc14f9d(0x1cf)]});_0x2400bb[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x2400bb);};else{if(_0x3a7e20===_0xe8254d(0x239))_0x1c75a7=function(_0x47e053){const _0x3c2504=_0xe8254d,_0x40e1ff=new _0x5e4771(_0x3c2504(0x239),{'error':_0x47e053,'message':_0x47e053[_0x3c2504(0x247)]});_0x40e1ff[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x40e1ff);};else{if(_0x3a7e20===_0xe8254d(0x17e))_0x1c75a7=function(){const _0x4e5bd4=new _0x1592ca('open');_0x4e5bd4[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x4e5bd4);};else return;}}}_0x1c75a7[_0x125b0a]=!!_0x4ba946[_0x125b0a],_0x1c75a7[_0x1ab8f4]=_0x1957f1,_0x4ba946[_0xe8254d(0x1e0)]?this[_0xe8254d(0x1e0)](_0x3a7e20,_0x1c75a7):this['on'](_0x3a7e20,_0x1c75a7);},'removeEventListener'(_0x47e8d3,_0x381a6d){const _0x2fdde5=_0x15fc3b;for(const _0x3c88b6 of this[_0x2fdde5(0x1ad)](_0x47e8d3))if(_0x3c88b6[_0x1ab8f4]===_0x381a6d&&!_0x3c88b6[_0x125b0a]){this[_0x2fdde5(0x146)](_0x47e8d3,_0x3c88b6);break;}}},'MessageEvent':_0x195e89};function _0x446b0f(_0x41bdcb,_0xcc3f85,_0x4b0a11){const _0x2ad077=_0x15fc3b;typeof _0x41bdcb==_0x2ad077(0x28b)&&_0x41bdcb['handleEvent']?_0x41bdcb['handleEvent'][_0x2ad077(0x262)](_0x41bdcb,_0x4b0a11):_0x41bdcb['call'](_0xcc3f85,_0x4b0a11);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x512420}=ne();function _0x4aebf3(_0x391c5c,_0xd4e3ae,_0x2766ea){const _0x781b97=_0x4100;_0x391c5c[_0xd4e3ae]===void 0x0?_0x391c5c[_0xd4e3ae]=[_0x2766ea]:_0x391c5c[_0xd4e3ae][_0x781b97(0x1b6)](_0x2766ea);}function _0x4154a3(_0x57f13a){const _0x36ea39=_0x4100,_0x262927=Object[_0x36ea39(0x17a)](null);let _0x424193=Object[_0x36ea39(0x17a)](null),_0x503f7e=!0x1,_0x50e29b=!0x1,_0x3f4f13=!0x1,_0x59cf7a,_0x1da08c,_0x426871=-0x1,_0x5733d4=-0x1,_0x2c8470=-0x1,_0x2db708=0x0;for(;_0x2db708<_0x57f13a[_0x36ea39(0x1d2)];_0x2db708++)if(_0x5733d4=_0x57f13a[_0x36ea39(0x2c9)](_0x2db708),_0x59cf7a===void 0x0){if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x2db708!==0x0&&(_0x5733d4===0x20||_0x5733d4===0x9))_0x2c8470===-0x1&&_0x426871!==-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);const _0x261084=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470);_0x5733d4===0x2c?(_0x4aebf3(_0x262927,_0x261084,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null)):_0x59cf7a=_0x261084,_0x426871=_0x2c8470=-0x1;}else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}else{if(_0x1da08c===void 0x0){if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x5733d4===0x20||_0x5733d4===0x9)_0x2c8470===-0x1&&_0x426871!==-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708),_0x4aebf3(_0x424193,_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470),!0x0),_0x5733d4===0x2c&&(_0x4aebf3(_0x262927,_0x59cf7a,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null),_0x59cf7a=void 0x0),_0x426871=_0x2c8470=-0x1;}else{if(_0x5733d4===0x3d&&_0x426871!==-0x1&&_0x2c8470===-0x1)_0x1da08c=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2db708),_0x426871=_0x2c8470=-0x1;else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}}else{if(_0x50e29b){if(_0x512420[_0x5733d4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2db708);_0x426871===-0x1?_0x426871=_0x2db708:_0x503f7e||(_0x503f7e=!0x0),_0x50e29b=!0x1;}else{if(_0x3f4f13){if(_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x5733d4===0x22&&_0x426871!==-0x1)_0x3f4f13=!0x1,_0x2c8470=_0x2db708;else{if(_0x5733d4===0x5c)_0x50e29b=!0x0;else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}else{if(_0x5733d4===0x22&&_0x57f13a['charCodeAt'](_0x2db708-0x1)===0x3d)_0x3f4f13=!0x0;else{if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x426871!==-0x1&&(_0x5733d4===0x20||_0x5733d4===0x9))_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);let _0x205089=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470);_0x503f7e&&(_0x205089=_0x205089['replace'](/\\/g,''),_0x503f7e=!0x1),_0x4aebf3(_0x424193,_0x1da08c,_0x205089),_0x5733d4===0x2c&&(_0x4aebf3(_0x262927,_0x59cf7a,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null),_0x59cf7a=void 0x0),_0x1da08c=void 0x0,_0x426871=_0x2c8470=-0x1;}else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}}}}}if(_0x426871===-0x1||_0x3f4f13||_0x5733d4===0x20||_0x5733d4===0x9)throw new SyntaxError(_0x36ea39(0x14d));_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);const _0x54ee02=_0x57f13a['slice'](_0x426871,_0x2c8470);return _0x59cf7a===void 0x0?_0x4aebf3(_0x262927,_0x54ee02,_0x424193):(_0x1da08c===void 0x0?_0x4aebf3(_0x424193,_0x54ee02,!0x0):_0x503f7e?_0x4aebf3(_0x424193,_0x1da08c,_0x54ee02[_0x36ea39(0x158)](/\\/g,'')):_0x4aebf3(_0x424193,_0x1da08c,_0x54ee02),_0x4aebf3(_0x262927,_0x59cf7a,_0x424193)),_0x262927;}function _0x4b8908(_0x58a1d4){const _0x5d8727=_0x4100;return Object['keys'](_0x58a1d4)[_0x5d8727(0x29a)](_0x593ca5=>{const _0x18eb75=_0x5d8727;let _0x8b140b=_0x58a1d4[_0x593ca5];return Array[_0x18eb75(0x266)](_0x8b140b)||(_0x8b140b=[_0x8b140b]),_0x8b140b[_0x18eb75(0x29a)](_0x139bc6=>[_0x593ca5]['concat'](Object[_0x18eb75(0x1bb)](_0x139bc6)[_0x18eb75(0x29a)](_0x2a3e35=>{const _0x2df989=_0x18eb75;let _0x5a5286=_0x139bc6[_0x2a3e35];return Array[_0x2df989(0x266)](_0x5a5286)||(_0x5a5286=[_0x5a5286]),_0x5a5286[_0x2df989(0x29a)](_0x5bae79=>_0x5bae79===!0x0?_0x2a3e35:_0x2a3e35+'='+_0x5bae79)[_0x2df989(0x1d6)](';\x20');}))[_0x18eb75(0x1d6)](';\x20'))[_0x18eb75(0x1d6)](',\x20');})[_0x5d8727(0x1d6)](',\x20');}return be={'format':_0x4b8908,'parse':_0x4154a3},be;}function _0x4100(_0x3152c4,_0x58098f){const _0x37151a=_0x3715();return _0x4100=function(_0x4100e4,_0x112852){_0x4100e4=_0x4100e4-0x13c;let _0x37a806=_0x37151a[_0x4100e4];return _0x37a806;},_0x4100(_0x3152c4,_0x58098f);}var we,st;function Ie(){const _0x4a4f21=_0x5b728b;if(st)return we;st=0x1;const _0x485197=_0x26b4d0,_0x409980=_0x1e9eb,_0x307d3b=_0x480143,_0x3c2c92=_0x3e7207,_0x26f85d=_0x22978d,{randomBytes:_0x42bc2b,createHash:_0x25a82c}=_0xa82a62,{Duplex:_0x4de349,Readable:_0x74ad99}=_0x423274,{URL:_0x119c95}=_0x468647,_0x428ee8=he(),_0x3ebe39=dt(),_0x579b0f=_t(),{isBlob:_0x37b801}=ne(),{BINARY_TYPES:_0x562734,EMPTY_BUFFER:_0x598565,GUID:_0x8aee6d,kForOnEventAttribute:_0x406aa3,kListener:_0x238c05,kStatusCode:_0xac7958,kWebSocket:_0x2f566c,NOOP:_0x3dd1c2}=V(),{EventTarget:{addEventListener:_0x4fb8dc,removeEventListener:_0x392308}}=Kt(),{format:_0x4ed91d,parse:_0x40d006}=pt(),{toBuffer:_0xd92f33}=ce(),_0x4b7ff0=0x1e*0x3e8,_0x56e172=Symbol(_0x4a4f21(0x2ce)),_0x4fff30=[0x8,0xd],_0x233f55=['CONNECTING',_0x4a4f21(0x1d5),_0x4a4f21(0x1c0),'CLOSED'],_0x1bfb0e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x54ddba extends _0x485197{constructor(_0x4641fa,_0x225cb7,_0x1d601e){const _0x50cfa7=_0x4a4f21;super(),this[_0x50cfa7(0x264)]=_0x562734[0x0],this[_0x50cfa7(0x17f)]=0x3ee,this[_0x50cfa7(0x1b1)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x50cfa7(0x28a)]=_0x598565,this[_0x50cfa7(0x24a)]=null,this['_errorEmitted']=!0x1,this[_0x50cfa7(0x1a1)]={},this[_0x50cfa7(0x2a6)]=!0x1,this['_protocol']='',this['_readyState']=_0x54ddba['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x50cfa7(0x277)]=null,_0x4641fa!==null?(this[_0x50cfa7(0x2d5)]=0x0,this['_isServer']=!0x1,this[_0x50cfa7(0x24c)]=0x0,_0x225cb7===void 0x0?_0x225cb7=[]:Array['isArray'](_0x225cb7)||(typeof _0x225cb7==_0x50cfa7(0x28b)&&_0x225cb7!==null?(_0x1d601e=_0x225cb7,_0x225cb7=[]):_0x225cb7=[_0x225cb7]),_0x11eaec(this,_0x4641fa,_0x225cb7,_0x1d601e)):(this[_0x50cfa7(0x242)]=_0x1d601e[_0x50cfa7(0x186)],this['_isServer']=!0x0);}get[_0x4a4f21(0x1d9)](){const _0xb6ea2f=_0x4a4f21;return this[_0xb6ea2f(0x264)];}set[_0x4a4f21(0x1d9)](_0x5153b2){const _0xb0a284=_0x4a4f21;_0x562734[_0xb0a284(0x156)](_0x5153b2)&&(this['_binaryType']=_0x5153b2,this[_0xb0a284(0x1c1)]&&(this['_receiver']['_binaryType']=_0x5153b2));}get[_0x4a4f21(0x252)](){const _0x5469bc=_0x4a4f21;return this[_0x5469bc(0x277)]?this['_socket'][_0x5469bc(0x162)][_0x5469bc(0x1d2)]+this[_0x5469bc(0x1df)][_0x5469bc(0x210)]:this[_0x5469bc(0x2d5)];}get[_0x4a4f21(0x2a5)](){const _0x511aa9=_0x4a4f21;return Object['keys'](this[_0x511aa9(0x1a1)])['join']();}get[_0x4a4f21(0x154)](){const _0xea8d19=_0x4a4f21;return this[_0xea8d19(0x2a6)];}get[_0x4a4f21(0x278)](){return null;}get[_0x4a4f21(0x2e3)](){return null;}get[_0x4a4f21(0x2a3)](){return null;}get[_0x4a4f21(0x16b)](){return null;}get[_0x4a4f21(0x21a)](){return this['_protocol'];}get[_0x4a4f21(0x259)](){const _0xa056ec=_0x4a4f21;return this[_0xa056ec(0x2c3)];}get[_0x4a4f21(0x2e2)](){const _0x278f19=_0x4a4f21;return this[_0x278f19(0x18d)];}[_0x4a4f21(0x2d7)](_0x56b091,_0x175065,_0x12ed32){const _0x440828=_0x4a4f21,_0x1ffc26=new _0x3ebe39({'allowSynchronousEvents':_0x12ed32[_0x440828(0x220)],'binaryType':this[_0x440828(0x1d9)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x12ed32[_0x440828(0x291)],'skipUTF8Validation':_0x12ed32[_0x440828(0x1e8)]}),_0x50dc8c=new _0x579b0f(_0x56b091,this[_0x440828(0x1a1)],_0x12ed32[_0x440828(0x2c6)]);this[_0x440828(0x1c1)]=_0x1ffc26,this['_sender']=_0x50dc8c,this[_0x440828(0x277)]=_0x56b091,_0x1ffc26[_0x2f566c]=this,_0x50dc8c[_0x2f566c]=this,_0x56b091[_0x2f566c]=this,_0x1ffc26['on'](_0x440828(0x144),_0x428595),_0x1ffc26['on'](_0x440828(0x2d4),_0x4b2f41),_0x1ffc26['on'](_0x440828(0x239),_0x3bee18),_0x1ffc26['on'](_0x440828(0x247),_0x413eaf),_0x1ffc26['on'](_0x440828(0x219),_0x3e3540),_0x1ffc26['on'](_0x440828(0x20d),_0x54a21d),_0x50dc8c[_0x440828(0x2e3)]=_0x7f7b63,_0x56b091[_0x440828(0x211)]&&_0x56b091[_0x440828(0x211)](0x0),_0x56b091[_0x440828(0x21f)]&&_0x56b091[_0x440828(0x21f)](),_0x175065[_0x440828(0x1d2)]>0x0&&_0x56b091[_0x440828(0x1f2)](_0x175065),_0x56b091['on'](_0x440828(0x2ba),_0x1b2dd5),_0x56b091['on'](_0x440828(0x187),_0x3ea333),_0x56b091['on']('end',_0x11ac24),_0x56b091['on'](_0x440828(0x239),_0x3f8497),this[_0x440828(0x2c3)]=_0x54ddba[_0x440828(0x1d5)],this[_0x440828(0x260)](_0x440828(0x17e));}[_0x4a4f21(0x282)](){const _0x40af0d=_0x4a4f21;if(!this[_0x40af0d(0x277)]){this['_readyState']=_0x54ddba[_0x40af0d(0x230)],this[_0x40af0d(0x260)](_0x40af0d(0x2ba),this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x428ee8[_0x40af0d(0x169)]]&&this[_0x40af0d(0x1a1)][_0x428ee8[_0x40af0d(0x169)]][_0x40af0d(0x23e)](),this[_0x40af0d(0x1c1)][_0x40af0d(0x19c)](),this[_0x40af0d(0x2c3)]=_0x54ddba[_0x40af0d(0x230)],this[_0x40af0d(0x260)]('close',this['_closeCode'],this[_0x40af0d(0x28a)]);}[_0x4a4f21(0x2ba)](_0x578c8a,_0x206aa5){const _0x1ed872=_0x4a4f21;if(this[_0x1ed872(0x259)]!==_0x54ddba[_0x1ed872(0x230)]){if(this[_0x1ed872(0x259)]===_0x54ddba[_0x1ed872(0x21d)]){_0x13755a(this,this[_0x1ed872(0x1f7)],_0x1ed872(0x152));return;}if(this['readyState']===_0x54ddba['CLOSING']){this[_0x1ed872(0x1cf)]&&(this['_closeFrameReceived']||this[_0x1ed872(0x1c1)][_0x1ed872(0x162)][_0x1ed872(0x14e)])&&this[_0x1ed872(0x277)][_0x1ed872(0x1eb)]();return;}this[_0x1ed872(0x2c3)]=_0x54ddba['CLOSING'],this[_0x1ed872(0x1df)][_0x1ed872(0x2ba)](_0x578c8a,_0x206aa5,!this[_0x1ed872(0x2d8)],_0xa61b0f=>{const _0x27a2d7=_0x1ed872;_0xa61b0f||(this[_0x27a2d7(0x1cf)]=!0x0,(this['_closeFrameReceived']||this[_0x27a2d7(0x1c1)][_0x27a2d7(0x162)]['errorEmitted'])&&this[_0x27a2d7(0x277)][_0x27a2d7(0x1eb)]());}),_0x577ec0(this);}}['pause'](){const _0x25af88=_0x4a4f21;this['readyState']===_0x54ddba['CONNECTING']||this['readyState']===_0x54ddba[_0x25af88(0x230)]||(this['_paused']=!0x0,this['_socket'][_0x25af88(0x2ae)]());}[_0x4a4f21(0x219)](_0x5b6251,_0x15ef9c,_0x3073f7){const _0x323e2f=_0x4a4f21;if(this[_0x323e2f(0x259)]===_0x54ddba[_0x323e2f(0x21d)])throw new Error(_0x323e2f(0x2a1));if(typeof _0x5b6251==_0x323e2f(0x1b5)?(_0x3073f7=_0x5b6251,_0x5b6251=_0x15ef9c=void 0x0):typeof _0x15ef9c=='function'&&(_0x3073f7=_0x15ef9c,_0x15ef9c=void 0x0),typeof _0x5b6251==_0x323e2f(0x2c0)&&(_0x5b6251=_0x5b6251['toString']()),this['readyState']!==_0x54ddba[_0x323e2f(0x1d5)]){_0x42f48d(this,_0x5b6251,_0x3073f7);return;}_0x15ef9c===void 0x0&&(_0x15ef9c=!this['_isServer']),this[_0x323e2f(0x1df)][_0x323e2f(0x219)](_0x5b6251||_0x598565,_0x15ef9c,_0x3073f7);}[_0x4a4f21(0x20d)](_0x568140,_0x19ff44,_0x562838){const _0x2d4c5b=_0x4a4f21;if(this[_0x2d4c5b(0x259)]===_0x54ddba[_0x2d4c5b(0x21d)])throw new Error(_0x2d4c5b(0x2a1));if(typeof _0x568140==_0x2d4c5b(0x1b5)?(_0x562838=_0x568140,_0x568140=_0x19ff44=void 0x0):typeof _0x19ff44==_0x2d4c5b(0x1b5)&&(_0x562838=_0x19ff44,_0x19ff44=void 0x0),typeof _0x568140==_0x2d4c5b(0x2c0)&&(_0x568140=_0x568140[_0x2d4c5b(0x2b0)]()),this['readyState']!==_0x54ddba['OPEN']){_0x42f48d(this,_0x568140,_0x562838);return;}_0x19ff44===void 0x0&&(_0x19ff44=!this[_0x2d4c5b(0x2d8)]),this[_0x2d4c5b(0x1df)][_0x2d4c5b(0x20d)](_0x568140||_0x598565,_0x19ff44,_0x562838);}[_0x4a4f21(0x2ec)](){const _0x10783f=_0x4a4f21;this[_0x10783f(0x259)]===_0x54ddba[_0x10783f(0x21d)]||this['readyState']===_0x54ddba[_0x10783f(0x230)]||(this[_0x10783f(0x2a6)]=!0x1,this[_0x10783f(0x1c1)][_0x10783f(0x162)][_0x10783f(0x29f)]||this[_0x10783f(0x277)]['resume']());}[_0x4a4f21(0x1d3)](_0x57de71,_0x13054b,_0x4904fe){const _0x231be5=_0x4a4f21;if(this['readyState']===_0x54ddba[_0x231be5(0x21d)])throw new Error(_0x231be5(0x2a1));if(typeof _0x13054b==_0x231be5(0x1b5)&&(_0x4904fe=_0x13054b,_0x13054b={}),typeof _0x57de71==_0x231be5(0x2c0)&&(_0x57de71=_0x57de71[_0x231be5(0x2b0)]()),this[_0x231be5(0x259)]!==_0x54ddba['OPEN']){_0x42f48d(this,_0x57de71,_0x4904fe);return;}const _0x16c6c3={'binary':typeof _0x57de71!=_0x231be5(0x274),'mask':!this[_0x231be5(0x2d8)],'compress':!0x0,'fin':!0x0,..._0x13054b};this[_0x231be5(0x1a1)][_0x428ee8['extensionName']]||(_0x16c6c3[_0x231be5(0x1c4)]=!0x1),this[_0x231be5(0x1df)][_0x231be5(0x1d3)](_0x57de71||_0x598565,_0x16c6c3,_0x4904fe);}['terminate'](){const _0x4eccd3=_0x4a4f21;if(this['readyState']!==_0x54ddba['CLOSED']){if(this[_0x4eccd3(0x259)]===_0x54ddba[_0x4eccd3(0x21d)]){_0x13755a(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4eccd3(0x277)]&&(this[_0x4eccd3(0x2c3)]=_0x54ddba[_0x4eccd3(0x1c0)],this['_socket'][_0x4eccd3(0x1f0)]());}}}Object['defineProperty'](_0x54ddba,_0x4a4f21(0x21d),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x21d))}),Object['defineProperty'](_0x54ddba[_0x4a4f21(0x199)],'CONNECTING',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x21d))}),Object['defineProperty'](_0x54ddba,'OPEN',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1d5))}),Object[_0x4a4f21(0x218)](_0x54ddba[_0x4a4f21(0x199)],'OPEN',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)]('OPEN')}),Object[_0x4a4f21(0x218)](_0x54ddba,_0x4a4f21(0x1c0),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1c0))}),Object[_0x4a4f21(0x218)](_0x54ddba[_0x4a4f21(0x199)],_0x4a4f21(0x1c0),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1c0))}),Object['defineProperty'](_0x54ddba,'CLOSED',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)]('CLOSED')}),Object[_0x4a4f21(0x218)](_0x54ddba['prototype'],_0x4a4f21(0x230),{'enumerable':!0x0,'value':_0x233f55['indexOf'](_0x4a4f21(0x230))}),[_0x4a4f21(0x1d9),_0x4a4f21(0x252),_0x4a4f21(0x2a5),'isPaused','protocol',_0x4a4f21(0x259),_0x4a4f21(0x2e2)][_0x4a4f21(0x1d8)](_0x17712b=>{const _0x28592f=_0x4a4f21;Object[_0x28592f(0x218)](_0x54ddba['prototype'],_0x17712b,{'enumerable':!0x0});}),[_0x4a4f21(0x17e),_0x4a4f21(0x239),_0x4a4f21(0x2ba),'message'][_0x4a4f21(0x1d8)](_0x418a53=>{const _0x301dcc=_0x4a4f21;Object[_0x301dcc(0x218)](_0x54ddba[_0x301dcc(0x199)],'on'+_0x418a53,{'enumerable':!0x0,'get'(){for(const _0xaf63cd of this['listeners'](_0x418a53))if(_0xaf63cd[_0x406aa3])return _0xaf63cd[_0x238c05];return null;},'set'(_0x24201b){const _0x2665f2=_0x301dcc;for(const _0x563e01 of this[_0x2665f2(0x1ad)](_0x418a53))if(_0x563e01[_0x406aa3]){this[_0x2665f2(0x146)](_0x418a53,_0x563e01);break;}typeof _0x24201b=='function'&&this[_0x2665f2(0x2c7)](_0x418a53,_0x24201b,{[_0x406aa3]:!0x0});}});}),_0x54ddba[_0x4a4f21(0x199)][_0x4a4f21(0x2c7)]=_0x4fb8dc,_0x54ddba[_0x4a4f21(0x199)][_0x4a4f21(0x26c)]=_0x392308,we=_0x54ddba;function _0x11eaec(_0xde6504,_0x139098,_0x1f3c17,_0x27ab68){const _0x206303=_0x4a4f21,_0x4c50c9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4fff30[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x27ab68,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x206303(0x153),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xde6504[_0x206303(0x242)]=_0x4c50c9[_0x206303(0x186)],!_0x4fff30[_0x206303(0x156)](_0x4c50c9[_0x206303(0x1f3)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4c50c9[_0x206303(0x1f3)]+_0x206303(0x208)+_0x4fff30['join'](',\x20')+')');let _0x55a0f2;if(_0x139098 instanceof _0x119c95)_0x55a0f2=_0x139098;else try{_0x55a0f2=new _0x119c95(_0x139098);}catch{throw new SyntaxError(_0x206303(0x140)+_0x139098);}_0x55a0f2[_0x206303(0x21a)]==='http:'?_0x55a0f2[_0x206303(0x21a)]=_0x206303(0x1fe):_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x261)&&(_0x55a0f2['protocol']=_0x206303(0x27a)),_0xde6504[_0x206303(0x18d)]=_0x55a0f2[_0x206303(0x23b)];const _0x2cda95=_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x27a),_0x5a2927=_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x13e);let _0x4f277c;if(_0x55a0f2[_0x206303(0x21a)]!==_0x206303(0x1fe)&&!_0x2cda95&&!_0x5a2927?_0x4f277c=_0x206303(0x258):_0x5a2927&&!_0x55a0f2[_0x206303(0x188)]?_0x4f277c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x55a0f2[_0x206303(0x251)]&&(_0x4f277c=_0x206303(0x296)),_0x4f277c){const _0x3a164f=new SyntaxError(_0x4f277c);if(_0xde6504[_0x206303(0x24c)]===0x0)throw _0x3a164f;_0x50ee14(_0xde6504,_0x3a164f);return;}const _0x51b244=_0x2cda95?0x1bb:0x50,_0x20672e=_0x42bc2b(0x10)[_0x206303(0x2b0)](_0x206303(0x1cb)),_0x238bba=_0x2cda95?_0x409980[_0x206303(0x16c)]:_0x307d3b[_0x206303(0x16c)],_0x5b8e0f=new Set();let _0x42914d;if(_0x4c50c9['createConnection']=_0x4c50c9[_0x206303(0x13c)]||(_0x2cda95?_0x580675:_0x229076),_0x4c50c9['defaultPort']=_0x4c50c9[_0x206303(0x14c)]||_0x51b244,_0x4c50c9['port']=_0x55a0f2[_0x206303(0x2cf)]||_0x51b244,_0x4c50c9['host']=_0x55a0f2['hostname'][_0x206303(0x281)]('[')?_0x55a0f2[_0x206303(0x2b8)][_0x206303(0x205)](0x1,-0x1):_0x55a0f2['hostname'],_0x4c50c9[_0x206303(0x161)]={..._0x4c50c9[_0x206303(0x161)],'Sec-WebSocket-Version':_0x4c50c9[_0x206303(0x1f3)],'Sec-WebSocket-Key':_0x20672e,'Connection':'Upgrade','Upgrade':'websocket'},_0x4c50c9[_0x206303(0x1c9)]=_0x55a0f2[_0x206303(0x188)]+_0x55a0f2['search'],_0x4c50c9[_0x206303(0x27c)]=_0x4c50c9[_0x206303(0x1e7)],_0x4c50c9[_0x206303(0x2b7)]&&(_0x42914d=new _0x428ee8(_0x4c50c9[_0x206303(0x2b7)]!==!0x0?_0x4c50c9[_0x206303(0x2b7)]:{},!0x1,_0x4c50c9['maxPayload']),_0x4c50c9['headers']['Sec-WebSocket-Extensions']=_0x4ed91d({[_0x428ee8[_0x206303(0x169)]]:_0x42914d[_0x206303(0x2b4)]()})),_0x1f3c17[_0x206303(0x1d2)]){for(const _0x2d6b98 of _0x1f3c17){if(typeof _0x2d6b98!='string'||!_0x1bfb0e[_0x206303(0x1a3)](_0x2d6b98)||_0x5b8e0f['has'](_0x2d6b98))throw new SyntaxError(_0x206303(0x147));_0x5b8e0f[_0x206303(0x270)](_0x2d6b98);}_0x4c50c9[_0x206303(0x161)][_0x206303(0x1bc)]=_0x1f3c17[_0x206303(0x1d6)](',');}if(_0x4c50c9['origin']&&(_0x4c50c9[_0x206303(0x1f3)]<0xd?_0x4c50c9[_0x206303(0x161)][_0x206303(0x19b)]=_0x4c50c9[_0x206303(0x1f1)]:_0x4c50c9[_0x206303(0x161)][_0x206303(0x240)]=_0x4c50c9[_0x206303(0x1f1)]),(_0x55a0f2['username']||_0x55a0f2['password'])&&(_0x4c50c9[_0x206303(0x1ff)]=_0x55a0f2[_0x206303(0x222)]+':'+_0x55a0f2[_0x206303(0x1db)]),_0x5a2927){const _0x501e95=_0x4c50c9[_0x206303(0x1c9)][_0x206303(0x1ab)](':');_0x4c50c9['socketPath']=_0x501e95[0x0],_0x4c50c9[_0x206303(0x1c9)]=_0x501e95[0x1];}let _0x545b2e;if(_0x4c50c9[_0x206303(0x233)]){if(_0xde6504[_0x206303(0x24c)]===0x0){_0xde6504[_0x206303(0x216)]=_0x5a2927,_0xde6504['_originalSecure']=_0x2cda95,_0xde6504[_0x206303(0x173)]=_0x5a2927?_0x4c50c9[_0x206303(0x1b0)]:_0x55a0f2[_0x206303(0x25f)];const _0x4faa5c=_0x27ab68&&_0x27ab68[_0x206303(0x161)];if(_0x27ab68={..._0x27ab68,'headers':{}},_0x4faa5c){for(const [_0x5524e0,_0x44cab3]of Object[_0x206303(0x1be)](_0x4faa5c))_0x27ab68[_0x206303(0x161)][_0x5524e0[_0x206303(0x2c8)]()]=_0x44cab3;}}else{if(_0xde6504[_0x206303(0x2b3)](_0x206303(0x1a0))===0x0){const _0xa0ffa=_0x5a2927?_0xde6504[_0x206303(0x216)]?_0x4c50c9['socketPath']===_0xde6504[_0x206303(0x173)]:!0x1:_0xde6504[_0x206303(0x216)]?!0x1:_0x55a0f2[_0x206303(0x25f)]===_0xde6504['_originalHostOrSocketPath'];(!_0xa0ffa||_0xde6504['_originalSecure']&&!_0x2cda95)&&(delete _0x4c50c9[_0x206303(0x161)][_0x206303(0x25a)],delete _0x4c50c9[_0x206303(0x161)][_0x206303(0x17d)],_0xa0ffa||delete _0x4c50c9[_0x206303(0x161)]['host'],_0x4c50c9[_0x206303(0x1ff)]=void 0x0);}}_0x4c50c9[_0x206303(0x1ff)]&&!_0x27ab68[_0x206303(0x161)][_0x206303(0x25a)]&&(_0x27ab68[_0x206303(0x161)][_0x206303(0x25a)]='Basic\x20'+Buffer['from'](_0x4c50c9[_0x206303(0x1ff)])['toString'](_0x206303(0x1cb))),_0x545b2e=_0xde6504[_0x206303(0x1f7)]=_0x238bba(_0x4c50c9),_0xde6504[_0x206303(0x24c)]&&_0xde6504[_0x206303(0x260)](_0x206303(0x1a0),_0xde6504['url'],_0x545b2e);}else _0x545b2e=_0xde6504[_0x206303(0x1f7)]=_0x238bba(_0x4c50c9);_0x4c50c9[_0x206303(0x27c)]&&_0x545b2e['on'](_0x206303(0x27c),()=>{_0x13755a(_0xde6504,_0x545b2e,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x545b2e['on'](_0x206303(0x239),_0x19a367=>{const _0x405104=_0x206303;_0x545b2e===null||_0x545b2e[_0x56e172]||(_0x545b2e=_0xde6504[_0x405104(0x1f7)]=null,_0x50ee14(_0xde6504,_0x19a367));}),_0x545b2e['on'](_0x206303(0x26d),_0xac2ce4=>{const _0x17d58a=_0x206303,_0x3c8f1e=_0xac2ce4[_0x17d58a(0x161)]['location'],_0x1a19d1=_0xac2ce4['statusCode'];if(_0x3c8f1e&&_0x4c50c9['followRedirects']&&_0x1a19d1>=0x12c&&_0x1a19d1<0x190){if(++_0xde6504[_0x17d58a(0x24c)]>_0x4c50c9[_0x17d58a(0x193)]){_0x13755a(_0xde6504,_0x545b2e,_0x17d58a(0x2e9));return;}_0x545b2e[_0x17d58a(0x231)]();let _0x3b8c6a;try{_0x3b8c6a=new _0x119c95(_0x3c8f1e,_0x139098);}catch{const _0x5acc08=new SyntaxError(_0x17d58a(0x140)+_0x3c8f1e);_0x50ee14(_0xde6504,_0x5acc08);return;}_0x11eaec(_0xde6504,_0x3b8c6a,_0x1f3c17,_0x27ab68);}else _0xde6504[_0x17d58a(0x260)](_0x17d58a(0x15f),_0x545b2e,_0xac2ce4)||_0x13755a(_0xde6504,_0x545b2e,_0x17d58a(0x2bf)+_0xac2ce4[_0x17d58a(0x1d7)]);}),_0x545b2e['on'](_0x206303(0x27e),(_0x3856f1,_0x460eb8,_0x130367)=>{const _0xe7a32b=_0x206303;if(_0xde6504[_0xe7a32b(0x260)](_0xe7a32b(0x27e),_0x3856f1),_0xde6504[_0xe7a32b(0x259)]!==_0x54ddba['CONNECTING'])return;_0x545b2e=_0xde6504[_0xe7a32b(0x1f7)]=null;const _0x1c1fa3=_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x27e)];if(_0x1c1fa3===void 0x0||_0x1c1fa3['toLowerCase']()!=='websocket'){_0x13755a(_0xde6504,_0x460eb8,'Invalid\x20Upgrade\x20header');return;}const _0x1ac1bb=_0x25a82c(_0xe7a32b(0x1b7))[_0xe7a32b(0x1fb)](_0x20672e+_0x8aee6d)[_0xe7a32b(0x2d0)](_0xe7a32b(0x1cb));if(_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x256)]!==_0x1ac1bb){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x248));return;}const _0x41300a=_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x23f)];let _0xb6d000;if(_0x41300a!==void 0x0?_0x5b8e0f[_0xe7a32b(0x204)]?_0x5b8e0f[_0xe7a32b(0x185)](_0x41300a)||(_0xb6d000=_0xe7a32b(0x1e9)):_0xb6d000=_0xe7a32b(0x28d):_0x5b8e0f['size']&&(_0xb6d000='Server\x20sent\x20no\x20subprotocol'),_0xb6d000){_0x13755a(_0xde6504,_0x460eb8,_0xb6d000);return;}_0x41300a&&(_0xde6504['_protocol']=_0x41300a);const _0x3a8831=_0x3856f1[_0xe7a32b(0x161)]['sec-websocket-extensions'];if(_0x3a8831!==void 0x0){if(!_0x42914d){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x198));return;}let _0xd5094e;try{_0xd5094e=_0x40d006(_0x3a8831);}catch{_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x299));return;}const _0x505d92=Object[_0xe7a32b(0x1bb)](_0xd5094e);if(_0x505d92[_0xe7a32b(0x1d2)]!==0x1||_0x505d92[0x0]!==_0x428ee8[_0xe7a32b(0x169)]){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x209));return;}try{_0x42914d[_0xe7a32b(0x22e)](_0xd5094e[_0x428ee8[_0xe7a32b(0x169)]]);}catch{_0x13755a(_0xde6504,_0x460eb8,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xde6504['_extensions'][_0x428ee8[_0xe7a32b(0x169)]]=_0x42914d;}_0xde6504[_0xe7a32b(0x2d7)](_0x460eb8,_0x130367,{'allowSynchronousEvents':_0x4c50c9[_0xe7a32b(0x220)],'generateMask':_0x4c50c9[_0xe7a32b(0x2c6)],'maxPayload':_0x4c50c9[_0xe7a32b(0x291)],'skipUTF8Validation':_0x4c50c9[_0xe7a32b(0x1e8)]});}),_0x4c50c9[_0x206303(0x286)]?_0x4c50c9[_0x206303(0x286)](_0x545b2e,_0xde6504):_0x545b2e['end']();}function _0x50ee14(_0x5dffff,_0x132eba){const _0x56085f=_0x4a4f21;_0x5dffff[_0x56085f(0x2c3)]=_0x54ddba[_0x56085f(0x1c0)],_0x5dffff[_0x56085f(0x2e8)]=!0x0,_0x5dffff['emit'](_0x56085f(0x239),_0x132eba),_0x5dffff[_0x56085f(0x282)]();}function _0x229076(_0x1a764c){const _0x179da7=_0x4a4f21;return _0x1a764c[_0x179da7(0x1c9)]=_0x1a764c[_0x179da7(0x1b0)],_0x3c2c92['connect'](_0x1a764c);}function _0x580675(_0x593529){const _0x661057=_0x4a4f21;return _0x593529[_0x661057(0x1c9)]=void 0x0,!_0x593529['servername']&&_0x593529['servername']!==''&&(_0x593529[_0x661057(0x191)]=_0x3c2c92[_0x661057(0x16a)](_0x593529['host'])?'':_0x593529[_0x661057(0x25f)]),_0x26f85d['connect'](_0x593529);}function _0x13755a(_0x355fbb,_0x226cd6,_0x593a08){const _0x1f5c12=_0x4a4f21;_0x355fbb['_readyState']=_0x54ddba['CLOSING'];const _0x45209d=new Error(_0x593a08);Error[_0x1f5c12(0x297)](_0x45209d,_0x13755a),_0x226cd6[_0x1f5c12(0x2de)]?(_0x226cd6[_0x56e172]=!0x0,_0x226cd6['abort'](),_0x226cd6[_0x1f5c12(0x1e5)]&&!_0x226cd6['socket']['destroyed']&&_0x226cd6[_0x1f5c12(0x1e5)][_0x1f5c12(0x1f0)](),process[_0x1f5c12(0x1b8)](_0x50ee14,_0x355fbb,_0x45209d)):(_0x226cd6['destroy'](_0x45209d),_0x226cd6[_0x1f5c12(0x1e0)](_0x1f5c12(0x239),_0x355fbb['emit'][_0x1f5c12(0x1ea)](_0x355fbb,'error')),_0x226cd6[_0x1f5c12(0x1e0)](_0x1f5c12(0x2ba),_0x355fbb[_0x1f5c12(0x282)]['bind'](_0x355fbb)));}function _0x42f48d(_0x7e786f,_0xdcad2d,_0x569b21){const _0x10e916=_0x4a4f21;if(_0xdcad2d){const _0x2d670c=_0x37b801(_0xdcad2d)?_0xdcad2d[_0x10e916(0x204)]:_0xd92f33(_0xdcad2d)[_0x10e916(0x1d2)];_0x7e786f['_socket']?_0x7e786f[_0x10e916(0x1df)][_0x10e916(0x210)]+=_0x2d670c:_0x7e786f[_0x10e916(0x2d5)]+=_0x2d670c;}if(_0x569b21){const _0x12c61a=new Error(_0x10e916(0x148)+_0x7e786f['readyState']+'\x20('+_0x233f55[_0x7e786f[_0x10e916(0x259)]]+')');process[_0x10e916(0x1b8)](_0x569b21,_0x12c61a);}}function _0x428595(_0x2a00b0,_0x56e173){const _0x1c7988=_0x4a4f21,_0x4ce7e9=this[_0x2f566c];_0x4ce7e9['_closeFrameReceived']=!0x0,_0x4ce7e9['_closeMessage']=_0x56e173,_0x4ce7e9[_0x1c7988(0x17f)]=_0x2a00b0,_0x4ce7e9[_0x1c7988(0x277)][_0x2f566c]!==void 0x0&&(_0x4ce7e9[_0x1c7988(0x277)][_0x1c7988(0x146)](_0x1c7988(0x187),_0x3ea333),process['nextTick'](_0x280f19,_0x4ce7e9[_0x1c7988(0x277)]),_0x2a00b0===0x3ed?_0x4ce7e9[_0x1c7988(0x2ba)]():_0x4ce7e9['close'](_0x2a00b0,_0x56e173));}function _0x4b2f41(){const _0x1d4f57=_0x4a4f21,_0x269cf2=this[_0x2f566c];_0x269cf2[_0x1d4f57(0x154)]||_0x269cf2['_socket']['resume']();}function _0x3bee18(_0x3e6b89){const _0x25f1cf=_0x4a4f21,_0x5625d5=this[_0x2f566c];_0x5625d5[_0x25f1cf(0x277)][_0x2f566c]!==void 0x0&&(_0x5625d5[_0x25f1cf(0x277)][_0x25f1cf(0x146)](_0x25f1cf(0x187),_0x3ea333),process[_0x25f1cf(0x1b8)](_0x280f19,_0x5625d5[_0x25f1cf(0x277)]),_0x5625d5[_0x25f1cf(0x2ba)](_0x3e6b89[_0xac7958])),_0x5625d5[_0x25f1cf(0x2e8)]||(_0x5625d5[_0x25f1cf(0x2e8)]=!0x0,_0x5625d5[_0x25f1cf(0x260)]('error',_0x3e6b89));}function _0x3ed65d(){this[_0x2f566c]['emitClose']();}function _0x413eaf(_0x5aa854,_0x3af0ab){const _0x202984=_0x4a4f21;this[_0x2f566c][_0x202984(0x260)](_0x202984(0x247),_0x5aa854,_0x3af0ab);}function _0x3e3540(_0x3331dc){const _0x56e231=_0x4a4f21,_0x2b31ef=this[_0x2f566c];_0x2b31ef['_autoPong']&&_0x2b31ef[_0x56e231(0x20d)](_0x3331dc,!this['_isServer'],_0x3dd1c2),_0x2b31ef[_0x56e231(0x260)](_0x56e231(0x219),_0x3331dc);}function _0x54a21d(_0xf0ee78){const _0x23454e=_0x4a4f21;this[_0x2f566c][_0x23454e(0x260)](_0x23454e(0x20d),_0xf0ee78);}function _0x280f19(_0x3fe3eb){const _0x304cae=_0x4a4f21;_0x3fe3eb[_0x304cae(0x2ec)]();}function _0x7f7b63(_0x51f295){const _0x247f3a=_0x4a4f21,_0x42ff9a=this[_0x2f566c];_0x42ff9a[_0x247f3a(0x259)]!==_0x54ddba[_0x247f3a(0x230)]&&(_0x42ff9a[_0x247f3a(0x259)]===_0x54ddba[_0x247f3a(0x1d5)]&&(_0x42ff9a[_0x247f3a(0x2c3)]=_0x54ddba[_0x247f3a(0x1c0)],_0x577ec0(_0x42ff9a)),this[_0x247f3a(0x277)][_0x247f3a(0x1eb)](),_0x42ff9a['_errorEmitted']||(_0x42ff9a[_0x247f3a(0x2e8)]=!0x0,_0x42ff9a[_0x247f3a(0x260)](_0x247f3a(0x239),_0x51f295)));}function _0x577ec0(_0x5bbe88){const _0x274ab4=_0x4a4f21;_0x5bbe88[_0x274ab4(0x24a)]=setTimeout(_0x5bbe88[_0x274ab4(0x277)]['destroy']['bind'](_0x5bbe88['_socket']),_0x4b7ff0);}function _0x1b2dd5(){const _0x4c8734=_0x4a4f21,_0x2e1fef=this[_0x2f566c];this['removeListener'](_0x4c8734(0x2ba),_0x1b2dd5),this[_0x4c8734(0x146)]('data',_0x3ea333),this['removeListener']('end',_0x11ac24),_0x2e1fef[_0x4c8734(0x2c3)]=_0x54ddba['CLOSING'];let _0x100407;!this[_0x4c8734(0x283)][_0x4c8734(0x1f5)]&&!_0x2e1fef[_0x4c8734(0x1b1)]&&!_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x14e)]&&(_0x100407=_0x2e1fef[_0x4c8734(0x277)][_0x4c8734(0x25b)]())!==null&&_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x1a2)](_0x100407),_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x1eb)](),this[_0x2f566c]=void 0x0,clearTimeout(_0x2e1fef[_0x4c8734(0x24a)]),_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x2db)]||_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x14e)]?_0x2e1fef[_0x4c8734(0x282)]():(_0x2e1fef[_0x4c8734(0x1c1)]['on'](_0x4c8734(0x239),_0x3ed65d),_0x2e1fef[_0x4c8734(0x1c1)]['on']('finish',_0x3ed65d));}function _0x3ea333(_0xbe713b){const _0x6cc31=_0x4a4f21;this[_0x2f566c][_0x6cc31(0x1c1)][_0x6cc31(0x1a2)](_0xbe713b)||this[_0x6cc31(0x2ae)]();}function _0x11ac24(){const _0x3660b7=_0x4a4f21,_0x1a80c2=this[_0x2f566c];_0x1a80c2[_0x3660b7(0x2c3)]=_0x54ddba[_0x3660b7(0x1c0)],_0x1a80c2[_0x3660b7(0x1c1)]['end'](),this[_0x3660b7(0x1eb)]();}function _0x3f8497(){const _0x309395=_0x4a4f21,_0x55a4d3=this[_0x2f566c];this['removeListener']('error',_0x3f8497),this['on'](_0x309395(0x239),_0x3dd1c2),_0x55a4d3&&(_0x55a4d3['_readyState']=_0x54ddba['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x14f97a}=_0x423274;function _0x59d4e2(_0x384fed){const _0x36111b=_0x4100;_0x384fed[_0x36111b(0x260)](_0x36111b(0x2ba));}function _0x567475(){const _0x35a7f0=_0x4100;!this[_0x35a7f0(0x172)]&&this['_writableState']['finished']&&this[_0x35a7f0(0x1f0)]();}function _0x4adf0f(_0x5ce898){const _0x2d2aa7=_0x4100;this[_0x2d2aa7(0x146)]('error',_0x4adf0f),this['destroy'](),this[_0x2d2aa7(0x2b3)](_0x2d2aa7(0x239))===0x0&&this[_0x2d2aa7(0x260)](_0x2d2aa7(0x239),_0x5ce898);}function _0x2dbc46(_0x4ca842,_0x2cbfd2){const _0x4e8701=_0x4100;let _0x95c6f3=!0x0;const _0xf8b0d3=new _0x14f97a({..._0x2cbfd2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ca842['on']('message',function(_0x27e506,_0x3ef6aa){const _0x424af0=_0x4100,_0x20b73a=!_0x3ef6aa&&_0xf8b0d3['_readableState'][_0x424af0(0x19a)]?_0x27e506[_0x424af0(0x2b0)]():_0x27e506;_0xf8b0d3[_0x424af0(0x1b6)](_0x20b73a)||_0x4ca842['pause']();}),_0x4ca842[_0x4e8701(0x1e0)](_0x4e8701(0x239),function(_0x547855){const _0x13bd15=_0x4e8701;_0xf8b0d3[_0x13bd15(0x172)]||(_0x95c6f3=!0x1,_0xf8b0d3[_0x13bd15(0x1f0)](_0x547855));}),_0x4ca842['once'](_0x4e8701(0x2ba),function(){const _0x33d60c=_0x4e8701;_0xf8b0d3[_0x33d60c(0x172)]||_0xf8b0d3[_0x33d60c(0x1b6)](null);}),_0xf8b0d3[_0x4e8701(0x2be)]=function(_0x2558e4,_0x3346af){const _0x557d77=_0x4e8701;if(_0x4ca842[_0x557d77(0x259)]===_0x4ca842[_0x557d77(0x230)]){_0x3346af(_0x2558e4),process[_0x557d77(0x1b8)](_0x59d4e2,_0xf8b0d3);return;}let _0x364d62=!0x1;_0x4ca842[_0x557d77(0x1e0)](_0x557d77(0x239),function(_0x370f83){_0x364d62=!0x0,_0x3346af(_0x370f83);}),_0x4ca842[_0x557d77(0x1e0)](_0x557d77(0x2ba),function(){const _0x50ca83=_0x557d77;_0x364d62||_0x3346af(_0x2558e4),process[_0x50ca83(0x1b8)](_0x59d4e2,_0xf8b0d3);}),_0x95c6f3&&_0x4ca842['terminate']();},_0xf8b0d3[_0x4e8701(0x2b6)]=function(_0x2e949c){const _0x3a35bf=_0x4e8701;if(_0x4ca842[_0x3a35bf(0x259)]===_0x4ca842['CONNECTING']){_0x4ca842[_0x3a35bf(0x1e0)](_0x3a35bf(0x17e),function(){_0xf8b0d3['_final'](_0x2e949c);});return;}_0x4ca842['_socket']!==null&&(_0x4ca842[_0x3a35bf(0x277)][_0x3a35bf(0x162)][_0x3a35bf(0x2db)]?(_0x2e949c(),_0xf8b0d3[_0x3a35bf(0x283)]['endEmitted']&&_0xf8b0d3['destroy']()):(_0x4ca842['_socket'][_0x3a35bf(0x1e0)]('finish',function(){_0x2e949c();}),_0x4ca842[_0x3a35bf(0x2ba)]()));},_0xf8b0d3[_0x4e8701(0x29b)]=function(){const _0xba13b9=_0x4e8701;_0x4ca842[_0xba13b9(0x154)]&&_0x4ca842['resume']();},_0xf8b0d3['_write']=function(_0x55a1d5,_0x12ce9,_0x5d8bf0){const _0x1a0451=_0x4e8701;if(_0x4ca842['readyState']===_0x4ca842[_0x1a0451(0x21d)]){_0x4ca842[_0x1a0451(0x1e0)](_0x1a0451(0x17e),function(){const _0x5d4939=_0x1a0451;_0xf8b0d3[_0x5d4939(0x2c2)](_0x55a1d5,_0x12ce9,_0x5d8bf0);});return;}_0x4ca842['send'](_0x55a1d5,_0x5d8bf0);},_0xf8b0d3['on'](_0x4e8701(0x1eb),_0x567475),_0xf8b0d3['on'](_0x4e8701(0x239),_0x4adf0f),_0xf8b0d3;}return Oe=_0x2dbc46,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x151f54}=ne();function _0x14e87a(_0x2276ee){const _0x1857d9=_0x4100,_0x306819=new Set();let _0xade97b=-0x1,_0x7db9cd=-0x1,_0x490f3b=0x0;for(_0x490f3b;_0x490f3b<_0x2276ee[_0x1857d9(0x1d2)];_0x490f3b++){const _0x53d705=_0x2276ee[_0x1857d9(0x2c9)](_0x490f3b);if(_0x7db9cd===-0x1&&_0x151f54[_0x53d705]===0x1)_0xade97b===-0x1&&(_0xade97b=_0x490f3b);else{if(_0x490f3b!==0x0&&(_0x53d705===0x20||_0x53d705===0x9))_0x7db9cd===-0x1&&_0xade97b!==-0x1&&(_0x7db9cd=_0x490f3b);else{if(_0x53d705===0x2c){if(_0xade97b===-0x1)throw new SyntaxError(_0x1857d9(0x15d)+_0x490f3b);_0x7db9cd===-0x1&&(_0x7db9cd=_0x490f3b);const _0x6aaeb9=_0x2276ee[_0x1857d9(0x205)](_0xade97b,_0x7db9cd);if(_0x306819['has'](_0x6aaeb9))throw new SyntaxError(_0x1857d9(0x21c)+_0x6aaeb9+_0x1857d9(0x238));_0x306819[_0x1857d9(0x270)](_0x6aaeb9),_0xade97b=_0x7db9cd=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x490f3b);}}}if(_0xade97b===-0x1||_0x7db9cd!==-0x1)throw new SyntaxError(_0x1857d9(0x14d));const _0x44df52=_0x2276ee[_0x1857d9(0x205)](_0xade97b,_0x490f3b);if(_0x306819[_0x1857d9(0x185)](_0x44df52))throw new SyntaxError(_0x1857d9(0x21c)+_0x44df52+_0x1857d9(0x238));return _0x306819['add'](_0x44df52),_0x306819;}return Ce={'parse':_0x14e87a},Ce;}var Te,ot;function er(){const _0x596868=_0x5b728b;if(ot)return Te;ot=0x1;const _0x4c33d7=_0x26b4d0,_0x57534a=_0x480143,{Duplex:_0x4ba047}=_0x423274,{createHash:_0x148ca3}=_0xa82a62,_0xa3de9a=pt(),_0x43cd8d=he(),_0x4a06b4=Jt(),_0x325876=Ie(),{GUID:_0x33ef88,kWebSocket:_0x195c0b}=V(),_0xfb4484=/^[+/0-9A-Za-z]{22}==$/,_0x4aa6a=0x0,_0x3f5463=0x1,_0x365d3d=0x2;class _0x42bba1 extends _0x4c33d7{constructor(_0x424b4a,_0x175125){const _0x2efd8f=_0x4100;if(super(),_0x424b4a={'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':_0x325876,..._0x424b4a},_0x424b4a[_0x2efd8f(0x2cf)]==null&&!_0x424b4a[_0x2efd8f(0x206)]&&!_0x424b4a['noServer']||_0x424b4a['port']!=null&&(_0x424b4a[_0x2efd8f(0x206)]||_0x424b4a[_0x2efd8f(0x235)])||_0x424b4a['server']&&_0x424b4a[_0x2efd8f(0x235)])throw new TypeError(_0x2efd8f(0x214));if(_0x424b4a[_0x2efd8f(0x2cf)]!=null?(this[_0x2efd8f(0x168)]=_0x57534a['createServer']((_0x52f2c7,_0x93ccf)=>{const _0xbb162f=_0x2efd8f,_0x5bad1=_0x57534a[_0xbb162f(0x225)][0x1aa];_0x93ccf['writeHead'](0x1aa,{'Content-Length':_0x5bad1[_0xbb162f(0x1d2)],'Content-Type':_0xbb162f(0x24b)}),_0x93ccf[_0xbb162f(0x1eb)](_0x5bad1);}),this[_0x2efd8f(0x168)][_0x2efd8f(0x25d)](_0x424b4a['port'],_0x424b4a['host'],_0x424b4a[_0x2efd8f(0x203)],_0x175125)):_0x424b4a[_0x2efd8f(0x206)]&&(this[_0x2efd8f(0x168)]=_0x424b4a[_0x2efd8f(0x206)]),this[_0x2efd8f(0x168)]){const _0x541dec=this[_0x2efd8f(0x260)]['bind'](this,_0x2efd8f(0x2bd));this[_0x2efd8f(0x22d)]=_0x28ca41(this['_server'],{'listening':this['emit']['bind'](this,'listening'),'error':this[_0x2efd8f(0x260)][_0x2efd8f(0x1ea)](this,_0x2efd8f(0x239)),'upgrade':(_0x1db30b,_0x1a5043,_0x4250f5)=>{this['handleUpgrade'](_0x1db30b,_0x1a5043,_0x4250f5,_0x541dec);}});}_0x424b4a['perMessageDeflate']===!0x0&&(_0x424b4a[_0x2efd8f(0x2b7)]={}),_0x424b4a[_0x2efd8f(0x18f)]&&(this[_0x2efd8f(0x1fa)]=new Set(),this[_0x2efd8f(0x1b3)]=!0x1),this[_0x2efd8f(0x18b)]=_0x424b4a,this[_0x2efd8f(0x1cd)]=_0x4aa6a;}[_0x596868(0x2d2)](){const _0x426f83=_0x596868;if(this[_0x426f83(0x18b)][_0x426f83(0x235)])throw new Error(_0x426f83(0x180));return this[_0x426f83(0x168)]?this[_0x426f83(0x168)][_0x426f83(0x2d2)]():null;}[_0x596868(0x2ba)](_0x49add6){const _0x205f80=_0x596868;if(this['_state']===_0x365d3d){_0x49add6&&this[_0x205f80(0x1e0)](_0x205f80(0x2ba),()=>{const _0x2248a8=_0x205f80;_0x49add6(new Error(_0x2248a8(0x2cb)));}),process[_0x205f80(0x1b8)](_0x5b1ae9,this);return;}if(_0x49add6&&this[_0x205f80(0x1e0)](_0x205f80(0x2ba),_0x49add6),this[_0x205f80(0x1cd)]!==_0x3f5463){if(this[_0x205f80(0x1cd)]=_0x3f5463,this[_0x205f80(0x18b)][_0x205f80(0x235)]||this[_0x205f80(0x18b)]['server'])this[_0x205f80(0x168)]&&(this[_0x205f80(0x22d)](),this[_0x205f80(0x22d)]=this['_server']=null),this[_0x205f80(0x1fa)]?this[_0x205f80(0x1fa)][_0x205f80(0x204)]?this[_0x205f80(0x1b3)]=!0x0:process['nextTick'](_0x5b1ae9,this):process['nextTick'](_0x5b1ae9,this);else{const _0x353a1b=this['_server'];this[_0x205f80(0x22d)](),this[_0x205f80(0x22d)]=this[_0x205f80(0x168)]=null,_0x353a1b[_0x205f80(0x2ba)](()=>{_0x5b1ae9(this);});}}}[_0x596868(0x290)](_0x1cd596){const _0x5b066a=_0x596868;if(this[_0x5b066a(0x18b)][_0x5b066a(0x1c9)]){const _0x3ee19b=_0x1cd596[_0x5b066a(0x2e2)][_0x5b066a(0x182)]('?');if((_0x3ee19b!==-0x1?_0x1cd596[_0x5b066a(0x2e2)][_0x5b066a(0x205)](0x0,_0x3ee19b):_0x1cd596[_0x5b066a(0x2e2)])!==this[_0x5b066a(0x18b)][_0x5b066a(0x1c9)])return!0x1;}return!0x0;}[_0x596868(0x2e5)](_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4){const _0x1413fb=_0x596868;_0x5ee18f['on']('error',_0x38c4a5);const _0x14ff5d=_0x3b1a92['headers'][_0x1413fb(0x183)],_0x14a32c=_0x3b1a92[_0x1413fb(0x161)]['upgrade'],_0x368624=+_0x3b1a92[_0x1413fb(0x161)][_0x1413fb(0x2a8)];if(_0x3b1a92[_0x1413fb(0x14b)]!==_0x1413fb(0x153)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x195,_0x1413fb(0x19f));return;}if(_0x14a32c===void 0x0||_0x14a32c[_0x1413fb(0x2c8)]()!==_0x1413fb(0x1f8)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,_0x1413fb(0x272));return;}if(_0x14ff5d===void 0x0||!_0xfb4484[_0x1413fb(0x1a3)](_0x14ff5d)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x368624!==0xd&&_0x368624!==0x8){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x1413fb(0x170)});return;}if(!this[_0x1413fb(0x290)](_0x3b1a92)){_0xbf163(_0x5ee18f,0x190);return;}const _0x480193=_0x3b1a92[_0x1413fb(0x161)]['sec-websocket-protocol'];let _0x8fc789=new Set();if(_0x480193!==void 0x0)try{_0x8fc789=_0x4a06b4[_0x1413fb(0x26a)](_0x480193);}catch{_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,_0x1413fb(0x29e));return;}const _0x4adead=_0x3b1a92[_0x1413fb(0x161)][_0x1413fb(0x2d1)],_0x3e76f9={};if(this[_0x1413fb(0x18b)]['perMessageDeflate']&&_0x4adead!==void 0x0){const _0x3d3442=new _0x43cd8d(this[_0x1413fb(0x18b)][_0x1413fb(0x2b7)],!0x0,this[_0x1413fb(0x18b)]['maxPayload']);try{const _0x4d003f=_0xa3de9a[_0x1413fb(0x26a)](_0x4adead);_0x4d003f[_0x43cd8d['extensionName']]&&(_0x3d3442['accept'](_0x4d003f[_0x43cd8d[_0x1413fb(0x169)]]),_0x3e76f9[_0x43cd8d[_0x1413fb(0x169)]]=_0x3d3442);}catch{_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x1413fb(0x2a2)]){const _0x41ecd7={'origin':_0x3b1a92[_0x1413fb(0x161)][''+(_0x368624===0x8?_0x1413fb(0x215):_0x1413fb(0x1f1))],'secure':!!(_0x3b1a92[_0x1413fb(0x1e5)]['authorized']||_0x3b1a92[_0x1413fb(0x1e5)]['encrypted']),'req':_0x3b1a92};if(this[_0x1413fb(0x18b)][_0x1413fb(0x2a2)][_0x1413fb(0x1d2)]===0x2){this[_0x1413fb(0x18b)]['verifyClient'](_0x41ecd7,(_0x385c96,_0x5cdc5a,_0x4e746b,_0x21e179)=>{const _0x5e6a38=_0x1413fb;if(!_0x385c96)return _0xbf163(_0x5ee18f,_0x5cdc5a||0x191,_0x4e746b,_0x21e179);this[_0x5e6a38(0x2e0)](_0x3e76f9,_0x14ff5d,_0x8fc789,_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4);});return;}if(!this[_0x1413fb(0x18b)][_0x1413fb(0x2a2)](_0x41ecd7))return _0xbf163(_0x5ee18f,0x191);}this[_0x1413fb(0x2e0)](_0x3e76f9,_0x14ff5d,_0x8fc789,_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4);}[_0x596868(0x2e0)](_0x3afa4f,_0x54b87a,_0x29c38b,_0x56f97b,_0x517b98,_0x5510a3,_0x62b2b8){const _0x250167=_0x596868;if(!_0x517b98['readable']||!_0x517b98['writable'])return _0x517b98['destroy']();if(_0x517b98[_0x195c0b])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x250167(0x1cd)]>_0x4aa6a)return _0xbf163(_0x517b98,0x1f7);const _0x5dfc9f=[_0x250167(0x2d9),_0x250167(0x2c5),_0x250167(0x16e),_0x250167(0x23c)+_0x148ca3('sha1')[_0x250167(0x1fb)](_0x54b87a+_0x33ef88)[_0x250167(0x2d0)](_0x250167(0x1cb))],_0x4fad3b=new this['options'][(_0x250167(0x224))](null,void 0x0,this[_0x250167(0x18b)]);if(_0x29c38b[_0x250167(0x204)]){const _0x5caf90=this[_0x250167(0x18b)][_0x250167(0x1a9)]?this[_0x250167(0x18b)][_0x250167(0x1a9)](_0x29c38b,_0x56f97b):_0x29c38b[_0x250167(0x27d)]()['next']()[_0x250167(0x2e4)];_0x5caf90&&(_0x5dfc9f[_0x250167(0x1b6)](_0x250167(0x200)+_0x5caf90),_0x4fad3b['_protocol']=_0x5caf90);}if(_0x3afa4f[_0x43cd8d[_0x250167(0x169)]]){const _0x5522a8=_0x3afa4f[_0x43cd8d['extensionName']][_0x250167(0x2a0)],_0x4278a3=_0xa3de9a['format']({[_0x43cd8d[_0x250167(0x169)]]:[_0x5522a8]});_0x5dfc9f[_0x250167(0x1b6)]('Sec-WebSocket-Extensions:\x20'+_0x4278a3),_0x4fad3b['_extensions']=_0x3afa4f;}this[_0x250167(0x260)](_0x250167(0x161),_0x5dfc9f,_0x56f97b),_0x517b98[_0x250167(0x1a2)](_0x5dfc9f[_0x250167(0x2a9)]('\x0d\x0a')[_0x250167(0x1d6)]('\x0d\x0a')),_0x517b98[_0x250167(0x146)](_0x250167(0x239),_0x38c4a5),_0x4fad3b[_0x250167(0x2d7)](_0x517b98,_0x5510a3,{'allowSynchronousEvents':this[_0x250167(0x18b)][_0x250167(0x220)],'maxPayload':this[_0x250167(0x18b)][_0x250167(0x291)],'skipUTF8Validation':this[_0x250167(0x18b)][_0x250167(0x1e8)]}),this['clients']&&(this[_0x250167(0x1fa)][_0x250167(0x270)](_0x4fad3b),_0x4fad3b['on'](_0x250167(0x2ba),()=>{const _0x4c9b0e=_0x250167;this[_0x4c9b0e(0x1fa)]['delete'](_0x4fad3b),this[_0x4c9b0e(0x1b3)]&&!this[_0x4c9b0e(0x1fa)][_0x4c9b0e(0x204)]&&process[_0x4c9b0e(0x1b8)](_0x5b1ae9,this);})),_0x62b2b8(_0x4fad3b,_0x56f97b);}}Te=_0x42bba1;function _0x28ca41(_0x40ec58,_0x4962ba){for(const _0x6366a5 of Object['keys'](_0x4962ba))_0x40ec58['on'](_0x6366a5,_0x4962ba[_0x6366a5]);return function(){const _0x54cfad=_0x4100;for(const _0x301ed1 of Object[_0x54cfad(0x1bb)](_0x4962ba))_0x40ec58[_0x54cfad(0x146)](_0x301ed1,_0x4962ba[_0x301ed1]);};}function _0x5b1ae9(_0x695f5b){const _0x569365=_0x596868;_0x695f5b[_0x569365(0x1cd)]=_0x365d3d,_0x695f5b['emit'](_0x569365(0x2ba));}function _0x38c4a5(){const _0x49ac47=_0x596868;this[_0x49ac47(0x1f0)]();}function _0xbf163(_0x59dc37,_0xf2a0e4,_0x21d845,_0x1b0238){const _0x55007a=_0x596868;_0x21d845=_0x21d845||_0x57534a[_0x55007a(0x225)][_0xf2a0e4],_0x1b0238={'Connection':_0x55007a(0x2ba),'Content-Type':_0x55007a(0x16d),'Content-Length':Buffer[_0x55007a(0x2e7)](_0x21d845),..._0x1b0238},_0x59dc37[_0x55007a(0x1e0)]('finish',_0x59dc37[_0x55007a(0x1f0)]),_0x59dc37[_0x55007a(0x1eb)](_0x55007a(0x1e2)+_0xf2a0e4+'\x20'+_0x57534a[_0x55007a(0x225)][_0xf2a0e4]+'\x0d\x0a'+Object[_0x55007a(0x1bb)](_0x1b0238)[_0x55007a(0x29a)](_0xfdd0a2=>_0xfdd0a2+':\x20'+_0x1b0238[_0xfdd0a2])[_0x55007a(0x1d6)]('\x0d\x0a')+_0x55007a(0x280)+_0x21d845);}function _0x478b4c(_0x4506c6,_0x129437,_0x55cda5,_0x575bc6,_0x3cd0ac,_0x1afdb8){const _0x1b3e15=_0x596868;if(_0x4506c6['listenerCount'](_0x1b3e15(0x237))){const _0x4567a9=new Error(_0x3cd0ac);Error[_0x1b3e15(0x297)](_0x4567a9,_0x478b4c),_0x4506c6[_0x1b3e15(0x260)]('wsClientError',_0x4567a9,_0x55cda5,_0x129437);}else _0xbf163(_0x55cda5,_0x575bc6,_0x3cd0ac,_0x1afdb8);}return Te;}er();var tr=Object[_0x5b728b(0x298)],rr=(_0x53a5db,_0x5012c2,_0xdbbd31,_0x535823)=>{const _0x901b87=_0x5b728b;for(var _0x1e84f4=_0x535823>0x1?void 0x0:_0x535823?tr(_0x5012c2,_0xdbbd31):_0x5012c2,_0x1c6ce5=_0x53a5db[_0x901b87(0x1d2)]-0x1,_0xcb114c;_0x1c6ce5>=0x0;_0x1c6ce5--)(_0xcb114c=_0x53a5db[_0x1c6ce5])&&(_0x1e84f4=_0xcb114c(_0x1e84f4)||_0x1e84f4);return _0x1e84f4;},sr=(_0x5264f1,_0x4dc513)=>(_0x32f3f5,_0x201113)=>_0x4dc513(_0x32f3f5,_0x201113,_0x5264f1);let Ne=class extends _0x4b1b9e{constructor(_0x44da35){const _0x17f3f2=_0x5b728b;super(),this[_0x17f3f2(0x194)]=_0x44da35;}[_0x5b728b(0x2da)](_0xabb071){const _0x296c67=_0x5b728b;var _0x4ff86e;const _0x2e3f98=(_0x4ff86e=this['_configService'][_0x296c67(0x275)](Be))==null?void 0x0:_0x4ff86e[_0x296c67(0x243)];try{const _0x5b6d67=new Qt(_0xabb071,{'headers':{..._0x2e3f98}}),_0x42d829=new _0x1d42ea();return{'URL':_0xabb071,'close':(_0x93bf98,_0x215adc)=>{const _0x55978e=_0x296c67;_0x5b6d67[_0x55978e(0x2ba)](_0x93bf98,_0x215adc),_0x42d829['dispose']();},'send':_0x2aba04=>{const _0x5d8f25=_0x296c67;_0x5b6d67[_0x5d8f25(0x1d3)](_0x2aba04);},'open$':new _0x3bf40d(_0x476ab5=>{const _0x12d522=_0x296c67,_0x1241db=_0x42e776=>_0x476ab5[_0x12d522(0x1f4)](_0x42e776);_0x5b6d67[_0x12d522(0x2c7)](_0x12d522(0x17e),_0x1241db),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67['removeEventListener'](_0x12d522(0x17e),_0x1241db)));})[_0x296c67(0x245)](_0x494739()),'close$':new _0x3bf40d(_0x46d3f6=>{const _0x3599cf=_0x296c67,_0x2e7667=_0x599dfd=>_0x46d3f6[_0x3599cf(0x1f4)](_0x599dfd);_0x5b6d67[_0x3599cf(0x2c7)](_0x3599cf(0x2ba),_0x2e7667),_0x42d829[_0x3599cf(0x270)](_0x6542e1(()=>_0x5b6d67[_0x3599cf(0x26c)](_0x3599cf(0x2ba),_0x2e7667)));})[_0x296c67(0x245)](_0x494739()),'error$':new _0x3bf40d(_0x5dd65c=>{const _0x2ecd7b=_0x296c67,_0x287815=_0x11052b=>_0x5dd65c[_0x2ecd7b(0x1f4)](_0x11052b);_0x5b6d67[_0x2ecd7b(0x2c7)](_0x2ecd7b(0x239),_0x287815),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67['removeEventListener']('error',_0x287815)));})[_0x296c67(0x245)](_0x494739()),'message$':new _0x3bf40d(_0x1ebb92=>{const _0x1a3423=_0x296c67,_0xaa40f5=_0x27b468=>_0x1ebb92[_0x1a3423(0x1f4)](_0x27b468);_0x5b6d67[_0x1a3423(0x2c7)](_0x1a3423(0x247),_0xaa40f5),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67[_0x1a3423(0x26c)](_0x1a3423(0x247),_0xaa40f5)));})[_0x296c67(0x245)](_0x494739())};}catch(_0x1725a4){return console['error'](_0x1725a4),null;}}};Ne=rr([sr(0x0,_0x384188)],Ne);var ir=Object[_0x5b728b(0x218)],nr=Object[_0x5b728b(0x298)],or=(_0x3b6aaf,_0x59a16b,_0x384699)=>_0x59a16b in _0x3b6aaf?ir(_0x3b6aaf,_0x59a16b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384699}):_0x3b6aaf[_0x59a16b]=_0x384699,ar=(_0x47b39f,_0x9b5c1a,_0x26239f,_0x36822e)=>{const _0x57857e=_0x5b728b;for(var _0x2774df=_0x36822e>0x1?void 0x0:_0x36822e?nr(_0x9b5c1a,_0x26239f):_0x9b5c1a,_0x115730=_0x47b39f[_0x57857e(0x1d2)]-0x1,_0x3dea0f;_0x115730>=0x0;_0x115730--)(_0x3dea0f=_0x47b39f[_0x115730])&&(_0x2774df=_0x3dea0f(_0x2774df)||_0x2774df);return _0x2774df;},ke=(_0x17a5ce,_0x24f63e)=>(_0x2ce19c,_0x1fb1db)=>_0x24f63e(_0x2ce19c,_0x1fb1db,_0x17a5ce),lr=(_0x396f31,_0x2e4a45,_0x569d54)=>or(_0x396f31,_0x2e4a45+'',_0x569d54);let Pe=class extends _0x310afa{constructor(_0xf2c1fb=Ft,_0x1b2b35,_0x280eac,_0x309b11){const _0x1bd013=_0x5b728b;_0xf2c1fb['customHeaders']||_0x1b2b35['warn'](_0x1bd013(0x284)),super(),this[_0x1bd013(0x194)]=_0x280eac,this[_0x1bd013(0x2d3)]=_0x309b11,this[_0x1bd013(0x194)]['setConfig'](Be,_0xf2c1fb);}[_0x5b728b(0x217)](){const _0x2b8611=_0x5b728b;this[_0x2b8611(0x160)]();}[_0x5b728b(0x160)](){const _0xc40cb3=_0x5b728b;_0x44617f(this[_0xc40cb3(0x2d3)],[[_0x396340,{'useClass':Ne}]]);}};lr(Pe,_0x5b728b(0x178),_0x5b728b(0x179)),Pe=ar([_0x215725(_0xa8514a),ke(0x1,_0x221c24),ke(0x2,_0x384188),ke(0x3,_0x2c5d81(_0x2a4fdc))],Pe);var fr=Object[_0x5b728b(0x298)],cr=(_0x169d33,_0x4a9a20,_0x59db6a,_0x311928)=>{for(var _0x1fe740=_0x311928>0x1?void 0x0:_0x311928?fr(_0x4a9a20,_0x59db6a):_0x4a9a20,_0x5b0c91=_0x169d33['length']-0x1,_0x1e8e4b;_0x5b0c91>=0x0;_0x5b0c91--)(_0x1e8e4b=_0x169d33[_0x5b0c91])&&(_0x1fe740=_0x1e8e4b(_0x1fe740)||_0x1fe740);return _0x1fe740;},se=(_0x4c75d3,_0x26c73b)=>(_0x54d449,_0x222111)=>_0x26c73b(_0x54d449,_0x222111,_0x4c75d3);let at=class extends _0x1b1864{constructor(_0x4dbcd1,_0x86aaa5,_0x2a4ce1,_0x421180,_0x53fed3){const _0x5ee14a=_0x5b728b;super(_0x4dbcd1,_0x86aaa5,_0x2a4ce1,_0x421180,_0x53fed3);const _0x2798a=this[_0x5ee14a(0x194)][_0x5ee14a(0x275)](Be);this[_0x5ee14a(0x223)][_0x5ee14a(0x1aa)]({'interceptor':(_0x33d99d,_0xa325d2)=>{const _0x2bb5e6=_0x5ee14a;var _0x2325ee;const _0x5b2152=_0x33d99d[_0x2bb5e6(0x161)];return(_0x2325ee=_0x2798a==null?void 0x0:_0x2798a['customHeaders'])!=null&&_0x2325ee[_0x2bb5e6(0x17d)]&&_0x5b2152[_0x2bb5e6(0x2b2)]('Cookie',_0x2798a['customHeaders'][_0x2bb5e6(0x17d)]),_0xa325d2(_0x33d99d);}});}async[_0x5b728b(0x2da)](_0x203ec0){const _0x3d85d9=_0x5b728b;return this[_0x3d85d9(0x28c)](_0x203ec0);}};at=cr([se(0x0,_0x2c5d81(_0x2a4fdc)),se(0x1,_0x2c5d81(_0x1a9112)),se(0x2,_0x384188),se(0x3,_0x221c24),se(0x4,_0x51a01f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x5652d6=_0x18ce;(function(_0x420332,_0x56ce64){const _0x606fad=_0x18ce,_0x3c90bb=_0x420332();while(!![]){try{const _0x546ca9=parseInt(_0x606fad(0x2cd))/0x1+-parseInt(_0x606fad(0x34b))/0x2+-parseInt(_0x606fad(0x220))/0x3*(-parseInt(_0x606fad(0x2ab))/0x4)+parseInt(_0x606fad(0x2ee))/0x5*(parseInt(_0x606fad(0x256))/0x6)+-parseInt(_0x606fad(0x378))/0x7*(parseInt(_0x606fad(0x2af))/0x8)+parseInt(_0x606fad(0x32c))/0x9*(parseInt(_0x606fad(0x306))/0xa)+-parseInt(_0x606fad(0x281))/0xb;if(_0x546ca9===_0x56ce64)break;else _0x3c90bb['push'](_0x3c90bb['shift']());}catch(_0x2cca19){_0x3c90bb['push'](_0x3c90bb['shift']());}}}(_0x3278,0x4bc99));import{UniverCollaborationClientPlugin as _0x5508df,CollaborationSocketService as _0xa01adc}from'@univerjs-pro/collaboration-client';import{Disposable as _0x7ead50,DisposableCollection as _0x100e68,toDisposable as _0x264eca,IConfigService as _0x445dd2,DependentOn as _0x1b19b7,ILogService as _0x4741cc,Inject as _0x13fd42,Injector as _0x1b016f,Plugin as _0xb2e2cc,registerDependencies as _0x2fca91}from'@univerjs/core';import{ISocketService as _0xdf476f,HTTPService as _0x578029}from'@univerjs/network';import{Observable as _0x334b56,share as _0x1ac65d}from'rxjs';import _0x37d4b7 from'events';import _0x3d236c from'https';import _0x46f51c from'http';function _0x3278(){const _0x49ad80=['isInteger','createConnection','freeze','WS_NO_BUFFER_UTIL','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','statusCode','_removeListeners','_req','_url','WS_ERR_INVALID_CLOSE_CODE','readyState','url','conclude','sendFrame','_maxPayload','charCodeAt','writeUIntBE','onStarting','headers','clientMaxWindowBits','mask','_messageLength','normalizeParams','close','options','flush','indexOf','handleUpgrade','listeners','password','blob','endEmitted','getInfo','invalid\x20UTF-8\x20sequence','verifyClient','wss:','MASK\x20must\x20be\x20set','_fragments','concat','4wcfjaP','_write','WS_ERR_INVALID_UTF8','set','8WJJgbC','replace','_final','isValidUTF8','kError','Invalid\x20URL:\x20','removeEventListener','allowSynchronousEvents','response','setConfig','_compressed','completeUpgrade','readUInt16BE','The\x20server\x20is\x20not\x20running','forEach','request','_originalIpc','addEventListener','Sec-WebSocket-Protocol:\x20','_buffers','kListener','shift','_state','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','readUInt32BE','protocol','_sender','unexpected-response','Server\x20sent\x20an\x20invalid\x20subprotocol','base64','441353vKmZim','read','CONNECTING','decompress','customHeaders','_isServer','_paused','\x22\x20must\x20have\x20only\x20a\x20single\x20value','terminate','_queue','defineProperty','_protocol','servername','CLOSING','emitClose','clients','drain','_errored','isPaused','upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','controlMessage','once','_registerDependencies','byteOffset','uncork','rsv1','autoPong','clientNoContextTakeover','_closeFrameSent','finished','buffer','toStringTag','20XimiON','port','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','enqueue','ws:','WS_ERR_EXPECTED_MASK','pathname','_shouldEmitClose','The\x20\x22','text/plain','redirect','format','finish','sec-websocket-origin','timeout','WS_ERR_INVALID_OPCODE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_opcode','code','errorEmitted','isIP','Sec-WebSocket-Extensions:\x20','test','message','40xtJpWN','Unexpected\x20character\x20at\x20index\x20','_socket','status-code','shouldHandle','handleEvent','username','clientTracking','pow','add','getConfig','object','cookie','Sec-WebSocket-Protocol','Basic\x20','kByteLength','prototype','kRun','pending','jobs','Origin','_maskBuffer','\x22\x20subprotocol\x20is\x20duplicated','Upgrade','WS_ERR_UNEXPECTED_RSV_1','listen','defaultPort','_redirects','_read','Module','_server','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','number','_injector','skipUTF8Validation','Server\x20sent\x20no\x20subprotocol','_compress','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','32814yFLQOg','acceptAsServer','encrypted','_autoPong','STATUS_CODES','authorization','includes','address','needDrain','RSV1\x20must\x20be\x20clear','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Invalid\x20HTTP\x20method','sec-websocket-protocol','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','parse','followRedirects','_bufferedAmount','compress','_inflate','kData','Unexpected\x20end\x20of\x20input','HTTP/1.1\x20','removeAllListeners','invalid\x20payload\x20length\x20','has','Sec-WebSocket-Accept:\x20','species','removeListener','_binaryType','authorized','isView','931874qTeVFS','finishRequest','WS_ERR_EXPECTED_FIN','_httpService','values','isServer','bind','socket','WS_NO_UTF_8_VALIDATE','fragments','13,\x208','serverMaxWindowBits','setTimeout','ws+unix:','File','maxRedirects','from','_readableState','createInflateRaw','slice','ping','entries','setNoDelay','_options','Invalid\x20Upgrade\x20header','kAborted','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_no_context_takeover','_generateMask','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','catch','pluginName','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','constructor','startsWith','isArray','then','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','kCode','target','kDone','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','create','Z_DEFAULT_WINDOWBITS','default','1648969opbTRk','_masked','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','acceptAsClient','maskBuffer','client_max_window_bits','Sec-WebSocket-Extensions','kReason','server_max_window_bits','allocUnsafe','get','sha1','function','map','exports','next','invalid\x20opcode\x200','end','_fin','_mask','_skipUTF8Validation','sec-websocket-key','_destroy','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createSocket','fin','warn','__esModule','env','_totalPayloadLength','frame','_threshold','handleProtocols','_errorEmitted','kTarget','createError','Max\x20payload\x20size\x20exceeded','_fragmented','total-length','call','Blob','accept','socketPath','nextTick','pong','generateMask','path','wasClean','Invalid\x20WebSocket\x20frame:\x20','client','Opening\x20handshake\x20has\x20timed\x20out','cleanup','emit','Connection:\x20Upgrade','serverNoContextTakeover','dequeue','toLowerCase','abort','push','listenerCount','_closeTimer','_readyState','dispatch','FIN\x20must\x20be\x20set','connection','binary','WS_ERR_UNEXPECTED_RSV_2_3','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Maximum\x20redirects\x20exceeded','_receiver','auth','resume','writeUInt16BE','_extensions','opcode','search','_closeFrameReceived','alloc','update','type','hasOwnProperty','_writableState','_max_window_bits','Invalid\x20Sec-WebSocket-Extensions\x20header','origin','readOnly','arrayBuffer','arraybuffer','haveLength','construct','Invalid\x20value\x20for\x20parameter\x20\x22','createServer','_bufferedBytes','_originalSecure','consume','1748559xZTOax','Invalid\x20Sec-WebSocket-Protocol\x20header','concurrencyLimit','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','invalid\x20status\x20code\x20','error','data','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','extensionName','_configService','OPEN','offer','cork','onmessage','listening','destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','websocket','binaryType','threshold','\x20(supported\x20versions:\x20','_firstFragment','The\x20URL\x27s\x20pathname\x20is\x20empty','_payloadLength','The\x20URL\x20contains\x20a\x20fragment\x20identifier','getMask','host','send','reset','setSocket','length','getOwnPropertyDescriptor','dataMessage','unmask','permessage-deflate','bufferedAmount','server','perMessageDeflate','CLOSED','Z_SYNC_FLUSH','pipe','writeHead','getPayloadLength64','_deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_loop','buffers','reason','kIsForOnEventAttribute','wsClientError','captureStackTrace','connect','hostname','getBlobData','36834ltevFm','find','onerror','_closeMessage','maxPayload','sec-websocket-accept','pause','keys','byteLength','_allowSynchronousEvents','stream','_originalHostOrSocketPath','\x22:\x20','nodebuffer','write','GET','string','client_no_context_takeover','server_no_context_takeover','onopen','startLoop','protocolVersion','isBuffer','digest','size','concurrency','collaboration-client-node.config','open','handshakeTimeout','toString','params','destroyed','noServer','invalid\x20opcode\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-extensions','text/html','getPayloadLength16','readable','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_closeCode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','MASK\x20must\x20be\x20clear','565587cQhapf','href','join'];_0x3278=function(){return _0x49ad80;};return _0x3278();}import _0x529721 from'net';import _0x5752fe from'tls';import _0x52dc2a from'crypto';import _0x4aa344 from'stream';import _0x52d997 from'url';import _0x67e580 from'zlib';import _0x131f2c from'buffer';import{ISnapshotServerService as _0x5bc976}from'@univerjs-pro/collaboration';const Be=_0x5652d6(0x270),Ft={'customHeaders':{}};function Wt(_0x1ec691){const _0x177ef5=_0x5652d6;return _0x1ec691&&_0x1ec691[_0x177ef5(0x393)]&&Object[_0x177ef5(0x316)][_0x177ef5(0x211)][_0x177ef5(0x1e8)](_0x1ec691,_0x177ef5(0x377))?_0x1ec691['default']:_0x1ec691;}function ut(_0x2cc06a){const _0x16e858=_0x5652d6;if(Object[_0x16e858(0x316)][_0x16e858(0x211)][_0x16e858(0x1e8)](_0x2cc06a,_0x16e858(0x393)))return _0x2cc06a;var _0x5ac920=_0x2cc06a[_0x16e858(0x377)];if(typeof _0x5ac920==_0x16e858(0x384)){var _0x2f644a=function _0x44cc1d(){const _0x44bc01=_0x16e858;var _0xe36bc8=!0x1;try{_0xe36bc8=this instanceof _0x44cc1d;}catch{}return _0xe36bc8?Reflect[_0x44bc01(0x21a)](_0x5ac920,arguments,this[_0x44bc01(0x36c)]):_0x5ac920['apply'](this,arguments);};_0x2f644a[_0x16e858(0x316)]=_0x5ac920[_0x16e858(0x316)];}else _0x2f644a={};return Object[_0x16e858(0x2d7)](_0x2f644a,'__esModule',{'value':!0x0}),Object['keys'](_0x2cc06a)['forEach'](function(_0x2fccd1){const _0x440dfb=_0x16e858;var _0x22cbc8=Object['getOwnPropertyDescriptor'](_0x2cc06a,_0x2fccd1);Object['defineProperty'](_0x2f644a,_0x2fccd1,_0x22cbc8[_0x440dfb(0x382)]?_0x22cbc8:{'enumerable':!0x0,'get':function(){return _0x2cc06a[_0x2fccd1];}});}),_0x2f644a;}var te={'exports':{}},ge,Ye;function V(){const _0x55e2b4=_0x5652d6;if(Ye)return ge;Ye=0x1;const _0xcc5506=[_0x55e2b4(0x263),'arraybuffer',_0x55e2b4(0x354)],_0x17a0cb=typeof Blob<'u';return _0x17a0cb&&_0xcc5506['push'](_0x55e2b4(0x2a2)),ge={'BINARY_TYPES':_0xcc5506,'EMPTY_BUFFER':Buffer[_0x55e2b4(0x20e)](0x0),'GUID':_0x55e2b4(0x339),'hasBlob':_0x17a0cb,'kForOnEventAttribute':Symbol(_0x55e2b4(0x250)),'kListener':Symbol(_0x55e2b4(0x2c3)),'kStatusCode':Symbol(_0x55e2b4(0x309)),'kWebSocket':Symbol(_0x55e2b4(0x231)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5652d6(0x286)](Object[_0x5652d6(0x2d7)]({'__proto__':null,'default':jt},Symbol[_0x5652d6(0x2ed)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x1f177a=_0x5652d6;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x51d37f}=V(),_0x1cf4a7=Buffer[Symbol[_0x1f177a(0x346)]];function _0x38cdbb(_0x5e4d18,_0x1f505a){const _0x4d176c=_0x1f177a;if(_0x5e4d18[_0x4d176c(0x23e)]===0x0)return _0x51d37f;if(_0x5e4d18[_0x4d176c(0x23e)]===0x1)return _0x5e4d18[0x0];const _0x13456b=Buffer[_0x4d176c(0x381)](_0x1f505a);let _0x382981=0x0;for(let _0x33ec54=0x0;_0x33ec54<_0x5e4d18[_0x4d176c(0x23e)];_0x33ec54++){const _0x438bb6=_0x5e4d18[_0x33ec54];_0x13456b[_0x4d176c(0x2ae)](_0x438bb6,_0x382981),_0x382981+=_0x438bb6[_0x4d176c(0x23e)];}return _0x382981<_0x1f505a?new _0x1cf4a7(_0x13456b['buffer'],_0x13456b[_0x4d176c(0x2e5)],_0x382981):_0x13456b;}function _0xc892a7(_0x505304,_0x204a9c,_0x52c6bc,_0x31f291,_0x3f62ab){for(let _0x2c585f=0x0;_0x2c585f<_0x3f62ab;_0x2c585f++)_0x52c6bc[_0x31f291+_0x2c585f]=_0x505304[_0x2c585f]^_0x204a9c[_0x2c585f&0x3];}function _0x22be10(_0x2107ea,_0x3fa49a){const _0xbb3c0c=_0x1f177a;for(let _0xa62339=0x0;_0xa62339<_0x2107ea[_0xbb3c0c(0x23e)];_0xa62339++)_0x2107ea[_0xa62339]^=_0x3fa49a[_0xa62339&0x3];}function _0x5a56a3(_0x526800){const _0x5d6558=_0x1f177a;return _0x526800[_0x5d6558(0x23e)]===_0x526800[_0x5d6558(0x2ec)][_0x5d6558(0x25e)]?_0x526800[_0x5d6558(0x2ec)]:_0x526800[_0x5d6558(0x2ec)][_0x5d6558(0x35e)](_0x526800['byteOffset'],_0x526800['byteOffset']+_0x526800[_0x5d6558(0x23e)]);}function _0x2a41ac(_0x1d3b11){const _0xb86a1e=_0x1f177a;if(_0x2a41ac['readOnly']=!0x0,Buffer[_0xb86a1e(0x26c)](_0x1d3b11))return _0x1d3b11;let _0x31f34e;return _0x1d3b11 instanceof ArrayBuffer?_0x31f34e=new _0x1cf4a7(_0x1d3b11):ArrayBuffer[_0xb86a1e(0x34a)](_0x1d3b11)?_0x31f34e=new _0x1cf4a7(_0x1d3b11[_0xb86a1e(0x2ec)],_0x1d3b11[_0xb86a1e(0x2e5)],_0x1d3b11[_0xb86a1e(0x25e)]):(_0x31f34e=Buffer[_0xb86a1e(0x35b)](_0x1d3b11),_0x2a41ac['readOnly']=!0x1),_0x31f34e;}if(te[_0x1f177a(0x386)]={'concat':_0x38cdbb,'mask':_0xc892a7,'toArrayBuffer':_0x5a56a3,'toBuffer':_0x2a41ac,'unmask':_0x22be10},!process[_0x1f177a(0x394)][_0x1f177a(0x287)])try{const _0x2a6697=Vt;te[_0x1f177a(0x386)][_0x1f177a(0x298)]=function(_0x13cce3,_0x548615,_0xa1b77b,_0x40ea98,_0x3088d0){_0x3088d0<0x30?_0xc892a7(_0x13cce3,_0x548615,_0xa1b77b,_0x40ea98,_0x3088d0):_0x2a6697['mask'](_0x13cce3,_0x548615,_0xa1b77b,_0x40ea98,_0x3088d0);},te[_0x1f177a(0x386)][_0x1f177a(0x241)]=function(_0x379571,_0x481ce6){const _0x446d7e=_0x1f177a;_0x379571[_0x446d7e(0x23e)]<0x20?_0x22be10(_0x379571,_0x481ce6):_0x2a6697[_0x446d7e(0x241)](_0x379571,_0x481ce6);};}catch{}return te[_0x1f177a(0x386)];}var ye,Xe;function qt(){const _0x195b3a=_0x5652d6;if(Xe)return ye;Xe=0x1;const _0x5f2f06=Symbol(_0x195b3a(0x373)),_0x586e54=Symbol(_0x195b3a(0x317));class _0x16301d{constructor(_0x57abbc){const _0x2b5526=_0x195b3a;this[_0x5f2f06]=()=>{const _0x243d48=_0x18ce;this[_0x243d48(0x318)]--,this[_0x586e54]();},this['concurrency']=_0x57abbc||0x1/0x0,this[_0x2b5526(0x319)]=[],this[_0x2b5526(0x318)]=0x0;}['add'](_0x5f3e90){const _0x41d6b7=_0x195b3a;this[_0x41d6b7(0x319)][_0x41d6b7(0x1fb)](_0x5f3e90),this[_0x586e54]();}[_0x586e54](){const _0x1255e8=_0x195b3a;if(this[_0x1255e8(0x318)]!==this[_0x1255e8(0x26f)]&&this['jobs'][_0x1255e8(0x23e)]){const _0x3ad96c=this['jobs'][_0x1255e8(0x2c4)]();this[_0x1255e8(0x318)]++,_0x3ad96c(this[_0x5f2f06]);}}}return ye=_0x16301d,ye;}var ve,Ze;function he(){const _0x4e2231=_0x5652d6;if(Ze)return ve;Ze=0x1;const _0x26d975=_0x67e580,_0xdc9160=ce(),_0x574e5f=qt(),{kStatusCode:_0xf81a6c}=V(),_0x555a87=Buffer[Symbol['species']],_0x13f704=Buffer[_0x4e2231(0x35b)]([0x0,0x0,0xff,0xff]),_0x2f40ce=Symbol(_0x4e2231(0x242)),_0x11d73=Symbol(_0x4e2231(0x1e7)),_0x53497c=Symbol('callback'),_0x165f5e=Symbol(_0x4e2231(0x24e)),_0x4eaa9e=Symbol('error');let _0x3aba01;class _0x3e1cc0{constructor(_0x5ba407,_0x2de92e,_0x301409){const _0x4f0079=_0x4e2231;if(this[_0x4f0079(0x292)]=_0x301409|0x0,this[_0x4f0079(0x362)]=_0x5ba407||{},this[_0x4f0079(0x397)]=this[_0x4f0079(0x362)][_0x4f0079(0x233)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x4f0079(0x2d2)]=!!_0x2de92e,this[_0x4f0079(0x24b)]=null,this[_0x4f0079(0x33e)]=null,this[_0x4f0079(0x274)]=null,!_0x3aba01){const _0x3757c3=this[_0x4f0079(0x362)][_0x4f0079(0x222)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x3aba01=new _0x574e5f(_0x3757c3);}}static get['extensionName'](){const _0x580aa7=_0x4e2231;return _0x580aa7(0x242);}[_0x4e2231(0x22b)](){const _0x46e8ba=_0x4e2231,_0x4415f6={};return this[_0x46e8ba(0x362)][_0x46e8ba(0x1f7)]&&(_0x4415f6['server_no_context_takeover']=!0x0),this[_0x46e8ba(0x362)][_0x46e8ba(0x2e9)]&&(_0x4415f6[_0x46e8ba(0x267)]=!0x0),this['_options'][_0x46e8ba(0x356)]&&(_0x4415f6['server_max_window_bits']=this[_0x46e8ba(0x362)][_0x46e8ba(0x356)]),this['_options'][_0x46e8ba(0x297)]?_0x4415f6[_0x46e8ba(0x37d)]=this[_0x46e8ba(0x362)][_0x46e8ba(0x297)]:this[_0x46e8ba(0x362)]['clientMaxWindowBits']==null&&(_0x4415f6[_0x46e8ba(0x37d)]=!0x0),_0x4415f6;}['accept'](_0x52cb76){const _0x4a8eaf=_0x4e2231;return _0x52cb76=this['normalizeParams'](_0x52cb76),this[_0x4a8eaf(0x274)]=this[_0x4a8eaf(0x2d2)]?this['acceptAsServer'](_0x52cb76):this[_0x4a8eaf(0x37b)](_0x52cb76),this['params'];}[_0x4e2231(0x1f4)](){const _0xc45e36=_0x4e2231;if(this[_0xc45e36(0x33e)]&&(this['_inflate'][_0xc45e36(0x29b)](),this[_0xc45e36(0x33e)]=null),this[_0xc45e36(0x24b)]){const _0x51a214=this[_0xc45e36(0x24b)][_0x53497c];this[_0xc45e36(0x24b)][_0xc45e36(0x29b)](),this['_deflate']=null,_0x51a214&&_0x51a214(new Error(_0xc45e36(0x36b)));}}[_0x4e2231(0x32d)](_0x5799db){const _0x18007b=_0x4e2231,_0x8de57=this[_0x18007b(0x362)],_0x55f345=_0x5799db[_0x18007b(0x257)](_0x4a144e=>!(_0x8de57[_0x18007b(0x1f7)]===!0x1&&_0x4a144e[_0x18007b(0x268)]||_0x4a144e['server_max_window_bits']&&(_0x8de57[_0x18007b(0x356)]===!0x1||typeof _0x8de57['serverMaxWindowBits']=='number'&&_0x8de57['serverMaxWindowBits']>_0x4a144e[_0x18007b(0x380)])||typeof _0x8de57[_0x18007b(0x297)]==_0x18007b(0x326)&&!_0x4a144e[_0x18007b(0x37d)]));if(!_0x55f345)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x8de57[_0x18007b(0x1f7)]&&(_0x55f345['server_no_context_takeover']=!0x0),_0x8de57[_0x18007b(0x2e9)]&&(_0x55f345[_0x18007b(0x267)]=!0x0),typeof _0x8de57[_0x18007b(0x356)]==_0x18007b(0x326)&&(_0x55f345[_0x18007b(0x380)]=_0x8de57[_0x18007b(0x356)]),typeof _0x8de57['clientMaxWindowBits']==_0x18007b(0x326)?_0x55f345[_0x18007b(0x37d)]=_0x8de57[_0x18007b(0x297)]:(_0x55f345['client_max_window_bits']===!0x0||_0x8de57['clientMaxWindowBits']===!0x1)&&delete _0x55f345[_0x18007b(0x37d)],_0x55f345;}[_0x4e2231(0x37b)](_0x17e63e){const _0x289984=_0x4e2231,_0x1b6c4e=_0x17e63e[0x0];if(this['_options'][_0x289984(0x2e9)]===!0x1&&_0x1b6c4e[_0x289984(0x267)])throw new Error(_0x289984(0x2c6));if(!_0x1b6c4e[_0x289984(0x37d)])typeof this['_options'][_0x289984(0x297)]==_0x289984(0x326)&&(_0x1b6c4e[_0x289984(0x37d)]=this['_options'][_0x289984(0x297)]);else{if(this['_options'][_0x289984(0x297)]===!0x1||typeof this[_0x289984(0x362)]['clientMaxWindowBits']==_0x289984(0x326)&&_0x1b6c4e[_0x289984(0x37d)]>this[_0x289984(0x362)][_0x289984(0x297)])throw new Error(_0x289984(0x368));}return _0x1b6c4e;}[_0x4e2231(0x29a)](_0x3c92fb){return _0x3c92fb['forEach'](_0x5348c7=>{const _0x198d6d=_0x18ce;Object['keys'](_0x5348c7)[_0x198d6d(0x2bd)](_0x58c16c=>{const _0x13c57d=_0x198d6d;let _0x4cc49c=_0x5348c7[_0x58c16c];if(_0x4cc49c[_0x13c57d(0x23e)]>0x1)throw new Error('Parameter\x20\x22'+_0x58c16c+_0x13c57d(0x2d4));if(_0x4cc49c=_0x4cc49c[0x0],_0x58c16c==='client_max_window_bits'){if(_0x4cc49c!==!0x0){const _0x17b5c8=+_0x4cc49c;if(!Number[_0x13c57d(0x284)](_0x17b5c8)||_0x17b5c8<0x8||_0x17b5c8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58c16c+_0x13c57d(0x262)+_0x4cc49c);_0x4cc49c=_0x17b5c8;}else{if(!this[_0x13c57d(0x2d2)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58c16c+_0x13c57d(0x262)+_0x4cc49c);}}else{if(_0x58c16c===_0x13c57d(0x380)){const _0x473f89=+_0x4cc49c;if(!Number['isInteger'](_0x473f89)||_0x473f89<0x8||_0x473f89>0xf)throw new TypeError(_0x13c57d(0x21b)+_0x58c16c+_0x13c57d(0x262)+_0x4cc49c);_0x4cc49c=_0x473f89;}else{if(_0x58c16c===_0x13c57d(0x267)||_0x58c16c===_0x13c57d(0x268)){if(_0x4cc49c!==!0x0)throw new TypeError(_0x13c57d(0x21b)+_0x58c16c+_0x13c57d(0x262)+_0x4cc49c);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x58c16c+'\x22');}}_0x5348c7[_0x58c16c]=_0x4cc49c;});}),_0x3c92fb;}[_0x4e2231(0x2d0)](_0x4a93ee,_0x152c7a,_0x39e33c){const _0x2095b7=_0x4e2231;_0x3aba01[_0x2095b7(0x30f)](_0x273280=>{this['_decompress'](_0x4a93ee,_0x152c7a,(_0x30d9cd,_0x56f46b)=>{_0x273280(),_0x39e33c(_0x30d9cd,_0x56f46b);});});}[_0x4e2231(0x33d)](_0x957f80,_0x44f85d,_0x511119){_0x3aba01['add'](_0x2fe58e=>{const _0x318c89=_0x18ce;this[_0x318c89(0x32a)](_0x957f80,_0x44f85d,(_0x4591e,_0x102ded)=>{_0x2fe58e(),_0x511119(_0x4591e,_0x102ded);});});}['_decompress'](_0x65b81,_0x56fd7a,_0x235784){const _0x3d6924=_0x4e2231,_0x3cc53c=this['_isServer']?'client':_0x3d6924(0x244);if(!this[_0x3d6924(0x33e)]){const _0x37c9a5=_0x3cc53c+_0x3d6924(0x213),_0x4d631a=typeof this['params'][_0x37c9a5]!=_0x3d6924(0x326)?_0x26d975['Z_DEFAULT_WINDOWBITS']:this[_0x3d6924(0x274)][_0x37c9a5];this[_0x3d6924(0x33e)]=_0x26d975[_0x3d6924(0x35d)]({...this[_0x3d6924(0x362)]['zlibInflateOptions'],'windowBits':_0x4d631a}),this[_0x3d6924(0x33e)][_0x2f40ce]=this,this[_0x3d6924(0x33e)][_0x11d73]=0x0,this[_0x3d6924(0x33e)][_0x165f5e]=[],this[_0x3d6924(0x33e)]['on'](_0x3d6924(0x225),_0x468883),this['_inflate']['on'](_0x3d6924(0x226),_0x5144a8);}this[_0x3d6924(0x33e)][_0x53497c]=_0x235784,this[_0x3d6924(0x33e)][_0x3d6924(0x264)](_0x65b81),_0x56fd7a&&this['_inflate'][_0x3d6924(0x264)](_0x13f704),this['_inflate'][_0x3d6924(0x29d)](()=>{const _0x3dfe38=_0x3d6924,_0x5473b2=this[_0x3dfe38(0x33e)][_0x4eaa9e];if(_0x5473b2){this[_0x3dfe38(0x33e)]['close'](),this[_0x3dfe38(0x33e)]=null,_0x235784(_0x5473b2);return;}const _0x28a312=_0xdc9160['concat'](this[_0x3dfe38(0x33e)][_0x165f5e],this[_0x3dfe38(0x33e)][_0x11d73]);this[_0x3dfe38(0x33e)][_0x3dfe38(0x35c)][_0x3dfe38(0x2a3)]?(this[_0x3dfe38(0x33e)][_0x3dfe38(0x29b)](),this[_0x3dfe38(0x33e)]=null):(this[_0x3dfe38(0x33e)][_0x11d73]=0x0,this['_inflate'][_0x165f5e]=[],_0x56fd7a&&this[_0x3dfe38(0x274)][_0x3cc53c+_0x3dfe38(0x366)]&&this[_0x3dfe38(0x33e)][_0x3dfe38(0x23c)]()),_0x235784(null,_0x28a312);});}['_compress'](_0x1aced2,_0x336721,_0x68cbc6){const _0x5c303f=_0x4e2231,_0xbb0418=this[_0x5c303f(0x2d2)]?'server':_0x5c303f(0x1f2);if(!this['_deflate']){const _0x2fa3da=_0xbb0418+_0x5c303f(0x213),_0x23ef98=typeof this[_0x5c303f(0x274)][_0x2fa3da]!=_0x5c303f(0x326)?_0x26d975[_0x5c303f(0x376)]:this[_0x5c303f(0x274)][_0x2fa3da];this[_0x5c303f(0x24b)]=_0x26d975['createDeflateRaw']({...this[_0x5c303f(0x362)]['zlibDeflateOptions'],'windowBits':_0x23ef98}),this[_0x5c303f(0x24b)][_0x11d73]=0x0,this[_0x5c303f(0x24b)][_0x165f5e]=[],this[_0x5c303f(0x24b)]['on'](_0x5c303f(0x226),_0x255ac7);}this[_0x5c303f(0x24b)][_0x53497c]=_0x68cbc6,this[_0x5c303f(0x24b)]['write'](_0x1aced2),this[_0x5c303f(0x24b)][_0x5c303f(0x29d)](_0x26d975[_0x5c303f(0x247)],()=>{const _0x528c8c=_0x5c303f;if(!this[_0x528c8c(0x24b)])return;let _0x2dff82=_0xdc9160['concat'](this['_deflate'][_0x165f5e],this[_0x528c8c(0x24b)][_0x11d73]);_0x336721&&(_0x2dff82=new _0x555a87(_0x2dff82[_0x528c8c(0x2ec)],_0x2dff82[_0x528c8c(0x2e5)],_0x2dff82['length']-0x4)),this[_0x528c8c(0x24b)][_0x53497c]=null,this[_0x528c8c(0x24b)][_0x11d73]=0x0,this[_0x528c8c(0x24b)][_0x165f5e]=[],_0x336721&&this[_0x528c8c(0x274)][_0xbb0418+_0x528c8c(0x366)]&&this['_deflate'][_0x528c8c(0x23c)](),_0x68cbc6(null,_0x2dff82);});}}ve=_0x3e1cc0;function _0x255ac7(_0x1f791e){const _0x2e03c7=_0x4e2231;this[_0x165f5e][_0x2e03c7(0x1fb)](_0x1f791e),this[_0x11d73]+=_0x1f791e[_0x2e03c7(0x23e)];}function _0x5144a8(_0x29c434){const _0x347f39=_0x4e2231;if(this[_0x11d73]+=_0x29c434['length'],this[_0x2f40ce][_0x347f39(0x292)]<0x1||this[_0x11d73]<=this[_0x2f40ce][_0x347f39(0x292)]){this[_0x165f5e]['push'](_0x29c434);return;}this[_0x4eaa9e]=new RangeError(_0x347f39(0x1e5)),this[_0x4eaa9e][_0x347f39(0x300)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4eaa9e][_0xf81a6c]=0x3f1,this[_0x347f39(0x347)]('data',_0x5144a8),this['reset']();}function _0x468883(_0x5e60ed){const _0x4078a1=_0x4e2231;if(this[_0x2f40ce][_0x4078a1(0x33e)]=null,this[_0x4eaa9e]){this[_0x53497c](this[_0x4eaa9e]);return;}_0x5e60ed[_0xf81a6c]=0x3ef,this[_0x53497c](_0x5e60ed);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x5652d6(0x2d7)]({'__proto__':null,'default':Ht},Symbol[_0x5652d6(0x2ed)],{'value':_0x5652d6(0x323)})),Yt=ut(zt);var Qe;function ne(){const _0x9834cb=_0x5652d6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x37e0ad}=_0x131f2c,{hasBlob:_0x532ee5}=V(),_0x275f67=[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 _0xca3a1e(_0x336413){return _0x336413>=0x3e8&&_0x336413<=0x3f6&&_0x336413!==0x3ec&&_0x336413!==0x3ed&&_0x336413!==0x3ee||_0x336413>=0xbb8&&_0x336413<=0x1387;}function _0x36f109(_0x5d9bbf){const _0x3df727=_0x18ce,_0x11f578=_0x5d9bbf[_0x3df727(0x23e)];let _0xffb55e=0x0;for(;_0xffb55e<_0x11f578;)if((_0x5d9bbf[_0xffb55e]&0x80)===0x0)_0xffb55e++;else{if((_0x5d9bbf[_0xffb55e]&0xe0)===0xc0){if(_0xffb55e+0x1===_0x11f578||(_0x5d9bbf[_0xffb55e+0x1]&0xc0)!==0x80||(_0x5d9bbf[_0xffb55e]&0xfe)===0xc0)return!0x1;_0xffb55e+=0x2;}else{if((_0x5d9bbf[_0xffb55e]&0xf0)===0xe0){if(_0xffb55e+0x2>=_0x11f578||(_0x5d9bbf[_0xffb55e+0x1]&0xc0)!==0x80||(_0x5d9bbf[_0xffb55e+0x2]&0xc0)!==0x80||_0x5d9bbf[_0xffb55e]===0xe0&&(_0x5d9bbf[_0xffb55e+0x1]&0xe0)===0x80||_0x5d9bbf[_0xffb55e]===0xed&&(_0x5d9bbf[_0xffb55e+0x1]&0xe0)===0xa0)return!0x1;_0xffb55e+=0x3;}else{if((_0x5d9bbf[_0xffb55e]&0xf8)===0xf0){if(_0xffb55e+0x3>=_0x11f578||(_0x5d9bbf[_0xffb55e+0x1]&0xc0)!==0x80||(_0x5d9bbf[_0xffb55e+0x2]&0xc0)!==0x80||(_0x5d9bbf[_0xffb55e+0x3]&0xc0)!==0x80||_0x5d9bbf[_0xffb55e]===0xf0&&(_0x5d9bbf[_0xffb55e+0x1]&0xf0)===0x80||_0x5d9bbf[_0xffb55e]===0xf4&&_0x5d9bbf[_0xffb55e+0x1]>0x8f||_0x5d9bbf[_0xffb55e]>0xf4)return!0x1;_0xffb55e+=0x4;}else return!0x1;}}}return!0x0;}function _0x16a8b7(_0x539c4b){const _0x3e2c32=_0x18ce;return _0x532ee5&&typeof _0x539c4b=='object'&&typeof _0x539c4b[_0x3e2c32(0x217)]==_0x3e2c32(0x384)&&typeof _0x539c4b[_0x3e2c32(0x210)]==_0x3e2c32(0x266)&&typeof _0x539c4b[_0x3e2c32(0x260)]=='function'&&(_0x539c4b[Symbol[_0x3e2c32(0x2ed)]]===_0x3e2c32(0x1e9)||_0x539c4b[Symbol[_0x3e2c32(0x2ed)]]===_0x3e2c32(0x359));}if(re[_0x9834cb(0x386)]={'isBlob':_0x16a8b7,'isValidStatusCode':_0xca3a1e,'isValidUTF8':_0x36f109,'tokenChars':_0x275f67},_0x37e0ad)re['exports'][_0x9834cb(0x2b2)]=function(_0x30acb3){const _0x2ed213=_0x9834cb;return _0x30acb3[_0x2ed213(0x23e)]<0x18?_0x36f109(_0x30acb3):_0x37e0ad(_0x30acb3);};else{if(!process[_0x9834cb(0x394)][_0x9834cb(0x353)])try{const _0x4bfc1e=Yt;re['exports'][_0x9834cb(0x2b2)]=function(_0x52d45f){const _0x489028=_0x9834cb;return _0x52d45f[_0x489028(0x23e)]<0x20?_0x36f109(_0x52d45f):_0x4bfc1e(_0x52d45f);};}catch{}}return re[_0x9834cb(0x386)];}var Se,Je;function dt(){const _0x1da45c=_0x5652d6;if(Je)return Se;Je=0x1;const {Writable:_0x3b1170}=_0x4aa344,_0x51ee90=he(),{BINARY_TYPES:_0x17937e,EMPTY_BUFFER:_0x3a7a01,kStatusCode:_0x50e0df,kWebSocket:_0x35e33c}=V(),{concat:_0x46157c,toArrayBuffer:_0x31df89,unmask:_0x56ee66}=ce(),{isValidStatusCode:_0xa0daf9,isValidUTF8:_0x236f10}=ne(),_0x118a21=Buffer[Symbol[_0x1da45c(0x346)]],_0x29ea16=0x0,_0x3bfe25=0x1,_0x4723bb=0x2,_0x279dd0=0x3,_0x2772bd=0x4,_0x40ac95=0x5,_0x22cabf=0x6;class _0xeb81c3 extends _0x3b1170{constructor(_0x1ea189={}){const _0x995dff=_0x1da45c;super(),this[_0x995dff(0x25f)]=_0x1ea189[_0x995dff(0x2b6)]!==void 0x0?_0x1ea189[_0x995dff(0x2b6)]:!0x0,this[_0x995dff(0x348)]=_0x1ea189[_0x995dff(0x232)]||_0x17937e[0x0],this[_0x995dff(0x20a)]=_0x1ea189['extensions']||{},this['_isServer']=!!_0x1ea189[_0x995dff(0x350)],this[_0x995dff(0x292)]=_0x1ea189['maxPayload']|0x0,this[_0x995dff(0x38c)]=!!_0x1ea189[_0x995dff(0x328)],this[_0x35e33c]=void 0x0,this[_0x995dff(0x21d)]=0x0,this[_0x995dff(0x2c2)]=[],this[_0x995dff(0x2b9)]=!0x1,this[_0x995dff(0x237)]=0x0,this[_0x995dff(0x38b)]=void 0x0,this['_fragmented']=0x0,this[_0x995dff(0x379)]=!0x1,this['_fin']=!0x1,this[_0x995dff(0x2ff)]=0x0,this[_0x995dff(0x395)]=0x0,this[_0x995dff(0x299)]=0x0,this[_0x995dff(0x2a9)]=[],this[_0x995dff(0x2de)]=!0x1,this[_0x995dff(0x24d)]=!0x1,this[_0x995dff(0x2c5)]=_0x29ea16;}[_0x1da45c(0x2ac)](_0x1ec1c3,_0x3e8e86,_0x5bb8a4){const _0x400a2d=_0x1da45c;if(this[_0x400a2d(0x2ff)]===0x8&&this[_0x400a2d(0x2c5)]==_0x29ea16)return _0x5bb8a4();this[_0x400a2d(0x21d)]+=_0x1ec1c3[_0x400a2d(0x23e)],this['_buffers'][_0x400a2d(0x1fb)](_0x1ec1c3),this[_0x400a2d(0x26a)](_0x5bb8a4);}[_0x1da45c(0x21f)](_0x45eff1){const _0x2b9097=_0x1da45c;if(this[_0x2b9097(0x21d)]-=_0x45eff1,_0x45eff1===this[_0x2b9097(0x2c2)][0x0][_0x2b9097(0x23e)])return this['_buffers'][_0x2b9097(0x2c4)]();if(_0x45eff1<this[_0x2b9097(0x2c2)][0x0][_0x2b9097(0x23e)]){const _0x43e755=this[_0x2b9097(0x2c2)][0x0];return this['_buffers'][0x0]=new _0x118a21(_0x43e755[_0x2b9097(0x2ec)],_0x43e755[_0x2b9097(0x2e5)]+_0x45eff1,_0x43e755[_0x2b9097(0x23e)]-_0x45eff1),new _0x118a21(_0x43e755['buffer'],_0x43e755['byteOffset'],_0x45eff1);}const _0x271377=Buffer[_0x2b9097(0x381)](_0x45eff1);do{const _0x822b24=this[_0x2b9097(0x2c2)][0x0],_0x2a10b1=_0x271377[_0x2b9097(0x23e)]-_0x45eff1;_0x45eff1>=_0x822b24[_0x2b9097(0x23e)]?_0x271377[_0x2b9097(0x2ae)](this[_0x2b9097(0x2c2)]['shift'](),_0x2a10b1):(_0x271377[_0x2b9097(0x2ae)](new Uint8Array(_0x822b24['buffer'],_0x822b24['byteOffset'],_0x45eff1),_0x2a10b1),this[_0x2b9097(0x2c2)][0x0]=new _0x118a21(_0x822b24[_0x2b9097(0x2ec)],_0x822b24[_0x2b9097(0x2e5)]+_0x45eff1,_0x822b24[_0x2b9097(0x23e)]-_0x45eff1)),_0x45eff1-=_0x822b24['length'];}while(_0x45eff1>0x0);return _0x271377;}[_0x1da45c(0x26a)](_0x4bcb52){const _0x429b61=_0x1da45c;this[_0x429b61(0x24d)]=!0x0;do switch(this[_0x429b61(0x2c5)]){case _0x29ea16:this[_0x429b61(0x2a4)](_0x4bcb52);break;case _0x3bfe25:this[_0x429b61(0x27b)](_0x4bcb52);break;case _0x4723bb:this['getPayloadLength64'](_0x4bcb52);break;case _0x279dd0:this[_0x429b61(0x239)]();break;case _0x2772bd:this['getData'](_0x4bcb52);break;case _0x40ac95:case _0x22cabf:this[_0x429b61(0x24d)]=!0x1;return;}while(this['_loop']);this[_0x429b61(0x2de)]||_0x4bcb52();}['getInfo'](_0x156985){const _0x130ced=_0x1da45c;if(this[_0x130ced(0x21d)]<0x2){this[_0x130ced(0x24d)]=!0x1;return;}const _0x255295=this[_0x130ced(0x21f)](0x2);if((_0x255295[0x0]&0x30)!==0x0){const _0x4aff27=this['createError'](RangeError,_0x130ced(0x204),!0x0,0x3ea,_0x130ced(0x203));_0x156985(_0x4aff27);return;}const _0x5549f8=(_0x255295[0x0]&0x40)===0x40;if(_0x5549f8&&!this[_0x130ced(0x20a)][_0x51ee90[_0x130ced(0x228)]]){const _0x417a0b=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x335),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x156985(_0x417a0b);return;}if(this[_0x130ced(0x38a)]=(_0x255295[0x0]&0x80)===0x80,this[_0x130ced(0x2ff)]=_0x255295[0x0]&0xf,this['_payloadLength']=_0x255295[0x1]&0x7f,this[_0x130ced(0x2ff)]===0x0){if(_0x5549f8){const _0x3bedca=this['createError'](RangeError,_0x130ced(0x335),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x156985(_0x3bedca);return;}if(!this['_fragmented']){const _0x280e35=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x388),!0x0,0x3ea,_0x130ced(0x2fd));_0x156985(_0x280e35);return;}this[_0x130ced(0x2ff)]=this[_0x130ced(0x1e6)];}else{if(this['_opcode']===0x1||this[_0x130ced(0x2ff)]===0x2){if(this[_0x130ced(0x1e6)]){const _0xe4fe7d=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x277)+this[_0x130ced(0x2ff)],!0x0,0x3ea,_0x130ced(0x2fd));_0x156985(_0xe4fe7d);return;}this[_0x130ced(0x2b9)]=_0x5549f8;}else{if(this[_0x130ced(0x2ff)]>0x7&&this[_0x130ced(0x2ff)]<0xb){if(!this[_0x130ced(0x38a)]){const _0x318798=this['createError'](RangeError,_0x130ced(0x200),!0x0,0x3ea,_0x130ced(0x34d));_0x156985(_0x318798);return;}if(_0x5549f8){const _0x21fd9c=this[_0x130ced(0x1e4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x130ced(0x31e));_0x156985(_0x21fd9c);return;}if(this[_0x130ced(0x237)]>0x7d||this[_0x130ced(0x2ff)]===0x8&&this[_0x130ced(0x237)]===0x1){const _0x4a5d58=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x343)+this[_0x130ced(0x237)],!0x0,0x3ea,_0x130ced(0x227));_0x156985(_0x4a5d58);return;}}else{const _0x27c96c=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x130ced(0x2fd));_0x156985(_0x27c96c);return;}}}if(!this[_0x130ced(0x38a)]&&!this['_fragmented']&&(this[_0x130ced(0x1e6)]=this[_0x130ced(0x2ff)]),this[_0x130ced(0x379)]=(_0x255295[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x130ced(0x379)]){const _0x3d8949=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x2a8),!0x0,0x3ea,_0x130ced(0x2f3));_0x156985(_0x3d8949);return;}}else{if(this[_0x130ced(0x379)]){const _0x2ccbb9=this[_0x130ced(0x1e4)](RangeError,_0x130ced(0x280),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x156985(_0x2ccbb9);return;}}this[_0x130ced(0x237)]===0x7e?this[_0x130ced(0x2c5)]=_0x3bfe25:this[_0x130ced(0x237)]===0x7f?this['_state']=_0x4723bb:this['haveLength'](_0x156985);}[_0x1da45c(0x27b)](_0x15949c){const _0x2a686d=_0x1da45c;if(this[_0x2a686d(0x21d)]<0x2){this[_0x2a686d(0x24d)]=!0x1;return;}this['_payloadLength']=this[_0x2a686d(0x21f)](0x2)[_0x2a686d(0x2bb)](0x0),this[_0x2a686d(0x219)](_0x15949c);}[_0x1da45c(0x24a)](_0xd61b1d){const _0x5bbbae=_0x1da45c;if(this[_0x5bbbae(0x21d)]<0x8){this[_0x5bbbae(0x24d)]=!0x1;return;}const _0x4ce546=this['consume'](0x8),_0xdccda9=_0x4ce546[_0x5bbbae(0x2c7)](0x0);if(_0xdccda9>Math[_0x5bbbae(0x30e)](0x2,0x15)-0x1){const _0x456856=this[_0x5bbbae(0x1e4)](RangeError,_0x5bbbae(0x336),!0x1,0x3f1,_0x5bbbae(0x2fe));_0xd61b1d(_0x456856);return;}this['_payloadLength']=_0xdccda9*Math[_0x5bbbae(0x30e)](0x2,0x20)+_0x4ce546['readUInt32BE'](0x4),this[_0x5bbbae(0x219)](_0xd61b1d);}[_0x1da45c(0x219)](_0x450a4e){const _0xc549ae=_0x1da45c;if(this[_0xc549ae(0x237)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0xc549ae(0x395)]>this[_0xc549ae(0x292)]&&this[_0xc549ae(0x292)]>0x0)){const _0x559f9d=this[_0xc549ae(0x1e4)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x450a4e(_0x559f9d);return;}this[_0xc549ae(0x379)]?this[_0xc549ae(0x2c5)]=_0x279dd0:this[_0xc549ae(0x2c5)]=_0x2772bd;}[_0x1da45c(0x239)](){const _0x6beb30=_0x1da45c;if(this[_0x6beb30(0x21d)]<0x4){this[_0x6beb30(0x24d)]=!0x1;return;}this[_0x6beb30(0x38b)]=this[_0x6beb30(0x21f)](0x4),this[_0x6beb30(0x2c5)]=_0x2772bd;}['getData'](_0x2d4212){const _0x55f67c=_0x1da45c;let _0x4700c2=_0x3a7a01;if(this[_0x55f67c(0x237)]){if(this['_bufferedBytes']<this[_0x55f67c(0x237)]){this[_0x55f67c(0x24d)]=!0x1;return;}_0x4700c2=this[_0x55f67c(0x21f)](this[_0x55f67c(0x237)]),this[_0x55f67c(0x379)]&&(this[_0x55f67c(0x38b)][0x0]|this['_mask'][0x1]|this[_0x55f67c(0x38b)][0x2]|this[_0x55f67c(0x38b)][0x3])!==0x0&&_0x56ee66(_0x4700c2,this[_0x55f67c(0x38b)]);}if(this[_0x55f67c(0x2ff)]>0x7){this[_0x55f67c(0x2e2)](_0x4700c2,_0x2d4212);return;}if(this[_0x55f67c(0x2b9)]){this[_0x55f67c(0x2c5)]=_0x40ac95,this[_0x55f67c(0x2d0)](_0x4700c2,_0x2d4212);return;}_0x4700c2['length']&&(this[_0x55f67c(0x299)]=this[_0x55f67c(0x395)],this[_0x55f67c(0x2a9)][_0x55f67c(0x1fb)](_0x4700c2)),this[_0x55f67c(0x240)](_0x2d4212);}['decompress'](_0x17eaff,_0x2c63d7){const _0x496e6f=_0x1da45c;this[_0x496e6f(0x20a)][_0x51ee90[_0x496e6f(0x228)]][_0x496e6f(0x2d0)](_0x17eaff,this[_0x496e6f(0x38a)],(_0x41caac,_0x5cf2b4)=>{const _0xbcc22a=_0x496e6f;if(_0x41caac)return _0x2c63d7(_0x41caac);if(_0x5cf2b4[_0xbcc22a(0x23e)]){if(this['_messageLength']+=_0x5cf2b4['length'],this['_messageLength']>this['_maxPayload']&&this[_0xbcc22a(0x292)]>0x0){const _0x1cfd2b=this[_0xbcc22a(0x1e4)](RangeError,_0xbcc22a(0x1e5),!0x1,0x3f1,_0xbcc22a(0x38f));_0x2c63d7(_0x1cfd2b);return;}this[_0xbcc22a(0x2a9)]['push'](_0x5cf2b4);}this[_0xbcc22a(0x240)](_0x2c63d7),this[_0xbcc22a(0x2c5)]===_0x29ea16&&this[_0xbcc22a(0x26a)](_0x2c63d7);});}['dataMessage'](_0x3b0234){const _0x26fee8=_0x1da45c;if(!this[_0x26fee8(0x38a)]){this[_0x26fee8(0x2c5)]=_0x29ea16;return;}const _0x81a44e=this[_0x26fee8(0x299)],_0x207c49=this[_0x26fee8(0x2a9)];if(this[_0x26fee8(0x395)]=0x0,this[_0x26fee8(0x299)]=0x0,this['_fragmented']=0x0,this[_0x26fee8(0x2a9)]=[],this[_0x26fee8(0x2ff)]===0x2){let _0x38c903;this[_0x26fee8(0x348)]===_0x26fee8(0x263)?_0x38c903=_0x46157c(_0x207c49,_0x81a44e):this[_0x26fee8(0x348)]===_0x26fee8(0x218)?_0x38c903=_0x31df89(_0x46157c(_0x207c49,_0x81a44e)):this[_0x26fee8(0x348)]===_0x26fee8(0x2a2)?_0x38c903=new Blob(_0x207c49):_0x38c903=_0x207c49,this[_0x26fee8(0x25f)]?(this[_0x26fee8(0x1f5)]('message',_0x38c903,!0x0),this[_0x26fee8(0x2c5)]=_0x29ea16):(this[_0x26fee8(0x2c5)]=_0x22cabf,setImmediate(()=>{const _0x308e5d=_0x26fee8;this[_0x308e5d(0x1f5)](_0x308e5d(0x305),_0x38c903,!0x0),this[_0x308e5d(0x2c5)]=_0x29ea16,this[_0x308e5d(0x26a)](_0x3b0234);}));}else{const _0xb9e667=_0x46157c(_0x207c49,_0x81a44e);if(!this[_0x26fee8(0x38c)]&&!_0x236f10(_0xb9e667)){const _0x5e186e=this['createError'](Error,_0x26fee8(0x2a5),!0x0,0x3ef,_0x26fee8(0x2ad));_0x3b0234(_0x5e186e);return;}this[_0x26fee8(0x2c5)]===_0x40ac95||this[_0x26fee8(0x25f)]?(this[_0x26fee8(0x1f5)](_0x26fee8(0x305),_0xb9e667,!0x1),this[_0x26fee8(0x2c5)]=_0x29ea16):(this[_0x26fee8(0x2c5)]=_0x22cabf,setImmediate(()=>{const _0x145dac=_0x26fee8;this[_0x145dac(0x1f5)]('message',_0xb9e667,!0x1),this['_state']=_0x29ea16,this[_0x145dac(0x26a)](_0x3b0234);}));}}[_0x1da45c(0x2e2)](_0x282b81,_0x427046){const _0x37460b=_0x1da45c;if(this[_0x37460b(0x2ff)]===0x8){if(_0x282b81[_0x37460b(0x23e)]===0x0)this['_loop']=!0x1,this[_0x37460b(0x1f5)](_0x37460b(0x290),0x3ed,_0x3a7a01),this[_0x37460b(0x389)]();else{const _0x4300ef=_0x282b81[_0x37460b(0x2bb)](0x0);if(!_0xa0daf9(_0x4300ef)){const _0x38be94=this[_0x37460b(0x1e4)](RangeError,_0x37460b(0x224)+_0x4300ef,!0x0,0x3ea,_0x37460b(0x28d));_0x427046(_0x38be94);return;}const _0x33f56b=new _0x118a21(_0x282b81['buffer'],_0x282b81[_0x37460b(0x2e5)]+0x2,_0x282b81[_0x37460b(0x23e)]-0x2);if(!this[_0x37460b(0x38c)]&&!_0x236f10(_0x33f56b)){const _0x2204cf=this['createError'](Error,_0x37460b(0x2a5),!0x0,0x3ef,_0x37460b(0x2ad));_0x427046(_0x2204cf);return;}this[_0x37460b(0x24d)]=!0x1,this[_0x37460b(0x1f5)](_0x37460b(0x290),_0x4300ef,_0x33f56b),this[_0x37460b(0x389)]();}this[_0x37460b(0x2c5)]=_0x29ea16;return;}this[_0x37460b(0x25f)]?(this[_0x37460b(0x1f5)](this[_0x37460b(0x2ff)]===0x9?_0x37460b(0x35f):_0x37460b(0x1ed),_0x282b81),this[_0x37460b(0x2c5)]=_0x29ea16):(this[_0x37460b(0x2c5)]=_0x22cabf,setImmediate(()=>{const _0x9d3d44=_0x37460b;this['emit'](this[_0x9d3d44(0x2ff)]===0x9?_0x9d3d44(0x35f):_0x9d3d44(0x1ed),_0x282b81),this[_0x9d3d44(0x2c5)]=_0x29ea16,this['startLoop'](_0x427046);}));}[_0x1da45c(0x1e4)](_0x1eb19c,_0x3ed72b,_0x25a100,_0x36dbcc,_0x2e043b){const _0x3b1828=_0x1da45c;this[_0x3b1828(0x24d)]=!0x1,this['_errored']=!0x0;const _0x473974=new _0x1eb19c(_0x25a100?_0x3b1828(0x1f1)+_0x3ed72b:_0x3ed72b);return Error[_0x3b1828(0x252)](_0x473974,this['createError']),_0x473974[_0x3b1828(0x300)]=_0x2e043b,_0x473974[_0x50e0df]=_0x36dbcc,_0x473974;}}return Se=_0xeb81c3,Se;}var Ee,et;function _t(){const _0x516302=_0x5652d6;if(et)return Ee;et=0x1;const {Duplex:_0x2be302}=_0x4aa344,{randomFillSync:_0x30f03f}=_0x52dc2a,_0x27df2c=he(),{EMPTY_BUFFER:_0x300398,kWebSocket:_0x3b9ed1,NOOP:_0x51cd09}=V(),{isBlob:_0x37b4ed,isValidStatusCode:_0x3e5f1a}=ne(),{mask:_0x32967f,toBuffer:_0x205739}=ce(),_0x4a7f36=Symbol(_0x516302(0x315)),_0x2a3eae=Buffer[_0x516302(0x20e)](0x4),_0x5150a4=0x8*0x400;let _0x332825,_0xe6842a=_0x5150a4;const _0x4c4f1b=0x0,_0x37c35e=0x1,_0xf3d5fb=0x2;class _0x506ad0{constructor(_0x3aee04,_0x1e4c1d,_0x3c57c5){const _0x524b19=_0x516302;this['_extensions']=_0x1e4c1d||{},_0x3c57c5&&(this[_0x524b19(0x367)]=_0x3c57c5,this[_0x524b19(0x31b)]=Buffer[_0x524b19(0x20e)](0x4)),this[_0x524b19(0x308)]=_0x3aee04,this[_0x524b19(0x235)]=!0x0,this[_0x524b19(0x32a)]=!0x1,this[_0x524b19(0x21d)]=0x0,this[_0x524b19(0x2d6)]=[],this[_0x524b19(0x2c5)]=_0x4c4f1b,this[_0x524b19(0x258)]=_0x51cd09,this[_0x3b9ed1]=void 0x0;}static['frame'](_0xf288a8,_0x1e973c){const _0xf2c550=_0x516302;let _0x3b444a,_0x180850=!0x1,_0x37d52f=0x2,_0x5c3012=!0x1;_0x1e973c[_0xf2c550(0x298)]&&(_0x3b444a=_0x1e973c[_0xf2c550(0x37c)]||_0x2a3eae,_0x1e973c[_0xf2c550(0x1ee)]?_0x1e973c['generateMask'](_0x3b444a):(_0xe6842a===_0x5150a4&&(_0x332825===void 0x0&&(_0x332825=Buffer['alloc'](_0x5150a4)),_0x30f03f(_0x332825,0x0,_0x5150a4),_0xe6842a=0x0),_0x3b444a[0x0]=_0x332825[_0xe6842a++],_0x3b444a[0x1]=_0x332825[_0xe6842a++],_0x3b444a[0x2]=_0x332825[_0xe6842a++],_0x3b444a[0x3]=_0x332825[_0xe6842a++]),_0x5c3012=(_0x3b444a[0x0]|_0x3b444a[0x1]|_0x3b444a[0x2]|_0x3b444a[0x3])===0x0,_0x37d52f=0x6);let _0x46e230;typeof _0xf288a8==_0xf2c550(0x266)?(!_0x1e973c['mask']||_0x5c3012)&&_0x1e973c[_0x4a7f36]!==void 0x0?_0x46e230=_0x1e973c[_0x4a7f36]:(_0xf288a8=Buffer['from'](_0xf288a8),_0x46e230=_0xf288a8[_0xf2c550(0x23e)]):(_0x46e230=_0xf288a8[_0xf2c550(0x23e)],_0x180850=_0x1e973c[_0xf2c550(0x298)]&&_0x1e973c[_0xf2c550(0x216)]&&!_0x5c3012);let _0x5a5aef=_0x46e230;_0x46e230>=0x10000?(_0x37d52f+=0x8,_0x5a5aef=0x7f):_0x46e230>0x7d&&(_0x37d52f+=0x2,_0x5a5aef=0x7e);const _0x22d7ec=Buffer[_0xf2c550(0x381)](_0x180850?_0x46e230+_0x37d52f:_0x37d52f);return _0x22d7ec[0x0]=_0x1e973c[_0xf2c550(0x391)]?_0x1e973c[_0xf2c550(0x20b)]|0x80:_0x1e973c[_0xf2c550(0x20b)],_0x1e973c[_0xf2c550(0x2e7)]&&(_0x22d7ec[0x0]|=0x40),_0x22d7ec[0x1]=_0x5a5aef,_0x5a5aef===0x7e?_0x22d7ec[_0xf2c550(0x209)](_0x46e230,0x2):_0x5a5aef===0x7f&&(_0x22d7ec[0x2]=_0x22d7ec[0x3]=0x0,_0x22d7ec[_0xf2c550(0x294)](_0x46e230,0x4,0x6)),_0x1e973c[_0xf2c550(0x298)]?(_0x22d7ec[0x1]|=0x80,_0x22d7ec[_0x37d52f-0x4]=_0x3b444a[0x0],_0x22d7ec[_0x37d52f-0x3]=_0x3b444a[0x1],_0x22d7ec[_0x37d52f-0x2]=_0x3b444a[0x2],_0x22d7ec[_0x37d52f-0x1]=_0x3b444a[0x3],_0x5c3012?[_0x22d7ec,_0xf288a8]:_0x180850?(_0x32967f(_0xf288a8,_0x3b444a,_0x22d7ec,_0x37d52f,_0x46e230),[_0x22d7ec]):(_0x32967f(_0xf288a8,_0x3b444a,_0xf288a8,0x0,_0x46e230),[_0x22d7ec,_0xf288a8])):[_0x22d7ec,_0xf288a8];}[_0x516302(0x29b)](_0x26478b,_0x220c43,_0x45b01d,_0xe49350){const _0x39cfcf=_0x516302;let _0x3e4840;if(_0x26478b===void 0x0)_0x3e4840=_0x300398;else{if(typeof _0x26478b!=_0x39cfcf(0x326)||!_0x3e5f1a(_0x26478b))throw new TypeError(_0x39cfcf(0x230));if(_0x220c43===void 0x0||!_0x220c43['length'])_0x3e4840=Buffer[_0x39cfcf(0x381)](0x2),_0x3e4840['writeUInt16BE'](_0x26478b,0x0);else{const _0x46e823=Buffer[_0x39cfcf(0x25e)](_0x220c43);if(_0x46e823>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3e4840=Buffer['allocUnsafe'](0x2+_0x46e823),_0x3e4840[_0x39cfcf(0x209)](_0x26478b,0x0),typeof _0x220c43==_0x39cfcf(0x266)?_0x3e4840['write'](_0x220c43,0x2):_0x3e4840[_0x39cfcf(0x2ae)](_0x220c43,0x2);}}const _0x2b0962={[_0x4a7f36]:_0x3e4840[_0x39cfcf(0x23e)],'fin':!0x0,'generateMask':this[_0x39cfcf(0x367)],'mask':_0x45b01d,'maskBuffer':this[_0x39cfcf(0x31b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x39cfcf(0x2c5)]!==_0x4c4f1b?this['enqueue']([this['dispatch'],_0x3e4840,!0x1,_0x2b0962,_0xe49350]):this[_0x39cfcf(0x291)](_0x506ad0[_0x39cfcf(0x396)](_0x3e4840,_0x2b0962),_0xe49350);}['ping'](_0x358145,_0x3d1eb1,_0xef166c){const _0x2c20ec=_0x516302;let _0x252ec1,_0x54c95d;if(typeof _0x358145==_0x2c20ec(0x266)?(_0x252ec1=Buffer[_0x2c20ec(0x25e)](_0x358145),_0x54c95d=!0x1):_0x37b4ed(_0x358145)?(_0x252ec1=_0x358145['size'],_0x54c95d=!0x1):(_0x358145=_0x205739(_0x358145),_0x252ec1=_0x358145['length'],_0x54c95d=_0x205739[_0x2c20ec(0x216)]),_0x252ec1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3265c4={[_0x4a7f36]:_0x252ec1,'fin':!0x0,'generateMask':this[_0x2c20ec(0x367)],'mask':_0x3d1eb1,'maskBuffer':this[_0x2c20ec(0x31b)],'opcode':0x9,'readOnly':_0x54c95d,'rsv1':!0x1};_0x37b4ed(_0x358145)?this[_0x2c20ec(0x2c5)]!==_0x4c4f1b?this[_0x2c20ec(0x2f1)]([this['getBlobData'],_0x358145,!0x1,_0x3265c4,_0xef166c]):this[_0x2c20ec(0x255)](_0x358145,!0x1,_0x3265c4,_0xef166c):this[_0x2c20ec(0x2c5)]!==_0x4c4f1b?this[_0x2c20ec(0x2f1)]([this[_0x2c20ec(0x1ff)],_0x358145,!0x1,_0x3265c4,_0xef166c]):this[_0x2c20ec(0x291)](_0x506ad0[_0x2c20ec(0x396)](_0x358145,_0x3265c4),_0xef166c);}[_0x516302(0x1ed)](_0x277f51,_0x179ef2,_0x4914ef){const _0x48b73a=_0x516302;let _0x249612,_0x3f65e7;if(typeof _0x277f51==_0x48b73a(0x266)?(_0x249612=Buffer[_0x48b73a(0x25e)](_0x277f51),_0x3f65e7=!0x1):_0x37b4ed(_0x277f51)?(_0x249612=_0x277f51['size'],_0x3f65e7=!0x1):(_0x277f51=_0x205739(_0x277f51),_0x249612=_0x277f51['length'],_0x3f65e7=_0x205739[_0x48b73a(0x216)]),_0x249612>0x7d)throw new RangeError(_0x48b73a(0x288));const _0x44e8ae={[_0x4a7f36]:_0x249612,'fin':!0x0,'generateMask':this[_0x48b73a(0x367)],'mask':_0x179ef2,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3f65e7,'rsv1':!0x1};_0x37b4ed(_0x277f51)?this[_0x48b73a(0x2c5)]!==_0x4c4f1b?this[_0x48b73a(0x2f1)]([this[_0x48b73a(0x255)],_0x277f51,!0x1,_0x44e8ae,_0x4914ef]):this[_0x48b73a(0x255)](_0x277f51,!0x1,_0x44e8ae,_0x4914ef):this[_0x48b73a(0x2c5)]!==_0x4c4f1b?this[_0x48b73a(0x2f1)]([this[_0x48b73a(0x1ff)],_0x277f51,!0x1,_0x44e8ae,_0x4914ef]):this['sendFrame'](_0x506ad0[_0x48b73a(0x396)](_0x277f51,_0x44e8ae),_0x4914ef);}['send'](_0x3da8b0,_0x9502c4,_0x5a7431){const _0x1e3f1b=_0x516302,_0x476be1=this[_0x1e3f1b(0x20a)][_0x27df2c[_0x1e3f1b(0x228)]];let _0x5bdf91=_0x9502c4[_0x1e3f1b(0x202)]?0x2:0x1,_0xffd9b7=_0x9502c4[_0x1e3f1b(0x33d)],_0x379f19,_0x336f63;typeof _0x3da8b0==_0x1e3f1b(0x266)?(_0x379f19=Buffer[_0x1e3f1b(0x25e)](_0x3da8b0),_0x336f63=!0x1):_0x37b4ed(_0x3da8b0)?(_0x379f19=_0x3da8b0[_0x1e3f1b(0x26e)],_0x336f63=!0x1):(_0x3da8b0=_0x205739(_0x3da8b0),_0x379f19=_0x3da8b0[_0x1e3f1b(0x23e)],_0x336f63=_0x205739[_0x1e3f1b(0x216)]),this[_0x1e3f1b(0x235)]?(this['_firstFragment']=!0x1,_0xffd9b7&&_0x476be1&&_0x476be1[_0x1e3f1b(0x274)][_0x476be1[_0x1e3f1b(0x2d2)]?_0x1e3f1b(0x268):_0x1e3f1b(0x267)]&&(_0xffd9b7=_0x379f19>=_0x476be1[_0x1e3f1b(0x397)]),this[_0x1e3f1b(0x32a)]=_0xffd9b7):(_0xffd9b7=!0x1,_0x5bdf91=0x0),_0x9502c4[_0x1e3f1b(0x391)]&&(this[_0x1e3f1b(0x235)]=!0x0);const _0x30c942={[_0x4a7f36]:_0x379f19,'fin':_0x9502c4[_0x1e3f1b(0x391)],'generateMask':this[_0x1e3f1b(0x367)],'mask':_0x9502c4[_0x1e3f1b(0x298)],'maskBuffer':this[_0x1e3f1b(0x31b)],'opcode':_0x5bdf91,'readOnly':_0x336f63,'rsv1':_0xffd9b7};_0x37b4ed(_0x3da8b0)?this[_0x1e3f1b(0x2c5)]!==_0x4c4f1b?this[_0x1e3f1b(0x2f1)]([this[_0x1e3f1b(0x255)],_0x3da8b0,this[_0x1e3f1b(0x32a)],_0x30c942,_0x5a7431]):this[_0x1e3f1b(0x255)](_0x3da8b0,this['_compress'],_0x30c942,_0x5a7431):this[_0x1e3f1b(0x2c5)]!==_0x4c4f1b?this[_0x1e3f1b(0x2f1)]([this[_0x1e3f1b(0x1ff)],_0x3da8b0,this[_0x1e3f1b(0x32a)],_0x30c942,_0x5a7431]):this[_0x1e3f1b(0x1ff)](_0x3da8b0,this[_0x1e3f1b(0x32a)],_0x30c942,_0x5a7431);}['getBlobData'](_0x57fe2b,_0x39ace5,_0x391bce,_0x992aea){const _0x22aa7e=_0x516302;this[_0x22aa7e(0x21d)]+=_0x391bce[_0x4a7f36],this[_0x22aa7e(0x2c5)]=_0xf3d5fb,_0x57fe2b['arrayBuffer']()[_0x22aa7e(0x36f)](_0x627db4=>{const _0x830a49=_0x22aa7e;if(this['_socket']['destroyed']){const _0x1c5105=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x830a49(0x1ec)](_0x68521a,this,_0x1c5105,_0x992aea);return;}this[_0x830a49(0x21d)]-=_0x391bce[_0x4a7f36];const _0x362b39=_0x205739(_0x627db4);_0x39ace5?this['dispatch'](_0x362b39,_0x39ace5,_0x391bce,_0x992aea):(this[_0x830a49(0x2c5)]=_0x4c4f1b,this[_0x830a49(0x291)](_0x506ad0[_0x830a49(0x396)](_0x362b39,_0x391bce),_0x992aea),this['dequeue']());})[_0x22aa7e(0x369)](_0x2cbc0f=>{const _0x38efd7=_0x22aa7e;process[_0x38efd7(0x1ec)](_0x1512d9,this,_0x2cbc0f,_0x992aea);});}[_0x516302(0x1ff)](_0x407865,_0x41822b,_0x2a03a5,_0x5a47c7){const _0x432817=_0x516302;if(!_0x41822b){this[_0x432817(0x291)](_0x506ad0['frame'](_0x407865,_0x2a03a5),_0x5a47c7);return;}const _0x2d0952=this[_0x432817(0x20a)][_0x27df2c[_0x432817(0x228)]];this[_0x432817(0x21d)]+=_0x2a03a5[_0x4a7f36],this[_0x432817(0x2c5)]=_0x37c35e,_0x2d0952[_0x432817(0x33d)](_0x407865,_0x2a03a5[_0x432817(0x391)],(_0x5f55ce,_0x2be96a)=>{const _0x4c76fb=_0x432817;if(this['_socket'][_0x4c76fb(0x275)]){const _0x18bada=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x68521a(this,_0x18bada,_0x5a47c7);return;}this[_0x4c76fb(0x21d)]-=_0x2a03a5[_0x4a7f36],this[_0x4c76fb(0x2c5)]=_0x4c4f1b,_0x2a03a5['readOnly']=!0x1,this['sendFrame'](_0x506ad0[_0x4c76fb(0x396)](_0x2be96a,_0x2a03a5),_0x5a47c7),this[_0x4c76fb(0x1f8)]();});}[_0x516302(0x1f8)](){const _0xb32abd=_0x516302;for(;this[_0xb32abd(0x2c5)]===_0x4c4f1b&&this[_0xb32abd(0x2d6)][_0xb32abd(0x23e)];){const _0x100c6a=this[_0xb32abd(0x2d6)][_0xb32abd(0x2c4)]();this[_0xb32abd(0x21d)]-=_0x100c6a[0x3][_0x4a7f36],Reflect['apply'](_0x100c6a[0x0],this,_0x100c6a['slice'](0x1));}}['enqueue'](_0x1e0126){const _0x5d7c58=_0x516302;this[_0x5d7c58(0x21d)]+=_0x1e0126[0x3][_0x4a7f36],this[_0x5d7c58(0x2d6)][_0x5d7c58(0x1fb)](_0x1e0126);}[_0x516302(0x291)](_0x113618,_0x5d051b){const _0x167ba0=_0x516302;_0x113618[_0x167ba0(0x23e)]===0x2?(this[_0x167ba0(0x308)][_0x167ba0(0x22c)](),this[_0x167ba0(0x308)][_0x167ba0(0x264)](_0x113618[0x0]),this[_0x167ba0(0x308)][_0x167ba0(0x264)](_0x113618[0x1],_0x5d051b),this[_0x167ba0(0x308)][_0x167ba0(0x2e6)]()):this[_0x167ba0(0x308)][_0x167ba0(0x264)](_0x113618[0x0],_0x5d051b);}}Ee=_0x506ad0;function _0x68521a(_0x3a5372,_0x1077fd,_0x4bcc87){const _0x89d5c6=_0x516302;typeof _0x4bcc87==_0x89d5c6(0x384)&&_0x4bcc87(_0x1077fd);for(let _0x1c87e5=0x0;_0x1c87e5<_0x3a5372[_0x89d5c6(0x2d6)]['length'];_0x1c87e5++){const _0x39c341=_0x3a5372[_0x89d5c6(0x2d6)][_0x1c87e5],_0x458ffe=_0x39c341[_0x39c341[_0x89d5c6(0x23e)]-0x1];typeof _0x458ffe=='function'&&_0x458ffe(_0x1077fd);}}function _0x1512d9(_0x3b34af,_0x5d2f9c,_0xdba8a8){const _0x53c52e=_0x516302;_0x68521a(_0x3b34af,_0x5d2f9c,_0xdba8a8),_0x3b34af[_0x53c52e(0x258)](_0x5d2f9c);}return Ee;}var xe,tt;function Kt(){const _0x16ece7=_0x5652d6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2896fa,kListener:_0x28406e}=V(),_0x4e9c16=Symbol(_0x16ece7(0x371)),_0x5402be=Symbol(_0x16ece7(0x33f)),_0x180bc7=Symbol(_0x16ece7(0x2b3)),_0x280ab9=Symbol('kMessage'),_0x214b47=Symbol(_0x16ece7(0x37f)),_0x5ad55d=Symbol(_0x16ece7(0x1e3)),_0x343d67=Symbol('kType'),_0x216a05=Symbol('kWasClean');class _0x5bfcb0{constructor(_0x54c547){this[_0x5ad55d]=null,this[_0x343d67]=_0x54c547;}get[_0x16ece7(0x372)](){return this[_0x5ad55d];}get[_0x16ece7(0x210)](){return this[_0x343d67];}}Object['defineProperty'](_0x5bfcb0[_0x16ece7(0x316)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x5bfcb0[_0x16ece7(0x316)],_0x16ece7(0x210),{'enumerable':!0x0});class _0xc8200 extends _0x5bfcb0{constructor(_0x486e4a,_0x30a0c8={}){const _0x2be1c9=_0x16ece7;super(_0x486e4a),this[_0x4e9c16]=_0x30a0c8[_0x2be1c9(0x300)]===void 0x0?0x0:_0x30a0c8[_0x2be1c9(0x300)],this[_0x214b47]=_0x30a0c8[_0x2be1c9(0x24f)]===void 0x0?'':_0x30a0c8['reason'],this[_0x216a05]=_0x30a0c8['wasClean']===void 0x0?!0x1:_0x30a0c8[_0x2be1c9(0x1f0)];}get[_0x16ece7(0x300)](){return this[_0x4e9c16];}get[_0x16ece7(0x24f)](){return this[_0x214b47];}get[_0x16ece7(0x1f0)](){return this[_0x216a05];}}Object['defineProperty'](_0xc8200[_0x16ece7(0x316)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0xc8200[_0x16ece7(0x316)],'reason',{'enumerable':!0x0}),Object[_0x16ece7(0x2d7)](_0xc8200['prototype'],_0x16ece7(0x1f0),{'enumerable':!0x0});class _0x23a3fa extends _0x5bfcb0{constructor(_0x360df4,_0x2bec1a={}){const _0xecbf17=_0x16ece7;super(_0x360df4),this[_0x180bc7]=_0x2bec1a[_0xecbf17(0x225)]===void 0x0?null:_0x2bec1a[_0xecbf17(0x225)],this[_0x280ab9]=_0x2bec1a[_0xecbf17(0x305)]===void 0x0?'':_0x2bec1a[_0xecbf17(0x305)];}get['error'](){return this[_0x180bc7];}get[_0x16ece7(0x305)](){return this[_0x280ab9];}}Object[_0x16ece7(0x2d7)](_0x23a3fa[_0x16ece7(0x316)],_0x16ece7(0x225),{'enumerable':!0x0}),Object[_0x16ece7(0x2d7)](_0x23a3fa['prototype'],'message',{'enumerable':!0x0});class _0x3ad65c extends _0x5bfcb0{constructor(_0x313c37,_0xf47593={}){super(_0x313c37),this[_0x5402be]=_0xf47593['data']===void 0x0?null:_0xf47593['data'];}get[_0x16ece7(0x226)](){return this[_0x5402be];}}Object[_0x16ece7(0x2d7)](_0x3ad65c[_0x16ece7(0x316)],_0x16ece7(0x226),{'enumerable':!0x0}),xe={'CloseEvent':_0xc8200,'ErrorEvent':_0x23a3fa,'Event':_0x5bfcb0,'EventTarget':{'addEventListener'(_0x45a850,_0x8bc3a8,_0x173179={}){const _0x507e59=_0x16ece7;for(const _0x24cdb6 of this[_0x507e59(0x2a0)](_0x45a850))if(!_0x173179[_0x2896fa]&&_0x24cdb6[_0x28406e]===_0x8bc3a8&&!_0x24cdb6[_0x2896fa])return;let _0x6bb430;if(_0x45a850==='message')_0x6bb430=function(_0x2399a0,_0x1142a0){const _0x40d8a0=_0x507e59,_0x4a7a40=new _0x3ad65c(_0x40d8a0(0x305),{'data':_0x1142a0?_0x2399a0:_0x2399a0[_0x40d8a0(0x273)]()});_0x4a7a40[_0x5ad55d]=this,_0xf99803(_0x8bc3a8,this,_0x4a7a40);};else{if(_0x45a850===_0x507e59(0x29b))_0x6bb430=function(_0x58bfeb,_0x3ed3ef){const _0x9dedb5=_0x507e59,_0x4a9941=new _0xc8200(_0x9dedb5(0x29b),{'code':_0x58bfeb,'reason':_0x3ed3ef['toString'](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x4a9941[_0x5ad55d]=this,_0xf99803(_0x8bc3a8,this,_0x4a9941);};else{if(_0x45a850===_0x507e59(0x225))_0x6bb430=function(_0x15873d){const _0x40eb90=_0x507e59,_0x17ecb8=new _0x23a3fa(_0x40eb90(0x225),{'error':_0x15873d,'message':_0x15873d['message']});_0x17ecb8[_0x5ad55d]=this,_0xf99803(_0x8bc3a8,this,_0x17ecb8);};else{if(_0x45a850==='open')_0x6bb430=function(){const _0x443d12=new _0x5bfcb0('open');_0x443d12[_0x5ad55d]=this,_0xf99803(_0x8bc3a8,this,_0x443d12);};else return;}}}_0x6bb430[_0x2896fa]=!!_0x173179[_0x2896fa],_0x6bb430[_0x28406e]=_0x8bc3a8,_0x173179['once']?this[_0x507e59(0x2e3)](_0x45a850,_0x6bb430):this['on'](_0x45a850,_0x6bb430);},'removeEventListener'(_0x64f5da,_0x445dd9){const _0x52da10=_0x16ece7;for(const _0x49f69a of this[_0x52da10(0x2a0)](_0x64f5da))if(_0x49f69a[_0x28406e]===_0x445dd9&&!_0x49f69a[_0x2896fa]){this[_0x52da10(0x347)](_0x64f5da,_0x49f69a);break;}}},'MessageEvent':_0x3ad65c};function _0xf99803(_0x6946af,_0x2010de,_0x29c892){const _0x2fbc69=_0x16ece7;typeof _0x6946af==_0x2fbc69(0x311)&&_0x6946af['handleEvent']?_0x6946af[_0x2fbc69(0x30b)]['call'](_0x6946af,_0x29c892):_0x6946af['call'](_0x2010de,_0x29c892);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x499534}=ne();function _0x380156(_0x53392e,_0x56218a,_0x19964d){_0x53392e[_0x56218a]===void 0x0?_0x53392e[_0x56218a]=[_0x19964d]:_0x53392e[_0x56218a]['push'](_0x19964d);}function _0x4e84ee(_0x43254a){const _0x93ea3c=_0x18ce,_0x8ac7fd=Object[_0x93ea3c(0x375)](null);let _0x103d32=Object[_0x93ea3c(0x375)](null),_0x5db449=!0x1,_0x31e7b7=!0x1,_0x13342a=!0x1,_0x58dc74,_0x1f2024,_0xd8e3dd=-0x1,_0x345343=-0x1,_0x4bae3f=-0x1,_0x585020=0x0;for(;_0x585020<_0x43254a[_0x93ea3c(0x23e)];_0x585020++)if(_0x345343=_0x43254a[_0x93ea3c(0x293)](_0x585020),_0x58dc74===void 0x0){if(_0x4bae3f===-0x1&&_0x499534[_0x345343]===0x1)_0xd8e3dd===-0x1&&(_0xd8e3dd=_0x585020);else{if(_0x585020!==0x0&&(_0x345343===0x20||_0x345343===0x9))_0x4bae3f===-0x1&&_0xd8e3dd!==-0x1&&(_0x4bae3f=_0x585020);else{if(_0x345343===0x3b||_0x345343===0x2c){if(_0xd8e3dd===-0x1)throw new SyntaxError(_0x93ea3c(0x307)+_0x585020);_0x4bae3f===-0x1&&(_0x4bae3f=_0x585020);const _0x32266a=_0x43254a[_0x93ea3c(0x35e)](_0xd8e3dd,_0x4bae3f);_0x345343===0x2c?(_0x380156(_0x8ac7fd,_0x32266a,_0x103d32),_0x103d32=Object[_0x93ea3c(0x375)](null)):_0x58dc74=_0x32266a,_0xd8e3dd=_0x4bae3f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x585020);}}}else{if(_0x1f2024===void 0x0){if(_0x4bae3f===-0x1&&_0x499534[_0x345343]===0x1)_0xd8e3dd===-0x1&&(_0xd8e3dd=_0x585020);else{if(_0x345343===0x20||_0x345343===0x9)_0x4bae3f===-0x1&&_0xd8e3dd!==-0x1&&(_0x4bae3f=_0x585020);else{if(_0x345343===0x3b||_0x345343===0x2c){if(_0xd8e3dd===-0x1)throw new SyntaxError(_0x93ea3c(0x307)+_0x585020);_0x4bae3f===-0x1&&(_0x4bae3f=_0x585020),_0x380156(_0x103d32,_0x43254a['slice'](_0xd8e3dd,_0x4bae3f),!0x0),_0x345343===0x2c&&(_0x380156(_0x8ac7fd,_0x58dc74,_0x103d32),_0x103d32=Object[_0x93ea3c(0x375)](null),_0x58dc74=void 0x0),_0xd8e3dd=_0x4bae3f=-0x1;}else{if(_0x345343===0x3d&&_0xd8e3dd!==-0x1&&_0x4bae3f===-0x1)_0x1f2024=_0x43254a['slice'](_0xd8e3dd,_0x585020),_0xd8e3dd=_0x4bae3f=-0x1;else throw new SyntaxError(_0x93ea3c(0x307)+_0x585020);}}}}else{if(_0x31e7b7){if(_0x499534[_0x345343]!==0x1)throw new SyntaxError(_0x93ea3c(0x307)+_0x585020);_0xd8e3dd===-0x1?_0xd8e3dd=_0x585020:_0x5db449||(_0x5db449=!0x0),_0x31e7b7=!0x1;}else{if(_0x13342a){if(_0x499534[_0x345343]===0x1)_0xd8e3dd===-0x1&&(_0xd8e3dd=_0x585020);else{if(_0x345343===0x22&&_0xd8e3dd!==-0x1)_0x13342a=!0x1,_0x4bae3f=_0x585020;else{if(_0x345343===0x5c)_0x31e7b7=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x585020);}}}else{if(_0x345343===0x22&&_0x43254a['charCodeAt'](_0x585020-0x1)===0x3d)_0x13342a=!0x0;else{if(_0x4bae3f===-0x1&&_0x499534[_0x345343]===0x1)_0xd8e3dd===-0x1&&(_0xd8e3dd=_0x585020);else{if(_0xd8e3dd!==-0x1&&(_0x345343===0x20||_0x345343===0x9))_0x4bae3f===-0x1&&(_0x4bae3f=_0x585020);else{if(_0x345343===0x3b||_0x345343===0x2c){if(_0xd8e3dd===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x585020);_0x4bae3f===-0x1&&(_0x4bae3f=_0x585020);let _0x5b99d8=_0x43254a['slice'](_0xd8e3dd,_0x4bae3f);_0x5db449&&(_0x5b99d8=_0x5b99d8[_0x93ea3c(0x2b0)](/\\/g,''),_0x5db449=!0x1),_0x380156(_0x103d32,_0x1f2024,_0x5b99d8),_0x345343===0x2c&&(_0x380156(_0x8ac7fd,_0x58dc74,_0x103d32),_0x103d32=Object[_0x93ea3c(0x375)](null),_0x58dc74=void 0x0),_0x1f2024=void 0x0,_0xd8e3dd=_0x4bae3f=-0x1;}else throw new SyntaxError(_0x93ea3c(0x307)+_0x585020);}}}}}}}if(_0xd8e3dd===-0x1||_0x13342a||_0x345343===0x20||_0x345343===0x9)throw new SyntaxError(_0x93ea3c(0x340));_0x4bae3f===-0x1&&(_0x4bae3f=_0x585020);const _0x482499=_0x43254a['slice'](_0xd8e3dd,_0x4bae3f);return _0x58dc74===void 0x0?_0x380156(_0x8ac7fd,_0x482499,_0x103d32):(_0x1f2024===void 0x0?_0x380156(_0x103d32,_0x482499,!0x0):_0x5db449?_0x380156(_0x103d32,_0x1f2024,_0x482499[_0x93ea3c(0x2b0)](/\\/g,'')):_0x380156(_0x103d32,_0x1f2024,_0x482499),_0x380156(_0x8ac7fd,_0x58dc74,_0x103d32)),_0x8ac7fd;}function _0x5a3e49(_0x3b259c){const _0x19cc68=_0x18ce;return Object[_0x19cc68(0x25d)](_0x3b259c)[_0x19cc68(0x385)](_0xbe3c22=>{const _0x5c6c29=_0x19cc68;let _0x218505=_0x3b259c[_0xbe3c22];return Array[_0x5c6c29(0x36e)](_0x218505)||(_0x218505=[_0x218505]),_0x218505['map'](_0x2ce239=>[_0xbe3c22]['concat'](Object['keys'](_0x2ce239)[_0x5c6c29(0x385)](_0x4f4ec0=>{const _0x4b643e=_0x5c6c29;let _0x2d82b1=_0x2ce239[_0x4f4ec0];return Array['isArray'](_0x2d82b1)||(_0x2d82b1=[_0x2d82b1]),_0x2d82b1[_0x4b643e(0x385)](_0x503bae=>_0x503bae===!0x0?_0x4f4ec0:_0x4f4ec0+'='+_0x503bae)[_0x4b643e(0x283)](';\x20');}))[_0x5c6c29(0x283)](';\x20'))[_0x5c6c29(0x283)](',\x20');})[_0x19cc68(0x283)](',\x20');}return be={'format':_0x5a3e49,'parse':_0x4e84ee},be;}var we,st;function Ie(){const _0x324528=_0x5652d6;if(st)return we;st=0x1;const _0x5100ac=_0x37d4b7,_0x4824a2=_0x3d236c,_0x348b11=_0x46f51c,_0x272bf8=_0x529721,_0x4163ba=_0x5752fe,{randomBytes:_0x219faf,createHash:_0x4dffd6}=_0x52dc2a,{Duplex:_0xd47070,Readable:_0x2abe5f}=_0x4aa344,{URL:_0x24f85c}=_0x52d997,_0x29e4b2=he(),_0x239a82=dt(),_0x49f83a=_t(),{isBlob:_0x103a01}=ne(),{BINARY_TYPES:_0x84b3d3,EMPTY_BUFFER:_0x5db4c0,GUID:_0x4ac8a7,kForOnEventAttribute:_0x36475b,kListener:_0xcf2e8a,kStatusCode:_0x4c8a5e,kWebSocket:_0x1b6ef1,NOOP:_0x7cc9aa}=V(),{EventTarget:{addEventListener:_0x2f0a2c,removeEventListener:_0x54d78b}}=Kt(),{format:_0x2c628a,parse:_0x45d99b}=pt(),{toBuffer:_0xb4280e}=ce(),_0x348a35=0x1e*0x3e8,_0x88e598=Symbol(_0x324528(0x364)),_0x15ba91=[0x8,0xd],_0x49ef46=[_0x324528(0x2cf),_0x324528(0x22a),'CLOSING',_0x324528(0x246)],_0x1c99aa=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5a27a1 extends _0x5100ac{constructor(_0x1253f8,_0x3a2fd0,_0x3808b9){const _0x531d4c=_0x324528;super(),this[_0x531d4c(0x348)]=_0x84b3d3[0x0],this[_0x531d4c(0x27e)]=0x3ee,this[_0x531d4c(0x20d)]=!0x1,this[_0x531d4c(0x2ea)]=!0x1,this[_0x531d4c(0x259)]=_0x5db4c0,this[_0x531d4c(0x1fd)]=null,this[_0x531d4c(0x1e2)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this['_protocol']='',this['_readyState']=_0x5a27a1['CONNECTING'],this[_0x531d4c(0x206)]=null,this[_0x531d4c(0x2c9)]=null,this[_0x531d4c(0x308)]=null,_0x1253f8!==null?(this[_0x531d4c(0x33c)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x3a2fd0===void 0x0?_0x3a2fd0=[]:Array[_0x531d4c(0x36e)](_0x3a2fd0)||(typeof _0x3a2fd0==_0x531d4c(0x311)&&_0x3a2fd0!==null?(_0x3808b9=_0x3a2fd0,_0x3a2fd0=[]):_0x3a2fd0=[_0x3a2fd0]),_0x222a3e(this,_0x1253f8,_0x3a2fd0,_0x3808b9)):(this['_autoPong']=_0x3808b9[_0x531d4c(0x2e8)],this[_0x531d4c(0x2d2)]=!0x0);}get[_0x324528(0x232)](){const _0x1381e9=_0x324528;return this[_0x1381e9(0x348)];}set[_0x324528(0x232)](_0x95e69c){const _0x186a4d=_0x324528;_0x84b3d3[_0x186a4d(0x332)](_0x95e69c)&&(this[_0x186a4d(0x348)]=_0x95e69c,this[_0x186a4d(0x206)]&&(this[_0x186a4d(0x206)][_0x186a4d(0x348)]=_0x95e69c));}get[_0x324528(0x243)](){const _0x5d6ab1=_0x324528;return this[_0x5d6ab1(0x308)]?this[_0x5d6ab1(0x308)][_0x5d6ab1(0x212)]['length']+this[_0x5d6ab1(0x2c9)][_0x5d6ab1(0x21d)]:this['_bufferedAmount'];}get['extensions'](){const _0x4c2040=_0x324528;return Object[_0x4c2040(0x25d)](this[_0x4c2040(0x20a)])['join']();}get['isPaused'](){return this['_paused'];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x324528(0x269)](){return null;}get[_0x324528(0x22d)](){return null;}get[_0x324528(0x2c8)](){const _0x3ebe08=_0x324528;return this[_0x3ebe08(0x2d8)];}get[_0x324528(0x28e)](){const _0x3adee1=_0x324528;return this[_0x3adee1(0x1fe)];}get[_0x324528(0x28f)](){const _0x2a532c=_0x324528;return this[_0x2a532c(0x28c)];}[_0x324528(0x23d)](_0x56096d,_0x202f5b,_0xd59aba){const _0x37f9fa=_0x324528,_0x67b16e=new _0x239a82({'allowSynchronousEvents':_0xd59aba[_0x37f9fa(0x2b6)],'binaryType':this[_0x37f9fa(0x232)],'extensions':this[_0x37f9fa(0x20a)],'isServer':this[_0x37f9fa(0x2d2)],'maxPayload':_0xd59aba[_0x37f9fa(0x25a)],'skipUTF8Validation':_0xd59aba[_0x37f9fa(0x328)]}),_0x102b3f=new _0x49f83a(_0x56096d,this[_0x37f9fa(0x20a)],_0xd59aba[_0x37f9fa(0x1ee)]);this[_0x37f9fa(0x206)]=_0x67b16e,this[_0x37f9fa(0x2c9)]=_0x102b3f,this[_0x37f9fa(0x308)]=_0x56096d,_0x67b16e[_0x1b6ef1]=this,_0x102b3f[_0x1b6ef1]=this,_0x56096d[_0x1b6ef1]=this,_0x67b16e['on']('conclude',_0x20655b),_0x67b16e['on'](_0x37f9fa(0x2dd),_0x4d3755),_0x67b16e['on']('error',_0x5cbfaf),_0x67b16e['on'](_0x37f9fa(0x305),_0x46ca90),_0x67b16e['on']('ping',_0x42392e),_0x67b16e['on']('pong',_0x3d5c4d),_0x102b3f[_0x37f9fa(0x258)]=_0x5e44d4,_0x56096d['setTimeout']&&_0x56096d[_0x37f9fa(0x357)](0x0),_0x56096d[_0x37f9fa(0x361)]&&_0x56096d[_0x37f9fa(0x361)](),_0x202f5b[_0x37f9fa(0x23e)]>0x0&&_0x56096d['unshift'](_0x202f5b),_0x56096d['on']('close',_0x25c3ee),_0x56096d['on']('data',_0x342a26),_0x56096d['on'](_0x37f9fa(0x389),_0x2a992d),_0x56096d['on']('error',_0x1ea5d0),this[_0x37f9fa(0x1fe)]=_0x5a27a1[_0x37f9fa(0x22a)],this['emit'](_0x37f9fa(0x271));}[_0x324528(0x2db)](){const _0x66d079=_0x324528;if(!this[_0x66d079(0x308)]){this[_0x66d079(0x1fe)]=_0x5a27a1[_0x66d079(0x246)],this[_0x66d079(0x1f5)]('close',this['_closeCode'],this['_closeMessage']);return;}this[_0x66d079(0x20a)][_0x29e4b2['extensionName']]&&this[_0x66d079(0x20a)][_0x29e4b2[_0x66d079(0x228)]]['cleanup'](),this[_0x66d079(0x206)][_0x66d079(0x342)](),this[_0x66d079(0x1fe)]=_0x5a27a1[_0x66d079(0x246)],this[_0x66d079(0x1f5)](_0x66d079(0x29b),this['_closeCode'],this['_closeMessage']);}['close'](_0x5afcf9,_0xa7c119){const _0xbe6ef9=_0x324528;if(this[_0xbe6ef9(0x28e)]!==_0x5a27a1['CLOSED']){if(this['readyState']===_0x5a27a1[_0xbe6ef9(0x2cf)]){_0x5dd75b(this,this[_0xbe6ef9(0x28b)],_0xbe6ef9(0x27d));return;}if(this[_0xbe6ef9(0x28e)]===_0x5a27a1[_0xbe6ef9(0x2da)]){this[_0xbe6ef9(0x2ea)]&&(this[_0xbe6ef9(0x20d)]||this[_0xbe6ef9(0x206)][_0xbe6ef9(0x212)][_0xbe6ef9(0x301)])&&this[_0xbe6ef9(0x308)]['end']();return;}this[_0xbe6ef9(0x1fe)]=_0x5a27a1[_0xbe6ef9(0x2da)],this[_0xbe6ef9(0x2c9)][_0xbe6ef9(0x29b)](_0x5afcf9,_0xa7c119,!this['_isServer'],_0xe9683b=>{const _0x10be9a=_0xbe6ef9;_0xe9683b||(this[_0x10be9a(0x2ea)]=!0x0,(this[_0x10be9a(0x20d)]||this['_receiver']['_writableState'][_0x10be9a(0x301)])&&this[_0x10be9a(0x308)][_0x10be9a(0x389)]());}),_0x101cd8(this);}}[_0x324528(0x25c)](){const _0x517308=_0x324528;this[_0x517308(0x28e)]===_0x5a27a1['CONNECTING']||this[_0x517308(0x28e)]===_0x5a27a1[_0x517308(0x246)]||(this[_0x517308(0x2d3)]=!0x0,this[_0x517308(0x308)][_0x517308(0x25c)]());}[_0x324528(0x35f)](_0x23348,_0x4a625a,_0x2f15c8){const _0x2d1d1b=_0x324528;if(this['readyState']===_0x5a27a1[_0x2d1d1b(0x2cf)])throw new Error(_0x2d1d1b(0x2e1));if(typeof _0x23348==_0x2d1d1b(0x384)?(_0x2f15c8=_0x23348,_0x23348=_0x4a625a=void 0x0):typeof _0x4a625a=='function'&&(_0x2f15c8=_0x4a625a,_0x4a625a=void 0x0),typeof _0x23348==_0x2d1d1b(0x326)&&(_0x23348=_0x23348[_0x2d1d1b(0x273)]()),this[_0x2d1d1b(0x28e)]!==_0x5a27a1['OPEN']){_0x50518a(this,_0x23348,_0x2f15c8);return;}_0x4a625a===void 0x0&&(_0x4a625a=!this[_0x2d1d1b(0x2d2)]),this[_0x2d1d1b(0x2c9)][_0x2d1d1b(0x35f)](_0x23348||_0x5db4c0,_0x4a625a,_0x2f15c8);}[_0x324528(0x1ed)](_0x20eb5d,_0x24ab17,_0x296e18){const _0xaa6ab2=_0x324528;if(this[_0xaa6ab2(0x28e)]===_0x5a27a1[_0xaa6ab2(0x2cf)])throw new Error(_0xaa6ab2(0x2e1));if(typeof _0x20eb5d==_0xaa6ab2(0x384)?(_0x296e18=_0x20eb5d,_0x20eb5d=_0x24ab17=void 0x0):typeof _0x24ab17==_0xaa6ab2(0x384)&&(_0x296e18=_0x24ab17,_0x24ab17=void 0x0),typeof _0x20eb5d==_0xaa6ab2(0x326)&&(_0x20eb5d=_0x20eb5d[_0xaa6ab2(0x273)]()),this[_0xaa6ab2(0x28e)]!==_0x5a27a1[_0xaa6ab2(0x22a)]){_0x50518a(this,_0x20eb5d,_0x296e18);return;}_0x24ab17===void 0x0&&(_0x24ab17=!this[_0xaa6ab2(0x2d2)]),this[_0xaa6ab2(0x2c9)][_0xaa6ab2(0x1ed)](_0x20eb5d||_0x5db4c0,_0x24ab17,_0x296e18);}['resume'](){const _0x4da863=_0x324528;this['readyState']===_0x5a27a1[_0x4da863(0x2cf)]||this[_0x4da863(0x28e)]===_0x5a27a1[_0x4da863(0x246)]||(this[_0x4da863(0x2d3)]=!0x1,this[_0x4da863(0x206)]['_writableState'][_0x4da863(0x334)]||this[_0x4da863(0x308)][_0x4da863(0x208)]());}[_0x324528(0x23b)](_0x557ba8,_0x64165f,_0x5b1de0){const _0x3939ab=_0x324528;if(this[_0x3939ab(0x28e)]===_0x5a27a1['CONNECTING'])throw new Error(_0x3939ab(0x2e1));if(typeof _0x64165f==_0x3939ab(0x384)&&(_0x5b1de0=_0x64165f,_0x64165f={}),typeof _0x557ba8=='number'&&(_0x557ba8=_0x557ba8['toString']()),this[_0x3939ab(0x28e)]!==_0x5a27a1['OPEN']){_0x50518a(this,_0x557ba8,_0x5b1de0);return;}const _0x25675d={'binary':typeof _0x557ba8!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x64165f};this[_0x3939ab(0x20a)][_0x29e4b2[_0x3939ab(0x228)]]||(_0x25675d[_0x3939ab(0x33d)]=!0x1),this['_sender'][_0x3939ab(0x23b)](_0x557ba8||_0x5db4c0,_0x25675d,_0x5b1de0);}[_0x324528(0x2d5)](){const _0x487b3a=_0x324528;if(this[_0x487b3a(0x28e)]!==_0x5a27a1[_0x487b3a(0x246)]){if(this['readyState']===_0x5a27a1[_0x487b3a(0x2cf)]){_0x5dd75b(this,this['_req'],_0x487b3a(0x27d));return;}this[_0x487b3a(0x308)]&&(this[_0x487b3a(0x1fe)]=_0x5a27a1[_0x487b3a(0x2da)],this[_0x487b3a(0x308)][_0x487b3a(0x22f)]());}}}Object[_0x324528(0x2d7)](_0x5a27a1,_0x324528(0x2cf),{'enumerable':!0x0,'value':_0x49ef46[_0x324528(0x29e)](_0x324528(0x2cf))}),Object['defineProperty'](_0x5a27a1['prototype'],_0x324528(0x2cf),{'enumerable':!0x0,'value':_0x49ef46[_0x324528(0x29e)](_0x324528(0x2cf))}),Object[_0x324528(0x2d7)](_0x5a27a1,_0x324528(0x22a),{'enumerable':!0x0,'value':_0x49ef46['indexOf']('OPEN')}),Object[_0x324528(0x2d7)](_0x5a27a1[_0x324528(0x316)],_0x324528(0x22a),{'enumerable':!0x0,'value':_0x49ef46[_0x324528(0x29e)]('OPEN')}),Object[_0x324528(0x2d7)](_0x5a27a1,_0x324528(0x2da),{'enumerable':!0x0,'value':_0x49ef46[_0x324528(0x29e)](_0x324528(0x2da))}),Object[_0x324528(0x2d7)](_0x5a27a1[_0x324528(0x316)],_0x324528(0x2da),{'enumerable':!0x0,'value':_0x49ef46[_0x324528(0x29e)](_0x324528(0x2da))}),Object[_0x324528(0x2d7)](_0x5a27a1,_0x324528(0x246),{'enumerable':!0x0,'value':_0x49ef46['indexOf'](_0x324528(0x246))}),Object['defineProperty'](_0x5a27a1[_0x324528(0x316)],_0x324528(0x246),{'enumerable':!0x0,'value':_0x49ef46['indexOf'](_0x324528(0x246))}),[_0x324528(0x232),_0x324528(0x243),'extensions',_0x324528(0x2df),_0x324528(0x2c8),_0x324528(0x28e),'url']['forEach'](_0x2baddf=>{const _0x19251a=_0x324528;Object['defineProperty'](_0x5a27a1[_0x19251a(0x316)],_0x2baddf,{'enumerable':!0x0});}),[_0x324528(0x271),_0x324528(0x225),_0x324528(0x29b),_0x324528(0x305)][_0x324528(0x2bd)](_0x587f34=>{const _0x893cdc=_0x324528;Object['defineProperty'](_0x5a27a1[_0x893cdc(0x316)],'on'+_0x587f34,{'enumerable':!0x0,'get'(){const _0x40caab=_0x893cdc;for(const _0x16f2ea of this[_0x40caab(0x2a0)](_0x587f34))if(_0x16f2ea[_0x36475b])return _0x16f2ea[_0xcf2e8a];return null;},'set'(_0xea93d5){const _0x4ecda8=_0x893cdc;for(const _0x58d5b9 of this[_0x4ecda8(0x2a0)](_0x587f34))if(_0x58d5b9[_0x36475b]){this[_0x4ecda8(0x347)](_0x587f34,_0x58d5b9);break;}typeof _0xea93d5=='function'&&this[_0x4ecda8(0x2c0)](_0x587f34,_0xea93d5,{[_0x36475b]:!0x0});}});}),_0x5a27a1[_0x324528(0x316)][_0x324528(0x2c0)]=_0x2f0a2c,_0x5a27a1['prototype'][_0x324528(0x2b5)]=_0x54d78b,we=_0x5a27a1;function _0x222a3e(_0x186074,_0x265e29,_0x5b213c,_0x44d40f){const _0x3eb47e=_0x324528,_0x2e8cdb={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x15ba91[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x44d40f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3eb47e(0x265),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x186074[_0x3eb47e(0x32f)]=_0x2e8cdb['autoPong'],!_0x15ba91[_0x3eb47e(0x332)](_0x2e8cdb[_0x3eb47e(0x26b)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2e8cdb[_0x3eb47e(0x26b)]+_0x3eb47e(0x234)+_0x15ba91[_0x3eb47e(0x283)](',\x20')+')');let _0x11bd8c;if(_0x265e29 instanceof _0x24f85c)_0x11bd8c=_0x265e29;else try{_0x11bd8c=new _0x24f85c(_0x265e29);}catch{throw new SyntaxError(_0x3eb47e(0x2b4)+_0x265e29);}_0x11bd8c[_0x3eb47e(0x2c8)]==='http:'?_0x11bd8c[_0x3eb47e(0x2c8)]=_0x3eb47e(0x2f2):_0x11bd8c[_0x3eb47e(0x2c8)]==='https:'&&(_0x11bd8c[_0x3eb47e(0x2c8)]='wss:'),_0x186074[_0x3eb47e(0x28c)]=_0x11bd8c[_0x3eb47e(0x282)];const _0x2a96bb=_0x11bd8c[_0x3eb47e(0x2c8)]===_0x3eb47e(0x2a7),_0x14dea8=_0x11bd8c['protocol']===_0x3eb47e(0x358);let _0x4ed2ce;if(_0x11bd8c[_0x3eb47e(0x2c8)]!==_0x3eb47e(0x2f2)&&!_0x2a96bb&&!_0x14dea8?_0x4ed2ce=_0x3eb47e(0x32b):_0x14dea8&&!_0x11bd8c[_0x3eb47e(0x2f4)]?_0x4ed2ce=_0x3eb47e(0x236):_0x11bd8c['hash']&&(_0x4ed2ce=_0x3eb47e(0x238)),_0x4ed2ce){const _0x14e417=new SyntaxError(_0x4ed2ce);if(_0x186074[_0x3eb47e(0x321)]===0x0)throw _0x14e417;_0x958121(_0x186074,_0x14e417);return;}const _0x5d86e7=_0x2a96bb?0x1bb:0x50,_0x156825=_0x219faf(0x10)[_0x3eb47e(0x273)]('base64'),_0x16389e=_0x2a96bb?_0x4824a2[_0x3eb47e(0x2be)]:_0x348b11[_0x3eb47e(0x2be)],_0x281676=new Set();let _0x311873;if(_0x2e8cdb[_0x3eb47e(0x285)]=_0x2e8cdb[_0x3eb47e(0x285)]||(_0x2a96bb?_0x59303d:_0x26f5f4),_0x2e8cdb[_0x3eb47e(0x320)]=_0x2e8cdb[_0x3eb47e(0x320)]||_0x5d86e7,_0x2e8cdb['port']=_0x11bd8c[_0x3eb47e(0x2ef)]||_0x5d86e7,_0x2e8cdb[_0x3eb47e(0x23a)]=_0x11bd8c['hostname'][_0x3eb47e(0x36d)]('[')?_0x11bd8c[_0x3eb47e(0x254)][_0x3eb47e(0x35e)](0x1,-0x1):_0x11bd8c[_0x3eb47e(0x254)],_0x2e8cdb[_0x3eb47e(0x296)]={..._0x2e8cdb[_0x3eb47e(0x296)],'Sec-WebSocket-Version':_0x2e8cdb[_0x3eb47e(0x26b)],'Sec-WebSocket-Key':_0x156825,'Connection':_0x3eb47e(0x31d),'Upgrade':_0x3eb47e(0x231)},_0x2e8cdb[_0x3eb47e(0x1ef)]=_0x11bd8c[_0x3eb47e(0x2f4)]+_0x11bd8c[_0x3eb47e(0x20c)],_0x2e8cdb['timeout']=_0x2e8cdb[_0x3eb47e(0x272)],_0x2e8cdb[_0x3eb47e(0x245)]&&(_0x311873=new _0x29e4b2(_0x2e8cdb[_0x3eb47e(0x245)]!==!0x0?_0x2e8cdb[_0x3eb47e(0x245)]:{},!0x1,_0x2e8cdb[_0x3eb47e(0x25a)]),_0x2e8cdb[_0x3eb47e(0x296)][_0x3eb47e(0x37e)]=_0x2c628a({[_0x29e4b2[_0x3eb47e(0x228)]]:_0x311873[_0x3eb47e(0x22b)]()})),_0x5b213c[_0x3eb47e(0x23e)]){for(const _0x333515 of _0x5b213c){if(typeof _0x333515!='string'||!_0x1c99aa[_0x3eb47e(0x304)](_0x333515)||_0x281676[_0x3eb47e(0x344)](_0x333515))throw new SyntaxError(_0x3eb47e(0x325));_0x281676[_0x3eb47e(0x30f)](_0x333515);}_0x2e8cdb['headers'][_0x3eb47e(0x313)]=_0x5b213c[_0x3eb47e(0x283)](',');}if(_0x2e8cdb[_0x3eb47e(0x215)]&&(_0x2e8cdb[_0x3eb47e(0x26b)]<0xd?_0x2e8cdb[_0x3eb47e(0x296)]['Sec-WebSocket-Origin']=_0x2e8cdb['origin']:_0x2e8cdb[_0x3eb47e(0x296)][_0x3eb47e(0x31a)]=_0x2e8cdb[_0x3eb47e(0x215)]),(_0x11bd8c[_0x3eb47e(0x30c)]||_0x11bd8c['password'])&&(_0x2e8cdb['auth']=_0x11bd8c['username']+':'+_0x11bd8c[_0x3eb47e(0x2a1)]),_0x14dea8){const _0x213687=_0x2e8cdb[_0x3eb47e(0x1ef)]['split'](':');_0x2e8cdb[_0x3eb47e(0x1eb)]=_0x213687[0x0],_0x2e8cdb[_0x3eb47e(0x1ef)]=_0x213687[0x1];}let _0x36db19;if(_0x2e8cdb[_0x3eb47e(0x33b)]){if(_0x186074[_0x3eb47e(0x321)]===0x0){_0x186074[_0x3eb47e(0x2bf)]=_0x14dea8,_0x186074[_0x3eb47e(0x21e)]=_0x2a96bb,_0x186074[_0x3eb47e(0x261)]=_0x14dea8?_0x2e8cdb[_0x3eb47e(0x1eb)]:_0x11bd8c[_0x3eb47e(0x23a)];const _0xa80137=_0x44d40f&&_0x44d40f[_0x3eb47e(0x296)];if(_0x44d40f={..._0x44d40f,'headers':{}},_0xa80137){for(const [_0x472bdc,_0x546542]of Object[_0x3eb47e(0x360)](_0xa80137))_0x44d40f['headers'][_0x472bdc[_0x3eb47e(0x1f9)]()]=_0x546542;}}else{if(_0x186074['listenerCount']('redirect')===0x0){const _0x124f13=_0x14dea8?_0x186074[_0x3eb47e(0x2bf)]?_0x2e8cdb[_0x3eb47e(0x1eb)]===_0x186074['_originalHostOrSocketPath']:!0x1:_0x186074[_0x3eb47e(0x2bf)]?!0x1:_0x11bd8c[_0x3eb47e(0x23a)]===_0x186074[_0x3eb47e(0x261)];(!_0x124f13||_0x186074[_0x3eb47e(0x21e)]&&!_0x2a96bb)&&(delete _0x2e8cdb[_0x3eb47e(0x296)]['authorization'],delete _0x2e8cdb[_0x3eb47e(0x296)]['cookie'],_0x124f13||delete _0x2e8cdb['headers'][_0x3eb47e(0x23a)],_0x2e8cdb['auth']=void 0x0);}}_0x2e8cdb[_0x3eb47e(0x207)]&&!_0x44d40f[_0x3eb47e(0x296)][_0x3eb47e(0x331)]&&(_0x44d40f[_0x3eb47e(0x296)][_0x3eb47e(0x331)]=_0x3eb47e(0x314)+Buffer[_0x3eb47e(0x35b)](_0x2e8cdb[_0x3eb47e(0x207)])[_0x3eb47e(0x273)]('base64')),_0x36db19=_0x186074[_0x3eb47e(0x28b)]=_0x16389e(_0x2e8cdb),_0x186074[_0x3eb47e(0x321)]&&_0x186074[_0x3eb47e(0x1f5)](_0x3eb47e(0x2f8),_0x186074[_0x3eb47e(0x28f)],_0x36db19);}else _0x36db19=_0x186074[_0x3eb47e(0x28b)]=_0x16389e(_0x2e8cdb);_0x2e8cdb[_0x3eb47e(0x2fc)]&&_0x36db19['on'](_0x3eb47e(0x2fc),()=>{const _0xcd6913=_0x3eb47e;_0x5dd75b(_0x186074,_0x36db19,_0xcd6913(0x1f3));}),_0x36db19['on']('error',_0x23c9f5=>{const _0x1555e2=_0x3eb47e;_0x36db19===null||_0x36db19[_0x88e598]||(_0x36db19=_0x186074[_0x1555e2(0x28b)]=null,_0x958121(_0x186074,_0x23c9f5));}),_0x36db19['on'](_0x3eb47e(0x2b7),_0x4f9425=>{const _0x4071fb=_0x3eb47e,_0x42dcea=_0x4f9425[_0x4071fb(0x296)]['location'],_0x40768d=_0x4f9425[_0x4071fb(0x289)];if(_0x42dcea&&_0x2e8cdb[_0x4071fb(0x33b)]&&_0x40768d>=0x12c&&_0x40768d<0x190){if(++_0x186074[_0x4071fb(0x321)]>_0x2e8cdb[_0x4071fb(0x35a)]){_0x5dd75b(_0x186074,_0x36db19,_0x4071fb(0x205));return;}_0x36db19[_0x4071fb(0x1fa)]();let _0x2f30b7;try{_0x2f30b7=new _0x24f85c(_0x42dcea,_0x265e29);}catch{const _0xe48c52=new SyntaxError('Invalid\x20URL:\x20'+_0x42dcea);_0x958121(_0x186074,_0xe48c52);return;}_0x222a3e(_0x186074,_0x2f30b7,_0x5b213c,_0x44d40f);}else _0x186074[_0x4071fb(0x1f5)](_0x4071fb(0x2ca),_0x36db19,_0x4f9425)||_0x5dd75b(_0x186074,_0x36db19,'Unexpected\x20server\x20response:\x20'+_0x4f9425['statusCode']);}),_0x36db19['on'](_0x3eb47e(0x2e0),(_0xfed986,_0x39a1a6,_0x36d862)=>{const _0x4eaa8f=_0x3eb47e;if(_0x186074[_0x4eaa8f(0x1f5)](_0x4eaa8f(0x2e0),_0xfed986),_0x186074[_0x4eaa8f(0x28e)]!==_0x5a27a1[_0x4eaa8f(0x2cf)])return;_0x36db19=_0x186074['_req']=null;const _0x1baef8=_0xfed986[_0x4eaa8f(0x296)][_0x4eaa8f(0x2e0)];if(_0x1baef8===void 0x0||_0x1baef8[_0x4eaa8f(0x1f9)]()!=='websocket'){_0x5dd75b(_0x186074,_0x39a1a6,_0x4eaa8f(0x363));return;}const _0x113e65=_0x4dffd6(_0x4eaa8f(0x383))[_0x4eaa8f(0x20f)](_0x156825+_0x4ac8a7)[_0x4eaa8f(0x26d)](_0x4eaa8f(0x2cc));if(_0xfed986[_0x4eaa8f(0x296)][_0x4eaa8f(0x25b)]!==_0x113e65){_0x5dd75b(_0x186074,_0x39a1a6,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x1e2ca2=_0xfed986[_0x4eaa8f(0x296)]['sec-websocket-protocol'];let _0x2249ff;if(_0x1e2ca2!==void 0x0?_0x281676[_0x4eaa8f(0x26e)]?_0x281676['has'](_0x1e2ca2)||(_0x2249ff=_0x4eaa8f(0x2cb)):_0x2249ff=_0x4eaa8f(0x223):_0x281676['size']&&(_0x2249ff=_0x4eaa8f(0x329)),_0x2249ff){_0x5dd75b(_0x186074,_0x39a1a6,_0x2249ff);return;}_0x1e2ca2&&(_0x186074[_0x4eaa8f(0x2d8)]=_0x1e2ca2);const _0x2cce8b=_0xfed986['headers'][_0x4eaa8f(0x279)];if(_0x2cce8b!==void 0x0){if(!_0x311873){_0x5dd75b(_0x186074,_0x39a1a6,_0x4eaa8f(0x2f0));return;}let _0x229a6b;try{_0x229a6b=_0x45d99b(_0x2cce8b);}catch{_0x5dd75b(_0x186074,_0x39a1a6,_0x4eaa8f(0x214));return;}const _0x3cdb55=Object[_0x4eaa8f(0x25d)](_0x229a6b);if(_0x3cdb55[_0x4eaa8f(0x23e)]!==0x1||_0x3cdb55[0x0]!==_0x29e4b2[_0x4eaa8f(0x228)]){_0x5dd75b(_0x186074,_0x39a1a6,_0x4eaa8f(0x365));return;}try{_0x311873['accept'](_0x229a6b[_0x29e4b2[_0x4eaa8f(0x228)]]);}catch{_0x5dd75b(_0x186074,_0x39a1a6,_0x4eaa8f(0x214));return;}_0x186074['_extensions'][_0x29e4b2[_0x4eaa8f(0x228)]]=_0x311873;}_0x186074[_0x4eaa8f(0x23d)](_0x39a1a6,_0x36d862,{'allowSynchronousEvents':_0x2e8cdb[_0x4eaa8f(0x2b6)],'generateMask':_0x2e8cdb[_0x4eaa8f(0x1ee)],'maxPayload':_0x2e8cdb[_0x4eaa8f(0x25a)],'skipUTF8Validation':_0x2e8cdb[_0x4eaa8f(0x328)]});}),_0x2e8cdb[_0x3eb47e(0x34c)]?_0x2e8cdb['finishRequest'](_0x36db19,_0x186074):_0x36db19[_0x3eb47e(0x389)]();}function _0x958121(_0x4dcc4a,_0x1b2d06){const _0x5d68f3=_0x324528;_0x4dcc4a[_0x5d68f3(0x1fe)]=_0x5a27a1[_0x5d68f3(0x2da)],_0x4dcc4a['_errorEmitted']=!0x0,_0x4dcc4a['emit'](_0x5d68f3(0x225),_0x1b2d06),_0x4dcc4a[_0x5d68f3(0x2db)]();}function _0x26f5f4(_0x5b5c9e){const _0x11b8a2=_0x324528;return _0x5b5c9e['path']=_0x5b5c9e[_0x11b8a2(0x1eb)],_0x272bf8[_0x11b8a2(0x253)](_0x5b5c9e);}function _0x59303d(_0x4423fb){const _0x59dc85=_0x324528;return _0x4423fb[_0x59dc85(0x1ef)]=void 0x0,!_0x4423fb['servername']&&_0x4423fb[_0x59dc85(0x2d9)]!==''&&(_0x4423fb[_0x59dc85(0x2d9)]=_0x272bf8[_0x59dc85(0x302)](_0x4423fb[_0x59dc85(0x23a)])?'':_0x4423fb[_0x59dc85(0x23a)]),_0x4163ba[_0x59dc85(0x253)](_0x4423fb);}function _0x5dd75b(_0x3104df,_0x37f599,_0x4df12d){const _0xe7cec=_0x324528;_0x3104df[_0xe7cec(0x1fe)]=_0x5a27a1[_0xe7cec(0x2da)];const _0x13f5c4=new Error(_0x4df12d);Error[_0xe7cec(0x252)](_0x13f5c4,_0x5dd75b),_0x37f599['setHeader']?(_0x37f599[_0x88e598]=!0x0,_0x37f599[_0xe7cec(0x1fa)](),_0x37f599['socket']&&!_0x37f599[_0xe7cec(0x352)][_0xe7cec(0x275)]&&_0x37f599[_0xe7cec(0x352)][_0xe7cec(0x22f)](),process[_0xe7cec(0x1ec)](_0x958121,_0x3104df,_0x13f5c4)):(_0x37f599[_0xe7cec(0x22f)](_0x13f5c4),_0x37f599['once'](_0xe7cec(0x225),_0x3104df[_0xe7cec(0x1f5)][_0xe7cec(0x351)](_0x3104df,_0xe7cec(0x225))),_0x37f599[_0xe7cec(0x2e3)](_0xe7cec(0x29b),_0x3104df[_0xe7cec(0x2db)][_0xe7cec(0x351)](_0x3104df)));}function _0x50518a(_0x26be8f,_0x9b9ddc,_0x1c5deb){const _0x557646=_0x324528;if(_0x9b9ddc){const _0x15f625=_0x103a01(_0x9b9ddc)?_0x9b9ddc['size']:_0xb4280e(_0x9b9ddc)[_0x557646(0x23e)];_0x26be8f['_socket']?_0x26be8f['_sender'][_0x557646(0x21d)]+=_0x15f625:_0x26be8f[_0x557646(0x33c)]+=_0x15f625;}if(_0x1c5deb){const _0x38d028=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x26be8f['readyState']+'\x20('+_0x49ef46[_0x26be8f[_0x557646(0x28e)]]+')');process[_0x557646(0x1ec)](_0x1c5deb,_0x38d028);}}function _0x20655b(_0x558afd,_0x3156be){const _0x39ce5a=_0x324528,_0x2d3f75=this[_0x1b6ef1];_0x2d3f75[_0x39ce5a(0x20d)]=!0x0,_0x2d3f75[_0x39ce5a(0x259)]=_0x3156be,_0x2d3f75[_0x39ce5a(0x27e)]=_0x558afd,_0x2d3f75[_0x39ce5a(0x308)][_0x1b6ef1]!==void 0x0&&(_0x2d3f75['_socket'][_0x39ce5a(0x347)]('data',_0x342a26),process[_0x39ce5a(0x1ec)](_0x2527be,_0x2d3f75[_0x39ce5a(0x308)]),_0x558afd===0x3ed?_0x2d3f75[_0x39ce5a(0x29b)]():_0x2d3f75[_0x39ce5a(0x29b)](_0x558afd,_0x3156be));}function _0x4d3755(){const _0x13002f=_0x324528,_0x273c37=this[_0x1b6ef1];_0x273c37[_0x13002f(0x2df)]||_0x273c37[_0x13002f(0x308)]['resume']();}function _0x5cbfaf(_0x28c47c){const _0x7c51dc=_0x324528,_0x174e7a=this[_0x1b6ef1];_0x174e7a[_0x7c51dc(0x308)][_0x1b6ef1]!==void 0x0&&(_0x174e7a[_0x7c51dc(0x308)][_0x7c51dc(0x347)](_0x7c51dc(0x226),_0x342a26),process[_0x7c51dc(0x1ec)](_0x2527be,_0x174e7a[_0x7c51dc(0x308)]),_0x174e7a['close'](_0x28c47c[_0x4c8a5e])),_0x174e7a[_0x7c51dc(0x1e2)]||(_0x174e7a[_0x7c51dc(0x1e2)]=!0x0,_0x174e7a[_0x7c51dc(0x1f5)]('error',_0x28c47c));}function _0x2e2ed2(){this[_0x1b6ef1]['emitClose']();}function _0x46ca90(_0x2c8f5a,_0x32811c){const _0x5cd5b8=_0x324528;this[_0x1b6ef1][_0x5cd5b8(0x1f5)](_0x5cd5b8(0x305),_0x2c8f5a,_0x32811c);}function _0x42392e(_0x1edc1f){const _0x241c79=_0x324528,_0x57ca68=this[_0x1b6ef1];_0x57ca68[_0x241c79(0x32f)]&&_0x57ca68['pong'](_0x1edc1f,!this[_0x241c79(0x2d2)],_0x7cc9aa),_0x57ca68[_0x241c79(0x1f5)](_0x241c79(0x35f),_0x1edc1f);}function _0x3d5c4d(_0x1e6406){const _0x451153=_0x324528;this[_0x1b6ef1][_0x451153(0x1f5)](_0x451153(0x1ed),_0x1e6406);}function _0x2527be(_0x477d62){const _0x4fc00e=_0x324528;_0x477d62[_0x4fc00e(0x208)]();}function _0x5e44d4(_0x5d85b7){const _0x90f007=_0x324528,_0x2b7a5b=this[_0x1b6ef1];_0x2b7a5b[_0x90f007(0x28e)]!==_0x5a27a1[_0x90f007(0x246)]&&(_0x2b7a5b[_0x90f007(0x28e)]===_0x5a27a1[_0x90f007(0x22a)]&&(_0x2b7a5b[_0x90f007(0x1fe)]=_0x5a27a1[_0x90f007(0x2da)],_0x101cd8(_0x2b7a5b)),this[_0x90f007(0x308)][_0x90f007(0x389)](),_0x2b7a5b['_errorEmitted']||(_0x2b7a5b['_errorEmitted']=!0x0,_0x2b7a5b[_0x90f007(0x1f5)]('error',_0x5d85b7)));}function _0x101cd8(_0x3d7155){const _0x11c9a4=_0x324528;_0x3d7155['_closeTimer']=setTimeout(_0x3d7155[_0x11c9a4(0x308)][_0x11c9a4(0x22f)][_0x11c9a4(0x351)](_0x3d7155['_socket']),_0x348a35);}function _0x25c3ee(){const _0xcd25ea=_0x324528,_0x15b81d=this[_0x1b6ef1];this[_0xcd25ea(0x347)]('close',_0x25c3ee),this[_0xcd25ea(0x347)](_0xcd25ea(0x226),_0x342a26),this['removeListener'](_0xcd25ea(0x389),_0x2a992d),_0x15b81d['_readyState']=_0x5a27a1['CLOSING'];let _0x4ed868;!this[_0xcd25ea(0x35c)][_0xcd25ea(0x2a3)]&&!_0x15b81d[_0xcd25ea(0x20d)]&&!_0x15b81d[_0xcd25ea(0x206)]['_writableState'][_0xcd25ea(0x301)]&&(_0x4ed868=_0x15b81d['_socket'][_0xcd25ea(0x2ce)]())!==null&&_0x15b81d[_0xcd25ea(0x206)][_0xcd25ea(0x264)](_0x4ed868),_0x15b81d[_0xcd25ea(0x206)]['end'](),this[_0x1b6ef1]=void 0x0,clearTimeout(_0x15b81d['_closeTimer']),_0x15b81d[_0xcd25ea(0x206)][_0xcd25ea(0x212)][_0xcd25ea(0x2eb)]||_0x15b81d[_0xcd25ea(0x206)][_0xcd25ea(0x212)][_0xcd25ea(0x301)]?_0x15b81d[_0xcd25ea(0x2db)]():(_0x15b81d[_0xcd25ea(0x206)]['on'](_0xcd25ea(0x225),_0x2e2ed2),_0x15b81d[_0xcd25ea(0x206)]['on'](_0xcd25ea(0x2fa),_0x2e2ed2));}function _0x342a26(_0x2584e5){const _0x4e92e6=_0x324528;this[_0x1b6ef1][_0x4e92e6(0x206)][_0x4e92e6(0x264)](_0x2584e5)||this[_0x4e92e6(0x25c)]();}function _0x2a992d(){const _0x17bfbc=_0x324528,_0x82c02b=this[_0x1b6ef1];_0x82c02b['_readyState']=_0x5a27a1[_0x17bfbc(0x2da)],_0x82c02b[_0x17bfbc(0x206)][_0x17bfbc(0x389)](),this[_0x17bfbc(0x389)]();}function _0x1ea5d0(){const _0x2516d9=_0x324528,_0x51c4d5=this[_0x1b6ef1];this[_0x2516d9(0x347)](_0x2516d9(0x225),_0x1ea5d0),this['on'](_0x2516d9(0x225),_0x7cc9aa),_0x51c4d5&&(_0x51c4d5[_0x2516d9(0x1fe)]=_0x5a27a1['CLOSING'],this[_0x2516d9(0x22f)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x977b85}=_0x4aa344;function _0x1cdbc8(_0x2acd33){const _0x32e20a=_0x18ce;_0x2acd33[_0x32e20a(0x1f5)](_0x32e20a(0x29b));}function _0x93afdd(){const _0x496a84=_0x18ce;!this['destroyed']&&this[_0x496a84(0x212)][_0x496a84(0x2eb)]&&this[_0x496a84(0x22f)]();}function _0xd6cc18(_0x3d267e){const _0x2691e2=_0x18ce;this[_0x2691e2(0x347)](_0x2691e2(0x225),_0xd6cc18),this['destroy'](),this['listenerCount'](_0x2691e2(0x225))===0x0&&this['emit'](_0x2691e2(0x225),_0x3d267e);}function _0x297803(_0xb93027,_0x3f81c6){const _0xa8bc0a=_0x18ce;let _0x1bcc56=!0x0;const _0xc4275=new _0x977b85({..._0x3f81c6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xb93027['on'](_0xa8bc0a(0x305),function(_0x4a94ab,_0x101e2c){const _0x549562=_0xa8bc0a,_0x587929=!_0x101e2c&&_0xc4275['_readableState']['objectMode']?_0x4a94ab['toString']():_0x4a94ab;_0xc4275[_0x549562(0x1fb)](_0x587929)||_0xb93027[_0x549562(0x25c)]();}),_0xb93027[_0xa8bc0a(0x2e3)]('error',function(_0x16c866){const _0x4c377a=_0xa8bc0a;_0xc4275[_0x4c377a(0x275)]||(_0x1bcc56=!0x1,_0xc4275[_0x4c377a(0x22f)](_0x16c866));}),_0xb93027[_0xa8bc0a(0x2e3)](_0xa8bc0a(0x29b),function(){const _0x12fb2f=_0xa8bc0a;_0xc4275[_0x12fb2f(0x275)]||_0xc4275[_0x12fb2f(0x1fb)](null);}),_0xc4275[_0xa8bc0a(0x38e)]=function(_0x2d4ae9,_0x7140e2){const _0x9e6e52=_0xa8bc0a;if(_0xb93027['readyState']===_0xb93027[_0x9e6e52(0x246)]){_0x7140e2(_0x2d4ae9),process[_0x9e6e52(0x1ec)](_0x1cdbc8,_0xc4275);return;}let _0x162fb4=!0x1;_0xb93027[_0x9e6e52(0x2e3)](_0x9e6e52(0x225),function(_0x28cf7b){_0x162fb4=!0x0,_0x7140e2(_0x28cf7b);}),_0xb93027['once'](_0x9e6e52(0x29b),function(){const _0x2a245d=_0x9e6e52;_0x162fb4||_0x7140e2(_0x2d4ae9),process[_0x2a245d(0x1ec)](_0x1cdbc8,_0xc4275);}),_0x1bcc56&&_0xb93027[_0x9e6e52(0x2d5)]();},_0xc4275[_0xa8bc0a(0x2b1)]=function(_0x239aa0){const _0xd20558=_0xa8bc0a;if(_0xb93027[_0xd20558(0x28e)]===_0xb93027['CONNECTING']){_0xb93027['once'](_0xd20558(0x271),function(){_0xc4275['_final'](_0x239aa0);});return;}_0xb93027[_0xd20558(0x308)]!==null&&(_0xb93027[_0xd20558(0x308)][_0xd20558(0x212)]['finished']?(_0x239aa0(),_0xc4275['_readableState'][_0xd20558(0x2a3)]&&_0xc4275[_0xd20558(0x22f)]()):(_0xb93027[_0xd20558(0x308)][_0xd20558(0x2e3)](_0xd20558(0x2fa),function(){_0x239aa0();}),_0xb93027[_0xd20558(0x29b)]()));},_0xc4275[_0xa8bc0a(0x322)]=function(){const _0x1b4617=_0xa8bc0a;_0xb93027[_0x1b4617(0x2df)]&&_0xb93027[_0x1b4617(0x208)]();},_0xc4275[_0xa8bc0a(0x2ac)]=function(_0x387f88,_0xe7fe07,_0x5ca85f){const _0x10b53d=_0xa8bc0a;if(_0xb93027[_0x10b53d(0x28e)]===_0xb93027['CONNECTING']){_0xb93027['once'](_0x10b53d(0x271),function(){const _0x56c291=_0x10b53d;_0xc4275[_0x56c291(0x2ac)](_0x387f88,_0xe7fe07,_0x5ca85f);});return;}_0xb93027[_0x10b53d(0x23b)](_0x387f88,_0x5ca85f);},_0xc4275['on'](_0xa8bc0a(0x389),_0x93afdd),_0xc4275['on'](_0xa8bc0a(0x225),_0xd6cc18),_0xc4275;}return Oe=_0x297803,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function _0x18ce(_0x5419a6,_0x352901){const _0x3278df=_0x3278();return _0x18ce=function(_0x18ce5e,_0x3faa0b){_0x18ce5e=_0x18ce5e-0x1e2;let _0x4a9a13=_0x3278df[_0x18ce5e];return _0x4a9a13;},_0x18ce(_0x5419a6,_0x352901);}function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x14ffe3}=ne();function _0x3c8d90(_0x436d70){const _0x525caa=_0x18ce,_0x526b48=new Set();let _0x547436=-0x1,_0x9aa346=-0x1,_0x3237fe=0x0;for(_0x3237fe;_0x3237fe<_0x436d70[_0x525caa(0x23e)];_0x3237fe++){const _0x37669e=_0x436d70[_0x525caa(0x293)](_0x3237fe);if(_0x9aa346===-0x1&&_0x14ffe3[_0x37669e]===0x1)_0x547436===-0x1&&(_0x547436=_0x3237fe);else{if(_0x3237fe!==0x0&&(_0x37669e===0x20||_0x37669e===0x9))_0x9aa346===-0x1&&_0x547436!==-0x1&&(_0x9aa346=_0x3237fe);else{if(_0x37669e===0x2c){if(_0x547436===-0x1)throw new SyntaxError(_0x525caa(0x307)+_0x3237fe);_0x9aa346===-0x1&&(_0x9aa346=_0x3237fe);const _0x82dbd5=_0x436d70[_0x525caa(0x35e)](_0x547436,_0x9aa346);if(_0x526b48[_0x525caa(0x344)](_0x82dbd5))throw new SyntaxError('The\x20\x22'+_0x82dbd5+_0x525caa(0x31c));_0x526b48[_0x525caa(0x30f)](_0x82dbd5),_0x547436=_0x9aa346=-0x1;}else throw new SyntaxError(_0x525caa(0x307)+_0x3237fe);}}}if(_0x547436===-0x1||_0x9aa346!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x213911=_0x436d70[_0x525caa(0x35e)](_0x547436,_0x3237fe);if(_0x526b48[_0x525caa(0x344)](_0x213911))throw new SyntaxError(_0x525caa(0x2f6)+_0x213911+_0x525caa(0x31c));return _0x526b48[_0x525caa(0x30f)](_0x213911),_0x526b48;}return Ce={'parse':_0x3c8d90},Ce;}var Te,ot;function er(){const _0x270ab8=_0x5652d6;if(ot)return Te;ot=0x1;const _0x47a25d=_0x37d4b7,_0x3c9e8f=_0x46f51c,{Duplex:_0x1dc51a}=_0x4aa344,{createHash:_0x3a29cf}=_0x52dc2a,_0x54dc6d=pt(),_0x364a79=he(),_0x2c2869=Jt(),_0x39a069=Ie(),{GUID:_0x5b71ae,kWebSocket:_0x366751}=V(),_0x510e87=/^[+/0-9A-Za-z]{22}==$/,_0x5f541f=0x0,_0x1422b0=0x1,_0x18bf05=0x2;class _0x3cf3c1 extends _0x47a25d{constructor(_0x5b7667,_0x370ecd){const _0x19756f=_0x18ce;if(super(),_0x5b7667={'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':_0x39a069,..._0x5b7667},_0x5b7667['port']==null&&!_0x5b7667[_0x19756f(0x244)]&&!_0x5b7667[_0x19756f(0x276)]||_0x5b7667[_0x19756f(0x2ef)]!=null&&(_0x5b7667[_0x19756f(0x244)]||_0x5b7667['noServer'])||_0x5b7667[_0x19756f(0x244)]&&_0x5b7667[_0x19756f(0x276)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5b7667[_0x19756f(0x2ef)]!=null?(this[_0x19756f(0x324)]=_0x3c9e8f[_0x19756f(0x21c)]((_0x408aee,_0x253a5b)=>{const _0x271713=_0x19756f,_0x70d020=_0x3c9e8f['STATUS_CODES'][0x1aa];_0x253a5b[_0x271713(0x249)](0x1aa,{'Content-Length':_0x70d020[_0x271713(0x23e)],'Content-Type':_0x271713(0x2f7)}),_0x253a5b[_0x271713(0x389)](_0x70d020);}),this[_0x19756f(0x324)][_0x19756f(0x31f)](_0x5b7667[_0x19756f(0x2ef)],_0x5b7667[_0x19756f(0x23a)],_0x5b7667['backlog'],_0x370ecd)):_0x5b7667[_0x19756f(0x244)]&&(this['_server']=_0x5b7667[_0x19756f(0x244)]),this[_0x19756f(0x324)]){const _0x58cca9=this['emit']['bind'](this,_0x19756f(0x201));this[_0x19756f(0x28a)]=_0x5adc68(this[_0x19756f(0x324)],{'listening':this[_0x19756f(0x1f5)][_0x19756f(0x351)](this,_0x19756f(0x22e)),'error':this[_0x19756f(0x1f5)][_0x19756f(0x351)](this,_0x19756f(0x225)),'upgrade':(_0x306229,_0x13e6ab,_0xdf2725)=>{this['handleUpgrade'](_0x306229,_0x13e6ab,_0xdf2725,_0x58cca9);}});}_0x5b7667[_0x19756f(0x245)]===!0x0&&(_0x5b7667[_0x19756f(0x245)]={}),_0x5b7667[_0x19756f(0x30d)]&&(this[_0x19756f(0x2dc)]=new Set(),this[_0x19756f(0x2f5)]=!0x1),this['options']=_0x5b7667,this[_0x19756f(0x2c5)]=_0x5f541f;}[_0x270ab8(0x333)](){const _0x1fce5b=_0x270ab8;if(this[_0x1fce5b(0x29c)][_0x1fce5b(0x276)])throw new Error(_0x1fce5b(0x374));return this[_0x1fce5b(0x324)]?this['_server'][_0x1fce5b(0x333)]():null;}[_0x270ab8(0x29b)](_0x4bb70f){const _0x5ab2d4=_0x270ab8;if(this[_0x5ab2d4(0x2c5)]===_0x18bf05){_0x4bb70f&&this[_0x5ab2d4(0x2e3)]('close',()=>{const _0xec28ab=_0x5ab2d4;_0x4bb70f(new Error(_0xec28ab(0x2bc)));}),process[_0x5ab2d4(0x1ec)](_0x4100f8,this);return;}if(_0x4bb70f&&this[_0x5ab2d4(0x2e3)](_0x5ab2d4(0x29b),_0x4bb70f),this[_0x5ab2d4(0x2c5)]!==_0x1422b0){if(this[_0x5ab2d4(0x2c5)]=_0x1422b0,this[_0x5ab2d4(0x29c)][_0x5ab2d4(0x276)]||this[_0x5ab2d4(0x29c)][_0x5ab2d4(0x244)])this['_server']&&(this[_0x5ab2d4(0x28a)](),this['_removeListeners']=this[_0x5ab2d4(0x324)]=null),this[_0x5ab2d4(0x2dc)]?this[_0x5ab2d4(0x2dc)]['size']?this[_0x5ab2d4(0x2f5)]=!0x0:process[_0x5ab2d4(0x1ec)](_0x4100f8,this):process[_0x5ab2d4(0x1ec)](_0x4100f8,this);else{const _0x4f16f2=this[_0x5ab2d4(0x324)];this[_0x5ab2d4(0x28a)](),this[_0x5ab2d4(0x28a)]=this[_0x5ab2d4(0x324)]=null,_0x4f16f2['close'](()=>{_0x4100f8(this);});}}}[_0x270ab8(0x30a)](_0x2b7515){const _0x21aba0=_0x270ab8;if(this['options']['path']){const _0x2c4e4c=_0x2b7515[_0x21aba0(0x28f)]['indexOf']('?');if((_0x2c4e4c!==-0x1?_0x2b7515['url'][_0x21aba0(0x35e)](0x0,_0x2c4e4c):_0x2b7515[_0x21aba0(0x28f)])!==this[_0x21aba0(0x29c)][_0x21aba0(0x1ef)])return!0x1;}return!0x0;}[_0x270ab8(0x29f)](_0x46e23,_0xa81aa0,_0x34d43d,_0x298cec){const _0x4d7357=_0x270ab8;_0xa81aa0['on'](_0x4d7357(0x225),_0x1eb7ce);const _0x1ec668=_0x46e23[_0x4d7357(0x296)][_0x4d7357(0x38d)],_0x4a288d=_0x46e23[_0x4d7357(0x296)]['upgrade'],_0x32d3b9=+_0x46e23[_0x4d7357(0x296)]['sec-websocket-version'];if(_0x46e23['method']!==_0x4d7357(0x265)){_0x436955(this,_0x46e23,_0xa81aa0,0x195,_0x4d7357(0x337));return;}if(_0x4a288d===void 0x0||_0x4a288d[_0x4d7357(0x1f9)]()!==_0x4d7357(0x231)){_0x436955(this,_0x46e23,_0xa81aa0,0x190,_0x4d7357(0x363));return;}if(_0x1ec668===void 0x0||!_0x510e87['test'](_0x1ec668)){_0x436955(this,_0x46e23,_0xa81aa0,0x190,_0x4d7357(0x24c));return;}if(_0x32d3b9!==0xd&&_0x32d3b9!==0x8){_0x436955(this,_0x46e23,_0xa81aa0,0x190,_0x4d7357(0x37a),{'Sec-WebSocket-Version':_0x4d7357(0x355)});return;}if(!this[_0x4d7357(0x30a)](_0x46e23)){_0x2f3a0f(_0xa81aa0,0x190);return;}const _0x2c78fb=_0x46e23[_0x4d7357(0x296)][_0x4d7357(0x338)];let _0x5c408b=new Set();if(_0x2c78fb!==void 0x0)try{_0x5c408b=_0x2c2869['parse'](_0x2c78fb);}catch{_0x436955(this,_0x46e23,_0xa81aa0,0x190,_0x4d7357(0x221));return;}const _0xd6458c=_0x46e23[_0x4d7357(0x296)][_0x4d7357(0x279)],_0x1ae923={};if(this[_0x4d7357(0x29c)][_0x4d7357(0x245)]&&_0xd6458c!==void 0x0){const _0xa9139d=new _0x364a79(this['options']['perMessageDeflate'],!0x0,this['options'][_0x4d7357(0x25a)]);try{const _0x1d340c=_0x54dc6d[_0x4d7357(0x33a)](_0xd6458c);_0x1d340c[_0x364a79[_0x4d7357(0x228)]]&&(_0xa9139d[_0x4d7357(0x1ea)](_0x1d340c[_0x364a79[_0x4d7357(0x228)]]),_0x1ae923[_0x364a79['extensionName']]=_0xa9139d);}catch{_0x436955(this,_0x46e23,_0xa81aa0,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x4d7357(0x2a6)]){const _0x532451={'origin':_0x46e23[_0x4d7357(0x296)][''+(_0x32d3b9===0x8?_0x4d7357(0x2fb):'origin')],'secure':!!(_0x46e23[_0x4d7357(0x352)][_0x4d7357(0x349)]||_0x46e23[_0x4d7357(0x352)][_0x4d7357(0x32e)]),'req':_0x46e23};if(this[_0x4d7357(0x29c)][_0x4d7357(0x2a6)][_0x4d7357(0x23e)]===0x2){this[_0x4d7357(0x29c)]['verifyClient'](_0x532451,(_0x1acf3b,_0x5227ab,_0x477786,_0x4d413d)=>{const _0x3cf9d2=_0x4d7357;if(!_0x1acf3b)return _0x2f3a0f(_0xa81aa0,_0x5227ab||0x191,_0x477786,_0x4d413d);this[_0x3cf9d2(0x2ba)](_0x1ae923,_0x1ec668,_0x5c408b,_0x46e23,_0xa81aa0,_0x34d43d,_0x298cec);});return;}if(!this[_0x4d7357(0x29c)]['verifyClient'](_0x532451))return _0x2f3a0f(_0xa81aa0,0x191);}this[_0x4d7357(0x2ba)](_0x1ae923,_0x1ec668,_0x5c408b,_0x46e23,_0xa81aa0,_0x34d43d,_0x298cec);}[_0x270ab8(0x2ba)](_0x204427,_0x5a01ab,_0x3b0883,_0x22b2e3,_0x39c367,_0x1e517e,_0x319583){const _0x54a163=_0x270ab8;if(!_0x39c367[_0x54a163(0x27c)]||!_0x39c367['writable'])return _0x39c367[_0x54a163(0x22f)]();if(_0x39c367[_0x366751])throw new Error(_0x54a163(0x27f));if(this[_0x54a163(0x2c5)]>_0x5f541f)return _0x2f3a0f(_0x39c367,0x1f7);const _0xa5f86d=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x54a163(0x1f6),_0x54a163(0x345)+_0x3a29cf('sha1')['update'](_0x5a01ab+_0x5b71ae)['digest'](_0x54a163(0x2cc))],_0x17a6fd=new this[(_0x54a163(0x29c))]['WebSocket'](null,void 0x0,this['options']);if(_0x3b0883[_0x54a163(0x26e)]){const _0x378254=this['options'][_0x54a163(0x398)]?this[_0x54a163(0x29c)]['handleProtocols'](_0x3b0883,_0x22b2e3):_0x3b0883[_0x54a163(0x34f)]()[_0x54a163(0x387)]()['value'];_0x378254&&(_0xa5f86d['push'](_0x54a163(0x2c1)+_0x378254),_0x17a6fd[_0x54a163(0x2d8)]=_0x378254);}if(_0x204427[_0x364a79['extensionName']]){const _0x5977ac=_0x204427[_0x364a79[_0x54a163(0x228)]]['params'],_0xc9d6a8=_0x54dc6d[_0x54a163(0x2f9)]({[_0x364a79['extensionName']]:[_0x5977ac]});_0xa5f86d[_0x54a163(0x1fb)](_0x54a163(0x303)+_0xc9d6a8),_0x17a6fd[_0x54a163(0x20a)]=_0x204427;}this[_0x54a163(0x1f5)](_0x54a163(0x296),_0xa5f86d,_0x22b2e3),_0x39c367['write'](_0xa5f86d[_0x54a163(0x2aa)]('\x0d\x0a')[_0x54a163(0x283)]('\x0d\x0a')),_0x39c367[_0x54a163(0x347)](_0x54a163(0x225),_0x1eb7ce),_0x17a6fd['setSocket'](_0x39c367,_0x1e517e,{'allowSynchronousEvents':this[_0x54a163(0x29c)][_0x54a163(0x2b6)],'maxPayload':this[_0x54a163(0x29c)][_0x54a163(0x25a)],'skipUTF8Validation':this[_0x54a163(0x29c)]['skipUTF8Validation']}),this[_0x54a163(0x2dc)]&&(this['clients'][_0x54a163(0x30f)](_0x17a6fd),_0x17a6fd['on']('close',()=>{const _0x4b40bb=_0x54a163;this[_0x4b40bb(0x2dc)]['delete'](_0x17a6fd),this['_shouldEmitClose']&&!this[_0x4b40bb(0x2dc)][_0x4b40bb(0x26e)]&&process[_0x4b40bb(0x1ec)](_0x4100f8,this);})),_0x319583(_0x17a6fd,_0x22b2e3);}}Te=_0x3cf3c1;function _0x5adc68(_0x16e382,_0x32c7f2){for(const _0x2b79d8 of Object['keys'](_0x32c7f2))_0x16e382['on'](_0x2b79d8,_0x32c7f2[_0x2b79d8]);return function(){const _0xd48c88=_0x18ce;for(const _0x3fd2b0 of Object[_0xd48c88(0x25d)](_0x32c7f2))_0x16e382[_0xd48c88(0x347)](_0x3fd2b0,_0x32c7f2[_0x3fd2b0]);};}function _0x4100f8(_0x4021b6){const _0x3cccdd=_0x270ab8;_0x4021b6[_0x3cccdd(0x2c5)]=_0x18bf05,_0x4021b6[_0x3cccdd(0x1f5)](_0x3cccdd(0x29b));}function _0x1eb7ce(){const _0x246341=_0x270ab8;this[_0x246341(0x22f)]();}function _0x2f3a0f(_0x45976e,_0x4bcc16,_0xec745d,_0x2fb676){const _0x4009d8=_0x270ab8;_0xec745d=_0xec745d||_0x3c9e8f[_0x4009d8(0x330)][_0x4bcc16],_0x2fb676={'Connection':_0x4009d8(0x29b),'Content-Type':_0x4009d8(0x27a),'Content-Length':Buffer[_0x4009d8(0x25e)](_0xec745d),..._0x2fb676},_0x45976e[_0x4009d8(0x2e3)](_0x4009d8(0x2fa),_0x45976e[_0x4009d8(0x22f)]),_0x45976e[_0x4009d8(0x389)](_0x4009d8(0x341)+_0x4bcc16+'\x20'+_0x3c9e8f[_0x4009d8(0x330)][_0x4bcc16]+'\x0d\x0a'+Object[_0x4009d8(0x25d)](_0x2fb676)[_0x4009d8(0x385)](_0x3bea4e=>_0x3bea4e+':\x20'+_0x2fb676[_0x3bea4e])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xec745d);}function _0x436955(_0x2f275d,_0x1c0ae9,_0x1ec6df,_0xbeef97,_0xa8bde6,_0x9beca9){const _0x59dc26=_0x270ab8;if(_0x2f275d[_0x59dc26(0x1fc)](_0x59dc26(0x251))){const _0x376025=new Error(_0xa8bde6);Error['captureStackTrace'](_0x376025,_0x436955),_0x2f275d[_0x59dc26(0x1f5)]('wsClientError',_0x376025,_0x1ec6df,_0x1c0ae9);}else _0x2f3a0f(_0x1ec6df,_0xbeef97,_0xa8bde6,_0x9beca9);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x3bb564,_0x5c6acf,_0x2a4406,_0xca119b)=>{const _0x12f5f3=_0x5652d6;for(var _0x3273d7=_0xca119b>0x1?void 0x0:_0xca119b?tr(_0x5c6acf,_0x2a4406):_0x5c6acf,_0x26e651=_0x3bb564[_0x12f5f3(0x23e)]-0x1,_0x3d0e22;_0x26e651>=0x0;_0x26e651--)(_0x3d0e22=_0x3bb564[_0x26e651])&&(_0x3273d7=_0x3d0e22(_0x3273d7)||_0x3273d7);return _0x3273d7;},sr=(_0x3651a5,_0x256ced)=>(_0xd1f0ed,_0x3287c8)=>_0x256ced(_0xd1f0ed,_0x3287c8,_0x3651a5);let Ne=class extends _0x7ead50{constructor(_0x37482d){const _0x5d41c8=_0x5652d6;super(),this[_0x5d41c8(0x229)]=_0x37482d;}['createSocket'](_0x16af3e){const _0x46b3ba=_0x5652d6;var _0x174891;const _0x476e57=(_0x174891=this[_0x46b3ba(0x229)]['getConfig'](Be))==null?void 0x0:_0x174891[_0x46b3ba(0x2d1)];try{const _0x4f8d0e=new Qt(_0x16af3e,{'headers':{..._0x476e57}}),_0x29c32b=new _0x100e68();return{'URL':_0x16af3e,'close':(_0x86aa21,_0x222740)=>{const _0x19bc27=_0x46b3ba;_0x4f8d0e[_0x19bc27(0x29b)](_0x86aa21,_0x222740),_0x29c32b['dispose']();},'send':_0x5124b9=>{const _0x25af08=_0x46b3ba;_0x4f8d0e[_0x25af08(0x23b)](_0x5124b9);},'open$':new _0x334b56(_0x3e821c=>{const _0x49b0db=_0x46b3ba,_0x57c0bd=_0x2d14dc=>_0x3e821c[_0x49b0db(0x387)](_0x2d14dc);_0x4f8d0e[_0x49b0db(0x2c0)]('open',_0x57c0bd),_0x29c32b['add'](_0x264eca(()=>_0x4f8d0e[_0x49b0db(0x2b5)](_0x49b0db(0x271),_0x57c0bd)));})[_0x46b3ba(0x248)](_0x1ac65d()),'close$':new _0x334b56(_0x4d4ca8=>{const _0x34b680=_0x46b3ba,_0x15165d=_0x52c4c3=>_0x4d4ca8[_0x34b680(0x387)](_0x52c4c3);_0x4f8d0e['addEventListener'](_0x34b680(0x29b),_0x15165d),_0x29c32b[_0x34b680(0x30f)](_0x264eca(()=>_0x4f8d0e[_0x34b680(0x2b5)](_0x34b680(0x29b),_0x15165d)));})[_0x46b3ba(0x248)](_0x1ac65d()),'error$':new _0x334b56(_0x5f1f4d=>{const _0xb7269d=_0x46b3ba,_0x35126d=_0x4d7611=>_0x5f1f4d[_0xb7269d(0x387)](_0x4d7611);_0x4f8d0e[_0xb7269d(0x2c0)](_0xb7269d(0x225),_0x35126d),_0x29c32b['add'](_0x264eca(()=>_0x4f8d0e[_0xb7269d(0x2b5)]('error',_0x35126d)));})[_0x46b3ba(0x248)](_0x1ac65d()),'message$':new _0x334b56(_0x4a666a=>{const _0x59eb6e=_0x46b3ba,_0x557694=_0x905e83=>_0x4a666a[_0x59eb6e(0x387)](_0x905e83);_0x4f8d0e[_0x59eb6e(0x2c0)](_0x59eb6e(0x305),_0x557694),_0x29c32b[_0x59eb6e(0x30f)](_0x264eca(()=>_0x4f8d0e[_0x59eb6e(0x2b5)](_0x59eb6e(0x305),_0x557694)));})[_0x46b3ba(0x248)](_0x1ac65d())};}catch(_0x557a90){return console[_0x46b3ba(0x225)](_0x557a90),null;}}};Ne=rr([sr(0x0,_0x445dd2)],Ne);var ir=Object[_0x5652d6(0x2d7)],nr=Object[_0x5652d6(0x23f)],or=(_0x3504e5,_0x3a6cc1,_0x2c2e7a)=>_0x3a6cc1 in _0x3504e5?ir(_0x3504e5,_0x3a6cc1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c2e7a}):_0x3504e5[_0x3a6cc1]=_0x2c2e7a,ar=(_0x1e8032,_0x362dee,_0xf09921,_0x5d93cd)=>{const _0x5b53e0=_0x5652d6;for(var _0x2408a6=_0x5d93cd>0x1?void 0x0:_0x5d93cd?nr(_0x362dee,_0xf09921):_0x362dee,_0x1e3d50=_0x1e8032[_0x5b53e0(0x23e)]-0x1,_0x111f9e;_0x1e3d50>=0x0;_0x1e3d50--)(_0x111f9e=_0x1e8032[_0x1e3d50])&&(_0x2408a6=_0x111f9e(_0x2408a6)||_0x2408a6);return _0x2408a6;},ke=(_0x440fb5,_0x5a0436)=>(_0x1f0073,_0x361341)=>_0x5a0436(_0x1f0073,_0x361341,_0x440fb5),lr=(_0x95287e,_0x40dc62,_0x51843a)=>or(_0x95287e,_0x40dc62+'',_0x51843a);let Pe=class extends _0xb2e2cc{constructor(_0x2d4a28=Ft,_0x336e0f,_0x49708f,_0x4c4119){const _0x1f8b00=_0x5652d6;_0x2d4a28[_0x1f8b00(0x2d1)]||_0x336e0f[_0x1f8b00(0x392)](_0x1f8b00(0x370)),super(),this[_0x1f8b00(0x229)]=_0x49708f,this[_0x1f8b00(0x327)]=_0x4c4119,this[_0x1f8b00(0x229)][_0x1f8b00(0x2b8)](Be,_0x2d4a28);}[_0x5652d6(0x295)](){this['_registerDependencies']();}[_0x5652d6(0x2e4)](){const _0x39f26d=_0x5652d6;_0x2fca91(this[_0x39f26d(0x327)],[[_0xdf476f,{'useClass':Ne}]]);}};lr(Pe,_0x5652d6(0x36a),_0x5652d6(0x278)),Pe=ar([_0x1b19b7(_0x5508df),ke(0x1,_0x4741cc),ke(0x2,_0x445dd2),ke(0x3,_0x13fd42(_0x1b016f))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x172661,_0x101bfb,_0x129206,_0x3e702b)=>{const _0x5f4318=_0x5652d6;for(var _0x355f87=_0x3e702b>0x1?void 0x0:_0x3e702b?fr(_0x101bfb,_0x129206):_0x101bfb,_0x4a08d3=_0x172661[_0x5f4318(0x23e)]-0x1,_0x21a65e;_0x4a08d3>=0x0;_0x4a08d3--)(_0x21a65e=_0x172661[_0x4a08d3])&&(_0x355f87=_0x21a65e(_0x355f87)||_0x355f87);return _0x355f87;},se=(_0x5cb1c6,_0x3550a0)=>(_0x5c3af4,_0x5202af)=>_0x3550a0(_0x5c3af4,_0x5202af,_0x5cb1c6);let at=class extends _0xa01adc{constructor(_0x3460aa,_0x12cda7,_0xaadbe,_0x10e103,_0x5f495e){const _0x44d785=_0x5652d6;super(_0x3460aa,_0x12cda7,_0xaadbe,_0x10e103,_0x5f495e);const _0x356013=this[_0x44d785(0x229)][_0x44d785(0x310)](Be);this[_0x44d785(0x34e)]['registerHTTPInterceptor']({'interceptor':(_0x3f55ab,_0x3ca0bb)=>{const _0x352e3f=_0x44d785;var _0x1fa740;const _0x4b3bdd=_0x3f55ab[_0x352e3f(0x296)];return(_0x1fa740=_0x356013==null?void 0x0:_0x356013[_0x352e3f(0x2d1)])!=null&&_0x1fa740['cookie']&&_0x4b3bdd['set']('Cookie',_0x356013[_0x352e3f(0x2d1)][_0x352e3f(0x312)]),_0x3ca0bb(_0x3f55ab);}});}async[_0x5652d6(0x390)](_0x180c1e){return this['_doCreateSocket'](_0x180c1e);}};at=cr([se(0x0,_0x13fd42(_0x1b016f)),se(0x1,_0x13fd42(_0x578029)),se(0x2,_0x445dd2),se(0x3,_0x4741cc),se(0x4,_0x5bc976)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|