@univerjs-pro/collaboration-client-node 0.9.2-nightly.202507181608 → 0.9.3-nightly.202507250750
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 +12 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x12c37c=_0x63a2;(function(_0x4c739b,_0x1b5017){const _0x33e9fd=_0x63a2,_0x204832=_0x4c739b();while(!![]){try{const _0x1890e6=-parseInt(_0x33e9fd(0x188))/0x1*(parseInt(_0x33e9fd(0x2d6))/0x2)+parseInt(_0x33e9fd(0x1c3))/0x3+-parseInt(_0x33e9fd(0x1b5))/0x4+parseInt(_0x33e9fd(0x1d5))/0x5*(-parseInt(_0x33e9fd(0x1a7))/0x6)+parseInt(_0x33e9fd(0x1d9))/0x7+parseInt(_0x33e9fd(0x220))/0x8+parseInt(_0x33e9fd(0x20b))/0x9;if(_0x1890e6===_0x1b5017)break;else _0x204832['push'](_0x204832['shift']());}catch(_0x28fcf8){_0x204832['push'](_0x204832['shift']());}}}(_0x3626,0xd0d7a));Object[_0x12c37c(0x1b3)](exports,Symbol[_0x12c37c(0x16b)],{'value':_0x12c37c(0x325)});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=_0x12c37c(0x243),Ct={'customHeaders':{}};function Tt(_0x2709e9){const _0x512130=_0x12c37c;return _0x2709e9&&_0x2709e9['__esModule']&&Object['prototype'][_0x512130(0x1ed)][_0x512130(0x1f8)](_0x2709e9,_0x512130(0x1e7))?_0x2709e9[_0x512130(0x1e7)]:_0x2709e9;}function at(_0x2e8a7d){const _0x3e7b9e=_0x12c37c;if(Object[_0x3e7b9e(0x24f)][_0x3e7b9e(0x1ed)]['call'](_0x2e8a7d,_0x3e7b9e(0x323)))return _0x2e8a7d;var _0x52535b=_0x2e8a7d[_0x3e7b9e(0x1e7)];if(typeof _0x52535b==_0x3e7b9e(0x1f1)){var _0x47f3f4=function _0x45bf45(){const _0x54c89c=_0x3e7b9e;var _0x5287f0=!0x1;try{_0x5287f0=this instanceof _0x45bf45;}catch{}return _0x5287f0?Reflect[_0x54c89c(0x1ad)](_0x52535b,arguments,this['constructor']):_0x52535b[_0x54c89c(0x203)](this,arguments);};_0x47f3f4[_0x3e7b9e(0x24f)]=_0x52535b[_0x3e7b9e(0x24f)];}else _0x47f3f4={};return Object['defineProperty'](_0x47f3f4,_0x3e7b9e(0x323),{'value':!0x0}),Object[_0x3e7b9e(0x194)](_0x2e8a7d)[_0x3e7b9e(0x330)](function(_0x3d50d6){const _0x2340d1=_0x3e7b9e;var _0x5776e8=Object[_0x2340d1(0x2e4)](_0x2e8a7d,_0x3d50d6);Object['defineProperty'](_0x47f3f4,_0x3d50d6,_0x5776e8[_0x2340d1(0x30f)]?_0x5776e8:{'enumerable':!0x0,'get':function(){return _0x2e8a7d[_0x3d50d6];}});}),_0x47f3f4;}var se={'exports':{}},ge,Ge;function _0x63a2(_0x22c53,_0x1eb527){const _0x362696=_0x3626();return _0x63a2=function(_0x63a20d,_0x4d59ea){_0x63a20d=_0x63a20d-0x168;let _0x341290=_0x362696[_0x63a20d];return _0x341290;},_0x63a2(_0x22c53,_0x1eb527);}function H(){const _0x11cc11=_0x12c37c;if(Ge)return ge;Ge=0x1;const _0x119f31=[_0x11cc11(0x1a6),_0x11cc11(0x22c),_0x11cc11(0x313)],_0x53614f=typeof Blob<'u';return _0x53614f&&_0x119f31[_0x11cc11(0x24d)](_0x11cc11(0x2a9)),ge={'BINARY_TYPES':_0x119f31,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x11cc11(0x19a),'hasBlob':_0x53614f,'kForOnEventAttribute':Symbol(_0x11cc11(0x270)),'kListener':Symbol(_0x11cc11(0x26e)),'kStatusCode':Symbol(_0x11cc11(0x281)),'kWebSocket':Symbol(_0x11cc11(0x263)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x12c37c(0x1b3)]({'__proto__':null,'default':Nt},Symbol[_0x12c37c(0x16b)],{'value':_0x12c37c(0x325)})),Lt=at(kt);function _0x3626(){const _0x4e7b83=['clients','frame','opcode','socketPath','resume','needDrain','Invalid\x20Sec-WebSocket-Extensions\x20header','Z_DEFAULT_WINDOWBITS','UniverCollaborationClientNodePlugin','9146024lBXGLt','Max\x20payload\x20size\x20exceeded','Sec-WebSocket-Origin','sec-websocket-protocol','_redirects','concurrency','sec-websocket-key','Invalid\x20Upgrade\x20header','writeUIntBE','text/html','split','onclose','arraybuffer','env','Server\x20sent\x20an\x20invalid\x20subprotocol','charCodeAt','handshakeTimeout','IConfigService','total-length','buffer','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','serverMaxWindowBits','The\x20\x22','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_receiver','http:','end','createSocket','exports','perMessageDeflate','ILogService','dataMessage','setSocket','_firstFragment','_bufferedBytes','collaboration-client-node.config','generateMask','haveLength','defaultPort','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Connection:\x20Upgrade','password','has','setTimeout','push','client_no_context_takeover','prototype','_paused','catch','UniverCollaborationClientPlugin','emit','hash','_readyState','_opcode','bufferedAmount','_compress','invalid\x20UTF-8\x20sequence','customHeaders','conclude','socket','GET','_sender','The\x20URL\x27s\x20pathname\x20is\x20empty','_originalIpc','target','Z_SYNC_FLUSH','websocket','digest','setHeader','_final','unmask','invalid\x20opcode\x20','offer','kWasClean','_errored','sec-websocket-origin','cookie','kListener','isBuffer','kIsForOnEventAttribute','params','backlog','hostname','from','binaryType','getBlobData','DependentOn','clientTracking','_destroy','flush','kType','CLOSED','connection','kTarget','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','href','status-code','abort','_registerDependencies','cleanup','username','path','slice','_allowSynchronousEvents','server_no_context_takeover','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','server_max_window_bits','\x22:\x20','Sec-WebSocket-Extensions','WS_ERR_UNEXPECTED_RSV_1','pathname','request','Invalid\x20Sec-WebSocket-Accept\x20header','listening','shift','data','listeners','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','update','redirect','includes','method','getPayloadLength16','Unexpected\x20character\x20at\x20index\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','finishRequest','HTTP/1.1\x20','consume','onmessage','sec-websocket-accept','read','share','uncork','test','kDone','blob','_isServer','createConnection','_queue','dispatch','WS_ERR_INVALID_CLOSE_CODE','add','unshift','createDeflateRaw','upgrade','message','kData','type','https:','_httpService','concat','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Upgrade:\x20websocket','cork','client_max_window_bits','Sec-WebSocket-Extensions:\x20','encrypted','endEmitted','url','byteLength','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','verifyClient','sec-websocket-extensions','kMessage','client','response','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Inject','sendFrame','reset','kRun','errorEmitted','_threshold','Plugin','callback','protocol','host','string','writeUInt16BE','Invalid\x20Sec-WebSocket-Protocol\x20header','362sOWqmw','onerror','Injector','MASK\x20must\x20be\x20clear','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startsWith','_errorEmitted','once','format','maxPayload','address','base64','join','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','getOwnPropertyDescriptor','CONNECTING','bind','size','_autoPong','_skipUTF8Validation','HTTP/1.1\x20101\x20Switching\x20Protocols','finish','pipe','unexpected-response','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeCode','listenerCount','_messageLength','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Unexpected\x20server\x20response:\x20','kByteLength','wss:','then','_removeListeners','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_payloadLength','_fin','toString','maskBuffer','Sec-WebSocket-Protocol','acceptAsServer','handleEvent','options','pending','_mask','invalid\x20payload\x20length\x20','normalizeParams','map','dispose','next','WS_ERR_EXPECTED_FIN','origin','_readableState','Sec-WebSocket-Protocol:\x20','destroyed','rsv1','server','get','startLoop','terminate','_url','fragments','_maskBuffer','HTTPService','sec-websocket-version','_closeMessage','mask','isArray','ws:','servername','_state','number','headers','indexOf','dequeue','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_max_window_bits','__esModule','location','Module','allocUnsafe','stream','_binaryType','clientNoContextTakeover','sha1','authorization','_deflate','_loop','_maxPayload','_totalPayloadLength','forEach','emitClose','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','accept','toStringTag','_fragments','pong','nextTick','getData','serverNoContextTakeover','parse','isView','drain','onopen','OPEN','_writableState','addEventListener','WebSocket','objectMode','createError','\x20(supported\x20versions:\x20','set','autoPong','_req','isPaused','CollaborationSocketService','text/plain','connect','removeAllListeners','error','The\x20server\x20is\x20not\x20running','Upgrade','handleUpgrade','4253uJUxmH','_server','_originalHostOrSocketPath','ISocketService','concurrencyLimit','Disposable','isInteger','DisposableCollection','arrayBuffer','WS_ERR_EXPECTED_MASK','_shouldEmitClose','search','keys','create','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','getConfig','WS_NO_UTF_8_VALIDATE','_compressed','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','controlMessage','getInfo','_closeFrameSent','jobs','noServer','Unsupported\x20protocol\x20version:\x20','File','Invalid\x20WebSocket\x20frame:\x20','setNoDelay','write','statusCode','nodebuffer','3126ACyogI','alloc','WS_NO_BUFFER_UTIL','_originalSecure','STATUS_CODES','destroy','construct','extensions','RSV1\x20must\x20be\x20clear','\x22\x20subprotocol\x20is\x20duplicated','warn','toDisposable','defineProperty','enqueue','1280324XkUpfc','_generateMask','MASK\x20must\x20be\x20set','ping','length','readUInt32BE','code','reason','Invalid\x20URL:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','followRedirects','wsClientError','Observable','_closeTimer','2361171xsBSLC','readOnly','Opening\x20handshake\x20has\x20timed\x20out','readyState','_socket','setConfig','kReason','_options','timeout','open','species','byteOffset','object','registerDependencies','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','isValidUTF8','port','Invalid\x20value\x20for\x20parameter\x20\x22','8465jxvNFx','_inflate','Unexpected\x20end\x20of\x20input','pause','3242953PofYeU','completeUpgrade','threshold','removeEventListener','_masked','_no_context_takeover','createInflateRaw','Maximum\x20redirects\x20exceeded','Unknown\x20parameter\x20\x22','finished','wasClean','send','WS_ERR_INVALID_OPCODE','_write','default','protocolVersion','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','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_configService','skipUTF8Validation','hasOwnProperty','NodeCollaborationSocketService','replace','readable','function','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Sec-WebSocket-Accept:\x20','toLowerCase','WS_ERR_UNEXPECTED_RSV_2_3','clientMaxWindowBits','createServer','call','allowSynchronousEvents','compress','decompress','permessage-deflate','delete','fin','binary','find','freeze','acceptAsClient','apply','removeListener','pluginName','_closeFrameReceived','captureStackTrace','extensionName','_extensions','auth','3903804nRoWGB','_fragmented','writeHead','zlibDeflateOptions','close','_injector','_bufferedAmount','CLOSING','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_buffers','_protocol','WebSocket\x20is\x20not\x20open:\x20readyState\x20'];_0x3626=function(){return _0x4e7b83;};return _0x3626();}var Ve;function ce(){const _0x4e4ffa=_0x12c37c;if(Ve)return se[_0x4e4ffa(0x23c)];Ve=0x1;const {EMPTY_BUFFER:_0x432467}=H(),_0x40eb31=Buffer[Symbol[_0x4e4ffa(0x1cd)]];function _0x4501e7(_0x3d2113,_0x395533){const _0xe206b7=_0x4e4ffa;if(_0x3d2113[_0xe206b7(0x1b9)]===0x0)return _0x432467;if(_0x3d2113[_0xe206b7(0x1b9)]===0x1)return _0x3d2113[0x0];const _0x197f12=Buffer[_0xe206b7(0x326)](_0x395533);let _0x546ae5=0x0;for(let _0x31609c=0x0;_0x31609c<_0x3d2113[_0xe206b7(0x1b9)];_0x31609c++){const _0x2a07d1=_0x3d2113[_0x31609c];_0x197f12[_0xe206b7(0x17c)](_0x2a07d1,_0x546ae5),_0x546ae5+=_0x2a07d1[_0xe206b7(0x1b9)];}return _0x546ae5<_0x395533?new _0x40eb31(_0x197f12['buffer'],_0x197f12[_0xe206b7(0x1ce)],_0x546ae5):_0x197f12;}function _0x510dd2(_0x39ba51,_0x25c114,_0x1dcfd3,_0x4246fb,_0x473c17){for(let _0x401e73=0x0;_0x401e73<_0x473c17;_0x401e73++)_0x1dcfd3[_0x4246fb+_0x401e73]=_0x39ba51[_0x401e73]^_0x25c114[_0x401e73&0x3];}function _0x643048(_0xe9330b,_0x280167){for(let _0x1ca10f=0x0;_0x1ca10f<_0xe9330b['length'];_0x1ca10f++)_0xe9330b[_0x1ca10f]^=_0x280167[_0x1ca10f&0x3];}function _0x2129de(_0x43a4d6){const _0x2b53b0=_0x4e4ffa;return _0x43a4d6['length']===_0x43a4d6[_0x2b53b0(0x233)][_0x2b53b0(0x2c1)]?_0x43a4d6['buffer']:_0x43a4d6[_0x2b53b0(0x233)][_0x2b53b0(0x287)](_0x43a4d6[_0x2b53b0(0x1ce)],_0x43a4d6[_0x2b53b0(0x1ce)]+_0x43a4d6[_0x2b53b0(0x1b9)]);}function _0x32798d(_0x481587){const _0x17787e=_0x4e4ffa;if(_0x32798d[_0x17787e(0x1c4)]=!0x0,Buffer[_0x17787e(0x26f)](_0x481587))return _0x481587;let _0x1c7d8d;return _0x481587 instanceof ArrayBuffer?_0x1c7d8d=new _0x40eb31(_0x481587):ArrayBuffer[_0x17787e(0x172)](_0x481587)?_0x1c7d8d=new _0x40eb31(_0x481587[_0x17787e(0x233)],_0x481587[_0x17787e(0x1ce)],_0x481587[_0x17787e(0x2c1)]):(_0x1c7d8d=Buffer[_0x17787e(0x274)](_0x481587),_0x32798d[_0x17787e(0x1c4)]=!0x1),_0x1c7d8d;}if(se['exports']={'concat':_0x4501e7,'mask':_0x510dd2,'toArrayBuffer':_0x2129de,'toBuffer':_0x32798d,'unmask':_0x643048},!process[_0x4e4ffa(0x22d)][_0x4e4ffa(0x1a9)])try{const _0x5296e1=Lt;se[_0x4e4ffa(0x23c)][_0x4e4ffa(0x318)]=function(_0x3ac878,_0x3d771b,_0x213f1b,_0x212f43,_0x25c94f){_0x25c94f<0x30?_0x510dd2(_0x3ac878,_0x3d771b,_0x213f1b,_0x212f43,_0x25c94f):_0x5296e1['mask'](_0x3ac878,_0x3d771b,_0x213f1b,_0x212f43,_0x25c94f);},se[_0x4e4ffa(0x23c)][_0x4e4ffa(0x267)]=function(_0x1d0dd3,_0x533b62){const _0x20d750=_0x4e4ffa;_0x1d0dd3[_0x20d750(0x1b9)]<0x20?_0x643048(_0x1d0dd3,_0x533b62):_0x5296e1['unmask'](_0x1d0dd3,_0x533b62);};}catch{}return se[_0x4e4ffa(0x23c)];}var ye,He;function Pt(){const _0x45dfef=_0x12c37c;if(He)return ye;He=0x1;const _0x5d5f3d=Symbol(_0x45dfef(0x2a8)),_0x20e33e=Symbol(_0x45dfef(0x2cc));class _0x96c22b{constructor(_0x56da55){const _0x269aee=_0x45dfef;this[_0x5d5f3d]=()=>{this['pending']--,this[_0x20e33e]();},this[_0x269aee(0x225)]=_0x56da55||0x1/0x0,this['jobs']=[],this[_0x269aee(0x301)]=0x0;}['add'](_0x482475){const _0x574f7d=_0x45dfef;this[_0x574f7d(0x19e)]['push'](_0x482475),this[_0x20e33e]();}[_0x20e33e](){const _0x3fcdd2=_0x45dfef;if(this[_0x3fcdd2(0x301)]!==this['concurrency']&&this[_0x3fcdd2(0x19e)][_0x3fcdd2(0x1b9)]){const _0x505ff9=this[_0x3fcdd2(0x19e)][_0x3fcdd2(0x293)]();this[_0x3fcdd2(0x301)]++,_0x505ff9(this[_0x5d5f3d]);}}}return ye=_0x96c22b,ye;}var ve,ze;function he(){const _0x44c37f=_0x12c37c;if(ze)return ve;ze=0x1;const _0x3dad47=bt,_0x51e931=ce(),_0x1980ce=Pt(),{kStatusCode:_0x135921}=H(),_0x7ec469=Buffer[Symbol['species']],_0x238424=Buffer[_0x44c37f(0x274)]([0x0,0x0,0xff,0xff]),_0x42a194=Symbol(_0x44c37f(0x1fc)),_0x268895=Symbol(_0x44c37f(0x232)),_0x437b64=Symbol(_0x44c37f(0x2d0)),_0x1f8a52=Symbol('buffers'),_0x21798e=Symbol(_0x44c37f(0x184));let _0x1609df;class _0x31aeae{constructor(_0x32bf1b,_0x4e1eef,_0x4e31fd){const _0x53c507=_0x44c37f;if(this[_0x53c507(0x32e)]=_0x4e31fd|0x0,this[_0x53c507(0x1ca)]=_0x32bf1b||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x53c507(0x1ca)][_0x53c507(0x1db)]:0x400,this[_0x53c507(0x2aa)]=!!_0x4e1eef,this[_0x53c507(0x32c)]=null,this[_0x53c507(0x1d6)]=null,this[_0x53c507(0x271)]=null,!_0x1609df){const _0x2ad260=this[_0x53c507(0x1ca)][_0x53c507(0x18c)]!==void 0x0?this['_options'][_0x53c507(0x18c)]:0xa;_0x1609df=new _0x1980ce(_0x2ad260);}}static get[_0x44c37f(0x208)](){const _0x2ad672=_0x44c37f;return _0x2ad672(0x1fc);}[_0x44c37f(0x269)](){const _0x294eed=_0x44c37f,_0x4f6aa3={};return this[_0x294eed(0x1ca)][_0x294eed(0x170)]&&(_0x4f6aa3[_0x294eed(0x289)]=!0x0),this[_0x294eed(0x1ca)][_0x294eed(0x329)]&&(_0x4f6aa3[_0x294eed(0x24e)]=!0x0),this['_options'][_0x294eed(0x235)]&&(_0x4f6aa3[_0x294eed(0x28b)]=this['_options']['serverMaxWindowBits']),this[_0x294eed(0x1ca)][_0x294eed(0x1f6)]?_0x4f6aa3[_0x294eed(0x2bc)]=this['_options'][_0x294eed(0x1f6)]:this[_0x294eed(0x1ca)][_0x294eed(0x1f6)]==null&&(_0x4f6aa3[_0x294eed(0x2bc)]=!0x0),_0x4f6aa3;}[_0x44c37f(0x16a)](_0x48bfcf){const _0x4f031f=_0x44c37f;return _0x48bfcf=this[_0x4f031f(0x304)](_0x48bfcf),this[_0x4f031f(0x271)]=this['_isServer']?this[_0x4f031f(0x2fe)](_0x48bfcf):this[_0x4f031f(0x202)](_0x48bfcf),this[_0x4f031f(0x271)];}[_0x44c37f(0x284)](){const _0x26891e=_0x44c37f;if(this['_inflate']&&(this[_0x26891e(0x1d6)][_0x26891e(0x20f)](),this[_0x26891e(0x1d6)]=null),this[_0x26891e(0x32c)]){const _0x155d7d=this[_0x26891e(0x32c)][_0x437b64];this[_0x26891e(0x32c)][_0x26891e(0x20f)](),this[_0x26891e(0x32c)]=null,_0x155d7d&&_0x155d7d(new Error(_0x26891e(0x29d)));}}[_0x44c37f(0x2fe)](_0x58aed2){const _0x3355d4=_0x44c37f,_0x445181=this[_0x3355d4(0x1ca)],_0x339c30=_0x58aed2[_0x3355d4(0x200)](_0x14b01e=>!(_0x445181[_0x3355d4(0x170)]===!0x1&&_0x14b01e['server_no_context_takeover']||_0x14b01e[_0x3355d4(0x28b)]&&(_0x445181[_0x3355d4(0x235)]===!0x1||typeof _0x445181[_0x3355d4(0x235)]==_0x3355d4(0x31d)&&_0x445181[_0x3355d4(0x235)]>_0x14b01e[_0x3355d4(0x28b)])||typeof _0x445181[_0x3355d4(0x1f6)]==_0x3355d4(0x31d)&&!_0x14b01e['client_max_window_bits']));if(!_0x339c30)throw new Error(_0x3355d4(0x1d1));return _0x445181[_0x3355d4(0x170)]&&(_0x339c30[_0x3355d4(0x289)]=!0x0),_0x445181[_0x3355d4(0x329)]&&(_0x339c30[_0x3355d4(0x24e)]=!0x0),typeof _0x445181['serverMaxWindowBits']==_0x3355d4(0x31d)&&(_0x339c30[_0x3355d4(0x28b)]=_0x445181[_0x3355d4(0x235)]),typeof _0x445181[_0x3355d4(0x1f6)]==_0x3355d4(0x31d)?_0x339c30[_0x3355d4(0x2bc)]=_0x445181['clientMaxWindowBits']:(_0x339c30[_0x3355d4(0x2bc)]===!0x0||_0x445181[_0x3355d4(0x1f6)]===!0x1)&&delete _0x339c30[_0x3355d4(0x2bc)],_0x339c30;}[_0x44c37f(0x202)](_0x3ea8d5){const _0x3c46f4=_0x44c37f,_0x3fba3a=_0x3ea8d5[0x0];if(this[_0x3c46f4(0x1ca)][_0x3c46f4(0x329)]===!0x1&&_0x3fba3a[_0x3c46f4(0x24e)])throw new Error(_0x3c46f4(0x169));if(!_0x3fba3a[_0x3c46f4(0x2bc)])typeof this[_0x3c46f4(0x1ca)]['clientMaxWindowBits']==_0x3c46f4(0x31d)&&(_0x3fba3a[_0x3c46f4(0x2bc)]=this[_0x3c46f4(0x1ca)][_0x3c46f4(0x1f6)]);else{if(this[_0x3c46f4(0x1ca)][_0x3c46f4(0x1f6)]===!0x1||typeof this['_options'][_0x3c46f4(0x1f6)]=='number'&&_0x3fba3a[_0x3c46f4(0x2bc)]>this[_0x3c46f4(0x1ca)][_0x3c46f4(0x1f6)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3fba3a;}[_0x44c37f(0x304)](_0x2ec23d){const _0x189fc9=_0x44c37f;return _0x2ec23d[_0x189fc9(0x330)](_0x514295=>{const _0x2a00a4=_0x189fc9;Object['keys'](_0x514295)[_0x2a00a4(0x330)](_0x222dfc=>{const _0x4a81f3=_0x2a00a4;let _0xc2ffdb=_0x514295[_0x222dfc];if(_0xc2ffdb[_0x4a81f3(0x1b9)]>0x1)throw new Error('Parameter\x20\x22'+_0x222dfc+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0xc2ffdb=_0xc2ffdb[0x0],_0x222dfc===_0x4a81f3(0x2bc)){if(_0xc2ffdb!==!0x0){const _0x17134e=+_0xc2ffdb;if(!Number[_0x4a81f3(0x18e)](_0x17134e)||_0x17134e<0x8||_0x17134e>0xf)throw new TypeError(_0x4a81f3(0x1d4)+_0x222dfc+_0x4a81f3(0x28c)+_0xc2ffdb);_0xc2ffdb=_0x17134e;}else{if(!this[_0x4a81f3(0x2aa)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x222dfc+_0x4a81f3(0x28c)+_0xc2ffdb);}}else{if(_0x222dfc===_0x4a81f3(0x28b)){const _0x4d78ed=+_0xc2ffdb;if(!Number[_0x4a81f3(0x18e)](_0x4d78ed)||_0x4d78ed<0x8||_0x4d78ed>0xf)throw new TypeError(_0x4a81f3(0x1d4)+_0x222dfc+'\x22:\x20'+_0xc2ffdb);_0xc2ffdb=_0x4d78ed;}else{if(_0x222dfc===_0x4a81f3(0x24e)||_0x222dfc===_0x4a81f3(0x289)){if(_0xc2ffdb!==!0x0)throw new TypeError(_0x4a81f3(0x1d4)+_0x222dfc+_0x4a81f3(0x28c)+_0xc2ffdb);}else throw new Error(_0x4a81f3(0x1e1)+_0x222dfc+'\x22');}}_0x514295[_0x222dfc]=_0xc2ffdb;});}),_0x2ec23d;}[_0x44c37f(0x1fb)](_0x523f6b,_0x3c495f,_0x17f188){const _0x40b623=_0x44c37f;_0x1609df[_0x40b623(0x2af)](_0x412345=>{this['_decompress'](_0x523f6b,_0x3c495f,(_0x3081a2,_0x5cb994)=>{_0x412345(),_0x17f188(_0x3081a2,_0x5cb994);});});}[_0x44c37f(0x1fa)](_0x2c6f20,_0x3a18ff,_0x5d124a){const _0x3a7046=_0x44c37f;_0x1609df[_0x3a7046(0x2af)](_0xff61e=>{const _0x25230d=_0x3a7046;this[_0x25230d(0x258)](_0x2c6f20,_0x3a18ff,(_0x50caaa,_0x498a84)=>{_0xff61e(),_0x5d124a(_0x50caaa,_0x498a84);});});}['_decompress'](_0x4420b7,_0x1b0fe0,_0x1aea17){const _0x12b0cf=_0x44c37f,_0x48d3f3=this['_isServer']?'client':'server';if(!this[_0x12b0cf(0x1d6)]){const _0x47e39e=_0x48d3f3+_0x12b0cf(0x322),_0x12d425=typeof this['params'][_0x47e39e]!='number'?_0x3dad47[_0x12b0cf(0x21e)]:this[_0x12b0cf(0x271)][_0x47e39e];this[_0x12b0cf(0x1d6)]=_0x3dad47[_0x12b0cf(0x1df)]({...this[_0x12b0cf(0x1ca)]['zlibInflateOptions'],'windowBits':_0x12d425}),this['_inflate'][_0x42a194]=this,this[_0x12b0cf(0x1d6)][_0x268895]=0x0,this['_inflate'][_0x1f8a52]=[],this['_inflate']['on']('error',_0x5f3d71),this[_0x12b0cf(0x1d6)]['on'](_0x12b0cf(0x294),_0x390efc);}this['_inflate'][_0x437b64]=_0x1aea17,this[_0x12b0cf(0x1d6)][_0x12b0cf(0x1a4)](_0x4420b7),_0x1b0fe0&&this[_0x12b0cf(0x1d6)]['write'](_0x238424),this[_0x12b0cf(0x1d6)][_0x12b0cf(0x27a)](()=>{const _0x164ee3=_0x12b0cf,_0x180ee6=this[_0x164ee3(0x1d6)][_0x21798e];if(_0x180ee6){this[_0x164ee3(0x1d6)][_0x164ee3(0x20f)](),this[_0x164ee3(0x1d6)]=null,_0x1aea17(_0x180ee6);return;}const _0x4c9a7e=_0x51e931['concat'](this[_0x164ee3(0x1d6)][_0x1f8a52],this[_0x164ee3(0x1d6)][_0x268895]);this['_inflate'][_0x164ee3(0x30a)][_0x164ee3(0x2bf)]?(this[_0x164ee3(0x1d6)][_0x164ee3(0x20f)](),this['_inflate']=null):(this[_0x164ee3(0x1d6)][_0x268895]=0x0,this[_0x164ee3(0x1d6)][_0x1f8a52]=[],_0x1b0fe0&&this['params'][_0x48d3f3+_0x164ee3(0x1de)]&&this[_0x164ee3(0x1d6)][_0x164ee3(0x2cb)]()),_0x1aea17(null,_0x4c9a7e);});}[_0x44c37f(0x258)](_0x47fcb2,_0x1d5d08,_0x36e424){const _0x3e84f5=_0x44c37f,_0x3e9fcb=this['_isServer']?_0x3e84f5(0x30e):_0x3e84f5(0x2c6);if(!this[_0x3e84f5(0x32c)]){const _0x54fcbb=_0x3e9fcb+_0x3e84f5(0x322),_0x3ca5e1=typeof this[_0x3e84f5(0x271)][_0x54fcbb]!=_0x3e84f5(0x31d)?_0x3dad47[_0x3e84f5(0x21e)]:this[_0x3e84f5(0x271)][_0x54fcbb];this[_0x3e84f5(0x32c)]=_0x3dad47[_0x3e84f5(0x2b1)]({...this[_0x3e84f5(0x1ca)][_0x3e84f5(0x20e)],'windowBits':_0x3ca5e1}),this['_deflate'][_0x268895]=0x0,this['_deflate'][_0x1f8a52]=[],this[_0x3e84f5(0x32c)]['on']('data',_0x545d29);}this[_0x3e84f5(0x32c)][_0x437b64]=_0x36e424,this[_0x3e84f5(0x32c)][_0x3e84f5(0x1a4)](_0x47fcb2),this[_0x3e84f5(0x32c)][_0x3e84f5(0x27a)](_0x3dad47[_0x3e84f5(0x262)],()=>{const _0x229f85=_0x3e84f5;if(!this[_0x229f85(0x32c)])return;let _0x299e70=_0x51e931[_0x229f85(0x2b8)](this[_0x229f85(0x32c)][_0x1f8a52],this[_0x229f85(0x32c)][_0x268895]);_0x1d5d08&&(_0x299e70=new _0x7ec469(_0x299e70[_0x229f85(0x233)],_0x299e70[_0x229f85(0x1ce)],_0x299e70[_0x229f85(0x1b9)]-0x4)),this[_0x229f85(0x32c)][_0x437b64]=null,this['_deflate'][_0x268895]=0x0,this[_0x229f85(0x32c)][_0x1f8a52]=[],_0x1d5d08&&this[_0x229f85(0x271)][_0x3e9fcb+_0x229f85(0x1de)]&&this['_deflate'][_0x229f85(0x2cb)](),_0x36e424(null,_0x299e70);});}}ve=_0x31aeae;function _0x545d29(_0x269deb){const _0x43d42f=_0x44c37f;this[_0x1f8a52][_0x43d42f(0x24d)](_0x269deb),this[_0x268895]+=_0x269deb[_0x43d42f(0x1b9)];}function _0x390efc(_0x3684cf){const _0x3d7e70=_0x44c37f;if(this[_0x268895]+=_0x3684cf[_0x3d7e70(0x1b9)],this[_0x42a194][_0x3d7e70(0x32e)]<0x1||this[_0x268895]<=this[_0x42a194][_0x3d7e70(0x32e)]){this[_0x1f8a52]['push'](_0x3684cf);return;}this[_0x21798e]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x21798e][_0x3d7e70(0x1bb)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x21798e][_0x135921]=0x3f1,this[_0x3d7e70(0x204)]('data',_0x390efc),this[_0x3d7e70(0x2cb)]();}function _0x5f3d71(_0x1d980a){const _0x2172f5=_0x44c37f;if(this[_0x42a194][_0x2172f5(0x1d6)]=null,this[_0x21798e]){this[_0x437b64](this[_0x21798e]);return;}_0x1d980a[_0x135921]=0x3ef,this[_0x437b64](_0x1d980a);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x12c37c(0x201)](Object[_0x12c37c(0x1b3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x12c37c(0x325)})),Bt=at(Rt);var Ye;function ae(){const _0x26ba86=_0x12c37c;if(Ye)return ie[_0x26ba86(0x23c)];Ye=0x1;const {isUtf8:_0x2827c6}=wt,{hasBlob:_0x3cba6b}=H(),_0x2c3139=[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 _0x209c34(_0x520269){return _0x520269>=0x3e8&&_0x520269<=0x3f6&&_0x520269!==0x3ec&&_0x520269!==0x3ed&&_0x520269!==0x3ee||_0x520269>=0xbb8&&_0x520269<=0x1387;}function _0x103d6b(_0x599276){const _0x536c6c=_0x26ba86,_0xb56ab0=_0x599276[_0x536c6c(0x1b9)];let _0x23a40c=0x0;for(;_0x23a40c<_0xb56ab0;)if((_0x599276[_0x23a40c]&0x80)===0x0)_0x23a40c++;else{if((_0x599276[_0x23a40c]&0xe0)===0xc0){if(_0x23a40c+0x1===_0xb56ab0||(_0x599276[_0x23a40c+0x1]&0xc0)!==0x80||(_0x599276[_0x23a40c]&0xfe)===0xc0)return!0x1;_0x23a40c+=0x2;}else{if((_0x599276[_0x23a40c]&0xf0)===0xe0){if(_0x23a40c+0x2>=_0xb56ab0||(_0x599276[_0x23a40c+0x1]&0xc0)!==0x80||(_0x599276[_0x23a40c+0x2]&0xc0)!==0x80||_0x599276[_0x23a40c]===0xe0&&(_0x599276[_0x23a40c+0x1]&0xe0)===0x80||_0x599276[_0x23a40c]===0xed&&(_0x599276[_0x23a40c+0x1]&0xe0)===0xa0)return!0x1;_0x23a40c+=0x3;}else{if((_0x599276[_0x23a40c]&0xf8)===0xf0){if(_0x23a40c+0x3>=_0xb56ab0||(_0x599276[_0x23a40c+0x1]&0xc0)!==0x80||(_0x599276[_0x23a40c+0x2]&0xc0)!==0x80||(_0x599276[_0x23a40c+0x3]&0xc0)!==0x80||_0x599276[_0x23a40c]===0xf0&&(_0x599276[_0x23a40c+0x1]&0xf0)===0x80||_0x599276[_0x23a40c]===0xf4&&_0x599276[_0x23a40c+0x1]>0x8f||_0x599276[_0x23a40c]>0xf4)return!0x1;_0x23a40c+=0x4;}else return!0x1;}}}return!0x0;}function _0x2333bb(_0x1a3c1a){const _0x4e9d92=_0x26ba86;return _0x3cba6b&&typeof _0x1a3c1a==_0x4e9d92(0x1cf)&&typeof _0x1a3c1a[_0x4e9d92(0x190)]==_0x4e9d92(0x1f1)&&typeof _0x1a3c1a[_0x4e9d92(0x2b5)]==_0x4e9d92(0x2d3)&&typeof _0x1a3c1a[_0x4e9d92(0x327)]==_0x4e9d92(0x1f1)&&(_0x1a3c1a[Symbol[_0x4e9d92(0x16b)]]==='Blob'||_0x1a3c1a[Symbol[_0x4e9d92(0x16b)]]===_0x4e9d92(0x1a1));}if(ie[_0x26ba86(0x23c)]={'isBlob':_0x2333bb,'isValidStatusCode':_0x209c34,'isValidUTF8':_0x103d6b,'tokenChars':_0x2c3139},_0x2827c6)ie[_0x26ba86(0x23c)][_0x26ba86(0x1d2)]=function(_0x37df1a){return _0x37df1a['length']<0x18?_0x103d6b(_0x37df1a):_0x2827c6(_0x37df1a);};else{if(!process['env'][_0x26ba86(0x198)])try{const _0x2a0bb0=Bt;ie[_0x26ba86(0x23c)][_0x26ba86(0x1d2)]=function(_0x564098){const _0x209cdc=_0x26ba86;return _0x564098[_0x209cdc(0x1b9)]<0x20?_0x103d6b(_0x564098):_0x2a0bb0(_0x564098);};}catch{}}return ie[_0x26ba86(0x23c)];}var Se,Ke;function lt(){const _0x5b0d0b=_0x12c37c;if(Ke)return Se;Ke=0x1;const {Writable:_0x197dae}=oe,_0x163ad3=he(),{BINARY_TYPES:_0x2669ea,EMPTY_BUFFER:_0x3d4bc8,kStatusCode:_0xdcccfd,kWebSocket:_0x5b93f7}=H(),{concat:_0x1b28db,toArrayBuffer:_0x5923eb,unmask:_0x3164b3}=ce(),{isValidStatusCode:_0x1482a5,isValidUTF8:_0x387130}=ae(),_0x548f2f=Buffer[Symbol[_0x5b0d0b(0x1cd)]],_0x5c78d7=0x0,_0x458637=0x1,_0x1eb75d=0x2,_0xc0ec54=0x3,_0x15eca3=0x4,_0xa52a00=0x5,_0x514359=0x6;class _0x575954 extends _0x197dae{constructor(_0xa2ac7a={}){const _0x56ff69=_0x5b0d0b;super(),this['_allowSynchronousEvents']=_0xa2ac7a[_0x56ff69(0x1f9)]!==void 0x0?_0xa2ac7a['allowSynchronousEvents']:!0x0,this[_0x56ff69(0x328)]=_0xa2ac7a[_0x56ff69(0x275)]||_0x2669ea[0x0],this[_0x56ff69(0x209)]=_0xa2ac7a[_0x56ff69(0x1ae)]||{},this['_isServer']=!!_0xa2ac7a['isServer'],this[_0x56ff69(0x32e)]=_0xa2ac7a[_0x56ff69(0x2df)]|0x0,this[_0x56ff69(0x2e9)]=!!_0xa2ac7a['skipUTF8Validation'],this[_0x5b93f7]=void 0x0,this['_bufferedBytes']=0x0,this[_0x56ff69(0x214)]=[],this['_compressed']=!0x1,this[_0x56ff69(0x2f9)]=0x0,this[_0x56ff69(0x302)]=void 0x0,this[_0x56ff69(0x20c)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x56ff69(0x256)]=0x0,this[_0x56ff69(0x32f)]=0x0,this[_0x56ff69(0x2f1)]=0x0,this[_0x56ff69(0x16c)]=[],this[_0x56ff69(0x26b)]=!0x1,this['_loop']=!0x1,this[_0x56ff69(0x31c)]=_0x5c78d7;}[_0x5b0d0b(0x1e6)](_0x4cc0bd,_0x566b57,_0x5b7b3e){const _0x4b1b63=_0x5b0d0b;if(this[_0x4b1b63(0x256)]===0x8&&this['_state']==_0x5c78d7)return _0x5b7b3e();this[_0x4b1b63(0x242)]+=_0x4cc0bd[_0x4b1b63(0x1b9)],this[_0x4b1b63(0x214)][_0x4b1b63(0x24d)](_0x4cc0bd),this[_0x4b1b63(0x310)](_0x5b7b3e);}['consume'](_0x127445){const _0x459d0e=_0x5b0d0b;if(this['_bufferedBytes']-=_0x127445,_0x127445===this['_buffers'][0x0][_0x459d0e(0x1b9)])return this['_buffers']['shift']();if(_0x127445<this[_0x459d0e(0x214)][0x0][_0x459d0e(0x1b9)]){const _0x174650=this[_0x459d0e(0x214)][0x0];return this['_buffers'][0x0]=new _0x548f2f(_0x174650[_0x459d0e(0x233)],_0x174650[_0x459d0e(0x1ce)]+_0x127445,_0x174650['length']-_0x127445),new _0x548f2f(_0x174650[_0x459d0e(0x233)],_0x174650[_0x459d0e(0x1ce)],_0x127445);}const _0x1c789d=Buffer['allocUnsafe'](_0x127445);do{const _0x2d07ad=this[_0x459d0e(0x214)][0x0],_0x222f43=_0x1c789d[_0x459d0e(0x1b9)]-_0x127445;_0x127445>=_0x2d07ad['length']?_0x1c789d[_0x459d0e(0x17c)](this[_0x459d0e(0x214)][_0x459d0e(0x293)](),_0x222f43):(_0x1c789d[_0x459d0e(0x17c)](new Uint8Array(_0x2d07ad[_0x459d0e(0x233)],_0x2d07ad[_0x459d0e(0x1ce)],_0x127445),_0x222f43),this[_0x459d0e(0x214)][0x0]=new _0x548f2f(_0x2d07ad[_0x459d0e(0x233)],_0x2d07ad[_0x459d0e(0x1ce)]+_0x127445,_0x2d07ad['length']-_0x127445)),_0x127445-=_0x2d07ad['length'];}while(_0x127445>0x0);return _0x1c789d;}[_0x5b0d0b(0x310)](_0x983f58){const _0x474c8e=_0x5b0d0b;this['_loop']=!0x0;do switch(this[_0x474c8e(0x31c)]){case _0x5c78d7:this[_0x474c8e(0x19c)](_0x983f58);break;case _0x458637:this['getPayloadLength16'](_0x983f58);break;case _0x1eb75d:this['getPayloadLength64'](_0x983f58);break;case _0xc0ec54:this['getMask']();break;case _0x15eca3:this['getData'](_0x983f58);break;case _0xa52a00:case _0x514359:this[_0x474c8e(0x32d)]=!0x1;return;}while(this[_0x474c8e(0x32d)]);this['_errored']||_0x983f58();}[_0x5b0d0b(0x19c)](_0x22fcef){const _0x56e9b0=_0x5b0d0b;if(this[_0x56e9b0(0x242)]<0x2){this[_0x56e9b0(0x32d)]=!0x1;return;}const _0x49e303=this['consume'](0x2);if((_0x49e303[0x0]&0x30)!==0x0){const _0x3987e5=this[_0x56e9b0(0x17a)](RangeError,_0x56e9b0(0x2da),!0x0,0x3ea,_0x56e9b0(0x1f5));_0x22fcef(_0x3987e5);return;}const _0x4ce4e8=(_0x49e303[0x0]&0x40)===0x40;if(_0x4ce4e8&&!this[_0x56e9b0(0x209)][_0x163ad3[_0x56e9b0(0x208)]]){const _0x3ae2b5=this['createError'](RangeError,_0x56e9b0(0x1af),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22fcef(_0x3ae2b5);return;}if(this['_fin']=(_0x49e303[0x0]&0x80)===0x80,this[_0x56e9b0(0x256)]=_0x49e303[0x0]&0xf,this['_payloadLength']=_0x49e303[0x1]&0x7f,this[_0x56e9b0(0x256)]===0x0){if(_0x4ce4e8){const _0x19f449=this[_0x56e9b0(0x17a)](RangeError,_0x56e9b0(0x1af),!0x0,0x3ea,_0x56e9b0(0x28e));_0x22fcef(_0x19f449);return;}if(!this[_0x56e9b0(0x20c)]){const _0x4cc575=this[_0x56e9b0(0x17a)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22fcef(_0x4cc575);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x56e9b0(0x256)]===0x1||this[_0x56e9b0(0x256)]===0x2){if(this['_fragmented']){const _0x2c5745=this[_0x56e9b0(0x17a)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x56e9b0(0x1e5));_0x22fcef(_0x2c5745);return;}this[_0x56e9b0(0x199)]=_0x4ce4e8;}else{if(this[_0x56e9b0(0x256)]>0x7&&this[_0x56e9b0(0x256)]<0xb){if(!this['_fin']){const _0x34f8e0=this[_0x56e9b0(0x17a)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x56e9b0(0x308));_0x22fcef(_0x34f8e0);return;}if(_0x4ce4e8){const _0xa3e729=this['createError'](RangeError,_0x56e9b0(0x1af),!0x0,0x3ea,_0x56e9b0(0x28e));_0x22fcef(_0xa3e729);return;}if(this['_payloadLength']>0x7d||this[_0x56e9b0(0x256)]===0x8&&this[_0x56e9b0(0x2f9)]===0x1){const _0x36659d=this['createError'](RangeError,_0x56e9b0(0x303)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x22fcef(_0x36659d);return;}}else{const _0xdf241d=this[_0x56e9b0(0x17a)](RangeError,_0x56e9b0(0x268)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22fcef(_0xdf241d);return;}}}if(!this[_0x56e9b0(0x2fa)]&&!this[_0x56e9b0(0x20c)]&&(this[_0x56e9b0(0x20c)]=this[_0x56e9b0(0x256)]),this[_0x56e9b0(0x1dd)]=(_0x49e303[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x56e9b0(0x1dd)]){const _0x5d4f9c=this[_0x56e9b0(0x17a)](RangeError,_0x56e9b0(0x1b7),!0x0,0x3ea,_0x56e9b0(0x191));_0x22fcef(_0x5d4f9c);return;}}else{if(this[_0x56e9b0(0x1dd)]){const _0x3f83ca=this[_0x56e9b0(0x17a)](RangeError,_0x56e9b0(0x2d9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x22fcef(_0x3f83ca);return;}}this[_0x56e9b0(0x2f9)]===0x7e?this[_0x56e9b0(0x31c)]=_0x458637:this['_payloadLength']===0x7f?this[_0x56e9b0(0x31c)]=_0x1eb75d:this[_0x56e9b0(0x245)](_0x22fcef);}[_0x5b0d0b(0x29b)](_0x2bfa89){const _0x529fa5=_0x5b0d0b;if(this[_0x529fa5(0x242)]<0x2){this[_0x529fa5(0x32d)]=!0x1;return;}this[_0x529fa5(0x2f9)]=this[_0x529fa5(0x2a1)](0x2)['readUInt16BE'](0x0),this[_0x529fa5(0x245)](_0x2bfa89);}['getPayloadLength64'](_0x23f788){const _0x28304c=_0x5b0d0b;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x4eab86=this[_0x28304c(0x2a1)](0x8),_0x4854d0=_0x4eab86[_0x28304c(0x1ba)](0x0);if(_0x4854d0>Math['pow'](0x2,0x15)-0x1){const _0x43b13b=this[_0x28304c(0x17a)](RangeError,_0x28304c(0x2c2),!0x1,0x3f1,_0x28304c(0x27f));_0x23f788(_0x43b13b);return;}this['_payloadLength']=_0x4854d0*Math['pow'](0x2,0x20)+_0x4eab86['readUInt32BE'](0x4),this[_0x28304c(0x245)](_0x23f788);}['haveLength'](_0x430c6f){const _0x50717a=_0x5b0d0b;if(this[_0x50717a(0x2f9)]&&this['_opcode']<0x8&&(this[_0x50717a(0x32f)]+=this[_0x50717a(0x2f9)],this[_0x50717a(0x32f)]>this['_maxPayload']&&this[_0x50717a(0x32e)]>0x0)){const _0x3156b8=this[_0x50717a(0x17a)](RangeError,_0x50717a(0x221),!0x1,0x3f1,_0x50717a(0x2f8));_0x430c6f(_0x3156b8);return;}this['_masked']?this[_0x50717a(0x31c)]=_0xc0ec54:this[_0x50717a(0x31c)]=_0x15eca3;}['getMask'](){const _0x24f374=_0x5b0d0b;if(this[_0x24f374(0x242)]<0x4){this[_0x24f374(0x32d)]=!0x1;return;}this[_0x24f374(0x302)]=this[_0x24f374(0x2a1)](0x4),this['_state']=_0x15eca3;}[_0x5b0d0b(0x16f)](_0x134ab3){const _0x4ccce0=_0x5b0d0b;let _0x26c7f3=_0x3d4bc8;if(this[_0x4ccce0(0x2f9)]){if(this[_0x4ccce0(0x242)]<this[_0x4ccce0(0x2f9)]){this[_0x4ccce0(0x32d)]=!0x1;return;}_0x26c7f3=this[_0x4ccce0(0x2a1)](this[_0x4ccce0(0x2f9)]),this[_0x4ccce0(0x1dd)]&&(this['_mask'][0x0]|this[_0x4ccce0(0x302)][0x1]|this[_0x4ccce0(0x302)][0x2]|this[_0x4ccce0(0x302)][0x3])!==0x0&&_0x3164b3(_0x26c7f3,this[_0x4ccce0(0x302)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x26c7f3,_0x134ab3);return;}if(this['_compressed']){this['_state']=_0xa52a00,this[_0x4ccce0(0x1fb)](_0x26c7f3,_0x134ab3);return;}_0x26c7f3['length']&&(this[_0x4ccce0(0x2f1)]=this[_0x4ccce0(0x32f)],this[_0x4ccce0(0x16c)][_0x4ccce0(0x24d)](_0x26c7f3)),this[_0x4ccce0(0x23f)](_0x134ab3);}[_0x5b0d0b(0x1fb)](_0x3e5c88,_0x3345a6){const _0x5b5043=_0x5b0d0b;this[_0x5b5043(0x209)][_0x163ad3['extensionName']][_0x5b5043(0x1fb)](_0x3e5c88,this[_0x5b5043(0x2fa)],(_0x1b2e55,_0x1b482a)=>{const _0x4851af=_0x5b5043;if(_0x1b2e55)return _0x3345a6(_0x1b2e55);if(_0x1b482a['length']){if(this[_0x4851af(0x2f1)]+=_0x1b482a[_0x4851af(0x1b9)],this[_0x4851af(0x2f1)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x178963=this[_0x4851af(0x17a)](RangeError,_0x4851af(0x221),!0x1,0x3f1,_0x4851af(0x2f8));_0x3345a6(_0x178963);return;}this['_fragments'][_0x4851af(0x24d)](_0x1b482a);}this[_0x4851af(0x23f)](_0x3345a6),this['_state']===_0x5c78d7&&this['startLoop'](_0x3345a6);});}['dataMessage'](_0x595451){const _0x33e318=_0x5b0d0b;if(!this[_0x33e318(0x2fa)]){this['_state']=_0x5c78d7;return;}const _0x22d444=this[_0x33e318(0x2f1)],_0x44326b=this[_0x33e318(0x16c)];if(this[_0x33e318(0x32f)]=0x0,this['_messageLength']=0x0,this[_0x33e318(0x20c)]=0x0,this[_0x33e318(0x16c)]=[],this[_0x33e318(0x256)]===0x2){let _0x385f3a;this[_0x33e318(0x328)]==='nodebuffer'?_0x385f3a=_0x1b28db(_0x44326b,_0x22d444):this[_0x33e318(0x328)]===_0x33e318(0x22c)?_0x385f3a=_0x5923eb(_0x1b28db(_0x44326b,_0x22d444)):this[_0x33e318(0x328)]===_0x33e318(0x2a9)?_0x385f3a=new Blob(_0x44326b):_0x385f3a=_0x44326b,this[_0x33e318(0x288)]?(this[_0x33e318(0x253)]('message',_0x385f3a,!0x0),this['_state']=_0x5c78d7):(this[_0x33e318(0x31c)]=_0x514359,setImmediate(()=>{const _0x2476cb=_0x33e318;this[_0x2476cb(0x253)](_0x2476cb(0x2b3),_0x385f3a,!0x0),this['_state']=_0x5c78d7,this[_0x2476cb(0x310)](_0x595451);}));}else{const _0x21fd5e=_0x1b28db(_0x44326b,_0x22d444);if(!this[_0x33e318(0x2e9)]&&!_0x387130(_0x21fd5e)){const _0x4527fd=this[_0x33e318(0x17a)](Error,_0x33e318(0x259),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x595451(_0x4527fd);return;}this['_state']===_0xa52a00||this[_0x33e318(0x288)]?(this['emit'](_0x33e318(0x2b3),_0x21fd5e,!0x1),this[_0x33e318(0x31c)]=_0x5c78d7):(this[_0x33e318(0x31c)]=_0x514359,setImmediate(()=>{const _0x17ead6=_0x33e318;this[_0x17ead6(0x253)](_0x17ead6(0x2b3),_0x21fd5e,!0x1),this[_0x17ead6(0x31c)]=_0x5c78d7,this[_0x17ead6(0x310)](_0x595451);}));}}[_0x5b0d0b(0x19b)](_0x3ba32a,_0x13fa2a){const _0x5acdfe=_0x5b0d0b;if(this['_opcode']===0x8){if(_0x3ba32a[_0x5acdfe(0x1b9)]===0x0)this[_0x5acdfe(0x32d)]=!0x1,this[_0x5acdfe(0x253)](_0x5acdfe(0x25b),0x3ed,_0x3d4bc8),this[_0x5acdfe(0x23a)]();else{const _0x10d64e=_0x3ba32a['readUInt16BE'](0x0);if(!_0x1482a5(_0x10d64e)){const _0x2ba19d=this[_0x5acdfe(0x17a)](RangeError,'invalid\x20status\x20code\x20'+_0x10d64e,!0x0,0x3ea,_0x5acdfe(0x2ae));_0x13fa2a(_0x2ba19d);return;}const _0x51eb11=new _0x548f2f(_0x3ba32a['buffer'],_0x3ba32a['byteOffset']+0x2,_0x3ba32a[_0x5acdfe(0x1b9)]-0x2);if(!this[_0x5acdfe(0x2e9)]&&!_0x387130(_0x51eb11)){const _0x216c0c=this[_0x5acdfe(0x17a)](Error,_0x5acdfe(0x259),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x13fa2a(_0x216c0c);return;}this[_0x5acdfe(0x32d)]=!0x1,this[_0x5acdfe(0x253)]('conclude',_0x10d64e,_0x51eb11),this[_0x5acdfe(0x23a)]();}this[_0x5acdfe(0x31c)]=_0x5c78d7;return;}this[_0x5acdfe(0x288)]?(this['emit'](this['_opcode']===0x9?_0x5acdfe(0x1b8):_0x5acdfe(0x16d),_0x3ba32a),this[_0x5acdfe(0x31c)]=_0x5c78d7):(this[_0x5acdfe(0x31c)]=_0x514359,setImmediate(()=>{const _0x51af73=_0x5acdfe;this['emit'](this[_0x51af73(0x256)]===0x9?_0x51af73(0x1b8):'pong',_0x3ba32a),this['_state']=_0x5c78d7,this[_0x51af73(0x310)](_0x13fa2a);}));}[_0x5b0d0b(0x17a)](_0x565794,_0x16d267,_0x179c79,_0x5c9119,_0x130a6b){const _0x32fb2d=_0x5b0d0b;this[_0x32fb2d(0x32d)]=!0x1,this[_0x32fb2d(0x26b)]=!0x0;const _0x39e08e=new _0x565794(_0x179c79?_0x32fb2d(0x1a2)+_0x16d267:_0x16d267);return Error[_0x32fb2d(0x207)](_0x39e08e,this[_0x32fb2d(0x17a)]),_0x39e08e[_0x32fb2d(0x1bb)]=_0x130a6b,_0x39e08e[_0xdcccfd]=_0x5c9119,_0x39e08e;}}return Se=_0x575954,Se;}var Ee,Xe;function ft(){const _0x4b6d05=_0x12c37c;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x13fc1a}=oe,{randomFillSync:_0x14bc67}=Le,_0x154043=he(),{EMPTY_BUFFER:_0x483e45,kWebSocket:_0x1f1f00,NOOP:_0x370ff1}=H(),{isBlob:_0x2a39bb,isValidStatusCode:_0x396819}=ae(),{mask:_0x237009,toBuffer:_0x2cecc9}=ce(),_0x402e4a=Symbol(_0x4b6d05(0x2f4)),_0x4aec9a=Buffer[_0x4b6d05(0x1a8)](0x4),_0x1182ad=0x8*0x400;let _0x206c16,_0x236e43=_0x1182ad;const _0x12db02=0x0,_0x8e8402=0x1,_0x1591e5=0x2;class _0x1889f7{constructor(_0x3f2c23,_0xb45ca9,_0x1fca6a){const _0x31ba13=_0x4b6d05;this[_0x31ba13(0x209)]=_0xb45ca9||{},_0x1fca6a&&(this['_generateMask']=_0x1fca6a,this[_0x31ba13(0x314)]=Buffer[_0x31ba13(0x1a8)](0x4)),this[_0x31ba13(0x1c7)]=_0x3f2c23,this[_0x31ba13(0x241)]=!0x0,this[_0x31ba13(0x258)]=!0x1,this['_bufferedBytes']=0x0,this[_0x31ba13(0x2ac)]=[],this[_0x31ba13(0x31c)]=_0x12db02,this[_0x31ba13(0x2d7)]=_0x370ff1,this[_0x1f1f00]=void 0x0;}static[_0x4b6d05(0x218)](_0xdf7963,_0x55ee1a){const _0x12c4b8=_0x4b6d05;let _0x572efa,_0x1d989c=!0x1,_0x3d21d0=0x2,_0x213136=!0x1;_0x55ee1a['mask']&&(_0x572efa=_0x55ee1a[_0x12c4b8(0x2fc)]||_0x4aec9a,_0x55ee1a[_0x12c4b8(0x244)]?_0x55ee1a[_0x12c4b8(0x244)](_0x572efa):(_0x236e43===_0x1182ad&&(_0x206c16===void 0x0&&(_0x206c16=Buffer[_0x12c4b8(0x1a8)](_0x1182ad)),_0x14bc67(_0x206c16,0x0,_0x1182ad),_0x236e43=0x0),_0x572efa[0x0]=_0x206c16[_0x236e43++],_0x572efa[0x1]=_0x206c16[_0x236e43++],_0x572efa[0x2]=_0x206c16[_0x236e43++],_0x572efa[0x3]=_0x206c16[_0x236e43++]),_0x213136=(_0x572efa[0x0]|_0x572efa[0x1]|_0x572efa[0x2]|_0x572efa[0x3])===0x0,_0x3d21d0=0x6);let _0xaf6a8;typeof _0xdf7963==_0x12c4b8(0x2d3)?(!_0x55ee1a[_0x12c4b8(0x318)]||_0x213136)&&_0x55ee1a[_0x402e4a]!==void 0x0?_0xaf6a8=_0x55ee1a[_0x402e4a]:(_0xdf7963=Buffer['from'](_0xdf7963),_0xaf6a8=_0xdf7963[_0x12c4b8(0x1b9)]):(_0xaf6a8=_0xdf7963[_0x12c4b8(0x1b9)],_0x1d989c=_0x55ee1a[_0x12c4b8(0x318)]&&_0x55ee1a[_0x12c4b8(0x1c4)]&&!_0x213136);let _0x408c34=_0xaf6a8;_0xaf6a8>=0x10000?(_0x3d21d0+=0x8,_0x408c34=0x7f):_0xaf6a8>0x7d&&(_0x3d21d0+=0x2,_0x408c34=0x7e);const _0x35e248=Buffer[_0x12c4b8(0x326)](_0x1d989c?_0xaf6a8+_0x3d21d0:_0x3d21d0);return _0x35e248[0x0]=_0x55ee1a[_0x12c4b8(0x1fe)]?_0x55ee1a[_0x12c4b8(0x219)]|0x80:_0x55ee1a['opcode'],_0x55ee1a[_0x12c4b8(0x30d)]&&(_0x35e248[0x0]|=0x40),_0x35e248[0x1]=_0x408c34,_0x408c34===0x7e?_0x35e248[_0x12c4b8(0x2d4)](_0xaf6a8,0x2):_0x408c34===0x7f&&(_0x35e248[0x2]=_0x35e248[0x3]=0x0,_0x35e248[_0x12c4b8(0x228)](_0xaf6a8,0x4,0x6)),_0x55ee1a[_0x12c4b8(0x318)]?(_0x35e248[0x1]|=0x80,_0x35e248[_0x3d21d0-0x4]=_0x572efa[0x0],_0x35e248[_0x3d21d0-0x3]=_0x572efa[0x1],_0x35e248[_0x3d21d0-0x2]=_0x572efa[0x2],_0x35e248[_0x3d21d0-0x1]=_0x572efa[0x3],_0x213136?[_0x35e248,_0xdf7963]:_0x1d989c?(_0x237009(_0xdf7963,_0x572efa,_0x35e248,_0x3d21d0,_0xaf6a8),[_0x35e248]):(_0x237009(_0xdf7963,_0x572efa,_0xdf7963,0x0,_0xaf6a8),[_0x35e248,_0xdf7963])):[_0x35e248,_0xdf7963];}['close'](_0x457be9,_0x2ad4d1,_0x151f15,_0x3d90a8){const _0x30fb5e=_0x4b6d05;let _0x22dbf6;if(_0x457be9===void 0x0)_0x22dbf6=_0x483e45;else{if(typeof _0x457be9!=_0x30fb5e(0x31d)||!_0x396819(_0x457be9))throw new TypeError(_0x30fb5e(0x213));if(_0x2ad4d1===void 0x0||!_0x2ad4d1[_0x30fb5e(0x1b9)])_0x22dbf6=Buffer[_0x30fb5e(0x326)](0x2),_0x22dbf6['writeUInt16BE'](_0x457be9,0x0);else{const _0x15c1f7=Buffer[_0x30fb5e(0x2c1)](_0x2ad4d1);if(_0x15c1f7>0x7b)throw new RangeError(_0x30fb5e(0x2ee));_0x22dbf6=Buffer[_0x30fb5e(0x326)](0x2+_0x15c1f7),_0x22dbf6[_0x30fb5e(0x2d4)](_0x457be9,0x0),typeof _0x2ad4d1==_0x30fb5e(0x2d3)?_0x22dbf6[_0x30fb5e(0x1a4)](_0x2ad4d1,0x2):_0x22dbf6[_0x30fb5e(0x17c)](_0x2ad4d1,0x2);}}const _0x4ad00c={[_0x402e4a]:_0x22dbf6[_0x30fb5e(0x1b9)],'fin':!0x0,'generateMask':this[_0x30fb5e(0x1b6)],'mask':_0x151f15,'maskBuffer':this[_0x30fb5e(0x314)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x30fb5e(0x31c)]!==_0x12db02?this[_0x30fb5e(0x1b4)]([this['dispatch'],_0x22dbf6,!0x1,_0x4ad00c,_0x3d90a8]):this[_0x30fb5e(0x2ca)](_0x1889f7['frame'](_0x22dbf6,_0x4ad00c),_0x3d90a8);}[_0x4b6d05(0x1b8)](_0x47f2d5,_0x4a0000,_0x1b865c){const _0x328e2f=_0x4b6d05;let _0x5c8036,_0x2ac2f8;if(typeof _0x47f2d5==_0x328e2f(0x2d3)?(_0x5c8036=Buffer[_0x328e2f(0x2c1)](_0x47f2d5),_0x2ac2f8=!0x1):_0x2a39bb(_0x47f2d5)?(_0x5c8036=_0x47f2d5['size'],_0x2ac2f8=!0x1):(_0x47f2d5=_0x2cecc9(_0x47f2d5),_0x5c8036=_0x47f2d5['length'],_0x2ac2f8=_0x2cecc9[_0x328e2f(0x1c4)]),_0x5c8036>0x7d)throw new RangeError(_0x328e2f(0x234));const _0x487a88={[_0x402e4a]:_0x5c8036,'fin':!0x0,'generateMask':this[_0x328e2f(0x1b6)],'mask':_0x4a0000,'maskBuffer':this[_0x328e2f(0x314)],'opcode':0x9,'readOnly':_0x2ac2f8,'rsv1':!0x1};_0x2a39bb(_0x47f2d5)?this[_0x328e2f(0x31c)]!==_0x12db02?this[_0x328e2f(0x1b4)]([this['getBlobData'],_0x47f2d5,!0x1,_0x487a88,_0x1b865c]):this[_0x328e2f(0x276)](_0x47f2d5,!0x1,_0x487a88,_0x1b865c):this[_0x328e2f(0x31c)]!==_0x12db02?this[_0x328e2f(0x1b4)]([this[_0x328e2f(0x2ad)],_0x47f2d5,!0x1,_0x487a88,_0x1b865c]):this[_0x328e2f(0x2ca)](_0x1889f7[_0x328e2f(0x218)](_0x47f2d5,_0x487a88),_0x1b865c);}[_0x4b6d05(0x16d)](_0xd96b94,_0x2efc2c,_0x18f109){const _0x659580=_0x4b6d05;let _0x481088,_0x28104d;if(typeof _0xd96b94==_0x659580(0x2d3)?(_0x481088=Buffer['byteLength'](_0xd96b94),_0x28104d=!0x1):_0x2a39bb(_0xd96b94)?(_0x481088=_0xd96b94[_0x659580(0x2e7)],_0x28104d=!0x1):(_0xd96b94=_0x2cecc9(_0xd96b94),_0x481088=_0xd96b94[_0x659580(0x1b9)],_0x28104d=_0x2cecc9[_0x659580(0x1c4)]),_0x481088>0x7d)throw new RangeError(_0x659580(0x234));const _0x356be6={[_0x402e4a]:_0x481088,'fin':!0x0,'generateMask':this[_0x659580(0x1b6)],'mask':_0x2efc2c,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x28104d,'rsv1':!0x1};_0x2a39bb(_0xd96b94)?this[_0x659580(0x31c)]!==_0x12db02?this[_0x659580(0x1b4)]([this[_0x659580(0x276)],_0xd96b94,!0x1,_0x356be6,_0x18f109]):this[_0x659580(0x276)](_0xd96b94,!0x1,_0x356be6,_0x18f109):this[_0x659580(0x31c)]!==_0x12db02?this['enqueue']([this['dispatch'],_0xd96b94,!0x1,_0x356be6,_0x18f109]):this[_0x659580(0x2ca)](_0x1889f7[_0x659580(0x218)](_0xd96b94,_0x356be6),_0x18f109);}['send'](_0x578865,_0x1e08ec,_0x3a70da){const _0x1d315f=_0x4b6d05,_0x5dbc24=this[_0x1d315f(0x209)][_0x154043[_0x1d315f(0x208)]];let _0x45c20b=_0x1e08ec[_0x1d315f(0x1ff)]?0x2:0x1,_0x1f6f26=_0x1e08ec[_0x1d315f(0x1fa)],_0x1ef615,_0x5deaeb;typeof _0x578865==_0x1d315f(0x2d3)?(_0x1ef615=Buffer['byteLength'](_0x578865),_0x5deaeb=!0x1):_0x2a39bb(_0x578865)?(_0x1ef615=_0x578865[_0x1d315f(0x2e7)],_0x5deaeb=!0x1):(_0x578865=_0x2cecc9(_0x578865),_0x1ef615=_0x578865['length'],_0x5deaeb=_0x2cecc9[_0x1d315f(0x1c4)]),this[_0x1d315f(0x241)]?(this[_0x1d315f(0x241)]=!0x1,_0x1f6f26&&_0x5dbc24&&_0x5dbc24[_0x1d315f(0x271)][_0x5dbc24[_0x1d315f(0x2aa)]?_0x1d315f(0x289):'client_no_context_takeover']&&(_0x1f6f26=_0x1ef615>=_0x5dbc24[_0x1d315f(0x2ce)]),this[_0x1d315f(0x258)]=_0x1f6f26):(_0x1f6f26=!0x1,_0x45c20b=0x0),_0x1e08ec[_0x1d315f(0x1fe)]&&(this[_0x1d315f(0x241)]=!0x0);const _0x49ba61={[_0x402e4a]:_0x1ef615,'fin':_0x1e08ec[_0x1d315f(0x1fe)],'generateMask':this[_0x1d315f(0x1b6)],'mask':_0x1e08ec[_0x1d315f(0x318)],'maskBuffer':this[_0x1d315f(0x314)],'opcode':_0x45c20b,'readOnly':_0x5deaeb,'rsv1':_0x1f6f26};_0x2a39bb(_0x578865)?this[_0x1d315f(0x31c)]!==_0x12db02?this[_0x1d315f(0x1b4)]([this[_0x1d315f(0x276)],_0x578865,this['_compress'],_0x49ba61,_0x3a70da]):this[_0x1d315f(0x276)](_0x578865,this['_compress'],_0x49ba61,_0x3a70da):this['_state']!==_0x12db02?this[_0x1d315f(0x1b4)]([this[_0x1d315f(0x2ad)],_0x578865,this['_compress'],_0x49ba61,_0x3a70da]):this[_0x1d315f(0x2ad)](_0x578865,this[_0x1d315f(0x258)],_0x49ba61,_0x3a70da);}[_0x4b6d05(0x276)](_0x504cf0,_0x3bd152,_0x52a70c,_0x382fc3){const _0x234901=_0x4b6d05;this[_0x234901(0x242)]+=_0x52a70c[_0x402e4a],this[_0x234901(0x31c)]=_0x1591e5,_0x504cf0['arrayBuffer']()[_0x234901(0x2f6)](_0x3ddff4=>{const _0x1b8612=_0x234901;if(this[_0x1b8612(0x1c7)]['destroyed']){const _0x3bc6cc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1b8612(0x16e)](_0xcd6841,this,_0x3bc6cc,_0x382fc3);return;}this[_0x1b8612(0x242)]-=_0x52a70c[_0x402e4a];const _0x1ba2af=_0x2cecc9(_0x3ddff4);_0x3bd152?this[_0x1b8612(0x2ad)](_0x1ba2af,_0x3bd152,_0x52a70c,_0x382fc3):(this[_0x1b8612(0x31c)]=_0x12db02,this[_0x1b8612(0x2ca)](_0x1889f7['frame'](_0x1ba2af,_0x52a70c),_0x382fc3),this[_0x1b8612(0x320)]());})[_0x234901(0x251)](_0x13b3fc=>{const _0x3bbe6f=_0x234901;process[_0x3bbe6f(0x16e)](_0x38ce59,this,_0x13b3fc,_0x382fc3);});}['dispatch'](_0x27c2e3,_0x286560,_0x5a032c,_0x2918fc){const _0x30d67f=_0x4b6d05;if(!_0x286560){this[_0x30d67f(0x2ca)](_0x1889f7[_0x30d67f(0x218)](_0x27c2e3,_0x5a032c),_0x2918fc);return;}const _0x584e07=this[_0x30d67f(0x209)][_0x154043['extensionName']];this[_0x30d67f(0x242)]+=_0x5a032c[_0x402e4a],this[_0x30d67f(0x31c)]=_0x8e8402,_0x584e07[_0x30d67f(0x1fa)](_0x27c2e3,_0x5a032c[_0x30d67f(0x1fe)],(_0x3c26c3,_0x319e67)=>{const _0x51ba86=_0x30d67f;if(this[_0x51ba86(0x1c7)]['destroyed']){const _0x18c7a9=new Error(_0x51ba86(0x28a));_0xcd6841(this,_0x18c7a9,_0x2918fc);return;}this[_0x51ba86(0x242)]-=_0x5a032c[_0x402e4a],this[_0x51ba86(0x31c)]=_0x12db02,_0x5a032c[_0x51ba86(0x1c4)]=!0x1,this[_0x51ba86(0x2ca)](_0x1889f7[_0x51ba86(0x218)](_0x319e67,_0x5a032c),_0x2918fc),this[_0x51ba86(0x320)]();});}['dequeue'](){const _0x5d9c18=_0x4b6d05;for(;this[_0x5d9c18(0x31c)]===_0x12db02&&this['_queue'][_0x5d9c18(0x1b9)];){const _0x4e82b9=this[_0x5d9c18(0x2ac)][_0x5d9c18(0x293)]();this[_0x5d9c18(0x242)]-=_0x4e82b9[0x3][_0x402e4a],Reflect[_0x5d9c18(0x203)](_0x4e82b9[0x0],this,_0x4e82b9['slice'](0x1));}}[_0x4b6d05(0x1b4)](_0x837a75){const _0x3c8ea4=_0x4b6d05;this[_0x3c8ea4(0x242)]+=_0x837a75[0x3][_0x402e4a],this[_0x3c8ea4(0x2ac)][_0x3c8ea4(0x24d)](_0x837a75);}[_0x4b6d05(0x2ca)](_0x568390,_0x565260){const _0x1043cf=_0x4b6d05;_0x568390['length']===0x2?(this['_socket'][_0x1043cf(0x2bb)](),this[_0x1043cf(0x1c7)][_0x1043cf(0x1a4)](_0x568390[0x0]),this[_0x1043cf(0x1c7)][_0x1043cf(0x1a4)](_0x568390[0x1],_0x565260),this[_0x1043cf(0x1c7)][_0x1043cf(0x2a6)]()):this[_0x1043cf(0x1c7)]['write'](_0x568390[0x0],_0x565260);}}Ee=_0x1889f7;function _0xcd6841(_0x205438,_0x13976b,_0x1690a9){const _0x4d891c=_0x4b6d05;typeof _0x1690a9==_0x4d891c(0x1f1)&&_0x1690a9(_0x13976b);for(let _0x2f0ce7=0x0;_0x2f0ce7<_0x205438['_queue'][_0x4d891c(0x1b9)];_0x2f0ce7++){const _0x415b3f=_0x205438[_0x4d891c(0x2ac)][_0x2f0ce7],_0x2f895a=_0x415b3f[_0x415b3f[_0x4d891c(0x1b9)]-0x1];typeof _0x2f895a=='function'&&_0x2f895a(_0x13976b);}}function _0x38ce59(_0x1893d8,_0x4f4935,_0x1e5783){const _0x44db19=_0x4b6d05;_0xcd6841(_0x1893d8,_0x4f4935,_0x1e5783),_0x1893d8[_0x44db19(0x2d7)](_0x4f4935);}return Ee;}var xe,Ze;function It(){const _0x242288=_0x12c37c;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3b5805,kListener:_0x1f0041}=H(),_0x4d0aa4=Symbol('kCode'),_0x3b8cc5=Symbol(_0x242288(0x2b4)),_0x4b0b9a=Symbol('kError'),_0x3885be=Symbol(_0x242288(0x2c5)),_0x3e72d1=Symbol(_0x242288(0x1c9)),_0x3f947a=Symbol(_0x242288(0x27e)),_0x2822e7=Symbol(_0x242288(0x27b)),_0x1f9eb2=Symbol(_0x242288(0x26a));class _0x3c7430{constructor(_0x2c496b){this[_0x3f947a]=null,this[_0x2822e7]=_0x2c496b;}get[_0x242288(0x261)](){return this[_0x3f947a];}get['type'](){return this[_0x2822e7];}}Object[_0x242288(0x1b3)](_0x3c7430['prototype'],_0x242288(0x261),{'enumerable':!0x0}),Object[_0x242288(0x1b3)](_0x3c7430[_0x242288(0x24f)],_0x242288(0x2b5),{'enumerable':!0x0});class _0x5946f4 extends _0x3c7430{constructor(_0x18ee6e,_0x40f9a1={}){const _0xbc6a94=_0x242288;super(_0x18ee6e),this[_0x4d0aa4]=_0x40f9a1['code']===void 0x0?0x0:_0x40f9a1['code'],this[_0x3e72d1]=_0x40f9a1['reason']===void 0x0?'':_0x40f9a1['reason'],this[_0x1f9eb2]=_0x40f9a1[_0xbc6a94(0x1e3)]===void 0x0?!0x1:_0x40f9a1[_0xbc6a94(0x1e3)];}get['code'](){return this[_0x4d0aa4];}get[_0x242288(0x1bc)](){return this[_0x3e72d1];}get[_0x242288(0x1e3)](){return this[_0x1f9eb2];}}Object['defineProperty'](_0x5946f4['prototype'],_0x242288(0x1bb),{'enumerable':!0x0}),Object[_0x242288(0x1b3)](_0x5946f4['prototype'],_0x242288(0x1bc),{'enumerable':!0x0}),Object[_0x242288(0x1b3)](_0x5946f4[_0x242288(0x24f)],_0x242288(0x1e3),{'enumerable':!0x0});class _0x2c6d3c extends _0x3c7430{constructor(_0x6aacc3,_0x1d50d6={}){const _0xd7ffdc=_0x242288;super(_0x6aacc3),this[_0x4b0b9a]=_0x1d50d6[_0xd7ffdc(0x184)]===void 0x0?null:_0x1d50d6[_0xd7ffdc(0x184)],this[_0x3885be]=_0x1d50d6[_0xd7ffdc(0x2b3)]===void 0x0?'':_0x1d50d6[_0xd7ffdc(0x2b3)];}get[_0x242288(0x184)](){return this[_0x4b0b9a];}get[_0x242288(0x2b3)](){return this[_0x3885be];}}Object['defineProperty'](_0x2c6d3c['prototype'],_0x242288(0x184),{'enumerable':!0x0}),Object[_0x242288(0x1b3)](_0x2c6d3c[_0x242288(0x24f)],_0x242288(0x2b3),{'enumerable':!0x0});class _0x37136f extends _0x3c7430{constructor(_0x1117f6,_0x4d98d0={}){const _0x1aa0e4=_0x242288;super(_0x1117f6),this[_0x3b8cc5]=_0x4d98d0[_0x1aa0e4(0x294)]===void 0x0?null:_0x4d98d0[_0x1aa0e4(0x294)];}get[_0x242288(0x294)](){return this[_0x3b8cc5];}}Object['defineProperty'](_0x37136f[_0x242288(0x24f)],_0x242288(0x294),{'enumerable':!0x0}),xe={'CloseEvent':_0x5946f4,'ErrorEvent':_0x2c6d3c,'Event':_0x3c7430,'EventTarget':{'addEventListener'(_0x386dd1,_0x368ad2,_0x123cf4={}){const _0x2c1680=_0x242288;for(const _0x54fe15 of this[_0x2c1680(0x295)](_0x386dd1))if(!_0x123cf4[_0x3b5805]&&_0x54fe15[_0x1f0041]===_0x368ad2&&!_0x54fe15[_0x3b5805])return;let _0x1ab4ed;if(_0x386dd1==='message')_0x1ab4ed=function(_0x293268,_0x216ab6){const _0x1ef931=_0x2c1680,_0x30180f=new _0x37136f(_0x1ef931(0x2b3),{'data':_0x216ab6?_0x293268:_0x293268[_0x1ef931(0x2fb)]()});_0x30180f[_0x3f947a]=this,_0x29481f(_0x368ad2,this,_0x30180f);};else{if(_0x386dd1===_0x2c1680(0x20f))_0x1ab4ed=function(_0x216997,_0xa65745){const _0x3f8022=_0x2c1680,_0x1d99c5=new _0x5946f4(_0x3f8022(0x20f),{'code':_0x216997,'reason':_0xa65745[_0x3f8022(0x2fb)](),'wasClean':this[_0x3f8022(0x206)]&&this[_0x3f8022(0x19d)]});_0x1d99c5[_0x3f947a]=this,_0x29481f(_0x368ad2,this,_0x1d99c5);};else{if(_0x386dd1===_0x2c1680(0x184))_0x1ab4ed=function(_0x500180){const _0x1edb9f=_0x2c1680,_0x40fac1=new _0x2c6d3c('error',{'error':_0x500180,'message':_0x500180[_0x1edb9f(0x2b3)]});_0x40fac1[_0x3f947a]=this,_0x29481f(_0x368ad2,this,_0x40fac1);};else{if(_0x386dd1===_0x2c1680(0x1cc))_0x1ab4ed=function(){const _0x4d4809=_0x2c1680,_0x829200=new _0x3c7430(_0x4d4809(0x1cc));_0x829200[_0x3f947a]=this,_0x29481f(_0x368ad2,this,_0x829200);};else return;}}}_0x1ab4ed[_0x3b5805]=!!_0x123cf4[_0x3b5805],_0x1ab4ed[_0x1f0041]=_0x368ad2,_0x123cf4[_0x2c1680(0x2dd)]?this['once'](_0x386dd1,_0x1ab4ed):this['on'](_0x386dd1,_0x1ab4ed);},'removeEventListener'(_0x5961f1,_0x2537bd){const _0x18bd19=_0x242288;for(const _0x11e377 of this[_0x18bd19(0x295)](_0x5961f1))if(_0x11e377[_0x1f0041]===_0x2537bd&&!_0x11e377[_0x3b5805]){this['removeListener'](_0x5961f1,_0x11e377);break;}}},'MessageEvent':_0x37136f};function _0x29481f(_0x5ade35,_0x2623b3,_0xd3a712){const _0x234f40=_0x242288;typeof _0x5ade35==_0x234f40(0x1cf)&&_0x5ade35[_0x234f40(0x2ff)]?_0x5ade35[_0x234f40(0x2ff)][_0x234f40(0x1f8)](_0x5ade35,_0xd3a712):_0x5ade35[_0x234f40(0x1f8)](_0x2623b3,_0xd3a712);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2484a3}=ae();function _0x5e8d10(_0x3c4be1,_0x3cb895,_0x4b5a6e){const _0x5627a1=_0x63a2;_0x3c4be1[_0x3cb895]===void 0x0?_0x3c4be1[_0x3cb895]=[_0x4b5a6e]:_0x3c4be1[_0x3cb895][_0x5627a1(0x24d)](_0x4b5a6e);}function _0x4358cd(_0x1bbada){const _0x5bb854=_0x63a2,_0x21610a=Object[_0x5bb854(0x195)](null);let _0xfe2f15=Object[_0x5bb854(0x195)](null),_0x352cb0=!0x1,_0x2cb9dc=!0x1,_0x2fca4d=!0x1,_0x4de3e9,_0x576716,_0x4bb01e=-0x1,_0x1ffd97=-0x1,_0x396233=-0x1,_0x1f9651=0x0;for(;_0x1f9651<_0x1bbada[_0x5bb854(0x1b9)];_0x1f9651++)if(_0x1ffd97=_0x1bbada[_0x5bb854(0x22f)](_0x1f9651),_0x4de3e9===void 0x0){if(_0x396233===-0x1&&_0x2484a3[_0x1ffd97]===0x1)_0x4bb01e===-0x1&&(_0x4bb01e=_0x1f9651);else{if(_0x1f9651!==0x0&&(_0x1ffd97===0x20||_0x1ffd97===0x9))_0x396233===-0x1&&_0x4bb01e!==-0x1&&(_0x396233=_0x1f9651);else{if(_0x1ffd97===0x3b||_0x1ffd97===0x2c){if(_0x4bb01e===-0x1)throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);_0x396233===-0x1&&(_0x396233=_0x1f9651);const _0xd6479c=_0x1bbada[_0x5bb854(0x287)](_0x4bb01e,_0x396233);_0x1ffd97===0x2c?(_0x5e8d10(_0x21610a,_0xd6479c,_0xfe2f15),_0xfe2f15=Object['create'](null)):_0x4de3e9=_0xd6479c,_0x4bb01e=_0x396233=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f9651);}}}else{if(_0x576716===void 0x0){if(_0x396233===-0x1&&_0x2484a3[_0x1ffd97]===0x1)_0x4bb01e===-0x1&&(_0x4bb01e=_0x1f9651);else{if(_0x1ffd97===0x20||_0x1ffd97===0x9)_0x396233===-0x1&&_0x4bb01e!==-0x1&&(_0x396233=_0x1f9651);else{if(_0x1ffd97===0x3b||_0x1ffd97===0x2c){if(_0x4bb01e===-0x1)throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);_0x396233===-0x1&&(_0x396233=_0x1f9651),_0x5e8d10(_0xfe2f15,_0x1bbada[_0x5bb854(0x287)](_0x4bb01e,_0x396233),!0x0),_0x1ffd97===0x2c&&(_0x5e8d10(_0x21610a,_0x4de3e9,_0xfe2f15),_0xfe2f15=Object[_0x5bb854(0x195)](null),_0x4de3e9=void 0x0),_0x4bb01e=_0x396233=-0x1;}else{if(_0x1ffd97===0x3d&&_0x4bb01e!==-0x1&&_0x396233===-0x1)_0x576716=_0x1bbada['slice'](_0x4bb01e,_0x1f9651),_0x4bb01e=_0x396233=-0x1;else throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);}}}}else{if(_0x2cb9dc){if(_0x2484a3[_0x1ffd97]!==0x1)throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);_0x4bb01e===-0x1?_0x4bb01e=_0x1f9651:_0x352cb0||(_0x352cb0=!0x0),_0x2cb9dc=!0x1;}else{if(_0x2fca4d){if(_0x2484a3[_0x1ffd97]===0x1)_0x4bb01e===-0x1&&(_0x4bb01e=_0x1f9651);else{if(_0x1ffd97===0x22&&_0x4bb01e!==-0x1)_0x2fca4d=!0x1,_0x396233=_0x1f9651;else{if(_0x1ffd97===0x5c)_0x2cb9dc=!0x0;else throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);}}}else{if(_0x1ffd97===0x22&&_0x1bbada[_0x5bb854(0x22f)](_0x1f9651-0x1)===0x3d)_0x2fca4d=!0x0;else{if(_0x396233===-0x1&&_0x2484a3[_0x1ffd97]===0x1)_0x4bb01e===-0x1&&(_0x4bb01e=_0x1f9651);else{if(_0x4bb01e!==-0x1&&(_0x1ffd97===0x20||_0x1ffd97===0x9))_0x396233===-0x1&&(_0x396233=_0x1f9651);else{if(_0x1ffd97===0x3b||_0x1ffd97===0x2c){if(_0x4bb01e===-0x1)throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);_0x396233===-0x1&&(_0x396233=_0x1f9651);let _0x1c525a=_0x1bbada[_0x5bb854(0x287)](_0x4bb01e,_0x396233);_0x352cb0&&(_0x1c525a=_0x1c525a[_0x5bb854(0x1ef)](/\\/g,''),_0x352cb0=!0x1),_0x5e8d10(_0xfe2f15,_0x576716,_0x1c525a),_0x1ffd97===0x2c&&(_0x5e8d10(_0x21610a,_0x4de3e9,_0xfe2f15),_0xfe2f15=Object['create'](null),_0x4de3e9=void 0x0),_0x576716=void 0x0,_0x4bb01e=_0x396233=-0x1;}else throw new SyntaxError(_0x5bb854(0x29c)+_0x1f9651);}}}}}}}if(_0x4bb01e===-0x1||_0x2fca4d||_0x1ffd97===0x20||_0x1ffd97===0x9)throw new SyntaxError(_0x5bb854(0x1d7));_0x396233===-0x1&&(_0x396233=_0x1f9651);const _0x16f2a4=_0x1bbada['slice'](_0x4bb01e,_0x396233);return _0x4de3e9===void 0x0?_0x5e8d10(_0x21610a,_0x16f2a4,_0xfe2f15):(_0x576716===void 0x0?_0x5e8d10(_0xfe2f15,_0x16f2a4,!0x0):_0x352cb0?_0x5e8d10(_0xfe2f15,_0x576716,_0x16f2a4['replace'](/\\/g,'')):_0x5e8d10(_0xfe2f15,_0x576716,_0x16f2a4),_0x5e8d10(_0x21610a,_0x4de3e9,_0xfe2f15)),_0x21610a;}function _0x551efd(_0x12345a){const _0x2c228b=_0x63a2;return Object[_0x2c228b(0x194)](_0x12345a)[_0x2c228b(0x305)](_0x248bfc=>{const _0x35caf8=_0x2c228b;let _0x25fba1=_0x12345a[_0x248bfc];return Array[_0x35caf8(0x319)](_0x25fba1)||(_0x25fba1=[_0x25fba1]),_0x25fba1['map'](_0x4eae25=>[_0x248bfc][_0x35caf8(0x2b8)](Object[_0x35caf8(0x194)](_0x4eae25)['map'](_0x296f51=>{const _0x164893=_0x35caf8;let _0x29a7e4=_0x4eae25[_0x296f51];return Array[_0x164893(0x319)](_0x29a7e4)||(_0x29a7e4=[_0x29a7e4]),_0x29a7e4[_0x164893(0x305)](_0x17e913=>_0x17e913===!0x0?_0x296f51:_0x296f51+'='+_0x17e913)[_0x164893(0x2e2)](';\x20');}))[_0x35caf8(0x2e2)](';\x20'))[_0x35caf8(0x2e2)](',\x20');})[_0x2c228b(0x2e2)](',\x20');}return be={'format':_0x551efd,'parse':_0x4358cd},be;}var we,Je;function Pe(){const _0x1acd52=_0x12c37c;if(Je)return we;Je=0x1;const _0x2ddb12=nt,_0x3eb3b3=vt,_0x102847=ot,_0x7bb470=St,_0x372867=Et,{randomBytes:_0x3642bb,createHash:_0x4f8691}=Le,{Duplex:_0x2b3c47,Readable:_0xf0318e}=oe,{URL:_0xeb4f85}=xt,_0x57a962=he(),_0x41fbb2=lt(),_0x31e025=ft(),{isBlob:_0x521560}=ae(),{BINARY_TYPES:_0x2f4c79,EMPTY_BUFFER:_0x37d862,GUID:_0x4617c5,kForOnEventAttribute:_0x384f10,kListener:_0x241a44,kStatusCode:_0x56d01b,kWebSocket:_0x2aa1a9,NOOP:_0x4ae7ae}=H(),{EventTarget:{addEventListener:_0x4027c5,removeEventListener:_0x5c3588}}=It(),{format:_0x54dad8,parse:_0x485119}=ct(),{toBuffer:_0x505fa7}=ce(),_0x17e16b=0x1e*0x3e8,_0x6e975c=Symbol('kAborted'),_0x6896bc=[0x8,0xd],_0x295f94=[_0x1acd52(0x2e5),_0x1acd52(0x175),_0x1acd52(0x212),_0x1acd52(0x27c)],_0x250bfe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x374308 extends _0x2ddb12{constructor(_0xac3e7e,_0x50a981,_0x6f1ff3){const _0x228a13=_0x1acd52;super(),this[_0x228a13(0x328)]=_0x2f4c79[0x0],this[_0x228a13(0x2ef)]=0x3ee,this[_0x228a13(0x206)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x37d862,this[_0x228a13(0x1c2)]=null,this[_0x228a13(0x2dc)]=!0x1,this[_0x228a13(0x209)]={},this['_paused']=!0x1,this[_0x228a13(0x215)]='',this[_0x228a13(0x255)]=_0x374308[_0x228a13(0x2e5)],this['_receiver']=null,this[_0x228a13(0x25e)]=null,this[_0x228a13(0x1c7)]=null,_0xac3e7e!==null?(this[_0x228a13(0x211)]=0x0,this[_0x228a13(0x2aa)]=!0x1,this[_0x228a13(0x224)]=0x0,_0x50a981===void 0x0?_0x50a981=[]:Array['isArray'](_0x50a981)||(typeof _0x50a981==_0x228a13(0x1cf)&&_0x50a981!==null?(_0x6f1ff3=_0x50a981,_0x50a981=[]):_0x50a981=[_0x50a981]),_0x42ea64(this,_0xac3e7e,_0x50a981,_0x6f1ff3)):(this[_0x228a13(0x2e8)]=_0x6f1ff3[_0x228a13(0x17d)],this[_0x228a13(0x2aa)]=!0x0);}get[_0x1acd52(0x275)](){return this['_binaryType'];}set[_0x1acd52(0x275)](_0x388ea3){const _0x19761f=_0x1acd52;_0x2f4c79[_0x19761f(0x299)](_0x388ea3)&&(this[_0x19761f(0x328)]=_0x388ea3,this[_0x19761f(0x238)]&&(this['_receiver'][_0x19761f(0x328)]=_0x388ea3));}get[_0x1acd52(0x257)](){const _0x30f393=_0x1acd52;return this[_0x30f393(0x1c7)]?this[_0x30f393(0x1c7)]['_writableState']['length']+this[_0x30f393(0x25e)][_0x30f393(0x242)]:this['_bufferedAmount'];}get[_0x1acd52(0x1ae)](){const _0x14c779=_0x1acd52;return Object['keys'](this[_0x14c779(0x209)])[_0x14c779(0x2e2)]();}get[_0x1acd52(0x17f)](){return this['_paused'];}get[_0x1acd52(0x22b)](){return null;}get['onerror'](){return null;}get[_0x1acd52(0x174)](){return null;}get[_0x1acd52(0x2a2)](){return null;}get['protocol'](){const _0x14111e=_0x1acd52;return this[_0x14111e(0x215)];}get[_0x1acd52(0x1c6)](){return this['_readyState'];}get[_0x1acd52(0x2c0)](){const _0x3c33b0=_0x1acd52;return this[_0x3c33b0(0x312)];}[_0x1acd52(0x240)](_0x1cb3d0,_0x2d7aae,_0x3da9dc){const _0xe2d6fc=_0x1acd52,_0x2b8e05=new _0x41fbb2({'allowSynchronousEvents':_0x3da9dc[_0xe2d6fc(0x1f9)],'binaryType':this[_0xe2d6fc(0x275)],'extensions':this[_0xe2d6fc(0x209)],'isServer':this[_0xe2d6fc(0x2aa)],'maxPayload':_0x3da9dc[_0xe2d6fc(0x2df)],'skipUTF8Validation':_0x3da9dc[_0xe2d6fc(0x1ec)]}),_0x17072e=new _0x31e025(_0x1cb3d0,this[_0xe2d6fc(0x209)],_0x3da9dc['generateMask']);this['_receiver']=_0x2b8e05,this[_0xe2d6fc(0x25e)]=_0x17072e,this[_0xe2d6fc(0x1c7)]=_0x1cb3d0,_0x2b8e05[_0x2aa1a9]=this,_0x17072e[_0x2aa1a9]=this,_0x1cb3d0[_0x2aa1a9]=this,_0x2b8e05['on'](_0xe2d6fc(0x25b),_0x271c9f),_0x2b8e05['on'](_0xe2d6fc(0x173),_0x5150c9),_0x2b8e05['on']('error',_0x360b48),_0x2b8e05['on']('message',_0x4abb15),_0x2b8e05['on']('ping',_0x42f173),_0x2b8e05['on']('pong',_0x1575ff),_0x17072e[_0xe2d6fc(0x2d7)]=_0x3e606f,_0x1cb3d0[_0xe2d6fc(0x24c)]&&_0x1cb3d0[_0xe2d6fc(0x24c)](0x0),_0x1cb3d0[_0xe2d6fc(0x1a3)]&&_0x1cb3d0[_0xe2d6fc(0x1a3)](),_0x2d7aae[_0xe2d6fc(0x1b9)]>0x0&&_0x1cb3d0[_0xe2d6fc(0x2b0)](_0x2d7aae),_0x1cb3d0['on'](_0xe2d6fc(0x20f),_0x327074),_0x1cb3d0['on']('data',_0x5daff1),_0x1cb3d0['on'](_0xe2d6fc(0x23a),_0x2174f3),_0x1cb3d0['on'](_0xe2d6fc(0x184),_0x55f0ee),this[_0xe2d6fc(0x255)]=_0x374308[_0xe2d6fc(0x175)],this['emit'](_0xe2d6fc(0x1cc));}['emitClose'](){const _0x5ef1d3=_0x1acd52;if(!this['_socket']){this[_0x5ef1d3(0x255)]=_0x374308[_0x5ef1d3(0x27c)],this[_0x5ef1d3(0x253)]('close',this[_0x5ef1d3(0x2ef)],this[_0x5ef1d3(0x317)]);return;}this[_0x5ef1d3(0x209)][_0x57a962['extensionName']]&&this[_0x5ef1d3(0x209)][_0x57a962[_0x5ef1d3(0x208)]][_0x5ef1d3(0x284)](),this[_0x5ef1d3(0x238)][_0x5ef1d3(0x183)](),this[_0x5ef1d3(0x255)]=_0x374308[_0x5ef1d3(0x27c)],this[_0x5ef1d3(0x253)](_0x5ef1d3(0x20f),this[_0x5ef1d3(0x2ef)],this[_0x5ef1d3(0x317)]);}[_0x1acd52(0x20f)](_0x417d23,_0x3b9431){const _0x59027d=_0x1acd52;if(this[_0x59027d(0x1c6)]!==_0x374308[_0x59027d(0x27c)]){if(this['readyState']===_0x374308['CONNECTING']){_0x3e889c(this,this[_0x59027d(0x17e)],_0x59027d(0x248));return;}if(this['readyState']===_0x374308['CLOSING']){this['_closeFrameSent']&&(this[_0x59027d(0x206)]||this[_0x59027d(0x238)][_0x59027d(0x176)]['errorEmitted'])&&this[_0x59027d(0x1c7)]['end']();return;}this[_0x59027d(0x255)]=_0x374308['CLOSING'],this['_sender'][_0x59027d(0x20f)](_0x417d23,_0x3b9431,!this[_0x59027d(0x2aa)],_0x4ab334=>{const _0xaa5497=_0x59027d;_0x4ab334||(this[_0xaa5497(0x19d)]=!0x0,(this[_0xaa5497(0x206)]||this[_0xaa5497(0x238)][_0xaa5497(0x176)][_0xaa5497(0x2cd)])&&this[_0xaa5497(0x1c7)][_0xaa5497(0x23a)]());}),_0xf3db1b(this);}}['pause'](){const _0x144e2d=_0x1acd52;this[_0x144e2d(0x1c6)]===_0x374308['CONNECTING']||this[_0x144e2d(0x1c6)]===_0x374308[_0x144e2d(0x27c)]||(this[_0x144e2d(0x250)]=!0x0,this[_0x144e2d(0x1c7)][_0x144e2d(0x1d8)]());}['ping'](_0x506cc5,_0x295b04,_0x3f4259){const _0x1c7c6c=_0x1acd52;if(this['readyState']===_0x374308[_0x1c7c6c(0x2e5)])throw new Error(_0x1c7c6c(0x2b9));if(typeof _0x506cc5=='function'?(_0x3f4259=_0x506cc5,_0x506cc5=_0x295b04=void 0x0):typeof _0x295b04==_0x1c7c6c(0x1f1)&&(_0x3f4259=_0x295b04,_0x295b04=void 0x0),typeof _0x506cc5==_0x1c7c6c(0x31d)&&(_0x506cc5=_0x506cc5['toString']()),this['readyState']!==_0x374308[_0x1c7c6c(0x175)]){_0x570390(this,_0x506cc5,_0x3f4259);return;}_0x295b04===void 0x0&&(_0x295b04=!this[_0x1c7c6c(0x2aa)]),this[_0x1c7c6c(0x25e)][_0x1c7c6c(0x1b8)](_0x506cc5||_0x37d862,_0x295b04,_0x3f4259);}[_0x1acd52(0x16d)](_0xa26bcf,_0x1c4e9b,_0xbf8a22){const _0xe17a0d=_0x1acd52;if(this[_0xe17a0d(0x1c6)]===_0x374308['CONNECTING'])throw new Error(_0xe17a0d(0x2b9));if(typeof _0xa26bcf==_0xe17a0d(0x1f1)?(_0xbf8a22=_0xa26bcf,_0xa26bcf=_0x1c4e9b=void 0x0):typeof _0x1c4e9b==_0xe17a0d(0x1f1)&&(_0xbf8a22=_0x1c4e9b,_0x1c4e9b=void 0x0),typeof _0xa26bcf==_0xe17a0d(0x31d)&&(_0xa26bcf=_0xa26bcf['toString']()),this[_0xe17a0d(0x1c6)]!==_0x374308['OPEN']){_0x570390(this,_0xa26bcf,_0xbf8a22);return;}_0x1c4e9b===void 0x0&&(_0x1c4e9b=!this[_0xe17a0d(0x2aa)]),this[_0xe17a0d(0x25e)][_0xe17a0d(0x16d)](_0xa26bcf||_0x37d862,_0x1c4e9b,_0xbf8a22);}[_0x1acd52(0x21b)](){const _0x5f788e=_0x1acd52;this[_0x5f788e(0x1c6)]===_0x374308['CONNECTING']||this[_0x5f788e(0x1c6)]===_0x374308[_0x5f788e(0x27c)]||(this['_paused']=!0x1,this[_0x5f788e(0x238)][_0x5f788e(0x176)][_0x5f788e(0x21c)]||this[_0x5f788e(0x1c7)][_0x5f788e(0x21b)]());}[_0x1acd52(0x1e4)](_0x537000,_0xabffae,_0x291b50){const _0x26740b=_0x1acd52;if(this[_0x26740b(0x1c6)]===_0x374308[_0x26740b(0x2e5)])throw new Error(_0x26740b(0x2b9));if(typeof _0xabffae==_0x26740b(0x1f1)&&(_0x291b50=_0xabffae,_0xabffae={}),typeof _0x537000==_0x26740b(0x31d)&&(_0x537000=_0x537000[_0x26740b(0x2fb)]()),this['readyState']!==_0x374308[_0x26740b(0x175)]){_0x570390(this,_0x537000,_0x291b50);return;}const _0x38dada={'binary':typeof _0x537000!=_0x26740b(0x2d3),'mask':!this[_0x26740b(0x2aa)],'compress':!0x0,'fin':!0x0,..._0xabffae};this[_0x26740b(0x209)][_0x57a962[_0x26740b(0x208)]]||(_0x38dada[_0x26740b(0x1fa)]=!0x1),this[_0x26740b(0x25e)]['send'](_0x537000||_0x37d862,_0x38dada,_0x291b50);}[_0x1acd52(0x311)](){const _0x54f068=_0x1acd52;if(this[_0x54f068(0x1c6)]!==_0x374308[_0x54f068(0x27c)]){if(this['readyState']===_0x374308['CONNECTING']){_0x3e889c(this,this[_0x54f068(0x17e)],_0x54f068(0x248));return;}this[_0x54f068(0x1c7)]&&(this[_0x54f068(0x255)]=_0x374308['CLOSING'],this[_0x54f068(0x1c7)][_0x54f068(0x1ac)]());}}}Object[_0x1acd52(0x1b3)](_0x374308,'CONNECTING',{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)](_0x1acd52(0x2e5))}),Object[_0x1acd52(0x1b3)](_0x374308['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x295f94['indexOf'](_0x1acd52(0x2e5))}),Object['defineProperty'](_0x374308,'OPEN',{'enumerable':!0x0,'value':_0x295f94['indexOf'](_0x1acd52(0x175))}),Object[_0x1acd52(0x1b3)](_0x374308[_0x1acd52(0x24f)],'OPEN',{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)](_0x1acd52(0x175))}),Object[_0x1acd52(0x1b3)](_0x374308,_0x1acd52(0x212),{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)](_0x1acd52(0x212))}),Object[_0x1acd52(0x1b3)](_0x374308[_0x1acd52(0x24f)],_0x1acd52(0x212),{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)](_0x1acd52(0x212))}),Object['defineProperty'](_0x374308,'CLOSED',{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)]('CLOSED')}),Object[_0x1acd52(0x1b3)](_0x374308[_0x1acd52(0x24f)],_0x1acd52(0x27c),{'enumerable':!0x0,'value':_0x295f94[_0x1acd52(0x31f)](_0x1acd52(0x27c))}),[_0x1acd52(0x275),'bufferedAmount','extensions',_0x1acd52(0x17f),_0x1acd52(0x2d1),_0x1acd52(0x1c6),_0x1acd52(0x2c0)][_0x1acd52(0x330)](_0xa52247=>{const _0x59c651=_0x1acd52;Object[_0x59c651(0x1b3)](_0x374308[_0x59c651(0x24f)],_0xa52247,{'enumerable':!0x0});}),[_0x1acd52(0x1cc),'error',_0x1acd52(0x20f),'message']['forEach'](_0x353834=>{const _0x167c1f=_0x1acd52;Object['defineProperty'](_0x374308[_0x167c1f(0x24f)],'on'+_0x353834,{'enumerable':!0x0,'get'(){const _0x2020a7=_0x167c1f;for(const _0x494d8f of this[_0x2020a7(0x295)](_0x353834))if(_0x494d8f[_0x384f10])return _0x494d8f[_0x241a44];return null;},'set'(_0x4aab6b){const _0x2c694f=_0x167c1f;for(const _0x2136a0 of this['listeners'](_0x353834))if(_0x2136a0[_0x384f10]){this[_0x2c694f(0x204)](_0x353834,_0x2136a0);break;}typeof _0x4aab6b==_0x2c694f(0x1f1)&&this[_0x2c694f(0x177)](_0x353834,_0x4aab6b,{[_0x384f10]:!0x0});}});}),_0x374308[_0x1acd52(0x24f)][_0x1acd52(0x177)]=_0x4027c5,_0x374308[_0x1acd52(0x24f)][_0x1acd52(0x1dc)]=_0x5c3588,we=_0x374308;function _0x42ea64(_0x255e86,_0x2c8706,_0x470225,_0x5ae560){const _0x3a76bf=_0x1acd52,_0x14e52c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x6896bc[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5ae560,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x255e86['_autoPong']=_0x14e52c[_0x3a76bf(0x17d)],!_0x6896bc[_0x3a76bf(0x299)](_0x14e52c[_0x3a76bf(0x1e8)]))throw new RangeError(_0x3a76bf(0x1a0)+_0x14e52c['protocolVersion']+_0x3a76bf(0x17b)+_0x6896bc[_0x3a76bf(0x2e2)](',\x20')+')');let _0x4616cb;if(_0x2c8706 instanceof _0xeb4f85)_0x4616cb=_0x2c8706;else try{_0x4616cb=new _0xeb4f85(_0x2c8706);}catch{throw new SyntaxError(_0x3a76bf(0x1bd)+_0x2c8706);}_0x4616cb['protocol']===_0x3a76bf(0x239)?_0x4616cb[_0x3a76bf(0x2d1)]=_0x3a76bf(0x31a):_0x4616cb[_0x3a76bf(0x2d1)]===_0x3a76bf(0x2b6)&&(_0x4616cb['protocol']='wss:'),_0x255e86[_0x3a76bf(0x312)]=_0x4616cb[_0x3a76bf(0x280)];const _0x51b995=_0x4616cb[_0x3a76bf(0x2d1)]===_0x3a76bf(0x2f5),_0x3cc5ba=_0x4616cb[_0x3a76bf(0x2d1)]==='ws+unix:';let _0x5b7c0b;if(_0x4616cb[_0x3a76bf(0x2d1)]!==_0x3a76bf(0x31a)&&!_0x51b995&&!_0x3cc5ba?_0x5b7c0b=_0x3a76bf(0x1e9):_0x3cc5ba&&!_0x4616cb[_0x3a76bf(0x28f)]?_0x5b7c0b=_0x3a76bf(0x25f):_0x4616cb[_0x3a76bf(0x254)]&&(_0x5b7c0b=_0x3a76bf(0x1f2)),_0x5b7c0b){const _0x596e84=new SyntaxError(_0x5b7c0b);if(_0x255e86['_redirects']===0x0)throw _0x596e84;_0x470f7e(_0x255e86,_0x596e84);return;}const _0x3871c7=_0x51b995?0x1bb:0x50,_0x253a3a=_0x3642bb(0x10)[_0x3a76bf(0x2fb)](_0x3a76bf(0x2e1)),_0x1a4f65=_0x51b995?_0x3eb3b3['request']:_0x102847[_0x3a76bf(0x290)],_0x399049=new Set();let _0x415766;if(_0x14e52c[_0x3a76bf(0x2ab)]=_0x14e52c['createConnection']||(_0x51b995?_0x4674c3:_0x17f576),_0x14e52c['defaultPort']=_0x14e52c[_0x3a76bf(0x246)]||_0x3871c7,_0x14e52c[_0x3a76bf(0x1d3)]=_0x4616cb[_0x3a76bf(0x1d3)]||_0x3871c7,_0x14e52c[_0x3a76bf(0x2d2)]=_0x4616cb['hostname'][_0x3a76bf(0x2db)]('[')?_0x4616cb[_0x3a76bf(0x273)][_0x3a76bf(0x287)](0x1,-0x1):_0x4616cb['hostname'],_0x14e52c[_0x3a76bf(0x31e)]={..._0x14e52c[_0x3a76bf(0x31e)],'Sec-WebSocket-Version':_0x14e52c[_0x3a76bf(0x1e8)],'Sec-WebSocket-Key':_0x253a3a,'Connection':_0x3a76bf(0x186),'Upgrade':_0x3a76bf(0x263)},_0x14e52c[_0x3a76bf(0x286)]=_0x4616cb['pathname']+_0x4616cb[_0x3a76bf(0x193)],_0x14e52c['timeout']=_0x14e52c[_0x3a76bf(0x230)],_0x14e52c[_0x3a76bf(0x23d)]&&(_0x415766=new _0x57a962(_0x14e52c[_0x3a76bf(0x23d)]!==!0x0?_0x14e52c['perMessageDeflate']:{},!0x1,_0x14e52c[_0x3a76bf(0x2df)]),_0x14e52c['headers'][_0x3a76bf(0x28d)]=_0x54dad8({[_0x57a962[_0x3a76bf(0x208)]]:_0x415766['offer']()})),_0x470225[_0x3a76bf(0x1b9)]){for(const _0x407fd7 of _0x470225){if(typeof _0x407fd7!=_0x3a76bf(0x2d3)||!_0x250bfe[_0x3a76bf(0x2a7)](_0x407fd7)||_0x399049[_0x3a76bf(0x24b)](_0x407fd7))throw new SyntaxError(_0x3a76bf(0x247));_0x399049[_0x3a76bf(0x2af)](_0x407fd7);}_0x14e52c[_0x3a76bf(0x31e)][_0x3a76bf(0x2fd)]=_0x470225['join'](',');}if(_0x14e52c[_0x3a76bf(0x309)]&&(_0x14e52c[_0x3a76bf(0x1e8)]<0xd?_0x14e52c[_0x3a76bf(0x31e)][_0x3a76bf(0x222)]=_0x14e52c[_0x3a76bf(0x309)]:_0x14e52c[_0x3a76bf(0x31e)]['Origin']=_0x14e52c[_0x3a76bf(0x309)]),(_0x4616cb[_0x3a76bf(0x285)]||_0x4616cb[_0x3a76bf(0x24a)])&&(_0x14e52c[_0x3a76bf(0x20a)]=_0x4616cb[_0x3a76bf(0x285)]+':'+_0x4616cb['password']),_0x3cc5ba){const _0x1f9d5c=_0x14e52c[_0x3a76bf(0x286)][_0x3a76bf(0x22a)](':');_0x14e52c[_0x3a76bf(0x21a)]=_0x1f9d5c[0x0],_0x14e52c[_0x3a76bf(0x286)]=_0x1f9d5c[0x1];}let _0x57c167;if(_0x14e52c[_0x3a76bf(0x1bf)]){if(_0x255e86['_redirects']===0x0){_0x255e86[_0x3a76bf(0x260)]=_0x3cc5ba,_0x255e86[_0x3a76bf(0x1aa)]=_0x51b995,_0x255e86[_0x3a76bf(0x18a)]=_0x3cc5ba?_0x14e52c[_0x3a76bf(0x21a)]:_0x4616cb['host'];const _0x37a244=_0x5ae560&&_0x5ae560[_0x3a76bf(0x31e)];if(_0x5ae560={..._0x5ae560,'headers':{}},_0x37a244){for(const [_0x388228,_0x12bfdd]of Object['entries'](_0x37a244))_0x5ae560[_0x3a76bf(0x31e)][_0x388228[_0x3a76bf(0x1f4)]()]=_0x12bfdd;}}else{if(_0x255e86[_0x3a76bf(0x2f0)]('redirect')===0x0){const _0x5c2b27=_0x3cc5ba?_0x255e86[_0x3a76bf(0x260)]?_0x14e52c[_0x3a76bf(0x21a)]===_0x255e86['_originalHostOrSocketPath']:!0x1:_0x255e86[_0x3a76bf(0x260)]?!0x1:_0x4616cb[_0x3a76bf(0x2d2)]===_0x255e86[_0x3a76bf(0x18a)];(!_0x5c2b27||_0x255e86[_0x3a76bf(0x1aa)]&&!_0x51b995)&&(delete _0x14e52c[_0x3a76bf(0x31e)]['authorization'],delete _0x14e52c[_0x3a76bf(0x31e)][_0x3a76bf(0x26d)],_0x5c2b27||delete _0x14e52c[_0x3a76bf(0x31e)]['host'],_0x14e52c[_0x3a76bf(0x20a)]=void 0x0);}}_0x14e52c[_0x3a76bf(0x20a)]&&!_0x5ae560['headers'][_0x3a76bf(0x32b)]&&(_0x5ae560[_0x3a76bf(0x31e)][_0x3a76bf(0x32b)]='Basic\x20'+Buffer['from'](_0x14e52c[_0x3a76bf(0x20a)])[_0x3a76bf(0x2fb)](_0x3a76bf(0x2e1))),_0x57c167=_0x255e86[_0x3a76bf(0x17e)]=_0x1a4f65(_0x14e52c),_0x255e86[_0x3a76bf(0x224)]&&_0x255e86['emit'](_0x3a76bf(0x298),_0x255e86[_0x3a76bf(0x2c0)],_0x57c167);}else _0x57c167=_0x255e86[_0x3a76bf(0x17e)]=_0x1a4f65(_0x14e52c);_0x14e52c[_0x3a76bf(0x1cb)]&&_0x57c167['on'](_0x3a76bf(0x1cb),()=>{const _0x4045f0=_0x3a76bf;_0x3e889c(_0x255e86,_0x57c167,_0x4045f0(0x1c5));}),_0x57c167['on'](_0x3a76bf(0x184),_0x36f23d=>{const _0x4ff30a=_0x3a76bf;_0x57c167===null||_0x57c167[_0x6e975c]||(_0x57c167=_0x255e86[_0x4ff30a(0x17e)]=null,_0x470f7e(_0x255e86,_0x36f23d));}),_0x57c167['on'](_0x3a76bf(0x2c7),_0x2a7b1b=>{const _0x237b61=_0x3a76bf,_0x3e2d08=_0x2a7b1b[_0x237b61(0x31e)][_0x237b61(0x324)],_0x2f15f6=_0x2a7b1b[_0x237b61(0x1a5)];if(_0x3e2d08&&_0x14e52c['followRedirects']&&_0x2f15f6>=0x12c&&_0x2f15f6<0x190){if(++_0x255e86[_0x237b61(0x224)]>_0x14e52c['maxRedirects']){_0x3e889c(_0x255e86,_0x57c167,_0x237b61(0x1e0));return;}_0x57c167[_0x237b61(0x282)]();let _0x52106c;try{_0x52106c=new _0xeb4f85(_0x3e2d08,_0x2c8706);}catch{const _0x1b31b8=new SyntaxError(_0x237b61(0x1bd)+_0x3e2d08);_0x470f7e(_0x255e86,_0x1b31b8);return;}_0x42ea64(_0x255e86,_0x52106c,_0x470225,_0x5ae560);}else _0x255e86[_0x237b61(0x253)](_0x237b61(0x2ed),_0x57c167,_0x2a7b1b)||_0x3e889c(_0x255e86,_0x57c167,_0x237b61(0x2f3)+_0x2a7b1b['statusCode']);}),_0x57c167['on']('upgrade',(_0x3f3cfc,_0x54fd75,_0xaf249f)=>{const _0x324396=_0x3a76bf;if(_0x255e86[_0x324396(0x253)]('upgrade',_0x3f3cfc),_0x255e86[_0x324396(0x1c6)]!==_0x374308[_0x324396(0x2e5)])return;_0x57c167=_0x255e86[_0x324396(0x17e)]=null;const _0x4e29b4=_0x3f3cfc[_0x324396(0x31e)][_0x324396(0x2b2)];if(_0x4e29b4===void 0x0||_0x4e29b4['toLowerCase']()!=='websocket'){_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x227));return;}const _0x3a0b69=_0x4f8691(_0x324396(0x32a))['update'](_0x253a3a+_0x4617c5)[_0x324396(0x264)](_0x324396(0x2e1));if(_0x3f3cfc[_0x324396(0x31e)][_0x324396(0x2a3)]!==_0x3a0b69){_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x291));return;}const _0x126568=_0x3f3cfc[_0x324396(0x31e)][_0x324396(0x223)];let _0x38c20b;if(_0x126568!==void 0x0?_0x399049[_0x324396(0x2e7)]?_0x399049[_0x324396(0x24b)](_0x126568)||(_0x38c20b=_0x324396(0x22e)):_0x38c20b=_0x324396(0x29e):_0x399049[_0x324396(0x2e7)]&&(_0x38c20b='Server\x20sent\x20no\x20subprotocol'),_0x38c20b){_0x3e889c(_0x255e86,_0x54fd75,_0x38c20b);return;}_0x126568&&(_0x255e86['_protocol']=_0x126568);const _0x5ee9b3=_0x3f3cfc[_0x324396(0x31e)][_0x324396(0x2c4)];if(_0x5ee9b3!==void 0x0){if(!_0x415766){_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x237));return;}let _0x4cdc29;try{_0x4cdc29=_0x485119(_0x5ee9b3);}catch{_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x21d));return;}const _0x110b54=Object['keys'](_0x4cdc29);if(_0x110b54[_0x324396(0x1b9)]!==0x1||_0x110b54[0x0]!==_0x57a962['extensionName']){_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x2e3));return;}try{_0x415766[_0x324396(0x16a)](_0x4cdc29[_0x57a962[_0x324396(0x208)]]);}catch{_0x3e889c(_0x255e86,_0x54fd75,_0x324396(0x21d));return;}_0x255e86['_extensions'][_0x57a962[_0x324396(0x208)]]=_0x415766;}_0x255e86['setSocket'](_0x54fd75,_0xaf249f,{'allowSynchronousEvents':_0x14e52c[_0x324396(0x1f9)],'generateMask':_0x14e52c['generateMask'],'maxPayload':_0x14e52c[_0x324396(0x2df)],'skipUTF8Validation':_0x14e52c[_0x324396(0x1ec)]});}),_0x14e52c[_0x3a76bf(0x29f)]?_0x14e52c[_0x3a76bf(0x29f)](_0x57c167,_0x255e86):_0x57c167['end']();}function _0x470f7e(_0x2ebbe8,_0x4904a8){const _0x144e0e=_0x1acd52;_0x2ebbe8[_0x144e0e(0x255)]=_0x374308[_0x144e0e(0x212)],_0x2ebbe8[_0x144e0e(0x2dc)]=!0x0,_0x2ebbe8['emit'](_0x144e0e(0x184),_0x4904a8),_0x2ebbe8[_0x144e0e(0x168)]();}function _0x17f576(_0x3d53c3){const _0x1a5c89=_0x1acd52;return _0x3d53c3[_0x1a5c89(0x286)]=_0x3d53c3[_0x1a5c89(0x21a)],_0x7bb470[_0x1a5c89(0x182)](_0x3d53c3);}function _0x4674c3(_0x4a8cb8){const _0x38d9dd=_0x1acd52;return _0x4a8cb8[_0x38d9dd(0x286)]=void 0x0,!_0x4a8cb8[_0x38d9dd(0x31b)]&&_0x4a8cb8[_0x38d9dd(0x31b)]!==''&&(_0x4a8cb8[_0x38d9dd(0x31b)]=_0x7bb470['isIP'](_0x4a8cb8['host'])?'':_0x4a8cb8[_0x38d9dd(0x2d2)]),_0x372867['connect'](_0x4a8cb8);}function _0x3e889c(_0x2f2d7e,_0x458192,_0x511c3c){const _0x401c53=_0x1acd52;_0x2f2d7e[_0x401c53(0x255)]=_0x374308[_0x401c53(0x212)];const _0x389063=new Error(_0x511c3c);Error['captureStackTrace'](_0x389063,_0x3e889c),_0x458192[_0x401c53(0x265)]?(_0x458192[_0x6e975c]=!0x0,_0x458192[_0x401c53(0x282)](),_0x458192['socket']&&!_0x458192[_0x401c53(0x25c)]['destroyed']&&_0x458192[_0x401c53(0x25c)][_0x401c53(0x1ac)](),process[_0x401c53(0x16e)](_0x470f7e,_0x2f2d7e,_0x389063)):(_0x458192[_0x401c53(0x1ac)](_0x389063),_0x458192[_0x401c53(0x2dd)](_0x401c53(0x184),_0x2f2d7e[_0x401c53(0x253)][_0x401c53(0x2e6)](_0x2f2d7e,_0x401c53(0x184))),_0x458192[_0x401c53(0x2dd)]('close',_0x2f2d7e[_0x401c53(0x168)]['bind'](_0x2f2d7e)));}function _0x570390(_0x27247c,_0x158b89,_0x103177){const _0x18ac39=_0x1acd52;if(_0x158b89){const _0x231def=_0x521560(_0x158b89)?_0x158b89[_0x18ac39(0x2e7)]:_0x505fa7(_0x158b89)[_0x18ac39(0x1b9)];_0x27247c['_socket']?_0x27247c[_0x18ac39(0x25e)]['_bufferedBytes']+=_0x231def:_0x27247c[_0x18ac39(0x211)]+=_0x231def;}if(_0x103177){const _0x8cb144=new Error(_0x18ac39(0x216)+_0x27247c[_0x18ac39(0x1c6)]+'\x20('+_0x295f94[_0x27247c[_0x18ac39(0x1c6)]]+')');process[_0x18ac39(0x16e)](_0x103177,_0x8cb144);}}function _0x271c9f(_0x4276a7,_0x5210f5){const _0x25dcf1=_0x1acd52,_0xf09153=this[_0x2aa1a9];_0xf09153[_0x25dcf1(0x206)]=!0x0,_0xf09153[_0x25dcf1(0x317)]=_0x5210f5,_0xf09153[_0x25dcf1(0x2ef)]=_0x4276a7,_0xf09153[_0x25dcf1(0x1c7)][_0x2aa1a9]!==void 0x0&&(_0xf09153['_socket'][_0x25dcf1(0x204)](_0x25dcf1(0x294),_0x5daff1),process[_0x25dcf1(0x16e)](_0x162a96,_0xf09153[_0x25dcf1(0x1c7)]),_0x4276a7===0x3ed?_0xf09153[_0x25dcf1(0x20f)]():_0xf09153[_0x25dcf1(0x20f)](_0x4276a7,_0x5210f5));}function _0x5150c9(){const _0x5ef1de=_0x1acd52,_0x570118=this[_0x2aa1a9];_0x570118[_0x5ef1de(0x17f)]||_0x570118[_0x5ef1de(0x1c7)][_0x5ef1de(0x21b)]();}function _0x360b48(_0x3b0379){const _0x806845=_0x1acd52,_0x1b1659=this[_0x2aa1a9];_0x1b1659['_socket'][_0x2aa1a9]!==void 0x0&&(_0x1b1659[_0x806845(0x1c7)][_0x806845(0x204)](_0x806845(0x294),_0x5daff1),process[_0x806845(0x16e)](_0x162a96,_0x1b1659[_0x806845(0x1c7)]),_0x1b1659[_0x806845(0x20f)](_0x3b0379[_0x56d01b])),_0x1b1659['_errorEmitted']||(_0x1b1659[_0x806845(0x2dc)]=!0x0,_0x1b1659[_0x806845(0x253)](_0x806845(0x184),_0x3b0379));}function _0x3a057c(){const _0xa14cf1=_0x1acd52;this[_0x2aa1a9][_0xa14cf1(0x168)]();}function _0x4abb15(_0x4a1ec8,_0x304037){const _0x268591=_0x1acd52;this[_0x2aa1a9][_0x268591(0x253)](_0x268591(0x2b3),_0x4a1ec8,_0x304037);}function _0x42f173(_0x55b654){const _0x5e7f85=_0x1acd52,_0x3b7ca6=this[_0x2aa1a9];_0x3b7ca6[_0x5e7f85(0x2e8)]&&_0x3b7ca6[_0x5e7f85(0x16d)](_0x55b654,!this[_0x5e7f85(0x2aa)],_0x4ae7ae),_0x3b7ca6[_0x5e7f85(0x253)](_0x5e7f85(0x1b8),_0x55b654);}function _0x1575ff(_0x5d4b20){const _0x457749=_0x1acd52;this[_0x2aa1a9][_0x457749(0x253)]('pong',_0x5d4b20);}function _0x162a96(_0x292f9d){const _0x21146b=_0x1acd52;_0x292f9d[_0x21146b(0x21b)]();}function _0x3e606f(_0x43e9bf){const _0x362ee6=_0x1acd52,_0x105db4=this[_0x2aa1a9];_0x105db4[_0x362ee6(0x1c6)]!==_0x374308[_0x362ee6(0x27c)]&&(_0x105db4[_0x362ee6(0x1c6)]===_0x374308[_0x362ee6(0x175)]&&(_0x105db4[_0x362ee6(0x255)]=_0x374308[_0x362ee6(0x212)],_0xf3db1b(_0x105db4)),this[_0x362ee6(0x1c7)]['end'](),_0x105db4[_0x362ee6(0x2dc)]||(_0x105db4['_errorEmitted']=!0x0,_0x105db4['emit'](_0x362ee6(0x184),_0x43e9bf)));}function _0xf3db1b(_0x106ba9){const _0x5d3ecf=_0x1acd52;_0x106ba9[_0x5d3ecf(0x1c2)]=setTimeout(_0x106ba9[_0x5d3ecf(0x1c7)][_0x5d3ecf(0x1ac)][_0x5d3ecf(0x2e6)](_0x106ba9[_0x5d3ecf(0x1c7)]),_0x17e16b);}function _0x327074(){const _0x203372=_0x1acd52,_0x5dee34=this[_0x2aa1a9];this['removeListener'](_0x203372(0x20f),_0x327074),this[_0x203372(0x204)](_0x203372(0x294),_0x5daff1),this[_0x203372(0x204)]('end',_0x2174f3),_0x5dee34[_0x203372(0x255)]=_0x374308[_0x203372(0x212)];let _0x26f1ed;!this[_0x203372(0x30a)]['endEmitted']&&!_0x5dee34['_closeFrameReceived']&&!_0x5dee34['_receiver'][_0x203372(0x176)][_0x203372(0x2cd)]&&(_0x26f1ed=_0x5dee34['_socket'][_0x203372(0x2a4)]())!==null&&_0x5dee34['_receiver'][_0x203372(0x1a4)](_0x26f1ed),_0x5dee34[_0x203372(0x238)][_0x203372(0x23a)](),this[_0x2aa1a9]=void 0x0,clearTimeout(_0x5dee34[_0x203372(0x1c2)]),_0x5dee34['_receiver'][_0x203372(0x176)][_0x203372(0x1e2)]||_0x5dee34[_0x203372(0x238)][_0x203372(0x176)]['errorEmitted']?_0x5dee34[_0x203372(0x168)]():(_0x5dee34[_0x203372(0x238)]['on'](_0x203372(0x184),_0x3a057c),_0x5dee34[_0x203372(0x238)]['on'](_0x203372(0x2eb),_0x3a057c));}function _0x5daff1(_0x36cfd4){const _0x48c808=_0x1acd52;this[_0x2aa1a9][_0x48c808(0x238)][_0x48c808(0x1a4)](_0x36cfd4)||this[_0x48c808(0x1d8)]();}function _0x2174f3(){const _0x4cdd28=_0x1acd52,_0x13b23c=this[_0x2aa1a9];_0x13b23c[_0x4cdd28(0x255)]=_0x374308[_0x4cdd28(0x212)],_0x13b23c[_0x4cdd28(0x238)][_0x4cdd28(0x23a)](),this[_0x4cdd28(0x23a)]();}function _0x55f0ee(){const _0x3af4fb=_0x1acd52,_0x1f2039=this[_0x2aa1a9];this[_0x3af4fb(0x204)](_0x3af4fb(0x184),_0x55f0ee),this['on'](_0x3af4fb(0x184),_0x4ae7ae),_0x1f2039&&(_0x1f2039[_0x3af4fb(0x255)]=_0x374308[_0x3af4fb(0x212)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x47cc14}=oe;function _0xa5ea95(_0x211ae8){_0x211ae8['emit']('close');}function _0x3a258b(){const _0x26f8c0=_0x63a2;!this[_0x26f8c0(0x30c)]&&this[_0x26f8c0(0x176)]['finished']&&this[_0x26f8c0(0x1ac)]();}function _0x1eb19b(_0x4453b5){const _0x2d6298=_0x63a2;this['removeListener'](_0x2d6298(0x184),_0x1eb19b),this[_0x2d6298(0x1ac)](),this[_0x2d6298(0x2f0)](_0x2d6298(0x184))===0x0&&this[_0x2d6298(0x253)]('error',_0x4453b5);}function _0x1a9ead(_0x4ca179,_0x699190){const _0x210680=_0x63a2;let _0x33041c=!0x0;const _0x27b5e4=new _0x47cc14({..._0x699190,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ca179['on'](_0x210680(0x2b3),function(_0x3642ce,_0x5e8172){const _0xc285bf=_0x210680,_0x319066=!_0x5e8172&&_0x27b5e4['_readableState'][_0xc285bf(0x179)]?_0x3642ce[_0xc285bf(0x2fb)]():_0x3642ce;_0x27b5e4[_0xc285bf(0x24d)](_0x319066)||_0x4ca179[_0xc285bf(0x1d8)]();}),_0x4ca179[_0x210680(0x2dd)](_0x210680(0x184),function(_0x1e7c8d){const _0x47ecc2=_0x210680;_0x27b5e4['destroyed']||(_0x33041c=!0x1,_0x27b5e4[_0x47ecc2(0x1ac)](_0x1e7c8d));}),_0x4ca179[_0x210680(0x2dd)]('close',function(){const _0x8af7b9=_0x210680;_0x27b5e4[_0x8af7b9(0x30c)]||_0x27b5e4[_0x8af7b9(0x24d)](null);}),_0x27b5e4[_0x210680(0x279)]=function(_0x2627df,_0x5b2371){const _0x3d2679=_0x210680;if(_0x4ca179[_0x3d2679(0x1c6)]===_0x4ca179['CLOSED']){_0x5b2371(_0x2627df),process['nextTick'](_0xa5ea95,_0x27b5e4);return;}let _0x994b47=!0x1;_0x4ca179['once'](_0x3d2679(0x184),function(_0x2481ee){_0x994b47=!0x0,_0x5b2371(_0x2481ee);}),_0x4ca179[_0x3d2679(0x2dd)](_0x3d2679(0x20f),function(){_0x994b47||_0x5b2371(_0x2627df),process['nextTick'](_0xa5ea95,_0x27b5e4);}),_0x33041c&&_0x4ca179['terminate']();},_0x27b5e4[_0x210680(0x266)]=function(_0x293d57){const _0x4ce2f2=_0x210680;if(_0x4ca179[_0x4ce2f2(0x1c6)]===_0x4ca179[_0x4ce2f2(0x2e5)]){_0x4ca179[_0x4ce2f2(0x2dd)](_0x4ce2f2(0x1cc),function(){const _0x423000=_0x4ce2f2;_0x27b5e4[_0x423000(0x266)](_0x293d57);});return;}_0x4ca179[_0x4ce2f2(0x1c7)]!==null&&(_0x4ca179['_socket']['_writableState']['finished']?(_0x293d57(),_0x27b5e4['_readableState'][_0x4ce2f2(0x2bf)]&&_0x27b5e4[_0x4ce2f2(0x1ac)]()):(_0x4ca179['_socket']['once'](_0x4ce2f2(0x2eb),function(){_0x293d57();}),_0x4ca179[_0x4ce2f2(0x20f)]()));},_0x27b5e4['_read']=function(){const _0x2aeb26=_0x210680;_0x4ca179[_0x2aeb26(0x17f)]&&_0x4ca179['resume']();},_0x27b5e4[_0x210680(0x1e6)]=function(_0x32ba55,_0x2cbcac,_0x32cbb9){const _0x254f3f=_0x210680;if(_0x4ca179[_0x254f3f(0x1c6)]===_0x4ca179['CONNECTING']){_0x4ca179[_0x254f3f(0x2dd)](_0x254f3f(0x1cc),function(){_0x27b5e4['_write'](_0x32ba55,_0x2cbcac,_0x32cbb9);});return;}_0x4ca179[_0x254f3f(0x1e4)](_0x32ba55,_0x32cbb9);},_0x27b5e4['on'](_0x210680(0x23a),_0x3a258b),_0x27b5e4['on'](_0x210680(0x184),_0x1eb19b),_0x27b5e4;}return Oe=_0x1a9ead,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1b1500}=ae();function _0x2af35e(_0x37e02d){const _0x49403e=_0x63a2,_0x24f416=new Set();let _0x1f1fb1=-0x1,_0x331ee2=-0x1,_0x2313dc=0x0;for(_0x2313dc;_0x2313dc<_0x37e02d[_0x49403e(0x1b9)];_0x2313dc++){const _0x3fa41b=_0x37e02d['charCodeAt'](_0x2313dc);if(_0x331ee2===-0x1&&_0x1b1500[_0x3fa41b]===0x1)_0x1f1fb1===-0x1&&(_0x1f1fb1=_0x2313dc);else{if(_0x2313dc!==0x0&&(_0x3fa41b===0x20||_0x3fa41b===0x9))_0x331ee2===-0x1&&_0x1f1fb1!==-0x1&&(_0x331ee2=_0x2313dc);else{if(_0x3fa41b===0x2c){if(_0x1f1fb1===-0x1)throw new SyntaxError(_0x49403e(0x29c)+_0x2313dc);_0x331ee2===-0x1&&(_0x331ee2=_0x2313dc);const _0x54055b=_0x37e02d[_0x49403e(0x287)](_0x1f1fb1,_0x331ee2);if(_0x24f416['has'](_0x54055b))throw new SyntaxError(_0x49403e(0x236)+_0x54055b+_0x49403e(0x1b0));_0x24f416[_0x49403e(0x2af)](_0x54055b),_0x1f1fb1=_0x331ee2=-0x1;}else throw new SyntaxError(_0x49403e(0x29c)+_0x2313dc);}}}if(_0x1f1fb1===-0x1||_0x331ee2!==-0x1)throw new SyntaxError(_0x49403e(0x1d7));const _0x3da1a5=_0x37e02d[_0x49403e(0x287)](_0x1f1fb1,_0x2313dc);if(_0x24f416['has'](_0x3da1a5))throw new SyntaxError('The\x20\x22'+_0x3da1a5+_0x49403e(0x1b0));return _0x24f416['add'](_0x3da1a5),_0x24f416;}return Ce={'parse':_0x2af35e},Ce;}var Te,rt;function Ft(){const _0x1ab5e2=_0x12c37c;if(rt)return Te;rt=0x1;const _0x181ac3=nt,_0x1f1551=ot,{Duplex:_0x2eeb14}=oe,{createHash:_0x1f92b3}=Le,_0x115f5d=ct(),_0x149fe7=he(),_0x7757e3=At(),_0x404088=Pe(),{GUID:_0x2245a3,kWebSocket:_0x45a775}=H(),_0x4b944e=/^[+/0-9A-Za-z]{22}==$/,_0x448832=0x0,_0x4a514b=0x1,_0x116898=0x2;class _0x86a2d7 extends _0x181ac3{constructor(_0x32fab4,_0x3585e6){const _0x5ee231=_0x63a2;if(super(),_0x32fab4={'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':_0x404088,..._0x32fab4},_0x32fab4[_0x5ee231(0x1d3)]==null&&!_0x32fab4[_0x5ee231(0x30e)]&&!_0x32fab4[_0x5ee231(0x19f)]||_0x32fab4['port']!=null&&(_0x32fab4[_0x5ee231(0x30e)]||_0x32fab4[_0x5ee231(0x19f)])||_0x32fab4['server']&&_0x32fab4['noServer'])throw new TypeError(_0x5ee231(0x296));if(_0x32fab4['port']!=null?(this['_server']=_0x1f1551[_0x5ee231(0x1f7)]((_0x280df7,_0x27b440)=>{const _0x43f87b=_0x5ee231,_0x2d8a4d=_0x1f1551['STATUS_CODES'][0x1aa];_0x27b440[_0x43f87b(0x20d)](0x1aa,{'Content-Length':_0x2d8a4d[_0x43f87b(0x1b9)],'Content-Type':_0x43f87b(0x181)}),_0x27b440[_0x43f87b(0x23a)](_0x2d8a4d);}),this[_0x5ee231(0x189)]['listen'](_0x32fab4['port'],_0x32fab4[_0x5ee231(0x2d2)],_0x32fab4[_0x5ee231(0x272)],_0x3585e6)):_0x32fab4[_0x5ee231(0x30e)]&&(this[_0x5ee231(0x189)]=_0x32fab4[_0x5ee231(0x30e)]),this[_0x5ee231(0x189)]){const _0x12b662=this[_0x5ee231(0x253)][_0x5ee231(0x2e6)](this,_0x5ee231(0x27d));this[_0x5ee231(0x2f7)]=_0x32535a(this[_0x5ee231(0x189)],{'listening':this[_0x5ee231(0x253)][_0x5ee231(0x2e6)](this,_0x5ee231(0x292)),'error':this[_0x5ee231(0x253)]['bind'](this,_0x5ee231(0x184)),'upgrade':(_0x2e8b0e,_0xc79f87,_0x1173ad)=>{const _0x94392b=_0x5ee231;this[_0x94392b(0x187)](_0x2e8b0e,_0xc79f87,_0x1173ad,_0x12b662);}});}_0x32fab4['perMessageDeflate']===!0x0&&(_0x32fab4[_0x5ee231(0x23d)]={}),_0x32fab4[_0x5ee231(0x278)]&&(this[_0x5ee231(0x217)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x5ee231(0x300)]=_0x32fab4,this['_state']=_0x448832;}[_0x1ab5e2(0x2e0)](){const _0x13a610=_0x1ab5e2;if(this[_0x13a610(0x300)][_0x13a610(0x19f)])throw new Error(_0x13a610(0x2c8));return this[_0x13a610(0x189)]?this[_0x13a610(0x189)][_0x13a610(0x2e0)]():null;}['close'](_0x4c8dc7){const _0x4c80c5=_0x1ab5e2;if(this[_0x4c80c5(0x31c)]===_0x116898){_0x4c8dc7&&this['once'](_0x4c80c5(0x20f),()=>{const _0x355ea0=_0x4c80c5;_0x4c8dc7(new Error(_0x355ea0(0x185)));}),process[_0x4c80c5(0x16e)](_0x359f7c,this);return;}if(_0x4c8dc7&&this['once'](_0x4c80c5(0x20f),_0x4c8dc7),this[_0x4c80c5(0x31c)]!==_0x4a514b){if(this[_0x4c80c5(0x31c)]=_0x4a514b,this[_0x4c80c5(0x300)][_0x4c80c5(0x19f)]||this[_0x4c80c5(0x300)]['server'])this[_0x4c80c5(0x189)]&&(this[_0x4c80c5(0x2f7)](),this[_0x4c80c5(0x2f7)]=this['_server']=null),this[_0x4c80c5(0x217)]?this['clients'][_0x4c80c5(0x2e7)]?this[_0x4c80c5(0x192)]=!0x0:process[_0x4c80c5(0x16e)](_0x359f7c,this):process['nextTick'](_0x359f7c,this);else{const _0x458c53=this['_server'];this[_0x4c80c5(0x2f7)](),this['_removeListeners']=this[_0x4c80c5(0x189)]=null,_0x458c53[_0x4c80c5(0x20f)](()=>{_0x359f7c(this);});}}}['shouldHandle'](_0x2cf486){const _0x4624a8=_0x1ab5e2;if(this[_0x4624a8(0x300)][_0x4624a8(0x286)]){const _0x20f47f=_0x2cf486[_0x4624a8(0x2c0)][_0x4624a8(0x31f)]('?');if((_0x20f47f!==-0x1?_0x2cf486[_0x4624a8(0x2c0)][_0x4624a8(0x287)](0x0,_0x20f47f):_0x2cf486[_0x4624a8(0x2c0)])!==this['options'][_0x4624a8(0x286)])return!0x1;}return!0x0;}['handleUpgrade'](_0x23f740,_0x2d9c0b,_0xd8e17b,_0x5804ab){const _0x1f38d3=_0x1ab5e2;_0x2d9c0b['on'](_0x1f38d3(0x184),_0x5a0f48);const _0x8f5a59=_0x23f740[_0x1f38d3(0x31e)][_0x1f38d3(0x226)],_0x26fbe6=_0x23f740[_0x1f38d3(0x31e)]['upgrade'],_0x65d6d6=+_0x23f740[_0x1f38d3(0x31e)][_0x1f38d3(0x316)];if(_0x23f740[_0x1f38d3(0x29a)]!==_0x1f38d3(0x25d)){_0xc633b8(this,_0x23f740,_0x2d9c0b,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x26fbe6===void 0x0||_0x26fbe6[_0x1f38d3(0x1f4)]()!==_0x1f38d3(0x263)){_0xc633b8(this,_0x23f740,_0x2d9c0b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x8f5a59===void 0x0||!_0x4b944e[_0x1f38d3(0x2a7)](_0x8f5a59)){_0xc633b8(this,_0x23f740,_0x2d9c0b,0x190,_0x1f38d3(0x1ea));return;}if(_0x65d6d6!==0x8&&_0x65d6d6!==0xd){_0xc633b8(this,_0x23f740,_0x2d9c0b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x23f740)){_0x523281(_0x2d9c0b,0x190);return;}const _0x42b564=_0x23f740[_0x1f38d3(0x31e)]['sec-websocket-protocol'];let _0x915d7f=new Set();if(_0x42b564!==void 0x0)try{_0x915d7f=_0x7757e3['parse'](_0x42b564);}catch{_0xc633b8(this,_0x23f740,_0x2d9c0b,0x190,_0x1f38d3(0x2d5));return;}const _0x5be175=_0x23f740[_0x1f38d3(0x31e)]['sec-websocket-extensions'],_0xc41d80={};if(this[_0x1f38d3(0x300)][_0x1f38d3(0x23d)]&&_0x5be175!==void 0x0){const _0x2be510=new _0x149fe7(this[_0x1f38d3(0x300)][_0x1f38d3(0x23d)],!0x0,this[_0x1f38d3(0x300)]['maxPayload']);try{const _0x1dbfb7=_0x115f5d[_0x1f38d3(0x171)](_0x5be175);_0x1dbfb7[_0x149fe7[_0x1f38d3(0x208)]]&&(_0x2be510[_0x1f38d3(0x16a)](_0x1dbfb7[_0x149fe7[_0x1f38d3(0x208)]]),_0xc41d80[_0x149fe7[_0x1f38d3(0x208)]]=_0x2be510);}catch{_0xc633b8(this,_0x23f740,_0x2d9c0b,0x190,_0x1f38d3(0x1be));return;}}if(this[_0x1f38d3(0x300)]['verifyClient']){const _0xfe4491={'origin':_0x23f740[_0x1f38d3(0x31e)][''+(_0x65d6d6===0x8?_0x1f38d3(0x26c):_0x1f38d3(0x309))],'secure':!!(_0x23f740['socket']['authorized']||_0x23f740[_0x1f38d3(0x25c)][_0x1f38d3(0x2be)]),'req':_0x23f740};if(this[_0x1f38d3(0x300)][_0x1f38d3(0x2c3)][_0x1f38d3(0x1b9)]===0x2){this[_0x1f38d3(0x300)]['verifyClient'](_0xfe4491,(_0x250cd6,_0x3173c0,_0x4ed6cd,_0x1e7451)=>{const _0x2a979d=_0x1f38d3;if(!_0x250cd6)return _0x523281(_0x2d9c0b,_0x3173c0||0x191,_0x4ed6cd,_0x1e7451);this[_0x2a979d(0x1da)](_0xc41d80,_0x8f5a59,_0x915d7f,_0x23f740,_0x2d9c0b,_0xd8e17b,_0x5804ab);});return;}if(!this[_0x1f38d3(0x300)]['verifyClient'](_0xfe4491))return _0x523281(_0x2d9c0b,0x191);}this[_0x1f38d3(0x1da)](_0xc41d80,_0x8f5a59,_0x915d7f,_0x23f740,_0x2d9c0b,_0xd8e17b,_0x5804ab);}[_0x1ab5e2(0x1da)](_0x5a9a80,_0x41bab3,_0x50bed9,_0x31bd65,_0x500afa,_0x5aa6e9,_0x27e7eb){const _0x514671=_0x1ab5e2;if(!_0x500afa[_0x514671(0x1f0)]||!_0x500afa['writable'])return _0x500afa[_0x514671(0x1ac)]();if(_0x500afa[_0x45a775])throw new Error(_0x514671(0x321));if(this[_0x514671(0x31c)]>_0x448832)return _0x523281(_0x500afa,0x1f7);const _0x45b790=[_0x514671(0x2ea),_0x514671(0x2ba),_0x514671(0x249),_0x514671(0x1f3)+_0x1f92b3(_0x514671(0x32a))[_0x514671(0x297)](_0x41bab3+_0x2245a3)[_0x514671(0x264)](_0x514671(0x2e1))],_0x3d2844=new this['options'][(_0x514671(0x178))](null,void 0x0,this[_0x514671(0x300)]);if(_0x50bed9[_0x514671(0x2e7)]){const _0x53436b=this[_0x514671(0x300)]['handleProtocols']?this['options']['handleProtocols'](_0x50bed9,_0x31bd65):_0x50bed9['values']()['next']()['value'];_0x53436b&&(_0x45b790[_0x514671(0x24d)](_0x514671(0x30b)+_0x53436b),_0x3d2844[_0x514671(0x215)]=_0x53436b);}if(_0x5a9a80[_0x149fe7[_0x514671(0x208)]]){const _0x1f2d17=_0x5a9a80[_0x149fe7[_0x514671(0x208)]][_0x514671(0x271)],_0x5afa4d=_0x115f5d[_0x514671(0x2de)]({[_0x149fe7[_0x514671(0x208)]]:[_0x1f2d17]});_0x45b790['push'](_0x514671(0x2bd)+_0x5afa4d),_0x3d2844[_0x514671(0x209)]=_0x5a9a80;}this[_0x514671(0x253)]('headers',_0x45b790,_0x31bd65),_0x500afa[_0x514671(0x1a4)](_0x45b790['concat']('\x0d\x0a')[_0x514671(0x2e2)]('\x0d\x0a')),_0x500afa['removeListener']('error',_0x5a0f48),_0x3d2844[_0x514671(0x240)](_0x500afa,_0x5aa6e9,{'allowSynchronousEvents':this['options'][_0x514671(0x1f9)],'maxPayload':this[_0x514671(0x300)][_0x514671(0x2df)],'skipUTF8Validation':this[_0x514671(0x300)][_0x514671(0x1ec)]}),this[_0x514671(0x217)]&&(this[_0x514671(0x217)][_0x514671(0x2af)](_0x3d2844),_0x3d2844['on'](_0x514671(0x20f),()=>{const _0x15082e=_0x514671;this[_0x15082e(0x217)][_0x15082e(0x1fd)](_0x3d2844),this[_0x15082e(0x192)]&&!this['clients']['size']&&process[_0x15082e(0x16e)](_0x359f7c,this);})),_0x27e7eb(_0x3d2844,_0x31bd65);}}Te=_0x86a2d7;function _0x32535a(_0x1bee48,_0x53decc){const _0x4a0bac=_0x1ab5e2;for(const _0x1b3985 of Object[_0x4a0bac(0x194)](_0x53decc))_0x1bee48['on'](_0x1b3985,_0x53decc[_0x1b3985]);return function(){const _0x76caff=_0x4a0bac;for(const _0x281d96 of Object[_0x76caff(0x194)](_0x53decc))_0x1bee48[_0x76caff(0x204)](_0x281d96,_0x53decc[_0x281d96]);};}function _0x359f7c(_0x566160){const _0x14c421=_0x1ab5e2;_0x566160[_0x14c421(0x31c)]=_0x116898,_0x566160['emit'](_0x14c421(0x20f));}function _0x5a0f48(){this['destroy']();}function _0x523281(_0x2282e7,_0x145a20,_0xf442a9,_0x58e55b){const _0x412cd0=_0x1ab5e2;_0xf442a9=_0xf442a9||_0x1f1551[_0x412cd0(0x1ab)][_0x145a20],_0x58e55b={'Connection':_0x412cd0(0x20f),'Content-Type':_0x412cd0(0x229),'Content-Length':Buffer['byteLength'](_0xf442a9),..._0x58e55b},_0x2282e7[_0x412cd0(0x2dd)](_0x412cd0(0x2eb),_0x2282e7[_0x412cd0(0x1ac)]),_0x2282e7[_0x412cd0(0x23a)](_0x412cd0(0x2a0)+_0x145a20+'\x20'+_0x1f1551[_0x412cd0(0x1ab)][_0x145a20]+'\x0d\x0a'+Object[_0x412cd0(0x194)](_0x58e55b)[_0x412cd0(0x305)](_0x3666c9=>_0x3666c9+':\x20'+_0x58e55b[_0x3666c9])[_0x412cd0(0x2e2)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xf442a9);}function _0xc633b8(_0x515a19,_0x1ec7cf,_0x3a1f77,_0xf65c4b,_0x1b36bd){const _0x28995b=_0x1ab5e2;if(_0x515a19[_0x28995b(0x2f0)]('wsClientError')){const _0x845ff=new Error(_0x1b36bd);Error[_0x28995b(0x207)](_0x845ff,_0xc633b8),_0x515a19[_0x28995b(0x253)](_0x28995b(0x1c0),_0x845ff,_0x3a1f77,_0x1ec7cf);}else _0x523281(_0x3a1f77,_0xf65c4b,_0x1b36bd);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xd2c224,_0x5a2e1c,_0x8fba62,_0xa7713d)=>{const _0x402d45=_0x12c37c;for(var _0x3bceeb=_0xa7713d>0x1?void 0x0:_0xa7713d?jt(_0x5a2e1c,_0x8fba62):_0x5a2e1c,_0x2fa0f3=_0xd2c224[_0x402d45(0x1b9)]-0x1,_0x46e839;_0x2fa0f3>=0x0;_0x2fa0f3--)(_0x46e839=_0xd2c224[_0x2fa0f3])&&(_0x3bceeb=_0x46e839(_0x3bceeb)||_0x3bceeb);return _0x3bceeb;},qt=(_0x4ff9d4,_0x4763d5)=>(_0x4323bc,_0x81fff8)=>_0x4763d5(_0x4323bc,_0x81fff8,_0x4ff9d4);let ke=class extends A[_0x12c37c(0x18d)]{constructor(_0x4f0620){const _0x5eeb1c=_0x12c37c;super(),this[_0x5eeb1c(0x1eb)]=_0x4f0620;}['createSocket'](_0x23aec6){const _0x47f299=_0x12c37c;var _0x41de29;const _0x47de52=(_0x41de29=this[_0x47f299(0x1eb)][_0x47f299(0x197)](fe))==null?void 0x0:_0x41de29[_0x47f299(0x25a)];try{const _0x72da4c=new $t(_0x23aec6,{'headers':{..._0x47de52}}),_0xd93afb=new A[(_0x47f299(0x18f))]();return{'URL':_0x23aec6,'close':(_0x3e96ef,_0x50ed31)=>{const _0x59cd84=_0x47f299;_0x72da4c[_0x59cd84(0x20f)](_0x3e96ef,_0x50ed31),_0xd93afb[_0x59cd84(0x306)]();},'send':_0x8293b4=>{const _0x53dc0b=_0x47f299;_0x72da4c[_0x53dc0b(0x1e4)](_0x8293b4);},'open$':new V['Observable'](_0xb82f5f=>{const _0x4697ab=_0x47f299,_0x2f82c2=_0x46ada1=>_0xb82f5f[_0x4697ab(0x307)](_0x46ada1);_0x72da4c['addEventListener'](_0x4697ab(0x1cc),_0x2f82c2),_0xd93afb[_0x4697ab(0x2af)](A[_0x4697ab(0x1b2)](()=>_0x72da4c[_0x4697ab(0x1dc)]('open',_0x2f82c2)));})['pipe'](V[_0x47f299(0x2a5)]()),'close$':new V[(_0x47f299(0x1c1))](_0xf41ac7=>{const _0x4d0e22=_0x47f299,_0x1e9880=_0x509aa9=>_0xf41ac7[_0x4d0e22(0x307)](_0x509aa9);_0x72da4c[_0x4d0e22(0x177)](_0x4d0e22(0x20f),_0x1e9880),_0xd93afb[_0x4d0e22(0x2af)](A[_0x4d0e22(0x1b2)](()=>_0x72da4c[_0x4d0e22(0x1dc)](_0x4d0e22(0x20f),_0x1e9880)));})[_0x47f299(0x2ec)](V['share']()),'error$':new V[(_0x47f299(0x1c1))](_0x173924=>{const _0x6b06ce=_0x47f299,_0x5ff513=_0x19c971=>_0x173924[_0x6b06ce(0x307)](_0x19c971);_0x72da4c[_0x6b06ce(0x177)](_0x6b06ce(0x184),_0x5ff513),_0xd93afb[_0x6b06ce(0x2af)](A[_0x6b06ce(0x1b2)](()=>_0x72da4c[_0x6b06ce(0x1dc)]('error',_0x5ff513)));})[_0x47f299(0x2ec)](V[_0x47f299(0x2a5)]()),'message$':new V[(_0x47f299(0x1c1))](_0x42a9ac=>{const _0x3778eb=_0x47f299,_0x45d503=_0x2d27e5=>_0x42a9ac[_0x3778eb(0x307)](_0x2d27e5);_0x72da4c[_0x3778eb(0x177)](_0x3778eb(0x2b3),_0x45d503),_0xd93afb['add'](A[_0x3778eb(0x1b2)](()=>_0x72da4c[_0x3778eb(0x1dc)](_0x3778eb(0x2b3),_0x45d503)));})[_0x47f299(0x2ec)](V[_0x47f299(0x2a5)]())};}catch(_0x265f82){return console[_0x47f299(0x184)](_0x265f82),null;}}};ke=Wt([qt(0x0,A[_0x12c37c(0x231)])],ke);var Gt=Object[_0x12c37c(0x1b3)],Vt=Object[_0x12c37c(0x2e4)],Ht=(_0x2b16a6,_0x34826d,_0x56fdbd)=>_0x34826d in _0x2b16a6?Gt(_0x2b16a6,_0x34826d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56fdbd}):_0x2b16a6[_0x34826d]=_0x56fdbd,zt=(_0x30a5bb,_0x4ca996,_0x801b1e,_0x41ff1f)=>{const _0x58e20d=_0x12c37c;for(var _0x238c2=_0x41ff1f>0x1?void 0x0:_0x41ff1f?Vt(_0x4ca996,_0x801b1e):_0x4ca996,_0x118b3f=_0x30a5bb[_0x58e20d(0x1b9)]-0x1,_0x348242;_0x118b3f>=0x0;_0x118b3f--)(_0x348242=_0x30a5bb[_0x118b3f])&&(_0x238c2=_0x348242(_0x238c2)||_0x238c2);return _0x238c2;},Ne=(_0x24cd20,_0x39430a)=>(_0x4ecf49,_0x574606)=>_0x39430a(_0x4ecf49,_0x574606,_0x24cd20),Yt=(_0x47d786,_0x542c7f,_0x18d90a)=>Ht(_0x47d786,_0x542c7f+'',_0x18d90a);exports[_0x12c37c(0x21f)]=class extends A[_0x12c37c(0x2cf)]{constructor(_0x53c084=Ct,_0x1cdbb1,_0x2ca49f,_0x41b8e4){const _0x6aa840=_0x12c37c;_0x53c084['customHeaders']||_0x1cdbb1[_0x6aa840(0x1b1)](_0x6aa840(0x196)),super(),this['_configService']=_0x2ca49f,this[_0x6aa840(0x210)]=_0x41b8e4,this[_0x6aa840(0x1eb)][_0x6aa840(0x1c8)](fe,_0x53c084);}['onStarting'](){const _0x155d39=_0x12c37c;this[_0x155d39(0x283)]();}[_0x12c37c(0x283)](){const _0x2d300d=_0x12c37c;A[_0x2d300d(0x1d0)](this['_injector'],[[it[_0x2d300d(0x18b)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x12c37c(0x205),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x12c37c(0x277)](st[_0x12c37c(0x252)]),Ne(0x1,A[_0x12c37c(0x23e)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x12c37c(0x2d8)]))],exports[_0x12c37c(0x21f)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x3c90e6,_0x541f5f,_0x533542,_0x41ad30)=>{const _0x49a7b9=_0x12c37c;for(var _0x3e37ea=_0x41ad30>0x1?void 0x0:_0x41ad30?Kt(_0x541f5f,_0x533542):_0x541f5f,_0x466000=_0x3c90e6[_0x49a7b9(0x1b9)]-0x1,_0x42bbf8;_0x466000>=0x0;_0x466000--)(_0x42bbf8=_0x3c90e6[_0x466000])&&(_0x3e37ea=_0x42bbf8(_0x3e37ea)||_0x3e37ea);return _0x3e37ea;},ne=(_0x365739,_0x2d1055)=>(_0x692011,_0x1f2cb7)=>_0x2d1055(_0x692011,_0x1f2cb7,_0x365739);exports[_0x12c37c(0x1ee)]=class extends st[_0x12c37c(0x180)]{constructor(_0x1d271f,_0x8e0a64,_0x3d6027,_0x561cb2,_0x2922e4){const _0x51494a=_0x12c37c;super(_0x1d271f,_0x8e0a64,_0x3d6027,_0x561cb2,_0x2922e4);const _0x2a242d=this['_configService'][_0x51494a(0x197)](fe);this[_0x51494a(0x2b7)]['registerHTTPInterceptor']({'interceptor':(_0x4e3527,_0x18a43a)=>{const _0x4f9833=_0x51494a;var _0x16c4c0;const _0x26a37b=_0x4e3527[_0x4f9833(0x31e)];return(_0x16c4c0=_0x2a242d==null?void 0x0:_0x2a242d[_0x4f9833(0x25a)])!=null&&_0x16c4c0[_0x4f9833(0x26d)]&&_0x26a37b['set']('Cookie',_0x2a242d[_0x4f9833(0x25a)][_0x4f9833(0x26d)]),_0x18a43a(_0x4e3527);}});}async[_0x12c37c(0x23b)](_0x244470){return this['_doCreateSocket'](_0x244470);}},exports[_0x12c37c(0x1ee)]=Xt([ne(0x0,A[_0x12c37c(0x2c9)](A[_0x12c37c(0x2d8)])),ne(0x1,A['Inject'](it[_0x12c37c(0x315)])),ne(0x2,A[_0x12c37c(0x231)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x12c37c(0x1ee)]),exports[_0x12c37c(0x2f2)]=fe;
|
|
1
|
+
'use strict';const _0x45812b=_0x4b89;(function(_0x37136a,_0x50f2ef){const _0x53d0e5=_0x4b89,_0x180103=_0x37136a();while(!![]){try{const _0x45dfd6=parseInt(_0x53d0e5(0x15b))/0x1+-parseInt(_0x53d0e5(0x79))/0x2+parseInt(_0x53d0e5(0x194))/0x3*(parseInt(_0x53d0e5(0x11f))/0x4)+-parseInt(_0x53d0e5(0x216))/0x5+-parseInt(_0x53d0e5(0xa4))/0x6+-parseInt(_0x53d0e5(0x1d7))/0x7*(parseInt(_0x53d0e5(0x1b2))/0x8)+parseInt(_0x53d0e5(0x21a))/0x9*(parseInt(_0x53d0e5(0x11e))/0xa);if(_0x45dfd6===_0x50f2ef)break;else _0x180103['push'](_0x180103['shift']());}catch(_0x48b0f9){_0x180103['push'](_0x180103['shift']());}}}(_0x5a5c,0x42942));Object[_0x45812b(0xa3)](exports,Symbol[_0x45812b(0x1e7)],{'value':_0x45812b(0x21f)});function _0x4b89(_0x4d1c41,_0x2f8796){const _0x5a5c86=_0x5a5c();return _0x4b89=function(_0x4b89c9,_0x4319d4){_0x4b89c9=_0x4b89c9-0x66;let _0x4387a9=_0x5a5c86[_0x4b89c9];return _0x4387a9;},_0x4b89(_0x4d1c41,_0x2f8796);}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=_0x45812b(0x21e),Ct={'customHeaders':{}};function Tt(_0x2e8ae8){const _0x42d2ed=_0x45812b;return _0x2e8ae8&&_0x2e8ae8[_0x42d2ed(0xfd)]&&Object[_0x42d2ed(0xce)][_0x42d2ed(0x151)][_0x42d2ed(0x1b7)](_0x2e8ae8,_0x42d2ed(0x13b))?_0x2e8ae8[_0x42d2ed(0x13b)]:_0x2e8ae8;}function at(_0x221a66){const _0x2a2b2c=_0x45812b;if(Object['prototype'][_0x2a2b2c(0x151)][_0x2a2b2c(0x1b7)](_0x221a66,_0x2a2b2c(0xfd)))return _0x221a66;var _0x3e3098=_0x221a66[_0x2a2b2c(0x13b)];if(typeof _0x3e3098=='function'){var _0x224421=function _0x20dad6(){const _0xfc3cb8=_0x2a2b2c;var _0x2676ff=!0x1;try{_0x2676ff=this instanceof _0x20dad6;}catch{}return _0x2676ff?Reflect[_0xfc3cb8(0xf8)](_0x3e3098,arguments,this['constructor']):_0x3e3098[_0xfc3cb8(0x1ba)](this,arguments);};_0x224421[_0x2a2b2c(0xce)]=_0x3e3098[_0x2a2b2c(0xce)];}else _0x224421={};return Object[_0x2a2b2c(0xa3)](_0x224421,_0x2a2b2c(0xfd),{'value':!0x0}),Object[_0x2a2b2c(0x134)](_0x221a66)[_0x2a2b2c(0x220)](function(_0x3b4cac){const _0x3803c9=_0x2a2b2c;var _0x3c68bc=Object['getOwnPropertyDescriptor'](_0x221a66,_0x3b4cac);Object['defineProperty'](_0x224421,_0x3b4cac,_0x3c68bc[_0x3803c9(0x159)]?_0x3c68bc:{'enumerable':!0x0,'get':function(){return _0x221a66[_0x3b4cac];}});}),_0x224421;}var se={'exports':{}},ge,Ge;function H(){const _0x471657=_0x45812b;if(Ge)return ge;Ge=0x1;const _0x3ac48c=['nodebuffer',_0x471657(0x210),_0x471657(0xc5)],_0x180ef8=typeof Blob<'u';return _0x180ef8&&_0x3ac48c['push'](_0x471657(0xbe)),ge={'BINARY_TYPES':_0x3ac48c,'EMPTY_BUFFER':Buffer[_0x471657(0xc7)](0x0),'GUID':_0x471657(0x1c6),'hasBlob':_0x180ef8,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x471657(0x16f)),'kStatusCode':Symbol(_0x471657(0x152)),'kWebSocket':Symbol(_0x471657(0xb5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x45812b(0x179)](Object[_0x45812b(0xa3)]({'__proto__':null,'default':Nt},Symbol[_0x45812b(0x1e7)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x2eea0a=_0x45812b;if(Ve)return se[_0x2eea0a(0x191)];Ve=0x1;const {EMPTY_BUFFER:_0x5c9fe8}=H(),_0x424e7a=Buffer[Symbol['species']];function _0x23f6b5(_0x3a5f03,_0x419056){const _0x4b8f70=_0x2eea0a;if(_0x3a5f03[_0x4b8f70(0x78)]===0x0)return _0x5c9fe8;if(_0x3a5f03[_0x4b8f70(0x78)]===0x1)return _0x3a5f03[0x0];const _0x4173f8=Buffer['allocUnsafe'](_0x419056);let _0x1ec810=0x0;for(let _0x2e9e12=0x0;_0x2e9e12<_0x3a5f03[_0x4b8f70(0x78)];_0x2e9e12++){const _0x31df78=_0x3a5f03[_0x2e9e12];_0x4173f8[_0x4b8f70(0xca)](_0x31df78,_0x1ec810),_0x1ec810+=_0x31df78[_0x4b8f70(0x78)];}return _0x1ec810<_0x419056?new _0x424e7a(_0x4173f8[_0x4b8f70(0x1df)],_0x4173f8['byteOffset'],_0x1ec810):_0x4173f8;}function _0x2b9d84(_0x2a8c05,_0x4c177a,_0x4535a6,_0x38b4a0,_0x509d92){for(let _0x17ca03=0x0;_0x17ca03<_0x509d92;_0x17ca03++)_0x4535a6[_0x38b4a0+_0x17ca03]=_0x2a8c05[_0x17ca03]^_0x4c177a[_0x17ca03&0x3];}function _0x1f217b(_0x451a4f,_0x237502){const _0x54089a=_0x2eea0a;for(let _0x1f0a0c=0x0;_0x1f0a0c<_0x451a4f[_0x54089a(0x78)];_0x1f0a0c++)_0x451a4f[_0x1f0a0c]^=_0x237502[_0x1f0a0c&0x3];}function _0x1a8fca(_0x49e2ca){const _0x313cf0=_0x2eea0a;return _0x49e2ca[_0x313cf0(0x78)]===_0x49e2ca[_0x313cf0(0x1df)]['byteLength']?_0x49e2ca[_0x313cf0(0x1df)]:_0x49e2ca[_0x313cf0(0x1df)][_0x313cf0(0x1a5)](_0x49e2ca[_0x313cf0(0x1d1)],_0x49e2ca[_0x313cf0(0x1d1)]+_0x49e2ca['length']);}function _0xd3d8e7(_0x3aa35e){const _0x2f891c=_0x2eea0a;if(_0xd3d8e7['readOnly']=!0x0,Buffer[_0x2f891c(0x1db)](_0x3aa35e))return _0x3aa35e;let _0x55d728;return _0x3aa35e instanceof ArrayBuffer?_0x55d728=new _0x424e7a(_0x3aa35e):ArrayBuffer[_0x2f891c(0x1f8)](_0x3aa35e)?_0x55d728=new _0x424e7a(_0x3aa35e[_0x2f891c(0x1df)],_0x3aa35e[_0x2f891c(0x1d1)],_0x3aa35e[_0x2f891c(0x209)]):(_0x55d728=Buffer['from'](_0x3aa35e),_0xd3d8e7['readOnly']=!0x1),_0x55d728;}if(se['exports']={'concat':_0x23f6b5,'mask':_0x2b9d84,'toArrayBuffer':_0x1a8fca,'toBuffer':_0xd3d8e7,'unmask':_0x1f217b},!process[_0x2eea0a(0x101)][_0x2eea0a(0x124)])try{const _0x11ceea=Lt;se['exports'][_0x2eea0a(0x139)]=function(_0x1f5ebc,_0x3a1a19,_0x21259b,_0x56d302,_0x27c7f9){const _0x3bcb05=_0x2eea0a;_0x27c7f9<0x30?_0x2b9d84(_0x1f5ebc,_0x3a1a19,_0x21259b,_0x56d302,_0x27c7f9):_0x11ceea[_0x3bcb05(0x139)](_0x1f5ebc,_0x3a1a19,_0x21259b,_0x56d302,_0x27c7f9);},se[_0x2eea0a(0x191)][_0x2eea0a(0xc8)]=function(_0x54bdda,_0x3fdbc1){const _0x572d66=_0x2eea0a;_0x54bdda['length']<0x20?_0x1f217b(_0x54bdda,_0x3fdbc1):_0x11ceea[_0x572d66(0xc8)](_0x54bdda,_0x3fdbc1);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x3226b7=_0x45812b;if(He)return ye;He=0x1;const _0x135ea0=Symbol(_0x3226b7(0x1b4)),_0xbab96=Symbol(_0x3226b7(0x129));class _0x12963b{constructor(_0x579f5c){this[_0x135ea0]=()=>{this['pending']--,this[_0xbab96]();},this['concurrency']=_0x579f5c||0x1/0x0,this['jobs']=[],this['pending']=0x0;}['add'](_0x345fa5){const _0x477037=_0x3226b7;this[_0x477037(0x10a)][_0x477037(0x1ee)](_0x345fa5),this[_0xbab96]();}[_0xbab96](){const _0x51447b=_0x3226b7;if(this['pending']!==this['concurrency']&&this[_0x51447b(0x10a)][_0x51447b(0x78)]){const _0x65f004=this[_0x51447b(0x10a)][_0x51447b(0x1fb)]();this['pending']++,_0x65f004(this[_0x135ea0]);}}}return ye=_0x12963b,ye;}var ve,ze;function _0x5a5c(){const _0x3762e6=['The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','getOwnPropertyDescriptor','target','1163772BTkeBi','Unexpected\x20server\x20response:\x20','_masked','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','collaboration-client-node.config','Module','forEach','_firstFragment','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','authorized','protocol','_closeFrameReceived','timeout','Basic\x20','finished','total-length','dispatch','error','Opening\x20handshake\x20has\x20timed\x20out','allowSynchronousEvents','_options','Invalid\x20URL:\x20','createConnection','cookie','serverMaxWindowBits','_receiver','The\x20server\x20is\x20not\x20running','DependentOn','getData','isIP','isPaused','_fragments','followRedirects','getInfo','getConfig','kWasClean','length','538876vzcVGR','sendFrame','clientNoContextTakeover','destroy','bufferedAmount','type','uncork','_registerDependencies','fin','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','handleProtocols','acceptAsServer','nextTick','kByteLength','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','size','CLOSED','removeAllListeners','captureStackTrace','pathname','socket','kError','reset','isArray','WS_ERR_INVALID_OPCODE','objectMode','setConfig','pipe','sec-websocket-accept','abort','Sec-WebSocket-Protocol','WS_NO_UTF_8_VALIDATE','digest','server_no_context_takeover','port','isValidUTF8','protocolVersion','listen','replace','send','socketPath','_totalPayloadLength','defineProperty','1610280mJJaGo','_server','then','setNoDelay','_isServer','Z_DEFAULT_WINDOWBITS','options','_max_window_bits','_deflate','sec-websocket-extensions','defaultPort','_generateMask','_injector','unshift','_redirects','frame','resume','websocket','statusCode','_maxPayload','server','from','invalid\x20UTF-8\x20sequence','Injector','WS_ERR_INVALID_UTF8','removeEventListener','blob','join','_decompress','Maximum\x20redirects\x20exceeded','UniverCollaborationClientNodePlugin','_compressed','enqueue','fragments','readOnly','alloc','unmask','callback','set','address','open','drain','prototype','getBlobData','Unknown\x20parameter\x20\x22','_destroy','Unexpected\x20character\x20at\x20index\x20','dataMessage','pause','removeListener','getPayloadLength16','params','_final','Invalid\x20Upgrade\x20header','authorization','arrayBuffer','MASK\x20must\x20be\x20set','startsWith','emitClose','_queue','concurrencyLimit','_closeCode','Server\x20sent\x20an\x20invalid\x20subprotocol','client_no_context_takeover','isServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','clientMaxWindowBits','_binaryType','_closeFrameSent','Inject','species','share','_extensions','toString','invalid\x20opcode\x20','object','ws+unix:','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toLowerCase','Connection:\x20Upgrade','warn','MASK\x20must\x20be\x20clear','_compress','Unsupported\x20protocol\x20version:\x20','construct','zlibDeflateOptions','createSocket','servername','text/plain','__esModule','Invalid\x20HTTP\x20method','readyState','_httpService','env','Invalid\x20value\x20for\x20parameter\x20\x22','flush','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_bufferedBytes','upgrade','extensions','OPEN','redirect','jobs','_protocol','binaryType','format','kTarget','\x22:\x20','host','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','location','invalid\x20status\x20code\x20','base64','sec-websocket-protocol','startLoop','dequeue','NodeCollaborationSocketService','Invalid\x20Sec-WebSocket-Extensions\x20header','createDeflateRaw','hostname','accept','getMask','70cZNVUl','96736eUSBFX','value','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','setSocket','_buffers','WS_NO_BUFFER_UTIL','_originalSecure','wsClientError','Observable','server_max_window_bits','kRun','maxRedirects','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','clientTracking','parse','connect','_errorEmitted','Cookie','_state','generateMask','handleEvent','keys','password','controlMessage','CollaborationSocketService','path','mask','ILogService','default','_autoPong','\x0d\x0a\x0d\x0a','_inflate','pong','serverNoContextTakeover','request','_write','https:','WS_ERR_EXPECTED_MASK','The\x20URL\x27s\x20pathname\x20is\x20empty','consume','addEventListener','create','FIN\x20must\x20be\x20set','acceptAsClient','client','onStarting','errorEmitted','concat','Disposable','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','hasOwnProperty','status-code','unexpected-response','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','sha1','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','number','Max\x20payload\x20size\x20exceeded','get','threshold','432012ZtSqVl','writeUIntBE','wss:','kReason','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','The\x20URL\x20contains\x20a\x20fragment\x20identifier','finish','_configService','nodebuffer','readable','toDisposable','setHeader','allocUnsafe','kType','function','_closeTimer','emit','_writableState','once','sec-websocket-key','kListener','CONNECTING','headers','ping','read','compress','WS_ERR_INVALID_CLOSE_CODE','_req','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_no_context_takeover','freeze','includes','listenerCount','STATUS_CODES','maxPayload','pow','cork','_fin','handleUpgrade','encrypted','_readyState','_threshold','clients','bind','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','cleanup','onmessage','_url','Invalid\x20Sec-WebSocket-Protocol\x20header','onclose','perMessageDeflate','listening','wasClean','IConfigService','exports','COLLABORATION_CLIENT_NODE_CONFIG_KEY','isInteger','54QfSTKG','connection','GET','_fragmented','_closeMessage','url','File','_bufferedAmount','onerror','_messageLength','ISnapshotServerService','origin','registerDependencies','verifyClient','kAborted','hash','_skipUTF8Validation','slice','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','readUInt32BE','finishRequest','shouldHandle','endEmitted','auth','data','conclude','end','destroyed','catch','close','40rcJksb','kData','kDone','_paused','kMessage','call','Origin','reason','apply','href','getPayloadLength64','indexOf','offer','createError','_socket','values','UniverCollaborationClientPlugin','opcode','_maskBuffer','_originalHostOrSocketPath','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WebSocket','ws:','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20\x22','binary','Sec-WebSocket-Extensions','Invalid\x20Sec-WebSocket-Accept\x20header','listeners','extensionName','_errored','byteOffset','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','readUInt16BE','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','registerHTTPInterceptor','noServer','652001dTeXuq','\x22\x20subprotocol\x20is\x20duplicated','decompress','map','isBuffer','Unexpected\x20end\x20of\x20input','_readableState','WS_ERR_UNEXPECTED_RSV_1','buffer','Parameter\x20\x22','_removeListeners','maskBuffer','has','_shouldEmitClose','_payloadLength','next','toStringTag','http:','client_max_window_bits','HTTP/1.1\x20','DisposableCollection','Upgrade','_read','push','customHeaders','charCodeAt','haveLength','write','completeUpgrade','string','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','HTTPService','response','isView','code','setTimeout','shift','HTTP/1.1\x20101\x20Switching\x20Protocols','_mask','sec-websocket-origin','invalid\x20opcode\x200','writable','_sender','CLOSING','stream','terminate','_opcode','rsv1','Upgrade:\x20websocket','permessage-deflate','byteLength','Plugin','\x20(supported\x20versions:\x20','message','Sec-WebSocket-Origin','autoPong','RSV1\x20must\x20be\x20clear','arraybuffer','add','_originalIpc','_allowSynchronousEvents','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_loop','2481205xsfhIa'];_0x5a5c=function(){return _0x3762e6;};return _0x5a5c();}function he(){const _0x34a20b=_0x45812b;if(ze)return ve;ze=0x1;const _0x338fd7=bt,_0x3f6edb=ce(),_0x48ac75=Pt(),{kStatusCode:_0x153ad2}=H(),_0x594706=Buffer[Symbol[_0x34a20b(0xea)]],_0x4d5010=Buffer[_0x34a20b(0xb9)]([0x0,0x0,0xff,0xff]),_0x72395a=Symbol(_0x34a20b(0x208)),_0x4545a5=Symbol(_0x34a20b(0x229)),_0x4e5e95=Symbol(_0x34a20b(0xc9)),_0x1f86c4=Symbol('buffers'),_0x2cd89f=Symbol('error');let _0x488bcb;class _0x5f2467{constructor(_0x155cfe,_0x5b5158,_0x536dff){const _0x36d692=_0x34a20b;if(this['_maxPayload']=_0x536dff|0x0,this[_0x36d692(0x68)]=_0x155cfe||{},this[_0x36d692(0x184)]=this[_0x36d692(0x68)]['threshold']!==void 0x0?this[_0x36d692(0x68)][_0x36d692(0x15a)]:0x400,this[_0x36d692(0xa8)]=!!_0x5b5158,this[_0x36d692(0xac)]=null,this[_0x36d692(0x13e)]=null,this['params']=null,!_0x488bcb){const _0x460a64=this[_0x36d692(0x68)]['concurrencyLimit']!==void 0x0?this[_0x36d692(0x68)][_0x36d692(0xe0)]:0xa;_0x488bcb=new _0x48ac75(_0x460a64);}}static get[_0x34a20b(0x1cf)](){const _0x4c01da=_0x34a20b;return _0x4c01da(0x208);}[_0x34a20b(0x1be)](){const _0x2beacf=_0x34a20b,_0xf947b7={};return this[_0x2beacf(0x68)][_0x2beacf(0x140)]&&(_0xf947b7[_0x2beacf(0x9a)]=!0x0),this[_0x2beacf(0x68)][_0x2beacf(0x7b)]&&(_0xf947b7[_0x2beacf(0xe3)]=!0x0),this[_0x2beacf(0x68)][_0x2beacf(0x6c)]&&(_0xf947b7[_0x2beacf(0x128)]=this[_0x2beacf(0x68)]['serverMaxWindowBits']),this[_0x2beacf(0x68)]['clientMaxWindowBits']?_0xf947b7[_0x2beacf(0x1e9)]=this[_0x2beacf(0x68)][_0x2beacf(0xe6)]:this['_options'][_0x2beacf(0xe6)]==null&&(_0xf947b7[_0x2beacf(0x1e9)]=!0x0),_0xf947b7;}[_0x34a20b(0x11c)](_0x3af107){const _0x318a2d=_0x34a20b;return _0x3af107=this['normalizeParams'](_0x3af107),this[_0x318a2d(0xd7)]=this['_isServer']?this[_0x318a2d(0x84)](_0x3af107):this[_0x318a2d(0x14a)](_0x3af107),this['params'];}[_0x34a20b(0x188)](){const _0x3982ae=_0x34a20b;if(this['_inflate']&&(this[_0x3982ae(0x13e)][_0x3982ae(0x1b1)](),this[_0x3982ae(0x13e)]=null),this['_deflate']){const _0x5b04e3=this[_0x3982ae(0xac)][_0x4e5e95];this['_deflate'][_0x3982ae(0x1b1)](),this[_0x3982ae(0xac)]=null,_0x5b04e3&&_0x5b04e3(new Error(_0x3982ae(0x217)));}}['acceptAsServer'](_0x258e73){const _0x55fec5=_0x34a20b,_0x305f54=this[_0x55fec5(0x68)],_0x290080=_0x258e73['find'](_0x1158c1=>!(_0x305f54[_0x55fec5(0x140)]===!0x1&&_0x1158c1[_0x55fec5(0x9a)]||_0x1158c1['server_max_window_bits']&&(_0x305f54[_0x55fec5(0x6c)]===!0x1||typeof _0x305f54[_0x55fec5(0x6c)]=='number'&&_0x305f54[_0x55fec5(0x6c)]>_0x1158c1['server_max_window_bits'])||typeof _0x305f54[_0x55fec5(0xe6)]==_0x55fec5(0x157)&&!_0x1158c1[_0x55fec5(0x1e9)]));if(!_0x290080)throw new Error(_0x55fec5(0x156));return _0x305f54[_0x55fec5(0x140)]&&(_0x290080[_0x55fec5(0x9a)]=!0x0),_0x305f54[_0x55fec5(0x7b)]&&(_0x290080[_0x55fec5(0xe3)]=!0x0),typeof _0x305f54[_0x55fec5(0x6c)]==_0x55fec5(0x157)&&(_0x290080[_0x55fec5(0x128)]=_0x305f54[_0x55fec5(0x6c)]),typeof _0x305f54[_0x55fec5(0xe6)]=='number'?_0x290080[_0x55fec5(0x1e9)]=_0x305f54['clientMaxWindowBits']:(_0x290080[_0x55fec5(0x1e9)]===!0x0||_0x305f54[_0x55fec5(0xe6)]===!0x1)&&delete _0x290080[_0x55fec5(0x1e9)],_0x290080;}[_0x34a20b(0x14a)](_0x1814b5){const _0x20de9c=_0x34a20b,_0x4afd4d=_0x1814b5[0x0];if(this[_0x20de9c(0x68)]['clientNoContextTakeover']===!0x1&&_0x4afd4d['client_no_context_takeover'])throw new Error(_0x20de9c(0x104));if(!_0x4afd4d['client_max_window_bits'])typeof this[_0x20de9c(0x68)][_0x20de9c(0xe6)]==_0x20de9c(0x157)&&(_0x4afd4d['client_max_window_bits']=this[_0x20de9c(0x68)]['clientMaxWindowBits']);else{if(this[_0x20de9c(0x68)][_0x20de9c(0xe6)]===!0x1||typeof this[_0x20de9c(0x68)][_0x20de9c(0xe6)]==_0x20de9c(0x157)&&_0x4afd4d[_0x20de9c(0x1e9)]>this[_0x20de9c(0x68)][_0x20de9c(0xe6)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4afd4d;}['normalizeParams'](_0x4c394a){const _0xe0a16=_0x34a20b;return _0x4c394a[_0xe0a16(0x220)](_0x2144ac=>{Object['keys'](_0x2144ac)['forEach'](_0x3c9559=>{const _0x56a6ee=_0x4b89;let _0x5a3467=_0x2144ac[_0x3c9559];if(_0x5a3467[_0x56a6ee(0x78)]>0x1)throw new Error(_0x56a6ee(0x1e0)+_0x3c9559+_0x56a6ee(0x1c9));if(_0x5a3467=_0x5a3467[0x0],_0x3c9559==='client_max_window_bits'){if(_0x5a3467!==!0x0){const _0x31c3f3=+_0x5a3467;if(!Number[_0x56a6ee(0x193)](_0x31c3f3)||_0x31c3f3<0x8||_0x31c3f3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3c9559+_0x56a6ee(0x10f)+_0x5a3467);_0x5a3467=_0x31c3f3;}else{if(!this[_0x56a6ee(0xa8)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3c9559+_0x56a6ee(0x10f)+_0x5a3467);}}else{if(_0x3c9559==='server_max_window_bits'){const _0x47675b=+_0x5a3467;if(!Number[_0x56a6ee(0x193)](_0x47675b)||_0x47675b<0x8||_0x47675b>0xf)throw new TypeError(_0x56a6ee(0x102)+_0x3c9559+_0x56a6ee(0x10f)+_0x5a3467);_0x5a3467=_0x47675b;}else{if(_0x3c9559===_0x56a6ee(0xe3)||_0x3c9559===_0x56a6ee(0x9a)){if(_0x5a3467!==!0x0)throw new TypeError(_0x56a6ee(0x102)+_0x3c9559+_0x56a6ee(0x10f)+_0x5a3467);}else throw new Error(_0x56a6ee(0xd0)+_0x3c9559+'\x22');}}_0x2144ac[_0x3c9559]=_0x5a3467;});}),_0x4c394a;}['decompress'](_0x287352,_0xbf25d6,_0x460269){const _0x3dd651=_0x34a20b;_0x488bcb[_0x3dd651(0x211)](_0x2e707d=>{this['_decompress'](_0x287352,_0xbf25d6,(_0x5d86ea,_0x3af1cf)=>{_0x2e707d(),_0x460269(_0x5d86ea,_0x3af1cf);});});}[_0x34a20b(0x174)](_0xe6eb31,_0x1f54d4,_0x75a1ba){const _0x2e45e4=_0x34a20b;_0x488bcb[_0x2e45e4(0x211)](_0x4ef69f=>{const _0x497826=_0x2e45e4;this[_0x497826(0xf6)](_0xe6eb31,_0x1f54d4,(_0x4c4f08,_0x1ef582)=>{_0x4ef69f(),_0x75a1ba(_0x4c4f08,_0x1ef582);});});}[_0x34a20b(0xc0)](_0x2915de,_0x29c815,_0x2a0a2d){const _0x3637fe=_0x34a20b,_0x5a129d=this['_isServer']?_0x3637fe(0x14b):_0x3637fe(0xb8);if(!this[_0x3637fe(0x13e)]){const _0x3ba423=_0x5a129d+'_max_window_bits',_0x28ad35=typeof this[_0x3637fe(0xd7)][_0x3ba423]!=_0x3637fe(0x157)?_0x338fd7[_0x3637fe(0xa9)]:this[_0x3637fe(0xd7)][_0x3ba423];this[_0x3637fe(0x13e)]=_0x338fd7['createInflateRaw']({...this[_0x3637fe(0x68)]['zlibInflateOptions'],'windowBits':_0x28ad35}),this[_0x3637fe(0x13e)][_0x72395a]=this,this[_0x3637fe(0x13e)][_0x4545a5]=0x0,this[_0x3637fe(0x13e)][_0x1f86c4]=[],this[_0x3637fe(0x13e)]['on'](_0x3637fe(0x22b),_0x34726d),this[_0x3637fe(0x13e)]['on'](_0x3637fe(0x1ac),_0x33c6be);}this['_inflate'][_0x4e5e95]=_0x2a0a2d,this[_0x3637fe(0x13e)][_0x3637fe(0x1f2)](_0x2915de),_0x29c815&&this['_inflate']['write'](_0x4d5010),this[_0x3637fe(0x13e)][_0x3637fe(0x103)](()=>{const _0x36f6b6=_0x3637fe,_0x2a5809=this[_0x36f6b6(0x13e)][_0x2cd89f];if(_0x2a5809){this['_inflate'][_0x36f6b6(0x1b1)](),this[_0x36f6b6(0x13e)]=null,_0x2a0a2d(_0x2a5809);return;}const _0x35b44c=_0x3f6edb[_0x36f6b6(0x14e)](this['_inflate'][_0x1f86c4],this[_0x36f6b6(0x13e)][_0x4545a5]);this[_0x36f6b6(0x13e)][_0x36f6b6(0x1dd)][_0x36f6b6(0x1aa)]?(this[_0x36f6b6(0x13e)]['close'](),this[_0x36f6b6(0x13e)]=null):(this['_inflate'][_0x4545a5]=0x0,this['_inflate'][_0x1f86c4]=[],_0x29c815&&this[_0x36f6b6(0xd7)][_0x5a129d+_0x36f6b6(0x178)]&&this[_0x36f6b6(0x13e)][_0x36f6b6(0x8f)]()),_0x2a0a2d(null,_0x35b44c);});}[_0x34a20b(0xf6)](_0x5c5e71,_0x370a94,_0x3d790d){const _0x1e97d4=_0x34a20b,_0xb2a6cc=this[_0x1e97d4(0xa8)]?_0x1e97d4(0xb8):_0x1e97d4(0x14b);if(!this[_0x1e97d4(0xac)]){const _0x2444ee=_0xb2a6cc+_0x1e97d4(0xab),_0x11ab16=typeof this['params'][_0x2444ee]!=_0x1e97d4(0x157)?_0x338fd7[_0x1e97d4(0xa9)]:this[_0x1e97d4(0xd7)][_0x2444ee];this[_0x1e97d4(0xac)]=_0x338fd7[_0x1e97d4(0x11a)]({...this[_0x1e97d4(0x68)][_0x1e97d4(0xf9)],'windowBits':_0x11ab16}),this[_0x1e97d4(0xac)][_0x4545a5]=0x0,this['_deflate'][_0x1f86c4]=[],this[_0x1e97d4(0xac)]['on'](_0x1e97d4(0x1ac),_0x3b4ca8);}this[_0x1e97d4(0xac)][_0x4e5e95]=_0x3d790d,this[_0x1e97d4(0xac)][_0x1e97d4(0x1f2)](_0x5c5e71),this[_0x1e97d4(0xac)][_0x1e97d4(0x103)](_0x338fd7['Z_SYNC_FLUSH'],()=>{const _0xd61279=_0x1e97d4;if(!this[_0xd61279(0xac)])return;let _0x2f7384=_0x3f6edb[_0xd61279(0x14e)](this[_0xd61279(0xac)][_0x1f86c4],this[_0xd61279(0xac)][_0x4545a5]);_0x370a94&&(_0x2f7384=new _0x594706(_0x2f7384['buffer'],_0x2f7384[_0xd61279(0x1d1)],_0x2f7384['length']-0x4)),this[_0xd61279(0xac)][_0x4e5e95]=null,this[_0xd61279(0xac)][_0x4545a5]=0x0,this[_0xd61279(0xac)][_0x1f86c4]=[],_0x370a94&&this[_0xd61279(0xd7)][_0xb2a6cc+_0xd61279(0x178)]&&this[_0xd61279(0xac)][_0xd61279(0x8f)](),_0x3d790d(null,_0x2f7384);});}}ve=_0x5f2467;function _0x3b4ca8(_0x144aa3){const _0x10fa38=_0x34a20b;this[_0x1f86c4][_0x10fa38(0x1ee)](_0x144aa3),this[_0x4545a5]+=_0x144aa3[_0x10fa38(0x78)];}function _0x33c6be(_0xd0f06d){const _0x1576f0=_0x34a20b;if(this[_0x4545a5]+=_0xd0f06d[_0x1576f0(0x78)],this[_0x72395a][_0x1576f0(0xb7)]<0x1||this[_0x4545a5]<=this[_0x72395a][_0x1576f0(0xb7)]){this[_0x1f86c4][_0x1576f0(0x1ee)](_0xd0f06d);return;}this[_0x2cd89f]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x2cd89f][_0x1576f0(0x1f9)]=_0x1576f0(0x187),this[_0x2cd89f][_0x153ad2]=0x3f1,this[_0x1576f0(0xd5)](_0x1576f0(0x1ac),_0x33c6be),this[_0x1576f0(0x8f)]();}function _0x34726d(_0x5047d9){const _0x226723=_0x34a20b;if(this[_0x72395a][_0x226723(0x13e)]=null,this[_0x2cd89f]){this[_0x4e5e95](this[_0x2cd89f]);return;}_0x5047d9[_0x153ad2]=0x3ef,this[_0x4e5e95](_0x5047d9);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x45812b(0x179)](Object[_0x45812b(0xa3)]({'__proto__':null,'default':Dt},Symbol[_0x45812b(0x1e7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x4ac1bb=_0x45812b;if(Ye)return ie[_0x4ac1bb(0x191)];Ye=0x1;const {isUtf8:_0x5b90cd}=wt,{hasBlob:_0x4363d6}=H(),_0x1e9590=[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 _0x3cda86(_0x33f533){return _0x33f533>=0x3e8&&_0x33f533<=0x3f6&&_0x33f533!==0x3ec&&_0x33f533!==0x3ed&&_0x33f533!==0x3ee||_0x33f533>=0xbb8&&_0x33f533<=0x1387;}function _0x11a5b(_0x24c5ef){const _0x288214=_0x24c5ef['length'];let _0x57b19c=0x0;for(;_0x57b19c<_0x288214;)if((_0x24c5ef[_0x57b19c]&0x80)===0x0)_0x57b19c++;else{if((_0x24c5ef[_0x57b19c]&0xe0)===0xc0){if(_0x57b19c+0x1===_0x288214||(_0x24c5ef[_0x57b19c+0x1]&0xc0)!==0x80||(_0x24c5ef[_0x57b19c]&0xfe)===0xc0)return!0x1;_0x57b19c+=0x2;}else{if((_0x24c5ef[_0x57b19c]&0xf0)===0xe0){if(_0x57b19c+0x2>=_0x288214||(_0x24c5ef[_0x57b19c+0x1]&0xc0)!==0x80||(_0x24c5ef[_0x57b19c+0x2]&0xc0)!==0x80||_0x24c5ef[_0x57b19c]===0xe0&&(_0x24c5ef[_0x57b19c+0x1]&0xe0)===0x80||_0x24c5ef[_0x57b19c]===0xed&&(_0x24c5ef[_0x57b19c+0x1]&0xe0)===0xa0)return!0x1;_0x57b19c+=0x3;}else{if((_0x24c5ef[_0x57b19c]&0xf8)===0xf0){if(_0x57b19c+0x3>=_0x288214||(_0x24c5ef[_0x57b19c+0x1]&0xc0)!==0x80||(_0x24c5ef[_0x57b19c+0x2]&0xc0)!==0x80||(_0x24c5ef[_0x57b19c+0x3]&0xc0)!==0x80||_0x24c5ef[_0x57b19c]===0xf0&&(_0x24c5ef[_0x57b19c+0x1]&0xf0)===0x80||_0x24c5ef[_0x57b19c]===0xf4&&_0x24c5ef[_0x57b19c+0x1]>0x8f||_0x24c5ef[_0x57b19c]>0xf4)return!0x1;_0x57b19c+=0x4;}else return!0x1;}}}return!0x0;}function _0x682f0f(_0x232b23){const _0x5ed219=_0x4ac1bb;return _0x4363d6&&typeof _0x232b23=='object'&&typeof _0x232b23['arrayBuffer']==_0x5ed219(0x169)&&typeof _0x232b23[_0x5ed219(0x7e)]=='string'&&typeof _0x232b23[_0x5ed219(0x203)]=='function'&&(_0x232b23[Symbol[_0x5ed219(0x1e7)]]==='Blob'||_0x232b23[Symbol[_0x5ed219(0x1e7)]]===_0x5ed219(0x19a));}if(ie[_0x4ac1bb(0x191)]={'isBlob':_0x682f0f,'isValidStatusCode':_0x3cda86,'isValidUTF8':_0x11a5b,'tokenChars':_0x1e9590},_0x5b90cd)ie[_0x4ac1bb(0x191)][_0x4ac1bb(0x9c)]=function(_0x537a0a){return _0x537a0a['length']<0x18?_0x11a5b(_0x537a0a):_0x5b90cd(_0x537a0a);};else{if(!process['env'][_0x4ac1bb(0x98)])try{const _0x34a108=Bt;ie[_0x4ac1bb(0x191)][_0x4ac1bb(0x9c)]=function(_0xea27fc){return _0xea27fc['length']<0x20?_0x11a5b(_0xea27fc):_0x34a108(_0xea27fc);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x379de9=_0x45812b;if(Ke)return Se;Ke=0x1;const {Writable:_0x41d05f}=oe,_0x33526e=he(),{BINARY_TYPES:_0xf70af2,EMPTY_BUFFER:_0x20539d,kStatusCode:_0x5e7e04,kWebSocket:_0x177111}=H(),{concat:_0x32da08,toArrayBuffer:_0x3e35a4,unmask:_0x2bab63}=ce(),{isValidStatusCode:_0x3b5aab,isValidUTF8:_0x38aa27}=ae(),_0x3881f8=Buffer[Symbol['species']],_0x4aeb45=0x0,_0x2924d5=0x1,_0x575ab0=0x2,_0x336e27=0x3,_0x13b8db=0x4,_0x535b12=0x5,_0x2f96cb=0x6;class _0x3bd5d8 extends _0x41d05f{constructor(_0x5d0365={}){const _0x5b0521=_0x4b89;super(),this['_allowSynchronousEvents']=_0x5d0365[_0x5b0521(0x67)]!==void 0x0?_0x5d0365[_0x5b0521(0x67)]:!0x0,this[_0x5b0521(0xe7)]=_0x5d0365[_0x5b0521(0x10c)]||_0xf70af2[0x0],this[_0x5b0521(0xec)]=_0x5d0365[_0x5b0521(0x107)]||{},this[_0x5b0521(0xa8)]=!!_0x5d0365[_0x5b0521(0xe4)],this[_0x5b0521(0xb7)]=_0x5d0365['maxPayload']|0x0,this[_0x5b0521(0x1a4)]=!!_0x5d0365['skipUTF8Validation'],this[_0x177111]=void 0x0,this[_0x5b0521(0x105)]=0x0,this[_0x5b0521(0x123)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x5b0521(0x197)]=0x0,this[_0x5b0521(0x21c)]=!0x1,this[_0x5b0521(0x180)]=!0x1,this[_0x5b0521(0x205)]=0x0,this[_0x5b0521(0xa2)]=0x0,this['_messageLength']=0x0,this[_0x5b0521(0x73)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x5b0521(0x131)]=_0x4aeb45;}['_write'](_0x2488d9,_0x2bf55f,_0x2aac4b){const _0x438e69=_0x4b89;if(this[_0x438e69(0x205)]===0x8&&this[_0x438e69(0x131)]==_0x4aeb45)return _0x2aac4b();this[_0x438e69(0x105)]+=_0x2488d9[_0x438e69(0x78)],this[_0x438e69(0x123)][_0x438e69(0x1ee)](_0x2488d9),this[_0x438e69(0x116)](_0x2aac4b);}[_0x379de9(0x146)](_0x349358){const _0x14e118=_0x379de9;if(this['_bufferedBytes']-=_0x349358,_0x349358===this[_0x14e118(0x123)][0x0][_0x14e118(0x78)])return this[_0x14e118(0x123)][_0x14e118(0x1fb)]();if(_0x349358<this['_buffers'][0x0][_0x14e118(0x78)]){const _0x54229c=this[_0x14e118(0x123)][0x0];return this[_0x14e118(0x123)][0x0]=new _0x3881f8(_0x54229c['buffer'],_0x54229c[_0x14e118(0x1d1)]+_0x349358,_0x54229c['length']-_0x349358),new _0x3881f8(_0x54229c['buffer'],_0x54229c['byteOffset'],_0x349358);}const _0x3c5a39=Buffer[_0x14e118(0x167)](_0x349358);do{const _0x2f0fe5=this[_0x14e118(0x123)][0x0],_0x3710c4=_0x3c5a39[_0x14e118(0x78)]-_0x349358;_0x349358>=_0x2f0fe5[_0x14e118(0x78)]?_0x3c5a39[_0x14e118(0xca)](this[_0x14e118(0x123)]['shift'](),_0x3710c4):(_0x3c5a39[_0x14e118(0xca)](new Uint8Array(_0x2f0fe5['buffer'],_0x2f0fe5['byteOffset'],_0x349358),_0x3710c4),this[_0x14e118(0x123)][0x0]=new _0x3881f8(_0x2f0fe5[_0x14e118(0x1df)],_0x2f0fe5[_0x14e118(0x1d1)]+_0x349358,_0x2f0fe5['length']-_0x349358)),_0x349358-=_0x2f0fe5[_0x14e118(0x78)];}while(_0x349358>0x0);return _0x3c5a39;}[_0x379de9(0x116)](_0x43e2ef){const _0x54b308=_0x379de9;this[_0x54b308(0x215)]=!0x0;do switch(this[_0x54b308(0x131)]){case _0x4aeb45:this['getInfo'](_0x43e2ef);break;case _0x2924d5:this['getPayloadLength16'](_0x43e2ef);break;case _0x575ab0:this[_0x54b308(0x1bc)](_0x43e2ef);break;case _0x336e27:this[_0x54b308(0x11d)]();break;case _0x13b8db:this[_0x54b308(0x70)](_0x43e2ef);break;case _0x535b12:case _0x2f96cb:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x54b308(0x1d0)]||_0x43e2ef();}[_0x379de9(0x75)](_0x513f30){const _0x749bde=_0x379de9;if(this['_bufferedBytes']<0x2){this[_0x749bde(0x215)]=!0x1;return;}const _0x24a599=this[_0x749bde(0x146)](0x2);if((_0x24a599[0x0]&0x30)!==0x0){const _0x9bb9a1=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0xe5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x513f30(_0x9bb9a1);return;}const _0x35f6fa=(_0x24a599[0x0]&0x40)===0x40;if(_0x35f6fa&&!this[_0x749bde(0xec)][_0x33526e[_0x749bde(0x1cf)]]){const _0x5cb70d=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x749bde(0x1de));_0x513f30(_0x5cb70d);return;}if(this['_fin']=(_0x24a599[0x0]&0x80)===0x80,this[_0x749bde(0x205)]=_0x24a599[0x0]&0xf,this[_0x749bde(0x1e5)]=_0x24a599[0x1]&0x7f,this[_0x749bde(0x205)]===0x0){if(_0x35f6fa){const _0x3c05ef=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0x20f),!0x0,0x3ea,_0x749bde(0x1de));_0x513f30(_0x3c05ef);return;}if(!this[_0x749bde(0x197)]){const _0xf7c360=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0x1ff),!0x0,0x3ea,_0x749bde(0x91));_0x513f30(_0xf7c360);return;}this['_opcode']=this[_0x749bde(0x197)];}else{if(this[_0x749bde(0x205)]===0x1||this[_0x749bde(0x205)]===0x2){if(this[_0x749bde(0x197)]){const _0x39b296=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0xee)+this[_0x749bde(0x205)],!0x0,0x3ea,_0x749bde(0x91));_0x513f30(_0x39b296);return;}this[_0x749bde(0xc3)]=_0x35f6fa;}else{if(this[_0x749bde(0x205)]>0x7&&this[_0x749bde(0x205)]<0xb){if(!this[_0x749bde(0x180)]){const _0x1c5235=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0x149),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x513f30(_0x1c5235);return;}if(_0x35f6fa){const _0x2b1683=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0x20f),!0x0,0x3ea,_0x749bde(0x1de));_0x513f30(_0x2b1683);return;}if(this[_0x749bde(0x1e5)]>0x7d||this[_0x749bde(0x205)]===0x8&&this[_0x749bde(0x1e5)]===0x1){const _0x2aff50=this[_0x749bde(0x1bf)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x749bde(0x1e5)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x513f30(_0x2aff50);return;}}else{const _0x44cef0=this[_0x749bde(0x1bf)](RangeError,'invalid\x20opcode\x20'+this[_0x749bde(0x205)],!0x0,0x3ea,_0x749bde(0x91));_0x513f30(_0x44cef0);return;}}}if(!this[_0x749bde(0x180)]&&!this[_0x749bde(0x197)]&&(this[_0x749bde(0x197)]=this[_0x749bde(0x205)]),this[_0x749bde(0x21c)]=(_0x24a599[0x1]&0x80)===0x80,this[_0x749bde(0xa8)]){if(!this[_0x749bde(0x21c)]){const _0x20d719=this[_0x749bde(0x1bf)](RangeError,_0x749bde(0xdc),!0x0,0x3ea,_0x749bde(0x144));_0x513f30(_0x20d719);return;}}else{if(this['_masked']){const _0x2c0586=this['createError'](RangeError,_0x749bde(0xf5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x513f30(_0x2c0586);return;}}this[_0x749bde(0x1e5)]===0x7e?this[_0x749bde(0x131)]=_0x2924d5:this[_0x749bde(0x1e5)]===0x7f?this[_0x749bde(0x131)]=_0x575ab0:this[_0x749bde(0x1f1)](_0x513f30);}[_0x379de9(0xd6)](_0x177c0e){const _0x3c21e9=_0x379de9;if(this[_0x3c21e9(0x105)]<0x2){this['_loop']=!0x1;return;}this[_0x3c21e9(0x1e5)]=this[_0x3c21e9(0x146)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x177c0e);}['getPayloadLength64'](_0x1ba0e2){const _0x135b00=_0x379de9;if(this[_0x135b00(0x105)]<0x8){this[_0x135b00(0x215)]=!0x1;return;}const _0x321a32=this[_0x135b00(0x146)](0x8),_0x6ff36e=_0x321a32[_0x135b00(0x1a7)](0x0);if(_0x6ff36e>Math['pow'](0x2,0x15)-0x1){const _0x5b50c5=this[_0x135b00(0x1bf)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x135b00(0x1d2));_0x1ba0e2(_0x5b50c5);return;}this[_0x135b00(0x1e5)]=_0x6ff36e*Math[_0x135b00(0x17e)](0x2,0x20)+_0x321a32[_0x135b00(0x1a7)](0x4),this[_0x135b00(0x1f1)](_0x1ba0e2);}[_0x379de9(0x1f1)](_0x203da3){const _0x533597=_0x379de9;if(this[_0x533597(0x1e5)]&&this[_0x533597(0x205)]<0x8&&(this['_totalPayloadLength']+=this[_0x533597(0x1e5)],this[_0x533597(0xa2)]>this[_0x533597(0xb7)]&&this[_0x533597(0xb7)]>0x0)){const _0x2c3c26=this[_0x533597(0x1bf)](RangeError,_0x533597(0x158),!0x1,0x3f1,_0x533597(0x187));_0x203da3(_0x2c3c26);return;}this[_0x533597(0x21c)]?this[_0x533597(0x131)]=_0x336e27:this[_0x533597(0x131)]=_0x13b8db;}[_0x379de9(0x11d)](){const _0x57427c=_0x379de9;if(this[_0x57427c(0x105)]<0x4){this[_0x57427c(0x215)]=!0x1;return;}this[_0x57427c(0x1fd)]=this['consume'](0x4),this[_0x57427c(0x131)]=_0x13b8db;}[_0x379de9(0x70)](_0x478c25){const _0x524d60=_0x379de9;let _0x1f6c16=_0x20539d;if(this[_0x524d60(0x1e5)]){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x1f6c16=this[_0x524d60(0x146)](this[_0x524d60(0x1e5)]),this[_0x524d60(0x21c)]&&(this[_0x524d60(0x1fd)][0x0]|this[_0x524d60(0x1fd)][0x1]|this[_0x524d60(0x1fd)][0x2]|this[_0x524d60(0x1fd)][0x3])!==0x0&&_0x2bab63(_0x1f6c16,this[_0x524d60(0x1fd)]);}if(this[_0x524d60(0x205)]>0x7){this[_0x524d60(0x136)](_0x1f6c16,_0x478c25);return;}if(this['_compressed']){this['_state']=_0x535b12,this[_0x524d60(0x1d9)](_0x1f6c16,_0x478c25);return;}_0x1f6c16[_0x524d60(0x78)]&&(this[_0x524d60(0x19d)]=this[_0x524d60(0xa2)],this[_0x524d60(0x73)]['push'](_0x1f6c16)),this[_0x524d60(0xd3)](_0x478c25);}['decompress'](_0x4ba3b4,_0x179457){const _0x4b42d5=_0x379de9;this[_0x4b42d5(0xec)][_0x33526e[_0x4b42d5(0x1cf)]][_0x4b42d5(0x1d9)](_0x4ba3b4,this[_0x4b42d5(0x180)],(_0x53bea5,_0x8d7763)=>{const _0x264ac3=_0x4b42d5;if(_0x53bea5)return _0x179457(_0x53bea5);if(_0x8d7763[_0x264ac3(0x78)]){if(this['_messageLength']+=_0x8d7763[_0x264ac3(0x78)],this[_0x264ac3(0x19d)]>this['_maxPayload']&&this[_0x264ac3(0xb7)]>0x0){const _0x24b6ff=this[_0x264ac3(0x1bf)](RangeError,_0x264ac3(0x158),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x179457(_0x24b6ff);return;}this[_0x264ac3(0x73)]['push'](_0x8d7763);}this[_0x264ac3(0xd3)](_0x179457),this[_0x264ac3(0x131)]===_0x4aeb45&&this[_0x264ac3(0x116)](_0x179457);});}[_0x379de9(0xd3)](_0xb490f9){const _0x4497fc=_0x379de9;if(!this[_0x4497fc(0x180)]){this[_0x4497fc(0x131)]=_0x4aeb45;return;}const _0x510592=this['_messageLength'],_0x4c20c8=this['_fragments'];if(this[_0x4497fc(0xa2)]=0x0,this[_0x4497fc(0x19d)]=0x0,this[_0x4497fc(0x197)]=0x0,this[_0x4497fc(0x73)]=[],this['_opcode']===0x2){let _0x4efcc3;this[_0x4497fc(0xe7)]===_0x4497fc(0x163)?_0x4efcc3=_0x32da08(_0x4c20c8,_0x510592):this['_binaryType']===_0x4497fc(0x210)?_0x4efcc3=_0x3e35a4(_0x32da08(_0x4c20c8,_0x510592)):this[_0x4497fc(0xe7)]===_0x4497fc(0xbe)?_0x4efcc3=new Blob(_0x4c20c8):_0x4efcc3=_0x4c20c8,this['_allowSynchronousEvents']?(this[_0x4497fc(0x16b)]('message',_0x4efcc3,!0x0),this['_state']=_0x4aeb45):(this['_state']=_0x2f96cb,setImmediate(()=>{const _0x1b9b1d=_0x4497fc;this[_0x1b9b1d(0x16b)](_0x1b9b1d(0x20c),_0x4efcc3,!0x0),this['_state']=_0x4aeb45,this[_0x1b9b1d(0x116)](_0xb490f9);}));}else{const _0x260f70=_0x32da08(_0x4c20c8,_0x510592);if(!this[_0x4497fc(0x1a4)]&&!_0x38aa27(_0x260f70)){const _0x3536dc=this[_0x4497fc(0x1bf)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4497fc(0xbc));_0xb490f9(_0x3536dc);return;}this[_0x4497fc(0x131)]===_0x535b12||this[_0x4497fc(0x213)]?(this[_0x4497fc(0x16b)](_0x4497fc(0x20c),_0x260f70,!0x1),this[_0x4497fc(0x131)]=_0x4aeb45):(this[_0x4497fc(0x131)]=_0x2f96cb,setImmediate(()=>{const _0x5695e0=_0x4497fc;this[_0x5695e0(0x16b)](_0x5695e0(0x20c),_0x260f70,!0x1),this[_0x5695e0(0x131)]=_0x4aeb45,this[_0x5695e0(0x116)](_0xb490f9);}));}}['controlMessage'](_0x418d64,_0x449c7f){const _0x506f34=_0x379de9;if(this['_opcode']===0x8){if(_0x418d64[_0x506f34(0x78)]===0x0)this['_loop']=!0x1,this['emit'](_0x506f34(0x1ad),0x3ed,_0x20539d),this[_0x506f34(0x1ae)]();else{const _0x7e7a6a=_0x418d64[_0x506f34(0x1d3)](0x0);if(!_0x3b5aab(_0x7e7a6a)){const _0x214c58=this[_0x506f34(0x1bf)](RangeError,_0x506f34(0x113)+_0x7e7a6a,!0x0,0x3ea,_0x506f34(0x175));_0x449c7f(_0x214c58);return;}const _0x2bf03c=new _0x3881f8(_0x418d64[_0x506f34(0x1df)],_0x418d64['byteOffset']+0x2,_0x418d64[_0x506f34(0x78)]-0x2);if(!this[_0x506f34(0x1a4)]&&!_0x38aa27(_0x2bf03c)){const _0x2d2b25=this['createError'](Error,_0x506f34(0xba),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x449c7f(_0x2d2b25);return;}this['_loop']=!0x1,this[_0x506f34(0x16b)](_0x506f34(0x1ad),_0x7e7a6a,_0x2bf03c),this['end']();}this[_0x506f34(0x131)]=_0x4aeb45;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x506f34(0x205)]===0x9?_0x506f34(0x172):_0x506f34(0x13f),_0x418d64),this[_0x506f34(0x131)]=_0x4aeb45):(this[_0x506f34(0x131)]=_0x2f96cb,setImmediate(()=>{const _0x40a8d2=_0x506f34;this[_0x40a8d2(0x16b)](this[_0x40a8d2(0x205)]===0x9?'ping':_0x40a8d2(0x13f),_0x418d64),this[_0x40a8d2(0x131)]=_0x4aeb45,this[_0x40a8d2(0x116)](_0x449c7f);}));}[_0x379de9(0x1bf)](_0xd0189e,_0x7d0c96,_0x308945,_0x1558a2,_0x270dc4){const _0x5ee0c4=_0x379de9;this['_loop']=!0x1,this[_0x5ee0c4(0x1d0)]=!0x0;const _0x8a73b7=new _0xd0189e(_0x308945?'Invalid\x20WebSocket\x20frame:\x20'+_0x7d0c96:_0x7d0c96);return Error[_0x5ee0c4(0x8b)](_0x8a73b7,this[_0x5ee0c4(0x1bf)]),_0x8a73b7['code']=_0x270dc4,_0x8a73b7[_0x5e7e04]=_0x1558a2,_0x8a73b7;}}return Se=_0x3bd5d8,Se;}var Ee,Xe;function ft(){const _0x2a3564=_0x45812b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x39455c}=oe,{randomFillSync:_0x3dc9a5}=Le,_0x20051f=he(),{EMPTY_BUFFER:_0x1ba30d,kWebSocket:_0x10d1ab,NOOP:_0x112535}=H(),{isBlob:_0x3e2845,isValidStatusCode:_0x4dc208}=ae(),{mask:_0x377a8c,toBuffer:_0xbbb830}=ce(),_0x5d4b3a=Symbol(_0x2a3564(0x86)),_0x295fe2=Buffer['alloc'](0x4),_0x485e05=0x8*0x400;let _0x54f8d3,_0x1daa8a=_0x485e05;const _0xfbc782=0x0,_0x4017a7=0x1,_0x33bbfd=0x2;class _0x48426b{constructor(_0x35506d,_0x510b2d,_0x41a560){const _0xc3bce6=_0x2a3564;this['_extensions']=_0x510b2d||{},_0x41a560&&(this['_generateMask']=_0x41a560,this['_maskBuffer']=Buffer[_0xc3bce6(0xc7)](0x4)),this[_0xc3bce6(0x1c0)]=_0x35506d,this[_0xc3bce6(0x221)]=!0x0,this[_0xc3bce6(0xf6)]=!0x1,this[_0xc3bce6(0x105)]=0x0,this['_queue']=[],this[_0xc3bce6(0x131)]=_0xfbc782,this[_0xc3bce6(0x19c)]=_0x112535,this[_0x10d1ab]=void 0x0;}static['frame'](_0x17dd22,_0x2d75b9){const _0x295498=_0x2a3564;let _0x5b58cc,_0x331a97=!0x1,_0x31b5b5=0x2,_0x1e86e6=!0x1;_0x2d75b9['mask']&&(_0x5b58cc=_0x2d75b9[_0x295498(0x1e2)]||_0x295fe2,_0x2d75b9[_0x295498(0x132)]?_0x2d75b9[_0x295498(0x132)](_0x5b58cc):(_0x1daa8a===_0x485e05&&(_0x54f8d3===void 0x0&&(_0x54f8d3=Buffer[_0x295498(0xc7)](_0x485e05)),_0x3dc9a5(_0x54f8d3,0x0,_0x485e05),_0x1daa8a=0x0),_0x5b58cc[0x0]=_0x54f8d3[_0x1daa8a++],_0x5b58cc[0x1]=_0x54f8d3[_0x1daa8a++],_0x5b58cc[0x2]=_0x54f8d3[_0x1daa8a++],_0x5b58cc[0x3]=_0x54f8d3[_0x1daa8a++]),_0x1e86e6=(_0x5b58cc[0x0]|_0x5b58cc[0x1]|_0x5b58cc[0x2]|_0x5b58cc[0x3])===0x0,_0x31b5b5=0x6);let _0x3ea8c2;typeof _0x17dd22==_0x295498(0x1f4)?(!_0x2d75b9[_0x295498(0x139)]||_0x1e86e6)&&_0x2d75b9[_0x5d4b3a]!==void 0x0?_0x3ea8c2=_0x2d75b9[_0x5d4b3a]:(_0x17dd22=Buffer[_0x295498(0xb9)](_0x17dd22),_0x3ea8c2=_0x17dd22[_0x295498(0x78)]):(_0x3ea8c2=_0x17dd22[_0x295498(0x78)],_0x331a97=_0x2d75b9[_0x295498(0x139)]&&_0x2d75b9['readOnly']&&!_0x1e86e6);let _0x537ffe=_0x3ea8c2;_0x3ea8c2>=0x10000?(_0x31b5b5+=0x8,_0x537ffe=0x7f):_0x3ea8c2>0x7d&&(_0x31b5b5+=0x2,_0x537ffe=0x7e);const _0x49942d=Buffer[_0x295498(0x167)](_0x331a97?_0x3ea8c2+_0x31b5b5:_0x31b5b5);return _0x49942d[0x0]=_0x2d75b9[_0x295498(0x81)]?_0x2d75b9[_0x295498(0x1c3)]|0x80:_0x2d75b9[_0x295498(0x1c3)],_0x2d75b9[_0x295498(0x206)]&&(_0x49942d[0x0]|=0x40),_0x49942d[0x1]=_0x537ffe,_0x537ffe===0x7e?_0x49942d['writeUInt16BE'](_0x3ea8c2,0x2):_0x537ffe===0x7f&&(_0x49942d[0x2]=_0x49942d[0x3]=0x0,_0x49942d[_0x295498(0x15c)](_0x3ea8c2,0x4,0x6)),_0x2d75b9[_0x295498(0x139)]?(_0x49942d[0x1]|=0x80,_0x49942d[_0x31b5b5-0x4]=_0x5b58cc[0x0],_0x49942d[_0x31b5b5-0x3]=_0x5b58cc[0x1],_0x49942d[_0x31b5b5-0x2]=_0x5b58cc[0x2],_0x49942d[_0x31b5b5-0x1]=_0x5b58cc[0x3],_0x1e86e6?[_0x49942d,_0x17dd22]:_0x331a97?(_0x377a8c(_0x17dd22,_0x5b58cc,_0x49942d,_0x31b5b5,_0x3ea8c2),[_0x49942d]):(_0x377a8c(_0x17dd22,_0x5b58cc,_0x17dd22,0x0,_0x3ea8c2),[_0x49942d,_0x17dd22])):[_0x49942d,_0x17dd22];}[_0x2a3564(0x1b1)](_0x397fe6,_0x3e710f,_0x5e087a,_0xdd9c1d){const _0x3279e4=_0x2a3564;let _0x5a98eb;if(_0x397fe6===void 0x0)_0x5a98eb=_0x1ba30d;else{if(typeof _0x397fe6!='number'||!_0x4dc208(_0x397fe6))throw new TypeError(_0x3279e4(0x1a6));if(_0x3e710f===void 0x0||!_0x3e710f[_0x3279e4(0x78)])_0x5a98eb=Buffer[_0x3279e4(0x167)](0x2),_0x5a98eb['writeUInt16BE'](_0x397fe6,0x0);else{const _0x1b1e05=Buffer[_0x3279e4(0x209)](_0x3e710f);if(_0x1b1e05>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x5a98eb=Buffer[_0x3279e4(0x167)](0x2+_0x1b1e05),_0x5a98eb['writeUInt16BE'](_0x397fe6,0x0),typeof _0x3e710f==_0x3279e4(0x1f4)?_0x5a98eb[_0x3279e4(0x1f2)](_0x3e710f,0x2):_0x5a98eb[_0x3279e4(0xca)](_0x3e710f,0x2);}}const _0x3624ea={[_0x5d4b3a]:_0x5a98eb[_0x3279e4(0x78)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5e087a,'maskBuffer':this[_0x3279e4(0x1c4)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3279e4(0x131)]!==_0xfbc782?this[_0x3279e4(0xc4)]([this['dispatch'],_0x5a98eb,!0x1,_0x3624ea,_0xdd9c1d]):this[_0x3279e4(0x7a)](_0x48426b['frame'](_0x5a98eb,_0x3624ea),_0xdd9c1d);}[_0x2a3564(0x172)](_0x4e0e24,_0x46a93d,_0x1f2ad8){const _0x565ea7=_0x2a3564;let _0x4da9f6,_0xe77adf;if(typeof _0x4e0e24==_0x565ea7(0x1f4)?(_0x4da9f6=Buffer[_0x565ea7(0x209)](_0x4e0e24),_0xe77adf=!0x1):_0x3e2845(_0x4e0e24)?(_0x4da9f6=_0x4e0e24[_0x565ea7(0x88)],_0xe77adf=!0x1):(_0x4e0e24=_0xbbb830(_0x4e0e24),_0x4da9f6=_0x4e0e24[_0x565ea7(0x78)],_0xe77adf=_0xbbb830[_0x565ea7(0xc6)]),_0x4da9f6>0x7d)throw new RangeError(_0x565ea7(0x111));const _0x2bf4c2={[_0x5d4b3a]:_0x4da9f6,'fin':!0x0,'generateMask':this[_0x565ea7(0xaf)],'mask':_0x46a93d,'maskBuffer':this[_0x565ea7(0x1c4)],'opcode':0x9,'readOnly':_0xe77adf,'rsv1':!0x1};_0x3e2845(_0x4e0e24)?this[_0x565ea7(0x131)]!==_0xfbc782?this['enqueue']([this[_0x565ea7(0xcf)],_0x4e0e24,!0x1,_0x2bf4c2,_0x1f2ad8]):this['getBlobData'](_0x4e0e24,!0x1,_0x2bf4c2,_0x1f2ad8):this[_0x565ea7(0x131)]!==_0xfbc782?this['enqueue']([this[_0x565ea7(0x22a)],_0x4e0e24,!0x1,_0x2bf4c2,_0x1f2ad8]):this[_0x565ea7(0x7a)](_0x48426b['frame'](_0x4e0e24,_0x2bf4c2),_0x1f2ad8);}[_0x2a3564(0x13f)](_0x363ca5,_0x42da84,_0x3cac7c){const _0x2f5e74=_0x2a3564;let _0x5092b2,_0xa9bbce;if(typeof _0x363ca5==_0x2f5e74(0x1f4)?(_0x5092b2=Buffer[_0x2f5e74(0x209)](_0x363ca5),_0xa9bbce=!0x1):_0x3e2845(_0x363ca5)?(_0x5092b2=_0x363ca5[_0x2f5e74(0x88)],_0xa9bbce=!0x1):(_0x363ca5=_0xbbb830(_0x363ca5),_0x5092b2=_0x363ca5[_0x2f5e74(0x78)],_0xa9bbce=_0xbbb830[_0x2f5e74(0xc6)]),_0x5092b2>0x7d)throw new RangeError(_0x2f5e74(0x111));const _0x42861b={[_0x5d4b3a]:_0x5092b2,'fin':!0x0,'generateMask':this[_0x2f5e74(0xaf)],'mask':_0x42da84,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xa9bbce,'rsv1':!0x1};_0x3e2845(_0x363ca5)?this['_state']!==_0xfbc782?this[_0x2f5e74(0xc4)]([this[_0x2f5e74(0xcf)],_0x363ca5,!0x1,_0x42861b,_0x3cac7c]):this[_0x2f5e74(0xcf)](_0x363ca5,!0x1,_0x42861b,_0x3cac7c):this[_0x2f5e74(0x131)]!==_0xfbc782?this[_0x2f5e74(0xc4)]([this['dispatch'],_0x363ca5,!0x1,_0x42861b,_0x3cac7c]):this[_0x2f5e74(0x7a)](_0x48426b[_0x2f5e74(0xb3)](_0x363ca5,_0x42861b),_0x3cac7c);}[_0x2a3564(0xa0)](_0x298c63,_0x4e93ed,_0x249d61){const _0x20c573=_0x2a3564,_0x3a86a3=this['_extensions'][_0x20051f[_0x20c573(0x1cf)]];let _0x12da29=_0x4e93ed[_0x20c573(0x1cb)]?0x2:0x1,_0x30f757=_0x4e93ed['compress'],_0x25cc8c,_0x5346a8;typeof _0x298c63==_0x20c573(0x1f4)?(_0x25cc8c=Buffer[_0x20c573(0x209)](_0x298c63),_0x5346a8=!0x1):_0x3e2845(_0x298c63)?(_0x25cc8c=_0x298c63[_0x20c573(0x88)],_0x5346a8=!0x1):(_0x298c63=_0xbbb830(_0x298c63),_0x25cc8c=_0x298c63[_0x20c573(0x78)],_0x5346a8=_0xbbb830[_0x20c573(0xc6)]),this[_0x20c573(0x221)]?(this[_0x20c573(0x221)]=!0x1,_0x30f757&&_0x3a86a3&&_0x3a86a3[_0x20c573(0xd7)][_0x3a86a3[_0x20c573(0xa8)]?'server_no_context_takeover':_0x20c573(0xe3)]&&(_0x30f757=_0x25cc8c>=_0x3a86a3[_0x20c573(0x184)]),this[_0x20c573(0xf6)]=_0x30f757):(_0x30f757=!0x1,_0x12da29=0x0),_0x4e93ed[_0x20c573(0x81)]&&(this['_firstFragment']=!0x0);const _0x194fc2={[_0x5d4b3a]:_0x25cc8c,'fin':_0x4e93ed['fin'],'generateMask':this[_0x20c573(0xaf)],'mask':_0x4e93ed[_0x20c573(0x139)],'maskBuffer':this['_maskBuffer'],'opcode':_0x12da29,'readOnly':_0x5346a8,'rsv1':_0x30f757};_0x3e2845(_0x298c63)?this[_0x20c573(0x131)]!==_0xfbc782?this[_0x20c573(0xc4)]([this[_0x20c573(0xcf)],_0x298c63,this['_compress'],_0x194fc2,_0x249d61]):this[_0x20c573(0xcf)](_0x298c63,this['_compress'],_0x194fc2,_0x249d61):this[_0x20c573(0x131)]!==_0xfbc782?this[_0x20c573(0xc4)]([this[_0x20c573(0x22a)],_0x298c63,this['_compress'],_0x194fc2,_0x249d61]):this[_0x20c573(0x22a)](_0x298c63,this[_0x20c573(0xf6)],_0x194fc2,_0x249d61);}['getBlobData'](_0x33d182,_0x4101d9,_0x5134ae,_0x404d2f){const _0x494a1f=_0x2a3564;this[_0x494a1f(0x105)]+=_0x5134ae[_0x5d4b3a],this[_0x494a1f(0x131)]=_0x33bbfd,_0x33d182[_0x494a1f(0xdb)]()[_0x494a1f(0xa6)](_0x13f4c8=>{const _0x595848=_0x494a1f;if(this['_socket']['destroyed']){const _0x3b5bdd=new Error(_0x595848(0x150));process['nextTick'](_0x1e9a24,this,_0x3b5bdd,_0x404d2f);return;}this[_0x595848(0x105)]-=_0x5134ae[_0x5d4b3a];const _0x34e14c=_0xbbb830(_0x13f4c8);_0x4101d9?this[_0x595848(0x22a)](_0x34e14c,_0x4101d9,_0x5134ae,_0x404d2f):(this[_0x595848(0x131)]=_0xfbc782,this[_0x595848(0x7a)](_0x48426b['frame'](_0x34e14c,_0x5134ae),_0x404d2f),this['dequeue']());})[_0x494a1f(0x1b0)](_0x64b51=>{process['nextTick'](_0x1ed8b0,this,_0x64b51,_0x404d2f);});}[_0x2a3564(0x22a)](_0x10ae53,_0x2ac7fe,_0x228a6c,_0x370c09){const _0x346404=_0x2a3564;if(!_0x2ac7fe){this[_0x346404(0x7a)](_0x48426b[_0x346404(0xb3)](_0x10ae53,_0x228a6c),_0x370c09);return;}const _0x418738=this[_0x346404(0xec)][_0x20051f[_0x346404(0x1cf)]];this['_bufferedBytes']+=_0x228a6c[_0x5d4b3a],this['_state']=_0x4017a7,_0x418738[_0x346404(0x174)](_0x10ae53,_0x228a6c[_0x346404(0x81)],(_0x14ca83,_0x537c07)=>{const _0x482508=_0x346404;if(this[_0x482508(0x1c0)]['destroyed']){const _0x358bf7=new Error(_0x482508(0xf1));_0x1e9a24(this,_0x358bf7,_0x370c09);return;}this[_0x482508(0x105)]-=_0x228a6c[_0x5d4b3a],this['_state']=_0xfbc782,_0x228a6c[_0x482508(0xc6)]=!0x1,this[_0x482508(0x7a)](_0x48426b[_0x482508(0xb3)](_0x537c07,_0x228a6c),_0x370c09),this[_0x482508(0x117)]();});}[_0x2a3564(0x117)](){const _0x2fff73=_0x2a3564;for(;this[_0x2fff73(0x131)]===_0xfbc782&&this[_0x2fff73(0xdf)]['length'];){const _0x204391=this[_0x2fff73(0xdf)][_0x2fff73(0x1fb)]();this[_0x2fff73(0x105)]-=_0x204391[0x3][_0x5d4b3a],Reflect[_0x2fff73(0x1ba)](_0x204391[0x0],this,_0x204391['slice'](0x1));}}['enqueue'](_0x1c8a31){const _0x554e18=_0x2a3564;this[_0x554e18(0x105)]+=_0x1c8a31[0x3][_0x5d4b3a],this['_queue'][_0x554e18(0x1ee)](_0x1c8a31);}[_0x2a3564(0x7a)](_0x467fc0,_0x1d0a7b){const _0x22f065=_0x2a3564;_0x467fc0[_0x22f065(0x78)]===0x2?(this[_0x22f065(0x1c0)][_0x22f065(0x17f)](),this[_0x22f065(0x1c0)][_0x22f065(0x1f2)](_0x467fc0[0x0]),this[_0x22f065(0x1c0)][_0x22f065(0x1f2)](_0x467fc0[0x1],_0x1d0a7b),this['_socket'][_0x22f065(0x7f)]()):this[_0x22f065(0x1c0)][_0x22f065(0x1f2)](_0x467fc0[0x0],_0x1d0a7b);}}Ee=_0x48426b;function _0x1e9a24(_0x5cf7bc,_0x4fba0f,_0x169322){const _0x19cb2b=_0x2a3564;typeof _0x169322==_0x19cb2b(0x169)&&_0x169322(_0x4fba0f);for(let _0x28307c=0x0;_0x28307c<_0x5cf7bc[_0x19cb2b(0xdf)][_0x19cb2b(0x78)];_0x28307c++){const _0x65f430=_0x5cf7bc['_queue'][_0x28307c],_0x1081de=_0x65f430[_0x65f430[_0x19cb2b(0x78)]-0x1];typeof _0x1081de==_0x19cb2b(0x169)&&_0x1081de(_0x4fba0f);}}function _0x1ed8b0(_0x2ae4eb,_0x23dc14,_0xdf00ee){const _0xf83e04=_0x2a3564;_0x1e9a24(_0x2ae4eb,_0x23dc14,_0xdf00ee),_0x2ae4eb[_0xf83e04(0x19c)](_0x23dc14);}return Ee;}var xe,Ze;function It(){const _0x11a3dc=_0x45812b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3be0e2,kListener:_0x30ff63}=H(),_0x3c7180=Symbol('kCode'),_0xf7b240=Symbol(_0x11a3dc(0x1b3)),_0x4c8bee=Symbol(_0x11a3dc(0x8e)),_0x517b9a=Symbol(_0x11a3dc(0x1b6)),_0x79db53=Symbol(_0x11a3dc(0x15e)),_0x302870=Symbol(_0x11a3dc(0x10e)),_0x129896=Symbol(_0x11a3dc(0x168)),_0x2bf018=Symbol(_0x11a3dc(0x77));class _0x239a48{constructor(_0x42f581){this[_0x302870]=null,this[_0x129896]=_0x42f581;}get[_0x11a3dc(0x219)](){return this[_0x302870];}get[_0x11a3dc(0x7e)](){return this[_0x129896];}}Object[_0x11a3dc(0xa3)](_0x239a48[_0x11a3dc(0xce)],_0x11a3dc(0x219),{'enumerable':!0x0}),Object[_0x11a3dc(0xa3)](_0x239a48[_0x11a3dc(0xce)],_0x11a3dc(0x7e),{'enumerable':!0x0});class _0x56b21b extends _0x239a48{constructor(_0x58ceec,_0x57affd={}){const _0x18c129=_0x11a3dc;super(_0x58ceec),this[_0x3c7180]=_0x57affd[_0x18c129(0x1f9)]===void 0x0?0x0:_0x57affd[_0x18c129(0x1f9)],this[_0x79db53]=_0x57affd[_0x18c129(0x1b9)]===void 0x0?'':_0x57affd['reason'],this[_0x2bf018]=_0x57affd[_0x18c129(0x18f)]===void 0x0?!0x1:_0x57affd['wasClean'];}get[_0x11a3dc(0x1f9)](){return this[_0x3c7180];}get[_0x11a3dc(0x1b9)](){return this[_0x79db53];}get['wasClean'](){return this[_0x2bf018];}}Object[_0x11a3dc(0xa3)](_0x56b21b[_0x11a3dc(0xce)],_0x11a3dc(0x1f9),{'enumerable':!0x0}),Object['defineProperty'](_0x56b21b['prototype'],_0x11a3dc(0x1b9),{'enumerable':!0x0}),Object[_0x11a3dc(0xa3)](_0x56b21b[_0x11a3dc(0xce)],_0x11a3dc(0x18f),{'enumerable':!0x0});class _0x5202ac extends _0x239a48{constructor(_0x2c6af0,_0x11ac3f={}){const _0x43f5ed=_0x11a3dc;super(_0x2c6af0),this[_0x4c8bee]=_0x11ac3f[_0x43f5ed(0x22b)]===void 0x0?null:_0x11ac3f[_0x43f5ed(0x22b)],this[_0x517b9a]=_0x11ac3f[_0x43f5ed(0x20c)]===void 0x0?'':_0x11ac3f[_0x43f5ed(0x20c)];}get[_0x11a3dc(0x22b)](){return this[_0x4c8bee];}get['message'](){return this[_0x517b9a];}}Object[_0x11a3dc(0xa3)](_0x5202ac[_0x11a3dc(0xce)],_0x11a3dc(0x22b),{'enumerable':!0x0}),Object['defineProperty'](_0x5202ac[_0x11a3dc(0xce)],'message',{'enumerable':!0x0});class _0x53a846 extends _0x239a48{constructor(_0x97e4d7,_0x2448b7={}){const _0x445596=_0x11a3dc;super(_0x97e4d7),this[_0xf7b240]=_0x2448b7[_0x445596(0x1ac)]===void 0x0?null:_0x2448b7[_0x445596(0x1ac)];}get['data'](){return this[_0xf7b240];}}Object[_0x11a3dc(0xa3)](_0x53a846[_0x11a3dc(0xce)],_0x11a3dc(0x1ac),{'enumerable':!0x0}),xe={'CloseEvent':_0x56b21b,'ErrorEvent':_0x5202ac,'Event':_0x239a48,'EventTarget':{'addEventListener'(_0x2dfe78,_0x32733c,_0x9c05ce={}){const _0x1e9422=_0x11a3dc;for(const _0x3d8053 of this[_0x1e9422(0x1ce)](_0x2dfe78))if(!_0x9c05ce[_0x3be0e2]&&_0x3d8053[_0x30ff63]===_0x32733c&&!_0x3d8053[_0x3be0e2])return;let _0x179ebf;if(_0x2dfe78===_0x1e9422(0x20c))_0x179ebf=function(_0x37d861,_0x40033e){const _0x33efab=_0x1e9422,_0x442de2=new _0x53a846(_0x33efab(0x20c),{'data':_0x40033e?_0x37d861:_0x37d861[_0x33efab(0xed)]()});_0x442de2[_0x302870]=this,_0x55d82f(_0x32733c,this,_0x442de2);};else{if(_0x2dfe78===_0x1e9422(0x1b1))_0x179ebf=function(_0x58f2df,_0x166a55){const _0x42080f=_0x1e9422,_0xaf2a3b=new _0x56b21b(_0x42080f(0x1b1),{'code':_0x58f2df,'reason':_0x166a55[_0x42080f(0xed)](),'wasClean':this[_0x42080f(0x225)]&&this[_0x42080f(0xe8)]});_0xaf2a3b[_0x302870]=this,_0x55d82f(_0x32733c,this,_0xaf2a3b);};else{if(_0x2dfe78===_0x1e9422(0x22b))_0x179ebf=function(_0x19dfaf){const _0x1705e5=_0x1e9422,_0x478d13=new _0x5202ac(_0x1705e5(0x22b),{'error':_0x19dfaf,'message':_0x19dfaf[_0x1705e5(0x20c)]});_0x478d13[_0x302870]=this,_0x55d82f(_0x32733c,this,_0x478d13);};else{if(_0x2dfe78===_0x1e9422(0xcc))_0x179ebf=function(){const _0x295573=_0x1e9422,_0x4bfda4=new _0x239a48(_0x295573(0xcc));_0x4bfda4[_0x302870]=this,_0x55d82f(_0x32733c,this,_0x4bfda4);};else return;}}}_0x179ebf[_0x3be0e2]=!!_0x9c05ce[_0x3be0e2],_0x179ebf[_0x30ff63]=_0x32733c,_0x9c05ce[_0x1e9422(0x16d)]?this['once'](_0x2dfe78,_0x179ebf):this['on'](_0x2dfe78,_0x179ebf);},'removeEventListener'(_0x75b052,_0x535a1c){const _0x16f35e=_0x11a3dc;for(const _0x103204 of this[_0x16f35e(0x1ce)](_0x75b052))if(_0x103204[_0x30ff63]===_0x535a1c&&!_0x103204[_0x3be0e2]){this['removeListener'](_0x75b052,_0x103204);break;}}},'MessageEvent':_0x53a846};function _0x55d82f(_0x25725d,_0x17aba5,_0x5a2e85){const _0x280718=_0x11a3dc;typeof _0x25725d=='object'&&_0x25725d[_0x280718(0x133)]?_0x25725d['handleEvent'][_0x280718(0x1b7)](_0x25725d,_0x5a2e85):_0x25725d['call'](_0x17aba5,_0x5a2e85);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1ccabe}=ae();function _0x515bd6(_0x36370d,_0x31c443,_0x3be0a6){const _0x4fc40d=_0x4b89;_0x36370d[_0x31c443]===void 0x0?_0x36370d[_0x31c443]=[_0x3be0a6]:_0x36370d[_0x31c443][_0x4fc40d(0x1ee)](_0x3be0a6);}function _0x3041e3(_0x2da2a7){const _0x4509c7=_0x4b89,_0x5b29c4=Object['create'](null);let _0x3078b8=Object[_0x4509c7(0x148)](null),_0x4209d2=!0x1,_0x4461c7=!0x1,_0x580c4b=!0x1,_0x420e99,_0x543755,_0x6abf49=-0x1,_0x1ec107=-0x1,_0x1a07a6=-0x1,_0x76d5a4=0x0;for(;_0x76d5a4<_0x2da2a7['length'];_0x76d5a4++)if(_0x1ec107=_0x2da2a7[_0x4509c7(0x1f0)](_0x76d5a4),_0x420e99===void 0x0){if(_0x1a07a6===-0x1&&_0x1ccabe[_0x1ec107]===0x1)_0x6abf49===-0x1&&(_0x6abf49=_0x76d5a4);else{if(_0x76d5a4!==0x0&&(_0x1ec107===0x20||_0x1ec107===0x9))_0x1a07a6===-0x1&&_0x6abf49!==-0x1&&(_0x1a07a6=_0x76d5a4);else{if(_0x1ec107===0x3b||_0x1ec107===0x2c){if(_0x6abf49===-0x1)throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);_0x1a07a6===-0x1&&(_0x1a07a6=_0x76d5a4);const _0x45091c=_0x2da2a7[_0x4509c7(0x1a5)](_0x6abf49,_0x1a07a6);_0x1ec107===0x2c?(_0x515bd6(_0x5b29c4,_0x45091c,_0x3078b8),_0x3078b8=Object[_0x4509c7(0x148)](null)):_0x420e99=_0x45091c,_0x6abf49=_0x1a07a6=-0x1;}else throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);}}}else{if(_0x543755===void 0x0){if(_0x1a07a6===-0x1&&_0x1ccabe[_0x1ec107]===0x1)_0x6abf49===-0x1&&(_0x6abf49=_0x76d5a4);else{if(_0x1ec107===0x20||_0x1ec107===0x9)_0x1a07a6===-0x1&&_0x6abf49!==-0x1&&(_0x1a07a6=_0x76d5a4);else{if(_0x1ec107===0x3b||_0x1ec107===0x2c){if(_0x6abf49===-0x1)throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);_0x1a07a6===-0x1&&(_0x1a07a6=_0x76d5a4),_0x515bd6(_0x3078b8,_0x2da2a7[_0x4509c7(0x1a5)](_0x6abf49,_0x1a07a6),!0x0),_0x1ec107===0x2c&&(_0x515bd6(_0x5b29c4,_0x420e99,_0x3078b8),_0x3078b8=Object[_0x4509c7(0x148)](null),_0x420e99=void 0x0),_0x6abf49=_0x1a07a6=-0x1;}else{if(_0x1ec107===0x3d&&_0x6abf49!==-0x1&&_0x1a07a6===-0x1)_0x543755=_0x2da2a7[_0x4509c7(0x1a5)](_0x6abf49,_0x76d5a4),_0x6abf49=_0x1a07a6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x76d5a4);}}}}else{if(_0x4461c7){if(_0x1ccabe[_0x1ec107]!==0x1)throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);_0x6abf49===-0x1?_0x6abf49=_0x76d5a4:_0x4209d2||(_0x4209d2=!0x0),_0x4461c7=!0x1;}else{if(_0x580c4b){if(_0x1ccabe[_0x1ec107]===0x1)_0x6abf49===-0x1&&(_0x6abf49=_0x76d5a4);else{if(_0x1ec107===0x22&&_0x6abf49!==-0x1)_0x580c4b=!0x1,_0x1a07a6=_0x76d5a4;else{if(_0x1ec107===0x5c)_0x4461c7=!0x0;else throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);}}}else{if(_0x1ec107===0x22&&_0x2da2a7[_0x4509c7(0x1f0)](_0x76d5a4-0x1)===0x3d)_0x580c4b=!0x0;else{if(_0x1a07a6===-0x1&&_0x1ccabe[_0x1ec107]===0x1)_0x6abf49===-0x1&&(_0x6abf49=_0x76d5a4);else{if(_0x6abf49!==-0x1&&(_0x1ec107===0x20||_0x1ec107===0x9))_0x1a07a6===-0x1&&(_0x1a07a6=_0x76d5a4);else{if(_0x1ec107===0x3b||_0x1ec107===0x2c){if(_0x6abf49===-0x1)throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);_0x1a07a6===-0x1&&(_0x1a07a6=_0x76d5a4);let _0x49888a=_0x2da2a7[_0x4509c7(0x1a5)](_0x6abf49,_0x1a07a6);_0x4209d2&&(_0x49888a=_0x49888a[_0x4509c7(0x9f)](/\\/g,''),_0x4209d2=!0x1),_0x515bd6(_0x3078b8,_0x543755,_0x49888a),_0x1ec107===0x2c&&(_0x515bd6(_0x5b29c4,_0x420e99,_0x3078b8),_0x3078b8=Object[_0x4509c7(0x148)](null),_0x420e99=void 0x0),_0x543755=void 0x0,_0x6abf49=_0x1a07a6=-0x1;}else throw new SyntaxError(_0x4509c7(0xd2)+_0x76d5a4);}}}}}}}if(_0x6abf49===-0x1||_0x580c4b||_0x1ec107===0x20||_0x1ec107===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x1a07a6===-0x1&&(_0x1a07a6=_0x76d5a4);const _0x5684e3=_0x2da2a7[_0x4509c7(0x1a5)](_0x6abf49,_0x1a07a6);return _0x420e99===void 0x0?_0x515bd6(_0x5b29c4,_0x5684e3,_0x3078b8):(_0x543755===void 0x0?_0x515bd6(_0x3078b8,_0x5684e3,!0x0):_0x4209d2?_0x515bd6(_0x3078b8,_0x543755,_0x5684e3[_0x4509c7(0x9f)](/\\/g,'')):_0x515bd6(_0x3078b8,_0x543755,_0x5684e3),_0x515bd6(_0x5b29c4,_0x420e99,_0x3078b8)),_0x5b29c4;}function _0x50102f(_0x59a3a2){const _0x164edb=_0x4b89;return Object['keys'](_0x59a3a2)[_0x164edb(0x1da)](_0x4ace72=>{const _0xf354b6=_0x164edb;let _0x567be4=_0x59a3a2[_0x4ace72];return Array[_0xf354b6(0x90)](_0x567be4)||(_0x567be4=[_0x567be4]),_0x567be4[_0xf354b6(0x1da)](_0x1ed643=>[_0x4ace72][_0xf354b6(0x14e)](Object['keys'](_0x1ed643)[_0xf354b6(0x1da)](_0x56e7c7=>{const _0x3269b1=_0xf354b6;let _0x1b0dd4=_0x1ed643[_0x56e7c7];return Array[_0x3269b1(0x90)](_0x1b0dd4)||(_0x1b0dd4=[_0x1b0dd4]),_0x1b0dd4[_0x3269b1(0x1da)](_0x2b1fa8=>_0x2b1fa8===!0x0?_0x56e7c7:_0x56e7c7+'='+_0x2b1fa8)[_0x3269b1(0xbf)](';\x20');}))[_0xf354b6(0xbf)](';\x20'))['join'](',\x20');})[_0x164edb(0xbf)](',\x20');}return be={'format':_0x50102f,'parse':_0x3041e3},be;}var we,Je;function Pe(){const _0x1cd43c=_0x45812b;if(Je)return we;Je=0x1;const _0x320985=nt,_0x1635d2=vt,_0x116308=ot,_0x1cbdcf=St,_0x364f7b=Et,{randomBytes:_0x5392bf,createHash:_0x11f539}=Le,{Duplex:_0x1b2e6c,Readable:_0x414a98}=oe,{URL:_0x419e19}=xt,_0x2d8c26=he(),_0x168601=lt(),_0x60d24c=ft(),{isBlob:_0x7a1f1f}=ae(),{BINARY_TYPES:_0xf69a2c,EMPTY_BUFFER:_0x49d5c6,GUID:_0x1d2997,kForOnEventAttribute:_0x17a056,kListener:_0x53d6b4,kStatusCode:_0xe1032e,kWebSocket:_0x102f69,NOOP:_0x165355}=H(),{EventTarget:{addEventListener:_0x153aab,removeEventListener:_0x71d283}}=It(),{format:_0x17f35c,parse:_0x323923}=ct(),{toBuffer:_0xcf74b1}=ce(),_0x40e85d=0x1e*0x3e8,_0x4c341e=Symbol(_0x1cd43c(0x1a2)),_0x421ce8=[0x8,0xd],_0xcac55f=[_0x1cd43c(0x170),_0x1cd43c(0x108),_0x1cd43c(0x202),_0x1cd43c(0x89)],_0x4617c6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xc1d43e extends _0x320985{constructor(_0x477c45,_0x180f0c,_0x8a1d60){const _0x34c9c4=_0x1cd43c;super(),this[_0x34c9c4(0xe7)]=_0xf69a2c[0x0],this[_0x34c9c4(0xe1)]=0x3ee,this[_0x34c9c4(0x225)]=!0x1,this[_0x34c9c4(0xe8)]=!0x1,this['_closeMessage']=_0x49d5c6,this[_0x34c9c4(0x16a)]=null,this[_0x34c9c4(0x12f)]=!0x1,this[_0x34c9c4(0xec)]={},this[_0x34c9c4(0x1b5)]=!0x1,this[_0x34c9c4(0x10b)]='',this[_0x34c9c4(0x183)]=_0xc1d43e[_0x34c9c4(0x170)],this['_receiver']=null,this['_sender']=null,this[_0x34c9c4(0x1c0)]=null,_0x477c45!==null?(this[_0x34c9c4(0x19b)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x180f0c===void 0x0?_0x180f0c=[]:Array[_0x34c9c4(0x90)](_0x180f0c)||(typeof _0x180f0c==_0x34c9c4(0xef)&&_0x180f0c!==null?(_0x8a1d60=_0x180f0c,_0x180f0c=[]):_0x180f0c=[_0x180f0c]),_0x27493a(this,_0x477c45,_0x180f0c,_0x8a1d60)):(this[_0x34c9c4(0x13c)]=_0x8a1d60['autoPong'],this['_isServer']=!0x0);}get[_0x1cd43c(0x10c)](){const _0x4aa2b2=_0x1cd43c;return this[_0x4aa2b2(0xe7)];}set[_0x1cd43c(0x10c)](_0x286d01){const _0x1b1c70=_0x1cd43c;_0xf69a2c[_0x1b1c70(0x17a)](_0x286d01)&&(this[_0x1b1c70(0xe7)]=_0x286d01,this[_0x1b1c70(0x6d)]&&(this[_0x1b1c70(0x6d)]['_binaryType']=_0x286d01));}get[_0x1cd43c(0x7d)](){const _0x1ed0b5=_0x1cd43c;return this[_0x1ed0b5(0x1c0)]?this[_0x1ed0b5(0x1c0)][_0x1ed0b5(0x16c)][_0x1ed0b5(0x78)]+this['_sender'][_0x1ed0b5(0x105)]:this[_0x1ed0b5(0x19b)];}get[_0x1cd43c(0x107)](){const _0x210cbf=_0x1cd43c;return Object[_0x210cbf(0x134)](this['_extensions'])[_0x210cbf(0xbf)]();}get[_0x1cd43c(0x72)](){const _0x34d511=_0x1cd43c;return this[_0x34d511(0x1b5)];}get[_0x1cd43c(0x18c)](){return null;}get[_0x1cd43c(0x19c)](){return null;}get['onopen'](){return null;}get[_0x1cd43c(0x189)](){return null;}get[_0x1cd43c(0x224)](){const _0x5eddd4=_0x1cd43c;return this[_0x5eddd4(0x10b)];}get[_0x1cd43c(0xff)](){const _0x4502d9=_0x1cd43c;return this[_0x4502d9(0x183)];}get['url'](){return this['_url'];}['setSocket'](_0x1688e8,_0x3b4376,_0xc7c093){const _0xa4415c=_0x1cd43c,_0x535741=new _0x168601({'allowSynchronousEvents':_0xc7c093[_0xa4415c(0x67)],'binaryType':this[_0xa4415c(0x10c)],'extensions':this[_0xa4415c(0xec)],'isServer':this['_isServer'],'maxPayload':_0xc7c093[_0xa4415c(0x17d)],'skipUTF8Validation':_0xc7c093['skipUTF8Validation']}),_0x32d3b6=new _0x60d24c(_0x1688e8,this['_extensions'],_0xc7c093[_0xa4415c(0x132)]);this[_0xa4415c(0x6d)]=_0x535741,this[_0xa4415c(0x201)]=_0x32d3b6,this[_0xa4415c(0x1c0)]=_0x1688e8,_0x535741[_0x102f69]=this,_0x32d3b6[_0x102f69]=this,_0x1688e8[_0x102f69]=this,_0x535741['on'](_0xa4415c(0x1ad),_0x290f9a),_0x535741['on'](_0xa4415c(0xcd),_0x1de1c4),_0x535741['on'](_0xa4415c(0x22b),_0x3c1530),_0x535741['on'](_0xa4415c(0x20c),_0x1a08a8),_0x535741['on'](_0xa4415c(0x172),_0x323735),_0x535741['on'](_0xa4415c(0x13f),_0x3546e2),_0x32d3b6[_0xa4415c(0x19c)]=_0x1870ca,_0x1688e8[_0xa4415c(0x1fa)]&&_0x1688e8['setTimeout'](0x0),_0x1688e8[_0xa4415c(0xa7)]&&_0x1688e8[_0xa4415c(0xa7)](),_0x3b4376['length']>0x0&&_0x1688e8[_0xa4415c(0xb1)](_0x3b4376),_0x1688e8['on'](_0xa4415c(0x1b1),_0x19848a),_0x1688e8['on'](_0xa4415c(0x1ac),_0x5417cc),_0x1688e8['on']('end',_0x15983a),_0x1688e8['on'](_0xa4415c(0x22b),_0x148498),this[_0xa4415c(0x183)]=_0xc1d43e[_0xa4415c(0x108)],this[_0xa4415c(0x16b)](_0xa4415c(0xcc));}['emitClose'](){const _0x561187=_0x1cd43c;if(!this[_0x561187(0x1c0)]){this[_0x561187(0x183)]=_0xc1d43e[_0x561187(0x89)],this[_0x561187(0x16b)](_0x561187(0x1b1),this[_0x561187(0xe1)],this[_0x561187(0x198)]);return;}this[_0x561187(0xec)][_0x2d8c26[_0x561187(0x1cf)]]&&this[_0x561187(0xec)][_0x2d8c26[_0x561187(0x1cf)]][_0x561187(0x188)](),this['_receiver'][_0x561187(0x8a)](),this['_readyState']=_0xc1d43e[_0x561187(0x89)],this['emit'](_0x561187(0x1b1),this[_0x561187(0xe1)],this[_0x561187(0x198)]);}['close'](_0x21aab7,_0x369bf0){const _0x539f63=_0x1cd43c;if(this[_0x539f63(0xff)]!==_0xc1d43e['CLOSED']){if(this['readyState']===_0xc1d43e[_0x539f63(0x170)]){_0x33d83d(this,this[_0x539f63(0x176)],_0x539f63(0x1f5));return;}if(this['readyState']===_0xc1d43e[_0x539f63(0x202)]){this[_0x539f63(0xe8)]&&(this[_0x539f63(0x225)]||this[_0x539f63(0x6d)][_0x539f63(0x16c)][_0x539f63(0x14d)])&&this['_socket'][_0x539f63(0x1ae)]();return;}this[_0x539f63(0x183)]=_0xc1d43e['CLOSING'],this[_0x539f63(0x201)][_0x539f63(0x1b1)](_0x21aab7,_0x369bf0,!this[_0x539f63(0xa8)],_0x474bdc=>{const _0x3b627f=_0x539f63;_0x474bdc||(this[_0x3b627f(0xe8)]=!0x0,(this['_closeFrameReceived']||this[_0x3b627f(0x6d)][_0x3b627f(0x16c)][_0x3b627f(0x14d)])&&this[_0x3b627f(0x1c0)][_0x3b627f(0x1ae)]());}),_0x2fd05b(this);}}[_0x1cd43c(0xd4)](){const _0x4d0f97=_0x1cd43c;this[_0x4d0f97(0xff)]===_0xc1d43e['CONNECTING']||this[_0x4d0f97(0xff)]===_0xc1d43e[_0x4d0f97(0x89)]||(this[_0x4d0f97(0x1b5)]=!0x0,this[_0x4d0f97(0x1c0)]['pause']());}['ping'](_0x5c94c0,_0x1b999f,_0xc158f5){const _0x4e9f88=_0x1cd43c;if(this[_0x4e9f88(0xff)]===_0xc1d43e[_0x4e9f88(0x170)])throw new Error(_0x4e9f88(0x177));if(typeof _0x5c94c0==_0x4e9f88(0x169)?(_0xc158f5=_0x5c94c0,_0x5c94c0=_0x1b999f=void 0x0):typeof _0x1b999f==_0x4e9f88(0x169)&&(_0xc158f5=_0x1b999f,_0x1b999f=void 0x0),typeof _0x5c94c0==_0x4e9f88(0x157)&&(_0x5c94c0=_0x5c94c0[_0x4e9f88(0xed)]()),this[_0x4e9f88(0xff)]!==_0xc1d43e['OPEN']){_0x5423ca(this,_0x5c94c0,_0xc158f5);return;}_0x1b999f===void 0x0&&(_0x1b999f=!this[_0x4e9f88(0xa8)]),this[_0x4e9f88(0x201)][_0x4e9f88(0x172)](_0x5c94c0||_0x49d5c6,_0x1b999f,_0xc158f5);}['pong'](_0x5ad01a,_0x198fda,_0x11de8a){const _0x4bead7=_0x1cd43c;if(this[_0x4bead7(0xff)]===_0xc1d43e[_0x4bead7(0x170)])throw new Error(_0x4bead7(0x177));if(typeof _0x5ad01a==_0x4bead7(0x169)?(_0x11de8a=_0x5ad01a,_0x5ad01a=_0x198fda=void 0x0):typeof _0x198fda=='function'&&(_0x11de8a=_0x198fda,_0x198fda=void 0x0),typeof _0x5ad01a==_0x4bead7(0x157)&&(_0x5ad01a=_0x5ad01a[_0x4bead7(0xed)]()),this[_0x4bead7(0xff)]!==_0xc1d43e['OPEN']){_0x5423ca(this,_0x5ad01a,_0x11de8a);return;}_0x198fda===void 0x0&&(_0x198fda=!this[_0x4bead7(0xa8)]),this[_0x4bead7(0x201)][_0x4bead7(0x13f)](_0x5ad01a||_0x49d5c6,_0x198fda,_0x11de8a);}['resume'](){const _0x5d4e07=_0x1cd43c;this['readyState']===_0xc1d43e['CONNECTING']||this[_0x5d4e07(0xff)]===_0xc1d43e[_0x5d4e07(0x89)]||(this[_0x5d4e07(0x1b5)]=!0x1,this[_0x5d4e07(0x6d)][_0x5d4e07(0x16c)]['needDrain']||this[_0x5d4e07(0x1c0)][_0x5d4e07(0xb4)]());}[_0x1cd43c(0xa0)](_0x2dbe91,_0xe3ecc7,_0x340c03){const _0x3b2002=_0x1cd43c;if(this['readyState']===_0xc1d43e['CONNECTING'])throw new Error(_0x3b2002(0x177));if(typeof _0xe3ecc7==_0x3b2002(0x169)&&(_0x340c03=_0xe3ecc7,_0xe3ecc7={}),typeof _0x2dbe91==_0x3b2002(0x157)&&(_0x2dbe91=_0x2dbe91[_0x3b2002(0xed)]()),this['readyState']!==_0xc1d43e['OPEN']){_0x5423ca(this,_0x2dbe91,_0x340c03);return;}const _0x38138e={'binary':typeof _0x2dbe91!=_0x3b2002(0x1f4),'mask':!this[_0x3b2002(0xa8)],'compress':!0x0,'fin':!0x0,..._0xe3ecc7};this[_0x3b2002(0xec)][_0x2d8c26[_0x3b2002(0x1cf)]]||(_0x38138e['compress']=!0x1),this[_0x3b2002(0x201)][_0x3b2002(0xa0)](_0x2dbe91||_0x49d5c6,_0x38138e,_0x340c03);}[_0x1cd43c(0x204)](){const _0x26a99f=_0x1cd43c;if(this[_0x26a99f(0xff)]!==_0xc1d43e[_0x26a99f(0x89)]){if(this[_0x26a99f(0xff)]===_0xc1d43e['CONNECTING']){_0x33d83d(this,this[_0x26a99f(0x176)],_0x26a99f(0x1f5));return;}this['_socket']&&(this[_0x26a99f(0x183)]=_0xc1d43e[_0x26a99f(0x202)],this[_0x26a99f(0x1c0)][_0x26a99f(0x7c)]());}}}Object[_0x1cd43c(0xa3)](_0xc1d43e,_0x1cd43c(0x170),{'enumerable':!0x0,'value':_0xcac55f[_0x1cd43c(0x1bd)](_0x1cd43c(0x170))}),Object[_0x1cd43c(0xa3)](_0xc1d43e[_0x1cd43c(0xce)],_0x1cd43c(0x170),{'enumerable':!0x0,'value':_0xcac55f['indexOf'](_0x1cd43c(0x170))}),Object['defineProperty'](_0xc1d43e,_0x1cd43c(0x108),{'enumerable':!0x0,'value':_0xcac55f['indexOf']('OPEN')}),Object['defineProperty'](_0xc1d43e[_0x1cd43c(0xce)],_0x1cd43c(0x108),{'enumerable':!0x0,'value':_0xcac55f[_0x1cd43c(0x1bd)](_0x1cd43c(0x108))}),Object[_0x1cd43c(0xa3)](_0xc1d43e,_0x1cd43c(0x202),{'enumerable':!0x0,'value':_0xcac55f[_0x1cd43c(0x1bd)](_0x1cd43c(0x202))}),Object[_0x1cd43c(0xa3)](_0xc1d43e['prototype'],_0x1cd43c(0x202),{'enumerable':!0x0,'value':_0xcac55f[_0x1cd43c(0x1bd)](_0x1cd43c(0x202))}),Object['defineProperty'](_0xc1d43e,'CLOSED',{'enumerable':!0x0,'value':_0xcac55f['indexOf'](_0x1cd43c(0x89))}),Object['defineProperty'](_0xc1d43e[_0x1cd43c(0xce)],_0x1cd43c(0x89),{'enumerable':!0x0,'value':_0xcac55f[_0x1cd43c(0x1bd)](_0x1cd43c(0x89))}),[_0x1cd43c(0x10c),_0x1cd43c(0x7d),_0x1cd43c(0x107),_0x1cd43c(0x72),_0x1cd43c(0x224),'readyState',_0x1cd43c(0x199)][_0x1cd43c(0x220)](_0x1cdefb=>{const _0x94ac34=_0x1cd43c;Object[_0x94ac34(0xa3)](_0xc1d43e[_0x94ac34(0xce)],_0x1cdefb,{'enumerable':!0x0});}),[_0x1cd43c(0xcc),_0x1cd43c(0x22b),_0x1cd43c(0x1b1),_0x1cd43c(0x20c)][_0x1cd43c(0x220)](_0x3695d8=>{const _0x1c4d1a=_0x1cd43c;Object[_0x1c4d1a(0xa3)](_0xc1d43e[_0x1c4d1a(0xce)],'on'+_0x3695d8,{'enumerable':!0x0,'get'(){for(const _0x629bed of this['listeners'](_0x3695d8))if(_0x629bed[_0x17a056])return _0x629bed[_0x53d6b4];return null;},'set'(_0x51efd3){const _0x297fc0=_0x1c4d1a;for(const _0x982d of this[_0x297fc0(0x1ce)](_0x3695d8))if(_0x982d[_0x17a056]){this[_0x297fc0(0xd5)](_0x3695d8,_0x982d);break;}typeof _0x51efd3==_0x297fc0(0x169)&&this[_0x297fc0(0x147)](_0x3695d8,_0x51efd3,{[_0x17a056]:!0x0});}});}),_0xc1d43e[_0x1cd43c(0xce)][_0x1cd43c(0x147)]=_0x153aab,_0xc1d43e[_0x1cd43c(0xce)][_0x1cd43c(0xbd)]=_0x71d283,we=_0xc1d43e;function _0x27493a(_0x49e63f,_0x597060,_0x36d430,_0x58af41){const _0xa606a2=_0x1cd43c,_0x3e6a97={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x421ce8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x58af41,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xa606a2(0x196),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x49e63f[_0xa606a2(0x13c)]=_0x3e6a97[_0xa606a2(0x20e)],!_0x421ce8['includes'](_0x3e6a97[_0xa606a2(0x9d)]))throw new RangeError(_0xa606a2(0xf7)+_0x3e6a97['protocolVersion']+_0xa606a2(0x20b)+_0x421ce8['join'](',\x20')+')');let _0x2f9348;if(_0x597060 instanceof _0x419e19)_0x2f9348=_0x597060;else try{_0x2f9348=new _0x419e19(_0x597060);}catch{throw new SyntaxError(_0xa606a2(0x69)+_0x597060);}_0x2f9348[_0xa606a2(0x224)]===_0xa606a2(0x1e8)?_0x2f9348[_0xa606a2(0x224)]=_0xa606a2(0x1c8):_0x2f9348[_0xa606a2(0x224)]===_0xa606a2(0x143)&&(_0x2f9348['protocol']='wss:'),_0x49e63f[_0xa606a2(0x18a)]=_0x2f9348[_0xa606a2(0x1bb)];const _0x3dfa59=_0x2f9348[_0xa606a2(0x224)]===_0xa606a2(0x15d),_0x5b4dfe=_0x2f9348[_0xa606a2(0x224)]===_0xa606a2(0xf0);let _0x2a31ce;if(_0x2f9348[_0xa606a2(0x224)]!==_0xa606a2(0x1c8)&&!_0x3dfa59&&!_0x5b4dfe?_0x2a31ce='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':_0x5b4dfe&&!_0x2f9348[_0xa606a2(0x8c)]?_0x2a31ce=_0xa606a2(0x145):_0x2f9348[_0xa606a2(0x1a3)]&&(_0x2a31ce=_0xa606a2(0x160)),_0x2a31ce){const _0x261026=new SyntaxError(_0x2a31ce);if(_0x49e63f['_redirects']===0x0)throw _0x261026;_0x99c3b9(_0x49e63f,_0x261026);return;}const _0x493df6=_0x3dfa59?0x1bb:0x50,_0xb93e5e=_0x5392bf(0x10)['toString'](_0xa606a2(0x114)),_0x48a9e9=_0x3dfa59?_0x1635d2[_0xa606a2(0x141)]:_0x116308[_0xa606a2(0x141)],_0x3fa3cf=new Set();let _0x1caa1b;if(_0x3e6a97['createConnection']=_0x3e6a97[_0xa606a2(0x6a)]||(_0x3dfa59?_0x534a84:_0x44b012),_0x3e6a97[_0xa606a2(0xae)]=_0x3e6a97[_0xa606a2(0xae)]||_0x493df6,_0x3e6a97[_0xa606a2(0x9b)]=_0x2f9348[_0xa606a2(0x9b)]||_0x493df6,_0x3e6a97[_0xa606a2(0x110)]=_0x2f9348['hostname'][_0xa606a2(0xdd)]('[')?_0x2f9348['hostname'][_0xa606a2(0x1a5)](0x1,-0x1):_0x2f9348[_0xa606a2(0x11b)],_0x3e6a97[_0xa606a2(0x171)]={..._0x3e6a97[_0xa606a2(0x171)],'Sec-WebSocket-Version':_0x3e6a97[_0xa606a2(0x9d)],'Sec-WebSocket-Key':_0xb93e5e,'Connection':_0xa606a2(0x1ec),'Upgrade':'websocket'},_0x3e6a97[_0xa606a2(0x138)]=_0x2f9348['pathname']+_0x2f9348['search'],_0x3e6a97['timeout']=_0x3e6a97['handshakeTimeout'],_0x3e6a97[_0xa606a2(0x18d)]&&(_0x1caa1b=new _0x2d8c26(_0x3e6a97[_0xa606a2(0x18d)]!==!0x0?_0x3e6a97['perMessageDeflate']:{},!0x1,_0x3e6a97[_0xa606a2(0x17d)]),_0x3e6a97['headers'][_0xa606a2(0x1cc)]=_0x17f35c({[_0x2d8c26['extensionName']]:_0x1caa1b[_0xa606a2(0x1be)]()})),_0x36d430['length']){for(const _0x303216 of _0x36d430){if(typeof _0x303216!=_0xa606a2(0x1f4)||!_0x4617c6['test'](_0x303216)||_0x3fa3cf['has'](_0x303216))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3fa3cf[_0xa606a2(0x211)](_0x303216);}_0x3e6a97[_0xa606a2(0x171)][_0xa606a2(0x97)]=_0x36d430[_0xa606a2(0xbf)](',');}if(_0x3e6a97[_0xa606a2(0x19f)]&&(_0x3e6a97[_0xa606a2(0x9d)]<0xd?_0x3e6a97['headers'][_0xa606a2(0x20d)]=_0x3e6a97[_0xa606a2(0x19f)]:_0x3e6a97[_0xa606a2(0x171)][_0xa606a2(0x1b8)]=_0x3e6a97[_0xa606a2(0x19f)]),(_0x2f9348['username']||_0x2f9348[_0xa606a2(0x135)])&&(_0x3e6a97[_0xa606a2(0x1ab)]=_0x2f9348['username']+':'+_0x2f9348['password']),_0x5b4dfe){const _0x47a70b=_0x3e6a97[_0xa606a2(0x138)]['split'](':');_0x3e6a97[_0xa606a2(0xa1)]=_0x47a70b[0x0],_0x3e6a97[_0xa606a2(0x138)]=_0x47a70b[0x1];}let _0x44dc41;if(_0x3e6a97[_0xa606a2(0x74)]){if(_0x49e63f['_redirects']===0x0){_0x49e63f[_0xa606a2(0x212)]=_0x5b4dfe,_0x49e63f[_0xa606a2(0x125)]=_0x3dfa59,_0x49e63f[_0xa606a2(0x1c5)]=_0x5b4dfe?_0x3e6a97[_0xa606a2(0xa1)]:_0x2f9348['host'];const _0x2bc6b7=_0x58af41&&_0x58af41['headers'];if(_0x58af41={..._0x58af41,'headers':{}},_0x2bc6b7){for(const [_0x58f8b8,_0x560a6a]of Object['entries'](_0x2bc6b7))_0x58af41[_0xa606a2(0x171)][_0x58f8b8['toLowerCase']()]=_0x560a6a;}}else{if(_0x49e63f[_0xa606a2(0x17b)]('redirect')===0x0){const _0xcd1baa=_0x5b4dfe?_0x49e63f[_0xa606a2(0x212)]?_0x3e6a97[_0xa606a2(0xa1)]===_0x49e63f[_0xa606a2(0x1c5)]:!0x1:_0x49e63f['_originalIpc']?!0x1:_0x2f9348['host']===_0x49e63f[_0xa606a2(0x1c5)];(!_0xcd1baa||_0x49e63f[_0xa606a2(0x125)]&&!_0x3dfa59)&&(delete _0x3e6a97[_0xa606a2(0x171)][_0xa606a2(0xda)],delete _0x3e6a97[_0xa606a2(0x171)][_0xa606a2(0x6b)],_0xcd1baa||delete _0x3e6a97[_0xa606a2(0x171)][_0xa606a2(0x110)],_0x3e6a97[_0xa606a2(0x1ab)]=void 0x0);}}_0x3e6a97['auth']&&!_0x58af41[_0xa606a2(0x171)][_0xa606a2(0xda)]&&(_0x58af41[_0xa606a2(0x171)][_0xa606a2(0xda)]=_0xa606a2(0x227)+Buffer[_0xa606a2(0xb9)](_0x3e6a97['auth'])[_0xa606a2(0xed)](_0xa606a2(0x114))),_0x44dc41=_0x49e63f['_req']=_0x48a9e9(_0x3e6a97),_0x49e63f[_0xa606a2(0xb2)]&&_0x49e63f[_0xa606a2(0x16b)](_0xa606a2(0x109),_0x49e63f[_0xa606a2(0x199)],_0x44dc41);}else _0x44dc41=_0x49e63f[_0xa606a2(0x176)]=_0x48a9e9(_0x3e6a97);_0x3e6a97[_0xa606a2(0x226)]&&_0x44dc41['on'](_0xa606a2(0x226),()=>{const _0x140654=_0xa606a2;_0x33d83d(_0x49e63f,_0x44dc41,_0x140654(0x66));}),_0x44dc41['on'](_0xa606a2(0x22b),_0xce8414=>{const _0x5e6ac3=_0xa606a2;_0x44dc41===null||_0x44dc41[_0x4c341e]||(_0x44dc41=_0x49e63f[_0x5e6ac3(0x176)]=null,_0x99c3b9(_0x49e63f,_0xce8414));}),_0x44dc41['on'](_0xa606a2(0x1f7),_0x12c21a=>{const _0x49cbc4=_0xa606a2,_0x528970=_0x12c21a['headers'][_0x49cbc4(0x112)],_0x54db56=_0x12c21a[_0x49cbc4(0xb6)];if(_0x528970&&_0x3e6a97['followRedirects']&&_0x54db56>=0x12c&&_0x54db56<0x190){if(++_0x49e63f[_0x49cbc4(0xb2)]>_0x3e6a97[_0x49cbc4(0x12a)]){_0x33d83d(_0x49e63f,_0x44dc41,_0x49cbc4(0xc1));return;}_0x44dc41['abort']();let _0x68d3a1;try{_0x68d3a1=new _0x419e19(_0x528970,_0x597060);}catch{const _0x11d84f=new SyntaxError(_0x49cbc4(0x69)+_0x528970);_0x99c3b9(_0x49e63f,_0x11d84f);return;}_0x27493a(_0x49e63f,_0x68d3a1,_0x36d430,_0x58af41);}else _0x49e63f[_0x49cbc4(0x16b)](_0x49cbc4(0x153),_0x44dc41,_0x12c21a)||_0x33d83d(_0x49e63f,_0x44dc41,_0x49cbc4(0x21b)+_0x12c21a['statusCode']);}),_0x44dc41['on']('upgrade',(_0x40b81b,_0x1fa101,_0x1077e1)=>{const _0x1c882f=_0xa606a2;if(_0x49e63f[_0x1c882f(0x16b)]('upgrade',_0x40b81b),_0x49e63f[_0x1c882f(0xff)]!==_0xc1d43e[_0x1c882f(0x170)])return;_0x44dc41=_0x49e63f[_0x1c882f(0x176)]=null;const _0x58531b=_0x40b81b[_0x1c882f(0x171)][_0x1c882f(0x106)];if(_0x58531b===void 0x0||_0x58531b[_0x1c882f(0xf2)]()!==_0x1c882f(0xb5)){_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0xd9));return;}const _0x154a88=_0x11f539(_0x1c882f(0x155))['update'](_0xb93e5e+_0x1d2997)['digest']('base64');if(_0x40b81b[_0x1c882f(0x171)][_0x1c882f(0x95)]!==_0x154a88){_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0x1cd));return;}const _0x43b843=_0x40b81b[_0x1c882f(0x171)]['sec-websocket-protocol'];let _0x29a51a;if(_0x43b843!==void 0x0?_0x3fa3cf[_0x1c882f(0x88)]?_0x3fa3cf[_0x1c882f(0x1e3)](_0x43b843)||(_0x29a51a=_0x1c882f(0xe2)):_0x29a51a=_0x1c882f(0x82):_0x3fa3cf['size']&&(_0x29a51a='Server\x20sent\x20no\x20subprotocol'),_0x29a51a){_0x33d83d(_0x49e63f,_0x1fa101,_0x29a51a);return;}_0x43b843&&(_0x49e63f[_0x1c882f(0x10b)]=_0x43b843);const _0x5bff75=_0x40b81b[_0x1c882f(0x171)][_0x1c882f(0xad)];if(_0x5bff75!==void 0x0){if(!_0x1caa1b){_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0x12b));return;}let _0x29ce38;try{_0x29ce38=_0x323923(_0x5bff75);}catch{_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0x119));return;}const _0x17d522=Object[_0x1c882f(0x134)](_0x29ce38);if(_0x17d522[_0x1c882f(0x78)]!==0x1||_0x17d522[0x0]!==_0x2d8c26[_0x1c882f(0x1cf)]){_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0x1d4));return;}try{_0x1caa1b['accept'](_0x29ce38[_0x2d8c26[_0x1c882f(0x1cf)]]);}catch{_0x33d83d(_0x49e63f,_0x1fa101,_0x1c882f(0x119));return;}_0x49e63f[_0x1c882f(0xec)][_0x2d8c26[_0x1c882f(0x1cf)]]=_0x1caa1b;}_0x49e63f[_0x1c882f(0x122)](_0x1fa101,_0x1077e1,{'allowSynchronousEvents':_0x3e6a97[_0x1c882f(0x67)],'generateMask':_0x3e6a97[_0x1c882f(0x132)],'maxPayload':_0x3e6a97['maxPayload'],'skipUTF8Validation':_0x3e6a97['skipUTF8Validation']});}),_0x3e6a97[_0xa606a2(0x1a8)]?_0x3e6a97[_0xa606a2(0x1a8)](_0x44dc41,_0x49e63f):_0x44dc41[_0xa606a2(0x1ae)]();}function _0x99c3b9(_0x2fc111,_0x423c5c){const _0x240ea9=_0x1cd43c;_0x2fc111['_readyState']=_0xc1d43e[_0x240ea9(0x202)],_0x2fc111[_0x240ea9(0x12f)]=!0x0,_0x2fc111['emit'](_0x240ea9(0x22b),_0x423c5c),_0x2fc111[_0x240ea9(0xde)]();}function _0x44b012(_0x5e0152){const _0x5a6380=_0x1cd43c;return _0x5e0152[_0x5a6380(0x138)]=_0x5e0152[_0x5a6380(0xa1)],_0x1cbdcf[_0x5a6380(0x12e)](_0x5e0152);}function _0x534a84(_0x9f48c6){const _0x4b360c=_0x1cd43c;return _0x9f48c6[_0x4b360c(0x138)]=void 0x0,!_0x9f48c6[_0x4b360c(0xfb)]&&_0x9f48c6[_0x4b360c(0xfb)]!==''&&(_0x9f48c6['servername']=_0x1cbdcf[_0x4b360c(0x71)](_0x9f48c6[_0x4b360c(0x110)])?'':_0x9f48c6[_0x4b360c(0x110)]),_0x364f7b[_0x4b360c(0x12e)](_0x9f48c6);}function _0x33d83d(_0x5130a5,_0x511bf6,_0x125af1){const _0x4da015=_0x1cd43c;_0x5130a5[_0x4da015(0x183)]=_0xc1d43e[_0x4da015(0x202)];const _0x346f20=new Error(_0x125af1);Error['captureStackTrace'](_0x346f20,_0x33d83d),_0x511bf6[_0x4da015(0x166)]?(_0x511bf6[_0x4c341e]=!0x0,_0x511bf6[_0x4da015(0x96)](),_0x511bf6[_0x4da015(0x8d)]&&!_0x511bf6['socket'][_0x4da015(0x1af)]&&_0x511bf6[_0x4da015(0x8d)][_0x4da015(0x7c)](),process['nextTick'](_0x99c3b9,_0x5130a5,_0x346f20)):(_0x511bf6[_0x4da015(0x7c)](_0x346f20),_0x511bf6['once'](_0x4da015(0x22b),_0x5130a5[_0x4da015(0x16b)][_0x4da015(0x186)](_0x5130a5,'error')),_0x511bf6[_0x4da015(0x16d)]('close',_0x5130a5[_0x4da015(0xde)][_0x4da015(0x186)](_0x5130a5)));}function _0x5423ca(_0xd1c52a,_0x1de59d,_0x27a650){const _0x6b0654=_0x1cd43c;if(_0x1de59d){const _0x37a58b=_0x7a1f1f(_0x1de59d)?_0x1de59d['size']:_0xcf74b1(_0x1de59d)[_0x6b0654(0x78)];_0xd1c52a[_0x6b0654(0x1c0)]?_0xd1c52a[_0x6b0654(0x201)]['_bufferedBytes']+=_0x37a58b:_0xd1c52a[_0x6b0654(0x19b)]+=_0x37a58b;}if(_0x27a650){const _0x13b3a8=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xd1c52a[_0x6b0654(0xff)]+'\x20('+_0xcac55f[_0xd1c52a[_0x6b0654(0xff)]]+')');process[_0x6b0654(0x85)](_0x27a650,_0x13b3a8);}}function _0x290f9a(_0x562ffa,_0x20daf2){const _0x5eca32=_0x1cd43c,_0xe1ea60=this[_0x102f69];_0xe1ea60['_closeFrameReceived']=!0x0,_0xe1ea60['_closeMessage']=_0x20daf2,_0xe1ea60[_0x5eca32(0xe1)]=_0x562ffa,_0xe1ea60[_0x5eca32(0x1c0)][_0x102f69]!==void 0x0&&(_0xe1ea60[_0x5eca32(0x1c0)][_0x5eca32(0xd5)](_0x5eca32(0x1ac),_0x5417cc),process['nextTick'](_0x170c66,_0xe1ea60[_0x5eca32(0x1c0)]),_0x562ffa===0x3ed?_0xe1ea60[_0x5eca32(0x1b1)]():_0xe1ea60['close'](_0x562ffa,_0x20daf2));}function _0x1de1c4(){const _0x5a4b0d=_0x1cd43c,_0x208ae9=this[_0x102f69];_0x208ae9['isPaused']||_0x208ae9[_0x5a4b0d(0x1c0)][_0x5a4b0d(0xb4)]();}function _0x3c1530(_0x3439e9){const _0x1342ab=_0x1cd43c,_0x59f19a=this[_0x102f69];_0x59f19a[_0x1342ab(0x1c0)][_0x102f69]!==void 0x0&&(_0x59f19a[_0x1342ab(0x1c0)]['removeListener'](_0x1342ab(0x1ac),_0x5417cc),process[_0x1342ab(0x85)](_0x170c66,_0x59f19a[_0x1342ab(0x1c0)]),_0x59f19a[_0x1342ab(0x1b1)](_0x3439e9[_0xe1032e])),_0x59f19a[_0x1342ab(0x12f)]||(_0x59f19a[_0x1342ab(0x12f)]=!0x0,_0x59f19a[_0x1342ab(0x16b)](_0x1342ab(0x22b),_0x3439e9));}function _0x5e18f5(){const _0x2d1cd4=_0x1cd43c;this[_0x102f69][_0x2d1cd4(0xde)]();}function _0x1a08a8(_0x15999,_0x13a34c){const _0x2e02e1=_0x1cd43c;this[_0x102f69]['emit'](_0x2e02e1(0x20c),_0x15999,_0x13a34c);}function _0x323735(_0x5095b3){const _0xbe0b3=_0x1cd43c,_0x318df3=this[_0x102f69];_0x318df3['_autoPong']&&_0x318df3['pong'](_0x5095b3,!this[_0xbe0b3(0xa8)],_0x165355),_0x318df3[_0xbe0b3(0x16b)](_0xbe0b3(0x172),_0x5095b3);}function _0x3546e2(_0x23eed6){this[_0x102f69]['emit']('pong',_0x23eed6);}function _0x170c66(_0x2db512){const _0x3c43b4=_0x1cd43c;_0x2db512[_0x3c43b4(0xb4)]();}function _0x1870ca(_0x57b66a){const _0x5901ed=_0x1cd43c,_0x65d4b3=this[_0x102f69];_0x65d4b3['readyState']!==_0xc1d43e['CLOSED']&&(_0x65d4b3[_0x5901ed(0xff)]===_0xc1d43e['OPEN']&&(_0x65d4b3[_0x5901ed(0x183)]=_0xc1d43e[_0x5901ed(0x202)],_0x2fd05b(_0x65d4b3)),this[_0x5901ed(0x1c0)][_0x5901ed(0x1ae)](),_0x65d4b3['_errorEmitted']||(_0x65d4b3['_errorEmitted']=!0x0,_0x65d4b3[_0x5901ed(0x16b)](_0x5901ed(0x22b),_0x57b66a)));}function _0x2fd05b(_0x1669ca){const _0x1d5cf5=_0x1cd43c;_0x1669ca[_0x1d5cf5(0x16a)]=setTimeout(_0x1669ca[_0x1d5cf5(0x1c0)][_0x1d5cf5(0x7c)][_0x1d5cf5(0x186)](_0x1669ca[_0x1d5cf5(0x1c0)]),_0x40e85d);}function _0x19848a(){const _0x64be2e=_0x1cd43c,_0x236c76=this[_0x102f69];this[_0x64be2e(0xd5)](_0x64be2e(0x1b1),_0x19848a),this['removeListener'](_0x64be2e(0x1ac),_0x5417cc),this[_0x64be2e(0xd5)](_0x64be2e(0x1ae),_0x15983a),_0x236c76[_0x64be2e(0x183)]=_0xc1d43e['CLOSING'];let _0x1cf08f;!this['_readableState'][_0x64be2e(0x1aa)]&&!_0x236c76[_0x64be2e(0x225)]&&!_0x236c76[_0x64be2e(0x6d)][_0x64be2e(0x16c)][_0x64be2e(0x14d)]&&(_0x1cf08f=_0x236c76[_0x64be2e(0x1c0)][_0x64be2e(0x173)]())!==null&&_0x236c76[_0x64be2e(0x6d)][_0x64be2e(0x1f2)](_0x1cf08f),_0x236c76[_0x64be2e(0x6d)][_0x64be2e(0x1ae)](),this[_0x102f69]=void 0x0,clearTimeout(_0x236c76[_0x64be2e(0x16a)]),_0x236c76[_0x64be2e(0x6d)]['_writableState'][_0x64be2e(0x228)]||_0x236c76['_receiver'][_0x64be2e(0x16c)]['errorEmitted']?_0x236c76[_0x64be2e(0xde)]():(_0x236c76[_0x64be2e(0x6d)]['on']('error',_0x5e18f5),_0x236c76[_0x64be2e(0x6d)]['on'](_0x64be2e(0x161),_0x5e18f5));}function _0x5417cc(_0x5316ab){const _0x23a5c7=_0x1cd43c;this[_0x102f69][_0x23a5c7(0x6d)][_0x23a5c7(0x1f2)](_0x5316ab)||this['pause']();}function _0x15983a(){const _0x31a563=_0x1cd43c,_0x46610d=this[_0x102f69];_0x46610d[_0x31a563(0x183)]=_0xc1d43e[_0x31a563(0x202)],_0x46610d[_0x31a563(0x6d)][_0x31a563(0x1ae)](),this[_0x31a563(0x1ae)]();}function _0x148498(){const _0x352a29=_0x1cd43c,_0x279eda=this[_0x102f69];this[_0x352a29(0xd5)](_0x352a29(0x22b),_0x148498),this['on'](_0x352a29(0x22b),_0x165355),_0x279eda&&(_0x279eda[_0x352a29(0x183)]=_0xc1d43e[_0x352a29(0x202)],this[_0x352a29(0x7c)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1632ab}=oe;function _0x3e0d11(_0x3ad5d4){const _0x5d8d6a=_0x4b89;_0x3ad5d4[_0x5d8d6a(0x16b)](_0x5d8d6a(0x1b1));}function _0x204ce1(){const _0x16b68f=_0x4b89;!this[_0x16b68f(0x1af)]&&this[_0x16b68f(0x16c)][_0x16b68f(0x228)]&&this[_0x16b68f(0x7c)]();}function _0x32b5df(_0x55665c){const _0x53ac08=_0x4b89;this[_0x53ac08(0xd5)](_0x53ac08(0x22b),_0x32b5df),this['destroy'](),this[_0x53ac08(0x17b)](_0x53ac08(0x22b))===0x0&&this[_0x53ac08(0x16b)](_0x53ac08(0x22b),_0x55665c);}function _0x545e44(_0x274ffa,_0x1de110){const _0x4fc71f=_0x4b89;let _0x33963c=!0x0;const _0x1df14e=new _0x1632ab({..._0x1de110,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x274ffa['on'](_0x4fc71f(0x20c),function(_0x53849c,_0x3ce79c){const _0x14513f=_0x4fc71f,_0x1c77ba=!_0x3ce79c&&_0x1df14e[_0x14513f(0x1dd)][_0x14513f(0x92)]?_0x53849c['toString']():_0x53849c;_0x1df14e['push'](_0x1c77ba)||_0x274ffa['pause']();}),_0x274ffa[_0x4fc71f(0x16d)](_0x4fc71f(0x22b),function(_0x25511d){const _0x4813f2=_0x4fc71f;_0x1df14e['destroyed']||(_0x33963c=!0x1,_0x1df14e[_0x4813f2(0x7c)](_0x25511d));}),_0x274ffa[_0x4fc71f(0x16d)](_0x4fc71f(0x1b1),function(){const _0x28a763=_0x4fc71f;_0x1df14e['destroyed']||_0x1df14e[_0x28a763(0x1ee)](null);}),_0x1df14e[_0x4fc71f(0xd1)]=function(_0x147a58,_0x59c0b5){const _0x19a6f2=_0x4fc71f;if(_0x274ffa[_0x19a6f2(0xff)]===_0x274ffa[_0x19a6f2(0x89)]){_0x59c0b5(_0x147a58),process[_0x19a6f2(0x85)](_0x3e0d11,_0x1df14e);return;}let _0x219856=!0x1;_0x274ffa['once'](_0x19a6f2(0x22b),function(_0xf359b5){_0x219856=!0x0,_0x59c0b5(_0xf359b5);}),_0x274ffa[_0x19a6f2(0x16d)]('close',function(){const _0x1912de=_0x19a6f2;_0x219856||_0x59c0b5(_0x147a58),process[_0x1912de(0x85)](_0x3e0d11,_0x1df14e);}),_0x33963c&&_0x274ffa[_0x19a6f2(0x204)]();},_0x1df14e[_0x4fc71f(0xd8)]=function(_0xd908b2){const _0x298265=_0x4fc71f;if(_0x274ffa['readyState']===_0x274ffa[_0x298265(0x170)]){_0x274ffa[_0x298265(0x16d)](_0x298265(0xcc),function(){const _0x596999=_0x298265;_0x1df14e[_0x596999(0xd8)](_0xd908b2);});return;}_0x274ffa[_0x298265(0x1c0)]!==null&&(_0x274ffa[_0x298265(0x1c0)][_0x298265(0x16c)][_0x298265(0x228)]?(_0xd908b2(),_0x1df14e[_0x298265(0x1dd)][_0x298265(0x1aa)]&&_0x1df14e[_0x298265(0x7c)]()):(_0x274ffa[_0x298265(0x1c0)][_0x298265(0x16d)](_0x298265(0x161),function(){_0xd908b2();}),_0x274ffa[_0x298265(0x1b1)]()));},_0x1df14e[_0x4fc71f(0x1ed)]=function(){const _0x475e16=_0x4fc71f;_0x274ffa[_0x475e16(0x72)]&&_0x274ffa['resume']();},_0x1df14e[_0x4fc71f(0x142)]=function(_0x12079d,_0xe31508,_0x591b9e){const _0x5dcdc7=_0x4fc71f;if(_0x274ffa[_0x5dcdc7(0xff)]===_0x274ffa['CONNECTING']){_0x274ffa[_0x5dcdc7(0x16d)](_0x5dcdc7(0xcc),function(){_0x1df14e['_write'](_0x12079d,_0xe31508,_0x591b9e);});return;}_0x274ffa[_0x5dcdc7(0xa0)](_0x12079d,_0x591b9e);},_0x1df14e['on'](_0x4fc71f(0x1ae),_0x204ce1),_0x1df14e['on'](_0x4fc71f(0x22b),_0x32b5df),_0x1df14e;}return Oe=_0x545e44,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x23b99f}=ae();function _0x2cfc2f(_0x19c3f8){const _0x5752b6=_0x4b89,_0x235f23=new Set();let _0x26c665=-0x1,_0x31f565=-0x1,_0x2517ff=0x0;for(_0x2517ff;_0x2517ff<_0x19c3f8['length'];_0x2517ff++){const _0x4c58e2=_0x19c3f8[_0x5752b6(0x1f0)](_0x2517ff);if(_0x31f565===-0x1&&_0x23b99f[_0x4c58e2]===0x1)_0x26c665===-0x1&&(_0x26c665=_0x2517ff);else{if(_0x2517ff!==0x0&&(_0x4c58e2===0x20||_0x4c58e2===0x9))_0x31f565===-0x1&&_0x26c665!==-0x1&&(_0x31f565=_0x2517ff);else{if(_0x4c58e2===0x2c){if(_0x26c665===-0x1)throw new SyntaxError(_0x5752b6(0xd2)+_0x2517ff);_0x31f565===-0x1&&(_0x31f565=_0x2517ff);const _0x4b6a08=_0x19c3f8[_0x5752b6(0x1a5)](_0x26c665,_0x31f565);if(_0x235f23['has'](_0x4b6a08))throw new SyntaxError(_0x5752b6(0x1ca)+_0x4b6a08+_0x5752b6(0x1d8));_0x235f23[_0x5752b6(0x211)](_0x4b6a08),_0x26c665=_0x31f565=-0x1;}else throw new SyntaxError(_0x5752b6(0xd2)+_0x2517ff);}}}if(_0x26c665===-0x1||_0x31f565!==-0x1)throw new SyntaxError(_0x5752b6(0x1dc));const _0x147020=_0x19c3f8[_0x5752b6(0x1a5)](_0x26c665,_0x2517ff);if(_0x235f23[_0x5752b6(0x1e3)](_0x147020))throw new SyntaxError(_0x5752b6(0x1ca)+_0x147020+_0x5752b6(0x1d8));return _0x235f23['add'](_0x147020),_0x235f23;}return Ce={'parse':_0x2cfc2f},Ce;}var Te,rt;function Ft(){const _0x2e2468=_0x45812b;if(rt)return Te;rt=0x1;const _0x4c52c3=nt,_0x52e840=ot,{Duplex:_0x54d148}=oe,{createHash:_0xca5f9a}=Le,_0x5126f8=ct(),_0x28e09f=he(),_0x2bbda3=At(),_0x235293=Pe(),{GUID:_0x87c534,kWebSocket:_0x3f3819}=H(),_0x5ddc30=/^[+/0-9A-Za-z]{22}==$/,_0x1e6a3d=0x0,_0x51439f=0x1,_0x5a0ef7=0x2;class _0x5cd4c3 extends _0x4c52c3{constructor(_0x4e6a1d,_0x28657b){const _0x1f9631=_0x4b89;if(super(),_0x4e6a1d={'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':_0x235293,..._0x4e6a1d},_0x4e6a1d[_0x1f9631(0x9b)]==null&&!_0x4e6a1d['server']&&!_0x4e6a1d[_0x1f9631(0x1d6)]||_0x4e6a1d['port']!=null&&(_0x4e6a1d[_0x1f9631(0xb8)]||_0x4e6a1d[_0x1f9631(0x1d6)])||_0x4e6a1d[_0x1f9631(0xb8)]&&_0x4e6a1d[_0x1f9631(0x1d6)])throw new TypeError(_0x1f9631(0x214));if(_0x4e6a1d[_0x1f9631(0x9b)]!=null?(this[_0x1f9631(0xa5)]=_0x52e840['createServer']((_0x7c5315,_0x255b92)=>{const _0x645ace=_0x1f9631,_0x25d070=_0x52e840['STATUS_CODES'][0x1aa];_0x255b92['writeHead'](0x1aa,{'Content-Length':_0x25d070['length'],'Content-Type':_0x645ace(0xfc)}),_0x255b92[_0x645ace(0x1ae)](_0x25d070);}),this[_0x1f9631(0xa5)][_0x1f9631(0x9e)](_0x4e6a1d[_0x1f9631(0x9b)],_0x4e6a1d[_0x1f9631(0x110)],_0x4e6a1d['backlog'],_0x28657b)):_0x4e6a1d[_0x1f9631(0xb8)]&&(this[_0x1f9631(0xa5)]=_0x4e6a1d[_0x1f9631(0xb8)]),this[_0x1f9631(0xa5)]){const _0x1e6b84=this[_0x1f9631(0x16b)][_0x1f9631(0x186)](this,_0x1f9631(0x195));this[_0x1f9631(0x1e1)]=_0x16f86c(this[_0x1f9631(0xa5)],{'listening':this['emit'][_0x1f9631(0x186)](this,_0x1f9631(0x18e)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x5b0a8b,_0x43efb5,_0x2d1d04)=>{this['handleUpgrade'](_0x5b0a8b,_0x43efb5,_0x2d1d04,_0x1e6b84);}});}_0x4e6a1d[_0x1f9631(0x18d)]===!0x0&&(_0x4e6a1d['perMessageDeflate']={}),_0x4e6a1d[_0x1f9631(0x12c)]&&(this[_0x1f9631(0x185)]=new Set(),this[_0x1f9631(0x1e4)]=!0x1),this[_0x1f9631(0xaa)]=_0x4e6a1d,this['_state']=_0x1e6a3d;}[_0x2e2468(0xcb)](){const _0x2aabb6=_0x2e2468;if(this[_0x2aabb6(0xaa)]['noServer'])throw new Error(_0x2aabb6(0x154));return this[_0x2aabb6(0xa5)]?this[_0x2aabb6(0xa5)]['address']():null;}[_0x2e2468(0x1b1)](_0x511718){const _0x501508=_0x2e2468;if(this[_0x501508(0x131)]===_0x5a0ef7){_0x511718&&this[_0x501508(0x16d)](_0x501508(0x1b1),()=>{const _0x439570=_0x501508;_0x511718(new Error(_0x439570(0x6e)));}),process[_0x501508(0x85)](_0x4b575a,this);return;}if(_0x511718&&this[_0x501508(0x16d)](_0x501508(0x1b1),_0x511718),this[_0x501508(0x131)]!==_0x51439f){if(this['_state']=_0x51439f,this[_0x501508(0xaa)][_0x501508(0x1d6)]||this[_0x501508(0xaa)][_0x501508(0xb8)])this['_server']&&(this[_0x501508(0x1e1)](),this[_0x501508(0x1e1)]=this[_0x501508(0xa5)]=null),this[_0x501508(0x185)]?this[_0x501508(0x185)]['size']?this[_0x501508(0x1e4)]=!0x0:process[_0x501508(0x85)](_0x4b575a,this):process[_0x501508(0x85)](_0x4b575a,this);else{const _0x25ee80=this[_0x501508(0xa5)];this[_0x501508(0x1e1)](),this['_removeListeners']=this['_server']=null,_0x25ee80[_0x501508(0x1b1)](()=>{_0x4b575a(this);});}}}[_0x2e2468(0x1a9)](_0x3a1871){const _0x36b10d=_0x2e2468;if(this['options'][_0x36b10d(0x138)]){const _0x509d1f=_0x3a1871[_0x36b10d(0x199)]['indexOf']('?');if((_0x509d1f!==-0x1?_0x3a1871[_0x36b10d(0x199)]['slice'](0x0,_0x509d1f):_0x3a1871[_0x36b10d(0x199)])!==this[_0x36b10d(0xaa)]['path'])return!0x1;}return!0x0;}[_0x2e2468(0x181)](_0x3a6dbd,_0x520a0a,_0x190e5c,_0x146aa4){const _0x1e1970=_0x2e2468;_0x520a0a['on'](_0x1e1970(0x22b),_0x43dfce);const _0x3804be=_0x3a6dbd[_0x1e1970(0x171)][_0x1e1970(0x16e)],_0x2dd2a4=_0x3a6dbd[_0x1e1970(0x171)][_0x1e1970(0x106)],_0x40c59d=+_0x3a6dbd[_0x1e1970(0x171)]['sec-websocket-version'];if(_0x3a6dbd['method']!=='GET'){_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x195,_0x1e1970(0xfe));return;}if(_0x2dd2a4===void 0x0||_0x2dd2a4[_0x1e1970(0xf2)]()!==_0x1e1970(0xb5)){_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3804be===void 0x0||!_0x5ddc30['test'](_0x3804be)){_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x40c59d!==0x8&&_0x40c59d!==0xd){_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x190,_0x1e1970(0x222));return;}if(!this[_0x1e1970(0x1a9)](_0x3a6dbd)){_0x22e422(_0x520a0a,0x190);return;}const _0x4b1fdf=_0x3a6dbd[_0x1e1970(0x171)][_0x1e1970(0x115)];let _0x4931d2=new Set();if(_0x4b1fdf!==void 0x0)try{_0x4931d2=_0x2bbda3[_0x1e1970(0x12d)](_0x4b1fdf);}catch{_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x190,_0x1e1970(0x18b));return;}const _0x11a2d1=_0x3a6dbd[_0x1e1970(0x171)][_0x1e1970(0xad)],_0x8dcb51={};if(this[_0x1e1970(0xaa)][_0x1e1970(0x18d)]&&_0x11a2d1!==void 0x0){const _0x37612d=new _0x28e09f(this[_0x1e1970(0xaa)]['perMessageDeflate'],!0x0,this[_0x1e1970(0xaa)][_0x1e1970(0x17d)]);try{const _0x277dda=_0x5126f8[_0x1e1970(0x12d)](_0x11a2d1);_0x277dda[_0x28e09f[_0x1e1970(0x1cf)]]&&(_0x37612d['accept'](_0x277dda[_0x28e09f['extensionName']]),_0x8dcb51[_0x28e09f[_0x1e1970(0x1cf)]]=_0x37612d);}catch{_0x4a2655(this,_0x3a6dbd,_0x520a0a,0x190,_0x1e1970(0x121));return;}}if(this[_0x1e1970(0xaa)][_0x1e1970(0x1a1)]){const _0x2203e9={'origin':_0x3a6dbd[_0x1e1970(0x171)][''+(_0x40c59d===0x8?_0x1e1970(0x1fe):_0x1e1970(0x19f))],'secure':!!(_0x3a6dbd[_0x1e1970(0x8d)][_0x1e1970(0x223)]||_0x3a6dbd[_0x1e1970(0x8d)][_0x1e1970(0x182)]),'req':_0x3a6dbd};if(this[_0x1e1970(0xaa)][_0x1e1970(0x1a1)][_0x1e1970(0x78)]===0x2){this[_0x1e1970(0xaa)]['verifyClient'](_0x2203e9,(_0x1b593f,_0x984750,_0x266d2d,_0x66fd75)=>{if(!_0x1b593f)return _0x22e422(_0x520a0a,_0x984750||0x191,_0x266d2d,_0x66fd75);this['completeUpgrade'](_0x8dcb51,_0x3804be,_0x4931d2,_0x3a6dbd,_0x520a0a,_0x190e5c,_0x146aa4);});return;}if(!this[_0x1e1970(0xaa)][_0x1e1970(0x1a1)](_0x2203e9))return _0x22e422(_0x520a0a,0x191);}this[_0x1e1970(0x1f3)](_0x8dcb51,_0x3804be,_0x4931d2,_0x3a6dbd,_0x520a0a,_0x190e5c,_0x146aa4);}[_0x2e2468(0x1f3)](_0x3607b5,_0x37c073,_0x2ecc9d,_0x5ba90c,_0x52e060,_0x5584b1,_0x298e42){const _0x4ba8fe=_0x2e2468;if(!_0x52e060[_0x4ba8fe(0x164)]||!_0x52e060[_0x4ba8fe(0x200)])return _0x52e060[_0x4ba8fe(0x7c)]();if(_0x52e060[_0x3f3819])throw new Error(_0x4ba8fe(0x21d));if(this[_0x4ba8fe(0x131)]>_0x1e6a3d)return _0x22e422(_0x52e060,0x1f7);const _0x5c6f0b=[_0x4ba8fe(0x1fc),_0x4ba8fe(0x207),_0x4ba8fe(0xf3),'Sec-WebSocket-Accept:\x20'+_0xca5f9a(_0x4ba8fe(0x155))['update'](_0x37c073+_0x87c534)[_0x4ba8fe(0x99)]('base64')],_0x399ce4=new this[(_0x4ba8fe(0xaa))][(_0x4ba8fe(0x1c7))](null,void 0x0,this[_0x4ba8fe(0xaa)]);if(_0x2ecc9d[_0x4ba8fe(0x88)]){const _0x4a8688=this[_0x4ba8fe(0xaa)]['handleProtocols']?this[_0x4ba8fe(0xaa)][_0x4ba8fe(0x83)](_0x2ecc9d,_0x5ba90c):_0x2ecc9d[_0x4ba8fe(0x1c1)]()[_0x4ba8fe(0x1e6)]()[_0x4ba8fe(0x120)];_0x4a8688&&(_0x5c6f0b['push']('Sec-WebSocket-Protocol:\x20'+_0x4a8688),_0x399ce4[_0x4ba8fe(0x10b)]=_0x4a8688);}if(_0x3607b5[_0x28e09f['extensionName']]){const _0x298f5b=_0x3607b5[_0x28e09f[_0x4ba8fe(0x1cf)]]['params'],_0x4c0b00=_0x5126f8[_0x4ba8fe(0x10d)]({[_0x28e09f[_0x4ba8fe(0x1cf)]]:[_0x298f5b]});_0x5c6f0b[_0x4ba8fe(0x1ee)]('Sec-WebSocket-Extensions:\x20'+_0x4c0b00),_0x399ce4['_extensions']=_0x3607b5;}this['emit'](_0x4ba8fe(0x171),_0x5c6f0b,_0x5ba90c),_0x52e060[_0x4ba8fe(0x1f2)](_0x5c6f0b[_0x4ba8fe(0x14e)]('\x0d\x0a')['join']('\x0d\x0a')),_0x52e060[_0x4ba8fe(0xd5)](_0x4ba8fe(0x22b),_0x43dfce),_0x399ce4[_0x4ba8fe(0x122)](_0x52e060,_0x5584b1,{'allowSynchronousEvents':this[_0x4ba8fe(0xaa)][_0x4ba8fe(0x67)],'maxPayload':this[_0x4ba8fe(0xaa)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4ba8fe(0x185)]&&(this[_0x4ba8fe(0x185)][_0x4ba8fe(0x211)](_0x399ce4),_0x399ce4['on'](_0x4ba8fe(0x1b1),()=>{const _0x22e041=_0x4ba8fe;this['clients']['delete'](_0x399ce4),this[_0x22e041(0x1e4)]&&!this[_0x22e041(0x185)][_0x22e041(0x88)]&&process[_0x22e041(0x85)](_0x4b575a,this);})),_0x298e42(_0x399ce4,_0x5ba90c);}}Te=_0x5cd4c3;function _0x16f86c(_0x211406,_0x2ba797){const _0x2cfd43=_0x2e2468;for(const _0x405785 of Object[_0x2cfd43(0x134)](_0x2ba797))_0x211406['on'](_0x405785,_0x2ba797[_0x405785]);return function(){const _0xd3a453=_0x2cfd43;for(const _0x567475 of Object[_0xd3a453(0x134)](_0x2ba797))_0x211406[_0xd3a453(0xd5)](_0x567475,_0x2ba797[_0x567475]);};}function _0x4b575a(_0x35ee40){const _0x4ef574=_0x2e2468;_0x35ee40[_0x4ef574(0x131)]=_0x5a0ef7,_0x35ee40['emit'](_0x4ef574(0x1b1));}function _0x43dfce(){const _0x5ddcfc=_0x2e2468;this[_0x5ddcfc(0x7c)]();}function _0x22e422(_0x1c786a,_0x2173fb,_0x2d45f4,_0x428b14){const _0x26efea=_0x2e2468;_0x2d45f4=_0x2d45f4||_0x52e840[_0x26efea(0x17c)][_0x2173fb],_0x428b14={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x2d45f4),..._0x428b14},_0x1c786a[_0x26efea(0x16d)](_0x26efea(0x161),_0x1c786a['destroy']),_0x1c786a[_0x26efea(0x1ae)](_0x26efea(0x1ea)+_0x2173fb+'\x20'+_0x52e840[_0x26efea(0x17c)][_0x2173fb]+'\x0d\x0a'+Object[_0x26efea(0x134)](_0x428b14)[_0x26efea(0x1da)](_0x4bd042=>_0x4bd042+':\x20'+_0x428b14[_0x4bd042])[_0x26efea(0xbf)]('\x0d\x0a')+_0x26efea(0x13d)+_0x2d45f4);}function _0x4a2655(_0x6ba971,_0xf52197,_0x30c38c,_0x23d8dd,_0x207164){const _0x11164a=_0x2e2468;if(_0x6ba971[_0x11164a(0x17b)](_0x11164a(0x126))){const _0x509272=new Error(_0x207164);Error[_0x11164a(0x8b)](_0x509272,_0x4a2655),_0x6ba971[_0x11164a(0x16b)](_0x11164a(0x126),_0x509272,_0x30c38c,_0xf52197);}else _0x22e422(_0x30c38c,_0x23d8dd,_0x207164);}return Te;}Ft();var jt=Object[_0x45812b(0x218)],Wt=(_0xfb30ab,_0x3a72e9,_0xcf1eae,_0x207dae)=>{const _0x5b5ceb=_0x45812b;for(var _0x18c857=_0x207dae>0x1?void 0x0:_0x207dae?jt(_0x3a72e9,_0xcf1eae):_0x3a72e9,_0x2a9d30=_0xfb30ab[_0x5b5ceb(0x78)]-0x1,_0x47152c;_0x2a9d30>=0x0;_0x2a9d30--)(_0x47152c=_0xfb30ab[_0x2a9d30])&&(_0x18c857=_0x47152c(_0x18c857)||_0x18c857);return _0x18c857;},qt=(_0x39cb74,_0x5a51c8)=>(_0x267d21,_0x3db05c)=>_0x5a51c8(_0x267d21,_0x3db05c,_0x39cb74);let ke=class extends A[_0x45812b(0x14f)]{constructor(_0x11cdf3){const _0x3fa138=_0x45812b;super(),this[_0x3fa138(0x162)]=_0x11cdf3;}[_0x45812b(0xfa)](_0x255e65){const _0xea5d3c=_0x45812b;var _0x341617;const _0xa583b=(_0x341617=this[_0xea5d3c(0x162)][_0xea5d3c(0x76)](fe))==null?void 0x0:_0x341617[_0xea5d3c(0x1ef)];try{const _0x3e7382=new $t(_0x255e65,{'headers':{..._0xa583b}}),_0x37d4ab=new A[(_0xea5d3c(0x1eb))]();return{'URL':_0x255e65,'close':(_0x214b3c,_0x2f4003)=>{const _0x2a10d9=_0xea5d3c;_0x3e7382[_0x2a10d9(0x1b1)](_0x214b3c,_0x2f4003),_0x37d4ab['dispose']();},'send':_0xb3efb=>{const _0x1356da=_0xea5d3c;_0x3e7382[_0x1356da(0xa0)](_0xb3efb);},'open$':new V[(_0xea5d3c(0x127))](_0x50e017=>{const _0x35689e=_0xea5d3c,_0x31554c=_0x2e1e16=>_0x50e017[_0x35689e(0x1e6)](_0x2e1e16);_0x3e7382[_0x35689e(0x147)](_0x35689e(0xcc),_0x31554c),_0x37d4ab[_0x35689e(0x211)](A[_0x35689e(0x165)](()=>_0x3e7382[_0x35689e(0xbd)](_0x35689e(0xcc),_0x31554c)));})['pipe'](V['share']()),'close$':new V[(_0xea5d3c(0x127))](_0x10a2aa=>{const _0x4c21d2=_0xea5d3c,_0x538328=_0x9df273=>_0x10a2aa[_0x4c21d2(0x1e6)](_0x9df273);_0x3e7382[_0x4c21d2(0x147)]('close',_0x538328),_0x37d4ab[_0x4c21d2(0x211)](A[_0x4c21d2(0x165)](()=>_0x3e7382[_0x4c21d2(0xbd)]('close',_0x538328)));})[_0xea5d3c(0x94)](V['share']()),'error$':new V[(_0xea5d3c(0x127))](_0x2b3c9a=>{const _0x4d96e4=_0xea5d3c,_0x26154a=_0x138b13=>_0x2b3c9a['next'](_0x138b13);_0x3e7382['addEventListener'](_0x4d96e4(0x22b),_0x26154a),_0x37d4ab[_0x4d96e4(0x211)](A[_0x4d96e4(0x165)](()=>_0x3e7382[_0x4d96e4(0xbd)](_0x4d96e4(0x22b),_0x26154a)));})['pipe'](V[_0xea5d3c(0xeb)]()),'message$':new V[(_0xea5d3c(0x127))](_0x627dca=>{const _0x5903c5=_0xea5d3c,_0x28543a=_0x5c8069=>_0x627dca[_0x5903c5(0x1e6)](_0x5c8069);_0x3e7382[_0x5903c5(0x147)](_0x5903c5(0x20c),_0x28543a),_0x37d4ab['add'](A[_0x5903c5(0x165)](()=>_0x3e7382['removeEventListener'](_0x5903c5(0x20c),_0x28543a)));})[_0xea5d3c(0x94)](V[_0xea5d3c(0xeb)]())};}catch(_0xeaf3d4){return console[_0xea5d3c(0x22b)](_0xeaf3d4),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x45812b(0x218)],Ht=(_0x46785b,_0x107722,_0x6dcb4e)=>_0x107722 in _0x46785b?Gt(_0x46785b,_0x107722,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6dcb4e}):_0x46785b[_0x107722]=_0x6dcb4e,zt=(_0x21bcbc,_0xe71f85,_0x1d9973,_0x49c887)=>{for(var _0x31e2c5=_0x49c887>0x1?void 0x0:_0x49c887?Vt(_0xe71f85,_0x1d9973):_0xe71f85,_0x3d576a=_0x21bcbc['length']-0x1,_0x15163e;_0x3d576a>=0x0;_0x3d576a--)(_0x15163e=_0x21bcbc[_0x3d576a])&&(_0x31e2c5=_0x15163e(_0x31e2c5)||_0x31e2c5);return _0x31e2c5;},Ne=(_0x12a177,_0x3ccb5b)=>(_0x15011a,_0x40adf1)=>_0x3ccb5b(_0x15011a,_0x40adf1,_0x12a177),Yt=(_0x29df9b,_0x993125,_0x35040b)=>Ht(_0x29df9b,_0x993125+'',_0x35040b);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x45812b(0x20a)]{constructor(_0x556d60=Ct,_0x211d1a,_0x4a137c,_0x2aef2a){const _0x1d2ef5=_0x45812b;_0x556d60[_0x1d2ef5(0x1ef)]||_0x211d1a[_0x1d2ef5(0xf4)](_0x1d2ef5(0x15f)),super(),this[_0x1d2ef5(0x162)]=_0x4a137c,this['_injector']=_0x2aef2a,this[_0x1d2ef5(0x162)][_0x1d2ef5(0x93)](fe,_0x556d60);}[_0x45812b(0x14c)](){const _0x49ab6d=_0x45812b;this[_0x49ab6d(0x80)]();}['_registerDependencies'](){const _0x44a55a=_0x45812b;A[_0x44a55a(0x1a0)](this[_0x44a55a(0xb0)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x45812b(0xc2)],'pluginName',_0x45812b(0x87)),exports[_0x45812b(0xc2)]=zt([A[_0x45812b(0x6f)](st[_0x45812b(0x1c2)]),Ne(0x1,A[_0x45812b(0x13a)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x45812b(0xe9)](A[_0x45812b(0xbb)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x45812b(0x218)],Xt=(_0x4a0029,_0x59fd78,_0x16a62e,_0x1897cb)=>{const _0x5ec6ef=_0x45812b;for(var _0x30f2c4=_0x1897cb>0x1?void 0x0:_0x1897cb?Kt(_0x59fd78,_0x16a62e):_0x59fd78,_0x5a3149=_0x4a0029[_0x5ec6ef(0x78)]-0x1,_0xb651cd;_0x5a3149>=0x0;_0x5a3149--)(_0xb651cd=_0x4a0029[_0x5a3149])&&(_0x30f2c4=_0xb651cd(_0x30f2c4)||_0x30f2c4);return _0x30f2c4;},ne=(_0xfeace7,_0x541aba)=>(_0x3b4b02,_0xcce63c)=>_0x541aba(_0x3b4b02,_0xcce63c,_0xfeace7);exports[_0x45812b(0x118)]=class extends st[_0x45812b(0x137)]{constructor(_0x59c6eb,_0xf3b798,_0x4bc4fc,_0x22e75a,_0x119bd){const _0x5b88bd=_0x45812b;super(_0x59c6eb,_0xf3b798,_0x4bc4fc,_0x22e75a,_0x119bd);const _0x578e7f=this['_configService'][_0x5b88bd(0x76)](fe);this[_0x5b88bd(0x100)][_0x5b88bd(0x1d5)]({'interceptor':(_0x5cac34,_0x4fe885)=>{const _0x139f9f=_0x5b88bd;var _0x5236fa;const _0x18df77=_0x5cac34[_0x139f9f(0x171)];return(_0x5236fa=_0x578e7f==null?void 0x0:_0x578e7f[_0x139f9f(0x1ef)])!=null&&_0x5236fa[_0x139f9f(0x6b)]&&_0x18df77[_0x139f9f(0xca)](_0x139f9f(0x130),_0x578e7f[_0x139f9f(0x1ef)][_0x139f9f(0x6b)]),_0x4fe885(_0x5cac34);}});}async[_0x45812b(0xfa)](_0x12ecb8){return this['_doCreateSocket'](_0x12ecb8);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x45812b(0xe9)](A['Injector'])),ne(0x1,A[_0x45812b(0xe9)](it[_0x45812b(0x1f6)])),ne(0x2,A[_0x45812b(0x190)]),ne(0x3,A[_0x45812b(0x13a)]),ne(0x4,Ot[_0x45812b(0x19e)])],exports['NodeCollaborationSocketService']),exports[_0x45812b(0x192)]=fe;
|