@univerjs-pro/collaboration-client-node 0.9.4 → 0.10.0-nightly.202507310307

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1dd7e9=_0x17e6;function _0x17e6(_0x773270,_0x121ae5){const _0x195a82=_0x195a();return _0x17e6=function(_0x17e624,_0x1915ba){_0x17e624=_0x17e624-0xe1;let _0x1b481d=_0x195a82[_0x17e624];return _0x1b481d;},_0x17e6(_0x773270,_0x121ae5);}(function(_0x35730d,_0x254e3c){const _0x1ed546=_0x17e6,_0x46789b=_0x35730d();while(!![]){try{const _0x20e9d6=-parseInt(_0x1ed546(0x1f4))/0x1+parseInt(_0x1ed546(0x272))/0x2+-parseInt(_0x1ed546(0x1d4))/0x3*(-parseInt(_0x1ed546(0x1d6))/0x4)+-parseInt(_0x1ed546(0x1ea))/0x5+-parseInt(_0x1ed546(0x202))/0x6*(-parseInt(_0x1ed546(0x193))/0x7)+parseInt(_0x1ed546(0x1d1))/0x8*(-parseInt(_0x1ed546(0x1b3))/0x9)+parseInt(_0x1ed546(0x271))/0xa;if(_0x20e9d6===_0x254e3c)break;else _0x46789b['push'](_0x46789b['shift']());}catch(_0x1e80ff){_0x46789b['push'](_0x46789b['shift']());}}}(_0x195a,0x94502));Object[_0x1dd7e9(0x184)](exports,Symbol[_0x1dd7e9(0x17f)],{'value':_0x1dd7e9(0x257)});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=_0x1dd7e9(0x1aa),Ct={'customHeaders':{}};function Tt(_0x5b3c6b){const _0x4f6ad9=_0x1dd7e9;return _0x5b3c6b&&_0x5b3c6b[_0x4f6ad9(0x10a)]&&Object['prototype']['hasOwnProperty'][_0x4f6ad9(0x298)](_0x5b3c6b,_0x4f6ad9(0x146))?_0x5b3c6b['default']:_0x5b3c6b;}function at(_0x1aaf95){const _0x409732=_0x1dd7e9;if(Object[_0x409732(0xe7)][_0x409732(0x287)][_0x409732(0x298)](_0x1aaf95,_0x409732(0x10a)))return _0x1aaf95;var _0x50fe95=_0x1aaf95[_0x409732(0x146)];if(typeof _0x50fe95=='function'){var _0x59b5f0=function _0x5b6a56(){const _0x3ac37c=_0x409732;var _0x4e37b6=!0x1;try{_0x4e37b6=this instanceof _0x5b6a56;}catch{}return _0x4e37b6?Reflect['construct'](_0x50fe95,arguments,this[_0x3ac37c(0x282)]):_0x50fe95[_0x3ac37c(0x1f2)](this,arguments);};_0x59b5f0['prototype']=_0x50fe95['prototype'];}else _0x59b5f0={};return Object[_0x409732(0x184)](_0x59b5f0,_0x409732(0x10a),{'value':!0x0}),Object[_0x409732(0x141)](_0x1aaf95)[_0x409732(0x265)](function(_0x2800e1){const _0x9ba462=_0x409732;var _0x509f0a=Object[_0x9ba462(0xec)](_0x1aaf95,_0x2800e1);Object[_0x9ba462(0x184)](_0x59b5f0,_0x2800e1,_0x509f0a[_0x9ba462(0x1a0)]?_0x509f0a:{'enumerable':!0x0,'get':function(){return _0x1aaf95[_0x2800e1];}});}),_0x59b5f0;}var se={'exports':{}},ge,Ge;function H(){const _0x39d860=_0x1dd7e9;if(Ge)return ge;Ge=0x1;const _0x21af67=[_0x39d860(0x29f),_0x39d860(0x12c),_0x39d860(0x1cb)],_0x340546=typeof Blob<'u';return _0x340546&&_0x21af67[_0x39d860(0x20e)](_0x39d860(0x29e)),ge={'BINARY_TYPES':_0x21af67,'EMPTY_BUFFER':Buffer[_0x39d860(0x233)](0x0),'GUID':_0x39d860(0x129),'hasBlob':_0x340546,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x39d860(0x1e9)),'kStatusCode':Symbol(_0x39d860(0x18b)),'kWebSocket':Symbol(_0x39d860(0x253)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1dd7e9(0x1e2)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x1dd7e9(0x17f)],{'value':_0x1dd7e9(0x257)})),Lt=at(kt);function _0x195a(){const _0x10be02=['abort','apply','sec-websocket-version','80566UGgDWu','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','setNoDelay','Origin','_paused','hostname','setSocket','decompress','pathname','socket','Upgrade:\x20websocket','generateMask','NodeCollaborationSocketService','protocol','534XqKXiH','search','clients','_buffers','_removeListeners','sha1','add','pow','Injector','share','byteLength','writeUIntBE','push','registerHTTPInterceptor','http:','kType','Sec-WebSocket-Extensions','errorEmitted','_fragments','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','send','FIN\x20must\x20be\x20set','setHeader','shouldHandle','needDrain','_extensions','Sec-WebSocket-Protocol','from','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','username','env','_fragmented','then','MASK\x20must\x20be\x20set','open','WS_ERR_UNEXPECTED_MASK','pending','haveLength','WS_NO_BUFFER_UTIL','finish','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getData','_shouldEmitClose','client_no_context_takeover','Maximum\x20redirects\x20exceeded','url','Disposable','pluginName','offer','alloc','_readableState','_write','WS_ERR_INVALID_OPCODE','getPayloadLength64','_skipUTF8Validation','sec-websocket-origin','_compressed','allowSynchronousEvents','clientNoContextTakeover','pause','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','kReason','flush','_url','createConnection','threshold','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Connection:\x20Upgrade','accept','emitClose','_req','params','_opcode','toDisposable','CLOSED','allocUnsafe','listening','href','\x22:\x20','_read','digest','websocket','getInfo','_firstFragment','getBlobData','Module','_errored','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','jobs','listeners','isPaused','consume','string','defaultPort','parse','function','onStarting','invalid\x20UTF-8\x20sequence','_redirects','forEach','perMessageDeflate','Inject','onmessage','_closeCode','Unexpected\x20server\x20response:\x20','toString','data','Observable','connect','split','getConfig','2657230IEyhDY','524894PGYgLn','host','sec-websocket-key','DisposableCollection','sendFrame','uncork','test','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_totalPayloadLength','File','acceptAsServer','sec-websocket-accept','binary','_registerDependencies','wss:','maxPayload','constructor','client','compress','WebSocket\x20is\x20not\x20open:\x20readyState\x20','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','hasOwnProperty','ws+unix:','error','server_no_context_takeover','zlibDeflateOptions','invalid\x20opcode\x20','kByteLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','fin','Unexpected\x20end\x20of\x20input','upgrade','response','customHeaders','object','zlibInflateOptions','_protocol','wasClean','call','_inflate','removeEventListener','emit','createDeflateRaw','readyState','blob','nodebuffer','finished','isValidUTF8','close','dispose','Basic\x20','stream','_generateMask','Server\x20sent\x20no\x20subprotocol','options','_binaryType','reset','acceptAsClient','_messageLength','Invalid\x20value\x20for\x20parameter\x20\x22','createError','_allowSynchronousEvents','prototype','RSV1\x20must\x20be\x20clear','writeUInt16BE','handshakeTimeout','UniverCollaborationClientPlugin','getOwnPropertyDescriptor','unmask','message','_closeFrameReceived','write','_compress','format','dispatch','pipe','isIP','Z_SYNC_FLUSH','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','invalid\x20payload\x20length\x20','_threshold','Server\x20sent\x20an\x20invalid\x20subprotocol','concat','Invalid\x20Upgrade\x20header','indexOf','dequeue','isView','server','STATUS_CODES','dataMessage','maxRedirects','removeListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','unexpected-response','address','byteOffset','__esModule','Unsupported\x20protocol\x20version:\x20','Invalid\x20URL:\x20','_queue','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Origin','update','objectMode','encrypted','readable','getMask','enqueue','serverNoContextTakeover','autoPong','conclude','create','socketPath','ILogService','buffers','request','_payloadLength','sec-websocket-protocol','kAborted','port','_injector','The\x20URL\x20contains\x20a\x20fragment\x20identifier','kMessage','ping','callback','wsClientError','createServer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','password','handleProtocols','arraybuffer','destroyed','charCodeAt','_masked','_writableState','_sender','once','base64','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','_options','createSocket','permessage-deflate','verifyClient','nextTick','extensions','sec-websocket-extensions','kCode','text/plain','frame','keys','concurrencyLimit','binaryType','end','_readyState','default','onclose','bind','invalid\x20status\x20code\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','OPEN','auth','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','statusCode','buffer','exports','WS_ERR_UNEXPECTED_RSV_1','read','captureStackTrace','includes','_doCreateSocket','https:','path','normalizeParams','arrayBuffer','serverMaxWindowBits','readUInt16BE','listenerCount','authorization','endEmitted','readOnly','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','completeUpgrade','isInteger','replace','backlog','isArray','Invalid\x20HTTP\x20method','has','number','_destroy','_maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','getPayloadLength16','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_receiver','ISnapshotServerService','servername','skipUTF8Validation','find','_httpService','WS_ERR_UNEXPECTED_RSV_2_3','Max\x20payload\x20size\x20exceeded','pong','onerror','_socket','Sec-WebSocket-Protocol:\x20','_bufferedBytes','opcode','_closeFrameSent','shift','warn','toStringTag','handleEvent','client_max_window_bits','_configService','WS_ERR_EXPECTED_MASK','defineProperty','clientTracking','MASK\x20must\x20be\x20clear','origin','toLowerCase','Z_DEFAULT_WINDOWBITS','_originalSecure','status-code','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','length','resume','startsWith','headers','DependentOn','GET','94507MgiFLn','_server','bufferedAmount','reason','_no_context_takeover','createInflateRaw','_deflate','ws:','WS_NO_UTF_8_VALIDATE','CLOSING','value','drain','writeHead','get','Unexpected\x20character\x20at\x20index\x20','The\x20server\x20is\x20not\x20running','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','entries','slice','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_isServer','\x20(supported\x20versions:\x20','destroy','collaboration-client-node.config','extensionName','timeout','map','CONNECTING','WS_ERR_INVALID_UTF8','connection','_mask','species','9EAFLxX','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_max_window_bits','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','readUInt32BE','total-length','_bufferedAmount','noServer','set','protocolVersion','_originalHostOrSocketPath','server_max_window_bits','mask','Blob','isServer','_state','addEventListener','_fin','terminate','target','UniverCollaborationClientNodePlugin','type','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','fragments','Invalid\x20Sec-WebSocket-Accept\x20header','finishRequest','location','_autoPong','writable','6038904HhUpTZ','_originalIpc','size','123741WYVsLO','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','60ZsuAcQ','concurrency','clientMaxWindowBits','_decompress','IConfigService','isBuffer','controlMessage','_errorEmitted','The\x20\x22','code','kTarget','Plugin','freeze','join','_closeMessage','cookie','_closeTimer','maskBuffer','CollaborationSocketService','kListener','4527725gMvyvp','startLoop','kRun','_loop','next','WS_ERR_INVALID_CLOSE_CODE','kDone'];_0x195a=function(){return _0x10be02;};return _0x195a();}var Ve;function ce(){const _0x3f45fe=_0x1dd7e9;if(Ve)return se[_0x3f45fe(0x150)];Ve=0x1;const {EMPTY_BUFFER:_0x250f15}=H(),_0x54ea51=Buffer[Symbol[_0x3f45fe(0x1b2)]];function _0x4b8143(_0x5ede35,_0x30d5fb){const _0x57afd6=_0x3f45fe;if(_0x5ede35[_0x57afd6(0x18d)]===0x0)return _0x250f15;if(_0x5ede35['length']===0x1)return _0x5ede35[0x0];const _0x127e6b=Buffer['allocUnsafe'](_0x30d5fb);let _0x1d4f37=0x0;for(let _0x35f5d9=0x0;_0x35f5d9<_0x5ede35[_0x57afd6(0x18d)];_0x35f5d9++){const _0xbb057b=_0x5ede35[_0x35f5d9];_0x127e6b['set'](_0xbb057b,_0x1d4f37),_0x1d4f37+=_0xbb057b['length'];}return _0x1d4f37<_0x30d5fb?new _0x54ea51(_0x127e6b['buffer'],_0x127e6b[_0x57afd6(0x109)],_0x1d4f37):_0x127e6b;}function _0x1e00dd(_0x53795f,_0x2d4a77,_0x55d669,_0x4c08cf,_0x427b6e){for(let _0x3d2562=0x0;_0x3d2562<_0x427b6e;_0x3d2562++)_0x55d669[_0x4c08cf+_0x3d2562]=_0x53795f[_0x3d2562]^_0x2d4a77[_0x3d2562&0x3];}function _0x5a6fbb(_0x418524,_0x1d27bd){const _0x52ca28=_0x3f45fe;for(let _0x2eaf11=0x0;_0x2eaf11<_0x418524[_0x52ca28(0x18d)];_0x2eaf11++)_0x418524[_0x2eaf11]^=_0x1d27bd[_0x2eaf11&0x3];}function _0xf8e956(_0x1f651c){const _0x48ced0=_0x3f45fe;return _0x1f651c[_0x48ced0(0x18d)]===_0x1f651c[_0x48ced0(0x14f)][_0x48ced0(0x20c)]?_0x1f651c[_0x48ced0(0x14f)]:_0x1f651c['buffer'][_0x48ced0(0x1a5)](_0x1f651c['byteOffset'],_0x1f651c['byteOffset']+_0x1f651c[_0x48ced0(0x18d)]);}function _0x34dc1e(_0x634c42){const _0x32089e=_0x3f45fe;if(_0x34dc1e[_0x32089e(0x15f)]=!0x0,Buffer[_0x32089e(0x1db)](_0x634c42))return _0x634c42;let _0x3743a5;return _0x634c42 instanceof ArrayBuffer?_0x3743a5=new _0x54ea51(_0x634c42):ArrayBuffer[_0x32089e(0x100)](_0x634c42)?_0x3743a5=new _0x54ea51(_0x634c42[_0x32089e(0x14f)],_0x634c42[_0x32089e(0x109)],_0x634c42[_0x32089e(0x20c)]):(_0x3743a5=Buffer[_0x32089e(0x21d)](_0x634c42),_0x34dc1e[_0x32089e(0x15f)]=!0x1),_0x3743a5;}if(se[_0x3f45fe(0x150)]={'concat':_0x4b8143,'mask':_0x1e00dd,'toArrayBuffer':_0xf8e956,'toBuffer':_0x34dc1e,'unmask':_0x5a6fbb},!process[_0x3f45fe(0x220)][_0x3f45fe(0x228)])try{const _0x4aea5f=Lt;se['exports'][_0x3f45fe(0x1bf)]=function(_0x595995,_0x19a40b,_0x5e92f8,_0x17fbe7,_0x5da959){const _0x40d314=_0x3f45fe;_0x5da959<0x30?_0x1e00dd(_0x595995,_0x19a40b,_0x5e92f8,_0x17fbe7,_0x5da959):_0x4aea5f[_0x40d314(0x1bf)](_0x595995,_0x19a40b,_0x5e92f8,_0x17fbe7,_0x5da959);},se['exports'][_0x3f45fe(0xed)]=function(_0x2d52a3,_0x744c19){const _0x347812=_0x3f45fe;_0x2d52a3[_0x347812(0x18d)]<0x20?_0x5a6fbb(_0x2d52a3,_0x744c19):_0x4aea5f[_0x347812(0xed)](_0x2d52a3,_0x744c19);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x530547=_0x1dd7e9;if(He)return ye;He=0x1;const _0x492f1d=Symbol(_0x530547(0x1f0)),_0x4eadf8=Symbol(_0x530547(0x1ec));class _0x31ec64{constructor(_0x144b2f){const _0x41781b=_0x530547;this[_0x492f1d]=()=>{const _0x7f9c63=_0x17e6;this[_0x7f9c63(0x226)]--,this[_0x4eadf8]();},this[_0x41781b(0x1d7)]=_0x144b2f||0x1/0x0,this[_0x41781b(0x25a)]=[],this[_0x41781b(0x226)]=0x0;}['add'](_0x553204){const _0x214884=_0x530547;this[_0x214884(0x25a)][_0x214884(0x20e)](_0x553204),this[_0x4eadf8]();}[_0x4eadf8](){const _0x38895a=_0x530547;if(this['pending']!==this[_0x38895a(0x1d7)]&&this['jobs'][_0x38895a(0x18d)]){const _0x206fa1=this[_0x38895a(0x25a)][_0x38895a(0x17d)]();this[_0x38895a(0x226)]++,_0x206fa1(this[_0x492f1d]);}}}return ye=_0x31ec64,ye;}var ve,ze;function he(){const _0x5e60b0=_0x1dd7e9;if(ze)return ve;ze=0x1;const _0x26bd3a=bt,_0x202d8f=ce(),_0x3945ba=Pt(),{kStatusCode:_0x32ec71}=H(),_0xf9d4a0=Buffer[Symbol[_0x5e60b0(0x1b2)]],_0xbeea8=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5bf104=Symbol(_0x5e60b0(0x139)),_0x4f4f1d=Symbol(_0x5e60b0(0x1b8)),_0x32f7ac=Symbol(_0x5e60b0(0x126)),_0x237170=Symbol(_0x5e60b0(0x11c)),_0x5b1c2c=Symbol(_0x5e60b0(0x289));let _0x488106;class _0x2aea88{constructor(_0x5816a7,_0x535512,_0x31c3a2){const _0x3cbd05=_0x5e60b0;if(this[_0x3cbd05(0xf7)]=_0x31c3a2|0x0,this[_0x3cbd05(0x137)]=_0x5816a7||{},this[_0x3cbd05(0xfa)]=this[_0x3cbd05(0x137)][_0x3cbd05(0x243)]!==void 0x0?this['_options'][_0x3cbd05(0x243)]:0x400,this[_0x3cbd05(0x1a7)]=!!_0x535512,this[_0x3cbd05(0x199)]=null,this['_inflate']=null,this[_0x3cbd05(0x249)]=null,!_0x488106){const _0x410972=this[_0x3cbd05(0x137)][_0x3cbd05(0x142)]!==void 0x0?this['_options'][_0x3cbd05(0x142)]:0xa;_0x488106=new _0x3945ba(_0x410972);}}static get[_0x5e60b0(0x1ab)](){const _0x365d7e=_0x5e60b0;return _0x365d7e(0x139);}[_0x5e60b0(0x232)](){const _0x4d38d1=_0x5e60b0,_0x5becea={};return this['_options'][_0x4d38d1(0x116)]&&(_0x5becea['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x5becea['client_no_context_takeover']=!0x0),this['_options'][_0x4d38d1(0x15a)]&&(_0x5becea['server_max_window_bits']=this[_0x4d38d1(0x137)][_0x4d38d1(0x15a)]),this[_0x4d38d1(0x137)][_0x4d38d1(0x1d8)]?_0x5becea[_0x4d38d1(0x181)]=this['_options'][_0x4d38d1(0x1d8)]:this['_options'][_0x4d38d1(0x1d8)]==null&&(_0x5becea[_0x4d38d1(0x181)]=!0x0),_0x5becea;}['accept'](_0x1523e6){const _0x3a2d9f=_0x5e60b0;return _0x1523e6=this[_0x3a2d9f(0x158)](_0x1523e6),this['params']=this['_isServer']?this[_0x3a2d9f(0x27c)](_0x1523e6):this[_0x3a2d9f(0xe2)](_0x1523e6),this[_0x3a2d9f(0x249)];}['cleanup'](){const _0x5ecd50=_0x5e60b0;if(this['_inflate']&&(this[_0x5ecd50(0x299)][_0x5ecd50(0x2a2)](),this['_inflate']=null),this[_0x5ecd50(0x199)]){const _0x33abd8=this['_deflate'][_0x32f7ac];this[_0x5ecd50(0x199)][_0x5ecd50(0x2a2)](),this[_0x5ecd50(0x199)]=null,_0x33abd8&&_0x33abd8(new Error(_0x5ecd50(0x279)));}}[_0x5e60b0(0x27c)](_0x2bbd39){const _0x223702=_0x5e60b0,_0x2529f7=this[_0x223702(0x137)],_0x3cf05e=_0x2bbd39[_0x223702(0x172)](_0x337237=>!(_0x2529f7[_0x223702(0x116)]===!0x1&&_0x337237['server_no_context_takeover']||_0x337237[_0x223702(0x1be)]&&(_0x2529f7[_0x223702(0x15a)]===!0x1||typeof _0x2529f7['serverMaxWindowBits']==_0x223702(0x168)&&_0x2529f7[_0x223702(0x15a)]>_0x337237[_0x223702(0x1be)])||typeof _0x2529f7[_0x223702(0x1d8)]==_0x223702(0x168)&&!_0x337237[_0x223702(0x181)]));if(!_0x3cf05e)throw new Error(_0x223702(0x22a));return _0x2529f7[_0x223702(0x116)]&&(_0x3cf05e[_0x223702(0x28a)]=!0x0),_0x2529f7[_0x223702(0x23c)]&&(_0x3cf05e[_0x223702(0x22d)]=!0x0),typeof _0x2529f7[_0x223702(0x15a)]==_0x223702(0x168)&&(_0x3cf05e[_0x223702(0x1be)]=_0x2529f7[_0x223702(0x15a)]),typeof _0x2529f7[_0x223702(0x1d8)]==_0x223702(0x168)?_0x3cf05e[_0x223702(0x181)]=_0x2529f7[_0x223702(0x1d8)]:(_0x3cf05e[_0x223702(0x181)]===!0x0||_0x2529f7[_0x223702(0x1d8)]===!0x1)&&delete _0x3cf05e['client_max_window_bits'],_0x3cf05e;}[_0x5e60b0(0xe2)](_0x5b2f18){const _0x756117=_0x5e60b0,_0x25b625=_0x5b2f18[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x25b625[_0x756117(0x22d)])throw new Error(_0x756117(0x23e));if(!_0x25b625[_0x756117(0x181)])typeof this[_0x756117(0x137)]['clientMaxWindowBits']==_0x756117(0x168)&&(_0x25b625[_0x756117(0x181)]=this[_0x756117(0x137)][_0x756117(0x1d8)]);else{if(this[_0x756117(0x137)][_0x756117(0x1d8)]===!0x1||typeof this[_0x756117(0x137)][_0x756117(0x1d8)]==_0x756117(0x168)&&_0x25b625[_0x756117(0x181)]>this[_0x756117(0x137)][_0x756117(0x1d8)])throw new Error(_0x756117(0x160));}return _0x25b625;}['normalizeParams'](_0x19620c){const _0x55946d=_0x5e60b0;return _0x19620c[_0x55946d(0x265)](_0x2bd5da=>{const _0x16eb23=_0x55946d;Object[_0x16eb23(0x141)](_0x2bd5da)[_0x16eb23(0x265)](_0x485195=>{const _0x374d0c=_0x16eb23;let _0x1fa1ac=_0x2bd5da[_0x485195];if(_0x1fa1ac['length']>0x1)throw new Error('Parameter\x20\x22'+_0x485195+_0x374d0c(0xf8));if(_0x1fa1ac=_0x1fa1ac[0x0],_0x485195==='client_max_window_bits'){if(_0x1fa1ac!==!0x0){const _0x31c42d=+_0x1fa1ac;if(!Number[_0x374d0c(0x162)](_0x31c42d)||_0x31c42d<0x8||_0x31c42d>0xf)throw new TypeError(_0x374d0c(0xe4)+_0x485195+_0x374d0c(0x250)+_0x1fa1ac);_0x1fa1ac=_0x31c42d;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x485195+_0x374d0c(0x250)+_0x1fa1ac);}}else{if(_0x485195===_0x374d0c(0x1be)){const _0x120979=+_0x1fa1ac;if(!Number[_0x374d0c(0x162)](_0x120979)||_0x120979<0x8||_0x120979>0xf)throw new TypeError(_0x374d0c(0xe4)+_0x485195+_0x374d0c(0x250)+_0x1fa1ac);_0x1fa1ac=_0x120979;}else{if(_0x485195==='client_no_context_takeover'||_0x485195===_0x374d0c(0x28a)){if(_0x1fa1ac!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x485195+_0x374d0c(0x250)+_0x1fa1ac);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x485195+'\x22');}}_0x2bd5da[_0x485195]=_0x1fa1ac;});}),_0x19620c;}[_0x5e60b0(0x1fb)](_0x3ab34c,_0x5b85ca,_0x4161be){_0x488106['add'](_0x19c941=>{const _0x42834c=_0x17e6;this[_0x42834c(0x1d9)](_0x3ab34c,_0x5b85ca,(_0x3a5162,_0x4cb6aa)=>{_0x19c941(),_0x4161be(_0x3a5162,_0x4cb6aa);});});}[_0x5e60b0(0x284)](_0xbbf43f,_0x2b1295,_0x13727f){const _0x1402bc=_0x5e60b0;_0x488106[_0x1402bc(0x208)](_0x41a0b3=>{const _0x55c51a=_0x1402bc;this[_0x55c51a(0xf1)](_0xbbf43f,_0x2b1295,(_0xea822f,_0x801f21)=>{_0x41a0b3(),_0x13727f(_0xea822f,_0x801f21);});});}[_0x5e60b0(0x1d9)](_0x2e8a00,_0x3f860f,_0x1a3fe7){const _0x266105=_0x5e60b0,_0x116a8e=this[_0x266105(0x1a7)]?_0x266105(0x283):'server';if(!this[_0x266105(0x299)]){const _0x3f9201=_0x116a8e+'_max_window_bits',_0x48ce2e=typeof this[_0x266105(0x249)][_0x3f9201]!=_0x266105(0x168)?_0x26bd3a[_0x266105(0x189)]:this[_0x266105(0x249)][_0x3f9201];this[_0x266105(0x299)]=_0x26bd3a[_0x266105(0x198)]({...this['_options'][_0x266105(0x295)],'windowBits':_0x48ce2e}),this[_0x266105(0x299)][_0x5bf104]=this,this[_0x266105(0x299)][_0x4f4f1d]=0x0,this[_0x266105(0x299)][_0x237170]=[],this[_0x266105(0x299)]['on'](_0x266105(0x289),_0x3af2b9),this['_inflate']['on']('data',_0x451ed0);}this[_0x266105(0x299)][_0x32f7ac]=_0x1a3fe7,this[_0x266105(0x299)][_0x266105(0xf0)](_0x2e8a00),_0x3f860f&&this['_inflate'][_0x266105(0xf0)](_0xbeea8),this[_0x266105(0x299)][_0x266105(0x240)](()=>{const _0x39d788=_0x266105,_0x525028=this[_0x39d788(0x299)][_0x5b1c2c];if(_0x525028){this[_0x39d788(0x299)]['close'](),this['_inflate']=null,_0x1a3fe7(_0x525028);return;}const _0x2c5384=_0x202d8f[_0x39d788(0xfc)](this['_inflate'][_0x237170],this[_0x39d788(0x299)][_0x4f4f1d]);this[_0x39d788(0x299)]['_readableState'][_0x39d788(0x15e)]?(this[_0x39d788(0x299)][_0x39d788(0x2a2)](),this[_0x39d788(0x299)]=null):(this[_0x39d788(0x299)][_0x4f4f1d]=0x0,this['_inflate'][_0x237170]=[],_0x3f860f&&this[_0x39d788(0x249)][_0x116a8e+_0x39d788(0x197)]&&this['_inflate']['reset']()),_0x1a3fe7(null,_0x2c5384);});}['_compress'](_0x1bb127,_0x3faae0,_0x3bd511){const _0x2f4f42=_0x5e60b0,_0x524d7c=this[_0x2f4f42(0x1a7)]?'server':_0x2f4f42(0x283);if(!this[_0x2f4f42(0x199)]){const _0x46a84e=_0x524d7c+_0x2f4f42(0x1b5),_0x2ea659=typeof this[_0x2f4f42(0x249)][_0x46a84e]!=_0x2f4f42(0x168)?_0x26bd3a['Z_DEFAULT_WINDOWBITS']:this[_0x2f4f42(0x249)][_0x46a84e];this[_0x2f4f42(0x199)]=_0x26bd3a[_0x2f4f42(0x29c)]({...this[_0x2f4f42(0x137)][_0x2f4f42(0x28b)],'windowBits':_0x2ea659}),this[_0x2f4f42(0x199)][_0x4f4f1d]=0x0,this[_0x2f4f42(0x199)][_0x237170]=[],this[_0x2f4f42(0x199)]['on'](_0x2f4f42(0x26c),_0x22f55e);}this[_0x2f4f42(0x199)][_0x32f7ac]=_0x3bd511,this['_deflate'][_0x2f4f42(0xf0)](_0x1bb127),this[_0x2f4f42(0x199)][_0x2f4f42(0x240)](_0x26bd3a[_0x2f4f42(0xf6)],()=>{const _0x1d1e52=_0x2f4f42;if(!this[_0x1d1e52(0x199)])return;let _0x15f9e9=_0x202d8f[_0x1d1e52(0xfc)](this[_0x1d1e52(0x199)][_0x237170],this[_0x1d1e52(0x199)][_0x4f4f1d]);_0x3faae0&&(_0x15f9e9=new _0xf9d4a0(_0x15f9e9[_0x1d1e52(0x14f)],_0x15f9e9['byteOffset'],_0x15f9e9[_0x1d1e52(0x18d)]-0x4)),this[_0x1d1e52(0x199)][_0x32f7ac]=null,this[_0x1d1e52(0x199)][_0x4f4f1d]=0x0,this[_0x1d1e52(0x199)][_0x237170]=[],_0x3faae0&&this[_0x1d1e52(0x249)][_0x524d7c+_0x1d1e52(0x197)]&&this[_0x1d1e52(0x199)][_0x1d1e52(0xe1)](),_0x3bd511(null,_0x15f9e9);});}}ve=_0x2aea88;function _0x22f55e(_0x3d8c9d){const _0x3e5bee=_0x5e60b0;this[_0x237170][_0x3e5bee(0x20e)](_0x3d8c9d),this[_0x4f4f1d]+=_0x3d8c9d[_0x3e5bee(0x18d)];}function _0x451ed0(_0x1ee6b6){const _0x2b194d=_0x5e60b0;if(this[_0x4f4f1d]+=_0x1ee6b6['length'],this[_0x5bf104][_0x2b194d(0xf7)]<0x1||this[_0x4f4f1d]<=this[_0x5bf104][_0x2b194d(0xf7)]){this[_0x237170][_0x2b194d(0x20e)](_0x1ee6b6);return;}this[_0x5b1c2c]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5b1c2c]['code']=_0x2b194d(0x1c9),this[_0x5b1c2c][_0x32ec71]=0x3f1,this[_0x2b194d(0x105)]('data',_0x451ed0),this[_0x2b194d(0xe1)]();}function _0x3af2b9(_0x40c2c9){if(this[_0x5bf104]['_inflate']=null,this[_0x5b1c2c]){this[_0x32f7ac](this[_0x5b1c2c]);return;}_0x40c2c9[_0x32ec71]=0x3ef,this[_0x32f7ac](_0x40c2c9);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1dd7e9(0x1e2)](Object[_0x1dd7e9(0x184)]({'__proto__':null,'default':Dt},Symbol[_0x1dd7e9(0x17f)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5a6460=_0x1dd7e9;if(Ye)return ie[_0x5a6460(0x150)];Ye=0x1;const {isUtf8:_0x4bf2f8}=wt,{hasBlob:_0xb35c18}=H(),_0x1a9f57=[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 _0x4ec871(_0x48b0d4){return _0x48b0d4>=0x3e8&&_0x48b0d4<=0x3f6&&_0x48b0d4!==0x3ec&&_0x48b0d4!==0x3ed&&_0x48b0d4!==0x3ee||_0x48b0d4>=0xbb8&&_0x48b0d4<=0x1387;}function _0x16f912(_0x570b36){const _0x5b116b=_0x5a6460,_0x33eca1=_0x570b36[_0x5b116b(0x18d)];let _0x3ea312=0x0;for(;_0x3ea312<_0x33eca1;)if((_0x570b36[_0x3ea312]&0x80)===0x0)_0x3ea312++;else{if((_0x570b36[_0x3ea312]&0xe0)===0xc0){if(_0x3ea312+0x1===_0x33eca1||(_0x570b36[_0x3ea312+0x1]&0xc0)!==0x80||(_0x570b36[_0x3ea312]&0xfe)===0xc0)return!0x1;_0x3ea312+=0x2;}else{if((_0x570b36[_0x3ea312]&0xf0)===0xe0){if(_0x3ea312+0x2>=_0x33eca1||(_0x570b36[_0x3ea312+0x1]&0xc0)!==0x80||(_0x570b36[_0x3ea312+0x2]&0xc0)!==0x80||_0x570b36[_0x3ea312]===0xe0&&(_0x570b36[_0x3ea312+0x1]&0xe0)===0x80||_0x570b36[_0x3ea312]===0xed&&(_0x570b36[_0x3ea312+0x1]&0xe0)===0xa0)return!0x1;_0x3ea312+=0x3;}else{if((_0x570b36[_0x3ea312]&0xf8)===0xf0){if(_0x3ea312+0x3>=_0x33eca1||(_0x570b36[_0x3ea312+0x1]&0xc0)!==0x80||(_0x570b36[_0x3ea312+0x2]&0xc0)!==0x80||(_0x570b36[_0x3ea312+0x3]&0xc0)!==0x80||_0x570b36[_0x3ea312]===0xf0&&(_0x570b36[_0x3ea312+0x1]&0xf0)===0x80||_0x570b36[_0x3ea312]===0xf4&&_0x570b36[_0x3ea312+0x1]>0x8f||_0x570b36[_0x3ea312]>0xf4)return!0x1;_0x3ea312+=0x4;}else return!0x1;}}}return!0x0;}function _0x2e1ce6(_0x407b00){const _0x124e29=_0x5a6460;return _0xb35c18&&typeof _0x407b00==_0x124e29(0x294)&&typeof _0x407b00[_0x124e29(0x159)]==_0x124e29(0x261)&&typeof _0x407b00[_0x124e29(0x1c8)]==_0x124e29(0x25e)&&typeof _0x407b00[_0x124e29(0x2a5)]==_0x124e29(0x261)&&(_0x407b00[Symbol[_0x124e29(0x17f)]]===_0x124e29(0x1c0)||_0x407b00[Symbol[_0x124e29(0x17f)]]===_0x124e29(0x27b));}if(ie['exports']={'isBlob':_0x2e1ce6,'isValidStatusCode':_0x4ec871,'isValidUTF8':_0x16f912,'tokenChars':_0x1a9f57},_0x4bf2f8)ie[_0x5a6460(0x150)][_0x5a6460(0x2a1)]=function(_0x2a5a8b){const _0x2636a7=_0x5a6460;return _0x2a5a8b[_0x2636a7(0x18d)]<0x18?_0x16f912(_0x2a5a8b):_0x4bf2f8(_0x2a5a8b);};else{if(!process[_0x5a6460(0x220)][_0x5a6460(0x19b)])try{const _0x48c982=Bt;ie['exports'][_0x5a6460(0x2a1)]=function(_0x321402){const _0x117c06=_0x5a6460;return _0x321402[_0x117c06(0x18d)]<0x20?_0x16f912(_0x321402):_0x48c982(_0x321402);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x1571b5=_0x1dd7e9;if(Ke)return Se;Ke=0x1;const {Writable:_0x1ad1e2}=oe,_0x4ad56f=he(),{BINARY_TYPES:_0x510d27,EMPTY_BUFFER:_0x2188d4,kStatusCode:_0x118b1a,kWebSocket:_0x1c502f}=H(),{concat:_0x512faf,toArrayBuffer:_0xf10a7d,unmask:_0x47705c}=ce(),{isValidStatusCode:_0x295703,isValidUTF8:_0x17d1d6}=ae(),_0x52d474=Buffer[Symbol[_0x1571b5(0x1b2)]],_0x2ba866=0x0,_0x2c2af2=0x1,_0x29fded=0x2,_0x338c53=0x3,_0x5164a2=0x4,_0x1cee4d=0x5,_0x4d8b10=0x6;class _0x432141 extends _0x1ad1e2{constructor(_0x28c468={}){const _0x42824f=_0x1571b5;super(),this[_0x42824f(0xe6)]=_0x28c468[_0x42824f(0x23b)]!==void 0x0?_0x28c468[_0x42824f(0x23b)]:!0x0,this[_0x42824f(0x2a9)]=_0x28c468[_0x42824f(0x143)]||_0x510d27[0x0],this[_0x42824f(0x21b)]=_0x28c468['extensions']||{},this[_0x42824f(0x1a7)]=!!_0x28c468[_0x42824f(0x1c1)],this['_maxPayload']=_0x28c468[_0x42824f(0x281)]|0x0,this[_0x42824f(0x238)]=!!_0x28c468[_0x42824f(0x171)],this[_0x1c502f]=void 0x0,this[_0x42824f(0x17a)]=0x0,this['_buffers']=[],this[_0x42824f(0x23a)]=!0x1,this[_0x42824f(0x11e)]=0x0,this[_0x42824f(0x1b1)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x42824f(0x1c4)]=!0x1,this['_opcode']=0x0,this[_0x42824f(0x27a)]=0x0,this[_0x42824f(0xe3)]=0x0,this[_0x42824f(0x214)]=[],this[_0x42824f(0x258)]=!0x1,this[_0x42824f(0x1ed)]=!0x1,this[_0x42824f(0x1c2)]=_0x2ba866;}[_0x1571b5(0x235)](_0x227da8,_0x311106,_0x5b0a36){const _0x5d38df=_0x1571b5;if(this[_0x5d38df(0x24a)]===0x8&&this[_0x5d38df(0x1c2)]==_0x2ba866)return _0x5b0a36();this[_0x5d38df(0x17a)]+=_0x227da8[_0x5d38df(0x18d)],this['_buffers'][_0x5d38df(0x20e)](_0x227da8),this[_0x5d38df(0x1eb)](_0x5b0a36);}[_0x1571b5(0x25d)](_0x4a8a85){const _0x355c6d=_0x1571b5;if(this[_0x355c6d(0x17a)]-=_0x4a8a85,_0x4a8a85===this[_0x355c6d(0x205)][0x0]['length'])return this['_buffers'][_0x355c6d(0x17d)]();if(_0x4a8a85<this[_0x355c6d(0x205)][0x0][_0x355c6d(0x18d)]){const _0x561b42=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x52d474(_0x561b42[_0x355c6d(0x14f)],_0x561b42[_0x355c6d(0x109)]+_0x4a8a85,_0x561b42['length']-_0x4a8a85),new _0x52d474(_0x561b42[_0x355c6d(0x14f)],_0x561b42[_0x355c6d(0x109)],_0x4a8a85);}const _0x251ab5=Buffer[_0x355c6d(0x24d)](_0x4a8a85);do{const _0x1aef81=this[_0x355c6d(0x205)][0x0],_0x3b4285=_0x251ab5[_0x355c6d(0x18d)]-_0x4a8a85;_0x4a8a85>=_0x1aef81[_0x355c6d(0x18d)]?_0x251ab5[_0x355c6d(0x1bb)](this['_buffers']['shift'](),_0x3b4285):(_0x251ab5['set'](new Uint8Array(_0x1aef81['buffer'],_0x1aef81['byteOffset'],_0x4a8a85),_0x3b4285),this[_0x355c6d(0x205)][0x0]=new _0x52d474(_0x1aef81[_0x355c6d(0x14f)],_0x1aef81['byteOffset']+_0x4a8a85,_0x1aef81['length']-_0x4a8a85)),_0x4a8a85-=_0x1aef81[_0x355c6d(0x18d)];}while(_0x4a8a85>0x0);return _0x251ab5;}[_0x1571b5(0x1eb)](_0x1cc936){const _0x28afc=_0x1571b5;this[_0x28afc(0x1ed)]=!0x0;do switch(this[_0x28afc(0x1c2)]){case _0x2ba866:this[_0x28afc(0x254)](_0x1cc936);break;case _0x2c2af2:this[_0x28afc(0x16c)](_0x1cc936);break;case _0x29fded:this[_0x28afc(0x237)](_0x1cc936);break;case _0x338c53:this[_0x28afc(0x114)]();break;case _0x5164a2:this['getData'](_0x1cc936);break;case _0x1cee4d:case _0x4d8b10:this[_0x28afc(0x1ed)]=!0x1;return;}while(this[_0x28afc(0x1ed)]);this[_0x28afc(0x258)]||_0x1cc936();}[_0x1571b5(0x254)](_0x4d3c14){const _0x5a4327=_0x1571b5;if(this[_0x5a4327(0x17a)]<0x2){this[_0x5a4327(0x1ed)]=!0x1;return;}const _0x3c6b7b=this[_0x5a4327(0x25d)](0x2);if((_0x3c6b7b[0x0]&0x30)!==0x0){const _0x4228a6=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0x1a6),!0x0,0x3ea,_0x5a4327(0x174));_0x4d3c14(_0x4228a6);return;}const _0x21e363=(_0x3c6b7b[0x0]&0x40)===0x40;if(_0x21e363&&!this[_0x5a4327(0x21b)][_0x4ad56f[_0x5a4327(0x1ab)]]){const _0x23e740=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0xe8),!0x0,0x3ea,_0x5a4327(0x151));_0x4d3c14(_0x23e740);return;}if(this[_0x5a4327(0x1c4)]=(_0x3c6b7b[0x0]&0x80)===0x80,this[_0x5a4327(0x24a)]=_0x3c6b7b[0x0]&0xf,this[_0x5a4327(0x11e)]=_0x3c6b7b[0x1]&0x7f,this['_opcode']===0x0){if(_0x21e363){const _0x2bfe01=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0xe8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4d3c14(_0x2bfe01);return;}if(!this[_0x5a4327(0x221)]){const _0x32dff0=this[_0x5a4327(0xe5)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4d3c14(_0x32dff0);return;}this[_0x5a4327(0x24a)]=this[_0x5a4327(0x221)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x5a4327(0x221)]){const _0x1e4f2d=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0x28c)+this['_opcode'],!0x0,0x3ea,_0x5a4327(0x236));_0x4d3c14(_0x1e4f2d);return;}this[_0x5a4327(0x23a)]=_0x21e363;}else{if(this[_0x5a4327(0x24a)]>0x7&&this[_0x5a4327(0x24a)]<0xb){if(!this[_0x5a4327(0x1c4)]){const _0x3de269=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0x217),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4d3c14(_0x3de269);return;}if(_0x21e363){const _0x5c0354=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0xe8),!0x0,0x3ea,_0x5a4327(0x151));_0x4d3c14(_0x5c0354);return;}if(this[_0x5a4327(0x11e)]>0x7d||this[_0x5a4327(0x24a)]===0x8&&this[_0x5a4327(0x11e)]===0x1){const _0x3fce1a=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0xf9)+this[_0x5a4327(0x11e)],!0x0,0x3ea,_0x5a4327(0x28e));_0x4d3c14(_0x3fce1a);return;}}else{const _0x57f94b=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0x28c)+this[_0x5a4327(0x24a)],!0x0,0x3ea,_0x5a4327(0x236));_0x4d3c14(_0x57f94b);return;}}}if(!this[_0x5a4327(0x1c4)]&&!this[_0x5a4327(0x221)]&&(this['_fragmented']=this[_0x5a4327(0x24a)]),this[_0x5a4327(0x12f)]=(_0x3c6b7b[0x1]&0x80)===0x80,this[_0x5a4327(0x1a7)]){if(!this['_masked']){const _0x1186a5=this[_0x5a4327(0xe5)](RangeError,_0x5a4327(0x223),!0x0,0x3ea,_0x5a4327(0x183));_0x4d3c14(_0x1186a5);return;}}else{if(this[_0x5a4327(0x12f)]){const _0xb7a9aa=this['createError'](RangeError,_0x5a4327(0x186),!0x0,0x3ea,_0x5a4327(0x225));_0x4d3c14(_0xb7a9aa);return;}}this[_0x5a4327(0x11e)]===0x7e?this[_0x5a4327(0x1c2)]=_0x2c2af2:this[_0x5a4327(0x11e)]===0x7f?this[_0x5a4327(0x1c2)]=_0x29fded:this[_0x5a4327(0x227)](_0x4d3c14);}[_0x1571b5(0x16c)](_0x3497e3){const _0x1a040c=_0x1571b5;if(this[_0x1a040c(0x17a)]<0x2){this['_loop']=!0x1;return;}this[_0x1a040c(0x11e)]=this[_0x1a040c(0x25d)](0x2)[_0x1a040c(0x15b)](0x0),this[_0x1a040c(0x227)](_0x3497e3);}['getPayloadLength64'](_0x11b0e5){const _0x12b60e=_0x1571b5;if(this[_0x12b60e(0x17a)]<0x8){this[_0x12b60e(0x1ed)]=!0x1;return;}const _0x3cd4a1=this['consume'](0x8),_0xea96=_0x3cd4a1[_0x12b60e(0x1b7)](0x0);if(_0xea96>Math['pow'](0x2,0x15)-0x1){const _0x5e80f6=this[_0x12b60e(0xe5)](RangeError,_0x12b60e(0x1d5),!0x1,0x3f1,_0x12b60e(0x244));_0x11b0e5(_0x5e80f6);return;}this[_0x12b60e(0x11e)]=_0xea96*Math[_0x12b60e(0x209)](0x2,0x20)+_0x3cd4a1['readUInt32BE'](0x4),this[_0x12b60e(0x227)](_0x11b0e5);}[_0x1571b5(0x227)](_0x373432){const _0x351c87=_0x1571b5;if(this[_0x351c87(0x11e)]&&this[_0x351c87(0x24a)]<0x8&&(this[_0x351c87(0x27a)]+=this[_0x351c87(0x11e)],this[_0x351c87(0x27a)]>this[_0x351c87(0xf7)]&&this[_0x351c87(0xf7)]>0x0)){const _0x2164d2=this[_0x351c87(0xe5)](RangeError,_0x351c87(0x175),!0x1,0x3f1,_0x351c87(0x1c9));_0x373432(_0x2164d2);return;}this[_0x351c87(0x12f)]?this['_state']=_0x338c53:this[_0x351c87(0x1c2)]=_0x5164a2;}['getMask'](){const _0x5de231=_0x1571b5;if(this[_0x5de231(0x17a)]<0x4){this[_0x5de231(0x1ed)]=!0x1;return;}this['_mask']=this[_0x5de231(0x25d)](0x4),this['_state']=_0x5164a2;}[_0x1571b5(0x22b)](_0x463e05){const _0x4c9257=_0x1571b5;let _0x59f7b1=_0x2188d4;if(this['_payloadLength']){if(this[_0x4c9257(0x17a)]<this['_payloadLength']){this[_0x4c9257(0x1ed)]=!0x1;return;}_0x59f7b1=this[_0x4c9257(0x25d)](this['_payloadLength']),this[_0x4c9257(0x12f)]&&(this[_0x4c9257(0x1b1)][0x0]|this[_0x4c9257(0x1b1)][0x1]|this[_0x4c9257(0x1b1)][0x2]|this['_mask'][0x3])!==0x0&&_0x47705c(_0x59f7b1,this[_0x4c9257(0x1b1)]);}if(this[_0x4c9257(0x24a)]>0x7){this[_0x4c9257(0x1dc)](_0x59f7b1,_0x463e05);return;}if(this[_0x4c9257(0x23a)]){this[_0x4c9257(0x1c2)]=_0x1cee4d,this['decompress'](_0x59f7b1,_0x463e05);return;}_0x59f7b1['length']&&(this[_0x4c9257(0xe3)]=this[_0x4c9257(0x27a)],this[_0x4c9257(0x214)][_0x4c9257(0x20e)](_0x59f7b1)),this['dataMessage'](_0x463e05);}['decompress'](_0x46021a,_0x32567d){const _0x26bc20=_0x1571b5;this[_0x26bc20(0x21b)][_0x4ad56f['extensionName']][_0x26bc20(0x1fb)](_0x46021a,this[_0x26bc20(0x1c4)],(_0x253b38,_0x5a2032)=>{const _0x158f77=_0x26bc20;if(_0x253b38)return _0x32567d(_0x253b38);if(_0x5a2032[_0x158f77(0x18d)]){if(this[_0x158f77(0xe3)]+=_0x5a2032[_0x158f77(0x18d)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x34c1e5=this[_0x158f77(0xe5)](RangeError,_0x158f77(0x175),!0x1,0x3f1,_0x158f77(0x1c9));_0x32567d(_0x34c1e5);return;}this['_fragments'][_0x158f77(0x20e)](_0x5a2032);}this[_0x158f77(0x103)](_0x32567d),this[_0x158f77(0x1c2)]===_0x2ba866&&this['startLoop'](_0x32567d);});}[_0x1571b5(0x103)](_0x460312){const _0x2ff3d2=_0x1571b5;if(!this[_0x2ff3d2(0x1c4)]){this['_state']=_0x2ba866;return;}const _0x3cc061=this['_messageLength'],_0x212dfc=this[_0x2ff3d2(0x214)];if(this[_0x2ff3d2(0x27a)]=0x0,this[_0x2ff3d2(0xe3)]=0x0,this[_0x2ff3d2(0x221)]=0x0,this['_fragments']=[],this[_0x2ff3d2(0x24a)]===0x2){let _0x4ee438;this['_binaryType']===_0x2ff3d2(0x29f)?_0x4ee438=_0x512faf(_0x212dfc,_0x3cc061):this[_0x2ff3d2(0x2a9)]===_0x2ff3d2(0x12c)?_0x4ee438=_0xf10a7d(_0x512faf(_0x212dfc,_0x3cc061)):this['_binaryType']===_0x2ff3d2(0x29e)?_0x4ee438=new Blob(_0x212dfc):_0x4ee438=_0x212dfc,this[_0x2ff3d2(0xe6)]?(this[_0x2ff3d2(0x29b)](_0x2ff3d2(0xee),_0x4ee438,!0x0),this[_0x2ff3d2(0x1c2)]=_0x2ba866):(this[_0x2ff3d2(0x1c2)]=_0x4d8b10,setImmediate(()=>{const _0x1841d5=_0x2ff3d2;this[_0x1841d5(0x29b)]('message',_0x4ee438,!0x0),this[_0x1841d5(0x1c2)]=_0x2ba866,this[_0x1841d5(0x1eb)](_0x460312);}));}else{const _0x6ddb9a=_0x512faf(_0x212dfc,_0x3cc061);if(!this['_skipUTF8Validation']&&!_0x17d1d6(_0x6ddb9a)){const _0x377dcf=this[_0x2ff3d2(0xe5)](Error,_0x2ff3d2(0x263),!0x0,0x3ef,_0x2ff3d2(0x1af));_0x460312(_0x377dcf);return;}this[_0x2ff3d2(0x1c2)]===_0x1cee4d||this['_allowSynchronousEvents']?(this[_0x2ff3d2(0x29b)](_0x2ff3d2(0xee),_0x6ddb9a,!0x1),this[_0x2ff3d2(0x1c2)]=_0x2ba866):(this[_0x2ff3d2(0x1c2)]=_0x4d8b10,setImmediate(()=>{const _0x414705=_0x2ff3d2;this[_0x414705(0x29b)]('message',_0x6ddb9a,!0x1),this['_state']=_0x2ba866,this[_0x414705(0x1eb)](_0x460312);}));}}[_0x1571b5(0x1dc)](_0x4085e2,_0x314d2f){const _0x6136aa=_0x1571b5;if(this[_0x6136aa(0x24a)]===0x8){if(_0x4085e2[_0x6136aa(0x18d)]===0x0)this[_0x6136aa(0x1ed)]=!0x1,this[_0x6136aa(0x29b)](_0x6136aa(0x118),0x3ed,_0x2188d4),this[_0x6136aa(0x144)]();else{const _0x48ea8f=_0x4085e2['readUInt16BE'](0x0);if(!_0x295703(_0x48ea8f)){const _0x3bc77a=this[_0x6136aa(0xe5)](RangeError,_0x6136aa(0x149)+_0x48ea8f,!0x0,0x3ea,_0x6136aa(0x1ef));_0x314d2f(_0x3bc77a);return;}const _0x16c805=new _0x52d474(_0x4085e2[_0x6136aa(0x14f)],_0x4085e2[_0x6136aa(0x109)]+0x2,_0x4085e2[_0x6136aa(0x18d)]-0x2);if(!this['_skipUTF8Validation']&&!_0x17d1d6(_0x16c805)){const _0x596831=this[_0x6136aa(0xe5)](Error,_0x6136aa(0x263),!0x0,0x3ef,_0x6136aa(0x1af));_0x314d2f(_0x596831);return;}this[_0x6136aa(0x1ed)]=!0x1,this[_0x6136aa(0x29b)](_0x6136aa(0x118),_0x48ea8f,_0x16c805),this[_0x6136aa(0x144)]();}this[_0x6136aa(0x1c2)]=_0x2ba866;return;}this[_0x6136aa(0xe6)]?(this[_0x6136aa(0x29b)](this[_0x6136aa(0x24a)]===0x9?_0x6136aa(0x125):'pong',_0x4085e2),this[_0x6136aa(0x1c2)]=_0x2ba866):(this[_0x6136aa(0x1c2)]=_0x4d8b10,setImmediate(()=>{const _0x40f5c0=_0x6136aa;this[_0x40f5c0(0x29b)](this[_0x40f5c0(0x24a)]===0x9?_0x40f5c0(0x125):_0x40f5c0(0x176),_0x4085e2),this['_state']=_0x2ba866,this['startLoop'](_0x314d2f);}));}['createError'](_0xc25e2f,_0x3cead5,_0x1bfe6f,_0x4ff611,_0x341c57){const _0x647176=_0x1571b5;this['_loop']=!0x1,this[_0x647176(0x258)]=!0x0;const _0x2a9c3a=new _0xc25e2f(_0x1bfe6f?'Invalid\x20WebSocket\x20frame:\x20'+_0x3cead5:_0x3cead5);return Error[_0x647176(0x153)](_0x2a9c3a,this[_0x647176(0xe5)]),_0x2a9c3a[_0x647176(0x1df)]=_0x341c57,_0x2a9c3a[_0x118b1a]=_0x4ff611,_0x2a9c3a;}}return Se=_0x432141,Se;}var Ee,Xe;function ft(){const _0x12b603=_0x1dd7e9;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1dc476}=oe,{randomFillSync:_0x412b40}=Le,_0x5021f6=he(),{EMPTY_BUFFER:_0x170ba4,kWebSocket:_0x35ca55,NOOP:_0x12f28b}=H(),{isBlob:_0x33e45f,isValidStatusCode:_0x1958ae}=ae(),{mask:_0x1e71fd,toBuffer:_0xaf0291}=ce(),_0x1bb4d8=Symbol(_0x12b603(0x28d)),_0x40fc95=Buffer['alloc'](0x4),_0xc23101=0x8*0x400;let _0x2bad7e,_0x6c1aea=_0xc23101;const _0x3d0406=0x0,_0x4da8c9=0x1,_0x298a4a=0x2;class _0x4d541a{constructor(_0x101617,_0xa881dd,_0xd1258f){const _0xa73c33=_0x12b603;this[_0xa73c33(0x21b)]=_0xa881dd||{},_0xd1258f&&(this[_0xa73c33(0x2a6)]=_0xd1258f,this['_maskBuffer']=Buffer[_0xa73c33(0x233)](0x4)),this[_0xa73c33(0x178)]=_0x101617,this['_firstFragment']=!0x0,this[_0xa73c33(0xf1)]=!0x1,this[_0xa73c33(0x17a)]=0x0,this['_queue']=[],this[_0xa73c33(0x1c2)]=_0x3d0406,this[_0xa73c33(0x177)]=_0x12f28b,this[_0x35ca55]=void 0x0;}static[_0x12b603(0x140)](_0x20fb61,_0x47ae95){const _0x2a2a77=_0x12b603;let _0x54f9fd,_0x405b6a=!0x1,_0x301730=0x2,_0x47e803=!0x1;_0x47ae95[_0x2a2a77(0x1bf)]&&(_0x54f9fd=_0x47ae95[_0x2a2a77(0x1e7)]||_0x40fc95,_0x47ae95[_0x2a2a77(0x1ff)]?_0x47ae95[_0x2a2a77(0x1ff)](_0x54f9fd):(_0x6c1aea===_0xc23101&&(_0x2bad7e===void 0x0&&(_0x2bad7e=Buffer['alloc'](_0xc23101)),_0x412b40(_0x2bad7e,0x0,_0xc23101),_0x6c1aea=0x0),_0x54f9fd[0x0]=_0x2bad7e[_0x6c1aea++],_0x54f9fd[0x1]=_0x2bad7e[_0x6c1aea++],_0x54f9fd[0x2]=_0x2bad7e[_0x6c1aea++],_0x54f9fd[0x3]=_0x2bad7e[_0x6c1aea++]),_0x47e803=(_0x54f9fd[0x0]|_0x54f9fd[0x1]|_0x54f9fd[0x2]|_0x54f9fd[0x3])===0x0,_0x301730=0x6);let _0x215edf;typeof _0x20fb61=='string'?(!_0x47ae95[_0x2a2a77(0x1bf)]||_0x47e803)&&_0x47ae95[_0x1bb4d8]!==void 0x0?_0x215edf=_0x47ae95[_0x1bb4d8]:(_0x20fb61=Buffer[_0x2a2a77(0x21d)](_0x20fb61),_0x215edf=_0x20fb61['length']):(_0x215edf=_0x20fb61['length'],_0x405b6a=_0x47ae95[_0x2a2a77(0x1bf)]&&_0x47ae95[_0x2a2a77(0x15f)]&&!_0x47e803);let _0x599778=_0x215edf;_0x215edf>=0x10000?(_0x301730+=0x8,_0x599778=0x7f):_0x215edf>0x7d&&(_0x301730+=0x2,_0x599778=0x7e);const _0x1373c9=Buffer[_0x2a2a77(0x24d)](_0x405b6a?_0x215edf+_0x301730:_0x301730);return _0x1373c9[0x0]=_0x47ae95[_0x2a2a77(0x28f)]?_0x47ae95['opcode']|0x80:_0x47ae95[_0x2a2a77(0x17b)],_0x47ae95['rsv1']&&(_0x1373c9[0x0]|=0x40),_0x1373c9[0x1]=_0x599778,_0x599778===0x7e?_0x1373c9[_0x2a2a77(0xe9)](_0x215edf,0x2):_0x599778===0x7f&&(_0x1373c9[0x2]=_0x1373c9[0x3]=0x0,_0x1373c9[_0x2a2a77(0x20d)](_0x215edf,0x4,0x6)),_0x47ae95['mask']?(_0x1373c9[0x1]|=0x80,_0x1373c9[_0x301730-0x4]=_0x54f9fd[0x0],_0x1373c9[_0x301730-0x3]=_0x54f9fd[0x1],_0x1373c9[_0x301730-0x2]=_0x54f9fd[0x2],_0x1373c9[_0x301730-0x1]=_0x54f9fd[0x3],_0x47e803?[_0x1373c9,_0x20fb61]:_0x405b6a?(_0x1e71fd(_0x20fb61,_0x54f9fd,_0x1373c9,_0x301730,_0x215edf),[_0x1373c9]):(_0x1e71fd(_0x20fb61,_0x54f9fd,_0x20fb61,0x0,_0x215edf),[_0x1373c9,_0x20fb61])):[_0x1373c9,_0x20fb61];}['close'](_0x36bfed,_0x15f10e,_0x97728e,_0x3560fb){const _0x2317b6=_0x12b603;let _0x3a1ebc;if(_0x36bfed===void 0x0)_0x3a1ebc=_0x170ba4;else{if(typeof _0x36bfed!='number'||!_0x1958ae(_0x36bfed))throw new TypeError(_0x2317b6(0x1b4));if(_0x15f10e===void 0x0||!_0x15f10e['length'])_0x3a1ebc=Buffer[_0x2317b6(0x24d)](0x2),_0x3a1ebc[_0x2317b6(0xe9)](_0x36bfed,0x0);else{const _0x33a5a4=Buffer[_0x2317b6(0x20c)](_0x15f10e);if(_0x33a5a4>0x7b)throw new RangeError(_0x2317b6(0x16d));_0x3a1ebc=Buffer[_0x2317b6(0x24d)](0x2+_0x33a5a4),_0x3a1ebc[_0x2317b6(0xe9)](_0x36bfed,0x0),typeof _0x15f10e==_0x2317b6(0x25e)?_0x3a1ebc[_0x2317b6(0xf0)](_0x15f10e,0x2):_0x3a1ebc[_0x2317b6(0x1bb)](_0x15f10e,0x2);}}const _0x4944b0={[_0x1bb4d8]:_0x3a1ebc['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x97728e,'maskBuffer':this[_0x2317b6(0x16a)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2317b6(0x1c2)]!==_0x3d0406?this[_0x2317b6(0x115)]([this[_0x2317b6(0xf3)],_0x3a1ebc,!0x1,_0x4944b0,_0x3560fb]):this[_0x2317b6(0x276)](_0x4d541a[_0x2317b6(0x140)](_0x3a1ebc,_0x4944b0),_0x3560fb);}['ping'](_0x522d85,_0x3325b5,_0x33081e){const _0x1fc531=_0x12b603;let _0x4d2583,_0x44b59c;if(typeof _0x522d85==_0x1fc531(0x25e)?(_0x4d2583=Buffer[_0x1fc531(0x20c)](_0x522d85),_0x44b59c=!0x1):_0x33e45f(_0x522d85)?(_0x4d2583=_0x522d85[_0x1fc531(0x1d3)],_0x44b59c=!0x1):(_0x522d85=_0xaf0291(_0x522d85),_0x4d2583=_0x522d85['length'],_0x44b59c=_0xaf0291[_0x1fc531(0x15f)]),_0x4d2583>0x7d)throw new RangeError(_0x1fc531(0x1b6));const _0x302135={[_0x1bb4d8]:_0x4d2583,'fin':!0x0,'generateMask':this[_0x1fc531(0x2a6)],'mask':_0x3325b5,'maskBuffer':this[_0x1fc531(0x16a)],'opcode':0x9,'readOnly':_0x44b59c,'rsv1':!0x1};_0x33e45f(_0x522d85)?this[_0x1fc531(0x1c2)]!==_0x3d0406?this[_0x1fc531(0x115)]([this[_0x1fc531(0x256)],_0x522d85,!0x1,_0x302135,_0x33081e]):this['getBlobData'](_0x522d85,!0x1,_0x302135,_0x33081e):this['_state']!==_0x3d0406?this[_0x1fc531(0x115)]([this[_0x1fc531(0xf3)],_0x522d85,!0x1,_0x302135,_0x33081e]):this[_0x1fc531(0x276)](_0x4d541a[_0x1fc531(0x140)](_0x522d85,_0x302135),_0x33081e);}[_0x12b603(0x176)](_0x5480f6,_0x36d390,_0x57ca18){const _0x289bb3=_0x12b603;let _0x31ea30,_0xe972f2;if(typeof _0x5480f6==_0x289bb3(0x25e)?(_0x31ea30=Buffer[_0x289bb3(0x20c)](_0x5480f6),_0xe972f2=!0x1):_0x33e45f(_0x5480f6)?(_0x31ea30=_0x5480f6[_0x289bb3(0x1d3)],_0xe972f2=!0x1):(_0x5480f6=_0xaf0291(_0x5480f6),_0x31ea30=_0x5480f6[_0x289bb3(0x18d)],_0xe972f2=_0xaf0291[_0x289bb3(0x15f)]),_0x31ea30>0x7d)throw new RangeError(_0x289bb3(0x1b6));const _0x2efd2b={[_0x1bb4d8]:_0x31ea30,'fin':!0x0,'generateMask':this[_0x289bb3(0x2a6)],'mask':_0x36d390,'maskBuffer':this[_0x289bb3(0x16a)],'opcode':0xa,'readOnly':_0xe972f2,'rsv1':!0x1};_0x33e45f(_0x5480f6)?this[_0x289bb3(0x1c2)]!==_0x3d0406?this['enqueue']([this['getBlobData'],_0x5480f6,!0x1,_0x2efd2b,_0x57ca18]):this[_0x289bb3(0x256)](_0x5480f6,!0x1,_0x2efd2b,_0x57ca18):this[_0x289bb3(0x1c2)]!==_0x3d0406?this[_0x289bb3(0x115)]([this['dispatch'],_0x5480f6,!0x1,_0x2efd2b,_0x57ca18]):this[_0x289bb3(0x276)](_0x4d541a['frame'](_0x5480f6,_0x2efd2b),_0x57ca18);}[_0x12b603(0x216)](_0x5392a9,_0x1e92fd,_0x1e8b23){const _0x206a78=_0x12b603,_0xdbd093=this[_0x206a78(0x21b)][_0x5021f6['extensionName']];let _0x54edd4=_0x1e92fd[_0x206a78(0x27e)]?0x2:0x1,_0x48b3db=_0x1e92fd[_0x206a78(0x284)],_0x1eb28d,_0x42b169;typeof _0x5392a9==_0x206a78(0x25e)?(_0x1eb28d=Buffer[_0x206a78(0x20c)](_0x5392a9),_0x42b169=!0x1):_0x33e45f(_0x5392a9)?(_0x1eb28d=_0x5392a9[_0x206a78(0x1d3)],_0x42b169=!0x1):(_0x5392a9=_0xaf0291(_0x5392a9),_0x1eb28d=_0x5392a9[_0x206a78(0x18d)],_0x42b169=_0xaf0291['readOnly']),this[_0x206a78(0x255)]?(this[_0x206a78(0x255)]=!0x1,_0x48b3db&&_0xdbd093&&_0xdbd093[_0x206a78(0x249)][_0xdbd093[_0x206a78(0x1a7)]?_0x206a78(0x28a):'client_no_context_takeover']&&(_0x48b3db=_0x1eb28d>=_0xdbd093[_0x206a78(0xfa)]),this['_compress']=_0x48b3db):(_0x48b3db=!0x1,_0x54edd4=0x0),_0x1e92fd[_0x206a78(0x28f)]&&(this[_0x206a78(0x255)]=!0x0);const _0x15e1a7={[_0x1bb4d8]:_0x1eb28d,'fin':_0x1e92fd['fin'],'generateMask':this[_0x206a78(0x2a6)],'mask':_0x1e92fd['mask'],'maskBuffer':this[_0x206a78(0x16a)],'opcode':_0x54edd4,'readOnly':_0x42b169,'rsv1':_0x48b3db};_0x33e45f(_0x5392a9)?this[_0x206a78(0x1c2)]!==_0x3d0406?this[_0x206a78(0x115)]([this[_0x206a78(0x256)],_0x5392a9,this[_0x206a78(0xf1)],_0x15e1a7,_0x1e8b23]):this[_0x206a78(0x256)](_0x5392a9,this[_0x206a78(0xf1)],_0x15e1a7,_0x1e8b23):this[_0x206a78(0x1c2)]!==_0x3d0406?this[_0x206a78(0x115)]([this[_0x206a78(0xf3)],_0x5392a9,this[_0x206a78(0xf1)],_0x15e1a7,_0x1e8b23]):this[_0x206a78(0xf3)](_0x5392a9,this['_compress'],_0x15e1a7,_0x1e8b23);}[_0x12b603(0x256)](_0xd2729e,_0x571109,_0x49bfa1,_0x2b02da){const _0x19bcde=_0x12b603;this[_0x19bcde(0x17a)]+=_0x49bfa1[_0x1bb4d8],this['_state']=_0x298a4a,_0xd2729e[_0x19bcde(0x159)]()[_0x19bcde(0x222)](_0xdf3bd4=>{const _0x10bcfd=_0x19bcde;if(this[_0x10bcfd(0x178)][_0x10bcfd(0x12d)]){const _0x40e2c9=new Error(_0x10bcfd(0x215));process[_0x10bcfd(0x13b)](_0x14ec40,this,_0x40e2c9,_0x2b02da);return;}this[_0x10bcfd(0x17a)]-=_0x49bfa1[_0x1bb4d8];const _0x5c0a2d=_0xaf0291(_0xdf3bd4);_0x571109?this['dispatch'](_0x5c0a2d,_0x571109,_0x49bfa1,_0x2b02da):(this[_0x10bcfd(0x1c2)]=_0x3d0406,this[_0x10bcfd(0x276)](_0x4d541a[_0x10bcfd(0x140)](_0x5c0a2d,_0x49bfa1),_0x2b02da),this[_0x10bcfd(0xff)]());})['catch'](_0x355a5a=>{const _0x1ddaf1=_0x19bcde;process[_0x1ddaf1(0x13b)](_0x37aea1,this,_0x355a5a,_0x2b02da);});}[_0x12b603(0xf3)](_0x40e752,_0x2273a0,_0x5eba76,_0x3ba044){const _0x118951=_0x12b603;if(!_0x2273a0){this[_0x118951(0x276)](_0x4d541a[_0x118951(0x140)](_0x40e752,_0x5eba76),_0x3ba044);return;}const _0x5461ee=this['_extensions'][_0x5021f6[_0x118951(0x1ab)]];this[_0x118951(0x17a)]+=_0x5eba76[_0x1bb4d8],this[_0x118951(0x1c2)]=_0x4da8c9,_0x5461ee[_0x118951(0x284)](_0x40e752,_0x5eba76[_0x118951(0x28f)],(_0x327115,_0x5dee9)=>{const _0x1b6bf5=_0x118951;if(this['_socket'][_0x1b6bf5(0x12d)]){const _0x1c5357=new Error(_0x1b6bf5(0x1a3));_0x14ec40(this,_0x1c5357,_0x3ba044);return;}this[_0x1b6bf5(0x17a)]-=_0x5eba76[_0x1bb4d8],this[_0x1b6bf5(0x1c2)]=_0x3d0406,_0x5eba76[_0x1b6bf5(0x15f)]=!0x1,this[_0x1b6bf5(0x276)](_0x4d541a['frame'](_0x5dee9,_0x5eba76),_0x3ba044),this[_0x1b6bf5(0xff)]();});}[_0x12b603(0xff)](){const _0x1461d4=_0x12b603;for(;this[_0x1461d4(0x1c2)]===_0x3d0406&&this[_0x1461d4(0x10d)][_0x1461d4(0x18d)];){const _0x4fbaee=this[_0x1461d4(0x10d)][_0x1461d4(0x17d)]();this[_0x1461d4(0x17a)]-=_0x4fbaee[0x3][_0x1bb4d8],Reflect[_0x1461d4(0x1f2)](_0x4fbaee[0x0],this,_0x4fbaee[_0x1461d4(0x1a5)](0x1));}}[_0x12b603(0x115)](_0x915ac7){const _0x1f8f48=_0x12b603;this[_0x1f8f48(0x17a)]+=_0x915ac7[0x3][_0x1bb4d8],this[_0x1f8f48(0x10d)][_0x1f8f48(0x20e)](_0x915ac7);}[_0x12b603(0x276)](_0x172da2,_0x52fbfd){const _0x4d5efa=_0x12b603;_0x172da2[_0x4d5efa(0x18d)]===0x2?(this[_0x4d5efa(0x178)]['cork'](),this['_socket'][_0x4d5efa(0xf0)](_0x172da2[0x0]),this[_0x4d5efa(0x178)][_0x4d5efa(0xf0)](_0x172da2[0x1],_0x52fbfd),this['_socket'][_0x4d5efa(0x277)]()):this[_0x4d5efa(0x178)][_0x4d5efa(0xf0)](_0x172da2[0x0],_0x52fbfd);}}Ee=_0x4d541a;function _0x14ec40(_0x4fdea0,_0x14ac50,_0x351528){const _0x20b60d=_0x12b603;typeof _0x351528==_0x20b60d(0x261)&&_0x351528(_0x14ac50);for(let _0x41ce9a=0x0;_0x41ce9a<_0x4fdea0[_0x20b60d(0x10d)][_0x20b60d(0x18d)];_0x41ce9a++){const _0x27f9d9=_0x4fdea0[_0x20b60d(0x10d)][_0x41ce9a],_0x53b3f9=_0x27f9d9[_0x27f9d9[_0x20b60d(0x18d)]-0x1];typeof _0x53b3f9==_0x20b60d(0x261)&&_0x53b3f9(_0x14ac50);}}function _0x37aea1(_0x284d8e,_0x6b5ca4,_0x19423e){_0x14ec40(_0x284d8e,_0x6b5ca4,_0x19423e),_0x284d8e['onerror'](_0x6b5ca4);}return Ee;}var xe,Ze;function It(){const _0x1fa40e=_0x1dd7e9;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4ce9ca,kListener:_0x429ff5}=H(),_0x5dc260=Symbol(_0x1fa40e(0x13e)),_0x29cbef=Symbol('kData'),_0x37ef15=Symbol('kError'),_0xfa02e5=Symbol(_0x1fa40e(0x124)),_0x43c895=Symbol(_0x1fa40e(0x23f)),_0xf61e03=Symbol(_0x1fa40e(0x1e0)),_0x5acc8e=Symbol(_0x1fa40e(0x211)),_0x3828bf=Symbol('kWasClean');class _0x29f8a9{constructor(_0x40f412){this[_0xf61e03]=null,this[_0x5acc8e]=_0x40f412;}get[_0x1fa40e(0x1c6)](){return this[_0xf61e03];}get[_0x1fa40e(0x1c8)](){return this[_0x5acc8e];}}Object['defineProperty'](_0x29f8a9[_0x1fa40e(0xe7)],_0x1fa40e(0x1c6),{'enumerable':!0x0}),Object[_0x1fa40e(0x184)](_0x29f8a9[_0x1fa40e(0xe7)],_0x1fa40e(0x1c8),{'enumerable':!0x0});class _0x1113ba extends _0x29f8a9{constructor(_0x560bb7,_0x3c9d1e={}){const _0x184ad2=_0x1fa40e;super(_0x560bb7),this[_0x5dc260]=_0x3c9d1e[_0x184ad2(0x1df)]===void 0x0?0x0:_0x3c9d1e['code'],this[_0x43c895]=_0x3c9d1e[_0x184ad2(0x196)]===void 0x0?'':_0x3c9d1e[_0x184ad2(0x196)],this[_0x3828bf]=_0x3c9d1e[_0x184ad2(0x297)]===void 0x0?!0x1:_0x3c9d1e[_0x184ad2(0x297)];}get[_0x1fa40e(0x1df)](){return this[_0x5dc260];}get['reason'](){return this[_0x43c895];}get[_0x1fa40e(0x297)](){return this[_0x3828bf];}}Object['defineProperty'](_0x1113ba[_0x1fa40e(0xe7)],_0x1fa40e(0x1df),{'enumerable':!0x0}),Object[_0x1fa40e(0x184)](_0x1113ba['prototype'],_0x1fa40e(0x196),{'enumerable':!0x0}),Object['defineProperty'](_0x1113ba[_0x1fa40e(0xe7)],_0x1fa40e(0x297),{'enumerable':!0x0});class _0xcfb454 extends _0x29f8a9{constructor(_0x338317,_0xaa50a7={}){const _0x3a364a=_0x1fa40e;super(_0x338317),this[_0x37ef15]=_0xaa50a7['error']===void 0x0?null:_0xaa50a7['error'],this[_0xfa02e5]=_0xaa50a7[_0x3a364a(0xee)]===void 0x0?'':_0xaa50a7['message'];}get[_0x1fa40e(0x289)](){return this[_0x37ef15];}get[_0x1fa40e(0xee)](){return this[_0xfa02e5];}}Object[_0x1fa40e(0x184)](_0xcfb454['prototype'],_0x1fa40e(0x289),{'enumerable':!0x0}),Object[_0x1fa40e(0x184)](_0xcfb454[_0x1fa40e(0xe7)],_0x1fa40e(0xee),{'enumerable':!0x0});class _0x1cd423 extends _0x29f8a9{constructor(_0x396a61,_0x37a6c0={}){const _0x10277c=_0x1fa40e;super(_0x396a61),this[_0x29cbef]=_0x37a6c0[_0x10277c(0x26c)]===void 0x0?null:_0x37a6c0[_0x10277c(0x26c)];}get[_0x1fa40e(0x26c)](){return this[_0x29cbef];}}Object[_0x1fa40e(0x184)](_0x1cd423[_0x1fa40e(0xe7)],_0x1fa40e(0x26c),{'enumerable':!0x0}),xe={'CloseEvent':_0x1113ba,'ErrorEvent':_0xcfb454,'Event':_0x29f8a9,'EventTarget':{'addEventListener'(_0x2db510,_0x7bafa6,_0x4d0155={}){const _0x132fba=_0x1fa40e;for(const _0x3ad255 of this[_0x132fba(0x25b)](_0x2db510))if(!_0x4d0155[_0x4ce9ca]&&_0x3ad255[_0x429ff5]===_0x7bafa6&&!_0x3ad255[_0x4ce9ca])return;let _0xea6a4e;if(_0x2db510==='message')_0xea6a4e=function(_0x17ec0b,_0x1400ed){const _0x460e76=_0x132fba,_0x3a124d=new _0x1cd423(_0x460e76(0xee),{'data':_0x1400ed?_0x17ec0b:_0x17ec0b[_0x460e76(0x26b)]()});_0x3a124d[_0xf61e03]=this,_0x2b493e(_0x7bafa6,this,_0x3a124d);};else{if(_0x2db510===_0x132fba(0x2a2))_0xea6a4e=function(_0x332ccc,_0xa33cbd){const _0x5f01bf=_0x132fba,_0x41482d=new _0x1113ba(_0x5f01bf(0x2a2),{'code':_0x332ccc,'reason':_0xa33cbd[_0x5f01bf(0x26b)](),'wasClean':this['_closeFrameReceived']&&this[_0x5f01bf(0x17c)]});_0x41482d[_0xf61e03]=this,_0x2b493e(_0x7bafa6,this,_0x41482d);};else{if(_0x2db510==='error')_0xea6a4e=function(_0x2efb42){const _0x4340d5=_0x132fba,_0x201443=new _0xcfb454('error',{'error':_0x2efb42,'message':_0x2efb42[_0x4340d5(0xee)]});_0x201443[_0xf61e03]=this,_0x2b493e(_0x7bafa6,this,_0x201443);};else{if(_0x2db510===_0x132fba(0x224))_0xea6a4e=function(){const _0x32ffa9=_0x132fba,_0x597200=new _0x29f8a9(_0x32ffa9(0x224));_0x597200[_0xf61e03]=this,_0x2b493e(_0x7bafa6,this,_0x597200);};else return;}}}_0xea6a4e[_0x4ce9ca]=!!_0x4d0155[_0x4ce9ca],_0xea6a4e[_0x429ff5]=_0x7bafa6,_0x4d0155[_0x132fba(0x132)]?this[_0x132fba(0x132)](_0x2db510,_0xea6a4e):this['on'](_0x2db510,_0xea6a4e);},'removeEventListener'(_0x215243,_0x53041c){const _0x2a7a0f=_0x1fa40e;for(const _0x5943b8 of this[_0x2a7a0f(0x25b)](_0x215243))if(_0x5943b8[_0x429ff5]===_0x53041c&&!_0x5943b8[_0x4ce9ca]){this[_0x2a7a0f(0x105)](_0x215243,_0x5943b8);break;}}},'MessageEvent':_0x1cd423};function _0x2b493e(_0x5ba933,_0x2f2c1c,_0x2e7191){const _0xb43d9a=_0x1fa40e;typeof _0x5ba933==_0xb43d9a(0x294)&&_0x5ba933[_0xb43d9a(0x180)]?_0x5ba933['handleEvent'][_0xb43d9a(0x298)](_0x5ba933,_0x2e7191):_0x5ba933['call'](_0x2f2c1c,_0x2e7191);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x39eb77}=ae();function _0x3181ac(_0xeca117,_0xb9a5ff,_0x55abf5){const _0x7caa5b=_0x17e6;_0xeca117[_0xb9a5ff]===void 0x0?_0xeca117[_0xb9a5ff]=[_0x55abf5]:_0xeca117[_0xb9a5ff][_0x7caa5b(0x20e)](_0x55abf5);}function _0x495acb(_0xda1d9c){const _0x322f3b=_0x17e6,_0x357de6=Object[_0x322f3b(0x119)](null);let _0x5c83a3=Object['create'](null),_0x529999=!0x1,_0xd493ef=!0x1,_0x27d079=!0x1,_0x4bf769,_0x3c5847,_0x3fcf72=-0x1,_0x2381c7=-0x1,_0x5166a7=-0x1,_0x5080c4=0x0;for(;_0x5080c4<_0xda1d9c['length'];_0x5080c4++)if(_0x2381c7=_0xda1d9c[_0x322f3b(0x12e)](_0x5080c4),_0x4bf769===void 0x0){if(_0x5166a7===-0x1&&_0x39eb77[_0x2381c7]===0x1)_0x3fcf72===-0x1&&(_0x3fcf72=_0x5080c4);else{if(_0x5080c4!==0x0&&(_0x2381c7===0x20||_0x2381c7===0x9))_0x5166a7===-0x1&&_0x3fcf72!==-0x1&&(_0x5166a7=_0x5080c4);else{if(_0x2381c7===0x3b||_0x2381c7===0x2c){if(_0x3fcf72===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5080c4);_0x5166a7===-0x1&&(_0x5166a7=_0x5080c4);const _0xb5024c=_0xda1d9c[_0x322f3b(0x1a5)](_0x3fcf72,_0x5166a7);_0x2381c7===0x2c?(_0x3181ac(_0x357de6,_0xb5024c,_0x5c83a3),_0x5c83a3=Object['create'](null)):_0x4bf769=_0xb5024c,_0x3fcf72=_0x5166a7=-0x1;}else throw new SyntaxError(_0x322f3b(0x1a1)+_0x5080c4);}}}else{if(_0x3c5847===void 0x0){if(_0x5166a7===-0x1&&_0x39eb77[_0x2381c7]===0x1)_0x3fcf72===-0x1&&(_0x3fcf72=_0x5080c4);else{if(_0x2381c7===0x20||_0x2381c7===0x9)_0x5166a7===-0x1&&_0x3fcf72!==-0x1&&(_0x5166a7=_0x5080c4);else{if(_0x2381c7===0x3b||_0x2381c7===0x2c){if(_0x3fcf72===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5080c4);_0x5166a7===-0x1&&(_0x5166a7=_0x5080c4),_0x3181ac(_0x5c83a3,_0xda1d9c['slice'](_0x3fcf72,_0x5166a7),!0x0),_0x2381c7===0x2c&&(_0x3181ac(_0x357de6,_0x4bf769,_0x5c83a3),_0x5c83a3=Object[_0x322f3b(0x119)](null),_0x4bf769=void 0x0),_0x3fcf72=_0x5166a7=-0x1;}else{if(_0x2381c7===0x3d&&_0x3fcf72!==-0x1&&_0x5166a7===-0x1)_0x3c5847=_0xda1d9c[_0x322f3b(0x1a5)](_0x3fcf72,_0x5080c4),_0x3fcf72=_0x5166a7=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5080c4);}}}}else{if(_0xd493ef){if(_0x39eb77[_0x2381c7]!==0x1)throw new SyntaxError(_0x322f3b(0x1a1)+_0x5080c4);_0x3fcf72===-0x1?_0x3fcf72=_0x5080c4:_0x529999||(_0x529999=!0x0),_0xd493ef=!0x1;}else{if(_0x27d079){if(_0x39eb77[_0x2381c7]===0x1)_0x3fcf72===-0x1&&(_0x3fcf72=_0x5080c4);else{if(_0x2381c7===0x22&&_0x3fcf72!==-0x1)_0x27d079=!0x1,_0x5166a7=_0x5080c4;else{if(_0x2381c7===0x5c)_0xd493ef=!0x0;else throw new SyntaxError(_0x322f3b(0x1a1)+_0x5080c4);}}}else{if(_0x2381c7===0x22&&_0xda1d9c['charCodeAt'](_0x5080c4-0x1)===0x3d)_0x27d079=!0x0;else{if(_0x5166a7===-0x1&&_0x39eb77[_0x2381c7]===0x1)_0x3fcf72===-0x1&&(_0x3fcf72=_0x5080c4);else{if(_0x3fcf72!==-0x1&&(_0x2381c7===0x20||_0x2381c7===0x9))_0x5166a7===-0x1&&(_0x5166a7=_0x5080c4);else{if(_0x2381c7===0x3b||_0x2381c7===0x2c){if(_0x3fcf72===-0x1)throw new SyntaxError(_0x322f3b(0x1a1)+_0x5080c4);_0x5166a7===-0x1&&(_0x5166a7=_0x5080c4);let _0x5bfac6=_0xda1d9c[_0x322f3b(0x1a5)](_0x3fcf72,_0x5166a7);_0x529999&&(_0x5bfac6=_0x5bfac6[_0x322f3b(0x163)](/\\/g,''),_0x529999=!0x1),_0x3181ac(_0x5c83a3,_0x3c5847,_0x5bfac6),_0x2381c7===0x2c&&(_0x3181ac(_0x357de6,_0x4bf769,_0x5c83a3),_0x5c83a3=Object[_0x322f3b(0x119)](null),_0x4bf769=void 0x0),_0x3c5847=void 0x0,_0x3fcf72=_0x5166a7=-0x1;}else throw new SyntaxError(_0x322f3b(0x1a1)+_0x5080c4);}}}}}}}if(_0x3fcf72===-0x1||_0x27d079||_0x2381c7===0x20||_0x2381c7===0x9)throw new SyntaxError(_0x322f3b(0x290));_0x5166a7===-0x1&&(_0x5166a7=_0x5080c4);const _0x532cfa=_0xda1d9c[_0x322f3b(0x1a5)](_0x3fcf72,_0x5166a7);return _0x4bf769===void 0x0?_0x3181ac(_0x357de6,_0x532cfa,_0x5c83a3):(_0x3c5847===void 0x0?_0x3181ac(_0x5c83a3,_0x532cfa,!0x0):_0x529999?_0x3181ac(_0x5c83a3,_0x3c5847,_0x532cfa[_0x322f3b(0x163)](/\\/g,'')):_0x3181ac(_0x5c83a3,_0x3c5847,_0x532cfa),_0x3181ac(_0x357de6,_0x4bf769,_0x5c83a3)),_0x357de6;}function _0x36b6ab(_0x3ea864){const _0x506dad=_0x17e6;return Object[_0x506dad(0x141)](_0x3ea864)[_0x506dad(0x1ad)](_0x15af33=>{const _0x2d267e=_0x506dad;let _0x56f09f=_0x3ea864[_0x15af33];return Array['isArray'](_0x56f09f)||(_0x56f09f=[_0x56f09f]),_0x56f09f[_0x2d267e(0x1ad)](_0x519501=>[_0x15af33][_0x2d267e(0xfc)](Object[_0x2d267e(0x141)](_0x519501)[_0x2d267e(0x1ad)](_0x429667=>{const _0x174def=_0x2d267e;let _0x588d70=_0x519501[_0x429667];return Array[_0x174def(0x165)](_0x588d70)||(_0x588d70=[_0x588d70]),_0x588d70['map'](_0x1fcf66=>_0x1fcf66===!0x0?_0x429667:_0x429667+'='+_0x1fcf66)[_0x174def(0x1e3)](';\x20');}))[_0x2d267e(0x1e3)](';\x20'))['join'](',\x20');})[_0x506dad(0x1e3)](',\x20');}return be={'format':_0x36b6ab,'parse':_0x495acb},be;}var we,Je;function Pe(){const _0x423671=_0x1dd7e9;if(Je)return we;Je=0x1;const _0x4a36ca=nt,_0x40a8b4=vt,_0x59280b=ot,_0x7ba967=St,_0x40c645=Et,{randomBytes:_0x369a1c,createHash:_0x29cff9}=Le,{Duplex:_0x143e4b,Readable:_0x4ab31e}=oe,{URL:_0x2c60c1}=xt,_0x545a87=he(),_0x465af2=lt(),_0x4d7d58=ft(),{isBlob:_0x87565d}=ae(),{BINARY_TYPES:_0x1cd22e,EMPTY_BUFFER:_0x5b174b,GUID:_0x260e22,kForOnEventAttribute:_0x52d7a3,kListener:_0x364314,kStatusCode:_0x145f11,kWebSocket:_0x4c292a,NOOP:_0x489ce4}=H(),{EventTarget:{addEventListener:_0x3d8fd4,removeEventListener:_0x292e3b}}=It(),{format:_0x298f82,parse:_0x39f292}=ct(),{toBuffer:_0x246812}=ce(),_0x282dbd=0x1e*0x3e8,_0x592436=Symbol(_0x423671(0x120)),_0x355679=[0x8,0xd],_0x54d8a1=[_0x423671(0x1ae),_0x423671(0x14b),_0x423671(0x19c),'CLOSED'],_0xcd2f6b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55a0ad extends _0x4a36ca{constructor(_0x42e88d,_0x7120c4,_0xecd42c){const _0x5014e5=_0x423671;super(),this[_0x5014e5(0x2a9)]=_0x1cd22e[0x0],this['_closeCode']=0x3ee,this[_0x5014e5(0xef)]=!0x1,this[_0x5014e5(0x17c)]=!0x1,this[_0x5014e5(0x1e4)]=_0x5b174b,this[_0x5014e5(0x1e6)]=null,this[_0x5014e5(0x1dd)]=!0x1,this[_0x5014e5(0x21b)]={},this[_0x5014e5(0x1f8)]=!0x1,this[_0x5014e5(0x296)]='',this[_0x5014e5(0x145)]=_0x55a0ad[_0x5014e5(0x1ae)],this[_0x5014e5(0x16e)]=null,this[_0x5014e5(0x131)]=null,this[_0x5014e5(0x178)]=null,_0x42e88d!==null?(this[_0x5014e5(0x1b9)]=0x0,this[_0x5014e5(0x1a7)]=!0x1,this['_redirects']=0x0,_0x7120c4===void 0x0?_0x7120c4=[]:Array[_0x5014e5(0x165)](_0x7120c4)||(typeof _0x7120c4==_0x5014e5(0x294)&&_0x7120c4!==null?(_0xecd42c=_0x7120c4,_0x7120c4=[]):_0x7120c4=[_0x7120c4]),_0x17f114(this,_0x42e88d,_0x7120c4,_0xecd42c)):(this[_0x5014e5(0x1cf)]=_0xecd42c[_0x5014e5(0x117)],this['_isServer']=!0x0);}get[_0x423671(0x143)](){return this['_binaryType'];}set[_0x423671(0x143)](_0x58d221){const _0x3a6019=_0x423671;_0x1cd22e[_0x3a6019(0x154)](_0x58d221)&&(this[_0x3a6019(0x2a9)]=_0x58d221,this[_0x3a6019(0x16e)]&&(this[_0x3a6019(0x16e)]['_binaryType']=_0x58d221));}get['bufferedAmount'](){const _0x1aa846=_0x423671;return this[_0x1aa846(0x178)]?this[_0x1aa846(0x178)]['_writableState'][_0x1aa846(0x18d)]+this[_0x1aa846(0x131)][_0x1aa846(0x17a)]:this[_0x1aa846(0x1b9)];}get[_0x423671(0x13c)](){const _0xf17b62=_0x423671;return Object[_0xf17b62(0x141)](this['_extensions'])['join']();}get[_0x423671(0x25c)](){const _0x4ce1d7=_0x423671;return this[_0x4ce1d7(0x1f8)];}get[_0x423671(0x147)](){return null;}get[_0x423671(0x177)](){return null;}get['onopen'](){return null;}get[_0x423671(0x268)](){return null;}get[_0x423671(0x201)](){return this['_protocol'];}get[_0x423671(0x29d)](){const _0x4fd437=_0x423671;return this[_0x4fd437(0x145)];}get[_0x423671(0x22f)](){const _0x23503b=_0x423671;return this[_0x23503b(0x241)];}[_0x423671(0x1fa)](_0x4c71d8,_0x296f37,_0xb28a62){const _0x23f6f1=_0x423671,_0x4ff097=new _0x465af2({'allowSynchronousEvents':_0xb28a62['allowSynchronousEvents'],'binaryType':this[_0x23f6f1(0x143)],'extensions':this[_0x23f6f1(0x21b)],'isServer':this['_isServer'],'maxPayload':_0xb28a62[_0x23f6f1(0x281)],'skipUTF8Validation':_0xb28a62['skipUTF8Validation']}),_0xb1373d=new _0x4d7d58(_0x4c71d8,this[_0x23f6f1(0x21b)],_0xb28a62[_0x23f6f1(0x1ff)]);this[_0x23f6f1(0x16e)]=_0x4ff097,this[_0x23f6f1(0x131)]=_0xb1373d,this[_0x23f6f1(0x178)]=_0x4c71d8,_0x4ff097[_0x4c292a]=this,_0xb1373d[_0x4c292a]=this,_0x4c71d8[_0x4c292a]=this,_0x4ff097['on'](_0x23f6f1(0x118),_0x46020c),_0x4ff097['on'](_0x23f6f1(0x19e),_0x14565b),_0x4ff097['on']('error',_0x439214),_0x4ff097['on'](_0x23f6f1(0xee),_0x50ed67),_0x4ff097['on'](_0x23f6f1(0x125),_0x5e4481),_0x4ff097['on'](_0x23f6f1(0x176),_0xc0740f),_0xb1373d[_0x23f6f1(0x177)]=_0x25acc2,_0x4c71d8['setTimeout']&&_0x4c71d8['setTimeout'](0x0),_0x4c71d8[_0x23f6f1(0x1f6)]&&_0x4c71d8['setNoDelay'](),_0x296f37[_0x23f6f1(0x18d)]>0x0&&_0x4c71d8['unshift'](_0x296f37),_0x4c71d8['on'](_0x23f6f1(0x2a2),_0x19758c),_0x4c71d8['on']('data',_0x561f3a),_0x4c71d8['on'](_0x23f6f1(0x144),_0x5953db),_0x4c71d8['on'](_0x23f6f1(0x289),_0x21aa6f),this[_0x23f6f1(0x145)]=_0x55a0ad[_0x23f6f1(0x14b)],this[_0x23f6f1(0x29b)](_0x23f6f1(0x224));}['emitClose'](){const _0x551f7f=_0x423671;if(!this[_0x551f7f(0x178)]){this[_0x551f7f(0x145)]=_0x55a0ad['CLOSED'],this[_0x551f7f(0x29b)](_0x551f7f(0x2a2),this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x545a87[_0x551f7f(0x1ab)]]&&this[_0x551f7f(0x21b)][_0x545a87[_0x551f7f(0x1ab)]]['cleanup'](),this[_0x551f7f(0x16e)]['removeAllListeners'](),this[_0x551f7f(0x145)]=_0x55a0ad['CLOSED'],this[_0x551f7f(0x29b)](_0x551f7f(0x2a2),this[_0x551f7f(0x269)],this[_0x551f7f(0x1e4)]);}['close'](_0x4613b5,_0x457949){const _0x34841a=_0x423671;if(this[_0x34841a(0x29d)]!==_0x55a0ad['CLOSED']){if(this['readyState']===_0x55a0ad[_0x34841a(0x1ae)]){_0x125650(this,this[_0x34841a(0x248)],_0x34841a(0x259));return;}if(this[_0x34841a(0x29d)]===_0x55a0ad[_0x34841a(0x19c)]){this[_0x34841a(0x17c)]&&(this[_0x34841a(0xef)]||this[_0x34841a(0x16e)]['_writableState']['errorEmitted'])&&this[_0x34841a(0x178)]['end']();return;}this[_0x34841a(0x145)]=_0x55a0ad[_0x34841a(0x19c)],this['_sender'][_0x34841a(0x2a2)](_0x4613b5,_0x457949,!this[_0x34841a(0x1a7)],_0x19f0f7=>{const _0x2c0085=_0x34841a;_0x19f0f7||(this['_closeFrameSent']=!0x0,(this[_0x2c0085(0xef)]||this[_0x2c0085(0x16e)][_0x2c0085(0x130)][_0x2c0085(0x213)])&&this[_0x2c0085(0x178)][_0x2c0085(0x144)]());}),_0x183021(this);}}[_0x423671(0x23d)](){const _0x131d31=_0x423671;this[_0x131d31(0x29d)]===_0x55a0ad[_0x131d31(0x1ae)]||this[_0x131d31(0x29d)]===_0x55a0ad[_0x131d31(0x24c)]||(this['_paused']=!0x0,this[_0x131d31(0x178)][_0x131d31(0x23d)]());}[_0x423671(0x125)](_0x2bb5f1,_0x48a47a,_0x3ae5fd){const _0x43658e=_0x423671;if(this[_0x43658e(0x29d)]===_0x55a0ad[_0x43658e(0x1ae)])throw new Error(_0x43658e(0x18c));if(typeof _0x2bb5f1==_0x43658e(0x261)?(_0x3ae5fd=_0x2bb5f1,_0x2bb5f1=_0x48a47a=void 0x0):typeof _0x48a47a==_0x43658e(0x261)&&(_0x3ae5fd=_0x48a47a,_0x48a47a=void 0x0),typeof _0x2bb5f1==_0x43658e(0x168)&&(_0x2bb5f1=_0x2bb5f1[_0x43658e(0x26b)]()),this[_0x43658e(0x29d)]!==_0x55a0ad['OPEN']){_0x32fd33(this,_0x2bb5f1,_0x3ae5fd);return;}_0x48a47a===void 0x0&&(_0x48a47a=!this[_0x43658e(0x1a7)]),this[_0x43658e(0x131)][_0x43658e(0x125)](_0x2bb5f1||_0x5b174b,_0x48a47a,_0x3ae5fd);}[_0x423671(0x176)](_0x4c8332,_0x4e63b7,_0x34aedc){const _0x47b32b=_0x423671;if(this[_0x47b32b(0x29d)]===_0x55a0ad[_0x47b32b(0x1ae)])throw new Error(_0x47b32b(0x18c));if(typeof _0x4c8332==_0x47b32b(0x261)?(_0x34aedc=_0x4c8332,_0x4c8332=_0x4e63b7=void 0x0):typeof _0x4e63b7==_0x47b32b(0x261)&&(_0x34aedc=_0x4e63b7,_0x4e63b7=void 0x0),typeof _0x4c8332==_0x47b32b(0x168)&&(_0x4c8332=_0x4c8332[_0x47b32b(0x26b)]()),this[_0x47b32b(0x29d)]!==_0x55a0ad['OPEN']){_0x32fd33(this,_0x4c8332,_0x34aedc);return;}_0x4e63b7===void 0x0&&(_0x4e63b7=!this[_0x47b32b(0x1a7)]),this[_0x47b32b(0x131)][_0x47b32b(0x176)](_0x4c8332||_0x5b174b,_0x4e63b7,_0x34aedc);}[_0x423671(0x18e)](){const _0x3ae4c0=_0x423671;this['readyState']===_0x55a0ad[_0x3ae4c0(0x1ae)]||this[_0x3ae4c0(0x29d)]===_0x55a0ad[_0x3ae4c0(0x24c)]||(this[_0x3ae4c0(0x1f8)]=!0x1,this['_receiver'][_0x3ae4c0(0x130)][_0x3ae4c0(0x21a)]||this[_0x3ae4c0(0x178)][_0x3ae4c0(0x18e)]());}[_0x423671(0x216)](_0x72d633,_0x3e7b34,_0x5ea5ea){const _0x29fc7f=_0x423671;if(this[_0x29fc7f(0x29d)]===_0x55a0ad[_0x29fc7f(0x1ae)])throw new Error(_0x29fc7f(0x18c));if(typeof _0x3e7b34==_0x29fc7f(0x261)&&(_0x5ea5ea=_0x3e7b34,_0x3e7b34={}),typeof _0x72d633=='number'&&(_0x72d633=_0x72d633[_0x29fc7f(0x26b)]()),this[_0x29fc7f(0x29d)]!==_0x55a0ad[_0x29fc7f(0x14b)]){_0x32fd33(this,_0x72d633,_0x5ea5ea);return;}const _0x102c7b={'binary':typeof _0x72d633!=_0x29fc7f(0x25e),'mask':!this[_0x29fc7f(0x1a7)],'compress':!0x0,'fin':!0x0,..._0x3e7b34};this[_0x29fc7f(0x21b)][_0x545a87[_0x29fc7f(0x1ab)]]||(_0x102c7b[_0x29fc7f(0x284)]=!0x1),this['_sender'][_0x29fc7f(0x216)](_0x72d633||_0x5b174b,_0x102c7b,_0x5ea5ea);}[_0x423671(0x1c5)](){const _0x274214=_0x423671;if(this['readyState']!==_0x55a0ad[_0x274214(0x24c)]){if(this[_0x274214(0x29d)]===_0x55a0ad[_0x274214(0x1ae)]){_0x125650(this,this[_0x274214(0x248)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x274214(0x178)]&&(this[_0x274214(0x145)]=_0x55a0ad['CLOSING'],this['_socket']['destroy']());}}}Object['defineProperty'](_0x55a0ad,_0x423671(0x1ae),{'enumerable':!0x0,'value':_0x54d8a1[_0x423671(0xfe)](_0x423671(0x1ae))}),Object['defineProperty'](_0x55a0ad[_0x423671(0xe7)],_0x423671(0x1ae),{'enumerable':!0x0,'value':_0x54d8a1[_0x423671(0xfe)](_0x423671(0x1ae))}),Object['defineProperty'](_0x55a0ad,_0x423671(0x14b),{'enumerable':!0x0,'value':_0x54d8a1['indexOf'](_0x423671(0x14b))}),Object[_0x423671(0x184)](_0x55a0ad[_0x423671(0xe7)],_0x423671(0x14b),{'enumerable':!0x0,'value':_0x54d8a1[_0x423671(0xfe)]('OPEN')}),Object['defineProperty'](_0x55a0ad,_0x423671(0x19c),{'enumerable':!0x0,'value':_0x54d8a1['indexOf'](_0x423671(0x19c))}),Object[_0x423671(0x184)](_0x55a0ad[_0x423671(0xe7)],_0x423671(0x19c),{'enumerable':!0x0,'value':_0x54d8a1['indexOf'](_0x423671(0x19c))}),Object[_0x423671(0x184)](_0x55a0ad,_0x423671(0x24c),{'enumerable':!0x0,'value':_0x54d8a1['indexOf'](_0x423671(0x24c))}),Object[_0x423671(0x184)](_0x55a0ad[_0x423671(0xe7)],_0x423671(0x24c),{'enumerable':!0x0,'value':_0x54d8a1['indexOf'](_0x423671(0x24c))}),[_0x423671(0x143),_0x423671(0x195),_0x423671(0x13c),_0x423671(0x25c),'protocol','readyState','url']['forEach'](_0x443d1f=>{const _0x2b22d3=_0x423671;Object[_0x2b22d3(0x184)](_0x55a0ad[_0x2b22d3(0xe7)],_0x443d1f,{'enumerable':!0x0});}),[_0x423671(0x224),'error',_0x423671(0x2a2),_0x423671(0xee)]['forEach'](_0x351594=>{Object['defineProperty'](_0x55a0ad['prototype'],'on'+_0x351594,{'enumerable':!0x0,'get'(){const _0x4e8f1e=_0x17e6;for(const _0x31bcf4 of this[_0x4e8f1e(0x25b)](_0x351594))if(_0x31bcf4[_0x52d7a3])return _0x31bcf4[_0x364314];return null;},'set'(_0x300014){const _0x2dd37e=_0x17e6;for(const _0x5414ef of this[_0x2dd37e(0x25b)](_0x351594))if(_0x5414ef[_0x52d7a3]){this[_0x2dd37e(0x105)](_0x351594,_0x5414ef);break;}typeof _0x300014==_0x2dd37e(0x261)&&this[_0x2dd37e(0x1c3)](_0x351594,_0x300014,{[_0x52d7a3]:!0x0});}});}),_0x55a0ad['prototype'][_0x423671(0x1c3)]=_0x3d8fd4,_0x55a0ad[_0x423671(0xe7)][_0x423671(0x29a)]=_0x292e3b,we=_0x55a0ad;function _0x17f114(_0x4c3f82,_0xc7c061,_0x19356e,_0x29a1df){const _0x50b5eb=_0x423671,_0x18d16e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x355679[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x29a1df,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x50b5eb(0x192),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4c3f82['_autoPong']=_0x18d16e['autoPong'],!_0x355679['includes'](_0x18d16e[_0x50b5eb(0x1bc)]))throw new RangeError(_0x50b5eb(0x10b)+_0x18d16e[_0x50b5eb(0x1bc)]+_0x50b5eb(0x1a8)+_0x355679[_0x50b5eb(0x1e3)](',\x20')+')');let _0x19907a;if(_0xc7c061 instanceof _0x2c60c1)_0x19907a=_0xc7c061;else try{_0x19907a=new _0x2c60c1(_0xc7c061);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0xc7c061);}_0x19907a[_0x50b5eb(0x201)]===_0x50b5eb(0x210)?_0x19907a[_0x50b5eb(0x201)]='ws:':_0x19907a[_0x50b5eb(0x201)]===_0x50b5eb(0x156)&&(_0x19907a[_0x50b5eb(0x201)]=_0x50b5eb(0x280)),_0x4c3f82['_url']=_0x19907a[_0x50b5eb(0x24f)];const _0x4afd41=_0x19907a['protocol']==='wss:',_0x5a3a58=_0x19907a[_0x50b5eb(0x201)]===_0x50b5eb(0x288);let _0x5cdd2d;if(_0x19907a[_0x50b5eb(0x201)]!==_0x50b5eb(0x19a)&&!_0x4afd41&&!_0x5a3a58?_0x5cdd2d=_0x50b5eb(0x286):_0x5a3a58&&!_0x19907a[_0x50b5eb(0x1fc)]?_0x5cdd2d='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x19907a['hash']&&(_0x5cdd2d=_0x50b5eb(0x123)),_0x5cdd2d){const _0x5ce8d4=new SyntaxError(_0x5cdd2d);if(_0x4c3f82[_0x50b5eb(0x264)]===0x0)throw _0x5ce8d4;_0x37f632(_0x4c3f82,_0x5ce8d4);return;}const _0x51f45f=_0x4afd41?0x1bb:0x50,_0x3abc94=_0x369a1c(0x10)[_0x50b5eb(0x26b)](_0x50b5eb(0x133)),_0x4f7965=_0x4afd41?_0x40a8b4[_0x50b5eb(0x11d)]:_0x59280b[_0x50b5eb(0x11d)],_0x1b2f46=new Set();let _0x1db0d5;if(_0x18d16e[_0x50b5eb(0x242)]=_0x18d16e[_0x50b5eb(0x242)]||(_0x4afd41?_0x988390:_0x585b45),_0x18d16e['defaultPort']=_0x18d16e[_0x50b5eb(0x25f)]||_0x51f45f,_0x18d16e['port']=_0x19907a[_0x50b5eb(0x121)]||_0x51f45f,_0x18d16e[_0x50b5eb(0x273)]=_0x19907a[_0x50b5eb(0x1f9)][_0x50b5eb(0x18f)]('[')?_0x19907a[_0x50b5eb(0x1f9)]['slice'](0x1,-0x1):_0x19907a['hostname'],_0x18d16e[_0x50b5eb(0x190)]={..._0x18d16e['headers'],'Sec-WebSocket-Version':_0x18d16e[_0x50b5eb(0x1bc)],'Sec-WebSocket-Key':_0x3abc94,'Connection':_0x50b5eb(0x135),'Upgrade':_0x50b5eb(0x253)},_0x18d16e[_0x50b5eb(0x157)]=_0x19907a[_0x50b5eb(0x1fc)]+_0x19907a[_0x50b5eb(0x203)],_0x18d16e[_0x50b5eb(0x1ac)]=_0x18d16e[_0x50b5eb(0xea)],_0x18d16e[_0x50b5eb(0x266)]&&(_0x1db0d5=new _0x545a87(_0x18d16e[_0x50b5eb(0x266)]!==!0x0?_0x18d16e['perMessageDeflate']:{},!0x1,_0x18d16e[_0x50b5eb(0x281)]),_0x18d16e['headers'][_0x50b5eb(0x212)]=_0x298f82({[_0x545a87['extensionName']]:_0x1db0d5[_0x50b5eb(0x232)]()})),_0x19356e['length']){for(const _0x5c3ea2 of _0x19356e){if(typeof _0x5c3ea2!=_0x50b5eb(0x25e)||!_0xcd2f6b[_0x50b5eb(0x278)](_0x5c3ea2)||_0x1b2f46['has'](_0x5c3ea2))throw new SyntaxError(_0x50b5eb(0x14d));_0x1b2f46[_0x50b5eb(0x208)](_0x5c3ea2);}_0x18d16e[_0x50b5eb(0x190)][_0x50b5eb(0x21c)]=_0x19356e[_0x50b5eb(0x1e3)](',');}if(_0x18d16e['origin']&&(_0x18d16e[_0x50b5eb(0x1bc)]<0xd?_0x18d16e[_0x50b5eb(0x190)][_0x50b5eb(0x10f)]=_0x18d16e[_0x50b5eb(0x187)]:_0x18d16e[_0x50b5eb(0x190)][_0x50b5eb(0x1f7)]=_0x18d16e['origin']),(_0x19907a['username']||_0x19907a[_0x50b5eb(0x12a)])&&(_0x18d16e[_0x50b5eb(0x14c)]=_0x19907a[_0x50b5eb(0x21f)]+':'+_0x19907a[_0x50b5eb(0x12a)]),_0x5a3a58){const _0x4e80d0=_0x18d16e[_0x50b5eb(0x157)][_0x50b5eb(0x26f)](':');_0x18d16e[_0x50b5eb(0x11a)]=_0x4e80d0[0x0],_0x18d16e['path']=_0x4e80d0[0x1];}let _0x5d84da;if(_0x18d16e['followRedirects']){if(_0x4c3f82[_0x50b5eb(0x264)]===0x0){_0x4c3f82[_0x50b5eb(0x1d2)]=_0x5a3a58,_0x4c3f82['_originalSecure']=_0x4afd41,_0x4c3f82['_originalHostOrSocketPath']=_0x5a3a58?_0x18d16e[_0x50b5eb(0x11a)]:_0x19907a[_0x50b5eb(0x273)];const _0x5a67e7=_0x29a1df&&_0x29a1df[_0x50b5eb(0x190)];if(_0x29a1df={..._0x29a1df,'headers':{}},_0x5a67e7){for(const [_0x15bd19,_0x40103a]of Object[_0x50b5eb(0x1a4)](_0x5a67e7))_0x29a1df['headers'][_0x15bd19[_0x50b5eb(0x188)]()]=_0x40103a;}}else{if(_0x4c3f82[_0x50b5eb(0x15c)]('redirect')===0x0){const _0x58319a=_0x5a3a58?_0x4c3f82[_0x50b5eb(0x1d2)]?_0x18d16e[_0x50b5eb(0x11a)]===_0x4c3f82[_0x50b5eb(0x1bd)]:!0x1:_0x4c3f82['_originalIpc']?!0x1:_0x19907a[_0x50b5eb(0x273)]===_0x4c3f82[_0x50b5eb(0x1bd)];(!_0x58319a||_0x4c3f82[_0x50b5eb(0x18a)]&&!_0x4afd41)&&(delete _0x18d16e[_0x50b5eb(0x190)][_0x50b5eb(0x15d)],delete _0x18d16e[_0x50b5eb(0x190)]['cookie'],_0x58319a||delete _0x18d16e[_0x50b5eb(0x190)][_0x50b5eb(0x273)],_0x18d16e[_0x50b5eb(0x14c)]=void 0x0);}}_0x18d16e[_0x50b5eb(0x14c)]&&!_0x29a1df[_0x50b5eb(0x190)][_0x50b5eb(0x15d)]&&(_0x29a1df[_0x50b5eb(0x190)][_0x50b5eb(0x15d)]=_0x50b5eb(0x2a4)+Buffer[_0x50b5eb(0x21d)](_0x18d16e[_0x50b5eb(0x14c)])[_0x50b5eb(0x26b)](_0x50b5eb(0x133))),_0x5d84da=_0x4c3f82[_0x50b5eb(0x248)]=_0x4f7965(_0x18d16e),_0x4c3f82[_0x50b5eb(0x264)]&&_0x4c3f82[_0x50b5eb(0x29b)]('redirect',_0x4c3f82[_0x50b5eb(0x22f)],_0x5d84da);}else _0x5d84da=_0x4c3f82['_req']=_0x4f7965(_0x18d16e);_0x18d16e[_0x50b5eb(0x1ac)]&&_0x5d84da['on'](_0x50b5eb(0x1ac),()=>{_0x125650(_0x4c3f82,_0x5d84da,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x5d84da['on'](_0x50b5eb(0x289),_0x30b64a=>{_0x5d84da===null||_0x5d84da[_0x592436]||(_0x5d84da=_0x4c3f82['_req']=null,_0x37f632(_0x4c3f82,_0x30b64a));}),_0x5d84da['on'](_0x50b5eb(0x292),_0x324bdb=>{const _0x478fad=_0x50b5eb,_0x5495ea=_0x324bdb['headers'][_0x478fad(0x1ce)],_0x5ae2de=_0x324bdb[_0x478fad(0x14e)];if(_0x5495ea&&_0x18d16e['followRedirects']&&_0x5ae2de>=0x12c&&_0x5ae2de<0x190){if(++_0x4c3f82[_0x478fad(0x264)]>_0x18d16e[_0x478fad(0x104)]){_0x125650(_0x4c3f82,_0x5d84da,_0x478fad(0x22e));return;}_0x5d84da[_0x478fad(0x1f1)]();let _0x95ac6d;try{_0x95ac6d=new _0x2c60c1(_0x5495ea,_0xc7c061);}catch{const _0x1ea632=new SyntaxError(_0x478fad(0x10c)+_0x5495ea);_0x37f632(_0x4c3f82,_0x1ea632);return;}_0x17f114(_0x4c3f82,_0x95ac6d,_0x19356e,_0x29a1df);}else _0x4c3f82[_0x478fad(0x29b)](_0x478fad(0x107),_0x5d84da,_0x324bdb)||_0x125650(_0x4c3f82,_0x5d84da,_0x478fad(0x26a)+_0x324bdb['statusCode']);}),_0x5d84da['on'](_0x50b5eb(0x291),(_0x1f0804,_0x9bd52b,_0xf2b0a0)=>{const _0x2f6274=_0x50b5eb;if(_0x4c3f82['emit'](_0x2f6274(0x291),_0x1f0804),_0x4c3f82[_0x2f6274(0x29d)]!==_0x55a0ad[_0x2f6274(0x1ae)])return;_0x5d84da=_0x4c3f82['_req']=null;const _0x16ee2f=_0x1f0804['headers'][_0x2f6274(0x291)];if(_0x16ee2f===void 0x0||_0x16ee2f[_0x2f6274(0x188)]()!==_0x2f6274(0x253)){_0x125650(_0x4c3f82,_0x9bd52b,'Invalid\x20Upgrade\x20header');return;}const _0x23cb29=_0x29cff9('sha1')[_0x2f6274(0x110)](_0x3abc94+_0x260e22)[_0x2f6274(0x252)](_0x2f6274(0x133));if(_0x1f0804['headers'][_0x2f6274(0x27d)]!==_0x23cb29){_0x125650(_0x4c3f82,_0x9bd52b,_0x2f6274(0x1cc));return;}const _0x493734=_0x1f0804[_0x2f6274(0x190)][_0x2f6274(0x11f)];let _0x306007;if(_0x493734!==void 0x0?_0x1b2f46['size']?_0x1b2f46[_0x2f6274(0x167)](_0x493734)||(_0x306007=_0x2f6274(0xfb)):_0x306007=_0x2f6274(0x1ca):_0x1b2f46[_0x2f6274(0x1d3)]&&(_0x306007=_0x2f6274(0x2a7)),_0x306007){_0x125650(_0x4c3f82,_0x9bd52b,_0x306007);return;}_0x493734&&(_0x4c3f82[_0x2f6274(0x296)]=_0x493734);const _0x578071=_0x1f0804[_0x2f6274(0x190)][_0x2f6274(0x13d)];if(_0x578071!==void 0x0){if(!_0x1db0d5){_0x125650(_0x4c3f82,_0x9bd52b,_0x2f6274(0x21e));return;}let _0x43f5b9;try{_0x43f5b9=_0x39f292(_0x578071);}catch{_0x125650(_0x4c3f82,_0x9bd52b,_0x2f6274(0x136));return;}const _0x5a41bf=Object[_0x2f6274(0x141)](_0x43f5b9);if(_0x5a41bf[_0x2f6274(0x18d)]!==0x1||_0x5a41bf[0x0]!==_0x545a87[_0x2f6274(0x1ab)]){_0x125650(_0x4c3f82,_0x9bd52b,_0x2f6274(0x1f5));return;}try{_0x1db0d5[_0x2f6274(0x246)](_0x43f5b9[_0x545a87['extensionName']]);}catch{_0x125650(_0x4c3f82,_0x9bd52b,_0x2f6274(0x136));return;}_0x4c3f82[_0x2f6274(0x21b)][_0x545a87['extensionName']]=_0x1db0d5;}_0x4c3f82[_0x2f6274(0x1fa)](_0x9bd52b,_0xf2b0a0,{'allowSynchronousEvents':_0x18d16e[_0x2f6274(0x23b)],'generateMask':_0x18d16e[_0x2f6274(0x1ff)],'maxPayload':_0x18d16e[_0x2f6274(0x281)],'skipUTF8Validation':_0x18d16e[_0x2f6274(0x171)]});}),_0x18d16e[_0x50b5eb(0x1cd)]?_0x18d16e[_0x50b5eb(0x1cd)](_0x5d84da,_0x4c3f82):_0x5d84da['end']();}function _0x37f632(_0x55e592,_0x553cc8){const _0x26068a=_0x423671;_0x55e592[_0x26068a(0x145)]=_0x55a0ad[_0x26068a(0x19c)],_0x55e592[_0x26068a(0x1dd)]=!0x0,_0x55e592[_0x26068a(0x29b)](_0x26068a(0x289),_0x553cc8),_0x55e592[_0x26068a(0x247)]();}function _0x585b45(_0x12b4df){const _0x12a64b=_0x423671;return _0x12b4df['path']=_0x12b4df[_0x12a64b(0x11a)],_0x7ba967['connect'](_0x12b4df);}function _0x988390(_0x938bb1){const _0x5b9b3e=_0x423671;return _0x938bb1[_0x5b9b3e(0x157)]=void 0x0,!_0x938bb1[_0x5b9b3e(0x170)]&&_0x938bb1[_0x5b9b3e(0x170)]!==''&&(_0x938bb1[_0x5b9b3e(0x170)]=_0x7ba967[_0x5b9b3e(0xf5)](_0x938bb1[_0x5b9b3e(0x273)])?'':_0x938bb1[_0x5b9b3e(0x273)]),_0x40c645[_0x5b9b3e(0x26e)](_0x938bb1);}function _0x125650(_0x2e2642,_0x99675a,_0x5bd48c){const _0x112f6b=_0x423671;_0x2e2642[_0x112f6b(0x145)]=_0x55a0ad['CLOSING'];const _0x59dbfe=new Error(_0x5bd48c);Error[_0x112f6b(0x153)](_0x59dbfe,_0x125650),_0x99675a[_0x112f6b(0x218)]?(_0x99675a[_0x592436]=!0x0,_0x99675a['abort'](),_0x99675a[_0x112f6b(0x1fd)]&&!_0x99675a[_0x112f6b(0x1fd)][_0x112f6b(0x12d)]&&_0x99675a[_0x112f6b(0x1fd)][_0x112f6b(0x1a9)](),process[_0x112f6b(0x13b)](_0x37f632,_0x2e2642,_0x59dbfe)):(_0x99675a['destroy'](_0x59dbfe),_0x99675a['once'](_0x112f6b(0x289),_0x2e2642[_0x112f6b(0x29b)]['bind'](_0x2e2642,_0x112f6b(0x289))),_0x99675a['once'](_0x112f6b(0x2a2),_0x2e2642[_0x112f6b(0x247)][_0x112f6b(0x148)](_0x2e2642)));}function _0x32fd33(_0xb2ee41,_0x1dd0cc,_0x509e07){const _0x3d87d0=_0x423671;if(_0x1dd0cc){const _0x395da1=_0x87565d(_0x1dd0cc)?_0x1dd0cc['size']:_0x246812(_0x1dd0cc)[_0x3d87d0(0x18d)];_0xb2ee41[_0x3d87d0(0x178)]?_0xb2ee41[_0x3d87d0(0x131)][_0x3d87d0(0x17a)]+=_0x395da1:_0xb2ee41[_0x3d87d0(0x1b9)]+=_0x395da1;}if(_0x509e07){const _0x1cd961=new Error(_0x3d87d0(0x285)+_0xb2ee41[_0x3d87d0(0x29d)]+'\x20('+_0x54d8a1[_0xb2ee41[_0x3d87d0(0x29d)]]+')');process['nextTick'](_0x509e07,_0x1cd961);}}function _0x46020c(_0x10c365,_0x5f128b){const _0x11d402=_0x423671,_0x44f6e9=this[_0x4c292a];_0x44f6e9[_0x11d402(0xef)]=!0x0,_0x44f6e9[_0x11d402(0x1e4)]=_0x5f128b,_0x44f6e9[_0x11d402(0x269)]=_0x10c365,_0x44f6e9[_0x11d402(0x178)][_0x4c292a]!==void 0x0&&(_0x44f6e9[_0x11d402(0x178)][_0x11d402(0x105)]('data',_0x561f3a),process[_0x11d402(0x13b)](_0x219ddf,_0x44f6e9[_0x11d402(0x178)]),_0x10c365===0x3ed?_0x44f6e9[_0x11d402(0x2a2)]():_0x44f6e9[_0x11d402(0x2a2)](_0x10c365,_0x5f128b));}function _0x14565b(){const _0x3fcb67=_0x423671,_0x4cc379=this[_0x4c292a];_0x4cc379[_0x3fcb67(0x25c)]||_0x4cc379[_0x3fcb67(0x178)][_0x3fcb67(0x18e)]();}function _0x439214(_0x44dfcb){const _0x5b7e40=_0x423671,_0x4d986a=this[_0x4c292a];_0x4d986a[_0x5b7e40(0x178)][_0x4c292a]!==void 0x0&&(_0x4d986a['_socket'][_0x5b7e40(0x105)](_0x5b7e40(0x26c),_0x561f3a),process['nextTick'](_0x219ddf,_0x4d986a[_0x5b7e40(0x178)]),_0x4d986a['close'](_0x44dfcb[_0x145f11])),_0x4d986a['_errorEmitted']||(_0x4d986a[_0x5b7e40(0x1dd)]=!0x0,_0x4d986a[_0x5b7e40(0x29b)](_0x5b7e40(0x289),_0x44dfcb));}function _0x1ef5bb(){const _0x5030d0=_0x423671;this[_0x4c292a][_0x5030d0(0x247)]();}function _0x50ed67(_0x5c506c,_0x16ec31){this[_0x4c292a]['emit']('message',_0x5c506c,_0x16ec31);}function _0x5e4481(_0x5321d5){const _0x349cf1=_0x423671,_0x36a973=this[_0x4c292a];_0x36a973[_0x349cf1(0x1cf)]&&_0x36a973[_0x349cf1(0x176)](_0x5321d5,!this[_0x349cf1(0x1a7)],_0x489ce4),_0x36a973[_0x349cf1(0x29b)](_0x349cf1(0x125),_0x5321d5);}function _0xc0740f(_0x3f1ff1){const _0x527147=_0x423671;this[_0x4c292a][_0x527147(0x29b)](_0x527147(0x176),_0x3f1ff1);}function _0x219ddf(_0x5189d1){_0x5189d1['resume']();}function _0x25acc2(_0x60cb41){const _0x344281=_0x423671,_0x16556d=this[_0x4c292a];_0x16556d[_0x344281(0x29d)]!==_0x55a0ad['CLOSED']&&(_0x16556d[_0x344281(0x29d)]===_0x55a0ad['OPEN']&&(_0x16556d[_0x344281(0x145)]=_0x55a0ad[_0x344281(0x19c)],_0x183021(_0x16556d)),this[_0x344281(0x178)][_0x344281(0x144)](),_0x16556d[_0x344281(0x1dd)]||(_0x16556d['_errorEmitted']=!0x0,_0x16556d[_0x344281(0x29b)](_0x344281(0x289),_0x60cb41)));}function _0x183021(_0x249bf8){const _0x2a6eff=_0x423671;_0x249bf8[_0x2a6eff(0x1e6)]=setTimeout(_0x249bf8[_0x2a6eff(0x178)]['destroy'][_0x2a6eff(0x148)](_0x249bf8[_0x2a6eff(0x178)]),_0x282dbd);}function _0x19758c(){const _0x1cb399=_0x423671,_0x8104d1=this[_0x4c292a];this[_0x1cb399(0x105)](_0x1cb399(0x2a2),_0x19758c),this['removeListener']('data',_0x561f3a),this[_0x1cb399(0x105)](_0x1cb399(0x144),_0x5953db),_0x8104d1[_0x1cb399(0x145)]=_0x55a0ad[_0x1cb399(0x19c)];let _0x2e0bce;!this['_readableState'][_0x1cb399(0x15e)]&&!_0x8104d1[_0x1cb399(0xef)]&&!_0x8104d1[_0x1cb399(0x16e)]['_writableState'][_0x1cb399(0x213)]&&(_0x2e0bce=_0x8104d1['_socket'][_0x1cb399(0x152)]())!==null&&_0x8104d1[_0x1cb399(0x16e)][_0x1cb399(0xf0)](_0x2e0bce),_0x8104d1[_0x1cb399(0x16e)][_0x1cb399(0x144)](),this[_0x4c292a]=void 0x0,clearTimeout(_0x8104d1[_0x1cb399(0x1e6)]),_0x8104d1[_0x1cb399(0x16e)][_0x1cb399(0x130)][_0x1cb399(0x2a0)]||_0x8104d1[_0x1cb399(0x16e)][_0x1cb399(0x130)]['errorEmitted']?_0x8104d1[_0x1cb399(0x247)]():(_0x8104d1[_0x1cb399(0x16e)]['on'](_0x1cb399(0x289),_0x1ef5bb),_0x8104d1[_0x1cb399(0x16e)]['on'](_0x1cb399(0x229),_0x1ef5bb));}function _0x561f3a(_0x2bae11){const _0x5a7eb2=_0x423671;this[_0x4c292a][_0x5a7eb2(0x16e)][_0x5a7eb2(0xf0)](_0x2bae11)||this[_0x5a7eb2(0x23d)]();}function _0x5953db(){const _0x111530=_0x423671,_0x1f72a5=this[_0x4c292a];_0x1f72a5[_0x111530(0x145)]=_0x55a0ad[_0x111530(0x19c)],_0x1f72a5['_receiver'][_0x111530(0x144)](),this[_0x111530(0x144)]();}function _0x21aa6f(){const _0x2d6dcd=_0x423671,_0x215c16=this[_0x4c292a];this['removeListener'](_0x2d6dcd(0x289),_0x21aa6f),this['on'](_0x2d6dcd(0x289),_0x489ce4),_0x215c16&&(_0x215c16['_readyState']=_0x55a0ad[_0x2d6dcd(0x19c)],this[_0x2d6dcd(0x1a9)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1b7216}=oe;function _0xac923a(_0x3b33c3){const _0x5c2384=_0x17e6;_0x3b33c3[_0x5c2384(0x29b)]('close');}function _0x26ba16(){const _0x519dca=_0x17e6;!this[_0x519dca(0x12d)]&&this['_writableState']['finished']&&this[_0x519dca(0x1a9)]();}function _0x5df1e1(_0x2a8115){const _0x1636fe=_0x17e6;this[_0x1636fe(0x105)]('error',_0x5df1e1),this[_0x1636fe(0x1a9)](),this[_0x1636fe(0x15c)](_0x1636fe(0x289))===0x0&&this[_0x1636fe(0x29b)]('error',_0x2a8115);}function _0x34bbee(_0x352bdd,_0x125a57){const _0x2cc664=_0x17e6;let _0x2e6919=!0x0;const _0x1a29d2=new _0x1b7216({..._0x125a57,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x352bdd['on'](_0x2cc664(0xee),function(_0x1653a1,_0x380f38){const _0x2f6068=_0x2cc664,_0x201b10=!_0x380f38&&_0x1a29d2[_0x2f6068(0x234)][_0x2f6068(0x111)]?_0x1653a1[_0x2f6068(0x26b)]():_0x1653a1;_0x1a29d2['push'](_0x201b10)||_0x352bdd['pause']();}),_0x352bdd[_0x2cc664(0x132)](_0x2cc664(0x289),function(_0x59f5de){const _0x5b8d54=_0x2cc664;_0x1a29d2['destroyed']||(_0x2e6919=!0x1,_0x1a29d2[_0x5b8d54(0x1a9)](_0x59f5de));}),_0x352bdd['once'](_0x2cc664(0x2a2),function(){const _0xbf2986=_0x2cc664;_0x1a29d2['destroyed']||_0x1a29d2[_0xbf2986(0x20e)](null);}),_0x1a29d2[_0x2cc664(0x169)]=function(_0x2c2c28,_0x2a5221){const _0x299238=_0x2cc664;if(_0x352bdd[_0x299238(0x29d)]===_0x352bdd[_0x299238(0x24c)]){_0x2a5221(_0x2c2c28),process['nextTick'](_0xac923a,_0x1a29d2);return;}let _0x38d0e0=!0x1;_0x352bdd[_0x299238(0x132)](_0x299238(0x289),function(_0x25d9e2){_0x38d0e0=!0x0,_0x2a5221(_0x25d9e2);}),_0x352bdd[_0x299238(0x132)](_0x299238(0x2a2),function(){const _0x2b558e=_0x299238;_0x38d0e0||_0x2a5221(_0x2c2c28),process[_0x2b558e(0x13b)](_0xac923a,_0x1a29d2);}),_0x2e6919&&_0x352bdd[_0x299238(0x1c5)]();},_0x1a29d2['_final']=function(_0x482f41){const _0xc10e3c=_0x2cc664;if(_0x352bdd[_0xc10e3c(0x29d)]===_0x352bdd['CONNECTING']){_0x352bdd[_0xc10e3c(0x132)]('open',function(){_0x1a29d2['_final'](_0x482f41);});return;}_0x352bdd[_0xc10e3c(0x178)]!==null&&(_0x352bdd[_0xc10e3c(0x178)][_0xc10e3c(0x130)][_0xc10e3c(0x2a0)]?(_0x482f41(),_0x1a29d2[_0xc10e3c(0x234)]['endEmitted']&&_0x1a29d2[_0xc10e3c(0x1a9)]()):(_0x352bdd[_0xc10e3c(0x178)]['once'](_0xc10e3c(0x229),function(){_0x482f41();}),_0x352bdd[_0xc10e3c(0x2a2)]()));},_0x1a29d2[_0x2cc664(0x251)]=function(){const _0x1c8d68=_0x2cc664;_0x352bdd[_0x1c8d68(0x25c)]&&_0x352bdd[_0x1c8d68(0x18e)]();},_0x1a29d2[_0x2cc664(0x235)]=function(_0x159d94,_0x21cda3,_0x126b67){const _0x174886=_0x2cc664;if(_0x352bdd[_0x174886(0x29d)]===_0x352bdd['CONNECTING']){_0x352bdd[_0x174886(0x132)](_0x174886(0x224),function(){const _0x2be15a=_0x174886;_0x1a29d2[_0x2be15a(0x235)](_0x159d94,_0x21cda3,_0x126b67);});return;}_0x352bdd['send'](_0x159d94,_0x126b67);},_0x1a29d2['on']('end',_0x26ba16),_0x1a29d2['on']('error',_0x5df1e1),_0x1a29d2;}return Oe=_0x34bbee,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4d9076}=ae();function _0x25b5bd(_0x1c5143){const _0x3bb9bf=_0x17e6,_0x5e958d=new Set();let _0x1f059b=-0x1,_0x84b3bb=-0x1,_0x42eebc=0x0;for(_0x42eebc;_0x42eebc<_0x1c5143['length'];_0x42eebc++){const _0xa1e9a8=_0x1c5143[_0x3bb9bf(0x12e)](_0x42eebc);if(_0x84b3bb===-0x1&&_0x4d9076[_0xa1e9a8]===0x1)_0x1f059b===-0x1&&(_0x1f059b=_0x42eebc);else{if(_0x42eebc!==0x0&&(_0xa1e9a8===0x20||_0xa1e9a8===0x9))_0x84b3bb===-0x1&&_0x1f059b!==-0x1&&(_0x84b3bb=_0x42eebc);else{if(_0xa1e9a8===0x2c){if(_0x1f059b===-0x1)throw new SyntaxError(_0x3bb9bf(0x1a1)+_0x42eebc);_0x84b3bb===-0x1&&(_0x84b3bb=_0x42eebc);const _0x4261b3=_0x1c5143[_0x3bb9bf(0x1a5)](_0x1f059b,_0x84b3bb);if(_0x5e958d['has'](_0x4261b3))throw new SyntaxError(_0x3bb9bf(0x1de)+_0x4261b3+'\x22\x20subprotocol\x20is\x20duplicated');_0x5e958d[_0x3bb9bf(0x208)](_0x4261b3),_0x1f059b=_0x84b3bb=-0x1;}else throw new SyntaxError(_0x3bb9bf(0x1a1)+_0x42eebc);}}}if(_0x1f059b===-0x1||_0x84b3bb!==-0x1)throw new SyntaxError(_0x3bb9bf(0x290));const _0x2df3cb=_0x1c5143[_0x3bb9bf(0x1a5)](_0x1f059b,_0x42eebc);if(_0x5e958d['has'](_0x2df3cb))throw new SyntaxError(_0x3bb9bf(0x1de)+_0x2df3cb+_0x3bb9bf(0x10e));return _0x5e958d['add'](_0x2df3cb),_0x5e958d;}return Ce={'parse':_0x25b5bd},Ce;}var Te,rt;function Ft(){const _0x3651a4=_0x1dd7e9;if(rt)return Te;rt=0x1;const _0x19c0e9=nt,_0x26e6f1=ot,{Duplex:_0x1ded40}=oe,{createHash:_0x299436}=Le,_0x5c5b76=ct(),_0x4cb966=he(),_0x594808=At(),_0x407e5f=Pe(),{GUID:_0x19e6ab,kWebSocket:_0x18c577}=H(),_0x3e3c1b=/^[+/0-9A-Za-z]{22}==$/,_0x280d18=0x0,_0x5292b1=0x1,_0x1d17f2=0x2;class _0x167e3e extends _0x19c0e9{constructor(_0x1215df,_0x1a25f4){const _0x6e4a8=_0x17e6;if(super(),_0x1215df={'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':_0x407e5f,..._0x1215df},_0x1215df[_0x6e4a8(0x121)]==null&&!_0x1215df[_0x6e4a8(0x101)]&&!_0x1215df[_0x6e4a8(0x1ba)]||_0x1215df[_0x6e4a8(0x121)]!=null&&(_0x1215df[_0x6e4a8(0x101)]||_0x1215df['noServer'])||_0x1215df[_0x6e4a8(0x101)]&&_0x1215df[_0x6e4a8(0x1ba)])throw new TypeError(_0x6e4a8(0x134));if(_0x1215df[_0x6e4a8(0x121)]!=null?(this['_server']=_0x26e6f1[_0x6e4a8(0x128)]((_0x4756af,_0x17e530)=>{const _0x474f8b=_0x6e4a8,_0x5d6d86=_0x26e6f1['STATUS_CODES'][0x1aa];_0x17e530[_0x474f8b(0x19f)](0x1aa,{'Content-Length':_0x5d6d86[_0x474f8b(0x18d)],'Content-Type':_0x474f8b(0x13f)}),_0x17e530[_0x474f8b(0x144)](_0x5d6d86);}),this['_server']['listen'](_0x1215df[_0x6e4a8(0x121)],_0x1215df['host'],_0x1215df[_0x6e4a8(0x164)],_0x1a25f4)):_0x1215df['server']&&(this[_0x6e4a8(0x194)]=_0x1215df[_0x6e4a8(0x101)]),this[_0x6e4a8(0x194)]){const _0xecaaae=this[_0x6e4a8(0x29b)][_0x6e4a8(0x148)](this,_0x6e4a8(0x1b0));this['_removeListeners']=_0x21b6e9(this['_server'],{'listening':this['emit']['bind'](this,_0x6e4a8(0x24e)),'error':this['emit'][_0x6e4a8(0x148)](this,'error'),'upgrade':(_0x2944f3,_0x4b04d0,_0x47fe16)=>{this['handleUpgrade'](_0x2944f3,_0x4b04d0,_0x47fe16,_0xecaaae);}});}_0x1215df[_0x6e4a8(0x266)]===!0x0&&(_0x1215df[_0x6e4a8(0x266)]={}),_0x1215df[_0x6e4a8(0x185)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x6e4a8(0x2a8)]=_0x1215df,this[_0x6e4a8(0x1c2)]=_0x280d18;}[_0x3651a4(0x108)](){const _0x4123b0=_0x3651a4;if(this[_0x4123b0(0x2a8)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4123b0(0x194)]?this[_0x4123b0(0x194)][_0x4123b0(0x108)]():null;}[_0x3651a4(0x2a2)](_0x401478){const _0x339f21=_0x3651a4;if(this[_0x339f21(0x1c2)]===_0x1d17f2){_0x401478&&this[_0x339f21(0x132)]('close',()=>{const _0xbaa27a=_0x339f21;_0x401478(new Error(_0xbaa27a(0x1a2)));}),process[_0x339f21(0x13b)](_0x5717dc,this);return;}if(_0x401478&&this['once']('close',_0x401478),this[_0x339f21(0x1c2)]!==_0x5292b1){if(this[_0x339f21(0x1c2)]=_0x5292b1,this[_0x339f21(0x2a8)]['noServer']||this[_0x339f21(0x2a8)][_0x339f21(0x101)])this['_server']&&(this['_removeListeners'](),this[_0x339f21(0x206)]=this[_0x339f21(0x194)]=null),this[_0x339f21(0x204)]?this['clients'][_0x339f21(0x1d3)]?this[_0x339f21(0x22c)]=!0x0:process[_0x339f21(0x13b)](_0x5717dc,this):process[_0x339f21(0x13b)](_0x5717dc,this);else{const _0x3a0559=this[_0x339f21(0x194)];this['_removeListeners'](),this[_0x339f21(0x206)]=this[_0x339f21(0x194)]=null,_0x3a0559[_0x339f21(0x2a2)](()=>{_0x5717dc(this);});}}}[_0x3651a4(0x219)](_0x3220ad){const _0x568d53=_0x3651a4;if(this[_0x568d53(0x2a8)][_0x568d53(0x157)]){const _0x129155=_0x3220ad[_0x568d53(0x22f)][_0x568d53(0xfe)]('?');if((_0x129155!==-0x1?_0x3220ad['url'][_0x568d53(0x1a5)](0x0,_0x129155):_0x3220ad[_0x568d53(0x22f)])!==this[_0x568d53(0x2a8)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x51cd4a,_0x21e052,_0xff7a31,_0xdc116e){const _0x1aa2e2=_0x3651a4;_0x21e052['on']('error',_0x3461c1);const _0x487747=_0x51cd4a[_0x1aa2e2(0x190)][_0x1aa2e2(0x274)],_0x183772=_0x51cd4a['headers']['upgrade'],_0x232519=+_0x51cd4a[_0x1aa2e2(0x190)][_0x1aa2e2(0x1f3)];if(_0x51cd4a['method']!==_0x1aa2e2(0x192)){_0x31b9a0(this,_0x51cd4a,_0x21e052,0x195,_0x1aa2e2(0x166));return;}if(_0x183772===void 0x0||_0x183772[_0x1aa2e2(0x188)]()!=='websocket'){_0x31b9a0(this,_0x51cd4a,_0x21e052,0x190,_0x1aa2e2(0xfd));return;}if(_0x487747===void 0x0||!_0x3e3c1b[_0x1aa2e2(0x278)](_0x487747)){_0x31b9a0(this,_0x51cd4a,_0x21e052,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x232519!==0x8&&_0x232519!==0xd){_0x31b9a0(this,_0x51cd4a,_0x21e052,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x51cd4a)){_0x1ac85f(_0x21e052,0x190);return;}const _0x2b52b4=_0x51cd4a[_0x1aa2e2(0x190)][_0x1aa2e2(0x11f)];let _0x329f36=new Set();if(_0x2b52b4!==void 0x0)try{_0x329f36=_0x594808[_0x1aa2e2(0x260)](_0x2b52b4);}catch{_0x31b9a0(this,_0x51cd4a,_0x21e052,0x190,_0x1aa2e2(0x16b));return;}const _0x5a89fa=_0x51cd4a[_0x1aa2e2(0x190)][_0x1aa2e2(0x13d)],_0x5a812e={};if(this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x266)]&&_0x5a89fa!==void 0x0){const _0x542b02=new _0x4cb966(this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x266)],!0x0,this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x281)]);try{const _0x2d85f3=_0x5c5b76['parse'](_0x5a89fa);_0x2d85f3[_0x4cb966[_0x1aa2e2(0x1ab)]]&&(_0x542b02[_0x1aa2e2(0x246)](_0x2d85f3[_0x4cb966[_0x1aa2e2(0x1ab)]]),_0x5a812e[_0x4cb966['extensionName']]=_0x542b02);}catch{_0x31b9a0(this,_0x51cd4a,_0x21e052,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x13a)]){const _0x516f27={'origin':_0x51cd4a[_0x1aa2e2(0x190)][''+(_0x232519===0x8?_0x1aa2e2(0x239):_0x1aa2e2(0x187))],'secure':!!(_0x51cd4a[_0x1aa2e2(0x1fd)]['authorized']||_0x51cd4a[_0x1aa2e2(0x1fd)][_0x1aa2e2(0x112)]),'req':_0x51cd4a};if(this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x13a)][_0x1aa2e2(0x18d)]===0x2){this[_0x1aa2e2(0x2a8)]['verifyClient'](_0x516f27,(_0x179290,_0x19d52d,_0x3597f5,_0x41bad7)=>{const _0xe28304=_0x1aa2e2;if(!_0x179290)return _0x1ac85f(_0x21e052,_0x19d52d||0x191,_0x3597f5,_0x41bad7);this[_0xe28304(0x161)](_0x5a812e,_0x487747,_0x329f36,_0x51cd4a,_0x21e052,_0xff7a31,_0xdc116e);});return;}if(!this[_0x1aa2e2(0x2a8)][_0x1aa2e2(0x13a)](_0x516f27))return _0x1ac85f(_0x21e052,0x191);}this[_0x1aa2e2(0x161)](_0x5a812e,_0x487747,_0x329f36,_0x51cd4a,_0x21e052,_0xff7a31,_0xdc116e);}['completeUpgrade'](_0x5aa257,_0x255bec,_0x1c6563,_0xd51e2b,_0x5432c4,_0x532459,_0x261ab4){const _0x27ad27=_0x3651a4;if(!_0x5432c4[_0x27ad27(0x113)]||!_0x5432c4[_0x27ad27(0x1d0)])return _0x5432c4[_0x27ad27(0x1a9)]();if(_0x5432c4[_0x18c577])throw new Error(_0x27ad27(0x14a));if(this[_0x27ad27(0x1c2)]>_0x280d18)return _0x1ac85f(_0x5432c4,0x1f7);const _0x4bdc42=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x27ad27(0x1fe),_0x27ad27(0x245),'Sec-WebSocket-Accept:\x20'+_0x299436(_0x27ad27(0x207))['update'](_0x255bec+_0x19e6ab)[_0x27ad27(0x252)](_0x27ad27(0x133))],_0x384b8=new this['options']['WebSocket'](null,void 0x0,this[_0x27ad27(0x2a8)]);if(_0x1c6563[_0x27ad27(0x1d3)]){const _0x5afb93=this['options']['handleProtocols']?this[_0x27ad27(0x2a8)][_0x27ad27(0x12b)](_0x1c6563,_0xd51e2b):_0x1c6563['values']()[_0x27ad27(0x1ee)]()[_0x27ad27(0x19d)];_0x5afb93&&(_0x4bdc42['push'](_0x27ad27(0x179)+_0x5afb93),_0x384b8[_0x27ad27(0x296)]=_0x5afb93);}if(_0x5aa257[_0x4cb966['extensionName']]){const _0x15226e=_0x5aa257[_0x4cb966[_0x27ad27(0x1ab)]][_0x27ad27(0x249)],_0x2dcbbc=_0x5c5b76[_0x27ad27(0xf2)]({[_0x4cb966[_0x27ad27(0x1ab)]]:[_0x15226e]});_0x4bdc42[_0x27ad27(0x20e)]('Sec-WebSocket-Extensions:\x20'+_0x2dcbbc),_0x384b8['_extensions']=_0x5aa257;}this[_0x27ad27(0x29b)]('headers',_0x4bdc42,_0xd51e2b),_0x5432c4[_0x27ad27(0xf0)](_0x4bdc42['concat']('\x0d\x0a')[_0x27ad27(0x1e3)]('\x0d\x0a')),_0x5432c4['removeListener'](_0x27ad27(0x289),_0x3461c1),_0x384b8['setSocket'](_0x5432c4,_0x532459,{'allowSynchronousEvents':this[_0x27ad27(0x2a8)][_0x27ad27(0x23b)],'maxPayload':this[_0x27ad27(0x2a8)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x27ad27(0x204)]&&(this['clients'][_0x27ad27(0x208)](_0x384b8),_0x384b8['on']('close',()=>{const _0xa505b1=_0x27ad27;this[_0xa505b1(0x204)]['delete'](_0x384b8),this['_shouldEmitClose']&&!this[_0xa505b1(0x204)]['size']&&process[_0xa505b1(0x13b)](_0x5717dc,this);})),_0x261ab4(_0x384b8,_0xd51e2b);}}Te=_0x167e3e;function _0x21b6e9(_0x221e5e,_0x10ba58){const _0x169498=_0x3651a4;for(const _0x55278c of Object[_0x169498(0x141)](_0x10ba58))_0x221e5e['on'](_0x55278c,_0x10ba58[_0x55278c]);return function(){const _0x3b18ce=_0x169498;for(const _0x3ec804 of Object[_0x3b18ce(0x141)](_0x10ba58))_0x221e5e[_0x3b18ce(0x105)](_0x3ec804,_0x10ba58[_0x3ec804]);};}function _0x5717dc(_0x4c357b){const _0x51ef09=_0x3651a4;_0x4c357b['_state']=_0x1d17f2,_0x4c357b['emit'](_0x51ef09(0x2a2));}function _0x3461c1(){const _0x2ca990=_0x3651a4;this[_0x2ca990(0x1a9)]();}function _0x1ac85f(_0x46ba88,_0x144df9,_0x594ef5,_0x2cdf01){const _0x2e11b2=_0x3651a4;_0x594ef5=_0x594ef5||_0x26e6f1[_0x2e11b2(0x102)][_0x144df9],_0x2cdf01={'Connection':_0x2e11b2(0x2a2),'Content-Type':'text/html','Content-Length':Buffer[_0x2e11b2(0x20c)](_0x594ef5),..._0x2cdf01},_0x46ba88[_0x2e11b2(0x132)](_0x2e11b2(0x229),_0x46ba88[_0x2e11b2(0x1a9)]),_0x46ba88['end']('HTTP/1.1\x20'+_0x144df9+'\x20'+_0x26e6f1[_0x2e11b2(0x102)][_0x144df9]+'\x0d\x0a'+Object['keys'](_0x2cdf01)['map'](_0x29f5eb=>_0x29f5eb+':\x20'+_0x2cdf01[_0x29f5eb])[_0x2e11b2(0x1e3)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x594ef5);}function _0x31b9a0(_0x120890,_0x140332,_0x76a299,_0x334d95,_0x2f5e1d){const _0x2dc068=_0x3651a4;if(_0x120890['listenerCount'](_0x2dc068(0x127))){const _0x57243d=new Error(_0x2f5e1d);Error[_0x2dc068(0x153)](_0x57243d,_0x31b9a0),_0x120890[_0x2dc068(0x29b)](_0x2dc068(0x127),_0x57243d,_0x76a299,_0x140332);}else _0x1ac85f(_0x76a299,_0x334d95,_0x2f5e1d);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x18878d,_0x1b39da,_0x5a5dc4,_0x313440)=>{const _0x3d29eb=_0x1dd7e9;for(var _0x1be771=_0x313440>0x1?void 0x0:_0x313440?jt(_0x1b39da,_0x5a5dc4):_0x1b39da,_0x18f3ea=_0x18878d[_0x3d29eb(0x18d)]-0x1,_0x18ee7b;_0x18f3ea>=0x0;_0x18f3ea--)(_0x18ee7b=_0x18878d[_0x18f3ea])&&(_0x1be771=_0x18ee7b(_0x1be771)||_0x1be771);return _0x1be771;},qt=(_0x31f32d,_0x254ce4)=>(_0x187f61,_0x5dee4d)=>_0x254ce4(_0x187f61,_0x5dee4d,_0x31f32d);let ke=class extends A[_0x1dd7e9(0x230)]{constructor(_0x5d721b){super(),this['_configService']=_0x5d721b;}[_0x1dd7e9(0x138)](_0x503b2e){const _0xf2b58a=_0x1dd7e9;var _0x2351a7;const _0x4234db=(_0x2351a7=this[_0xf2b58a(0x182)][_0xf2b58a(0x270)](fe))==null?void 0x0:_0x2351a7[_0xf2b58a(0x293)];try{const _0x45a002=new $t(_0x503b2e,{'headers':{..._0x4234db}}),_0x3f64af=new A[(_0xf2b58a(0x275))]();return{'URL':_0x503b2e,'close':(_0x2d63da,_0x47f384)=>{const _0x47ec57=_0xf2b58a;_0x45a002[_0x47ec57(0x2a2)](_0x2d63da,_0x47f384),_0x3f64af[_0x47ec57(0x2a3)]();},'send':_0x368478=>{const _0x20c36d=_0xf2b58a;_0x45a002[_0x20c36d(0x216)](_0x368478);},'open$':new V['Observable'](_0x157058=>{const _0x1f33bb=_0xf2b58a,_0x409e67=_0x4a17e2=>_0x157058[_0x1f33bb(0x1ee)](_0x4a17e2);_0x45a002['addEventListener']('open',_0x409e67),_0x3f64af[_0x1f33bb(0x208)](A[_0x1f33bb(0x24b)](()=>_0x45a002[_0x1f33bb(0x29a)](_0x1f33bb(0x224),_0x409e67)));})[_0xf2b58a(0xf4)](V[_0xf2b58a(0x20b)]()),'close$':new V[(_0xf2b58a(0x26d))](_0x3bf594=>{const _0x4da169=_0xf2b58a,_0x43f0b8=_0x392ae0=>_0x3bf594[_0x4da169(0x1ee)](_0x392ae0);_0x45a002['addEventListener']('close',_0x43f0b8),_0x3f64af[_0x4da169(0x208)](A[_0x4da169(0x24b)](()=>_0x45a002[_0x4da169(0x29a)](_0x4da169(0x2a2),_0x43f0b8)));})[_0xf2b58a(0xf4)](V[_0xf2b58a(0x20b)]()),'error$':new V[(_0xf2b58a(0x26d))](_0x5f0baa=>{const _0x59962f=_0xf2b58a,_0x58c047=_0xa0b995=>_0x5f0baa[_0x59962f(0x1ee)](_0xa0b995);_0x45a002[_0x59962f(0x1c3)](_0x59962f(0x289),_0x58c047),_0x3f64af['add'](A[_0x59962f(0x24b)](()=>_0x45a002[_0x59962f(0x29a)](_0x59962f(0x289),_0x58c047)));})[_0xf2b58a(0xf4)](V[_0xf2b58a(0x20b)]()),'message$':new V['Observable'](_0x241805=>{const _0x276687=_0xf2b58a,_0x4f58f3=_0x2d9b71=>_0x241805[_0x276687(0x1ee)](_0x2d9b71);_0x45a002[_0x276687(0x1c3)]('message',_0x4f58f3),_0x3f64af[_0x276687(0x208)](A[_0x276687(0x24b)](()=>_0x45a002[_0x276687(0x29a)](_0x276687(0xee),_0x4f58f3)));})[_0xf2b58a(0xf4)](V[_0xf2b58a(0x20b)]())};}catch(_0x14ba78){return console[_0xf2b58a(0x289)](_0x14ba78),null;}}};ke=Wt([qt(0x0,A[_0x1dd7e9(0x1da)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x1dd7e9(0xec)],Ht=(_0x4c2efb,_0x3f0348,_0xb812e9)=>_0x3f0348 in _0x4c2efb?Gt(_0x4c2efb,_0x3f0348,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb812e9}):_0x4c2efb[_0x3f0348]=_0xb812e9,zt=(_0x2d50b5,_0x1f3e39,_0xdca692,_0x14ca5f)=>{const _0x13d2e0=_0x1dd7e9;for(var _0x1b4900=_0x14ca5f>0x1?void 0x0:_0x14ca5f?Vt(_0x1f3e39,_0xdca692):_0x1f3e39,_0x3154f9=_0x2d50b5[_0x13d2e0(0x18d)]-0x1,_0x25be08;_0x3154f9>=0x0;_0x3154f9--)(_0x25be08=_0x2d50b5[_0x3154f9])&&(_0x1b4900=_0x25be08(_0x1b4900)||_0x1b4900);return _0x1b4900;},Ne=(_0x9c82f5,_0x50da7d)=>(_0x185f56,_0x55988f)=>_0x50da7d(_0x185f56,_0x55988f,_0x9c82f5),Yt=(_0x342454,_0x238f54,_0x1abbe0)=>Ht(_0x342454,_0x238f54+'',_0x1abbe0);exports[_0x1dd7e9(0x1c7)]=class extends A[_0x1dd7e9(0x1e1)]{constructor(_0x16124b=Ct,_0x31ec16,_0x11e344,_0x3b0572){const _0x24686a=_0x1dd7e9;_0x16124b['customHeaders']||_0x31ec16[_0x24686a(0x17e)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x24686a(0x182)]=_0x11e344,this[_0x24686a(0x122)]=_0x3b0572,this[_0x24686a(0x182)]['setConfig'](fe,_0x16124b);}[_0x1dd7e9(0x262)](){const _0x7a295=_0x1dd7e9;this[_0x7a295(0x27f)]();}[_0x1dd7e9(0x27f)](){const _0x3f7b19=_0x1dd7e9;A['registerDependencies'](this[_0x3f7b19(0x122)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x1dd7e9(0x231),_0x1dd7e9(0x106)),exports[_0x1dd7e9(0x1c7)]=zt([A[_0x1dd7e9(0x191)](st[_0x1dd7e9(0xeb)]),Ne(0x1,A[_0x1dd7e9(0x11b)]),Ne(0x2,A[_0x1dd7e9(0x1da)]),Ne(0x3,A[_0x1dd7e9(0x267)](A[_0x1dd7e9(0x20a)]))],exports[_0x1dd7e9(0x1c7)]);var Kt=Object[_0x1dd7e9(0xec)],Xt=(_0x57d3ee,_0x1064cf,_0x260824,_0x363d37)=>{for(var _0x302e73=_0x363d37>0x1?void 0x0:_0x363d37?Kt(_0x1064cf,_0x260824):_0x1064cf,_0x43463c=_0x57d3ee['length']-0x1,_0x10cf80;_0x43463c>=0x0;_0x43463c--)(_0x10cf80=_0x57d3ee[_0x43463c])&&(_0x302e73=_0x10cf80(_0x302e73)||_0x302e73);return _0x302e73;},ne=(_0x5d99b1,_0x1b2a4e)=>(_0x40fbcd,_0x4aa9c9)=>_0x1b2a4e(_0x40fbcd,_0x4aa9c9,_0x5d99b1);exports['NodeCollaborationSocketService']=class extends st[_0x1dd7e9(0x1e8)]{constructor(_0x2809a0,_0x264796,_0x2d1a8c,_0x3ba815,_0x2d7ffe){const _0x467e58=_0x1dd7e9;super(_0x2809a0,_0x264796,_0x2d1a8c,_0x3ba815,_0x2d7ffe);const _0x3f23c0=this[_0x467e58(0x182)][_0x467e58(0x270)](fe);this[_0x467e58(0x173)][_0x467e58(0x20f)]({'interceptor':(_0x410ece,_0x5e0e4d)=>{const _0x182015=_0x467e58;var _0x11ffc0;const _0x180c6f=_0x410ece['headers'];return(_0x11ffc0=_0x3f23c0==null?void 0x0:_0x3f23c0[_0x182015(0x293)])!=null&&_0x11ffc0[_0x182015(0x1e5)]&&_0x180c6f[_0x182015(0x1bb)]('Cookie',_0x3f23c0[_0x182015(0x293)][_0x182015(0x1e5)]),_0x5e0e4d(_0x410ece);}});}async[_0x1dd7e9(0x138)](_0x197a2d){const _0x1cedc7=_0x1dd7e9;return this[_0x1cedc7(0x155)](_0x197a2d);}},exports[_0x1dd7e9(0x200)]=Xt([ne(0x0,A[_0x1dd7e9(0x267)](A[_0x1dd7e9(0x20a)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x1dd7e9(0x11b)]),ne(0x4,Ot[_0x1dd7e9(0x16f)])],exports[_0x1dd7e9(0x200)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x5d0ada=_0x19aa;(function(_0x358b5a,_0x513412){const _0x2d35b9=_0x19aa,_0x3f19e6=_0x358b5a();while(!![]){try{const _0x449cfa=parseInt(_0x2d35b9(0x12f))/0x1*(parseInt(_0x2d35b9(0x1f2))/0x2)+parseInt(_0x2d35b9(0x296))/0x3+-parseInt(_0x2d35b9(0x265))/0x4+-parseInt(_0x2d35b9(0x1c0))/0x5*(parseInt(_0x2d35b9(0x125))/0x6)+parseInt(_0x2d35b9(0x23c))/0x7*(-parseInt(_0x2d35b9(0x114))/0x8)+-parseInt(_0x2d35b9(0x1ec))/0x9+parseInt(_0x2d35b9(0x288))/0xa;if(_0x449cfa===_0x513412)break;else _0x3f19e6['push'](_0x3f19e6['shift']());}catch(_0x4f8dfb){_0x3f19e6['push'](_0x3f19e6['shift']());}}}(_0x5aa7,0x83f65));Object[_0x5d0ada(0x213)](exports,Symbol['toStringTag'],{'value':_0x5d0ada(0x1c9)});function _0x5aa7(){const _0x289b51=['kAborted','extensions','_max_window_bits','_configService','_payloadLength','hostname','isBuffer','_paused','_readableState','add','createInflateRaw','perMessageDeflate','resume','completeUpgrade','_state','size','Sec-WebSocket-Extensions','pow','maskBuffer','pipe','string','ws+unix:','Upgrade:\x20websocket','unmask','_allowSynchronousEvents','apply','callback','toLowerCase','client_no_context_takeover','push','wss:','_queue','Blob','_fragments','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','client','_server','species','data','getPayloadLength16','jobs','nextTick','binary','search','unshift','onmessage','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Unexpected\x20end\x20of\x20input','onStarting','invalid\x20status\x20code\x20','destroyed','The\x20URL\x27s\x20pathname\x20is\x20empty','conclude','Max\x20payload\x20size\x20exceeded','accept','close','clientNoContextTakeover','The\x20\x22','kDone','_final','toDisposable','default','readOnly','_mask','onerror','sec-websocket-extensions','Observable','_compress','auth','decompress','followRedirects','RSV1\x20must\x20be\x20clear','permessage-deflate','captureStackTrace','UniverCollaborationClientNodePlugin','Parameter\x20\x22','cleanup','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_injector','total-length','_writableState','isServer','createServer','arraybuffer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','length','Sec-WebSocket-Accept:\x20','listeners','sec-websocket-accept','location','Invalid\x20Sec-WebSocket-Extensions\x20header','dispose','Invalid\x20Upgrade\x20header','listen','hash','charCodeAt','kReason','sec-websocket-key','Maximum\x20redirects\x20exceeded','text/html','setSocket','Injector','GET','The\x20server\x20is\x20not\x20running','end','error','writeHead','write','dequeue','autoPong','pause','_maxPayload','alloc','kRun','invalid\x20payload\x20length\x20','generateMask','kType','constructor','DependentOn','mask','File','WS_ERR_INVALID_UTF8','finishRequest','15cScgOc','test','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','writeUInt16BE','_fragmented','_originalHostOrSocketPath','_closeFrameReceived','map','base64','Module','CollaborationSocketService','password','construct','invalid\x20UTF-8\x20sequence','NodeCollaborationSocketService','cookie','_destroy','host','_binaryType','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_extensions','Sec-WebSocket-Protocol:\x20','allowSynchronousEvents','verifyClient','noServer','invalid\x20opcode\x200','byteLength','_closeCode','fragments','open','_compressed','abort','needDrain','MASK\x20must\x20be\x20clear','emit','Unsupported\x20protocol\x20version:\x20','reason','socketPath','Unexpected\x20character\x20at\x20index\x20','from','registerHTTPInterceptor','WebSocket\x20is\x20not\x20open:\x20readyState\x20','ILogService','ISocketService','5608395XWkNty','getBlobData','compress','customHeaders','_options','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','934bkUTtF','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','CONNECTING','_isServer','createSocket','number','acceptAsServer','digest','replace','upgrade','13,\x208','_bufferedBytes','reset','status-code','bind','address','getOwnPropertyDescriptor','_deflate','HTTP/1.1\x20101\x20Switching\x20Protocols','serverMaxWindowBits','value','handleProtocols','once','kIsForOnEventAttribute','keys','offer','exports','kTarget','websocket','readUInt16BE','HTTP/1.1\x20','binaryType','buffer','defineProperty','timeout','Sec-WebSocket-Protocol','ws:','Server\x20sent\x20no\x20subprotocol','Unexpected\x20server\x20response:\x20','_removeListeners','_closeMessage','Plugin','_url','kData','get','server_no_context_takeover','finish','kWasClean','UniverCollaborationClientPlugin','then','getConfig','hasOwnProperty','readable','_generateMask','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','message','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','maxRedirects','opcode','_originalIpc','concurrency','Basic\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','createError','consume','options','_receiver','request','nodebuffer','haveLength','_loop','Disposable','call','indexOf','1561182dwPdNE','clientMaxWindowBits','object','isPaused','_socket','wsClientError','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','serverNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','endEmitted','handleEvent','blob','pending','server','target','normalizeParams','text/plain','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isValidUTF8','type','pong','controlMessage','Cookie','connection','uncork','_redirects','listenerCount','username','MASK\x20must\x20be\x20set','\x0d\x0a\x0d\x0a','getData','Origin','removeListener','_totalPayloadLength','Upgrade','destroy','Invalid\x20Sec-WebSocket-Accept\x20header','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-version','_bufferedAmount','shift','3768496MHFvyR','concat','invalid\x20opcode\x20','url','STATUS_CODES','join','readUInt32BE','client_max_window_bits','sha1','frame','defaultPort','isArray','has','_opcode','flush','threshold','addEventListener','enqueue','https:','pluginName','_shouldEmitClose','toStringTag','Unknown\x20parameter\x20\x22','setTimeout','dispatch','bufferedAmount','toString','socket','_messageLength','_req','_doCreateSocket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_no_context_takeover','_errorEmitted','WS_ERR_EXPECTED_MASK','21610840BhWOmZ','setHeader','_firstFragment','kListener','read','CLOSED','share','kCode','COLLABORATION_CLIENT_NODE_CONFIG_KEY','redirect','kMessage','Sec-WebSocket-Origin','http:','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','1826667NoGZGZ','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','cork','handleUpgrade','_sender','shouldHandle','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','path','headers','pathname','protocol','maxPayload','parse','authorized','sec-websocket-protocol','next','dataMessage','\x20(supported\x20versions:\x20','delete','_autoPong','Invalid\x20WebSocket\x20frame:\x20','Invalid\x20value\x20for\x20parameter\x20\x22','port','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_maskBuffer','_masked','wasClean','code','handshakeTimeout','_inflate','Invalid\x20URL:\x20','function','WS_ERR_INVALID_OPCODE','authorization','listening','_errored','set','forEach','_httpService','isInteger','onopen','WS_ERR_EXPECTED_FIN','_buffers','DisposableCollection','sendFrame','setNoDelay','\x22\x20subprotocol\x20is\x20duplicated','concurrencyLimit','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','catch','values','backlog','servername','WS_ERR_UNEXPECTED_RSV_1','_closeFrameSent','terminate','create','slice','errorEmitted','extensionName','clientTracking','ping','onclose','_protocol','Inject','_registerDependencies','startLoop','skipUTF8Validation','WS_NO_UTF_8_VALIDATE','kByteLength','CLOSING','writable','Server\x20sent\x20an\x20invalid\x20subprotocol','createConnection','24BzNFUQ','isView','server_max_window_bits','_closeTimer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Z_DEFAULT_WINDOWBITS','send','WS_NO_BUFFER_UTIL','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','clients','freeze','connect','byteOffset','params','_read','writeUIntBE','859752JJLjnw','split','origin','OPEN','_skipUTF8Validation','finished','_write','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','protocolVersion','kError','931DoEwOn','getInfo','prototype','IConfigService','zlibInflateOptions','allocUnsafe','update','find','objectMode','\x22:\x20','includes','readyState','_readyState','__esModule','emitClose','removeEventListener','drain','fin','buffers','acceptAsClient','_fin','arrayBuffer'];_0x5aa7=function(){return _0x289b51;};return _0x5aa7();}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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x540c27){const _0x410cb4=_0x5d0ada;return _0x540c27&&_0x540c27['__esModule']&&Object['prototype'][_0x410cb4(0x225)]['call'](_0x540c27,_0x410cb4(0x182))?_0x540c27['default']:_0x540c27;}function at(_0x828624){const _0x425690=_0x5d0ada;if(Object[_0x425690(0x131)][_0x425690(0x225)][_0x425690(0x23a)](_0x828624,_0x425690(0x13c)))return _0x828624;var _0x40545b=_0x828624[_0x425690(0x182)];if(typeof _0x40545b==_0x425690(0x2b5)){var _0x3c723d=function _0x586bbc(){const _0x35d075=_0x425690;var _0x491ede=!0x1;try{_0x491ede=this instanceof _0x586bbc;}catch{}return _0x491ede?Reflect[_0x35d075(0x1cc)](_0x40545b,arguments,this[_0x35d075(0x1ba)]):_0x40545b[_0x35d075(0x15e)](this,arguments);};_0x3c723d['prototype']=_0x40545b[_0x425690(0x131)];}else _0x3c723d={};return Object[_0x425690(0x213)](_0x3c723d,_0x425690(0x13c),{'value':!0x0}),Object[_0x425690(0x20a)](_0x828624)[_0x425690(0x2bb)](function(_0x169761){const _0x5dd2ec=_0x425690;var _0x459058=Object[_0x5dd2ec(0x202)](_0x828624,_0x169761);Object[_0x5dd2ec(0x213)](_0x3c723d,_0x169761,_0x459058[_0x5dd2ec(0x21e)]?_0x459058:{'enumerable':!0x0,'get':function(){return _0x828624[_0x169761];}});}),_0x3c723d;}function _0x19aa(_0x13918a,_0x1fda56){const _0x5aa791=_0x5aa7();return _0x19aa=function(_0x19aa1a,_0x46d42f){_0x19aa1a=_0x19aa1a-0x108;let _0xb1ed18=_0x5aa791[_0x19aa1a];return _0xb1ed18;},_0x19aa(_0x13918a,_0x1fda56);}var se={'exports':{}},ge,Ge;function H(){const _0x3188c0=_0x5d0ada;if(Ge)return ge;Ge=0x1;const _0x2ac2e3=[_0x3188c0(0x236),_0x3188c0(0x198),_0x3188c0(0x1dc)],_0x2e690b=typeof Blob<'u';return _0x2e690b&&_0x2ac2e3[_0x3188c0(0x162)](_0x3188c0(0x247)),ge={'BINARY_TYPES':_0x2ac2e3,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3188c0(0x173),'hasBlob':_0x2e690b,'kForOnEventAttribute':Symbol(_0x3188c0(0x209)),'kListener':Symbol(_0x3188c0(0x28b)),'kStatusCode':Symbol(_0x3188c0(0x1ff)),'kWebSocket':Symbol(_0x3188c0(0x20e)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5d0ada(0x11f)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x5d0ada(0x27a)],{'value':_0x5d0ada(0x1c9)})),Lt=at(kt);var Ve;function ce(){const _0x490fe7=_0x5d0ada;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x1e3e47}=H(),_0xd86708=Buffer[Symbol[_0x490fe7(0x16a)]];function _0x4e0e23(_0x14cebe,_0xa09da){const _0x1383a6=_0x490fe7;if(_0x14cebe[_0x1383a6(0x19a)]===0x0)return _0x1e3e47;if(_0x14cebe[_0x1383a6(0x19a)]===0x1)return _0x14cebe[0x0];const _0x2299c1=Buffer[_0x1383a6(0x134)](_0xa09da);let _0x1c5a7d=0x0;for(let _0x5156bc=0x0;_0x5156bc<_0x14cebe['length'];_0x5156bc++){const _0x33e07e=_0x14cebe[_0x5156bc];_0x2299c1[_0x1383a6(0x2ba)](_0x33e07e,_0x1c5a7d),_0x1c5a7d+=_0x33e07e[_0x1383a6(0x19a)];}return _0x1c5a7d<_0xa09da?new _0xd86708(_0x2299c1[_0x1383a6(0x212)],_0x2299c1['byteOffset'],_0x1c5a7d):_0x2299c1;}function _0xce850c(_0x44794b,_0x5a3788,_0x1252a3,_0x53284f,_0x31d528){for(let _0x1a99c8=0x0;_0x1a99c8<_0x31d528;_0x1a99c8++)_0x1252a3[_0x53284f+_0x1a99c8]=_0x44794b[_0x1a99c8]^_0x5a3788[_0x1a99c8&0x3];}function _0x1fba55(_0x3fefd0,_0x317995){for(let _0x35f18f=0x0;_0x35f18f<_0x3fefd0['length'];_0x35f18f++)_0x3fefd0[_0x35f18f]^=_0x317995[_0x35f18f&0x3];}function _0x80001d(_0x54c3be){const _0x248777=_0x490fe7;return _0x54c3be['length']===_0x54c3be['buffer'][_0x248777(0x1da)]?_0x54c3be[_0x248777(0x212)]:_0x54c3be[_0x248777(0x212)][_0x248777(0x2cf)](_0x54c3be[_0x248777(0x121)],_0x54c3be[_0x248777(0x121)]+_0x54c3be[_0x248777(0x19a)]);}function _0x3dda34(_0x223631){const _0x486ced=_0x490fe7;if(_0x3dda34[_0x486ced(0x183)]=!0x0,Buffer[_0x486ced(0x14b)](_0x223631))return _0x223631;let _0x428a6d;return _0x223631 instanceof ArrayBuffer?_0x428a6d=new _0xd86708(_0x223631):ArrayBuffer[_0x486ced(0x115)](_0x223631)?_0x428a6d=new _0xd86708(_0x223631[_0x486ced(0x212)],_0x223631['byteOffset'],_0x223631[_0x486ced(0x1da)]):(_0x428a6d=Buffer[_0x486ced(0x1e7)](_0x223631),_0x3dda34[_0x486ced(0x183)]=!0x1),_0x428a6d;}if(se[_0x490fe7(0x20c)]={'concat':_0x4e0e23,'mask':_0xce850c,'toArrayBuffer':_0x80001d,'toBuffer':_0x3dda34,'unmask':_0x1fba55},!process['env'][_0x490fe7(0x11c)])try{const _0xd7bf1e=Lt;se[_0x490fe7(0x20c)][_0x490fe7(0x1bc)]=function(_0xd53d0d,_0xa25c62,_0x469020,_0x37e006,_0x694edf){const _0xb4655=_0x490fe7;_0x694edf<0x30?_0xce850c(_0xd53d0d,_0xa25c62,_0x469020,_0x37e006,_0x694edf):_0xd7bf1e[_0xb4655(0x1bc)](_0xd53d0d,_0xa25c62,_0x469020,_0x37e006,_0x694edf);},se['exports'][_0x490fe7(0x15c)]=function(_0x3f00ee,_0x3b3b69){const _0x301f51=_0x490fe7;_0x3f00ee['length']<0x20?_0x1fba55(_0x3f00ee,_0x3b3b69):_0xd7bf1e[_0x301f51(0x15c)](_0x3f00ee,_0x3b3b69);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x5cd4d8=_0x5d0ada;if(He)return ye;He=0x1;const _0x3e403e=Symbol(_0x5cd4d8(0x17f)),_0x208c90=Symbol(_0x5cd4d8(0x1b6));class _0x20e22c{constructor(_0x59a7ee){const _0x11fe7e=_0x5cd4d8;this[_0x3e403e]=()=>{const _0x9bd80c=_0x19aa;this[_0x9bd80c(0x248)]--,this[_0x208c90]();},this['concurrency']=_0x59a7ee||0x1/0x0,this['jobs']=[],this[_0x11fe7e(0x248)]=0x0;}[_0x5cd4d8(0x14e)](_0xefc68d){const _0x199e68=_0x5cd4d8;this['jobs'][_0x199e68(0x162)](_0xefc68d),this[_0x208c90]();}[_0x208c90](){const _0x2f8912=_0x5cd4d8;if(this[_0x2f8912(0x248)]!==this[_0x2f8912(0x22e)]&&this[_0x2f8912(0x16d)][_0x2f8912(0x19a)]){const _0x4f2cb6=this['jobs'][_0x2f8912(0x264)]();this[_0x2f8912(0x248)]++,_0x4f2cb6(this[_0x3e403e]);}}}return ye=_0x20e22c,ye;}var ve,ze;function he(){const _0x399ccb=_0x5d0ada;if(ze)return ve;ze=0x1;const _0x928060=bt,_0x5d6257=ce(),_0x411801=Pt(),{kStatusCode:_0x1c054a}=H(),_0x3a0975=Buffer[Symbol[_0x399ccb(0x16a)]],_0x19bf72=Buffer[_0x399ccb(0x1e7)]([0x0,0x0,0xff,0xff]),_0x3f5239=Symbol('permessage-deflate'),_0x33f034=Symbol(_0x399ccb(0x194)),_0x105eea=Symbol(_0x399ccb(0x15f)),_0x3cdb20=Symbol(_0x399ccb(0x141)),_0x107f80=Symbol('error');let _0x397631;class _0x43d2cb{constructor(_0x42cde7,_0x54e788,_0x374168){const _0x1fcbe3=_0x399ccb;if(this[_0x1fcbe3(0x1b4)]=_0x374168|0x0,this[_0x1fcbe3(0x1f0)]=_0x42cde7||{},this['_threshold']=this[_0x1fcbe3(0x1f0)][_0x1fcbe3(0x274)]!==void 0x0?this['_options'][_0x1fcbe3(0x274)]:0x400,this[_0x1fcbe3(0x1f5)]=!!_0x54e788,this['_deflate']=null,this['_inflate']=null,this[_0x1fcbe3(0x122)]=null,!_0x397631){const _0x44d1cf=this['_options'][_0x1fcbe3(0x2c5)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x397631=new _0x411801(_0x44d1cf);}}static get['extensionName'](){const _0x4e94bf=_0x399ccb;return _0x4e94bf(0x18d);}['offer'](){const _0x591b20=_0x399ccb,_0x32eff5={};return this[_0x591b20(0x1f0)][_0x591b20(0x243)]&&(_0x32eff5[_0x591b20(0x21f)]=!0x0),this[_0x591b20(0x1f0)][_0x591b20(0x17d)]&&(_0x32eff5[_0x591b20(0x161)]=!0x0),this['_options'][_0x591b20(0x205)]&&(_0x32eff5['server_max_window_bits']=this[_0x591b20(0x1f0)][_0x591b20(0x205)]),this[_0x591b20(0x1f0)][_0x591b20(0x23d)]?_0x32eff5[_0x591b20(0x26c)]=this[_0x591b20(0x1f0)][_0x591b20(0x23d)]:this[_0x591b20(0x1f0)][_0x591b20(0x23d)]==null&&(_0x32eff5[_0x591b20(0x26c)]=!0x0),_0x32eff5;}[_0x399ccb(0x17b)](_0x4d918b){const _0xb9fb84=_0x399ccb;return _0x4d918b=this[_0xb9fb84(0x24b)](_0x4d918b),this[_0xb9fb84(0x122)]=this[_0xb9fb84(0x1f5)]?this['acceptAsServer'](_0x4d918b):this[_0xb9fb84(0x142)](_0x4d918b),this[_0xb9fb84(0x122)];}['cleanup'](){const _0xf8fb0c=_0x399ccb;if(this[_0xf8fb0c(0x2b3)]&&(this['_inflate']['close'](),this[_0xf8fb0c(0x2b3)]=null),this[_0xf8fb0c(0x203)]){const _0x5ac958=this[_0xf8fb0c(0x203)][_0x105eea];this['_deflate'][_0xf8fb0c(0x17c)](),this[_0xf8fb0c(0x203)]=null,_0x5ac958&&_0x5ac958(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x399ccb(0x1f8)](_0x2f559d){const _0x25e7af=_0x399ccb,_0xfd3d3b=this[_0x25e7af(0x1f0)],_0x136bc8=_0x2f559d[_0x25e7af(0x136)](_0x58d359=>!(_0xfd3d3b[_0x25e7af(0x243)]===!0x1&&_0x58d359[_0x25e7af(0x21f)]||_0x58d359['server_max_window_bits']&&(_0xfd3d3b[_0x25e7af(0x205)]===!0x1||typeof _0xfd3d3b[_0x25e7af(0x205)]==_0x25e7af(0x1f7)&&_0xfd3d3b[_0x25e7af(0x205)]>_0x58d359[_0x25e7af(0x116)])||typeof _0xfd3d3b[_0x25e7af(0x23d)]==_0x25e7af(0x1f7)&&!_0x58d359[_0x25e7af(0x26c)]));if(!_0x136bc8)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xfd3d3b[_0x25e7af(0x243)]&&(_0x136bc8[_0x25e7af(0x21f)]=!0x0),_0xfd3d3b['clientNoContextTakeover']&&(_0x136bc8[_0x25e7af(0x161)]=!0x0),typeof _0xfd3d3b[_0x25e7af(0x205)]==_0x25e7af(0x1f7)&&(_0x136bc8[_0x25e7af(0x116)]=_0xfd3d3b[_0x25e7af(0x205)]),typeof _0xfd3d3b['clientMaxWindowBits']==_0x25e7af(0x1f7)?_0x136bc8[_0x25e7af(0x26c)]=_0xfd3d3b[_0x25e7af(0x23d)]:(_0x136bc8[_0x25e7af(0x26c)]===!0x0||_0xfd3d3b['clientMaxWindowBits']===!0x1)&&delete _0x136bc8[_0x25e7af(0x26c)],_0x136bc8;}[_0x399ccb(0x142)](_0x29b243){const _0x302a92=_0x399ccb,_0x3dcd1f=_0x29b243[0x0];if(this['_options'][_0x302a92(0x17d)]===!0x1&&_0x3dcd1f['client_no_context_takeover'])throw new Error(_0x302a92(0x167));if(!_0x3dcd1f[_0x302a92(0x26c)])typeof this[_0x302a92(0x1f0)][_0x302a92(0x23d)]==_0x302a92(0x1f7)&&(_0x3dcd1f['client_max_window_bits']=this[_0x302a92(0x1f0)][_0x302a92(0x23d)]);else{if(this[_0x302a92(0x1f0)][_0x302a92(0x23d)]===!0x1||typeof this[_0x302a92(0x1f0)][_0x302a92(0x23d)]==_0x302a92(0x1f7)&&_0x3dcd1f['client_max_window_bits']>this[_0x302a92(0x1f0)][_0x302a92(0x23d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3dcd1f;}[_0x399ccb(0x24b)](_0x348979){const _0x1ff259=_0x399ccb;return _0x348979[_0x1ff259(0x2bb)](_0x31617a=>{const _0x35d079=_0x1ff259;Object[_0x35d079(0x20a)](_0x31617a)[_0x35d079(0x2bb)](_0x3eb9ab=>{const _0xee5125=_0x35d079;let _0x1e3d37=_0x31617a[_0x3eb9ab];if(_0x1e3d37[_0xee5125(0x19a)]>0x1)throw new Error(_0xee5125(0x190)+_0x3eb9ab+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x1e3d37=_0x1e3d37[0x0],_0x3eb9ab===_0xee5125(0x26c)){if(_0x1e3d37!==!0x0){const _0xa19889=+_0x1e3d37;if(!Number[_0xee5125(0x2bd)](_0xa19889)||_0xa19889<0x8||_0xa19889>0xf)throw new TypeError(_0xee5125(0x2ab)+_0x3eb9ab+_0xee5125(0x138)+_0x1e3d37);_0x1e3d37=_0xa19889;}else{if(!this[_0xee5125(0x1f5)])throw new TypeError(_0xee5125(0x2ab)+_0x3eb9ab+'\x22:\x20'+_0x1e3d37);}}else{if(_0x3eb9ab==='server_max_window_bits'){const _0x2f30f7=+_0x1e3d37;if(!Number[_0xee5125(0x2bd)](_0x2f30f7)||_0x2f30f7<0x8||_0x2f30f7>0xf)throw new TypeError(_0xee5125(0x2ab)+_0x3eb9ab+_0xee5125(0x138)+_0x1e3d37);_0x1e3d37=_0x2f30f7;}else{if(_0x3eb9ab===_0xee5125(0x161)||_0x3eb9ab===_0xee5125(0x21f)){if(_0x1e3d37!==!0x0)throw new TypeError(_0xee5125(0x2ab)+_0x3eb9ab+_0xee5125(0x138)+_0x1e3d37);}else throw new Error(_0xee5125(0x27b)+_0x3eb9ab+'\x22');}}_0x31617a[_0x3eb9ab]=_0x1e3d37;});}),_0x348979;}[_0x399ccb(0x18a)](_0x3e72c2,_0x4d0ad7,_0xa0674a){const _0x30bf2e=_0x399ccb;_0x397631[_0x30bf2e(0x14e)](_0x81d2d8=>{this['_decompress'](_0x3e72c2,_0x4d0ad7,(_0x2f45ee,_0x397141)=>{_0x81d2d8(),_0xa0674a(_0x2f45ee,_0x397141);});});}[_0x399ccb(0x1ee)](_0x4a3a16,_0x388db6,_0x31ec5a){_0x397631['add'](_0x1c8c93=>{const _0x2968f5=_0x19aa;this[_0x2968f5(0x188)](_0x4a3a16,_0x388db6,(_0x745415,_0xdf47e3)=>{_0x1c8c93(),_0x31ec5a(_0x745415,_0xdf47e3);});});}['_decompress'](_0x3d9ef7,_0xb06382,_0x57baa2){const _0x50413b=_0x399ccb,_0x470812=this[_0x50413b(0x1f5)]?'client':_0x50413b(0x249);if(!this['_inflate']){const _0xca0957=_0x470812+'_max_window_bits',_0x5c28b4=typeof this[_0x50413b(0x122)][_0xca0957]!='number'?_0x928060['Z_DEFAULT_WINDOWBITS']:this[_0x50413b(0x122)][_0xca0957];this[_0x50413b(0x2b3)]=_0x928060[_0x50413b(0x14f)]({...this[_0x50413b(0x1f0)][_0x50413b(0x133)],'windowBits':_0x5c28b4}),this[_0x50413b(0x2b3)][_0x3f5239]=this,this['_inflate'][_0x33f034]=0x0,this[_0x50413b(0x2b3)][_0x3cdb20]=[],this[_0x50413b(0x2b3)]['on'](_0x50413b(0x1ae),_0x2598ac),this['_inflate']['on']('data',_0x19f3c0);}this[_0x50413b(0x2b3)][_0x105eea]=_0x57baa2,this[_0x50413b(0x2b3)][_0x50413b(0x1b0)](_0x3d9ef7),_0xb06382&&this[_0x50413b(0x2b3)][_0x50413b(0x1b0)](_0x19bf72),this['_inflate'][_0x50413b(0x273)](()=>{const _0xb90197=_0x50413b,_0x9ac524=this[_0xb90197(0x2b3)][_0x107f80];if(_0x9ac524){this[_0xb90197(0x2b3)][_0xb90197(0x17c)](),this[_0xb90197(0x2b3)]=null,_0x57baa2(_0x9ac524);return;}const _0x394377=_0x5d6257[_0xb90197(0x266)](this['_inflate'][_0x3cdb20],this[_0xb90197(0x2b3)][_0x33f034]);this[_0xb90197(0x2b3)][_0xb90197(0x14d)][_0xb90197(0x245)]?(this[_0xb90197(0x2b3)][_0xb90197(0x17c)](),this['_inflate']=null):(this[_0xb90197(0x2b3)][_0x33f034]=0x0,this[_0xb90197(0x2b3)][_0x3cdb20]=[],_0xb06382&&this['params'][_0x470812+_0xb90197(0x285)]&&this['_inflate']['reset']()),_0x57baa2(null,_0x394377);});}[_0x399ccb(0x188)](_0x5f31b3,_0x2282bd,_0x4dd5ed){const _0x483ff6=_0x399ccb,_0x47e69d=this[_0x483ff6(0x1f5)]?'server':_0x483ff6(0x168);if(!this[_0x483ff6(0x203)]){const _0x642c41=_0x47e69d+_0x483ff6(0x147),_0x287bb2=typeof this[_0x483ff6(0x122)][_0x642c41]!=_0x483ff6(0x1f7)?_0x928060[_0x483ff6(0x11a)]:this[_0x483ff6(0x122)][_0x642c41];this[_0x483ff6(0x203)]=_0x928060['createDeflateRaw']({...this[_0x483ff6(0x1f0)]['zlibDeflateOptions'],'windowBits':_0x287bb2}),this[_0x483ff6(0x203)][_0x33f034]=0x0,this[_0x483ff6(0x203)][_0x3cdb20]=[],this[_0x483ff6(0x203)]['on'](_0x483ff6(0x16b),_0x51af4);}this[_0x483ff6(0x203)][_0x105eea]=_0x4dd5ed,this['_deflate'][_0x483ff6(0x1b0)](_0x5f31b3),this[_0x483ff6(0x203)]['flush'](_0x928060['Z_SYNC_FLUSH'],()=>{const _0x4e3474=_0x483ff6;if(!this[_0x4e3474(0x203)])return;let _0x577842=_0x5d6257['concat'](this[_0x4e3474(0x203)][_0x3cdb20],this['_deflate'][_0x33f034]);_0x2282bd&&(_0x577842=new _0x3a0975(_0x577842[_0x4e3474(0x212)],_0x577842[_0x4e3474(0x121)],_0x577842[_0x4e3474(0x19a)]-0x4)),this[_0x4e3474(0x203)][_0x105eea]=null,this[_0x4e3474(0x203)][_0x33f034]=0x0,this[_0x4e3474(0x203)][_0x3cdb20]=[],_0x2282bd&&this[_0x4e3474(0x122)][_0x47e69d+'_no_context_takeover']&&this[_0x4e3474(0x203)][_0x4e3474(0x1fe)](),_0x4dd5ed(null,_0x577842);});}}ve=_0x43d2cb;function _0x51af4(_0x365ffb){const _0x3b1945=_0x399ccb;this[_0x3cdb20][_0x3b1945(0x162)](_0x365ffb),this[_0x33f034]+=_0x365ffb[_0x3b1945(0x19a)];}function _0x19f3c0(_0x5f2c46){const _0x4db1bc=_0x399ccb;if(this[_0x33f034]+=_0x5f2c46[_0x4db1bc(0x19a)],this[_0x3f5239][_0x4db1bc(0x1b4)]<0x1||this[_0x33f034]<=this[_0x3f5239][_0x4db1bc(0x1b4)]){this[_0x3cdb20][_0x4db1bc(0x162)](_0x5f2c46);return;}this[_0x107f80]=new RangeError(_0x4db1bc(0x17a)),this[_0x107f80][_0x4db1bc(0x2b1)]=_0x4db1bc(0x244),this[_0x107f80][_0x1c054a]=0x3f1,this['removeListener']('data',_0x19f3c0),this['reset']();}function _0x2598ac(_0x492dcf){if(this[_0x3f5239]['_inflate']=null,this[_0x107f80]){this[_0x105eea](this[_0x107f80]);return;}_0x492dcf[_0x1c054a]=0x3ef,this[_0x105eea](_0x492dcf);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5d0ada(0x11f)](Object[_0x5d0ada(0x213)]({'__proto__':null,'default':Dt},Symbol[_0x5d0ada(0x27a)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3354e0=_0x5d0ada;if(Ye)return ie[_0x3354e0(0x20c)];Ye=0x1;const {isUtf8:_0x2e89e1}=wt,{hasBlob:_0x5ecb72}=H(),_0x19b227=[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 _0x35c2ae(_0x3e3401){return _0x3e3401>=0x3e8&&_0x3e3401<=0x3f6&&_0x3e3401!==0x3ec&&_0x3e3401!==0x3ed&&_0x3e3401!==0x3ee||_0x3e3401>=0xbb8&&_0x3e3401<=0x1387;}function _0x210d8c(_0x5c2dd1){const _0xacdd7d=_0x3354e0,_0x1c5479=_0x5c2dd1[_0xacdd7d(0x19a)];let _0x481f0f=0x0;for(;_0x481f0f<_0x1c5479;)if((_0x5c2dd1[_0x481f0f]&0x80)===0x0)_0x481f0f++;else{if((_0x5c2dd1[_0x481f0f]&0xe0)===0xc0){if(_0x481f0f+0x1===_0x1c5479||(_0x5c2dd1[_0x481f0f+0x1]&0xc0)!==0x80||(_0x5c2dd1[_0x481f0f]&0xfe)===0xc0)return!0x1;_0x481f0f+=0x2;}else{if((_0x5c2dd1[_0x481f0f]&0xf0)===0xe0){if(_0x481f0f+0x2>=_0x1c5479||(_0x5c2dd1[_0x481f0f+0x1]&0xc0)!==0x80||(_0x5c2dd1[_0x481f0f+0x2]&0xc0)!==0x80||_0x5c2dd1[_0x481f0f]===0xe0&&(_0x5c2dd1[_0x481f0f+0x1]&0xe0)===0x80||_0x5c2dd1[_0x481f0f]===0xed&&(_0x5c2dd1[_0x481f0f+0x1]&0xe0)===0xa0)return!0x1;_0x481f0f+=0x3;}else{if((_0x5c2dd1[_0x481f0f]&0xf8)===0xf0){if(_0x481f0f+0x3>=_0x1c5479||(_0x5c2dd1[_0x481f0f+0x1]&0xc0)!==0x80||(_0x5c2dd1[_0x481f0f+0x2]&0xc0)!==0x80||(_0x5c2dd1[_0x481f0f+0x3]&0xc0)!==0x80||_0x5c2dd1[_0x481f0f]===0xf0&&(_0x5c2dd1[_0x481f0f+0x1]&0xf0)===0x80||_0x5c2dd1[_0x481f0f]===0xf4&&_0x5c2dd1[_0x481f0f+0x1]>0x8f||_0x5c2dd1[_0x481f0f]>0xf4)return!0x1;_0x481f0f+=0x4;}else return!0x1;}}}return!0x0;}function _0x3fb4ca(_0x383778){const _0x58370f=_0x3354e0;return _0x5ecb72&&typeof _0x383778==_0x58370f(0x23e)&&typeof _0x383778['arrayBuffer']==_0x58370f(0x2b5)&&typeof _0x383778[_0x58370f(0x24f)]=='string'&&typeof _0x383778['stream']==_0x58370f(0x2b5)&&(_0x383778[Symbol[_0x58370f(0x27a)]]===_0x58370f(0x165)||_0x383778[Symbol[_0x58370f(0x27a)]]===_0x58370f(0x1bd));}if(ie[_0x3354e0(0x20c)]={'isBlob':_0x3fb4ca,'isValidStatusCode':_0x35c2ae,'isValidUTF8':_0x210d8c,'tokenChars':_0x19b227},_0x2e89e1)ie[_0x3354e0(0x20c)]['isValidUTF8']=function(_0x4b563e){const _0x1d9181=_0x3354e0;return _0x4b563e[_0x1d9181(0x19a)]<0x18?_0x210d8c(_0x4b563e):_0x2e89e1(_0x4b563e);};else{if(!process['env'][_0x3354e0(0x10e)])try{const _0x12fda1=Bt;ie[_0x3354e0(0x20c)][_0x3354e0(0x24e)]=function(_0x144995){const _0x504736=_0x3354e0;return _0x144995[_0x504736(0x19a)]<0x20?_0x210d8c(_0x144995):_0x12fda1(_0x144995);};}catch{}}return ie[_0x3354e0(0x20c)];}var Se,Ke;function lt(){const _0x88aa46=_0x5d0ada;if(Ke)return Se;Ke=0x1;const {Writable:_0x46e91c}=oe,_0x3c1428=he(),{BINARY_TYPES:_0x73f747,EMPTY_BUFFER:_0x1c1a78,kStatusCode:_0x5f208e,kWebSocket:_0x3c6ce9}=H(),{concat:_0x1d0843,toArrayBuffer:_0x1f4fa5,unmask:_0xec9330}=ce(),{isValidStatusCode:_0x5f4fb0,isValidUTF8:_0xf237ef}=ae(),_0x16b6f6=Buffer[Symbol[_0x88aa46(0x16a)]],_0x54f56d=0x0,_0x59dade=0x1,_0x2fed1a=0x2,_0x56524b=0x3,_0xd32a44=0x4,_0x52823d=0x5,_0x2f31e5=0x6;class _0x2fe201 extends _0x46e91c{constructor(_0x476e1e={}){const _0x4bdc86=_0x88aa46;super(),this[_0x4bdc86(0x15d)]=_0x476e1e['allowSynchronousEvents']!==void 0x0?_0x476e1e[_0x4bdc86(0x1d6)]:!0x0,this[_0x4bdc86(0x1d2)]=_0x476e1e[_0x4bdc86(0x211)]||_0x73f747[0x0],this[_0x4bdc86(0x1d4)]=_0x476e1e['extensions']||{},this['_isServer']=!!_0x476e1e[_0x4bdc86(0x196)],this[_0x4bdc86(0x1b4)]=_0x476e1e[_0x4bdc86(0x2a1)]|0x0,this['_skipUTF8Validation']=!!_0x476e1e[_0x4bdc86(0x10d)],this[_0x3c6ce9]=void 0x0,this[_0x4bdc86(0x1fd)]=0x0,this[_0x4bdc86(0x2c0)]=[],this[_0x4bdc86(0x1de)]=!0x1,this[_0x4bdc86(0x149)]=0x0,this[_0x4bdc86(0x184)]=void 0x0,this[_0x4bdc86(0x1c4)]=0x0,this[_0x4bdc86(0x2af)]=!0x1,this[_0x4bdc86(0x143)]=!0x1,this[_0x4bdc86(0x272)]=0x0,this[_0x4bdc86(0x25d)]=0x0,this[_0x4bdc86(0x281)]=0x0,this[_0x4bdc86(0x166)]=[],this[_0x4bdc86(0x2b9)]=!0x1,this['_loop']=!0x1,this['_state']=_0x54f56d;}[_0x88aa46(0x12b)](_0x57dc26,_0x1a5fdc,_0x464b38){const _0x5dacc0=_0x88aa46;if(this[_0x5dacc0(0x272)]===0x8&&this['_state']==_0x54f56d)return _0x464b38();this[_0x5dacc0(0x1fd)]+=_0x57dc26[_0x5dacc0(0x19a)],this[_0x5dacc0(0x2c0)][_0x5dacc0(0x162)](_0x57dc26),this[_0x5dacc0(0x10c)](_0x464b38);}[_0x88aa46(0x232)](_0x2ca7d2){const _0x5f5229=_0x88aa46;if(this[_0x5f5229(0x1fd)]-=_0x2ca7d2,_0x2ca7d2===this[_0x5f5229(0x2c0)][0x0][_0x5f5229(0x19a)])return this[_0x5f5229(0x2c0)]['shift']();if(_0x2ca7d2<this[_0x5f5229(0x2c0)][0x0]['length']){const _0xc1232d=this[_0x5f5229(0x2c0)][0x0];return this[_0x5f5229(0x2c0)][0x0]=new _0x16b6f6(_0xc1232d['buffer'],_0xc1232d[_0x5f5229(0x121)]+_0x2ca7d2,_0xc1232d[_0x5f5229(0x19a)]-_0x2ca7d2),new _0x16b6f6(_0xc1232d[_0x5f5229(0x212)],_0xc1232d[_0x5f5229(0x121)],_0x2ca7d2);}const _0xb17c1e=Buffer['allocUnsafe'](_0x2ca7d2);do{const _0x55e972=this[_0x5f5229(0x2c0)][0x0],_0x65f370=_0xb17c1e['length']-_0x2ca7d2;_0x2ca7d2>=_0x55e972['length']?_0xb17c1e[_0x5f5229(0x2ba)](this[_0x5f5229(0x2c0)][_0x5f5229(0x264)](),_0x65f370):(_0xb17c1e[_0x5f5229(0x2ba)](new Uint8Array(_0x55e972[_0x5f5229(0x212)],_0x55e972[_0x5f5229(0x121)],_0x2ca7d2),_0x65f370),this[_0x5f5229(0x2c0)][0x0]=new _0x16b6f6(_0x55e972[_0x5f5229(0x212)],_0x55e972['byteOffset']+_0x2ca7d2,_0x55e972[_0x5f5229(0x19a)]-_0x2ca7d2)),_0x2ca7d2-=_0x55e972[_0x5f5229(0x19a)];}while(_0x2ca7d2>0x0);return _0xb17c1e;}['startLoop'](_0x8729ae){const _0x4f1f00=_0x88aa46;this['_loop']=!0x0;do switch(this[_0x4f1f00(0x153)]){case _0x54f56d:this[_0x4f1f00(0x130)](_0x8729ae);break;case _0x59dade:this[_0x4f1f00(0x16c)](_0x8729ae);break;case _0x2fed1a:this['getPayloadLength64'](_0x8729ae);break;case _0x56524b:this['getMask']();break;case _0xd32a44:this['getData'](_0x8729ae);break;case _0x52823d:case _0x2f31e5:this[_0x4f1f00(0x238)]=!0x1;return;}while(this[_0x4f1f00(0x238)]);this[_0x4f1f00(0x2b9)]||_0x8729ae();}[_0x88aa46(0x130)](_0x19d051){const _0x248c38=_0x88aa46;if(this[_0x248c38(0x1fd)]<0x2){this['_loop']=!0x1;return;}const _0xb07081=this['consume'](0x2);if((_0xb07081[0x0]&0x30)!==0x0){const _0x4b8a77=this['createError'](RangeError,_0x248c38(0x297),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x19d051(_0x4b8a77);return;}const _0x454767=(_0xb07081[0x0]&0x40)===0x40;if(_0x454767&&!this[_0x248c38(0x1d4)][_0x3c1428[_0x248c38(0x2d1)]]){const _0x5e693a=this[_0x248c38(0x231)](RangeError,_0x248c38(0x18c),!0x0,0x3ea,_0x248c38(0x2cb));_0x19d051(_0x5e693a);return;}if(this[_0x248c38(0x143)]=(_0xb07081[0x0]&0x80)===0x80,this[_0x248c38(0x272)]=_0xb07081[0x0]&0xf,this[_0x248c38(0x149)]=_0xb07081[0x1]&0x7f,this[_0x248c38(0x272)]===0x0){if(_0x454767){const _0x1c815f=this[_0x248c38(0x231)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x248c38(0x2cb));_0x19d051(_0x1c815f);return;}if(!this[_0x248c38(0x1c4)]){const _0x5b23b2=this[_0x248c38(0x231)](RangeError,_0x248c38(0x1d9),!0x0,0x3ea,_0x248c38(0x2b6));_0x19d051(_0x5b23b2);return;}this[_0x248c38(0x272)]=this[_0x248c38(0x1c4)];}else{if(this[_0x248c38(0x272)]===0x1||this[_0x248c38(0x272)]===0x2){if(this[_0x248c38(0x1c4)]){const _0x2e3743=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x248c38(0x272)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x19d051(_0x2e3743);return;}this['_compressed']=_0x454767;}else{if(this['_opcode']>0x7&&this[_0x248c38(0x272)]<0xb){if(!this[_0x248c38(0x143)]){const _0x3c44d4=this[_0x248c38(0x231)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x248c38(0x2bf));_0x19d051(_0x3c44d4);return;}if(_0x454767){const _0x1d1100=this[_0x248c38(0x231)](RangeError,_0x248c38(0x18c),!0x0,0x3ea,_0x248c38(0x2cb));_0x19d051(_0x1d1100);return;}if(this['_payloadLength']>0x7d||this[_0x248c38(0x272)]===0x8&&this['_payloadLength']===0x1){const _0x27274c=this[_0x248c38(0x231)](RangeError,_0x248c38(0x1b7)+this[_0x248c38(0x149)],!0x0,0x3ea,_0x248c38(0x118));_0x19d051(_0x27274c);return;}}else{const _0x163d43=this[_0x248c38(0x231)](RangeError,_0x248c38(0x267)+this[_0x248c38(0x272)],!0x0,0x3ea,_0x248c38(0x2b6));_0x19d051(_0x163d43);return;}}}if(!this[_0x248c38(0x143)]&&!this[_0x248c38(0x1c4)]&&(this[_0x248c38(0x1c4)]=this[_0x248c38(0x272)]),this[_0x248c38(0x2af)]=(_0xb07081[0x1]&0x80)===0x80,this[_0x248c38(0x1f5)]){if(!this['_masked']){const _0x28208e=this[_0x248c38(0x231)](RangeError,_0x248c38(0x258),!0x0,0x3ea,_0x248c38(0x287));_0x19d051(_0x28208e);return;}}else{if(this[_0x248c38(0x2af)]){const _0x35d8fb=this[_0x248c38(0x231)](RangeError,_0x248c38(0x1e1),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x19d051(_0x35d8fb);return;}}this['_payloadLength']===0x7e?this[_0x248c38(0x153)]=_0x59dade:this[_0x248c38(0x149)]===0x7f?this['_state']=_0x2fed1a:this['haveLength'](_0x19d051);}['getPayloadLength16'](_0x2cf8a0){const _0x138542=_0x88aa46;if(this[_0x138542(0x1fd)]<0x2){this['_loop']=!0x1;return;}this[_0x138542(0x149)]=this['consume'](0x2)[_0x138542(0x20f)](0x0),this[_0x138542(0x237)](_0x2cf8a0);}['getPayloadLength64'](_0x18d856){const _0x45e495=_0x88aa46;if(this['_bufferedBytes']<0x8){this[_0x45e495(0x238)]=!0x1;return;}const _0x53477c=this[_0x45e495(0x232)](0x8),_0x2f924c=_0x53477c[_0x45e495(0x26b)](0x0);if(_0x2f924c>Math[_0x45e495(0x156)](0x2,0x15)-0x1){const _0x46a3ca=this[_0x45e495(0x231)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x45e495(0x2c6));_0x18d856(_0x46a3ca);return;}this[_0x45e495(0x149)]=_0x2f924c*Math['pow'](0x2,0x20)+_0x53477c['readUInt32BE'](0x4),this[_0x45e495(0x237)](_0x18d856);}[_0x88aa46(0x237)](_0x2c08c8){const _0x14a023=_0x88aa46;if(this[_0x14a023(0x149)]&&this['_opcode']<0x8&&(this[_0x14a023(0x25d)]+=this[_0x14a023(0x149)],this[_0x14a023(0x25d)]>this[_0x14a023(0x1b4)]&&this['_maxPayload']>0x0)){const _0x4779b5=this[_0x14a023(0x231)](RangeError,_0x14a023(0x17a),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2c08c8(_0x4779b5);return;}this[_0x14a023(0x2af)]?this['_state']=_0x56524b:this['_state']=_0xd32a44;}['getMask'](){const _0x112a64=_0x88aa46;if(this['_bufferedBytes']<0x4){this[_0x112a64(0x238)]=!0x1;return;}this[_0x112a64(0x184)]=this[_0x112a64(0x232)](0x4),this[_0x112a64(0x153)]=_0xd32a44;}[_0x88aa46(0x25a)](_0x2b92ad){const _0x1ad679=_0x88aa46;let _0x441724=_0x1c1a78;if(this[_0x1ad679(0x149)]){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x441724=this[_0x1ad679(0x232)](this[_0x1ad679(0x149)]),this['_masked']&&(this['_mask'][0x0]|this[_0x1ad679(0x184)][0x1]|this[_0x1ad679(0x184)][0x2]|this[_0x1ad679(0x184)][0x3])!==0x0&&_0xec9330(_0x441724,this[_0x1ad679(0x184)]);}if(this[_0x1ad679(0x272)]>0x7){this['controlMessage'](_0x441724,_0x2b92ad);return;}if(this[_0x1ad679(0x1de)]){this[_0x1ad679(0x153)]=_0x52823d,this[_0x1ad679(0x18a)](_0x441724,_0x2b92ad);return;}_0x441724[_0x1ad679(0x19a)]&&(this[_0x1ad679(0x281)]=this['_totalPayloadLength'],this['_fragments'][_0x1ad679(0x162)](_0x441724)),this[_0x1ad679(0x2a6)](_0x2b92ad);}[_0x88aa46(0x18a)](_0x178b8b,_0x72ed0a){const _0x27205d=_0x88aa46;this[_0x27205d(0x1d4)][_0x3c1428['extensionName']]['decompress'](_0x178b8b,this[_0x27205d(0x143)],(_0xf51462,_0x4c4203)=>{const _0x125d64=_0x27205d;if(_0xf51462)return _0x72ed0a(_0xf51462);if(_0x4c4203[_0x125d64(0x19a)]){if(this[_0x125d64(0x281)]+=_0x4c4203[_0x125d64(0x19a)],this[_0x125d64(0x281)]>this['_maxPayload']&&this[_0x125d64(0x1b4)]>0x0){const _0x177afa=this[_0x125d64(0x231)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x125d64(0x244));_0x72ed0a(_0x177afa);return;}this[_0x125d64(0x166)]['push'](_0x4c4203);}this[_0x125d64(0x2a6)](_0x72ed0a),this[_0x125d64(0x153)]===_0x54f56d&&this[_0x125d64(0x10c)](_0x72ed0a);});}[_0x88aa46(0x2a6)](_0x5bcb9a){const _0x2980d8=_0x88aa46;if(!this['_fin']){this[_0x2980d8(0x153)]=_0x54f56d;return;}const _0x2e3fa6=this[_0x2980d8(0x281)],_0x3836cd=this[_0x2980d8(0x166)];if(this['_totalPayloadLength']=0x0,this[_0x2980d8(0x281)]=0x0,this[_0x2980d8(0x1c4)]=0x0,this[_0x2980d8(0x166)]=[],this[_0x2980d8(0x272)]===0x2){let _0x5e0a92;this['_binaryType']===_0x2980d8(0x236)?_0x5e0a92=_0x1d0843(_0x3836cd,_0x2e3fa6):this[_0x2980d8(0x1d2)]===_0x2980d8(0x198)?_0x5e0a92=_0x1f4fa5(_0x1d0843(_0x3836cd,_0x2e3fa6)):this[_0x2980d8(0x1d2)]===_0x2980d8(0x247)?_0x5e0a92=new Blob(_0x3836cd):_0x5e0a92=_0x3836cd,this[_0x2980d8(0x15d)]?(this[_0x2980d8(0x1e2)](_0x2980d8(0x229),_0x5e0a92,!0x0),this['_state']=_0x54f56d):(this[_0x2980d8(0x153)]=_0x2f31e5,setImmediate(()=>{const _0x10d2f4=_0x2980d8;this[_0x10d2f4(0x1e2)]('message',_0x5e0a92,!0x0),this[_0x10d2f4(0x153)]=_0x54f56d,this['startLoop'](_0x5bcb9a);}));}else{const _0x5c0f49=_0x1d0843(_0x3836cd,_0x2e3fa6);if(!this[_0x2980d8(0x129)]&&!_0xf237ef(_0x5c0f49)){const _0x4a864e=this[_0x2980d8(0x231)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5bcb9a(_0x4a864e);return;}this[_0x2980d8(0x153)]===_0x52823d||this['_allowSynchronousEvents']?(this[_0x2980d8(0x1e2)](_0x2980d8(0x229),_0x5c0f49,!0x1),this[_0x2980d8(0x153)]=_0x54f56d):(this[_0x2980d8(0x153)]=_0x2f31e5,setImmediate(()=>{const _0x2b730b=_0x2980d8;this[_0x2b730b(0x1e2)](_0x2b730b(0x229),_0x5c0f49,!0x1),this['_state']=_0x54f56d,this[_0x2b730b(0x10c)](_0x5bcb9a);}));}}[_0x88aa46(0x251)](_0x431e40,_0x489b0a){const _0xd80970=_0x88aa46;if(this[_0xd80970(0x272)]===0x8){if(_0x431e40['length']===0x0)this['_loop']=!0x1,this[_0xd80970(0x1e2)]('conclude',0x3ed,_0x1c1a78),this[_0xd80970(0x1ad)]();else{const _0x13b325=_0x431e40[_0xd80970(0x20f)](0x0);if(!_0x5f4fb0(_0x13b325)){const _0x14ebcd=this[_0xd80970(0x231)](RangeError,_0xd80970(0x176)+_0x13b325,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x489b0a(_0x14ebcd);return;}const _0x18545e=new _0x16b6f6(_0x431e40[_0xd80970(0x212)],_0x431e40[_0xd80970(0x121)]+0x2,_0x431e40[_0xd80970(0x19a)]-0x2);if(!this[_0xd80970(0x129)]&&!_0xf237ef(_0x18545e)){const _0x58e41d=this['createError'](Error,_0xd80970(0x1cd),!0x0,0x3ef,_0xd80970(0x1be));_0x489b0a(_0x58e41d);return;}this[_0xd80970(0x238)]=!0x1,this[_0xd80970(0x1e2)](_0xd80970(0x179),_0x13b325,_0x18545e),this[_0xd80970(0x1ad)]();}this[_0xd80970(0x153)]=_0x54f56d;return;}this[_0xd80970(0x15d)]?(this[_0xd80970(0x1e2)](this[_0xd80970(0x272)]===0x9?'ping':_0xd80970(0x250),_0x431e40),this['_state']=_0x54f56d):(this[_0xd80970(0x153)]=_0x2f31e5,setImmediate(()=>{const _0x289ee4=_0xd80970;this[_0x289ee4(0x1e2)](this[_0x289ee4(0x272)]===0x9?_0x289ee4(0x2d3):'pong',_0x431e40),this['_state']=_0x54f56d,this[_0x289ee4(0x10c)](_0x489b0a);}));}[_0x88aa46(0x231)](_0x3b2c03,_0x537d95,_0x30cc79,_0x224539,_0x24cd90){const _0x3d8ef1=_0x88aa46;this[_0x3d8ef1(0x238)]=!0x1,this[_0x3d8ef1(0x2b9)]=!0x0;const _0x7697a2=new _0x3b2c03(_0x30cc79?_0x3d8ef1(0x2aa)+_0x537d95:_0x537d95);return Error[_0x3d8ef1(0x18e)](_0x7697a2,this[_0x3d8ef1(0x231)]),_0x7697a2[_0x3d8ef1(0x2b1)]=_0x24cd90,_0x7697a2[_0x5f208e]=_0x224539,_0x7697a2;}}return Se=_0x2fe201,Se;}var Ee,Xe;function ft(){const _0xc58ca8=_0x5d0ada;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x494407}=oe,{randomFillSync:_0x16cf62}=Le,_0x585ed0=he(),{EMPTY_BUFFER:_0x30064d,kWebSocket:_0x47ce55,NOOP:_0x39cf98}=H(),{isBlob:_0x4449ea,isValidStatusCode:_0x48ca1f}=ae(),{mask:_0x43510d,toBuffer:_0x5cf8a4}=ce(),_0x217ead=Symbol(_0xc58ca8(0x10f)),_0x859250=Buffer[_0xc58ca8(0x1b5)](0x4),_0x23059c=0x8*0x400;let _0x5c8924,_0x35a038=_0x23059c;const _0x4a3365=0x0,_0x2c5687=0x1,_0x3312b3=0x2;class _0x5ee0cd{constructor(_0x3f5307,_0x5b8f9f,_0x2223b1){const _0x2c78ee=_0xc58ca8;this[_0x2c78ee(0x1d4)]=_0x5b8f9f||{},_0x2223b1&&(this['_generateMask']=_0x2223b1,this[_0x2c78ee(0x2ae)]=Buffer[_0x2c78ee(0x1b5)](0x4)),this[_0x2c78ee(0x240)]=_0x3f5307,this['_firstFragment']=!0x0,this[_0x2c78ee(0x188)]=!0x1,this[_0x2c78ee(0x1fd)]=0x0,this[_0x2c78ee(0x164)]=[],this['_state']=_0x4a3365,this[_0x2c78ee(0x185)]=_0x39cf98,this[_0x47ce55]=void 0x0;}static[_0xc58ca8(0x26e)](_0x55cc96,_0x52f5fa){const _0x12e0fa=_0xc58ca8;let _0x5a5b30,_0x19fe73=!0x1,_0x4379e1=0x2,_0x2677f6=!0x1;_0x52f5fa[_0x12e0fa(0x1bc)]&&(_0x5a5b30=_0x52f5fa[_0x12e0fa(0x157)]||_0x859250,_0x52f5fa[_0x12e0fa(0x1b8)]?_0x52f5fa[_0x12e0fa(0x1b8)](_0x5a5b30):(_0x35a038===_0x23059c&&(_0x5c8924===void 0x0&&(_0x5c8924=Buffer[_0x12e0fa(0x1b5)](_0x23059c)),_0x16cf62(_0x5c8924,0x0,_0x23059c),_0x35a038=0x0),_0x5a5b30[0x0]=_0x5c8924[_0x35a038++],_0x5a5b30[0x1]=_0x5c8924[_0x35a038++],_0x5a5b30[0x2]=_0x5c8924[_0x35a038++],_0x5a5b30[0x3]=_0x5c8924[_0x35a038++]),_0x2677f6=(_0x5a5b30[0x0]|_0x5a5b30[0x1]|_0x5a5b30[0x2]|_0x5a5b30[0x3])===0x0,_0x4379e1=0x6);let _0x59947c;typeof _0x55cc96=='string'?(!_0x52f5fa['mask']||_0x2677f6)&&_0x52f5fa[_0x217ead]!==void 0x0?_0x59947c=_0x52f5fa[_0x217ead]:(_0x55cc96=Buffer[_0x12e0fa(0x1e7)](_0x55cc96),_0x59947c=_0x55cc96[_0x12e0fa(0x19a)]):(_0x59947c=_0x55cc96[_0x12e0fa(0x19a)],_0x19fe73=_0x52f5fa[_0x12e0fa(0x1bc)]&&_0x52f5fa[_0x12e0fa(0x183)]&&!_0x2677f6);let _0xf2289d=_0x59947c;_0x59947c>=0x10000?(_0x4379e1+=0x8,_0xf2289d=0x7f):_0x59947c>0x7d&&(_0x4379e1+=0x2,_0xf2289d=0x7e);const _0x2842c1=Buffer[_0x12e0fa(0x134)](_0x19fe73?_0x59947c+_0x4379e1:_0x4379e1);return _0x2842c1[0x0]=_0x52f5fa[_0x12e0fa(0x140)]?_0x52f5fa[_0x12e0fa(0x22c)]|0x80:_0x52f5fa[_0x12e0fa(0x22c)],_0x52f5fa['rsv1']&&(_0x2842c1[0x0]|=0x40),_0x2842c1[0x1]=_0xf2289d,_0xf2289d===0x7e?_0x2842c1[_0x12e0fa(0x1c3)](_0x59947c,0x2):_0xf2289d===0x7f&&(_0x2842c1[0x2]=_0x2842c1[0x3]=0x0,_0x2842c1[_0x12e0fa(0x124)](_0x59947c,0x4,0x6)),_0x52f5fa[_0x12e0fa(0x1bc)]?(_0x2842c1[0x1]|=0x80,_0x2842c1[_0x4379e1-0x4]=_0x5a5b30[0x0],_0x2842c1[_0x4379e1-0x3]=_0x5a5b30[0x1],_0x2842c1[_0x4379e1-0x2]=_0x5a5b30[0x2],_0x2842c1[_0x4379e1-0x1]=_0x5a5b30[0x3],_0x2677f6?[_0x2842c1,_0x55cc96]:_0x19fe73?(_0x43510d(_0x55cc96,_0x5a5b30,_0x2842c1,_0x4379e1,_0x59947c),[_0x2842c1]):(_0x43510d(_0x55cc96,_0x5a5b30,_0x55cc96,0x0,_0x59947c),[_0x2842c1,_0x55cc96])):[_0x2842c1,_0x55cc96];}[_0xc58ca8(0x17c)](_0xca8fe7,_0x3d8a33,_0xea8dde,_0x1b4ccc){const _0x20447a=_0xc58ca8;let _0xb45e8;if(_0xca8fe7===void 0x0)_0xb45e8=_0x30064d;else{if(typeof _0xca8fe7!='number'||!_0x48ca1f(_0xca8fe7))throw new TypeError(_0x20447a(0x242));if(_0x3d8a33===void 0x0||!_0x3d8a33[_0x20447a(0x19a)])_0xb45e8=Buffer[_0x20447a(0x134)](0x2),_0xb45e8[_0x20447a(0x1c3)](_0xca8fe7,0x0);else{const _0x94b07c=Buffer[_0x20447a(0x1da)](_0x3d8a33);if(_0x94b07c>0x7b)throw new RangeError(_0x20447a(0x119));_0xb45e8=Buffer[_0x20447a(0x134)](0x2+_0x94b07c),_0xb45e8[_0x20447a(0x1c3)](_0xca8fe7,0x0),typeof _0x3d8a33==_0x20447a(0x159)?_0xb45e8[_0x20447a(0x1b0)](_0x3d8a33,0x2):_0xb45e8[_0x20447a(0x2ba)](_0x3d8a33,0x2);}}const _0x14ca32={[_0x217ead]:_0xb45e8['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xea8dde,'maskBuffer':this[_0x20447a(0x2ae)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x20447a(0x153)]!==_0x4a3365?this[_0x20447a(0x276)]([this[_0x20447a(0x27d)],_0xb45e8,!0x1,_0x14ca32,_0x1b4ccc]):this[_0x20447a(0x2c2)](_0x5ee0cd[_0x20447a(0x26e)](_0xb45e8,_0x14ca32),_0x1b4ccc);}['ping'](_0x1a1700,_0x587171,_0xb59586){const _0x5792ae=_0xc58ca8;let _0x2fad18,_0x4afcd5;if(typeof _0x1a1700==_0x5792ae(0x159)?(_0x2fad18=Buffer[_0x5792ae(0x1da)](_0x1a1700),_0x4afcd5=!0x1):_0x4449ea(_0x1a1700)?(_0x2fad18=_0x1a1700['size'],_0x4afcd5=!0x1):(_0x1a1700=_0x5cf8a4(_0x1a1700),_0x2fad18=_0x1a1700[_0x5792ae(0x19a)],_0x4afcd5=_0x5cf8a4[_0x5792ae(0x183)]),_0x2fad18>0x7d)throw new RangeError(_0x5792ae(0x284));const _0x1ad7d5={[_0x217ead]:_0x2fad18,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x587171,'maskBuffer':this[_0x5792ae(0x2ae)],'opcode':0x9,'readOnly':_0x4afcd5,'rsv1':!0x1};_0x4449ea(_0x1a1700)?this[_0x5792ae(0x153)]!==_0x4a3365?this[_0x5792ae(0x276)]([this[_0x5792ae(0x1ed)],_0x1a1700,!0x1,_0x1ad7d5,_0xb59586]):this[_0x5792ae(0x1ed)](_0x1a1700,!0x1,_0x1ad7d5,_0xb59586):this[_0x5792ae(0x153)]!==_0x4a3365?this[_0x5792ae(0x276)]([this[_0x5792ae(0x27d)],_0x1a1700,!0x1,_0x1ad7d5,_0xb59586]):this[_0x5792ae(0x2c2)](_0x5ee0cd[_0x5792ae(0x26e)](_0x1a1700,_0x1ad7d5),_0xb59586);}[_0xc58ca8(0x250)](_0x58bc76,_0x56753e,_0x321311){const _0x3a93dc=_0xc58ca8;let _0x2171dc,_0x55cb02;if(typeof _0x58bc76=='string'?(_0x2171dc=Buffer[_0x3a93dc(0x1da)](_0x58bc76),_0x55cb02=!0x1):_0x4449ea(_0x58bc76)?(_0x2171dc=_0x58bc76[_0x3a93dc(0x154)],_0x55cb02=!0x1):(_0x58bc76=_0x5cf8a4(_0x58bc76),_0x2171dc=_0x58bc76[_0x3a93dc(0x19a)],_0x55cb02=_0x5cf8a4[_0x3a93dc(0x183)]),_0x2171dc>0x7d)throw new RangeError(_0x3a93dc(0x284));const _0x513abe={[_0x217ead]:_0x2171dc,'fin':!0x0,'generateMask':this[_0x3a93dc(0x227)],'mask':_0x56753e,'maskBuffer':this[_0x3a93dc(0x2ae)],'opcode':0xa,'readOnly':_0x55cb02,'rsv1':!0x1};_0x4449ea(_0x58bc76)?this[_0x3a93dc(0x153)]!==_0x4a3365?this['enqueue']([this[_0x3a93dc(0x1ed)],_0x58bc76,!0x1,_0x513abe,_0x321311]):this['getBlobData'](_0x58bc76,!0x1,_0x513abe,_0x321311):this[_0x3a93dc(0x153)]!==_0x4a3365?this['enqueue']([this[_0x3a93dc(0x27d)],_0x58bc76,!0x1,_0x513abe,_0x321311]):this[_0x3a93dc(0x2c2)](_0x5ee0cd[_0x3a93dc(0x26e)](_0x58bc76,_0x513abe),_0x321311);}[_0xc58ca8(0x11b)](_0x2af92a,_0x3a81b5,_0x1af5d6){const _0x8347fa=_0xc58ca8,_0x50fc83=this[_0x8347fa(0x1d4)][_0x585ed0[_0x8347fa(0x2d1)]];let _0xf78702=_0x3a81b5[_0x8347fa(0x16f)]?0x2:0x1,_0x58cab4=_0x3a81b5[_0x8347fa(0x1ee)],_0x394b7f,_0x1399dd;typeof _0x2af92a=='string'?(_0x394b7f=Buffer[_0x8347fa(0x1da)](_0x2af92a),_0x1399dd=!0x1):_0x4449ea(_0x2af92a)?(_0x394b7f=_0x2af92a['size'],_0x1399dd=!0x1):(_0x2af92a=_0x5cf8a4(_0x2af92a),_0x394b7f=_0x2af92a['length'],_0x1399dd=_0x5cf8a4[_0x8347fa(0x183)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x58cab4&&_0x50fc83&&_0x50fc83[_0x8347fa(0x122)][_0x50fc83[_0x8347fa(0x1f5)]?'server_no_context_takeover':_0x8347fa(0x161)]&&(_0x58cab4=_0x394b7f>=_0x50fc83['_threshold']),this[_0x8347fa(0x188)]=_0x58cab4):(_0x58cab4=!0x1,_0xf78702=0x0),_0x3a81b5[_0x8347fa(0x140)]&&(this[_0x8347fa(0x28a)]=!0x0);const _0x3bfb1c={[_0x217ead]:_0x394b7f,'fin':_0x3a81b5[_0x8347fa(0x140)],'generateMask':this[_0x8347fa(0x227)],'mask':_0x3a81b5[_0x8347fa(0x1bc)],'maskBuffer':this[_0x8347fa(0x2ae)],'opcode':_0xf78702,'readOnly':_0x1399dd,'rsv1':_0x58cab4};_0x4449ea(_0x2af92a)?this[_0x8347fa(0x153)]!==_0x4a3365?this[_0x8347fa(0x276)]([this[_0x8347fa(0x1ed)],_0x2af92a,this[_0x8347fa(0x188)],_0x3bfb1c,_0x1af5d6]):this[_0x8347fa(0x1ed)](_0x2af92a,this[_0x8347fa(0x188)],_0x3bfb1c,_0x1af5d6):this[_0x8347fa(0x153)]!==_0x4a3365?this['enqueue']([this[_0x8347fa(0x27d)],_0x2af92a,this['_compress'],_0x3bfb1c,_0x1af5d6]):this['dispatch'](_0x2af92a,this[_0x8347fa(0x188)],_0x3bfb1c,_0x1af5d6);}['getBlobData'](_0x5848e5,_0x361c79,_0x3e066c,_0x1b5e3a){const _0x548268=_0xc58ca8;this[_0x548268(0x1fd)]+=_0x3e066c[_0x217ead],this[_0x548268(0x153)]=_0x3312b3,_0x5848e5[_0x548268(0x144)]()[_0x548268(0x223)](_0x4741e1=>{const _0x59b38f=_0x548268;if(this[_0x59b38f(0x240)][_0x59b38f(0x177)]){const _0x5a03d2=new Error(_0x59b38f(0x1d3));process[_0x59b38f(0x16e)](_0x4d8bcb,this,_0x5a03d2,_0x1b5e3a);return;}this['_bufferedBytes']-=_0x3e066c[_0x217ead];const _0x859398=_0x5cf8a4(_0x4741e1);_0x361c79?this[_0x59b38f(0x27d)](_0x859398,_0x361c79,_0x3e066c,_0x1b5e3a):(this[_0x59b38f(0x153)]=_0x4a3365,this[_0x59b38f(0x2c2)](_0x5ee0cd[_0x59b38f(0x26e)](_0x859398,_0x3e066c),_0x1b5e3a),this['dequeue']());})[_0x548268(0x2c7)](_0x21aab7=>{const _0x1cd2dd=_0x548268;process[_0x1cd2dd(0x16e)](_0x38b44b,this,_0x21aab7,_0x1b5e3a);});}[_0xc58ca8(0x27d)](_0x122708,_0x312969,_0x54da36,_0xb1f09b){const _0x2e6709=_0xc58ca8;if(!_0x312969){this[_0x2e6709(0x2c2)](_0x5ee0cd[_0x2e6709(0x26e)](_0x122708,_0x54da36),_0xb1f09b);return;}const _0x11e052=this[_0x2e6709(0x1d4)][_0x585ed0[_0x2e6709(0x2d1)]];this[_0x2e6709(0x1fd)]+=_0x54da36[_0x217ead],this[_0x2e6709(0x153)]=_0x2c5687,_0x11e052[_0x2e6709(0x1ee)](_0x122708,_0x54da36[_0x2e6709(0x140)],(_0x1f8883,_0xdf792a)=>{const _0x435522=_0x2e6709;if(this[_0x435522(0x240)][_0x435522(0x177)]){const _0x11d260=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4d8bcb(this,_0x11d260,_0xb1f09b);return;}this[_0x435522(0x1fd)]-=_0x54da36[_0x217ead],this['_state']=_0x4a3365,_0x54da36['readOnly']=!0x1,this[_0x435522(0x2c2)](_0x5ee0cd['frame'](_0xdf792a,_0x54da36),_0xb1f09b),this[_0x435522(0x1b1)]();});}['dequeue'](){const _0xf5b24b=_0xc58ca8;for(;this[_0xf5b24b(0x153)]===_0x4a3365&&this[_0xf5b24b(0x164)][_0xf5b24b(0x19a)];){const _0x44a354=this[_0xf5b24b(0x164)][_0xf5b24b(0x264)]();this[_0xf5b24b(0x1fd)]-=_0x44a354[0x3][_0x217ead],Reflect[_0xf5b24b(0x15e)](_0x44a354[0x0],this,_0x44a354[_0xf5b24b(0x2cf)](0x1));}}['enqueue'](_0x38359d){const _0xcfdc65=_0xc58ca8;this['_bufferedBytes']+=_0x38359d[0x3][_0x217ead],this['_queue'][_0xcfdc65(0x162)](_0x38359d);}[_0xc58ca8(0x2c2)](_0x20a489,_0x13a5cc){const _0x1ff1bd=_0xc58ca8;_0x20a489[_0x1ff1bd(0x19a)]===0x2?(this[_0x1ff1bd(0x240)][_0x1ff1bd(0x298)](),this[_0x1ff1bd(0x240)][_0x1ff1bd(0x1b0)](_0x20a489[0x0]),this['_socket'][_0x1ff1bd(0x1b0)](_0x20a489[0x1],_0x13a5cc),this[_0x1ff1bd(0x240)][_0x1ff1bd(0x254)]()):this[_0x1ff1bd(0x240)][_0x1ff1bd(0x1b0)](_0x20a489[0x0],_0x13a5cc);}}Ee=_0x5ee0cd;function _0x4d8bcb(_0x2e2400,_0x3c970f,_0x4fd02e){const _0x3966da=_0xc58ca8;typeof _0x4fd02e==_0x3966da(0x2b5)&&_0x4fd02e(_0x3c970f);for(let _0x13f42d=0x0;_0x13f42d<_0x2e2400['_queue'][_0x3966da(0x19a)];_0x13f42d++){const _0x3a70c7=_0x2e2400[_0x3966da(0x164)][_0x13f42d],_0x2ef772=_0x3a70c7[_0x3a70c7['length']-0x1];typeof _0x2ef772==_0x3966da(0x2b5)&&_0x2ef772(_0x3c970f);}}function _0x38b44b(_0x439fef,_0x828a74,_0x56b9f0){const _0x3a899e=_0xc58ca8;_0x4d8bcb(_0x439fef,_0x828a74,_0x56b9f0),_0x439fef[_0x3a899e(0x185)](_0x828a74);}return Ee;}var xe,Ze;function It(){const _0xcb6b67=_0x5d0ada;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x28c206,kListener:_0x1640b4}=H(),_0x2d8152=Symbol(_0xcb6b67(0x28f)),_0x2e8877=Symbol(_0xcb6b67(0x21d)),_0x351eb3=Symbol(_0xcb6b67(0x12e)),_0x11e077=Symbol(_0xcb6b67(0x292)),_0x1785be=Symbol(_0xcb6b67(0x1a5)),_0x3a7ab7=Symbol(_0xcb6b67(0x20d)),_0x247f16=Symbol(_0xcb6b67(0x1b9)),_0x29852e=Symbol(_0xcb6b67(0x221));class _0x190616{constructor(_0x128643){this[_0x3a7ab7]=null,this[_0x247f16]=_0x128643;}get[_0xcb6b67(0x24a)](){return this[_0x3a7ab7];}get[_0xcb6b67(0x24f)](){return this[_0x247f16];}}Object['defineProperty'](_0x190616[_0xcb6b67(0x131)],_0xcb6b67(0x24a),{'enumerable':!0x0}),Object[_0xcb6b67(0x213)](_0x190616['prototype'],_0xcb6b67(0x24f),{'enumerable':!0x0});class _0x231e0f extends _0x190616{constructor(_0x2ceb08,_0x483be9={}){const _0x5aabc7=_0xcb6b67;super(_0x2ceb08),this[_0x2d8152]=_0x483be9[_0x5aabc7(0x2b1)]===void 0x0?0x0:_0x483be9['code'],this[_0x1785be]=_0x483be9[_0x5aabc7(0x1e4)]===void 0x0?'':_0x483be9[_0x5aabc7(0x1e4)],this[_0x29852e]=_0x483be9[_0x5aabc7(0x2b0)]===void 0x0?!0x1:_0x483be9[_0x5aabc7(0x2b0)];}get[_0xcb6b67(0x2b1)](){return this[_0x2d8152];}get[_0xcb6b67(0x1e4)](){return this[_0x1785be];}get[_0xcb6b67(0x2b0)](){return this[_0x29852e];}}Object['defineProperty'](_0x231e0f[_0xcb6b67(0x131)],_0xcb6b67(0x2b1),{'enumerable':!0x0}),Object[_0xcb6b67(0x213)](_0x231e0f[_0xcb6b67(0x131)],_0xcb6b67(0x1e4),{'enumerable':!0x0}),Object[_0xcb6b67(0x213)](_0x231e0f['prototype'],_0xcb6b67(0x2b0),{'enumerable':!0x0});class _0x44285a extends _0x190616{constructor(_0x47177a,_0x9352c4={}){const _0x416bc7=_0xcb6b67;super(_0x47177a),this[_0x351eb3]=_0x9352c4[_0x416bc7(0x1ae)]===void 0x0?null:_0x9352c4['error'],this[_0x11e077]=_0x9352c4[_0x416bc7(0x229)]===void 0x0?'':_0x9352c4[_0x416bc7(0x229)];}get[_0xcb6b67(0x1ae)](){return this[_0x351eb3];}get[_0xcb6b67(0x229)](){return this[_0x11e077];}}Object['defineProperty'](_0x44285a[_0xcb6b67(0x131)],_0xcb6b67(0x1ae),{'enumerable':!0x0}),Object[_0xcb6b67(0x213)](_0x44285a[_0xcb6b67(0x131)],_0xcb6b67(0x229),{'enumerable':!0x0});class _0x2b6f20 extends _0x190616{constructor(_0x152b60,_0x257a7c={}){const _0xa40cb7=_0xcb6b67;super(_0x152b60),this[_0x2e8877]=_0x257a7c['data']===void 0x0?null:_0x257a7c[_0xa40cb7(0x16b)];}get[_0xcb6b67(0x16b)](){return this[_0x2e8877];}}Object[_0xcb6b67(0x213)](_0x2b6f20[_0xcb6b67(0x131)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x231e0f,'ErrorEvent':_0x44285a,'Event':_0x190616,'EventTarget':{'addEventListener'(_0x1fb7bb,_0xbfac34,_0x43fefb={}){const _0x3f87c8=_0xcb6b67;for(const _0xc95303 of this[_0x3f87c8(0x19c)](_0x1fb7bb))if(!_0x43fefb[_0x28c206]&&_0xc95303[_0x1640b4]===_0xbfac34&&!_0xc95303[_0x28c206])return;let _0x51acb5;if(_0x1fb7bb===_0x3f87c8(0x229))_0x51acb5=function(_0xbc7710,_0x47c220){const _0x52b38c=_0x3f87c8,_0x2d1b4c=new _0x2b6f20(_0x52b38c(0x229),{'data':_0x47c220?_0xbc7710:_0xbc7710['toString']()});_0x2d1b4c[_0x3a7ab7]=this,_0x2b0ed4(_0xbfac34,this,_0x2d1b4c);};else{if(_0x1fb7bb==='close')_0x51acb5=function(_0x4509a0,_0x30d333){const _0x54bcd7=_0x3f87c8,_0x3d57af=new _0x231e0f('close',{'code':_0x4509a0,'reason':_0x30d333[_0x54bcd7(0x27f)](),'wasClean':this[_0x54bcd7(0x1c6)]&&this[_0x54bcd7(0x2cc)]});_0x3d57af[_0x3a7ab7]=this,_0x2b0ed4(_0xbfac34,this,_0x3d57af);};else{if(_0x1fb7bb===_0x3f87c8(0x1ae))_0x51acb5=function(_0x3041f9){const _0x55c55c=_0x3f87c8,_0x116bd5=new _0x44285a(_0x55c55c(0x1ae),{'error':_0x3041f9,'message':_0x3041f9[_0x55c55c(0x229)]});_0x116bd5[_0x3a7ab7]=this,_0x2b0ed4(_0xbfac34,this,_0x116bd5);};else{if(_0x1fb7bb===_0x3f87c8(0x1dd))_0x51acb5=function(){const _0x5c96d2=_0x3f87c8,_0x2d8431=new _0x190616(_0x5c96d2(0x1dd));_0x2d8431[_0x3a7ab7]=this,_0x2b0ed4(_0xbfac34,this,_0x2d8431);};else return;}}}_0x51acb5[_0x28c206]=!!_0x43fefb[_0x28c206],_0x51acb5[_0x1640b4]=_0xbfac34,_0x43fefb[_0x3f87c8(0x208)]?this[_0x3f87c8(0x208)](_0x1fb7bb,_0x51acb5):this['on'](_0x1fb7bb,_0x51acb5);},'removeEventListener'(_0x445d81,_0x1960b5){const _0x14aaa2=_0xcb6b67;for(const _0x52e5d9 of this[_0x14aaa2(0x19c)](_0x445d81))if(_0x52e5d9[_0x1640b4]===_0x1960b5&&!_0x52e5d9[_0x28c206]){this[_0x14aaa2(0x25c)](_0x445d81,_0x52e5d9);break;}}},'MessageEvent':_0x2b6f20};function _0x2b0ed4(_0x363fc1,_0x57f9d9,_0x12f049){const _0x35d516=_0xcb6b67;typeof _0x363fc1==_0x35d516(0x23e)&&_0x363fc1['handleEvent']?_0x363fc1[_0x35d516(0x246)][_0x35d516(0x23a)](_0x363fc1,_0x12f049):_0x363fc1[_0x35d516(0x23a)](_0x57f9d9,_0x12f049);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2c2239}=ae();function _0x48d64d(_0x4e4adb,_0x23ff7f,_0x585c74){const _0x3536c2=_0x19aa;_0x4e4adb[_0x23ff7f]===void 0x0?_0x4e4adb[_0x23ff7f]=[_0x585c74]:_0x4e4adb[_0x23ff7f][_0x3536c2(0x162)](_0x585c74);}function _0x39bbf0(_0x37746f){const _0x5bb1a4=_0x19aa,_0x69bdf4=Object[_0x5bb1a4(0x2ce)](null);let _0x209b4d=Object[_0x5bb1a4(0x2ce)](null),_0x365802=!0x1,_0x14a7cc=!0x1,_0x43a0ac=!0x1,_0x1d28eb,_0x29c80f,_0x3b38ce=-0x1,_0x1310e1=-0x1,_0x23f509=-0x1,_0x3d23d4=0x0;for(;_0x3d23d4<_0x37746f['length'];_0x3d23d4++)if(_0x1310e1=_0x37746f[_0x5bb1a4(0x1a4)](_0x3d23d4),_0x1d28eb===void 0x0){if(_0x23f509===-0x1&&_0x2c2239[_0x1310e1]===0x1)_0x3b38ce===-0x1&&(_0x3b38ce=_0x3d23d4);else{if(_0x3d23d4!==0x0&&(_0x1310e1===0x20||_0x1310e1===0x9))_0x23f509===-0x1&&_0x3b38ce!==-0x1&&(_0x23f509=_0x3d23d4);else{if(_0x1310e1===0x3b||_0x1310e1===0x2c){if(_0x3b38ce===-0x1)throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);_0x23f509===-0x1&&(_0x23f509=_0x3d23d4);const _0x51b485=_0x37746f[_0x5bb1a4(0x2cf)](_0x3b38ce,_0x23f509);_0x1310e1===0x2c?(_0x48d64d(_0x69bdf4,_0x51b485,_0x209b4d),_0x209b4d=Object[_0x5bb1a4(0x2ce)](null)):_0x1d28eb=_0x51b485,_0x3b38ce=_0x23f509=-0x1;}else throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);}}}else{if(_0x29c80f===void 0x0){if(_0x23f509===-0x1&&_0x2c2239[_0x1310e1]===0x1)_0x3b38ce===-0x1&&(_0x3b38ce=_0x3d23d4);else{if(_0x1310e1===0x20||_0x1310e1===0x9)_0x23f509===-0x1&&_0x3b38ce!==-0x1&&(_0x23f509=_0x3d23d4);else{if(_0x1310e1===0x3b||_0x1310e1===0x2c){if(_0x3b38ce===-0x1)throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);_0x23f509===-0x1&&(_0x23f509=_0x3d23d4),_0x48d64d(_0x209b4d,_0x37746f[_0x5bb1a4(0x2cf)](_0x3b38ce,_0x23f509),!0x0),_0x1310e1===0x2c&&(_0x48d64d(_0x69bdf4,_0x1d28eb,_0x209b4d),_0x209b4d=Object['create'](null),_0x1d28eb=void 0x0),_0x3b38ce=_0x23f509=-0x1;}else{if(_0x1310e1===0x3d&&_0x3b38ce!==-0x1&&_0x23f509===-0x1)_0x29c80f=_0x37746f['slice'](_0x3b38ce,_0x3d23d4),_0x3b38ce=_0x23f509=-0x1;else throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);}}}}else{if(_0x14a7cc){if(_0x2c2239[_0x1310e1]!==0x1)throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);_0x3b38ce===-0x1?_0x3b38ce=_0x3d23d4:_0x365802||(_0x365802=!0x0),_0x14a7cc=!0x1;}else{if(_0x43a0ac){if(_0x2c2239[_0x1310e1]===0x1)_0x3b38ce===-0x1&&(_0x3b38ce=_0x3d23d4);else{if(_0x1310e1===0x22&&_0x3b38ce!==-0x1)_0x43a0ac=!0x1,_0x23f509=_0x3d23d4;else{if(_0x1310e1===0x5c)_0x14a7cc=!0x0;else throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);}}}else{if(_0x1310e1===0x22&&_0x37746f[_0x5bb1a4(0x1a4)](_0x3d23d4-0x1)===0x3d)_0x43a0ac=!0x0;else{if(_0x23f509===-0x1&&_0x2c2239[_0x1310e1]===0x1)_0x3b38ce===-0x1&&(_0x3b38ce=_0x3d23d4);else{if(_0x3b38ce!==-0x1&&(_0x1310e1===0x20||_0x1310e1===0x9))_0x23f509===-0x1&&(_0x23f509=_0x3d23d4);else{if(_0x1310e1===0x3b||_0x1310e1===0x2c){if(_0x3b38ce===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d23d4);_0x23f509===-0x1&&(_0x23f509=_0x3d23d4);let _0x59eef0=_0x37746f[_0x5bb1a4(0x2cf)](_0x3b38ce,_0x23f509);_0x365802&&(_0x59eef0=_0x59eef0['replace'](/\\/g,''),_0x365802=!0x1),_0x48d64d(_0x209b4d,_0x29c80f,_0x59eef0),_0x1310e1===0x2c&&(_0x48d64d(_0x69bdf4,_0x1d28eb,_0x209b4d),_0x209b4d=Object[_0x5bb1a4(0x2ce)](null),_0x1d28eb=void 0x0),_0x29c80f=void 0x0,_0x3b38ce=_0x23f509=-0x1;}else throw new SyntaxError(_0x5bb1a4(0x1e6)+_0x3d23d4);}}}}}}}if(_0x3b38ce===-0x1||_0x43a0ac||_0x1310e1===0x20||_0x1310e1===0x9)throw new SyntaxError(_0x5bb1a4(0x174));_0x23f509===-0x1&&(_0x23f509=_0x3d23d4);const _0x40f2e4=_0x37746f[_0x5bb1a4(0x2cf)](_0x3b38ce,_0x23f509);return _0x1d28eb===void 0x0?_0x48d64d(_0x69bdf4,_0x40f2e4,_0x209b4d):(_0x29c80f===void 0x0?_0x48d64d(_0x209b4d,_0x40f2e4,!0x0):_0x365802?_0x48d64d(_0x209b4d,_0x29c80f,_0x40f2e4[_0x5bb1a4(0x1fa)](/\\/g,'')):_0x48d64d(_0x209b4d,_0x29c80f,_0x40f2e4),_0x48d64d(_0x69bdf4,_0x1d28eb,_0x209b4d)),_0x69bdf4;}function _0x38e7ee(_0x26f48a){const _0x2da3cd=_0x19aa;return Object[_0x2da3cd(0x20a)](_0x26f48a)[_0x2da3cd(0x1c7)](_0x475c67=>{const _0x19b323=_0x2da3cd;let _0x52db4b=_0x26f48a[_0x475c67];return Array[_0x19b323(0x270)](_0x52db4b)||(_0x52db4b=[_0x52db4b]),_0x52db4b[_0x19b323(0x1c7)](_0x4a259d=>[_0x475c67][_0x19b323(0x266)](Object[_0x19b323(0x20a)](_0x4a259d)[_0x19b323(0x1c7)](_0x305adb=>{const _0x52a908=_0x19b323;let _0x545b05=_0x4a259d[_0x305adb];return Array[_0x52a908(0x270)](_0x545b05)||(_0x545b05=[_0x545b05]),_0x545b05['map'](_0x2424a3=>_0x2424a3===!0x0?_0x305adb:_0x305adb+'='+_0x2424a3)[_0x52a908(0x26a)](';\x20');}))[_0x19b323(0x26a)](';\x20'))['join'](',\x20');})[_0x2da3cd(0x26a)](',\x20');}return be={'format':_0x38e7ee,'parse':_0x39bbf0},be;}var we,Je;function Pe(){const _0xb8873d=_0x5d0ada;if(Je)return we;Je=0x1;const _0x11c9d9=nt,_0x49309d=vt,_0x14200a=ot,_0x3020fb=St,_0x5c3bd7=Et,{randomBytes:_0x1a970b,createHash:_0x56082b}=Le,{Duplex:_0x4eef01,Readable:_0x1041d3}=oe,{URL:_0xa2a59a}=xt,_0x4d2197=he(),_0xe02e2a=lt(),_0x556d2b=ft(),{isBlob:_0x298a60}=ae(),{BINARY_TYPES:_0x373f10,EMPTY_BUFFER:_0x25cf4d,GUID:_0x4f4a36,kForOnEventAttribute:_0x2ae148,kListener:_0x27fa87,kStatusCode:_0x236d0f,kWebSocket:_0x47739b,NOOP:_0x23e612}=H(),{EventTarget:{addEventListener:_0x3928e8,removeEventListener:_0x1a55ac}}=It(),{format:_0x5a82a8,parse:_0x2b6f5a}=ct(),{toBuffer:_0x5f4f06}=ce(),_0x3b6e25=0x1e*0x3e8,_0x438518=Symbol(_0xb8873d(0x145)),_0x4e5641=[0x8,0xd],_0xa2022a=['CONNECTING',_0xb8873d(0x128),_0xb8873d(0x110),_0xb8873d(0x28d)],_0x90dc23=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xc832c1 extends _0x11c9d9{constructor(_0x2edf66,_0x10b61b,_0x38ab4f){const _0x47aefd=_0xb8873d;super(),this[_0x47aefd(0x1d2)]=_0x373f10[0x0],this['_closeCode']=0x3ee,this[_0x47aefd(0x1c6)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x47aefd(0x21a)]=_0x25cf4d,this['_closeTimer']=null,this[_0x47aefd(0x286)]=!0x1,this['_extensions']={},this[_0x47aefd(0x14c)]=!0x1,this[_0x47aefd(0x109)]='',this[_0x47aefd(0x13b)]=_0xc832c1[_0x47aefd(0x1f4)],this[_0x47aefd(0x234)]=null,this['_sender']=null,this[_0x47aefd(0x240)]=null,_0x2edf66!==null?(this[_0x47aefd(0x263)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x10b61b===void 0x0?_0x10b61b=[]:Array[_0x47aefd(0x270)](_0x10b61b)||(typeof _0x10b61b==_0x47aefd(0x23e)&&_0x10b61b!==null?(_0x38ab4f=_0x10b61b,_0x10b61b=[]):_0x10b61b=[_0x10b61b]),_0x346221(this,_0x2edf66,_0x10b61b,_0x38ab4f)):(this['_autoPong']=_0x38ab4f[_0x47aefd(0x1b2)],this[_0x47aefd(0x1f5)]=!0x0);}get[_0xb8873d(0x211)](){const _0x1cf9b4=_0xb8873d;return this[_0x1cf9b4(0x1d2)];}set[_0xb8873d(0x211)](_0x583e9c){const _0x264cc6=_0xb8873d;_0x373f10[_0x264cc6(0x139)](_0x583e9c)&&(this[_0x264cc6(0x1d2)]=_0x583e9c,this[_0x264cc6(0x234)]&&(this['_receiver'][_0x264cc6(0x1d2)]=_0x583e9c));}get[_0xb8873d(0x27e)](){const _0x4924db=_0xb8873d;return this[_0x4924db(0x240)]?this[_0x4924db(0x240)]['_writableState'][_0x4924db(0x19a)]+this[_0x4924db(0x29a)][_0x4924db(0x1fd)]:this[_0x4924db(0x263)];}get[_0xb8873d(0x146)](){const _0x5a8b36=_0xb8873d;return Object[_0x5a8b36(0x20a)](this[_0x5a8b36(0x1d4)])[_0x5a8b36(0x26a)]();}get[_0xb8873d(0x23f)](){const _0x441ee5=_0xb8873d;return this[_0x441ee5(0x14c)];}get[_0xb8873d(0x108)](){return null;}get[_0xb8873d(0x185)](){return null;}get[_0xb8873d(0x2be)](){return null;}get[_0xb8873d(0x172)](){return null;}get['protocol'](){const _0x4108aa=_0xb8873d;return this[_0x4108aa(0x109)];}get[_0xb8873d(0x13a)](){const _0x44a08c=_0xb8873d;return this[_0x44a08c(0x13b)];}get[_0xb8873d(0x268)](){return this['_url'];}[_0xb8873d(0x1a9)](_0x13d6bc,_0x534c41,_0x2dc633){const _0x3098f6=_0xb8873d,_0x439259=new _0xe02e2a({'allowSynchronousEvents':_0x2dc633[_0x3098f6(0x1d6)],'binaryType':this[_0x3098f6(0x211)],'extensions':this[_0x3098f6(0x1d4)],'isServer':this['_isServer'],'maxPayload':_0x2dc633[_0x3098f6(0x2a1)],'skipUTF8Validation':_0x2dc633[_0x3098f6(0x10d)]}),_0x1bd10e=new _0x556d2b(_0x13d6bc,this[_0x3098f6(0x1d4)],_0x2dc633[_0x3098f6(0x1b8)]);this[_0x3098f6(0x234)]=_0x439259,this['_sender']=_0x1bd10e,this['_socket']=_0x13d6bc,_0x439259[_0x47739b]=this,_0x1bd10e[_0x47739b]=this,_0x13d6bc[_0x47739b]=this,_0x439259['on'](_0x3098f6(0x179),_0x147ccd),_0x439259['on'](_0x3098f6(0x13f),_0x447494),_0x439259['on'](_0x3098f6(0x1ae),_0x5d8e76),_0x439259['on'](_0x3098f6(0x229),_0x1e30b1),_0x439259['on'](_0x3098f6(0x2d3),_0x591cfc),_0x439259['on'](_0x3098f6(0x250),_0x23a4f1),_0x1bd10e['onerror']=_0x4b509a,_0x13d6bc['setTimeout']&&_0x13d6bc[_0x3098f6(0x27c)](0x0),_0x13d6bc[_0x3098f6(0x2c3)]&&_0x13d6bc[_0x3098f6(0x2c3)](),_0x534c41[_0x3098f6(0x19a)]>0x0&&_0x13d6bc[_0x3098f6(0x171)](_0x534c41),_0x13d6bc['on'](_0x3098f6(0x17c),_0x379343),_0x13d6bc['on']('data',_0x23714f),_0x13d6bc['on'](_0x3098f6(0x1ad),_0x4884c1),_0x13d6bc['on'](_0x3098f6(0x1ae),_0x4a1f79),this[_0x3098f6(0x13b)]=_0xc832c1[_0x3098f6(0x128)],this[_0x3098f6(0x1e2)](_0x3098f6(0x1dd));}[_0xb8873d(0x13d)](){const _0xd41602=_0xb8873d;if(!this[_0xd41602(0x240)]){this[_0xd41602(0x13b)]=_0xc832c1['CLOSED'],this[_0xd41602(0x1e2)]('close',this[_0xd41602(0x1db)],this[_0xd41602(0x21a)]);return;}this[_0xd41602(0x1d4)][_0x4d2197[_0xd41602(0x2d1)]]&&this[_0xd41602(0x1d4)][_0x4d2197[_0xd41602(0x2d1)]][_0xd41602(0x191)](),this[_0xd41602(0x234)]['removeAllListeners'](),this['_readyState']=_0xc832c1[_0xd41602(0x28d)],this['emit'](_0xd41602(0x17c),this[_0xd41602(0x1db)],this['_closeMessage']);}[_0xb8873d(0x17c)](_0x226099,_0x2607fd){const _0x28b89c=_0xb8873d;if(this[_0x28b89c(0x13a)]!==_0xc832c1['CLOSED']){if(this[_0x28b89c(0x13a)]===_0xc832c1[_0x28b89c(0x1f4)]){_0x999586(this,this[_0x28b89c(0x282)],_0x28b89c(0x11d));return;}if(this[_0x28b89c(0x13a)]===_0xc832c1[_0x28b89c(0x110)]){this[_0x28b89c(0x2cc)]&&(this[_0x28b89c(0x1c6)]||this[_0x28b89c(0x234)][_0x28b89c(0x195)][_0x28b89c(0x2d0)])&&this[_0x28b89c(0x240)][_0x28b89c(0x1ad)]();return;}this[_0x28b89c(0x13b)]=_0xc832c1[_0x28b89c(0x110)],this[_0x28b89c(0x29a)]['close'](_0x226099,_0x2607fd,!this[_0x28b89c(0x1f5)],_0x4af2d7=>{const _0x38e1bc=_0x28b89c;_0x4af2d7||(this[_0x38e1bc(0x2cc)]=!0x0,(this[_0x38e1bc(0x1c6)]||this[_0x38e1bc(0x234)][_0x38e1bc(0x195)]['errorEmitted'])&&this[_0x38e1bc(0x240)][_0x38e1bc(0x1ad)]());}),_0xac7357(this);}}['pause'](){const _0x1c9137=_0xb8873d;this[_0x1c9137(0x13a)]===_0xc832c1['CONNECTING']||this['readyState']===_0xc832c1[_0x1c9137(0x28d)]||(this[_0x1c9137(0x14c)]=!0x0,this[_0x1c9137(0x240)][_0x1c9137(0x1b3)]());}['ping'](_0x23780b,_0x2ea277,_0x286443){const _0x3f48c6=_0xb8873d;if(this['readyState']===_0xc832c1[_0x3f48c6(0x1f4)])throw new Error(_0x3f48c6(0x24d));if(typeof _0x23780b=='function'?(_0x286443=_0x23780b,_0x23780b=_0x2ea277=void 0x0):typeof _0x2ea277==_0x3f48c6(0x2b5)&&(_0x286443=_0x2ea277,_0x2ea277=void 0x0),typeof _0x23780b==_0x3f48c6(0x1f7)&&(_0x23780b=_0x23780b['toString']()),this[_0x3f48c6(0x13a)]!==_0xc832c1[_0x3f48c6(0x128)]){_0xb1d7df(this,_0x23780b,_0x286443);return;}_0x2ea277===void 0x0&&(_0x2ea277=!this[_0x3f48c6(0x1f5)]),this[_0x3f48c6(0x29a)][_0x3f48c6(0x2d3)](_0x23780b||_0x25cf4d,_0x2ea277,_0x286443);}[_0xb8873d(0x250)](_0x3ea1d0,_0x19dbd0,_0x5322b9){const _0x2bc1ab=_0xb8873d;if(this['readyState']===_0xc832c1[_0x2bc1ab(0x1f4)])throw new Error(_0x2bc1ab(0x24d));if(typeof _0x3ea1d0==_0x2bc1ab(0x2b5)?(_0x5322b9=_0x3ea1d0,_0x3ea1d0=_0x19dbd0=void 0x0):typeof _0x19dbd0=='function'&&(_0x5322b9=_0x19dbd0,_0x19dbd0=void 0x0),typeof _0x3ea1d0==_0x2bc1ab(0x1f7)&&(_0x3ea1d0=_0x3ea1d0['toString']()),this[_0x2bc1ab(0x13a)]!==_0xc832c1['OPEN']){_0xb1d7df(this,_0x3ea1d0,_0x5322b9);return;}_0x19dbd0===void 0x0&&(_0x19dbd0=!this[_0x2bc1ab(0x1f5)]),this[_0x2bc1ab(0x29a)][_0x2bc1ab(0x250)](_0x3ea1d0||_0x25cf4d,_0x19dbd0,_0x5322b9);}[_0xb8873d(0x151)](){const _0x506f0d=_0xb8873d;this[_0x506f0d(0x13a)]===_0xc832c1['CONNECTING']||this[_0x506f0d(0x13a)]===_0xc832c1[_0x506f0d(0x28d)]||(this[_0x506f0d(0x14c)]=!0x1,this[_0x506f0d(0x234)]['_writableState'][_0x506f0d(0x1e0)]||this[_0x506f0d(0x240)][_0x506f0d(0x151)]());}[_0xb8873d(0x11b)](_0x3933f4,_0x3b5590,_0x28c165){const _0x1734d7=_0xb8873d;if(this['readyState']===_0xc832c1[_0x1734d7(0x1f4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3b5590==_0x1734d7(0x2b5)&&(_0x28c165=_0x3b5590,_0x3b5590={}),typeof _0x3933f4==_0x1734d7(0x1f7)&&(_0x3933f4=_0x3933f4[_0x1734d7(0x27f)]()),this[_0x1734d7(0x13a)]!==_0xc832c1[_0x1734d7(0x128)]){_0xb1d7df(this,_0x3933f4,_0x28c165);return;}const _0x2560c3={'binary':typeof _0x3933f4!=_0x1734d7(0x159),'mask':!this[_0x1734d7(0x1f5)],'compress':!0x0,'fin':!0x0,..._0x3b5590};this[_0x1734d7(0x1d4)][_0x4d2197[_0x1734d7(0x2d1)]]||(_0x2560c3[_0x1734d7(0x1ee)]=!0x1),this[_0x1734d7(0x29a)][_0x1734d7(0x11b)](_0x3933f4||_0x25cf4d,_0x2560c3,_0x28c165);}[_0xb8873d(0x2cd)](){const _0x45d08c=_0xb8873d;if(this[_0x45d08c(0x13a)]!==_0xc832c1[_0x45d08c(0x28d)]){if(this['readyState']===_0xc832c1['CONNECTING']){_0x999586(this,this[_0x45d08c(0x282)],_0x45d08c(0x11d));return;}this[_0x45d08c(0x240)]&&(this['_readyState']=_0xc832c1['CLOSING'],this[_0x45d08c(0x240)]['destroy']());}}}Object[_0xb8873d(0x213)](_0xc832c1,_0xb8873d(0x1f4),{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)]('CONNECTING')}),Object[_0xb8873d(0x213)](_0xc832c1[_0xb8873d(0x131)],'CONNECTING',{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x1f4))}),Object[_0xb8873d(0x213)](_0xc832c1,'OPEN',{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x128))}),Object[_0xb8873d(0x213)](_0xc832c1[_0xb8873d(0x131)],_0xb8873d(0x128),{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x128))}),Object[_0xb8873d(0x213)](_0xc832c1,_0xb8873d(0x110),{'enumerable':!0x0,'value':_0xa2022a['indexOf'](_0xb8873d(0x110))}),Object[_0xb8873d(0x213)](_0xc832c1[_0xb8873d(0x131)],'CLOSING',{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x110))}),Object[_0xb8873d(0x213)](_0xc832c1,_0xb8873d(0x28d),{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x28d))}),Object[_0xb8873d(0x213)](_0xc832c1[_0xb8873d(0x131)],_0xb8873d(0x28d),{'enumerable':!0x0,'value':_0xa2022a[_0xb8873d(0x23b)](_0xb8873d(0x28d))}),[_0xb8873d(0x211),'bufferedAmount',_0xb8873d(0x146),_0xb8873d(0x23f),_0xb8873d(0x2a0),_0xb8873d(0x13a),'url']['forEach'](_0x451f33=>{const _0xad0ddd=_0xb8873d;Object[_0xad0ddd(0x213)](_0xc832c1[_0xad0ddd(0x131)],_0x451f33,{'enumerable':!0x0});}),[_0xb8873d(0x1dd),'error',_0xb8873d(0x17c),_0xb8873d(0x229)][_0xb8873d(0x2bb)](_0x5b95ac=>{const _0x4fe11f=_0xb8873d;Object[_0x4fe11f(0x213)](_0xc832c1[_0x4fe11f(0x131)],'on'+_0x5b95ac,{'enumerable':!0x0,'get'(){const _0x3868d4=_0x4fe11f;for(const _0x11dad9 of this[_0x3868d4(0x19c)](_0x5b95ac))if(_0x11dad9[_0x2ae148])return _0x11dad9[_0x27fa87];return null;},'set'(_0xe99e81){const _0x1f364a=_0x4fe11f;for(const _0x30b97b of this[_0x1f364a(0x19c)](_0x5b95ac))if(_0x30b97b[_0x2ae148]){this[_0x1f364a(0x25c)](_0x5b95ac,_0x30b97b);break;}typeof _0xe99e81==_0x1f364a(0x2b5)&&this['addEventListener'](_0x5b95ac,_0xe99e81,{[_0x2ae148]:!0x0});}});}),_0xc832c1[_0xb8873d(0x131)]['addEventListener']=_0x3928e8,_0xc832c1[_0xb8873d(0x131)][_0xb8873d(0x13e)]=_0x1a55ac,we=_0xc832c1;function _0x346221(_0x570237,_0x4c6c65,_0xe86ee6,_0x4f2874){const _0x58856c=_0xb8873d,_0x3cecf8={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4e5641[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4f2874,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x58856c(0x1ab),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x570237['_autoPong']=_0x3cecf8[_0x58856c(0x1b2)],!_0x4e5641['includes'](_0x3cecf8[_0x58856c(0x12d)]))throw new RangeError(_0x58856c(0x1e3)+_0x3cecf8[_0x58856c(0x12d)]+_0x58856c(0x2a7)+_0x4e5641[_0x58856c(0x26a)](',\x20')+')');let _0x373d89;if(_0x4c6c65 instanceof _0xa2a59a)_0x373d89=_0x4c6c65;else try{_0x373d89=new _0xa2a59a(_0x4c6c65);}catch{throw new SyntaxError(_0x58856c(0x2b4)+_0x4c6c65);}_0x373d89[_0x58856c(0x2a0)]===_0x58856c(0x294)?_0x373d89[_0x58856c(0x2a0)]=_0x58856c(0x216):_0x373d89[_0x58856c(0x2a0)]===_0x58856c(0x277)&&(_0x373d89[_0x58856c(0x2a0)]=_0x58856c(0x163)),_0x570237[_0x58856c(0x21c)]=_0x373d89['href'];const _0x59d549=_0x373d89[_0x58856c(0x2a0)]===_0x58856c(0x163),_0x526273=_0x373d89[_0x58856c(0x2a0)]===_0x58856c(0x15a);let _0x1ee7ed;if(_0x373d89[_0x58856c(0x2a0)]!=='ws:'&&!_0x59d549&&!_0x526273?_0x1ee7ed=_0x58856c(0x295):_0x526273&&!_0x373d89[_0x58856c(0x29f)]?_0x1ee7ed=_0x58856c(0x178):_0x373d89[_0x58856c(0x1a3)]&&(_0x1ee7ed=_0x58856c(0x192)),_0x1ee7ed){const _0x26ede6=new SyntaxError(_0x1ee7ed);if(_0x570237[_0x58856c(0x255)]===0x0)throw _0x26ede6;_0x8073a7(_0x570237,_0x26ede6);return;}const _0x13dc1f=_0x59d549?0x1bb:0x50,_0x306f48=_0x1a970b(0x10)[_0x58856c(0x27f)](_0x58856c(0x1c8)),_0x2080b1=_0x59d549?_0x49309d[_0x58856c(0x235)]:_0x14200a[_0x58856c(0x235)],_0x1bd6fe=new Set();let _0x55e068;if(_0x3cecf8['createConnection']=_0x3cecf8[_0x58856c(0x113)]||(_0x59d549?_0x4e609b:_0x2dbc23),_0x3cecf8['defaultPort']=_0x3cecf8[_0x58856c(0x26f)]||_0x13dc1f,_0x3cecf8['port']=_0x373d89[_0x58856c(0x2ac)]||_0x13dc1f,_0x3cecf8[_0x58856c(0x1d1)]=_0x373d89[_0x58856c(0x14a)]['startsWith']('[')?_0x373d89[_0x58856c(0x14a)][_0x58856c(0x2cf)](0x1,-0x1):_0x373d89['hostname'],_0x3cecf8[_0x58856c(0x29e)]={..._0x3cecf8[_0x58856c(0x29e)],'Sec-WebSocket-Version':_0x3cecf8[_0x58856c(0x12d)],'Sec-WebSocket-Key':_0x306f48,'Connection':_0x58856c(0x25e),'Upgrade':_0x58856c(0x20e)},_0x3cecf8[_0x58856c(0x29d)]=_0x373d89[_0x58856c(0x29f)]+_0x373d89[_0x58856c(0x170)],_0x3cecf8[_0x58856c(0x214)]=_0x3cecf8[_0x58856c(0x2b2)],_0x3cecf8[_0x58856c(0x150)]&&(_0x55e068=new _0x4d2197(_0x3cecf8['perMessageDeflate']!==!0x0?_0x3cecf8[_0x58856c(0x150)]:{},!0x1,_0x3cecf8[_0x58856c(0x2a1)]),_0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x155)]=_0x5a82a8({[_0x4d2197[_0x58856c(0x2d1)]]:_0x55e068[_0x58856c(0x20b)]()})),_0xe86ee6[_0x58856c(0x19a)]){for(const _0x2dfdc8 of _0xe86ee6){if(typeof _0x2dfdc8!=_0x58856c(0x159)||!_0x90dc23[_0x58856c(0x1c1)](_0x2dfdc8)||_0x1bd6fe[_0x58856c(0x271)](_0x2dfdc8))throw new SyntaxError(_0x58856c(0x22a));_0x1bd6fe[_0x58856c(0x14e)](_0x2dfdc8);}_0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x215)]=_0xe86ee6[_0x58856c(0x26a)](',');}if(_0x3cecf8[_0x58856c(0x127)]&&(_0x3cecf8[_0x58856c(0x12d)]<0xd?_0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x293)]=_0x3cecf8[_0x58856c(0x127)]:_0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x25b)]=_0x3cecf8[_0x58856c(0x127)]),(_0x373d89[_0x58856c(0x257)]||_0x373d89[_0x58856c(0x1cb)])&&(_0x3cecf8[_0x58856c(0x189)]=_0x373d89[_0x58856c(0x257)]+':'+_0x373d89[_0x58856c(0x1cb)]),_0x526273){const _0x42aea7=_0x3cecf8['path'][_0x58856c(0x126)](':');_0x3cecf8[_0x58856c(0x1e5)]=_0x42aea7[0x0],_0x3cecf8[_0x58856c(0x29d)]=_0x42aea7[0x1];}let _0x3ad4f7;if(_0x3cecf8[_0x58856c(0x18b)]){if(_0x570237['_redirects']===0x0){_0x570237[_0x58856c(0x22d)]=_0x526273,_0x570237['_originalSecure']=_0x59d549,_0x570237[_0x58856c(0x1c5)]=_0x526273?_0x3cecf8[_0x58856c(0x1e5)]:_0x373d89[_0x58856c(0x1d1)];const _0x480bd5=_0x4f2874&&_0x4f2874[_0x58856c(0x29e)];if(_0x4f2874={..._0x4f2874,'headers':{}},_0x480bd5){for(const [_0x1029bb,_0x22a06c]of Object['entries'](_0x480bd5))_0x4f2874[_0x58856c(0x29e)][_0x1029bb['toLowerCase']()]=_0x22a06c;}}else{if(_0x570237[_0x58856c(0x256)](_0x58856c(0x291))===0x0){const _0x4156fa=_0x526273?_0x570237[_0x58856c(0x22d)]?_0x3cecf8[_0x58856c(0x1e5)]===_0x570237[_0x58856c(0x1c5)]:!0x1:_0x570237[_0x58856c(0x22d)]?!0x1:_0x373d89[_0x58856c(0x1d1)]===_0x570237[_0x58856c(0x1c5)];(!_0x4156fa||_0x570237['_originalSecure']&&!_0x59d549)&&(delete _0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x2b7)],delete _0x3cecf8[_0x58856c(0x29e)][_0x58856c(0x1cf)],_0x4156fa||delete _0x3cecf8['headers'][_0x58856c(0x1d1)],_0x3cecf8[_0x58856c(0x189)]=void 0x0);}}_0x3cecf8['auth']&&!_0x4f2874[_0x58856c(0x29e)]['authorization']&&(_0x4f2874[_0x58856c(0x29e)]['authorization']=_0x58856c(0x22f)+Buffer[_0x58856c(0x1e7)](_0x3cecf8['auth'])[_0x58856c(0x27f)](_0x58856c(0x1c8))),_0x3ad4f7=_0x570237[_0x58856c(0x282)]=_0x2080b1(_0x3cecf8),_0x570237[_0x58856c(0x255)]&&_0x570237[_0x58856c(0x1e2)](_0x58856c(0x291),_0x570237[_0x58856c(0x268)],_0x3ad4f7);}else _0x3ad4f7=_0x570237[_0x58856c(0x282)]=_0x2080b1(_0x3cecf8);_0x3cecf8[_0x58856c(0x214)]&&_0x3ad4f7['on'](_0x58856c(0x214),()=>{const _0x5327a7=_0x58856c;_0x999586(_0x570237,_0x3ad4f7,_0x5327a7(0x261));}),_0x3ad4f7['on'](_0x58856c(0x1ae),_0x2ed85d=>{const _0x5ce7d0=_0x58856c;_0x3ad4f7===null||_0x3ad4f7[_0x438518]||(_0x3ad4f7=_0x570237[_0x5ce7d0(0x282)]=null,_0x8073a7(_0x570237,_0x2ed85d));}),_0x3ad4f7['on']('response',_0x3bc73d=>{const _0x56d109=_0x58856c,_0x282e5f=_0x3bc73d[_0x56d109(0x29e)][_0x56d109(0x19e)],_0x3ed003=_0x3bc73d['statusCode'];if(_0x282e5f&&_0x3cecf8['followRedirects']&&_0x3ed003>=0x12c&&_0x3ed003<0x190){if(++_0x570237['_redirects']>_0x3cecf8[_0x56d109(0x22b)]){_0x999586(_0x570237,_0x3ad4f7,_0x56d109(0x1a7));return;}_0x3ad4f7[_0x56d109(0x1df)]();let _0x1cd266;try{_0x1cd266=new _0xa2a59a(_0x282e5f,_0x4c6c65);}catch{const _0x4de321=new SyntaxError(_0x56d109(0x2b4)+_0x282e5f);_0x8073a7(_0x570237,_0x4de321);return;}_0x346221(_0x570237,_0x1cd266,_0xe86ee6,_0x4f2874);}else _0x570237[_0x56d109(0x1e2)]('unexpected-response',_0x3ad4f7,_0x3bc73d)||_0x999586(_0x570237,_0x3ad4f7,_0x56d109(0x218)+_0x3bc73d['statusCode']);}),_0x3ad4f7['on']('upgrade',(_0x4a2777,_0x322e7a,_0x390691)=>{const _0x8c50b2=_0x58856c;if(_0x570237['emit']('upgrade',_0x4a2777),_0x570237[_0x8c50b2(0x13a)]!==_0xc832c1[_0x8c50b2(0x1f4)])return;_0x3ad4f7=_0x570237[_0x8c50b2(0x282)]=null;const _0x390814=_0x4a2777[_0x8c50b2(0x29e)][_0x8c50b2(0x1fb)];if(_0x390814===void 0x0||_0x390814[_0x8c50b2(0x160)]()!==_0x8c50b2(0x20e)){_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x1a1));return;}const _0x243532=_0x56082b(_0x8c50b2(0x26d))[_0x8c50b2(0x135)](_0x306f48+_0x4f4a36)[_0x8c50b2(0x1f9)](_0x8c50b2(0x1c8));if(_0x4a2777[_0x8c50b2(0x29e)][_0x8c50b2(0x19d)]!==_0x243532){_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x260));return;}const _0x43a0ee=_0x4a2777[_0x8c50b2(0x29e)][_0x8c50b2(0x2a4)];let _0x30e290;if(_0x43a0ee!==void 0x0?_0x1bd6fe[_0x8c50b2(0x154)]?_0x1bd6fe[_0x8c50b2(0x271)](_0x43a0ee)||(_0x30e290=_0x8c50b2(0x112)):_0x30e290=_0x8c50b2(0x1f3):_0x1bd6fe['size']&&(_0x30e290=_0x8c50b2(0x217)),_0x30e290){_0x999586(_0x570237,_0x322e7a,_0x30e290);return;}_0x43a0ee&&(_0x570237[_0x8c50b2(0x109)]=_0x43a0ee);const _0x7095fd=_0x4a2777[_0x8c50b2(0x29e)]['sec-websocket-extensions'];if(_0x7095fd!==void 0x0){if(!_0x55e068){_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x199));return;}let _0x57878b;try{_0x57878b=_0x2b6f5a(_0x7095fd);}catch{_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x19f));return;}const _0x5ba068=Object['keys'](_0x57878b);if(_0x5ba068[_0x8c50b2(0x19a)]!==0x1||_0x5ba068[0x0]!==_0x4d2197[_0x8c50b2(0x2d1)]){_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x29c));return;}try{_0x55e068[_0x8c50b2(0x17b)](_0x57878b[_0x4d2197[_0x8c50b2(0x2d1)]]);}catch{_0x999586(_0x570237,_0x322e7a,_0x8c50b2(0x19f));return;}_0x570237['_extensions'][_0x4d2197[_0x8c50b2(0x2d1)]]=_0x55e068;}_0x570237[_0x8c50b2(0x1a9)](_0x322e7a,_0x390691,{'allowSynchronousEvents':_0x3cecf8[_0x8c50b2(0x1d6)],'generateMask':_0x3cecf8[_0x8c50b2(0x1b8)],'maxPayload':_0x3cecf8[_0x8c50b2(0x2a1)],'skipUTF8Validation':_0x3cecf8[_0x8c50b2(0x10d)]});}),_0x3cecf8[_0x58856c(0x1bf)]?_0x3cecf8[_0x58856c(0x1bf)](_0x3ad4f7,_0x570237):_0x3ad4f7[_0x58856c(0x1ad)]();}function _0x8073a7(_0x5c0cda,_0x523896){const _0x341afe=_0xb8873d;_0x5c0cda['_readyState']=_0xc832c1[_0x341afe(0x110)],_0x5c0cda['_errorEmitted']=!0x0,_0x5c0cda['emit']('error',_0x523896),_0x5c0cda[_0x341afe(0x13d)]();}function _0x2dbc23(_0x125498){const _0x27a08f=_0xb8873d;return _0x125498[_0x27a08f(0x29d)]=_0x125498[_0x27a08f(0x1e5)],_0x3020fb[_0x27a08f(0x120)](_0x125498);}function _0x4e609b(_0x5653bd){const _0x147d84=_0xb8873d;return _0x5653bd['path']=void 0x0,!_0x5653bd['servername']&&_0x5653bd['servername']!==''&&(_0x5653bd[_0x147d84(0x2ca)]=_0x3020fb['isIP'](_0x5653bd[_0x147d84(0x1d1)])?'':_0x5653bd[_0x147d84(0x1d1)]),_0x5c3bd7[_0x147d84(0x120)](_0x5653bd);}function _0x999586(_0x28372b,_0x1e4827,_0x344726){const _0x283fed=_0xb8873d;_0x28372b[_0x283fed(0x13b)]=_0xc832c1[_0x283fed(0x110)];const _0x2af8b1=new Error(_0x344726);Error[_0x283fed(0x18e)](_0x2af8b1,_0x999586),_0x1e4827[_0x283fed(0x289)]?(_0x1e4827[_0x438518]=!0x0,_0x1e4827[_0x283fed(0x1df)](),_0x1e4827[_0x283fed(0x280)]&&!_0x1e4827[_0x283fed(0x280)][_0x283fed(0x177)]&&_0x1e4827[_0x283fed(0x280)][_0x283fed(0x25f)](),process[_0x283fed(0x16e)](_0x8073a7,_0x28372b,_0x2af8b1)):(_0x1e4827[_0x283fed(0x25f)](_0x2af8b1),_0x1e4827[_0x283fed(0x208)]('error',_0x28372b['emit'][_0x283fed(0x200)](_0x28372b,_0x283fed(0x1ae))),_0x1e4827[_0x283fed(0x208)](_0x283fed(0x17c),_0x28372b[_0x283fed(0x13d)][_0x283fed(0x200)](_0x28372b)));}function _0xb1d7df(_0x14ebdf,_0xfde94e,_0x4f0aa2){const _0x154283=_0xb8873d;if(_0xfde94e){const _0x1f97fe=_0x298a60(_0xfde94e)?_0xfde94e[_0x154283(0x154)]:_0x5f4f06(_0xfde94e)[_0x154283(0x19a)];_0x14ebdf[_0x154283(0x240)]?_0x14ebdf[_0x154283(0x29a)][_0x154283(0x1fd)]+=_0x1f97fe:_0x14ebdf[_0x154283(0x263)]+=_0x1f97fe;}if(_0x4f0aa2){const _0x42bb18=new Error(_0x154283(0x1e9)+_0x14ebdf['readyState']+'\x20('+_0xa2022a[_0x14ebdf['readyState']]+')');process['nextTick'](_0x4f0aa2,_0x42bb18);}}function _0x147ccd(_0x574499,_0x5114a7){const _0x282dd8=_0xb8873d,_0x13a57c=this[_0x47739b];_0x13a57c[_0x282dd8(0x1c6)]=!0x0,_0x13a57c[_0x282dd8(0x21a)]=_0x5114a7,_0x13a57c[_0x282dd8(0x1db)]=_0x574499,_0x13a57c[_0x282dd8(0x240)][_0x47739b]!==void 0x0&&(_0x13a57c['_socket']['removeListener'](_0x282dd8(0x16b),_0x23714f),process[_0x282dd8(0x16e)](_0x42d50c,_0x13a57c['_socket']),_0x574499===0x3ed?_0x13a57c[_0x282dd8(0x17c)]():_0x13a57c[_0x282dd8(0x17c)](_0x574499,_0x5114a7));}function _0x447494(){const _0xb7b7c0=_0xb8873d,_0x319fc5=this[_0x47739b];_0x319fc5['isPaused']||_0x319fc5[_0xb7b7c0(0x240)][_0xb7b7c0(0x151)]();}function _0x5d8e76(_0x45e031){const _0x7459e4=_0xb8873d,_0x4e467a=this[_0x47739b];_0x4e467a['_socket'][_0x47739b]!==void 0x0&&(_0x4e467a[_0x7459e4(0x240)][_0x7459e4(0x25c)](_0x7459e4(0x16b),_0x23714f),process[_0x7459e4(0x16e)](_0x42d50c,_0x4e467a[_0x7459e4(0x240)]),_0x4e467a[_0x7459e4(0x17c)](_0x45e031[_0x236d0f])),_0x4e467a['_errorEmitted']||(_0x4e467a[_0x7459e4(0x286)]=!0x0,_0x4e467a['emit'](_0x7459e4(0x1ae),_0x45e031));}function _0xb95fc(){const _0x28eb7b=_0xb8873d;this[_0x47739b][_0x28eb7b(0x13d)]();}function _0x1e30b1(_0x16ab7d,_0x460dbc){const _0x1d3a91=_0xb8873d;this[_0x47739b][_0x1d3a91(0x1e2)](_0x1d3a91(0x229),_0x16ab7d,_0x460dbc);}function _0x591cfc(_0x46db9e){const _0x91f7b4=_0xb8873d,_0x18b922=this[_0x47739b];_0x18b922[_0x91f7b4(0x2a9)]&&_0x18b922[_0x91f7b4(0x250)](_0x46db9e,!this['_isServer'],_0x23e612),_0x18b922['emit'](_0x91f7b4(0x2d3),_0x46db9e);}function _0x23a4f1(_0x59cf04){const _0x493189=_0xb8873d;this[_0x47739b]['emit'](_0x493189(0x250),_0x59cf04);}function _0x42d50c(_0x1d725b){const _0x3785ae=_0xb8873d;_0x1d725b[_0x3785ae(0x151)]();}function _0x4b509a(_0x187384){const _0x36e114=_0xb8873d,_0x3a4e00=this[_0x47739b];_0x3a4e00[_0x36e114(0x13a)]!==_0xc832c1['CLOSED']&&(_0x3a4e00[_0x36e114(0x13a)]===_0xc832c1[_0x36e114(0x128)]&&(_0x3a4e00['_readyState']=_0xc832c1[_0x36e114(0x110)],_0xac7357(_0x3a4e00)),this['_socket']['end'](),_0x3a4e00[_0x36e114(0x286)]||(_0x3a4e00[_0x36e114(0x286)]=!0x0,_0x3a4e00[_0x36e114(0x1e2)]('error',_0x187384)));}function _0xac7357(_0x19ad72){const _0x45b8f2=_0xb8873d;_0x19ad72['_closeTimer']=setTimeout(_0x19ad72[_0x45b8f2(0x240)][_0x45b8f2(0x25f)][_0x45b8f2(0x200)](_0x19ad72[_0x45b8f2(0x240)]),_0x3b6e25);}function _0x379343(){const _0xca359c=_0xb8873d,_0x24bb25=this[_0x47739b];this[_0xca359c(0x25c)](_0xca359c(0x17c),_0x379343),this['removeListener']('data',_0x23714f),this[_0xca359c(0x25c)](_0xca359c(0x1ad),_0x4884c1),_0x24bb25[_0xca359c(0x13b)]=_0xc832c1[_0xca359c(0x110)];let _0x8995a1;!this[_0xca359c(0x14d)][_0xca359c(0x245)]&&!_0x24bb25[_0xca359c(0x1c6)]&&!_0x24bb25[_0xca359c(0x234)][_0xca359c(0x195)][_0xca359c(0x2d0)]&&(_0x8995a1=_0x24bb25['_socket'][_0xca359c(0x28c)]())!==null&&_0x24bb25['_receiver']['write'](_0x8995a1),_0x24bb25[_0xca359c(0x234)][_0xca359c(0x1ad)](),this[_0x47739b]=void 0x0,clearTimeout(_0x24bb25[_0xca359c(0x117)]),_0x24bb25[_0xca359c(0x234)]['_writableState'][_0xca359c(0x12a)]||_0x24bb25[_0xca359c(0x234)][_0xca359c(0x195)]['errorEmitted']?_0x24bb25[_0xca359c(0x13d)]():(_0x24bb25[_0xca359c(0x234)]['on'](_0xca359c(0x1ae),_0xb95fc),_0x24bb25['_receiver']['on'](_0xca359c(0x220),_0xb95fc));}function _0x23714f(_0x8e005a){const _0x4287af=_0xb8873d;this[_0x47739b][_0x4287af(0x234)][_0x4287af(0x1b0)](_0x8e005a)||this['pause']();}function _0x4884c1(){const _0x5a649b=_0xb8873d,_0x53bf06=this[_0x47739b];_0x53bf06[_0x5a649b(0x13b)]=_0xc832c1['CLOSING'],_0x53bf06[_0x5a649b(0x234)][_0x5a649b(0x1ad)](),this['end']();}function _0x4a1f79(){const _0x199bdb=_0xb8873d,_0x53e240=this[_0x47739b];this['removeListener'](_0x199bdb(0x1ae),_0x4a1f79),this['on']('error',_0x23e612),_0x53e240&&(_0x53e240[_0x199bdb(0x13b)]=_0xc832c1[_0x199bdb(0x110)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2df3d7}=oe;function _0x15bec1(_0x26e322){const _0x492c41=_0x19aa;_0x26e322[_0x492c41(0x1e2)](_0x492c41(0x17c));}function _0x400b50(){const _0xef0a50=_0x19aa;!this[_0xef0a50(0x177)]&&this['_writableState'][_0xef0a50(0x12a)]&&this[_0xef0a50(0x25f)]();}function _0x1c3096(_0x21633f){const _0x11cfa4=_0x19aa;this[_0x11cfa4(0x25c)]('error',_0x1c3096),this[_0x11cfa4(0x25f)](),this[_0x11cfa4(0x256)](_0x11cfa4(0x1ae))===0x0&&this[_0x11cfa4(0x1e2)]('error',_0x21633f);}function _0x3807b9(_0x50e624,_0xf6e9fa){const _0x5e6ff2=_0x19aa;let _0x1bdfb8=!0x0;const _0x3d6839=new _0x2df3d7({..._0xf6e9fa,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x50e624['on']('message',function(_0x1716e6,_0x5e1497){const _0x2bb902=_0x19aa,_0x366f66=!_0x5e1497&&_0x3d6839[_0x2bb902(0x14d)][_0x2bb902(0x137)]?_0x1716e6[_0x2bb902(0x27f)]():_0x1716e6;_0x3d6839['push'](_0x366f66)||_0x50e624[_0x2bb902(0x1b3)]();}),_0x50e624['once'](_0x5e6ff2(0x1ae),function(_0x531643){const _0x3ef091=_0x5e6ff2;_0x3d6839[_0x3ef091(0x177)]||(_0x1bdfb8=!0x1,_0x3d6839[_0x3ef091(0x25f)](_0x531643));}),_0x50e624[_0x5e6ff2(0x208)](_0x5e6ff2(0x17c),function(){const _0x53527f=_0x5e6ff2;_0x3d6839[_0x53527f(0x177)]||_0x3d6839[_0x53527f(0x162)](null);}),_0x3d6839[_0x5e6ff2(0x1d0)]=function(_0x5c9c68,_0x1c709f){const _0x514ed0=_0x5e6ff2;if(_0x50e624[_0x514ed0(0x13a)]===_0x50e624[_0x514ed0(0x28d)]){_0x1c709f(_0x5c9c68),process[_0x514ed0(0x16e)](_0x15bec1,_0x3d6839);return;}let _0x596a0b=!0x1;_0x50e624['once'](_0x514ed0(0x1ae),function(_0x401b21){_0x596a0b=!0x0,_0x1c709f(_0x401b21);}),_0x50e624[_0x514ed0(0x208)](_0x514ed0(0x17c),function(){const _0x5d6198=_0x514ed0;_0x596a0b||_0x1c709f(_0x5c9c68),process[_0x5d6198(0x16e)](_0x15bec1,_0x3d6839);}),_0x1bdfb8&&_0x50e624[_0x514ed0(0x2cd)]();},_0x3d6839[_0x5e6ff2(0x180)]=function(_0x40a8e0){const _0x1699dd=_0x5e6ff2;if(_0x50e624[_0x1699dd(0x13a)]===_0x50e624[_0x1699dd(0x1f4)]){_0x50e624['once'](_0x1699dd(0x1dd),function(){const _0x215c08=_0x1699dd;_0x3d6839[_0x215c08(0x180)](_0x40a8e0);});return;}_0x50e624[_0x1699dd(0x240)]!==null&&(_0x50e624[_0x1699dd(0x240)]['_writableState'][_0x1699dd(0x12a)]?(_0x40a8e0(),_0x3d6839[_0x1699dd(0x14d)][_0x1699dd(0x245)]&&_0x3d6839['destroy']()):(_0x50e624[_0x1699dd(0x240)][_0x1699dd(0x208)]('finish',function(){_0x40a8e0();}),_0x50e624[_0x1699dd(0x17c)]()));},_0x3d6839[_0x5e6ff2(0x123)]=function(){const _0x1a81dd=_0x5e6ff2;_0x50e624[_0x1a81dd(0x23f)]&&_0x50e624[_0x1a81dd(0x151)]();},_0x3d6839[_0x5e6ff2(0x12b)]=function(_0x570c88,_0x537ffc,_0x980c2a){const _0x413fed=_0x5e6ff2;if(_0x50e624[_0x413fed(0x13a)]===_0x50e624['CONNECTING']){_0x50e624[_0x413fed(0x208)]('open',function(){const _0x5777aa=_0x413fed;_0x3d6839[_0x5777aa(0x12b)](_0x570c88,_0x537ffc,_0x980c2a);});return;}_0x50e624[_0x413fed(0x11b)](_0x570c88,_0x980c2a);},_0x3d6839['on']('end',_0x400b50),_0x3d6839['on'](_0x5e6ff2(0x1ae),_0x1c3096),_0x3d6839;}return Oe=_0x3807b9,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4f3553}=ae();function _0x5f1758(_0x59c553){const _0x2d8038=_0x19aa,_0x52334c=new Set();let _0xc01b1f=-0x1,_0x503bdb=-0x1,_0x266b4f=0x0;for(_0x266b4f;_0x266b4f<_0x59c553[_0x2d8038(0x19a)];_0x266b4f++){const _0x469fa7=_0x59c553[_0x2d8038(0x1a4)](_0x266b4f);if(_0x503bdb===-0x1&&_0x4f3553[_0x469fa7]===0x1)_0xc01b1f===-0x1&&(_0xc01b1f=_0x266b4f);else{if(_0x266b4f!==0x0&&(_0x469fa7===0x20||_0x469fa7===0x9))_0x503bdb===-0x1&&_0xc01b1f!==-0x1&&(_0x503bdb=_0x266b4f);else{if(_0x469fa7===0x2c){if(_0xc01b1f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x266b4f);_0x503bdb===-0x1&&(_0x503bdb=_0x266b4f);const _0x4c73da=_0x59c553[_0x2d8038(0x2cf)](_0xc01b1f,_0x503bdb);if(_0x52334c[_0x2d8038(0x271)](_0x4c73da))throw new SyntaxError(_0x2d8038(0x17e)+_0x4c73da+_0x2d8038(0x2c4));_0x52334c[_0x2d8038(0x14e)](_0x4c73da),_0xc01b1f=_0x503bdb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x266b4f);}}}if(_0xc01b1f===-0x1||_0x503bdb!==-0x1)throw new SyntaxError(_0x2d8038(0x174));const _0xe7bef2=_0x59c553[_0x2d8038(0x2cf)](_0xc01b1f,_0x266b4f);if(_0x52334c['has'](_0xe7bef2))throw new SyntaxError(_0x2d8038(0x17e)+_0xe7bef2+'\x22\x20subprotocol\x20is\x20duplicated');return _0x52334c['add'](_0xe7bef2),_0x52334c;}return Ce={'parse':_0x5f1758},Ce;}var Te,rt;function Ft(){const _0x2b8ff0=_0x5d0ada;if(rt)return Te;rt=0x1;const _0x4c0a58=nt,_0x5370a6=ot,{Duplex:_0x3ea1d4}=oe,{createHash:_0x1552d4}=Le,_0xaddac2=ct(),_0x2efe25=he(),_0x6d06d=At(),_0x21885d=Pe(),{GUID:_0x46090b,kWebSocket:_0x1ebe53}=H(),_0x1bbe28=/^[+/0-9A-Za-z]{22}==$/,_0x503698=0x0,_0x5d67af=0x1,_0x5badf5=0x2;class _0x26f98b extends _0x4c0a58{constructor(_0x22b3e9,_0x11ebab){const _0x24d557=_0x19aa;if(super(),_0x22b3e9={'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':_0x21885d,..._0x22b3e9},_0x22b3e9[_0x24d557(0x2ac)]==null&&!_0x22b3e9[_0x24d557(0x249)]&&!_0x22b3e9[_0x24d557(0x1d8)]||_0x22b3e9[_0x24d557(0x2ac)]!=null&&(_0x22b3e9[_0x24d557(0x249)]||_0x22b3e9[_0x24d557(0x1d8)])||_0x22b3e9['server']&&_0x22b3e9[_0x24d557(0x1d8)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x22b3e9[_0x24d557(0x2ac)]!=null?(this[_0x24d557(0x169)]=_0x5370a6[_0x24d557(0x197)]((_0x30631c,_0x4e9ece)=>{const _0x39fd82=_0x24d557,_0x1f3628=_0x5370a6[_0x39fd82(0x269)][0x1aa];_0x4e9ece[_0x39fd82(0x1af)](0x1aa,{'Content-Length':_0x1f3628['length'],'Content-Type':_0x39fd82(0x24c)}),_0x4e9ece[_0x39fd82(0x1ad)](_0x1f3628);}),this['_server'][_0x24d557(0x1a2)](_0x22b3e9[_0x24d557(0x2ac)],_0x22b3e9[_0x24d557(0x1d1)],_0x22b3e9[_0x24d557(0x2c9)],_0x11ebab)):_0x22b3e9['server']&&(this[_0x24d557(0x169)]=_0x22b3e9[_0x24d557(0x249)]),this[_0x24d557(0x169)]){const _0x43bcd0=this[_0x24d557(0x1e2)]['bind'](this,_0x24d557(0x253));this[_0x24d557(0x219)]=_0x389fd1(this[_0x24d557(0x169)],{'listening':this[_0x24d557(0x1e2)]['bind'](this,_0x24d557(0x2b8)),'error':this[_0x24d557(0x1e2)][_0x24d557(0x200)](this,_0x24d557(0x1ae)),'upgrade':(_0x236dd0,_0x3d789a,_0x52040e)=>{const _0x56e5a3=_0x24d557;this[_0x56e5a3(0x299)](_0x236dd0,_0x3d789a,_0x52040e,_0x43bcd0);}});}_0x22b3e9[_0x24d557(0x150)]===!0x0&&(_0x22b3e9['perMessageDeflate']={}),_0x22b3e9[_0x24d557(0x2d2)]&&(this[_0x24d557(0x11e)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x24d557(0x233)]=_0x22b3e9,this[_0x24d557(0x153)]=_0x503698;}[_0x2b8ff0(0x201)](){const _0x23fa95=_0x2b8ff0;if(this['options'][_0x23fa95(0x1d8)])throw new Error(_0x23fa95(0x1c2));return this[_0x23fa95(0x169)]?this['_server'][_0x23fa95(0x201)]():null;}['close'](_0x41e934){const _0x187e5a=_0x2b8ff0;if(this[_0x187e5a(0x153)]===_0x5badf5){_0x41e934&&this['once'](_0x187e5a(0x17c),()=>{const _0x570307=_0x187e5a;_0x41e934(new Error(_0x570307(0x1ac)));}),process[_0x187e5a(0x16e)](_0x3a44da,this);return;}if(_0x41e934&&this[_0x187e5a(0x208)](_0x187e5a(0x17c),_0x41e934),this[_0x187e5a(0x153)]!==_0x5d67af){if(this[_0x187e5a(0x153)]=_0x5d67af,this['options'][_0x187e5a(0x1d8)]||this[_0x187e5a(0x233)][_0x187e5a(0x249)])this[_0x187e5a(0x169)]&&(this['_removeListeners'](),this[_0x187e5a(0x219)]=this['_server']=null),this[_0x187e5a(0x11e)]?this['clients']['size']?this[_0x187e5a(0x279)]=!0x0:process['nextTick'](_0x3a44da,this):process[_0x187e5a(0x16e)](_0x3a44da,this);else{const _0x265366=this[_0x187e5a(0x169)];this['_removeListeners'](),this[_0x187e5a(0x219)]=this[_0x187e5a(0x169)]=null,_0x265366[_0x187e5a(0x17c)](()=>{_0x3a44da(this);});}}}[_0x2b8ff0(0x29b)](_0x1c05bf){const _0x81e4bd=_0x2b8ff0;if(this['options'][_0x81e4bd(0x29d)]){const _0x1c6be3=_0x1c05bf[_0x81e4bd(0x268)]['indexOf']('?');if((_0x1c6be3!==-0x1?_0x1c05bf[_0x81e4bd(0x268)][_0x81e4bd(0x2cf)](0x0,_0x1c6be3):_0x1c05bf[_0x81e4bd(0x268)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x2b8ff0(0x299)](_0x5287cc,_0xaf5505,_0x523f54,_0x547688){const _0x159a17=_0x2b8ff0;_0xaf5505['on'](_0x159a17(0x1ae),_0x48f75c);const _0x41e5b8=_0x5287cc[_0x159a17(0x29e)][_0x159a17(0x1a6)],_0x4a26dd=_0x5287cc[_0x159a17(0x29e)]['upgrade'],_0x291ca0=+_0x5287cc['headers'][_0x159a17(0x262)];if(_0x5287cc['method']!==_0x159a17(0x1ab)){_0x3c4615(this,_0x5287cc,_0xaf5505,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4a26dd===void 0x0||_0x4a26dd[_0x159a17(0x160)]()!=='websocket'){_0x3c4615(this,_0x5287cc,_0xaf5505,0x190,_0x159a17(0x1a1));return;}if(_0x41e5b8===void 0x0||!_0x1bbe28[_0x159a17(0x1c1)](_0x41e5b8)){_0x3c4615(this,_0x5287cc,_0xaf5505,0x190,_0x159a17(0x230));return;}if(_0x291ca0!==0xd&&_0x291ca0!==0x8){_0x3c4615(this,_0x5287cc,_0xaf5505,0x190,_0x159a17(0x2ad),{'Sec-WebSocket-Version':_0x159a17(0x1fc)});return;}if(!this[_0x159a17(0x29b)](_0x5287cc)){_0x2d27d8(_0xaf5505,0x190);return;}const _0x44ec15=_0x5287cc['headers'][_0x159a17(0x2a4)];let _0x3b9867=new Set();if(_0x44ec15!==void 0x0)try{_0x3b9867=_0x6d06d[_0x159a17(0x2a2)](_0x44ec15);}catch{_0x3c4615(this,_0x5287cc,_0xaf5505,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xf517a0=_0x5287cc[_0x159a17(0x29e)][_0x159a17(0x186)],_0x59be65={};if(this[_0x159a17(0x233)]['perMessageDeflate']&&_0xf517a0!==void 0x0){const _0x59f841=new _0x2efe25(this[_0x159a17(0x233)][_0x159a17(0x150)],!0x0,this[_0x159a17(0x233)][_0x159a17(0x2a1)]);try{const _0x343efe=_0xaddac2[_0x159a17(0x2a2)](_0xf517a0);_0x343efe[_0x2efe25[_0x159a17(0x2d1)]]&&(_0x59f841['accept'](_0x343efe[_0x2efe25[_0x159a17(0x2d1)]]),_0x59be65[_0x2efe25[_0x159a17(0x2d1)]]=_0x59f841);}catch{_0x3c4615(this,_0x5287cc,_0xaf5505,0x190,_0x159a17(0x1f1));return;}}if(this['options'][_0x159a17(0x1d7)]){const _0x5e84e4={'origin':_0x5287cc[_0x159a17(0x29e)][''+(_0x291ca0===0x8?'sec-websocket-origin':_0x159a17(0x127))],'secure':!!(_0x5287cc[_0x159a17(0x280)][_0x159a17(0x2a3)]||_0x5287cc[_0x159a17(0x280)]['encrypted']),'req':_0x5287cc};if(this['options']['verifyClient'][_0x159a17(0x19a)]===0x2){this[_0x159a17(0x233)][_0x159a17(0x1d7)](_0x5e84e4,(_0x3dfe14,_0x5e18c2,_0x5dd020,_0xa604d)=>{const _0x209588=_0x159a17;if(!_0x3dfe14)return _0x2d27d8(_0xaf5505,_0x5e18c2||0x191,_0x5dd020,_0xa604d);this[_0x209588(0x152)](_0x59be65,_0x41e5b8,_0x3b9867,_0x5287cc,_0xaf5505,_0x523f54,_0x547688);});return;}if(!this['options'][_0x159a17(0x1d7)](_0x5e84e4))return _0x2d27d8(_0xaf5505,0x191);}this['completeUpgrade'](_0x59be65,_0x41e5b8,_0x3b9867,_0x5287cc,_0xaf5505,_0x523f54,_0x547688);}[_0x2b8ff0(0x152)](_0x5f3b1e,_0x3f2085,_0x3f96dc,_0x227514,_0x4be74c,_0x427f4d,_0x32beae){const _0x229f02=_0x2b8ff0;if(!_0x4be74c[_0x229f02(0x226)]||!_0x4be74c[_0x229f02(0x111)])return _0x4be74c[_0x229f02(0x25f)]();if(_0x4be74c[_0x1ebe53])throw new Error(_0x229f02(0x228));if(this['_state']>_0x503698)return _0x2d27d8(_0x4be74c,0x1f7);const _0x47a058=[_0x229f02(0x204),_0x229f02(0x15b),'Connection:\x20Upgrade',_0x229f02(0x19b)+_0x1552d4(_0x229f02(0x26d))[_0x229f02(0x135)](_0x3f2085+_0x46090b)[_0x229f02(0x1f9)](_0x229f02(0x1c8))],_0x1d50a0=new this[(_0x229f02(0x233))]['WebSocket'](null,void 0x0,this[_0x229f02(0x233)]);if(_0x3f96dc['size']){const _0x4c62a0=this[_0x229f02(0x233)][_0x229f02(0x207)]?this['options'][_0x229f02(0x207)](_0x3f96dc,_0x227514):_0x3f96dc[_0x229f02(0x2c8)]()[_0x229f02(0x2a5)]()[_0x229f02(0x206)];_0x4c62a0&&(_0x47a058[_0x229f02(0x162)](_0x229f02(0x1d5)+_0x4c62a0),_0x1d50a0['_protocol']=_0x4c62a0);}if(_0x5f3b1e[_0x2efe25['extensionName']]){const _0x1d50ef=_0x5f3b1e[_0x2efe25[_0x229f02(0x2d1)]][_0x229f02(0x122)],_0x487cbf=_0xaddac2['format']({[_0x2efe25['extensionName']]:[_0x1d50ef]});_0x47a058[_0x229f02(0x162)]('Sec-WebSocket-Extensions:\x20'+_0x487cbf),_0x1d50a0[_0x229f02(0x1d4)]=_0x5f3b1e;}this[_0x229f02(0x1e2)]('headers',_0x47a058,_0x227514),_0x4be74c[_0x229f02(0x1b0)](_0x47a058[_0x229f02(0x266)]('\x0d\x0a')[_0x229f02(0x26a)]('\x0d\x0a')),_0x4be74c[_0x229f02(0x25c)]('error',_0x48f75c),_0x1d50a0[_0x229f02(0x1a9)](_0x4be74c,_0x427f4d,{'allowSynchronousEvents':this[_0x229f02(0x233)][_0x229f02(0x1d6)],'maxPayload':this[_0x229f02(0x233)][_0x229f02(0x2a1)],'skipUTF8Validation':this[_0x229f02(0x233)]['skipUTF8Validation']}),this[_0x229f02(0x11e)]&&(this[_0x229f02(0x11e)]['add'](_0x1d50a0),_0x1d50a0['on'](_0x229f02(0x17c),()=>{const _0x2b3898=_0x229f02;this['clients'][_0x2b3898(0x2a8)](_0x1d50a0),this[_0x2b3898(0x279)]&&!this[_0x2b3898(0x11e)][_0x2b3898(0x154)]&&process['nextTick'](_0x3a44da,this);})),_0x32beae(_0x1d50a0,_0x227514);}}Te=_0x26f98b;function _0x389fd1(_0x316aeb,_0x10b500){for(const _0x58ae9e of Object['keys'](_0x10b500))_0x316aeb['on'](_0x58ae9e,_0x10b500[_0x58ae9e]);return function(){const _0x43492a=_0x19aa;for(const _0x164d05 of Object[_0x43492a(0x20a)](_0x10b500))_0x316aeb[_0x43492a(0x25c)](_0x164d05,_0x10b500[_0x164d05]);};}function _0x3a44da(_0x39aca9){const _0x4394e1=_0x2b8ff0;_0x39aca9[_0x4394e1(0x153)]=_0x5badf5,_0x39aca9[_0x4394e1(0x1e2)](_0x4394e1(0x17c));}function _0x48f75c(){const _0x54c6bd=_0x2b8ff0;this[_0x54c6bd(0x25f)]();}function _0x2d27d8(_0x12de03,_0x46fec5,_0x42c76f,_0x2abcf4){const _0x3141ce=_0x2b8ff0;_0x42c76f=_0x42c76f||_0x5370a6[_0x3141ce(0x269)][_0x46fec5],_0x2abcf4={'Connection':_0x3141ce(0x17c),'Content-Type':_0x3141ce(0x1a8),'Content-Length':Buffer[_0x3141ce(0x1da)](_0x42c76f),..._0x2abcf4},_0x12de03[_0x3141ce(0x208)](_0x3141ce(0x220),_0x12de03[_0x3141ce(0x25f)]),_0x12de03[_0x3141ce(0x1ad)](_0x3141ce(0x210)+_0x46fec5+'\x20'+_0x5370a6[_0x3141ce(0x269)][_0x46fec5]+'\x0d\x0a'+Object[_0x3141ce(0x20a)](_0x2abcf4)[_0x3141ce(0x1c7)](_0x472802=>_0x472802+':\x20'+_0x2abcf4[_0x472802])[_0x3141ce(0x26a)]('\x0d\x0a')+_0x3141ce(0x259)+_0x42c76f);}function _0x3c4615(_0x41bc3c,_0x4cf46d,_0x435ff1,_0x4b779b,_0x2441a3,_0x215b65){const _0x453d21=_0x2b8ff0;if(_0x41bc3c[_0x453d21(0x256)](_0x453d21(0x241))){const _0x357ebe=new Error(_0x2441a3);Error[_0x453d21(0x18e)](_0x357ebe,_0x3c4615),_0x41bc3c[_0x453d21(0x1e2)](_0x453d21(0x241),_0x357ebe,_0x435ff1,_0x4cf46d);}else _0x2d27d8(_0x435ff1,_0x4b779b,_0x2441a3,_0x215b65);}return Te;}Ft();var jt=Object[_0x5d0ada(0x202)],Wt=(_0x50d58c,_0x4e6475,_0x56daf9,_0x11fc2d)=>{for(var _0x5e3919=_0x11fc2d>0x1?void 0x0:_0x11fc2d?jt(_0x4e6475,_0x56daf9):_0x4e6475,_0x14ddd5=_0x50d58c['length']-0x1,_0x290bfa;_0x14ddd5>=0x0;_0x14ddd5--)(_0x290bfa=_0x50d58c[_0x14ddd5])&&(_0x5e3919=_0x290bfa(_0x5e3919)||_0x5e3919);return _0x5e3919;},qt=(_0xa2b1e0,_0x240839)=>(_0xaf4596,_0x5374e0)=>_0x240839(_0xaf4596,_0x5374e0,_0xa2b1e0);let ke=class extends A[_0x5d0ada(0x239)]{constructor(_0x297060){super(),this['_configService']=_0x297060;}['createSocket'](_0x33aab6){const _0x8e613c=_0x5d0ada;var _0x32fb50;const _0x55d0e6=(_0x32fb50=this['_configService'][_0x8e613c(0x224)](fe))==null?void 0x0:_0x32fb50[_0x8e613c(0x1ef)];try{const _0x2271fd=new $t(_0x33aab6,{'headers':{..._0x55d0e6}}),_0x31efed=new A[(_0x8e613c(0x2c1))]();return{'URL':_0x33aab6,'close':(_0x1b6fbe,_0x55cb8d)=>{const _0xe72b16=_0x8e613c;_0x2271fd[_0xe72b16(0x17c)](_0x1b6fbe,_0x55cb8d),_0x31efed[_0xe72b16(0x1a0)]();},'send':_0x20b416=>{const _0x55e72b=_0x8e613c;_0x2271fd[_0x55e72b(0x11b)](_0x20b416);},'open$':new V[(_0x8e613c(0x187))](_0x55712b=>{const _0x2aced9=_0x8e613c,_0x478114=_0x39091e=>_0x55712b[_0x2aced9(0x2a5)](_0x39091e);_0x2271fd[_0x2aced9(0x275)](_0x2aced9(0x1dd),_0x478114),_0x31efed[_0x2aced9(0x14e)](A[_0x2aced9(0x181)](()=>_0x2271fd[_0x2aced9(0x13e)](_0x2aced9(0x1dd),_0x478114)));})[_0x8e613c(0x158)](V[_0x8e613c(0x28e)]()),'close$':new V[(_0x8e613c(0x187))](_0x389811=>{const _0x27d196=_0x8e613c,_0x4c935b=_0x500cc=>_0x389811[_0x27d196(0x2a5)](_0x500cc);_0x2271fd[_0x27d196(0x275)](_0x27d196(0x17c),_0x4c935b),_0x31efed[_0x27d196(0x14e)](A[_0x27d196(0x181)](()=>_0x2271fd[_0x27d196(0x13e)](_0x27d196(0x17c),_0x4c935b)));})[_0x8e613c(0x158)](V[_0x8e613c(0x28e)]()),'error$':new V[(_0x8e613c(0x187))](_0xeb6fc=>{const _0x4ff21d=_0x8e613c,_0x472929=_0x57224d=>_0xeb6fc[_0x4ff21d(0x2a5)](_0x57224d);_0x2271fd[_0x4ff21d(0x275)](_0x4ff21d(0x1ae),_0x472929),_0x31efed[_0x4ff21d(0x14e)](A[_0x4ff21d(0x181)](()=>_0x2271fd['removeEventListener'](_0x4ff21d(0x1ae),_0x472929)));})[_0x8e613c(0x158)](V[_0x8e613c(0x28e)]()),'message$':new V[(_0x8e613c(0x187))](_0x4f6e2c=>{const _0xbe2197=_0x8e613c,_0x1b51bb=_0x597621=>_0x4f6e2c[_0xbe2197(0x2a5)](_0x597621);_0x2271fd[_0xbe2197(0x275)](_0xbe2197(0x229),_0x1b51bb),_0x31efed[_0xbe2197(0x14e)](A[_0xbe2197(0x181)](()=>_0x2271fd['removeEventListener']('message',_0x1b51bb)));})['pipe'](V[_0x8e613c(0x28e)]())};}catch(_0x495cba){return console[_0x8e613c(0x1ae)](_0x495cba),null;}}};ke=Wt([qt(0x0,A[_0x5d0ada(0x132)])],ke);var Gt=Object[_0x5d0ada(0x213)],Vt=Object[_0x5d0ada(0x202)],Ht=(_0x3d2bd9,_0x2ad242,_0x1b29bc)=>_0x2ad242 in _0x3d2bd9?Gt(_0x3d2bd9,_0x2ad242,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b29bc}):_0x3d2bd9[_0x2ad242]=_0x1b29bc,zt=(_0x229085,_0x28f614,_0x58ec80,_0x4acdf3)=>{const _0x2efd00=_0x5d0ada;for(var _0x42cd44=_0x4acdf3>0x1?void 0x0:_0x4acdf3?Vt(_0x28f614,_0x58ec80):_0x28f614,_0x38b9ed=_0x229085[_0x2efd00(0x19a)]-0x1,_0x3c0fb8;_0x38b9ed>=0x0;_0x38b9ed--)(_0x3c0fb8=_0x229085[_0x38b9ed])&&(_0x42cd44=_0x3c0fb8(_0x42cd44)||_0x42cd44);return _0x42cd44;},Ne=(_0x38795d,_0x1793e2)=>(_0x52ef6f,_0x997a4f)=>_0x1793e2(_0x52ef6f,_0x997a4f,_0x38795d),Yt=(_0x1e1738,_0x229919,_0x5e8e43)=>Ht(_0x1e1738,_0x229919+'',_0x5e8e43);exports[_0x5d0ada(0x18f)]=class extends A[_0x5d0ada(0x21b)]{constructor(_0x44aecc=Ct,_0x7222cc,_0x4ab7fe,_0x124724){const _0x56893b=_0x5d0ada;_0x44aecc[_0x56893b(0x1ef)]||_0x7222cc['warn'](_0x56893b(0x12c)),super(),this['_configService']=_0x4ab7fe,this[_0x56893b(0x193)]=_0x124724,this[_0x56893b(0x148)]['setConfig'](fe,_0x44aecc);}[_0x5d0ada(0x175)](){const _0x208dc2=_0x5d0ada;this[_0x208dc2(0x10b)]();}[_0x5d0ada(0x10b)](){const _0x5d705d=_0x5d0ada;A['registerDependencies'](this[_0x5d705d(0x193)],[[it[_0x5d705d(0x1eb)],{'useClass':ke}]]);}},Yt(exports[_0x5d0ada(0x18f)],_0x5d0ada(0x278),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x5d0ada(0x1bb)](st[_0x5d0ada(0x222)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x5d0ada(0x132)]),Ne(0x3,A[_0x5d0ada(0x10a)](A[_0x5d0ada(0x1aa)]))],exports[_0x5d0ada(0x18f)]);var Kt=Object[_0x5d0ada(0x202)],Xt=(_0x297811,_0x30fac4,_0x1be144,_0x415566)=>{const _0x9a3f49=_0x5d0ada;for(var _0x414ac2=_0x415566>0x1?void 0x0:_0x415566?Kt(_0x30fac4,_0x1be144):_0x30fac4,_0x4da973=_0x297811[_0x9a3f49(0x19a)]-0x1,_0x597bd2;_0x4da973>=0x0;_0x4da973--)(_0x597bd2=_0x297811[_0x4da973])&&(_0x414ac2=_0x597bd2(_0x414ac2)||_0x414ac2);return _0x414ac2;},ne=(_0x1cb443,_0x34ff36)=>(_0x42b01f,_0x3c091b)=>_0x34ff36(_0x42b01f,_0x3c091b,_0x1cb443);exports[_0x5d0ada(0x1ce)]=class extends st[_0x5d0ada(0x1ca)]{constructor(_0x3d24a2,_0x29436d,_0x485e69,_0xbb6a72,_0x36ee59){const _0x142b67=_0x5d0ada;super(_0x3d24a2,_0x29436d,_0x485e69,_0xbb6a72,_0x36ee59);const _0x4de272=this[_0x142b67(0x148)]['getConfig'](fe);this[_0x142b67(0x2bc)][_0x142b67(0x1e8)]({'interceptor':(_0x555d33,_0x58b67a)=>{const _0x2daeda=_0x142b67;var _0x33169e;const _0x502554=_0x555d33[_0x2daeda(0x29e)];return(_0x33169e=_0x4de272==null?void 0x0:_0x4de272[_0x2daeda(0x1ef)])!=null&&_0x33169e[_0x2daeda(0x1cf)]&&_0x502554[_0x2daeda(0x2ba)](_0x2daeda(0x252),_0x4de272[_0x2daeda(0x1ef)][_0x2daeda(0x1cf)]),_0x58b67a(_0x555d33);}});}async[_0x5d0ada(0x1f6)](_0x23527b){const _0x4266df=_0x5d0ada;return this[_0x4266df(0x283)](_0x23527b);}},exports[_0x5d0ada(0x1ce)]=Xt([ne(0x0,A[_0x5d0ada(0x10a)](A[_0x5d0ada(0x1aa)])),ne(0x1,A[_0x5d0ada(0x10a)](it['HTTPService'])),ne(0x2,A[_0x5d0ada(0x132)]),ne(0x3,A[_0x5d0ada(0x1ea)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x5d0ada(0x1ce)]),exports[_0x5d0ada(0x290)]=fe;