@univerjs-pro/collaboration-client-node 0.10.9 → 0.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x421888=_0x2b98;(function(_0x22788f,_0x3e6142){const _0x2559f4=_0x2b98,_0x546d6b=_0x22788f();while(!![]){try{const _0x31f76e=parseInt(_0x2559f4(0x297))/0x1*(-parseInt(_0x2559f4(0x1cd))/0x2)+parseInt(_0x2559f4(0xf9))/0x3+-parseInt(_0x2559f4(0x1af))/0x4*(parseInt(_0x2559f4(0x22c))/0x5)+-parseInt(_0x2559f4(0x258))/0x6+-parseInt(_0x2559f4(0x19f))/0x7+parseInt(_0x2559f4(0x10d))/0x8+-parseInt(_0x2559f4(0x1a4))/0x9*(-parseInt(_0x2559f4(0x28a))/0xa);if(_0x31f76e===_0x3e6142)break;else _0x546d6b['push'](_0x546d6b['shift']());}catch(_0x3ba628){_0x546d6b['push'](_0x546d6b['shift']());}}}(_0x5831,0x94585));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x421888(0x1e7)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x421888(0x283),Ct={'customHeaders':{}};function Tt(_0x5959e4){const _0x505127=_0x421888;return _0x5959e4&&_0x5959e4[_0x505127(0x1d3)]&&Object[_0x505127(0x28d)][_0x505127(0x25e)][_0x505127(0x26b)](_0x5959e4,'default')?_0x5959e4[_0x505127(0x1bd)]:_0x5959e4;}function at(_0x4d57c6){const _0xb88847=_0x421888;if(Object[_0xb88847(0x28d)][_0xb88847(0x25e)]['call'](_0x4d57c6,'__esModule'))return _0x4d57c6;var _0x16477c=_0x4d57c6[_0xb88847(0x1bd)];if(typeof _0x16477c==_0xb88847(0x2af)){var _0x3cad5b=function _0x8b3c49(){const _0xf50e90=_0xb88847;var _0x585e79=!0x1;try{_0x585e79=this instanceof _0x8b3c49;}catch{}return _0x585e79?Reflect[_0xf50e90(0x2c2)](_0x16477c,arguments,this['constructor']):_0x16477c[_0xf50e90(0x280)](this,arguments);};_0x3cad5b['prototype']=_0x16477c['prototype'];}else _0x3cad5b={};return Object[_0xb88847(0x16f)](_0x3cad5b,'__esModule',{'value':!0x0}),Object[_0xb88847(0x174)](_0x4d57c6)[_0xb88847(0x2b3)](function(_0x34b28f){const _0x2faa12=_0xb88847;var _0x53e94e=Object[_0x2faa12(0x146)](_0x4d57c6,_0x34b28f);Object[_0x2faa12(0x16f)](_0x3cad5b,_0x34b28f,_0x53e94e[_0x2faa12(0x217)]?_0x53e94e:{'enumerable':!0x0,'get':function(){return _0x4d57c6[_0x34b28f];}});}),_0x3cad5b;}var se={'exports':{}},ge,Ge;function _0x5831(){const _0x213bc3=['frame','isPaused','_skipUTF8Validation','_errorEmitted','base64','_compress','host','string','digest','startLoop','shift','kRun','CollaborationSocketService','_options','_paused','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_EXPECTED_MASK','listeners','resume','13,\x208','_sender','kListener','bind','offer','_fragmented','format','invalid\x20opcode\x20','createConnection','handleUpgrade','https:','listen','concurrency','isArray','ws+unix:','handshakeTimeout','invalid\x20opcode\x200','sec-websocket-accept','getInfo','DependentOn','client','authorized','Sec-WebSocket-Accept:\x20','finishRequest','pause','onopen','_inflate','autoPong','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','createDeflateRaw','_allowSynchronousEvents','Invalid\x20URL:\x20','pow','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','readyState','getOwnPropertyDescriptor','normalizeParams','allocUnsafe','setConfig','captureStackTrace','_closeFrameSent','_queue','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','ping','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isBuffer','_readyState','skipUTF8Validation','Sec-WebSocket-Extensions','drain','reset','binary','enqueue','backlog','headers','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','stream','_autoPong','kError','data','_maskBuffer','IConfigService','hostname','_bufferedBytes','Origin','WS_NO_BUFFER_UTIL','exports','maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','ISnapshotServerService','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','message','unmask','_receiver','Invalid\x20Sec-WebSocket-Protocol\x20header','objectMode','defineProperty','cork','ILogService','_originalHostOrSocketPath','createError','keys','getConfig','alloc','_payloadLength','\x22:\x20','allowSynchronousEvents','end','acceptAsClient','_firstFragment','isInteger','text/plain','wasClean','client_max_window_bits','Upgrade','_write','type','kWasClean','_registerDependencies','registerDependencies','total-length','dataMessage','reason','concat','toLowerCase','MASK\x20must\x20be\x20set','GET','_fin','CONNECTING','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','addEventListener','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','completeUpgrade','_shouldEmitClose','_readableState','split','WS_ERR_UNEXPECTED_RSV_1','Unknown\x20parameter\x20\x22','wss:','concurrencyLimit','ISocketService','replace','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_threshold','3507959yZuLOE','then','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','acceptAsServer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','19118601IRSqwh','jobs','error','species','address','_redirects','_maxPayload','pending','toString','bufferedAmount','test','754556THFXWX','server_no_context_takeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','catch','socketPath','_binaryType','Z_SYNC_FLUSH','removeEventListener','_doCreateSocket','COLLABORATION_CLIENT_NODE_CONFIG_KEY','authorization','RSV1\x20must\x20be\x20clear','extensionName','next','default','removeAllListeners','_generateMask','WebSocket\x20is\x20not\x20open:\x20readyState\x20','readUInt32BE','set','kByteLength','clientNoContextTakeover','request','statusCode','_url','handleProtocols','clients','href','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_originalIpc','1791718AqUOiY','slice','serverMaxWindowBits','handleEvent','createServer','username','__esModule','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Origin','CLOSING','nextTick','The\x20\x22','_loop','_errored','serverNoContextTakeover','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Connection:\x20Upgrade','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','onStarting','getBlobData','blob','password','_max_window_bits','_socket','_writableState','errorEmitted','Module','setNoDelay','listenerCount','_state','flush','Unexpected\x20end\x20of\x20input','length','_isServer','noServer','generateMask','map','sendFrame','HTTPService','The\x20server\x20is\x20not\x20running','abort','WebSocket','_closeTimer','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','createInflateRaw','onmessage','charCodeAt','WS_ERR_INVALID_UTF8','zlibDeflateOptions','rsv1','Basic\x20','UniverCollaborationClientPlugin','join','terminate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','maxPayload','Max\x20payload\x20size\x20exceeded','server_max_window_bits','followRedirects','arraybuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','writeHead','buffers','pluginName','wsClientError','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20no\x20subprotocol','includes','Unexpected\x20server\x20response:\x20','_compressed','_messageLength','kReason','Invalid\x20HTTP\x20method','get','The\x20URL\x27s\x20pathname\x20is\x20empty','_server','finished','sec-websocket-version','STATUS_CODES','kAborted','value','status-code','\x20(supported\x20versions:\x20','binaryType','permessage-deflate','port','onclose','_closeFrameReceived','haveLength','servername','FIN\x20must\x20be\x20set','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getMask','_protocol','15HPvPnL','UniverCollaborationClientNodePlugin','close','kCode','pathname','_closeMessage','params','listening','Z_DEFAULT_WINDOWBITS','clientTracking','writeUIntBE','DisposableCollection','endEmitted','_decompress','_mask','createSocket','HTTP/1.1\x20','isIP','Invalid\x20Sec-WebSocket-Accept\x20header','_httpService','read','unshift','kMessage','Unsupported\x20protocol\x20version:\x20','writeUInt16BE','compress','NodeCollaborationSocketService','\x0d\x0a\x0d\x0a','Unexpected\x20character\x20at\x20index\x20','Cookie','url','has','needDrain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','customHeaders','sha1','indexOf','Sec-WebSocket-Protocol','Sec-WebSocket-Protocol:\x20','_injector','isValidUTF8','_deflate','env','_totalPayloadLength','5959500FYNDUg','encrypted','sec-websocket-origin','delete','Server\x20sent\x20an\x20invalid\x20subprotocol','cleanup','hasOwnProperty','mask','Injector','options','isView','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','getPayloadLength16','protocol','CLOSED','toStringTag','Sec-WebSocket-Extensions:\x20','origin','invalid\x20UTF-8\x20sequence','call','add','_no_context_takeover','_originalSecure','_opcode','auth','opcode','onerror','response','create','verifyClient','readOnly','update','_buffers','zlibInflateOptions','File','WS_NO_UTF_8_VALIDATE','from','MASK\x20must\x20be\x20clear','protocolVersion','Parameter\x20\x22','apply','uncork','number','collaboration-client-node.config','_masked','emitClose','WS_ERR_UNEXPECTED_MASK','share','_extensions','sec-websocket-key','10iwdhCI','once','search','prototype','upgrade','find','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','connect','_final','finish','sec-websocket-extensions','byteLength','clientMaxWindowBits','1vZisgV','_fragments','_req','defaultPort','invalid\x20payload\x20length\x20','redirect','setHeader','Observable','threshold','decompress','controlMessage','_removeListeners','client_no_context_takeover','open','unexpected-response','kIsForOnEventAttribute','removeListener','timeout','pipe','WS_ERR_INVALID_CLOSE_CODE','readable','extensions','freeze','object','function','accept','fin','http:','forEach','shouldHandle','buffer','WS_ERR_EXPECTED_FIN','OPEN','_closeCode','Plugin','text/html','path','WS_ERR_INVALID_OPCODE','destroy','isServer','emit','perMessageDeflate','destroyed','construct','getData','toDisposable','kData','push','_bufferedAmount','Blob','_destroy','setTimeout','Invalid\x20Upgrade\x20header','Inject','getPayloadLength64','parse','dispatch','send','_configService','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','2267160nXofnc','cookie','size','consume','method','write','Upgrade:\x20websocket','values','readUInt16BE','byteOffset','pong','arrayBuffer','conclude','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Maximum\x20redirects\x20exceeded','server','code','startsWith','websocket','socket','5470200dGyOkt','dispose','setSocket'];_0x5831=function(){return _0x213bc3;};return _0x5831();}function H(){const _0x32ae13=_0x421888;if(Ge)return ge;Ge=0x1;const _0x3bd6ec=['nodebuffer',_0x32ae13(0x209),'fragments'],_0x59faec=typeof Blob<'u';return _0x59faec&&_0x3bd6ec[_0x32ae13(0xec)]('blob'),ge={'BINARY_TYPES':_0x3bd6ec,'EMPTY_BUFFER':Buffer[_0x32ae13(0x176)](0x0),'GUID':_0x32ae13(0x190),'hasBlob':_0x59faec,'kForOnEventAttribute':Symbol(_0x32ae13(0x2a6)),'kListener':Symbol(_0x32ae13(0x125)),'kStatusCode':Symbol(_0x32ae13(0x21f)),'kWebSocket':Symbol(_0x32ae13(0x10b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x421888(0x2ad)](Object[_0x421888(0x16f)]({'__proto__':null,'default':Nt},Symbol[_0x421888(0x267)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x9dae4f=_0x421888;if(Ve)return se[_0x9dae4f(0x165)];Ve=0x1;const {EMPTY_BUFFER:_0x8ccdef}=H(),_0x2a1bda=Buffer[Symbol[_0x9dae4f(0x1a7)]];function _0x2d8377(_0x529bca,_0xb48147){const _0x183273=_0x9dae4f;if(_0x529bca['length']===0x0)return _0x8ccdef;if(_0x529bca[_0x183273(0x1ed)]===0x1)return _0x529bca[0x0];const _0x21c9c6=Buffer['allocUnsafe'](_0xb48147);let _0x5c2171=0x0;for(let _0x37af1e=0x0;_0x37af1e<_0x529bca[_0x183273(0x1ed)];_0x37af1e++){const _0x21ddc1=_0x529bca[_0x37af1e];_0x21c9c6[_0x183273(0x1c2)](_0x21ddc1,_0x5c2171),_0x5c2171+=_0x21ddc1[_0x183273(0x1ed)];}return _0x5c2171<_0xb48147?new _0x2a1bda(_0x21c9c6[_0x183273(0x2b5)],_0x21c9c6[_0x183273(0x102)],_0x5c2171):_0x21c9c6;}function _0x6a3183(_0x5edd81,_0x479ba7,_0x160950,_0x299f74,_0x59df87){for(let _0x5cc762=0x0;_0x5cc762<_0x59df87;_0x5cc762++)_0x160950[_0x299f74+_0x5cc762]=_0x5edd81[_0x5cc762]^_0x479ba7[_0x5cc762&0x3];}function _0x6d7785(_0x5d92f3,_0x1187ae){for(let _0x29a33f=0x0;_0x29a33f<_0x5d92f3['length'];_0x29a33f++)_0x5d92f3[_0x29a33f]^=_0x1187ae[_0x29a33f&0x3];}function _0x527399(_0x52c46c){const _0x293494=_0x9dae4f;return _0x52c46c[_0x293494(0x1ed)]===_0x52c46c[_0x293494(0x2b5)][_0x293494(0x295)]?_0x52c46c[_0x293494(0x2b5)]:_0x52c46c[_0x293494(0x2b5)][_0x293494(0x1ce)](_0x52c46c[_0x293494(0x102)],_0x52c46c[_0x293494(0x102)]+_0x52c46c[_0x293494(0x1ed)]);}function _0x28d52a(_0x245994){const _0xe7417a=_0x9dae4f;if(_0x28d52a[_0xe7417a(0x276)]=!0x0,Buffer[_0xe7417a(0x150)](_0x245994))return _0x245994;let _0x353fc0;return _0x245994 instanceof ArrayBuffer?_0x353fc0=new _0x2a1bda(_0x245994):ArrayBuffer[_0xe7417a(0x262)](_0x245994)?_0x353fc0=new _0x2a1bda(_0x245994['buffer'],_0x245994[_0xe7417a(0x102)],_0x245994[_0xe7417a(0x295)]):(_0x353fc0=Buffer['from'](_0x245994),_0x28d52a[_0xe7417a(0x276)]=!0x1),_0x353fc0;}if(se['exports']={'concat':_0x2d8377,'mask':_0x6a3183,'toArrayBuffer':_0x527399,'toBuffer':_0x28d52a,'unmask':_0x6d7785},!process['env'][_0x9dae4f(0x164)])try{const _0x149036=Lt;se[_0x9dae4f(0x165)][_0x9dae4f(0x25f)]=function(_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780){const _0x4594ab=_0x9dae4f;_0x2f9780<0x30?_0x6a3183(_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780):_0x149036[_0x4594ab(0x25f)](_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780);},se[_0x9dae4f(0x165)][_0x9dae4f(0x16b)]=function(_0x12e8cd,_0x2e224f){const _0xdd2f1e=_0x9dae4f;_0x12e8cd[_0xdd2f1e(0x1ed)]<0x20?_0x6d7785(_0x12e8cd,_0x2e224f):_0x149036[_0xdd2f1e(0x16b)](_0x12e8cd,_0x2e224f);};}catch{}return se[_0x9dae4f(0x165)];}var ye,He;function Pt(){const _0x54c26d=_0x421888;if(He)return ye;He=0x1;const _0x30cbbc=Symbol('kDone'),_0x5df12f=Symbol(_0x54c26d(0x11b));class _0x53414c{constructor(_0x5872df){const _0xf1c707=_0x54c26d;this[_0x30cbbc]=()=>{const _0xf5498a=_0x2b98;this[_0xf5498a(0x1ab)]--,this[_0x5df12f]();},this[_0xf1c707(0x12f)]=_0x5872df||0x1/0x0,this[_0xf1c707(0x1a5)]=[],this['pending']=0x0;}['add'](_0x481b74){this['jobs']['push'](_0x481b74),this[_0x5df12f]();}[_0x5df12f](){const _0x3a5ed3=_0x54c26d;if(this[_0x3a5ed3(0x1ab)]!==this[_0x3a5ed3(0x12f)]&&this[_0x3a5ed3(0x1a5)][_0x3a5ed3(0x1ed)]){const _0x20ff77=this[_0x3a5ed3(0x1a5)][_0x3a5ed3(0x11a)]();this[_0x3a5ed3(0x1ab)]++,_0x20ff77(this[_0x30cbbc]);}}}return ye=_0x53414c,ye;}var ve,ze;function _0x2b98(_0x18c95c,_0x1a2986){const _0x58316c=_0x5831();return _0x2b98=function(_0x2b9873,_0x3d1257){_0x2b9873=_0x2b9873-0xec;let _0x36edd7=_0x58316c[_0x2b9873];return _0x36edd7;},_0x2b98(_0x18c95c,_0x1a2986);}function he(){const _0x26ef9d=_0x421888;if(ze)return ve;ze=0x1;const _0x773d7a=bt,_0x2ae05f=ce(),_0x234686=Pt(),{kStatusCode:_0x3a7af6}=H(),_0x21c9e4=Buffer[Symbol[_0x26ef9d(0x1a7)]],_0x481ab1=Buffer['from']([0x0,0x0,0xff,0xff]),_0x4fe652=Symbol(_0x26ef9d(0x222)),_0x70541f=Symbol(_0x26ef9d(0x187)),_0x452a15=Symbol('callback'),_0x576e1b=Symbol(_0x26ef9d(0x20c)),_0x56e082=Symbol(_0x26ef9d(0x1a6));let _0x26f93d;class _0x57858f{constructor(_0xf66b86,_0x15771a,_0x757b39){const _0x4b604d=_0x26ef9d;if(this[_0x4b604d(0x1aa)]=_0x757b39|0x0,this['_options']=_0xf66b86||{},this[_0x4b604d(0x19e)]=this['_options'][_0x4b604d(0x29f)]!==void 0x0?this['_options'][_0x4b604d(0x29f)]:0x400,this['_isServer']=!!_0x15771a,this[_0x4b604d(0x255)]=null,this[_0x4b604d(0x13d)]=null,this[_0x4b604d(0x232)]=null,!_0x26f93d){const _0x4b3b27=this['_options'][_0x4b604d(0x19a)]!==void 0x0?this[_0x4b604d(0x11d)][_0x4b604d(0x19a)]:0xa;_0x26f93d=new _0x234686(_0x4b3b27);}}static get['extensionName'](){return'permessage-deflate';}[_0x26ef9d(0x127)](){const _0x5511f3=_0x26ef9d,_0x2015ff={};return this[_0x5511f3(0x11d)][_0x5511f3(0x1db)]&&(_0x2015ff['server_no_context_takeover']=!0x0),this[_0x5511f3(0x11d)][_0x5511f3(0x1c4)]&&(_0x2015ff[_0x5511f3(0x2a3)]=!0x0),this[_0x5511f3(0x11d)][_0x5511f3(0x1cf)]&&(_0x2015ff[_0x5511f3(0x207)]=this[_0x5511f3(0x11d)][_0x5511f3(0x1cf)]),this[_0x5511f3(0x11d)][_0x5511f3(0x296)]?_0x2015ff['client_max_window_bits']=this[_0x5511f3(0x11d)]['clientMaxWindowBits']:this[_0x5511f3(0x11d)][_0x5511f3(0x296)]==null&&(_0x2015ff['client_max_window_bits']=!0x0),_0x2015ff;}[_0x26ef9d(0x2b0)](_0x4d63a4){const _0x29f224=_0x26ef9d;return _0x4d63a4=this[_0x29f224(0x147)](_0x4d63a4),this['params']=this[_0x29f224(0x1ee)]?this[_0x29f224(0x1a2)](_0x4d63a4):this[_0x29f224(0x17b)](_0x4d63a4),this[_0x29f224(0x232)];}[_0x26ef9d(0x25d)](){const _0x3916ac=_0x26ef9d;if(this['_inflate']&&(this[_0x3916ac(0x13d)][_0x3916ac(0x22e)](),this[_0x3916ac(0x13d)]=null),this[_0x3916ac(0x255)]){const _0x10ab24=this[_0x3916ac(0x255)][_0x452a15];this[_0x3916ac(0x255)][_0x3916ac(0x22e)](),this[_0x3916ac(0x255)]=null,_0x10ab24&&_0x10ab24(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x26ef9d(0x1a2)](_0x452573){const _0x2e865a=_0x26ef9d,_0x189995=this[_0x2e865a(0x11d)],_0x3486e5=_0x452573[_0x2e865a(0x28f)](_0x186b7f=>!(_0x189995[_0x2e865a(0x1db)]===!0x1&&_0x186b7f[_0x2e865a(0x1b0)]||_0x186b7f[_0x2e865a(0x207)]&&(_0x189995[_0x2e865a(0x1cf)]===!0x1||typeof _0x189995[_0x2e865a(0x1cf)]==_0x2e865a(0x282)&&_0x189995[_0x2e865a(0x1cf)]>_0x186b7f['server_max_window_bits'])||typeof _0x189995[_0x2e865a(0x296)]==_0x2e865a(0x282)&&!_0x186b7f[_0x2e865a(0x180)]));if(!_0x3486e5)throw new Error(_0x2e865a(0x1f8));return _0x189995['serverNoContextTakeover']&&(_0x3486e5[_0x2e865a(0x1b0)]=!0x0),_0x189995[_0x2e865a(0x1c4)]&&(_0x3486e5[_0x2e865a(0x2a3)]=!0x0),typeof _0x189995[_0x2e865a(0x1cf)]==_0x2e865a(0x282)&&(_0x3486e5[_0x2e865a(0x207)]=_0x189995[_0x2e865a(0x1cf)]),typeof _0x189995[_0x2e865a(0x296)]==_0x2e865a(0x282)?_0x3486e5[_0x2e865a(0x180)]=_0x189995['clientMaxWindowBits']:(_0x3486e5[_0x2e865a(0x180)]===!0x0||_0x189995[_0x2e865a(0x296)]===!0x1)&&delete _0x3486e5[_0x2e865a(0x180)],_0x3486e5;}[_0x26ef9d(0x17b)](_0x340be0){const _0x127a4e=_0x26ef9d,_0x2c0494=_0x340be0[0x0];if(this[_0x127a4e(0x11d)][_0x127a4e(0x1c4)]===!0x1&&_0x2c0494[_0x127a4e(0x2a3)])throw new Error(_0x127a4e(0x263));if(!_0x2c0494[_0x127a4e(0x180)])typeof this[_0x127a4e(0x11d)][_0x127a4e(0x296)]==_0x127a4e(0x282)&&(_0x2c0494[_0x127a4e(0x180)]=this[_0x127a4e(0x11d)][_0x127a4e(0x296)]);else{if(this[_0x127a4e(0x11d)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x127a4e(0x296)]=='number'&&_0x2c0494[_0x127a4e(0x180)]>this['_options'][_0x127a4e(0x296)])throw new Error(_0x127a4e(0x106));}return _0x2c0494;}['normalizeParams'](_0x46fd36){return _0x46fd36['forEach'](_0x585582=>{const _0x4ec105=_0x2b98;Object[_0x4ec105(0x174)](_0x585582)[_0x4ec105(0x2b3)](_0x4f96b1=>{const _0x16a748=_0x4ec105;let _0x38117c=_0x585582[_0x4f96b1];if(_0x38117c['length']>0x1)throw new Error(_0x16a748(0x27f)+_0x4f96b1+_0x16a748(0x11f));if(_0x38117c=_0x38117c[0x0],_0x4f96b1===_0x16a748(0x180)){if(_0x38117c!==!0x0){const _0x50f2d6=+_0x38117c;if(!Number[_0x16a748(0x17d)](_0x50f2d6)||_0x50f2d6<0x8||_0x50f2d6>0xf)throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);_0x38117c=_0x50f2d6;}else{if(!this['_isServer'])throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);}}else{if(_0x4f96b1===_0x16a748(0x207)){const _0x24a65f=+_0x38117c;if(!Number['isInteger'](_0x24a65f)||_0x24a65f<0x8||_0x24a65f>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4f96b1+_0x16a748(0x178)+_0x38117c);_0x38117c=_0x24a65f;}else{if(_0x4f96b1===_0x16a748(0x2a3)||_0x4f96b1===_0x16a748(0x1b0)){if(_0x38117c!==!0x0)throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);}else throw new Error(_0x16a748(0x198)+_0x4f96b1+'\x22');}}_0x585582[_0x4f96b1]=_0x38117c;});}),_0x46fd36;}[_0x26ef9d(0x2a0)](_0x20af87,_0x3423d2,_0x21f88e){const _0x5622c6=_0x26ef9d;_0x26f93d[_0x5622c6(0x26c)](_0x4eb731=>{const _0x5671a0=_0x5622c6;this[_0x5671a0(0x239)](_0x20af87,_0x3423d2,(_0x5e9c93,_0x849deb)=>{_0x4eb731(),_0x21f88e(_0x5e9c93,_0x849deb);});});}['compress'](_0x2cdbd,_0x11d137,_0x5156b0){const _0x5890fa=_0x26ef9d;_0x26f93d[_0x5890fa(0x26c)](_0x54bd58=>{this['_compress'](_0x2cdbd,_0x11d137,(_0x1137bf,_0x54cae6)=>{_0x54bd58(),_0x5156b0(_0x1137bf,_0x54cae6);});});}[_0x26ef9d(0x239)](_0xb96ed4,_0x1c64dc,_0x4192c5){const _0x524265=_0x26ef9d,_0x274428=this[_0x524265(0x1ee)]?_0x524265(0x137):_0x524265(0x108);if(!this[_0x524265(0x13d)]){const _0x11fc7b=_0x274428+_0x524265(0x1e3),_0x4e79ed=typeof this['params'][_0x11fc7b]!=_0x524265(0x282)?_0x773d7a[_0x524265(0x234)]:this['params'][_0x11fc7b];this[_0x524265(0x13d)]=_0x773d7a[_0x524265(0x1f9)]({...this[_0x524265(0x11d)][_0x524265(0x279)],'windowBits':_0x4e79ed}),this[_0x524265(0x13d)][_0x4fe652]=this,this['_inflate'][_0x70541f]=0x0,this[_0x524265(0x13d)][_0x576e1b]=[],this['_inflate']['on']('error',_0x52b64c),this[_0x524265(0x13d)]['on']('data',_0x2350e8);}this[_0x524265(0x13d)][_0x452a15]=_0x4192c5,this['_inflate'][_0x524265(0xfe)](_0xb96ed4),_0x1c64dc&&this[_0x524265(0x13d)][_0x524265(0xfe)](_0x481ab1),this['_inflate'][_0x524265(0x1eb)](()=>{const _0x531a3d=_0x524265,_0x75fbb7=this['_inflate'][_0x56e082];if(_0x75fbb7){this[_0x531a3d(0x13d)][_0x531a3d(0x22e)](),this[_0x531a3d(0x13d)]=null,_0x4192c5(_0x75fbb7);return;}const _0x2c8966=_0x2ae05f['concat'](this[_0x531a3d(0x13d)][_0x576e1b],this[_0x531a3d(0x13d)][_0x70541f]);this[_0x531a3d(0x13d)][_0x531a3d(0x195)][_0x531a3d(0x238)]?(this[_0x531a3d(0x13d)][_0x531a3d(0x22e)](),this[_0x531a3d(0x13d)]=null):(this[_0x531a3d(0x13d)][_0x70541f]=0x0,this[_0x531a3d(0x13d)][_0x576e1b]=[],_0x1c64dc&&this[_0x531a3d(0x232)][_0x274428+_0x531a3d(0x26d)]&&this[_0x531a3d(0x13d)][_0x531a3d(0x155)]()),_0x4192c5(null,_0x2c8966);});}[_0x26ef9d(0x115)](_0x5e550f,_0x51dd1d,_0x4480b2){const _0x1f386e=_0x26ef9d,_0xb80ed6=this[_0x1f386e(0x1ee)]?_0x1f386e(0x108):_0x1f386e(0x137);if(!this[_0x1f386e(0x255)]){const _0x17da1c=_0xb80ed6+_0x1f386e(0x1e3),_0xa5ef95=typeof this[_0x1f386e(0x232)][_0x17da1c]!='number'?_0x773d7a['Z_DEFAULT_WINDOWBITS']:this['params'][_0x17da1c];this[_0x1f386e(0x255)]=_0x773d7a[_0x1f386e(0x140)]({...this[_0x1f386e(0x11d)][_0x1f386e(0x1fd)],'windowBits':_0xa5ef95}),this[_0x1f386e(0x255)][_0x70541f]=0x0,this[_0x1f386e(0x255)][_0x576e1b]=[],this[_0x1f386e(0x255)]['on'](_0x1f386e(0x15e),_0x4c3756);}this[_0x1f386e(0x255)][_0x452a15]=_0x4480b2,this[_0x1f386e(0x255)][_0x1f386e(0xfe)](_0x5e550f),this[_0x1f386e(0x255)]['flush'](_0x773d7a[_0x1f386e(0x1b5)],()=>{const _0xc5e8b2=_0x1f386e;if(!this[_0xc5e8b2(0x255)])return;let _0xec42b=_0x2ae05f[_0xc5e8b2(0x18a)](this[_0xc5e8b2(0x255)][_0x576e1b],this[_0xc5e8b2(0x255)][_0x70541f]);_0x51dd1d&&(_0xec42b=new _0x21c9e4(_0xec42b[_0xc5e8b2(0x2b5)],_0xec42b['byteOffset'],_0xec42b[_0xc5e8b2(0x1ed)]-0x4)),this[_0xc5e8b2(0x255)][_0x452a15]=null,this[_0xc5e8b2(0x255)][_0x70541f]=0x0,this[_0xc5e8b2(0x255)][_0x576e1b]=[],_0x51dd1d&&this['params'][_0xb80ed6+_0xc5e8b2(0x26d)]&&this[_0xc5e8b2(0x255)][_0xc5e8b2(0x155)](),_0x4480b2(null,_0xec42b);});}}ve=_0x57858f;function _0x4c3756(_0x40050d){const _0x2cae27=_0x26ef9d;this[_0x576e1b][_0x2cae27(0xec)](_0x40050d),this[_0x70541f]+=_0x40050d['length'];}function _0x2350e8(_0x5831c5){const _0x309553=_0x26ef9d;if(this[_0x70541f]+=_0x5831c5['length'],this[_0x4fe652][_0x309553(0x1aa)]<0x1||this[_0x70541f]<=this[_0x4fe652]['_maxPayload']){this[_0x576e1b][_0x309553(0xec)](_0x5831c5);return;}this[_0x56e082]=new RangeError(_0x309553(0x206)),this[_0x56e082][_0x309553(0x109)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x56e082][_0x3a7af6]=0x3f1,this['removeListener'](_0x309553(0x15e),_0x2350e8),this[_0x309553(0x155)]();}function _0x52b64c(_0x4a93cc){if(this[_0x4fe652]['_inflate']=null,this[_0x56e082]){this[_0x452a15](this[_0x56e082]);return;}_0x4a93cc[_0x3a7af6]=0x3ef,this[_0x452a15](_0x4a93cc);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x421888(0x2ad)](Object[_0x421888(0x16f)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x421888(0x1e7)})),Bt=at(Rt);var Ye;function ae(){const _0x10ef85=_0x421888;if(Ye)return ie[_0x10ef85(0x165)];Ye=0x1;const {isUtf8:_0x3e1400}=wt,{hasBlob:_0x1bf25c}=H(),_0x2b7b36=[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 _0x12016a(_0x5bf239){return _0x5bf239>=0x3e8&&_0x5bf239<=0x3f6&&_0x5bf239!==0x3ec&&_0x5bf239!==0x3ed&&_0x5bf239!==0x3ee||_0x5bf239>=0xbb8&&_0x5bf239<=0x1387;}function _0x1079bd(_0x5675b7){const _0x2bd422=_0x10ef85,_0x4153c9=_0x5675b7[_0x2bd422(0x1ed)];let _0x229713=0x0;for(;_0x229713<_0x4153c9;)if((_0x5675b7[_0x229713]&0x80)===0x0)_0x229713++;else{if((_0x5675b7[_0x229713]&0xe0)===0xc0){if(_0x229713+0x1===_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713]&0xfe)===0xc0)return!0x1;_0x229713+=0x2;}else{if((_0x5675b7[_0x229713]&0xf0)===0xe0){if(_0x229713+0x2>=_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x2]&0xc0)!==0x80||_0x5675b7[_0x229713]===0xe0&&(_0x5675b7[_0x229713+0x1]&0xe0)===0x80||_0x5675b7[_0x229713]===0xed&&(_0x5675b7[_0x229713+0x1]&0xe0)===0xa0)return!0x1;_0x229713+=0x3;}else{if((_0x5675b7[_0x229713]&0xf8)===0xf0){if(_0x229713+0x3>=_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x2]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x3]&0xc0)!==0x80||_0x5675b7[_0x229713]===0xf0&&(_0x5675b7[_0x229713+0x1]&0xf0)===0x80||_0x5675b7[_0x229713]===0xf4&&_0x5675b7[_0x229713+0x1]>0x8f||_0x5675b7[_0x229713]>0xf4)return!0x1;_0x229713+=0x4;}else return!0x1;}}}return!0x0;}function _0x5f2ccc(_0x45a25d){const _0x2d075f=_0x10ef85;return _0x1bf25c&&typeof _0x45a25d==_0x2d075f(0x2ae)&&typeof _0x45a25d[_0x2d075f(0x104)]==_0x2d075f(0x2af)&&typeof _0x45a25d[_0x2d075f(0x183)]==_0x2d075f(0x117)&&typeof _0x45a25d[_0x2d075f(0x15b)]==_0x2d075f(0x2af)&&(_0x45a25d[Symbol[_0x2d075f(0x267)]]===_0x2d075f(0xee)||_0x45a25d[Symbol[_0x2d075f(0x267)]]===_0x2d075f(0x27a));}if(ie[_0x10ef85(0x165)]={'isBlob':_0x5f2ccc,'isValidStatusCode':_0x12016a,'isValidUTF8':_0x1079bd,'tokenChars':_0x2b7b36},_0x3e1400)ie[_0x10ef85(0x165)]['isValidUTF8']=function(_0x23cd07){const _0x9dd5d5=_0x10ef85;return _0x23cd07[_0x9dd5d5(0x1ed)]<0x18?_0x1079bd(_0x23cd07):_0x3e1400(_0x23cd07);};else{if(!process[_0x10ef85(0x256)][_0x10ef85(0x27b)])try{const _0x1ec476=Bt;ie[_0x10ef85(0x165)][_0x10ef85(0x254)]=function(_0x1266cb){const _0x2ccd9d=_0x10ef85;return _0x1266cb[_0x2ccd9d(0x1ed)]<0x20?_0x1079bd(_0x1266cb):_0x1ec476(_0x1266cb);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0xe3e555=_0x421888;if(Ke)return Se;Ke=0x1;const {Writable:_0x2f9137}=oe,_0x68b774=he(),{BINARY_TYPES:_0x3012ff,EMPTY_BUFFER:_0x5e24ad,kStatusCode:_0x116dc4,kWebSocket:_0x54d7e5}=H(),{concat:_0x10ae56,toArrayBuffer:_0x2c788d,unmask:_0x43f27d}=ce(),{isValidStatusCode:_0xfd239d,isValidUTF8:_0x43336e}=ae(),_0x5ebae1=Buffer[Symbol[_0xe3e555(0x1a7)]],_0xa6fec2=0x0,_0x114ab9=0x1,_0x45144c=0x2,_0x4942c3=0x3,_0x3bcaa0=0x4,_0xfcb872=0x5,_0x3c3c7f=0x6;class _0x108b01 extends _0x2f9137{constructor(_0x213841={}){const _0x12ccf1=_0xe3e555;super(),this['_allowSynchronousEvents']=_0x213841[_0x12ccf1(0x179)]!==void 0x0?_0x213841['allowSynchronousEvents']:!0x0,this[_0x12ccf1(0x1b4)]=_0x213841[_0x12ccf1(0x221)]||_0x3012ff[0x0],this[_0x12ccf1(0x288)]=_0x213841['extensions']||{},this[_0x12ccf1(0x1ee)]=!!_0x213841[_0x12ccf1(0x2be)],this[_0x12ccf1(0x1aa)]=_0x213841[_0x12ccf1(0x205)]|0x0,this[_0x12ccf1(0x112)]=!!_0x213841['skipUTF8Validation'],this[_0x54d7e5]=void 0x0,this[_0x12ccf1(0x162)]=0x0,this[_0x12ccf1(0x278)]=[],this['_compressed']=!0x1,this[_0x12ccf1(0x177)]=0x0,this[_0x12ccf1(0x23a)]=void 0x0,this[_0x12ccf1(0x128)]=0x0,this[_0x12ccf1(0x284)]=!0x1,this[_0x12ccf1(0x18e)]=!0x1,this[_0x12ccf1(0x26f)]=0x0,this[_0x12ccf1(0x257)]=0x0,this[_0x12ccf1(0x214)]=0x0,this['_fragments']=[],this[_0x12ccf1(0x1da)]=!0x1,this['_loop']=!0x1,this[_0x12ccf1(0x1ea)]=_0xa6fec2;}[_0xe3e555(0x182)](_0x4dbe2a,_0x50afda,_0x33547d){const _0x39f8d8=_0xe3e555;if(this[_0x39f8d8(0x26f)]===0x8&&this['_state']==_0xa6fec2)return _0x33547d();this[_0x39f8d8(0x162)]+=_0x4dbe2a['length'],this[_0x39f8d8(0x278)]['push'](_0x4dbe2a),this[_0x39f8d8(0x119)](_0x33547d);}[_0xe3e555(0xfc)](_0x3e5714){const _0x5700af=_0xe3e555;if(this[_0x5700af(0x162)]-=_0x3e5714,_0x3e5714===this[_0x5700af(0x278)][0x0][_0x5700af(0x1ed)])return this[_0x5700af(0x278)][_0x5700af(0x11a)]();if(_0x3e5714<this[_0x5700af(0x278)][0x0][_0x5700af(0x1ed)]){const _0x243d0d=this[_0x5700af(0x278)][0x0];return this[_0x5700af(0x278)][0x0]=new _0x5ebae1(_0x243d0d[_0x5700af(0x2b5)],_0x243d0d[_0x5700af(0x102)]+_0x3e5714,_0x243d0d[_0x5700af(0x1ed)]-_0x3e5714),new _0x5ebae1(_0x243d0d[_0x5700af(0x2b5)],_0x243d0d[_0x5700af(0x102)],_0x3e5714);}const _0x2f10f2=Buffer[_0x5700af(0x148)](_0x3e5714);do{const _0x50fdd5=this['_buffers'][0x0],_0x5be226=_0x2f10f2[_0x5700af(0x1ed)]-_0x3e5714;_0x3e5714>=_0x50fdd5[_0x5700af(0x1ed)]?_0x2f10f2[_0x5700af(0x1c2)](this[_0x5700af(0x278)][_0x5700af(0x11a)](),_0x5be226):(_0x2f10f2[_0x5700af(0x1c2)](new Uint8Array(_0x50fdd5[_0x5700af(0x2b5)],_0x50fdd5[_0x5700af(0x102)],_0x3e5714),_0x5be226),this['_buffers'][0x0]=new _0x5ebae1(_0x50fdd5['buffer'],_0x50fdd5[_0x5700af(0x102)]+_0x3e5714,_0x50fdd5[_0x5700af(0x1ed)]-_0x3e5714)),_0x3e5714-=_0x50fdd5[_0x5700af(0x1ed)];}while(_0x3e5714>0x0);return _0x2f10f2;}['startLoop'](_0x131507){const _0x2ecce0=_0xe3e555;this[_0x2ecce0(0x1d9)]=!0x0;do switch(this[_0x2ecce0(0x1ea)]){case _0xa6fec2:this[_0x2ecce0(0x135)](_0x131507);break;case _0x114ab9:this[_0x2ecce0(0x264)](_0x131507);break;case _0x45144c:this[_0x2ecce0(0xf3)](_0x131507);break;case _0x4942c3:this['getMask']();break;case _0x3bcaa0:this[_0x2ecce0(0x2c3)](_0x131507);break;case _0xfcb872:case _0x3c3c7f:this[_0x2ecce0(0x1d9)]=!0x1;return;}while(this[_0x2ecce0(0x1d9)]);this[_0x2ecce0(0x1da)]||_0x131507();}['getInfo'](_0x22406f){const _0x285e35=_0xe3e555;if(this['_bufferedBytes']<0x2){this[_0x285e35(0x1d9)]=!0x1;return;}const _0x192004=this[_0x285e35(0xfc)](0x2);if((_0x192004[0x0]&0x30)!==0x0){const _0x1a8985=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x22406f(_0x1a8985);return;}const _0x36cf8f=(_0x192004[0x0]&0x40)===0x40;if(_0x36cf8f&&!this[_0x285e35(0x288)][_0x68b774[_0x285e35(0x1bb)]]){const _0x18495=this[_0x285e35(0x173)](RangeError,_0x285e35(0x1ba),!0x0,0x3ea,_0x285e35(0x197));_0x22406f(_0x18495);return;}if(this[_0x285e35(0x18e)]=(_0x192004[0x0]&0x80)===0x80,this[_0x285e35(0x26f)]=_0x192004[0x0]&0xf,this[_0x285e35(0x177)]=_0x192004[0x1]&0x7f,this[_0x285e35(0x26f)]===0x0){if(_0x36cf8f){const _0x28dddb=this[_0x285e35(0x173)](RangeError,_0x285e35(0x1ba),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22406f(_0x28dddb);return;}if(!this[_0x285e35(0x128)]){const _0x429b96=this[_0x285e35(0x173)](RangeError,_0x285e35(0x133),!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x429b96);return;}this[_0x285e35(0x26f)]=this[_0x285e35(0x128)];}else{if(this['_opcode']===0x1||this[_0x285e35(0x26f)]===0x2){if(this['_fragmented']){const _0x116f61=this[_0x285e35(0x173)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x116f61);return;}this[_0x285e35(0x213)]=_0x36cf8f;}else{if(this[_0x285e35(0x26f)]>0x7&&this['_opcode']<0xb){if(!this[_0x285e35(0x18e)]){const _0x40ee50=this[_0x285e35(0x173)](RangeError,_0x285e35(0x228),!0x0,0x3ea,_0x285e35(0x2b6));_0x22406f(_0x40ee50);return;}if(_0x36cf8f){const _0x1d9e0c=this[_0x285e35(0x173)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22406f(_0x1d9e0c);return;}if(this[_0x285e35(0x177)]>0x7d||this[_0x285e35(0x26f)]===0x8&&this[_0x285e35(0x177)]===0x1){const _0x1157f1=this[_0x285e35(0x173)](RangeError,_0x285e35(0x29b)+this[_0x285e35(0x177)],!0x0,0x3ea,_0x285e35(0x290));_0x22406f(_0x1157f1);return;}}else{const _0x1efe1e=this[_0x285e35(0x173)](RangeError,_0x285e35(0x12a)+this[_0x285e35(0x26f)],!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x1efe1e);return;}}}if(!this[_0x285e35(0x18e)]&&!this[_0x285e35(0x128)]&&(this['_fragmented']=this[_0x285e35(0x26f)]),this[_0x285e35(0x284)]=(_0x192004[0x1]&0x80)===0x80,this[_0x285e35(0x1ee)]){if(!this[_0x285e35(0x284)]){const _0x3ce7d1=this[_0x285e35(0x173)](RangeError,_0x285e35(0x18c),!0x0,0x3ea,_0x285e35(0x120));_0x22406f(_0x3ce7d1);return;}}else{if(this[_0x285e35(0x284)]){const _0x22e8e2=this['createError'](RangeError,_0x285e35(0x27d),!0x0,0x3ea,_0x285e35(0x286));_0x22406f(_0x22e8e2);return;}}this[_0x285e35(0x177)]===0x7e?this[_0x285e35(0x1ea)]=_0x114ab9:this['_payloadLength']===0x7f?this[_0x285e35(0x1ea)]=_0x45144c:this[_0x285e35(0x226)](_0x22406f);}[_0xe3e555(0x264)](_0x3637a7){const _0x461185=_0xe3e555;if(this[_0x461185(0x162)]<0x2){this[_0x461185(0x1d9)]=!0x1;return;}this['_payloadLength']=this[_0x461185(0xfc)](0x2)[_0x461185(0x101)](0x0),this[_0x461185(0x226)](_0x3637a7);}[_0xe3e555(0xf3)](_0x46172f){const _0x70d25f=_0xe3e555;if(this[_0x70d25f(0x162)]<0x8){this['_loop']=!0x1;return;}const _0x28da6c=this[_0x70d25f(0xfc)](0x8),_0x2f4f20=_0x28da6c[_0x70d25f(0x1c1)](0x0);if(_0x2f4f20>Math[_0x70d25f(0x143)](0x2,0x15)-0x1){const _0x18ad2c=this['createError'](RangeError,_0x70d25f(0x144),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x46172f(_0x18ad2c);return;}this[_0x70d25f(0x177)]=_0x2f4f20*Math['pow'](0x2,0x20)+_0x28da6c[_0x70d25f(0x1c1)](0x4),this[_0x70d25f(0x226)](_0x46172f);}['haveLength'](_0x5c4320){const _0x37dd33=_0xe3e555;if(this[_0x37dd33(0x177)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x37dd33(0x177)],this['_totalPayloadLength']>this[_0x37dd33(0x1aa)]&&this['_maxPayload']>0x0)){const _0x43aaac=this['createError'](RangeError,_0x37dd33(0x206),!0x1,0x3f1,_0x37dd33(0x14f));_0x5c4320(_0x43aaac);return;}this[_0x37dd33(0x284)]?this[_0x37dd33(0x1ea)]=_0x4942c3:this[_0x37dd33(0x1ea)]=_0x3bcaa0;}[_0xe3e555(0x22a)](){const _0xc83f37=_0xe3e555;if(this[_0xc83f37(0x162)]<0x4){this['_loop']=!0x1;return;}this[_0xc83f37(0x23a)]=this[_0xc83f37(0xfc)](0x4),this['_state']=_0x3bcaa0;}[_0xe3e555(0x2c3)](_0x3dddf2){const _0x1a508b=_0xe3e555;let _0x47a81e=_0x5e24ad;if(this[_0x1a508b(0x177)]){if(this[_0x1a508b(0x162)]<this[_0x1a508b(0x177)]){this[_0x1a508b(0x1d9)]=!0x1;return;}_0x47a81e=this[_0x1a508b(0xfc)](this['_payloadLength']),this['_masked']&&(this[_0x1a508b(0x23a)][0x0]|this[_0x1a508b(0x23a)][0x1]|this[_0x1a508b(0x23a)][0x2]|this[_0x1a508b(0x23a)][0x3])!==0x0&&_0x43f27d(_0x47a81e,this[_0x1a508b(0x23a)]);}if(this[_0x1a508b(0x26f)]>0x7){this[_0x1a508b(0x2a1)](_0x47a81e,_0x3dddf2);return;}if(this[_0x1a508b(0x213)]){this[_0x1a508b(0x1ea)]=_0xfcb872,this['decompress'](_0x47a81e,_0x3dddf2);return;}_0x47a81e[_0x1a508b(0x1ed)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x1a508b(0x298)][_0x1a508b(0xec)](_0x47a81e)),this[_0x1a508b(0x188)](_0x3dddf2);}['decompress'](_0x44a7b9,_0x1a81a6){const _0x1e3198=_0xe3e555;this[_0x1e3198(0x288)][_0x68b774[_0x1e3198(0x1bb)]][_0x1e3198(0x2a0)](_0x44a7b9,this[_0x1e3198(0x18e)],(_0xf6fdd9,_0x36832d)=>{const _0x132028=_0x1e3198;if(_0xf6fdd9)return _0x1a81a6(_0xf6fdd9);if(_0x36832d['length']){if(this[_0x132028(0x214)]+=_0x36832d[_0x132028(0x1ed)],this[_0x132028(0x214)]>this['_maxPayload']&&this[_0x132028(0x1aa)]>0x0){const _0x2e0bc0=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x132028(0x14f));_0x1a81a6(_0x2e0bc0);return;}this[_0x132028(0x298)][_0x132028(0xec)](_0x36832d);}this[_0x132028(0x188)](_0x1a81a6),this['_state']===_0xa6fec2&&this[_0x132028(0x119)](_0x1a81a6);});}[_0xe3e555(0x188)](_0x4c5c5a){const _0x5b4e6d=_0xe3e555;if(!this[_0x5b4e6d(0x18e)]){this[_0x5b4e6d(0x1ea)]=_0xa6fec2;return;}const _0x2624ab=this[_0x5b4e6d(0x214)],_0xf8a420=this[_0x5b4e6d(0x298)];if(this[_0x5b4e6d(0x257)]=0x0,this[_0x5b4e6d(0x214)]=0x0,this[_0x5b4e6d(0x128)]=0x0,this[_0x5b4e6d(0x298)]=[],this[_0x5b4e6d(0x26f)]===0x2){let _0x50f9c3;this[_0x5b4e6d(0x1b4)]==='nodebuffer'?_0x50f9c3=_0x10ae56(_0xf8a420,_0x2624ab):this[_0x5b4e6d(0x1b4)]===_0x5b4e6d(0x209)?_0x50f9c3=_0x2c788d(_0x10ae56(_0xf8a420,_0x2624ab)):this[_0x5b4e6d(0x1b4)]===_0x5b4e6d(0x1e1)?_0x50f9c3=new Blob(_0xf8a420):_0x50f9c3=_0xf8a420,this[_0x5b4e6d(0x141)]?(this['emit'](_0x5b4e6d(0x16a),_0x50f9c3,!0x0),this['_state']=_0xa6fec2):(this[_0x5b4e6d(0x1ea)]=_0x3c3c7f,setImmediate(()=>{const _0x3236c3=_0x5b4e6d;this[_0x3236c3(0x2bf)](_0x3236c3(0x16a),_0x50f9c3,!0x0),this['_state']=_0xa6fec2,this['startLoop'](_0x4c5c5a);}));}else{const _0x3eee14=_0x10ae56(_0xf8a420,_0x2624ab);if(!this[_0x5b4e6d(0x112)]&&!_0x43336e(_0x3eee14)){const _0x3eca21=this[_0x5b4e6d(0x173)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5b4e6d(0x1fc));_0x4c5c5a(_0x3eca21);return;}this['_state']===_0xfcb872||this[_0x5b4e6d(0x141)]?(this['emit'](_0x5b4e6d(0x16a),_0x3eee14,!0x1),this[_0x5b4e6d(0x1ea)]=_0xa6fec2):(this[_0x5b4e6d(0x1ea)]=_0x3c3c7f,setImmediate(()=>{const _0x32c2b8=_0x5b4e6d;this[_0x32c2b8(0x2bf)](_0x32c2b8(0x16a),_0x3eee14,!0x1),this[_0x32c2b8(0x1ea)]=_0xa6fec2,this[_0x32c2b8(0x119)](_0x4c5c5a);}));}}['controlMessage'](_0x28f21c,_0x383ee4){const _0x3dca53=_0xe3e555;if(this[_0x3dca53(0x26f)]===0x8){if(_0x28f21c['length']===0x0)this[_0x3dca53(0x1d9)]=!0x1,this['emit'](_0x3dca53(0x105),0x3ed,_0x5e24ad),this[_0x3dca53(0x17a)]();else{const _0x5b89f8=_0x28f21c['readUInt16BE'](0x0);if(!_0xfd239d(_0x5b89f8)){const _0x314c1a=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x5b89f8,!0x0,0x3ea,_0x3dca53(0x2aa));_0x383ee4(_0x314c1a);return;}const _0x3cc540=new _0x5ebae1(_0x28f21c[_0x3dca53(0x2b5)],_0x28f21c['byteOffset']+0x2,_0x28f21c[_0x3dca53(0x1ed)]-0x2);if(!this['_skipUTF8Validation']&&!_0x43336e(_0x3cc540)){const _0x21e2b7=this[_0x3dca53(0x173)](Error,_0x3dca53(0x26a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x383ee4(_0x21e2b7);return;}this[_0x3dca53(0x1d9)]=!0x1,this[_0x3dca53(0x2bf)]('conclude',_0x5b89f8,_0x3cc540),this['end']();}this[_0x3dca53(0x1ea)]=_0xa6fec2;return;}this[_0x3dca53(0x141)]?(this[_0x3dca53(0x2bf)](this['_opcode']===0x9?_0x3dca53(0x14e):_0x3dca53(0x103),_0x28f21c),this[_0x3dca53(0x1ea)]=_0xa6fec2):(this['_state']=_0x3c3c7f,setImmediate(()=>{const _0x3fdbba=_0x3dca53;this[_0x3fdbba(0x2bf)](this[_0x3fdbba(0x26f)]===0x9?'ping':'pong',_0x28f21c),this[_0x3fdbba(0x1ea)]=_0xa6fec2,this['startLoop'](_0x383ee4);}));}[_0xe3e555(0x173)](_0x35b8a0,_0x3b9cab,_0xaef4ca,_0x32e66b,_0x488281){const _0x35e4e9=_0xe3e555;this['_loop']=!0x1,this[_0x35e4e9(0x1da)]=!0x0;const _0x4deb4e=new _0x35b8a0(_0xaef4ca?'Invalid\x20WebSocket\x20frame:\x20'+_0x3b9cab:_0x3b9cab);return Error[_0x35e4e9(0x14a)](_0x4deb4e,this[_0x35e4e9(0x173)]),_0x4deb4e[_0x35e4e9(0x109)]=_0x488281,_0x4deb4e[_0x116dc4]=_0x32e66b,_0x4deb4e;}}return Se=_0x108b01,Se;}var Ee,Xe;function ft(){const _0x337c98=_0x421888;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3ab556}=oe,{randomFillSync:_0x40f75c}=Le,_0x272198=he(),{EMPTY_BUFFER:_0x2e9e8b,kWebSocket:_0x1f384a,NOOP:_0x2b20e3}=H(),{isBlob:_0x1cbb67,isValidStatusCode:_0x56f606}=ae(),{mask:_0x3c1e0c,toBuffer:_0x2dd51d}=ce(),_0x1d5f3d=Symbol(_0x337c98(0x1c3)),_0x1a6d0c=Buffer[_0x337c98(0x176)](0x4),_0x5d13b1=0x8*0x400;let _0x2faddb,_0x4c44d9=_0x5d13b1;const _0x15f7a4=0x0,_0x255b25=0x1,_0x1c9769=0x2;class _0x1e3a13{constructor(_0x245cf4,_0x29dde7,_0xc3b24d){const _0x3cabe8=_0x337c98;this[_0x3cabe8(0x288)]=_0x29dde7||{},_0xc3b24d&&(this[_0x3cabe8(0x1bf)]=_0xc3b24d,this[_0x3cabe8(0x15f)]=Buffer[_0x3cabe8(0x176)](0x4)),this[_0x3cabe8(0x1e4)]=_0x245cf4,this[_0x3cabe8(0x17c)]=!0x0,this[_0x3cabe8(0x115)]=!0x1,this[_0x3cabe8(0x162)]=0x0,this[_0x3cabe8(0x14c)]=[],this[_0x3cabe8(0x1ea)]=_0x15f7a4,this[_0x3cabe8(0x272)]=_0x2b20e3,this[_0x1f384a]=void 0x0;}static[_0x337c98(0x110)](_0x164408,_0x6de9b5){const _0x4ef514=_0x337c98;let _0xe5bd41,_0x40d3ec=!0x1,_0x4d8507=0x2,_0x2e90e9=!0x1;_0x6de9b5[_0x4ef514(0x25f)]&&(_0xe5bd41=_0x6de9b5[_0x4ef514(0x166)]||_0x1a6d0c,_0x6de9b5[_0x4ef514(0x1f0)]?_0x6de9b5[_0x4ef514(0x1f0)](_0xe5bd41):(_0x4c44d9===_0x5d13b1&&(_0x2faddb===void 0x0&&(_0x2faddb=Buffer[_0x4ef514(0x176)](_0x5d13b1)),_0x40f75c(_0x2faddb,0x0,_0x5d13b1),_0x4c44d9=0x0),_0xe5bd41[0x0]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x1]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x2]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x3]=_0x2faddb[_0x4c44d9++]),_0x2e90e9=(_0xe5bd41[0x0]|_0xe5bd41[0x1]|_0xe5bd41[0x2]|_0xe5bd41[0x3])===0x0,_0x4d8507=0x6);let _0x3af28e;typeof _0x164408==_0x4ef514(0x117)?(!_0x6de9b5[_0x4ef514(0x25f)]||_0x2e90e9)&&_0x6de9b5[_0x1d5f3d]!==void 0x0?_0x3af28e=_0x6de9b5[_0x1d5f3d]:(_0x164408=Buffer['from'](_0x164408),_0x3af28e=_0x164408[_0x4ef514(0x1ed)]):(_0x3af28e=_0x164408[_0x4ef514(0x1ed)],_0x40d3ec=_0x6de9b5[_0x4ef514(0x25f)]&&_0x6de9b5[_0x4ef514(0x276)]&&!_0x2e90e9);let _0xb9ecf7=_0x3af28e;_0x3af28e>=0x10000?(_0x4d8507+=0x8,_0xb9ecf7=0x7f):_0x3af28e>0x7d&&(_0x4d8507+=0x2,_0xb9ecf7=0x7e);const _0x32c5e8=Buffer['allocUnsafe'](_0x40d3ec?_0x3af28e+_0x4d8507:_0x4d8507);return _0x32c5e8[0x0]=_0x6de9b5[_0x4ef514(0x2b1)]?_0x6de9b5[_0x4ef514(0x271)]|0x80:_0x6de9b5[_0x4ef514(0x271)],_0x6de9b5[_0x4ef514(0x1fe)]&&(_0x32c5e8[0x0]|=0x40),_0x32c5e8[0x1]=_0xb9ecf7,_0xb9ecf7===0x7e?_0x32c5e8[_0x4ef514(0x244)](_0x3af28e,0x2):_0xb9ecf7===0x7f&&(_0x32c5e8[0x2]=_0x32c5e8[0x3]=0x0,_0x32c5e8[_0x4ef514(0x236)](_0x3af28e,0x4,0x6)),_0x6de9b5[_0x4ef514(0x25f)]?(_0x32c5e8[0x1]|=0x80,_0x32c5e8[_0x4d8507-0x4]=_0xe5bd41[0x0],_0x32c5e8[_0x4d8507-0x3]=_0xe5bd41[0x1],_0x32c5e8[_0x4d8507-0x2]=_0xe5bd41[0x2],_0x32c5e8[_0x4d8507-0x1]=_0xe5bd41[0x3],_0x2e90e9?[_0x32c5e8,_0x164408]:_0x40d3ec?(_0x3c1e0c(_0x164408,_0xe5bd41,_0x32c5e8,_0x4d8507,_0x3af28e),[_0x32c5e8]):(_0x3c1e0c(_0x164408,_0xe5bd41,_0x164408,0x0,_0x3af28e),[_0x32c5e8,_0x164408])):[_0x32c5e8,_0x164408];}[_0x337c98(0x22e)](_0x1d44d1,_0x4845d3,_0x16b00b,_0x578699){const _0x2f7609=_0x337c98;let _0x1297df;if(_0x1d44d1===void 0x0)_0x1297df=_0x2e9e8b;else{if(typeof _0x1d44d1!=_0x2f7609(0x282)||!_0x56f606(_0x1d44d1))throw new TypeError(_0x2f7609(0x14d));if(_0x4845d3===void 0x0||!_0x4845d3['length'])_0x1297df=Buffer['allocUnsafe'](0x2),_0x1297df[_0x2f7609(0x244)](_0x1d44d1,0x0);else{const _0x528b25=Buffer['byteLength'](_0x4845d3);if(_0x528b25>0x7b)throw new RangeError(_0x2f7609(0x1dc));_0x1297df=Buffer[_0x2f7609(0x148)](0x2+_0x528b25),_0x1297df[_0x2f7609(0x244)](_0x1d44d1,0x0),typeof _0x4845d3==_0x2f7609(0x117)?_0x1297df[_0x2f7609(0xfe)](_0x4845d3,0x2):_0x1297df[_0x2f7609(0x1c2)](_0x4845d3,0x2);}}const _0x2c6b37={[_0x1d5f3d]:_0x1297df[_0x2f7609(0x1ed)],'fin':!0x0,'generateMask':this[_0x2f7609(0x1bf)],'mask':_0x16b00b,'maskBuffer':this[_0x2f7609(0x15f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f7609(0x1ea)]!==_0x15f7a4?this[_0x2f7609(0x157)]([this[_0x2f7609(0xf5)],_0x1297df,!0x1,_0x2c6b37,_0x578699]):this[_0x2f7609(0x1f2)](_0x1e3a13[_0x2f7609(0x110)](_0x1297df,_0x2c6b37),_0x578699);}[_0x337c98(0x14e)](_0x2b877e,_0x15b13a,_0x398431){const _0x47d34f=_0x337c98;let _0x399dca,_0x1a25d9;if(typeof _0x2b877e==_0x47d34f(0x117)?(_0x399dca=Buffer['byteLength'](_0x2b877e),_0x1a25d9=!0x1):_0x1cbb67(_0x2b877e)?(_0x399dca=_0x2b877e[_0x47d34f(0xfb)],_0x1a25d9=!0x1):(_0x2b877e=_0x2dd51d(_0x2b877e),_0x399dca=_0x2b877e[_0x47d34f(0x1ed)],_0x1a25d9=_0x2dd51d[_0x47d34f(0x276)]),_0x399dca>0x7d)throw new RangeError(_0x47d34f(0x20f));const _0x5b19a5={[_0x1d5f3d]:_0x399dca,'fin':!0x0,'generateMask':this[_0x47d34f(0x1bf)],'mask':_0x15b13a,'maskBuffer':this[_0x47d34f(0x15f)],'opcode':0x9,'readOnly':_0x1a25d9,'rsv1':!0x1};_0x1cbb67(_0x2b877e)?this[_0x47d34f(0x1ea)]!==_0x15f7a4?this['enqueue']([this['getBlobData'],_0x2b877e,!0x1,_0x5b19a5,_0x398431]):this[_0x47d34f(0x1e0)](_0x2b877e,!0x1,_0x5b19a5,_0x398431):this[_0x47d34f(0x1ea)]!==_0x15f7a4?this[_0x47d34f(0x157)]([this[_0x47d34f(0xf5)],_0x2b877e,!0x1,_0x5b19a5,_0x398431]):this[_0x47d34f(0x1f2)](_0x1e3a13[_0x47d34f(0x110)](_0x2b877e,_0x5b19a5),_0x398431);}[_0x337c98(0x103)](_0x281d92,_0x1fdeb2,_0x33a07f){const _0x471262=_0x337c98;let _0xd04896,_0x1e1f0c;if(typeof _0x281d92==_0x471262(0x117)?(_0xd04896=Buffer['byteLength'](_0x281d92),_0x1e1f0c=!0x1):_0x1cbb67(_0x281d92)?(_0xd04896=_0x281d92[_0x471262(0xfb)],_0x1e1f0c=!0x1):(_0x281d92=_0x2dd51d(_0x281d92),_0xd04896=_0x281d92[_0x471262(0x1ed)],_0x1e1f0c=_0x2dd51d[_0x471262(0x276)]),_0xd04896>0x7d)throw new RangeError(_0x471262(0x20f));const _0x51f6ad={[_0x1d5f3d]:_0xd04896,'fin':!0x0,'generateMask':this[_0x471262(0x1bf)],'mask':_0x1fdeb2,'maskBuffer':this[_0x471262(0x15f)],'opcode':0xa,'readOnly':_0x1e1f0c,'rsv1':!0x1};_0x1cbb67(_0x281d92)?this['_state']!==_0x15f7a4?this[_0x471262(0x157)]([this[_0x471262(0x1e0)],_0x281d92,!0x1,_0x51f6ad,_0x33a07f]):this[_0x471262(0x1e0)](_0x281d92,!0x1,_0x51f6ad,_0x33a07f):this[_0x471262(0x1ea)]!==_0x15f7a4?this[_0x471262(0x157)]([this[_0x471262(0xf5)],_0x281d92,!0x1,_0x51f6ad,_0x33a07f]):this[_0x471262(0x1f2)](_0x1e3a13[_0x471262(0x110)](_0x281d92,_0x51f6ad),_0x33a07f);}[_0x337c98(0xf6)](_0x2fb6c3,_0x556430,_0x41bed4){const _0x3d9b01=_0x337c98,_0x256085=this['_extensions'][_0x272198['extensionName']];let _0x4fcdd4=_0x556430[_0x3d9b01(0x156)]?0x2:0x1,_0x4f245b=_0x556430[_0x3d9b01(0x245)],_0x60f33e,_0x3897d0;typeof _0x2fb6c3==_0x3d9b01(0x117)?(_0x60f33e=Buffer[_0x3d9b01(0x295)](_0x2fb6c3),_0x3897d0=!0x1):_0x1cbb67(_0x2fb6c3)?(_0x60f33e=_0x2fb6c3[_0x3d9b01(0xfb)],_0x3897d0=!0x1):(_0x2fb6c3=_0x2dd51d(_0x2fb6c3),_0x60f33e=_0x2fb6c3[_0x3d9b01(0x1ed)],_0x3897d0=_0x2dd51d[_0x3d9b01(0x276)]),this['_firstFragment']?(this[_0x3d9b01(0x17c)]=!0x1,_0x4f245b&&_0x256085&&_0x256085[_0x3d9b01(0x232)][_0x256085[_0x3d9b01(0x1ee)]?_0x3d9b01(0x1b0):_0x3d9b01(0x2a3)]&&(_0x4f245b=_0x60f33e>=_0x256085['_threshold']),this[_0x3d9b01(0x115)]=_0x4f245b):(_0x4f245b=!0x1,_0x4fcdd4=0x0),_0x556430['fin']&&(this[_0x3d9b01(0x17c)]=!0x0);const _0x3fbb9c={[_0x1d5f3d]:_0x60f33e,'fin':_0x556430[_0x3d9b01(0x2b1)],'generateMask':this[_0x3d9b01(0x1bf)],'mask':_0x556430[_0x3d9b01(0x25f)],'maskBuffer':this[_0x3d9b01(0x15f)],'opcode':_0x4fcdd4,'readOnly':_0x3897d0,'rsv1':_0x4f245b};_0x1cbb67(_0x2fb6c3)?this[_0x3d9b01(0x1ea)]!==_0x15f7a4?this[_0x3d9b01(0x157)]([this['getBlobData'],_0x2fb6c3,this['_compress'],_0x3fbb9c,_0x41bed4]):this[_0x3d9b01(0x1e0)](_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4):this[_0x3d9b01(0x1ea)]!==_0x15f7a4?this['enqueue']([this[_0x3d9b01(0xf5)],_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4]):this[_0x3d9b01(0xf5)](_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4);}[_0x337c98(0x1e0)](_0x4a7dae,_0xdb31a6,_0x5e44ca,_0x4a2240){const _0x48c85f=_0x337c98;this[_0x48c85f(0x162)]+=_0x5e44ca[_0x1d5f3d],this[_0x48c85f(0x1ea)]=_0x1c9769,_0x4a7dae['arrayBuffer']()[_0x48c85f(0x1a0)](_0x49b767=>{const _0x289bbf=_0x48c85f;if(this[_0x289bbf(0x1e4)][_0x289bbf(0x2c1)]){const _0x3124d2=new Error(_0x289bbf(0x1de));process[_0x289bbf(0x1d7)](_0x53b0fe,this,_0x3124d2,_0x4a2240);return;}this['_bufferedBytes']-=_0x5e44ca[_0x1d5f3d];const _0x414f3a=_0x2dd51d(_0x49b767);_0xdb31a6?this[_0x289bbf(0xf5)](_0x414f3a,_0xdb31a6,_0x5e44ca,_0x4a2240):(this[_0x289bbf(0x1ea)]=_0x15f7a4,this['sendFrame'](_0x1e3a13['frame'](_0x414f3a,_0x5e44ca),_0x4a2240),this['dequeue']());})[_0x48c85f(0x1b2)](_0x2053c8=>{const _0x3dde8f=_0x48c85f;process[_0x3dde8f(0x1d7)](_0xaab0a2,this,_0x2053c8,_0x4a2240);});}[_0x337c98(0xf5)](_0x19c74f,_0x486f8d,_0x1ca9a5,_0x3bfbd2){const _0x49eb71=_0x337c98;if(!_0x486f8d){this[_0x49eb71(0x1f2)](_0x1e3a13[_0x49eb71(0x110)](_0x19c74f,_0x1ca9a5),_0x3bfbd2);return;}const _0xa684e1=this[_0x49eb71(0x288)][_0x272198['extensionName']];this[_0x49eb71(0x162)]+=_0x1ca9a5[_0x1d5f3d],this[_0x49eb71(0x1ea)]=_0x255b25,_0xa684e1['compress'](_0x19c74f,_0x1ca9a5[_0x49eb71(0x2b1)],(_0x10c821,_0x101d02)=>{const _0xc79c55=_0x49eb71;if(this[_0xc79c55(0x1e4)][_0xc79c55(0x2c1)]){const _0x1245bf=new Error(_0xc79c55(0x1a1));_0x53b0fe(this,_0x1245bf,_0x3bfbd2);return;}this[_0xc79c55(0x162)]-=_0x1ca9a5[_0x1d5f3d],this[_0xc79c55(0x1ea)]=_0x15f7a4,_0x1ca9a5[_0xc79c55(0x276)]=!0x1,this[_0xc79c55(0x1f2)](_0x1e3a13['frame'](_0x101d02,_0x1ca9a5),_0x3bfbd2),this['dequeue']();});}['dequeue'](){const _0x2eef35=_0x337c98;for(;this[_0x2eef35(0x1ea)]===_0x15f7a4&&this[_0x2eef35(0x14c)][_0x2eef35(0x1ed)];){const _0x490463=this['_queue'][_0x2eef35(0x11a)]();this[_0x2eef35(0x162)]-=_0x490463[0x3][_0x1d5f3d],Reflect['apply'](_0x490463[0x0],this,_0x490463['slice'](0x1));}}[_0x337c98(0x157)](_0x5f027f){const _0x2ef9b6=_0x337c98;this[_0x2ef9b6(0x162)]+=_0x5f027f[0x3][_0x1d5f3d],this['_queue']['push'](_0x5f027f);}[_0x337c98(0x1f2)](_0x922be,_0x2ededd){const _0x2a0baa=_0x337c98;_0x922be['length']===0x2?(this['_socket'][_0x2a0baa(0x170)](),this['_socket'][_0x2a0baa(0xfe)](_0x922be[0x0]),this['_socket'][_0x2a0baa(0xfe)](_0x922be[0x1],_0x2ededd),this[_0x2a0baa(0x1e4)][_0x2a0baa(0x281)]()):this[_0x2a0baa(0x1e4)][_0x2a0baa(0xfe)](_0x922be[0x0],_0x2ededd);}}Ee=_0x1e3a13;function _0x53b0fe(_0x4d1605,_0x4170fc,_0x2bacc7){const _0x2aa3ce=_0x337c98;typeof _0x2bacc7==_0x2aa3ce(0x2af)&&_0x2bacc7(_0x4170fc);for(let _0x5a9daa=0x0;_0x5a9daa<_0x4d1605[_0x2aa3ce(0x14c)][_0x2aa3ce(0x1ed)];_0x5a9daa++){const _0x5bc18a=_0x4d1605['_queue'][_0x5a9daa],_0x1bec3a=_0x5bc18a[_0x5bc18a[_0x2aa3ce(0x1ed)]-0x1];typeof _0x1bec3a==_0x2aa3ce(0x2af)&&_0x1bec3a(_0x4170fc);}}function _0xaab0a2(_0x5ef402,_0x10a474,_0x57e6e2){const _0x12eeb4=_0x337c98;_0x53b0fe(_0x5ef402,_0x10a474,_0x57e6e2),_0x5ef402[_0x12eeb4(0x272)](_0x10a474);}return Ee;}var xe,Ze;function It(){const _0x276391=_0x421888;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x46ae6a,kListener:_0x5c349c}=H(),_0x1dfa3f=Symbol(_0x276391(0x22f)),_0x2c058a=Symbol(_0x276391(0x2c5)),_0x459a03=Symbol(_0x276391(0x15d)),_0x136cd6=Symbol(_0x276391(0x242)),_0x17829f=Symbol(_0x276391(0x215)),_0xb50252=Symbol('kTarget'),_0x286607=Symbol('kType'),_0x598b9c=Symbol(_0x276391(0x184));class _0x20d681{constructor(_0x1b1ff9){this[_0xb50252]=null,this[_0x286607]=_0x1b1ff9;}get['target'](){return this[_0xb50252];}get[_0x276391(0x183)](){return this[_0x286607];}}Object['defineProperty'](_0x20d681[_0x276391(0x28d)],'target',{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x20d681[_0x276391(0x28d)],_0x276391(0x183),{'enumerable':!0x0});class _0x2d83bf extends _0x20d681{constructor(_0x1168b9,_0x2198bb={}){const _0x841c9a=_0x276391;super(_0x1168b9),this[_0x1dfa3f]=_0x2198bb[_0x841c9a(0x109)]===void 0x0?0x0:_0x2198bb[_0x841c9a(0x109)],this[_0x17829f]=_0x2198bb['reason']===void 0x0?'':_0x2198bb[_0x841c9a(0x189)],this[_0x598b9c]=_0x2198bb[_0x841c9a(0x17f)]===void 0x0?!0x1:_0x2198bb['wasClean'];}get[_0x276391(0x109)](){return this[_0x1dfa3f];}get[_0x276391(0x189)](){return this[_0x17829f];}get[_0x276391(0x17f)](){return this[_0x598b9c];}}Object['defineProperty'](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x109),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x189),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x17f),{'enumerable':!0x0});class _0x22c47c extends _0x20d681{constructor(_0x3adf29,_0x5733e5={}){const _0xf88e6f=_0x276391;super(_0x3adf29),this[_0x459a03]=_0x5733e5[_0xf88e6f(0x1a6)]===void 0x0?null:_0x5733e5['error'],this[_0x136cd6]=_0x5733e5[_0xf88e6f(0x16a)]===void 0x0?'':_0x5733e5['message'];}get[_0x276391(0x1a6)](){return this[_0x459a03];}get[_0x276391(0x16a)](){return this[_0x136cd6];}}Object[_0x276391(0x16f)](_0x22c47c['prototype'],_0x276391(0x1a6),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x22c47c[_0x276391(0x28d)],_0x276391(0x16a),{'enumerable':!0x0});class _0x567797 extends _0x20d681{constructor(_0x506159,_0x399e0f={}){const _0x39a159=_0x276391;super(_0x506159),this[_0x2c058a]=_0x399e0f['data']===void 0x0?null:_0x399e0f[_0x39a159(0x15e)];}get[_0x276391(0x15e)](){return this[_0x2c058a];}}Object[_0x276391(0x16f)](_0x567797[_0x276391(0x28d)],_0x276391(0x15e),{'enumerable':!0x0}),xe={'CloseEvent':_0x2d83bf,'ErrorEvent':_0x22c47c,'Event':_0x20d681,'EventTarget':{'addEventListener'(_0x18bc54,_0x533484,_0x5368b7={}){const _0x5e2bce=_0x276391;for(const _0x138044 of this[_0x5e2bce(0x121)](_0x18bc54))if(!_0x5368b7[_0x46ae6a]&&_0x138044[_0x5c349c]===_0x533484&&!_0x138044[_0x46ae6a])return;let _0x58e02e;if(_0x18bc54==='message')_0x58e02e=function(_0x4fe358,_0x5d56f9){const _0x480581=_0x5e2bce,_0x2b16de=new _0x567797(_0x480581(0x16a),{'data':_0x5d56f9?_0x4fe358:_0x4fe358[_0x480581(0x1ac)]()});_0x2b16de[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x2b16de);};else{if(_0x18bc54===_0x5e2bce(0x22e))_0x58e02e=function(_0x148117,_0x5aca75){const _0x4a861f=_0x5e2bce,_0x388735=new _0x2d83bf('close',{'code':_0x148117,'reason':_0x5aca75['toString'](),'wasClean':this[_0x4a861f(0x225)]&&this[_0x4a861f(0x14b)]});_0x388735[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x388735);};else{if(_0x18bc54===_0x5e2bce(0x1a6))_0x58e02e=function(_0x105182){const _0x1594b6=_0x5e2bce,_0x399f65=new _0x22c47c(_0x1594b6(0x1a6),{'error':_0x105182,'message':_0x105182['message']});_0x399f65[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x399f65);};else{if(_0x18bc54===_0x5e2bce(0x2a4))_0x58e02e=function(){const _0x5058cb=_0x5e2bce,_0x50a9f1=new _0x20d681(_0x5058cb(0x2a4));_0x50a9f1[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x50a9f1);};else return;}}}_0x58e02e[_0x46ae6a]=!!_0x5368b7[_0x46ae6a],_0x58e02e[_0x5c349c]=_0x533484,_0x5368b7['once']?this[_0x5e2bce(0x28b)](_0x18bc54,_0x58e02e):this['on'](_0x18bc54,_0x58e02e);},'removeEventListener'(_0x5b3d66,_0x3cda64){const _0x49a976=_0x276391;for(const _0x5efc90 of this[_0x49a976(0x121)](_0x5b3d66))if(_0x5efc90[_0x5c349c]===_0x3cda64&&!_0x5efc90[_0x46ae6a]){this[_0x49a976(0x2a7)](_0x5b3d66,_0x5efc90);break;}}},'MessageEvent':_0x567797};function _0x1f0e6f(_0x2ba7dc,_0x135598,_0xc43091){const _0x439bad=_0x276391;typeof _0x2ba7dc==_0x439bad(0x2ae)&&_0x2ba7dc[_0x439bad(0x1d0)]?_0x2ba7dc[_0x439bad(0x1d0)][_0x439bad(0x26b)](_0x2ba7dc,_0xc43091):_0x2ba7dc[_0x439bad(0x26b)](_0x135598,_0xc43091);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x874648}=ae();function _0x300d77(_0x2fc2ed,_0x2ded35,_0x3356f0){const _0x5a50f9=_0x2b98;_0x2fc2ed[_0x2ded35]===void 0x0?_0x2fc2ed[_0x2ded35]=[_0x3356f0]:_0x2fc2ed[_0x2ded35][_0x5a50f9(0xec)](_0x3356f0);}function _0x36b006(_0x59bd3d){const _0x416eb4=_0x2b98,_0x4d9662=Object['create'](null);let _0x394caf=Object[_0x416eb4(0x274)](null),_0x2580e3=!0x1,_0x307e00=!0x1,_0x285dec=!0x1,_0x1f24e2,_0x46ad73,_0x41944d=-0x1,_0x416cd7=-0x1,_0x32042c=-0x1,_0x3fc3ad=0x0;for(;_0x3fc3ad<_0x59bd3d[_0x416eb4(0x1ed)];_0x3fc3ad++)if(_0x416cd7=_0x59bd3d['charCodeAt'](_0x3fc3ad),_0x1f24e2===void 0x0){if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x3fc3ad!==0x0&&(_0x416cd7===0x20||_0x416cd7===0x9))_0x32042c===-0x1&&_0x41944d!==-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);const _0x4f5855=_0x59bd3d['slice'](_0x41944d,_0x32042c);_0x416cd7===0x2c?(_0x300d77(_0x4d9662,_0x4f5855,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null)):_0x1f24e2=_0x4f5855,_0x41944d=_0x32042c=-0x1;}else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}else{if(_0x46ad73===void 0x0){if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x416cd7===0x20||_0x416cd7===0x9)_0x32042c===-0x1&&_0x41944d!==-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad),_0x300d77(_0x394caf,_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c),!0x0),_0x416cd7===0x2c&&(_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null),_0x1f24e2=void 0x0),_0x41944d=_0x32042c=-0x1;}else{if(_0x416cd7===0x3d&&_0x41944d!==-0x1&&_0x32042c===-0x1)_0x46ad73=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x3fc3ad),_0x41944d=_0x32042c=-0x1;else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}}else{if(_0x307e00){if(_0x874648[_0x416cd7]!==0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x41944d===-0x1?_0x41944d=_0x3fc3ad:_0x2580e3||(_0x2580e3=!0x0),_0x307e00=!0x1;}else{if(_0x285dec){if(_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x416cd7===0x22&&_0x41944d!==-0x1)_0x285dec=!0x1,_0x32042c=_0x3fc3ad;else{if(_0x416cd7===0x5c)_0x307e00=!0x0;else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}else{if(_0x416cd7===0x22&&_0x59bd3d[_0x416eb4(0x1fb)](_0x3fc3ad-0x1)===0x3d)_0x285dec=!0x0;else{if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x41944d!==-0x1&&(_0x416cd7===0x20||_0x416cd7===0x9))_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);let _0x1db042=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c);_0x2580e3&&(_0x1db042=_0x1db042[_0x416eb4(0x19c)](/\\/g,''),_0x2580e3=!0x1),_0x300d77(_0x394caf,_0x46ad73,_0x1db042),_0x416cd7===0x2c&&(_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null),_0x1f24e2=void 0x0),_0x46ad73=void 0x0,_0x41944d=_0x32042c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fc3ad);}}}}}}}if(_0x41944d===-0x1||_0x285dec||_0x416cd7===0x20||_0x416cd7===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);const _0x427fb5=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c);return _0x1f24e2===void 0x0?_0x300d77(_0x4d9662,_0x427fb5,_0x394caf):(_0x46ad73===void 0x0?_0x300d77(_0x394caf,_0x427fb5,!0x0):_0x2580e3?_0x300d77(_0x394caf,_0x46ad73,_0x427fb5[_0x416eb4(0x19c)](/\\/g,'')):_0x300d77(_0x394caf,_0x46ad73,_0x427fb5),_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf)),_0x4d9662;}function _0x276709(_0x4a3bc7){const _0x1f8711=_0x2b98;return Object[_0x1f8711(0x174)](_0x4a3bc7)[_0x1f8711(0x1f1)](_0x16d27f=>{const _0x3b3dd0=_0x1f8711;let _0xc34387=_0x4a3bc7[_0x16d27f];return Array[_0x3b3dd0(0x130)](_0xc34387)||(_0xc34387=[_0xc34387]),_0xc34387[_0x3b3dd0(0x1f1)](_0x1c04cc=>[_0x16d27f]['concat'](Object['keys'](_0x1c04cc)[_0x3b3dd0(0x1f1)](_0x412551=>{const _0x50ef25=_0x3b3dd0;let _0x2fd352=_0x1c04cc[_0x412551];return Array[_0x50ef25(0x130)](_0x2fd352)||(_0x2fd352=[_0x2fd352]),_0x2fd352[_0x50ef25(0x1f1)](_0x1285ca=>_0x1285ca===!0x0?_0x412551:_0x412551+'='+_0x1285ca)[_0x50ef25(0x201)](';\x20');}))[_0x3b3dd0(0x201)](';\x20'))[_0x3b3dd0(0x201)](',\x20');})[_0x1f8711(0x201)](',\x20');}return be={'format':_0x276709,'parse':_0x36b006},be;}var we,Je;function Pe(){const _0x1181b6=_0x421888;if(Je)return we;Je=0x1;const _0x213ccb=nt,_0x5ae5ea=vt,_0x3eacd2=ot,_0x1f289f=St,_0x55ec16=Et,{randomBytes:_0x2c3b50,createHash:_0x34c81f}=Le,{Duplex:_0x25826a,Readable:_0x5878cc}=oe,{URL:_0x42439c}=xt,_0xfccb46=he(),_0x10c4a9=lt(),_0x30cf5a=ft(),{isBlob:_0x5af5e5}=ae(),{BINARY_TYPES:_0x2366f6,EMPTY_BUFFER:_0x17f051,GUID:_0x47f739,kForOnEventAttribute:_0x128c4a,kListener:_0x4db151,kStatusCode:_0x401460,kWebSocket:_0x5a1c59,NOOP:_0x14d2fd}=H(),{EventTarget:{addEventListener:_0x517aff,removeEventListener:_0x1459e6}}=It(),{format:_0x4b7ceb,parse:_0x52c8c8}=ct(),{toBuffer:_0x2015ae}=ce(),_0x31f747=0x1e*0x3e8,_0x204e4f=Symbol(_0x1181b6(0x21d)),_0x31c720=[0x8,0xd],_0x54ed77=[_0x1181b6(0x18f),_0x1181b6(0x2b7),_0x1181b6(0x1d6),'CLOSED'],_0xabc0a6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x93f1fe extends _0x213ccb{constructor(_0x34ecd3,_0x6303a0,_0x1ec7de){const _0x5d62cc=_0x1181b6;super(),this[_0x5d62cc(0x1b4)]=_0x2366f6[0x0],this[_0x5d62cc(0x2b8)]=0x3ee,this[_0x5d62cc(0x225)]=!0x1,this[_0x5d62cc(0x14b)]=!0x1,this[_0x5d62cc(0x231)]=_0x17f051,this[_0x5d62cc(0x1f7)]=null,this[_0x5d62cc(0x113)]=!0x1,this[_0x5d62cc(0x288)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x5d62cc(0x151)]=_0x93f1fe['CONNECTING'],this['_receiver']=null,this[_0x5d62cc(0x124)]=null,this[_0x5d62cc(0x1e4)]=null,_0x34ecd3!==null?(this[_0x5d62cc(0xed)]=0x0,this['_isServer']=!0x1,this[_0x5d62cc(0x1a9)]=0x0,_0x6303a0===void 0x0?_0x6303a0=[]:Array[_0x5d62cc(0x130)](_0x6303a0)||(typeof _0x6303a0=='object'&&_0x6303a0!==null?(_0x1ec7de=_0x6303a0,_0x6303a0=[]):_0x6303a0=[_0x6303a0]),_0x18cc00(this,_0x34ecd3,_0x6303a0,_0x1ec7de)):(this[_0x5d62cc(0x15c)]=_0x1ec7de[_0x5d62cc(0x13e)],this[_0x5d62cc(0x1ee)]=!0x0);}get[_0x1181b6(0x221)](){const _0x12e5e7=_0x1181b6;return this[_0x12e5e7(0x1b4)];}set['binaryType'](_0x2f520a){const _0x1029e2=_0x1181b6;_0x2366f6[_0x1029e2(0x211)](_0x2f520a)&&(this[_0x1029e2(0x1b4)]=_0x2f520a,this[_0x1029e2(0x16c)]&&(this[_0x1029e2(0x16c)][_0x1029e2(0x1b4)]=_0x2f520a));}get[_0x1181b6(0x1ad)](){const _0x2bf25b=_0x1181b6;return this[_0x2bf25b(0x1e4)]?this['_socket']['_writableState']['length']+this[_0x2bf25b(0x124)][_0x2bf25b(0x162)]:this[_0x2bf25b(0xed)];}get[_0x1181b6(0x2ac)](){const _0x195230=_0x1181b6;return Object[_0x195230(0x174)](this['_extensions'])['join']();}get['isPaused'](){const _0x1f8f89=_0x1181b6;return this[_0x1f8f89(0x11e)];}get[_0x1181b6(0x224)](){return null;}get['onerror'](){return null;}get[_0x1181b6(0x13c)](){return null;}get[_0x1181b6(0x1fa)](){return null;}get[_0x1181b6(0x265)](){const _0x5b1e3f=_0x1181b6;return this[_0x5b1e3f(0x22b)];}get[_0x1181b6(0x145)](){return this['_readyState'];}get[_0x1181b6(0x24a)](){return this['_url'];}['setSocket'](_0x52fd52,_0x4295c9,_0x361be4){const _0x5f07d0=_0x1181b6,_0x264752=new _0x10c4a9({'allowSynchronousEvents':_0x361be4[_0x5f07d0(0x179)],'binaryType':this[_0x5f07d0(0x221)],'extensions':this[_0x5f07d0(0x288)],'isServer':this['_isServer'],'maxPayload':_0x361be4[_0x5f07d0(0x205)],'skipUTF8Validation':_0x361be4[_0x5f07d0(0x152)]}),_0x33919a=new _0x30cf5a(_0x52fd52,this[_0x5f07d0(0x288)],_0x361be4[_0x5f07d0(0x1f0)]);this[_0x5f07d0(0x16c)]=_0x264752,this[_0x5f07d0(0x124)]=_0x33919a,this[_0x5f07d0(0x1e4)]=_0x52fd52,_0x264752[_0x5a1c59]=this,_0x33919a[_0x5a1c59]=this,_0x52fd52[_0x5a1c59]=this,_0x264752['on'](_0x5f07d0(0x105),_0x4a0217),_0x264752['on'](_0x5f07d0(0x154),_0x189892),_0x264752['on']('error',_0x53c608),_0x264752['on'](_0x5f07d0(0x16a),_0x59f777),_0x264752['on']('ping',_0x5c8284),_0x264752['on']('pong',_0x375320),_0x33919a[_0x5f07d0(0x272)]=_0x4a0a54,_0x52fd52[_0x5f07d0(0xf0)]&&_0x52fd52[_0x5f07d0(0xf0)](0x0),_0x52fd52[_0x5f07d0(0x1e8)]&&_0x52fd52[_0x5f07d0(0x1e8)](),_0x4295c9['length']>0x0&&_0x52fd52[_0x5f07d0(0x241)](_0x4295c9),_0x52fd52['on'](_0x5f07d0(0x22e),_0x4a1c15),_0x52fd52['on'](_0x5f07d0(0x15e),_0xfbcc0f),_0x52fd52['on'](_0x5f07d0(0x17a),_0x1f7a28),_0x52fd52['on'](_0x5f07d0(0x1a6),_0x486337),this[_0x5f07d0(0x151)]=_0x93f1fe[_0x5f07d0(0x2b7)],this[_0x5f07d0(0x2bf)]('open');}[_0x1181b6(0x285)](){const _0x266d75=_0x1181b6;if(!this[_0x266d75(0x1e4)]){this['_readyState']=_0x93f1fe[_0x266d75(0x266)],this['emit'](_0x266d75(0x22e),this['_closeCode'],this[_0x266d75(0x231)]);return;}this['_extensions'][_0xfccb46[_0x266d75(0x1bb)]]&&this[_0x266d75(0x288)][_0xfccb46['extensionName']]['cleanup'](),this[_0x266d75(0x16c)][_0x266d75(0x1be)](),this[_0x266d75(0x151)]=_0x93f1fe[_0x266d75(0x266)],this[_0x266d75(0x2bf)](_0x266d75(0x22e),this['_closeCode'],this[_0x266d75(0x231)]);}['close'](_0x56dff5,_0x115a10){const _0xacfff4=_0x1181b6;if(this[_0xacfff4(0x145)]!==_0x93f1fe[_0xacfff4(0x266)]){if(this[_0xacfff4(0x145)]===_0x93f1fe[_0xacfff4(0x18f)]){_0x262c76(this,this['_req'],_0xacfff4(0x1b1));return;}if(this['readyState']===_0x93f1fe[_0xacfff4(0x1d6)]){this['_closeFrameSent']&&(this[_0xacfff4(0x225)]||this[_0xacfff4(0x16c)][_0xacfff4(0x1e5)][_0xacfff4(0x1e6)])&&this[_0xacfff4(0x1e4)][_0xacfff4(0x17a)]();return;}this['_readyState']=_0x93f1fe[_0xacfff4(0x1d6)],this[_0xacfff4(0x124)][_0xacfff4(0x22e)](_0x56dff5,_0x115a10,!this[_0xacfff4(0x1ee)],_0x5e3a21=>{const _0x43d4f5=_0xacfff4;_0x5e3a21||(this[_0x43d4f5(0x14b)]=!0x0,(this[_0x43d4f5(0x225)]||this[_0x43d4f5(0x16c)][_0x43d4f5(0x1e5)]['errorEmitted'])&&this[_0x43d4f5(0x1e4)][_0x43d4f5(0x17a)]());}),_0x20e372(this);}}[_0x1181b6(0x13b)](){const _0x213ce0=_0x1181b6;this[_0x213ce0(0x145)]===_0x93f1fe['CONNECTING']||this[_0x213ce0(0x145)]===_0x93f1fe[_0x213ce0(0x266)]||(this[_0x213ce0(0x11e)]=!0x0,this[_0x213ce0(0x1e4)][_0x213ce0(0x13b)]());}[_0x1181b6(0x14e)](_0x2481e9,_0xc8b944,_0x1c7fec){const _0x2c9e53=_0x1181b6;if(this[_0x2c9e53(0x145)]===_0x93f1fe[_0x2c9e53(0x18f)])throw new Error(_0x2c9e53(0x192));if(typeof _0x2481e9==_0x2c9e53(0x2af)?(_0x1c7fec=_0x2481e9,_0x2481e9=_0xc8b944=void 0x0):typeof _0xc8b944==_0x2c9e53(0x2af)&&(_0x1c7fec=_0xc8b944,_0xc8b944=void 0x0),typeof _0x2481e9==_0x2c9e53(0x282)&&(_0x2481e9=_0x2481e9['toString']()),this['readyState']!==_0x93f1fe['OPEN']){_0x26cbf6(this,_0x2481e9,_0x1c7fec);return;}_0xc8b944===void 0x0&&(_0xc8b944=!this[_0x2c9e53(0x1ee)]),this[_0x2c9e53(0x124)][_0x2c9e53(0x14e)](_0x2481e9||_0x17f051,_0xc8b944,_0x1c7fec);}[_0x1181b6(0x103)](_0x455ed7,_0x129439,_0x4f5235){const _0x1327cb=_0x1181b6;if(this[_0x1327cb(0x145)]===_0x93f1fe[_0x1327cb(0x18f)])throw new Error(_0x1327cb(0x192));if(typeof _0x455ed7==_0x1327cb(0x2af)?(_0x4f5235=_0x455ed7,_0x455ed7=_0x129439=void 0x0):typeof _0x129439==_0x1327cb(0x2af)&&(_0x4f5235=_0x129439,_0x129439=void 0x0),typeof _0x455ed7=='number'&&(_0x455ed7=_0x455ed7['toString']()),this[_0x1327cb(0x145)]!==_0x93f1fe[_0x1327cb(0x2b7)]){_0x26cbf6(this,_0x455ed7,_0x4f5235);return;}_0x129439===void 0x0&&(_0x129439=!this[_0x1327cb(0x1ee)]),this[_0x1327cb(0x124)][_0x1327cb(0x103)](_0x455ed7||_0x17f051,_0x129439,_0x4f5235);}[_0x1181b6(0x122)](){const _0x1674ac=_0x1181b6;this[_0x1674ac(0x145)]===_0x93f1fe[_0x1674ac(0x18f)]||this[_0x1674ac(0x145)]===_0x93f1fe[_0x1674ac(0x266)]||(this['_paused']=!0x1,this[_0x1674ac(0x16c)]['_writableState'][_0x1674ac(0x24c)]||this[_0x1674ac(0x1e4)][_0x1674ac(0x122)]());}[_0x1181b6(0xf6)](_0x3afb82,_0x10eaff,_0x12b32c){const _0x39f8c3=_0x1181b6;if(this[_0x39f8c3(0x145)]===_0x93f1fe['CONNECTING'])throw new Error(_0x39f8c3(0x192));if(typeof _0x10eaff=='function'&&(_0x12b32c=_0x10eaff,_0x10eaff={}),typeof _0x3afb82==_0x39f8c3(0x282)&&(_0x3afb82=_0x3afb82[_0x39f8c3(0x1ac)]()),this[_0x39f8c3(0x145)]!==_0x93f1fe[_0x39f8c3(0x2b7)]){_0x26cbf6(this,_0x3afb82,_0x12b32c);return;}const _0x2fa861={'binary':typeof _0x3afb82!=_0x39f8c3(0x117),'mask':!this[_0x39f8c3(0x1ee)],'compress':!0x0,'fin':!0x0,..._0x10eaff};this['_extensions'][_0xfccb46[_0x39f8c3(0x1bb)]]||(_0x2fa861[_0x39f8c3(0x245)]=!0x1),this[_0x39f8c3(0x124)][_0x39f8c3(0xf6)](_0x3afb82||_0x17f051,_0x2fa861,_0x12b32c);}['terminate'](){const _0x4d3f48=_0x1181b6;if(this['readyState']!==_0x93f1fe['CLOSED']){if(this[_0x4d3f48(0x145)]===_0x93f1fe['CONNECTING']){_0x262c76(this,this[_0x4d3f48(0x299)],_0x4d3f48(0x1b1));return;}this['_socket']&&(this['_readyState']=_0x93f1fe['CLOSING'],this[_0x4d3f48(0x1e4)][_0x4d3f48(0x2bd)]());}}}Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x18f),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x18f))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],'CONNECTING',{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x18f))}),Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x2b7),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x2b7))}),Object['defineProperty'](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x2b7),{'enumerable':!0x0,'value':_0x54ed77['indexOf'](_0x1181b6(0x2b7))}),Object['defineProperty'](_0x93f1fe,_0x1181b6(0x1d6),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x1d6))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x1d6),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x1d6))}),Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x266),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x266))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x266),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x266))}),[_0x1181b6(0x221),_0x1181b6(0x1ad),_0x1181b6(0x2ac),_0x1181b6(0x111),_0x1181b6(0x265),'readyState','url'][_0x1181b6(0x2b3)](_0x4ee320=>{const _0x5743e2=_0x1181b6;Object[_0x5743e2(0x16f)](_0x93f1fe[_0x5743e2(0x28d)],_0x4ee320,{'enumerable':!0x0});}),[_0x1181b6(0x2a4),_0x1181b6(0x1a6),_0x1181b6(0x22e),_0x1181b6(0x16a)][_0x1181b6(0x2b3)](_0x46682d=>{const _0x3d370f=_0x1181b6;Object[_0x3d370f(0x16f)](_0x93f1fe[_0x3d370f(0x28d)],'on'+_0x46682d,{'enumerable':!0x0,'get'(){const _0x4583c6=_0x3d370f;for(const _0xbcc172 of this[_0x4583c6(0x121)](_0x46682d))if(_0xbcc172[_0x128c4a])return _0xbcc172[_0x4db151];return null;},'set'(_0x917a9b){const _0x10de3f=_0x3d370f;for(const _0x1f2a88 of this['listeners'](_0x46682d))if(_0x1f2a88[_0x128c4a]){this[_0x10de3f(0x2a7)](_0x46682d,_0x1f2a88);break;}typeof _0x917a9b==_0x10de3f(0x2af)&&this[_0x10de3f(0x191)](_0x46682d,_0x917a9b,{[_0x128c4a]:!0x0});}});}),_0x93f1fe[_0x1181b6(0x28d)]['addEventListener']=_0x517aff,_0x93f1fe[_0x1181b6(0x28d)][_0x1181b6(0x1b6)]=_0x1459e6,we=_0x93f1fe;function _0x18cc00(_0x1eee93,_0xa1f79,_0x3a9658,_0x2fe48c){const _0x208a01=_0x1181b6,_0x31c165={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x31c720[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2fe48c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1eee93[_0x208a01(0x15c)]=_0x31c165['autoPong'],!_0x31c720[_0x208a01(0x211)](_0x31c165[_0x208a01(0x27e)]))throw new RangeError(_0x208a01(0x243)+_0x31c165[_0x208a01(0x27e)]+_0x208a01(0x220)+_0x31c720[_0x208a01(0x201)](',\x20')+')');let _0x3bde6d;if(_0xa1f79 instanceof _0x42439c)_0x3bde6d=_0xa1f79;else try{_0x3bde6d=new _0x42439c(_0xa1f79);}catch{throw new SyntaxError(_0x208a01(0x142)+_0xa1f79);}_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x2b2)?_0x3bde6d[_0x208a01(0x265)]='ws:':_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x12d)&&(_0x3bde6d['protocol']='wss:'),_0x1eee93[_0x208a01(0x1c7)]=_0x3bde6d[_0x208a01(0x1ca)];const _0x297f46=_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x199),_0x30e7b7=_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x131);let _0x351f2f;if(_0x3bde6d[_0x208a01(0x265)]!=='ws:'&&!_0x297f46&&!_0x30e7b7?_0x351f2f=_0x208a01(0x169):_0x30e7b7&&!_0x3bde6d[_0x208a01(0x230)]?_0x351f2f=_0x208a01(0x218):_0x3bde6d['hash']&&(_0x351f2f=_0x208a01(0x1cb)),_0x351f2f){const _0x111035=new SyntaxError(_0x351f2f);if(_0x1eee93['_redirects']===0x0)throw _0x111035;_0x2ec948(_0x1eee93,_0x111035);return;}const _0x5281bb=_0x297f46?0x1bb:0x50,_0x5a0261=_0x2c3b50(0x10)[_0x208a01(0x1ac)](_0x208a01(0x114)),_0x34a510=_0x297f46?_0x5ae5ea['request']:_0x3eacd2[_0x208a01(0x1c5)],_0xe29056=new Set();let _0x5504ce;if(_0x31c165[_0x208a01(0x12b)]=_0x31c165[_0x208a01(0x12b)]||(_0x297f46?_0x19b668:_0x276a78),_0x31c165[_0x208a01(0x29a)]=_0x31c165[_0x208a01(0x29a)]||_0x5281bb,_0x31c165['port']=_0x3bde6d['port']||_0x5281bb,_0x31c165[_0x208a01(0x116)]=_0x3bde6d[_0x208a01(0x161)][_0x208a01(0x10a)]('[')?_0x3bde6d[_0x208a01(0x161)][_0x208a01(0x1ce)](0x1,-0x1):_0x3bde6d[_0x208a01(0x161)],_0x31c165[_0x208a01(0x159)]={..._0x31c165[_0x208a01(0x159)],'Sec-WebSocket-Version':_0x31c165[_0x208a01(0x27e)],'Sec-WebSocket-Key':_0x5a0261,'Connection':_0x208a01(0x181),'Upgrade':_0x208a01(0x10b)},_0x31c165[_0x208a01(0x2bb)]=_0x3bde6d[_0x208a01(0x230)]+_0x3bde6d[_0x208a01(0x28c)],_0x31c165[_0x208a01(0x2a8)]=_0x31c165[_0x208a01(0x132)],_0x31c165[_0x208a01(0x2c0)]&&(_0x5504ce=new _0xfccb46(_0x31c165[_0x208a01(0x2c0)]!==!0x0?_0x31c165[_0x208a01(0x2c0)]:{},!0x1,_0x31c165['maxPayload']),_0x31c165[_0x208a01(0x159)][_0x208a01(0x153)]=_0x4b7ceb({[_0xfccb46[_0x208a01(0x1bb)]]:_0x5504ce[_0x208a01(0x127)]()})),_0x3a9658['length']){for(const _0x396f52 of _0x3a9658){if(typeof _0x396f52!='string'||!_0xabc0a6[_0x208a01(0x1ae)](_0x396f52)||_0xe29056[_0x208a01(0x24b)](_0x396f52))throw new SyntaxError(_0x208a01(0x13f));_0xe29056[_0x208a01(0x26c)](_0x396f52);}_0x31c165['headers'][_0x208a01(0x251)]=_0x3a9658['join'](',');}if(_0x31c165[_0x208a01(0x269)]&&(_0x31c165[_0x208a01(0x27e)]<0xd?_0x31c165[_0x208a01(0x159)][_0x208a01(0x1d5)]=_0x31c165[_0x208a01(0x269)]:_0x31c165['headers'][_0x208a01(0x163)]=_0x31c165['origin']),(_0x3bde6d['username']||_0x3bde6d[_0x208a01(0x1e2)])&&(_0x31c165[_0x208a01(0x270)]=_0x3bde6d[_0x208a01(0x1d2)]+':'+_0x3bde6d[_0x208a01(0x1e2)]),_0x30e7b7){const _0x83671b=_0x31c165[_0x208a01(0x2bb)][_0x208a01(0x196)](':');_0x31c165['socketPath']=_0x83671b[0x0],_0x31c165[_0x208a01(0x2bb)]=_0x83671b[0x1];}let _0xbba1ce;if(_0x31c165[_0x208a01(0x208)]){if(_0x1eee93[_0x208a01(0x1a9)]===0x0){_0x1eee93['_originalIpc']=_0x30e7b7,_0x1eee93[_0x208a01(0x26e)]=_0x297f46,_0x1eee93[_0x208a01(0x172)]=_0x30e7b7?_0x31c165['socketPath']:_0x3bde6d[_0x208a01(0x116)];const _0x1b26ed=_0x2fe48c&&_0x2fe48c[_0x208a01(0x159)];if(_0x2fe48c={..._0x2fe48c,'headers':{}},_0x1b26ed){for(const [_0x19f191,_0x5b876c]of Object['entries'](_0x1b26ed))_0x2fe48c[_0x208a01(0x159)][_0x19f191[_0x208a01(0x18b)]()]=_0x5b876c;}}else{if(_0x1eee93['listenerCount'](_0x208a01(0x29c))===0x0){const _0x145eca=_0x30e7b7?_0x1eee93[_0x208a01(0x1cc)]?_0x31c165[_0x208a01(0x1b3)]===_0x1eee93[_0x208a01(0x172)]:!0x1:_0x1eee93[_0x208a01(0x1cc)]?!0x1:_0x3bde6d['host']===_0x1eee93[_0x208a01(0x172)];(!_0x145eca||_0x1eee93[_0x208a01(0x26e)]&&!_0x297f46)&&(delete _0x31c165[_0x208a01(0x159)][_0x208a01(0x1b9)],delete _0x31c165['headers']['cookie'],_0x145eca||delete _0x31c165[_0x208a01(0x159)]['host'],_0x31c165[_0x208a01(0x270)]=void 0x0);}}_0x31c165[_0x208a01(0x270)]&&!_0x2fe48c[_0x208a01(0x159)][_0x208a01(0x1b9)]&&(_0x2fe48c['headers'][_0x208a01(0x1b9)]=_0x208a01(0x1ff)+Buffer[_0x208a01(0x27c)](_0x31c165['auth'])['toString'](_0x208a01(0x114))),_0xbba1ce=_0x1eee93[_0x208a01(0x299)]=_0x34a510(_0x31c165),_0x1eee93['_redirects']&&_0x1eee93[_0x208a01(0x2bf)]('redirect',_0x1eee93[_0x208a01(0x24a)],_0xbba1ce);}else _0xbba1ce=_0x1eee93['_req']=_0x34a510(_0x31c165);_0x31c165[_0x208a01(0x2a8)]&&_0xbba1ce['on'](_0x208a01(0x2a8),()=>{_0x262c76(_0x1eee93,_0xbba1ce,'Opening\x20handshake\x20has\x20timed\x20out');}),_0xbba1ce['on'](_0x208a01(0x1a6),_0x2a10ab=>{_0xbba1ce===null||_0xbba1ce[_0x204e4f]||(_0xbba1ce=_0x1eee93['_req']=null,_0x2ec948(_0x1eee93,_0x2a10ab));}),_0xbba1ce['on'](_0x208a01(0x273),_0x801cb0=>{const _0x33d5dc=_0x208a01,_0x58bd7a=_0x801cb0[_0x33d5dc(0x159)]['location'],_0x3d18dc=_0x801cb0[_0x33d5dc(0x1c6)];if(_0x58bd7a&&_0x31c165[_0x33d5dc(0x208)]&&_0x3d18dc>=0x12c&&_0x3d18dc<0x190){if(++_0x1eee93[_0x33d5dc(0x1a9)]>_0x31c165['maxRedirects']){_0x262c76(_0x1eee93,_0xbba1ce,_0x33d5dc(0x107));return;}_0xbba1ce[_0x33d5dc(0x1f5)]();let _0x5e9324;try{_0x5e9324=new _0x42439c(_0x58bd7a,_0xa1f79);}catch{const _0x50114f=new SyntaxError('Invalid\x20URL:\x20'+_0x58bd7a);_0x2ec948(_0x1eee93,_0x50114f);return;}_0x18cc00(_0x1eee93,_0x5e9324,_0x3a9658,_0x2fe48c);}else _0x1eee93['emit'](_0x33d5dc(0x2a5),_0xbba1ce,_0x801cb0)||_0x262c76(_0x1eee93,_0xbba1ce,_0x33d5dc(0x212)+_0x801cb0[_0x33d5dc(0x1c6)]);}),_0xbba1ce['on'](_0x208a01(0x28e),(_0x262e2c,_0xe1515c,_0x518ab5)=>{const _0x93d287=_0x208a01;if(_0x1eee93[_0x93d287(0x2bf)](_0x93d287(0x28e),_0x262e2c),_0x1eee93[_0x93d287(0x145)]!==_0x93f1fe[_0x93d287(0x18f)])return;_0xbba1ce=_0x1eee93['_req']=null;const _0x4426c2=_0x262e2c[_0x93d287(0x159)][_0x93d287(0x28e)];if(_0x4426c2===void 0x0||_0x4426c2[_0x93d287(0x18b)]()!==_0x93d287(0x10b)){_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Upgrade\x20header');return;}const _0x49b60b=_0x34c81f(_0x93d287(0x24f))[_0x93d287(0x277)](_0x5a0261+_0x47f739)[_0x93d287(0x118)](_0x93d287(0x114));if(_0x262e2c[_0x93d287(0x159)][_0x93d287(0x134)]!==_0x49b60b){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x23e));return;}const _0x4830ba=_0x262e2c[_0x93d287(0x159)]['sec-websocket-protocol'];let _0x5c96b5;if(_0x4830ba!==void 0x0?_0xe29056[_0x93d287(0xfb)]?_0xe29056[_0x93d287(0x24b)](_0x4830ba)||(_0x5c96b5=_0x93d287(0x25c)):_0x5c96b5=_0x93d287(0x19d):_0xe29056[_0x93d287(0xfb)]&&(_0x5c96b5=_0x93d287(0x210)),_0x5c96b5){_0x262c76(_0x1eee93,_0xe1515c,_0x5c96b5);return;}_0x4830ba&&(_0x1eee93['_protocol']=_0x4830ba);const _0x5dd0b6=_0x262e2c[_0x93d287(0x159)][_0x93d287(0x294)];if(_0x5dd0b6!==void 0x0){if(!_0x5504ce){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x1a3));return;}let _0x33d0b5;try{_0x33d0b5=_0x52c8c8(_0x5dd0b6);}catch{_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xe85385=Object[_0x93d287(0x174)](_0x33d0b5);if(_0xe85385['length']!==0x1||_0xe85385[0x0]!==_0xfccb46['extensionName']){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x1d4));return;}try{_0x5504ce[_0x93d287(0x2b0)](_0x33d0b5[_0xfccb46[_0x93d287(0x1bb)]]);}catch{_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1eee93['_extensions'][_0xfccb46[_0x93d287(0x1bb)]]=_0x5504ce;}_0x1eee93[_0x93d287(0x10f)](_0xe1515c,_0x518ab5,{'allowSynchronousEvents':_0x31c165['allowSynchronousEvents'],'generateMask':_0x31c165[_0x93d287(0x1f0)],'maxPayload':_0x31c165['maxPayload'],'skipUTF8Validation':_0x31c165[_0x93d287(0x152)]});}),_0x31c165[_0x208a01(0x13a)]?_0x31c165['finishRequest'](_0xbba1ce,_0x1eee93):_0xbba1ce[_0x208a01(0x17a)]();}function _0x2ec948(_0x2460da,_0xb2a718){const _0x3e33bc=_0x1181b6;_0x2460da[_0x3e33bc(0x151)]=_0x93f1fe['CLOSING'],_0x2460da[_0x3e33bc(0x113)]=!0x0,_0x2460da[_0x3e33bc(0x2bf)]('error',_0xb2a718),_0x2460da[_0x3e33bc(0x285)]();}function _0x276a78(_0x149b9e){const _0x270262=_0x1181b6;return _0x149b9e[_0x270262(0x2bb)]=_0x149b9e[_0x270262(0x1b3)],_0x1f289f[_0x270262(0x291)](_0x149b9e);}function _0x19b668(_0x354c25){const _0x120a4c=_0x1181b6;return _0x354c25[_0x120a4c(0x2bb)]=void 0x0,!_0x354c25[_0x120a4c(0x227)]&&_0x354c25[_0x120a4c(0x227)]!==''&&(_0x354c25[_0x120a4c(0x227)]=_0x1f289f[_0x120a4c(0x23d)](_0x354c25['host'])?'':_0x354c25[_0x120a4c(0x116)]),_0x55ec16['connect'](_0x354c25);}function _0x262c76(_0x1ed9c3,_0x4847a0,_0x459f50){const _0x4a7466=_0x1181b6;_0x1ed9c3[_0x4a7466(0x151)]=_0x93f1fe['CLOSING'];const _0x387e4f=new Error(_0x459f50);Error['captureStackTrace'](_0x387e4f,_0x262c76),_0x4847a0[_0x4a7466(0x29d)]?(_0x4847a0[_0x204e4f]=!0x0,_0x4847a0[_0x4a7466(0x1f5)](),_0x4847a0['socket']&&!_0x4847a0[_0x4a7466(0x10c)][_0x4a7466(0x2c1)]&&_0x4847a0[_0x4a7466(0x10c)]['destroy'](),process[_0x4a7466(0x1d7)](_0x2ec948,_0x1ed9c3,_0x387e4f)):(_0x4847a0[_0x4a7466(0x2bd)](_0x387e4f),_0x4847a0[_0x4a7466(0x28b)](_0x4a7466(0x1a6),_0x1ed9c3['emit']['bind'](_0x1ed9c3,_0x4a7466(0x1a6))),_0x4847a0['once'](_0x4a7466(0x22e),_0x1ed9c3[_0x4a7466(0x285)]['bind'](_0x1ed9c3)));}function _0x26cbf6(_0x3ae94a,_0xae41f5,_0x5a103a){const _0xc9bf63=_0x1181b6;if(_0xae41f5){const _0x3c97bf=_0x5af5e5(_0xae41f5)?_0xae41f5[_0xc9bf63(0xfb)]:_0x2015ae(_0xae41f5)[_0xc9bf63(0x1ed)];_0x3ae94a['_socket']?_0x3ae94a[_0xc9bf63(0x124)][_0xc9bf63(0x162)]+=_0x3c97bf:_0x3ae94a[_0xc9bf63(0xed)]+=_0x3c97bf;}if(_0x5a103a){const _0x38a7fb=new Error(_0xc9bf63(0x1c0)+_0x3ae94a[_0xc9bf63(0x145)]+'\x20('+_0x54ed77[_0x3ae94a['readyState']]+')');process[_0xc9bf63(0x1d7)](_0x5a103a,_0x38a7fb);}}function _0x4a0217(_0x5f0bd6,_0xdc5ba6){const _0x53cfc9=_0x1181b6,_0x5d4bbb=this[_0x5a1c59];_0x5d4bbb[_0x53cfc9(0x225)]=!0x0,_0x5d4bbb[_0x53cfc9(0x231)]=_0xdc5ba6,_0x5d4bbb[_0x53cfc9(0x2b8)]=_0x5f0bd6,_0x5d4bbb['_socket'][_0x5a1c59]!==void 0x0&&(_0x5d4bbb[_0x53cfc9(0x1e4)][_0x53cfc9(0x2a7)]('data',_0xfbcc0f),process[_0x53cfc9(0x1d7)](_0xf9cf3f,_0x5d4bbb[_0x53cfc9(0x1e4)]),_0x5f0bd6===0x3ed?_0x5d4bbb['close']():_0x5d4bbb[_0x53cfc9(0x22e)](_0x5f0bd6,_0xdc5ba6));}function _0x189892(){const _0x48c053=_0x1181b6,_0x4a363f=this[_0x5a1c59];_0x4a363f[_0x48c053(0x111)]||_0x4a363f[_0x48c053(0x1e4)][_0x48c053(0x122)]();}function _0x53c608(_0x49a602){const _0x254f0c=_0x1181b6,_0x4d30e9=this[_0x5a1c59];_0x4d30e9['_socket'][_0x5a1c59]!==void 0x0&&(_0x4d30e9['_socket'][_0x254f0c(0x2a7)]('data',_0xfbcc0f),process[_0x254f0c(0x1d7)](_0xf9cf3f,_0x4d30e9['_socket']),_0x4d30e9[_0x254f0c(0x22e)](_0x49a602[_0x401460])),_0x4d30e9[_0x254f0c(0x113)]||(_0x4d30e9[_0x254f0c(0x113)]=!0x0,_0x4d30e9[_0x254f0c(0x2bf)]('error',_0x49a602));}function _0x98fe1c(){const _0x4175e9=_0x1181b6;this[_0x5a1c59][_0x4175e9(0x285)]();}function _0x59f777(_0x17a816,_0x34e74c){const _0x4a32f0=_0x1181b6;this[_0x5a1c59][_0x4a32f0(0x2bf)](_0x4a32f0(0x16a),_0x17a816,_0x34e74c);}function _0x5c8284(_0x2d3dae){const _0x5071da=_0x1181b6,_0x183685=this[_0x5a1c59];_0x183685[_0x5071da(0x15c)]&&_0x183685[_0x5071da(0x103)](_0x2d3dae,!this[_0x5071da(0x1ee)],_0x14d2fd),_0x183685[_0x5071da(0x2bf)](_0x5071da(0x14e),_0x2d3dae);}function _0x375320(_0x1e2f32){const _0xdfb3cb=_0x1181b6;this[_0x5a1c59][_0xdfb3cb(0x2bf)](_0xdfb3cb(0x103),_0x1e2f32);}function _0xf9cf3f(_0x1e1568){const _0x29b058=_0x1181b6;_0x1e1568[_0x29b058(0x122)]();}function _0x4a0a54(_0x270729){const _0x27f763=_0x1181b6,_0x499247=this[_0x5a1c59];_0x499247['readyState']!==_0x93f1fe['CLOSED']&&(_0x499247[_0x27f763(0x145)]===_0x93f1fe[_0x27f763(0x2b7)]&&(_0x499247['_readyState']=_0x93f1fe['CLOSING'],_0x20e372(_0x499247)),this[_0x27f763(0x1e4)][_0x27f763(0x17a)](),_0x499247['_errorEmitted']||(_0x499247[_0x27f763(0x113)]=!0x0,_0x499247[_0x27f763(0x2bf)]('error',_0x270729)));}function _0x20e372(_0x3f3c80){const _0x3db6ec=_0x1181b6;_0x3f3c80[_0x3db6ec(0x1f7)]=setTimeout(_0x3f3c80[_0x3db6ec(0x1e4)][_0x3db6ec(0x2bd)]['bind'](_0x3f3c80[_0x3db6ec(0x1e4)]),_0x31f747);}function _0x4a1c15(){const _0x2d0680=_0x1181b6,_0x150e80=this[_0x5a1c59];this[_0x2d0680(0x2a7)](_0x2d0680(0x22e),_0x4a1c15),this[_0x2d0680(0x2a7)](_0x2d0680(0x15e),_0xfbcc0f),this[_0x2d0680(0x2a7)](_0x2d0680(0x17a),_0x1f7a28),_0x150e80[_0x2d0680(0x151)]=_0x93f1fe[_0x2d0680(0x1d6)];let _0x205365;!this[_0x2d0680(0x195)][_0x2d0680(0x238)]&&!_0x150e80[_0x2d0680(0x225)]&&!_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)]['errorEmitted']&&(_0x205365=_0x150e80[_0x2d0680(0x1e4)][_0x2d0680(0x240)]())!==null&&_0x150e80[_0x2d0680(0x16c)]['write'](_0x205365),_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x17a)](),this[_0x5a1c59]=void 0x0,clearTimeout(_0x150e80[_0x2d0680(0x1f7)]),_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)][_0x2d0680(0x21a)]||_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)][_0x2d0680(0x1e6)]?_0x150e80[_0x2d0680(0x285)]():(_0x150e80[_0x2d0680(0x16c)]['on']('error',_0x98fe1c),_0x150e80[_0x2d0680(0x16c)]['on'](_0x2d0680(0x293),_0x98fe1c));}function _0xfbcc0f(_0x378953){const _0x4dcc0f=_0x1181b6;this[_0x5a1c59][_0x4dcc0f(0x16c)]['write'](_0x378953)||this[_0x4dcc0f(0x13b)]();}function _0x1f7a28(){const _0xc7d030=_0x1181b6,_0x443b1f=this[_0x5a1c59];_0x443b1f[_0xc7d030(0x151)]=_0x93f1fe['CLOSING'],_0x443b1f[_0xc7d030(0x16c)][_0xc7d030(0x17a)](),this[_0xc7d030(0x17a)]();}function _0x486337(){const _0x8d6173=_0x1181b6,_0x48af70=this[_0x5a1c59];this[_0x8d6173(0x2a7)](_0x8d6173(0x1a6),_0x486337),this['on'](_0x8d6173(0x1a6),_0x14d2fd),_0x48af70&&(_0x48af70[_0x8d6173(0x151)]=_0x93f1fe[_0x8d6173(0x1d6)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3d3bc4}=oe;function _0x46e92c(_0x2f15fd){const _0x522596=_0x2b98;_0x2f15fd[_0x522596(0x2bf)](_0x522596(0x22e));}function _0x5a2b54(){const _0x468037=_0x2b98;!this[_0x468037(0x2c1)]&&this[_0x468037(0x1e5)][_0x468037(0x21a)]&&this[_0x468037(0x2bd)]();}function _0x3fc0ff(_0x22382c){const _0x149c15=_0x2b98;this[_0x149c15(0x2a7)](_0x149c15(0x1a6),_0x3fc0ff),this[_0x149c15(0x2bd)](),this[_0x149c15(0x1e9)](_0x149c15(0x1a6))===0x0&&this[_0x149c15(0x2bf)](_0x149c15(0x1a6),_0x22382c);}function _0x1a7444(_0x218cbd,_0x37a9bc){const _0x2b90a6=_0x2b98;let _0x59682b=!0x0;const _0x9a772e=new _0x3d3bc4({..._0x37a9bc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x218cbd['on'](_0x2b90a6(0x16a),function(_0x2f9e70,_0x125580){const _0x5d4777=_0x2b90a6,_0x394ecb=!_0x125580&&_0x9a772e[_0x5d4777(0x195)][_0x5d4777(0x16e)]?_0x2f9e70[_0x5d4777(0x1ac)]():_0x2f9e70;_0x9a772e[_0x5d4777(0xec)](_0x394ecb)||_0x218cbd['pause']();}),_0x218cbd[_0x2b90a6(0x28b)](_0x2b90a6(0x1a6),function(_0x323147){const _0x52451f=_0x2b90a6;_0x9a772e[_0x52451f(0x2c1)]||(_0x59682b=!0x1,_0x9a772e[_0x52451f(0x2bd)](_0x323147));}),_0x218cbd['once'](_0x2b90a6(0x22e),function(){const _0x1a7dc9=_0x2b90a6;_0x9a772e[_0x1a7dc9(0x2c1)]||_0x9a772e[_0x1a7dc9(0xec)](null);}),_0x9a772e[_0x2b90a6(0xef)]=function(_0x33006d,_0x3bf212){const _0x329ec9=_0x2b90a6;if(_0x218cbd[_0x329ec9(0x145)]===_0x218cbd[_0x329ec9(0x266)]){_0x3bf212(_0x33006d),process[_0x329ec9(0x1d7)](_0x46e92c,_0x9a772e);return;}let _0x32ce2b=!0x1;_0x218cbd[_0x329ec9(0x28b)](_0x329ec9(0x1a6),function(_0x42ad29){_0x32ce2b=!0x0,_0x3bf212(_0x42ad29);}),_0x218cbd[_0x329ec9(0x28b)](_0x329ec9(0x22e),function(){const _0x3318cc=_0x329ec9;_0x32ce2b||_0x3bf212(_0x33006d),process[_0x3318cc(0x1d7)](_0x46e92c,_0x9a772e);}),_0x59682b&&_0x218cbd[_0x329ec9(0x202)]();},_0x9a772e[_0x2b90a6(0x292)]=function(_0x13b4ee){const _0x18de75=_0x2b90a6;if(_0x218cbd[_0x18de75(0x145)]===_0x218cbd[_0x18de75(0x18f)]){_0x218cbd[_0x18de75(0x28b)](_0x18de75(0x2a4),function(){const _0x2daabd=_0x18de75;_0x9a772e[_0x2daabd(0x292)](_0x13b4ee);});return;}_0x218cbd[_0x18de75(0x1e4)]!==null&&(_0x218cbd[_0x18de75(0x1e4)][_0x18de75(0x1e5)][_0x18de75(0x21a)]?(_0x13b4ee(),_0x9a772e['_readableState']['endEmitted']&&_0x9a772e[_0x18de75(0x2bd)]()):(_0x218cbd['_socket'][_0x18de75(0x28b)](_0x18de75(0x293),function(){_0x13b4ee();}),_0x218cbd['close']()));},_0x9a772e['_read']=function(){const _0x3b94a8=_0x2b90a6;_0x218cbd[_0x3b94a8(0x111)]&&_0x218cbd[_0x3b94a8(0x122)]();},_0x9a772e[_0x2b90a6(0x182)]=function(_0x29e220,_0x2e22da,_0x37c82e){const _0x218751=_0x2b90a6;if(_0x218cbd[_0x218751(0x145)]===_0x218cbd[_0x218751(0x18f)]){_0x218cbd['once']('open',function(){const _0x57207f=_0x218751;_0x9a772e[_0x57207f(0x182)](_0x29e220,_0x2e22da,_0x37c82e);});return;}_0x218cbd[_0x218751(0xf6)](_0x29e220,_0x37c82e);},_0x9a772e['on'](_0x2b90a6(0x17a),_0x5a2b54),_0x9a772e['on']('error',_0x3fc0ff),_0x9a772e;}return Oe=_0x1a7444,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3c4c59}=ae();function _0x34a996(_0xd94134){const _0x2a1db5=_0x2b98,_0x3ef3a6=new Set();let _0x536680=-0x1,_0x1d1f7c=-0x1,_0x263331=0x0;for(_0x263331;_0x263331<_0xd94134[_0x2a1db5(0x1ed)];_0x263331++){const _0x46fc19=_0xd94134[_0x2a1db5(0x1fb)](_0x263331);if(_0x1d1f7c===-0x1&&_0x3c4c59[_0x46fc19]===0x1)_0x536680===-0x1&&(_0x536680=_0x263331);else{if(_0x263331!==0x0&&(_0x46fc19===0x20||_0x46fc19===0x9))_0x1d1f7c===-0x1&&_0x536680!==-0x1&&(_0x1d1f7c=_0x263331);else{if(_0x46fc19===0x2c){if(_0x536680===-0x1)throw new SyntaxError(_0x2a1db5(0x248)+_0x263331);_0x1d1f7c===-0x1&&(_0x1d1f7c=_0x263331);const _0x2d1d9b=_0xd94134[_0x2a1db5(0x1ce)](_0x536680,_0x1d1f7c);if(_0x3ef3a6[_0x2a1db5(0x24b)](_0x2d1d9b))throw new SyntaxError(_0x2a1db5(0x1d8)+_0x2d1d9b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3ef3a6['add'](_0x2d1d9b),_0x536680=_0x1d1f7c=-0x1;}else throw new SyntaxError(_0x2a1db5(0x248)+_0x263331);}}}if(_0x536680===-0x1||_0x1d1f7c!==-0x1)throw new SyntaxError(_0x2a1db5(0x1ec));const _0x90bf12=_0xd94134[_0x2a1db5(0x1ce)](_0x536680,_0x263331);if(_0x3ef3a6['has'](_0x90bf12))throw new SyntaxError('The\x20\x22'+_0x90bf12+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3ef3a6[_0x2a1db5(0x26c)](_0x90bf12),_0x3ef3a6;}return Ce={'parse':_0x34a996},Ce;}var Te,rt;function Ft(){const _0x10fde0=_0x421888;if(rt)return Te;rt=0x1;const _0x4a1b95=nt,_0x1a04d0=ot,{Duplex:_0x450519}=oe,{createHash:_0x5e55fe}=Le,_0x31e098=ct(),_0x15081a=he(),_0x236704=At(),_0x2b3d69=Pe(),{GUID:_0x4e5ba5,kWebSocket:_0xd63083}=H(),_0x4deed6=/^[+/0-9A-Za-z]{22}==$/,_0x28a1b1=0x0,_0x17a132=0x1,_0x3b448b=0x2;class _0x179ce9 extends _0x4a1b95{constructor(_0x5f1767,_0x2f9ae1){const _0x57ab43=_0x2b98;if(super(),_0x5f1767={'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':_0x2b3d69,..._0x5f1767},_0x5f1767[_0x57ab43(0x223)]==null&&!_0x5f1767['server']&&!_0x5f1767['noServer']||_0x5f1767[_0x57ab43(0x223)]!=null&&(_0x5f1767[_0x57ab43(0x108)]||_0x5f1767[_0x57ab43(0x1ef)])||_0x5f1767[_0x57ab43(0x108)]&&_0x5f1767[_0x57ab43(0x1ef)])throw new TypeError(_0x57ab43(0x204));if(_0x5f1767['port']!=null?(this['_server']=_0x1a04d0[_0x57ab43(0x1d1)]((_0x5dda68,_0x501e54)=>{const _0x54b583=_0x57ab43,_0x4efba5=_0x1a04d0[_0x54b583(0x21c)][0x1aa];_0x501e54[_0x54b583(0x20b)](0x1aa,{'Content-Length':_0x4efba5[_0x54b583(0x1ed)],'Content-Type':_0x54b583(0x17e)}),_0x501e54[_0x54b583(0x17a)](_0x4efba5);}),this[_0x57ab43(0x219)][_0x57ab43(0x12e)](_0x5f1767[_0x57ab43(0x223)],_0x5f1767[_0x57ab43(0x116)],_0x5f1767[_0x57ab43(0x158)],_0x2f9ae1)):_0x5f1767[_0x57ab43(0x108)]&&(this[_0x57ab43(0x219)]=_0x5f1767[_0x57ab43(0x108)]),this['_server']){const _0x2ac3b9=this[_0x57ab43(0x2bf)][_0x57ab43(0x126)](this,'connection');this[_0x57ab43(0x2a2)]=_0x4476e4(this[_0x57ab43(0x219)],{'listening':this['emit']['bind'](this,_0x57ab43(0x233)),'error':this[_0x57ab43(0x2bf)][_0x57ab43(0x126)](this,_0x57ab43(0x1a6)),'upgrade':(_0xd9f270,_0x43e591,_0x2f0695)=>{const _0x5539a2=_0x57ab43;this[_0x5539a2(0x12c)](_0xd9f270,_0x43e591,_0x2f0695,_0x2ac3b9);}});}_0x5f1767[_0x57ab43(0x2c0)]===!0x0&&(_0x5f1767[_0x57ab43(0x2c0)]={}),_0x5f1767[_0x57ab43(0x235)]&&(this[_0x57ab43(0x1c9)]=new Set(),this[_0x57ab43(0x194)]=!0x1),this[_0x57ab43(0x261)]=_0x5f1767,this[_0x57ab43(0x1ea)]=_0x28a1b1;}[_0x10fde0(0x1a8)](){const _0x44627e=_0x10fde0;if(this[_0x44627e(0x261)]['noServer'])throw new Error(_0x44627e(0x24d));return this[_0x44627e(0x219)]?this['_server'][_0x44627e(0x1a8)]():null;}[_0x10fde0(0x22e)](_0x112d89){const _0x1ba464=_0x10fde0;if(this[_0x1ba464(0x1ea)]===_0x3b448b){_0x112d89&&this[_0x1ba464(0x28b)](_0x1ba464(0x22e),()=>{const _0x4c6e01=_0x1ba464;_0x112d89(new Error(_0x4c6e01(0x1f4)));}),process[_0x1ba464(0x1d7)](_0x1fb9d3,this);return;}if(_0x112d89&&this[_0x1ba464(0x28b)]('close',_0x112d89),this['_state']!==_0x17a132){if(this[_0x1ba464(0x1ea)]=_0x17a132,this[_0x1ba464(0x261)][_0x1ba464(0x1ef)]||this[_0x1ba464(0x261)][_0x1ba464(0x108)])this[_0x1ba464(0x219)]&&(this['_removeListeners'](),this[_0x1ba464(0x2a2)]=this[_0x1ba464(0x219)]=null),this[_0x1ba464(0x1c9)]?this['clients'][_0x1ba464(0xfb)]?this[_0x1ba464(0x194)]=!0x0:process['nextTick'](_0x1fb9d3,this):process[_0x1ba464(0x1d7)](_0x1fb9d3,this);else{const _0x5dd28d=this[_0x1ba464(0x219)];this[_0x1ba464(0x2a2)](),this[_0x1ba464(0x2a2)]=this['_server']=null,_0x5dd28d[_0x1ba464(0x22e)](()=>{_0x1fb9d3(this);});}}}[_0x10fde0(0x2b4)](_0x210b00){const _0x124b5c=_0x10fde0;if(this[_0x124b5c(0x261)][_0x124b5c(0x2bb)]){const _0x4f4be6=_0x210b00['url']['indexOf']('?');if((_0x4f4be6!==-0x1?_0x210b00['url']['slice'](0x0,_0x4f4be6):_0x210b00['url'])!==this[_0x124b5c(0x261)][_0x124b5c(0x2bb)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303){const _0x269f2c=_0x10fde0;_0x1a6a8c['on'](_0x269f2c(0x1a6),_0x23a2e4);const _0x5d1181=_0x3c3285[_0x269f2c(0x159)][_0x269f2c(0x289)],_0x4f3e85=_0x3c3285[_0x269f2c(0x159)]['upgrade'],_0x1c8c2f=+_0x3c3285[_0x269f2c(0x159)][_0x269f2c(0x21b)];if(_0x3c3285[_0x269f2c(0xfd)]!==_0x269f2c(0x18d)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x195,_0x269f2c(0x216));return;}if(_0x4f3e85===void 0x0||_0x4f3e85[_0x269f2c(0x18b)]()!==_0x269f2c(0x10b)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0xf1));return;}if(_0x5d1181===void 0x0||!_0x4deed6[_0x269f2c(0x1ae)](_0x5d1181)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x229));return;}if(_0x1c8c2f!==0xd&&_0x1c8c2f!==0x8){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x15a),{'Sec-WebSocket-Version':_0x269f2c(0x123)});return;}if(!this[_0x269f2c(0x2b4)](_0x3c3285)){_0x2fc421(_0x1a6a8c,0x190);return;}const _0x5dc0bd=_0x3c3285['headers']['sec-websocket-protocol'];let _0x3bc159=new Set();if(_0x5dc0bd!==void 0x0)try{_0x3bc159=_0x236704['parse'](_0x5dc0bd);}catch{_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x16d));return;}const _0x1221c9=_0x3c3285['headers'][_0x269f2c(0x294)],_0x4483f6={};if(this[_0x269f2c(0x261)][_0x269f2c(0x2c0)]&&_0x1221c9!==void 0x0){const _0x15cab8=new _0x15081a(this[_0x269f2c(0x261)][_0x269f2c(0x2c0)],!0x0,this[_0x269f2c(0x261)][_0x269f2c(0x205)]);try{const _0x443599=_0x31e098[_0x269f2c(0xf4)](_0x1221c9);_0x443599[_0x15081a['extensionName']]&&(_0x15cab8[_0x269f2c(0x2b0)](_0x443599[_0x15081a['extensionName']]),_0x4483f6[_0x15081a[_0x269f2c(0x1bb)]]=_0x15cab8);}catch{_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x20a));return;}}if(this[_0x269f2c(0x261)]['verifyClient']){const _0x47aa1d={'origin':_0x3c3285[_0x269f2c(0x159)][''+(_0x1c8c2f===0x8?_0x269f2c(0x25a):_0x269f2c(0x269))],'secure':!!(_0x3c3285['socket'][_0x269f2c(0x138)]||_0x3c3285['socket'][_0x269f2c(0x259)]),'req':_0x3c3285};if(this[_0x269f2c(0x261)][_0x269f2c(0x275)][_0x269f2c(0x1ed)]===0x2){this[_0x269f2c(0x261)][_0x269f2c(0x275)](_0x47aa1d,(_0xc3f101,_0x235554,_0x13241c,_0x3e0b05)=>{if(!_0xc3f101)return _0x2fc421(_0x1a6a8c,_0x235554||0x191,_0x13241c,_0x3e0b05);this['completeUpgrade'](_0x4483f6,_0x5d1181,_0x3bc159,_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303);});return;}if(!this['options'][_0x269f2c(0x275)](_0x47aa1d))return _0x2fc421(_0x1a6a8c,0x191);}this[_0x269f2c(0x193)](_0x4483f6,_0x5d1181,_0x3bc159,_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303);}[_0x10fde0(0x193)](_0x4fce7d,_0x1f4d47,_0x1055fa,_0x2066bb,_0x2b225a,_0x258e9e,_0x394805){const _0x32fb4b=_0x10fde0;if(!_0x2b225a[_0x32fb4b(0x2ab)]||!_0x2b225a['writable'])return _0x2b225a[_0x32fb4b(0x2bd)]();if(_0x2b225a[_0xd63083])throw new Error(_0x32fb4b(0xf8));if(this[_0x32fb4b(0x1ea)]>_0x28a1b1)return _0x2fc421(_0x2b225a,0x1f7);const _0x57b6c3=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x32fb4b(0xff),_0x32fb4b(0x1dd),_0x32fb4b(0x139)+_0x5e55fe(_0x32fb4b(0x24f))[_0x32fb4b(0x277)](_0x1f4d47+_0x4e5ba5)[_0x32fb4b(0x118)](_0x32fb4b(0x114))],_0x3d3f3d=new this['options'][(_0x32fb4b(0x1f6))](null,void 0x0,this[_0x32fb4b(0x261)]);if(_0x1055fa['size']){const _0x4aed5a=this[_0x32fb4b(0x261)][_0x32fb4b(0x1c8)]?this[_0x32fb4b(0x261)][_0x32fb4b(0x1c8)](_0x1055fa,_0x2066bb):_0x1055fa[_0x32fb4b(0x100)]()[_0x32fb4b(0x1bc)]()[_0x32fb4b(0x21e)];_0x4aed5a&&(_0x57b6c3[_0x32fb4b(0xec)](_0x32fb4b(0x252)+_0x4aed5a),_0x3d3f3d[_0x32fb4b(0x22b)]=_0x4aed5a);}if(_0x4fce7d[_0x15081a['extensionName']]){const _0x556e4b=_0x4fce7d[_0x15081a[_0x32fb4b(0x1bb)]][_0x32fb4b(0x232)],_0x53083b=_0x31e098[_0x32fb4b(0x129)]({[_0x15081a[_0x32fb4b(0x1bb)]]:[_0x556e4b]});_0x57b6c3[_0x32fb4b(0xec)](_0x32fb4b(0x268)+_0x53083b),_0x3d3f3d['_extensions']=_0x4fce7d;}this[_0x32fb4b(0x2bf)](_0x32fb4b(0x159),_0x57b6c3,_0x2066bb),_0x2b225a['write'](_0x57b6c3[_0x32fb4b(0x18a)]('\x0d\x0a')[_0x32fb4b(0x201)]('\x0d\x0a')),_0x2b225a[_0x32fb4b(0x2a7)](_0x32fb4b(0x1a6),_0x23a2e4),_0x3d3f3d[_0x32fb4b(0x10f)](_0x2b225a,_0x258e9e,{'allowSynchronousEvents':this[_0x32fb4b(0x261)]['allowSynchronousEvents'],'maxPayload':this[_0x32fb4b(0x261)][_0x32fb4b(0x205)],'skipUTF8Validation':this['options'][_0x32fb4b(0x152)]}),this[_0x32fb4b(0x1c9)]&&(this[_0x32fb4b(0x1c9)][_0x32fb4b(0x26c)](_0x3d3f3d),_0x3d3f3d['on'](_0x32fb4b(0x22e),()=>{const _0x402f07=_0x32fb4b;this[_0x402f07(0x1c9)][_0x402f07(0x25b)](_0x3d3f3d),this[_0x402f07(0x194)]&&!this[_0x402f07(0x1c9)][_0x402f07(0xfb)]&&process[_0x402f07(0x1d7)](_0x1fb9d3,this);})),_0x394805(_0x3d3f3d,_0x2066bb);}}Te=_0x179ce9;function _0x4476e4(_0x3c09e9,_0x45d414){const _0x2ff7e3=_0x10fde0;for(const _0x4c8b80 of Object[_0x2ff7e3(0x174)](_0x45d414))_0x3c09e9['on'](_0x4c8b80,_0x45d414[_0x4c8b80]);return function(){const _0x371b74=_0x2ff7e3;for(const _0xd0354f of Object[_0x371b74(0x174)](_0x45d414))_0x3c09e9[_0x371b74(0x2a7)](_0xd0354f,_0x45d414[_0xd0354f]);};}function _0x1fb9d3(_0x546585){const _0xa1509e=_0x10fde0;_0x546585[_0xa1509e(0x1ea)]=_0x3b448b,_0x546585[_0xa1509e(0x2bf)](_0xa1509e(0x22e));}function _0x23a2e4(){const _0x65d86f=_0x10fde0;this[_0x65d86f(0x2bd)]();}function _0x2fc421(_0x4e43a2,_0x4ed3f6,_0x11fd3a,_0x3c089f){const _0x335de2=_0x10fde0;_0x11fd3a=_0x11fd3a||_0x1a04d0[_0x335de2(0x21c)][_0x4ed3f6],_0x3c089f={'Connection':_0x335de2(0x22e),'Content-Type':_0x335de2(0x2ba),'Content-Length':Buffer[_0x335de2(0x295)](_0x11fd3a),..._0x3c089f},_0x4e43a2['once'](_0x335de2(0x293),_0x4e43a2[_0x335de2(0x2bd)]),_0x4e43a2[_0x335de2(0x17a)](_0x335de2(0x23c)+_0x4ed3f6+'\x20'+_0x1a04d0['STATUS_CODES'][_0x4ed3f6]+'\x0d\x0a'+Object[_0x335de2(0x174)](_0x3c089f)[_0x335de2(0x1f1)](_0x3679f1=>_0x3679f1+':\x20'+_0x3c089f[_0x3679f1])[_0x335de2(0x201)]('\x0d\x0a')+_0x335de2(0x247)+_0x11fd3a);}function _0x5b2fb4(_0x418774,_0x4e6a99,_0x4f6f4b,_0x5e9911,_0x50365f,_0x1cd4ef){const _0x364616=_0x10fde0;if(_0x418774[_0x364616(0x1e9)](_0x364616(0x20e))){const _0xeceaf5=new Error(_0x50365f);Error[_0x364616(0x14a)](_0xeceaf5,_0x5b2fb4),_0x418774[_0x364616(0x2bf)](_0x364616(0x20e),_0xeceaf5,_0x4f6f4b,_0x4e6a99);}else _0x2fc421(_0x4f6f4b,_0x5e9911,_0x50365f,_0x1cd4ef);}return Te;}Ft();var jt=Object[_0x421888(0x146)],Wt=(_0x168a5d,_0x2a3648,_0x4b6004,_0x3f0746)=>{const _0x349587=_0x421888;for(var _0x59547e=_0x3f0746>0x1?void 0x0:_0x3f0746?jt(_0x2a3648,_0x4b6004):_0x2a3648,_0x30912d=_0x168a5d[_0x349587(0x1ed)]-0x1,_0xe7c4f2;_0x30912d>=0x0;_0x30912d--)(_0xe7c4f2=_0x168a5d[_0x30912d])&&(_0x59547e=_0xe7c4f2(_0x59547e)||_0x59547e);return _0x59547e;},qt=(_0x18bff4,_0x1d560f)=>(_0x125ce9,_0x1ff630)=>_0x1d560f(_0x125ce9,_0x1ff630,_0x18bff4);let ke=class extends A['Disposable']{constructor(_0x30d7d5){const _0x5407ab=_0x421888;super(),this[_0x5407ab(0xf7)]=_0x30d7d5;}[_0x421888(0x23b)](_0x466f2f){const _0x639534=_0x421888;var _0x586b9e;const _0x682dae=(_0x586b9e=this[_0x639534(0xf7)][_0x639534(0x175)](fe))==null?void 0x0:_0x586b9e['customHeaders'];try{const _0x1853a7=new $t(_0x466f2f,{'headers':{..._0x682dae}}),_0x11cdc2=new A[(_0x639534(0x237))]();return{'URL':_0x466f2f,'close':(_0x3110ea,_0x5a04c2)=>{const _0x553710=_0x639534;_0x1853a7[_0x553710(0x22e)](_0x3110ea,_0x5a04c2),_0x11cdc2[_0x553710(0x10e)]();},'send':_0x2b70da=>{const _0x1036ad=_0x639534;_0x1853a7[_0x1036ad(0xf6)](_0x2b70da);},'open$':new V[(_0x639534(0x29e))](_0x4c4455=>{const _0x45112c=_0x639534,_0x118174=_0x114c9d=>_0x4c4455[_0x45112c(0x1bc)](_0x114c9d);_0x1853a7[_0x45112c(0x191)](_0x45112c(0x2a4),_0x118174),_0x11cdc2['add'](A[_0x45112c(0x2c4)](()=>_0x1853a7[_0x45112c(0x1b6)](_0x45112c(0x2a4),_0x118174)));})[_0x639534(0x2a9)](V['share']()),'close$':new V['Observable'](_0x47c5da=>{const _0x4fbba5=_0x639534,_0x3295a3=_0x4a6765=>_0x47c5da[_0x4fbba5(0x1bc)](_0x4a6765);_0x1853a7['addEventListener'](_0x4fbba5(0x22e),_0x3295a3),_0x11cdc2[_0x4fbba5(0x26c)](A[_0x4fbba5(0x2c4)](()=>_0x1853a7[_0x4fbba5(0x1b6)](_0x4fbba5(0x22e),_0x3295a3)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]()),'error$':new V['Observable'](_0x19ec99=>{const _0x35a01b=_0x639534,_0x4ecc13=_0x4fbac7=>_0x19ec99['next'](_0x4fbac7);_0x1853a7['addEventListener'](_0x35a01b(0x1a6),_0x4ecc13),_0x11cdc2[_0x35a01b(0x26c)](A['toDisposable'](()=>_0x1853a7[_0x35a01b(0x1b6)]('error',_0x4ecc13)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]()),'message$':new V[(_0x639534(0x29e))](_0x4eadee=>{const _0x20cf09=_0x639534,_0x3a4573=_0x58a44b=>_0x4eadee[_0x20cf09(0x1bc)](_0x58a44b);_0x1853a7[_0x20cf09(0x191)](_0x20cf09(0x16a),_0x3a4573),_0x11cdc2[_0x20cf09(0x26c)](A['toDisposable'](()=>_0x1853a7[_0x20cf09(0x1b6)](_0x20cf09(0x16a),_0x3a4573)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]())};}catch(_0x50cd3d){return console['error'](_0x50cd3d),null;}}};ke=Wt([qt(0x0,A[_0x421888(0x160)])],ke);var Gt=Object[_0x421888(0x16f)],Vt=Object[_0x421888(0x146)],Ht=(_0x1ff248,_0x347d12,_0x4d9424)=>_0x347d12 in _0x1ff248?Gt(_0x1ff248,_0x347d12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d9424}):_0x1ff248[_0x347d12]=_0x4d9424,zt=(_0x5e30ba,_0x1a4031,_0x48af01,_0x522a30)=>{const _0x52084e=_0x421888;for(var _0x30a741=_0x522a30>0x1?void 0x0:_0x522a30?Vt(_0x1a4031,_0x48af01):_0x1a4031,_0x2c0b56=_0x5e30ba[_0x52084e(0x1ed)]-0x1,_0x34b683;_0x2c0b56>=0x0;_0x2c0b56--)(_0x34b683=_0x5e30ba[_0x2c0b56])&&(_0x30a741=_0x34b683(_0x30a741)||_0x30a741);return _0x30a741;},Ne=(_0x36293b,_0x5c78d6)=>(_0x4d0f5e,_0x2b425a)=>_0x5c78d6(_0x4d0f5e,_0x2b425a,_0x36293b),Yt=(_0x5ab2c2,_0x50bf29,_0x918ab7)=>Ht(_0x5ab2c2,_0x50bf29+'',_0x918ab7);exports[_0x421888(0x22d)]=class extends A[_0x421888(0x2b9)]{constructor(_0xec995c=Ct,_0x3a1492,_0x4645f1,_0x5ce9e3){const _0x29b899=_0x421888;_0xec995c[_0x29b899(0x24e)]||_0x3a1492['warn'](_0x29b899(0x203)),super(),this[_0x29b899(0xf7)]=_0x4645f1,this[_0x29b899(0x253)]=_0x5ce9e3,this[_0x29b899(0xf7)][_0x29b899(0x149)](fe,_0xec995c);}[_0x421888(0x1df)](){const _0x1069a3=_0x421888;this[_0x1069a3(0x185)]();}[_0x421888(0x185)](){const _0x1949a4=_0x421888;A[_0x1949a4(0x186)](this[_0x1949a4(0x253)],[[it[_0x1949a4(0x19b)],{'useClass':ke}]]);}},Yt(exports[_0x421888(0x22d)],_0x421888(0x20d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x421888(0x22d)]=zt([A[_0x421888(0x136)](st[_0x421888(0x200)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x421888(0xf2)](A[_0x421888(0x260)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0xc3ec4b,_0x52ffe3,_0x110242,_0x370d2f)=>{const _0x462520=_0x421888;for(var _0x22518c=_0x370d2f>0x1?void 0x0:_0x370d2f?Kt(_0x52ffe3,_0x110242):_0x52ffe3,_0x2616f7=_0xc3ec4b[_0x462520(0x1ed)]-0x1,_0x4f8066;_0x2616f7>=0x0;_0x2616f7--)(_0x4f8066=_0xc3ec4b[_0x2616f7])&&(_0x22518c=_0x4f8066(_0x22518c)||_0x22518c);return _0x22518c;},ne=(_0x51cf76,_0xea9e4e)=>(_0x23dc6c,_0x394b26)=>_0xea9e4e(_0x23dc6c,_0x394b26,_0x51cf76);exports[_0x421888(0x246)]=class extends st[_0x421888(0x11c)]{constructor(_0x1c1324,_0xbec32c,_0x2cafa6,_0x4472eb,_0x53d183){const _0x24f136=_0x421888;super(_0x1c1324,_0xbec32c,_0x2cafa6,_0x4472eb,_0x53d183);const _0x20493b=this[_0x24f136(0xf7)]['getConfig'](fe);this[_0x24f136(0x23f)]['registerHTTPInterceptor']({'interceptor':(_0x142c0a,_0x18a554)=>{const _0x46358b=_0x24f136;var _0xee86f1;const _0x3c3046=_0x142c0a[_0x46358b(0x159)];return(_0xee86f1=_0x20493b==null?void 0x0:_0x20493b[_0x46358b(0x24e)])!=null&&_0xee86f1['cookie']&&_0x3c3046['set'](_0x46358b(0x249),_0x20493b[_0x46358b(0x24e)][_0x46358b(0xfa)]),_0x18a554(_0x142c0a);}});}async[_0x421888(0x23b)](_0x37d0f4){const _0x25e1dd=_0x421888;return this[_0x25e1dd(0x1b7)](_0x37d0f4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x421888(0xf2)](A[_0x421888(0x260)])),ne(0x1,A['Inject'](it[_0x421888(0x1f3)])),ne(0x2,A[_0x421888(0x160)]),ne(0x3,A[_0x421888(0x171)]),ne(0x4,Ot[_0x421888(0x168)])],exports['NodeCollaborationSocketService']),exports[_0x421888(0x1b8)]=fe;
|
|
1
|
+
'use strict';const _0x421112=_0x4e5b;(function(_0x386d96,_0xe674db){const _0xfe141e=_0x4e5b,_0x315142=_0x386d96();while(!![]){try{const _0x310394=parseInt(_0xfe141e(0x1a4))/0x1+-parseInt(_0xfe141e(0x19b))/0x2+parseInt(_0xfe141e(0x235))/0x3*(-parseInt(_0xfe141e(0x2ff))/0x4)+-parseInt(_0xfe141e(0x307))/0x5+-parseInt(_0xfe141e(0x31f))/0x6+-parseInt(_0xfe141e(0x17f))/0x7+parseInt(_0xfe141e(0x27f))/0x8;if(_0x310394===_0xe674db)break;else _0x315142['push'](_0x315142['shift']());}catch(_0x5465e4){_0x315142['push'](_0x315142['shift']());}}}(_0x134f,0x57d2b));function _0x134f(){const _0x3a0786=['_registerDependencies','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','enqueue','captureStackTrace','charCodeAt','client_max_window_bits','prototype','handleUpgrade','invalid\x20opcode\x20','Invalid\x20WebSocket\x20frame:\x20','haveLength','unshift','Sec-WebSocket-Protocol:\x20','Unexpected\x20server\x20response:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','length','apply','File','addEventListener','Invalid\x20Upgrade\x20header','concat','params','headers','message','resume','blob','emitClose','decompress','_closeMessage','_mask','readUInt32BE','threshold','authorization','port','sec-websocket-key','clients','createDeflateRaw','pow','defineProperty','_paused','path','_closeTimer','address','\x0d\x0a\x0d\x0a','handleProtocols','dequeue','env','buffer','digest','text/plain','error','getOwnPropertyDescriptor','write','isArray','_masked','client','text/html','shouldHandle','_readyState','HTTP/1.1\x20101\x20Switching\x20Protocols','setHeader','listening','redirect','isIP','registerHTTPInterceptor','bufferedAmount','_allowSynchronousEvents','pause','WS_ERR_EXPECTED_FIN','allocUnsafe','open','removeAllListeners','objectMode','onclose','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','ILogService','ping','keys','serverMaxWindowBits','Opening\x20handshake\x20has\x20timed\x20out','connect','socketPath','concurrency','delete','Upgrade','Observable','dispatch','serverNoContextTakeover','kRun','createSocket','toStringTag','_state','Plugin','number','removeEventListener','FIN\x20must\x20be\x20set','verifyClient','Unexpected\x20end\x20of\x20input','push','The\x20URL\x20contains\x20a\x20fragment\x20identifier','search','options','unexpected-response','_opcode','kError','Invalid\x20URL:\x20','auth','13,\x208','origin','_payloadLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_readableState','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','values','registerDependencies','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','kMessage','_autoPong','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','statusCode','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unexpected\x20character\x20at\x20index\x20','Invalid\x20value\x20for\x20parameter\x20\x22','pathname','_fragmented','_compressed','kListener','readUInt16BE','accept','replace','pong','extensionName','_bufferedBytes','completeUpgrade','hasOwnProperty','send','4746qpORpx','_redirects','species','unmask','_compress','invalid\x20UTF-8\x20sequence','opcode','pending','share','_injector','fin','wss:','construct','cookie','location','WS_ERR_INVALID_UTF8','server','join','setTimeout','kAborted','Sec-WebSocket-Accept:\x20','format','drain','__esModule','server_max_window_bits','slice','handshakeTimeout','WS_NO_BUFFER_UTIL','close','string','servername','_configService','DisposableCollection','UniverCollaborationClientPlugin','frame','The\x20server\x20is\x20not\x20running','writable','timeout','onerror','wsClientError','permessage-deflate','code','get','_maxPayload','kWasClean','destroy','http:','CLOSED','invalid\x20opcode\x200','_server','setNoDelay','uncork','readable','includes','finished','_doCreateSocket','callback','https:','getData','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','map','abort','type','_extensions','onmessage','binaryType','createInflateRaw','_deflate','_errorEmitted','Unknown\x20parameter\x20\x22','Maximum\x20redirects\x20exceeded','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','invalid\x20payload\x20length\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','19591880JfogLa','perMessageDeflate','defaultPort','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','emit','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','total-length','target','encrypted','pluginName','cleanup','concurrencyLimit','setConfig','Disposable','_write','listen','offer','CLOSING','next','clientNoContextTakeover','\x22\x20subprotocol\x20is\x20duplicated','autoPong','_req','data','flush','setSocket','buffers','from','controlMessage','_errored','Injector','_bufferedAmount','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','UniverCollaborationClientNodePlugin','toLowerCase','listenerCount','isPaused','wasClean','WS_ERR_EXPECTED_MASK','_read','onopen','_binaryType','href','WS_ERR_INVALID_CLOSE_CODE','_destroy','toDisposable','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','status-code','socket','collaboration-client-node.config','authorized','_fragments','Cookie','zlibInflateOptions','kData','Connection:\x20Upgrade','protocol','warn','_totalPayloadLength','readyState','backlog','_maskBuffer','Sec-WebSocket-Extensions:\x20','consume','createServer','shift','getInfo','_protocol','customHeaders','createConnection','_url','Origin','writeHead','upgrade','request','add','kType','skipUTF8Validation','server_no_context_takeover','Server\x20sent\x20an\x20invalid\x20subprotocol','hostname','jobs','update','isView','The\x20URL\x27s\x20pathname\x20is\x20empty','dataMessage','_receiver','object','finishRequest','startLoop','errorEmitted','_options','split','_final','websocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','startsWith','listeners','password','exports','_no_context_takeover','_sender','Z_DEFAULT_WINDOWBITS','constructor','readOnly','WS_ERR_UNEXPECTED_RSV_2_3','_skipUTF8Validation','ws:','default','STATUS_CODES','create','Sec-WebSocket-Extensions','getPayloadLength64','_threshold','host','\x22:\x20','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','writeUInt16BE','getBlobData','bind','Sec-WebSocket-Protocol','CONNECTING','acceptAsServer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-version','_httpService','end','Upgrade:\x20websocket','1180UzzFTj','normalizeParams','kCode','_originalHostOrSocketPath','Invalid\x20HTTP\x20method','followRedirects','Inject','maskBuffer','3590185HruSjX','handleEvent','connection','compress','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_inflate','catch','sec-websocket-origin','ws+unix:','removeListener','_queue','response','noServer','sec-websocket-accept','allowSynchronousEvents','_max_window_bits','pipe','_socket','_shouldEmitClose','freeze','WS_ERR_UNEXPECTED_RSV_1','finish','indexOf','_buffers','1213404XWXQxE','WebSocket\x20is\x20not\x20open:\x20readyState\x20','function','_firstFragment','OPEN','byteOffset','arraybuffer','Server\x20sent\x20no\x20subprotocol','maxPayload','once','set','RSV1\x20must\x20be\x20clear','_originalIpc','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','read','MASK\x20must\x20be\x20set','entries','nodebuffer','url','The\x20\x22','_fin','clientMaxWindowBits','dispose','clientTracking','binary','kIsForOnEventAttribute','endEmitted','client_no_context_takeover','sendFrame','_generateMask','base64','mask','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','alloc','Parameter\x20\x22','createError','username','IConfigService','acceptAsClient','generateMask','_messageLength','1400994zlVIeN','cork','getPayloadLength16','onStarting','terminate','getMask','_closeCode','reason','Invalid\x20Sec-WebSocket-Extensions\x20header','Blob','nextTick','isInteger','_isServer','WS_ERR_INVALID_OPCODE','conclude','GET','extensions','call','test','isValidUTF8','destroyed','_closeFrameReceived','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeFrameSent','arrayBuffer','_loop','Z_SYNC_FLUSH','sec-websocket-extensions','1114748aEQjoo','protocolVersion','has','CollaborationSocketService','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','forEach','toString','_writableState','size','55215bvjzTl','Max\x20payload\x20size\x20exceeded','byteLength','sec-websocket-protocol','_removeListeners','parse','Module','NodeCollaborationSocketService'];_0x134f=function(){return _0x3a0786;};return _0x134f();}Object[_0x421112(0x1d3)](exports,Symbol['toStringTag'],{'value':_0x421112(0x1aa)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x421112(0x2b0),Ct={'customHeaders':{}};function Tt(_0x5a69a8){const _0x4b1e14=_0x421112;return _0x5a69a8&&_0x5a69a8[_0x4b1e14(0x24c)]&&Object[_0x4b1e14(0x1b2)][_0x4b1e14(0x233)]['call'](_0x5a69a8,_0x4b1e14(0x2eb))?_0x5a69a8['default']:_0x5a69a8;}function at(_0x2bae55){const _0x104bb3=_0x421112;if(Object[_0x104bb3(0x1b2)][_0x104bb3(0x233)][_0x104bb3(0x190)](_0x2bae55,_0x104bb3(0x24c)))return _0x2bae55;var _0x466a5c=_0x2bae55[_0x104bb3(0x2eb)];if(typeof _0x466a5c==_0x104bb3(0x321)){var _0x31db00=function _0x451770(){const _0x36a97a=_0x104bb3;var _0x1610db=!0x1;try{_0x1610db=this instanceof _0x451770;}catch{}return _0x1610db?Reflect[_0x36a97a(0x241)](_0x466a5c,arguments,this[_0x36a97a(0x2e6)]):_0x466a5c[_0x36a97a(0x1bd)](this,arguments);};_0x31db00[_0x104bb3(0x1b2)]=_0x466a5c['prototype'];}else _0x31db00={};return Object[_0x104bb3(0x1d3)](_0x31db00,_0x104bb3(0x24c),{'value':!0x0}),Object[_0x104bb3(0x1fa)](_0x2bae55)[_0x104bb3(0x1a0)](function(_0x29f5de){const _0x39dbfc=_0x104bb3;var _0x34dd74=Object[_0x39dbfc(0x1e0)](_0x2bae55,_0x29f5de);Object['defineProperty'](_0x31db00,_0x29f5de,_0x34dd74[_0x39dbfc(0x25f)]?_0x34dd74:{'enumerable':!0x0,'get':function(){return _0x2bae55[_0x29f5de];}});}),_0x31db00;}var se={'exports':{}},ge,Ge;function H(){const _0x52532f=_0x421112;if(Ge)return ge;Ge=0x1;const _0x1c9be0=[_0x52532f(0x330),'arraybuffer','fragments'],_0x49eb68=typeof Blob<'u';return _0x49eb68&&_0x1c9be0['push'](_0x52532f(0x1c6)),ge={'BINARY_TYPES':_0x1c9be0,'EMPTY_BUFFER':Buffer[_0x52532f(0x177)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x49eb68,'kForOnEventAttribute':Symbol(_0x52532f(0x16f)),'kListener':Symbol(_0x52532f(0x22b)),'kStatusCode':Symbol(_0x52532f(0x2ae)),'kWebSocket':Symbol(_0x52532f(0x2dd)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x421112(0x31a)](Object[_0x421112(0x1d3)]({'__proto__':null,'default':Nt},Symbol[_0x421112(0x207)],{'value':_0x421112(0x1aa)})),Lt=at(kt);var Ve;function ce(){const _0xe31bbb=_0x421112;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x65beb9}=H(),_0x5a5682=Buffer[Symbol[_0xe31bbb(0x237)]];function _0x5a581e(_0xae7537,_0x4530b4){const _0x249ac2=_0xe31bbb;if(_0xae7537[_0x249ac2(0x1bc)]===0x0)return _0x65beb9;if(_0xae7537[_0x249ac2(0x1bc)]===0x1)return _0xae7537[0x0];const _0x5ba8ab=Buffer[_0x249ac2(0x1f2)](_0x4530b4);let _0x54bc3f=0x0;for(let _0x38b003=0x0;_0x38b003<_0xae7537[_0x249ac2(0x1bc)];_0x38b003++){const _0x553410=_0xae7537[_0x38b003];_0x5ba8ab[_0x249ac2(0x329)](_0x553410,_0x54bc3f),_0x54bc3f+=_0x553410['length'];}return _0x54bc3f<_0x4530b4?new _0x5a5682(_0x5ba8ab[_0x249ac2(0x1dc)],_0x5ba8ab[_0x249ac2(0x324)],_0x54bc3f):_0x5ba8ab;}function _0x29a913(_0x2280e1,_0x5b6423,_0x330c74,_0x3e2c27,_0x362952){for(let _0x4d290a=0x0;_0x4d290a<_0x362952;_0x4d290a++)_0x330c74[_0x3e2c27+_0x4d290a]=_0x2280e1[_0x4d290a]^_0x5b6423[_0x4d290a&0x3];}function _0x722b2d(_0x5c059a,_0x36b3bd){for(let _0x538f79=0x0;_0x538f79<_0x5c059a['length'];_0x538f79++)_0x5c059a[_0x538f79]^=_0x36b3bd[_0x538f79&0x3];}function _0x5d5e11(_0x810061){const _0x2826d5=_0xe31bbb;return _0x810061['length']===_0x810061['buffer'][_0x2826d5(0x1a6)]?_0x810061[_0x2826d5(0x1dc)]:_0x810061[_0x2826d5(0x1dc)][_0x2826d5(0x24e)](_0x810061[_0x2826d5(0x324)],_0x810061[_0x2826d5(0x324)]+_0x810061[_0x2826d5(0x1bc)]);}function _0x14e6e5(_0x151257){const _0x31bc4f=_0xe31bbb;if(_0x14e6e5[_0x31bc4f(0x2e7)]=!0x0,Buffer['isBuffer'](_0x151257))return _0x151257;let _0x490067;return _0x151257 instanceof ArrayBuffer?_0x490067=new _0x5a5682(_0x151257):ArrayBuffer[_0x31bc4f(0x2d2)](_0x151257)?_0x490067=new _0x5a5682(_0x151257['buffer'],_0x151257[_0x31bc4f(0x324)],_0x151257['byteLength']):(_0x490067=Buffer[_0x31bc4f(0x29a)](_0x151257),_0x14e6e5[_0x31bc4f(0x2e7)]=!0x1),_0x490067;}if(se[_0xe31bbb(0x2e2)]={'concat':_0x5a581e,'mask':_0x29a913,'toArrayBuffer':_0x5d5e11,'toBuffer':_0x14e6e5,'unmask':_0x722b2d},!process[_0xe31bbb(0x1db)][_0xe31bbb(0x250)])try{const _0x44a923=Lt;se[_0xe31bbb(0x2e2)][_0xe31bbb(0x175)]=function(_0x707e8e,_0x5183a3,_0x1dca00,_0x290955,_0xe6ad3b){const _0x25738a=_0xe31bbb;_0xe6ad3b<0x30?_0x29a913(_0x707e8e,_0x5183a3,_0x1dca00,_0x290955,_0xe6ad3b):_0x44a923[_0x25738a(0x175)](_0x707e8e,_0x5183a3,_0x1dca00,_0x290955,_0xe6ad3b);},se[_0xe31bbb(0x2e2)][_0xe31bbb(0x238)]=function(_0x15af23,_0x3d016b){const _0x1ce071=_0xe31bbb;_0x15af23[_0x1ce071(0x1bc)]<0x20?_0x722b2d(_0x15af23,_0x3d016b):_0x44a923[_0x1ce071(0x238)](_0x15af23,_0x3d016b);};}catch{}return se[_0xe31bbb(0x2e2)];}var ye,He;function Pt(){const _0x233e36=_0x421112;if(He)return ye;He=0x1;const _0x3c7c36=Symbol('kDone'),_0x1bda26=Symbol(_0x233e36(0x205));class _0x14b63f{constructor(_0xf3b8a1){const _0x4d3ac5=_0x233e36;this[_0x3c7c36]=()=>{const _0xc83894=_0x4e5b;this[_0xc83894(0x23c)]--,this[_0x1bda26]();},this[_0x4d3ac5(0x1ff)]=_0xf3b8a1||0x1/0x0,this['jobs']=[],this[_0x4d3ac5(0x23c)]=0x0;}[_0x233e36(0x2ca)](_0x44f3ee){const _0x21b5c3=_0x233e36;this['jobs'][_0x21b5c3(0x20f)](_0x44f3ee),this[_0x1bda26]();}[_0x1bda26](){const _0x80e245=_0x233e36;if(this['pending']!==this[_0x80e245(0x1ff)]&&this['jobs']['length']){const _0xaad1c1=this[_0x80e245(0x2d0)][_0x80e245(0x2c0)]();this['pending']++,_0xaad1c1(this[_0x3c7c36]);}}}return ye=_0x14b63f,ye;}var ve,ze;function he(){const _0x539128=_0x421112;if(ze)return ve;ze=0x1;const _0x44a808=bt,_0x4515c1=ce(),_0x53b3b6=Pt(),{kStatusCode:_0x2875a4}=H(),_0x33a08b=Buffer[Symbol[_0x539128(0x237)]],_0x8b3825=Buffer[_0x539128(0x29a)]([0x0,0x0,0xff,0xff]),_0x36a130=Symbol(_0x539128(0x25d)),_0x3fb9b4=Symbol(_0x539128(0x285)),_0x434789=Symbol(_0x539128(0x26d)),_0x1e2bd7=Symbol(_0x539128(0x299)),_0x207f7b=Symbol('error');let _0x1e6f61;class _0x56665a{constructor(_0x5c0415,_0x250eec,_0x21fa48){const _0x5c2f20=_0x539128;if(this[_0x5c2f20(0x260)]=_0x21fa48|0x0,this[_0x5c2f20(0x2da)]=_0x5c0415||{},this[_0x5c2f20(0x2f0)]=this[_0x5c2f20(0x2da)][_0x5c2f20(0x1cc)]!==void 0x0?this[_0x5c2f20(0x2da)]['threshold']:0x400,this[_0x5c2f20(0x18b)]=!!_0x250eec,this[_0x5c2f20(0x278)]=null,this[_0x5c2f20(0x30c)]=null,this[_0x5c2f20(0x1c2)]=null,!_0x1e6f61){const _0x474de2=this[_0x5c2f20(0x2da)][_0x5c2f20(0x28a)]!==void 0x0?this[_0x5c2f20(0x2da)][_0x5c2f20(0x28a)]:0xa;_0x1e6f61=new _0x53b3b6(_0x474de2);}}static get[_0x539128(0x230)](){const _0x5e4b74=_0x539128;return _0x5e4b74(0x25d);}[_0x539128(0x28f)](){const _0x23e8ee=_0x539128,_0x4b4ac5={};return this[_0x23e8ee(0x2da)]['serverNoContextTakeover']&&(_0x4b4ac5[_0x23e8ee(0x2cd)]=!0x0),this[_0x23e8ee(0x2da)][_0x23e8ee(0x292)]&&(_0x4b4ac5[_0x23e8ee(0x171)]=!0x0),this[_0x23e8ee(0x2da)][_0x23e8ee(0x1fb)]&&(_0x4b4ac5[_0x23e8ee(0x24d)]=this[_0x23e8ee(0x2da)][_0x23e8ee(0x1fb)]),this['_options']['clientMaxWindowBits']?_0x4b4ac5[_0x23e8ee(0x1b1)]=this[_0x23e8ee(0x2da)][_0x23e8ee(0x334)]:this['_options'][_0x23e8ee(0x334)]==null&&(_0x4b4ac5[_0x23e8ee(0x1b1)]=!0x0),_0x4b4ac5;}[_0x539128(0x22d)](_0x302df1){const _0x5e542b=_0x539128;return _0x302df1=this['normalizeParams'](_0x302df1),this[_0x5e542b(0x1c2)]=this[_0x5e542b(0x18b)]?this[_0x5e542b(0x2f9)](_0x302df1):this[_0x5e542b(0x17c)](_0x302df1),this[_0x5e542b(0x1c2)];}['cleanup'](){const _0x43f9fa=_0x539128;if(this['_inflate']&&(this[_0x43f9fa(0x30c)][_0x43f9fa(0x251)](),this['_inflate']=null),this[_0x43f9fa(0x278)]){const _0x5997d0=this[_0x43f9fa(0x278)][_0x434789];this[_0x43f9fa(0x278)]['close'](),this[_0x43f9fa(0x278)]=null,_0x5997d0&&_0x5997d0(new Error(_0x43f9fa(0x2ad)));}}['acceptAsServer'](_0x37b48c){const _0x5a4274=_0x539128,_0x521804=this['_options'],_0x3947fe=_0x37b48c['find'](_0x5b7457=>!(_0x521804[_0x5a4274(0x204)]===!0x1&&_0x5b7457[_0x5a4274(0x2cd)]||_0x5b7457['server_max_window_bits']&&(_0x521804[_0x5a4274(0x1fb)]===!0x1||typeof _0x521804[_0x5a4274(0x1fb)]==_0x5a4274(0x20a)&&_0x521804['serverMaxWindowBits']>_0x5b7457['server_max_window_bits'])||typeof _0x521804[_0x5a4274(0x334)]==_0x5a4274(0x20a)&&!_0x5b7457['client_max_window_bits']));if(!_0x3947fe)throw new Error(_0x5a4274(0x32c));return _0x521804[_0x5a4274(0x204)]&&(_0x3947fe['server_no_context_takeover']=!0x0),_0x521804['clientNoContextTakeover']&&(_0x3947fe[_0x5a4274(0x171)]=!0x0),typeof _0x521804[_0x5a4274(0x1fb)]==_0x5a4274(0x20a)&&(_0x3947fe[_0x5a4274(0x24d)]=_0x521804['serverMaxWindowBits']),typeof _0x521804[_0x5a4274(0x334)]==_0x5a4274(0x20a)?_0x3947fe[_0x5a4274(0x1b1)]=_0x521804[_0x5a4274(0x334)]:(_0x3947fe[_0x5a4274(0x1b1)]===!0x0||_0x521804[_0x5a4274(0x334)]===!0x1)&&delete _0x3947fe[_0x5a4274(0x1b1)],_0x3947fe;}[_0x539128(0x17c)](_0xe2db25){const _0x5558d1=_0x539128,_0x2ea9b2=_0xe2db25[0x0];if(this[_0x5558d1(0x2da)][_0x5558d1(0x292)]===!0x1&&_0x2ea9b2['client_no_context_takeover'])throw new Error(_0x5558d1(0x21b));if(!_0x2ea9b2[_0x5558d1(0x1b1)])typeof this[_0x5558d1(0x2da)]['clientMaxWindowBits']=='number'&&(_0x2ea9b2[_0x5558d1(0x1b1)]=this[_0x5558d1(0x2da)]['clientMaxWindowBits']);else{if(this[_0x5558d1(0x2da)][_0x5558d1(0x334)]===!0x1||typeof this[_0x5558d1(0x2da)]['clientMaxWindowBits']==_0x5558d1(0x20a)&&_0x2ea9b2['client_max_window_bits']>this[_0x5558d1(0x2da)]['clientMaxWindowBits'])throw new Error(_0x5558d1(0x21d));}return _0x2ea9b2;}[_0x539128(0x300)](_0x267731){const _0x292490=_0x539128;return _0x267731[_0x292490(0x1a0)](_0x282f05=>{const _0x28d580=_0x292490;Object[_0x28d580(0x1fa)](_0x282f05)[_0x28d580(0x1a0)](_0x5027d4=>{const _0x464ec7=_0x28d580;let _0x45a72b=_0x282f05[_0x5027d4];if(_0x45a72b[_0x464ec7(0x1bc)]>0x1)throw new Error(_0x464ec7(0x178)+_0x5027d4+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x45a72b=_0x45a72b[0x0],_0x5027d4===_0x464ec7(0x1b1)){if(_0x45a72b!==!0x0){const _0xcbe76f=+_0x45a72b;if(!Number[_0x464ec7(0x18a)](_0xcbe76f)||_0xcbe76f<0x8||_0xcbe76f>0xf)throw new TypeError(_0x464ec7(0x227)+_0x5027d4+_0x464ec7(0x2f2)+_0x45a72b);_0x45a72b=_0xcbe76f;}else{if(!this[_0x464ec7(0x18b)])throw new TypeError(_0x464ec7(0x227)+_0x5027d4+_0x464ec7(0x2f2)+_0x45a72b);}}else{if(_0x5027d4===_0x464ec7(0x24d)){const _0x419a4a=+_0x45a72b;if(!Number[_0x464ec7(0x18a)](_0x419a4a)||_0x419a4a<0x8||_0x419a4a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5027d4+_0x464ec7(0x2f2)+_0x45a72b);_0x45a72b=_0x419a4a;}else{if(_0x5027d4===_0x464ec7(0x171)||_0x5027d4==='server_no_context_takeover'){if(_0x45a72b!==!0x0)throw new TypeError(_0x464ec7(0x227)+_0x5027d4+_0x464ec7(0x2f2)+_0x45a72b);}else throw new Error(_0x464ec7(0x27a)+_0x5027d4+'\x22');}}_0x282f05[_0x5027d4]=_0x45a72b;});}),_0x267731;}[_0x539128(0x1c8)](_0x5af55a,_0x55d626,_0x24105e){const _0x2b2d71=_0x539128;_0x1e6f61[_0x2b2d71(0x2ca)](_0x5c2c45=>{this['_decompress'](_0x5af55a,_0x55d626,(_0x33e137,_0x338593)=>{_0x5c2c45(),_0x24105e(_0x33e137,_0x338593);});});}[_0x539128(0x30a)](_0x280945,_0x5ae943,_0x476df1){_0x1e6f61['add'](_0x980283=>{const _0xd496b=_0x4e5b;this[_0xd496b(0x239)](_0x280945,_0x5ae943,(_0x303036,_0x903fc6)=>{_0x980283(),_0x476df1(_0x303036,_0x903fc6);});});}['_decompress'](_0x7f83dd,_0x3abeca,_0x507164){const _0x479da3=_0x539128,_0x265f36=this['_isServer']?_0x479da3(0x1e4):'server';if(!this[_0x479da3(0x30c)]){const _0x202837=_0x265f36+_0x479da3(0x316),_0x348ef8=typeof this[_0x479da3(0x1c2)][_0x202837]!=_0x479da3(0x20a)?_0x44a808[_0x479da3(0x2e5)]:this[_0x479da3(0x1c2)][_0x202837];this[_0x479da3(0x30c)]=_0x44a808[_0x479da3(0x277)]({...this[_0x479da3(0x2da)][_0x479da3(0x2b4)],'windowBits':_0x348ef8}),this[_0x479da3(0x30c)][_0x36a130]=this,this[_0x479da3(0x30c)][_0x3fb9b4]=0x0,this[_0x479da3(0x30c)][_0x1e2bd7]=[],this['_inflate']['on'](_0x479da3(0x1df),_0x3979dc),this['_inflate']['on'](_0x479da3(0x296),_0x3b4b52);}this[_0x479da3(0x30c)][_0x434789]=_0x507164,this['_inflate'][_0x479da3(0x1e1)](_0x7f83dd),_0x3abeca&&this[_0x479da3(0x30c)][_0x479da3(0x1e1)](_0x8b3825),this[_0x479da3(0x30c)][_0x479da3(0x297)](()=>{const _0x37825b=_0x479da3,_0x52c0ee=this['_inflate'][_0x207f7b];if(_0x52c0ee){this[_0x37825b(0x30c)]['close'](),this[_0x37825b(0x30c)]=null,_0x507164(_0x52c0ee);return;}const _0x5496f7=_0x4515c1['concat'](this[_0x37825b(0x30c)][_0x1e2bd7],this[_0x37825b(0x30c)][_0x3fb9b4]);this['_inflate'][_0x37825b(0x21c)]['endEmitted']?(this[_0x37825b(0x30c)]['close'](),this[_0x37825b(0x30c)]=null):(this[_0x37825b(0x30c)][_0x3fb9b4]=0x0,this[_0x37825b(0x30c)][_0x1e2bd7]=[],_0x3abeca&&this[_0x37825b(0x1c2)][_0x265f36+_0x37825b(0x2e3)]&&this[_0x37825b(0x30c)]['reset']()),_0x507164(null,_0x5496f7);});}[_0x539128(0x239)](_0x414788,_0x304757,_0x3f5e20){const _0x309b5c=_0x539128,_0x9c3ba=this['_isServer']?_0x309b5c(0x245):_0x309b5c(0x1e4);if(!this[_0x309b5c(0x278)]){const _0x1fce57=_0x9c3ba+'_max_window_bits',_0x45744d=typeof this[_0x309b5c(0x1c2)][_0x1fce57]!=_0x309b5c(0x20a)?_0x44a808[_0x309b5c(0x2e5)]:this['params'][_0x1fce57];this[_0x309b5c(0x278)]=_0x44a808[_0x309b5c(0x1d1)]({...this[_0x309b5c(0x2da)]['zlibDeflateOptions'],'windowBits':_0x45744d}),this['_deflate'][_0x3fb9b4]=0x0,this[_0x309b5c(0x278)][_0x1e2bd7]=[],this[_0x309b5c(0x278)]['on'](_0x309b5c(0x296),_0x68dc02);}this[_0x309b5c(0x278)][_0x434789]=_0x3f5e20,this[_0x309b5c(0x278)][_0x309b5c(0x1e1)](_0x414788),this[_0x309b5c(0x278)][_0x309b5c(0x297)](_0x44a808[_0x309b5c(0x199)],()=>{const _0x2400b9=_0x309b5c;if(!this[_0x2400b9(0x278)])return;let _0x117895=_0x4515c1[_0x2400b9(0x1c1)](this[_0x2400b9(0x278)][_0x1e2bd7],this['_deflate'][_0x3fb9b4]);_0x304757&&(_0x117895=new _0x33a08b(_0x117895[_0x2400b9(0x1dc)],_0x117895['byteOffset'],_0x117895[_0x2400b9(0x1bc)]-0x4)),this[_0x2400b9(0x278)][_0x434789]=null,this[_0x2400b9(0x278)][_0x3fb9b4]=0x0,this[_0x2400b9(0x278)][_0x1e2bd7]=[],_0x304757&&this[_0x2400b9(0x1c2)][_0x9c3ba+_0x2400b9(0x2e3)]&&this[_0x2400b9(0x278)]['reset'](),_0x3f5e20(null,_0x117895);});}}ve=_0x56665a;function _0x68dc02(_0x59e598){const _0xf1bb68=_0x539128;this[_0x1e2bd7][_0xf1bb68(0x20f)](_0x59e598),this[_0x3fb9b4]+=_0x59e598[_0xf1bb68(0x1bc)];}function _0x3b4b52(_0x397911){const _0x4215fe=_0x539128;if(this[_0x3fb9b4]+=_0x397911[_0x4215fe(0x1bc)],this[_0x36a130][_0x4215fe(0x260)]<0x1||this[_0x3fb9b4]<=this[_0x36a130][_0x4215fe(0x260)]){this[_0x1e2bd7]['push'](_0x397911);return;}this[_0x207f7b]=new RangeError(_0x4215fe(0x1a5)),this[_0x207f7b]['code']=_0x4215fe(0x225),this[_0x207f7b][_0x2875a4]=0x3f1,this['removeListener'](_0x4215fe(0x296),_0x3b4b52),this['reset']();}function _0x3979dc(_0x5bb752){const _0x2c4c56=_0x539128;if(this[_0x36a130][_0x2c4c56(0x30c)]=null,this[_0x207f7b]){this[_0x434789](this[_0x207f7b]);return;}_0x5bb752[_0x2875a4]=0x3ef,this[_0x434789](_0x5bb752);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x421112(0x31a)](Object[_0x421112(0x1d3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5252ce=_0x421112;if(Ye)return ie[_0x5252ce(0x2e2)];Ye=0x1;const {isUtf8:_0x39aee3}=wt,{hasBlob:_0x3de1d}=H(),_0xa06942=[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 _0x3c9868(_0x13d182){return _0x13d182>=0x3e8&&_0x13d182<=0x3f6&&_0x13d182!==0x3ec&&_0x13d182!==0x3ed&&_0x13d182!==0x3ee||_0x13d182>=0xbb8&&_0x13d182<=0x1387;}function _0x20c3b1(_0x2a5727){const _0x1825f7=_0x5252ce,_0x26939c=_0x2a5727[_0x1825f7(0x1bc)];let _0x262a81=0x0;for(;_0x262a81<_0x26939c;)if((_0x2a5727[_0x262a81]&0x80)===0x0)_0x262a81++;else{if((_0x2a5727[_0x262a81]&0xe0)===0xc0){if(_0x262a81+0x1===_0x26939c||(_0x2a5727[_0x262a81+0x1]&0xc0)!==0x80||(_0x2a5727[_0x262a81]&0xfe)===0xc0)return!0x1;_0x262a81+=0x2;}else{if((_0x2a5727[_0x262a81]&0xf0)===0xe0){if(_0x262a81+0x2>=_0x26939c||(_0x2a5727[_0x262a81+0x1]&0xc0)!==0x80||(_0x2a5727[_0x262a81+0x2]&0xc0)!==0x80||_0x2a5727[_0x262a81]===0xe0&&(_0x2a5727[_0x262a81+0x1]&0xe0)===0x80||_0x2a5727[_0x262a81]===0xed&&(_0x2a5727[_0x262a81+0x1]&0xe0)===0xa0)return!0x1;_0x262a81+=0x3;}else{if((_0x2a5727[_0x262a81]&0xf8)===0xf0){if(_0x262a81+0x3>=_0x26939c||(_0x2a5727[_0x262a81+0x1]&0xc0)!==0x80||(_0x2a5727[_0x262a81+0x2]&0xc0)!==0x80||(_0x2a5727[_0x262a81+0x3]&0xc0)!==0x80||_0x2a5727[_0x262a81]===0xf0&&(_0x2a5727[_0x262a81+0x1]&0xf0)===0x80||_0x2a5727[_0x262a81]===0xf4&&_0x2a5727[_0x262a81+0x1]>0x8f||_0x2a5727[_0x262a81]>0xf4)return!0x1;_0x262a81+=0x4;}else return!0x1;}}}return!0x0;}function _0x5c08e4(_0x576bda){const _0x4a2d02=_0x5252ce;return _0x3de1d&&typeof _0x576bda==_0x4a2d02(0x2d6)&&typeof _0x576bda[_0x4a2d02(0x197)]==_0x4a2d02(0x321)&&typeof _0x576bda[_0x4a2d02(0x273)]=='string'&&typeof _0x576bda['stream']=='function'&&(_0x576bda[Symbol[_0x4a2d02(0x207)]]===_0x4a2d02(0x188)||_0x576bda[Symbol[_0x4a2d02(0x207)]]===_0x4a2d02(0x1be));}if(ie['exports']={'isBlob':_0x5c08e4,'isValidStatusCode':_0x3c9868,'isValidUTF8':_0x20c3b1,'tokenChars':_0xa06942},_0x39aee3)ie['exports'][_0x5252ce(0x192)]=function(_0xe9b4d4){const _0x18065a=_0x5252ce;return _0xe9b4d4[_0x18065a(0x1bc)]<0x18?_0x20c3b1(_0xe9b4d4):_0x39aee3(_0xe9b4d4);};else{if(!process[_0x5252ce(0x1db)]['WS_NO_UTF_8_VALIDATE'])try{const _0x14a836=Bt;ie[_0x5252ce(0x2e2)]['isValidUTF8']=function(_0xdaecfe){const _0x24165d=_0x5252ce;return _0xdaecfe[_0x24165d(0x1bc)]<0x20?_0x20c3b1(_0xdaecfe):_0x14a836(_0xdaecfe);};}catch{}}return ie[_0x5252ce(0x2e2)];}var Se,Ke;function lt(){const _0x3acd1e=_0x421112;if(Ke)return Se;Ke=0x1;const {Writable:_0x3cc546}=oe,_0x18e53e=he(),{BINARY_TYPES:_0xd17a13,EMPTY_BUFFER:_0x27f953,kStatusCode:_0x21e7d9,kWebSocket:_0xb89344}=H(),{concat:_0x550cbe,toArrayBuffer:_0x30c4df,unmask:_0x4d8fd0}=ce(),{isValidStatusCode:_0x3c911a,isValidUTF8:_0x120bbd}=ae(),_0x359c99=Buffer[Symbol[_0x3acd1e(0x237)]],_0x18eec3=0x0,_0x5ce36d=0x1,_0x16da89=0x2,_0x599291=0x3,_0x2b0365=0x4,_0x16b406=0x5,_0x2e88bd=0x6;class _0x36089e extends _0x3cc546{constructor(_0x21b622={}){const _0x397baf=_0x3acd1e;super(),this[_0x397baf(0x1ef)]=_0x21b622[_0x397baf(0x315)]!==void 0x0?_0x21b622[_0x397baf(0x315)]:!0x0,this[_0x397baf(0x2a8)]=_0x21b622[_0x397baf(0x276)]||_0xd17a13[0x0],this[_0x397baf(0x274)]=_0x21b622[_0x397baf(0x18f)]||{},this[_0x397baf(0x18b)]=!!_0x21b622['isServer'],this['_maxPayload']=_0x21b622[_0x397baf(0x327)]|0x0,this[_0x397baf(0x2e9)]=!!_0x21b622[_0x397baf(0x2cc)],this[_0xb89344]=void 0x0,this['_bufferedBytes']=0x0,this[_0x397baf(0x31e)]=[],this[_0x397baf(0x22a)]=!0x1,this[_0x397baf(0x21a)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x397baf(0x1e3)]=!0x1,this[_0x397baf(0x333)]=!0x1,this[_0x397baf(0x214)]=0x0,this['_totalPayloadLength']=0x0,this[_0x397baf(0x17e)]=0x0,this['_fragments']=[],this[_0x397baf(0x29c)]=!0x1,this[_0x397baf(0x198)]=!0x1,this[_0x397baf(0x208)]=_0x18eec3;}['_write'](_0x28454e,_0x4214a3,_0x190eb3){const _0x542be0=_0x3acd1e;if(this[_0x542be0(0x214)]===0x8&&this[_0x542be0(0x208)]==_0x18eec3)return _0x190eb3();this[_0x542be0(0x231)]+=_0x28454e['length'],this[_0x542be0(0x31e)][_0x542be0(0x20f)](_0x28454e),this[_0x542be0(0x2d8)](_0x190eb3);}[_0x3acd1e(0x2be)](_0x2e0cb7){const _0x590c7b=_0x3acd1e;if(this[_0x590c7b(0x231)]-=_0x2e0cb7,_0x2e0cb7===this[_0x590c7b(0x31e)][0x0][_0x590c7b(0x1bc)])return this[_0x590c7b(0x31e)][_0x590c7b(0x2c0)]();if(_0x2e0cb7<this[_0x590c7b(0x31e)][0x0][_0x590c7b(0x1bc)]){const _0x3560d1=this[_0x590c7b(0x31e)][0x0];return this['_buffers'][0x0]=new _0x359c99(_0x3560d1[_0x590c7b(0x1dc)],_0x3560d1[_0x590c7b(0x324)]+_0x2e0cb7,_0x3560d1[_0x590c7b(0x1bc)]-_0x2e0cb7),new _0x359c99(_0x3560d1['buffer'],_0x3560d1[_0x590c7b(0x324)],_0x2e0cb7);}const _0x5a1fc5=Buffer[_0x590c7b(0x1f2)](_0x2e0cb7);do{const _0x19cab7=this[_0x590c7b(0x31e)][0x0],_0x572077=_0x5a1fc5['length']-_0x2e0cb7;_0x2e0cb7>=_0x19cab7[_0x590c7b(0x1bc)]?_0x5a1fc5[_0x590c7b(0x329)](this[_0x590c7b(0x31e)][_0x590c7b(0x2c0)](),_0x572077):(_0x5a1fc5[_0x590c7b(0x329)](new Uint8Array(_0x19cab7[_0x590c7b(0x1dc)],_0x19cab7['byteOffset'],_0x2e0cb7),_0x572077),this[_0x590c7b(0x31e)][0x0]=new _0x359c99(_0x19cab7[_0x590c7b(0x1dc)],_0x19cab7[_0x590c7b(0x324)]+_0x2e0cb7,_0x19cab7[_0x590c7b(0x1bc)]-_0x2e0cb7)),_0x2e0cb7-=_0x19cab7[_0x590c7b(0x1bc)];}while(_0x2e0cb7>0x0);return _0x5a1fc5;}[_0x3acd1e(0x2d8)](_0x38a9e5){const _0x1549a6=_0x3acd1e;this[_0x1549a6(0x198)]=!0x0;do switch(this[_0x1549a6(0x208)]){case _0x18eec3:this[_0x1549a6(0x2c1)](_0x38a9e5);break;case _0x5ce36d:this[_0x1549a6(0x181)](_0x38a9e5);break;case _0x16da89:this[_0x1549a6(0x2ef)](_0x38a9e5);break;case _0x599291:this[_0x1549a6(0x184)]();break;case _0x2b0365:this[_0x1549a6(0x26f)](_0x38a9e5);break;case _0x16b406:case _0x2e88bd:this[_0x1549a6(0x198)]=!0x1;return;}while(this[_0x1549a6(0x198)]);this[_0x1549a6(0x29c)]||_0x38a9e5();}['getInfo'](_0x15bd54){const _0x1af587=_0x3acd1e;if(this[_0x1af587(0x231)]<0x2){this[_0x1af587(0x198)]=!0x1;return;}const _0x394060=this[_0x1af587(0x2be)](0x2);if((_0x394060[0x0]&0x30)!==0x0){const _0x45b92d=this['createError'](RangeError,_0x1af587(0x284),!0x0,0x3ea,_0x1af587(0x2e8));_0x15bd54(_0x45b92d);return;}const _0x337613=(_0x394060[0x0]&0x40)===0x40;if(_0x337613&&!this[_0x1af587(0x274)][_0x18e53e[_0x1af587(0x230)]]){const _0x2b6921=this[_0x1af587(0x179)](RangeError,_0x1af587(0x32a),!0x0,0x3ea,_0x1af587(0x31b));_0x15bd54(_0x2b6921);return;}if(this[_0x1af587(0x333)]=(_0x394060[0x0]&0x80)===0x80,this['_opcode']=_0x394060[0x0]&0xf,this[_0x1af587(0x21a)]=_0x394060[0x1]&0x7f,this[_0x1af587(0x214)]===0x0){if(_0x337613){const _0x491df0=this['createError'](RangeError,_0x1af587(0x32a),!0x0,0x3ea,_0x1af587(0x31b));_0x15bd54(_0x491df0);return;}if(!this[_0x1af587(0x229)]){const _0x3c18ee=this[_0x1af587(0x179)](RangeError,_0x1af587(0x265),!0x0,0x3ea,_0x1af587(0x18c));_0x15bd54(_0x3c18ee);return;}this[_0x1af587(0x214)]=this[_0x1af587(0x229)];}else{if(this[_0x1af587(0x214)]===0x1||this[_0x1af587(0x214)]===0x2){if(this[_0x1af587(0x229)]){const _0x30a1ec=this['createError'](RangeError,_0x1af587(0x1b4)+this[_0x1af587(0x214)],!0x0,0x3ea,_0x1af587(0x18c));_0x15bd54(_0x30a1ec);return;}this[_0x1af587(0x22a)]=_0x337613;}else{if(this[_0x1af587(0x214)]>0x7&&this[_0x1af587(0x214)]<0xb){if(!this[_0x1af587(0x333)]){const _0x4a9dee=this['createError'](RangeError,_0x1af587(0x20c),!0x0,0x3ea,_0x1af587(0x1f1));_0x15bd54(_0x4a9dee);return;}if(_0x337613){const _0x50def8=this[_0x1af587(0x179)](RangeError,_0x1af587(0x32a),!0x0,0x3ea,_0x1af587(0x31b));_0x15bd54(_0x50def8);return;}if(this[_0x1af587(0x21a)]>0x7d||this[_0x1af587(0x214)]===0x8&&this['_payloadLength']===0x1){const _0x1ade8e=this[_0x1af587(0x179)](RangeError,_0x1af587(0x27d)+this['_payloadLength'],!0x0,0x3ea,_0x1af587(0x176));_0x15bd54(_0x1ade8e);return;}}else{const _0x5ef4f7=this[_0x1af587(0x179)](RangeError,'invalid\x20opcode\x20'+this[_0x1af587(0x214)],!0x0,0x3ea,_0x1af587(0x18c));_0x15bd54(_0x5ef4f7);return;}}}if(!this[_0x1af587(0x333)]&&!this[_0x1af587(0x229)]&&(this[_0x1af587(0x229)]=this[_0x1af587(0x214)]),this['_masked']=(_0x394060[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1af587(0x1e3)]){const _0x2ca72b=this['createError'](RangeError,_0x1af587(0x32e),!0x0,0x3ea,_0x1af587(0x2a5));_0x15bd54(_0x2ca72b);return;}}else{if(this[_0x1af587(0x1e3)]){const _0x15171b=this[_0x1af587(0x179)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x15bd54(_0x15171b);return;}}this['_payloadLength']===0x7e?this[_0x1af587(0x208)]=_0x5ce36d:this[_0x1af587(0x21a)]===0x7f?this[_0x1af587(0x208)]=_0x16da89:this[_0x1af587(0x1b6)](_0x15bd54);}[_0x3acd1e(0x181)](_0x666bde){const _0xf665e1=_0x3acd1e;if(this[_0xf665e1(0x231)]<0x2){this[_0xf665e1(0x198)]=!0x1;return;}this['_payloadLength']=this[_0xf665e1(0x2be)](0x2)[_0xf665e1(0x22c)](0x0),this[_0xf665e1(0x1b6)](_0x666bde);}[_0x3acd1e(0x2ef)](_0x4d5e84){const _0x5db584=_0x3acd1e;if(this['_bufferedBytes']<0x8){this[_0x5db584(0x198)]=!0x1;return;}const _0x41a978=this[_0x5db584(0x2be)](0x8),_0x3da669=_0x41a978[_0x5db584(0x1cb)](0x0);if(_0x3da669>Math[_0x5db584(0x1d2)](0x2,0x15)-0x1){const _0x114495=this[_0x5db584(0x179)](RangeError,_0x5db584(0x27e),!0x1,0x3f1,_0x5db584(0x223));_0x4d5e84(_0x114495);return;}this['_payloadLength']=_0x3da669*Math['pow'](0x2,0x20)+_0x41a978[_0x5db584(0x1cb)](0x4),this[_0x5db584(0x1b6)](_0x4d5e84);}[_0x3acd1e(0x1b6)](_0x4bdb07){const _0x1e1ea1=_0x3acd1e;if(this[_0x1e1ea1(0x21a)]&&this['_opcode']<0x8&&(this[_0x1e1ea1(0x2b9)]+=this[_0x1e1ea1(0x21a)],this[_0x1e1ea1(0x2b9)]>this[_0x1e1ea1(0x260)]&&this[_0x1e1ea1(0x260)]>0x0)){const _0x655c09=this[_0x1e1ea1(0x179)](RangeError,_0x1e1ea1(0x1a5),!0x1,0x3f1,_0x1e1ea1(0x225));_0x4bdb07(_0x655c09);return;}this['_masked']?this[_0x1e1ea1(0x208)]=_0x599291:this[_0x1e1ea1(0x208)]=_0x2b0365;}['getMask'](){const _0x13803d=_0x3acd1e;if(this[_0x13803d(0x231)]<0x4){this['_loop']=!0x1;return;}this[_0x13803d(0x1ca)]=this[_0x13803d(0x2be)](0x4),this[_0x13803d(0x208)]=_0x2b0365;}[_0x3acd1e(0x26f)](_0xcd2851){const _0x5ecc62=_0x3acd1e;let _0x10273e=_0x27f953;if(this['_payloadLength']){if(this[_0x5ecc62(0x231)]<this[_0x5ecc62(0x21a)]){this[_0x5ecc62(0x198)]=!0x1;return;}_0x10273e=this[_0x5ecc62(0x2be)](this[_0x5ecc62(0x21a)]),this['_masked']&&(this[_0x5ecc62(0x1ca)][0x0]|this[_0x5ecc62(0x1ca)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x4d8fd0(_0x10273e,this['_mask']);}if(this[_0x5ecc62(0x214)]>0x7){this[_0x5ecc62(0x29b)](_0x10273e,_0xcd2851);return;}if(this['_compressed']){this[_0x5ecc62(0x208)]=_0x16b406,this[_0x5ecc62(0x1c8)](_0x10273e,_0xcd2851);return;}_0x10273e['length']&&(this[_0x5ecc62(0x17e)]=this[_0x5ecc62(0x2b9)],this['_fragments'][_0x5ecc62(0x20f)](_0x10273e)),this[_0x5ecc62(0x2d4)](_0xcd2851);}['decompress'](_0x24eba6,_0x431b41){const _0x41aaf1=_0x3acd1e;this[_0x41aaf1(0x274)][_0x18e53e['extensionName']][_0x41aaf1(0x1c8)](_0x24eba6,this[_0x41aaf1(0x333)],(_0x5bd4a0,_0x151e43)=>{const _0x41b3f2=_0x41aaf1;if(_0x5bd4a0)return _0x431b41(_0x5bd4a0);if(_0x151e43[_0x41b3f2(0x1bc)]){if(this['_messageLength']+=_0x151e43['length'],this[_0x41b3f2(0x17e)]>this[_0x41b3f2(0x260)]&&this['_maxPayload']>0x0){const _0xcc0102=this[_0x41b3f2(0x179)](RangeError,_0x41b3f2(0x1a5),!0x1,0x3f1,_0x41b3f2(0x225));_0x431b41(_0xcc0102);return;}this['_fragments'][_0x41b3f2(0x20f)](_0x151e43);}this[_0x41b3f2(0x2d4)](_0x431b41),this[_0x41b3f2(0x208)]===_0x18eec3&&this[_0x41b3f2(0x2d8)](_0x431b41);});}[_0x3acd1e(0x2d4)](_0x581ace){const _0x23f55f=_0x3acd1e;if(!this[_0x23f55f(0x333)]){this[_0x23f55f(0x208)]=_0x18eec3;return;}const _0xd81e4a=this[_0x23f55f(0x17e)],_0x255038=this[_0x23f55f(0x2b2)];if(this['_totalPayloadLength']=0x0,this[_0x23f55f(0x17e)]=0x0,this[_0x23f55f(0x229)]=0x0,this['_fragments']=[],this[_0x23f55f(0x214)]===0x2){let _0x53b864;this[_0x23f55f(0x2a8)]===_0x23f55f(0x330)?_0x53b864=_0x550cbe(_0x255038,_0xd81e4a):this['_binaryType']===_0x23f55f(0x325)?_0x53b864=_0x30c4df(_0x550cbe(_0x255038,_0xd81e4a)):this[_0x23f55f(0x2a8)]===_0x23f55f(0x1c6)?_0x53b864=new Blob(_0x255038):_0x53b864=_0x255038,this[_0x23f55f(0x1ef)]?(this[_0x23f55f(0x283)](_0x23f55f(0x1c4),_0x53b864,!0x0),this[_0x23f55f(0x208)]=_0x18eec3):(this['_state']=_0x2e88bd,setImmediate(()=>{const _0x4612ba=_0x23f55f;this[_0x4612ba(0x283)]('message',_0x53b864,!0x0),this['_state']=_0x18eec3,this[_0x4612ba(0x2d8)](_0x581ace);}));}else{const _0x2d567e=_0x550cbe(_0x255038,_0xd81e4a);if(!this['_skipUTF8Validation']&&!_0x120bbd(_0x2d567e)){const _0x186f0a=this[_0x23f55f(0x179)](Error,_0x23f55f(0x23a),!0x0,0x3ef,_0x23f55f(0x244));_0x581ace(_0x186f0a);return;}this[_0x23f55f(0x208)]===_0x16b406||this[_0x23f55f(0x1ef)]?(this['emit'](_0x23f55f(0x1c4),_0x2d567e,!0x1),this[_0x23f55f(0x208)]=_0x18eec3):(this['_state']=_0x2e88bd,setImmediate(()=>{const _0x95229e=_0x23f55f;this[_0x95229e(0x283)]('message',_0x2d567e,!0x1),this[_0x95229e(0x208)]=_0x18eec3,this[_0x95229e(0x2d8)](_0x581ace);}));}}['controlMessage'](_0x44e3db,_0x3c8f39){const _0x3a2c69=_0x3acd1e;if(this['_opcode']===0x8){if(_0x44e3db[_0x3a2c69(0x1bc)]===0x0)this[_0x3a2c69(0x198)]=!0x1,this['emit'](_0x3a2c69(0x18d),0x3ed,_0x27f953),this['end']();else{const _0x1335ac=_0x44e3db['readUInt16BE'](0x0);if(!_0x3c911a(_0x1335ac)){const _0x4a74a9=this[_0x3a2c69(0x179)](RangeError,'invalid\x20status\x20code\x20'+_0x1335ac,!0x0,0x3ea,_0x3a2c69(0x2aa));_0x3c8f39(_0x4a74a9);return;}const _0x3da527=new _0x359c99(_0x44e3db['buffer'],_0x44e3db[_0x3a2c69(0x324)]+0x2,_0x44e3db[_0x3a2c69(0x1bc)]-0x2);if(!this[_0x3a2c69(0x2e9)]&&!_0x120bbd(_0x3da527)){const _0x518683=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3a2c69(0x244));_0x3c8f39(_0x518683);return;}this[_0x3a2c69(0x198)]=!0x1,this['emit']('conclude',_0x1335ac,_0x3da527),this[_0x3a2c69(0x2fd)]();}this[_0x3a2c69(0x208)]=_0x18eec3;return;}this[_0x3a2c69(0x1ef)]?(this[_0x3a2c69(0x283)](this[_0x3a2c69(0x214)]===0x9?'ping':_0x3a2c69(0x22f),_0x44e3db),this[_0x3a2c69(0x208)]=_0x18eec3):(this[_0x3a2c69(0x208)]=_0x2e88bd,setImmediate(()=>{const _0x558fbc=_0x3a2c69;this[_0x558fbc(0x283)](this[_0x558fbc(0x214)]===0x9?_0x558fbc(0x1f9):_0x558fbc(0x22f),_0x44e3db),this[_0x558fbc(0x208)]=_0x18eec3,this['startLoop'](_0x3c8f39);}));}[_0x3acd1e(0x179)](_0x5b2e61,_0x2f4596,_0x2cde3c,_0x3f554d,_0xf0453c){const _0x92f86e=_0x3acd1e;this[_0x92f86e(0x198)]=!0x1,this[_0x92f86e(0x29c)]=!0x0;const _0x5667de=new _0x5b2e61(_0x2cde3c?_0x92f86e(0x1b5)+_0x2f4596:_0x2f4596);return Error[_0x92f86e(0x1af)](_0x5667de,this['createError']),_0x5667de[_0x92f86e(0x25e)]=_0xf0453c,_0x5667de[_0x21e7d9]=_0x3f554d,_0x5667de;}}return Se=_0x36089e,Se;}var Ee,Xe;function _0x4e5b(_0x25de78,_0x10ee48){const _0x134f81=_0x134f();return _0x4e5b=function(_0x4e5b28,_0x3cf379){_0x4e5b28=_0x4e5b28-0x16f;let _0x1dba0a=_0x134f81[_0x4e5b28];return _0x1dba0a;},_0x4e5b(_0x25de78,_0x10ee48);}function ft(){const _0x131a48=_0x421112;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5910bd}=oe,{randomFillSync:_0x35c0b2}=Le,_0x4ce127=he(),{EMPTY_BUFFER:_0x5c8384,kWebSocket:_0x763788,NOOP:_0x4cfb48}=H(),{isBlob:_0x581f24,isValidStatusCode:_0x48f503}=ae(),{mask:_0x1d7eeb,toBuffer:_0xe6d94}=ce(),_0x2529dd=Symbol('kByteLength'),_0x46c900=Buffer[_0x131a48(0x177)](0x4),_0x548f71=0x8*0x400;let _0x5493d7,_0x3875b4=_0x548f71;const _0x29d70e=0x0,_0x235690=0x1,_0xebf481=0x2;class _0x4884b8{constructor(_0x5953c4,_0x5ec41,_0x42998f){const _0x41e4b1=_0x131a48;this[_0x41e4b1(0x274)]=_0x5ec41||{},_0x42998f&&(this['_generateMask']=_0x42998f,this[_0x41e4b1(0x2bc)]=Buffer[_0x41e4b1(0x177)](0x4)),this[_0x41e4b1(0x318)]=_0x5953c4,this[_0x41e4b1(0x322)]=!0x0,this[_0x41e4b1(0x239)]=!0x1,this[_0x41e4b1(0x231)]=0x0,this['_queue']=[],this['_state']=_0x29d70e,this[_0x41e4b1(0x25b)]=_0x4cfb48,this[_0x763788]=void 0x0;}static[_0x131a48(0x257)](_0x55a56a,_0x1a1bd2){const _0x307c24=_0x131a48;let _0x14206e,_0x2994ed=!0x1,_0x2e0738=0x2,_0x2f9e90=!0x1;_0x1a1bd2[_0x307c24(0x175)]&&(_0x14206e=_0x1a1bd2[_0x307c24(0x306)]||_0x46c900,_0x1a1bd2['generateMask']?_0x1a1bd2['generateMask'](_0x14206e):(_0x3875b4===_0x548f71&&(_0x5493d7===void 0x0&&(_0x5493d7=Buffer[_0x307c24(0x177)](_0x548f71)),_0x35c0b2(_0x5493d7,0x0,_0x548f71),_0x3875b4=0x0),_0x14206e[0x0]=_0x5493d7[_0x3875b4++],_0x14206e[0x1]=_0x5493d7[_0x3875b4++],_0x14206e[0x2]=_0x5493d7[_0x3875b4++],_0x14206e[0x3]=_0x5493d7[_0x3875b4++]),_0x2f9e90=(_0x14206e[0x0]|_0x14206e[0x1]|_0x14206e[0x2]|_0x14206e[0x3])===0x0,_0x2e0738=0x6);let _0x4aaa68;typeof _0x55a56a=='string'?(!_0x1a1bd2['mask']||_0x2f9e90)&&_0x1a1bd2[_0x2529dd]!==void 0x0?_0x4aaa68=_0x1a1bd2[_0x2529dd]:(_0x55a56a=Buffer[_0x307c24(0x29a)](_0x55a56a),_0x4aaa68=_0x55a56a['length']):(_0x4aaa68=_0x55a56a[_0x307c24(0x1bc)],_0x2994ed=_0x1a1bd2[_0x307c24(0x175)]&&_0x1a1bd2[_0x307c24(0x2e7)]&&!_0x2f9e90);let _0x1954a6=_0x4aaa68;_0x4aaa68>=0x10000?(_0x2e0738+=0x8,_0x1954a6=0x7f):_0x4aaa68>0x7d&&(_0x2e0738+=0x2,_0x1954a6=0x7e);const _0x47c340=Buffer['allocUnsafe'](_0x2994ed?_0x4aaa68+_0x2e0738:_0x2e0738);return _0x47c340[0x0]=_0x1a1bd2[_0x307c24(0x23f)]?_0x1a1bd2[_0x307c24(0x23b)]|0x80:_0x1a1bd2[_0x307c24(0x23b)],_0x1a1bd2['rsv1']&&(_0x47c340[0x0]|=0x40),_0x47c340[0x1]=_0x1954a6,_0x1954a6===0x7e?_0x47c340[_0x307c24(0x2f4)](_0x4aaa68,0x2):_0x1954a6===0x7f&&(_0x47c340[0x2]=_0x47c340[0x3]=0x0,_0x47c340['writeUIntBE'](_0x4aaa68,0x4,0x6)),_0x1a1bd2['mask']?(_0x47c340[0x1]|=0x80,_0x47c340[_0x2e0738-0x4]=_0x14206e[0x0],_0x47c340[_0x2e0738-0x3]=_0x14206e[0x1],_0x47c340[_0x2e0738-0x2]=_0x14206e[0x2],_0x47c340[_0x2e0738-0x1]=_0x14206e[0x3],_0x2f9e90?[_0x47c340,_0x55a56a]:_0x2994ed?(_0x1d7eeb(_0x55a56a,_0x14206e,_0x47c340,_0x2e0738,_0x4aaa68),[_0x47c340]):(_0x1d7eeb(_0x55a56a,_0x14206e,_0x55a56a,0x0,_0x4aaa68),[_0x47c340,_0x55a56a])):[_0x47c340,_0x55a56a];}['close'](_0x580e92,_0x2a7ffe,_0x57567f,_0x16e942){const _0x2a8c62=_0x131a48;let _0x135ba3;if(_0x580e92===void 0x0)_0x135ba3=_0x5c8384;else{if(typeof _0x580e92!=_0x2a8c62(0x20a)||!_0x48f503(_0x580e92))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2a7ffe===void 0x0||!_0x2a7ffe[_0x2a8c62(0x1bc)])_0x135ba3=Buffer[_0x2a8c62(0x1f2)](0x2),_0x135ba3[_0x2a8c62(0x2f4)](_0x580e92,0x0);else{const _0x349e8f=Buffer[_0x2a8c62(0x1a6)](_0x2a7ffe);if(_0x349e8f>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x135ba3=Buffer[_0x2a8c62(0x1f2)](0x2+_0x349e8f),_0x135ba3[_0x2a8c62(0x2f4)](_0x580e92,0x0),typeof _0x2a7ffe==_0x2a8c62(0x252)?_0x135ba3[_0x2a8c62(0x1e1)](_0x2a7ffe,0x2):_0x135ba3[_0x2a8c62(0x329)](_0x2a7ffe,0x2);}}const _0x26077d={[_0x2529dd]:_0x135ba3[_0x2a8c62(0x1bc)],'fin':!0x0,'generateMask':this[_0x2a8c62(0x173)],'mask':_0x57567f,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x29d70e?this['enqueue']([this[_0x2a8c62(0x203)],_0x135ba3,!0x1,_0x26077d,_0x16e942]):this[_0x2a8c62(0x172)](_0x4884b8['frame'](_0x135ba3,_0x26077d),_0x16e942);}[_0x131a48(0x1f9)](_0x39d186,_0x177791,_0x223335){const _0xfc9207=_0x131a48;let _0x567a0b,_0x100cf7;if(typeof _0x39d186==_0xfc9207(0x252)?(_0x567a0b=Buffer[_0xfc9207(0x1a6)](_0x39d186),_0x100cf7=!0x1):_0x581f24(_0x39d186)?(_0x567a0b=_0x39d186[_0xfc9207(0x1a3)],_0x100cf7=!0x1):(_0x39d186=_0xe6d94(_0x39d186),_0x567a0b=_0x39d186[_0xfc9207(0x1bc)],_0x100cf7=_0xe6d94[_0xfc9207(0x2e7)]),_0x567a0b>0x7d)throw new RangeError(_0xfc9207(0x19f));const _0xf49919={[_0x2529dd]:_0x567a0b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x177791,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x100cf7,'rsv1':!0x1};_0x581f24(_0x39d186)?this['_state']!==_0x29d70e?this[_0xfc9207(0x1ae)]([this[_0xfc9207(0x2f5)],_0x39d186,!0x1,_0xf49919,_0x223335]):this['getBlobData'](_0x39d186,!0x1,_0xf49919,_0x223335):this[_0xfc9207(0x208)]!==_0x29d70e?this[_0xfc9207(0x1ae)]([this[_0xfc9207(0x203)],_0x39d186,!0x1,_0xf49919,_0x223335]):this['sendFrame'](_0x4884b8[_0xfc9207(0x257)](_0x39d186,_0xf49919),_0x223335);}[_0x131a48(0x22f)](_0x12aa5e,_0x23a6e7,_0x552237){const _0x5f45cf=_0x131a48;let _0x564542,_0x1288c0;if(typeof _0x12aa5e==_0x5f45cf(0x252)?(_0x564542=Buffer[_0x5f45cf(0x1a6)](_0x12aa5e),_0x1288c0=!0x1):_0x581f24(_0x12aa5e)?(_0x564542=_0x12aa5e[_0x5f45cf(0x1a3)],_0x1288c0=!0x1):(_0x12aa5e=_0xe6d94(_0x12aa5e),_0x564542=_0x12aa5e[_0x5f45cf(0x1bc)],_0x1288c0=_0xe6d94[_0x5f45cf(0x2e7)]),_0x564542>0x7d)throw new RangeError(_0x5f45cf(0x19f));const _0x4b561f={[_0x2529dd]:_0x564542,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x23a6e7,'maskBuffer':this[_0x5f45cf(0x2bc)],'opcode':0xa,'readOnly':_0x1288c0,'rsv1':!0x1};_0x581f24(_0x12aa5e)?this[_0x5f45cf(0x208)]!==_0x29d70e?this['enqueue']([this[_0x5f45cf(0x2f5)],_0x12aa5e,!0x1,_0x4b561f,_0x552237]):this[_0x5f45cf(0x2f5)](_0x12aa5e,!0x1,_0x4b561f,_0x552237):this[_0x5f45cf(0x208)]!==_0x29d70e?this[_0x5f45cf(0x1ae)]([this['dispatch'],_0x12aa5e,!0x1,_0x4b561f,_0x552237]):this[_0x5f45cf(0x172)](_0x4884b8[_0x5f45cf(0x257)](_0x12aa5e,_0x4b561f),_0x552237);}[_0x131a48(0x234)](_0x511f3a,_0x5005f8,_0x10b1e7){const _0x56b2b3=_0x131a48,_0x5d7f0e=this[_0x56b2b3(0x274)][_0x4ce127['extensionName']];let _0x33446a=_0x5005f8[_0x56b2b3(0x337)]?0x2:0x1,_0x604698=_0x5005f8[_0x56b2b3(0x30a)],_0x5cb489,_0x33e23c;typeof _0x511f3a==_0x56b2b3(0x252)?(_0x5cb489=Buffer['byteLength'](_0x511f3a),_0x33e23c=!0x1):_0x581f24(_0x511f3a)?(_0x5cb489=_0x511f3a['size'],_0x33e23c=!0x1):(_0x511f3a=_0xe6d94(_0x511f3a),_0x5cb489=_0x511f3a['length'],_0x33e23c=_0xe6d94['readOnly']),this[_0x56b2b3(0x322)]?(this['_firstFragment']=!0x1,_0x604698&&_0x5d7f0e&&_0x5d7f0e[_0x56b2b3(0x1c2)][_0x5d7f0e[_0x56b2b3(0x18b)]?_0x56b2b3(0x2cd):_0x56b2b3(0x171)]&&(_0x604698=_0x5cb489>=_0x5d7f0e[_0x56b2b3(0x2f0)]),this[_0x56b2b3(0x239)]=_0x604698):(_0x604698=!0x1,_0x33446a=0x0),_0x5005f8['fin']&&(this[_0x56b2b3(0x322)]=!0x0);const _0xdb40ae={[_0x2529dd]:_0x5cb489,'fin':_0x5005f8[_0x56b2b3(0x23f)],'generateMask':this[_0x56b2b3(0x173)],'mask':_0x5005f8[_0x56b2b3(0x175)],'maskBuffer':this[_0x56b2b3(0x2bc)],'opcode':_0x33446a,'readOnly':_0x33e23c,'rsv1':_0x604698};_0x581f24(_0x511f3a)?this['_state']!==_0x29d70e?this['enqueue']([this['getBlobData'],_0x511f3a,this[_0x56b2b3(0x239)],_0xdb40ae,_0x10b1e7]):this[_0x56b2b3(0x2f5)](_0x511f3a,this['_compress'],_0xdb40ae,_0x10b1e7):this[_0x56b2b3(0x208)]!==_0x29d70e?this[_0x56b2b3(0x1ae)]([this[_0x56b2b3(0x203)],_0x511f3a,this[_0x56b2b3(0x239)],_0xdb40ae,_0x10b1e7]):this[_0x56b2b3(0x203)](_0x511f3a,this[_0x56b2b3(0x239)],_0xdb40ae,_0x10b1e7);}['getBlobData'](_0x239c96,_0x3729a4,_0x4d3d20,_0x9297e){const _0x4636c7=_0x131a48;this[_0x4636c7(0x231)]+=_0x4d3d20[_0x2529dd],this['_state']=_0xebf481,_0x239c96[_0x4636c7(0x197)]()['then'](_0x535d8d=>{const _0x24175b=_0x4636c7;if(this[_0x24175b(0x318)][_0x24175b(0x193)]){const _0x2c0176=new Error(_0x24175b(0x1ba));process[_0x24175b(0x189)](_0x39af4e,this,_0x2c0176,_0x9297e);return;}this[_0x24175b(0x231)]-=_0x4d3d20[_0x2529dd];const _0x46c407=_0xe6d94(_0x535d8d);_0x3729a4?this[_0x24175b(0x203)](_0x46c407,_0x3729a4,_0x4d3d20,_0x9297e):(this[_0x24175b(0x208)]=_0x29d70e,this[_0x24175b(0x172)](_0x4884b8['frame'](_0x46c407,_0x4d3d20),_0x9297e),this[_0x24175b(0x1da)]());})[_0x4636c7(0x30d)](_0x3dbb8a=>{const _0x96dcc8=_0x4636c7;process[_0x96dcc8(0x189)](_0x386c35,this,_0x3dbb8a,_0x9297e);});}[_0x131a48(0x203)](_0xaf6eda,_0x2c4457,_0x35e0eb,_0x1d5d4d){const _0x419842=_0x131a48;if(!_0x2c4457){this[_0x419842(0x172)](_0x4884b8[_0x419842(0x257)](_0xaf6eda,_0x35e0eb),_0x1d5d4d);return;}const _0xf0f85=this['_extensions'][_0x4ce127[_0x419842(0x230)]];this['_bufferedBytes']+=_0x35e0eb[_0x2529dd],this[_0x419842(0x208)]=_0x235690,_0xf0f85['compress'](_0xaf6eda,_0x35e0eb[_0x419842(0x23f)],(_0x394009,_0x2f71f3)=>{const _0xed5c29=_0x419842;if(this[_0xed5c29(0x318)][_0xed5c29(0x193)]){const _0x2769bc=new Error(_0xed5c29(0x30b));_0x39af4e(this,_0x2769bc,_0x1d5d4d);return;}this['_bufferedBytes']-=_0x35e0eb[_0x2529dd],this['_state']=_0x29d70e,_0x35e0eb[_0xed5c29(0x2e7)]=!0x1,this[_0xed5c29(0x172)](_0x4884b8['frame'](_0x2f71f3,_0x35e0eb),_0x1d5d4d),this[_0xed5c29(0x1da)]();});}[_0x131a48(0x1da)](){const _0x20c829=_0x131a48;for(;this[_0x20c829(0x208)]===_0x29d70e&&this[_0x20c829(0x311)]['length'];){const _0x3bae1a=this[_0x20c829(0x311)][_0x20c829(0x2c0)]();this['_bufferedBytes']-=_0x3bae1a[0x3][_0x2529dd],Reflect[_0x20c829(0x1bd)](_0x3bae1a[0x0],this,_0x3bae1a[_0x20c829(0x24e)](0x1));}}[_0x131a48(0x1ae)](_0x4a80e7){const _0x57e1d1=_0x131a48;this[_0x57e1d1(0x231)]+=_0x4a80e7[0x3][_0x2529dd],this[_0x57e1d1(0x311)][_0x57e1d1(0x20f)](_0x4a80e7);}[_0x131a48(0x172)](_0x4478ba,_0x2dd6ae){const _0x4122b5=_0x131a48;_0x4478ba[_0x4122b5(0x1bc)]===0x2?(this[_0x4122b5(0x318)][_0x4122b5(0x180)](),this['_socket'][_0x4122b5(0x1e1)](_0x4478ba[0x0]),this['_socket'][_0x4122b5(0x1e1)](_0x4478ba[0x1],_0x2dd6ae),this[_0x4122b5(0x318)][_0x4122b5(0x268)]()):this[_0x4122b5(0x318)][_0x4122b5(0x1e1)](_0x4478ba[0x0],_0x2dd6ae);}}Ee=_0x4884b8;function _0x39af4e(_0x377f8b,_0x4f53fe,_0x3242e4){const _0x13773d=_0x131a48;typeof _0x3242e4==_0x13773d(0x321)&&_0x3242e4(_0x4f53fe);for(let _0x26ea3c=0x0;_0x26ea3c<_0x377f8b[_0x13773d(0x311)][_0x13773d(0x1bc)];_0x26ea3c++){const _0x507801=_0x377f8b['_queue'][_0x26ea3c],_0x3eb1d9=_0x507801[_0x507801[_0x13773d(0x1bc)]-0x1];typeof _0x3eb1d9==_0x13773d(0x321)&&_0x3eb1d9(_0x4f53fe);}}function _0x386c35(_0x5092a9,_0x559955,_0x16e4e9){const _0x831f51=_0x131a48;_0x39af4e(_0x5092a9,_0x559955,_0x16e4e9),_0x5092a9[_0x831f51(0x25b)](_0x559955);}return Ee;}var xe,Ze;function It(){const _0x58b315=_0x421112;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3f508e,kListener:_0x17ee43}=H(),_0x412ab2=Symbol(_0x58b315(0x301)),_0x28e710=Symbol(_0x58b315(0x2b5)),_0x1904fc=Symbol(_0x58b315(0x215)),_0x244b94=Symbol(_0x58b315(0x221)),_0x508127=Symbol('kReason'),_0x202730=Symbol(_0x58b315(0x1bb)),_0x26706c=Symbol(_0x58b315(0x2cb)),_0x47cd21=Symbol(_0x58b315(0x261));class _0x4d0ff3{constructor(_0x5f4a24){this[_0x202730]=null,this[_0x26706c]=_0x5f4a24;}get[_0x58b315(0x286)](){return this[_0x202730];}get[_0x58b315(0x273)](){return this[_0x26706c];}}Object[_0x58b315(0x1d3)](_0x4d0ff3[_0x58b315(0x1b2)],_0x58b315(0x286),{'enumerable':!0x0}),Object[_0x58b315(0x1d3)](_0x4d0ff3[_0x58b315(0x1b2)],_0x58b315(0x273),{'enumerable':!0x0});class _0x425741 extends _0x4d0ff3{constructor(_0x41dde3,_0x4c7e7d={}){const _0x10e979=_0x58b315;super(_0x41dde3),this[_0x412ab2]=_0x4c7e7d[_0x10e979(0x25e)]===void 0x0?0x0:_0x4c7e7d[_0x10e979(0x25e)],this[_0x508127]=_0x4c7e7d[_0x10e979(0x186)]===void 0x0?'':_0x4c7e7d[_0x10e979(0x186)],this[_0x47cd21]=_0x4c7e7d[_0x10e979(0x2a4)]===void 0x0?!0x1:_0x4c7e7d['wasClean'];}get['code'](){return this[_0x412ab2];}get['reason'](){return this[_0x508127];}get[_0x58b315(0x2a4)](){return this[_0x47cd21];}}Object[_0x58b315(0x1d3)](_0x425741['prototype'],_0x58b315(0x25e),{'enumerable':!0x0}),Object[_0x58b315(0x1d3)](_0x425741[_0x58b315(0x1b2)],'reason',{'enumerable':!0x0}),Object[_0x58b315(0x1d3)](_0x425741[_0x58b315(0x1b2)],_0x58b315(0x2a4),{'enumerable':!0x0});class _0x548ad7 extends _0x4d0ff3{constructor(_0x27e339,_0x20c387={}){const _0x124c9a=_0x58b315;super(_0x27e339),this[_0x1904fc]=_0x20c387[_0x124c9a(0x1df)]===void 0x0?null:_0x20c387[_0x124c9a(0x1df)],this[_0x244b94]=_0x20c387[_0x124c9a(0x1c4)]===void 0x0?'':_0x20c387[_0x124c9a(0x1c4)];}get[_0x58b315(0x1df)](){return this[_0x1904fc];}get[_0x58b315(0x1c4)](){return this[_0x244b94];}}Object[_0x58b315(0x1d3)](_0x548ad7[_0x58b315(0x1b2)],'error',{'enumerable':!0x0}),Object[_0x58b315(0x1d3)](_0x548ad7[_0x58b315(0x1b2)],'message',{'enumerable':!0x0});class _0x11062c extends _0x4d0ff3{constructor(_0x24b615,_0x3d0a8f={}){const _0x388ef6=_0x58b315;super(_0x24b615),this[_0x28e710]=_0x3d0a8f[_0x388ef6(0x296)]===void 0x0?null:_0x3d0a8f[_0x388ef6(0x296)];}get['data'](){return this[_0x28e710];}}Object[_0x58b315(0x1d3)](_0x11062c[_0x58b315(0x1b2)],_0x58b315(0x296),{'enumerable':!0x0}),xe={'CloseEvent':_0x425741,'ErrorEvent':_0x548ad7,'Event':_0x4d0ff3,'EventTarget':{'addEventListener'(_0x2c9cee,_0xabb477,_0x4ce131={}){const _0x7e58a5=_0x58b315;for(const _0x4ac505 of this[_0x7e58a5(0x2e0)](_0x2c9cee))if(!_0x4ce131[_0x3f508e]&&_0x4ac505[_0x17ee43]===_0xabb477&&!_0x4ac505[_0x3f508e])return;let _0x993d70;if(_0x2c9cee===_0x7e58a5(0x1c4))_0x993d70=function(_0x3d9dd8,_0x1a46b2){const _0x489f90=_0x7e58a5,_0x45c693=new _0x11062c(_0x489f90(0x1c4),{'data':_0x1a46b2?_0x3d9dd8:_0x3d9dd8['toString']()});_0x45c693[_0x202730]=this,_0x583166(_0xabb477,this,_0x45c693);};else{if(_0x2c9cee===_0x7e58a5(0x251))_0x993d70=function(_0xb0f866,_0x2bc420){const _0x499d8a=_0x7e58a5,_0x55ebd4=new _0x425741('close',{'code':_0xb0f866,'reason':_0x2bc420[_0x499d8a(0x1a1)](),'wasClean':this[_0x499d8a(0x194)]&&this[_0x499d8a(0x196)]});_0x55ebd4[_0x202730]=this,_0x583166(_0xabb477,this,_0x55ebd4);};else{if(_0x2c9cee==='error')_0x993d70=function(_0x3e06ce){const _0xd29035=_0x7e58a5,_0x5d9d83=new _0x548ad7(_0xd29035(0x1df),{'error':_0x3e06ce,'message':_0x3e06ce[_0xd29035(0x1c4)]});_0x5d9d83[_0x202730]=this,_0x583166(_0xabb477,this,_0x5d9d83);};else{if(_0x2c9cee===_0x7e58a5(0x1f3))_0x993d70=function(){const _0x29b65a=new _0x4d0ff3('open');_0x29b65a[_0x202730]=this,_0x583166(_0xabb477,this,_0x29b65a);};else return;}}}_0x993d70[_0x3f508e]=!!_0x4ce131[_0x3f508e],_0x993d70[_0x17ee43]=_0xabb477,_0x4ce131[_0x7e58a5(0x328)]?this[_0x7e58a5(0x328)](_0x2c9cee,_0x993d70):this['on'](_0x2c9cee,_0x993d70);},'removeEventListener'(_0x22da0c,_0x4eaeac){const _0x2898e1=_0x58b315;for(const _0x493c3b of this[_0x2898e1(0x2e0)](_0x22da0c))if(_0x493c3b[_0x17ee43]===_0x4eaeac&&!_0x493c3b[_0x3f508e]){this[_0x2898e1(0x310)](_0x22da0c,_0x493c3b);break;}}},'MessageEvent':_0x11062c};function _0x583166(_0x52f615,_0x4af8f2,_0x4becb5){const _0x1d2bd2=_0x58b315;typeof _0x52f615==_0x1d2bd2(0x2d6)&&_0x52f615['handleEvent']?_0x52f615[_0x1d2bd2(0x308)][_0x1d2bd2(0x190)](_0x52f615,_0x4becb5):_0x52f615[_0x1d2bd2(0x190)](_0x4af8f2,_0x4becb5);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x237c69}=ae();function _0x5c1b77(_0x25d66d,_0x22113f,_0x443318){const _0xbc2edd=_0x4e5b;_0x25d66d[_0x22113f]===void 0x0?_0x25d66d[_0x22113f]=[_0x443318]:_0x25d66d[_0x22113f][_0xbc2edd(0x20f)](_0x443318);}function _0x20bfc5(_0x16ab1c){const _0x5932ae=_0x4e5b,_0x201d41=Object['create'](null);let _0x5de9c4=Object[_0x5932ae(0x2ed)](null),_0x123626=!0x1,_0x1398a3=!0x1,_0x2d843c=!0x1,_0x4f11e1,_0x5434cb,_0x41e557=-0x1,_0x3e7218=-0x1,_0xfe22de=-0x1,_0x121e4c=0x0;for(;_0x121e4c<_0x16ab1c[_0x5932ae(0x1bc)];_0x121e4c++)if(_0x3e7218=_0x16ab1c[_0x5932ae(0x1b0)](_0x121e4c),_0x4f11e1===void 0x0){if(_0xfe22de===-0x1&&_0x237c69[_0x3e7218]===0x1)_0x41e557===-0x1&&(_0x41e557=_0x121e4c);else{if(_0x121e4c!==0x0&&(_0x3e7218===0x20||_0x3e7218===0x9))_0xfe22de===-0x1&&_0x41e557!==-0x1&&(_0xfe22de=_0x121e4c);else{if(_0x3e7218===0x3b||_0x3e7218===0x2c){if(_0x41e557===-0x1)throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);_0xfe22de===-0x1&&(_0xfe22de=_0x121e4c);const _0x183aa3=_0x16ab1c[_0x5932ae(0x24e)](_0x41e557,_0xfe22de);_0x3e7218===0x2c?(_0x5c1b77(_0x201d41,_0x183aa3,_0x5de9c4),_0x5de9c4=Object[_0x5932ae(0x2ed)](null)):_0x4f11e1=_0x183aa3,_0x41e557=_0xfe22de=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x121e4c);}}}else{if(_0x5434cb===void 0x0){if(_0xfe22de===-0x1&&_0x237c69[_0x3e7218]===0x1)_0x41e557===-0x1&&(_0x41e557=_0x121e4c);else{if(_0x3e7218===0x20||_0x3e7218===0x9)_0xfe22de===-0x1&&_0x41e557!==-0x1&&(_0xfe22de=_0x121e4c);else{if(_0x3e7218===0x3b||_0x3e7218===0x2c){if(_0x41e557===-0x1)throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);_0xfe22de===-0x1&&(_0xfe22de=_0x121e4c),_0x5c1b77(_0x5de9c4,_0x16ab1c[_0x5932ae(0x24e)](_0x41e557,_0xfe22de),!0x0),_0x3e7218===0x2c&&(_0x5c1b77(_0x201d41,_0x4f11e1,_0x5de9c4),_0x5de9c4=Object[_0x5932ae(0x2ed)](null),_0x4f11e1=void 0x0),_0x41e557=_0xfe22de=-0x1;}else{if(_0x3e7218===0x3d&&_0x41e557!==-0x1&&_0xfe22de===-0x1)_0x5434cb=_0x16ab1c[_0x5932ae(0x24e)](_0x41e557,_0x121e4c),_0x41e557=_0xfe22de=-0x1;else throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);}}}}else{if(_0x1398a3){if(_0x237c69[_0x3e7218]!==0x1)throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);_0x41e557===-0x1?_0x41e557=_0x121e4c:_0x123626||(_0x123626=!0x0),_0x1398a3=!0x1;}else{if(_0x2d843c){if(_0x237c69[_0x3e7218]===0x1)_0x41e557===-0x1&&(_0x41e557=_0x121e4c);else{if(_0x3e7218===0x22&&_0x41e557!==-0x1)_0x2d843c=!0x1,_0xfe22de=_0x121e4c;else{if(_0x3e7218===0x5c)_0x1398a3=!0x0;else throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);}}}else{if(_0x3e7218===0x22&&_0x16ab1c[_0x5932ae(0x1b0)](_0x121e4c-0x1)===0x3d)_0x2d843c=!0x0;else{if(_0xfe22de===-0x1&&_0x237c69[_0x3e7218]===0x1)_0x41e557===-0x1&&(_0x41e557=_0x121e4c);else{if(_0x41e557!==-0x1&&(_0x3e7218===0x20||_0x3e7218===0x9))_0xfe22de===-0x1&&(_0xfe22de=_0x121e4c);else{if(_0x3e7218===0x3b||_0x3e7218===0x2c){if(_0x41e557===-0x1)throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);_0xfe22de===-0x1&&(_0xfe22de=_0x121e4c);let _0x46b8d0=_0x16ab1c['slice'](_0x41e557,_0xfe22de);_0x123626&&(_0x46b8d0=_0x46b8d0['replace'](/\\/g,''),_0x123626=!0x1),_0x5c1b77(_0x5de9c4,_0x5434cb,_0x46b8d0),_0x3e7218===0x2c&&(_0x5c1b77(_0x201d41,_0x4f11e1,_0x5de9c4),_0x5de9c4=Object[_0x5932ae(0x2ed)](null),_0x4f11e1=void 0x0),_0x5434cb=void 0x0,_0x41e557=_0xfe22de=-0x1;}else throw new SyntaxError(_0x5932ae(0x226)+_0x121e4c);}}}}}}}if(_0x41e557===-0x1||_0x2d843c||_0x3e7218===0x20||_0x3e7218===0x9)throw new SyntaxError(_0x5932ae(0x20e));_0xfe22de===-0x1&&(_0xfe22de=_0x121e4c);const _0x3298f7=_0x16ab1c[_0x5932ae(0x24e)](_0x41e557,_0xfe22de);return _0x4f11e1===void 0x0?_0x5c1b77(_0x201d41,_0x3298f7,_0x5de9c4):(_0x5434cb===void 0x0?_0x5c1b77(_0x5de9c4,_0x3298f7,!0x0):_0x123626?_0x5c1b77(_0x5de9c4,_0x5434cb,_0x3298f7[_0x5932ae(0x22e)](/\\/g,'')):_0x5c1b77(_0x5de9c4,_0x5434cb,_0x3298f7),_0x5c1b77(_0x201d41,_0x4f11e1,_0x5de9c4)),_0x201d41;}function _0x103a7a(_0x47a7a3){const _0x160815=_0x4e5b;return Object[_0x160815(0x1fa)](_0x47a7a3)[_0x160815(0x271)](_0x84673a=>{const _0x1dbbc5=_0x160815;let _0xc0b971=_0x47a7a3[_0x84673a];return Array[_0x1dbbc5(0x1e2)](_0xc0b971)||(_0xc0b971=[_0xc0b971]),_0xc0b971[_0x1dbbc5(0x271)](_0x37c379=>[_0x84673a][_0x1dbbc5(0x1c1)](Object[_0x1dbbc5(0x1fa)](_0x37c379)['map'](_0x3c8430=>{const _0x45b0bb=_0x1dbbc5;let _0x3942ec=_0x37c379[_0x3c8430];return Array[_0x45b0bb(0x1e2)](_0x3942ec)||(_0x3942ec=[_0x3942ec]),_0x3942ec[_0x45b0bb(0x271)](_0x2172b0=>_0x2172b0===!0x0?_0x3c8430:_0x3c8430+'='+_0x2172b0)['join'](';\x20');}))[_0x1dbbc5(0x246)](';\x20'))[_0x1dbbc5(0x246)](',\x20');})['join'](',\x20');}return be={'format':_0x103a7a,'parse':_0x20bfc5},be;}var we,Je;function Pe(){const _0x14209c=_0x421112;if(Je)return we;Je=0x1;const _0x2b8093=nt,_0x217d24=vt,_0x10fa80=ot,_0x298b0f=St,_0x2dd9bd=Et,{randomBytes:_0x3d9a37,createHash:_0x548e8b}=Le,{Duplex:_0x48424d,Readable:_0x10a76c}=oe,{URL:_0x5d5cf8}=xt,_0x39c6e1=he(),_0x461c94=lt(),_0x76f877=ft(),{isBlob:_0x3dbfc5}=ae(),{BINARY_TYPES:_0x6061c8,EMPTY_BUFFER:_0x10721e,GUID:_0x2cfc69,kForOnEventAttribute:_0xa98b51,kListener:_0xf92ff2,kStatusCode:_0x1ff7ef,kWebSocket:_0x2e98db,NOOP:_0x26985f}=H(),{EventTarget:{addEventListener:_0x202d9a,removeEventListener:_0x514c2a}}=It(),{format:_0x48746b,parse:_0x5b6a71}=ct(),{toBuffer:_0xf06e8f}=ce(),_0x20c317=0x1e*0x3e8,_0x538cda=Symbol(_0x14209c(0x248)),_0x198f0f=[0x8,0xd],_0x443a43=['CONNECTING',_0x14209c(0x323),_0x14209c(0x290),'CLOSED'],_0x8b35e3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5196d2 extends _0x2b8093{constructor(_0x1122d7,_0x5e76ae,_0x258ced){const _0x4e9faa=_0x14209c;super(),this['_binaryType']=_0x6061c8[0x0],this[_0x4e9faa(0x185)]=0x3ee,this[_0x4e9faa(0x194)]=!0x1,this[_0x4e9faa(0x196)]=!0x1,this[_0x4e9faa(0x1c9)]=_0x10721e,this['_closeTimer']=null,this[_0x4e9faa(0x279)]=!0x1,this[_0x4e9faa(0x274)]={},this[_0x4e9faa(0x1d4)]=!0x1,this[_0x4e9faa(0x2c2)]='',this[_0x4e9faa(0x1e7)]=_0x5196d2[_0x4e9faa(0x2f8)],this[_0x4e9faa(0x2d5)]=null,this[_0x4e9faa(0x2e4)]=null,this['_socket']=null,_0x1122d7!==null?(this[_0x4e9faa(0x29e)]=0x0,this[_0x4e9faa(0x18b)]=!0x1,this['_redirects']=0x0,_0x5e76ae===void 0x0?_0x5e76ae=[]:Array[_0x4e9faa(0x1e2)](_0x5e76ae)||(typeof _0x5e76ae=='object'&&_0x5e76ae!==null?(_0x258ced=_0x5e76ae,_0x5e76ae=[]):_0x5e76ae=[_0x5e76ae]),_0xba30f(this,_0x1122d7,_0x5e76ae,_0x258ced)):(this[_0x4e9faa(0x222)]=_0x258ced[_0x4e9faa(0x294)],this[_0x4e9faa(0x18b)]=!0x0);}get[_0x14209c(0x276)](){const _0x15caf4=_0x14209c;return this[_0x15caf4(0x2a8)];}set[_0x14209c(0x276)](_0x2b2638){const _0x36e0be=_0x14209c;_0x6061c8[_0x36e0be(0x26a)](_0x2b2638)&&(this[_0x36e0be(0x2a8)]=_0x2b2638,this[_0x36e0be(0x2d5)]&&(this['_receiver'][_0x36e0be(0x2a8)]=_0x2b2638));}get[_0x14209c(0x1ee)](){const _0x2b0961=_0x14209c;return this['_socket']?this[_0x2b0961(0x318)][_0x2b0961(0x1a2)][_0x2b0961(0x1bc)]+this['_sender'][_0x2b0961(0x231)]:this[_0x2b0961(0x29e)];}get[_0x14209c(0x18f)](){const _0x155b45=_0x14209c;return Object['keys'](this[_0x155b45(0x274)])[_0x155b45(0x246)]();}get[_0x14209c(0x2a3)](){const _0x3ff45b=_0x14209c;return this[_0x3ff45b(0x1d4)];}get[_0x14209c(0x1f6)](){return null;}get['onerror'](){return null;}get[_0x14209c(0x2a7)](){return null;}get[_0x14209c(0x275)](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0x3993ae=_0x14209c;return this[_0x3993ae(0x1e7)];}get['url'](){const _0x4a062a=_0x14209c;return this[_0x4a062a(0x2c5)];}['setSocket'](_0x134097,_0x7922a5,_0x294404){const _0x336198=_0x14209c,_0x5c157c=new _0x461c94({'allowSynchronousEvents':_0x294404[_0x336198(0x315)],'binaryType':this[_0x336198(0x276)],'extensions':this[_0x336198(0x274)],'isServer':this[_0x336198(0x18b)],'maxPayload':_0x294404[_0x336198(0x327)],'skipUTF8Validation':_0x294404[_0x336198(0x2cc)]}),_0x583acb=new _0x76f877(_0x134097,this[_0x336198(0x274)],_0x294404[_0x336198(0x17d)]);this[_0x336198(0x2d5)]=_0x5c157c,this[_0x336198(0x2e4)]=_0x583acb,this['_socket']=_0x134097,_0x5c157c[_0x2e98db]=this,_0x583acb[_0x2e98db]=this,_0x134097[_0x2e98db]=this,_0x5c157c['on'](_0x336198(0x18d),_0x553cd8),_0x5c157c['on'](_0x336198(0x24b),_0x1f6c35),_0x5c157c['on']('error',_0x27849b),_0x5c157c['on']('message',_0x5e9da3),_0x5c157c['on'](_0x336198(0x1f9),_0x4af671),_0x5c157c['on']('pong',_0x3743a2),_0x583acb[_0x336198(0x25b)]=_0x5d8dac,_0x134097[_0x336198(0x247)]&&_0x134097[_0x336198(0x247)](0x0),_0x134097['setNoDelay']&&_0x134097[_0x336198(0x267)](),_0x7922a5[_0x336198(0x1bc)]>0x0&&_0x134097[_0x336198(0x1b7)](_0x7922a5),_0x134097['on'](_0x336198(0x251),_0x143ab3),_0x134097['on'](_0x336198(0x296),_0x5c3088),_0x134097['on'](_0x336198(0x2fd),_0x5a0f5f),_0x134097['on']('error',_0x534345),this[_0x336198(0x1e7)]=_0x5196d2['OPEN'],this[_0x336198(0x283)](_0x336198(0x1f3));}[_0x14209c(0x1c7)](){const _0x451291=_0x14209c;if(!this[_0x451291(0x318)]){this[_0x451291(0x1e7)]=_0x5196d2[_0x451291(0x264)],this['emit'](_0x451291(0x251),this[_0x451291(0x185)],this[_0x451291(0x1c9)]);return;}this['_extensions'][_0x39c6e1['extensionName']]&&this['_extensions'][_0x39c6e1[_0x451291(0x230)]][_0x451291(0x289)](),this[_0x451291(0x2d5)][_0x451291(0x1f4)](),this[_0x451291(0x1e7)]=_0x5196d2['CLOSED'],this[_0x451291(0x283)](_0x451291(0x251),this[_0x451291(0x185)],this['_closeMessage']);}[_0x14209c(0x251)](_0x3aaa4b,_0xb8a1f8){const _0x31518b=_0x14209c;if(this[_0x31518b(0x2ba)]!==_0x5196d2[_0x31518b(0x264)]){if(this[_0x31518b(0x2ba)]===_0x5196d2[_0x31518b(0x2f8)]){_0x3e815b(this,this[_0x31518b(0x295)],_0x31518b(0x270));return;}if(this[_0x31518b(0x2ba)]===_0x5196d2[_0x31518b(0x290)]){this[_0x31518b(0x196)]&&(this['_closeFrameReceived']||this[_0x31518b(0x2d5)]['_writableState'][_0x31518b(0x2d9)])&&this[_0x31518b(0x318)][_0x31518b(0x2fd)]();return;}this[_0x31518b(0x1e7)]=_0x5196d2[_0x31518b(0x290)],this['_sender'][_0x31518b(0x251)](_0x3aaa4b,_0xb8a1f8,!this[_0x31518b(0x18b)],_0x309f14=>{const _0xf4b742=_0x31518b;_0x309f14||(this[_0xf4b742(0x196)]=!0x0,(this[_0xf4b742(0x194)]||this[_0xf4b742(0x2d5)][_0xf4b742(0x1a2)]['errorEmitted'])&&this[_0xf4b742(0x318)]['end']());}),_0x5559f5(this);}}[_0x14209c(0x1f0)](){const _0x513cdd=_0x14209c;this[_0x513cdd(0x2ba)]===_0x5196d2[_0x513cdd(0x2f8)]||this[_0x513cdd(0x2ba)]===_0x5196d2[_0x513cdd(0x264)]||(this[_0x513cdd(0x1d4)]=!0x0,this[_0x513cdd(0x318)][_0x513cdd(0x1f0)]());}['ping'](_0x15071e,_0xeafeee,_0x562609){const _0x3e1a7f=_0x14209c;if(this['readyState']===_0x5196d2[_0x3e1a7f(0x2f8)])throw new Error(_0x3e1a7f(0x2fa));if(typeof _0x15071e=='function'?(_0x562609=_0x15071e,_0x15071e=_0xeafeee=void 0x0):typeof _0xeafeee==_0x3e1a7f(0x321)&&(_0x562609=_0xeafeee,_0xeafeee=void 0x0),typeof _0x15071e=='number'&&(_0x15071e=_0x15071e[_0x3e1a7f(0x1a1)]()),this[_0x3e1a7f(0x2ba)]!==_0x5196d2['OPEN']){_0xa1b814(this,_0x15071e,_0x562609);return;}_0xeafeee===void 0x0&&(_0xeafeee=!this['_isServer']),this[_0x3e1a7f(0x2e4)][_0x3e1a7f(0x1f9)](_0x15071e||_0x10721e,_0xeafeee,_0x562609);}[_0x14209c(0x22f)](_0x47f1b3,_0x583d0f,_0x39c23e){const _0x41c662=_0x14209c;if(this[_0x41c662(0x2ba)]===_0x5196d2[_0x41c662(0x2f8)])throw new Error(_0x41c662(0x2fa));if(typeof _0x47f1b3==_0x41c662(0x321)?(_0x39c23e=_0x47f1b3,_0x47f1b3=_0x583d0f=void 0x0):typeof _0x583d0f==_0x41c662(0x321)&&(_0x39c23e=_0x583d0f,_0x583d0f=void 0x0),typeof _0x47f1b3==_0x41c662(0x20a)&&(_0x47f1b3=_0x47f1b3['toString']()),this[_0x41c662(0x2ba)]!==_0x5196d2[_0x41c662(0x323)]){_0xa1b814(this,_0x47f1b3,_0x39c23e);return;}_0x583d0f===void 0x0&&(_0x583d0f=!this[_0x41c662(0x18b)]),this['_sender'][_0x41c662(0x22f)](_0x47f1b3||_0x10721e,_0x583d0f,_0x39c23e);}[_0x14209c(0x1c5)](){const _0x24ea0e=_0x14209c;this[_0x24ea0e(0x2ba)]===_0x5196d2[_0x24ea0e(0x2f8)]||this['readyState']===_0x5196d2['CLOSED']||(this[_0x24ea0e(0x1d4)]=!0x1,this[_0x24ea0e(0x2d5)][_0x24ea0e(0x1a2)]['needDrain']||this[_0x24ea0e(0x318)]['resume']());}[_0x14209c(0x234)](_0x2de947,_0x568873,_0x3c0b8d){const _0x4d8c39=_0x14209c;if(this[_0x4d8c39(0x2ba)]===_0x5196d2[_0x4d8c39(0x2f8)])throw new Error(_0x4d8c39(0x2fa));if(typeof _0x568873==_0x4d8c39(0x321)&&(_0x3c0b8d=_0x568873,_0x568873={}),typeof _0x2de947==_0x4d8c39(0x20a)&&(_0x2de947=_0x2de947['toString']()),this['readyState']!==_0x5196d2[_0x4d8c39(0x323)]){_0xa1b814(this,_0x2de947,_0x3c0b8d);return;}const _0x4f60d7={'binary':typeof _0x2de947!=_0x4d8c39(0x252),'mask':!this[_0x4d8c39(0x18b)],'compress':!0x0,'fin':!0x0,..._0x568873};this[_0x4d8c39(0x274)][_0x39c6e1[_0x4d8c39(0x230)]]||(_0x4f60d7['compress']=!0x1),this['_sender']['send'](_0x2de947||_0x10721e,_0x4f60d7,_0x3c0b8d);}[_0x14209c(0x183)](){const _0x5e18f3=_0x14209c;if(this[_0x5e18f3(0x2ba)]!==_0x5196d2[_0x5e18f3(0x264)]){if(this[_0x5e18f3(0x2ba)]===_0x5196d2[_0x5e18f3(0x2f8)]){_0x3e815b(this,this[_0x5e18f3(0x295)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5e18f3(0x318)]&&(this['_readyState']=_0x5196d2[_0x5e18f3(0x290)],this[_0x5e18f3(0x318)][_0x5e18f3(0x262)]());}}}Object['defineProperty'](_0x5196d2,_0x14209c(0x2f8),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)](_0x14209c(0x2f8))}),Object[_0x14209c(0x1d3)](_0x5196d2['prototype'],_0x14209c(0x2f8),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)](_0x14209c(0x2f8))}),Object[_0x14209c(0x1d3)](_0x5196d2,_0x14209c(0x323),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)](_0x14209c(0x323))}),Object[_0x14209c(0x1d3)](_0x5196d2[_0x14209c(0x1b2)],'OPEN',{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)](_0x14209c(0x323))}),Object[_0x14209c(0x1d3)](_0x5196d2,_0x14209c(0x290),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)](_0x14209c(0x290))}),Object['defineProperty'](_0x5196d2[_0x14209c(0x1b2)],_0x14209c(0x290),{'enumerable':!0x0,'value':_0x443a43['indexOf'](_0x14209c(0x290))}),Object[_0x14209c(0x1d3)](_0x5196d2,_0x14209c(0x264),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)]('CLOSED')}),Object[_0x14209c(0x1d3)](_0x5196d2[_0x14209c(0x1b2)],_0x14209c(0x264),{'enumerable':!0x0,'value':_0x443a43[_0x14209c(0x31d)]('CLOSED')}),[_0x14209c(0x276),_0x14209c(0x1ee),'extensions',_0x14209c(0x2a3),_0x14209c(0x2b7),_0x14209c(0x2ba),_0x14209c(0x331)][_0x14209c(0x1a0)](_0x401a4c=>{const _0x4e2c0a=_0x14209c;Object['defineProperty'](_0x5196d2[_0x4e2c0a(0x1b2)],_0x401a4c,{'enumerable':!0x0});}),[_0x14209c(0x1f3),'error',_0x14209c(0x251),'message'][_0x14209c(0x1a0)](_0x3738da=>{const _0x3b1726=_0x14209c;Object[_0x3b1726(0x1d3)](_0x5196d2[_0x3b1726(0x1b2)],'on'+_0x3738da,{'enumerable':!0x0,'get'(){const _0x3b531a=_0x3b1726;for(const _0x317afd of this[_0x3b531a(0x2e0)](_0x3738da))if(_0x317afd[_0xa98b51])return _0x317afd[_0xf92ff2];return null;},'set'(_0x361704){const _0x389f05=_0x3b1726;for(const _0x11b1f7 of this[_0x389f05(0x2e0)](_0x3738da))if(_0x11b1f7[_0xa98b51]){this[_0x389f05(0x310)](_0x3738da,_0x11b1f7);break;}typeof _0x361704==_0x389f05(0x321)&&this[_0x389f05(0x1bf)](_0x3738da,_0x361704,{[_0xa98b51]:!0x0});}});}),_0x5196d2[_0x14209c(0x1b2)][_0x14209c(0x1bf)]=_0x202d9a,_0x5196d2[_0x14209c(0x1b2)][_0x14209c(0x20b)]=_0x514c2a,we=_0x5196d2;function _0xba30f(_0x5e5575,_0x32661f,_0x1667ae,_0x3090ff){const _0x98a476=_0x14209c,_0x2a57d5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x198f0f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3090ff,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x98a476(0x18e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5e5575[_0x98a476(0x222)]=_0x2a57d5['autoPong'],!_0x198f0f[_0x98a476(0x26a)](_0x2a57d5[_0x98a476(0x19c)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2a57d5['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x198f0f[_0x98a476(0x246)](',\x20')+')');let _0x2f6975;if(_0x32661f instanceof _0x5d5cf8)_0x2f6975=_0x32661f;else try{_0x2f6975=new _0x5d5cf8(_0x32661f);}catch{throw new SyntaxError(_0x98a476(0x216)+_0x32661f);}_0x2f6975['protocol']===_0x98a476(0x263)?_0x2f6975[_0x98a476(0x2b7)]=_0x98a476(0x2ea):_0x2f6975[_0x98a476(0x2b7)]===_0x98a476(0x26e)&&(_0x2f6975['protocol']=_0x98a476(0x240)),_0x5e5575['_url']=_0x2f6975[_0x98a476(0x2a9)];const _0x539186=_0x2f6975[_0x98a476(0x2b7)]===_0x98a476(0x240),_0xd94d33=_0x2f6975[_0x98a476(0x2b7)]===_0x98a476(0x30f);let _0x1a93ef;if(_0x2f6975['protocol']!==_0x98a476(0x2ea)&&!_0x539186&&!_0xd94d33?_0x1a93ef=_0x98a476(0x220):_0xd94d33&&!_0x2f6975[_0x98a476(0x228)]?_0x1a93ef=_0x98a476(0x2d3):_0x2f6975['hash']&&(_0x1a93ef=_0x98a476(0x210)),_0x1a93ef){const _0x2995bf=new SyntaxError(_0x1a93ef);if(_0x5e5575[_0x98a476(0x236)]===0x0)throw _0x2995bf;_0x5b457a(_0x5e5575,_0x2995bf);return;}const _0x9ccdcf=_0x539186?0x1bb:0x50,_0x4d7159=_0x3d9a37(0x10)['toString'](_0x98a476(0x174)),_0x1faa36=_0x539186?_0x217d24[_0x98a476(0x2c9)]:_0x10fa80[_0x98a476(0x2c9)],_0x40ca3c=new Set();let _0x2d6266;if(_0x2a57d5[_0x98a476(0x2c4)]=_0x2a57d5[_0x98a476(0x2c4)]||(_0x539186?_0x4ffd27:_0x5cdf20),_0x2a57d5[_0x98a476(0x281)]=_0x2a57d5[_0x98a476(0x281)]||_0x9ccdcf,_0x2a57d5['port']=_0x2f6975['port']||_0x9ccdcf,_0x2a57d5['host']=_0x2f6975['hostname'][_0x98a476(0x2df)]('[')?_0x2f6975[_0x98a476(0x2cf)]['slice'](0x1,-0x1):_0x2f6975[_0x98a476(0x2cf)],_0x2a57d5['headers']={..._0x2a57d5[_0x98a476(0x1c3)],'Sec-WebSocket-Version':_0x2a57d5[_0x98a476(0x19c)],'Sec-WebSocket-Key':_0x4d7159,'Connection':_0x98a476(0x201),'Upgrade':_0x98a476(0x2dd)},_0x2a57d5[_0x98a476(0x1d5)]=_0x2f6975[_0x98a476(0x228)]+_0x2f6975[_0x98a476(0x211)],_0x2a57d5[_0x98a476(0x25a)]=_0x2a57d5[_0x98a476(0x24f)],_0x2a57d5['perMessageDeflate']&&(_0x2d6266=new _0x39c6e1(_0x2a57d5[_0x98a476(0x280)]!==!0x0?_0x2a57d5[_0x98a476(0x280)]:{},!0x1,_0x2a57d5[_0x98a476(0x327)]),_0x2a57d5[_0x98a476(0x1c3)][_0x98a476(0x2ee)]=_0x48746b({[_0x39c6e1[_0x98a476(0x230)]]:_0x2d6266[_0x98a476(0x28f)]()})),_0x1667ae[_0x98a476(0x1bc)]){for(const _0x7a85c6 of _0x1667ae){if(typeof _0x7a85c6!=_0x98a476(0x252)||!_0x8b35e3[_0x98a476(0x191)](_0x7a85c6)||_0x40ca3c[_0x98a476(0x19d)](_0x7a85c6))throw new SyntaxError(_0x98a476(0x282));_0x40ca3c[_0x98a476(0x2ca)](_0x7a85c6);}_0x2a57d5[_0x98a476(0x1c3)][_0x98a476(0x2f7)]=_0x1667ae[_0x98a476(0x246)](',');}if(_0x2a57d5[_0x98a476(0x219)]&&(_0x2a57d5[_0x98a476(0x19c)]<0xd?_0x2a57d5[_0x98a476(0x1c3)]['Sec-WebSocket-Origin']=_0x2a57d5['origin']:_0x2a57d5[_0x98a476(0x1c3)][_0x98a476(0x2c6)]=_0x2a57d5[_0x98a476(0x219)]),(_0x2f6975[_0x98a476(0x17a)]||_0x2f6975[_0x98a476(0x2e1)])&&(_0x2a57d5['auth']=_0x2f6975[_0x98a476(0x17a)]+':'+_0x2f6975[_0x98a476(0x2e1)]),_0xd94d33){const _0x132d26=_0x2a57d5[_0x98a476(0x1d5)][_0x98a476(0x2db)](':');_0x2a57d5['socketPath']=_0x132d26[0x0],_0x2a57d5[_0x98a476(0x1d5)]=_0x132d26[0x1];}let _0x21aaed;if(_0x2a57d5[_0x98a476(0x304)]){if(_0x5e5575[_0x98a476(0x236)]===0x0){_0x5e5575[_0x98a476(0x32b)]=_0xd94d33,_0x5e5575['_originalSecure']=_0x539186,_0x5e5575[_0x98a476(0x302)]=_0xd94d33?_0x2a57d5[_0x98a476(0x1fe)]:_0x2f6975[_0x98a476(0x2f1)];const _0x33bd7e=_0x3090ff&&_0x3090ff[_0x98a476(0x1c3)];if(_0x3090ff={..._0x3090ff,'headers':{}},_0x33bd7e){for(const [_0xa6d237,_0x43c7b9]of Object[_0x98a476(0x32f)](_0x33bd7e))_0x3090ff[_0x98a476(0x1c3)][_0xa6d237[_0x98a476(0x2a1)]()]=_0x43c7b9;}}else{if(_0x5e5575[_0x98a476(0x2a2)](_0x98a476(0x1eb))===0x0){const _0x526cb7=_0xd94d33?_0x5e5575['_originalIpc']?_0x2a57d5['socketPath']===_0x5e5575[_0x98a476(0x302)]:!0x1:_0x5e5575[_0x98a476(0x32b)]?!0x1:_0x2f6975['host']===_0x5e5575[_0x98a476(0x302)];(!_0x526cb7||_0x5e5575['_originalSecure']&&!_0x539186)&&(delete _0x2a57d5[_0x98a476(0x1c3)][_0x98a476(0x1cd)],delete _0x2a57d5['headers'][_0x98a476(0x242)],_0x526cb7||delete _0x2a57d5[_0x98a476(0x1c3)][_0x98a476(0x2f1)],_0x2a57d5[_0x98a476(0x217)]=void 0x0);}}_0x2a57d5[_0x98a476(0x217)]&&!_0x3090ff[_0x98a476(0x1c3)][_0x98a476(0x1cd)]&&(_0x3090ff[_0x98a476(0x1c3)][_0x98a476(0x1cd)]='Basic\x20'+Buffer[_0x98a476(0x29a)](_0x2a57d5[_0x98a476(0x217)])[_0x98a476(0x1a1)]('base64')),_0x21aaed=_0x5e5575[_0x98a476(0x295)]=_0x1faa36(_0x2a57d5),_0x5e5575[_0x98a476(0x236)]&&_0x5e5575[_0x98a476(0x283)](_0x98a476(0x1eb),_0x5e5575[_0x98a476(0x331)],_0x21aaed);}else _0x21aaed=_0x5e5575[_0x98a476(0x295)]=_0x1faa36(_0x2a57d5);_0x2a57d5[_0x98a476(0x25a)]&&_0x21aaed['on']('timeout',()=>{const _0x62d865=_0x98a476;_0x3e815b(_0x5e5575,_0x21aaed,_0x62d865(0x1fc));}),_0x21aaed['on'](_0x98a476(0x1df),_0x3e697f=>{const _0x523553=_0x98a476;_0x21aaed===null||_0x21aaed[_0x538cda]||(_0x21aaed=_0x5e5575[_0x523553(0x295)]=null,_0x5b457a(_0x5e5575,_0x3e697f));}),_0x21aaed['on'](_0x98a476(0x312),_0x460584=>{const _0x4da120=_0x98a476,_0x3d7bd2=_0x460584[_0x4da120(0x1c3)][_0x4da120(0x243)],_0x44703b=_0x460584[_0x4da120(0x224)];if(_0x3d7bd2&&_0x2a57d5[_0x4da120(0x304)]&&_0x44703b>=0x12c&&_0x44703b<0x190){if(++_0x5e5575[_0x4da120(0x236)]>_0x2a57d5['maxRedirects']){_0x3e815b(_0x5e5575,_0x21aaed,_0x4da120(0x27b));return;}_0x21aaed['abort']();let _0x260f5e;try{_0x260f5e=new _0x5d5cf8(_0x3d7bd2,_0x32661f);}catch{const _0x3215eb=new SyntaxError(_0x4da120(0x216)+_0x3d7bd2);_0x5b457a(_0x5e5575,_0x3215eb);return;}_0xba30f(_0x5e5575,_0x260f5e,_0x1667ae,_0x3090ff);}else _0x5e5575['emit'](_0x4da120(0x213),_0x21aaed,_0x460584)||_0x3e815b(_0x5e5575,_0x21aaed,_0x4da120(0x1b9)+_0x460584[_0x4da120(0x224)]);}),_0x21aaed['on'](_0x98a476(0x2c8),(_0x217c69,_0x4c6b20,_0x532864)=>{const _0x3f3c4c=_0x98a476;if(_0x5e5575[_0x3f3c4c(0x283)](_0x3f3c4c(0x2c8),_0x217c69),_0x5e5575[_0x3f3c4c(0x2ba)]!==_0x5196d2[_0x3f3c4c(0x2f8)])return;_0x21aaed=_0x5e5575['_req']=null;const _0x4338b0=_0x217c69['headers'][_0x3f3c4c(0x2c8)];if(_0x4338b0===void 0x0||_0x4338b0['toLowerCase']()!==_0x3f3c4c(0x2dd)){_0x3e815b(_0x5e5575,_0x4c6b20,_0x3f3c4c(0x1c0));return;}const _0x27495d=_0x548e8b('sha1')[_0x3f3c4c(0x2d1)](_0x4d7159+_0x2cfc69)[_0x3f3c4c(0x1dd)](_0x3f3c4c(0x174));if(_0x217c69[_0x3f3c4c(0x1c3)][_0x3f3c4c(0x314)]!==_0x27495d){_0x3e815b(_0x5e5575,_0x4c6b20,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x5978ae=_0x217c69[_0x3f3c4c(0x1c3)]['sec-websocket-protocol'];let _0x205fe0;if(_0x5978ae!==void 0x0?_0x40ca3c[_0x3f3c4c(0x1a3)]?_0x40ca3c['has'](_0x5978ae)||(_0x205fe0=_0x3f3c4c(0x2ce)):_0x205fe0='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x40ca3c[_0x3f3c4c(0x1a3)]&&(_0x205fe0=_0x3f3c4c(0x326)),_0x205fe0){_0x3e815b(_0x5e5575,_0x4c6b20,_0x205fe0);return;}_0x5978ae&&(_0x5e5575[_0x3f3c4c(0x2c2)]=_0x5978ae);const _0x171e42=_0x217c69[_0x3f3c4c(0x1c3)][_0x3f3c4c(0x19a)];if(_0x171e42!==void 0x0){if(!_0x2d6266){_0x3e815b(_0x5e5575,_0x4c6b20,_0x3f3c4c(0x2f3));return;}let _0x56bd61;try{_0x56bd61=_0x5b6a71(_0x171e42);}catch{_0x3e815b(_0x5e5575,_0x4c6b20,_0x3f3c4c(0x187));return;}const _0x8c3c81=Object['keys'](_0x56bd61);if(_0x8c3c81['length']!==0x1||_0x8c3c81[0x0]!==_0x39c6e1['extensionName']){_0x3e815b(_0x5e5575,_0x4c6b20,_0x3f3c4c(0x1ad));return;}try{_0x2d6266[_0x3f3c4c(0x22d)](_0x56bd61[_0x39c6e1[_0x3f3c4c(0x230)]]);}catch{_0x3e815b(_0x5e5575,_0x4c6b20,_0x3f3c4c(0x187));return;}_0x5e5575['_extensions'][_0x39c6e1[_0x3f3c4c(0x230)]]=_0x2d6266;}_0x5e5575[_0x3f3c4c(0x298)](_0x4c6b20,_0x532864,{'allowSynchronousEvents':_0x2a57d5[_0x3f3c4c(0x315)],'generateMask':_0x2a57d5[_0x3f3c4c(0x17d)],'maxPayload':_0x2a57d5[_0x3f3c4c(0x327)],'skipUTF8Validation':_0x2a57d5['skipUTF8Validation']});}),_0x2a57d5[_0x98a476(0x2d7)]?_0x2a57d5[_0x98a476(0x2d7)](_0x21aaed,_0x5e5575):_0x21aaed[_0x98a476(0x2fd)]();}function _0x5b457a(_0x1d05a0,_0x3b67fa){const _0x25ba1a=_0x14209c;_0x1d05a0[_0x25ba1a(0x1e7)]=_0x5196d2[_0x25ba1a(0x290)],_0x1d05a0[_0x25ba1a(0x279)]=!0x0,_0x1d05a0[_0x25ba1a(0x283)](_0x25ba1a(0x1df),_0x3b67fa),_0x1d05a0[_0x25ba1a(0x1c7)]();}function _0x5cdf20(_0x1f5d9d){const _0x2b2e78=_0x14209c;return _0x1f5d9d[_0x2b2e78(0x1d5)]=_0x1f5d9d[_0x2b2e78(0x1fe)],_0x298b0f[_0x2b2e78(0x1fd)](_0x1f5d9d);}function _0x4ffd27(_0xab5211){const _0x54744f=_0x14209c;return _0xab5211['path']=void 0x0,!_0xab5211[_0x54744f(0x253)]&&_0xab5211[_0x54744f(0x253)]!==''&&(_0xab5211[_0x54744f(0x253)]=_0x298b0f[_0x54744f(0x1ec)](_0xab5211[_0x54744f(0x2f1)])?'':_0xab5211[_0x54744f(0x2f1)]),_0x2dd9bd[_0x54744f(0x1fd)](_0xab5211);}function _0x3e815b(_0x171f09,_0x39e2ef,_0x5e6824){const _0x23f43d=_0x14209c;_0x171f09[_0x23f43d(0x1e7)]=_0x5196d2[_0x23f43d(0x290)];const _0x1e470d=new Error(_0x5e6824);Error[_0x23f43d(0x1af)](_0x1e470d,_0x3e815b),_0x39e2ef[_0x23f43d(0x1e9)]?(_0x39e2ef[_0x538cda]=!0x0,_0x39e2ef[_0x23f43d(0x272)](),_0x39e2ef[_0x23f43d(0x2af)]&&!_0x39e2ef[_0x23f43d(0x2af)][_0x23f43d(0x193)]&&_0x39e2ef[_0x23f43d(0x2af)][_0x23f43d(0x262)](),process[_0x23f43d(0x189)](_0x5b457a,_0x171f09,_0x1e470d)):(_0x39e2ef['destroy'](_0x1e470d),_0x39e2ef[_0x23f43d(0x328)](_0x23f43d(0x1df),_0x171f09[_0x23f43d(0x283)][_0x23f43d(0x2f6)](_0x171f09,'error')),_0x39e2ef[_0x23f43d(0x328)](_0x23f43d(0x251),_0x171f09['emitClose'][_0x23f43d(0x2f6)](_0x171f09)));}function _0xa1b814(_0x2b393f,_0x59eb76,_0x59fc97){const _0x192265=_0x14209c;if(_0x59eb76){const _0x18d9ff=_0x3dbfc5(_0x59eb76)?_0x59eb76[_0x192265(0x1a3)]:_0xf06e8f(_0x59eb76)[_0x192265(0x1bc)];_0x2b393f['_socket']?_0x2b393f[_0x192265(0x2e4)][_0x192265(0x231)]+=_0x18d9ff:_0x2b393f[_0x192265(0x29e)]+=_0x18d9ff;}if(_0x59fc97){const _0x5ef60f=new Error(_0x192265(0x320)+_0x2b393f[_0x192265(0x2ba)]+'\x20('+_0x443a43[_0x2b393f[_0x192265(0x2ba)]]+')');process[_0x192265(0x189)](_0x59fc97,_0x5ef60f);}}function _0x553cd8(_0x1d6de9,_0x5061b6){const _0x218954=_0x14209c,_0x1bb074=this[_0x2e98db];_0x1bb074[_0x218954(0x194)]=!0x0,_0x1bb074[_0x218954(0x1c9)]=_0x5061b6,_0x1bb074[_0x218954(0x185)]=_0x1d6de9,_0x1bb074['_socket'][_0x2e98db]!==void 0x0&&(_0x1bb074[_0x218954(0x318)][_0x218954(0x310)](_0x218954(0x296),_0x5c3088),process[_0x218954(0x189)](_0x185c39,_0x1bb074[_0x218954(0x318)]),_0x1d6de9===0x3ed?_0x1bb074[_0x218954(0x251)]():_0x1bb074[_0x218954(0x251)](_0x1d6de9,_0x5061b6));}function _0x1f6c35(){const _0x34644b=_0x14209c,_0x130c7e=this[_0x2e98db];_0x130c7e[_0x34644b(0x2a3)]||_0x130c7e[_0x34644b(0x318)][_0x34644b(0x1c5)]();}function _0x27849b(_0x1ea9a0){const _0x4d919b=_0x14209c,_0x432f05=this[_0x2e98db];_0x432f05[_0x4d919b(0x318)][_0x2e98db]!==void 0x0&&(_0x432f05[_0x4d919b(0x318)][_0x4d919b(0x310)]('data',_0x5c3088),process['nextTick'](_0x185c39,_0x432f05[_0x4d919b(0x318)]),_0x432f05['close'](_0x1ea9a0[_0x1ff7ef])),_0x432f05['_errorEmitted']||(_0x432f05[_0x4d919b(0x279)]=!0x0,_0x432f05[_0x4d919b(0x283)]('error',_0x1ea9a0));}function _0x3d4312(){const _0x562bb1=_0x14209c;this[_0x2e98db][_0x562bb1(0x1c7)]();}function _0x5e9da3(_0x1f995d,_0x45bde2){const _0x42f79e=_0x14209c;this[_0x2e98db][_0x42f79e(0x283)](_0x42f79e(0x1c4),_0x1f995d,_0x45bde2);}function _0x4af671(_0xb4c192){const _0x479e4d=_0x14209c,_0x1c4921=this[_0x2e98db];_0x1c4921[_0x479e4d(0x222)]&&_0x1c4921[_0x479e4d(0x22f)](_0xb4c192,!this[_0x479e4d(0x18b)],_0x26985f),_0x1c4921[_0x479e4d(0x283)]('ping',_0xb4c192);}function _0x3743a2(_0x27fc09){const _0x21860b=_0x14209c;this[_0x2e98db]['emit'](_0x21860b(0x22f),_0x27fc09);}function _0x185c39(_0x2b93fa){const _0x422daa=_0x14209c;_0x2b93fa[_0x422daa(0x1c5)]();}function _0x5d8dac(_0x165ee0){const _0x3a8369=_0x14209c,_0x31c16a=this[_0x2e98db];_0x31c16a['readyState']!==_0x5196d2[_0x3a8369(0x264)]&&(_0x31c16a[_0x3a8369(0x2ba)]===_0x5196d2[_0x3a8369(0x323)]&&(_0x31c16a[_0x3a8369(0x1e7)]=_0x5196d2['CLOSING'],_0x5559f5(_0x31c16a)),this[_0x3a8369(0x318)]['end'](),_0x31c16a['_errorEmitted']||(_0x31c16a['_errorEmitted']=!0x0,_0x31c16a[_0x3a8369(0x283)](_0x3a8369(0x1df),_0x165ee0)));}function _0x5559f5(_0x6c0756){const _0xf3feed=_0x14209c;_0x6c0756[_0xf3feed(0x1d6)]=setTimeout(_0x6c0756['_socket'][_0xf3feed(0x262)][_0xf3feed(0x2f6)](_0x6c0756[_0xf3feed(0x318)]),_0x20c317);}function _0x143ab3(){const _0x2f11db=_0x14209c,_0x5bc3fb=this[_0x2e98db];this['removeListener']('close',_0x143ab3),this[_0x2f11db(0x310)](_0x2f11db(0x296),_0x5c3088),this[_0x2f11db(0x310)]('end',_0x5a0f5f),_0x5bc3fb[_0x2f11db(0x1e7)]=_0x5196d2[_0x2f11db(0x290)];let _0x46dd06;!this[_0x2f11db(0x21c)][_0x2f11db(0x170)]&&!_0x5bc3fb[_0x2f11db(0x194)]&&!_0x5bc3fb[_0x2f11db(0x2d5)][_0x2f11db(0x1a2)]['errorEmitted']&&(_0x46dd06=_0x5bc3fb[_0x2f11db(0x318)][_0x2f11db(0x32d)]())!==null&&_0x5bc3fb['_receiver']['write'](_0x46dd06),_0x5bc3fb[_0x2f11db(0x2d5)]['end'](),this[_0x2e98db]=void 0x0,clearTimeout(_0x5bc3fb[_0x2f11db(0x1d6)]),_0x5bc3fb['_receiver']['_writableState']['finished']||_0x5bc3fb['_receiver'][_0x2f11db(0x1a2)][_0x2f11db(0x2d9)]?_0x5bc3fb[_0x2f11db(0x1c7)]():(_0x5bc3fb[_0x2f11db(0x2d5)]['on'](_0x2f11db(0x1df),_0x3d4312),_0x5bc3fb[_0x2f11db(0x2d5)]['on'](_0x2f11db(0x31c),_0x3d4312));}function _0x5c3088(_0x2cd976){const _0x577734=_0x14209c;this[_0x2e98db][_0x577734(0x2d5)][_0x577734(0x1e1)](_0x2cd976)||this['pause']();}function _0x5a0f5f(){const _0x3a3ebc=_0x14209c,_0x3deebe=this[_0x2e98db];_0x3deebe[_0x3a3ebc(0x1e7)]=_0x5196d2[_0x3a3ebc(0x290)],_0x3deebe[_0x3a3ebc(0x2d5)][_0x3a3ebc(0x2fd)](),this['end']();}function _0x534345(){const _0x3aac01=_0x14209c,_0x4aa860=this[_0x2e98db];this[_0x3aac01(0x310)](_0x3aac01(0x1df),_0x534345),this['on'](_0x3aac01(0x1df),_0x26985f),_0x4aa860&&(_0x4aa860[_0x3aac01(0x1e7)]=_0x5196d2[_0x3aac01(0x290)],this[_0x3aac01(0x262)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3fbf2d}=oe;function _0x182795(_0x1243b4){const _0x468e0a=_0x4e5b;_0x1243b4['emit'](_0x468e0a(0x251));}function _0x260d99(){const _0x36811d=_0x4e5b;!this[_0x36811d(0x193)]&&this['_writableState']['finished']&&this[_0x36811d(0x262)]();}function _0x521af8(_0x3d9004){const _0x4b5057=_0x4e5b;this[_0x4b5057(0x310)](_0x4b5057(0x1df),_0x521af8),this[_0x4b5057(0x262)](),this[_0x4b5057(0x2a2)](_0x4b5057(0x1df))===0x0&&this[_0x4b5057(0x283)](_0x4b5057(0x1df),_0x3d9004);}function _0x5d29a0(_0x587fba,_0x326edf){const _0x5eb195=_0x4e5b;let _0x4ca91d=!0x0;const _0x291409=new _0x3fbf2d({..._0x326edf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x587fba['on'](_0x5eb195(0x1c4),function(_0x1308c7,_0x4fe8b8){const _0x35435f=_0x5eb195,_0x384593=!_0x4fe8b8&&_0x291409['_readableState'][_0x35435f(0x1f5)]?_0x1308c7[_0x35435f(0x1a1)]():_0x1308c7;_0x291409[_0x35435f(0x20f)](_0x384593)||_0x587fba[_0x35435f(0x1f0)]();}),_0x587fba[_0x5eb195(0x328)](_0x5eb195(0x1df),function(_0x35be1f){const _0x1d7436=_0x5eb195;_0x291409['destroyed']||(_0x4ca91d=!0x1,_0x291409[_0x1d7436(0x262)](_0x35be1f));}),_0x587fba[_0x5eb195(0x328)](_0x5eb195(0x251),function(){const _0x528a9a=_0x5eb195;_0x291409[_0x528a9a(0x193)]||_0x291409[_0x528a9a(0x20f)](null);}),_0x291409[_0x5eb195(0x2ab)]=function(_0x3d5a52,_0x159bf3){const _0x506fed=_0x5eb195;if(_0x587fba[_0x506fed(0x2ba)]===_0x587fba[_0x506fed(0x264)]){_0x159bf3(_0x3d5a52),process[_0x506fed(0x189)](_0x182795,_0x291409);return;}let _0x2dc64c=!0x1;_0x587fba[_0x506fed(0x328)]('error',function(_0x12e95a){_0x2dc64c=!0x0,_0x159bf3(_0x12e95a);}),_0x587fba['once']('close',function(){_0x2dc64c||_0x159bf3(_0x3d5a52),process['nextTick'](_0x182795,_0x291409);}),_0x4ca91d&&_0x587fba[_0x506fed(0x183)]();},_0x291409['_final']=function(_0x12aab4){const _0x2abf16=_0x5eb195;if(_0x587fba[_0x2abf16(0x2ba)]===_0x587fba[_0x2abf16(0x2f8)]){_0x587fba[_0x2abf16(0x328)](_0x2abf16(0x1f3),function(){const _0x40d3ec=_0x2abf16;_0x291409[_0x40d3ec(0x2dc)](_0x12aab4);});return;}_0x587fba[_0x2abf16(0x318)]!==null&&(_0x587fba[_0x2abf16(0x318)]['_writableState'][_0x2abf16(0x26b)]?(_0x12aab4(),_0x291409['_readableState']['endEmitted']&&_0x291409[_0x2abf16(0x262)]()):(_0x587fba[_0x2abf16(0x318)][_0x2abf16(0x328)](_0x2abf16(0x31c),function(){_0x12aab4();}),_0x587fba['close']()));},_0x291409[_0x5eb195(0x2a6)]=function(){const _0x10598e=_0x5eb195;_0x587fba[_0x10598e(0x2a3)]&&_0x587fba[_0x10598e(0x1c5)]();},_0x291409[_0x5eb195(0x28d)]=function(_0x3cab8c,_0x3778d9,_0x373400){const _0xef00a2=_0x5eb195;if(_0x587fba[_0xef00a2(0x2ba)]===_0x587fba[_0xef00a2(0x2f8)]){_0x587fba[_0xef00a2(0x328)](_0xef00a2(0x1f3),function(){const _0x126233=_0xef00a2;_0x291409[_0x126233(0x28d)](_0x3cab8c,_0x3778d9,_0x373400);});return;}_0x587fba['send'](_0x3cab8c,_0x373400);},_0x291409['on'](_0x5eb195(0x2fd),_0x260d99),_0x291409['on'](_0x5eb195(0x1df),_0x521af8),_0x291409;}return Oe=_0x5d29a0,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3e9da4}=ae();function _0x497417(_0x4c5bba){const _0x34e1fb=_0x4e5b,_0x564296=new Set();let _0x4f38ef=-0x1,_0x529bfe=-0x1,_0x1a9af4=0x0;for(_0x1a9af4;_0x1a9af4<_0x4c5bba[_0x34e1fb(0x1bc)];_0x1a9af4++){const _0x127d6a=_0x4c5bba[_0x34e1fb(0x1b0)](_0x1a9af4);if(_0x529bfe===-0x1&&_0x3e9da4[_0x127d6a]===0x1)_0x4f38ef===-0x1&&(_0x4f38ef=_0x1a9af4);else{if(_0x1a9af4!==0x0&&(_0x127d6a===0x20||_0x127d6a===0x9))_0x529bfe===-0x1&&_0x4f38ef!==-0x1&&(_0x529bfe=_0x1a9af4);else{if(_0x127d6a===0x2c){if(_0x4f38ef===-0x1)throw new SyntaxError(_0x34e1fb(0x226)+_0x1a9af4);_0x529bfe===-0x1&&(_0x529bfe=_0x1a9af4);const _0x290993=_0x4c5bba[_0x34e1fb(0x24e)](_0x4f38ef,_0x529bfe);if(_0x564296['has'](_0x290993))throw new SyntaxError(_0x34e1fb(0x332)+_0x290993+_0x34e1fb(0x293));_0x564296[_0x34e1fb(0x2ca)](_0x290993),_0x4f38ef=_0x529bfe=-0x1;}else throw new SyntaxError(_0x34e1fb(0x226)+_0x1a9af4);}}}if(_0x4f38ef===-0x1||_0x529bfe!==-0x1)throw new SyntaxError(_0x34e1fb(0x20e));const _0x16b7ee=_0x4c5bba[_0x34e1fb(0x24e)](_0x4f38ef,_0x1a9af4);if(_0x564296[_0x34e1fb(0x19d)](_0x16b7ee))throw new SyntaxError('The\x20\x22'+_0x16b7ee+'\x22\x20subprotocol\x20is\x20duplicated');return _0x564296[_0x34e1fb(0x2ca)](_0x16b7ee),_0x564296;}return Ce={'parse':_0x497417},Ce;}var Te,rt;function Ft(){const _0x142352=_0x421112;if(rt)return Te;rt=0x1;const _0x2b62aa=nt,_0x205b00=ot,{Duplex:_0x1e525e}=oe,{createHash:_0x3de0e5}=Le,_0x26288e=ct(),_0xf4d79f=he(),_0x24cab1=At(),_0x7e56a8=Pe(),{GUID:_0x11206a,kWebSocket:_0x1b8bd1}=H(),_0x2973fe=/^[+/0-9A-Za-z]{22}==$/,_0x1d21e7=0x0,_0x27cd28=0x1,_0xfa6229=0x2;class _0x5ef81b extends _0x2b62aa{constructor(_0x426688,_0x5e0382){const _0x2cbe6d=_0x4e5b;if(super(),_0x426688={'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':_0x7e56a8,..._0x426688},_0x426688[_0x2cbe6d(0x1ce)]==null&&!_0x426688[_0x2cbe6d(0x245)]&&!_0x426688[_0x2cbe6d(0x313)]||_0x426688[_0x2cbe6d(0x1ce)]!=null&&(_0x426688[_0x2cbe6d(0x245)]||_0x426688[_0x2cbe6d(0x313)])||_0x426688[_0x2cbe6d(0x245)]&&_0x426688[_0x2cbe6d(0x313)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x426688[_0x2cbe6d(0x1ce)]!=null?(this[_0x2cbe6d(0x266)]=_0x205b00[_0x2cbe6d(0x2bf)]((_0x21052f,_0x828576)=>{const _0x194452=_0x2cbe6d,_0x43c6ab=_0x205b00[_0x194452(0x2ec)][0x1aa];_0x828576[_0x194452(0x2c7)](0x1aa,{'Content-Length':_0x43c6ab[_0x194452(0x1bc)],'Content-Type':_0x194452(0x1de)}),_0x828576[_0x194452(0x2fd)](_0x43c6ab);}),this[_0x2cbe6d(0x266)][_0x2cbe6d(0x28e)](_0x426688[_0x2cbe6d(0x1ce)],_0x426688['host'],_0x426688[_0x2cbe6d(0x2bb)],_0x5e0382)):_0x426688[_0x2cbe6d(0x245)]&&(this[_0x2cbe6d(0x266)]=_0x426688[_0x2cbe6d(0x245)]),this[_0x2cbe6d(0x266)]){const _0x4b8267=this[_0x2cbe6d(0x283)][_0x2cbe6d(0x2f6)](this,_0x2cbe6d(0x309));this['_removeListeners']=_0x5c0897(this['_server'],{'listening':this[_0x2cbe6d(0x283)][_0x2cbe6d(0x2f6)](this,_0x2cbe6d(0x1ea)),'error':this[_0x2cbe6d(0x283)][_0x2cbe6d(0x2f6)](this,'error'),'upgrade':(_0x26f525,_0x19b187,_0x1f0288)=>{const _0x5e5868=_0x2cbe6d;this[_0x5e5868(0x1b3)](_0x26f525,_0x19b187,_0x1f0288,_0x4b8267);}});}_0x426688[_0x2cbe6d(0x280)]===!0x0&&(_0x426688[_0x2cbe6d(0x280)]={}),_0x426688[_0x2cbe6d(0x336)]&&(this[_0x2cbe6d(0x1d0)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x2cbe6d(0x212)]=_0x426688,this[_0x2cbe6d(0x208)]=_0x1d21e7;}[_0x142352(0x1d7)](){const _0x57bb9d=_0x142352;if(this[_0x57bb9d(0x212)]['noServer'])throw new Error(_0x57bb9d(0x195));return this[_0x57bb9d(0x266)]?this[_0x57bb9d(0x266)]['address']():null;}[_0x142352(0x251)](_0x12ec21){const _0x1c57fe=_0x142352;if(this[_0x1c57fe(0x208)]===_0xfa6229){_0x12ec21&&this[_0x1c57fe(0x328)](_0x1c57fe(0x251),()=>{const _0x438797=_0x1c57fe;_0x12ec21(new Error(_0x438797(0x258)));}),process['nextTick'](_0x1d5352,this);return;}if(_0x12ec21&&this[_0x1c57fe(0x328)]('close',_0x12ec21),this[_0x1c57fe(0x208)]!==_0x27cd28){if(this[_0x1c57fe(0x208)]=_0x27cd28,this[_0x1c57fe(0x212)][_0x1c57fe(0x313)]||this[_0x1c57fe(0x212)][_0x1c57fe(0x245)])this[_0x1c57fe(0x266)]&&(this['_removeListeners'](),this[_0x1c57fe(0x1a8)]=this['_server']=null),this[_0x1c57fe(0x1d0)]?this[_0x1c57fe(0x1d0)][_0x1c57fe(0x1a3)]?this[_0x1c57fe(0x319)]=!0x0:process['nextTick'](_0x1d5352,this):process[_0x1c57fe(0x189)](_0x1d5352,this);else{const _0x1ae684=this[_0x1c57fe(0x266)];this[_0x1c57fe(0x1a8)](),this[_0x1c57fe(0x1a8)]=this[_0x1c57fe(0x266)]=null,_0x1ae684[_0x1c57fe(0x251)](()=>{_0x1d5352(this);});}}}[_0x142352(0x1e6)](_0x59cd24){const _0x3aef39=_0x142352;if(this['options'][_0x3aef39(0x1d5)]){const _0x49d01b=_0x59cd24[_0x3aef39(0x331)][_0x3aef39(0x31d)]('?');if((_0x49d01b!==-0x1?_0x59cd24[_0x3aef39(0x331)][_0x3aef39(0x24e)](0x0,_0x49d01b):_0x59cd24[_0x3aef39(0x331)])!==this[_0x3aef39(0x212)]['path'])return!0x1;}return!0x0;}[_0x142352(0x1b3)](_0x381b4e,_0x527842,_0x12891b,_0x1629e4){const _0x495174=_0x142352;_0x527842['on'](_0x495174(0x1df),_0x495f17);const _0xb6b05=_0x381b4e[_0x495174(0x1c3)][_0x495174(0x1cf)],_0x327103=_0x381b4e[_0x495174(0x1c3)][_0x495174(0x2c8)],_0x1c9862=+_0x381b4e[_0x495174(0x1c3)][_0x495174(0x2fb)];if(_0x381b4e['method']!==_0x495174(0x18e)){_0x23ee2b(this,_0x381b4e,_0x527842,0x195,_0x495174(0x303));return;}if(_0x327103===void 0x0||_0x327103[_0x495174(0x2a1)]()!==_0x495174(0x2dd)){_0x23ee2b(this,_0x381b4e,_0x527842,0x190,_0x495174(0x1c0));return;}if(_0xb6b05===void 0x0||!_0x2973fe[_0x495174(0x191)](_0xb6b05)){_0x23ee2b(this,_0x381b4e,_0x527842,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x1c9862!==0xd&&_0x1c9862!==0x8){_0x23ee2b(this,_0x381b4e,_0x527842,0x190,_0x495174(0x2de),{'Sec-WebSocket-Version':_0x495174(0x218)});return;}if(!this['shouldHandle'](_0x381b4e)){_0xb27a04(_0x527842,0x190);return;}const _0x12feaa=_0x381b4e[_0x495174(0x1c3)][_0x495174(0x1a7)];let _0x299f27=new Set();if(_0x12feaa!==void 0x0)try{_0x299f27=_0x24cab1[_0x495174(0x1a9)](_0x12feaa);}catch{_0x23ee2b(this,_0x381b4e,_0x527842,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x27669e=_0x381b4e[_0x495174(0x1c3)][_0x495174(0x19a)],_0x1aad22={};if(this['options'][_0x495174(0x280)]&&_0x27669e!==void 0x0){const _0x325798=new _0xf4d79f(this['options'][_0x495174(0x280)],!0x0,this[_0x495174(0x212)][_0x495174(0x327)]);try{const _0x1a7ae4=_0x26288e['parse'](_0x27669e);_0x1a7ae4[_0xf4d79f['extensionName']]&&(_0x325798[_0x495174(0x22d)](_0x1a7ae4[_0xf4d79f[_0x495174(0x230)]]),_0x1aad22[_0xf4d79f[_0x495174(0x230)]]=_0x325798);}catch{_0x23ee2b(this,_0x381b4e,_0x527842,0x190,_0x495174(0x29f));return;}}if(this[_0x495174(0x212)]['verifyClient']){const _0x2a0ae3={'origin':_0x381b4e[_0x495174(0x1c3)][''+(_0x1c9862===0x8?_0x495174(0x30e):_0x495174(0x219))],'secure':!!(_0x381b4e[_0x495174(0x2af)][_0x495174(0x2b1)]||_0x381b4e['socket'][_0x495174(0x287)]),'req':_0x381b4e};if(this[_0x495174(0x212)][_0x495174(0x20d)][_0x495174(0x1bc)]===0x2){this[_0x495174(0x212)][_0x495174(0x20d)](_0x2a0ae3,(_0x2555e3,_0xe73115,_0x452132,_0x360d01)=>{const _0xe5ba15=_0x495174;if(!_0x2555e3)return _0xb27a04(_0x527842,_0xe73115||0x191,_0x452132,_0x360d01);this[_0xe5ba15(0x232)](_0x1aad22,_0xb6b05,_0x299f27,_0x381b4e,_0x527842,_0x12891b,_0x1629e4);});return;}if(!this[_0x495174(0x212)][_0x495174(0x20d)](_0x2a0ae3))return _0xb27a04(_0x527842,0x191);}this[_0x495174(0x232)](_0x1aad22,_0xb6b05,_0x299f27,_0x381b4e,_0x527842,_0x12891b,_0x1629e4);}[_0x142352(0x232)](_0x5c0351,_0x507aa4,_0x561ce1,_0x2bce66,_0x8a5d19,_0x294416,_0x3dd6cf){const _0x14ce7d=_0x142352;if(!_0x8a5d19[_0x14ce7d(0x269)]||!_0x8a5d19[_0x14ce7d(0x259)])return _0x8a5d19[_0x14ce7d(0x262)]();if(_0x8a5d19[_0x1b8bd1])throw new Error(_0x14ce7d(0x1f7));if(this[_0x14ce7d(0x208)]>_0x1d21e7)return _0xb27a04(_0x8a5d19,0x1f7);const _0x43d2e8=[_0x14ce7d(0x1e8),_0x14ce7d(0x2fe),_0x14ce7d(0x2b6),_0x14ce7d(0x249)+_0x3de0e5('sha1')[_0x14ce7d(0x2d1)](_0x507aa4+_0x11206a)['digest'](_0x14ce7d(0x174))],_0xff2e28=new this[(_0x14ce7d(0x212))]['WebSocket'](null,void 0x0,this[_0x14ce7d(0x212)]);if(_0x561ce1['size']){const _0x44c4a3=this[_0x14ce7d(0x212)][_0x14ce7d(0x1d9)]?this[_0x14ce7d(0x212)][_0x14ce7d(0x1d9)](_0x561ce1,_0x2bce66):_0x561ce1[_0x14ce7d(0x21e)]()[_0x14ce7d(0x291)]()['value'];_0x44c4a3&&(_0x43d2e8[_0x14ce7d(0x20f)](_0x14ce7d(0x1b8)+_0x44c4a3),_0xff2e28[_0x14ce7d(0x2c2)]=_0x44c4a3);}if(_0x5c0351[_0xf4d79f[_0x14ce7d(0x230)]]){const _0x4a17df=_0x5c0351[_0xf4d79f[_0x14ce7d(0x230)]][_0x14ce7d(0x1c2)],_0x1a07c9=_0x26288e[_0x14ce7d(0x24a)]({[_0xf4d79f['extensionName']]:[_0x4a17df]});_0x43d2e8['push'](_0x14ce7d(0x2bd)+_0x1a07c9),_0xff2e28[_0x14ce7d(0x274)]=_0x5c0351;}this[_0x14ce7d(0x283)](_0x14ce7d(0x1c3),_0x43d2e8,_0x2bce66),_0x8a5d19['write'](_0x43d2e8[_0x14ce7d(0x1c1)]('\x0d\x0a')['join']('\x0d\x0a')),_0x8a5d19[_0x14ce7d(0x310)](_0x14ce7d(0x1df),_0x495f17),_0xff2e28[_0x14ce7d(0x298)](_0x8a5d19,_0x294416,{'allowSynchronousEvents':this[_0x14ce7d(0x212)][_0x14ce7d(0x315)],'maxPayload':this[_0x14ce7d(0x212)]['maxPayload'],'skipUTF8Validation':this[_0x14ce7d(0x212)][_0x14ce7d(0x2cc)]}),this['clients']&&(this[_0x14ce7d(0x1d0)][_0x14ce7d(0x2ca)](_0xff2e28),_0xff2e28['on']('close',()=>{const _0x237146=_0x14ce7d;this[_0x237146(0x1d0)][_0x237146(0x200)](_0xff2e28),this[_0x237146(0x319)]&&!this['clients']['size']&&process[_0x237146(0x189)](_0x1d5352,this);})),_0x3dd6cf(_0xff2e28,_0x2bce66);}}Te=_0x5ef81b;function _0x5c0897(_0x77fc3b,_0x2908d4){const _0x17d731=_0x142352;for(const _0x5e15c8 of Object[_0x17d731(0x1fa)](_0x2908d4))_0x77fc3b['on'](_0x5e15c8,_0x2908d4[_0x5e15c8]);return function(){const _0x540159=_0x17d731;for(const _0x4b468d of Object[_0x540159(0x1fa)](_0x2908d4))_0x77fc3b[_0x540159(0x310)](_0x4b468d,_0x2908d4[_0x4b468d]);};}function _0x1d5352(_0xc53d10){const _0x29d9d=_0x142352;_0xc53d10[_0x29d9d(0x208)]=_0xfa6229,_0xc53d10[_0x29d9d(0x283)](_0x29d9d(0x251));}function _0x495f17(){const _0x293b09=_0x142352;this[_0x293b09(0x262)]();}function _0xb27a04(_0x549813,_0x517a80,_0x1db862,_0x5b9abb){const _0x404e76=_0x142352;_0x1db862=_0x1db862||_0x205b00[_0x404e76(0x2ec)][_0x517a80],_0x5b9abb={'Connection':_0x404e76(0x251),'Content-Type':_0x404e76(0x1e5),'Content-Length':Buffer[_0x404e76(0x1a6)](_0x1db862),..._0x5b9abb},_0x549813[_0x404e76(0x328)](_0x404e76(0x31c),_0x549813['destroy']),_0x549813[_0x404e76(0x2fd)]('HTTP/1.1\x20'+_0x517a80+'\x20'+_0x205b00[_0x404e76(0x2ec)][_0x517a80]+'\x0d\x0a'+Object[_0x404e76(0x1fa)](_0x5b9abb)['map'](_0x53f74b=>_0x53f74b+':\x20'+_0x5b9abb[_0x53f74b])['join']('\x0d\x0a')+_0x404e76(0x1d8)+_0x1db862);}function _0x23ee2b(_0x234cb7,_0x5d848a,_0x48ddf4,_0x3ace63,_0x4781c2,_0xa435f3){const _0x43c489=_0x142352;if(_0x234cb7[_0x43c489(0x2a2)](_0x43c489(0x25c))){const _0x5317b9=new Error(_0x4781c2);Error[_0x43c489(0x1af)](_0x5317b9,_0x23ee2b),_0x234cb7[_0x43c489(0x283)]('wsClientError',_0x5317b9,_0x48ddf4,_0x5d848a);}else _0xb27a04(_0x48ddf4,_0x3ace63,_0x4781c2,_0xa435f3);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x58a257,_0x2744f7,_0x378b26,_0x4194e0)=>{const _0x5f2022=_0x421112;for(var _0x1d0d93=_0x4194e0>0x1?void 0x0:_0x4194e0?jt(_0x2744f7,_0x378b26):_0x2744f7,_0x424049=_0x58a257[_0x5f2022(0x1bc)]-0x1,_0x19fc39;_0x424049>=0x0;_0x424049--)(_0x19fc39=_0x58a257[_0x424049])&&(_0x1d0d93=_0x19fc39(_0x1d0d93)||_0x1d0d93);return _0x1d0d93;},qt=(_0x453cc1,_0x4ceb14)=>(_0x429faa,_0x24d27e)=>_0x4ceb14(_0x429faa,_0x24d27e,_0x453cc1);let ke=class extends A[_0x421112(0x28c)]{constructor(_0x19959d){const _0x4246e7=_0x421112;super(),this[_0x4246e7(0x254)]=_0x19959d;}[_0x421112(0x206)](_0x4e7238){const _0x210f94=_0x421112;var _0x496a32;const _0x2ddf8c=(_0x496a32=this[_0x210f94(0x254)]['getConfig'](fe))==null?void 0x0:_0x496a32[_0x210f94(0x2c3)];try{const _0x382329=new $t(_0x4e7238,{'headers':{..._0x2ddf8c}}),_0x4440d5=new A[(_0x210f94(0x255))]();return{'URL':_0x4e7238,'close':(_0x26ca55,_0x15477a)=>{const _0x22c3de=_0x210f94;_0x382329[_0x22c3de(0x251)](_0x26ca55,_0x15477a),_0x4440d5[_0x22c3de(0x335)]();},'send':_0x9e17bd=>{_0x382329['send'](_0x9e17bd);},'open$':new V[(_0x210f94(0x202))](_0x19ad93=>{const _0x9c1cbe=_0x210f94,_0x13805c=_0xf35080=>_0x19ad93[_0x9c1cbe(0x291)](_0xf35080);_0x382329[_0x9c1cbe(0x1bf)](_0x9c1cbe(0x1f3),_0x13805c),_0x4440d5[_0x9c1cbe(0x2ca)](A[_0x9c1cbe(0x2ac)](()=>_0x382329[_0x9c1cbe(0x20b)](_0x9c1cbe(0x1f3),_0x13805c)));})[_0x210f94(0x317)](V[_0x210f94(0x23d)]()),'close$':new V[(_0x210f94(0x202))](_0x3a1737=>{const _0x546dc1=_0x210f94,_0x4f002b=_0x4a0748=>_0x3a1737[_0x546dc1(0x291)](_0x4a0748);_0x382329['addEventListener'](_0x546dc1(0x251),_0x4f002b),_0x4440d5[_0x546dc1(0x2ca)](A[_0x546dc1(0x2ac)](()=>_0x382329[_0x546dc1(0x20b)]('close',_0x4f002b)));})[_0x210f94(0x317)](V[_0x210f94(0x23d)]()),'error$':new V[(_0x210f94(0x202))](_0x34aa88=>{const _0x5d63f2=_0x210f94,_0x288a5e=_0x3da3e4=>_0x34aa88[_0x5d63f2(0x291)](_0x3da3e4);_0x382329[_0x5d63f2(0x1bf)](_0x5d63f2(0x1df),_0x288a5e),_0x4440d5[_0x5d63f2(0x2ca)](A[_0x5d63f2(0x2ac)](()=>_0x382329[_0x5d63f2(0x20b)](_0x5d63f2(0x1df),_0x288a5e)));})['pipe'](V[_0x210f94(0x23d)]()),'message$':new V[(_0x210f94(0x202))](_0x2b9e53=>{const _0x9ae336=_0x210f94,_0x523ae9=_0x3da26=>_0x2b9e53['next'](_0x3da26);_0x382329[_0x9ae336(0x1bf)](_0x9ae336(0x1c4),_0x523ae9),_0x4440d5['add'](A[_0x9ae336(0x2ac)](()=>_0x382329[_0x9ae336(0x20b)](_0x9ae336(0x1c4),_0x523ae9)));})[_0x210f94(0x317)](V[_0x210f94(0x23d)]())};}catch(_0x27d3a7){return console[_0x210f94(0x1df)](_0x27d3a7),null;}}};ke=Wt([qt(0x0,A[_0x421112(0x17b)])],ke);var Gt=Object[_0x421112(0x1d3)],Vt=Object[_0x421112(0x1e0)],Ht=(_0x10f735,_0x245c54,_0x3db3a6)=>_0x245c54 in _0x10f735?Gt(_0x10f735,_0x245c54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3db3a6}):_0x10f735[_0x245c54]=_0x3db3a6,zt=(_0x598762,_0x1cd15d,_0x50309d,_0x147f24)=>{const _0x5445aa=_0x421112;for(var _0xc791fd=_0x147f24>0x1?void 0x0:_0x147f24?Vt(_0x1cd15d,_0x50309d):_0x1cd15d,_0x5e5c58=_0x598762[_0x5445aa(0x1bc)]-0x1,_0x2ce125;_0x5e5c58>=0x0;_0x5e5c58--)(_0x2ce125=_0x598762[_0x5e5c58])&&(_0xc791fd=_0x2ce125(_0xc791fd)||_0xc791fd);return _0xc791fd;},Ne=(_0x5bbe3c,_0x1994b5)=>(_0x4df99,_0x28b9f8)=>_0x1994b5(_0x4df99,_0x28b9f8,_0x5bbe3c),Yt=(_0x145a78,_0x479533,_0x552ef5)=>Ht(_0x145a78,_0x479533+'',_0x552ef5);exports[_0x421112(0x2a0)]=class extends A[_0x421112(0x209)]{constructor(_0x5ab02b=Ct,_0x500efc,_0x3602ec,_0x282a5c){const _0x5d9661=_0x421112;_0x5ab02b[_0x5d9661(0x2c3)]||_0x500efc[_0x5d9661(0x2b8)](_0x5d9661(0x27c)),super(),this[_0x5d9661(0x254)]=_0x3602ec,this[_0x5d9661(0x23e)]=_0x282a5c,this[_0x5d9661(0x254)][_0x5d9661(0x28b)](fe,_0x5ab02b);}[_0x421112(0x182)](){this['_registerDependencies']();}[_0x421112(0x1ac)](){const _0xcf12ed=_0x421112;A[_0xcf12ed(0x21f)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x421112(0x2a0)],_0x421112(0x288),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x421112(0x2a0)]=zt([A['DependentOn'](st[_0x421112(0x256)]),Ne(0x1,A[_0x421112(0x1f8)]),Ne(0x2,A[_0x421112(0x17b)]),Ne(0x3,A[_0x421112(0x305)](A[_0x421112(0x29d)]))],exports[_0x421112(0x2a0)]);var Kt=Object[_0x421112(0x1e0)],Xt=(_0x2eff67,_0x1443f6,_0x3a6caa,_0x1a6dc9)=>{for(var _0x44744d=_0x1a6dc9>0x1?void 0x0:_0x1a6dc9?Kt(_0x1443f6,_0x3a6caa):_0x1443f6,_0x30bcce=_0x2eff67['length']-0x1,_0x5c3bd9;_0x30bcce>=0x0;_0x30bcce--)(_0x5c3bd9=_0x2eff67[_0x30bcce])&&(_0x44744d=_0x5c3bd9(_0x44744d)||_0x44744d);return _0x44744d;},ne=(_0x1a8a6f,_0x3cc2b3)=>(_0x702609,_0x47da59)=>_0x3cc2b3(_0x702609,_0x47da59,_0x1a8a6f);exports[_0x421112(0x1ab)]=class extends st[_0x421112(0x19e)]{constructor(_0x194aea,_0x5c0e0c,_0x430f66,_0x4749a6,_0x5227f7){const _0x250b07=_0x421112;super(_0x194aea,_0x5c0e0c,_0x430f66,_0x4749a6,_0x5227f7);const _0x474748=this[_0x250b07(0x254)]['getConfig'](fe);this[_0x250b07(0x2fc)][_0x250b07(0x1ed)]({'interceptor':(_0x4bcbcc,_0x3e574d)=>{const _0x17b300=_0x250b07;var _0x124343;const _0x217beb=_0x4bcbcc['headers'];return(_0x124343=_0x474748==null?void 0x0:_0x474748[_0x17b300(0x2c3)])!=null&&_0x124343[_0x17b300(0x242)]&&_0x217beb[_0x17b300(0x329)](_0x17b300(0x2b3),_0x474748[_0x17b300(0x2c3)][_0x17b300(0x242)]),_0x3e574d(_0x4bcbcc);}});}async[_0x421112(0x206)](_0x125278){const _0x20f16e=_0x421112;return this[_0x20f16e(0x26c)](_0x125278);}},exports[_0x421112(0x1ab)]=Xt([ne(0x0,A['Inject'](A[_0x421112(0x29d)])),ne(0x1,A[_0x421112(0x305)](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x421112(0x1f8)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x421112(0x1ab)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|