@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504171607 → 0.6.10

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x31da81=_0x3ec1;(function(_0x21e259,_0x49a0f7){const _0x5b43d5=_0x3ec1,_0x2d3bf4=_0x21e259();while(!![]){try{const _0x4c6142=-parseInt(_0x5b43d5(0x2bb))/0x1*(parseInt(_0x5b43d5(0x269))/0x2)+parseInt(_0x5b43d5(0x254))/0x3+parseInt(_0x5b43d5(0x1d6))/0x4+-parseInt(_0x5b43d5(0x29e))/0x5*(parseInt(_0x5b43d5(0x224))/0x6)+-parseInt(_0x5b43d5(0x2e0))/0x7+parseInt(_0x5b43d5(0x221))/0x8*(-parseInt(_0x5b43d5(0x297))/0x9)+parseInt(_0x5b43d5(0x17c))/0xa*(parseInt(_0x5b43d5(0x1b2))/0xb);if(_0x4c6142===_0x49a0f7)break;else _0x2d3bf4['push'](_0x2d3bf4['shift']());}catch(_0x1abd5a){_0x2d3bf4['push'](_0x2d3bf4['shift']());}}}(_0x41e1,0xea910));import{UniverCollaborationClientPlugin as _0x56a588,CollaborationSocketService as _0x351a2a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x13795b,DisposableCollection as _0x166a18,toDisposable as _0xad6817,IConfigService as _0x421e0e,DependentOn as _0x33ebee,ILogService as _0x4454ef,Inject as _0x173be1,Injector as _0x12eae9,Plugin as _0x5bf9d2,registerDependencies as _0x2f150f}from'@univerjs/core';import{ISocketService as _0x33c413,HTTPService as _0x433452}from'@univerjs/network';import{Observable as _0x29e2bc,share as _0x112638}from'rxjs';import _0x3c1c3f from'events';import _0x4b9bb3 from'https';import _0x44e3a9 from'http';import _0xc9059a from'net';import _0x707792 from'tls';import _0x1aeef7 from'crypto';function _0x41e1(){const _0x1483ca=['sec-websocket-key','mask','onopen','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_payloadLength','_req','default','Parameter\x20\x22','_removeListeners','finish','nextTick','_readableState','_receiver','target','addEventListener','Sec-WebSocket-Protocol:\x20','consume','kReason','threshold','noServer','objectMode','wsClientError','Upgrade:\x20websocket','has','maskBuffer','_final','charCodeAt','server_max_window_bits','_max_window_bits','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','allocUnsafe','replace','_originalIpc','includes','authorization','concurrencyLimit','serverMaxWindowBits','_bufferedBytes','base64','_mask','180PehjOX','reset','length','GET','end','servername','Max\x20payload\x20size\x20exceeded','1201485erKhaR','_bufferedAmount','readUInt32BE','concat','acceptAsClient','search','Invalid\x20value\x20for\x20parameter\x20\x22','protocolVersion','sec-websocket-extensions','_sender','cleanup','_errorEmitted','href','pow','_socket','\x22:\x20','address','kListener','_protocol','data','frame','createError','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_fragmented','delete','sha1','kType','The\x20\x22','2FhoXPz','split','size','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','collaboration-client-node.config','createConnection','_loop','clientTracking','invalid\x20opcode\x20','customHeaders','_state','once','_destroy','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_inflate','Invalid\x20URL:\x20','followRedirects','removeListener','_server','message','removeAllListeners','toLowerCase','Invalid\x20HTTP\x20method','_opcode','send','invalid\x20opcode\x200','freeze','finished','_autoPong','isValidUTF8','uncork','_closeCode','acceptAsServer','unshift','normalizeParams','startsWith','STATUS_CODES','8820084lcSaHI','emitClose','redirect','_read','sec-websocket-version','Invalid\x20Sec-WebSocket-Protocol\x20header','createDeflateRaw','origin','WS_NO_BUFFER_UTIL','indexOf','params','kCode','kWasClean','sec-websocket-protocol','_no_context_takeover','_errored','finishRequest','WS_ERR_EXPECTED_MASK','Sec-WebSocket-Accept:\x20','abort','setNoDelay','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','pathname','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20Upgrade\x20header','_compressed','WS_NO_UTF_8_VALIDATE','push','total-length','hash','writeUInt16BE','isArray','binaryType','getInfo','captureStackTrace','connection','forEach','setHeader','species','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','call','_skipUTF8Validation','parse','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','ws:','authorized','onerror','error','url','_messageLength','_closeFrameSent','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','keys','_registerDependencies','_writableState','maxPayload','_compress','path','from','WS_ERR_UNEXPECTED_RSV_1','drain','env','_allowSynchronousEvents','connect','password','File','_queue','code','_closeMessage','Unexpected\x20end\x20of\x20input','_threshold','blob','prototype','handleEvent','verifyClient','listening','haveLength','setConfig','Sec-WebSocket-Origin','string','RSV1\x20must\x20be\x20clear','_decompress','fin','16960vjFOLu','sendFrame','The\x20server\x20is\x20not\x20running','_closeFrameReceived','WS_ERR_UNEXPECTED_MASK','_write','getPayloadLength64','type','_fin','kTarget','accept','read','concurrency','allowSynchronousEvents','Maximum\x20redirects\x20exceeded','client','Module','Connection:\x20Upgrade','Unknown\x20parameter\x20\x22','pause','protocol','Invalid\x20Sec-WebSocket-Accept\x20header','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','username','setTimeout','compress','_httpService','create','_paused','_originalHostOrSocketPath','getOwnPropertyDescriptor','Unexpected\x20character\x20at\x20index\x20','kRun','terminate','_closeTimer','isPaused','pipe','_injector','update','ws+unix:','catch','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','cork','_isServer','_maskBuffer','auth','Blob','Unexpected\x20server\x20response:\x20','skipUTF8Validation','byteLength','hasOwnProperty','listeners','HTTP/1.1\x20','object','23397TDTidN','number','Z_DEFAULT_WINDOWBITS','Upgrade','readable','hostname','Sec-WebSocket-Extensions','reason','method','errorEmitted','_totalPayloadLength','registerHTTPInterceptor','add','_fragments','WS_ERR_INVALID_OPCODE','clientNoContextTakeover','port','dispatch','zlibDeflateOptions','extensionName','buffer','_url','byteOffset','client_no_context_takeover','maxRedirects','socketPath','arraybuffer','_shouldEmitClose','_binaryType','toStringTag','location','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','status-code','getBlobData','isBuffer','timeout','2914064CQLhIB','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','enqueue','endEmitted','resume','CLOSING','exports','listen','function','unmask','clientMaxWindowBits','text/html','pending','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getPayloadLength16','unexpected-response','Cookie','controlMessage','WS_ERR_INVALID_UTF8','handshakeTimeout','next','apply','server_no_context_takeover','destroyed','CLOSED','_readyState','arrayBuffer','onclose','websocket','server','perMessageDeflate','bind','toString','cookie','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','autoPong','kMessage','request','close','isServer','alloc','invalid\x20UTF-8\x20sequence','ping','readyState','nodebuffer','__esModule','bufferedAmount','digest','flush','decompress','_doCreateSocket','defaultPort','needDrain','setSocket','getData','conclude','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Sec-WebSocket-Extensions:\x20','_buffers','isInteger','callback','options','Z_SYNC_FLUSH','rsv1','write','handleUpgrade','_originalSecure','WS_ERR_UNEXPECTED_RSV_2_3','invalid\x20status\x20code\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Invalid\x20Sec-WebSocket-Extensions\x20header','getConfig','pong','shift','CONNECTING','637624BQOGlL','jobs','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','18vvQGvY','writeUIntBE','response','buffers','map','warn','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','open','socket','MASK\x20must\x20be\x20clear','_configService','readOnly','generateMask','\x22\x20subprotocol\x20is\x20duplicated','extensions','_maxPayload','stream','isView','upgrade','value','_options','handleProtocols','wasClean','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeEventListener','getMask','invalid\x20payload\x20length\x20','Server\x20sent\x20no\x20subprotocol','isIP','set','join','destroy','host','dequeue','Server\x20sent\x20an\x20invalid\x20subprotocol','headers','_deflate','emit','shouldHandle','completeUpgrade','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','slice','kData','_masked','startLoop','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','encrypted','dataMessage','614535qJIqZY','WebSocket','then','OPEN','Basic\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','defineProperty','serverNoContextTakeover','statusCode','_generateMask','kDone','listenerCount','kIsForOnEventAttribute','_extensions','client_max_window_bits','FIN\x20must\x20be\x20set','wss:','clients','zlibInflateOptions','format','_firstFragment','5006HLYUlO','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','fragments'];_0x41e1=function(){return _0x1483ca;};return _0x41e1();}import _0x51a6cf from'stream';import _0x58e814 from'url';import _0x45f9b7 from'zlib';import _0x5d063d from'buffer';import{ISnapshotServerService as _0x5a6efc}from'@univerjs-pro/collaboration';const Be=_0x31da81(0x2bf),Ft={'customHeaders':{}};function jt(_0x5d7cc0){const _0x4bb62e=_0x31da81;return _0x5d7cc0&&_0x5d7cc0[_0x4bb62e(0x203)]&&Object[_0x4bb62e(0x171)][_0x4bb62e(0x1ae)][_0x4bb62e(0x308)](_0x5d7cc0,_0x4bb62e(0x275))?_0x5d7cc0[_0x4bb62e(0x275)]:_0x5d7cc0;}function ut(_0x3eaa2a){const _0x92fed9=_0x31da81;if(Object[_0x92fed9(0x171)][_0x92fed9(0x1ae)][_0x92fed9(0x308)](_0x3eaa2a,'__esModule'))return _0x3eaa2a;var _0x43a3c2=_0x3eaa2a[_0x92fed9(0x275)];if(typeof _0x43a3c2==_0x92fed9(0x1de)){var _0x4b2609=function _0x34ae2d(){const _0x211cf5=_0x92fed9;return this instanceof _0x34ae2d?Reflect['construct'](_0x43a3c2,arguments,this['constructor']):_0x43a3c2[_0x211cf5(0x1eb)](this,arguments);};_0x4b2609[_0x92fed9(0x171)]=_0x43a3c2[_0x92fed9(0x171)];}else _0x4b2609={};return Object[_0x92fed9(0x25a)](_0x4b2609,_0x92fed9(0x203),{'value':!0x0}),Object[_0x92fed9(0x15d)](_0x3eaa2a)['forEach'](function(_0x10ad69){const _0x57500b=_0x92fed9;var _0x464cc6=Object[_0x57500b(0x19a)](_0x3eaa2a,_0x10ad69);Object[_0x57500b(0x25a)](_0x4b2609,_0x10ad69,_0x464cc6['get']?_0x464cc6:{'enumerable':!0x0,'get':function(){return _0x3eaa2a[_0x10ad69];}});}),_0x4b2609;}var te={'exports':{}},ge,Ye;function V(){const _0x423e42=_0x31da81;if(Ye)return ge;Ye=0x1;const _0x3dfdda=[_0x423e42(0x202),_0x423e42(0x1cc),_0x423e42(0x26c)],_0x4ff80b=typeof Blob<'u';return _0x4ff80b&&_0x3dfdda[_0x423e42(0x2fb)]('blob'),ge={'BINARY_TYPES':_0x3dfdda,'EMPTY_BUFFER':Buffer[_0x423e42(0x1fe)](0x0),'GUID':_0x423e42(0x223),'hasBlob':_0x4ff80b,'kForOnEventAttribute':Symbol(_0x423e42(0x260)),'kListener':Symbol(_0x423e42(0x2af)),'kStatusCode':Symbol(_0x423e42(0x1d2)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x31da81(0x2d5)](Object[_0x31da81(0x25a)]({'__proto__':null,'default':Wt},Symbol[_0x31da81(0x1cf)],{'value':_0x31da81(0x18c)})),Vt=ut(Gt);var Ke;function ce(){const _0x189a35=_0x31da81;if(Ke)return te[_0x189a35(0x1dc)];Ke=0x1;const {EMPTY_BUFFER:_0x487960}=V(),_0x6f28e9=Buffer[Symbol['species']];function _0x5a48f6(_0x339a3c,_0x417649){const _0x3a9de1=_0x189a35;if(_0x339a3c[_0x3a9de1(0x299)]===0x0)return _0x487960;if(_0x339a3c[_0x3a9de1(0x299)]===0x1)return _0x339a3c[0x0];const _0x336fb3=Buffer['allocUnsafe'](_0x417649);let _0x5a61c9=0x0;for(let _0x2109a3=0x0;_0x2109a3<_0x339a3c[_0x3a9de1(0x299)];_0x2109a3++){const _0x1bdbcd=_0x339a3c[_0x2109a3];_0x336fb3[_0x3a9de1(0x241)](_0x1bdbcd,_0x5a61c9),_0x5a61c9+=_0x1bdbcd[_0x3a9de1(0x299)];}return _0x5a61c9<_0x417649?new _0x6f28e9(_0x336fb3[_0x3a9de1(0x1c6)],_0x336fb3[_0x3a9de1(0x1c8)],_0x5a61c9):_0x336fb3;}function _0x8acdc1(_0x187050,_0x737f0c,_0x44c7bc,_0x5e7dbd,_0x4d73c4){for(let _0x409d70=0x0;_0x409d70<_0x4d73c4;_0x409d70++)_0x44c7bc[_0x5e7dbd+_0x409d70]=_0x187050[_0x409d70]^_0x737f0c[_0x409d70&0x3];}function _0x49ec87(_0x396d69,_0x290f43){const _0x3af43c=_0x189a35;for(let _0x959d79=0x0;_0x959d79<_0x396d69[_0x3af43c(0x299)];_0x959d79++)_0x396d69[_0x959d79]^=_0x290f43[_0x959d79&0x3];}function _0x3be42a(_0x6b2e2d){const _0xd56c77=_0x189a35;return _0x6b2e2d[_0xd56c77(0x299)]===_0x6b2e2d[_0xd56c77(0x1c6)][_0xd56c77(0x1ad)]?_0x6b2e2d[_0xd56c77(0x1c6)]:_0x6b2e2d['buffer']['slice'](_0x6b2e2d[_0xd56c77(0x1c8)],_0x6b2e2d[_0xd56c77(0x1c8)]+_0x6b2e2d[_0xd56c77(0x299)]);}function _0x213caa(_0x1123e6){const _0x47ea18=_0x189a35;if(_0x213caa[_0x47ea18(0x22f)]=!0x0,Buffer[_0x47ea18(0x1d4)](_0x1123e6))return _0x1123e6;let _0x1ba233;return _0x1123e6 instanceof ArrayBuffer?_0x1ba233=new _0x6f28e9(_0x1123e6):ArrayBuffer[_0x47ea18(0x235)](_0x1123e6)?_0x1ba233=new _0x6f28e9(_0x1123e6['buffer'],_0x1123e6[_0x47ea18(0x1c8)],_0x1123e6['byteLength']):(_0x1ba233=Buffer['from'](_0x1123e6),_0x213caa[_0x47ea18(0x22f)]=!0x1),_0x1ba233;}if(te[_0x189a35(0x1dc)]={'concat':_0x5a48f6,'mask':_0x8acdc1,'toArrayBuffer':_0x3be42a,'toBuffer':_0x213caa,'unmask':_0x49ec87},!process[_0x189a35(0x166)][_0x189a35(0x2e8)])try{const _0x1320ce=Vt;te['exports']['mask']=function(_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911){const _0x5dce73=_0x189a35;_0x179911<0x30?_0x8acdc1(_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911):_0x1320ce[_0x5dce73(0x26e)](_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911);},te['exports']['unmask']=function(_0x2f76ab,_0x71f387){const _0x2d8fd6=_0x189a35;_0x2f76ab['length']<0x20?_0x49ec87(_0x2f76ab,_0x71f387):_0x1320ce[_0x2d8fd6(0x1df)](_0x2f76ab,_0x71f387);};}catch{}return te[_0x189a35(0x1dc)];}var ye,Xe;function qt(){const _0x1f4079=_0x31da81;if(Xe)return ye;Xe=0x1;const _0x143a5e=Symbol(_0x1f4079(0x25e)),_0x2148a6=Symbol(_0x1f4079(0x19c));class _0x152abb{constructor(_0x4303a3){const _0x6864db=_0x1f4079;this[_0x143a5e]=()=>{const _0x10bde2=_0x3ec1;this[_0x10bde2(0x1e2)]--,this[_0x2148a6]();},this[_0x6864db(0x188)]=_0x4303a3||0x1/0x0,this[_0x6864db(0x222)]=[],this['pending']=0x0;}[_0x1f4079(0x1be)](_0x58c8be){const _0xfed4a2=_0x1f4079;this[_0xfed4a2(0x222)][_0xfed4a2(0x2fb)](_0x58c8be),this[_0x2148a6]();}[_0x2148a6](){const _0x431485=_0x1f4079;if(this[_0x431485(0x1e2)]!==this[_0x431485(0x188)]&&this[_0x431485(0x222)][_0x431485(0x299)]){const _0x4f46df=this[_0x431485(0x222)]['shift']();this[_0x431485(0x1e2)]++,_0x4f46df(this[_0x143a5e]);}}}return ye=_0x152abb,ye;}var ve,Ze;function he(){const _0x399b82=_0x31da81;if(Ze)return ve;Ze=0x1;const _0x3aa095=_0x45f9b7,_0x25df25=ce(),_0x1354cd=qt(),{kStatusCode:_0xfe283a}=V(),_0x33a817=Buffer[Symbol[_0x399b82(0x306)]],_0x55bc6d=Buffer[_0x399b82(0x163)]([0x0,0x0,0xff,0xff]),_0x479910=Symbol('permessage-deflate'),_0x5d958d=Symbol(_0x399b82(0x2fc)),_0x49e3b8=Symbol(_0x399b82(0x212)),_0x4d05e3=Symbol(_0x399b82(0x227)),_0xb5d7e8=Symbol(_0x399b82(0x158));let _0x3ec53f;class _0xf5050b{constructor(_0xfdc807,_0x58a71d,_0x1462a9){const _0x26e99d=_0x399b82;if(this[_0x26e99d(0x233)]=_0x1462a9|0x0,this['_options']=_0xfdc807||{},this[_0x26e99d(0x16f)]=this[_0x26e99d(0x238)][_0x26e99d(0x281)]!==void 0x0?this[_0x26e99d(0x238)][_0x26e99d(0x281)]:0x400,this[_0x26e99d(0x1a7)]=!!_0x58a71d,this[_0x26e99d(0x248)]=null,this['_inflate']=null,this['params']=null,!_0x3ec53f){const _0x458c47=this['_options'][_0x26e99d(0x292)]!==void 0x0?this[_0x26e99d(0x238)][_0x26e99d(0x292)]:0xa;_0x3ec53f=new _0x1354cd(_0x458c47);}}static get['extensionName'](){return'permessage-deflate';}['offer'](){const _0x13ec36=_0x399b82,_0x411277={};return this[_0x13ec36(0x238)][_0x13ec36(0x25b)]&&(_0x411277['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x411277[_0x13ec36(0x1c9)]=!0x0),this['_options'][_0x13ec36(0x293)]&&(_0x411277[_0x13ec36(0x28a)]=this[_0x13ec36(0x238)][_0x13ec36(0x293)]),this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]?_0x411277[_0x13ec36(0x262)]=this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]:this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]==null&&(_0x411277[_0x13ec36(0x262)]=!0x0),_0x411277;}[_0x399b82(0x186)](_0x55bfa0){const _0x1822db=_0x399b82;return _0x55bfa0=this[_0x1822db(0x2dd)](_0x55bfa0),this[_0x1822db(0x2ea)]=this[_0x1822db(0x1a7)]?this[_0x1822db(0x2db)](_0x55bfa0):this['acceptAsClient'](_0x55bfa0),this[_0x1822db(0x2ea)];}[_0x399b82(0x2a8)](){const _0x178056=_0x399b82;if(this[_0x178056(0x2c9)]&&(this[_0x178056(0x2c9)][_0x178056(0x1fc)](),this['_inflate']=null),this['_deflate']){const _0x11e263=this[_0x178056(0x248)][_0x49e3b8];this[_0x178056(0x248)]['close'](),this['_deflate']=null,_0x11e263&&_0x11e263(new Error(_0x178056(0x2be)));}}[_0x399b82(0x2db)](_0x23b2ff){const _0x2fa2a5=_0x399b82,_0x28b4ee=this[_0x2fa2a5(0x238)],_0x1e4fce=_0x23b2ff['find'](_0x287cc6=>!(_0x28b4ee[_0x2fa2a5(0x25b)]===!0x1&&_0x287cc6[_0x2fa2a5(0x1ec)]||_0x287cc6[_0x2fa2a5(0x28a)]&&(_0x28b4ee[_0x2fa2a5(0x293)]===!0x1||typeof _0x28b4ee[_0x2fa2a5(0x293)]==_0x2fa2a5(0x1b3)&&_0x28b4ee[_0x2fa2a5(0x293)]>_0x287cc6['server_max_window_bits'])||typeof _0x28b4ee['clientMaxWindowBits']==_0x2fa2a5(0x1b3)&&!_0x287cc6[_0x2fa2a5(0x262)]));if(!_0x1e4fce)throw new Error(_0x2fa2a5(0x21b));return _0x28b4ee[_0x2fa2a5(0x25b)]&&(_0x1e4fce[_0x2fa2a5(0x1ec)]=!0x0),_0x28b4ee[_0x2fa2a5(0x1c1)]&&(_0x1e4fce[_0x2fa2a5(0x1c9)]=!0x0),typeof _0x28b4ee[_0x2fa2a5(0x293)]==_0x2fa2a5(0x1b3)&&(_0x1e4fce[_0x2fa2a5(0x28a)]=_0x28b4ee[_0x2fa2a5(0x293)]),typeof _0x28b4ee[_0x2fa2a5(0x1e0)]==_0x2fa2a5(0x1b3)?_0x1e4fce[_0x2fa2a5(0x262)]=_0x28b4ee[_0x2fa2a5(0x1e0)]:(_0x1e4fce[_0x2fa2a5(0x262)]===!0x0||_0x28b4ee[_0x2fa2a5(0x1e0)]===!0x1)&&delete _0x1e4fce[_0x2fa2a5(0x262)],_0x1e4fce;}[_0x399b82(0x2a2)](_0x5d62fc){const _0x1b598b=_0x399b82,_0x181b3c=_0x5d62fc[0x0];if(this[_0x1b598b(0x238)]['clientNoContextTakeover']===!0x1&&_0x181b3c[_0x1b598b(0x1c9)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x181b3c[_0x1b598b(0x262)])typeof this['_options']['clientMaxWindowBits']==_0x1b598b(0x1b3)&&(_0x181b3c[_0x1b598b(0x262)]=this[_0x1b598b(0x238)][_0x1b598b(0x1e0)]);else{if(this[_0x1b598b(0x238)][_0x1b598b(0x1e0)]===!0x1||typeof this['_options'][_0x1b598b(0x1e0)]==_0x1b598b(0x1b3)&&_0x181b3c[_0x1b598b(0x262)]>this['_options'][_0x1b598b(0x1e0)])throw new Error(_0x1b598b(0x154));}return _0x181b3c;}[_0x399b82(0x2dd)](_0x52ad4d){return _0x52ad4d['forEach'](_0x2bc54d=>{const _0x1d92f0=_0x3ec1;Object[_0x1d92f0(0x15d)](_0x2bc54d)[_0x1d92f0(0x304)](_0xa1cb0c=>{const _0x28ee42=_0x1d92f0;let _0x185e38=_0x2bc54d[_0xa1cb0c];if(_0x185e38[_0x28ee42(0x299)]>0x1)throw new Error(_0x28ee42(0x276)+_0xa1cb0c+_0x28ee42(0x2b4));if(_0x185e38=_0x185e38[0x0],_0xa1cb0c===_0x28ee42(0x262)){if(_0x185e38!==!0x0){const _0x11b5a1=+_0x185e38;if(!Number['isInteger'](_0x11b5a1)||_0x11b5a1<0x8||_0x11b5a1>0xf)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);_0x185e38=_0x11b5a1;}else{if(!this['_isServer'])throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);}}else{if(_0xa1cb0c==='server_max_window_bits'){const _0x4875ec=+_0x185e38;if(!Number[_0x28ee42(0x211)](_0x4875ec)||_0x4875ec<0x8||_0x4875ec>0xf)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);_0x185e38=_0x4875ec;}else{if(_0xa1cb0c==='client_no_context_takeover'||_0xa1cb0c===_0x28ee42(0x1ec)){if(_0x185e38!==!0x0)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+'\x22:\x20'+_0x185e38);}else throw new Error(_0x28ee42(0x18e)+_0xa1cb0c+'\x22');}}_0x2bc54d[_0xa1cb0c]=_0x185e38;});}),_0x52ad4d;}['decompress'](_0x20a2f0,_0x5eb8f4,_0x3b4839){const _0x2a7c96=_0x399b82;_0x3ec53f[_0x2a7c96(0x1be)](_0x5b6353=>{const _0x1a08c4=_0x2a7c96;this[_0x1a08c4(0x17a)](_0x20a2f0,_0x5eb8f4,(_0x5c44a4,_0x369ed3)=>{_0x5b6353(),_0x3b4839(_0x5c44a4,_0x369ed3);});});}[_0x399b82(0x195)](_0xfdc3af,_0x442173,_0x3793a0){const _0x144eb6=_0x399b82;_0x3ec53f[_0x144eb6(0x1be)](_0x1ec73d=>{const _0xd41cf5=_0x144eb6;this[_0xd41cf5(0x161)](_0xfdc3af,_0x442173,(_0x5ddf9f,_0x35758f)=>{_0x1ec73d(),_0x3793a0(_0x5ddf9f,_0x35758f);});});}[_0x399b82(0x17a)](_0x1804f3,_0x2dce1e,_0x5dc70f){const _0x231b62=_0x399b82,_0x286cc9=this['_isServer']?_0x231b62(0x18b):_0x231b62(0x1f3);if(!this[_0x231b62(0x2c9)]){const _0x9d828b=_0x286cc9+'_max_window_bits',_0x4a312a=typeof this[_0x231b62(0x2ea)][_0x9d828b]!=_0x231b62(0x1b3)?_0x3aa095[_0x231b62(0x1b4)]:this['params'][_0x9d828b];this[_0x231b62(0x2c9)]=_0x3aa095['createInflateRaw']({...this[_0x231b62(0x238)][_0x231b62(0x266)],'windowBits':_0x4a312a}),this['_inflate'][_0x479910]=this,this['_inflate'][_0x5d958d]=0x0,this[_0x231b62(0x2c9)][_0x4d05e3]=[],this[_0x231b62(0x2c9)]['on'](_0x231b62(0x158),_0x41a1ea),this['_inflate']['on'](_0x231b62(0x2b1),_0x56b45e);}this[_0x231b62(0x2c9)][_0x49e3b8]=_0x5dc70f,this[_0x231b62(0x2c9)][_0x231b62(0x216)](_0x1804f3),_0x2dce1e&&this[_0x231b62(0x2c9)]['write'](_0x55bc6d),this[_0x231b62(0x2c9)][_0x231b62(0x206)](()=>{const _0x3c2385=_0x231b62,_0x48f113=this[_0x3c2385(0x2c9)][_0xb5d7e8];if(_0x48f113){this['_inflate']['close'](),this[_0x3c2385(0x2c9)]=null,_0x5dc70f(_0x48f113);return;}const _0x5436f0=_0x25df25['concat'](this[_0x3c2385(0x2c9)][_0x4d05e3],this[_0x3c2385(0x2c9)][_0x5d958d]);this[_0x3c2385(0x2c9)]['_readableState'][_0x3c2385(0x1d9)]?(this[_0x3c2385(0x2c9)][_0x3c2385(0x1fc)](),this[_0x3c2385(0x2c9)]=null):(this['_inflate'][_0x5d958d]=0x0,this[_0x3c2385(0x2c9)][_0x4d05e3]=[],_0x2dce1e&&this['params'][_0x286cc9+_0x3c2385(0x2ee)]&&this[_0x3c2385(0x2c9)]['reset']()),_0x5dc70f(null,_0x5436f0);});}[_0x399b82(0x161)](_0x1f0a33,_0x1a2e53,_0x13ede9){const _0x2af6ec=_0x399b82,_0x240bf9=this['_isServer']?_0x2af6ec(0x1f3):'client';if(!this[_0x2af6ec(0x248)]){const _0x54a8a7=_0x240bf9+_0x2af6ec(0x28b),_0x23e63d=typeof this[_0x2af6ec(0x2ea)][_0x54a8a7]!=_0x2af6ec(0x1b3)?_0x3aa095['Z_DEFAULT_WINDOWBITS']:this['params'][_0x54a8a7];this[_0x2af6ec(0x248)]=_0x3aa095[_0x2af6ec(0x2e6)]({...this['_options'][_0x2af6ec(0x1c4)],'windowBits':_0x23e63d}),this['_deflate'][_0x5d958d]=0x0,this[_0x2af6ec(0x248)][_0x4d05e3]=[],this[_0x2af6ec(0x248)]['on'](_0x2af6ec(0x2b1),_0x348c7b);}this[_0x2af6ec(0x248)][_0x49e3b8]=_0x13ede9,this['_deflate'][_0x2af6ec(0x216)](_0x1f0a33),this['_deflate']['flush'](_0x3aa095[_0x2af6ec(0x214)],()=>{const _0x585a3c=_0x2af6ec;if(!this[_0x585a3c(0x248)])return;let _0x40434b=_0x25df25['concat'](this['_deflate'][_0x4d05e3],this['_deflate'][_0x5d958d]);_0x1a2e53&&(_0x40434b=new _0x33a817(_0x40434b[_0x585a3c(0x1c6)],_0x40434b[_0x585a3c(0x1c8)],_0x40434b[_0x585a3c(0x299)]-0x4)),this[_0x585a3c(0x248)][_0x49e3b8]=null,this[_0x585a3c(0x248)][_0x5d958d]=0x0,this['_deflate'][_0x4d05e3]=[],_0x1a2e53&&this[_0x585a3c(0x2ea)][_0x240bf9+_0x585a3c(0x2ee)]&&this['_deflate'][_0x585a3c(0x298)](),_0x13ede9(null,_0x40434b);});}}ve=_0xf5050b;function _0x348c7b(_0x164695){const _0x3d1f99=_0x399b82;this[_0x4d05e3][_0x3d1f99(0x2fb)](_0x164695),this[_0x5d958d]+=_0x164695['length'];}function _0x56b45e(_0x1abe03){const _0xef1f93=_0x399b82;if(this[_0x5d958d]+=_0x1abe03[_0xef1f93(0x299)],this[_0x479910][_0xef1f93(0x233)]<0x1||this[_0x5d958d]<=this[_0x479910][_0xef1f93(0x233)]){this[_0x4d05e3][_0xef1f93(0x2fb)](_0x1abe03);return;}this[_0xb5d7e8]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xb5d7e8][_0xef1f93(0x16c)]=_0xef1f93(0x23b),this[_0xb5d7e8][_0xfe283a]=0x3f1,this[_0xef1f93(0x2cc)](_0xef1f93(0x2b1),_0x56b45e),this[_0xef1f93(0x298)]();}function _0x41a1ea(_0x582565){const _0x16901f=_0x399b82;this[_0x479910][_0x16901f(0x2c9)]=null,_0x582565[_0xfe283a]=0x3ef,this[_0x49e3b8](_0x582565);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x31da81(0x2d5)](Object[_0x31da81(0x25a)]({'__proto__':null,'default':Ht},Symbol[_0x31da81(0x1cf)],{'value':_0x31da81(0x18c)})),Yt=ut(zt);var Qe;function _0x3ec1(_0x26cb14,_0x1b0266){const _0x41e174=_0x41e1();return _0x3ec1=function(_0x3ec17f,_0x465fa8){_0x3ec17f=_0x3ec17f-0x154;let _0x509af5=_0x41e174[_0x3ec17f];return _0x509af5;},_0x3ec1(_0x26cb14,_0x1b0266);}function ne(){const _0x48731a=_0x31da81;if(Qe)return re[_0x48731a(0x1dc)];Qe=0x1;const {isUtf8:_0x10fc11}=_0x5d063d,{hasBlob:_0x1dc4b7}=V(),_0xb60843=[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 _0x9ceecd(_0x2f1d28){return _0x2f1d28>=0x3e8&&_0x2f1d28<=0x3f6&&_0x2f1d28!==0x3ec&&_0x2f1d28!==0x3ed&&_0x2f1d28!==0x3ee||_0x2f1d28>=0xbb8&&_0x2f1d28<=0x1387;}function _0x1ce5ad(_0x24efa2){const _0xc0260b=_0x48731a,_0x423159=_0x24efa2[_0xc0260b(0x299)];let _0x275c2a=0x0;for(;_0x275c2a<_0x423159;)if((_0x24efa2[_0x275c2a]&0x80)===0x0)_0x275c2a++;else{if((_0x24efa2[_0x275c2a]&0xe0)===0xc0){if(_0x275c2a+0x1===_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a]&0xfe)===0xc0)return!0x1;_0x275c2a+=0x2;}else{if((_0x24efa2[_0x275c2a]&0xf0)===0xe0){if(_0x275c2a+0x2>=_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x2]&0xc0)!==0x80||_0x24efa2[_0x275c2a]===0xe0&&(_0x24efa2[_0x275c2a+0x1]&0xe0)===0x80||_0x24efa2[_0x275c2a]===0xed&&(_0x24efa2[_0x275c2a+0x1]&0xe0)===0xa0)return!0x1;_0x275c2a+=0x3;}else{if((_0x24efa2[_0x275c2a]&0xf8)===0xf0){if(_0x275c2a+0x3>=_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x2]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x3]&0xc0)!==0x80||_0x24efa2[_0x275c2a]===0xf0&&(_0x24efa2[_0x275c2a+0x1]&0xf0)===0x80||_0x24efa2[_0x275c2a]===0xf4&&_0x24efa2[_0x275c2a+0x1]>0x8f||_0x24efa2[_0x275c2a]>0xf4)return!0x1;_0x275c2a+=0x4;}else return!0x1;}}}return!0x0;}function _0x5be022(_0x1c193b){const _0x2a6bf2=_0x48731a;return _0x1dc4b7&&typeof _0x1c193b==_0x2a6bf2(0x1b1)&&typeof _0x1c193b[_0x2a6bf2(0x1f0)]==_0x2a6bf2(0x1de)&&typeof _0x1c193b[_0x2a6bf2(0x183)]==_0x2a6bf2(0x178)&&typeof _0x1c193b[_0x2a6bf2(0x234)]=='function'&&(_0x1c193b[Symbol[_0x2a6bf2(0x1cf)]]===_0x2a6bf2(0x1aa)||_0x1c193b[Symbol[_0x2a6bf2(0x1cf)]]===_0x2a6bf2(0x16a));}if(re[_0x48731a(0x1dc)]={'isBlob':_0x5be022,'isValidStatusCode':_0x9ceecd,'isValidUTF8':_0x1ce5ad,'tokenChars':_0xb60843},_0x10fc11)re[_0x48731a(0x1dc)][_0x48731a(0x2d8)]=function(_0x54c96b){const _0x28d3c2=_0x48731a;return _0x54c96b[_0x28d3c2(0x299)]<0x18?_0x1ce5ad(_0x54c96b):_0x10fc11(_0x54c96b);};else{if(!process[_0x48731a(0x166)][_0x48731a(0x2fa)])try{const _0x39b7f9=Yt;re[_0x48731a(0x1dc)][_0x48731a(0x2d8)]=function(_0x4f5540){const _0x165b88=_0x48731a;return _0x4f5540[_0x165b88(0x299)]<0x20?_0x1ce5ad(_0x4f5540):_0x39b7f9(_0x4f5540);};}catch{}}return re[_0x48731a(0x1dc)];}var Se,Je;function dt(){const _0x454076=_0x31da81;if(Je)return Se;Je=0x1;const {Writable:_0x18277a}=_0x51a6cf,_0x37f376=he(),{BINARY_TYPES:_0xac0dbb,EMPTY_BUFFER:_0x2c8dc9,kStatusCode:_0x5ed91b,kWebSocket:_0x565a1e}=V(),{concat:_0x55cc0b,toArrayBuffer:_0x59b53e,unmask:_0x4be9db}=ce(),{isValidStatusCode:_0x486285,isValidUTF8:_0x4c2149}=ne(),_0x2cc0da=Buffer[Symbol[_0x454076(0x306)]],_0x15bbe8=0x0,_0x52f36d=0x1,_0x39a486=0x2,_0x20b975=0x3,_0x1c840e=0x4,_0xa6f743=0x5,_0x32d003=0x6;class _0x38057e extends _0x18277a{constructor(_0x4bed9c={}){const _0x3414c2=_0x454076;super(),this[_0x3414c2(0x167)]=_0x4bed9c[_0x3414c2(0x189)]!==void 0x0?_0x4bed9c[_0x3414c2(0x189)]:!0x0,this['_binaryType']=_0x4bed9c[_0x3414c2(0x300)]||_0xac0dbb[0x0],this[_0x3414c2(0x261)]=_0x4bed9c[_0x3414c2(0x232)]||{},this['_isServer']=!!_0x4bed9c[_0x3414c2(0x1fd)],this[_0x3414c2(0x233)]=_0x4bed9c[_0x3414c2(0x160)]|0x0,this[_0x3414c2(0x309)]=!!_0x4bed9c[_0x3414c2(0x1ac)],this[_0x565a1e]=void 0x0,this[_0x3414c2(0x294)]=0x0,this['_buffers']=[],this[_0x3414c2(0x2f9)]=!0x1,this[_0x3414c2(0x273)]=0x0,this[_0x3414c2(0x296)]=void 0x0,this[_0x3414c2(0x2b6)]=0x0,this[_0x3414c2(0x24f)]=!0x1,this[_0x3414c2(0x184)]=!0x1,this[_0x3414c2(0x2d2)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3414c2(0x15a)]=0x0,this[_0x3414c2(0x1bf)]=[],this[_0x3414c2(0x2ef)]=!0x1,this[_0x3414c2(0x2c1)]=!0x1,this[_0x3414c2(0x2c5)]=_0x15bbe8;}[_0x454076(0x181)](_0x462f47,_0x4ceae2,_0x39bb6f){const _0x32af48=_0x454076;if(this[_0x32af48(0x2d2)]===0x8&&this['_state']==_0x15bbe8)return _0x39bb6f();this['_bufferedBytes']+=_0x462f47[_0x32af48(0x299)],this['_buffers'][_0x32af48(0x2fb)](_0x462f47),this['startLoop'](_0x39bb6f);}[_0x454076(0x27f)](_0x546bf6){const _0x1e0830=_0x454076;if(this[_0x1e0830(0x294)]-=_0x546bf6,_0x546bf6===this[_0x1e0830(0x210)][0x0][_0x1e0830(0x299)])return this['_buffers'][_0x1e0830(0x21f)]();if(_0x546bf6<this['_buffers'][0x0][_0x1e0830(0x299)]){const _0x583341=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x2cc0da(_0x583341[_0x1e0830(0x1c6)],_0x583341['byteOffset']+_0x546bf6,_0x583341[_0x1e0830(0x299)]-_0x546bf6),new _0x2cc0da(_0x583341[_0x1e0830(0x1c6)],_0x583341[_0x1e0830(0x1c8)],_0x546bf6);}const _0x11ae76=Buffer[_0x1e0830(0x28d)](_0x546bf6);do{const _0x126750=this['_buffers'][0x0],_0x2e8e6a=_0x11ae76['length']-_0x546bf6;_0x546bf6>=_0x126750[_0x1e0830(0x299)]?_0x11ae76[_0x1e0830(0x241)](this['_buffers'][_0x1e0830(0x21f)](),_0x2e8e6a):(_0x11ae76['set'](new Uint8Array(_0x126750[_0x1e0830(0x1c6)],_0x126750[_0x1e0830(0x1c8)],_0x546bf6),_0x2e8e6a),this[_0x1e0830(0x210)][0x0]=new _0x2cc0da(_0x126750[_0x1e0830(0x1c6)],_0x126750['byteOffset']+_0x546bf6,_0x126750['length']-_0x546bf6)),_0x546bf6-=_0x126750['length'];}while(_0x546bf6>0x0);return _0x11ae76;}['startLoop'](_0x470d50){const _0xd0f0fc=_0x454076;this[_0xd0f0fc(0x2c1)]=!0x0;do switch(this['_state']){case _0x15bbe8:this[_0xd0f0fc(0x301)](_0x470d50);break;case _0x52f36d:this['getPayloadLength16'](_0x470d50);break;case _0x39a486:this['getPayloadLength64'](_0x470d50);break;case _0x20b975:this['getMask']();break;case _0x1c840e:this[_0xd0f0fc(0x20c)](_0x470d50);break;case _0xa6f743:case _0x32d003:this[_0xd0f0fc(0x2c1)]=!0x1;return;}while(this[_0xd0f0fc(0x2c1)]);this[_0xd0f0fc(0x2ef)]||_0x470d50();}[_0x454076(0x301)](_0x41f859){const _0x3d842c=_0x454076;if(this['_bufferedBytes']<0x2){this[_0x3d842c(0x2c1)]=!0x1;return;}const _0x4a2ab1=this['consume'](0x2);if((_0x4a2ab1[0x0]&0x30)!==0x0){const _0x115b69=this[_0x3d842c(0x2b3)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3d842c(0x219));_0x41f859(_0x115b69);return;}const _0x1c9ec8=(_0x4a2ab1[0x0]&0x40)===0x40;if(_0x1c9ec8&&!this[_0x3d842c(0x261)][_0x37f376[_0x3d842c(0x1c5)]]){const _0x440827=this['createError'](RangeError,_0x3d842c(0x179),!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x440827);return;}if(this[_0x3d842c(0x184)]=(_0x4a2ab1[0x0]&0x80)===0x80,this['_opcode']=_0x4a2ab1[0x0]&0xf,this['_payloadLength']=_0x4a2ab1[0x1]&0x7f,this[_0x3d842c(0x2d2)]===0x0){if(_0x1c9ec8){const _0x1560c2=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x179),!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x1560c2);return;}if(!this[_0x3d842c(0x2b6)]){const _0x95e869=this['createError'](RangeError,_0x3d842c(0x2d4),!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x95e869);return;}this[_0x3d842c(0x2d2)]=this[_0x3d842c(0x2b6)];}else{if(this[_0x3d842c(0x2d2)]===0x1||this[_0x3d842c(0x2d2)]===0x2){if(this[_0x3d842c(0x2b6)]){const _0x11a5e5=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x2c3)+this[_0x3d842c(0x2d2)],!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x11a5e5);return;}this[_0x3d842c(0x2f9)]=_0x1c9ec8;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3d842c(0x184)]){const _0x159f78=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x263),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x41f859(_0x159f78);return;}if(_0x1c9ec8){const _0x324b9b=this[_0x3d842c(0x2b3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x324b9b);return;}if(this[_0x3d842c(0x273)]>0x7d||this[_0x3d842c(0x2d2)]===0x8&&this['_payloadLength']===0x1){const _0xb3cc06=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x23e)+this[_0x3d842c(0x273)],!0x0,0x3ea,_0x3d842c(0x251));_0x41f859(_0xb3cc06);return;}}else{const _0x1ebffa=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x2c3)+this[_0x3d842c(0x2d2)],!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x1ebffa);return;}}}if(!this['_fin']&&!this[_0x3d842c(0x2b6)]&&(this['_fragmented']=this[_0x3d842c(0x2d2)]),this['_masked']=(_0x4a2ab1[0x1]&0x80)===0x80,this[_0x3d842c(0x1a7)]){if(!this[_0x3d842c(0x24f)]){const _0x2f9fca=this[_0x3d842c(0x2b3)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x3d842c(0x2f1));_0x41f859(_0x2f9fca);return;}}else{if(this[_0x3d842c(0x24f)]){const _0x408844=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x22d),!0x0,0x3ea,_0x3d842c(0x180));_0x41f859(_0x408844);return;}}this[_0x3d842c(0x273)]===0x7e?this['_state']=_0x52f36d:this[_0x3d842c(0x273)]===0x7f?this[_0x3d842c(0x2c5)]=_0x39a486:this['haveLength'](_0x41f859);}[_0x454076(0x1e4)](_0xfdfd8f){const _0x598800=_0x454076;if(this['_bufferedBytes']<0x2){this[_0x598800(0x2c1)]=!0x1;return;}this[_0x598800(0x273)]=this[_0x598800(0x27f)](0x2)['readUInt16BE'](0x0),this[_0x598800(0x175)](_0xfdfd8f);}[_0x454076(0x182)](_0xb0ea38){const _0x1f47e3=_0x454076;if(this[_0x1f47e3(0x294)]<0x8){this['_loop']=!0x1;return;}const _0x57e7df=this['consume'](0x8),_0x57bb6e=_0x57e7df[_0x1f47e3(0x2a0)](0x0);if(_0x57bb6e>Math[_0x1f47e3(0x2ab)](0x2,0x15)-0x1){const _0x469fcf=this['createError'](RangeError,_0x1f47e3(0x24c),!0x1,0x3f1,_0x1f47e3(0x1e3));_0xb0ea38(_0x469fcf);return;}this[_0x1f47e3(0x273)]=_0x57bb6e*Math['pow'](0x2,0x20)+_0x57e7df[_0x1f47e3(0x2a0)](0x4),this['haveLength'](_0xb0ea38);}[_0x454076(0x175)](_0x3c612d){const _0x15975c=_0x454076;if(this[_0x15975c(0x273)]&&this[_0x15975c(0x2d2)]<0x8&&(this[_0x15975c(0x1bc)]+=this[_0x15975c(0x273)],this[_0x15975c(0x1bc)]>this[_0x15975c(0x233)]&&this[_0x15975c(0x233)]>0x0)){const _0x4c8f58=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x15975c(0x23b));_0x3c612d(_0x4c8f58);return;}this[_0x15975c(0x24f)]?this[_0x15975c(0x2c5)]=_0x20b975:this[_0x15975c(0x2c5)]=_0x1c840e;}[_0x454076(0x23d)](){const _0x1ed71b=_0x454076;if(this[_0x1ed71b(0x294)]<0x4){this[_0x1ed71b(0x2c1)]=!0x1;return;}this['_mask']=this[_0x1ed71b(0x27f)](0x4),this[_0x1ed71b(0x2c5)]=_0x1c840e;}[_0x454076(0x20c)](_0x27d29f){const _0x55f05d=_0x454076;let _0x3d9d16=_0x2c8dc9;if(this[_0x55f05d(0x273)]){if(this[_0x55f05d(0x294)]<this[_0x55f05d(0x273)]){this[_0x55f05d(0x2c1)]=!0x1;return;}_0x3d9d16=this[_0x55f05d(0x27f)](this[_0x55f05d(0x273)]),this[_0x55f05d(0x24f)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x55f05d(0x296)][0x3])!==0x0&&_0x4be9db(_0x3d9d16,this[_0x55f05d(0x296)]);}if(this[_0x55f05d(0x2d2)]>0x7){this[_0x55f05d(0x1e7)](_0x3d9d16,_0x27d29f);return;}if(this[_0x55f05d(0x2f9)]){this[_0x55f05d(0x2c5)]=_0xa6f743,this[_0x55f05d(0x207)](_0x3d9d16,_0x27d29f);return;}_0x3d9d16[_0x55f05d(0x299)]&&(this[_0x55f05d(0x15a)]=this[_0x55f05d(0x1bc)],this[_0x55f05d(0x1bf)][_0x55f05d(0x2fb)](_0x3d9d16)),this[_0x55f05d(0x253)](_0x27d29f);}[_0x454076(0x207)](_0x21024e,_0x463984){const _0xf242ed=_0x454076;this[_0xf242ed(0x261)][_0x37f376['extensionName']][_0xf242ed(0x207)](_0x21024e,this[_0xf242ed(0x184)],(_0x2029cc,_0x1cf107)=>{const _0x2c4c16=_0xf242ed;if(_0x2029cc)return _0x463984(_0x2029cc);if(_0x1cf107[_0x2c4c16(0x299)]){if(this[_0x2c4c16(0x15a)]+=_0x1cf107[_0x2c4c16(0x299)],this[_0x2c4c16(0x15a)]>this['_maxPayload']&&this[_0x2c4c16(0x233)]>0x0){const _0xfeecbc=this['createError'](RangeError,_0x2c4c16(0x29d),!0x1,0x3f1,_0x2c4c16(0x23b));_0x463984(_0xfeecbc);return;}this[_0x2c4c16(0x1bf)][_0x2c4c16(0x2fb)](_0x1cf107);}this['dataMessage'](_0x463984),this[_0x2c4c16(0x2c5)]===_0x15bbe8&&this[_0x2c4c16(0x250)](_0x463984);});}[_0x454076(0x253)](_0x511f31){const _0x150582=_0x454076;if(!this[_0x150582(0x184)]){this[_0x150582(0x2c5)]=_0x15bbe8;return;}const _0x5a2f0b=this[_0x150582(0x15a)],_0x2d9f26=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x150582(0x15a)]=0x0,this[_0x150582(0x2b6)]=0x0,this[_0x150582(0x1bf)]=[],this['_opcode']===0x2){let _0x50f68c;this[_0x150582(0x1ce)]==='nodebuffer'?_0x50f68c=_0x55cc0b(_0x2d9f26,_0x5a2f0b):this['_binaryType']===_0x150582(0x1cc)?_0x50f68c=_0x59b53e(_0x55cc0b(_0x2d9f26,_0x5a2f0b)):this['_binaryType']===_0x150582(0x170)?_0x50f68c=new Blob(_0x2d9f26):_0x50f68c=_0x2d9f26,this['_allowSynchronousEvents']?(this[_0x150582(0x249)](_0x150582(0x2ce),_0x50f68c,!0x0),this['_state']=_0x15bbe8):(this[_0x150582(0x2c5)]=_0x32d003,setImmediate(()=>{const _0x4da4a5=_0x150582;this[_0x4da4a5(0x249)](_0x4da4a5(0x2ce),_0x50f68c,!0x0),this['_state']=_0x15bbe8,this['startLoop'](_0x511f31);}));}else{const _0x3c8976=_0x55cc0b(_0x2d9f26,_0x5a2f0b);if(!this['_skipUTF8Validation']&&!_0x4c2149(_0x3c8976)){const _0x343fee=this[_0x150582(0x2b3)](Error,_0x150582(0x1ff),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x511f31(_0x343fee);return;}this[_0x150582(0x2c5)]===_0xa6f743||this['_allowSynchronousEvents']?(this[_0x150582(0x249)](_0x150582(0x2ce),_0x3c8976,!0x1),this['_state']=_0x15bbe8):(this['_state']=_0x32d003,setImmediate(()=>{const _0x531206=_0x150582;this[_0x531206(0x249)]('message',_0x3c8976,!0x1),this[_0x531206(0x2c5)]=_0x15bbe8,this[_0x531206(0x250)](_0x511f31);}));}}[_0x454076(0x1e7)](_0x4f6f30,_0x2a5859){const _0x596b83=_0x454076;if(this[_0x596b83(0x2d2)]===0x8){if(_0x4f6f30[_0x596b83(0x299)]===0x0)this['_loop']=!0x1,this[_0x596b83(0x249)](_0x596b83(0x20d),0x3ed,_0x2c8dc9),this[_0x596b83(0x29b)]();else{const _0x5e2e1b=_0x4f6f30['readUInt16BE'](0x0);if(!_0x486285(_0x5e2e1b)){const _0x2f9dc8=this[_0x596b83(0x2b3)](RangeError,_0x596b83(0x21a)+_0x5e2e1b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2a5859(_0x2f9dc8);return;}const _0x31279f=new _0x2cc0da(_0x4f6f30[_0x596b83(0x1c6)],_0x4f6f30[_0x596b83(0x1c8)]+0x2,_0x4f6f30[_0x596b83(0x299)]-0x2);if(!this[_0x596b83(0x309)]&&!_0x4c2149(_0x31279f)){const _0x1cc197=this[_0x596b83(0x2b3)](Error,_0x596b83(0x1ff),!0x0,0x3ef,_0x596b83(0x1e8));_0x2a5859(_0x1cc197);return;}this[_0x596b83(0x2c1)]=!0x1,this[_0x596b83(0x249)]('conclude',_0x5e2e1b,_0x31279f),this[_0x596b83(0x29b)]();}this[_0x596b83(0x2c5)]=_0x15bbe8;return;}this[_0x596b83(0x167)]?(this[_0x596b83(0x249)](this[_0x596b83(0x2d2)]===0x9?_0x596b83(0x200):_0x596b83(0x21e),_0x4f6f30),this[_0x596b83(0x2c5)]=_0x15bbe8):(this['_state']=_0x32d003,setImmediate(()=>{const _0x6c38be=_0x596b83;this['emit'](this['_opcode']===0x9?_0x6c38be(0x200):_0x6c38be(0x21e),_0x4f6f30),this[_0x6c38be(0x2c5)]=_0x15bbe8,this[_0x6c38be(0x250)](_0x2a5859);}));}[_0x454076(0x2b3)](_0x8599a3,_0x2c0f1c,_0x100d47,_0x3b305b,_0xef4b69){const _0x2dfbe7=_0x454076;this[_0x2dfbe7(0x2c1)]=!0x1,this[_0x2dfbe7(0x2ef)]=!0x0;const _0x355602=new _0x8599a3(_0x100d47?'Invalid\x20WebSocket\x20frame:\x20'+_0x2c0f1c:_0x2c0f1c);return Error[_0x2dfbe7(0x302)](_0x355602,this[_0x2dfbe7(0x2b3)]),_0x355602[_0x2dfbe7(0x16c)]=_0xef4b69,_0x355602[_0x5ed91b]=_0x3b305b,_0x355602;}}return Se=_0x38057e,Se;}var Ee,et;function _t(){const _0x1721c5=_0x31da81;if(et)return Ee;et=0x1;const {Duplex:_0x142066}=_0x51a6cf,{randomFillSync:_0x55a0da}=_0x1aeef7,_0x874105=he(),{EMPTY_BUFFER:_0x3ca127,kWebSocket:_0x42518c,NOOP:_0x270165}=V(),{isBlob:_0x2ada19,isValidStatusCode:_0x1de2b0}=ne(),{mask:_0x3bc4ea,toBuffer:_0x49f58a}=ce(),_0x63536c=Symbol('kByteLength'),_0x36586a=Buffer['alloc'](0x4),_0x4f533e=0x8*0x400;let _0x29bf60,_0x3fd740=_0x4f533e;const _0x184295=0x0,_0x4a6ce2=0x1,_0x5f0667=0x2;class _0x4230a7{constructor(_0x112b8f,_0x466a9e,_0x28341f){const _0x4ed47c=_0x3ec1;this[_0x4ed47c(0x261)]=_0x466a9e||{},_0x28341f&&(this[_0x4ed47c(0x25d)]=_0x28341f,this[_0x4ed47c(0x1a8)]=Buffer[_0x4ed47c(0x1fe)](0x4)),this[_0x4ed47c(0x2ac)]=_0x112b8f,this['_firstFragment']=!0x0,this[_0x4ed47c(0x161)]=!0x1,this[_0x4ed47c(0x294)]=0x0,this[_0x4ed47c(0x16b)]=[],this[_0x4ed47c(0x2c5)]=_0x184295,this[_0x4ed47c(0x157)]=_0x270165,this[_0x42518c]=void 0x0;}static[_0x1721c5(0x2b2)](_0x2e60cb,_0xe92389){const _0xfb8162=_0x1721c5;let _0x2daa88,_0x5e9552=!0x1,_0x125cff=0x2,_0x59800c=!0x1;_0xe92389[_0xfb8162(0x26e)]&&(_0x2daa88=_0xe92389[_0xfb8162(0x287)]||_0x36586a,_0xe92389['generateMask']?_0xe92389[_0xfb8162(0x230)](_0x2daa88):(_0x3fd740===_0x4f533e&&(_0x29bf60===void 0x0&&(_0x29bf60=Buffer['alloc'](_0x4f533e)),_0x55a0da(_0x29bf60,0x0,_0x4f533e),_0x3fd740=0x0),_0x2daa88[0x0]=_0x29bf60[_0x3fd740++],_0x2daa88[0x1]=_0x29bf60[_0x3fd740++],_0x2daa88[0x2]=_0x29bf60[_0x3fd740++],_0x2daa88[0x3]=_0x29bf60[_0x3fd740++]),_0x59800c=(_0x2daa88[0x0]|_0x2daa88[0x1]|_0x2daa88[0x2]|_0x2daa88[0x3])===0x0,_0x125cff=0x6);let _0x24d27f;typeof _0x2e60cb==_0xfb8162(0x178)?(!_0xe92389['mask']||_0x59800c)&&_0xe92389[_0x63536c]!==void 0x0?_0x24d27f=_0xe92389[_0x63536c]:(_0x2e60cb=Buffer[_0xfb8162(0x163)](_0x2e60cb),_0x24d27f=_0x2e60cb['length']):(_0x24d27f=_0x2e60cb[_0xfb8162(0x299)],_0x5e9552=_0xe92389['mask']&&_0xe92389[_0xfb8162(0x22f)]&&!_0x59800c);let _0x2ac96d=_0x24d27f;_0x24d27f>=0x10000?(_0x125cff+=0x8,_0x2ac96d=0x7f):_0x24d27f>0x7d&&(_0x125cff+=0x2,_0x2ac96d=0x7e);const _0xcd3067=Buffer[_0xfb8162(0x28d)](_0x5e9552?_0x24d27f+_0x125cff:_0x125cff);return _0xcd3067[0x0]=_0xe92389[_0xfb8162(0x17b)]?_0xe92389['opcode']|0x80:_0xe92389['opcode'],_0xe92389[_0xfb8162(0x215)]&&(_0xcd3067[0x0]|=0x40),_0xcd3067[0x1]=_0x2ac96d,_0x2ac96d===0x7e?_0xcd3067['writeUInt16BE'](_0x24d27f,0x2):_0x2ac96d===0x7f&&(_0xcd3067[0x2]=_0xcd3067[0x3]=0x0,_0xcd3067[_0xfb8162(0x225)](_0x24d27f,0x4,0x6)),_0xe92389[_0xfb8162(0x26e)]?(_0xcd3067[0x1]|=0x80,_0xcd3067[_0x125cff-0x4]=_0x2daa88[0x0],_0xcd3067[_0x125cff-0x3]=_0x2daa88[0x1],_0xcd3067[_0x125cff-0x2]=_0x2daa88[0x2],_0xcd3067[_0x125cff-0x1]=_0x2daa88[0x3],_0x59800c?[_0xcd3067,_0x2e60cb]:_0x5e9552?(_0x3bc4ea(_0x2e60cb,_0x2daa88,_0xcd3067,_0x125cff,_0x24d27f),[_0xcd3067]):(_0x3bc4ea(_0x2e60cb,_0x2daa88,_0x2e60cb,0x0,_0x24d27f),[_0xcd3067,_0x2e60cb])):[_0xcd3067,_0x2e60cb];}[_0x1721c5(0x1fc)](_0x37c828,_0x2d7a83,_0xfb5bbc,_0x44b91c){const _0x21cf2a=_0x1721c5;let _0x3f28fd;if(_0x37c828===void 0x0)_0x3f28fd=_0x3ca127;else{if(typeof _0x37c828!=_0x21cf2a(0x1b3)||!_0x1de2b0(_0x37c828))throw new TypeError(_0x21cf2a(0x15c));if(_0x2d7a83===void 0x0||!_0x2d7a83[_0x21cf2a(0x299)])_0x3f28fd=Buffer[_0x21cf2a(0x28d)](0x2),_0x3f28fd[_0x21cf2a(0x2fe)](_0x37c828,0x0);else{const _0x3092cc=Buffer[_0x21cf2a(0x1ad)](_0x2d7a83);if(_0x3092cc>0x7b)throw new RangeError(_0x21cf2a(0x192));_0x3f28fd=Buffer[_0x21cf2a(0x28d)](0x2+_0x3092cc),_0x3f28fd['writeUInt16BE'](_0x37c828,0x0),typeof _0x2d7a83==_0x21cf2a(0x178)?_0x3f28fd[_0x21cf2a(0x216)](_0x2d7a83,0x2):_0x3f28fd[_0x21cf2a(0x241)](_0x2d7a83,0x2);}}const _0x21d68b={[_0x63536c]:_0x3f28fd['length'],'fin':!0x0,'generateMask':this[_0x21cf2a(0x25d)],'mask':_0xfb5bbc,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x184295?this[_0x21cf2a(0x1d8)]([this[_0x21cf2a(0x1c3)],_0x3f28fd,!0x1,_0x21d68b,_0x44b91c]):this['sendFrame'](_0x4230a7[_0x21cf2a(0x2b2)](_0x3f28fd,_0x21d68b),_0x44b91c);}[_0x1721c5(0x200)](_0x486c17,_0x36f526,_0x5682f3){const _0x17e42d=_0x1721c5;let _0x6c941c,_0x4bd4e9;if(typeof _0x486c17==_0x17e42d(0x178)?(_0x6c941c=Buffer[_0x17e42d(0x1ad)](_0x486c17),_0x4bd4e9=!0x1):_0x2ada19(_0x486c17)?(_0x6c941c=_0x486c17[_0x17e42d(0x2bd)],_0x4bd4e9=!0x1):(_0x486c17=_0x49f58a(_0x486c17),_0x6c941c=_0x486c17[_0x17e42d(0x299)],_0x4bd4e9=_0x49f58a[_0x17e42d(0x22f)]),_0x6c941c>0x7d)throw new RangeError(_0x17e42d(0x1d1));const _0x1129f9={[_0x63536c]:_0x6c941c,'fin':!0x0,'generateMask':this[_0x17e42d(0x25d)],'mask':_0x36f526,'maskBuffer':this[_0x17e42d(0x1a8)],'opcode':0x9,'readOnly':_0x4bd4e9,'rsv1':!0x1};_0x2ada19(_0x486c17)?this[_0x17e42d(0x2c5)]!==_0x184295?this[_0x17e42d(0x1d8)]([this[_0x17e42d(0x1d3)],_0x486c17,!0x1,_0x1129f9,_0x5682f3]):this[_0x17e42d(0x1d3)](_0x486c17,!0x1,_0x1129f9,_0x5682f3):this[_0x17e42d(0x2c5)]!==_0x184295?this[_0x17e42d(0x1d8)]([this[_0x17e42d(0x1c3)],_0x486c17,!0x1,_0x1129f9,_0x5682f3]):this['sendFrame'](_0x4230a7[_0x17e42d(0x2b2)](_0x486c17,_0x1129f9),_0x5682f3);}[_0x1721c5(0x21e)](_0x303623,_0x16cd95,_0x1c3932){const _0x4a014a=_0x1721c5;let _0x192bb3,_0x38002c;if(typeof _0x303623=='string'?(_0x192bb3=Buffer['byteLength'](_0x303623),_0x38002c=!0x1):_0x2ada19(_0x303623)?(_0x192bb3=_0x303623['size'],_0x38002c=!0x1):(_0x303623=_0x49f58a(_0x303623),_0x192bb3=_0x303623['length'],_0x38002c=_0x49f58a[_0x4a014a(0x22f)]),_0x192bb3>0x7d)throw new RangeError(_0x4a014a(0x1d1));const _0x5cae61={[_0x63536c]:_0x192bb3,'fin':!0x0,'generateMask':this[_0x4a014a(0x25d)],'mask':_0x16cd95,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x38002c,'rsv1':!0x1};_0x2ada19(_0x303623)?this[_0x4a014a(0x2c5)]!==_0x184295?this[_0x4a014a(0x1d8)]([this[_0x4a014a(0x1d3)],_0x303623,!0x1,_0x5cae61,_0x1c3932]):this['getBlobData'](_0x303623,!0x1,_0x5cae61,_0x1c3932):this[_0x4a014a(0x2c5)]!==_0x184295?this['enqueue']([this[_0x4a014a(0x1c3)],_0x303623,!0x1,_0x5cae61,_0x1c3932]):this[_0x4a014a(0x17d)](_0x4230a7[_0x4a014a(0x2b2)](_0x303623,_0x5cae61),_0x1c3932);}['send'](_0x374fdf,_0x3a12de,_0x2e8662){const _0x5181b8=_0x1721c5,_0x1c5882=this[_0x5181b8(0x261)][_0x874105[_0x5181b8(0x1c5)]];let _0x21da6f=_0x3a12de['binary']?0x2:0x1,_0xebd9cc=_0x3a12de['compress'],_0x131991,_0x3866c9;typeof _0x374fdf==_0x5181b8(0x178)?(_0x131991=Buffer[_0x5181b8(0x1ad)](_0x374fdf),_0x3866c9=!0x1):_0x2ada19(_0x374fdf)?(_0x131991=_0x374fdf[_0x5181b8(0x2bd)],_0x3866c9=!0x1):(_0x374fdf=_0x49f58a(_0x374fdf),_0x131991=_0x374fdf[_0x5181b8(0x299)],_0x3866c9=_0x49f58a[_0x5181b8(0x22f)]),this[_0x5181b8(0x268)]?(this[_0x5181b8(0x268)]=!0x1,_0xebd9cc&&_0x1c5882&&_0x1c5882[_0x5181b8(0x2ea)][_0x1c5882[_0x5181b8(0x1a7)]?_0x5181b8(0x1ec):'client_no_context_takeover']&&(_0xebd9cc=_0x131991>=_0x1c5882[_0x5181b8(0x16f)]),this[_0x5181b8(0x161)]=_0xebd9cc):(_0xebd9cc=!0x1,_0x21da6f=0x0),_0x3a12de['fin']&&(this[_0x5181b8(0x268)]=!0x0);const _0x2e919a={[_0x63536c]:_0x131991,'fin':_0x3a12de['fin'],'generateMask':this['_generateMask'],'mask':_0x3a12de[_0x5181b8(0x26e)],'maskBuffer':this[_0x5181b8(0x1a8)],'opcode':_0x21da6f,'readOnly':_0x3866c9,'rsv1':_0xebd9cc};_0x2ada19(_0x374fdf)?this[_0x5181b8(0x2c5)]!==_0x184295?this['enqueue']([this['getBlobData'],_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662]):this[_0x5181b8(0x1d3)](_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662):this['_state']!==_0x184295?this[_0x5181b8(0x1d8)]([this[_0x5181b8(0x1c3)],_0x374fdf,this[_0x5181b8(0x161)],_0x2e919a,_0x2e8662]):this['dispatch'](_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662);}[_0x1721c5(0x1d3)](_0x557da5,_0x241f3f,_0x1e2ad6,_0x55acce){const _0x43f7b7=_0x1721c5;this[_0x43f7b7(0x294)]+=_0x1e2ad6[_0x63536c],this['_state']=_0x5f0667,_0x557da5[_0x43f7b7(0x1f0)]()[_0x43f7b7(0x256)](_0x29f0e9=>{const _0x9d2f0d=_0x43f7b7;if(this['_socket'][_0x9d2f0d(0x1ed)]){const _0x1a6be4=new Error(_0x9d2f0d(0x270));process[_0x9d2f0d(0x279)](_0x1a63dc,this,_0x1a6be4,_0x55acce);return;}this['_bufferedBytes']-=_0x1e2ad6[_0x63536c];const _0x2c9d41=_0x49f58a(_0x29f0e9);_0x241f3f?this[_0x9d2f0d(0x1c3)](_0x2c9d41,_0x241f3f,_0x1e2ad6,_0x55acce):(this[_0x9d2f0d(0x2c5)]=_0x184295,this['sendFrame'](_0x4230a7['frame'](_0x2c9d41,_0x1e2ad6),_0x55acce),this[_0x9d2f0d(0x245)]());})[_0x43f7b7(0x1a4)](_0x5eb5c4=>{process['nextTick'](_0x879675,this,_0x5eb5c4,_0x55acce);});}['dispatch'](_0x73b0df,_0x5c31f7,_0x103c1d,_0x449d71){const _0x619835=_0x1721c5;if(!_0x5c31f7){this['sendFrame'](_0x4230a7[_0x619835(0x2b2)](_0x73b0df,_0x103c1d),_0x449d71);return;}const _0x4adbb0=this[_0x619835(0x261)][_0x874105[_0x619835(0x1c5)]];this['_bufferedBytes']+=_0x103c1d[_0x63536c],this['_state']=_0x4a6ce2,_0x4adbb0[_0x619835(0x195)](_0x73b0df,_0x103c1d[_0x619835(0x17b)],(_0x30f66d,_0xe11465)=>{const _0x4c991c=_0x619835;if(this[_0x4c991c(0x2ac)][_0x4c991c(0x1ed)]){const _0x223011=new Error(_0x4c991c(0x1d7));_0x1a63dc(this,_0x223011,_0x449d71);return;}this[_0x4c991c(0x294)]-=_0x103c1d[_0x63536c],this['_state']=_0x184295,_0x103c1d[_0x4c991c(0x22f)]=!0x1,this['sendFrame'](_0x4230a7['frame'](_0xe11465,_0x103c1d),_0x449d71),this[_0x4c991c(0x245)]();});}[_0x1721c5(0x245)](){const _0xd97c0=_0x1721c5;for(;this[_0xd97c0(0x2c5)]===_0x184295&&this[_0xd97c0(0x16b)][_0xd97c0(0x299)];){const _0x5520c7=this[_0xd97c0(0x16b)][_0xd97c0(0x21f)]();this[_0xd97c0(0x294)]-=_0x5520c7[0x3][_0x63536c],Reflect['apply'](_0x5520c7[0x0],this,_0x5520c7['slice'](0x1));}}[_0x1721c5(0x1d8)](_0x5ca283){const _0x1e468a=_0x1721c5;this[_0x1e468a(0x294)]+=_0x5ca283[0x3][_0x63536c],this[_0x1e468a(0x16b)][_0x1e468a(0x2fb)](_0x5ca283);}[_0x1721c5(0x17d)](_0xeffac4,_0x107d70){const _0x29ec95=_0x1721c5;_0xeffac4[_0x29ec95(0x299)]===0x2?(this[_0x29ec95(0x2ac)][_0x29ec95(0x1a6)](),this[_0x29ec95(0x2ac)][_0x29ec95(0x216)](_0xeffac4[0x0]),this['_socket'][_0x29ec95(0x216)](_0xeffac4[0x1],_0x107d70),this[_0x29ec95(0x2ac)][_0x29ec95(0x2d9)]()):this[_0x29ec95(0x2ac)][_0x29ec95(0x216)](_0xeffac4[0x0],_0x107d70);}}Ee=_0x4230a7;function _0x1a63dc(_0x13ab01,_0x4d6cb1,_0x54921a){const _0x4e18b9=_0x1721c5;typeof _0x54921a==_0x4e18b9(0x1de)&&_0x54921a(_0x4d6cb1);for(let _0x2d9628=0x0;_0x2d9628<_0x13ab01[_0x4e18b9(0x16b)]['length'];_0x2d9628++){const _0x12d310=_0x13ab01['_queue'][_0x2d9628],_0x5753ef=_0x12d310[_0x12d310[_0x4e18b9(0x299)]-0x1];typeof _0x5753ef==_0x4e18b9(0x1de)&&_0x5753ef(_0x4d6cb1);}}function _0x879675(_0x59b861,_0x4d271d,_0x5d4c21){const _0x4a7a68=_0x1721c5;_0x1a63dc(_0x59b861,_0x4d271d,_0x5d4c21),_0x59b861[_0x4a7a68(0x157)](_0x4d271d);}return Ee;}var xe,tt;function Kt(){const _0x1f972a=_0x31da81;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2359d7,kListener:_0x5aa76c}=V(),_0x24f50c=Symbol(_0x1f972a(0x2eb)),_0x3e6de4=Symbol(_0x1f972a(0x24e)),_0x56f51c=Symbol('kError'),_0x340a3e=Symbol(_0x1f972a(0x1fa)),_0x3e2e23=Symbol(_0x1f972a(0x280)),_0x5c74dc=Symbol(_0x1f972a(0x185)),_0x21a146=Symbol(_0x1f972a(0x2b9)),_0x37f961=Symbol(_0x1f972a(0x2ec));class _0x23a201{constructor(_0x548e53){this[_0x5c74dc]=null,this[_0x21a146]=_0x548e53;}get['target'](){return this[_0x5c74dc];}get[_0x1f972a(0x183)](){return this[_0x21a146];}}Object[_0x1f972a(0x25a)](_0x23a201[_0x1f972a(0x171)],_0x1f972a(0x27c),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x23a201[_0x1f972a(0x171)],_0x1f972a(0x183),{'enumerable':!0x0});class _0x59cc63 extends _0x23a201{constructor(_0x48855b,_0x57fed7={}){const _0x97e6af=_0x1f972a;super(_0x48855b),this[_0x24f50c]=_0x57fed7[_0x97e6af(0x16c)]===void 0x0?0x0:_0x57fed7[_0x97e6af(0x16c)],this[_0x3e2e23]=_0x57fed7[_0x97e6af(0x1b9)]===void 0x0?'':_0x57fed7[_0x97e6af(0x1b9)],this[_0x37f961]=_0x57fed7['wasClean']===void 0x0?!0x1:_0x57fed7[_0x97e6af(0x23a)];}get[_0x1f972a(0x16c)](){return this[_0x24f50c];}get[_0x1f972a(0x1b9)](){return this[_0x3e2e23];}get[_0x1f972a(0x23a)](){return this[_0x37f961];}}Object['defineProperty'](_0x59cc63[_0x1f972a(0x171)],_0x1f972a(0x16c),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x59cc63[_0x1f972a(0x171)],'reason',{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x59cc63['prototype'],'wasClean',{'enumerable':!0x0});class _0x2a52be extends _0x23a201{constructor(_0x4b3cb7,_0x3e644b={}){const _0x142463=_0x1f972a;super(_0x4b3cb7),this[_0x56f51c]=_0x3e644b[_0x142463(0x158)]===void 0x0?null:_0x3e644b[_0x142463(0x158)],this[_0x340a3e]=_0x3e644b['message']===void 0x0?'':_0x3e644b[_0x142463(0x2ce)];}get['error'](){return this[_0x56f51c];}get['message'](){return this[_0x340a3e];}}Object[_0x1f972a(0x25a)](_0x2a52be[_0x1f972a(0x171)],_0x1f972a(0x158),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x2a52be['prototype'],_0x1f972a(0x2ce),{'enumerable':!0x0});class _0x1db5f2 extends _0x23a201{constructor(_0x2c2f59,_0x3647d2={}){const _0x48cd2f=_0x1f972a;super(_0x2c2f59),this[_0x3e6de4]=_0x3647d2['data']===void 0x0?null:_0x3647d2[_0x48cd2f(0x2b1)];}get[_0x1f972a(0x2b1)](){return this[_0x3e6de4];}}Object[_0x1f972a(0x25a)](_0x1db5f2[_0x1f972a(0x171)],_0x1f972a(0x2b1),{'enumerable':!0x0}),xe={'CloseEvent':_0x59cc63,'ErrorEvent':_0x2a52be,'Event':_0x23a201,'EventTarget':{'addEventListener'(_0x305b98,_0x1ff153,_0x1eb2a0={}){const _0xe54bc9=_0x1f972a;for(const _0x45108f of this[_0xe54bc9(0x1af)](_0x305b98))if(!_0x1eb2a0[_0x2359d7]&&_0x45108f[_0x5aa76c]===_0x1ff153&&!_0x45108f[_0x2359d7])return;let _0x238408;if(_0x305b98==='message')_0x238408=function(_0x45492d,_0x57162d){const _0x3b82df=_0xe54bc9,_0x3f3f96=new _0x1db5f2('message',{'data':_0x57162d?_0x45492d:_0x45492d[_0x3b82df(0x1f6)]()});_0x3f3f96[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x3f3f96);};else{if(_0x305b98===_0xe54bc9(0x1fc))_0x238408=function(_0x4c79cf,_0x595b87){const _0x4363cd=_0xe54bc9,_0x1bd4cb=new _0x59cc63(_0x4363cd(0x1fc),{'code':_0x4c79cf,'reason':_0x595b87[_0x4363cd(0x1f6)](),'wasClean':this[_0x4363cd(0x17f)]&&this['_closeFrameSent']});_0x1bd4cb[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x1bd4cb);};else{if(_0x305b98===_0xe54bc9(0x158))_0x238408=function(_0x2e4d1b){const _0x34fa6b=_0xe54bc9,_0x38d119=new _0x2a52be(_0x34fa6b(0x158),{'error':_0x2e4d1b,'message':_0x2e4d1b[_0x34fa6b(0x2ce)]});_0x38d119[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x38d119);};else{if(_0x305b98===_0xe54bc9(0x22b))_0x238408=function(){const _0x4ff693=_0xe54bc9,_0x3ec8dd=new _0x23a201(_0x4ff693(0x22b));_0x3ec8dd[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x3ec8dd);};else return;}}}_0x238408[_0x2359d7]=!!_0x1eb2a0[_0x2359d7],_0x238408[_0x5aa76c]=_0x1ff153,_0x1eb2a0[_0xe54bc9(0x2c6)]?this['once'](_0x305b98,_0x238408):this['on'](_0x305b98,_0x238408);},'removeEventListener'(_0x476721,_0x33382e){const _0x5469a6=_0x1f972a;for(const _0x2de406 of this[_0x5469a6(0x1af)](_0x476721))if(_0x2de406[_0x5aa76c]===_0x33382e&&!_0x2de406[_0x2359d7]){this['removeListener'](_0x476721,_0x2de406);break;}}},'MessageEvent':_0x1db5f2};function _0x97ca54(_0x17d185,_0x5554fd,_0x84ff4){const _0x2e6789=_0x1f972a;typeof _0x17d185==_0x2e6789(0x1b1)&&_0x17d185[_0x2e6789(0x172)]?_0x17d185[_0x2e6789(0x172)][_0x2e6789(0x308)](_0x17d185,_0x84ff4):_0x17d185[_0x2e6789(0x308)](_0x5554fd,_0x84ff4);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5027d3}=ne();function _0xe94e5c(_0x3fe87a,_0x245622,_0x46a37f){const _0x548012=_0x3ec1;_0x3fe87a[_0x245622]===void 0x0?_0x3fe87a[_0x245622]=[_0x46a37f]:_0x3fe87a[_0x245622][_0x548012(0x2fb)](_0x46a37f);}function _0x40cec4(_0x314753){const _0x5d25d1=_0x3ec1,_0x1b5fcd=Object[_0x5d25d1(0x197)](null);let _0x3c006b=Object[_0x5d25d1(0x197)](null),_0x36c74b=!0x1,_0x8952e2=!0x1,_0x35e5d9=!0x1,_0x52817a,_0x3a132a,_0x3fa526=-0x1,_0xba9d1f=-0x1,_0x49b9a8=-0x1,_0x3b12c4=0x0;for(;_0x3b12c4<_0x314753[_0x5d25d1(0x299)];_0x3b12c4++)if(_0xba9d1f=_0x314753[_0x5d25d1(0x289)](_0x3b12c4),_0x52817a===void 0x0){if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0x3b12c4!==0x0&&(_0xba9d1f===0x20||_0xba9d1f===0x9))_0x49b9a8===-0x1&&_0x3fa526!==-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);const _0x2f0d63=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8);_0xba9d1f===0x2c?(_0xe94e5c(_0x1b5fcd,_0x2f0d63,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null)):_0x52817a=_0x2f0d63,_0x3fa526=_0x49b9a8=-0x1;}else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}else{if(_0x3a132a===void 0x0){if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0xba9d1f===0x20||_0xba9d1f===0x9)_0x49b9a8===-0x1&&_0x3fa526!==-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4),_0xe94e5c(_0x3c006b,_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8),!0x0),_0xba9d1f===0x2c&&(_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null),_0x52817a=void 0x0),_0x3fa526=_0x49b9a8=-0x1;}else{if(_0xba9d1f===0x3d&&_0x3fa526!==-0x1&&_0x49b9a8===-0x1)_0x3a132a=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x3b12c4),_0x3fa526=_0x49b9a8=-0x1;else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}}else{if(_0x8952e2){if(_0x5027d3[_0xba9d1f]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3b12c4);_0x3fa526===-0x1?_0x3fa526=_0x3b12c4:_0x36c74b||(_0x36c74b=!0x0),_0x8952e2=!0x1;}else{if(_0x35e5d9){if(_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0xba9d1f===0x22&&_0x3fa526!==-0x1)_0x35e5d9=!0x1,_0x49b9a8=_0x3b12c4;else{if(_0xba9d1f===0x5c)_0x8952e2=!0x0;else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}else{if(_0xba9d1f===0x22&&_0x314753[_0x5d25d1(0x289)](_0x3b12c4-0x1)===0x3d)_0x35e5d9=!0x0;else{if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0x3fa526!==-0x1&&(_0xba9d1f===0x20||_0xba9d1f===0x9))_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);let _0x17a954=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8);_0x36c74b&&(_0x17a954=_0x17a954[_0x5d25d1(0x28e)](/\\/g,''),_0x36c74b=!0x1),_0xe94e5c(_0x3c006b,_0x3a132a,_0x17a954),_0xba9d1f===0x2c&&(_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null),_0x52817a=void 0x0),_0x3a132a=void 0x0,_0x3fa526=_0x49b9a8=-0x1;}else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}}}}}if(_0x3fa526===-0x1||_0x35e5d9||_0xba9d1f===0x20||_0xba9d1f===0x9)throw new SyntaxError(_0x5d25d1(0x16e));_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);const _0x56875d=_0x314753['slice'](_0x3fa526,_0x49b9a8);return _0x52817a===void 0x0?_0xe94e5c(_0x1b5fcd,_0x56875d,_0x3c006b):(_0x3a132a===void 0x0?_0xe94e5c(_0x3c006b,_0x56875d,!0x0):_0x36c74b?_0xe94e5c(_0x3c006b,_0x3a132a,_0x56875d['replace'](/\\/g,'')):_0xe94e5c(_0x3c006b,_0x3a132a,_0x56875d),_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b)),_0x1b5fcd;}function _0x504a1b(_0x4e075b){const _0x54bd60=_0x3ec1;return Object[_0x54bd60(0x15d)](_0x4e075b)['map'](_0x6e9a33=>{const _0x344acd=_0x54bd60;let _0x3eda50=_0x4e075b[_0x6e9a33];return Array[_0x344acd(0x2ff)](_0x3eda50)||(_0x3eda50=[_0x3eda50]),_0x3eda50['map'](_0x4278fa=>[_0x6e9a33]['concat'](Object[_0x344acd(0x15d)](_0x4278fa)['map'](_0x46c2aa=>{const _0x16771d=_0x344acd;let _0x2d339a=_0x4278fa[_0x46c2aa];return Array[_0x16771d(0x2ff)](_0x2d339a)||(_0x2d339a=[_0x2d339a]),_0x2d339a[_0x16771d(0x228)](_0x13d930=>_0x13d930===!0x0?_0x46c2aa:_0x46c2aa+'='+_0x13d930)['join'](';\x20');}))[_0x344acd(0x242)](';\x20'))[_0x344acd(0x242)](',\x20');})[_0x54bd60(0x242)](',\x20');}return be={'format':_0x504a1b,'parse':_0x40cec4},be;}var we,st;function Ie(){const _0x476d60=_0x31da81;if(st)return we;st=0x1;const _0xbe4c8d=_0x3c1c3f,_0x4c1916=_0x4b9bb3,_0x218282=_0x44e3a9,_0x26d906=_0xc9059a,_0x27b172=_0x707792,{randomBytes:_0x1e6ede,createHash:_0x4e105f}=_0x1aeef7,{Duplex:_0x2b0473,Readable:_0x3d6e78}=_0x51a6cf,{URL:_0x117c06}=_0x58e814,_0x169d57=he(),_0x40854c=dt(),_0x28689e=_t(),{isBlob:_0x333216}=ne(),{BINARY_TYPES:_0x16c39a,EMPTY_BUFFER:_0x47d072,GUID:_0x3979d5,kForOnEventAttribute:_0x3069a5,kListener:_0x56ee52,kStatusCode:_0x29ac05,kWebSocket:_0x353df2,NOOP:_0x5dcaa8}=V(),{EventTarget:{addEventListener:_0x2d12f8,removeEventListener:_0x23bc5a}}=Kt(),{format:_0x2c00ee,parse:_0x174e2a}=pt(),{toBuffer:_0x484e9f}=ce(),_0xa801a7=0x1e*0x3e8,_0x454fc9=Symbol('kAborted'),_0x24d217=[0x8,0xd],_0x7f11e9=['CONNECTING',_0x476d60(0x257),_0x476d60(0x1db),'CLOSED'],_0xc5ce3f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3739b6 extends _0xbe4c8d{constructor(_0x1eb1ca,_0x1ada46,_0x26bf3d){const _0x1ea138=_0x476d60;super(),this[_0x1ea138(0x1ce)]=_0x16c39a[0x0],this[_0x1ea138(0x2da)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1ea138(0x15b)]=!0x1,this[_0x1ea138(0x16d)]=_0x47d072,this['_closeTimer']=null,this[_0x1ea138(0x2a9)]=!0x1,this[_0x1ea138(0x261)]={},this[_0x1ea138(0x198)]=!0x1,this[_0x1ea138(0x2b0)]='',this[_0x1ea138(0x1ef)]=_0x3739b6[_0x1ea138(0x220)],this[_0x1ea138(0x27b)]=null,this[_0x1ea138(0x2a7)]=null,this['_socket']=null,_0x1eb1ca!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x1ea138(0x30b)]=0x0,_0x1ada46===void 0x0?_0x1ada46=[]:Array['isArray'](_0x1ada46)||(typeof _0x1ada46==_0x1ea138(0x1b1)&&_0x1ada46!==null?(_0x26bf3d=_0x1ada46,_0x1ada46=[]):_0x1ada46=[_0x1ada46]),_0x27f77a(this,_0x1eb1ca,_0x1ada46,_0x26bf3d)):(this[_0x1ea138(0x2d7)]=_0x26bf3d[_0x1ea138(0x1f9)],this[_0x1ea138(0x1a7)]=!0x0);}get['binaryType'](){const _0x4bccab=_0x476d60;return this[_0x4bccab(0x1ce)];}set[_0x476d60(0x300)](_0x5c3257){const _0x4ad728=_0x476d60;_0x16c39a[_0x4ad728(0x290)](_0x5c3257)&&(this[_0x4ad728(0x1ce)]=_0x5c3257,this['_receiver']&&(this[_0x4ad728(0x27b)][_0x4ad728(0x1ce)]=_0x5c3257));}get[_0x476d60(0x204)](){const _0x54da1e=_0x476d60;return this['_socket']?this['_socket'][_0x54da1e(0x15f)][_0x54da1e(0x299)]+this[_0x54da1e(0x2a7)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x476d60(0x232)](){const _0x131704=_0x476d60;return Object['keys'](this[_0x131704(0x261)])[_0x131704(0x242)]();}get[_0x476d60(0x19f)](){const _0x4f2bd6=_0x476d60;return this[_0x4f2bd6(0x198)];}get[_0x476d60(0x1f1)](){return null;}get['onerror'](){return null;}get[_0x476d60(0x26f)](){return null;}get['onmessage'](){return null;}get[_0x476d60(0x190)](){const _0x10cc7b=_0x476d60;return this[_0x10cc7b(0x2b0)];}get['readyState'](){const _0x43e99d=_0x476d60;return this[_0x43e99d(0x1ef)];}get[_0x476d60(0x159)](){const _0x3f0587=_0x476d60;return this[_0x3f0587(0x1c7)];}[_0x476d60(0x20b)](_0xe27de6,_0xdfcf4e,_0x2416de){const _0xf41a94=_0x476d60,_0x3b8c62=new _0x40854c({'allowSynchronousEvents':_0x2416de[_0xf41a94(0x189)],'binaryType':this['binaryType'],'extensions':this[_0xf41a94(0x261)],'isServer':this[_0xf41a94(0x1a7)],'maxPayload':_0x2416de[_0xf41a94(0x160)],'skipUTF8Validation':_0x2416de['skipUTF8Validation']}),_0xb3c709=new _0x28689e(_0xe27de6,this['_extensions'],_0x2416de[_0xf41a94(0x230)]);this[_0xf41a94(0x27b)]=_0x3b8c62,this['_sender']=_0xb3c709,this[_0xf41a94(0x2ac)]=_0xe27de6,_0x3b8c62[_0x353df2]=this,_0xb3c709[_0x353df2]=this,_0xe27de6[_0x353df2]=this,_0x3b8c62['on'](_0xf41a94(0x20d),_0x3c02c2),_0x3b8c62['on'](_0xf41a94(0x165),_0xf8294b),_0x3b8c62['on'](_0xf41a94(0x158),_0x1ecc95),_0x3b8c62['on']('message',_0x160672),_0x3b8c62['on'](_0xf41a94(0x200),_0xcb7864),_0x3b8c62['on'](_0xf41a94(0x21e),_0x5085ee),_0xb3c709['onerror']=_0x364fcf,_0xe27de6[_0xf41a94(0x194)]&&_0xe27de6['setTimeout'](0x0),_0xe27de6[_0xf41a94(0x2f4)]&&_0xe27de6[_0xf41a94(0x2f4)](),_0xdfcf4e[_0xf41a94(0x299)]>0x0&&_0xe27de6[_0xf41a94(0x2dc)](_0xdfcf4e),_0xe27de6['on']('close',_0x136323),_0xe27de6['on'](_0xf41a94(0x2b1),_0x3c5372),_0xe27de6['on'](_0xf41a94(0x29b),_0x1387b6),_0xe27de6['on'](_0xf41a94(0x158),_0x3fba09),this[_0xf41a94(0x1ef)]=_0x3739b6[_0xf41a94(0x257)],this[_0xf41a94(0x249)](_0xf41a94(0x22b));}['emitClose'](){const _0x23af26=_0x476d60;if(!this[_0x23af26(0x2ac)]){this[_0x23af26(0x1ef)]=_0x3739b6[_0x23af26(0x1ee)],this[_0x23af26(0x249)]('close',this['_closeCode'],this[_0x23af26(0x16d)]);return;}this[_0x23af26(0x261)][_0x169d57[_0x23af26(0x1c5)]]&&this[_0x23af26(0x261)][_0x169d57[_0x23af26(0x1c5)]][_0x23af26(0x2a8)](),this[_0x23af26(0x27b)][_0x23af26(0x2cf)](),this[_0x23af26(0x1ef)]=_0x3739b6[_0x23af26(0x1ee)],this['emit'](_0x23af26(0x1fc),this['_closeCode'],this[_0x23af26(0x16d)]);}['close'](_0x545b31,_0x30ecbd){const _0x365e99=_0x476d60;if(this[_0x365e99(0x201)]!==_0x3739b6['CLOSED']){if(this['readyState']===_0x3739b6[_0x365e99(0x220)]){_0x150b02(this,this['_req'],_0x365e99(0x272));return;}if(this[_0x365e99(0x201)]===_0x3739b6['CLOSING']){this['_closeFrameSent']&&(this[_0x365e99(0x17f)]||this[_0x365e99(0x27b)]['_writableState'][_0x365e99(0x1bb)])&&this[_0x365e99(0x2ac)][_0x365e99(0x29b)]();return;}this['_readyState']=_0x3739b6[_0x365e99(0x1db)],this['_sender'][_0x365e99(0x1fc)](_0x545b31,_0x30ecbd,!this[_0x365e99(0x1a7)],_0x2a5988=>{const _0x87a746=_0x365e99;_0x2a5988||(this['_closeFrameSent']=!0x0,(this[_0x87a746(0x17f)]||this[_0x87a746(0x27b)]['_writableState'][_0x87a746(0x1bb)])&&this['_socket'][_0x87a746(0x29b)]());}),_0x493358(this);}}[_0x476d60(0x18f)](){const _0x1f2987=_0x476d60;this[_0x1f2987(0x201)]===_0x3739b6['CONNECTING']||this['readyState']===_0x3739b6[_0x1f2987(0x1ee)]||(this['_paused']=!0x0,this[_0x1f2987(0x2ac)][_0x1f2987(0x18f)]());}[_0x476d60(0x200)](_0x4ec3ac,_0x22091f,_0x4613d9){const _0x3d7002=_0x476d60;if(this[_0x3d7002(0x201)]===_0x3739b6[_0x3d7002(0x220)])throw new Error(_0x3d7002(0x1f8));if(typeof _0x4ec3ac==_0x3d7002(0x1de)?(_0x4613d9=_0x4ec3ac,_0x4ec3ac=_0x22091f=void 0x0):typeof _0x22091f==_0x3d7002(0x1de)&&(_0x4613d9=_0x22091f,_0x22091f=void 0x0),typeof _0x4ec3ac=='number'&&(_0x4ec3ac=_0x4ec3ac['toString']()),this['readyState']!==_0x3739b6[_0x3d7002(0x257)]){_0x336721(this,_0x4ec3ac,_0x4613d9);return;}_0x22091f===void 0x0&&(_0x22091f=!this[_0x3d7002(0x1a7)]),this[_0x3d7002(0x2a7)]['ping'](_0x4ec3ac||_0x47d072,_0x22091f,_0x4613d9);}['pong'](_0x552901,_0x1935d0,_0x2b61a7){const _0x1ba093=_0x476d60;if(this['readyState']===_0x3739b6[_0x1ba093(0x220)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x552901==_0x1ba093(0x1de)?(_0x2b61a7=_0x552901,_0x552901=_0x1935d0=void 0x0):typeof _0x1935d0==_0x1ba093(0x1de)&&(_0x2b61a7=_0x1935d0,_0x1935d0=void 0x0),typeof _0x552901==_0x1ba093(0x1b3)&&(_0x552901=_0x552901[_0x1ba093(0x1f6)]()),this[_0x1ba093(0x201)]!==_0x3739b6['OPEN']){_0x336721(this,_0x552901,_0x2b61a7);return;}_0x1935d0===void 0x0&&(_0x1935d0=!this[_0x1ba093(0x1a7)]),this['_sender']['pong'](_0x552901||_0x47d072,_0x1935d0,_0x2b61a7);}[_0x476d60(0x1da)](){const _0x4c24ac=_0x476d60;this[_0x4c24ac(0x201)]===_0x3739b6[_0x4c24ac(0x220)]||this[_0x4c24ac(0x201)]===_0x3739b6[_0x4c24ac(0x1ee)]||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x4c24ac(0x20a)]||this['_socket']['resume']());}['send'](_0x531a0b,_0x4a1edc,_0x4832f6){const _0x5d435e=_0x476d60;if(this[_0x5d435e(0x201)]===_0x3739b6[_0x5d435e(0x220)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a1edc==_0x5d435e(0x1de)&&(_0x4832f6=_0x4a1edc,_0x4a1edc={}),typeof _0x531a0b==_0x5d435e(0x1b3)&&(_0x531a0b=_0x531a0b['toString']()),this[_0x5d435e(0x201)]!==_0x3739b6[_0x5d435e(0x257)]){_0x336721(this,_0x531a0b,_0x4832f6);return;}const _0x1f535f={'binary':typeof _0x531a0b!=_0x5d435e(0x178),'mask':!this[_0x5d435e(0x1a7)],'compress':!0x0,'fin':!0x0,..._0x4a1edc};this[_0x5d435e(0x261)][_0x169d57[_0x5d435e(0x1c5)]]||(_0x1f535f[_0x5d435e(0x195)]=!0x1),this[_0x5d435e(0x2a7)][_0x5d435e(0x2d3)](_0x531a0b||_0x47d072,_0x1f535f,_0x4832f6);}[_0x476d60(0x19d)](){const _0x24572f=_0x476d60;if(this[_0x24572f(0x201)]!==_0x3739b6[_0x24572f(0x1ee)]){if(this[_0x24572f(0x201)]===_0x3739b6['CONNECTING']){_0x150b02(this,this[_0x24572f(0x274)],_0x24572f(0x272));return;}this['_socket']&&(this[_0x24572f(0x1ef)]=_0x3739b6[_0x24572f(0x1db)],this['_socket'][_0x24572f(0x243)]());}}}Object['defineProperty'](_0x3739b6,_0x476d60(0x220),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)]('CONNECTING')}),Object[_0x476d60(0x25a)](_0x3739b6['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x220))}),Object[_0x476d60(0x25a)](_0x3739b6,_0x476d60(0x257),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)]('OPEN')}),Object[_0x476d60(0x25a)](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x257),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x257))}),Object[_0x476d60(0x25a)](_0x3739b6,_0x476d60(0x1db),{'enumerable':!0x0,'value':_0x7f11e9['indexOf'](_0x476d60(0x1db))}),Object['defineProperty'](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x1db),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x1db))}),Object['defineProperty'](_0x3739b6,_0x476d60(0x1ee),{'enumerable':!0x0,'value':_0x7f11e9['indexOf']('CLOSED')}),Object[_0x476d60(0x25a)](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x1ee),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x1ee))}),[_0x476d60(0x300),_0x476d60(0x204),'extensions','isPaused',_0x476d60(0x190),_0x476d60(0x201),_0x476d60(0x159)][_0x476d60(0x304)](_0x577ee5=>{const _0x112696=_0x476d60;Object['defineProperty'](_0x3739b6[_0x112696(0x171)],_0x577ee5,{'enumerable':!0x0});}),[_0x476d60(0x22b),_0x476d60(0x158),_0x476d60(0x1fc),_0x476d60(0x2ce)][_0x476d60(0x304)](_0x9dbf72=>{const _0x457af4=_0x476d60;Object[_0x457af4(0x25a)](_0x3739b6[_0x457af4(0x171)],'on'+_0x9dbf72,{'enumerable':!0x0,'get'(){const _0x31ac9b=_0x457af4;for(const _0x362a30 of this[_0x31ac9b(0x1af)](_0x9dbf72))if(_0x362a30[_0x3069a5])return _0x362a30[_0x56ee52];return null;},'set'(_0x2bddbe){const _0x55ce21=_0x457af4;for(const _0x43c8dd of this[_0x55ce21(0x1af)](_0x9dbf72))if(_0x43c8dd[_0x3069a5]){this['removeListener'](_0x9dbf72,_0x43c8dd);break;}typeof _0x2bddbe==_0x55ce21(0x1de)&&this[_0x55ce21(0x27d)](_0x9dbf72,_0x2bddbe,{[_0x3069a5]:!0x0});}});}),_0x3739b6[_0x476d60(0x171)][_0x476d60(0x27d)]=_0x2d12f8,_0x3739b6[_0x476d60(0x171)][_0x476d60(0x23c)]=_0x23bc5a,we=_0x3739b6;function _0x27f77a(_0xfebeec,_0x1e77d8,_0x28ac36,_0x30a926){const _0x1ecda5=_0x476d60,_0x5185d5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x24d217[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x30a926,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1ecda5(0x29a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xfebeec[_0x1ecda5(0x2d7)]=_0x5185d5['autoPong'],!_0x24d217[_0x1ecda5(0x290)](_0x5185d5[_0x1ecda5(0x2a5)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5185d5['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x24d217[_0x1ecda5(0x242)](',\x20')+')');let _0x335396;if(_0x1e77d8 instanceof _0x117c06)_0x335396=_0x1e77d8;else try{_0x335396=new _0x117c06(_0x1e77d8);}catch{throw new SyntaxError(_0x1ecda5(0x2ca)+_0x1e77d8);}_0x335396[_0x1ecda5(0x190)]==='http:'?_0x335396['protocol']=_0x1ecda5(0x155):_0x335396[_0x1ecda5(0x190)]==='https:'&&(_0x335396['protocol']=_0x1ecda5(0x264)),_0xfebeec['_url']=_0x335396[_0x1ecda5(0x2aa)];const _0x246aec=_0x335396['protocol']==='wss:',_0xcc2019=_0x335396[_0x1ecda5(0x190)]===_0x1ecda5(0x1a3);let _0x5e0da8;if(_0x335396[_0x1ecda5(0x190)]!==_0x1ecda5(0x155)&&!_0x246aec&&!_0xcc2019?_0x5e0da8='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':_0xcc2019&&!_0x335396[_0x1ecda5(0x2f6)]?_0x5e0da8=_0x1ecda5(0x2f7):_0x335396[_0x1ecda5(0x2fd)]&&(_0x5e0da8='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5e0da8){const _0x4910f0=new SyntaxError(_0x5e0da8);if(_0xfebeec[_0x1ecda5(0x30b)]===0x0)throw _0x4910f0;_0x46e321(_0xfebeec,_0x4910f0);return;}const _0x31959e=_0x246aec?0x1bb:0x50,_0x4f8668=_0x1e6ede(0x10)[_0x1ecda5(0x1f6)](_0x1ecda5(0x295)),_0x36a1be=_0x246aec?_0x4c1916[_0x1ecda5(0x1fb)]:_0x218282[_0x1ecda5(0x1fb)],_0x2dc19f=new Set();let _0x1c7242;if(_0x5185d5[_0x1ecda5(0x2c0)]=_0x5185d5[_0x1ecda5(0x2c0)]||(_0x246aec?_0x303dd8:_0x13cb07),_0x5185d5[_0x1ecda5(0x209)]=_0x5185d5[_0x1ecda5(0x209)]||_0x31959e,_0x5185d5['port']=_0x335396[_0x1ecda5(0x1c2)]||_0x31959e,_0x5185d5['host']=_0x335396[_0x1ecda5(0x1b7)][_0x1ecda5(0x2de)]('[')?_0x335396[_0x1ecda5(0x1b7)]['slice'](0x1,-0x1):_0x335396[_0x1ecda5(0x1b7)],_0x5185d5[_0x1ecda5(0x247)]={..._0x5185d5[_0x1ecda5(0x247)],'Sec-WebSocket-Version':_0x5185d5[_0x1ecda5(0x2a5)],'Sec-WebSocket-Key':_0x4f8668,'Connection':_0x1ecda5(0x1b5),'Upgrade':_0x1ecda5(0x1f2)},_0x5185d5[_0x1ecda5(0x162)]=_0x335396['pathname']+_0x335396[_0x1ecda5(0x2a3)],_0x5185d5[_0x1ecda5(0x1d5)]=_0x5185d5[_0x1ecda5(0x1e9)],_0x5185d5[_0x1ecda5(0x1f4)]&&(_0x1c7242=new _0x169d57(_0x5185d5[_0x1ecda5(0x1f4)]!==!0x0?_0x5185d5[_0x1ecda5(0x1f4)]:{},!0x1,_0x5185d5[_0x1ecda5(0x160)]),_0x5185d5[_0x1ecda5(0x247)][_0x1ecda5(0x1b8)]=_0x2c00ee({[_0x169d57[_0x1ecda5(0x1c5)]]:_0x1c7242['offer']()})),_0x28ac36[_0x1ecda5(0x299)]){for(const _0x3f081f of _0x28ac36){if(typeof _0x3f081f!=_0x1ecda5(0x178)||!_0xc5ce3f['test'](_0x3f081f)||_0x2dc19f['has'](_0x3f081f))throw new SyntaxError(_0x1ecda5(0x307));_0x2dc19f['add'](_0x3f081f);}_0x5185d5[_0x1ecda5(0x247)]['Sec-WebSocket-Protocol']=_0x28ac36[_0x1ecda5(0x242)](',');}if(_0x5185d5['origin']&&(_0x5185d5[_0x1ecda5(0x2a5)]<0xd?_0x5185d5['headers'][_0x1ecda5(0x177)]=_0x5185d5[_0x1ecda5(0x2e7)]:_0x5185d5[_0x1ecda5(0x247)]['Origin']=_0x5185d5[_0x1ecda5(0x2e7)]),(_0x335396[_0x1ecda5(0x193)]||_0x335396[_0x1ecda5(0x169)])&&(_0x5185d5[_0x1ecda5(0x1a9)]=_0x335396[_0x1ecda5(0x193)]+':'+_0x335396[_0x1ecda5(0x169)]),_0xcc2019){const _0x2da936=_0x5185d5[_0x1ecda5(0x162)][_0x1ecda5(0x2bc)](':');_0x5185d5['socketPath']=_0x2da936[0x0],_0x5185d5[_0x1ecda5(0x162)]=_0x2da936[0x1];}let _0x52609b;if(_0x5185d5[_0x1ecda5(0x2cb)]){if(_0xfebeec['_redirects']===0x0){_0xfebeec[_0x1ecda5(0x28f)]=_0xcc2019,_0xfebeec['_originalSecure']=_0x246aec,_0xfebeec[_0x1ecda5(0x199)]=_0xcc2019?_0x5185d5[_0x1ecda5(0x1cb)]:_0x335396['host'];const _0x2d8717=_0x30a926&&_0x30a926[_0x1ecda5(0x247)];if(_0x30a926={..._0x30a926,'headers':{}},_0x2d8717){for(const [_0x119e5a,_0x5ba926]of Object['entries'](_0x2d8717))_0x30a926[_0x1ecda5(0x247)][_0x119e5a[_0x1ecda5(0x2d0)]()]=_0x5ba926;}}else{if(_0xfebeec['listenerCount'](_0x1ecda5(0x2e2))===0x0){const _0x36bb27=_0xcc2019?_0xfebeec[_0x1ecda5(0x28f)]?_0x5185d5[_0x1ecda5(0x1cb)]===_0xfebeec[_0x1ecda5(0x199)]:!0x1:_0xfebeec[_0x1ecda5(0x28f)]?!0x1:_0x335396['host']===_0xfebeec[_0x1ecda5(0x199)];(!_0x36bb27||_0xfebeec[_0x1ecda5(0x218)]&&!_0x246aec)&&(delete _0x5185d5['headers']['authorization'],delete _0x5185d5[_0x1ecda5(0x247)]['cookie'],_0x36bb27||delete _0x5185d5[_0x1ecda5(0x247)][_0x1ecda5(0x244)],_0x5185d5['auth']=void 0x0);}}_0x5185d5['auth']&&!_0x30a926['headers'][_0x1ecda5(0x291)]&&(_0x30a926['headers']['authorization']=_0x1ecda5(0x258)+Buffer['from'](_0x5185d5[_0x1ecda5(0x1a9)])[_0x1ecda5(0x1f6)](_0x1ecda5(0x295))),_0x52609b=_0xfebeec[_0x1ecda5(0x274)]=_0x36a1be(_0x5185d5),_0xfebeec['_redirects']&&_0xfebeec[_0x1ecda5(0x249)](_0x1ecda5(0x2e2),_0xfebeec[_0x1ecda5(0x159)],_0x52609b);}else _0x52609b=_0xfebeec[_0x1ecda5(0x274)]=_0x36a1be(_0x5185d5);_0x5185d5['timeout']&&_0x52609b['on'](_0x1ecda5(0x1d5),()=>{_0x150b02(_0xfebeec,_0x52609b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x52609b['on'](_0x1ecda5(0x158),_0x3af78a=>{const _0x3015ab=_0x1ecda5;_0x52609b===null||_0x52609b[_0x454fc9]||(_0x52609b=_0xfebeec[_0x3015ab(0x274)]=null,_0x46e321(_0xfebeec,_0x3af78a));}),_0x52609b['on'](_0x1ecda5(0x226),_0x23fa13=>{const _0x57c5c1=_0x1ecda5,_0x1142f6=_0x23fa13[_0x57c5c1(0x247)][_0x57c5c1(0x1d0)],_0x10c7a2=_0x23fa13[_0x57c5c1(0x25c)];if(_0x1142f6&&_0x5185d5['followRedirects']&&_0x10c7a2>=0x12c&&_0x10c7a2<0x190){if(++_0xfebeec[_0x57c5c1(0x30b)]>_0x5185d5[_0x57c5c1(0x1ca)]){_0x150b02(_0xfebeec,_0x52609b,_0x57c5c1(0x18a));return;}_0x52609b[_0x57c5c1(0x2f3)]();let _0x7f5e63;try{_0x7f5e63=new _0x117c06(_0x1142f6,_0x1e77d8);}catch{const _0x367605=new SyntaxError(_0x57c5c1(0x2ca)+_0x1142f6);_0x46e321(_0xfebeec,_0x367605);return;}_0x27f77a(_0xfebeec,_0x7f5e63,_0x28ac36,_0x30a926);}else _0xfebeec['emit'](_0x57c5c1(0x1e5),_0x52609b,_0x23fa13)||_0x150b02(_0xfebeec,_0x52609b,_0x57c5c1(0x1ab)+_0x23fa13[_0x57c5c1(0x25c)]);}),_0x52609b['on'](_0x1ecda5(0x236),(_0x13f7bd,_0x56e3d9,_0x50b8e2)=>{const _0x3b41f2=_0x1ecda5;if(_0xfebeec[_0x3b41f2(0x249)](_0x3b41f2(0x236),_0x13f7bd),_0xfebeec['readyState']!==_0x3739b6[_0x3b41f2(0x220)])return;_0x52609b=_0xfebeec[_0x3b41f2(0x274)]=null;const _0x1ca891=_0x13f7bd[_0x3b41f2(0x247)]['upgrade'];if(_0x1ca891===void 0x0||_0x1ca891[_0x3b41f2(0x2d0)]()!=='websocket'){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x2f8));return;}const _0xcab736=_0x4e105f(_0x3b41f2(0x2b8))[_0x3b41f2(0x1a2)](_0x4f8668+_0x3979d5)[_0x3b41f2(0x205)](_0x3b41f2(0x295));if(_0x13f7bd['headers']['sec-websocket-accept']!==_0xcab736){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x191));return;}const _0x30ebb5=_0x13f7bd[_0x3b41f2(0x247)]['sec-websocket-protocol'];let _0x5d0fd6;if(_0x30ebb5!==void 0x0?_0x2dc19f[_0x3b41f2(0x2bd)]?_0x2dc19f[_0x3b41f2(0x286)](_0x30ebb5)||(_0x5d0fd6=_0x3b41f2(0x246)):_0x5d0fd6=_0x3b41f2(0x26b):_0x2dc19f[_0x3b41f2(0x2bd)]&&(_0x5d0fd6=_0x3b41f2(0x23f)),_0x5d0fd6){_0x150b02(_0xfebeec,_0x56e3d9,_0x5d0fd6);return;}_0x30ebb5&&(_0xfebeec[_0x3b41f2(0x2b0)]=_0x30ebb5);const _0xaec8fc=_0x13f7bd[_0x3b41f2(0x247)]['sec-websocket-extensions'];if(_0xaec8fc!==void 0x0){if(!_0x1c7242){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x26a));return;}let _0x4a0f3c;try{_0x4a0f3c=_0x174e2a(_0xaec8fc);}catch{_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x21c));return;}const _0x1aca42=Object[_0x3b41f2(0x15d)](_0x4a0f3c);if(_0x1aca42[_0x3b41f2(0x299)]!==0x1||_0x1aca42[0x0]!==_0x169d57[_0x3b41f2(0x1c5)]){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x2b5));return;}try{_0x1c7242[_0x3b41f2(0x186)](_0x4a0f3c[_0x169d57[_0x3b41f2(0x1c5)]]);}catch{_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x21c));return;}_0xfebeec['_extensions'][_0x169d57[_0x3b41f2(0x1c5)]]=_0x1c7242;}_0xfebeec[_0x3b41f2(0x20b)](_0x56e3d9,_0x50b8e2,{'allowSynchronousEvents':_0x5185d5[_0x3b41f2(0x189)],'generateMask':_0x5185d5[_0x3b41f2(0x230)],'maxPayload':_0x5185d5[_0x3b41f2(0x160)],'skipUTF8Validation':_0x5185d5[_0x3b41f2(0x1ac)]});}),_0x5185d5[_0x1ecda5(0x2f0)]?_0x5185d5[_0x1ecda5(0x2f0)](_0x52609b,_0xfebeec):_0x52609b[_0x1ecda5(0x29b)]();}function _0x46e321(_0x44068d,_0x1c2e5a){const _0x1d757d=_0x476d60;_0x44068d[_0x1d757d(0x1ef)]=_0x3739b6['CLOSING'],_0x44068d[_0x1d757d(0x2a9)]=!0x0,_0x44068d[_0x1d757d(0x249)](_0x1d757d(0x158),_0x1c2e5a),_0x44068d[_0x1d757d(0x2e1)]();}function _0x13cb07(_0x55f9aa){const _0x19fb3b=_0x476d60;return _0x55f9aa[_0x19fb3b(0x162)]=_0x55f9aa[_0x19fb3b(0x1cb)],_0x26d906[_0x19fb3b(0x168)](_0x55f9aa);}function _0x303dd8(_0x38e940){const _0x563ad2=_0x476d60;return _0x38e940[_0x563ad2(0x162)]=void 0x0,!_0x38e940[_0x563ad2(0x29c)]&&_0x38e940[_0x563ad2(0x29c)]!==''&&(_0x38e940[_0x563ad2(0x29c)]=_0x26d906[_0x563ad2(0x240)](_0x38e940[_0x563ad2(0x244)])?'':_0x38e940['host']),_0x27b172[_0x563ad2(0x168)](_0x38e940);}function _0x150b02(_0x584f12,_0x274f7b,_0x19e854){const _0x105d6a=_0x476d60;_0x584f12['_readyState']=_0x3739b6[_0x105d6a(0x1db)];const _0x513acb=new Error(_0x19e854);Error[_0x105d6a(0x302)](_0x513acb,_0x150b02),_0x274f7b[_0x105d6a(0x305)]?(_0x274f7b[_0x454fc9]=!0x0,_0x274f7b[_0x105d6a(0x2f3)](),_0x274f7b[_0x105d6a(0x22c)]&&!_0x274f7b['socket']['destroyed']&&_0x274f7b['socket'][_0x105d6a(0x243)](),process['nextTick'](_0x46e321,_0x584f12,_0x513acb)):(_0x274f7b['destroy'](_0x513acb),_0x274f7b[_0x105d6a(0x2c6)](_0x105d6a(0x158),_0x584f12[_0x105d6a(0x249)][_0x105d6a(0x1f5)](_0x584f12,_0x105d6a(0x158))),_0x274f7b[_0x105d6a(0x2c6)](_0x105d6a(0x1fc),_0x584f12[_0x105d6a(0x2e1)]['bind'](_0x584f12)));}function _0x336721(_0x48d985,_0x2785e4,_0x415bf4){const _0x35ffbc=_0x476d60;if(_0x2785e4){const _0x104100=_0x333216(_0x2785e4)?_0x2785e4[_0x35ffbc(0x2bd)]:_0x484e9f(_0x2785e4)['length'];_0x48d985[_0x35ffbc(0x2ac)]?_0x48d985[_0x35ffbc(0x2a7)][_0x35ffbc(0x294)]+=_0x104100:_0x48d985[_0x35ffbc(0x29f)]+=_0x104100;}if(_0x415bf4){const _0xdb3fb8=new Error(_0x35ffbc(0x20e)+_0x48d985['readyState']+'\x20('+_0x7f11e9[_0x48d985['readyState']]+')');process['nextTick'](_0x415bf4,_0xdb3fb8);}}function _0x3c02c2(_0x19b7ea,_0x8ad30){const _0x1b81e4=_0x476d60,_0x17518c=this[_0x353df2];_0x17518c['_closeFrameReceived']=!0x0,_0x17518c[_0x1b81e4(0x16d)]=_0x8ad30,_0x17518c[_0x1b81e4(0x2da)]=_0x19b7ea,_0x17518c[_0x1b81e4(0x2ac)][_0x353df2]!==void 0x0&&(_0x17518c['_socket']['removeListener']('data',_0x3c5372),process[_0x1b81e4(0x279)](_0x5109f3,_0x17518c['_socket']),_0x19b7ea===0x3ed?_0x17518c['close']():_0x17518c['close'](_0x19b7ea,_0x8ad30));}function _0xf8294b(){const _0x4e25d6=_0x476d60,_0x403d36=this[_0x353df2];_0x403d36[_0x4e25d6(0x19f)]||_0x403d36['_socket'][_0x4e25d6(0x1da)]();}function _0x1ecc95(_0x189a6d){const _0x3c2e22=_0x476d60,_0x2bc047=this[_0x353df2];_0x2bc047['_socket'][_0x353df2]!==void 0x0&&(_0x2bc047[_0x3c2e22(0x2ac)]['removeListener']('data',_0x3c5372),process['nextTick'](_0x5109f3,_0x2bc047[_0x3c2e22(0x2ac)]),_0x2bc047['close'](_0x189a6d[_0x29ac05])),_0x2bc047[_0x3c2e22(0x2a9)]||(_0x2bc047[_0x3c2e22(0x2a9)]=!0x0,_0x2bc047['emit'](_0x3c2e22(0x158),_0x189a6d));}function _0x54394d(){const _0x5cacd4=_0x476d60;this[_0x353df2][_0x5cacd4(0x2e1)]();}function _0x160672(_0x2ef536,_0x46d32b){const _0x192bca=_0x476d60;this[_0x353df2][_0x192bca(0x249)](_0x192bca(0x2ce),_0x2ef536,_0x46d32b);}function _0xcb7864(_0x59a929){const _0x2e6d0d=_0x476d60,_0x1158f3=this[_0x353df2];_0x1158f3['_autoPong']&&_0x1158f3[_0x2e6d0d(0x21e)](_0x59a929,!this[_0x2e6d0d(0x1a7)],_0x5dcaa8),_0x1158f3[_0x2e6d0d(0x249)](_0x2e6d0d(0x200),_0x59a929);}function _0x5085ee(_0x17fd30){const _0xe3cd01=_0x476d60;this[_0x353df2]['emit'](_0xe3cd01(0x21e),_0x17fd30);}function _0x5109f3(_0x1fcf74){const _0x28f7dc=_0x476d60;_0x1fcf74[_0x28f7dc(0x1da)]();}function _0x364fcf(_0xe45c8){const _0xc0599=_0x476d60,_0x3d8908=this[_0x353df2];_0x3d8908['readyState']!==_0x3739b6[_0xc0599(0x1ee)]&&(_0x3d8908[_0xc0599(0x201)]===_0x3739b6[_0xc0599(0x257)]&&(_0x3d8908[_0xc0599(0x1ef)]=_0x3739b6['CLOSING'],_0x493358(_0x3d8908)),this[_0xc0599(0x2ac)][_0xc0599(0x29b)](),_0x3d8908[_0xc0599(0x2a9)]||(_0x3d8908[_0xc0599(0x2a9)]=!0x0,_0x3d8908['emit'](_0xc0599(0x158),_0xe45c8)));}function _0x493358(_0x5be727){const _0x146499=_0x476d60;_0x5be727[_0x146499(0x19e)]=setTimeout(_0x5be727['_socket'][_0x146499(0x243)][_0x146499(0x1f5)](_0x5be727[_0x146499(0x2ac)]),_0xa801a7);}function _0x136323(){const _0x382462=_0x476d60,_0x285d06=this[_0x353df2];this[_0x382462(0x2cc)](_0x382462(0x1fc),_0x136323),this[_0x382462(0x2cc)](_0x382462(0x2b1),_0x3c5372),this[_0x382462(0x2cc)](_0x382462(0x29b),_0x1387b6),_0x285d06[_0x382462(0x1ef)]=_0x3739b6[_0x382462(0x1db)];let _0x1eb6de;!this[_0x382462(0x27a)][_0x382462(0x1d9)]&&!_0x285d06[_0x382462(0x17f)]&&!_0x285d06[_0x382462(0x27b)]['_writableState'][_0x382462(0x1bb)]&&(_0x1eb6de=_0x285d06[_0x382462(0x2ac)][_0x382462(0x187)]())!==null&&_0x285d06[_0x382462(0x27b)][_0x382462(0x216)](_0x1eb6de),_0x285d06[_0x382462(0x27b)][_0x382462(0x29b)](),this[_0x353df2]=void 0x0,clearTimeout(_0x285d06[_0x382462(0x19e)]),_0x285d06[_0x382462(0x27b)][_0x382462(0x15f)][_0x382462(0x2d6)]||_0x285d06[_0x382462(0x27b)][_0x382462(0x15f)][_0x382462(0x1bb)]?_0x285d06['emitClose']():(_0x285d06['_receiver']['on'](_0x382462(0x158),_0x54394d),_0x285d06['_receiver']['on']('finish',_0x54394d));}function _0x3c5372(_0x1ccb8){const _0x60f0c3=_0x476d60;this[_0x353df2][_0x60f0c3(0x27b)][_0x60f0c3(0x216)](_0x1ccb8)||this[_0x60f0c3(0x18f)]();}function _0x1387b6(){const _0x2f328a=_0x476d60,_0x46568f=this[_0x353df2];_0x46568f['_readyState']=_0x3739b6[_0x2f328a(0x1db)],_0x46568f['_receiver'][_0x2f328a(0x29b)](),this['end']();}function _0x3fba09(){const _0x3cca5a=_0x476d60,_0x316ec9=this[_0x353df2];this[_0x3cca5a(0x2cc)](_0x3cca5a(0x158),_0x3fba09),this['on']('error',_0x5dcaa8),_0x316ec9&&(_0x316ec9[_0x3cca5a(0x1ef)]=_0x3739b6[_0x3cca5a(0x1db)],this[_0x3cca5a(0x243)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x136ef7}=_0x51a6cf;function _0x21fb91(_0x2c0cd9){const _0xfcca3c=_0x3ec1;_0x2c0cd9[_0xfcca3c(0x249)](_0xfcca3c(0x1fc));}function _0x39c53e(){const _0x2a4750=_0x3ec1;!this['destroyed']&&this[_0x2a4750(0x15f)]['finished']&&this[_0x2a4750(0x243)]();}function _0x24e368(_0x3e617b){const _0x1de708=_0x3ec1;this[_0x1de708(0x2cc)]('error',_0x24e368),this[_0x1de708(0x243)](),this['listenerCount']('error')===0x0&&this[_0x1de708(0x249)](_0x1de708(0x158),_0x3e617b);}function _0x376fac(_0x372abe,_0xd2355){const _0x12d65d=_0x3ec1;let _0x1f90e0=!0x0;const _0xb25e75=new _0x136ef7({..._0xd2355,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x372abe['on'](_0x12d65d(0x2ce),function(_0xa3c87c,_0x411f12){const _0x281876=_0x12d65d,_0x34f3fa=!_0x411f12&&_0xb25e75[_0x281876(0x27a)][_0x281876(0x283)]?_0xa3c87c[_0x281876(0x1f6)]():_0xa3c87c;_0xb25e75[_0x281876(0x2fb)](_0x34f3fa)||_0x372abe[_0x281876(0x18f)]();}),_0x372abe['once']('error',function(_0x2cc1eb){const _0x359fcc=_0x12d65d;_0xb25e75[_0x359fcc(0x1ed)]||(_0x1f90e0=!0x1,_0xb25e75['destroy'](_0x2cc1eb));}),_0x372abe['once'](_0x12d65d(0x1fc),function(){const _0x4f5b53=_0x12d65d;_0xb25e75[_0x4f5b53(0x1ed)]||_0xb25e75[_0x4f5b53(0x2fb)](null);}),_0xb25e75[_0x12d65d(0x2c7)]=function(_0x122e71,_0x12e78d){const _0x280dbd=_0x12d65d;if(_0x372abe['readyState']===_0x372abe[_0x280dbd(0x1ee)]){_0x12e78d(_0x122e71),process[_0x280dbd(0x279)](_0x21fb91,_0xb25e75);return;}let _0x4a97c6=!0x1;_0x372abe[_0x280dbd(0x2c6)](_0x280dbd(0x158),function(_0x1112bd){_0x4a97c6=!0x0,_0x12e78d(_0x1112bd);}),_0x372abe[_0x280dbd(0x2c6)](_0x280dbd(0x1fc),function(){const _0x2d29c1=_0x280dbd;_0x4a97c6||_0x12e78d(_0x122e71),process[_0x2d29c1(0x279)](_0x21fb91,_0xb25e75);}),_0x1f90e0&&_0x372abe[_0x280dbd(0x19d)]();},_0xb25e75[_0x12d65d(0x288)]=function(_0x465dfe){const _0x2faade=_0x12d65d;if(_0x372abe[_0x2faade(0x201)]===_0x372abe[_0x2faade(0x220)]){_0x372abe['once'](_0x2faade(0x22b),function(){const _0x38c4e5=_0x2faade;_0xb25e75[_0x38c4e5(0x288)](_0x465dfe);});return;}_0x372abe[_0x2faade(0x2ac)]!==null&&(_0x372abe[_0x2faade(0x2ac)][_0x2faade(0x15f)][_0x2faade(0x2d6)]?(_0x465dfe(),_0xb25e75[_0x2faade(0x27a)][_0x2faade(0x1d9)]&&_0xb25e75['destroy']()):(_0x372abe[_0x2faade(0x2ac)][_0x2faade(0x2c6)](_0x2faade(0x278),function(){_0x465dfe();}),_0x372abe['close']()));},_0xb25e75[_0x12d65d(0x2e3)]=function(){const _0x27dda4=_0x12d65d;_0x372abe[_0x27dda4(0x19f)]&&_0x372abe[_0x27dda4(0x1da)]();},_0xb25e75[_0x12d65d(0x181)]=function(_0x2373b5,_0x1ead4c,_0x336f9b){const _0x4c4a7a=_0x12d65d;if(_0x372abe[_0x4c4a7a(0x201)]===_0x372abe['CONNECTING']){_0x372abe[_0x4c4a7a(0x2c6)](_0x4c4a7a(0x22b),function(){_0xb25e75['_write'](_0x2373b5,_0x1ead4c,_0x336f9b);});return;}_0x372abe[_0x4c4a7a(0x2d3)](_0x2373b5,_0x336f9b);},_0xb25e75['on'](_0x12d65d(0x29b),_0x39c53e),_0xb25e75['on'](_0x12d65d(0x158),_0x24e368),_0xb25e75;}return Oe=_0x376fac,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x11c4db}=ne();function _0x30b55c(_0x4495f6){const _0x1268ed=_0x3ec1,_0x37959f=new Set();let _0x310544=-0x1,_0x9210cc=-0x1,_0x41fee2=0x0;for(_0x41fee2;_0x41fee2<_0x4495f6[_0x1268ed(0x299)];_0x41fee2++){const _0x165c8d=_0x4495f6['charCodeAt'](_0x41fee2);if(_0x9210cc===-0x1&&_0x11c4db[_0x165c8d]===0x1)_0x310544===-0x1&&(_0x310544=_0x41fee2);else{if(_0x41fee2!==0x0&&(_0x165c8d===0x20||_0x165c8d===0x9))_0x9210cc===-0x1&&_0x310544!==-0x1&&(_0x9210cc=_0x41fee2);else{if(_0x165c8d===0x2c){if(_0x310544===-0x1)throw new SyntaxError(_0x1268ed(0x19b)+_0x41fee2);_0x9210cc===-0x1&&(_0x9210cc=_0x41fee2);const _0x22a987=_0x4495f6[_0x1268ed(0x24d)](_0x310544,_0x9210cc);if(_0x37959f[_0x1268ed(0x286)](_0x22a987))throw new SyntaxError(_0x1268ed(0x2ba)+_0x22a987+_0x1268ed(0x231));_0x37959f[_0x1268ed(0x1be)](_0x22a987),_0x310544=_0x9210cc=-0x1;}else throw new SyntaxError(_0x1268ed(0x19b)+_0x41fee2);}}}if(_0x310544===-0x1||_0x9210cc!==-0x1)throw new SyntaxError(_0x1268ed(0x16e));const _0x4a797e=_0x4495f6[_0x1268ed(0x24d)](_0x310544,_0x41fee2);if(_0x37959f[_0x1268ed(0x286)](_0x4a797e))throw new SyntaxError(_0x1268ed(0x2ba)+_0x4a797e+_0x1268ed(0x231));return _0x37959f[_0x1268ed(0x1be)](_0x4a797e),_0x37959f;}return Ce={'parse':_0x30b55c},Ce;}var Te,ot;function er(){const _0x3db401=_0x31da81;if(ot)return Te;ot=0x1;const _0x2dd31f=_0x3c1c3f,_0x4fd0f3=_0x44e3a9,{Duplex:_0x28c6dd}=_0x51a6cf,{createHash:_0x3faff4}=_0x1aeef7,_0x51dc70=pt(),_0x346098=he(),_0x1d50ce=Jt(),_0x28e360=Ie(),{GUID:_0x1c92d5,kWebSocket:_0x48af22}=V(),_0xa4ea4f=/^[+/0-9A-Za-z]{22}==$/,_0x37786f=0x0,_0x585ce5=0x1,_0x5df5a9=0x2;class _0xea8000 extends _0x2dd31f{constructor(_0x28e628,_0x271b5d){const _0x2ee35c=_0x3ec1;if(super(),_0x28e628={'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':_0x28e360,..._0x28e628},_0x28e628[_0x2ee35c(0x1c2)]==null&&!_0x28e628[_0x2ee35c(0x1f3)]&&!_0x28e628[_0x2ee35c(0x282)]||_0x28e628[_0x2ee35c(0x1c2)]!=null&&(_0x28e628[_0x2ee35c(0x1f3)]||_0x28e628[_0x2ee35c(0x282)])||_0x28e628[_0x2ee35c(0x1f3)]&&_0x28e628[_0x2ee35c(0x282)])throw new TypeError(_0x2ee35c(0x28c));if(_0x28e628[_0x2ee35c(0x1c2)]!=null?(this[_0x2ee35c(0x2cd)]=_0x4fd0f3['createServer']((_0xcc9b7d,_0x3b817b)=>{const _0x55006e=_0x2ee35c,_0x26d2b2=_0x4fd0f3['STATUS_CODES'][0x1aa];_0x3b817b['writeHead'](0x1aa,{'Content-Length':_0x26d2b2['length'],'Content-Type':'text/plain'}),_0x3b817b[_0x55006e(0x29b)](_0x26d2b2);}),this[_0x2ee35c(0x2cd)][_0x2ee35c(0x1dd)](_0x28e628[_0x2ee35c(0x1c2)],_0x28e628['host'],_0x28e628['backlog'],_0x271b5d)):_0x28e628[_0x2ee35c(0x1f3)]&&(this[_0x2ee35c(0x2cd)]=_0x28e628['server']),this[_0x2ee35c(0x2cd)]){const _0x23e3d4=this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x303));this[_0x2ee35c(0x277)]=_0xb0c9da(this['_server'],{'listening':this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x174)),'error':this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x158)),'upgrade':(_0x118ede,_0x2cdd80,_0xfeb56)=>{const _0x526708=_0x2ee35c;this[_0x526708(0x217)](_0x118ede,_0x2cdd80,_0xfeb56,_0x23e3d4);}});}_0x28e628[_0x2ee35c(0x1f4)]===!0x0&&(_0x28e628[_0x2ee35c(0x1f4)]={}),_0x28e628[_0x2ee35c(0x2c2)]&&(this[_0x2ee35c(0x265)]=new Set(),this[_0x2ee35c(0x1cd)]=!0x1),this['options']=_0x28e628,this[_0x2ee35c(0x2c5)]=_0x37786f;}[_0x3db401(0x2ae)](){const _0x41780e=_0x3db401;if(this['options'][_0x41780e(0x282)])throw new Error(_0x41780e(0x1a5));return this[_0x41780e(0x2cd)]?this[_0x41780e(0x2cd)][_0x41780e(0x2ae)]():null;}[_0x3db401(0x1fc)](_0x19ed88){const _0x5483bf=_0x3db401;if(this['_state']===_0x5df5a9){_0x19ed88&&this[_0x5483bf(0x2c6)](_0x5483bf(0x1fc),()=>{const _0x348fc4=_0x5483bf;_0x19ed88(new Error(_0x348fc4(0x17e)));}),process[_0x5483bf(0x279)](_0x3f8491,this);return;}if(_0x19ed88&&this[_0x5483bf(0x2c6)](_0x5483bf(0x1fc),_0x19ed88),this['_state']!==_0x585ce5){if(this[_0x5483bf(0x2c5)]=_0x585ce5,this['options'][_0x5483bf(0x282)]||this[_0x5483bf(0x213)][_0x5483bf(0x1f3)])this[_0x5483bf(0x2cd)]&&(this[_0x5483bf(0x277)](),this['_removeListeners']=this[_0x5483bf(0x2cd)]=null),this[_0x5483bf(0x265)]?this[_0x5483bf(0x265)][_0x5483bf(0x2bd)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x3f8491,this):process[_0x5483bf(0x279)](_0x3f8491,this);else{const _0x3eec14=this[_0x5483bf(0x2cd)];this['_removeListeners'](),this[_0x5483bf(0x277)]=this[_0x5483bf(0x2cd)]=null,_0x3eec14[_0x5483bf(0x1fc)](()=>{_0x3f8491(this);});}}}[_0x3db401(0x24a)](_0x20d604){const _0x7c5db4=_0x3db401;if(this[_0x7c5db4(0x213)][_0x7c5db4(0x162)]){const _0x4e3664=_0x20d604[_0x7c5db4(0x159)][_0x7c5db4(0x2e9)]('?');if((_0x4e3664!==-0x1?_0x20d604[_0x7c5db4(0x159)][_0x7c5db4(0x24d)](0x0,_0x4e3664):_0x20d604['url'])!==this[_0x7c5db4(0x213)][_0x7c5db4(0x162)])return!0x1;}return!0x0;}[_0x3db401(0x217)](_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00){const _0x22e8f4=_0x3db401;_0x50d6a6['on'](_0x22e8f4(0x158),_0xfedb79);const _0x1c651f=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x26d)],_0x5a277d=_0x1b13f2[_0x22e8f4(0x247)]['upgrade'],_0x42f784=+_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2e4)];if(_0x1b13f2[_0x22e8f4(0x1ba)]!=='GET'){_0x200091(this,_0x1b13f2,_0x50d6a6,0x195,_0x22e8f4(0x2d1));return;}if(_0x5a277d===void 0x0||_0x5a277d[_0x22e8f4(0x2d0)]()!==_0x22e8f4(0x1f2)){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2f8));return;}if(_0x1c651f===void 0x0||!_0xa4ea4f['test'](_0x1c651f)){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x42f784!==0x8&&_0x42f784!==0xd){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2c8));return;}if(!this[_0x22e8f4(0x24a)](_0x1b13f2)){_0x14b093(_0x50d6a6,0x190);return;}const _0x49894d=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2ed)];let _0x4eed4c=new Set();if(_0x49894d!==void 0x0)try{_0x4eed4c=_0x1d50ce[_0x22e8f4(0x30a)](_0x49894d);}catch{_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2e5));return;}const _0x53d983=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2a6)],_0x36e209={};if(this[_0x22e8f4(0x213)]['perMessageDeflate']&&_0x53d983!==void 0x0){const _0x1ba97c=new _0x346098(this[_0x22e8f4(0x213)][_0x22e8f4(0x1f4)],!0x0,this[_0x22e8f4(0x213)]['maxPayload']);try{const _0x1af3bd=_0x51dc70[_0x22e8f4(0x30a)](_0x53d983);_0x1af3bd[_0x346098[_0x22e8f4(0x1c5)]]&&(_0x1ba97c['accept'](_0x1af3bd[_0x346098[_0x22e8f4(0x1c5)]]),_0x36e209[_0x346098[_0x22e8f4(0x1c5)]]=_0x1ba97c);}catch{_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x22a));return;}}if(this[_0x22e8f4(0x213)][_0x22e8f4(0x173)]){const _0x3b3c12={'origin':_0x1b13f2[_0x22e8f4(0x247)][''+(_0x42f784===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x1b13f2[_0x22e8f4(0x22c)][_0x22e8f4(0x156)]||_0x1b13f2[_0x22e8f4(0x22c)][_0x22e8f4(0x252)]),'req':_0x1b13f2};if(this[_0x22e8f4(0x213)][_0x22e8f4(0x173)][_0x22e8f4(0x299)]===0x2){this[_0x22e8f4(0x213)][_0x22e8f4(0x173)](_0x3b3c12,(_0x2dcd37,_0x5bdd38,_0x4082bf,_0x438623)=>{const _0xe43c1=_0x22e8f4;if(!_0x2dcd37)return _0x14b093(_0x50d6a6,_0x5bdd38||0x191,_0x4082bf,_0x438623);this[_0xe43c1(0x24b)](_0x36e209,_0x1c651f,_0x4eed4c,_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00);});return;}if(!this[_0x22e8f4(0x213)]['verifyClient'](_0x3b3c12))return _0x14b093(_0x50d6a6,0x191);}this[_0x22e8f4(0x24b)](_0x36e209,_0x1c651f,_0x4eed4c,_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00);}[_0x3db401(0x24b)](_0x57488b,_0x165b6d,_0x334b24,_0x5f45c0,_0x3f8d25,_0x4fa08e,_0x52ccd5){const _0x25f05b=_0x3db401;if(!_0x3f8d25[_0x25f05b(0x1b6)]||!_0x3f8d25['writable'])return _0x3f8d25[_0x25f05b(0x243)]();if(_0x3f8d25[_0x48af22])throw new Error(_0x25f05b(0x259));if(this[_0x25f05b(0x2c5)]>_0x37786f)return _0x14b093(_0x3f8d25,0x1f7);const _0x451f3b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x25f05b(0x285),_0x25f05b(0x18d),_0x25f05b(0x2f2)+_0x3faff4(_0x25f05b(0x2b8))[_0x25f05b(0x1a2)](_0x165b6d+_0x1c92d5)[_0x25f05b(0x205)](_0x25f05b(0x295))],_0x31aad9=new this['options'][(_0x25f05b(0x255))](null,void 0x0,this[_0x25f05b(0x213)]);if(_0x334b24[_0x25f05b(0x2bd)]){const _0x4a63da=this[_0x25f05b(0x213)][_0x25f05b(0x239)]?this[_0x25f05b(0x213)]['handleProtocols'](_0x334b24,_0x5f45c0):_0x334b24['values']()[_0x25f05b(0x1ea)]()[_0x25f05b(0x237)];_0x4a63da&&(_0x451f3b[_0x25f05b(0x2fb)](_0x25f05b(0x27e)+_0x4a63da),_0x31aad9[_0x25f05b(0x2b0)]=_0x4a63da);}if(_0x57488b[_0x346098[_0x25f05b(0x1c5)]]){const _0x2e682d=_0x57488b[_0x346098['extensionName']]['params'],_0x22e863=_0x51dc70[_0x25f05b(0x267)]({[_0x346098[_0x25f05b(0x1c5)]]:[_0x2e682d]});_0x451f3b[_0x25f05b(0x2fb)](_0x25f05b(0x20f)+_0x22e863),_0x31aad9[_0x25f05b(0x261)]=_0x57488b;}this[_0x25f05b(0x249)]('headers',_0x451f3b,_0x5f45c0),_0x3f8d25[_0x25f05b(0x216)](_0x451f3b[_0x25f05b(0x2a1)]('\x0d\x0a')[_0x25f05b(0x242)]('\x0d\x0a')),_0x3f8d25['removeListener'](_0x25f05b(0x158),_0xfedb79),_0x31aad9[_0x25f05b(0x20b)](_0x3f8d25,_0x4fa08e,{'allowSynchronousEvents':this[_0x25f05b(0x213)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x25f05b(0x213)][_0x25f05b(0x1ac)]}),this['clients']&&(this[_0x25f05b(0x265)][_0x25f05b(0x1be)](_0x31aad9),_0x31aad9['on']('close',()=>{const _0x1848bf=_0x25f05b;this[_0x1848bf(0x265)][_0x1848bf(0x2b7)](_0x31aad9),this[_0x1848bf(0x1cd)]&&!this['clients']['size']&&process['nextTick'](_0x3f8491,this);})),_0x52ccd5(_0x31aad9,_0x5f45c0);}}Te=_0xea8000;function _0xb0c9da(_0x3d64f5,_0x14aa86){const _0xfa78a4=_0x3db401;for(const _0x21cf15 of Object[_0xfa78a4(0x15d)](_0x14aa86))_0x3d64f5['on'](_0x21cf15,_0x14aa86[_0x21cf15]);return function(){const _0x39864c=_0xfa78a4;for(const _0x2e7d3e of Object[_0x39864c(0x15d)](_0x14aa86))_0x3d64f5[_0x39864c(0x2cc)](_0x2e7d3e,_0x14aa86[_0x2e7d3e]);};}function _0x3f8491(_0x10fc8a){const _0x503379=_0x3db401;_0x10fc8a[_0x503379(0x2c5)]=_0x5df5a9,_0x10fc8a[_0x503379(0x249)](_0x503379(0x1fc));}function _0xfedb79(){const _0x34c106=_0x3db401;this[_0x34c106(0x243)]();}function _0x14b093(_0x1eae08,_0x99963,_0x3f38ed,_0x47c97d){const _0x23830b=_0x3db401;_0x3f38ed=_0x3f38ed||_0x4fd0f3['STATUS_CODES'][_0x99963],_0x47c97d={'Connection':_0x23830b(0x1fc),'Content-Type':_0x23830b(0x1e1),'Content-Length':Buffer['byteLength'](_0x3f38ed),..._0x47c97d},_0x1eae08[_0x23830b(0x2c6)]('finish',_0x1eae08[_0x23830b(0x243)]),_0x1eae08['end'](_0x23830b(0x1b0)+_0x99963+'\x20'+_0x4fd0f3[_0x23830b(0x2df)][_0x99963]+'\x0d\x0a'+Object[_0x23830b(0x15d)](_0x47c97d)[_0x23830b(0x228)](_0x4c2cec=>_0x4c2cec+':\x20'+_0x47c97d[_0x4c2cec])[_0x23830b(0x242)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3f38ed);}function _0x200091(_0x1d6497,_0x2a3042,_0x508875,_0x1a5a49,_0x4e585a){const _0x313e0f=_0x3db401;if(_0x1d6497[_0x313e0f(0x25f)](_0x313e0f(0x284))){const _0x28d3e9=new Error(_0x4e585a);Error[_0x313e0f(0x302)](_0x28d3e9,_0x200091),_0x1d6497[_0x313e0f(0x249)]('wsClientError',_0x28d3e9,_0x508875,_0x2a3042);}else _0x14b093(_0x508875,_0x1a5a49,_0x4e585a);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x3974cf,_0x35f92c,_0x1c066d,_0x17a36a)=>{const _0x52773f=_0x31da81;for(var _0x430b94=_0x17a36a>0x1?void 0x0:_0x17a36a?tr(_0x35f92c,_0x1c066d):_0x35f92c,_0x562099=_0x3974cf[_0x52773f(0x299)]-0x1,_0xec792f;_0x562099>=0x0;_0x562099--)(_0xec792f=_0x3974cf[_0x562099])&&(_0x430b94=_0xec792f(_0x430b94)||_0x430b94);return _0x430b94;},sr=(_0x1d20f2,_0x47c1bb)=>(_0x3d5bf3,_0x32b875)=>_0x47c1bb(_0x3d5bf3,_0x32b875,_0x1d20f2);let Ne=class extends _0x13795b{constructor(_0x3ae5b1){const _0x505467=_0x31da81;super(),this[_0x505467(0x22e)]=_0x3ae5b1;}[_0x31da81(0x271)](_0x111166){const _0x1f53cf=_0x31da81;var _0x461608;const _0x595150=(_0x461608=this[_0x1f53cf(0x22e)][_0x1f53cf(0x21d)](Be))==null?void 0x0:_0x461608[_0x1f53cf(0x2c4)];try{const _0x10bab4=new Qt(_0x111166,{'headers':{..._0x595150}}),_0x423537=new _0x166a18();return{'URL':_0x111166,'close':(_0x3d7493,_0x3d8426)=>{const _0x182900=_0x1f53cf;_0x10bab4[_0x182900(0x1fc)](_0x3d7493,_0x3d8426),_0x423537['dispose']();},'send':_0x497403=>{const _0x55d7e3=_0x1f53cf;_0x10bab4[_0x55d7e3(0x2d3)](_0x497403);},'open$':new _0x29e2bc(_0x379bab=>{const _0x173640=_0x1f53cf,_0x1161fe=_0x1e9fac=>_0x379bab[_0x173640(0x1ea)](_0x1e9fac);_0x10bab4[_0x173640(0x27d)]('open',_0x1161fe),_0x423537['add'](_0xad6817(()=>_0x10bab4[_0x173640(0x23c)](_0x173640(0x22b),_0x1161fe)));})['pipe'](_0x112638()),'close$':new _0x29e2bc(_0x409a8b=>{const _0xc932bb=_0x1f53cf,_0x3442c0=_0x1bcdef=>_0x409a8b[_0xc932bb(0x1ea)](_0x1bcdef);_0x10bab4[_0xc932bb(0x27d)](_0xc932bb(0x1fc),_0x3442c0),_0x423537[_0xc932bb(0x1be)](_0xad6817(()=>_0x10bab4[_0xc932bb(0x23c)](_0xc932bb(0x1fc),_0x3442c0)));})[_0x1f53cf(0x1a0)](_0x112638()),'error$':new _0x29e2bc(_0x1cd088=>{const _0x3e616e=_0x1f53cf,_0x4dca0c=_0x1d6e13=>_0x1cd088['next'](_0x1d6e13);_0x10bab4[_0x3e616e(0x27d)](_0x3e616e(0x158),_0x4dca0c),_0x423537[_0x3e616e(0x1be)](_0xad6817(()=>_0x10bab4[_0x3e616e(0x23c)](_0x3e616e(0x158),_0x4dca0c)));})[_0x1f53cf(0x1a0)](_0x112638()),'message$':new _0x29e2bc(_0x18a31e=>{const _0x3fa2b0=_0x1f53cf,_0x5ea7aa=_0x223775=>_0x18a31e[_0x3fa2b0(0x1ea)](_0x223775);_0x10bab4[_0x3fa2b0(0x27d)](_0x3fa2b0(0x2ce),_0x5ea7aa),_0x423537[_0x3fa2b0(0x1be)](_0xad6817(()=>_0x10bab4[_0x3fa2b0(0x23c)](_0x3fa2b0(0x2ce),_0x5ea7aa)));})[_0x1f53cf(0x1a0)](_0x112638())};}catch(_0x1d0b8b){return console[_0x1f53cf(0x158)](_0x1d0b8b),null;}}};Ne=rr([sr(0x0,_0x421e0e)],Ne);var ir=Object[_0x31da81(0x25a)],nr=Object[_0x31da81(0x19a)],or=(_0x4ab3ad,_0x55548b,_0x1ff1f7)=>_0x55548b in _0x4ab3ad?ir(_0x4ab3ad,_0x55548b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ff1f7}):_0x4ab3ad[_0x55548b]=_0x1ff1f7,ar=(_0x1c7aad,_0x2c2f92,_0x28e032,_0x401159)=>{for(var _0xccc065=_0x401159>0x1?void 0x0:_0x401159?nr(_0x2c2f92,_0x28e032):_0x2c2f92,_0x411a02=_0x1c7aad['length']-0x1,_0x3c3a71;_0x411a02>=0x0;_0x411a02--)(_0x3c3a71=_0x1c7aad[_0x411a02])&&(_0xccc065=_0x3c3a71(_0xccc065)||_0xccc065);return _0xccc065;},ke=(_0x44026e,_0x23aced)=>(_0x50ba26,_0x40946e)=>_0x23aced(_0x50ba26,_0x40946e,_0x44026e),lr=(_0x3e2cac,_0x1920a1,_0x3d68f4)=>or(_0x3e2cac,_0x1920a1+'',_0x3d68f4);let Pe=class extends _0x5bf9d2{constructor(_0x44547b=Ft,_0x36056f,_0xf35ef9,_0x5f5aaf){const _0xa72213=_0x31da81;_0x44547b[_0xa72213(0x2c4)]||_0x36056f[_0xa72213(0x229)](_0xa72213(0x2f5)),super(),this[_0xa72213(0x22e)]=_0xf35ef9,this[_0xa72213(0x1a1)]=_0x5f5aaf,this[_0xa72213(0x22e)][_0xa72213(0x176)](Be,_0x44547b);}['onStarting'](){const _0x46df94=_0x31da81;this[_0x46df94(0x15e)]();}[_0x31da81(0x15e)](){const _0x37c691=_0x31da81;_0x2f150f(this[_0x37c691(0x1a1)],[[_0x33c413,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x33ebee(_0x56a588),ke(0x1,_0x4454ef),ke(0x2,_0x421e0e),ke(0x3,_0x173be1(_0x12eae9))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x18f96e,_0x2d0b1f,_0xc17189,_0x1d0bbc)=>{for(var _0x5f08ad=_0x1d0bbc>0x1?void 0x0:_0x1d0bbc?fr(_0x2d0b1f,_0xc17189):_0x2d0b1f,_0x3e88b3=_0x18f96e['length']-0x1,_0x3e1901;_0x3e88b3>=0x0;_0x3e88b3--)(_0x3e1901=_0x18f96e[_0x3e88b3])&&(_0x5f08ad=_0x3e1901(_0x5f08ad)||_0x5f08ad);return _0x5f08ad;},se=(_0x480ec4,_0x1ac74c)=>(_0x1fc1a4,_0xa4f6ad)=>_0x1ac74c(_0x1fc1a4,_0xa4f6ad,_0x480ec4);let at=class extends _0x351a2a{constructor(_0x43ab31,_0x4d5fdd,_0x1d5515,_0x29bb88,_0x30e9d4){const _0xcb9a07=_0x31da81;super(_0x43ab31,_0x4d5fdd,_0x1d5515,_0x29bb88,_0x30e9d4);const _0x3bcf1f=this[_0xcb9a07(0x22e)]['getConfig'](Be);this[_0xcb9a07(0x196)][_0xcb9a07(0x1bd)]({'interceptor':(_0x3a821d,_0x21d6d6)=>{const _0x567e58=_0xcb9a07;var _0x2ee4f3;const _0x5e3b6a=_0x3a821d[_0x567e58(0x247)];return(_0x2ee4f3=_0x3bcf1f==null?void 0x0:_0x3bcf1f[_0x567e58(0x2c4)])!=null&&_0x2ee4f3[_0x567e58(0x1f7)]&&_0x5e3b6a[_0x567e58(0x241)](_0x567e58(0x1e6),_0x3bcf1f[_0x567e58(0x2c4)][_0x567e58(0x1f7)]),_0x21d6d6(_0x3a821d);}});}async[_0x31da81(0x271)](_0x59da63){const _0x55981f=_0x31da81;return this[_0x55981f(0x208)](_0x59da63);}};at=cr([se(0x0,_0x173be1(_0x12eae9)),se(0x1,_0x173be1(_0x433452)),se(0x2,_0x421e0e),se(0x3,_0x4454ef),se(0x4,_0x5a6efc)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x273d3a=_0x1103;(function(_0x4e2e3e,_0x37eb5e){const _0x6cc552=_0x1103,_0x5d0ef2=_0x4e2e3e();while(!![]){try{const _0x18c146=-parseInt(_0x6cc552(0x162))/0x1*(parseInt(_0x6cc552(0x25d))/0x2)+-parseInt(_0x6cc552(0x1b1))/0x3+parseInt(_0x6cc552(0x1c3))/0x4*(-parseInt(_0x6cc552(0x199))/0x5)+parseInt(_0x6cc552(0x148))/0x6+parseInt(_0x6cc552(0x1a0))/0x7+-parseInt(_0x6cc552(0x16d))/0x8+parseInt(_0x6cc552(0x185))/0x9;if(_0x18c146===_0x37eb5e)break;else _0x5d0ef2['push'](_0x5d0ef2['shift']());}catch(_0x16cd72){_0x5d0ef2['push'](_0x5d0ef2['shift']());}}}(_0x1ec1,0xa639e));import{UniverCollaborationClientPlugin as _0x88f651,CollaborationSocketService as _0x3b0bfc}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1bd600,DisposableCollection as _0x403ad9,toDisposable as _0x2107f2,IConfigService as _0x46482f,DependentOn as _0x1e1108,ILogService as _0x54ff49,Inject as _0x5e05d8,Injector as _0x1904af,Plugin as _0x14f5b4,registerDependencies as _0x48b4ca}from'@univerjs/core';import{ISocketService as _0x51dcb0,HTTPService as _0xb34f9f}from'@univerjs/network';import{Observable as _0x3c22f8,share as _0x17c6f5}from'rxjs';import _0x5ecb1c from'events';import _0x1fc80e from'https';import _0x437340 from'http';import _0x26995e from'net';import _0x1627d6 from'tls';import _0x326401 from'crypto';function _0x1ec1(){const _0x463b33=['startsWith','_fin','haveLength','Invalid\x20URL:\x20','constructor','handleProtocols','MASK\x20must\x20be\x20clear','_no_context_takeover','WS_ERR_INVALID_CLOSE_CODE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','offer','_masked','OPEN','clientNoContextTakeover','warn','concat','Basic\x20','username','host','extensions','_readableState','once','Invalid\x20Sec-WebSocket-Accept\x20header','_skipUTF8Validation','createDeflateRaw','_closeTimer','verifyClient','location','Invalid\x20Upgrade\x20header','WS_NO_UTF_8_VALIDATE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','sendFrame','writeUInt16BE','dataMessage','ws+unix:','map','Sec-WebSocket-Protocol','headers','customHeaders','allowSynchronousEvents','RSV1\x20must\x20be\x20clear','stream','send','opcode','connection','finishRequest','CLOSING','Invalid\x20WebSocket\x20frame:\x20','socket','client_max_window_bits','_bufferedAmount','finish','getBlobData','WS_ERR_INVALID_UTF8','Invalid\x20HTTP\x20method','values','_redirects','getData','onopen','_bufferedBytes','status-code','createError','type','_binaryType','format','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','invalid\x20status\x20code\x20','buffer','_fragments','getOwnPropertyDescriptor','sec-websocket-protocol','kDone','_opcode','data','sec-websocket-key','terminate','invalid\x20UTF-8\x20sequence','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','MASK\x20must\x20be\x20set','invalid\x20opcode\x20','wasClean','The\x20\x22','zlibInflateOptions','_writableState','text/plain','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','startLoop','callback','conclude','emit','isValidUTF8','acceptAsClient','handleEvent','sec-websocket-extensions','writable','protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','zlibDeflateOptions','kIsForOnEventAttribute','call','WebSocket\x20is\x20not\x20open:\x20readyState\x20','drain','nodebuffer','listen','readOnly','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','controlMessage','delete','number','WS_NO_BUFFER_UTIL','acceptAsServer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_queue','object','_state','_closeFrameSent','Origin','encrypted','cleanup','websocket','url','_sender','ping','pipe','__esModule','toStringTag','_closeCode','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','CONNECTING','getConfig','FIN\x20must\x20be\x20set','resume','arrayBuffer','2326582VTJykP','read','_socket','readyState','defaultPort','createInflateRaw','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','password','threshold','toLowerCase','_autoPong','byteLength','pathname','_url','listeners','auth','_originalSecure','onmessage','_injector','isPaused','Server\x20sent\x20no\x20subprotocol','followRedirects','clientMaxWindowBits','options','onStarting','exports','destroy','server_max_window_bits','timeout','kListener','WS_ERR_INVALID_OPCODE','port','createServer','nextTick','default','arraybuffer','_fragmented','set','ws:','_payloadLength','unexpected-response','add','join','_originalHostOrSocketPath','protocolVersion','upgrade','generateMask','kMessage','shouldHandle','_generateMask','_write','forEach','buffers','listenerCount','Maximum\x20redirects\x20exceeded','sec-websocket-accept','onerror','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unsupported\x20protocol\x20version:\x20','error','write','clientTracking','_protocol','prototype','concurrency','bufferedAmount','Module','update','STATUS_CODES','removeEventListener','completeUpgrade','message','Unexpected\x20character\x20at\x20index\x20','errorEmitted','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','push','test','_options','binaryType','normalizeParams','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_RSV_1','origin','pong','CLOSED','HTTP/1.1\x20','perMessageDeflate','listening','_configService','shift','https:','catch','fin','kError','_httpService','_closeFrameReceived','Unexpected\x20end\x20of\x20input','emitClose','maxRedirects','Sec-WebSocket-Extensions','_inflate','_maxPayload','keys','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Extensions:\x20','indexOf','_originalIpc','code','enqueue','endEmitted','_receiver','replace','rsv1','binary','search','sec-websocket-version','alloc','species','Z_DEFAULT_WINDOWBITS','kWasClean','unshift','onclose','\x22:\x20','_closeMessage','_registerDependencies','length','_threshold','abort','Connection:\x20Upgrade','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getMask','frame','freeze','address','client_no_context_takeover','create','handleUpgrade','allocUnsafe','has','kCode','text/html','_doCreateSocket','function','jobs','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_shouldEmitClose','dequeue','hasOwnProperty','_server','_firstFragment','setNoDelay','server_no_context_takeover','base64','Upgrade:\x20websocket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','kRun','hostname','open','File','getInfo','_decompress','2062212JspwjH','includes','setHeader','bind','objectMode','construct','kAborted','accept','WS_ERR_EXPECTED_MASK','path','_loop','setConfig','Cookie','createSocket','serverNoContextTakeover','maxPayload','GET','_maskBuffer','createConnection','concurrencyLimit','sha1','toString','isInteger','defineProperty','_messageLength','mask','1XYbiYi','charCodeAt','from','cork','readable','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','next','setSocket','size','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','1759048sqEiZv','pause','split','pending','servername','setTimeout','The\x20server\x20is\x20not\x20running','HTTP/1.1\x20101\x20Switching\x20Protocols','Parameter\x20\x22','_req','_compressed','_isServer','_buffers','find','consume','target','\x0d\x0a\x0d\x0a','removeListener','readUInt16BE','addEventListener','registerHTTPInterceptor','pow','_errorEmitted','close','14718753rgjUkj','kData','Unknown\x20parameter\x20\x22','end','decompress','redirect','socketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','params','Invalid\x20value\x20for\x20parameter\x20\x22','getPayloadLength64','wss:','Invalid\x20Sec-WebSocket-Protocol\x20header','_final','isView','byteOffset','connect','cookie','authorization','Server\x20sent\x20an\x20invalid\x20subprotocol','4295wSnSRg','autoPong','captureStackTrace','Blob','backlog','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_mask','8741019yzZqOy','parse','readUInt32BE','_compress','Sec-WebSocket-Protocol:\x20','finished','dispatch','_allowSynchronousEvents','_paused','destroyed','blob','noServer','invalid\x20opcode\x200','reset','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','clients','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','267579oWQwLv','collaboration-client-node.config','permessage-deflate','Upgrade','skipUTF8Validation','_extensions','WS_ERR_UNEXPECTED_MASK','digest','_removeListeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','wsClientError','extensionName','reason','serverMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','get','client','string','5004vNvmze','method','compress','kByteLength','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_max_window_bits','_errored','isArray','apply','flush','handshakeTimeout','_totalPayloadLength','_deflate','request','_readyState','Max\x20payload\x20size\x20exceeded','kType','server','statusCode'];_0x1ec1=function(){return _0x463b33;};return _0x1ec1();}import _0x208f40 from'stream';import _0x214c0a from'url';import _0x393186 from'zlib';import _0x4a0b87 from'buffer';import{ISnapshotServerService as _0x43c1a1}from'@univerjs-pro/collaboration';const Be=_0x273d3a(0x1b2),Ft={'customHeaders':{}};function jt(_0x4fa4a8){const _0x170cf9=_0x273d3a;return _0x4fa4a8&&_0x4fa4a8[_0x170cf9(0x254)]&&Object['prototype'][_0x170cf9(0x13a)][_0x170cf9(0x23b)](_0x4fa4a8,_0x170cf9(0x27f))?_0x4fa4a8[_0x170cf9(0x27f)]:_0x4fa4a8;}function ut(_0x543bf8){const _0xecdb08=_0x273d3a;if(Object[_0xecdb08(0x29c)][_0xecdb08(0x13a)][_0xecdb08(0x23b)](_0x543bf8,_0xecdb08(0x254)))return _0x543bf8;var _0x5267aa=_0x543bf8[_0xecdb08(0x27f)];if(typeof _0x5267aa=='function'){var _0x54339f=function _0x2eab69(){const _0x5a596d=_0xecdb08;return this instanceof _0x2eab69?Reflect[_0x5a596d(0x14d)](_0x5267aa,arguments,this[_0x5a596d(0x1da)]):_0x5267aa[_0x5a596d(0x1cb)](this,arguments);};_0x54339f[_0xecdb08(0x29c)]=_0x5267aa[_0xecdb08(0x29c)];}else _0x54339f={};return Object[_0xecdb08(0x15f)](_0x54339f,_0xecdb08(0x254),{'value':!0x0}),Object[_0xecdb08(0x2c3)](_0x543bf8)[_0xecdb08(0x290)](function(_0x1e8227){const _0x5e98bc=_0xecdb08;var _0x3687a6=Object[_0x5e98bc(0x21c)](_0x543bf8,_0x1e8227);Object[_0x5e98bc(0x15f)](_0x54339f,_0x1e8227,_0x3687a6[_0x5e98bc(0x1c0)]?_0x3687a6:{'enumerable':!0x0,'get':function(){return _0x543bf8[_0x1e8227];}});}),_0x54339f;}var te={'exports':{}},ge,Ye;function V(){const _0x4b83ad=_0x273d3a;if(Ye)return ge;Ye=0x1;const _0x2dfb41=[_0x4b83ad(0x23e),'arraybuffer','fragments'],_0x34c22e=typeof Blob<'u';return _0x34c22e&&_0x2dfb41[_0x4b83ad(0x2a8)](_0x4b83ad(0x1aa)),ge={'BINARY_TYPES':_0x2dfb41,'EMPTY_BUFFER':Buffer[_0x4b83ad(0x2d1)](0x0),'GUID':_0x4b83ad(0x1ae),'hasBlob':_0x34c22e,'kForOnEventAttribute':Symbol(_0x4b83ad(0x23a)),'kListener':Symbol(_0x4b83ad(0x27a)),'kStatusCode':Symbol(_0x4b83ad(0x213)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x273d3a(0x15f)]({'__proto__':null,'default':Wt},Symbol[_0x273d3a(0x255)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x49484e=_0x273d3a;if(Ke)return te[_0x49484e(0x276)];Ke=0x1;const {EMPTY_BUFFER:_0x2e5d0f}=V(),_0x989d16=Buffer[Symbol[_0x49484e(0x2d2)]];function _0x2fd5b5(_0x1e15d0,_0x5435f5){const _0x326080=_0x49484e;if(_0x1e15d0[_0x326080(0x2da)]===0x0)return _0x2e5d0f;if(_0x1e15d0[_0x326080(0x2da)]===0x1)return _0x1e15d0[0x0];const _0x9d8f17=Buffer['allocUnsafe'](_0x5435f5);let _0x2a8719=0x0;for(let _0x4d0c0d=0x0;_0x4d0c0d<_0x1e15d0[_0x326080(0x2da)];_0x4d0c0d++){const _0x2c9198=_0x1e15d0[_0x4d0c0d];_0x9d8f17['set'](_0x2c9198,_0x2a8719),_0x2a8719+=_0x2c9198[_0x326080(0x2da)];}return _0x2a8719<_0x5435f5?new _0x989d16(_0x9d8f17[_0x326080(0x21a)],_0x9d8f17[_0x326080(0x194)],_0x2a8719):_0x9d8f17;}function _0x43c9fe(_0xf0d269,_0x1d4f03,_0x437783,_0x57f75b,_0x133b56){for(let _0x1fb999=0x0;_0x1fb999<_0x133b56;_0x1fb999++)_0x437783[_0x57f75b+_0x1fb999]=_0xf0d269[_0x1fb999]^_0x1d4f03[_0x1fb999&0x3];}function _0x500b64(_0x38b7f1,_0x2a8848){const _0x5b98cb=_0x49484e;for(let _0x358d2d=0x0;_0x358d2d<_0x38b7f1[_0x5b98cb(0x2da)];_0x358d2d++)_0x38b7f1[_0x358d2d]^=_0x2a8848[_0x358d2d&0x3];}function _0x138c40(_0xa35572){const _0x46f6e9=_0x49484e;return _0xa35572['length']===_0xa35572[_0x46f6e9(0x21a)][_0x46f6e9(0x268)]?_0xa35572[_0x46f6e9(0x21a)]:_0xa35572['buffer'][_0x46f6e9(0x16c)](_0xa35572[_0x46f6e9(0x194)],_0xa35572[_0x46f6e9(0x194)]+_0xa35572[_0x46f6e9(0x2da)]);}function _0x16d865(_0x5ea8e2){const _0x624177=_0x49484e;if(_0x16d865['readOnly']=!0x0,Buffer['isBuffer'](_0x5ea8e2))return _0x5ea8e2;let _0x4e06bb;return _0x5ea8e2 instanceof ArrayBuffer?_0x4e06bb=new _0x989d16(_0x5ea8e2):ArrayBuffer[_0x624177(0x193)](_0x5ea8e2)?_0x4e06bb=new _0x989d16(_0x5ea8e2['buffer'],_0x5ea8e2[_0x624177(0x194)],_0x5ea8e2[_0x624177(0x268)]):(_0x4e06bb=Buffer[_0x624177(0x164)](_0x5ea8e2),_0x16d865[_0x624177(0x240)]=!0x1),_0x4e06bb;}if(te[_0x49484e(0x276)]={'concat':_0x2fd5b5,'mask':_0x43c9fe,'toArrayBuffer':_0x138c40,'toBuffer':_0x16d865,'unmask':_0x500b64},!process['env'][_0x49484e(0x245)])try{const _0x503713=Vt;te['exports'][_0x49484e(0x161)]=function(_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb){const _0x554a2e=_0x49484e;_0x3805fb<0x30?_0x43c9fe(_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb):_0x503713[_0x554a2e(0x161)](_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb);},te[_0x49484e(0x276)]['unmask']=function(_0x565c6a,_0x171f5c){const _0x481f36=_0x49484e;_0x565c6a[_0x481f36(0x2da)]<0x20?_0x500b64(_0x565c6a,_0x171f5c):_0x503713['unmask'](_0x565c6a,_0x171f5c);};}catch{}return te[_0x49484e(0x276)];}var ye,Xe;function qt(){const _0x1bf43a=_0x273d3a;if(Xe)return ye;Xe=0x1;const _0x2a3edc=Symbol(_0x1bf43a(0x21e)),_0x299af2=Symbol(_0x1bf43a(0x142));class _0x5b6e59{constructor(_0x2b1af4){const _0x564b16=_0x1bf43a;this[_0x2a3edc]=()=>{const _0x19afa7=_0x1103;this[_0x19afa7(0x170)]--,this[_0x299af2]();},this[_0x564b16(0x29d)]=_0x2b1af4||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x1bf43a(0x286)](_0x308557){const _0x306958=_0x1bf43a;this[_0x306958(0x136)][_0x306958(0x2a8)](_0x308557),this[_0x299af2]();}[_0x299af2](){const _0x17d13d=_0x1bf43a;if(this[_0x17d13d(0x170)]!==this[_0x17d13d(0x29d)]&&this[_0x17d13d(0x136)]['length']){const _0x487ab7=this[_0x17d13d(0x136)][_0x17d13d(0x2b6)]();this[_0x17d13d(0x170)]++,_0x487ab7(this[_0x2a3edc]);}}}return ye=_0x5b6e59,ye;}var ve,Ze;function he(){const _0x1cfa1e=_0x273d3a;if(Ze)return ve;Ze=0x1;const _0xe260b0=_0x393186,_0x2cd394=ce(),_0x444e18=qt(),{kStatusCode:_0x37d492}=V(),_0x129dbb=Buffer[Symbol[_0x1cfa1e(0x2d2)]],_0xa9c71d=Buffer[_0x1cfa1e(0x164)]([0x0,0x0,0xff,0xff]),_0x44e3e7=Symbol(_0x1cfa1e(0x1b3)),_0x1c3c34=Symbol('total-length'),_0x2eca44=Symbol(_0x1cfa1e(0x22f)),_0x438162=Symbol(_0x1cfa1e(0x291)),_0x23bb91=Symbol(_0x1cfa1e(0x298));let _0x15bb66;class _0x3f0838{constructor(_0x3bf403,_0x4ad6e4,_0x329831){const _0x1b8126=_0x1cfa1e;if(this[_0x1b8126(0x2c2)]=_0x329831|0x0,this['_options']=_0x3bf403||{},this[_0x1b8126(0x2db)]=this[_0x1b8126(0x2aa)]['threshold']!==void 0x0?this[_0x1b8126(0x2aa)][_0x1b8126(0x265)]:0x400,this[_0x1b8126(0x178)]=!!_0x4ad6e4,this[_0x1b8126(0x1cf)]=null,this[_0x1b8126(0x2c1)]=null,this[_0x1b8126(0x18d)]=null,!_0x15bb66){const _0x3a3ceb=this[_0x1b8126(0x2aa)][_0x1b8126(0x15b)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x15bb66=new _0x444e18(_0x3a3ceb);}}static get[_0x1cfa1e(0x1bc)](){return'permessage-deflate';}['offer'](){const _0x2f0c16=_0x1cfa1e,_0x4b2501={};return this[_0x2f0c16(0x2aa)]['serverNoContextTakeover']&&(_0x4b2501[_0x2f0c16(0x13e)]=!0x0),this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1e3)]&&(_0x4b2501[_0x2f0c16(0x12d)]=!0x0),this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1be)]&&(_0x4b2501[_0x2f0c16(0x278)]=this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1be)]),this['_options']['clientMaxWindowBits']?_0x4b2501[_0x2f0c16(0x208)]=this[_0x2f0c16(0x2aa)]['clientMaxWindowBits']:this['_options'][_0x2f0c16(0x273)]==null&&(_0x4b2501[_0x2f0c16(0x208)]=!0x0),_0x4b2501;}['accept'](_0x23a1c5){const _0x5a9056=_0x1cfa1e;return _0x23a1c5=this[_0x5a9056(0x2ac)](_0x23a1c5),this[_0x5a9056(0x18d)]=this[_0x5a9056(0x178)]?this[_0x5a9056(0x246)](_0x23a1c5):this[_0x5a9056(0x233)](_0x23a1c5),this['params'];}[_0x1cfa1e(0x24e)](){const _0x39deb4=_0x1cfa1e;if(this[_0x39deb4(0x2c1)]&&(this[_0x39deb4(0x2c1)][_0x39deb4(0x184)](),this[_0x39deb4(0x2c1)]=null),this['_deflate']){const _0x52c3db=this[_0x39deb4(0x1cf)][_0x2eca44];this[_0x39deb4(0x1cf)][_0x39deb4(0x184)](),this[_0x39deb4(0x1cf)]=null,_0x52c3db&&_0x52c3db(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x3d611c){const _0x4e4c6d=_0x1cfa1e,_0x29eff9=this[_0x4e4c6d(0x2aa)],_0x597e5a=_0x3d611c[_0x4e4c6d(0x17a)](_0x13c412=>!(_0x29eff9[_0x4e4c6d(0x156)]===!0x1&&_0x13c412[_0x4e4c6d(0x13e)]||_0x13c412[_0x4e4c6d(0x278)]&&(_0x29eff9[_0x4e4c6d(0x1be)]===!0x1||typeof _0x29eff9['serverMaxWindowBits']==_0x4e4c6d(0x244)&&_0x29eff9[_0x4e4c6d(0x1be)]>_0x13c412[_0x4e4c6d(0x278)])||typeof _0x29eff9[_0x4e4c6d(0x273)]==_0x4e4c6d(0x244)&&!_0x13c412['client_max_window_bits']));if(!_0x597e5a)throw new Error(_0x4e4c6d(0x296));return _0x29eff9[_0x4e4c6d(0x156)]&&(_0x597e5a['server_no_context_takeover']=!0x0),_0x29eff9['clientNoContextTakeover']&&(_0x597e5a[_0x4e4c6d(0x12d)]=!0x0),typeof _0x29eff9['serverMaxWindowBits']==_0x4e4c6d(0x244)&&(_0x597e5a[_0x4e4c6d(0x278)]=_0x29eff9[_0x4e4c6d(0x1be)]),typeof _0x29eff9[_0x4e4c6d(0x273)]==_0x4e4c6d(0x244)?_0x597e5a[_0x4e4c6d(0x208)]=_0x29eff9['clientMaxWindowBits']:(_0x597e5a[_0x4e4c6d(0x208)]===!0x0||_0x29eff9[_0x4e4c6d(0x273)]===!0x1)&&delete _0x597e5a[_0x4e4c6d(0x208)],_0x597e5a;}[_0x1cfa1e(0x233)](_0xcbb289){const _0x81c1ba=_0x1cfa1e,_0x14eada=_0xcbb289[0x0];if(this[_0x81c1ba(0x2aa)]['clientNoContextTakeover']===!0x1&&_0x14eada['client_no_context_takeover'])throw new Error(_0x81c1ba(0x1df));if(!_0x14eada['client_max_window_bits'])typeof this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]==_0x81c1ba(0x244)&&(_0x14eada[_0x81c1ba(0x208)]=this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]);else{if(this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]===!0x1||typeof this['_options'][_0x81c1ba(0x273)]==_0x81c1ba(0x244)&&_0x14eada[_0x81c1ba(0x208)]>this[_0x81c1ba(0x2aa)]['clientMaxWindowBits'])throw new Error(_0x81c1ba(0x257));}return _0x14eada;}[_0x1cfa1e(0x2ac)](_0x32b527){const _0x473afe=_0x1cfa1e;return _0x32b527[_0x473afe(0x290)](_0x5b3555=>{const _0x490722=_0x473afe;Object[_0x490722(0x2c3)](_0x5b3555)[_0x490722(0x290)](_0x514ba5=>{const _0x5d29f7=_0x490722;let _0x1a9f94=_0x5b3555[_0x514ba5];if(_0x1a9f94['length']>0x1)throw new Error(_0x5d29f7(0x175)+_0x514ba5+_0x5d29f7(0x1f4));if(_0x1a9f94=_0x1a9f94[0x0],_0x514ba5==='client_max_window_bits'){if(_0x1a9f94!==!0x0){const _0x3ac643=+_0x1a9f94;if(!Number[_0x5d29f7(0x15e)](_0x3ac643)||_0x3ac643<0x8||_0x3ac643>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);_0x1a9f94=_0x3ac643;}else{if(!this['_isServer'])throw new TypeError(_0x5d29f7(0x18e)+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);}}else{if(_0x514ba5===_0x5d29f7(0x278)){const _0x1c360f=+_0x1a9f94;if(!Number[_0x5d29f7(0x15e)](_0x1c360f)||_0x1c360f<0x8||_0x1c360f>0xf)throw new TypeError(_0x5d29f7(0x18e)+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);_0x1a9f94=_0x1c360f;}else{if(_0x514ba5===_0x5d29f7(0x12d)||_0x514ba5===_0x5d29f7(0x13e)){if(_0x1a9f94!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);}else throw new Error(_0x5d29f7(0x187)+_0x514ba5+'\x22');}}_0x5b3555[_0x514ba5]=_0x1a9f94;});}),_0x32b527;}[_0x1cfa1e(0x189)](_0x486561,_0x3b229f,_0xf4c3fd){const _0x5eb9b9=_0x1cfa1e;_0x15bb66[_0x5eb9b9(0x286)](_0x20e35a=>{const _0x503608=_0x5eb9b9;this[_0x503608(0x147)](_0x486561,_0x3b229f,(_0x46517f,_0x149d97)=>{_0x20e35a(),_0xf4c3fd(_0x46517f,_0x149d97);});});}[_0x1cfa1e(0x1c5)](_0x52fd7c,_0x1b139e,_0x21131c){const _0x29c5ed=_0x1cfa1e;_0x15bb66[_0x29c5ed(0x286)](_0x473ee6=>{const _0x1d4c04=_0x29c5ed;this[_0x1d4c04(0x1a3)](_0x52fd7c,_0x1b139e,(_0x2bcbc3,_0x3417db)=>{_0x473ee6(),_0x21131c(_0x2bcbc3,_0x3417db);});});}[_0x1cfa1e(0x147)](_0x370b74,_0x5b47a8,_0x38a713){const _0x831c23=_0x1cfa1e,_0x3f8164=this[_0x831c23(0x178)]?_0x831c23(0x1c1):_0x831c23(0x1d4);if(!this[_0x831c23(0x2c1)]){const _0x4fd98e=_0x3f8164+_0x831c23(0x1c8),_0x1a5a11=typeof this[_0x831c23(0x18d)][_0x4fd98e]!='number'?_0xe260b0[_0x831c23(0x2d3)]:this[_0x831c23(0x18d)][_0x4fd98e];this[_0x831c23(0x2c1)]=_0xe260b0[_0x831c23(0x262)]({...this[_0x831c23(0x2aa)][_0x831c23(0x22a)],'windowBits':_0x1a5a11}),this['_inflate'][_0x44e3e7]=this,this[_0x831c23(0x2c1)][_0x1c3c34]=0x0,this[_0x831c23(0x2c1)][_0x438162]=[],this[_0x831c23(0x2c1)]['on'](_0x831c23(0x298),_0x36d1be),this[_0x831c23(0x2c1)]['on']('data',_0x54ccf9);}this[_0x831c23(0x2c1)][_0x2eca44]=_0x38a713,this[_0x831c23(0x2c1)][_0x831c23(0x299)](_0x370b74),_0x5b47a8&&this[_0x831c23(0x2c1)][_0x831c23(0x299)](_0xa9c71d),this[_0x831c23(0x2c1)][_0x831c23(0x1cc)](()=>{const _0x36c7e8=_0x831c23,_0x5bee84=this[_0x36c7e8(0x2c1)][_0x23bb91];if(_0x5bee84){this[_0x36c7e8(0x2c1)][_0x36c7e8(0x184)](),this['_inflate']=null,_0x38a713(_0x5bee84);return;}const _0x251a4d=_0x2cd394[_0x36c7e8(0x1e5)](this[_0x36c7e8(0x2c1)][_0x438162],this['_inflate'][_0x1c3c34]);this[_0x36c7e8(0x2c1)]['_readableState'][_0x36c7e8(0x2ca)]?(this[_0x36c7e8(0x2c1)][_0x36c7e8(0x184)](),this[_0x36c7e8(0x2c1)]=null):(this[_0x36c7e8(0x2c1)][_0x1c3c34]=0x0,this[_0x36c7e8(0x2c1)][_0x438162]=[],_0x5b47a8&&this[_0x36c7e8(0x18d)][_0x3f8164+'_no_context_takeover']&&this['_inflate'][_0x36c7e8(0x1ad)]()),_0x38a713(null,_0x251a4d);});}[_0x1cfa1e(0x1a3)](_0x26c92a,_0x38c1fd,_0x1ccbae){const _0x538604=_0x1cfa1e,_0x59c57f=this[_0x538604(0x178)]?_0x538604(0x1d4):_0x538604(0x1c1);if(!this[_0x538604(0x1cf)]){const _0x1108e4=_0x59c57f+'_max_window_bits',_0x242066=typeof this[_0x538604(0x18d)][_0x1108e4]!=_0x538604(0x244)?_0xe260b0[_0x538604(0x2d3)]:this[_0x538604(0x18d)][_0x1108e4];this[_0x538604(0x1cf)]=_0xe260b0[_0x538604(0x1ee)]({...this[_0x538604(0x2aa)][_0x538604(0x239)],'windowBits':_0x242066}),this[_0x538604(0x1cf)][_0x1c3c34]=0x0,this[_0x538604(0x1cf)][_0x438162]=[],this['_deflate']['on']('data',_0x56b9dc);}this['_deflate'][_0x2eca44]=_0x1ccbae,this[_0x538604(0x1cf)][_0x538604(0x299)](_0x26c92a),this[_0x538604(0x1cf)]['flush'](_0xe260b0['Z_SYNC_FLUSH'],()=>{const _0x2ec346=_0x538604;if(!this['_deflate'])return;let _0x380654=_0x2cd394[_0x2ec346(0x1e5)](this[_0x2ec346(0x1cf)][_0x438162],this['_deflate'][_0x1c3c34]);_0x38c1fd&&(_0x380654=new _0x129dbb(_0x380654[_0x2ec346(0x21a)],_0x380654[_0x2ec346(0x194)],_0x380654[_0x2ec346(0x2da)]-0x4)),this[_0x2ec346(0x1cf)][_0x2eca44]=null,this['_deflate'][_0x1c3c34]=0x0,this['_deflate'][_0x438162]=[],_0x38c1fd&&this[_0x2ec346(0x18d)][_0x59c57f+_0x2ec346(0x1dd)]&&this[_0x2ec346(0x1cf)][_0x2ec346(0x1ad)](),_0x1ccbae(null,_0x380654);});}}ve=_0x3f0838;function _0x56b9dc(_0x1debdb){const _0x13e126=_0x1cfa1e;this[_0x438162][_0x13e126(0x2a8)](_0x1debdb),this[_0x1c3c34]+=_0x1debdb[_0x13e126(0x2da)];}function _0x54ccf9(_0x57223f){const _0x704605=_0x1cfa1e;if(this[_0x1c3c34]+=_0x57223f[_0x704605(0x2da)],this[_0x44e3e7][_0x704605(0x2c2)]<0x1||this[_0x1c3c34]<=this[_0x44e3e7]['_maxPayload']){this[_0x438162]['push'](_0x57223f);return;}this[_0x23bb91]=new RangeError(_0x704605(0x1d2)),this[_0x23bb91][_0x704605(0x2c8)]=_0x704605(0x22d),this[_0x23bb91][_0x37d492]=0x3f1,this[_0x704605(0x17e)](_0x704605(0x220),_0x54ccf9),this[_0x704605(0x1ad)]();}function _0x36d1be(_0x39d019){const _0x13de46=_0x1cfa1e;this[_0x44e3e7][_0x13de46(0x2c1)]=null,_0x39d019[_0x37d492]=0x3ef,this[_0x2eca44](_0x39d019);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x273d3a(0x2e1)](Object[_0x273d3a(0x15f)]({'__proto__':null,'default':Ht},Symbol[_0x273d3a(0x255)],{'value':_0x273d3a(0x29f)})),Yt=ut(zt);var Qe;function ne(){const _0x91b528=_0x273d3a;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x57c70d}=_0x4a0b87,{hasBlob:_0xba50a7}=V(),_0xb02e19=[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 _0x5524e4(_0x1e1bdc){return _0x1e1bdc>=0x3e8&&_0x1e1bdc<=0x3f6&&_0x1e1bdc!==0x3ec&&_0x1e1bdc!==0x3ed&&_0x1e1bdc!==0x3ee||_0x1e1bdc>=0xbb8&&_0x1e1bdc<=0x1387;}function _0x145afc(_0x9ceee5){const _0x5636f6=_0x9ceee5['length'];let _0x4503ae=0x0;for(;_0x4503ae<_0x5636f6;)if((_0x9ceee5[_0x4503ae]&0x80)===0x0)_0x4503ae++;else{if((_0x9ceee5[_0x4503ae]&0xe0)===0xc0){if(_0x4503ae+0x1===_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae]&0xfe)===0xc0)return!0x1;_0x4503ae+=0x2;}else{if((_0x9ceee5[_0x4503ae]&0xf0)===0xe0){if(_0x4503ae+0x2>=_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x2]&0xc0)!==0x80||_0x9ceee5[_0x4503ae]===0xe0&&(_0x9ceee5[_0x4503ae+0x1]&0xe0)===0x80||_0x9ceee5[_0x4503ae]===0xed&&(_0x9ceee5[_0x4503ae+0x1]&0xe0)===0xa0)return!0x1;_0x4503ae+=0x3;}else{if((_0x9ceee5[_0x4503ae]&0xf8)===0xf0){if(_0x4503ae+0x3>=_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x2]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x3]&0xc0)!==0x80||_0x9ceee5[_0x4503ae]===0xf0&&(_0x9ceee5[_0x4503ae+0x1]&0xf0)===0x80||_0x9ceee5[_0x4503ae]===0xf4&&_0x9ceee5[_0x4503ae+0x1]>0x8f||_0x9ceee5[_0x4503ae]>0xf4)return!0x1;_0x4503ae+=0x4;}else return!0x1;}}}return!0x0;}function _0x43cdff(_0x366b1c){const _0x281a9a=_0x1103;return _0xba50a7&&typeof _0x366b1c==_0x281a9a(0x249)&&typeof _0x366b1c[_0x281a9a(0x25c)]=='function'&&typeof _0x366b1c[_0x281a9a(0x215)]==_0x281a9a(0x1c2)&&typeof _0x366b1c[_0x281a9a(0x200)]==_0x281a9a(0x135)&&(_0x366b1c[Symbol[_0x281a9a(0x255)]]===_0x281a9a(0x19c)||_0x366b1c[Symbol[_0x281a9a(0x255)]]===_0x281a9a(0x145));}if(re[_0x91b528(0x276)]={'isBlob':_0x43cdff,'isValidStatusCode':_0x5524e4,'isValidUTF8':_0x145afc,'tokenChars':_0xb02e19},_0x57c70d)re[_0x91b528(0x276)]['isValidUTF8']=function(_0x581892){const _0x353a27=_0x91b528;return _0x581892[_0x353a27(0x2da)]<0x18?_0x145afc(_0x581892):_0x57c70d(_0x581892);};else{if(!process['env'][_0x91b528(0x1f3)])try{const _0x18473f=Yt;re[_0x91b528(0x276)][_0x91b528(0x232)]=function(_0x290929){const _0x24d35e=_0x91b528;return _0x290929[_0x24d35e(0x2da)]<0x20?_0x145afc(_0x290929):_0x18473f(_0x290929);};}catch{}}return re[_0x91b528(0x276)];}var Se,Je;function dt(){const _0x30cc13=_0x273d3a;if(Je)return Se;Je=0x1;const {Writable:_0x25ddf5}=_0x208f40,_0x34f5a9=he(),{BINARY_TYPES:_0x2eac0d,EMPTY_BUFFER:_0x2ea470,kStatusCode:_0x36067e,kWebSocket:_0x502340}=V(),{concat:_0x5d878c,toArrayBuffer:_0x31193f,unmask:_0x438a8f}=ce(),{isValidStatusCode:_0x4f21f9,isValidUTF8:_0x276c5e}=ne(),_0x590185=Buffer[Symbol[_0x30cc13(0x2d2)]],_0xddb2=0x0,_0x30d62f=0x1,_0x52e42b=0x2,_0x13b3c8=0x3,_0x5d28b9=0x4,_0x33ec9e=0x5,_0x3cfda0=0x6;class _0x55b984 extends _0x25ddf5{constructor(_0x5e1e59={}){const _0x3af6fe=_0x30cc13;super(),this[_0x3af6fe(0x1a7)]=_0x5e1e59['allowSynchronousEvents']!==void 0x0?_0x5e1e59[_0x3af6fe(0x1fe)]:!0x0,this[_0x3af6fe(0x216)]=_0x5e1e59[_0x3af6fe(0x2ab)]||_0x2eac0d[0x0],this[_0x3af6fe(0x1b6)]=_0x5e1e59[_0x3af6fe(0x1e9)]||{},this[_0x3af6fe(0x178)]=!!_0x5e1e59['isServer'],this[_0x3af6fe(0x2c2)]=_0x5e1e59[_0x3af6fe(0x157)]|0x0,this[_0x3af6fe(0x1ed)]=!!_0x5e1e59[_0x3af6fe(0x1b5)],this[_0x502340]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3af6fe(0x179)]=[],this[_0x3af6fe(0x177)]=!0x1,this['_payloadLength']=0x0,this[_0x3af6fe(0x19f)]=void 0x0,this[_0x3af6fe(0x281)]=0x0,this['_masked']=!0x1,this[_0x3af6fe(0x1d7)]=!0x1,this[_0x3af6fe(0x21f)]=0x0,this[_0x3af6fe(0x1ce)]=0x0,this[_0x3af6fe(0x160)]=0x0,this[_0x3af6fe(0x21b)]=[],this[_0x3af6fe(0x1c9)]=!0x1,this[_0x3af6fe(0x152)]=!0x1,this[_0x3af6fe(0x24a)]=_0xddb2;}[_0x30cc13(0x28f)](_0x41f182,_0x3d90e2,_0x75d8c4){const _0x33acbb=_0x30cc13;if(this[_0x33acbb(0x21f)]===0x8&&this[_0x33acbb(0x24a)]==_0xddb2)return _0x75d8c4();this[_0x33acbb(0x212)]+=_0x41f182[_0x33acbb(0x2da)],this[_0x33acbb(0x179)][_0x33acbb(0x2a8)](_0x41f182),this['startLoop'](_0x75d8c4);}[_0x30cc13(0x17b)](_0x2777f7){const _0x1ae3be=_0x30cc13;if(this[_0x1ae3be(0x212)]-=_0x2777f7,_0x2777f7===this[_0x1ae3be(0x179)][0x0][_0x1ae3be(0x2da)])return this[_0x1ae3be(0x179)]['shift']();if(_0x2777f7<this[_0x1ae3be(0x179)][0x0][_0x1ae3be(0x2da)]){const _0x19ce39=this[_0x1ae3be(0x179)][0x0];return this['_buffers'][0x0]=new _0x590185(_0x19ce39['buffer'],_0x19ce39['byteOffset']+_0x2777f7,_0x19ce39['length']-_0x2777f7),new _0x590185(_0x19ce39[_0x1ae3be(0x21a)],_0x19ce39['byteOffset'],_0x2777f7);}const _0x394ccd=Buffer[_0x1ae3be(0x130)](_0x2777f7);do{const _0x4d341b=this[_0x1ae3be(0x179)][0x0],_0x2ea43c=_0x394ccd[_0x1ae3be(0x2da)]-_0x2777f7;_0x2777f7>=_0x4d341b[_0x1ae3be(0x2da)]?_0x394ccd['set'](this[_0x1ae3be(0x179)][_0x1ae3be(0x2b6)](),_0x2ea43c):(_0x394ccd[_0x1ae3be(0x282)](new Uint8Array(_0x4d341b[_0x1ae3be(0x21a)],_0x4d341b[_0x1ae3be(0x194)],_0x2777f7),_0x2ea43c),this['_buffers'][0x0]=new _0x590185(_0x4d341b[_0x1ae3be(0x21a)],_0x4d341b[_0x1ae3be(0x194)]+_0x2777f7,_0x4d341b[_0x1ae3be(0x2da)]-_0x2777f7)),_0x2777f7-=_0x4d341b[_0x1ae3be(0x2da)];}while(_0x2777f7>0x0);return _0x394ccd;}[_0x30cc13(0x22e)](_0xc1b7c0){const _0x457e12=_0x30cc13;this[_0x457e12(0x152)]=!0x0;do switch(this[_0x457e12(0x24a)]){case _0xddb2:this[_0x457e12(0x146)](_0xc1b7c0);break;case _0x30d62f:this['getPayloadLength16'](_0xc1b7c0);break;case _0x52e42b:this[_0x457e12(0x18f)](_0xc1b7c0);break;case _0x13b3c8:this['getMask']();break;case _0x5d28b9:this[_0x457e12(0x210)](_0xc1b7c0);break;case _0x33ec9e:case _0x3cfda0:this[_0x457e12(0x152)]=!0x1;return;}while(this[_0x457e12(0x152)]);this[_0x457e12(0x1c9)]||_0xc1b7c0();}[_0x30cc13(0x146)](_0x17863e){const _0x4d83c1=_0x30cc13;if(this[_0x4d83c1(0x212)]<0x2){this['_loop']=!0x1;return;}const _0x11ee89=this['consume'](0x2);if((_0x11ee89[0x0]&0x30)!==0x0){const _0x15ca3e=this['createError'](RangeError,_0x4d83c1(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x17863e(_0x15ca3e);return;}const _0x3dc740=(_0x11ee89[0x0]&0x40)===0x40;if(_0x3dc740&&!this[_0x4d83c1(0x1b6)][_0x34f5a9['extensionName']]){const _0x84a183=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,_0x4d83c1(0x2ae));_0x17863e(_0x84a183);return;}if(this[_0x4d83c1(0x1d7)]=(_0x11ee89[0x0]&0x80)===0x80,this[_0x4d83c1(0x21f)]=_0x11ee89[0x0]&0xf,this[_0x4d83c1(0x284)]=_0x11ee89[0x1]&0x7f,this[_0x4d83c1(0x21f)]===0x0){if(_0x3dc740){const _0x2dc09c=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x17863e(_0x2dc09c);return;}if(!this[_0x4d83c1(0x281)]){const _0x447f27=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ac),!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x447f27);return;}this[_0x4d83c1(0x21f)]=this[_0x4d83c1(0x281)];}else{if(this[_0x4d83c1(0x21f)]===0x1||this['_opcode']===0x2){if(this[_0x4d83c1(0x281)]){const _0x395359=this['createError'](RangeError,_0x4d83c1(0x227)+this['_opcode'],!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x395359);return;}this[_0x4d83c1(0x177)]=_0x3dc740;}else{if(this[_0x4d83c1(0x21f)]>0x7&&this[_0x4d83c1(0x21f)]<0xb){if(!this[_0x4d83c1(0x1d7)]){const _0x3746c0=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x25a),!0x0,0x3ea,_0x4d83c1(0x224));_0x17863e(_0x3746c0);return;}if(_0x3dc740){const _0x4da07b=this['createError'](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,_0x4d83c1(0x2ae));_0x17863e(_0x4da07b);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x3bb77a=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4d83c1(0x284)],!0x0,0x3ea,_0x4d83c1(0x225));_0x17863e(_0x3bb77a);return;}}else{const _0x39f347=this[_0x4d83c1(0x214)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x39f347);return;}}}if(!this[_0x4d83c1(0x1d7)]&&!this[_0x4d83c1(0x281)]&&(this[_0x4d83c1(0x281)]=this[_0x4d83c1(0x21f)]),this[_0x4d83c1(0x1e1)]=(_0x11ee89[0x1]&0x80)===0x80,this[_0x4d83c1(0x178)]){if(!this[_0x4d83c1(0x1e1)]){const _0x542898=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x226),!0x0,0x3ea,_0x4d83c1(0x150));_0x17863e(_0x542898);return;}}else{if(this[_0x4d83c1(0x1e1)]){const _0x3cf207=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1dc),!0x0,0x3ea,_0x4d83c1(0x1b7));_0x17863e(_0x3cf207);return;}}this['_payloadLength']===0x7e?this[_0x4d83c1(0x24a)]=_0x30d62f:this[_0x4d83c1(0x284)]===0x7f?this[_0x4d83c1(0x24a)]=_0x52e42b:this['haveLength'](_0x17863e);}[_0x30cc13(0x1f5)](_0x13334d){const _0xb6d51d=_0x30cc13;if(this['_bufferedBytes']<0x2){this[_0xb6d51d(0x152)]=!0x1;return;}this['_payloadLength']=this[_0xb6d51d(0x17b)](0x2)[_0xb6d51d(0x17f)](0x0),this[_0xb6d51d(0x1d8)](_0x13334d);}[_0x30cc13(0x18f)](_0x3b55d7){const _0x59e345=_0x30cc13;if(this[_0x59e345(0x212)]<0x8){this[_0x59e345(0x152)]=!0x1;return;}const _0x2783c9=this[_0x59e345(0x17b)](0x8),_0x19a683=_0x2783c9[_0x59e345(0x1a2)](0x0);if(_0x19a683>Math['pow'](0x2,0x15)-0x1){const _0x4f70ba=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3b55d7(_0x4f70ba);return;}this[_0x59e345(0x284)]=_0x19a683*Math[_0x59e345(0x182)](0x2,0x20)+_0x2783c9['readUInt32BE'](0x4),this[_0x59e345(0x1d8)](_0x3b55d7);}[_0x30cc13(0x1d8)](_0x1f7906){const _0x3b7d3c=_0x30cc13;if(this[_0x3b7d3c(0x284)]&&this[_0x3b7d3c(0x21f)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x3b7d3c(0x2c2)]&&this['_maxPayload']>0x0)){const _0x5123e3=this[_0x3b7d3c(0x214)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3b7d3c(0x22d));_0x1f7906(_0x5123e3);return;}this[_0x3b7d3c(0x1e1)]?this[_0x3b7d3c(0x24a)]=_0x13b3c8:this['_state']=_0x5d28b9;}[_0x30cc13(0x2df)](){const _0x4e617a=_0x30cc13;if(this[_0x4e617a(0x212)]<0x4){this[_0x4e617a(0x152)]=!0x1;return;}this[_0x4e617a(0x19f)]=this['consume'](0x4),this[_0x4e617a(0x24a)]=_0x5d28b9;}[_0x30cc13(0x210)](_0x5e5f03){const _0x1c7f2b=_0x30cc13;let _0x546c05=_0x2ea470;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x1c7f2b(0x152)]=!0x1;return;}_0x546c05=this[_0x1c7f2b(0x17b)](this['_payloadLength']),this[_0x1c7f2b(0x1e1)]&&(this['_mask'][0x0]|this[_0x1c7f2b(0x19f)][0x1]|this[_0x1c7f2b(0x19f)][0x2]|this['_mask'][0x3])!==0x0&&_0x438a8f(_0x546c05,this[_0x1c7f2b(0x19f)]);}if(this[_0x1c7f2b(0x21f)]>0x7){this['controlMessage'](_0x546c05,_0x5e5f03);return;}if(this[_0x1c7f2b(0x177)]){this[_0x1c7f2b(0x24a)]=_0x33ec9e,this[_0x1c7f2b(0x189)](_0x546c05,_0x5e5f03);return;}_0x546c05[_0x1c7f2b(0x2da)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x1c7f2b(0x21b)][_0x1c7f2b(0x2a8)](_0x546c05)),this[_0x1c7f2b(0x1f8)](_0x5e5f03);}[_0x30cc13(0x189)](_0x304101,_0x5665e3){const _0x101e8c=_0x30cc13;this[_0x101e8c(0x1b6)][_0x34f5a9[_0x101e8c(0x1bc)]][_0x101e8c(0x189)](_0x304101,this['_fin'],(_0x2fda42,_0x10ca5e)=>{const _0x3b2f96=_0x101e8c;if(_0x2fda42)return _0x5665e3(_0x2fda42);if(_0x10ca5e[_0x3b2f96(0x2da)]){if(this[_0x3b2f96(0x160)]+=_0x10ca5e[_0x3b2f96(0x2da)],this['_messageLength']>this[_0x3b2f96(0x2c2)]&&this['_maxPayload']>0x0){const _0x2fab2c=this[_0x3b2f96(0x214)](RangeError,_0x3b2f96(0x1d2),!0x1,0x3f1,_0x3b2f96(0x22d));_0x5665e3(_0x2fab2c);return;}this[_0x3b2f96(0x21b)]['push'](_0x10ca5e);}this[_0x3b2f96(0x1f8)](_0x5665e3),this[_0x3b2f96(0x24a)]===_0xddb2&&this[_0x3b2f96(0x22e)](_0x5665e3);});}[_0x30cc13(0x1f8)](_0x4f63e1){const _0x380625=_0x30cc13;if(!this['_fin']){this[_0x380625(0x24a)]=_0xddb2;return;}const _0x1adefb=this['_messageLength'],_0xa91a54=this[_0x380625(0x21b)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x380625(0x281)]=0x0,this[_0x380625(0x21b)]=[],this[_0x380625(0x21f)]===0x2){let _0x42f2b1;this[_0x380625(0x216)]===_0x380625(0x23e)?_0x42f2b1=_0x5d878c(_0xa91a54,_0x1adefb):this[_0x380625(0x216)]===_0x380625(0x280)?_0x42f2b1=_0x31193f(_0x5d878c(_0xa91a54,_0x1adefb)):this[_0x380625(0x216)]===_0x380625(0x1aa)?_0x42f2b1=new Blob(_0xa91a54):_0x42f2b1=_0xa91a54,this['_allowSynchronousEvents']?(this[_0x380625(0x231)](_0x380625(0x2a4),_0x42f2b1,!0x0),this[_0x380625(0x24a)]=_0xddb2):(this['_state']=_0x3cfda0,setImmediate(()=>{const _0x20bac9=_0x380625;this[_0x20bac9(0x231)](_0x20bac9(0x2a4),_0x42f2b1,!0x0),this[_0x20bac9(0x24a)]=_0xddb2,this[_0x20bac9(0x22e)](_0x4f63e1);}));}else{const _0x254602=_0x5d878c(_0xa91a54,_0x1adefb);if(!this[_0x380625(0x1ed)]&&!_0x276c5e(_0x254602)){const _0x4ba45b=this[_0x380625(0x214)](Error,_0x380625(0x223),!0x0,0x3ef,_0x380625(0x20c));_0x4f63e1(_0x4ba45b);return;}this[_0x380625(0x24a)]===_0x33ec9e||this['_allowSynchronousEvents']?(this['emit'](_0x380625(0x2a4),_0x254602,!0x1),this[_0x380625(0x24a)]=_0xddb2):(this[_0x380625(0x24a)]=_0x3cfda0,setImmediate(()=>{const _0x50dbd7=_0x380625;this[_0x50dbd7(0x231)](_0x50dbd7(0x2a4),_0x254602,!0x1),this['_state']=_0xddb2,this[_0x50dbd7(0x22e)](_0x4f63e1);}));}}[_0x30cc13(0x242)](_0x4a1af5,_0x5b543b){const _0x2eb257=_0x30cc13;if(this['_opcode']===0x8){if(_0x4a1af5[_0x2eb257(0x2da)]===0x0)this['_loop']=!0x1,this[_0x2eb257(0x231)](_0x2eb257(0x230),0x3ed,_0x2ea470),this['end']();else{const _0x55f45b=_0x4a1af5[_0x2eb257(0x17f)](0x0);if(!_0x4f21f9(_0x55f45b)){const _0x3aa9cf=this[_0x2eb257(0x214)](RangeError,_0x2eb257(0x219)+_0x55f45b,!0x0,0x3ea,_0x2eb257(0x1de));_0x5b543b(_0x3aa9cf);return;}const _0x78bb64=new _0x590185(_0x4a1af5[_0x2eb257(0x21a)],_0x4a1af5[_0x2eb257(0x194)]+0x2,_0x4a1af5[_0x2eb257(0x2da)]-0x2);if(!this['_skipUTF8Validation']&&!_0x276c5e(_0x78bb64)){const _0x1d6f4f=this[_0x2eb257(0x214)](Error,_0x2eb257(0x223),!0x0,0x3ef,_0x2eb257(0x20c));_0x5b543b(_0x1d6f4f);return;}this[_0x2eb257(0x152)]=!0x1,this[_0x2eb257(0x231)](_0x2eb257(0x230),_0x55f45b,_0x78bb64),this['end']();}this[_0x2eb257(0x24a)]=_0xddb2;return;}this['_allowSynchronousEvents']?(this[_0x2eb257(0x231)](this[_0x2eb257(0x21f)]===0x9?_0x2eb257(0x252):_0x2eb257(0x2b0),_0x4a1af5),this[_0x2eb257(0x24a)]=_0xddb2):(this[_0x2eb257(0x24a)]=_0x3cfda0,setImmediate(()=>{const _0x399f15=_0x2eb257;this['emit'](this[_0x399f15(0x21f)]===0x9?_0x399f15(0x252):'pong',_0x4a1af5),this['_state']=_0xddb2,this[_0x399f15(0x22e)](_0x5b543b);}));}[_0x30cc13(0x214)](_0x1ede64,_0xfa3f8e,_0x47fb48,_0x2e3a3b,_0x5097f6){const _0x7a517a=_0x30cc13;this[_0x7a517a(0x152)]=!0x1,this[_0x7a517a(0x1c9)]=!0x0;const _0x1ab351=new _0x1ede64(_0x47fb48?_0x7a517a(0x206)+_0xfa3f8e:_0xfa3f8e);return Error[_0x7a517a(0x19b)](_0x1ab351,this['createError']),_0x1ab351[_0x7a517a(0x2c8)]=_0x5097f6,_0x1ab351[_0x36067e]=_0x2e3a3b,_0x1ab351;}}return Se=_0x55b984,Se;}var Ee,et;function _t(){const _0x219cb6=_0x273d3a;if(et)return Ee;et=0x1;const {Duplex:_0xc5eb48}=_0x208f40,{randomFillSync:_0x2d33a4}=_0x326401,_0xb2b8b1=he(),{EMPTY_BUFFER:_0x1a5565,kWebSocket:_0x3235da,NOOP:_0xfa280a}=V(),{isBlob:_0x3ff839,isValidStatusCode:_0x398297}=ne(),{mask:_0x463474,toBuffer:_0x5aa449}=ce(),_0x21b6aa=Symbol(_0x219cb6(0x1c6)),_0x1742fb=Buffer[_0x219cb6(0x2d1)](0x4),_0x3c69de=0x8*0x400;let _0x16acf5,_0x3d8791=_0x3c69de;const _0x20f0ca=0x0,_0x4ecb8b=0x1,_0x305922=0x2;class _0x406957{constructor(_0x2e19dd,_0x3bbb8a,_0x25d31a){const _0x577700=_0x219cb6;this[_0x577700(0x1b6)]=_0x3bbb8a||{},_0x25d31a&&(this[_0x577700(0x28e)]=_0x25d31a,this[_0x577700(0x159)]=Buffer[_0x577700(0x2d1)](0x4)),this['_socket']=_0x2e19dd,this[_0x577700(0x13c)]=!0x0,this[_0x577700(0x1a3)]=!0x1,this[_0x577700(0x212)]=0x0,this[_0x577700(0x248)]=[],this['_state']=_0x20f0ca,this[_0x577700(0x295)]=_0xfa280a,this[_0x3235da]=void 0x0;}static['frame'](_0x5dc47d,_0x10b677){const _0x42ac5d=_0x219cb6;let _0x2531bc,_0x5eb949=!0x1,_0x274d9f=0x2,_0x6674b9=!0x1;_0x10b677[_0x42ac5d(0x161)]&&(_0x2531bc=_0x10b677['maskBuffer']||_0x1742fb,_0x10b677[_0x42ac5d(0x28b)]?_0x10b677[_0x42ac5d(0x28b)](_0x2531bc):(_0x3d8791===_0x3c69de&&(_0x16acf5===void 0x0&&(_0x16acf5=Buffer[_0x42ac5d(0x2d1)](_0x3c69de)),_0x2d33a4(_0x16acf5,0x0,_0x3c69de),_0x3d8791=0x0),_0x2531bc[0x0]=_0x16acf5[_0x3d8791++],_0x2531bc[0x1]=_0x16acf5[_0x3d8791++],_0x2531bc[0x2]=_0x16acf5[_0x3d8791++],_0x2531bc[0x3]=_0x16acf5[_0x3d8791++]),_0x6674b9=(_0x2531bc[0x0]|_0x2531bc[0x1]|_0x2531bc[0x2]|_0x2531bc[0x3])===0x0,_0x274d9f=0x6);let _0x21ab4f;typeof _0x5dc47d==_0x42ac5d(0x1c2)?(!_0x10b677['mask']||_0x6674b9)&&_0x10b677[_0x21b6aa]!==void 0x0?_0x21ab4f=_0x10b677[_0x21b6aa]:(_0x5dc47d=Buffer[_0x42ac5d(0x164)](_0x5dc47d),_0x21ab4f=_0x5dc47d[_0x42ac5d(0x2da)]):(_0x21ab4f=_0x5dc47d[_0x42ac5d(0x2da)],_0x5eb949=_0x10b677[_0x42ac5d(0x161)]&&_0x10b677[_0x42ac5d(0x240)]&&!_0x6674b9);let _0x3c93e8=_0x21ab4f;_0x21ab4f>=0x10000?(_0x274d9f+=0x8,_0x3c93e8=0x7f):_0x21ab4f>0x7d&&(_0x274d9f+=0x2,_0x3c93e8=0x7e);const _0x52f5ca=Buffer[_0x42ac5d(0x130)](_0x5eb949?_0x21ab4f+_0x274d9f:_0x274d9f);return _0x52f5ca[0x0]=_0x10b677['fin']?_0x10b677[_0x42ac5d(0x202)]|0x80:_0x10b677[_0x42ac5d(0x202)],_0x10b677[_0x42ac5d(0x2cd)]&&(_0x52f5ca[0x0]|=0x40),_0x52f5ca[0x1]=_0x3c93e8,_0x3c93e8===0x7e?_0x52f5ca[_0x42ac5d(0x1f7)](_0x21ab4f,0x2):_0x3c93e8===0x7f&&(_0x52f5ca[0x2]=_0x52f5ca[0x3]=0x0,_0x52f5ca['writeUIntBE'](_0x21ab4f,0x4,0x6)),_0x10b677[_0x42ac5d(0x161)]?(_0x52f5ca[0x1]|=0x80,_0x52f5ca[_0x274d9f-0x4]=_0x2531bc[0x0],_0x52f5ca[_0x274d9f-0x3]=_0x2531bc[0x1],_0x52f5ca[_0x274d9f-0x2]=_0x2531bc[0x2],_0x52f5ca[_0x274d9f-0x1]=_0x2531bc[0x3],_0x6674b9?[_0x52f5ca,_0x5dc47d]:_0x5eb949?(_0x463474(_0x5dc47d,_0x2531bc,_0x52f5ca,_0x274d9f,_0x21ab4f),[_0x52f5ca]):(_0x463474(_0x5dc47d,_0x2531bc,_0x5dc47d,0x0,_0x21ab4f),[_0x52f5ca,_0x5dc47d])):[_0x52f5ca,_0x5dc47d];}[_0x219cb6(0x184)](_0x5d3884,_0x24090d,_0x294881,_0x4da0e9){const _0xdd346=_0x219cb6;let _0x596f31;if(_0x5d3884===void 0x0)_0x596f31=_0x1a5565;else{if(typeof _0x5d3884!=_0xdd346(0x244)||!_0x398297(_0x5d3884))throw new TypeError(_0xdd346(0x241));if(_0x24090d===void 0x0||!_0x24090d[_0xdd346(0x2da)])_0x596f31=Buffer[_0xdd346(0x130)](0x2),_0x596f31[_0xdd346(0x1f7)](_0x5d3884,0x0);else{const _0x58cb9c=Buffer[_0xdd346(0x268)](_0x24090d);if(_0x58cb9c>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x596f31=Buffer['allocUnsafe'](0x2+_0x58cb9c),_0x596f31[_0xdd346(0x1f7)](_0x5d3884,0x0),typeof _0x24090d=='string'?_0x596f31[_0xdd346(0x299)](_0x24090d,0x2):_0x596f31[_0xdd346(0x282)](_0x24090d,0x2);}}const _0x26c0e2={[_0x21b6aa]:_0x596f31[_0xdd346(0x2da)],'fin':!0x0,'generateMask':this[_0xdd346(0x28e)],'mask':_0x294881,'maskBuffer':this[_0xdd346(0x159)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x20f0ca?this['enqueue']([this['dispatch'],_0x596f31,!0x1,_0x26c0e2,_0x4da0e9]):this['sendFrame'](_0x406957[_0xdd346(0x2e0)](_0x596f31,_0x26c0e2),_0x4da0e9);}[_0x219cb6(0x252)](_0x209102,_0x2a3094,_0x45cc73){const _0x23b0d5=_0x219cb6;let _0x4a1229,_0x25bdd7;if(typeof _0x209102==_0x23b0d5(0x1c2)?(_0x4a1229=Buffer[_0x23b0d5(0x268)](_0x209102),_0x25bdd7=!0x1):_0x3ff839(_0x209102)?(_0x4a1229=_0x209102[_0x23b0d5(0x16a)],_0x25bdd7=!0x1):(_0x209102=_0x5aa449(_0x209102),_0x4a1229=_0x209102[_0x23b0d5(0x2da)],_0x25bdd7=_0x5aa449[_0x23b0d5(0x240)]),_0x4a1229>0x7d)throw new RangeError(_0x23b0d5(0x137));const _0xbdf346={[_0x21b6aa]:_0x4a1229,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a3094,'maskBuffer':this[_0x23b0d5(0x159)],'opcode':0x9,'readOnly':_0x25bdd7,'rsv1':!0x1};_0x3ff839(_0x209102)?this[_0x23b0d5(0x24a)]!==_0x20f0ca?this['enqueue']([this['getBlobData'],_0x209102,!0x1,_0xbdf346,_0x45cc73]):this[_0x23b0d5(0x20b)](_0x209102,!0x1,_0xbdf346,_0x45cc73):this[_0x23b0d5(0x24a)]!==_0x20f0ca?this[_0x23b0d5(0x2c9)]([this[_0x23b0d5(0x1a6)],_0x209102,!0x1,_0xbdf346,_0x45cc73]):this[_0x23b0d5(0x1f6)](_0x406957['frame'](_0x209102,_0xbdf346),_0x45cc73);}[_0x219cb6(0x2b0)](_0x3b2dc4,_0x2b33e6,_0x275e4e){const _0x5e08e6=_0x219cb6;let _0x123d92,_0x17fff1;if(typeof _0x3b2dc4==_0x5e08e6(0x1c2)?(_0x123d92=Buffer[_0x5e08e6(0x268)](_0x3b2dc4),_0x17fff1=!0x1):_0x3ff839(_0x3b2dc4)?(_0x123d92=_0x3b2dc4['size'],_0x17fff1=!0x1):(_0x3b2dc4=_0x5aa449(_0x3b2dc4),_0x123d92=_0x3b2dc4['length'],_0x17fff1=_0x5aa449[_0x5e08e6(0x240)]),_0x123d92>0x7d)throw new RangeError(_0x5e08e6(0x137));const _0x1316c8={[_0x21b6aa]:_0x123d92,'fin':!0x0,'generateMask':this[_0x5e08e6(0x28e)],'mask':_0x2b33e6,'maskBuffer':this[_0x5e08e6(0x159)],'opcode':0xa,'readOnly':_0x17fff1,'rsv1':!0x1};_0x3ff839(_0x3b2dc4)?this[_0x5e08e6(0x24a)]!==_0x20f0ca?this[_0x5e08e6(0x2c9)]([this[_0x5e08e6(0x20b)],_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e]):this[_0x5e08e6(0x20b)](_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e):this[_0x5e08e6(0x24a)]!==_0x20f0ca?this['enqueue']([this[_0x5e08e6(0x1a6)],_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e]):this['sendFrame'](_0x406957[_0x5e08e6(0x2e0)](_0x3b2dc4,_0x1316c8),_0x275e4e);}[_0x219cb6(0x201)](_0x211f49,_0x22d06c,_0x2ee417){const _0x4bc954=_0x219cb6,_0x4ac09d=this[_0x4bc954(0x1b6)][_0xb2b8b1[_0x4bc954(0x1bc)]];let _0x445c11=_0x22d06c[_0x4bc954(0x2ce)]?0x2:0x1,_0x381be5=_0x22d06c[_0x4bc954(0x1c5)],_0x286b41,_0x382523;typeof _0x211f49=='string'?(_0x286b41=Buffer[_0x4bc954(0x268)](_0x211f49),_0x382523=!0x1):_0x3ff839(_0x211f49)?(_0x286b41=_0x211f49[_0x4bc954(0x16a)],_0x382523=!0x1):(_0x211f49=_0x5aa449(_0x211f49),_0x286b41=_0x211f49[_0x4bc954(0x2da)],_0x382523=_0x5aa449[_0x4bc954(0x240)]),this[_0x4bc954(0x13c)]?(this['_firstFragment']=!0x1,_0x381be5&&_0x4ac09d&&_0x4ac09d['params'][_0x4ac09d[_0x4bc954(0x178)]?_0x4bc954(0x13e):_0x4bc954(0x12d)]&&(_0x381be5=_0x286b41>=_0x4ac09d[_0x4bc954(0x2db)]),this[_0x4bc954(0x1a3)]=_0x381be5):(_0x381be5=!0x1,_0x445c11=0x0),_0x22d06c[_0x4bc954(0x2b9)]&&(this[_0x4bc954(0x13c)]=!0x0);const _0x4074a1={[_0x21b6aa]:_0x286b41,'fin':_0x22d06c[_0x4bc954(0x2b9)],'generateMask':this['_generateMask'],'mask':_0x22d06c[_0x4bc954(0x161)],'maskBuffer':this[_0x4bc954(0x159)],'opcode':_0x445c11,'readOnly':_0x382523,'rsv1':_0x381be5};_0x3ff839(_0x211f49)?this[_0x4bc954(0x24a)]!==_0x20f0ca?this[_0x4bc954(0x2c9)]([this['getBlobData'],_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417]):this[_0x4bc954(0x20b)](_0x211f49,this['_compress'],_0x4074a1,_0x2ee417):this['_state']!==_0x20f0ca?this[_0x4bc954(0x2c9)]([this[_0x4bc954(0x1a6)],_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417]):this[_0x4bc954(0x1a6)](_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417);}[_0x219cb6(0x20b)](_0x37062a,_0x1ff10c,_0x3181cf,_0x4a01d2){const _0x10088c=_0x219cb6;this['_bufferedBytes']+=_0x3181cf[_0x21b6aa],this[_0x10088c(0x24a)]=_0x305922,_0x37062a[_0x10088c(0x25c)]()['then'](_0x47def3=>{const _0x53b72a=_0x10088c;if(this[_0x53b72a(0x25f)]['destroyed']){const _0x597c12=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x53b72a(0x27e)](_0x350633,this,_0x597c12,_0x4a01d2);return;}this[_0x53b72a(0x212)]-=_0x3181cf[_0x21b6aa];const _0x384014=_0x5aa449(_0x47def3);_0x1ff10c?this[_0x53b72a(0x1a6)](_0x384014,_0x1ff10c,_0x3181cf,_0x4a01d2):(this[_0x53b72a(0x24a)]=_0x20f0ca,this['sendFrame'](_0x406957[_0x53b72a(0x2e0)](_0x384014,_0x3181cf),_0x4a01d2),this['dequeue']());})[_0x10088c(0x2b8)](_0x9e198d=>{const _0x3e5507=_0x10088c;process[_0x3e5507(0x27e)](_0x444489,this,_0x9e198d,_0x4a01d2);});}[_0x219cb6(0x1a6)](_0x194e02,_0x1c4f1c,_0x422f18,_0x27d3a8){const _0xedc750=_0x219cb6;if(!_0x1c4f1c){this[_0xedc750(0x1f6)](_0x406957[_0xedc750(0x2e0)](_0x194e02,_0x422f18),_0x27d3a8);return;}const _0x129b4e=this['_extensions'][_0xb2b8b1[_0xedc750(0x1bc)]];this[_0xedc750(0x212)]+=_0x422f18[_0x21b6aa],this[_0xedc750(0x24a)]=_0x4ecb8b,_0x129b4e['compress'](_0x194e02,_0x422f18[_0xedc750(0x2b9)],(_0x164e29,_0x19983b)=>{const _0x314026=_0xedc750;if(this[_0x314026(0x25f)][_0x314026(0x1a9)]){const _0x22463b=new Error(_0x314026(0x247));_0x350633(this,_0x22463b,_0x27d3a8);return;}this['_bufferedBytes']-=_0x422f18[_0x21b6aa],this[_0x314026(0x24a)]=_0x20f0ca,_0x422f18[_0x314026(0x240)]=!0x1,this[_0x314026(0x1f6)](_0x406957[_0x314026(0x2e0)](_0x19983b,_0x422f18),_0x27d3a8),this['dequeue']();});}[_0x219cb6(0x139)](){const _0x59aacd=_0x219cb6;for(;this['_state']===_0x20f0ca&&this[_0x59aacd(0x248)][_0x59aacd(0x2da)];){const _0x427ba5=this[_0x59aacd(0x248)][_0x59aacd(0x2b6)]();this[_0x59aacd(0x212)]-=_0x427ba5[0x3][_0x21b6aa],Reflect[_0x59aacd(0x1cb)](_0x427ba5[0x0],this,_0x427ba5[_0x59aacd(0x16c)](0x1));}}[_0x219cb6(0x2c9)](_0x5c58a6){const _0x4b9a48=_0x219cb6;this[_0x4b9a48(0x212)]+=_0x5c58a6[0x3][_0x21b6aa],this[_0x4b9a48(0x248)][_0x4b9a48(0x2a8)](_0x5c58a6);}[_0x219cb6(0x1f6)](_0x7336a9,_0x590b08){const _0x406b16=_0x219cb6;_0x7336a9[_0x406b16(0x2da)]===0x2?(this[_0x406b16(0x25f)][_0x406b16(0x165)](),this[_0x406b16(0x25f)]['write'](_0x7336a9[0x0]),this[_0x406b16(0x25f)][_0x406b16(0x299)](_0x7336a9[0x1],_0x590b08),this['_socket']['uncork']()):this[_0x406b16(0x25f)][_0x406b16(0x299)](_0x7336a9[0x0],_0x590b08);}}Ee=_0x406957;function _0x350633(_0x34ad40,_0x3bc459,_0x4925f6){const _0x164f6e=_0x219cb6;typeof _0x4925f6==_0x164f6e(0x135)&&_0x4925f6(_0x3bc459);for(let _0x41948e=0x0;_0x41948e<_0x34ad40[_0x164f6e(0x248)][_0x164f6e(0x2da)];_0x41948e++){const _0x37434e=_0x34ad40[_0x164f6e(0x248)][_0x41948e],_0x2ec9e3=_0x37434e[_0x37434e[_0x164f6e(0x2da)]-0x1];typeof _0x2ec9e3=='function'&&_0x2ec9e3(_0x3bc459);}}function _0x444489(_0x3e76e9,_0x52ece2,_0x6a9c8e){_0x350633(_0x3e76e9,_0x52ece2,_0x6a9c8e),_0x3e76e9['onerror'](_0x52ece2);}return Ee;}var xe,tt;function Kt(){const _0x7eae8d=_0x273d3a;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e55d2,kListener:_0x154e5c}=V(),_0x357a9f=Symbol(_0x7eae8d(0x132)),_0x3af936=Symbol(_0x7eae8d(0x186)),_0x1157af=Symbol(_0x7eae8d(0x2ba)),_0x437239=Symbol(_0x7eae8d(0x28c)),_0x530b86=Symbol('kReason'),_0x5969b7=Symbol('kTarget'),_0x23087a=Symbol(_0x7eae8d(0x1d3)),_0x89264c=Symbol(_0x7eae8d(0x2d4));class _0x2d371{constructor(_0x190122){this[_0x5969b7]=null,this[_0x23087a]=_0x190122;}get[_0x7eae8d(0x17c)](){return this[_0x5969b7];}get[_0x7eae8d(0x215)](){return this[_0x23087a];}}Object[_0x7eae8d(0x15f)](_0x2d371[_0x7eae8d(0x29c)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x2d371['prototype'],_0x7eae8d(0x215),{'enumerable':!0x0});class _0x92f7d5 extends _0x2d371{constructor(_0x5c2646,_0x5be8ed={}){const _0x431250=_0x7eae8d;super(_0x5c2646),this[_0x357a9f]=_0x5be8ed[_0x431250(0x2c8)]===void 0x0?0x0:_0x5be8ed[_0x431250(0x2c8)],this[_0x530b86]=_0x5be8ed[_0x431250(0x1bd)]===void 0x0?'':_0x5be8ed['reason'],this[_0x89264c]=_0x5be8ed[_0x431250(0x228)]===void 0x0?!0x1:_0x5be8ed[_0x431250(0x228)];}get[_0x7eae8d(0x2c8)](){return this[_0x357a9f];}get['reason'](){return this[_0x530b86];}get['wasClean'](){return this[_0x89264c];}}Object[_0x7eae8d(0x15f)](_0x92f7d5['prototype'],'code',{'enumerable':!0x0}),Object[_0x7eae8d(0x15f)](_0x92f7d5['prototype'],_0x7eae8d(0x1bd),{'enumerable':!0x0}),Object['defineProperty'](_0x92f7d5[_0x7eae8d(0x29c)],_0x7eae8d(0x228),{'enumerable':!0x0});class _0x26cef5 extends _0x2d371{constructor(_0x1dd731,_0x3717c2={}){const _0x1591fd=_0x7eae8d;super(_0x1dd731),this[_0x1157af]=_0x3717c2[_0x1591fd(0x298)]===void 0x0?null:_0x3717c2[_0x1591fd(0x298)],this[_0x437239]=_0x3717c2['message']===void 0x0?'':_0x3717c2[_0x1591fd(0x2a4)];}get[_0x7eae8d(0x298)](){return this[_0x1157af];}get['message'](){return this[_0x437239];}}Object[_0x7eae8d(0x15f)](_0x26cef5[_0x7eae8d(0x29c)],_0x7eae8d(0x298),{'enumerable':!0x0}),Object[_0x7eae8d(0x15f)](_0x26cef5['prototype'],_0x7eae8d(0x2a4),{'enumerable':!0x0});class _0x365545 extends _0x2d371{constructor(_0xa0ce5b,_0x3dec7e={}){const _0x97ef16=_0x7eae8d;super(_0xa0ce5b),this[_0x3af936]=_0x3dec7e[_0x97ef16(0x220)]===void 0x0?null:_0x3dec7e['data'];}get['data'](){return this[_0x3af936];}}Object[_0x7eae8d(0x15f)](_0x365545[_0x7eae8d(0x29c)],_0x7eae8d(0x220),{'enumerable':!0x0}),xe={'CloseEvent':_0x92f7d5,'ErrorEvent':_0x26cef5,'Event':_0x2d371,'EventTarget':{'addEventListener'(_0x4eae6f,_0x1a04e9,_0x2a37df={}){const _0x26df54=_0x7eae8d;for(const _0x3c3f5a of this[_0x26df54(0x26b)](_0x4eae6f))if(!_0x2a37df[_0x2e55d2]&&_0x3c3f5a[_0x154e5c]===_0x1a04e9&&!_0x3c3f5a[_0x2e55d2])return;let _0x5e81d0;if(_0x4eae6f===_0x26df54(0x2a4))_0x5e81d0=function(_0x5bf7b6,_0xaa0829){const _0x418099=_0x26df54,_0x701fc6=new _0x365545(_0x418099(0x2a4),{'data':_0xaa0829?_0x5bf7b6:_0x5bf7b6[_0x418099(0x15d)]()});_0x701fc6[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x701fc6);};else{if(_0x4eae6f==='close')_0x5e81d0=function(_0x4d0be2,_0x397f6f){const _0x17f499=_0x26df54,_0x340711=new _0x92f7d5(_0x17f499(0x184),{'code':_0x4d0be2,'reason':_0x397f6f['toString'](),'wasClean':this[_0x17f499(0x2bc)]&&this['_closeFrameSent']});_0x340711[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x340711);};else{if(_0x4eae6f==='error')_0x5e81d0=function(_0x4ec827){const _0x186cd0=_0x26df54,_0x59e07d=new _0x26cef5(_0x186cd0(0x298),{'error':_0x4ec827,'message':_0x4ec827[_0x186cd0(0x2a4)]});_0x59e07d[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x59e07d);};else{if(_0x4eae6f===_0x26df54(0x144))_0x5e81d0=function(){const _0x4ee5ec=_0x26df54,_0x38f257=new _0x2d371(_0x4ee5ec(0x144));_0x38f257[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x38f257);};else return;}}}_0x5e81d0[_0x2e55d2]=!!_0x2a37df[_0x2e55d2],_0x5e81d0[_0x154e5c]=_0x1a04e9,_0x2a37df[_0x26df54(0x1eb)]?this[_0x26df54(0x1eb)](_0x4eae6f,_0x5e81d0):this['on'](_0x4eae6f,_0x5e81d0);},'removeEventListener'(_0x4ebb00,_0x12f6bb){const _0x5d7ea5=_0x7eae8d;for(const _0x6fa24e of this[_0x5d7ea5(0x26b)](_0x4ebb00))if(_0x6fa24e[_0x154e5c]===_0x12f6bb&&!_0x6fa24e[_0x2e55d2]){this[_0x5d7ea5(0x17e)](_0x4ebb00,_0x6fa24e);break;}}},'MessageEvent':_0x365545};function _0x22a7db(_0xd1d184,_0x95440f,_0x15903e){const _0x3f8ec9=_0x7eae8d;typeof _0xd1d184==_0x3f8ec9(0x249)&&_0xd1d184['handleEvent']?_0xd1d184[_0x3f8ec9(0x234)]['call'](_0xd1d184,_0x15903e):_0xd1d184[_0x3f8ec9(0x23b)](_0x95440f,_0x15903e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3ea16f}=ne();function _0x407e9b(_0x1bdd63,_0xf9fd0d,_0x8ed03a){const _0x3dfd88=_0x1103;_0x1bdd63[_0xf9fd0d]===void 0x0?_0x1bdd63[_0xf9fd0d]=[_0x8ed03a]:_0x1bdd63[_0xf9fd0d][_0x3dfd88(0x2a8)](_0x8ed03a);}function _0x1d27a6(_0xeb7127){const _0x103611=_0x1103,_0x585d41=Object[_0x103611(0x12e)](null);let _0x39da19=Object['create'](null),_0x4f9149=!0x1,_0x3a2a43=!0x1,_0xeb6e62=!0x1,_0x300a0a,_0x4ede9f,_0x34cb7d=-0x1,_0x59603f=-0x1,_0x201026=-0x1,_0x155db9=0x0;for(;_0x155db9<_0xeb7127[_0x103611(0x2da)];_0x155db9++)if(_0x59603f=_0xeb7127[_0x103611(0x163)](_0x155db9),_0x300a0a===void 0x0){if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x155db9!==0x0&&(_0x59603f===0x20||_0x59603f===0x9))_0x201026===-0x1&&_0x34cb7d!==-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9);const _0x56d075=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);_0x59603f===0x2c?(_0x407e9b(_0x585d41,_0x56d075,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null)):_0x300a0a=_0x56d075,_0x34cb7d=_0x201026=-0x1;}else throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);}}}else{if(_0x4ede9f===void 0x0){if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x59603f===0x20||_0x59603f===0x9)_0x201026===-0x1&&_0x34cb7d!==-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9),_0x407e9b(_0x39da19,_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026),!0x0),_0x59603f===0x2c&&(_0x407e9b(_0x585d41,_0x300a0a,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null),_0x300a0a=void 0x0),_0x34cb7d=_0x201026=-0x1;}else{if(_0x59603f===0x3d&&_0x34cb7d!==-0x1&&_0x201026===-0x1)_0x4ede9f=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x155db9),_0x34cb7d=_0x201026=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);}}}}else{if(_0x3a2a43){if(_0x3ea16f[_0x59603f]!==0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x34cb7d===-0x1?_0x34cb7d=_0x155db9:_0x4f9149||(_0x4f9149=!0x0),_0x3a2a43=!0x1;}else{if(_0xeb6e62){if(_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x59603f===0x22&&_0x34cb7d!==-0x1)_0xeb6e62=!0x1,_0x201026=_0x155db9;else{if(_0x59603f===0x5c)_0x3a2a43=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);}}}else{if(_0x59603f===0x22&&_0xeb7127[_0x103611(0x163)](_0x155db9-0x1)===0x3d)_0xeb6e62=!0x0;else{if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x34cb7d!==-0x1&&(_0x59603f===0x20||_0x59603f===0x9))_0x201026===-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9);let _0x21a2f8=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);_0x4f9149&&(_0x21a2f8=_0x21a2f8[_0x103611(0x2cc)](/\\/g,''),_0x4f9149=!0x1),_0x407e9b(_0x39da19,_0x4ede9f,_0x21a2f8),_0x59603f===0x2c&&(_0x407e9b(_0x585d41,_0x300a0a,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null),_0x300a0a=void 0x0),_0x4ede9f=void 0x0,_0x34cb7d=_0x201026=-0x1;}else throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);}}}}}}}if(_0x34cb7d===-0x1||_0xeb6e62||_0x59603f===0x20||_0x59603f===0x9)throw new SyntaxError(_0x103611(0x2bd));_0x201026===-0x1&&(_0x201026=_0x155db9);const _0xda5530=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);return _0x300a0a===void 0x0?_0x407e9b(_0x585d41,_0xda5530,_0x39da19):(_0x4ede9f===void 0x0?_0x407e9b(_0x39da19,_0xda5530,!0x0):_0x4f9149?_0x407e9b(_0x39da19,_0x4ede9f,_0xda5530['replace'](/\\/g,'')):_0x407e9b(_0x39da19,_0x4ede9f,_0xda5530),_0x407e9b(_0x585d41,_0x300a0a,_0x39da19)),_0x585d41;}function _0xb036c9(_0x487c2f){const _0x2bd3dc=_0x1103;return Object[_0x2bd3dc(0x2c3)](_0x487c2f)[_0x2bd3dc(0x1fa)](_0x2d8763=>{const _0xb866d6=_0x2bd3dc;let _0x4854a7=_0x487c2f[_0x2d8763];return Array[_0xb866d6(0x1ca)](_0x4854a7)||(_0x4854a7=[_0x4854a7]),_0x4854a7[_0xb866d6(0x1fa)](_0xda8800=>[_0x2d8763][_0xb866d6(0x1e5)](Object[_0xb866d6(0x2c3)](_0xda8800)['map'](_0x59f830=>{const _0x1c5a3b=_0xb866d6;let _0x14bf9a=_0xda8800[_0x59f830];return Array['isArray'](_0x14bf9a)||(_0x14bf9a=[_0x14bf9a]),_0x14bf9a[_0x1c5a3b(0x1fa)](_0x5a79dc=>_0x5a79dc===!0x0?_0x59f830:_0x59f830+'='+_0x5a79dc)['join'](';\x20');}))[_0xb866d6(0x287)](';\x20'))[_0xb866d6(0x287)](',\x20');})[_0x2bd3dc(0x287)](',\x20');}return be={'format':_0xb036c9,'parse':_0x1d27a6},be;}var we,st;function Ie(){const _0x38c155=_0x273d3a;if(st)return we;st=0x1;const _0x1a6119=_0x5ecb1c,_0x51198c=_0x1fc80e,_0x428096=_0x437340,_0x446f17=_0x26995e,_0x2ccc2d=_0x1627d6,{randomBytes:_0x59cf90,createHash:_0x2e5404}=_0x326401,{Duplex:_0x25171,Readable:_0x430ea0}=_0x208f40,{URL:_0x3b4322}=_0x214c0a,_0xdccd6a=he(),_0x26e20c=dt(),_0x501f25=_t(),{isBlob:_0x9413dd}=ne(),{BINARY_TYPES:_0x491992,EMPTY_BUFFER:_0x3c322c,GUID:_0x36eca8,kForOnEventAttribute:_0x16e2a2,kListener:_0x4a54ac,kStatusCode:_0x403cd9,kWebSocket:_0x470e7d,NOOP:_0xd41bd5}=V(),{EventTarget:{addEventListener:_0x2d4500,removeEventListener:_0x2f1172}}=Kt(),{format:_0x498e4e,parse:_0x52a565}=pt(),{toBuffer:_0x3cb5b7}=ce(),_0x268aaf=0x1e*0x3e8,_0x283a3f=Symbol(_0x38c155(0x14e)),_0x1297cf=[0x8,0xd],_0x5b28d2=[_0x38c155(0x258),'OPEN',_0x38c155(0x205),'CLOSED'],_0x4ee116=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x786afb extends _0x1a6119{constructor(_0x624484,_0xd37a32,_0x37e998){const _0x3148a4=_0x38c155;super(),this[_0x3148a4(0x216)]=_0x491992[0x0],this[_0x3148a4(0x256)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x3148a4(0x24b)]=!0x1,this[_0x3148a4(0x2d8)]=_0x3c322c,this[_0x3148a4(0x1ef)]=null,this['_errorEmitted']=!0x1,this[_0x3148a4(0x1b6)]={},this[_0x3148a4(0x1a8)]=!0x1,this[_0x3148a4(0x29b)]='',this[_0x3148a4(0x1d1)]=_0x786afb[_0x3148a4(0x258)],this[_0x3148a4(0x2cb)]=null,this[_0x3148a4(0x251)]=null,this[_0x3148a4(0x25f)]=null,_0x624484!==null?(this[_0x3148a4(0x209)]=0x0,this[_0x3148a4(0x178)]=!0x1,this[_0x3148a4(0x20f)]=0x0,_0xd37a32===void 0x0?_0xd37a32=[]:Array[_0x3148a4(0x1ca)](_0xd37a32)||(typeof _0xd37a32==_0x3148a4(0x249)&&_0xd37a32!==null?(_0x37e998=_0xd37a32,_0xd37a32=[]):_0xd37a32=[_0xd37a32]),_0x98a70f(this,_0x624484,_0xd37a32,_0x37e998)):(this[_0x3148a4(0x267)]=_0x37e998[_0x3148a4(0x19a)],this[_0x3148a4(0x178)]=!0x0);}get[_0x38c155(0x2ab)](){const _0x1fee78=_0x38c155;return this[_0x1fee78(0x216)];}set[_0x38c155(0x2ab)](_0x5114eb){const _0x1bb64f=_0x38c155;_0x491992[_0x1bb64f(0x149)](_0x5114eb)&&(this[_0x1bb64f(0x216)]=_0x5114eb,this[_0x1bb64f(0x2cb)]&&(this[_0x1bb64f(0x2cb)]['_binaryType']=_0x5114eb));}get[_0x38c155(0x29e)](){const _0x13cf5c=_0x38c155;return this[_0x13cf5c(0x25f)]?this['_socket'][_0x13cf5c(0x22b)]['length']+this[_0x13cf5c(0x251)][_0x13cf5c(0x212)]:this['_bufferedAmount'];}get['extensions'](){const _0xc68d30=_0x38c155;return Object[_0xc68d30(0x2c3)](this[_0xc68d30(0x1b6)])[_0xc68d30(0x287)]();}get['isPaused'](){const _0x49d917=_0x38c155;return this[_0x49d917(0x1a8)];}get[_0x38c155(0x2d6)](){return null;}get[_0x38c155(0x295)](){return null;}get[_0x38c155(0x211)](){return null;}get[_0x38c155(0x26e)](){return null;}get[_0x38c155(0x237)](){const _0x509205=_0x38c155;return this[_0x509205(0x29b)];}get[_0x38c155(0x260)](){return this['_readyState'];}get[_0x38c155(0x250)](){return this['_url'];}[_0x38c155(0x169)](_0x58df1e,_0x965de5,_0x5035eb){const _0x18cdbc=_0x38c155,_0x158ad5=new _0x26e20c({'allowSynchronousEvents':_0x5035eb[_0x18cdbc(0x1fe)],'binaryType':this['binaryType'],'extensions':this[_0x18cdbc(0x1b6)],'isServer':this[_0x18cdbc(0x178)],'maxPayload':_0x5035eb[_0x18cdbc(0x157)],'skipUTF8Validation':_0x5035eb['skipUTF8Validation']}),_0x138a5f=new _0x501f25(_0x58df1e,this[_0x18cdbc(0x1b6)],_0x5035eb[_0x18cdbc(0x28b)]);this['_receiver']=_0x158ad5,this[_0x18cdbc(0x251)]=_0x138a5f,this[_0x18cdbc(0x25f)]=_0x58df1e,_0x158ad5[_0x470e7d]=this,_0x138a5f[_0x470e7d]=this,_0x58df1e[_0x470e7d]=this,_0x158ad5['on'](_0x18cdbc(0x230),_0x3abd79),_0x158ad5['on'](_0x18cdbc(0x23d),_0x5d2145),_0x158ad5['on'](_0x18cdbc(0x298),_0x3fd2a6),_0x158ad5['on'](_0x18cdbc(0x2a4),_0x156339),_0x158ad5['on'](_0x18cdbc(0x252),_0x264eb1),_0x158ad5['on'](_0x18cdbc(0x2b0),_0x3f9b48),_0x138a5f[_0x18cdbc(0x295)]=_0x65920e,_0x58df1e[_0x18cdbc(0x172)]&&_0x58df1e[_0x18cdbc(0x172)](0x0),_0x58df1e[_0x18cdbc(0x13d)]&&_0x58df1e[_0x18cdbc(0x13d)](),_0x965de5[_0x18cdbc(0x2da)]>0x0&&_0x58df1e[_0x18cdbc(0x2d5)](_0x965de5),_0x58df1e['on'](_0x18cdbc(0x184),_0x4d96fc),_0x58df1e['on'](_0x18cdbc(0x220),_0x30dbdd),_0x58df1e['on'](_0x18cdbc(0x188),_0x4d5fb5),_0x58df1e['on'](_0x18cdbc(0x298),_0x15557f),this['_readyState']=_0x786afb[_0x18cdbc(0x1e2)],this[_0x18cdbc(0x231)](_0x18cdbc(0x144));}[_0x38c155(0x2be)](){const _0x2d2f65=_0x38c155;if(!this['_socket']){this[_0x2d2f65(0x1d1)]=_0x786afb['CLOSED'],this['emit'](_0x2d2f65(0x184),this[_0x2d2f65(0x256)],this[_0x2d2f65(0x2d8)]);return;}this[_0x2d2f65(0x1b6)][_0xdccd6a[_0x2d2f65(0x1bc)]]&&this[_0x2d2f65(0x1b6)][_0xdccd6a[_0x2d2f65(0x1bc)]]['cleanup'](),this[_0x2d2f65(0x2cb)]['removeAllListeners'](),this[_0x2d2f65(0x1d1)]=_0x786afb[_0x2d2f65(0x2b1)],this[_0x2d2f65(0x231)]('close',this['_closeCode'],this[_0x2d2f65(0x2d8)]);}[_0x38c155(0x184)](_0x4dda04,_0x2ceca2){const _0x3d224c=_0x38c155;if(this[_0x3d224c(0x260)]!==_0x786afb[_0x3d224c(0x2b1)]){if(this[_0x3d224c(0x260)]===_0x786afb[_0x3d224c(0x258)]){_0x58c53d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3d224c(0x260)]===_0x786afb[_0x3d224c(0x205)]){this[_0x3d224c(0x24b)]&&(this[_0x3d224c(0x2bc)]||this[_0x3d224c(0x2cb)][_0x3d224c(0x22b)][_0x3d224c(0x2a6)])&&this[_0x3d224c(0x25f)][_0x3d224c(0x188)]();return;}this[_0x3d224c(0x1d1)]=_0x786afb['CLOSING'],this[_0x3d224c(0x251)][_0x3d224c(0x184)](_0x4dda04,_0x2ceca2,!this[_0x3d224c(0x178)],_0x1abe76=>{const _0xf3f26d=_0x3d224c;_0x1abe76||(this[_0xf3f26d(0x24b)]=!0x0,(this[_0xf3f26d(0x2bc)]||this[_0xf3f26d(0x2cb)][_0xf3f26d(0x22b)]['errorEmitted'])&&this[_0xf3f26d(0x25f)][_0xf3f26d(0x188)]());}),_0x2a33cd(this);}}[_0x38c155(0x16e)](){const _0x23b7d8=_0x38c155;this[_0x23b7d8(0x260)]===_0x786afb[_0x23b7d8(0x258)]||this[_0x23b7d8(0x260)]===_0x786afb[_0x23b7d8(0x2b1)]||(this[_0x23b7d8(0x1a8)]=!0x0,this[_0x23b7d8(0x25f)][_0x23b7d8(0x16e)]());}['ping'](_0xd6a0ed,_0x42ab9a,_0x396736){const _0x9db0d9=_0x38c155;if(this[_0x9db0d9(0x260)]===_0x786afb[_0x9db0d9(0x258)])throw new Error(_0x9db0d9(0x18c));if(typeof _0xd6a0ed==_0x9db0d9(0x135)?(_0x396736=_0xd6a0ed,_0xd6a0ed=_0x42ab9a=void 0x0):typeof _0x42ab9a==_0x9db0d9(0x135)&&(_0x396736=_0x42ab9a,_0x42ab9a=void 0x0),typeof _0xd6a0ed=='number'&&(_0xd6a0ed=_0xd6a0ed[_0x9db0d9(0x15d)]()),this[_0x9db0d9(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0xd6a0ed,_0x396736);return;}_0x42ab9a===void 0x0&&(_0x42ab9a=!this[_0x9db0d9(0x178)]),this[_0x9db0d9(0x251)]['ping'](_0xd6a0ed||_0x3c322c,_0x42ab9a,_0x396736);}[_0x38c155(0x2b0)](_0x5781de,_0x4889c4,_0x99498e){const _0x37724b=_0x38c155;if(this['readyState']===_0x786afb['CONNECTING'])throw new Error(_0x37724b(0x18c));if(typeof _0x5781de=='function'?(_0x99498e=_0x5781de,_0x5781de=_0x4889c4=void 0x0):typeof _0x4889c4==_0x37724b(0x135)&&(_0x99498e=_0x4889c4,_0x4889c4=void 0x0),typeof _0x5781de==_0x37724b(0x244)&&(_0x5781de=_0x5781de[_0x37724b(0x15d)]()),this[_0x37724b(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0x5781de,_0x99498e);return;}_0x4889c4===void 0x0&&(_0x4889c4=!this[_0x37724b(0x178)]),this[_0x37724b(0x251)][_0x37724b(0x2b0)](_0x5781de||_0x3c322c,_0x4889c4,_0x99498e);}[_0x38c155(0x25b)](){const _0x2cfa67=_0x38c155;this[_0x2cfa67(0x260)]===_0x786afb[_0x2cfa67(0x258)]||this[_0x2cfa67(0x260)]===_0x786afb[_0x2cfa67(0x2b1)]||(this[_0x2cfa67(0x1a8)]=!0x1,this[_0x2cfa67(0x2cb)][_0x2cfa67(0x22b)]['needDrain']||this['_socket'][_0x2cfa67(0x25b)]());}[_0x38c155(0x201)](_0x309b67,_0x132ad4,_0x16d1f3){const _0x3e0078=_0x38c155;if(this[_0x3e0078(0x260)]===_0x786afb[_0x3e0078(0x258)])throw new Error(_0x3e0078(0x18c));if(typeof _0x132ad4==_0x3e0078(0x135)&&(_0x16d1f3=_0x132ad4,_0x132ad4={}),typeof _0x309b67==_0x3e0078(0x244)&&(_0x309b67=_0x309b67['toString']()),this[_0x3e0078(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0x309b67,_0x16d1f3);return;}const _0x26fb5a={'binary':typeof _0x309b67!=_0x3e0078(0x1c2),'mask':!this[_0x3e0078(0x178)],'compress':!0x0,'fin':!0x0,..._0x132ad4};this[_0x3e0078(0x1b6)][_0xdccd6a['extensionName']]||(_0x26fb5a[_0x3e0078(0x1c5)]=!0x1),this['_sender']['send'](_0x309b67||_0x3c322c,_0x26fb5a,_0x16d1f3);}[_0x38c155(0x222)](){const _0x2f0ef6=_0x38c155;if(this[_0x2f0ef6(0x260)]!==_0x786afb[_0x2f0ef6(0x2b1)]){if(this[_0x2f0ef6(0x260)]===_0x786afb[_0x2f0ef6(0x258)]){_0x58c53d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x2f0ef6(0x1d1)]=_0x786afb['CLOSING'],this['_socket'][_0x2f0ef6(0x277)]());}}}Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x258),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x258))}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],'CONNECTING',{'enumerable':!0x0,'value':_0x5b28d2['indexOf'](_0x38c155(0x258))}),Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x1e2),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x1e2))}),Object['defineProperty'](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x1e2),{'enumerable':!0x0,'value':_0x5b28d2['indexOf']('OPEN')}),Object['defineProperty'](_0x786afb,_0x38c155(0x205),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x205))}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x205),{'enumerable':!0x0,'value':_0x5b28d2['indexOf'](_0x38c155(0x205))}),Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x2b1),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)]('CLOSED')}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x2b1),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x2b1))}),[_0x38c155(0x2ab),_0x38c155(0x29e),'extensions',_0x38c155(0x270),'protocol',_0x38c155(0x260),_0x38c155(0x250)][_0x38c155(0x290)](_0x341332=>{const _0x46bb14=_0x38c155;Object[_0x46bb14(0x15f)](_0x786afb[_0x46bb14(0x29c)],_0x341332,{'enumerable':!0x0});}),[_0x38c155(0x144),'error',_0x38c155(0x184),_0x38c155(0x2a4)][_0x38c155(0x290)](_0x21e1e3=>{Object['defineProperty'](_0x786afb['prototype'],'on'+_0x21e1e3,{'enumerable':!0x0,'get'(){const _0x10f97c=_0x1103;for(const _0x43ac9f of this[_0x10f97c(0x26b)](_0x21e1e3))if(_0x43ac9f[_0x16e2a2])return _0x43ac9f[_0x4a54ac];return null;},'set'(_0x489bde){const _0x144d14=_0x1103;for(const _0x7579a4 of this['listeners'](_0x21e1e3))if(_0x7579a4[_0x16e2a2]){this[_0x144d14(0x17e)](_0x21e1e3,_0x7579a4);break;}typeof _0x489bde==_0x144d14(0x135)&&this['addEventListener'](_0x21e1e3,_0x489bde,{[_0x16e2a2]:!0x0});}});}),_0x786afb['prototype'][_0x38c155(0x180)]=_0x2d4500,_0x786afb[_0x38c155(0x29c)][_0x38c155(0x2a2)]=_0x2f1172,we=_0x786afb;function _0x98a70f(_0x19991c,_0x4eddbf,_0x584981,_0x253ef6){const _0x194c2b=_0x38c155,_0x5776ad={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1297cf[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x253ef6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x194c2b(0x158),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x19991c[_0x194c2b(0x267)]=_0x5776ad[_0x194c2b(0x19a)],!_0x1297cf[_0x194c2b(0x149)](_0x5776ad[_0x194c2b(0x289)]))throw new RangeError(_0x194c2b(0x297)+_0x5776ad[_0x194c2b(0x289)]+'\x20(supported\x20versions:\x20'+_0x1297cf['join'](',\x20')+')');let _0x19c133;if(_0x4eddbf instanceof _0x3b4322)_0x19c133=_0x4eddbf;else try{_0x19c133=new _0x3b4322(_0x4eddbf);}catch{throw new SyntaxError(_0x194c2b(0x1d9)+_0x4eddbf);}_0x19c133[_0x194c2b(0x237)]==='http:'?_0x19c133[_0x194c2b(0x237)]=_0x194c2b(0x283):_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x2b7)&&(_0x19c133[_0x194c2b(0x237)]=_0x194c2b(0x190)),_0x19991c[_0x194c2b(0x26a)]=_0x19c133['href'];const _0x382037=_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x190),_0x358d13=_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x1f9);let _0x58250e;if(_0x19c133[_0x194c2b(0x237)]!==_0x194c2b(0x283)&&!_0x382037&&!_0x358d13?_0x58250e=_0x194c2b(0x263):_0x358d13&&!_0x19c133[_0x194c2b(0x269)]?_0x58250e=_0x194c2b(0x238):_0x19c133['hash']&&(_0x58250e=_0x194c2b(0x1c7)),_0x58250e){const _0x2d9023=new SyntaxError(_0x58250e);if(_0x19991c[_0x194c2b(0x20f)]===0x0)throw _0x2d9023;_0x15e3b3(_0x19991c,_0x2d9023);return;}const _0x358628=_0x382037?0x1bb:0x50,_0x4e8777=_0x59cf90(0x10)[_0x194c2b(0x15d)]('base64'),_0x5c95c1=_0x382037?_0x51198c[_0x194c2b(0x1d0)]:_0x428096['request'],_0x45c610=new Set();let _0x198a4b;if(_0x5776ad[_0x194c2b(0x15a)]=_0x5776ad[_0x194c2b(0x15a)]||(_0x382037?_0xd9438f:_0x1402fd),_0x5776ad[_0x194c2b(0x261)]=_0x5776ad[_0x194c2b(0x261)]||_0x358628,_0x5776ad['port']=_0x19c133[_0x194c2b(0x27c)]||_0x358628,_0x5776ad[_0x194c2b(0x1e8)]=_0x19c133[_0x194c2b(0x143)][_0x194c2b(0x1d6)]('[')?_0x19c133[_0x194c2b(0x143)][_0x194c2b(0x16c)](0x1,-0x1):_0x19c133['hostname'],_0x5776ad[_0x194c2b(0x1fc)]={..._0x5776ad[_0x194c2b(0x1fc)],'Sec-WebSocket-Version':_0x5776ad[_0x194c2b(0x289)],'Sec-WebSocket-Key':_0x4e8777,'Connection':_0x194c2b(0x1b4),'Upgrade':_0x194c2b(0x24f)},_0x5776ad[_0x194c2b(0x151)]=_0x19c133[_0x194c2b(0x269)]+_0x19c133[_0x194c2b(0x2cf)],_0x5776ad['timeout']=_0x5776ad[_0x194c2b(0x1cd)],_0x5776ad[_0x194c2b(0x2b3)]&&(_0x198a4b=new _0xdccd6a(_0x5776ad[_0x194c2b(0x2b3)]!==!0x0?_0x5776ad['perMessageDeflate']:{},!0x1,_0x5776ad[_0x194c2b(0x157)]),_0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x2c0)]=_0x498e4e({[_0xdccd6a[_0x194c2b(0x1bc)]]:_0x198a4b[_0x194c2b(0x1e0)]()})),_0x584981['length']){for(const _0x22a969 of _0x584981){if(typeof _0x22a969!=_0x194c2b(0x1c2)||!_0x4ee116[_0x194c2b(0x2a9)](_0x22a969)||_0x45c610['has'](_0x22a969))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x45c610[_0x194c2b(0x286)](_0x22a969);}_0x5776ad['headers'][_0x194c2b(0x1fb)]=_0x584981[_0x194c2b(0x287)](',');}if(_0x5776ad['origin']&&(_0x5776ad[_0x194c2b(0x289)]<0xd?_0x5776ad['headers']['Sec-WebSocket-Origin']=_0x5776ad[_0x194c2b(0x2af)]:_0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x24c)]=_0x5776ad[_0x194c2b(0x2af)]),(_0x19c133['username']||_0x19c133[_0x194c2b(0x264)])&&(_0x5776ad['auth']=_0x19c133[_0x194c2b(0x1e7)]+':'+_0x19c133['password']),_0x358d13){const _0x171c6b=_0x5776ad['path'][_0x194c2b(0x16f)](':');_0x5776ad['socketPath']=_0x171c6b[0x0],_0x5776ad[_0x194c2b(0x151)]=_0x171c6b[0x1];}let _0x4e59f9;if(_0x5776ad[_0x194c2b(0x272)]){if(_0x19991c[_0x194c2b(0x20f)]===0x0){_0x19991c[_0x194c2b(0x2c7)]=_0x358d13,_0x19991c[_0x194c2b(0x26d)]=_0x382037,_0x19991c[_0x194c2b(0x288)]=_0x358d13?_0x5776ad[_0x194c2b(0x18b)]:_0x19c133[_0x194c2b(0x1e8)];const _0x111a74=_0x253ef6&&_0x253ef6['headers'];if(_0x253ef6={..._0x253ef6,'headers':{}},_0x111a74){for(const [_0x53f33b,_0x2779b2]of Object['entries'](_0x111a74))_0x253ef6['headers'][_0x53f33b[_0x194c2b(0x266)]()]=_0x2779b2;}}else{if(_0x19991c[_0x194c2b(0x292)](_0x194c2b(0x18a))===0x0){const _0x3a1b81=_0x358d13?_0x19991c[_0x194c2b(0x2c7)]?_0x5776ad[_0x194c2b(0x18b)]===_0x19991c[_0x194c2b(0x288)]:!0x1:_0x19991c[_0x194c2b(0x2c7)]?!0x1:_0x19c133[_0x194c2b(0x1e8)]===_0x19991c[_0x194c2b(0x288)];(!_0x3a1b81||_0x19991c['_originalSecure']&&!_0x382037)&&(delete _0x5776ad[_0x194c2b(0x1fc)]['authorization'],delete _0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x196)],_0x3a1b81||delete _0x5776ad['headers'][_0x194c2b(0x1e8)],_0x5776ad[_0x194c2b(0x26c)]=void 0x0);}}_0x5776ad[_0x194c2b(0x26c)]&&!_0x253ef6[_0x194c2b(0x1fc)]['authorization']&&(_0x253ef6[_0x194c2b(0x1fc)][_0x194c2b(0x197)]=_0x194c2b(0x1e6)+Buffer[_0x194c2b(0x164)](_0x5776ad['auth'])[_0x194c2b(0x15d)]('base64')),_0x4e59f9=_0x19991c[_0x194c2b(0x176)]=_0x5c95c1(_0x5776ad),_0x19991c['_redirects']&&_0x19991c[_0x194c2b(0x231)](_0x194c2b(0x18a),_0x19991c[_0x194c2b(0x250)],_0x4e59f9);}else _0x4e59f9=_0x19991c['_req']=_0x5c95c1(_0x5776ad);_0x5776ad[_0x194c2b(0x279)]&&_0x4e59f9['on'](_0x194c2b(0x279),()=>{_0x58c53d(_0x19991c,_0x4e59f9,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4e59f9['on'](_0x194c2b(0x298),_0x59298c=>{const _0x3b843f=_0x194c2b;_0x4e59f9===null||_0x4e59f9[_0x283a3f]||(_0x4e59f9=_0x19991c[_0x3b843f(0x176)]=null,_0x15e3b3(_0x19991c,_0x59298c));}),_0x4e59f9['on']('response',_0x3e22e8=>{const _0x7ae7f9=_0x194c2b,_0xda7e99=_0x3e22e8[_0x7ae7f9(0x1fc)][_0x7ae7f9(0x1f1)],_0x50e45f=_0x3e22e8[_0x7ae7f9(0x1d5)];if(_0xda7e99&&_0x5776ad['followRedirects']&&_0x50e45f>=0x12c&&_0x50e45f<0x190){if(++_0x19991c[_0x7ae7f9(0x20f)]>_0x5776ad[_0x7ae7f9(0x2bf)]){_0x58c53d(_0x19991c,_0x4e59f9,_0x7ae7f9(0x293));return;}_0x4e59f9[_0x7ae7f9(0x2dc)]();let _0xfa8d46;try{_0xfa8d46=new _0x3b4322(_0xda7e99,_0x4eddbf);}catch{const _0x42dc1a=new SyntaxError(_0x7ae7f9(0x1d9)+_0xda7e99);_0x15e3b3(_0x19991c,_0x42dc1a);return;}_0x98a70f(_0x19991c,_0xfa8d46,_0x584981,_0x253ef6);}else _0x19991c[_0x7ae7f9(0x231)](_0x7ae7f9(0x285),_0x4e59f9,_0x3e22e8)||_0x58c53d(_0x19991c,_0x4e59f9,'Unexpected\x20server\x20response:\x20'+_0x3e22e8[_0x7ae7f9(0x1d5)]);}),_0x4e59f9['on'](_0x194c2b(0x28a),(_0x2f48af,_0x1e02c9,_0x2723e3)=>{const _0x165228=_0x194c2b;if(_0x19991c['emit'](_0x165228(0x28a),_0x2f48af),_0x19991c[_0x165228(0x260)]!==_0x786afb[_0x165228(0x258)])return;_0x4e59f9=_0x19991c[_0x165228(0x176)]=null;const _0x1e3ebd=_0x2f48af['headers'][_0x165228(0x28a)];if(_0x1e3ebd===void 0x0||_0x1e3ebd[_0x165228(0x266)]()!==_0x165228(0x24f)){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1f2));return;}const _0x4ac4fe=_0x2e5404(_0x165228(0x15c))[_0x165228(0x2a0)](_0x4e8777+_0x36eca8)[_0x165228(0x1b8)]('base64');if(_0x2f48af[_0x165228(0x1fc)][_0x165228(0x294)]!==_0x4ac4fe){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1ec));return;}const _0x355e0b=_0x2f48af[_0x165228(0x1fc)][_0x165228(0x21d)];let _0x5297de;if(_0x355e0b!==void 0x0?_0x45c610[_0x165228(0x16a)]?_0x45c610[_0x165228(0x131)](_0x355e0b)||(_0x5297de=_0x165228(0x198)):_0x5297de=_0x165228(0x2a7):_0x45c610[_0x165228(0x16a)]&&(_0x5297de=_0x165228(0x271)),_0x5297de){_0x58c53d(_0x19991c,_0x1e02c9,_0x5297de);return;}_0x355e0b&&(_0x19991c[_0x165228(0x29b)]=_0x355e0b);const _0x53c9dd=_0x2f48af[_0x165228(0x1fc)]['sec-websocket-extensions'];if(_0x53c9dd!==void 0x0){if(!_0x198a4b){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1ba));return;}let _0x48ef36;try{_0x48ef36=_0x52a565(_0x53c9dd);}catch{_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x16b));return;}const _0x151b71=Object[_0x165228(0x2c3)](_0x48ef36);if(_0x151b71[_0x165228(0x2da)]!==0x1||_0x151b71[0x0]!==_0xdccd6a[_0x165228(0x1bc)]){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1bf));return;}try{_0x198a4b[_0x165228(0x14f)](_0x48ef36[_0xdccd6a[_0x165228(0x1bc)]]);}catch{_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x16b));return;}_0x19991c[_0x165228(0x1b6)][_0xdccd6a[_0x165228(0x1bc)]]=_0x198a4b;}_0x19991c['setSocket'](_0x1e02c9,_0x2723e3,{'allowSynchronousEvents':_0x5776ad[_0x165228(0x1fe)],'generateMask':_0x5776ad[_0x165228(0x28b)],'maxPayload':_0x5776ad[_0x165228(0x157)],'skipUTF8Validation':_0x5776ad[_0x165228(0x1b5)]});}),_0x5776ad[_0x194c2b(0x204)]?_0x5776ad[_0x194c2b(0x204)](_0x4e59f9,_0x19991c):_0x4e59f9[_0x194c2b(0x188)]();}function _0x15e3b3(_0x3a91a7,_0x52cd24){const _0x37606a=_0x38c155;_0x3a91a7['_readyState']=_0x786afb['CLOSING'],_0x3a91a7['_errorEmitted']=!0x0,_0x3a91a7[_0x37606a(0x231)]('error',_0x52cd24),_0x3a91a7['emitClose']();}function _0x1402fd(_0x335018){const _0x26f1e7=_0x38c155;return _0x335018[_0x26f1e7(0x151)]=_0x335018[_0x26f1e7(0x18b)],_0x446f17[_0x26f1e7(0x195)](_0x335018);}function _0xd9438f(_0x139f57){const _0x5c6bf6=_0x38c155;return _0x139f57[_0x5c6bf6(0x151)]=void 0x0,!_0x139f57[_0x5c6bf6(0x171)]&&_0x139f57['servername']!==''&&(_0x139f57[_0x5c6bf6(0x171)]=_0x446f17['isIP'](_0x139f57[_0x5c6bf6(0x1e8)])?'':_0x139f57[_0x5c6bf6(0x1e8)]),_0x2ccc2d['connect'](_0x139f57);}function _0x58c53d(_0x49bd44,_0x3e05c6,_0x37f95c){const _0x5b88c7=_0x38c155;_0x49bd44[_0x5b88c7(0x1d1)]=_0x786afb['CLOSING'];const _0x198a5e=new Error(_0x37f95c);Error[_0x5b88c7(0x19b)](_0x198a5e,_0x58c53d),_0x3e05c6[_0x5b88c7(0x14a)]?(_0x3e05c6[_0x283a3f]=!0x0,_0x3e05c6['abort'](),_0x3e05c6[_0x5b88c7(0x207)]&&!_0x3e05c6[_0x5b88c7(0x207)]['destroyed']&&_0x3e05c6['socket'][_0x5b88c7(0x277)](),process[_0x5b88c7(0x27e)](_0x15e3b3,_0x49bd44,_0x198a5e)):(_0x3e05c6[_0x5b88c7(0x277)](_0x198a5e),_0x3e05c6[_0x5b88c7(0x1eb)](_0x5b88c7(0x298),_0x49bd44[_0x5b88c7(0x231)][_0x5b88c7(0x14b)](_0x49bd44,_0x5b88c7(0x298))),_0x3e05c6[_0x5b88c7(0x1eb)](_0x5b88c7(0x184),_0x49bd44[_0x5b88c7(0x2be)][_0x5b88c7(0x14b)](_0x49bd44)));}function _0x45f4d6(_0x32a7b0,_0x37858b,_0x4b6c03){const _0x58c896=_0x38c155;if(_0x37858b){const _0x28bffe=_0x9413dd(_0x37858b)?_0x37858b[_0x58c896(0x16a)]:_0x3cb5b7(_0x37858b)['length'];_0x32a7b0[_0x58c896(0x25f)]?_0x32a7b0[_0x58c896(0x251)]['_bufferedBytes']+=_0x28bffe:_0x32a7b0[_0x58c896(0x209)]+=_0x28bffe;}if(_0x4b6c03){const _0x3bd319=new Error(_0x58c896(0x23c)+_0x32a7b0[_0x58c896(0x260)]+'\x20('+_0x5b28d2[_0x32a7b0['readyState']]+')');process['nextTick'](_0x4b6c03,_0x3bd319);}}function _0x3abd79(_0x4d521b,_0x26330c){const _0x1496fb=_0x38c155,_0x1bcf45=this[_0x470e7d];_0x1bcf45[_0x1496fb(0x2bc)]=!0x0,_0x1bcf45[_0x1496fb(0x2d8)]=_0x26330c,_0x1bcf45['_closeCode']=_0x4d521b,_0x1bcf45[_0x1496fb(0x25f)][_0x470e7d]!==void 0x0&&(_0x1bcf45[_0x1496fb(0x25f)][_0x1496fb(0x17e)](_0x1496fb(0x220),_0x30dbdd),process[_0x1496fb(0x27e)](_0x47958b,_0x1bcf45[_0x1496fb(0x25f)]),_0x4d521b===0x3ed?_0x1bcf45['close']():_0x1bcf45[_0x1496fb(0x184)](_0x4d521b,_0x26330c));}function _0x5d2145(){const _0x2047db=_0x38c155,_0x28a6c5=this[_0x470e7d];_0x28a6c5[_0x2047db(0x270)]||_0x28a6c5[_0x2047db(0x25f)][_0x2047db(0x25b)]();}function _0x3fd2a6(_0x5a0c2e){const _0x21ca9b=_0x38c155,_0x5d5f7f=this[_0x470e7d];_0x5d5f7f[_0x21ca9b(0x25f)][_0x470e7d]!==void 0x0&&(_0x5d5f7f[_0x21ca9b(0x25f)][_0x21ca9b(0x17e)]('data',_0x30dbdd),process[_0x21ca9b(0x27e)](_0x47958b,_0x5d5f7f[_0x21ca9b(0x25f)]),_0x5d5f7f[_0x21ca9b(0x184)](_0x5a0c2e[_0x403cd9])),_0x5d5f7f[_0x21ca9b(0x183)]||(_0x5d5f7f[_0x21ca9b(0x183)]=!0x0,_0x5d5f7f[_0x21ca9b(0x231)](_0x21ca9b(0x298),_0x5a0c2e));}function _0x2ab7d2(){const _0x120f47=_0x38c155;this[_0x470e7d][_0x120f47(0x2be)]();}function _0x156339(_0x31c382,_0x3e1f49){const _0x1e09b1=_0x38c155;this[_0x470e7d][_0x1e09b1(0x231)](_0x1e09b1(0x2a4),_0x31c382,_0x3e1f49);}function _0x264eb1(_0x15b4b6){const _0x55d75c=_0x38c155,_0x53f7b2=this[_0x470e7d];_0x53f7b2[_0x55d75c(0x267)]&&_0x53f7b2[_0x55d75c(0x2b0)](_0x15b4b6,!this[_0x55d75c(0x178)],_0xd41bd5),_0x53f7b2[_0x55d75c(0x231)](_0x55d75c(0x252),_0x15b4b6);}function _0x3f9b48(_0x22603e){const _0x163020=_0x38c155;this[_0x470e7d][_0x163020(0x231)]('pong',_0x22603e);}function _0x47958b(_0x5ccb63){const _0x4797a4=_0x38c155;_0x5ccb63[_0x4797a4(0x25b)]();}function _0x65920e(_0x474230){const _0x2db5f7=_0x38c155,_0x5bdbaa=this[_0x470e7d];_0x5bdbaa[_0x2db5f7(0x260)]!==_0x786afb[_0x2db5f7(0x2b1)]&&(_0x5bdbaa[_0x2db5f7(0x260)]===_0x786afb[_0x2db5f7(0x1e2)]&&(_0x5bdbaa[_0x2db5f7(0x1d1)]=_0x786afb[_0x2db5f7(0x205)],_0x2a33cd(_0x5bdbaa)),this[_0x2db5f7(0x25f)][_0x2db5f7(0x188)](),_0x5bdbaa['_errorEmitted']||(_0x5bdbaa[_0x2db5f7(0x183)]=!0x0,_0x5bdbaa['emit'](_0x2db5f7(0x298),_0x474230)));}function _0x2a33cd(_0xddc13f){const _0x11a70e=_0x38c155;_0xddc13f[_0x11a70e(0x1ef)]=setTimeout(_0xddc13f[_0x11a70e(0x25f)][_0x11a70e(0x277)][_0x11a70e(0x14b)](_0xddc13f[_0x11a70e(0x25f)]),_0x268aaf);}function _0x4d96fc(){const _0x378a09=_0x38c155,_0xc1ec98=this[_0x470e7d];this['removeListener'](_0x378a09(0x184),_0x4d96fc),this['removeListener'](_0x378a09(0x220),_0x30dbdd),this[_0x378a09(0x17e)](_0x378a09(0x188),_0x4d5fb5),_0xc1ec98[_0x378a09(0x1d1)]=_0x786afb['CLOSING'];let _0xfb9247;!this[_0x378a09(0x1ea)][_0x378a09(0x2ca)]&&!_0xc1ec98['_closeFrameReceived']&&!_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)]['errorEmitted']&&(_0xfb9247=_0xc1ec98[_0x378a09(0x25f)][_0x378a09(0x25e)]())!==null&&_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x299)](_0xfb9247),_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x188)](),this[_0x470e7d]=void 0x0,clearTimeout(_0xc1ec98[_0x378a09(0x1ef)]),_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)][_0x378a09(0x1a5)]||_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)]['errorEmitted']?_0xc1ec98[_0x378a09(0x2be)]():(_0xc1ec98[_0x378a09(0x2cb)]['on']('error',_0x2ab7d2),_0xc1ec98[_0x378a09(0x2cb)]['on']('finish',_0x2ab7d2));}function _0x30dbdd(_0x298bd5){const _0xb67652=_0x38c155;this[_0x470e7d][_0xb67652(0x2cb)][_0xb67652(0x299)](_0x298bd5)||this[_0xb67652(0x16e)]();}function _0x4d5fb5(){const _0x2845de=_0x38c155,_0x3fe8a5=this[_0x470e7d];_0x3fe8a5[_0x2845de(0x1d1)]=_0x786afb[_0x2845de(0x205)],_0x3fe8a5['_receiver'][_0x2845de(0x188)](),this[_0x2845de(0x188)]();}function _0x15557f(){const _0x3a8b34=_0x38c155,_0x45e746=this[_0x470e7d];this[_0x3a8b34(0x17e)](_0x3a8b34(0x298),_0x15557f),this['on'](_0x3a8b34(0x298),_0xd41bd5),_0x45e746&&(_0x45e746[_0x3a8b34(0x1d1)]=_0x786afb[_0x3a8b34(0x205)],this[_0x3a8b34(0x277)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3324f4}=_0x208f40;function _0x2efedb(_0x293fa4){const _0x2a1eb3=_0x1103;_0x293fa4[_0x2a1eb3(0x231)]('close');}function _0x2f7c12(){const _0x52e670=_0x1103;!this[_0x52e670(0x1a9)]&&this[_0x52e670(0x22b)]['finished']&&this['destroy']();}function _0x916f77(_0x409095){const _0x5c73de=_0x1103;this[_0x5c73de(0x17e)]('error',_0x916f77),this[_0x5c73de(0x277)](),this[_0x5c73de(0x292)]('error')===0x0&&this[_0x5c73de(0x231)](_0x5c73de(0x298),_0x409095);}function _0x12474e(_0x50f5d8,_0x515fc6){const _0x18b4b1=_0x1103;let _0x31d449=!0x0;const _0xe5334a=new _0x3324f4({..._0x515fc6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x50f5d8['on']('message',function(_0x4129aa,_0x1b8bfa){const _0x589847=_0x1103,_0x4851fb=!_0x1b8bfa&&_0xe5334a[_0x589847(0x1ea)][_0x589847(0x14c)]?_0x4129aa['toString']():_0x4129aa;_0xe5334a[_0x589847(0x2a8)](_0x4851fb)||_0x50f5d8[_0x589847(0x16e)]();}),_0x50f5d8['once'](_0x18b4b1(0x298),function(_0x128862){const _0x579a54=_0x18b4b1;_0xe5334a[_0x579a54(0x1a9)]||(_0x31d449=!0x1,_0xe5334a[_0x579a54(0x277)](_0x128862));}),_0x50f5d8[_0x18b4b1(0x1eb)](_0x18b4b1(0x184),function(){_0xe5334a['destroyed']||_0xe5334a['push'](null);}),_0xe5334a['_destroy']=function(_0x20aabe,_0x19aef7){const _0x2cec81=_0x18b4b1;if(_0x50f5d8[_0x2cec81(0x260)]===_0x50f5d8[_0x2cec81(0x2b1)]){_0x19aef7(_0x20aabe),process[_0x2cec81(0x27e)](_0x2efedb,_0xe5334a);return;}let _0x2937f0=!0x1;_0x50f5d8[_0x2cec81(0x1eb)]('error',function(_0x4eefb4){_0x2937f0=!0x0,_0x19aef7(_0x4eefb4);}),_0x50f5d8[_0x2cec81(0x1eb)](_0x2cec81(0x184),function(){_0x2937f0||_0x19aef7(_0x20aabe),process['nextTick'](_0x2efedb,_0xe5334a);}),_0x31d449&&_0x50f5d8[_0x2cec81(0x222)]();},_0xe5334a['_final']=function(_0x120200){const _0x576e2b=_0x18b4b1;if(_0x50f5d8['readyState']===_0x50f5d8[_0x576e2b(0x258)]){_0x50f5d8[_0x576e2b(0x1eb)](_0x576e2b(0x144),function(){const _0xd3bfa3=_0x576e2b;_0xe5334a[_0xd3bfa3(0x192)](_0x120200);});return;}_0x50f5d8[_0x576e2b(0x25f)]!==null&&(_0x50f5d8[_0x576e2b(0x25f)][_0x576e2b(0x22b)][_0x576e2b(0x1a5)]?(_0x120200(),_0xe5334a['_readableState'][_0x576e2b(0x2ca)]&&_0xe5334a[_0x576e2b(0x277)]()):(_0x50f5d8[_0x576e2b(0x25f)][_0x576e2b(0x1eb)](_0x576e2b(0x20a),function(){_0x120200();}),_0x50f5d8['close']()));},_0xe5334a['_read']=function(){const _0x1a520b=_0x18b4b1;_0x50f5d8[_0x1a520b(0x270)]&&_0x50f5d8['resume']();},_0xe5334a[_0x18b4b1(0x28f)]=function(_0x306c63,_0x2641d4,_0x37574a){const _0x5c5ab4=_0x18b4b1;if(_0x50f5d8[_0x5c5ab4(0x260)]===_0x50f5d8[_0x5c5ab4(0x258)]){_0x50f5d8['once'](_0x5c5ab4(0x144),function(){_0xe5334a['_write'](_0x306c63,_0x2641d4,_0x37574a);});return;}_0x50f5d8[_0x5c5ab4(0x201)](_0x306c63,_0x37574a);},_0xe5334a['on']('end',_0x2f7c12),_0xe5334a['on']('error',_0x916f77),_0xe5334a;}return Oe=_0x12474e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4d426d}=ne();function _0x50a888(_0x2c6709){const _0x46d3ff=_0x1103,_0x26690d=new Set();let _0xe0447=-0x1,_0x1b5f29=-0x1,_0x180a6b=0x0;for(_0x180a6b;_0x180a6b<_0x2c6709[_0x46d3ff(0x2da)];_0x180a6b++){const _0x4ed8b1=_0x2c6709[_0x46d3ff(0x163)](_0x180a6b);if(_0x1b5f29===-0x1&&_0x4d426d[_0x4ed8b1]===0x1)_0xe0447===-0x1&&(_0xe0447=_0x180a6b);else{if(_0x180a6b!==0x0&&(_0x4ed8b1===0x20||_0x4ed8b1===0x9))_0x1b5f29===-0x1&&_0xe0447!==-0x1&&(_0x1b5f29=_0x180a6b);else{if(_0x4ed8b1===0x2c){if(_0xe0447===-0x1)throw new SyntaxError(_0x46d3ff(0x2a5)+_0x180a6b);_0x1b5f29===-0x1&&(_0x1b5f29=_0x180a6b);const _0x120bbd=_0x2c6709['slice'](_0xe0447,_0x1b5f29);if(_0x26690d['has'](_0x120bbd))throw new SyntaxError(_0x46d3ff(0x229)+_0x120bbd+_0x46d3ff(0x2c4));_0x26690d[_0x46d3ff(0x286)](_0x120bbd),_0xe0447=_0x1b5f29=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x180a6b);}}}if(_0xe0447===-0x1||_0x1b5f29!==-0x1)throw new SyntaxError(_0x46d3ff(0x2bd));const _0x4e053d=_0x2c6709[_0x46d3ff(0x16c)](_0xe0447,_0x180a6b);if(_0x26690d[_0x46d3ff(0x131)](_0x4e053d))throw new SyntaxError(_0x46d3ff(0x229)+_0x4e053d+_0x46d3ff(0x2c4));return _0x26690d[_0x46d3ff(0x286)](_0x4e053d),_0x26690d;}return Ce={'parse':_0x50a888},Ce;}var Te,ot;function er(){const _0x5978b8=_0x273d3a;if(ot)return Te;ot=0x1;const _0x1146bd=_0x5ecb1c,_0x560f21=_0x437340,{Duplex:_0x2fb049}=_0x208f40,{createHash:_0x2cf095}=_0x326401,_0x29de7a=pt(),_0x7c30d0=he(),_0x23165e=Jt(),_0x495b3f=Ie(),{GUID:_0x11d11c,kWebSocket:_0x9b8750}=V(),_0x3e3348=/^[+/0-9A-Za-z]{22}==$/,_0x56b07a=0x0,_0x5d03e9=0x1,_0x3edb8b=0x2;class _0x3dc0b1 extends _0x1146bd{constructor(_0x37fbf5,_0x35e2b6){const _0x4f3c9d=_0x1103;if(super(),_0x37fbf5={'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':_0x495b3f,..._0x37fbf5},_0x37fbf5[_0x4f3c9d(0x27c)]==null&&!_0x37fbf5[_0x4f3c9d(0x1d4)]&&!_0x37fbf5['noServer']||_0x37fbf5[_0x4f3c9d(0x27c)]!=null&&(_0x37fbf5['server']||_0x37fbf5[_0x4f3c9d(0x1ab)])||_0x37fbf5[_0x4f3c9d(0x1d4)]&&_0x37fbf5[_0x4f3c9d(0x1ab)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x37fbf5[_0x4f3c9d(0x27c)]!=null?(this[_0x4f3c9d(0x13b)]=_0x560f21[_0x4f3c9d(0x27d)]((_0x49d0d0,_0x47490e)=>{const _0x384786=_0x4f3c9d,_0x3d16b6=_0x560f21[_0x384786(0x2a1)][0x1aa];_0x47490e['writeHead'](0x1aa,{'Content-Length':_0x3d16b6[_0x384786(0x2da)],'Content-Type':_0x384786(0x22c)}),_0x47490e[_0x384786(0x188)](_0x3d16b6);}),this[_0x4f3c9d(0x13b)][_0x4f3c9d(0x23f)](_0x37fbf5['port'],_0x37fbf5['host'],_0x37fbf5[_0x4f3c9d(0x19d)],_0x35e2b6)):_0x37fbf5['server']&&(this['_server']=_0x37fbf5['server']),this[_0x4f3c9d(0x13b)]){const _0x51d510=this['emit'][_0x4f3c9d(0x14b)](this,_0x4f3c9d(0x203));this['_removeListeners']=_0xab9cf(this['_server'],{'listening':this['emit'][_0x4f3c9d(0x14b)](this,_0x4f3c9d(0x2b4)),'error':this[_0x4f3c9d(0x231)]['bind'](this,'error'),'upgrade':(_0x535b89,_0x548c68,_0x1bbe0b)=>{const _0x52cac6=_0x4f3c9d;this[_0x52cac6(0x12f)](_0x535b89,_0x548c68,_0x1bbe0b,_0x51d510);}});}_0x37fbf5[_0x4f3c9d(0x2b3)]===!0x0&&(_0x37fbf5[_0x4f3c9d(0x2b3)]={}),_0x37fbf5[_0x4f3c9d(0x29a)]&&(this[_0x4f3c9d(0x1af)]=new Set(),this[_0x4f3c9d(0x138)]=!0x1),this[_0x4f3c9d(0x274)]=_0x37fbf5,this['_state']=_0x56b07a;}[_0x5978b8(0x2e2)](){const _0x3c1cc2=_0x5978b8;if(this[_0x3c1cc2(0x274)][_0x3c1cc2(0x1ab)])throw new Error(_0x3c1cc2(0x2de));return this['_server']?this['_server'][_0x3c1cc2(0x2e2)]():null;}['close'](_0x40ad01){const _0x2a4364=_0x5978b8;if(this[_0x2a4364(0x24a)]===_0x3edb8b){_0x40ad01&&this[_0x2a4364(0x1eb)](_0x2a4364(0x184),()=>{const _0xcabd36=_0x2a4364;_0x40ad01(new Error(_0xcabd36(0x173)));}),process['nextTick'](_0x109679,this);return;}if(_0x40ad01&&this[_0x2a4364(0x1eb)](_0x2a4364(0x184),_0x40ad01),this[_0x2a4364(0x24a)]!==_0x5d03e9){if(this['_state']=_0x5d03e9,this['options'][_0x2a4364(0x1ab)]||this['options'][_0x2a4364(0x1d4)])this[_0x2a4364(0x13b)]&&(this[_0x2a4364(0x1b9)](),this[_0x2a4364(0x1b9)]=this['_server']=null),this[_0x2a4364(0x1af)]?this[_0x2a4364(0x1af)]['size']?this[_0x2a4364(0x138)]=!0x0:process[_0x2a4364(0x27e)](_0x109679,this):process[_0x2a4364(0x27e)](_0x109679,this);else{const _0x5a395a=this['_server'];this['_removeListeners'](),this[_0x2a4364(0x1b9)]=this['_server']=null,_0x5a395a[_0x2a4364(0x184)](()=>{_0x109679(this);});}}}['shouldHandle'](_0x294240){const _0x4a6c27=_0x5978b8;if(this[_0x4a6c27(0x274)]['path']){const _0x2513dd=_0x294240['url']['indexOf']('?');if((_0x2513dd!==-0x1?_0x294240[_0x4a6c27(0x250)][_0x4a6c27(0x16c)](0x0,_0x2513dd):_0x294240['url'])!==this[_0x4a6c27(0x274)][_0x4a6c27(0x151)])return!0x1;}return!0x0;}[_0x5978b8(0x12f)](_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa){const _0x418de9=_0x5978b8;_0x5c1d3f['on'](_0x418de9(0x298),_0x39e6cc);const _0x671ca3=_0x3d31a0['headers'][_0x418de9(0x221)],_0xb73f8a=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x28a)],_0x319f9c=+_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x2d0)];if(_0x3d31a0[_0x418de9(0x1c4)]!==_0x418de9(0x158)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x195,_0x418de9(0x20d));return;}if(_0xb73f8a===void 0x0||_0xb73f8a[_0x418de9(0x266)]()!==_0x418de9(0x24f)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x1f2));return;}if(_0x671ca3===void 0x0||!_0x3e3348[_0x418de9(0x2a9)](_0x671ca3)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x2ad));return;}if(_0x319f9c!==0x8&&_0x319f9c!==0xd){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x218));return;}if(!this[_0x418de9(0x28d)](_0x3d31a0)){_0x428b85(_0x5c1d3f,0x190);return;}const _0x59e285=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x21d)];let _0x3b64db=new Set();if(_0x59e285!==void 0x0)try{_0x3b64db=_0x23165e[_0x418de9(0x1a1)](_0x59e285);}catch{_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x191));return;}const _0x42a3e9=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x235)],_0x3b5416={};if(this[_0x418de9(0x274)][_0x418de9(0x2b3)]&&_0x42a3e9!==void 0x0){const _0x8082b0=new _0x7c30d0(this[_0x418de9(0x274)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x327553=_0x29de7a['parse'](_0x42a3e9);_0x327553[_0x7c30d0[_0x418de9(0x1bc)]]&&(_0x8082b0[_0x418de9(0x14f)](_0x327553[_0x7c30d0[_0x418de9(0x1bc)]]),_0x3b5416[_0x7c30d0[_0x418de9(0x1bc)]]=_0x8082b0);}catch{_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x19e));return;}}if(this['options'][_0x418de9(0x1f0)]){const _0x307c64={'origin':_0x3d31a0['headers'][''+(_0x319f9c===0x8?'sec-websocket-origin':_0x418de9(0x2af))],'secure':!!(_0x3d31a0[_0x418de9(0x207)]['authorized']||_0x3d31a0[_0x418de9(0x207)][_0x418de9(0x24d)]),'req':_0x3d31a0};if(this[_0x418de9(0x274)][_0x418de9(0x1f0)][_0x418de9(0x2da)]===0x2){this[_0x418de9(0x274)][_0x418de9(0x1f0)](_0x307c64,(_0x181383,_0x550f14,_0x23ca4a,_0x46302d)=>{const _0x4ab2e5=_0x418de9;if(!_0x181383)return _0x428b85(_0x5c1d3f,_0x550f14||0x191,_0x23ca4a,_0x46302d);this[_0x4ab2e5(0x2a3)](_0x3b5416,_0x671ca3,_0x3b64db,_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa);});return;}if(!this[_0x418de9(0x274)]['verifyClient'](_0x307c64))return _0x428b85(_0x5c1d3f,0x191);}this['completeUpgrade'](_0x3b5416,_0x671ca3,_0x3b64db,_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa);}[_0x5978b8(0x2a3)](_0x531503,_0x17e719,_0x208a92,_0xdab163,_0x5a54f7,_0x223214,_0x2f95b9){const _0xf58623=_0x5978b8;if(!_0x5a54f7[_0xf58623(0x166)]||!_0x5a54f7[_0xf58623(0x236)])return _0x5a54f7['destroy']();if(_0x5a54f7[_0x9b8750])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x56b07a)return _0x428b85(_0x5a54f7,0x1f7);const _0x2e1e1d=[_0xf58623(0x174),_0xf58623(0x140),_0xf58623(0x2dd),'Sec-WebSocket-Accept:\x20'+_0x2cf095('sha1')[_0xf58623(0x2a0)](_0x17e719+_0x11d11c)[_0xf58623(0x1b8)](_0xf58623(0x13f))],_0x5d1648=new this[(_0xf58623(0x274))]['WebSocket'](null,void 0x0,this['options']);if(_0x208a92[_0xf58623(0x16a)]){const _0x2a5783=this[_0xf58623(0x274)][_0xf58623(0x1db)]?this[_0xf58623(0x274)][_0xf58623(0x1db)](_0x208a92,_0xdab163):_0x208a92[_0xf58623(0x20e)]()[_0xf58623(0x168)]()['value'];_0x2a5783&&(_0x2e1e1d[_0xf58623(0x2a8)](_0xf58623(0x1a4)+_0x2a5783),_0x5d1648[_0xf58623(0x29b)]=_0x2a5783);}if(_0x531503[_0x7c30d0[_0xf58623(0x1bc)]]){const _0x39fb57=_0x531503[_0x7c30d0[_0xf58623(0x1bc)]][_0xf58623(0x18d)],_0x590812=_0x29de7a[_0xf58623(0x217)]({[_0x7c30d0['extensionName']]:[_0x39fb57]});_0x2e1e1d[_0xf58623(0x2a8)](_0xf58623(0x2c5)+_0x590812),_0x5d1648[_0xf58623(0x1b6)]=_0x531503;}this[_0xf58623(0x231)](_0xf58623(0x1fc),_0x2e1e1d,_0xdab163),_0x5a54f7['write'](_0x2e1e1d[_0xf58623(0x1e5)]('\x0d\x0a')[_0xf58623(0x287)]('\x0d\x0a')),_0x5a54f7['removeListener'](_0xf58623(0x298),_0x39e6cc),_0x5d1648[_0xf58623(0x169)](_0x5a54f7,_0x223214,{'allowSynchronousEvents':this['options'][_0xf58623(0x1fe)],'maxPayload':this[_0xf58623(0x274)][_0xf58623(0x157)],'skipUTF8Validation':this['options'][_0xf58623(0x1b5)]}),this[_0xf58623(0x1af)]&&(this[_0xf58623(0x1af)][_0xf58623(0x286)](_0x5d1648),_0x5d1648['on'](_0xf58623(0x184),()=>{const _0x6745d4=_0xf58623;this[_0x6745d4(0x1af)][_0x6745d4(0x243)](_0x5d1648),this[_0x6745d4(0x138)]&&!this['clients'][_0x6745d4(0x16a)]&&process['nextTick'](_0x109679,this);})),_0x2f95b9(_0x5d1648,_0xdab163);}}Te=_0x3dc0b1;function _0xab9cf(_0x103376,_0x169bd7){const _0x5ae875=_0x5978b8;for(const _0x2eb2d of Object[_0x5ae875(0x2c3)](_0x169bd7))_0x103376['on'](_0x2eb2d,_0x169bd7[_0x2eb2d]);return function(){const _0x1f4a4b=_0x5ae875;for(const _0x20f32d of Object[_0x1f4a4b(0x2c3)](_0x169bd7))_0x103376[_0x1f4a4b(0x17e)](_0x20f32d,_0x169bd7[_0x20f32d]);};}function _0x109679(_0x503211){const _0x2853d6=_0x5978b8;_0x503211[_0x2853d6(0x24a)]=_0x3edb8b,_0x503211['emit']('close');}function _0x39e6cc(){const _0x4e58c1=_0x5978b8;this[_0x4e58c1(0x277)]();}function _0x428b85(_0x5f5a1a,_0x236e5d,_0x278a0b,_0x5da888){const _0x269034=_0x5978b8;_0x278a0b=_0x278a0b||_0x560f21['STATUS_CODES'][_0x236e5d],_0x5da888={'Connection':_0x269034(0x184),'Content-Type':_0x269034(0x133),'Content-Length':Buffer[_0x269034(0x268)](_0x278a0b),..._0x5da888},_0x5f5a1a['once'](_0x269034(0x20a),_0x5f5a1a[_0x269034(0x277)]),_0x5f5a1a[_0x269034(0x188)](_0x269034(0x2b2)+_0x236e5d+'\x20'+_0x560f21[_0x269034(0x2a1)][_0x236e5d]+'\x0d\x0a'+Object[_0x269034(0x2c3)](_0x5da888)[_0x269034(0x1fa)](_0xe5e350=>_0xe5e350+':\x20'+_0x5da888[_0xe5e350])[_0x269034(0x287)]('\x0d\x0a')+_0x269034(0x17d)+_0x278a0b);}function _0x18f9d7(_0x122a4c,_0xa9d936,_0x20a168,_0x92d2b3,_0x260581){const _0x565edd=_0x5978b8;if(_0x122a4c[_0x565edd(0x292)](_0x565edd(0x1bb))){const _0x2467fc=new Error(_0x260581);Error[_0x565edd(0x19b)](_0x2467fc,_0x18f9d7),_0x122a4c[_0x565edd(0x231)](_0x565edd(0x1bb),_0x2467fc,_0x20a168,_0xa9d936);}else _0x428b85(_0x20a168,_0x92d2b3,_0x260581);}return Te;}er();var tr=Object[_0x273d3a(0x21c)],rr=(_0x2faeb1,_0x48dd3e,_0x2c204a,_0x4f8183)=>{const _0x1eaa97=_0x273d3a;for(var _0x2bfba3=_0x4f8183>0x1?void 0x0:_0x4f8183?tr(_0x48dd3e,_0x2c204a):_0x48dd3e,_0x5b88d5=_0x2faeb1[_0x1eaa97(0x2da)]-0x1,_0x37b83c;_0x5b88d5>=0x0;_0x5b88d5--)(_0x37b83c=_0x2faeb1[_0x5b88d5])&&(_0x2bfba3=_0x37b83c(_0x2bfba3)||_0x2bfba3);return _0x2bfba3;},sr=(_0x50e1ad,_0x3ecc08)=>(_0x1ed9e1,_0x1dfff5)=>_0x3ecc08(_0x1ed9e1,_0x1dfff5,_0x50e1ad);let Ne=class extends _0x1bd600{constructor(_0x47e2c0){const _0x4996bb=_0x273d3a;super(),this[_0x4996bb(0x2b5)]=_0x47e2c0;}[_0x273d3a(0x155)](_0x24f7bd){const _0x43859b=_0x273d3a;var _0x49711d;const _0x4d49c5=(_0x49711d=this[_0x43859b(0x2b5)]['getConfig'](Be))==null?void 0x0:_0x49711d[_0x43859b(0x1fd)];try{const _0xc601a2=new Qt(_0x24f7bd,{'headers':{..._0x4d49c5}}),_0x544535=new _0x403ad9();return{'URL':_0x24f7bd,'close':(_0x5983c4,_0x274f35)=>{const _0xbf359f=_0x43859b;_0xc601a2[_0xbf359f(0x184)](_0x5983c4,_0x274f35),_0x544535['dispose']();},'send':_0x1ce214=>{const _0x5061a5=_0x43859b;_0xc601a2[_0x5061a5(0x201)](_0x1ce214);},'open$':new _0x3c22f8(_0x257275=>{const _0x2004b4=_0x43859b,_0x244d1b=_0x3e69a2=>_0x257275['next'](_0x3e69a2);_0xc601a2[_0x2004b4(0x180)](_0x2004b4(0x144),_0x244d1b),_0x544535[_0x2004b4(0x286)](_0x2107f2(()=>_0xc601a2[_0x2004b4(0x2a2)](_0x2004b4(0x144),_0x244d1b)));})[_0x43859b(0x253)](_0x17c6f5()),'close$':new _0x3c22f8(_0x560f13=>{const _0x2f6b08=_0x43859b,_0x2bb9d3=_0x3233b8=>_0x560f13[_0x2f6b08(0x168)](_0x3233b8);_0xc601a2['addEventListener'](_0x2f6b08(0x184),_0x2bb9d3),_0x544535[_0x2f6b08(0x286)](_0x2107f2(()=>_0xc601a2[_0x2f6b08(0x2a2)](_0x2f6b08(0x184),_0x2bb9d3)));})[_0x43859b(0x253)](_0x17c6f5()),'error$':new _0x3c22f8(_0x15eb40=>{const _0x5480f5=_0x43859b,_0x231297=_0x3ce192=>_0x15eb40[_0x5480f5(0x168)](_0x3ce192);_0xc601a2['addEventListener'](_0x5480f5(0x298),_0x231297),_0x544535[_0x5480f5(0x286)](_0x2107f2(()=>_0xc601a2[_0x5480f5(0x2a2)](_0x5480f5(0x298),_0x231297)));})[_0x43859b(0x253)](_0x17c6f5()),'message$':new _0x3c22f8(_0x2562c1=>{const _0x4eb1f5=_0x43859b,_0x3a4aab=_0x2c815c=>_0x2562c1['next'](_0x2c815c);_0xc601a2['addEventListener'](_0x4eb1f5(0x2a4),_0x3a4aab),_0x544535['add'](_0x2107f2(()=>_0xc601a2[_0x4eb1f5(0x2a2)](_0x4eb1f5(0x2a4),_0x3a4aab)));})[_0x43859b(0x253)](_0x17c6f5())};}catch(_0x442534){return console[_0x43859b(0x298)](_0x442534),null;}}};Ne=rr([sr(0x0,_0x46482f)],Ne);var ir=Object['defineProperty'],nr=Object[_0x273d3a(0x21c)],or=(_0x158165,_0x27f210,_0x4400dd)=>_0x27f210 in _0x158165?ir(_0x158165,_0x27f210,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4400dd}):_0x158165[_0x27f210]=_0x4400dd,ar=(_0x4741b7,_0x48d91e,_0x2bbcba,_0x92190f)=>{for(var _0x587a9a=_0x92190f>0x1?void 0x0:_0x92190f?nr(_0x48d91e,_0x2bbcba):_0x48d91e,_0x58a2e6=_0x4741b7['length']-0x1,_0x5956af;_0x58a2e6>=0x0;_0x58a2e6--)(_0x5956af=_0x4741b7[_0x58a2e6])&&(_0x587a9a=_0x5956af(_0x587a9a)||_0x587a9a);return _0x587a9a;},ke=(_0x5031df,_0xf8abf)=>(_0x4f824f,_0x55a91a)=>_0xf8abf(_0x4f824f,_0x55a91a,_0x5031df),lr=(_0x2591e8,_0x3f0a42,_0x579f6c)=>or(_0x2591e8,_0x3f0a42+'',_0x579f6c);function _0x1103(_0x1d3abd,_0x32b5af){const _0x1ec108=_0x1ec1();return _0x1103=function(_0x110397,_0x519a2a){_0x110397=_0x110397-0x12d;let _0xe52f69=_0x1ec108[_0x110397];return _0xe52f69;},_0x1103(_0x1d3abd,_0x32b5af);}let Pe=class extends _0x14f5b4{constructor(_0x44f3a2=Ft,_0xfd649f,_0x25aa2a,_0x26a200){const _0x265b3f=_0x273d3a;_0x44f3a2[_0x265b3f(0x1fd)]||_0xfd649f[_0x265b3f(0x1e4)](_0x265b3f(0x167)),super(),this[_0x265b3f(0x2b5)]=_0x25aa2a,this[_0x265b3f(0x26f)]=_0x26a200,this[_0x265b3f(0x2b5)][_0x265b3f(0x153)](Be,_0x44f3a2);}[_0x273d3a(0x275)](){const _0x481f87=_0x273d3a;this[_0x481f87(0x2d9)]();}['_registerDependencies'](){_0x48b4ca(this['_injector'],[[_0x51dcb0,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x273d3a(0x141)),Pe=ar([_0x1e1108(_0x88f651),ke(0x1,_0x54ff49),ke(0x2,_0x46482f),ke(0x3,_0x5e05d8(_0x1904af))],Pe);var fr=Object[_0x273d3a(0x21c)],cr=(_0x2a2682,_0x2d2f71,_0x4a9751,_0x32bb56)=>{const _0x3015fd=_0x273d3a;for(var _0x5cc13b=_0x32bb56>0x1?void 0x0:_0x32bb56?fr(_0x2d2f71,_0x4a9751):_0x2d2f71,_0xb1c578=_0x2a2682[_0x3015fd(0x2da)]-0x1,_0x576e4c;_0xb1c578>=0x0;_0xb1c578--)(_0x576e4c=_0x2a2682[_0xb1c578])&&(_0x5cc13b=_0x576e4c(_0x5cc13b)||_0x5cc13b);return _0x5cc13b;},se=(_0x417064,_0x88eb54)=>(_0x5bf571,_0x20b99e)=>_0x88eb54(_0x5bf571,_0x20b99e,_0x417064);let at=class extends _0x3b0bfc{constructor(_0x80e949,_0x50f1c2,_0x401cb5,_0x3bae1f,_0x7089a2){const _0x10424b=_0x273d3a;super(_0x80e949,_0x50f1c2,_0x401cb5,_0x3bae1f,_0x7089a2);const _0x1b4c5c=this[_0x10424b(0x2b5)][_0x10424b(0x259)](Be);this[_0x10424b(0x2bb)][_0x10424b(0x181)]({'interceptor':(_0xf9b91f,_0x4260d5)=>{const _0x4bccbf=_0x10424b;var _0x50fc43;const _0x39d237=_0xf9b91f['headers'];return(_0x50fc43=_0x1b4c5c==null?void 0x0:_0x1b4c5c[_0x4bccbf(0x1fd)])!=null&&_0x50fc43[_0x4bccbf(0x196)]&&_0x39d237['set'](_0x4bccbf(0x154),_0x1b4c5c[_0x4bccbf(0x1fd)]['cookie']),_0x4260d5(_0xf9b91f);}});}async['createSocket'](_0xb41617){const _0x16108d=_0x273d3a;return this[_0x16108d(0x134)](_0xb41617);}};at=cr([se(0x0,_0x5e05d8(_0x1904af)),se(0x1,_0x5e05d8(_0xb34f9f)),se(0x2,_0x46482f),se(0x3,_0x54ff49),se(0x4,_0x43c1a1)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};