@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504041607 → 0.6.9-nightly.202504051606

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 _0x1b6638=_0x1ea7;(function(_0x3b4c70,_0x1fa159){const _0x2bb35f=_0x1ea7,_0x10f700=_0x3b4c70();while(!![]){try{const _0x18efdd=-parseInt(_0x2bb35f(0x1d7))/0x1*(-parseInt(_0x2bb35f(0x12d))/0x2)+parseInt(_0x2bb35f(0x241))/0x3+parseInt(_0x2bb35f(0x11c))/0x4+-parseInt(_0x2bb35f(0x254))/0x5*(-parseInt(_0x2bb35f(0x29e))/0x6)+-parseInt(_0x2bb35f(0x2ad))/0x7*(-parseInt(_0x2bb35f(0x242))/0x8)+-parseInt(_0x2bb35f(0x2b8))/0x9*(parseInt(_0x2bb35f(0x150))/0xa)+-parseInt(_0x2bb35f(0x251))/0xb;if(_0x18efdd===_0x1fa159)break;else _0x10f700['push'](_0x10f700['shift']());}catch(_0x5a5943){_0x10f700['push'](_0x10f700['shift']());}}}(_0x2f34,0x73357));Object['defineProperty'](exports,Symbol[_0x1b6638(0x122)],{'value':'Module'});const st=require(_0x1b6638(0x232)),A=require('@univerjs/core'),it=require(_0x1b6638(0x27a)),V=require(_0x1b6638(0x26f)),nt=require('events'),vt=require('https'),ot=require(_0x1b6638(0x1ae)),St=require(_0x1b6638(0x199)),Et=require(_0x1b6638(0x2b1)),Le=require(_0x1b6638(0x219)),oe=require(_0x1b6638(0x221)),xt=require('url'),bt=require(_0x1b6638(0x116)),wt=require(_0x1b6638(0x235)),Ot=require(_0x1b6638(0x18f)),fe=_0x1b6638(0x21a),Ct={'customHeaders':{}};function Tt(_0x56a5be){const _0x383aab=_0x1b6638;return _0x56a5be&&_0x56a5be[_0x383aab(0x153)]&&Object[_0x383aab(0x2c4)]['hasOwnProperty']['call'](_0x56a5be,_0x383aab(0x1cd))?_0x56a5be[_0x383aab(0x1cd)]:_0x56a5be;}function at(_0x215351){const _0x39d647=_0x1b6638;if(Object[_0x39d647(0x2c4)][_0x39d647(0x299)]['call'](_0x215351,_0x39d647(0x153)))return _0x215351;var _0x33ed12=_0x215351['default'];if(typeof _0x33ed12=='function'){var _0x48ae4a=function _0x35a823(){const _0x1e485b=_0x39d647;return this instanceof _0x35a823?Reflect[_0x1e485b(0x1a6)](_0x33ed12,arguments,this['constructor']):_0x33ed12[_0x1e485b(0x226)](this,arguments);};_0x48ae4a[_0x39d647(0x2c4)]=_0x33ed12[_0x39d647(0x2c4)];}else _0x48ae4a={};return Object[_0x39d647(0x126)](_0x48ae4a,_0x39d647(0x153),{'value':!0x0}),Object[_0x39d647(0x130)](_0x215351)[_0x39d647(0x1ad)](function(_0x37456a){const _0x41d740=_0x39d647;var _0x154693=Object['getOwnPropertyDescriptor'](_0x215351,_0x37456a);Object[_0x41d740(0x126)](_0x48ae4a,_0x37456a,_0x154693['get']?_0x154693:{'enumerable':!0x0,'get':function(){return _0x215351[_0x37456a];}});}),_0x48ae4a;}var se={'exports':{}},ge,Ge;function H(){const _0x5f52ea=_0x1b6638;if(Ge)return ge;Ge=0x1;const _0x429c6f=[_0x5f52ea(0x133),'arraybuffer','fragments'],_0x215d05=typeof Blob<'u';return _0x215d05&&_0x429c6f[_0x5f52ea(0x123)](_0x5f52ea(0x2a7)),ge={'BINARY_TYPES':_0x429c6f,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x215d05,'kForOnEventAttribute':Symbol(_0x5f52ea(0x1fb)),'kListener':Symbol(_0x5f52ea(0x2a5)),'kStatusCode':Symbol(_0x5f52ea(0x11d)),'kWebSocket':Symbol(_0x5f52ea(0x15b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1b6638(0x189)](Object[_0x1b6638(0x126)]({'__proto__':null,'default':Nt},Symbol[_0x1b6638(0x122)],{'value':_0x1b6638(0x268)})),Lt=at(kt);function _0x2f34(){const _0x2eef62=['wsClientError','sendFrame','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','File','maxPayload','conclude','cookie','zlibInflateOptions','_originalIpc','uncork','hash','dispatch','_receiver','_read','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','removeListener','Invalid\x20Sec-WebSocket-Accept\x20header','HTTPService','threshold','_registerDependencies','4330gQXwUP','socketPath','unshift','__esModule','isPaused','allocUnsafe','_configService','data','end','kWasClean','kTarget','websocket','onopen','extensions','zlibDeflateOptions','DisposableCollection','message','map','clientTracking','text/plain','send','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','wasClean','WS_ERR_EXPECTED_FIN','followRedirects','_fragmented','kError','_errored','invalid\x20status\x20code\x20','update','auth','includes','_readableState','rsv1','_injector','clientNoContextTakeover','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','MASK\x20must\x20be\x20set','env','handleProtocols','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','username','statusCode','WS_ERR_UNEXPECTED_MASK','_server','WS_ERR_INVALID_OPCODE','server_no_context_takeover','maxRedirects','entries','getInfo','Cookie','Invalid\x20URL:\x20','ws:','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_final','unmask','socket','freeze','_decompress','RSV1\x20must\x20be\x20clear','_compressed','length','call','@univerjs-pro/collaboration','server','location','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_removeListeners','Inject','noServer','replace','listen','Unexpected\x20character\x20at\x20index\x20','net','hostname','Sec-WebSocket-Accept:\x20','writeUInt16BE','toDisposable','_isServer','enqueue','client_max_window_bits','WS_ERR_EXPECTED_MASK','isArray','_bufferedAmount','create','WS_ERR_UNEXPECTED_RSV_1','construct','NodeCollaborationSocketService','share','reason','path','upgrade','_closeTimer','forEach','http','_compress','kAborted','sec-websocket-extensions','_messageLength','headers','test','emitClose','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','endEmitted','_state','jobs','listeners','readyState','setTimeout','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','kRun','pow','encrypted','Invalid\x20Upgrade\x20header','alloc','listening','has','charCodeAt','_skipUTF8Validation','kData','createInflateRaw','password','buffers','_fragments','finishRequest','default','dataMessage','readable','kReason','sec-websocket-origin','invalid\x20opcode\x200','Invalid\x20Sec-WebSocket-Protocol\x20header','_shouldEmitClose','_redirects','FIN\x20must\x20be\x20set','2VkAudi','writeHead','pluginName','Upgrade','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','string','emit','concat','_masked','then','code','Plugin','setConfig','\x22\x20must\x20have\x20only\x20a\x20single\x20value','host','_httpService','sec-websocket-protocol','read','Unexpected\x20end\x20of\x20input','errorEmitted','compress','connection','STATUS_CODES','indexOf','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','parse','_originalHostOrSocketPath','exports','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clients','pending','_writableState','_write','_mask','Injector','_socket','kIsForOnEventAttribute','total-length','defaultPort','_destroy','abort','_closeMessage','_loop','value','base64','finished','byteLength','Server\x20sent\x20no\x20subprotocol','getBlobData','close','customHeaders','WS_ERR_INVALID_UTF8','find','removeEventListener','isBuffer','dispose','WS_ERR_UNEXPECTED_RSV_2_3','_bufferedBytes','size','WS_ERR_INVALID_CLOSE_CODE','ISocketService','ping','The\x20\x22','allowSynchronousEvents','toString','Disposable','crypto','collaboration-client-node.config','request','resume','OPEN','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','species','concurrencyLimit','stream','_firstFragment','error','protocol','_paused','apply','unexpected-response','href','https:','authorized','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','\x0d\x0a\x0d\x0a','origin','byteOffset','_payloadLength','Basic\x20','_queue','@univerjs-pro/collaboration-client','pause','once','buffer','haveLength','The\x20server\x20is\x20not\x20running','perMessageDeflate','_closeFrameSent','getPayloadLength64','shift','registerHTTPInterceptor','Origin','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','write','UniverCollaborationClientNodePlugin','2589261MXKTKt','2976brkLmq','opcode','servername','_autoPong','backlog','CLOSED','consume','onclose','kDone','createServer','Upgrade:\x20websocket','_totalPayloadLength','startLoop','setSocket','method','19819228DALtTc','url','skipUTF8Validation','40NlqOqm','removeAllListeners','wss:','set','captureStackTrace','options','_protocol','Z_DEFAULT_WINDOWBITS','server_max_window_bits','Sec-WebSocket-Extensions','Unsupported\x20protocol\x20version:\x20','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','redirect','slice','arraybuffer','offer','permessage-deflate','destroyed','port','getConfig','Module','_allowSynchronousEvents','sec-websocket-version','pong','flush','mask','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','rxjs','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','split','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x20','generateMask','Invalid\x20Sec-WebSocket-Extensions\x20header','connect','handleEvent','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','@univerjs/network','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','object','verifyClient','toLowerCase','from','_maskBuffer','createError','createConnection','Observable','bind','onerror','ws+unix:','getMask','Invalid\x20WebSocket\x20frame:\x20','ILogService','WS_NO_BUFFER_UTIL','completeUpgrade','Invalid\x20HTTP\x20method','readOnly','\x20(supported\x20versions:\x20','params','isIP','Sec-WebSocket-Protocol','kMessage','arrayBuffer','CollaborationSocketService','response','sec-websocket-key','reset','clientMaxWindowBits','hasOwnProperty','_buffers','bufferedAmount','Max\x20payload\x20size\x20exceeded','_doCreateSocket','149802IGqcTH','pathname','_deflate','setHeader','_closeFrameReceived','Blob','registerDependencies','kListener','binaryType','blob','serverMaxWindowBits','Invalid\x20value\x20for\x20parameter\x20\x22','destroy','open','sha1','7721dsgYyG','_extensions','_maxPayload','_fin','tls','GET','_sender','_inflate','_binaryType','digest','dequeue','3177rdcMjF','protocolVersion','join','extensionName','cleanup','CLOSING','createSocket','Sec-WebSocket-Origin','\x22:\x20','_generateMask','listenerCount','Parameter\x20\x22','prototype','acceptAsClient','_originalSecure','drain','autoPong','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_no_context_takeover','writeUIntBE','_req','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kByteLength','getOwnPropertyDescriptor','_url','invalid\x20opcode\x20','delete','onmessage','add','type','isInteger','_max_window_bits','invalid\x20UTF-8\x20sequence','Unknown\x20parameter\x20\x22','address','addEventListener','acceptAsServer','authorization','CONNECTING','_options','text/html','kType','_readyState','sec-websocket-accept','zlib','next','format','_threshold','pipe','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','175348eqlWdI','status-code','readUInt32BE','fin','_closeCode','nextTick','toStringTag','push','client','cork','defineProperty','_opcode','frame','number','serverNoContextTakeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','function','909516vGQHIp','accept','Connection:\x20Upgrade','keys','shouldHandle','decompress','nodebuffer','_errorEmitted','Opening\x20handshake\x20has\x20timed\x20out','timeout','terminate','target','MASK\x20must\x20be\x20clear','client_no_context_takeover','finish'];_0x2f34=function(){return _0x2eef62;};return _0x2f34();}var Ve;function ce(){const _0x588489=_0x1b6638;if(Ve)return se[_0x588489(0x1f2)];Ve=0x1;const {EMPTY_BUFFER:_0x9fb5b9}=H(),_0x109b21=Buffer[Symbol[_0x588489(0x21f)]];function _0x5b2a95(_0x4ce9e8,_0x38f47e){const _0x279ffc=_0x588489;if(_0x4ce9e8[_0x279ffc(0x18d)]===0x0)return _0x9fb5b9;if(_0x4ce9e8[_0x279ffc(0x18d)]===0x1)return _0x4ce9e8[0x0];const _0x28c933=Buffer[_0x279ffc(0x155)](_0x38f47e);let _0x43dcda=0x0;for(let _0x1fe18c=0x0;_0x1fe18c<_0x4ce9e8[_0x279ffc(0x18d)];_0x1fe18c++){const _0xd04523=_0x4ce9e8[_0x1fe18c];_0x28c933[_0x279ffc(0x257)](_0xd04523,_0x43dcda),_0x43dcda+=_0xd04523[_0x279ffc(0x18d)];}return _0x43dcda<_0x38f47e?new _0x109b21(_0x28c933['buffer'],_0x28c933[_0x279ffc(0x22e)],_0x43dcda):_0x28c933;}function _0x2109d4(_0x80a544,_0x133ec3,_0x4052e1,_0x196b38,_0x5cc20e){for(let _0x313089=0x0;_0x313089<_0x5cc20e;_0x313089++)_0x4052e1[_0x196b38+_0x313089]=_0x80a544[_0x313089]^_0x133ec3[_0x313089&0x3];}function _0x4504f4(_0x1e500a,_0x56a751){const _0xf66323=_0x588489;for(let _0x2aba21=0x0;_0x2aba21<_0x1e500a[_0xf66323(0x18d)];_0x2aba21++)_0x1e500a[_0x2aba21]^=_0x56a751[_0x2aba21&0x3];}function _0x2d6016(_0x256821){const _0x12310e=_0x588489;return _0x256821[_0x12310e(0x18d)]===_0x256821['buffer'][_0x12310e(0x205)]?_0x256821[_0x12310e(0x235)]:_0x256821[_0x12310e(0x235)][_0x12310e(0x261)](_0x256821['byteOffset'],_0x256821[_0x12310e(0x22e)]+_0x256821['length']);}function _0x195c53(_0x230aea){const _0x229668=_0x588489;if(_0x195c53[_0x229668(0x28d)]=!0x0,Buffer[_0x229668(0x20d)](_0x230aea))return _0x230aea;let _0x223acd;return _0x230aea instanceof ArrayBuffer?_0x223acd=new _0x109b21(_0x230aea):ArrayBuffer['isView'](_0x230aea)?_0x223acd=new _0x109b21(_0x230aea[_0x229668(0x235)],_0x230aea[_0x229668(0x22e)],_0x230aea[_0x229668(0x205)]):(_0x223acd=Buffer[_0x229668(0x27f)](_0x230aea),_0x195c53[_0x229668(0x28d)]=!0x1),_0x223acd;}if(se[_0x588489(0x1f2)]={'concat':_0x5b2a95,'mask':_0x2109d4,'toArrayBuffer':_0x2d6016,'toBuffer':_0x195c53,'unmask':_0x4504f4},!process[_0x588489(0x176)][_0x588489(0x28a)])try{const _0x1ea2d9=Lt;se['exports'][_0x588489(0x26d)]=function(_0xf47bab,_0x39240a,_0x1f665e,_0x4fb52f,_0x21bad4){const _0x4a816e=_0x588489;_0x21bad4<0x30?_0x2109d4(_0xf47bab,_0x39240a,_0x1f665e,_0x4fb52f,_0x21bad4):_0x1ea2d9[_0x4a816e(0x26d)](_0xf47bab,_0x39240a,_0x1f665e,_0x4fb52f,_0x21bad4);},se[_0x588489(0x1f2)][_0x588489(0x187)]=function(_0x36a0bd,_0x5c6db3){const _0x22f08f=_0x588489;_0x36a0bd[_0x22f08f(0x18d)]<0x20?_0x4504f4(_0x36a0bd,_0x5c6db3):_0x1ea2d9[_0x22f08f(0x187)](_0x36a0bd,_0x5c6db3);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0xd8de9f=_0x1b6638;if(He)return ye;He=0x1;const _0x2dca43=Symbol(_0xd8de9f(0x24a)),_0x6abfb0=Symbol(_0xd8de9f(0x1be));class _0x4ee5d4{constructor(_0x3450d8){const _0x4b0e5e=_0xd8de9f;this[_0x2dca43]=()=>{const _0x25b528=_0x1ea7;this[_0x25b528(0x1f5)]--,this[_0x6abfb0]();},this['concurrency']=_0x3450d8||0x1/0x0,this[_0x4b0e5e(0x1b9)]=[],this['pending']=0x0;}[_0xd8de9f(0x2d5)](_0x202cc5){const _0x58d723=_0xd8de9f;this[_0x58d723(0x1b9)]['push'](_0x202cc5),this[_0x6abfb0]();}[_0x6abfb0](){const _0x37bab8=_0xd8de9f;if(this[_0x37bab8(0x1f5)]!==this['concurrency']&&this['jobs'][_0x37bab8(0x18d)]){const _0x39c0a8=this[_0x37bab8(0x1b9)][_0x37bab8(0x23b)]();this[_0x37bab8(0x1f5)]++,_0x39c0a8(this[_0x2dca43]);}}}return ye=_0x4ee5d4,ye;}var ve,ze;function he(){const _0x3f16e5=_0x1b6638;if(ze)return ve;ze=0x1;const _0x479b8a=bt,_0x1d6581=ce(),_0x196216=Pt(),{kStatusCode:_0x5c0528}=H(),_0x28f6d1=Buffer[Symbol[_0x3f16e5(0x21f)]],_0x1034d3=Buffer[_0x3f16e5(0x27f)]([0x0,0x0,0xff,0xff]),_0xee4cd8=Symbol(_0x3f16e5(0x264)),_0x5dde74=Symbol(_0x3f16e5(0x1fc)),_0x177631=Symbol('callback'),_0x3d2213=Symbol(_0x3f16e5(0x1ca)),_0x3d2bdd=Symbol('error');let _0x4649b7;class _0x11b72d{constructor(_0x348951,_0x41639b,_0x2fc3fa){const _0x68a9a9=_0x3f16e5;if(this[_0x68a9a9(0x2af)]=_0x2fc3fa|0x0,this[_0x68a9a9(0x2e0)]=_0x348951||{},this[_0x68a9a9(0x119)]=this[_0x68a9a9(0x2e0)][_0x68a9a9(0x14e)]!==void 0x0?this[_0x68a9a9(0x2e0)][_0x68a9a9(0x14e)]:0x400,this[_0x68a9a9(0x19e)]=!!_0x41639b,this[_0x68a9a9(0x2a0)]=null,this[_0x68a9a9(0x2b4)]=null,this[_0x68a9a9(0x28f)]=null,!_0x4649b7){const _0x1df345=this[_0x68a9a9(0x2e0)][_0x68a9a9(0x220)]!==void 0x0?this[_0x68a9a9(0x2e0)][_0x68a9a9(0x220)]:0xa;_0x4649b7=new _0x196216(_0x1df345);}}static get[_0x3f16e5(0x2bb)](){const _0x31d931=_0x3f16e5;return _0x31d931(0x264);}[_0x3f16e5(0x263)](){const _0x37e9e8=_0x3f16e5,_0x3ea2de={};return this[_0x37e9e8(0x2e0)][_0x37e9e8(0x12a)]&&(_0x3ea2de[_0x37e9e8(0x17e)]=!0x0),this[_0x37e9e8(0x2e0)][_0x37e9e8(0x173)]&&(_0x3ea2de[_0x37e9e8(0x13a)]=!0x0),this[_0x37e9e8(0x2e0)][_0x37e9e8(0x2a8)]&&(_0x3ea2de[_0x37e9e8(0x25c)]=this['_options']['serverMaxWindowBits']),this[_0x37e9e8(0x2e0)][_0x37e9e8(0x298)]?_0x3ea2de[_0x37e9e8(0x1a0)]=this[_0x37e9e8(0x2e0)]['clientMaxWindowBits']:this[_0x37e9e8(0x2e0)]['clientMaxWindowBits']==null&&(_0x3ea2de['client_max_window_bits']=!0x0),_0x3ea2de;}['accept'](_0x2d9d94){const _0x4bd8c0=_0x3f16e5;return _0x2d9d94=this['normalizeParams'](_0x2d9d94),this[_0x4bd8c0(0x28f)]=this[_0x4bd8c0(0x19e)]?this[_0x4bd8c0(0x2dd)](_0x2d9d94):this[_0x4bd8c0(0x2c5)](_0x2d9d94),this[_0x4bd8c0(0x28f)];}[_0x3f16e5(0x2bc)](){const _0x29272b=_0x3f16e5;if(this[_0x29272b(0x2b4)]&&(this['_inflate']['close'](),this[_0x29272b(0x2b4)]=null),this[_0x29272b(0x2a0)]){const _0x240d5d=this['_deflate'][_0x177631];this[_0x29272b(0x2a0)]['close'](),this[_0x29272b(0x2a0)]=null,_0x240d5d&&_0x240d5d(new Error(_0x29272b(0x1f3)));}}['acceptAsServer'](_0x44f7be){const _0x5e4d86=_0x3f16e5,_0x4936a9=this['_options'],_0x5b68d8=_0x44f7be[_0x5e4d86(0x20b)](_0x318c07=>!(_0x4936a9['serverNoContextTakeover']===!0x1&&_0x318c07['server_no_context_takeover']||_0x318c07['server_max_window_bits']&&(_0x4936a9[_0x5e4d86(0x2a8)]===!0x1||typeof _0x4936a9[_0x5e4d86(0x2a8)]==_0x5e4d86(0x129)&&_0x4936a9[_0x5e4d86(0x2a8)]>_0x318c07[_0x5e4d86(0x25c)])||typeof _0x4936a9[_0x5e4d86(0x298)]==_0x5e4d86(0x129)&&!_0x318c07[_0x5e4d86(0x1a0)]));if(!_0x5b68d8)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4936a9[_0x5e4d86(0x12a)]&&(_0x5b68d8[_0x5e4d86(0x17e)]=!0x0),_0x4936a9[_0x5e4d86(0x173)]&&(_0x5b68d8[_0x5e4d86(0x13a)]=!0x0),typeof _0x4936a9[_0x5e4d86(0x2a8)]=='number'&&(_0x5b68d8[_0x5e4d86(0x25c)]=_0x4936a9[_0x5e4d86(0x2a8)]),typeof _0x4936a9['clientMaxWindowBits']=='number'?_0x5b68d8[_0x5e4d86(0x1a0)]=_0x4936a9[_0x5e4d86(0x298)]:(_0x5b68d8[_0x5e4d86(0x1a0)]===!0x0||_0x4936a9[_0x5e4d86(0x298)]===!0x1)&&delete _0x5b68d8[_0x5e4d86(0x1a0)],_0x5b68d8;}[_0x3f16e5(0x2c5)](_0x297699){const _0x5712bb=_0x3f16e5,_0x5ad038=_0x297699[0x0];if(this[_0x5712bb(0x2e0)]['clientNoContextTakeover']===!0x1&&_0x5ad038[_0x5712bb(0x13a)])throw new Error(_0x5712bb(0x185));if(!_0x5ad038['client_max_window_bits'])typeof this[_0x5712bb(0x2e0)][_0x5712bb(0x298)]=='number'&&(_0x5ad038['client_max_window_bits']=this[_0x5712bb(0x2e0)][_0x5712bb(0x298)]);else{if(this[_0x5712bb(0x2e0)][_0x5712bb(0x298)]===!0x1||typeof this[_0x5712bb(0x2e0)][_0x5712bb(0x298)]==_0x5712bb(0x129)&&_0x5ad038[_0x5712bb(0x1a0)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x5712bb(0x12b));}return _0x5ad038;}['normalizeParams'](_0x550000){const _0x274323=_0x3f16e5;return _0x550000[_0x274323(0x1ad)](_0x2dd6ec=>{const _0x5e014d=_0x274323;Object[_0x5e014d(0x130)](_0x2dd6ec)[_0x5e014d(0x1ad)](_0x4aaee0=>{const _0x4b7788=_0x5e014d;let _0x21db06=_0x2dd6ec[_0x4aaee0];if(_0x21db06[_0x4b7788(0x18d)]>0x1)throw new Error(_0x4b7788(0x2c3)+_0x4aaee0+_0x4b7788(0x1e4));if(_0x21db06=_0x21db06[0x0],_0x4aaee0===_0x4b7788(0x1a0)){if(_0x21db06!==!0x0){const _0x30ce52=+_0x21db06;if(!Number[_0x4b7788(0x2d7)](_0x30ce52)||_0x30ce52<0x8||_0x30ce52>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4aaee0+_0x4b7788(0x2c0)+_0x21db06);_0x21db06=_0x30ce52;}else{if(!this[_0x4b7788(0x19e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4aaee0+_0x4b7788(0x2c0)+_0x21db06);}}else{if(_0x4aaee0===_0x4b7788(0x25c)){const _0x33342d=+_0x21db06;if(!Number[_0x4b7788(0x2d7)](_0x33342d)||_0x33342d<0x8||_0x33342d>0xf)throw new TypeError(_0x4b7788(0x2a9)+_0x4aaee0+_0x4b7788(0x2c0)+_0x21db06);_0x21db06=_0x33342d;}else{if(_0x4aaee0===_0x4b7788(0x13a)||_0x4aaee0==='server_no_context_takeover'){if(_0x21db06!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4aaee0+_0x4b7788(0x2c0)+_0x21db06);}else throw new Error(_0x4b7788(0x2da)+_0x4aaee0+'\x22');}}_0x2dd6ec[_0x4aaee0]=_0x21db06;});}),_0x550000;}['decompress'](_0x536a70,_0x568355,_0x5acc8f){_0x4649b7['add'](_0x1deef6=>{const _0x1f76e1=_0x1ea7;this[_0x1f76e1(0x18a)](_0x536a70,_0x568355,(_0xeacffc,_0x4c2fe2)=>{_0x1deef6(),_0x5acc8f(_0xeacffc,_0x4c2fe2);});});}[_0x3f16e5(0x1eb)](_0x211e69,_0x14d790,_0x25bb80){_0x4649b7['add'](_0x6c3aa=>{const _0x4e21e4=_0x1ea7;this[_0x4e21e4(0x1af)](_0x211e69,_0x14d790,(_0x347801,_0x2c7eaf)=>{_0x6c3aa(),_0x25bb80(_0x347801,_0x2c7eaf);});});}[_0x3f16e5(0x18a)](_0x54e8dd,_0x412082,_0x13e039){const _0xd08dfe=_0x3f16e5,_0x3fc468=this[_0xd08dfe(0x19e)]?_0xd08dfe(0x124):_0xd08dfe(0x190);if(!this[_0xd08dfe(0x2b4)]){const _0x1a9606=_0x3fc468+'_max_window_bits',_0x2c9d1c=typeof this[_0xd08dfe(0x28f)][_0x1a9606]!=_0xd08dfe(0x129)?_0x479b8a[_0xd08dfe(0x25b)]:this['params'][_0x1a9606];this[_0xd08dfe(0x2b4)]=_0x479b8a[_0xd08dfe(0x1c8)]({...this[_0xd08dfe(0x2e0)][_0xd08dfe(0x143)],'windowBits':_0x2c9d1c}),this[_0xd08dfe(0x2b4)][_0xee4cd8]=this,this[_0xd08dfe(0x2b4)][_0x5dde74]=0x0,this['_inflate'][_0x3d2213]=[],this[_0xd08dfe(0x2b4)]['on'](_0xd08dfe(0x223),_0x547437),this['_inflate']['on'](_0xd08dfe(0x157),_0x3d1895);}this[_0xd08dfe(0x2b4)][_0x177631]=_0x13e039,this[_0xd08dfe(0x2b4)][_0xd08dfe(0x23f)](_0x54e8dd),_0x412082&&this[_0xd08dfe(0x2b4)][_0xd08dfe(0x23f)](_0x1034d3),this[_0xd08dfe(0x2b4)][_0xd08dfe(0x26c)](()=>{const _0x28376f=_0xd08dfe,_0x295a3b=this[_0x28376f(0x2b4)][_0x3d2bdd];if(_0x295a3b){this[_0x28376f(0x2b4)][_0x28376f(0x208)](),this[_0x28376f(0x2b4)]=null,_0x13e039(_0x295a3b);return;}const _0x2a8ed7=_0x1d6581[_0x28376f(0x1de)](this[_0x28376f(0x2b4)][_0x3d2213],this['_inflate'][_0x5dde74]);this[_0x28376f(0x2b4)][_0x28376f(0x170)][_0x28376f(0x1b7)]?(this[_0x28376f(0x2b4)][_0x28376f(0x208)](),this[_0x28376f(0x2b4)]=null):(this['_inflate'][_0x5dde74]=0x0,this[_0x28376f(0x2b4)][_0x3d2213]=[],_0x412082&&this[_0x28376f(0x28f)][_0x3fc468+_0x28376f(0x2ca)]&&this[_0x28376f(0x2b4)][_0x28376f(0x297)]()),_0x13e039(null,_0x2a8ed7);});}['_compress'](_0x3eceaf,_0xd8a101,_0x1c37e8){const _0x5661f6=_0x3f16e5,_0x4707ef=this[_0x5661f6(0x19e)]?_0x5661f6(0x190):_0x5661f6(0x124);if(!this[_0x5661f6(0x2a0)]){const _0x123357=_0x4707ef+_0x5661f6(0x2d8),_0x1f9ec4=typeof this[_0x5661f6(0x28f)][_0x123357]!=_0x5661f6(0x129)?_0x479b8a[_0x5661f6(0x25b)]:this[_0x5661f6(0x28f)][_0x123357];this[_0x5661f6(0x2a0)]=_0x479b8a['createDeflateRaw']({...this[_0x5661f6(0x2e0)][_0x5661f6(0x15e)],'windowBits':_0x1f9ec4}),this[_0x5661f6(0x2a0)][_0x5dde74]=0x0,this[_0x5661f6(0x2a0)][_0x3d2213]=[],this[_0x5661f6(0x2a0)]['on'](_0x5661f6(0x157),_0x3d088a);}this[_0x5661f6(0x2a0)][_0x177631]=_0x1c37e8,this[_0x5661f6(0x2a0)][_0x5661f6(0x23f)](_0x3eceaf),this[_0x5661f6(0x2a0)]['flush'](_0x479b8a['Z_SYNC_FLUSH'],()=>{const _0x107bf3=_0x5661f6;if(!this[_0x107bf3(0x2a0)])return;let _0x16f7c2=_0x1d6581[_0x107bf3(0x1de)](this[_0x107bf3(0x2a0)][_0x3d2213],this[_0x107bf3(0x2a0)][_0x5dde74]);_0xd8a101&&(_0x16f7c2=new _0x28f6d1(_0x16f7c2[_0x107bf3(0x235)],_0x16f7c2[_0x107bf3(0x22e)],_0x16f7c2[_0x107bf3(0x18d)]-0x4)),this[_0x107bf3(0x2a0)][_0x177631]=null,this[_0x107bf3(0x2a0)][_0x5dde74]=0x0,this[_0x107bf3(0x2a0)][_0x3d2213]=[],_0xd8a101&&this['params'][_0x4707ef+_0x107bf3(0x2ca)]&&this[_0x107bf3(0x2a0)][_0x107bf3(0x297)](),_0x1c37e8(null,_0x16f7c2);});}}ve=_0x11b72d;function _0x3d088a(_0x409c28){const _0x37d363=_0x3f16e5;this[_0x3d2213][_0x37d363(0x123)](_0x409c28),this[_0x5dde74]+=_0x409c28[_0x37d363(0x18d)];}function _0x3d1895(_0xf4f583){const _0x37915b=_0x3f16e5;if(this[_0x5dde74]+=_0xf4f583[_0x37915b(0x18d)],this[_0xee4cd8][_0x37915b(0x2af)]<0x1||this[_0x5dde74]<=this[_0xee4cd8][_0x37915b(0x2af)]){this[_0x3d2213][_0x37915b(0x123)](_0xf4f583);return;}this[_0x3d2bdd]=new RangeError(_0x37915b(0x29c)),this[_0x3d2bdd][_0x37915b(0x1e1)]=_0x37915b(0x1bd),this[_0x3d2bdd][_0x5c0528]=0x3f1,this[_0x37915b(0x14b)](_0x37915b(0x157),_0x3d1895),this[_0x37915b(0x297)]();}function _0x547437(_0x4572d4){const _0x75a1b7=_0x3f16e5;this[_0xee4cd8][_0x75a1b7(0x2b4)]=null,_0x4572d4[_0x5c0528]=0x3ef,this[_0x177631](_0x4572d4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1b6638(0x189)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x1b6638(0x122)],{'value':_0x1b6638(0x268)})),Bt=at(Rt);var Ye;function ae(){const _0x4dd682=_0x1b6638;if(Ye)return ie[_0x4dd682(0x1f2)];Ye=0x1;const {isUtf8:_0x5bf4c6}=wt,{hasBlob:_0x199c1c}=H(),_0x1af9be=[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 _0x4dce44(_0x109137){return _0x109137>=0x3e8&&_0x109137<=0x3f6&&_0x109137!==0x3ec&&_0x109137!==0x3ed&&_0x109137!==0x3ee||_0x109137>=0xbb8&&_0x109137<=0x1387;}function _0x2b9acb(_0x348d47){const _0xadd910=_0x4dd682,_0x568328=_0x348d47[_0xadd910(0x18d)];let _0x1154fe=0x0;for(;_0x1154fe<_0x568328;)if((_0x348d47[_0x1154fe]&0x80)===0x0)_0x1154fe++;else{if((_0x348d47[_0x1154fe]&0xe0)===0xc0){if(_0x1154fe+0x1===_0x568328||(_0x348d47[_0x1154fe+0x1]&0xc0)!==0x80||(_0x348d47[_0x1154fe]&0xfe)===0xc0)return!0x1;_0x1154fe+=0x2;}else{if((_0x348d47[_0x1154fe]&0xf0)===0xe0){if(_0x1154fe+0x2>=_0x568328||(_0x348d47[_0x1154fe+0x1]&0xc0)!==0x80||(_0x348d47[_0x1154fe+0x2]&0xc0)!==0x80||_0x348d47[_0x1154fe]===0xe0&&(_0x348d47[_0x1154fe+0x1]&0xe0)===0x80||_0x348d47[_0x1154fe]===0xed&&(_0x348d47[_0x1154fe+0x1]&0xe0)===0xa0)return!0x1;_0x1154fe+=0x3;}else{if((_0x348d47[_0x1154fe]&0xf8)===0xf0){if(_0x1154fe+0x3>=_0x568328||(_0x348d47[_0x1154fe+0x1]&0xc0)!==0x80||(_0x348d47[_0x1154fe+0x2]&0xc0)!==0x80||(_0x348d47[_0x1154fe+0x3]&0xc0)!==0x80||_0x348d47[_0x1154fe]===0xf0&&(_0x348d47[_0x1154fe+0x1]&0xf0)===0x80||_0x348d47[_0x1154fe]===0xf4&&_0x348d47[_0x1154fe+0x1]>0x8f||_0x348d47[_0x1154fe]>0xf4)return!0x1;_0x1154fe+=0x4;}else return!0x1;}}}return!0x0;}function _0x23584e(_0x36b96e){const _0x1aa9d6=_0x4dd682;return _0x199c1c&&typeof _0x36b96e==_0x1aa9d6(0x27c)&&typeof _0x36b96e[_0x1aa9d6(0x293)]=='function'&&typeof _0x36b96e[_0x1aa9d6(0x2d6)]=='string'&&typeof _0x36b96e[_0x1aa9d6(0x221)]==_0x1aa9d6(0x12c)&&(_0x36b96e[Symbol[_0x1aa9d6(0x122)]]===_0x1aa9d6(0x2a3)||_0x36b96e[Symbol['toStringTag']]===_0x1aa9d6(0x13f));}if(ie[_0x4dd682(0x1f2)]={'isBlob':_0x23584e,'isValidStatusCode':_0x4dce44,'isValidUTF8':_0x2b9acb,'tokenChars':_0x1af9be},_0x5bf4c6)ie[_0x4dd682(0x1f2)]['isValidUTF8']=function(_0x55e29a){const _0x40bb2f=_0x4dd682;return _0x55e29a[_0x40bb2f(0x18d)]<0x18?_0x2b9acb(_0x55e29a):_0x5bf4c6(_0x55e29a);};else{if(!process[_0x4dd682(0x176)]['WS_NO_UTF_8_VALIDATE'])try{const _0x82a91c=Bt;ie['exports']['isValidUTF8']=function(_0x2e5f7d){return _0x2e5f7d['length']<0x20?_0x2b9acb(_0x2e5f7d):_0x82a91c(_0x2e5f7d);};}catch{}}return ie[_0x4dd682(0x1f2)];}var Se,Ke;function lt(){const _0x5b2f67=_0x1b6638;if(Ke)return Se;Ke=0x1;const {Writable:_0x898133}=oe,_0x2c200f=he(),{BINARY_TYPES:_0x4f66c8,EMPTY_BUFFER:_0x557cbc,kStatusCode:_0x5d3785,kWebSocket:_0x56c475}=H(),{concat:_0x1e8147,toArrayBuffer:_0x785f16,unmask:_0x1d7f27}=ce(),{isValidStatusCode:_0x24b017,isValidUTF8:_0x3863ab}=ae(),_0xe9628a=Buffer[Symbol[_0x5b2f67(0x21f)]],_0x5427d1=0x0,_0x20578b=0x1,_0x39e8a6=0x2,_0x3834a9=0x3,_0x350837=0x4,_0x4190c2=0x5,_0x1a691c=0x6;class _0x594c82 extends _0x898133{constructor(_0x576e18={}){const _0x4756c7=_0x5b2f67;super(),this['_allowSynchronousEvents']=_0x576e18[_0x4756c7(0x216)]!==void 0x0?_0x576e18[_0x4756c7(0x216)]:!0x0,this[_0x4756c7(0x2b5)]=_0x576e18[_0x4756c7(0x2a6)]||_0x4f66c8[0x0],this['_extensions']=_0x576e18[_0x4756c7(0x15d)]||{},this['_isServer']=!!_0x576e18['isServer'],this[_0x4756c7(0x2af)]=_0x576e18['maxPayload']|0x0,this[_0x4756c7(0x1c6)]=!!_0x576e18[_0x4756c7(0x253)],this[_0x56c475]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4756c7(0x29a)]=[],this[_0x4756c7(0x18c)]=!0x1,this[_0x4756c7(0x22f)]=0x0,this[_0x4756c7(0x1f8)]=void 0x0,this[_0x4756c7(0x169)]=0x0,this[_0x4756c7(0x1df)]=!0x1,this[_0x4756c7(0x2b0)]=!0x1,this[_0x4756c7(0x127)]=0x0,this[_0x4756c7(0x24d)]=0x0,this[_0x4756c7(0x1b2)]=0x0,this[_0x4756c7(0x1cb)]=[],this[_0x4756c7(0x16b)]=!0x1,this[_0x4756c7(0x201)]=!0x1,this[_0x4756c7(0x1b8)]=_0x5427d1;}[_0x5b2f67(0x1f7)](_0x1ad085,_0x229589,_0x4067ba){const _0x3fd8d2=_0x5b2f67;if(this[_0x3fd8d2(0x127)]===0x8&&this['_state']==_0x5427d1)return _0x4067ba();this[_0x3fd8d2(0x210)]+=_0x1ad085[_0x3fd8d2(0x18d)],this['_buffers'][_0x3fd8d2(0x123)](_0x1ad085),this[_0x3fd8d2(0x24e)](_0x4067ba);}[_0x5b2f67(0x248)](_0x3fa71d){const _0x572496=_0x5b2f67;if(this[_0x572496(0x210)]-=_0x3fa71d,_0x3fa71d===this[_0x572496(0x29a)][0x0]['length'])return this['_buffers']['shift']();if(_0x3fa71d<this[_0x572496(0x29a)][0x0][_0x572496(0x18d)]){const _0x3b367f=this[_0x572496(0x29a)][0x0];return this[_0x572496(0x29a)][0x0]=new _0xe9628a(_0x3b367f[_0x572496(0x235)],_0x3b367f[_0x572496(0x22e)]+_0x3fa71d,_0x3b367f[_0x572496(0x18d)]-_0x3fa71d),new _0xe9628a(_0x3b367f[_0x572496(0x235)],_0x3b367f[_0x572496(0x22e)],_0x3fa71d);}const _0xf72e54=Buffer[_0x572496(0x155)](_0x3fa71d);do{const _0x10c6a8=this[_0x572496(0x29a)][0x0],_0x463617=_0xf72e54[_0x572496(0x18d)]-_0x3fa71d;_0x3fa71d>=_0x10c6a8[_0x572496(0x18d)]?_0xf72e54[_0x572496(0x257)](this[_0x572496(0x29a)][_0x572496(0x23b)](),_0x463617):(_0xf72e54[_0x572496(0x257)](new Uint8Array(_0x10c6a8[_0x572496(0x235)],_0x10c6a8[_0x572496(0x22e)],_0x3fa71d),_0x463617),this[_0x572496(0x29a)][0x0]=new _0xe9628a(_0x10c6a8[_0x572496(0x235)],_0x10c6a8['byteOffset']+_0x3fa71d,_0x10c6a8['length']-_0x3fa71d)),_0x3fa71d-=_0x10c6a8['length'];}while(_0x3fa71d>0x0);return _0xf72e54;}['startLoop'](_0x309bb6){const _0x26b8e2=_0x5b2f67;this[_0x26b8e2(0x201)]=!0x0;do switch(this[_0x26b8e2(0x1b8)]){case _0x5427d1:this[_0x26b8e2(0x181)](_0x309bb6);break;case _0x20578b:this['getPayloadLength16'](_0x309bb6);break;case _0x39e8a6:this[_0x26b8e2(0x23a)](_0x309bb6);break;case _0x3834a9:this[_0x26b8e2(0x287)]();break;case _0x350837:this['getData'](_0x309bb6);break;case _0x4190c2:case _0x1a691c:this[_0x26b8e2(0x201)]=!0x1;return;}while(this[_0x26b8e2(0x201)]);this['_errored']||_0x309bb6();}[_0x5b2f67(0x181)](_0x422019){const _0x45830f=_0x5b2f67;if(this[_0x45830f(0x210)]<0x2){this['_loop']=!0x1;return;}const _0x221f0b=this[_0x45830f(0x248)](0x2);if((_0x221f0b[0x0]&0x30)!==0x0){const _0x4fa28a=this['createError'](RangeError,_0x45830f(0x271),!0x0,0x3ea,_0x45830f(0x20f));_0x422019(_0x4fa28a);return;}const _0x539fdf=(_0x221f0b[0x0]&0x40)===0x40;if(_0x539fdf&&!this[_0x45830f(0x2ae)][_0x2c200f['extensionName']]){const _0x9adb35=this[_0x45830f(0x281)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x45830f(0x1a5));_0x422019(_0x9adb35);return;}if(this[_0x45830f(0x2b0)]=(_0x221f0b[0x0]&0x80)===0x80,this[_0x45830f(0x127)]=_0x221f0b[0x0]&0xf,this[_0x45830f(0x22f)]=_0x221f0b[0x1]&0x7f,this[_0x45830f(0x127)]===0x0){if(_0x539fdf){const _0x34d81a=this['createError'](RangeError,_0x45830f(0x18b),!0x0,0x3ea,_0x45830f(0x1a5));_0x422019(_0x34d81a);return;}if(!this[_0x45830f(0x169)]){const _0x3d2d5d=this[_0x45830f(0x281)](RangeError,_0x45830f(0x1d2),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x422019(_0x3d2d5d);return;}this['_opcode']=this[_0x45830f(0x169)];}else{if(this[_0x45830f(0x127)]===0x1||this['_opcode']===0x2){if(this[_0x45830f(0x169)]){const _0x267ab4=this[_0x45830f(0x281)](RangeError,_0x45830f(0x2d2)+this[_0x45830f(0x127)],!0x0,0x3ea,_0x45830f(0x17d));_0x422019(_0x267ab4);return;}this[_0x45830f(0x18c)]=_0x539fdf;}else{if(this[_0x45830f(0x127)]>0x7&&this[_0x45830f(0x127)]<0xb){if(!this[_0x45830f(0x2b0)]){const _0x5de74a=this[_0x45830f(0x281)](RangeError,_0x45830f(0x1d6),!0x0,0x3ea,_0x45830f(0x167));_0x422019(_0x5de74a);return;}if(_0x539fdf){const _0x53e57b=this[_0x45830f(0x281)](RangeError,_0x45830f(0x18b),!0x0,0x3ea,_0x45830f(0x1a5));_0x422019(_0x53e57b);return;}if(this[_0x45830f(0x22f)]>0x7d||this[_0x45830f(0x127)]===0x8&&this['_payloadLength']===0x1){const _0x1a3a22=this[_0x45830f(0x281)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x45830f(0x22f)],!0x0,0x3ea,_0x45830f(0x25f));_0x422019(_0x1a3a22);return;}}else{const _0x15002a=this[_0x45830f(0x281)](RangeError,_0x45830f(0x2d2)+this[_0x45830f(0x127)],!0x0,0x3ea,_0x45830f(0x17d));_0x422019(_0x15002a);return;}}}if(!this[_0x45830f(0x2b0)]&&!this[_0x45830f(0x169)]&&(this[_0x45830f(0x169)]=this[_0x45830f(0x127)]),this[_0x45830f(0x1df)]=(_0x221f0b[0x1]&0x80)===0x80,this[_0x45830f(0x19e)]){if(!this[_0x45830f(0x1df)]){const _0x327a90=this['createError'](RangeError,_0x45830f(0x175),!0x0,0x3ea,_0x45830f(0x1a1));_0x422019(_0x327a90);return;}}else{if(this[_0x45830f(0x1df)]){const _0x1b4156=this[_0x45830f(0x281)](RangeError,_0x45830f(0x139),!0x0,0x3ea,_0x45830f(0x17b));_0x422019(_0x1b4156);return;}}this[_0x45830f(0x22f)]===0x7e?this[_0x45830f(0x1b8)]=_0x20578b:this[_0x45830f(0x22f)]===0x7f?this[_0x45830f(0x1b8)]=_0x39e8a6:this['haveLength'](_0x422019);}['getPayloadLength16'](_0x47ffda){const _0x24f584=_0x5b2f67;if(this[_0x24f584(0x210)]<0x2){this[_0x24f584(0x201)]=!0x1;return;}this['_payloadLength']=this[_0x24f584(0x248)](0x2)['readUInt16BE'](0x0),this[_0x24f584(0x236)](_0x47ffda);}[_0x5b2f67(0x23a)](_0xbd6672){const _0xfcf10b=_0x5b2f67;if(this[_0xfcf10b(0x210)]<0x8){this[_0xfcf10b(0x201)]=!0x1;return;}const _0x4ee5cf=this[_0xfcf10b(0x248)](0x8),_0x1e8897=_0x4ee5cf['readUInt32BE'](0x0);if(_0x1e8897>Math[_0xfcf10b(0x1bf)](0x2,0x15)-0x1){const _0xb9109=this[_0xfcf10b(0x281)](RangeError,_0xfcf10b(0x279),!0x1,0x3f1,_0xfcf10b(0x1ef));_0xbd6672(_0xb9109);return;}this['_payloadLength']=_0x1e8897*Math['pow'](0x2,0x20)+_0x4ee5cf[_0xfcf10b(0x11e)](0x4),this[_0xfcf10b(0x236)](_0xbd6672);}['haveLength'](_0x3ebf3a){const _0xacd968=_0x5b2f67;if(this[_0xacd968(0x22f)]&&this[_0xacd968(0x127)]<0x8&&(this[_0xacd968(0x24d)]+=this[_0xacd968(0x22f)],this[_0xacd968(0x24d)]>this[_0xacd968(0x2af)]&&this[_0xacd968(0x2af)]>0x0)){const _0x57ca4f=this[_0xacd968(0x281)](RangeError,_0xacd968(0x29c),!0x1,0x3f1,_0xacd968(0x1bd));_0x3ebf3a(_0x57ca4f);return;}this[_0xacd968(0x1df)]?this[_0xacd968(0x1b8)]=_0x3834a9:this[_0xacd968(0x1b8)]=_0x350837;}[_0x5b2f67(0x287)](){const _0x44bf55=_0x5b2f67;if(this[_0x44bf55(0x210)]<0x4){this[_0x44bf55(0x201)]=!0x1;return;}this[_0x44bf55(0x1f8)]=this['consume'](0x4),this[_0x44bf55(0x1b8)]=_0x350837;}['getData'](_0x642830){const _0x19d8bd=_0x5b2f67;let _0x31cbc9=_0x557cbc;if(this[_0x19d8bd(0x22f)]){if(this[_0x19d8bd(0x210)]<this[_0x19d8bd(0x22f)]){this[_0x19d8bd(0x201)]=!0x1;return;}_0x31cbc9=this[_0x19d8bd(0x248)](this[_0x19d8bd(0x22f)]),this[_0x19d8bd(0x1df)]&&(this['_mask'][0x0]|this[_0x19d8bd(0x1f8)][0x1]|this[_0x19d8bd(0x1f8)][0x2]|this['_mask'][0x3])!==0x0&&_0x1d7f27(_0x31cbc9,this[_0x19d8bd(0x1f8)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x31cbc9,_0x642830);return;}if(this[_0x19d8bd(0x18c)]){this[_0x19d8bd(0x1b8)]=_0x4190c2,this[_0x19d8bd(0x132)](_0x31cbc9,_0x642830);return;}_0x31cbc9[_0x19d8bd(0x18d)]&&(this[_0x19d8bd(0x1b2)]=this[_0x19d8bd(0x24d)],this[_0x19d8bd(0x1cb)]['push'](_0x31cbc9)),this[_0x19d8bd(0x1ce)](_0x642830);}[_0x5b2f67(0x132)](_0x3f2f70,_0x14af19){const _0x131481=_0x5b2f67;this[_0x131481(0x2ae)][_0x2c200f[_0x131481(0x2bb)]]['decompress'](_0x3f2f70,this[_0x131481(0x2b0)],(_0x32fef0,_0x25ead1)=>{const _0x556c3d=_0x131481;if(_0x32fef0)return _0x14af19(_0x32fef0);if(_0x25ead1['length']){if(this[_0x556c3d(0x1b2)]+=_0x25ead1[_0x556c3d(0x18d)],this['_messageLength']>this[_0x556c3d(0x2af)]&&this[_0x556c3d(0x2af)]>0x0){const _0x4b5757=this[_0x556c3d(0x281)](RangeError,_0x556c3d(0x29c),!0x1,0x3f1,_0x556c3d(0x1bd));_0x14af19(_0x4b5757);return;}this[_0x556c3d(0x1cb)][_0x556c3d(0x123)](_0x25ead1);}this[_0x556c3d(0x1ce)](_0x14af19),this[_0x556c3d(0x1b8)]===_0x5427d1&&this[_0x556c3d(0x24e)](_0x14af19);});}[_0x5b2f67(0x1ce)](_0x286eb5){const _0x596b09=_0x5b2f67;if(!this[_0x596b09(0x2b0)]){this['_state']=_0x5427d1;return;}const _0x48257f=this[_0x596b09(0x1b2)],_0x3517c3=this[_0x596b09(0x1cb)];if(this['_totalPayloadLength']=0x0,this[_0x596b09(0x1b2)]=0x0,this[_0x596b09(0x169)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x33658e;this[_0x596b09(0x2b5)]===_0x596b09(0x133)?_0x33658e=_0x1e8147(_0x3517c3,_0x48257f):this[_0x596b09(0x2b5)]===_0x596b09(0x262)?_0x33658e=_0x785f16(_0x1e8147(_0x3517c3,_0x48257f)):this[_0x596b09(0x2b5)]==='blob'?_0x33658e=new Blob(_0x3517c3):_0x33658e=_0x3517c3,this[_0x596b09(0x269)]?(this[_0x596b09(0x1dd)](_0x596b09(0x160),_0x33658e,!0x0),this[_0x596b09(0x1b8)]=_0x5427d1):(this[_0x596b09(0x1b8)]=_0x1a691c,setImmediate(()=>{const _0x53c1b8=_0x596b09;this['emit'](_0x53c1b8(0x160),_0x33658e,!0x0),this[_0x53c1b8(0x1b8)]=_0x5427d1,this[_0x53c1b8(0x24e)](_0x286eb5);}));}else{const _0x16107f=_0x1e8147(_0x3517c3,_0x48257f);if(!this[_0x596b09(0x1c6)]&&!_0x3863ab(_0x16107f)){const _0x1c4393=this['createError'](Error,_0x596b09(0x2d9),!0x0,0x3ef,_0x596b09(0x20a));_0x286eb5(_0x1c4393);return;}this[_0x596b09(0x1b8)]===_0x4190c2||this['_allowSynchronousEvents']?(this['emit'](_0x596b09(0x160),_0x16107f,!0x1),this['_state']=_0x5427d1):(this['_state']=_0x1a691c,setImmediate(()=>{const _0x416a47=_0x596b09;this[_0x416a47(0x1dd)](_0x416a47(0x160),_0x16107f,!0x1),this[_0x416a47(0x1b8)]=_0x5427d1,this['startLoop'](_0x286eb5);}));}}['controlMessage'](_0x1c62e9,_0xa0591e){const _0x297a54=_0x5b2f67;if(this[_0x297a54(0x127)]===0x8){if(_0x1c62e9[_0x297a54(0x18d)]===0x0)this['_loop']=!0x1,this['emit'](_0x297a54(0x141),0x3ed,_0x557cbc),this[_0x297a54(0x158)]();else{const _0x3e5a2d=_0x1c62e9['readUInt16BE'](0x0);if(!_0x24b017(_0x3e5a2d)){const _0x54bb66=this['createError'](RangeError,_0x297a54(0x16c)+_0x3e5a2d,!0x0,0x3ea,_0x297a54(0x212));_0xa0591e(_0x54bb66);return;}const _0x137dab=new _0xe9628a(_0x1c62e9['buffer'],_0x1c62e9[_0x297a54(0x22e)]+0x2,_0x1c62e9[_0x297a54(0x18d)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3863ab(_0x137dab)){const _0x5563b9=this[_0x297a54(0x281)](Error,_0x297a54(0x2d9),!0x0,0x3ef,_0x297a54(0x20a));_0xa0591e(_0x5563b9);return;}this[_0x297a54(0x201)]=!0x1,this[_0x297a54(0x1dd)](_0x297a54(0x141),_0x3e5a2d,_0x137dab),this[_0x297a54(0x158)]();}this[_0x297a54(0x1b8)]=_0x5427d1;return;}this[_0x297a54(0x269)]?(this['emit'](this['_opcode']===0x9?_0x297a54(0x214):_0x297a54(0x26b),_0x1c62e9),this['_state']=_0x5427d1):(this['_state']=_0x1a691c,setImmediate(()=>{const _0x5913f0=_0x297a54;this[_0x5913f0(0x1dd)](this[_0x5913f0(0x127)]===0x9?'ping':_0x5913f0(0x26b),_0x1c62e9),this['_state']=_0x5427d1,this['startLoop'](_0xa0591e);}));}[_0x5b2f67(0x281)](_0x34eea9,_0x12dd7e,_0x3b259b,_0x4211d7,_0x34b600){const _0x41e7bf=_0x5b2f67;this[_0x41e7bf(0x201)]=!0x1,this[_0x41e7bf(0x16b)]=!0x0;const _0x238fde=new _0x34eea9(_0x3b259b?_0x41e7bf(0x288)+_0x12dd7e:_0x12dd7e);return Error[_0x41e7bf(0x258)](_0x238fde,this['createError']),_0x238fde['code']=_0x34b600,_0x238fde[_0x5d3785]=_0x4211d7,_0x238fde;}}return Se=_0x594c82,Se;}var Ee,Xe;function ft(){const _0x548094=_0x1b6638;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x59ec01}=oe,{randomFillSync:_0x24a329}=Le,_0x1375b3=he(),{EMPTY_BUFFER:_0x4788bd,kWebSocket:_0x4772b3,NOOP:_0x5f2b41}=H(),{isBlob:_0x2405d9,isValidStatusCode:_0x5ef8e5}=ae(),{mask:_0x281231,toBuffer:_0xd0f6a7}=ce(),_0x1e8102=Symbol(_0x548094(0x2cf)),_0x235d54=Buffer['alloc'](0x4),_0x388b24=0x8*0x400;let _0x13be8e,_0x547bcb=_0x388b24;const _0x487eb9=0x0,_0x2bdc95=0x1,_0x347e38=0x2;class _0x4d0641{constructor(_0x259532,_0x350a93,_0x223430){const _0x536925=_0x548094;this[_0x536925(0x2ae)]=_0x350a93||{},_0x223430&&(this[_0x536925(0x2c1)]=_0x223430,this[_0x536925(0x280)]=Buffer[_0x536925(0x1c2)](0x4)),this[_0x536925(0x1fa)]=_0x259532,this['_firstFragment']=!0x0,this[_0x536925(0x1af)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x536925(0x1b8)]=_0x487eb9,this[_0x536925(0x285)]=_0x5f2b41,this[_0x4772b3]=void 0x0;}static['frame'](_0x27a806,_0x1ce2cd){const _0x236121=_0x548094;let _0x181dd9,_0x1ceb33=!0x1,_0x5e8482=0x2,_0x4de3a0=!0x1;_0x1ce2cd[_0x236121(0x26d)]&&(_0x181dd9=_0x1ce2cd['maskBuffer']||_0x235d54,_0x1ce2cd[_0x236121(0x275)]?_0x1ce2cd['generateMask'](_0x181dd9):(_0x547bcb===_0x388b24&&(_0x13be8e===void 0x0&&(_0x13be8e=Buffer[_0x236121(0x1c2)](_0x388b24)),_0x24a329(_0x13be8e,0x0,_0x388b24),_0x547bcb=0x0),_0x181dd9[0x0]=_0x13be8e[_0x547bcb++],_0x181dd9[0x1]=_0x13be8e[_0x547bcb++],_0x181dd9[0x2]=_0x13be8e[_0x547bcb++],_0x181dd9[0x3]=_0x13be8e[_0x547bcb++]),_0x4de3a0=(_0x181dd9[0x0]|_0x181dd9[0x1]|_0x181dd9[0x2]|_0x181dd9[0x3])===0x0,_0x5e8482=0x6);let _0x4d8f50;typeof _0x27a806=='string'?(!_0x1ce2cd[_0x236121(0x26d)]||_0x4de3a0)&&_0x1ce2cd[_0x1e8102]!==void 0x0?_0x4d8f50=_0x1ce2cd[_0x1e8102]:(_0x27a806=Buffer[_0x236121(0x27f)](_0x27a806),_0x4d8f50=_0x27a806[_0x236121(0x18d)]):(_0x4d8f50=_0x27a806[_0x236121(0x18d)],_0x1ceb33=_0x1ce2cd['mask']&&_0x1ce2cd[_0x236121(0x28d)]&&!_0x4de3a0);let _0x1de2da=_0x4d8f50;_0x4d8f50>=0x10000?(_0x5e8482+=0x8,_0x1de2da=0x7f):_0x4d8f50>0x7d&&(_0x5e8482+=0x2,_0x1de2da=0x7e);const _0x162bd1=Buffer[_0x236121(0x155)](_0x1ceb33?_0x4d8f50+_0x5e8482:_0x5e8482);return _0x162bd1[0x0]=_0x1ce2cd[_0x236121(0x11f)]?_0x1ce2cd[_0x236121(0x243)]|0x80:_0x1ce2cd['opcode'],_0x1ce2cd[_0x236121(0x171)]&&(_0x162bd1[0x0]|=0x40),_0x162bd1[0x1]=_0x1de2da,_0x1de2da===0x7e?_0x162bd1[_0x236121(0x19c)](_0x4d8f50,0x2):_0x1de2da===0x7f&&(_0x162bd1[0x2]=_0x162bd1[0x3]=0x0,_0x162bd1[_0x236121(0x2cb)](_0x4d8f50,0x4,0x6)),_0x1ce2cd[_0x236121(0x26d)]?(_0x162bd1[0x1]|=0x80,_0x162bd1[_0x5e8482-0x4]=_0x181dd9[0x0],_0x162bd1[_0x5e8482-0x3]=_0x181dd9[0x1],_0x162bd1[_0x5e8482-0x2]=_0x181dd9[0x2],_0x162bd1[_0x5e8482-0x1]=_0x181dd9[0x3],_0x4de3a0?[_0x162bd1,_0x27a806]:_0x1ceb33?(_0x281231(_0x27a806,_0x181dd9,_0x162bd1,_0x5e8482,_0x4d8f50),[_0x162bd1]):(_0x281231(_0x27a806,_0x181dd9,_0x27a806,0x0,_0x4d8f50),[_0x162bd1,_0x27a806])):[_0x162bd1,_0x27a806];}[_0x548094(0x208)](_0x8c6c02,_0x454c68,_0x56db26,_0x3725d5){const _0x21c940=_0x548094;let _0x2159a9;if(_0x8c6c02===void 0x0)_0x2159a9=_0x4788bd;else{if(typeof _0x8c6c02!='number'||!_0x5ef8e5(_0x8c6c02))throw new TypeError(_0x21c940(0x192));if(_0x454c68===void 0x0||!_0x454c68[_0x21c940(0x18d)])_0x2159a9=Buffer[_0x21c940(0x155)](0x2),_0x2159a9[_0x21c940(0x19c)](_0x8c6c02,0x0);else{const _0x55e5c1=Buffer[_0x21c940(0x205)](_0x454c68);if(_0x55e5c1>0x7b)throw new RangeError(_0x21c940(0x11b));_0x2159a9=Buffer[_0x21c940(0x155)](0x2+_0x55e5c1),_0x2159a9[_0x21c940(0x19c)](_0x8c6c02,0x0),typeof _0x454c68==_0x21c940(0x1dc)?_0x2159a9[_0x21c940(0x23f)](_0x454c68,0x2):_0x2159a9['set'](_0x454c68,0x2);}}const _0x4c9711={[_0x1e8102]:_0x2159a9[_0x21c940(0x18d)],'fin':!0x0,'generateMask':this[_0x21c940(0x2c1)],'mask':_0x56db26,'maskBuffer':this[_0x21c940(0x280)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x21c940(0x1b8)]!==_0x487eb9?this['enqueue']([this[_0x21c940(0x147)],_0x2159a9,!0x1,_0x4c9711,_0x3725d5]):this[_0x21c940(0x13d)](_0x4d0641[_0x21c940(0x128)](_0x2159a9,_0x4c9711),_0x3725d5);}['ping'](_0x175820,_0x3f844d,_0x42dc7c){const _0x108a0d=_0x548094;let _0x181b2b,_0x400e90;if(typeof _0x175820==_0x108a0d(0x1dc)?(_0x181b2b=Buffer[_0x108a0d(0x205)](_0x175820),_0x400e90=!0x1):_0x2405d9(_0x175820)?(_0x181b2b=_0x175820[_0x108a0d(0x211)],_0x400e90=!0x1):(_0x175820=_0xd0f6a7(_0x175820),_0x181b2b=_0x175820['length'],_0x400e90=_0xd0f6a7['readOnly']),_0x181b2b>0x7d)throw new RangeError(_0x108a0d(0x14a));const _0x42517c={[_0x1e8102]:_0x181b2b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3f844d,'maskBuffer':this[_0x108a0d(0x280)],'opcode':0x9,'readOnly':_0x400e90,'rsv1':!0x1};_0x2405d9(_0x175820)?this[_0x108a0d(0x1b8)]!==_0x487eb9?this[_0x108a0d(0x19f)]([this[_0x108a0d(0x207)],_0x175820,!0x1,_0x42517c,_0x42dc7c]):this[_0x108a0d(0x207)](_0x175820,!0x1,_0x42517c,_0x42dc7c):this[_0x108a0d(0x1b8)]!==_0x487eb9?this[_0x108a0d(0x19f)]([this['dispatch'],_0x175820,!0x1,_0x42517c,_0x42dc7c]):this[_0x108a0d(0x13d)](_0x4d0641[_0x108a0d(0x128)](_0x175820,_0x42517c),_0x42dc7c);}[_0x548094(0x26b)](_0x46aac2,_0x4a08ee,_0x3bd2dd){const _0x2d212e=_0x548094;let _0x15d9d6,_0x37f677;if(typeof _0x46aac2==_0x2d212e(0x1dc)?(_0x15d9d6=Buffer['byteLength'](_0x46aac2),_0x37f677=!0x1):_0x2405d9(_0x46aac2)?(_0x15d9d6=_0x46aac2['size'],_0x37f677=!0x1):(_0x46aac2=_0xd0f6a7(_0x46aac2),_0x15d9d6=_0x46aac2[_0x2d212e(0x18d)],_0x37f677=_0xd0f6a7[_0x2d212e(0x28d)]),_0x15d9d6>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2ea6b0={[_0x1e8102]:_0x15d9d6,'fin':!0x0,'generateMask':this[_0x2d212e(0x2c1)],'mask':_0x4a08ee,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x37f677,'rsv1':!0x1};_0x2405d9(_0x46aac2)?this['_state']!==_0x487eb9?this[_0x2d212e(0x19f)]([this[_0x2d212e(0x207)],_0x46aac2,!0x1,_0x2ea6b0,_0x3bd2dd]):this['getBlobData'](_0x46aac2,!0x1,_0x2ea6b0,_0x3bd2dd):this[_0x2d212e(0x1b8)]!==_0x487eb9?this[_0x2d212e(0x19f)]([this[_0x2d212e(0x147)],_0x46aac2,!0x1,_0x2ea6b0,_0x3bd2dd]):this['sendFrame'](_0x4d0641[_0x2d212e(0x128)](_0x46aac2,_0x2ea6b0),_0x3bd2dd);}[_0x548094(0x164)](_0x3d5501,_0x1a6103,_0x5c4da0){const _0x410a38=_0x548094,_0x52ffe2=this[_0x410a38(0x2ae)][_0x1375b3[_0x410a38(0x2bb)]];let _0x18dd3d=_0x1a6103['binary']?0x2:0x1,_0x425d6f=_0x1a6103['compress'],_0x31b4f8,_0x4877ee;typeof _0x3d5501==_0x410a38(0x1dc)?(_0x31b4f8=Buffer[_0x410a38(0x205)](_0x3d5501),_0x4877ee=!0x1):_0x2405d9(_0x3d5501)?(_0x31b4f8=_0x3d5501[_0x410a38(0x211)],_0x4877ee=!0x1):(_0x3d5501=_0xd0f6a7(_0x3d5501),_0x31b4f8=_0x3d5501['length'],_0x4877ee=_0xd0f6a7[_0x410a38(0x28d)]),this[_0x410a38(0x222)]?(this[_0x410a38(0x222)]=!0x1,_0x425d6f&&_0x52ffe2&&_0x52ffe2[_0x410a38(0x28f)][_0x52ffe2[_0x410a38(0x19e)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x425d6f=_0x31b4f8>=_0x52ffe2['_threshold']),this[_0x410a38(0x1af)]=_0x425d6f):(_0x425d6f=!0x1,_0x18dd3d=0x0),_0x1a6103[_0x410a38(0x11f)]&&(this['_firstFragment']=!0x0);const _0x2f3417={[_0x1e8102]:_0x31b4f8,'fin':_0x1a6103[_0x410a38(0x11f)],'generateMask':this[_0x410a38(0x2c1)],'mask':_0x1a6103[_0x410a38(0x26d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x18dd3d,'readOnly':_0x4877ee,'rsv1':_0x425d6f};_0x2405d9(_0x3d5501)?this[_0x410a38(0x1b8)]!==_0x487eb9?this[_0x410a38(0x19f)]([this[_0x410a38(0x207)],_0x3d5501,this[_0x410a38(0x1af)],_0x2f3417,_0x5c4da0]):this[_0x410a38(0x207)](_0x3d5501,this['_compress'],_0x2f3417,_0x5c4da0):this[_0x410a38(0x1b8)]!==_0x487eb9?this['enqueue']([this[_0x410a38(0x147)],_0x3d5501,this['_compress'],_0x2f3417,_0x5c4da0]):this[_0x410a38(0x147)](_0x3d5501,this[_0x410a38(0x1af)],_0x2f3417,_0x5c4da0);}[_0x548094(0x207)](_0xa64928,_0x2feeba,_0x524c9d,_0x27ce8c){const _0x557a3c=_0x548094;this[_0x557a3c(0x210)]+=_0x524c9d[_0x1e8102],this[_0x557a3c(0x1b8)]=_0x347e38,_0xa64928[_0x557a3c(0x293)]()[_0x557a3c(0x1e0)](_0x200601=>{const _0x21f5b6=_0x557a3c;if(this['_socket'][_0x21f5b6(0x265)]){const _0x5d875e=new Error(_0x21f5b6(0x174));process[_0x21f5b6(0x121)](_0x260488,this,_0x5d875e,_0x27ce8c);return;}this['_bufferedBytes']-=_0x524c9d[_0x1e8102];const _0x5e2342=_0xd0f6a7(_0x200601);_0x2feeba?this[_0x21f5b6(0x147)](_0x5e2342,_0x2feeba,_0x524c9d,_0x27ce8c):(this[_0x21f5b6(0x1b8)]=_0x487eb9,this[_0x21f5b6(0x13d)](_0x4d0641[_0x21f5b6(0x128)](_0x5e2342,_0x524c9d),_0x27ce8c),this[_0x21f5b6(0x2b7)]());})['catch'](_0x2f98af=>{const _0x327f2f=_0x557a3c;process[_0x327f2f(0x121)](_0x40001b,this,_0x2f98af,_0x27ce8c);});}[_0x548094(0x147)](_0x43f5a7,_0x44d2c3,_0xf8dd6,_0x37c7d5){const _0x3fc841=_0x548094;if(!_0x44d2c3){this[_0x3fc841(0x13d)](_0x4d0641[_0x3fc841(0x128)](_0x43f5a7,_0xf8dd6),_0x37c7d5);return;}const _0x467426=this[_0x3fc841(0x2ae)][_0x1375b3[_0x3fc841(0x2bb)]];this['_bufferedBytes']+=_0xf8dd6[_0x1e8102],this[_0x3fc841(0x1b8)]=_0x2bdc95,_0x467426[_0x3fc841(0x1eb)](_0x43f5a7,_0xf8dd6[_0x3fc841(0x11f)],(_0x556ab4,_0x5c0985)=>{const _0x5df3f9=_0x3fc841;if(this[_0x5df3f9(0x1fa)][_0x5df3f9(0x265)]){const _0x4081b8=new Error(_0x5df3f9(0x270));_0x260488(this,_0x4081b8,_0x37c7d5);return;}this['_bufferedBytes']-=_0xf8dd6[_0x1e8102],this[_0x5df3f9(0x1b8)]=_0x487eb9,_0xf8dd6['readOnly']=!0x1,this['sendFrame'](_0x4d0641[_0x5df3f9(0x128)](_0x5c0985,_0xf8dd6),_0x37c7d5),this[_0x5df3f9(0x2b7)]();});}[_0x548094(0x2b7)](){const _0x4c1628=_0x548094;for(;this[_0x4c1628(0x1b8)]===_0x487eb9&&this['_queue']['length'];){const _0x4a0149=this[_0x4c1628(0x231)]['shift']();this[_0x4c1628(0x210)]-=_0x4a0149[0x3][_0x1e8102],Reflect['apply'](_0x4a0149[0x0],this,_0x4a0149['slice'](0x1));}}[_0x548094(0x19f)](_0x25e3f6){const _0x37fdeb=_0x548094;this[_0x37fdeb(0x210)]+=_0x25e3f6[0x3][_0x1e8102],this[_0x37fdeb(0x231)][_0x37fdeb(0x123)](_0x25e3f6);}[_0x548094(0x13d)](_0x342abd,_0x43eba3){const _0x5e43fa=_0x548094;_0x342abd[_0x5e43fa(0x18d)]===0x2?(this[_0x5e43fa(0x1fa)][_0x5e43fa(0x125)](),this[_0x5e43fa(0x1fa)][_0x5e43fa(0x23f)](_0x342abd[0x0]),this['_socket']['write'](_0x342abd[0x1],_0x43eba3),this['_socket'][_0x5e43fa(0x145)]()):this[_0x5e43fa(0x1fa)][_0x5e43fa(0x23f)](_0x342abd[0x0],_0x43eba3);}}Ee=_0x4d0641;function _0x260488(_0x28ecf8,_0x25699c,_0x3d1543){const _0x3e5486=_0x548094;typeof _0x3d1543==_0x3e5486(0x12c)&&_0x3d1543(_0x25699c);for(let _0x222fb3=0x0;_0x222fb3<_0x28ecf8[_0x3e5486(0x231)][_0x3e5486(0x18d)];_0x222fb3++){const _0x967ce6=_0x28ecf8[_0x3e5486(0x231)][_0x222fb3],_0x355135=_0x967ce6[_0x967ce6[_0x3e5486(0x18d)]-0x1];typeof _0x355135==_0x3e5486(0x12c)&&_0x355135(_0x25699c);}}function _0x40001b(_0x55f7dd,_0x415bdd,_0x24d881){const _0x4c17d5=_0x548094;_0x260488(_0x55f7dd,_0x415bdd,_0x24d881),_0x55f7dd[_0x4c17d5(0x285)](_0x415bdd);}return Ee;}var xe,Ze;function It(){const _0x1ee5db=_0x1b6638;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x341a8d,kListener:_0x24227a}=H(),_0x4ab83f=Symbol('kCode'),_0x137cc6=Symbol(_0x1ee5db(0x1c7)),_0x1a6d69=Symbol(_0x1ee5db(0x16a)),_0x22b95e=Symbol(_0x1ee5db(0x292)),_0x520ba6=Symbol(_0x1ee5db(0x1d0)),_0x51438a=Symbol(_0x1ee5db(0x15a)),_0x3688b7=Symbol(_0x1ee5db(0x2e2)),_0xcc5f46=Symbol(_0x1ee5db(0x159));class _0x38cbb2{constructor(_0x154a3e){this[_0x51438a]=null,this[_0x3688b7]=_0x154a3e;}get['target'](){return this[_0x51438a];}get['type'](){return this[_0x3688b7];}}Object[_0x1ee5db(0x126)](_0x38cbb2['prototype'],_0x1ee5db(0x138),{'enumerable':!0x0}),Object['defineProperty'](_0x38cbb2['prototype'],_0x1ee5db(0x2d6),{'enumerable':!0x0});class _0x46d96d extends _0x38cbb2{constructor(_0x413ef1,_0x450205={}){const _0x4a92dd=_0x1ee5db;super(_0x413ef1),this[_0x4ab83f]=_0x450205[_0x4a92dd(0x1e1)]===void 0x0?0x0:_0x450205[_0x4a92dd(0x1e1)],this[_0x520ba6]=_0x450205[_0x4a92dd(0x1a9)]===void 0x0?'':_0x450205[_0x4a92dd(0x1a9)],this[_0xcc5f46]=_0x450205[_0x4a92dd(0x166)]===void 0x0?!0x1:_0x450205[_0x4a92dd(0x166)];}get[_0x1ee5db(0x1e1)](){return this[_0x4ab83f];}get['reason'](){return this[_0x520ba6];}get[_0x1ee5db(0x166)](){return this[_0xcc5f46];}}Object['defineProperty'](_0x46d96d[_0x1ee5db(0x2c4)],'code',{'enumerable':!0x0}),Object[_0x1ee5db(0x126)](_0x46d96d['prototype'],'reason',{'enumerable':!0x0}),Object[_0x1ee5db(0x126)](_0x46d96d[_0x1ee5db(0x2c4)],'wasClean',{'enumerable':!0x0});class _0x53e913 extends _0x38cbb2{constructor(_0x181801,_0x33df17={}){const _0x28bc9e=_0x1ee5db;super(_0x181801),this[_0x1a6d69]=_0x33df17[_0x28bc9e(0x223)]===void 0x0?null:_0x33df17[_0x28bc9e(0x223)],this[_0x22b95e]=_0x33df17[_0x28bc9e(0x160)]===void 0x0?'':_0x33df17[_0x28bc9e(0x160)];}get[_0x1ee5db(0x223)](){return this[_0x1a6d69];}get[_0x1ee5db(0x160)](){return this[_0x22b95e];}}Object[_0x1ee5db(0x126)](_0x53e913['prototype'],_0x1ee5db(0x223),{'enumerable':!0x0}),Object[_0x1ee5db(0x126)](_0x53e913[_0x1ee5db(0x2c4)],_0x1ee5db(0x160),{'enumerable':!0x0});class _0x5b223e extends _0x38cbb2{constructor(_0x15b5b3,_0x1eb98e={}){const _0x5b64cf=_0x1ee5db;super(_0x15b5b3),this[_0x137cc6]=_0x1eb98e[_0x5b64cf(0x157)]===void 0x0?null:_0x1eb98e[_0x5b64cf(0x157)];}get[_0x1ee5db(0x157)](){return this[_0x137cc6];}}Object[_0x1ee5db(0x126)](_0x5b223e['prototype'],_0x1ee5db(0x157),{'enumerable':!0x0}),xe={'CloseEvent':_0x46d96d,'ErrorEvent':_0x53e913,'Event':_0x38cbb2,'EventTarget':{'addEventListener'(_0x1b7b29,_0x235d32,_0x25a2a0={}){const _0x28c008=_0x1ee5db;for(const _0x4d6549 of this[_0x28c008(0x1ba)](_0x1b7b29))if(!_0x25a2a0[_0x341a8d]&&_0x4d6549[_0x24227a]===_0x235d32&&!_0x4d6549[_0x341a8d])return;let _0x2b04c9;if(_0x1b7b29===_0x28c008(0x160))_0x2b04c9=function(_0x413583,_0x263837){const _0x2be7d9=_0x28c008,_0xf6d76f=new _0x5b223e(_0x2be7d9(0x160),{'data':_0x263837?_0x413583:_0x413583[_0x2be7d9(0x217)]()});_0xf6d76f[_0x51438a]=this,_0x4dd9cd(_0x235d32,this,_0xf6d76f);};else{if(_0x1b7b29===_0x28c008(0x208))_0x2b04c9=function(_0x574b89,_0x5a578a){const _0x278d62=_0x28c008,_0x8c4183=new _0x46d96d(_0x278d62(0x208),{'code':_0x574b89,'reason':_0x5a578a[_0x278d62(0x217)](),'wasClean':this[_0x278d62(0x2a2)]&&this[_0x278d62(0x239)]});_0x8c4183[_0x51438a]=this,_0x4dd9cd(_0x235d32,this,_0x8c4183);};else{if(_0x1b7b29===_0x28c008(0x223))_0x2b04c9=function(_0x18493f){const _0x5c4657=_0x28c008,_0x12c057=new _0x53e913(_0x5c4657(0x223),{'error':_0x18493f,'message':_0x18493f[_0x5c4657(0x160)]});_0x12c057[_0x51438a]=this,_0x4dd9cd(_0x235d32,this,_0x12c057);};else{if(_0x1b7b29==='open')_0x2b04c9=function(){const _0x176b55=_0x28c008,_0x3c7c4d=new _0x38cbb2(_0x176b55(0x2ab));_0x3c7c4d[_0x51438a]=this,_0x4dd9cd(_0x235d32,this,_0x3c7c4d);};else return;}}}_0x2b04c9[_0x341a8d]=!!_0x25a2a0[_0x341a8d],_0x2b04c9[_0x24227a]=_0x235d32,_0x25a2a0[_0x28c008(0x234)]?this['once'](_0x1b7b29,_0x2b04c9):this['on'](_0x1b7b29,_0x2b04c9);},'removeEventListener'(_0x3b4eb3,_0x3d9d77){const _0x1be548=_0x1ee5db;for(const _0x7b7c84 of this[_0x1be548(0x1ba)](_0x3b4eb3))if(_0x7b7c84[_0x24227a]===_0x3d9d77&&!_0x7b7c84[_0x341a8d]){this['removeListener'](_0x3b4eb3,_0x7b7c84);break;}}},'MessageEvent':_0x5b223e};function _0x4dd9cd(_0x206def,_0x862de8,_0x1258d1){const _0x14b1a2=_0x1ee5db;typeof _0x206def==_0x14b1a2(0x27c)&&_0x206def[_0x14b1a2(0x278)]?_0x206def[_0x14b1a2(0x278)][_0x14b1a2(0x18e)](_0x206def,_0x1258d1):_0x206def[_0x14b1a2(0x18e)](_0x862de8,_0x1258d1);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5393a4}=ae();function _0x295ddd(_0x2f146f,_0x4cf1c7,_0x1d16a9){const _0x3c439b=_0x1ea7;_0x2f146f[_0x4cf1c7]===void 0x0?_0x2f146f[_0x4cf1c7]=[_0x1d16a9]:_0x2f146f[_0x4cf1c7][_0x3c439b(0x123)](_0x1d16a9);}function _0x56a614(_0x5a8f27){const _0x929ad2=_0x1ea7,_0x3eab38=Object[_0x929ad2(0x1a4)](null);let _0x26e177=Object['create'](null),_0x558108=!0x1,_0x19dde8=!0x1,_0x5786d8=!0x1,_0x133d35,_0x3c8868,_0x36033c=-0x1,_0x36d7d9=-0x1,_0x355533=-0x1,_0xdd81d2=0x0;for(;_0xdd81d2<_0x5a8f27[_0x929ad2(0x18d)];_0xdd81d2++)if(_0x36d7d9=_0x5a8f27['charCodeAt'](_0xdd81d2),_0x133d35===void 0x0){if(_0x355533===-0x1&&_0x5393a4[_0x36d7d9]===0x1)_0x36033c===-0x1&&(_0x36033c=_0xdd81d2);else{if(_0xdd81d2!==0x0&&(_0x36d7d9===0x20||_0x36d7d9===0x9))_0x355533===-0x1&&_0x36033c!==-0x1&&(_0x355533=_0xdd81d2);else{if(_0x36d7d9===0x3b||_0x36d7d9===0x2c){if(_0x36033c===-0x1)throw new SyntaxError(_0x929ad2(0x198)+_0xdd81d2);_0x355533===-0x1&&(_0x355533=_0xdd81d2);const _0x241fc9=_0x5a8f27['slice'](_0x36033c,_0x355533);_0x36d7d9===0x2c?(_0x295ddd(_0x3eab38,_0x241fc9,_0x26e177),_0x26e177=Object[_0x929ad2(0x1a4)](null)):_0x133d35=_0x241fc9,_0x36033c=_0x355533=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdd81d2);}}}else{if(_0x3c8868===void 0x0){if(_0x355533===-0x1&&_0x5393a4[_0x36d7d9]===0x1)_0x36033c===-0x1&&(_0x36033c=_0xdd81d2);else{if(_0x36d7d9===0x20||_0x36d7d9===0x9)_0x355533===-0x1&&_0x36033c!==-0x1&&(_0x355533=_0xdd81d2);else{if(_0x36d7d9===0x3b||_0x36d7d9===0x2c){if(_0x36033c===-0x1)throw new SyntaxError(_0x929ad2(0x198)+_0xdd81d2);_0x355533===-0x1&&(_0x355533=_0xdd81d2),_0x295ddd(_0x26e177,_0x5a8f27[_0x929ad2(0x261)](_0x36033c,_0x355533),!0x0),_0x36d7d9===0x2c&&(_0x295ddd(_0x3eab38,_0x133d35,_0x26e177),_0x26e177=Object['create'](null),_0x133d35=void 0x0),_0x36033c=_0x355533=-0x1;}else{if(_0x36d7d9===0x3d&&_0x36033c!==-0x1&&_0x355533===-0x1)_0x3c8868=_0x5a8f27[_0x929ad2(0x261)](_0x36033c,_0xdd81d2),_0x36033c=_0x355533=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdd81d2);}}}}else{if(_0x19dde8){if(_0x5393a4[_0x36d7d9]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdd81d2);_0x36033c===-0x1?_0x36033c=_0xdd81d2:_0x558108||(_0x558108=!0x0),_0x19dde8=!0x1;}else{if(_0x5786d8){if(_0x5393a4[_0x36d7d9]===0x1)_0x36033c===-0x1&&(_0x36033c=_0xdd81d2);else{if(_0x36d7d9===0x22&&_0x36033c!==-0x1)_0x5786d8=!0x1,_0x355533=_0xdd81d2;else{if(_0x36d7d9===0x5c)_0x19dde8=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdd81d2);}}}else{if(_0x36d7d9===0x22&&_0x5a8f27[_0x929ad2(0x1c5)](_0xdd81d2-0x1)===0x3d)_0x5786d8=!0x0;else{if(_0x355533===-0x1&&_0x5393a4[_0x36d7d9]===0x1)_0x36033c===-0x1&&(_0x36033c=_0xdd81d2);else{if(_0x36033c!==-0x1&&(_0x36d7d9===0x20||_0x36d7d9===0x9))_0x355533===-0x1&&(_0x355533=_0xdd81d2);else{if(_0x36d7d9===0x3b||_0x36d7d9===0x2c){if(_0x36033c===-0x1)throw new SyntaxError(_0x929ad2(0x198)+_0xdd81d2);_0x355533===-0x1&&(_0x355533=_0xdd81d2);let _0x2b0874=_0x5a8f27['slice'](_0x36033c,_0x355533);_0x558108&&(_0x2b0874=_0x2b0874['replace'](/\\/g,''),_0x558108=!0x1),_0x295ddd(_0x26e177,_0x3c8868,_0x2b0874),_0x36d7d9===0x2c&&(_0x295ddd(_0x3eab38,_0x133d35,_0x26e177),_0x26e177=Object['create'](null),_0x133d35=void 0x0),_0x3c8868=void 0x0,_0x36033c=_0x355533=-0x1;}else throw new SyntaxError(_0x929ad2(0x198)+_0xdd81d2);}}}}}}}if(_0x36033c===-0x1||_0x5786d8||_0x36d7d9===0x20||_0x36d7d9===0x9)throw new SyntaxError(_0x929ad2(0x1e9));_0x355533===-0x1&&(_0x355533=_0xdd81d2);const _0x2a8b29=_0x5a8f27[_0x929ad2(0x261)](_0x36033c,_0x355533);return _0x133d35===void 0x0?_0x295ddd(_0x3eab38,_0x2a8b29,_0x26e177):(_0x3c8868===void 0x0?_0x295ddd(_0x26e177,_0x2a8b29,!0x0):_0x558108?_0x295ddd(_0x26e177,_0x3c8868,_0x2a8b29[_0x929ad2(0x196)](/\\/g,'')):_0x295ddd(_0x26e177,_0x3c8868,_0x2a8b29),_0x295ddd(_0x3eab38,_0x133d35,_0x26e177)),_0x3eab38;}function _0x14a04b(_0x32fdc9){const _0x50fe30=_0x1ea7;return Object['keys'](_0x32fdc9)[_0x50fe30(0x161)](_0x10776c=>{const _0x28f4ee=_0x50fe30;let _0x450fbe=_0x32fdc9[_0x10776c];return Array[_0x28f4ee(0x1a2)](_0x450fbe)||(_0x450fbe=[_0x450fbe]),_0x450fbe['map'](_0x1a7447=>[_0x10776c][_0x28f4ee(0x1de)](Object[_0x28f4ee(0x130)](_0x1a7447)['map'](_0x12e85e=>{const _0x1e6e84=_0x28f4ee;let _0x22cf83=_0x1a7447[_0x12e85e];return Array[_0x1e6e84(0x1a2)](_0x22cf83)||(_0x22cf83=[_0x22cf83]),_0x22cf83[_0x1e6e84(0x161)](_0x637677=>_0x637677===!0x0?_0x12e85e:_0x12e85e+'='+_0x637677)['join'](';\x20');}))['join'](';\x20'))[_0x28f4ee(0x2ba)](',\x20');})[_0x50fe30(0x2ba)](',\x20');}return be={'format':_0x14a04b,'parse':_0x56a614},be;}function _0x1ea7(_0x518a71,_0x28e72a){const _0x2f34d5=_0x2f34();return _0x1ea7=function(_0x1ea74c,_0x1c7a84){_0x1ea74c=_0x1ea74c-0x115;let _0x4e3797=_0x2f34d5[_0x1ea74c];return _0x4e3797;},_0x1ea7(_0x518a71,_0x28e72a);}var we,Je;function Pe(){const _0x50526c=_0x1b6638;if(Je)return we;Je=0x1;const _0x22bea6=nt,_0x245412=vt,_0x3b032f=ot,_0x37b83f=St,_0x431acf=Et,{randomBytes:_0x5a0dec,createHash:_0x3e4b43}=Le,{Duplex:_0x424632,Readable:_0x23160c}=oe,{URL:_0x39d5f8}=xt,_0x4725ca=he(),_0x1b85c4=lt(),_0x3f0f75=ft(),{isBlob:_0x2e1691}=ae(),{BINARY_TYPES:_0x2c4432,EMPTY_BUFFER:_0xefb172,GUID:_0x4b06ce,kForOnEventAttribute:_0x1ad855,kListener:_0x1c0600,kStatusCode:_0x18223e,kWebSocket:_0xff6ed,NOOP:_0x6cec8d}=H(),{EventTarget:{addEventListener:_0x2a97ca,removeEventListener:_0x4c878f}}=It(),{format:_0x974920,parse:_0x1931ca}=ct(),{toBuffer:_0x297072}=ce(),_0x28ca40=0x1e*0x3e8,_0xee7976=Symbol(_0x50526c(0x1b0)),_0x1612c2=[0x8,0xd],_0xc9b1aa=[_0x50526c(0x2df),_0x50526c(0x21d),'CLOSING','CLOSED'],_0x2ac60c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x117a9f extends _0x22bea6{constructor(_0x3933b3,_0x4fdb72,_0x330022){const _0x174f80=_0x50526c;super(),this['_binaryType']=_0x2c4432[0x0],this[_0x174f80(0x120)]=0x3ee,this[_0x174f80(0x2a2)]=!0x1,this[_0x174f80(0x239)]=!0x1,this[_0x174f80(0x200)]=_0xefb172,this[_0x174f80(0x1ac)]=null,this[_0x174f80(0x134)]=!0x1,this[_0x174f80(0x2ae)]={},this[_0x174f80(0x225)]=!0x1,this[_0x174f80(0x25a)]='',this['_readyState']=_0x117a9f['CONNECTING'],this[_0x174f80(0x148)]=null,this[_0x174f80(0x2b3)]=null,this[_0x174f80(0x1fa)]=null,_0x3933b3!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x4fdb72===void 0x0?_0x4fdb72=[]:Array[_0x174f80(0x1a2)](_0x4fdb72)||(typeof _0x4fdb72=='object'&&_0x4fdb72!==null?(_0x330022=_0x4fdb72,_0x4fdb72=[]):_0x4fdb72=[_0x4fdb72]),_0x1817a1(this,_0x3933b3,_0x4fdb72,_0x330022)):(this[_0x174f80(0x245)]=_0x330022[_0x174f80(0x2c8)],this[_0x174f80(0x19e)]=!0x0);}get[_0x50526c(0x2a6)](){const _0x24f4ad=_0x50526c;return this[_0x24f4ad(0x2b5)];}set[_0x50526c(0x2a6)](_0x290b78){const _0x30e9a8=_0x50526c;_0x2c4432[_0x30e9a8(0x16f)](_0x290b78)&&(this['_binaryType']=_0x290b78,this[_0x30e9a8(0x148)]&&(this[_0x30e9a8(0x148)][_0x30e9a8(0x2b5)]=_0x290b78));}get[_0x50526c(0x29b)](){const _0x3953db=_0x50526c;return this['_socket']?this[_0x3953db(0x1fa)]['_writableState'][_0x3953db(0x18d)]+this[_0x3953db(0x2b3)][_0x3953db(0x210)]:this[_0x3953db(0x1a3)];}get['extensions'](){const _0x41f935=_0x50526c;return Object['keys'](this[_0x41f935(0x2ae)])['join']();}get[_0x50526c(0x154)](){const _0x2d24c0=_0x50526c;return this[_0x2d24c0(0x225)];}get[_0x50526c(0x249)](){return null;}get['onerror'](){return null;}get[_0x50526c(0x15c)](){return null;}get[_0x50526c(0x2d4)](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0x3b2294=_0x50526c;return this[_0x3b2294(0x2e3)];}get[_0x50526c(0x252)](){const _0x5a5af5=_0x50526c;return this[_0x5a5af5(0x2d1)];}[_0x50526c(0x24f)](_0x40d726,_0x554aaa,_0xb20e6){const _0x4e5d03=_0x50526c,_0x2cac9c=new _0x1b85c4({'allowSynchronousEvents':_0xb20e6[_0x4e5d03(0x216)],'binaryType':this[_0x4e5d03(0x2a6)],'extensions':this['_extensions'],'isServer':this[_0x4e5d03(0x19e)],'maxPayload':_0xb20e6[_0x4e5d03(0x140)],'skipUTF8Validation':_0xb20e6['skipUTF8Validation']}),_0x441b83=new _0x3f0f75(_0x40d726,this['_extensions'],_0xb20e6[_0x4e5d03(0x275)]);this[_0x4e5d03(0x148)]=_0x2cac9c,this[_0x4e5d03(0x2b3)]=_0x441b83,this['_socket']=_0x40d726,_0x2cac9c[_0xff6ed]=this,_0x441b83[_0xff6ed]=this,_0x40d726[_0xff6ed]=this,_0x2cac9c['on'](_0x4e5d03(0x141),_0x24ee75),_0x2cac9c['on'](_0x4e5d03(0x2c7),_0x14b3f1),_0x2cac9c['on'](_0x4e5d03(0x223),_0x24867e),_0x2cac9c['on'](_0x4e5d03(0x160),_0x2c67a2),_0x2cac9c['on']('ping',_0x4358c0),_0x2cac9c['on'](_0x4e5d03(0x26b),_0x492cb4),_0x441b83[_0x4e5d03(0x285)]=_0x51196a,_0x40d726[_0x4e5d03(0x1bc)]&&_0x40d726['setTimeout'](0x0),_0x40d726['setNoDelay']&&_0x40d726['setNoDelay'](),_0x554aaa[_0x4e5d03(0x18d)]>0x0&&_0x40d726[_0x4e5d03(0x152)](_0x554aaa),_0x40d726['on'](_0x4e5d03(0x208),_0x280c45),_0x40d726['on'](_0x4e5d03(0x157),_0x239aba),_0x40d726['on'](_0x4e5d03(0x158),_0x473383),_0x40d726['on'](_0x4e5d03(0x223),_0x42d5df),this['_readyState']=_0x117a9f[_0x4e5d03(0x21d)],this[_0x4e5d03(0x1dd)](_0x4e5d03(0x2ab));}['emitClose'](){const _0x4ca6b3=_0x50526c;if(!this['_socket']){this[_0x4ca6b3(0x2e3)]=_0x117a9f[_0x4ca6b3(0x247)],this[_0x4ca6b3(0x1dd)](_0x4ca6b3(0x208),this[_0x4ca6b3(0x120)],this[_0x4ca6b3(0x200)]);return;}this['_extensions'][_0x4725ca[_0x4ca6b3(0x2bb)]]&&this['_extensions'][_0x4725ca[_0x4ca6b3(0x2bb)]][_0x4ca6b3(0x2bc)](),this[_0x4ca6b3(0x148)][_0x4ca6b3(0x255)](),this[_0x4ca6b3(0x2e3)]=_0x117a9f[_0x4ca6b3(0x247)],this[_0x4ca6b3(0x1dd)]('close',this[_0x4ca6b3(0x120)],this[_0x4ca6b3(0x200)]);}[_0x50526c(0x208)](_0x16bdd3,_0x19752a){const _0x287bf7=_0x50526c;if(this[_0x287bf7(0x1bb)]!==_0x117a9f[_0x287bf7(0x247)]){if(this[_0x287bf7(0x1bb)]===_0x117a9f[_0x287bf7(0x2df)]){_0x229dd4(this,this[_0x287bf7(0x2cc)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x117a9f[_0x287bf7(0x2bd)]){this[_0x287bf7(0x239)]&&(this[_0x287bf7(0x2a2)]||this[_0x287bf7(0x148)][_0x287bf7(0x1f6)][_0x287bf7(0x1ea)])&&this[_0x287bf7(0x1fa)][_0x287bf7(0x158)]();return;}this[_0x287bf7(0x2e3)]=_0x117a9f[_0x287bf7(0x2bd)],this[_0x287bf7(0x2b3)][_0x287bf7(0x208)](_0x16bdd3,_0x19752a,!this[_0x287bf7(0x19e)],_0x4f7e86=>{const _0x2b2891=_0x287bf7;_0x4f7e86||(this[_0x2b2891(0x239)]=!0x0,(this[_0x2b2891(0x2a2)]||this[_0x2b2891(0x148)][_0x2b2891(0x1f6)][_0x2b2891(0x1ea)])&&this['_socket']['end']());}),_0xa7f002(this);}}[_0x50526c(0x233)](){const _0x3291cc=_0x50526c;this[_0x3291cc(0x1bb)]===_0x117a9f[_0x3291cc(0x2df)]||this[_0x3291cc(0x1bb)]===_0x117a9f[_0x3291cc(0x247)]||(this[_0x3291cc(0x225)]=!0x0,this['_socket']['pause']());}['ping'](_0x391fae,_0x5d0cef,_0xb43f7b){const _0xfc9bda=_0x50526c;if(this[_0xfc9bda(0x1bb)]===_0x117a9f[_0xfc9bda(0x2df)])throw new Error(_0xfc9bda(0x22b));if(typeof _0x391fae==_0xfc9bda(0x12c)?(_0xb43f7b=_0x391fae,_0x391fae=_0x5d0cef=void 0x0):typeof _0x5d0cef==_0xfc9bda(0x12c)&&(_0xb43f7b=_0x5d0cef,_0x5d0cef=void 0x0),typeof _0x391fae==_0xfc9bda(0x129)&&(_0x391fae=_0x391fae['toString']()),this[_0xfc9bda(0x1bb)]!==_0x117a9f[_0xfc9bda(0x21d)]){_0x2b03d8(this,_0x391fae,_0xb43f7b);return;}_0x5d0cef===void 0x0&&(_0x5d0cef=!this['_isServer']),this[_0xfc9bda(0x2b3)][_0xfc9bda(0x214)](_0x391fae||_0xefb172,_0x5d0cef,_0xb43f7b);}[_0x50526c(0x26b)](_0x1465a6,_0x331284,_0x12400d){const _0x49ebea=_0x50526c;if(this[_0x49ebea(0x1bb)]===_0x117a9f['CONNECTING'])throw new Error(_0x49ebea(0x22b));if(typeof _0x1465a6==_0x49ebea(0x12c)?(_0x12400d=_0x1465a6,_0x1465a6=_0x331284=void 0x0):typeof _0x331284==_0x49ebea(0x12c)&&(_0x12400d=_0x331284,_0x331284=void 0x0),typeof _0x1465a6==_0x49ebea(0x129)&&(_0x1465a6=_0x1465a6['toString']()),this[_0x49ebea(0x1bb)]!==_0x117a9f[_0x49ebea(0x21d)]){_0x2b03d8(this,_0x1465a6,_0x12400d);return;}_0x331284===void 0x0&&(_0x331284=!this['_isServer']),this['_sender'][_0x49ebea(0x26b)](_0x1465a6||_0xefb172,_0x331284,_0x12400d);}[_0x50526c(0x21c)](){const _0x37b1b9=_0x50526c;this[_0x37b1b9(0x1bb)]===_0x117a9f[_0x37b1b9(0x2df)]||this['readyState']===_0x117a9f[_0x37b1b9(0x247)]||(this['_paused']=!0x1,this[_0x37b1b9(0x148)][_0x37b1b9(0x1f6)]['needDrain']||this[_0x37b1b9(0x1fa)][_0x37b1b9(0x21c)]());}[_0x50526c(0x164)](_0x4baf99,_0x35b8b1,_0xe67d13){const _0x4eec74=_0x50526c;if(this[_0x4eec74(0x1bb)]===_0x117a9f[_0x4eec74(0x2df)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x35b8b1==_0x4eec74(0x12c)&&(_0xe67d13=_0x35b8b1,_0x35b8b1={}),typeof _0x4baf99==_0x4eec74(0x129)&&(_0x4baf99=_0x4baf99[_0x4eec74(0x217)]()),this[_0x4eec74(0x1bb)]!==_0x117a9f[_0x4eec74(0x21d)]){_0x2b03d8(this,_0x4baf99,_0xe67d13);return;}const _0x43a078={'binary':typeof _0x4baf99!=_0x4eec74(0x1dc),'mask':!this[_0x4eec74(0x19e)],'compress':!0x0,'fin':!0x0,..._0x35b8b1};this[_0x4eec74(0x2ae)][_0x4725ca[_0x4eec74(0x2bb)]]||(_0x43a078[_0x4eec74(0x1eb)]=!0x1),this[_0x4eec74(0x2b3)][_0x4eec74(0x164)](_0x4baf99||_0xefb172,_0x43a078,_0xe67d13);}[_0x50526c(0x137)](){const _0x3564dc=_0x50526c;if(this[_0x3564dc(0x1bb)]!==_0x117a9f[_0x3564dc(0x247)]){if(this[_0x3564dc(0x1bb)]===_0x117a9f[_0x3564dc(0x2df)]){_0x229dd4(this,this[_0x3564dc(0x2cc)],_0x3564dc(0x178));return;}this[_0x3564dc(0x1fa)]&&(this[_0x3564dc(0x2e3)]=_0x117a9f['CLOSING'],this['_socket'][_0x3564dc(0x2aa)]());}}}Object[_0x50526c(0x126)](_0x117a9f,'CONNECTING',{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)](_0x50526c(0x2df))}),Object[_0x50526c(0x126)](_0x117a9f[_0x50526c(0x2c4)],'CONNECTING',{'enumerable':!0x0,'value':_0xc9b1aa['indexOf'](_0x50526c(0x2df))}),Object[_0x50526c(0x126)](_0x117a9f,_0x50526c(0x21d),{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)]('OPEN')}),Object[_0x50526c(0x126)](_0x117a9f[_0x50526c(0x2c4)],_0x50526c(0x21d),{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)](_0x50526c(0x21d))}),Object[_0x50526c(0x126)](_0x117a9f,'CLOSING',{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)](_0x50526c(0x2bd))}),Object['defineProperty'](_0x117a9f[_0x50526c(0x2c4)],_0x50526c(0x2bd),{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)](_0x50526c(0x2bd))}),Object[_0x50526c(0x126)](_0x117a9f,_0x50526c(0x247),{'enumerable':!0x0,'value':_0xc9b1aa[_0x50526c(0x1ee)](_0x50526c(0x247))}),Object[_0x50526c(0x126)](_0x117a9f['prototype'],_0x50526c(0x247),{'enumerable':!0x0,'value':_0xc9b1aa['indexOf'](_0x50526c(0x247))}),['binaryType',_0x50526c(0x29b),_0x50526c(0x15d),'isPaused',_0x50526c(0x224),'readyState',_0x50526c(0x252)][_0x50526c(0x1ad)](_0x11c5e1=>{const _0x20aa76=_0x50526c;Object[_0x20aa76(0x126)](_0x117a9f[_0x20aa76(0x2c4)],_0x11c5e1,{'enumerable':!0x0});}),[_0x50526c(0x2ab),_0x50526c(0x223),'close','message']['forEach'](_0x867103=>{const _0x21ddd2=_0x50526c;Object[_0x21ddd2(0x126)](_0x117a9f[_0x21ddd2(0x2c4)],'on'+_0x867103,{'enumerable':!0x0,'get'(){const _0x446806=_0x21ddd2;for(const _0xe98f3e of this[_0x446806(0x1ba)](_0x867103))if(_0xe98f3e[_0x1ad855])return _0xe98f3e[_0x1c0600];return null;},'set'(_0x4d7c97){const _0x1e958b=_0x21ddd2;for(const _0x51e8e2 of this[_0x1e958b(0x1ba)](_0x867103))if(_0x51e8e2[_0x1ad855]){this[_0x1e958b(0x14b)](_0x867103,_0x51e8e2);break;}typeof _0x4d7c97==_0x1e958b(0x12c)&&this[_0x1e958b(0x2dc)](_0x867103,_0x4d7c97,{[_0x1ad855]:!0x0});}});}),_0x117a9f[_0x50526c(0x2c4)][_0x50526c(0x2dc)]=_0x2a97ca,_0x117a9f['prototype'][_0x50526c(0x20c)]=_0x4c878f,we=_0x117a9f;function _0x1817a1(_0x5524b6,_0xf17edf,_0x3bf5cf,_0xd977f8){const _0x1df323=_0x50526c,_0x1e6d2b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1612c2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd977f8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5524b6[_0x1df323(0x245)]=_0x1e6d2b[_0x1df323(0x2c8)],!_0x1612c2[_0x1df323(0x16f)](_0x1e6d2b['protocolVersion']))throw new RangeError(_0x1df323(0x25e)+_0x1e6d2b[_0x1df323(0x2b9)]+_0x1df323(0x28e)+_0x1612c2[_0x1df323(0x2ba)](',\x20')+')');let _0x2f1372;if(_0xf17edf instanceof _0x39d5f8)_0x2f1372=_0xf17edf;else try{_0x2f1372=new _0x39d5f8(_0xf17edf);}catch{throw new SyntaxError(_0x1df323(0x183)+_0xf17edf);}_0x2f1372[_0x1df323(0x224)]==='http:'?_0x2f1372[_0x1df323(0x224)]='ws:':_0x2f1372[_0x1df323(0x224)]===_0x1df323(0x229)&&(_0x2f1372['protocol']=_0x1df323(0x256)),_0x5524b6[_0x1df323(0x2d1)]=_0x2f1372[_0x1df323(0x228)];const _0x39c8b=_0x2f1372['protocol']===_0x1df323(0x256),_0x232e11=_0x2f1372['protocol']===_0x1df323(0x286);let _0x17f81c;if(_0x2f1372['protocol']!==_0x1df323(0x184)&&!_0x39c8b&&!_0x232e11?_0x17f81c=_0x1df323(0x21e):_0x232e11&&!_0x2f1372[_0x1df323(0x29f)]?_0x17f81c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2f1372[_0x1df323(0x146)]&&(_0x17f81c='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x17f81c){const _0xe3e308=new SyntaxError(_0x17f81c);if(_0x5524b6[_0x1df323(0x1d5)]===0x0)throw _0xe3e308;_0x4a7c37(_0x5524b6,_0xe3e308);return;}const _0x4d4322=_0x39c8b?0x1bb:0x50,_0x2d241f=_0x5a0dec(0x10)[_0x1df323(0x217)](_0x1df323(0x203)),_0x55bf0f=_0x39c8b?_0x245412['request']:_0x3b032f[_0x1df323(0x21b)],_0xd91d07=new Set();let _0x35042d;if(_0x1e6d2b[_0x1df323(0x282)]=_0x1e6d2b[_0x1df323(0x282)]||(_0x39c8b?_0x54f229:_0x4c23e2),_0x1e6d2b[_0x1df323(0x1fd)]=_0x1e6d2b['defaultPort']||_0x4d4322,_0x1e6d2b[_0x1df323(0x266)]=_0x2f1372['port']||_0x4d4322,_0x1e6d2b[_0x1df323(0x1e5)]=_0x2f1372[_0x1df323(0x19a)]['startsWith']('[')?_0x2f1372[_0x1df323(0x19a)][_0x1df323(0x261)](0x1,-0x1):_0x2f1372[_0x1df323(0x19a)],_0x1e6d2b[_0x1df323(0x1b3)]={..._0x1e6d2b[_0x1df323(0x1b3)],'Sec-WebSocket-Version':_0x1e6d2b[_0x1df323(0x2b9)],'Sec-WebSocket-Key':_0x2d241f,'Connection':_0x1df323(0x1da),'Upgrade':_0x1df323(0x15b)},_0x1e6d2b[_0x1df323(0x1aa)]=_0x2f1372[_0x1df323(0x29f)]+_0x2f1372['search'],_0x1e6d2b['timeout']=_0x1e6d2b['handshakeTimeout'],_0x1e6d2b[_0x1df323(0x238)]&&(_0x35042d=new _0x4725ca(_0x1e6d2b[_0x1df323(0x238)]!==!0x0?_0x1e6d2b[_0x1df323(0x238)]:{},!0x1,_0x1e6d2b['maxPayload']),_0x1e6d2b['headers'][_0x1df323(0x25d)]=_0x974920({[_0x4725ca['extensionName']]:_0x35042d[_0x1df323(0x263)]()})),_0x3bf5cf[_0x1df323(0x18d)]){for(const _0x29f76f of _0x3bf5cf){if(typeof _0x29f76f!=_0x1df323(0x1dc)||!_0x2ac60c[_0x1df323(0x1b4)](_0x29f76f)||_0xd91d07[_0x1df323(0x1c4)](_0x29f76f))throw new SyntaxError(_0x1df323(0x273));_0xd91d07[_0x1df323(0x2d5)](_0x29f76f);}_0x1e6d2b['headers'][_0x1df323(0x291)]=_0x3bf5cf[_0x1df323(0x2ba)](',');}if(_0x1e6d2b[_0x1df323(0x22d)]&&(_0x1e6d2b[_0x1df323(0x2b9)]<0xd?_0x1e6d2b['headers'][_0x1df323(0x2bf)]=_0x1e6d2b['origin']:_0x1e6d2b[_0x1df323(0x1b3)][_0x1df323(0x23d)]=_0x1e6d2b[_0x1df323(0x22d)]),(_0x2f1372[_0x1df323(0x179)]||_0x2f1372[_0x1df323(0x1c9)])&&(_0x1e6d2b[_0x1df323(0x16e)]=_0x2f1372[_0x1df323(0x179)]+':'+_0x2f1372['password']),_0x232e11){const _0x5e097c=_0x1e6d2b[_0x1df323(0x1aa)][_0x1df323(0x272)](':');_0x1e6d2b['socketPath']=_0x5e097c[0x0],_0x1e6d2b[_0x1df323(0x1aa)]=_0x5e097c[0x1];}let _0x3f3678;if(_0x1e6d2b[_0x1df323(0x168)]){if(_0x5524b6[_0x1df323(0x1d5)]===0x0){_0x5524b6[_0x1df323(0x144)]=_0x232e11,_0x5524b6[_0x1df323(0x2c6)]=_0x39c8b,_0x5524b6['_originalHostOrSocketPath']=_0x232e11?_0x1e6d2b[_0x1df323(0x151)]:_0x2f1372[_0x1df323(0x1e5)];const _0x289647=_0xd977f8&&_0xd977f8['headers'];if(_0xd977f8={..._0xd977f8,'headers':{}},_0x289647){for(const [_0x1664ba,_0x286ddd]of Object[_0x1df323(0x180)](_0x289647))_0xd977f8[_0x1df323(0x1b3)][_0x1664ba['toLowerCase']()]=_0x286ddd;}}else{if(_0x5524b6['listenerCount'](_0x1df323(0x260))===0x0){const _0x202a9c=_0x232e11?_0x5524b6[_0x1df323(0x144)]?_0x1e6d2b[_0x1df323(0x151)]===_0x5524b6['_originalHostOrSocketPath']:!0x1:_0x5524b6['_originalIpc']?!0x1:_0x2f1372[_0x1df323(0x1e5)]===_0x5524b6[_0x1df323(0x1f1)];(!_0x202a9c||_0x5524b6[_0x1df323(0x2c6)]&&!_0x39c8b)&&(delete _0x1e6d2b[_0x1df323(0x1b3)]['authorization'],delete _0x1e6d2b[_0x1df323(0x1b3)][_0x1df323(0x142)],_0x202a9c||delete _0x1e6d2b[_0x1df323(0x1b3)]['host'],_0x1e6d2b[_0x1df323(0x16e)]=void 0x0);}}_0x1e6d2b[_0x1df323(0x16e)]&&!_0xd977f8[_0x1df323(0x1b3)][_0x1df323(0x2de)]&&(_0xd977f8['headers'][_0x1df323(0x2de)]=_0x1df323(0x230)+Buffer[_0x1df323(0x27f)](_0x1e6d2b[_0x1df323(0x16e)])[_0x1df323(0x217)]('base64')),_0x3f3678=_0x5524b6[_0x1df323(0x2cc)]=_0x55bf0f(_0x1e6d2b),_0x5524b6[_0x1df323(0x1d5)]&&_0x5524b6[_0x1df323(0x1dd)](_0x1df323(0x260),_0x5524b6[_0x1df323(0x252)],_0x3f3678);}else _0x3f3678=_0x5524b6[_0x1df323(0x2cc)]=_0x55bf0f(_0x1e6d2b);_0x1e6d2b[_0x1df323(0x136)]&&_0x3f3678['on'](_0x1df323(0x136),()=>{const _0x2a331f=_0x1df323;_0x229dd4(_0x5524b6,_0x3f3678,_0x2a331f(0x135));}),_0x3f3678['on'](_0x1df323(0x223),_0x477346=>{const _0x56c7eb=_0x1df323;_0x3f3678===null||_0x3f3678[_0xee7976]||(_0x3f3678=_0x5524b6[_0x56c7eb(0x2cc)]=null,_0x4a7c37(_0x5524b6,_0x477346));}),_0x3f3678['on'](_0x1df323(0x295),_0x49ba05=>{const _0x3fc38b=_0x1df323,_0x3d3539=_0x49ba05['headers'][_0x3fc38b(0x191)],_0x307c48=_0x49ba05[_0x3fc38b(0x17a)];if(_0x3d3539&&_0x1e6d2b['followRedirects']&&_0x307c48>=0x12c&&_0x307c48<0x190){if(++_0x5524b6[_0x3fc38b(0x1d5)]>_0x1e6d2b[_0x3fc38b(0x17f)]){_0x229dd4(_0x5524b6,_0x3f3678,'Maximum\x20redirects\x20exceeded');return;}_0x3f3678[_0x3fc38b(0x1ff)]();let _0x44c664;try{_0x44c664=new _0x39d5f8(_0x3d3539,_0xf17edf);}catch{const _0xc1274f=new SyntaxError(_0x3fc38b(0x183)+_0x3d3539);_0x4a7c37(_0x5524b6,_0xc1274f);return;}_0x1817a1(_0x5524b6,_0x44c664,_0x3bf5cf,_0xd977f8);}else _0x5524b6[_0x3fc38b(0x1dd)](_0x3fc38b(0x227),_0x3f3678,_0x49ba05)||_0x229dd4(_0x5524b6,_0x3f3678,'Unexpected\x20server\x20response:\x20'+_0x49ba05[_0x3fc38b(0x17a)]);}),_0x3f3678['on'](_0x1df323(0x1ab),(_0x2dfe99,_0x12f582,_0x3c2a44)=>{const _0x2a112f=_0x1df323;if(_0x5524b6['emit'](_0x2a112f(0x1ab),_0x2dfe99),_0x5524b6[_0x2a112f(0x1bb)]!==_0x117a9f[_0x2a112f(0x2df)])return;_0x3f3678=_0x5524b6['_req']=null;const _0x46879f=_0x2dfe99[_0x2a112f(0x1b3)][_0x2a112f(0x1ab)];if(_0x46879f===void 0x0||_0x46879f[_0x2a112f(0x27e)]()!=='websocket'){_0x229dd4(_0x5524b6,_0x12f582,'Invalid\x20Upgrade\x20header');return;}const _0x5d1eac=_0x3e4b43(_0x2a112f(0x2ac))[_0x2a112f(0x16d)](_0x2d241f+_0x4b06ce)[_0x2a112f(0x2b6)](_0x2a112f(0x203));if(_0x2dfe99['headers'][_0x2a112f(0x115)]!==_0x5d1eac){_0x229dd4(_0x5524b6,_0x12f582,_0x2a112f(0x14c));return;}const _0x231b60=_0x2dfe99['headers']['sec-websocket-protocol'];let _0x598849;if(_0x231b60!==void 0x0?_0xd91d07[_0x2a112f(0x211)]?_0xd91d07[_0x2a112f(0x1c4)](_0x231b60)||(_0x598849='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x598849=_0x2a112f(0x26e):_0xd91d07[_0x2a112f(0x211)]&&(_0x598849=_0x2a112f(0x206)),_0x598849){_0x229dd4(_0x5524b6,_0x12f582,_0x598849);return;}_0x231b60&&(_0x5524b6['_protocol']=_0x231b60);const _0xd63f23=_0x2dfe99[_0x2a112f(0x1b3)][_0x2a112f(0x1b1)];if(_0xd63f23!==void 0x0){if(!_0x35042d){_0x229dd4(_0x5524b6,_0x12f582,_0x2a112f(0x165));return;}let _0x5a4ccb;try{_0x5a4ccb=_0x1931ca(_0xd63f23);}catch{_0x229dd4(_0x5524b6,_0x12f582,_0x2a112f(0x276));return;}const _0x1290c4=Object[_0x2a112f(0x130)](_0x5a4ccb);if(_0x1290c4[_0x2a112f(0x18d)]!==0x1||_0x1290c4[0x0]!==_0x4725ca[_0x2a112f(0x2bb)]){_0x229dd4(_0x5524b6,_0x12f582,_0x2a112f(0x27b));return;}try{_0x35042d[_0x2a112f(0x12e)](_0x5a4ccb[_0x4725ca[_0x2a112f(0x2bb)]]);}catch{_0x229dd4(_0x5524b6,_0x12f582,_0x2a112f(0x276));return;}_0x5524b6['_extensions'][_0x4725ca[_0x2a112f(0x2bb)]]=_0x35042d;}_0x5524b6[_0x2a112f(0x24f)](_0x12f582,_0x3c2a44,{'allowSynchronousEvents':_0x1e6d2b['allowSynchronousEvents'],'generateMask':_0x1e6d2b[_0x2a112f(0x275)],'maxPayload':_0x1e6d2b[_0x2a112f(0x140)],'skipUTF8Validation':_0x1e6d2b[_0x2a112f(0x253)]});}),_0x1e6d2b[_0x1df323(0x1cc)]?_0x1e6d2b['finishRequest'](_0x3f3678,_0x5524b6):_0x3f3678[_0x1df323(0x158)]();}function _0x4a7c37(_0x9f00f8,_0x2bbc1b){const _0x2b2c35=_0x50526c;_0x9f00f8[_0x2b2c35(0x2e3)]=_0x117a9f[_0x2b2c35(0x2bd)],_0x9f00f8[_0x2b2c35(0x134)]=!0x0,_0x9f00f8['emit'](_0x2b2c35(0x223),_0x2bbc1b),_0x9f00f8[_0x2b2c35(0x1b5)]();}function _0x4c23e2(_0x4d0fd){const _0x4c9fb7=_0x50526c;return _0x4d0fd[_0x4c9fb7(0x1aa)]=_0x4d0fd[_0x4c9fb7(0x151)],_0x37b83f[_0x4c9fb7(0x277)](_0x4d0fd);}function _0x54f229(_0x2d17c4){const _0x7be989=_0x50526c;return _0x2d17c4[_0x7be989(0x1aa)]=void 0x0,!_0x2d17c4[_0x7be989(0x244)]&&_0x2d17c4[_0x7be989(0x244)]!==''&&(_0x2d17c4[_0x7be989(0x244)]=_0x37b83f[_0x7be989(0x290)](_0x2d17c4[_0x7be989(0x1e5)])?'':_0x2d17c4['host']),_0x431acf[_0x7be989(0x277)](_0x2d17c4);}function _0x229dd4(_0x535aa6,_0x24869f,_0x1dc72d){const _0x175c41=_0x50526c;_0x535aa6[_0x175c41(0x2e3)]=_0x117a9f[_0x175c41(0x2bd)];const _0x58280e=new Error(_0x1dc72d);Error[_0x175c41(0x258)](_0x58280e,_0x229dd4),_0x24869f[_0x175c41(0x2a1)]?(_0x24869f[_0xee7976]=!0x0,_0x24869f[_0x175c41(0x1ff)](),_0x24869f[_0x175c41(0x188)]&&!_0x24869f[_0x175c41(0x188)][_0x175c41(0x265)]&&_0x24869f[_0x175c41(0x188)][_0x175c41(0x2aa)](),process[_0x175c41(0x121)](_0x4a7c37,_0x535aa6,_0x58280e)):(_0x24869f[_0x175c41(0x2aa)](_0x58280e),_0x24869f[_0x175c41(0x234)](_0x175c41(0x223),_0x535aa6[_0x175c41(0x1dd)][_0x175c41(0x284)](_0x535aa6,_0x175c41(0x223))),_0x24869f[_0x175c41(0x234)](_0x175c41(0x208),_0x535aa6[_0x175c41(0x1b5)][_0x175c41(0x284)](_0x535aa6)));}function _0x2b03d8(_0x474ae5,_0x512b16,_0x426b4f){const _0x4bbfd5=_0x50526c;if(_0x512b16){const _0xd5c5ac=_0x2e1691(_0x512b16)?_0x512b16[_0x4bbfd5(0x211)]:_0x297072(_0x512b16)[_0x4bbfd5(0x18d)];_0x474ae5[_0x4bbfd5(0x1fa)]?_0x474ae5[_0x4bbfd5(0x2b3)][_0x4bbfd5(0x210)]+=_0xd5c5ac:_0x474ae5['_bufferedAmount']+=_0xd5c5ac;}if(_0x426b4f){const _0x19ce44=new Error(_0x4bbfd5(0x274)+_0x474ae5['readyState']+'\x20('+_0xc9b1aa[_0x474ae5['readyState']]+')');process[_0x4bbfd5(0x121)](_0x426b4f,_0x19ce44);}}function _0x24ee75(_0x22ad73,_0x2b2455){const _0x59b250=_0x50526c,_0x29bdcf=this[_0xff6ed];_0x29bdcf[_0x59b250(0x2a2)]=!0x0,_0x29bdcf[_0x59b250(0x200)]=_0x2b2455,_0x29bdcf[_0x59b250(0x120)]=_0x22ad73,_0x29bdcf[_0x59b250(0x1fa)][_0xff6ed]!==void 0x0&&(_0x29bdcf[_0x59b250(0x1fa)][_0x59b250(0x14b)](_0x59b250(0x157),_0x239aba),process[_0x59b250(0x121)](_0xed9dc0,_0x29bdcf[_0x59b250(0x1fa)]),_0x22ad73===0x3ed?_0x29bdcf[_0x59b250(0x208)]():_0x29bdcf['close'](_0x22ad73,_0x2b2455));}function _0x14b3f1(){const _0x24caaa=_0x50526c,_0x2b4d84=this[_0xff6ed];_0x2b4d84['isPaused']||_0x2b4d84[_0x24caaa(0x1fa)][_0x24caaa(0x21c)]();}function _0x24867e(_0x10bae5){const _0x4ee6f8=_0x50526c,_0xeca889=this[_0xff6ed];_0xeca889['_socket'][_0xff6ed]!==void 0x0&&(_0xeca889[_0x4ee6f8(0x1fa)][_0x4ee6f8(0x14b)]('data',_0x239aba),process[_0x4ee6f8(0x121)](_0xed9dc0,_0xeca889[_0x4ee6f8(0x1fa)]),_0xeca889[_0x4ee6f8(0x208)](_0x10bae5[_0x18223e])),_0xeca889[_0x4ee6f8(0x134)]||(_0xeca889[_0x4ee6f8(0x134)]=!0x0,_0xeca889[_0x4ee6f8(0x1dd)](_0x4ee6f8(0x223),_0x10bae5));}function _0x2bdd90(){const _0x5695dd=_0x50526c;this[_0xff6ed][_0x5695dd(0x1b5)]();}function _0x2c67a2(_0x421b86,_0x3d8fb3){const _0x5c1199=_0x50526c;this[_0xff6ed][_0x5c1199(0x1dd)](_0x5c1199(0x160),_0x421b86,_0x3d8fb3);}function _0x4358c0(_0x1cc96d){const _0x11f215=_0x50526c,_0x4abd99=this[_0xff6ed];_0x4abd99[_0x11f215(0x245)]&&_0x4abd99[_0x11f215(0x26b)](_0x1cc96d,!this[_0x11f215(0x19e)],_0x6cec8d),_0x4abd99['emit'](_0x11f215(0x214),_0x1cc96d);}function _0x492cb4(_0x508b5d){const _0x2c6ad2=_0x50526c;this[_0xff6ed][_0x2c6ad2(0x1dd)]('pong',_0x508b5d);}function _0xed9dc0(_0x451776){const _0x153b21=_0x50526c;_0x451776[_0x153b21(0x21c)]();}function _0x51196a(_0x5285e1){const _0x1e6756=_0x50526c,_0x1837c0=this[_0xff6ed];_0x1837c0['readyState']!==_0x117a9f['CLOSED']&&(_0x1837c0[_0x1e6756(0x1bb)]===_0x117a9f[_0x1e6756(0x21d)]&&(_0x1837c0[_0x1e6756(0x2e3)]=_0x117a9f['CLOSING'],_0xa7f002(_0x1837c0)),this[_0x1e6756(0x1fa)][_0x1e6756(0x158)](),_0x1837c0[_0x1e6756(0x134)]||(_0x1837c0[_0x1e6756(0x134)]=!0x0,_0x1837c0['emit'](_0x1e6756(0x223),_0x5285e1)));}function _0xa7f002(_0x40392f){const _0x344f16=_0x50526c;_0x40392f[_0x344f16(0x1ac)]=setTimeout(_0x40392f[_0x344f16(0x1fa)]['destroy'][_0x344f16(0x284)](_0x40392f[_0x344f16(0x1fa)]),_0x28ca40);}function _0x280c45(){const _0x531e92=_0x50526c,_0xac8791=this[_0xff6ed];this[_0x531e92(0x14b)](_0x531e92(0x208),_0x280c45),this[_0x531e92(0x14b)](_0x531e92(0x157),_0x239aba),this['removeListener'](_0x531e92(0x158),_0x473383),_0xac8791[_0x531e92(0x2e3)]=_0x117a9f[_0x531e92(0x2bd)];let _0x5ea6d0;!this[_0x531e92(0x170)][_0x531e92(0x1b7)]&&!_0xac8791[_0x531e92(0x2a2)]&&!_0xac8791[_0x531e92(0x148)][_0x531e92(0x1f6)]['errorEmitted']&&(_0x5ea6d0=_0xac8791[_0x531e92(0x1fa)][_0x531e92(0x1e8)]())!==null&&_0xac8791[_0x531e92(0x148)][_0x531e92(0x23f)](_0x5ea6d0),_0xac8791['_receiver'][_0x531e92(0x158)](),this[_0xff6ed]=void 0x0,clearTimeout(_0xac8791[_0x531e92(0x1ac)]),_0xac8791[_0x531e92(0x148)][_0x531e92(0x1f6)][_0x531e92(0x204)]||_0xac8791[_0x531e92(0x148)][_0x531e92(0x1f6)]['errorEmitted']?_0xac8791['emitClose']():(_0xac8791[_0x531e92(0x148)]['on'](_0x531e92(0x223),_0x2bdd90),_0xac8791[_0x531e92(0x148)]['on'](_0x531e92(0x13b),_0x2bdd90));}function _0x239aba(_0x4a6080){const _0x3a6ec0=_0x50526c;this[_0xff6ed][_0x3a6ec0(0x148)]['write'](_0x4a6080)||this[_0x3a6ec0(0x233)]();}function _0x473383(){const _0xe22054=_0x50526c,_0x2a7a66=this[_0xff6ed];_0x2a7a66[_0xe22054(0x2e3)]=_0x117a9f[_0xe22054(0x2bd)],_0x2a7a66[_0xe22054(0x148)]['end'](),this['end']();}function _0x42d5df(){const _0x4f31dc=_0x50526c,_0x3067dd=this[_0xff6ed];this[_0x4f31dc(0x14b)](_0x4f31dc(0x223),_0x42d5df),this['on']('error',_0x6cec8d),_0x3067dd&&(_0x3067dd['_readyState']=_0x117a9f[_0x4f31dc(0x2bd)],this[_0x4f31dc(0x2aa)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x27484c}=oe;function _0x371c4e(_0x23b784){const _0xaed7a0=_0x1ea7;_0x23b784['emit'](_0xaed7a0(0x208));}function _0x272182(){const _0x29af86=_0x1ea7;!this[_0x29af86(0x265)]&&this['_writableState'][_0x29af86(0x204)]&&this[_0x29af86(0x2aa)]();}function _0x19bdcd(_0x36863f){const _0x59736b=_0x1ea7;this[_0x59736b(0x14b)](_0x59736b(0x223),_0x19bdcd),this[_0x59736b(0x2aa)](),this[_0x59736b(0x2c2)](_0x59736b(0x223))===0x0&&this[_0x59736b(0x1dd)](_0x59736b(0x223),_0x36863f);}function _0x5cad1c(_0x222064,_0x1ad905){const _0x4d3cfb=_0x1ea7;let _0x2539f9=!0x0;const _0x593d27=new _0x27484c({..._0x1ad905,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x222064['on']('message',function(_0x504f67,_0xec78da){const _0x467d43=_0x1ea7,_0x4c6282=!_0xec78da&&_0x593d27[_0x467d43(0x170)]['objectMode']?_0x504f67[_0x467d43(0x217)]():_0x504f67;_0x593d27['push'](_0x4c6282)||_0x222064['pause']();}),_0x222064[_0x4d3cfb(0x234)](_0x4d3cfb(0x223),function(_0x133498){const _0x5406d2=_0x4d3cfb;_0x593d27[_0x5406d2(0x265)]||(_0x2539f9=!0x1,_0x593d27[_0x5406d2(0x2aa)](_0x133498));}),_0x222064[_0x4d3cfb(0x234)](_0x4d3cfb(0x208),function(){const _0x4cbc8f=_0x4d3cfb;_0x593d27[_0x4cbc8f(0x265)]||_0x593d27[_0x4cbc8f(0x123)](null);}),_0x593d27[_0x4d3cfb(0x1fe)]=function(_0x3627d7,_0x2577d6){const _0x412068=_0x4d3cfb;if(_0x222064[_0x412068(0x1bb)]===_0x222064['CLOSED']){_0x2577d6(_0x3627d7),process['nextTick'](_0x371c4e,_0x593d27);return;}let _0x47447a=!0x1;_0x222064[_0x412068(0x234)](_0x412068(0x223),function(_0x172384){_0x47447a=!0x0,_0x2577d6(_0x172384);}),_0x222064[_0x412068(0x234)](_0x412068(0x208),function(){const _0x46dbf7=_0x412068;_0x47447a||_0x2577d6(_0x3627d7),process[_0x46dbf7(0x121)](_0x371c4e,_0x593d27);}),_0x2539f9&&_0x222064['terminate']();},_0x593d27[_0x4d3cfb(0x186)]=function(_0x535cc4){const _0x3327d2=_0x4d3cfb;if(_0x222064[_0x3327d2(0x1bb)]===_0x222064[_0x3327d2(0x2df)]){_0x222064[_0x3327d2(0x234)](_0x3327d2(0x2ab),function(){_0x593d27['_final'](_0x535cc4);});return;}_0x222064['_socket']!==null&&(_0x222064[_0x3327d2(0x1fa)]['_writableState'][_0x3327d2(0x204)]?(_0x535cc4(),_0x593d27[_0x3327d2(0x170)][_0x3327d2(0x1b7)]&&_0x593d27[_0x3327d2(0x2aa)]()):(_0x222064['_socket'][_0x3327d2(0x234)](_0x3327d2(0x13b),function(){_0x535cc4();}),_0x222064[_0x3327d2(0x208)]()));},_0x593d27[_0x4d3cfb(0x149)]=function(){const _0x2e7cf9=_0x4d3cfb;_0x222064['isPaused']&&_0x222064[_0x2e7cf9(0x21c)]();},_0x593d27[_0x4d3cfb(0x1f7)]=function(_0x4d27fe,_0x26aeae,_0x11f1f2){const _0x6b7d72=_0x4d3cfb;if(_0x222064[_0x6b7d72(0x1bb)]===_0x222064['CONNECTING']){_0x222064[_0x6b7d72(0x234)](_0x6b7d72(0x2ab),function(){const _0x37482f=_0x6b7d72;_0x593d27[_0x37482f(0x1f7)](_0x4d27fe,_0x26aeae,_0x11f1f2);});return;}_0x222064[_0x6b7d72(0x164)](_0x4d27fe,_0x11f1f2);},_0x593d27['on']('end',_0x272182),_0x593d27['on'](_0x4d3cfb(0x223),_0x19bdcd),_0x593d27;}return Oe=_0x5cad1c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2adb49}=ae();function _0x69fc95(_0x313dd0){const _0x3d80c9=_0x1ea7,_0x3f9571=new Set();let _0xa65b2=-0x1,_0x128c6c=-0x1,_0x57fb0d=0x0;for(_0x57fb0d;_0x57fb0d<_0x313dd0[_0x3d80c9(0x18d)];_0x57fb0d++){const _0x31326c=_0x313dd0['charCodeAt'](_0x57fb0d);if(_0x128c6c===-0x1&&_0x2adb49[_0x31326c]===0x1)_0xa65b2===-0x1&&(_0xa65b2=_0x57fb0d);else{if(_0x57fb0d!==0x0&&(_0x31326c===0x20||_0x31326c===0x9))_0x128c6c===-0x1&&_0xa65b2!==-0x1&&(_0x128c6c=_0x57fb0d);else{if(_0x31326c===0x2c){if(_0xa65b2===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x57fb0d);_0x128c6c===-0x1&&(_0x128c6c=_0x57fb0d);const _0x524759=_0x313dd0['slice'](_0xa65b2,_0x128c6c);if(_0x3f9571[_0x3d80c9(0x1c4)](_0x524759))throw new SyntaxError(_0x3d80c9(0x215)+_0x524759+'\x22\x20subprotocol\x20is\x20duplicated');_0x3f9571[_0x3d80c9(0x2d5)](_0x524759),_0xa65b2=_0x128c6c=-0x1;}else throw new SyntaxError(_0x3d80c9(0x198)+_0x57fb0d);}}}if(_0xa65b2===-0x1||_0x128c6c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x56c895=_0x313dd0[_0x3d80c9(0x261)](_0xa65b2,_0x57fb0d);if(_0x3f9571[_0x3d80c9(0x1c4)](_0x56c895))throw new SyntaxError(_0x3d80c9(0x215)+_0x56c895+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3f9571[_0x3d80c9(0x2d5)](_0x56c895),_0x3f9571;}return Ce={'parse':_0x69fc95},Ce;}var Te,rt;function Ft(){const _0x25c684=_0x1b6638;if(rt)return Te;rt=0x1;const _0x583f8d=nt,_0x11e5d2=ot,{Duplex:_0xdd3a23}=oe,{createHash:_0x267834}=Le,_0x53f208=ct(),_0x18de78=he(),_0x2468dd=At(),_0x24ac8c=Pe(),{GUID:_0x16acba,kWebSocket:_0x5646c2}=H(),_0x3249b5=/^[+/0-9A-Za-z]{22}==$/,_0x419a29=0x0,_0x4e78cd=0x1,_0x286c35=0x2;class _0x3dfac4 extends _0x583f8d{constructor(_0x2d46b2,_0x15e683){const _0xdf78a5=_0x1ea7;if(super(),_0x2d46b2={'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':_0x24ac8c,..._0x2d46b2},_0x2d46b2[_0xdf78a5(0x266)]==null&&!_0x2d46b2[_0xdf78a5(0x190)]&&!_0x2d46b2[_0xdf78a5(0x195)]||_0x2d46b2[_0xdf78a5(0x266)]!=null&&(_0x2d46b2[_0xdf78a5(0x190)]||_0x2d46b2[_0xdf78a5(0x195)])||_0x2d46b2[_0xdf78a5(0x190)]&&_0x2d46b2['noServer'])throw new TypeError(_0xdf78a5(0x13e));if(_0x2d46b2[_0xdf78a5(0x266)]!=null?(this[_0xdf78a5(0x17c)]=_0x11e5d2[_0xdf78a5(0x24b)]((_0x17a562,_0x4c0f8e)=>{const _0x209826=_0xdf78a5,_0x2fa08a=_0x11e5d2[_0x209826(0x1ed)][0x1aa];_0x4c0f8e[_0x209826(0x1d8)](0x1aa,{'Content-Length':_0x2fa08a[_0x209826(0x18d)],'Content-Type':_0x209826(0x163)}),_0x4c0f8e[_0x209826(0x158)](_0x2fa08a);}),this[_0xdf78a5(0x17c)][_0xdf78a5(0x197)](_0x2d46b2[_0xdf78a5(0x266)],_0x2d46b2['host'],_0x2d46b2[_0xdf78a5(0x246)],_0x15e683)):_0x2d46b2['server']&&(this[_0xdf78a5(0x17c)]=_0x2d46b2[_0xdf78a5(0x190)]),this[_0xdf78a5(0x17c)]){const _0x24ed43=this[_0xdf78a5(0x1dd)][_0xdf78a5(0x284)](this,_0xdf78a5(0x1ec));this[_0xdf78a5(0x193)]=_0x150f5a(this[_0xdf78a5(0x17c)],{'listening':this['emit'][_0xdf78a5(0x284)](this,_0xdf78a5(0x1c3)),'error':this['emit']['bind'](this,_0xdf78a5(0x223)),'upgrade':(_0x1b615f,_0x5d3bed,_0x1af134)=>{this['handleUpgrade'](_0x1b615f,_0x5d3bed,_0x1af134,_0x24ed43);}});}_0x2d46b2[_0xdf78a5(0x238)]===!0x0&&(_0x2d46b2[_0xdf78a5(0x238)]={}),_0x2d46b2[_0xdf78a5(0x162)]&&(this[_0xdf78a5(0x1f4)]=new Set(),this[_0xdf78a5(0x1d4)]=!0x1),this[_0xdf78a5(0x259)]=_0x2d46b2,this[_0xdf78a5(0x1b8)]=_0x419a29;}[_0x25c684(0x2db)](){const _0x268bd4=_0x25c684;if(this[_0x268bd4(0x259)][_0x268bd4(0x195)])throw new Error(_0x268bd4(0x2cd));return this[_0x268bd4(0x17c)]?this[_0x268bd4(0x17c)][_0x268bd4(0x2db)]():null;}[_0x25c684(0x208)](_0x56e1f0){const _0xd7a962=_0x25c684;if(this[_0xd7a962(0x1b8)]===_0x286c35){_0x56e1f0&&this[_0xd7a962(0x234)]('close',()=>{const _0x327f5b=_0xd7a962;_0x56e1f0(new Error(_0x327f5b(0x237)));}),process['nextTick'](_0x5a8b99,this);return;}if(_0x56e1f0&&this['once']('close',_0x56e1f0),this[_0xd7a962(0x1b8)]!==_0x4e78cd){if(this[_0xd7a962(0x1b8)]=_0x4e78cd,this[_0xd7a962(0x259)]['noServer']||this[_0xd7a962(0x259)][_0xd7a962(0x190)])this[_0xd7a962(0x17c)]&&(this[_0xd7a962(0x193)](),this[_0xd7a962(0x193)]=this[_0xd7a962(0x17c)]=null),this[_0xd7a962(0x1f4)]?this[_0xd7a962(0x1f4)][_0xd7a962(0x211)]?this[_0xd7a962(0x1d4)]=!0x0:process['nextTick'](_0x5a8b99,this):process[_0xd7a962(0x121)](_0x5a8b99,this);else{const _0x5bad01=this[_0xd7a962(0x17c)];this[_0xd7a962(0x193)](),this[_0xd7a962(0x193)]=this[_0xd7a962(0x17c)]=null,_0x5bad01['close'](()=>{_0x5a8b99(this);});}}}[_0x25c684(0x131)](_0xa6d278){const _0x147d93=_0x25c684;if(this['options'][_0x147d93(0x1aa)]){const _0xcd3b15=_0xa6d278[_0x147d93(0x252)][_0x147d93(0x1ee)]('?');if((_0xcd3b15!==-0x1?_0xa6d278['url'][_0x147d93(0x261)](0x0,_0xcd3b15):_0xa6d278[_0x147d93(0x252)])!==this[_0x147d93(0x259)][_0x147d93(0x1aa)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2f6749,_0x527313,_0x188624,_0x3af6e8){const _0x4a8c60=_0x25c684;_0x527313['on']('error',_0x27abb8);const _0x1a3a17=_0x2f6749[_0x4a8c60(0x1b3)][_0x4a8c60(0x296)],_0x20ca3f=_0x2f6749[_0x4a8c60(0x1b3)][_0x4a8c60(0x1ab)],_0x317d24=+_0x2f6749[_0x4a8c60(0x1b3)][_0x4a8c60(0x26a)];if(_0x2f6749[_0x4a8c60(0x250)]!==_0x4a8c60(0x2b2)){_0x2d8171(this,_0x2f6749,_0x527313,0x195,_0x4a8c60(0x28c));return;}if(_0x20ca3f===void 0x0||_0x20ca3f[_0x4a8c60(0x27e)]()!=='websocket'){_0x2d8171(this,_0x2f6749,_0x527313,0x190,_0x4a8c60(0x1c1));return;}if(_0x1a3a17===void 0x0||!_0x3249b5[_0x4a8c60(0x1b4)](_0x1a3a17)){_0x2d8171(this,_0x2f6749,_0x527313,0x190,_0x4a8c60(0x1b6));return;}if(_0x317d24!==0x8&&_0x317d24!==0xd){_0x2d8171(this,_0x2f6749,_0x527313,0x190,_0x4a8c60(0x2ce));return;}if(!this[_0x4a8c60(0x131)](_0x2f6749)){_0x4ce7e6(_0x527313,0x190);return;}const _0x191193=_0x2f6749[_0x4a8c60(0x1b3)][_0x4a8c60(0x1e7)];let _0x58318c=new Set();if(_0x191193!==void 0x0)try{_0x58318c=_0x2468dd[_0x4a8c60(0x1f0)](_0x191193);}catch{_0x2d8171(this,_0x2f6749,_0x527313,0x190,_0x4a8c60(0x1d3));return;}const _0x2bc5a8=_0x2f6749[_0x4a8c60(0x1b3)]['sec-websocket-extensions'],_0x29881={};if(this['options'][_0x4a8c60(0x238)]&&_0x2bc5a8!==void 0x0){const _0x336006=new _0x18de78(this['options'][_0x4a8c60(0x238)],!0x0,this[_0x4a8c60(0x259)][_0x4a8c60(0x140)]);try{const _0x56abba=_0x53f208[_0x4a8c60(0x1f0)](_0x2bc5a8);_0x56abba[_0x18de78[_0x4a8c60(0x2bb)]]&&(_0x336006[_0x4a8c60(0x12e)](_0x56abba[_0x18de78[_0x4a8c60(0x2bb)]]),_0x29881[_0x18de78[_0x4a8c60(0x2bb)]]=_0x336006);}catch{_0x2d8171(this,_0x2f6749,_0x527313,0x190,_0x4a8c60(0x1db));return;}}if(this[_0x4a8c60(0x259)]['verifyClient']){const _0x7d0ecc={'origin':_0x2f6749[_0x4a8c60(0x1b3)][''+(_0x317d24===0x8?_0x4a8c60(0x1d1):_0x4a8c60(0x22d))],'secure':!!(_0x2f6749[_0x4a8c60(0x188)][_0x4a8c60(0x22a)]||_0x2f6749[_0x4a8c60(0x188)][_0x4a8c60(0x1c0)]),'req':_0x2f6749};if(this[_0x4a8c60(0x259)]['verifyClient']['length']===0x2){this[_0x4a8c60(0x259)][_0x4a8c60(0x27d)](_0x7d0ecc,(_0x74d34f,_0x55d183,_0x3f1f4a,_0x15b15f)=>{const _0x2846fe=_0x4a8c60;if(!_0x74d34f)return _0x4ce7e6(_0x527313,_0x55d183||0x191,_0x3f1f4a,_0x15b15f);this[_0x2846fe(0x28b)](_0x29881,_0x1a3a17,_0x58318c,_0x2f6749,_0x527313,_0x188624,_0x3af6e8);});return;}if(!this[_0x4a8c60(0x259)][_0x4a8c60(0x27d)](_0x7d0ecc))return _0x4ce7e6(_0x527313,0x191);}this[_0x4a8c60(0x28b)](_0x29881,_0x1a3a17,_0x58318c,_0x2f6749,_0x527313,_0x188624,_0x3af6e8);}[_0x25c684(0x28b)](_0x4adbf4,_0x3a39fd,_0x48bff6,_0x9ea479,_0x2215a2,_0x2e0fc1,_0x1bc6c2){const _0x54f3fe=_0x25c684;if(!_0x2215a2[_0x54f3fe(0x1cf)]||!_0x2215a2['writable'])return _0x2215a2[_0x54f3fe(0x2aa)]();if(_0x2215a2[_0x5646c2])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x54f3fe(0x1b8)]>_0x419a29)return _0x4ce7e6(_0x2215a2,0x1f7);const _0xd2229b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x54f3fe(0x24c),_0x54f3fe(0x12f),_0x54f3fe(0x19b)+_0x267834('sha1')[_0x54f3fe(0x16d)](_0x3a39fd+_0x16acba)[_0x54f3fe(0x2b6)]('base64')],_0x128e4f=new this[(_0x54f3fe(0x259))]['WebSocket'](null,void 0x0,this[_0x54f3fe(0x259)]);if(_0x48bff6['size']){const _0x4fe086=this['options'][_0x54f3fe(0x177)]?this[_0x54f3fe(0x259)]['handleProtocols'](_0x48bff6,_0x9ea479):_0x48bff6['values']()[_0x54f3fe(0x117)]()[_0x54f3fe(0x202)];_0x4fe086&&(_0xd2229b[_0x54f3fe(0x123)]('Sec-WebSocket-Protocol:\x20'+_0x4fe086),_0x128e4f[_0x54f3fe(0x25a)]=_0x4fe086);}if(_0x4adbf4[_0x18de78[_0x54f3fe(0x2bb)]]){const _0x5a33f4=_0x4adbf4[_0x18de78[_0x54f3fe(0x2bb)]][_0x54f3fe(0x28f)],_0x3e7e92=_0x53f208[_0x54f3fe(0x118)]({[_0x18de78[_0x54f3fe(0x2bb)]]:[_0x5a33f4]});_0xd2229b[_0x54f3fe(0x123)]('Sec-WebSocket-Extensions:\x20'+_0x3e7e92),_0x128e4f['_extensions']=_0x4adbf4;}this[_0x54f3fe(0x1dd)](_0x54f3fe(0x1b3),_0xd2229b,_0x9ea479),_0x2215a2[_0x54f3fe(0x23f)](_0xd2229b[_0x54f3fe(0x1de)]('\x0d\x0a')[_0x54f3fe(0x2ba)]('\x0d\x0a')),_0x2215a2[_0x54f3fe(0x14b)](_0x54f3fe(0x223),_0x27abb8),_0x128e4f[_0x54f3fe(0x24f)](_0x2215a2,_0x2e0fc1,{'allowSynchronousEvents':this[_0x54f3fe(0x259)][_0x54f3fe(0x216)],'maxPayload':this['options'][_0x54f3fe(0x140)],'skipUTF8Validation':this['options'][_0x54f3fe(0x253)]}),this[_0x54f3fe(0x1f4)]&&(this[_0x54f3fe(0x1f4)]['add'](_0x128e4f),_0x128e4f['on'](_0x54f3fe(0x208),()=>{const _0x3fe042=_0x54f3fe;this[_0x3fe042(0x1f4)][_0x3fe042(0x2d3)](_0x128e4f),this[_0x3fe042(0x1d4)]&&!this['clients'][_0x3fe042(0x211)]&&process['nextTick'](_0x5a8b99,this);})),_0x1bc6c2(_0x128e4f,_0x9ea479);}}Te=_0x3dfac4;function _0x150f5a(_0x1d1636,_0x285416){const _0x279580=_0x25c684;for(const _0x182ae8 of Object[_0x279580(0x130)](_0x285416))_0x1d1636['on'](_0x182ae8,_0x285416[_0x182ae8]);return function(){const _0x13b015=_0x279580;for(const _0x41d39e of Object['keys'](_0x285416))_0x1d1636[_0x13b015(0x14b)](_0x41d39e,_0x285416[_0x41d39e]);};}function _0x5a8b99(_0x5a2a4d){const _0x914302=_0x25c684;_0x5a2a4d[_0x914302(0x1b8)]=_0x286c35,_0x5a2a4d[_0x914302(0x1dd)](_0x914302(0x208));}function _0x27abb8(){const _0x42e718=_0x25c684;this[_0x42e718(0x2aa)]();}function _0x4ce7e6(_0xa42ed1,_0x4712a4,_0x4dc721,_0x2b6383){const _0x19646a=_0x25c684;_0x4dc721=_0x4dc721||_0x11e5d2[_0x19646a(0x1ed)][_0x4712a4],_0x2b6383={'Connection':_0x19646a(0x208),'Content-Type':_0x19646a(0x2e1),'Content-Length':Buffer[_0x19646a(0x205)](_0x4dc721),..._0x2b6383},_0xa42ed1[_0x19646a(0x234)](_0x19646a(0x13b),_0xa42ed1[_0x19646a(0x2aa)]),_0xa42ed1['end']('HTTP/1.1\x20'+_0x4712a4+'\x20'+_0x11e5d2[_0x19646a(0x1ed)][_0x4712a4]+'\x0d\x0a'+Object[_0x19646a(0x130)](_0x2b6383)[_0x19646a(0x161)](_0x3ff100=>_0x3ff100+':\x20'+_0x2b6383[_0x3ff100])[_0x19646a(0x2ba)]('\x0d\x0a')+_0x19646a(0x22c)+_0x4dc721);}function _0x2d8171(_0x436b98,_0x5de68b,_0x20a33c,_0x141d19,_0x22b79e){const _0x302814=_0x25c684;if(_0x436b98[_0x302814(0x2c2)](_0x302814(0x13c))){const _0x9598f1=new Error(_0x22b79e);Error[_0x302814(0x258)](_0x9598f1,_0x2d8171),_0x436b98[_0x302814(0x1dd)](_0x302814(0x13c),_0x9598f1,_0x20a33c,_0x5de68b);}else _0x4ce7e6(_0x20a33c,_0x141d19,_0x22b79e);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x24654d,_0x520679,_0x389152,_0x288bad)=>{const _0xa502ca=_0x1b6638;for(var _0x5b1afd=_0x288bad>0x1?void 0x0:_0x288bad?jt(_0x520679,_0x389152):_0x520679,_0x54b711=_0x24654d[_0xa502ca(0x18d)]-0x1,_0x2b14f8;_0x54b711>=0x0;_0x54b711--)(_0x2b14f8=_0x24654d[_0x54b711])&&(_0x5b1afd=_0x2b14f8(_0x5b1afd)||_0x5b1afd);return _0x5b1afd;},qt=(_0x4c45ad,_0x560269)=>(_0x4f742e,_0x4b011a)=>_0x560269(_0x4f742e,_0x4b011a,_0x4c45ad);let ke=class extends A[_0x1b6638(0x218)]{constructor(_0x3c3c8a){const _0x3bb971=_0x1b6638;super(),this[_0x3bb971(0x156)]=_0x3c3c8a;}[_0x1b6638(0x2be)](_0xb6e3d7){const _0x3c0561=_0x1b6638;var _0x2f1bd9;const _0xdc913b=(_0x2f1bd9=this[_0x3c0561(0x156)][_0x3c0561(0x267)](fe))==null?void 0x0:_0x2f1bd9[_0x3c0561(0x209)];try{const _0x80b5fc=new $t(_0xb6e3d7,{'headers':{..._0xdc913b}}),_0x5f0798=new A[(_0x3c0561(0x15f))]();return{'URL':_0xb6e3d7,'close':(_0x2a5fea,_0x4458c2)=>{const _0x4a238a=_0x3c0561;_0x80b5fc[_0x4a238a(0x208)](_0x2a5fea,_0x4458c2),_0x5f0798[_0x4a238a(0x20e)]();},'send':_0x49ed23=>{const _0x5677f2=_0x3c0561;_0x80b5fc[_0x5677f2(0x164)](_0x49ed23);},'open$':new V['Observable'](_0x3fcac0=>{const _0x89c7d7=_0x3c0561,_0x24cfd9=_0x3f2448=>_0x3fcac0[_0x89c7d7(0x117)](_0x3f2448);_0x80b5fc[_0x89c7d7(0x2dc)](_0x89c7d7(0x2ab),_0x24cfd9),_0x5f0798[_0x89c7d7(0x2d5)](A['toDisposable'](()=>_0x80b5fc[_0x89c7d7(0x20c)](_0x89c7d7(0x2ab),_0x24cfd9)));})[_0x3c0561(0x11a)](V['share']()),'close$':new V[(_0x3c0561(0x283))](_0x2fd505=>{const _0x86c69d=_0x3c0561,_0x34d04d=_0x296be9=>_0x2fd505['next'](_0x296be9);_0x80b5fc['addEventListener'](_0x86c69d(0x208),_0x34d04d),_0x5f0798[_0x86c69d(0x2d5)](A[_0x86c69d(0x19d)](()=>_0x80b5fc[_0x86c69d(0x20c)](_0x86c69d(0x208),_0x34d04d)));})[_0x3c0561(0x11a)](V[_0x3c0561(0x1a8)]()),'error$':new V[(_0x3c0561(0x283))](_0x53693e=>{const _0xc775a8=_0x3c0561,_0x3c6610=_0x2b9af8=>_0x53693e[_0xc775a8(0x117)](_0x2b9af8);_0x80b5fc['addEventListener'](_0xc775a8(0x223),_0x3c6610),_0x5f0798[_0xc775a8(0x2d5)](A['toDisposable'](()=>_0x80b5fc[_0xc775a8(0x20c)]('error',_0x3c6610)));})[_0x3c0561(0x11a)](V[_0x3c0561(0x1a8)]()),'message$':new V[(_0x3c0561(0x283))](_0xff4d7=>{const _0x41c3e3=_0x3c0561,_0x15fecd=_0x3d9855=>_0xff4d7[_0x41c3e3(0x117)](_0x3d9855);_0x80b5fc[_0x41c3e3(0x2dc)](_0x41c3e3(0x160),_0x15fecd),_0x5f0798[_0x41c3e3(0x2d5)](A['toDisposable'](()=>_0x80b5fc[_0x41c3e3(0x20c)](_0x41c3e3(0x160),_0x15fecd)));})[_0x3c0561(0x11a)](V[_0x3c0561(0x1a8)]())};}catch(_0xd03d55){return console[_0x3c0561(0x223)](_0xd03d55),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x1b6638(0x2d0)],Ht=(_0xe28646,_0x5e2a91,_0x4600dd)=>_0x5e2a91 in _0xe28646?Gt(_0xe28646,_0x5e2a91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4600dd}):_0xe28646[_0x5e2a91]=_0x4600dd,zt=(_0x1f123e,_0x42f61c,_0x3b3d22,_0x3ee36e)=>{for(var _0x5b5031=_0x3ee36e>0x1?void 0x0:_0x3ee36e?Vt(_0x42f61c,_0x3b3d22):_0x42f61c,_0x47650f=_0x1f123e['length']-0x1,_0x24a998;_0x47650f>=0x0;_0x47650f--)(_0x24a998=_0x1f123e[_0x47650f])&&(_0x5b5031=_0x24a998(_0x5b5031)||_0x5b5031);return _0x5b5031;},Ne=(_0x2cc264,_0x173715)=>(_0x4c5e8e,_0x78b1c8)=>_0x173715(_0x4c5e8e,_0x78b1c8,_0x2cc264),Yt=(_0x4b585d,_0x2e1096,_0x2fd873)=>Ht(_0x4b585d,_0x2e1096+'',_0x2fd873);exports[_0x1b6638(0x240)]=class extends A[_0x1b6638(0x1e2)]{constructor(_0x57949a=Ct,_0x321b03,_0x4ee1b2,_0x317f4c){const _0x5b2496=_0x1b6638;_0x57949a[_0x5b2496(0x209)]||_0x321b03['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5b2496(0x156)]=_0x4ee1b2,this[_0x5b2496(0x172)]=_0x317f4c,this['_configService'][_0x5b2496(0x1e3)](fe,_0x57949a);}['onStarting'](){this['_registerDependencies']();}[_0x1b6638(0x14f)](){const _0x1c8688=_0x1b6638;A[_0x1c8688(0x2a4)](this[_0x1c8688(0x172)],[[it[_0x1c8688(0x213)],{'useClass':ke}]]);}},Yt(exports[_0x1b6638(0x240)],_0x1b6638(0x1d9),_0x1b6638(0x23e)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x1b6638(0x194)](A[_0x1b6638(0x1f9)]))],exports[_0x1b6638(0x240)]);var Kt=Object[_0x1b6638(0x2d0)],Xt=(_0xd7be6,_0x21cefd,_0x3cb737,_0x393792)=>{const _0x390f18=_0x1b6638;for(var _0x3ace91=_0x393792>0x1?void 0x0:_0x393792?Kt(_0x21cefd,_0x3cb737):_0x21cefd,_0x3684e2=_0xd7be6[_0x390f18(0x18d)]-0x1,_0xd1add9;_0x3684e2>=0x0;_0x3684e2--)(_0xd1add9=_0xd7be6[_0x3684e2])&&(_0x3ace91=_0xd1add9(_0x3ace91)||_0x3ace91);return _0x3ace91;},ne=(_0x3cc45d,_0x3d9325)=>(_0x1a85b3,_0x41dc16)=>_0x3d9325(_0x1a85b3,_0x41dc16,_0x3cc45d);exports[_0x1b6638(0x1a7)]=class extends st[_0x1b6638(0x294)]{constructor(_0x2ad03e,_0x1144d1,_0x4e20a4,_0x168052,_0xf43f61){const _0x12818a=_0x1b6638;super(_0x2ad03e,_0x1144d1,_0x4e20a4,_0x168052,_0xf43f61);const _0x3bea66=this[_0x12818a(0x156)][_0x12818a(0x267)](fe);this[_0x12818a(0x1e6)][_0x12818a(0x23c)]({'interceptor':(_0x2dbd59,_0x47d819)=>{const _0x9ac0b7=_0x12818a;var _0x166f14;const _0x1935b7=_0x2dbd59['headers'];return(_0x166f14=_0x3bea66==null?void 0x0:_0x3bea66[_0x9ac0b7(0x209)])!=null&&_0x166f14[_0x9ac0b7(0x142)]&&_0x1935b7[_0x9ac0b7(0x257)](_0x9ac0b7(0x182),_0x3bea66[_0x9ac0b7(0x209)][_0x9ac0b7(0x142)]),_0x47d819(_0x2dbd59);}});}async[_0x1b6638(0x2be)](_0x199413){const _0x3c2b99=_0x1b6638;return this[_0x3c2b99(0x29d)](_0x199413);}},exports[_0x1b6638(0x1a7)]=Xt([ne(0x0,A[_0x1b6638(0x194)](A[_0x1b6638(0x1f9)])),ne(0x1,A[_0x1b6638(0x194)](it[_0x1b6638(0x14d)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x1b6638(0x289)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x1b6638(0x1a7)]),exports[_0x1b6638(0x2c9)]=fe;
1
+ 'use strict';const _0xc2e6c0=_0x1197;(function(_0x59ecd0,_0x428c66){const _0xf74e9f=_0x1197,_0xafe542=_0x59ecd0();while(!![]){try{const _0x4ce9c1=parseInt(_0xf74e9f(0x20e))/0x1*(parseInt(_0xf74e9f(0x212))/0x2)+parseInt(_0xf74e9f(0x1a8))/0x3*(parseInt(_0xf74e9f(0x14f))/0x4)+-parseInt(_0xf74e9f(0x292))/0x5+parseInt(_0xf74e9f(0x2ea))/0x6+-parseInt(_0xf74e9f(0x2b8))/0x7*(parseInt(_0xf74e9f(0x2c7))/0x8)+-parseInt(_0xf74e9f(0x2e6))/0x9+-parseInt(_0xf74e9f(0x2b0))/0xa;if(_0x4ce9c1===_0x428c66)break;else _0xafe542['push'](_0xafe542['shift']());}catch(_0x51cf12){_0xafe542['push'](_0xafe542['shift']());}}}(_0x111c,0x2feaa));Object[_0xc2e6c0(0x259)](exports,Symbol[_0xc2e6c0(0x2c4)],{'value':_0xc2e6c0(0x29c)});const st=require(_0xc2e6c0(0x28c)),A=require(_0xc2e6c0(0x2a5)),it=require('@univerjs/network'),V=require(_0xc2e6c0(0x22e)),nt=require(_0xc2e6c0(0x239)),vt=require(_0xc2e6c0(0x160)),ot=require('http'),St=require(_0xc2e6c0(0x194)),Et=require('tls'),Le=require(_0xc2e6c0(0x1f2)),oe=require('stream'),xt=require(_0xc2e6c0(0x229)),bt=require(_0xc2e6c0(0x286)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xc2e6c0(0x2e1),Ct={'customHeaders':{}};function Tt(_0xcfb4d3){const _0x210760=_0xc2e6c0;return _0xcfb4d3&&_0xcfb4d3[_0x210760(0x1db)]&&Object[_0x210760(0x2c9)][_0x210760(0x1e2)][_0x210760(0x233)](_0xcfb4d3,_0x210760(0x1cc))?_0xcfb4d3[_0x210760(0x1cc)]:_0xcfb4d3;}function at(_0x280a3e){const _0xb567b7=_0xc2e6c0;if(Object[_0xb567b7(0x2c9)]['hasOwnProperty']['call'](_0x280a3e,_0xb567b7(0x1db)))return _0x280a3e;var _0x1c64e4=_0x280a3e['default'];if(typeof _0x1c64e4==_0xb567b7(0x301)){var _0x2e007c=function _0x5e3707(){const _0x2ac883=_0xb567b7;return this instanceof _0x5e3707?Reflect[_0x2ac883(0x1a1)](_0x1c64e4,arguments,this[_0x2ac883(0x1b1)]):_0x1c64e4[_0x2ac883(0x2d7)](this,arguments);};_0x2e007c[_0xb567b7(0x2c9)]=_0x1c64e4[_0xb567b7(0x2c9)];}else _0x2e007c={};return Object[_0xb567b7(0x259)](_0x2e007c,_0xb567b7(0x1db),{'value':!0x0}),Object[_0xb567b7(0x1f6)](_0x280a3e)['forEach'](function(_0xef04f0){const _0x210f14=_0xb567b7;var _0x54bd6e=Object[_0x210f14(0x17f)](_0x280a3e,_0xef04f0);Object['defineProperty'](_0x2e007c,_0xef04f0,_0x54bd6e[_0x210f14(0x217)]?_0x54bd6e:{'enumerable':!0x0,'get':function(){return _0x280a3e[_0xef04f0];}});}),_0x2e007c;}var se={'exports':{}},ge,Ge;function _0x111c(){const _0xed90e7=['UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','upgrade','_writableState','generateMask','pipe','Invalid\x20Sec-WebSocket-Extensions\x20header','_mask','connect','parse','abort','Invalid\x20HTTP\x20method','base64','auth','binaryType','concurrency','_bufferedBytes','_doCreateSocket','find','allowSynchronousEvents','Basic\x20','1seKdSP','getConfig','ping','mask','625354SQloZY','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Server\x20sent\x20an\x20invalid\x20subprotocol','verifyClient','unmask','get','_queue','invalid\x20UTF-8\x20sequence','Observable','_req','concat','error','fragments','species','_final','allocUnsafe','isValidUTF8','_configService','objectMode','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_allowSynchronousEvents','total-length','status-code','url','Invalid\x20Upgrade\x20header','_fin','noServer','Server\x20sent\x20no\x20subprotocol','rxjs','_max_window_bits','_httpService','next','client_no_context_takeover','call','kCode','startsWith','handleProtocols','onmessage','clientTracking','events','setSocket','toLowerCase','concurrencyLimit','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20value\x20for\x20parameter\x20\x22','once','length','WS_NO_UTF_8_VALIDATE','http:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','perMessageDeflate','reason','The\x20URL\x27s\x20pathname\x20is\x20empty','client','_originalSecure','nodebuffer','_loop','Z_SYNC_FLUSH','Maximum\x20redirects\x20exceeded','Z_DEFAULT_WINDOWBITS','alloc','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Invalid\x20URL:\x20','listenerCount','request','Upgrade:\x20websocket','skipUTF8Validation','dataMessage','_deflate','finishRequest','defineProperty','indexOf','createInflateRaw','clients','getBlobData','handleUpgrade','ISocketService','servername','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','RSV1\x20must\x20be\x20clear','CLOSING','_registerDependencies','zlibDeflateOptions','charCodeAt','object','destroyed','serverNoContextTakeover','byteOffset','_buffers','The\x20\x22','emit','conclude','drain','_injector','frame','decompress','kByteLength','Connection:\x20Upgrade','finish','_messageLength','params','cork','_paused','_maskBuffer','_removeListeners','ws+unix:','STATUS_CODES','sec-websocket-origin','getMask','opcode','Max\x20payload\x20size\x20exceeded','_fragmented','serverMaxWindowBits','_isServer','haveLength','zlib','address','customHeaders','string','dispose','text/html','@univerjs-pro/collaboration-client','_errored','CONNECTING','kMessage','reset','code','343645MkVsKO','protocolVersion','_no_context_takeover','destroy','join','WS_ERR_INVALID_UTF8','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','buffer','MASK\x20must\x20be\x20clear','ISnapshotServerService','Module','has','pluginName','getPayloadLength16','createDeflateRaw','host','completeUpgrade','dispatch','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','@univerjs/core','HTTPService','removeAllListeners','\x22:\x20','sec-websocket-accept','HTTP/1.1\x20101\x20Switching\x20Protocols','uncork','toDisposable','followRedirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','UniverCollaborationClientNodePlugin','2937000gRowMV','sec-websocket-version','Sec-WebSocket-Extensions','extensionName','Cookie','Disposable','arrayBuffer','captureStackTrace','1827HJVkVH','removeListener','_fragments','_destroy','forEach','unexpected-response','_originalHostOrSocketPath','WS_NO_BUFFER_UTIL','createError','_bufferedAmount','IConfigService','Unexpected\x20server\x20response:\x20','toStringTag','GET','slice','2376MxnUAS','\x22\x20must\x20have\x20only\x20a\x20single\x20value','prototype','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','size','_state','_errorEmitted','Upgrade','errorEmitted','listeners','backlog','readUInt32BE','onStarting','includes','_write','Blob','apply','add','wasClean','isView','readyState','Opening\x20handshake\x20has\x20timed\x20out','authorization','Origin','redirect','getInfo','collaboration-client-node.config','_firstFragment','isPaused','File','close','2652354lQDbAG','maxPayload','_readableState','env','2044002TVMeOW','Invalid\x20Sec-WebSocket-Accept\x20header','readOnly','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','statusCode','_compressed','clientMaxWindowBits','from','hash','entries','_skipUTF8Validation','href','socket','_closeMessage','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','end','extensions','callback','kError','jobs','Unexpected\x20character\x20at\x20index\x20','write','maxRedirects','function','_autoPong','_closeFrameReceived','bind','controlMessage','type','password','DependentOn','dequeue','finished','server_no_context_takeover','update','Inject','pow','binary','_protocol','_sender','setConfig','acceptAsServer','CLOSED','createSocket','timeout','emitClose','148brArNx','setTimeout','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server','_extensions','isBuffer','Plugin','kReason','location','readable','onerror','open','Sec-WebSocket-Protocol:\x20','_options','digest','options','acceptAsClient','https','send','pause','Unknown\x20parameter\x20\x22','test','consume','rsv1','_maxPayload','cookie','websocket','toString','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_compress','_redirects','set','handshakeTimeout','kRun','port','WS_ERR_INVALID_CLOSE_CODE','connection','message','Sec-WebSocket-Protocol','addEventListener','blob','setNoDelay','socketPath','accept','autoPong','isArray','clientNoContextTakeover','warn','getOwnPropertyDescriptor','_shouldEmitClose','_closeTimer','handleEvent','kTarget','_threshold','resume','\x0d\x0a\x0d\x0a','The\x20server\x20is\x20not\x20running','_url','_inflate','arraybuffer','https:','\x22\x20subprotocol\x20is\x20duplicated','OPEN','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','DisposableCollection','fin','_totalPayloadLength','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WebSocket','net','Sec-WebSocket-Accept:\x20','normalizeParams','byteLength','_receiver','pong','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_payloadLength','startLoop','data','WS_ERR_UNEXPECTED_RSV_2_3','getData','Unexpected\x20end\x20of\x20input','construct','pathname','protocol','Parameter\x20\x22','exports','freeze','_closeCode','22506MwCtjQ','stream','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_masked','threshold','server_max_window_bits','create','_closeFrameSent','constructor','WS_ERR_EXPECTED_MASK','_readyState','kData','CollaborationSocketService','read','push','buffers','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_FIN','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','registerHTTPInterceptor','nextTick','FIN\x20must\x20be\x20set','UniverCollaborationClientPlugin','sec-websocket-protocol','shift','_originalIpc','_binaryType','kAborted','endEmitted','method','pending','isServer','isInteger','hostname','permessage-deflate','default','_generateMask','headers','_socket','setHeader','sendFrame','client_max_window_bits','wss:','Invalid\x20Sec-WebSocket-Protocol\x20header','enqueue','NodeCollaborationSocketService','shouldHandle','replace','_opcode','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','__esModule','onclose','Injector','sha1','_server','origin','flush','hasOwnProperty','wsClientError','number','_read','ws:','path','kListener','kDone','search','removeEventListener','getPayloadLength64','cleanup','bufferedAmount','share','offer','writeUInt16BE','crypto','defaultPort','compress','invalid\x20opcode\x20','keys','response','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','sec-websocket-key'];_0x111c=function(){return _0xed90e7;};return _0x111c();}function H(){const _0x553e4c=_0xc2e6c0;if(Ge)return ge;Ge=0x1;const _0x372b34=[_0x553e4c(0x24a),_0x553e4c(0x18a),_0x553e4c(0x21e)],_0x5e3729=typeof Blob<'u';return _0x5e3729&&_0x372b34['push'](_0x553e4c(0x177)),ge={'BINARY_TYPES':_0x372b34,'EMPTY_BUFFER':Buffer[_0x553e4c(0x24f)](0x0),'GUID':_0x553e4c(0x250),'hasBlob':_0x5e3729,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x553e4c(0x1e8)),'kStatusCode':Symbol(_0x553e4c(0x228)),'kWebSocket':Symbol(_0x553e4c(0x169)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc2e6c0(0x1a6)](Object[_0xc2e6c0(0x259)]({'__proto__':null,'default':Nt},Symbol[_0xc2e6c0(0x2c4)],{'value':_0xc2e6c0(0x29c)})),Lt=at(kt);var Ve;function ce(){const _0x3c1ddd=_0xc2e6c0;if(Ve)return se[_0x3c1ddd(0x1a5)];Ve=0x1;const {EMPTY_BUFFER:_0x56c912}=H(),_0x4622fc=Buffer[Symbol[_0x3c1ddd(0x21f)]];function _0x4581ef(_0x3f1fbf,_0x1f35e3){const _0x1fe580=_0x3c1ddd;if(_0x3f1fbf[_0x1fe580(0x240)]===0x0)return _0x56c912;if(_0x3f1fbf['length']===0x1)return _0x3f1fbf[0x0];const _0x7d7378=Buffer['allocUnsafe'](_0x1f35e3);let _0x222be1=0x0;for(let _0x2aee6b=0x0;_0x2aee6b<_0x3f1fbf[_0x1fe580(0x240)];_0x2aee6b++){const _0x3849c1=_0x3f1fbf[_0x2aee6b];_0x7d7378[_0x1fe580(0x16e)](_0x3849c1,_0x222be1),_0x222be1+=_0x3849c1['length'];}return _0x222be1<_0x1f35e3?new _0x4622fc(_0x7d7378[_0x1fe580(0x299)],_0x7d7378[_0x1fe580(0x26a)],_0x222be1):_0x7d7378;}function _0x3999da(_0x4f3b87,_0x243817,_0xdb64a5,_0x3ea89f,_0x2a460b){for(let _0x5b2694=0x0;_0x5b2694<_0x2a460b;_0x5b2694++)_0xdb64a5[_0x3ea89f+_0x5b2694]=_0x4f3b87[_0x5b2694]^_0x243817[_0x5b2694&0x3];}function _0x12f94d(_0x1eb9e5,_0x4b7e6b){for(let _0x2e93dd=0x0;_0x2e93dd<_0x1eb9e5['length'];_0x2e93dd++)_0x1eb9e5[_0x2e93dd]^=_0x4b7e6b[_0x2e93dd&0x3];}function _0x28797a(_0x59aee8){const _0x206aab=_0x3c1ddd;return _0x59aee8[_0x206aab(0x240)]===_0x59aee8[_0x206aab(0x299)][_0x206aab(0x197)]?_0x59aee8[_0x206aab(0x299)]:_0x59aee8[_0x206aab(0x299)][_0x206aab(0x2c6)](_0x59aee8['byteOffset'],_0x59aee8[_0x206aab(0x26a)]+_0x59aee8[_0x206aab(0x240)]);}function _0x2e7bab(_0xcfc3a4){const _0xae391=_0x3c1ddd;if(_0x2e7bab[_0xae391(0x2ec)]=!0x0,Buffer[_0xae391(0x154)](_0xcfc3a4))return _0xcfc3a4;let _0x410cba;return _0xcfc3a4 instanceof ArrayBuffer?_0x410cba=new _0x4622fc(_0xcfc3a4):ArrayBuffer[_0xae391(0x2da)](_0xcfc3a4)?_0x410cba=new _0x4622fc(_0xcfc3a4['buffer'],_0xcfc3a4[_0xae391(0x26a)],_0xcfc3a4[_0xae391(0x197)]):(_0x410cba=Buffer[_0xae391(0x2f1)](_0xcfc3a4),_0x2e7bab[_0xae391(0x2ec)]=!0x1),_0x410cba;}if(se['exports']={'concat':_0x4581ef,'mask':_0x3999da,'toArrayBuffer':_0x28797a,'toBuffer':_0x2e7bab,'unmask':_0x12f94d},!process[_0x3c1ddd(0x2e9)][_0x3c1ddd(0x2bf)])try{const _0x5d0e61=Lt;se[_0x3c1ddd(0x1a5)][_0x3c1ddd(0x211)]=function(_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5){const _0x21c9bf=_0x3c1ddd;_0x6b7ba5<0x30?_0x3999da(_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5):_0x5d0e61[_0x21c9bf(0x211)](_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5);},se[_0x3c1ddd(0x1a5)][_0x3c1ddd(0x216)]=function(_0x3f7830,_0x4b3624){const _0x231727=_0x3c1ddd;_0x3f7830[_0x231727(0x240)]<0x20?_0x12f94d(_0x3f7830,_0x4b3624):_0x5d0e61[_0x231727(0x216)](_0x3f7830,_0x4b3624);};}catch{}return se[_0x3c1ddd(0x1a5)];}var ye,He;function Pt(){const _0xcd7932=_0xc2e6c0;if(He)return ye;He=0x1;const _0x19279c=Symbol(_0xcd7932(0x1e9)),_0x148e05=Symbol(_0xcd7932(0x170));class _0x438afc{constructor(_0x4b84df){const _0x25fd36=_0xcd7932;this[_0x19279c]=()=>{const _0x422617=_0x1197;this[_0x422617(0x1c7)]--,this[_0x148e05]();},this['concurrency']=_0x4b84df||0x1/0x0,this[_0x25fd36(0x2fd)]=[],this[_0x25fd36(0x1c7)]=0x0;}['add'](_0x419a87){const _0x8656cb=_0xcd7932;this[_0x8656cb(0x2fd)]['push'](_0x419a87),this[_0x148e05]();}[_0x148e05](){const _0x576cc6=_0xcd7932;if(this['pending']!==this[_0x576cc6(0x208)]&&this['jobs'][_0x576cc6(0x240)]){const _0x1b75c6=this[_0x576cc6(0x2fd)][_0x576cc6(0x1c1)]();this[_0x576cc6(0x1c7)]++,_0x1b75c6(this[_0x19279c]);}}}return ye=_0x438afc,ye;}var ve,ze;function he(){const _0x121705=_0xc2e6c0;if(ze)return ve;ze=0x1;const _0x495d1d=bt,_0x316cfb=ce(),_0x2f05ac=Pt(),{kStatusCode:_0x5b37ba}=H(),_0x56a786=Buffer[Symbol[_0x121705(0x21f)]],_0x4c1b26=Buffer['from']([0x0,0x0,0xff,0xff]),_0x37b7a6=Symbol(_0x121705(0x1cb)),_0x37fbc2=Symbol(_0x121705(0x227)),_0xf8fa64=Symbol(_0x121705(0x2fb)),_0x4e86b5=Symbol(_0x121705(0x1b8)),_0x48d316=Symbol('error');let _0x2a50ef;class _0x274b1f{constructor(_0x369bca,_0x3e0fac,_0x492337){const _0x3cbe67=_0x121705;if(this[_0x3cbe67(0x167)]=_0x492337|0x0,this[_0x3cbe67(0x15c)]=_0x369bca||{},this[_0x3cbe67(0x184)]=this[_0x3cbe67(0x15c)][_0x3cbe67(0x1ad)]!==void 0x0?this[_0x3cbe67(0x15c)]['threshold']:0x400,this[_0x3cbe67(0x284)]=!!_0x3e0fac,this[_0x3cbe67(0x257)]=null,this[_0x3cbe67(0x189)]=null,this['params']=null,!_0x2a50ef){const _0x263d97=this[_0x3cbe67(0x15c)][_0x3cbe67(0x23c)]!==void 0x0?this[_0x3cbe67(0x15c)][_0x3cbe67(0x23c)]:0xa;_0x2a50ef=new _0x2f05ac(_0x263d97);}}static get[_0x121705(0x2b3)](){const _0x177d55=_0x121705;return _0x177d55(0x1cb);}[_0x121705(0x1f0)](){const _0x3482e8=_0x121705,_0x58d5b9={};return this[_0x3482e8(0x15c)]['serverNoContextTakeover']&&(_0x58d5b9['server_no_context_takeover']=!0x0),this[_0x3482e8(0x15c)][_0x3482e8(0x17d)]&&(_0x58d5b9['client_no_context_takeover']=!0x0),this[_0x3482e8(0x15c)][_0x3482e8(0x283)]&&(_0x58d5b9[_0x3482e8(0x1ae)]=this[_0x3482e8(0x15c)][_0x3482e8(0x283)]),this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]?_0x58d5b9[_0x3482e8(0x1d2)]=this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]:this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]==null&&(_0x58d5b9[_0x3482e8(0x1d2)]=!0x0),_0x58d5b9;}[_0x121705(0x17a)](_0x158495){const _0x3d23b8=_0x121705;return _0x158495=this[_0x3d23b8(0x196)](_0x158495),this[_0x3d23b8(0x277)]=this[_0x3d23b8(0x284)]?this[_0x3d23b8(0x313)](_0x158495):this[_0x3d23b8(0x15f)](_0x158495),this[_0x3d23b8(0x277)];}[_0x121705(0x1ed)](){const _0x23b872=_0x121705;if(this[_0x23b872(0x189)]&&(this[_0x23b872(0x189)][_0x23b872(0x2e5)](),this[_0x23b872(0x189)]=null),this[_0x23b872(0x257)]){const _0x420edb=this['_deflate'][_0xf8fa64];this[_0x23b872(0x257)][_0x23b872(0x2e5)](),this['_deflate']=null,_0x420edb&&_0x420edb(new Error(_0x23b872(0x244)));}}[_0x121705(0x313)](_0x1d7b90){const _0xa753f8=_0x121705,_0x482207=this['_options'],_0x53f42b=_0x1d7b90[_0xa753f8(0x20b)](_0x1dc234=>!(_0x482207['serverNoContextTakeover']===!0x1&&_0x1dc234['server_no_context_takeover']||_0x1dc234[_0xa753f8(0x1ae)]&&(_0x482207['serverMaxWindowBits']===!0x1||typeof _0x482207[_0xa753f8(0x283)]==_0xa753f8(0x1e4)&&_0x482207['serverMaxWindowBits']>_0x1dc234[_0xa753f8(0x1ae)])||typeof _0x482207['clientMaxWindowBits']=='number'&&!_0x1dc234['client_max_window_bits']));if(!_0x53f42b)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x482207[_0xa753f8(0x269)]&&(_0x53f42b[_0xa753f8(0x30b)]=!0x0),_0x482207[_0xa753f8(0x17d)]&&(_0x53f42b[_0xa753f8(0x232)]=!0x0),typeof _0x482207[_0xa753f8(0x283)]==_0xa753f8(0x1e4)&&(_0x53f42b[_0xa753f8(0x1ae)]=_0x482207['serverMaxWindowBits']),typeof _0x482207[_0xa753f8(0x2f0)]==_0xa753f8(0x1e4)?_0x53f42b[_0xa753f8(0x1d2)]=_0x482207[_0xa753f8(0x2f0)]:(_0x53f42b['client_max_window_bits']===!0x0||_0x482207[_0xa753f8(0x2f0)]===!0x1)&&delete _0x53f42b[_0xa753f8(0x1d2)],_0x53f42b;}[_0x121705(0x15f)](_0x49fbab){const _0x413cb3=_0x121705,_0x3ee37c=_0x49fbab[0x0];if(this[_0x413cb3(0x15c)]['clientNoContextTakeover']===!0x1&&_0x3ee37c[_0x413cb3(0x232)])throw new Error(_0x413cb3(0x2a4));if(!_0x3ee37c[_0x413cb3(0x1d2)])typeof this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)]==_0x413cb3(0x1e4)&&(_0x3ee37c[_0x413cb3(0x1d2)]=this['_options']['clientMaxWindowBits']);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)]==_0x413cb3(0x1e4)&&_0x3ee37c[_0x413cb3(0x1d2)]>this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)])throw new Error(_0x413cb3(0x2ae));}return _0x3ee37c;}[_0x121705(0x196)](_0x582709){return _0x582709['forEach'](_0x37f0c2=>{Object['keys'](_0x37f0c2)['forEach'](_0x2c894f=>{const _0x1a7936=_0x1197;let _0x10f29b=_0x37f0c2[_0x2c894f];if(_0x10f29b[_0x1a7936(0x240)]>0x1)throw new Error(_0x1a7936(0x1a4)+_0x2c894f+_0x1a7936(0x2c8));if(_0x10f29b=_0x10f29b[0x0],_0x2c894f===_0x1a7936(0x1d2)){if(_0x10f29b!==!0x0){const _0x28ae44=+_0x10f29b;if(!Number[_0x1a7936(0x1c9)](_0x28ae44)||_0x28ae44<0x8||_0x28ae44>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2c894f+'\x22:\x20'+_0x10f29b);_0x10f29b=_0x28ae44;}else{if(!this[_0x1a7936(0x284)])throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+'\x22:\x20'+_0x10f29b);}}else{if(_0x2c894f==='server_max_window_bits'){const _0x4c2c69=+_0x10f29b;if(!Number[_0x1a7936(0x1c9)](_0x4c2c69)||_0x4c2c69<0x8||_0x4c2c69>0xf)throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+_0x1a7936(0x2a8)+_0x10f29b);_0x10f29b=_0x4c2c69;}else{if(_0x2c894f===_0x1a7936(0x232)||_0x2c894f===_0x1a7936(0x30b)){if(_0x10f29b!==!0x0)throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+'\x22:\x20'+_0x10f29b);}else throw new Error(_0x1a7936(0x163)+_0x2c894f+'\x22');}}_0x37f0c2[_0x2c894f]=_0x10f29b;});}),_0x582709;}['decompress'](_0x55c85b,_0x529ee0,_0x3f9fff){const _0x698ad0=_0x121705;_0x2a50ef[_0x698ad0(0x2d8)](_0x38d208=>{this['_decompress'](_0x55c85b,_0x529ee0,(_0x5d4581,_0xd18738)=>{_0x38d208(),_0x3f9fff(_0x5d4581,_0xd18738);});});}[_0x121705(0x1f4)](_0x2182e8,_0x172c04,_0x4b1bce){const _0x27e39c=_0x121705;_0x2a50ef[_0x27e39c(0x2d8)](_0x390af4=>{this['_compress'](_0x2182e8,_0x172c04,(_0x5233cd,_0x3814b6)=>{_0x390af4(),_0x4b1bce(_0x5233cd,_0x3814b6);});});}['_decompress'](_0x2da7d0,_0x287900,_0x3da2f4){const _0x58c31a=_0x121705,_0x22fdb6=this[_0x58c31a(0x284)]?_0x58c31a(0x248):_0x58c31a(0x152);if(!this[_0x58c31a(0x189)]){const _0x5983fc=_0x22fdb6+_0x58c31a(0x22f),_0x526a8b=typeof this[_0x58c31a(0x277)][_0x5983fc]!=_0x58c31a(0x1e4)?_0x495d1d[_0x58c31a(0x24e)]:this[_0x58c31a(0x277)][_0x5983fc];this[_0x58c31a(0x189)]=_0x495d1d[_0x58c31a(0x25b)]({...this[_0x58c31a(0x15c)]['zlibInflateOptions'],'windowBits':_0x526a8b}),this[_0x58c31a(0x189)][_0x37b7a6]=this,this['_inflate'][_0x37fbc2]=0x0,this[_0x58c31a(0x189)][_0x4e86b5]=[],this[_0x58c31a(0x189)]['on'](_0x58c31a(0x21d),_0x9ed58f),this[_0x58c31a(0x189)]['on']('data',_0x91a400);}this[_0x58c31a(0x189)][_0xf8fa64]=_0x3da2f4,this[_0x58c31a(0x189)][_0x58c31a(0x2ff)](_0x2da7d0),_0x287900&&this[_0x58c31a(0x189)][_0x58c31a(0x2ff)](_0x4c1b26),this[_0x58c31a(0x189)]['flush'](()=>{const _0x1f5d28=_0x58c31a,_0x2fe798=this[_0x1f5d28(0x189)][_0x48d316];if(_0x2fe798){this['_inflate'][_0x1f5d28(0x2e5)](),this['_inflate']=null,_0x3da2f4(_0x2fe798);return;}const _0x4ae137=_0x316cfb[_0x1f5d28(0x21c)](this[_0x1f5d28(0x189)][_0x4e86b5],this[_0x1f5d28(0x189)][_0x37fbc2]);this[_0x1f5d28(0x189)][_0x1f5d28(0x2e8)][_0x1f5d28(0x1c5)]?(this[_0x1f5d28(0x189)][_0x1f5d28(0x2e5)](),this['_inflate']=null):(this[_0x1f5d28(0x189)][_0x37fbc2]=0x0,this[_0x1f5d28(0x189)][_0x4e86b5]=[],_0x287900&&this[_0x1f5d28(0x277)][_0x22fdb6+_0x1f5d28(0x294)]&&this[_0x1f5d28(0x189)][_0x1f5d28(0x290)]()),_0x3da2f4(null,_0x4ae137);});}[_0x121705(0x16c)](_0xb4673e,_0x926896,_0x390628){const _0x31db0d=_0x121705,_0x3c6eeb=this[_0x31db0d(0x284)]?_0x31db0d(0x152):_0x31db0d(0x248);if(!this[_0x31db0d(0x257)]){const _0x316724=_0x3c6eeb+_0x31db0d(0x22f),_0x398b60=typeof this[_0x31db0d(0x277)][_0x316724]!=_0x31db0d(0x1e4)?_0x495d1d[_0x31db0d(0x24e)]:this['params'][_0x316724];this['_deflate']=_0x495d1d[_0x31db0d(0x2a0)]({...this[_0x31db0d(0x15c)][_0x31db0d(0x265)],'windowBits':_0x398b60}),this[_0x31db0d(0x257)][_0x37fbc2]=0x0,this[_0x31db0d(0x257)][_0x4e86b5]=[],this[_0x31db0d(0x257)]['on'](_0x31db0d(0x19d),_0x3a6aa5);}this['_deflate'][_0xf8fa64]=_0x390628,this[_0x31db0d(0x257)]['write'](_0xb4673e),this[_0x31db0d(0x257)][_0x31db0d(0x1e1)](_0x495d1d[_0x31db0d(0x24c)],()=>{const _0x738721=_0x31db0d;if(!this['_deflate'])return;let _0x5ef4a6=_0x316cfb['concat'](this['_deflate'][_0x4e86b5],this[_0x738721(0x257)][_0x37fbc2]);_0x926896&&(_0x5ef4a6=new _0x56a786(_0x5ef4a6[_0x738721(0x299)],_0x5ef4a6[_0x738721(0x26a)],_0x5ef4a6[_0x738721(0x240)]-0x4)),this['_deflate'][_0xf8fa64]=null,this[_0x738721(0x257)][_0x37fbc2]=0x0,this[_0x738721(0x257)][_0x4e86b5]=[],_0x926896&&this['params'][_0x3c6eeb+_0x738721(0x294)]&&this['_deflate'][_0x738721(0x290)](),_0x390628(null,_0x5ef4a6);});}}ve=_0x274b1f;function _0x3a6aa5(_0x6c0225){const _0xaaa9b8=_0x121705;this[_0x4e86b5]['push'](_0x6c0225),this[_0x37fbc2]+=_0x6c0225[_0xaaa9b8(0x240)];}function _0x91a400(_0x43191){const _0xac0682=_0x121705;if(this[_0x37fbc2]+=_0x43191[_0xac0682(0x240)],this[_0x37b7a6][_0xac0682(0x167)]<0x1||this[_0x37fbc2]<=this[_0x37b7a6][_0xac0682(0x167)]){this[_0x4e86b5][_0xac0682(0x1b7)](_0x43191);return;}this[_0x48d316]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x48d316][_0xac0682(0x291)]=_0xac0682(0x1ab),this[_0x48d316][_0x5b37ba]=0x3f1,this[_0xac0682(0x2b9)](_0xac0682(0x19d),_0x91a400),this[_0xac0682(0x290)]();}function _0x9ed58f(_0x5270c2){this[_0x37b7a6]['_inflate']=null,_0x5270c2[_0x5b37ba]=0x3ef,this[_0xf8fa64](_0x5270c2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0xc2e6c0(0x259)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0xc2e6c0(0x29c)})),Bt=at(Rt);var Ye;function ae(){const _0x3961bb=_0xc2e6c0;if(Ye)return ie[_0x3961bb(0x1a5)];Ye=0x1;const {isUtf8:_0x443b40}=wt,{hasBlob:_0x73def}=H(),_0x1f3f66=[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 _0x98a69a(_0x21ce33){return _0x21ce33>=0x3e8&&_0x21ce33<=0x3f6&&_0x21ce33!==0x3ec&&_0x21ce33!==0x3ed&&_0x21ce33!==0x3ee||_0x21ce33>=0xbb8&&_0x21ce33<=0x1387;}function _0x9c1427(_0x557b7c){const _0x33dd29=_0x3961bb,_0x5c2a05=_0x557b7c[_0x33dd29(0x240)];let _0x48223e=0x0;for(;_0x48223e<_0x5c2a05;)if((_0x557b7c[_0x48223e]&0x80)===0x0)_0x48223e++;else{if((_0x557b7c[_0x48223e]&0xe0)===0xc0){if(_0x48223e+0x1===_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e]&0xfe)===0xc0)return!0x1;_0x48223e+=0x2;}else{if((_0x557b7c[_0x48223e]&0xf0)===0xe0){if(_0x48223e+0x2>=_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x2]&0xc0)!==0x80||_0x557b7c[_0x48223e]===0xe0&&(_0x557b7c[_0x48223e+0x1]&0xe0)===0x80||_0x557b7c[_0x48223e]===0xed&&(_0x557b7c[_0x48223e+0x1]&0xe0)===0xa0)return!0x1;_0x48223e+=0x3;}else{if((_0x557b7c[_0x48223e]&0xf8)===0xf0){if(_0x48223e+0x3>=_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x2]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x3]&0xc0)!==0x80||_0x557b7c[_0x48223e]===0xf0&&(_0x557b7c[_0x48223e+0x1]&0xf0)===0x80||_0x557b7c[_0x48223e]===0xf4&&_0x557b7c[_0x48223e+0x1]>0x8f||_0x557b7c[_0x48223e]>0xf4)return!0x1;_0x48223e+=0x4;}else return!0x1;}}}return!0x0;}function _0x21fd52(_0x17b5b3){const _0x39654b=_0x3961bb;return _0x73def&&typeof _0x17b5b3==_0x39654b(0x267)&&typeof _0x17b5b3['arrayBuffer']==_0x39654b(0x301)&&typeof _0x17b5b3[_0x39654b(0x306)]==_0x39654b(0x289)&&typeof _0x17b5b3[_0x39654b(0x1a9)]==_0x39654b(0x301)&&(_0x17b5b3[Symbol['toStringTag']]===_0x39654b(0x2d6)||_0x17b5b3[Symbol[_0x39654b(0x2c4)]]===_0x39654b(0x2e4));}if(ie[_0x3961bb(0x1a5)]={'isBlob':_0x21fd52,'isValidStatusCode':_0x98a69a,'isValidUTF8':_0x9c1427,'tokenChars':_0x1f3f66},_0x443b40)ie[_0x3961bb(0x1a5)][_0x3961bb(0x222)]=function(_0x6e6cf9){return _0x6e6cf9['length']<0x18?_0x9c1427(_0x6e6cf9):_0x443b40(_0x6e6cf9);};else{if(!process[_0x3961bb(0x2e9)][_0x3961bb(0x241)])try{const _0x34fc1a=Bt;ie[_0x3961bb(0x1a5)]['isValidUTF8']=function(_0x2a8be9){return _0x2a8be9['length']<0x20?_0x9c1427(_0x2a8be9):_0x34fc1a(_0x2a8be9);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5f160b=_0xc2e6c0;if(Ke)return Se;Ke=0x1;const {Writable:_0x19f892}=oe,_0x49cf5e=he(),{BINARY_TYPES:_0x1c53a8,EMPTY_BUFFER:_0x384def,kStatusCode:_0x5f2b81,kWebSocket:_0x9d6798}=H(),{concat:_0x458394,toArrayBuffer:_0x276078,unmask:_0x593fa6}=ce(),{isValidStatusCode:_0x4376b8,isValidUTF8:_0x53c6a4}=ae(),_0x18d842=Buffer[Symbol['species']],_0x12080a=0x0,_0x559752=0x1,_0x276ec2=0x2,_0x39752d=0x3,_0x4d352d=0x4,_0x447588=0x5,_0x1fcb93=0x6;class _0x2ff00c extends _0x19f892{constructor(_0x171e68={}){const _0x19ed9c=_0x1197;super(),this['_allowSynchronousEvents']=_0x171e68[_0x19ed9c(0x20c)]!==void 0x0?_0x171e68['allowSynchronousEvents']:!0x0,this[_0x19ed9c(0x1c3)]=_0x171e68['binaryType']||_0x1c53a8[0x0],this['_extensions']=_0x171e68['extensions']||{},this[_0x19ed9c(0x284)]=!!_0x171e68[_0x19ed9c(0x1c8)],this[_0x19ed9c(0x167)]=_0x171e68['maxPayload']|0x0,this[_0x19ed9c(0x2f4)]=!!_0x171e68[_0x19ed9c(0x255)],this[_0x9d6798]=void 0x0,this[_0x19ed9c(0x209)]=0x0,this['_buffers']=[],this[_0x19ed9c(0x2ef)]=!0x1,this[_0x19ed9c(0x19b)]=0x0,this[_0x19ed9c(0x200)]=void 0x0,this[_0x19ed9c(0x282)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x19ed9c(0x1d9)]=0x0,this[_0x19ed9c(0x191)]=0x0,this[_0x19ed9c(0x276)]=0x0,this[_0x19ed9c(0x2ba)]=[],this[_0x19ed9c(0x28d)]=!0x1,this['_loop']=!0x1,this[_0x19ed9c(0x2cc)]=_0x12080a;}[_0x5f160b(0x2d5)](_0x482f6b,_0x2150eb,_0x1aca3b){const _0x32c479=_0x5f160b;if(this[_0x32c479(0x1d9)]===0x8&&this[_0x32c479(0x2cc)]==_0x12080a)return _0x1aca3b();this['_bufferedBytes']+=_0x482f6b['length'],this[_0x32c479(0x26b)][_0x32c479(0x1b7)](_0x482f6b),this[_0x32c479(0x19c)](_0x1aca3b);}[_0x5f160b(0x165)](_0x32103a){const _0x20c4bb=_0x5f160b;if(this[_0x20c4bb(0x209)]-=_0x32103a,_0x32103a===this[_0x20c4bb(0x26b)][0x0][_0x20c4bb(0x240)])return this[_0x20c4bb(0x26b)][_0x20c4bb(0x1c1)]();if(_0x32103a<this[_0x20c4bb(0x26b)][0x0][_0x20c4bb(0x240)]){const _0x350b90=this[_0x20c4bb(0x26b)][0x0];return this['_buffers'][0x0]=new _0x18d842(_0x350b90[_0x20c4bb(0x299)],_0x350b90[_0x20c4bb(0x26a)]+_0x32103a,_0x350b90[_0x20c4bb(0x240)]-_0x32103a),new _0x18d842(_0x350b90[_0x20c4bb(0x299)],_0x350b90['byteOffset'],_0x32103a);}const _0x49e72a=Buffer[_0x20c4bb(0x221)](_0x32103a);do{const _0x474fc5=this[_0x20c4bb(0x26b)][0x0],_0x172668=_0x49e72a[_0x20c4bb(0x240)]-_0x32103a;_0x32103a>=_0x474fc5['length']?_0x49e72a[_0x20c4bb(0x16e)](this[_0x20c4bb(0x26b)][_0x20c4bb(0x1c1)](),_0x172668):(_0x49e72a['set'](new Uint8Array(_0x474fc5['buffer'],_0x474fc5[_0x20c4bb(0x26a)],_0x32103a),_0x172668),this[_0x20c4bb(0x26b)][0x0]=new _0x18d842(_0x474fc5[_0x20c4bb(0x299)],_0x474fc5['byteOffset']+_0x32103a,_0x474fc5[_0x20c4bb(0x240)]-_0x32103a)),_0x32103a-=_0x474fc5[_0x20c4bb(0x240)];}while(_0x32103a>0x0);return _0x49e72a;}['startLoop'](_0x3c68c8){const _0x4b2354=_0x5f160b;this['_loop']=!0x0;do switch(this[_0x4b2354(0x2cc)]){case _0x12080a:this[_0x4b2354(0x2e0)](_0x3c68c8);break;case _0x559752:this['getPayloadLength16'](_0x3c68c8);break;case _0x276ec2:this[_0x4b2354(0x1ec)](_0x3c68c8);break;case _0x39752d:this['getMask']();break;case _0x4d352d:this['getData'](_0x3c68c8);break;case _0x447588:case _0x1fcb93:this[_0x4b2354(0x24b)]=!0x1;return;}while(this[_0x4b2354(0x24b)]);this[_0x4b2354(0x28d)]||_0x3c68c8();}[_0x5f160b(0x2e0)](_0x363bc6){const _0x416d50=_0x5f160b;if(this[_0x416d50(0x209)]<0x2){this[_0x416d50(0x24b)]=!0x1;return;}const _0x272a9e=this[_0x416d50(0x165)](0x2);if((_0x272a9e[0x0]&0x30)!==0x0){const _0x1ac3bd=this['createError'](RangeError,_0x416d50(0x1f8),!0x0,0x3ea,_0x416d50(0x19e));_0x363bc6(_0x1ac3bd);return;}const _0x4b4832=(_0x272a9e[0x0]&0x40)===0x40;if(_0x4b4832&&!this['_extensions'][_0x49cf5e[_0x416d50(0x2b3)]]){const _0x1f114b=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x262),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x363bc6(_0x1f114b);return;}if(this[_0x416d50(0x22b)]=(_0x272a9e[0x0]&0x80)===0x80,this[_0x416d50(0x1d9)]=_0x272a9e[0x0]&0xf,this['_payloadLength']=_0x272a9e[0x1]&0x7f,this[_0x416d50(0x1d9)]===0x0){if(_0x4b4832){const _0x203a49=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x262),!0x0,0x3ea,_0x416d50(0x23d));_0x363bc6(_0x203a49);return;}if(!this[_0x416d50(0x282)]){const _0x36b024=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x416d50(0x1b9));_0x363bc6(_0x36b024);return;}this[_0x416d50(0x1d9)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x416d50(0x282)]){const _0x559a00=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x1f5)+this['_opcode'],!0x0,0x3ea,_0x416d50(0x1b9));_0x363bc6(_0x559a00);return;}this[_0x416d50(0x2ef)]=_0x4b4832;}else{if(this[_0x416d50(0x1d9)]>0x7&&this[_0x416d50(0x1d9)]<0xb){if(!this[_0x416d50(0x22b)]){const _0x73e7cd=this['createError'](RangeError,_0x416d50(0x1be),!0x0,0x3ea,_0x416d50(0x1ba));_0x363bc6(_0x73e7cd);return;}if(_0x4b4832){const _0xc12a5d=this['createError'](RangeError,_0x416d50(0x262),!0x0,0x3ea,_0x416d50(0x23d));_0x363bc6(_0xc12a5d);return;}if(this[_0x416d50(0x19b)]>0x7d||this[_0x416d50(0x1d9)]===0x8&&this[_0x416d50(0x19b)]===0x1){const _0x60d0a5=this[_0x416d50(0x2c0)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x416d50(0x225));_0x363bc6(_0x60d0a5);return;}}else{const _0x187e2b=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x1f5)+this[_0x416d50(0x1d9)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x363bc6(_0x187e2b);return;}}}if(!this[_0x416d50(0x22b)]&&!this[_0x416d50(0x282)]&&(this[_0x416d50(0x282)]=this[_0x416d50(0x1d9)]),this[_0x416d50(0x1ac)]=(_0x272a9e[0x1]&0x80)===0x80,this[_0x416d50(0x284)]){if(!this[_0x416d50(0x1ac)]){const _0x52005e=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x416d50(0x1b2));_0x363bc6(_0x52005e);return;}}else{if(this[_0x416d50(0x1ac)]){const _0x5a708d=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x29a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x363bc6(_0x5a708d);return;}}this[_0x416d50(0x19b)]===0x7e?this[_0x416d50(0x2cc)]=_0x559752:this[_0x416d50(0x19b)]===0x7f?this[_0x416d50(0x2cc)]=_0x276ec2:this['haveLength'](_0x363bc6);}[_0x5f160b(0x29f)](_0x4bf335){const _0x45ad4d=_0x5f160b;if(this[_0x45ad4d(0x209)]<0x2){this[_0x45ad4d(0x24b)]=!0x1;return;}this[_0x45ad4d(0x19b)]=this[_0x45ad4d(0x165)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4bf335);}[_0x5f160b(0x1ec)](_0x455a6b){const _0x337ede=_0x5f160b;if(this[_0x337ede(0x209)]<0x8){this[_0x337ede(0x24b)]=!0x1;return;}const _0x41cb7a=this[_0x337ede(0x165)](0x8),_0x437916=_0x41cb7a[_0x337ede(0x2d2)](0x0);if(_0x437916>Math[_0x337ede(0x30e)](0x2,0x15)-0x1){const _0x34ceb5=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x337ede(0x2ed));_0x455a6b(_0x34ceb5);return;}this[_0x337ede(0x19b)]=_0x437916*Math[_0x337ede(0x30e)](0x2,0x20)+_0x41cb7a[_0x337ede(0x2d2)](0x4),this[_0x337ede(0x285)](_0x455a6b);}['haveLength'](_0x263a8e){const _0x36a0eb=_0x5f160b;if(this[_0x36a0eb(0x19b)]&&this['_opcode']<0x8&&(this[_0x36a0eb(0x191)]+=this[_0x36a0eb(0x19b)],this['_totalPayloadLength']>this[_0x36a0eb(0x167)]&&this['_maxPayload']>0x0)){const _0x5626f2=this['createError'](RangeError,_0x36a0eb(0x281),!0x1,0x3f1,_0x36a0eb(0x1ab));_0x263a8e(_0x5626f2);return;}this[_0x36a0eb(0x1ac)]?this[_0x36a0eb(0x2cc)]=_0x39752d:this[_0x36a0eb(0x2cc)]=_0x4d352d;}[_0x5f160b(0x27f)](){const _0xeea6a5=_0x5f160b;if(this[_0xeea6a5(0x209)]<0x4){this['_loop']=!0x1;return;}this[_0xeea6a5(0x200)]=this[_0xeea6a5(0x165)](0x4),this[_0xeea6a5(0x2cc)]=_0x4d352d;}[_0x5f160b(0x19f)](_0x163c1a){const _0x5a9b91=_0x5f160b;let _0x2c1948=_0x384def;if(this[_0x5a9b91(0x19b)]){if(this[_0x5a9b91(0x209)]<this[_0x5a9b91(0x19b)]){this['_loop']=!0x1;return;}_0x2c1948=this['consume'](this[_0x5a9b91(0x19b)]),this[_0x5a9b91(0x1ac)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5a9b91(0x200)][0x2]|this[_0x5a9b91(0x200)][0x3])!==0x0&&_0x593fa6(_0x2c1948,this['_mask']);}if(this[_0x5a9b91(0x1d9)]>0x7){this[_0x5a9b91(0x305)](_0x2c1948,_0x163c1a);return;}if(this[_0x5a9b91(0x2ef)]){this[_0x5a9b91(0x2cc)]=_0x447588,this[_0x5a9b91(0x272)](_0x2c1948,_0x163c1a);return;}_0x2c1948[_0x5a9b91(0x240)]&&(this[_0x5a9b91(0x276)]=this[_0x5a9b91(0x191)],this[_0x5a9b91(0x2ba)]['push'](_0x2c1948)),this['dataMessage'](_0x163c1a);}[_0x5f160b(0x272)](_0x469573,_0x18642e){const _0x3b0fbd=_0x5f160b;this['_extensions'][_0x49cf5e[_0x3b0fbd(0x2b3)]][_0x3b0fbd(0x272)](_0x469573,this[_0x3b0fbd(0x22b)],(_0x14e4ca,_0x84808)=>{const _0x28fa72=_0x3b0fbd;if(_0x14e4ca)return _0x18642e(_0x14e4ca);if(_0x84808[_0x28fa72(0x240)]){if(this[_0x28fa72(0x276)]+=_0x84808[_0x28fa72(0x240)],this['_messageLength']>this[_0x28fa72(0x167)]&&this[_0x28fa72(0x167)]>0x0){const _0x5bc722=this[_0x28fa72(0x2c0)](RangeError,_0x28fa72(0x281),!0x1,0x3f1,_0x28fa72(0x1ab));_0x18642e(_0x5bc722);return;}this[_0x28fa72(0x2ba)][_0x28fa72(0x1b7)](_0x84808);}this[_0x28fa72(0x256)](_0x18642e),this[_0x28fa72(0x2cc)]===_0x12080a&&this[_0x28fa72(0x19c)](_0x18642e);});}[_0x5f160b(0x256)](_0x437a8b){const _0x2696b4=_0x5f160b;if(!this['_fin']){this[_0x2696b4(0x2cc)]=_0x12080a;return;}const _0x35b54b=this[_0x2696b4(0x276)],_0x12f443=this[_0x2696b4(0x2ba)];if(this[_0x2696b4(0x191)]=0x0,this[_0x2696b4(0x276)]=0x0,this[_0x2696b4(0x282)]=0x0,this[_0x2696b4(0x2ba)]=[],this[_0x2696b4(0x1d9)]===0x2){let _0x526d55;this[_0x2696b4(0x1c3)]===_0x2696b4(0x24a)?_0x526d55=_0x458394(_0x12f443,_0x35b54b):this[_0x2696b4(0x1c3)]===_0x2696b4(0x18a)?_0x526d55=_0x276078(_0x458394(_0x12f443,_0x35b54b)):this['_binaryType']===_0x2696b4(0x177)?_0x526d55=new Blob(_0x12f443):_0x526d55=_0x12f443,this[_0x2696b4(0x226)]?(this[_0x2696b4(0x26d)]('message',_0x526d55,!0x0),this[_0x2696b4(0x2cc)]=_0x12080a):(this[_0x2696b4(0x2cc)]=_0x1fcb93,setImmediate(()=>{const _0x1f8947=_0x2696b4;this['emit'](_0x1f8947(0x174),_0x526d55,!0x0),this[_0x1f8947(0x2cc)]=_0x12080a,this[_0x1f8947(0x19c)](_0x437a8b);}));}else{const _0x3d4d8b=_0x458394(_0x12f443,_0x35b54b);if(!this[_0x2696b4(0x2f4)]&&!_0x53c6a4(_0x3d4d8b)){const _0x1f5710=this['createError'](Error,_0x2696b4(0x219),!0x0,0x3ef,_0x2696b4(0x297));_0x437a8b(_0x1f5710);return;}this[_0x2696b4(0x2cc)]===_0x447588||this[_0x2696b4(0x226)]?(this['emit'](_0x2696b4(0x174),_0x3d4d8b,!0x1),this['_state']=_0x12080a):(this['_state']=_0x1fcb93,setImmediate(()=>{const _0x1931b0=_0x2696b4;this['emit'](_0x1931b0(0x174),_0x3d4d8b,!0x1),this['_state']=_0x12080a,this['startLoop'](_0x437a8b);}));}}[_0x5f160b(0x305)](_0x126af0,_0x546df6){const _0xc2d89c=_0x5f160b;if(this['_opcode']===0x8){if(_0x126af0[_0xc2d89c(0x240)]===0x0)this[_0xc2d89c(0x24b)]=!0x1,this[_0xc2d89c(0x26d)](_0xc2d89c(0x26e),0x3ed,_0x384def),this[_0xc2d89c(0x2f9)]();else{const _0x269955=_0x126af0['readUInt16BE'](0x0);if(!_0x4376b8(_0x269955)){const _0xcc2024=this[_0xc2d89c(0x2c0)](RangeError,'invalid\x20status\x20code\x20'+_0x269955,!0x0,0x3ea,_0xc2d89c(0x172));_0x546df6(_0xcc2024);return;}const _0x36674f=new _0x18d842(_0x126af0[_0xc2d89c(0x299)],_0x126af0['byteOffset']+0x2,_0x126af0['length']-0x2);if(!this[_0xc2d89c(0x2f4)]&&!_0x53c6a4(_0x36674f)){const _0x316da8=this[_0xc2d89c(0x2c0)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xc2d89c(0x297));_0x546df6(_0x316da8);return;}this['_loop']=!0x1,this[_0xc2d89c(0x26d)]('conclude',_0x269955,_0x36674f),this[_0xc2d89c(0x2f9)]();}this[_0xc2d89c(0x2cc)]=_0x12080a;return;}this[_0xc2d89c(0x226)]?(this[_0xc2d89c(0x26d)](this[_0xc2d89c(0x1d9)]===0x9?_0xc2d89c(0x210):_0xc2d89c(0x199),_0x126af0),this[_0xc2d89c(0x2cc)]=_0x12080a):(this['_state']=_0x1fcb93,setImmediate(()=>{const _0x69df9f=_0xc2d89c;this[_0x69df9f(0x26d)](this[_0x69df9f(0x1d9)]===0x9?_0x69df9f(0x210):_0x69df9f(0x199),_0x126af0),this['_state']=_0x12080a,this['startLoop'](_0x546df6);}));}[_0x5f160b(0x2c0)](_0x2d3d7e,_0x5bb104,_0x4e1897,_0x2583b8,_0x5a9364){const _0x577fd5=_0x5f160b;this[_0x577fd5(0x24b)]=!0x1,this['_errored']=!0x0;const _0x57072c=new _0x2d3d7e(_0x4e1897?'Invalid\x20WebSocket\x20frame:\x20'+_0x5bb104:_0x5bb104);return Error[_0x577fd5(0x2b7)](_0x57072c,this[_0x577fd5(0x2c0)]),_0x57072c[_0x577fd5(0x291)]=_0x5a9364,_0x57072c[_0x5f2b81]=_0x2583b8,_0x57072c;}}return Se=_0x2ff00c,Se;}var Ee,Xe;function ft(){const _0x494d26=_0xc2e6c0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x25623b}=oe,{randomFillSync:_0x227a78}=Le,_0x15d027=he(),{EMPTY_BUFFER:_0x4240bb,kWebSocket:_0x32d7c9,NOOP:_0x1996fa}=H(),{isBlob:_0x567fd6,isValidStatusCode:_0x137e4d}=ae(),{mask:_0x1a3036,toBuffer:_0x7932a5}=ce(),_0x1c60ce=Symbol(_0x494d26(0x273)),_0x33c8b4=Buffer[_0x494d26(0x24f)](0x4),_0x3be782=0x8*0x400;let _0x40602a,_0x5d2324=_0x3be782;const _0x6b6c02=0x0,_0x4b4078=0x1,_0x16e9d7=0x2;class _0x2cba68{constructor(_0x9f79b8,_0xd99a86,_0x4b903b){const _0x16618f=_0x494d26;this[_0x16618f(0x153)]=_0xd99a86||{},_0x4b903b&&(this[_0x16618f(0x1cd)]=_0x4b903b,this[_0x16618f(0x27a)]=Buffer[_0x16618f(0x24f)](0x4)),this[_0x16618f(0x1cf)]=_0x9f79b8,this[_0x16618f(0x2e2)]=!0x0,this[_0x16618f(0x16c)]=!0x1,this['_bufferedBytes']=0x0,this[_0x16618f(0x218)]=[],this[_0x16618f(0x2cc)]=_0x6b6c02,this['onerror']=_0x1996fa,this[_0x32d7c9]=void 0x0;}static[_0x494d26(0x271)](_0xadf2e6,_0x1ad223){const _0x344d65=_0x494d26;let _0x18dde6,_0x4da721=!0x1,_0xcc85c=0x2,_0x44c3e0=!0x1;_0x1ad223[_0x344d65(0x211)]&&(_0x18dde6=_0x1ad223['maskBuffer']||_0x33c8b4,_0x1ad223['generateMask']?_0x1ad223[_0x344d65(0x1fd)](_0x18dde6):(_0x5d2324===_0x3be782&&(_0x40602a===void 0x0&&(_0x40602a=Buffer['alloc'](_0x3be782)),_0x227a78(_0x40602a,0x0,_0x3be782),_0x5d2324=0x0),_0x18dde6[0x0]=_0x40602a[_0x5d2324++],_0x18dde6[0x1]=_0x40602a[_0x5d2324++],_0x18dde6[0x2]=_0x40602a[_0x5d2324++],_0x18dde6[0x3]=_0x40602a[_0x5d2324++]),_0x44c3e0=(_0x18dde6[0x0]|_0x18dde6[0x1]|_0x18dde6[0x2]|_0x18dde6[0x3])===0x0,_0xcc85c=0x6);let _0x57a8f6;typeof _0xadf2e6==_0x344d65(0x289)?(!_0x1ad223[_0x344d65(0x211)]||_0x44c3e0)&&_0x1ad223[_0x1c60ce]!==void 0x0?_0x57a8f6=_0x1ad223[_0x1c60ce]:(_0xadf2e6=Buffer[_0x344d65(0x2f1)](_0xadf2e6),_0x57a8f6=_0xadf2e6[_0x344d65(0x240)]):(_0x57a8f6=_0xadf2e6[_0x344d65(0x240)],_0x4da721=_0x1ad223[_0x344d65(0x211)]&&_0x1ad223['readOnly']&&!_0x44c3e0);let _0x393bf1=_0x57a8f6;_0x57a8f6>=0x10000?(_0xcc85c+=0x8,_0x393bf1=0x7f):_0x57a8f6>0x7d&&(_0xcc85c+=0x2,_0x393bf1=0x7e);const _0x4b050b=Buffer[_0x344d65(0x221)](_0x4da721?_0x57a8f6+_0xcc85c:_0xcc85c);return _0x4b050b[0x0]=_0x1ad223[_0x344d65(0x190)]?_0x1ad223['opcode']|0x80:_0x1ad223[_0x344d65(0x280)],_0x1ad223[_0x344d65(0x166)]&&(_0x4b050b[0x0]|=0x40),_0x4b050b[0x1]=_0x393bf1,_0x393bf1===0x7e?_0x4b050b[_0x344d65(0x1f1)](_0x57a8f6,0x2):_0x393bf1===0x7f&&(_0x4b050b[0x2]=_0x4b050b[0x3]=0x0,_0x4b050b['writeUIntBE'](_0x57a8f6,0x4,0x6)),_0x1ad223[_0x344d65(0x211)]?(_0x4b050b[0x1]|=0x80,_0x4b050b[_0xcc85c-0x4]=_0x18dde6[0x0],_0x4b050b[_0xcc85c-0x3]=_0x18dde6[0x1],_0x4b050b[_0xcc85c-0x2]=_0x18dde6[0x2],_0x4b050b[_0xcc85c-0x1]=_0x18dde6[0x3],_0x44c3e0?[_0x4b050b,_0xadf2e6]:_0x4da721?(_0x1a3036(_0xadf2e6,_0x18dde6,_0x4b050b,_0xcc85c,_0x57a8f6),[_0x4b050b]):(_0x1a3036(_0xadf2e6,_0x18dde6,_0xadf2e6,0x0,_0x57a8f6),[_0x4b050b,_0xadf2e6])):[_0x4b050b,_0xadf2e6];}[_0x494d26(0x2e5)](_0x5f4801,_0x104559,_0x5e26a3,_0x151407){const _0x36b49d=_0x494d26;let _0x316988;if(_0x5f4801===void 0x0)_0x316988=_0x4240bb;else{if(typeof _0x5f4801!=_0x36b49d(0x1e4)||!_0x137e4d(_0x5f4801))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x104559===void 0x0||!_0x104559[_0x36b49d(0x240)])_0x316988=Buffer['allocUnsafe'](0x2),_0x316988['writeUInt16BE'](_0x5f4801,0x0);else{const _0x3e7aa6=Buffer['byteLength'](_0x104559);if(_0x3e7aa6>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x316988=Buffer[_0x36b49d(0x221)](0x2+_0x3e7aa6),_0x316988[_0x36b49d(0x1f1)](_0x5f4801,0x0),typeof _0x104559==_0x36b49d(0x289)?_0x316988['write'](_0x104559,0x2):_0x316988[_0x36b49d(0x16e)](_0x104559,0x2);}}const _0x1537d8={[_0x1c60ce]:_0x316988[_0x36b49d(0x240)],'fin':!0x0,'generateMask':this[_0x36b49d(0x1cd)],'mask':_0x5e26a3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x6b6c02?this['enqueue']([this[_0x36b49d(0x2a3)],_0x316988,!0x1,_0x1537d8,_0x151407]):this[_0x36b49d(0x1d1)](_0x2cba68[_0x36b49d(0x271)](_0x316988,_0x1537d8),_0x151407);}['ping'](_0x10c1cc,_0x81eb84,_0xd877e7){const _0x30c102=_0x494d26;let _0x57f000,_0x49d7c5;if(typeof _0x10c1cc=='string'?(_0x57f000=Buffer[_0x30c102(0x197)](_0x10c1cc),_0x49d7c5=!0x1):_0x567fd6(_0x10c1cc)?(_0x57f000=_0x10c1cc['size'],_0x49d7c5=!0x1):(_0x10c1cc=_0x7932a5(_0x10c1cc),_0x57f000=_0x10c1cc[_0x30c102(0x240)],_0x49d7c5=_0x7932a5[_0x30c102(0x2ec)]),_0x57f000>0x7d)throw new RangeError(_0x30c102(0x151));const _0x160be9={[_0x1c60ce]:_0x57f000,'fin':!0x0,'generateMask':this[_0x30c102(0x1cd)],'mask':_0x81eb84,'maskBuffer':this[_0x30c102(0x27a)],'opcode':0x9,'readOnly':_0x49d7c5,'rsv1':!0x1};_0x567fd6(_0x10c1cc)?this[_0x30c102(0x2cc)]!==_0x6b6c02?this[_0x30c102(0x1d5)]([this[_0x30c102(0x25d)],_0x10c1cc,!0x1,_0x160be9,_0xd877e7]):this[_0x30c102(0x25d)](_0x10c1cc,!0x1,_0x160be9,_0xd877e7):this['_state']!==_0x6b6c02?this[_0x30c102(0x1d5)]([this['dispatch'],_0x10c1cc,!0x1,_0x160be9,_0xd877e7]):this[_0x30c102(0x1d1)](_0x2cba68[_0x30c102(0x271)](_0x10c1cc,_0x160be9),_0xd877e7);}[_0x494d26(0x199)](_0x26e3bd,_0x42630f,_0x1e92d2){const _0xf5cf6c=_0x494d26;let _0x225c1c,_0x1efe0b;if(typeof _0x26e3bd==_0xf5cf6c(0x289)?(_0x225c1c=Buffer['byteLength'](_0x26e3bd),_0x1efe0b=!0x1):_0x567fd6(_0x26e3bd)?(_0x225c1c=_0x26e3bd[_0xf5cf6c(0x2cb)],_0x1efe0b=!0x1):(_0x26e3bd=_0x7932a5(_0x26e3bd),_0x225c1c=_0x26e3bd[_0xf5cf6c(0x240)],_0x1efe0b=_0x7932a5['readOnly']),_0x225c1c>0x7d)throw new RangeError(_0xf5cf6c(0x151));const _0x3a6c64={[_0x1c60ce]:_0x225c1c,'fin':!0x0,'generateMask':this[_0xf5cf6c(0x1cd)],'mask':_0x42630f,'maskBuffer':this[_0xf5cf6c(0x27a)],'opcode':0xa,'readOnly':_0x1efe0b,'rsv1':!0x1};_0x567fd6(_0x26e3bd)?this[_0xf5cf6c(0x2cc)]!==_0x6b6c02?this['enqueue']([this[_0xf5cf6c(0x25d)],_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2]):this[_0xf5cf6c(0x25d)](_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2):this[_0xf5cf6c(0x2cc)]!==_0x6b6c02?this[_0xf5cf6c(0x1d5)]([this['dispatch'],_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2]):this[_0xf5cf6c(0x1d1)](_0x2cba68[_0xf5cf6c(0x271)](_0x26e3bd,_0x3a6c64),_0x1e92d2);}[_0x494d26(0x161)](_0x3582b3,_0x568d73,_0x5b150d){const _0x131f56=_0x494d26,_0x4ef845=this[_0x131f56(0x153)][_0x15d027[_0x131f56(0x2b3)]];let _0xc19c77=_0x568d73[_0x131f56(0x30f)]?0x2:0x1,_0xfafc98=_0x568d73[_0x131f56(0x1f4)],_0x3a061b,_0x2eefdc;typeof _0x3582b3==_0x131f56(0x289)?(_0x3a061b=Buffer['byteLength'](_0x3582b3),_0x2eefdc=!0x1):_0x567fd6(_0x3582b3)?(_0x3a061b=_0x3582b3[_0x131f56(0x2cb)],_0x2eefdc=!0x1):(_0x3582b3=_0x7932a5(_0x3582b3),_0x3a061b=_0x3582b3[_0x131f56(0x240)],_0x2eefdc=_0x7932a5[_0x131f56(0x2ec)]),this['_firstFragment']?(this[_0x131f56(0x2e2)]=!0x1,_0xfafc98&&_0x4ef845&&_0x4ef845['params'][_0x4ef845[_0x131f56(0x284)]?_0x131f56(0x30b):'client_no_context_takeover']&&(_0xfafc98=_0x3a061b>=_0x4ef845[_0x131f56(0x184)]),this[_0x131f56(0x16c)]=_0xfafc98):(_0xfafc98=!0x1,_0xc19c77=0x0),_0x568d73[_0x131f56(0x190)]&&(this[_0x131f56(0x2e2)]=!0x0);const _0x3f9ae2={[_0x1c60ce]:_0x3a061b,'fin':_0x568d73[_0x131f56(0x190)],'generateMask':this[_0x131f56(0x1cd)],'mask':_0x568d73[_0x131f56(0x211)],'maskBuffer':this['_maskBuffer'],'opcode':_0xc19c77,'readOnly':_0x2eefdc,'rsv1':_0xfafc98};_0x567fd6(_0x3582b3)?this[_0x131f56(0x2cc)]!==_0x6b6c02?this[_0x131f56(0x1d5)]([this[_0x131f56(0x25d)],_0x3582b3,this[_0x131f56(0x16c)],_0x3f9ae2,_0x5b150d]):this['getBlobData'](_0x3582b3,this['_compress'],_0x3f9ae2,_0x5b150d):this[_0x131f56(0x2cc)]!==_0x6b6c02?this[_0x131f56(0x1d5)]([this['dispatch'],_0x3582b3,this['_compress'],_0x3f9ae2,_0x5b150d]):this[_0x131f56(0x2a3)](_0x3582b3,this[_0x131f56(0x16c)],_0x3f9ae2,_0x5b150d);}[_0x494d26(0x25d)](_0x425741,_0x408a9d,_0x201877,_0x2d5f50){const _0x11805f=_0x494d26;this['_bufferedBytes']+=_0x201877[_0x1c60ce],this[_0x11805f(0x2cc)]=_0x16e9d7,_0x425741[_0x11805f(0x2b6)]()['then'](_0x5d4bf5=>{const _0x165c37=_0x11805f;if(this[_0x165c37(0x1cf)][_0x165c37(0x268)]){const _0x2597b9=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x165c37(0x1bd)](_0x521160,this,_0x2597b9,_0x2d5f50);return;}this[_0x165c37(0x209)]-=_0x201877[_0x1c60ce];const _0x477888=_0x7932a5(_0x5d4bf5);_0x408a9d?this[_0x165c37(0x2a3)](_0x477888,_0x408a9d,_0x201877,_0x2d5f50):(this['_state']=_0x6b6c02,this['sendFrame'](_0x2cba68['frame'](_0x477888,_0x201877),_0x2d5f50),this['dequeue']());})['catch'](_0x70c37f=>{const _0x1a49d9=_0x11805f;process[_0x1a49d9(0x1bd)](_0x57d53a,this,_0x70c37f,_0x2d5f50);});}[_0x494d26(0x2a3)](_0x49cd5c,_0x20238f,_0x2e0bcd,_0x245dbc){const _0x7469ad=_0x494d26;if(!_0x20238f){this[_0x7469ad(0x1d1)](_0x2cba68[_0x7469ad(0x271)](_0x49cd5c,_0x2e0bcd),_0x245dbc);return;}const _0x1d7f5f=this['_extensions'][_0x15d027['extensionName']];this['_bufferedBytes']+=_0x2e0bcd[_0x1c60ce],this[_0x7469ad(0x2cc)]=_0x4b4078,_0x1d7f5f[_0x7469ad(0x1f4)](_0x49cd5c,_0x2e0bcd[_0x7469ad(0x190)],(_0x43a4c3,_0x13c43c)=>{const _0x4a727c=_0x7469ad;if(this['_socket']['destroyed']){const _0x560db5=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x521160(this,_0x560db5,_0x245dbc);return;}this[_0x4a727c(0x209)]-=_0x2e0bcd[_0x1c60ce],this[_0x4a727c(0x2cc)]=_0x6b6c02,_0x2e0bcd[_0x4a727c(0x2ec)]=!0x1,this[_0x4a727c(0x1d1)](_0x2cba68[_0x4a727c(0x271)](_0x13c43c,_0x2e0bcd),_0x245dbc),this[_0x4a727c(0x309)]();});}[_0x494d26(0x309)](){const _0x2dbd34=_0x494d26;for(;this[_0x2dbd34(0x2cc)]===_0x6b6c02&&this[_0x2dbd34(0x218)][_0x2dbd34(0x240)];){const _0x465614=this[_0x2dbd34(0x218)]['shift']();this[_0x2dbd34(0x209)]-=_0x465614[0x3][_0x1c60ce],Reflect[_0x2dbd34(0x2d7)](_0x465614[0x0],this,_0x465614['slice'](0x1));}}[_0x494d26(0x1d5)](_0x348526){const _0x48c2d1=_0x494d26;this[_0x48c2d1(0x209)]+=_0x348526[0x3][_0x1c60ce],this[_0x48c2d1(0x218)][_0x48c2d1(0x1b7)](_0x348526);}[_0x494d26(0x1d1)](_0x5134e4,_0x4270e9){const _0x44ea9c=_0x494d26;_0x5134e4['length']===0x2?(this[_0x44ea9c(0x1cf)][_0x44ea9c(0x278)](),this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ff)](_0x5134e4[0x0]),this['_socket']['write'](_0x5134e4[0x1],_0x4270e9),this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ab)]()):this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ff)](_0x5134e4[0x0],_0x4270e9);}}Ee=_0x2cba68;function _0x521160(_0x194cdd,_0x3a6161,_0x4260fd){const _0x43af7c=_0x494d26;typeof _0x4260fd==_0x43af7c(0x301)&&_0x4260fd(_0x3a6161);for(let _0x327b2c=0x0;_0x327b2c<_0x194cdd[_0x43af7c(0x218)][_0x43af7c(0x240)];_0x327b2c++){const _0x12011e=_0x194cdd['_queue'][_0x327b2c],_0x6c8bd5=_0x12011e[_0x12011e[_0x43af7c(0x240)]-0x1];typeof _0x6c8bd5==_0x43af7c(0x301)&&_0x6c8bd5(_0x3a6161);}}function _0x57d53a(_0x451528,_0xf09238,_0x4d848e){const _0x5ed73b=_0x494d26;_0x521160(_0x451528,_0xf09238,_0x4d848e),_0x451528[_0x5ed73b(0x159)](_0xf09238);}return Ee;}var xe,Ze;function It(){const _0x3a4a01=_0xc2e6c0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4f878f,kListener:_0x3c1364}=H(),_0x4725b6=Symbol(_0x3a4a01(0x234)),_0x2cc7e2=Symbol(_0x3a4a01(0x1b4)),_0x32b5e7=Symbol(_0x3a4a01(0x2fc)),_0x316bbc=Symbol(_0x3a4a01(0x28f)),_0x5851a5=Symbol(_0x3a4a01(0x156)),_0x593130=Symbol(_0x3a4a01(0x183)),_0x3ed053=Symbol('kType'),_0x3a032c=Symbol('kWasClean');class _0x3ef573{constructor(_0x42d77e){this[_0x593130]=null,this[_0x3ed053]=_0x42d77e;}get['target'](){return this[_0x593130];}get[_0x3a4a01(0x306)](){return this[_0x3ed053];}}Object[_0x3a4a01(0x259)](_0x3ef573['prototype'],'target',{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x3ef573[_0x3a4a01(0x2c9)],'type',{'enumerable':!0x0});class _0x91b01a extends _0x3ef573{constructor(_0x551db4,_0x303b6e={}){const _0x308129=_0x3a4a01;super(_0x551db4),this[_0x4725b6]=_0x303b6e[_0x308129(0x291)]===void 0x0?0x0:_0x303b6e[_0x308129(0x291)],this[_0x5851a5]=_0x303b6e[_0x308129(0x246)]===void 0x0?'':_0x303b6e[_0x308129(0x246)],this[_0x3a032c]=_0x303b6e[_0x308129(0x2d9)]===void 0x0?!0x1:_0x303b6e[_0x308129(0x2d9)];}get[_0x3a4a01(0x291)](){return this[_0x4725b6];}get[_0x3a4a01(0x246)](){return this[_0x5851a5];}get[_0x3a4a01(0x2d9)](){return this[_0x3a032c];}}Object[_0x3a4a01(0x259)](_0x91b01a[_0x3a4a01(0x2c9)],_0x3a4a01(0x291),{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x91b01a[_0x3a4a01(0x2c9)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x91b01a[_0x3a4a01(0x2c9)],_0x3a4a01(0x2d9),{'enumerable':!0x0});class _0x20b08f extends _0x3ef573{constructor(_0x5776b3,_0x3d89b8={}){const _0x4baa90=_0x3a4a01;super(_0x5776b3),this[_0x32b5e7]=_0x3d89b8[_0x4baa90(0x21d)]===void 0x0?null:_0x3d89b8[_0x4baa90(0x21d)],this[_0x316bbc]=_0x3d89b8[_0x4baa90(0x174)]===void 0x0?'':_0x3d89b8['message'];}get[_0x3a4a01(0x21d)](){return this[_0x32b5e7];}get['message'](){return this[_0x316bbc];}}Object['defineProperty'](_0x20b08f['prototype'],_0x3a4a01(0x21d),{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x20b08f[_0x3a4a01(0x2c9)],_0x3a4a01(0x174),{'enumerable':!0x0});class _0x5411ba extends _0x3ef573{constructor(_0x5e4142,_0x520957={}){const _0x484362=_0x3a4a01;super(_0x5e4142),this[_0x2cc7e2]=_0x520957['data']===void 0x0?null:_0x520957[_0x484362(0x19d)];}get[_0x3a4a01(0x19d)](){return this[_0x2cc7e2];}}Object[_0x3a4a01(0x259)](_0x5411ba[_0x3a4a01(0x2c9)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x91b01a,'ErrorEvent':_0x20b08f,'Event':_0x3ef573,'EventTarget':{'addEventListener'(_0x42ee03,_0x2f9937,_0x1ae001={}){const _0x537b91=_0x3a4a01;for(const _0x3f49a0 of this[_0x537b91(0x2d0)](_0x42ee03))if(!_0x1ae001[_0x4f878f]&&_0x3f49a0[_0x3c1364]===_0x2f9937&&!_0x3f49a0[_0x4f878f])return;let _0x49f2d1;if(_0x42ee03===_0x537b91(0x174))_0x49f2d1=function(_0x113e94,_0x493685){const _0x2d1164=_0x537b91,_0x2b4b1a=new _0x5411ba(_0x2d1164(0x174),{'data':_0x493685?_0x113e94:_0x113e94[_0x2d1164(0x16a)]()});_0x2b4b1a[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x2b4b1a);};else{if(_0x42ee03==='close')_0x49f2d1=function(_0x5a20c5,_0x343f4c){const _0x1f49b8=_0x537b91,_0x4cb375=new _0x91b01a(_0x1f49b8(0x2e5),{'code':_0x5a20c5,'reason':_0x343f4c['toString'](),'wasClean':this[_0x1f49b8(0x303)]&&this[_0x1f49b8(0x1b0)]});_0x4cb375[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x4cb375);};else{if(_0x42ee03==='error')_0x49f2d1=function(_0x104598){const _0xd67527=_0x537b91,_0xc31ffc=new _0x20b08f(_0xd67527(0x21d),{'error':_0x104598,'message':_0x104598['message']});_0xc31ffc[_0x593130]=this,_0x25239b(_0x2f9937,this,_0xc31ffc);};else{if(_0x42ee03===_0x537b91(0x15a))_0x49f2d1=function(){const _0x341c7b=_0x537b91,_0x427280=new _0x3ef573(_0x341c7b(0x15a));_0x427280[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x427280);};else return;}}}_0x49f2d1[_0x4f878f]=!!_0x1ae001[_0x4f878f],_0x49f2d1[_0x3c1364]=_0x2f9937,_0x1ae001[_0x537b91(0x23f)]?this['once'](_0x42ee03,_0x49f2d1):this['on'](_0x42ee03,_0x49f2d1);},'removeEventListener'(_0x357429,_0x3ac0ae){const _0x3fcfb9=_0x3a4a01;for(const _0x5aaddf of this[_0x3fcfb9(0x2d0)](_0x357429))if(_0x5aaddf[_0x3c1364]===_0x3ac0ae&&!_0x5aaddf[_0x4f878f]){this[_0x3fcfb9(0x2b9)](_0x357429,_0x5aaddf);break;}}},'MessageEvent':_0x5411ba};function _0x25239b(_0x3dcd00,_0x1cc01a,_0x2011d6){const _0x5b3dbe=_0x3a4a01;typeof _0x3dcd00==_0x5b3dbe(0x267)&&_0x3dcd00['handleEvent']?_0x3dcd00[_0x5b3dbe(0x182)][_0x5b3dbe(0x233)](_0x3dcd00,_0x2011d6):_0x3dcd00['call'](_0x1cc01a,_0x2011d6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2c332c}=ae();function _0x31742e(_0x43c1ef,_0x9dc37e,_0x558e94){const _0x51d0ce=_0x1197;_0x43c1ef[_0x9dc37e]===void 0x0?_0x43c1ef[_0x9dc37e]=[_0x558e94]:_0x43c1ef[_0x9dc37e][_0x51d0ce(0x1b7)](_0x558e94);}function _0x4e8288(_0x1ca982){const _0x5809f8=_0x1197,_0x37a893=Object['create'](null);let _0x527dbc=Object['create'](null),_0x324510=!0x1,_0x2cbd64=!0x1,_0x192b19=!0x1,_0x3d193c,_0x5737ca,_0x509611=-0x1,_0x3757c1=-0x1,_0xd596c6=-0x1,_0x4226d5=0x0;for(;_0x4226d5<_0x1ca982['length'];_0x4226d5++)if(_0x3757c1=_0x1ca982['charCodeAt'](_0x4226d5),_0x3d193c===void 0x0){if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x4226d5!==0x0&&(_0x3757c1===0x20||_0x3757c1===0x9))_0xd596c6===-0x1&&_0x509611!==-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);const _0x4fd522=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);_0x3757c1===0x2c?(_0x31742e(_0x37a893,_0x4fd522,_0x527dbc),_0x527dbc=Object[_0x5809f8(0x1af)](null)):_0x3d193c=_0x4fd522,_0x509611=_0xd596c6=-0x1;}else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}else{if(_0x5737ca===void 0x0){if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x3757c1===0x20||_0x3757c1===0x9)_0xd596c6===-0x1&&_0x509611!==-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5),_0x31742e(_0x527dbc,_0x1ca982['slice'](_0x509611,_0xd596c6),!0x0),_0x3757c1===0x2c&&(_0x31742e(_0x37a893,_0x3d193c,_0x527dbc),_0x527dbc=Object[_0x5809f8(0x1af)](null),_0x3d193c=void 0x0),_0x509611=_0xd596c6=-0x1;}else{if(_0x3757c1===0x3d&&_0x509611!==-0x1&&_0xd596c6===-0x1)_0x5737ca=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0x4226d5),_0x509611=_0xd596c6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4226d5);}}}}else{if(_0x2cbd64){if(_0x2c332c[_0x3757c1]!==0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0x509611===-0x1?_0x509611=_0x4226d5:_0x324510||(_0x324510=!0x0),_0x2cbd64=!0x1;}else{if(_0x192b19){if(_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x3757c1===0x22&&_0x509611!==-0x1)_0x192b19=!0x1,_0xd596c6=_0x4226d5;else{if(_0x3757c1===0x5c)_0x2cbd64=!0x0;else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}else{if(_0x3757c1===0x22&&_0x1ca982[_0x5809f8(0x266)](_0x4226d5-0x1)===0x3d)_0x192b19=!0x0;else{if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x509611!==-0x1&&(_0x3757c1===0x20||_0x3757c1===0x9))_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);let _0x77e73b=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);_0x324510&&(_0x77e73b=_0x77e73b[_0x5809f8(0x1d8)](/\\/g,''),_0x324510=!0x1),_0x31742e(_0x527dbc,_0x5737ca,_0x77e73b),_0x3757c1===0x2c&&(_0x31742e(_0x37a893,_0x3d193c,_0x527dbc),_0x527dbc=Object['create'](null),_0x3d193c=void 0x0),_0x5737ca=void 0x0,_0x509611=_0xd596c6=-0x1;}else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}}}}}if(_0x509611===-0x1||_0x192b19||_0x3757c1===0x20||_0x3757c1===0x9)throw new SyntaxError(_0x5809f8(0x1a0));_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);const _0x283490=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);return _0x3d193c===void 0x0?_0x31742e(_0x37a893,_0x283490,_0x527dbc):(_0x5737ca===void 0x0?_0x31742e(_0x527dbc,_0x283490,!0x0):_0x324510?_0x31742e(_0x527dbc,_0x5737ca,_0x283490[_0x5809f8(0x1d8)](/\\/g,'')):_0x31742e(_0x527dbc,_0x5737ca,_0x283490),_0x31742e(_0x37a893,_0x3d193c,_0x527dbc)),_0x37a893;}function _0x4a964a(_0x381bf3){const _0x15e23f=_0x1197;return Object[_0x15e23f(0x1f6)](_0x381bf3)['map'](_0x40fbfe=>{const _0x4270e0=_0x15e23f;let _0x386a68=_0x381bf3[_0x40fbfe];return Array[_0x4270e0(0x17c)](_0x386a68)||(_0x386a68=[_0x386a68]),_0x386a68['map'](_0x1e9fa0=>[_0x40fbfe][_0x4270e0(0x21c)](Object[_0x4270e0(0x1f6)](_0x1e9fa0)['map'](_0x36f1f6=>{const _0xf4e998=_0x4270e0;let _0x4a5e0f=_0x1e9fa0[_0x36f1f6];return Array[_0xf4e998(0x17c)](_0x4a5e0f)||(_0x4a5e0f=[_0x4a5e0f]),_0x4a5e0f['map'](_0xb527c6=>_0xb527c6===!0x0?_0x36f1f6:_0x36f1f6+'='+_0xb527c6)['join'](';\x20');}))[_0x4270e0(0x296)](';\x20'))[_0x4270e0(0x296)](',\x20');})[_0x15e23f(0x296)](',\x20');}return be={'format':_0x4a964a,'parse':_0x4e8288},be;}var we,Je;function Pe(){const _0x4c5778=_0xc2e6c0;if(Je)return we;Je=0x1;const _0x455e14=nt,_0x1b017c=vt,_0x4e6846=ot,_0x123879=St,_0x426bbe=Et,{randomBytes:_0x2f90ec,createHash:_0x5306c5}=Le,{Duplex:_0x817017,Readable:_0x250e55}=oe,{URL:_0x425c00}=xt,_0x4ccfe7=he(),_0x47f800=lt(),_0x1e65e0=ft(),{isBlob:_0x2b096d}=ae(),{BINARY_TYPES:_0x1e7bcc,EMPTY_BUFFER:_0xcb49b,GUID:_0x355381,kForOnEventAttribute:_0x5e57f5,kListener:_0x3f580a,kStatusCode:_0x5b0bf8,kWebSocket:_0x56b6f5,NOOP:_0x3b1cd1}=H(),{EventTarget:{addEventListener:_0x2163a1,removeEventListener:_0x5cd920}}=It(),{format:_0x4ee188,parse:_0x42874b}=ct(),{toBuffer:_0x26a713}=ce(),_0x468018=0x1e*0x3e8,_0x198927=Symbol(_0x4c5778(0x1c4)),_0x112f38=[0x8,0xd],_0xec37d9=[_0x4c5778(0x28e),'OPEN','CLOSING',_0x4c5778(0x314)],_0x156194=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5772ec extends _0x455e14{constructor(_0x4dcb1a,_0x153802,_0x2a7937){const _0x2e3031=_0x4c5778;super(),this[_0x2e3031(0x1c3)]=_0x1e7bcc[0x0],this[_0x2e3031(0x1a7)]=0x3ee,this[_0x2e3031(0x303)]=!0x1,this[_0x2e3031(0x1b0)]=!0x1,this[_0x2e3031(0x2f7)]=_0xcb49b,this[_0x2e3031(0x181)]=null,this[_0x2e3031(0x2cd)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x2e3031(0x310)]='',this[_0x2e3031(0x1b3)]=_0x5772ec[_0x2e3031(0x28e)],this[_0x2e3031(0x198)]=null,this['_sender']=null,this['_socket']=null,_0x4dcb1a!==null?(this[_0x2e3031(0x2c1)]=0x0,this[_0x2e3031(0x284)]=!0x1,this[_0x2e3031(0x16d)]=0x0,_0x153802===void 0x0?_0x153802=[]:Array['isArray'](_0x153802)||(typeof _0x153802==_0x2e3031(0x267)&&_0x153802!==null?(_0x2a7937=_0x153802,_0x153802=[]):_0x153802=[_0x153802]),_0x80554b(this,_0x4dcb1a,_0x153802,_0x2a7937)):(this[_0x2e3031(0x302)]=_0x2a7937[_0x2e3031(0x17b)],this['_isServer']=!0x0);}get[_0x4c5778(0x207)](){const _0xcf109b=_0x4c5778;return this[_0xcf109b(0x1c3)];}set[_0x4c5778(0x207)](_0xe29a00){const _0x37140d=_0x4c5778;_0x1e7bcc[_0x37140d(0x2d4)](_0xe29a00)&&(this[_0x37140d(0x1c3)]=_0xe29a00,this['_receiver']&&(this[_0x37140d(0x198)]['_binaryType']=_0xe29a00));}get['bufferedAmount'](){const _0x2674d5=_0x4c5778;return this[_0x2674d5(0x1cf)]?this[_0x2674d5(0x1cf)][_0x2674d5(0x1fc)][_0x2674d5(0x240)]+this[_0x2674d5(0x311)][_0x2674d5(0x209)]:this[_0x2674d5(0x2c1)];}get[_0x4c5778(0x2fa)](){const _0x44fce4=_0x4c5778;return Object['keys'](this[_0x44fce4(0x153)])[_0x44fce4(0x296)]();}get[_0x4c5778(0x2e3)](){const _0x52f140=_0x4c5778;return this[_0x52f140(0x279)];}get[_0x4c5778(0x1dc)](){return null;}get[_0x4c5778(0x159)](){return null;}get['onopen'](){return null;}get[_0x4c5778(0x237)](){return null;}get[_0x4c5778(0x1a3)](){const _0x2d5010=_0x4c5778;return this[_0x2d5010(0x310)];}get[_0x4c5778(0x2db)](){const _0x115e05=_0x4c5778;return this[_0x115e05(0x1b3)];}get[_0x4c5778(0x229)](){const _0x2712cb=_0x4c5778;return this[_0x2712cb(0x188)];}['setSocket'](_0x2008aa,_0x48fc4b,_0x4ab572){const _0x2bbae8=_0x4c5778,_0x13c63d=new _0x47f800({'allowSynchronousEvents':_0x4ab572[_0x2bbae8(0x20c)],'binaryType':this['binaryType'],'extensions':this[_0x2bbae8(0x153)],'isServer':this[_0x2bbae8(0x284)],'maxPayload':_0x4ab572[_0x2bbae8(0x2e7)],'skipUTF8Validation':_0x4ab572['skipUTF8Validation']}),_0x48864=new _0x1e65e0(_0x2008aa,this[_0x2bbae8(0x153)],_0x4ab572[_0x2bbae8(0x1fd)]);this[_0x2bbae8(0x198)]=_0x13c63d,this[_0x2bbae8(0x311)]=_0x48864,this[_0x2bbae8(0x1cf)]=_0x2008aa,_0x13c63d[_0x56b6f5]=this,_0x48864[_0x56b6f5]=this,_0x2008aa[_0x56b6f5]=this,_0x13c63d['on']('conclude',_0x135424),_0x13c63d['on'](_0x2bbae8(0x26f),_0x7d9133),_0x13c63d['on'](_0x2bbae8(0x21d),_0x3fdbf8),_0x13c63d['on'](_0x2bbae8(0x174),_0x228db3),_0x13c63d['on'](_0x2bbae8(0x210),_0x30e19b),_0x13c63d['on'](_0x2bbae8(0x199),_0x4e9fbc),_0x48864[_0x2bbae8(0x159)]=_0x9746a4,_0x2008aa[_0x2bbae8(0x150)]&&_0x2008aa[_0x2bbae8(0x150)](0x0),_0x2008aa[_0x2bbae8(0x178)]&&_0x2008aa[_0x2bbae8(0x178)](),_0x48fc4b[_0x2bbae8(0x240)]>0x0&&_0x2008aa['unshift'](_0x48fc4b),_0x2008aa['on'](_0x2bbae8(0x2e5),_0x10cc28),_0x2008aa['on']('data',_0x331aaa),_0x2008aa['on'](_0x2bbae8(0x2f9),_0xe4632b),_0x2008aa['on'](_0x2bbae8(0x21d),_0x16c733),this['_readyState']=_0x5772ec['OPEN'],this[_0x2bbae8(0x26d)](_0x2bbae8(0x15a));}[_0x4c5778(0x14e)](){const _0x23b020=_0x4c5778;if(!this[_0x23b020(0x1cf)]){this[_0x23b020(0x1b3)]=_0x5772ec['CLOSED'],this[_0x23b020(0x26d)](_0x23b020(0x2e5),this[_0x23b020(0x1a7)],this['_closeMessage']);return;}this[_0x23b020(0x153)][_0x4ccfe7[_0x23b020(0x2b3)]]&&this[_0x23b020(0x153)][_0x4ccfe7[_0x23b020(0x2b3)]][_0x23b020(0x1ed)](),this[_0x23b020(0x198)][_0x23b020(0x2a7)](),this['_readyState']=_0x5772ec[_0x23b020(0x314)],this[_0x23b020(0x26d)](_0x23b020(0x2e5),this[_0x23b020(0x1a7)],this[_0x23b020(0x2f7)]);}[_0x4c5778(0x2e5)](_0x3a6b31,_0x30b564){const _0x2d7ceb=_0x4c5778;if(this[_0x2d7ceb(0x2db)]!==_0x5772ec[_0x2d7ceb(0x314)]){if(this['readyState']===_0x5772ec['CONNECTING']){_0x177641(this,this[_0x2d7ceb(0x21b)],_0x2d7ceb(0x192));return;}if(this[_0x2d7ceb(0x2db)]===_0x5772ec['CLOSING']){this[_0x2d7ceb(0x1b0)]&&(this[_0x2d7ceb(0x303)]||this[_0x2d7ceb(0x198)][_0x2d7ceb(0x1fc)]['errorEmitted'])&&this[_0x2d7ceb(0x1cf)][_0x2d7ceb(0x2f9)]();return;}this[_0x2d7ceb(0x1b3)]=_0x5772ec[_0x2d7ceb(0x263)],this['_sender'][_0x2d7ceb(0x2e5)](_0x3a6b31,_0x30b564,!this[_0x2d7ceb(0x284)],_0x55ff0d=>{const _0x147c2a=_0x2d7ceb;_0x55ff0d||(this['_closeFrameSent']=!0x0,(this[_0x147c2a(0x303)]||this[_0x147c2a(0x198)]['_writableState'][_0x147c2a(0x2cf)])&&this[_0x147c2a(0x1cf)][_0x147c2a(0x2f9)]());}),_0x8adc6e(this);}}[_0x4c5778(0x162)](){const _0x3daf07=_0x4c5778;this[_0x3daf07(0x2db)]===_0x5772ec['CONNECTING']||this[_0x3daf07(0x2db)]===_0x5772ec['CLOSED']||(this['_paused']=!0x0,this[_0x3daf07(0x1cf)][_0x3daf07(0x162)]());}[_0x4c5778(0x210)](_0x114f88,_0x424e4c,_0x4203c6){const _0x20a55f=_0x4c5778;if(this[_0x20a55f(0x2db)]===_0x5772ec[_0x20a55f(0x28e)])throw new Error(_0x20a55f(0x261));if(typeof _0x114f88==_0x20a55f(0x301)?(_0x4203c6=_0x114f88,_0x114f88=_0x424e4c=void 0x0):typeof _0x424e4c==_0x20a55f(0x301)&&(_0x4203c6=_0x424e4c,_0x424e4c=void 0x0),typeof _0x114f88==_0x20a55f(0x1e4)&&(_0x114f88=_0x114f88[_0x20a55f(0x16a)]()),this[_0x20a55f(0x2db)]!==_0x5772ec['OPEN']){_0x33b24a(this,_0x114f88,_0x4203c6);return;}_0x424e4c===void 0x0&&(_0x424e4c=!this[_0x20a55f(0x284)]),this['_sender'][_0x20a55f(0x210)](_0x114f88||_0xcb49b,_0x424e4c,_0x4203c6);}[_0x4c5778(0x199)](_0x22c831,_0x55b838,_0x47a2d8){const _0x172905=_0x4c5778;if(this[_0x172905(0x2db)]===_0x5772ec[_0x172905(0x28e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x22c831==_0x172905(0x301)?(_0x47a2d8=_0x22c831,_0x22c831=_0x55b838=void 0x0):typeof _0x55b838==_0x172905(0x301)&&(_0x47a2d8=_0x55b838,_0x55b838=void 0x0),typeof _0x22c831==_0x172905(0x1e4)&&(_0x22c831=_0x22c831[_0x172905(0x16a)]()),this[_0x172905(0x2db)]!==_0x5772ec[_0x172905(0x18d)]){_0x33b24a(this,_0x22c831,_0x47a2d8);return;}_0x55b838===void 0x0&&(_0x55b838=!this[_0x172905(0x284)]),this[_0x172905(0x311)][_0x172905(0x199)](_0x22c831||_0xcb49b,_0x55b838,_0x47a2d8);}[_0x4c5778(0x185)](){const _0x22d356=_0x4c5778;this[_0x22d356(0x2db)]===_0x5772ec[_0x22d356(0x28e)]||this[_0x22d356(0x2db)]===_0x5772ec['CLOSED']||(this[_0x22d356(0x279)]=!0x1,this[_0x22d356(0x198)][_0x22d356(0x1fc)]['needDrain']||this[_0x22d356(0x1cf)][_0x22d356(0x185)]());}[_0x4c5778(0x161)](_0x323213,_0x2d4a9a,_0x4c18a8){const _0x38608b=_0x4c5778;if(this['readyState']===_0x5772ec[_0x38608b(0x28e)])throw new Error(_0x38608b(0x261));if(typeof _0x2d4a9a==_0x38608b(0x301)&&(_0x4c18a8=_0x2d4a9a,_0x2d4a9a={}),typeof _0x323213=='number'&&(_0x323213=_0x323213['toString']()),this['readyState']!==_0x5772ec[_0x38608b(0x18d)]){_0x33b24a(this,_0x323213,_0x4c18a8);return;}const _0x4f37c6={'binary':typeof _0x323213!=_0x38608b(0x289),'mask':!this[_0x38608b(0x284)],'compress':!0x0,'fin':!0x0,..._0x2d4a9a};this[_0x38608b(0x153)][_0x4ccfe7[_0x38608b(0x2b3)]]||(_0x4f37c6[_0x38608b(0x1f4)]=!0x1),this[_0x38608b(0x311)][_0x38608b(0x161)](_0x323213||_0xcb49b,_0x4f37c6,_0x4c18a8);}['terminate'](){const _0x2b79c6=_0x4c5778;if(this[_0x2b79c6(0x2db)]!==_0x5772ec['CLOSED']){if(this[_0x2b79c6(0x2db)]===_0x5772ec['CONNECTING']){_0x177641(this,this[_0x2b79c6(0x21b)],_0x2b79c6(0x192));return;}this[_0x2b79c6(0x1cf)]&&(this['_readyState']=_0x5772ec[_0x2b79c6(0x263)],this[_0x2b79c6(0x1cf)]['destroy']());}}}Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x28e),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)]('CONNECTING')}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],'CONNECTING',{'enumerable':!0x0,'value':_0xec37d9['indexOf'](_0x4c5778(0x28e))}),Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x18d),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x18d))}),Object['defineProperty'](_0x5772ec[_0x4c5778(0x2c9)],'OPEN',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x18d))}),Object['defineProperty'](_0x5772ec,'CLOSING',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x263))}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],'CLOSING',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x263))}),Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x314),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x314))}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],_0x4c5778(0x314),{'enumerable':!0x0,'value':_0xec37d9['indexOf']('CLOSED')}),[_0x4c5778(0x207),_0x4c5778(0x1ee),'extensions',_0x4c5778(0x2e3),'protocol',_0x4c5778(0x2db),_0x4c5778(0x229)][_0x4c5778(0x2bc)](_0x4db04b=>{const _0x4a19a4=_0x4c5778;Object[_0x4a19a4(0x259)](_0x5772ec[_0x4a19a4(0x2c9)],_0x4db04b,{'enumerable':!0x0});}),[_0x4c5778(0x15a),_0x4c5778(0x21d),_0x4c5778(0x2e5),_0x4c5778(0x174)][_0x4c5778(0x2bc)](_0xd73d22=>{const _0x44588d=_0x4c5778;Object[_0x44588d(0x259)](_0x5772ec[_0x44588d(0x2c9)],'on'+_0xd73d22,{'enumerable':!0x0,'get'(){for(const _0x469550 of this['listeners'](_0xd73d22))if(_0x469550[_0x5e57f5])return _0x469550[_0x3f580a];return null;},'set'(_0x2dec06){const _0x3b8f3a=_0x44588d;for(const _0x3d15ac of this[_0x3b8f3a(0x2d0)](_0xd73d22))if(_0x3d15ac[_0x5e57f5]){this[_0x3b8f3a(0x2b9)](_0xd73d22,_0x3d15ac);break;}typeof _0x2dec06==_0x3b8f3a(0x301)&&this[_0x3b8f3a(0x176)](_0xd73d22,_0x2dec06,{[_0x5e57f5]:!0x0});}});}),_0x5772ec[_0x4c5778(0x2c9)]['addEventListener']=_0x2163a1,_0x5772ec['prototype']['removeEventListener']=_0x5cd920,we=_0x5772ec;function _0x80554b(_0x123cb4,_0x526532,_0x32443d,_0x5f37b9){const _0x21540e=_0x4c5778,_0x47ef33={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x112f38[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5f37b9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x123cb4[_0x21540e(0x302)]=_0x47ef33['autoPong'],!_0x112f38['includes'](_0x47ef33[_0x21540e(0x293)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x47ef33['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x112f38[_0x21540e(0x296)](',\x20')+')');let _0x32df00;if(_0x526532 instanceof _0x425c00)_0x32df00=_0x526532;else try{_0x32df00=new _0x425c00(_0x526532);}catch{throw new SyntaxError(_0x21540e(0x251)+_0x526532);}_0x32df00['protocol']===_0x21540e(0x242)?_0x32df00[_0x21540e(0x1a3)]='ws:':_0x32df00['protocol']===_0x21540e(0x18b)&&(_0x32df00[_0x21540e(0x1a3)]=_0x21540e(0x1d3)),_0x123cb4['_url']=_0x32df00[_0x21540e(0x2f5)];const _0x44b10d=_0x32df00['protocol']==='wss:',_0x16fc5d=_0x32df00[_0x21540e(0x1a3)]===_0x21540e(0x27c);let _0x54b2cb;if(_0x32df00[_0x21540e(0x1a3)]!==_0x21540e(0x1e6)&&!_0x44b10d&&!_0x16fc5d?_0x54b2cb=_0x21540e(0x2ca):_0x16fc5d&&!_0x32df00[_0x21540e(0x1a2)]?_0x54b2cb=_0x21540e(0x247):_0x32df00[_0x21540e(0x2f2)]&&(_0x54b2cb=_0x21540e(0x243)),_0x54b2cb){const _0x101cd1=new SyntaxError(_0x54b2cb);if(_0x123cb4[_0x21540e(0x16d)]===0x0)throw _0x101cd1;_0x150f69(_0x123cb4,_0x101cd1);return;}const _0x69cec4=_0x44b10d?0x1bb:0x50,_0x31eb7a=_0x2f90ec(0x10)[_0x21540e(0x16a)]('base64'),_0x4b96b2=_0x44b10d?_0x1b017c[_0x21540e(0x253)]:_0x4e6846[_0x21540e(0x253)],_0x3c5b04=new Set();let _0x4fbf83;if(_0x47ef33['createConnection']=_0x47ef33['createConnection']||(_0x44b10d?_0x4e7bdd:_0xaf2298),_0x47ef33['defaultPort']=_0x47ef33[_0x21540e(0x1f3)]||_0x69cec4,_0x47ef33[_0x21540e(0x171)]=_0x32df00['port']||_0x69cec4,_0x47ef33[_0x21540e(0x2a1)]=_0x32df00[_0x21540e(0x1ca)][_0x21540e(0x235)]('[')?_0x32df00[_0x21540e(0x1ca)][_0x21540e(0x2c6)](0x1,-0x1):_0x32df00[_0x21540e(0x1ca)],_0x47ef33[_0x21540e(0x1ce)]={..._0x47ef33[_0x21540e(0x1ce)],'Sec-WebSocket-Version':_0x47ef33[_0x21540e(0x293)],'Sec-WebSocket-Key':_0x31eb7a,'Connection':_0x21540e(0x2ce),'Upgrade':_0x21540e(0x169)},_0x47ef33[_0x21540e(0x1e7)]=_0x32df00[_0x21540e(0x1a2)]+_0x32df00[_0x21540e(0x1ea)],_0x47ef33[_0x21540e(0x316)]=_0x47ef33[_0x21540e(0x16f)],_0x47ef33[_0x21540e(0x245)]&&(_0x4fbf83=new _0x4ccfe7(_0x47ef33[_0x21540e(0x245)]!==!0x0?_0x47ef33[_0x21540e(0x245)]:{},!0x1,_0x47ef33['maxPayload']),_0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x2b2)]=_0x4ee188({[_0x4ccfe7[_0x21540e(0x2b3)]]:_0x4fbf83[_0x21540e(0x1f0)]()})),_0x32443d[_0x21540e(0x240)]){for(const _0x41a00f of _0x32443d){if(typeof _0x41a00f!='string'||!_0x156194[_0x21540e(0x164)](_0x41a00f)||_0x3c5b04['has'](_0x41a00f))throw new SyntaxError(_0x21540e(0x1da));_0x3c5b04['add'](_0x41a00f);}_0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x175)]=_0x32443d['join'](',');}if(_0x47ef33[_0x21540e(0x1e0)]&&(_0x47ef33['protocolVersion']<0xd?_0x47ef33[_0x21540e(0x1ce)]['Sec-WebSocket-Origin']=_0x47ef33[_0x21540e(0x1e0)]:_0x47ef33['headers'][_0x21540e(0x2de)]=_0x47ef33[_0x21540e(0x1e0)]),(_0x32df00['username']||_0x32df00[_0x21540e(0x307)])&&(_0x47ef33[_0x21540e(0x206)]=_0x32df00['username']+':'+_0x32df00[_0x21540e(0x307)]),_0x16fc5d){const _0x400c56=_0x47ef33[_0x21540e(0x1e7)]['split'](':');_0x47ef33[_0x21540e(0x179)]=_0x400c56[0x0],_0x47ef33['path']=_0x400c56[0x1];}let _0x4fb785;if(_0x47ef33['followRedirects']){if(_0x123cb4[_0x21540e(0x16d)]===0x0){_0x123cb4['_originalIpc']=_0x16fc5d,_0x123cb4[_0x21540e(0x249)]=_0x44b10d,_0x123cb4['_originalHostOrSocketPath']=_0x16fc5d?_0x47ef33[_0x21540e(0x179)]:_0x32df00['host'];const _0x1ef60b=_0x5f37b9&&_0x5f37b9[_0x21540e(0x1ce)];if(_0x5f37b9={..._0x5f37b9,'headers':{}},_0x1ef60b){for(const [_0x580ae0,_0x4724c4]of Object[_0x21540e(0x2f3)](_0x1ef60b))_0x5f37b9[_0x21540e(0x1ce)][_0x580ae0['toLowerCase']()]=_0x4724c4;}}else{if(_0x123cb4[_0x21540e(0x252)](_0x21540e(0x2df))===0x0){const _0x38cf7f=_0x16fc5d?_0x123cb4[_0x21540e(0x1c2)]?_0x47ef33[_0x21540e(0x179)]===_0x123cb4[_0x21540e(0x2be)]:!0x1:_0x123cb4[_0x21540e(0x1c2)]?!0x1:_0x32df00[_0x21540e(0x2a1)]===_0x123cb4[_0x21540e(0x2be)];(!_0x38cf7f||_0x123cb4[_0x21540e(0x249)]&&!_0x44b10d)&&(delete _0x47ef33['headers']['authorization'],delete _0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x168)],_0x38cf7f||delete _0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x2a1)],_0x47ef33[_0x21540e(0x206)]=void 0x0);}}_0x47ef33[_0x21540e(0x206)]&&!_0x5f37b9['headers'][_0x21540e(0x2dd)]&&(_0x5f37b9[_0x21540e(0x1ce)]['authorization']=_0x21540e(0x20d)+Buffer[_0x21540e(0x2f1)](_0x47ef33[_0x21540e(0x206)])[_0x21540e(0x16a)](_0x21540e(0x205))),_0x4fb785=_0x123cb4[_0x21540e(0x21b)]=_0x4b96b2(_0x47ef33),_0x123cb4[_0x21540e(0x16d)]&&_0x123cb4[_0x21540e(0x26d)]('redirect',_0x123cb4[_0x21540e(0x229)],_0x4fb785);}else _0x4fb785=_0x123cb4[_0x21540e(0x21b)]=_0x4b96b2(_0x47ef33);_0x47ef33[_0x21540e(0x316)]&&_0x4fb785['on'](_0x21540e(0x316),()=>{const _0x4f1b90=_0x21540e;_0x177641(_0x123cb4,_0x4fb785,_0x4f1b90(0x2dc));}),_0x4fb785['on'](_0x21540e(0x21d),_0x5456fc=>{const _0x280cfb=_0x21540e;_0x4fb785===null||_0x4fb785[_0x198927]||(_0x4fb785=_0x123cb4[_0x280cfb(0x21b)]=null,_0x150f69(_0x123cb4,_0x5456fc));}),_0x4fb785['on'](_0x21540e(0x1f7),_0x1e378b=>{const _0x4d5697=_0x21540e,_0x2b5717=_0x1e378b[_0x4d5697(0x1ce)][_0x4d5697(0x157)],_0xf6dba9=_0x1e378b[_0x4d5697(0x2ee)];if(_0x2b5717&&_0x47ef33[_0x4d5697(0x2ad)]&&_0xf6dba9>=0x12c&&_0xf6dba9<0x190){if(++_0x123cb4[_0x4d5697(0x16d)]>_0x47ef33[_0x4d5697(0x300)]){_0x177641(_0x123cb4,_0x4fb785,_0x4d5697(0x24d));return;}_0x4fb785['abort']();let _0x41d8d5;try{_0x41d8d5=new _0x425c00(_0x2b5717,_0x526532);}catch{const _0x4b9c25=new SyntaxError(_0x4d5697(0x251)+_0x2b5717);_0x150f69(_0x123cb4,_0x4b9c25);return;}_0x80554b(_0x123cb4,_0x41d8d5,_0x32443d,_0x5f37b9);}else _0x123cb4[_0x4d5697(0x26d)](_0x4d5697(0x2bd),_0x4fb785,_0x1e378b)||_0x177641(_0x123cb4,_0x4fb785,_0x4d5697(0x2c3)+_0x1e378b[_0x4d5697(0x2ee)]);}),_0x4fb785['on'](_0x21540e(0x1fb),(_0x4739de,_0x3217a1,_0x444016)=>{const _0x171244=_0x21540e;if(_0x123cb4[_0x171244(0x26d)](_0x171244(0x1fb),_0x4739de),_0x123cb4['readyState']!==_0x5772ec[_0x171244(0x28e)])return;_0x4fb785=_0x123cb4['_req']=null;const _0x488aef=_0x4739de[_0x171244(0x1ce)][_0x171244(0x1fb)];if(_0x488aef===void 0x0||_0x488aef[_0x171244(0x23b)]()!==_0x171244(0x169)){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x22a));return;}const _0x5d462b=_0x5306c5('sha1')[_0x171244(0x30c)](_0x31eb7a+_0x355381)[_0x171244(0x15d)]('base64');if(_0x4739de[_0x171244(0x1ce)][_0x171244(0x2a9)]!==_0x5d462b){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x2eb));return;}const _0x3d02e9=_0x4739de[_0x171244(0x1ce)][_0x171244(0x1c0)];let _0x2cf649;if(_0x3d02e9!==void 0x0?_0x3c5b04[_0x171244(0x2cb)]?_0x3c5b04[_0x171244(0x29d)](_0x3d02e9)||(_0x2cf649=_0x171244(0x214)):_0x2cf649=_0x171244(0x18e):_0x3c5b04['size']&&(_0x2cf649=_0x171244(0x22d)),_0x2cf649){_0x177641(_0x123cb4,_0x3217a1,_0x2cf649);return;}_0x3d02e9&&(_0x123cb4[_0x171244(0x310)]=_0x3d02e9);const _0x2d0def=_0x4739de[_0x171244(0x1ce)]['sec-websocket-extensions'];if(_0x2d0def!==void 0x0){if(!_0x4fbf83){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x298));return;}let _0x50d7b6;try{_0x50d7b6=_0x42874b(_0x2d0def);}catch{_0x177641(_0x123cb4,_0x3217a1,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x5cfd93=Object[_0x171244(0x1f6)](_0x50d7b6);if(_0x5cfd93[_0x171244(0x240)]!==0x1||_0x5cfd93[0x0]!==_0x4ccfe7[_0x171244(0x2b3)]){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x1aa));return;}try{_0x4fbf83[_0x171244(0x17a)](_0x50d7b6[_0x4ccfe7[_0x171244(0x2b3)]]);}catch{_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x1ff));return;}_0x123cb4[_0x171244(0x153)][_0x4ccfe7[_0x171244(0x2b3)]]=_0x4fbf83;}_0x123cb4['setSocket'](_0x3217a1,_0x444016,{'allowSynchronousEvents':_0x47ef33[_0x171244(0x20c)],'generateMask':_0x47ef33[_0x171244(0x1fd)],'maxPayload':_0x47ef33[_0x171244(0x2e7)],'skipUTF8Validation':_0x47ef33[_0x171244(0x255)]});}),_0x47ef33[_0x21540e(0x258)]?_0x47ef33[_0x21540e(0x258)](_0x4fb785,_0x123cb4):_0x4fb785['end']();}function _0x150f69(_0xa7847e,_0x38154a){const _0x5f3b5a=_0x4c5778;_0xa7847e[_0x5f3b5a(0x1b3)]=_0x5772ec[_0x5f3b5a(0x263)],_0xa7847e['_errorEmitted']=!0x0,_0xa7847e['emit'](_0x5f3b5a(0x21d),_0x38154a),_0xa7847e[_0x5f3b5a(0x14e)]();}function _0xaf2298(_0x127761){const _0x302787=_0x4c5778;return _0x127761[_0x302787(0x1e7)]=_0x127761[_0x302787(0x179)],_0x123879[_0x302787(0x201)](_0x127761);}function _0x4e7bdd(_0x3484db){const _0xb27e43=_0x4c5778;return _0x3484db['path']=void 0x0,!_0x3484db[_0xb27e43(0x260)]&&_0x3484db[_0xb27e43(0x260)]!==''&&(_0x3484db[_0xb27e43(0x260)]=_0x123879['isIP'](_0x3484db['host'])?'':_0x3484db[_0xb27e43(0x2a1)]),_0x426bbe[_0xb27e43(0x201)](_0x3484db);}function _0x177641(_0x5b1c23,_0x22b09c,_0x156a5c){const _0x1ee2d3=_0x4c5778;_0x5b1c23[_0x1ee2d3(0x1b3)]=_0x5772ec[_0x1ee2d3(0x263)];const _0x1e3cde=new Error(_0x156a5c);Error[_0x1ee2d3(0x2b7)](_0x1e3cde,_0x177641),_0x22b09c[_0x1ee2d3(0x1d0)]?(_0x22b09c[_0x198927]=!0x0,_0x22b09c[_0x1ee2d3(0x203)](),_0x22b09c[_0x1ee2d3(0x2f6)]&&!_0x22b09c[_0x1ee2d3(0x2f6)]['destroyed']&&_0x22b09c[_0x1ee2d3(0x2f6)][_0x1ee2d3(0x295)](),process['nextTick'](_0x150f69,_0x5b1c23,_0x1e3cde)):(_0x22b09c['destroy'](_0x1e3cde),_0x22b09c[_0x1ee2d3(0x23f)](_0x1ee2d3(0x21d),_0x5b1c23[_0x1ee2d3(0x26d)][_0x1ee2d3(0x304)](_0x5b1c23,_0x1ee2d3(0x21d))),_0x22b09c[_0x1ee2d3(0x23f)](_0x1ee2d3(0x2e5),_0x5b1c23[_0x1ee2d3(0x14e)][_0x1ee2d3(0x304)](_0x5b1c23)));}function _0x33b24a(_0x29f229,_0xeb05e8,_0x5b9db7){const _0x378720=_0x4c5778;if(_0xeb05e8){const _0xcb17a6=_0x2b096d(_0xeb05e8)?_0xeb05e8[_0x378720(0x2cb)]:_0x26a713(_0xeb05e8)[_0x378720(0x240)];_0x29f229[_0x378720(0x1cf)]?_0x29f229[_0x378720(0x311)][_0x378720(0x209)]+=_0xcb17a6:_0x29f229[_0x378720(0x2c1)]+=_0xcb17a6;}if(_0x5b9db7){const _0x424f2f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x29f229['readyState']+'\x20('+_0xec37d9[_0x29f229[_0x378720(0x2db)]]+')');process[_0x378720(0x1bd)](_0x5b9db7,_0x424f2f);}}function _0x135424(_0x55b43f,_0x1771dc){const _0x1f1d47=_0x4c5778,_0x22454f=this[_0x56b6f5];_0x22454f['_closeFrameReceived']=!0x0,_0x22454f[_0x1f1d47(0x2f7)]=_0x1771dc,_0x22454f[_0x1f1d47(0x1a7)]=_0x55b43f,_0x22454f[_0x1f1d47(0x1cf)][_0x56b6f5]!==void 0x0&&(_0x22454f[_0x1f1d47(0x1cf)][_0x1f1d47(0x2b9)](_0x1f1d47(0x19d),_0x331aaa),process[_0x1f1d47(0x1bd)](_0x242556,_0x22454f[_0x1f1d47(0x1cf)]),_0x55b43f===0x3ed?_0x22454f[_0x1f1d47(0x2e5)]():_0x22454f[_0x1f1d47(0x2e5)](_0x55b43f,_0x1771dc));}function _0x7d9133(){const _0x39e08c=_0x4c5778,_0x294a12=this[_0x56b6f5];_0x294a12[_0x39e08c(0x2e3)]||_0x294a12['_socket'][_0x39e08c(0x185)]();}function _0x3fdbf8(_0x430a97){const _0x573c9d=_0x4c5778,_0x5f3cee=this[_0x56b6f5];_0x5f3cee[_0x573c9d(0x1cf)][_0x56b6f5]!==void 0x0&&(_0x5f3cee[_0x573c9d(0x1cf)][_0x573c9d(0x2b9)](_0x573c9d(0x19d),_0x331aaa),process[_0x573c9d(0x1bd)](_0x242556,_0x5f3cee[_0x573c9d(0x1cf)]),_0x5f3cee[_0x573c9d(0x2e5)](_0x430a97[_0x5b0bf8])),_0x5f3cee[_0x573c9d(0x2cd)]||(_0x5f3cee['_errorEmitted']=!0x0,_0x5f3cee[_0x573c9d(0x26d)]('error',_0x430a97));}function _0x58cbc1(){const _0x3dff4b=_0x4c5778;this[_0x56b6f5][_0x3dff4b(0x14e)]();}function _0x228db3(_0x55e1fe,_0x35b8b4){const _0x29969b=_0x4c5778;this[_0x56b6f5][_0x29969b(0x26d)](_0x29969b(0x174),_0x55e1fe,_0x35b8b4);}function _0x30e19b(_0x575d90){const _0x35633f=_0x4c5778,_0x1d6090=this[_0x56b6f5];_0x1d6090[_0x35633f(0x302)]&&_0x1d6090[_0x35633f(0x199)](_0x575d90,!this['_isServer'],_0x3b1cd1),_0x1d6090[_0x35633f(0x26d)]('ping',_0x575d90);}function _0x4e9fbc(_0x2be796){const _0x226659=_0x4c5778;this[_0x56b6f5][_0x226659(0x26d)](_0x226659(0x199),_0x2be796);}function _0x242556(_0x4d9425){const _0x1515bc=_0x4c5778;_0x4d9425[_0x1515bc(0x185)]();}function _0x9746a4(_0x431eb2){const _0x2848a5=_0x4c5778,_0x46a56b=this[_0x56b6f5];_0x46a56b[_0x2848a5(0x2db)]!==_0x5772ec[_0x2848a5(0x314)]&&(_0x46a56b['readyState']===_0x5772ec['OPEN']&&(_0x46a56b[_0x2848a5(0x1b3)]=_0x5772ec['CLOSING'],_0x8adc6e(_0x46a56b)),this[_0x2848a5(0x1cf)][_0x2848a5(0x2f9)](),_0x46a56b[_0x2848a5(0x2cd)]||(_0x46a56b['_errorEmitted']=!0x0,_0x46a56b[_0x2848a5(0x26d)](_0x2848a5(0x21d),_0x431eb2)));}function _0x8adc6e(_0x328173){const _0x59449c=_0x4c5778;_0x328173['_closeTimer']=setTimeout(_0x328173[_0x59449c(0x1cf)][_0x59449c(0x295)]['bind'](_0x328173[_0x59449c(0x1cf)]),_0x468018);}function _0x10cc28(){const _0x2c15d0=_0x4c5778,_0x5cab39=this[_0x56b6f5];this['removeListener'](_0x2c15d0(0x2e5),_0x10cc28),this[_0x2c15d0(0x2b9)](_0x2c15d0(0x19d),_0x331aaa),this[_0x2c15d0(0x2b9)]('end',_0xe4632b),_0x5cab39['_readyState']=_0x5772ec[_0x2c15d0(0x263)];let _0x5c0154;!this['_readableState'][_0x2c15d0(0x1c5)]&&!_0x5cab39['_closeFrameReceived']&&!_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x1fc)][_0x2c15d0(0x2cf)]&&(_0x5c0154=_0x5cab39['_socket'][_0x2c15d0(0x1b6)]())!==null&&_0x5cab39[_0x2c15d0(0x198)]['write'](_0x5c0154),_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x2f9)](),this[_0x56b6f5]=void 0x0,clearTimeout(_0x5cab39[_0x2c15d0(0x181)]),_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x1fc)][_0x2c15d0(0x30a)]||_0x5cab39['_receiver'][_0x2c15d0(0x1fc)][_0x2c15d0(0x2cf)]?_0x5cab39[_0x2c15d0(0x14e)]():(_0x5cab39['_receiver']['on'](_0x2c15d0(0x21d),_0x58cbc1),_0x5cab39[_0x2c15d0(0x198)]['on']('finish',_0x58cbc1));}function _0x331aaa(_0x5037e2){const _0x2923b9=_0x4c5778;this[_0x56b6f5]['_receiver'][_0x2923b9(0x2ff)](_0x5037e2)||this['pause']();}function _0xe4632b(){const _0x332ddb=_0x4c5778,_0x217360=this[_0x56b6f5];_0x217360[_0x332ddb(0x1b3)]=_0x5772ec[_0x332ddb(0x263)],_0x217360[_0x332ddb(0x198)][_0x332ddb(0x2f9)](),this[_0x332ddb(0x2f9)]();}function _0x16c733(){const _0x107c74=_0x4c5778,_0x318445=this[_0x56b6f5];this[_0x107c74(0x2b9)](_0x107c74(0x21d),_0x16c733),this['on']('error',_0x3b1cd1),_0x318445&&(_0x318445[_0x107c74(0x1b3)]=_0x5772ec[_0x107c74(0x263)],this[_0x107c74(0x295)]());}return we;}var Oe,et;function _0x1197(_0x2fa1fd,_0x2e75b3){const _0x111c6e=_0x111c();return _0x1197=function(_0x1197f6,_0x325de2){_0x1197f6=_0x1197f6-0x14e;let _0x539f1b=_0x111c6e[_0x1197f6];return _0x539f1b;},_0x1197(_0x2fa1fd,_0x2e75b3);}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x12c198}=oe;function _0x1e3d9c(_0x3a78c0){_0x3a78c0['emit']('close');}function _0x47931a(){const _0x569da2=_0x1197;!this[_0x569da2(0x268)]&&this[_0x569da2(0x1fc)][_0x569da2(0x30a)]&&this[_0x569da2(0x295)]();}function _0xb6ad4b(_0x51d5a8){const _0x751fb9=_0x1197;this[_0x751fb9(0x2b9)](_0x751fb9(0x21d),_0xb6ad4b),this['destroy'](),this[_0x751fb9(0x252)](_0x751fb9(0x21d))===0x0&&this[_0x751fb9(0x26d)](_0x751fb9(0x21d),_0x51d5a8);}function _0x2ff873(_0x48c648,_0x1718be){const _0x11cd18=_0x1197;let _0x59fdff=!0x0;const _0x303f5a=new _0x12c198({..._0x1718be,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x48c648['on'](_0x11cd18(0x174),function(_0x4ed253,_0x3a4a47){const _0x131801=_0x11cd18,_0x322c24=!_0x3a4a47&&_0x303f5a[_0x131801(0x2e8)][_0x131801(0x224)]?_0x4ed253['toString']():_0x4ed253;_0x303f5a[_0x131801(0x1b7)](_0x322c24)||_0x48c648[_0x131801(0x162)]();}),_0x48c648[_0x11cd18(0x23f)](_0x11cd18(0x21d),function(_0x1caea2){const _0x230cb4=_0x11cd18;_0x303f5a[_0x230cb4(0x268)]||(_0x59fdff=!0x1,_0x303f5a[_0x230cb4(0x295)](_0x1caea2));}),_0x48c648[_0x11cd18(0x23f)](_0x11cd18(0x2e5),function(){const _0xd2921e=_0x11cd18;_0x303f5a[_0xd2921e(0x268)]||_0x303f5a[_0xd2921e(0x1b7)](null);}),_0x303f5a[_0x11cd18(0x2bb)]=function(_0x1c5a36,_0x5746a3){const _0x4f28bd=_0x11cd18;if(_0x48c648[_0x4f28bd(0x2db)]===_0x48c648[_0x4f28bd(0x314)]){_0x5746a3(_0x1c5a36),process[_0x4f28bd(0x1bd)](_0x1e3d9c,_0x303f5a);return;}let _0x96d196=!0x1;_0x48c648[_0x4f28bd(0x23f)](_0x4f28bd(0x21d),function(_0x10749f){_0x96d196=!0x0,_0x5746a3(_0x10749f);}),_0x48c648[_0x4f28bd(0x23f)](_0x4f28bd(0x2e5),function(){const _0x11aa6b=_0x4f28bd;_0x96d196||_0x5746a3(_0x1c5a36),process[_0x11aa6b(0x1bd)](_0x1e3d9c,_0x303f5a);}),_0x59fdff&&_0x48c648['terminate']();},_0x303f5a[_0x11cd18(0x220)]=function(_0x184081){const _0x1c3b08=_0x11cd18;if(_0x48c648[_0x1c3b08(0x2db)]===_0x48c648[_0x1c3b08(0x28e)]){_0x48c648[_0x1c3b08(0x23f)](_0x1c3b08(0x15a),function(){const _0xfa49bd=_0x1c3b08;_0x303f5a[_0xfa49bd(0x220)](_0x184081);});return;}_0x48c648[_0x1c3b08(0x1cf)]!==null&&(_0x48c648[_0x1c3b08(0x1cf)][_0x1c3b08(0x1fc)][_0x1c3b08(0x30a)]?(_0x184081(),_0x303f5a[_0x1c3b08(0x2e8)]['endEmitted']&&_0x303f5a[_0x1c3b08(0x295)]()):(_0x48c648[_0x1c3b08(0x1cf)]['once'](_0x1c3b08(0x275),function(){_0x184081();}),_0x48c648[_0x1c3b08(0x2e5)]()));},_0x303f5a[_0x11cd18(0x1e5)]=function(){const _0x3e36a9=_0x11cd18;_0x48c648[_0x3e36a9(0x2e3)]&&_0x48c648[_0x3e36a9(0x185)]();},_0x303f5a[_0x11cd18(0x2d5)]=function(_0x327510,_0x21a0e7,_0x18754b){const _0x2b4955=_0x11cd18;if(_0x48c648[_0x2b4955(0x2db)]===_0x48c648[_0x2b4955(0x28e)]){_0x48c648[_0x2b4955(0x23f)](_0x2b4955(0x15a),function(){const _0x1a5d4c=_0x2b4955;_0x303f5a[_0x1a5d4c(0x2d5)](_0x327510,_0x21a0e7,_0x18754b);});return;}_0x48c648['send'](_0x327510,_0x18754b);},_0x303f5a['on'](_0x11cd18(0x2f9),_0x47931a),_0x303f5a['on']('error',_0xb6ad4b),_0x303f5a;}return Oe=_0x2ff873,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x175d7f}=ae();function _0x35749a(_0x42e107){const _0x23cce0=_0x1197,_0x92c178=new Set();let _0x38ff81=-0x1,_0x59f76c=-0x1,_0x45087c=0x0;for(_0x45087c;_0x45087c<_0x42e107['length'];_0x45087c++){const _0x28037d=_0x42e107[_0x23cce0(0x266)](_0x45087c);if(_0x59f76c===-0x1&&_0x175d7f[_0x28037d]===0x1)_0x38ff81===-0x1&&(_0x38ff81=_0x45087c);else{if(_0x45087c!==0x0&&(_0x28037d===0x20||_0x28037d===0x9))_0x59f76c===-0x1&&_0x38ff81!==-0x1&&(_0x59f76c=_0x45087c);else{if(_0x28037d===0x2c){if(_0x38ff81===-0x1)throw new SyntaxError(_0x23cce0(0x2fe)+_0x45087c);_0x59f76c===-0x1&&(_0x59f76c=_0x45087c);const _0x392fd0=_0x42e107['slice'](_0x38ff81,_0x59f76c);if(_0x92c178[_0x23cce0(0x29d)](_0x392fd0))throw new SyntaxError('The\x20\x22'+_0x392fd0+_0x23cce0(0x18c));_0x92c178['add'](_0x392fd0),_0x38ff81=_0x59f76c=-0x1;}else throw new SyntaxError(_0x23cce0(0x2fe)+_0x45087c);}}}if(_0x38ff81===-0x1||_0x59f76c!==-0x1)throw new SyntaxError(_0x23cce0(0x1a0));const _0x1aa42e=_0x42e107['slice'](_0x38ff81,_0x45087c);if(_0x92c178[_0x23cce0(0x29d)](_0x1aa42e))throw new SyntaxError(_0x23cce0(0x26c)+_0x1aa42e+_0x23cce0(0x18c));return _0x92c178['add'](_0x1aa42e),_0x92c178;}return Ce={'parse':_0x35749a},Ce;}var Te,rt;function Ft(){const _0x50abbb=_0xc2e6c0;if(rt)return Te;rt=0x1;const _0x57a59f=nt,_0x3e3785=ot,{Duplex:_0x29e76c}=oe,{createHash:_0x2e979d}=Le,_0x3bfc0e=ct(),_0x12918e=he(),_0x3d2367=At(),_0x5bb236=Pe(),{GUID:_0x1fa6b0,kWebSocket:_0x5501a4}=H(),_0x236212=/^[+/0-9A-Za-z]{22}==$/,_0x44169c=0x0,_0x1ea365=0x1,_0x36fee1=0x2;class _0x2a520d extends _0x57a59f{constructor(_0x4a3699,_0x3f36cc){const _0x5b202e=_0x1197;if(super(),_0x4a3699={'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':_0x5bb236,..._0x4a3699},_0x4a3699[_0x5b202e(0x171)]==null&&!_0x4a3699[_0x5b202e(0x152)]&&!_0x4a3699[_0x5b202e(0x22c)]||_0x4a3699['port']!=null&&(_0x4a3699[_0x5b202e(0x152)]||_0x4a3699[_0x5b202e(0x22c)])||_0x4a3699[_0x5b202e(0x152)]&&_0x4a3699[_0x5b202e(0x22c)])throw new TypeError(_0x5b202e(0x1bb));if(_0x4a3699[_0x5b202e(0x171)]!=null?(this['_server']=_0x3e3785['createServer']((_0x1e846f,_0x334fbd)=>{const _0x18ed69=_0x5b202e,_0x142ed3=_0x3e3785['STATUS_CODES'][0x1aa];_0x334fbd['writeHead'](0x1aa,{'Content-Length':_0x142ed3[_0x18ed69(0x240)],'Content-Type':'text/plain'}),_0x334fbd['end'](_0x142ed3);}),this[_0x5b202e(0x1df)]['listen'](_0x4a3699[_0x5b202e(0x171)],_0x4a3699[_0x5b202e(0x2a1)],_0x4a3699[_0x5b202e(0x2d1)],_0x3f36cc)):_0x4a3699['server']&&(this[_0x5b202e(0x1df)]=_0x4a3699['server']),this['_server']){const _0x2e48a0=this[_0x5b202e(0x26d)][_0x5b202e(0x304)](this,_0x5b202e(0x173));this[_0x5b202e(0x27b)]=_0x81a5c7(this[_0x5b202e(0x1df)],{'listening':this['emit'][_0x5b202e(0x304)](this,'listening'),'error':this[_0x5b202e(0x26d)][_0x5b202e(0x304)](this,_0x5b202e(0x21d)),'upgrade':(_0x55b8f4,_0x148b99,_0x450a52)=>{const _0x4fc9bd=_0x5b202e;this[_0x4fc9bd(0x25e)](_0x55b8f4,_0x148b99,_0x450a52,_0x2e48a0);}});}_0x4a3699[_0x5b202e(0x245)]===!0x0&&(_0x4a3699[_0x5b202e(0x245)]={}),_0x4a3699[_0x5b202e(0x238)]&&(this['clients']=new Set(),this[_0x5b202e(0x180)]=!0x1),this[_0x5b202e(0x15e)]=_0x4a3699,this[_0x5b202e(0x2cc)]=_0x44169c;}[_0x50abbb(0x287)](){const _0x2a8160=_0x50abbb;if(this[_0x2a8160(0x15e)][_0x2a8160(0x22c)])throw new Error(_0x2a8160(0x213));return this[_0x2a8160(0x1df)]?this[_0x2a8160(0x1df)][_0x2a8160(0x287)]():null;}[_0x50abbb(0x2e5)](_0x141248){const _0x488260=_0x50abbb;if(this['_state']===_0x36fee1){_0x141248&&this[_0x488260(0x23f)](_0x488260(0x2e5),()=>{const _0x12a785=_0x488260;_0x141248(new Error(_0x12a785(0x187)));}),process[_0x488260(0x1bd)](_0x59298d,this);return;}if(_0x141248&&this['once'](_0x488260(0x2e5),_0x141248),this[_0x488260(0x2cc)]!==_0x1ea365){if(this[_0x488260(0x2cc)]=_0x1ea365,this[_0x488260(0x15e)][_0x488260(0x22c)]||this['options'][_0x488260(0x152)])this['_server']&&(this['_removeListeners'](),this[_0x488260(0x27b)]=this[_0x488260(0x1df)]=null),this[_0x488260(0x25c)]?this[_0x488260(0x25c)][_0x488260(0x2cb)]?this[_0x488260(0x180)]=!0x0:process[_0x488260(0x1bd)](_0x59298d,this):process[_0x488260(0x1bd)](_0x59298d,this);else{const _0x2be124=this[_0x488260(0x1df)];this['_removeListeners'](),this[_0x488260(0x27b)]=this[_0x488260(0x1df)]=null,_0x2be124[_0x488260(0x2e5)](()=>{_0x59298d(this);});}}}[_0x50abbb(0x1d7)](_0x423a8c){const _0x255b2b=_0x50abbb;if(this[_0x255b2b(0x15e)][_0x255b2b(0x1e7)]){const _0x14c032=_0x423a8c[_0x255b2b(0x229)][_0x255b2b(0x25a)]('?');if((_0x14c032!==-0x1?_0x423a8c[_0x255b2b(0x229)][_0x255b2b(0x2c6)](0x0,_0x14c032):_0x423a8c['url'])!==this['options'][_0x255b2b(0x1e7)])return!0x1;}return!0x0;}[_0x50abbb(0x25e)](_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a){const _0x266967=_0x50abbb;_0xb678d2['on'](_0x266967(0x21d),_0x5dabcb);const _0x56adb8=_0x59585e['headers'][_0x266967(0x1f9)],_0x10de2d=_0x59585e[_0x266967(0x1ce)]['upgrade'],_0x4497ba=+_0x59585e[_0x266967(0x1ce)][_0x266967(0x2b1)];if(_0x59585e[_0x266967(0x1c6)]!==_0x266967(0x2c5)){_0x388056(this,_0x59585e,_0xb678d2,0x195,_0x266967(0x204));return;}if(_0x10de2d===void 0x0||_0x10de2d['toLowerCase']()!=='websocket'){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x22a));return;}if(_0x56adb8===void 0x0||!_0x236212[_0x266967(0x164)](_0x56adb8)){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x19a));return;}if(_0x4497ba!==0x8&&_0x4497ba!==0xd){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x2f8));return;}if(!this[_0x266967(0x1d7)](_0x59585e)){_0x5966c6(_0xb678d2,0x190);return;}const _0x232615=_0x59585e[_0x266967(0x1ce)][_0x266967(0x1c0)];let _0x3359bb=new Set();if(_0x232615!==void 0x0)try{_0x3359bb=_0x3d2367[_0x266967(0x202)](_0x232615);}catch{_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x1d4));return;}const _0x496e56=_0x59585e['headers']['sec-websocket-extensions'],_0x4aa17a={};if(this[_0x266967(0x15e)][_0x266967(0x245)]&&_0x496e56!==void 0x0){const _0xe9121f=new _0x12918e(this[_0x266967(0x15e)]['perMessageDeflate'],!0x0,this[_0x266967(0x15e)][_0x266967(0x2e7)]);try{const _0x324bbd=_0x3bfc0e['parse'](_0x496e56);_0x324bbd[_0x12918e['extensionName']]&&(_0xe9121f[_0x266967(0x17a)](_0x324bbd[_0x12918e[_0x266967(0x2b3)]]),_0x4aa17a[_0x12918e[_0x266967(0x2b3)]]=_0xe9121f);}catch{_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x16b));return;}}if(this[_0x266967(0x15e)][_0x266967(0x215)]){const _0x2a6b43={'origin':_0x59585e[_0x266967(0x1ce)][''+(_0x4497ba===0x8?_0x266967(0x27e):_0x266967(0x1e0))],'secure':!!(_0x59585e[_0x266967(0x2f6)]['authorized']||_0x59585e['socket']['encrypted']),'req':_0x59585e};if(this[_0x266967(0x15e)][_0x266967(0x215)][_0x266967(0x240)]===0x2){this[_0x266967(0x15e)][_0x266967(0x215)](_0x2a6b43,(_0x390485,_0x49237c,_0xa63b9b,_0xb28808)=>{if(!_0x390485)return _0x5966c6(_0xb678d2,_0x49237c||0x191,_0xa63b9b,_0xb28808);this['completeUpgrade'](_0x4aa17a,_0x56adb8,_0x3359bb,_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a);});return;}if(!this[_0x266967(0x15e)][_0x266967(0x215)](_0x2a6b43))return _0x5966c6(_0xb678d2,0x191);}this['completeUpgrade'](_0x4aa17a,_0x56adb8,_0x3359bb,_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a);}[_0x50abbb(0x2a2)](_0x29f143,_0x19e30e,_0x58a249,_0x3ff103,_0x162a86,_0x261744,_0x52109a){const _0x46aaaa=_0x50abbb;if(!_0x162a86[_0x46aaaa(0x158)]||!_0x162a86['writable'])return _0x162a86['destroy']();if(_0x162a86[_0x5501a4])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x44169c)return _0x5966c6(_0x162a86,0x1f7);const _0x4f990f=[_0x46aaaa(0x2aa),_0x46aaaa(0x254),_0x46aaaa(0x274),_0x46aaaa(0x195)+_0x2e979d(_0x46aaaa(0x1de))[_0x46aaaa(0x30c)](_0x19e30e+_0x1fa6b0)[_0x46aaaa(0x15d)]('base64')],_0x13d326=new this[(_0x46aaaa(0x15e))][(_0x46aaaa(0x193))](null,void 0x0,this['options']);if(_0x58a249['size']){const _0x2c078b=this[_0x46aaaa(0x15e)][_0x46aaaa(0x236)]?this['options'][_0x46aaaa(0x236)](_0x58a249,_0x3ff103):_0x58a249['values']()[_0x46aaaa(0x231)]()['value'];_0x2c078b&&(_0x4f990f[_0x46aaaa(0x1b7)](_0x46aaaa(0x15b)+_0x2c078b),_0x13d326[_0x46aaaa(0x310)]=_0x2c078b);}if(_0x29f143[_0x12918e['extensionName']]){const _0x2b9cb3=_0x29f143[_0x12918e[_0x46aaaa(0x2b3)]][_0x46aaaa(0x277)],_0x1024f2=_0x3bfc0e['format']({[_0x12918e['extensionName']]:[_0x2b9cb3]});_0x4f990f['push']('Sec-WebSocket-Extensions:\x20'+_0x1024f2),_0x13d326[_0x46aaaa(0x153)]=_0x29f143;}this[_0x46aaaa(0x26d)]('headers',_0x4f990f,_0x3ff103),_0x162a86[_0x46aaaa(0x2ff)](_0x4f990f[_0x46aaaa(0x21c)]('\x0d\x0a')[_0x46aaaa(0x296)]('\x0d\x0a')),_0x162a86[_0x46aaaa(0x2b9)](_0x46aaaa(0x21d),_0x5dabcb),_0x13d326[_0x46aaaa(0x23a)](_0x162a86,_0x261744,{'allowSynchronousEvents':this['options'][_0x46aaaa(0x20c)],'maxPayload':this[_0x46aaaa(0x15e)][_0x46aaaa(0x2e7)],'skipUTF8Validation':this[_0x46aaaa(0x15e)][_0x46aaaa(0x255)]}),this[_0x46aaaa(0x25c)]&&(this[_0x46aaaa(0x25c)][_0x46aaaa(0x2d8)](_0x13d326),_0x13d326['on'](_0x46aaaa(0x2e5),()=>{const _0x1e239b=_0x46aaaa;this[_0x1e239b(0x25c)]['delete'](_0x13d326),this[_0x1e239b(0x180)]&&!this['clients'][_0x1e239b(0x2cb)]&&process[_0x1e239b(0x1bd)](_0x59298d,this);})),_0x52109a(_0x13d326,_0x3ff103);}}Te=_0x2a520d;function _0x81a5c7(_0x470dc7,_0x254cf3){const _0x275ed6=_0x50abbb;for(const _0xed1cb5 of Object[_0x275ed6(0x1f6)](_0x254cf3))_0x470dc7['on'](_0xed1cb5,_0x254cf3[_0xed1cb5]);return function(){const _0xb64fb1=_0x275ed6;for(const _0x3e5af6 of Object[_0xb64fb1(0x1f6)](_0x254cf3))_0x470dc7[_0xb64fb1(0x2b9)](_0x3e5af6,_0x254cf3[_0x3e5af6]);};}function _0x59298d(_0x12c085){const _0x3a9e07=_0x50abbb;_0x12c085[_0x3a9e07(0x2cc)]=_0x36fee1,_0x12c085['emit'](_0x3a9e07(0x2e5));}function _0x5dabcb(){const _0x26d0c1=_0x50abbb;this[_0x26d0c1(0x295)]();}function _0x5966c6(_0x2fb0a3,_0x34278e,_0x367e1c,_0x2ce6a9){const _0x5324dd=_0x50abbb;_0x367e1c=_0x367e1c||_0x3e3785[_0x5324dd(0x27d)][_0x34278e],_0x2ce6a9={'Connection':'close','Content-Type':_0x5324dd(0x28b),'Content-Length':Buffer['byteLength'](_0x367e1c),..._0x2ce6a9},_0x2fb0a3[_0x5324dd(0x23f)](_0x5324dd(0x275),_0x2fb0a3['destroy']),_0x2fb0a3['end']('HTTP/1.1\x20'+_0x34278e+'\x20'+_0x3e3785[_0x5324dd(0x27d)][_0x34278e]+'\x0d\x0a'+Object[_0x5324dd(0x1f6)](_0x2ce6a9)['map'](_0x463d5a=>_0x463d5a+':\x20'+_0x2ce6a9[_0x463d5a])[_0x5324dd(0x296)]('\x0d\x0a')+_0x5324dd(0x186)+_0x367e1c);}function _0x388056(_0x5b0b95,_0x38c09f,_0x108cbb,_0x45c15f,_0x37a71a){const _0x4b0c82=_0x50abbb;if(_0x5b0b95[_0x4b0c82(0x252)]('wsClientError')){const _0x414389=new Error(_0x37a71a);Error['captureStackTrace'](_0x414389,_0x388056),_0x5b0b95[_0x4b0c82(0x26d)](_0x4b0c82(0x1e3),_0x414389,_0x108cbb,_0x38c09f);}else _0x5966c6(_0x108cbb,_0x45c15f,_0x37a71a);}return Te;}Ft();var jt=Object[_0xc2e6c0(0x17f)],Wt=(_0x344cc3,_0x14e9c8,_0x586135,_0x53b73b)=>{const _0x37b8d6=_0xc2e6c0;for(var _0x568da0=_0x53b73b>0x1?void 0x0:_0x53b73b?jt(_0x14e9c8,_0x586135):_0x14e9c8,_0x49a937=_0x344cc3[_0x37b8d6(0x240)]-0x1,_0x17ad2c;_0x49a937>=0x0;_0x49a937--)(_0x17ad2c=_0x344cc3[_0x49a937])&&(_0x568da0=_0x17ad2c(_0x568da0)||_0x568da0);return _0x568da0;},qt=(_0x549952,_0x538b72)=>(_0x3403f1,_0xfa6e37)=>_0x538b72(_0x3403f1,_0xfa6e37,_0x549952);let ke=class extends A[_0xc2e6c0(0x2b5)]{constructor(_0x265c0a){const _0x207525=_0xc2e6c0;super(),this[_0x207525(0x223)]=_0x265c0a;}[_0xc2e6c0(0x315)](_0x324e41){const _0x2559cb=_0xc2e6c0;var _0x25727f;const _0x440e9d=(_0x25727f=this[_0x2559cb(0x223)]['getConfig'](fe))==null?void 0x0:_0x25727f[_0x2559cb(0x288)];try{const _0x2ea754=new $t(_0x324e41,{'headers':{..._0x440e9d}}),_0x597981=new A[(_0x2559cb(0x18f))]();return{'URL':_0x324e41,'close':(_0x2f202f,_0x48e14c)=>{const _0x13a5ed=_0x2559cb;_0x2ea754[_0x13a5ed(0x2e5)](_0x2f202f,_0x48e14c),_0x597981[_0x13a5ed(0x28a)]();},'send':_0x410a56=>{const _0x76276f=_0x2559cb;_0x2ea754[_0x76276f(0x161)](_0x410a56);},'open$':new V[(_0x2559cb(0x21a))](_0xd29593=>{const _0x4481f3=_0x2559cb,_0x28e4e5=_0x1e0437=>_0xd29593[_0x4481f3(0x231)](_0x1e0437);_0x2ea754[_0x4481f3(0x176)](_0x4481f3(0x15a),_0x28e4e5),_0x597981[_0x4481f3(0x2d8)](A[_0x4481f3(0x2ac)](()=>_0x2ea754['removeEventListener']('open',_0x28e4e5)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]()),'close$':new V['Observable'](_0x7189a0=>{const _0x4327e5=_0x2559cb,_0xd8fa25=_0x1c9ba2=>_0x7189a0['next'](_0x1c9ba2);_0x2ea754[_0x4327e5(0x176)](_0x4327e5(0x2e5),_0xd8fa25),_0x597981[_0x4327e5(0x2d8)](A[_0x4327e5(0x2ac)](()=>_0x2ea754[_0x4327e5(0x1eb)](_0x4327e5(0x2e5),_0xd8fa25)));})['pipe'](V['share']()),'error$':new V[(_0x2559cb(0x21a))](_0x356afa=>{const _0x63b837=_0x2559cb,_0x4da4e7=_0x42ed1d=>_0x356afa[_0x63b837(0x231)](_0x42ed1d);_0x2ea754[_0x63b837(0x176)]('error',_0x4da4e7),_0x597981[_0x63b837(0x2d8)](A[_0x63b837(0x2ac)](()=>_0x2ea754['removeEventListener'](_0x63b837(0x21d),_0x4da4e7)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]()),'message$':new V[(_0x2559cb(0x21a))](_0x44b970=>{const _0x36f0c1=_0x2559cb,_0x577697=_0x243858=>_0x44b970[_0x36f0c1(0x231)](_0x243858);_0x2ea754[_0x36f0c1(0x176)](_0x36f0c1(0x174),_0x577697),_0x597981[_0x36f0c1(0x2d8)](A['toDisposable'](()=>_0x2ea754[_0x36f0c1(0x1eb)]('message',_0x577697)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]())};}catch(_0x3d9749){return console[_0x2559cb(0x21d)](_0x3d9749),null;}}};ke=Wt([qt(0x0,A[_0xc2e6c0(0x2c2)])],ke);var Gt=Object[_0xc2e6c0(0x259)],Vt=Object[_0xc2e6c0(0x17f)],Ht=(_0x21bb74,_0x15e107,_0x431793)=>_0x15e107 in _0x21bb74?Gt(_0x21bb74,_0x15e107,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x431793}):_0x21bb74[_0x15e107]=_0x431793,zt=(_0x1d0ee5,_0x2ba0c0,_0x33ffab,_0x4fbbc4)=>{for(var _0x21d39b=_0x4fbbc4>0x1?void 0x0:_0x4fbbc4?Vt(_0x2ba0c0,_0x33ffab):_0x2ba0c0,_0x488edc=_0x1d0ee5['length']-0x1,_0x5f1cd6;_0x488edc>=0x0;_0x488edc--)(_0x5f1cd6=_0x1d0ee5[_0x488edc])&&(_0x21d39b=_0x5f1cd6(_0x21d39b)||_0x21d39b);return _0x21d39b;},Ne=(_0x58f105,_0x12cc71)=>(_0x45fce0,_0x491f4e)=>_0x12cc71(_0x45fce0,_0x491f4e,_0x58f105),Yt=(_0x292049,_0x1044e1,_0x462b09)=>Ht(_0x292049,_0x1044e1+'',_0x462b09);exports['UniverCollaborationClientNodePlugin']=class extends A[_0xc2e6c0(0x155)]{constructor(_0x1d2687=Ct,_0x3940d8,_0x59ebdf,_0x408ba0){const _0x2a6e54=_0xc2e6c0;_0x1d2687[_0x2a6e54(0x288)]||_0x3940d8[_0x2a6e54(0x17e)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x2a6e54(0x223)]=_0x59ebdf,this[_0x2a6e54(0x270)]=_0x408ba0,this['_configService'][_0x2a6e54(0x312)](fe,_0x1d2687);}[_0xc2e6c0(0x2d3)](){const _0x594553=_0xc2e6c0;this[_0x594553(0x264)]();}[_0xc2e6c0(0x264)](){const _0x48ae5e=_0xc2e6c0;A['registerDependencies'](this[_0x48ae5e(0x270)],[[it[_0x48ae5e(0x25f)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xc2e6c0(0x29e),_0xc2e6c0(0x1fa)),exports[_0xc2e6c0(0x2af)]=zt([A[_0xc2e6c0(0x308)](st[_0xc2e6c0(0x1bf)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0xc2e6c0(0x2c2)]),Ne(0x3,A[_0xc2e6c0(0x30d)](A[_0xc2e6c0(0x1dd)]))],exports[_0xc2e6c0(0x2af)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x2e41ea,_0x3ca9f5,_0x4ddbc9,_0x41256e)=>{const _0x3be124=_0xc2e6c0;for(var _0x922a33=_0x41256e>0x1?void 0x0:_0x41256e?Kt(_0x3ca9f5,_0x4ddbc9):_0x3ca9f5,_0x2bd096=_0x2e41ea[_0x3be124(0x240)]-0x1,_0x3ad33a;_0x2bd096>=0x0;_0x2bd096--)(_0x3ad33a=_0x2e41ea[_0x2bd096])&&(_0x922a33=_0x3ad33a(_0x922a33)||_0x922a33);return _0x922a33;},ne=(_0x186ead,_0x3ed868)=>(_0x4949bf,_0x2a3fc8)=>_0x3ed868(_0x4949bf,_0x2a3fc8,_0x186ead);exports[_0xc2e6c0(0x1d6)]=class extends st[_0xc2e6c0(0x1b5)]{constructor(_0x3b6a93,_0x3ea08d,_0x4954d8,_0x1e0eb6,_0x37f6ad){const _0x92c866=_0xc2e6c0;super(_0x3b6a93,_0x3ea08d,_0x4954d8,_0x1e0eb6,_0x37f6ad);const _0x2d133d=this[_0x92c866(0x223)][_0x92c866(0x20f)](fe);this[_0x92c866(0x230)][_0x92c866(0x1bc)]({'interceptor':(_0x58c3fb,_0x360d56)=>{const _0x3c83ca=_0x92c866;var _0x2cf15f;const _0x30ad70=_0x58c3fb[_0x3c83ca(0x1ce)];return(_0x2cf15f=_0x2d133d==null?void 0x0:_0x2d133d[_0x3c83ca(0x288)])!=null&&_0x2cf15f[_0x3c83ca(0x168)]&&_0x30ad70['set'](_0x3c83ca(0x2b4),_0x2d133d['customHeaders'][_0x3c83ca(0x168)]),_0x360d56(_0x58c3fb);}});}async[_0xc2e6c0(0x315)](_0xeb4ccc){const _0x5930f0=_0xc2e6c0;return this[_0x5930f0(0x20a)](_0xeb4ccc);}},exports[_0xc2e6c0(0x1d6)]=Xt([ne(0x0,A[_0xc2e6c0(0x30d)](A[_0xc2e6c0(0x1dd)])),ne(0x1,A[_0xc2e6c0(0x30d)](it[_0xc2e6c0(0x2a6)])),ne(0x2,A[_0xc2e6c0(0x2c2)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0xc2e6c0(0x29b)])],exports[_0xc2e6c0(0x1d6)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;