@univerjs-pro/collaboration-client-node 0.10.2 → 0.10.3-nightly.202508121228
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/types/index.d.ts +2 -2
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xc18ba=_0x58f7;(function(_0x1753ae,_0x4f1280){const _0x27177f=_0x58f7,_0x4aa75b=_0x1753ae();while(!![]){try{const _0x584e80=-parseInt(_0x27177f(0x241))/0x1+parseInt(_0x27177f(0x1ac))/0x2*(-parseInt(_0x27177f(0x265))/0x3)+-parseInt(_0x27177f(0x30b))/0x4+-parseInt(_0x27177f(0x277))/0x5*(parseInt(_0x27177f(0x253))/0x6)+parseInt(_0x27177f(0x2d3))/0x7+-parseInt(_0x27177f(0x23b))/0x8*(-parseInt(_0x27177f(0x250))/0x9)+parseInt(_0x27177f(0x166))/0xa;if(_0x584e80===_0x4f1280)break;else _0x4aa75b['push'](_0x4aa75b['shift']());}catch(_0x120306){_0x4aa75b['push'](_0x4aa75b['shift']());}}}(_0x3940,0x7fec1));Object[_0xc18ba(0x2db)](exports,Symbol[_0xc18ba(0x21f)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xc18ba(0x23d),Ct={'customHeaders':{}};function Tt(_0x14d965){const _0x1b9b91=_0xc18ba;return _0x14d965&&_0x14d965[_0x1b9b91(0x28f)]&&Object[_0x1b9b91(0x221)]['hasOwnProperty'][_0x1b9b91(0x19e)](_0x14d965,_0x1b9b91(0x2e7))?_0x14d965['default']:_0x14d965;}function at(_0x293fb3){const _0x32b36f=_0xc18ba;if(Object[_0x32b36f(0x221)]['hasOwnProperty'][_0x32b36f(0x19e)](_0x293fb3,_0x32b36f(0x28f)))return _0x293fb3;var _0x1d4793=_0x293fb3[_0x32b36f(0x2e7)];if(typeof _0x1d4793==_0x32b36f(0x1a3)){var _0x1cd2c1=function _0xca7c71(){const _0x480bd0=_0x32b36f;var _0x533457=!0x1;try{_0x533457=this instanceof _0xca7c71;}catch{}return _0x533457?Reflect['construct'](_0x1d4793,arguments,this[_0x480bd0(0x25a)]):_0x1d4793[_0x480bd0(0x1ee)](this,arguments);};_0x1cd2c1[_0x32b36f(0x221)]=_0x1d4793[_0x32b36f(0x221)];}else _0x1cd2c1={};return Object[_0x32b36f(0x2db)](_0x1cd2c1,'__esModule',{'value':!0x0}),Object[_0x32b36f(0x294)](_0x293fb3)[_0x32b36f(0x244)](function(_0x3a0727){const _0x11ae37=_0x32b36f;var _0x10e308=Object[_0x11ae37(0x192)](_0x293fb3,_0x3a0727);Object['defineProperty'](_0x1cd2c1,_0x3a0727,_0x10e308[_0x11ae37(0x1a4)]?_0x10e308:{'enumerable':!0x0,'get':function(){return _0x293fb3[_0x3a0727];}});}),_0x1cd2c1;}var se={'exports':{}},ge,Ge;function H(){const _0x3f61df=_0xc18ba;if(Ge)return ge;Ge=0x1;const _0x1109b5=[_0x3f61df(0x2f9),_0x3f61df(0x26c),_0x3f61df(0x27d)],_0x13d516=typeof Blob<'u';return _0x13d516&&_0x1109b5[_0x3f61df(0x236)](_0x3f61df(0x2df)),ge={'BINARY_TYPES':_0x1109b5,'EMPTY_BUFFER':Buffer[_0x3f61df(0x173)](0x0),'GUID':_0x3f61df(0x1f3),'hasBlob':_0x13d516,'kForOnEventAttribute':Symbol(_0x3f61df(0x2c1)),'kListener':Symbol(_0x3f61df(0x2da)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc18ba(0x1ce)](Object[_0xc18ba(0x2db)]({'__proto__':null,'default':Nt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Lt=at(kt);var Ve;function ce(){const _0x5e1156=_0xc18ba;if(Ve)return se[_0x5e1156(0x239)];Ve=0x1;const {EMPTY_BUFFER:_0x5a260e}=H(),_0x7c84=Buffer[Symbol[_0x5e1156(0x1bb)]];function _0x5c10e3(_0x1c59b6,_0x245907){const _0x3f12cc=_0x5e1156;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x0)return _0x5a260e;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x1)return _0x1c59b6[0x0];const _0x161d25=Buffer[_0x3f12cc(0x1b6)](_0x245907);let _0x42decb=0x0;for(let _0x299ccf=0x0;_0x299ccf<_0x1c59b6['length'];_0x299ccf++){const _0x5841f6=_0x1c59b6[_0x299ccf];_0x161d25[_0x3f12cc(0x307)](_0x5841f6,_0x42decb),_0x42decb+=_0x5841f6[_0x3f12cc(0x1e0)];}return _0x42decb<_0x245907?new _0x7c84(_0x161d25[_0x3f12cc(0x16f)],_0x161d25['byteOffset'],_0x42decb):_0x161d25;}function _0x5d21d6(_0x17bb9f,_0x3f6171,_0x5268b5,_0x39741e,_0x5648b9){for(let _0x177c46=0x0;_0x177c46<_0x5648b9;_0x177c46++)_0x5268b5[_0x39741e+_0x177c46]=_0x17bb9f[_0x177c46]^_0x3f6171[_0x177c46&0x3];}function _0x50a74d(_0x3ae454,_0x28659a){const _0xee559d=_0x5e1156;for(let _0x34f078=0x0;_0x34f078<_0x3ae454[_0xee559d(0x1e0)];_0x34f078++)_0x3ae454[_0x34f078]^=_0x28659a[_0x34f078&0x3];}function _0x3a470a(_0x5b0496){const _0x274e22=_0x5e1156;return _0x5b0496['length']===_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x270)]?_0x5b0496[_0x274e22(0x16f)]:_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x1f4)](_0x5b0496['byteOffset'],_0x5b0496[_0x274e22(0x29d)]+_0x5b0496[_0x274e22(0x1e0)]);}function _0xced99e(_0x4ed6d2){const _0x3416ad=_0x5e1156;if(_0xced99e['readOnly']=!0x0,Buffer['isBuffer'](_0x4ed6d2))return _0x4ed6d2;let _0x3529a9;return _0x4ed6d2 instanceof ArrayBuffer?_0x3529a9=new _0x7c84(_0x4ed6d2):ArrayBuffer[_0x3416ad(0x170)](_0x4ed6d2)?_0x3529a9=new _0x7c84(_0x4ed6d2[_0x3416ad(0x16f)],_0x4ed6d2[_0x3416ad(0x29d)],_0x4ed6d2['byteLength']):(_0x3529a9=Buffer[_0x3416ad(0x185)](_0x4ed6d2),_0xced99e[_0x3416ad(0x299)]=!0x1),_0x3529a9;}if(se[_0x5e1156(0x239)]={'concat':_0x5c10e3,'mask':_0x5d21d6,'toArrayBuffer':_0x3a470a,'toBuffer':_0xced99e,'unmask':_0x50a74d},!process[_0x5e1156(0x1fa)]['WS_NO_BUFFER_UTIL'])try{const _0x257b51=Lt;se[_0x5e1156(0x239)][_0x5e1156(0x27e)]=function(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4){_0x5311c4<0x30?_0x5d21d6(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4):_0x257b51['mask'](_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4);},se[_0x5e1156(0x239)]['unmask']=function(_0x176fe4,_0x32b58f){const _0x255b3d=_0x5e1156;_0x176fe4[_0x255b3d(0x1e0)]<0x20?_0x50a74d(_0x176fe4,_0x32b58f):_0x257b51[_0x255b3d(0x172)](_0x176fe4,_0x32b58f);};}catch{}return se['exports'];}function _0x3940(){const _0x25e562=['join','client_max_window_bits','WS_ERR_INVALID_OPCODE','_doCreateSocket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','slice','Plugin','clientMaxWindowBits','_deflate','startLoop','kWasClean','env','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getPayloadLength64','_state','reset','generateMask','invalid\x20opcode\x200','finishRequest','handleEvent','removeAllListeners','server_no_context_takeover','readUInt16BE','_extensions','_closeTimer','string','end','FIN\x20must\x20be\x20set','Invalid\x20URL:\x20','noServer','_skipUTF8Validation','wss:','consume','authorized','protocolVersion','getPayloadLength16','maskBuffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','writable','listeners','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','UniverCollaborationClientPlugin','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','skipUTF8Validation','_fragmented','ws+unix:','toStringTag','sec-websocket-key','prototype','_injector','defaultPort','_closeCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sec-websocket-version','getConfig','kData','object','timeout','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','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','_shouldEmitClose','_mask','arrayBuffer','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pow','Upgrade','pluginName','_removeListeners','push','message','createServer','exports','setConfig','360yqoyDn','_socket','collaboration-client-node.config','Z_DEFAULT_WINDOWBITS','target','kRun','568218nUWnZP','\x22:\x20','_bufferedAmount','forEach','Invalid\x20WebSocket\x20frame:\x20','update','ws:','encrypted','backlog','toDisposable','MASK\x20must\x20be\x20set','terminate','writeHead','_redirects','_registerDependencies','132156nJdQVj','Origin','upgrade','420gcalWH','\x20(supported\x20versions:\x20','format','Blob','Unexpected\x20end\x20of\x20input','Invalid\x20HTTP\x20method','COLLABORATION_CLIENT_NODE_CONFIG_KEY','constructor','getMask','path','kMessage','clientNoContextTakeover','Upgrade:\x20websocket','url','kCode','isInteger','STATUS_CODES','socket','14124bAGrkz','followRedirects','Basic\x20','_writableState','warn','client_no_context_takeover','Invalid\x20Upgrade\x20header','arraybuffer','toString','number','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','byteLength','_bufferedBytes','redirect','finish','request','cookie','entries','18515pZkDPc','share','13,\x208','_readyState','concat','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fragments','mask','clientTracking','kError','base64','WS_ERR_UNEXPECTED_MASK','readUInt32BE','CONNECTING','servername','_receiver','setHeader','errorEmitted','compress','_errored','normalizeParams','OPEN','pipe','abort','__esModule','createInflateRaw','_closeMessage','_server','_inflate','keys','serverNoContextTakeover','destroy','port','socketPath','readOnly','map','username','invalid\x20status\x20code\x20','byteOffset','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','indexOf','Parameter\x20\x22','acceptAsServer','sendFrame','isArray','emitClose','listenerCount','_opcode','\x22\x20subprotocol\x20is\x20duplicated','isIP','_autoPong','dispose','_req','concurrency','createConnection','isPaused','_destroy','Connection:\x20Upgrade','_decompress','WS_ERR_INVALID_UTF8','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kTarget','invalid\x20payload\x20length\x20','haveLength','CLOSING','dataMessage','binaryType','sec-websocket-origin','Sec-WebSocket-Accept:\x20','invalid\x20UTF-8\x20sequence','ping','text/plain','_originalHostOrSocketPath','kIsForOnEventAttribute','stream','_paused','customHeaders','values','kDone','registerHTTPInterceptor','ILogService','createSocket','_originalIpc','_compressed','isServer','_configService','hostname','conclude','sec-websocket-protocol','UniverCollaborationClientNodePlugin','needDrain','2302202FqkDpV','completeUpgrade','RSV1\x20must\x20be\x20clear','ISocketService','maxPayload','server_max_window_bits','onerror','kListener','defineProperty','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dispatch','headers','blob','IConfigService','handleUpgrade','replace','toLowerCase','zlibInflateOptions','Observable','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','default','getInfo','binary','Invalid\x20Sec-WebSocket-Extensions\x20header','controlMessage','decompress','_firstFragment','extensionName','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_options','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_binaryType','serverMaxWindowBits','HTTPService','zlibDeflateOptions','open','Injector','nodebuffer','createError','_payloadLength','wasClean','uncork','_loop','pong','setTimeout','endEmitted','enqueue','handshakeTimeout','authorization','code','invalid\x20opcode\x20','set','catch','connect','_url','3860676dOnPds','has','_totalPayloadLength','acceptAsClient','client','_compress','_threshold','threshold','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','listen','HTTP/1.1\x20101\x20Switching\x20Protocols','drain','method','getBlobData','kAborted','https:','perMessageDeflate','next','_protocol','jobs','reason','protocol','removeListener','_closeFrameReceived','startsWith','Inject','verifyClient','Unsupported\x20protocol\x20version:\x20','password','read','setSocket','_generateMask','address','pause','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','13551480UkrCPx','digest','_messageLength','write','Module','offer','_readableState','DisposableCollection','http:','buffer','isView','_closeFrameSent','unmask','alloc','kReason','_queue','size','writeUInt16BE','location','resume','frame','params','sec-websocket-extensions','callback','_sender','DependentOn','clients','Max\x20payload\x20size\x20exceeded','send','wsClientError','auth','from','fin','nextTick','objectMode','_errorEmitted','once','Opening\x20handshake\x20has\x20timed\x20out','add','handleProtocols','_write','onclose','dequeue','unshift','getOwnPropertyDescriptor','WS_ERR_EXPECTED_MASK','getData','bufferedAmount','_maxPayload','permessage-deflate','create','server','Sec-WebSocket-Protocol','GET','allowSynchronousEvents','host','call','finished','kByteLength','error','Sec-WebSocket-Origin','function','get','parse','autoPong','charCodeAt','href','_originalSecure','onmessage','Sec-WebSocket-Protocol:\x20','12TdnxHa','options','Disposable','The\x20URL\x20contains\x20a\x20fragment\x20identifier','cleanup','websocket','Unexpected\x20server\x20response:\x20','readyState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','allocUnsafe','_fin','pending','WS_ERR_EXPECTED_FIN','onopen','species','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20Sec-WebSocket-Protocol\x20header','isValidUTF8','concurrencyLimit','WS_ERR_UNEXPECTED_RSV_1','addEventListener','emit','The\x20URL\x27s\x20pathname\x20is\x20empty','data','CollaborationSocketService','response','_isServer','shouldHandle','search','buffers','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','extensions','_no_context_takeover','freeze','_final','Invalid\x20value\x20for\x20parameter\x20\x22','unexpected-response','setNoDelay','split','NodeCollaborationSocketService','_maskBuffer','find','WebSocket','shift','registerDependencies','_max_window_bits','type','captureStackTrace','The\x20\x22','bind','includes','length','destroyed','close','sec-websocket-accept','Unexpected\x20character\x20at\x20index\x20','_masked','total-length','test','accept','rsv1','_fragments','flush','Cookie','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','apply'];_0x3940=function(){return _0x25e562;};return _0x3940();}var ye,He;function Pt(){const _0x3af985=_0xc18ba;if(He)return ye;He=0x1;const _0x5c9eb4=Symbol(_0x3af985(0x2c6)),_0x5bc395=Symbol(_0x3af985(0x240));class _0x4e0076{constructor(_0x2333ef){const _0x4f0336=_0x3af985;this[_0x5c9eb4]=()=>{this['pending']--,this[_0x5bc395]();},this[_0x4f0336(0x2ad)]=_0x2333ef||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3af985(0x18c)](_0x42ed40){const _0x16ac4b=_0x3af985;this[_0x16ac4b(0x31e)][_0x16ac4b(0x236)](_0x42ed40),this[_0x5bc395]();}[_0x5bc395](){const _0xd6c67d=_0x3af985;if(this[_0xd6c67d(0x1b8)]!==this[_0xd6c67d(0x2ad)]&&this['jobs'][_0xd6c67d(0x1e0)]){const _0x4433dd=this[_0xd6c67d(0x31e)][_0xd6c67d(0x1d8)]();this[_0xd6c67d(0x1b8)]++,_0x4433dd(this[_0x5c9eb4]);}}}return ye=_0x4e0076,ye;}var ve,ze;function he(){const _0x405996=_0xc18ba;if(ze)return ve;ze=0x1;const _0x3aa4a1=bt,_0x2bd50d=ce(),_0x65e463=Pt(),{kStatusCode:_0x1130ac}=H(),_0x1222dc=Buffer[Symbol['species']],_0x4bf211=Buffer[_0x405996(0x185)]([0x0,0x0,0xff,0xff]),_0x25fba8=Symbol(_0x405996(0x197)),_0x1769a1=Symbol(_0x405996(0x1e6)),_0x525515=Symbol(_0x405996(0x17d)),_0x395763=Symbol(_0x405996(0x1ca)),_0x5315de=Symbol(_0x405996(0x1a1));let _0x3b25fb;class _0x475088{constructor(_0x1633c2,_0x549db0,_0x274e7f){const _0x410930=_0x405996;if(this['_maxPayload']=_0x274e7f|0x0,this[_0x410930(0x2f0)]=_0x1633c2||{},this[_0x410930(0x311)]=this[_0x410930(0x2f0)][_0x410930(0x312)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x410930(0x1c7)]=!!_0x549db0,this[_0x410930(0x1f7)]=null,this[_0x410930(0x293)]=null,this[_0x410930(0x17b)]=null,!_0x3b25fb){const _0xedcf79=this['_options'][_0x410930(0x1bf)]!==void 0x0?this['_options'][_0x410930(0x1bf)]:0xa;_0x3b25fb=new _0x65e463(_0xedcf79);}}static get['extensionName'](){const _0x253ab7=_0x405996;return _0x253ab7(0x197);}[_0x405996(0x16b)](){const _0x4bd87c=_0x405996,_0x420824={};return this[_0x4bd87c(0x2f0)][_0x4bd87c(0x295)]&&(_0x420824[_0x4bd87c(0x204)]=!0x0),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x25e)]&&(_0x420824['client_no_context_takeover']=!0x0),this['_options'][_0x4bd87c(0x2f4)]&&(_0x420824[_0x4bd87c(0x2d8)]=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x2f4)]),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]?_0x420824['client_max_window_bits']=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]:this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]==null&&(_0x420824[_0x4bd87c(0x1f0)]=!0x0),_0x420824;}[_0x405996(0x1e8)](_0x27a932){const _0x519737=_0x405996;return _0x27a932=this[_0x519737(0x28b)](_0x27a932),this[_0x519737(0x17b)]=this[_0x519737(0x1c7)]?this[_0x519737(0x2a2)](_0x27a932):this[_0x519737(0x30e)](_0x27a932),this[_0x519737(0x17b)];}['cleanup'](){const _0x5dbd2b=_0x405996;if(this['_inflate']&&(this[_0x5dbd2b(0x293)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x293)]=null),this['_deflate']){const _0xe30692=this[_0x5dbd2b(0x1f7)][_0x525515];this[_0x5dbd2b(0x1f7)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x1f7)]=null,_0xe30692&&_0xe30692(new Error(_0x5dbd2b(0x231)));}}[_0x405996(0x2a2)](_0x1cfa2b){const _0xd9a1f5=_0x405996,_0x25ee81=this['_options'],_0xfcbbcc=_0x1cfa2b[_0xd9a1f5(0x1d6)](_0x5217a7=>!(_0x25ee81[_0xd9a1f5(0x295)]===!0x1&&_0x5217a7[_0xd9a1f5(0x204)]||_0x5217a7['server_max_window_bits']&&(_0x25ee81[_0xd9a1f5(0x2f4)]===!0x1||typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&_0x25ee81[_0xd9a1f5(0x2f4)]>_0x5217a7[_0xd9a1f5(0x2d8)])||typeof _0x25ee81['clientMaxWindowBits']==_0xd9a1f5(0x26e)&&!_0x5217a7['client_max_window_bits']));if(!_0xfcbbcc)throw new Error(_0xd9a1f5(0x313));return _0x25ee81['serverNoContextTakeover']&&(_0xfcbbcc[_0xd9a1f5(0x204)]=!0x0),_0x25ee81[_0xd9a1f5(0x25e)]&&(_0xfcbbcc['client_no_context_takeover']=!0x0),typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&(_0xfcbbcc[_0xd9a1f5(0x2d8)]=_0x25ee81[_0xd9a1f5(0x2f4)]),typeof _0x25ee81[_0xd9a1f5(0x1f6)]==_0xd9a1f5(0x26e)?_0xfcbbcc[_0xd9a1f5(0x1f0)]=_0x25ee81[_0xd9a1f5(0x1f6)]:(_0xfcbbcc[_0xd9a1f5(0x1f0)]===!0x0||_0x25ee81[_0xd9a1f5(0x1f6)]===!0x1)&&delete _0xfcbbcc[_0xd9a1f5(0x1f0)],_0xfcbbcc;}[_0x405996(0x30e)](_0x901499){const _0x467326=_0x405996,_0x516655=_0x901499[0x0];if(this[_0x467326(0x2f0)][_0x467326(0x25e)]===!0x1&&_0x516655[_0x467326(0x26a)])throw new Error(_0x467326(0x26f));if(!_0x516655[_0x467326(0x1f0)])typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&(_0x516655[_0x467326(0x1f0)]=this[_0x467326(0x2f0)][_0x467326(0x1f6)]);else{if(this['_options'][_0x467326(0x1f6)]===!0x1||typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&_0x516655['client_max_window_bits']>this[_0x467326(0x2f0)][_0x467326(0x1f6)])throw new Error(_0x467326(0x1ed));}return _0x516655;}[_0x405996(0x28b)](_0x1dcfa7){const _0x38968e=_0x405996;return _0x1dcfa7[_0x38968e(0x244)](_0x37cff0=>{const _0x33ef2f=_0x38968e;Object[_0x33ef2f(0x294)](_0x37cff0)[_0x33ef2f(0x244)](_0x5a9528=>{const _0x293da5=_0x33ef2f;let _0x284d05=_0x37cff0[_0x5a9528];if(_0x284d05[_0x293da5(0x1e0)]>0x1)throw new Error(_0x293da5(0x2a1)+_0x5a9528+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x284d05=_0x284d05[0x0],_0x5a9528===_0x293da5(0x1f0)){if(_0x284d05!==!0x0){const _0x13f323=+_0x284d05;if(!Number[_0x293da5(0x262)](_0x13f323)||_0x13f323<0x8||_0x13f323>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x13f323;}else{if(!this['_isServer'])throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+'\x22:\x20'+_0x284d05);}}else{if(_0x5a9528===_0x293da5(0x2d8)){const _0x47c025=+_0x284d05;if(!Number['isInteger'](_0x47c025)||_0x47c025<0x8||_0x47c025>0xf)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x47c025;}else{if(_0x5a9528==='client_no_context_takeover'||_0x5a9528===_0x293da5(0x204)){if(_0x284d05!==!0x0)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x5a9528+'\x22');}}_0x37cff0[_0x5a9528]=_0x284d05;});}),_0x1dcfa7;}[_0x405996(0x2ec)](_0x3f11ab,_0x57e649,_0x2f218b){const _0x330b3e=_0x405996;_0x3b25fb[_0x330b3e(0x18c)](_0x1fa02f=>{const _0x3ea5c4=_0x330b3e;this[_0x3ea5c4(0x2b2)](_0x3f11ab,_0x57e649,(_0x48017d,_0x5b81c5)=>{_0x1fa02f(),_0x2f218b(_0x48017d,_0x5b81c5);});});}[_0x405996(0x289)](_0x4ac2f5,_0x4ddac2,_0x49e059){const _0x35bc5a=_0x405996;_0x3b25fb[_0x35bc5a(0x18c)](_0x1c78c1=>{this['_compress'](_0x4ac2f5,_0x4ddac2,(_0xb7c5aa,_0x16604d)=>{_0x1c78c1(),_0x49e059(_0xb7c5aa,_0x16604d);});});}[_0x405996(0x2b2)](_0x798e37,_0xf30878,_0x5b7ecf){const _0x2b9ee5=_0x405996,_0x4c6c9e=this[_0x2b9ee5(0x1c7)]?_0x2b9ee5(0x30f):_0x2b9ee5(0x199);if(!this[_0x2b9ee5(0x293)]){const _0x4b697d=_0x4c6c9e+_0x2b9ee5(0x1da),_0x36d840=typeof this[_0x2b9ee5(0x17b)][_0x4b697d]!=_0x2b9ee5(0x26e)?_0x3aa4a1[_0x2b9ee5(0x23e)]:this[_0x2b9ee5(0x17b)][_0x4b697d];this[_0x2b9ee5(0x293)]=_0x3aa4a1[_0x2b9ee5(0x290)]({...this['_options'][_0x2b9ee5(0x2e4)],'windowBits':_0x36d840}),this[_0x2b9ee5(0x293)][_0x25fba8]=this,this[_0x2b9ee5(0x293)][_0x1769a1]=0x0,this['_inflate'][_0x395763]=[],this['_inflate']['on'](_0x2b9ee5(0x1a1),_0x10df3d),this[_0x2b9ee5(0x293)]['on'](_0x2b9ee5(0x1c4),_0x103464);}this['_inflate'][_0x525515]=_0x5b7ecf,this['_inflate'][_0x2b9ee5(0x169)](_0x798e37),_0xf30878&&this[_0x2b9ee5(0x293)]['write'](_0x4bf211),this[_0x2b9ee5(0x293)]['flush'](()=>{const _0x1933a3=_0x2b9ee5,_0x578ef2=this['_inflate'][_0x5315de];if(_0x578ef2){this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this[_0x1933a3(0x293)]=null,_0x5b7ecf(_0x578ef2);return;}const _0x152f11=_0x2bd50d[_0x1933a3(0x27b)](this[_0x1933a3(0x293)][_0x395763],this[_0x1933a3(0x293)][_0x1769a1]);this[_0x1933a3(0x293)][_0x1933a3(0x16c)][_0x1933a3(0x301)]?(this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this['_inflate']=null):(this['_inflate'][_0x1769a1]=0x0,this[_0x1933a3(0x293)][_0x395763]=[],_0xf30878&&this[_0x1933a3(0x17b)][_0x4c6c9e+_0x1933a3(0x1cd)]&&this['_inflate'][_0x1933a3(0x1fe)]()),_0x5b7ecf(null,_0x152f11);});}[_0x405996(0x310)](_0x5c2397,_0x1ad09c,_0x5b42ea){const _0xf496d2=_0x405996,_0x4f7a14=this['_isServer']?_0xf496d2(0x199):_0xf496d2(0x30f);if(!this[_0xf496d2(0x1f7)]){const _0x1ae05f=_0x4f7a14+_0xf496d2(0x1da),_0x4ff001=typeof this['params'][_0x1ae05f]!='number'?_0x3aa4a1[_0xf496d2(0x23e)]:this[_0xf496d2(0x17b)][_0x1ae05f];this[_0xf496d2(0x1f7)]=_0x3aa4a1['createDeflateRaw']({...this[_0xf496d2(0x2f0)][_0xf496d2(0x2f6)],'windowBits':_0x4ff001}),this[_0xf496d2(0x1f7)][_0x1769a1]=0x0,this[_0xf496d2(0x1f7)][_0x395763]=[],this[_0xf496d2(0x1f7)]['on']('data',_0xd03090);}this['_deflate'][_0x525515]=_0x5b42ea,this[_0xf496d2(0x1f7)][_0xf496d2(0x169)](_0x5c2397),this[_0xf496d2(0x1f7)][_0xf496d2(0x1eb)](_0x3aa4a1['Z_SYNC_FLUSH'],()=>{const _0x4677b4=_0xf496d2;if(!this[_0x4677b4(0x1f7)])return;let _0x27f9e2=_0x2bd50d[_0x4677b4(0x27b)](this[_0x4677b4(0x1f7)][_0x395763],this['_deflate'][_0x1769a1]);_0x1ad09c&&(_0x27f9e2=new _0x1222dc(_0x27f9e2['buffer'],_0x27f9e2[_0x4677b4(0x29d)],_0x27f9e2['length']-0x4)),this[_0x4677b4(0x1f7)][_0x525515]=null,this[_0x4677b4(0x1f7)][_0x1769a1]=0x0,this['_deflate'][_0x395763]=[],_0x1ad09c&&this[_0x4677b4(0x17b)][_0x4f7a14+_0x4677b4(0x1cd)]&&this[_0x4677b4(0x1f7)][_0x4677b4(0x1fe)](),_0x5b42ea(null,_0x27f9e2);});}}ve=_0x475088;function _0xd03090(_0x28dda2){const _0x29f421=_0x405996;this[_0x395763]['push'](_0x28dda2),this[_0x1769a1]+=_0x28dda2[_0x29f421(0x1e0)];}function _0x103464(_0x4ed7a7){const _0x4fc4b3=_0x405996;if(this[_0x1769a1]+=_0x4ed7a7[_0x4fc4b3(0x1e0)],this[_0x25fba8][_0x4fc4b3(0x196)]<0x1||this[_0x1769a1]<=this[_0x25fba8][_0x4fc4b3(0x196)]){this[_0x395763][_0x4fc4b3(0x236)](_0x4ed7a7);return;}this[_0x5315de]=new RangeError(_0x4fc4b3(0x181)),this[_0x5315de]['code']=_0x4fc4b3(0x2dc),this[_0x5315de][_0x1130ac]=0x3f1,this[_0x4fc4b3(0x321)](_0x4fc4b3(0x1c4),_0x103464),this['reset']();}function _0x10df3d(_0x324c9e){const _0x513581=_0x405996;if(this[_0x25fba8][_0x513581(0x293)]=null,this[_0x5315de]){this[_0x525515](this[_0x5315de]);return;}_0x324c9e[_0x1130ac]=0x3ef,this[_0x525515](_0x324c9e);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xc18ba(0x1ce)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Bt=at(Rt);var Ye;function ae(){const _0x160134=_0xc18ba;if(Ye)return ie[_0x160134(0x239)];Ye=0x1;const {isUtf8:_0x112ac5}=wt,{hasBlob:_0x1f1b5d}=H(),_0x332ec4=[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 _0x4d02a1(_0xc67927){return _0xc67927>=0x3e8&&_0xc67927<=0x3f6&&_0xc67927!==0x3ec&&_0xc67927!==0x3ed&&_0xc67927!==0x3ee||_0xc67927>=0xbb8&&_0xc67927<=0x1387;}function _0x28498d(_0x41165e){const _0x4923d2=_0x160134,_0x599c85=_0x41165e[_0x4923d2(0x1e0)];let _0x1041d2=0x0;for(;_0x1041d2<_0x599c85;)if((_0x41165e[_0x1041d2]&0x80)===0x0)_0x1041d2++;else{if((_0x41165e[_0x1041d2]&0xe0)===0xc0){if(_0x1041d2+0x1===_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2]&0xfe)===0xc0)return!0x1;_0x1041d2+=0x2;}else{if((_0x41165e[_0x1041d2]&0xf0)===0xe0){if(_0x1041d2+0x2>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xe0&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0x80||_0x41165e[_0x1041d2]===0xed&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0xa0)return!0x1;_0x1041d2+=0x3;}else{if((_0x41165e[_0x1041d2]&0xf8)===0xf0){if(_0x1041d2+0x3>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x3]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xf0&&(_0x41165e[_0x1041d2+0x1]&0xf0)===0x80||_0x41165e[_0x1041d2]===0xf4&&_0x41165e[_0x1041d2+0x1]>0x8f||_0x41165e[_0x1041d2]>0xf4)return!0x1;_0x1041d2+=0x4;}else return!0x1;}}}return!0x0;}function _0x57126e(_0x30df67){const _0x36380e=_0x160134;return _0x1f1b5d&&typeof _0x30df67==_0x36380e(0x229)&&typeof _0x30df67['arrayBuffer']==_0x36380e(0x1a3)&&typeof _0x30df67[_0x36380e(0x1db)]==_0x36380e(0x208)&&typeof _0x30df67[_0x36380e(0x2c2)]=='function'&&(_0x30df67[Symbol['toStringTag']]===_0x36380e(0x256)||_0x30df67[Symbol[_0x36380e(0x21f)]]==='File');}if(ie['exports']={'isBlob':_0x57126e,'isValidStatusCode':_0x4d02a1,'isValidUTF8':_0x28498d,'tokenChars':_0x332ec4},_0x112ac5)ie[_0x160134(0x239)][_0x160134(0x1be)]=function(_0x3bdf7e){return _0x3bdf7e['length']<0x18?_0x28498d(_0x3bdf7e):_0x112ac5(_0x3bdf7e);};else{if(!process[_0x160134(0x1fa)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4aebcc=Bt;ie[_0x160134(0x239)]['isValidUTF8']=function(_0x2a9ce2){const _0x330fb3=_0x160134;return _0x2a9ce2[_0x330fb3(0x1e0)]<0x20?_0x28498d(_0x2a9ce2):_0x4aebcc(_0x2a9ce2);};}catch{}}return ie[_0x160134(0x239)];}var Se,Ke;function lt(){const _0x140b4f=_0xc18ba;if(Ke)return Se;Ke=0x1;const {Writable:_0x21e38a}=oe,_0x547ee8=he(),{BINARY_TYPES:_0x54fed9,EMPTY_BUFFER:_0x4c723b,kStatusCode:_0x5a63ed,kWebSocket:_0x32c734}=H(),{concat:_0x45361a,toArrayBuffer:_0x58c7f1,unmask:_0xb37a11}=ce(),{isValidStatusCode:_0x4a5d18,isValidUTF8:_0x2a7cf9}=ae(),_0x199fe8=Buffer[Symbol[_0x140b4f(0x1bb)]],_0x3cf563=0x0,_0x5a1efc=0x1,_0x318990=0x2,_0x365c41=0x3,_0x27a077=0x4,_0x37abd5=0x5,_0x22f241=0x6;class _0x3ec2e9 extends _0x21e38a{constructor(_0x5255f9={}){const _0xd6bf7b=_0x140b4f;super(),this[_0xd6bf7b(0x22b)]=_0x5255f9['allowSynchronousEvents']!==void 0x0?_0x5255f9[_0xd6bf7b(0x19c)]:!0x0,this[_0xd6bf7b(0x2f3)]=_0x5255f9['binaryType']||_0x54fed9[0x0],this[_0xd6bf7b(0x206)]=_0x5255f9[_0xd6bf7b(0x1cc)]||{},this['_isServer']=!!_0x5255f9[_0xd6bf7b(0x2cc)],this[_0xd6bf7b(0x196)]=_0x5255f9['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x5255f9[_0xd6bf7b(0x21c)],this[_0x32c734]=void 0x0,this['_bufferedBytes']=0x0,this[_0xd6bf7b(0x29e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0xd6bf7b(0x22f)]=void 0x0,this[_0xd6bf7b(0x21d)]=0x0,this[_0xd6bf7b(0x1e5)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0xd6bf7b(0x168)]=0x0,this[_0xd6bf7b(0x1ea)]=[],this[_0xd6bf7b(0x28a)]=!0x1,this[_0xd6bf7b(0x2fe)]=!0x1,this[_0xd6bf7b(0x1fd)]=_0x3cf563;}[_0x140b4f(0x18e)](_0x452e7f,_0x28853d,_0x3b7d76){const _0x2cb2c4=_0x140b4f;if(this['_opcode']===0x8&&this['_state']==_0x3cf563)return _0x3b7d76();this[_0x2cb2c4(0x271)]+=_0x452e7f[_0x2cb2c4(0x1e0)],this[_0x2cb2c4(0x29e)][_0x2cb2c4(0x236)](_0x452e7f),this[_0x2cb2c4(0x1f8)](_0x3b7d76);}['consume'](_0x45f027){const _0x52ccb5=_0x140b4f;if(this[_0x52ccb5(0x271)]-=_0x45f027,_0x45f027===this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)])return this[_0x52ccb5(0x29e)][_0x52ccb5(0x1d8)]();if(_0x45f027<this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)]){const _0xd49453=this[_0x52ccb5(0x29e)][0x0];return this['_buffers'][0x0]=new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453['byteOffset']+_0x45f027,_0xd49453[_0x52ccb5(0x1e0)]-_0x45f027),new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453[_0x52ccb5(0x29d)],_0x45f027);}const _0x3d886d=Buffer[_0x52ccb5(0x1b6)](_0x45f027);do{const _0x5d06e3=this[_0x52ccb5(0x29e)][0x0],_0x1c33a1=_0x3d886d['length']-_0x45f027;_0x45f027>=_0x5d06e3[_0x52ccb5(0x1e0)]?_0x3d886d[_0x52ccb5(0x307)](this['_buffers'][_0x52ccb5(0x1d8)](),_0x1c33a1):(_0x3d886d['set'](new Uint8Array(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3['byteOffset'],_0x45f027),_0x1c33a1),this[_0x52ccb5(0x29e)][0x0]=new _0x199fe8(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3[_0x52ccb5(0x29d)]+_0x45f027,_0x5d06e3['length']-_0x45f027)),_0x45f027-=_0x5d06e3[_0x52ccb5(0x1e0)];}while(_0x45f027>0x0);return _0x3d886d;}['startLoop'](_0x351ddb){const _0x5f0b26=_0x140b4f;this['_loop']=!0x0;do switch(this[_0x5f0b26(0x1fd)]){case _0x3cf563:this[_0x5f0b26(0x2e8)](_0x351ddb);break;case _0x5a1efc:this[_0x5f0b26(0x212)](_0x351ddb);break;case _0x318990:this[_0x5f0b26(0x1fc)](_0x351ddb);break;case _0x365c41:this[_0x5f0b26(0x25b)]();break;case _0x27a077:this[_0x5f0b26(0x194)](_0x351ddb);break;case _0x37abd5:case _0x22f241:this[_0x5f0b26(0x2fe)]=!0x1;return;}while(this[_0x5f0b26(0x2fe)]);this['_errored']||_0x351ddb();}['getInfo'](_0x1f24ba){const _0x5ac0a8=_0x140b4f;if(this[_0x5ac0a8(0x271)]<0x2){this[_0x5ac0a8(0x2fe)]=!0x1;return;}const _0x5ba7cd=this[_0x5ac0a8(0x20f)](0x2);if((_0x5ba7cd[0x0]&0x30)!==0x0){const _0x465b8d=this['createError'](RangeError,_0x5ac0a8(0x1fb),!0x0,0x3ea,_0x5ac0a8(0x1bc));_0x1f24ba(_0x465b8d);return;}const _0x4e8ae0=(_0x5ba7cd[0x0]&0x40)===0x40;if(_0x4e8ae0&&!this[_0x5ac0a8(0x206)][_0x547ee8[_0x5ac0a8(0x2ee)]]){const _0x373aec=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x373aec);return;}if(this['_fin']=(_0x5ba7cd[0x0]&0x80)===0x80,this[_0x5ac0a8(0x2a7)]=_0x5ba7cd[0x0]&0xf,this['_payloadLength']=_0x5ba7cd[0x1]&0x7f,this[_0x5ac0a8(0x2a7)]===0x0){if(_0x4e8ae0){const _0x361f9c=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x361f9c);return;}if(!this[_0x5ac0a8(0x21d)]){const _0x52621b=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x200),!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x52621b);return;}this[_0x5ac0a8(0x2a7)]=this[_0x5ac0a8(0x21d)];}else{if(this[_0x5ac0a8(0x2a7)]===0x1||this[_0x5ac0a8(0x2a7)]===0x2){if(this['_fragmented']){const _0x1bc3cb=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x306)+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x1bc3cb);return;}this[_0x5ac0a8(0x2cb)]=_0x4e8ae0;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x1febab=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x20a),!0x0,0x3ea,_0x5ac0a8(0x1b9));_0x1f24ba(_0x1febab);return;}if(_0x4e8ae0){const _0x1cc3ac=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1f24ba(_0x1cc3ac);return;}if(this['_payloadLength']>0x7d||this[_0x5ac0a8(0x2a7)]===0x8&&this[_0x5ac0a8(0x2fb)]===0x1){const _0x355ab9=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2b6)+this['_payloadLength'],!0x0,0x3ea,_0x5ac0a8(0x2e6));_0x1f24ba(_0x355ab9);return;}}else{const _0x404283=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x404283);return;}}}if(!this['_fin']&&!this[_0x5ac0a8(0x21d)]&&(this[_0x5ac0a8(0x21d)]=this[_0x5ac0a8(0x2a7)]),this[_0x5ac0a8(0x1e5)]=(_0x5ba7cd[0x1]&0x80)===0x80,this[_0x5ac0a8(0x1c7)]){if(!this[_0x5ac0a8(0x1e5)]){const _0x303172=this['createError'](RangeError,_0x5ac0a8(0x24b),!0x0,0x3ea,_0x5ac0a8(0x193));_0x1f24ba(_0x303172);return;}}else{if(this['_masked']){const _0x1e042d=this[_0x5ac0a8(0x2fa)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x5ac0a8(0x282));_0x1f24ba(_0x1e042d);return;}}this['_payloadLength']===0x7e?this[_0x5ac0a8(0x1fd)]=_0x5a1efc:this['_payloadLength']===0x7f?this[_0x5ac0a8(0x1fd)]=_0x318990:this[_0x5ac0a8(0x2b7)](_0x1f24ba);}[_0x140b4f(0x212)](_0x7b792a){const _0x577131=_0x140b4f;if(this[_0x577131(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x577131(0x2fb)]=this['consume'](0x2)[_0x577131(0x205)](0x0),this[_0x577131(0x2b7)](_0x7b792a);}[_0x140b4f(0x1fc)](_0x46ceb7){const _0x5bf103=_0x140b4f;if(this['_bufferedBytes']<0x8){this[_0x5bf103(0x2fe)]=!0x1;return;}const _0x1b4801=this[_0x5bf103(0x20f)](0x8),_0x384538=_0x1b4801[_0x5bf103(0x283)](0x0);if(_0x384538>Math['pow'](0x2,0x15)-0x1){const _0x28f54a=this['createError'](RangeError,_0x5bf103(0x214),!0x1,0x3f1,_0x5bf103(0x22c));_0x46ceb7(_0x28f54a);return;}this[_0x5bf103(0x2fb)]=_0x384538*Math[_0x5bf103(0x232)](0x2,0x20)+_0x1b4801[_0x5bf103(0x283)](0x4),this[_0x5bf103(0x2b7)](_0x46ceb7);}['haveLength'](_0x5c1d14){const _0x5661de=_0x140b4f;if(this[_0x5661de(0x2fb)]&&this['_opcode']<0x8&&(this[_0x5661de(0x30d)]+=this[_0x5661de(0x2fb)],this[_0x5661de(0x30d)]>this[_0x5661de(0x196)]&&this[_0x5661de(0x196)]>0x0)){const _0x4c977b=this[_0x5661de(0x2fa)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5c1d14(_0x4c977b);return;}this[_0x5661de(0x1e5)]?this[_0x5661de(0x1fd)]=_0x365c41:this[_0x5661de(0x1fd)]=_0x27a077;}[_0x140b4f(0x25b)](){const _0x405319=_0x140b4f;if(this[_0x405319(0x271)]<0x4){this[_0x405319(0x2fe)]=!0x1;return;}this[_0x405319(0x22f)]=this[_0x405319(0x20f)](0x4),this[_0x405319(0x1fd)]=_0x27a077;}[_0x140b4f(0x194)](_0x189eaf){const _0x44853d=_0x140b4f;let _0x5d5f64=_0x4c723b;if(this[_0x44853d(0x2fb)]){if(this[_0x44853d(0x271)]<this[_0x44853d(0x2fb)]){this['_loop']=!0x1;return;}_0x5d5f64=this[_0x44853d(0x20f)](this[_0x44853d(0x2fb)]),this['_masked']&&(this[_0x44853d(0x22f)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x44853d(0x22f)][0x3])!==0x0&&_0xb37a11(_0x5d5f64,this['_mask']);}if(this[_0x44853d(0x2a7)]>0x7){this[_0x44853d(0x2eb)](_0x5d5f64,_0x189eaf);return;}if(this[_0x44853d(0x2cb)]){this['_state']=_0x37abd5,this['decompress'](_0x5d5f64,_0x189eaf);return;}_0x5d5f64[_0x44853d(0x1e0)]&&(this[_0x44853d(0x168)]=this[_0x44853d(0x30d)],this[_0x44853d(0x1ea)][_0x44853d(0x236)](_0x5d5f64)),this[_0x44853d(0x2b9)](_0x189eaf);}[_0x140b4f(0x2ec)](_0x5358c6,_0xa1f1bf){const _0x502bf2=_0x140b4f;this[_0x502bf2(0x206)][_0x547ee8['extensionName']][_0x502bf2(0x2ec)](_0x5358c6,this['_fin'],(_0x1a7480,_0x19844c)=>{const _0x1cd3c8=_0x502bf2;if(_0x1a7480)return _0xa1f1bf(_0x1a7480);if(_0x19844c[_0x1cd3c8(0x1e0)]){if(this[_0x1cd3c8(0x168)]+=_0x19844c[_0x1cd3c8(0x1e0)],this['_messageLength']>this['_maxPayload']&&this[_0x1cd3c8(0x196)]>0x0){const _0x3120e6=this['createError'](RangeError,_0x1cd3c8(0x181),!0x1,0x3f1,_0x1cd3c8(0x2dc));_0xa1f1bf(_0x3120e6);return;}this[_0x1cd3c8(0x1ea)][_0x1cd3c8(0x236)](_0x19844c);}this[_0x1cd3c8(0x2b9)](_0xa1f1bf),this[_0x1cd3c8(0x1fd)]===_0x3cf563&&this[_0x1cd3c8(0x1f8)](_0xa1f1bf);});}['dataMessage'](_0x49fe09){const _0x1edd68=_0x140b4f;if(!this[_0x1edd68(0x1b7)]){this[_0x1edd68(0x1fd)]=_0x3cf563;return;}const _0x17ef99=this['_messageLength'],_0x48452c=this['_fragments'];if(this[_0x1edd68(0x30d)]=0x0,this[_0x1edd68(0x168)]=0x0,this[_0x1edd68(0x21d)]=0x0,this[_0x1edd68(0x1ea)]=[],this[_0x1edd68(0x2a7)]===0x2){let _0xeeb59d;this[_0x1edd68(0x2f3)]===_0x1edd68(0x2f9)?_0xeeb59d=_0x45361a(_0x48452c,_0x17ef99):this[_0x1edd68(0x2f3)]==='arraybuffer'?_0xeeb59d=_0x58c7f1(_0x45361a(_0x48452c,_0x17ef99)):this[_0x1edd68(0x2f3)]==='blob'?_0xeeb59d=new Blob(_0x48452c):_0xeeb59d=_0x48452c,this[_0x1edd68(0x22b)]?(this['emit']('message',_0xeeb59d,!0x0),this[_0x1edd68(0x1fd)]=_0x3cf563):(this['_state']=_0x22f241,setImmediate(()=>{const _0x402769=_0x1edd68;this[_0x402769(0x1c2)]('message',_0xeeb59d,!0x0),this[_0x402769(0x1fd)]=_0x3cf563,this['startLoop'](_0x49fe09);}));}else{const _0x1b3f8d=_0x45361a(_0x48452c,_0x17ef99);if(!this[_0x1edd68(0x20d)]&&!_0x2a7cf9(_0x1b3f8d)){const _0x1ae377=this[_0x1edd68(0x2fa)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1edd68(0x2b3));_0x49fe09(_0x1ae377);return;}this[_0x1edd68(0x1fd)]===_0x37abd5||this[_0x1edd68(0x22b)]?(this['emit'](_0x1edd68(0x237),_0x1b3f8d,!0x1),this['_state']=_0x3cf563):(this[_0x1edd68(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x127b9b=_0x1edd68;this[_0x127b9b(0x1c2)](_0x127b9b(0x237),_0x1b3f8d,!0x1),this[_0x127b9b(0x1fd)]=_0x3cf563,this[_0x127b9b(0x1f8)](_0x49fe09);}));}}[_0x140b4f(0x2eb)](_0x5cf969,_0x51d194){const _0xe45c99=_0x140b4f;if(this[_0xe45c99(0x2a7)]===0x8){if(_0x5cf969[_0xe45c99(0x1e0)]===0x0)this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)]('conclude',0x3ed,_0x4c723b),this[_0xe45c99(0x209)]();else{const _0x25562c=_0x5cf969[_0xe45c99(0x205)](0x0);if(!_0x4a5d18(_0x25562c)){const _0x18962a=this[_0xe45c99(0x2fa)](RangeError,_0xe45c99(0x29c)+_0x25562c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x51d194(_0x18962a);return;}const _0x2fd077=new _0x199fe8(_0x5cf969['buffer'],_0x5cf969['byteOffset']+0x2,_0x5cf969[_0xe45c99(0x1e0)]-0x2);if(!this[_0xe45c99(0x20d)]&&!_0x2a7cf9(_0x2fd077)){const _0x1b2364=this[_0xe45c99(0x2fa)](Error,_0xe45c99(0x2bd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x51d194(_0x1b2364);return;}this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)](_0xe45c99(0x2cf),_0x25562c,_0x2fd077),this[_0xe45c99(0x209)]();}this['_state']=_0x3cf563;return;}this[_0xe45c99(0x22b)]?(this['emit'](this['_opcode']===0x9?'ping':_0xe45c99(0x2ff),_0x5cf969),this[_0xe45c99(0x1fd)]=_0x3cf563):(this[_0xe45c99(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x5ae786=_0xe45c99;this['emit'](this[_0x5ae786(0x2a7)]===0x9?_0x5ae786(0x2be):_0x5ae786(0x2ff),_0x5cf969),this['_state']=_0x3cf563,this[_0x5ae786(0x1f8)](_0x51d194);}));}['createError'](_0x246e8f,_0x558544,_0x40d818,_0x3019d6,_0xcbba3){const _0x2f0ca4=_0x140b4f;this[_0x2f0ca4(0x2fe)]=!0x1,this[_0x2f0ca4(0x28a)]=!0x0;const _0x5bba32=new _0x246e8f(_0x40d818?_0x2f0ca4(0x245)+_0x558544:_0x558544);return Error[_0x2f0ca4(0x1dc)](_0x5bba32,this[_0x2f0ca4(0x2fa)]),_0x5bba32[_0x2f0ca4(0x305)]=_0xcbba3,_0x5bba32[_0x5a63ed]=_0x3019d6,_0x5bba32;}}return Se=_0x3ec2e9,Se;}var Ee,Xe;function ft(){const _0x383784=_0xc18ba;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5575f9}=oe,{randomFillSync:_0x328ba4}=Le,_0x2eb2fd=he(),{EMPTY_BUFFER:_0x3a3689,kWebSocket:_0x3263f3,NOOP:_0x2ce3a6}=H(),{isBlob:_0x49baca,isValidStatusCode:_0x35de1e}=ae(),{mask:_0x3cb220,toBuffer:_0x5405bf}=ce(),_0x152f4b=Symbol(_0x383784(0x1a0)),_0x5b75ad=Buffer[_0x383784(0x173)](0x4),_0x2a6906=0x8*0x400;let _0x2ebc58,_0x46a402=_0x2a6906;const _0x42b7cd=0x0,_0x17b6ef=0x1,_0x4b7595=0x2;class _0x11f03b{constructor(_0x2c8760,_0x670b07,_0x44ad1a){const _0x3a45fa=_0x383784;this['_extensions']=_0x670b07||{},_0x44ad1a&&(this['_generateMask']=_0x44ad1a,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x2c8760,this[_0x3a45fa(0x2ed)]=!0x0,this[_0x3a45fa(0x310)]=!0x1,this[_0x3a45fa(0x271)]=0x0,this['_queue']=[],this['_state']=_0x42b7cd,this[_0x3a45fa(0x2d9)]=_0x2ce3a6,this[_0x3263f3]=void 0x0;}static[_0x383784(0x17a)](_0x34d31d,_0x459200){const _0x458cc2=_0x383784;let _0x46d8e4,_0x5826a4=!0x1,_0x2591a4=0x2,_0x8177f1=!0x1;_0x459200[_0x458cc2(0x27e)]&&(_0x46d8e4=_0x459200[_0x458cc2(0x213)]||_0x5b75ad,_0x459200[_0x458cc2(0x1ff)]?_0x459200[_0x458cc2(0x1ff)](_0x46d8e4):(_0x46a402===_0x2a6906&&(_0x2ebc58===void 0x0&&(_0x2ebc58=Buffer[_0x458cc2(0x173)](_0x2a6906)),_0x328ba4(_0x2ebc58,0x0,_0x2a6906),_0x46a402=0x0),_0x46d8e4[0x0]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x1]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x2]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x3]=_0x2ebc58[_0x46a402++]),_0x8177f1=(_0x46d8e4[0x0]|_0x46d8e4[0x1]|_0x46d8e4[0x2]|_0x46d8e4[0x3])===0x0,_0x2591a4=0x6);let _0x3b0197;typeof _0x34d31d==_0x458cc2(0x208)?(!_0x459200[_0x458cc2(0x27e)]||_0x8177f1)&&_0x459200[_0x152f4b]!==void 0x0?_0x3b0197=_0x459200[_0x152f4b]:(_0x34d31d=Buffer['from'](_0x34d31d),_0x3b0197=_0x34d31d[_0x458cc2(0x1e0)]):(_0x3b0197=_0x34d31d['length'],_0x5826a4=_0x459200[_0x458cc2(0x27e)]&&_0x459200[_0x458cc2(0x299)]&&!_0x8177f1);let _0xbf2489=_0x3b0197;_0x3b0197>=0x10000?(_0x2591a4+=0x8,_0xbf2489=0x7f):_0x3b0197>0x7d&&(_0x2591a4+=0x2,_0xbf2489=0x7e);const _0x3ed886=Buffer[_0x458cc2(0x1b6)](_0x5826a4?_0x3b0197+_0x2591a4:_0x2591a4);return _0x3ed886[0x0]=_0x459200[_0x458cc2(0x186)]?_0x459200['opcode']|0x80:_0x459200['opcode'],_0x459200[_0x458cc2(0x1e9)]&&(_0x3ed886[0x0]|=0x40),_0x3ed886[0x1]=_0xbf2489,_0xbf2489===0x7e?_0x3ed886[_0x458cc2(0x177)](_0x3b0197,0x2):_0xbf2489===0x7f&&(_0x3ed886[0x2]=_0x3ed886[0x3]=0x0,_0x3ed886['writeUIntBE'](_0x3b0197,0x4,0x6)),_0x459200[_0x458cc2(0x27e)]?(_0x3ed886[0x1]|=0x80,_0x3ed886[_0x2591a4-0x4]=_0x46d8e4[0x0],_0x3ed886[_0x2591a4-0x3]=_0x46d8e4[0x1],_0x3ed886[_0x2591a4-0x2]=_0x46d8e4[0x2],_0x3ed886[_0x2591a4-0x1]=_0x46d8e4[0x3],_0x8177f1?[_0x3ed886,_0x34d31d]:_0x5826a4?(_0x3cb220(_0x34d31d,_0x46d8e4,_0x3ed886,_0x2591a4,_0x3b0197),[_0x3ed886]):(_0x3cb220(_0x34d31d,_0x46d8e4,_0x34d31d,0x0,_0x3b0197),[_0x3ed886,_0x34d31d])):[_0x3ed886,_0x34d31d];}[_0x383784(0x1e2)](_0xa685d9,_0x49b1f6,_0xd1ec18,_0x4d093e){const _0x89b38=_0x383784;let _0x5c13f9;if(_0xa685d9===void 0x0)_0x5c13f9=_0x3a3689;else{if(typeof _0xa685d9!='number'||!_0x35de1e(_0xa685d9))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x49b1f6===void 0x0||!_0x49b1f6['length'])_0x5c13f9=Buffer[_0x89b38(0x1b6)](0x2),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0);else{const _0x50139b=Buffer['byteLength'](_0x49b1f6);if(_0x50139b>0x7b)throw new RangeError(_0x89b38(0x1cb));_0x5c13f9=Buffer['allocUnsafe'](0x2+_0x50139b),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0),typeof _0x49b1f6==_0x89b38(0x208)?_0x5c13f9[_0x89b38(0x169)](_0x49b1f6,0x2):_0x5c13f9['set'](_0x49b1f6,0x2);}}const _0x2c1220={[_0x152f4b]:_0x5c13f9[_0x89b38(0x1e0)],'fin':!0x0,'generateMask':this[_0x89b38(0x162)],'mask':_0xd1ec18,'maskBuffer':this[_0x89b38(0x1d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x89b38(0x1fd)]!==_0x42b7cd?this[_0x89b38(0x302)]([this['dispatch'],_0x5c13f9,!0x1,_0x2c1220,_0x4d093e]):this[_0x89b38(0x2a3)](_0x11f03b[_0x89b38(0x17a)](_0x5c13f9,_0x2c1220),_0x4d093e);}[_0x383784(0x2be)](_0x333fb8,_0x4bfcbe,_0x1f22a1){const _0x25e7e7=_0x383784;let _0x59f43b,_0x3e0af9;if(typeof _0x333fb8==_0x25e7e7(0x208)?(_0x59f43b=Buffer['byteLength'](_0x333fb8),_0x3e0af9=!0x1):_0x49baca(_0x333fb8)?(_0x59f43b=_0x333fb8[_0x25e7e7(0x176)],_0x3e0af9=!0x1):(_0x333fb8=_0x5405bf(_0x333fb8),_0x59f43b=_0x333fb8['length'],_0x3e0af9=_0x5405bf[_0x25e7e7(0x299)]),_0x59f43b>0x7d)throw new RangeError(_0x25e7e7(0x27c));const _0x102447={[_0x152f4b]:_0x59f43b,'fin':!0x0,'generateMask':this[_0x25e7e7(0x162)],'mask':_0x4bfcbe,'maskBuffer':this[_0x25e7e7(0x1d5)],'opcode':0x9,'readOnly':_0x3e0af9,'rsv1':!0x1};_0x49baca(_0x333fb8)?this['_state']!==_0x42b7cd?this[_0x25e7e7(0x302)]([this[_0x25e7e7(0x318)],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this['getBlobData'](_0x333fb8,!0x1,_0x102447,_0x1f22a1):this[_0x25e7e7(0x1fd)]!==_0x42b7cd?this['enqueue']([this['dispatch'],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this[_0x25e7e7(0x2a3)](_0x11f03b[_0x25e7e7(0x17a)](_0x333fb8,_0x102447),_0x1f22a1);}['pong'](_0x2d5a1f,_0x2f5706,_0x4a21f3){const _0x7cb863=_0x383784;let _0x5a99a9,_0x3ba243;if(typeof _0x2d5a1f==_0x7cb863(0x208)?(_0x5a99a9=Buffer['byteLength'](_0x2d5a1f),_0x3ba243=!0x1):_0x49baca(_0x2d5a1f)?(_0x5a99a9=_0x2d5a1f[_0x7cb863(0x176)],_0x3ba243=!0x1):(_0x2d5a1f=_0x5405bf(_0x2d5a1f),_0x5a99a9=_0x2d5a1f[_0x7cb863(0x1e0)],_0x3ba243=_0x5405bf['readOnly']),_0x5a99a9>0x7d)throw new RangeError(_0x7cb863(0x27c));const _0x4f1112={[_0x152f4b]:_0x5a99a9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2f5706,'maskBuffer':this[_0x7cb863(0x1d5)],'opcode':0xa,'readOnly':_0x3ba243,'rsv1':!0x1};_0x49baca(_0x2d5a1f)?this[_0x7cb863(0x1fd)]!==_0x42b7cd?this['enqueue']([this[_0x7cb863(0x318)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this[_0x7cb863(0x318)](_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3):this[_0x7cb863(0x1fd)]!==_0x42b7cd?this[_0x7cb863(0x302)]([this[_0x7cb863(0x2dd)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this['sendFrame'](_0x11f03b[_0x7cb863(0x17a)](_0x2d5a1f,_0x4f1112),_0x4a21f3);}[_0x383784(0x182)](_0x31c17f,_0x3389f6,_0x303e32){const _0x3500dc=_0x383784,_0x243b1a=this[_0x3500dc(0x206)][_0x2eb2fd[_0x3500dc(0x2ee)]];let _0x430fa7=_0x3389f6[_0x3500dc(0x2e9)]?0x2:0x1,_0x1aa7dd=_0x3389f6[_0x3500dc(0x289)],_0x389626,_0x22e4dc;typeof _0x31c17f==_0x3500dc(0x208)?(_0x389626=Buffer[_0x3500dc(0x270)](_0x31c17f),_0x22e4dc=!0x1):_0x49baca(_0x31c17f)?(_0x389626=_0x31c17f['size'],_0x22e4dc=!0x1):(_0x31c17f=_0x5405bf(_0x31c17f),_0x389626=_0x31c17f[_0x3500dc(0x1e0)],_0x22e4dc=_0x5405bf[_0x3500dc(0x299)]),this[_0x3500dc(0x2ed)]?(this[_0x3500dc(0x2ed)]=!0x1,_0x1aa7dd&&_0x243b1a&&_0x243b1a[_0x3500dc(0x17b)][_0x243b1a[_0x3500dc(0x1c7)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x1aa7dd=_0x389626>=_0x243b1a['_threshold']),this['_compress']=_0x1aa7dd):(_0x1aa7dd=!0x1,_0x430fa7=0x0),_0x3389f6[_0x3500dc(0x186)]&&(this[_0x3500dc(0x2ed)]=!0x0);const _0x1ff1dc={[_0x152f4b]:_0x389626,'fin':_0x3389f6[_0x3500dc(0x186)],'generateMask':this[_0x3500dc(0x162)],'mask':_0x3389f6[_0x3500dc(0x27e)],'maskBuffer':this[_0x3500dc(0x1d5)],'opcode':_0x430fa7,'readOnly':_0x22e4dc,'rsv1':_0x1aa7dd};_0x49baca(_0x31c17f)?this[_0x3500dc(0x1fd)]!==_0x42b7cd?this[_0x3500dc(0x302)]([this[_0x3500dc(0x318)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this[_0x3500dc(0x318)](_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32):this['_state']!==_0x42b7cd?this['enqueue']([this[_0x3500dc(0x2dd)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this['dispatch'](_0x31c17f,this['_compress'],_0x1ff1dc,_0x303e32);}[_0x383784(0x318)](_0x57aadb,_0x2ad62c,_0x170576,_0x1a6935){const _0x3da6c6=_0x383784;this[_0x3da6c6(0x271)]+=_0x170576[_0x152f4b],this[_0x3da6c6(0x1fd)]=_0x4b7595,_0x57aadb[_0x3da6c6(0x230)]()['then'](_0x3449bd=>{const _0xb6f66f=_0x3da6c6;if(this[_0xb6f66f(0x23c)]['destroyed']){const _0x35048c=new Error(_0xb6f66f(0x2f1));process[_0xb6f66f(0x187)](_0x1b0c76,this,_0x35048c,_0x1a6935);return;}this[_0xb6f66f(0x271)]-=_0x170576[_0x152f4b];const _0x3dbf41=_0x5405bf(_0x3449bd);_0x2ad62c?this[_0xb6f66f(0x2dd)](_0x3dbf41,_0x2ad62c,_0x170576,_0x1a6935):(this[_0xb6f66f(0x1fd)]=_0x42b7cd,this['sendFrame'](_0x11f03b[_0xb6f66f(0x17a)](_0x3dbf41,_0x170576),_0x1a6935),this['dequeue']());})[_0x3da6c6(0x308)](_0x3ef7b0=>{const _0x47769e=_0x3da6c6;process[_0x47769e(0x187)](_0x3e08b5,this,_0x3ef7b0,_0x1a6935);});}[_0x383784(0x2dd)](_0x5e915e,_0x39a240,_0xe8896,_0x143aba){const _0x3a1310=_0x383784;if(!_0x39a240){this['sendFrame'](_0x11f03b[_0x3a1310(0x17a)](_0x5e915e,_0xe8896),_0x143aba);return;}const _0x48ef12=this[_0x3a1310(0x206)][_0x2eb2fd[_0x3a1310(0x2ee)]];this[_0x3a1310(0x271)]+=_0xe8896[_0x152f4b],this[_0x3a1310(0x1fd)]=_0x17b6ef,_0x48ef12[_0x3a1310(0x289)](_0x5e915e,_0xe8896[_0x3a1310(0x186)],(_0x729a1d,_0x2263a1)=>{const _0x365008=_0x3a1310;if(this[_0x365008(0x23c)][_0x365008(0x1e1)]){const _0x2436c2=new Error(_0x365008(0x1b4));_0x1b0c76(this,_0x2436c2,_0x143aba);return;}this[_0x365008(0x271)]-=_0xe8896[_0x152f4b],this[_0x365008(0x1fd)]=_0x42b7cd,_0xe8896[_0x365008(0x299)]=!0x1,this[_0x365008(0x2a3)](_0x11f03b[_0x365008(0x17a)](_0x2263a1,_0xe8896),_0x143aba),this[_0x365008(0x190)]();});}[_0x383784(0x190)](){const _0x1a5347=_0x383784;for(;this['_state']===_0x42b7cd&&this[_0x1a5347(0x175)][_0x1a5347(0x1e0)];){const _0x40a752=this['_queue'][_0x1a5347(0x1d8)]();this[_0x1a5347(0x271)]-=_0x40a752[0x3][_0x152f4b],Reflect[_0x1a5347(0x1ee)](_0x40a752[0x0],this,_0x40a752[_0x1a5347(0x1f4)](0x1));}}[_0x383784(0x302)](_0x2e8f35){const _0x30845e=_0x383784;this[_0x30845e(0x271)]+=_0x2e8f35[0x3][_0x152f4b],this[_0x30845e(0x175)][_0x30845e(0x236)](_0x2e8f35);}[_0x383784(0x2a3)](_0x1214d9,_0x93d606){const _0x172431=_0x383784;_0x1214d9[_0x172431(0x1e0)]===0x2?(this[_0x172431(0x23c)]['cork'](),this['_socket'][_0x172431(0x169)](_0x1214d9[0x0]),this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x1],_0x93d606),this[_0x172431(0x23c)][_0x172431(0x2fd)]()):this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x0],_0x93d606);}}Ee=_0x11f03b;function _0x1b0c76(_0x12a6ab,_0x440821,_0x52fea1){const _0x1d8e4b=_0x383784;typeof _0x52fea1=='function'&&_0x52fea1(_0x440821);for(let _0x31bb50=0x0;_0x31bb50<_0x12a6ab[_0x1d8e4b(0x175)][_0x1d8e4b(0x1e0)];_0x31bb50++){const _0x3aa7b6=_0x12a6ab[_0x1d8e4b(0x175)][_0x31bb50],_0x17be6c=_0x3aa7b6[_0x3aa7b6[_0x1d8e4b(0x1e0)]-0x1];typeof _0x17be6c==_0x1d8e4b(0x1a3)&&_0x17be6c(_0x440821);}}function _0x3e08b5(_0x21599c,_0x17823f,_0x1f1f1d){const _0x5efee1=_0x383784;_0x1b0c76(_0x21599c,_0x17823f,_0x1f1f1d),_0x21599c[_0x5efee1(0x2d9)](_0x17823f);}return Ee;}var xe,Ze;function It(){const _0x2cdd06=_0xc18ba;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x381a30,kListener:_0x45144e}=H(),_0x52890d=Symbol(_0x2cdd06(0x261)),_0x770f41=Symbol(_0x2cdd06(0x228)),_0x2a421a=Symbol(_0x2cdd06(0x280)),_0x17d04a=Symbol(_0x2cdd06(0x25d)),_0x548f8d=Symbol(_0x2cdd06(0x174)),_0x5166ea=Symbol(_0x2cdd06(0x2b5)),_0x2f5a2d=Symbol('kType'),_0x1beabb=Symbol(_0x2cdd06(0x1f9));class _0x3a173b{constructor(_0x12e38d){this[_0x5166ea]=null,this[_0x2f5a2d]=_0x12e38d;}get[_0x2cdd06(0x23f)](){return this[_0x5166ea];}get[_0x2cdd06(0x1db)](){return this[_0x2f5a2d];}}Object[_0x2cdd06(0x2db)](_0x3a173b['prototype'],_0x2cdd06(0x23f),{'enumerable':!0x0}),Object['defineProperty'](_0x3a173b[_0x2cdd06(0x221)],_0x2cdd06(0x1db),{'enumerable':!0x0});class _0x17c9eb extends _0x3a173b{constructor(_0x250ac4,_0x418b0a={}){const _0x1a9400=_0x2cdd06;super(_0x250ac4),this[_0x52890d]=_0x418b0a['code']===void 0x0?0x0:_0x418b0a[_0x1a9400(0x305)],this[_0x548f8d]=_0x418b0a[_0x1a9400(0x31f)]===void 0x0?'':_0x418b0a[_0x1a9400(0x31f)],this[_0x1beabb]=_0x418b0a[_0x1a9400(0x2fc)]===void 0x0?!0x1:_0x418b0a[_0x1a9400(0x2fc)];}get['code'](){return this[_0x52890d];}get[_0x2cdd06(0x31f)](){return this[_0x548f8d];}get[_0x2cdd06(0x2fc)](){return this[_0x1beabb];}}Object[_0x2cdd06(0x2db)](_0x17c9eb['prototype'],_0x2cdd06(0x305),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],_0x2cdd06(0x31f),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],'wasClean',{'enumerable':!0x0});class _0x13cea2 extends _0x3a173b{constructor(_0x1a7a35,_0x3ddb07={}){const _0x340cd7=_0x2cdd06;super(_0x1a7a35),this[_0x2a421a]=_0x3ddb07[_0x340cd7(0x1a1)]===void 0x0?null:_0x3ddb07[_0x340cd7(0x1a1)],this[_0x17d04a]=_0x3ddb07[_0x340cd7(0x237)]===void 0x0?'':_0x3ddb07['message'];}get['error'](){return this[_0x2a421a];}get[_0x2cdd06(0x237)](){return this[_0x17d04a];}}Object['defineProperty'](_0x13cea2[_0x2cdd06(0x221)],'error',{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x13cea2['prototype'],_0x2cdd06(0x237),{'enumerable':!0x0});class _0x21b0b4 extends _0x3a173b{constructor(_0x417311,_0x1506c6={}){const _0x166808=_0x2cdd06;super(_0x417311),this[_0x770f41]=_0x1506c6[_0x166808(0x1c4)]===void 0x0?null:_0x1506c6[_0x166808(0x1c4)];}get['data'](){return this[_0x770f41];}}Object[_0x2cdd06(0x2db)](_0x21b0b4['prototype'],_0x2cdd06(0x1c4),{'enumerable':!0x0}),xe={'CloseEvent':_0x17c9eb,'ErrorEvent':_0x13cea2,'Event':_0x3a173b,'EventTarget':{'addEventListener'(_0x5e4d32,_0x5853df,_0x47270b={}){const _0x42d060=_0x2cdd06;for(const _0x31a9e3 of this[_0x42d060(0x218)](_0x5e4d32))if(!_0x47270b[_0x381a30]&&_0x31a9e3[_0x45144e]===_0x5853df&&!_0x31a9e3[_0x381a30])return;let _0x2c1e0d;if(_0x5e4d32===_0x42d060(0x237))_0x2c1e0d=function(_0x43e4c9,_0x5ba74f){const _0xec0123=_0x42d060,_0x3deb89=new _0x21b0b4('message',{'data':_0x5ba74f?_0x43e4c9:_0x43e4c9[_0xec0123(0x26d)]()});_0x3deb89[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x3deb89);};else{if(_0x5e4d32===_0x42d060(0x1e2))_0x2c1e0d=function(_0x4d495a,_0xe2b732){const _0x5b3986=_0x42d060,_0xc1a61c=new _0x17c9eb(_0x5b3986(0x1e2),{'code':_0x4d495a,'reason':_0xe2b732[_0x5b3986(0x26d)](),'wasClean':this['_closeFrameReceived']&&this[_0x5b3986(0x171)]});_0xc1a61c[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0xc1a61c);};else{if(_0x5e4d32===_0x42d060(0x1a1))_0x2c1e0d=function(_0x1d8c00){const _0x33f90a=_0x42d060,_0x5bd563=new _0x13cea2(_0x33f90a(0x1a1),{'error':_0x1d8c00,'message':_0x1d8c00[_0x33f90a(0x237)]});_0x5bd563[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x5bd563);};else{if(_0x5e4d32===_0x42d060(0x2f7))_0x2c1e0d=function(){const _0x1b300f=new _0x3a173b('open');_0x1b300f[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x1b300f);};else return;}}}_0x2c1e0d[_0x381a30]=!!_0x47270b[_0x381a30],_0x2c1e0d[_0x45144e]=_0x5853df,_0x47270b[_0x42d060(0x18a)]?this[_0x42d060(0x18a)](_0x5e4d32,_0x2c1e0d):this['on'](_0x5e4d32,_0x2c1e0d);},'removeEventListener'(_0x24f680,_0x5ec1b3){const _0x4469c9=_0x2cdd06;for(const _0x3a9d94 of this['listeners'](_0x24f680))if(_0x3a9d94[_0x45144e]===_0x5ec1b3&&!_0x3a9d94[_0x381a30]){this[_0x4469c9(0x321)](_0x24f680,_0x3a9d94);break;}}},'MessageEvent':_0x21b0b4};function _0x588d99(_0x94b569,_0x5cbc5a,_0x408cbd){const _0x1325dc=_0x2cdd06;typeof _0x94b569==_0x1325dc(0x229)&&_0x94b569['handleEvent']?_0x94b569[_0x1325dc(0x202)]['call'](_0x94b569,_0x408cbd):_0x94b569[_0x1325dc(0x19e)](_0x5cbc5a,_0x408cbd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x206eae}=ae();function _0x3e55b4(_0x5307ff,_0x1772c4,_0x39789a){const _0x38fc75=_0x58f7;_0x5307ff[_0x1772c4]===void 0x0?_0x5307ff[_0x1772c4]=[_0x39789a]:_0x5307ff[_0x1772c4][_0x38fc75(0x236)](_0x39789a);}function _0x160cc4(_0x5a47df){const _0x237b60=_0x58f7,_0x7b62ea=Object[_0x237b60(0x198)](null);let _0xc80609=Object['create'](null),_0x511c13=!0x1,_0x505bbe=!0x1,_0x22f937=!0x1,_0xe5242a,_0x2e90d8,_0x2eafec=-0x1,_0x141a74=-0x1,_0x658cee=-0x1,_0x5357a4=0x0;for(;_0x5357a4<_0x5a47df[_0x237b60(0x1e0)];_0x5357a4++)if(_0x141a74=_0x5a47df[_0x237b60(0x1a7)](_0x5357a4),_0xe5242a===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x5357a4!==0x0&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x58c4e4=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x141a74===0x2c?(_0x3e55b4(_0x7b62ea,_0x58c4e4,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null)):_0xe5242a=_0x58c4e4,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}else{if(_0x2e90d8===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x20||_0x141a74===0x9)_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4),_0x3e55b4(_0xc80609,_0x5a47df['slice'](_0x2eafec,_0x658cee),!0x0),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null),_0xe5242a=void 0x0),_0x2eafec=_0x658cee=-0x1;}else{if(_0x141a74===0x3d&&_0x2eafec!==-0x1&&_0x658cee===-0x1)_0x2e90d8=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x5357a4),_0x2eafec=_0x658cee=-0x1;else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}else{if(_0x505bbe){if(_0x206eae[_0x141a74]!==0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x2eafec===-0x1?_0x2eafec=_0x5357a4:_0x511c13||(_0x511c13=!0x0),_0x505bbe=!0x1;}else{if(_0x22f937){if(_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x22&&_0x2eafec!==-0x1)_0x22f937=!0x1,_0x658cee=_0x5357a4;else{if(_0x141a74===0x5c)_0x505bbe=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5357a4);}}}else{if(_0x141a74===0x22&&_0x5a47df[_0x237b60(0x1a7)](_0x5357a4-0x1)===0x3d)_0x22f937=!0x0;else{if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x2eafec!==-0x1&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);let _0x4f7e9b=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x511c13&&(_0x4f7e9b=_0x4f7e9b['replace'](/\\/g,''),_0x511c13=!0x1),_0x3e55b4(_0xc80609,_0x2e90d8,_0x4f7e9b),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object['create'](null),_0xe5242a=void 0x0),_0x2e90d8=void 0x0,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}}}}if(_0x2eafec===-0x1||_0x22f937||_0x141a74===0x20||_0x141a74===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x38a237=_0x5a47df['slice'](_0x2eafec,_0x658cee);return _0xe5242a===void 0x0?_0x3e55b4(_0x7b62ea,_0x38a237,_0xc80609):(_0x2e90d8===void 0x0?_0x3e55b4(_0xc80609,_0x38a237,!0x0):_0x511c13?_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237[_0x237b60(0x2e2)](/\\/g,'')):_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237),_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609)),_0x7b62ea;}function _0x5f52a7(_0x3e8d19){const _0x48ab9c=_0x58f7;return Object[_0x48ab9c(0x294)](_0x3e8d19)['map'](_0x5117e3=>{const _0x595ff9=_0x48ab9c;let _0x37e24a=_0x3e8d19[_0x5117e3];return Array[_0x595ff9(0x2a4)](_0x37e24a)||(_0x37e24a=[_0x37e24a]),_0x37e24a[_0x595ff9(0x29a)](_0x373a93=>[_0x5117e3][_0x595ff9(0x27b)](Object[_0x595ff9(0x294)](_0x373a93)[_0x595ff9(0x29a)](_0x4d2e28=>{const _0x411d24=_0x595ff9;let _0x57e7f7=_0x373a93[_0x4d2e28];return Array[_0x411d24(0x2a4)](_0x57e7f7)||(_0x57e7f7=[_0x57e7f7]),_0x57e7f7[_0x411d24(0x29a)](_0x560ee3=>_0x560ee3===!0x0?_0x4d2e28:_0x4d2e28+'='+_0x560ee3)[_0x411d24(0x1ef)](';\x20');}))[_0x595ff9(0x1ef)](';\x20'))['join'](',\x20');})[_0x48ab9c(0x1ef)](',\x20');}return be={'format':_0x5f52a7,'parse':_0x160cc4},be;}function _0x58f7(_0xa48e0,_0x481619){const _0x3940c9=_0x3940();return _0x58f7=function(_0x58f7dd,_0x5aef72){_0x58f7dd=_0x58f7dd-0x15a;let _0x2fe17f=_0x3940c9[_0x58f7dd];return _0x2fe17f;},_0x58f7(_0xa48e0,_0x481619);}var we,Je;function Pe(){const _0x5b95d2=_0xc18ba;if(Je)return we;Je=0x1;const _0x2a7d45=nt,_0x2b348e=vt,_0x5a6cf1=ot,_0x53127b=St,_0x3a1ef1=Et,{randomBytes:_0xe3238e,createHash:_0x3d8350}=Le,{Duplex:_0xcf72d5,Readable:_0x50e9c7}=oe,{URL:_0x51d269}=xt,_0x524d1d=he(),_0x49b7ac=lt(),_0x46709b=ft(),{isBlob:_0x56d93d}=ae(),{BINARY_TYPES:_0x26529b,EMPTY_BUFFER:_0x7c1c0a,GUID:_0x422dab,kForOnEventAttribute:_0x36c372,kListener:_0x4945db,kStatusCode:_0x2f619a,kWebSocket:_0x440d00,NOOP:_0x5ee84d}=H(),{EventTarget:{addEventListener:_0x31393d,removeEventListener:_0xfd42f1}}=It(),{format:_0x4f6ab1,parse:_0xa80d9}=ct(),{toBuffer:_0x306f90}=ce(),_0x217d64=0x1e*0x3e8,_0x461d70=Symbol(_0x5b95d2(0x319)),_0x1e3e0b=[0x8,0xd],_0x41173c=[_0x5b95d2(0x284),_0x5b95d2(0x28c),_0x5b95d2(0x2b8),'CLOSED'],_0x59bebe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f29d1 extends _0x2a7d45{constructor(_0x368a3f,_0x4faab5,_0x556213){const _0x39ee9f=_0x5b95d2;super(),this[_0x39ee9f(0x2f3)]=_0x26529b[0x0],this[_0x39ee9f(0x224)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x39ee9f(0x171)]=!0x1,this[_0x39ee9f(0x291)]=_0x7c1c0a,this[_0x39ee9f(0x207)]=null,this[_0x39ee9f(0x189)]=!0x1,this[_0x39ee9f(0x206)]={},this[_0x39ee9f(0x2c3)]=!0x1,this[_0x39ee9f(0x31d)]='',this[_0x39ee9f(0x27a)]=_0x1f29d1['CONNECTING'],this['_receiver']=null,this[_0x39ee9f(0x17e)]=null,this[_0x39ee9f(0x23c)]=null,_0x368a3f!==null?(this[_0x39ee9f(0x243)]=0x0,this['_isServer']=!0x1,this[_0x39ee9f(0x24e)]=0x0,_0x4faab5===void 0x0?_0x4faab5=[]:Array[_0x39ee9f(0x2a4)](_0x4faab5)||(typeof _0x4faab5==_0x39ee9f(0x229)&&_0x4faab5!==null?(_0x556213=_0x4faab5,_0x4faab5=[]):_0x4faab5=[_0x4faab5]),_0x129472(this,_0x368a3f,_0x4faab5,_0x556213)):(this[_0x39ee9f(0x2aa)]=_0x556213[_0x39ee9f(0x1a6)],this[_0x39ee9f(0x1c7)]=!0x0);}get[_0x5b95d2(0x2ba)](){const _0x166b2e=_0x5b95d2;return this[_0x166b2e(0x2f3)];}set[_0x5b95d2(0x2ba)](_0x1fe0ab){const _0x3b983c=_0x5b95d2;_0x26529b[_0x3b983c(0x1df)](_0x1fe0ab)&&(this[_0x3b983c(0x2f3)]=_0x1fe0ab,this[_0x3b983c(0x286)]&&(this[_0x3b983c(0x286)][_0x3b983c(0x2f3)]=_0x1fe0ab));}get[_0x5b95d2(0x195)](){const _0x1a0239=_0x5b95d2;return this[_0x1a0239(0x23c)]?this[_0x1a0239(0x23c)][_0x1a0239(0x268)][_0x1a0239(0x1e0)]+this[_0x1a0239(0x17e)][_0x1a0239(0x271)]:this[_0x1a0239(0x243)];}get[_0x5b95d2(0x1cc)](){const _0x25915e=_0x5b95d2;return Object['keys'](this['_extensions'])[_0x25915e(0x1ef)]();}get[_0x5b95d2(0x2af)](){const _0x1cbfed=_0x5b95d2;return this[_0x1cbfed(0x2c3)];}get[_0x5b95d2(0x18f)](){return null;}get[_0x5b95d2(0x2d9)](){return null;}get[_0x5b95d2(0x1ba)](){return null;}get[_0x5b95d2(0x1aa)](){return null;}get[_0x5b95d2(0x320)](){const _0x499ec5=_0x5b95d2;return this[_0x499ec5(0x31d)];}get['readyState'](){const _0x2ee774=_0x5b95d2;return this[_0x2ee774(0x27a)];}get['url'](){const _0x402928=_0x5b95d2;return this[_0x402928(0x30a)];}[_0x5b95d2(0x161)](_0x32f94b,_0x55d9e1,_0x343a5a){const _0x22e7e1=_0x5b95d2,_0x1f6d74=new _0x49b7ac({'allowSynchronousEvents':_0x343a5a['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x22e7e1(0x206)],'isServer':this[_0x22e7e1(0x1c7)],'maxPayload':_0x343a5a[_0x22e7e1(0x2d7)],'skipUTF8Validation':_0x343a5a[_0x22e7e1(0x21c)]}),_0x60a5dd=new _0x46709b(_0x32f94b,this[_0x22e7e1(0x206)],_0x343a5a['generateMask']);this['_receiver']=_0x1f6d74,this[_0x22e7e1(0x17e)]=_0x60a5dd,this[_0x22e7e1(0x23c)]=_0x32f94b,_0x1f6d74[_0x440d00]=this,_0x60a5dd[_0x440d00]=this,_0x32f94b[_0x440d00]=this,_0x1f6d74['on'](_0x22e7e1(0x2cf),_0x45040d),_0x1f6d74['on'](_0x22e7e1(0x316),_0x5e3036),_0x1f6d74['on'](_0x22e7e1(0x1a1),_0x2a1e52),_0x1f6d74['on'](_0x22e7e1(0x237),_0x24e9c4),_0x1f6d74['on'](_0x22e7e1(0x2be),_0x446b87),_0x1f6d74['on'](_0x22e7e1(0x2ff),_0x40ae4a),_0x60a5dd[_0x22e7e1(0x2d9)]=_0x3ec6e4,_0x32f94b['setTimeout']&&_0x32f94b[_0x22e7e1(0x300)](0x0),_0x32f94b[_0x22e7e1(0x1d2)]&&_0x32f94b[_0x22e7e1(0x1d2)](),_0x55d9e1[_0x22e7e1(0x1e0)]>0x0&&_0x32f94b[_0x22e7e1(0x191)](_0x55d9e1),_0x32f94b['on'](_0x22e7e1(0x1e2),_0x42c9d3),_0x32f94b['on']('data',_0x29869f),_0x32f94b['on']('end',_0x113807),_0x32f94b['on']('error',_0x4061f8),this[_0x22e7e1(0x27a)]=_0x1f29d1[_0x22e7e1(0x28c)],this['emit']('open');}['emitClose'](){const _0x4336bd=_0x5b95d2;if(!this[_0x4336bd(0x23c)]){this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this['_closeMessage']);return;}this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]]&&this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]][_0x4336bd(0x1b0)](),this[_0x4336bd(0x286)][_0x4336bd(0x203)](),this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this[_0x4336bd(0x291)]);}[_0x5b95d2(0x1e2)](_0x321c00,_0x958d9f){const _0x3eb4c4=_0x5b95d2;if(this[_0x3eb4c4(0x1b3)]!==_0x1f29d1[_0x3eb4c4(0x1b5)]){if(this['readyState']===_0x1f29d1[_0x3eb4c4(0x284)]){_0x1b4cb7(this,this[_0x3eb4c4(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3eb4c4(0x1b3)]===_0x1f29d1[_0x3eb4c4(0x2b8)]){this['_closeFrameSent']&&(this[_0x3eb4c4(0x15a)]||this['_receiver'][_0x3eb4c4(0x268)]['errorEmitted'])&&this[_0x3eb4c4(0x23c)][_0x3eb4c4(0x209)]();return;}this[_0x3eb4c4(0x27a)]=_0x1f29d1[_0x3eb4c4(0x2b8)],this[_0x3eb4c4(0x17e)][_0x3eb4c4(0x1e2)](_0x321c00,_0x958d9f,!this[_0x3eb4c4(0x1c7)],_0x1616a3=>{const _0x1430e5=_0x3eb4c4;_0x1616a3||(this['_closeFrameSent']=!0x0,(this[_0x1430e5(0x15a)]||this[_0x1430e5(0x286)][_0x1430e5(0x268)][_0x1430e5(0x288)])&&this[_0x1430e5(0x23c)][_0x1430e5(0x209)]());}),_0x5511c9(this);}}['pause'](){const _0x3c6362=_0x5b95d2;this['readyState']===_0x1f29d1['CONNECTING']||this[_0x3c6362(0x1b3)]===_0x1f29d1[_0x3c6362(0x1b5)]||(this[_0x3c6362(0x2c3)]=!0x0,this[_0x3c6362(0x23c)][_0x3c6362(0x164)]());}['ping'](_0x5caa0a,_0x886e20,_0x395724){const _0x2187e8=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x2187e8(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5caa0a==_0x2187e8(0x1a3)?(_0x395724=_0x5caa0a,_0x5caa0a=_0x886e20=void 0x0):typeof _0x886e20==_0x2187e8(0x1a3)&&(_0x395724=_0x886e20,_0x886e20=void 0x0),typeof _0x5caa0a==_0x2187e8(0x26e)&&(_0x5caa0a=_0x5caa0a['toString']()),this[_0x2187e8(0x1b3)]!==_0x1f29d1[_0x2187e8(0x28c)]){_0x358979(this,_0x5caa0a,_0x395724);return;}_0x886e20===void 0x0&&(_0x886e20=!this[_0x2187e8(0x1c7)]),this[_0x2187e8(0x17e)]['ping'](_0x5caa0a||_0x7c1c0a,_0x886e20,_0x395724);}[_0x5b95d2(0x2ff)](_0x387f7b,_0x11735a,_0x202a69){const _0x15359c=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x15359c(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x387f7b==_0x15359c(0x1a3)?(_0x202a69=_0x387f7b,_0x387f7b=_0x11735a=void 0x0):typeof _0x11735a==_0x15359c(0x1a3)&&(_0x202a69=_0x11735a,_0x11735a=void 0x0),typeof _0x387f7b==_0x15359c(0x26e)&&(_0x387f7b=_0x387f7b[_0x15359c(0x26d)]()),this['readyState']!==_0x1f29d1[_0x15359c(0x28c)]){_0x358979(this,_0x387f7b,_0x202a69);return;}_0x11735a===void 0x0&&(_0x11735a=!this[_0x15359c(0x1c7)]),this[_0x15359c(0x17e)][_0x15359c(0x2ff)](_0x387f7b||_0x7c1c0a,_0x11735a,_0x202a69);}[_0x5b95d2(0x179)](){const _0x1b098a=_0x5b95d2;this[_0x1b098a(0x1b3)]===_0x1f29d1['CONNECTING']||this[_0x1b098a(0x1b3)]===_0x1f29d1['CLOSED']||(this[_0x1b098a(0x2c3)]=!0x1,this['_receiver'][_0x1b098a(0x268)][_0x1b098a(0x2d2)]||this['_socket'][_0x1b098a(0x179)]());}[_0x5b95d2(0x182)](_0x578856,_0x56e2d8,_0x38009c){const _0x2321ce=_0x5b95d2;if(this[_0x2321ce(0x1b3)]===_0x1f29d1[_0x2321ce(0x284)])throw new Error(_0x2321ce(0x29f));if(typeof _0x56e2d8==_0x2321ce(0x1a3)&&(_0x38009c=_0x56e2d8,_0x56e2d8={}),typeof _0x578856==_0x2321ce(0x26e)&&(_0x578856=_0x578856[_0x2321ce(0x26d)]()),this[_0x2321ce(0x1b3)]!==_0x1f29d1[_0x2321ce(0x28c)]){_0x358979(this,_0x578856,_0x38009c);return;}const _0x4eda79={'binary':typeof _0x578856!=_0x2321ce(0x208),'mask':!this[_0x2321ce(0x1c7)],'compress':!0x0,'fin':!0x0,..._0x56e2d8};this['_extensions'][_0x524d1d[_0x2321ce(0x2ee)]]||(_0x4eda79['compress']=!0x1),this[_0x2321ce(0x17e)][_0x2321ce(0x182)](_0x578856||_0x7c1c0a,_0x4eda79,_0x38009c);}[_0x5b95d2(0x24c)](){const _0x4febab=_0x5b95d2;if(this['readyState']!==_0x1f29d1[_0x4febab(0x1b5)]){if(this[_0x4febab(0x1b3)]===_0x1f29d1[_0x4febab(0x284)]){_0x1b4cb7(this,this[_0x4febab(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4febab(0x23c)]&&(this[_0x4febab(0x27a)]=_0x1f29d1[_0x4febab(0x2b8)],this[_0x4febab(0x23c)]['destroy']());}}}Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x2b8),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],'CLOSING',{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x1b5))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c['indexOf'](_0x5b95d2(0x1b5))}),[_0x5b95d2(0x2ba),_0x5b95d2(0x195),_0x5b95d2(0x1cc),_0x5b95d2(0x2af),_0x5b95d2(0x320),_0x5b95d2(0x1b3),_0x5b95d2(0x260)]['forEach'](_0x788382=>{Object['defineProperty'](_0x1f29d1['prototype'],_0x788382,{'enumerable':!0x0});}),[_0x5b95d2(0x2f7),_0x5b95d2(0x1a1),_0x5b95d2(0x1e2),'message']['forEach'](_0x43368f=>{const _0x1c21a3=_0x5b95d2;Object[_0x1c21a3(0x2db)](_0x1f29d1['prototype'],'on'+_0x43368f,{'enumerable':!0x0,'get'(){const _0x32223b=_0x1c21a3;for(const _0x4359b8 of this[_0x32223b(0x218)](_0x43368f))if(_0x4359b8[_0x36c372])return _0x4359b8[_0x4945db];return null;},'set'(_0x12bd17){const _0x4f49b5=_0x1c21a3;for(const _0x1da04d of this[_0x4f49b5(0x218)](_0x43368f))if(_0x1da04d[_0x36c372]){this[_0x4f49b5(0x321)](_0x43368f,_0x1da04d);break;}typeof _0x12bd17==_0x4f49b5(0x1a3)&&this[_0x4f49b5(0x1c1)](_0x43368f,_0x12bd17,{[_0x36c372]:!0x0});}});}),_0x1f29d1['prototype'][_0x5b95d2(0x1c1)]=_0x31393d,_0x1f29d1['prototype'][_0x5b95d2(0x215)]=_0xfd42f1,we=_0x1f29d1;function _0x129472(_0x50e4da,_0x3b166d,_0x1966f1,_0x39549b){const _0x1845ea=_0x5b95d2,_0x49572c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1e3e0b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39549b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1845ea(0x19b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x50e4da['_autoPong']=_0x49572c['autoPong'],!_0x1e3e0b[_0x1845ea(0x1df)](_0x49572c['protocolVersion']))throw new RangeError(_0x1845ea(0x15e)+_0x49572c['protocolVersion']+_0x1845ea(0x254)+_0x1e3e0b[_0x1845ea(0x1ef)](',\x20')+')');let _0x453a40;if(_0x3b166d instanceof _0x51d269)_0x453a40=_0x3b166d;else try{_0x453a40=new _0x51d269(_0x3b166d);}catch{throw new SyntaxError(_0x1845ea(0x20b)+_0x3b166d);}_0x453a40['protocol']===_0x1845ea(0x16e)?_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x247):_0x453a40[_0x1845ea(0x320)]===_0x1845ea(0x31a)&&(_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x20e)),_0x50e4da['_url']=_0x453a40[_0x1845ea(0x1a8)];const _0x3ecea6=_0x453a40[_0x1845ea(0x320)]==='wss:',_0xc02772=_0x453a40['protocol']===_0x1845ea(0x21e);let _0x27e78d;if(_0x453a40[_0x1845ea(0x320)]!=='ws:'&&!_0x3ecea6&&!_0xc02772?_0x27e78d=_0x1845ea(0x22d):_0xc02772&&!_0x453a40['pathname']?_0x27e78d=_0x1845ea(0x1c3):_0x453a40['hash']&&(_0x27e78d=_0x1845ea(0x1af)),_0x27e78d){const _0xd3aa8b=new SyntaxError(_0x27e78d);if(_0x50e4da['_redirects']===0x0)throw _0xd3aa8b;_0x455872(_0x50e4da,_0xd3aa8b);return;}const _0x11204c=_0x3ecea6?0x1bb:0x50,_0x3d2bcb=_0xe3238e(0x10)[_0x1845ea(0x26d)]('base64'),_0x2e33a6=_0x3ecea6?_0x2b348e[_0x1845ea(0x274)]:_0x5a6cf1[_0x1845ea(0x274)],_0x2d5493=new Set();let _0x1e9e00;if(_0x49572c[_0x1845ea(0x2ae)]=_0x49572c[_0x1845ea(0x2ae)]||(_0x3ecea6?_0x321a7e:_0x3d597b),_0x49572c[_0x1845ea(0x223)]=_0x49572c[_0x1845ea(0x223)]||_0x11204c,_0x49572c[_0x1845ea(0x297)]=_0x453a40['port']||_0x11204c,_0x49572c[_0x1845ea(0x19d)]=_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x15b)]('[')?_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x1f4)](0x1,-0x1):_0x453a40['hostname'],_0x49572c[_0x1845ea(0x2de)]={..._0x49572c[_0x1845ea(0x2de)],'Sec-WebSocket-Version':_0x49572c[_0x1845ea(0x211)],'Sec-WebSocket-Key':_0x3d2bcb,'Connection':_0x1845ea(0x233),'Upgrade':_0x1845ea(0x1b1)},_0x49572c['path']=_0x453a40['pathname']+_0x453a40[_0x1845ea(0x1c9)],_0x49572c[_0x1845ea(0x22a)]=_0x49572c[_0x1845ea(0x303)],_0x49572c['perMessageDeflate']&&(_0x1e9e00=new _0x524d1d(_0x49572c[_0x1845ea(0x31b)]!==!0x0?_0x49572c[_0x1845ea(0x31b)]:{},!0x1,_0x49572c['maxPayload']),_0x49572c[_0x1845ea(0x2de)]['Sec-WebSocket-Extensions']=_0x4f6ab1({[_0x524d1d[_0x1845ea(0x2ee)]]:_0x1e9e00[_0x1845ea(0x16b)]()})),_0x1966f1[_0x1845ea(0x1e0)]){for(const _0x766412 of _0x1966f1){if(typeof _0x766412!=_0x1845ea(0x208)||!_0x59bebe[_0x1845ea(0x1e7)](_0x766412)||_0x2d5493[_0x1845ea(0x30c)](_0x766412))throw new SyntaxError(_0x1845ea(0x2b4));_0x2d5493[_0x1845ea(0x18c)](_0x766412);}_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x19a)]=_0x1966f1['join'](',');}if(_0x49572c['origin']&&(_0x49572c[_0x1845ea(0x211)]<0xd?_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x1a2)]=_0x49572c['origin']:_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x251)]=_0x49572c['origin']),(_0x453a40[_0x1845ea(0x29b)]||_0x453a40[_0x1845ea(0x15f)])&&(_0x49572c[_0x1845ea(0x184)]=_0x453a40[_0x1845ea(0x29b)]+':'+_0x453a40['password']),_0xc02772){const _0x31068f=_0x49572c[_0x1845ea(0x25c)][_0x1845ea(0x1d3)](':');_0x49572c['socketPath']=_0x31068f[0x0],_0x49572c[_0x1845ea(0x25c)]=_0x31068f[0x1];}let _0x372764;if(_0x49572c[_0x1845ea(0x266)]){if(_0x50e4da['_redirects']===0x0){_0x50e4da['_originalIpc']=_0xc02772,_0x50e4da[_0x1845ea(0x1a9)]=_0x3ecea6,_0x50e4da[_0x1845ea(0x2c0)]=_0xc02772?_0x49572c[_0x1845ea(0x298)]:_0x453a40[_0x1845ea(0x19d)];const _0x1e53a0=_0x39549b&&_0x39549b['headers'];if(_0x39549b={..._0x39549b,'headers':{}},_0x1e53a0){for(const [_0x5d0934,_0x3fd529]of Object[_0x1845ea(0x276)](_0x1e53a0))_0x39549b[_0x1845ea(0x2de)][_0x5d0934[_0x1845ea(0x2e3)]()]=_0x3fd529;}}else{if(_0x50e4da[_0x1845ea(0x2a6)](_0x1845ea(0x272))===0x0){const _0x5bd057=_0xc02772?_0x50e4da[_0x1845ea(0x2ca)]?_0x49572c[_0x1845ea(0x298)]===_0x50e4da[_0x1845ea(0x2c0)]:!0x1:_0x50e4da[_0x1845ea(0x2ca)]?!0x1:_0x453a40[_0x1845ea(0x19d)]===_0x50e4da['_originalHostOrSocketPath'];(!_0x5bd057||_0x50e4da[_0x1845ea(0x1a9)]&&!_0x3ecea6)&&(delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x304)],delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x275)],_0x5bd057||delete _0x49572c[_0x1845ea(0x2de)]['host'],_0x49572c[_0x1845ea(0x184)]=void 0x0);}}_0x49572c['auth']&&!_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]&&(_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]=_0x1845ea(0x267)+Buffer[_0x1845ea(0x185)](_0x49572c[_0x1845ea(0x184)])['toString'](_0x1845ea(0x281))),_0x372764=_0x50e4da['_req']=_0x2e33a6(_0x49572c),_0x50e4da[_0x1845ea(0x24e)]&&_0x50e4da['emit']('redirect',_0x50e4da[_0x1845ea(0x260)],_0x372764);}else _0x372764=_0x50e4da[_0x1845ea(0x2ac)]=_0x2e33a6(_0x49572c);_0x49572c[_0x1845ea(0x22a)]&&_0x372764['on'](_0x1845ea(0x22a),()=>{const _0x42ecbd=_0x1845ea;_0x1b4cb7(_0x50e4da,_0x372764,_0x42ecbd(0x18b));}),_0x372764['on'](_0x1845ea(0x1a1),_0x1d1665=>{const _0x3e4a76=_0x1845ea;_0x372764===null||_0x372764[_0x461d70]||(_0x372764=_0x50e4da[_0x3e4a76(0x2ac)]=null,_0x455872(_0x50e4da,_0x1d1665));}),_0x372764['on'](_0x1845ea(0x1c6),_0x1ec9bf=>{const _0x45c1e7=_0x1845ea,_0x591feb=_0x1ec9bf[_0x45c1e7(0x2de)][_0x45c1e7(0x178)],_0x3cbe13=_0x1ec9bf['statusCode'];if(_0x591feb&&_0x49572c[_0x45c1e7(0x266)]&&_0x3cbe13>=0x12c&&_0x3cbe13<0x190){if(++_0x50e4da[_0x45c1e7(0x24e)]>_0x49572c['maxRedirects']){_0x1b4cb7(_0x50e4da,_0x372764,'Maximum\x20redirects\x20exceeded');return;}_0x372764[_0x45c1e7(0x28e)]();let _0x743e84;try{_0x743e84=new _0x51d269(_0x591feb,_0x3b166d);}catch{const _0x273939=new SyntaxError(_0x45c1e7(0x20b)+_0x591feb);_0x455872(_0x50e4da,_0x273939);return;}_0x129472(_0x50e4da,_0x743e84,_0x1966f1,_0x39549b);}else _0x50e4da[_0x45c1e7(0x1c2)](_0x45c1e7(0x1d1),_0x372764,_0x1ec9bf)||_0x1b4cb7(_0x50e4da,_0x372764,_0x45c1e7(0x1b2)+_0x1ec9bf['statusCode']);}),_0x372764['on'](_0x1845ea(0x252),(_0x17f241,_0x21a4e3,_0x79fc24)=>{const _0x226102=_0x1845ea;if(_0x50e4da['emit'](_0x226102(0x252),_0x17f241),_0x50e4da[_0x226102(0x1b3)]!==_0x1f29d1[_0x226102(0x284)])return;_0x372764=_0x50e4da[_0x226102(0x2ac)]=null;const _0x4705a9=_0x17f241[_0x226102(0x2de)][_0x226102(0x252)];if(_0x4705a9===void 0x0||_0x4705a9[_0x226102(0x2e3)]()!=='websocket'){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x26b));return;}const _0x2e7336=_0x3d8350('sha1')[_0x226102(0x246)](_0x3d2bcb+_0x422dab)[_0x226102(0x167)](_0x226102(0x281));if(_0x17f241[_0x226102(0x2de)][_0x226102(0x1e3)]!==_0x2e7336){_0x1b4cb7(_0x50e4da,_0x21a4e3,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xfb21b4=_0x17f241[_0x226102(0x2de)][_0x226102(0x2d0)];let _0x233066;if(_0xfb21b4!==void 0x0?_0x2d5493[_0x226102(0x176)]?_0x2d5493[_0x226102(0x30c)](_0xfb21b4)||(_0x233066=_0x226102(0x216)):_0x233066='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2d5493['size']&&(_0x233066='Server\x20sent\x20no\x20subprotocol'),_0x233066){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x233066);return;}_0xfb21b4&&(_0x50e4da['_protocol']=_0xfb21b4);const _0x4bdc61=_0x17f241[_0x226102(0x2de)][_0x226102(0x17c)];if(_0x4bdc61!==void 0x0){if(!_0x1e9e00){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x165));return;}let _0x9dd853;try{_0x9dd853=_0xa80d9(_0x4bdc61);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}const _0x4b6d0e=Object['keys'](_0x9dd853);if(_0x4b6d0e[_0x226102(0x1e0)]!==0x1||_0x4b6d0e[0x0]!==_0x524d1d['extensionName']){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2f2));return;}try{_0x1e9e00[_0x226102(0x1e8)](_0x9dd853[_0x524d1d[_0x226102(0x2ee)]]);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}_0x50e4da[_0x226102(0x206)][_0x524d1d[_0x226102(0x2ee)]]=_0x1e9e00;}_0x50e4da[_0x226102(0x161)](_0x21a4e3,_0x79fc24,{'allowSynchronousEvents':_0x49572c['allowSynchronousEvents'],'generateMask':_0x49572c[_0x226102(0x1ff)],'maxPayload':_0x49572c['maxPayload'],'skipUTF8Validation':_0x49572c[_0x226102(0x21c)]});}),_0x49572c['finishRequest']?_0x49572c[_0x1845ea(0x201)](_0x372764,_0x50e4da):_0x372764['end']();}function _0x455872(_0x521bbd,_0x4252b4){const _0x42a15f=_0x5b95d2;_0x521bbd[_0x42a15f(0x27a)]=_0x1f29d1[_0x42a15f(0x2b8)],_0x521bbd[_0x42a15f(0x189)]=!0x0,_0x521bbd[_0x42a15f(0x1c2)]('error',_0x4252b4),_0x521bbd[_0x42a15f(0x2a5)]();}function _0x3d597b(_0x1d84f3){const _0x11fb3b=_0x5b95d2;return _0x1d84f3['path']=_0x1d84f3[_0x11fb3b(0x298)],_0x53127b[_0x11fb3b(0x309)](_0x1d84f3);}function _0x321a7e(_0x5536c4){const _0x2e840d=_0x5b95d2;return _0x5536c4[_0x2e840d(0x25c)]=void 0x0,!_0x5536c4[_0x2e840d(0x285)]&&_0x5536c4[_0x2e840d(0x285)]!==''&&(_0x5536c4[_0x2e840d(0x285)]=_0x53127b[_0x2e840d(0x2a9)](_0x5536c4['host'])?'':_0x5536c4[_0x2e840d(0x19d)]),_0x3a1ef1['connect'](_0x5536c4);}function _0x1b4cb7(_0x2b3566,_0x513715,_0x358e90){const _0x222600=_0x5b95d2;_0x2b3566[_0x222600(0x27a)]=_0x1f29d1['CLOSING'];const _0x1ac845=new Error(_0x358e90);Error[_0x222600(0x1dc)](_0x1ac845,_0x1b4cb7),_0x513715[_0x222600(0x287)]?(_0x513715[_0x461d70]=!0x0,_0x513715[_0x222600(0x28e)](),_0x513715['socket']&&!_0x513715[_0x222600(0x264)]['destroyed']&&_0x513715[_0x222600(0x264)][_0x222600(0x296)](),process[_0x222600(0x187)](_0x455872,_0x2b3566,_0x1ac845)):(_0x513715[_0x222600(0x296)](_0x1ac845),_0x513715[_0x222600(0x18a)]('error',_0x2b3566['emit']['bind'](_0x2b3566,'error')),_0x513715[_0x222600(0x18a)]('close',_0x2b3566[_0x222600(0x2a5)][_0x222600(0x1de)](_0x2b3566)));}function _0x358979(_0x3b8d46,_0x2a2093,_0x355085){const _0x2c1f37=_0x5b95d2;if(_0x2a2093){const _0x4b49ad=_0x56d93d(_0x2a2093)?_0x2a2093[_0x2c1f37(0x176)]:_0x306f90(_0x2a2093)[_0x2c1f37(0x1e0)];_0x3b8d46[_0x2c1f37(0x23c)]?_0x3b8d46[_0x2c1f37(0x17e)][_0x2c1f37(0x271)]+=_0x4b49ad:_0x3b8d46[_0x2c1f37(0x243)]+=_0x4b49ad;}if(_0x355085){const _0x2dc745=new Error(_0x2c1f37(0x2ef)+_0x3b8d46['readyState']+'\x20('+_0x41173c[_0x3b8d46[_0x2c1f37(0x1b3)]]+')');process[_0x2c1f37(0x187)](_0x355085,_0x2dc745);}}function _0x45040d(_0x11cd2d,_0x374ca0){const _0x228b6b=_0x5b95d2,_0x443201=this[_0x440d00];_0x443201[_0x228b6b(0x15a)]=!0x0,_0x443201[_0x228b6b(0x291)]=_0x374ca0,_0x443201[_0x228b6b(0x224)]=_0x11cd2d,_0x443201[_0x228b6b(0x23c)][_0x440d00]!==void 0x0&&(_0x443201[_0x228b6b(0x23c)]['removeListener'](_0x228b6b(0x1c4),_0x29869f),process[_0x228b6b(0x187)](_0x5a0227,_0x443201[_0x228b6b(0x23c)]),_0x11cd2d===0x3ed?_0x443201['close']():_0x443201[_0x228b6b(0x1e2)](_0x11cd2d,_0x374ca0));}function _0x5e3036(){const _0x2d21c7=_0x5b95d2,_0x533722=this[_0x440d00];_0x533722[_0x2d21c7(0x2af)]||_0x533722[_0x2d21c7(0x23c)][_0x2d21c7(0x179)]();}function _0x2a1e52(_0x3a5afe){const _0x4239f1=_0x5b95d2,_0x4259b7=this[_0x440d00];_0x4259b7[_0x4239f1(0x23c)][_0x440d00]!==void 0x0&&(_0x4259b7['_socket']['removeListener']('data',_0x29869f),process['nextTick'](_0x5a0227,_0x4259b7[_0x4239f1(0x23c)]),_0x4259b7[_0x4239f1(0x1e2)](_0x3a5afe[_0x2f619a])),_0x4259b7['_errorEmitted']||(_0x4259b7['_errorEmitted']=!0x0,_0x4259b7[_0x4239f1(0x1c2)](_0x4239f1(0x1a1),_0x3a5afe));}function _0x253cf2(){this[_0x440d00]['emitClose']();}function _0x24e9c4(_0x56d16f,_0x493188){const _0x1d8a05=_0x5b95d2;this[_0x440d00][_0x1d8a05(0x1c2)](_0x1d8a05(0x237),_0x56d16f,_0x493188);}function _0x446b87(_0x364870){const _0x1a65d0=_0x5b95d2,_0x197625=this[_0x440d00];_0x197625[_0x1a65d0(0x2aa)]&&_0x197625[_0x1a65d0(0x2ff)](_0x364870,!this[_0x1a65d0(0x1c7)],_0x5ee84d),_0x197625[_0x1a65d0(0x1c2)](_0x1a65d0(0x2be),_0x364870);}function _0x40ae4a(_0x18f830){const _0x2a793e=_0x5b95d2;this[_0x440d00][_0x2a793e(0x1c2)](_0x2a793e(0x2ff),_0x18f830);}function _0x5a0227(_0x30df91){const _0x2c9a41=_0x5b95d2;_0x30df91[_0x2c9a41(0x179)]();}function _0x3ec6e4(_0x1e4c49){const _0x402eb7=_0x5b95d2,_0x263460=this[_0x440d00];_0x263460['readyState']!==_0x1f29d1[_0x402eb7(0x1b5)]&&(_0x263460[_0x402eb7(0x1b3)]===_0x1f29d1['OPEN']&&(_0x263460['_readyState']=_0x1f29d1[_0x402eb7(0x2b8)],_0x5511c9(_0x263460)),this[_0x402eb7(0x23c)][_0x402eb7(0x209)](),_0x263460[_0x402eb7(0x189)]||(_0x263460['_errorEmitted']=!0x0,_0x263460[_0x402eb7(0x1c2)](_0x402eb7(0x1a1),_0x1e4c49)));}function _0x5511c9(_0x3aa73a){const _0x5915b0=_0x5b95d2;_0x3aa73a[_0x5915b0(0x207)]=setTimeout(_0x3aa73a[_0x5915b0(0x23c)]['destroy'][_0x5915b0(0x1de)](_0x3aa73a[_0x5915b0(0x23c)]),_0x217d64);}function _0x42c9d3(){const _0x5a2309=_0x5b95d2,_0x552629=this[_0x440d00];this[_0x5a2309(0x321)](_0x5a2309(0x1e2),_0x42c9d3),this[_0x5a2309(0x321)](_0x5a2309(0x1c4),_0x29869f),this[_0x5a2309(0x321)]('end',_0x113807),_0x552629[_0x5a2309(0x27a)]=_0x1f29d1[_0x5a2309(0x2b8)];let _0x26a100;!this[_0x5a2309(0x16c)]['endEmitted']&&!_0x552629['_closeFrameReceived']&&!_0x552629['_receiver'][_0x5a2309(0x268)][_0x5a2309(0x288)]&&(_0x26a100=_0x552629[_0x5a2309(0x23c)][_0x5a2309(0x160)]())!==null&&_0x552629['_receiver'][_0x5a2309(0x169)](_0x26a100),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x209)](),this[_0x440d00]=void 0x0,clearTimeout(_0x552629[_0x5a2309(0x207)]),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x19f)]||_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x288)]?_0x552629['emitClose']():(_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x1a1),_0x253cf2),_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x273),_0x253cf2));}function _0x29869f(_0x141f1b){const _0x19a112=_0x5b95d2;this[_0x440d00][_0x19a112(0x286)][_0x19a112(0x169)](_0x141f1b)||this[_0x19a112(0x164)]();}function _0x113807(){const _0x4115c8=_0x5b95d2,_0x383957=this[_0x440d00];_0x383957[_0x4115c8(0x27a)]=_0x1f29d1[_0x4115c8(0x2b8)],_0x383957[_0x4115c8(0x286)][_0x4115c8(0x209)](),this[_0x4115c8(0x209)]();}function _0x4061f8(){const _0x36cc12=_0x5b95d2,_0x5ee5b6=this[_0x440d00];this[_0x36cc12(0x321)]('error',_0x4061f8),this['on']('error',_0x5ee84d),_0x5ee5b6&&(_0x5ee5b6[_0x36cc12(0x27a)]=_0x1f29d1[_0x36cc12(0x2b8)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4f8e4a}=oe;function _0x7e38ae(_0x948c02){const _0x5c3e93=_0x58f7;_0x948c02[_0x5c3e93(0x1c2)](_0x5c3e93(0x1e2));}function _0x136be4(){const _0xdbb92a=_0x58f7;!this[_0xdbb92a(0x1e1)]&&this[_0xdbb92a(0x268)][_0xdbb92a(0x19f)]&&this[_0xdbb92a(0x296)]();}function _0x52aa17(_0x8bf2a6){const _0x36fc9b=_0x58f7;this[_0x36fc9b(0x321)](_0x36fc9b(0x1a1),_0x52aa17),this[_0x36fc9b(0x296)](),this[_0x36fc9b(0x2a6)](_0x36fc9b(0x1a1))===0x0&&this[_0x36fc9b(0x1c2)](_0x36fc9b(0x1a1),_0x8bf2a6);}function _0x54c70a(_0x4b9bc4,_0x4e07fe){const _0x577344=_0x58f7;let _0x5e8fcb=!0x0;const _0x1fe990=new _0x4f8e4a({..._0x4e07fe,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b9bc4['on'](_0x577344(0x237),function(_0x3e3135,_0x3ded64){const _0x1c460a=_0x577344,_0x1e6a02=!_0x3ded64&&_0x1fe990[_0x1c460a(0x16c)][_0x1c460a(0x188)]?_0x3e3135['toString']():_0x3e3135;_0x1fe990['push'](_0x1e6a02)||_0x4b9bc4[_0x1c460a(0x164)]();}),_0x4b9bc4['once'](_0x577344(0x1a1),function(_0x83e4c8){const _0x503406=_0x577344;_0x1fe990[_0x503406(0x1e1)]||(_0x5e8fcb=!0x1,_0x1fe990[_0x503406(0x296)](_0x83e4c8));}),_0x4b9bc4[_0x577344(0x18a)]('close',function(){const _0x24e931=_0x577344;_0x1fe990[_0x24e931(0x1e1)]||_0x1fe990[_0x24e931(0x236)](null);}),_0x1fe990[_0x577344(0x2b0)]=function(_0xe27a1e,_0x159943){const _0x139871=_0x577344;if(_0x4b9bc4[_0x139871(0x1b3)]===_0x4b9bc4[_0x139871(0x1b5)]){_0x159943(_0xe27a1e),process[_0x139871(0x187)](_0x7e38ae,_0x1fe990);return;}let _0x10acc5=!0x1;_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1a1),function(_0xb4cada){_0x10acc5=!0x0,_0x159943(_0xb4cada);}),_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1e2),function(){_0x10acc5||_0x159943(_0xe27a1e),process['nextTick'](_0x7e38ae,_0x1fe990);}),_0x5e8fcb&&_0x4b9bc4[_0x139871(0x24c)]();},_0x1fe990[_0x577344(0x1cf)]=function(_0x4740e6){const _0x8f5836=_0x577344;if(_0x4b9bc4[_0x8f5836(0x1b3)]===_0x4b9bc4[_0x8f5836(0x284)]){_0x4b9bc4['once'](_0x8f5836(0x2f7),function(){const _0x1a6c4f=_0x8f5836;_0x1fe990[_0x1a6c4f(0x1cf)](_0x4740e6);});return;}_0x4b9bc4[_0x8f5836(0x23c)]!==null&&(_0x4b9bc4[_0x8f5836(0x23c)][_0x8f5836(0x268)][_0x8f5836(0x19f)]?(_0x4740e6(),_0x1fe990[_0x8f5836(0x16c)][_0x8f5836(0x301)]&&_0x1fe990[_0x8f5836(0x296)]()):(_0x4b9bc4[_0x8f5836(0x23c)]['once'](_0x8f5836(0x273),function(){_0x4740e6();}),_0x4b9bc4[_0x8f5836(0x1e2)]()));},_0x1fe990['_read']=function(){const _0x113c21=_0x577344;_0x4b9bc4['isPaused']&&_0x4b9bc4[_0x113c21(0x179)]();},_0x1fe990[_0x577344(0x18e)]=function(_0x1c0463,_0x139d35,_0x5dfb01){const _0x15d343=_0x577344;if(_0x4b9bc4[_0x15d343(0x1b3)]===_0x4b9bc4['CONNECTING']){_0x4b9bc4[_0x15d343(0x18a)]('open',function(){const _0x1f4b86=_0x15d343;_0x1fe990[_0x1f4b86(0x18e)](_0x1c0463,_0x139d35,_0x5dfb01);});return;}_0x4b9bc4[_0x15d343(0x182)](_0x1c0463,_0x5dfb01);},_0x1fe990['on'](_0x577344(0x209),_0x136be4),_0x1fe990['on']('error',_0x52aa17),_0x1fe990;}return Oe=_0x54c70a,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1eaa5d}=ae();function _0x50b228(_0x366858){const _0x3953c6=_0x58f7,_0x3033c3=new Set();let _0x39b1f7=-0x1,_0x38d9aa=-0x1,_0x3d4da3=0x0;for(_0x3d4da3;_0x3d4da3<_0x366858[_0x3953c6(0x1e0)];_0x3d4da3++){const _0x280090=_0x366858['charCodeAt'](_0x3d4da3);if(_0x38d9aa===-0x1&&_0x1eaa5d[_0x280090]===0x1)_0x39b1f7===-0x1&&(_0x39b1f7=_0x3d4da3);else{if(_0x3d4da3!==0x0&&(_0x280090===0x20||_0x280090===0x9))_0x38d9aa===-0x1&&_0x39b1f7!==-0x1&&(_0x38d9aa=_0x3d4da3);else{if(_0x280090===0x2c){if(_0x39b1f7===-0x1)throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);_0x38d9aa===-0x1&&(_0x38d9aa=_0x3d4da3);const _0x950f87=_0x366858['slice'](_0x39b1f7,_0x38d9aa);if(_0x3033c3[_0x3953c6(0x30c)](_0x950f87))throw new SyntaxError('The\x20\x22'+_0x950f87+_0x3953c6(0x2a8));_0x3033c3[_0x3953c6(0x18c)](_0x950f87),_0x39b1f7=_0x38d9aa=-0x1;}else throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);}}}if(_0x39b1f7===-0x1||_0x38d9aa!==-0x1)throw new SyntaxError(_0x3953c6(0x257));const _0x547678=_0x366858[_0x3953c6(0x1f4)](_0x39b1f7,_0x3d4da3);if(_0x3033c3[_0x3953c6(0x30c)](_0x547678))throw new SyntaxError(_0x3953c6(0x1dd)+_0x547678+_0x3953c6(0x2a8));return _0x3033c3[_0x3953c6(0x18c)](_0x547678),_0x3033c3;}return Ce={'parse':_0x50b228},Ce;}var Te,rt;function Ft(){const _0x3e44d3=_0xc18ba;if(rt)return Te;rt=0x1;const _0x5981bf=nt,_0xc0b045=ot,{Duplex:_0x44992d}=oe,{createHash:_0xef9393}=Le,_0x3750d1=ct(),_0x540ad2=he(),_0x1dbab1=At(),_0x3f7ee5=Pe(),{GUID:_0x27273b,kWebSocket:_0x3f0ba5}=H(),_0x229655=/^[+/0-9A-Za-z]{22}==$/,_0x18b4e3=0x0,_0x510dee=0x1,_0x466f36=0x2;class _0x5e67eb extends _0x5981bf{constructor(_0x9808da,_0x500586){const _0x14557d=_0x58f7;if(super(),_0x9808da={'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':_0x3f7ee5,..._0x9808da},_0x9808da[_0x14557d(0x297)]==null&&!_0x9808da['server']&&!_0x9808da[_0x14557d(0x20c)]||_0x9808da[_0x14557d(0x297)]!=null&&(_0x9808da[_0x14557d(0x199)]||_0x9808da['noServer'])||_0x9808da[_0x14557d(0x199)]&&_0x9808da[_0x14557d(0x20c)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x9808da['port']!=null?(this[_0x14557d(0x292)]=_0xc0b045[_0x14557d(0x238)]((_0x4fe6bd,_0x504ebb)=>{const _0x418756=_0x14557d,_0x4c1e37=_0xc0b045['STATUS_CODES'][0x1aa];_0x504ebb[_0x418756(0x24d)](0x1aa,{'Content-Length':_0x4c1e37['length'],'Content-Type':_0x418756(0x2bf)}),_0x504ebb[_0x418756(0x209)](_0x4c1e37);}),this[_0x14557d(0x292)][_0x14557d(0x314)](_0x9808da['port'],_0x9808da['host'],_0x9808da[_0x14557d(0x249)],_0x500586)):_0x9808da['server']&&(this[_0x14557d(0x292)]=_0x9808da[_0x14557d(0x199)]),this[_0x14557d(0x292)]){const _0x12af4f=this[_0x14557d(0x1c2)]['bind'](this,'connection');this[_0x14557d(0x235)]=_0x2ba277(this[_0x14557d(0x292)],{'listening':this['emit'][_0x14557d(0x1de)](this,'listening'),'error':this[_0x14557d(0x1c2)]['bind'](this,'error'),'upgrade':(_0xd33339,_0x12ab8a,_0x27ae03)=>{this['handleUpgrade'](_0xd33339,_0x12ab8a,_0x27ae03,_0x12af4f);}});}_0x9808da[_0x14557d(0x31b)]===!0x0&&(_0x9808da[_0x14557d(0x31b)]={}),_0x9808da[_0x14557d(0x27f)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x9808da,this[_0x14557d(0x1fd)]=_0x18b4e3;}[_0x3e44d3(0x163)](){const _0x1e27b5=_0x3e44d3;if(this[_0x1e27b5(0x1ad)]['noServer'])throw new Error(_0x1e27b5(0x21b));return this['_server']?this['_server'][_0x1e27b5(0x163)]():null;}[_0x3e44d3(0x1e2)](_0x32d5d5){const _0xcaa4da=_0x3e44d3;if(this[_0xcaa4da(0x1fd)]===_0x466f36){_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',()=>{_0x32d5d5(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xcaa4da(0x187)](_0x5eaa56,this);return;}if(_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',_0x32d5d5),this['_state']!==_0x510dee){if(this[_0xcaa4da(0x1fd)]=_0x510dee,this['options'][_0xcaa4da(0x20c)]||this[_0xcaa4da(0x1ad)][_0xcaa4da(0x199)])this[_0xcaa4da(0x292)]&&(this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this['_server']=null),this['clients']?this[_0xcaa4da(0x180)][_0xcaa4da(0x176)]?this[_0xcaa4da(0x22e)]=!0x0:process['nextTick'](_0x5eaa56,this):process[_0xcaa4da(0x187)](_0x5eaa56,this);else{const _0x197e6e=this[_0xcaa4da(0x292)];this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this[_0xcaa4da(0x292)]=null,_0x197e6e[_0xcaa4da(0x1e2)](()=>{_0x5eaa56(this);});}}}['shouldHandle'](_0xa6d6f7){const _0x1d1b20=_0x3e44d3;if(this['options'][_0x1d1b20(0x25c)]){const _0x26c599=_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x2a0)]('?');if((_0x26c599!==-0x1?_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x1f4)](0x0,_0x26c599):_0xa6d6f7[_0x1d1b20(0x260)])!==this[_0x1d1b20(0x1ad)][_0x1d1b20(0x25c)])return!0x1;}return!0x0;}[_0x3e44d3(0x2e1)](_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226){const _0x60de35=_0x3e44d3;_0x5207a2['on'](_0x60de35(0x1a1),_0x271d32);const _0x5b85a2=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x220)],_0x44f160=_0x1a6b70['headers']['upgrade'],_0x38ea4d=+_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x226)];if(_0x1a6b70[_0x60de35(0x317)]!==_0x60de35(0x19b)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x195,_0x60de35(0x258));return;}if(_0x44f160===void 0x0||_0x44f160[_0x60de35(0x2e3)]()!==_0x60de35(0x1b1)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5b85a2===void 0x0||!_0x229655[_0x60de35(0x1e7)](_0x5b85a2)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x225));return;}if(_0x38ea4d!==0xd&&_0x38ea4d!==0x8){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x60de35(0x279)});return;}if(!this[_0x60de35(0x1c8)](_0x1a6b70)){_0x3c072f(_0x5207a2,0x190);return;}const _0x136af5=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x2d0)];let _0xf5cda9=new Set();if(_0x136af5!==void 0x0)try{_0xf5cda9=_0x1dbab1[_0x60de35(0x1a5)](_0x136af5);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x1bd));return;}const _0x5ae990=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x17c)],_0x988520={};if(this[_0x60de35(0x1ad)][_0x60de35(0x31b)]&&_0x5ae990!==void 0x0){const _0x121c2d=new _0x540ad2(this[_0x60de35(0x1ad)][_0x60de35(0x31b)],!0x0,this['options'][_0x60de35(0x2d7)]);try{const _0x354871=_0x3750d1[_0x60de35(0x1a5)](_0x5ae990);_0x354871[_0x540ad2[_0x60de35(0x2ee)]]&&(_0x121c2d['accept'](_0x354871[_0x540ad2[_0x60de35(0x2ee)]]),_0x988520[_0x540ad2[_0x60de35(0x2ee)]]=_0x121c2d);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x3fd53a={'origin':_0x1a6b70[_0x60de35(0x2de)][''+(_0x38ea4d===0x8?_0x60de35(0x2bb):'origin')],'secure':!!(_0x1a6b70[_0x60de35(0x264)][_0x60de35(0x210)]||_0x1a6b70['socket'][_0x60de35(0x248)]),'req':_0x1a6b70};if(this[_0x60de35(0x1ad)]['verifyClient']['length']===0x2){this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a,(_0x4f5f79,_0x373bc7,_0x1e30cf,_0x4e8ff1)=>{if(!_0x4f5f79)return _0x3c072f(_0x5207a2,_0x373bc7||0x191,_0x1e30cf,_0x4e8ff1);this['completeUpgrade'](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);});return;}if(!this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a))return _0x3c072f(_0x5207a2,0x191);}this[_0x60de35(0x2d4)](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);}[_0x3e44d3(0x2d4)](_0x595a3f,_0x898ec7,_0x44dabe,_0x598e66,_0x4d5968,_0x398c3f,_0x4c7ecd){const _0x1a603c=_0x3e44d3;if(!_0x4d5968['readable']||!_0x4d5968[_0x1a603c(0x217)])return _0x4d5968[_0x1a603c(0x296)]();if(_0x4d5968[_0x3f0ba5])throw new Error(_0x1a603c(0x219));if(this[_0x1a603c(0x1fd)]>_0x18b4e3)return _0x3c072f(_0x4d5968,0x1f7);const _0x27cee2=[_0x1a603c(0x315),_0x1a603c(0x25f),_0x1a603c(0x2b1),_0x1a603c(0x2bc)+_0xef9393('sha1')['update'](_0x898ec7+_0x27273b)[_0x1a603c(0x167)]('base64')],_0x1c4de8=new this[(_0x1a603c(0x1ad))][(_0x1a603c(0x1d7))](null,void 0x0,this[_0x1a603c(0x1ad)]);if(_0x44dabe[_0x1a603c(0x176)]){const _0x142704=this['options'][_0x1a603c(0x18d)]?this[_0x1a603c(0x1ad)][_0x1a603c(0x18d)](_0x44dabe,_0x598e66):_0x44dabe[_0x1a603c(0x2c5)]()[_0x1a603c(0x31c)]()['value'];_0x142704&&(_0x27cee2['push'](_0x1a603c(0x1ab)+_0x142704),_0x1c4de8[_0x1a603c(0x31d)]=_0x142704);}if(_0x595a3f[_0x540ad2['extensionName']]){const _0x5a1cd7=_0x595a3f[_0x540ad2[_0x1a603c(0x2ee)]][_0x1a603c(0x17b)],_0x1e905b=_0x3750d1[_0x1a603c(0x255)]({[_0x540ad2[_0x1a603c(0x2ee)]]:[_0x5a1cd7]});_0x27cee2['push']('Sec-WebSocket-Extensions:\x20'+_0x1e905b),_0x1c4de8[_0x1a603c(0x206)]=_0x595a3f;}this[_0x1a603c(0x1c2)](_0x1a603c(0x2de),_0x27cee2,_0x598e66),_0x4d5968[_0x1a603c(0x169)](_0x27cee2[_0x1a603c(0x27b)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4d5968[_0x1a603c(0x321)](_0x1a603c(0x1a1),_0x271d32),_0x1c4de8[_0x1a603c(0x161)](_0x4d5968,_0x398c3f,{'allowSynchronousEvents':this['options'][_0x1a603c(0x19c)],'maxPayload':this['options'][_0x1a603c(0x2d7)],'skipUTF8Validation':this['options'][_0x1a603c(0x21c)]}),this['clients']&&(this[_0x1a603c(0x180)]['add'](_0x1c4de8),_0x1c4de8['on'](_0x1a603c(0x1e2),()=>{const _0x35442b=_0x1a603c;this[_0x35442b(0x180)]['delete'](_0x1c4de8),this[_0x35442b(0x22e)]&&!this['clients'][_0x35442b(0x176)]&&process[_0x35442b(0x187)](_0x5eaa56,this);})),_0x4c7ecd(_0x1c4de8,_0x598e66);}}Te=_0x5e67eb;function _0x2ba277(_0x4528de,_0x380c1a){for(const _0x40dfb2 of Object['keys'](_0x380c1a))_0x4528de['on'](_0x40dfb2,_0x380c1a[_0x40dfb2]);return function(){const _0x2ce150=_0x58f7;for(const _0x12e4e3 of Object['keys'](_0x380c1a))_0x4528de[_0x2ce150(0x321)](_0x12e4e3,_0x380c1a[_0x12e4e3]);};}function _0x5eaa56(_0x2e6a2e){const _0x3db1a5=_0x3e44d3;_0x2e6a2e[_0x3db1a5(0x1fd)]=_0x466f36,_0x2e6a2e[_0x3db1a5(0x1c2)]('close');}function _0x271d32(){this['destroy']();}function _0x3c072f(_0x20ccbb,_0x5f27fe,_0x418add,_0x34d092){const _0x29d6ee=_0x3e44d3;_0x418add=_0x418add||_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe],_0x34d092={'Connection':_0x29d6ee(0x1e2),'Content-Type':'text/html','Content-Length':Buffer[_0x29d6ee(0x270)](_0x418add),..._0x34d092},_0x20ccbb[_0x29d6ee(0x18a)]('finish',_0x20ccbb[_0x29d6ee(0x296)]),_0x20ccbb[_0x29d6ee(0x209)]('HTTP/1.1\x20'+_0x5f27fe+'\x20'+_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe]+'\x0d\x0a'+Object[_0x29d6ee(0x294)](_0x34d092)[_0x29d6ee(0x29a)](_0x3032a1=>_0x3032a1+':\x20'+_0x34d092[_0x3032a1])[_0x29d6ee(0x1ef)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x418add);}function _0x1c9d77(_0x18f0f0,_0x464899,_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc){const _0x41d553=_0x3e44d3;if(_0x18f0f0[_0x41d553(0x2a6)](_0x41d553(0x183))){const _0x176b05=new Error(_0x54024a);Error[_0x41d553(0x1dc)](_0x176b05,_0x1c9d77),_0x18f0f0['emit']('wsClientError',_0x176b05,_0x2dabbc,_0x464899);}else _0x3c072f(_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc);}return Te;}Ft();var jt=Object[_0xc18ba(0x192)],Wt=(_0x1f8c4e,_0x10f137,_0x2cdd90,_0x4130af)=>{const _0x331515=_0xc18ba;for(var _0x156fc9=_0x4130af>0x1?void 0x0:_0x4130af?jt(_0x10f137,_0x2cdd90):_0x10f137,_0x3df119=_0x1f8c4e[_0x331515(0x1e0)]-0x1,_0x6f9bef;_0x3df119>=0x0;_0x3df119--)(_0x6f9bef=_0x1f8c4e[_0x3df119])&&(_0x156fc9=_0x6f9bef(_0x156fc9)||_0x156fc9);return _0x156fc9;},qt=(_0x594edb,_0x4df9a2)=>(_0x5300c5,_0x1d0964)=>_0x4df9a2(_0x5300c5,_0x1d0964,_0x594edb);let ke=class extends A[_0xc18ba(0x1ae)]{constructor(_0x5a07fa){const _0x1b0bd0=_0xc18ba;super(),this[_0x1b0bd0(0x2cd)]=_0x5a07fa;}['createSocket'](_0x570750){const _0x2559c8=_0xc18ba;var _0x48f486;const _0x3fd68d=(_0x48f486=this[_0x2559c8(0x2cd)]['getConfig'](fe))==null?void 0x0:_0x48f486[_0x2559c8(0x2c4)];try{const _0x3ccf4b=new $t(_0x570750,{'headers':{..._0x3fd68d}}),_0x162a11=new A[(_0x2559c8(0x16d))]();return{'URL':_0x570750,'close':(_0x4bbf44,_0x5237c1)=>{const _0x3c2dd5=_0x2559c8;_0x3ccf4b[_0x3c2dd5(0x1e2)](_0x4bbf44,_0x5237c1),_0x162a11[_0x3c2dd5(0x2ab)]();},'send':_0x46fe20=>{const _0x275edb=_0x2559c8;_0x3ccf4b[_0x275edb(0x182)](_0x46fe20);},'open$':new V[(_0x2559c8(0x2e5))](_0x4f0ba1=>{const _0x51d41d=_0x2559c8,_0x22563e=_0x47cab2=>_0x4f0ba1['next'](_0x47cab2);_0x3ccf4b[_0x51d41d(0x1c1)](_0x51d41d(0x2f7),_0x22563e),_0x162a11[_0x51d41d(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x51d41d(0x215)](_0x51d41d(0x2f7),_0x22563e)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'close$':new V['Observable'](_0x1ce056=>{const _0x4e5166=_0x2559c8,_0x2a7f70=_0x5dade3=>_0x1ce056[_0x4e5166(0x31c)](_0x5dade3);_0x3ccf4b[_0x4e5166(0x1c1)](_0x4e5166(0x1e2),_0x2a7f70),_0x162a11[_0x4e5166(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x4e5166(0x215)]('close',_0x2a7f70)));})[_0x2559c8(0x28d)](V['share']()),'error$':new V[(_0x2559c8(0x2e5))](_0x39f02f=>{const _0x339844=_0x2559c8,_0x10908b=_0x3c1288=>_0x39f02f[_0x339844(0x31c)](_0x3c1288);_0x3ccf4b[_0x339844(0x1c1)](_0x339844(0x1a1),_0x10908b),_0x162a11[_0x339844(0x18c)](A[_0x339844(0x24a)](()=>_0x3ccf4b[_0x339844(0x215)](_0x339844(0x1a1),_0x10908b)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'message$':new V[(_0x2559c8(0x2e5))](_0x1fd93e=>{const _0x2655dd=_0x2559c8,_0x454b76=_0x47919f=>_0x1fd93e[_0x2655dd(0x31c)](_0x47919f);_0x3ccf4b[_0x2655dd(0x1c1)]('message',_0x454b76),_0x162a11[_0x2655dd(0x18c)](A[_0x2655dd(0x24a)](()=>_0x3ccf4b['removeEventListener'](_0x2655dd(0x237),_0x454b76)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]())};}catch(_0x3ca273){return console[_0x2559c8(0x1a1)](_0x3ca273),null;}}};ke=Wt([qt(0x0,A[_0xc18ba(0x2e0)])],ke);var Gt=Object[_0xc18ba(0x2db)],Vt=Object[_0xc18ba(0x192)],Ht=(_0xd9fe86,_0x187994,_0x140eff)=>_0x187994 in _0xd9fe86?Gt(_0xd9fe86,_0x187994,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140eff}):_0xd9fe86[_0x187994]=_0x140eff,zt=(_0x5d228f,_0x4d8d4d,_0x2cb118,_0x3419ac)=>{const _0x36d266=_0xc18ba;for(var _0x222d45=_0x3419ac>0x1?void 0x0:_0x3419ac?Vt(_0x4d8d4d,_0x2cb118):_0x4d8d4d,_0x18d36a=_0x5d228f[_0x36d266(0x1e0)]-0x1,_0x31fa6b;_0x18d36a>=0x0;_0x18d36a--)(_0x31fa6b=_0x5d228f[_0x18d36a])&&(_0x222d45=_0x31fa6b(_0x222d45)||_0x222d45);return _0x222d45;},Ne=(_0x1e0c6,_0x113474)=>(_0x177864,_0x97772b)=>_0x113474(_0x177864,_0x97772b,_0x1e0c6),Yt=(_0x572e45,_0x477c48,_0x54644b)=>Ht(_0x572e45,_0x477c48+'',_0x54644b);exports[_0xc18ba(0x2d1)]=class extends A[_0xc18ba(0x1f5)]{constructor(_0x1b8d40=Ct,_0xb43d66,_0x4eb1d0,_0x15981c){const _0x57c8cb=_0xc18ba;_0x1b8d40[_0x57c8cb(0x2c4)]||_0xb43d66[_0x57c8cb(0x269)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4eb1d0,this[_0x57c8cb(0x222)]=_0x15981c,this[_0x57c8cb(0x2cd)][_0x57c8cb(0x23a)](fe,_0x1b8d40);}['onStarting'](){this['_registerDependencies']();}[_0xc18ba(0x24f)](){const _0x120b20=_0xc18ba;A[_0x120b20(0x1d9)](this['_injector'],[[it[_0x120b20(0x2d6)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xc18ba(0x234),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0xc18ba(0x2d1)]=zt([A[_0xc18ba(0x17f)](st[_0xc18ba(0x21a)]),Ne(0x1,A[_0xc18ba(0x2c8)]),Ne(0x2,A[_0xc18ba(0x2e0)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0xc18ba(0x2d1)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1ff7bf,_0x1cadb2,_0x395d57,_0x1e27bf)=>{const _0x4f9137=_0xc18ba;for(var _0x30fb55=_0x1e27bf>0x1?void 0x0:_0x1e27bf?Kt(_0x1cadb2,_0x395d57):_0x1cadb2,_0x40ebdf=_0x1ff7bf[_0x4f9137(0x1e0)]-0x1,_0x1b39a5;_0x40ebdf>=0x0;_0x40ebdf--)(_0x1b39a5=_0x1ff7bf[_0x40ebdf])&&(_0x30fb55=_0x1b39a5(_0x30fb55)||_0x30fb55);return _0x30fb55;},ne=(_0x36ed6a,_0x1b71ef)=>(_0x2d04f6,_0x17e0ee)=>_0x1b71ef(_0x2d04f6,_0x17e0ee,_0x36ed6a);exports['NodeCollaborationSocketService']=class extends st[_0xc18ba(0x1c5)]{constructor(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd){const _0x481a81=_0xc18ba;super(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd);const _0x1ca81f=this['_configService'][_0x481a81(0x227)](fe);this['_httpService'][_0x481a81(0x2c7)]({'interceptor':(_0xc5d7ce,_0x1f76bc)=>{const _0x110e3b=_0x481a81;var _0x2502e2;const _0x2515d1=_0xc5d7ce[_0x110e3b(0x2de)];return(_0x2502e2=_0x1ca81f==null?void 0x0:_0x1ca81f[_0x110e3b(0x2c4)])!=null&&_0x2502e2['cookie']&&_0x2515d1[_0x110e3b(0x307)](_0x110e3b(0x1ec),_0x1ca81f['customHeaders'][_0x110e3b(0x275)]),_0x1f76bc(_0xc5d7ce);}});}async[_0xc18ba(0x2c9)](_0x11bb8c){const _0x2cc2a3=_0xc18ba;return this[_0x2cc2a3(0x1f2)](_0x11bb8c);}},exports[_0xc18ba(0x1d4)]=Xt([ne(0x0,A[_0xc18ba(0x15c)](A[_0xc18ba(0x2f8)])),ne(0x1,A[_0xc18ba(0x15c)](it[_0xc18ba(0x2f5)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0xc18ba(0x2c8)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0xc18ba(0x1d4)]),exports[_0xc18ba(0x259)]=fe;
|
|
1
|
+
'use strict';function _0x4cb9(){const _0x4eabdf=['getPayloadLength16','options','getConfig','_bufferedBytes','startsWith','text/plain','_destroy','dispatch','writeUIntBE','Invalid\x20HTTP\x20method','writeUInt16BE','13,\x208','createInflateRaw','username','share','The\x20\x22','readable','readUInt16BE','unmask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kCode','HTTPService','clientNoContextTakeover','_originalSecure','hasOwnProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','invalid\x20UTF-8\x20sequence','haveLength','bind','stream','_queue','_closeFrameReceived','197241YcbWQT','redirect','threshold','websocket','upgrade','total-length','HTTP/1.1\x20101\x20Switching\x20Protocols','Sec-WebSocket-Extensions','listenerCount','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','size','UniverCollaborationClientPlugin','unshift','_protocol','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','readUInt32BE','Upgrade:\x20websocket','invalid\x20status\x20code\x20','WS_ERR_UNEXPECTED_RSV_2_3','kAborted','invalid\x20payload\x20length\x20','offer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createError','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','callback','178199ypzdnp','test','isIP','Unsupported\x20protocol\x20version:\x20','_mask','open','captureStackTrace','number','_fragments','Invalid\x20Upgrade\x20header','CLOSED','Invalid\x20URL:\x20','decompress','parse','forEach','apply','setConfig','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','emit','Connection:\x20Upgrade','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','isServer','resume','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WS_ERR_INVALID_UTF8','MASK\x20must\x20be\x20clear','set','\x22\x20must\x20have\x20only\x20a\x20single\x20value','fin','Z_SYNC_FLUSH','kByteLength','kListener','controlMessage','customHeaders','cookie','byteLength','readOnly','Invalid\x20value\x20for\x20parameter\x20\x22','path','next','length','Max\x20payload\x20size\x20exceeded','kWasClean','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','binary','_masked','acceptAsServer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_OPCODE','ws+unix:','species','getInfo','normalizeParams','_skipUTF8Validation','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onopen','arrayBuffer','getOwnPropertyDescriptor','_autoPong','WS_ERR_EXPECTED_MASK','_removeListeners','conclude','ws:','dequeue','handleProtocols','request','close','indexOf','_socket','Unexpected\x20server\x20response:\x20','pathname','nextTick','concurrency','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','defineProperty','finished','_configService','password','342728bsPYBU','WS_ERR_EXPECTED_FIN','sec-websocket-protocol','extensionName','onerror','nodebuffer','object','Maximum\x20redirects\x20exceeded','sec-websocket-accept','_threshold','_fin','status-code','Sec-WebSocket-Protocol:\x20','wasClean','autoPong','10YmsoWS','env','_errorEmitted','_compress','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_req','The\x20server\x20is\x20not\x20running','createConnection','_buffers','reset','shift','Observable','41790qOuhcB','pluginName','Z_DEFAULT_WINDOWBITS','_read','type','_originalIpc','STATUS_CODES','text/html','once','FIN\x20must\x20be\x20set','getPayloadLength64','isArray','Server\x20sent\x20an\x20invalid\x20subprotocol','digest','wss:','setSocket','Sec-WebSocket-Extensions:\x20','kIsForOnEventAttribute','\x22:\x20','byteOffset','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','prototype','url','destroy','shouldHandle','removeListener','pause','https:','Sec-WebSocket-Accept:\x20','_binaryType','frame','target','replace','data','address','WebSocket','_decompress','unexpected-response','_writableState','_closeTimer','encrypted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','isValidUTF8','client','base64','serverMaxWindowBits','toString','blob','toDisposable','IConfigService','headers','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','permessage-deflate','enqueue','WS_ERR_UNEXPECTED_RSV_1','reason','error','1407222ljdsOT','addEventListener','clients','kType','_compressed','listeners','_inflate','isInteger','Plugin','Invalid\x20Sec-WebSocket-Extensions\x20header','8uhFMuo','_server','678646ndYWAW','writable','listen','abort','_bufferedAmount','split','zlibInflateOptions','server','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','invalid\x20opcode\x20','create','startLoop','concat','_closeFrameSent','kData','_receiver','perMessageDeflate','CollaborationSocketService','kError','getMask','sendFrame','format','handleUpgrade','toStringTag','has','pipe','find','values','connect','hash','statusCode','Cookie','_allowSynchronousEvents','Server\x20sent\x20no\x20subprotocol','The\x20URL\x20contains\x20a\x20fragment\x20identifier','function','_url','setHeader','socket','_sender','removeAllListeners','flush','createSocket','onStarting','_originalHostOrSocketPath','compress','isView','end','kRun','send','mask','verifyClient','_opcode','call','_maxPayload','cleanup','timeout','maxPayload','collaboration-client-node.config','endEmitted','Parameter\x20\x22','_injector','keys','http:','_readyState','_shouldEmitClose','charCodeAt','arraybuffer','auth','ISnapshotServerService','uncork','setTimeout','entries','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','\x20(supported\x20versions:\x20','isPaused','default','generateMask','DependentOn','extensions','HTTP/1.1\x20','includes','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','removeEventListener','port','buffers','construct','kReason','pong','alloc','Unexpected\x20character\x20at\x20index\x20','__esModule','_payloadLength','acceptAsClient','accept','sec-websocket-extensions','bufferedAmount','server_no_context_takeover','COLLABORATION_CLIENT_NODE_CONFIG_KEY','message','_redirects','defaultPort','sec-websocket-version','update','_extensions','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','CONNECTING','_write','wsClientError','_isServer','writeHead','WS_ERR_UNEXPECTED_MASK','socketPath','clientMaxWindowBits','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','allowSynchronousEvents','value','ping','dataMessage','UniverCollaborationClientNodePlugin','hostname','map','Opening\x20handshake\x20has\x20timed\x20out','OPEN','_errored','270gwcpay','createServer','destroyed','getData','\x0d\x0a\x0d\x0a','Unknown\x20parameter\x20\x22','_firstFragment','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','pending','add','client_no_context_takeover','_fragmented','_messageLength','handshakeTimeout','method','_generateMask','3887972MeDROR','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','allocUnsafe','\x22\x20subprotocol\x20is\x20duplicated','opcode','_readableState','createDeflateRaw','completeUpgrade','isBuffer','_closeMessage','setNoDelay','skipUTF8Validation','onclose','invalid\x20opcode\x200','authorization','errorEmitted','location','delete','slice','MASK\x20must\x20be\x20set','client_max_window_bits','WS_ERR_INVALID_CLOSE_CODE','toLowerCase','sha1','push','join','consume','_max_window_bits','code','write','Unexpected\x20end\x20of\x20input','zlibDeflateOptions','listening','_paused','protocolVersion','Origin','from','binaryType','backlog','origin','GET','protocol','DisposableCollection','ILogService','params','onmessage','terminate','RSV1\x20must\x20be\x20clear','exports','_loop','getBlobData','_state','File','serverNoContextTakeover','pow','_no_context_takeover','noServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_deflate','_totalPayloadLength','3CtAXVA','_maskBuffer','jobs','Invalid\x20Sec-WebSocket-Protocol\x20header','_httpService','_closeCode','_final','server_max_window_bits','_options','Injector','servername','Module','buffer','finish','_registerDependencies','NodeCollaborationSocketService','CLOSING','readyState','string','then','maxRedirects','emitClose','kMessage'];_0x4cb9=function(){return _0x4eabdf;};return _0x4cb9();}const _0x548fc7=_0x4b9f;(function(_0x159fd7,_0x386d00){const _0xe8dcde=_0x4b9f,_0x3c9a82=_0x159fd7();while(!![]){try{const _0x2d3dc6=-parseInt(_0xe8dcde(0x241))/0x1+parseInt(_0xe8dcde(0x141))/0x2*(parseInt(_0xe8dcde(0x20a))/0x3)+-parseInt(_0xe8dcde(0x2aa))/0x4+-parseInt(_0xe8dcde(0x2c5))/0x5*(-parseInt(_0xe8dcde(0x1be))/0x6)+parseInt(_0xe8dcde(0x25b))/0x7*(-parseInt(_0xe8dcde(0x13f))/0x8)+parseInt(_0xe8dcde(0x135))/0x9+parseInt(_0xe8dcde(0x2b9))/0xa*(-parseInt(_0xe8dcde(0x1ce))/0xb);if(_0x2d3dc6===_0x386d00)break;else _0x3c9a82['push'](_0x3c9a82['shift']());}catch(_0x4eb622){_0x3c9a82['push'](_0x3c9a82['shift']());}}}(_0x4cb9,0x33427));Object[_0x548fc7(0x2a6)](exports,Symbol[_0x548fc7(0x158)],{'value':_0x548fc7(0x215)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x548fc7(0x17b),Ct={'customHeaders':{}};function Tt(_0x936a3d){const _0xdb3002=_0x548fc7;return _0x936a3d&&_0x936a3d['__esModule']&&Object[_0xdb3002(0x2da)][_0xdb3002(0x239)][_0xdb3002(0x176)](_0x936a3d,_0xdb3002(0x18d))?_0x936a3d[_0xdb3002(0x18d)]:_0x936a3d;}function at(_0x4fa983){const _0x319a7e=_0x548fc7;if(Object[_0x319a7e(0x2da)][_0x319a7e(0x239)]['call'](_0x4fa983,_0x319a7e(0x19c)))return _0x4fa983;var _0x24ff89=_0x4fa983[_0x319a7e(0x18d)];if(typeof _0x24ff89==_0x319a7e(0x164)){var _0xa0d6a7=function _0x76f55a(){const _0x3d3189=_0x319a7e;var _0x146868=!0x1;try{_0x146868=this instanceof _0x76f55a;}catch{}return _0x146868?Reflect[_0x3d3189(0x197)](_0x24ff89,arguments,this['constructor']):_0x24ff89[_0x3d3189(0x26a)](this,arguments);};_0xa0d6a7['prototype']=_0x24ff89[_0x319a7e(0x2da)];}else _0xa0d6a7={};return Object['defineProperty'](_0xa0d6a7,_0x319a7e(0x19c),{'value':!0x0}),Object[_0x319a7e(0x17f)](_0x4fa983)[_0x319a7e(0x269)](function(_0x3871d6){const _0xeaed58=_0x319a7e;var _0x11bc5b=Object[_0xeaed58(0x295)](_0x4fa983,_0x3871d6);Object[_0xeaed58(0x2a6)](_0xa0d6a7,_0x3871d6,_0x11bc5b['get']?_0x11bc5b:{'enumerable':!0x0,'get':function(){return _0x4fa983[_0x3871d6];}});}),_0xa0d6a7;}var se={'exports':{}},ge,Ge;function H(){const _0x4cd25e=_0x548fc7;if(Ge)return ge;Ge=0x1;const _0x11b955=[_0x4cd25e(0x2af),_0x4cd25e(0x184),'fragments'],_0x537323=typeof Blob<'u';return _0x537323&&_0x11b955[_0x4cd25e(0x1e6)](_0x4cd25e(0x2f4)),ge={'BINARY_TYPES':_0x11b955,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4cd25e(0x2ee),'hasBlob':_0x537323,'kForOnEventAttribute':Symbol(_0x4cd25e(0x2d6)),'kListener':Symbol(_0x4cd25e(0x27b)),'kStatusCode':Symbol(_0x4cd25e(0x2b5)),'kWebSocket':Symbol(_0x4cd25e(0x244)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x548fc7(0x158)],{'value':_0x548fc7(0x215)})),Lt=at(kt);var Ve;function ce(){const _0xa0ceb5=_0x548fc7;if(Ve)return se[_0xa0ceb5(0x1fe)];Ve=0x1;const {EMPTY_BUFFER:_0x5e78b3}=H(),_0x1af83f=Buffer[Symbol['species']];function _0xf2ab9f(_0x4812d3,_0x1f292b){const _0x34a765=_0xa0ceb5;if(_0x4812d3['length']===0x0)return _0x5e78b3;if(_0x4812d3[_0x34a765(0x284)]===0x1)return _0x4812d3[0x0];const _0x46d4fc=Buffer[_0x34a765(0x1d0)](_0x1f292b);let _0x52500a=0x0;for(let _0x4a9729=0x0;_0x4a9729<_0x4812d3[_0x34a765(0x284)];_0x4a9729++){const _0x3580a2=_0x4812d3[_0x4a9729];_0x46d4fc[_0x34a765(0x276)](_0x3580a2,_0x52500a),_0x52500a+=_0x3580a2['length'];}return _0x52500a<_0x1f292b?new _0x1af83f(_0x46d4fc[_0x34a765(0x216)],_0x46d4fc[_0x34a765(0x2d8)],_0x52500a):_0x46d4fc;}function _0x1e29cc(_0x5da862,_0x4235dc,_0x182966,_0x5c0eb7,_0x3d3dc8){for(let _0x13f168=0x0;_0x13f168<_0x3d3dc8;_0x13f168++)_0x182966[_0x5c0eb7+_0x13f168]=_0x5da862[_0x13f168]^_0x4235dc[_0x13f168&0x3];}function _0x4f73ca(_0x24a7e3,_0x1f4390){const _0xdfd85e=_0xa0ceb5;for(let _0x155123=0x0;_0x155123<_0x24a7e3[_0xdfd85e(0x284)];_0x155123++)_0x24a7e3[_0x155123]^=_0x1f4390[_0x155123&0x3];}function _0x5ed26b(_0x2eb431){const _0x57e5ca=_0xa0ceb5;return _0x2eb431['length']===_0x2eb431[_0x57e5ca(0x216)][_0x57e5ca(0x27f)]?_0x2eb431[_0x57e5ca(0x216)]:_0x2eb431[_0x57e5ca(0x216)][_0x57e5ca(0x1e0)](_0x2eb431['byteOffset'],_0x2eb431[_0x57e5ca(0x2d8)]+_0x2eb431[_0x57e5ca(0x284)]);}function _0x3ef103(_0x20bed2){const _0x6afa75=_0xa0ceb5;if(_0x3ef103['readOnly']=!0x0,Buffer[_0x6afa75(0x1d6)](_0x20bed2))return _0x20bed2;let _0x1eaced;return _0x20bed2 instanceof ArrayBuffer?_0x1eaced=new _0x1af83f(_0x20bed2):ArrayBuffer[_0x6afa75(0x16f)](_0x20bed2)?_0x1eaced=new _0x1af83f(_0x20bed2[_0x6afa75(0x216)],_0x20bed2['byteOffset'],_0x20bed2['byteLength']):(_0x1eaced=Buffer[_0x6afa75(0x1f2)](_0x20bed2),_0x3ef103['readOnly']=!0x1),_0x1eaced;}if(se[_0xa0ceb5(0x1fe)]={'concat':_0xf2ab9f,'mask':_0x1e29cc,'toArrayBuffer':_0x5ed26b,'toBuffer':_0x3ef103,'unmask':_0x4f73ca},!process[_0xa0ceb5(0x2ba)]['WS_NO_BUFFER_UTIL'])try{const _0xfd806e=Lt;se['exports'][_0xa0ceb5(0x173)]=function(_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211){const _0x311763=_0xa0ceb5;_0x218211<0x30?_0x1e29cc(_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211):_0xfd806e[_0x311763(0x173)](_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211);},se['exports']['unmask']=function(_0x453d4c,_0x5c1838){const _0x1ebc4a=_0xa0ceb5;_0x453d4c[_0x1ebc4a(0x284)]<0x20?_0x4f73ca(_0x453d4c,_0x5c1838):_0xfd806e[_0x1ebc4a(0x233)](_0x453d4c,_0x5c1838);};}catch{}return se[_0xa0ceb5(0x1fe)];}var ye,He;function Pt(){const _0xe0cefa=_0x548fc7;if(He)return ye;He=0x1;const _0x288f7f=Symbol('kDone'),_0x207eac=Symbol(_0xe0cefa(0x171));class _0x567c47{constructor(_0x587e03){const _0x2fbc4a=_0xe0cefa;this[_0x288f7f]=()=>{const _0x4434df=_0x4b9f;this[_0x4434df(0x1c6)]--,this[_0x207eac]();},this[_0x2fbc4a(0x2a4)]=_0x587e03||0x1/0x0,this[_0x2fbc4a(0x20c)]=[],this[_0x2fbc4a(0x1c6)]=0x0;}[_0xe0cefa(0x1c7)](_0x46e7d5){const _0x440a5a=_0xe0cefa;this[_0x440a5a(0x20c)]['push'](_0x46e7d5),this[_0x207eac]();}[_0x207eac](){const _0x9fefc6=_0xe0cefa;if(this['pending']!==this['concurrency']&&this[_0x9fefc6(0x20c)]['length']){const _0x89d678=this[_0x9fefc6(0x20c)][_0x9fefc6(0x2c3)]();this['pending']++,_0x89d678(this[_0x288f7f]);}}}return ye=_0x567c47,ye;}var ve,ze;function he(){const _0x24929f=_0x548fc7;if(ze)return ve;ze=0x1;const _0x434f22=bt,_0x1ce646=ce(),_0x3dca86=Pt(),{kStatusCode:_0x13b176}=H(),_0x56991d=Buffer[Symbol['species']],_0x5e9058=Buffer[_0x24929f(0x1f2)]([0x0,0x0,0xff,0xff]),_0x1ddba0=Symbol(_0x24929f(0x130)),_0x5c9018=Symbol(_0x24929f(0x246)),_0x3f8f6a=Symbol(_0x24929f(0x25a)),_0x18a649=Symbol(_0x24929f(0x196)),_0x4b3a05=Symbol(_0x24929f(0x134));let _0x134383;class _0x2e56c1{constructor(_0x33b937,_0x1815bf,_0x87cbee){const _0x4332aa=_0x24929f;if(this['_maxPayload']=_0x87cbee|0x0,this[_0x4332aa(0x212)]=_0x33b937||{},this[_0x4332aa(0x2b3)]=this[_0x4332aa(0x212)]['threshold']!==void 0x0?this['_options'][_0x4332aa(0x243)]:0x400,this['_isServer']=!!_0x1815bf,this[_0x4332aa(0x208)]=null,this[_0x4332aa(0x13b)]=null,this[_0x4332aa(0x1fa)]=null,!_0x134383){const _0x37e5ba=this[_0x4332aa(0x212)]['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x134383=new _0x3dca86(_0x37e5ba);}}static get[_0x24929f(0x2ad)](){const _0x3c9cdf=_0x24929f;return _0x3c9cdf(0x130);}[_0x24929f(0x256)](){const _0x38ed19=_0x24929f,_0xd95f09={};return this[_0x38ed19(0x212)][_0x38ed19(0x203)]&&(_0xd95f09[_0x38ed19(0x1a2)]=!0x0),this[_0x38ed19(0x212)][_0x38ed19(0x237)]&&(_0xd95f09[_0x38ed19(0x1c8)]=!0x0),this['_options'][_0x38ed19(0x2f2)]&&(_0xd95f09[_0x38ed19(0x211)]=this[_0x38ed19(0x212)][_0x38ed19(0x2f2)]),this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]?_0xd95f09[_0x38ed19(0x1e2)]=this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]:this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]==null&&(_0xd95f09[_0x38ed19(0x1e2)]=!0x0),_0xd95f09;}[_0x24929f(0x19f)](_0xc2d9b0){const _0x452a8f=_0x24929f;return _0xc2d9b0=this['normalizeParams'](_0xc2d9b0),this[_0x452a8f(0x1fa)]=this[_0x452a8f(0x1ae)]?this[_0x452a8f(0x28a)](_0xc2d9b0):this[_0x452a8f(0x19e)](_0xc2d9b0),this[_0x452a8f(0x1fa)];}[_0x24929f(0x178)](){const _0x5da182=_0x24929f;if(this[_0x5da182(0x13b)]&&(this[_0x5da182(0x13b)]['close'](),this[_0x5da182(0x13b)]=null),this[_0x5da182(0x208)]){const _0x3113c8=this[_0x5da182(0x208)][_0x3f8f6a];this[_0x5da182(0x208)][_0x5da182(0x29e)](),this[_0x5da182(0x208)]=null,_0x3113c8&&_0x3113c8(new Error(_0x5da182(0x273)));}}['acceptAsServer'](_0x3cf0fe){const _0x5b75db=_0x24929f,_0x41ae1b=this[_0x5b75db(0x212)],_0x161182=_0x3cf0fe[_0x5b75db(0x15b)](_0x4821d7=>!(_0x41ae1b[_0x5b75db(0x203)]===!0x1&&_0x4821d7[_0x5b75db(0x1a2)]||_0x4821d7[_0x5b75db(0x211)]&&(_0x41ae1b[_0x5b75db(0x2f2)]===!0x1||typeof _0x41ae1b[_0x5b75db(0x2f2)]==_0x5b75db(0x262)&&_0x41ae1b[_0x5b75db(0x2f2)]>_0x4821d7[_0x5b75db(0x211)])||typeof _0x41ae1b[_0x5b75db(0x1b2)]==_0x5b75db(0x262)&&!_0x4821d7[_0x5b75db(0x1e2)]));if(!_0x161182)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x41ae1b[_0x5b75db(0x203)]&&(_0x161182[_0x5b75db(0x1a2)]=!0x0),_0x41ae1b['clientNoContextTakeover']&&(_0x161182[_0x5b75db(0x1c8)]=!0x0),typeof _0x41ae1b['serverMaxWindowBits']==_0x5b75db(0x262)&&(_0x161182[_0x5b75db(0x211)]=_0x41ae1b[_0x5b75db(0x2f2)]),typeof _0x41ae1b['clientMaxWindowBits']==_0x5b75db(0x262)?_0x161182[_0x5b75db(0x1e2)]=_0x41ae1b[_0x5b75db(0x1b2)]:(_0x161182['client_max_window_bits']===!0x0||_0x41ae1b[_0x5b75db(0x1b2)]===!0x1)&&delete _0x161182['client_max_window_bits'],_0x161182;}[_0x24929f(0x19e)](_0x1ce41a){const _0x4c291d=_0x24929f,_0x37f75b=_0x1ce41a[0x0];if(this[_0x4c291d(0x212)][_0x4c291d(0x237)]===!0x1&&_0x37f75b[_0x4c291d(0x1c8)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x37f75b['client_max_window_bits'])typeof this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]==_0x4c291d(0x262)&&(_0x37f75b['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]===!0x1||typeof this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]=='number'&&_0x37f75b['client_max_window_bits']>this[_0x4c291d(0x212)][_0x4c291d(0x1b2)])throw new Error(_0x4c291d(0x2d9));}return _0x37f75b;}[_0x24929f(0x290)](_0x44a942){const _0x1a0760=_0x24929f;return _0x44a942[_0x1a0760(0x269)](_0x35dbd7=>{const _0x397f33=_0x1a0760;Object[_0x397f33(0x17f)](_0x35dbd7)[_0x397f33(0x269)](_0x1ab9f9=>{const _0x261e66=_0x397f33;let _0x556b0b=_0x35dbd7[_0x1ab9f9];if(_0x556b0b[_0x261e66(0x284)]>0x1)throw new Error(_0x261e66(0x17d)+_0x1ab9f9+_0x261e66(0x277));if(_0x556b0b=_0x556b0b[0x0],_0x1ab9f9===_0x261e66(0x1e2)){if(_0x556b0b!==!0x0){const _0x41dcfd=+_0x556b0b;if(!Number[_0x261e66(0x13c)](_0x41dcfd)||_0x41dcfd<0x8||_0x41dcfd>0xf)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);_0x556b0b=_0x41dcfd;}else{if(!this[_0x261e66(0x1ae)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);}}else{if(_0x1ab9f9===_0x261e66(0x211)){const _0x4114af=+_0x556b0b;if(!Number[_0x261e66(0x13c)](_0x4114af)||_0x4114af<0x8||_0x4114af>0xf)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);_0x556b0b=_0x4114af;}else{if(_0x1ab9f9===_0x261e66(0x1c8)||_0x1ab9f9===_0x261e66(0x1a2)){if(_0x556b0b!==!0x0)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);}else throw new Error(_0x261e66(0x1c3)+_0x1ab9f9+'\x22');}}_0x35dbd7[_0x1ab9f9]=_0x556b0b;});}),_0x44a942;}[_0x24929f(0x267)](_0x585616,_0x1e9139,_0x55f634){const _0x46de4a=_0x24929f;_0x134383[_0x46de4a(0x1c7)](_0xd949e=>{this['_decompress'](_0x585616,_0x1e9139,(_0x1cf2f4,_0x47e9da)=>{_0xd949e(),_0x55f634(_0x1cf2f4,_0x47e9da);});});}[_0x24929f(0x16e)](_0x1834cb,_0x43fd09,_0x2586fd){const _0x46815a=_0x24929f;_0x134383[_0x46815a(0x1c7)](_0x80bf8d=>{const _0x45f929=_0x46815a;this[_0x45f929(0x2bc)](_0x1834cb,_0x43fd09,(_0x5b9cac,_0x201066)=>{_0x80bf8d(),_0x2586fd(_0x5b9cac,_0x201066);});});}[_0x24929f(0x2e9)](_0x4eb2a4,_0x26b566,_0x167cdd){const _0x168e23=_0x24929f,_0x1247e4=this['_isServer']?_0x168e23(0x2f0):'server';if(!this[_0x168e23(0x13b)]){const _0x55a4d7=_0x1247e4+_0x168e23(0x1e9),_0x41561f=typeof this[_0x168e23(0x1fa)][_0x55a4d7]!=_0x168e23(0x262)?_0x434f22[_0x168e23(0x2c7)]:this[_0x168e23(0x1fa)][_0x55a4d7];this[_0x168e23(0x13b)]=_0x434f22[_0x168e23(0x22d)]({...this[_0x168e23(0x212)][_0x168e23(0x147)],'windowBits':_0x41561f}),this[_0x168e23(0x13b)][_0x1ddba0]=this,this['_inflate'][_0x5c9018]=0x0,this['_inflate'][_0x18a649]=[],this[_0x168e23(0x13b)]['on'](_0x168e23(0x134),_0x5d669e),this[_0x168e23(0x13b)]['on'](_0x168e23(0x2e6),_0x34d5f0);}this['_inflate'][_0x3f8f6a]=_0x167cdd,this[_0x168e23(0x13b)][_0x168e23(0x1eb)](_0x4eb2a4),_0x26b566&&this[_0x168e23(0x13b)]['write'](_0x5e9058),this[_0x168e23(0x13b)]['flush'](()=>{const _0x47ab4a=_0x168e23,_0x1cb7f1=this[_0x47ab4a(0x13b)][_0x4b3a05];if(_0x1cb7f1){this[_0x47ab4a(0x13b)][_0x47ab4a(0x29e)](),this[_0x47ab4a(0x13b)]=null,_0x167cdd(_0x1cb7f1);return;}const _0x507469=_0x1ce646[_0x47ab4a(0x14d)](this[_0x47ab4a(0x13b)][_0x18a649],this[_0x47ab4a(0x13b)][_0x5c9018]);this[_0x47ab4a(0x13b)][_0x47ab4a(0x1d3)][_0x47ab4a(0x17c)]?(this[_0x47ab4a(0x13b)][_0x47ab4a(0x29e)](),this[_0x47ab4a(0x13b)]=null):(this[_0x47ab4a(0x13b)][_0x5c9018]=0x0,this[_0x47ab4a(0x13b)][_0x18a649]=[],_0x26b566&&this[_0x47ab4a(0x1fa)][_0x1247e4+_0x47ab4a(0x205)]&&this[_0x47ab4a(0x13b)][_0x47ab4a(0x2c2)]()),_0x167cdd(null,_0x507469);});}[_0x24929f(0x2bc)](_0x1c3e57,_0x14add6,_0x205a18){const _0x2fb902=_0x24929f,_0x1cc2ee=this[_0x2fb902(0x1ae)]?_0x2fb902(0x148):_0x2fb902(0x2f0);if(!this[_0x2fb902(0x208)]){const _0x1eddae=_0x1cc2ee+_0x2fb902(0x1e9),_0x3d4a3f=typeof this[_0x2fb902(0x1fa)][_0x1eddae]!=_0x2fb902(0x262)?_0x434f22[_0x2fb902(0x2c7)]:this[_0x2fb902(0x1fa)][_0x1eddae];this[_0x2fb902(0x208)]=_0x434f22[_0x2fb902(0x1d4)]({...this[_0x2fb902(0x212)][_0x2fb902(0x1ed)],'windowBits':_0x3d4a3f}),this[_0x2fb902(0x208)][_0x5c9018]=0x0,this[_0x2fb902(0x208)][_0x18a649]=[],this[_0x2fb902(0x208)]['on']('data',_0x33df68);}this[_0x2fb902(0x208)][_0x3f8f6a]=_0x205a18,this['_deflate']['write'](_0x1c3e57),this[_0x2fb902(0x208)][_0x2fb902(0x16a)](_0x434f22[_0x2fb902(0x279)],()=>{const _0x5480c2=_0x2fb902;if(!this[_0x5480c2(0x208)])return;let _0x599ca5=_0x1ce646[_0x5480c2(0x14d)](this[_0x5480c2(0x208)][_0x18a649],this[_0x5480c2(0x208)][_0x5c9018]);_0x14add6&&(_0x599ca5=new _0x56991d(_0x599ca5[_0x5480c2(0x216)],_0x599ca5[_0x5480c2(0x2d8)],_0x599ca5[_0x5480c2(0x284)]-0x4)),this['_deflate'][_0x3f8f6a]=null,this[_0x5480c2(0x208)][_0x5c9018]=0x0,this[_0x5480c2(0x208)][_0x18a649]=[],_0x14add6&&this['params'][_0x1cc2ee+'_no_context_takeover']&&this[_0x5480c2(0x208)][_0x5480c2(0x2c2)](),_0x205a18(null,_0x599ca5);});}}ve=_0x2e56c1;function _0x33df68(_0x6771d3){const _0x325727=_0x24929f;this[_0x18a649]['push'](_0x6771d3),this[_0x5c9018]+=_0x6771d3[_0x325727(0x284)];}function _0x34d5f0(_0x19e005){const _0x2b8611=_0x24929f;if(this[_0x5c9018]+=_0x19e005[_0x2b8611(0x284)],this[_0x1ddba0]['_maxPayload']<0x1||this[_0x5c9018]<=this[_0x1ddba0][_0x2b8611(0x177)]){this[_0x18a649][_0x2b8611(0x1e6)](_0x19e005);return;}this[_0x4b3a05]=new RangeError(_0x2b8611(0x285)),this[_0x4b3a05]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4b3a05][_0x13b176]=0x3f1,this[_0x2b8611(0x2de)]('data',_0x34d5f0),this[_0x2b8611(0x2c2)]();}function _0x5d669e(_0x5c528c){if(this[_0x1ddba0]['_inflate']=null,this[_0x4b3a05]){this[_0x3f8f6a](this[_0x4b3a05]);return;}_0x5c528c[_0x13b176]=0x3ef,this[_0x3f8f6a](_0x5c528c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x548fc7(0x2a6)]({'__proto__':null,'default':Dt},Symbol[_0x548fc7(0x158)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x40bcc4=_0x548fc7;if(Ye)return ie[_0x40bcc4(0x1fe)];Ye=0x1;const {isUtf8:_0x1bd981}=wt,{hasBlob:_0x3fbbd3}=H(),_0x2dc411=[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 _0x1d7101(_0x25b940){return _0x25b940>=0x3e8&&_0x25b940<=0x3f6&&_0x25b940!==0x3ec&&_0x25b940!==0x3ed&&_0x25b940!==0x3ee||_0x25b940>=0xbb8&&_0x25b940<=0x1387;}function _0x55882d(_0x4d1f08){const _0x3bb623=_0x40bcc4,_0x131cb7=_0x4d1f08[_0x3bb623(0x284)];let _0x3d3305=0x0;for(;_0x3d3305<_0x131cb7;)if((_0x4d1f08[_0x3d3305]&0x80)===0x0)_0x3d3305++;else{if((_0x4d1f08[_0x3d3305]&0xe0)===0xc0){if(_0x3d3305+0x1===_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305]&0xfe)===0xc0)return!0x1;_0x3d3305+=0x2;}else{if((_0x4d1f08[_0x3d3305]&0xf0)===0xe0){if(_0x3d3305+0x2>=_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x2]&0xc0)!==0x80||_0x4d1f08[_0x3d3305]===0xe0&&(_0x4d1f08[_0x3d3305+0x1]&0xe0)===0x80||_0x4d1f08[_0x3d3305]===0xed&&(_0x4d1f08[_0x3d3305+0x1]&0xe0)===0xa0)return!0x1;_0x3d3305+=0x3;}else{if((_0x4d1f08[_0x3d3305]&0xf8)===0xf0){if(_0x3d3305+0x3>=_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x2]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x3]&0xc0)!==0x80||_0x4d1f08[_0x3d3305]===0xf0&&(_0x4d1f08[_0x3d3305+0x1]&0xf0)===0x80||_0x4d1f08[_0x3d3305]===0xf4&&_0x4d1f08[_0x3d3305+0x1]>0x8f||_0x4d1f08[_0x3d3305]>0xf4)return!0x1;_0x3d3305+=0x4;}else return!0x1;}}}return!0x0;}function _0x29d102(_0x3a3365){const _0x4cd977=_0x40bcc4;return _0x3fbbd3&&typeof _0x3a3365==_0x4cd977(0x2b0)&&typeof _0x3a3365[_0x4cd977(0x294)]==_0x4cd977(0x164)&&typeof _0x3a3365[_0x4cd977(0x2c9)]==_0x4cd977(0x21c)&&typeof _0x3a3365[_0x4cd977(0x23e)]==_0x4cd977(0x164)&&(_0x3a3365[Symbol[_0x4cd977(0x158)]]==='Blob'||_0x3a3365[Symbol[_0x4cd977(0x158)]]===_0x4cd977(0x202));}if(ie[_0x40bcc4(0x1fe)]={'isBlob':_0x29d102,'isValidStatusCode':_0x1d7101,'isValidUTF8':_0x55882d,'tokenChars':_0x2dc411},_0x1bd981)ie[_0x40bcc4(0x1fe)][_0x40bcc4(0x2ef)]=function(_0x287c8c){const _0x266225=_0x40bcc4;return _0x287c8c[_0x266225(0x284)]<0x18?_0x55882d(_0x287c8c):_0x1bd981(_0x287c8c);};else{if(!process[_0x40bcc4(0x2ba)]['WS_NO_UTF_8_VALIDATE'])try{const _0x26a288=Bt;ie[_0x40bcc4(0x1fe)][_0x40bcc4(0x2ef)]=function(_0x50637e){const _0x222d91=_0x40bcc4;return _0x50637e[_0x222d91(0x284)]<0x20?_0x55882d(_0x50637e):_0x26a288(_0x50637e);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5231c6=_0x548fc7;if(Ke)return Se;Ke=0x1;const {Writable:_0x4d1d62}=oe,_0x1d025e=he(),{BINARY_TYPES:_0x145737,EMPTY_BUFFER:_0x59262c,kStatusCode:_0x589a60,kWebSocket:_0x12592e}=H(),{concat:_0xb619f8,toArrayBuffer:_0x55654d,unmask:_0x3682de}=ce(),{isValidStatusCode:_0xbcd536,isValidUTF8:_0x38c886}=ae(),_0x21840c=Buffer[Symbol[_0x5231c6(0x28e)]],_0x432c91=0x0,_0x1197d8=0x1,_0x293629=0x2,_0x2e981f=0x3,_0x186447=0x4,_0x15e1e1=0x5,_0x25010a=0x6;class _0x93b045 extends _0x4d1d62{constructor(_0x36ec70={}){const _0x270926=_0x5231c6;super(),this['_allowSynchronousEvents']=_0x36ec70[_0x270926(0x1b4)]!==void 0x0?_0x36ec70[_0x270926(0x1b4)]:!0x0,this[_0x270926(0x2e2)]=_0x36ec70[_0x270926(0x1f3)]||_0x145737[0x0],this['_extensions']=_0x36ec70[_0x270926(0x190)]||{},this[_0x270926(0x1ae)]=!!_0x36ec70[_0x270926(0x271)],this[_0x270926(0x177)]=_0x36ec70[_0x270926(0x17a)]|0x0,this['_skipUTF8Validation']=!!_0x36ec70[_0x270926(0x1d9)],this[_0x12592e]=void 0x0,this[_0x270926(0x224)]=0x0,this[_0x270926(0x2c1)]=[],this[_0x270926(0x139)]=!0x1,this[_0x270926(0x19d)]=0x0,this[_0x270926(0x25f)]=void 0x0,this[_0x270926(0x1c9)]=0x0,this[_0x270926(0x289)]=!0x1,this[_0x270926(0x2b4)]=!0x1,this[_0x270926(0x175)]=0x0,this[_0x270926(0x209)]=0x0,this[_0x270926(0x1ca)]=0x0,this['_fragments']=[],this[_0x270926(0x1bd)]=!0x1,this['_loop']=!0x1,this[_0x270926(0x201)]=_0x432c91;}[_0x5231c6(0x1ac)](_0x50cbd7,_0x2e868f,_0x205dec){const _0x12b01e=_0x5231c6;if(this[_0x12b01e(0x175)]===0x8&&this[_0x12b01e(0x201)]==_0x432c91)return _0x205dec();this[_0x12b01e(0x224)]+=_0x50cbd7['length'],this[_0x12b01e(0x2c1)][_0x12b01e(0x1e6)](_0x50cbd7),this[_0x12b01e(0x14c)](_0x205dec);}['consume'](_0x4321be){const _0x4038de=_0x5231c6;if(this[_0x4038de(0x224)]-=_0x4321be,_0x4321be===this[_0x4038de(0x2c1)][0x0][_0x4038de(0x284)])return this['_buffers'][_0x4038de(0x2c3)]();if(_0x4321be<this[_0x4038de(0x2c1)][0x0]['length']){const _0x31c1a3=this[_0x4038de(0x2c1)][0x0];return this['_buffers'][0x0]=new _0x21840c(_0x31c1a3[_0x4038de(0x216)],_0x31c1a3['byteOffset']+_0x4321be,_0x31c1a3[_0x4038de(0x284)]-_0x4321be),new _0x21840c(_0x31c1a3[_0x4038de(0x216)],_0x31c1a3['byteOffset'],_0x4321be);}const _0x114f06=Buffer[_0x4038de(0x1d0)](_0x4321be);do{const _0x3efaa6=this[_0x4038de(0x2c1)][0x0],_0x364a79=_0x114f06[_0x4038de(0x284)]-_0x4321be;_0x4321be>=_0x3efaa6[_0x4038de(0x284)]?_0x114f06[_0x4038de(0x276)](this[_0x4038de(0x2c1)][_0x4038de(0x2c3)](),_0x364a79):(_0x114f06[_0x4038de(0x276)](new Uint8Array(_0x3efaa6[_0x4038de(0x216)],_0x3efaa6[_0x4038de(0x2d8)],_0x4321be),_0x364a79),this[_0x4038de(0x2c1)][0x0]=new _0x21840c(_0x3efaa6[_0x4038de(0x216)],_0x3efaa6[_0x4038de(0x2d8)]+_0x4321be,_0x3efaa6[_0x4038de(0x284)]-_0x4321be)),_0x4321be-=_0x3efaa6['length'];}while(_0x4321be>0x0);return _0x114f06;}[_0x5231c6(0x14c)](_0x1af04e){const _0x5590c1=_0x5231c6;this[_0x5590c1(0x1ff)]=!0x0;do switch(this['_state']){case _0x432c91:this['getInfo'](_0x1af04e);break;case _0x1197d8:this['getPayloadLength16'](_0x1af04e);break;case _0x293629:this[_0x5590c1(0x2cf)](_0x1af04e);break;case _0x2e981f:this[_0x5590c1(0x154)]();break;case _0x186447:this[_0x5590c1(0x1c1)](_0x1af04e);break;case _0x15e1e1:case _0x25010a:this[_0x5590c1(0x1ff)]=!0x1;return;}while(this[_0x5590c1(0x1ff)]);this['_errored']||_0x1af04e();}[_0x5231c6(0x28f)](_0x1064c1){const _0x445d0f=_0x5231c6;if(this['_bufferedBytes']<0x2){this[_0x445d0f(0x1ff)]=!0x1;return;}const _0x2e1ea3=this['consume'](0x2);if((_0x2e1ea3[0x0]&0x30)!==0x0){const _0x32468a=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x207),!0x0,0x3ea,_0x445d0f(0x253));_0x1064c1(_0x32468a);return;}const _0x1cb5a2=(_0x2e1ea3[0x0]&0x40)===0x40;if(_0x1cb5a2&&!this[_0x445d0f(0x1a9)][_0x1d025e['extensionName']]){const _0x15b2e2=this[_0x445d0f(0x258)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1064c1(_0x15b2e2);return;}if(this[_0x445d0f(0x2b4)]=(_0x2e1ea3[0x0]&0x80)===0x80,this[_0x445d0f(0x175)]=_0x2e1ea3[0x0]&0xf,this['_payloadLength']=_0x2e1ea3[0x1]&0x7f,this[_0x445d0f(0x175)]===0x0){if(_0x1cb5a2){const _0x5e68ac=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1fd),!0x0,0x3ea,_0x445d0f(0x132));_0x1064c1(_0x5e68ac);return;}if(!this['_fragmented']){const _0x4771e1=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1db),!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x4771e1);return;}this[_0x445d0f(0x175)]=this[_0x445d0f(0x1c9)];}else{if(this[_0x445d0f(0x175)]===0x1||this[_0x445d0f(0x175)]===0x2){if(this[_0x445d0f(0x1c9)]){const _0x214b69=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x14a)+this['_opcode'],!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x214b69);return;}this[_0x445d0f(0x139)]=_0x1cb5a2;}else{if(this[_0x445d0f(0x175)]>0x7&&this['_opcode']<0xb){if(!this[_0x445d0f(0x2b4)]){const _0x3ffec1=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x2ce),!0x0,0x3ea,_0x445d0f(0x2ab));_0x1064c1(_0x3ffec1);return;}if(_0x1cb5a2){const _0x148ec7=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1fd),!0x0,0x3ea,_0x445d0f(0x132));_0x1064c1(_0x148ec7);return;}if(this[_0x445d0f(0x19d)]>0x7d||this[_0x445d0f(0x175)]===0x8&&this[_0x445d0f(0x19d)]===0x1){const _0x1ef513=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x255)+this[_0x445d0f(0x19d)],!0x0,0x3ea,_0x445d0f(0x24f));_0x1064c1(_0x1ef513);return;}}else{const _0x4544d1=this['createError'](RangeError,_0x445d0f(0x14a)+this[_0x445d0f(0x175)],!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x4544d1);return;}}}if(!this[_0x445d0f(0x2b4)]&&!this[_0x445d0f(0x1c9)]&&(this[_0x445d0f(0x1c9)]=this[_0x445d0f(0x175)]),this['_masked']=(_0x2e1ea3[0x1]&0x80)===0x80,this[_0x445d0f(0x1ae)]){if(!this[_0x445d0f(0x289)]){const _0x4af4dd=this['createError'](RangeError,_0x445d0f(0x1e1),!0x0,0x3ea,_0x445d0f(0x297));_0x1064c1(_0x4af4dd);return;}}else{if(this[_0x445d0f(0x289)]){const _0xe4a07=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x275),!0x0,0x3ea,_0x445d0f(0x1b0));_0x1064c1(_0xe4a07);return;}}this['_payloadLength']===0x7e?this[_0x445d0f(0x201)]=_0x1197d8:this['_payloadLength']===0x7f?this['_state']=_0x293629:this['haveLength'](_0x1064c1);}[_0x5231c6(0x221)](_0x4c9e02){const _0x217bb3=_0x5231c6;if(this['_bufferedBytes']<0x2){this[_0x217bb3(0x1ff)]=!0x1;return;}this['_payloadLength']=this[_0x217bb3(0x1e8)](0x2)[_0x217bb3(0x232)](0x0),this[_0x217bb3(0x23c)](_0x4c9e02);}[_0x5231c6(0x2cf)](_0x592f86){const _0x47c339=_0x5231c6;if(this[_0x47c339(0x224)]<0x8){this['_loop']=!0x1;return;}const _0x37ba8a=this[_0x47c339(0x1e8)](0x8),_0x28ecb8=_0x37ba8a[_0x47c339(0x250)](0x0);if(_0x28ecb8>Math[_0x47c339(0x204)](0x2,0x15)-0x1){const _0x48959a=this[_0x47c339(0x258)](RangeError,_0x47c339(0x287),!0x1,0x3f1,_0x47c339(0x1aa));_0x592f86(_0x48959a);return;}this['_payloadLength']=_0x28ecb8*Math[_0x47c339(0x204)](0x2,0x20)+_0x37ba8a['readUInt32BE'](0x4),this[_0x47c339(0x23c)](_0x592f86);}[_0x5231c6(0x23c)](_0x5e0d84){const _0x7d4392=_0x5231c6;if(this[_0x7d4392(0x19d)]&&this[_0x7d4392(0x175)]<0x8&&(this['_totalPayloadLength']+=this[_0x7d4392(0x19d)],this[_0x7d4392(0x209)]>this[_0x7d4392(0x177)]&&this[_0x7d4392(0x177)]>0x0)){const _0x203f3b=this[_0x7d4392(0x258)](RangeError,_0x7d4392(0x285),!0x1,0x3f1,_0x7d4392(0x257));_0x5e0d84(_0x203f3b);return;}this[_0x7d4392(0x289)]?this[_0x7d4392(0x201)]=_0x2e981f:this['_state']=_0x186447;}[_0x5231c6(0x154)](){const _0x54217a=_0x5231c6;if(this[_0x54217a(0x224)]<0x4){this[_0x54217a(0x1ff)]=!0x1;return;}this['_mask']=this[_0x54217a(0x1e8)](0x4),this[_0x54217a(0x201)]=_0x186447;}[_0x5231c6(0x1c1)](_0x176829){const _0x30bb3c=_0x5231c6;let _0x39c08d=_0x59262c;if(this[_0x30bb3c(0x19d)]){if(this['_bufferedBytes']<this[_0x30bb3c(0x19d)]){this[_0x30bb3c(0x1ff)]=!0x1;return;}_0x39c08d=this[_0x30bb3c(0x1e8)](this[_0x30bb3c(0x19d)]),this[_0x30bb3c(0x289)]&&(this[_0x30bb3c(0x25f)][0x0]|this[_0x30bb3c(0x25f)][0x1]|this[_0x30bb3c(0x25f)][0x2]|this[_0x30bb3c(0x25f)][0x3])!==0x0&&_0x3682de(_0x39c08d,this[_0x30bb3c(0x25f)]);}if(this[_0x30bb3c(0x175)]>0x7){this[_0x30bb3c(0x27c)](_0x39c08d,_0x176829);return;}if(this[_0x30bb3c(0x139)]){this['_state']=_0x15e1e1,this[_0x30bb3c(0x267)](_0x39c08d,_0x176829);return;}_0x39c08d[_0x30bb3c(0x284)]&&(this[_0x30bb3c(0x1ca)]=this[_0x30bb3c(0x209)],this['_fragments'][_0x30bb3c(0x1e6)](_0x39c08d)),this[_0x30bb3c(0x1b7)](_0x176829);}[_0x5231c6(0x267)](_0x7673bf,_0x47ddd7){const _0x18afdb=_0x5231c6;this[_0x18afdb(0x1a9)][_0x1d025e['extensionName']][_0x18afdb(0x267)](_0x7673bf,this[_0x18afdb(0x2b4)],(_0x51b336,_0x15775a)=>{const _0x3a2e4d=_0x18afdb;if(_0x51b336)return _0x47ddd7(_0x51b336);if(_0x15775a[_0x3a2e4d(0x284)]){if(this[_0x3a2e4d(0x1ca)]+=_0x15775a[_0x3a2e4d(0x284)],this[_0x3a2e4d(0x1ca)]>this[_0x3a2e4d(0x177)]&&this[_0x3a2e4d(0x177)]>0x0){const _0x32d6a4=this[_0x3a2e4d(0x258)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3a2e4d(0x257));_0x47ddd7(_0x32d6a4);return;}this[_0x3a2e4d(0x263)]['push'](_0x15775a);}this[_0x3a2e4d(0x1b7)](_0x47ddd7),this[_0x3a2e4d(0x201)]===_0x432c91&&this[_0x3a2e4d(0x14c)](_0x47ddd7);});}['dataMessage'](_0x476b6c){const _0x5ac373=_0x5231c6;if(!this['_fin']){this['_state']=_0x432c91;return;}const _0x2e13b1=this[_0x5ac373(0x1ca)],_0x48f82c=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x5ac373(0x1ca)]=0x0,this[_0x5ac373(0x1c9)]=0x0,this['_fragments']=[],this[_0x5ac373(0x175)]===0x2){let _0x52737b;this[_0x5ac373(0x2e2)]==='nodebuffer'?_0x52737b=_0xb619f8(_0x48f82c,_0x2e13b1):this[_0x5ac373(0x2e2)]===_0x5ac373(0x184)?_0x52737b=_0x55654d(_0xb619f8(_0x48f82c,_0x2e13b1)):this[_0x5ac373(0x2e2)]===_0x5ac373(0x2f4)?_0x52737b=new Blob(_0x48f82c):_0x52737b=_0x48f82c,this[_0x5ac373(0x161)]?(this[_0x5ac373(0x26d)](_0x5ac373(0x1a4),_0x52737b,!0x0),this['_state']=_0x432c91):(this['_state']=_0x25010a,setImmediate(()=>{const _0x2b938d=_0x5ac373;this[_0x2b938d(0x26d)](_0x2b938d(0x1a4),_0x52737b,!0x0),this[_0x2b938d(0x201)]=_0x432c91,this[_0x2b938d(0x14c)](_0x476b6c);}));}else{const _0x297cdf=_0xb619f8(_0x48f82c,_0x2e13b1);if(!this[_0x5ac373(0x291)]&&!_0x38c886(_0x297cdf)){const _0x2df7fd=this[_0x5ac373(0x258)](Error,_0x5ac373(0x23b),!0x0,0x3ef,_0x5ac373(0x274));_0x476b6c(_0x2df7fd);return;}this['_state']===_0x15e1e1||this[_0x5ac373(0x161)]?(this[_0x5ac373(0x26d)](_0x5ac373(0x1a4),_0x297cdf,!0x1),this[_0x5ac373(0x201)]=_0x432c91):(this[_0x5ac373(0x201)]=_0x25010a,setImmediate(()=>{const _0x59a48e=_0x5ac373;this['emit'](_0x59a48e(0x1a4),_0x297cdf,!0x1),this['_state']=_0x432c91,this[_0x59a48e(0x14c)](_0x476b6c);}));}}[_0x5231c6(0x27c)](_0x541150,_0x13d2da){const _0x408369=_0x5231c6;if(this['_opcode']===0x8){if(_0x541150['length']===0x0)this[_0x408369(0x1ff)]=!0x1,this['emit'](_0x408369(0x299),0x3ed,_0x59262c),this[_0x408369(0x170)]();else{const _0x23b9c7=_0x541150[_0x408369(0x232)](0x0);if(!_0xbcd536(_0x23b9c7)){const _0x276474=this['createError'](RangeError,_0x408369(0x252)+_0x23b9c7,!0x0,0x3ea,_0x408369(0x1e3));_0x13d2da(_0x276474);return;}const _0x16e920=new _0x21840c(_0x541150[_0x408369(0x216)],_0x541150[_0x408369(0x2d8)]+0x2,_0x541150[_0x408369(0x284)]-0x2);if(!this[_0x408369(0x291)]&&!_0x38c886(_0x16e920)){const _0x3bfe48=this[_0x408369(0x258)](Error,_0x408369(0x23b),!0x0,0x3ef,_0x408369(0x274));_0x13d2da(_0x3bfe48);return;}this['_loop']=!0x1,this[_0x408369(0x26d)](_0x408369(0x299),_0x23b9c7,_0x16e920),this[_0x408369(0x170)]();}this[_0x408369(0x201)]=_0x432c91;return;}this[_0x408369(0x161)]?(this[_0x408369(0x26d)](this[_0x408369(0x175)]===0x9?'ping':'pong',_0x541150),this['_state']=_0x432c91):(this[_0x408369(0x201)]=_0x25010a,setImmediate(()=>{const _0x185583=_0x408369;this[_0x185583(0x26d)](this[_0x185583(0x175)]===0x9?_0x185583(0x1b6):'pong',_0x541150),this[_0x185583(0x201)]=_0x432c91,this[_0x185583(0x14c)](_0x13d2da);}));}[_0x5231c6(0x258)](_0x41edc6,_0x3c975c,_0x511332,_0x599c6f,_0x420cf9){const _0x5b1588=_0x5231c6;this[_0x5b1588(0x1ff)]=!0x1,this[_0x5b1588(0x1bd)]=!0x0;const _0x52a630=new _0x41edc6(_0x511332?'Invalid\x20WebSocket\x20frame:\x20'+_0x3c975c:_0x3c975c);return Error['captureStackTrace'](_0x52a630,this['createError']),_0x52a630[_0x5b1588(0x1ea)]=_0x420cf9,_0x52a630[_0x589a60]=_0x599c6f,_0x52a630;}}return Se=_0x93b045,Se;}var Ee,Xe;function ft(){const _0x109ff7=_0x548fc7;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x21e5f7}=oe,{randomFillSync:_0x287c8d}=Le,_0x5a4823=he(),{EMPTY_BUFFER:_0x3b6a40,kWebSocket:_0x27a30e,NOOP:_0x3f411d}=H(),{isBlob:_0x526e45,isValidStatusCode:_0x1e90d5}=ae(),{mask:_0x199629,toBuffer:_0xc66bd0}=ce(),_0x2576bd=Symbol(_0x109ff7(0x27a)),_0x5d6dc5=Buffer[_0x109ff7(0x19a)](0x4),_0x1d4d00=0x8*0x400;let _0x4b98dd,_0x2baa84=_0x1d4d00;const _0x4d6531=0x0,_0x4dce64=0x1,_0x335f90=0x2;class _0x998e4d{constructor(_0x4bee05,_0x1a7824,_0x41808e){const _0x40fd0d=_0x109ff7;this[_0x40fd0d(0x1a9)]=_0x1a7824||{},_0x41808e&&(this[_0x40fd0d(0x1cd)]=_0x41808e,this[_0x40fd0d(0x20b)]=Buffer[_0x40fd0d(0x19a)](0x4)),this[_0x40fd0d(0x2a0)]=_0x4bee05,this[_0x40fd0d(0x1c4)]=!0x0,this[_0x40fd0d(0x2bc)]=!0x1,this['_bufferedBytes']=0x0,this[_0x40fd0d(0x23f)]=[],this[_0x40fd0d(0x201)]=_0x4d6531,this['onerror']=_0x3f411d,this[_0x27a30e]=void 0x0;}static[_0x109ff7(0x2e3)](_0xf82aa6,_0x513940){const _0x22786f=_0x109ff7;let _0x2658a7,_0x1bec83=!0x1,_0x1a84dc=0x2,_0x177be5=!0x1;_0x513940[_0x22786f(0x173)]&&(_0x2658a7=_0x513940['maskBuffer']||_0x5d6dc5,_0x513940[_0x22786f(0x18e)]?_0x513940[_0x22786f(0x18e)](_0x2658a7):(_0x2baa84===_0x1d4d00&&(_0x4b98dd===void 0x0&&(_0x4b98dd=Buffer[_0x22786f(0x19a)](_0x1d4d00)),_0x287c8d(_0x4b98dd,0x0,_0x1d4d00),_0x2baa84=0x0),_0x2658a7[0x0]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x1]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x2]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x3]=_0x4b98dd[_0x2baa84++]),_0x177be5=(_0x2658a7[0x0]|_0x2658a7[0x1]|_0x2658a7[0x2]|_0x2658a7[0x3])===0x0,_0x1a84dc=0x6);let _0x3dcf46;typeof _0xf82aa6==_0x22786f(0x21c)?(!_0x513940[_0x22786f(0x173)]||_0x177be5)&&_0x513940[_0x2576bd]!==void 0x0?_0x3dcf46=_0x513940[_0x2576bd]:(_0xf82aa6=Buffer[_0x22786f(0x1f2)](_0xf82aa6),_0x3dcf46=_0xf82aa6[_0x22786f(0x284)]):(_0x3dcf46=_0xf82aa6[_0x22786f(0x284)],_0x1bec83=_0x513940[_0x22786f(0x173)]&&_0x513940[_0x22786f(0x280)]&&!_0x177be5);let _0x22177f=_0x3dcf46;_0x3dcf46>=0x10000?(_0x1a84dc+=0x8,_0x22177f=0x7f):_0x3dcf46>0x7d&&(_0x1a84dc+=0x2,_0x22177f=0x7e);const _0x1e22fd=Buffer['allocUnsafe'](_0x1bec83?_0x3dcf46+_0x1a84dc:_0x1a84dc);return _0x1e22fd[0x0]=_0x513940[_0x22786f(0x278)]?_0x513940[_0x22786f(0x1d2)]|0x80:_0x513940[_0x22786f(0x1d2)],_0x513940['rsv1']&&(_0x1e22fd[0x0]|=0x40),_0x1e22fd[0x1]=_0x22177f,_0x22177f===0x7e?_0x1e22fd[_0x22786f(0x22b)](_0x3dcf46,0x2):_0x22177f===0x7f&&(_0x1e22fd[0x2]=_0x1e22fd[0x3]=0x0,_0x1e22fd[_0x22786f(0x229)](_0x3dcf46,0x4,0x6)),_0x513940[_0x22786f(0x173)]?(_0x1e22fd[0x1]|=0x80,_0x1e22fd[_0x1a84dc-0x4]=_0x2658a7[0x0],_0x1e22fd[_0x1a84dc-0x3]=_0x2658a7[0x1],_0x1e22fd[_0x1a84dc-0x2]=_0x2658a7[0x2],_0x1e22fd[_0x1a84dc-0x1]=_0x2658a7[0x3],_0x177be5?[_0x1e22fd,_0xf82aa6]:_0x1bec83?(_0x199629(_0xf82aa6,_0x2658a7,_0x1e22fd,_0x1a84dc,_0x3dcf46),[_0x1e22fd]):(_0x199629(_0xf82aa6,_0x2658a7,_0xf82aa6,0x0,_0x3dcf46),[_0x1e22fd,_0xf82aa6])):[_0x1e22fd,_0xf82aa6];}[_0x109ff7(0x29e)](_0x295b50,_0x3d1096,_0x4d80d6,_0x54ec2d){const _0x2f47f4=_0x109ff7;let _0x168fc0;if(_0x295b50===void 0x0)_0x168fc0=_0x3b6a40;else{if(typeof _0x295b50!=_0x2f47f4(0x262)||!_0x1e90d5(_0x295b50))throw new TypeError(_0x2f47f4(0x26c));if(_0x3d1096===void 0x0||!_0x3d1096[_0x2f47f4(0x284)])_0x168fc0=Buffer['allocUnsafe'](0x2),_0x168fc0[_0x2f47f4(0x22b)](_0x295b50,0x0);else{const _0x4e0fd7=Buffer[_0x2f47f4(0x27f)](_0x3d1096);if(_0x4e0fd7>0x7b)throw new RangeError(_0x2f47f4(0x24a));_0x168fc0=Buffer[_0x2f47f4(0x1d0)](0x2+_0x4e0fd7),_0x168fc0[_0x2f47f4(0x22b)](_0x295b50,0x0),typeof _0x3d1096==_0x2f47f4(0x21c)?_0x168fc0[_0x2f47f4(0x1eb)](_0x3d1096,0x2):_0x168fc0[_0x2f47f4(0x276)](_0x3d1096,0x2);}}const _0x1a5a58={[_0x2576bd]:_0x168fc0[_0x2f47f4(0x284)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4d80d6,'maskBuffer':this[_0x2f47f4(0x20b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f47f4(0x201)]!==_0x4d6531?this['enqueue']([this[_0x2f47f4(0x228)],_0x168fc0,!0x1,_0x1a5a58,_0x54ec2d]):this['sendFrame'](_0x998e4d[_0x2f47f4(0x2e3)](_0x168fc0,_0x1a5a58),_0x54ec2d);}[_0x109ff7(0x1b6)](_0x2e0cc6,_0x29e5c2,_0x1c4895){const _0x4be0b3=_0x109ff7;let _0x1c7654,_0x4c25dc;if(typeof _0x2e0cc6==_0x4be0b3(0x21c)?(_0x1c7654=Buffer[_0x4be0b3(0x27f)](_0x2e0cc6),_0x4c25dc=!0x1):_0x526e45(_0x2e0cc6)?(_0x1c7654=_0x2e0cc6[_0x4be0b3(0x24b)],_0x4c25dc=!0x1):(_0x2e0cc6=_0xc66bd0(_0x2e0cc6),_0x1c7654=_0x2e0cc6[_0x4be0b3(0x284)],_0x4c25dc=_0xc66bd0['readOnly']),_0x1c7654>0x7d)throw new RangeError(_0x4be0b3(0x193));const _0x1fbfd7={[_0x2576bd]:_0x1c7654,'fin':!0x0,'generateMask':this[_0x4be0b3(0x1cd)],'mask':_0x29e5c2,'maskBuffer':this[_0x4be0b3(0x20b)],'opcode':0x9,'readOnly':_0x4c25dc,'rsv1':!0x1};_0x526e45(_0x2e0cc6)?this['_state']!==_0x4d6531?this[_0x4be0b3(0x131)]([this[_0x4be0b3(0x200)],_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895]):this[_0x4be0b3(0x200)](_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895):this[_0x4be0b3(0x201)]!==_0x4d6531?this[_0x4be0b3(0x131)]([this[_0x4be0b3(0x228)],_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895]):this['sendFrame'](_0x998e4d[_0x4be0b3(0x2e3)](_0x2e0cc6,_0x1fbfd7),_0x1c4895);}[_0x109ff7(0x199)](_0xe942f1,_0x3609f6,_0x29387a){const _0x182dfe=_0x109ff7;let _0x53821b,_0x23796f;if(typeof _0xe942f1==_0x182dfe(0x21c)?(_0x53821b=Buffer['byteLength'](_0xe942f1),_0x23796f=!0x1):_0x526e45(_0xe942f1)?(_0x53821b=_0xe942f1['size'],_0x23796f=!0x1):(_0xe942f1=_0xc66bd0(_0xe942f1),_0x53821b=_0xe942f1['length'],_0x23796f=_0xc66bd0[_0x182dfe(0x280)]),_0x53821b>0x7d)throw new RangeError(_0x182dfe(0x193));const _0x39a840={[_0x2576bd]:_0x53821b,'fin':!0x0,'generateMask':this[_0x182dfe(0x1cd)],'mask':_0x3609f6,'maskBuffer':this[_0x182dfe(0x20b)],'opcode':0xa,'readOnly':_0x23796f,'rsv1':!0x1};_0x526e45(_0xe942f1)?this[_0x182dfe(0x201)]!==_0x4d6531?this[_0x182dfe(0x131)]([this['getBlobData'],_0xe942f1,!0x1,_0x39a840,_0x29387a]):this[_0x182dfe(0x200)](_0xe942f1,!0x1,_0x39a840,_0x29387a):this[_0x182dfe(0x201)]!==_0x4d6531?this[_0x182dfe(0x131)]([this[_0x182dfe(0x228)],_0xe942f1,!0x1,_0x39a840,_0x29387a]):this['sendFrame'](_0x998e4d[_0x182dfe(0x2e3)](_0xe942f1,_0x39a840),_0x29387a);}[_0x109ff7(0x172)](_0x4114a3,_0x1d847c,_0x1fc00d){const _0x3e2cc9=_0x109ff7,_0xb3bfcc=this['_extensions'][_0x5a4823[_0x3e2cc9(0x2ad)]];let _0x56819e=_0x1d847c[_0x3e2cc9(0x288)]?0x2:0x1,_0x47a1f0=_0x1d847c[_0x3e2cc9(0x16e)],_0x4fc5e7,_0x476fb7;typeof _0x4114a3==_0x3e2cc9(0x21c)?(_0x4fc5e7=Buffer['byteLength'](_0x4114a3),_0x476fb7=!0x1):_0x526e45(_0x4114a3)?(_0x4fc5e7=_0x4114a3['size'],_0x476fb7=!0x1):(_0x4114a3=_0xc66bd0(_0x4114a3),_0x4fc5e7=_0x4114a3['length'],_0x476fb7=_0xc66bd0['readOnly']),this[_0x3e2cc9(0x1c4)]?(this[_0x3e2cc9(0x1c4)]=!0x1,_0x47a1f0&&_0xb3bfcc&&_0xb3bfcc[_0x3e2cc9(0x1fa)][_0xb3bfcc[_0x3e2cc9(0x1ae)]?_0x3e2cc9(0x1a2):'client_no_context_takeover']&&(_0x47a1f0=_0x4fc5e7>=_0xb3bfcc[_0x3e2cc9(0x2b3)]),this['_compress']=_0x47a1f0):(_0x47a1f0=!0x1,_0x56819e=0x0),_0x1d847c['fin']&&(this[_0x3e2cc9(0x1c4)]=!0x0);const _0x2101ba={[_0x2576bd]:_0x4fc5e7,'fin':_0x1d847c[_0x3e2cc9(0x278)],'generateMask':this[_0x3e2cc9(0x1cd)],'mask':_0x1d847c['mask'],'maskBuffer':this[_0x3e2cc9(0x20b)],'opcode':_0x56819e,'readOnly':_0x476fb7,'rsv1':_0x47a1f0};_0x526e45(_0x4114a3)?this[_0x3e2cc9(0x201)]!==_0x4d6531?this[_0x3e2cc9(0x131)]([this[_0x3e2cc9(0x200)],_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d]):this[_0x3e2cc9(0x200)](_0x4114a3,this['_compress'],_0x2101ba,_0x1fc00d):this[_0x3e2cc9(0x201)]!==_0x4d6531?this[_0x3e2cc9(0x131)]([this[_0x3e2cc9(0x228)],_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d]):this['dispatch'](_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d);}['getBlobData'](_0x3dd487,_0x5f01bb,_0x82d29f,_0x48aa6f){const _0x4f6a98=_0x109ff7;this[_0x4f6a98(0x224)]+=_0x82d29f[_0x2576bd],this['_state']=_0x335f90,_0x3dd487[_0x4f6a98(0x294)]()[_0x4f6a98(0x21d)](_0x439ddd=>{const _0x2b1b92=_0x4f6a98;if(this['_socket']['destroyed']){const _0x3cd9dd=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x42b502,this,_0x3cd9dd,_0x48aa6f);return;}this[_0x2b1b92(0x224)]-=_0x82d29f[_0x2576bd];const _0x4a9094=_0xc66bd0(_0x439ddd);_0x5f01bb?this[_0x2b1b92(0x228)](_0x4a9094,_0x5f01bb,_0x82d29f,_0x48aa6f):(this[_0x2b1b92(0x201)]=_0x4d6531,this[_0x2b1b92(0x155)](_0x998e4d[_0x2b1b92(0x2e3)](_0x4a9094,_0x82d29f),_0x48aa6f),this['dequeue']());})['catch'](_0xd4a5a3=>{const _0x4b9c90=_0x4f6a98;process[_0x4b9c90(0x2a3)](_0x675a87,this,_0xd4a5a3,_0x48aa6f);});}[_0x109ff7(0x228)](_0x53d5bf,_0x5937a1,_0x345258,_0x4eef7b){const _0x32836d=_0x109ff7;if(!_0x5937a1){this[_0x32836d(0x155)](_0x998e4d[_0x32836d(0x2e3)](_0x53d5bf,_0x345258),_0x4eef7b);return;}const _0x48e3ed=this[_0x32836d(0x1a9)][_0x5a4823['extensionName']];this[_0x32836d(0x224)]+=_0x345258[_0x2576bd],this[_0x32836d(0x201)]=_0x4dce64,_0x48e3ed[_0x32836d(0x16e)](_0x53d5bf,_0x345258[_0x32836d(0x278)],(_0x16325d,_0x1a4266)=>{const _0x45ddb2=_0x32836d;if(this['_socket'][_0x45ddb2(0x1c0)]){const _0x5c0970=new Error(_0x45ddb2(0x23a));_0x42b502(this,_0x5c0970,_0x4eef7b);return;}this[_0x45ddb2(0x224)]-=_0x345258[_0x2576bd],this[_0x45ddb2(0x201)]=_0x4d6531,_0x345258['readOnly']=!0x1,this[_0x45ddb2(0x155)](_0x998e4d[_0x45ddb2(0x2e3)](_0x1a4266,_0x345258),_0x4eef7b),this['dequeue']();});}[_0x109ff7(0x29b)](){const _0x339f43=_0x109ff7;for(;this['_state']===_0x4d6531&&this['_queue']['length'];){const _0x4d5ae7=this[_0x339f43(0x23f)][_0x339f43(0x2c3)]();this[_0x339f43(0x224)]-=_0x4d5ae7[0x3][_0x2576bd],Reflect['apply'](_0x4d5ae7[0x0],this,_0x4d5ae7['slice'](0x1));}}[_0x109ff7(0x131)](_0x4dfcc1){const _0x42c1f7=_0x109ff7;this[_0x42c1f7(0x224)]+=_0x4dfcc1[0x3][_0x2576bd],this['_queue'][_0x42c1f7(0x1e6)](_0x4dfcc1);}[_0x109ff7(0x155)](_0x2745d6,_0x4d11b6){const _0x4c824b=_0x109ff7;_0x2745d6[_0x4c824b(0x284)]===0x2?(this[_0x4c824b(0x2a0)]['cork'](),this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x0]),this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x1],_0x4d11b6),this['_socket'][_0x4c824b(0x187)]()):this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x0],_0x4d11b6);}}Ee=_0x998e4d;function _0x42b502(_0x5f3378,_0x22b24e,_0x32a3ea){const _0x203319=_0x109ff7;typeof _0x32a3ea==_0x203319(0x164)&&_0x32a3ea(_0x22b24e);for(let _0x1d73d0=0x0;_0x1d73d0<_0x5f3378[_0x203319(0x23f)][_0x203319(0x284)];_0x1d73d0++){const _0x59b1c6=_0x5f3378[_0x203319(0x23f)][_0x1d73d0],_0x5d871a=_0x59b1c6[_0x59b1c6['length']-0x1];typeof _0x5d871a=='function'&&_0x5d871a(_0x22b24e);}}function _0x675a87(_0x34ad1e,_0x5b2627,_0x147a86){const _0x90242e=_0x109ff7;_0x42b502(_0x34ad1e,_0x5b2627,_0x147a86),_0x34ad1e[_0x90242e(0x2ae)](_0x5b2627);}return Ee;}var xe,Ze;function It(){const _0xfb57f2=_0x548fc7;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xdfb99d,kListener:_0x4a3aa}=H(),_0x2c267b=Symbol(_0xfb57f2(0x235)),_0x1d32b7=Symbol(_0xfb57f2(0x14f)),_0x155e5c=Symbol(_0xfb57f2(0x153)),_0x45b977=Symbol(_0xfb57f2(0x220)),_0x1668a3=Symbol(_0xfb57f2(0x198)),_0x1bed9c=Symbol('kTarget'),_0x140891=Symbol(_0xfb57f2(0x138)),_0x11b172=Symbol(_0xfb57f2(0x286));class _0x1211dc{constructor(_0x23b6c9){this[_0x1bed9c]=null,this[_0x140891]=_0x23b6c9;}get['target'](){return this[_0x1bed9c];}get[_0xfb57f2(0x2c9)](){return this[_0x140891];}}Object[_0xfb57f2(0x2a6)](_0x1211dc[_0xfb57f2(0x2da)],_0xfb57f2(0x2e4),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x1211dc['prototype'],_0xfb57f2(0x2c9),{'enumerable':!0x0});class _0x5b2273 extends _0x1211dc{constructor(_0x5d36fe,_0x298fcb={}){const _0x3fd2a6=_0xfb57f2;super(_0x5d36fe),this[_0x2c267b]=_0x298fcb['code']===void 0x0?0x0:_0x298fcb[_0x3fd2a6(0x1ea)],this[_0x1668a3]=_0x298fcb[_0x3fd2a6(0x133)]===void 0x0?'':_0x298fcb['reason'],this[_0x11b172]=_0x298fcb[_0x3fd2a6(0x2b7)]===void 0x0?!0x1:_0x298fcb[_0x3fd2a6(0x2b7)];}get[_0xfb57f2(0x1ea)](){return this[_0x2c267b];}get[_0xfb57f2(0x133)](){return this[_0x1668a3];}get[_0xfb57f2(0x2b7)](){return this[_0x11b172];}}Object[_0xfb57f2(0x2a6)](_0x5b2273['prototype'],_0xfb57f2(0x1ea),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x5b2273[_0xfb57f2(0x2da)],_0xfb57f2(0x133),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x5b2273[_0xfb57f2(0x2da)],_0xfb57f2(0x2b7),{'enumerable':!0x0});class _0x29497f extends _0x1211dc{constructor(_0x93ca0e,_0x4a00c6={}){const _0x53e1a3=_0xfb57f2;super(_0x93ca0e),this[_0x155e5c]=_0x4a00c6['error']===void 0x0?null:_0x4a00c6[_0x53e1a3(0x134)],this[_0x45b977]=_0x4a00c6[_0x53e1a3(0x1a4)]===void 0x0?'':_0x4a00c6[_0x53e1a3(0x1a4)];}get[_0xfb57f2(0x134)](){return this[_0x155e5c];}get[_0xfb57f2(0x1a4)](){return this[_0x45b977];}}Object[_0xfb57f2(0x2a6)](_0x29497f['prototype'],'error',{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x29497f[_0xfb57f2(0x2da)],_0xfb57f2(0x1a4),{'enumerable':!0x0});class _0x486378 extends _0x1211dc{constructor(_0x5b5bfe,_0x429989={}){const _0x51e7=_0xfb57f2;super(_0x5b5bfe),this[_0x1d32b7]=_0x429989['data']===void 0x0?null:_0x429989[_0x51e7(0x2e6)];}get[_0xfb57f2(0x2e6)](){return this[_0x1d32b7];}}Object['defineProperty'](_0x486378[_0xfb57f2(0x2da)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x5b2273,'ErrorEvent':_0x29497f,'Event':_0x1211dc,'EventTarget':{'addEventListener'(_0x4851f3,_0x39ca18,_0xa03ffe={}){const _0x287066=_0xfb57f2;for(const _0xb52a81 of this[_0x287066(0x13a)](_0x4851f3))if(!_0xa03ffe[_0xdfb99d]&&_0xb52a81[_0x4a3aa]===_0x39ca18&&!_0xb52a81[_0xdfb99d])return;let _0x49f2a7;if(_0x4851f3===_0x287066(0x1a4))_0x49f2a7=function(_0x4b93b9,_0x56e352){const _0x584623=_0x287066,_0x36209f=new _0x486378('message',{'data':_0x56e352?_0x4b93b9:_0x4b93b9[_0x584623(0x2f3)]()});_0x36209f[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x36209f);};else{if(_0x4851f3===_0x287066(0x29e))_0x49f2a7=function(_0x25d75e,_0x4500dd){const _0x44f2b1=_0x287066,_0x11e076=new _0x5b2273(_0x44f2b1(0x29e),{'code':_0x25d75e,'reason':_0x4500dd[_0x44f2b1(0x2f3)](),'wasClean':this[_0x44f2b1(0x240)]&&this[_0x44f2b1(0x14e)]});_0x11e076[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x11e076);};else{if(_0x4851f3===_0x287066(0x134))_0x49f2a7=function(_0x363e11){const _0x5c2485=_0x287066,_0x17f025=new _0x29497f(_0x5c2485(0x134),{'error':_0x363e11,'message':_0x363e11[_0x5c2485(0x1a4)]});_0x17f025[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x17f025);};else{if(_0x4851f3==='open')_0x49f2a7=function(){const _0xbce7f2=_0x287066,_0x5d110d=new _0x1211dc(_0xbce7f2(0x260));_0x5d110d[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x5d110d);};else return;}}}_0x49f2a7[_0xdfb99d]=!!_0xa03ffe[_0xdfb99d],_0x49f2a7[_0x4a3aa]=_0x39ca18,_0xa03ffe['once']?this[_0x287066(0x2cd)](_0x4851f3,_0x49f2a7):this['on'](_0x4851f3,_0x49f2a7);},'removeEventListener'(_0x1748da,_0x2720ab){const _0x4a3228=_0xfb57f2;for(const _0x39a03d of this[_0x4a3228(0x13a)](_0x1748da))if(_0x39a03d[_0x4a3aa]===_0x2720ab&&!_0x39a03d[_0xdfb99d]){this[_0x4a3228(0x2de)](_0x1748da,_0x39a03d);break;}}},'MessageEvent':_0x486378};function _0x2694d8(_0x3f412a,_0x2879b0,_0x3141b9){const _0x41af09=_0xfb57f2;typeof _0x3f412a==_0x41af09(0x2b0)&&_0x3f412a['handleEvent']?_0x3f412a['handleEvent'][_0x41af09(0x176)](_0x3f412a,_0x3141b9):_0x3f412a[_0x41af09(0x176)](_0x2879b0,_0x3141b9);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2f49fa}=ae();function _0x341687(_0x8f332c,_0x16980f,_0xf9d65){const _0x20eca7=_0x4b9f;_0x8f332c[_0x16980f]===void 0x0?_0x8f332c[_0x16980f]=[_0xf9d65]:_0x8f332c[_0x16980f][_0x20eca7(0x1e6)](_0xf9d65);}function _0x396388(_0x4fadc8){const _0xab2c65=_0x4b9f,_0x363e74=Object[_0xab2c65(0x14b)](null);let _0xb21f69=Object['create'](null),_0x5e6abc=!0x1,_0xc2dd03=!0x1,_0x21b0b6=!0x1,_0x3955a6,_0x4de2e3,_0x44448b=-0x1,_0x4cab3b=-0x1,_0x546441=-0x1,_0x51c252=0x0;for(;_0x51c252<_0x4fadc8[_0xab2c65(0x284)];_0x51c252++)if(_0x4cab3b=_0x4fadc8['charCodeAt'](_0x51c252),_0x3955a6===void 0x0){if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x51c252!==0x0&&(_0x4cab3b===0x20||_0x4cab3b===0x9))_0x546441===-0x1&&_0x44448b!==-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252);const _0x4a29d3=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);_0x4cab3b===0x2c?(_0x341687(_0x363e74,_0x4a29d3,_0xb21f69),_0xb21f69=Object[_0xab2c65(0x14b)](null)):_0x3955a6=_0x4a29d3,_0x44448b=_0x546441=-0x1;}else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}else{if(_0x4de2e3===void 0x0){if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x4cab3b===0x20||_0x4cab3b===0x9)_0x546441===-0x1&&_0x44448b!==-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252),_0x341687(_0xb21f69,_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441),!0x0),_0x4cab3b===0x2c&&(_0x341687(_0x363e74,_0x3955a6,_0xb21f69),_0xb21f69=Object['create'](null),_0x3955a6=void 0x0),_0x44448b=_0x546441=-0x1;}else{if(_0x4cab3b===0x3d&&_0x44448b!==-0x1&&_0x546441===-0x1)_0x4de2e3=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x51c252),_0x44448b=_0x546441=-0x1;else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}}else{if(_0xc2dd03){if(_0x2f49fa[_0x4cab3b]!==0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x44448b===-0x1?_0x44448b=_0x51c252:_0x5e6abc||(_0x5e6abc=!0x0),_0xc2dd03=!0x1;}else{if(_0x21b0b6){if(_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x4cab3b===0x22&&_0x44448b!==-0x1)_0x21b0b6=!0x1,_0x546441=_0x51c252;else{if(_0x4cab3b===0x5c)_0xc2dd03=!0x0;else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}else{if(_0x4cab3b===0x22&&_0x4fadc8[_0xab2c65(0x183)](_0x51c252-0x1)===0x3d)_0x21b0b6=!0x0;else{if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x44448b!==-0x1&&(_0x4cab3b===0x20||_0x4cab3b===0x9))_0x546441===-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252);let _0x58a7a8=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);_0x5e6abc&&(_0x58a7a8=_0x58a7a8['replace'](/\\/g,''),_0x5e6abc=!0x1),_0x341687(_0xb21f69,_0x4de2e3,_0x58a7a8),_0x4cab3b===0x2c&&(_0x341687(_0x363e74,_0x3955a6,_0xb21f69),_0xb21f69=Object[_0xab2c65(0x14b)](null),_0x3955a6=void 0x0),_0x4de2e3=void 0x0,_0x44448b=_0x546441=-0x1;}else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}}}}}if(_0x44448b===-0x1||_0x21b0b6||_0x4cab3b===0x20||_0x4cab3b===0x9)throw new SyntaxError(_0xab2c65(0x1ec));_0x546441===-0x1&&(_0x546441=_0x51c252);const _0x4342ca=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);return _0x3955a6===void 0x0?_0x341687(_0x363e74,_0x4342ca,_0xb21f69):(_0x4de2e3===void 0x0?_0x341687(_0xb21f69,_0x4342ca,!0x0):_0x5e6abc?_0x341687(_0xb21f69,_0x4de2e3,_0x4342ca[_0xab2c65(0x2e5)](/\\/g,'')):_0x341687(_0xb21f69,_0x4de2e3,_0x4342ca),_0x341687(_0x363e74,_0x3955a6,_0xb21f69)),_0x363e74;}function _0x4e58d6(_0x1e152c){const _0x305b6a=_0x4b9f;return Object[_0x305b6a(0x17f)](_0x1e152c)[_0x305b6a(0x1ba)](_0xd85621=>{const _0xbbadd6=_0x305b6a;let _0x1d25e5=_0x1e152c[_0xd85621];return Array[_0xbbadd6(0x2d0)](_0x1d25e5)||(_0x1d25e5=[_0x1d25e5]),_0x1d25e5['map'](_0x1a0ed4=>[_0xd85621][_0xbbadd6(0x14d)](Object[_0xbbadd6(0x17f)](_0x1a0ed4)[_0xbbadd6(0x1ba)](_0x4a2de6=>{const _0x593a15=_0xbbadd6;let _0x14621d=_0x1a0ed4[_0x4a2de6];return Array[_0x593a15(0x2d0)](_0x14621d)||(_0x14621d=[_0x14621d]),_0x14621d['map'](_0x1ca668=>_0x1ca668===!0x0?_0x4a2de6:_0x4a2de6+'='+_0x1ca668)[_0x593a15(0x1e7)](';\x20');}))[_0xbbadd6(0x1e7)](';\x20'))[_0xbbadd6(0x1e7)](',\x20');})['join'](',\x20');}return be={'format':_0x4e58d6,'parse':_0x396388},be;}var we,Je;function Pe(){const _0x503da1=_0x548fc7;if(Je)return we;Je=0x1;const _0x9f16e=nt,_0xbcac28=vt,_0x26e145=ot,_0x56a2ee=St,_0x2a6bff=Et,{randomBytes:_0x2b5ca1,createHash:_0x366925}=Le,{Duplex:_0x15a70f,Readable:_0x547e68}=oe,{URL:_0x58b8e1}=xt,_0x404895=he(),_0x384b5b=lt(),_0x3ccf77=ft(),{isBlob:_0x1d6e51}=ae(),{BINARY_TYPES:_0x43c9cd,EMPTY_BUFFER:_0x2b5825,GUID:_0x58ca0d,kForOnEventAttribute:_0x14145e,kListener:_0x1deb98,kStatusCode:_0x5a7f21,kWebSocket:_0x3d0f06,NOOP:_0x2ffd70}=H(),{EventTarget:{addEventListener:_0x2f2259,removeEventListener:_0x95c410}}=It(),{format:_0x38d07f,parse:_0x19f3db}=ct(),{toBuffer:_0x2e49f2}=ce(),_0x4d0e39=0x1e*0x3e8,_0x4c53aa=Symbol(_0x503da1(0x254)),_0x5e5452=[0x8,0xd],_0x4beb97=['CONNECTING',_0x503da1(0x1bc),_0x503da1(0x21a),'CLOSED'],_0x189aee=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x130a30 extends _0x9f16e{constructor(_0x2bcd3b,_0x1d41ad,_0x10ddee){const _0x38a612=_0x503da1;super(),this['_binaryType']=_0x43c9cd[0x0],this[_0x38a612(0x20f)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x38a612(0x14e)]=!0x1,this[_0x38a612(0x1d7)]=_0x2b5825,this['_closeTimer']=null,this[_0x38a612(0x2bb)]=!0x1,this[_0x38a612(0x1a9)]={},this['_paused']=!0x1,this[_0x38a612(0x24e)]='',this['_readyState']=_0x130a30['CONNECTING'],this[_0x38a612(0x150)]=null,this[_0x38a612(0x168)]=null,this[_0x38a612(0x2a0)]=null,_0x2bcd3b!==null?(this['_bufferedAmount']=0x0,this[_0x38a612(0x1ae)]=!0x1,this[_0x38a612(0x1a5)]=0x0,_0x1d41ad===void 0x0?_0x1d41ad=[]:Array[_0x38a612(0x2d0)](_0x1d41ad)||(typeof _0x1d41ad==_0x38a612(0x2b0)&&_0x1d41ad!==null?(_0x10ddee=_0x1d41ad,_0x1d41ad=[]):_0x1d41ad=[_0x1d41ad]),_0x3649a4(this,_0x2bcd3b,_0x1d41ad,_0x10ddee)):(this[_0x38a612(0x296)]=_0x10ddee[_0x38a612(0x2b8)],this[_0x38a612(0x1ae)]=!0x0);}get[_0x503da1(0x1f3)](){const _0xc3e86=_0x503da1;return this[_0xc3e86(0x2e2)];}set[_0x503da1(0x1f3)](_0x40e35a){const _0x5cd151=_0x503da1;_0x43c9cd['includes'](_0x40e35a)&&(this[_0x5cd151(0x2e2)]=_0x40e35a,this[_0x5cd151(0x150)]&&(this['_receiver']['_binaryType']=_0x40e35a));}get[_0x503da1(0x1a1)](){const _0xc8cb13=_0x503da1;return this['_socket']?this['_socket'][_0xc8cb13(0x2eb)][_0xc8cb13(0x284)]+this[_0xc8cb13(0x168)][_0xc8cb13(0x224)]:this[_0xc8cb13(0x145)];}get[_0x503da1(0x190)](){const _0x22d4e2=_0x503da1;return Object['keys'](this[_0x22d4e2(0x1a9)])['join']();}get['isPaused'](){const _0xbbb325=_0x503da1;return this[_0xbbb325(0x1ef)];}get[_0x503da1(0x1da)](){return null;}get[_0x503da1(0x2ae)](){return null;}get[_0x503da1(0x293)](){return null;}get[_0x503da1(0x1fb)](){return null;}get[_0x503da1(0x1f7)](){const _0x36ed86=_0x503da1;return this[_0x36ed86(0x24e)];}get[_0x503da1(0x21b)](){const _0x1b15a8=_0x503da1;return this[_0x1b15a8(0x181)];}get[_0x503da1(0x2db)](){const _0x2a4085=_0x503da1;return this[_0x2a4085(0x165)];}[_0x503da1(0x2d4)](_0xb590b0,_0x48e0dc,_0x202fa0){const _0x5132e6=_0x503da1,_0x5c9919=new _0x384b5b({'allowSynchronousEvents':_0x202fa0['allowSynchronousEvents'],'binaryType':this[_0x5132e6(0x1f3)],'extensions':this[_0x5132e6(0x1a9)],'isServer':this[_0x5132e6(0x1ae)],'maxPayload':_0x202fa0[_0x5132e6(0x17a)],'skipUTF8Validation':_0x202fa0[_0x5132e6(0x1d9)]}),_0x5d382c=new _0x3ccf77(_0xb590b0,this[_0x5132e6(0x1a9)],_0x202fa0[_0x5132e6(0x18e)]);this[_0x5132e6(0x150)]=_0x5c9919,this['_sender']=_0x5d382c,this[_0x5132e6(0x2a0)]=_0xb590b0,_0x5c9919[_0x3d0f06]=this,_0x5d382c[_0x3d0f06]=this,_0xb590b0[_0x3d0f06]=this,_0x5c9919['on'](_0x5132e6(0x299),_0x573ecc),_0x5c9919['on']('drain',_0x44fa60),_0x5c9919['on'](_0x5132e6(0x134),_0x56b14c),_0x5c9919['on']('message',_0x53d73f),_0x5c9919['on'](_0x5132e6(0x1b6),_0x41cf0d),_0x5c9919['on'](_0x5132e6(0x199),_0x40ce31),_0x5d382c[_0x5132e6(0x2ae)]=_0x38a004,_0xb590b0['setTimeout']&&_0xb590b0[_0x5132e6(0x188)](0x0),_0xb590b0[_0x5132e6(0x1d8)]&&_0xb590b0[_0x5132e6(0x1d8)](),_0x48e0dc[_0x5132e6(0x284)]>0x0&&_0xb590b0[_0x5132e6(0x24d)](_0x48e0dc),_0xb590b0['on'](_0x5132e6(0x29e),_0x15a40b),_0xb590b0['on'](_0x5132e6(0x2e6),_0x52c656),_0xb590b0['on'](_0x5132e6(0x170),_0x6ffaf4),_0xb590b0['on'](_0x5132e6(0x134),_0x565452),this[_0x5132e6(0x181)]=_0x130a30[_0x5132e6(0x1bc)],this['emit'](_0x5132e6(0x260));}[_0x503da1(0x21f)](){const _0x1490ce=_0x503da1;if(!this[_0x1490ce(0x2a0)]){this[_0x1490ce(0x181)]=_0x130a30[_0x1490ce(0x265)],this[_0x1490ce(0x26d)](_0x1490ce(0x29e),this[_0x1490ce(0x20f)],this[_0x1490ce(0x1d7)]);return;}this[_0x1490ce(0x1a9)][_0x404895[_0x1490ce(0x2ad)]]&&this[_0x1490ce(0x1a9)][_0x404895[_0x1490ce(0x2ad)]]['cleanup'](),this[_0x1490ce(0x150)][_0x1490ce(0x169)](),this[_0x1490ce(0x181)]=_0x130a30[_0x1490ce(0x265)],this[_0x1490ce(0x26d)](_0x1490ce(0x29e),this[_0x1490ce(0x20f)],this['_closeMessage']);}[_0x503da1(0x29e)](_0x5c4321,_0x55e7f5){const _0x83386e=_0x503da1;if(this[_0x83386e(0x21b)]!==_0x130a30[_0x83386e(0x265)]){if(this[_0x83386e(0x21b)]===_0x130a30['CONNECTING']){_0x9a1ec4(this,this['_req'],_0x83386e(0x234));return;}if(this[_0x83386e(0x21b)]===_0x130a30[_0x83386e(0x21a)]){this[_0x83386e(0x14e)]&&(this[_0x83386e(0x240)]||this['_receiver'][_0x83386e(0x2eb)][_0x83386e(0x1dd)])&&this[_0x83386e(0x2a0)][_0x83386e(0x170)]();return;}this[_0x83386e(0x181)]=_0x130a30[_0x83386e(0x21a)],this[_0x83386e(0x168)]['close'](_0x5c4321,_0x55e7f5,!this[_0x83386e(0x1ae)],_0x2d4a66=>{const _0x3ae4f0=_0x83386e;_0x2d4a66||(this[_0x3ae4f0(0x14e)]=!0x0,(this[_0x3ae4f0(0x240)]||this[_0x3ae4f0(0x150)][_0x3ae4f0(0x2eb)][_0x3ae4f0(0x1dd)])&&this[_0x3ae4f0(0x2a0)][_0x3ae4f0(0x170)]());}),_0x4ad687(this);}}[_0x503da1(0x2df)](){const _0x227a5c=_0x503da1;this[_0x227a5c(0x21b)]===_0x130a30[_0x227a5c(0x1ab)]||this['readyState']===_0x130a30[_0x227a5c(0x265)]||(this[_0x227a5c(0x1ef)]=!0x0,this['_socket'][_0x227a5c(0x2df)]());}[_0x503da1(0x1b6)](_0x1774b0,_0x8afab,_0x3eb624){const _0x4547e3=_0x503da1;if(this[_0x4547e3(0x21b)]===_0x130a30['CONNECTING'])throw new Error(_0x4547e3(0x2a5));if(typeof _0x1774b0==_0x4547e3(0x164)?(_0x3eb624=_0x1774b0,_0x1774b0=_0x8afab=void 0x0):typeof _0x8afab==_0x4547e3(0x164)&&(_0x3eb624=_0x8afab,_0x8afab=void 0x0),typeof _0x1774b0==_0x4547e3(0x262)&&(_0x1774b0=_0x1774b0[_0x4547e3(0x2f3)]()),this[_0x4547e3(0x21b)]!==_0x130a30[_0x4547e3(0x1bc)]){_0x2d169c(this,_0x1774b0,_0x3eb624);return;}_0x8afab===void 0x0&&(_0x8afab=!this[_0x4547e3(0x1ae)]),this[_0x4547e3(0x168)]['ping'](_0x1774b0||_0x2b5825,_0x8afab,_0x3eb624);}[_0x503da1(0x199)](_0x1865f8,_0x3f7af6,_0x416fc9){const _0x1a26dd=_0x503da1;if(this[_0x1a26dd(0x21b)]===_0x130a30['CONNECTING'])throw new Error(_0x1a26dd(0x2a5));if(typeof _0x1865f8==_0x1a26dd(0x164)?(_0x416fc9=_0x1865f8,_0x1865f8=_0x3f7af6=void 0x0):typeof _0x3f7af6==_0x1a26dd(0x164)&&(_0x416fc9=_0x3f7af6,_0x3f7af6=void 0x0),typeof _0x1865f8==_0x1a26dd(0x262)&&(_0x1865f8=_0x1865f8[_0x1a26dd(0x2f3)]()),this['readyState']!==_0x130a30['OPEN']){_0x2d169c(this,_0x1865f8,_0x416fc9);return;}_0x3f7af6===void 0x0&&(_0x3f7af6=!this['_isServer']),this[_0x1a26dd(0x168)][_0x1a26dd(0x199)](_0x1865f8||_0x2b5825,_0x3f7af6,_0x416fc9);}[_0x503da1(0x272)](){const _0x59a550=_0x503da1;this['readyState']===_0x130a30[_0x59a550(0x1ab)]||this['readyState']===_0x130a30['CLOSED']||(this[_0x59a550(0x1ef)]=!0x1,this['_receiver'][_0x59a550(0x2eb)]['needDrain']||this['_socket'][_0x59a550(0x272)]());}[_0x503da1(0x172)](_0x3a9f7c,_0x5db1ef,_0x173919){const _0x6ac09e=_0x503da1;if(this[_0x6ac09e(0x21b)]===_0x130a30['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5db1ef=='function'&&(_0x173919=_0x5db1ef,_0x5db1ef={}),typeof _0x3a9f7c==_0x6ac09e(0x262)&&(_0x3a9f7c=_0x3a9f7c['toString']()),this[_0x6ac09e(0x21b)]!==_0x130a30[_0x6ac09e(0x1bc)]){_0x2d169c(this,_0x3a9f7c,_0x173919);return;}const _0x308c94={'binary':typeof _0x3a9f7c!='string','mask':!this[_0x6ac09e(0x1ae)],'compress':!0x0,'fin':!0x0,..._0x5db1ef};this[_0x6ac09e(0x1a9)][_0x404895[_0x6ac09e(0x2ad)]]||(_0x308c94[_0x6ac09e(0x16e)]=!0x1),this[_0x6ac09e(0x168)][_0x6ac09e(0x172)](_0x3a9f7c||_0x2b5825,_0x308c94,_0x173919);}[_0x503da1(0x1fc)](){const _0x4dc13c=_0x503da1;if(this[_0x4dc13c(0x21b)]!==_0x130a30['CLOSED']){if(this[_0x4dc13c(0x21b)]===_0x130a30[_0x4dc13c(0x1ab)]){_0x9a1ec4(this,this[_0x4dc13c(0x2be)],_0x4dc13c(0x234));return;}this[_0x4dc13c(0x2a0)]&&(this[_0x4dc13c(0x181)]=_0x130a30['CLOSING'],this['_socket'][_0x4dc13c(0x2dc)]());}}}Object['defineProperty'](_0x130a30,_0x503da1(0x1ab),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x1ab))}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x1ab),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x1ab))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x1bc),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)]('OPEN')}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x1bc),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x1bc))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x21a),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x21a))}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x21a),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x21a))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x265),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x265))}),Object[_0x503da1(0x2a6)](_0x130a30['prototype'],_0x503da1(0x265),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x265))}),[_0x503da1(0x1f3),_0x503da1(0x1a1),_0x503da1(0x190),_0x503da1(0x18c),_0x503da1(0x1f7),_0x503da1(0x21b),_0x503da1(0x2db)][_0x503da1(0x269)](_0x4a35ac=>{const _0xed1f4f=_0x503da1;Object[_0xed1f4f(0x2a6)](_0x130a30[_0xed1f4f(0x2da)],_0x4a35ac,{'enumerable':!0x0});}),[_0x503da1(0x260),_0x503da1(0x134),_0x503da1(0x29e),'message'][_0x503da1(0x269)](_0x48f78a=>{const _0x356a11=_0x503da1;Object[_0x356a11(0x2a6)](_0x130a30[_0x356a11(0x2da)],'on'+_0x48f78a,{'enumerable':!0x0,'get'(){const _0x2dcf38=_0x356a11;for(const _0x174eea of this[_0x2dcf38(0x13a)](_0x48f78a))if(_0x174eea[_0x14145e])return _0x174eea[_0x1deb98];return null;},'set'(_0x5b9adf){const _0x12ce10=_0x356a11;for(const _0x2bf03e of this[_0x12ce10(0x13a)](_0x48f78a))if(_0x2bf03e[_0x14145e]){this[_0x12ce10(0x2de)](_0x48f78a,_0x2bf03e);break;}typeof _0x5b9adf==_0x12ce10(0x164)&&this['addEventListener'](_0x48f78a,_0x5b9adf,{[_0x14145e]:!0x0});}});}),_0x130a30[_0x503da1(0x2da)][_0x503da1(0x136)]=_0x2f2259,_0x130a30['prototype'][_0x503da1(0x194)]=_0x95c410,we=_0x130a30;function _0x3649a4(_0x307cac,_0x70d837,_0x20a9e7,_0x4e8380){const _0x52275f=_0x503da1,_0x42a0c1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5e5452[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4e8380,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x52275f(0x1f6),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x307cac[_0x52275f(0x296)]=_0x42a0c1[_0x52275f(0x2b8)],!_0x5e5452[_0x52275f(0x192)](_0x42a0c1[_0x52275f(0x1f0)]))throw new RangeError(_0x52275f(0x25e)+_0x42a0c1['protocolVersion']+_0x52275f(0x18b)+_0x5e5452[_0x52275f(0x1e7)](',\x20')+')');let _0x7c0b51;if(_0x70d837 instanceof _0x58b8e1)_0x7c0b51=_0x70d837;else try{_0x7c0b51=new _0x58b8e1(_0x70d837);}catch{throw new SyntaxError(_0x52275f(0x266)+_0x70d837);}_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x180)?_0x7c0b51[_0x52275f(0x1f7)]='ws:':_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x2e0)&&(_0x7c0b51[_0x52275f(0x1f7)]=_0x52275f(0x2d3)),_0x307cac['_url']=_0x7c0b51['href'];const _0x41fdce=_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x2d3),_0x48889b=_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x28d);let _0x62912e;if(_0x7c0b51[_0x52275f(0x1f7)]!==_0x52275f(0x29a)&&!_0x41fdce&&!_0x48889b?_0x62912e=_0x52275f(0x1b3):_0x48889b&&!_0x7c0b51['pathname']?_0x62912e='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x7c0b51[_0x52275f(0x15e)]&&(_0x62912e=_0x52275f(0x163)),_0x62912e){const _0x213a18=new SyntaxError(_0x62912e);if(_0x307cac[_0x52275f(0x1a5)]===0x0)throw _0x213a18;_0x4fb619(_0x307cac,_0x213a18);return;}const _0x50c47e=_0x41fdce?0x1bb:0x50,_0x3ab688=_0x2b5ca1(0x10)[_0x52275f(0x2f3)]('base64'),_0x5ec7b4=_0x41fdce?_0xbcac28[_0x52275f(0x29d)]:_0x26e145[_0x52275f(0x29d)],_0x31ff69=new Set();let _0x51c425;if(_0x42a0c1[_0x52275f(0x2c0)]=_0x42a0c1[_0x52275f(0x2c0)]||(_0x41fdce?_0x434ce6:_0x2fd8df),_0x42a0c1[_0x52275f(0x1a6)]=_0x42a0c1[_0x52275f(0x1a6)]||_0x50c47e,_0x42a0c1[_0x52275f(0x195)]=_0x7c0b51[_0x52275f(0x195)]||_0x50c47e,_0x42a0c1[_0x52275f(0x26f)]=_0x7c0b51[_0x52275f(0x1b9)][_0x52275f(0x225)]('[')?_0x7c0b51[_0x52275f(0x1b9)]['slice'](0x1,-0x1):_0x7c0b51[_0x52275f(0x1b9)],_0x42a0c1[_0x52275f(0x12e)]={..._0x42a0c1['headers'],'Sec-WebSocket-Version':_0x42a0c1[_0x52275f(0x1f0)],'Sec-WebSocket-Key':_0x3ab688,'Connection':'Upgrade','Upgrade':_0x52275f(0x244)},_0x42a0c1[_0x52275f(0x282)]=_0x7c0b51[_0x52275f(0x2a2)]+_0x7c0b51['search'],_0x42a0c1[_0x52275f(0x179)]=_0x42a0c1[_0x52275f(0x1cb)],_0x42a0c1[_0x52275f(0x151)]&&(_0x51c425=new _0x404895(_0x42a0c1[_0x52275f(0x151)]!==!0x0?_0x42a0c1['perMessageDeflate']:{},!0x1,_0x42a0c1[_0x52275f(0x17a)]),_0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x248)]=_0x38d07f({[_0x404895[_0x52275f(0x2ad)]]:_0x51c425[_0x52275f(0x256)]()})),_0x20a9e7['length']){for(const _0x54fd3a of _0x20a9e7){if(typeof _0x54fd3a!=_0x52275f(0x21c)||!_0x189aee[_0x52275f(0x25c)](_0x54fd3a)||_0x31ff69[_0x52275f(0x159)](_0x54fd3a))throw new SyntaxError(_0x52275f(0x2bd));_0x31ff69['add'](_0x54fd3a);}_0x42a0c1[_0x52275f(0x12e)]['Sec-WebSocket-Protocol']=_0x20a9e7[_0x52275f(0x1e7)](',');}if(_0x42a0c1[_0x52275f(0x1f5)]&&(_0x42a0c1['protocolVersion']<0xd?_0x42a0c1[_0x52275f(0x12e)]['Sec-WebSocket-Origin']=_0x42a0c1[_0x52275f(0x1f5)]:_0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x1f1)]=_0x42a0c1[_0x52275f(0x1f5)]),(_0x7c0b51[_0x52275f(0x22e)]||_0x7c0b51['password'])&&(_0x42a0c1[_0x52275f(0x185)]=_0x7c0b51[_0x52275f(0x22e)]+':'+_0x7c0b51[_0x52275f(0x2a9)]),_0x48889b){const _0x4524c9=_0x42a0c1[_0x52275f(0x282)][_0x52275f(0x146)](':');_0x42a0c1['socketPath']=_0x4524c9[0x0],_0x42a0c1[_0x52275f(0x282)]=_0x4524c9[0x1];}let _0x1f9938;if(_0x42a0c1['followRedirects']){if(_0x307cac[_0x52275f(0x1a5)]===0x0){_0x307cac[_0x52275f(0x2ca)]=_0x48889b,_0x307cac[_0x52275f(0x238)]=_0x41fdce,_0x307cac[_0x52275f(0x16d)]=_0x48889b?_0x42a0c1[_0x52275f(0x1b1)]:_0x7c0b51[_0x52275f(0x26f)];const _0x1f026c=_0x4e8380&&_0x4e8380[_0x52275f(0x12e)];if(_0x4e8380={..._0x4e8380,'headers':{}},_0x1f026c){for(const [_0x9d56a3,_0x56d7fa]of Object[_0x52275f(0x189)](_0x1f026c))_0x4e8380['headers'][_0x9d56a3[_0x52275f(0x1e4)]()]=_0x56d7fa;}}else{if(_0x307cac[_0x52275f(0x249)](_0x52275f(0x242))===0x0){const _0xa50d9e=_0x48889b?_0x307cac[_0x52275f(0x2ca)]?_0x42a0c1[_0x52275f(0x1b1)]===_0x307cac[_0x52275f(0x16d)]:!0x1:_0x307cac['_originalIpc']?!0x1:_0x7c0b51['host']===_0x307cac[_0x52275f(0x16d)];(!_0xa50d9e||_0x307cac['_originalSecure']&&!_0x41fdce)&&(delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x1dc)],delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x27e)],_0xa50d9e||delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x26f)],_0x42a0c1[_0x52275f(0x185)]=void 0x0);}}_0x42a0c1[_0x52275f(0x185)]&&!_0x4e8380['headers']['authorization']&&(_0x4e8380[_0x52275f(0x12e)][_0x52275f(0x1dc)]='Basic\x20'+Buffer[_0x52275f(0x1f2)](_0x42a0c1[_0x52275f(0x185)])[_0x52275f(0x2f3)](_0x52275f(0x2f1))),_0x1f9938=_0x307cac['_req']=_0x5ec7b4(_0x42a0c1),_0x307cac[_0x52275f(0x1a5)]&&_0x307cac[_0x52275f(0x26d)](_0x52275f(0x242),_0x307cac[_0x52275f(0x2db)],_0x1f9938);}else _0x1f9938=_0x307cac[_0x52275f(0x2be)]=_0x5ec7b4(_0x42a0c1);_0x42a0c1['timeout']&&_0x1f9938['on'](_0x52275f(0x179),()=>{const _0x4f8498=_0x52275f;_0x9a1ec4(_0x307cac,_0x1f9938,_0x4f8498(0x1bb));}),_0x1f9938['on'](_0x52275f(0x134),_0x15ec8d=>{_0x1f9938===null||_0x1f9938[_0x4c53aa]||(_0x1f9938=_0x307cac['_req']=null,_0x4fb619(_0x307cac,_0x15ec8d));}),_0x1f9938['on']('response',_0x2ff168=>{const _0x2f02a6=_0x52275f,_0x4853f1=_0x2ff168['headers'][_0x2f02a6(0x1de)],_0x41d86b=_0x2ff168[_0x2f02a6(0x15f)];if(_0x4853f1&&_0x42a0c1['followRedirects']&&_0x41d86b>=0x12c&&_0x41d86b<0x190){if(++_0x307cac[_0x2f02a6(0x1a5)]>_0x42a0c1[_0x2f02a6(0x21e)]){_0x9a1ec4(_0x307cac,_0x1f9938,_0x2f02a6(0x2b1));return;}_0x1f9938[_0x2f02a6(0x144)]();let _0xc792b3;try{_0xc792b3=new _0x58b8e1(_0x4853f1,_0x70d837);}catch{const _0x46faf5=new SyntaxError('Invalid\x20URL:\x20'+_0x4853f1);_0x4fb619(_0x307cac,_0x46faf5);return;}_0x3649a4(_0x307cac,_0xc792b3,_0x20a9e7,_0x4e8380);}else _0x307cac['emit'](_0x2f02a6(0x2ea),_0x1f9938,_0x2ff168)||_0x9a1ec4(_0x307cac,_0x1f9938,_0x2f02a6(0x2a1)+_0x2ff168['statusCode']);}),_0x1f9938['on']('upgrade',(_0x2b5c2a,_0x509a2d,_0x445f57)=>{const _0x5b173c=_0x52275f;if(_0x307cac[_0x5b173c(0x26d)](_0x5b173c(0x245),_0x2b5c2a),_0x307cac[_0x5b173c(0x21b)]!==_0x130a30['CONNECTING'])return;_0x1f9938=_0x307cac['_req']=null;const _0x4fcde6=_0x2b5c2a[_0x5b173c(0x12e)][_0x5b173c(0x245)];if(_0x4fcde6===void 0x0||_0x4fcde6[_0x5b173c(0x1e4)]()!=='websocket'){_0x9a1ec4(_0x307cac,_0x509a2d,'Invalid\x20Upgrade\x20header');return;}const _0x506167=_0x366925(_0x5b173c(0x1e5))['update'](_0x3ab688+_0x58ca0d)[_0x5b173c(0x2d2)](_0x5b173c(0x2f1));if(_0x2b5c2a[_0x5b173c(0x12e)][_0x5b173c(0x2b2)]!==_0x506167){_0x9a1ec4(_0x307cac,_0x509a2d,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4f5cb7=_0x2b5c2a['headers'][_0x5b173c(0x2ac)];let _0x5681a7;if(_0x4f5cb7!==void 0x0?_0x31ff69['size']?_0x31ff69[_0x5b173c(0x159)](_0x4f5cb7)||(_0x5681a7=_0x5b173c(0x2d1)):_0x5681a7=_0x5b173c(0x149):_0x31ff69[_0x5b173c(0x24b)]&&(_0x5681a7=_0x5b173c(0x162)),_0x5681a7){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5681a7);return;}_0x4f5cb7&&(_0x307cac[_0x5b173c(0x24e)]=_0x4f5cb7);const _0x1f2063=_0x2b5c2a['headers'][_0x5b173c(0x1a0)];if(_0x1f2063!==void 0x0){if(!_0x51c425){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x1c5));return;}let _0x57a98d;try{_0x57a98d=_0x19f3db(_0x1f2063);}catch{_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x13e));return;}const _0x3461f2=Object[_0x5b173c(0x17f)](_0x57a98d);if(_0x3461f2[_0x5b173c(0x284)]!==0x1||_0x3461f2[0x0]!==_0x404895['extensionName']){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x28b));return;}try{_0x51c425[_0x5b173c(0x19f)](_0x57a98d[_0x404895['extensionName']]);}catch{_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x13e));return;}_0x307cac['_extensions'][_0x404895['extensionName']]=_0x51c425;}_0x307cac['setSocket'](_0x509a2d,_0x445f57,{'allowSynchronousEvents':_0x42a0c1[_0x5b173c(0x1b4)],'generateMask':_0x42a0c1['generateMask'],'maxPayload':_0x42a0c1[_0x5b173c(0x17a)],'skipUTF8Validation':_0x42a0c1['skipUTF8Validation']});}),_0x42a0c1['finishRequest']?_0x42a0c1['finishRequest'](_0x1f9938,_0x307cac):_0x1f9938[_0x52275f(0x170)]();}function _0x4fb619(_0x415ec,_0xb73124){const _0x25b310=_0x503da1;_0x415ec['_readyState']=_0x130a30['CLOSING'],_0x415ec[_0x25b310(0x2bb)]=!0x0,_0x415ec['emit']('error',_0xb73124),_0x415ec[_0x25b310(0x21f)]();}function _0x2fd8df(_0x59661b){const _0x3ebd7c=_0x503da1;return _0x59661b[_0x3ebd7c(0x282)]=_0x59661b['socketPath'],_0x56a2ee[_0x3ebd7c(0x15d)](_0x59661b);}function _0x434ce6(_0x56f4bf){const _0x2bbf15=_0x503da1;return _0x56f4bf[_0x2bbf15(0x282)]=void 0x0,!_0x56f4bf[_0x2bbf15(0x214)]&&_0x56f4bf[_0x2bbf15(0x214)]!==''&&(_0x56f4bf[_0x2bbf15(0x214)]=_0x56a2ee[_0x2bbf15(0x25d)](_0x56f4bf[_0x2bbf15(0x26f)])?'':_0x56f4bf[_0x2bbf15(0x26f)]),_0x2a6bff['connect'](_0x56f4bf);}function _0x9a1ec4(_0x21d9ca,_0x930b7,_0x420505){const _0x302d64=_0x503da1;_0x21d9ca[_0x302d64(0x181)]=_0x130a30[_0x302d64(0x21a)];const _0x4dc878=new Error(_0x420505);Error['captureStackTrace'](_0x4dc878,_0x9a1ec4),_0x930b7[_0x302d64(0x166)]?(_0x930b7[_0x4c53aa]=!0x0,_0x930b7['abort'](),_0x930b7[_0x302d64(0x167)]&&!_0x930b7[_0x302d64(0x167)]['destroyed']&&_0x930b7['socket'][_0x302d64(0x2dc)](),process[_0x302d64(0x2a3)](_0x4fb619,_0x21d9ca,_0x4dc878)):(_0x930b7[_0x302d64(0x2dc)](_0x4dc878),_0x930b7[_0x302d64(0x2cd)]('error',_0x21d9ca[_0x302d64(0x26d)][_0x302d64(0x23d)](_0x21d9ca,_0x302d64(0x134))),_0x930b7[_0x302d64(0x2cd)]('close',_0x21d9ca['emitClose']['bind'](_0x21d9ca)));}function _0x2d169c(_0x11c51e,_0x242f5c,_0x3347ce){const _0xa5791e=_0x503da1;if(_0x242f5c){const _0x583d73=_0x1d6e51(_0x242f5c)?_0x242f5c['size']:_0x2e49f2(_0x242f5c)[_0xa5791e(0x284)];_0x11c51e['_socket']?_0x11c51e[_0xa5791e(0x168)][_0xa5791e(0x224)]+=_0x583d73:_0x11c51e[_0xa5791e(0x145)]+=_0x583d73;}if(_0x3347ce){const _0x4da8f3=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x11c51e[_0xa5791e(0x21b)]+'\x20('+_0x4beb97[_0x11c51e[_0xa5791e(0x21b)]]+')');process['nextTick'](_0x3347ce,_0x4da8f3);}}function _0x573ecc(_0x4e9e8e,_0x189ba7){const _0x421078=_0x503da1,_0x4d0a71=this[_0x3d0f06];_0x4d0a71[_0x421078(0x240)]=!0x0,_0x4d0a71[_0x421078(0x1d7)]=_0x189ba7,_0x4d0a71['_closeCode']=_0x4e9e8e,_0x4d0a71[_0x421078(0x2a0)][_0x3d0f06]!==void 0x0&&(_0x4d0a71[_0x421078(0x2a0)][_0x421078(0x2de)](_0x421078(0x2e6),_0x52c656),process[_0x421078(0x2a3)](_0xf282e5,_0x4d0a71[_0x421078(0x2a0)]),_0x4e9e8e===0x3ed?_0x4d0a71[_0x421078(0x29e)]():_0x4d0a71[_0x421078(0x29e)](_0x4e9e8e,_0x189ba7));}function _0x44fa60(){const _0x215c35=_0x503da1,_0x1bcda9=this[_0x3d0f06];_0x1bcda9[_0x215c35(0x18c)]||_0x1bcda9[_0x215c35(0x2a0)][_0x215c35(0x272)]();}function _0x56b14c(_0xffb2cf){const _0x185dc8=_0x503da1,_0x54dc62=this[_0x3d0f06];_0x54dc62[_0x185dc8(0x2a0)][_0x3d0f06]!==void 0x0&&(_0x54dc62[_0x185dc8(0x2a0)][_0x185dc8(0x2de)](_0x185dc8(0x2e6),_0x52c656),process[_0x185dc8(0x2a3)](_0xf282e5,_0x54dc62['_socket']),_0x54dc62[_0x185dc8(0x29e)](_0xffb2cf[_0x5a7f21])),_0x54dc62[_0x185dc8(0x2bb)]||(_0x54dc62[_0x185dc8(0x2bb)]=!0x0,_0x54dc62[_0x185dc8(0x26d)](_0x185dc8(0x134),_0xffb2cf));}function _0x3b71c7(){const _0x3dd9c2=_0x503da1;this[_0x3d0f06][_0x3dd9c2(0x21f)]();}function _0x53d73f(_0x917727,_0x240812){const _0x48e17c=_0x503da1;this[_0x3d0f06][_0x48e17c(0x26d)]('message',_0x917727,_0x240812);}function _0x41cf0d(_0x314157){const _0x45b8e6=_0x503da1,_0x17450a=this[_0x3d0f06];_0x17450a[_0x45b8e6(0x296)]&&_0x17450a[_0x45b8e6(0x199)](_0x314157,!this[_0x45b8e6(0x1ae)],_0x2ffd70),_0x17450a['emit'](_0x45b8e6(0x1b6),_0x314157);}function _0x40ce31(_0x50c72d){const _0x2d0610=_0x503da1;this[_0x3d0f06][_0x2d0610(0x26d)](_0x2d0610(0x199),_0x50c72d);}function _0xf282e5(_0xb62b2a){const _0x30180b=_0x503da1;_0xb62b2a[_0x30180b(0x272)]();}function _0x38a004(_0x2a926d){const _0x16e4a3=_0x503da1,_0x592d4e=this[_0x3d0f06];_0x592d4e[_0x16e4a3(0x21b)]!==_0x130a30[_0x16e4a3(0x265)]&&(_0x592d4e['readyState']===_0x130a30['OPEN']&&(_0x592d4e[_0x16e4a3(0x181)]=_0x130a30[_0x16e4a3(0x21a)],_0x4ad687(_0x592d4e)),this['_socket'][_0x16e4a3(0x170)](),_0x592d4e[_0x16e4a3(0x2bb)]||(_0x592d4e[_0x16e4a3(0x2bb)]=!0x0,_0x592d4e[_0x16e4a3(0x26d)](_0x16e4a3(0x134),_0x2a926d)));}function _0x4ad687(_0x17eb98){const _0x26b859=_0x503da1;_0x17eb98['_closeTimer']=setTimeout(_0x17eb98[_0x26b859(0x2a0)][_0x26b859(0x2dc)][_0x26b859(0x23d)](_0x17eb98['_socket']),_0x4d0e39);}function _0x15a40b(){const _0x1d5bec=_0x503da1,_0x296ff4=this[_0x3d0f06];this[_0x1d5bec(0x2de)](_0x1d5bec(0x29e),_0x15a40b),this[_0x1d5bec(0x2de)]('data',_0x52c656),this[_0x1d5bec(0x2de)](_0x1d5bec(0x170),_0x6ffaf4),_0x296ff4[_0x1d5bec(0x181)]=_0x130a30[_0x1d5bec(0x21a)];let _0x4b513d;!this[_0x1d5bec(0x1d3)][_0x1d5bec(0x17c)]&&!_0x296ff4[_0x1d5bec(0x240)]&&!_0x296ff4[_0x1d5bec(0x150)][_0x1d5bec(0x2eb)][_0x1d5bec(0x1dd)]&&(_0x4b513d=_0x296ff4[_0x1d5bec(0x2a0)]['read']())!==null&&_0x296ff4[_0x1d5bec(0x150)][_0x1d5bec(0x1eb)](_0x4b513d),_0x296ff4[_0x1d5bec(0x150)]['end'](),this[_0x3d0f06]=void 0x0,clearTimeout(_0x296ff4[_0x1d5bec(0x2ec)]),_0x296ff4[_0x1d5bec(0x150)]['_writableState'][_0x1d5bec(0x2a7)]||_0x296ff4['_receiver'][_0x1d5bec(0x2eb)][_0x1d5bec(0x1dd)]?_0x296ff4[_0x1d5bec(0x21f)]():(_0x296ff4[_0x1d5bec(0x150)]['on'](_0x1d5bec(0x134),_0x3b71c7),_0x296ff4[_0x1d5bec(0x150)]['on'](_0x1d5bec(0x217),_0x3b71c7));}function _0x52c656(_0x4ce717){const _0x234fd4=_0x503da1;this[_0x3d0f06]['_receiver'][_0x234fd4(0x1eb)](_0x4ce717)||this[_0x234fd4(0x2df)]();}function _0x6ffaf4(){const _0x1fab3e=_0x503da1,_0x8ddc0c=this[_0x3d0f06];_0x8ddc0c['_readyState']=_0x130a30[_0x1fab3e(0x21a)],_0x8ddc0c[_0x1fab3e(0x150)][_0x1fab3e(0x170)](),this[_0x1fab3e(0x170)]();}function _0x565452(){const _0x584d7b=_0x503da1,_0x15a503=this[_0x3d0f06];this[_0x584d7b(0x2de)](_0x584d7b(0x134),_0x565452),this['on'](_0x584d7b(0x134),_0x2ffd70),_0x15a503&&(_0x15a503[_0x584d7b(0x181)]=_0x130a30[_0x584d7b(0x21a)],this[_0x584d7b(0x2dc)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x37b2da}=oe;function _0x49bbd2(_0x9da9d5){const _0x1d2d7e=_0x4b9f;_0x9da9d5['emit'](_0x1d2d7e(0x29e));}function _0xf7e597(){const _0x3310f2=_0x4b9f;!this[_0x3310f2(0x1c0)]&&this[_0x3310f2(0x2eb)]['finished']&&this[_0x3310f2(0x2dc)]();}function _0x19ef7c(_0x2a0c3a){const _0x4b890f=_0x4b9f;this[_0x4b890f(0x2de)](_0x4b890f(0x134),_0x19ef7c),this[_0x4b890f(0x2dc)](),this['listenerCount'](_0x4b890f(0x134))===0x0&&this[_0x4b890f(0x26d)](_0x4b890f(0x134),_0x2a0c3a);}function _0x1fdfe5(_0x4315e3,_0x486a94){const _0x56508a=_0x4b9f;let _0x549d2a=!0x0;const _0x1322ec=new _0x37b2da({..._0x486a94,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4315e3['on'](_0x56508a(0x1a4),function(_0x545157,_0x298130){const _0x50fddc=_0x56508a,_0x413859=!_0x298130&&_0x1322ec[_0x50fddc(0x1d3)]['objectMode']?_0x545157[_0x50fddc(0x2f3)]():_0x545157;_0x1322ec['push'](_0x413859)||_0x4315e3[_0x50fddc(0x2df)]();}),_0x4315e3[_0x56508a(0x2cd)](_0x56508a(0x134),function(_0x319665){const _0x1a1627=_0x56508a;_0x1322ec[_0x1a1627(0x1c0)]||(_0x549d2a=!0x1,_0x1322ec[_0x1a1627(0x2dc)](_0x319665));}),_0x4315e3[_0x56508a(0x2cd)](_0x56508a(0x29e),function(){const _0x1563ff=_0x56508a;_0x1322ec[_0x1563ff(0x1c0)]||_0x1322ec[_0x1563ff(0x1e6)](null);}),_0x1322ec[_0x56508a(0x227)]=function(_0xdbe527,_0x519684){const _0x122950=_0x56508a;if(_0x4315e3[_0x122950(0x21b)]===_0x4315e3[_0x122950(0x265)]){_0x519684(_0xdbe527),process[_0x122950(0x2a3)](_0x49bbd2,_0x1322ec);return;}let _0x522690=!0x1;_0x4315e3[_0x122950(0x2cd)](_0x122950(0x134),function(_0xdd2440){_0x522690=!0x0,_0x519684(_0xdd2440);}),_0x4315e3[_0x122950(0x2cd)](_0x122950(0x29e),function(){const _0x1d531c=_0x122950;_0x522690||_0x519684(_0xdbe527),process[_0x1d531c(0x2a3)](_0x49bbd2,_0x1322ec);}),_0x549d2a&&_0x4315e3['terminate']();},_0x1322ec[_0x56508a(0x210)]=function(_0x2530fa){const _0x4798ad=_0x56508a;if(_0x4315e3[_0x4798ad(0x21b)]===_0x4315e3[_0x4798ad(0x1ab)]){_0x4315e3['once'](_0x4798ad(0x260),function(){const _0x5ae3eb=_0x4798ad;_0x1322ec[_0x5ae3eb(0x210)](_0x2530fa);});return;}_0x4315e3['_socket']!==null&&(_0x4315e3['_socket'][_0x4798ad(0x2eb)][_0x4798ad(0x2a7)]?(_0x2530fa(),_0x1322ec[_0x4798ad(0x1d3)][_0x4798ad(0x17c)]&&_0x1322ec[_0x4798ad(0x2dc)]()):(_0x4315e3['_socket'][_0x4798ad(0x2cd)]('finish',function(){_0x2530fa();}),_0x4315e3[_0x4798ad(0x29e)]()));},_0x1322ec[_0x56508a(0x2c8)]=function(){_0x4315e3['isPaused']&&_0x4315e3['resume']();},_0x1322ec[_0x56508a(0x1ac)]=function(_0x994721,_0x5dac3b,_0x2979c1){const _0x2503b7=_0x56508a;if(_0x4315e3[_0x2503b7(0x21b)]===_0x4315e3[_0x2503b7(0x1ab)]){_0x4315e3[_0x2503b7(0x2cd)](_0x2503b7(0x260),function(){_0x1322ec['_write'](_0x994721,_0x5dac3b,_0x2979c1);});return;}_0x4315e3[_0x2503b7(0x172)](_0x994721,_0x2979c1);},_0x1322ec['on']('end',_0xf7e597),_0x1322ec['on'](_0x56508a(0x134),_0x19ef7c),_0x1322ec;}return Oe=_0x1fdfe5,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x320a85}=ae();function _0x8f9ebe(_0x4dbefd){const _0x2071f3=_0x4b9f,_0x13da53=new Set();let _0x57941b=-0x1,_0x19a2cb=-0x1,_0x3e6a8f=0x0;for(_0x3e6a8f;_0x3e6a8f<_0x4dbefd['length'];_0x3e6a8f++){const _0x35b698=_0x4dbefd[_0x2071f3(0x183)](_0x3e6a8f);if(_0x19a2cb===-0x1&&_0x320a85[_0x35b698]===0x1)_0x57941b===-0x1&&(_0x57941b=_0x3e6a8f);else{if(_0x3e6a8f!==0x0&&(_0x35b698===0x20||_0x35b698===0x9))_0x19a2cb===-0x1&&_0x57941b!==-0x1&&(_0x19a2cb=_0x3e6a8f);else{if(_0x35b698===0x2c){if(_0x57941b===-0x1)throw new SyntaxError(_0x2071f3(0x19b)+_0x3e6a8f);_0x19a2cb===-0x1&&(_0x19a2cb=_0x3e6a8f);const _0x55ac62=_0x4dbefd[_0x2071f3(0x1e0)](_0x57941b,_0x19a2cb);if(_0x13da53['has'](_0x55ac62))throw new SyntaxError(_0x2071f3(0x230)+_0x55ac62+_0x2071f3(0x1d1));_0x13da53[_0x2071f3(0x1c7)](_0x55ac62),_0x57941b=_0x19a2cb=-0x1;}else throw new SyntaxError(_0x2071f3(0x19b)+_0x3e6a8f);}}}if(_0x57941b===-0x1||_0x19a2cb!==-0x1)throw new SyntaxError(_0x2071f3(0x1ec));const _0x309ce3=_0x4dbefd['slice'](_0x57941b,_0x3e6a8f);if(_0x13da53['has'](_0x309ce3))throw new SyntaxError('The\x20\x22'+_0x309ce3+_0x2071f3(0x1d1));return _0x13da53[_0x2071f3(0x1c7)](_0x309ce3),_0x13da53;}return Ce={'parse':_0x8f9ebe},Ce;}var Te,rt;function Ft(){const _0x45154d=_0x548fc7;if(rt)return Te;rt=0x1;const _0x23c7e9=nt,_0x33104b=ot,{Duplex:_0x1a79d9}=oe,{createHash:_0x56150f}=Le,_0x13f79e=ct(),_0x3754fd=he(),_0x525bb6=At(),_0x4e2474=Pe(),{GUID:_0x42d9a7,kWebSocket:_0xdddb4a}=H(),_0x56a927=/^[+/0-9A-Za-z]{22}==$/,_0x2b12cc=0x0,_0x41fea8=0x1,_0x17c9a7=0x2;class _0x359793 extends _0x23c7e9{constructor(_0x13bf62,_0x385635){const _0x4d29a2=_0x4b9f;if(super(),_0x13bf62={'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':_0x4e2474,..._0x13bf62},_0x13bf62[_0x4d29a2(0x195)]==null&&!_0x13bf62['server']&&!_0x13bf62[_0x4d29a2(0x206)]||_0x13bf62['port']!=null&&(_0x13bf62[_0x4d29a2(0x148)]||_0x13bf62[_0x4d29a2(0x206)])||_0x13bf62['server']&&_0x13bf62[_0x4d29a2(0x206)])throw new TypeError(_0x4d29a2(0x12f));if(_0x13bf62[_0x4d29a2(0x195)]!=null?(this[_0x4d29a2(0x140)]=_0x33104b[_0x4d29a2(0x1bf)]((_0x192cef,_0x420d31)=>{const _0x2bbd12=_0x4d29a2,_0x7a94cf=_0x33104b[_0x2bbd12(0x2cb)][0x1aa];_0x420d31[_0x2bbd12(0x1af)](0x1aa,{'Content-Length':_0x7a94cf[_0x2bbd12(0x284)],'Content-Type':_0x2bbd12(0x226)}),_0x420d31[_0x2bbd12(0x170)](_0x7a94cf);}),this[_0x4d29a2(0x140)][_0x4d29a2(0x143)](_0x13bf62['port'],_0x13bf62[_0x4d29a2(0x26f)],_0x13bf62[_0x4d29a2(0x1f4)],_0x385635)):_0x13bf62[_0x4d29a2(0x148)]&&(this[_0x4d29a2(0x140)]=_0x13bf62['server']),this[_0x4d29a2(0x140)]){const _0x587959=this[_0x4d29a2(0x26d)][_0x4d29a2(0x23d)](this,'connection');this[_0x4d29a2(0x298)]=_0x5ead13(this[_0x4d29a2(0x140)],{'listening':this['emit'][_0x4d29a2(0x23d)](this,_0x4d29a2(0x1ee)),'error':this[_0x4d29a2(0x26d)][_0x4d29a2(0x23d)](this,'error'),'upgrade':(_0x497a56,_0x5e0682,_0x59c2da)=>{const _0x1fcbb4=_0x4d29a2;this[_0x1fcbb4(0x157)](_0x497a56,_0x5e0682,_0x59c2da,_0x587959);}});}_0x13bf62[_0x4d29a2(0x151)]===!0x0&&(_0x13bf62[_0x4d29a2(0x151)]={}),_0x13bf62['clientTracking']&&(this[_0x4d29a2(0x137)]=new Set(),this[_0x4d29a2(0x182)]=!0x1),this[_0x4d29a2(0x222)]=_0x13bf62,this[_0x4d29a2(0x201)]=_0x2b12cc;}[_0x45154d(0x2e7)](){const _0x8ff6c5=_0x45154d;if(this[_0x8ff6c5(0x222)][_0x8ff6c5(0x206)])throw new Error(_0x8ff6c5(0x259));return this[_0x8ff6c5(0x140)]?this[_0x8ff6c5(0x140)]['address']():null;}[_0x45154d(0x29e)](_0x30c5d8){const _0x3b91d7=_0x45154d;if(this['_state']===_0x17c9a7){_0x30c5d8&&this[_0x3b91d7(0x2cd)](_0x3b91d7(0x29e),()=>{const _0x5a540b=_0x3b91d7;_0x30c5d8(new Error(_0x5a540b(0x2bf)));}),process[_0x3b91d7(0x2a3)](_0x2b8b30,this);return;}if(_0x30c5d8&&this[_0x3b91d7(0x2cd)](_0x3b91d7(0x29e),_0x30c5d8),this['_state']!==_0x41fea8){if(this[_0x3b91d7(0x201)]=_0x41fea8,this[_0x3b91d7(0x222)][_0x3b91d7(0x206)]||this[_0x3b91d7(0x222)][_0x3b91d7(0x148)])this['_server']&&(this['_removeListeners'](),this[_0x3b91d7(0x298)]=this[_0x3b91d7(0x140)]=null),this[_0x3b91d7(0x137)]?this[_0x3b91d7(0x137)][_0x3b91d7(0x24b)]?this[_0x3b91d7(0x182)]=!0x0:process[_0x3b91d7(0x2a3)](_0x2b8b30,this):process['nextTick'](_0x2b8b30,this);else{const _0x1baecc=this[_0x3b91d7(0x140)];this[_0x3b91d7(0x298)](),this[_0x3b91d7(0x298)]=this['_server']=null,_0x1baecc[_0x3b91d7(0x29e)](()=>{_0x2b8b30(this);});}}}[_0x45154d(0x2dd)](_0x1bebe9){const _0xc5e0e5=_0x45154d;if(this['options'][_0xc5e0e5(0x282)]){const _0x4cfea3=_0x1bebe9[_0xc5e0e5(0x2db)][_0xc5e0e5(0x29f)]('?');if((_0x4cfea3!==-0x1?_0x1bebe9[_0xc5e0e5(0x2db)][_0xc5e0e5(0x1e0)](0x0,_0x4cfea3):_0x1bebe9[_0xc5e0e5(0x2db)])!==this['options'][_0xc5e0e5(0x282)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea){const _0x13acab=_0x45154d;_0x4f2ce3['on'](_0x13acab(0x134),_0x1906b8);const _0x552ec9=_0x1b04f0[_0x13acab(0x12e)]['sec-websocket-key'],_0x5a4f66=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x245)],_0x20a688=+_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x1a7)];if(_0x1b04f0[_0x13acab(0x1cc)]!==_0x13acab(0x1f6)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x195,_0x13acab(0x22a));return;}if(_0x5a4f66===void 0x0||_0x5a4f66['toLowerCase']()!==_0x13acab(0x244)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x264));return;}if(_0x552ec9===void 0x0||!_0x56a927[_0x13acab(0x25c)](_0x552ec9)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x1cf));return;}if(_0x20a688!==0xd&&_0x20a688!==0x8){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x270),{'Sec-WebSocket-Version':_0x13acab(0x22c)});return;}if(!this['shouldHandle'](_0x1b04f0)){_0x2e35eb(_0x4f2ce3,0x190);return;}const _0x8eeecd=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x2ac)];let _0x423507=new Set();if(_0x8eeecd!==void 0x0)try{_0x423507=_0x525bb6[_0x13acab(0x268)](_0x8eeecd);}catch{_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x20d));return;}const _0x4ff933=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x1a0)],_0x42e3c1={};if(this[_0x13acab(0x222)][_0x13acab(0x151)]&&_0x4ff933!==void 0x0){const _0x1d4203=new _0x3754fd(this[_0x13acab(0x222)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x229004=_0x13f79e['parse'](_0x4ff933);_0x229004[_0x3754fd[_0x13acab(0x2ad)]]&&(_0x1d4203[_0x13acab(0x19f)](_0x229004[_0x3754fd[_0x13acab(0x2ad)]]),_0x42e3c1[_0x3754fd[_0x13acab(0x2ad)]]=_0x1d4203);}catch{_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x18a));return;}}if(this[_0x13acab(0x222)]['verifyClient']){const _0x2c147b={'origin':_0x1b04f0[_0x13acab(0x12e)][''+(_0x20a688===0x8?'sec-websocket-origin':_0x13acab(0x1f5))],'secure':!!(_0x1b04f0['socket']['authorized']||_0x1b04f0[_0x13acab(0x167)][_0x13acab(0x2ed)]),'req':_0x1b04f0};if(this['options'][_0x13acab(0x174)][_0x13acab(0x284)]===0x2){this['options'][_0x13acab(0x174)](_0x2c147b,(_0x4a9adf,_0x1fbb78,_0x522c7b,_0xf3c2a3)=>{if(!_0x4a9adf)return _0x2e35eb(_0x4f2ce3,_0x1fbb78||0x191,_0x522c7b,_0xf3c2a3);this['completeUpgrade'](_0x42e3c1,_0x552ec9,_0x423507,_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea);});return;}if(!this[_0x13acab(0x222)][_0x13acab(0x174)](_0x2c147b))return _0x2e35eb(_0x4f2ce3,0x191);}this[_0x13acab(0x1d5)](_0x42e3c1,_0x552ec9,_0x423507,_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea);}[_0x45154d(0x1d5)](_0x40b8e6,_0x33e955,_0x44d1b1,_0x190856,_0x5b6db6,_0x3cead2,_0x473c6e){const _0x1d65eb=_0x45154d;if(!_0x5b6db6[_0x1d65eb(0x231)]||!_0x5b6db6[_0x1d65eb(0x142)])return _0x5b6db6[_0x1d65eb(0x2dc)]();if(_0x5b6db6[_0xdddb4a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1d65eb(0x201)]>_0x2b12cc)return _0x2e35eb(_0x5b6db6,0x1f7);const _0x3dafea=[_0x1d65eb(0x247),_0x1d65eb(0x251),_0x1d65eb(0x26e),_0x1d65eb(0x2e1)+_0x56150f(_0x1d65eb(0x1e5))[_0x1d65eb(0x1a8)](_0x33e955+_0x42d9a7)['digest'](_0x1d65eb(0x2f1))],_0x574fb4=new this[(_0x1d65eb(0x222))][(_0x1d65eb(0x2e8))](null,void 0x0,this[_0x1d65eb(0x222)]);if(_0x44d1b1['size']){const _0xe98839=this[_0x1d65eb(0x222)][_0x1d65eb(0x29c)]?this[_0x1d65eb(0x222)][_0x1d65eb(0x29c)](_0x44d1b1,_0x190856):_0x44d1b1[_0x1d65eb(0x15c)]()[_0x1d65eb(0x283)]()[_0x1d65eb(0x1b5)];_0xe98839&&(_0x3dafea['push'](_0x1d65eb(0x2b6)+_0xe98839),_0x574fb4[_0x1d65eb(0x24e)]=_0xe98839);}if(_0x40b8e6[_0x3754fd[_0x1d65eb(0x2ad)]]){const _0x2db2ac=_0x40b8e6[_0x3754fd[_0x1d65eb(0x2ad)]][_0x1d65eb(0x1fa)],_0x2ef9ad=_0x13f79e[_0x1d65eb(0x156)]({[_0x3754fd[_0x1d65eb(0x2ad)]]:[_0x2db2ac]});_0x3dafea[_0x1d65eb(0x1e6)](_0x1d65eb(0x2d5)+_0x2ef9ad),_0x574fb4['_extensions']=_0x40b8e6;}this[_0x1d65eb(0x26d)](_0x1d65eb(0x12e),_0x3dafea,_0x190856),_0x5b6db6[_0x1d65eb(0x1eb)](_0x3dafea['concat']('\x0d\x0a')[_0x1d65eb(0x1e7)]('\x0d\x0a')),_0x5b6db6[_0x1d65eb(0x2de)](_0x1d65eb(0x134),_0x1906b8),_0x574fb4[_0x1d65eb(0x2d4)](_0x5b6db6,_0x3cead2,{'allowSynchronousEvents':this[_0x1d65eb(0x222)][_0x1d65eb(0x1b4)],'maxPayload':this[_0x1d65eb(0x222)][_0x1d65eb(0x17a)],'skipUTF8Validation':this[_0x1d65eb(0x222)][_0x1d65eb(0x1d9)]}),this[_0x1d65eb(0x137)]&&(this['clients'][_0x1d65eb(0x1c7)](_0x574fb4),_0x574fb4['on'](_0x1d65eb(0x29e),()=>{const _0x3b14df=_0x1d65eb;this[_0x3b14df(0x137)][_0x3b14df(0x1df)](_0x574fb4),this['_shouldEmitClose']&&!this['clients'][_0x3b14df(0x24b)]&&process[_0x3b14df(0x2a3)](_0x2b8b30,this);})),_0x473c6e(_0x574fb4,_0x190856);}}Te=_0x359793;function _0x5ead13(_0x1c143e,_0x3df28d){const _0x2128a2=_0x45154d;for(const _0x5b6bac of Object[_0x2128a2(0x17f)](_0x3df28d))_0x1c143e['on'](_0x5b6bac,_0x3df28d[_0x5b6bac]);return function(){const _0xf42e84=_0x2128a2;for(const _0x131f80 of Object['keys'](_0x3df28d))_0x1c143e[_0xf42e84(0x2de)](_0x131f80,_0x3df28d[_0x131f80]);};}function _0x2b8b30(_0x113d28){const _0x565f73=_0x45154d;_0x113d28['_state']=_0x17c9a7,_0x113d28[_0x565f73(0x26d)](_0x565f73(0x29e));}function _0x1906b8(){const _0x535bd0=_0x45154d;this[_0x535bd0(0x2dc)]();}function _0x2e35eb(_0x58f7bf,_0x60be72,_0x31ec7d,_0x40424b){const _0xbff372=_0x45154d;_0x31ec7d=_0x31ec7d||_0x33104b[_0xbff372(0x2cb)][_0x60be72],_0x40424b={'Connection':'close','Content-Type':_0xbff372(0x2cc),'Content-Length':Buffer[_0xbff372(0x27f)](_0x31ec7d),..._0x40424b},_0x58f7bf[_0xbff372(0x2cd)](_0xbff372(0x217),_0x58f7bf['destroy']),_0x58f7bf[_0xbff372(0x170)](_0xbff372(0x191)+_0x60be72+'\x20'+_0x33104b[_0xbff372(0x2cb)][_0x60be72]+'\x0d\x0a'+Object[_0xbff372(0x17f)](_0x40424b)['map'](_0x5b1692=>_0x5b1692+':\x20'+_0x40424b[_0x5b1692])['join']('\x0d\x0a')+_0xbff372(0x1c2)+_0x31ec7d);}function _0x407cf7(_0x415f35,_0x94ef71,_0x2c44f4,_0x402b38,_0x15d155,_0xeb850){const _0x4cf5c3=_0x45154d;if(_0x415f35['listenerCount'](_0x4cf5c3(0x1ad))){const _0xfb3d00=new Error(_0x15d155);Error[_0x4cf5c3(0x261)](_0xfb3d00,_0x407cf7),_0x415f35[_0x4cf5c3(0x26d)](_0x4cf5c3(0x1ad),_0xfb3d00,_0x2c44f4,_0x94ef71);}else _0x2e35eb(_0x2c44f4,_0x402b38,_0x15d155,_0xeb850);}return Te;}Ft();var jt=Object[_0x548fc7(0x295)],Wt=(_0xf58f35,_0x33db1a,_0x85c58c,_0x2035b2)=>{const _0x1d19bf=_0x548fc7;for(var _0x48aef2=_0x2035b2>0x1?void 0x0:_0x2035b2?jt(_0x33db1a,_0x85c58c):_0x33db1a,_0x47a89c=_0xf58f35[_0x1d19bf(0x284)]-0x1,_0x13c7b4;_0x47a89c>=0x0;_0x47a89c--)(_0x13c7b4=_0xf58f35[_0x47a89c])&&(_0x48aef2=_0x13c7b4(_0x48aef2)||_0x48aef2);return _0x48aef2;},qt=(_0x5ba93d,_0xf461d2)=>(_0x1ce395,_0x2d712c)=>_0xf461d2(_0x1ce395,_0x2d712c,_0x5ba93d);let ke=class extends A['Disposable']{constructor(_0xbb92f0){const _0x51bf3c=_0x548fc7;super(),this[_0x51bf3c(0x2a8)]=_0xbb92f0;}[_0x548fc7(0x16b)](_0x3d6c3e){const _0x1211b6=_0x548fc7;var _0x1713b3;const _0x47cf8a=(_0x1713b3=this[_0x1211b6(0x2a8)][_0x1211b6(0x223)](fe))==null?void 0x0:_0x1713b3[_0x1211b6(0x27d)];try{const _0x380e50=new $t(_0x3d6c3e,{'headers':{..._0x47cf8a}}),_0x5d36ec=new A[(_0x1211b6(0x1f8))]();return{'URL':_0x3d6c3e,'close':(_0xa0fa34,_0x54fccd)=>{const _0x4654e=_0x1211b6;_0x380e50[_0x4654e(0x29e)](_0xa0fa34,_0x54fccd),_0x5d36ec['dispose']();},'send':_0x2a44bc=>{_0x380e50['send'](_0x2a44bc);},'open$':new V[(_0x1211b6(0x2c4))](_0x490a38=>{const _0x254adc=_0x1211b6,_0x11916a=_0x2546c4=>_0x490a38[_0x254adc(0x283)](_0x2546c4);_0x380e50[_0x254adc(0x136)](_0x254adc(0x260),_0x11916a),_0x5d36ec[_0x254adc(0x1c7)](A[_0x254adc(0x12c)](()=>_0x380e50[_0x254adc(0x194)](_0x254adc(0x260),_0x11916a)));})[_0x1211b6(0x15a)](V['share']()),'close$':new V[(_0x1211b6(0x2c4))](_0xcead71=>{const _0x3659f3=_0x1211b6,_0x714d3b=_0x128d86=>_0xcead71[_0x3659f3(0x283)](_0x128d86);_0x380e50[_0x3659f3(0x136)](_0x3659f3(0x29e),_0x714d3b),_0x5d36ec[_0x3659f3(0x1c7)](A[_0x3659f3(0x12c)](()=>_0x380e50['removeEventListener'](_0x3659f3(0x29e),_0x714d3b)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]()),'error$':new V['Observable'](_0x5011bf=>{const _0x53bd1e=_0x1211b6,_0x599ac6=_0x15b9b0=>_0x5011bf[_0x53bd1e(0x283)](_0x15b9b0);_0x380e50[_0x53bd1e(0x136)](_0x53bd1e(0x134),_0x599ac6),_0x5d36ec[_0x53bd1e(0x1c7)](A['toDisposable'](()=>_0x380e50[_0x53bd1e(0x194)](_0x53bd1e(0x134),_0x599ac6)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]()),'message$':new V[(_0x1211b6(0x2c4))](_0x5d7368=>{const _0x49f0b=_0x1211b6,_0x5f0b2f=_0x324e30=>_0x5d7368[_0x49f0b(0x283)](_0x324e30);_0x380e50[_0x49f0b(0x136)](_0x49f0b(0x1a4),_0x5f0b2f),_0x5d36ec[_0x49f0b(0x1c7)](A['toDisposable'](()=>_0x380e50[_0x49f0b(0x194)]('message',_0x5f0b2f)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]())};}catch(_0x1a7d35){return console[_0x1211b6(0x134)](_0x1a7d35),null;}}};ke=Wt([qt(0x0,A[_0x548fc7(0x12d)])],ke);var Gt=Object[_0x548fc7(0x2a6)],Vt=Object[_0x548fc7(0x295)],Ht=(_0x123e72,_0xcc4bc6,_0x2475e9)=>_0xcc4bc6 in _0x123e72?Gt(_0x123e72,_0xcc4bc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2475e9}):_0x123e72[_0xcc4bc6]=_0x2475e9,zt=(_0x459255,_0x33f37c,_0x3c404d,_0x339f0c)=>{const _0x194a15=_0x548fc7;for(var _0x36aabc=_0x339f0c>0x1?void 0x0:_0x339f0c?Vt(_0x33f37c,_0x3c404d):_0x33f37c,_0x1f3292=_0x459255[_0x194a15(0x284)]-0x1,_0x56eadc;_0x1f3292>=0x0;_0x1f3292--)(_0x56eadc=_0x459255[_0x1f3292])&&(_0x36aabc=_0x56eadc(_0x36aabc)||_0x36aabc);return _0x36aabc;},Ne=(_0x10ffc2,_0x3bcf31)=>(_0x22a1ba,_0x5012ae)=>_0x3bcf31(_0x22a1ba,_0x5012ae,_0x10ffc2),Yt=(_0x31e009,_0x114781,_0x2e1856)=>Ht(_0x31e009,_0x114781+'',_0x2e1856);exports[_0x548fc7(0x1b8)]=class extends A[_0x548fc7(0x13d)]{constructor(_0x4eab30=Ct,_0x1584b4,_0x1ce92c,_0x5a845c){const _0xf8d7c6=_0x548fc7;_0x4eab30[_0xf8d7c6(0x27d)]||_0x1584b4['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xf8d7c6(0x2a8)]=_0x1ce92c,this[_0xf8d7c6(0x17e)]=_0x5a845c,this[_0xf8d7c6(0x2a8)][_0xf8d7c6(0x26b)](fe,_0x4eab30);}[_0x548fc7(0x16c)](){this['_registerDependencies']();}[_0x548fc7(0x218)](){const _0x5db50a=_0x548fc7;A['registerDependencies'](this[_0x5db50a(0x17e)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x548fc7(0x1b8)],_0x548fc7(0x2c6),_0x548fc7(0x292)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x548fc7(0x18f)](st[_0x548fc7(0x24c)]),Ne(0x1,A[_0x548fc7(0x1f9)]),Ne(0x2,A[_0x548fc7(0x12d)]),Ne(0x3,A['Inject'](A[_0x548fc7(0x213)]))],exports['UniverCollaborationClientNodePlugin']);function _0x4b9f(_0x4231f3,_0x56b402){const _0x4cb944=_0x4cb9();return _0x4b9f=function(_0x4b9f42,_0x397c00){_0x4b9f42=_0x4b9f42-0x12c;let _0x44698=_0x4cb944[_0x4b9f42];return _0x44698;},_0x4b9f(_0x4231f3,_0x56b402);}var Kt=Object[_0x548fc7(0x295)],Xt=(_0x34d056,_0x38a4ae,_0x2dcbc6,_0x4d3e13)=>{const _0xcac21f=_0x548fc7;for(var _0x2d5edd=_0x4d3e13>0x1?void 0x0:_0x4d3e13?Kt(_0x38a4ae,_0x2dcbc6):_0x38a4ae,_0xb71dbb=_0x34d056[_0xcac21f(0x284)]-0x1,_0x58e45d;_0xb71dbb>=0x0;_0xb71dbb--)(_0x58e45d=_0x34d056[_0xb71dbb])&&(_0x2d5edd=_0x58e45d(_0x2d5edd)||_0x2d5edd);return _0x2d5edd;},ne=(_0x18447d,_0x484940)=>(_0x2a16e3,_0xaf0770)=>_0x484940(_0x2a16e3,_0xaf0770,_0x18447d);exports[_0x548fc7(0x219)]=class extends st[_0x548fc7(0x152)]{constructor(_0x57b647,_0x4187c9,_0x5bab33,_0x5063cf,_0x118984){const _0x8ee4bb=_0x548fc7;super(_0x57b647,_0x4187c9,_0x5bab33,_0x5063cf,_0x118984);const _0x8aab07=this[_0x8ee4bb(0x2a8)]['getConfig'](fe);this[_0x8ee4bb(0x20e)]['registerHTTPInterceptor']({'interceptor':(_0xa0073f,_0x334a38)=>{const _0x375020=_0x8ee4bb;var _0x515549;const _0x5c2d59=_0xa0073f[_0x375020(0x12e)];return(_0x515549=_0x8aab07==null?void 0x0:_0x8aab07[_0x375020(0x27d)])!=null&&_0x515549[_0x375020(0x27e)]&&_0x5c2d59['set'](_0x375020(0x160),_0x8aab07[_0x375020(0x27d)]['cookie']),_0x334a38(_0xa0073f);}});}async[_0x548fc7(0x16b)](_0x2b43c2){return this['_doCreateSocket'](_0x2b43c2);}},exports[_0x548fc7(0x219)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x548fc7(0x236)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x548fc7(0x1f9)]),ne(0x4,Ot[_0x548fc7(0x186)])],exports[_0x548fc7(0x219)]),exports[_0x548fc7(0x1a3)]=fe;
|