@univerjs-pro/collaboration-client-node 0.6.0 → 0.6.1

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 _0x4135e6=_0x4f67;(function(_0x19af56,_0xabe5fb){const _0x4d3d6e=_0x4f67,_0x54c3fd=_0x19af56();while(!![]){try{const _0xb56a26=-parseInt(_0x4d3d6e(0x26b))/0x1*(parseInt(_0x4d3d6e(0x31b))/0x2)+-parseInt(_0x4d3d6e(0x30f))/0x3+-parseInt(_0x4d3d6e(0x29a))/0x4*(-parseInt(_0x4d3d6e(0x2af))/0x5)+-parseInt(_0x4d3d6e(0x333))/0x6*(-parseInt(_0x4d3d6e(0x2ac))/0x7)+parseInt(_0x4d3d6e(0x328))/0x8+parseInt(_0x4d3d6e(0x34e))/0x9+-parseInt(_0x4d3d6e(0x35b))/0xa;if(_0xb56a26===_0xabe5fb)break;else _0x54c3fd['push'](_0x54c3fd['shift']());}catch(_0x50facc){_0x54c3fd['push'](_0x54c3fd['shift']());}}}(_0x2a77,0xefa14));Object[_0x4135e6(0x22a)](exports,Symbol[_0x4135e6(0x290)],{'value':_0x4135e6(0x310)});const rt=require(_0x4135e6(0x339)),A=require(_0x4135e6(0x2d4)),st=require(_0x4135e6(0x2b0)),V=require(_0x4135e6(0x1c3)),oe=require(_0x4135e6(0x1cd)),vt=require(_0x4135e6(0x2a4)),St=require(_0x4135e6(0x2b3)),Le=require(_0x4135e6(0x2c1)),it=require(_0x4135e6(0x250)),Et=require(_0x4135e6(0x277)),nt=require(_0x4135e6(0x239)),xt=require(_0x4135e6(0x2a1)),bt=require('tls'),wt=require(_0x4135e6(0x220)),Ot=require('@univerjs-pro/collaboration'),fe=_0x4135e6(0x336),Ct={'customHeaders':{}};function Tt(_0x4ebae3){const _0x24eec8=_0x4135e6;return _0x4ebae3&&_0x4ebae3[_0x24eec8(0x33d)]&&Object[_0x24eec8(0x305)]['hasOwnProperty'][_0x24eec8(0x267)](_0x4ebae3,_0x24eec8(0x1ef))?_0x4ebae3[_0x24eec8(0x1ef)]:_0x4ebae3;}function ot(_0x1adb95){const _0x24ee80=_0x4135e6;if(_0x1adb95[_0x24ee80(0x33d)])return _0x1adb95;var _0x5eb59f=_0x1adb95[_0x24ee80(0x1ef)];if(typeof _0x5eb59f=='function'){var _0x1e6955=function _0x43f2c1(){const _0x17a237=_0x24ee80;return this instanceof _0x43f2c1?Reflect['construct'](_0x5eb59f,arguments,this['constructor']):_0x5eb59f[_0x17a237(0x2aa)](this,arguments);};_0x1e6955[_0x24ee80(0x305)]=_0x5eb59f['prototype'];}else _0x1e6955={};return Object['defineProperty'](_0x1e6955,_0x24ee80(0x33d),{'value':!0x0}),Object[_0x24ee80(0x341)](_0x1adb95)[_0x24ee80(0x37a)](function(_0x21636a){const _0x303f20=_0x24ee80;var _0x3e75a1=Object[_0x303f20(0x30a)](_0x1adb95,_0x21636a);Object[_0x303f20(0x22a)](_0x1e6955,_0x21636a,_0x3e75a1[_0x303f20(0x1f7)]?_0x3e75a1:{'enumerable':!0x0,'get':function(){return _0x1adb95[_0x21636a];}});}),_0x1e6955;}var ge,qe;function Nt(){if(qe)return ge;qe=0x1;const {Duplex:_0x4809f}=oe;function _0x3a0aa4(_0x50dbbe){const _0x5cc4d3=_0x4f67;_0x50dbbe[_0x5cc4d3(0x1dd)](_0x5cc4d3(0x312));}function _0x51b52e(){const _0x3768bb=_0x4f67;!this[_0x3768bb(0x26e)]&&this[_0x3768bb(0x35e)]['finished']&&this[_0x3768bb(0x299)]();}function _0x445ed9(_0x1703e2){const _0xca0f4f=_0x4f67;this[_0xca0f4f(0x22c)](_0xca0f4f(0x365),_0x445ed9),this['destroy'](),this[_0xca0f4f(0x227)](_0xca0f4f(0x365))===0x0&&this['emit']('error',_0x1703e2);}function _0x2b0f2c(_0x525fd1,_0x276377){const _0x34a4d5=_0x4f67;let _0x23e36b=!0x0;const _0x2fe00b=new _0x4809f({..._0x276377,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x525fd1['on']('message',function(_0x5400e4,_0x3a9ddc){const _0x35a1e7=_0x4f67,_0x18feb0=!_0x3a9ddc&&_0x2fe00b['_readableState'][_0x35a1e7(0x271)]?_0x5400e4[_0x35a1e7(0x23e)]():_0x5400e4;_0x2fe00b[_0x35a1e7(0x244)](_0x18feb0)||_0x525fd1[_0x35a1e7(0x216)]();}),_0x525fd1[_0x34a4d5(0x313)](_0x34a4d5(0x365),function(_0x537538){_0x2fe00b['destroyed']||(_0x23e36b=!0x1,_0x2fe00b['destroy'](_0x537538));}),_0x525fd1[_0x34a4d5(0x313)](_0x34a4d5(0x312),function(){const _0x9e576a=_0x34a4d5;_0x2fe00b[_0x9e576a(0x26e)]||_0x2fe00b[_0x9e576a(0x244)](null);}),_0x2fe00b['_destroy']=function(_0x3a9f2c,_0x18f4a8){const _0xd92ffd=_0x34a4d5;if(_0x525fd1[_0xd92ffd(0x1fa)]===_0x525fd1[_0xd92ffd(0x314)]){_0x18f4a8(_0x3a9f2c),process['nextTick'](_0x3a0aa4,_0x2fe00b);return;}let _0x298ec9=!0x1;_0x525fd1[_0xd92ffd(0x313)](_0xd92ffd(0x365),function(_0xe3f545){_0x298ec9=!0x0,_0x18f4a8(_0xe3f545);}),_0x525fd1[_0xd92ffd(0x313)](_0xd92ffd(0x312),function(){const _0x446b82=_0xd92ffd;_0x298ec9||_0x18f4a8(_0x3a9f2c),process[_0x446b82(0x1d4)](_0x3a0aa4,_0x2fe00b);}),_0x23e36b&&_0x525fd1['terminate']();},_0x2fe00b['_final']=function(_0x27082f){const _0x18556d=_0x34a4d5;if(_0x525fd1[_0x18556d(0x1fa)]===_0x525fd1[_0x18556d(0x238)]){_0x525fd1[_0x18556d(0x313)]('open',function(){const _0x45fe4f=_0x18556d;_0x2fe00b[_0x45fe4f(0x27b)](_0x27082f);});return;}_0x525fd1['_socket']!==null&&(_0x525fd1[_0x18556d(0x212)][_0x18556d(0x35e)][_0x18556d(0x372)]?(_0x27082f(),_0x2fe00b['_readableState']['endEmitted']&&_0x2fe00b['destroy']()):(_0x525fd1[_0x18556d(0x212)][_0x18556d(0x313)]('finish',function(){_0x27082f();}),_0x525fd1[_0x18556d(0x312)]()));},_0x2fe00b[_0x34a4d5(0x2f0)]=function(){const _0x2b1aae=_0x34a4d5;_0x525fd1[_0x2b1aae(0x1c4)]&&_0x525fd1[_0x2b1aae(0x29e)]();},_0x2fe00b[_0x34a4d5(0x1de)]=function(_0x51b7d8,_0x38b644,_0x469a40){const _0x30be11=_0x34a4d5;if(_0x525fd1[_0x30be11(0x1fa)]===_0x525fd1['CONNECTING']){_0x525fd1['once'](_0x30be11(0x223),function(){const _0x3546c3=_0x30be11;_0x2fe00b[_0x3546c3(0x1de)](_0x51b7d8,_0x38b644,_0x469a40);});return;}_0x525fd1[_0x30be11(0x27f)](_0x51b7d8,_0x469a40);},_0x2fe00b['on']('end',_0x51b52e),_0x2fe00b['on'](_0x34a4d5(0x365),_0x445ed9),_0x2fe00b;}return ge=_0x2b0f2c,ge;}Nt();var se={'exports':{}},ye,Ge;function H(){const _0x336088=_0x4135e6;if(Ge)return ye;Ge=0x1;const _0xf90116=[_0x336088(0x36f),_0x336088(0x31e),'fragments'],_0x3255da=typeof Blob<'u';return _0x3255da&&_0xf90116[_0x336088(0x244)]('blob'),ye={'BINARY_TYPES':_0xf90116,'EMPTY_BUFFER':Buffer[_0x336088(0x33f)](0x0),'GUID':_0x336088(0x378),'hasBlob':_0x3255da,'kForOnEventAttribute':Symbol(_0x336088(0x287)),'kListener':Symbol(_0x336088(0x355)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x336088(0x21a)),'NOOP':()=>{}},ye;}const kt={},Lt=Object[_0x4135e6(0x26a)](Object[_0x4135e6(0x22a)]({'__proto__':null,'default':kt},Symbol[_0x4135e6(0x290)],{'value':_0x4135e6(0x310)})),Pt=ot(Lt);var Ve;function ce(){const _0x376e55=_0x4135e6;if(Ve)return se[_0x376e55(0x1fc)];Ve=0x1;const {EMPTY_BUFFER:_0x45b695}=H(),_0x47a862=Buffer[Symbol['species']];function _0x1473b0(_0x789fb3,_0x41aded){const _0x24b84f=_0x376e55;if(_0x789fb3[_0x24b84f(0x340)]===0x0)return _0x45b695;if(_0x789fb3[_0x24b84f(0x340)]===0x1)return _0x789fb3[0x0];const _0x27f334=Buffer['allocUnsafe'](_0x41aded);let _0x50c7fb=0x0;for(let _0xefb17e=0x0;_0xefb17e<_0x789fb3[_0x24b84f(0x340)];_0xefb17e++){const _0x5b9772=_0x789fb3[_0xefb17e];_0x27f334['set'](_0x5b9772,_0x50c7fb),_0x50c7fb+=_0x5b9772[_0x24b84f(0x340)];}return _0x50c7fb<_0x41aded?new _0x47a862(_0x27f334[_0x24b84f(0x2b3)],_0x27f334[_0x24b84f(0x2c7)],_0x50c7fb):_0x27f334;}function _0x529b41(_0x416730,_0x33e684,_0x3e7af0,_0x278568,_0x163044){for(let _0x48e5ee=0x0;_0x48e5ee<_0x163044;_0x48e5ee++)_0x3e7af0[_0x278568+_0x48e5ee]=_0x416730[_0x48e5ee]^_0x33e684[_0x48e5ee&0x3];}function _0x21ec86(_0x20b343,_0x340876){const _0x5a165d=_0x376e55;for(let _0x3808dc=0x0;_0x3808dc<_0x20b343[_0x5a165d(0x340)];_0x3808dc++)_0x20b343[_0x3808dc]^=_0x340876[_0x3808dc&0x3];}function _0x59d7e1(_0x4f012b){const _0x18d277=_0x376e55;return _0x4f012b[_0x18d277(0x340)]===_0x4f012b[_0x18d277(0x2b3)][_0x18d277(0x2a9)]?_0x4f012b[_0x18d277(0x2b3)]:_0x4f012b[_0x18d277(0x2b3)][_0x18d277(0x2b5)](_0x4f012b['byteOffset'],_0x4f012b[_0x18d277(0x2c7)]+_0x4f012b[_0x18d277(0x340)]);}function _0x483dd4(_0x45e1a4){const _0x39fb7c=_0x376e55;if(_0x483dd4[_0x39fb7c(0x348)]=!0x0,Buffer[_0x39fb7c(0x286)](_0x45e1a4))return _0x45e1a4;let _0x28fa32;return _0x45e1a4 instanceof ArrayBuffer?_0x28fa32=new _0x47a862(_0x45e1a4):ArrayBuffer[_0x39fb7c(0x303)](_0x45e1a4)?_0x28fa32=new _0x47a862(_0x45e1a4[_0x39fb7c(0x2b3)],_0x45e1a4[_0x39fb7c(0x2c7)],_0x45e1a4['byteLength']):(_0x28fa32=Buffer[_0x39fb7c(0x350)](_0x45e1a4),_0x483dd4['readOnly']=!0x1),_0x28fa32;}if(se[_0x376e55(0x1fc)]={'concat':_0x1473b0,'mask':_0x529b41,'toArrayBuffer':_0x59d7e1,'toBuffer':_0x483dd4,'unmask':_0x21ec86},!process[_0x376e55(0x37b)][_0x376e55(0x1ec)])try{const _0x12564d=Pt;se[_0x376e55(0x1fc)][_0x376e55(0x1d3)]=function(_0x436a52,_0x1d4d32,_0x4785da,_0x388f58,_0x1fa3a5){const _0xb8863=_0x376e55;_0x1fa3a5<0x30?_0x529b41(_0x436a52,_0x1d4d32,_0x4785da,_0x388f58,_0x1fa3a5):_0x12564d[_0xb8863(0x1d3)](_0x436a52,_0x1d4d32,_0x4785da,_0x388f58,_0x1fa3a5);},se[_0x376e55(0x1fc)][_0x376e55(0x24a)]=function(_0x58ef74,_0x337bda){_0x58ef74['length']<0x20?_0x21ec86(_0x58ef74,_0x337bda):_0x12564d['unmask'](_0x58ef74,_0x337bda);};}catch{}return se[_0x376e55(0x1fc)];}function _0x2a77(){const _0x27adfb=['haveLength','sec-websocket-key','dataMessage','_server','reason','stream','request','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','NodeCollaborationSocketService','The\x20server\x20is\x20not\x20running','Server\x20sent\x20no\x20subprotocol','mask','nextTick','_closeCode','bufferedAmount','Unexpected\x20character\x20at\x20index\x20','extensionName','redirect','Sec-WebSocket-Accept:\x20','setNoDelay','_closeMessage','emit','_write','kRun','digest','serverNoContextTakeover','has','clientNoContextTakeover','Server\x20sent\x20an\x20invalid\x20subprotocol','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Extensions','wsClientError','unexpected-response','_url','startsWith','server_no_context_takeover','WS_NO_BUFFER_UTIL','split','update','default','_closeFrameReceived','client_no_context_takeover','protocol','bind','WS_ERR_EXPECTED_FIN','getMask','WS_ERR_UNEXPECTED_MASK','get','total-length','servername','readyState','object','exports','Invalid\x20URL:\x20','isInteger','Sec-WebSocket-Extensions:\x20','noServer','https:','params','location','Invalid\x20Sec-WebSocket-Accept\x20header','pipe','ping','setTimeout','uncork','code','Z_SYNC_FLUSH','conclude','cleanup','setHeader','type','abort','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','rsv1','_socket','generateMask','needDrain','clients','pause','COLLABORATION_CLIENT_NODE_CONFIG_KEY','handshakeTimeout','WS_ERR_INVALID_CLOSE_CODE','websocket','hash','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','statusCode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','url','serverMaxWindowBits','CollaborationSocketService','open','isArray','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_loop','listenerCount','removeAllListeners','method','defineProperty','ILogService','removeListener','WS_ERR_UNEXPECTED_RSV_2_3','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','cookie','password','arrayBuffer','_queue','_extensions','map','fin','getData','createSocket','CONNECTING','http','authorization','RSV1\x20must\x20be\x20clear','kDone','invalid\x20opcode\x20','toString','Blob','writeUIntBE','controlMessage','defaultPort','number','push','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_binaryType','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','perMessageDeflate','_options','unmask','offer','handleEvent','origin','concurrencyLimit','_fragments','events','_registerDependencies','dispatch','concurrency','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_messageLength','options','_protocol','catch','kAborted','MASK\x20must\x20be\x20clear','connect','WebSocket','_injector','replace','registerDependencies','function','\x20(supported\x20versions:\x20','_bufferedAmount','set','kByteLength','Unknown\x20parameter\x20\x22','Upgrade','call','errorEmitted','jobs','freeze','22751sEYAdd','DependentOn','The\x20\x22','destroyed','write','_mask','objectMode','\x22\x20subprotocol\x20is\x20duplicated','message','string','_errorEmitted','pending','https','_redirects','_closeTimer','_no_context_takeover','_final','response','getPayloadLength64','charCodeAt','send','clientTracking','buffers','add','_closeFrameSent','captureStackTrace','server','isBuffer','kIsForOnEventAttribute','getInfo','toDisposable','Invalid\x20Sec-WebSocket-Extensions\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_maxPayload','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','invalid\x20UTF-8\x20sequence','allowSynchronousEvents','toStringTag','socket','target','_firstFragment','_deflate','reset','pluginName','dispose','acceptAsClient','destroy','2746756zksoXt','_errored','search','writeHead','resume','compress','createConnection','net','autoPong','_fin','zlib','HTTPService','_maskBuffer','concat','backlog','byteLength','apply','shouldHandle','311409NDwiBS','_httpService','WS_ERR_INVALID_OPCODE','10DSQgAf','@univerjs/network','join','flush','buffer','removeEventListener','slice','_shouldEmitClose','port','Inject','registerHTTPInterceptor','consume','_req','http:','username','shift','_allowSynchronousEvents','writeUInt16BE','crypto','HTTP/1.1\x20101\x20Switching\x20Protocols','entries','_originalIpc','size','_buffers','byteOffset','onerror','terminate','writable','verifyClient','warn','startLoop','onclose','indexOf','client_max_window_bits','customHeaders','accept','createError','@univerjs/core','permessage-deflate','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','enqueue','data','skipUTF8Validation','values','create','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','threshold','maxPayload','headers','Connection:\x20Upgrade','_fragmented','_removeListeners','acceptAsServer','addEventListener','_threshold','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','extensions','kWasClean','callback','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','emitClose','normalizeParams','kTarget','pow','finish','_read','end','CLOSING','finishRequest','Injector','pathname','dequeue','invalid\x20opcode\x200','setSocket','binaryType','allocUnsafe','maskBuffer','kCode','invalid\x20payload\x20length\x20','base64','readUInt16BE','sec-websocket-extensions','listening','_autoPong','isView','\x0d\x0a\x0d\x0a','prototype','_isServer','maxRedirects','readUInt32BE','_bufferedBytes','getOwnPropertyDescriptor','File','OPEN','_inflate','invalid\x20status\x20code\x20','5342406DdLiiA','Module','clientMaxWindowBits','close','once','CLOSED','_payloadLength','_skipUTF8Validation','Parameter\x20\x22','_generateMask','wss:','_decompress','34VSppJi','_max_window_bits','STATUS_CODES','arraybuffer','The\x20URL\x27s\x20pathname\x20is\x20empty','_doCreateSocket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','getConfig','_state','client','Unexpected\x20server\x20response:\x20','Disposable','_compressed','7466576MINrGj','UniverCollaborationClientPlugin','protocolVersion','_masked','toLowerCase','auth','\x22:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','test','_originalHostOrSocketPath','_originalSecure','54XyJMlI','host','isIP','collaboration-client-node.config','blob','listeners','@univerjs-pro/collaboration-client','Z_DEFAULT_WINDOWBITS','pong','zlibInflateOptions','__esModule','MASK\x20must\x20be\x20set','alloc','length','keys','_configService','frame','Invalid\x20value\x20for\x20parameter\x20\x22','UniverCollaborationClientNodePlugin','isServer','sendFrame','readOnly','Unsupported\x20protocol\x20version:\x20','address','socketPath','Invalid\x20Upgrade\x20header','_readyState','13254111Cbhwgq','upgrade','from','sec-websocket-protocol','path','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','decompress','kListener','onopen','timeout','hostname','unshift','includes','10306690mjNNxu','find','_paused','_writableState','Invalid\x20HTTP\x20method','Invalid\x20Sec-WebSocket-Protocol\x20header','Max\x20payload\x20size\x20exceeded','getBlobData','Observable','completeUpgrade','error','share','encrypted','read','species','next','drain','_totalPayloadLength','handleProtocols','createInflateRaw','nodebuffer','connection','_sender','finished','Origin','Plugin','_compress','opcode','wasClean','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','server_max_window_bits','forEach','env','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','kMessage','then','WS_ERR_INVALID_UTF8','_opcode','IConfigService','followRedirects','rxjs','isPaused','handleUpgrade','_receiver','Unexpected\x20end\x20of\x20input'];_0x2a77=function(){return _0x27adfb;};return _0x2a77();}var ve,He;function _0x4f67(_0x34e1aa,_0x496cba){const _0x2a7725=_0x2a77();return _0x4f67=function(_0x4f672d,_0x4ece37){_0x4f672d=_0x4f672d-0x1c3;let _0x393a8e=_0x2a7725[_0x4f672d];return _0x393a8e;},_0x4f67(_0x34e1aa,_0x496cba);}function Dt(){const _0x479bfb=_0x4135e6;if(He)return ve;He=0x1;const _0x399a8d=Symbol(_0x479bfb(0x23c)),_0x42a363=Symbol(_0x479bfb(0x1df));class _0x4aaf0f{constructor(_0x25d082){const _0x157924=_0x479bfb;this[_0x399a8d]=()=>{const _0x2038ab=_0x4f67;this[_0x2038ab(0x276)]--,this[_0x42a363]();},this[_0x157924(0x253)]=_0x25d082||0x1/0x0,this[_0x157924(0x269)]=[],this[_0x157924(0x276)]=0x0;}[_0x479bfb(0x282)](_0x4f6eab){const _0x5bfedb=_0x479bfb;this[_0x5bfedb(0x269)][_0x5bfedb(0x244)](_0x4f6eab),this[_0x42a363]();}[_0x42a363](){const _0xdd9308=_0x479bfb;if(this[_0xdd9308(0x276)]!==this[_0xdd9308(0x253)]&&this[_0xdd9308(0x269)]['length']){const _0x4abdbb=this[_0xdd9308(0x269)][_0xdd9308(0x2be)]();this[_0xdd9308(0x276)]++,_0x4abdbb(this[_0x399a8d]);}}}return ve=_0x4aaf0f,ve;}var Se,ze;function he(){const _0x52ece1=_0x4135e6;if(ze)return Se;ze=0x1;const _0x103bd4=vt,_0x1ce4cf=ce(),_0x11ff36=Dt(),{kStatusCode:_0x175c28}=H(),_0x51db43=Buffer[Symbol['species']],_0x2ba7ea=Buffer[_0x52ece1(0x350)]([0x0,0x0,0xff,0xff]),_0x5128b5=Symbol(_0x52ece1(0x2d5)),_0x29d1f5=Symbol(_0x52ece1(0x1f8)),_0x372384=Symbol(_0x52ece1(0x2e9)),_0x3b9a49=Symbol(_0x52ece1(0x281)),_0x14102c=Symbol('error');let _0x2ad683;class _0x2f297b{constructor(_0xf26b19,_0x512ed8,_0x3343e5){const _0x36f5d5=_0x52ece1;if(this[_0x36f5d5(0x28c)]=_0x3343e5|0x0,this[_0x36f5d5(0x249)]=_0xf26b19||{},this[_0x36f5d5(0x2e5)]=this[_0x36f5d5(0x249)][_0x36f5d5(0x2dd)]!==void 0x0?this[_0x36f5d5(0x249)][_0x36f5d5(0x2dd)]:0x400,this[_0x36f5d5(0x306)]=!!_0x512ed8,this[_0x36f5d5(0x294)]=null,this[_0x36f5d5(0x30d)]=null,this[_0x36f5d5(0x202)]=null,!_0x2ad683){const _0x5cec17=this[_0x36f5d5(0x249)][_0x36f5d5(0x24e)]!==void 0x0?this['_options'][_0x36f5d5(0x24e)]:0xa;_0x2ad683=new _0x11ff36(_0x5cec17);}}static get[_0x52ece1(0x1d8)](){return'permessage-deflate';}[_0x52ece1(0x24b)](){const _0x27ad52=_0x52ece1,_0x34216b={};return this[_0x27ad52(0x249)][_0x27ad52(0x1e1)]&&(_0x34216b['server_no_context_takeover']=!0x0),this['_options'][_0x27ad52(0x1e3)]&&(_0x34216b[_0x27ad52(0x1f1)]=!0x0),this[_0x27ad52(0x249)]['serverMaxWindowBits']&&(_0x34216b[_0x27ad52(0x379)]=this[_0x27ad52(0x249)][_0x27ad52(0x221)]),this[_0x27ad52(0x249)][_0x27ad52(0x311)]?_0x34216b[_0x27ad52(0x2d0)]=this['_options']['clientMaxWindowBits']:this[_0x27ad52(0x249)][_0x27ad52(0x311)]==null&&(_0x34216b['client_max_window_bits']=!0x0),_0x34216b;}[_0x52ece1(0x2d2)](_0xa01c30){const _0x492e1e=_0x52ece1;return _0xa01c30=this[_0x492e1e(0x2ec)](_0xa01c30),this['params']=this['_isServer']?this[_0x492e1e(0x2e3)](_0xa01c30):this['acceptAsClient'](_0xa01c30),this[_0x492e1e(0x202)];}[_0x52ece1(0x20c)](){const _0x31686e=_0x52ece1;if(this[_0x31686e(0x30d)]&&(this['_inflate'][_0x31686e(0x312)](),this['_inflate']=null),this['_deflate']){const _0x5b5d9f=this['_deflate'][_0x372384];this[_0x31686e(0x294)][_0x31686e(0x312)](),this[_0x31686e(0x294)]=null,_0x5b5d9f&&_0x5b5d9f(new Error(_0x31686e(0x2e6)));}}[_0x52ece1(0x2e3)](_0x37dd47){const _0x53848f=_0x52ece1,_0x3adbf6=this[_0x53848f(0x249)],_0x4f7e3f=_0x37dd47[_0x53848f(0x35c)](_0x2ec308=>!(_0x3adbf6[_0x53848f(0x1e1)]===!0x1&&_0x2ec308['server_no_context_takeover']||_0x2ec308['server_max_window_bits']&&(_0x3adbf6['serverMaxWindowBits']===!0x1||typeof _0x3adbf6[_0x53848f(0x221)]==_0x53848f(0x243)&&_0x3adbf6['serverMaxWindowBits']>_0x2ec308[_0x53848f(0x379)])||typeof _0x3adbf6[_0x53848f(0x311)]=='number'&&!_0x2ec308['client_max_window_bits']));if(!_0x4f7e3f)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x3adbf6['serverNoContextTakeover']&&(_0x4f7e3f[_0x53848f(0x1eb)]=!0x0),_0x3adbf6[_0x53848f(0x1e3)]&&(_0x4f7e3f['client_no_context_takeover']=!0x0),typeof _0x3adbf6[_0x53848f(0x221)]==_0x53848f(0x243)&&(_0x4f7e3f[_0x53848f(0x379)]=_0x3adbf6['serverMaxWindowBits']),typeof _0x3adbf6[_0x53848f(0x311)]==_0x53848f(0x243)?_0x4f7e3f[_0x53848f(0x2d0)]=_0x3adbf6[_0x53848f(0x311)]:(_0x4f7e3f['client_max_window_bits']===!0x0||_0x3adbf6[_0x53848f(0x311)]===!0x1)&&delete _0x4f7e3f[_0x53848f(0x2d0)],_0x4f7e3f;}[_0x52ece1(0x298)](_0x1dc09e){const _0x27eec4=_0x52ece1,_0xa9b1b0=_0x1dc09e[0x0];if(this[_0x27eec4(0x249)]['clientNoContextTakeover']===!0x1&&_0xa9b1b0['client_no_context_takeover'])throw new Error(_0x27eec4(0x247));if(!_0xa9b1b0[_0x27eec4(0x2d0)])typeof this['_options'][_0x27eec4(0x311)]==_0x27eec4(0x243)&&(_0xa9b1b0[_0x27eec4(0x2d0)]=this[_0x27eec4(0x249)]['clientMaxWindowBits']);else{if(this[_0x27eec4(0x249)][_0x27eec4(0x311)]===!0x1||typeof this[_0x27eec4(0x249)]['clientMaxWindowBits']==_0x27eec4(0x243)&&_0xa9b1b0['client_max_window_bits']>this['_options'][_0x27eec4(0x311)])throw new Error(_0x27eec4(0x353));}return _0xa9b1b0;}[_0x52ece1(0x2ec)](_0x1c25a2){const _0xdb1aa7=_0x52ece1;return _0x1c25a2[_0xdb1aa7(0x37a)](_0x27f345=>{const _0x1700d1=_0xdb1aa7;Object[_0x1700d1(0x341)](_0x27f345)['forEach'](_0x4d600f=>{const _0x344869=_0x1700d1;let _0x5a0eba=_0x27f345[_0x4d600f];if(_0x5a0eba[_0x344869(0x340)]>0x1)throw new Error(_0x344869(0x317)+_0x4d600f+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5a0eba=_0x5a0eba[0x0],_0x4d600f===_0x344869(0x2d0)){if(_0x5a0eba!==!0x0){const _0x16493a=+_0x5a0eba;if(!Number[_0x344869(0x1fe)](_0x16493a)||_0x16493a<0x8||_0x16493a>0xf)throw new TypeError(_0x344869(0x344)+_0x4d600f+_0x344869(0x32e)+_0x5a0eba);_0x5a0eba=_0x16493a;}else{if(!this[_0x344869(0x306)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4d600f+_0x344869(0x32e)+_0x5a0eba);}}else{if(_0x4d600f===_0x344869(0x379)){const _0x32cf97=+_0x5a0eba;if(!Number[_0x344869(0x1fe)](_0x32cf97)||_0x32cf97<0x8||_0x32cf97>0xf)throw new TypeError(_0x344869(0x344)+_0x4d600f+'\x22:\x20'+_0x5a0eba);_0x5a0eba=_0x32cf97;}else{if(_0x4d600f===_0x344869(0x1f1)||_0x4d600f===_0x344869(0x1eb)){if(_0x5a0eba!==!0x0)throw new TypeError(_0x344869(0x344)+_0x4d600f+'\x22:\x20'+_0x5a0eba);}else throw new Error(_0x344869(0x265)+_0x4d600f+'\x22');}}_0x27f345[_0x4d600f]=_0x5a0eba;});}),_0x1c25a2;}[_0x52ece1(0x354)](_0x2c381d,_0x5a2d2d,_0x3b0b30){const _0x401963=_0x52ece1;_0x2ad683[_0x401963(0x282)](_0x3d3554=>{this['_decompress'](_0x2c381d,_0x5a2d2d,(_0x5303f7,_0xfbefc2)=>{_0x3d3554(),_0x3b0b30(_0x5303f7,_0xfbefc2);});});}[_0x52ece1(0x29f)](_0x363a9a,_0x152982,_0x552762){const _0x3b593e=_0x52ece1;_0x2ad683[_0x3b593e(0x282)](_0x4f1409=>{const _0x14d0bf=_0x3b593e;this[_0x14d0bf(0x375)](_0x363a9a,_0x152982,(_0x2a42b5,_0x3b1853)=>{_0x4f1409(),_0x552762(_0x2a42b5,_0x3b1853);});});}[_0x52ece1(0x31a)](_0x4501c9,_0x52f5dd,_0x451955){const _0x588a7b=_0x52ece1,_0x4e422e=this[_0x588a7b(0x306)]?_0x588a7b(0x324):'server';if(!this[_0x588a7b(0x30d)]){const _0x401d4d=_0x4e422e+_0x588a7b(0x31c),_0x3f62a5=typeof this['params'][_0x401d4d]!='number'?_0x103bd4[_0x588a7b(0x33a)]:this[_0x588a7b(0x202)][_0x401d4d];this[_0x588a7b(0x30d)]=_0x103bd4[_0x588a7b(0x36e)]({...this[_0x588a7b(0x249)][_0x588a7b(0x33c)],'windowBits':_0x3f62a5}),this[_0x588a7b(0x30d)][_0x5128b5]=this,this[_0x588a7b(0x30d)][_0x29d1f5]=0x0,this[_0x588a7b(0x30d)][_0x3b9a49]=[],this[_0x588a7b(0x30d)]['on'](_0x588a7b(0x365),_0x485f47),this[_0x588a7b(0x30d)]['on'](_0x588a7b(0x2d8),_0x493205);}this[_0x588a7b(0x30d)][_0x372384]=_0x451955,this[_0x588a7b(0x30d)][_0x588a7b(0x26f)](_0x4501c9),_0x52f5dd&&this[_0x588a7b(0x30d)][_0x588a7b(0x26f)](_0x2ba7ea),this[_0x588a7b(0x30d)]['flush'](()=>{const _0x21d040=_0x588a7b,_0x22acd2=this[_0x21d040(0x30d)][_0x14102c];if(_0x22acd2){this[_0x21d040(0x30d)][_0x21d040(0x312)](),this[_0x21d040(0x30d)]=null,_0x451955(_0x22acd2);return;}const _0x5b7c91=_0x1ce4cf['concat'](this[_0x21d040(0x30d)][_0x3b9a49],this['_inflate'][_0x29d1f5]);this['_inflate']['_readableState']['endEmitted']?(this[_0x21d040(0x30d)][_0x21d040(0x312)](),this[_0x21d040(0x30d)]=null):(this[_0x21d040(0x30d)][_0x29d1f5]=0x0,this[_0x21d040(0x30d)][_0x3b9a49]=[],_0x52f5dd&&this[_0x21d040(0x202)][_0x4e422e+'_no_context_takeover']&&this[_0x21d040(0x30d)][_0x21d040(0x295)]()),_0x451955(null,_0x5b7c91);});}[_0x52ece1(0x375)](_0x576442,_0xe77c34,_0x40263b){const _0x398ba3=_0x52ece1,_0x1c1aa2=this['_isServer']?'server':'client';if(!this[_0x398ba3(0x294)]){const _0x5601c7=_0x1c1aa2+'_max_window_bits',_0x451ea3=typeof this['params'][_0x5601c7]!=_0x398ba3(0x243)?_0x103bd4['Z_DEFAULT_WINDOWBITS']:this[_0x398ba3(0x202)][_0x5601c7];this['_deflate']=_0x103bd4['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0x451ea3}),this[_0x398ba3(0x294)][_0x29d1f5]=0x0,this['_deflate'][_0x3b9a49]=[],this[_0x398ba3(0x294)]['on'](_0x398ba3(0x2d8),_0xe9347c);}this[_0x398ba3(0x294)][_0x372384]=_0x40263b,this[_0x398ba3(0x294)][_0x398ba3(0x26f)](_0x576442),this[_0x398ba3(0x294)][_0x398ba3(0x2b2)](_0x103bd4[_0x398ba3(0x20a)],()=>{const _0x216343=_0x398ba3;if(!this[_0x216343(0x294)])return;let _0x537051=_0x1ce4cf[_0x216343(0x2a7)](this[_0x216343(0x294)][_0x3b9a49],this[_0x216343(0x294)][_0x29d1f5]);_0xe77c34&&(_0x537051=new _0x51db43(_0x537051[_0x216343(0x2b3)],_0x537051[_0x216343(0x2c7)],_0x537051['length']-0x4)),this[_0x216343(0x294)][_0x372384]=null,this['_deflate'][_0x29d1f5]=0x0,this[_0x216343(0x294)][_0x3b9a49]=[],_0xe77c34&&this[_0x216343(0x202)][_0x1c1aa2+_0x216343(0x27a)]&&this[_0x216343(0x294)][_0x216343(0x295)](),_0x40263b(null,_0x537051);});}}Se=_0x2f297b;function _0xe9347c(_0x528ef6){const _0x1e12f6=_0x52ece1;this[_0x3b9a49][_0x1e12f6(0x244)](_0x528ef6),this[_0x29d1f5]+=_0x528ef6[_0x1e12f6(0x340)];}function _0x493205(_0x289785){const _0x58138c=_0x52ece1;if(this[_0x29d1f5]+=_0x289785[_0x58138c(0x340)],this[_0x5128b5][_0x58138c(0x28c)]<0x1||this[_0x29d1f5]<=this[_0x5128b5][_0x58138c(0x28c)]){this[_0x3b9a49][_0x58138c(0x244)](_0x289785);return;}this[_0x14102c]=new RangeError(_0x58138c(0x361)),this[_0x14102c][_0x58138c(0x209)]=_0x58138c(0x28d),this[_0x14102c][_0x175c28]=0x3f1,this[_0x58138c(0x22c)](_0x58138c(0x2d8),_0x493205),this['reset']();}function _0x485f47(_0xda7bff){const _0x1709aa=_0x52ece1;this[_0x5128b5][_0x1709aa(0x30d)]=null,_0xda7bff[_0x175c28]=0x3ef,this[_0x372384](_0xda7bff);}return Se;}var ie={'exports':{}};const Rt={},Bt=Object[_0x4135e6(0x26a)](Object[_0x4135e6(0x22a)]({'__proto__':null,'default':Rt},Symbol[_0x4135e6(0x290)],{'value':_0x4135e6(0x310)})),It=ot(Bt);var Ye;function ae(){const _0x308286=_0x4135e6;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0xb971f4}=St,{hasBlob:_0x12dc69}=H(),_0x160bbc=[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 _0x2a4434(_0x87ba7b){return _0x87ba7b>=0x3e8&&_0x87ba7b<=0x3f6&&_0x87ba7b!==0x3ec&&_0x87ba7b!==0x3ed&&_0x87ba7b!==0x3ee||_0x87ba7b>=0xbb8&&_0x87ba7b<=0x1387;}function _0x10b0bb(_0x1d8951){const _0x3c6366=_0x4f67,_0x15f13a=_0x1d8951[_0x3c6366(0x340)];let _0x348a60=0x0;for(;_0x348a60<_0x15f13a;)if(!(_0x1d8951[_0x348a60]&0x80))_0x348a60++;else{if((_0x1d8951[_0x348a60]&0xe0)===0xc0){if(_0x348a60+0x1===_0x15f13a||(_0x1d8951[_0x348a60+0x1]&0xc0)!==0x80||(_0x1d8951[_0x348a60]&0xfe)===0xc0)return!0x1;_0x348a60+=0x2;}else{if((_0x1d8951[_0x348a60]&0xf0)===0xe0){if(_0x348a60+0x2>=_0x15f13a||(_0x1d8951[_0x348a60+0x1]&0xc0)!==0x80||(_0x1d8951[_0x348a60+0x2]&0xc0)!==0x80||_0x1d8951[_0x348a60]===0xe0&&(_0x1d8951[_0x348a60+0x1]&0xe0)===0x80||_0x1d8951[_0x348a60]===0xed&&(_0x1d8951[_0x348a60+0x1]&0xe0)===0xa0)return!0x1;_0x348a60+=0x3;}else{if((_0x1d8951[_0x348a60]&0xf8)===0xf0){if(_0x348a60+0x3>=_0x15f13a||(_0x1d8951[_0x348a60+0x1]&0xc0)!==0x80||(_0x1d8951[_0x348a60+0x2]&0xc0)!==0x80||(_0x1d8951[_0x348a60+0x3]&0xc0)!==0x80||_0x1d8951[_0x348a60]===0xf0&&(_0x1d8951[_0x348a60+0x1]&0xf0)===0x80||_0x1d8951[_0x348a60]===0xf4&&_0x1d8951[_0x348a60+0x1]>0x8f||_0x1d8951[_0x348a60]>0xf4)return!0x1;_0x348a60+=0x4;}else return!0x1;}}}return!0x0;}function _0x22246f(_0x420942){const _0x208228=_0x4f67;return _0x12dc69&&typeof _0x420942==_0x208228(0x1fb)&&typeof _0x420942[_0x208228(0x231)]==_0x208228(0x260)&&typeof _0x420942[_0x208228(0x20e)]==_0x208228(0x274)&&typeof _0x420942[_0x208228(0x1cd)]==_0x208228(0x260)&&(_0x420942[Symbol[_0x208228(0x290)]]===_0x208228(0x23f)||_0x420942[Symbol[_0x208228(0x290)]]===_0x208228(0x30b));}if(ie[_0x308286(0x1fc)]={'isBlob':_0x22246f,'isValidStatusCode':_0x2a4434,'isValidUTF8':_0x10b0bb,'tokenChars':_0x160bbc},_0xb971f4)ie[_0x308286(0x1fc)]['isValidUTF8']=function(_0x50b300){const _0x2de50a=_0x308286;return _0x50b300[_0x2de50a(0x340)]<0x18?_0x10b0bb(_0x50b300):_0xb971f4(_0x50b300);};else{if(!process[_0x308286(0x37b)]['WS_NO_UTF_8_VALIDATE'])try{const _0xa6b40d=It;ie['exports']['isValidUTF8']=function(_0x28e8c2){const _0x6ba90e=_0x308286;return _0x28e8c2[_0x6ba90e(0x340)]<0x20?_0x10b0bb(_0x28e8c2):_0xa6b40d(_0x28e8c2);};}catch{}}return ie['exports'];}var Ee,Ke;function at(){const _0x418189=_0x4135e6;if(Ke)return Ee;Ke=0x1;const {Writable:_0x4d4214}=oe,_0x5dcaee=he(),{BINARY_TYPES:_0x38f6f9,EMPTY_BUFFER:_0x3cdf92,kStatusCode:_0x10ae78,kWebSocket:_0x385363}=H(),{concat:_0x5b85a9,toArrayBuffer:_0x375b29,unmask:_0x455d43}=ce(),{isValidStatusCode:_0x831d68,isValidUTF8:_0x1db32f}=ae(),_0xa97815=Buffer[Symbol[_0x418189(0x369)]],_0x504c3b=0x0,_0x566cd6=0x1,_0x1a3492=0x2,_0x37d828=0x3,_0x1d40fd=0x4,_0x135e97=0x5,_0x516515=0x6;class _0x2eedb4 extends _0x4d4214{constructor(_0x16909b={}){const _0x5913ad=_0x418189;super(),this[_0x5913ad(0x2bf)]=_0x16909b[_0x5913ad(0x28f)]!==void 0x0?_0x16909b['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x16909b[_0x5913ad(0x2f9)]||_0x38f6f9[0x0],this[_0x5913ad(0x233)]=_0x16909b['extensions']||{},this[_0x5913ad(0x306)]=!!_0x16909b[_0x5913ad(0x346)],this['_maxPayload']=_0x16909b[_0x5913ad(0x2de)]|0x0,this[_0x5913ad(0x316)]=!!_0x16909b[_0x5913ad(0x2d9)],this[_0x385363]=void 0x0,this['_bufferedBytes']=0x0,this[_0x5913ad(0x2c6)]=[],this[_0x5913ad(0x327)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x5913ad(0x2e1)]=0x0,this[_0x5913ad(0x32b)]=!0x1,this[_0x5913ad(0x2a3)]=!0x1,this[_0x5913ad(0x380)]=0x0,this[_0x5913ad(0x36c)]=0x0,this[_0x5913ad(0x255)]=0x0,this[_0x5913ad(0x24f)]=[],this[_0x5913ad(0x29b)]=!0x1,this[_0x5913ad(0x226)]=!0x1,this['_state']=_0x504c3b;}[_0x418189(0x1de)](_0x3563a5,_0x2ab8f4,_0x44ca6a){const _0x46be77=_0x418189;if(this[_0x46be77(0x380)]===0x8&&this[_0x46be77(0x323)]==_0x504c3b)return _0x44ca6a();this[_0x46be77(0x309)]+=_0x3563a5['length'],this['_buffers'][_0x46be77(0x244)](_0x3563a5),this[_0x46be77(0x2cd)](_0x44ca6a);}['consume'](_0xbbfe13){const _0xa61240=_0x418189;if(this[_0xa61240(0x309)]-=_0xbbfe13,_0xbbfe13===this[_0xa61240(0x2c6)][0x0][_0xa61240(0x340)])return this[_0xa61240(0x2c6)][_0xa61240(0x2be)]();if(_0xbbfe13<this[_0xa61240(0x2c6)][0x0][_0xa61240(0x340)]){const _0x52b806=this[_0xa61240(0x2c6)][0x0];return this[_0xa61240(0x2c6)][0x0]=new _0xa97815(_0x52b806[_0xa61240(0x2b3)],_0x52b806[_0xa61240(0x2c7)]+_0xbbfe13,_0x52b806[_0xa61240(0x340)]-_0xbbfe13),new _0xa97815(_0x52b806[_0xa61240(0x2b3)],_0x52b806['byteOffset'],_0xbbfe13);}const _0x1c6023=Buffer[_0xa61240(0x2fa)](_0xbbfe13);do{const _0x587fcf=this['_buffers'][0x0],_0x21c772=_0x1c6023[_0xa61240(0x340)]-_0xbbfe13;_0xbbfe13>=_0x587fcf[_0xa61240(0x340)]?_0x1c6023['set'](this[_0xa61240(0x2c6)][_0xa61240(0x2be)](),_0x21c772):(_0x1c6023[_0xa61240(0x263)](new Uint8Array(_0x587fcf[_0xa61240(0x2b3)],_0x587fcf[_0xa61240(0x2c7)],_0xbbfe13),_0x21c772),this[_0xa61240(0x2c6)][0x0]=new _0xa97815(_0x587fcf[_0xa61240(0x2b3)],_0x587fcf['byteOffset']+_0xbbfe13,_0x587fcf[_0xa61240(0x340)]-_0xbbfe13)),_0xbbfe13-=_0x587fcf['length'];}while(_0xbbfe13>0x0);return _0x1c6023;}[_0x418189(0x2cd)](_0x38ca5a){const _0x503dfe=_0x418189;this['_loop']=!0x0;do switch(this[_0x503dfe(0x323)]){case _0x504c3b:this[_0x503dfe(0x288)](_0x38ca5a);break;case _0x566cd6:this['getPayloadLength16'](_0x38ca5a);break;case _0x1a3492:this[_0x503dfe(0x27d)](_0x38ca5a);break;case _0x37d828:this[_0x503dfe(0x1f5)]();break;case _0x1d40fd:this[_0x503dfe(0x236)](_0x38ca5a);break;case _0x135e97:case _0x516515:this[_0x503dfe(0x226)]=!0x1;return;}while(this['_loop']);this[_0x503dfe(0x29b)]||_0x38ca5a();}[_0x418189(0x288)](_0x3d901c){const _0x741676=_0x418189;if(this[_0x741676(0x309)]<0x2){this['_loop']=!0x1;return;}const _0xccb68d=this[_0x741676(0x2ba)](0x2);if(_0xccb68d[0x0]&0x30){const _0x106481=this[_0x741676(0x2d3)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x741676(0x22d));_0x3d901c(_0x106481);return;}const _0x51a91b=(_0xccb68d[0x0]&0x40)===0x40;if(_0x51a91b&&!this[_0x741676(0x233)][_0x5dcaee[_0x741676(0x1d8)]]){const _0x2fa20b=this[_0x741676(0x2d3)](RangeError,_0x741676(0x23b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d901c(_0x2fa20b);return;}if(this['_fin']=(_0xccb68d[0x0]&0x80)===0x80,this[_0x741676(0x380)]=_0xccb68d[0x0]&0xf,this[_0x741676(0x315)]=_0xccb68d[0x1]&0x7f,this['_opcode']===0x0){if(_0x51a91b){const _0x1ce992=this[_0x741676(0x2d3)](RangeError,_0x741676(0x23b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d901c(_0x1ce992);return;}if(!this[_0x741676(0x2e1)]){const _0x8bb525=this[_0x741676(0x2d3)](RangeError,_0x741676(0x2f7),!0x0,0x3ea,_0x741676(0x2ae));_0x3d901c(_0x8bb525);return;}this['_opcode']=this[_0x741676(0x2e1)];}else{if(this[_0x741676(0x380)]===0x1||this[_0x741676(0x380)]===0x2){if(this[_0x741676(0x2e1)]){const _0x48bd26=this[_0x741676(0x2d3)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x741676(0x2ae));_0x3d901c(_0x48bd26);return;}this['_compressed']=_0x51a91b;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x741676(0x2a3)]){const _0x58c329=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x741676(0x1f4));_0x3d901c(_0x58c329);return;}if(_0x51a91b){const _0x54b342=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d901c(_0x54b342);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x741676(0x315)]===0x1){const _0x175713=this[_0x741676(0x2d3)](RangeError,_0x741676(0x2fd)+this[_0x741676(0x315)],!0x0,0x3ea,_0x741676(0x37c));_0x3d901c(_0x175713);return;}}else{const _0x3e4711=this[_0x741676(0x2d3)](RangeError,_0x741676(0x23d)+this['_opcode'],!0x0,0x3ea,_0x741676(0x2ae));_0x3d901c(_0x3e4711);return;}}}if(!this[_0x741676(0x2a3)]&&!this['_fragmented']&&(this[_0x741676(0x2e1)]=this[_0x741676(0x380)]),this[_0x741676(0x32b)]=(_0xccb68d[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x741676(0x32b)]){const _0x1eafc9=this[_0x741676(0x2d3)](RangeError,_0x741676(0x33e),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3d901c(_0x1eafc9);return;}}else{if(this[_0x741676(0x32b)]){const _0x106089=this[_0x741676(0x2d3)](RangeError,_0x741676(0x25a),!0x0,0x3ea,_0x741676(0x1f6));_0x3d901c(_0x106089);return;}}this[_0x741676(0x315)]===0x7e?this[_0x741676(0x323)]=_0x566cd6:this[_0x741676(0x315)]===0x7f?this['_state']=_0x1a3492:this['haveLength'](_0x3d901c);}['getPayloadLength16'](_0x13c041){const _0x262d23=_0x418189;if(this[_0x262d23(0x309)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x262d23(0x2ba)](0x2)[_0x262d23(0x2ff)](0x0),this[_0x262d23(0x1c8)](_0x13c041);}['getPayloadLength64'](_0x5835bf){const _0x48c122=_0x418189;if(this['_bufferedBytes']<0x8){this[_0x48c122(0x226)]=!0x1;return;}const _0x390748=this['consume'](0x8),_0x53bf17=_0x390748[_0x48c122(0x308)](0x0);if(_0x53bf17>Math[_0x48c122(0x2ee)](0x2,0x15)-0x1){const _0x4a3599=this[_0x48c122(0x2d3)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5835bf(_0x4a3599);return;}this[_0x48c122(0x315)]=_0x53bf17*Math[_0x48c122(0x2ee)](0x2,0x20)+_0x390748['readUInt32BE'](0x4),this[_0x48c122(0x1c8)](_0x5835bf);}['haveLength'](_0x2f3eb8){const _0x4cb828=_0x418189;if(this[_0x4cb828(0x315)]&&this[_0x4cb828(0x380)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x4cb828(0x36c)]>this[_0x4cb828(0x28c)]&&this[_0x4cb828(0x28c)]>0x0)){const _0x3e7a2c=this['createError'](RangeError,_0x4cb828(0x361),!0x1,0x3f1,_0x4cb828(0x28d));_0x2f3eb8(_0x3e7a2c);return;}this[_0x4cb828(0x32b)]?this['_state']=_0x37d828:this[_0x4cb828(0x323)]=_0x1d40fd;}['getMask'](){const _0xb4163e=_0x418189;if(this[_0xb4163e(0x309)]<0x4){this[_0xb4163e(0x226)]=!0x1;return;}this['_mask']=this[_0xb4163e(0x2ba)](0x4),this['_state']=_0x1d40fd;}[_0x418189(0x236)](_0x2c3987){const _0x45f456=_0x418189;let _0x5ad8ff=_0x3cdf92;if(this[_0x45f456(0x315)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x45f456(0x226)]=!0x1;return;}_0x5ad8ff=this[_0x45f456(0x2ba)](this['_payloadLength']),this[_0x45f456(0x32b)]&&this['_mask'][0x0]|this[_0x45f456(0x270)][0x1]|this[_0x45f456(0x270)][0x2]|this[_0x45f456(0x270)][0x3]&&_0x455d43(_0x5ad8ff,this[_0x45f456(0x270)]);}if(this[_0x45f456(0x380)]>0x7){this[_0x45f456(0x241)](_0x5ad8ff,_0x2c3987);return;}if(this[_0x45f456(0x327)]){this[_0x45f456(0x323)]=_0x135e97,this[_0x45f456(0x354)](_0x5ad8ff,_0x2c3987);return;}_0x5ad8ff[_0x45f456(0x340)]&&(this[_0x45f456(0x255)]=this[_0x45f456(0x36c)],this[_0x45f456(0x24f)][_0x45f456(0x244)](_0x5ad8ff)),this[_0x45f456(0x1ca)](_0x2c3987);}[_0x418189(0x354)](_0xc48fc8,_0x339e48){const _0x3ddaa6=_0x418189;this[_0x3ddaa6(0x233)][_0x5dcaee[_0x3ddaa6(0x1d8)]][_0x3ddaa6(0x354)](_0xc48fc8,this[_0x3ddaa6(0x2a3)],(_0x3bf12c,_0x22b88d)=>{const _0x834e1=_0x3ddaa6;if(_0x3bf12c)return _0x339e48(_0x3bf12c);if(_0x22b88d[_0x834e1(0x340)]){if(this['_messageLength']+=_0x22b88d[_0x834e1(0x340)],this['_messageLength']>this[_0x834e1(0x28c)]&&this['_maxPayload']>0x0){const _0x4406e5=this['createError'](RangeError,_0x834e1(0x361),!0x1,0x3f1,_0x834e1(0x28d));_0x339e48(_0x4406e5);return;}this[_0x834e1(0x24f)][_0x834e1(0x244)](_0x22b88d);}this[_0x834e1(0x1ca)](_0x339e48),this[_0x834e1(0x323)]===_0x504c3b&&this[_0x834e1(0x2cd)](_0x339e48);});}[_0x418189(0x1ca)](_0x499a35){const _0x37843a=_0x418189;if(!this[_0x37843a(0x2a3)]){this[_0x37843a(0x323)]=_0x504c3b;return;}const _0x502268=this[_0x37843a(0x255)],_0x132425=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x37843a(0x255)]=0x0,this[_0x37843a(0x2e1)]=0x0,this[_0x37843a(0x24f)]=[],this['_opcode']===0x2){let _0x452b27;this[_0x37843a(0x246)]==='nodebuffer'?_0x452b27=_0x5b85a9(_0x132425,_0x502268):this[_0x37843a(0x246)]===_0x37843a(0x31e)?_0x452b27=_0x375b29(_0x5b85a9(_0x132425,_0x502268)):this[_0x37843a(0x246)]===_0x37843a(0x337)?_0x452b27=new Blob(_0x132425):_0x452b27=_0x132425,this[_0x37843a(0x2bf)]?(this[_0x37843a(0x1dd)]('message',_0x452b27,!0x0),this['_state']=_0x504c3b):(this['_state']=_0x516515,setImmediate(()=>{const _0x3fb643=_0x37843a;this['emit'](_0x3fb643(0x273),_0x452b27,!0x0),this[_0x3fb643(0x323)]=_0x504c3b,this[_0x3fb643(0x2cd)](_0x499a35);}));}else{const _0x376937=_0x5b85a9(_0x132425,_0x502268);if(!this[_0x37843a(0x316)]&&!_0x1db32f(_0x376937)){const _0xf1adc1=this[_0x37843a(0x2d3)](Error,_0x37843a(0x28e),!0x0,0x3ef,_0x37843a(0x37f));_0x499a35(_0xf1adc1);return;}this['_state']===_0x135e97||this[_0x37843a(0x2bf)]?(this[_0x37843a(0x1dd)](_0x37843a(0x273),_0x376937,!0x1),this[_0x37843a(0x323)]=_0x504c3b):(this[_0x37843a(0x323)]=_0x516515,setImmediate(()=>{const _0x5e78e7=_0x37843a;this['emit'](_0x5e78e7(0x273),_0x376937,!0x1),this[_0x5e78e7(0x323)]=_0x504c3b,this[_0x5e78e7(0x2cd)](_0x499a35);}));}}[_0x418189(0x241)](_0x3cf98e,_0x1c0ddc){const _0x29c57b=_0x418189;if(this[_0x29c57b(0x380)]===0x8){if(_0x3cf98e[_0x29c57b(0x340)]===0x0)this[_0x29c57b(0x226)]=!0x1,this['emit'](_0x29c57b(0x20b),0x3ed,_0x3cdf92),this[_0x29c57b(0x2f1)]();else{const _0x54038e=_0x3cf98e[_0x29c57b(0x2ff)](0x0);if(!_0x831d68(_0x54038e)){const _0x1e0398=this[_0x29c57b(0x2d3)](RangeError,_0x29c57b(0x30e)+_0x54038e,!0x0,0x3ea,_0x29c57b(0x219));_0x1c0ddc(_0x1e0398);return;}const _0x5b4dfb=new _0xa97815(_0x3cf98e[_0x29c57b(0x2b3)],_0x3cf98e[_0x29c57b(0x2c7)]+0x2,_0x3cf98e['length']-0x2);if(!this[_0x29c57b(0x316)]&&!_0x1db32f(_0x5b4dfb)){const _0x25e9de=this[_0x29c57b(0x2d3)](Error,_0x29c57b(0x28e),!0x0,0x3ef,_0x29c57b(0x37f));_0x1c0ddc(_0x25e9de);return;}this[_0x29c57b(0x226)]=!0x1,this[_0x29c57b(0x1dd)](_0x29c57b(0x20b),_0x54038e,_0x5b4dfb),this[_0x29c57b(0x2f1)]();}this[_0x29c57b(0x323)]=_0x504c3b;return;}this[_0x29c57b(0x2bf)]?(this[_0x29c57b(0x1dd)](this[_0x29c57b(0x380)]===0x9?_0x29c57b(0x206):'pong',_0x3cf98e),this['_state']=_0x504c3b):(this['_state']=_0x516515,setImmediate(()=>{const _0x43cf9b=_0x29c57b;this[_0x43cf9b(0x1dd)](this[_0x43cf9b(0x380)]===0x9?_0x43cf9b(0x206):_0x43cf9b(0x33b),_0x3cf98e),this[_0x43cf9b(0x323)]=_0x504c3b,this[_0x43cf9b(0x2cd)](_0x1c0ddc);}));}[_0x418189(0x2d3)](_0x45f29a,_0x35078b,_0x231f0b,_0x59f50a,_0xed79c2){const _0x409dc2=_0x418189;this[_0x409dc2(0x226)]=!0x1,this['_errored']=!0x0;const _0xe9d56c=new _0x45f29a(_0x231f0b?'Invalid\x20WebSocket\x20frame:\x20'+_0x35078b:_0x35078b);return Error[_0x409dc2(0x284)](_0xe9d56c,this[_0x409dc2(0x2d3)]),_0xe9d56c['code']=_0xed79c2,_0xe9d56c[_0x10ae78]=_0x59f50a,_0xe9d56c;}}return Ee=_0x2eedb4,Ee;}at();var xe,Xe;function lt(){const _0x44daf9=_0x4135e6;if(Xe)return xe;Xe=0x1;const {Duplex:_0x29f460}=oe,{randomFillSync:_0x498069}=Le,_0x2456bf=he(),{EMPTY_BUFFER:_0x5e40b9,kWebSocket:_0x3b2f07,NOOP:_0x335602}=H(),{isBlob:_0x169aad,isValidStatusCode:_0xd43aee}=ae(),{mask:_0x33b847,toBuffer:_0x3cafe8}=ce(),_0x10a2f5=Symbol(_0x44daf9(0x264)),_0x397f69=Buffer[_0x44daf9(0x33f)](0x4),_0x5b86f4=0x8*0x400;let _0x572d6a,_0x20369b=_0x5b86f4;const _0x233481=0x0,_0x45a7ce=0x1,_0x4f9ab7=0x2;class _0x49b571{constructor(_0xaae547,_0x35ace7,_0x2d1e58){const _0x2e6118=_0x44daf9;this['_extensions']=_0x35ace7||{},_0x2d1e58&&(this[_0x2e6118(0x318)]=_0x2d1e58,this['_maskBuffer']=Buffer[_0x2e6118(0x33f)](0x4)),this[_0x2e6118(0x212)]=_0xaae547,this[_0x2e6118(0x293)]=!0x0,this[_0x2e6118(0x375)]=!0x1,this[_0x2e6118(0x309)]=0x0,this[_0x2e6118(0x232)]=[],this['_state']=_0x233481,this['onerror']=_0x335602,this[_0x3b2f07]=void 0x0;}static[_0x44daf9(0x343)](_0x54c903,_0x5aa81a){const _0xefc358=_0x44daf9;let _0x7c31e7,_0x234ce1=!0x1,_0x201421=0x2,_0x51d698=!0x1;_0x5aa81a[_0xefc358(0x1d3)]&&(_0x7c31e7=_0x5aa81a[_0xefc358(0x2fb)]||_0x397f69,_0x5aa81a[_0xefc358(0x213)]?_0x5aa81a[_0xefc358(0x213)](_0x7c31e7):(_0x20369b===_0x5b86f4&&(_0x572d6a===void 0x0&&(_0x572d6a=Buffer[_0xefc358(0x33f)](_0x5b86f4)),_0x498069(_0x572d6a,0x0,_0x5b86f4),_0x20369b=0x0),_0x7c31e7[0x0]=_0x572d6a[_0x20369b++],_0x7c31e7[0x1]=_0x572d6a[_0x20369b++],_0x7c31e7[0x2]=_0x572d6a[_0x20369b++],_0x7c31e7[0x3]=_0x572d6a[_0x20369b++]),_0x51d698=(_0x7c31e7[0x0]|_0x7c31e7[0x1]|_0x7c31e7[0x2]|_0x7c31e7[0x3])===0x0,_0x201421=0x6);let _0x4063ea;typeof _0x54c903==_0xefc358(0x274)?(!_0x5aa81a['mask']||_0x51d698)&&_0x5aa81a[_0x10a2f5]!==void 0x0?_0x4063ea=_0x5aa81a[_0x10a2f5]:(_0x54c903=Buffer['from'](_0x54c903),_0x4063ea=_0x54c903[_0xefc358(0x340)]):(_0x4063ea=_0x54c903['length'],_0x234ce1=_0x5aa81a[_0xefc358(0x1d3)]&&_0x5aa81a[_0xefc358(0x348)]&&!_0x51d698);let _0x577102=_0x4063ea;_0x4063ea>=0x10000?(_0x201421+=0x8,_0x577102=0x7f):_0x4063ea>0x7d&&(_0x201421+=0x2,_0x577102=0x7e);const _0x5b63c2=Buffer[_0xefc358(0x2fa)](_0x234ce1?_0x4063ea+_0x201421:_0x201421);return _0x5b63c2[0x0]=_0x5aa81a[_0xefc358(0x235)]?_0x5aa81a['opcode']|0x80:_0x5aa81a[_0xefc358(0x376)],_0x5aa81a[_0xefc358(0x211)]&&(_0x5b63c2[0x0]|=0x40),_0x5b63c2[0x1]=_0x577102,_0x577102===0x7e?_0x5b63c2['writeUInt16BE'](_0x4063ea,0x2):_0x577102===0x7f&&(_0x5b63c2[0x2]=_0x5b63c2[0x3]=0x0,_0x5b63c2[_0xefc358(0x240)](_0x4063ea,0x4,0x6)),_0x5aa81a[_0xefc358(0x1d3)]?(_0x5b63c2[0x1]|=0x80,_0x5b63c2[_0x201421-0x4]=_0x7c31e7[0x0],_0x5b63c2[_0x201421-0x3]=_0x7c31e7[0x1],_0x5b63c2[_0x201421-0x2]=_0x7c31e7[0x2],_0x5b63c2[_0x201421-0x1]=_0x7c31e7[0x3],_0x51d698?[_0x5b63c2,_0x54c903]:_0x234ce1?(_0x33b847(_0x54c903,_0x7c31e7,_0x5b63c2,_0x201421,_0x4063ea),[_0x5b63c2]):(_0x33b847(_0x54c903,_0x7c31e7,_0x54c903,0x0,_0x4063ea),[_0x5b63c2,_0x54c903])):[_0x5b63c2,_0x54c903];}[_0x44daf9(0x312)](_0x4db63c,_0x15fc07,_0x1c5046,_0x4bae7d){const _0x142544=_0x44daf9;let _0xe5423e;if(_0x4db63c===void 0x0)_0xe5423e=_0x5e40b9;else{if(typeof _0x4db63c!=_0x142544(0x243)||!_0xd43aee(_0x4db63c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x15fc07===void 0x0||!_0x15fc07[_0x142544(0x340)])_0xe5423e=Buffer[_0x142544(0x2fa)](0x2),_0xe5423e[_0x142544(0x2c0)](_0x4db63c,0x0);else{const _0x4c671e=Buffer[_0x142544(0x2a9)](_0x15fc07);if(_0x4c671e>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0xe5423e=Buffer['allocUnsafe'](0x2+_0x4c671e),_0xe5423e[_0x142544(0x2c0)](_0x4db63c,0x0),typeof _0x15fc07==_0x142544(0x274)?_0xe5423e[_0x142544(0x26f)](_0x15fc07,0x2):_0xe5423e[_0x142544(0x263)](_0x15fc07,0x2);}}const _0x5b24aa={[_0x10a2f5]:_0xe5423e[_0x142544(0x340)],'fin':!0x0,'generateMask':this[_0x142544(0x318)],'mask':_0x1c5046,'maskBuffer':this[_0x142544(0x2a6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x142544(0x323)]!==_0x233481?this['enqueue']([this[_0x142544(0x252)],_0xe5423e,!0x1,_0x5b24aa,_0x4bae7d]):this[_0x142544(0x347)](_0x49b571[_0x142544(0x343)](_0xe5423e,_0x5b24aa),_0x4bae7d);}['ping'](_0x472463,_0x28016e,_0x37c119){const _0x2e9cd3=_0x44daf9;let _0x45552a,_0x38414a;if(typeof _0x472463==_0x2e9cd3(0x274)?(_0x45552a=Buffer['byteLength'](_0x472463),_0x38414a=!0x1):_0x169aad(_0x472463)?(_0x45552a=_0x472463[_0x2e9cd3(0x2c5)],_0x38414a=!0x1):(_0x472463=_0x3cafe8(_0x472463),_0x45552a=_0x472463['length'],_0x38414a=_0x3cafe8[_0x2e9cd3(0x348)]),_0x45552a>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x587578={[_0x10a2f5]:_0x45552a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x28016e,'maskBuffer':this[_0x2e9cd3(0x2a6)],'opcode':0x9,'readOnly':_0x38414a,'rsv1':!0x1};_0x169aad(_0x472463)?this[_0x2e9cd3(0x323)]!==_0x233481?this['enqueue']([this[_0x2e9cd3(0x362)],_0x472463,!0x1,_0x587578,_0x37c119]):this['getBlobData'](_0x472463,!0x1,_0x587578,_0x37c119):this[_0x2e9cd3(0x323)]!==_0x233481?this[_0x2e9cd3(0x2d7)]([this[_0x2e9cd3(0x252)],_0x472463,!0x1,_0x587578,_0x37c119]):this[_0x2e9cd3(0x347)](_0x49b571['frame'](_0x472463,_0x587578),_0x37c119);}['pong'](_0x49c988,_0x496d55,_0x50061b){const _0x264f85=_0x44daf9;let _0x439169,_0x812415;if(typeof _0x49c988==_0x264f85(0x274)?(_0x439169=Buffer[_0x264f85(0x2a9)](_0x49c988),_0x812415=!0x1):_0x169aad(_0x49c988)?(_0x439169=_0x49c988[_0x264f85(0x2c5)],_0x812415=!0x1):(_0x49c988=_0x3cafe8(_0x49c988),_0x439169=_0x49c988[_0x264f85(0x340)],_0x812415=_0x3cafe8[_0x264f85(0x348)]),_0x439169>0x7d)throw new RangeError(_0x264f85(0x254));const _0x30530c={[_0x10a2f5]:_0x439169,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x496d55,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x812415,'rsv1':!0x1};_0x169aad(_0x49c988)?this[_0x264f85(0x323)]!==_0x233481?this[_0x264f85(0x2d7)]([this['getBlobData'],_0x49c988,!0x1,_0x30530c,_0x50061b]):this['getBlobData'](_0x49c988,!0x1,_0x30530c,_0x50061b):this[_0x264f85(0x323)]!==_0x233481?this[_0x264f85(0x2d7)]([this[_0x264f85(0x252)],_0x49c988,!0x1,_0x30530c,_0x50061b]):this[_0x264f85(0x347)](_0x49b571[_0x264f85(0x343)](_0x49c988,_0x30530c),_0x50061b);}[_0x44daf9(0x27f)](_0x390cf9,_0x3d6c74,_0xd67d6f){const _0x51929e=_0x44daf9,_0x3791e2=this[_0x51929e(0x233)][_0x2456bf[_0x51929e(0x1d8)]];let _0x5896aa=_0x3d6c74['binary']?0x2:0x1,_0xac1b07=_0x3d6c74[_0x51929e(0x29f)],_0x445ef8,_0x379a21;typeof _0x390cf9==_0x51929e(0x274)?(_0x445ef8=Buffer[_0x51929e(0x2a9)](_0x390cf9),_0x379a21=!0x1):_0x169aad(_0x390cf9)?(_0x445ef8=_0x390cf9['size'],_0x379a21=!0x1):(_0x390cf9=_0x3cafe8(_0x390cf9),_0x445ef8=_0x390cf9[_0x51929e(0x340)],_0x379a21=_0x3cafe8['readOnly']),this['_firstFragment']?(this[_0x51929e(0x293)]=!0x1,_0xac1b07&&_0x3791e2&&_0x3791e2['params'][_0x3791e2['_isServer']?_0x51929e(0x1eb):_0x51929e(0x1f1)]&&(_0xac1b07=_0x445ef8>=_0x3791e2[_0x51929e(0x2e5)]),this['_compress']=_0xac1b07):(_0xac1b07=!0x1,_0x5896aa=0x0),_0x3d6c74[_0x51929e(0x235)]&&(this['_firstFragment']=!0x0);const _0x324e7b={[_0x10a2f5]:_0x445ef8,'fin':_0x3d6c74['fin'],'generateMask':this[_0x51929e(0x318)],'mask':_0x3d6c74[_0x51929e(0x1d3)],'maskBuffer':this['_maskBuffer'],'opcode':_0x5896aa,'readOnly':_0x379a21,'rsv1':_0xac1b07};_0x169aad(_0x390cf9)?this[_0x51929e(0x323)]!==_0x233481?this['enqueue']([this['getBlobData'],_0x390cf9,this[_0x51929e(0x375)],_0x324e7b,_0xd67d6f]):this[_0x51929e(0x362)](_0x390cf9,this['_compress'],_0x324e7b,_0xd67d6f):this['_state']!==_0x233481?this[_0x51929e(0x2d7)]([this[_0x51929e(0x252)],_0x390cf9,this[_0x51929e(0x375)],_0x324e7b,_0xd67d6f]):this[_0x51929e(0x252)](_0x390cf9,this['_compress'],_0x324e7b,_0xd67d6f);}[_0x44daf9(0x362)](_0x266fc3,_0xa46013,_0x2d4a68,_0x378c05){const _0x97843b=_0x44daf9;this[_0x97843b(0x309)]+=_0x2d4a68[_0x10a2f5],this[_0x97843b(0x323)]=_0x4f9ab7,_0x266fc3[_0x97843b(0x231)]()[_0x97843b(0x37e)](_0xe1a309=>{const _0x509236=_0x97843b;if(this['_socket'][_0x509236(0x26e)]){const _0x23b577=new Error(_0x509236(0x2ea));process['nextTick'](_0x41fa49,this,_0x23b577,_0x378c05);return;}this[_0x509236(0x309)]-=_0x2d4a68[_0x10a2f5];const _0x5abbbb=_0x3cafe8(_0xe1a309);_0xa46013?this[_0x509236(0x252)](_0x5abbbb,_0xa46013,_0x2d4a68,_0x378c05):(this[_0x509236(0x323)]=_0x233481,this[_0x509236(0x347)](_0x49b571['frame'](_0x5abbbb,_0x2d4a68),_0x378c05),this[_0x509236(0x2f6)]());})[_0x97843b(0x258)](_0x5e3329=>{const _0x29e780=_0x97843b;process[_0x29e780(0x1d4)](_0x47ffa9,this,_0x5e3329,_0x378c05);});}[_0x44daf9(0x252)](_0x5b9bcf,_0x340139,_0x52f973,_0x3f3c94){const _0x2718a4=_0x44daf9;if(!_0x340139){this[_0x2718a4(0x347)](_0x49b571[_0x2718a4(0x343)](_0x5b9bcf,_0x52f973),_0x3f3c94);return;}const _0x8fe562=this[_0x2718a4(0x233)][_0x2456bf[_0x2718a4(0x1d8)]];this[_0x2718a4(0x309)]+=_0x52f973[_0x10a2f5],this[_0x2718a4(0x323)]=_0x45a7ce,_0x8fe562[_0x2718a4(0x29f)](_0x5b9bcf,_0x52f973['fin'],(_0x116cdf,_0x57a2c2)=>{const _0x5475b2=_0x2718a4;if(this[_0x5475b2(0x212)][_0x5475b2(0x26e)]){const _0x5061ac=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x41fa49(this,_0x5061ac,_0x3f3c94);return;}this[_0x5475b2(0x309)]-=_0x52f973[_0x10a2f5],this['_state']=_0x233481,_0x52f973['readOnly']=!0x1,this['sendFrame'](_0x49b571[_0x5475b2(0x343)](_0x57a2c2,_0x52f973),_0x3f3c94),this[_0x5475b2(0x2f6)]();});}['dequeue'](){const _0x16f4cf=_0x44daf9;for(;this[_0x16f4cf(0x323)]===_0x233481&&this[_0x16f4cf(0x232)]['length'];){const _0x281a36=this[_0x16f4cf(0x232)][_0x16f4cf(0x2be)]();this[_0x16f4cf(0x309)]-=_0x281a36[0x3][_0x10a2f5],Reflect['apply'](_0x281a36[0x0],this,_0x281a36[_0x16f4cf(0x2b5)](0x1));}}['enqueue'](_0x5071a6){const _0x3fc30b=_0x44daf9;this[_0x3fc30b(0x309)]+=_0x5071a6[0x3][_0x10a2f5],this[_0x3fc30b(0x232)][_0x3fc30b(0x244)](_0x5071a6);}[_0x44daf9(0x347)](_0x4749a4,_0x35c5b7){const _0x1632af=_0x44daf9;_0x4749a4['length']===0x2?(this[_0x1632af(0x212)]['cork'](),this['_socket'][_0x1632af(0x26f)](_0x4749a4[0x0]),this[_0x1632af(0x212)][_0x1632af(0x26f)](_0x4749a4[0x1],_0x35c5b7),this[_0x1632af(0x212)][_0x1632af(0x208)]()):this[_0x1632af(0x212)][_0x1632af(0x26f)](_0x4749a4[0x0],_0x35c5b7);}}xe=_0x49b571;function _0x41fa49(_0x4bb323,_0x163b5f,_0x7d96aa){const _0x245d40=_0x44daf9;typeof _0x7d96aa==_0x245d40(0x260)&&_0x7d96aa(_0x163b5f);for(let _0x427939=0x0;_0x427939<_0x4bb323[_0x245d40(0x232)]['length'];_0x427939++){const _0xf5d2a6=_0x4bb323['_queue'][_0x427939],_0x3a9289=_0xf5d2a6[_0xf5d2a6[_0x245d40(0x340)]-0x1];typeof _0x3a9289==_0x245d40(0x260)&&_0x3a9289(_0x163b5f);}}function _0x47ffa9(_0x43387b,_0x52f971,_0x36f8a4){const _0x2ae84c=_0x44daf9;_0x41fa49(_0x43387b,_0x52f971,_0x36f8a4),_0x43387b[_0x2ae84c(0x2c8)](_0x52f971);}return xe;}lt();var be,Ze;function Ut(){const _0x2a3c49=_0x4135e6;if(Ze)return be;Ze=0x1;const {kForOnEventAttribute:_0x5a6aac,kListener:_0x532bc4}=H(),_0x2ddb18=Symbol(_0x2a3c49(0x2fc)),_0xa6a4d4=Symbol('kData'),_0x58418a=Symbol('kError'),_0x2c32e2=Symbol(_0x2a3c49(0x37d)),_0x173c19=Symbol('kReason'),_0x2aacda=Symbol(_0x2a3c49(0x2ed)),_0x378f1e=Symbol('kType'),_0x326fbb=Symbol(_0x2a3c49(0x2e8));class _0x15f68c{constructor(_0x4a3ff0){this[_0x2aacda]=null,this[_0x378f1e]=_0x4a3ff0;}get[_0x2a3c49(0x292)](){return this[_0x2aacda];}get[_0x2a3c49(0x20e)](){return this[_0x378f1e];}}Object[_0x2a3c49(0x22a)](_0x15f68c['prototype'],_0x2a3c49(0x292),{'enumerable':!0x0}),Object[_0x2a3c49(0x22a)](_0x15f68c['prototype'],'type',{'enumerable':!0x0});class _0x4fbde3 extends _0x15f68c{constructor(_0x2e1309,_0x471753={}){const _0x57944e=_0x2a3c49;super(_0x2e1309),this[_0x2ddb18]=_0x471753['code']===void 0x0?0x0:_0x471753['code'],this[_0x173c19]=_0x471753[_0x57944e(0x1cc)]===void 0x0?'':_0x471753['reason'],this[_0x326fbb]=_0x471753['wasClean']===void 0x0?!0x1:_0x471753[_0x57944e(0x377)];}get[_0x2a3c49(0x209)](){return this[_0x2ddb18];}get[_0x2a3c49(0x1cc)](){return this[_0x173c19];}get['wasClean'](){return this[_0x326fbb];}}Object[_0x2a3c49(0x22a)](_0x4fbde3[_0x2a3c49(0x305)],_0x2a3c49(0x209),{'enumerable':!0x0}),Object[_0x2a3c49(0x22a)](_0x4fbde3['prototype'],'reason',{'enumerable':!0x0}),Object[_0x2a3c49(0x22a)](_0x4fbde3[_0x2a3c49(0x305)],_0x2a3c49(0x377),{'enumerable':!0x0});class _0x26a39 extends _0x15f68c{constructor(_0x1cd51d,_0x5763ba={}){const _0x33a8da=_0x2a3c49;super(_0x1cd51d),this[_0x58418a]=_0x5763ba[_0x33a8da(0x365)]===void 0x0?null:_0x5763ba[_0x33a8da(0x365)],this[_0x2c32e2]=_0x5763ba[_0x33a8da(0x273)]===void 0x0?'':_0x5763ba[_0x33a8da(0x273)];}get[_0x2a3c49(0x365)](){return this[_0x58418a];}get[_0x2a3c49(0x273)](){return this[_0x2c32e2];}}Object['defineProperty'](_0x26a39[_0x2a3c49(0x305)],_0x2a3c49(0x365),{'enumerable':!0x0}),Object[_0x2a3c49(0x22a)](_0x26a39['prototype'],_0x2a3c49(0x273),{'enumerable':!0x0});class _0x388e33 extends _0x15f68c{constructor(_0x37065f,_0x1b7c61={}){const _0x34b624=_0x2a3c49;super(_0x37065f),this[_0xa6a4d4]=_0x1b7c61[_0x34b624(0x2d8)]===void 0x0?null:_0x1b7c61[_0x34b624(0x2d8)];}get[_0x2a3c49(0x2d8)](){return this[_0xa6a4d4];}}Object[_0x2a3c49(0x22a)](_0x388e33[_0x2a3c49(0x305)],_0x2a3c49(0x2d8),{'enumerable':!0x0}),be={'CloseEvent':_0x4fbde3,'ErrorEvent':_0x26a39,'Event':_0x15f68c,'EventTarget':{'addEventListener'(_0x54d0b3,_0x54a670,_0xfe9921={}){const _0x5343a6=_0x2a3c49;for(const _0x24c424 of this[_0x5343a6(0x338)](_0x54d0b3))if(!_0xfe9921[_0x5a6aac]&&_0x24c424[_0x532bc4]===_0x54a670&&!_0x24c424[_0x5a6aac])return;let _0x5899f8;if(_0x54d0b3===_0x5343a6(0x273))_0x5899f8=function(_0x4ca526,_0x193dab){const _0x51dac5=new _0x388e33('message',{'data':_0x193dab?_0x4ca526:_0x4ca526['toString']()});_0x51dac5[_0x2aacda]=this,_0x13fc99(_0x54a670,this,_0x51dac5);};else{if(_0x54d0b3===_0x5343a6(0x312))_0x5899f8=function(_0x440d18,_0x2b0942){const _0x5f1bac=_0x5343a6,_0x5a90d6=new _0x4fbde3(_0x5f1bac(0x312),{'code':_0x440d18,'reason':_0x2b0942[_0x5f1bac(0x23e)](),'wasClean':this[_0x5f1bac(0x1f0)]&&this['_closeFrameSent']});_0x5a90d6[_0x2aacda]=this,_0x13fc99(_0x54a670,this,_0x5a90d6);};else{if(_0x54d0b3===_0x5343a6(0x365))_0x5899f8=function(_0x10794f){const _0x5a71c9=new _0x26a39('error',{'error':_0x10794f,'message':_0x10794f['message']});_0x5a71c9[_0x2aacda]=this,_0x13fc99(_0x54a670,this,_0x5a71c9);};else{if(_0x54d0b3===_0x5343a6(0x223))_0x5899f8=function(){const _0x2b7a95=new _0x15f68c('open');_0x2b7a95[_0x2aacda]=this,_0x13fc99(_0x54a670,this,_0x2b7a95);};else return;}}}_0x5899f8[_0x5a6aac]=!!_0xfe9921[_0x5a6aac],_0x5899f8[_0x532bc4]=_0x54a670,_0xfe9921[_0x5343a6(0x313)]?this[_0x5343a6(0x313)](_0x54d0b3,_0x5899f8):this['on'](_0x54d0b3,_0x5899f8);},'removeEventListener'(_0x44d6e4,_0x583afe){const _0x372351=_0x2a3c49;for(const _0x50a46a of this[_0x372351(0x338)](_0x44d6e4))if(_0x50a46a[_0x532bc4]===_0x583afe&&!_0x50a46a[_0x5a6aac]){this[_0x372351(0x22c)](_0x44d6e4,_0x50a46a);break;}}},'MessageEvent':_0x388e33};function _0x13fc99(_0xda6e0e,_0x2390db,_0x2433a9){const _0x48156=_0x2a3c49;typeof _0xda6e0e==_0x48156(0x1fb)&&_0xda6e0e[_0x48156(0x24c)]?_0xda6e0e[_0x48156(0x24c)][_0x48156(0x267)](_0xda6e0e,_0x2433a9):_0xda6e0e[_0x48156(0x267)](_0x2390db,_0x2433a9);}return be;}var we,Qe;function ft(){if(Qe)return we;Qe=0x1;const {tokenChars:_0x5b9c7d}=ae();function _0x2c67a6(_0x359461,_0x389c3d,_0x3a5e1b){const _0x3516f3=_0x4f67;_0x359461[_0x389c3d]===void 0x0?_0x359461[_0x389c3d]=[_0x3a5e1b]:_0x359461[_0x389c3d][_0x3516f3(0x244)](_0x3a5e1b);}function _0x3b52a9(_0x16e103){const _0x4c253e=_0x4f67,_0x24320a=Object['create'](null);let _0x315792=Object[_0x4c253e(0x2db)](null),_0x51110e=!0x1,_0x4d1251=!0x1,_0x156cc4=!0x1,_0x1b8f7d,_0x2faae8,_0x2abdf1=-0x1,_0x322f5e=-0x1,_0x25ce6b=-0x1,_0x5b3853=0x0;for(;_0x5b3853<_0x16e103[_0x4c253e(0x340)];_0x5b3853++)if(_0x322f5e=_0x16e103[_0x4c253e(0x27e)](_0x5b3853),_0x1b8f7d===void 0x0){if(_0x25ce6b===-0x1&&_0x5b9c7d[_0x322f5e]===0x1)_0x2abdf1===-0x1&&(_0x2abdf1=_0x5b3853);else{if(_0x5b3853!==0x0&&(_0x322f5e===0x20||_0x322f5e===0x9))_0x25ce6b===-0x1&&_0x2abdf1!==-0x1&&(_0x25ce6b=_0x5b3853);else{if(_0x322f5e===0x3b||_0x322f5e===0x2c){if(_0x2abdf1===-0x1)throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);_0x25ce6b===-0x1&&(_0x25ce6b=_0x5b3853);const _0x25fd48=_0x16e103[_0x4c253e(0x2b5)](_0x2abdf1,_0x25ce6b);_0x322f5e===0x2c?(_0x2c67a6(_0x24320a,_0x25fd48,_0x315792),_0x315792=Object[_0x4c253e(0x2db)](null)):_0x1b8f7d=_0x25fd48,_0x2abdf1=_0x25ce6b=-0x1;}else throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);}}}else{if(_0x2faae8===void 0x0){if(_0x25ce6b===-0x1&&_0x5b9c7d[_0x322f5e]===0x1)_0x2abdf1===-0x1&&(_0x2abdf1=_0x5b3853);else{if(_0x322f5e===0x20||_0x322f5e===0x9)_0x25ce6b===-0x1&&_0x2abdf1!==-0x1&&(_0x25ce6b=_0x5b3853);else{if(_0x322f5e===0x3b||_0x322f5e===0x2c){if(_0x2abdf1===-0x1)throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);_0x25ce6b===-0x1&&(_0x25ce6b=_0x5b3853),_0x2c67a6(_0x315792,_0x16e103[_0x4c253e(0x2b5)](_0x2abdf1,_0x25ce6b),!0x0),_0x322f5e===0x2c&&(_0x2c67a6(_0x24320a,_0x1b8f7d,_0x315792),_0x315792=Object[_0x4c253e(0x2db)](null),_0x1b8f7d=void 0x0),_0x2abdf1=_0x25ce6b=-0x1;}else{if(_0x322f5e===0x3d&&_0x2abdf1!==-0x1&&_0x25ce6b===-0x1)_0x2faae8=_0x16e103[_0x4c253e(0x2b5)](_0x2abdf1,_0x5b3853),_0x2abdf1=_0x25ce6b=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b3853);}}}}else{if(_0x4d1251){if(_0x5b9c7d[_0x322f5e]!==0x1)throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);_0x2abdf1===-0x1?_0x2abdf1=_0x5b3853:_0x51110e||(_0x51110e=!0x0),_0x4d1251=!0x1;}else{if(_0x156cc4){if(_0x5b9c7d[_0x322f5e]===0x1)_0x2abdf1===-0x1&&(_0x2abdf1=_0x5b3853);else{if(_0x322f5e===0x22&&_0x2abdf1!==-0x1)_0x156cc4=!0x1,_0x25ce6b=_0x5b3853;else{if(_0x322f5e===0x5c)_0x4d1251=!0x0;else throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);}}}else{if(_0x322f5e===0x22&&_0x16e103[_0x4c253e(0x27e)](_0x5b3853-0x1)===0x3d)_0x156cc4=!0x0;else{if(_0x25ce6b===-0x1&&_0x5b9c7d[_0x322f5e]===0x1)_0x2abdf1===-0x1&&(_0x2abdf1=_0x5b3853);else{if(_0x2abdf1!==-0x1&&(_0x322f5e===0x20||_0x322f5e===0x9))_0x25ce6b===-0x1&&(_0x25ce6b=_0x5b3853);else{if(_0x322f5e===0x3b||_0x322f5e===0x2c){if(_0x2abdf1===-0x1)throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);_0x25ce6b===-0x1&&(_0x25ce6b=_0x5b3853);let _0x534cea=_0x16e103['slice'](_0x2abdf1,_0x25ce6b);_0x51110e&&(_0x534cea=_0x534cea[_0x4c253e(0x25e)](/\\/g,''),_0x51110e=!0x1),_0x2c67a6(_0x315792,_0x2faae8,_0x534cea),_0x322f5e===0x2c&&(_0x2c67a6(_0x24320a,_0x1b8f7d,_0x315792),_0x315792=Object[_0x4c253e(0x2db)](null),_0x1b8f7d=void 0x0),_0x2faae8=void 0x0,_0x2abdf1=_0x25ce6b=-0x1;}else throw new SyntaxError(_0x4c253e(0x1d7)+_0x5b3853);}}}}}}}if(_0x2abdf1===-0x1||_0x156cc4||_0x322f5e===0x20||_0x322f5e===0x9)throw new SyntaxError(_0x4c253e(0x1c7));_0x25ce6b===-0x1&&(_0x25ce6b=_0x5b3853);const _0x128364=_0x16e103[_0x4c253e(0x2b5)](_0x2abdf1,_0x25ce6b);return _0x1b8f7d===void 0x0?_0x2c67a6(_0x24320a,_0x128364,_0x315792):(_0x2faae8===void 0x0?_0x2c67a6(_0x315792,_0x128364,!0x0):_0x51110e?_0x2c67a6(_0x315792,_0x2faae8,_0x128364['replace'](/\\/g,'')):_0x2c67a6(_0x315792,_0x2faae8,_0x128364),_0x2c67a6(_0x24320a,_0x1b8f7d,_0x315792)),_0x24320a;}function _0x313183(_0x25293c){const _0x3614d0=_0x4f67;return Object[_0x3614d0(0x341)](_0x25293c)[_0x3614d0(0x234)](_0x22bc2d=>{const _0x4221ce=_0x3614d0;let _0x57abe2=_0x25293c[_0x22bc2d];return Array[_0x4221ce(0x224)](_0x57abe2)||(_0x57abe2=[_0x57abe2]),_0x57abe2[_0x4221ce(0x234)](_0x6d4a49=>[_0x22bc2d][_0x4221ce(0x2a7)](Object[_0x4221ce(0x341)](_0x6d4a49)[_0x4221ce(0x234)](_0x499dc2=>{const _0x3755d5=_0x4221ce;let _0x331d33=_0x6d4a49[_0x499dc2];return Array[_0x3755d5(0x224)](_0x331d33)||(_0x331d33=[_0x331d33]),_0x331d33['map'](_0x34669a=>_0x34669a===!0x0?_0x499dc2:_0x499dc2+'='+_0x34669a)[_0x3755d5(0x2b1)](';\x20');}))[_0x4221ce(0x2b1)](';\x20'))[_0x4221ce(0x2b1)](',\x20');})['join'](',\x20');}return we={'format':_0x313183,'parse':_0x3b52a9},we;}var Oe,Je;function ct(){const _0x3cf05f=_0x4135e6;if(Je)return Oe;Je=0x1;const _0x1d8fb9=it,_0x27f877=Et,_0x318e45=nt,_0x176528=xt,_0xd9ac83=bt,{randomBytes:_0x5ab72c,createHash:_0x3803bd}=Le,{Duplex:_0x438d64,Readable:_0x2648c1}=oe,{URL:_0x1aed13}=wt,_0x401ed8=he(),_0x5e4893=at(),_0x5414e3=lt(),{isBlob:_0x3926df}=ae(),{BINARY_TYPES:_0x2835d0,EMPTY_BUFFER:_0x2bd2c5,GUID:_0x41b088,kForOnEventAttribute:_0x3dc741,kListener:_0x1b9730,kStatusCode:_0x3223d3,kWebSocket:_0x4cd224,NOOP:_0x543d0b}=H(),{EventTarget:{addEventListener:_0x490ee6,removeEventListener:_0xb958ec}}=Ut(),{format:_0x3838d0,parse:_0x5b7e8a}=ft(),{toBuffer:_0x27aa79}=ce(),_0x61e2dd=0x1e*0x3e8,_0x4b82b1=Symbol(_0x3cf05f(0x259)),_0x41cac6=[0x8,0xd],_0x3a02f9=['CONNECTING',_0x3cf05f(0x30c),'CLOSING',_0x3cf05f(0x314)],_0x183d37=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x18216b extends _0x1d8fb9{constructor(_0x5e9aed,_0x5087dd,_0x28b52d){const _0x589c7a=_0x3cf05f;super(),this[_0x589c7a(0x246)]=_0x2835d0[0x0],this[_0x589c7a(0x1d5)]=0x3ee,this[_0x589c7a(0x1f0)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x589c7a(0x1dc)]=_0x2bd2c5,this['_closeTimer']=null,this[_0x589c7a(0x275)]=!0x1,this[_0x589c7a(0x233)]={},this[_0x589c7a(0x35d)]=!0x1,this[_0x589c7a(0x257)]='',this[_0x589c7a(0x34d)]=_0x18216b[_0x589c7a(0x238)],this[_0x589c7a(0x1c6)]=null,this[_0x589c7a(0x371)]=null,this[_0x589c7a(0x212)]=null,_0x5e9aed!==null?(this[_0x589c7a(0x262)]=0x0,this[_0x589c7a(0x306)]=!0x1,this['_redirects']=0x0,_0x5087dd===void 0x0?_0x5087dd=[]:Array[_0x589c7a(0x224)](_0x5087dd)||(typeof _0x5087dd==_0x589c7a(0x1fb)&&_0x5087dd!==null?(_0x28b52d=_0x5087dd,_0x5087dd=[]):_0x5087dd=[_0x5087dd]),_0x314113(this,_0x5e9aed,_0x5087dd,_0x28b52d)):(this[_0x589c7a(0x302)]=_0x28b52d[_0x589c7a(0x2a2)],this['_isServer']=!0x0);}get[_0x3cf05f(0x2f9)](){const _0x2d60a6=_0x3cf05f;return this[_0x2d60a6(0x246)];}set['binaryType'](_0x4de8b6){const _0x5d8b21=_0x3cf05f;_0x2835d0[_0x5d8b21(0x35a)](_0x4de8b6)&&(this[_0x5d8b21(0x246)]=_0x4de8b6,this['_receiver']&&(this[_0x5d8b21(0x1c6)][_0x5d8b21(0x246)]=_0x4de8b6));}get[_0x3cf05f(0x1d6)](){const _0x14834b=_0x3cf05f;return this[_0x14834b(0x212)]?this[_0x14834b(0x212)][_0x14834b(0x35e)][_0x14834b(0x340)]+this['_sender']['_bufferedBytes']:this[_0x14834b(0x262)];}get[_0x3cf05f(0x2e7)](){const _0x81191d=_0x3cf05f;return Object[_0x81191d(0x341)](this[_0x81191d(0x233)])[_0x81191d(0x2b1)]();}get[_0x3cf05f(0x1c4)](){const _0x47a875=_0x3cf05f;return this[_0x47a875(0x35d)];}get[_0x3cf05f(0x2ce)](){return null;}get[_0x3cf05f(0x2c8)](){return null;}get[_0x3cf05f(0x356)](){return null;}get['onmessage'](){return null;}get[_0x3cf05f(0x1f2)](){return this['_protocol'];}get[_0x3cf05f(0x1fa)](){const _0x405a75=_0x3cf05f;return this[_0x405a75(0x34d)];}get[_0x3cf05f(0x220)](){const _0x5c0d9c=_0x3cf05f;return this[_0x5c0d9c(0x1e9)];}[_0x3cf05f(0x2f8)](_0x1ab795,_0x1ccff5,_0x1f9eb3){const _0x4869d1=_0x3cf05f,_0x86364e=new _0x5e4893({'allowSynchronousEvents':_0x1f9eb3[_0x4869d1(0x28f)],'binaryType':this[_0x4869d1(0x2f9)],'extensions':this[_0x4869d1(0x233)],'isServer':this[_0x4869d1(0x306)],'maxPayload':_0x1f9eb3[_0x4869d1(0x2de)],'skipUTF8Validation':_0x1f9eb3['skipUTF8Validation']}),_0x24fd3f=new _0x5414e3(_0x1ab795,this['_extensions'],_0x1f9eb3[_0x4869d1(0x213)]);this[_0x4869d1(0x1c6)]=_0x86364e,this['_sender']=_0x24fd3f,this[_0x4869d1(0x212)]=_0x1ab795,_0x86364e[_0x4cd224]=this,_0x24fd3f[_0x4cd224]=this,_0x1ab795[_0x4cd224]=this,_0x86364e['on']('conclude',_0x419663),_0x86364e['on'](_0x4869d1(0x36b),_0x4dd266),_0x86364e['on'](_0x4869d1(0x365),_0x52be30),_0x86364e['on']('message',_0x4c8c73),_0x86364e['on'](_0x4869d1(0x206),_0x5cea24),_0x86364e['on'](_0x4869d1(0x33b),_0x49a1f0),_0x24fd3f[_0x4869d1(0x2c8)]=_0x49da50,_0x1ab795['setTimeout']&&_0x1ab795[_0x4869d1(0x207)](0x0),_0x1ab795[_0x4869d1(0x1db)]&&_0x1ab795[_0x4869d1(0x1db)](),_0x1ccff5[_0x4869d1(0x340)]>0x0&&_0x1ab795[_0x4869d1(0x359)](_0x1ccff5),_0x1ab795['on'](_0x4869d1(0x312),_0x3ee582),_0x1ab795['on'](_0x4869d1(0x2d8),_0x288e9f),_0x1ab795['on'](_0x4869d1(0x2f1),_0x1b26c4),_0x1ab795['on'](_0x4869d1(0x365),_0x192231),this[_0x4869d1(0x34d)]=_0x18216b['OPEN'],this['emit']('open');}[_0x3cf05f(0x2eb)](){const _0x5167c8=_0x3cf05f;if(!this[_0x5167c8(0x212)]){this['_readyState']=_0x18216b[_0x5167c8(0x314)],this['emit'](_0x5167c8(0x312),this[_0x5167c8(0x1d5)],this['_closeMessage']);return;}this[_0x5167c8(0x233)][_0x401ed8[_0x5167c8(0x1d8)]]&&this[_0x5167c8(0x233)][_0x401ed8[_0x5167c8(0x1d8)]][_0x5167c8(0x20c)](),this[_0x5167c8(0x1c6)][_0x5167c8(0x228)](),this[_0x5167c8(0x34d)]=_0x18216b[_0x5167c8(0x314)],this['emit']('close',this['_closeCode'],this[_0x5167c8(0x1dc)]);}[_0x3cf05f(0x312)](_0x29efb6,_0xbf002d){const _0x46a7ed=_0x3cf05f;if(this[_0x46a7ed(0x1fa)]!==_0x18216b[_0x46a7ed(0x314)]){if(this[_0x46a7ed(0x1fa)]===_0x18216b[_0x46a7ed(0x238)]){_0x1f1850(this,this[_0x46a7ed(0x2bb)],_0x46a7ed(0x1cf));return;}if(this['readyState']===_0x18216b['CLOSING']){this[_0x46a7ed(0x283)]&&(this[_0x46a7ed(0x1f0)]||this[_0x46a7ed(0x1c6)][_0x46a7ed(0x35e)][_0x46a7ed(0x268)])&&this[_0x46a7ed(0x212)]['end']();return;}this[_0x46a7ed(0x34d)]=_0x18216b['CLOSING'],this[_0x46a7ed(0x371)][_0x46a7ed(0x312)](_0x29efb6,_0xbf002d,!this[_0x46a7ed(0x306)],_0x31d13a=>{const _0x204d87=_0x46a7ed;_0x31d13a||(this[_0x204d87(0x283)]=!0x0,(this[_0x204d87(0x1f0)]||this['_receiver'][_0x204d87(0x35e)][_0x204d87(0x268)])&&this[_0x204d87(0x212)][_0x204d87(0x2f1)]());}),_0x18a365(this);}}[_0x3cf05f(0x216)](){const _0x19e721=_0x3cf05f;this[_0x19e721(0x1fa)]===_0x18216b[_0x19e721(0x238)]||this[_0x19e721(0x1fa)]===_0x18216b[_0x19e721(0x314)]||(this[_0x19e721(0x35d)]=!0x0,this['_socket']['pause']());}[_0x3cf05f(0x206)](_0x2dee51,_0x334096,_0x1e3802){const _0x1943cb=_0x3cf05f;if(this['readyState']===_0x18216b[_0x1943cb(0x238)])throw new Error(_0x1943cb(0x21c));if(typeof _0x2dee51==_0x1943cb(0x260)?(_0x1e3802=_0x2dee51,_0x2dee51=_0x334096=void 0x0):typeof _0x334096==_0x1943cb(0x260)&&(_0x1e3802=_0x334096,_0x334096=void 0x0),typeof _0x2dee51==_0x1943cb(0x243)&&(_0x2dee51=_0x2dee51[_0x1943cb(0x23e)]()),this[_0x1943cb(0x1fa)]!==_0x18216b['OPEN']){_0x429bae(this,_0x2dee51,_0x1e3802);return;}_0x334096===void 0x0&&(_0x334096=!this['_isServer']),this[_0x1943cb(0x371)]['ping'](_0x2dee51||_0x2bd2c5,_0x334096,_0x1e3802);}['pong'](_0x1aaa78,_0x168106,_0x295047){const _0x26203c=_0x3cf05f;if(this['readyState']===_0x18216b[_0x26203c(0x238)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1aaa78==_0x26203c(0x260)?(_0x295047=_0x1aaa78,_0x1aaa78=_0x168106=void 0x0):typeof _0x168106==_0x26203c(0x260)&&(_0x295047=_0x168106,_0x168106=void 0x0),typeof _0x1aaa78==_0x26203c(0x243)&&(_0x1aaa78=_0x1aaa78['toString']()),this[_0x26203c(0x1fa)]!==_0x18216b[_0x26203c(0x30c)]){_0x429bae(this,_0x1aaa78,_0x295047);return;}_0x168106===void 0x0&&(_0x168106=!this[_0x26203c(0x306)]),this[_0x26203c(0x371)]['pong'](_0x1aaa78||_0x2bd2c5,_0x168106,_0x295047);}[_0x3cf05f(0x29e)](){const _0x46c085=_0x3cf05f;this[_0x46c085(0x1fa)]===_0x18216b[_0x46c085(0x238)]||this[_0x46c085(0x1fa)]===_0x18216b[_0x46c085(0x314)]||(this[_0x46c085(0x35d)]=!0x1,this[_0x46c085(0x1c6)]['_writableState'][_0x46c085(0x214)]||this['_socket']['resume']());}[_0x3cf05f(0x27f)](_0x4eb6ae,_0x3d93ef,_0x4a95c6){const _0x1492cf=_0x3cf05f;if(this[_0x1492cf(0x1fa)]===_0x18216b[_0x1492cf(0x238)])throw new Error(_0x1492cf(0x21c));if(typeof _0x3d93ef==_0x1492cf(0x260)&&(_0x4a95c6=_0x3d93ef,_0x3d93ef={}),typeof _0x4eb6ae==_0x1492cf(0x243)&&(_0x4eb6ae=_0x4eb6ae[_0x1492cf(0x23e)]()),this[_0x1492cf(0x1fa)]!==_0x18216b['OPEN']){_0x429bae(this,_0x4eb6ae,_0x4a95c6);return;}const _0x9d9868={'binary':typeof _0x4eb6ae!=_0x1492cf(0x274),'mask':!this[_0x1492cf(0x306)],'compress':!0x0,'fin':!0x0,..._0x3d93ef};this[_0x1492cf(0x233)][_0x401ed8[_0x1492cf(0x1d8)]]||(_0x9d9868[_0x1492cf(0x29f)]=!0x1),this[_0x1492cf(0x371)]['send'](_0x4eb6ae||_0x2bd2c5,_0x9d9868,_0x4a95c6);}[_0x3cf05f(0x2c9)](){const _0x575e46=_0x3cf05f;if(this[_0x575e46(0x1fa)]!==_0x18216b[_0x575e46(0x314)]){if(this[_0x575e46(0x1fa)]===_0x18216b['CONNECTING']){_0x1f1850(this,this[_0x575e46(0x2bb)],_0x575e46(0x1cf));return;}this[_0x575e46(0x212)]&&(this[_0x575e46(0x34d)]=_0x18216b[_0x575e46(0x2f2)],this[_0x575e46(0x212)]['destroy']());}}}Object[_0x3cf05f(0x22a)](_0x18216b,_0x3cf05f(0x238),{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)](_0x3cf05f(0x238))}),Object['defineProperty'](_0x18216b[_0x3cf05f(0x305)],_0x3cf05f(0x238),{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)]('CONNECTING')}),Object[_0x3cf05f(0x22a)](_0x18216b,'OPEN',{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)]('OPEN')}),Object['defineProperty'](_0x18216b[_0x3cf05f(0x305)],_0x3cf05f(0x30c),{'enumerable':!0x0,'value':_0x3a02f9['indexOf'](_0x3cf05f(0x30c))}),Object['defineProperty'](_0x18216b,_0x3cf05f(0x2f2),{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)](_0x3cf05f(0x2f2))}),Object['defineProperty'](_0x18216b[_0x3cf05f(0x305)],_0x3cf05f(0x2f2),{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)](_0x3cf05f(0x2f2))}),Object[_0x3cf05f(0x22a)](_0x18216b,_0x3cf05f(0x314),{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)]('CLOSED')}),Object[_0x3cf05f(0x22a)](_0x18216b['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x3a02f9[_0x3cf05f(0x2cf)](_0x3cf05f(0x314))}),[_0x3cf05f(0x2f9),_0x3cf05f(0x1d6),_0x3cf05f(0x2e7),_0x3cf05f(0x1c4),_0x3cf05f(0x1f2),'readyState',_0x3cf05f(0x220)][_0x3cf05f(0x37a)](_0x3a163f=>{const _0x4cce72=_0x3cf05f;Object[_0x4cce72(0x22a)](_0x18216b['prototype'],_0x3a163f,{'enumerable':!0x0});}),[_0x3cf05f(0x223),'error',_0x3cf05f(0x312),_0x3cf05f(0x273)][_0x3cf05f(0x37a)](_0x305ebb=>{const _0x17001f=_0x3cf05f;Object[_0x17001f(0x22a)](_0x18216b['prototype'],'on'+_0x305ebb,{'enumerable':!0x0,'get'(){const _0x47fe0b=_0x17001f;for(const _0x46741f of this[_0x47fe0b(0x338)](_0x305ebb))if(_0x46741f[_0x3dc741])return _0x46741f[_0x1b9730];return null;},'set'(_0x3b3670){const _0x37c413=_0x17001f;for(const _0x381bff of this[_0x37c413(0x338)](_0x305ebb))if(_0x381bff[_0x3dc741]){this[_0x37c413(0x22c)](_0x305ebb,_0x381bff);break;}typeof _0x3b3670==_0x37c413(0x260)&&this['addEventListener'](_0x305ebb,_0x3b3670,{[_0x3dc741]:!0x0});}});}),_0x18216b[_0x3cf05f(0x305)][_0x3cf05f(0x2e4)]=_0x490ee6,_0x18216b['prototype']['removeEventListener']=_0xb958ec,Oe=_0x18216b;function _0x314113(_0x20d786,_0x4d5468,_0x54061b,_0x913b05){const _0x434231=_0x3cf05f,_0x14bb7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x41cac6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x913b05,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x20d786[_0x434231(0x302)]=_0x14bb7[_0x434231(0x2a2)],!_0x41cac6[_0x434231(0x35a)](_0x14bb7[_0x434231(0x32a)]))throw new RangeError(_0x434231(0x349)+_0x14bb7[_0x434231(0x32a)]+_0x434231(0x261)+_0x41cac6[_0x434231(0x2b1)](',\x20')+')');let _0x23c5bb;if(_0x4d5468 instanceof _0x1aed13)_0x23c5bb=_0x4d5468;else try{_0x23c5bb=new _0x1aed13(_0x4d5468);}catch{throw new SyntaxError(_0x434231(0x1fd)+_0x4d5468);}_0x23c5bb[_0x434231(0x1f2)]===_0x434231(0x2bc)?_0x23c5bb[_0x434231(0x1f2)]='ws:':_0x23c5bb[_0x434231(0x1f2)]===_0x434231(0x201)&&(_0x23c5bb[_0x434231(0x1f2)]=_0x434231(0x319)),_0x20d786[_0x434231(0x1e9)]=_0x23c5bb['href'];const _0xff774a=_0x23c5bb[_0x434231(0x1f2)]===_0x434231(0x319),_0x3392b4=_0x23c5bb[_0x434231(0x1f2)]==='ws+unix:';let _0x197aa4;if(_0x23c5bb['protocol']!=='ws:'&&!_0xff774a&&!_0x3392b4?_0x197aa4=_0x434231(0x210):_0x3392b4&&!_0x23c5bb[_0x434231(0x2f5)]?_0x197aa4=_0x434231(0x31f):_0x23c5bb[_0x434231(0x21b)]&&(_0x197aa4='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x197aa4){const _0x319f79=new SyntaxError(_0x197aa4);if(_0x20d786[_0x434231(0x278)]===0x0)throw _0x319f79;_0x24c258(_0x20d786,_0x319f79);return;}const _0xbdd1fa=_0xff774a?0x1bb:0x50,_0xabd602=_0x5ab72c(0x10)[_0x434231(0x23e)](_0x434231(0x2fe)),_0x4114dc=_0xff774a?_0x27f877[_0x434231(0x1ce)]:_0x318e45['request'],_0x4f6b9c=new Set();let _0x3ae827;if(_0x14bb7['createConnection']=_0x14bb7[_0x434231(0x2a0)]||(_0xff774a?_0x27b5a4:_0x3d7108),_0x14bb7[_0x434231(0x242)]=_0x14bb7[_0x434231(0x242)]||_0xbdd1fa,_0x14bb7['port']=_0x23c5bb['port']||_0xbdd1fa,_0x14bb7[_0x434231(0x334)]=_0x23c5bb[_0x434231(0x358)][_0x434231(0x1ea)]('[')?_0x23c5bb[_0x434231(0x358)][_0x434231(0x2b5)](0x1,-0x1):_0x23c5bb[_0x434231(0x358)],_0x14bb7['headers']={..._0x14bb7[_0x434231(0x2df)],'Sec-WebSocket-Version':_0x14bb7['protocolVersion'],'Sec-WebSocket-Key':_0xabd602,'Connection':_0x434231(0x266),'Upgrade':'websocket'},_0x14bb7[_0x434231(0x352)]=_0x23c5bb['pathname']+_0x23c5bb[_0x434231(0x29c)],_0x14bb7[_0x434231(0x357)]=_0x14bb7[_0x434231(0x218)],_0x14bb7[_0x434231(0x248)]&&(_0x3ae827=new _0x401ed8(_0x14bb7[_0x434231(0x248)]!==!0x0?_0x14bb7[_0x434231(0x248)]:{},!0x1,_0x14bb7[_0x434231(0x2de)]),_0x14bb7['headers'][_0x434231(0x1e6)]=_0x3838d0({[_0x401ed8[_0x434231(0x1d8)]]:_0x3ae827[_0x434231(0x24b)]()})),_0x54061b['length']){for(const _0x865a03 of _0x54061b){if(typeof _0x865a03!=_0x434231(0x274)||!_0x183d37[_0x434231(0x330)](_0x865a03)||_0x4f6b9c[_0x434231(0x1e2)](_0x865a03))throw new SyntaxError(_0x434231(0x321));_0x4f6b9c[_0x434231(0x282)](_0x865a03);}_0x14bb7['headers']['Sec-WebSocket-Protocol']=_0x54061b[_0x434231(0x2b1)](',');}if(_0x14bb7['origin']&&(_0x14bb7[_0x434231(0x32a)]<0xd?_0x14bb7[_0x434231(0x2df)]['Sec-WebSocket-Origin']=_0x14bb7[_0x434231(0x24d)]:_0x14bb7[_0x434231(0x2df)][_0x434231(0x373)]=_0x14bb7[_0x434231(0x24d)]),(_0x23c5bb[_0x434231(0x2bd)]||_0x23c5bb[_0x434231(0x230)])&&(_0x14bb7['auth']=_0x23c5bb[_0x434231(0x2bd)]+':'+_0x23c5bb[_0x434231(0x230)]),_0x3392b4){const _0x23fb5f=_0x14bb7[_0x434231(0x352)][_0x434231(0x1ed)](':');_0x14bb7[_0x434231(0x34b)]=_0x23fb5f[0x0],_0x14bb7[_0x434231(0x352)]=_0x23fb5f[0x1];}let _0x4c6460;if(_0x14bb7[_0x434231(0x382)]){if(_0x20d786[_0x434231(0x278)]===0x0){_0x20d786[_0x434231(0x2c4)]=_0x3392b4,_0x20d786[_0x434231(0x332)]=_0xff774a,_0x20d786['_originalHostOrSocketPath']=_0x3392b4?_0x14bb7['socketPath']:_0x23c5bb['host'];const _0x54f4a5=_0x913b05&&_0x913b05[_0x434231(0x2df)];if(_0x913b05={..._0x913b05,'headers':{}},_0x54f4a5){for(const [_0x2d3434,_0x2cab30]of Object[_0x434231(0x2c3)](_0x54f4a5))_0x913b05[_0x434231(0x2df)][_0x2d3434[_0x434231(0x32c)]()]=_0x2cab30;}}else{if(_0x20d786[_0x434231(0x227)](_0x434231(0x1d9))===0x0){const _0x1feae0=_0x3392b4?_0x20d786[_0x434231(0x2c4)]?_0x14bb7[_0x434231(0x34b)]===_0x20d786[_0x434231(0x331)]:!0x1:_0x20d786[_0x434231(0x2c4)]?!0x1:_0x23c5bb[_0x434231(0x334)]===_0x20d786['_originalHostOrSocketPath'];(!_0x1feae0||_0x20d786[_0x434231(0x332)]&&!_0xff774a)&&(delete _0x14bb7[_0x434231(0x2df)]['authorization'],delete _0x14bb7[_0x434231(0x2df)][_0x434231(0x22f)],_0x1feae0||delete _0x14bb7[_0x434231(0x2df)][_0x434231(0x334)],_0x14bb7[_0x434231(0x32d)]=void 0x0);}}_0x14bb7[_0x434231(0x32d)]&&!_0x913b05[_0x434231(0x2df)][_0x434231(0x23a)]&&(_0x913b05['headers']['authorization']='Basic\x20'+Buffer[_0x434231(0x350)](_0x14bb7[_0x434231(0x32d)])[_0x434231(0x23e)](_0x434231(0x2fe))),_0x4c6460=_0x20d786['_req']=_0x4114dc(_0x14bb7),_0x20d786[_0x434231(0x278)]&&_0x20d786[_0x434231(0x1dd)](_0x434231(0x1d9),_0x20d786[_0x434231(0x220)],_0x4c6460);}else _0x4c6460=_0x20d786[_0x434231(0x2bb)]=_0x4114dc(_0x14bb7);_0x14bb7[_0x434231(0x357)]&&_0x4c6460['on'](_0x434231(0x357),()=>{_0x1f1850(_0x20d786,_0x4c6460,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4c6460['on'](_0x434231(0x365),_0x285b3e=>{const _0x1f8d6c=_0x434231;_0x4c6460===null||_0x4c6460[_0x4b82b1]||(_0x4c6460=_0x20d786[_0x1f8d6c(0x2bb)]=null,_0x24c258(_0x20d786,_0x285b3e));}),_0x4c6460['on'](_0x434231(0x27c),_0x593d9f=>{const _0x176c3b=_0x434231,_0x177a54=_0x593d9f[_0x176c3b(0x2df)][_0x176c3b(0x203)],_0x33e0ce=_0x593d9f[_0x176c3b(0x21e)];if(_0x177a54&&_0x14bb7[_0x176c3b(0x382)]&&_0x33e0ce>=0x12c&&_0x33e0ce<0x190){if(++_0x20d786[_0x176c3b(0x278)]>_0x14bb7[_0x176c3b(0x307)]){_0x1f1850(_0x20d786,_0x4c6460,'Maximum\x20redirects\x20exceeded');return;}_0x4c6460[_0x176c3b(0x20f)]();let _0x2ce055;try{_0x2ce055=new _0x1aed13(_0x177a54,_0x4d5468);}catch{const _0x372ea6=new SyntaxError('Invalid\x20URL:\x20'+_0x177a54);_0x24c258(_0x20d786,_0x372ea6);return;}_0x314113(_0x20d786,_0x2ce055,_0x54061b,_0x913b05);}else _0x20d786[_0x176c3b(0x1dd)](_0x176c3b(0x1e8),_0x4c6460,_0x593d9f)||_0x1f1850(_0x20d786,_0x4c6460,_0x176c3b(0x325)+_0x593d9f[_0x176c3b(0x21e)]);}),_0x4c6460['on'](_0x434231(0x34f),(_0x1ac4f2,_0x30b1bc,_0x3f148a)=>{const _0x534f75=_0x434231;if(_0x20d786[_0x534f75(0x1dd)](_0x534f75(0x34f),_0x1ac4f2),_0x20d786['readyState']!==_0x18216b[_0x534f75(0x238)])return;_0x4c6460=_0x20d786[_0x534f75(0x2bb)]=null;const _0x4d2598=_0x1ac4f2[_0x534f75(0x2df)][_0x534f75(0x34f)];if(_0x4d2598===void 0x0||_0x4d2598['toLowerCase']()!==_0x534f75(0x21a)){_0x1f1850(_0x20d786,_0x30b1bc,'Invalid\x20Upgrade\x20header');return;}const _0x6644e7=_0x3803bd('sha1')['update'](_0xabd602+_0x41b088)[_0x534f75(0x1e0)]('base64');if(_0x1ac4f2[_0x534f75(0x2df)]['sec-websocket-accept']!==_0x6644e7){_0x1f1850(_0x20d786,_0x30b1bc,_0x534f75(0x204));return;}const _0x16b140=_0x1ac4f2[_0x534f75(0x2df)][_0x534f75(0x351)];let _0x95f53d;if(_0x16b140!==void 0x0?_0x4f6b9c['size']?_0x4f6b9c['has'](_0x16b140)||(_0x95f53d=_0x534f75(0x1e4)):_0x95f53d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4f6b9c[_0x534f75(0x2c5)]&&(_0x95f53d=_0x534f75(0x1d2)),_0x95f53d){_0x1f1850(_0x20d786,_0x30b1bc,_0x95f53d);return;}_0x16b140&&(_0x20d786[_0x534f75(0x257)]=_0x16b140);const _0x13d74f=_0x1ac4f2[_0x534f75(0x2df)][_0x534f75(0x300)];if(_0x13d74f!==void 0x0){if(!_0x3ae827){_0x1f1850(_0x20d786,_0x30b1bc,_0x534f75(0x2dc));return;}let _0x365839;try{_0x365839=_0x5b7e8a(_0x13d74f);}catch{_0x1f1850(_0x20d786,_0x30b1bc,_0x534f75(0x28a));return;}const _0x25b4d2=Object[_0x534f75(0x341)](_0x365839);if(_0x25b4d2[_0x534f75(0x340)]!==0x1||_0x25b4d2[0x0]!==_0x401ed8['extensionName']){_0x1f1850(_0x20d786,_0x30b1bc,_0x534f75(0x1e5));return;}try{_0x3ae827[_0x534f75(0x2d2)](_0x365839[_0x401ed8[_0x534f75(0x1d8)]]);}catch{_0x1f1850(_0x20d786,_0x30b1bc,_0x534f75(0x28a));return;}_0x20d786[_0x534f75(0x233)][_0x401ed8[_0x534f75(0x1d8)]]=_0x3ae827;}_0x20d786[_0x534f75(0x2f8)](_0x30b1bc,_0x3f148a,{'allowSynchronousEvents':_0x14bb7[_0x534f75(0x28f)],'generateMask':_0x14bb7['generateMask'],'maxPayload':_0x14bb7[_0x534f75(0x2de)],'skipUTF8Validation':_0x14bb7[_0x534f75(0x2d9)]});}),_0x14bb7[_0x434231(0x2f3)]?_0x14bb7[_0x434231(0x2f3)](_0x4c6460,_0x20d786):_0x4c6460[_0x434231(0x2f1)]();}function _0x24c258(_0x166877,_0x40e407){const _0x13ab24=_0x3cf05f;_0x166877[_0x13ab24(0x34d)]=_0x18216b[_0x13ab24(0x2f2)],_0x166877['_errorEmitted']=!0x0,_0x166877['emit'](_0x13ab24(0x365),_0x40e407),_0x166877[_0x13ab24(0x2eb)]();}function _0x3d7108(_0x7afd26){const _0x4367ef=_0x3cf05f;return _0x7afd26[_0x4367ef(0x352)]=_0x7afd26[_0x4367ef(0x34b)],_0x176528[_0x4367ef(0x25b)](_0x7afd26);}function _0x27b5a4(_0x4622e1){const _0x2e1305=_0x3cf05f;return _0x4622e1[_0x2e1305(0x352)]=void 0x0,!_0x4622e1[_0x2e1305(0x1f9)]&&_0x4622e1['servername']!==''&&(_0x4622e1['servername']=_0x176528[_0x2e1305(0x335)](_0x4622e1[_0x2e1305(0x334)])?'':_0x4622e1['host']),_0xd9ac83[_0x2e1305(0x25b)](_0x4622e1);}function _0x1f1850(_0x1c3f0b,_0x4c4e94,_0x4a0ca5){const _0x55ec1d=_0x3cf05f;_0x1c3f0b[_0x55ec1d(0x34d)]=_0x18216b['CLOSING'];const _0x186119=new Error(_0x4a0ca5);Error[_0x55ec1d(0x284)](_0x186119,_0x1f1850),_0x4c4e94[_0x55ec1d(0x20d)]?(_0x4c4e94[_0x4b82b1]=!0x0,_0x4c4e94[_0x55ec1d(0x20f)](),_0x4c4e94['socket']&&!_0x4c4e94[_0x55ec1d(0x291)]['destroyed']&&_0x4c4e94[_0x55ec1d(0x291)][_0x55ec1d(0x299)](),process['nextTick'](_0x24c258,_0x1c3f0b,_0x186119)):(_0x4c4e94[_0x55ec1d(0x299)](_0x186119),_0x4c4e94[_0x55ec1d(0x313)](_0x55ec1d(0x365),_0x1c3f0b[_0x55ec1d(0x1dd)][_0x55ec1d(0x1f3)](_0x1c3f0b,_0x55ec1d(0x365))),_0x4c4e94['once'](_0x55ec1d(0x312),_0x1c3f0b[_0x55ec1d(0x2eb)][_0x55ec1d(0x1f3)](_0x1c3f0b)));}function _0x429bae(_0x377d11,_0x23ea24,_0x119f6a){const _0x2c1ff3=_0x3cf05f;if(_0x23ea24){const _0x4dcf25=_0x3926df(_0x23ea24)?_0x23ea24[_0x2c1ff3(0x2c5)]:_0x27aa79(_0x23ea24)[_0x2c1ff3(0x340)];_0x377d11['_socket']?_0x377d11[_0x2c1ff3(0x371)]['_bufferedBytes']+=_0x4dcf25:_0x377d11[_0x2c1ff3(0x262)]+=_0x4dcf25;}if(_0x119f6a){const _0x3c6875=new Error(_0x2c1ff3(0x28b)+_0x377d11[_0x2c1ff3(0x1fa)]+'\x20('+_0x3a02f9[_0x377d11[_0x2c1ff3(0x1fa)]]+')');process[_0x2c1ff3(0x1d4)](_0x119f6a,_0x3c6875);}}function _0x419663(_0xa425ea,_0x311f04){const _0x3c269a=_0x3cf05f,_0x4830dd=this[_0x4cd224];_0x4830dd[_0x3c269a(0x1f0)]=!0x0,_0x4830dd[_0x3c269a(0x1dc)]=_0x311f04,_0x4830dd['_closeCode']=_0xa425ea,_0x4830dd[_0x3c269a(0x212)][_0x4cd224]!==void 0x0&&(_0x4830dd['_socket'][_0x3c269a(0x22c)]('data',_0x288e9f),process['nextTick'](_0x412310,_0x4830dd[_0x3c269a(0x212)]),_0xa425ea===0x3ed?_0x4830dd['close']():_0x4830dd[_0x3c269a(0x312)](_0xa425ea,_0x311f04));}function _0x4dd266(){const _0x4d57e1=_0x3cf05f,_0x56d8a4=this[_0x4cd224];_0x56d8a4[_0x4d57e1(0x1c4)]||_0x56d8a4[_0x4d57e1(0x212)][_0x4d57e1(0x29e)]();}function _0x52be30(_0x3582f1){const _0x4db267=_0x3cf05f,_0x2819bd=this[_0x4cd224];_0x2819bd[_0x4db267(0x212)][_0x4cd224]!==void 0x0&&(_0x2819bd[_0x4db267(0x212)]['removeListener']('data',_0x288e9f),process[_0x4db267(0x1d4)](_0x412310,_0x2819bd[_0x4db267(0x212)]),_0x2819bd[_0x4db267(0x312)](_0x3582f1[_0x3223d3])),_0x2819bd[_0x4db267(0x275)]||(_0x2819bd[_0x4db267(0x275)]=!0x0,_0x2819bd[_0x4db267(0x1dd)](_0x4db267(0x365),_0x3582f1));}function _0x4cddd6(){const _0x4c3924=_0x3cf05f;this[_0x4cd224][_0x4c3924(0x2eb)]();}function _0x4c8c73(_0x92103b,_0x48cc5a){const _0x56fbfa=_0x3cf05f;this[_0x4cd224][_0x56fbfa(0x1dd)]('message',_0x92103b,_0x48cc5a);}function _0x5cea24(_0x1e9a6e){const _0x85c18f=_0x3cf05f,_0x4c2af0=this[_0x4cd224];_0x4c2af0[_0x85c18f(0x302)]&&_0x4c2af0['pong'](_0x1e9a6e,!this[_0x85c18f(0x306)],_0x543d0b),_0x4c2af0[_0x85c18f(0x1dd)]('ping',_0x1e9a6e);}function _0x49a1f0(_0x59fa4f){const _0x5a49f4=_0x3cf05f;this[_0x4cd224]['emit'](_0x5a49f4(0x33b),_0x59fa4f);}function _0x412310(_0x1035be){const _0xe4daf5=_0x3cf05f;_0x1035be[_0xe4daf5(0x29e)]();}function _0x49da50(_0x42fa5c){const _0x276a3b=_0x3cf05f,_0x301c8e=this[_0x4cd224];_0x301c8e['readyState']!==_0x18216b[_0x276a3b(0x314)]&&(_0x301c8e['readyState']===_0x18216b[_0x276a3b(0x30c)]&&(_0x301c8e[_0x276a3b(0x34d)]=_0x18216b[_0x276a3b(0x2f2)],_0x18a365(_0x301c8e)),this[_0x276a3b(0x212)][_0x276a3b(0x2f1)](),_0x301c8e[_0x276a3b(0x275)]||(_0x301c8e[_0x276a3b(0x275)]=!0x0,_0x301c8e['emit'](_0x276a3b(0x365),_0x42fa5c)));}function _0x18a365(_0x1ac5b4){const _0x3fc88f=_0x3cf05f;_0x1ac5b4[_0x3fc88f(0x279)]=setTimeout(_0x1ac5b4[_0x3fc88f(0x212)][_0x3fc88f(0x299)][_0x3fc88f(0x1f3)](_0x1ac5b4[_0x3fc88f(0x212)]),_0x61e2dd);}function _0x3ee582(){const _0x5ee0fb=_0x3cf05f,_0x153528=this[_0x4cd224];this[_0x5ee0fb(0x22c)](_0x5ee0fb(0x312),_0x3ee582),this[_0x5ee0fb(0x22c)](_0x5ee0fb(0x2d8),_0x288e9f),this[_0x5ee0fb(0x22c)](_0x5ee0fb(0x2f1),_0x1b26c4),_0x153528[_0x5ee0fb(0x34d)]=_0x18216b[_0x5ee0fb(0x2f2)];let _0x3a2d1b;!this['_readableState']['endEmitted']&&!_0x153528['_closeFrameReceived']&&!_0x153528[_0x5ee0fb(0x1c6)][_0x5ee0fb(0x35e)][_0x5ee0fb(0x268)]&&(_0x3a2d1b=_0x153528[_0x5ee0fb(0x212)][_0x5ee0fb(0x368)]())!==null&&_0x153528['_receiver']['write'](_0x3a2d1b),_0x153528[_0x5ee0fb(0x1c6)]['end'](),this[_0x4cd224]=void 0x0,clearTimeout(_0x153528[_0x5ee0fb(0x279)]),_0x153528[_0x5ee0fb(0x1c6)][_0x5ee0fb(0x35e)][_0x5ee0fb(0x372)]||_0x153528[_0x5ee0fb(0x1c6)][_0x5ee0fb(0x35e)]['errorEmitted']?_0x153528[_0x5ee0fb(0x2eb)]():(_0x153528[_0x5ee0fb(0x1c6)]['on']('error',_0x4cddd6),_0x153528[_0x5ee0fb(0x1c6)]['on'](_0x5ee0fb(0x2ef),_0x4cddd6));}function _0x288e9f(_0x18113c){const _0x24f8d5=_0x3cf05f;this[_0x4cd224]['_receiver'][_0x24f8d5(0x26f)](_0x18113c)||this[_0x24f8d5(0x216)]();}function _0x1b26c4(){const _0x38c0d4=_0x3cf05f,_0x235eac=this[_0x4cd224];_0x235eac[_0x38c0d4(0x34d)]=_0x18216b[_0x38c0d4(0x2f2)],_0x235eac['_receiver'][_0x38c0d4(0x2f1)](),this['end']();}function _0x192231(){const _0x2ce7d1=_0x3cf05f,_0x2108f0=this[_0x4cd224];this[_0x2ce7d1(0x22c)](_0x2ce7d1(0x365),_0x192231),this['on']('error',_0x543d0b),_0x2108f0&&(_0x2108f0[_0x2ce7d1(0x34d)]=_0x18216b['CLOSING'],this[_0x2ce7d1(0x299)]());}return Oe;}var Mt=ct();const $t=Tt(Mt);var Ce,et;function At(){if(et)return Ce;et=0x1;const {tokenChars:_0x49bf74}=ae();function _0xb06834(_0x30140b){const _0x448489=_0x4f67,_0x448a7d=new Set();let _0x3657ca=-0x1,_0x25c9a1=-0x1,_0x7f9040=0x0;for(_0x7f9040;_0x7f9040<_0x30140b[_0x448489(0x340)];_0x7f9040++){const _0x82cae7=_0x30140b[_0x448489(0x27e)](_0x7f9040);if(_0x25c9a1===-0x1&&_0x49bf74[_0x82cae7]===0x1)_0x3657ca===-0x1&&(_0x3657ca=_0x7f9040);else{if(_0x7f9040!==0x0&&(_0x82cae7===0x20||_0x82cae7===0x9))_0x25c9a1===-0x1&&_0x3657ca!==-0x1&&(_0x25c9a1=_0x7f9040);else{if(_0x82cae7===0x2c){if(_0x3657ca===-0x1)throw new SyntaxError(_0x448489(0x1d7)+_0x7f9040);_0x25c9a1===-0x1&&(_0x25c9a1=_0x7f9040);const _0x50a26f=_0x30140b['slice'](_0x3657ca,_0x25c9a1);if(_0x448a7d[_0x448489(0x1e2)](_0x50a26f))throw new SyntaxError('The\x20\x22'+_0x50a26f+'\x22\x20subprotocol\x20is\x20duplicated');_0x448a7d['add'](_0x50a26f),_0x3657ca=_0x25c9a1=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x7f9040);}}}if(_0x3657ca===-0x1||_0x25c9a1!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x10f3d6=_0x30140b[_0x448489(0x2b5)](_0x3657ca,_0x7f9040);if(_0x448a7d['has'](_0x10f3d6))throw new SyntaxError(_0x448489(0x26d)+_0x10f3d6+_0x448489(0x272));return _0x448a7d[_0x448489(0x282)](_0x10f3d6),_0x448a7d;}return Ce={'parse':_0xb06834},Ce;}var Te,tt;function Ft(){const _0x48f292=_0x4135e6;if(tt)return Te;tt=0x1;const _0x12bb76=it,_0x3b83b0=nt,{Duplex:_0x2d945f}=oe,{createHash:_0x278552}=Le,_0x390401=ft(),_0xddf71a=he(),_0x53e578=At(),_0x38d001=ct(),{GUID:_0x424fe7,kWebSocket:_0x21c61e}=H(),_0x300b24=/^[+/0-9A-Za-z]{22}==$/,_0x1a4e55=0x0,_0x582331=0x1,_0x4bef6c=0x2;class _0x4ed3e8 extends _0x12bb76{constructor(_0x467599,_0x1c3a1d){const _0x5e531a=_0x4f67;if(super(),_0x467599={'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':_0x38d001,..._0x467599},_0x467599[_0x5e531a(0x2b7)]==null&&!_0x467599[_0x5e531a(0x285)]&&!_0x467599[_0x5e531a(0x200)]||_0x467599['port']!=null&&(_0x467599[_0x5e531a(0x285)]||_0x467599[_0x5e531a(0x200)])||_0x467599[_0x5e531a(0x285)]&&_0x467599['noServer'])throw new TypeError(_0x5e531a(0x21f));if(_0x467599[_0x5e531a(0x2b7)]!=null?(this['_server']=_0x3b83b0['createServer']((_0xaa704f,_0x261164)=>{const _0x3e14a5=_0x5e531a,_0x1e26b4=_0x3b83b0[_0x3e14a5(0x31d)][0x1aa];_0x261164[_0x3e14a5(0x29d)](0x1aa,{'Content-Length':_0x1e26b4[_0x3e14a5(0x340)],'Content-Type':'text/plain'}),_0x261164['end'](_0x1e26b4);}),this[_0x5e531a(0x1cb)]['listen'](_0x467599[_0x5e531a(0x2b7)],_0x467599['host'],_0x467599[_0x5e531a(0x2a8)],_0x1c3a1d)):_0x467599[_0x5e531a(0x285)]&&(this['_server']=_0x467599[_0x5e531a(0x285)]),this[_0x5e531a(0x1cb)]){const _0x46b38f=this[_0x5e531a(0x1dd)][_0x5e531a(0x1f3)](this,_0x5e531a(0x370));this[_0x5e531a(0x2e2)]=_0x4dd321(this[_0x5e531a(0x1cb)],{'listening':this[_0x5e531a(0x1dd)][_0x5e531a(0x1f3)](this,_0x5e531a(0x301)),'error':this['emit'][_0x5e531a(0x1f3)](this,_0x5e531a(0x365)),'upgrade':(_0x2456d5,_0xaf7efd,_0x4a260f)=>{const _0x3dd374=_0x5e531a;this[_0x3dd374(0x1c5)](_0x2456d5,_0xaf7efd,_0x4a260f,_0x46b38f);}});}_0x467599[_0x5e531a(0x248)]===!0x0&&(_0x467599[_0x5e531a(0x248)]={}),_0x467599[_0x5e531a(0x280)]&&(this['clients']=new Set(),this[_0x5e531a(0x2b6)]=!0x1),this['options']=_0x467599,this[_0x5e531a(0x323)]=_0x1a4e55;}[_0x48f292(0x34a)](){const _0x1f4ad5=_0x48f292;if(this[_0x1f4ad5(0x256)][_0x1f4ad5(0x200)])throw new Error(_0x1f4ad5(0x22e));return this[_0x1f4ad5(0x1cb)]?this[_0x1f4ad5(0x1cb)][_0x1f4ad5(0x34a)]():null;}[_0x48f292(0x312)](_0x43e006){const _0x5ce847=_0x48f292;if(this[_0x5ce847(0x323)]===_0x4bef6c){_0x43e006&&this['once'](_0x5ce847(0x312),()=>{const _0x18c5d6=_0x5ce847;_0x43e006(new Error(_0x18c5d6(0x1d1)));}),process[_0x5ce847(0x1d4)](_0x408dc6,this);return;}if(_0x43e006&&this[_0x5ce847(0x313)](_0x5ce847(0x312),_0x43e006),this[_0x5ce847(0x323)]!==_0x582331){if(this['_state']=_0x582331,this[_0x5ce847(0x256)]['noServer']||this[_0x5ce847(0x256)][_0x5ce847(0x285)])this[_0x5ce847(0x1cb)]&&(this[_0x5ce847(0x2e2)](),this[_0x5ce847(0x2e2)]=this[_0x5ce847(0x1cb)]=null),this[_0x5ce847(0x215)]?this['clients'][_0x5ce847(0x2c5)]?this[_0x5ce847(0x2b6)]=!0x0:process[_0x5ce847(0x1d4)](_0x408dc6,this):process[_0x5ce847(0x1d4)](_0x408dc6,this);else{const _0x3b8c25=this[_0x5ce847(0x1cb)];this['_removeListeners'](),this[_0x5ce847(0x2e2)]=this[_0x5ce847(0x1cb)]=null,_0x3b8c25[_0x5ce847(0x312)](()=>{_0x408dc6(this);});}}}[_0x48f292(0x2ab)](_0x4b8127){const _0x1138a4=_0x48f292;if(this[_0x1138a4(0x256)][_0x1138a4(0x352)]){const _0x52fa15=_0x4b8127['url'][_0x1138a4(0x2cf)]('?');if((_0x52fa15!==-0x1?_0x4b8127[_0x1138a4(0x220)]['slice'](0x0,_0x52fa15):_0x4b8127[_0x1138a4(0x220)])!==this[_0x1138a4(0x256)]['path'])return!0x1;}return!0x0;}[_0x48f292(0x1c5)](_0x5e8215,_0x42e111,_0x34ad96,_0x1b34f0){const _0x42541f=_0x48f292;_0x42e111['on'](_0x42541f(0x365),_0x2eb267);const _0x30bb46=_0x5e8215[_0x42541f(0x2df)][_0x42541f(0x1c9)],_0x277ab3=_0x5e8215[_0x42541f(0x2df)][_0x42541f(0x34f)],_0x110751=+_0x5e8215[_0x42541f(0x2df)]['sec-websocket-version'];if(_0x5e8215[_0x42541f(0x229)]!=='GET'){_0x330362(this,_0x5e8215,_0x42e111,0x195,_0x42541f(0x35f));return;}if(_0x277ab3===void 0x0||_0x277ab3[_0x42541f(0x32c)]()!=='websocket'){_0x330362(this,_0x5e8215,_0x42e111,0x190,_0x42541f(0x34c));return;}if(_0x30bb46===void 0x0||!_0x300b24[_0x42541f(0x330)](_0x30bb46)){_0x330362(this,_0x5e8215,_0x42e111,0x190,_0x42541f(0x225));return;}if(_0x110751!==0x8&&_0x110751!==0xd){_0x330362(this,_0x5e8215,_0x42e111,0x190,_0x42541f(0x32f));return;}if(!this[_0x42541f(0x2ab)](_0x5e8215)){_0x36f99c(_0x42e111,0x190);return;}const _0x5eaf5c=_0x5e8215[_0x42541f(0x2df)][_0x42541f(0x351)];let _0x3a7d95=new Set();if(_0x5eaf5c!==void 0x0)try{_0x3a7d95=_0x53e578['parse'](_0x5eaf5c);}catch{_0x330362(this,_0x5e8215,_0x42e111,0x190,_0x42541f(0x360));return;}const _0x25f159=_0x5e8215[_0x42541f(0x2df)][_0x42541f(0x300)],_0x4cc9eb={};if(this[_0x42541f(0x256)]['perMessageDeflate']&&_0x25f159!==void 0x0){const _0x562b69=new _0xddf71a(this[_0x42541f(0x256)]['perMessageDeflate'],!0x0,this[_0x42541f(0x256)][_0x42541f(0x2de)]);try{const _0x5328c6=_0x390401['parse'](_0x25f159);_0x5328c6[_0xddf71a[_0x42541f(0x1d8)]]&&(_0x562b69[_0x42541f(0x2d2)](_0x5328c6[_0xddf71a[_0x42541f(0x1d8)]]),_0x4cc9eb[_0xddf71a['extensionName']]=_0x562b69);}catch{_0x330362(this,_0x5e8215,_0x42e111,0x190,_0x42541f(0x21d));return;}}if(this[_0x42541f(0x256)]['verifyClient']){const _0x49026e={'origin':_0x5e8215[_0x42541f(0x2df)][''+(_0x110751===0x8?'sec-websocket-origin':_0x42541f(0x24d))],'secure':!!(_0x5e8215[_0x42541f(0x291)]['authorized']||_0x5e8215[_0x42541f(0x291)][_0x42541f(0x367)]),'req':_0x5e8215};if(this[_0x42541f(0x256)]['verifyClient'][_0x42541f(0x340)]===0x2){this[_0x42541f(0x256)][_0x42541f(0x2cb)](_0x49026e,(_0x14ef68,_0x365f1d,_0x59ad2d,_0x14aa50)=>{const _0x1e0017=_0x42541f;if(!_0x14ef68)return _0x36f99c(_0x42e111,_0x365f1d||0x191,_0x59ad2d,_0x14aa50);this[_0x1e0017(0x364)](_0x4cc9eb,_0x30bb46,_0x3a7d95,_0x5e8215,_0x42e111,_0x34ad96,_0x1b34f0);});return;}if(!this['options'][_0x42541f(0x2cb)](_0x49026e))return _0x36f99c(_0x42e111,0x191);}this[_0x42541f(0x364)](_0x4cc9eb,_0x30bb46,_0x3a7d95,_0x5e8215,_0x42e111,_0x34ad96,_0x1b34f0);}['completeUpgrade'](_0x235bbc,_0x5f2089,_0x1a13a7,_0x150a76,_0x2c5da6,_0x1f201a,_0x147f8c){const _0x3fd140=_0x48f292;if(!_0x2c5da6['readable']||!_0x2c5da6[_0x3fd140(0x2ca)])return _0x2c5da6[_0x3fd140(0x299)]();if(_0x2c5da6[_0x21c61e])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3fd140(0x323)]>_0x1a4e55)return _0x36f99c(_0x2c5da6,0x1f7);const _0x197b75=[_0x3fd140(0x2c2),'Upgrade:\x20websocket',_0x3fd140(0x2e0),_0x3fd140(0x1da)+_0x278552('sha1')[_0x3fd140(0x1ee)](_0x5f2089+_0x424fe7)[_0x3fd140(0x1e0)](_0x3fd140(0x2fe))],_0x5d9052=new this[(_0x3fd140(0x256))][(_0x3fd140(0x25c))](null,void 0x0,this[_0x3fd140(0x256)]);if(_0x1a13a7[_0x3fd140(0x2c5)]){const _0x19b462=this['options']['handleProtocols']?this[_0x3fd140(0x256)][_0x3fd140(0x36d)](_0x1a13a7,_0x150a76):_0x1a13a7[_0x3fd140(0x2da)]()[_0x3fd140(0x36a)]()['value'];_0x19b462&&(_0x197b75['push']('Sec-WebSocket-Protocol:\x20'+_0x19b462),_0x5d9052[_0x3fd140(0x257)]=_0x19b462);}if(_0x235bbc[_0xddf71a[_0x3fd140(0x1d8)]]){const _0x48d589=_0x235bbc[_0xddf71a[_0x3fd140(0x1d8)]][_0x3fd140(0x202)],_0xafa6f=_0x390401['format']({[_0xddf71a['extensionName']]:[_0x48d589]});_0x197b75[_0x3fd140(0x244)](_0x3fd140(0x1ff)+_0xafa6f),_0x5d9052[_0x3fd140(0x233)]=_0x235bbc;}this['emit'](_0x3fd140(0x2df),_0x197b75,_0x150a76),_0x2c5da6[_0x3fd140(0x26f)](_0x197b75[_0x3fd140(0x2a7)]('\x0d\x0a')[_0x3fd140(0x2b1)]('\x0d\x0a')),_0x2c5da6[_0x3fd140(0x22c)](_0x3fd140(0x365),_0x2eb267),_0x5d9052['setSocket'](_0x2c5da6,_0x1f201a,{'allowSynchronousEvents':this[_0x3fd140(0x256)][_0x3fd140(0x28f)],'maxPayload':this[_0x3fd140(0x256)][_0x3fd140(0x2de)],'skipUTF8Validation':this[_0x3fd140(0x256)][_0x3fd140(0x2d9)]}),this[_0x3fd140(0x215)]&&(this[_0x3fd140(0x215)][_0x3fd140(0x282)](_0x5d9052),_0x5d9052['on'](_0x3fd140(0x312),()=>{const _0x1aabd6=_0x3fd140;this[_0x1aabd6(0x215)]['delete'](_0x5d9052),this[_0x1aabd6(0x2b6)]&&!this[_0x1aabd6(0x215)][_0x1aabd6(0x2c5)]&&process[_0x1aabd6(0x1d4)](_0x408dc6,this);})),_0x147f8c(_0x5d9052,_0x150a76);}}Te=_0x4ed3e8;function _0x4dd321(_0x5b8635,_0x58ded5){const _0x579605=_0x48f292;for(const _0xf63d88 of Object[_0x579605(0x341)](_0x58ded5))_0x5b8635['on'](_0xf63d88,_0x58ded5[_0xf63d88]);return function(){const _0x5a1c46=_0x579605;for(const _0xdc960c of Object[_0x5a1c46(0x341)](_0x58ded5))_0x5b8635[_0x5a1c46(0x22c)](_0xdc960c,_0x58ded5[_0xdc960c]);};}function _0x408dc6(_0x5eb0f1){const _0xd8235d=_0x48f292;_0x5eb0f1['_state']=_0x4bef6c,_0x5eb0f1['emit'](_0xd8235d(0x312));}function _0x2eb267(){const _0x316dc6=_0x48f292;this[_0x316dc6(0x299)]();}function _0x36f99c(_0x4aa3ae,_0x59e1e4,_0x380895,_0x59e00c){const _0x18a944=_0x48f292;_0x380895=_0x380895||_0x3b83b0['STATUS_CODES'][_0x59e1e4],_0x59e00c={'Connection':_0x18a944(0x312),'Content-Type':'text/html','Content-Length':Buffer[_0x18a944(0x2a9)](_0x380895),..._0x59e00c},_0x4aa3ae['once'](_0x18a944(0x2ef),_0x4aa3ae[_0x18a944(0x299)]),_0x4aa3ae['end']('HTTP/1.1\x20'+_0x59e1e4+'\x20'+_0x3b83b0[_0x18a944(0x31d)][_0x59e1e4]+'\x0d\x0a'+Object['keys'](_0x59e00c)[_0x18a944(0x234)](_0x209097=>_0x209097+':\x20'+_0x59e00c[_0x209097])['join']('\x0d\x0a')+_0x18a944(0x304)+_0x380895);}function _0x330362(_0x24f624,_0x20c382,_0x561aff,_0x7aee60,_0x3d2cfd){const _0x3b9fad=_0x48f292;if(_0x24f624[_0x3b9fad(0x227)](_0x3b9fad(0x1e7))){const _0x421570=new Error(_0x3d2cfd);Error[_0x3b9fad(0x284)](_0x421570,_0x330362),_0x24f624[_0x3b9fad(0x1dd)]('wsClientError',_0x421570,_0x561aff,_0x20c382);}else _0x36f99c(_0x561aff,_0x7aee60,_0x3d2cfd);}return Te;}Ft();var jt=Object[_0x4135e6(0x30a)],Wt=(_0x4d707e,_0x39985a,_0x21a770,_0x11633f)=>{const _0x114339=_0x4135e6;for(var _0x2ddf73=_0x11633f>0x1?void 0x0:_0x11633f?jt(_0x39985a,_0x21a770):_0x39985a,_0x57ab3c=_0x4d707e[_0x114339(0x340)]-0x1,_0x429508;_0x57ab3c>=0x0;_0x57ab3c--)(_0x429508=_0x4d707e[_0x57ab3c])&&(_0x2ddf73=_0x429508(_0x2ddf73)||_0x2ddf73);return _0x2ddf73;},qt=(_0x260b98,_0x9ac51)=>(_0x19a7c7,_0x488524)=>_0x9ac51(_0x19a7c7,_0x488524,_0x260b98);let ke=class extends A[_0x4135e6(0x326)]{constructor(_0x35f9ea){const _0x2aa1c1=_0x4135e6;super(),this[_0x2aa1c1(0x342)]=_0x35f9ea;}[_0x4135e6(0x237)](_0x2009d3){const _0x451490=_0x4135e6;var _0x1bdf2a;const _0x3c3691=(_0x1bdf2a=this[_0x451490(0x342)][_0x451490(0x322)](fe))==null?void 0x0:_0x1bdf2a[_0x451490(0x2d1)];try{const _0x4f1ac5=new $t(_0x2009d3,{'headers':{..._0x3c3691}}),_0xc5cfc=new A['DisposableCollection']();return{'URL':_0x2009d3,'close':(_0x7b8de6,_0x3be4b0)=>{const _0x3f8bb2=_0x451490;_0x4f1ac5[_0x3f8bb2(0x312)](_0x7b8de6,_0x3be4b0),_0xc5cfc[_0x3f8bb2(0x297)]();},'send':_0x50182f=>{const _0x24195c=_0x451490;_0x4f1ac5[_0x24195c(0x27f)](_0x50182f);},'open$':new V[(_0x451490(0x363))](_0x17a69f=>{const _0x352732=_0x451490,_0x5a7f63=_0x5195ff=>_0x17a69f['next'](_0x5195ff);_0x4f1ac5['addEventListener'](_0x352732(0x223),_0x5a7f63),_0xc5cfc[_0x352732(0x282)](A[_0x352732(0x289)](()=>_0x4f1ac5[_0x352732(0x2b4)](_0x352732(0x223),_0x5a7f63)));})[_0x451490(0x205)](V[_0x451490(0x366)]()),'close$':new V[(_0x451490(0x363))](_0xdb603=>{const _0x5ba363=_0x451490,_0x54ffdc=_0xa47606=>_0xdb603[_0x5ba363(0x36a)](_0xa47606);_0x4f1ac5['addEventListener'](_0x5ba363(0x312),_0x54ffdc),_0xc5cfc[_0x5ba363(0x282)](A[_0x5ba363(0x289)](()=>_0x4f1ac5['removeEventListener'](_0x5ba363(0x312),_0x54ffdc)));})['pipe'](V['share']()),'error$':new V[(_0x451490(0x363))](_0x4bcc47=>{const _0x123e0d=_0x451490,_0x20bf46=_0x26ab08=>_0x4bcc47['next'](_0x26ab08);_0x4f1ac5[_0x123e0d(0x2e4)]('error',_0x20bf46),_0xc5cfc[_0x123e0d(0x282)](A[_0x123e0d(0x289)](()=>_0x4f1ac5[_0x123e0d(0x2b4)](_0x123e0d(0x365),_0x20bf46)));})[_0x451490(0x205)](V[_0x451490(0x366)]()),'message$':new V[(_0x451490(0x363))](_0x49c859=>{const _0xc4afb6=_0x451490,_0xf9c71c=_0x2a7f06=>_0x49c859[_0xc4afb6(0x36a)](_0x2a7f06);_0x4f1ac5[_0xc4afb6(0x2e4)](_0xc4afb6(0x273),_0xf9c71c),_0xc5cfc[_0xc4afb6(0x282)](A['toDisposable'](()=>_0x4f1ac5[_0xc4afb6(0x2b4)]('message',_0xf9c71c)));})[_0x451490(0x205)](V['share']())};}catch(_0x8c984d){return console['error'](_0x8c984d),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x4135e6(0x30a)],Ht=(_0x1b357a,_0x26c489,_0x4c15a3)=>_0x26c489 in _0x1b357a?Gt(_0x1b357a,_0x26c489,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c15a3}):_0x1b357a[_0x26c489]=_0x4c15a3,zt=(_0xfc8c64,_0x44bf6c,_0x1f59c3,_0x14fd00)=>{const _0x9f3325=_0x4135e6;for(var _0x50f2ec=_0x14fd00>0x1?void 0x0:_0x14fd00?Vt(_0x44bf6c,_0x1f59c3):_0x44bf6c,_0x43148b=_0xfc8c64[_0x9f3325(0x340)]-0x1,_0x5171fa;_0x43148b>=0x0;_0x43148b--)(_0x5171fa=_0xfc8c64[_0x43148b])&&(_0x50f2ec=_0x5171fa(_0x50f2ec)||_0x50f2ec);return _0x50f2ec;},Ne=(_0x3254a9,_0xd4506e)=>(_0x3b6f9e,_0x126134)=>_0xd4506e(_0x3b6f9e,_0x126134,_0x3254a9),Yt=(_0x5d62a6,_0x4bd399,_0x4c20ae)=>Ht(_0x5d62a6,_0x4bd399+'',_0x4c20ae);exports[_0x4135e6(0x345)]=class extends A[_0x4135e6(0x374)]{constructor(_0x3518b9=Ct,_0x1977a5,_0x59fef3,_0x286333){const _0x57c4c0=_0x4135e6;_0x3518b9[_0x57c4c0(0x2d1)]||_0x1977a5[_0x57c4c0(0x2cc)](_0x57c4c0(0x245)),super(),this['_configService']=_0x59fef3,this[_0x57c4c0(0x25d)]=_0x286333,this[_0x57c4c0(0x342)]['setConfig'](fe,_0x3518b9);}['onStarting'](){const _0x189e4f=_0x4135e6;this[_0x189e4f(0x251)]();}[_0x4135e6(0x251)](){const _0x3e74d5=_0x4135e6;A[_0x3e74d5(0x25f)](this[_0x3e74d5(0x25d)],[[st['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x4135e6(0x345)],_0x4135e6(0x296),_0x4135e6(0x2d6)),exports[_0x4135e6(0x345)]=zt([A[_0x4135e6(0x26c)](rt[_0x4135e6(0x329)]),Ne(0x1,A[_0x4135e6(0x22b)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x4135e6(0x2b8)](A[_0x4135e6(0x2f4)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x4135e6(0x30a)],Xt=(_0x3e4e7f,_0x259c1a,_0x2fdd9d,_0x3254e8)=>{const _0x386726=_0x4135e6;for(var _0x489a3f=_0x3254e8>0x1?void 0x0:_0x3254e8?Kt(_0x259c1a,_0x2fdd9d):_0x259c1a,_0x22038c=_0x3e4e7f[_0x386726(0x340)]-0x1,_0x40fb99;_0x22038c>=0x0;_0x22038c--)(_0x40fb99=_0x3e4e7f[_0x22038c])&&(_0x489a3f=_0x40fb99(_0x489a3f)||_0x489a3f);return _0x489a3f;},ne=(_0x2630a7,_0x15f118)=>(_0xacabc8,_0x339c64)=>_0x15f118(_0xacabc8,_0x339c64,_0x2630a7);exports[_0x4135e6(0x1d0)]=class extends rt[_0x4135e6(0x222)]{constructor(_0x50abb3,_0x143184,_0x2baa39,_0x7dbc8d,_0x5e41e5){const _0x4dac9a=_0x4135e6;super(_0x50abb3,_0x143184,_0x2baa39,_0x7dbc8d,_0x5e41e5);const _0x25457d=this[_0x4dac9a(0x342)]['getConfig'](fe);this[_0x4dac9a(0x2ad)][_0x4dac9a(0x2b9)]({'interceptor':(_0x1d6ccb,_0x1f9d8f)=>{const _0x12538f=_0x4dac9a;var _0x186495;const _0x59ee04=_0x1d6ccb['headers'];return(_0x186495=_0x25457d==null?void 0x0:_0x25457d[_0x12538f(0x2d1)])!=null&&_0x186495['cookie']&&_0x59ee04[_0x12538f(0x263)]('Cookie',_0x25457d[_0x12538f(0x2d1)][_0x12538f(0x22f)]),_0x1f9d8f(_0x1d6ccb);}});}async[_0x4135e6(0x237)](_0xfe85df){const _0x4ebdf5=_0x4135e6;return this[_0x4ebdf5(0x320)](_0xfe85df);}},exports[_0x4135e6(0x1d0)]=Xt([ne(0x0,A['Inject'](A[_0x4135e6(0x2f4)])),ne(0x1,A[_0x4135e6(0x2b8)](st[_0x4135e6(0x2a5)])),ne(0x2,A[_0x4135e6(0x381)]),ne(0x3,A[_0x4135e6(0x22b)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x4135e6(0x217)]=fe;
1
+ 'use strict';const _0x53714c=_0x2fc9;(function(_0x3c2af6,_0x413138){const _0x2ecb4a=_0x2fc9,_0x2414cf=_0x3c2af6();while(!![]){try{const _0x5abad0=parseInt(_0x2ecb4a(0x16f))/0x1*(parseInt(_0x2ecb4a(0x17a))/0x2)+parseInt(_0x2ecb4a(0x175))/0x3*(-parseInt(_0x2ecb4a(0x231))/0x4)+parseInt(_0x2ecb4a(0x306))/0x5+parseInt(_0x2ecb4a(0x322))/0x6*(parseInt(_0x2ecb4a(0x2cf))/0x7)+parseInt(_0x2ecb4a(0x2c2))/0x8*(-parseInt(_0x2ecb4a(0x29d))/0x9)+-parseInt(_0x2ecb4a(0x27e))/0xa*(-parseInt(_0x2ecb4a(0x2fb))/0xb)+parseInt(_0x2ecb4a(0x318))/0xc;if(_0x5abad0===_0x413138)break;else _0x2414cf['push'](_0x2414cf['shift']());}catch(_0x36dda6){_0x2414cf['push'](_0x2414cf['shift']());}}}(_0x38f8,0x83a41));Object['defineProperty'](exports,Symbol[_0x53714c(0x298)],{'value':'Module'});const rt=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),st=require(_0x53714c(0x320)),V=require(_0x53714c(0x1e7)),oe=require('stream'),vt=require(_0x53714c(0x18d)),St=require('buffer'),Le=require(_0x53714c(0x1f7)),it=require(_0x53714c(0x1ad)),Et=require(_0x53714c(0x1f1)),nt=require(_0x53714c(0x1b9)),xt=require(_0x53714c(0x2cc)),bt=require('tls'),wt=require(_0x53714c(0x198)),Ot=require(_0x53714c(0x315)),fe=_0x53714c(0x264),Ct={'customHeaders':{}};function Tt(_0x2761bf){const _0x252b9f=_0x53714c;return _0x2761bf&&_0x2761bf['__esModule']&&Object[_0x252b9f(0x186)]['hasOwnProperty'][_0x252b9f(0x215)](_0x2761bf,_0x252b9f(0x29f))?_0x2761bf[_0x252b9f(0x29f)]:_0x2761bf;}function ot(_0x585eae){const _0x27ab3c=_0x53714c;if(_0x585eae[_0x27ab3c(0x327)])return _0x585eae;var _0x41a598=_0x585eae[_0x27ab3c(0x29f)];if(typeof _0x41a598==_0x27ab3c(0x1c9)){var _0x4c326a=function _0x1e8785(){const _0x17c833=_0x27ab3c;return this instanceof _0x1e8785?Reflect[_0x17c833(0x28f)](_0x41a598,arguments,this['constructor']):_0x41a598[_0x17c833(0x1dd)](this,arguments);};_0x4c326a[_0x27ab3c(0x186)]=_0x41a598[_0x27ab3c(0x186)];}else _0x4c326a={};return Object[_0x27ab3c(0x2d5)](_0x4c326a,_0x27ab3c(0x327),{'value':!0x0}),Object[_0x27ab3c(0x269)](_0x585eae)['forEach'](function(_0x34a8ad){const _0x5691c7=_0x27ab3c;var _0x2921ef=Object['getOwnPropertyDescriptor'](_0x585eae,_0x34a8ad);Object[_0x5691c7(0x2d5)](_0x4c326a,_0x34a8ad,_0x2921ef[_0x5691c7(0x18b)]?_0x2921ef:{'enumerable':!0x0,'get':function(){return _0x585eae[_0x34a8ad];}});}),_0x4c326a;}var ge,qe;function Nt(){if(qe)return ge;qe=0x1;const {Duplex:_0x43659f}=oe;function _0x190cb9(_0x3d6b35){const _0x51105b=_0x2fc9;_0x3d6b35[_0x51105b(0x234)](_0x51105b(0x286));}function _0x139962(){const _0xe7decc=_0x2fc9;!this[_0xe7decc(0x312)]&&this[_0xe7decc(0x207)][_0xe7decc(0x1de)]&&this[_0xe7decc(0x165)]();}function _0x5f5854(_0x582e2f){const _0x35c589=_0x2fc9;this[_0x35c589(0x252)](_0x35c589(0x166),_0x5f5854),this[_0x35c589(0x165)](),this[_0x35c589(0x209)]('error')===0x0&&this[_0x35c589(0x234)](_0x35c589(0x166),_0x582e2f);}function _0x272897(_0x3d407f,_0x5bfa6a){const _0x236e26=_0x2fc9;let _0x26fa5a=!0x0;const _0x4fa908=new _0x43659f({..._0x5bfa6a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3d407f['on']('message',function(_0x4519d1,_0x541981){const _0x40386e=_0x2fc9,_0x9575ea=!_0x541981&&_0x4fa908[_0x40386e(0x1c4)][_0x40386e(0x2ff)]?_0x4519d1[_0x40386e(0x219)]():_0x4519d1;_0x4fa908['push'](_0x9575ea)||_0x3d407f[_0x40386e(0x2a3)]();}),_0x3d407f[_0x236e26(0x2d6)](_0x236e26(0x166),function(_0x4fca54){const _0x3084c0=_0x236e26;_0x4fa908['destroyed']||(_0x26fa5a=!0x1,_0x4fa908[_0x3084c0(0x165)](_0x4fca54));}),_0x3d407f[_0x236e26(0x2d6)](_0x236e26(0x286),function(){const _0x746ff4=_0x236e26;_0x4fa908[_0x746ff4(0x312)]||_0x4fa908[_0x746ff4(0x1e5)](null);}),_0x4fa908[_0x236e26(0x1e0)]=function(_0x585959,_0x1fb757){const _0x4bac02=_0x236e26;if(_0x3d407f[_0x4bac02(0x263)]===_0x3d407f['CLOSED']){_0x1fb757(_0x585959),process[_0x4bac02(0x255)](_0x190cb9,_0x4fa908);return;}let _0x5d4c16=!0x1;_0x3d407f[_0x4bac02(0x2d6)](_0x4bac02(0x166),function(_0x361398){_0x5d4c16=!0x0,_0x1fb757(_0x361398);}),_0x3d407f[_0x4bac02(0x2d6)](_0x4bac02(0x286),function(){const _0x4fa81b=_0x4bac02;_0x5d4c16||_0x1fb757(_0x585959),process[_0x4fa81b(0x255)](_0x190cb9,_0x4fa908);}),_0x26fa5a&&_0x3d407f['terminate']();},_0x4fa908[_0x236e26(0x314)]=function(_0x9a9363){const _0x3badf8=_0x236e26;if(_0x3d407f[_0x3badf8(0x263)]===_0x3d407f[_0x3badf8(0x1aa)]){_0x3d407f['once'](_0x3badf8(0x290),function(){const _0x20e337=_0x3badf8;_0x4fa908[_0x20e337(0x314)](_0x9a9363);});return;}_0x3d407f['_socket']!==null&&(_0x3d407f[_0x3badf8(0x1d2)][_0x3badf8(0x207)]['finished']?(_0x9a9363(),_0x4fa908[_0x3badf8(0x1c4)][_0x3badf8(0x2a1)]&&_0x4fa908[_0x3badf8(0x165)]()):(_0x3d407f[_0x3badf8(0x1d2)]['once'](_0x3badf8(0x30f),function(){_0x9a9363();}),_0x3d407f['close']()));},_0x4fa908[_0x236e26(0x29a)]=function(){const _0x93926a=_0x236e26;_0x3d407f[_0x93926a(0x2e6)]&&_0x3d407f[_0x93926a(0x2f2)]();},_0x4fa908[_0x236e26(0x17e)]=function(_0xdcea77,_0x1b0622,_0x3614e3){const _0x1888ca=_0x236e26;if(_0x3d407f['readyState']===_0x3d407f['CONNECTING']){_0x3d407f[_0x1888ca(0x2d6)]('open',function(){const _0x4ed7c1=_0x1888ca;_0x4fa908[_0x4ed7c1(0x17e)](_0xdcea77,_0x1b0622,_0x3614e3);});return;}_0x3d407f[_0x1888ca(0x284)](_0xdcea77,_0x3614e3);},_0x4fa908['on'](_0x236e26(0x2dc),_0x139962),_0x4fa908['on'](_0x236e26(0x166),_0x5f5854),_0x4fa908;}return ge=_0x272897,ge;}Nt();var se={'exports':{}},ye,Ge;function H(){const _0x46af0a=_0x53714c;if(Ge)return ye;Ge=0x1;const _0x5be8e9=[_0x46af0a(0x2ed),_0x46af0a(0x1bd),_0x46af0a(0x190)],_0x399d77=typeof Blob<'u';return _0x399d77&&_0x5be8e9[_0x46af0a(0x1e5)]('blob'),ye={'BINARY_TYPES':_0x5be8e9,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x399d77,'kForOnEventAttribute':Symbol(_0x46af0a(0x1a2)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x46af0a(0x26e)),'kWebSocket':Symbol(_0x46af0a(0x206)),'NOOP':()=>{}},ye;}const kt={},Lt=Object[_0x53714c(0x16e)](Object[_0x53714c(0x2d5)]({'__proto__':null,'default':kt},Symbol[_0x53714c(0x298)],{'value':'Module'})),Pt=ot(Lt);function _0x2fc9(_0x8602d9,_0x8ceb9f){const _0x38f8a3=_0x38f8();return _0x2fc9=function(_0x2fc991,_0x4afe54){_0x2fc991=_0x2fc991-0x162;let _0x4ff713=_0x38f8a3[_0x2fc991];return _0x4ff713;},_0x2fc9(_0x8602d9,_0x8ceb9f);}var Ve;function ce(){const _0x6d4cf7=_0x53714c;if(Ve)return se[_0x6d4cf7(0x197)];Ve=0x1;const {EMPTY_BUFFER:_0x3e8693}=H(),_0x3ffcdc=Buffer[Symbol['species']];function _0xc0d7c0(_0x426537,_0x421707){const _0x16a895=_0x6d4cf7;if(_0x426537[_0x16a895(0x27f)]===0x0)return _0x3e8693;if(_0x426537[_0x16a895(0x27f)]===0x1)return _0x426537[0x0];const _0x420222=Buffer[_0x16a895(0x1f4)](_0x421707);let _0x486229=0x0;for(let _0x202659=0x0;_0x202659<_0x426537[_0x16a895(0x27f)];_0x202659++){const _0xdcde79=_0x426537[_0x202659];_0x420222[_0x16a895(0x1d9)](_0xdcde79,_0x486229),_0x486229+=_0xdcde79[_0x16a895(0x27f)];}return _0x486229<_0x421707?new _0x3ffcdc(_0x420222[_0x16a895(0x26f)],_0x420222['byteOffset'],_0x486229):_0x420222;}function _0x4b5d15(_0x1a34a3,_0x33793c,_0x594cf0,_0x24d6f0,_0x2948c2){for(let _0x3eba7d=0x0;_0x3eba7d<_0x2948c2;_0x3eba7d++)_0x594cf0[_0x24d6f0+_0x3eba7d]=_0x1a34a3[_0x3eba7d]^_0x33793c[_0x3eba7d&0x3];}function _0x251fb3(_0x2569ca,_0x38f458){for(let _0x3b75d3=0x0;_0x3b75d3<_0x2569ca['length'];_0x3b75d3++)_0x2569ca[_0x3b75d3]^=_0x38f458[_0x3b75d3&0x3];}function _0x3a89cd(_0x13968){const _0xd625fa=_0x6d4cf7;return _0x13968['length']===_0x13968[_0xd625fa(0x26f)]['byteLength']?_0x13968['buffer']:_0x13968[_0xd625fa(0x26f)][_0xd625fa(0x163)](_0x13968[_0xd625fa(0x1fc)],_0x13968[_0xd625fa(0x1fc)]+_0x13968[_0xd625fa(0x27f)]);}function _0x445400(_0x5ac91a){const _0x374f16=_0x6d4cf7;if(_0x445400[_0x374f16(0x240)]=!0x0,Buffer[_0x374f16(0x2d1)](_0x5ac91a))return _0x5ac91a;let _0xf61421;return _0x5ac91a instanceof ArrayBuffer?_0xf61421=new _0x3ffcdc(_0x5ac91a):ArrayBuffer[_0x374f16(0x2ca)](_0x5ac91a)?_0xf61421=new _0x3ffcdc(_0x5ac91a['buffer'],_0x5ac91a['byteOffset'],_0x5ac91a['byteLength']):(_0xf61421=Buffer['from'](_0x5ac91a),_0x445400['readOnly']=!0x1),_0xf61421;}if(se[_0x6d4cf7(0x197)]={'concat':_0xc0d7c0,'mask':_0x4b5d15,'toArrayBuffer':_0x3a89cd,'toBuffer':_0x445400,'unmask':_0x251fb3},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x4ec32a=Pt;se[_0x6d4cf7(0x197)][_0x6d4cf7(0x319)]=function(_0xcfccc3,_0x49875e,_0x3cc71c,_0x51819a,_0x1ce370){const _0x555e32=_0x6d4cf7;_0x1ce370<0x30?_0x4b5d15(_0xcfccc3,_0x49875e,_0x3cc71c,_0x51819a,_0x1ce370):_0x4ec32a[_0x555e32(0x319)](_0xcfccc3,_0x49875e,_0x3cc71c,_0x51819a,_0x1ce370);},se[_0x6d4cf7(0x197)][_0x6d4cf7(0x1d6)]=function(_0x18e064,_0xa22481){const _0x12ada9=_0x6d4cf7;_0x18e064[_0x12ada9(0x27f)]<0x20?_0x251fb3(_0x18e064,_0xa22481):_0x4ec32a[_0x12ada9(0x1d6)](_0x18e064,_0xa22481);};}catch{}return se[_0x6d4cf7(0x197)];}var ve,He;function Dt(){const _0x3e5555=_0x53714c;if(He)return ve;He=0x1;const _0x912e25=Symbol(_0x3e5555(0x2a6)),_0x137b7f=Symbol(_0x3e5555(0x2a2));class _0x22b057{constructor(_0x2fce93){const _0x23adc2=_0x3e5555;this[_0x912e25]=()=>{const _0x43fb6b=_0x2fc9;this[_0x43fb6b(0x2f8)]--,this[_0x137b7f]();},this[_0x23adc2(0x25a)]=_0x2fce93||0x1/0x0,this[_0x23adc2(0x216)]=[],this[_0x23adc2(0x2f8)]=0x0;}['add'](_0x5b995c){const _0x4d35af=_0x3e5555;this[_0x4d35af(0x216)][_0x4d35af(0x1e5)](_0x5b995c),this[_0x137b7f]();}[_0x137b7f](){const _0x11b180=_0x3e5555;if(this[_0x11b180(0x2f8)]!==this[_0x11b180(0x25a)]&&this['jobs'][_0x11b180(0x27f)]){const _0x277707=this['jobs']['shift']();this[_0x11b180(0x2f8)]++,_0x277707(this[_0x912e25]);}}}return ve=_0x22b057,ve;}var Se,ze;function he(){const _0x1f1b40=_0x53714c;if(ze)return Se;ze=0x1;const _0x45351f=vt,_0x227651=ce(),_0x2d52f1=Dt(),{kStatusCode:_0x3e8880}=H(),_0x135f1=Buffer[Symbol[_0x1f1b40(0x23d)]],_0x2cb4fc=Buffer[_0x1f1b40(0x17f)]([0x0,0x0,0xff,0xff]),_0x59446a=Symbol(_0x1f1b40(0x168)),_0x2ac5df=Symbol(_0x1f1b40(0x333)),_0x4a8123=Symbol('callback'),_0x3bff42=Symbol(_0x1f1b40(0x226)),_0x42d526=Symbol(_0x1f1b40(0x166));let _0x46172b;class _0x50254f{constructor(_0x2ef3f1,_0x224c35,_0x39f9e4){const _0x2a5277=_0x1f1b40;if(this[_0x2a5277(0x20b)]=_0x39f9e4|0x0,this[_0x2a5277(0x28a)]=_0x2ef3f1||{},this[_0x2a5277(0x1db)]=this[_0x2a5277(0x28a)][_0x2a5277(0x183)]!==void 0x0?this[_0x2a5277(0x28a)]['threshold']:0x400,this[_0x2a5277(0x282)]=!!_0x224c35,this['_deflate']=null,this[_0x2a5277(0x2fc)]=null,this[_0x2a5277(0x1e4)]=null,!_0x46172b){const _0xa00a56=this['_options'][_0x2a5277(0x2c8)]!==void 0x0?this[_0x2a5277(0x28a)][_0x2a5277(0x2c8)]:0xa;_0x46172b=new _0x2d52f1(_0xa00a56);}}static get['extensionName'](){const _0x365271=_0x1f1b40;return _0x365271(0x168);}['offer'](){const _0x406dda=_0x1f1b40,_0xb62634={};return this[_0x406dda(0x28a)][_0x406dda(0x32b)]&&(_0xb62634[_0x406dda(0x188)]=!0x0),this[_0x406dda(0x28a)][_0x406dda(0x1f3)]&&(_0xb62634[_0x406dda(0x1ec)]=!0x0),this[_0x406dda(0x28a)][_0x406dda(0x2c6)]&&(_0xb62634[_0x406dda(0x202)]=this['_options']['serverMaxWindowBits']),this['_options'][_0x406dda(0x1f2)]?_0xb62634[_0x406dda(0x2a8)]=this['_options'][_0x406dda(0x1f2)]:this[_0x406dda(0x28a)][_0x406dda(0x1f2)]==null&&(_0xb62634[_0x406dda(0x2a8)]=!0x0),_0xb62634;}[_0x1f1b40(0x227)](_0x3ee6eb){const _0x49d968=_0x1f1b40;return _0x3ee6eb=this['normalizeParams'](_0x3ee6eb),this[_0x49d968(0x1e4)]=this[_0x49d968(0x282)]?this['acceptAsServer'](_0x3ee6eb):this[_0x49d968(0x1d8)](_0x3ee6eb),this['params'];}[_0x1f1b40(0x1df)](){const _0x3e7a33=_0x1f1b40;if(this[_0x3e7a33(0x2fc)]&&(this[_0x3e7a33(0x2fc)][_0x3e7a33(0x286)](),this['_inflate']=null),this[_0x3e7a33(0x23c)]){const _0x1f1177=this[_0x3e7a33(0x23c)][_0x4a8123];this[_0x3e7a33(0x23c)][_0x3e7a33(0x286)](),this[_0x3e7a33(0x23c)]=null,_0x1f1177&&_0x1f1177(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1f1b40(0x229)](_0x2e4a70){const _0x37fd60=_0x1f1b40,_0x55438e=this[_0x37fd60(0x28a)],_0x6c7967=_0x2e4a70[_0x37fd60(0x268)](_0x2476b0=>!(_0x55438e[_0x37fd60(0x32b)]===!0x1&&_0x2476b0[_0x37fd60(0x188)]||_0x2476b0[_0x37fd60(0x202)]&&(_0x55438e[_0x37fd60(0x2c6)]===!0x1||typeof _0x55438e[_0x37fd60(0x2c6)]==_0x37fd60(0x230)&&_0x55438e[_0x37fd60(0x2c6)]>_0x2476b0[_0x37fd60(0x202)])||typeof _0x55438e['clientMaxWindowBits']==_0x37fd60(0x230)&&!_0x2476b0['client_max_window_bits']));if(!_0x6c7967)throw new Error(_0x37fd60(0x1bb));return _0x55438e['serverNoContextTakeover']&&(_0x6c7967['server_no_context_takeover']=!0x0),_0x55438e[_0x37fd60(0x1f3)]&&(_0x6c7967[_0x37fd60(0x1ec)]=!0x0),typeof _0x55438e[_0x37fd60(0x2c6)]==_0x37fd60(0x230)&&(_0x6c7967[_0x37fd60(0x202)]=_0x55438e[_0x37fd60(0x2c6)]),typeof _0x55438e[_0x37fd60(0x1f2)]==_0x37fd60(0x230)?_0x6c7967[_0x37fd60(0x2a8)]=_0x55438e[_0x37fd60(0x1f2)]:(_0x6c7967[_0x37fd60(0x2a8)]===!0x0||_0x55438e[_0x37fd60(0x1f2)]===!0x1)&&delete _0x6c7967['client_max_window_bits'],_0x6c7967;}[_0x1f1b40(0x1d8)](_0x34ac73){const _0x22e7ee=_0x1f1b40,_0x4a9e54=_0x34ac73[0x0];if(this[_0x22e7ee(0x28a)][_0x22e7ee(0x1f3)]===!0x1&&_0x4a9e54[_0x22e7ee(0x1ec)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x4a9e54[_0x22e7ee(0x2a8)])typeof this[_0x22e7ee(0x28a)][_0x22e7ee(0x1f2)]=='number'&&(_0x4a9e54[_0x22e7ee(0x2a8)]=this[_0x22e7ee(0x28a)]['clientMaxWindowBits']);else{if(this[_0x22e7ee(0x28a)]['clientMaxWindowBits']===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x22e7ee(0x230)&&_0x4a9e54['client_max_window_bits']>this['_options'][_0x22e7ee(0x1f2)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4a9e54;}[_0x1f1b40(0x2f4)](_0x5063de){const _0x1d87b3=_0x1f1b40;return _0x5063de[_0x1d87b3(0x20f)](_0x2034b1=>{const _0x3a2709=_0x1d87b3;Object['keys'](_0x2034b1)[_0x3a2709(0x20f)](_0x1369f4=>{const _0x1313ab=_0x3a2709;let _0x3ad41a=_0x2034b1[_0x1369f4];if(_0x3ad41a[_0x1313ab(0x27f)]>0x1)throw new Error(_0x1313ab(0x266)+_0x1369f4+_0x1313ab(0x2f0));if(_0x3ad41a=_0x3ad41a[0x0],_0x1369f4===_0x1313ab(0x2a8)){if(_0x3ad41a!==!0x0){const _0x5355fe=+_0x3ad41a;if(!Number[_0x1313ab(0x2ad)](_0x5355fe)||_0x5355fe<0x8||_0x5355fe>0xf)throw new TypeError(_0x1313ab(0x22d)+_0x1369f4+'\x22:\x20'+_0x3ad41a);_0x3ad41a=_0x5355fe;}else{if(!this[_0x1313ab(0x282)])throw new TypeError(_0x1313ab(0x22d)+_0x1369f4+_0x1313ab(0x2aa)+_0x3ad41a);}}else{if(_0x1369f4===_0x1313ab(0x202)){const _0x533daf=+_0x3ad41a;if(!Number['isInteger'](_0x533daf)||_0x533daf<0x8||_0x533daf>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1369f4+_0x1313ab(0x2aa)+_0x3ad41a);_0x3ad41a=_0x533daf;}else{if(_0x1369f4===_0x1313ab(0x1ec)||_0x1369f4==='server_no_context_takeover'){if(_0x3ad41a!==!0x0)throw new TypeError(_0x1313ab(0x22d)+_0x1369f4+_0x1313ab(0x2aa)+_0x3ad41a);}else throw new Error(_0x1313ab(0x176)+_0x1369f4+'\x22');}}_0x2034b1[_0x1369f4]=_0x3ad41a;});}),_0x5063de;}['decompress'](_0x2c6b8a,_0x2b0462,_0x42934d){const _0x3317b7=_0x1f1b40;_0x46172b[_0x3317b7(0x1b4)](_0x2115b4=>{this['_decompress'](_0x2c6b8a,_0x2b0462,(_0x1e79e7,_0x2a4faf)=>{_0x2115b4(),_0x42934d(_0x1e79e7,_0x2a4faf);});});}[_0x1f1b40(0x18a)](_0x4e6105,_0x4bc408,_0x4f46b0){const _0x3f3e7b=_0x1f1b40;_0x46172b[_0x3f3e7b(0x1b4)](_0x5ab64c=>{const _0x1310a1=_0x3f3e7b;this[_0x1310a1(0x2a5)](_0x4e6105,_0x4bc408,(_0x27261a,_0x3a3f64)=>{_0x5ab64c(),_0x4f46b0(_0x27261a,_0x3a3f64);});});}[_0x1f1b40(0x2d9)](_0x368308,_0x3ccd29,_0x517805){const _0x39d7be=_0x1f1b40,_0x584c48=this[_0x39d7be(0x282)]?'client':_0x39d7be(0x2b0);if(!this[_0x39d7be(0x2fc)]){const _0x1a79b3=_0x584c48+'_max_window_bits',_0x3eee89=typeof this['params'][_0x1a79b3]!=_0x39d7be(0x230)?_0x45351f[_0x39d7be(0x1ca)]:this[_0x39d7be(0x1e4)][_0x1a79b3];this['_inflate']=_0x45351f[_0x39d7be(0x195)]({...this[_0x39d7be(0x28a)][_0x39d7be(0x2de)],'windowBits':_0x3eee89}),this[_0x39d7be(0x2fc)][_0x59446a]=this,this['_inflate'][_0x2ac5df]=0x0,this[_0x39d7be(0x2fc)][_0x3bff42]=[],this['_inflate']['on']('error',_0x55c276),this['_inflate']['on'](_0x39d7be(0x2c1),_0x4c2206);}this[_0x39d7be(0x2fc)][_0x4a8123]=_0x517805,this['_inflate'][_0x39d7be(0x213)](_0x368308),_0x3ccd29&&this[_0x39d7be(0x2fc)]['write'](_0x2cb4fc),this[_0x39d7be(0x2fc)][_0x39d7be(0x279)](()=>{const _0xcd06e3=_0x39d7be,_0x2af8fb=this['_inflate'][_0x42d526];if(_0x2af8fb){this[_0xcd06e3(0x2fc)][_0xcd06e3(0x286)](),this['_inflate']=null,_0x517805(_0x2af8fb);return;}const _0x19076b=_0x227651[_0xcd06e3(0x295)](this[_0xcd06e3(0x2fc)][_0x3bff42],this['_inflate'][_0x2ac5df]);this['_inflate'][_0xcd06e3(0x1c4)][_0xcd06e3(0x2a1)]?(this['_inflate']['close'](),this[_0xcd06e3(0x2fc)]=null):(this[_0xcd06e3(0x2fc)][_0x2ac5df]=0x0,this[_0xcd06e3(0x2fc)][_0x3bff42]=[],_0x3ccd29&&this[_0xcd06e3(0x1e4)][_0x584c48+'_no_context_takeover']&&this[_0xcd06e3(0x2fc)][_0xcd06e3(0x267)]()),_0x517805(null,_0x19076b);});}[_0x1f1b40(0x2a5)](_0x46d12b,_0x4caf7d,_0x224ebc){const _0x44ccf4=_0x1f1b40,_0x1dc98f=this[_0x44ccf4(0x282)]?_0x44ccf4(0x2b0):_0x44ccf4(0x222);if(!this['_deflate']){const _0x51174c=_0x1dc98f+_0x44ccf4(0x337),_0x598a2c=typeof this[_0x44ccf4(0x1e4)][_0x51174c]!=_0x44ccf4(0x230)?_0x45351f[_0x44ccf4(0x1ca)]:this[_0x44ccf4(0x1e4)][_0x51174c];this[_0x44ccf4(0x23c)]=_0x45351f[_0x44ccf4(0x1b5)]({...this[_0x44ccf4(0x28a)]['zlibDeflateOptions'],'windowBits':_0x598a2c}),this['_deflate'][_0x2ac5df]=0x0,this[_0x44ccf4(0x23c)][_0x3bff42]=[],this[_0x44ccf4(0x23c)]['on']('data',_0x134a45);}this['_deflate'][_0x4a8123]=_0x224ebc,this[_0x44ccf4(0x23c)][_0x44ccf4(0x213)](_0x46d12b),this[_0x44ccf4(0x23c)][_0x44ccf4(0x279)](_0x45351f[_0x44ccf4(0x277)],()=>{const _0x22b6d7=_0x44ccf4;if(!this['_deflate'])return;let _0x2bd16b=_0x227651[_0x22b6d7(0x295)](this[_0x22b6d7(0x23c)][_0x3bff42],this[_0x22b6d7(0x23c)][_0x2ac5df]);_0x4caf7d&&(_0x2bd16b=new _0x135f1(_0x2bd16b[_0x22b6d7(0x26f)],_0x2bd16b[_0x22b6d7(0x1fc)],_0x2bd16b['length']-0x4)),this['_deflate'][_0x4a8123]=null,this[_0x22b6d7(0x23c)][_0x2ac5df]=0x0,this[_0x22b6d7(0x23c)][_0x3bff42]=[],_0x4caf7d&&this[_0x22b6d7(0x1e4)][_0x1dc98f+_0x22b6d7(0x2ac)]&&this['_deflate'][_0x22b6d7(0x267)](),_0x224ebc(null,_0x2bd16b);});}}Se=_0x50254f;function _0x134a45(_0x2a34f7){const _0x227b5c=_0x1f1b40;this[_0x3bff42][_0x227b5c(0x1e5)](_0x2a34f7),this[_0x2ac5df]+=_0x2a34f7[_0x227b5c(0x27f)];}function _0x4c2206(_0x3055d7){const _0x1d62f6=_0x1f1b40;if(this[_0x2ac5df]+=_0x3055d7['length'],this[_0x59446a]['_maxPayload']<0x1||this[_0x2ac5df]<=this[_0x59446a][_0x1d62f6(0x20b)]){this[_0x3bff42][_0x1d62f6(0x1e5)](_0x3055d7);return;}this[_0x42d526]=new RangeError(_0x1d62f6(0x191)),this[_0x42d526][_0x1d62f6(0x2ee)]=_0x1d62f6(0x324),this[_0x42d526][_0x3e8880]=0x3f1,this['removeListener'](_0x1d62f6(0x2c1),_0x4c2206),this[_0x1d62f6(0x267)]();}function _0x55c276(_0x475130){const _0x5d6a60=_0x1f1b40;this[_0x59446a][_0x5d6a60(0x2fc)]=null,_0x475130[_0x3e8880]=0x3ef,this[_0x4a8123](_0x475130);}return Se;}var ie={'exports':{}};const Rt={},Bt=Object['freeze'](Object[_0x53714c(0x2d5)]({'__proto__':null,'default':Rt},Symbol[_0x53714c(0x298)],{'value':_0x53714c(0x2a9)})),It=ot(Bt);var Ye;function ae(){const _0x2a714f=_0x53714c;if(Ye)return ie[_0x2a714f(0x197)];Ye=0x1;const {isUtf8:_0x2644d6}=St,{hasBlob:_0x1b85a4}=H(),_0x964cd=[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 _0x4a22d3(_0x5a8801){return _0x5a8801>=0x3e8&&_0x5a8801<=0x3f6&&_0x5a8801!==0x3ec&&_0x5a8801!==0x3ed&&_0x5a8801!==0x3ee||_0x5a8801>=0xbb8&&_0x5a8801<=0x1387;}function _0x2d7573(_0x562734){const _0x22c57d=_0x2a714f,_0x292438=_0x562734[_0x22c57d(0x27f)];let _0x1228da=0x0;for(;_0x1228da<_0x292438;)if(!(_0x562734[_0x1228da]&0x80))_0x1228da++;else{if((_0x562734[_0x1228da]&0xe0)===0xc0){if(_0x1228da+0x1===_0x292438||(_0x562734[_0x1228da+0x1]&0xc0)!==0x80||(_0x562734[_0x1228da]&0xfe)===0xc0)return!0x1;_0x1228da+=0x2;}else{if((_0x562734[_0x1228da]&0xf0)===0xe0){if(_0x1228da+0x2>=_0x292438||(_0x562734[_0x1228da+0x1]&0xc0)!==0x80||(_0x562734[_0x1228da+0x2]&0xc0)!==0x80||_0x562734[_0x1228da]===0xe0&&(_0x562734[_0x1228da+0x1]&0xe0)===0x80||_0x562734[_0x1228da]===0xed&&(_0x562734[_0x1228da+0x1]&0xe0)===0xa0)return!0x1;_0x1228da+=0x3;}else{if((_0x562734[_0x1228da]&0xf8)===0xf0){if(_0x1228da+0x3>=_0x292438||(_0x562734[_0x1228da+0x1]&0xc0)!==0x80||(_0x562734[_0x1228da+0x2]&0xc0)!==0x80||(_0x562734[_0x1228da+0x3]&0xc0)!==0x80||_0x562734[_0x1228da]===0xf0&&(_0x562734[_0x1228da+0x1]&0xf0)===0x80||_0x562734[_0x1228da]===0xf4&&_0x562734[_0x1228da+0x1]>0x8f||_0x562734[_0x1228da]>0xf4)return!0x1;_0x1228da+=0x4;}else return!0x1;}}}return!0x0;}function _0x32a608(_0x464045){const _0x3ed62b=_0x2a714f;return _0x1b85a4&&typeof _0x464045=='object'&&typeof _0x464045[_0x3ed62b(0x1ed)]==_0x3ed62b(0x1c9)&&typeof _0x464045['type']=='string'&&typeof _0x464045[_0x3ed62b(0x304)]=='function'&&(_0x464045[Symbol[_0x3ed62b(0x298)]]===_0x3ed62b(0x20a)||_0x464045[Symbol['toStringTag']]===_0x3ed62b(0x259));}if(ie[_0x2a714f(0x197)]={'isBlob':_0x32a608,'isValidStatusCode':_0x4a22d3,'isValidUTF8':_0x2d7573,'tokenChars':_0x964cd},_0x2644d6)ie[_0x2a714f(0x197)][_0x2a714f(0x261)]=function(_0x412097){const _0x4409c2=_0x2a714f;return _0x412097[_0x4409c2(0x27f)]<0x18?_0x2d7573(_0x412097):_0x2644d6(_0x412097);};else{if(!process[_0x2a714f(0x2b8)][_0x2a714f(0x1b3)])try{const _0x152b1c=It;ie[_0x2a714f(0x197)]['isValidUTF8']=function(_0x4bf262){const _0x51ccc7=_0x2a714f;return _0x4bf262[_0x51ccc7(0x27f)]<0x20?_0x2d7573(_0x4bf262):_0x152b1c(_0x4bf262);};}catch{}}return ie[_0x2a714f(0x197)];}var Ee,Ke;function _0x38f8(){const _0x34ceb4=['isServer','listenerCount','Blob','_maxPayload','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','MASK\x20must\x20be\x20clear','_generateMask','forEach','_fin','bind','CLOSING','write','digest','call','jobs','The\x20URL\x20contains\x20a\x20fragment\x20identifier','authorization','toString','CollaborationSocketService','wasClean','base64','_receiver','_autoPong','_configService','emitClose','Basic\x20','client','GET','FIN\x20must\x20be\x20set','opcode','buffers','accept','catch','acceptAsServer','sec-websocket-protocol','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_closeMessage','Invalid\x20value\x20for\x20parameter\x20\x22','setConfig','handleUpgrade','number','28aywEys','MASK\x20must\x20be\x20set','extensionName','emit','options','getConfig','HTTPService','readUInt32BE','Sec-WebSocket-Extensions:\x20','unexpected-response','share','_deflate','species','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','readOnly','Disposable','The\x20\x22','alloc','drain','kByteLength','toDisposable','toLowerCase','timeout','Sec-WebSocket-Origin','request','isArray','NodeCollaborationSocketService','wsClientError','map','maxRedirects','Unexpected\x20server\x20response:\x20','shouldHandle','removeListener','maskBuffer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','nextTick','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','\x22\x20subprotocol\x20is\x20duplicated','HTTP/1.1\x20101\x20Switching\x20Protocols','File','concurrency','getInfo','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','invalid\x20UTF-8\x20sequence','Connection:\x20Upgrade','ping','captureStackTrace','isValidUTF8','sendFrame','readyState','collaboration-client-node.config','socketPath','Parameter\x20\x22','reset','find','keys','Invalid\x20WebSocket\x20frame:\x20','Invalid\x20Upgrade\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','createConnection','status-code','buffer','addEventListener','consume','Plugin','next','sec-websocket-origin','pipe','WS_ERR_INVALID_UTF8','Z_SYNC_FLUSH','bufferedAmount','flush','_allowSynchronousEvents','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getPayloadLength16','auth','10PQYJpn','length','writable','getMask','_isServer','abort','send','sec-websocket-extensions','close','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kAborted','_state','_options','replace','_skipUTF8Validation','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','https:','construct','open','setHeader','Upgrade','DependentOn','onmessage','concat','ws+unix:','_injector','toStringTag','reason','_read','binaryType','extensions','171tkorTu','kError','default','Inject','endEmitted','kRun','pause','CLOSED','_compress','kDone','removeAllListeners','client_max_window_bits','Module','\x22:\x20','verifyClient','_no_context_takeover','isInteger','update','invalid\x20opcode\x200','server','string','authorized','clients','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_errored','_httpService','_binaryType','env','_registerDependencies','_bufferedBytes','_protocol','onStarting','listeners','_doCreateSocket','sec-websocket-key','Invalid\x20Sec-WebSocket-Extensions\x20header','data','388984tkLkfR','WS_ERR_INVALID_OPCODE','HTTP/1.1\x20','object','serverMaxWindowBits','upgrade','concurrencyLimit','_buffers','isView','_compressed','net','controlMessage','removeEventListener','14UraZga','errorEmitted','isBuffer','username','fin','size','defineProperty','once','createError','_maskBuffer','_decompress','kReason','_redirects','end','_fragments','zlibInflateOptions','WS_ERR_INVALID_CLOSE_CODE','setTimeout','text/plain','kType','kData','WS_ERR_UNEXPECTED_RSV_2_3','allowSynchronousEvents','isPaused','has','handshakeTimeout','Invalid\x20Sec-WebSocket-Accept\x20header','startsWith','_extensions','search','nodebuffer','code','onopen','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20URL\x27s\x20pathname\x20is\x20empty','resume','_opcode','normalizeParams','path','hostname','_server','pending','\x0d\x0a\x0d\x0a','wss:','8516695WIRNSM','_inflate','_messageLength','completeUpgrade','objectMode','headers','sha1','byteLength','Observable','stream','_queue','2876305OuLgAM','_closeFrameSent','Invalid\x20HTTP\x20method','haveLength','_shouldEmitClose','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','createServer','WS_ERR_UNEXPECTED_RSV_1','finish','maxPayload','handleProtocols','destroyed','cookie','_final','@univerjs-pro/collaboration','frame','Server\x20sent\x20an\x20invalid\x20subprotocol','464016JaVEkd','mask','Sec-WebSocket-Accept:\x20','finishRequest','writeUInt16BE','customHeaders','_firstFragment','terminate','@univerjs/network','invalid\x20status\x20code\x20','1508586gBZihs','IConfigService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','COLLABORATION_CLIENT_NODE_CONFIG_KEY','invalid\x20opcode\x20','__esModule','indexOf','_req','ILogService','serverNoContextTakeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','defaultPort','protocol','_totalPayloadLength','message','OPEN','split','total-length','_loop','registerHTTPInterceptor','getBlobData','_max_window_bits','WS_ERR_EXPECTED_FIN','needDrain','decompress','slice','getOwnPropertyDescriptor','destroy','error','followRedirects','permessage-deflate','perMessageDeflate','Sec-WebSocket-Protocol:\x20','ISocketService','href','readUInt16BE','freeze','2XtehrW','\x20(supported\x20versions:\x20','setSocket','_originalHostOrSocketPath','STATUS_CODES','createSocket','448824VzwiXu','Unknown\x20parameter\x20\x22','pathname','_url','_originalSecure','619258QwGynO','_mask','Upgrade:\x20websocket','readable','_write','from','Origin','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','writeUIntBE','threshold','listening','offer','prototype','_closeFrameReceived','server_no_context_takeover','join','compress','get','dataMessage','zlib','charCodeAt','_bufferedAmount','fragments','Max\x20payload\x20size\x20exceeded','ISnapshotServerService','origin','pluginName','createInflateRaw','RSV1\x20must\x20be\x20clear','exports','url','location','_removeListeners','_sender','getData','ws:','noServer','The\x20server\x20is\x20not\x20running','warn','uncork','kIsForOnEventAttribute','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','port','password','then','sec-websocket-version','dispatch','CONNECTING','value','pong','events','address','Server\x20sent\x20no\x20subprotocol','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','_originalIpc','create','WS_NO_UTF_8_VALIDATE','add','createDeflateRaw','Unsupported\x20protocol\x20version:\x20','onerror','WebSocket\x20is\x20not\x20open:\x20readyState\x20','http','WebSocket','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_errorEmitted','arraybuffer','type','includes','getPayloadLength64','setNoDelay','binary','kMessage','_readableState','Invalid\x20URL:\x20','parse','shift','Sec-WebSocket-Protocol','function','Z_DEFAULT_WINDOWBITS','hash','test','_paused','UniverCollaborationClientNodePlugin','skipUTF8Validation','Unexpected\x20end\x20of\x20input','blob','_socket','_masked','conclude','_payloadLength','unmask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','acceptAsClient','set','_readyState','_threshold','_closeTimer','apply','finished','cleanup','_destroy','pow','WS_ERR_EXPECTED_MASK','method','params','push','dequeue','rxjs','generateMask','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','socket','cork','client_no_context_takeover','arrayBuffer','_closeCode','Sec-WebSocket-Extensions','startLoop','https','clientMaxWindowBits','clientNoContextTakeover','allocUnsafe','handleEvent','Unexpected\x20character\x20at\x20index\x20','crypto','isIP','protocolVersion','encrypted','host','byteOffset','response','kCode','servername','connection','_fragmented','server_max_window_bits','delete','enqueue','connect','websocket','_writableState'];_0x38f8=function(){return _0x34ceb4;};return _0x38f8();}function at(){const _0x103567=_0x53714c;if(Ke)return Ee;Ke=0x1;const {Writable:_0x1b7f6b}=oe,_0x25ea0d=he(),{BINARY_TYPES:_0xb51bd,EMPTY_BUFFER:_0x521f26,kStatusCode:_0x2e8b38,kWebSocket:_0x3b37d8}=H(),{concat:_0x1903f8,toArrayBuffer:_0x2a6257,unmask:_0x3b438a}=ce(),{isValidStatusCode:_0xdfcb68,isValidUTF8:_0x44fa61}=ae(),_0x5507d0=Buffer[Symbol['species']],_0x4ab7db=0x0,_0x4054d8=0x1,_0x823e0=0x2,_0x2ff2cf=0x3,_0x5e0577=0x4,_0x3306ad=0x5,_0x53e058=0x6;class _0x356c15 extends _0x1b7f6b{constructor(_0x582c56={}){const _0x506ed0=_0x2fc9;super(),this[_0x506ed0(0x27a)]=_0x582c56[_0x506ed0(0x2e5)]!==void 0x0?_0x582c56[_0x506ed0(0x2e5)]:!0x0,this[_0x506ed0(0x2b7)]=_0x582c56[_0x506ed0(0x29b)]||_0xb51bd[0x0],this[_0x506ed0(0x2eb)]=_0x582c56['extensions']||{},this[_0x506ed0(0x282)]=!!_0x582c56[_0x506ed0(0x208)],this['_maxPayload']=_0x582c56[_0x506ed0(0x310)]|0x0,this[_0x506ed0(0x28c)]=!!_0x582c56['skipUTF8Validation'],this[_0x3b37d8]=void 0x0,this[_0x506ed0(0x2ba)]=0x0,this[_0x506ed0(0x2c9)]=[],this[_0x506ed0(0x2cb)]=!0x1,this[_0x506ed0(0x1d5)]=0x0,this[_0x506ed0(0x17b)]=void 0x0,this[_0x506ed0(0x201)]=0x0,this[_0x506ed0(0x1d3)]=!0x1,this[_0x506ed0(0x210)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x506ed0(0x2fd)]=0x0,this[_0x506ed0(0x2dd)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x4ab7db;}[_0x103567(0x17e)](_0x3a12d6,_0x3f5fbc,_0x1e061f){const _0x41f285=_0x103567;if(this[_0x41f285(0x2f3)]===0x8&&this[_0x41f285(0x289)]==_0x4ab7db)return _0x1e061f();this['_bufferedBytes']+=_0x3a12d6['length'],this['_buffers'][_0x41f285(0x1e5)](_0x3a12d6),this[_0x41f285(0x1f0)](_0x1e061f);}[_0x103567(0x271)](_0x2c041b){const _0x23fc42=_0x103567;if(this[_0x23fc42(0x2ba)]-=_0x2c041b,_0x2c041b===this[_0x23fc42(0x2c9)][0x0][_0x23fc42(0x27f)])return this[_0x23fc42(0x2c9)][_0x23fc42(0x1c7)]();if(_0x2c041b<this['_buffers'][0x0][_0x23fc42(0x27f)]){const _0x599552=this[_0x23fc42(0x2c9)][0x0];return this[_0x23fc42(0x2c9)][0x0]=new _0x5507d0(_0x599552[_0x23fc42(0x26f)],_0x599552[_0x23fc42(0x1fc)]+_0x2c041b,_0x599552[_0x23fc42(0x27f)]-_0x2c041b),new _0x5507d0(_0x599552[_0x23fc42(0x26f)],_0x599552['byteOffset'],_0x2c041b);}const _0x4acfd9=Buffer[_0x23fc42(0x1f4)](_0x2c041b);do{const _0x69eb23=this[_0x23fc42(0x2c9)][0x0],_0x7bb4e6=_0x4acfd9[_0x23fc42(0x27f)]-_0x2c041b;_0x2c041b>=_0x69eb23['length']?_0x4acfd9[_0x23fc42(0x1d9)](this['_buffers']['shift'](),_0x7bb4e6):(_0x4acfd9[_0x23fc42(0x1d9)](new Uint8Array(_0x69eb23[_0x23fc42(0x26f)],_0x69eb23['byteOffset'],_0x2c041b),_0x7bb4e6),this[_0x23fc42(0x2c9)][0x0]=new _0x5507d0(_0x69eb23['buffer'],_0x69eb23[_0x23fc42(0x1fc)]+_0x2c041b,_0x69eb23['length']-_0x2c041b)),_0x2c041b-=_0x69eb23[_0x23fc42(0x27f)];}while(_0x2c041b>0x0);return _0x4acfd9;}[_0x103567(0x1f0)](_0x4d72e8){const _0x4f3da3=_0x103567;this[_0x4f3da3(0x334)]=!0x0;do switch(this[_0x4f3da3(0x289)]){case _0x4ab7db:this['getInfo'](_0x4d72e8);break;case _0x4054d8:this[_0x4f3da3(0x27c)](_0x4d72e8);break;case _0x823e0:this[_0x4f3da3(0x1c0)](_0x4d72e8);break;case _0x2ff2cf:this[_0x4f3da3(0x281)]();break;case _0x5e0577:this[_0x4f3da3(0x19c)](_0x4d72e8);break;case _0x3306ad:case _0x53e058:this[_0x4f3da3(0x334)]=!0x1;return;}while(this[_0x4f3da3(0x334)]);this[_0x4f3da3(0x2b5)]||_0x4d72e8();}[_0x103567(0x25b)](_0x19afee){const _0x13329b=_0x103567;if(this['_bufferedBytes']<0x2){this[_0x13329b(0x334)]=!0x1;return;}const _0x18695a=this['consume'](0x2);if(_0x18695a[0x0]&0x30){const _0x3ed42d=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x30b),!0x0,0x3ea,_0x13329b(0x2e4));_0x19afee(_0x3ed42d);return;}const _0x491af5=(_0x18695a[0x0]&0x40)===0x40;if(_0x491af5&&!this[_0x13329b(0x2eb)][_0x25ea0d[_0x13329b(0x233)]]){const _0x322c8a=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x196),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x19afee(_0x322c8a);return;}if(this[_0x13329b(0x210)]=(_0x18695a[0x0]&0x80)===0x80,this[_0x13329b(0x2f3)]=_0x18695a[0x0]&0xf,this[_0x13329b(0x1d5)]=_0x18695a[0x1]&0x7f,this[_0x13329b(0x2f3)]===0x0){if(_0x491af5){const _0x353180=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x13329b(0x30e));_0x19afee(_0x353180);return;}if(!this[_0x13329b(0x201)]){const _0x3a53c6=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x2af),!0x0,0x3ea,_0x13329b(0x2c3));_0x19afee(_0x3a53c6);return;}this[_0x13329b(0x2f3)]=this[_0x13329b(0x201)];}else{if(this[_0x13329b(0x2f3)]===0x1||this[_0x13329b(0x2f3)]===0x2){if(this[_0x13329b(0x201)]){const _0x65cf8c=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x326)+this[_0x13329b(0x2f3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x19afee(_0x65cf8c);return;}this['_compressed']=_0x491af5;}else{if(this['_opcode']>0x7&&this[_0x13329b(0x2f3)]<0xb){if(!this[_0x13329b(0x210)]){const _0x4ed665=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x224),!0x0,0x3ea,_0x13329b(0x338));_0x19afee(_0x4ed665);return;}if(_0x491af5){const _0x307f7a=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x19afee(_0x307f7a);return;}if(this[_0x13329b(0x1d5)]>0x7d||this[_0x13329b(0x2f3)]===0x8&&this[_0x13329b(0x1d5)]===0x1){const _0x3a4fb1=this[_0x13329b(0x2d7)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x13329b(0x1d5)],!0x0,0x3ea,_0x13329b(0x181));_0x19afee(_0x3a4fb1);return;}}else{const _0x3b7895=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x326)+this[_0x13329b(0x2f3)],!0x0,0x3ea,_0x13329b(0x2c3));_0x19afee(_0x3b7895);return;}}}if(!this[_0x13329b(0x210)]&&!this[_0x13329b(0x201)]&&(this[_0x13329b(0x201)]=this[_0x13329b(0x2f3)]),this[_0x13329b(0x1d3)]=(_0x18695a[0x1]&0x80)===0x80,this[_0x13329b(0x282)]){if(!this[_0x13329b(0x1d3)]){const _0x349276=this[_0x13329b(0x2d7)](RangeError,_0x13329b(0x232),!0x0,0x3ea,_0x13329b(0x1e2));_0x19afee(_0x349276);return;}}else{if(this['_masked']){const _0x50e29f=this['createError'](RangeError,_0x13329b(0x20d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x19afee(_0x50e29f);return;}}this[_0x13329b(0x1d5)]===0x7e?this[_0x13329b(0x289)]=_0x4054d8:this['_payloadLength']===0x7f?this[_0x13329b(0x289)]=_0x823e0:this['haveLength'](_0x19afee);}['getPayloadLength16'](_0x1fd735){const _0x3c8dd6=_0x103567;if(this[_0x3c8dd6(0x2ba)]<0x2){this[_0x3c8dd6(0x334)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x3c8dd6(0x16d)](0x0),this['haveLength'](_0x1fd735);}[_0x103567(0x1c0)](_0x5e324e){const _0x36838=_0x103567;if(this[_0x36838(0x2ba)]<0x8){this[_0x36838(0x334)]=!0x1;return;}const _0x28eeda=this[_0x36838(0x271)](0x8),_0x51c3a1=_0x28eeda[_0x36838(0x238)](0x0);if(_0x51c3a1>Math[_0x36838(0x1e1)](0x2,0x15)-0x1){const _0x21e615=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x36838(0x23e));_0x5e324e(_0x21e615);return;}this[_0x36838(0x1d5)]=_0x51c3a1*Math[_0x36838(0x1e1)](0x2,0x20)+_0x28eeda[_0x36838(0x238)](0x4),this[_0x36838(0x309)](_0x5e324e);}['haveLength'](_0xb37c0e){const _0x3d04dd=_0x103567;if(this[_0x3d04dd(0x1d5)]&&this[_0x3d04dd(0x2f3)]<0x8&&(this[_0x3d04dd(0x32f)]+=this[_0x3d04dd(0x1d5)],this[_0x3d04dd(0x32f)]>this[_0x3d04dd(0x20b)]&&this[_0x3d04dd(0x20b)]>0x0)){const _0x15a399=this['createError'](RangeError,_0x3d04dd(0x191),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xb37c0e(_0x15a399);return;}this[_0x3d04dd(0x1d3)]?this['_state']=_0x2ff2cf:this[_0x3d04dd(0x289)]=_0x5e0577;}[_0x103567(0x281)](){const _0x8c4478=_0x103567;if(this[_0x8c4478(0x2ba)]<0x4){this[_0x8c4478(0x334)]=!0x1;return;}this[_0x8c4478(0x17b)]=this['consume'](0x4),this['_state']=_0x5e0577;}[_0x103567(0x19c)](_0xba09dc){const _0x5ede22=_0x103567;let _0x5f3d2a=_0x521f26;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x5ede22(0x1d5)]){this[_0x5ede22(0x334)]=!0x1;return;}_0x5f3d2a=this['consume'](this['_payloadLength']),this[_0x5ede22(0x1d3)]&&this[_0x5ede22(0x17b)][0x0]|this[_0x5ede22(0x17b)][0x1]|this[_0x5ede22(0x17b)][0x2]|this[_0x5ede22(0x17b)][0x3]&&_0x3b438a(_0x5f3d2a,this[_0x5ede22(0x17b)]);}if(this[_0x5ede22(0x2f3)]>0x7){this[_0x5ede22(0x2cd)](_0x5f3d2a,_0xba09dc);return;}if(this['_compressed']){this[_0x5ede22(0x289)]=_0x3306ad,this[_0x5ede22(0x162)](_0x5f3d2a,_0xba09dc);return;}_0x5f3d2a[_0x5ede22(0x27f)]&&(this[_0x5ede22(0x2fd)]=this['_totalPayloadLength'],this['_fragments'][_0x5ede22(0x1e5)](_0x5f3d2a)),this['dataMessage'](_0xba09dc);}[_0x103567(0x162)](_0x2294f9,_0x4d8ce6){const _0x13edc2=_0x103567;this['_extensions'][_0x25ea0d[_0x13edc2(0x233)]][_0x13edc2(0x162)](_0x2294f9,this[_0x13edc2(0x210)],(_0x3926e1,_0x1d2f08)=>{const _0x8d604a=_0x13edc2;if(_0x3926e1)return _0x4d8ce6(_0x3926e1);if(_0x1d2f08[_0x8d604a(0x27f)]){if(this['_messageLength']+=_0x1d2f08['length'],this[_0x8d604a(0x2fd)]>this['_maxPayload']&&this[_0x8d604a(0x20b)]>0x0){const _0x471b7a=this[_0x8d604a(0x2d7)](RangeError,_0x8d604a(0x191),!0x1,0x3f1,_0x8d604a(0x324));_0x4d8ce6(_0x471b7a);return;}this['_fragments'][_0x8d604a(0x1e5)](_0x1d2f08);}this['dataMessage'](_0x4d8ce6),this[_0x8d604a(0x289)]===_0x4ab7db&&this[_0x8d604a(0x1f0)](_0x4d8ce6);});}[_0x103567(0x18c)](_0x53ff70){const _0x220866=_0x103567;if(!this['_fin']){this['_state']=_0x4ab7db;return;}const _0x440e45=this[_0x220866(0x2fd)],_0x29f645=this[_0x220866(0x2dd)];if(this[_0x220866(0x32f)]=0x0,this[_0x220866(0x2fd)]=0x0,this[_0x220866(0x201)]=0x0,this[_0x220866(0x2dd)]=[],this[_0x220866(0x2f3)]===0x2){let _0x1817bd;this[_0x220866(0x2b7)]===_0x220866(0x2ed)?_0x1817bd=_0x1903f8(_0x29f645,_0x440e45):this[_0x220866(0x2b7)]===_0x220866(0x1bd)?_0x1817bd=_0x2a6257(_0x1903f8(_0x29f645,_0x440e45)):this[_0x220866(0x2b7)]===_0x220866(0x1d1)?_0x1817bd=new Blob(_0x29f645):_0x1817bd=_0x29f645,this[_0x220866(0x27a)]?(this[_0x220866(0x234)](_0x220866(0x330),_0x1817bd,!0x0),this[_0x220866(0x289)]=_0x4ab7db):(this[_0x220866(0x289)]=_0x53e058,setImmediate(()=>{const _0x1ded9d=_0x220866;this['emit']('message',_0x1817bd,!0x0),this[_0x1ded9d(0x289)]=_0x4ab7db,this[_0x1ded9d(0x1f0)](_0x53ff70);}));}else{const _0x1b86b8=_0x1903f8(_0x29f645,_0x440e45);if(!this[_0x220866(0x28c)]&&!_0x44fa61(_0x1b86b8)){const _0xb0cff8=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x220866(0x276));_0x53ff70(_0xb0cff8);return;}this[_0x220866(0x289)]===_0x3306ad||this[_0x220866(0x27a)]?(this['emit'](_0x220866(0x330),_0x1b86b8,!0x1),this[_0x220866(0x289)]=_0x4ab7db):(this['_state']=_0x53e058,setImmediate(()=>{const _0x4c80a7=_0x220866;this[_0x4c80a7(0x234)]('message',_0x1b86b8,!0x1),this[_0x4c80a7(0x289)]=_0x4ab7db,this[_0x4c80a7(0x1f0)](_0x53ff70);}));}}[_0x103567(0x2cd)](_0x49d391,_0xcdd6c6){const _0x485353=_0x103567;if(this[_0x485353(0x2f3)]===0x8){if(_0x49d391[_0x485353(0x27f)]===0x0)this[_0x485353(0x334)]=!0x1,this[_0x485353(0x234)](_0x485353(0x1d4),0x3ed,_0x521f26),this[_0x485353(0x2dc)]();else{const _0x1151f1=_0x49d391[_0x485353(0x16d)](0x0);if(!_0xdfcb68(_0x1151f1)){const _0x40c2e9=this[_0x485353(0x2d7)](RangeError,_0x485353(0x321)+_0x1151f1,!0x0,0x3ea,_0x485353(0x2df));_0xcdd6c6(_0x40c2e9);return;}const _0x240c59=new _0x5507d0(_0x49d391[_0x485353(0x26f)],_0x49d391[_0x485353(0x1fc)]+0x2,_0x49d391['length']-0x2);if(!this[_0x485353(0x28c)]&&!_0x44fa61(_0x240c59)){const _0x29ce81=this[_0x485353(0x2d7)](Error,_0x485353(0x25d),!0x0,0x3ef,_0x485353(0x276));_0xcdd6c6(_0x29ce81);return;}this[_0x485353(0x334)]=!0x1,this[_0x485353(0x234)]('conclude',_0x1151f1,_0x240c59),this['end']();}this[_0x485353(0x289)]=_0x4ab7db;return;}this['_allowSynchronousEvents']?(this[_0x485353(0x234)](this[_0x485353(0x2f3)]===0x9?_0x485353(0x25f):_0x485353(0x1ac),_0x49d391),this[_0x485353(0x289)]=_0x4ab7db):(this[_0x485353(0x289)]=_0x53e058,setImmediate(()=>{const _0x2ddd80=_0x485353;this[_0x2ddd80(0x234)](this[_0x2ddd80(0x2f3)]===0x9?'ping':'pong',_0x49d391),this['_state']=_0x4ab7db,this[_0x2ddd80(0x1f0)](_0xcdd6c6);}));}[_0x103567(0x2d7)](_0x485a99,_0x3e31b7,_0x5f4bb7,_0x2973e2,_0x48a591){const _0x33a251=_0x103567;this[_0x33a251(0x334)]=!0x1,this[_0x33a251(0x2b5)]=!0x0;const _0x3876ab=new _0x485a99(_0x5f4bb7?_0x33a251(0x26a)+_0x3e31b7:_0x3e31b7);return Error[_0x33a251(0x260)](_0x3876ab,this['createError']),_0x3876ab[_0x33a251(0x2ee)]=_0x48a591,_0x3876ab[_0x2e8b38]=_0x2973e2,_0x3876ab;}}return Ee=_0x356c15,Ee;}at();var xe,Xe;function lt(){const _0x1af3a5=_0x53714c;if(Xe)return xe;Xe=0x1;const {Duplex:_0x1ac5a5}=oe,{randomFillSync:_0x4c48f6}=Le,_0x9cb39d=he(),{EMPTY_BUFFER:_0x4fb830,kWebSocket:_0x401d39,NOOP:_0x2f1fea}=H(),{isBlob:_0x352255,isValidStatusCode:_0x32e79e}=ae(),{mask:_0x2c0359,toBuffer:_0x46aa30}=ce(),_0x5cce44=Symbol(_0x1af3a5(0x245)),_0x2f00de=Buffer[_0x1af3a5(0x243)](0x4),_0xd69817=0x8*0x400;let _0x11c8b8,_0x44cec9=_0xd69817;const _0x4d616f=0x0,_0x19dba6=0x1,_0x5d59af=0x2;class _0x341c00{constructor(_0x160a8e,_0x26b228,_0x3d4bea){const _0xb5cb8a=_0x1af3a5;this['_extensions']=_0x26b228||{},_0x3d4bea&&(this[_0xb5cb8a(0x20e)]=_0x3d4bea,this[_0xb5cb8a(0x2d8)]=Buffer[_0xb5cb8a(0x243)](0x4)),this['_socket']=_0x160a8e,this[_0xb5cb8a(0x31e)]=!0x0,this[_0xb5cb8a(0x2a5)]=!0x1,this[_0xb5cb8a(0x2ba)]=0x0,this[_0xb5cb8a(0x305)]=[],this[_0xb5cb8a(0x289)]=_0x4d616f,this[_0xb5cb8a(0x1b7)]=_0x2f1fea,this[_0x401d39]=void 0x0;}static[_0x1af3a5(0x316)](_0x1c7282,_0x13e4f1){const _0x477266=_0x1af3a5;let _0x47caa3,_0x11ebd=!0x1,_0xe7594=0x2,_0xfa204a=!0x1;_0x13e4f1[_0x477266(0x319)]&&(_0x47caa3=_0x13e4f1[_0x477266(0x253)]||_0x2f00de,_0x13e4f1[_0x477266(0x1e8)]?_0x13e4f1[_0x477266(0x1e8)](_0x47caa3):(_0x44cec9===_0xd69817&&(_0x11c8b8===void 0x0&&(_0x11c8b8=Buffer[_0x477266(0x243)](_0xd69817)),_0x4c48f6(_0x11c8b8,0x0,_0xd69817),_0x44cec9=0x0),_0x47caa3[0x0]=_0x11c8b8[_0x44cec9++],_0x47caa3[0x1]=_0x11c8b8[_0x44cec9++],_0x47caa3[0x2]=_0x11c8b8[_0x44cec9++],_0x47caa3[0x3]=_0x11c8b8[_0x44cec9++]),_0xfa204a=(_0x47caa3[0x0]|_0x47caa3[0x1]|_0x47caa3[0x2]|_0x47caa3[0x3])===0x0,_0xe7594=0x6);let _0x5a0fc0;typeof _0x1c7282==_0x477266(0x2b1)?(!_0x13e4f1['mask']||_0xfa204a)&&_0x13e4f1[_0x5cce44]!==void 0x0?_0x5a0fc0=_0x13e4f1[_0x5cce44]:(_0x1c7282=Buffer[_0x477266(0x17f)](_0x1c7282),_0x5a0fc0=_0x1c7282[_0x477266(0x27f)]):(_0x5a0fc0=_0x1c7282['length'],_0x11ebd=_0x13e4f1[_0x477266(0x319)]&&_0x13e4f1[_0x477266(0x240)]&&!_0xfa204a);let _0x229096=_0x5a0fc0;_0x5a0fc0>=0x10000?(_0xe7594+=0x8,_0x229096=0x7f):_0x5a0fc0>0x7d&&(_0xe7594+=0x2,_0x229096=0x7e);const _0x5168be=Buffer['allocUnsafe'](_0x11ebd?_0x5a0fc0+_0xe7594:_0xe7594);return _0x5168be[0x0]=_0x13e4f1[_0x477266(0x2d3)]?_0x13e4f1[_0x477266(0x225)]|0x80:_0x13e4f1[_0x477266(0x225)],_0x13e4f1['rsv1']&&(_0x5168be[0x0]|=0x40),_0x5168be[0x1]=_0x229096,_0x229096===0x7e?_0x5168be[_0x477266(0x31c)](_0x5a0fc0,0x2):_0x229096===0x7f&&(_0x5168be[0x2]=_0x5168be[0x3]=0x0,_0x5168be[_0x477266(0x182)](_0x5a0fc0,0x4,0x6)),_0x13e4f1[_0x477266(0x319)]?(_0x5168be[0x1]|=0x80,_0x5168be[_0xe7594-0x4]=_0x47caa3[0x0],_0x5168be[_0xe7594-0x3]=_0x47caa3[0x1],_0x5168be[_0xe7594-0x2]=_0x47caa3[0x2],_0x5168be[_0xe7594-0x1]=_0x47caa3[0x3],_0xfa204a?[_0x5168be,_0x1c7282]:_0x11ebd?(_0x2c0359(_0x1c7282,_0x47caa3,_0x5168be,_0xe7594,_0x5a0fc0),[_0x5168be]):(_0x2c0359(_0x1c7282,_0x47caa3,_0x1c7282,0x0,_0x5a0fc0),[_0x5168be,_0x1c7282])):[_0x5168be,_0x1c7282];}[_0x1af3a5(0x286)](_0x1d39fb,_0x4f2b8f,_0x30b9b7,_0xba3780){const _0x1253d4=_0x1af3a5;let _0x36fea8;if(_0x1d39fb===void 0x0)_0x36fea8=_0x4fb830;else{if(typeof _0x1d39fb!=_0x1253d4(0x230)||!_0x32e79e(_0x1d39fb))throw new TypeError(_0x1253d4(0x254));if(_0x4f2b8f===void 0x0||!_0x4f2b8f[_0x1253d4(0x27f)])_0x36fea8=Buffer[_0x1253d4(0x1f4)](0x2),_0x36fea8[_0x1253d4(0x31c)](_0x1d39fb,0x0);else{const _0x39855c=Buffer[_0x1253d4(0x302)](_0x4f2b8f);if(_0x39855c>0x7b)throw new RangeError(_0x1253d4(0x27b));_0x36fea8=Buffer[_0x1253d4(0x1f4)](0x2+_0x39855c),_0x36fea8[_0x1253d4(0x31c)](_0x1d39fb,0x0),typeof _0x4f2b8f==_0x1253d4(0x2b1)?_0x36fea8[_0x1253d4(0x213)](_0x4f2b8f,0x2):_0x36fea8['set'](_0x4f2b8f,0x2);}}const _0x2a7ea1={[_0x5cce44]:_0x36fea8[_0x1253d4(0x27f)],'fin':!0x0,'generateMask':this[_0x1253d4(0x20e)],'mask':_0x30b9b7,'maskBuffer':this[_0x1253d4(0x2d8)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1253d4(0x289)]!==_0x4d616f?this['enqueue']([this[_0x1253d4(0x1a9)],_0x36fea8,!0x1,_0x2a7ea1,_0xba3780]):this[_0x1253d4(0x262)](_0x341c00[_0x1253d4(0x316)](_0x36fea8,_0x2a7ea1),_0xba3780);}[_0x1af3a5(0x25f)](_0x32e4bc,_0x5ae97a,_0x16973a){const _0x5022f9=_0x1af3a5;let _0x397cb1,_0x41bc2f;if(typeof _0x32e4bc==_0x5022f9(0x2b1)?(_0x397cb1=Buffer[_0x5022f9(0x302)](_0x32e4bc),_0x41bc2f=!0x1):_0x352255(_0x32e4bc)?(_0x397cb1=_0x32e4bc[_0x5022f9(0x2d4)],_0x41bc2f=!0x1):(_0x32e4bc=_0x46aa30(_0x32e4bc),_0x397cb1=_0x32e4bc[_0x5022f9(0x27f)],_0x41bc2f=_0x46aa30[_0x5022f9(0x240)]),_0x397cb1>0x7d)throw new RangeError(_0x5022f9(0x23f));const _0x2637e6={[_0x5cce44]:_0x397cb1,'fin':!0x0,'generateMask':this[_0x5022f9(0x20e)],'mask':_0x5ae97a,'maskBuffer':this[_0x5022f9(0x2d8)],'opcode':0x9,'readOnly':_0x41bc2f,'rsv1':!0x1};_0x352255(_0x32e4bc)?this[_0x5022f9(0x289)]!==_0x4d616f?this[_0x5022f9(0x204)]([this['getBlobData'],_0x32e4bc,!0x1,_0x2637e6,_0x16973a]):this[_0x5022f9(0x336)](_0x32e4bc,!0x1,_0x2637e6,_0x16973a):this['_state']!==_0x4d616f?this[_0x5022f9(0x204)]([this[_0x5022f9(0x1a9)],_0x32e4bc,!0x1,_0x2637e6,_0x16973a]):this['sendFrame'](_0x341c00['frame'](_0x32e4bc,_0x2637e6),_0x16973a);}[_0x1af3a5(0x1ac)](_0x24b63f,_0x17ee32,_0x3dc3cc){const _0x24a965=_0x1af3a5;let _0xe9b255,_0xb62ce0;if(typeof _0x24b63f==_0x24a965(0x2b1)?(_0xe9b255=Buffer[_0x24a965(0x302)](_0x24b63f),_0xb62ce0=!0x1):_0x352255(_0x24b63f)?(_0xe9b255=_0x24b63f[_0x24a965(0x2d4)],_0xb62ce0=!0x1):(_0x24b63f=_0x46aa30(_0x24b63f),_0xe9b255=_0x24b63f[_0x24a965(0x27f)],_0xb62ce0=_0x46aa30[_0x24a965(0x240)]),_0xe9b255>0x7d)throw new RangeError(_0x24a965(0x23f));const _0x21512e={[_0x5cce44]:_0xe9b255,'fin':!0x0,'generateMask':this[_0x24a965(0x20e)],'mask':_0x17ee32,'maskBuffer':this[_0x24a965(0x2d8)],'opcode':0xa,'readOnly':_0xb62ce0,'rsv1':!0x1};_0x352255(_0x24b63f)?this[_0x24a965(0x289)]!==_0x4d616f?this['enqueue']([this[_0x24a965(0x336)],_0x24b63f,!0x1,_0x21512e,_0x3dc3cc]):this[_0x24a965(0x336)](_0x24b63f,!0x1,_0x21512e,_0x3dc3cc):this[_0x24a965(0x289)]!==_0x4d616f?this['enqueue']([this[_0x24a965(0x1a9)],_0x24b63f,!0x1,_0x21512e,_0x3dc3cc]):this[_0x24a965(0x262)](_0x341c00[_0x24a965(0x316)](_0x24b63f,_0x21512e),_0x3dc3cc);}['send'](_0x2f6459,_0x301180,_0x3e7e09){const _0x101d2b=_0x1af3a5,_0x4fe667=this[_0x101d2b(0x2eb)][_0x9cb39d[_0x101d2b(0x233)]];let _0x5738af=_0x301180[_0x101d2b(0x1c2)]?0x2:0x1,_0x57eb78=_0x301180[_0x101d2b(0x18a)],_0x1065d3,_0x1d024b;typeof _0x2f6459=='string'?(_0x1065d3=Buffer['byteLength'](_0x2f6459),_0x1d024b=!0x1):_0x352255(_0x2f6459)?(_0x1065d3=_0x2f6459[_0x101d2b(0x2d4)],_0x1d024b=!0x1):(_0x2f6459=_0x46aa30(_0x2f6459),_0x1065d3=_0x2f6459[_0x101d2b(0x27f)],_0x1d024b=_0x46aa30[_0x101d2b(0x240)]),this[_0x101d2b(0x31e)]?(this[_0x101d2b(0x31e)]=!0x1,_0x57eb78&&_0x4fe667&&_0x4fe667[_0x101d2b(0x1e4)][_0x4fe667[_0x101d2b(0x282)]?'server_no_context_takeover':_0x101d2b(0x1ec)]&&(_0x57eb78=_0x1065d3>=_0x4fe667[_0x101d2b(0x1db)]),this[_0x101d2b(0x2a5)]=_0x57eb78):(_0x57eb78=!0x1,_0x5738af=0x0),_0x301180[_0x101d2b(0x2d3)]&&(this[_0x101d2b(0x31e)]=!0x0);const _0xd5197={[_0x5cce44]:_0x1065d3,'fin':_0x301180['fin'],'generateMask':this['_generateMask'],'mask':_0x301180[_0x101d2b(0x319)],'maskBuffer':this[_0x101d2b(0x2d8)],'opcode':_0x5738af,'readOnly':_0x1d024b,'rsv1':_0x57eb78};_0x352255(_0x2f6459)?this['_state']!==_0x4d616f?this['enqueue']([this['getBlobData'],_0x2f6459,this['_compress'],_0xd5197,_0x3e7e09]):this[_0x101d2b(0x336)](_0x2f6459,this[_0x101d2b(0x2a5)],_0xd5197,_0x3e7e09):this[_0x101d2b(0x289)]!==_0x4d616f?this['enqueue']([this[_0x101d2b(0x1a9)],_0x2f6459,this['_compress'],_0xd5197,_0x3e7e09]):this[_0x101d2b(0x1a9)](_0x2f6459,this[_0x101d2b(0x2a5)],_0xd5197,_0x3e7e09);}['getBlobData'](_0x31656,_0x59f40b,_0x31e19f,_0x2463c6){const _0x72a337=_0x1af3a5;this[_0x72a337(0x2ba)]+=_0x31e19f[_0x5cce44],this[_0x72a337(0x289)]=_0x5d59af,_0x31656[_0x72a337(0x1ed)]()[_0x72a337(0x1a7)](_0x4d9c77=>{const _0x3fe1c1=_0x72a337;if(this['_socket'][_0x3fe1c1(0x312)]){const _0x5bd606=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x3fe1c1(0x255)](_0xe5234e,this,_0x5bd606,_0x2463c6);return;}this[_0x3fe1c1(0x2ba)]-=_0x31e19f[_0x5cce44];const _0x533782=_0x46aa30(_0x4d9c77);_0x59f40b?this['dispatch'](_0x533782,_0x59f40b,_0x31e19f,_0x2463c6):(this['_state']=_0x4d616f,this[_0x3fe1c1(0x262)](_0x341c00['frame'](_0x533782,_0x31e19f),_0x2463c6),this[_0x3fe1c1(0x1e6)]());})[_0x72a337(0x228)](_0x52ff26=>{const _0x4e9536=_0x72a337;process[_0x4e9536(0x255)](_0x2b7be5,this,_0x52ff26,_0x2463c6);});}[_0x1af3a5(0x1a9)](_0x30758c,_0x37c80e,_0x1fe74e,_0x16e39a){const _0xef4b9a=_0x1af3a5;if(!_0x37c80e){this[_0xef4b9a(0x262)](_0x341c00[_0xef4b9a(0x316)](_0x30758c,_0x1fe74e),_0x16e39a);return;}const _0xaddf02=this[_0xef4b9a(0x2eb)][_0x9cb39d[_0xef4b9a(0x233)]];this[_0xef4b9a(0x2ba)]+=_0x1fe74e[_0x5cce44],this['_state']=_0x19dba6,_0xaddf02[_0xef4b9a(0x18a)](_0x30758c,_0x1fe74e[_0xef4b9a(0x2d3)],(_0x1a6dd0,_0x2c90e7)=>{const _0x12be68=_0xef4b9a;if(this[_0x12be68(0x1d2)][_0x12be68(0x312)]){const _0x1113ae=new Error(_0x12be68(0x20c));_0xe5234e(this,_0x1113ae,_0x16e39a);return;}this['_bufferedBytes']-=_0x1fe74e[_0x5cce44],this[_0x12be68(0x289)]=_0x4d616f,_0x1fe74e[_0x12be68(0x240)]=!0x1,this['sendFrame'](_0x341c00[_0x12be68(0x316)](_0x2c90e7,_0x1fe74e),_0x16e39a),this['dequeue']();});}[_0x1af3a5(0x1e6)](){const _0x51310b=_0x1af3a5;for(;this[_0x51310b(0x289)]===_0x4d616f&&this[_0x51310b(0x305)][_0x51310b(0x27f)];){const _0x12466d=this[_0x51310b(0x305)]['shift']();this[_0x51310b(0x2ba)]-=_0x12466d[0x3][_0x5cce44],Reflect[_0x51310b(0x1dd)](_0x12466d[0x0],this,_0x12466d[_0x51310b(0x163)](0x1));}}[_0x1af3a5(0x204)](_0x33cdaf){const _0x458dd8=_0x1af3a5;this['_bufferedBytes']+=_0x33cdaf[0x3][_0x5cce44],this['_queue'][_0x458dd8(0x1e5)](_0x33cdaf);}[_0x1af3a5(0x262)](_0x4672f5,_0x1394d4){const _0x5ec758=_0x1af3a5;_0x4672f5[_0x5ec758(0x27f)]===0x2?(this[_0x5ec758(0x1d2)][_0x5ec758(0x1eb)](),this[_0x5ec758(0x1d2)]['write'](_0x4672f5[0x0]),this[_0x5ec758(0x1d2)][_0x5ec758(0x213)](_0x4672f5[0x1],_0x1394d4),this['_socket'][_0x5ec758(0x1a1)]()):this[_0x5ec758(0x1d2)]['write'](_0x4672f5[0x0],_0x1394d4);}}xe=_0x341c00;function _0xe5234e(_0x556791,_0x57b3be,_0xa54b83){const _0x473a04=_0x1af3a5;typeof _0xa54b83=='function'&&_0xa54b83(_0x57b3be);for(let _0x1eb648=0x0;_0x1eb648<_0x556791[_0x473a04(0x305)][_0x473a04(0x27f)];_0x1eb648++){const _0x2cca13=_0x556791[_0x473a04(0x305)][_0x1eb648],_0x33e144=_0x2cca13[_0x2cca13[_0x473a04(0x27f)]-0x1];typeof _0x33e144==_0x473a04(0x1c9)&&_0x33e144(_0x57b3be);}}function _0x2b7be5(_0x46173,_0x32aad7,_0xab1524){const _0x4488cd=_0x1af3a5;_0xe5234e(_0x46173,_0x32aad7,_0xab1524),_0x46173[_0x4488cd(0x1b7)](_0x32aad7);}return xe;}lt();var be,Ze;function Ut(){const _0x316b05=_0x53714c;if(Ze)return be;Ze=0x1;const {kForOnEventAttribute:_0xa095b5,kListener:_0x457795}=H(),_0x599322=Symbol(_0x316b05(0x1fe)),_0x97aa55=Symbol(_0x316b05(0x2e3)),_0x36ddf1=Symbol(_0x316b05(0x29e)),_0x101a23=Symbol(_0x316b05(0x1c3)),_0x1681be=Symbol(_0x316b05(0x2da)),_0xe5b265=Symbol('kTarget'),_0x28a38e=Symbol(_0x316b05(0x2e2)),_0x1ee6ca=Symbol('kWasClean');class _0x55d415{constructor(_0x47818e){this[_0xe5b265]=null,this[_0x28a38e]=_0x47818e;}get['target'](){return this[_0xe5b265];}get[_0x316b05(0x1be)](){return this[_0x28a38e];}}Object[_0x316b05(0x2d5)](_0x55d415[_0x316b05(0x186)],'target',{'enumerable':!0x0}),Object[_0x316b05(0x2d5)](_0x55d415[_0x316b05(0x186)],_0x316b05(0x1be),{'enumerable':!0x0});class _0x4f7e62 extends _0x55d415{constructor(_0x25eed7,_0x2a2939={}){const _0x1d331c=_0x316b05;super(_0x25eed7),this[_0x599322]=_0x2a2939['code']===void 0x0?0x0:_0x2a2939['code'],this[_0x1681be]=_0x2a2939['reason']===void 0x0?'':_0x2a2939['reason'],this[_0x1ee6ca]=_0x2a2939[_0x1d331c(0x21b)]===void 0x0?!0x1:_0x2a2939[_0x1d331c(0x21b)];}get[_0x316b05(0x2ee)](){return this[_0x599322];}get[_0x316b05(0x299)](){return this[_0x1681be];}get[_0x316b05(0x21b)](){return this[_0x1ee6ca];}}Object[_0x316b05(0x2d5)](_0x4f7e62[_0x316b05(0x186)],_0x316b05(0x2ee),{'enumerable':!0x0}),Object[_0x316b05(0x2d5)](_0x4f7e62['prototype'],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x4f7e62['prototype'],_0x316b05(0x21b),{'enumerable':!0x0});class _0x303138 extends _0x55d415{constructor(_0x3afab2,_0x304d4f={}){const _0x14ecde=_0x316b05;super(_0x3afab2),this[_0x36ddf1]=_0x304d4f[_0x14ecde(0x166)]===void 0x0?null:_0x304d4f[_0x14ecde(0x166)],this[_0x101a23]=_0x304d4f[_0x14ecde(0x330)]===void 0x0?'':_0x304d4f[_0x14ecde(0x330)];}get[_0x316b05(0x166)](){return this[_0x36ddf1];}get[_0x316b05(0x330)](){return this[_0x101a23];}}Object[_0x316b05(0x2d5)](_0x303138[_0x316b05(0x186)],'error',{'enumerable':!0x0}),Object[_0x316b05(0x2d5)](_0x303138[_0x316b05(0x186)],_0x316b05(0x330),{'enumerable':!0x0});class _0x404c3d extends _0x55d415{constructor(_0x15bed9,_0x3ed23e={}){const _0x28d5b8=_0x316b05;super(_0x15bed9),this[_0x97aa55]=_0x3ed23e['data']===void 0x0?null:_0x3ed23e[_0x28d5b8(0x2c1)];}get[_0x316b05(0x2c1)](){return this[_0x97aa55];}}Object[_0x316b05(0x2d5)](_0x404c3d[_0x316b05(0x186)],'data',{'enumerable':!0x0}),be={'CloseEvent':_0x4f7e62,'ErrorEvent':_0x303138,'Event':_0x55d415,'EventTarget':{'addEventListener'(_0xb13cf4,_0x1a872d,_0x2e091a={}){const _0x4024e3=_0x316b05;for(const _0x495464 of this['listeners'](_0xb13cf4))if(!_0x2e091a[_0xa095b5]&&_0x495464[_0x457795]===_0x1a872d&&!_0x495464[_0xa095b5])return;let _0x5603ba;if(_0xb13cf4===_0x4024e3(0x330))_0x5603ba=function(_0x5f1583,_0x3b818a){const _0x50252c=_0x4024e3,_0x16aa95=new _0x404c3d(_0x50252c(0x330),{'data':_0x3b818a?_0x5f1583:_0x5f1583[_0x50252c(0x219)]()});_0x16aa95[_0xe5b265]=this,_0x1dcc9c(_0x1a872d,this,_0x16aa95);};else{if(_0xb13cf4===_0x4024e3(0x286))_0x5603ba=function(_0x5d5894,_0x566a9f){const _0x45c938=_0x4024e3,_0x272fc9=new _0x4f7e62(_0x45c938(0x286),{'code':_0x5d5894,'reason':_0x566a9f[_0x45c938(0x219)](),'wasClean':this[_0x45c938(0x187)]&&this['_closeFrameSent']});_0x272fc9[_0xe5b265]=this,_0x1dcc9c(_0x1a872d,this,_0x272fc9);};else{if(_0xb13cf4==='error')_0x5603ba=function(_0x3b8d4f){const _0x420eaa=_0x4024e3,_0x427dc1=new _0x303138('error',{'error':_0x3b8d4f,'message':_0x3b8d4f[_0x420eaa(0x330)]});_0x427dc1[_0xe5b265]=this,_0x1dcc9c(_0x1a872d,this,_0x427dc1);};else{if(_0xb13cf4===_0x4024e3(0x290))_0x5603ba=function(){const _0x497eed=_0x4024e3,_0x38dd7f=new _0x55d415(_0x497eed(0x290));_0x38dd7f[_0xe5b265]=this,_0x1dcc9c(_0x1a872d,this,_0x38dd7f);};else return;}}}_0x5603ba[_0xa095b5]=!!_0x2e091a[_0xa095b5],_0x5603ba[_0x457795]=_0x1a872d,_0x2e091a[_0x4024e3(0x2d6)]?this['once'](_0xb13cf4,_0x5603ba):this['on'](_0xb13cf4,_0x5603ba);},'removeEventListener'(_0x27107c,_0x2935e3){const _0x4da869=_0x316b05;for(const _0x799845 of this[_0x4da869(0x2bd)](_0x27107c))if(_0x799845[_0x457795]===_0x2935e3&&!_0x799845[_0xa095b5]){this[_0x4da869(0x252)](_0x27107c,_0x799845);break;}}},'MessageEvent':_0x404c3d};function _0x1dcc9c(_0x43d5d8,_0x1c590e,_0x16d601){const _0x43a942=_0x316b05;typeof _0x43d5d8==_0x43a942(0x2c5)&&_0x43d5d8[_0x43a942(0x1f5)]?_0x43d5d8[_0x43a942(0x1f5)][_0x43a942(0x215)](_0x43d5d8,_0x16d601):_0x43d5d8['call'](_0x1c590e,_0x16d601);}return be;}var we,Qe;function ft(){if(Qe)return we;Qe=0x1;const {tokenChars:_0x22c51b}=ae();function _0x4fdacd(_0x3b5ebf,_0x2a9b4c,_0x92bc14){_0x3b5ebf[_0x2a9b4c]===void 0x0?_0x3b5ebf[_0x2a9b4c]=[_0x92bc14]:_0x3b5ebf[_0x2a9b4c]['push'](_0x92bc14);}function _0x2486c3(_0xc57501){const _0x586207=_0x2fc9,_0x50ea85=Object['create'](null);let _0x183114=Object[_0x586207(0x1b2)](null),_0x12a40e=!0x1,_0x45dd86=!0x1,_0x48f791=!0x1,_0x3a7dc2,_0x8c5187,_0x25db55=-0x1,_0x184874=-0x1,_0x5a30bf=-0x1,_0xcebb1e=0x0;for(;_0xcebb1e<_0xc57501[_0x586207(0x27f)];_0xcebb1e++)if(_0x184874=_0xc57501[_0x586207(0x18e)](_0xcebb1e),_0x3a7dc2===void 0x0){if(_0x5a30bf===-0x1&&_0x22c51b[_0x184874]===0x1)_0x25db55===-0x1&&(_0x25db55=_0xcebb1e);else{if(_0xcebb1e!==0x0&&(_0x184874===0x20||_0x184874===0x9))_0x5a30bf===-0x1&&_0x25db55!==-0x1&&(_0x5a30bf=_0xcebb1e);else{if(_0x184874===0x3b||_0x184874===0x2c){if(_0x25db55===-0x1)throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);_0x5a30bf===-0x1&&(_0x5a30bf=_0xcebb1e);const _0x432a77=_0xc57501[_0x586207(0x163)](_0x25db55,_0x5a30bf);_0x184874===0x2c?(_0x4fdacd(_0x50ea85,_0x432a77,_0x183114),_0x183114=Object[_0x586207(0x1b2)](null)):_0x3a7dc2=_0x432a77,_0x25db55=_0x5a30bf=-0x1;}else throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);}}}else{if(_0x8c5187===void 0x0){if(_0x5a30bf===-0x1&&_0x22c51b[_0x184874]===0x1)_0x25db55===-0x1&&(_0x25db55=_0xcebb1e);else{if(_0x184874===0x20||_0x184874===0x9)_0x5a30bf===-0x1&&_0x25db55!==-0x1&&(_0x5a30bf=_0xcebb1e);else{if(_0x184874===0x3b||_0x184874===0x2c){if(_0x25db55===-0x1)throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);_0x5a30bf===-0x1&&(_0x5a30bf=_0xcebb1e),_0x4fdacd(_0x183114,_0xc57501['slice'](_0x25db55,_0x5a30bf),!0x0),_0x184874===0x2c&&(_0x4fdacd(_0x50ea85,_0x3a7dc2,_0x183114),_0x183114=Object['create'](null),_0x3a7dc2=void 0x0),_0x25db55=_0x5a30bf=-0x1;}else{if(_0x184874===0x3d&&_0x25db55!==-0x1&&_0x5a30bf===-0x1)_0x8c5187=_0xc57501['slice'](_0x25db55,_0xcebb1e),_0x25db55=_0x5a30bf=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xcebb1e);}}}}else{if(_0x45dd86){if(_0x22c51b[_0x184874]!==0x1)throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);_0x25db55===-0x1?_0x25db55=_0xcebb1e:_0x12a40e||(_0x12a40e=!0x0),_0x45dd86=!0x1;}else{if(_0x48f791){if(_0x22c51b[_0x184874]===0x1)_0x25db55===-0x1&&(_0x25db55=_0xcebb1e);else{if(_0x184874===0x22&&_0x25db55!==-0x1)_0x48f791=!0x1,_0x5a30bf=_0xcebb1e;else{if(_0x184874===0x5c)_0x45dd86=!0x0;else throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);}}}else{if(_0x184874===0x22&&_0xc57501[_0x586207(0x18e)](_0xcebb1e-0x1)===0x3d)_0x48f791=!0x0;else{if(_0x5a30bf===-0x1&&_0x22c51b[_0x184874]===0x1)_0x25db55===-0x1&&(_0x25db55=_0xcebb1e);else{if(_0x25db55!==-0x1&&(_0x184874===0x20||_0x184874===0x9))_0x5a30bf===-0x1&&(_0x5a30bf=_0xcebb1e);else{if(_0x184874===0x3b||_0x184874===0x2c){if(_0x25db55===-0x1)throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);_0x5a30bf===-0x1&&(_0x5a30bf=_0xcebb1e);let _0x11dde3=_0xc57501[_0x586207(0x163)](_0x25db55,_0x5a30bf);_0x12a40e&&(_0x11dde3=_0x11dde3[_0x586207(0x28b)](/\\/g,''),_0x12a40e=!0x1),_0x4fdacd(_0x183114,_0x8c5187,_0x11dde3),_0x184874===0x2c&&(_0x4fdacd(_0x50ea85,_0x3a7dc2,_0x183114),_0x183114=Object[_0x586207(0x1b2)](null),_0x3a7dc2=void 0x0),_0x8c5187=void 0x0,_0x25db55=_0x5a30bf=-0x1;}else throw new SyntaxError(_0x586207(0x1f6)+_0xcebb1e);}}}}}}}if(_0x25db55===-0x1||_0x48f791||_0x184874===0x20||_0x184874===0x9)throw new SyntaxError(_0x586207(0x1d0));_0x5a30bf===-0x1&&(_0x5a30bf=_0xcebb1e);const _0x490dee=_0xc57501[_0x586207(0x163)](_0x25db55,_0x5a30bf);return _0x3a7dc2===void 0x0?_0x4fdacd(_0x50ea85,_0x490dee,_0x183114):(_0x8c5187===void 0x0?_0x4fdacd(_0x183114,_0x490dee,!0x0):_0x12a40e?_0x4fdacd(_0x183114,_0x8c5187,_0x490dee[_0x586207(0x28b)](/\\/g,'')):_0x4fdacd(_0x183114,_0x8c5187,_0x490dee),_0x4fdacd(_0x50ea85,_0x3a7dc2,_0x183114)),_0x50ea85;}function _0x23d617(_0x48977d){const _0x3a0e28=_0x2fc9;return Object[_0x3a0e28(0x269)](_0x48977d)[_0x3a0e28(0x24e)](_0x52d83c=>{const _0x35cb3d=_0x3a0e28;let _0x52e35f=_0x48977d[_0x52d83c];return Array['isArray'](_0x52e35f)||(_0x52e35f=[_0x52e35f]),_0x52e35f[_0x35cb3d(0x24e)](_0x34bf73=>[_0x52d83c][_0x35cb3d(0x295)](Object[_0x35cb3d(0x269)](_0x34bf73)[_0x35cb3d(0x24e)](_0x263c5a=>{const _0x3dfb2d=_0x35cb3d;let _0x117a12=_0x34bf73[_0x263c5a];return Array['isArray'](_0x117a12)||(_0x117a12=[_0x117a12]),_0x117a12[_0x3dfb2d(0x24e)](_0x335c30=>_0x335c30===!0x0?_0x263c5a:_0x263c5a+'='+_0x335c30)[_0x3dfb2d(0x189)](';\x20');}))[_0x35cb3d(0x189)](';\x20'))['join'](',\x20');})['join'](',\x20');}return we={'format':_0x23d617,'parse':_0x2486c3},we;}var Oe,Je;function ct(){const _0x728a29=_0x53714c;if(Je)return Oe;Je=0x1;const _0x4a88e0=it,_0x37d3e8=Et,_0x5403e3=nt,_0x11aaae=xt,_0x42e1dc=bt,{randomBytes:_0x23e93b,createHash:_0x46ffd5}=Le,{Duplex:_0x2c5e39,Readable:_0x1a924b}=oe,{URL:_0xf66e86}=wt,_0x52a1fe=he(),_0x2c31da=at(),_0xcb1cbb=lt(),{isBlob:_0x195bac}=ae(),{BINARY_TYPES:_0x3fa70d,EMPTY_BUFFER:_0x31b364,GUID:_0x3e6cd6,kForOnEventAttribute:_0x338a30,kListener:_0x2c9a5e,kStatusCode:_0x4ffab8,kWebSocket:_0x2f503b,NOOP:_0x9246f6}=H(),{EventTarget:{addEventListener:_0x477ab5,removeEventListener:_0x382365}}=Ut(),{format:_0x27ebbd,parse:_0x53645b}=ft(),{toBuffer:_0x34163d}=ce(),_0x1f854d=0x1e*0x3e8,_0x5ab4f8=Symbol(_0x728a29(0x288)),_0x1804ee=[0x8,0xd],_0x2626ff=[_0x728a29(0x1aa),_0x728a29(0x331),_0x728a29(0x212),_0x728a29(0x2a4)],_0x39dc91=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x493f5b extends _0x4a88e0{constructor(_0xfbe74f,_0x2ce91c,_0x336cac){const _0x22227f=_0x728a29;super(),this[_0x22227f(0x2b7)]=_0x3fa70d[0x0],this[_0x22227f(0x1ee)]=0x3ee,this[_0x22227f(0x187)]=!0x1,this[_0x22227f(0x307)]=!0x1,this[_0x22227f(0x22c)]=_0x31b364,this[_0x22227f(0x1dc)]=null,this['_errorEmitted']=!0x1,this[_0x22227f(0x2eb)]={},this[_0x22227f(0x1cd)]=!0x1,this[_0x22227f(0x2bb)]='',this[_0x22227f(0x1da)]=_0x493f5b[_0x22227f(0x1aa)],this[_0x22227f(0x21d)]=null,this[_0x22227f(0x19b)]=null,this['_socket']=null,_0xfbe74f!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x22227f(0x2db)]=0x0,_0x2ce91c===void 0x0?_0x2ce91c=[]:Array[_0x22227f(0x24b)](_0x2ce91c)||(typeof _0x2ce91c==_0x22227f(0x2c5)&&_0x2ce91c!==null?(_0x336cac=_0x2ce91c,_0x2ce91c=[]):_0x2ce91c=[_0x2ce91c]),_0x412279(this,_0xfbe74f,_0x2ce91c,_0x336cac)):(this['_autoPong']=_0x336cac['autoPong'],this[_0x22227f(0x282)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set['binaryType'](_0x4c6639){const _0x2bfe6e=_0x728a29;_0x3fa70d[_0x2bfe6e(0x1bf)](_0x4c6639)&&(this[_0x2bfe6e(0x2b7)]=_0x4c6639,this['_receiver']&&(this[_0x2bfe6e(0x21d)]['_binaryType']=_0x4c6639));}get[_0x728a29(0x278)](){const _0x66e278=_0x728a29;return this['_socket']?this['_socket'][_0x66e278(0x207)]['length']+this[_0x66e278(0x19b)][_0x66e278(0x2ba)]:this[_0x66e278(0x18f)];}get[_0x728a29(0x29c)](){const _0x14644b=_0x728a29;return Object[_0x14644b(0x269)](this['_extensions'])[_0x14644b(0x189)]();}get[_0x728a29(0x2e6)](){return this['_paused'];}get['onclose'](){return null;}get[_0x728a29(0x1b7)](){return null;}get[_0x728a29(0x2ef)](){return null;}get[_0x728a29(0x294)](){return null;}get[_0x728a29(0x32e)](){const _0x4514dc=_0x728a29;return this[_0x4514dc(0x2bb)];}get[_0x728a29(0x263)](){const _0x1cd605=_0x728a29;return this[_0x1cd605(0x1da)];}get['url'](){return this['_url'];}[_0x728a29(0x171)](_0x254cd0,_0x37279a,_0x2ebbbe){const _0x38c9b5=_0x728a29,_0x31dd9f=new _0x2c31da({'allowSynchronousEvents':_0x2ebbbe[_0x38c9b5(0x2e5)],'binaryType':this[_0x38c9b5(0x29b)],'extensions':this[_0x38c9b5(0x2eb)],'isServer':this[_0x38c9b5(0x282)],'maxPayload':_0x2ebbbe[_0x38c9b5(0x310)],'skipUTF8Validation':_0x2ebbbe[_0x38c9b5(0x1cf)]}),_0x23950f=new _0xcb1cbb(_0x254cd0,this['_extensions'],_0x2ebbbe[_0x38c9b5(0x1e8)]);this[_0x38c9b5(0x21d)]=_0x31dd9f,this[_0x38c9b5(0x19b)]=_0x23950f,this['_socket']=_0x254cd0,_0x31dd9f[_0x2f503b]=this,_0x23950f[_0x2f503b]=this,_0x254cd0[_0x2f503b]=this,_0x31dd9f['on'](_0x38c9b5(0x1d4),_0x4c2976),_0x31dd9f['on'](_0x38c9b5(0x244),_0x57f30b),_0x31dd9f['on'](_0x38c9b5(0x166),_0x5eedd1),_0x31dd9f['on']('message',_0x57fe1b),_0x31dd9f['on'](_0x38c9b5(0x25f),_0x490fe0),_0x31dd9f['on'](_0x38c9b5(0x1ac),_0x2411ad),_0x23950f['onerror']=_0x2c84d9,_0x254cd0['setTimeout']&&_0x254cd0[_0x38c9b5(0x2e0)](0x0),_0x254cd0[_0x38c9b5(0x1c1)]&&_0x254cd0[_0x38c9b5(0x1c1)](),_0x37279a[_0x38c9b5(0x27f)]>0x0&&_0x254cd0['unshift'](_0x37279a),_0x254cd0['on'](_0x38c9b5(0x286),_0x1c342a),_0x254cd0['on']('data',_0x5eb213),_0x254cd0['on']('end',_0x271e68),_0x254cd0['on'](_0x38c9b5(0x166),_0x2d8cd1),this[_0x38c9b5(0x1da)]=_0x493f5b[_0x38c9b5(0x331)],this[_0x38c9b5(0x234)](_0x38c9b5(0x290));}['emitClose'](){const _0x437b71=_0x728a29;if(!this[_0x437b71(0x1d2)]){this[_0x437b71(0x1da)]=_0x493f5b['CLOSED'],this[_0x437b71(0x234)](_0x437b71(0x286),this['_closeCode'],this['_closeMessage']);return;}this[_0x437b71(0x2eb)][_0x52a1fe['extensionName']]&&this[_0x437b71(0x2eb)][_0x52a1fe[_0x437b71(0x233)]][_0x437b71(0x1df)](),this[_0x437b71(0x21d)][_0x437b71(0x2a7)](),this[_0x437b71(0x1da)]=_0x493f5b['CLOSED'],this[_0x437b71(0x234)](_0x437b71(0x286),this[_0x437b71(0x1ee)],this[_0x437b71(0x22c)]);}[_0x728a29(0x286)](_0x33ec27,_0x5ce35c){const _0x48ae8c=_0x728a29;if(this[_0x48ae8c(0x263)]!==_0x493f5b[_0x48ae8c(0x2a4)]){if(this['readyState']===_0x493f5b[_0x48ae8c(0x1aa)]){_0x348257(this,this[_0x48ae8c(0x329)],_0x48ae8c(0x287));return;}if(this['readyState']===_0x493f5b[_0x48ae8c(0x212)]){this[_0x48ae8c(0x307)]&&(this[_0x48ae8c(0x187)]||this[_0x48ae8c(0x21d)][_0x48ae8c(0x207)][_0x48ae8c(0x2d0)])&&this[_0x48ae8c(0x1d2)][_0x48ae8c(0x2dc)]();return;}this['_readyState']=_0x493f5b[_0x48ae8c(0x212)],this[_0x48ae8c(0x19b)][_0x48ae8c(0x286)](_0x33ec27,_0x5ce35c,!this[_0x48ae8c(0x282)],_0x439cd6=>{const _0x4ef5e6=_0x48ae8c;_0x439cd6||(this['_closeFrameSent']=!0x0,(this[_0x4ef5e6(0x187)]||this[_0x4ef5e6(0x21d)][_0x4ef5e6(0x207)][_0x4ef5e6(0x2d0)])&&this[_0x4ef5e6(0x1d2)][_0x4ef5e6(0x2dc)]());}),_0x242657(this);}}[_0x728a29(0x2a3)](){const _0x4d12d7=_0x728a29;this['readyState']===_0x493f5b['CONNECTING']||this[_0x4d12d7(0x263)]===_0x493f5b['CLOSED']||(this[_0x4d12d7(0x1cd)]=!0x0,this[_0x4d12d7(0x1d2)]['pause']());}[_0x728a29(0x25f)](_0xb30a34,_0x49b05a,_0x1cf52c){const _0x40a271=_0x728a29;if(this[_0x40a271(0x263)]===_0x493f5b[_0x40a271(0x1aa)])throw new Error(_0x40a271(0x26c));if(typeof _0xb30a34==_0x40a271(0x1c9)?(_0x1cf52c=_0xb30a34,_0xb30a34=_0x49b05a=void 0x0):typeof _0x49b05a=='function'&&(_0x1cf52c=_0x49b05a,_0x49b05a=void 0x0),typeof _0xb30a34==_0x40a271(0x230)&&(_0xb30a34=_0xb30a34['toString']()),this['readyState']!==_0x493f5b['OPEN']){_0x198b48(this,_0xb30a34,_0x1cf52c);return;}_0x49b05a===void 0x0&&(_0x49b05a=!this[_0x40a271(0x282)]),this[_0x40a271(0x19b)][_0x40a271(0x25f)](_0xb30a34||_0x31b364,_0x49b05a,_0x1cf52c);}[_0x728a29(0x1ac)](_0x441a6b,_0x3effc0,_0x24e17e){const _0x39ce6a=_0x728a29;if(this['readyState']===_0x493f5b[_0x39ce6a(0x1aa)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x441a6b==_0x39ce6a(0x1c9)?(_0x24e17e=_0x441a6b,_0x441a6b=_0x3effc0=void 0x0):typeof _0x3effc0==_0x39ce6a(0x1c9)&&(_0x24e17e=_0x3effc0,_0x3effc0=void 0x0),typeof _0x441a6b=='number'&&(_0x441a6b=_0x441a6b[_0x39ce6a(0x219)]()),this['readyState']!==_0x493f5b['OPEN']){_0x198b48(this,_0x441a6b,_0x24e17e);return;}_0x3effc0===void 0x0&&(_0x3effc0=!this[_0x39ce6a(0x282)]),this[_0x39ce6a(0x19b)][_0x39ce6a(0x1ac)](_0x441a6b||_0x31b364,_0x3effc0,_0x24e17e);}[_0x728a29(0x2f2)](){const _0x1f986a=_0x728a29;this[_0x1f986a(0x263)]===_0x493f5b['CONNECTING']||this[_0x1f986a(0x263)]===_0x493f5b['CLOSED']||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x1f986a(0x339)]||this[_0x1f986a(0x1d2)][_0x1f986a(0x2f2)]());}[_0x728a29(0x284)](_0x40d3ca,_0x19f509,_0x31d4f3){const _0x28e73e=_0x728a29;if(this[_0x28e73e(0x263)]===_0x493f5b['CONNECTING'])throw new Error(_0x28e73e(0x26c));if(typeof _0x19f509=='function'&&(_0x31d4f3=_0x19f509,_0x19f509={}),typeof _0x40d3ca==_0x28e73e(0x230)&&(_0x40d3ca=_0x40d3ca[_0x28e73e(0x219)]()),this['readyState']!==_0x493f5b[_0x28e73e(0x331)]){_0x198b48(this,_0x40d3ca,_0x31d4f3);return;}const _0x4c8f9f={'binary':typeof _0x40d3ca!=_0x28e73e(0x2b1),'mask':!this[_0x28e73e(0x282)],'compress':!0x0,'fin':!0x0,..._0x19f509};this[_0x28e73e(0x2eb)][_0x52a1fe[_0x28e73e(0x233)]]||(_0x4c8f9f[_0x28e73e(0x18a)]=!0x1),this[_0x28e73e(0x19b)][_0x28e73e(0x284)](_0x40d3ca||_0x31b364,_0x4c8f9f,_0x31d4f3);}[_0x728a29(0x31f)](){const _0x590973=_0x728a29;if(this[_0x590973(0x263)]!==_0x493f5b[_0x590973(0x2a4)]){if(this['readyState']===_0x493f5b[_0x590973(0x1aa)]){_0x348257(this,this['_req'],_0x590973(0x287));return;}this[_0x590973(0x1d2)]&&(this[_0x590973(0x1da)]=_0x493f5b[_0x590973(0x212)],this['_socket'][_0x590973(0x165)]());}}}Object['defineProperty'](_0x493f5b,_0x728a29(0x1aa),{'enumerable':!0x0,'value':_0x2626ff[_0x728a29(0x328)]('CONNECTING')}),Object['defineProperty'](_0x493f5b[_0x728a29(0x186)],_0x728a29(0x1aa),{'enumerable':!0x0,'value':_0x2626ff['indexOf'](_0x728a29(0x1aa))}),Object['defineProperty'](_0x493f5b,_0x728a29(0x331),{'enumerable':!0x0,'value':_0x2626ff['indexOf'](_0x728a29(0x331))}),Object[_0x728a29(0x2d5)](_0x493f5b[_0x728a29(0x186)],'OPEN',{'enumerable':!0x0,'value':_0x2626ff[_0x728a29(0x328)](_0x728a29(0x331))}),Object[_0x728a29(0x2d5)](_0x493f5b,_0x728a29(0x212),{'enumerable':!0x0,'value':_0x2626ff['indexOf'](_0x728a29(0x212))}),Object[_0x728a29(0x2d5)](_0x493f5b[_0x728a29(0x186)],_0x728a29(0x212),{'enumerable':!0x0,'value':_0x2626ff['indexOf']('CLOSING')}),Object['defineProperty'](_0x493f5b,_0x728a29(0x2a4),{'enumerable':!0x0,'value':_0x2626ff['indexOf'](_0x728a29(0x2a4))}),Object[_0x728a29(0x2d5)](_0x493f5b[_0x728a29(0x186)],_0x728a29(0x2a4),{'enumerable':!0x0,'value':_0x2626ff[_0x728a29(0x328)](_0x728a29(0x2a4))}),['binaryType','bufferedAmount',_0x728a29(0x29c),_0x728a29(0x2e6),_0x728a29(0x32e),_0x728a29(0x263),_0x728a29(0x198)]['forEach'](_0xa24fff=>{const _0x3d36ad=_0x728a29;Object[_0x3d36ad(0x2d5)](_0x493f5b['prototype'],_0xa24fff,{'enumerable':!0x0});}),[_0x728a29(0x290),'error','close',_0x728a29(0x330)][_0x728a29(0x20f)](_0x4c8506=>{const _0x3258b0=_0x728a29;Object[_0x3258b0(0x2d5)](_0x493f5b[_0x3258b0(0x186)],'on'+_0x4c8506,{'enumerable':!0x0,'get'(){for(const _0x3a6748 of this['listeners'](_0x4c8506))if(_0x3a6748[_0x338a30])return _0x3a6748[_0x2c9a5e];return null;},'set'(_0xb9573){const _0x313345=_0x3258b0;for(const _0x39c637 of this[_0x313345(0x2bd)](_0x4c8506))if(_0x39c637[_0x338a30]){this[_0x313345(0x252)](_0x4c8506,_0x39c637);break;}typeof _0xb9573==_0x313345(0x1c9)&&this[_0x313345(0x270)](_0x4c8506,_0xb9573,{[_0x338a30]:!0x0});}});}),_0x493f5b['prototype'][_0x728a29(0x270)]=_0x477ab5,_0x493f5b[_0x728a29(0x186)][_0x728a29(0x2ce)]=_0x382365,Oe=_0x493f5b;function _0x412279(_0x263607,_0x2379c2,_0x1119bc,_0x4815c2){const _0x20ee89=_0x728a29,_0x1c8c24={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1804ee[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4815c2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x20ee89(0x223),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x263607[_0x20ee89(0x21e)]=_0x1c8c24['autoPong'],!_0x1804ee[_0x20ee89(0x1bf)](_0x1c8c24[_0x20ee89(0x1f9)]))throw new RangeError(_0x20ee89(0x1b6)+_0x1c8c24['protocolVersion']+_0x20ee89(0x170)+_0x1804ee[_0x20ee89(0x189)](',\x20')+')');let _0x25507b;if(_0x2379c2 instanceof _0xf66e86)_0x25507b=_0x2379c2;else try{_0x25507b=new _0xf66e86(_0x2379c2);}catch{throw new SyntaxError(_0x20ee89(0x1c5)+_0x2379c2);}_0x25507b[_0x20ee89(0x32e)]==='http:'?_0x25507b[_0x20ee89(0x32e)]=_0x20ee89(0x19d):_0x25507b['protocol']===_0x20ee89(0x28e)&&(_0x25507b[_0x20ee89(0x32e)]=_0x20ee89(0x2fa)),_0x263607[_0x20ee89(0x178)]=_0x25507b[_0x20ee89(0x16c)];const _0x1f9271=_0x25507b[_0x20ee89(0x32e)]==='wss:',_0x448af6=_0x25507b[_0x20ee89(0x32e)]===_0x20ee89(0x296);let _0x1e5cdb;if(_0x25507b[_0x20ee89(0x32e)]!==_0x20ee89(0x19d)&&!_0x1f9271&&!_0x448af6?_0x1e5cdb=_0x20ee89(0x1b0):_0x448af6&&!_0x25507b[_0x20ee89(0x177)]?_0x1e5cdb=_0x20ee89(0x2f1):_0x25507b[_0x20ee89(0x1cb)]&&(_0x1e5cdb=_0x20ee89(0x217)),_0x1e5cdb){const _0x1fc01e=new SyntaxError(_0x1e5cdb);if(_0x263607['_redirects']===0x0)throw _0x1fc01e;_0x172e65(_0x263607,_0x1fc01e);return;}const _0x5b45af=_0x1f9271?0x1bb:0x50,_0x53758d=_0x23e93b(0x10)[_0x20ee89(0x219)](_0x20ee89(0x21c)),_0x5e5fdc=_0x1f9271?_0x37d3e8[_0x20ee89(0x24a)]:_0x5403e3[_0x20ee89(0x24a)],_0x5a09bb=new Set();let _0x9c9614;if(_0x1c8c24[_0x20ee89(0x26d)]=_0x1c8c24['createConnection']||(_0x1f9271?_0x2c28bb:_0x46c715),_0x1c8c24[_0x20ee89(0x32d)]=_0x1c8c24[_0x20ee89(0x32d)]||_0x5b45af,_0x1c8c24[_0x20ee89(0x1a5)]=_0x25507b[_0x20ee89(0x1a5)]||_0x5b45af,_0x1c8c24[_0x20ee89(0x1fb)]=_0x25507b[_0x20ee89(0x2f6)][_0x20ee89(0x2ea)]('[')?_0x25507b[_0x20ee89(0x2f6)]['slice'](0x1,-0x1):_0x25507b[_0x20ee89(0x2f6)],_0x1c8c24[_0x20ee89(0x300)]={..._0x1c8c24[_0x20ee89(0x300)],'Sec-WebSocket-Version':_0x1c8c24[_0x20ee89(0x1f9)],'Sec-WebSocket-Key':_0x53758d,'Connection':_0x20ee89(0x292),'Upgrade':_0x20ee89(0x206)},_0x1c8c24[_0x20ee89(0x2f5)]=_0x25507b[_0x20ee89(0x177)]+_0x25507b[_0x20ee89(0x2ec)],_0x1c8c24[_0x20ee89(0x248)]=_0x1c8c24[_0x20ee89(0x2e8)],_0x1c8c24['perMessageDeflate']&&(_0x9c9614=new _0x52a1fe(_0x1c8c24[_0x20ee89(0x169)]!==!0x0?_0x1c8c24[_0x20ee89(0x169)]:{},!0x1,_0x1c8c24[_0x20ee89(0x310)]),_0x1c8c24[_0x20ee89(0x300)][_0x20ee89(0x1ef)]=_0x27ebbd({[_0x52a1fe[_0x20ee89(0x233)]]:_0x9c9614[_0x20ee89(0x185)]()})),_0x1119bc[_0x20ee89(0x27f)]){for(const _0x1a7a4a of _0x1119bc){if(typeof _0x1a7a4a!=_0x20ee89(0x2b1)||!_0x39dc91[_0x20ee89(0x1cc)](_0x1a7a4a)||_0x5a09bb[_0x20ee89(0x2e7)](_0x1a7a4a))throw new SyntaxError(_0x20ee89(0x25c));_0x5a09bb['add'](_0x1a7a4a);}_0x1c8c24[_0x20ee89(0x300)][_0x20ee89(0x1c8)]=_0x1119bc[_0x20ee89(0x189)](',');}if(_0x1c8c24['origin']&&(_0x1c8c24[_0x20ee89(0x1f9)]<0xd?_0x1c8c24[_0x20ee89(0x300)][_0x20ee89(0x249)]=_0x1c8c24[_0x20ee89(0x193)]:_0x1c8c24[_0x20ee89(0x300)][_0x20ee89(0x180)]=_0x1c8c24['origin']),(_0x25507b[_0x20ee89(0x2d2)]||_0x25507b[_0x20ee89(0x1a6)])&&(_0x1c8c24[_0x20ee89(0x27d)]=_0x25507b[_0x20ee89(0x2d2)]+':'+_0x25507b[_0x20ee89(0x1a6)]),_0x448af6){const _0x3696be=_0x1c8c24['path'][_0x20ee89(0x332)](':');_0x1c8c24[_0x20ee89(0x265)]=_0x3696be[0x0],_0x1c8c24[_0x20ee89(0x2f5)]=_0x3696be[0x1];}let _0x34dd21;if(_0x1c8c24[_0x20ee89(0x167)]){if(_0x263607[_0x20ee89(0x2db)]===0x0){_0x263607[_0x20ee89(0x1b1)]=_0x448af6,_0x263607[_0x20ee89(0x179)]=_0x1f9271,_0x263607[_0x20ee89(0x172)]=_0x448af6?_0x1c8c24[_0x20ee89(0x265)]:_0x25507b[_0x20ee89(0x1fb)];const _0x2ff7d0=_0x4815c2&&_0x4815c2['headers'];if(_0x4815c2={..._0x4815c2,'headers':{}},_0x2ff7d0){for(const [_0x5531a1,_0xf0e851]of Object['entries'](_0x2ff7d0))_0x4815c2[_0x20ee89(0x300)][_0x5531a1[_0x20ee89(0x247)]()]=_0xf0e851;}}else{if(_0x263607[_0x20ee89(0x209)]('redirect')===0x0){const _0x5d144d=_0x448af6?_0x263607[_0x20ee89(0x1b1)]?_0x1c8c24['socketPath']===_0x263607[_0x20ee89(0x172)]:!0x1:_0x263607[_0x20ee89(0x1b1)]?!0x1:_0x25507b[_0x20ee89(0x1fb)]===_0x263607[_0x20ee89(0x172)];(!_0x5d144d||_0x263607[_0x20ee89(0x179)]&&!_0x1f9271)&&(delete _0x1c8c24[_0x20ee89(0x300)]['authorization'],delete _0x1c8c24[_0x20ee89(0x300)]['cookie'],_0x5d144d||delete _0x1c8c24[_0x20ee89(0x300)][_0x20ee89(0x1fb)],_0x1c8c24[_0x20ee89(0x27d)]=void 0x0);}}_0x1c8c24[_0x20ee89(0x27d)]&&!_0x4815c2[_0x20ee89(0x300)][_0x20ee89(0x218)]&&(_0x4815c2[_0x20ee89(0x300)][_0x20ee89(0x218)]=_0x20ee89(0x221)+Buffer['from'](_0x1c8c24[_0x20ee89(0x27d)])[_0x20ee89(0x219)]('base64')),_0x34dd21=_0x263607[_0x20ee89(0x329)]=_0x5e5fdc(_0x1c8c24),_0x263607[_0x20ee89(0x2db)]&&_0x263607[_0x20ee89(0x234)]('redirect',_0x263607[_0x20ee89(0x198)],_0x34dd21);}else _0x34dd21=_0x263607[_0x20ee89(0x329)]=_0x5e5fdc(_0x1c8c24);_0x1c8c24[_0x20ee89(0x248)]&&_0x34dd21['on']('timeout',()=>{_0x348257(_0x263607,_0x34dd21,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x34dd21['on'](_0x20ee89(0x166),_0x592f4b=>{_0x34dd21===null||_0x34dd21[_0x5ab4f8]||(_0x34dd21=_0x263607['_req']=null,_0x172e65(_0x263607,_0x592f4b));}),_0x34dd21['on'](_0x20ee89(0x1fd),_0x452e14=>{const _0x3bee87=_0x20ee89,_0x408c77=_0x452e14[_0x3bee87(0x300)][_0x3bee87(0x199)],_0x4f4cf1=_0x452e14['statusCode'];if(_0x408c77&&_0x1c8c24[_0x3bee87(0x167)]&&_0x4f4cf1>=0x12c&&_0x4f4cf1<0x190){if(++_0x263607[_0x3bee87(0x2db)]>_0x1c8c24[_0x3bee87(0x24f)]){_0x348257(_0x263607,_0x34dd21,'Maximum\x20redirects\x20exceeded');return;}_0x34dd21['abort']();let _0x18c562;try{_0x18c562=new _0xf66e86(_0x408c77,_0x2379c2);}catch{const _0x422b94=new SyntaxError('Invalid\x20URL:\x20'+_0x408c77);_0x172e65(_0x263607,_0x422b94);return;}_0x412279(_0x263607,_0x18c562,_0x1119bc,_0x4815c2);}else _0x263607[_0x3bee87(0x234)](_0x3bee87(0x23a),_0x34dd21,_0x452e14)||_0x348257(_0x263607,_0x34dd21,_0x3bee87(0x250)+_0x452e14['statusCode']);}),_0x34dd21['on'](_0x20ee89(0x2c7),(_0x1b6a80,_0x35fda7,_0x5b057c)=>{const _0x280beb=_0x20ee89;if(_0x263607['emit']('upgrade',_0x1b6a80),_0x263607[_0x280beb(0x263)]!==_0x493f5b[_0x280beb(0x1aa)])return;_0x34dd21=_0x263607[_0x280beb(0x329)]=null;const _0xa88a77=_0x1b6a80['headers'][_0x280beb(0x2c7)];if(_0xa88a77===void 0x0||_0xa88a77['toLowerCase']()!==_0x280beb(0x206)){_0x348257(_0x263607,_0x35fda7,'Invalid\x20Upgrade\x20header');return;}const _0x22de68=_0x46ffd5('sha1')['update'](_0x53758d+_0x3e6cd6)[_0x280beb(0x214)](_0x280beb(0x21c));if(_0x1b6a80[_0x280beb(0x300)]['sec-websocket-accept']!==_0x22de68){_0x348257(_0x263607,_0x35fda7,_0x280beb(0x2e9));return;}const _0x55c292=_0x1b6a80[_0x280beb(0x300)][_0x280beb(0x22a)];let _0x21f797;if(_0x55c292!==void 0x0?_0x5a09bb[_0x280beb(0x2d4)]?_0x5a09bb[_0x280beb(0x2e7)](_0x55c292)||(_0x21f797=_0x280beb(0x317)):_0x21f797='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5a09bb['size']&&(_0x21f797=_0x280beb(0x1af)),_0x21f797){_0x348257(_0x263607,_0x35fda7,_0x21f797);return;}_0x55c292&&(_0x263607[_0x280beb(0x2bb)]=_0x55c292);const _0x2452c3=_0x1b6a80['headers'][_0x280beb(0x285)];if(_0x2452c3!==void 0x0){if(!_0x9c9614){_0x348257(_0x263607,_0x35fda7,_0x280beb(0x256));return;}let _0x5df835;try{_0x5df835=_0x53645b(_0x2452c3);}catch{_0x348257(_0x263607,_0x35fda7,_0x280beb(0x2c0));return;}const _0x294ff2=Object[_0x280beb(0x269)](_0x5df835);if(_0x294ff2[_0x280beb(0x27f)]!==0x1||_0x294ff2[0x0]!==_0x52a1fe['extensionName']){_0x348257(_0x263607,_0x35fda7,_0x280beb(0x1a4));return;}try{_0x9c9614[_0x280beb(0x227)](_0x5df835[_0x52a1fe[_0x280beb(0x233)]]);}catch{_0x348257(_0x263607,_0x35fda7,_0x280beb(0x2c0));return;}_0x263607['_extensions'][_0x52a1fe['extensionName']]=_0x9c9614;}_0x263607[_0x280beb(0x171)](_0x35fda7,_0x5b057c,{'allowSynchronousEvents':_0x1c8c24['allowSynchronousEvents'],'generateMask':_0x1c8c24[_0x280beb(0x1e8)],'maxPayload':_0x1c8c24[_0x280beb(0x310)],'skipUTF8Validation':_0x1c8c24[_0x280beb(0x1cf)]});}),_0x1c8c24[_0x20ee89(0x31b)]?_0x1c8c24['finishRequest'](_0x34dd21,_0x263607):_0x34dd21[_0x20ee89(0x2dc)]();}function _0x172e65(_0x1cda7a,_0x71761f){const _0x467016=_0x728a29;_0x1cda7a[_0x467016(0x1da)]=_0x493f5b[_0x467016(0x212)],_0x1cda7a[_0x467016(0x1bc)]=!0x0,_0x1cda7a['emit'](_0x467016(0x166),_0x71761f),_0x1cda7a[_0x467016(0x220)]();}function _0x46c715(_0x41b993){const _0x2e77d8=_0x728a29;return _0x41b993['path']=_0x41b993[_0x2e77d8(0x265)],_0x11aaae[_0x2e77d8(0x205)](_0x41b993);}function _0x2c28bb(_0x1f509d){const _0x2857ce=_0x728a29;return _0x1f509d[_0x2857ce(0x2f5)]=void 0x0,!_0x1f509d[_0x2857ce(0x1ff)]&&_0x1f509d[_0x2857ce(0x1ff)]!==''&&(_0x1f509d['servername']=_0x11aaae[_0x2857ce(0x1f8)](_0x1f509d[_0x2857ce(0x1fb)])?'':_0x1f509d[_0x2857ce(0x1fb)]),_0x42e1dc['connect'](_0x1f509d);}function _0x348257(_0x52ca10,_0x78c1d1,_0x5757d7){const _0x18834c=_0x728a29;_0x52ca10[_0x18834c(0x1da)]=_0x493f5b[_0x18834c(0x212)];const _0x465d89=new Error(_0x5757d7);Error[_0x18834c(0x260)](_0x465d89,_0x348257),_0x78c1d1[_0x18834c(0x291)]?(_0x78c1d1[_0x5ab4f8]=!0x0,_0x78c1d1[_0x18834c(0x283)](),_0x78c1d1[_0x18834c(0x1ea)]&&!_0x78c1d1['socket'][_0x18834c(0x312)]&&_0x78c1d1[_0x18834c(0x1ea)][_0x18834c(0x165)](),process[_0x18834c(0x255)](_0x172e65,_0x52ca10,_0x465d89)):(_0x78c1d1[_0x18834c(0x165)](_0x465d89),_0x78c1d1[_0x18834c(0x2d6)](_0x18834c(0x166),_0x52ca10['emit'][_0x18834c(0x211)](_0x52ca10,'error')),_0x78c1d1['once']('close',_0x52ca10['emitClose'][_0x18834c(0x211)](_0x52ca10)));}function _0x198b48(_0x2a2a88,_0x2654c3,_0x3b750b){const _0x1cd373=_0x728a29;if(_0x2654c3){const _0x475f55=_0x195bac(_0x2654c3)?_0x2654c3[_0x1cd373(0x2d4)]:_0x34163d(_0x2654c3)[_0x1cd373(0x27f)];_0x2a2a88[_0x1cd373(0x1d2)]?_0x2a2a88[_0x1cd373(0x19b)]['_bufferedBytes']+=_0x475f55:_0x2a2a88[_0x1cd373(0x18f)]+=_0x475f55;}if(_0x3b750b){const _0x382022=new Error(_0x1cd373(0x1b8)+_0x2a2a88[_0x1cd373(0x263)]+'\x20('+_0x2626ff[_0x2a2a88['readyState']]+')');process[_0x1cd373(0x255)](_0x3b750b,_0x382022);}}function _0x4c2976(_0x328188,_0x2d9bf9){const _0x3d3f34=_0x728a29,_0x555a37=this[_0x2f503b];_0x555a37['_closeFrameReceived']=!0x0,_0x555a37[_0x3d3f34(0x22c)]=_0x2d9bf9,_0x555a37['_closeCode']=_0x328188,_0x555a37['_socket'][_0x2f503b]!==void 0x0&&(_0x555a37[_0x3d3f34(0x1d2)][_0x3d3f34(0x252)](_0x3d3f34(0x2c1),_0x5eb213),process[_0x3d3f34(0x255)](_0x3f6eb3,_0x555a37[_0x3d3f34(0x1d2)]),_0x328188===0x3ed?_0x555a37[_0x3d3f34(0x286)]():_0x555a37['close'](_0x328188,_0x2d9bf9));}function _0x57f30b(){const _0x5c102c=_0x728a29,_0x4263d4=this[_0x2f503b];_0x4263d4[_0x5c102c(0x2e6)]||_0x4263d4[_0x5c102c(0x1d2)][_0x5c102c(0x2f2)]();}function _0x5eedd1(_0x17b8dd){const _0x42be07=_0x728a29,_0x2236fa=this[_0x2f503b];_0x2236fa[_0x42be07(0x1d2)][_0x2f503b]!==void 0x0&&(_0x2236fa['_socket'][_0x42be07(0x252)](_0x42be07(0x2c1),_0x5eb213),process[_0x42be07(0x255)](_0x3f6eb3,_0x2236fa[_0x42be07(0x1d2)]),_0x2236fa['close'](_0x17b8dd[_0x4ffab8])),_0x2236fa[_0x42be07(0x1bc)]||(_0x2236fa[_0x42be07(0x1bc)]=!0x0,_0x2236fa[_0x42be07(0x234)](_0x42be07(0x166),_0x17b8dd));}function _0x4688aa(){const _0x33cb46=_0x728a29;this[_0x2f503b][_0x33cb46(0x220)]();}function _0x57fe1b(_0x31de25,_0x558447){const _0x1e0561=_0x728a29;this[_0x2f503b][_0x1e0561(0x234)](_0x1e0561(0x330),_0x31de25,_0x558447);}function _0x490fe0(_0x39c0f4){const _0x3f7c80=_0x728a29,_0x50dd4e=this[_0x2f503b];_0x50dd4e[_0x3f7c80(0x21e)]&&_0x50dd4e[_0x3f7c80(0x1ac)](_0x39c0f4,!this[_0x3f7c80(0x282)],_0x9246f6),_0x50dd4e[_0x3f7c80(0x234)]('ping',_0x39c0f4);}function _0x2411ad(_0x224880){const _0x23d48f=_0x728a29;this[_0x2f503b][_0x23d48f(0x234)](_0x23d48f(0x1ac),_0x224880);}function _0x3f6eb3(_0x54b04d){const _0x237ea6=_0x728a29;_0x54b04d[_0x237ea6(0x2f2)]();}function _0x2c84d9(_0x128fb9){const _0x286b71=_0x728a29,_0x279c6f=this[_0x2f503b];_0x279c6f[_0x286b71(0x263)]!==_0x493f5b[_0x286b71(0x2a4)]&&(_0x279c6f[_0x286b71(0x263)]===_0x493f5b[_0x286b71(0x331)]&&(_0x279c6f[_0x286b71(0x1da)]=_0x493f5b[_0x286b71(0x212)],_0x242657(_0x279c6f)),this['_socket'][_0x286b71(0x2dc)](),_0x279c6f[_0x286b71(0x1bc)]||(_0x279c6f['_errorEmitted']=!0x0,_0x279c6f['emit'](_0x286b71(0x166),_0x128fb9)));}function _0x242657(_0x3834ee){const _0xa7d4e8=_0x728a29;_0x3834ee[_0xa7d4e8(0x1dc)]=setTimeout(_0x3834ee[_0xa7d4e8(0x1d2)]['destroy'][_0xa7d4e8(0x211)](_0x3834ee[_0xa7d4e8(0x1d2)]),_0x1f854d);}function _0x1c342a(){const _0x5ece9d=_0x728a29,_0x1c8e8a=this[_0x2f503b];this['removeListener']('close',_0x1c342a),this[_0x5ece9d(0x252)](_0x5ece9d(0x2c1),_0x5eb213),this[_0x5ece9d(0x252)](_0x5ece9d(0x2dc),_0x271e68),_0x1c8e8a['_readyState']=_0x493f5b['CLOSING'];let _0x37801a;!this[_0x5ece9d(0x1c4)][_0x5ece9d(0x2a1)]&&!_0x1c8e8a[_0x5ece9d(0x187)]&&!_0x1c8e8a[_0x5ece9d(0x21d)]['_writableState'][_0x5ece9d(0x2d0)]&&(_0x37801a=_0x1c8e8a[_0x5ece9d(0x1d2)]['read']())!==null&&_0x1c8e8a[_0x5ece9d(0x21d)][_0x5ece9d(0x213)](_0x37801a),_0x1c8e8a[_0x5ece9d(0x21d)][_0x5ece9d(0x2dc)](),this[_0x2f503b]=void 0x0,clearTimeout(_0x1c8e8a[_0x5ece9d(0x1dc)]),_0x1c8e8a[_0x5ece9d(0x21d)][_0x5ece9d(0x207)]['finished']||_0x1c8e8a['_receiver']['_writableState'][_0x5ece9d(0x2d0)]?_0x1c8e8a[_0x5ece9d(0x220)]():(_0x1c8e8a['_receiver']['on']('error',_0x4688aa),_0x1c8e8a[_0x5ece9d(0x21d)]['on'](_0x5ece9d(0x30f),_0x4688aa));}function _0x5eb213(_0x1c601a){const _0x44f0ab=_0x728a29;this[_0x2f503b][_0x44f0ab(0x21d)][_0x44f0ab(0x213)](_0x1c601a)||this[_0x44f0ab(0x2a3)]();}function _0x271e68(){const _0x14e161=_0x728a29,_0x2ea874=this[_0x2f503b];_0x2ea874[_0x14e161(0x1da)]=_0x493f5b['CLOSING'],_0x2ea874[_0x14e161(0x21d)][_0x14e161(0x2dc)](),this[_0x14e161(0x2dc)]();}function _0x2d8cd1(){const _0x1e1b46=_0x728a29,_0x51689d=this[_0x2f503b];this[_0x1e1b46(0x252)](_0x1e1b46(0x166),_0x2d8cd1),this['on'](_0x1e1b46(0x166),_0x9246f6),_0x51689d&&(_0x51689d[_0x1e1b46(0x1da)]=_0x493f5b[_0x1e1b46(0x212)],this[_0x1e1b46(0x165)]());}return Oe;}var Mt=ct();const $t=Tt(Mt);var Ce,et;function At(){if(et)return Ce;et=0x1;const {tokenChars:_0x11b6e4}=ae();function _0x16b0ca(_0x3af625){const _0x9792fb=_0x2fc9,_0xe67adf=new Set();let _0x12fda5=-0x1,_0x43ae61=-0x1,_0x47cde2=0x0;for(_0x47cde2;_0x47cde2<_0x3af625[_0x9792fb(0x27f)];_0x47cde2++){const _0x339098=_0x3af625[_0x9792fb(0x18e)](_0x47cde2);if(_0x43ae61===-0x1&&_0x11b6e4[_0x339098]===0x1)_0x12fda5===-0x1&&(_0x12fda5=_0x47cde2);else{if(_0x47cde2!==0x0&&(_0x339098===0x20||_0x339098===0x9))_0x43ae61===-0x1&&_0x12fda5!==-0x1&&(_0x43ae61=_0x47cde2);else{if(_0x339098===0x2c){if(_0x12fda5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x47cde2);_0x43ae61===-0x1&&(_0x43ae61=_0x47cde2);const _0x5388cf=_0x3af625[_0x9792fb(0x163)](_0x12fda5,_0x43ae61);if(_0xe67adf[_0x9792fb(0x2e7)](_0x5388cf))throw new SyntaxError(_0x9792fb(0x242)+_0x5388cf+_0x9792fb(0x257));_0xe67adf[_0x9792fb(0x1b4)](_0x5388cf),_0x12fda5=_0x43ae61=-0x1;}else throw new SyntaxError(_0x9792fb(0x1f6)+_0x47cde2);}}}if(_0x12fda5===-0x1||_0x43ae61!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1e3fb4=_0x3af625[_0x9792fb(0x163)](_0x12fda5,_0x47cde2);if(_0xe67adf[_0x9792fb(0x2e7)](_0x1e3fb4))throw new SyntaxError(_0x9792fb(0x242)+_0x1e3fb4+_0x9792fb(0x257));return _0xe67adf[_0x9792fb(0x1b4)](_0x1e3fb4),_0xe67adf;}return Ce={'parse':_0x16b0ca},Ce;}var Te,tt;function Ft(){const _0x26719d=_0x53714c;if(tt)return Te;tt=0x1;const _0x1a875e=it,_0xf1771b=nt,{Duplex:_0x40231c}=oe,{createHash:_0x1fb123}=Le,_0x351be1=ft(),_0x43d2fc=he(),_0x3e6eb1=At(),_0x5b0bdf=ct(),{GUID:_0x55982a,kWebSocket:_0x48827a}=H(),_0x5ac37b=/^[+/0-9A-Za-z]{22}==$/,_0x31539d=0x0,_0x5da5f1=0x1,_0x54018c=0x2;class _0x5eaca7 extends _0x1a875e{constructor(_0x42446b,_0x28054c){const _0xd22b3=_0x2fc9;if(super(),_0x42446b={'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':_0x5b0bdf,..._0x42446b},_0x42446b['port']==null&&!_0x42446b[_0xd22b3(0x2b0)]&&!_0x42446b[_0xd22b3(0x19e)]||_0x42446b[_0xd22b3(0x1a5)]!=null&&(_0x42446b[_0xd22b3(0x2b0)]||_0x42446b[_0xd22b3(0x19e)])||_0x42446b[_0xd22b3(0x2b0)]&&_0x42446b[_0xd22b3(0x19e)])throw new TypeError(_0xd22b3(0x1e9));if(_0x42446b[_0xd22b3(0x1a5)]!=null?(this[_0xd22b3(0x2f7)]=_0xf1771b[_0xd22b3(0x30d)]((_0x341262,_0x3c8185)=>{const _0x7cfb83=_0xd22b3,_0x458648=_0xf1771b[_0x7cfb83(0x173)][0x1aa];_0x3c8185['writeHead'](0x1aa,{'Content-Length':_0x458648['length'],'Content-Type':_0x7cfb83(0x2e1)}),_0x3c8185[_0x7cfb83(0x2dc)](_0x458648);}),this[_0xd22b3(0x2f7)]['listen'](_0x42446b[_0xd22b3(0x1a5)],_0x42446b[_0xd22b3(0x1fb)],_0x42446b['backlog'],_0x28054c)):_0x42446b[_0xd22b3(0x2b0)]&&(this[_0xd22b3(0x2f7)]=_0x42446b[_0xd22b3(0x2b0)]),this[_0xd22b3(0x2f7)]){const _0x24db17=this[_0xd22b3(0x234)][_0xd22b3(0x211)](this,_0xd22b3(0x200));this['_removeListeners']=_0x1c366f(this[_0xd22b3(0x2f7)],{'listening':this[_0xd22b3(0x234)][_0xd22b3(0x211)](this,_0xd22b3(0x184)),'error':this['emit'][_0xd22b3(0x211)](this,_0xd22b3(0x166)),'upgrade':(_0x58ab94,_0x10bb90,_0x56299a)=>{const _0x3fd251=_0xd22b3;this[_0x3fd251(0x22f)](_0x58ab94,_0x10bb90,_0x56299a,_0x24db17);}});}_0x42446b[_0xd22b3(0x169)]===!0x0&&(_0x42446b[_0xd22b3(0x169)]={}),_0x42446b['clientTracking']&&(this[_0xd22b3(0x2b3)]=new Set(),this[_0xd22b3(0x30a)]=!0x1),this[_0xd22b3(0x235)]=_0x42446b,this[_0xd22b3(0x289)]=_0x31539d;}[_0x26719d(0x1ae)](){const _0x39ed25=_0x26719d;if(this[_0x39ed25(0x235)][_0x39ed25(0x19e)])throw new Error(_0x39ed25(0x30c));return this[_0x39ed25(0x2f7)]?this[_0x39ed25(0x2f7)][_0x39ed25(0x1ae)]():null;}[_0x26719d(0x286)](_0x38b701){const _0x6595cc=_0x26719d;if(this['_state']===_0x54018c){_0x38b701&&this[_0x6595cc(0x2d6)](_0x6595cc(0x286),()=>{const _0x2dc827=_0x6595cc;_0x38b701(new Error(_0x2dc827(0x19f)));}),process[_0x6595cc(0x255)](_0x53722a,this);return;}if(_0x38b701&&this['once'](_0x6595cc(0x286),_0x38b701),this[_0x6595cc(0x289)]!==_0x5da5f1){if(this[_0x6595cc(0x289)]=_0x5da5f1,this[_0x6595cc(0x235)]['noServer']||this[_0x6595cc(0x235)][_0x6595cc(0x2b0)])this['_server']&&(this['_removeListeners'](),this[_0x6595cc(0x19a)]=this[_0x6595cc(0x2f7)]=null),this[_0x6595cc(0x2b3)]?this[_0x6595cc(0x2b3)][_0x6595cc(0x2d4)]?this[_0x6595cc(0x30a)]=!0x0:process[_0x6595cc(0x255)](_0x53722a,this):process['nextTick'](_0x53722a,this);else{const _0xb840d4=this[_0x6595cc(0x2f7)];this['_removeListeners'](),this[_0x6595cc(0x19a)]=this[_0x6595cc(0x2f7)]=null,_0xb840d4[_0x6595cc(0x286)](()=>{_0x53722a(this);});}}}[_0x26719d(0x251)](_0x43f0a5){const _0x32a553=_0x26719d;if(this[_0x32a553(0x235)][_0x32a553(0x2f5)]){const _0x5a7861=_0x43f0a5[_0x32a553(0x198)][_0x32a553(0x328)]('?');if((_0x5a7861!==-0x1?_0x43f0a5[_0x32a553(0x198)][_0x32a553(0x163)](0x0,_0x5a7861):_0x43f0a5[_0x32a553(0x198)])!==this[_0x32a553(0x235)][_0x32a553(0x2f5)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5099d0,_0x6a9601,_0x31fea9,_0x57ceac){const _0x396aac=_0x26719d;_0x6a9601['on']('error',_0x59ccab);const _0x274114=_0x5099d0[_0x396aac(0x300)][_0x396aac(0x2bf)],_0xbf9df=_0x5099d0[_0x396aac(0x300)][_0x396aac(0x2c7)],_0x2c9255=+_0x5099d0[_0x396aac(0x300)][_0x396aac(0x1a8)];if(_0x5099d0[_0x396aac(0x1e3)]!=='GET'){_0x1497bb(this,_0x5099d0,_0x6a9601,0x195,_0x396aac(0x308));return;}if(_0xbf9df===void 0x0||_0xbf9df[_0x396aac(0x247)]()!==_0x396aac(0x206)){_0x1497bb(this,_0x5099d0,_0x6a9601,0x190,_0x396aac(0x26b));return;}if(_0x274114===void 0x0||!_0x5ac37b[_0x396aac(0x1cc)](_0x274114)){_0x1497bb(this,_0x5099d0,_0x6a9601,0x190,_0x396aac(0x28d));return;}if(_0x2c9255!==0x8&&_0x2c9255!==0xd){_0x1497bb(this,_0x5099d0,_0x6a9601,0x190,_0x396aac(0x32c));return;}if(!this[_0x396aac(0x251)](_0x5099d0)){_0x13c049(_0x6a9601,0x190);return;}const _0x2826e9=_0x5099d0['headers'][_0x396aac(0x22a)];let _0x398f73=new Set();if(_0x2826e9!==void 0x0)try{_0x398f73=_0x3e6eb1[_0x396aac(0x1c6)](_0x2826e9);}catch{_0x1497bb(this,_0x5099d0,_0x6a9601,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x3643d0=_0x5099d0[_0x396aac(0x300)][_0x396aac(0x285)],_0x329335={};if(this[_0x396aac(0x235)][_0x396aac(0x169)]&&_0x3643d0!==void 0x0){const _0x3e1b1a=new _0x43d2fc(this[_0x396aac(0x235)]['perMessageDeflate'],!0x0,this['options'][_0x396aac(0x310)]);try{const _0x37a018=_0x351be1[_0x396aac(0x1c6)](_0x3643d0);_0x37a018[_0x43d2fc[_0x396aac(0x233)]]&&(_0x3e1b1a[_0x396aac(0x227)](_0x37a018[_0x43d2fc[_0x396aac(0x233)]]),_0x329335[_0x43d2fc[_0x396aac(0x233)]]=_0x3e1b1a);}catch{_0x1497bb(this,_0x5099d0,_0x6a9601,0x190,_0x396aac(0x22b));return;}}if(this[_0x396aac(0x235)]['verifyClient']){const _0x1fe4c9={'origin':_0x5099d0[_0x396aac(0x300)][''+(_0x2c9255===0x8?_0x396aac(0x274):_0x396aac(0x193))],'secure':!!(_0x5099d0[_0x396aac(0x1ea)][_0x396aac(0x2b2)]||_0x5099d0[_0x396aac(0x1ea)][_0x396aac(0x1fa)]),'req':_0x5099d0};if(this['options'][_0x396aac(0x2ab)]['length']===0x2){this['options']['verifyClient'](_0x1fe4c9,(_0x5301bb,_0x1c7ff1,_0x1f41da,_0x2f42e9)=>{if(!_0x5301bb)return _0x13c049(_0x6a9601,_0x1c7ff1||0x191,_0x1f41da,_0x2f42e9);this['completeUpgrade'](_0x329335,_0x274114,_0x398f73,_0x5099d0,_0x6a9601,_0x31fea9,_0x57ceac);});return;}if(!this[_0x396aac(0x235)][_0x396aac(0x2ab)](_0x1fe4c9))return _0x13c049(_0x6a9601,0x191);}this[_0x396aac(0x2fe)](_0x329335,_0x274114,_0x398f73,_0x5099d0,_0x6a9601,_0x31fea9,_0x57ceac);}[_0x26719d(0x2fe)](_0xb5f3b9,_0x367b63,_0x56d907,_0xfa484c,_0x44ddaa,_0xedc501,_0x33c280){const _0x3738f2=_0x26719d;if(!_0x44ddaa[_0x3738f2(0x17d)]||!_0x44ddaa[_0x3738f2(0x280)])return _0x44ddaa[_0x3738f2(0x165)]();if(_0x44ddaa[_0x48827a])throw new Error(_0x3738f2(0x2b4));if(this[_0x3738f2(0x289)]>_0x31539d)return _0x13c049(_0x44ddaa,0x1f7);const _0x138285=[_0x3738f2(0x258),_0x3738f2(0x17c),_0x3738f2(0x25e),_0x3738f2(0x31a)+_0x1fb123(_0x3738f2(0x301))[_0x3738f2(0x2ae)](_0x367b63+_0x55982a)[_0x3738f2(0x214)](_0x3738f2(0x21c))],_0x441da4=new this[(_0x3738f2(0x235))][(_0x3738f2(0x1ba))](null,void 0x0,this[_0x3738f2(0x235)]);if(_0x56d907[_0x3738f2(0x2d4)]){const _0x1a6eab=this['options'][_0x3738f2(0x311)]?this[_0x3738f2(0x235)][_0x3738f2(0x311)](_0x56d907,_0xfa484c):_0x56d907['values']()[_0x3738f2(0x273)]()[_0x3738f2(0x1ab)];_0x1a6eab&&(_0x138285[_0x3738f2(0x1e5)](_0x3738f2(0x16a)+_0x1a6eab),_0x441da4[_0x3738f2(0x2bb)]=_0x1a6eab);}if(_0xb5f3b9[_0x43d2fc[_0x3738f2(0x233)]]){const _0x1d0514=_0xb5f3b9[_0x43d2fc[_0x3738f2(0x233)]]['params'],_0x84d0e5=_0x351be1['format']({[_0x43d2fc['extensionName']]:[_0x1d0514]});_0x138285[_0x3738f2(0x1e5)](_0x3738f2(0x239)+_0x84d0e5),_0x441da4['_extensions']=_0xb5f3b9;}this[_0x3738f2(0x234)]('headers',_0x138285,_0xfa484c),_0x44ddaa[_0x3738f2(0x213)](_0x138285[_0x3738f2(0x295)]('\x0d\x0a')['join']('\x0d\x0a')),_0x44ddaa[_0x3738f2(0x252)](_0x3738f2(0x166),_0x59ccab),_0x441da4[_0x3738f2(0x171)](_0x44ddaa,_0xedc501,{'allowSynchronousEvents':this['options'][_0x3738f2(0x2e5)],'maxPayload':this[_0x3738f2(0x235)]['maxPayload'],'skipUTF8Validation':this['options'][_0x3738f2(0x1cf)]}),this[_0x3738f2(0x2b3)]&&(this[_0x3738f2(0x2b3)][_0x3738f2(0x1b4)](_0x441da4),_0x441da4['on']('close',()=>{const _0x663335=_0x3738f2;this[_0x663335(0x2b3)][_0x663335(0x203)](_0x441da4),this[_0x663335(0x30a)]&&!this[_0x663335(0x2b3)][_0x663335(0x2d4)]&&process['nextTick'](_0x53722a,this);})),_0x33c280(_0x441da4,_0xfa484c);}}Te=_0x5eaca7;function _0x1c366f(_0x309eb8,_0x5378ea){const _0x5928c9=_0x26719d;for(const _0xe9aae3 of Object[_0x5928c9(0x269)](_0x5378ea))_0x309eb8['on'](_0xe9aae3,_0x5378ea[_0xe9aae3]);return function(){const _0x5f3a82=_0x5928c9;for(const _0x373f03 of Object[_0x5f3a82(0x269)](_0x5378ea))_0x309eb8[_0x5f3a82(0x252)](_0x373f03,_0x5378ea[_0x373f03]);};}function _0x53722a(_0x5208c7){const _0x45f9f9=_0x26719d;_0x5208c7['_state']=_0x54018c,_0x5208c7[_0x45f9f9(0x234)]('close');}function _0x59ccab(){this['destroy']();}function _0x13c049(_0x3cbcb5,_0x10062b,_0x1e5847,_0x16f217){const _0x589038=_0x26719d;_0x1e5847=_0x1e5847||_0xf1771b[_0x589038(0x173)][_0x10062b],_0x16f217={'Connection':_0x589038(0x286),'Content-Type':'text/html','Content-Length':Buffer[_0x589038(0x302)](_0x1e5847),..._0x16f217},_0x3cbcb5['once'](_0x589038(0x30f),_0x3cbcb5[_0x589038(0x165)]),_0x3cbcb5[_0x589038(0x2dc)](_0x589038(0x2c4)+_0x10062b+'\x20'+_0xf1771b[_0x589038(0x173)][_0x10062b]+'\x0d\x0a'+Object[_0x589038(0x269)](_0x16f217)[_0x589038(0x24e)](_0x30068f=>_0x30068f+':\x20'+_0x16f217[_0x30068f])[_0x589038(0x189)]('\x0d\x0a')+_0x589038(0x2f9)+_0x1e5847);}function _0x1497bb(_0x3c0471,_0x5ec2b6,_0xb16d8f,_0x583da0,_0xa28cc7){const _0x87501c=_0x26719d;if(_0x3c0471['listenerCount'](_0x87501c(0x24d))){const _0x1c4cdb=new Error(_0xa28cc7);Error[_0x87501c(0x260)](_0x1c4cdb,_0x1497bb),_0x3c0471[_0x87501c(0x234)]('wsClientError',_0x1c4cdb,_0xb16d8f,_0x5ec2b6);}else _0x13c049(_0xb16d8f,_0x583da0,_0xa28cc7);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x5dd109,_0x4b7437,_0x43fb85,_0x133d20)=>{const _0x3f2e77=_0x53714c;for(var _0x1b1c8a=_0x133d20>0x1?void 0x0:_0x133d20?jt(_0x4b7437,_0x43fb85):_0x4b7437,_0x491b43=_0x5dd109[_0x3f2e77(0x27f)]-0x1,_0x3f7680;_0x491b43>=0x0;_0x491b43--)(_0x3f7680=_0x5dd109[_0x491b43])&&(_0x1b1c8a=_0x3f7680(_0x1b1c8a)||_0x1b1c8a);return _0x1b1c8a;},qt=(_0x4e43d9,_0x4c591c)=>(_0x2e6b40,_0x52b411)=>_0x4c591c(_0x2e6b40,_0x52b411,_0x4e43d9);let ke=class extends A[_0x53714c(0x241)]{constructor(_0x4502c7){super(),this['_configService']=_0x4502c7;}[_0x53714c(0x174)](_0x500bc7){const _0x34dcb5=_0x53714c;var _0x4682ac;const _0x4a5c44=(_0x4682ac=this[_0x34dcb5(0x21f)][_0x34dcb5(0x236)](fe))==null?void 0x0:_0x4682ac['customHeaders'];try{const _0x1e6170=new $t(_0x500bc7,{'headers':{..._0x4a5c44}}),_0x2bf5e0=new A['DisposableCollection']();return{'URL':_0x500bc7,'close':(_0x143a2f,_0x580574)=>{const _0x2274c6=_0x34dcb5;_0x1e6170[_0x2274c6(0x286)](_0x143a2f,_0x580574),_0x2bf5e0['dispose']();},'send':_0x1135c0=>{const _0xa75df2=_0x34dcb5;_0x1e6170[_0xa75df2(0x284)](_0x1135c0);},'open$':new V[(_0x34dcb5(0x303))](_0xabf545=>{const _0x3e5b8b=_0x34dcb5,_0x874896=_0x55b80b=>_0xabf545[_0x3e5b8b(0x273)](_0x55b80b);_0x1e6170[_0x3e5b8b(0x270)](_0x3e5b8b(0x290),_0x874896),_0x2bf5e0[_0x3e5b8b(0x1b4)](A[_0x3e5b8b(0x246)](()=>_0x1e6170[_0x3e5b8b(0x2ce)](_0x3e5b8b(0x290),_0x874896)));})[_0x34dcb5(0x275)](V['share']()),'close$':new V[(_0x34dcb5(0x303))](_0x1ee5f6=>{const _0x1fc2a9=_0x34dcb5,_0x16146b=_0x58e7c4=>_0x1ee5f6[_0x1fc2a9(0x273)](_0x58e7c4);_0x1e6170[_0x1fc2a9(0x270)](_0x1fc2a9(0x286),_0x16146b),_0x2bf5e0['add'](A[_0x1fc2a9(0x246)](()=>_0x1e6170[_0x1fc2a9(0x2ce)](_0x1fc2a9(0x286),_0x16146b)));})[_0x34dcb5(0x275)](V[_0x34dcb5(0x23b)]()),'error$':new V['Observable'](_0x56f06d=>{const _0x13669f=_0x34dcb5,_0x44edb2=_0x15b2d6=>_0x56f06d['next'](_0x15b2d6);_0x1e6170[_0x13669f(0x270)](_0x13669f(0x166),_0x44edb2),_0x2bf5e0[_0x13669f(0x1b4)](A[_0x13669f(0x246)](()=>_0x1e6170[_0x13669f(0x2ce)](_0x13669f(0x166),_0x44edb2)));})[_0x34dcb5(0x275)](V['share']()),'message$':new V['Observable'](_0x57b2e2=>{const _0x5b30dc=_0x34dcb5,_0x1a8b8e=_0x5abe40=>_0x57b2e2[_0x5b30dc(0x273)](_0x5abe40);_0x1e6170['addEventListener'](_0x5b30dc(0x330),_0x1a8b8e),_0x2bf5e0['add'](A[_0x5b30dc(0x246)](()=>_0x1e6170[_0x5b30dc(0x2ce)](_0x5b30dc(0x330),_0x1a8b8e)));})[_0x34dcb5(0x275)](V[_0x34dcb5(0x23b)]())};}catch(_0x55e267){return console[_0x34dcb5(0x166)](_0x55e267),null;}}};ke=Wt([qt(0x0,A[_0x53714c(0x323)])],ke);var Gt=Object[_0x53714c(0x2d5)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x374947,_0x14170c,_0x422387)=>_0x14170c in _0x374947?Gt(_0x374947,_0x14170c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x422387}):_0x374947[_0x14170c]=_0x422387,zt=(_0xac3ceb,_0x3be0d5,_0x2ed448,_0x385e96)=>{for(var _0x4da10b=_0x385e96>0x1?void 0x0:_0x385e96?Vt(_0x3be0d5,_0x2ed448):_0x3be0d5,_0xc08d55=_0xac3ceb['length']-0x1,_0x5dc5c3;_0xc08d55>=0x0;_0xc08d55--)(_0x5dc5c3=_0xac3ceb[_0xc08d55])&&(_0x4da10b=_0x5dc5c3(_0x4da10b)||_0x4da10b);return _0x4da10b;},Ne=(_0x515cb2,_0x26fd10)=>(_0x4186ab,_0x22931b)=>_0x26fd10(_0x4186ab,_0x22931b,_0x515cb2),Yt=(_0xa4d43f,_0x46d79b,_0x2ddace)=>Ht(_0xa4d43f,_0x46d79b+'',_0x2ddace);exports[_0x53714c(0x1ce)]=class extends A[_0x53714c(0x272)]{constructor(_0x2b85d0=Ct,_0x2f8ee9,_0x5ba895,_0xcfa717){const _0x2f67ed=_0x53714c;_0x2b85d0[_0x2f67ed(0x31d)]||_0x2f8ee9[_0x2f67ed(0x1a0)](_0x2f67ed(0x1a3)),super(),this['_configService']=_0x5ba895,this[_0x2f67ed(0x297)]=_0xcfa717,this[_0x2f67ed(0x21f)][_0x2f67ed(0x22e)](fe,_0x2b85d0);}[_0x53714c(0x2bc)](){this['_registerDependencies']();}[_0x53714c(0x2b9)](){const _0x5d32ab=_0x53714c;A['registerDependencies'](this['_injector'],[[st[_0x5d32ab(0x16b)],{'useClass':ke}]]);}},Yt(exports[_0x53714c(0x1ce)],_0x53714c(0x194),_0x53714c(0x1d7)),exports[_0x53714c(0x1ce)]=zt([A[_0x53714c(0x293)](rt['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x53714c(0x32a)]),Ne(0x2,A[_0x53714c(0x323)]),Ne(0x3,A[_0x53714c(0x2a0)](A['Injector']))],exports[_0x53714c(0x1ce)]);var Kt=Object[_0x53714c(0x164)],Xt=(_0x4f2a90,_0x3c5d76,_0x5158ab,_0x1f4a7f)=>{const _0x536624=_0x53714c;for(var _0x3497b5=_0x1f4a7f>0x1?void 0x0:_0x1f4a7f?Kt(_0x3c5d76,_0x5158ab):_0x3c5d76,_0x2a14da=_0x4f2a90[_0x536624(0x27f)]-0x1,_0x1ae5fa;_0x2a14da>=0x0;_0x2a14da--)(_0x1ae5fa=_0x4f2a90[_0x2a14da])&&(_0x3497b5=_0x1ae5fa(_0x3497b5)||_0x3497b5);return _0x3497b5;},ne=(_0x55a909,_0x477920)=>(_0x201b77,_0x33ef9f)=>_0x477920(_0x201b77,_0x33ef9f,_0x55a909);exports[_0x53714c(0x24c)]=class extends rt[_0x53714c(0x21a)]{constructor(_0x5f43b4,_0x40dd2e,_0x20c801,_0x1c82be,_0x5ca04c){const _0x435af3=_0x53714c;super(_0x5f43b4,_0x40dd2e,_0x20c801,_0x1c82be,_0x5ca04c);const _0x5da602=this[_0x435af3(0x21f)][_0x435af3(0x236)](fe);this[_0x435af3(0x2b6)][_0x435af3(0x335)]({'interceptor':(_0x459e07,_0x2ec8e5)=>{const _0x5ea838=_0x435af3;var _0x3c6b71;const _0x4cd7b=_0x459e07[_0x5ea838(0x300)];return(_0x3c6b71=_0x5da602==null?void 0x0:_0x5da602[_0x5ea838(0x31d)])!=null&&_0x3c6b71[_0x5ea838(0x313)]&&_0x4cd7b[_0x5ea838(0x1d9)]('Cookie',_0x5da602[_0x5ea838(0x31d)][_0x5ea838(0x313)]),_0x2ec8e5(_0x459e07);}});}async[_0x53714c(0x174)](_0xc8fa6b){const _0x166179=_0x53714c;return this[_0x166179(0x2be)](_0xc8fa6b);}},exports[_0x53714c(0x24c)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](st[_0x53714c(0x237)])),ne(0x2,A[_0x53714c(0x323)]),ne(0x3,A[_0x53714c(0x32a)]),ne(0x4,Ot[_0x53714c(0x192)])],exports['NodeCollaborationSocketService']),exports[_0x53714c(0x325)]=fe;