@univerjs-pro/collaboration-client-node 0.6.7-experimental.20250331-45dde91 → 0.6.7-experimental.20250331-958639c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x3958e0=_0x1677;(function(_0x4eaa41,_0x219296){const _0x496759=_0x1677,_0x12479b=_0x4eaa41();while(!![]){try{const _0x53dbff=parseInt(_0x496759(0x34a))/0x1+parseInt(_0x496759(0x245))/0x2*(-parseInt(_0x496759(0x369))/0x3)+-parseInt(_0x496759(0x274))/0x4*(parseInt(_0x496759(0x36d))/0x5)+-parseInt(_0x496759(0x3b7))/0x6+-parseInt(_0x496759(0x2e2))/0x7*(-parseInt(_0x496759(0x296))/0x8)+parseInt(_0x496759(0x286))/0x9*(-parseInt(_0x496759(0x213))/0xa)+-parseInt(_0x496759(0x3b1))/0xb*(-parseInt(_0x496759(0x2a0))/0xc);if(_0x53dbff===_0x219296)break;else _0x12479b['push'](_0x12479b['shift']());}catch(_0x119478){_0x12479b['push'](_0x12479b['shift']());}}}(_0x625d,0xe529a));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const st=require(_0x3958e0(0x33b)),A=require(_0x3958e0(0x37d)),it=require(_0x3958e0(0x2ac)),V=require(_0x3958e0(0x2d7)),nt=require(_0x3958e0(0x23a)),vt=require(_0x3958e0(0x205)),ot=require(_0x3958e0(0x36a)),St=require(_0x3958e0(0x348)),Et=require(_0x3958e0(0x2fa)),Le=require(_0x3958e0(0x31b)),oe=require(_0x3958e0(0x2c2)),xt=require('url'),bt=require('zlib'),wt=require(_0x3958e0(0x2b9)),Ot=require(_0x3958e0(0x24b)),fe=_0x3958e0(0x368),Ct={'customHeaders':{}};function Tt(_0x4c2e6a){const _0x409c6c=_0x3958e0;return _0x4c2e6a&&_0x4c2e6a[_0x409c6c(0x2db)]&&Object[_0x409c6c(0x2f4)]['hasOwnProperty'][_0x409c6c(0x271)](_0x4c2e6a,_0x409c6c(0x354))?_0x4c2e6a[_0x409c6c(0x354)]:_0x4c2e6a;}function at(_0x3cd785){const _0x3cb414=_0x3958e0;if(Object[_0x3cb414(0x2f4)][_0x3cb414(0x269)][_0x3cb414(0x271)](_0x3cd785,_0x3cb414(0x2db)))return _0x3cd785;var _0x28f2da=_0x3cd785[_0x3cb414(0x354)];if(typeof _0x28f2da==_0x3cb414(0x279)){var _0x56be0b=function _0x5bac08(){const _0x4086f3=_0x3cb414;return this instanceof _0x5bac08?Reflect['construct'](_0x28f2da,arguments,this['constructor']):_0x28f2da[_0x4086f3(0x2b7)](this,arguments);};_0x56be0b['prototype']=_0x28f2da[_0x3cb414(0x2f4)];}else _0x56be0b={};return Object[_0x3cb414(0x391)](_0x56be0b,_0x3cb414(0x2db),{'value':!0x0}),Object[_0x3cb414(0x246)](_0x3cd785)[_0x3cb414(0x287)](function(_0x4972a5){const _0x4067e0=_0x3cb414;var _0x297755=Object[_0x4067e0(0x385)](_0x3cd785,_0x4972a5);Object[_0x4067e0(0x391)](_0x56be0b,_0x4972a5,_0x297755[_0x4067e0(0x282)]?_0x297755:{'enumerable':!0x0,'get':function(){return _0x3cd785[_0x4972a5];}});}),_0x56be0b;}var se={'exports':{}},ge,Ge;function H(){const _0x5809ed=_0x3958e0;if(Ge)return ge;Ge=0x1;const _0x1d6bca=[_0x5809ed(0x2b1),_0x5809ed(0x36e),_0x5809ed(0x263)],_0x2e623f=typeof Blob<'u';return _0x2e623f&&_0x1d6bca[_0x5809ed(0x2d1)](_0x5809ed(0x334)),ge={'BINARY_TYPES':_0x1d6bca,'EMPTY_BUFFER':Buffer[_0x5809ed(0x1f4)](0x0),'GUID':_0x5809ed(0x3b3),'hasBlob':_0x2e623f,'kForOnEventAttribute':Symbol(_0x5809ed(0x3b5)),'kListener':Symbol(_0x5809ed(0x2de)),'kStatusCode':Symbol(_0x5809ed(0x2a3)),'kWebSocket':Symbol(_0x5809ed(0x222)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x3958e0(0x391)]({'__proto__':null,'default':Nt},Symbol[_0x3958e0(0x371)],{'value':_0x3958e0(0x225)})),Lt=at(kt);function _0x625d(){const _0x27f72a=['__esModule','_closeMessage','open','kListener','reset','isInteger','size','587258XJxqXZ','_max_window_bits','_masked','maxPayload','finish','defaultPort','_destroy','WS_ERR_UNEXPECTED_RSV_1','File','share','getBlobData','_maskBuffer','clientMaxWindowBits','toString','startLoop','GET','nextTick','onerror','prototype','species','concurrencyLimit','isPaused','perMessageDeflate','data','tls','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20end\x20of\x20input','The\x20server\x20is\x20not\x20running','setNoDelay','isIP','Blob','STATUS_CODES','invalid\x20UTF-8\x20sequence','search','Unexpected\x20character\x20at\x20index\x20','_isServer','connect','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','clientNoContextTakeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sha1','dispatch','kData','wss:','toLowerCase','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','createConnection','response','map','COLLABORATION_CLIENT_NODE_CONFIG_KEY','extensions','HTTP/1.1\x20101\x20Switching\x20Protocols','\x0d\x0a\x0d\x0a','_server','generateMask','CONNECTING','Sec-WebSocket-Extensions','crypto','_originalHostOrSocketPath','create','_queue','kAborted','_totalPayloadLength','Cookie','sec-websocket-extensions','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','verifyClient','_bufferedBytes','format','_buffers','destroyed','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Extensions:\x20','CollaborationSocketService','readOnly','auth','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','send','dataMessage','delete','_allowSynchronousEvents','host','blob','sec-websocket-key','_url','getData','_closeTimer','includes','drain','@univerjs-pro/collaboration-client','onopen','\x22\x20subprotocol\x20is\x20duplicated','ILogService','noServer','onStarting','_errorEmitted','haveLength','Sec-WebSocket-Protocol:\x20','_final','_shouldEmitClose','fin','concat','net','Opening\x20handshake\x20has\x20timed\x20out','94873tXAXuV','sec-websocket-origin','byteOffset','indexOf','replace','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','find','compress','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','ping','default','followRedirects','url','_generateMask','wasClean','_messageLength','customHeaders','zlibInflateOptions','_firstFragment','reason','_doCreateSocket','decompress','acceptAsServer','protocolVersion','string','_deflate','uncork','toDisposable','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','sec-websocket-protocol','collaboration-client-node.config','56127uAWdmV','http','objectMode','_readableState','377080xzBzEb','arraybuffer','Disposable','readUInt16BE','toStringTag','_socket','isView','authorization','end','enqueue','removeListener','_sender','env','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sendFrame','_paused','@univerjs/core','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20WebSocket\x20frame:\x20','resume','buffers','DisposableCollection','cleanup','Invalid\x20Upgrade\x20header','getOwnPropertyDescriptor','OPEN','object','isValidUTF8','number','error','clients','errorEmitted','WS_ERR_EXPECTED_MASK','Basic\x20','Parameter\x20\x22','MASK\x20must\x20be\x20set','defineProperty','_protocol','Origin','has','_no_context_takeover','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pipe','destroy','\x22:\x20','WS_NO_BUFFER_UTIL','parse','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','NodeCollaborationSocketService','listeners','_readyState','maskBuffer','createSocket','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kWasClean','origin','once','next','protocol','options','ws+unix:','pending','normalizeParams','WS_ERR_INVALID_CLOSE_CODE','CLOSED','byteLength','opcode','servername','11trduMS','serverMaxWindowBits','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','addEventListener','kIsForOnEventAttribute','WS_ERR_EXPECTED_FIN','823404tVkNWy','invalid\x20opcode\x20','handleUpgrade','address','value','socket','alloc','allowSynchronousEvents','emitClose','_receiver','createDeflateRaw','getPayloadLength16','join','threshold','request','Sec-WebSocket-Protocol','authorized','startsWith','maxRedirects','Z_SYNC_FLUSH','slice','The\x20\x22','_httpService','https','total-length','writeUIntBE','charCodeAt','_closeFrameSent','kMessage','_threshold','encrypted','onmessage','message','conclude','pathname','_extensions','permessage-deflate','10cCMeYy','_originalSecure','_write','isBuffer','port','test','_state','kByteLength','_originalIpc','shift','mask','WS_ERR_INVALID_UTF8','CLOSING','UniverCollaborationClientNodePlugin','socketPath','websocket','_writableState','arrayBuffer','Module','method','write','_injector','kDone','WS_ERR_UNEXPECTED_MASK','getMask','username','target','_inflate','jobs','unmask','setHeader','consume','pong','Unsupported\x20protocol\x20version:\x20','kType','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WS_ERR_UNEXPECTED_RSV_2_3','pause','ws:','events','finishRequest','path','accept','exports','Server\x20sent\x20an\x20invalid\x20subprotocol','_loop','removeEventListener','Invalid\x20HTTP\x20method','invalid\x20status\x20code\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','136csAGef','keys','_closeFrameReceived','createInflateRaw','https:','timeout','@univerjs-pro/collaboration','bufferedAmount','listen','_autoPong','digest','captureStackTrace','cookie','WebSocket\x20is\x20not\x20open:\x20readyState\x20','server_max_window_bits','Sec-WebSocket-Origin','params','invalid\x20opcode\x200','completeUpgrade','client_max_window_bits','shouldHandle','Invalid\x20value\x20for\x20parameter\x20\x22','type','upgrade','Z_DEFAULT_WINDOWBITS','code','readyState','removeAllListeners','read','server_no_context_takeover','fragments','writeHead','_opcode','emit','abort','headers','hasOwnProperty','RSV1\x20must\x20be\x20clear','Invalid\x20Sec-WebSocket-Accept\x20header','wsClientError','from','The\x20URL\x27s\x20pathname\x20is\x20empty','add','_skipUTF8Validation','call','extensionName','frame','8uEnIxD','base64','bind','close','_fragments','function','offer','_registerDependencies','registerDependencies','_configService','setTimeout','then','Sec-WebSocket-Accept:\x20','statusCode','get','_binaryType','handleProtocols','_payloadLength','8022816GzIgub','forEach','acceptAsClient','_req','getPayloadLength64','hostname','serverNoContextTakeover','createServer','Max\x20payload\x20size\x20exceeded','kReason','writeUInt16BE','length','terminate','skipUTF8Validation','HTTPService','client_no_context_takeover','64KwNULw','Server\x20sent\x20no\x20subprotocol','sec-websocket-version','needDrain','Injector','password','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','listening','_mask','server','31491924tKoArv','_fragmented','handleEvent','status-code','location','MASK\x20must\x20be\x20clear','HTTP/1.1\x20','_fin','Invalid\x20Sec-WebSocket-Protocol\x20header','pow','warn','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','@univerjs/network','Upgrade','autoPong','controlMessage','WS_NO_UTF_8_VALIDATE','nodebuffer','_removeListeners','isArray','onclose','createError','ISnapshotServerService','apply','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','buffer','_compress','UniverCollaborationClientPlugin','getInfo','_closeCode','WS_ERR_INVALID_OPCODE','Maximum\x20redirects\x20exceeded','_bufferedAmount','listenerCount','stream','_redirects','pluginName','_maxPayload','IConfigService','clientTracking','client','set','Inject','_options','allocUnsafe','Invalid\x20Sec-WebSocket-Extensions\x20header','binaryType','unshift','Invalid\x20URL:\x20','push','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_errored','Observable','update','_compressed','rxjs','finished','dequeue','DependentOn'];_0x625d=function(){return _0x27f72a;};return _0x625d();}var Ve;function ce(){const _0x3655a1=_0x3958e0;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x6e77c5}=H(),_0x13b7c2=Buffer[Symbol['species']];function _0x2e2c2b(_0x1fa2e4,_0x5a8d6e){const _0x308988=_0x1677;if(_0x1fa2e4[_0x308988(0x291)]===0x0)return _0x6e77c5;if(_0x1fa2e4[_0x308988(0x291)]===0x1)return _0x1fa2e4[0x0];const _0x37f139=Buffer[_0x308988(0x2cc)](_0x5a8d6e);let _0x465404=0x0;for(let _0x4a19b6=0x0;_0x4a19b6<_0x1fa2e4[_0x308988(0x291)];_0x4a19b6++){const _0x2806ec=_0x1fa2e4[_0x4a19b6];_0x37f139['set'](_0x2806ec,_0x465404),_0x465404+=_0x2806ec[_0x308988(0x291)];}return _0x465404<_0x5a8d6e?new _0x13b7c2(_0x37f139['buffer'],_0x37f139[_0x308988(0x34c)],_0x465404):_0x37f139;}function _0x5e418a(_0x1ee71d,_0x3624cb,_0x10407f,_0x13cd12,_0x51ee53){for(let _0x5191f7=0x0;_0x5191f7<_0x51ee53;_0x5191f7++)_0x10407f[_0x13cd12+_0x5191f7]=_0x1ee71d[_0x5191f7]^_0x3624cb[_0x5191f7&0x3];}function _0x365636(_0x335bac,_0x3cdd4b){const _0x32b6e5=_0x1677;for(let _0x168229=0x0;_0x168229<_0x335bac[_0x32b6e5(0x291)];_0x168229++)_0x335bac[_0x168229]^=_0x3cdd4b[_0x168229&0x3];}function _0x4d223b(_0x1537b3){const _0x53eaba=_0x1677;return _0x1537b3[_0x53eaba(0x291)]===_0x1537b3[_0x53eaba(0x2b9)][_0x53eaba(0x3ae)]?_0x1537b3[_0x53eaba(0x2b9)]:_0x1537b3[_0x53eaba(0x2b9)][_0x53eaba(0x202)](_0x1537b3['byteOffset'],_0x1537b3['byteOffset']+_0x1537b3[_0x53eaba(0x291)]);}function _0x5c473a(_0x121af7){const _0x59123f=_0x1677;if(_0x5c473a[_0x59123f(0x32c)]=!0x0,Buffer[_0x59123f(0x216)](_0x121af7))return _0x121af7;let _0x525362;return _0x121af7 instanceof ArrayBuffer?_0x525362=new _0x13b7c2(_0x121af7):ArrayBuffer[_0x59123f(0x373)](_0x121af7)?_0x525362=new _0x13b7c2(_0x121af7[_0x59123f(0x2b9)],_0x121af7['byteOffset'],_0x121af7['byteLength']):(_0x525362=Buffer[_0x59123f(0x26d)](_0x121af7),_0x5c473a[_0x59123f(0x32c)]=!0x1),_0x525362;}if(se[_0x3655a1(0x23e)]={'concat':_0x2e2c2b,'mask':_0x5e418a,'toArrayBuffer':_0x4d223b,'toBuffer':_0x5c473a,'unmask':_0x365636},!process[_0x3655a1(0x379)][_0x3655a1(0x39a)])try{const _0x56010c=Lt;se['exports'][_0x3655a1(0x21d)]=function(_0x1c365f,_0x450e87,_0x113315,_0x5e4642,_0x205d81){const _0x9465c3=_0x3655a1;_0x205d81<0x30?_0x5e418a(_0x1c365f,_0x450e87,_0x113315,_0x5e4642,_0x205d81):_0x56010c[_0x9465c3(0x21d)](_0x1c365f,_0x450e87,_0x113315,_0x5e4642,_0x205d81);},se[_0x3655a1(0x23e)][_0x3655a1(0x230)]=function(_0x5e373e,_0x177ad0){const _0x203783=_0x3655a1;_0x5e373e['length']<0x20?_0x365636(_0x5e373e,_0x177ad0):_0x56010c[_0x203783(0x230)](_0x5e373e,_0x177ad0);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x3bc963=_0x3958e0;if(He)return ye;He=0x1;const _0x38dc30=Symbol(_0x3bc963(0x229)),_0x4cc392=Symbol('kRun');class _0x4c55fd{constructor(_0x322075){const _0x4fc0db=_0x3bc963;this[_0x38dc30]=()=>{this['pending']--,this[_0x4cc392]();},this['concurrency']=_0x322075||0x1/0x0,this[_0x4fc0db(0x22f)]=[],this[_0x4fc0db(0x3aa)]=0x0;}[_0x3bc963(0x26f)](_0x5bd140){const _0x419956=_0x3bc963;this[_0x419956(0x22f)][_0x419956(0x2d1)](_0x5bd140),this[_0x4cc392]();}[_0x4cc392](){const _0x4a59d8=_0x3bc963;if(this['pending']!==this['concurrency']&&this[_0x4a59d8(0x22f)][_0x4a59d8(0x291)]){const _0x43ef0f=this[_0x4a59d8(0x22f)][_0x4a59d8(0x21c)]();this[_0x4a59d8(0x3aa)]++,_0x43ef0f(this[_0x38dc30]);}}}return ye=_0x4c55fd,ye;}var ve,ze;function _0x1677(_0x2c96fa,_0x143d4b){const _0x625d41=_0x625d();return _0x1677=function(_0x1677db,_0x402f6c){_0x1677db=_0x1677db-0x1ef;let _0x263d40=_0x625d41[_0x1677db];return _0x263d40;},_0x1677(_0x2c96fa,_0x143d4b);}function he(){const _0x222d8b=_0x3958e0;if(ze)return ve;ze=0x1;const _0x2964ed=bt,_0x1cdc5d=ce(),_0x243216=Pt(),{kStatusCode:_0x4bb1ea}=H(),_0xc52603=Buffer[Symbol['species']],_0x28f7ab=Buffer[_0x222d8b(0x26d)]([0x0,0x0,0xff,0xff]),_0x2791c9=Symbol(_0x222d8b(0x212)),_0x3626f7=Symbol(_0x222d8b(0x206)),_0x36c85e=Symbol('callback'),_0x21f26c=Symbol(_0x222d8b(0x381)),_0x19b12c=Symbol(_0x222d8b(0x38a));let _0x2a19a8;class _0x5b445d{constructor(_0x1f3d2e,_0x524230,_0x3d96a4){const _0x3aa279=_0x222d8b;if(this[_0x3aa279(0x2c5)]=_0x3d96a4|0x0,this[_0x3aa279(0x2cb)]=_0x1f3d2e||{},this[_0x3aa279(0x20b)]=this[_0x3aa279(0x2cb)][_0x3aa279(0x1fb)]!==void 0x0?this[_0x3aa279(0x2cb)][_0x3aa279(0x1fb)]:0x400,this['_isServer']=!!_0x524230,this['_deflate']=null,this[_0x3aa279(0x22e)]=null,this[_0x3aa279(0x255)]=null,!_0x2a19a8){const _0x32761b=this[_0x3aa279(0x2cb)][_0x3aa279(0x2f6)]!==void 0x0?this[_0x3aa279(0x2cb)][_0x3aa279(0x2f6)]:0xa;_0x2a19a8=new _0x243216(_0x32761b);}}static get[_0x222d8b(0x272)](){const _0x209953=_0x222d8b;return _0x209953(0x212);}[_0x222d8b(0x27a)](){const _0x1b30c5=_0x222d8b,_0xf4fba3={};return this['_options']['serverNoContextTakeover']&&(_0xf4fba3[_0x1b30c5(0x262)]=!0x0),this[_0x1b30c5(0x2cb)][_0x1b30c5(0x308)]&&(_0xf4fba3[_0x1b30c5(0x295)]=!0x0),this['_options'][_0x1b30c5(0x3b2)]&&(_0xf4fba3[_0x1b30c5(0x253)]=this[_0x1b30c5(0x2cb)][_0x1b30c5(0x3b2)]),this[_0x1b30c5(0x2cb)][_0x1b30c5(0x2ee)]?_0xf4fba3[_0x1b30c5(0x258)]=this[_0x1b30c5(0x2cb)][_0x1b30c5(0x2ee)]:this[_0x1b30c5(0x2cb)][_0x1b30c5(0x2ee)]==null&&(_0xf4fba3[_0x1b30c5(0x258)]=!0x0),_0xf4fba3;}[_0x222d8b(0x23d)](_0x52e605){const _0x4597cf=_0x222d8b;return _0x52e605=this[_0x4597cf(0x3ab)](_0x52e605),this[_0x4597cf(0x255)]=this['_isServer']?this[_0x4597cf(0x360)](_0x52e605):this['acceptAsClient'](_0x52e605),this[_0x4597cf(0x255)];}[_0x222d8b(0x383)](){const _0xed20bb=_0x222d8b;if(this[_0xed20bb(0x22e)]&&(this['_inflate'][_0xed20bb(0x277)](),this[_0xed20bb(0x22e)]=null),this[_0xed20bb(0x363)]){const _0x1b7aa8=this[_0xed20bb(0x363)][_0x36c85e];this[_0xed20bb(0x363)][_0xed20bb(0x277)](),this['_deflate']=null,_0x1b7aa8&&_0x1b7aa8(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x222d8b(0x360)](_0x517310){const _0x4aa565=_0x222d8b,_0x2f3d48=this[_0x4aa565(0x2cb)],_0x55aa47=_0x517310[_0x4aa565(0x350)](_0x5919c6=>!(_0x2f3d48[_0x4aa565(0x28c)]===!0x1&&_0x5919c6[_0x4aa565(0x262)]||_0x5919c6[_0x4aa565(0x253)]&&(_0x2f3d48[_0x4aa565(0x3b2)]===!0x1||typeof _0x2f3d48['serverMaxWindowBits']==_0x4aa565(0x389)&&_0x2f3d48['serverMaxWindowBits']>_0x5919c6['server_max_window_bits'])||typeof _0x2f3d48['clientMaxWindowBits']==_0x4aa565(0x389)&&!_0x5919c6[_0x4aa565(0x258)]));if(!_0x55aa47)throw new Error(_0x4aa565(0x396));return _0x2f3d48[_0x4aa565(0x28c)]&&(_0x55aa47[_0x4aa565(0x262)]=!0x0),_0x2f3d48['clientNoContextTakeover']&&(_0x55aa47[_0x4aa565(0x295)]=!0x0),typeof _0x2f3d48['serverMaxWindowBits']==_0x4aa565(0x389)&&(_0x55aa47[_0x4aa565(0x253)]=_0x2f3d48[_0x4aa565(0x3b2)]),typeof _0x2f3d48['clientMaxWindowBits']==_0x4aa565(0x389)?_0x55aa47['client_max_window_bits']=_0x2f3d48[_0x4aa565(0x2ee)]:(_0x55aa47['client_max_window_bits']===!0x0||_0x2f3d48['clientMaxWindowBits']===!0x1)&&delete _0x55aa47[_0x4aa565(0x258)],_0x55aa47;}[_0x222d8b(0x288)](_0x1602f4){const _0x33ba42=_0x222d8b,_0x56838b=_0x1602f4[0x0];if(this['_options'][_0x33ba42(0x308)]===!0x1&&_0x56838b[_0x33ba42(0x295)])throw new Error(_0x33ba42(0x34f));if(!_0x56838b['client_max_window_bits'])typeof this[_0x33ba42(0x2cb)][_0x33ba42(0x2ee)]==_0x33ba42(0x389)&&(_0x56838b[_0x33ba42(0x258)]=this[_0x33ba42(0x2cb)][_0x33ba42(0x2ee)]);else{if(this[_0x33ba42(0x2cb)]['clientMaxWindowBits']===!0x1||typeof this[_0x33ba42(0x2cb)][_0x33ba42(0x2ee)]==_0x33ba42(0x389)&&_0x56838b['client_max_window_bits']>this[_0x33ba42(0x2cb)][_0x33ba42(0x2ee)])throw new Error(_0x33ba42(0x309));}return _0x56838b;}[_0x222d8b(0x3ab)](_0x48cb17){const _0x1f5f48=_0x222d8b;return _0x48cb17[_0x1f5f48(0x287)](_0x5f086a=>{Object['keys'](_0x5f086a)['forEach'](_0x118a05=>{const _0x58bd15=_0x1677;let _0x520fc2=_0x5f086a[_0x118a05];if(_0x520fc2['length']>0x1)throw new Error(_0x58bd15(0x38f)+_0x118a05+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x520fc2=_0x520fc2[0x0],_0x118a05===_0x58bd15(0x258)){if(_0x520fc2!==!0x0){const _0x3e5407=+_0x520fc2;if(!Number[_0x58bd15(0x2e0)](_0x3e5407)||_0x3e5407<0x8||_0x3e5407>0xf)throw new TypeError(_0x58bd15(0x25a)+_0x118a05+_0x58bd15(0x399)+_0x520fc2);_0x520fc2=_0x3e5407;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x118a05+_0x58bd15(0x399)+_0x520fc2);}}else{if(_0x118a05==='server_max_window_bits'){const _0x1cf15b=+_0x520fc2;if(!Number[_0x58bd15(0x2e0)](_0x1cf15b)||_0x1cf15b<0x8||_0x1cf15b>0xf)throw new TypeError(_0x58bd15(0x25a)+_0x118a05+_0x58bd15(0x399)+_0x520fc2);_0x520fc2=_0x1cf15b;}else{if(_0x118a05==='client_no_context_takeover'||_0x118a05===_0x58bd15(0x262)){if(_0x520fc2!==!0x0)throw new TypeError(_0x58bd15(0x25a)+_0x118a05+_0x58bd15(0x399)+_0x520fc2);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x118a05+'\x22');}}_0x5f086a[_0x118a05]=_0x520fc2;});}),_0x48cb17;}[_0x222d8b(0x35f)](_0xcb0b65,_0x5eeff4,_0x932ddc){const _0x33ec9c=_0x222d8b;_0x2a19a8[_0x33ec9c(0x26f)](_0x1fcaf4=>{this['_decompress'](_0xcb0b65,_0x5eeff4,(_0x55ec53,_0x408775)=>{_0x1fcaf4(),_0x932ddc(_0x55ec53,_0x408775);});});}[_0x222d8b(0x351)](_0x4f8288,_0x47f361,_0x3fcda5){const _0xc96fc4=_0x222d8b;_0x2a19a8[_0xc96fc4(0x26f)](_0x41826a=>{const _0x3d1b84=_0xc96fc4;this[_0x3d1b84(0x2ba)](_0x4f8288,_0x47f361,(_0x48ccd7,_0x348e79)=>{_0x41826a(),_0x3fcda5(_0x48ccd7,_0x348e79);});});}['_decompress'](_0x56d099,_0x3e6f36,_0x38510b){const _0x21cd73=_0x222d8b,_0x334f02=this[_0x21cd73(0x305)]?_0x21cd73(0x2c8):'server';if(!this[_0x21cd73(0x22e)]){const _0x47c169=_0x334f02+'_max_window_bits',_0x4c358d=typeof this[_0x21cd73(0x255)][_0x47c169]!='number'?_0x2964ed[_0x21cd73(0x25d)]:this[_0x21cd73(0x255)][_0x47c169];this[_0x21cd73(0x22e)]=_0x2964ed[_0x21cd73(0x248)]({...this[_0x21cd73(0x2cb)][_0x21cd73(0x35b)],'windowBits':_0x4c358d}),this[_0x21cd73(0x22e)][_0x2791c9]=this,this['_inflate'][_0x3626f7]=0x0,this[_0x21cd73(0x22e)][_0x21f26c]=[],this[_0x21cd73(0x22e)]['on'](_0x21cd73(0x38a),_0x158cd4),this[_0x21cd73(0x22e)]['on'](_0x21cd73(0x2f9),_0x2c0f81);}this[_0x21cd73(0x22e)][_0x36c85e]=_0x38510b,this[_0x21cd73(0x22e)][_0x21cd73(0x227)](_0x56d099),_0x3e6f36&&this['_inflate'][_0x21cd73(0x227)](_0x28f7ab),this[_0x21cd73(0x22e)]['flush'](()=>{const _0x536cd3=_0x21cd73,_0x4953e6=this[_0x536cd3(0x22e)][_0x19b12c];if(_0x4953e6){this[_0x536cd3(0x22e)][_0x536cd3(0x277)](),this[_0x536cd3(0x22e)]=null,_0x38510b(_0x4953e6);return;}const _0x38c13b=_0x1cdc5d[_0x536cd3(0x347)](this['_inflate'][_0x21f26c],this['_inflate'][_0x3626f7]);this['_inflate'][_0x536cd3(0x36c)]['endEmitted']?(this['_inflate'][_0x536cd3(0x277)](),this[_0x536cd3(0x22e)]=null):(this['_inflate'][_0x3626f7]=0x0,this[_0x536cd3(0x22e)][_0x21f26c]=[],_0x3e6f36&&this[_0x536cd3(0x255)][_0x334f02+'_no_context_takeover']&&this['_inflate'][_0x536cd3(0x2df)]()),_0x38510b(null,_0x38c13b);});}[_0x222d8b(0x2ba)](_0x1b02f7,_0x5ccdb5,_0x54c93c){const _0x532ecb=_0x222d8b,_0x2007c6=this['_isServer']?_0x532ecb(0x29f):_0x532ecb(0x2c8);if(!this[_0x532ecb(0x363)]){const _0x230f1e=_0x2007c6+_0x532ecb(0x2e3),_0x268815=typeof this['params'][_0x230f1e]!=_0x532ecb(0x389)?_0x2964ed[_0x532ecb(0x25d)]:this[_0x532ecb(0x255)][_0x230f1e];this[_0x532ecb(0x363)]=_0x2964ed[_0x532ecb(0x1f8)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x268815}),this[_0x532ecb(0x363)][_0x3626f7]=0x0,this[_0x532ecb(0x363)][_0x21f26c]=[],this[_0x532ecb(0x363)]['on'](_0x532ecb(0x2f9),_0x46f3aa);}this[_0x532ecb(0x363)][_0x36c85e]=_0x54c93c,this[_0x532ecb(0x363)][_0x532ecb(0x227)](_0x1b02f7),this[_0x532ecb(0x363)]['flush'](_0x2964ed[_0x532ecb(0x201)],()=>{const _0x464d41=_0x532ecb;if(!this['_deflate'])return;let _0x569c96=_0x1cdc5d[_0x464d41(0x347)](this[_0x464d41(0x363)][_0x21f26c],this['_deflate'][_0x3626f7]);_0x5ccdb5&&(_0x569c96=new _0xc52603(_0x569c96['buffer'],_0x569c96['byteOffset'],_0x569c96['length']-0x4)),this[_0x464d41(0x363)][_0x36c85e]=null,this[_0x464d41(0x363)][_0x3626f7]=0x0,this[_0x464d41(0x363)][_0x21f26c]=[],_0x5ccdb5&&this[_0x464d41(0x255)][_0x2007c6+_0x464d41(0x395)]&&this['_deflate'][_0x464d41(0x2df)](),_0x54c93c(null,_0x569c96);});}}ve=_0x5b445d;function _0x46f3aa(_0x2e35f3){const _0x510276=_0x222d8b;this[_0x21f26c][_0x510276(0x2d1)](_0x2e35f3),this[_0x3626f7]+=_0x2e35f3[_0x510276(0x291)];}function _0x2c0f81(_0x3c8b42){const _0x5f4662=_0x222d8b;if(this[_0x3626f7]+=_0x3c8b42['length'],this[_0x2791c9]['_maxPayload']<0x1||this[_0x3626f7]<=this[_0x2791c9]['_maxPayload']){this[_0x21f26c]['push'](_0x3c8b42);return;}this[_0x19b12c]=new RangeError(_0x5f4662(0x28e)),this[_0x19b12c][_0x5f4662(0x25e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x19b12c][_0x4bb1ea]=0x3f1,this[_0x5f4662(0x377)](_0x5f4662(0x2f9),_0x2c0f81),this[_0x5f4662(0x2df)]();}function _0x158cd4(_0x1db465){const _0x267714=_0x222d8b;this[_0x2791c9][_0x267714(0x22e)]=null,_0x1db465[_0x4bb1ea]=0x3ef,this[_0x36c85e](_0x1db465);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x3958e0(0x391)]({'__proto__':null,'default':Dt},Symbol[_0x3958e0(0x371)],{'value':_0x3958e0(0x225)})),Bt=at(Rt);var Ye;function ae(){const _0x8ba487=_0x3958e0;if(Ye)return ie[_0x8ba487(0x23e)];Ye=0x1;const {isUtf8:_0x37695f}=wt,{hasBlob:_0x26bab2}=H(),_0x5a0da8=[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 _0x178413(_0x3bff5d){return _0x3bff5d>=0x3e8&&_0x3bff5d<=0x3f6&&_0x3bff5d!==0x3ec&&_0x3bff5d!==0x3ed&&_0x3bff5d!==0x3ee||_0x3bff5d>=0xbb8&&_0x3bff5d<=0x1387;}function _0x3c10ee(_0x2789eb){const _0x945ee8=_0x8ba487,_0x304689=_0x2789eb[_0x945ee8(0x291)];let _0x262018=0x0;for(;_0x262018<_0x304689;)if((_0x2789eb[_0x262018]&0x80)===0x0)_0x262018++;else{if((_0x2789eb[_0x262018]&0xe0)===0xc0){if(_0x262018+0x1===_0x304689||(_0x2789eb[_0x262018+0x1]&0xc0)!==0x80||(_0x2789eb[_0x262018]&0xfe)===0xc0)return!0x1;_0x262018+=0x2;}else{if((_0x2789eb[_0x262018]&0xf0)===0xe0){if(_0x262018+0x2>=_0x304689||(_0x2789eb[_0x262018+0x1]&0xc0)!==0x80||(_0x2789eb[_0x262018+0x2]&0xc0)!==0x80||_0x2789eb[_0x262018]===0xe0&&(_0x2789eb[_0x262018+0x1]&0xe0)===0x80||_0x2789eb[_0x262018]===0xed&&(_0x2789eb[_0x262018+0x1]&0xe0)===0xa0)return!0x1;_0x262018+=0x3;}else{if((_0x2789eb[_0x262018]&0xf8)===0xf0){if(_0x262018+0x3>=_0x304689||(_0x2789eb[_0x262018+0x1]&0xc0)!==0x80||(_0x2789eb[_0x262018+0x2]&0xc0)!==0x80||(_0x2789eb[_0x262018+0x3]&0xc0)!==0x80||_0x2789eb[_0x262018]===0xf0&&(_0x2789eb[_0x262018+0x1]&0xf0)===0x80||_0x2789eb[_0x262018]===0xf4&&_0x2789eb[_0x262018+0x1]>0x8f||_0x2789eb[_0x262018]>0xf4)return!0x1;_0x262018+=0x4;}else return!0x1;}}}return!0x0;}function _0x2fd5a2(_0x4ff322){const _0x2939e9=_0x8ba487;return _0x26bab2&&typeof _0x4ff322==_0x2939e9(0x387)&&typeof _0x4ff322[_0x2939e9(0x224)]=='function'&&typeof _0x4ff322['type']==_0x2939e9(0x362)&&typeof _0x4ff322[_0x2939e9(0x2c2)]==_0x2939e9(0x279)&&(_0x4ff322[Symbol[_0x2939e9(0x371)]]===_0x2939e9(0x300)||_0x4ff322[Symbol['toStringTag']]===_0x2939e9(0x2ea));}if(ie[_0x8ba487(0x23e)]={'isBlob':_0x2fd5a2,'isValidStatusCode':_0x178413,'isValidUTF8':_0x3c10ee,'tokenChars':_0x5a0da8},_0x37695f)ie[_0x8ba487(0x23e)][_0x8ba487(0x388)]=function(_0x3ef6fd){return _0x3ef6fd['length']<0x18?_0x3c10ee(_0x3ef6fd):_0x37695f(_0x3ef6fd);};else{if(!process[_0x8ba487(0x379)][_0x8ba487(0x2b0)])try{const _0x4aeb45=Bt;ie['exports'][_0x8ba487(0x388)]=function(_0x205847){const _0x107da4=_0x8ba487;return _0x205847[_0x107da4(0x291)]<0x20?_0x3c10ee(_0x205847):_0x4aeb45(_0x205847);};}catch{}}return ie[_0x8ba487(0x23e)];}var Se,Ke;function lt(){const _0x4b0403=_0x3958e0;if(Ke)return Se;Ke=0x1;const {Writable:_0x551117}=oe,_0x57d064=he(),{BINARY_TYPES:_0x36705f,EMPTY_BUFFER:_0x5b588f,kStatusCode:_0x417f65,kWebSocket:_0x5c4e99}=H(),{concat:_0xc189b8,toArrayBuffer:_0x454d34,unmask:_0x5d7402}=ce(),{isValidStatusCode:_0x20d73d,isValidUTF8:_0x251369}=ae(),_0x23b076=Buffer[Symbol[_0x4b0403(0x2f5)]],_0x1d46f3=0x0,_0x147fc7=0x1,_0x467360=0x2,_0x5c0bee=0x3,_0x5c97e9=0x4,_0x576d03=0x5,_0x1fd258=0x6;class _0x38dfcd extends _0x551117{constructor(_0x2fbe6c={}){const _0x359d7d=_0x4b0403;super(),this[_0x359d7d(0x332)]=_0x2fbe6c[_0x359d7d(0x1f5)]!==void 0x0?_0x2fbe6c['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x2fbe6c[_0x359d7d(0x2ce)]||_0x36705f[0x0],this[_0x359d7d(0x211)]=_0x2fbe6c[_0x359d7d(0x314)]||{},this[_0x359d7d(0x305)]=!!_0x2fbe6c['isServer'],this['_maxPayload']=_0x2fbe6c['maxPayload']|0x0,this[_0x359d7d(0x270)]=!!_0x2fbe6c[_0x359d7d(0x293)],this[_0x5c4e99]=void 0x0,this['_bufferedBytes']=0x0,this[_0x359d7d(0x327)]=[],this[_0x359d7d(0x2d6)]=!0x1,this[_0x359d7d(0x285)]=0x0,this[_0x359d7d(0x29e)]=void 0x0,this[_0x359d7d(0x2a1)]=0x0,this['_masked']=!0x1,this[_0x359d7d(0x2a7)]=!0x1,this['_opcode']=0x0,this[_0x359d7d(0x320)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x359d7d(0x2d3)]=!0x1,this['_loop']=!0x1,this[_0x359d7d(0x219)]=_0x1d46f3;}[_0x4b0403(0x215)](_0x18985e,_0x395c3f,_0x4d5484){const _0x258046=_0x4b0403;if(this['_opcode']===0x8&&this[_0x258046(0x219)]==_0x1d46f3)return _0x4d5484();this[_0x258046(0x325)]+=_0x18985e['length'],this['_buffers']['push'](_0x18985e),this['startLoop'](_0x4d5484);}[_0x4b0403(0x232)](_0x5b6481){const _0x42da22=_0x4b0403;if(this[_0x42da22(0x325)]-=_0x5b6481,_0x5b6481===this[_0x42da22(0x327)][0x0][_0x42da22(0x291)])return this[_0x42da22(0x327)][_0x42da22(0x21c)]();if(_0x5b6481<this[_0x42da22(0x327)][0x0][_0x42da22(0x291)]){const _0x122148=this['_buffers'][0x0];return this[_0x42da22(0x327)][0x0]=new _0x23b076(_0x122148[_0x42da22(0x2b9)],_0x122148['byteOffset']+_0x5b6481,_0x122148[_0x42da22(0x291)]-_0x5b6481),new _0x23b076(_0x122148[_0x42da22(0x2b9)],_0x122148[_0x42da22(0x34c)],_0x5b6481);}const _0xbef6c0=Buffer[_0x42da22(0x2cc)](_0x5b6481);do{const _0x28341e=this[_0x42da22(0x327)][0x0],_0x33ec03=_0xbef6c0['length']-_0x5b6481;_0x5b6481>=_0x28341e[_0x42da22(0x291)]?_0xbef6c0['set'](this[_0x42da22(0x327)][_0x42da22(0x21c)](),_0x33ec03):(_0xbef6c0[_0x42da22(0x2c9)](new Uint8Array(_0x28341e[_0x42da22(0x2b9)],_0x28341e['byteOffset'],_0x5b6481),_0x33ec03),this[_0x42da22(0x327)][0x0]=new _0x23b076(_0x28341e[_0x42da22(0x2b9)],_0x28341e[_0x42da22(0x34c)]+_0x5b6481,_0x28341e[_0x42da22(0x291)]-_0x5b6481)),_0x5b6481-=_0x28341e[_0x42da22(0x291)];}while(_0x5b6481>0x0);return _0xbef6c0;}['startLoop'](_0x4536b1){const _0xc5c6ef=_0x4b0403;this[_0xc5c6ef(0x240)]=!0x0;do switch(this[_0xc5c6ef(0x219)]){case _0x1d46f3:this[_0xc5c6ef(0x2bc)](_0x4536b1);break;case _0x147fc7:this['getPayloadLength16'](_0x4536b1);break;case _0x467360:this[_0xc5c6ef(0x28a)](_0x4536b1);break;case _0x5c0bee:this[_0xc5c6ef(0x22b)]();break;case _0x5c97e9:this[_0xc5c6ef(0x337)](_0x4536b1);break;case _0x576d03:case _0x1fd258:this[_0xc5c6ef(0x240)]=!0x1;return;}while(this['_loop']);this[_0xc5c6ef(0x2d3)]||_0x4536b1();}[_0x4b0403(0x2bc)](_0x2ee2b7){const _0x33a0d8=_0x4b0403;if(this[_0x33a0d8(0x325)]<0x2){this['_loop']=!0x1;return;}const _0x4048e3=this[_0x33a0d8(0x232)](0x2);if((_0x4048e3[0x0]&0x30)!==0x0){const _0x46b5b1=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x33a0d8(0x237));_0x2ee2b7(_0x46b5b1);return;}const _0x5a83a0=(_0x4048e3[0x0]&0x40)===0x40;if(_0x5a83a0&&!this[_0x33a0d8(0x211)][_0x57d064[_0x33a0d8(0x272)]]){const _0x373e09=this[_0x33a0d8(0x2b5)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2ee2b7(_0x373e09);return;}if(this[_0x33a0d8(0x2a7)]=(_0x4048e3[0x0]&0x80)===0x80,this['_opcode']=_0x4048e3[0x0]&0xf,this[_0x33a0d8(0x285)]=_0x4048e3[0x1]&0x7f,this[_0x33a0d8(0x265)]===0x0){if(_0x5a83a0){const _0x36f5e2=this[_0x33a0d8(0x2b5)](RangeError,_0x33a0d8(0x26a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2ee2b7(_0x36f5e2);return;}if(!this[_0x33a0d8(0x2a1)]){const _0x1c43d3=this['createError'](RangeError,_0x33a0d8(0x256),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2ee2b7(_0x1c43d3);return;}this[_0x33a0d8(0x265)]=this[_0x33a0d8(0x2a1)];}else{if(this[_0x33a0d8(0x265)]===0x1||this[_0x33a0d8(0x265)]===0x2){if(this[_0x33a0d8(0x2a1)]){const _0x795a7f=this[_0x33a0d8(0x2b5)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x33a0d8(0x2be));_0x2ee2b7(_0x795a7f);return;}this['_compressed']=_0x5a83a0;}else{if(this['_opcode']>0x7&&this[_0x33a0d8(0x265)]<0xb){if(!this[_0x33a0d8(0x2a7)]){const _0x1c440f=this[_0x33a0d8(0x2b5)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x33a0d8(0x3b6));_0x2ee2b7(_0x1c440f);return;}if(_0x5a83a0){const _0xefc981=this[_0x33a0d8(0x2b5)](RangeError,_0x33a0d8(0x26a),!0x0,0x3ea,_0x33a0d8(0x2e9));_0x2ee2b7(_0xefc981);return;}if(this[_0x33a0d8(0x285)]>0x7d||this[_0x33a0d8(0x265)]===0x8&&this[_0x33a0d8(0x285)]===0x1){const _0x5b12f9=this[_0x33a0d8(0x2b5)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x33a0d8(0x285)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2ee2b7(_0x5b12f9);return;}}else{const _0x8c407c=this[_0x33a0d8(0x2b5)](RangeError,_0x33a0d8(0x1ef)+this['_opcode'],!0x0,0x3ea,_0x33a0d8(0x2be));_0x2ee2b7(_0x8c407c);return;}}}if(!this[_0x33a0d8(0x2a7)]&&!this[_0x33a0d8(0x2a1)]&&(this[_0x33a0d8(0x2a1)]=this[_0x33a0d8(0x265)]),this[_0x33a0d8(0x2e4)]=(_0x4048e3[0x1]&0x80)===0x80,this[_0x33a0d8(0x305)]){if(!this['_masked']){const _0x4b6209=this[_0x33a0d8(0x2b5)](RangeError,_0x33a0d8(0x390),!0x0,0x3ea,_0x33a0d8(0x38d));_0x2ee2b7(_0x4b6209);return;}}else{if(this[_0x33a0d8(0x2e4)]){const _0x207dbe=this[_0x33a0d8(0x2b5)](RangeError,_0x33a0d8(0x2a5),!0x0,0x3ea,_0x33a0d8(0x22a));_0x2ee2b7(_0x207dbe);return;}}this[_0x33a0d8(0x285)]===0x7e?this['_state']=_0x147fc7:this['_payloadLength']===0x7f?this[_0x33a0d8(0x219)]=_0x467360:this[_0x33a0d8(0x342)](_0x2ee2b7);}[_0x4b0403(0x1f9)](_0x24a091){const _0x40f957=_0x4b0403;if(this[_0x40f957(0x325)]<0x2){this[_0x40f957(0x240)]=!0x1;return;}this[_0x40f957(0x285)]=this['consume'](0x2)[_0x40f957(0x370)](0x0),this['haveLength'](_0x24a091);}[_0x4b0403(0x28a)](_0x5d183c){const _0x44badf=_0x4b0403;if(this['_bufferedBytes']<0x8){this[_0x44badf(0x240)]=!0x1;return;}const _0x3466b3=this[_0x44badf(0x232)](0x8),_0x500c0d=_0x3466b3['readUInt32BE'](0x0);if(_0x500c0d>Math['pow'](0x2,0x15)-0x1){const _0x10369b=this[_0x44badf(0x2b5)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x44badf(0x366));_0x5d183c(_0x10369b);return;}this['_payloadLength']=_0x500c0d*Math[_0x44badf(0x2a9)](0x2,0x20)+_0x3466b3['readUInt32BE'](0x4),this['haveLength'](_0x5d183c);}[_0x4b0403(0x342)](_0x1c9ac5){const _0x3c312a=_0x4b0403;if(this[_0x3c312a(0x285)]&&this[_0x3c312a(0x265)]<0x8&&(this[_0x3c312a(0x320)]+=this[_0x3c312a(0x285)],this[_0x3c312a(0x320)]>this[_0x3c312a(0x2c5)]&&this[_0x3c312a(0x2c5)]>0x0)){const _0x511e67=this[_0x3c312a(0x2b5)](RangeError,_0x3c312a(0x28e),!0x1,0x3f1,_0x3c312a(0x37e));_0x1c9ac5(_0x511e67);return;}this['_masked']?this[_0x3c312a(0x219)]=_0x5c0bee:this[_0x3c312a(0x219)]=_0x5c97e9;}[_0x4b0403(0x22b)](){const _0x125330=_0x4b0403;if(this[_0x125330(0x325)]<0x4){this['_loop']=!0x1;return;}this[_0x125330(0x29e)]=this[_0x125330(0x232)](0x4),this[_0x125330(0x219)]=_0x5c97e9;}['getData'](_0x15674f){const _0x348b1c=_0x4b0403;let _0x3560d5=_0x5b588f;if(this['_payloadLength']){if(this[_0x348b1c(0x325)]<this['_payloadLength']){this[_0x348b1c(0x240)]=!0x1;return;}_0x3560d5=this[_0x348b1c(0x232)](this[_0x348b1c(0x285)]),this['_masked']&&(this[_0x348b1c(0x29e)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x348b1c(0x29e)][0x3])!==0x0&&_0x5d7402(_0x3560d5,this[_0x348b1c(0x29e)]);}if(this['_opcode']>0x7){this[_0x348b1c(0x2af)](_0x3560d5,_0x15674f);return;}if(this['_compressed']){this[_0x348b1c(0x219)]=_0x576d03,this['decompress'](_0x3560d5,_0x15674f);return;}_0x3560d5[_0x348b1c(0x291)]&&(this[_0x348b1c(0x359)]=this[_0x348b1c(0x320)],this['_fragments'][_0x348b1c(0x2d1)](_0x3560d5)),this[_0x348b1c(0x330)](_0x15674f);}[_0x4b0403(0x35f)](_0x10d603,_0x427899){const _0x1414d0=_0x4b0403;this[_0x1414d0(0x211)][_0x57d064[_0x1414d0(0x272)]][_0x1414d0(0x35f)](_0x10d603,this[_0x1414d0(0x2a7)],(_0x57995d,_0xe6b312)=>{const _0x4585e8=_0x1414d0;if(_0x57995d)return _0x427899(_0x57995d);if(_0xe6b312[_0x4585e8(0x291)]){if(this['_messageLength']+=_0xe6b312[_0x4585e8(0x291)],this[_0x4585e8(0x359)]>this[_0x4585e8(0x2c5)]&&this[_0x4585e8(0x2c5)]>0x0){const _0xa98bd9=this[_0x4585e8(0x2b5)](RangeError,_0x4585e8(0x28e),!0x1,0x3f1,_0x4585e8(0x37e));_0x427899(_0xa98bd9);return;}this[_0x4585e8(0x278)]['push'](_0xe6b312);}this[_0x4585e8(0x330)](_0x427899),this[_0x4585e8(0x219)]===_0x1d46f3&&this[_0x4585e8(0x2f0)](_0x427899);});}['dataMessage'](_0x432f2a){const _0x577eca=_0x4b0403;if(!this[_0x577eca(0x2a7)]){this[_0x577eca(0x219)]=_0x1d46f3;return;}const _0x25b070=this[_0x577eca(0x359)],_0x37d2fb=this[_0x577eca(0x278)];if(this[_0x577eca(0x320)]=0x0,this[_0x577eca(0x359)]=0x0,this[_0x577eca(0x2a1)]=0x0,this[_0x577eca(0x278)]=[],this[_0x577eca(0x265)]===0x2){let _0x183b35;this[_0x577eca(0x283)]==='nodebuffer'?_0x183b35=_0xc189b8(_0x37d2fb,_0x25b070):this['_binaryType']==='arraybuffer'?_0x183b35=_0x454d34(_0xc189b8(_0x37d2fb,_0x25b070)):this[_0x577eca(0x283)]==='blob'?_0x183b35=new Blob(_0x37d2fb):_0x183b35=_0x37d2fb,this[_0x577eca(0x332)]?(this['emit'](_0x577eca(0x20e),_0x183b35,!0x0),this[_0x577eca(0x219)]=_0x1d46f3):(this[_0x577eca(0x219)]=_0x1fd258,setImmediate(()=>{const _0xa6ec5b=_0x577eca;this[_0xa6ec5b(0x266)](_0xa6ec5b(0x20e),_0x183b35,!0x0),this[_0xa6ec5b(0x219)]=_0x1d46f3,this[_0xa6ec5b(0x2f0)](_0x432f2a);}));}else{const _0x5924d8=_0xc189b8(_0x37d2fb,_0x25b070);if(!this['_skipUTF8Validation']&&!_0x251369(_0x5924d8)){const _0x5a1686=this[_0x577eca(0x2b5)](Error,_0x577eca(0x302),!0x0,0x3ef,_0x577eca(0x21e));_0x432f2a(_0x5a1686);return;}this[_0x577eca(0x219)]===_0x576d03||this[_0x577eca(0x332)]?(this['emit'](_0x577eca(0x20e),_0x5924d8,!0x1),this[_0x577eca(0x219)]=_0x1d46f3):(this['_state']=_0x1fd258,setImmediate(()=>{const _0x52d6f3=_0x577eca;this[_0x52d6f3(0x266)](_0x52d6f3(0x20e),_0x5924d8,!0x1),this[_0x52d6f3(0x219)]=_0x1d46f3,this[_0x52d6f3(0x2f0)](_0x432f2a);}));}}[_0x4b0403(0x2af)](_0x4031ae,_0x33bf69){const _0x1960da=_0x4b0403;if(this[_0x1960da(0x265)]===0x8){if(_0x4031ae[_0x1960da(0x291)]===0x0)this['_loop']=!0x1,this[_0x1960da(0x266)](_0x1960da(0x20f),0x3ed,_0x5b588f),this[_0x1960da(0x375)]();else{const _0x50b2f3=_0x4031ae[_0x1960da(0x370)](0x0);if(!_0x20d73d(_0x50b2f3)){const _0x436a65=this['createError'](RangeError,_0x1960da(0x243)+_0x50b2f3,!0x0,0x3ea,_0x1960da(0x3ac));_0x33bf69(_0x436a65);return;}const _0x1bc0a2=new _0x23b076(_0x4031ae[_0x1960da(0x2b9)],_0x4031ae[_0x1960da(0x34c)]+0x2,_0x4031ae[_0x1960da(0x291)]-0x2);if(!this[_0x1960da(0x270)]&&!_0x251369(_0x1bc0a2)){const _0x31a122=this[_0x1960da(0x2b5)](Error,_0x1960da(0x302),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x33bf69(_0x31a122);return;}this[_0x1960da(0x240)]=!0x1,this[_0x1960da(0x266)](_0x1960da(0x20f),_0x50b2f3,_0x1bc0a2),this['end']();}this['_state']=_0x1d46f3;return;}this[_0x1960da(0x332)]?(this[_0x1960da(0x266)](this[_0x1960da(0x265)]===0x9?_0x1960da(0x353):_0x1960da(0x233),_0x4031ae),this['_state']=_0x1d46f3):(this[_0x1960da(0x219)]=_0x1fd258,setImmediate(()=>{const _0x5e77e=_0x1960da;this[_0x5e77e(0x266)](this['_opcode']===0x9?_0x5e77e(0x353):_0x5e77e(0x233),_0x4031ae),this[_0x5e77e(0x219)]=_0x1d46f3,this[_0x5e77e(0x2f0)](_0x33bf69);}));}[_0x4b0403(0x2b5)](_0x34cde1,_0x42713b,_0x5e8cd3,_0x3e9b6c,_0x55cdaf){const _0x4d873b=_0x4b0403;this[_0x4d873b(0x240)]=!0x1,this[_0x4d873b(0x2d3)]=!0x0;const _0x5ba521=new _0x34cde1(_0x5e8cd3?_0x4d873b(0x37f)+_0x42713b:_0x42713b);return Error['captureStackTrace'](_0x5ba521,this['createError']),_0x5ba521[_0x4d873b(0x25e)]=_0x55cdaf,_0x5ba521[_0x417f65]=_0x3e9b6c,_0x5ba521;}}return Se=_0x38dfcd,Se;}var Ee,Xe;function ft(){const _0x12aeb3=_0x3958e0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x532103}=oe,{randomFillSync:_0x7cbdee}=Le,_0x27a012=he(),{EMPTY_BUFFER:_0x350b0e,kWebSocket:_0x58ffde,NOOP:_0x1a9176}=H(),{isBlob:_0x2919ef,isValidStatusCode:_0x55f85a}=ae(),{mask:_0x1fe2de,toBuffer:_0xf05d19}=ce(),_0x363650=Symbol(_0x12aeb3(0x21a)),_0x11068e=Buffer[_0x12aeb3(0x1f4)](0x4),_0x2dd533=0x8*0x400;let _0x1a73b7,_0x10a2c4=_0x2dd533;const _0x411aab=0x0,_0x1c7f32=0x1,_0x2ae7c6=0x2;class _0x58e1f3{constructor(_0x4cbcd0,_0x43168f,_0x1f1db4){const _0x4a2056=_0x12aeb3;this[_0x4a2056(0x211)]=_0x43168f||{},_0x1f1db4&&(this[_0x4a2056(0x357)]=_0x1f1db4,this[_0x4a2056(0x2ed)]=Buffer[_0x4a2056(0x1f4)](0x4)),this[_0x4a2056(0x372)]=_0x4cbcd0,this[_0x4a2056(0x35c)]=!0x0,this['_compress']=!0x1,this[_0x4a2056(0x325)]=0x0,this['_queue']=[],this['_state']=_0x411aab,this[_0x4a2056(0x2f3)]=_0x1a9176,this[_0x58ffde]=void 0x0;}static[_0x12aeb3(0x273)](_0x4e1b2c,_0x4756ce){const _0x3b8ff1=_0x12aeb3;let _0x26c1e4,_0x2a586f=!0x1,_0x343eb1=0x2,_0x581249=!0x1;_0x4756ce[_0x3b8ff1(0x21d)]&&(_0x26c1e4=_0x4756ce[_0x3b8ff1(0x3a0)]||_0x11068e,_0x4756ce[_0x3b8ff1(0x318)]?_0x4756ce[_0x3b8ff1(0x318)](_0x26c1e4):(_0x10a2c4===_0x2dd533&&(_0x1a73b7===void 0x0&&(_0x1a73b7=Buffer['alloc'](_0x2dd533)),_0x7cbdee(_0x1a73b7,0x0,_0x2dd533),_0x10a2c4=0x0),_0x26c1e4[0x0]=_0x1a73b7[_0x10a2c4++],_0x26c1e4[0x1]=_0x1a73b7[_0x10a2c4++],_0x26c1e4[0x2]=_0x1a73b7[_0x10a2c4++],_0x26c1e4[0x3]=_0x1a73b7[_0x10a2c4++]),_0x581249=(_0x26c1e4[0x0]|_0x26c1e4[0x1]|_0x26c1e4[0x2]|_0x26c1e4[0x3])===0x0,_0x343eb1=0x6);let _0x384720;typeof _0x4e1b2c=='string'?(!_0x4756ce[_0x3b8ff1(0x21d)]||_0x581249)&&_0x4756ce[_0x363650]!==void 0x0?_0x384720=_0x4756ce[_0x363650]:(_0x4e1b2c=Buffer[_0x3b8ff1(0x26d)](_0x4e1b2c),_0x384720=_0x4e1b2c[_0x3b8ff1(0x291)]):(_0x384720=_0x4e1b2c[_0x3b8ff1(0x291)],_0x2a586f=_0x4756ce['mask']&&_0x4756ce['readOnly']&&!_0x581249);let _0x38f822=_0x384720;_0x384720>=0x10000?(_0x343eb1+=0x8,_0x38f822=0x7f):_0x384720>0x7d&&(_0x343eb1+=0x2,_0x38f822=0x7e);const _0x5876c9=Buffer[_0x3b8ff1(0x2cc)](_0x2a586f?_0x384720+_0x343eb1:_0x343eb1);return _0x5876c9[0x0]=_0x4756ce[_0x3b8ff1(0x346)]?_0x4756ce[_0x3b8ff1(0x3af)]|0x80:_0x4756ce['opcode'],_0x4756ce['rsv1']&&(_0x5876c9[0x0]|=0x40),_0x5876c9[0x1]=_0x38f822,_0x38f822===0x7e?_0x5876c9[_0x3b8ff1(0x290)](_0x384720,0x2):_0x38f822===0x7f&&(_0x5876c9[0x2]=_0x5876c9[0x3]=0x0,_0x5876c9[_0x3b8ff1(0x207)](_0x384720,0x4,0x6)),_0x4756ce[_0x3b8ff1(0x21d)]?(_0x5876c9[0x1]|=0x80,_0x5876c9[_0x343eb1-0x4]=_0x26c1e4[0x0],_0x5876c9[_0x343eb1-0x3]=_0x26c1e4[0x1],_0x5876c9[_0x343eb1-0x2]=_0x26c1e4[0x2],_0x5876c9[_0x343eb1-0x1]=_0x26c1e4[0x3],_0x581249?[_0x5876c9,_0x4e1b2c]:_0x2a586f?(_0x1fe2de(_0x4e1b2c,_0x26c1e4,_0x5876c9,_0x343eb1,_0x384720),[_0x5876c9]):(_0x1fe2de(_0x4e1b2c,_0x26c1e4,_0x4e1b2c,0x0,_0x384720),[_0x5876c9,_0x4e1b2c])):[_0x5876c9,_0x4e1b2c];}[_0x12aeb3(0x277)](_0x231a6e,_0x39a2c3,_0x43945b,_0x2a9e7d){const _0x1e2555=_0x12aeb3;let _0x276e9e;if(_0x231a6e===void 0x0)_0x276e9e=_0x350b0e;else{if(typeof _0x231a6e!='number'||!_0x55f85a(_0x231a6e))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x39a2c3===void 0x0||!_0x39a2c3[_0x1e2555(0x291)])_0x276e9e=Buffer[_0x1e2555(0x2cc)](0x2),_0x276e9e['writeUInt16BE'](_0x231a6e,0x0);else{const _0x18ed06=Buffer[_0x1e2555(0x3ae)](_0x39a2c3);if(_0x18ed06>0x7b)throw new RangeError(_0x1e2555(0x2d2));_0x276e9e=Buffer[_0x1e2555(0x2cc)](0x2+_0x18ed06),_0x276e9e['writeUInt16BE'](_0x231a6e,0x0),typeof _0x39a2c3==_0x1e2555(0x362)?_0x276e9e[_0x1e2555(0x227)](_0x39a2c3,0x2):_0x276e9e['set'](_0x39a2c3,0x2);}}const _0x2613d1={[_0x363650]:_0x276e9e['length'],'fin':!0x0,'generateMask':this[_0x1e2555(0x357)],'mask':_0x43945b,'maskBuffer':this[_0x1e2555(0x2ed)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1e2555(0x219)]!==_0x411aab?this['enqueue']([this[_0x1e2555(0x30b)],_0x276e9e,!0x1,_0x2613d1,_0x2a9e7d]):this[_0x1e2555(0x37b)](_0x58e1f3['frame'](_0x276e9e,_0x2613d1),_0x2a9e7d);}[_0x12aeb3(0x353)](_0x48d151,_0x8bbb86,_0x40ed64){const _0x1b40af=_0x12aeb3;let _0x174d11,_0x5456e5;if(typeof _0x48d151==_0x1b40af(0x362)?(_0x174d11=Buffer[_0x1b40af(0x3ae)](_0x48d151),_0x5456e5=!0x1):_0x2919ef(_0x48d151)?(_0x174d11=_0x48d151['size'],_0x5456e5=!0x1):(_0x48d151=_0xf05d19(_0x48d151),_0x174d11=_0x48d151['length'],_0x5456e5=_0xf05d19[_0x1b40af(0x32c)]),_0x174d11>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x22f890={[_0x363650]:_0x174d11,'fin':!0x0,'generateMask':this[_0x1b40af(0x357)],'mask':_0x8bbb86,'maskBuffer':this[_0x1b40af(0x2ed)],'opcode':0x9,'readOnly':_0x5456e5,'rsv1':!0x1};_0x2919ef(_0x48d151)?this[_0x1b40af(0x219)]!==_0x411aab?this[_0x1b40af(0x376)]([this[_0x1b40af(0x2ec)],_0x48d151,!0x1,_0x22f890,_0x40ed64]):this[_0x1b40af(0x2ec)](_0x48d151,!0x1,_0x22f890,_0x40ed64):this[_0x1b40af(0x219)]!==_0x411aab?this[_0x1b40af(0x376)]([this['dispatch'],_0x48d151,!0x1,_0x22f890,_0x40ed64]):this[_0x1b40af(0x37b)](_0x58e1f3['frame'](_0x48d151,_0x22f890),_0x40ed64);}[_0x12aeb3(0x233)](_0x400b35,_0x1f0770,_0x157c30){const _0x22dd11=_0x12aeb3;let _0x468e78,_0x4ebd9e;if(typeof _0x400b35==_0x22dd11(0x362)?(_0x468e78=Buffer[_0x22dd11(0x3ae)](_0x400b35),_0x4ebd9e=!0x1):_0x2919ef(_0x400b35)?(_0x468e78=_0x400b35[_0x22dd11(0x2e1)],_0x4ebd9e=!0x1):(_0x400b35=_0xf05d19(_0x400b35),_0x468e78=_0x400b35['length'],_0x4ebd9e=_0xf05d19[_0x22dd11(0x32c)]),_0x468e78>0x7d)throw new RangeError(_0x22dd11(0x323));const _0x4531e2={[_0x363650]:_0x468e78,'fin':!0x0,'generateMask':this[_0x22dd11(0x357)],'mask':_0x1f0770,'maskBuffer':this[_0x22dd11(0x2ed)],'opcode':0xa,'readOnly':_0x4ebd9e,'rsv1':!0x1};_0x2919ef(_0x400b35)?this['_state']!==_0x411aab?this[_0x22dd11(0x376)]([this[_0x22dd11(0x2ec)],_0x400b35,!0x1,_0x4531e2,_0x157c30]):this[_0x22dd11(0x2ec)](_0x400b35,!0x1,_0x4531e2,_0x157c30):this[_0x22dd11(0x219)]!==_0x411aab?this[_0x22dd11(0x376)]([this['dispatch'],_0x400b35,!0x1,_0x4531e2,_0x157c30]):this['sendFrame'](_0x58e1f3[_0x22dd11(0x273)](_0x400b35,_0x4531e2),_0x157c30);}[_0x12aeb3(0x32f)](_0x355f50,_0x4ff5b9,_0x26ee4e){const _0x51d584=_0x12aeb3,_0x38b994=this[_0x51d584(0x211)][_0x27a012[_0x51d584(0x272)]];let _0x3953b8=_0x4ff5b9['binary']?0x2:0x1,_0x3225e4=_0x4ff5b9['compress'],_0x1cf93e,_0x10d9e3;typeof _0x355f50==_0x51d584(0x362)?(_0x1cf93e=Buffer[_0x51d584(0x3ae)](_0x355f50),_0x10d9e3=!0x1):_0x2919ef(_0x355f50)?(_0x1cf93e=_0x355f50[_0x51d584(0x2e1)],_0x10d9e3=!0x1):(_0x355f50=_0xf05d19(_0x355f50),_0x1cf93e=_0x355f50[_0x51d584(0x291)],_0x10d9e3=_0xf05d19[_0x51d584(0x32c)]),this[_0x51d584(0x35c)]?(this['_firstFragment']=!0x1,_0x3225e4&&_0x38b994&&_0x38b994[_0x51d584(0x255)][_0x38b994[_0x51d584(0x305)]?'server_no_context_takeover':_0x51d584(0x295)]&&(_0x3225e4=_0x1cf93e>=_0x38b994[_0x51d584(0x20b)]),this['_compress']=_0x3225e4):(_0x3225e4=!0x1,_0x3953b8=0x0),_0x4ff5b9[_0x51d584(0x346)]&&(this['_firstFragment']=!0x0);const _0x2a5045={[_0x363650]:_0x1cf93e,'fin':_0x4ff5b9['fin'],'generateMask':this[_0x51d584(0x357)],'mask':_0x4ff5b9[_0x51d584(0x21d)],'maskBuffer':this[_0x51d584(0x2ed)],'opcode':_0x3953b8,'readOnly':_0x10d9e3,'rsv1':_0x3225e4};_0x2919ef(_0x355f50)?this[_0x51d584(0x219)]!==_0x411aab?this[_0x51d584(0x376)]([this[_0x51d584(0x2ec)],_0x355f50,this[_0x51d584(0x2ba)],_0x2a5045,_0x26ee4e]):this[_0x51d584(0x2ec)](_0x355f50,this[_0x51d584(0x2ba)],_0x2a5045,_0x26ee4e):this[_0x51d584(0x219)]!==_0x411aab?this[_0x51d584(0x376)]([this[_0x51d584(0x30b)],_0x355f50,this[_0x51d584(0x2ba)],_0x2a5045,_0x26ee4e]):this['dispatch'](_0x355f50,this[_0x51d584(0x2ba)],_0x2a5045,_0x26ee4e);}[_0x12aeb3(0x2ec)](_0x75d46e,_0x53578b,_0x4f9336,_0xcb942){const _0x36695a=_0x12aeb3;this['_bufferedBytes']+=_0x4f9336[_0x363650],this[_0x36695a(0x219)]=_0x2ae7c6,_0x75d46e[_0x36695a(0x224)]()[_0x36695a(0x27f)](_0x17b0c1=>{const _0x3856e0=_0x36695a;if(this[_0x3856e0(0x372)]['destroyed']){const _0x31802a=new Error(_0x3856e0(0x244));process[_0x3856e0(0x2f2)](_0x2be89d,this,_0x31802a,_0xcb942);return;}this[_0x3856e0(0x325)]-=_0x4f9336[_0x363650];const _0x5ea4b3=_0xf05d19(_0x17b0c1);_0x53578b?this[_0x3856e0(0x30b)](_0x5ea4b3,_0x53578b,_0x4f9336,_0xcb942):(this[_0x3856e0(0x219)]=_0x411aab,this[_0x3856e0(0x37b)](_0x58e1f3[_0x3856e0(0x273)](_0x5ea4b3,_0x4f9336),_0xcb942),this[_0x3856e0(0x2d9)]());})['catch'](_0x28f16b=>{const _0x2c60ab=_0x36695a;process[_0x2c60ab(0x2f2)](_0x4ff6b0,this,_0x28f16b,_0xcb942);});}[_0x12aeb3(0x30b)](_0x38ed2e,_0x3fde75,_0x36c226,_0x34d19f){const _0x3b7078=_0x12aeb3;if(!_0x3fde75){this[_0x3b7078(0x37b)](_0x58e1f3[_0x3b7078(0x273)](_0x38ed2e,_0x36c226),_0x34d19f);return;}const _0x86b355=this['_extensions'][_0x27a012[_0x3b7078(0x272)]];this['_bufferedBytes']+=_0x36c226[_0x363650],this[_0x3b7078(0x219)]=_0x1c7f32,_0x86b355[_0x3b7078(0x351)](_0x38ed2e,_0x36c226[_0x3b7078(0x346)],(_0x3c2c88,_0x143b06)=>{const _0xa335f1=_0x3b7078;if(this[_0xa335f1(0x372)][_0xa335f1(0x328)]){const _0x40764f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2be89d(this,_0x40764f,_0x34d19f);return;}this[_0xa335f1(0x325)]-=_0x36c226[_0x363650],this[_0xa335f1(0x219)]=_0x411aab,_0x36c226[_0xa335f1(0x32c)]=!0x1,this[_0xa335f1(0x37b)](_0x58e1f3[_0xa335f1(0x273)](_0x143b06,_0x36c226),_0x34d19f),this[_0xa335f1(0x2d9)]();});}[_0x12aeb3(0x2d9)](){const _0x3bfbe0=_0x12aeb3;for(;this[_0x3bfbe0(0x219)]===_0x411aab&&this[_0x3bfbe0(0x31e)]['length'];){const _0x229024=this[_0x3bfbe0(0x31e)][_0x3bfbe0(0x21c)]();this[_0x3bfbe0(0x325)]-=_0x229024[0x3][_0x363650],Reflect[_0x3bfbe0(0x2b7)](_0x229024[0x0],this,_0x229024[_0x3bfbe0(0x202)](0x1));}}[_0x12aeb3(0x376)](_0x557cff){const _0x4a02f9=_0x12aeb3;this[_0x4a02f9(0x325)]+=_0x557cff[0x3][_0x363650],this['_queue'][_0x4a02f9(0x2d1)](_0x557cff);}['sendFrame'](_0x2aa2fd,_0x5d8989){const _0x532a86=_0x12aeb3;_0x2aa2fd['length']===0x2?(this['_socket']['cork'](),this[_0x532a86(0x372)]['write'](_0x2aa2fd[0x0]),this[_0x532a86(0x372)][_0x532a86(0x227)](_0x2aa2fd[0x1],_0x5d8989),this[_0x532a86(0x372)][_0x532a86(0x364)]()):this[_0x532a86(0x372)][_0x532a86(0x227)](_0x2aa2fd[0x0],_0x5d8989);}}Ee=_0x58e1f3;function _0x2be89d(_0x27808e,_0x3b4cb2,_0x44e0ca){const _0x666548=_0x12aeb3;typeof _0x44e0ca=='function'&&_0x44e0ca(_0x3b4cb2);for(let _0x466f02=0x0;_0x466f02<_0x27808e[_0x666548(0x31e)][_0x666548(0x291)];_0x466f02++){const _0x58b8cd=_0x27808e[_0x666548(0x31e)][_0x466f02],_0x30d882=_0x58b8cd[_0x58b8cd[_0x666548(0x291)]-0x1];typeof _0x30d882==_0x666548(0x279)&&_0x30d882(_0x3b4cb2);}}function _0x4ff6b0(_0x33cf86,_0x229b1a,_0x44d9c8){_0x2be89d(_0x33cf86,_0x229b1a,_0x44d9c8),_0x33cf86['onerror'](_0x229b1a);}return Ee;}var xe,Ze;function It(){const _0x9fabd7=_0x3958e0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x36f289,kListener:_0x57aa14}=H(),_0x507c6b=Symbol('kCode'),_0x289e14=Symbol(_0x9fabd7(0x30c)),_0x277301=Symbol('kError'),_0x1cef82=Symbol(_0x9fabd7(0x20a)),_0x2de5c4=Symbol(_0x9fabd7(0x28f)),_0x2998ff=Symbol('kTarget'),_0x1ebb2=Symbol(_0x9fabd7(0x235)),_0x554de8=Symbol(_0x9fabd7(0x3a3));class _0x48335d{constructor(_0x4afe60){this[_0x2998ff]=null,this[_0x1ebb2]=_0x4afe60;}get[_0x9fabd7(0x22d)](){return this[_0x2998ff];}get['type'](){return this[_0x1ebb2];}}Object[_0x9fabd7(0x391)](_0x48335d['prototype'],_0x9fabd7(0x22d),{'enumerable':!0x0}),Object[_0x9fabd7(0x391)](_0x48335d[_0x9fabd7(0x2f4)],_0x9fabd7(0x25b),{'enumerable':!0x0});class _0x1eed8f extends _0x48335d{constructor(_0x668401,_0x568039={}){const _0x1c1448=_0x9fabd7;super(_0x668401),this[_0x507c6b]=_0x568039[_0x1c1448(0x25e)]===void 0x0?0x0:_0x568039[_0x1c1448(0x25e)],this[_0x2de5c4]=_0x568039[_0x1c1448(0x35d)]===void 0x0?'':_0x568039[_0x1c1448(0x35d)],this[_0x554de8]=_0x568039['wasClean']===void 0x0?!0x1:_0x568039[_0x1c1448(0x358)];}get[_0x9fabd7(0x25e)](){return this[_0x507c6b];}get[_0x9fabd7(0x35d)](){return this[_0x2de5c4];}get[_0x9fabd7(0x358)](){return this[_0x554de8];}}Object[_0x9fabd7(0x391)](_0x1eed8f[_0x9fabd7(0x2f4)],_0x9fabd7(0x25e),{'enumerable':!0x0}),Object[_0x9fabd7(0x391)](_0x1eed8f[_0x9fabd7(0x2f4)],_0x9fabd7(0x35d),{'enumerable':!0x0}),Object[_0x9fabd7(0x391)](_0x1eed8f[_0x9fabd7(0x2f4)],'wasClean',{'enumerable':!0x0});class _0x28d873 extends _0x48335d{constructor(_0x5a608c,_0x4924c8={}){const _0x20a977=_0x9fabd7;super(_0x5a608c),this[_0x277301]=_0x4924c8[_0x20a977(0x38a)]===void 0x0?null:_0x4924c8[_0x20a977(0x38a)],this[_0x1cef82]=_0x4924c8[_0x20a977(0x20e)]===void 0x0?'':_0x4924c8[_0x20a977(0x20e)];}get[_0x9fabd7(0x38a)](){return this[_0x277301];}get[_0x9fabd7(0x20e)](){return this[_0x1cef82];}}Object['defineProperty'](_0x28d873[_0x9fabd7(0x2f4)],'error',{'enumerable':!0x0}),Object[_0x9fabd7(0x391)](_0x28d873[_0x9fabd7(0x2f4)],_0x9fabd7(0x20e),{'enumerable':!0x0});class _0x2cb23f extends _0x48335d{constructor(_0xf8492e,_0x124148={}){const _0x32c3d6=_0x9fabd7;super(_0xf8492e),this[_0x289e14]=_0x124148[_0x32c3d6(0x2f9)]===void 0x0?null:_0x124148['data'];}get[_0x9fabd7(0x2f9)](){return this[_0x289e14];}}Object['defineProperty'](_0x2cb23f[_0x9fabd7(0x2f4)],_0x9fabd7(0x2f9),{'enumerable':!0x0}),xe={'CloseEvent':_0x1eed8f,'ErrorEvent':_0x28d873,'Event':_0x48335d,'EventTarget':{'addEventListener'(_0x5b9abb,_0x3d282f,_0x54a41e={}){const _0x1ae027=_0x9fabd7;for(const _0x3f4563 of this['listeners'](_0x5b9abb))if(!_0x54a41e[_0x36f289]&&_0x3f4563[_0x57aa14]===_0x3d282f&&!_0x3f4563[_0x36f289])return;let _0x4d22e1;if(_0x5b9abb==='message')_0x4d22e1=function(_0x28e3c8,_0x1688c5){const _0x58a166=_0x1677,_0x4f3468=new _0x2cb23f(_0x58a166(0x20e),{'data':_0x1688c5?_0x28e3c8:_0x28e3c8['toString']()});_0x4f3468[_0x2998ff]=this,_0x17aefa(_0x3d282f,this,_0x4f3468);};else{if(_0x5b9abb==='close')_0x4d22e1=function(_0x1dee70,_0x1781ba){const _0x2b0bab=_0x1677,_0x15679a=new _0x1eed8f('close',{'code':_0x1dee70,'reason':_0x1781ba['toString'](),'wasClean':this[_0x2b0bab(0x247)]&&this['_closeFrameSent']});_0x15679a[_0x2998ff]=this,_0x17aefa(_0x3d282f,this,_0x15679a);};else{if(_0x5b9abb===_0x1ae027(0x38a))_0x4d22e1=function(_0x1bf765){const _0x436b7d=_0x1ae027,_0x11402a=new _0x28d873(_0x436b7d(0x38a),{'error':_0x1bf765,'message':_0x1bf765['message']});_0x11402a[_0x2998ff]=this,_0x17aefa(_0x3d282f,this,_0x11402a);};else{if(_0x5b9abb==='open')_0x4d22e1=function(){const _0x39d348=_0x1ae027,_0x46a349=new _0x48335d(_0x39d348(0x2dd));_0x46a349[_0x2998ff]=this,_0x17aefa(_0x3d282f,this,_0x46a349);};else return;}}}_0x4d22e1[_0x36f289]=!!_0x54a41e[_0x36f289],_0x4d22e1[_0x57aa14]=_0x3d282f,_0x54a41e[_0x1ae027(0x3a5)]?this[_0x1ae027(0x3a5)](_0x5b9abb,_0x4d22e1):this['on'](_0x5b9abb,_0x4d22e1);},'removeEventListener'(_0x33ca55,_0x47ac71){const _0x2ae16d=_0x9fabd7;for(const _0x354a3a of this[_0x2ae16d(0x39e)](_0x33ca55))if(_0x354a3a[_0x57aa14]===_0x47ac71&&!_0x354a3a[_0x36f289]){this[_0x2ae16d(0x377)](_0x33ca55,_0x354a3a);break;}}},'MessageEvent':_0x2cb23f};function _0x17aefa(_0x2f0d85,_0x54e2d3,_0x204602){const _0x1cab65=_0x9fabd7;typeof _0x2f0d85=='object'&&_0x2f0d85[_0x1cab65(0x2a2)]?_0x2f0d85[_0x1cab65(0x2a2)][_0x1cab65(0x271)](_0x2f0d85,_0x204602):_0x2f0d85[_0x1cab65(0x271)](_0x54e2d3,_0x204602);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3fbc5c}=ae();function _0x537cd8(_0x25ba4b,_0x488c09,_0x58ed2b){const _0x313900=_0x1677;_0x25ba4b[_0x488c09]===void 0x0?_0x25ba4b[_0x488c09]=[_0x58ed2b]:_0x25ba4b[_0x488c09][_0x313900(0x2d1)](_0x58ed2b);}function _0x54c17a(_0x4f8c19){const _0x5555f4=_0x1677,_0x2ab88e=Object[_0x5555f4(0x31d)](null);let _0x47fe02=Object[_0x5555f4(0x31d)](null),_0x145f4d=!0x1,_0x1e6bdd=!0x1,_0x12a764=!0x1,_0x42c454,_0x503763,_0x4e87b8=-0x1,_0x2321f9=-0x1,_0x41b909=-0x1,_0x285880=0x0;for(;_0x285880<_0x4f8c19['length'];_0x285880++)if(_0x2321f9=_0x4f8c19[_0x5555f4(0x208)](_0x285880),_0x42c454===void 0x0){if(_0x41b909===-0x1&&_0x3fbc5c[_0x2321f9]===0x1)_0x4e87b8===-0x1&&(_0x4e87b8=_0x285880);else{if(_0x285880!==0x0&&(_0x2321f9===0x20||_0x2321f9===0x9))_0x41b909===-0x1&&_0x4e87b8!==-0x1&&(_0x41b909=_0x285880);else{if(_0x2321f9===0x3b||_0x2321f9===0x2c){if(_0x4e87b8===-0x1)throw new SyntaxError(_0x5555f4(0x304)+_0x285880);_0x41b909===-0x1&&(_0x41b909=_0x285880);const _0xa2a4fa=_0x4f8c19[_0x5555f4(0x202)](_0x4e87b8,_0x41b909);_0x2321f9===0x2c?(_0x537cd8(_0x2ab88e,_0xa2a4fa,_0x47fe02),_0x47fe02=Object['create'](null)):_0x42c454=_0xa2a4fa,_0x4e87b8=_0x41b909=-0x1;}else throw new SyntaxError(_0x5555f4(0x304)+_0x285880);}}}else{if(_0x503763===void 0x0){if(_0x41b909===-0x1&&_0x3fbc5c[_0x2321f9]===0x1)_0x4e87b8===-0x1&&(_0x4e87b8=_0x285880);else{if(_0x2321f9===0x20||_0x2321f9===0x9)_0x41b909===-0x1&&_0x4e87b8!==-0x1&&(_0x41b909=_0x285880);else{if(_0x2321f9===0x3b||_0x2321f9===0x2c){if(_0x4e87b8===-0x1)throw new SyntaxError(_0x5555f4(0x304)+_0x285880);_0x41b909===-0x1&&(_0x41b909=_0x285880),_0x537cd8(_0x47fe02,_0x4f8c19['slice'](_0x4e87b8,_0x41b909),!0x0),_0x2321f9===0x2c&&(_0x537cd8(_0x2ab88e,_0x42c454,_0x47fe02),_0x47fe02=Object['create'](null),_0x42c454=void 0x0),_0x4e87b8=_0x41b909=-0x1;}else{if(_0x2321f9===0x3d&&_0x4e87b8!==-0x1&&_0x41b909===-0x1)_0x503763=_0x4f8c19[_0x5555f4(0x202)](_0x4e87b8,_0x285880),_0x4e87b8=_0x41b909=-0x1;else throw new SyntaxError(_0x5555f4(0x304)+_0x285880);}}}}else{if(_0x1e6bdd){if(_0x3fbc5c[_0x2321f9]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x285880);_0x4e87b8===-0x1?_0x4e87b8=_0x285880:_0x145f4d||(_0x145f4d=!0x0),_0x1e6bdd=!0x1;}else{if(_0x12a764){if(_0x3fbc5c[_0x2321f9]===0x1)_0x4e87b8===-0x1&&(_0x4e87b8=_0x285880);else{if(_0x2321f9===0x22&&_0x4e87b8!==-0x1)_0x12a764=!0x1,_0x41b909=_0x285880;else{if(_0x2321f9===0x5c)_0x1e6bdd=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x285880);}}}else{if(_0x2321f9===0x22&&_0x4f8c19[_0x5555f4(0x208)](_0x285880-0x1)===0x3d)_0x12a764=!0x0;else{if(_0x41b909===-0x1&&_0x3fbc5c[_0x2321f9]===0x1)_0x4e87b8===-0x1&&(_0x4e87b8=_0x285880);else{if(_0x4e87b8!==-0x1&&(_0x2321f9===0x20||_0x2321f9===0x9))_0x41b909===-0x1&&(_0x41b909=_0x285880);else{if(_0x2321f9===0x3b||_0x2321f9===0x2c){if(_0x4e87b8===-0x1)throw new SyntaxError(_0x5555f4(0x304)+_0x285880);_0x41b909===-0x1&&(_0x41b909=_0x285880);let _0x550272=_0x4f8c19[_0x5555f4(0x202)](_0x4e87b8,_0x41b909);_0x145f4d&&(_0x550272=_0x550272[_0x5555f4(0x34e)](/\\/g,''),_0x145f4d=!0x1),_0x537cd8(_0x47fe02,_0x503763,_0x550272),_0x2321f9===0x2c&&(_0x537cd8(_0x2ab88e,_0x42c454,_0x47fe02),_0x47fe02=Object[_0x5555f4(0x31d)](null),_0x42c454=void 0x0),_0x503763=void 0x0,_0x4e87b8=_0x41b909=-0x1;}else throw new SyntaxError(_0x5555f4(0x304)+_0x285880);}}}}}}}if(_0x4e87b8===-0x1||_0x12a764||_0x2321f9===0x20||_0x2321f9===0x9)throw new SyntaxError(_0x5555f4(0x2fc));_0x41b909===-0x1&&(_0x41b909=_0x285880);const _0x4a32da=_0x4f8c19[_0x5555f4(0x202)](_0x4e87b8,_0x41b909);return _0x42c454===void 0x0?_0x537cd8(_0x2ab88e,_0x4a32da,_0x47fe02):(_0x503763===void 0x0?_0x537cd8(_0x47fe02,_0x4a32da,!0x0):_0x145f4d?_0x537cd8(_0x47fe02,_0x503763,_0x4a32da[_0x5555f4(0x34e)](/\\/g,'')):_0x537cd8(_0x47fe02,_0x503763,_0x4a32da),_0x537cd8(_0x2ab88e,_0x42c454,_0x47fe02)),_0x2ab88e;}function _0x38e86d(_0x22e722){const _0x52dad2=_0x1677;return Object[_0x52dad2(0x246)](_0x22e722)[_0x52dad2(0x312)](_0x2550eb=>{const _0x395e76=_0x52dad2;let _0x10b039=_0x22e722[_0x2550eb];return Array[_0x395e76(0x2b3)](_0x10b039)||(_0x10b039=[_0x10b039]),_0x10b039['map'](_0x3e6f5c=>[_0x2550eb]['concat'](Object[_0x395e76(0x246)](_0x3e6f5c)[_0x395e76(0x312)](_0x4ac8b1=>{const _0x45c33=_0x395e76;let _0x2225b0=_0x3e6f5c[_0x4ac8b1];return Array[_0x45c33(0x2b3)](_0x2225b0)||(_0x2225b0=[_0x2225b0]),_0x2225b0[_0x45c33(0x312)](_0x4348e7=>_0x4348e7===!0x0?_0x4ac8b1:_0x4ac8b1+'='+_0x4348e7)[_0x45c33(0x1fa)](';\x20');}))[_0x395e76(0x1fa)](';\x20'))[_0x395e76(0x1fa)](',\x20');})[_0x52dad2(0x1fa)](',\x20');}return be={'format':_0x38e86d,'parse':_0x54c17a},be;}var we,Je;function Pe(){const _0x2924de=_0x3958e0;if(Je)return we;Je=0x1;const _0x15f6fa=nt,_0xff0c75=vt,_0x462dc4=ot,_0x25862e=St,_0xb5845d=Et,{randomBytes:_0x311dbc,createHash:_0x3a6d42}=Le,{Duplex:_0x5e054d,Readable:_0x25a503}=oe,{URL:_0x10e9e8}=xt,_0x359224=he(),_0x36ffa8=lt(),_0x26b9c2=ft(),{isBlob:_0x48fcfe}=ae(),{BINARY_TYPES:_0x35df4c,EMPTY_BUFFER:_0x30f0ef,GUID:_0x417d57,kForOnEventAttribute:_0x21c5fc,kListener:_0x36e0ee,kStatusCode:_0x1243c1,kWebSocket:_0x12f2db,NOOP:_0x3919b9}=H(),{EventTarget:{addEventListener:_0x2473ff,removeEventListener:_0x4caaf6}}=It(),{format:_0x1cb55a,parse:_0x5c7422}=ct(),{toBuffer:_0x15eb14}=ce(),_0x31afcc=0x1e*0x3e8,_0x47f5df=Symbol(_0x2924de(0x31f)),_0x21ac84=[0x8,0xd],_0x534420=['CONNECTING',_0x2924de(0x386),'CLOSING','CLOSED'],_0x43926f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c507c extends _0x15f6fa{constructor(_0x1fa07c,_0x149600,_0x28e018){const _0x2194ea=_0x2924de;super(),this[_0x2194ea(0x283)]=_0x35df4c[0x0],this[_0x2194ea(0x2bd)]=0x3ee,this[_0x2194ea(0x247)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x2194ea(0x2dc)]=_0x30f0ef,this['_closeTimer']=null,this[_0x2194ea(0x341)]=!0x1,this[_0x2194ea(0x211)]={},this[_0x2194ea(0x37c)]=!0x1,this['_protocol']='',this['_readyState']=_0x3c507c['CONNECTING'],this[_0x2194ea(0x1f7)]=null,this[_0x2194ea(0x378)]=null,this[_0x2194ea(0x372)]=null,_0x1fa07c!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2194ea(0x2c3)]=0x0,_0x149600===void 0x0?_0x149600=[]:Array[_0x2194ea(0x2b3)](_0x149600)||(typeof _0x149600==_0x2194ea(0x387)&&_0x149600!==null?(_0x28e018=_0x149600,_0x149600=[]):_0x149600=[_0x149600]),_0x53d271(this,_0x1fa07c,_0x149600,_0x28e018)):(this[_0x2194ea(0x24e)]=_0x28e018[_0x2194ea(0x2ae)],this[_0x2194ea(0x305)]=!0x0);}get['binaryType'](){const _0x16bfff=_0x2924de;return this[_0x16bfff(0x283)];}set['binaryType'](_0x48d762){const _0x275dcc=_0x2924de;_0x35df4c[_0x275dcc(0x339)](_0x48d762)&&(this[_0x275dcc(0x283)]=_0x48d762,this[_0x275dcc(0x1f7)]&&(this[_0x275dcc(0x1f7)]['_binaryType']=_0x48d762));}get[_0x2924de(0x24c)](){const _0x404cb4=_0x2924de;return this[_0x404cb4(0x372)]?this[_0x404cb4(0x372)][_0x404cb4(0x223)][_0x404cb4(0x291)]+this[_0x404cb4(0x378)][_0x404cb4(0x325)]:this[_0x404cb4(0x2c0)];}get['extensions'](){const _0x2c5592=_0x2924de;return Object[_0x2c5592(0x246)](this[_0x2c5592(0x211)])[_0x2c5592(0x1fa)]();}get[_0x2924de(0x2f7)](){return this['_paused'];}get[_0x2924de(0x2b4)](){return null;}get[_0x2924de(0x2f3)](){return null;}get[_0x2924de(0x33c)](){return null;}get[_0x2924de(0x20d)](){return null;}get[_0x2924de(0x3a7)](){const _0x31e965=_0x2924de;return this[_0x31e965(0x392)];}get['readyState'](){return this['_readyState'];}get['url'](){return this['_url'];}['setSocket'](_0x48a5f1,_0x1c8dc3,_0x436b71){const _0x428fa5=_0x2924de,_0x50676b=new _0x36ffa8({'allowSynchronousEvents':_0x436b71[_0x428fa5(0x1f5)],'binaryType':this[_0x428fa5(0x2ce)],'extensions':this[_0x428fa5(0x211)],'isServer':this[_0x428fa5(0x305)],'maxPayload':_0x436b71[_0x428fa5(0x2e5)],'skipUTF8Validation':_0x436b71[_0x428fa5(0x293)]}),_0x53e12d=new _0x26b9c2(_0x48a5f1,this['_extensions'],_0x436b71['generateMask']);this[_0x428fa5(0x1f7)]=_0x50676b,this[_0x428fa5(0x378)]=_0x53e12d,this['_socket']=_0x48a5f1,_0x50676b[_0x12f2db]=this,_0x53e12d[_0x12f2db]=this,_0x48a5f1[_0x12f2db]=this,_0x50676b['on'](_0x428fa5(0x20f),_0x3119a3),_0x50676b['on'](_0x428fa5(0x33a),_0x58e656),_0x50676b['on'](_0x428fa5(0x38a),_0x10b5fd),_0x50676b['on']('message',_0x22cdf1),_0x50676b['on']('ping',_0x3b2167),_0x50676b['on'](_0x428fa5(0x233),_0x31e28c),_0x53e12d[_0x428fa5(0x2f3)]=_0x439b9d,_0x48a5f1[_0x428fa5(0x27e)]&&_0x48a5f1[_0x428fa5(0x27e)](0x0),_0x48a5f1[_0x428fa5(0x2fe)]&&_0x48a5f1['setNoDelay'](),_0x1c8dc3[_0x428fa5(0x291)]>0x0&&_0x48a5f1[_0x428fa5(0x2cf)](_0x1c8dc3),_0x48a5f1['on']('close',_0x1bf745),_0x48a5f1['on']('data',_0x5cafbb),_0x48a5f1['on'](_0x428fa5(0x375),_0xce998b),_0x48a5f1['on'](_0x428fa5(0x38a),_0x123449),this['_readyState']=_0x3c507c['OPEN'],this['emit'](_0x428fa5(0x2dd));}['emitClose'](){const _0x45eafc=_0x2924de;if(!this[_0x45eafc(0x372)]){this[_0x45eafc(0x39f)]=_0x3c507c[_0x45eafc(0x3ad)],this[_0x45eafc(0x266)](_0x45eafc(0x277),this[_0x45eafc(0x2bd)],this['_closeMessage']);return;}this[_0x45eafc(0x211)][_0x359224[_0x45eafc(0x272)]]&&this[_0x45eafc(0x211)][_0x359224['extensionName']][_0x45eafc(0x383)](),this['_receiver'][_0x45eafc(0x260)](),this[_0x45eafc(0x39f)]=_0x3c507c[_0x45eafc(0x3ad)],this[_0x45eafc(0x266)]('close',this[_0x45eafc(0x2bd)],this[_0x45eafc(0x2dc)]);}[_0x2924de(0x277)](_0x312b17,_0x2f9ab4){const _0xf93e5c=_0x2924de;if(this[_0xf93e5c(0x25f)]!==_0x3c507c[_0xf93e5c(0x3ad)]){if(this[_0xf93e5c(0x25f)]===_0x3c507c[_0xf93e5c(0x319)]){_0x2c08ec(this,this[_0xf93e5c(0x289)],_0xf93e5c(0x352));return;}if(this[_0xf93e5c(0x25f)]===_0x3c507c[_0xf93e5c(0x21f)]){this[_0xf93e5c(0x209)]&&(this[_0xf93e5c(0x247)]||this['_receiver'][_0xf93e5c(0x223)]['errorEmitted'])&&this[_0xf93e5c(0x372)][_0xf93e5c(0x375)]();return;}this['_readyState']=_0x3c507c['CLOSING'],this[_0xf93e5c(0x378)]['close'](_0x312b17,_0x2f9ab4,!this[_0xf93e5c(0x305)],_0x548b79=>{const _0x519bf7=_0xf93e5c;_0x548b79||(this[_0x519bf7(0x209)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x519bf7(0x223)][_0x519bf7(0x38c)])&&this[_0x519bf7(0x372)][_0x519bf7(0x375)]());}),_0x555f1b(this);}}[_0x2924de(0x238)](){const _0x5973ae=_0x2924de;this['readyState']===_0x3c507c[_0x5973ae(0x319)]||this['readyState']===_0x3c507c[_0x5973ae(0x3ad)]||(this[_0x5973ae(0x37c)]=!0x0,this[_0x5973ae(0x372)][_0x5973ae(0x238)]());}['ping'](_0x3ccac0,_0x2b5b4f,_0x2cd8ba){const _0x321cbe=_0x2924de;if(this[_0x321cbe(0x25f)]===_0x3c507c['CONNECTING'])throw new Error(_0x321cbe(0x32e));if(typeof _0x3ccac0=='function'?(_0x2cd8ba=_0x3ccac0,_0x3ccac0=_0x2b5b4f=void 0x0):typeof _0x2b5b4f==_0x321cbe(0x279)&&(_0x2cd8ba=_0x2b5b4f,_0x2b5b4f=void 0x0),typeof _0x3ccac0==_0x321cbe(0x389)&&(_0x3ccac0=_0x3ccac0['toString']()),this[_0x321cbe(0x25f)]!==_0x3c507c[_0x321cbe(0x386)]){_0x493fcf(this,_0x3ccac0,_0x2cd8ba);return;}_0x2b5b4f===void 0x0&&(_0x2b5b4f=!this[_0x321cbe(0x305)]),this[_0x321cbe(0x378)][_0x321cbe(0x353)](_0x3ccac0||_0x30f0ef,_0x2b5b4f,_0x2cd8ba);}['pong'](_0x552d5d,_0x39292c,_0x9d9f1f){const _0x505bb6=_0x2924de;if(this[_0x505bb6(0x25f)]===_0x3c507c[_0x505bb6(0x319)])throw new Error(_0x505bb6(0x32e));if(typeof _0x552d5d==_0x505bb6(0x279)?(_0x9d9f1f=_0x552d5d,_0x552d5d=_0x39292c=void 0x0):typeof _0x39292c==_0x505bb6(0x279)&&(_0x9d9f1f=_0x39292c,_0x39292c=void 0x0),typeof _0x552d5d==_0x505bb6(0x389)&&(_0x552d5d=_0x552d5d['toString']()),this[_0x505bb6(0x25f)]!==_0x3c507c['OPEN']){_0x493fcf(this,_0x552d5d,_0x9d9f1f);return;}_0x39292c===void 0x0&&(_0x39292c=!this[_0x505bb6(0x305)]),this[_0x505bb6(0x378)][_0x505bb6(0x233)](_0x552d5d||_0x30f0ef,_0x39292c,_0x9d9f1f);}[_0x2924de(0x380)](){const _0x59442c=_0x2924de;this['readyState']===_0x3c507c[_0x59442c(0x319)]||this['readyState']===_0x3c507c[_0x59442c(0x3ad)]||(this[_0x59442c(0x37c)]=!0x1,this['_receiver'][_0x59442c(0x223)][_0x59442c(0x299)]||this['_socket'][_0x59442c(0x380)]());}[_0x2924de(0x32f)](_0x572be6,_0xddc059,_0x1dc8fa){const _0x3c3ff1=_0x2924de;if(this[_0x3c3ff1(0x25f)]===_0x3c507c[_0x3c3ff1(0x319)])throw new Error(_0x3c3ff1(0x32e));if(typeof _0xddc059==_0x3c3ff1(0x279)&&(_0x1dc8fa=_0xddc059,_0xddc059={}),typeof _0x572be6==_0x3c3ff1(0x389)&&(_0x572be6=_0x572be6[_0x3c3ff1(0x2ef)]()),this[_0x3c3ff1(0x25f)]!==_0x3c507c[_0x3c3ff1(0x386)]){_0x493fcf(this,_0x572be6,_0x1dc8fa);return;}const _0x3a2523={'binary':typeof _0x572be6!=_0x3c3ff1(0x362),'mask':!this[_0x3c3ff1(0x305)],'compress':!0x0,'fin':!0x0,..._0xddc059};this[_0x3c3ff1(0x211)][_0x359224[_0x3c3ff1(0x272)]]||(_0x3a2523[_0x3c3ff1(0x351)]=!0x1),this[_0x3c3ff1(0x378)][_0x3c3ff1(0x32f)](_0x572be6||_0x30f0ef,_0x3a2523,_0x1dc8fa);}[_0x2924de(0x292)](){const _0x3388fc=_0x2924de;if(this[_0x3388fc(0x25f)]!==_0x3c507c[_0x3388fc(0x3ad)]){if(this[_0x3388fc(0x25f)]===_0x3c507c[_0x3388fc(0x319)]){_0x2c08ec(this,this[_0x3388fc(0x289)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x3388fc(0x372)]&&(this[_0x3388fc(0x39f)]=_0x3c507c[_0x3388fc(0x21f)],this[_0x3388fc(0x372)][_0x3388fc(0x398)]());}}}Object[_0x2924de(0x391)](_0x3c507c,_0x2924de(0x319),{'enumerable':!0x0,'value':_0x534420[_0x2924de(0x34d)](_0x2924de(0x319))}),Object[_0x2924de(0x391)](_0x3c507c[_0x2924de(0x2f4)],_0x2924de(0x319),{'enumerable':!0x0,'value':_0x534420[_0x2924de(0x34d)]('CONNECTING')}),Object[_0x2924de(0x391)](_0x3c507c,_0x2924de(0x386),{'enumerable':!0x0,'value':_0x534420[_0x2924de(0x34d)](_0x2924de(0x386))}),Object[_0x2924de(0x391)](_0x3c507c[_0x2924de(0x2f4)],_0x2924de(0x386),{'enumerable':!0x0,'value':_0x534420[_0x2924de(0x34d)](_0x2924de(0x386))}),Object[_0x2924de(0x391)](_0x3c507c,_0x2924de(0x21f),{'enumerable':!0x0,'value':_0x534420['indexOf'](_0x2924de(0x21f))}),Object['defineProperty'](_0x3c507c[_0x2924de(0x2f4)],_0x2924de(0x21f),{'enumerable':!0x0,'value':_0x534420['indexOf'](_0x2924de(0x21f))}),Object[_0x2924de(0x391)](_0x3c507c,_0x2924de(0x3ad),{'enumerable':!0x0,'value':_0x534420[_0x2924de(0x34d)]('CLOSED')}),Object['defineProperty'](_0x3c507c[_0x2924de(0x2f4)],_0x2924de(0x3ad),{'enumerable':!0x0,'value':_0x534420['indexOf']('CLOSED')}),[_0x2924de(0x2ce),'bufferedAmount',_0x2924de(0x314),'isPaused',_0x2924de(0x3a7),'readyState',_0x2924de(0x356)][_0x2924de(0x287)](_0x1e9b1a=>{const _0x471505=_0x2924de;Object[_0x471505(0x391)](_0x3c507c[_0x471505(0x2f4)],_0x1e9b1a,{'enumerable':!0x0});}),[_0x2924de(0x2dd),_0x2924de(0x38a),_0x2924de(0x277),_0x2924de(0x20e)][_0x2924de(0x287)](_0x1a2dcc=>{const _0x449eff=_0x2924de;Object[_0x449eff(0x391)](_0x3c507c[_0x449eff(0x2f4)],'on'+_0x1a2dcc,{'enumerable':!0x0,'get'(){for(const _0xd949a8 of this['listeners'](_0x1a2dcc))if(_0xd949a8[_0x21c5fc])return _0xd949a8[_0x36e0ee];return null;},'set'(_0x56f96c){const _0x5b8a30=_0x449eff;for(const _0x476a5e of this[_0x5b8a30(0x39e)](_0x1a2dcc))if(_0x476a5e[_0x21c5fc]){this[_0x5b8a30(0x377)](_0x1a2dcc,_0x476a5e);break;}typeof _0x56f96c=='function'&&this[_0x5b8a30(0x3b4)](_0x1a2dcc,_0x56f96c,{[_0x21c5fc]:!0x0});}});}),_0x3c507c['prototype'][_0x2924de(0x3b4)]=_0x2473ff,_0x3c507c[_0x2924de(0x2f4)][_0x2924de(0x241)]=_0x4caaf6,we=_0x3c507c;function _0x53d271(_0x20ac72,_0x519a7b,_0x16c531,_0x5c9eb7){const _0x2df819=_0x2924de,_0x3b8e25={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x21ac84[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c9eb7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2df819(0x2f1),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x20ac72[_0x2df819(0x24e)]=_0x3b8e25[_0x2df819(0x2ae)],!_0x21ac84[_0x2df819(0x339)](_0x3b8e25[_0x2df819(0x361)]))throw new RangeError(_0x2df819(0x234)+_0x3b8e25[_0x2df819(0x361)]+'\x20(supported\x20versions:\x20'+_0x21ac84['join'](',\x20')+')');let _0x42b2f9;if(_0x519a7b instanceof _0x10e9e8)_0x42b2f9=_0x519a7b;else try{_0x42b2f9=new _0x10e9e8(_0x519a7b);}catch{throw new SyntaxError(_0x2df819(0x2d0)+_0x519a7b);}_0x42b2f9[_0x2df819(0x3a7)]==='http:'?_0x42b2f9[_0x2df819(0x3a7)]=_0x2df819(0x239):_0x42b2f9[_0x2df819(0x3a7)]===_0x2df819(0x249)&&(_0x42b2f9[_0x2df819(0x3a7)]=_0x2df819(0x30d)),_0x20ac72[_0x2df819(0x336)]=_0x42b2f9['href'];const _0x4fe883=_0x42b2f9['protocol']==='wss:',_0x259783=_0x42b2f9[_0x2df819(0x3a7)]===_0x2df819(0x3a9);let _0x210060;if(_0x42b2f9[_0x2df819(0x3a7)]!==_0x2df819(0x239)&&!_0x4fe883&&!_0x259783?_0x210060=_0x2df819(0x30f):_0x259783&&!_0x42b2f9[_0x2df819(0x210)]?_0x210060=_0x2df819(0x26e):_0x42b2f9['hash']&&(_0x210060='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x210060){const _0x33b101=new SyntaxError(_0x210060);if(_0x20ac72[_0x2df819(0x2c3)]===0x0)throw _0x33b101;_0x2d0590(_0x20ac72,_0x33b101);return;}const _0x30123d=_0x4fe883?0x1bb:0x50,_0x8a3d66=_0x311dbc(0x10)[_0x2df819(0x2ef)](_0x2df819(0x275)),_0x90e438=_0x4fe883?_0xff0c75[_0x2df819(0x1fc)]:_0x462dc4['request'],_0xd28675=new Set();let _0xdc16ab;if(_0x3b8e25[_0x2df819(0x310)]=_0x3b8e25[_0x2df819(0x310)]||(_0x4fe883?_0xad993e:_0x114725),_0x3b8e25[_0x2df819(0x2e7)]=_0x3b8e25[_0x2df819(0x2e7)]||_0x30123d,_0x3b8e25['port']=_0x42b2f9[_0x2df819(0x217)]||_0x30123d,_0x3b8e25[_0x2df819(0x333)]=_0x42b2f9[_0x2df819(0x28b)][_0x2df819(0x1ff)]('[')?_0x42b2f9[_0x2df819(0x28b)]['slice'](0x1,-0x1):_0x42b2f9['hostname'],_0x3b8e25[_0x2df819(0x268)]={..._0x3b8e25['headers'],'Sec-WebSocket-Version':_0x3b8e25['protocolVersion'],'Sec-WebSocket-Key':_0x8a3d66,'Connection':_0x2df819(0x2ad),'Upgrade':_0x2df819(0x222)},_0x3b8e25['path']=_0x42b2f9[_0x2df819(0x210)]+_0x42b2f9[_0x2df819(0x303)],_0x3b8e25[_0x2df819(0x24a)]=_0x3b8e25['handshakeTimeout'],_0x3b8e25[_0x2df819(0x2f8)]&&(_0xdc16ab=new _0x359224(_0x3b8e25['perMessageDeflate']!==!0x0?_0x3b8e25[_0x2df819(0x2f8)]:{},!0x1,_0x3b8e25[_0x2df819(0x2e5)]),_0x3b8e25[_0x2df819(0x268)][_0x2df819(0x31a)]=_0x1cb55a({[_0x359224['extensionName']]:_0xdc16ab[_0x2df819(0x27a)]()})),_0x16c531[_0x2df819(0x291)]){for(const _0x230429 of _0x16c531){if(typeof _0x230429!=_0x2df819(0x362)||!_0x43926f[_0x2df819(0x218)](_0x230429)||_0xd28675[_0x2df819(0x394)](_0x230429))throw new SyntaxError(_0x2df819(0x236));_0xd28675[_0x2df819(0x26f)](_0x230429);}_0x3b8e25[_0x2df819(0x268)][_0x2df819(0x1fd)]=_0x16c531[_0x2df819(0x1fa)](',');}if(_0x3b8e25[_0x2df819(0x3a4)]&&(_0x3b8e25['protocolVersion']<0xd?_0x3b8e25[_0x2df819(0x268)][_0x2df819(0x254)]=_0x3b8e25[_0x2df819(0x3a4)]:_0x3b8e25[_0x2df819(0x268)][_0x2df819(0x393)]=_0x3b8e25['origin']),(_0x42b2f9[_0x2df819(0x22c)]||_0x42b2f9[_0x2df819(0x29b)])&&(_0x3b8e25[_0x2df819(0x32d)]=_0x42b2f9[_0x2df819(0x22c)]+':'+_0x42b2f9[_0x2df819(0x29b)]),_0x259783){const _0xdf6ee9=_0x3b8e25[_0x2df819(0x23c)]['split'](':');_0x3b8e25[_0x2df819(0x221)]=_0xdf6ee9[0x0],_0x3b8e25['path']=_0xdf6ee9[0x1];}let _0xb50780;if(_0x3b8e25[_0x2df819(0x355)]){if(_0x20ac72[_0x2df819(0x2c3)]===0x0){_0x20ac72[_0x2df819(0x21b)]=_0x259783,_0x20ac72['_originalSecure']=_0x4fe883,_0x20ac72['_originalHostOrSocketPath']=_0x259783?_0x3b8e25[_0x2df819(0x221)]:_0x42b2f9[_0x2df819(0x333)];const _0x86d7fd=_0x5c9eb7&&_0x5c9eb7[_0x2df819(0x268)];if(_0x5c9eb7={..._0x5c9eb7,'headers':{}},_0x86d7fd){for(const [_0xbbe46f,_0x36e99a]of Object['entries'](_0x86d7fd))_0x5c9eb7[_0x2df819(0x268)][_0xbbe46f[_0x2df819(0x30e)]()]=_0x36e99a;}}else{if(_0x20ac72['listenerCount']('redirect')===0x0){const _0x42dfc7=_0x259783?_0x20ac72['_originalIpc']?_0x3b8e25[_0x2df819(0x221)]===_0x20ac72[_0x2df819(0x31c)]:!0x1:_0x20ac72['_originalIpc']?!0x1:_0x42b2f9[_0x2df819(0x333)]===_0x20ac72[_0x2df819(0x31c)];(!_0x42dfc7||_0x20ac72[_0x2df819(0x214)]&&!_0x4fe883)&&(delete _0x3b8e25['headers'][_0x2df819(0x374)],delete _0x3b8e25[_0x2df819(0x268)][_0x2df819(0x251)],_0x42dfc7||delete _0x3b8e25['headers']['host'],_0x3b8e25['auth']=void 0x0);}}_0x3b8e25[_0x2df819(0x32d)]&&!_0x5c9eb7[_0x2df819(0x268)][_0x2df819(0x374)]&&(_0x5c9eb7[_0x2df819(0x268)]['authorization']=_0x2df819(0x38e)+Buffer['from'](_0x3b8e25[_0x2df819(0x32d)])['toString'](_0x2df819(0x275))),_0xb50780=_0x20ac72[_0x2df819(0x289)]=_0x90e438(_0x3b8e25),_0x20ac72[_0x2df819(0x2c3)]&&_0x20ac72['emit']('redirect',_0x20ac72[_0x2df819(0x356)],_0xb50780);}else _0xb50780=_0x20ac72[_0x2df819(0x289)]=_0x90e438(_0x3b8e25);_0x3b8e25[_0x2df819(0x24a)]&&_0xb50780['on'](_0x2df819(0x24a),()=>{const _0x14c8e2=_0x2df819;_0x2c08ec(_0x20ac72,_0xb50780,_0x14c8e2(0x349));}),_0xb50780['on']('error',_0x1c6003=>{const _0x315a1a=_0x2df819;_0xb50780===null||_0xb50780[_0x47f5df]||(_0xb50780=_0x20ac72[_0x315a1a(0x289)]=null,_0x2d0590(_0x20ac72,_0x1c6003));}),_0xb50780['on'](_0x2df819(0x311),_0x4fdce6=>{const _0x47c410=_0x2df819,_0x478578=_0x4fdce6['headers'][_0x47c410(0x2a4)],_0x993308=_0x4fdce6[_0x47c410(0x281)];if(_0x478578&&_0x3b8e25[_0x47c410(0x355)]&&_0x993308>=0x12c&&_0x993308<0x190){if(++_0x20ac72[_0x47c410(0x2c3)]>_0x3b8e25[_0x47c410(0x200)]){_0x2c08ec(_0x20ac72,_0xb50780,_0x47c410(0x2bf));return;}_0xb50780[_0x47c410(0x267)]();let _0x57cdce;try{_0x57cdce=new _0x10e9e8(_0x478578,_0x519a7b);}catch{const _0x2ae4d6=new SyntaxError(_0x47c410(0x2d0)+_0x478578);_0x2d0590(_0x20ac72,_0x2ae4d6);return;}_0x53d271(_0x20ac72,_0x57cdce,_0x16c531,_0x5c9eb7);}else _0x20ac72[_0x47c410(0x266)]('unexpected-response',_0xb50780,_0x4fdce6)||_0x2c08ec(_0x20ac72,_0xb50780,'Unexpected\x20server\x20response:\x20'+_0x4fdce6['statusCode']);}),_0xb50780['on'](_0x2df819(0x25c),(_0x29b2d1,_0x586e3d,_0x3307c0)=>{const _0x5f1adf=_0x2df819;if(_0x20ac72[_0x5f1adf(0x266)](_0x5f1adf(0x25c),_0x29b2d1),_0x20ac72[_0x5f1adf(0x25f)]!==_0x3c507c['CONNECTING'])return;_0xb50780=_0x20ac72[_0x5f1adf(0x289)]=null;const _0x2de459=_0x29b2d1[_0x5f1adf(0x268)]['upgrade'];if(_0x2de459===void 0x0||_0x2de459['toLowerCase']()!==_0x5f1adf(0x222)){_0x2c08ec(_0x20ac72,_0x586e3d,_0x5f1adf(0x384));return;}const _0x15e14a=_0x3a6d42('sha1')['update'](_0x8a3d66+_0x417d57)[_0x5f1adf(0x24f)]('base64');if(_0x29b2d1[_0x5f1adf(0x268)]['sec-websocket-accept']!==_0x15e14a){_0x2c08ec(_0x20ac72,_0x586e3d,_0x5f1adf(0x26b));return;}const _0x5c913d=_0x29b2d1['headers'][_0x5f1adf(0x367)];let _0x30bfcd;if(_0x5c913d!==void 0x0?_0xd28675[_0x5f1adf(0x2e1)]?_0xd28675['has'](_0x5c913d)||(_0x30bfcd=_0x5f1adf(0x23f)):_0x30bfcd=_0x5f1adf(0x3a2):_0xd28675['size']&&(_0x30bfcd=_0x5f1adf(0x297)),_0x30bfcd){_0x2c08ec(_0x20ac72,_0x586e3d,_0x30bfcd);return;}_0x5c913d&&(_0x20ac72[_0x5f1adf(0x392)]=_0x5c913d);const _0x53be42=_0x29b2d1['headers'][_0x5f1adf(0x322)];if(_0x53be42!==void 0x0){if(!_0xdc16ab){_0x2c08ec(_0x20ac72,_0x586e3d,_0x5f1adf(0x2ab));return;}let _0x49727a;try{_0x49727a=_0x5c7422(_0x53be42);}catch{_0x2c08ec(_0x20ac72,_0x586e3d,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1cdb2a=Object[_0x5f1adf(0x246)](_0x49727a);if(_0x1cdb2a[_0x5f1adf(0x291)]!==0x1||_0x1cdb2a[0x0]!==_0x359224[_0x5f1adf(0x272)]){_0x2c08ec(_0x20ac72,_0x586e3d,_0x5f1adf(0x2b8));return;}try{_0xdc16ab[_0x5f1adf(0x23d)](_0x49727a[_0x359224[_0x5f1adf(0x272)]]);}catch{_0x2c08ec(_0x20ac72,_0x586e3d,_0x5f1adf(0x2cd));return;}_0x20ac72[_0x5f1adf(0x211)][_0x359224[_0x5f1adf(0x272)]]=_0xdc16ab;}_0x20ac72['setSocket'](_0x586e3d,_0x3307c0,{'allowSynchronousEvents':_0x3b8e25[_0x5f1adf(0x1f5)],'generateMask':_0x3b8e25['generateMask'],'maxPayload':_0x3b8e25['maxPayload'],'skipUTF8Validation':_0x3b8e25['skipUTF8Validation']});}),_0x3b8e25[_0x2df819(0x23b)]?_0x3b8e25[_0x2df819(0x23b)](_0xb50780,_0x20ac72):_0xb50780['end']();}function _0x2d0590(_0x2a06fb,_0x53c166){const _0x18c0c1=_0x2924de;_0x2a06fb['_readyState']=_0x3c507c[_0x18c0c1(0x21f)],_0x2a06fb[_0x18c0c1(0x341)]=!0x0,_0x2a06fb[_0x18c0c1(0x266)](_0x18c0c1(0x38a),_0x53c166),_0x2a06fb[_0x18c0c1(0x1f6)]();}function _0x114725(_0x4b1ece){const _0x2562c5=_0x2924de;return _0x4b1ece[_0x2562c5(0x23c)]=_0x4b1ece[_0x2562c5(0x221)],_0x25862e[_0x2562c5(0x306)](_0x4b1ece);}function _0xad993e(_0x44b4e9){const _0x116701=_0x2924de;return _0x44b4e9['path']=void 0x0,!_0x44b4e9[_0x116701(0x3b0)]&&_0x44b4e9[_0x116701(0x3b0)]!==''&&(_0x44b4e9[_0x116701(0x3b0)]=_0x25862e[_0x116701(0x2ff)](_0x44b4e9[_0x116701(0x333)])?'':_0x44b4e9['host']),_0xb5845d[_0x116701(0x306)](_0x44b4e9);}function _0x2c08ec(_0x39f4dd,_0x563c7e,_0x288a59){const _0x1b4819=_0x2924de;_0x39f4dd[_0x1b4819(0x39f)]=_0x3c507c['CLOSING'];const _0x3010ef=new Error(_0x288a59);Error['captureStackTrace'](_0x3010ef,_0x2c08ec),_0x563c7e[_0x1b4819(0x231)]?(_0x563c7e[_0x47f5df]=!0x0,_0x563c7e[_0x1b4819(0x267)](),_0x563c7e[_0x1b4819(0x1f3)]&&!_0x563c7e[_0x1b4819(0x1f3)]['destroyed']&&_0x563c7e[_0x1b4819(0x1f3)][_0x1b4819(0x398)](),process[_0x1b4819(0x2f2)](_0x2d0590,_0x39f4dd,_0x3010ef)):(_0x563c7e[_0x1b4819(0x398)](_0x3010ef),_0x563c7e[_0x1b4819(0x3a5)](_0x1b4819(0x38a),_0x39f4dd[_0x1b4819(0x266)][_0x1b4819(0x276)](_0x39f4dd,_0x1b4819(0x38a))),_0x563c7e[_0x1b4819(0x3a5)](_0x1b4819(0x277),_0x39f4dd[_0x1b4819(0x1f6)][_0x1b4819(0x276)](_0x39f4dd)));}function _0x493fcf(_0xf83d1a,_0xd6cd25,_0x2d1034){const _0x31279c=_0x2924de;if(_0xd6cd25){const _0x1afea0=_0x48fcfe(_0xd6cd25)?_0xd6cd25['size']:_0x15eb14(_0xd6cd25)[_0x31279c(0x291)];_0xf83d1a[_0x31279c(0x372)]?_0xf83d1a[_0x31279c(0x378)][_0x31279c(0x325)]+=_0x1afea0:_0xf83d1a[_0x31279c(0x2c0)]+=_0x1afea0;}if(_0x2d1034){const _0x442b2e=new Error(_0x31279c(0x252)+_0xf83d1a['readyState']+'\x20('+_0x534420[_0xf83d1a['readyState']]+')');process[_0x31279c(0x2f2)](_0x2d1034,_0x442b2e);}}function _0x3119a3(_0x4dde8c,_0x44a89a){const _0x536c22=_0x2924de,_0x5cc9e5=this[_0x12f2db];_0x5cc9e5[_0x536c22(0x247)]=!0x0,_0x5cc9e5['_closeMessage']=_0x44a89a,_0x5cc9e5[_0x536c22(0x2bd)]=_0x4dde8c,_0x5cc9e5[_0x536c22(0x372)][_0x12f2db]!==void 0x0&&(_0x5cc9e5[_0x536c22(0x372)][_0x536c22(0x377)](_0x536c22(0x2f9),_0x5cafbb),process[_0x536c22(0x2f2)](_0x5cc091,_0x5cc9e5[_0x536c22(0x372)]),_0x4dde8c===0x3ed?_0x5cc9e5[_0x536c22(0x277)]():_0x5cc9e5[_0x536c22(0x277)](_0x4dde8c,_0x44a89a));}function _0x58e656(){const _0x5bdcef=_0x2924de,_0x234e8e=this[_0x12f2db];_0x234e8e[_0x5bdcef(0x2f7)]||_0x234e8e[_0x5bdcef(0x372)][_0x5bdcef(0x380)]();}function _0x10b5fd(_0x178d80){const _0x11b67d=_0x2924de,_0x205bfa=this[_0x12f2db];_0x205bfa[_0x11b67d(0x372)][_0x12f2db]!==void 0x0&&(_0x205bfa['_socket'][_0x11b67d(0x377)](_0x11b67d(0x2f9),_0x5cafbb),process[_0x11b67d(0x2f2)](_0x5cc091,_0x205bfa['_socket']),_0x205bfa['close'](_0x178d80[_0x1243c1])),_0x205bfa['_errorEmitted']||(_0x205bfa['_errorEmitted']=!0x0,_0x205bfa['emit'](_0x11b67d(0x38a),_0x178d80));}function _0x1f06bd(){const _0x151a2f=_0x2924de;this[_0x12f2db][_0x151a2f(0x1f6)]();}function _0x22cdf1(_0x51df11,_0x2de91d){const _0x16a214=_0x2924de;this[_0x12f2db][_0x16a214(0x266)](_0x16a214(0x20e),_0x51df11,_0x2de91d);}function _0x3b2167(_0x36f0d9){const _0x27898a=_0x2924de,_0x99016b=this[_0x12f2db];_0x99016b['_autoPong']&&_0x99016b[_0x27898a(0x233)](_0x36f0d9,!this[_0x27898a(0x305)],_0x3919b9),_0x99016b[_0x27898a(0x266)](_0x27898a(0x353),_0x36f0d9);}function _0x31e28c(_0x24f5c2){const _0x39fc3f=_0x2924de;this[_0x12f2db][_0x39fc3f(0x266)](_0x39fc3f(0x233),_0x24f5c2);}function _0x5cc091(_0x2ae5e3){_0x2ae5e3['resume']();}function _0x439b9d(_0x4fa384){const _0x38fa1b=_0x2924de,_0x284d7a=this[_0x12f2db];_0x284d7a[_0x38fa1b(0x25f)]!==_0x3c507c[_0x38fa1b(0x3ad)]&&(_0x284d7a['readyState']===_0x3c507c[_0x38fa1b(0x386)]&&(_0x284d7a['_readyState']=_0x3c507c['CLOSING'],_0x555f1b(_0x284d7a)),this[_0x38fa1b(0x372)][_0x38fa1b(0x375)](),_0x284d7a[_0x38fa1b(0x341)]||(_0x284d7a['_errorEmitted']=!0x0,_0x284d7a['emit'](_0x38fa1b(0x38a),_0x4fa384)));}function _0x555f1b(_0x16935c){const _0x20b5af=_0x2924de;_0x16935c[_0x20b5af(0x338)]=setTimeout(_0x16935c[_0x20b5af(0x372)][_0x20b5af(0x398)][_0x20b5af(0x276)](_0x16935c[_0x20b5af(0x372)]),_0x31afcc);}function _0x1bf745(){const _0x3fee21=_0x2924de,_0x5999c1=this[_0x12f2db];this['removeListener'](_0x3fee21(0x277),_0x1bf745),this[_0x3fee21(0x377)]('data',_0x5cafbb),this[_0x3fee21(0x377)](_0x3fee21(0x375),_0xce998b),_0x5999c1[_0x3fee21(0x39f)]=_0x3c507c[_0x3fee21(0x21f)];let _0x9ce784;!this[_0x3fee21(0x36c)]['endEmitted']&&!_0x5999c1['_closeFrameReceived']&&!_0x5999c1['_receiver'][_0x3fee21(0x223)]['errorEmitted']&&(_0x9ce784=_0x5999c1['_socket'][_0x3fee21(0x261)]())!==null&&_0x5999c1['_receiver'][_0x3fee21(0x227)](_0x9ce784),_0x5999c1[_0x3fee21(0x1f7)][_0x3fee21(0x375)](),this[_0x12f2db]=void 0x0,clearTimeout(_0x5999c1['_closeTimer']),_0x5999c1['_receiver'][_0x3fee21(0x223)][_0x3fee21(0x2d8)]||_0x5999c1[_0x3fee21(0x1f7)]['_writableState'][_0x3fee21(0x38c)]?_0x5999c1['emitClose']():(_0x5999c1[_0x3fee21(0x1f7)]['on'](_0x3fee21(0x38a),_0x1f06bd),_0x5999c1['_receiver']['on'](_0x3fee21(0x2e6),_0x1f06bd));}function _0x5cafbb(_0x36da6f){const _0x5a10cd=_0x2924de;this[_0x12f2db]['_receiver'][_0x5a10cd(0x227)](_0x36da6f)||this[_0x5a10cd(0x238)]();}function _0xce998b(){const _0x197fe5=_0x2924de,_0x5befde=this[_0x12f2db];_0x5befde['_readyState']=_0x3c507c[_0x197fe5(0x21f)],_0x5befde[_0x197fe5(0x1f7)]['end'](),this[_0x197fe5(0x375)]();}function _0x123449(){const _0x3d4997=_0x2924de,_0x4c5ed5=this[_0x12f2db];this[_0x3d4997(0x377)]('error',_0x123449),this['on'](_0x3d4997(0x38a),_0x3919b9),_0x4c5ed5&&(_0x4c5ed5[_0x3d4997(0x39f)]=_0x3c507c[_0x3d4997(0x21f)],this[_0x3d4997(0x398)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1c52ca}=oe;function _0x5ad886(_0x59a2ce){const _0x4730bd=_0x1677;_0x59a2ce['emit'](_0x4730bd(0x277));}function _0x1063b3(){const _0x1e9044=_0x1677;!this['destroyed']&&this[_0x1e9044(0x223)][_0x1e9044(0x2d8)]&&this[_0x1e9044(0x398)]();}function _0x25e624(_0x3dbd06){const _0x395761=_0x1677;this[_0x395761(0x377)]('error',_0x25e624),this[_0x395761(0x398)](),this[_0x395761(0x2c1)](_0x395761(0x38a))===0x0&&this[_0x395761(0x266)](_0x395761(0x38a),_0x3dbd06);}function _0x32107e(_0x43ecf6,_0xc4c852){const _0x4f6110=_0x1677;let _0x50e521=!0x0;const _0x19aa20=new _0x1c52ca({..._0xc4c852,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x43ecf6['on'](_0x4f6110(0x20e),function(_0x47c122,_0x3e05ac){const _0x179b79=_0x4f6110,_0x398ca8=!_0x3e05ac&&_0x19aa20[_0x179b79(0x36c)][_0x179b79(0x36b)]?_0x47c122[_0x179b79(0x2ef)]():_0x47c122;_0x19aa20[_0x179b79(0x2d1)](_0x398ca8)||_0x43ecf6[_0x179b79(0x238)]();}),_0x43ecf6['once'](_0x4f6110(0x38a),function(_0x5a5b2f){const _0x332d73=_0x4f6110;_0x19aa20[_0x332d73(0x328)]||(_0x50e521=!0x1,_0x19aa20[_0x332d73(0x398)](_0x5a5b2f));}),_0x43ecf6[_0x4f6110(0x3a5)](_0x4f6110(0x277),function(){const _0xfa63ea=_0x4f6110;_0x19aa20[_0xfa63ea(0x328)]||_0x19aa20[_0xfa63ea(0x2d1)](null);}),_0x19aa20[_0x4f6110(0x2e8)]=function(_0x36fd37,_0x396bdc){const _0x1fa896=_0x4f6110;if(_0x43ecf6['readyState']===_0x43ecf6['CLOSED']){_0x396bdc(_0x36fd37),process[_0x1fa896(0x2f2)](_0x5ad886,_0x19aa20);return;}let _0x26a6ab=!0x1;_0x43ecf6[_0x1fa896(0x3a5)](_0x1fa896(0x38a),function(_0x1aa7d4){_0x26a6ab=!0x0,_0x396bdc(_0x1aa7d4);}),_0x43ecf6['once'](_0x1fa896(0x277),function(){_0x26a6ab||_0x396bdc(_0x36fd37),process['nextTick'](_0x5ad886,_0x19aa20);}),_0x50e521&&_0x43ecf6[_0x1fa896(0x292)]();},_0x19aa20['_final']=function(_0x1c5a8b){const _0x1dc3f7=_0x4f6110;if(_0x43ecf6[_0x1dc3f7(0x25f)]===_0x43ecf6[_0x1dc3f7(0x319)]){_0x43ecf6[_0x1dc3f7(0x3a5)]('open',function(){const _0x2d4290=_0x1dc3f7;_0x19aa20[_0x2d4290(0x344)](_0x1c5a8b);});return;}_0x43ecf6[_0x1dc3f7(0x372)]!==null&&(_0x43ecf6[_0x1dc3f7(0x372)][_0x1dc3f7(0x223)][_0x1dc3f7(0x2d8)]?(_0x1c5a8b(),_0x19aa20['_readableState']['endEmitted']&&_0x19aa20[_0x1dc3f7(0x398)]()):(_0x43ecf6[_0x1dc3f7(0x372)][_0x1dc3f7(0x3a5)](_0x1dc3f7(0x2e6),function(){_0x1c5a8b();}),_0x43ecf6[_0x1dc3f7(0x277)]()));},_0x19aa20['_read']=function(){const _0x3ae9ad=_0x4f6110;_0x43ecf6[_0x3ae9ad(0x2f7)]&&_0x43ecf6[_0x3ae9ad(0x380)]();},_0x19aa20['_write']=function(_0x54420b,_0x2331a8,_0x1d5e4c){const _0x241e58=_0x4f6110;if(_0x43ecf6['readyState']===_0x43ecf6['CONNECTING']){_0x43ecf6[_0x241e58(0x3a5)](_0x241e58(0x2dd),function(){const _0x77bf0b=_0x241e58;_0x19aa20[_0x77bf0b(0x215)](_0x54420b,_0x2331a8,_0x1d5e4c);});return;}_0x43ecf6[_0x241e58(0x32f)](_0x54420b,_0x1d5e4c);},_0x19aa20['on'](_0x4f6110(0x375),_0x1063b3),_0x19aa20['on'](_0x4f6110(0x38a),_0x25e624),_0x19aa20;}return Oe=_0x32107e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4f5744}=ae();function _0xf366bf(_0x29b648){const _0x3a43e0=_0x1677,_0x1178db=new Set();let _0x5be02e=-0x1,_0x2574f6=-0x1,_0x1ffe36=0x0;for(_0x1ffe36;_0x1ffe36<_0x29b648['length'];_0x1ffe36++){const _0x3f689e=_0x29b648[_0x3a43e0(0x208)](_0x1ffe36);if(_0x2574f6===-0x1&&_0x4f5744[_0x3f689e]===0x1)_0x5be02e===-0x1&&(_0x5be02e=_0x1ffe36);else{if(_0x1ffe36!==0x0&&(_0x3f689e===0x20||_0x3f689e===0x9))_0x2574f6===-0x1&&_0x5be02e!==-0x1&&(_0x2574f6=_0x1ffe36);else{if(_0x3f689e===0x2c){if(_0x5be02e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1ffe36);_0x2574f6===-0x1&&(_0x2574f6=_0x1ffe36);const _0x3f9f73=_0x29b648[_0x3a43e0(0x202)](_0x5be02e,_0x2574f6);if(_0x1178db[_0x3a43e0(0x394)](_0x3f9f73))throw new SyntaxError('The\x20\x22'+_0x3f9f73+'\x22\x20subprotocol\x20is\x20duplicated');_0x1178db['add'](_0x3f9f73),_0x5be02e=_0x2574f6=-0x1;}else throw new SyntaxError(_0x3a43e0(0x304)+_0x1ffe36);}}}if(_0x5be02e===-0x1||_0x2574f6!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x860a69=_0x29b648[_0x3a43e0(0x202)](_0x5be02e,_0x1ffe36);if(_0x1178db['has'](_0x860a69))throw new SyntaxError(_0x3a43e0(0x203)+_0x860a69+_0x3a43e0(0x33d));return _0x1178db[_0x3a43e0(0x26f)](_0x860a69),_0x1178db;}return Ce={'parse':_0xf366bf},Ce;}var Te,rt;function Ft(){const _0x47ef01=_0x3958e0;if(rt)return Te;rt=0x1;const _0x102b4e=nt,_0x536337=ot,{Duplex:_0x1c2c4a}=oe,{createHash:_0x1a15b6}=Le,_0x46add6=ct(),_0x11f8b0=he(),_0x549df4=At(),_0x271c4c=Pe(),{GUID:_0x45336a,kWebSocket:_0x13edde}=H(),_0x4e0ed5=/^[+/0-9A-Za-z]{22}==$/,_0x5bbb51=0x0,_0x5a8f8a=0x1,_0x58ad20=0x2;class _0x293722 extends _0x102b4e{constructor(_0x5e11e1,_0x84a96d){const _0x1cc7d3=_0x1677;if(super(),_0x5e11e1={'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':_0x271c4c,..._0x5e11e1},_0x5e11e1['port']==null&&!_0x5e11e1[_0x1cc7d3(0x29f)]&&!_0x5e11e1['noServer']||_0x5e11e1[_0x1cc7d3(0x217)]!=null&&(_0x5e11e1[_0x1cc7d3(0x29f)]||_0x5e11e1['noServer'])||_0x5e11e1[_0x1cc7d3(0x29f)]&&_0x5e11e1['noServer'])throw new TypeError(_0x1cc7d3(0x39c));if(_0x5e11e1[_0x1cc7d3(0x217)]!=null?(this[_0x1cc7d3(0x317)]=_0x536337[_0x1cc7d3(0x28d)]((_0x4c8355,_0x8809cd)=>{const _0x56d3c1=_0x1cc7d3,_0x25cef1=_0x536337[_0x56d3c1(0x301)][0x1aa];_0x8809cd[_0x56d3c1(0x264)](0x1aa,{'Content-Length':_0x25cef1[_0x56d3c1(0x291)],'Content-Type':'text/plain'}),_0x8809cd['end'](_0x25cef1);}),this[_0x1cc7d3(0x317)][_0x1cc7d3(0x24d)](_0x5e11e1[_0x1cc7d3(0x217)],_0x5e11e1['host'],_0x5e11e1['backlog'],_0x84a96d)):_0x5e11e1['server']&&(this[_0x1cc7d3(0x317)]=_0x5e11e1[_0x1cc7d3(0x29f)]),this['_server']){const _0x489160=this['emit']['bind'](this,'connection');this[_0x1cc7d3(0x2b2)]=_0x3e1031(this['_server'],{'listening':this['emit'][_0x1cc7d3(0x276)](this,_0x1cc7d3(0x29d)),'error':this[_0x1cc7d3(0x266)][_0x1cc7d3(0x276)](this,_0x1cc7d3(0x38a)),'upgrade':(_0x4706dd,_0xbdf795,_0x1eaa8d)=>{const _0x44abaf=_0x1cc7d3;this[_0x44abaf(0x1f0)](_0x4706dd,_0xbdf795,_0x1eaa8d,_0x489160);}});}_0x5e11e1[_0x1cc7d3(0x2f8)]===!0x0&&(_0x5e11e1['perMessageDeflate']={}),_0x5e11e1[_0x1cc7d3(0x2c7)]&&(this['clients']=new Set(),this[_0x1cc7d3(0x345)]=!0x1),this[_0x1cc7d3(0x3a8)]=_0x5e11e1,this['_state']=_0x5bbb51;}[_0x47ef01(0x1f1)](){const _0x3496d4=_0x47ef01;if(this[_0x3496d4(0x3a8)][_0x3496d4(0x33f)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x3496d4(0x317)]?this[_0x3496d4(0x317)]['address']():null;}[_0x47ef01(0x277)](_0x5f36c5){const _0x3536ac=_0x47ef01;if(this[_0x3536ac(0x219)]===_0x58ad20){_0x5f36c5&&this[_0x3536ac(0x3a5)](_0x3536ac(0x277),()=>{const _0x2a2a09=_0x3536ac;_0x5f36c5(new Error(_0x2a2a09(0x2fd)));}),process[_0x3536ac(0x2f2)](_0x512e34,this);return;}if(_0x5f36c5&&this[_0x3536ac(0x3a5)](_0x3536ac(0x277),_0x5f36c5),this[_0x3536ac(0x219)]!==_0x5a8f8a){if(this['_state']=_0x5a8f8a,this[_0x3536ac(0x3a8)][_0x3536ac(0x33f)]||this[_0x3536ac(0x3a8)]['server'])this[_0x3536ac(0x317)]&&(this[_0x3536ac(0x2b2)](),this[_0x3536ac(0x2b2)]=this[_0x3536ac(0x317)]=null),this[_0x3536ac(0x38b)]?this[_0x3536ac(0x38b)][_0x3536ac(0x2e1)]?this[_0x3536ac(0x345)]=!0x0:process[_0x3536ac(0x2f2)](_0x512e34,this):process[_0x3536ac(0x2f2)](_0x512e34,this);else{const _0x363185=this['_server'];this[_0x3536ac(0x2b2)](),this['_removeListeners']=this[_0x3536ac(0x317)]=null,_0x363185[_0x3536ac(0x277)](()=>{_0x512e34(this);});}}}[_0x47ef01(0x259)](_0x1f98d9){const _0x2d5012=_0x47ef01;if(this[_0x2d5012(0x3a8)][_0x2d5012(0x23c)]){const _0x570e11=_0x1f98d9[_0x2d5012(0x356)][_0x2d5012(0x34d)]('?');if((_0x570e11!==-0x1?_0x1f98d9[_0x2d5012(0x356)][_0x2d5012(0x202)](0x0,_0x570e11):_0x1f98d9[_0x2d5012(0x356)])!==this['options'][_0x2d5012(0x23c)])return!0x1;}return!0x0;}[_0x47ef01(0x1f0)](_0x2040e9,_0x414b28,_0x542263,_0x29d98f){const _0x40737c=_0x47ef01;_0x414b28['on'](_0x40737c(0x38a),_0x262a3e);const _0x26d31e=_0x2040e9['headers'][_0x40737c(0x335)],_0x2dc879=_0x2040e9[_0x40737c(0x268)][_0x40737c(0x25c)],_0xf6785a=+_0x2040e9[_0x40737c(0x268)][_0x40737c(0x298)];if(_0x2040e9[_0x40737c(0x226)]!=='GET'){_0x3bf222(this,_0x2040e9,_0x414b28,0x195,_0x40737c(0x242));return;}if(_0x2dc879===void 0x0||_0x2dc879[_0x40737c(0x30e)]()!==_0x40737c(0x222)){_0x3bf222(this,_0x2040e9,_0x414b28,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x26d31e===void 0x0||!_0x4e0ed5[_0x40737c(0x218)](_0x26d31e)){_0x3bf222(this,_0x2040e9,_0x414b28,0x190,_0x40737c(0x37a));return;}if(_0xf6785a!==0x8&&_0xf6785a!==0xd){_0x3bf222(this,_0x2040e9,_0x414b28,0x190,_0x40737c(0x2fb));return;}if(!this[_0x40737c(0x259)](_0x2040e9)){_0x11e524(_0x414b28,0x190);return;}const _0x5c0e33=_0x2040e9[_0x40737c(0x268)][_0x40737c(0x367)];let _0x2ccdb4=new Set();if(_0x5c0e33!==void 0x0)try{_0x2ccdb4=_0x549df4[_0x40737c(0x39b)](_0x5c0e33);}catch{_0x3bf222(this,_0x2040e9,_0x414b28,0x190,_0x40737c(0x2a8));return;}const _0x1b835e=_0x2040e9[_0x40737c(0x268)]['sec-websocket-extensions'],_0x41a0f1={};if(this['options'][_0x40737c(0x2f8)]&&_0x1b835e!==void 0x0){const _0xfbc742=new _0x11f8b0(this[_0x40737c(0x3a8)][_0x40737c(0x2f8)],!0x0,this[_0x40737c(0x3a8)][_0x40737c(0x2e5)]);try{const _0x26a690=_0x46add6['parse'](_0x1b835e);_0x26a690[_0x11f8b0[_0x40737c(0x272)]]&&(_0xfbc742['accept'](_0x26a690[_0x11f8b0[_0x40737c(0x272)]]),_0x41a0f1[_0x11f8b0[_0x40737c(0x272)]]=_0xfbc742);}catch{_0x3bf222(this,_0x2040e9,_0x414b28,0x190,_0x40737c(0x329));return;}}if(this[_0x40737c(0x3a8)]['verifyClient']){const _0x2d704e={'origin':_0x2040e9[_0x40737c(0x268)][''+(_0xf6785a===0x8?_0x40737c(0x34b):_0x40737c(0x3a4))],'secure':!!(_0x2040e9['socket'][_0x40737c(0x1fe)]||_0x2040e9['socket'][_0x40737c(0x20c)]),'req':_0x2040e9};if(this[_0x40737c(0x3a8)][_0x40737c(0x324)]['length']===0x2){this['options'][_0x40737c(0x324)](_0x2d704e,(_0x3229ba,_0x2302f7,_0xf8a1b5,_0x4f3d1f)=>{if(!_0x3229ba)return _0x11e524(_0x414b28,_0x2302f7||0x191,_0xf8a1b5,_0x4f3d1f);this['completeUpgrade'](_0x41a0f1,_0x26d31e,_0x2ccdb4,_0x2040e9,_0x414b28,_0x542263,_0x29d98f);});return;}if(!this['options']['verifyClient'](_0x2d704e))return _0x11e524(_0x414b28,0x191);}this[_0x40737c(0x257)](_0x41a0f1,_0x26d31e,_0x2ccdb4,_0x2040e9,_0x414b28,_0x542263,_0x29d98f);}[_0x47ef01(0x257)](_0x4f3c09,_0x3305d7,_0x1b562f,_0x3c5161,_0x3a6e65,_0x16b489,_0xaf977e){const _0xe2d3c2=_0x47ef01;if(!_0x3a6e65['readable']||!_0x3a6e65['writable'])return _0x3a6e65[_0xe2d3c2(0x398)]();if(_0x3a6e65[_0x13edde])throw new Error(_0xe2d3c2(0x29c));if(this[_0xe2d3c2(0x219)]>_0x5bbb51)return _0x11e524(_0x3a6e65,0x1f7);const _0x27d971=[_0xe2d3c2(0x315),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0xe2d3c2(0x280)+_0x1a15b6(_0xe2d3c2(0x30a))[_0xe2d3c2(0x2d5)](_0x3305d7+_0x45336a)[_0xe2d3c2(0x24f)](_0xe2d3c2(0x275))],_0x202ca4=new this[(_0xe2d3c2(0x3a8))]['WebSocket'](null,void 0x0,this['options']);if(_0x1b562f['size']){const _0x40c8ab=this['options']['handleProtocols']?this[_0xe2d3c2(0x3a8)][_0xe2d3c2(0x284)](_0x1b562f,_0x3c5161):_0x1b562f['values']()[_0xe2d3c2(0x3a6)]()[_0xe2d3c2(0x1f2)];_0x40c8ab&&(_0x27d971[_0xe2d3c2(0x2d1)](_0xe2d3c2(0x343)+_0x40c8ab),_0x202ca4[_0xe2d3c2(0x392)]=_0x40c8ab);}if(_0x4f3c09[_0x11f8b0['extensionName']]){const _0xa997c1=_0x4f3c09[_0x11f8b0[_0xe2d3c2(0x272)]][_0xe2d3c2(0x255)],_0x4e89f1=_0x46add6[_0xe2d3c2(0x326)]({[_0x11f8b0[_0xe2d3c2(0x272)]]:[_0xa997c1]});_0x27d971[_0xe2d3c2(0x2d1)](_0xe2d3c2(0x32a)+_0x4e89f1),_0x202ca4[_0xe2d3c2(0x211)]=_0x4f3c09;}this[_0xe2d3c2(0x266)](_0xe2d3c2(0x268),_0x27d971,_0x3c5161),_0x3a6e65[_0xe2d3c2(0x227)](_0x27d971['concat']('\x0d\x0a')[_0xe2d3c2(0x1fa)]('\x0d\x0a')),_0x3a6e65['removeListener'](_0xe2d3c2(0x38a),_0x262a3e),_0x202ca4['setSocket'](_0x3a6e65,_0x16b489,{'allowSynchronousEvents':this['options'][_0xe2d3c2(0x1f5)],'maxPayload':this[_0xe2d3c2(0x3a8)][_0xe2d3c2(0x2e5)],'skipUTF8Validation':this[_0xe2d3c2(0x3a8)][_0xe2d3c2(0x293)]}),this[_0xe2d3c2(0x38b)]&&(this[_0xe2d3c2(0x38b)][_0xe2d3c2(0x26f)](_0x202ca4),_0x202ca4['on']('close',()=>{const _0x3a9a6a=_0xe2d3c2;this[_0x3a9a6a(0x38b)][_0x3a9a6a(0x331)](_0x202ca4),this[_0x3a9a6a(0x345)]&&!this[_0x3a9a6a(0x38b)][_0x3a9a6a(0x2e1)]&&process['nextTick'](_0x512e34,this);})),_0xaf977e(_0x202ca4,_0x3c5161);}}Te=_0x293722;function _0x3e1031(_0x1e6f1a,_0x3f6ff3){const _0x12b132=_0x47ef01;for(const _0x9f66d9 of Object[_0x12b132(0x246)](_0x3f6ff3))_0x1e6f1a['on'](_0x9f66d9,_0x3f6ff3[_0x9f66d9]);return function(){const _0x57b664=_0x12b132;for(const _0x2fa219 of Object[_0x57b664(0x246)](_0x3f6ff3))_0x1e6f1a[_0x57b664(0x377)](_0x2fa219,_0x3f6ff3[_0x2fa219]);};}function _0x512e34(_0x443a5e){const _0x1de749=_0x47ef01;_0x443a5e['_state']=_0x58ad20,_0x443a5e[_0x1de749(0x266)](_0x1de749(0x277));}function _0x262a3e(){const _0xa1adfc=_0x47ef01;this[_0xa1adfc(0x398)]();}function _0x11e524(_0x39ab6f,_0x425ed1,_0x2fd9e1,_0x4064bb){const _0x3fa4a9=_0x47ef01;_0x2fd9e1=_0x2fd9e1||_0x536337[_0x3fa4a9(0x301)][_0x425ed1],_0x4064bb={'Connection':_0x3fa4a9(0x277),'Content-Type':'text/html','Content-Length':Buffer[_0x3fa4a9(0x3ae)](_0x2fd9e1),..._0x4064bb},_0x39ab6f[_0x3fa4a9(0x3a5)]('finish',_0x39ab6f['destroy']),_0x39ab6f[_0x3fa4a9(0x375)](_0x3fa4a9(0x2a6)+_0x425ed1+'\x20'+_0x536337[_0x3fa4a9(0x301)][_0x425ed1]+'\x0d\x0a'+Object['keys'](_0x4064bb)[_0x3fa4a9(0x312)](_0xa6aff6=>_0xa6aff6+':\x20'+_0x4064bb[_0xa6aff6])[_0x3fa4a9(0x1fa)]('\x0d\x0a')+_0x3fa4a9(0x316)+_0x2fd9e1);}function _0x3bf222(_0x364bf4,_0x26b1ae,_0x372e23,_0x2ffaed,_0x45b056){const _0x815374=_0x47ef01;if(_0x364bf4[_0x815374(0x2c1)](_0x815374(0x26c))){const _0x5503ce=new Error(_0x45b056);Error[_0x815374(0x250)](_0x5503ce,_0x3bf222),_0x364bf4[_0x815374(0x266)](_0x815374(0x26c),_0x5503ce,_0x372e23,_0x26b1ae);}else _0x11e524(_0x372e23,_0x2ffaed,_0x45b056);}return Te;}Ft();var jt=Object[_0x3958e0(0x385)],Wt=(_0x2d9495,_0x47d96d,_0x4e9464,_0x135142)=>{const _0x52b05e=_0x3958e0;for(var _0x46e4b8=_0x135142>0x1?void 0x0:_0x135142?jt(_0x47d96d,_0x4e9464):_0x47d96d,_0x456c2e=_0x2d9495[_0x52b05e(0x291)]-0x1,_0x3eeedd;_0x456c2e>=0x0;_0x456c2e--)(_0x3eeedd=_0x2d9495[_0x456c2e])&&(_0x46e4b8=_0x3eeedd(_0x46e4b8)||_0x46e4b8);return _0x46e4b8;},qt=(_0x4d547f,_0x8789fd)=>(_0x32a630,_0x3262d3)=>_0x8789fd(_0x32a630,_0x3262d3,_0x4d547f);let ke=class extends A[_0x3958e0(0x36f)]{constructor(_0x4338cc){super(),this['_configService']=_0x4338cc;}[_0x3958e0(0x3a1)](_0x122e00){const _0x28a443=_0x3958e0;var _0x274aa0;const _0x5d3ed6=(_0x274aa0=this[_0x28a443(0x27d)]['getConfig'](fe))==null?void 0x0:_0x274aa0['customHeaders'];try{const _0x3597c6=new $t(_0x122e00,{'headers':{..._0x5d3ed6}}),_0x546c70=new A[(_0x28a443(0x382))]();return{'URL':_0x122e00,'close':(_0x170a42,_0x43c85c)=>{const _0x3ce0b0=_0x28a443;_0x3597c6[_0x3ce0b0(0x277)](_0x170a42,_0x43c85c),_0x546c70['dispose']();},'send':_0x490d81=>{const _0x19284e=_0x28a443;_0x3597c6[_0x19284e(0x32f)](_0x490d81);},'open$':new V[(_0x28a443(0x2d4))](_0x1d15be=>{const _0x3a6e9f=_0x28a443,_0x275ac2=_0x3b6956=>_0x1d15be[_0x3a6e9f(0x3a6)](_0x3b6956);_0x3597c6[_0x3a6e9f(0x3b4)](_0x3a6e9f(0x2dd),_0x275ac2),_0x546c70[_0x3a6e9f(0x26f)](A['toDisposable'](()=>_0x3597c6[_0x3a6e9f(0x241)](_0x3a6e9f(0x2dd),_0x275ac2)));})[_0x28a443(0x397)](V[_0x28a443(0x2eb)]()),'close$':new V[(_0x28a443(0x2d4))](_0x31fec3=>{const _0x293c64=_0x28a443,_0x5e3681=_0x59161f=>_0x31fec3['next'](_0x59161f);_0x3597c6[_0x293c64(0x3b4)]('close',_0x5e3681),_0x546c70[_0x293c64(0x26f)](A[_0x293c64(0x365)](()=>_0x3597c6[_0x293c64(0x241)](_0x293c64(0x277),_0x5e3681)));})['pipe'](V[_0x28a443(0x2eb)]()),'error$':new V['Observable'](_0x1e156e=>{const _0x2cf548=_0x28a443,_0x286ae6=_0x29b151=>_0x1e156e['next'](_0x29b151);_0x3597c6[_0x2cf548(0x3b4)](_0x2cf548(0x38a),_0x286ae6),_0x546c70[_0x2cf548(0x26f)](A[_0x2cf548(0x365)](()=>_0x3597c6[_0x2cf548(0x241)](_0x2cf548(0x38a),_0x286ae6)));})[_0x28a443(0x397)](V[_0x28a443(0x2eb)]()),'message$':new V[(_0x28a443(0x2d4))](_0x19c717=>{const _0x4e4c1f=_0x28a443,_0x24ec84=_0x9b7896=>_0x19c717['next'](_0x9b7896);_0x3597c6[_0x4e4c1f(0x3b4)]('message',_0x24ec84),_0x546c70['add'](A['toDisposable'](()=>_0x3597c6[_0x4e4c1f(0x241)](_0x4e4c1f(0x20e),_0x24ec84)));})[_0x28a443(0x397)](V['share']())};}catch(_0x22a046){return console[_0x28a443(0x38a)](_0x22a046),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x3958e0(0x391)],Vt=Object[_0x3958e0(0x385)],Ht=(_0x1a751b,_0x456f9b,_0xb5d5c8)=>_0x456f9b in _0x1a751b?Gt(_0x1a751b,_0x456f9b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb5d5c8}):_0x1a751b[_0x456f9b]=_0xb5d5c8,zt=(_0x46e9d4,_0x497b6b,_0x2ab51c,_0x45ba8f)=>{const _0x1e401f=_0x3958e0;for(var _0x479c11=_0x45ba8f>0x1?void 0x0:_0x45ba8f?Vt(_0x497b6b,_0x2ab51c):_0x497b6b,_0x5448e4=_0x46e9d4[_0x1e401f(0x291)]-0x1,_0x21d3f3;_0x5448e4>=0x0;_0x5448e4--)(_0x21d3f3=_0x46e9d4[_0x5448e4])&&(_0x479c11=_0x21d3f3(_0x479c11)||_0x479c11);return _0x479c11;},Ne=(_0x295f36,_0x2cdb1b)=>(_0x1ae461,_0xb03aa5)=>_0x2cdb1b(_0x1ae461,_0xb03aa5,_0x295f36),Yt=(_0x42e8a5,_0x461cc1,_0x382127)=>Ht(_0x42e8a5,_0x461cc1+'',_0x382127);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x1a21cf=Ct,_0x2fc523,_0x26bcb9,_0x524cd3){const _0x5d6a66=_0x3958e0;_0x1a21cf[_0x5d6a66(0x35a)]||_0x2fc523[_0x5d6a66(0x2aa)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x26bcb9,this['_injector']=_0x524cd3,this[_0x5d6a66(0x27d)]['setConfig'](fe,_0x1a21cf);}[_0x3958e0(0x340)](){const _0x48c74b=_0x3958e0;this[_0x48c74b(0x27b)]();}['_registerDependencies'](){const _0x37655e=_0x3958e0;A[_0x37655e(0x27c)](this[_0x37655e(0x228)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x3958e0(0x220)],_0x3958e0(0x2c4),_0x3958e0(0x307)),exports[_0x3958e0(0x220)]=zt([A[_0x3958e0(0x2da)](st[_0x3958e0(0x2bb)]),Ne(0x1,A[_0x3958e0(0x33e)]),Ne(0x2,A[_0x3958e0(0x2c6)]),Ne(0x3,A[_0x3958e0(0x2ca)](A[_0x3958e0(0x29a)]))],exports[_0x3958e0(0x220)]);var Kt=Object[_0x3958e0(0x385)],Xt=(_0x21b663,_0x166d6f,_0x345c65,_0x55213d)=>{const _0x499a24=_0x3958e0;for(var _0x19350a=_0x55213d>0x1?void 0x0:_0x55213d?Kt(_0x166d6f,_0x345c65):_0x166d6f,_0x590c7e=_0x21b663[_0x499a24(0x291)]-0x1,_0x3dfba9;_0x590c7e>=0x0;_0x590c7e--)(_0x3dfba9=_0x21b663[_0x590c7e])&&(_0x19350a=_0x3dfba9(_0x19350a)||_0x19350a);return _0x19350a;},ne=(_0x100308,_0x285948)=>(_0x23e02e,_0x5157b6)=>_0x285948(_0x23e02e,_0x5157b6,_0x100308);exports[_0x3958e0(0x39d)]=class extends st[_0x3958e0(0x32b)]{constructor(_0x5c2d6b,_0xf72dbf,_0x246927,_0x5534f6,_0x5cd868){const _0x28d842=_0x3958e0;super(_0x5c2d6b,_0xf72dbf,_0x246927,_0x5534f6,_0x5cd868);const _0x13c135=this['_configService']['getConfig'](fe);this[_0x28d842(0x204)]['registerHTTPInterceptor']({'interceptor':(_0x5c33ac,_0x458ed6)=>{const _0xef5446=_0x28d842;var _0x115559;const _0x5afaef=_0x5c33ac['headers'];return(_0x115559=_0x13c135==null?void 0x0:_0x13c135[_0xef5446(0x35a)])!=null&&_0x115559[_0xef5446(0x251)]&&_0x5afaef[_0xef5446(0x2c9)](_0xef5446(0x321),_0x13c135[_0xef5446(0x35a)][_0xef5446(0x251)]),_0x458ed6(_0x5c33ac);}});}async[_0x3958e0(0x3a1)](_0x293d2c){const _0xf16e2d=_0x3958e0;return this[_0xf16e2d(0x35e)](_0x293d2c);}},exports[_0x3958e0(0x39d)]=Xt([ne(0x0,A[_0x3958e0(0x2ca)](A[_0x3958e0(0x29a)])),ne(0x1,A[_0x3958e0(0x2ca)](it[_0x3958e0(0x294)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x3958e0(0x33e)]),ne(0x4,Ot[_0x3958e0(0x2b6)])],exports[_0x3958e0(0x39d)]),exports[_0x3958e0(0x313)]=fe;
|
|
1
|
+
'use strict';const _0x58ff9a=_0x4e84;(function(_0xe4395a,_0x3c96fb){const _0xb40dde=_0x4e84,_0x117f64=_0xe4395a();while(!![]){try{const _0x1d256f=-parseInt(_0xb40dde(0x26e))/0x1*(-parseInt(_0xb40dde(0x1d9))/0x2)+-parseInt(_0xb40dde(0x297))/0x3*(-parseInt(_0xb40dde(0x30e))/0x4)+parseInt(_0xb40dde(0x1b5))/0x5*(-parseInt(_0xb40dde(0x2d7))/0x6)+parseInt(_0xb40dde(0x183))/0x7+-parseInt(_0xb40dde(0x230))/0x8+parseInt(_0xb40dde(0x170))/0x9*(-parseInt(_0xb40dde(0x1f0))/0xa)+parseInt(_0xb40dde(0x195))/0xb;if(_0x1d256f===_0x3c96fb)break;else _0x117f64['push'](_0x117f64['shift']());}catch(_0xfd900){_0x117f64['push'](_0x117f64['shift']());}}}(_0x57ff,0x64fa7));Object[_0x58ff9a(0x1c3)](exports,Symbol['toStringTag'],{'value':_0x58ff9a(0x271)});const st=require(_0x58ff9a(0x1a1)),A=require(_0x58ff9a(0x1c2)),it=require(_0x58ff9a(0x1c8)),V=require(_0x58ff9a(0x229)),nt=require(_0x58ff9a(0x240)),vt=require('https'),ot=require(_0x58ff9a(0x2b1)),St=require(_0x58ff9a(0x1ec)),Et=require(_0x58ff9a(0x249)),Le=require(_0x58ff9a(0x169)),oe=require(_0x58ff9a(0x21d)),xt=require('url'),bt=require(_0x58ff9a(0x28b)),wt=require('buffer'),Ot=require(_0x58ff9a(0x2d5)),fe=_0x58ff9a(0x1bc),Ct={'customHeaders':{}};function Tt(_0x40ee17){const _0x4035dd=_0x58ff9a;return _0x40ee17&&_0x40ee17[_0x4035dd(0x21b)]&&Object[_0x4035dd(0x24c)][_0x4035dd(0x1f9)][_0x4035dd(0x21a)](_0x40ee17,'default')?_0x40ee17[_0x4035dd(0x2a2)]:_0x40ee17;}function _0x57ff(){const _0x5dead1=['data','\x22\x20must\x20have\x20only\x20a\x20single\x20value','toString','kTarget','host','setHeader','Sec-WebSocket-Origin','listeners','pong','OPEN','_server','@univerjs-pro/collaboration-client','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getConfig','buffers','NodeCollaborationSocketService','options','generateMask','setTimeout','client_no_context_takeover','cookie','alloc','normalizeParams','clientNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','STATUS_CODES','statusCode','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','serverNoContextTakeover','catch','getPayloadLength64','184380NxhsJI','bind','removeListener','accept','request','finish','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','collaboration-client-node.config','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WS_ERR_UNEXPECTED_RSV_1','MASK\x20must\x20be\x20set','_writableState','acceptAsServer','@univerjs/core','defineProperty','readUInt16BE','size','sec-websocket-accept','readyState','@univerjs/network','_closeFrameReceived','captureStackTrace','Sec-WebSocket-Extensions','_originalHostOrSocketPath','maxPayload','createDeflateRaw','handleProtocols','UniverCollaborationClientNodePlugin','server_max_window_bits','Sec-WebSocket-Protocol:\x20','_write','Invalid\x20URL:\x20','WS_NO_BUFFER_UTIL','_injector','Cookie','isInteger','2IOUFnb','IConfigService','length','createInflateRaw','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setNoDelay','handleEvent','total-length','serverMaxWindowBits','setSocket','arrayBuffer','nodebuffer','registerHTTPInterceptor','username','\x22:\x20','CLOSING','Z_SYNC_FLUSH','net','socket','_httpService','Unsupported\x20protocol\x20version:\x20','90YCKRal','set','permessage-deflate','end','species','_isServer','from','Max\x20payload\x20size\x20exceeded','dequeue','hasOwnProperty','pause','isArray','mask','error','_removeListeners','client','apply','message','upgrade','Origin','removeAllListeners','delete','ISnapshotServerService','once','sec-websocket-protocol','consume','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_fragmented','terminate','_binaryType','CONNECTING','base64','_paused','_allowSynchronousEvents','isValidUTF8','startLoop','opcode','websocket','port','socketPath','DependentOn','_generateMask','call','__esModule','_closeFrameSent','stream','startsWith','createConnection','write','DisposableCollection','format','WS_ERR_INVALID_CLOSE_CODE','endEmitted','defaultPort','createError','emitClose','_compressed','rxjs','_readyState','conclude','The\x20URL\x20contains\x20a\x20fragment\x20identifier','autoPong','allocUnsafe','open','2172240WghRbC','sec-websocket-version','_closeTimer','add','Upgrade:\x20websocket','Sec-WebSocket-Protocol','Unexpected\x20server\x20response:\x20','params','isView','pending','onmessage','env','auth','send','exports','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','events','listenerCount','kData','_state','Invalid\x20value\x20for\x20parameter\x20\x22','_compress','abort','Invalid\x20Sec-WebSocket-Extensions\x20header','zlibDeflateOptions','tls','dispose','_queue','prototype','objectMode','Unexpected\x20character\x20at\x20index\x20','number','client_max_window_bits','skipUTF8Validation','CLOSED','reset','kRun','connection','Inject','_configService','_maskBuffer','location','ping','verifyClient','clients','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','FIN\x20must\x20be\x20set','type','bufferedAmount','buffer','registerDependencies','split','update','ILogService','kCode','Invalid\x20HTTP\x20method','sec-websocket-extensions','Z_DEFAULT_WINDOWBITS','GET','getPayloadLength16','unexpected-response','indexOf','277691lkNKnC','get','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Module','\x0d\x0a\x0d\x0a','createSocket','byteOffset','next','_errored','COLLABORATION_CLIENT_NODE_CONFIG_KEY','shouldHandle','text/html','finishRequest','getData','Parameter\x20\x22','_autoPong','maxRedirects','search','server_no_context_takeover','_bufferedBytes','_fragments','perMessageDeflate','kError','Connection:\x20Upgrade','resume','RSV1\x20must\x20be\x20clear','concurrencyLimit','Server\x20sent\x20an\x20invalid\x20subprotocol','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','zlib','_mask','offer','_maxPayload','WS_ERR_INVALID_OPCODE','push','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Injector','emit','completeUpgrade','threshold','isPaused','751035AfKyUx','wss:','charCodeAt','_payloadLength','_receiver','byteLength','includes','ISocketService','wasClean','has','_bufferedAmount','default','_shouldEmitClose','_extensions','keys','headers','kType','kByteLength','server','_closeMessage','flush','WebSocket','allowSynchronousEvents','_req','needDrain','Sec-WebSocket-Accept:\x20','http','MASK\x20must\x20be\x20clear','compress','toStringTag','_url','response','readable','protocol','listening','address','binaryType','encrypted','servername','nextTick','invalid\x20status\x20code\x20','_inflate','join','replace','extensionName','Observable','_opcode','invalid\x20UTF-8\x20sequence','toLowerCase','close','_decompress','_no_context_takeover','decompress','Opening\x20handshake\x20has\x20timed\x20out','_options','ws+unix:','_registerDependencies','dispatch','pow','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getBlobData','concat','@univerjs-pro/collaboration','sendFrame','108YFEPrl','read','_max_window_bits','_masked','hash','toDisposable','_firstFragment','jobs','_readableState','_originalSecure','cork','destroyed','cleanup','Invalid\x20Upgrade\x20header','slice','href','The\x20\x22','HTTPService','HTTP/1.1\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_skipUTF8Validation','constructor','test','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','callback','map','redirect','string','sec-websocket-origin','kAborted','_originalIpc','_totalPayloadLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','\x20(supported\x20versions:\x20','share','listen','value','clientTracking','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_RSV_2_3','kDone','find','origin','https:','reason','kIsForOnEventAttribute','_loop','clientMaxWindowBits','then','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','sec-websocket-key','haveLength','pipe','getInfo','http:','8YaYrnG','WebSocket\x20is\x20not\x20open:\x20readyState\x20','authorized','_doCreateSocket','onclose','object','_socket','shift','Server\x20sent\x20no\x20subprotocol','drain','values','pathname','extensions','blob','writeHead','writeUInt16BE','_deflate','pluginName','protocolVersion','Maximum\x20redirects\x20exceeded','_buffers','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','The\x20server\x20is\x20not\x20running','_threshold','_protocol','ws:','frame','enqueue','connect','freeze','noServer','acceptAsClient','finished','The\x20URL\x27s\x20pathname\x20is\x20empty','Unknown\x20parameter\x20\x22','_fin','addEventListener','fin','customHeaders','crypto','forEach','_closeCode','create','invalid\x20opcode\x200','wsClientError','Upgrade','442701NbJiXN','arraybuffer','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_sender','destroy','_messageLength','followRedirects','readOnly','parse','onopen','digest','path','_redirects','getMask','getOwnPropertyDescriptor','onerror','target','_errorEmitted','authorization','3961524cVuCrA','code','unmask','isIP','kWasClean','removeEventListener','timeout','readUInt32BE','function','controlMessage','Plugin','hostname','WS_ERR_EXPECTED_MASK','invalid\x20opcode\x20','url','dataMessage','WS_ERR_INVALID_UTF8','_destroy','4920223QWeIKG'];_0x57ff=function(){return _0x5dead1;};return _0x57ff();}function at(_0x14937a){const _0x477709=_0x58ff9a;if(Object[_0x477709(0x24c)][_0x477709(0x1f9)][_0x477709(0x21a)](_0x14937a,'__esModule'))return _0x14937a;var _0x70a438=_0x14937a[_0x477709(0x2a2)];if(typeof _0x70a438==_0x477709(0x18b)){var _0x57ea3e=function _0x5e62fe(){const _0x4c7b11=_0x477709;return this instanceof _0x5e62fe?Reflect['construct'](_0x70a438,arguments,this[_0x4c7b11(0x2ec)]):_0x70a438[_0x4c7b11(0x200)](this,arguments);};_0x57ea3e[_0x477709(0x24c)]=_0x70a438['prototype'];}else _0x57ea3e={};return Object[_0x477709(0x1c3)](_0x57ea3e,_0x477709(0x21b),{'value':!0x0}),Object[_0x477709(0x2a5)](_0x14937a)[_0x477709(0x16a)](function(_0x31b193){const _0xcee2a6=_0x477709;var _0x320132=Object[_0xcee2a6(0x17e)](_0x14937a,_0x31b193);Object[_0xcee2a6(0x1c3)](_0x57ea3e,_0x31b193,_0x320132[_0xcee2a6(0x26f)]?_0x320132:{'enumerable':!0x0,'get':function(){return _0x14937a[_0x31b193];}});}),_0x57ea3e;}function _0x4e84(_0x58a786,_0x10312e){const _0x57ffb1=_0x57ff();return _0x4e84=function(_0x4e843f,_0x48e5b2){_0x4e843f=_0x4e843f-0x143;let _0x4c1263=_0x57ffb1[_0x4e843f];return _0x4c1263;},_0x4e84(_0x58a786,_0x10312e);}var se={'exports':{}},ge,Ge;function H(){const _0x1fb794=_0x58ff9a;if(Ge)return ge;Ge=0x1;const _0x6a5920=['nodebuffer',_0x1fb794(0x171),'fragments'],_0x3cba4c=typeof Blob<'u';return _0x3cba4c&&_0x6a5920['push'](_0x1fb794(0x14f)),ge={'BINARY_TYPES':_0x6a5920,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3cba4c,'kForOnEventAttribute':Symbol(_0x1fb794(0x304)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x1fb794(0x215)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x58ff9a(0x15f)](Object[_0x58ff9a(0x1c3)]({'__proto__':null,'default':Nt},Symbol[_0x58ff9a(0x2b4)],{'value':_0x58ff9a(0x271)})),Lt=at(kt);var Ve;function ce(){const _0x3014fa=_0x58ff9a;if(Ve)return se[_0x3014fa(0x23e)];Ve=0x1;const {EMPTY_BUFFER:_0x298cd5}=H(),_0x1a071f=Buffer[Symbol[_0x3014fa(0x1f4)]];function _0x279cab(_0x229c0a,_0x20d4ca){const _0x22f18f=_0x3014fa;if(_0x229c0a[_0x22f18f(0x1db)]===0x0)return _0x298cd5;if(_0x229c0a[_0x22f18f(0x1db)]===0x1)return _0x229c0a[0x0];const _0x447cd4=Buffer[_0x22f18f(0x22e)](_0x20d4ca);let _0xed1386=0x0;for(let _0x4b2cfa=0x0;_0x4b2cfa<_0x229c0a[_0x22f18f(0x1db)];_0x4b2cfa++){const _0x229e0c=_0x229c0a[_0x4b2cfa];_0x447cd4[_0x22f18f(0x1f1)](_0x229e0c,_0xed1386),_0xed1386+=_0x229e0c[_0x22f18f(0x1db)];}return _0xed1386<_0x20d4ca?new _0x1a071f(_0x447cd4[_0x22f18f(0x261)],_0x447cd4[_0x22f18f(0x274)],_0xed1386):_0x447cd4;}function _0x3cf6e0(_0x17f76e,_0x3dfcf9,_0xae4939,_0x23dd14,_0x4e9b1e){for(let _0x1ba5fc=0x0;_0x1ba5fc<_0x4e9b1e;_0x1ba5fc++)_0xae4939[_0x23dd14+_0x1ba5fc]=_0x17f76e[_0x1ba5fc]^_0x3dfcf9[_0x1ba5fc&0x3];}function _0x4b1c51(_0x53dd3d,_0x124fe9){const _0xa929b8=_0x3014fa;for(let _0x7c20c5=0x0;_0x7c20c5<_0x53dd3d[_0xa929b8(0x1db)];_0x7c20c5++)_0x53dd3d[_0x7c20c5]^=_0x124fe9[_0x7c20c5&0x3];}function _0x39cf19(_0x1cfdc0){const _0x548b23=_0x3014fa;return _0x1cfdc0[_0x548b23(0x1db)]===_0x1cfdc0[_0x548b23(0x261)][_0x548b23(0x29c)]?_0x1cfdc0[_0x548b23(0x261)]:_0x1cfdc0['buffer']['slice'](_0x1cfdc0['byteOffset'],_0x1cfdc0['byteOffset']+_0x1cfdc0[_0x548b23(0x1db)]);}function _0x267364(_0x3f38fc){const _0x21b3fc=_0x3014fa;if(_0x267364['readOnly']=!0x0,Buffer['isBuffer'](_0x3f38fc))return _0x3f38fc;let _0x34ee26;return _0x3f38fc instanceof ArrayBuffer?_0x34ee26=new _0x1a071f(_0x3f38fc):ArrayBuffer[_0x21b3fc(0x238)](_0x3f38fc)?_0x34ee26=new _0x1a071f(_0x3f38fc[_0x21b3fc(0x261)],_0x3f38fc[_0x21b3fc(0x274)],_0x3f38fc[_0x21b3fc(0x29c)]):(_0x34ee26=Buffer[_0x21b3fc(0x1f6)](_0x3f38fc),_0x267364['readOnly']=!0x1),_0x34ee26;}if(se[_0x3014fa(0x23e)]={'concat':_0x279cab,'mask':_0x3cf6e0,'toArrayBuffer':_0x39cf19,'toBuffer':_0x267364,'unmask':_0x4b1c51},!process[_0x3014fa(0x23b)][_0x3014fa(0x1d5)])try{const _0x2b4118=Lt;se[_0x3014fa(0x23e)]['mask']=function(_0x2ba9bb,_0x3487c7,_0x3ae97a,_0x281864,_0x30e11a){const _0x51db6f=_0x3014fa;_0x30e11a<0x30?_0x3cf6e0(_0x2ba9bb,_0x3487c7,_0x3ae97a,_0x281864,_0x30e11a):_0x2b4118[_0x51db6f(0x1fc)](_0x2ba9bb,_0x3487c7,_0x3ae97a,_0x281864,_0x30e11a);},se['exports'][_0x3014fa(0x185)]=function(_0x32c06b,_0x39f6c7){_0x32c06b['length']<0x20?_0x4b1c51(_0x32c06b,_0x39f6c7):_0x2b4118['unmask'](_0x32c06b,_0x39f6c7);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x4d573d=_0x58ff9a;if(He)return ye;He=0x1;const _0x11cb89=Symbol(_0x4d573d(0x2ff)),_0x448d18=Symbol(_0x4d573d(0x254));class _0x6d773c{constructor(_0x288338){const _0x352ca5=_0x4d573d;this[_0x11cb89]=()=>{const _0x59ff3b=_0x4e84;this[_0x59ff3b(0x239)]--,this[_0x448d18]();},this['concurrency']=_0x288338||0x1/0x0,this[_0x352ca5(0x2de)]=[],this[_0x352ca5(0x239)]=0x0;}['add'](_0x35bfb2){const _0xde1d3b=_0x4d573d;this[_0xde1d3b(0x2de)][_0xde1d3b(0x290)](_0x35bfb2),this[_0x448d18]();}[_0x448d18](){const _0x454eb1=_0x4d573d;if(this['pending']!==this['concurrency']&&this[_0x454eb1(0x2de)][_0x454eb1(0x1db)]){const _0x33f117=this[_0x454eb1(0x2de)][_0x454eb1(0x149)]();this['pending']++,_0x33f117(this[_0x11cb89]);}}}return ye=_0x6d773c,ye;}var ve,ze;function he(){const _0x489002=_0x58ff9a;if(ze)return ve;ze=0x1;const _0x5f1f66=bt,_0x1b6bad=ce(),_0x9fd9b5=Pt(),{kStatusCode:_0x446bfe}=H(),_0x34327d=Buffer[Symbol[_0x489002(0x1f4)]],_0x399f82=Buffer[_0x489002(0x1f6)]([0x0,0x0,0xff,0xff]),_0x134c3b=Symbol(_0x489002(0x1f2)),_0x37fe83=Symbol(_0x489002(0x1e2)),_0x1dcbf4=Symbol(_0x489002(0x2ef)),_0x10a544=Symbol(_0x489002(0x1a4)),_0x55ca91=Symbol(_0x489002(0x1fd));let _0x188d53;class _0x1f204b{constructor(_0x71ff9f,_0x282f7f,_0x2b59f9){const _0x8d470a=_0x489002;if(this[_0x8d470a(0x28e)]=_0x2b59f9|0x0,this[_0x8d470a(0x2cd)]=_0x71ff9f||{},this[_0x8d470a(0x159)]=this[_0x8d470a(0x2cd)][_0x8d470a(0x295)]!==void 0x0?this[_0x8d470a(0x2cd)][_0x8d470a(0x295)]:0x400,this[_0x8d470a(0x1f5)]=!!_0x282f7f,this['_deflate']=null,this[_0x8d470a(0x2c0)]=null,this[_0x8d470a(0x237)]=null,!_0x188d53){const _0x2815be=this[_0x8d470a(0x2cd)][_0x8d470a(0x288)]!==void 0x0?this['_options'][_0x8d470a(0x288)]:0xa;_0x188d53=new _0x9fd9b5(_0x2815be);}}static get[_0x489002(0x2c3)](){const _0x474856=_0x489002;return _0x474856(0x1f2);}[_0x489002(0x28d)](){const _0x4f3d7f=_0x489002,_0x3931b5={};return this[_0x4f3d7f(0x2cd)][_0x4f3d7f(0x1b2)]&&(_0x3931b5['server_no_context_takeover']=!0x0),this[_0x4f3d7f(0x2cd)][_0x4f3d7f(0x1ad)]&&(_0x3931b5[_0x4f3d7f(0x1a9)]=!0x0),this[_0x4f3d7f(0x2cd)][_0x4f3d7f(0x1e3)]&&(_0x3931b5[_0x4f3d7f(0x1d1)]=this[_0x4f3d7f(0x2cd)][_0x4f3d7f(0x1e3)]),this[_0x4f3d7f(0x2cd)][_0x4f3d7f(0x306)]?_0x3931b5['client_max_window_bits']=this[_0x4f3d7f(0x2cd)]['clientMaxWindowBits']:this['_options'][_0x4f3d7f(0x306)]==null&&(_0x3931b5[_0x4f3d7f(0x250)]=!0x0),_0x3931b5;}['accept'](_0x25093d){const _0x1f3151=_0x489002;return _0x25093d=this['normalizeParams'](_0x25093d),this[_0x1f3151(0x237)]=this[_0x1f3151(0x1f5)]?this[_0x1f3151(0x1c1)](_0x25093d):this[_0x1f3151(0x161)](_0x25093d),this[_0x1f3151(0x237)];}[_0x489002(0x2e3)](){const _0x5b6dc9=_0x489002;if(this[_0x5b6dc9(0x2c0)]&&(this[_0x5b6dc9(0x2c0)]['close'](),this[_0x5b6dc9(0x2c0)]=null),this[_0x5b6dc9(0x152)]){const _0x26bc7b=this[_0x5b6dc9(0x152)][_0x1dcbf4];this[_0x5b6dc9(0x152)]['close'](),this[_0x5b6dc9(0x152)]=null,_0x26bc7b&&_0x26bc7b(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x489002(0x1c1)](_0x1168e6){const _0x4ac7ed=_0x489002,_0x10c8a3=this[_0x4ac7ed(0x2cd)],_0x27e2cd=_0x1168e6[_0x4ac7ed(0x300)](_0x21f71f=>!(_0x10c8a3[_0x4ac7ed(0x1b2)]===!0x1&&_0x21f71f[_0x4ac7ed(0x280)]||_0x21f71f[_0x4ac7ed(0x1d1)]&&(_0x10c8a3[_0x4ac7ed(0x1e3)]===!0x1||typeof _0x10c8a3[_0x4ac7ed(0x1e3)]==_0x4ac7ed(0x24f)&&_0x10c8a3[_0x4ac7ed(0x1e3)]>_0x21f71f[_0x4ac7ed(0x1d1)])||typeof _0x10c8a3[_0x4ac7ed(0x306)]=='number'&&!_0x21f71f[_0x4ac7ed(0x250)]));if(!_0x27e2cd)throw new Error(_0x4ac7ed(0x172));return _0x10c8a3['serverNoContextTakeover']&&(_0x27e2cd['server_no_context_takeover']=!0x0),_0x10c8a3[_0x4ac7ed(0x1ad)]&&(_0x27e2cd[_0x4ac7ed(0x1a9)]=!0x0),typeof _0x10c8a3[_0x4ac7ed(0x1e3)]==_0x4ac7ed(0x24f)&&(_0x27e2cd[_0x4ac7ed(0x1d1)]=_0x10c8a3[_0x4ac7ed(0x1e3)]),typeof _0x10c8a3[_0x4ac7ed(0x306)]=='number'?_0x27e2cd['client_max_window_bits']=_0x10c8a3[_0x4ac7ed(0x306)]:(_0x27e2cd[_0x4ac7ed(0x250)]===!0x0||_0x10c8a3[_0x4ac7ed(0x306)]===!0x1)&&delete _0x27e2cd[_0x4ac7ed(0x250)],_0x27e2cd;}[_0x489002(0x161)](_0x2b3b74){const _0x1f4a2b=_0x489002,_0x4af380=_0x2b3b74[0x0];if(this[_0x1f4a2b(0x2cd)][_0x1f4a2b(0x1ad)]===!0x1&&_0x4af380[_0x1f4a2b(0x1a9)])throw new Error(_0x1f4a2b(0x2ee));if(!_0x4af380[_0x1f4a2b(0x250)])typeof this[_0x1f4a2b(0x2cd)][_0x1f4a2b(0x306)]==_0x1f4a2b(0x24f)&&(_0x4af380['client_max_window_bits']=this[_0x1f4a2b(0x2cd)][_0x1f4a2b(0x306)]);else{if(this[_0x1f4a2b(0x2cd)][_0x1f4a2b(0x306)]===!0x1||typeof this[_0x1f4a2b(0x2cd)]['clientMaxWindowBits']==_0x1f4a2b(0x24f)&&_0x4af380[_0x1f4a2b(0x250)]>this[_0x1f4a2b(0x2cd)][_0x1f4a2b(0x306)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4af380;}[_0x489002(0x1ac)](_0xb92443){const _0x2d5bf3=_0x489002;return _0xb92443[_0x2d5bf3(0x16a)](_0x19aeb9=>{const _0x1aea09=_0x2d5bf3;Object[_0x1aea09(0x2a5)](_0x19aeb9)[_0x1aea09(0x16a)](_0x51ea14=>{const _0xc36a03=_0x1aea09;let _0xd9c3da=_0x19aeb9[_0x51ea14];if(_0xd9c3da[_0xc36a03(0x1db)]>0x1)throw new Error(_0xc36a03(0x27c)+_0x51ea14+_0xc36a03(0x197));if(_0xd9c3da=_0xd9c3da[0x0],_0x51ea14==='client_max_window_bits'){if(_0xd9c3da!==!0x0){const _0x580d4f=+_0xd9c3da;if(!Number[_0xc36a03(0x1d8)](_0x580d4f)||_0x580d4f<0x8||_0x580d4f>0xf)throw new TypeError(_0xc36a03(0x244)+_0x51ea14+_0xc36a03(0x1e9)+_0xd9c3da);_0xd9c3da=_0x580d4f;}else{if(!this[_0xc36a03(0x1f5)])throw new TypeError(_0xc36a03(0x244)+_0x51ea14+_0xc36a03(0x1e9)+_0xd9c3da);}}else{if(_0x51ea14==='server_max_window_bits'){const _0x2a5390=+_0xd9c3da;if(!Number[_0xc36a03(0x1d8)](_0x2a5390)||_0x2a5390<0x8||_0x2a5390>0xf)throw new TypeError(_0xc36a03(0x244)+_0x51ea14+'\x22:\x20'+_0xd9c3da);_0xd9c3da=_0x2a5390;}else{if(_0x51ea14===_0xc36a03(0x1a9)||_0x51ea14==='server_no_context_takeover'){if(_0xd9c3da!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x51ea14+'\x22:\x20'+_0xd9c3da);}else throw new Error(_0xc36a03(0x164)+_0x51ea14+'\x22');}}_0x19aeb9[_0x51ea14]=_0xd9c3da;});}),_0xb92443;}[_0x489002(0x2cb)](_0x3dd2bd,_0x4cab8b,_0x9f6a3){const _0x13cf15=_0x489002;_0x188d53[_0x13cf15(0x233)](_0x1246a6=>{const _0x326739=_0x13cf15;this[_0x326739(0x2c9)](_0x3dd2bd,_0x4cab8b,(_0x291244,_0x445d71)=>{_0x1246a6(),_0x9f6a3(_0x291244,_0x445d71);});});}[_0x489002(0x2b3)](_0x3bbbfd,_0x2afca2,_0x2710dd){const _0x5313d7=_0x489002;_0x188d53[_0x5313d7(0x233)](_0x90801=>{const _0x462d41=_0x5313d7;this[_0x462d41(0x245)](_0x3bbbfd,_0x2afca2,(_0x17a84a,_0x415300)=>{_0x90801(),_0x2710dd(_0x17a84a,_0x415300);});});}[_0x489002(0x2c9)](_0x5c9466,_0x2a5dbb,_0x27883b){const _0x5dab39=_0x489002,_0x327d1f=this[_0x5dab39(0x1f5)]?_0x5dab39(0x1ff):_0x5dab39(0x2a9);if(!this[_0x5dab39(0x2c0)]){const _0x12b4e8=_0x327d1f+'_max_window_bits',_0x2758f7=typeof this[_0x5dab39(0x237)][_0x12b4e8]!=_0x5dab39(0x24f)?_0x5f1f66[_0x5dab39(0x269)]:this['params'][_0x12b4e8];this[_0x5dab39(0x2c0)]=_0x5f1f66[_0x5dab39(0x1dc)]({...this[_0x5dab39(0x2cd)]['zlibInflateOptions'],'windowBits':_0x2758f7}),this[_0x5dab39(0x2c0)][_0x134c3b]=this,this[_0x5dab39(0x2c0)][_0x37fe83]=0x0,this[_0x5dab39(0x2c0)][_0x10a544]=[],this[_0x5dab39(0x2c0)]['on'](_0x5dab39(0x1fd),_0x55b675),this['_inflate']['on'](_0x5dab39(0x196),_0x48efbf);}this[_0x5dab39(0x2c0)][_0x1dcbf4]=_0x27883b,this[_0x5dab39(0x2c0)][_0x5dab39(0x220)](_0x5c9466),_0x2a5dbb&&this[_0x5dab39(0x2c0)][_0x5dab39(0x220)](_0x399f82),this[_0x5dab39(0x2c0)][_0x5dab39(0x2ab)](()=>{const _0x71a2b6=_0x5dab39,_0x44dcd2=this[_0x71a2b6(0x2c0)][_0x55ca91];if(_0x44dcd2){this[_0x71a2b6(0x2c0)][_0x71a2b6(0x2c8)](),this[_0x71a2b6(0x2c0)]=null,_0x27883b(_0x44dcd2);return;}const _0x4003ae=_0x1b6bad['concat'](this[_0x71a2b6(0x2c0)][_0x10a544],this[_0x71a2b6(0x2c0)][_0x37fe83]);this['_inflate'][_0x71a2b6(0x2df)]['endEmitted']?(this[_0x71a2b6(0x2c0)][_0x71a2b6(0x2c8)](),this[_0x71a2b6(0x2c0)]=null):(this['_inflate'][_0x37fe83]=0x0,this[_0x71a2b6(0x2c0)][_0x10a544]=[],_0x2a5dbb&&this[_0x71a2b6(0x237)][_0x327d1f+_0x71a2b6(0x2ca)]&&this[_0x71a2b6(0x2c0)][_0x71a2b6(0x253)]()),_0x27883b(null,_0x4003ae);});}[_0x489002(0x245)](_0x25fce6,_0x2851e3,_0x55a5a4){const _0x11c025=_0x489002,_0x2ffa98=this[_0x11c025(0x1f5)]?'server':_0x11c025(0x1ff);if(!this[_0x11c025(0x152)]){const _0x125f5a=_0x2ffa98+_0x11c025(0x2d9),_0x2c1cbf=typeof this[_0x11c025(0x237)][_0x125f5a]!='number'?_0x5f1f66[_0x11c025(0x269)]:this[_0x11c025(0x237)][_0x125f5a];this[_0x11c025(0x152)]=_0x5f1f66[_0x11c025(0x1ce)]({...this['_options'][_0x11c025(0x248)],'windowBits':_0x2c1cbf}),this['_deflate'][_0x37fe83]=0x0,this['_deflate'][_0x10a544]=[],this['_deflate']['on'](_0x11c025(0x196),_0x155322);}this[_0x11c025(0x152)][_0x1dcbf4]=_0x55a5a4,this[_0x11c025(0x152)][_0x11c025(0x220)](_0x25fce6),this[_0x11c025(0x152)][_0x11c025(0x2ab)](_0x5f1f66[_0x11c025(0x1eb)],()=>{const _0x3cce2e=_0x11c025;if(!this[_0x3cce2e(0x152)])return;let _0x720ccc=_0x1b6bad[_0x3cce2e(0x2d4)](this['_deflate'][_0x10a544],this['_deflate'][_0x37fe83]);_0x2851e3&&(_0x720ccc=new _0x34327d(_0x720ccc[_0x3cce2e(0x261)],_0x720ccc[_0x3cce2e(0x274)],_0x720ccc['length']-0x4)),this['_deflate'][_0x1dcbf4]=null,this['_deflate'][_0x37fe83]=0x0,this[_0x3cce2e(0x152)][_0x10a544]=[],_0x2851e3&&this['params'][_0x2ffa98+_0x3cce2e(0x2ca)]&&this[_0x3cce2e(0x152)]['reset'](),_0x55a5a4(null,_0x720ccc);});}}ve=_0x1f204b;function _0x155322(_0x187030){const _0x27903f=_0x489002;this[_0x10a544][_0x27903f(0x290)](_0x187030),this[_0x37fe83]+=_0x187030[_0x27903f(0x1db)];}function _0x48efbf(_0x3f41c6){const _0x2cb706=_0x489002;if(this[_0x37fe83]+=_0x3f41c6['length'],this[_0x134c3b][_0x2cb706(0x28e)]<0x1||this[_0x37fe83]<=this[_0x134c3b][_0x2cb706(0x28e)]){this[_0x10a544][_0x2cb706(0x290)](_0x3f41c6);return;}this[_0x55ca91]=new RangeError(_0x2cb706(0x1f7)),this[_0x55ca91]['code']=_0x2cb706(0x1a2),this[_0x55ca91][_0x446bfe]=0x3f1,this[_0x2cb706(0x1b7)](_0x2cb706(0x196),_0x48efbf),this[_0x2cb706(0x253)]();}function _0x55b675(_0x151637){this[_0x134c3b]['_inflate']=null,_0x151637[_0x446bfe]=0x3ef,this[_0x1dcbf4](_0x151637);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x58ff9a(0x15f)](Object[_0x58ff9a(0x1c3)]({'__proto__':null,'default':Dt},Symbol[_0x58ff9a(0x2b4)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3f32ac=_0x58ff9a;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1d548e}=wt,{hasBlob:_0xda8264}=H(),_0x334531=[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 _0x940e2a(_0x5c919d){return _0x5c919d>=0x3e8&&_0x5c919d<=0x3f6&&_0x5c919d!==0x3ec&&_0x5c919d!==0x3ed&&_0x5c919d!==0x3ee||_0x5c919d>=0xbb8&&_0x5c919d<=0x1387;}function _0x563ece(_0x4285aa){const _0x499dbf=_0x4e84,_0x18e193=_0x4285aa[_0x499dbf(0x1db)];let _0x1ad38f=0x0;for(;_0x1ad38f<_0x18e193;)if((_0x4285aa[_0x1ad38f]&0x80)===0x0)_0x1ad38f++;else{if((_0x4285aa[_0x1ad38f]&0xe0)===0xc0){if(_0x1ad38f+0x1===_0x18e193||(_0x4285aa[_0x1ad38f+0x1]&0xc0)!==0x80||(_0x4285aa[_0x1ad38f]&0xfe)===0xc0)return!0x1;_0x1ad38f+=0x2;}else{if((_0x4285aa[_0x1ad38f]&0xf0)===0xe0){if(_0x1ad38f+0x2>=_0x18e193||(_0x4285aa[_0x1ad38f+0x1]&0xc0)!==0x80||(_0x4285aa[_0x1ad38f+0x2]&0xc0)!==0x80||_0x4285aa[_0x1ad38f]===0xe0&&(_0x4285aa[_0x1ad38f+0x1]&0xe0)===0x80||_0x4285aa[_0x1ad38f]===0xed&&(_0x4285aa[_0x1ad38f+0x1]&0xe0)===0xa0)return!0x1;_0x1ad38f+=0x3;}else{if((_0x4285aa[_0x1ad38f]&0xf8)===0xf0){if(_0x1ad38f+0x3>=_0x18e193||(_0x4285aa[_0x1ad38f+0x1]&0xc0)!==0x80||(_0x4285aa[_0x1ad38f+0x2]&0xc0)!==0x80||(_0x4285aa[_0x1ad38f+0x3]&0xc0)!==0x80||_0x4285aa[_0x1ad38f]===0xf0&&(_0x4285aa[_0x1ad38f+0x1]&0xf0)===0x80||_0x4285aa[_0x1ad38f]===0xf4&&_0x4285aa[_0x1ad38f+0x1]>0x8f||_0x4285aa[_0x1ad38f]>0xf4)return!0x1;_0x1ad38f+=0x4;}else return!0x1;}}}return!0x0;}function _0x53e220(_0xd05475){const _0x5c4538=_0x4e84;return _0xda8264&&typeof _0xd05475=='object'&&typeof _0xd05475[_0x5c4538(0x1e5)]==_0x5c4538(0x18b)&&typeof _0xd05475[_0x5c4538(0x25f)]==_0x5c4538(0x2f2)&&typeof _0xd05475[_0x5c4538(0x21d)]==_0x5c4538(0x18b)&&(_0xd05475[Symbol['toStringTag']]==='Blob'||_0xd05475[Symbol[_0x5c4538(0x2b4)]]==='File');}if(ie[_0x3f32ac(0x23e)]={'isBlob':_0x53e220,'isValidStatusCode':_0x940e2a,'isValidUTF8':_0x563ece,'tokenChars':_0x334531},_0x1d548e)ie['exports'][_0x3f32ac(0x212)]=function(_0x2ff440){const _0x3dbdda=_0x3f32ac;return _0x2ff440[_0x3dbdda(0x1db)]<0x18?_0x563ece(_0x2ff440):_0x1d548e(_0x2ff440);};else{if(!process[_0x3f32ac(0x23b)]['WS_NO_UTF_8_VALIDATE'])try{const _0x57737a=Bt;ie['exports'][_0x3f32ac(0x212)]=function(_0x134c52){const _0x4935f7=_0x3f32ac;return _0x134c52[_0x4935f7(0x1db)]<0x20?_0x563ece(_0x134c52):_0x57737a(_0x134c52);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5272ef=_0x58ff9a;if(Ke)return Se;Ke=0x1;const {Writable:_0x555ba2}=oe,_0x9ae40d=he(),{BINARY_TYPES:_0x500799,EMPTY_BUFFER:_0x567304,kStatusCode:_0x374174,kWebSocket:_0x501245}=H(),{concat:_0x4f7bb3,toArrayBuffer:_0x3b5842,unmask:_0x6577bc}=ce(),{isValidStatusCode:_0x6a2dd0,isValidUTF8:_0x2c08e3}=ae(),_0x39b248=Buffer[Symbol[_0x5272ef(0x1f4)]],_0x2b5e7b=0x0,_0x1b9b67=0x1,_0x18e570=0x2,_0x359ef6=0x3,_0x125b18=0x4,_0x3109d7=0x5,_0x155cda=0x6;class _0x1246dc extends _0x555ba2{constructor(_0x4176fe={}){const _0x230cee=_0x5272ef;super(),this[_0x230cee(0x211)]=_0x4176fe[_0x230cee(0x2ad)]!==void 0x0?_0x4176fe[_0x230cee(0x2ad)]:!0x0,this[_0x230cee(0x20d)]=_0x4176fe[_0x230cee(0x2bb)]||_0x500799[0x0],this[_0x230cee(0x2a4)]=_0x4176fe[_0x230cee(0x14e)]||{},this['_isServer']=!!_0x4176fe['isServer'],this[_0x230cee(0x28e)]=_0x4176fe[_0x230cee(0x1cd)]|0x0,this[_0x230cee(0x2eb)]=!!_0x4176fe['skipUTF8Validation'],this[_0x501245]=void 0x0,this[_0x230cee(0x281)]=0x0,this[_0x230cee(0x156)]=[],this[_0x230cee(0x228)]=!0x1,this['_payloadLength']=0x0,this[_0x230cee(0x28c)]=void 0x0,this[_0x230cee(0x20b)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x230cee(0x2c5)]=0x0,this[_0x230cee(0x2f6)]=0x0,this[_0x230cee(0x175)]=0x0,this[_0x230cee(0x282)]=[],this[_0x230cee(0x276)]=!0x1,this[_0x230cee(0x305)]=!0x1,this['_state']=_0x2b5e7b;}[_0x5272ef(0x1d3)](_0x39ca49,_0x521b79,_0x53e15f){const _0x456289=_0x5272ef;if(this['_opcode']===0x8&&this[_0x456289(0x243)]==_0x2b5e7b)return _0x53e15f();this[_0x456289(0x281)]+=_0x39ca49[_0x456289(0x1db)],this[_0x456289(0x156)][_0x456289(0x290)](_0x39ca49),this['startLoop'](_0x53e15f);}[_0x5272ef(0x209)](_0x4dc712){const _0x5c66ba=_0x5272ef;if(this['_bufferedBytes']-=_0x4dc712,_0x4dc712===this[_0x5c66ba(0x156)][0x0][_0x5c66ba(0x1db)])return this[_0x5c66ba(0x156)]['shift']();if(_0x4dc712<this[_0x5c66ba(0x156)][0x0][_0x5c66ba(0x1db)]){const _0x543c61=this[_0x5c66ba(0x156)][0x0];return this[_0x5c66ba(0x156)][0x0]=new _0x39b248(_0x543c61['buffer'],_0x543c61[_0x5c66ba(0x274)]+_0x4dc712,_0x543c61[_0x5c66ba(0x1db)]-_0x4dc712),new _0x39b248(_0x543c61[_0x5c66ba(0x261)],_0x543c61['byteOffset'],_0x4dc712);}const _0x5bab2c=Buffer['allocUnsafe'](_0x4dc712);do{const _0x154e14=this[_0x5c66ba(0x156)][0x0],_0x3d2442=_0x5bab2c['length']-_0x4dc712;_0x4dc712>=_0x154e14['length']?_0x5bab2c[_0x5c66ba(0x1f1)](this[_0x5c66ba(0x156)][_0x5c66ba(0x149)](),_0x3d2442):(_0x5bab2c[_0x5c66ba(0x1f1)](new Uint8Array(_0x154e14[_0x5c66ba(0x261)],_0x154e14[_0x5c66ba(0x274)],_0x4dc712),_0x3d2442),this['_buffers'][0x0]=new _0x39b248(_0x154e14['buffer'],_0x154e14[_0x5c66ba(0x274)]+_0x4dc712,_0x154e14['length']-_0x4dc712)),_0x4dc712-=_0x154e14['length'];}while(_0x4dc712>0x0);return _0x5bab2c;}[_0x5272ef(0x213)](_0x38e583){const _0x3ab125=_0x5272ef;this[_0x3ab125(0x305)]=!0x0;do switch(this[_0x3ab125(0x243)]){case _0x2b5e7b:this[_0x3ab125(0x30c)](_0x38e583);break;case _0x1b9b67:this[_0x3ab125(0x26b)](_0x38e583);break;case _0x18e570:this[_0x3ab125(0x1b4)](_0x38e583);break;case _0x359ef6:this[_0x3ab125(0x17d)]();break;case _0x125b18:this[_0x3ab125(0x27b)](_0x38e583);break;case _0x3109d7:case _0x155cda:this[_0x3ab125(0x305)]=!0x1;return;}while(this[_0x3ab125(0x305)]);this[_0x3ab125(0x276)]||_0x38e583();}[_0x5272ef(0x30c)](_0x3dfa57){const _0x1ac7a6=_0x5272ef;if(this[_0x1ac7a6(0x281)]<0x2){this['_loop']=!0x1;return;}const _0x46fe76=this['consume'](0x2);if((_0x46fe76[0x0]&0x30)!==0x0){const _0x17e873=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x2d2),!0x0,0x3ea,_0x1ac7a6(0x2fe));_0x3dfa57(_0x17e873);return;}const _0x80d568=(_0x46fe76[0x0]&0x40)===0x40;if(_0x80d568&&!this['_extensions'][_0x9ae40d[_0x1ac7a6(0x2c3)]]){const _0x726b33=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x287),!0x0,0x3ea,_0x1ac7a6(0x1be));_0x3dfa57(_0x726b33);return;}if(this[_0x1ac7a6(0x165)]=(_0x46fe76[0x0]&0x80)===0x80,this[_0x1ac7a6(0x2c5)]=_0x46fe76[0x0]&0xf,this[_0x1ac7a6(0x29a)]=_0x46fe76[0x1]&0x7f,this[_0x1ac7a6(0x2c5)]===0x0){if(_0x80d568){const _0x39cc61=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x287),!0x0,0x3ea,_0x1ac7a6(0x1be));_0x3dfa57(_0x39cc61);return;}if(!this[_0x1ac7a6(0x20b)]){const _0x5fab66=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x16d),!0x0,0x3ea,_0x1ac7a6(0x28f));_0x3dfa57(_0x5fab66);return;}this[_0x1ac7a6(0x2c5)]=this[_0x1ac7a6(0x20b)];}else{if(this['_opcode']===0x1||this[_0x1ac7a6(0x2c5)]===0x2){if(this[_0x1ac7a6(0x20b)]){const _0xd8e63b=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x190)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3dfa57(_0xd8e63b);return;}this[_0x1ac7a6(0x228)]=_0x80d568;}else{if(this[_0x1ac7a6(0x2c5)]>0x7&&this[_0x1ac7a6(0x2c5)]<0xb){if(!this['_fin']){const _0x25c98a=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x25e),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3dfa57(_0x25c98a);return;}if(_0x80d568){const _0x189fde=this['createError'](RangeError,_0x1ac7a6(0x287),!0x0,0x3ea,_0x1ac7a6(0x1be));_0x3dfa57(_0x189fde);return;}if(this[_0x1ac7a6(0x29a)]>0x7d||this[_0x1ac7a6(0x2c5)]===0x8&&this['_payloadLength']===0x1){const _0x185676=this[_0x1ac7a6(0x226)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x1ac7a6(0x23f));_0x3dfa57(_0x185676);return;}}else{const _0x2e40f9=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x190)+this[_0x1ac7a6(0x2c5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3dfa57(_0x2e40f9);return;}}}if(!this['_fin']&&!this[_0x1ac7a6(0x20b)]&&(this[_0x1ac7a6(0x20b)]=this[_0x1ac7a6(0x2c5)]),this[_0x1ac7a6(0x2da)]=(_0x46fe76[0x1]&0x80)===0x80,this[_0x1ac7a6(0x1f5)]){if(!this[_0x1ac7a6(0x2da)]){const _0x469cc0=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x1bf),!0x0,0x3ea,_0x1ac7a6(0x18f));_0x3dfa57(_0x469cc0);return;}}else{if(this[_0x1ac7a6(0x2da)]){const _0x36c8b3=this[_0x1ac7a6(0x226)](RangeError,_0x1ac7a6(0x2b2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3dfa57(_0x36c8b3);return;}}this[_0x1ac7a6(0x29a)]===0x7e?this[_0x1ac7a6(0x243)]=_0x1b9b67:this[_0x1ac7a6(0x29a)]===0x7f?this[_0x1ac7a6(0x243)]=_0x18e570:this['haveLength'](_0x3dfa57);}['getPayloadLength16'](_0x26aea3){const _0x31d693=_0x5272ef;if(this['_bufferedBytes']<0x2){this[_0x31d693(0x305)]=!0x1;return;}this['_payloadLength']=this[_0x31d693(0x209)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x26aea3);}[_0x5272ef(0x1b4)](_0x3054f4){const _0x58c75e=_0x5272ef;if(this[_0x58c75e(0x281)]<0x8){this[_0x58c75e(0x305)]=!0x1;return;}const _0x48d6fc=this[_0x58c75e(0x209)](0x8),_0x273a6d=_0x48d6fc[_0x58c75e(0x18a)](0x0);if(_0x273a6d>Math[_0x58c75e(0x2d1)](0x2,0x15)-0x1){const _0xaca305=this[_0x58c75e(0x226)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x58c75e(0x157));_0x3054f4(_0xaca305);return;}this[_0x58c75e(0x29a)]=_0x273a6d*Math[_0x58c75e(0x2d1)](0x2,0x20)+_0x48d6fc[_0x58c75e(0x18a)](0x4),this[_0x58c75e(0x30a)](_0x3054f4);}['haveLength'](_0x5eabde){const _0x1ba316=_0x5272ef;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x1ba316(0x2f6)]+=this['_payloadLength'],this[_0x1ba316(0x2f6)]>this[_0x1ba316(0x28e)]&&this[_0x1ba316(0x28e)]>0x0)){const _0x4e2abb=this[_0x1ba316(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1ba316(0x1a2));_0x5eabde(_0x4e2abb);return;}this[_0x1ba316(0x2da)]?this['_state']=_0x359ef6:this[_0x1ba316(0x243)]=_0x125b18;}['getMask'](){const _0x1ea6d2=_0x5272ef;if(this[_0x1ea6d2(0x281)]<0x4){this['_loop']=!0x1;return;}this[_0x1ea6d2(0x28c)]=this[_0x1ea6d2(0x209)](0x4),this[_0x1ea6d2(0x243)]=_0x125b18;}[_0x5272ef(0x27b)](_0x48769b){const _0x241479=_0x5272ef;let _0xd86d22=_0x567304;if(this[_0x241479(0x29a)]){if(this[_0x241479(0x281)]<this['_payloadLength']){this[_0x241479(0x305)]=!0x1;return;}_0xd86d22=this[_0x241479(0x209)](this['_payloadLength']),this[_0x241479(0x2da)]&&(this['_mask'][0x0]|this[_0x241479(0x28c)][0x1]|this[_0x241479(0x28c)][0x2]|this[_0x241479(0x28c)][0x3])!==0x0&&_0x6577bc(_0xd86d22,this[_0x241479(0x28c)]);}if(this['_opcode']>0x7){this[_0x241479(0x18c)](_0xd86d22,_0x48769b);return;}if(this[_0x241479(0x228)]){this[_0x241479(0x243)]=_0x3109d7,this[_0x241479(0x2cb)](_0xd86d22,_0x48769b);return;}_0xd86d22['length']&&(this[_0x241479(0x175)]=this[_0x241479(0x2f6)],this[_0x241479(0x282)][_0x241479(0x290)](_0xd86d22)),this[_0x241479(0x192)](_0x48769b);}[_0x5272ef(0x2cb)](_0x5bd507,_0x3e6f09){const _0x3b938a=_0x5272ef;this[_0x3b938a(0x2a4)][_0x9ae40d[_0x3b938a(0x2c3)]][_0x3b938a(0x2cb)](_0x5bd507,this[_0x3b938a(0x165)],(_0x532fff,_0x96f311)=>{const _0x3a6b09=_0x3b938a;if(_0x532fff)return _0x3e6f09(_0x532fff);if(_0x96f311['length']){if(this[_0x3a6b09(0x175)]+=_0x96f311[_0x3a6b09(0x1db)],this[_0x3a6b09(0x175)]>this[_0x3a6b09(0x28e)]&&this[_0x3a6b09(0x28e)]>0x0){const _0x2ab5ee=this['createError'](RangeError,_0x3a6b09(0x1f7),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3e6f09(_0x2ab5ee);return;}this[_0x3a6b09(0x282)][_0x3a6b09(0x290)](_0x96f311);}this[_0x3a6b09(0x192)](_0x3e6f09),this[_0x3a6b09(0x243)]===_0x2b5e7b&&this[_0x3a6b09(0x213)](_0x3e6f09);});}[_0x5272ef(0x192)](_0x16c2df){const _0x2430d3=_0x5272ef;if(!this[_0x2430d3(0x165)]){this[_0x2430d3(0x243)]=_0x2b5e7b;return;}const _0x1630bf=this[_0x2430d3(0x175)],_0x57b191=this['_fragments'];if(this[_0x2430d3(0x2f6)]=0x0,this[_0x2430d3(0x175)]=0x0,this[_0x2430d3(0x20b)]=0x0,this[_0x2430d3(0x282)]=[],this['_opcode']===0x2){let _0x303980;this[_0x2430d3(0x20d)]===_0x2430d3(0x1e6)?_0x303980=_0x4f7bb3(_0x57b191,_0x1630bf):this[_0x2430d3(0x20d)]===_0x2430d3(0x171)?_0x303980=_0x3b5842(_0x4f7bb3(_0x57b191,_0x1630bf)):this[_0x2430d3(0x20d)]===_0x2430d3(0x14f)?_0x303980=new Blob(_0x57b191):_0x303980=_0x57b191,this[_0x2430d3(0x211)]?(this[_0x2430d3(0x293)]('message',_0x303980,!0x0),this[_0x2430d3(0x243)]=_0x2b5e7b):(this[_0x2430d3(0x243)]=_0x155cda,setImmediate(()=>{const _0x50c0b8=_0x2430d3;this['emit'](_0x50c0b8(0x201),_0x303980,!0x0),this[_0x50c0b8(0x243)]=_0x2b5e7b,this[_0x50c0b8(0x213)](_0x16c2df);}));}else{const _0xf7f859=_0x4f7bb3(_0x57b191,_0x1630bf);if(!this[_0x2430d3(0x2eb)]&&!_0x2c08e3(_0xf7f859)){const _0x1ba0d1=this[_0x2430d3(0x226)](Error,_0x2430d3(0x2c6),!0x0,0x3ef,_0x2430d3(0x193));_0x16c2df(_0x1ba0d1);return;}this[_0x2430d3(0x243)]===_0x3109d7||this[_0x2430d3(0x211)]?(this['emit']('message',_0xf7f859,!0x1),this[_0x2430d3(0x243)]=_0x2b5e7b):(this['_state']=_0x155cda,setImmediate(()=>{const _0x24d91c=_0x2430d3;this['emit']('message',_0xf7f859,!0x1),this[_0x24d91c(0x243)]=_0x2b5e7b,this['startLoop'](_0x16c2df);}));}}[_0x5272ef(0x18c)](_0x3d9997,_0x2e4c34){const _0x21755c=_0x5272ef;if(this[_0x21755c(0x2c5)]===0x8){if(_0x3d9997['length']===0x0)this[_0x21755c(0x305)]=!0x1,this[_0x21755c(0x293)]('conclude',0x3ed,_0x567304),this[_0x21755c(0x1f3)]();else{const _0x1d5412=_0x3d9997[_0x21755c(0x1c4)](0x0);if(!_0x6a2dd0(_0x1d5412)){const _0x190c42=this[_0x21755c(0x226)](RangeError,_0x21755c(0x2bf)+_0x1d5412,!0x0,0x3ea,_0x21755c(0x223));_0x2e4c34(_0x190c42);return;}const _0x2a1059=new _0x39b248(_0x3d9997[_0x21755c(0x261)],_0x3d9997[_0x21755c(0x274)]+0x2,_0x3d9997['length']-0x2);if(!this[_0x21755c(0x2eb)]&&!_0x2c08e3(_0x2a1059)){const _0x59bdb7=this[_0x21755c(0x226)](Error,_0x21755c(0x2c6),!0x0,0x3ef,_0x21755c(0x193));_0x2e4c34(_0x59bdb7);return;}this[_0x21755c(0x305)]=!0x1,this['emit']('conclude',_0x1d5412,_0x2a1059),this[_0x21755c(0x1f3)]();}this['_state']=_0x2b5e7b;return;}this[_0x21755c(0x211)]?(this['emit'](this[_0x21755c(0x2c5)]===0x9?'ping':_0x21755c(0x19e),_0x3d9997),this[_0x21755c(0x243)]=_0x2b5e7b):(this['_state']=_0x155cda,setImmediate(()=>{const _0x5482d6=_0x21755c;this[_0x5482d6(0x293)](this['_opcode']===0x9?'ping':_0x5482d6(0x19e),_0x3d9997),this[_0x5482d6(0x243)]=_0x2b5e7b,this[_0x5482d6(0x213)](_0x2e4c34);}));}[_0x5272ef(0x226)](_0x4a31f8,_0x59f86a,_0x5897d6,_0x384e11,_0x17af39){const _0x558757=_0x5272ef;this[_0x558757(0x305)]=!0x1,this[_0x558757(0x276)]=!0x0;const _0x585ece=new _0x4a31f8(_0x5897d6?'Invalid\x20WebSocket\x20frame:\x20'+_0x59f86a:_0x59f86a);return Error[_0x558757(0x1ca)](_0x585ece,this['createError']),_0x585ece[_0x558757(0x184)]=_0x17af39,_0x585ece[_0x374174]=_0x384e11,_0x585ece;}}return Se=_0x1246dc,Se;}var Ee,Xe;function ft(){const _0x46d7c0=_0x58ff9a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xdfd979}=oe,{randomFillSync:_0x5134c5}=Le,_0x56162b=he(),{EMPTY_BUFFER:_0x115f73,kWebSocket:_0x1d8cd2,NOOP:_0x1f8091}=H(),{isBlob:_0xe62921,isValidStatusCode:_0x5eb28d}=ae(),{mask:_0x328757,toBuffer:_0x92881e}=ce(),_0x165e73=Symbol(_0x46d7c0(0x2a8)),_0x32d6e6=Buffer[_0x46d7c0(0x1ab)](0x4),_0x257d7e=0x8*0x400;let _0x1bca21,_0x2a6e9e=_0x257d7e;const _0x38c322=0x0,_0x3a5c8d=0x1,_0x15ff31=0x2;class _0x1af1da{constructor(_0x2a93e5,_0x154aa7,_0x325c8c){const _0x4e7df9=_0x46d7c0;this[_0x4e7df9(0x2a4)]=_0x154aa7||{},_0x325c8c&&(this[_0x4e7df9(0x219)]=_0x325c8c,this['_maskBuffer']=Buffer[_0x4e7df9(0x1ab)](0x4)),this[_0x4e7df9(0x148)]=_0x2a93e5,this[_0x4e7df9(0x2dd)]=!0x0,this[_0x4e7df9(0x245)]=!0x1,this[_0x4e7df9(0x281)]=0x0,this[_0x4e7df9(0x24b)]=[],this[_0x4e7df9(0x243)]=_0x38c322,this[_0x4e7df9(0x17f)]=_0x1f8091,this[_0x1d8cd2]=void 0x0;}static[_0x46d7c0(0x15c)](_0x5081fd,_0x3b0c77){const _0x437c68=_0x46d7c0;let _0x14e223,_0x1f9ff4=!0x1,_0x499f52=0x2,_0x3dc91e=!0x1;_0x3b0c77[_0x437c68(0x1fc)]&&(_0x14e223=_0x3b0c77['maskBuffer']||_0x32d6e6,_0x3b0c77[_0x437c68(0x1a7)]?_0x3b0c77[_0x437c68(0x1a7)](_0x14e223):(_0x2a6e9e===_0x257d7e&&(_0x1bca21===void 0x0&&(_0x1bca21=Buffer['alloc'](_0x257d7e)),_0x5134c5(_0x1bca21,0x0,_0x257d7e),_0x2a6e9e=0x0),_0x14e223[0x0]=_0x1bca21[_0x2a6e9e++],_0x14e223[0x1]=_0x1bca21[_0x2a6e9e++],_0x14e223[0x2]=_0x1bca21[_0x2a6e9e++],_0x14e223[0x3]=_0x1bca21[_0x2a6e9e++]),_0x3dc91e=(_0x14e223[0x0]|_0x14e223[0x1]|_0x14e223[0x2]|_0x14e223[0x3])===0x0,_0x499f52=0x6);let _0x17a646;typeof _0x5081fd=='string'?(!_0x3b0c77[_0x437c68(0x1fc)]||_0x3dc91e)&&_0x3b0c77[_0x165e73]!==void 0x0?_0x17a646=_0x3b0c77[_0x165e73]:(_0x5081fd=Buffer[_0x437c68(0x1f6)](_0x5081fd),_0x17a646=_0x5081fd[_0x437c68(0x1db)]):(_0x17a646=_0x5081fd['length'],_0x1f9ff4=_0x3b0c77[_0x437c68(0x1fc)]&&_0x3b0c77['readOnly']&&!_0x3dc91e);let _0x2faa86=_0x17a646;_0x17a646>=0x10000?(_0x499f52+=0x8,_0x2faa86=0x7f):_0x17a646>0x7d&&(_0x499f52+=0x2,_0x2faa86=0x7e);const _0x21ed1a=Buffer[_0x437c68(0x22e)](_0x1f9ff4?_0x17a646+_0x499f52:_0x499f52);return _0x21ed1a[0x0]=_0x3b0c77[_0x437c68(0x167)]?_0x3b0c77[_0x437c68(0x214)]|0x80:_0x3b0c77[_0x437c68(0x214)],_0x3b0c77['rsv1']&&(_0x21ed1a[0x0]|=0x40),_0x21ed1a[0x1]=_0x2faa86,_0x2faa86===0x7e?_0x21ed1a[_0x437c68(0x151)](_0x17a646,0x2):_0x2faa86===0x7f&&(_0x21ed1a[0x2]=_0x21ed1a[0x3]=0x0,_0x21ed1a['writeUIntBE'](_0x17a646,0x4,0x6)),_0x3b0c77[_0x437c68(0x1fc)]?(_0x21ed1a[0x1]|=0x80,_0x21ed1a[_0x499f52-0x4]=_0x14e223[0x0],_0x21ed1a[_0x499f52-0x3]=_0x14e223[0x1],_0x21ed1a[_0x499f52-0x2]=_0x14e223[0x2],_0x21ed1a[_0x499f52-0x1]=_0x14e223[0x3],_0x3dc91e?[_0x21ed1a,_0x5081fd]:_0x1f9ff4?(_0x328757(_0x5081fd,_0x14e223,_0x21ed1a,_0x499f52,_0x17a646),[_0x21ed1a]):(_0x328757(_0x5081fd,_0x14e223,_0x5081fd,0x0,_0x17a646),[_0x21ed1a,_0x5081fd])):[_0x21ed1a,_0x5081fd];}['close'](_0x6befbe,_0x263083,_0x33e7ed,_0x1324a4){const _0x3a3c6d=_0x46d7c0;let _0x23d5b3;if(_0x6befbe===void 0x0)_0x23d5b3=_0x115f73;else{if(typeof _0x6befbe!=_0x3a3c6d(0x24f)||!_0x5eb28d(_0x6befbe))throw new TypeError(_0x3a3c6d(0x1df));if(_0x263083===void 0x0||!_0x263083[_0x3a3c6d(0x1db)])_0x23d5b3=Buffer[_0x3a3c6d(0x22e)](0x2),_0x23d5b3[_0x3a3c6d(0x151)](_0x6befbe,0x0);else{const _0x52ea5a=Buffer[_0x3a3c6d(0x29c)](_0x263083);if(_0x52ea5a>0x7b)throw new RangeError(_0x3a3c6d(0x2f7));_0x23d5b3=Buffer['allocUnsafe'](0x2+_0x52ea5a),_0x23d5b3[_0x3a3c6d(0x151)](_0x6befbe,0x0),typeof _0x263083==_0x3a3c6d(0x2f2)?_0x23d5b3['write'](_0x263083,0x2):_0x23d5b3['set'](_0x263083,0x2);}}const _0x506b7f={[_0x165e73]:_0x23d5b3[_0x3a3c6d(0x1db)],'fin':!0x0,'generateMask':this[_0x3a3c6d(0x219)],'mask':_0x33e7ed,'maskBuffer':this[_0x3a3c6d(0x258)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3a3c6d(0x243)]!==_0x38c322?this['enqueue']([this[_0x3a3c6d(0x2d0)],_0x23d5b3,!0x1,_0x506b7f,_0x1324a4]):this[_0x3a3c6d(0x2d6)](_0x1af1da['frame'](_0x23d5b3,_0x506b7f),_0x1324a4);}['ping'](_0x3ba259,_0x4eb4bf,_0x48612d){const _0x13427e=_0x46d7c0;let _0x30e501,_0x302ba9;if(typeof _0x3ba259==_0x13427e(0x2f2)?(_0x30e501=Buffer[_0x13427e(0x29c)](_0x3ba259),_0x302ba9=!0x1):_0xe62921(_0x3ba259)?(_0x30e501=_0x3ba259[_0x13427e(0x1c5)],_0x302ba9=!0x1):(_0x3ba259=_0x92881e(_0x3ba259),_0x30e501=_0x3ba259[_0x13427e(0x1db)],_0x302ba9=_0x92881e[_0x13427e(0x177)]),_0x30e501>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4b75f9={[_0x165e73]:_0x30e501,'fin':!0x0,'generateMask':this[_0x13427e(0x219)],'mask':_0x4eb4bf,'maskBuffer':this[_0x13427e(0x258)],'opcode':0x9,'readOnly':_0x302ba9,'rsv1':!0x1};_0xe62921(_0x3ba259)?this[_0x13427e(0x243)]!==_0x38c322?this[_0x13427e(0x15d)]([this[_0x13427e(0x2d3)],_0x3ba259,!0x1,_0x4b75f9,_0x48612d]):this['getBlobData'](_0x3ba259,!0x1,_0x4b75f9,_0x48612d):this['_state']!==_0x38c322?this[_0x13427e(0x15d)]([this[_0x13427e(0x2d0)],_0x3ba259,!0x1,_0x4b75f9,_0x48612d]):this['sendFrame'](_0x1af1da[_0x13427e(0x15c)](_0x3ba259,_0x4b75f9),_0x48612d);}[_0x46d7c0(0x19e)](_0x5a291f,_0x5ce4fa,_0x1e107c){const _0xedb83=_0x46d7c0;let _0x49dffc,_0x5b6996;if(typeof _0x5a291f==_0xedb83(0x2f2)?(_0x49dffc=Buffer[_0xedb83(0x29c)](_0x5a291f),_0x5b6996=!0x1):_0xe62921(_0x5a291f)?(_0x49dffc=_0x5a291f[_0xedb83(0x1c5)],_0x5b6996=!0x1):(_0x5a291f=_0x92881e(_0x5a291f),_0x49dffc=_0x5a291f[_0xedb83(0x1db)],_0x5b6996=_0x92881e[_0xedb83(0x177)]),_0x49dffc>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x42db24={[_0x165e73]:_0x49dffc,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5ce4fa,'maskBuffer':this[_0xedb83(0x258)],'opcode':0xa,'readOnly':_0x5b6996,'rsv1':!0x1};_0xe62921(_0x5a291f)?this[_0xedb83(0x243)]!==_0x38c322?this[_0xedb83(0x15d)]([this[_0xedb83(0x2d3)],_0x5a291f,!0x1,_0x42db24,_0x1e107c]):this[_0xedb83(0x2d3)](_0x5a291f,!0x1,_0x42db24,_0x1e107c):this[_0xedb83(0x243)]!==_0x38c322?this[_0xedb83(0x15d)]([this['dispatch'],_0x5a291f,!0x1,_0x42db24,_0x1e107c]):this[_0xedb83(0x2d6)](_0x1af1da[_0xedb83(0x15c)](_0x5a291f,_0x42db24),_0x1e107c);}[_0x46d7c0(0x23d)](_0xd88d99,_0x2634f0,_0x2651c9){const _0x40e636=_0x46d7c0,_0x5942f9=this[_0x40e636(0x2a4)][_0x56162b[_0x40e636(0x2c3)]];let _0x54361a=_0x2634f0['binary']?0x2:0x1,_0x1d2ac4=_0x2634f0[_0x40e636(0x2b3)],_0x538359,_0x220c1c;typeof _0xd88d99==_0x40e636(0x2f2)?(_0x538359=Buffer[_0x40e636(0x29c)](_0xd88d99),_0x220c1c=!0x1):_0xe62921(_0xd88d99)?(_0x538359=_0xd88d99['size'],_0x220c1c=!0x1):(_0xd88d99=_0x92881e(_0xd88d99),_0x538359=_0xd88d99[_0x40e636(0x1db)],_0x220c1c=_0x92881e['readOnly']),this[_0x40e636(0x2dd)]?(this[_0x40e636(0x2dd)]=!0x1,_0x1d2ac4&&_0x5942f9&&_0x5942f9[_0x40e636(0x237)][_0x5942f9[_0x40e636(0x1f5)]?_0x40e636(0x280):_0x40e636(0x1a9)]&&(_0x1d2ac4=_0x538359>=_0x5942f9[_0x40e636(0x159)]),this[_0x40e636(0x245)]=_0x1d2ac4):(_0x1d2ac4=!0x1,_0x54361a=0x0),_0x2634f0['fin']&&(this[_0x40e636(0x2dd)]=!0x0);const _0x51c16c={[_0x165e73]:_0x538359,'fin':_0x2634f0[_0x40e636(0x167)],'generateMask':this[_0x40e636(0x219)],'mask':_0x2634f0[_0x40e636(0x1fc)],'maskBuffer':this['_maskBuffer'],'opcode':_0x54361a,'readOnly':_0x220c1c,'rsv1':_0x1d2ac4};_0xe62921(_0xd88d99)?this[_0x40e636(0x243)]!==_0x38c322?this[_0x40e636(0x15d)]([this['getBlobData'],_0xd88d99,this[_0x40e636(0x245)],_0x51c16c,_0x2651c9]):this[_0x40e636(0x2d3)](_0xd88d99,this[_0x40e636(0x245)],_0x51c16c,_0x2651c9):this[_0x40e636(0x243)]!==_0x38c322?this[_0x40e636(0x15d)]([this['dispatch'],_0xd88d99,this[_0x40e636(0x245)],_0x51c16c,_0x2651c9]):this[_0x40e636(0x2d0)](_0xd88d99,this['_compress'],_0x51c16c,_0x2651c9);}[_0x46d7c0(0x2d3)](_0x29e5a0,_0xa86084,_0x5ceb5d,_0x50d462){const _0x7f0e21=_0x46d7c0;this[_0x7f0e21(0x281)]+=_0x5ceb5d[_0x165e73],this[_0x7f0e21(0x243)]=_0x15ff31,_0x29e5a0[_0x7f0e21(0x1e5)]()[_0x7f0e21(0x307)](_0xaf7bec=>{const _0x253b10=_0x7f0e21;if(this[_0x253b10(0x148)][_0x253b10(0x2e2)]){const _0x1bfb9f=new Error(_0x253b10(0x1de));process[_0x253b10(0x2be)](_0x44486d,this,_0x1bfb9f,_0x50d462);return;}this['_bufferedBytes']-=_0x5ceb5d[_0x165e73];const _0x429c47=_0x92881e(_0xaf7bec);_0xa86084?this[_0x253b10(0x2d0)](_0x429c47,_0xa86084,_0x5ceb5d,_0x50d462):(this[_0x253b10(0x243)]=_0x38c322,this['sendFrame'](_0x1af1da[_0x253b10(0x15c)](_0x429c47,_0x5ceb5d),_0x50d462),this[_0x253b10(0x1f8)]());})[_0x7f0e21(0x1b3)](_0x424315=>{const _0x395cd9=_0x7f0e21;process[_0x395cd9(0x2be)](_0x44978b,this,_0x424315,_0x50d462);});}[_0x46d7c0(0x2d0)](_0x4f4436,_0x350b73,_0x110553,_0x2f6b6b){const _0x2c547a=_0x46d7c0;if(!_0x350b73){this[_0x2c547a(0x2d6)](_0x1af1da[_0x2c547a(0x15c)](_0x4f4436,_0x110553),_0x2f6b6b);return;}const _0x5b7196=this['_extensions'][_0x56162b['extensionName']];this['_bufferedBytes']+=_0x110553[_0x165e73],this[_0x2c547a(0x243)]=_0x3a5c8d,_0x5b7196[_0x2c547a(0x2b3)](_0x4f4436,_0x110553[_0x2c547a(0x167)],(_0x3b3c0a,_0x7a6666)=>{const _0x4edd8a=_0x2c547a;if(this[_0x4edd8a(0x148)][_0x4edd8a(0x2e2)]){const _0x5debb4=new Error(_0x4edd8a(0x20a));_0x44486d(this,_0x5debb4,_0x2f6b6b);return;}this['_bufferedBytes']-=_0x110553[_0x165e73],this[_0x4edd8a(0x243)]=_0x38c322,_0x110553[_0x4edd8a(0x177)]=!0x1,this[_0x4edd8a(0x2d6)](_0x1af1da[_0x4edd8a(0x15c)](_0x7a6666,_0x110553),_0x2f6b6b),this[_0x4edd8a(0x1f8)]();});}['dequeue'](){const _0x2badac=_0x46d7c0;for(;this['_state']===_0x38c322&&this[_0x2badac(0x24b)][_0x2badac(0x1db)];){const _0x1cb17e=this[_0x2badac(0x24b)][_0x2badac(0x149)]();this[_0x2badac(0x281)]-=_0x1cb17e[0x3][_0x165e73],Reflect['apply'](_0x1cb17e[0x0],this,_0x1cb17e['slice'](0x1));}}[_0x46d7c0(0x15d)](_0x413d76){const _0x537649=_0x46d7c0;this[_0x537649(0x281)]+=_0x413d76[0x3][_0x165e73],this[_0x537649(0x24b)][_0x537649(0x290)](_0x413d76);}['sendFrame'](_0x2d7226,_0x563e2a){const _0x3d0d3d=_0x46d7c0;_0x2d7226[_0x3d0d3d(0x1db)]===0x2?(this[_0x3d0d3d(0x148)][_0x3d0d3d(0x2e1)](),this[_0x3d0d3d(0x148)][_0x3d0d3d(0x220)](_0x2d7226[0x0]),this['_socket'][_0x3d0d3d(0x220)](_0x2d7226[0x1],_0x563e2a),this[_0x3d0d3d(0x148)]['uncork']()):this['_socket'][_0x3d0d3d(0x220)](_0x2d7226[0x0],_0x563e2a);}}Ee=_0x1af1da;function _0x44486d(_0x48a07c,_0x35e8f5,_0x212344){const _0x3717b7=_0x46d7c0;typeof _0x212344==_0x3717b7(0x18b)&&_0x212344(_0x35e8f5);for(let _0x56694e=0x0;_0x56694e<_0x48a07c[_0x3717b7(0x24b)][_0x3717b7(0x1db)];_0x56694e++){const _0x3f71fa=_0x48a07c[_0x3717b7(0x24b)][_0x56694e],_0x210415=_0x3f71fa[_0x3f71fa[_0x3717b7(0x1db)]-0x1];typeof _0x210415=='function'&&_0x210415(_0x35e8f5);}}function _0x44978b(_0x4a2def,_0x279d42,_0x239f3f){const _0x5cf821=_0x46d7c0;_0x44486d(_0x4a2def,_0x279d42,_0x239f3f),_0x4a2def[_0x5cf821(0x17f)](_0x279d42);}return Ee;}var xe,Ze;function It(){const _0x42f1a1=_0x58ff9a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4fecca,kListener:_0xdce027}=H(),_0x272c9c=Symbol(_0x42f1a1(0x266)),_0x37ef5c=Symbol(_0x42f1a1(0x242)),_0x17e976=Symbol(_0x42f1a1(0x284)),_0x3dc437=Symbol('kMessage'),_0x173fef=Symbol('kReason'),_0x19c8ad=Symbol(_0x42f1a1(0x199)),_0x1e40be=Symbol(_0x42f1a1(0x2a7)),_0x21bf55=Symbol(_0x42f1a1(0x187));class _0xaac99a{constructor(_0x2a039d){this[_0x19c8ad]=null,this[_0x1e40be]=_0x2a039d;}get[_0x42f1a1(0x180)](){return this[_0x19c8ad];}get[_0x42f1a1(0x25f)](){return this[_0x1e40be];}}Object['defineProperty'](_0xaac99a[_0x42f1a1(0x24c)],_0x42f1a1(0x180),{'enumerable':!0x0}),Object[_0x42f1a1(0x1c3)](_0xaac99a[_0x42f1a1(0x24c)],_0x42f1a1(0x25f),{'enumerable':!0x0});class _0x9caa99 extends _0xaac99a{constructor(_0x25dc92,_0x15f8bc={}){const _0x54e8da=_0x42f1a1;super(_0x25dc92),this[_0x272c9c]=_0x15f8bc[_0x54e8da(0x184)]===void 0x0?0x0:_0x15f8bc['code'],this[_0x173fef]=_0x15f8bc[_0x54e8da(0x303)]===void 0x0?'':_0x15f8bc[_0x54e8da(0x303)],this[_0x21bf55]=_0x15f8bc['wasClean']===void 0x0?!0x1:_0x15f8bc[_0x54e8da(0x29f)];}get[_0x42f1a1(0x184)](){return this[_0x272c9c];}get[_0x42f1a1(0x303)](){return this[_0x173fef];}get[_0x42f1a1(0x29f)](){return this[_0x21bf55];}}Object[_0x42f1a1(0x1c3)](_0x9caa99[_0x42f1a1(0x24c)],_0x42f1a1(0x184),{'enumerable':!0x0}),Object[_0x42f1a1(0x1c3)](_0x9caa99[_0x42f1a1(0x24c)],'reason',{'enumerable':!0x0}),Object[_0x42f1a1(0x1c3)](_0x9caa99['prototype'],_0x42f1a1(0x29f),{'enumerable':!0x0});class _0x54dfb1 extends _0xaac99a{constructor(_0x159983,_0x3bdf5c={}){const _0x2464c8=_0x42f1a1;super(_0x159983),this[_0x17e976]=_0x3bdf5c[_0x2464c8(0x1fd)]===void 0x0?null:_0x3bdf5c[_0x2464c8(0x1fd)],this[_0x3dc437]=_0x3bdf5c[_0x2464c8(0x201)]===void 0x0?'':_0x3bdf5c[_0x2464c8(0x201)];}get[_0x42f1a1(0x1fd)](){return this[_0x17e976];}get['message'](){return this[_0x3dc437];}}Object[_0x42f1a1(0x1c3)](_0x54dfb1[_0x42f1a1(0x24c)],_0x42f1a1(0x1fd),{'enumerable':!0x0}),Object['defineProperty'](_0x54dfb1['prototype'],_0x42f1a1(0x201),{'enumerable':!0x0});class _0x44c213 extends _0xaac99a{constructor(_0x3a29d5,_0x1e32e2={}){const _0x5124ba=_0x42f1a1;super(_0x3a29d5),this[_0x37ef5c]=_0x1e32e2['data']===void 0x0?null:_0x1e32e2[_0x5124ba(0x196)];}get['data'](){return this[_0x37ef5c];}}Object[_0x42f1a1(0x1c3)](_0x44c213[_0x42f1a1(0x24c)],_0x42f1a1(0x196),{'enumerable':!0x0}),xe={'CloseEvent':_0x9caa99,'ErrorEvent':_0x54dfb1,'Event':_0xaac99a,'EventTarget':{'addEventListener'(_0x3599c2,_0x54277d,_0x16c7d5={}){const _0x1ee7a7=_0x42f1a1;for(const _0x109f37 of this['listeners'](_0x3599c2))if(!_0x16c7d5[_0x4fecca]&&_0x109f37[_0xdce027]===_0x54277d&&!_0x109f37[_0x4fecca])return;let _0xe809ef;if(_0x3599c2===_0x1ee7a7(0x201))_0xe809ef=function(_0x21cc8c,_0x4f3833){const _0x45fc62=_0x1ee7a7,_0x9ac971=new _0x44c213(_0x45fc62(0x201),{'data':_0x4f3833?_0x21cc8c:_0x21cc8c[_0x45fc62(0x198)]()});_0x9ac971[_0x19c8ad]=this,_0x72767(_0x54277d,this,_0x9ac971);};else{if(_0x3599c2==='close')_0xe809ef=function(_0x2ab8dc,_0x2f07b5){const _0x16a934=_0x1ee7a7,_0xa11ef5=new _0x9caa99(_0x16a934(0x2c8),{'code':_0x2ab8dc,'reason':_0x2f07b5[_0x16a934(0x198)](),'wasClean':this['_closeFrameReceived']&&this[_0x16a934(0x21c)]});_0xa11ef5[_0x19c8ad]=this,_0x72767(_0x54277d,this,_0xa11ef5);};else{if(_0x3599c2==='error')_0xe809ef=function(_0x1f8769){const _0x155313=_0x1ee7a7,_0x2d8348=new _0x54dfb1(_0x155313(0x1fd),{'error':_0x1f8769,'message':_0x1f8769[_0x155313(0x201)]});_0x2d8348[_0x19c8ad]=this,_0x72767(_0x54277d,this,_0x2d8348);};else{if(_0x3599c2===_0x1ee7a7(0x22f))_0xe809ef=function(){const _0x393890=_0x1ee7a7,_0x2d95e6=new _0xaac99a(_0x393890(0x22f));_0x2d95e6[_0x19c8ad]=this,_0x72767(_0x54277d,this,_0x2d95e6);};else return;}}}_0xe809ef[_0x4fecca]=!!_0x16c7d5[_0x4fecca],_0xe809ef[_0xdce027]=_0x54277d,_0x16c7d5[_0x1ee7a7(0x207)]?this[_0x1ee7a7(0x207)](_0x3599c2,_0xe809ef):this['on'](_0x3599c2,_0xe809ef);},'removeEventListener'(_0x423b55,_0x299d69){const _0x301aef=_0x42f1a1;for(const _0x5a72f0 of this[_0x301aef(0x19d)](_0x423b55))if(_0x5a72f0[_0xdce027]===_0x299d69&&!_0x5a72f0[_0x4fecca]){this[_0x301aef(0x1b7)](_0x423b55,_0x5a72f0);break;}}},'MessageEvent':_0x44c213};function _0x72767(_0x3866c5,_0x320425,_0x343611){const _0x474015=_0x42f1a1;typeof _0x3866c5==_0x474015(0x147)&&_0x3866c5[_0x474015(0x1e1)]?_0x3866c5[_0x474015(0x1e1)][_0x474015(0x21a)](_0x3866c5,_0x343611):_0x3866c5[_0x474015(0x21a)](_0x320425,_0x343611);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x48d93d}=ae();function _0x50ee85(_0x503c0f,_0x2b3fb7,_0x195b30){const _0x2d5e22=_0x4e84;_0x503c0f[_0x2b3fb7]===void 0x0?_0x503c0f[_0x2b3fb7]=[_0x195b30]:_0x503c0f[_0x2b3fb7][_0x2d5e22(0x290)](_0x195b30);}function _0x49622f(_0x4872b5){const _0x287ad7=_0x4e84,_0x387907=Object[_0x287ad7(0x16c)](null);let _0x1a3a00=Object[_0x287ad7(0x16c)](null),_0x5e3af8=!0x1,_0x4c77f2=!0x1,_0x354830=!0x1,_0x31161b,_0x189940,_0x554cbe=-0x1,_0x59a19b=-0x1,_0x147019=-0x1,_0x1b6b7d=0x0;for(;_0x1b6b7d<_0x4872b5[_0x287ad7(0x1db)];_0x1b6b7d++)if(_0x59a19b=_0x4872b5['charCodeAt'](_0x1b6b7d),_0x31161b===void 0x0){if(_0x147019===-0x1&&_0x48d93d[_0x59a19b]===0x1)_0x554cbe===-0x1&&(_0x554cbe=_0x1b6b7d);else{if(_0x1b6b7d!==0x0&&(_0x59a19b===0x20||_0x59a19b===0x9))_0x147019===-0x1&&_0x554cbe!==-0x1&&(_0x147019=_0x1b6b7d);else{if(_0x59a19b===0x3b||_0x59a19b===0x2c){if(_0x554cbe===-0x1)throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);_0x147019===-0x1&&(_0x147019=_0x1b6b7d);const _0x538750=_0x4872b5['slice'](_0x554cbe,_0x147019);_0x59a19b===0x2c?(_0x50ee85(_0x387907,_0x538750,_0x1a3a00),_0x1a3a00=Object[_0x287ad7(0x16c)](null)):_0x31161b=_0x538750,_0x554cbe=_0x147019=-0x1;}else throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);}}}else{if(_0x189940===void 0x0){if(_0x147019===-0x1&&_0x48d93d[_0x59a19b]===0x1)_0x554cbe===-0x1&&(_0x554cbe=_0x1b6b7d);else{if(_0x59a19b===0x20||_0x59a19b===0x9)_0x147019===-0x1&&_0x554cbe!==-0x1&&(_0x147019=_0x1b6b7d);else{if(_0x59a19b===0x3b||_0x59a19b===0x2c){if(_0x554cbe===-0x1)throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);_0x147019===-0x1&&(_0x147019=_0x1b6b7d),_0x50ee85(_0x1a3a00,_0x4872b5[_0x287ad7(0x2e5)](_0x554cbe,_0x147019),!0x0),_0x59a19b===0x2c&&(_0x50ee85(_0x387907,_0x31161b,_0x1a3a00),_0x1a3a00=Object[_0x287ad7(0x16c)](null),_0x31161b=void 0x0),_0x554cbe=_0x147019=-0x1;}else{if(_0x59a19b===0x3d&&_0x554cbe!==-0x1&&_0x147019===-0x1)_0x189940=_0x4872b5[_0x287ad7(0x2e5)](_0x554cbe,_0x1b6b7d),_0x554cbe=_0x147019=-0x1;else throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);}}}}else{if(_0x4c77f2){if(_0x48d93d[_0x59a19b]!==0x1)throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);_0x554cbe===-0x1?_0x554cbe=_0x1b6b7d:_0x5e3af8||(_0x5e3af8=!0x0),_0x4c77f2=!0x1;}else{if(_0x354830){if(_0x48d93d[_0x59a19b]===0x1)_0x554cbe===-0x1&&(_0x554cbe=_0x1b6b7d);else{if(_0x59a19b===0x22&&_0x554cbe!==-0x1)_0x354830=!0x1,_0x147019=_0x1b6b7d;else{if(_0x59a19b===0x5c)_0x4c77f2=!0x0;else throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);}}}else{if(_0x59a19b===0x22&&_0x4872b5[_0x287ad7(0x299)](_0x1b6b7d-0x1)===0x3d)_0x354830=!0x0;else{if(_0x147019===-0x1&&_0x48d93d[_0x59a19b]===0x1)_0x554cbe===-0x1&&(_0x554cbe=_0x1b6b7d);else{if(_0x554cbe!==-0x1&&(_0x59a19b===0x20||_0x59a19b===0x9))_0x147019===-0x1&&(_0x147019=_0x1b6b7d);else{if(_0x59a19b===0x3b||_0x59a19b===0x2c){if(_0x554cbe===-0x1)throw new SyntaxError(_0x287ad7(0x24e)+_0x1b6b7d);_0x147019===-0x1&&(_0x147019=_0x1b6b7d);let _0x341857=_0x4872b5[_0x287ad7(0x2e5)](_0x554cbe,_0x147019);_0x5e3af8&&(_0x341857=_0x341857['replace'](/\\/g,''),_0x5e3af8=!0x1),_0x50ee85(_0x1a3a00,_0x189940,_0x341857),_0x59a19b===0x2c&&(_0x50ee85(_0x387907,_0x31161b,_0x1a3a00),_0x1a3a00=Object[_0x287ad7(0x16c)](null),_0x31161b=void 0x0),_0x189940=void 0x0,_0x554cbe=_0x147019=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b6b7d);}}}}}}}if(_0x554cbe===-0x1||_0x354830||_0x59a19b===0x20||_0x59a19b===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x147019===-0x1&&(_0x147019=_0x1b6b7d);const _0x473a4e=_0x4872b5[_0x287ad7(0x2e5)](_0x554cbe,_0x147019);return _0x31161b===void 0x0?_0x50ee85(_0x387907,_0x473a4e,_0x1a3a00):(_0x189940===void 0x0?_0x50ee85(_0x1a3a00,_0x473a4e,!0x0):_0x5e3af8?_0x50ee85(_0x1a3a00,_0x189940,_0x473a4e[_0x287ad7(0x2c2)](/\\/g,'')):_0x50ee85(_0x1a3a00,_0x189940,_0x473a4e),_0x50ee85(_0x387907,_0x31161b,_0x1a3a00)),_0x387907;}function _0x2b292a(_0x427532){const _0xaceff5=_0x4e84;return Object[_0xaceff5(0x2a5)](_0x427532)['map'](_0x4be813=>{const _0x15a15c=_0xaceff5;let _0x12898e=_0x427532[_0x4be813];return Array[_0x15a15c(0x1fb)](_0x12898e)||(_0x12898e=[_0x12898e]),_0x12898e[_0x15a15c(0x2f0)](_0xe71eb3=>[_0x4be813][_0x15a15c(0x2d4)](Object[_0x15a15c(0x2a5)](_0xe71eb3)[_0x15a15c(0x2f0)](_0x3f66c1=>{const _0x13eefd=_0x15a15c;let _0x46fb73=_0xe71eb3[_0x3f66c1];return Array[_0x13eefd(0x1fb)](_0x46fb73)||(_0x46fb73=[_0x46fb73]),_0x46fb73[_0x13eefd(0x2f0)](_0x53aba2=>_0x53aba2===!0x0?_0x3f66c1:_0x3f66c1+'='+_0x53aba2)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x2b292a,'parse':_0x49622f},be;}var we,Je;function Pe(){const _0xfac537=_0x58ff9a;if(Je)return we;Je=0x1;const _0x591414=nt,_0x222df3=vt,_0x5f1c74=ot,_0x3c135d=St,_0x174b54=Et,{randomBytes:_0x796622,createHash:_0x26ddb9}=Le,{Duplex:_0x5934fe,Readable:_0x50624e}=oe,{URL:_0x59de09}=xt,_0x446df1=he(),_0x61aea3=lt(),_0x459838=ft(),{isBlob:_0x1649fb}=ae(),{BINARY_TYPES:_0x402b09,EMPTY_BUFFER:_0x229c53,GUID:_0xf0debd,kForOnEventAttribute:_0x364c5d,kListener:_0xfac8a0,kStatusCode:_0x3d7222,kWebSocket:_0x162b24,NOOP:_0x55b000}=H(),{EventTarget:{addEventListener:_0x562498,removeEventListener:_0x1443a4}}=It(),{format:_0x4df98b,parse:_0x10b945}=ct(),{toBuffer:_0x4a350e}=ce(),_0x573d9b=0x1e*0x3e8,_0x437e06=Symbol(_0xfac537(0x2f4)),_0x30a25a=[0x8,0xd],_0x39a31b=[_0xfac537(0x20e),_0xfac537(0x19f),'CLOSING',_0xfac537(0x252)],_0x2ace17=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x126041 extends _0x591414{constructor(_0x12d5d8,_0x36cb69,_0x366dc1){const _0x7deed4=_0xfac537;super(),this['_binaryType']=_0x402b09[0x0],this[_0x7deed4(0x16b)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x7deed4(0x21c)]=!0x1,this['_closeMessage']=_0x229c53,this[_0x7deed4(0x232)]=null,this[_0x7deed4(0x181)]=!0x1,this[_0x7deed4(0x2a4)]={},this[_0x7deed4(0x210)]=!0x1,this[_0x7deed4(0x15a)]='',this[_0x7deed4(0x22a)]=_0x126041['CONNECTING'],this[_0x7deed4(0x29b)]=null,this['_sender']=null,this[_0x7deed4(0x148)]=null,_0x12d5d8!==null?(this[_0x7deed4(0x2a1)]=0x0,this['_isServer']=!0x1,this[_0x7deed4(0x17c)]=0x0,_0x36cb69===void 0x0?_0x36cb69=[]:Array['isArray'](_0x36cb69)||(typeof _0x36cb69==_0x7deed4(0x147)&&_0x36cb69!==null?(_0x366dc1=_0x36cb69,_0x36cb69=[]):_0x36cb69=[_0x36cb69]),_0x451783(this,_0x12d5d8,_0x36cb69,_0x366dc1)):(this['_autoPong']=_0x366dc1[_0x7deed4(0x22d)],this[_0x7deed4(0x1f5)]=!0x0);}get[_0xfac537(0x2bb)](){const _0x119859=_0xfac537;return this[_0x119859(0x20d)];}set[_0xfac537(0x2bb)](_0x538cc4){const _0x22f1c5=_0xfac537;_0x402b09[_0x22f1c5(0x29d)](_0x538cc4)&&(this[_0x22f1c5(0x20d)]=_0x538cc4,this[_0x22f1c5(0x29b)]&&(this[_0x22f1c5(0x29b)][_0x22f1c5(0x20d)]=_0x538cc4));}get[_0xfac537(0x260)](){const _0x5bc53b=_0xfac537;return this[_0x5bc53b(0x148)]?this[_0x5bc53b(0x148)]['_writableState'][_0x5bc53b(0x1db)]+this['_sender']['_bufferedBytes']:this[_0x5bc53b(0x2a1)];}get[_0xfac537(0x14e)](){const _0x222136=_0xfac537;return Object[_0x222136(0x2a5)](this[_0x222136(0x2a4)])['join']();}get['isPaused'](){const _0xd8e5da=_0xfac537;return this[_0xd8e5da(0x210)];}get[_0xfac537(0x146)](){return null;}get[_0xfac537(0x17f)](){return null;}get[_0xfac537(0x179)](){return null;}get[_0xfac537(0x23a)](){return null;}get[_0xfac537(0x2b8)](){const _0x38b339=_0xfac537;return this[_0x38b339(0x15a)];}get['readyState'](){const _0x450765=_0xfac537;return this[_0x450765(0x22a)];}get[_0xfac537(0x191)](){const _0xe07564=_0xfac537;return this[_0xe07564(0x2b5)];}[_0xfac537(0x1e4)](_0x4de8c3,_0x4e3283,_0x310a3f){const _0x131045=_0xfac537,_0x528e4a=new _0x61aea3({'allowSynchronousEvents':_0x310a3f[_0x131045(0x2ad)],'binaryType':this[_0x131045(0x2bb)],'extensions':this['_extensions'],'isServer':this[_0x131045(0x1f5)],'maxPayload':_0x310a3f[_0x131045(0x1cd)],'skipUTF8Validation':_0x310a3f['skipUTF8Validation']}),_0x4dc1cb=new _0x459838(_0x4de8c3,this[_0x131045(0x2a4)],_0x310a3f[_0x131045(0x1a7)]);this['_receiver']=_0x528e4a,this['_sender']=_0x4dc1cb,this[_0x131045(0x148)]=_0x4de8c3,_0x528e4a[_0x162b24]=this,_0x4dc1cb[_0x162b24]=this,_0x4de8c3[_0x162b24]=this,_0x528e4a['on'](_0x131045(0x22b),_0x939ff6),_0x528e4a['on'](_0x131045(0x14b),_0xc19fe4),_0x528e4a['on']('error',_0x394858),_0x528e4a['on']('message',_0x3b8137),_0x528e4a['on']('ping',_0x36be4e),_0x528e4a['on'](_0x131045(0x19e),_0x54c284),_0x4dc1cb[_0x131045(0x17f)]=_0x403a98,_0x4de8c3['setTimeout']&&_0x4de8c3[_0x131045(0x1a8)](0x0),_0x4de8c3[_0x131045(0x1e0)]&&_0x4de8c3[_0x131045(0x1e0)](),_0x4e3283[_0x131045(0x1db)]>0x0&&_0x4de8c3['unshift'](_0x4e3283),_0x4de8c3['on'](_0x131045(0x2c8),_0x5493e2),_0x4de8c3['on'](_0x131045(0x196),_0x3b517e),_0x4de8c3['on'](_0x131045(0x1f3),_0x53059c),_0x4de8c3['on'](_0x131045(0x1fd),_0x262dee),this[_0x131045(0x22a)]=_0x126041['OPEN'],this[_0x131045(0x293)]('open');}[_0xfac537(0x227)](){const _0x5936e0=_0xfac537;if(!this[_0x5936e0(0x148)]){this[_0x5936e0(0x22a)]=_0x126041[_0x5936e0(0x252)],this[_0x5936e0(0x293)]('close',this[_0x5936e0(0x16b)],this[_0x5936e0(0x2aa)]);return;}this[_0x5936e0(0x2a4)][_0x446df1[_0x5936e0(0x2c3)]]&&this[_0x5936e0(0x2a4)][_0x446df1[_0x5936e0(0x2c3)]][_0x5936e0(0x2e3)](),this['_receiver'][_0x5936e0(0x204)](),this[_0x5936e0(0x22a)]=_0x126041[_0x5936e0(0x252)],this[_0x5936e0(0x293)](_0x5936e0(0x2c8),this[_0x5936e0(0x16b)],this[_0x5936e0(0x2aa)]);}['close'](_0x4d9603,_0x54b3ba){const _0xdef0df=_0xfac537;if(this['readyState']!==_0x126041[_0xdef0df(0x252)]){if(this['readyState']===_0x126041['CONNECTING']){_0x2f2895(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xdef0df(0x1c7)]===_0x126041[_0xdef0df(0x1ea)]){this[_0xdef0df(0x21c)]&&(this[_0xdef0df(0x1c9)]||this[_0xdef0df(0x29b)][_0xdef0df(0x1c0)]['errorEmitted'])&&this[_0xdef0df(0x148)][_0xdef0df(0x1f3)]();return;}this[_0xdef0df(0x22a)]=_0x126041[_0xdef0df(0x1ea)],this[_0xdef0df(0x173)][_0xdef0df(0x2c8)](_0x4d9603,_0x54b3ba,!this[_0xdef0df(0x1f5)],_0x5ce472=>{const _0x3a2543=_0xdef0df;_0x5ce472||(this[_0x3a2543(0x21c)]=!0x0,(this[_0x3a2543(0x1c9)]||this[_0x3a2543(0x29b)][_0x3a2543(0x1c0)]['errorEmitted'])&&this['_socket'][_0x3a2543(0x1f3)]());}),_0x800553(this);}}[_0xfac537(0x1fa)](){const _0x5b439c=_0xfac537;this[_0x5b439c(0x1c7)]===_0x126041[_0x5b439c(0x20e)]||this[_0x5b439c(0x1c7)]===_0x126041[_0x5b439c(0x252)]||(this[_0x5b439c(0x210)]=!0x0,this[_0x5b439c(0x148)][_0x5b439c(0x1fa)]());}[_0xfac537(0x25a)](_0xbb9fd3,_0x48c982,_0x1143f4){const _0x38ddb6=_0xfac537;if(this['readyState']===_0x126041['CONNECTING'])throw new Error(_0x38ddb6(0x291));if(typeof _0xbb9fd3==_0x38ddb6(0x18b)?(_0x1143f4=_0xbb9fd3,_0xbb9fd3=_0x48c982=void 0x0):typeof _0x48c982==_0x38ddb6(0x18b)&&(_0x1143f4=_0x48c982,_0x48c982=void 0x0),typeof _0xbb9fd3==_0x38ddb6(0x24f)&&(_0xbb9fd3=_0xbb9fd3[_0x38ddb6(0x198)]()),this[_0x38ddb6(0x1c7)]!==_0x126041[_0x38ddb6(0x19f)]){_0x145731(this,_0xbb9fd3,_0x1143f4);return;}_0x48c982===void 0x0&&(_0x48c982=!this[_0x38ddb6(0x1f5)]),this['_sender']['ping'](_0xbb9fd3||_0x229c53,_0x48c982,_0x1143f4);}[_0xfac537(0x19e)](_0x12960a,_0xa35b22,_0x3fc6e8){const _0x5e1481=_0xfac537;if(this[_0x5e1481(0x1c7)]===_0x126041[_0x5e1481(0x20e)])throw new Error(_0x5e1481(0x291));if(typeof _0x12960a=='function'?(_0x3fc6e8=_0x12960a,_0x12960a=_0xa35b22=void 0x0):typeof _0xa35b22==_0x5e1481(0x18b)&&(_0x3fc6e8=_0xa35b22,_0xa35b22=void 0x0),typeof _0x12960a=='number'&&(_0x12960a=_0x12960a[_0x5e1481(0x198)]()),this[_0x5e1481(0x1c7)]!==_0x126041[_0x5e1481(0x19f)]){_0x145731(this,_0x12960a,_0x3fc6e8);return;}_0xa35b22===void 0x0&&(_0xa35b22=!this[_0x5e1481(0x1f5)]),this[_0x5e1481(0x173)][_0x5e1481(0x19e)](_0x12960a||_0x229c53,_0xa35b22,_0x3fc6e8);}[_0xfac537(0x286)](){const _0x182e0c=_0xfac537;this[_0x182e0c(0x1c7)]===_0x126041[_0x182e0c(0x20e)]||this[_0x182e0c(0x1c7)]===_0x126041[_0x182e0c(0x252)]||(this[_0x182e0c(0x210)]=!0x1,this[_0x182e0c(0x29b)][_0x182e0c(0x1c0)][_0x182e0c(0x2af)]||this[_0x182e0c(0x148)][_0x182e0c(0x286)]());}[_0xfac537(0x23d)](_0x386207,_0x2a8ecb,_0x53cefb){const _0x47d48f=_0xfac537;if(this['readyState']===_0x126041[_0x47d48f(0x20e)])throw new Error(_0x47d48f(0x291));if(typeof _0x2a8ecb==_0x47d48f(0x18b)&&(_0x53cefb=_0x2a8ecb,_0x2a8ecb={}),typeof _0x386207==_0x47d48f(0x24f)&&(_0x386207=_0x386207[_0x47d48f(0x198)]()),this[_0x47d48f(0x1c7)]!==_0x126041[_0x47d48f(0x19f)]){_0x145731(this,_0x386207,_0x53cefb);return;}const _0x140369={'binary':typeof _0x386207!=_0x47d48f(0x2f2),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2a8ecb};this[_0x47d48f(0x2a4)][_0x446df1[_0x47d48f(0x2c3)]]||(_0x140369[_0x47d48f(0x2b3)]=!0x1),this['_sender'][_0x47d48f(0x23d)](_0x386207||_0x229c53,_0x140369,_0x53cefb);}[_0xfac537(0x20c)](){const _0x280664=_0xfac537;if(this['readyState']!==_0x126041['CLOSED']){if(this[_0x280664(0x1c7)]===_0x126041[_0x280664(0x20e)]){_0x2f2895(this,this['_req'],_0x280664(0x1dd));return;}this[_0x280664(0x148)]&&(this[_0x280664(0x22a)]=_0x126041['CLOSING'],this[_0x280664(0x148)]['destroy']());}}}Object['defineProperty'](_0x126041,_0xfac537(0x20e),{'enumerable':!0x0,'value':_0x39a31b['indexOf'](_0xfac537(0x20e))}),Object[_0xfac537(0x1c3)](_0x126041['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x20e))}),Object[_0xfac537(0x1c3)](_0x126041,'OPEN',{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x19f))}),Object[_0xfac537(0x1c3)](_0x126041['prototype'],_0xfac537(0x19f),{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x19f))}),Object[_0xfac537(0x1c3)](_0x126041,_0xfac537(0x1ea),{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x1ea))}),Object[_0xfac537(0x1c3)](_0x126041[_0xfac537(0x24c)],_0xfac537(0x1ea),{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x1ea))}),Object['defineProperty'](_0x126041,_0xfac537(0x252),{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x252))}),Object['defineProperty'](_0x126041['prototype'],_0xfac537(0x252),{'enumerable':!0x0,'value':_0x39a31b[_0xfac537(0x26d)](_0xfac537(0x252))}),[_0xfac537(0x2bb),_0xfac537(0x260),'extensions',_0xfac537(0x296),_0xfac537(0x2b8),_0xfac537(0x1c7),_0xfac537(0x191)][_0xfac537(0x16a)](_0x4c3748=>{Object['defineProperty'](_0x126041['prototype'],_0x4c3748,{'enumerable':!0x0});}),[_0xfac537(0x22f),_0xfac537(0x1fd),_0xfac537(0x2c8),_0xfac537(0x201)][_0xfac537(0x16a)](_0x41e80e=>{const _0x33acf4=_0xfac537;Object[_0x33acf4(0x1c3)](_0x126041['prototype'],'on'+_0x41e80e,{'enumerable':!0x0,'get'(){const _0x1dd9af=_0x33acf4;for(const _0x9e8929 of this[_0x1dd9af(0x19d)](_0x41e80e))if(_0x9e8929[_0x364c5d])return _0x9e8929[_0xfac8a0];return null;},'set'(_0x411669){const _0x4cb397=_0x33acf4;for(const _0x43b855 of this[_0x4cb397(0x19d)](_0x41e80e))if(_0x43b855[_0x364c5d]){this['removeListener'](_0x41e80e,_0x43b855);break;}typeof _0x411669==_0x4cb397(0x18b)&&this['addEventListener'](_0x41e80e,_0x411669,{[_0x364c5d]:!0x0});}});}),_0x126041[_0xfac537(0x24c)][_0xfac537(0x166)]=_0x562498,_0x126041['prototype']['removeEventListener']=_0x1443a4,we=_0x126041;function _0x451783(_0x33a78d,_0x3dfa8b,_0x5ed29c,_0x39c3b6){const _0x57660b=_0xfac537,_0x3a26a5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x30a25a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39c3b6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x57660b(0x26a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x33a78d['_autoPong']=_0x3a26a5[_0x57660b(0x22d)],!_0x30a25a[_0x57660b(0x29d)](_0x3a26a5[_0x57660b(0x154)]))throw new RangeError(_0x57660b(0x1ef)+_0x3a26a5['protocolVersion']+_0x57660b(0x2f8)+_0x30a25a[_0x57660b(0x2c1)](',\x20')+')');let _0x18865d;if(_0x3dfa8b instanceof _0x59de09)_0x18865d=_0x3dfa8b;else try{_0x18865d=new _0x59de09(_0x3dfa8b);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3dfa8b);}_0x18865d[_0x57660b(0x2b8)]===_0x57660b(0x30d)?_0x18865d[_0x57660b(0x2b8)]=_0x57660b(0x15b):_0x18865d[_0x57660b(0x2b8)]===_0x57660b(0x302)&&(_0x18865d[_0x57660b(0x2b8)]=_0x57660b(0x298)),_0x33a78d['_url']=_0x18865d[_0x57660b(0x2e6)];const _0x50759f=_0x18865d[_0x57660b(0x2b8)]===_0x57660b(0x298),_0x3eb26e=_0x18865d[_0x57660b(0x2b8)]===_0x57660b(0x2ce);let _0x54fcad;if(_0x18865d[_0x57660b(0x2b8)]!==_0x57660b(0x15b)&&!_0x50759f&&!_0x3eb26e?_0x54fcad=_0x57660b(0x1b1):_0x3eb26e&&!_0x18865d[_0x57660b(0x14d)]?_0x54fcad=_0x57660b(0x163):_0x18865d[_0x57660b(0x2db)]&&(_0x54fcad=_0x57660b(0x22c)),_0x54fcad){const _0x16f760=new SyntaxError(_0x54fcad);if(_0x33a78d[_0x57660b(0x17c)]===0x0)throw _0x16f760;_0xb1ad56(_0x33a78d,_0x16f760);return;}const _0x9d0b30=_0x50759f?0x1bb:0x50,_0x3a1095=_0x796622(0x10)[_0x57660b(0x198)](_0x57660b(0x20f)),_0x348a41=_0x50759f?_0x222df3['request']:_0x5f1c74[_0x57660b(0x1b9)],_0x2eb0ca=new Set();let _0x216da8;if(_0x3a26a5[_0x57660b(0x21f)]=_0x3a26a5[_0x57660b(0x21f)]||(_0x50759f?_0x613b70:_0xe7c033),_0x3a26a5['defaultPort']=_0x3a26a5[_0x57660b(0x225)]||_0x9d0b30,_0x3a26a5[_0x57660b(0x216)]=_0x18865d[_0x57660b(0x216)]||_0x9d0b30,_0x3a26a5['host']=_0x18865d[_0x57660b(0x18e)][_0x57660b(0x21e)]('[')?_0x18865d['hostname'][_0x57660b(0x2e5)](0x1,-0x1):_0x18865d['hostname'],_0x3a26a5[_0x57660b(0x2a6)]={..._0x3a26a5[_0x57660b(0x2a6)],'Sec-WebSocket-Version':_0x3a26a5['protocolVersion'],'Sec-WebSocket-Key':_0x3a1095,'Connection':_0x57660b(0x16f),'Upgrade':_0x57660b(0x215)},_0x3a26a5[_0x57660b(0x17b)]=_0x18865d['pathname']+_0x18865d[_0x57660b(0x27f)],_0x3a26a5['timeout']=_0x3a26a5['handshakeTimeout'],_0x3a26a5[_0x57660b(0x283)]&&(_0x216da8=new _0x446df1(_0x3a26a5[_0x57660b(0x283)]!==!0x0?_0x3a26a5[_0x57660b(0x283)]:{},!0x1,_0x3a26a5[_0x57660b(0x1cd)]),_0x3a26a5[_0x57660b(0x2a6)][_0x57660b(0x1cb)]=_0x4df98b({[_0x446df1[_0x57660b(0x2c3)]]:_0x216da8[_0x57660b(0x28d)]()})),_0x5ed29c[_0x57660b(0x1db)]){for(const _0x15818c of _0x5ed29c){if(typeof _0x15818c!=_0x57660b(0x2f2)||!_0x2ace17[_0x57660b(0x2ed)](_0x15818c)||_0x2eb0ca[_0x57660b(0x2a0)](_0x15818c))throw new SyntaxError(_0x57660b(0x308));_0x2eb0ca['add'](_0x15818c);}_0x3a26a5[_0x57660b(0x2a6)][_0x57660b(0x235)]=_0x5ed29c[_0x57660b(0x2c1)](',');}if(_0x3a26a5[_0x57660b(0x301)]&&(_0x3a26a5[_0x57660b(0x154)]<0xd?_0x3a26a5['headers'][_0x57660b(0x19c)]=_0x3a26a5[_0x57660b(0x301)]:_0x3a26a5[_0x57660b(0x2a6)][_0x57660b(0x203)]=_0x3a26a5['origin']),(_0x18865d[_0x57660b(0x1e8)]||_0x18865d['password'])&&(_0x3a26a5[_0x57660b(0x23c)]=_0x18865d['username']+':'+_0x18865d['password']),_0x3eb26e){const _0xef6d2f=_0x3a26a5[_0x57660b(0x17b)][_0x57660b(0x263)](':');_0x3a26a5[_0x57660b(0x217)]=_0xef6d2f[0x0],_0x3a26a5[_0x57660b(0x17b)]=_0xef6d2f[0x1];}let _0xf43ce9;if(_0x3a26a5[_0x57660b(0x176)]){if(_0x33a78d['_redirects']===0x0){_0x33a78d['_originalIpc']=_0x3eb26e,_0x33a78d[_0x57660b(0x2e0)]=_0x50759f,_0x33a78d[_0x57660b(0x1cc)]=_0x3eb26e?_0x3a26a5[_0x57660b(0x217)]:_0x18865d['host'];const _0x24ce06=_0x39c3b6&&_0x39c3b6['headers'];if(_0x39c3b6={..._0x39c3b6,'headers':{}},_0x24ce06){for(const [_0x19a50f,_0x4a2d17]of Object['entries'](_0x24ce06))_0x39c3b6[_0x57660b(0x2a6)][_0x19a50f[_0x57660b(0x2c7)]()]=_0x4a2d17;}}else{if(_0x33a78d[_0x57660b(0x241)](_0x57660b(0x2f1))===0x0){const _0x1d6d03=_0x3eb26e?_0x33a78d[_0x57660b(0x2f5)]?_0x3a26a5[_0x57660b(0x217)]===_0x33a78d[_0x57660b(0x1cc)]:!0x1:_0x33a78d[_0x57660b(0x2f5)]?!0x1:_0x18865d[_0x57660b(0x19a)]===_0x33a78d[_0x57660b(0x1cc)];(!_0x1d6d03||_0x33a78d[_0x57660b(0x2e0)]&&!_0x50759f)&&(delete _0x3a26a5['headers']['authorization'],delete _0x3a26a5[_0x57660b(0x2a6)][_0x57660b(0x1aa)],_0x1d6d03||delete _0x3a26a5[_0x57660b(0x2a6)][_0x57660b(0x19a)],_0x3a26a5[_0x57660b(0x23c)]=void 0x0);}}_0x3a26a5[_0x57660b(0x23c)]&&!_0x39c3b6[_0x57660b(0x2a6)][_0x57660b(0x182)]&&(_0x39c3b6['headers'][_0x57660b(0x182)]='Basic\x20'+Buffer['from'](_0x3a26a5[_0x57660b(0x23c)])[_0x57660b(0x198)](_0x57660b(0x20f))),_0xf43ce9=_0x33a78d[_0x57660b(0x2ae)]=_0x348a41(_0x3a26a5),_0x33a78d[_0x57660b(0x17c)]&&_0x33a78d[_0x57660b(0x293)](_0x57660b(0x2f1),_0x33a78d['url'],_0xf43ce9);}else _0xf43ce9=_0x33a78d[_0x57660b(0x2ae)]=_0x348a41(_0x3a26a5);_0x3a26a5['timeout']&&_0xf43ce9['on'](_0x57660b(0x189),()=>{const _0x1edc82=_0x57660b;_0x2f2895(_0x33a78d,_0xf43ce9,_0x1edc82(0x2cc));}),_0xf43ce9['on'](_0x57660b(0x1fd),_0x531ebf=>{_0xf43ce9===null||_0xf43ce9[_0x437e06]||(_0xf43ce9=_0x33a78d['_req']=null,_0xb1ad56(_0x33a78d,_0x531ebf));}),_0xf43ce9['on'](_0x57660b(0x2b6),_0x8c491d=>{const _0x382436=_0x57660b,_0x11cef3=_0x8c491d['headers'][_0x382436(0x259)],_0x78e89=_0x8c491d[_0x382436(0x1b0)];if(_0x11cef3&&_0x3a26a5[_0x382436(0x176)]&&_0x78e89>=0x12c&&_0x78e89<0x190){if(++_0x33a78d['_redirects']>_0x3a26a5[_0x382436(0x27e)]){_0x2f2895(_0x33a78d,_0xf43ce9,_0x382436(0x155));return;}_0xf43ce9[_0x382436(0x246)]();let _0x1e4dcd;try{_0x1e4dcd=new _0x59de09(_0x11cef3,_0x3dfa8b);}catch{const _0x3c6b16=new SyntaxError(_0x382436(0x1d4)+_0x11cef3);_0xb1ad56(_0x33a78d,_0x3c6b16);return;}_0x451783(_0x33a78d,_0x1e4dcd,_0x5ed29c,_0x39c3b6);}else _0x33a78d[_0x382436(0x293)](_0x382436(0x26c),_0xf43ce9,_0x8c491d)||_0x2f2895(_0x33a78d,_0xf43ce9,_0x382436(0x236)+_0x8c491d[_0x382436(0x1b0)]);}),_0xf43ce9['on']('upgrade',(_0x94e718,_0x43033b,_0x42afa0)=>{const _0x5c6438=_0x57660b;if(_0x33a78d[_0x5c6438(0x293)]('upgrade',_0x94e718),_0x33a78d['readyState']!==_0x126041['CONNECTING'])return;_0xf43ce9=_0x33a78d[_0x5c6438(0x2ae)]=null;const _0x2877bb=_0x94e718[_0x5c6438(0x2a6)]['upgrade'];if(_0x2877bb===void 0x0||_0x2877bb[_0x5c6438(0x2c7)]()!==_0x5c6438(0x215)){_0x2f2895(_0x33a78d,_0x43033b,_0x5c6438(0x2e4));return;}const _0x2a80cd=_0x26ddb9('sha1')[_0x5c6438(0x264)](_0x3a1095+_0xf0debd)['digest'](_0x5c6438(0x20f));if(_0x94e718['headers'][_0x5c6438(0x1c6)]!==_0x2a80cd){_0x2f2895(_0x33a78d,_0x43033b,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x285b37=_0x94e718['headers'][_0x5c6438(0x208)];let _0x2279b8;if(_0x285b37!==void 0x0?_0x2eb0ca[_0x5c6438(0x1c5)]?_0x2eb0ca['has'](_0x285b37)||(_0x2279b8=_0x5c6438(0x289)):_0x2279b8=_0x5c6438(0x28a):_0x2eb0ca['size']&&(_0x2279b8=_0x5c6438(0x14a)),_0x2279b8){_0x2f2895(_0x33a78d,_0x43033b,_0x2279b8);return;}_0x285b37&&(_0x33a78d[_0x5c6438(0x15a)]=_0x285b37);const _0x284f3d=_0x94e718[_0x5c6438(0x2a6)]['sec-websocket-extensions'];if(_0x284f3d!==void 0x0){if(!_0x216da8){_0x2f2895(_0x33a78d,_0x43033b,_0x5c6438(0x270));return;}let _0x4dade8;try{_0x4dade8=_0x10b945(_0x284f3d);}catch{_0x2f2895(_0x33a78d,_0x43033b,_0x5c6438(0x247));return;}const _0x16555f=Object[_0x5c6438(0x2a5)](_0x4dade8);if(_0x16555f[_0x5c6438(0x1db)]!==0x1||_0x16555f[0x0]!==_0x446df1[_0x5c6438(0x2c3)]){_0x2f2895(_0x33a78d,_0x43033b,_0x5c6438(0x25d));return;}try{_0x216da8['accept'](_0x4dade8[_0x446df1[_0x5c6438(0x2c3)]]);}catch{_0x2f2895(_0x33a78d,_0x43033b,_0x5c6438(0x247));return;}_0x33a78d[_0x5c6438(0x2a4)][_0x446df1['extensionName']]=_0x216da8;}_0x33a78d[_0x5c6438(0x1e4)](_0x43033b,_0x42afa0,{'allowSynchronousEvents':_0x3a26a5['allowSynchronousEvents'],'generateMask':_0x3a26a5[_0x5c6438(0x1a7)],'maxPayload':_0x3a26a5[_0x5c6438(0x1cd)],'skipUTF8Validation':_0x3a26a5[_0x5c6438(0x251)]});}),_0x3a26a5[_0x57660b(0x27a)]?_0x3a26a5[_0x57660b(0x27a)](_0xf43ce9,_0x33a78d):_0xf43ce9[_0x57660b(0x1f3)]();}function _0xb1ad56(_0x9bde0e,_0x55600c){const _0x190d66=_0xfac537;_0x9bde0e[_0x190d66(0x22a)]=_0x126041[_0x190d66(0x1ea)],_0x9bde0e[_0x190d66(0x181)]=!0x0,_0x9bde0e[_0x190d66(0x293)](_0x190d66(0x1fd),_0x55600c),_0x9bde0e[_0x190d66(0x227)]();}function _0xe7c033(_0x45691a){const _0x2e109c=_0xfac537;return _0x45691a[_0x2e109c(0x17b)]=_0x45691a[_0x2e109c(0x217)],_0x3c135d[_0x2e109c(0x15e)](_0x45691a);}function _0x613b70(_0x4bd2a1){const _0x1475da=_0xfac537;return _0x4bd2a1[_0x1475da(0x17b)]=void 0x0,!_0x4bd2a1[_0x1475da(0x2bd)]&&_0x4bd2a1['servername']!==''&&(_0x4bd2a1[_0x1475da(0x2bd)]=_0x3c135d[_0x1475da(0x186)](_0x4bd2a1[_0x1475da(0x19a)])?'':_0x4bd2a1['host']),_0x174b54[_0x1475da(0x15e)](_0x4bd2a1);}function _0x2f2895(_0x1dbcfe,_0x15fb47,_0x21f710){const _0x3e4d1f=_0xfac537;_0x1dbcfe[_0x3e4d1f(0x22a)]=_0x126041[_0x3e4d1f(0x1ea)];const _0x4e062e=new Error(_0x21f710);Error['captureStackTrace'](_0x4e062e,_0x2f2895),_0x15fb47[_0x3e4d1f(0x19b)]?(_0x15fb47[_0x437e06]=!0x0,_0x15fb47[_0x3e4d1f(0x246)](),_0x15fb47[_0x3e4d1f(0x1ed)]&&!_0x15fb47['socket'][_0x3e4d1f(0x2e2)]&&_0x15fb47[_0x3e4d1f(0x1ed)][_0x3e4d1f(0x174)](),process[_0x3e4d1f(0x2be)](_0xb1ad56,_0x1dbcfe,_0x4e062e)):(_0x15fb47[_0x3e4d1f(0x174)](_0x4e062e),_0x15fb47[_0x3e4d1f(0x207)](_0x3e4d1f(0x1fd),_0x1dbcfe[_0x3e4d1f(0x293)][_0x3e4d1f(0x1b6)](_0x1dbcfe,_0x3e4d1f(0x1fd))),_0x15fb47[_0x3e4d1f(0x207)](_0x3e4d1f(0x2c8),_0x1dbcfe[_0x3e4d1f(0x227)][_0x3e4d1f(0x1b6)](_0x1dbcfe)));}function _0x145731(_0x57745f,_0x6b8b72,_0x1107e5){const _0x47cf93=_0xfac537;if(_0x6b8b72){const _0x19a947=_0x1649fb(_0x6b8b72)?_0x6b8b72[_0x47cf93(0x1c5)]:_0x4a350e(_0x6b8b72)[_0x47cf93(0x1db)];_0x57745f['_socket']?_0x57745f[_0x47cf93(0x173)]['_bufferedBytes']+=_0x19a947:_0x57745f[_0x47cf93(0x2a1)]+=_0x19a947;}if(_0x1107e5){const _0x23029b=new Error(_0x47cf93(0x143)+_0x57745f[_0x47cf93(0x1c7)]+'\x20('+_0x39a31b[_0x57745f['readyState']]+')');process[_0x47cf93(0x2be)](_0x1107e5,_0x23029b);}}function _0x939ff6(_0x30af0c,_0x1d1f46){const _0x365c20=_0xfac537,_0x58863f=this[_0x162b24];_0x58863f[_0x365c20(0x1c9)]=!0x0,_0x58863f['_closeMessage']=_0x1d1f46,_0x58863f['_closeCode']=_0x30af0c,_0x58863f[_0x365c20(0x148)][_0x162b24]!==void 0x0&&(_0x58863f[_0x365c20(0x148)][_0x365c20(0x1b7)]('data',_0x3b517e),process[_0x365c20(0x2be)](_0xc53a06,_0x58863f[_0x365c20(0x148)]),_0x30af0c===0x3ed?_0x58863f[_0x365c20(0x2c8)]():_0x58863f[_0x365c20(0x2c8)](_0x30af0c,_0x1d1f46));}function _0xc19fe4(){const _0x2f3e42=_0xfac537,_0x52f9d8=this[_0x162b24];_0x52f9d8[_0x2f3e42(0x296)]||_0x52f9d8[_0x2f3e42(0x148)][_0x2f3e42(0x286)]();}function _0x394858(_0x587e99){const _0x172092=_0xfac537,_0x32777c=this[_0x162b24];_0x32777c[_0x172092(0x148)][_0x162b24]!==void 0x0&&(_0x32777c[_0x172092(0x148)][_0x172092(0x1b7)](_0x172092(0x196),_0x3b517e),process[_0x172092(0x2be)](_0xc53a06,_0x32777c['_socket']),_0x32777c[_0x172092(0x2c8)](_0x587e99[_0x3d7222])),_0x32777c[_0x172092(0x181)]||(_0x32777c[_0x172092(0x181)]=!0x0,_0x32777c['emit'](_0x172092(0x1fd),_0x587e99));}function _0x5e4df9(){const _0x109685=_0xfac537;this[_0x162b24][_0x109685(0x227)]();}function _0x3b8137(_0xa52754,_0x37d6c7){const _0x216be0=_0xfac537;this[_0x162b24][_0x216be0(0x293)]('message',_0xa52754,_0x37d6c7);}function _0x36be4e(_0x21d44e){const _0x92c6d4=_0xfac537,_0x5c8436=this[_0x162b24];_0x5c8436[_0x92c6d4(0x27d)]&&_0x5c8436[_0x92c6d4(0x19e)](_0x21d44e,!this[_0x92c6d4(0x1f5)],_0x55b000),_0x5c8436[_0x92c6d4(0x293)]('ping',_0x21d44e);}function _0x54c284(_0x580d8a){const _0x55256e=_0xfac537;this[_0x162b24]['emit'](_0x55256e(0x19e),_0x580d8a);}function _0xc53a06(_0x2da8af){const _0x7ea730=_0xfac537;_0x2da8af[_0x7ea730(0x286)]();}function _0x403a98(_0x2a31e7){const _0x5dfcb3=_0xfac537,_0x1c0de8=this[_0x162b24];_0x1c0de8[_0x5dfcb3(0x1c7)]!==_0x126041['CLOSED']&&(_0x1c0de8[_0x5dfcb3(0x1c7)]===_0x126041['OPEN']&&(_0x1c0de8['_readyState']=_0x126041[_0x5dfcb3(0x1ea)],_0x800553(_0x1c0de8)),this[_0x5dfcb3(0x148)][_0x5dfcb3(0x1f3)](),_0x1c0de8[_0x5dfcb3(0x181)]||(_0x1c0de8[_0x5dfcb3(0x181)]=!0x0,_0x1c0de8['emit'](_0x5dfcb3(0x1fd),_0x2a31e7)));}function _0x800553(_0x4ee144){const _0x29b433=_0xfac537;_0x4ee144['_closeTimer']=setTimeout(_0x4ee144[_0x29b433(0x148)][_0x29b433(0x174)][_0x29b433(0x1b6)](_0x4ee144['_socket']),_0x573d9b);}function _0x5493e2(){const _0x28aef2=_0xfac537,_0x472c94=this[_0x162b24];this['removeListener']('close',_0x5493e2),this[_0x28aef2(0x1b7)]('data',_0x3b517e),this[_0x28aef2(0x1b7)](_0x28aef2(0x1f3),_0x53059c),_0x472c94[_0x28aef2(0x22a)]=_0x126041['CLOSING'];let _0x4f015a;!this[_0x28aef2(0x2df)][_0x28aef2(0x224)]&&!_0x472c94[_0x28aef2(0x1c9)]&&!_0x472c94[_0x28aef2(0x29b)][_0x28aef2(0x1c0)]['errorEmitted']&&(_0x4f015a=_0x472c94['_socket'][_0x28aef2(0x2d8)]())!==null&&_0x472c94[_0x28aef2(0x29b)][_0x28aef2(0x220)](_0x4f015a),_0x472c94[_0x28aef2(0x29b)][_0x28aef2(0x1f3)](),this[_0x162b24]=void 0x0,clearTimeout(_0x472c94[_0x28aef2(0x232)]),_0x472c94[_0x28aef2(0x29b)]['_writableState'][_0x28aef2(0x162)]||_0x472c94['_receiver']['_writableState']['errorEmitted']?_0x472c94['emitClose']():(_0x472c94['_receiver']['on'](_0x28aef2(0x1fd),_0x5e4df9),_0x472c94[_0x28aef2(0x29b)]['on'](_0x28aef2(0x1ba),_0x5e4df9));}function _0x3b517e(_0x473acf){const _0xaabded=_0xfac537;this[_0x162b24][_0xaabded(0x29b)][_0xaabded(0x220)](_0x473acf)||this[_0xaabded(0x1fa)]();}function _0x53059c(){const _0x33c247=_0xfac537,_0x464da6=this[_0x162b24];_0x464da6['_readyState']=_0x126041[_0x33c247(0x1ea)],_0x464da6[_0x33c247(0x29b)][_0x33c247(0x1f3)](),this[_0x33c247(0x1f3)]();}function _0x262dee(){const _0x410ca1=_0xfac537,_0x22ca7c=this[_0x162b24];this[_0x410ca1(0x1b7)](_0x410ca1(0x1fd),_0x262dee),this['on'](_0x410ca1(0x1fd),_0x55b000),_0x22ca7c&&(_0x22ca7c[_0x410ca1(0x22a)]=_0x126041[_0x410ca1(0x1ea)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x524c5a}=oe;function _0x49bee8(_0x4000ed){const _0x494e5f=_0x4e84;_0x4000ed[_0x494e5f(0x293)](_0x494e5f(0x2c8));}function _0x11028f(){const _0xfd9779=_0x4e84;!this[_0xfd9779(0x2e2)]&&this[_0xfd9779(0x1c0)]['finished']&&this['destroy']();}function _0x4b5865(_0x17a65f){const _0x2f8778=_0x4e84;this[_0x2f8778(0x1b7)]('error',_0x4b5865),this[_0x2f8778(0x174)](),this['listenerCount'](_0x2f8778(0x1fd))===0x0&&this[_0x2f8778(0x293)](_0x2f8778(0x1fd),_0x17a65f);}function _0x320de6(_0x5e94c6,_0x313cfc){const _0x13f3a5=_0x4e84;let _0x13a6b3=!0x0;const _0x45fa3b=new _0x524c5a({..._0x313cfc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5e94c6['on']('message',function(_0x5e2399,_0x56c124){const _0x23669a=_0x4e84,_0x414675=!_0x56c124&&_0x45fa3b[_0x23669a(0x2df)][_0x23669a(0x24d)]?_0x5e2399['toString']():_0x5e2399;_0x45fa3b['push'](_0x414675)||_0x5e94c6[_0x23669a(0x1fa)]();}),_0x5e94c6['once'](_0x13f3a5(0x1fd),function(_0x23e628){const _0x4000f3=_0x13f3a5;_0x45fa3b[_0x4000f3(0x2e2)]||(_0x13a6b3=!0x1,_0x45fa3b[_0x4000f3(0x174)](_0x23e628));}),_0x5e94c6[_0x13f3a5(0x207)]('close',function(){const _0x369314=_0x13f3a5;_0x45fa3b[_0x369314(0x2e2)]||_0x45fa3b['push'](null);}),_0x45fa3b[_0x13f3a5(0x194)]=function(_0x461361,_0x5bcb90){const _0x18feb4=_0x13f3a5;if(_0x5e94c6['readyState']===_0x5e94c6[_0x18feb4(0x252)]){_0x5bcb90(_0x461361),process[_0x18feb4(0x2be)](_0x49bee8,_0x45fa3b);return;}let _0x5c8141=!0x1;_0x5e94c6[_0x18feb4(0x207)](_0x18feb4(0x1fd),function(_0x10805f){_0x5c8141=!0x0,_0x5bcb90(_0x10805f);}),_0x5e94c6['once'](_0x18feb4(0x2c8),function(){const _0x5f24e8=_0x18feb4;_0x5c8141||_0x5bcb90(_0x461361),process[_0x5f24e8(0x2be)](_0x49bee8,_0x45fa3b);}),_0x13a6b3&&_0x5e94c6[_0x18feb4(0x20c)]();},_0x45fa3b['_final']=function(_0x3a1c9b){const _0x36f5c4=_0x13f3a5;if(_0x5e94c6[_0x36f5c4(0x1c7)]===_0x5e94c6[_0x36f5c4(0x20e)]){_0x5e94c6[_0x36f5c4(0x207)](_0x36f5c4(0x22f),function(){_0x45fa3b['_final'](_0x3a1c9b);});return;}_0x5e94c6[_0x36f5c4(0x148)]!==null&&(_0x5e94c6[_0x36f5c4(0x148)][_0x36f5c4(0x1c0)]['finished']?(_0x3a1c9b(),_0x45fa3b[_0x36f5c4(0x2df)][_0x36f5c4(0x224)]&&_0x45fa3b[_0x36f5c4(0x174)]()):(_0x5e94c6[_0x36f5c4(0x148)][_0x36f5c4(0x207)](_0x36f5c4(0x1ba),function(){_0x3a1c9b();}),_0x5e94c6[_0x36f5c4(0x2c8)]()));},_0x45fa3b['_read']=function(){const _0x8c218=_0x13f3a5;_0x5e94c6['isPaused']&&_0x5e94c6[_0x8c218(0x286)]();},_0x45fa3b[_0x13f3a5(0x1d3)]=function(_0x38f871,_0x4fe4fa,_0x2788fa){const _0x40fde3=_0x13f3a5;if(_0x5e94c6[_0x40fde3(0x1c7)]===_0x5e94c6['CONNECTING']){_0x5e94c6[_0x40fde3(0x207)](_0x40fde3(0x22f),function(){_0x45fa3b['_write'](_0x38f871,_0x4fe4fa,_0x2788fa);});return;}_0x5e94c6[_0x40fde3(0x23d)](_0x38f871,_0x2788fa);},_0x45fa3b['on']('end',_0x11028f),_0x45fa3b['on'](_0x13f3a5(0x1fd),_0x4b5865),_0x45fa3b;}return Oe=_0x320de6,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5490af}=ae();function _0x17b3d0(_0x5dbc37){const _0x2c94d9=_0x4e84,_0x228caa=new Set();let _0xe75755=-0x1,_0x56b732=-0x1,_0x3b488a=0x0;for(_0x3b488a;_0x3b488a<_0x5dbc37['length'];_0x3b488a++){const _0xbdf93d=_0x5dbc37[_0x2c94d9(0x299)](_0x3b488a);if(_0x56b732===-0x1&&_0x5490af[_0xbdf93d]===0x1)_0xe75755===-0x1&&(_0xe75755=_0x3b488a);else{if(_0x3b488a!==0x0&&(_0xbdf93d===0x20||_0xbdf93d===0x9))_0x56b732===-0x1&&_0xe75755!==-0x1&&(_0x56b732=_0x3b488a);else{if(_0xbdf93d===0x2c){if(_0xe75755===-0x1)throw new SyntaxError(_0x2c94d9(0x24e)+_0x3b488a);_0x56b732===-0x1&&(_0x56b732=_0x3b488a);const _0x2da938=_0x5dbc37['slice'](_0xe75755,_0x56b732);if(_0x228caa[_0x2c94d9(0x2a0)](_0x2da938))throw new SyntaxError(_0x2c94d9(0x2e7)+_0x2da938+'\x22\x20subprotocol\x20is\x20duplicated');_0x228caa[_0x2c94d9(0x233)](_0x2da938),_0xe75755=_0x56b732=-0x1;}else throw new SyntaxError(_0x2c94d9(0x24e)+_0x3b488a);}}}if(_0xe75755===-0x1||_0x56b732!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x48cc5c=_0x5dbc37[_0x2c94d9(0x2e5)](_0xe75755,_0x3b488a);if(_0x228caa[_0x2c94d9(0x2a0)](_0x48cc5c))throw new SyntaxError(_0x2c94d9(0x2e7)+_0x48cc5c+'\x22\x20subprotocol\x20is\x20duplicated');return _0x228caa[_0x2c94d9(0x233)](_0x48cc5c),_0x228caa;}return Ce={'parse':_0x17b3d0},Ce;}var Te,rt;function Ft(){const _0x4421c4=_0x58ff9a;if(rt)return Te;rt=0x1;const _0x8b3170=nt,_0x556400=ot,{Duplex:_0x5f1fc4}=oe,{createHash:_0x4423df}=Le,_0x478343=ct(),_0x3a9edf=he(),_0x369730=At(),_0x5a768a=Pe(),{GUID:_0x3416f0,kWebSocket:_0x534d9d}=H(),_0x400bbc=/^[+/0-9A-Za-z]{22}==$/,_0x38c57b=0x0,_0x4d170d=0x1,_0x242a15=0x2;class _0x18fd11 extends _0x8b3170{constructor(_0x1b047a,_0x9f4a2c){const _0x22bd95=_0x4e84;if(super(),_0x1b047a={'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':_0x5a768a,..._0x1b047a},_0x1b047a[_0x22bd95(0x216)]==null&&!_0x1b047a[_0x22bd95(0x2a9)]&&!_0x1b047a[_0x22bd95(0x160)]||_0x1b047a[_0x22bd95(0x216)]!=null&&(_0x1b047a[_0x22bd95(0x2a9)]||_0x1b047a[_0x22bd95(0x160)])||_0x1b047a[_0x22bd95(0x2a9)]&&_0x1b047a[_0x22bd95(0x160)])throw new TypeError(_0x22bd95(0x2fd));if(_0x1b047a[_0x22bd95(0x216)]!=null?(this[_0x22bd95(0x1a0)]=_0x556400['createServer']((_0x9ec26d,_0x334fde)=>{const _0x48a26e=_0x22bd95,_0x24d3bf=_0x556400['STATUS_CODES'][0x1aa];_0x334fde[_0x48a26e(0x150)](0x1aa,{'Content-Length':_0x24d3bf[_0x48a26e(0x1db)],'Content-Type':'text/plain'}),_0x334fde[_0x48a26e(0x1f3)](_0x24d3bf);}),this[_0x22bd95(0x1a0)][_0x22bd95(0x2fa)](_0x1b047a[_0x22bd95(0x216)],_0x1b047a[_0x22bd95(0x19a)],_0x1b047a['backlog'],_0x9f4a2c)):_0x1b047a[_0x22bd95(0x2a9)]&&(this[_0x22bd95(0x1a0)]=_0x1b047a['server']),this[_0x22bd95(0x1a0)]){const _0x3babe0=this[_0x22bd95(0x293)][_0x22bd95(0x1b6)](this,_0x22bd95(0x255));this['_removeListeners']=_0x4f7d1c(this[_0x22bd95(0x1a0)],{'listening':this['emit'][_0x22bd95(0x1b6)](this,_0x22bd95(0x2b9)),'error':this['emit'][_0x22bd95(0x1b6)](this,_0x22bd95(0x1fd)),'upgrade':(_0x2126a1,_0x113d4d,_0x1f584b)=>{this['handleUpgrade'](_0x2126a1,_0x113d4d,_0x1f584b,_0x3babe0);}});}_0x1b047a[_0x22bd95(0x283)]===!0x0&&(_0x1b047a['perMessageDeflate']={}),_0x1b047a[_0x22bd95(0x2fc)]&&(this['clients']=new Set(),this[_0x22bd95(0x2a3)]=!0x1),this[_0x22bd95(0x1a6)]=_0x1b047a,this[_0x22bd95(0x243)]=_0x38c57b;}[_0x4421c4(0x2ba)](){const _0x28676e=_0x4421c4;if(this['options'][_0x28676e(0x160)])throw new Error(_0x28676e(0x1ae));return this[_0x28676e(0x1a0)]?this[_0x28676e(0x1a0)]['address']():null;}[_0x4421c4(0x2c8)](_0x40865e){const _0x55a670=_0x4421c4;if(this[_0x55a670(0x243)]===_0x242a15){_0x40865e&&this[_0x55a670(0x207)](_0x55a670(0x2c8),()=>{const _0xc73398=_0x55a670;_0x40865e(new Error(_0xc73398(0x158)));}),process['nextTick'](_0x37fc42,this);return;}if(_0x40865e&&this[_0x55a670(0x207)](_0x55a670(0x2c8),_0x40865e),this['_state']!==_0x4d170d){if(this[_0x55a670(0x243)]=_0x4d170d,this[_0x55a670(0x1a6)][_0x55a670(0x160)]||this[_0x55a670(0x1a6)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x55a670(0x1fe)]=this[_0x55a670(0x1a0)]=null),this[_0x55a670(0x25c)]?this[_0x55a670(0x25c)]['size']?this[_0x55a670(0x2a3)]=!0x0:process[_0x55a670(0x2be)](_0x37fc42,this):process[_0x55a670(0x2be)](_0x37fc42,this);else{const _0x11645a=this[_0x55a670(0x1a0)];this['_removeListeners'](),this[_0x55a670(0x1fe)]=this[_0x55a670(0x1a0)]=null,_0x11645a[_0x55a670(0x2c8)](()=>{_0x37fc42(this);});}}}[_0x4421c4(0x278)](_0x57f2ba){const _0x2982b8=_0x4421c4;if(this[_0x2982b8(0x1a6)]['path']){const _0x5a5913=_0x57f2ba['url'][_0x2982b8(0x26d)]('?');if((_0x5a5913!==-0x1?_0x57f2ba[_0x2982b8(0x191)]['slice'](0x0,_0x5a5913):_0x57f2ba[_0x2982b8(0x191)])!==this[_0x2982b8(0x1a6)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x21b7f3,_0x77db8e,_0xb67aeb,_0x782001){const _0x5c249e=_0x4421c4;_0x77db8e['on'](_0x5c249e(0x1fd),_0x48d888);const _0x48806e=_0x21b7f3[_0x5c249e(0x2a6)][_0x5c249e(0x309)],_0x2f6eee=_0x21b7f3[_0x5c249e(0x2a6)][_0x5c249e(0x202)],_0x37ef11=+_0x21b7f3[_0x5c249e(0x2a6)][_0x5c249e(0x231)];if(_0x21b7f3['method']!==_0x5c249e(0x26a)){_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x195,_0x5c249e(0x267));return;}if(_0x2f6eee===void 0x0||_0x2f6eee[_0x5c249e(0x2c7)]()!==_0x5c249e(0x215)){_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x190,_0x5c249e(0x2e4));return;}if(_0x48806e===void 0x0||!_0x400bbc[_0x5c249e(0x2ed)](_0x48806e)){_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x37ef11!==0x8&&_0x37ef11!==0xd){_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x190,_0x5c249e(0x2ea));return;}if(!this[_0x5c249e(0x278)](_0x21b7f3)){_0x3009e5(_0x77db8e,0x190);return;}const _0x29cc90=_0x21b7f3[_0x5c249e(0x2a6)][_0x5c249e(0x208)];let _0x48e54a=new Set();if(_0x29cc90!==void 0x0)try{_0x48e54a=_0x369730[_0x5c249e(0x178)](_0x29cc90);}catch{_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xcdd223=_0x21b7f3[_0x5c249e(0x2a6)][_0x5c249e(0x268)],_0x27f1c5={};if(this[_0x5c249e(0x1a6)][_0x5c249e(0x283)]&&_0xcdd223!==void 0x0){const _0x3e8e78=new _0x3a9edf(this[_0x5c249e(0x1a6)][_0x5c249e(0x283)],!0x0,this[_0x5c249e(0x1a6)][_0x5c249e(0x1cd)]);try{const _0x303bb4=_0x478343[_0x5c249e(0x178)](_0xcdd223);_0x303bb4[_0x3a9edf['extensionName']]&&(_0x3e8e78[_0x5c249e(0x1b8)](_0x303bb4[_0x3a9edf[_0x5c249e(0x2c3)]]),_0x27f1c5[_0x3a9edf[_0x5c249e(0x2c3)]]=_0x3e8e78);}catch{_0x36cfd3(this,_0x21b7f3,_0x77db8e,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x5c249e(0x1a6)][_0x5c249e(0x25b)]){const _0x42509e={'origin':_0x21b7f3[_0x5c249e(0x2a6)][''+(_0x37ef11===0x8?_0x5c249e(0x2f3):_0x5c249e(0x301))],'secure':!!(_0x21b7f3[_0x5c249e(0x1ed)][_0x5c249e(0x144)]||_0x21b7f3[_0x5c249e(0x1ed)][_0x5c249e(0x2bc)]),'req':_0x21b7f3};if(this[_0x5c249e(0x1a6)][_0x5c249e(0x25b)][_0x5c249e(0x1db)]===0x2){this[_0x5c249e(0x1a6)][_0x5c249e(0x25b)](_0x42509e,(_0x54de83,_0x3b4a32,_0x1c28eb,_0x33de92)=>{if(!_0x54de83)return _0x3009e5(_0x77db8e,_0x3b4a32||0x191,_0x1c28eb,_0x33de92);this['completeUpgrade'](_0x27f1c5,_0x48806e,_0x48e54a,_0x21b7f3,_0x77db8e,_0xb67aeb,_0x782001);});return;}if(!this[_0x5c249e(0x1a6)][_0x5c249e(0x25b)](_0x42509e))return _0x3009e5(_0x77db8e,0x191);}this[_0x5c249e(0x294)](_0x27f1c5,_0x48806e,_0x48e54a,_0x21b7f3,_0x77db8e,_0xb67aeb,_0x782001);}[_0x4421c4(0x294)](_0x422f69,_0x3ab0dd,_0x351fcf,_0x33abe7,_0x5c2108,_0x69861,_0x7508dc){const _0x231a89=_0x4421c4;if(!_0x5c2108[_0x231a89(0x2b7)]||!_0x5c2108['writable'])return _0x5c2108['destroy']();if(_0x5c2108[_0x534d9d])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x231a89(0x243)]>_0x38c57b)return _0x3009e5(_0x5c2108,0x1f7);const _0x526f35=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x231a89(0x234),_0x231a89(0x285),_0x231a89(0x2b0)+_0x4423df('sha1')[_0x231a89(0x264)](_0x3ab0dd+_0x3416f0)[_0x231a89(0x17a)](_0x231a89(0x20f))],_0x5e2543=new this[(_0x231a89(0x1a6))][(_0x231a89(0x2ac))](null,void 0x0,this['options']);if(_0x351fcf[_0x231a89(0x1c5)]){const _0x4e59bb=this['options'][_0x231a89(0x1cf)]?this[_0x231a89(0x1a6)][_0x231a89(0x1cf)](_0x351fcf,_0x33abe7):_0x351fcf[_0x231a89(0x14c)]()[_0x231a89(0x275)]()[_0x231a89(0x2fb)];_0x4e59bb&&(_0x526f35[_0x231a89(0x290)](_0x231a89(0x1d2)+_0x4e59bb),_0x5e2543[_0x231a89(0x15a)]=_0x4e59bb);}if(_0x422f69[_0x3a9edf[_0x231a89(0x2c3)]]){const _0x298304=_0x422f69[_0x3a9edf[_0x231a89(0x2c3)]][_0x231a89(0x237)],_0x59e732=_0x478343[_0x231a89(0x222)]({[_0x3a9edf['extensionName']]:[_0x298304]});_0x526f35[_0x231a89(0x290)]('Sec-WebSocket-Extensions:\x20'+_0x59e732),_0x5e2543['_extensions']=_0x422f69;}this['emit'](_0x231a89(0x2a6),_0x526f35,_0x33abe7),_0x5c2108[_0x231a89(0x220)](_0x526f35[_0x231a89(0x2d4)]('\x0d\x0a')[_0x231a89(0x2c1)]('\x0d\x0a')),_0x5c2108[_0x231a89(0x1b7)](_0x231a89(0x1fd),_0x48d888),_0x5e2543[_0x231a89(0x1e4)](_0x5c2108,_0x69861,{'allowSynchronousEvents':this[_0x231a89(0x1a6)][_0x231a89(0x2ad)],'maxPayload':this['options'][_0x231a89(0x1cd)],'skipUTF8Validation':this[_0x231a89(0x1a6)][_0x231a89(0x251)]}),this[_0x231a89(0x25c)]&&(this['clients'][_0x231a89(0x233)](_0x5e2543),_0x5e2543['on'](_0x231a89(0x2c8),()=>{const _0x50c2e8=_0x231a89;this[_0x50c2e8(0x25c)][_0x50c2e8(0x205)](_0x5e2543),this[_0x50c2e8(0x2a3)]&&!this['clients']['size']&&process[_0x50c2e8(0x2be)](_0x37fc42,this);})),_0x7508dc(_0x5e2543,_0x33abe7);}}Te=_0x18fd11;function _0x4f7d1c(_0x1492d0,_0x95e0f1){for(const _0x26ee21 of Object['keys'](_0x95e0f1))_0x1492d0['on'](_0x26ee21,_0x95e0f1[_0x26ee21]);return function(){const _0x52da28=_0x4e84;for(const _0x2b5633 of Object[_0x52da28(0x2a5)](_0x95e0f1))_0x1492d0[_0x52da28(0x1b7)](_0x2b5633,_0x95e0f1[_0x2b5633]);};}function _0x37fc42(_0x16d720){const _0x3d484b=_0x4421c4;_0x16d720['_state']=_0x242a15,_0x16d720['emit'](_0x3d484b(0x2c8));}function _0x48d888(){this['destroy']();}function _0x3009e5(_0x4b7fbe,_0x127597,_0x3dcd65,_0x54053d){const _0x1e9506=_0x4421c4;_0x3dcd65=_0x3dcd65||_0x556400[_0x1e9506(0x1af)][_0x127597],_0x54053d={'Connection':_0x1e9506(0x2c8),'Content-Type':_0x1e9506(0x279),'Content-Length':Buffer['byteLength'](_0x3dcd65),..._0x54053d},_0x4b7fbe[_0x1e9506(0x207)](_0x1e9506(0x1ba),_0x4b7fbe[_0x1e9506(0x174)]),_0x4b7fbe[_0x1e9506(0x1f3)](_0x1e9506(0x2e9)+_0x127597+'\x20'+_0x556400[_0x1e9506(0x1af)][_0x127597]+'\x0d\x0a'+Object['keys'](_0x54053d)[_0x1e9506(0x2f0)](_0x14d659=>_0x14d659+':\x20'+_0x54053d[_0x14d659])['join']('\x0d\x0a')+_0x1e9506(0x272)+_0x3dcd65);}function _0x36cfd3(_0x446d02,_0x190a82,_0x383c63,_0x2daafc,_0x476d34){const _0x52edb7=_0x4421c4;if(_0x446d02['listenerCount'](_0x52edb7(0x16e))){const _0x118de2=new Error(_0x476d34);Error['captureStackTrace'](_0x118de2,_0x36cfd3),_0x446d02[_0x52edb7(0x293)]('wsClientError',_0x118de2,_0x383c63,_0x190a82);}else _0x3009e5(_0x383c63,_0x2daafc,_0x476d34);}return Te;}Ft();var jt=Object[_0x58ff9a(0x17e)],Wt=(_0x16bff8,_0x2aed99,_0x1e704f,_0xd34fe2)=>{for(var _0x3d990c=_0xd34fe2>0x1?void 0x0:_0xd34fe2?jt(_0x2aed99,_0x1e704f):_0x2aed99,_0x3eca8c=_0x16bff8['length']-0x1,_0x112cb7;_0x3eca8c>=0x0;_0x3eca8c--)(_0x112cb7=_0x16bff8[_0x3eca8c])&&(_0x3d990c=_0x112cb7(_0x3d990c)||_0x3d990c);return _0x3d990c;},qt=(_0x7b2077,_0x1e34f6)=>(_0xefe6e1,_0x22c835)=>_0x1e34f6(_0xefe6e1,_0x22c835,_0x7b2077);let ke=class extends A['Disposable']{constructor(_0x39d1f5){const _0x43de68=_0x58ff9a;super(),this[_0x43de68(0x257)]=_0x39d1f5;}[_0x58ff9a(0x273)](_0x22d016){const _0xffd9b0=_0x58ff9a;var _0x38c9d4;const _0x2f2a89=(_0x38c9d4=this['_configService'][_0xffd9b0(0x1a3)](fe))==null?void 0x0:_0x38c9d4[_0xffd9b0(0x168)];try{const _0x5a0100=new $t(_0x22d016,{'headers':{..._0x2f2a89}}),_0x568347=new A[(_0xffd9b0(0x221))]();return{'URL':_0x22d016,'close':(_0x251375,_0x16b851)=>{const _0x5a4e4c=_0xffd9b0;_0x5a0100['close'](_0x251375,_0x16b851),_0x568347[_0x5a4e4c(0x24a)]();},'send':_0x2153d6=>{const _0x47b07b=_0xffd9b0;_0x5a0100[_0x47b07b(0x23d)](_0x2153d6);},'open$':new V[(_0xffd9b0(0x2c4))](_0x851a19=>{const _0x41ba68=_0xffd9b0,_0x1caab9=_0x84ce45=>_0x851a19[_0x41ba68(0x275)](_0x84ce45);_0x5a0100['addEventListener'](_0x41ba68(0x22f),_0x1caab9),_0x568347[_0x41ba68(0x233)](A[_0x41ba68(0x2dc)](()=>_0x5a0100['removeEventListener'](_0x41ba68(0x22f),_0x1caab9)));})[_0xffd9b0(0x30b)](V[_0xffd9b0(0x2f9)]()),'close$':new V[(_0xffd9b0(0x2c4))](_0x3f1d90=>{const _0x8c7643=_0xffd9b0,_0x1dd709=_0x223027=>_0x3f1d90[_0x8c7643(0x275)](_0x223027);_0x5a0100[_0x8c7643(0x166)](_0x8c7643(0x2c8),_0x1dd709),_0x568347[_0x8c7643(0x233)](A['toDisposable'](()=>_0x5a0100[_0x8c7643(0x188)](_0x8c7643(0x2c8),_0x1dd709)));})['pipe'](V[_0xffd9b0(0x2f9)]()),'error$':new V[(_0xffd9b0(0x2c4))](_0x1f1b63=>{const _0x23ff04=_0xffd9b0,_0x300d3c=_0x43e9d6=>_0x1f1b63['next'](_0x43e9d6);_0x5a0100[_0x23ff04(0x166)](_0x23ff04(0x1fd),_0x300d3c),_0x568347[_0x23ff04(0x233)](A[_0x23ff04(0x2dc)](()=>_0x5a0100['removeEventListener']('error',_0x300d3c)));})[_0xffd9b0(0x30b)](V['share']()),'message$':new V[(_0xffd9b0(0x2c4))](_0x5a3c72=>{const _0x336021=_0xffd9b0,_0x409d1a=_0xf7978e=>_0x5a3c72[_0x336021(0x275)](_0xf7978e);_0x5a0100[_0x336021(0x166)](_0x336021(0x201),_0x409d1a),_0x568347['add'](A[_0x336021(0x2dc)](()=>_0x5a0100[_0x336021(0x188)](_0x336021(0x201),_0x409d1a)));})[_0xffd9b0(0x30b)](V[_0xffd9b0(0x2f9)]())};}catch(_0x53aed5){return console['error'](_0x53aed5),null;}}};ke=Wt([qt(0x0,A[_0x58ff9a(0x1da)])],ke);var Gt=Object[_0x58ff9a(0x1c3)],Vt=Object[_0x58ff9a(0x17e)],Ht=(_0x4e33e4,_0x24ffb2,_0x4450be)=>_0x24ffb2 in _0x4e33e4?Gt(_0x4e33e4,_0x24ffb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4450be}):_0x4e33e4[_0x24ffb2]=_0x4450be,zt=(_0x4ba4a0,_0x1bc4ad,_0x51d7d2,_0x415a31)=>{for(var _0x3337b1=_0x415a31>0x1?void 0x0:_0x415a31?Vt(_0x1bc4ad,_0x51d7d2):_0x1bc4ad,_0x4450f8=_0x4ba4a0['length']-0x1,_0x745891;_0x4450f8>=0x0;_0x4450f8--)(_0x745891=_0x4ba4a0[_0x4450f8])&&(_0x3337b1=_0x745891(_0x3337b1)||_0x3337b1);return _0x3337b1;},Ne=(_0x9039e9,_0x50372b)=>(_0x1ae6f2,_0x5cfdc3)=>_0x50372b(_0x1ae6f2,_0x5cfdc3,_0x9039e9),Yt=(_0x451cde,_0x32772a,_0xe8283)=>Ht(_0x451cde,_0x32772a+'',_0xe8283);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x58ff9a(0x18d)]{constructor(_0x54b136=Ct,_0x1bb0ea,_0x4ac0e0,_0x4c6532){const _0x599769=_0x58ff9a;_0x54b136['customHeaders']||_0x1bb0ea['warn'](_0x599769(0x1bd)),super(),this[_0x599769(0x257)]=_0x4ac0e0,this[_0x599769(0x1d6)]=_0x4c6532,this[_0x599769(0x257)]['setConfig'](fe,_0x54b136);}['onStarting'](){const _0x8bebd4=_0x58ff9a;this[_0x8bebd4(0x2cf)]();}[_0x58ff9a(0x2cf)](){const _0x45fb07=_0x58ff9a;A[_0x45fb07(0x262)](this[_0x45fb07(0x1d6)],[[it[_0x45fb07(0x29e)],{'useClass':ke}]]);}},Yt(exports[_0x58ff9a(0x1d0)],_0x58ff9a(0x153),_0x58ff9a(0x1bb)),exports[_0x58ff9a(0x1d0)]=zt([A[_0x58ff9a(0x218)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x58ff9a(0x265)]),Ne(0x2,A[_0x58ff9a(0x1da)]),Ne(0x3,A['Inject'](A[_0x58ff9a(0x292)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x58ff9a(0x17e)],Xt=(_0x27c692,_0x1f187b,_0x2f6d62,_0x4997d9)=>{const _0x556fc2=_0x58ff9a;for(var _0x41f965=_0x4997d9>0x1?void 0x0:_0x4997d9?Kt(_0x1f187b,_0x2f6d62):_0x1f187b,_0x2dd11e=_0x27c692[_0x556fc2(0x1db)]-0x1,_0x5a68f7;_0x2dd11e>=0x0;_0x2dd11e--)(_0x5a68f7=_0x27c692[_0x2dd11e])&&(_0x41f965=_0x5a68f7(_0x41f965)||_0x41f965);return _0x41f965;},ne=(_0x8ac4b5,_0x3c4d9d)=>(_0x182452,_0x325f18)=>_0x3c4d9d(_0x182452,_0x325f18,_0x8ac4b5);exports[_0x58ff9a(0x1a5)]=class extends st['CollaborationSocketService']{constructor(_0x37d90b,_0x892d01,_0x40c000,_0x367eeb,_0x1cf79b){const _0x855202=_0x58ff9a;super(_0x37d90b,_0x892d01,_0x40c000,_0x367eeb,_0x1cf79b);const _0x1ecaef=this[_0x855202(0x257)]['getConfig'](fe);this[_0x855202(0x1ee)][_0x855202(0x1e7)]({'interceptor':(_0x44ca13,_0x4e1f96)=>{const _0x258657=_0x855202;var _0x500775;const _0x43516c=_0x44ca13[_0x258657(0x2a6)];return(_0x500775=_0x1ecaef==null?void 0x0:_0x1ecaef['customHeaders'])!=null&&_0x500775[_0x258657(0x1aa)]&&_0x43516c['set'](_0x258657(0x1d7),_0x1ecaef[_0x258657(0x168)][_0x258657(0x1aa)]),_0x4e1f96(_0x44ca13);}});}async[_0x58ff9a(0x273)](_0x515551){const _0x751c3b=_0x58ff9a;return this[_0x751c3b(0x145)](_0x515551);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x58ff9a(0x256)](A[_0x58ff9a(0x292)])),ne(0x1,A[_0x58ff9a(0x256)](it[_0x58ff9a(0x2e8)])),ne(0x2,A[_0x58ff9a(0x1da)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x58ff9a(0x206)])],exports[_0x58ff9a(0x1a5)]),exports[_0x58ff9a(0x277)]=fe;
|