@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250424-9e348ed → 0.6.10-experimental.20250427-173dc06

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4a72d3=_0x1cd5;(function(_0x17753b,_0x19a855){const _0x5efbb4=_0x1cd5,_0x1f1891=_0x17753b();while(!![]){try{const _0x585982=parseInt(_0x5efbb4(0x2a4))/0x1*(parseInt(_0x5efbb4(0x2ef))/0x2)+-parseInt(_0x5efbb4(0x32c))/0x3+parseInt(_0x5efbb4(0x265))/0x4*(parseInt(_0x5efbb4(0x2a7))/0x5)+-parseInt(_0x5efbb4(0x2cf))/0x6+-parseInt(_0x5efbb4(0x329))/0x7*(-parseInt(_0x5efbb4(0x25f))/0x8)+-parseInt(_0x5efbb4(0x222))/0x9*(parseInt(_0x5efbb4(0x353))/0xa)+parseInt(_0x5efbb4(0x1a7))/0xb;if(_0x585982===_0x19a855)break;else _0x1f1891['push'](_0x1f1891['shift']());}catch(_0x481173){_0x1f1891['push'](_0x1f1891['shift']());}}}(_0x26b6,0xcd05c));import{UniverCollaborationClientPlugin as _0x215457,CollaborationSocketService as _0xb3388d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3757a1,DisposableCollection as _0x5d62f1,toDisposable as _0x12ac78,IConfigService as _0xf3e60e,DependentOn as _0x278fef,ILogService as _0xdf62bf,Inject as _0x47d38c,Injector as _0x56c16b,Plugin as _0x40a003,registerDependencies as _0x546d2d}from'@univerjs/core';import{ISocketService as _0x277483,HTTPService as _0x2dbf8d}from'@univerjs/network';import{Observable as _0x573e22,share as _0x3d5178}from'rxjs';import _0x3eeacf from'events';import _0x5db4e4 from'https';import _0x26b4e1 from'http';import _0x5c837e from'net';function _0x1cd5(_0x519695,_0x346e30){const _0x26b65f=_0x26b6();return _0x1cd5=function(_0x1cd548,_0x32734d){_0x1cd548=_0x1cd548-0x1a7;let _0x55dbaf=_0x26b65f[_0x1cd548];return _0x55dbaf;},_0x1cd5(_0x519695,_0x346e30);}import _0x281053 from'tls';import _0x4f0023 from'crypto';import _0x561e40 from'stream';import _0x129d17 from'url';import _0x28ecf9 from'zlib';function _0x26b6(){const _0x178f90=['completeUpgrade','Invalid\x20Upgrade\x20header','buffer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createError','forEach','base64','invalid\x20opcode\x20','params','_loop','WS_ERR_INVALID_UTF8','ws+unix:','connect','readOnly','enqueue','createSocket','Server\x20sent\x20no\x20subprotocol','kWasClean','_req','_read','upgrade','Module','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','MASK\x20must\x20be\x20clear','_fragmented','pluginName','get','WebSocket','handshakeTimeout','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pong','kByteLength','allocUnsafe','apply','_state','_isServer','has','_compressed','Invalid\x20Sec-WebSocket-Extensions\x20header','accept','dataMessage','invalid\x20UTF-8\x20sequence','FIN\x20must\x20be\x20set','customHeaders','destroy','\x22:\x20','join','isArray','writeUIntBE','sendFrame','acceptAsClient','socketPath','fragments','string','100391yOFknw','compress','from','115xsGpSg','maskBuffer','constructor','https:','env','removeEventListener','kCode','listeners','normalizeParams','end','code','setSocket','status-code','CLOSED','text/html','_maskBuffer','byteLength','zlibDeflateOptions','_protocol','error','Sec-WebSocket-Extensions','getMask','search','permessage-deflate','open','_max_window_bits','bufferedAmount','cork','clientMaxWindowBits','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','ping','target','WS_NO_UTF_8_VALIDATE','_removeListeners','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_paused','generateMask','headers','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Extensions:\x20','9577812ETejwA','kAborted','client_no_context_takeover','arraybuffer','_inflate','_errorEmitted','authorized','Invalid\x20URL:\x20','extensions','_skipUTF8Validation','\x0d\x0a\x0d\x0a','nodebuffer','getOwnPropertyDescriptor','emitClose','kMessage','pathname','The\x20\x22','slice','autoPong','origin','threshold','close','total-length','extensionName','hostname','maxPayload','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','perMessageDeflate','_maxPayload','_closeTimer','The\x20server\x20is\x20not\x20running','destroyed','14UxVnWa','_errored','client','wasClean','auth','__esModule','wsClientError','timeout','protocol','arrayBuffer','url','collaboration-client-node.config','Invalid\x20Sec-WebSocket-Accept\x20header','push','Max\x20payload\x20size\x20exceeded','listenerCount','_receiver','_redirects','path','createConnection','digest','kRun','allowSynchronousEvents','getConfig','objectMode','method','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_INVALID_OPCODE','kData','_queue','zlibInflateOptions','unmask','needDrain','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','prototype','address','isPaused','_firstFragment','byteOffset','WS_ERR_UNEXPECTED_RSV_1','buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ws:','listen','writable','authorization','_readyState','Opening\x20handshake\x20has\x20timed\x20out','mask','\x20(supported\x20versions:\x20','_closeCode','parse','WS_ERR_INVALID_CLOSE_CODE','Unknown\x20parameter\x20\x22','removeListener','_closeFrameSent','protocolVersion','_generateMask','7hGFHpA','STATUS_CODES','server_no_context_takeover','1891890lAGSCc','_writableState','clientNoContextTakeover','wss:','shouldHandle','getData','GET','cookie','default','_compress','_allowSynchronousEvents','CONNECTING','data','errorEmitted','message','backlog','rsv1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_destroy','pipe','unexpected-response','readUInt32BE','handleEvent','_registerDependencies','Unexpected\x20character\x20at\x20index\x20','readable','defaultPort','write','_bufferedAmount','clients','OPEN','_sender','resume','Sec-WebSocket-Protocol','hasOwnProperty','acceptAsServer','kError','maxRedirects','Invalid\x20HTTP\x20method','1992980RpUiOD','includes','dequeue','createServer','set','statusCode','kType','_shouldEmitClose','RSV1\x20must\x20be\x20clear','_url','size','concurrencyLimit','emit','_opcode','freeze','pause','Cookie','controlMessage','9026897nKsBvK','_messageLength','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','readUInt16BE','hash','redirect','send','fin','add','dispatch','_closeFrameReceived','finished','value','WS_ERR_UNEXPECTED_RSV_2_3','followRedirects','pow','invalid\x20opcode\x200','_fragments','finishRequest','_options','finish','cleanup','kIsForOnEventAttribute','sec-websocket-protocol','_write','handleUpgrade','isServer','client_max_window_bits','_server','HTTP/1.1\x20101\x20Switching\x20Protocols','Unexpected\x20server\x20response:\x20','setTimeout','startLoop','nextTick','_binaryType','toStringTag','serverMaxWindowBits','sec-websocket-accept','dispose','_no_context_takeover','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_buffers','length','_httpService','Invalid\x20WebSocket\x20frame:\x20','clientTracking','onerror','construct','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','addEventListener','handleProtocols','invalid\x20status\x20code\x20','Blob','CLOSING','removeAllListeners','listening','_originalSecure','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_decompress','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_masked','isValidUTF8','binaryType','The\x20URL\x27s\x20pathname\x20is\x20empty','jobs','conclude','Sec-WebSocket-Protocol:\x20','split','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sec-websocket-extensions','serverNoContextTakeover','frame','consume','registerHTTPInterceptor','websocket','format','_socket','\x22\x20subprotocol\x20is\x20duplicated','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','isInteger','verifyClient','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','server','map','species','_threshold','options','http:','abort','host','captureStackTrace','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getInfo','blob','test','concat','charCodeAt','defineProperty','isView','exports','writeUInt16BE','Z_SYNC_FLUSH','create','delete','getBlobData','_totalPayloadLength','startsWith','createDeflateRaw','replace','password','connection','values','setConfig','function','_originalHostOrSocketPath','server_max_window_bits','reason','Sec-WebSocket-Accept:\x20','kTarget','skipUTF8Validation','keys','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Upgrade','9scCvaD','onopen','toLowerCase','onStarting','WS_NO_BUFFER_UTIL','request','href','flush','_doCreateSocket','haveLength','object','port','isIP','decompress','_originalIpc','_extensions','shift','reset','catch','socket','terminate','sec-websocket-version','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','type','drain','Invalid\x20value\x20for\x20parameter\x20\x22','_bufferedBytes','opcode','_configService','response','_deflate','Connection:\x20Upgrade','sha1','Basic\x20','toString','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_autoPong','readyState','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','alloc','getPayloadLength16','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','indexOf','kReason','endEmitted','update','number','_final','sec-websocket-key','noServer','pending','call','encrypted','username','unshift','kDone','_mask','_fin','callback','binary','7951352qZWbPE','_payloadLength','stream','Z_DEFAULT_WINDOWBITS','_closeMessage','servername','130212vlDRUB','bind','offer','_readableState','once','getPayloadLength64','next','sec-websocket-origin','_injector'];_0x26b6=function(){return _0x178f90;};return _0x26b6();}import _0x35952 from'buffer';import{ISnapshotServerService as _0x57f995}from'@univerjs-pro/collaboration';const Be=_0x4a72d3(0x2fa),Ft={'customHeaders':{}};function jt(_0x1c5dc1){const _0x231baf=_0x4a72d3;return _0x1c5dc1&&_0x1c5dc1['__esModule']&&Object['prototype'][_0x231baf(0x34e)][_0x231baf(0x256)](_0x1c5dc1,_0x231baf(0x334))?_0x1c5dc1[_0x231baf(0x334)]:_0x1c5dc1;}function ut(_0x2b5986){const _0x2ee028=_0x4a72d3;if(Object[_0x2ee028(0x311)][_0x2ee028(0x34e)][_0x2ee028(0x256)](_0x2b5986,_0x2ee028(0x2f4)))return _0x2b5986;var _0x4c57d0=_0x2b5986[_0x2ee028(0x334)];if(typeof _0x4c57d0==_0x2ee028(0x218)){var _0x1d1183=function _0x33f94b(){const _0x2e3ae0=_0x2ee028;return this instanceof _0x33f94b?Reflect[_0x2e3ae0(0x1d6)](_0x4c57d0,arguments,this[_0x2e3ae0(0x2a9)]):_0x4c57d0[_0x2e3ae0(0x28f)](this,arguments);};_0x1d1183[_0x2ee028(0x311)]=_0x4c57d0[_0x2ee028(0x311)];}else _0x1d1183={};return Object[_0x2ee028(0x208)](_0x1d1183,_0x2ee028(0x2f4),{'value':!0x0}),Object[_0x2ee028(0x21f)](_0x2b5986)[_0x2ee028(0x273)](function(_0x2ac7c9){const _0x38146d=_0x2ee028;var _0x592de5=Object['getOwnPropertyDescriptor'](_0x2b5986,_0x2ac7c9);Object[_0x38146d(0x208)](_0x1d1183,_0x2ac7c9,_0x592de5[_0x38146d(0x288)]?_0x592de5:{'enumerable':!0x0,'get':function(){return _0x2b5986[_0x2ac7c9];}});}),_0x1d1183;}var te={'exports':{}},ge,Ye;function V(){const _0x20a6df=_0x4a72d3;if(Ye)return ge;Ye=0x1;const _0x35a4e9=[_0x20a6df(0x2da),_0x20a6df(0x2d2),_0x20a6df(0x2a2)],_0xa1b8a9=typeof Blob<'u';return _0xa1b8a9&&_0x35a4e9[_0x20a6df(0x2fc)](_0x20a6df(0x204)),ge={'BINARY_TYPES':_0x35a4e9,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x20a6df(0x271),'hasBlob':_0xa1b8a9,'kForOnEventAttribute':Symbol(_0x20a6df(0x1bd)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x20a6df(0x2b3)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x4a72d3(0x361)](Object[_0x4a72d3(0x208)]({'__proto__':null,'default':Wt},Symbol[_0x4a72d3(0x1ca)],{'value':_0x4a72d3(0x283)})),Vt=ut(Gt);var Ke;function ce(){const _0x174a08=_0x4a72d3;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x535a7a}=V(),_0x3fa3e3=Buffer[Symbol[_0x174a08(0x1fb)]];function _0xdd0f8d(_0x4e1535,_0x2da1e4){const _0x584bb9=_0x174a08;if(_0x4e1535[_0x584bb9(0x1d1)]===0x0)return _0x535a7a;if(_0x4e1535['length']===0x1)return _0x4e1535[0x0];const _0x3c2912=Buffer[_0x584bb9(0x28e)](_0x2da1e4);let _0x3de180=0x0;for(let _0x38ed44=0x0;_0x38ed44<_0x4e1535[_0x584bb9(0x1d1)];_0x38ed44++){const _0x1fff66=_0x4e1535[_0x38ed44];_0x3c2912['set'](_0x1fff66,_0x3de180),_0x3de180+=_0x1fff66[_0x584bb9(0x1d1)];}return _0x3de180<_0x2da1e4?new _0x3fa3e3(_0x3c2912[_0x584bb9(0x270)],_0x3c2912[_0x584bb9(0x315)],_0x3de180):_0x3c2912;}function _0x4ef1dd(_0x336af2,_0x331d6b,_0x420ed5,_0x31bf8e,_0x82b1c7){for(let _0x250179=0x0;_0x250179<_0x82b1c7;_0x250179++)_0x420ed5[_0x31bf8e+_0x250179]=_0x336af2[_0x250179]^_0x331d6b[_0x250179&0x3];}function _0x28e174(_0x104838,_0x68896f){const _0x437e5b=_0x174a08;for(let _0x44646d=0x0;_0x44646d<_0x104838[_0x437e5b(0x1d1)];_0x44646d++)_0x104838[_0x44646d]^=_0x68896f[_0x44646d&0x3];}function _0x29c13b(_0x203d58){const _0x35e2e3=_0x174a08;return _0x203d58['length']===_0x203d58[_0x35e2e3(0x270)]['byteLength']?_0x203d58[_0x35e2e3(0x270)]:_0x203d58[_0x35e2e3(0x270)]['slice'](_0x203d58[_0x35e2e3(0x315)],_0x203d58[_0x35e2e3(0x315)]+_0x203d58[_0x35e2e3(0x1d1)]);}function _0x511b7c(_0x1fa5a2){const _0x548433=_0x174a08;if(_0x511b7c[_0x548433(0x27b)]=!0x0,Buffer['isBuffer'](_0x1fa5a2))return _0x1fa5a2;let _0x3968f3;return _0x1fa5a2 instanceof ArrayBuffer?_0x3968f3=new _0x3fa3e3(_0x1fa5a2):ArrayBuffer[_0x548433(0x209)](_0x1fa5a2)?_0x3968f3=new _0x3fa3e3(_0x1fa5a2[_0x548433(0x270)],_0x1fa5a2[_0x548433(0x315)],_0x1fa5a2[_0x548433(0x2b7)]):(_0x3968f3=Buffer[_0x548433(0x2a6)](_0x1fa5a2),_0x511b7c['readOnly']=!0x1),_0x3968f3;}if(te['exports']={'concat':_0xdd0f8d,'mask':_0x4ef1dd,'toArrayBuffer':_0x29c13b,'toBuffer':_0x511b7c,'unmask':_0x28e174},!process['env'][_0x174a08(0x226)])try{const _0x54a482=Vt;te[_0x174a08(0x20a)][_0x174a08(0x31f)]=function(_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46){_0x530b46<0x30?_0x4ef1dd(_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46):_0x54a482['mask'](_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46);},te['exports']['unmask']=function(_0x243381,_0x3a9b1d){const _0xb2682a=_0x174a08;_0x243381[_0xb2682a(0x1d1)]<0x20?_0x28e174(_0x243381,_0x3a9b1d):_0x54a482[_0xb2682a(0x30e)](_0x243381,_0x3a9b1d);};}catch{}return te[_0x174a08(0x20a)];}var ye,Xe;function qt(){const _0x46f36e=_0x4a72d3;if(Xe)return ye;Xe=0x1;const _0x1dc499=Symbol(_0x46f36e(0x25a)),_0x3ee0bd=Symbol(_0x46f36e(0x304));class _0x228d2d{constructor(_0x5037ce){const _0x5a0c00=_0x46f36e;this[_0x1dc499]=()=>{const _0x454f01=_0x1cd5;this[_0x454f01(0x255)]--,this[_0x3ee0bd]();},this['concurrency']=_0x5037ce||0x1/0x0,this[_0x5a0c00(0x1e7)]=[],this[_0x5a0c00(0x255)]=0x0;}[_0x46f36e(0x1af)](_0x622fb3){this['jobs']['push'](_0x622fb3),this[_0x3ee0bd]();}[_0x3ee0bd](){const _0x4af562=_0x46f36e;if(this[_0x4af562(0x255)]!==this['concurrency']&&this['jobs'][_0x4af562(0x1d1)]){const _0x1d11f1=this[_0x4af562(0x1e7)][_0x4af562(0x232)]();this[_0x4af562(0x255)]++,_0x1d11f1(this[_0x1dc499]);}}}return ye=_0x228d2d,ye;}var ve,Ze;function he(){const _0x219590=_0x4a72d3;if(Ze)return ve;Ze=0x1;const _0x1424db=_0x28ecf9,_0x516645=ce(),_0x596673=qt(),{kStatusCode:_0x232eea}=V(),_0x4719a5=Buffer[Symbol[_0x219590(0x1fb)]],_0x29cdf6=Buffer[_0x219590(0x2a6)]([0x0,0x0,0xff,0xff]),_0x1fefd6=Symbol(_0x219590(0x2be)),_0x43ea30=Symbol(_0x219590(0x2e5)),_0x2b564a=Symbol(_0x219590(0x25d)),_0x3912ca=Symbol(_0x219590(0x317)),_0xf35b0f=Symbol('error');let _0x5ed680;class _0x4f6534{constructor(_0x346005,_0x5cdb2f,_0x59fa6f){const _0x2c098a=_0x219590;if(this['_maxPayload']=_0x59fa6f|0x0,this[_0x2c098a(0x1ba)]=_0x346005||{},this[_0x2c098a(0x1fc)]=this[_0x2c098a(0x1ba)][_0x2c098a(0x2e3)]!==void 0x0?this['_options'][_0x2c098a(0x2e3)]:0x400,this[_0x2c098a(0x291)]=!!_0x5cdb2f,this[_0x2c098a(0x240)]=null,this[_0x2c098a(0x2d3)]=null,this[_0x2c098a(0x276)]=null,!_0x5ed680){const _0x5ed6ab=this[_0x2c098a(0x1ba)][_0x2c098a(0x35e)]!==void 0x0?this[_0x2c098a(0x1ba)][_0x2c098a(0x35e)]:0xa;_0x5ed680=new _0x596673(_0x5ed6ab);}}static get[_0x219590(0x2e6)](){const _0xa97760=_0x219590;return _0xa97760(0x2be);}[_0x219590(0x267)](){const _0x2a3a7e=_0x219590,_0x5e6482={};return this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x1ed)]&&(_0x5e6482['server_no_context_takeover']=!0x0),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x32e)]&&(_0x5e6482[_0x2a3a7e(0x2d1)]=!0x0),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x1cb)]&&(_0x5e6482[_0x2a3a7e(0x21a)]=this['_options'][_0x2a3a7e(0x1cb)]),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x2c3)]?_0x5e6482[_0x2a3a7e(0x1c2)]=this[_0x2a3a7e(0x1ba)]['clientMaxWindowBits']:this[_0x2a3a7e(0x1ba)]['clientMaxWindowBits']==null&&(_0x5e6482[_0x2a3a7e(0x1c2)]=!0x0),_0x5e6482;}[_0x219590(0x295)](_0x23da16){const _0xbfa509=_0x219590;return _0x23da16=this[_0xbfa509(0x2af)](_0x23da16),this['params']=this[_0xbfa509(0x291)]?this[_0xbfa509(0x34f)](_0x23da16):this[_0xbfa509(0x2a0)](_0x23da16),this[_0xbfa509(0x276)];}[_0x219590(0x1bc)](){const _0x320d33=_0x219590;if(this['_inflate']&&(this[_0x320d33(0x2d3)]['close'](),this['_inflate']=null),this[_0x320d33(0x240)]){const _0x5a426e=this[_0x320d33(0x240)][_0x2b564a];this[_0x320d33(0x240)][_0x320d33(0x2e4)](),this[_0x320d33(0x240)]=null,_0x5a426e&&_0x5a426e(new Error(_0x320d33(0x1f8)));}}[_0x219590(0x34f)](_0xead575){const _0x1feb5e=_0x219590,_0x700594=this['_options'],_0x2ae1b6=_0xead575['find'](_0x7c0352=>!(_0x700594[_0x1feb5e(0x1ed)]===!0x1&&_0x7c0352['server_no_context_takeover']||_0x7c0352[_0x1feb5e(0x21a)]&&(_0x700594[_0x1feb5e(0x1cb)]===!0x1||typeof _0x700594[_0x1feb5e(0x1cb)]==_0x1feb5e(0x251)&&_0x700594[_0x1feb5e(0x1cb)]>_0x7c0352[_0x1feb5e(0x21a)])||typeof _0x700594[_0x1feb5e(0x2c3)]==_0x1feb5e(0x251)&&!_0x7c0352[_0x1feb5e(0x1c2)]));if(!_0x2ae1b6)throw new Error(_0x1feb5e(0x2c9));return _0x700594[_0x1feb5e(0x1ed)]&&(_0x2ae1b6[_0x1feb5e(0x32b)]=!0x0),_0x700594['clientNoContextTakeover']&&(_0x2ae1b6[_0x1feb5e(0x2d1)]=!0x0),typeof _0x700594[_0x1feb5e(0x1cb)]==_0x1feb5e(0x251)&&(_0x2ae1b6[_0x1feb5e(0x21a)]=_0x700594[_0x1feb5e(0x1cb)]),typeof _0x700594['clientMaxWindowBits']==_0x1feb5e(0x251)?_0x2ae1b6[_0x1feb5e(0x1c2)]=_0x700594[_0x1feb5e(0x2c3)]:(_0x2ae1b6['client_max_window_bits']===!0x0||_0x700594[_0x1feb5e(0x2c3)]===!0x1)&&delete _0x2ae1b6['client_max_window_bits'],_0x2ae1b6;}[_0x219590(0x2a0)](_0x46145b){const _0x116c95=_0x219590,_0x337327=_0x46145b[0x0];if(this['_options'][_0x116c95(0x32e)]===!0x1&&_0x337327[_0x116c95(0x2d1)])throw new Error(_0x116c95(0x28b));if(!_0x337327[_0x116c95(0x1c2)])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x337327[_0x116c95(0x1c2)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x116c95(0x1ba)][_0x116c95(0x2c3)]===!0x1||typeof this['_options'][_0x116c95(0x2c3)]==_0x116c95(0x251)&&_0x337327[_0x116c95(0x1c2)]>this['_options'][_0x116c95(0x2c3)])throw new Error(_0x116c95(0x238));}return _0x337327;}[_0x219590(0x2af)](_0x850cf0){return _0x850cf0['forEach'](_0x453182=>{const _0x1f15d8=_0x1cd5;Object[_0x1f15d8(0x21f)](_0x453182)[_0x1f15d8(0x273)](_0x43d6ee=>{const _0x241bdc=_0x1f15d8;let _0x49f31d=_0x453182[_0x43d6ee];if(_0x49f31d[_0x241bdc(0x1d1)]>0x1)throw new Error('Parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x309));if(_0x49f31d=_0x49f31d[0x0],_0x43d6ee===_0x241bdc(0x1c2)){if(_0x49f31d!==!0x0){const _0x1024e5=+_0x49f31d;if(!Number[_0x241bdc(0x1f6)](_0x1024e5)||_0x1024e5<0x8||_0x1024e5>0xf)throw new TypeError(_0x241bdc(0x23b)+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);_0x49f31d=_0x1024e5;}else{if(!this[_0x241bdc(0x291)])throw new TypeError(_0x241bdc(0x23b)+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);}}else{if(_0x43d6ee===_0x241bdc(0x21a)){const _0x4c91d9=+_0x49f31d;if(!Number[_0x241bdc(0x1f6)](_0x4c91d9)||_0x4c91d9<0x8||_0x4c91d9>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);_0x49f31d=_0x4c91d9;}else{if(_0x43d6ee===_0x241bdc(0x2d1)||_0x43d6ee===_0x241bdc(0x32b)){if(_0x49f31d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);}else throw new Error(_0x241bdc(0x324)+_0x43d6ee+'\x22');}}_0x453182[_0x43d6ee]=_0x49f31d;});}),_0x850cf0;}['decompress'](_0x20c3ff,_0x2d7682,_0x2032dd){const _0x5c4989=_0x219590;_0x5ed680[_0x5c4989(0x1af)](_0x14c11b=>{const _0xb435e7=_0x5c4989;this[_0xb435e7(0x1e1)](_0x20c3ff,_0x2d7682,(_0x3fdb0b,_0x3d25e8)=>{_0x14c11b(),_0x2032dd(_0x3fdb0b,_0x3d25e8);});});}[_0x219590(0x2a5)](_0x368afc,_0xaafc39,_0x83235e){_0x5ed680['add'](_0x3f6679=>{const _0x40522a=_0x1cd5;this[_0x40522a(0x335)](_0x368afc,_0xaafc39,(_0x1329a1,_0x96a7e7)=>{_0x3f6679(),_0x83235e(_0x1329a1,_0x96a7e7);});});}[_0x219590(0x1e1)](_0x417c37,_0x278bac,_0x5bde4d){const _0x18c5e3=_0x219590,_0x403f1b=this[_0x18c5e3(0x291)]?_0x18c5e3(0x2f1):_0x18c5e3(0x1f9);if(!this['_inflate']){const _0x21200f=_0x403f1b+_0x18c5e3(0x2c0),_0x6a6bfd=typeof this[_0x18c5e3(0x276)][_0x21200f]!=_0x18c5e3(0x251)?_0x1424db[_0x18c5e3(0x262)]:this[_0x18c5e3(0x276)][_0x21200f];this[_0x18c5e3(0x2d3)]=_0x1424db['createInflateRaw']({...this[_0x18c5e3(0x1ba)][_0x18c5e3(0x30d)],'windowBits':_0x6a6bfd}),this[_0x18c5e3(0x2d3)][_0x1fefd6]=this,this[_0x18c5e3(0x2d3)][_0x43ea30]=0x0,this[_0x18c5e3(0x2d3)][_0x3912ca]=[],this[_0x18c5e3(0x2d3)]['on'](_0x18c5e3(0x2ba),_0xfb4282),this[_0x18c5e3(0x2d3)]['on'](_0x18c5e3(0x338),_0x290e4d);}this[_0x18c5e3(0x2d3)][_0x2b564a]=_0x5bde4d,this[_0x18c5e3(0x2d3)][_0x18c5e3(0x347)](_0x417c37),_0x278bac&&this[_0x18c5e3(0x2d3)][_0x18c5e3(0x347)](_0x29cdf6),this[_0x18c5e3(0x2d3)][_0x18c5e3(0x229)](()=>{const _0x1e4a4c=_0x18c5e3,_0x497275=this[_0x1e4a4c(0x2d3)][_0xf35b0f];if(_0x497275){this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x2e4)](),this[_0x1e4a4c(0x2d3)]=null,_0x5bde4d(_0x497275);return;}const _0x3ba3bd=_0x516645[_0x1e4a4c(0x206)](this['_inflate'][_0x3912ca],this[_0x1e4a4c(0x2d3)][_0x43ea30]);this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x268)][_0x1e4a4c(0x24f)]?(this[_0x1e4a4c(0x2d3)]['close'](),this[_0x1e4a4c(0x2d3)]=null):(this[_0x1e4a4c(0x2d3)][_0x43ea30]=0x0,this[_0x1e4a4c(0x2d3)][_0x3912ca]=[],_0x278bac&&this[_0x1e4a4c(0x276)][_0x403f1b+_0x1e4a4c(0x1ce)]&&this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x233)]()),_0x5bde4d(null,_0x3ba3bd);});}[_0x219590(0x335)](_0xc65301,_0xaf708f,_0x8204ec){const _0x2e10c9=_0x219590,_0x2abd8d=this['_isServer']?_0x2e10c9(0x1f9):_0x2e10c9(0x2f1);if(!this[_0x2e10c9(0x240)]){const _0x4173d6=_0x2abd8d+_0x2e10c9(0x2c0),_0x3ae1c6=typeof this[_0x2e10c9(0x276)][_0x4173d6]!=_0x2e10c9(0x251)?_0x1424db[_0x2e10c9(0x262)]:this['params'][_0x4173d6];this['_deflate']=_0x1424db[_0x2e10c9(0x212)]({...this[_0x2e10c9(0x1ba)][_0x2e10c9(0x2b8)],'windowBits':_0x3ae1c6}),this[_0x2e10c9(0x240)][_0x43ea30]=0x0,this[_0x2e10c9(0x240)][_0x3912ca]=[],this[_0x2e10c9(0x240)]['on']('data',_0x32a373);}this[_0x2e10c9(0x240)][_0x2b564a]=_0x8204ec,this[_0x2e10c9(0x240)][_0x2e10c9(0x347)](_0xc65301),this[_0x2e10c9(0x240)][_0x2e10c9(0x229)](_0x1424db[_0x2e10c9(0x20c)],()=>{const _0x33de8e=_0x2e10c9;if(!this[_0x33de8e(0x240)])return;let _0x35676e=_0x516645[_0x33de8e(0x206)](this['_deflate'][_0x3912ca],this[_0x33de8e(0x240)][_0x43ea30]);_0xaf708f&&(_0x35676e=new _0x4719a5(_0x35676e[_0x33de8e(0x270)],_0x35676e[_0x33de8e(0x315)],_0x35676e['length']-0x4)),this[_0x33de8e(0x240)][_0x2b564a]=null,this['_deflate'][_0x43ea30]=0x0,this['_deflate'][_0x3912ca]=[],_0xaf708f&&this['params'][_0x2abd8d+_0x33de8e(0x1ce)]&&this[_0x33de8e(0x240)][_0x33de8e(0x233)](),_0x8204ec(null,_0x35676e);});}}ve=_0x4f6534;function _0x32a373(_0x4ecada){const _0x499909=_0x219590;this[_0x3912ca][_0x499909(0x2fc)](_0x4ecada),this[_0x43ea30]+=_0x4ecada[_0x499909(0x1d1)];}function _0x290e4d(_0x3aa5a3){const _0x59fa24=_0x219590;if(this[_0x43ea30]+=_0x3aa5a3[_0x59fa24(0x1d1)],this[_0x1fefd6][_0x59fa24(0x2eb)]<0x1||this[_0x43ea30]<=this[_0x1fefd6][_0x59fa24(0x2eb)]){this[_0x3912ca]['push'](_0x3aa5a3);return;}this[_0xf35b0f]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xf35b0f][_0x59fa24(0x2b1)]=_0x59fa24(0x1e2),this[_0xf35b0f][_0x232eea]=0x3f1,this[_0x59fa24(0x325)](_0x59fa24(0x338),_0x290e4d),this[_0x59fa24(0x233)]();}function _0xfb4282(_0x4e8e16){this[_0x1fefd6]['_inflate']=null,_0x4e8e16[_0x232eea]=0x3ef,this[_0x2b564a](_0x4e8e16);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4a72d3(0x208)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x4a72d3(0x283)})),Yt=ut(zt);var Qe;function ne(){const _0x4da0c7=_0x4a72d3;if(Qe)return re[_0x4da0c7(0x20a)];Qe=0x1;const {isUtf8:_0x343a7e}=_0x35952,{hasBlob:_0x54cb84}=V(),_0x5c2968=[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 _0x462c05(_0x2f92e0){return _0x2f92e0>=0x3e8&&_0x2f92e0<=0x3f6&&_0x2f92e0!==0x3ec&&_0x2f92e0!==0x3ed&&_0x2f92e0!==0x3ee||_0x2f92e0>=0xbb8&&_0x2f92e0<=0x1387;}function _0x39c1ba(_0x528ce3){const _0x134185=_0x4da0c7,_0x169344=_0x528ce3[_0x134185(0x1d1)];let _0x96df8d=0x0;for(;_0x96df8d<_0x169344;)if((_0x528ce3[_0x96df8d]&0x80)===0x0)_0x96df8d++;else{if((_0x528ce3[_0x96df8d]&0xe0)===0xc0){if(_0x96df8d+0x1===_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d]&0xfe)===0xc0)return!0x1;_0x96df8d+=0x2;}else{if((_0x528ce3[_0x96df8d]&0xf0)===0xe0){if(_0x96df8d+0x2>=_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x2]&0xc0)!==0x80||_0x528ce3[_0x96df8d]===0xe0&&(_0x528ce3[_0x96df8d+0x1]&0xe0)===0x80||_0x528ce3[_0x96df8d]===0xed&&(_0x528ce3[_0x96df8d+0x1]&0xe0)===0xa0)return!0x1;_0x96df8d+=0x3;}else{if((_0x528ce3[_0x96df8d]&0xf8)===0xf0){if(_0x96df8d+0x3>=_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x2]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x3]&0xc0)!==0x80||_0x528ce3[_0x96df8d]===0xf0&&(_0x528ce3[_0x96df8d+0x1]&0xf0)===0x80||_0x528ce3[_0x96df8d]===0xf4&&_0x528ce3[_0x96df8d+0x1]>0x8f||_0x528ce3[_0x96df8d]>0xf4)return!0x1;_0x96df8d+=0x4;}else return!0x1;}}}return!0x0;}function _0x3b81b8(_0x265191){const _0x1b15c5=_0x4da0c7;return _0x54cb84&&typeof _0x265191==_0x1b15c5(0x22c)&&typeof _0x265191[_0x1b15c5(0x2f8)]=='function'&&typeof _0x265191[_0x1b15c5(0x239)]==_0x1b15c5(0x2a3)&&typeof _0x265191[_0x1b15c5(0x261)]==_0x1b15c5(0x218)&&(_0x265191[Symbol['toStringTag']]===_0x1b15c5(0x1db)||_0x265191[Symbol['toStringTag']]==='File');}if(re[_0x4da0c7(0x20a)]={'isBlob':_0x3b81b8,'isValidStatusCode':_0x462c05,'isValidUTF8':_0x39c1ba,'tokenChars':_0x5c2968},_0x343a7e)re['exports'][_0x4da0c7(0x1e4)]=function(_0x36e6bb){const _0x5fd1a4=_0x4da0c7;return _0x36e6bb[_0x5fd1a4(0x1d1)]<0x18?_0x39c1ba(_0x36e6bb):_0x343a7e(_0x36e6bb);};else{if(!process[_0x4da0c7(0x2ab)][_0x4da0c7(0x2c7)])try{const _0x1d602e=Yt;re[_0x4da0c7(0x20a)]['isValidUTF8']=function(_0x14a38f){const _0x2b7822=_0x4da0c7;return _0x14a38f[_0x2b7822(0x1d1)]<0x20?_0x39c1ba(_0x14a38f):_0x1d602e(_0x14a38f);};}catch{}}return re[_0x4da0c7(0x20a)];}var Se,Je;function dt(){const _0x409d8d=_0x4a72d3;if(Je)return Se;Je=0x1;const {Writable:_0x9f9ab3}=_0x561e40,_0x2b4bd8=he(),{BINARY_TYPES:_0xea2673,EMPTY_BUFFER:_0x91c53c,kStatusCode:_0x2ba3c4,kWebSocket:_0x415ee1}=V(),{concat:_0x510070,toArrayBuffer:_0x51283d,unmask:_0x44f27b}=ce(),{isValidStatusCode:_0x3ba5de,isValidUTF8:_0x494886}=ne(),_0x47157b=Buffer[Symbol[_0x409d8d(0x1fb)]],_0x2c5938=0x0,_0x4b3de5=0x1,_0x2f6e2f=0x2,_0x548f6f=0x3,_0x209d69=0x4,_0x1a29a7=0x5,_0x40e4c3=0x6;class _0x104ab7 extends _0x9f9ab3{constructor(_0x525889={}){const _0x2e21b3=_0x409d8d;super(),this['_allowSynchronousEvents']=_0x525889[_0x2e21b3(0x305)]!==void 0x0?_0x525889['allowSynchronousEvents']:!0x0,this[_0x2e21b3(0x1c9)]=_0x525889[_0x2e21b3(0x1e5)]||_0xea2673[0x0],this[_0x2e21b3(0x231)]=_0x525889[_0x2e21b3(0x2d7)]||{},this[_0x2e21b3(0x291)]=!!_0x525889[_0x2e21b3(0x1c1)],this[_0x2e21b3(0x2eb)]=_0x525889[_0x2e21b3(0x2e8)]|0x0,this['_skipUTF8Validation']=!!_0x525889[_0x2e21b3(0x21e)],this[_0x415ee1]=void 0x0,this[_0x2e21b3(0x23c)]=0x0,this[_0x2e21b3(0x1d0)]=[],this[_0x2e21b3(0x293)]=!0x1,this[_0x2e21b3(0x260)]=0x0,this[_0x2e21b3(0x25b)]=void 0x0,this[_0x2e21b3(0x286)]=0x0,this[_0x2e21b3(0x1e3)]=!0x1,this[_0x2e21b3(0x25c)]=!0x1,this[_0x2e21b3(0x360)]=0x0,this[_0x2e21b3(0x210)]=0x0,this[_0x2e21b3(0x1a8)]=0x0,this['_fragments']=[],this[_0x2e21b3(0x2f0)]=!0x1,this[_0x2e21b3(0x277)]=!0x1,this[_0x2e21b3(0x290)]=_0x2c5938;}['_write'](_0x5b00a3,_0x1cc142,_0x25898a){const _0x5bb0f8=_0x409d8d;if(this[_0x5bb0f8(0x360)]===0x8&&this[_0x5bb0f8(0x290)]==_0x2c5938)return _0x25898a();this['_bufferedBytes']+=_0x5b00a3['length'],this[_0x5bb0f8(0x1d0)][_0x5bb0f8(0x2fc)](_0x5b00a3),this['startLoop'](_0x25898a);}['consume'](_0xd2935b){const _0x5acf29=_0x409d8d;if(this[_0x5acf29(0x23c)]-=_0xd2935b,_0xd2935b===this[_0x5acf29(0x1d0)][0x0][_0x5acf29(0x1d1)])return this[_0x5acf29(0x1d0)]['shift']();if(_0xd2935b<this[_0x5acf29(0x1d0)][0x0][_0x5acf29(0x1d1)]){const _0x16052f=this[_0x5acf29(0x1d0)][0x0];return this['_buffers'][0x0]=new _0x47157b(_0x16052f[_0x5acf29(0x270)],_0x16052f['byteOffset']+_0xd2935b,_0x16052f['length']-_0xd2935b),new _0x47157b(_0x16052f['buffer'],_0x16052f[_0x5acf29(0x315)],_0xd2935b);}const _0x24d50e=Buffer[_0x5acf29(0x28e)](_0xd2935b);do{const _0x52c044=this['_buffers'][0x0],_0x4b8b37=_0x24d50e[_0x5acf29(0x1d1)]-_0xd2935b;_0xd2935b>=_0x52c044[_0x5acf29(0x1d1)]?_0x24d50e[_0x5acf29(0x357)](this[_0x5acf29(0x1d0)]['shift'](),_0x4b8b37):(_0x24d50e[_0x5acf29(0x357)](new Uint8Array(_0x52c044[_0x5acf29(0x270)],_0x52c044[_0x5acf29(0x315)],_0xd2935b),_0x4b8b37),this['_buffers'][0x0]=new _0x47157b(_0x52c044[_0x5acf29(0x270)],_0x52c044[_0x5acf29(0x315)]+_0xd2935b,_0x52c044[_0x5acf29(0x1d1)]-_0xd2935b)),_0xd2935b-=_0x52c044[_0x5acf29(0x1d1)];}while(_0xd2935b>0x0);return _0x24d50e;}['startLoop'](_0x3792ce){const _0x5ae422=_0x409d8d;this[_0x5ae422(0x277)]=!0x0;do switch(this[_0x5ae422(0x290)]){case _0x2c5938:this[_0x5ae422(0x203)](_0x3792ce);break;case _0x4b3de5:this[_0x5ae422(0x24b)](_0x3792ce);break;case _0x2f6e2f:this[_0x5ae422(0x26a)](_0x3792ce);break;case _0x548f6f:this[_0x5ae422(0x2bc)]();break;case _0x209d69:this[_0x5ae422(0x331)](_0x3792ce);break;case _0x1a29a7:case _0x40e4c3:this[_0x5ae422(0x277)]=!0x1;return;}while(this[_0x5ae422(0x277)]);this['_errored']||_0x3792ce();}[_0x409d8d(0x203)](_0x1c46d6){const _0x2f89eb=_0x409d8d;if(this['_bufferedBytes']<0x2){this[_0x2f89eb(0x277)]=!0x1;return;}const _0x11ca7c=this['consume'](0x2);if((_0x11ca7c[0x0]&0x30)!==0x0){const _0x344c0b=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x1f5),!0x0,0x3ea,_0x2f89eb(0x1b4));_0x1c46d6(_0x344c0b);return;}const _0x2a629b=(_0x11ca7c[0x0]&0x40)===0x40;if(_0x2a629b&&!this[_0x2f89eb(0x231)][_0x2b4bd8[_0x2f89eb(0x2e6)]]){const _0x43e8f8=this['createError'](RangeError,_0x2f89eb(0x35b),!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x43e8f8);return;}if(this['_fin']=(_0x11ca7c[0x0]&0x80)===0x80,this['_opcode']=_0x11ca7c[0x0]&0xf,this[_0x2f89eb(0x260)]=_0x11ca7c[0x1]&0x7f,this['_opcode']===0x0){if(_0x2a629b){const _0x342416=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x35b),!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x342416);return;}if(!this[_0x2f89eb(0x286)]){const _0x3df21f=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x1b7),!0x0,0x3ea,_0x2f89eb(0x30a));_0x1c46d6(_0x3df21f);return;}this['_opcode']=this[_0x2f89eb(0x286)];}else{if(this[_0x2f89eb(0x360)]===0x1||this[_0x2f89eb(0x360)]===0x2){if(this[_0x2f89eb(0x286)]){const _0x3bff35=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x2f89eb(0x360)],!0x0,0x3ea,_0x2f89eb(0x30a));_0x1c46d6(_0x3bff35);return;}this[_0x2f89eb(0x293)]=_0x2a629b;}else{if(this[_0x2f89eb(0x360)]>0x7&&this[_0x2f89eb(0x360)]<0xb){if(!this['_fin']){const _0x804b0=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1c46d6(_0x804b0);return;}if(_0x2a629b){const _0x77a8c3=this[_0x2f89eb(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x77a8c3);return;}if(this[_0x2f89eb(0x260)]>0x7d||this['_opcode']===0x8&&this[_0x2f89eb(0x260)]===0x1){const _0x48a10a=this[_0x2f89eb(0x272)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x2f89eb(0x260)],!0x0,0x3ea,_0x2f89eb(0x1d7));_0x1c46d6(_0x48a10a);return;}}else{const _0x2fd5ea=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x275)+this[_0x2f89eb(0x360)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1c46d6(_0x2fd5ea);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x2f89eb(0x360)]),this['_masked']=(_0x11ca7c[0x1]&0x80)===0x80,this[_0x2f89eb(0x291)]){if(!this[_0x2f89eb(0x1e3)]){const _0x251e68=this[_0x2f89eb(0x272)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1c46d6(_0x251e68);return;}}else{if(this['_masked']){const _0x24e7f4=this['createError'](RangeError,_0x2f89eb(0x285),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x1c46d6(_0x24e7f4);return;}}this[_0x2f89eb(0x260)]===0x7e?this[_0x2f89eb(0x290)]=_0x4b3de5:this[_0x2f89eb(0x260)]===0x7f?this[_0x2f89eb(0x290)]=_0x2f6e2f:this['haveLength'](_0x1c46d6);}['getPayloadLength16'](_0x5d8db1){const _0x1a515b=_0x409d8d;if(this['_bufferedBytes']<0x2){this[_0x1a515b(0x277)]=!0x1;return;}this[_0x1a515b(0x260)]=this[_0x1a515b(0x1ef)](0x2)[_0x1a515b(0x1aa)](0x0),this[_0x1a515b(0x22b)](_0x5d8db1);}[_0x409d8d(0x26a)](_0x536a22){const _0x4e1c4f=_0x409d8d;if(this[_0x4e1c4f(0x23c)]<0x8){this[_0x4e1c4f(0x277)]=!0x1;return;}const _0xe7cc21=this['consume'](0x8),_0x4271e2=_0xe7cc21['readUInt32BE'](0x0);if(_0x4271e2>Math[_0x4e1c4f(0x1b6)](0x2,0x15)-0x1){const _0x1a6e2a=this[_0x4e1c4f(0x272)](RangeError,_0x4e1c4f(0x245),!0x1,0x3f1,_0x4e1c4f(0x2e9));_0x536a22(_0x1a6e2a);return;}this[_0x4e1c4f(0x260)]=_0x4271e2*Math[_0x4e1c4f(0x1b6)](0x2,0x20)+_0xe7cc21[_0x4e1c4f(0x341)](0x4),this[_0x4e1c4f(0x22b)](_0x536a22);}[_0x409d8d(0x22b)](_0x3d28fa){const _0x217538=_0x409d8d;if(this[_0x217538(0x260)]&&this['_opcode']<0x8&&(this[_0x217538(0x210)]+=this[_0x217538(0x260)],this[_0x217538(0x210)]>this[_0x217538(0x2eb)]&&this['_maxPayload']>0x0)){const _0x486b63=this[_0x217538(0x272)](RangeError,_0x217538(0x2fd),!0x1,0x3f1,_0x217538(0x1e2));_0x3d28fa(_0x486b63);return;}this['_masked']?this[_0x217538(0x290)]=_0x548f6f:this[_0x217538(0x290)]=_0x209d69;}[_0x409d8d(0x2bc)](){const _0x41d727=_0x409d8d;if(this['_bufferedBytes']<0x4){this[_0x41d727(0x277)]=!0x1;return;}this[_0x41d727(0x25b)]=this[_0x41d727(0x1ef)](0x4),this[_0x41d727(0x290)]=_0x209d69;}[_0x409d8d(0x331)](_0x50d676){const _0x17b389=_0x409d8d;let _0x575e30=_0x91c53c;if(this[_0x17b389(0x260)]){if(this[_0x17b389(0x23c)]<this[_0x17b389(0x260)]){this['_loop']=!0x1;return;}_0x575e30=this[_0x17b389(0x1ef)](this[_0x17b389(0x260)]),this[_0x17b389(0x1e3)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x17b389(0x25b)][0x2]|this[_0x17b389(0x25b)][0x3])!==0x0&&_0x44f27b(_0x575e30,this[_0x17b389(0x25b)]);}if(this[_0x17b389(0x360)]>0x7){this[_0x17b389(0x364)](_0x575e30,_0x50d676);return;}if(this[_0x17b389(0x293)]){this['_state']=_0x1a29a7,this['decompress'](_0x575e30,_0x50d676);return;}_0x575e30[_0x17b389(0x1d1)]&&(this['_messageLength']=this[_0x17b389(0x210)],this[_0x17b389(0x1b8)]['push'](_0x575e30)),this[_0x17b389(0x296)](_0x50d676);}[_0x409d8d(0x22f)](_0x233aa9,_0x4d5c7d){const _0x60b736=_0x409d8d;this[_0x60b736(0x231)][_0x2b4bd8['extensionName']][_0x60b736(0x22f)](_0x233aa9,this[_0x60b736(0x25c)],(_0x2e68d8,_0x55de91)=>{const _0x34fdfd=_0x60b736;if(_0x2e68d8)return _0x4d5c7d(_0x2e68d8);if(_0x55de91[_0x34fdfd(0x1d1)]){if(this[_0x34fdfd(0x1a8)]+=_0x55de91[_0x34fdfd(0x1d1)],this[_0x34fdfd(0x1a8)]>this[_0x34fdfd(0x2eb)]&&this[_0x34fdfd(0x2eb)]>0x0){const _0xf8ed3b=this[_0x34fdfd(0x272)](RangeError,_0x34fdfd(0x2fd),!0x1,0x3f1,_0x34fdfd(0x1e2));_0x4d5c7d(_0xf8ed3b);return;}this['_fragments']['push'](_0x55de91);}this[_0x34fdfd(0x296)](_0x4d5c7d),this[_0x34fdfd(0x290)]===_0x2c5938&&this[_0x34fdfd(0x1c7)](_0x4d5c7d);});}[_0x409d8d(0x296)](_0x1b0096){const _0x1e7fb6=_0x409d8d;if(!this[_0x1e7fb6(0x25c)]){this['_state']=_0x2c5938;return;}const _0x3d47a6=this[_0x1e7fb6(0x1a8)],_0x73e389=this[_0x1e7fb6(0x1b8)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x1e7fb6(0x286)]=0x0,this[_0x1e7fb6(0x1b8)]=[],this['_opcode']===0x2){let _0x23b8ef;this[_0x1e7fb6(0x1c9)]===_0x1e7fb6(0x2da)?_0x23b8ef=_0x510070(_0x73e389,_0x3d47a6):this[_0x1e7fb6(0x1c9)]===_0x1e7fb6(0x2d2)?_0x23b8ef=_0x51283d(_0x510070(_0x73e389,_0x3d47a6)):this['_binaryType']===_0x1e7fb6(0x204)?_0x23b8ef=new Blob(_0x73e389):_0x23b8ef=_0x73e389,this[_0x1e7fb6(0x336)]?(this['emit'](_0x1e7fb6(0x33a),_0x23b8ef,!0x0),this[_0x1e7fb6(0x290)]=_0x2c5938):(this[_0x1e7fb6(0x290)]=_0x40e4c3,setImmediate(()=>{const _0xc6a4d3=_0x1e7fb6;this[_0xc6a4d3(0x35f)](_0xc6a4d3(0x33a),_0x23b8ef,!0x0),this[_0xc6a4d3(0x290)]=_0x2c5938,this[_0xc6a4d3(0x1c7)](_0x1b0096);}));}else{const _0x4ded03=_0x510070(_0x73e389,_0x3d47a6);if(!this[_0x1e7fb6(0x2d8)]&&!_0x494886(_0x4ded03)){const _0x4e5990=this[_0x1e7fb6(0x272)](Error,_0x1e7fb6(0x297),!0x0,0x3ef,_0x1e7fb6(0x278));_0x1b0096(_0x4e5990);return;}this[_0x1e7fb6(0x290)]===_0x1a29a7||this[_0x1e7fb6(0x336)]?(this[_0x1e7fb6(0x35f)](_0x1e7fb6(0x33a),_0x4ded03,!0x1),this[_0x1e7fb6(0x290)]=_0x2c5938):(this['_state']=_0x40e4c3,setImmediate(()=>{const _0x59109e=_0x1e7fb6;this[_0x59109e(0x35f)]('message',_0x4ded03,!0x1),this[_0x59109e(0x290)]=_0x2c5938,this[_0x59109e(0x1c7)](_0x1b0096);}));}}[_0x409d8d(0x364)](_0x51f64b,_0x28739f){const _0x424a09=_0x409d8d;if(this[_0x424a09(0x360)]===0x8){if(_0x51f64b[_0x424a09(0x1d1)]===0x0)this[_0x424a09(0x277)]=!0x1,this['emit'](_0x424a09(0x1e8),0x3ed,_0x91c53c),this[_0x424a09(0x2b0)]();else{const _0xe85135=_0x51f64b[_0x424a09(0x1aa)](0x0);if(!_0x3ba5de(_0xe85135)){const _0x386f94=this[_0x424a09(0x272)](RangeError,_0x424a09(0x1da)+_0xe85135,!0x0,0x3ea,_0x424a09(0x323));_0x28739f(_0x386f94);return;}const _0x48e277=new _0x47157b(_0x51f64b[_0x424a09(0x270)],_0x51f64b[_0x424a09(0x315)]+0x2,_0x51f64b[_0x424a09(0x1d1)]-0x2);if(!this[_0x424a09(0x2d8)]&&!_0x494886(_0x48e277)){const _0x37a146=this['createError'](Error,_0x424a09(0x297),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x28739f(_0x37a146);return;}this[_0x424a09(0x277)]=!0x1,this[_0x424a09(0x35f)](_0x424a09(0x1e8),_0xe85135,_0x48e277),this[_0x424a09(0x2b0)]();}this['_state']=_0x2c5938;return;}this[_0x424a09(0x336)]?(this['emit'](this[_0x424a09(0x360)]===0x9?_0x424a09(0x2c5):_0x424a09(0x28c),_0x51f64b),this['_state']=_0x2c5938):(this[_0x424a09(0x290)]=_0x40e4c3,setImmediate(()=>{const _0x35078d=_0x424a09;this[_0x35078d(0x35f)](this[_0x35078d(0x360)]===0x9?_0x35078d(0x2c5):_0x35078d(0x28c),_0x51f64b),this[_0x35078d(0x290)]=_0x2c5938,this[_0x35078d(0x1c7)](_0x28739f);}));}[_0x409d8d(0x272)](_0x2e68f3,_0x202ba7,_0x439d76,_0x1cec7c,_0x543ce7){const _0x2386d4=_0x409d8d;this[_0x2386d4(0x277)]=!0x1,this[_0x2386d4(0x2f0)]=!0x0;const _0x47a9b7=new _0x2e68f3(_0x439d76?_0x2386d4(0x1d3)+_0x202ba7:_0x202ba7);return Error[_0x2386d4(0x201)](_0x47a9b7,this['createError']),_0x47a9b7[_0x2386d4(0x2b1)]=_0x543ce7,_0x47a9b7[_0x2ba3c4]=_0x1cec7c,_0x47a9b7;}}return Se=_0x104ab7,Se;}var Ee,et;function _t(){const _0x15ba69=_0x4a72d3;if(et)return Ee;et=0x1;const {Duplex:_0x5d76b7}=_0x561e40,{randomFillSync:_0x1ae4c3}=_0x4f0023,_0x390c57=he(),{EMPTY_BUFFER:_0x541c5b,kWebSocket:_0x20108a,NOOP:_0x161cde}=V(),{isBlob:_0x585bbd,isValidStatusCode:_0x65cece}=ne(),{mask:_0x5271b2,toBuffer:_0x4243e5}=ce(),_0x485ddc=Symbol(_0x15ba69(0x28d)),_0x1888a7=Buffer[_0x15ba69(0x24a)](0x4),_0x3bbd1e=0x8*0x400;let _0x1049f0,_0x113a27=_0x3bbd1e;const _0x346626=0x0,_0x44822c=0x1,_0x29d60b=0x2;class _0x4b6ed4{constructor(_0x3a2025,_0x202b45,_0x39de20){const _0x2b84ac=_0x15ba69;this[_0x2b84ac(0x231)]=_0x202b45||{},_0x39de20&&(this[_0x2b84ac(0x328)]=_0x39de20,this['_maskBuffer']=Buffer[_0x2b84ac(0x24a)](0x4)),this[_0x2b84ac(0x1f3)]=_0x3a2025,this['_firstFragment']=!0x0,this[_0x2b84ac(0x335)]=!0x1,this[_0x2b84ac(0x23c)]=0x0,this[_0x2b84ac(0x30c)]=[],this['_state']=_0x346626,this['onerror']=_0x161cde,this[_0x20108a]=void 0x0;}static[_0x15ba69(0x1ee)](_0x4f6201,_0x252f8c){const _0x357e1f=_0x15ba69;let _0x47d0dd,_0x1114af=!0x1,_0x1e2921=0x2,_0x69140a=!0x1;_0x252f8c['mask']&&(_0x47d0dd=_0x252f8c[_0x357e1f(0x2a8)]||_0x1888a7,_0x252f8c[_0x357e1f(0x2cb)]?_0x252f8c[_0x357e1f(0x2cb)](_0x47d0dd):(_0x113a27===_0x3bbd1e&&(_0x1049f0===void 0x0&&(_0x1049f0=Buffer[_0x357e1f(0x24a)](_0x3bbd1e)),_0x1ae4c3(_0x1049f0,0x0,_0x3bbd1e),_0x113a27=0x0),_0x47d0dd[0x0]=_0x1049f0[_0x113a27++],_0x47d0dd[0x1]=_0x1049f0[_0x113a27++],_0x47d0dd[0x2]=_0x1049f0[_0x113a27++],_0x47d0dd[0x3]=_0x1049f0[_0x113a27++]),_0x69140a=(_0x47d0dd[0x0]|_0x47d0dd[0x1]|_0x47d0dd[0x2]|_0x47d0dd[0x3])===0x0,_0x1e2921=0x6);let _0x20c985;typeof _0x4f6201==_0x357e1f(0x2a3)?(!_0x252f8c['mask']||_0x69140a)&&_0x252f8c[_0x485ddc]!==void 0x0?_0x20c985=_0x252f8c[_0x485ddc]:(_0x4f6201=Buffer[_0x357e1f(0x2a6)](_0x4f6201),_0x20c985=_0x4f6201[_0x357e1f(0x1d1)]):(_0x20c985=_0x4f6201[_0x357e1f(0x1d1)],_0x1114af=_0x252f8c[_0x357e1f(0x31f)]&&_0x252f8c[_0x357e1f(0x27b)]&&!_0x69140a);let _0x5a49d1=_0x20c985;_0x20c985>=0x10000?(_0x1e2921+=0x8,_0x5a49d1=0x7f):_0x20c985>0x7d&&(_0x1e2921+=0x2,_0x5a49d1=0x7e);const _0x364d20=Buffer[_0x357e1f(0x28e)](_0x1114af?_0x20c985+_0x1e2921:_0x1e2921);return _0x364d20[0x0]=_0x252f8c[_0x357e1f(0x1ae)]?_0x252f8c[_0x357e1f(0x23d)]|0x80:_0x252f8c[_0x357e1f(0x23d)],_0x252f8c[_0x357e1f(0x33c)]&&(_0x364d20[0x0]|=0x40),_0x364d20[0x1]=_0x5a49d1,_0x5a49d1===0x7e?_0x364d20[_0x357e1f(0x20b)](_0x20c985,0x2):_0x5a49d1===0x7f&&(_0x364d20[0x2]=_0x364d20[0x3]=0x0,_0x364d20[_0x357e1f(0x29e)](_0x20c985,0x4,0x6)),_0x252f8c[_0x357e1f(0x31f)]?(_0x364d20[0x1]|=0x80,_0x364d20[_0x1e2921-0x4]=_0x47d0dd[0x0],_0x364d20[_0x1e2921-0x3]=_0x47d0dd[0x1],_0x364d20[_0x1e2921-0x2]=_0x47d0dd[0x2],_0x364d20[_0x1e2921-0x1]=_0x47d0dd[0x3],_0x69140a?[_0x364d20,_0x4f6201]:_0x1114af?(_0x5271b2(_0x4f6201,_0x47d0dd,_0x364d20,_0x1e2921,_0x20c985),[_0x364d20]):(_0x5271b2(_0x4f6201,_0x47d0dd,_0x4f6201,0x0,_0x20c985),[_0x364d20,_0x4f6201])):[_0x364d20,_0x4f6201];}['close'](_0x36b5d2,_0x5ae996,_0x51bb85,_0x18c2fe){const _0x151862=_0x15ba69;let _0x581e7d;if(_0x36b5d2===void 0x0)_0x581e7d=_0x541c5b;else{if(typeof _0x36b5d2!='number'||!_0x65cece(_0x36b5d2))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5ae996===void 0x0||!_0x5ae996[_0x151862(0x1d1)])_0x581e7d=Buffer[_0x151862(0x28e)](0x2),_0x581e7d[_0x151862(0x20b)](_0x36b5d2,0x0);else{const _0x37e844=Buffer['byteLength'](_0x5ae996);if(_0x37e844>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x581e7d=Buffer[_0x151862(0x28e)](0x2+_0x37e844),_0x581e7d[_0x151862(0x20b)](_0x36b5d2,0x0),typeof _0x5ae996=='string'?_0x581e7d[_0x151862(0x347)](_0x5ae996,0x2):_0x581e7d[_0x151862(0x357)](_0x5ae996,0x2);}}const _0x25885b={[_0x485ddc]:_0x581e7d['length'],'fin':!0x0,'generateMask':this[_0x151862(0x328)],'mask':_0x51bb85,'maskBuffer':this[_0x151862(0x2b6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x151862(0x290)]!==_0x346626?this[_0x151862(0x27c)]([this[_0x151862(0x1b0)],_0x581e7d,!0x1,_0x25885b,_0x18c2fe]):this['sendFrame'](_0x4b6ed4[_0x151862(0x1ee)](_0x581e7d,_0x25885b),_0x18c2fe);}[_0x15ba69(0x2c5)](_0x30bcc7,_0xacb7ed,_0x330325){const _0x30c2c8=_0x15ba69;let _0x1bbfd5,_0x5cedf4;if(typeof _0x30bcc7=='string'?(_0x1bbfd5=Buffer[_0x30c2c8(0x2b7)](_0x30bcc7),_0x5cedf4=!0x1):_0x585bbd(_0x30bcc7)?(_0x1bbfd5=_0x30bcc7['size'],_0x5cedf4=!0x1):(_0x30bcc7=_0x4243e5(_0x30bcc7),_0x1bbfd5=_0x30bcc7[_0x30c2c8(0x1d1)],_0x5cedf4=_0x4243e5[_0x30c2c8(0x27b)]),_0x1bbfd5>0x7d)throw new RangeError(_0x30c2c8(0x310));const _0x2bccf2={[_0x485ddc]:_0x1bbfd5,'fin':!0x0,'generateMask':this[_0x30c2c8(0x328)],'mask':_0xacb7ed,'maskBuffer':this[_0x30c2c8(0x2b6)],'opcode':0x9,'readOnly':_0x5cedf4,'rsv1':!0x1};_0x585bbd(_0x30bcc7)?this['_state']!==_0x346626?this['enqueue']([this[_0x30c2c8(0x20f)],_0x30bcc7,!0x1,_0x2bccf2,_0x330325]):this[_0x30c2c8(0x20f)](_0x30bcc7,!0x1,_0x2bccf2,_0x330325):this[_0x30c2c8(0x290)]!==_0x346626?this['enqueue']([this[_0x30c2c8(0x1b0)],_0x30bcc7,!0x1,_0x2bccf2,_0x330325]):this[_0x30c2c8(0x29f)](_0x4b6ed4['frame'](_0x30bcc7,_0x2bccf2),_0x330325);}[_0x15ba69(0x28c)](_0x3d6a6b,_0x44b3bd,_0x4f9566){const _0x5b7224=_0x15ba69;let _0x35c0bb,_0xf737f3;if(typeof _0x3d6a6b=='string'?(_0x35c0bb=Buffer[_0x5b7224(0x2b7)](_0x3d6a6b),_0xf737f3=!0x1):_0x585bbd(_0x3d6a6b)?(_0x35c0bb=_0x3d6a6b[_0x5b7224(0x35d)],_0xf737f3=!0x1):(_0x3d6a6b=_0x4243e5(_0x3d6a6b),_0x35c0bb=_0x3d6a6b['length'],_0xf737f3=_0x4243e5['readOnly']),_0x35c0bb>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2c28db={[_0x485ddc]:_0x35c0bb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x44b3bd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xf737f3,'rsv1':!0x1};_0x585bbd(_0x3d6a6b)?this[_0x5b7224(0x290)]!==_0x346626?this[_0x5b7224(0x27c)]([this['getBlobData'],_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566]):this[_0x5b7224(0x20f)](_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566):this[_0x5b7224(0x290)]!==_0x346626?this['enqueue']([this[_0x5b7224(0x1b0)],_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566]):this['sendFrame'](_0x4b6ed4[_0x5b7224(0x1ee)](_0x3d6a6b,_0x2c28db),_0x4f9566);}[_0x15ba69(0x1ad)](_0x1b8e91,_0x2737de,_0x58401e){const _0x1f9a51=_0x15ba69,_0xc6a8d5=this[_0x1f9a51(0x231)][_0x390c57['extensionName']];let _0x49d936=_0x2737de[_0x1f9a51(0x25e)]?0x2:0x1,_0x4c6bc2=_0x2737de['compress'],_0x3b7958,_0x353cb3;typeof _0x1b8e91==_0x1f9a51(0x2a3)?(_0x3b7958=Buffer[_0x1f9a51(0x2b7)](_0x1b8e91),_0x353cb3=!0x1):_0x585bbd(_0x1b8e91)?(_0x3b7958=_0x1b8e91[_0x1f9a51(0x35d)],_0x353cb3=!0x1):(_0x1b8e91=_0x4243e5(_0x1b8e91),_0x3b7958=_0x1b8e91[_0x1f9a51(0x1d1)],_0x353cb3=_0x4243e5[_0x1f9a51(0x27b)]),this[_0x1f9a51(0x314)]?(this[_0x1f9a51(0x314)]=!0x1,_0x4c6bc2&&_0xc6a8d5&&_0xc6a8d5[_0x1f9a51(0x276)][_0xc6a8d5[_0x1f9a51(0x291)]?'server_no_context_takeover':_0x1f9a51(0x2d1)]&&(_0x4c6bc2=_0x3b7958>=_0xc6a8d5[_0x1f9a51(0x1fc)]),this['_compress']=_0x4c6bc2):(_0x4c6bc2=!0x1,_0x49d936=0x0),_0x2737de['fin']&&(this[_0x1f9a51(0x314)]=!0x0);const _0x5a38ad={[_0x485ddc]:_0x3b7958,'fin':_0x2737de[_0x1f9a51(0x1ae)],'generateMask':this[_0x1f9a51(0x328)],'mask':_0x2737de[_0x1f9a51(0x31f)],'maskBuffer':this[_0x1f9a51(0x2b6)],'opcode':_0x49d936,'readOnly':_0x353cb3,'rsv1':_0x4c6bc2};_0x585bbd(_0x1b8e91)?this[_0x1f9a51(0x290)]!==_0x346626?this[_0x1f9a51(0x27c)]([this[_0x1f9a51(0x20f)],_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e]):this[_0x1f9a51(0x20f)](_0x1b8e91,this['_compress'],_0x5a38ad,_0x58401e):this[_0x1f9a51(0x290)]!==_0x346626?this['enqueue']([this['dispatch'],_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e]):this[_0x1f9a51(0x1b0)](_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e);}[_0x15ba69(0x20f)](_0x385f48,_0x4bb732,_0x336d08,_0x54e7b0){const _0x3648e5=_0x15ba69;this[_0x3648e5(0x23c)]+=_0x336d08[_0x485ddc],this[_0x3648e5(0x290)]=_0x29d60b,_0x385f48[_0x3648e5(0x2f8)]()['then'](_0x247e57=>{const _0x5f527c=_0x3648e5;if(this[_0x5f527c(0x1f3)][_0x5f527c(0x2ee)]){const _0x1f96c4=new Error(_0x5f527c(0x1a9));process[_0x5f527c(0x1c8)](_0x421dfb,this,_0x1f96c4,_0x54e7b0);return;}this[_0x5f527c(0x23c)]-=_0x336d08[_0x485ddc];const _0x363e73=_0x4243e5(_0x247e57);_0x4bb732?this[_0x5f527c(0x1b0)](_0x363e73,_0x4bb732,_0x336d08,_0x54e7b0):(this[_0x5f527c(0x290)]=_0x346626,this[_0x5f527c(0x29f)](_0x4b6ed4['frame'](_0x363e73,_0x336d08),_0x54e7b0),this[_0x5f527c(0x355)]());})[_0x3648e5(0x234)](_0x4f26ba=>{const _0x56f1f8=_0x3648e5;process[_0x56f1f8(0x1c8)](_0x2309af,this,_0x4f26ba,_0x54e7b0);});}[_0x15ba69(0x1b0)](_0x50061c,_0x215aa1,_0x54b5a7,_0x5e10a4){const _0x2995b4=_0x15ba69;if(!_0x215aa1){this[_0x2995b4(0x29f)](_0x4b6ed4[_0x2995b4(0x1ee)](_0x50061c,_0x54b5a7),_0x5e10a4);return;}const _0x3d1314=this['_extensions'][_0x390c57[_0x2995b4(0x2e6)]];this[_0x2995b4(0x23c)]+=_0x54b5a7[_0x485ddc],this[_0x2995b4(0x290)]=_0x44822c,_0x3d1314[_0x2995b4(0x2a5)](_0x50061c,_0x54b5a7['fin'],(_0x555ebd,_0x411015)=>{const _0x5726fb=_0x2995b4;if(this['_socket'][_0x5726fb(0x2ee)]){const _0x4c7d36=new Error(_0x5726fb(0x202));_0x421dfb(this,_0x4c7d36,_0x5e10a4);return;}this['_bufferedBytes']-=_0x54b5a7[_0x485ddc],this[_0x5726fb(0x290)]=_0x346626,_0x54b5a7['readOnly']=!0x1,this['sendFrame'](_0x4b6ed4[_0x5726fb(0x1ee)](_0x411015,_0x54b5a7),_0x5e10a4),this[_0x5726fb(0x355)]();});}[_0x15ba69(0x355)](){const _0x4235c0=_0x15ba69;for(;this[_0x4235c0(0x290)]===_0x346626&&this[_0x4235c0(0x30c)][_0x4235c0(0x1d1)];){const _0x121c9b=this[_0x4235c0(0x30c)][_0x4235c0(0x232)]();this['_bufferedBytes']-=_0x121c9b[0x3][_0x485ddc],Reflect[_0x4235c0(0x28f)](_0x121c9b[0x0],this,_0x121c9b[_0x4235c0(0x2e0)](0x1));}}['enqueue'](_0x41282b){const _0x3e18f0=_0x15ba69;this['_bufferedBytes']+=_0x41282b[0x3][_0x485ddc],this[_0x3e18f0(0x30c)][_0x3e18f0(0x2fc)](_0x41282b);}[_0x15ba69(0x29f)](_0x1244f7,_0x434e15){const _0x1480b5=_0x15ba69;_0x1244f7['length']===0x2?(this[_0x1480b5(0x1f3)][_0x1480b5(0x2c2)](),this['_socket'][_0x1480b5(0x347)](_0x1244f7[0x0]),this['_socket']['write'](_0x1244f7[0x1],_0x434e15),this[_0x1480b5(0x1f3)]['uncork']()):this['_socket'][_0x1480b5(0x347)](_0x1244f7[0x0],_0x434e15);}}Ee=_0x4b6ed4;function _0x421dfb(_0x10f6cf,_0x4a9cec,_0x375a88){const _0x579642=_0x15ba69;typeof _0x375a88=='function'&&_0x375a88(_0x4a9cec);for(let _0x755365=0x0;_0x755365<_0x10f6cf['_queue']['length'];_0x755365++){const _0x463cd2=_0x10f6cf[_0x579642(0x30c)][_0x755365],_0x1a49e3=_0x463cd2[_0x463cd2[_0x579642(0x1d1)]-0x1];typeof _0x1a49e3=='function'&&_0x1a49e3(_0x4a9cec);}}function _0x2309af(_0x3e426c,_0x15a70a,_0x3ecf64){_0x421dfb(_0x3e426c,_0x15a70a,_0x3ecf64),_0x3e426c['onerror'](_0x15a70a);}return Ee;}var xe,tt;function Kt(){const _0x5adaba=_0x4a72d3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1515cc,kListener:_0x457ced}=V(),_0x14a3df=Symbol(_0x5adaba(0x2ad)),_0xf69603=Symbol(_0x5adaba(0x30b)),_0x3e65d2=Symbol(_0x5adaba(0x350)),_0x4c81a4=Symbol(_0x5adaba(0x2dd)),_0x424e54=Symbol(_0x5adaba(0x24e)),_0x834036=Symbol(_0x5adaba(0x21d)),_0xc7891=Symbol(_0x5adaba(0x359)),_0x32310b=Symbol(_0x5adaba(0x27f));class _0x18c58b{constructor(_0x4e8e0c){this[_0x834036]=null,this[_0xc7891]=_0x4e8e0c;}get[_0x5adaba(0x2c6)](){return this[_0x834036];}get[_0x5adaba(0x239)](){return this[_0xc7891];}}Object[_0x5adaba(0x208)](_0x18c58b[_0x5adaba(0x311)],_0x5adaba(0x2c6),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x18c58b[_0x5adaba(0x311)],_0x5adaba(0x239),{'enumerable':!0x0});class _0x1a2d1c extends _0x18c58b{constructor(_0x3f8568,_0x565d5e={}){const _0x4f2ca0=_0x5adaba;super(_0x3f8568),this[_0x14a3df]=_0x565d5e['code']===void 0x0?0x0:_0x565d5e[_0x4f2ca0(0x2b1)],this[_0x424e54]=_0x565d5e[_0x4f2ca0(0x21b)]===void 0x0?'':_0x565d5e[_0x4f2ca0(0x21b)],this[_0x32310b]=_0x565d5e['wasClean']===void 0x0?!0x1:_0x565d5e[_0x4f2ca0(0x2f2)];}get[_0x5adaba(0x2b1)](){return this[_0x14a3df];}get[_0x5adaba(0x21b)](){return this[_0x424e54];}get[_0x5adaba(0x2f2)](){return this[_0x32310b];}}Object['defineProperty'](_0x1a2d1c['prototype'],_0x5adaba(0x2b1),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x1a2d1c[_0x5adaba(0x311)],_0x5adaba(0x21b),{'enumerable':!0x0}),Object['defineProperty'](_0x1a2d1c[_0x5adaba(0x311)],_0x5adaba(0x2f2),{'enumerable':!0x0});class _0x59c88e extends _0x18c58b{constructor(_0x5ad16d,_0x366d01={}){const _0x15fc56=_0x5adaba;super(_0x5ad16d),this[_0x3e65d2]=_0x366d01[_0x15fc56(0x2ba)]===void 0x0?null:_0x366d01['error'],this[_0x4c81a4]=_0x366d01['message']===void 0x0?'':_0x366d01[_0x15fc56(0x33a)];}get[_0x5adaba(0x2ba)](){return this[_0x3e65d2];}get['message'](){return this[_0x4c81a4];}}Object[_0x5adaba(0x208)](_0x59c88e[_0x5adaba(0x311)],_0x5adaba(0x2ba),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x59c88e[_0x5adaba(0x311)],_0x5adaba(0x33a),{'enumerable':!0x0});class _0x494109 extends _0x18c58b{constructor(_0x9f72f2,_0x53aa1e={}){const _0x428e41=_0x5adaba;super(_0x9f72f2),this[_0xf69603]=_0x53aa1e[_0x428e41(0x338)]===void 0x0?null:_0x53aa1e[_0x428e41(0x338)];}get[_0x5adaba(0x338)](){return this[_0xf69603];}}Object[_0x5adaba(0x208)](_0x494109[_0x5adaba(0x311)],_0x5adaba(0x338),{'enumerable':!0x0}),xe={'CloseEvent':_0x1a2d1c,'ErrorEvent':_0x59c88e,'Event':_0x18c58b,'EventTarget':{'addEventListener'(_0x28b117,_0x1b824d,_0x27a749={}){const _0x4ad4ab=_0x5adaba;for(const _0x281237 of this[_0x4ad4ab(0x2ae)](_0x28b117))if(!_0x27a749[_0x1515cc]&&_0x281237[_0x457ced]===_0x1b824d&&!_0x281237[_0x1515cc])return;let _0x36220d;if(_0x28b117===_0x4ad4ab(0x33a))_0x36220d=function(_0x2fbb71,_0x39f831){const _0x3f267a=_0x4ad4ab,_0x4f00a4=new _0x494109(_0x3f267a(0x33a),{'data':_0x39f831?_0x2fbb71:_0x2fbb71[_0x3f267a(0x244)]()});_0x4f00a4[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x4f00a4);};else{if(_0x28b117===_0x4ad4ab(0x2e4))_0x36220d=function(_0x1f0f43,_0x452c53){const _0x229d64=_0x4ad4ab,_0x1fb148=new _0x1a2d1c(_0x229d64(0x2e4),{'code':_0x1f0f43,'reason':_0x452c53[_0x229d64(0x244)](),'wasClean':this[_0x229d64(0x1b1)]&&this[_0x229d64(0x326)]});_0x1fb148[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x1fb148);};else{if(_0x28b117===_0x4ad4ab(0x2ba))_0x36220d=function(_0x3859fe){const _0x54066a=new _0x59c88e('error',{'error':_0x3859fe,'message':_0x3859fe['message']});_0x54066a[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x54066a);};else{if(_0x28b117===_0x4ad4ab(0x2bf))_0x36220d=function(){const _0x584fc7=_0x4ad4ab,_0x131ac9=new _0x18c58b(_0x584fc7(0x2bf));_0x131ac9[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x131ac9);};else return;}}}_0x36220d[_0x1515cc]=!!_0x27a749[_0x1515cc],_0x36220d[_0x457ced]=_0x1b824d,_0x27a749[_0x4ad4ab(0x269)]?this[_0x4ad4ab(0x269)](_0x28b117,_0x36220d):this['on'](_0x28b117,_0x36220d);},'removeEventListener'(_0x2f74fd,_0x121a15){const _0x7eabcd=_0x5adaba;for(const _0x3e0289 of this[_0x7eabcd(0x2ae)](_0x2f74fd))if(_0x3e0289[_0x457ced]===_0x121a15&&!_0x3e0289[_0x1515cc]){this[_0x7eabcd(0x325)](_0x2f74fd,_0x3e0289);break;}}},'MessageEvent':_0x494109};function _0x51f83e(_0x593431,_0x30ec3c,_0x41d716){const _0x3f6848=_0x5adaba;typeof _0x593431==_0x3f6848(0x22c)&&_0x593431[_0x3f6848(0x342)]?_0x593431[_0x3f6848(0x342)][_0x3f6848(0x256)](_0x593431,_0x41d716):_0x593431['call'](_0x30ec3c,_0x41d716);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x503037}=ne();function _0x1a6527(_0x5418af,_0x33ac48,_0x3da887){const _0x244a10=_0x1cd5;_0x5418af[_0x33ac48]===void 0x0?_0x5418af[_0x33ac48]=[_0x3da887]:_0x5418af[_0x33ac48][_0x244a10(0x2fc)](_0x3da887);}function _0x450a94(_0x16ae90){const _0x461271=_0x1cd5,_0x449ecd=Object[_0x461271(0x20d)](null);let _0x12740d=Object[_0x461271(0x20d)](null),_0x2b58a0=!0x1,_0x5d8bcf=!0x1,_0x5458b9=!0x1,_0x2729c0,_0x3f1fd2,_0xf67ff=-0x1,_0x427a88=-0x1,_0x392891=-0x1,_0x156eff=0x0;for(;_0x156eff<_0x16ae90[_0x461271(0x1d1)];_0x156eff++)if(_0x427a88=_0x16ae90[_0x461271(0x207)](_0x156eff),_0x2729c0===void 0x0){if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x156eff!==0x0&&(_0x427a88===0x20||_0x427a88===0x9))_0x392891===-0x1&&_0xf67ff!==-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff);const _0x28f2e1=_0x16ae90['slice'](_0xf67ff,_0x392891);_0x427a88===0x2c?(_0x1a6527(_0x449ecd,_0x28f2e1,_0x12740d),_0x12740d=Object[_0x461271(0x20d)](null)):_0x2729c0=_0x28f2e1,_0xf67ff=_0x392891=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x156eff);}}}else{if(_0x3f1fd2===void 0x0){if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x427a88===0x20||_0x427a88===0x9)_0x392891===-0x1&&_0xf67ff!==-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff),_0x1a6527(_0x12740d,_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891),!0x0),_0x427a88===0x2c&&(_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d),_0x12740d=Object[_0x461271(0x20d)](null),_0x2729c0=void 0x0),_0xf67ff=_0x392891=-0x1;}else{if(_0x427a88===0x3d&&_0xf67ff!==-0x1&&_0x392891===-0x1)_0x3f1fd2=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x156eff),_0xf67ff=_0x392891=-0x1;else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}}else{if(_0x5d8bcf){if(_0x503037[_0x427a88]!==0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0xf67ff===-0x1?_0xf67ff=_0x156eff:_0x2b58a0||(_0x2b58a0=!0x0),_0x5d8bcf=!0x1;}else{if(_0x5458b9){if(_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x427a88===0x22&&_0xf67ff!==-0x1)_0x5458b9=!0x1,_0x392891=_0x156eff;else{if(_0x427a88===0x5c)_0x5d8bcf=!0x0;else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}else{if(_0x427a88===0x22&&_0x16ae90[_0x461271(0x207)](_0x156eff-0x1)===0x3d)_0x5458b9=!0x0;else{if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0xf67ff!==-0x1&&(_0x427a88===0x20||_0x427a88===0x9))_0x392891===-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff);let _0x1b82e6=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891);_0x2b58a0&&(_0x1b82e6=_0x1b82e6[_0x461271(0x213)](/\\/g,''),_0x2b58a0=!0x1),_0x1a6527(_0x12740d,_0x3f1fd2,_0x1b82e6),_0x427a88===0x2c&&(_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d),_0x12740d=Object['create'](null),_0x2729c0=void 0x0),_0x3f1fd2=void 0x0,_0xf67ff=_0x392891=-0x1;}else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}}}}}if(_0xf67ff===-0x1||_0x5458b9||_0x427a88===0x20||_0x427a88===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x392891===-0x1&&(_0x392891=_0x156eff);const _0x96fdc7=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891);return _0x2729c0===void 0x0?_0x1a6527(_0x449ecd,_0x96fdc7,_0x12740d):(_0x3f1fd2===void 0x0?_0x1a6527(_0x12740d,_0x96fdc7,!0x0):_0x2b58a0?_0x1a6527(_0x12740d,_0x3f1fd2,_0x96fdc7[_0x461271(0x213)](/\\/g,'')):_0x1a6527(_0x12740d,_0x3f1fd2,_0x96fdc7),_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d)),_0x449ecd;}function _0x24cb41(_0xf7dfc7){const _0x2c3973=_0x1cd5;return Object['keys'](_0xf7dfc7)[_0x2c3973(0x1fa)](_0xf17633=>{const _0x484af1=_0x2c3973;let _0x3555c7=_0xf7dfc7[_0xf17633];return Array['isArray'](_0x3555c7)||(_0x3555c7=[_0x3555c7]),_0x3555c7[_0x484af1(0x1fa)](_0x1daa04=>[_0xf17633]['concat'](Object[_0x484af1(0x21f)](_0x1daa04)['map'](_0x5a7e5f=>{const _0x2b1079=_0x484af1;let _0x3dad6a=_0x1daa04[_0x5a7e5f];return Array['isArray'](_0x3dad6a)||(_0x3dad6a=[_0x3dad6a]),_0x3dad6a[_0x2b1079(0x1fa)](_0x1eb30d=>_0x1eb30d===!0x0?_0x5a7e5f:_0x5a7e5f+'='+_0x1eb30d)[_0x2b1079(0x29c)](';\x20');}))[_0x484af1(0x29c)](';\x20'))[_0x484af1(0x29c)](',\x20');})['join'](',\x20');}return be={'format':_0x24cb41,'parse':_0x450a94},be;}var we,st;function Ie(){const _0xac342c=_0x4a72d3;if(st)return we;st=0x1;const _0x1be26c=_0x3eeacf,_0x2f0706=_0x5db4e4,_0x544612=_0x26b4e1,_0x2628e9=_0x5c837e,_0x3c7358=_0x281053,{randomBytes:_0xf38dc7,createHash:_0x27c556}=_0x4f0023,{Duplex:_0xa7d432,Readable:_0xa3fff4}=_0x561e40,{URL:_0x165eec}=_0x129d17,_0x2524a9=he(),_0x429fb5=dt(),_0xd2827b=_t(),{isBlob:_0xd3c46c}=ne(),{BINARY_TYPES:_0x3594be,EMPTY_BUFFER:_0x1dd1e3,GUID:_0x575119,kForOnEventAttribute:_0x75af3c,kListener:_0x307415,kStatusCode:_0x3b1dbd,kWebSocket:_0x241bd4,NOOP:_0x178786}=V(),{EventTarget:{addEventListener:_0x448d26,removeEventListener:_0x47abd1}}=Kt(),{format:_0x1c3ca3,parse:_0x4fcd46}=pt(),{toBuffer:_0x277766}=ce(),_0x3f21c3=0x1e*0x3e8,_0x2a74fc=Symbol(_0xac342c(0x2d0)),_0x126d7e=[0x8,0xd],_0x1be25f=[_0xac342c(0x337),_0xac342c(0x34a),_0xac342c(0x1dc),_0xac342c(0x2b4)],_0x1316f1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55295a extends _0x1be26c{constructor(_0x577a4a,_0x2786bf,_0x39033a){const _0x2d4e6=_0xac342c;super(),this[_0x2d4e6(0x1c9)]=_0x3594be[0x0],this[_0x2d4e6(0x321)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2d4e6(0x326)]=!0x1,this['_closeMessage']=_0x1dd1e3,this[_0x2d4e6(0x2ec)]=null,this[_0x2d4e6(0x2d4)]=!0x1,this[_0x2d4e6(0x231)]={},this[_0x2d4e6(0x2ca)]=!0x1,this[_0x2d4e6(0x2b9)]='',this[_0x2d4e6(0x31d)]=_0x55295a[_0x2d4e6(0x337)],this[_0x2d4e6(0x2ff)]=null,this[_0x2d4e6(0x34b)]=null,this[_0x2d4e6(0x1f3)]=null,_0x577a4a!==null?(this[_0x2d4e6(0x348)]=0x0,this['_isServer']=!0x1,this[_0x2d4e6(0x300)]=0x0,_0x2786bf===void 0x0?_0x2786bf=[]:Array[_0x2d4e6(0x29d)](_0x2786bf)||(typeof _0x2786bf==_0x2d4e6(0x22c)&&_0x2786bf!==null?(_0x39033a=_0x2786bf,_0x2786bf=[]):_0x2786bf=[_0x2786bf]),_0x13f2b6(this,_0x577a4a,_0x2786bf,_0x39033a)):(this[_0x2d4e6(0x247)]=_0x39033a[_0x2d4e6(0x2e1)],this[_0x2d4e6(0x291)]=!0x0);}get[_0xac342c(0x1e5)](){const _0x476f62=_0xac342c;return this[_0x476f62(0x1c9)];}set[_0xac342c(0x1e5)](_0x3bb849){const _0x599ad1=_0xac342c;_0x3594be[_0x599ad1(0x354)](_0x3bb849)&&(this[_0x599ad1(0x1c9)]=_0x3bb849,this[_0x599ad1(0x2ff)]&&(this[_0x599ad1(0x2ff)][_0x599ad1(0x1c9)]=_0x3bb849));}get[_0xac342c(0x2c1)](){const _0x30e542=_0xac342c;return this[_0x30e542(0x1f3)]?this[_0x30e542(0x1f3)][_0x30e542(0x32d)][_0x30e542(0x1d1)]+this['_sender'][_0x30e542(0x23c)]:this[_0x30e542(0x348)];}get[_0xac342c(0x2d7)](){const _0x3ae645=_0xac342c;return Object[_0x3ae645(0x21f)](this[_0x3ae645(0x231)])[_0x3ae645(0x29c)]();}get['isPaused'](){const _0x174879=_0xac342c;return this[_0x174879(0x2ca)];}get['onclose'](){return null;}get[_0xac342c(0x1d5)](){return null;}get[_0xac342c(0x223)](){return null;}get['onmessage'](){return null;}get[_0xac342c(0x2f7)](){const _0x33edc9=_0xac342c;return this[_0x33edc9(0x2b9)];}get[_0xac342c(0x248)](){const _0x3c99c7=_0xac342c;return this[_0x3c99c7(0x31d)];}get[_0xac342c(0x2f9)](){const _0x3f6e32=_0xac342c;return this[_0x3f6e32(0x35c)];}[_0xac342c(0x2b2)](_0x28dbfb,_0xba9feb,_0x3613d6){const _0x46f54f=_0xac342c,_0x2606f8=new _0x429fb5({'allowSynchronousEvents':_0x3613d6[_0x46f54f(0x305)],'binaryType':this[_0x46f54f(0x1e5)],'extensions':this[_0x46f54f(0x231)],'isServer':this[_0x46f54f(0x291)],'maxPayload':_0x3613d6[_0x46f54f(0x2e8)],'skipUTF8Validation':_0x3613d6['skipUTF8Validation']}),_0x3e612f=new _0xd2827b(_0x28dbfb,this[_0x46f54f(0x231)],_0x3613d6['generateMask']);this[_0x46f54f(0x2ff)]=_0x2606f8,this['_sender']=_0x3e612f,this[_0x46f54f(0x1f3)]=_0x28dbfb,_0x2606f8[_0x241bd4]=this,_0x3e612f[_0x241bd4]=this,_0x28dbfb[_0x241bd4]=this,_0x2606f8['on'](_0x46f54f(0x1e8),_0xb07993),_0x2606f8['on'](_0x46f54f(0x23a),_0xec923a),_0x2606f8['on']('error',_0x62b3f),_0x2606f8['on'](_0x46f54f(0x33a),_0x13d801),_0x2606f8['on'](_0x46f54f(0x2c5),_0x5030a4),_0x2606f8['on'](_0x46f54f(0x28c),_0xa6d750),_0x3e612f[_0x46f54f(0x1d5)]=_0x4bf725,_0x28dbfb[_0x46f54f(0x1c6)]&&_0x28dbfb[_0x46f54f(0x1c6)](0x0),_0x28dbfb['setNoDelay']&&_0x28dbfb['setNoDelay'](),_0xba9feb[_0x46f54f(0x1d1)]>0x0&&_0x28dbfb[_0x46f54f(0x259)](_0xba9feb),_0x28dbfb['on']('close',_0x5d045d),_0x28dbfb['on']('data',_0x5d54c0),_0x28dbfb['on'](_0x46f54f(0x2b0),_0x28e09e),_0x28dbfb['on']('error',_0x4891af),this[_0x46f54f(0x31d)]=_0x55295a[_0x46f54f(0x34a)],this[_0x46f54f(0x35f)](_0x46f54f(0x2bf));}[_0xac342c(0x2dc)](){const _0x348ce1=_0xac342c;if(!this['_socket']){this[_0x348ce1(0x31d)]=_0x55295a[_0x348ce1(0x2b4)],this['emit'](_0x348ce1(0x2e4),this['_closeCode'],this['_closeMessage']);return;}this[_0x348ce1(0x231)][_0x2524a9['extensionName']]&&this[_0x348ce1(0x231)][_0x2524a9['extensionName']][_0x348ce1(0x1bc)](),this[_0x348ce1(0x2ff)][_0x348ce1(0x1dd)](),this['_readyState']=_0x55295a[_0x348ce1(0x2b4)],this['emit'](_0x348ce1(0x2e4),this['_closeCode'],this[_0x348ce1(0x263)]);}[_0xac342c(0x2e4)](_0x16bd43,_0x59bd12){const _0x310a98=_0xac342c;if(this[_0x310a98(0x248)]!==_0x55295a[_0x310a98(0x2b4)]){if(this[_0x310a98(0x248)]===_0x55295a[_0x310a98(0x337)]){_0x580dfc(this,this[_0x310a98(0x280)],_0x310a98(0x2c4));return;}if(this[_0x310a98(0x248)]===_0x55295a[_0x310a98(0x1dc)]){this[_0x310a98(0x326)]&&(this[_0x310a98(0x1b1)]||this[_0x310a98(0x2ff)][_0x310a98(0x32d)][_0x310a98(0x339)])&&this['_socket']['end']();return;}this[_0x310a98(0x31d)]=_0x55295a[_0x310a98(0x1dc)],this['_sender']['close'](_0x16bd43,_0x59bd12,!this[_0x310a98(0x291)],_0x27e33c=>{const _0x1234ee=_0x310a98;_0x27e33c||(this['_closeFrameSent']=!0x0,(this[_0x1234ee(0x1b1)]||this['_receiver'][_0x1234ee(0x32d)][_0x1234ee(0x339)])&&this['_socket'][_0x1234ee(0x2b0)]());}),_0x5602c4(this);}}['pause'](){const _0x243aef=_0xac342c;this[_0x243aef(0x248)]===_0x55295a['CONNECTING']||this[_0x243aef(0x248)]===_0x55295a['CLOSED']||(this[_0x243aef(0x2ca)]=!0x0,this[_0x243aef(0x1f3)][_0x243aef(0x362)]());}[_0xac342c(0x2c5)](_0x2a8494,_0x4dbff2,_0x2f8cb8){const _0x10f4d8=_0xac342c;if(this[_0x10f4d8(0x248)]===_0x55295a['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2a8494==_0x10f4d8(0x218)?(_0x2f8cb8=_0x2a8494,_0x2a8494=_0x4dbff2=void 0x0):typeof _0x4dbff2=='function'&&(_0x2f8cb8=_0x4dbff2,_0x4dbff2=void 0x0),typeof _0x2a8494==_0x10f4d8(0x251)&&(_0x2a8494=_0x2a8494[_0x10f4d8(0x244)]()),this['readyState']!==_0x55295a[_0x10f4d8(0x34a)]){_0x29bff4(this,_0x2a8494,_0x2f8cb8);return;}_0x4dbff2===void 0x0&&(_0x4dbff2=!this[_0x10f4d8(0x291)]),this['_sender']['ping'](_0x2a8494||_0x1dd1e3,_0x4dbff2,_0x2f8cb8);}[_0xac342c(0x28c)](_0x59b92e,_0x3de5c7,_0x3a2e78){const _0x241062=_0xac342c;if(this[_0x241062(0x248)]===_0x55295a[_0x241062(0x337)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59b92e==_0x241062(0x218)?(_0x3a2e78=_0x59b92e,_0x59b92e=_0x3de5c7=void 0x0):typeof _0x3de5c7==_0x241062(0x218)&&(_0x3a2e78=_0x3de5c7,_0x3de5c7=void 0x0),typeof _0x59b92e==_0x241062(0x251)&&(_0x59b92e=_0x59b92e['toString']()),this[_0x241062(0x248)]!==_0x55295a[_0x241062(0x34a)]){_0x29bff4(this,_0x59b92e,_0x3a2e78);return;}_0x3de5c7===void 0x0&&(_0x3de5c7=!this[_0x241062(0x291)]),this[_0x241062(0x34b)][_0x241062(0x28c)](_0x59b92e||_0x1dd1e3,_0x3de5c7,_0x3a2e78);}[_0xac342c(0x34c)](){const _0x31ca25=_0xac342c;this[_0x31ca25(0x248)]===_0x55295a[_0x31ca25(0x337)]||this['readyState']===_0x55295a['CLOSED']||(this[_0x31ca25(0x2ca)]=!0x1,this['_receiver'][_0x31ca25(0x32d)][_0x31ca25(0x30f)]||this[_0x31ca25(0x1f3)][_0x31ca25(0x34c)]());}[_0xac342c(0x1ad)](_0x403750,_0x49b75d,_0x5b06e3){const _0x40ab10=_0xac342c;if(this[_0x40ab10(0x248)]===_0x55295a[_0x40ab10(0x337)])throw new Error(_0x40ab10(0x318));if(typeof _0x49b75d==_0x40ab10(0x218)&&(_0x5b06e3=_0x49b75d,_0x49b75d={}),typeof _0x403750==_0x40ab10(0x251)&&(_0x403750=_0x403750[_0x40ab10(0x244)]()),this['readyState']!==_0x55295a[_0x40ab10(0x34a)]){_0x29bff4(this,_0x403750,_0x5b06e3);return;}const _0x3d411e={'binary':typeof _0x403750!=_0x40ab10(0x2a3),'mask':!this[_0x40ab10(0x291)],'compress':!0x0,'fin':!0x0,..._0x49b75d};this[_0x40ab10(0x231)][_0x2524a9[_0x40ab10(0x2e6)]]||(_0x3d411e['compress']=!0x1),this[_0x40ab10(0x34b)]['send'](_0x403750||_0x1dd1e3,_0x3d411e,_0x5b06e3);}[_0xac342c(0x236)](){const _0x53048d=_0xac342c;if(this['readyState']!==_0x55295a['CLOSED']){if(this[_0x53048d(0x248)]===_0x55295a[_0x53048d(0x337)]){_0x580dfc(this,this[_0x53048d(0x280)],_0x53048d(0x2c4));return;}this[_0x53048d(0x1f3)]&&(this[_0x53048d(0x31d)]=_0x55295a[_0x53048d(0x1dc)],this[_0x53048d(0x1f3)][_0x53048d(0x29a)]());}}}Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x337),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x337))}),Object['defineProperty'](_0x55295a['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x337))}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x34a),{'enumerable':!0x0,'value':_0x1be25f['indexOf'](_0xac342c(0x34a))}),Object[_0xac342c(0x208)](_0x55295a[_0xac342c(0x311)],_0xac342c(0x34a),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)]('OPEN')}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x1dc),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)]('CLOSING')}),Object['defineProperty'](_0x55295a[_0xac342c(0x311)],'CLOSING',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x1dc))}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x2b4),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x2b4))}),Object[_0xac342c(0x208)](_0x55295a[_0xac342c(0x311)],'CLOSED',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x2b4))}),[_0xac342c(0x1e5),_0xac342c(0x2c1),_0xac342c(0x2d7),_0xac342c(0x313),_0xac342c(0x2f7),_0xac342c(0x248),'url'][_0xac342c(0x273)](_0x367791=>{const _0x277615=_0xac342c;Object[_0x277615(0x208)](_0x55295a[_0x277615(0x311)],_0x367791,{'enumerable':!0x0});}),[_0xac342c(0x2bf),'error',_0xac342c(0x2e4),_0xac342c(0x33a)][_0xac342c(0x273)](_0x25c0bb=>{const _0x31b6e4=_0xac342c;Object[_0x31b6e4(0x208)](_0x55295a[_0x31b6e4(0x311)],'on'+_0x25c0bb,{'enumerable':!0x0,'get'(){const _0x15042d=_0x31b6e4;for(const _0x47f49f of this[_0x15042d(0x2ae)](_0x25c0bb))if(_0x47f49f[_0x75af3c])return _0x47f49f[_0x307415];return null;},'set'(_0x2945d3){const _0x1e1bcc=_0x31b6e4;for(const _0x2b0a91 of this[_0x1e1bcc(0x2ae)](_0x25c0bb))if(_0x2b0a91[_0x75af3c]){this[_0x1e1bcc(0x325)](_0x25c0bb,_0x2b0a91);break;}typeof _0x2945d3==_0x1e1bcc(0x218)&&this[_0x1e1bcc(0x1d8)](_0x25c0bb,_0x2945d3,{[_0x75af3c]:!0x0});}});}),_0x55295a[_0xac342c(0x311)][_0xac342c(0x1d8)]=_0x448d26,_0x55295a[_0xac342c(0x311)][_0xac342c(0x2ac)]=_0x47abd1,we=_0x55295a;function _0x13f2b6(_0x4167de,_0x342d54,_0x4201e2,_0x1329bd){const _0x3e0c2e=_0xac342c,_0x2dac33={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x126d7e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1329bd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3e0c2e(0x332),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4167de[_0x3e0c2e(0x247)]=_0x2dac33[_0x3e0c2e(0x2e1)],!_0x126d7e[_0x3e0c2e(0x354)](_0x2dac33[_0x3e0c2e(0x327)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2dac33[_0x3e0c2e(0x327)]+_0x3e0c2e(0x320)+_0x126d7e[_0x3e0c2e(0x29c)](',\x20')+')');let _0x450bcf;if(_0x342d54 instanceof _0x165eec)_0x450bcf=_0x342d54;else try{_0x450bcf=new _0x165eec(_0x342d54);}catch{throw new SyntaxError(_0x3e0c2e(0x2d6)+_0x342d54);}_0x450bcf['protocol']===_0x3e0c2e(0x1fe)?_0x450bcf[_0x3e0c2e(0x2f7)]='ws:':_0x450bcf['protocol']===_0x3e0c2e(0x2aa)&&(_0x450bcf['protocol']='wss:'),_0x4167de[_0x3e0c2e(0x35c)]=_0x450bcf[_0x3e0c2e(0x228)];const _0x2d06e3=_0x450bcf[_0x3e0c2e(0x2f7)]===_0x3e0c2e(0x32f),_0x53a3c7=_0x450bcf[_0x3e0c2e(0x2f7)]===_0x3e0c2e(0x279);let _0x17c019;if(_0x450bcf['protocol']!==_0x3e0c2e(0x319)&&!_0x2d06e3&&!_0x53a3c7?_0x17c019='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':_0x53a3c7&&!_0x450bcf[_0x3e0c2e(0x2de)]?_0x17c019=_0x3e0c2e(0x1e6):_0x450bcf[_0x3e0c2e(0x1ab)]&&(_0x17c019=_0x3e0c2e(0x1cf)),_0x17c019){const _0x395e29=new SyntaxError(_0x17c019);if(_0x4167de[_0x3e0c2e(0x300)]===0x0)throw _0x395e29;_0x30dda4(_0x4167de,_0x395e29);return;}const _0x4c4329=_0x2d06e3?0x1bb:0x50,_0x4d4be5=_0xf38dc7(0x10)[_0x3e0c2e(0x244)](_0x3e0c2e(0x274)),_0x527ad8=_0x2d06e3?_0x2f0706[_0x3e0c2e(0x227)]:_0x544612[_0x3e0c2e(0x227)],_0x11d18a=new Set();let _0x56bdd6;if(_0x2dac33[_0x3e0c2e(0x302)]=_0x2dac33[_0x3e0c2e(0x302)]||(_0x2d06e3?_0x343b51:_0xb49d46),_0x2dac33[_0x3e0c2e(0x346)]=_0x2dac33[_0x3e0c2e(0x346)]||_0x4c4329,_0x2dac33[_0x3e0c2e(0x22d)]=_0x450bcf[_0x3e0c2e(0x22d)]||_0x4c4329,_0x2dac33['host']=_0x450bcf['hostname'][_0x3e0c2e(0x211)]('[')?_0x450bcf[_0x3e0c2e(0x2e7)][_0x3e0c2e(0x2e0)](0x1,-0x1):_0x450bcf[_0x3e0c2e(0x2e7)],_0x2dac33[_0x3e0c2e(0x2cc)]={..._0x2dac33[_0x3e0c2e(0x2cc)],'Sec-WebSocket-Version':_0x2dac33[_0x3e0c2e(0x327)],'Sec-WebSocket-Key':_0x4d4be5,'Connection':_0x3e0c2e(0x221),'Upgrade':_0x3e0c2e(0x1f1)},_0x2dac33[_0x3e0c2e(0x301)]=_0x450bcf[_0x3e0c2e(0x2de)]+_0x450bcf[_0x3e0c2e(0x2bd)],_0x2dac33['timeout']=_0x2dac33[_0x3e0c2e(0x28a)],_0x2dac33['perMessageDeflate']&&(_0x56bdd6=new _0x2524a9(_0x2dac33['perMessageDeflate']!==!0x0?_0x2dac33[_0x3e0c2e(0x2ea)]:{},!0x1,_0x2dac33[_0x3e0c2e(0x2e8)]),_0x2dac33[_0x3e0c2e(0x2cc)][_0x3e0c2e(0x2bb)]=_0x1c3ca3({[_0x2524a9['extensionName']]:_0x56bdd6[_0x3e0c2e(0x267)]()})),_0x4201e2[_0x3e0c2e(0x1d1)]){for(const _0x21529e of _0x4201e2){if(typeof _0x21529e!=_0x3e0c2e(0x2a3)||!_0x1316f1[_0x3e0c2e(0x205)](_0x21529e)||_0x11d18a[_0x3e0c2e(0x292)](_0x21529e))throw new SyntaxError(_0x3e0c2e(0x24c));_0x11d18a[_0x3e0c2e(0x1af)](_0x21529e);}_0x2dac33[_0x3e0c2e(0x2cc)][_0x3e0c2e(0x34d)]=_0x4201e2[_0x3e0c2e(0x29c)](',');}if(_0x2dac33[_0x3e0c2e(0x2e2)]&&(_0x2dac33[_0x3e0c2e(0x327)]<0xd?_0x2dac33[_0x3e0c2e(0x2cc)]['Sec-WebSocket-Origin']=_0x2dac33[_0x3e0c2e(0x2e2)]:_0x2dac33[_0x3e0c2e(0x2cc)]['Origin']=_0x2dac33[_0x3e0c2e(0x2e2)]),(_0x450bcf['username']||_0x450bcf[_0x3e0c2e(0x214)])&&(_0x2dac33[_0x3e0c2e(0x2f3)]=_0x450bcf[_0x3e0c2e(0x258)]+':'+_0x450bcf[_0x3e0c2e(0x214)]),_0x53a3c7){const _0x448f4b=_0x2dac33[_0x3e0c2e(0x301)][_0x3e0c2e(0x1ea)](':');_0x2dac33[_0x3e0c2e(0x2a1)]=_0x448f4b[0x0],_0x2dac33['path']=_0x448f4b[0x1];}let _0x439ec5;if(_0x2dac33[_0x3e0c2e(0x1b5)]){if(_0x4167de[_0x3e0c2e(0x300)]===0x0){_0x4167de[_0x3e0c2e(0x230)]=_0x53a3c7,_0x4167de[_0x3e0c2e(0x1df)]=_0x2d06e3,_0x4167de[_0x3e0c2e(0x219)]=_0x53a3c7?_0x2dac33['socketPath']:_0x450bcf[_0x3e0c2e(0x200)];const _0x48115f=_0x1329bd&&_0x1329bd[_0x3e0c2e(0x2cc)];if(_0x1329bd={..._0x1329bd,'headers':{}},_0x48115f){for(const [_0x17c52a,_0x167eba]of Object['entries'](_0x48115f))_0x1329bd[_0x3e0c2e(0x2cc)][_0x17c52a[_0x3e0c2e(0x224)]()]=_0x167eba;}}else{if(_0x4167de['listenerCount'](_0x3e0c2e(0x1ac))===0x0){const _0x4f473e=_0x53a3c7?_0x4167de[_0x3e0c2e(0x230)]?_0x2dac33[_0x3e0c2e(0x2a1)]===_0x4167de[_0x3e0c2e(0x219)]:!0x1:_0x4167de['_originalIpc']?!0x1:_0x450bcf[_0x3e0c2e(0x200)]===_0x4167de[_0x3e0c2e(0x219)];(!_0x4f473e||_0x4167de[_0x3e0c2e(0x1df)]&&!_0x2d06e3)&&(delete _0x2dac33[_0x3e0c2e(0x2cc)]['authorization'],delete _0x2dac33[_0x3e0c2e(0x2cc)]['cookie'],_0x4f473e||delete _0x2dac33['headers'][_0x3e0c2e(0x200)],_0x2dac33['auth']=void 0x0);}}_0x2dac33[_0x3e0c2e(0x2f3)]&&!_0x1329bd[_0x3e0c2e(0x2cc)]['authorization']&&(_0x1329bd['headers'][_0x3e0c2e(0x31c)]=_0x3e0c2e(0x243)+Buffer[_0x3e0c2e(0x2a6)](_0x2dac33[_0x3e0c2e(0x2f3)])['toString'](_0x3e0c2e(0x274))),_0x439ec5=_0x4167de[_0x3e0c2e(0x280)]=_0x527ad8(_0x2dac33),_0x4167de[_0x3e0c2e(0x300)]&&_0x4167de[_0x3e0c2e(0x35f)](_0x3e0c2e(0x1ac),_0x4167de[_0x3e0c2e(0x2f9)],_0x439ec5);}else _0x439ec5=_0x4167de[_0x3e0c2e(0x280)]=_0x527ad8(_0x2dac33);_0x2dac33[_0x3e0c2e(0x2f6)]&&_0x439ec5['on'](_0x3e0c2e(0x2f6),()=>{const _0x18dbec=_0x3e0c2e;_0x580dfc(_0x4167de,_0x439ec5,_0x18dbec(0x31e));}),_0x439ec5['on']('error',_0x1c5d53=>{const _0xfcee66=_0x3e0c2e;_0x439ec5===null||_0x439ec5[_0x2a74fc]||(_0x439ec5=_0x4167de[_0xfcee66(0x280)]=null,_0x30dda4(_0x4167de,_0x1c5d53));}),_0x439ec5['on'](_0x3e0c2e(0x23f),_0x19984e=>{const _0x5dc75d=_0x3e0c2e,_0x38e752=_0x19984e[_0x5dc75d(0x2cc)]['location'],_0x4310db=_0x19984e['statusCode'];if(_0x38e752&&_0x2dac33[_0x5dc75d(0x1b5)]&&_0x4310db>=0x12c&&_0x4310db<0x190){if(++_0x4167de['_redirects']>_0x2dac33[_0x5dc75d(0x351)]){_0x580dfc(_0x4167de,_0x439ec5,'Maximum\x20redirects\x20exceeded');return;}_0x439ec5[_0x5dc75d(0x1ff)]();let _0x4a9a29;try{_0x4a9a29=new _0x165eec(_0x38e752,_0x342d54);}catch{const _0x405e6f=new SyntaxError(_0x5dc75d(0x2d6)+_0x38e752);_0x30dda4(_0x4167de,_0x405e6f);return;}_0x13f2b6(_0x4167de,_0x4a9a29,_0x4201e2,_0x1329bd);}else _0x4167de['emit'](_0x5dc75d(0x340),_0x439ec5,_0x19984e)||_0x580dfc(_0x4167de,_0x439ec5,_0x5dc75d(0x1c5)+_0x19984e[_0x5dc75d(0x358)]);}),_0x439ec5['on'](_0x3e0c2e(0x282),(_0x2be182,_0x38b442,_0x82ee91)=>{const _0x523f4f=_0x3e0c2e;if(_0x4167de['emit']('upgrade',_0x2be182),_0x4167de[_0x523f4f(0x248)]!==_0x55295a[_0x523f4f(0x337)])return;_0x439ec5=_0x4167de['_req']=null;const _0x528433=_0x2be182['headers']['upgrade'];if(_0x528433===void 0x0||_0x528433[_0x523f4f(0x224)]()!==_0x523f4f(0x1f1)){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x26f));return;}const _0xaaf237=_0x27c556(_0x523f4f(0x242))[_0x523f4f(0x250)](_0x4d4be5+_0x575119)['digest']('base64');if(_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1cc)]!==_0xaaf237){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x2fb));return;}const _0x404f61=_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1be)];let _0x513e2e;if(_0x404f61!==void 0x0?_0x11d18a[_0x523f4f(0x35d)]?_0x11d18a[_0x523f4f(0x292)](_0x404f61)||(_0x513e2e='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x513e2e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x11d18a['size']&&(_0x513e2e=_0x523f4f(0x27e)),_0x513e2e){_0x580dfc(_0x4167de,_0x38b442,_0x513e2e);return;}_0x404f61&&(_0x4167de[_0x523f4f(0x2b9)]=_0x404f61);const _0x1a188f=_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1ec)];if(_0x1a188f!==void 0x0){if(!_0x56bdd6){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x284));return;}let _0x4c949c;try{_0x4c949c=_0x4fcd46(_0x1a188f);}catch{_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x294));return;}const _0x276500=Object[_0x523f4f(0x21f)](_0x4c949c);if(_0x276500[_0x523f4f(0x1d1)]!==0x1||_0x276500[0x0]!==_0x2524a9[_0x523f4f(0x2e6)]){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x2cd));return;}try{_0x56bdd6[_0x523f4f(0x295)](_0x4c949c[_0x2524a9[_0x523f4f(0x2e6)]]);}catch{_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x294));return;}_0x4167de['_extensions'][_0x2524a9[_0x523f4f(0x2e6)]]=_0x56bdd6;}_0x4167de['setSocket'](_0x38b442,_0x82ee91,{'allowSynchronousEvents':_0x2dac33[_0x523f4f(0x305)],'generateMask':_0x2dac33[_0x523f4f(0x2cb)],'maxPayload':_0x2dac33[_0x523f4f(0x2e8)],'skipUTF8Validation':_0x2dac33[_0x523f4f(0x21e)]});}),_0x2dac33[_0x3e0c2e(0x1b9)]?_0x2dac33['finishRequest'](_0x439ec5,_0x4167de):_0x439ec5[_0x3e0c2e(0x2b0)]();}function _0x30dda4(_0x480fbb,_0x2a7272){const _0x203d1a=_0xac342c;_0x480fbb[_0x203d1a(0x31d)]=_0x55295a[_0x203d1a(0x1dc)],_0x480fbb[_0x203d1a(0x2d4)]=!0x0,_0x480fbb[_0x203d1a(0x35f)](_0x203d1a(0x2ba),_0x2a7272),_0x480fbb[_0x203d1a(0x2dc)]();}function _0xb49d46(_0x35d9ab){const _0x2e35e2=_0xac342c;return _0x35d9ab[_0x2e35e2(0x301)]=_0x35d9ab[_0x2e35e2(0x2a1)],_0x2628e9[_0x2e35e2(0x27a)](_0x35d9ab);}function _0x343b51(_0x437208){const _0x420f89=_0xac342c;return _0x437208[_0x420f89(0x301)]=void 0x0,!_0x437208[_0x420f89(0x264)]&&_0x437208['servername']!==''&&(_0x437208[_0x420f89(0x264)]=_0x2628e9[_0x420f89(0x22e)](_0x437208[_0x420f89(0x200)])?'':_0x437208[_0x420f89(0x200)]),_0x3c7358[_0x420f89(0x27a)](_0x437208);}function _0x580dfc(_0x493d20,_0x4a6e02,_0x30a290){const _0xa6f1b7=_0xac342c;_0x493d20['_readyState']=_0x55295a[_0xa6f1b7(0x1dc)];const _0xf3a348=new Error(_0x30a290);Error[_0xa6f1b7(0x201)](_0xf3a348,_0x580dfc),_0x4a6e02['setHeader']?(_0x4a6e02[_0x2a74fc]=!0x0,_0x4a6e02[_0xa6f1b7(0x1ff)](),_0x4a6e02[_0xa6f1b7(0x235)]&&!_0x4a6e02[_0xa6f1b7(0x235)]['destroyed']&&_0x4a6e02[_0xa6f1b7(0x235)]['destroy'](),process[_0xa6f1b7(0x1c8)](_0x30dda4,_0x493d20,_0xf3a348)):(_0x4a6e02['destroy'](_0xf3a348),_0x4a6e02[_0xa6f1b7(0x269)](_0xa6f1b7(0x2ba),_0x493d20[_0xa6f1b7(0x35f)]['bind'](_0x493d20,'error')),_0x4a6e02[_0xa6f1b7(0x269)]('close',_0x493d20['emitClose'][_0xa6f1b7(0x266)](_0x493d20)));}function _0x29bff4(_0x53138e,_0x201c40,_0x26adef){const _0x2c0d2f=_0xac342c;if(_0x201c40){const _0x177603=_0xd3c46c(_0x201c40)?_0x201c40[_0x2c0d2f(0x35d)]:_0x277766(_0x201c40)[_0x2c0d2f(0x1d1)];_0x53138e[_0x2c0d2f(0x1f3)]?_0x53138e['_sender'][_0x2c0d2f(0x23c)]+=_0x177603:_0x53138e[_0x2c0d2f(0x348)]+=_0x177603;}if(_0x26adef){const _0xfe5b05=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x53138e[_0x2c0d2f(0x248)]+'\x20('+_0x1be25f[_0x53138e[_0x2c0d2f(0x248)]]+')');process[_0x2c0d2f(0x1c8)](_0x26adef,_0xfe5b05);}}function _0xb07993(_0x59ca41,_0x2b45b9){const _0x297967=_0xac342c,_0x3e6ef9=this[_0x241bd4];_0x3e6ef9[_0x297967(0x1b1)]=!0x0,_0x3e6ef9[_0x297967(0x263)]=_0x2b45b9,_0x3e6ef9['_closeCode']=_0x59ca41,_0x3e6ef9[_0x297967(0x1f3)][_0x241bd4]!==void 0x0&&(_0x3e6ef9[_0x297967(0x1f3)]['removeListener'](_0x297967(0x338),_0x5d54c0),process[_0x297967(0x1c8)](_0x1a6120,_0x3e6ef9[_0x297967(0x1f3)]),_0x59ca41===0x3ed?_0x3e6ef9[_0x297967(0x2e4)]():_0x3e6ef9[_0x297967(0x2e4)](_0x59ca41,_0x2b45b9));}function _0xec923a(){const _0x4ce412=this[_0x241bd4];_0x4ce412['isPaused']||_0x4ce412['_socket']['resume']();}function _0x62b3f(_0x17f1b8){const _0x47abbb=_0xac342c,_0x21e72d=this[_0x241bd4];_0x21e72d[_0x47abbb(0x1f3)][_0x241bd4]!==void 0x0&&(_0x21e72d[_0x47abbb(0x1f3)][_0x47abbb(0x325)](_0x47abbb(0x338),_0x5d54c0),process[_0x47abbb(0x1c8)](_0x1a6120,_0x21e72d['_socket']),_0x21e72d[_0x47abbb(0x2e4)](_0x17f1b8[_0x3b1dbd])),_0x21e72d[_0x47abbb(0x2d4)]||(_0x21e72d['_errorEmitted']=!0x0,_0x21e72d[_0x47abbb(0x35f)](_0x47abbb(0x2ba),_0x17f1b8));}function _0x1de253(){const _0x35cef3=_0xac342c;this[_0x241bd4][_0x35cef3(0x2dc)]();}function _0x13d801(_0x50b98d,_0x4031e0){const _0x157542=_0xac342c;this[_0x241bd4]['emit'](_0x157542(0x33a),_0x50b98d,_0x4031e0);}function _0x5030a4(_0x491ad1){const _0x1e352d=_0xac342c,_0x7b8545=this[_0x241bd4];_0x7b8545[_0x1e352d(0x247)]&&_0x7b8545[_0x1e352d(0x28c)](_0x491ad1,!this[_0x1e352d(0x291)],_0x178786),_0x7b8545[_0x1e352d(0x35f)](_0x1e352d(0x2c5),_0x491ad1);}function _0xa6d750(_0xc7397d){const _0x3f0818=_0xac342c;this[_0x241bd4]['emit'](_0x3f0818(0x28c),_0xc7397d);}function _0x1a6120(_0x1dcb4e){_0x1dcb4e['resume']();}function _0x4bf725(_0x361bbb){const _0x4f0874=_0xac342c,_0xdd989e=this[_0x241bd4];_0xdd989e[_0x4f0874(0x248)]!==_0x55295a[_0x4f0874(0x2b4)]&&(_0xdd989e['readyState']===_0x55295a['OPEN']&&(_0xdd989e['_readyState']=_0x55295a[_0x4f0874(0x1dc)],_0x5602c4(_0xdd989e)),this['_socket'][_0x4f0874(0x2b0)](),_0xdd989e[_0x4f0874(0x2d4)]||(_0xdd989e[_0x4f0874(0x2d4)]=!0x0,_0xdd989e[_0x4f0874(0x35f)]('error',_0x361bbb)));}function _0x5602c4(_0x3ce75e){const _0x3aa0ce=_0xac342c;_0x3ce75e[_0x3aa0ce(0x2ec)]=setTimeout(_0x3ce75e[_0x3aa0ce(0x1f3)][_0x3aa0ce(0x29a)][_0x3aa0ce(0x266)](_0x3ce75e['_socket']),_0x3f21c3);}function _0x5d045d(){const _0x5fe60f=_0xac342c,_0x2c2d39=this[_0x241bd4];this[_0x5fe60f(0x325)](_0x5fe60f(0x2e4),_0x5d045d),this[_0x5fe60f(0x325)](_0x5fe60f(0x338),_0x5d54c0),this[_0x5fe60f(0x325)](_0x5fe60f(0x2b0),_0x28e09e),_0x2c2d39[_0x5fe60f(0x31d)]=_0x55295a['CLOSING'];let _0x138e75;!this[_0x5fe60f(0x268)]['endEmitted']&&!_0x2c2d39['_closeFrameReceived']&&!_0x2c2d39[_0x5fe60f(0x2ff)]['_writableState'][_0x5fe60f(0x339)]&&(_0x138e75=_0x2c2d39[_0x5fe60f(0x1f3)]['read']())!==null&&_0x2c2d39['_receiver'][_0x5fe60f(0x347)](_0x138e75),_0x2c2d39[_0x5fe60f(0x2ff)][_0x5fe60f(0x2b0)](),this[_0x241bd4]=void 0x0,clearTimeout(_0x2c2d39[_0x5fe60f(0x2ec)]),_0x2c2d39[_0x5fe60f(0x2ff)]['_writableState'][_0x5fe60f(0x1b2)]||_0x2c2d39[_0x5fe60f(0x2ff)][_0x5fe60f(0x32d)]['errorEmitted']?_0x2c2d39[_0x5fe60f(0x2dc)]():(_0x2c2d39[_0x5fe60f(0x2ff)]['on'](_0x5fe60f(0x2ba),_0x1de253),_0x2c2d39[_0x5fe60f(0x2ff)]['on']('finish',_0x1de253));}function _0x5d54c0(_0x903f22){const _0x55a810=_0xac342c;this[_0x241bd4]['_receiver'][_0x55a810(0x347)](_0x903f22)||this[_0x55a810(0x362)]();}function _0x28e09e(){const _0x40b448=_0xac342c,_0x11d832=this[_0x241bd4];_0x11d832['_readyState']=_0x55295a['CLOSING'],_0x11d832[_0x40b448(0x2ff)][_0x40b448(0x2b0)](),this['end']();}function _0x4891af(){const _0xd93c55=_0xac342c,_0x459643=this[_0x241bd4];this[_0xd93c55(0x325)](_0xd93c55(0x2ba),_0x4891af),this['on'](_0xd93c55(0x2ba),_0x178786),_0x459643&&(_0x459643[_0xd93c55(0x31d)]=_0x55295a[_0xd93c55(0x1dc)],this[_0xd93c55(0x29a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2759d9}=_0x561e40;function _0x2045dc(_0x63bc64){const _0x161bba=_0x1cd5;_0x63bc64[_0x161bba(0x35f)](_0x161bba(0x2e4));}function _0x2ab59d(){const _0x259815=_0x1cd5;!this['destroyed']&&this[_0x259815(0x32d)][_0x259815(0x1b2)]&&this[_0x259815(0x29a)]();}function _0x2db9a8(_0x683943){const _0x40520c=_0x1cd5;this[_0x40520c(0x325)]('error',_0x2db9a8),this[_0x40520c(0x29a)](),this[_0x40520c(0x2fe)]('error')===0x0&&this[_0x40520c(0x35f)]('error',_0x683943);}function _0x24e697(_0x4ece21,_0x4a2ecd){const _0x52ba0d=_0x1cd5;let _0x17c66b=!0x0;const _0x3ca5ba=new _0x2759d9({..._0x4a2ecd,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ece21['on'](_0x52ba0d(0x33a),function(_0x1fcf6b,_0x577038){const _0x5306dd=_0x52ba0d,_0x5b58b3=!_0x577038&&_0x3ca5ba['_readableState'][_0x5306dd(0x307)]?_0x1fcf6b[_0x5306dd(0x244)]():_0x1fcf6b;_0x3ca5ba[_0x5306dd(0x2fc)](_0x5b58b3)||_0x4ece21['pause']();}),_0x4ece21[_0x52ba0d(0x269)](_0x52ba0d(0x2ba),function(_0xa6a0c8){const _0x292ff9=_0x52ba0d;_0x3ca5ba[_0x292ff9(0x2ee)]||(_0x17c66b=!0x1,_0x3ca5ba[_0x292ff9(0x29a)](_0xa6a0c8));}),_0x4ece21['once'](_0x52ba0d(0x2e4),function(){const _0x4fa3d1=_0x52ba0d;_0x3ca5ba[_0x4fa3d1(0x2ee)]||_0x3ca5ba[_0x4fa3d1(0x2fc)](null);}),_0x3ca5ba[_0x52ba0d(0x33e)]=function(_0x45b4f3,_0x473cfc){const _0x59abb3=_0x52ba0d;if(_0x4ece21[_0x59abb3(0x248)]===_0x4ece21['CLOSED']){_0x473cfc(_0x45b4f3),process[_0x59abb3(0x1c8)](_0x2045dc,_0x3ca5ba);return;}let _0xd02b6b=!0x1;_0x4ece21[_0x59abb3(0x269)](_0x59abb3(0x2ba),function(_0xc21c13){_0xd02b6b=!0x0,_0x473cfc(_0xc21c13);}),_0x4ece21[_0x59abb3(0x269)](_0x59abb3(0x2e4),function(){_0xd02b6b||_0x473cfc(_0x45b4f3),process['nextTick'](_0x2045dc,_0x3ca5ba);}),_0x17c66b&&_0x4ece21[_0x59abb3(0x236)]();},_0x3ca5ba['_final']=function(_0x50e921){const _0x6669c1=_0x52ba0d;if(_0x4ece21[_0x6669c1(0x248)]===_0x4ece21[_0x6669c1(0x337)]){_0x4ece21[_0x6669c1(0x269)](_0x6669c1(0x2bf),function(){const _0x36d16f=_0x6669c1;_0x3ca5ba[_0x36d16f(0x252)](_0x50e921);});return;}_0x4ece21[_0x6669c1(0x1f3)]!==null&&(_0x4ece21['_socket']['_writableState']['finished']?(_0x50e921(),_0x3ca5ba[_0x6669c1(0x268)][_0x6669c1(0x24f)]&&_0x3ca5ba[_0x6669c1(0x29a)]()):(_0x4ece21[_0x6669c1(0x1f3)][_0x6669c1(0x269)](_0x6669c1(0x1bb),function(){_0x50e921();}),_0x4ece21[_0x6669c1(0x2e4)]()));},_0x3ca5ba[_0x52ba0d(0x281)]=function(){const _0x2ad37f=_0x52ba0d;_0x4ece21[_0x2ad37f(0x313)]&&_0x4ece21[_0x2ad37f(0x34c)]();},_0x3ca5ba[_0x52ba0d(0x1bf)]=function(_0xa47fa0,_0x2853c7,_0x1464bc){const _0x431355=_0x52ba0d;if(_0x4ece21[_0x431355(0x248)]===_0x4ece21[_0x431355(0x337)]){_0x4ece21[_0x431355(0x269)](_0x431355(0x2bf),function(){const _0x6c661c=_0x431355;_0x3ca5ba[_0x6c661c(0x1bf)](_0xa47fa0,_0x2853c7,_0x1464bc);});return;}_0x4ece21[_0x431355(0x1ad)](_0xa47fa0,_0x1464bc);},_0x3ca5ba['on']('end',_0x2ab59d),_0x3ca5ba['on'](_0x52ba0d(0x2ba),_0x2db9a8),_0x3ca5ba;}return Oe=_0x24e697,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x52fade}=ne();function _0x5d9de2(_0x271823){const _0x17dfef=_0x1cd5,_0x1c2631=new Set();let _0x66ddbe=-0x1,_0x402b1c=-0x1,_0x35fa6a=0x0;for(_0x35fa6a;_0x35fa6a<_0x271823['length'];_0x35fa6a++){const _0x4c9266=_0x271823[_0x17dfef(0x207)](_0x35fa6a);if(_0x402b1c===-0x1&&_0x52fade[_0x4c9266]===0x1)_0x66ddbe===-0x1&&(_0x66ddbe=_0x35fa6a);else{if(_0x35fa6a!==0x0&&(_0x4c9266===0x20||_0x4c9266===0x9))_0x402b1c===-0x1&&_0x66ddbe!==-0x1&&(_0x402b1c=_0x35fa6a);else{if(_0x4c9266===0x2c){if(_0x66ddbe===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x35fa6a);_0x402b1c===-0x1&&(_0x402b1c=_0x35fa6a);const _0x4e7dbc=_0x271823['slice'](_0x66ddbe,_0x402b1c);if(_0x1c2631[_0x17dfef(0x292)](_0x4e7dbc))throw new SyntaxError(_0x17dfef(0x2df)+_0x4e7dbc+_0x17dfef(0x1f4));_0x1c2631['add'](_0x4e7dbc),_0x66ddbe=_0x402b1c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x35fa6a);}}}if(_0x66ddbe===-0x1||_0x402b1c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x32c72d=_0x271823[_0x17dfef(0x2e0)](_0x66ddbe,_0x35fa6a);if(_0x1c2631[_0x17dfef(0x292)](_0x32c72d))throw new SyntaxError('The\x20\x22'+_0x32c72d+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1c2631['add'](_0x32c72d),_0x1c2631;}return Ce={'parse':_0x5d9de2},Ce;}var Te,ot;function er(){const _0x22ea2b=_0x4a72d3;if(ot)return Te;ot=0x1;const _0x2bf408=_0x3eeacf,_0x440a68=_0x26b4e1,{Duplex:_0x3740fc}=_0x561e40,{createHash:_0x2e4dc5}=_0x4f0023,_0x2924ae=pt(),_0x3ec243=he(),_0x94e6bf=Jt(),_0x33109f=Ie(),{GUID:_0x2b7062,kWebSocket:_0x4b6dd4}=V(),_0x569285=/^[+/0-9A-Za-z]{22}==$/,_0x115d9c=0x0,_0x2415bd=0x1,_0x52e780=0x2;class _0x341a94 extends _0x2bf408{constructor(_0x33e850,_0x10546c){const _0x1d6c78=_0x1cd5;if(super(),_0x33e850={'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':_0x33109f,..._0x33e850},_0x33e850[_0x1d6c78(0x22d)]==null&&!_0x33e850[_0x1d6c78(0x1f9)]&&!_0x33e850[_0x1d6c78(0x254)]||_0x33e850[_0x1d6c78(0x22d)]!=null&&(_0x33e850['server']||_0x33e850['noServer'])||_0x33e850[_0x1d6c78(0x1f9)]&&_0x33e850['noServer'])throw new TypeError(_0x1d6c78(0x220));if(_0x33e850['port']!=null?(this[_0x1d6c78(0x1c3)]=_0x440a68[_0x1d6c78(0x356)]((_0x28df54,_0x985bd)=>{const _0x56e95d=_0x1d6c78,_0x7fde2e=_0x440a68[_0x56e95d(0x32a)][0x1aa];_0x985bd['writeHead'](0x1aa,{'Content-Length':_0x7fde2e[_0x56e95d(0x1d1)],'Content-Type':'text/plain'}),_0x985bd[_0x56e95d(0x2b0)](_0x7fde2e);}),this[_0x1d6c78(0x1c3)][_0x1d6c78(0x31a)](_0x33e850['port'],_0x33e850['host'],_0x33e850[_0x1d6c78(0x33b)],_0x10546c)):_0x33e850[_0x1d6c78(0x1f9)]&&(this[_0x1d6c78(0x1c3)]=_0x33e850[_0x1d6c78(0x1f9)]),this[_0x1d6c78(0x1c3)]){const _0x24e7d2=this[_0x1d6c78(0x35f)][_0x1d6c78(0x266)](this,_0x1d6c78(0x215));this['_removeListeners']=_0x40aaf9(this[_0x1d6c78(0x1c3)],{'listening':this['emit'][_0x1d6c78(0x266)](this,_0x1d6c78(0x1de)),'error':this[_0x1d6c78(0x35f)]['bind'](this,'error'),'upgrade':(_0xc2d702,_0x5b1620,_0x5a90a1)=>{const _0x457686=_0x1d6c78;this[_0x457686(0x1c0)](_0xc2d702,_0x5b1620,_0x5a90a1,_0x24e7d2);}});}_0x33e850[_0x1d6c78(0x2ea)]===!0x0&&(_0x33e850[_0x1d6c78(0x2ea)]={}),_0x33e850[_0x1d6c78(0x1d4)]&&(this[_0x1d6c78(0x349)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x1d6c78(0x1fd)]=_0x33e850,this[_0x1d6c78(0x290)]=_0x115d9c;}['address'](){const _0x56dbf0=_0x1cd5;if(this[_0x56dbf0(0x1fd)][_0x56dbf0(0x254)])throw new Error(_0x56dbf0(0x1e0));return this['_server']?this[_0x56dbf0(0x1c3)][_0x56dbf0(0x312)]():null;}['close'](_0x58613a){const _0x429cd3=_0x1cd5;if(this['_state']===_0x52e780){_0x58613a&&this['once'](_0x429cd3(0x2e4),()=>{const _0x3bd24c=_0x429cd3;_0x58613a(new Error(_0x3bd24c(0x2ed)));}),process['nextTick'](_0x49ec8f,this);return;}if(_0x58613a&&this['once'](_0x429cd3(0x2e4),_0x58613a),this['_state']!==_0x2415bd){if(this[_0x429cd3(0x290)]=_0x2415bd,this['options'][_0x429cd3(0x254)]||this[_0x429cd3(0x1fd)][_0x429cd3(0x1f9)])this['_server']&&(this[_0x429cd3(0x2c8)](),this[_0x429cd3(0x2c8)]=this[_0x429cd3(0x1c3)]=null),this[_0x429cd3(0x349)]?this['clients']['size']?this[_0x429cd3(0x35a)]=!0x0:process[_0x429cd3(0x1c8)](_0x49ec8f,this):process[_0x429cd3(0x1c8)](_0x49ec8f,this);else{const _0x3f3e63=this['_server'];this[_0x429cd3(0x2c8)](),this['_removeListeners']=this[_0x429cd3(0x1c3)]=null,_0x3f3e63[_0x429cd3(0x2e4)](()=>{_0x49ec8f(this);});}}}[_0x22ea2b(0x330)](_0x512835){const _0xbddd19=_0x22ea2b;if(this['options'][_0xbddd19(0x301)]){const _0x272f83=_0x512835[_0xbddd19(0x2f9)][_0xbddd19(0x24d)]('?');if((_0x272f83!==-0x1?_0x512835[_0xbddd19(0x2f9)][_0xbddd19(0x2e0)](0x0,_0x272f83):_0x512835[_0xbddd19(0x2f9)])!==this['options'][_0xbddd19(0x301)])return!0x1;}return!0x0;}[_0x22ea2b(0x1c0)](_0x478843,_0x645d70,_0x3686b0,_0x1ebab0){const _0x249ffd=_0x22ea2b;_0x645d70['on']('error',_0x1cc5f2);const _0xcc6232=_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x253)],_0x75c683=_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x282)],_0x1d3357=+_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x237)];if(_0x478843[_0x249ffd(0x308)]!=='GET'){_0x4d4f75(this,_0x478843,_0x645d70,0x195,_0x249ffd(0x352));return;}if(_0x75c683===void 0x0||_0x75c683[_0x249ffd(0x224)]()!=='websocket'){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x26f));return;}if(_0xcc6232===void 0x0||!_0x569285[_0x249ffd(0x205)](_0xcc6232)){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x246));return;}if(_0x1d3357!==0x8&&_0x1d3357!==0xd){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x33d));return;}if(!this[_0x249ffd(0x330)](_0x478843)){_0x385e71(_0x645d70,0x190);return;}const _0x425ce3=_0x478843['headers'][_0x249ffd(0x1be)];let _0x4ccd53=new Set();if(_0x425ce3!==void 0x0)try{_0x4ccd53=_0x94e6bf[_0x249ffd(0x322)](_0x425ce3);}catch{_0x4d4f75(this,_0x478843,_0x645d70,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x4e5a93=_0x478843[_0x249ffd(0x2cc)]['sec-websocket-extensions'],_0x1f470c={};if(this[_0x249ffd(0x1fd)][_0x249ffd(0x2ea)]&&_0x4e5a93!==void 0x0){const _0xdf8369=new _0x3ec243(this[_0x249ffd(0x1fd)][_0x249ffd(0x2ea)],!0x0,this[_0x249ffd(0x1fd)][_0x249ffd(0x2e8)]);try{const _0x1ebf9e=_0x2924ae['parse'](_0x4e5a93);_0x1ebf9e[_0x3ec243[_0x249ffd(0x2e6)]]&&(_0xdf8369[_0x249ffd(0x295)](_0x1ebf9e[_0x3ec243['extensionName']]),_0x1f470c[_0x3ec243['extensionName']]=_0xdf8369);}catch{_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x1eb));return;}}if(this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)]){const _0x1bcbc1={'origin':_0x478843[_0x249ffd(0x2cc)][''+(_0x1d3357===0x8?_0x249ffd(0x26c):'origin')],'secure':!!(_0x478843[_0x249ffd(0x235)][_0x249ffd(0x2d5)]||_0x478843[_0x249ffd(0x235)][_0x249ffd(0x257)]),'req':_0x478843};if(this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)][_0x249ffd(0x1d1)]===0x2){this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)](_0x1bcbc1,(_0x2f566e,_0x15ebb3,_0xd12ca8,_0x5d0b0c)=>{const _0x89844e=_0x249ffd;if(!_0x2f566e)return _0x385e71(_0x645d70,_0x15ebb3||0x191,_0xd12ca8,_0x5d0b0c);this[_0x89844e(0x26e)](_0x1f470c,_0xcc6232,_0x4ccd53,_0x478843,_0x645d70,_0x3686b0,_0x1ebab0);});return;}if(!this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)](_0x1bcbc1))return _0x385e71(_0x645d70,0x191);}this['completeUpgrade'](_0x1f470c,_0xcc6232,_0x4ccd53,_0x478843,_0x645d70,_0x3686b0,_0x1ebab0);}[_0x22ea2b(0x26e)](_0x207177,_0x5be9f7,_0x46bd6f,_0x53400a,_0x197fd6,_0x24d356,_0x4106f4){const _0x590c37=_0x22ea2b;if(!_0x197fd6[_0x590c37(0x345)]||!_0x197fd6[_0x590c37(0x31b)])return _0x197fd6['destroy']();if(_0x197fd6[_0x4b6dd4])throw new Error(_0x590c37(0x249));if(this[_0x590c37(0x290)]>_0x115d9c)return _0x385e71(_0x197fd6,0x1f7);const _0x18fba9=[_0x590c37(0x1c4),'Upgrade:\x20websocket',_0x590c37(0x241),_0x590c37(0x21c)+_0x2e4dc5(_0x590c37(0x242))[_0x590c37(0x250)](_0x5be9f7+_0x2b7062)[_0x590c37(0x303)](_0x590c37(0x274))],_0xf17c2b=new this['options'][(_0x590c37(0x289))](null,void 0x0,this[_0x590c37(0x1fd)]);if(_0x46bd6f['size']){const _0x44d7f5=this[_0x590c37(0x1fd)][_0x590c37(0x1d9)]?this['options'][_0x590c37(0x1d9)](_0x46bd6f,_0x53400a):_0x46bd6f[_0x590c37(0x216)]()[_0x590c37(0x26b)]()[_0x590c37(0x1b3)];_0x44d7f5&&(_0x18fba9[_0x590c37(0x2fc)](_0x590c37(0x1e9)+_0x44d7f5),_0xf17c2b[_0x590c37(0x2b9)]=_0x44d7f5);}if(_0x207177[_0x3ec243[_0x590c37(0x2e6)]]){const _0x9f3f03=_0x207177[_0x3ec243[_0x590c37(0x2e6)]][_0x590c37(0x276)],_0xdd47bb=_0x2924ae[_0x590c37(0x1f2)]({[_0x3ec243['extensionName']]:[_0x9f3f03]});_0x18fba9[_0x590c37(0x2fc)](_0x590c37(0x2ce)+_0xdd47bb),_0xf17c2b[_0x590c37(0x231)]=_0x207177;}this[_0x590c37(0x35f)](_0x590c37(0x2cc),_0x18fba9,_0x53400a),_0x197fd6['write'](_0x18fba9[_0x590c37(0x206)]('\x0d\x0a')['join']('\x0d\x0a')),_0x197fd6[_0x590c37(0x325)]('error',_0x1cc5f2),_0xf17c2b[_0x590c37(0x2b2)](_0x197fd6,_0x24d356,{'allowSynchronousEvents':this['options'][_0x590c37(0x305)],'maxPayload':this[_0x590c37(0x1fd)]['maxPayload'],'skipUTF8Validation':this[_0x590c37(0x1fd)][_0x590c37(0x21e)]}),this[_0x590c37(0x349)]&&(this[_0x590c37(0x349)][_0x590c37(0x1af)](_0xf17c2b),_0xf17c2b['on'](_0x590c37(0x2e4),()=>{const _0x267141=_0x590c37;this[_0x267141(0x349)][_0x267141(0x20e)](_0xf17c2b),this[_0x267141(0x35a)]&&!this['clients'][_0x267141(0x35d)]&&process['nextTick'](_0x49ec8f,this);})),_0x4106f4(_0xf17c2b,_0x53400a);}}Te=_0x341a94;function _0x40aaf9(_0x2f3ac5,_0x310d49){const _0x337ecb=_0x22ea2b;for(const _0x318095 of Object[_0x337ecb(0x21f)](_0x310d49))_0x2f3ac5['on'](_0x318095,_0x310d49[_0x318095]);return function(){const _0x1e2153=_0x337ecb;for(const _0x41c445 of Object[_0x1e2153(0x21f)](_0x310d49))_0x2f3ac5[_0x1e2153(0x325)](_0x41c445,_0x310d49[_0x41c445]);};}function _0x49ec8f(_0x87dc32){const _0x233525=_0x22ea2b;_0x87dc32[_0x233525(0x290)]=_0x52e780,_0x87dc32['emit']('close');}function _0x1cc5f2(){const _0x116810=_0x22ea2b;this[_0x116810(0x29a)]();}function _0x385e71(_0x405dcb,_0x5e6833,_0xc5be38,_0x9b2246){const _0x887239=_0x22ea2b;_0xc5be38=_0xc5be38||_0x440a68['STATUS_CODES'][_0x5e6833],_0x9b2246={'Connection':_0x887239(0x2e4),'Content-Type':_0x887239(0x2b5),'Content-Length':Buffer[_0x887239(0x2b7)](_0xc5be38),..._0x9b2246},_0x405dcb['once'](_0x887239(0x1bb),_0x405dcb[_0x887239(0x29a)]),_0x405dcb[_0x887239(0x2b0)]('HTTP/1.1\x20'+_0x5e6833+'\x20'+_0x440a68[_0x887239(0x32a)][_0x5e6833]+'\x0d\x0a'+Object[_0x887239(0x21f)](_0x9b2246)[_0x887239(0x1fa)](_0x59d8c3=>_0x59d8c3+':\x20'+_0x9b2246[_0x59d8c3])[_0x887239(0x29c)]('\x0d\x0a')+_0x887239(0x2d9)+_0xc5be38);}function _0x4d4f75(_0x277e34,_0x142aaf,_0x332799,_0x5a00a7,_0x2f6e88){const _0x2a0d74=_0x22ea2b;if(_0x277e34[_0x2a0d74(0x2fe)](_0x2a0d74(0x2f5))){const _0x1c4bdb=new Error(_0x2f6e88);Error[_0x2a0d74(0x201)](_0x1c4bdb,_0x4d4f75),_0x277e34[_0x2a0d74(0x35f)]('wsClientError',_0x1c4bdb,_0x332799,_0x142aaf);}else _0x385e71(_0x332799,_0x5a00a7,_0x2f6e88);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0xa3b5aa,_0x24c6aa,_0x1385b3,_0x541c1e)=>{const _0x4e0b8f=_0x4a72d3;for(var _0x413fee=_0x541c1e>0x1?void 0x0:_0x541c1e?tr(_0x24c6aa,_0x1385b3):_0x24c6aa,_0x5496ec=_0xa3b5aa[_0x4e0b8f(0x1d1)]-0x1,_0x5a0068;_0x5496ec>=0x0;_0x5496ec--)(_0x5a0068=_0xa3b5aa[_0x5496ec])&&(_0x413fee=_0x5a0068(_0x413fee)||_0x413fee);return _0x413fee;},sr=(_0x4e4e83,_0x16c4fa)=>(_0x2108bb,_0x4af53b)=>_0x16c4fa(_0x2108bb,_0x4af53b,_0x4e4e83);let Ne=class extends _0x3757a1{constructor(_0x3886d1){const _0x2339a0=_0x4a72d3;super(),this[_0x2339a0(0x23e)]=_0x3886d1;}['createSocket'](_0x440c98){const _0x5a0145=_0x4a72d3;var _0x329722;const _0x2bd69d=(_0x329722=this[_0x5a0145(0x23e)][_0x5a0145(0x306)](Be))==null?void 0x0:_0x329722[_0x5a0145(0x299)];try{const _0x2479db=new Qt(_0x440c98,{'headers':{..._0x2bd69d}}),_0x200b6e=new _0x5d62f1();return{'URL':_0x440c98,'close':(_0x5cbc59,_0x1bcbb8)=>{const _0x304d23=_0x5a0145;_0x2479db[_0x304d23(0x2e4)](_0x5cbc59,_0x1bcbb8),_0x200b6e[_0x304d23(0x1cd)]();},'send':_0x2a2397=>{const _0x595c3c=_0x5a0145;_0x2479db[_0x595c3c(0x1ad)](_0x2a2397);},'open$':new _0x573e22(_0x3c12ae=>{const _0x509644=_0x5a0145,_0x15e00e=_0x58f5ba=>_0x3c12ae['next'](_0x58f5ba);_0x2479db['addEventListener']('open',_0x15e00e),_0x200b6e[_0x509644(0x1af)](_0x12ac78(()=>_0x2479db[_0x509644(0x2ac)]('open',_0x15e00e)));})[_0x5a0145(0x33f)](_0x3d5178()),'close$':new _0x573e22(_0x27ebd1=>{const _0x71c54b=_0x5a0145,_0x267ab4=_0x4e0e04=>_0x27ebd1[_0x71c54b(0x26b)](_0x4e0e04);_0x2479db[_0x71c54b(0x1d8)](_0x71c54b(0x2e4),_0x267ab4),_0x200b6e[_0x71c54b(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener'](_0x71c54b(0x2e4),_0x267ab4)));})[_0x5a0145(0x33f)](_0x3d5178()),'error$':new _0x573e22(_0x25cd5f=>{const _0x3166e6=_0x5a0145,_0x54030b=_0x3322a5=>_0x25cd5f[_0x3166e6(0x26b)](_0x3322a5);_0x2479db[_0x3166e6(0x1d8)]('error',_0x54030b),_0x200b6e[_0x3166e6(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener']('error',_0x54030b)));})[_0x5a0145(0x33f)](_0x3d5178()),'message$':new _0x573e22(_0x12acc1=>{const _0x167bd0=_0x5a0145,_0x29d35d=_0x298e0a=>_0x12acc1[_0x167bd0(0x26b)](_0x298e0a);_0x2479db[_0x167bd0(0x1d8)](_0x167bd0(0x33a),_0x29d35d),_0x200b6e[_0x167bd0(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener'](_0x167bd0(0x33a),_0x29d35d)));})[_0x5a0145(0x33f)](_0x3d5178())};}catch(_0x5a34b6){return console['error'](_0x5a34b6),null;}}};Ne=rr([sr(0x0,_0xf3e60e)],Ne);var ir=Object['defineProperty'],nr=Object[_0x4a72d3(0x2db)],or=(_0x31235d,_0x3037dd,_0x3913fc)=>_0x3037dd in _0x31235d?ir(_0x31235d,_0x3037dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3913fc}):_0x31235d[_0x3037dd]=_0x3913fc,ar=(_0x2a2cd3,_0x5acddd,_0x351e70,_0x1028e2)=>{const _0x962df0=_0x4a72d3;for(var _0x459608=_0x1028e2>0x1?void 0x0:_0x1028e2?nr(_0x5acddd,_0x351e70):_0x5acddd,_0x43c5b9=_0x2a2cd3[_0x962df0(0x1d1)]-0x1,_0x567477;_0x43c5b9>=0x0;_0x43c5b9--)(_0x567477=_0x2a2cd3[_0x43c5b9])&&(_0x459608=_0x567477(_0x459608)||_0x459608);return _0x459608;},ke=(_0x30fbff,_0x36a8d0)=>(_0x4b159e,_0x10b910)=>_0x36a8d0(_0x4b159e,_0x10b910,_0x30fbff),lr=(_0x503773,_0x5e9311,_0x124f5b)=>or(_0x503773,_0x5e9311+'',_0x124f5b);let Pe=class extends _0x40a003{constructor(_0x559b3f=Ft,_0x58dbbf,_0x3bcf76,_0x3f3f45){const _0x524a15=_0x4a72d3;_0x559b3f[_0x524a15(0x299)]||_0x58dbbf['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x524a15(0x23e)]=_0x3bcf76,this[_0x524a15(0x26d)]=_0x3f3f45,this[_0x524a15(0x23e)][_0x524a15(0x217)](Be,_0x559b3f);}[_0x4a72d3(0x225)](){this['_registerDependencies']();}[_0x4a72d3(0x343)](){_0x546d2d(this['_injector'],[[_0x277483,{'useClass':Ne}]]);}};lr(Pe,_0x4a72d3(0x287),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x278fef(_0x215457),ke(0x1,_0xdf62bf),ke(0x2,_0xf3e60e),ke(0x3,_0x47d38c(_0x56c16b))],Pe);var fr=Object[_0x4a72d3(0x2db)],cr=(_0x1b89af,_0x3afbcb,_0x566045,_0x1d6e64)=>{const _0x958304=_0x4a72d3;for(var _0x2464e0=_0x1d6e64>0x1?void 0x0:_0x1d6e64?fr(_0x3afbcb,_0x566045):_0x3afbcb,_0x38394b=_0x1b89af[_0x958304(0x1d1)]-0x1,_0x5ecf31;_0x38394b>=0x0;_0x38394b--)(_0x5ecf31=_0x1b89af[_0x38394b])&&(_0x2464e0=_0x5ecf31(_0x2464e0)||_0x2464e0);return _0x2464e0;},se=(_0x274046,_0x5cecc9)=>(_0x5301f5,_0xc5698a)=>_0x5cecc9(_0x5301f5,_0xc5698a,_0x274046);let at=class extends _0xb3388d{constructor(_0x355571,_0x14aae8,_0x503737,_0x21cd68,_0x139029){const _0x2e5700=_0x4a72d3;super(_0x355571,_0x14aae8,_0x503737,_0x21cd68,_0x139029);const _0x5702e2=this[_0x2e5700(0x23e)][_0x2e5700(0x306)](Be);this[_0x2e5700(0x1d2)][_0x2e5700(0x1f0)]({'interceptor':(_0x2828ba,_0x183da6)=>{const _0x452ff6=_0x2e5700;var _0x31da66;const _0x224820=_0x2828ba[_0x452ff6(0x2cc)];return(_0x31da66=_0x5702e2==null?void 0x0:_0x5702e2[_0x452ff6(0x299)])!=null&&_0x31da66[_0x452ff6(0x333)]&&_0x224820[_0x452ff6(0x357)](_0x452ff6(0x363),_0x5702e2[_0x452ff6(0x299)][_0x452ff6(0x333)]),_0x183da6(_0x2828ba);}});}async[_0x4a72d3(0x27d)](_0x2adfb5){const _0x1356b1=_0x4a72d3;return this[_0x1356b1(0x22a)](_0x2adfb5);}};at=cr([se(0x0,_0x47d38c(_0x56c16b)),se(0x1,_0x47d38c(_0x2dbf8d)),se(0x2,_0xf3e60e),se(0x3,_0xdf62bf),se(0x4,_0x57f995)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x20537c=_0x2b8e;(function(_0x2354c3,_0x2cf08e){const _0x46ad10=_0x2b8e,_0x30bd9e=_0x2354c3();while(!![]){try{const _0x6897e1=parseInt(_0x46ad10(0x182))/0x1+-parseInt(_0x46ad10(0x271))/0x2*(-parseInt(_0x46ad10(0x133))/0x3)+-parseInt(_0x46ad10(0xc2))/0x4+parseInt(_0x46ad10(0x11d))/0x5*(-parseInt(_0x46ad10(0x158))/0x6)+parseInt(_0x46ad10(0x260))/0x7*(-parseInt(_0x46ad10(0x1a6))/0x8)+parseInt(_0x46ad10(0x108))/0x9+parseInt(_0x46ad10(0xd0))/0xa;if(_0x6897e1===_0x2cf08e)break;else _0x30bd9e['push'](_0x30bd9e['shift']());}catch(_0x22cd45){_0x30bd9e['push'](_0x30bd9e['shift']());}}}(_0x4d81,0x63953));import{UniverCollaborationClientPlugin as _0x3b9204,CollaborationSocketService as _0x2d54f9}from'@univerjs-pro/collaboration-client';function _0x2b8e(_0x168c09,_0x396e59){const _0x4d81ac=_0x4d81();return _0x2b8e=function(_0x2b8e00,_0x179516){_0x2b8e00=_0x2b8e00-0xc2;let _0x1d51cd=_0x4d81ac[_0x2b8e00];return _0x1d51cd;},_0x2b8e(_0x168c09,_0x396e59);}function _0x4d81(){const _0x1512e3=['The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','accept','kRun','flush','objectMode','fragments','socketPath','GET','skipUTF8Validation','kReason','reason','set','toLowerCase','verifyClient','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Invalid\x20URL:\x20','setConfig','finishRequest','websocket','client_no_context_takeover','handleUpgrade','open','unmask','WS_ERR_INVALID_UTF8','digest','Invalid\x20Sec-WebSocket-Accept\x20header','concurrency','_mask','sha1','pipe','Invalid\x20Sec-WebSocket-Extensions\x20header','dispose','dispatch','from','WS_ERR_UNEXPECTED_RSV_1','function','construct','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','headers','concat','HTTP/1.1\x20','_no_context_takeover','sec-websocket-origin','perMessageDeflate','pong','_buffers','servername','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','buffer','Upgrade','Invalid\x20WebSocket\x20frame:\x20','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','protocol','_extensions','extensionName','port','authorized','setNoDelay','Opening\x20handshake\x20has\x20timed\x20out','collaboration-client-node.config','env','shouldHandle','clientNoContextTakeover','invalid\x20opcode\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','serverNoContextTakeover','listeners','call','kCode','createError','CLOSING','kError','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','fin','emit','noServer','startsWith','charCodeAt','callback','_deflate','search','map','WS_ERR_INVALID_OPCODE','sec-websocket-extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','method','pluginName','574oyfofW','followRedirects','length','buffers','unshift','server_no_context_takeover','redirect','total-length','_queue','WS_ERR_EXPECTED_MASK','address','readable','indexOf','Invalid\x20value\x20for\x20parameter\x20\x22','Cookie','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Server\x20sent\x20an\x20invalid\x20subprotocol','15496XPomhR','string','default','Sec-WebSocket-Protocol','arrayBuffer','_httpService','username','readyState','getConfig','create','resume','_max_window_bits','_configService','cookie','2039608XnbtfF','ws+unix:','update','blob','toStringTag','encrypted','parse','_compressed','autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','connection','mask','_socket','_errored','8703850enqVGe','invalid\x20UTF-8\x20sequence','uncork','test','shift','zlibInflateOptions','isValidUTF8','setHeader','_req','socket','onmessage','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','getData','CLOSED','url','invalid\x20opcode\x200','_shouldEmitClose','_write','concurrencyLimit','allowSynchronousEvents','Parameter\x20\x22','_writableState','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_redirects','listenerCount','unexpected-response','createConnection','protocolVersion','_inflate','_url','captureStackTrace','apply','_isServer','maxPayload','permessage-deflate','listening','_protocol','auth','errorEmitted','upgrade','threshold','push','http:','_closeMessage','includes','getPayloadLength64','handleProtocols','MASK\x20must\x20be\x20clear','abort','number','sec-websocket-key','_firstFragment','end','backlog','\x22\x20subprotocol\x20is\x20duplicated','host','523152kirPtH','Sec-WebSocket-Extensions','prototype','sendFrame','onerror','status-code','_allowSynchronousEvents','Sec-WebSocket-Origin','kType','frame','clientMaxWindowBits','maxRedirects','registerHTTPInterceptor','_masked','customHeaders','once','removeListener','toString','origin','_doCreateSocket','listen','8330zRpZix','completeUpgrade','startLoop','_closeCode','WS_ERR_EXPECTED_FIN','getBlobData','request','defineProperty','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','isBuffer','isView','options','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','readOnly','_generateMask','add','defaultPort','kMessage','Origin','acceptAsClient','message','_final','237qXzhPq','_skipUTF8Validation','_binaryType','getPayloadLength16','password','Module','controlMessage','_decompress','_registerDependencies','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','HTTP/1.1\x20101\x20Switching\x20Protocols','_opcode','readUInt32BE','ws:','pending','error','data','next','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','createInflateRaw','extensions','_options','decompress','https:','pathname','Invalid\x20Upgrade\x20header','client_max_window_bits','kData','_sender','_loop','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_messageLength','forEach','nextTick','reset','maskBuffer','Sec-WebSocket-Accept:\x20','1242ptOruX','rsv1','_server','onStarting','_closeFrameReceived','terminate','_destroy','Max\x20payload\x20size\x20exceeded','acceptAsServer','hostname','FIN\x20must\x20be\x20set','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sec-websocket-protocol','catch','_fragments','join','byteOffset','constructor','getInfo','slice','_closeFrameSent','invalid\x20status\x20code\x20','type','clientTracking','handleEvent','binaryType','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_originalHostOrSocketPath','destroyed','isInteger','byteLength','_readyState','_injector','readUInt16BE','WS_NO_BUFFER_UTIL','object','send','keys','_payloadLength','bind','_compress','timeout','233074oUclAM','finished','params','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getOwnPropertyDescriptor','stream','\x22:\x20','endEmitted','bufferedAmount','_fin','_fragmented','The\x20server\x20is\x20not\x20running','nodebuffer','read','freeze','destroy','entries','hasOwnProperty','needDrain','server','values','client','sec-websocket-version','Server\x20sent\x20no\x20subprotocol','cork','target','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','onopen','_maskBuffer','WS_ERR_UNEXPECTED_MASK','kTarget','isArray','write','_removeListeners','removeEventListener','ping','49856zVBCyD','_originalIpc','_threshold','generateMask','WS_ERR_INVALID_CLOSE_CODE','The\x20\x22','Connection:\x20Upgrade','connect','_errorEmitted','wsClientError','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','serverMaxWindowBits','species','kDone','writeUInt16BE','jobs','setTimeout','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','normalizeParams','base64','kListener','dequeue','clients','writable','Invalid\x20Sec-WebSocket-Protocol\x20header','zlibDeflateOptions','Unexpected\x20server\x20response:\x20','haveLength','WS_NO_UTF_8_VALIDATE','size','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','_totalPayloadLength','WebSocket\x20is\x20not\x20open:\x20readyState\x20','wss:','dataMessage','CONNECTING','allocUnsafe','_bufferedAmount','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_receiver','__esModule','Maximum\x20redirects\x20exceeded','_autoPong','Z_DEFAULT_WINDOWBITS','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getMask','Z_SYNC_FLUSH','Unexpected\x20end\x20of\x20input','wasClean','pow','alloc','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','removeAllListeners','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WebSocket','Invalid\x20HTTP\x20method','conclude','RSV1\x20must\x20be\x20clear','Sec-WebSocket-Extensions:\x20','_bufferedBytes','_closeTimer','opcode','finish','cleanup','path','Unknown\x20parameter\x20\x22','createSocket','STATUS_CODES','enqueue','server_max_window_bits','consume','_maxPayload','The\x20URL\x27s\x20pathname\x20is\x20empty','compress','isPaused','authorization','createServer','setSocket','kIsForOnEventAttribute','replace','href','Unexpected\x20character\x20at\x20index\x20','OPEN','close','\x0d\x0a\x0d\x0a','addEventListener','_readableState','handshakeTimeout','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','exports','arraybuffer','has','_paused','code','WS_ERR_UNEXPECTED_RSV_2_3','MASK\x20must\x20be\x20set','pause','_state','emitClose'];_0x4d81=function(){return _0x1512e3;};return _0x4d81();}import{Disposable as _0x4850fc,DisposableCollection as _0xe9ec5,toDisposable as _0x4b6026,IConfigService as _0x3ad8f4,DependentOn as _0x44100d,ILogService as _0x1151a9,Inject as _0x367b11,Injector as _0x24a76c,Plugin as _0x383231,registerDependencies as _0x5b90ee}from'@univerjs/core';import{ISocketService as _0xde5e19,HTTPService as _0x57982f}from'@univerjs/network';import{Observable as _0x540bbe,share as _0x2f2eca}from'rxjs';import _0x158136 from'events';import _0x46dfe4 from'https';import _0x2e1b20 from'http';import _0x1de301 from'net';import _0x223664 from'tls';import _0x1d4818 from'crypto';import _0x46c74c from'stream';import _0x3c1cc7 from'url';import _0xd78fcd from'zlib';import _0x6dfa5a from'buffer';import{ISnapshotServerService as _0x26d8b0}from'@univerjs-pro/collaboration';const Be=_0x20537c(0x244),Ft={'customHeaders':{}};function jt(_0x2889c0){const _0x284a9f=_0x20537c;return _0x2889c0&&_0x2889c0[_0x284a9f(0x1ce)]&&Object[_0x284a9f(0x10a)][_0x284a9f(0x193)][_0x284a9f(0x24c)](_0x2889c0,_0x284a9f(0x273))?_0x2889c0['default']:_0x2889c0;}function ut(_0x2066bb){const _0x355a5b=_0x20537c;if(Object[_0x355a5b(0x10a)]['hasOwnProperty'][_0x355a5b(0x24c)](_0x2066bb,_0x355a5b(0x1ce)))return _0x2066bb;var _0x36b910=_0x2066bb[_0x355a5b(0x273)];if(typeof _0x36b910=='function'){var _0x44310f=function _0x476f77(){const _0x94c7ca=_0x355a5b;return this instanceof _0x476f77?Reflect[_0x94c7ca(0x22d)](_0x36b910,arguments,this[_0x94c7ca(0x169)]):_0x36b910[_0x94c7ca(0xef)](this,arguments);};_0x44310f[_0x355a5b(0x10a)]=_0x36b910[_0x355a5b(0x10a)];}else _0x44310f={};return Object[_0x355a5b(0x124)](_0x44310f,_0x355a5b(0x1ce),{'value':!0x0}),Object[_0x355a5b(0x17d)](_0x2066bb)[_0x355a5b(0x153)](function(_0x19905f){const _0x1d281b=_0x355a5b;var _0x3114a1=Object[_0x1d281b(0x186)](_0x2066bb,_0x19905f);Object[_0x1d281b(0x124)](_0x44310f,_0x19905f,_0x3114a1['get']?_0x3114a1:{'enumerable':!0x0,'get':function(){return _0x2066bb[_0x19905f];}});}),_0x44310f;}var te={'exports':{}},ge,Ye;function V(){const _0xd9e29=_0x20537c;if(Ye)return ge;Ye=0x1;const _0x3e8519=[_0xd9e29(0x18e),_0xd9e29(0x200),_0xd9e29(0x20e)],_0x41e391=typeof Blob<'u';return _0x41e391&&_0x3e8519['push'](_0xd9e29(0xc5)),ge={'BINARY_TYPES':_0x3e8519,'EMPTY_BUFFER':Buffer[_0xd9e29(0x1d8)](0x0),'GUID':_0xd9e29(0x13c),'hasBlob':_0x41e391,'kForOnEventAttribute':Symbol(_0xd9e29(0x1f4)),'kListener':Symbol(_0xd9e29(0x1ba)),'kStatusCode':Symbol(_0xd9e29(0x10d)),'kWebSocket':Symbol(_0xd9e29(0x21b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x20537c(0x124)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x20537c(0x138)})),Vt=ut(Gt);var Ke;function ce(){const _0x45add=_0x20537c;if(Ke)return te[_0x45add(0x1ff)];Ke=0x1;const {EMPTY_BUFFER:_0x4b5bf4}=V(),_0x54094c=Buffer[Symbol[_0x45add(0x1b2)]];function _0x295155(_0x30271e,_0x290bca){const _0x481dff=_0x45add;if(_0x30271e['length']===0x0)return _0x4b5bf4;if(_0x30271e[_0x481dff(0x262)]===0x1)return _0x30271e[0x0];const _0xf0bb75=Buffer[_0x481dff(0x1ca)](_0x290bca);let _0x281ef8=0x0;for(let _0x4d48a8=0x0;_0x4d48a8<_0x30271e[_0x481dff(0x262)];_0x4d48a8++){const _0x23e991=_0x30271e[_0x4d48a8];_0xf0bb75[_0x481dff(0x214)](_0x23e991,_0x281ef8),_0x281ef8+=_0x23e991['length'];}return _0x281ef8<_0x290bca?new _0x54094c(_0xf0bb75[_0x481dff(0x239)],_0xf0bb75[_0x481dff(0x168)],_0x281ef8):_0xf0bb75;}function _0xbfb285(_0x248684,_0x1877af,_0x2b0c45,_0x10a4a3,_0x4f8cb1){for(let _0x3558bf=0x0;_0x3558bf<_0x4f8cb1;_0x3558bf++)_0x2b0c45[_0x10a4a3+_0x3558bf]=_0x248684[_0x3558bf]^_0x1877af[_0x3558bf&0x3];}function _0x29888d(_0x6846a8,_0x3ef5ea){const _0x13fa2d=_0x45add;for(let _0xc227d2=0x0;_0xc227d2<_0x6846a8[_0x13fa2d(0x262)];_0xc227d2++)_0x6846a8[_0xc227d2]^=_0x3ef5ea[_0xc227d2&0x3];}function _0x4a40a6(_0x19a04a){const _0x3aefc5=_0x45add;return _0x19a04a[_0x3aefc5(0x262)]===_0x19a04a['buffer'][_0x3aefc5(0x176)]?_0x19a04a['buffer']:_0x19a04a[_0x3aefc5(0x239)][_0x3aefc5(0x16b)](_0x19a04a[_0x3aefc5(0x168)],_0x19a04a['byteOffset']+_0x19a04a[_0x3aefc5(0x262)]);}function _0x28362e(_0x346490){const _0x4bf9ca=_0x45add;if(_0x28362e[_0x4bf9ca(0x12a)]=!0x0,Buffer[_0x4bf9ca(0x126)](_0x346490))return _0x346490;let _0xea8a70;return _0x346490 instanceof ArrayBuffer?_0xea8a70=new _0x54094c(_0x346490):ArrayBuffer[_0x4bf9ca(0x127)](_0x346490)?_0xea8a70=new _0x54094c(_0x346490['buffer'],_0x346490[_0x4bf9ca(0x168)],_0x346490[_0x4bf9ca(0x176)]):(_0xea8a70=Buffer[_0x4bf9ca(0x22a)](_0x346490),_0x28362e[_0x4bf9ca(0x12a)]=!0x1),_0xea8a70;}if(te['exports']={'concat':_0x295155,'mask':_0xbfb285,'toArrayBuffer':_0x4a40a6,'toBuffer':_0x28362e,'unmask':_0x29888d},!process['env'][_0x45add(0x17a)])try{const _0x2c69a8=Vt;te[_0x45add(0x1ff)]['mask']=function(_0x1ca10b,_0x4c21d5,_0x4c18d4,_0x2c600b,_0x27b038){_0x27b038<0x30?_0xbfb285(_0x1ca10b,_0x4c21d5,_0x4c18d4,_0x2c600b,_0x27b038):_0x2c69a8['mask'](_0x1ca10b,_0x4c21d5,_0x4c18d4,_0x2c600b,_0x27b038);},te[_0x45add(0x1ff)][_0x45add(0x21f)]=function(_0x546473,_0x44bb90){const _0x20631e=_0x45add;_0x546473[_0x20631e(0x262)]<0x20?_0x29888d(_0x546473,_0x44bb90):_0x2c69a8[_0x20631e(0x21f)](_0x546473,_0x44bb90);};}catch{}return te[_0x45add(0x1ff)];}var ye,Xe;function qt(){const _0x53bb41=_0x20537c;if(Xe)return ye;Xe=0x1;const _0x3359ca=Symbol(_0x53bb41(0x1b3)),_0x430e59=Symbol(_0x53bb41(0x20b));class _0x2415f8{constructor(_0x524c34){const _0x56e52f=_0x53bb41;this[_0x3359ca]=()=>{this['pending']--,this[_0x430e59]();},this[_0x56e52f(0x223)]=_0x524c34||0x1/0x0,this['jobs']=[],this[_0x56e52f(0x141)]=0x0;}[_0x53bb41(0x12c)](_0x30c351){const _0x10fabd=_0x53bb41;this[_0x10fabd(0x1b5)][_0x10fabd(0xf9)](_0x30c351),this[_0x430e59]();}[_0x430e59](){const _0x2b3335=_0x53bb41;if(this['pending']!==this[_0x2b3335(0x223)]&&this['jobs'][_0x2b3335(0x262)]){const _0xe9c6a3=this['jobs']['shift']();this[_0x2b3335(0x141)]++,_0xe9c6a3(this[_0x3359ca]);}}}return ye=_0x2415f8,ye;}var ve,Ze;function he(){const _0x9c2134=_0x20537c;if(Ze)return ve;Ze=0x1;const _0x2e0943=_0xd78fcd,_0x56589a=ce(),_0xfa204=qt(),{kStatusCode:_0x3c0deb}=V(),_0x2bd953=Buffer[Symbol[_0x9c2134(0x1b2)]],_0x5c660e=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5c1ba7=Symbol(_0x9c2134(0xf2)),_0x2a061d=Symbol(_0x9c2134(0x267)),_0x2e3df6=Symbol(_0x9c2134(0x257)),_0x46c9be=Symbol(_0x9c2134(0x263)),_0x1a6bfe=Symbol(_0x9c2134(0x142));let _0x666dfb;class _0x2457fb{constructor(_0x382a84,_0x4e95e1,_0x120c4f){const _0x2b543a=_0x9c2134;if(this[_0x2b543a(0x1ed)]=_0x120c4f|0x0,this[_0x2b543a(0x148)]=_0x382a84||{},this[_0x2b543a(0x1a8)]=this['_options'][_0x2b543a(0xf8)]!==void 0x0?this[_0x2b543a(0x148)]['threshold']:0x400,this[_0x2b543a(0xf0)]=!!_0x4e95e1,this[_0x2b543a(0x258)]=null,this[_0x2b543a(0xec)]=null,this[_0x2b543a(0x184)]=null,!_0x666dfb){const _0xfa0f32=this[_0x2b543a(0x148)][_0x2b543a(0xe2)]!==void 0x0?this['_options'][_0x2b543a(0xe2)]:0xa;_0x666dfb=new _0xfa204(_0xfa0f32);}}static get[_0x9c2134(0x23f)](){const _0x240475=_0x9c2134;return _0x240475(0xf2);}['offer'](){const _0x221bf0=_0x9c2134,_0x3db175={};return this[_0x221bf0(0x148)]['serverNoContextTakeover']&&(_0x3db175[_0x221bf0(0x265)]=!0x0),this[_0x221bf0(0x148)][_0x221bf0(0x247)]&&(_0x3db175['client_no_context_takeover']=!0x0),this[_0x221bf0(0x148)][_0x221bf0(0x1b1)]&&(_0x3db175[_0x221bf0(0x1eb)]=this['_options'][_0x221bf0(0x1b1)]),this[_0x221bf0(0x148)][_0x221bf0(0x112)]?_0x3db175[_0x221bf0(0x14d)]=this['_options'][_0x221bf0(0x112)]:this[_0x221bf0(0x148)][_0x221bf0(0x112)]==null&&(_0x3db175[_0x221bf0(0x14d)]=!0x0),_0x3db175;}[_0x9c2134(0x20a)](_0x48324e){const _0x309c1a=_0x9c2134;return _0x48324e=this[_0x309c1a(0x1b8)](_0x48324e),this[_0x309c1a(0x184)]=this[_0x309c1a(0xf0)]?this[_0x309c1a(0x160)](_0x48324e):this['acceptAsClient'](_0x48324e),this['params'];}[_0x9c2134(0x1e5)](){const _0x1c3d2d=_0x9c2134;if(this[_0x1c3d2d(0xec)]&&(this[_0x1c3d2d(0xec)][_0x1c3d2d(0x1f9)](),this[_0x1c3d2d(0xec)]=null),this['_deflate']){const _0x8da945=this[_0x1c3d2d(0x258)][_0x2e3df6];this[_0x1c3d2d(0x258)][_0x1c3d2d(0x1f9)](),this['_deflate']=null,_0x8da945&&_0x8da945(new Error(_0x1c3d2d(0x209)));}}[_0x9c2134(0x160)](_0x5c7f61){const _0x408043=_0x9c2134,_0x33a484=this[_0x408043(0x148)],_0x5bad9d=_0x5c7f61['find'](_0x222b0b=>!(_0x33a484[_0x408043(0x24a)]===!0x1&&_0x222b0b['server_no_context_takeover']||_0x222b0b[_0x408043(0x1eb)]&&(_0x33a484[_0x408043(0x1b1)]===!0x1||typeof _0x33a484[_0x408043(0x1b1)]==_0x408043(0x101)&&_0x33a484[_0x408043(0x1b1)]>_0x222b0b[_0x408043(0x1eb)])||typeof _0x33a484[_0x408043(0x112)]==_0x408043(0x101)&&!_0x222b0b[_0x408043(0x14d)]));if(!_0x5bad9d)throw new Error(_0x408043(0x217));return _0x33a484[_0x408043(0x24a)]&&(_0x5bad9d[_0x408043(0x265)]=!0x0),_0x33a484[_0x408043(0x247)]&&(_0x5bad9d[_0x408043(0x21c)]=!0x0),typeof _0x33a484['serverMaxWindowBits']=='number'&&(_0x5bad9d[_0x408043(0x1eb)]=_0x33a484[_0x408043(0x1b1)]),typeof _0x33a484[_0x408043(0x112)]==_0x408043(0x101)?_0x5bad9d[_0x408043(0x14d)]=_0x33a484[_0x408043(0x112)]:(_0x5bad9d[_0x408043(0x14d)]===!0x0||_0x33a484[_0x408043(0x112)]===!0x1)&&delete _0x5bad9d[_0x408043(0x14d)],_0x5bad9d;}[_0x9c2134(0x130)](_0x31dabc){const _0x1766cc=_0x9c2134,_0x3517b7=_0x31dabc[0x0];if(this[_0x1766cc(0x148)][_0x1766cc(0x247)]===!0x1&&_0x3517b7[_0x1766cc(0x21c)])throw new Error(_0x1766cc(0xcb));if(!_0x3517b7[_0x1766cc(0x14d)])typeof this[_0x1766cc(0x148)][_0x1766cc(0x112)]==_0x1766cc(0x101)&&(_0x3517b7[_0x1766cc(0x14d)]=this[_0x1766cc(0x148)][_0x1766cc(0x112)]);else{if(this['_options'][_0x1766cc(0x112)]===!0x1||typeof this[_0x1766cc(0x148)][_0x1766cc(0x112)]==_0x1766cc(0x101)&&_0x3517b7['client_max_window_bits']>this[_0x1766cc(0x148)][_0x1766cc(0x112)])throw new Error(_0x1766cc(0x1db));}return _0x3517b7;}['normalizeParams'](_0xc7f89f){const _0x287c71=_0x9c2134;return _0xc7f89f[_0x287c71(0x153)](_0x499316=>{const _0x4f9c70=_0x287c71;Object[_0x4f9c70(0x17d)](_0x499316)['forEach'](_0x5693f8=>{const _0xf62571=_0x4f9c70;let _0x16a7b8=_0x499316[_0x5693f8];if(_0x16a7b8[_0xf62571(0x262)]>0x1)throw new Error(_0xf62571(0xe4)+_0x5693f8+_0xf62571(0xe6));if(_0x16a7b8=_0x16a7b8[0x0],_0x5693f8===_0xf62571(0x14d)){if(_0x16a7b8!==!0x0){const _0x5a9a0e=+_0x16a7b8;if(!Number['isInteger'](_0x5a9a0e)||_0x5a9a0e<0x8||_0x5a9a0e>0xf)throw new TypeError(_0xf62571(0x26d)+_0x5693f8+_0xf62571(0x188)+_0x16a7b8);_0x16a7b8=_0x5a9a0e;}else{if(!this[_0xf62571(0xf0)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5693f8+_0xf62571(0x188)+_0x16a7b8);}}else{if(_0x5693f8==='server_max_window_bits'){const _0x48d28b=+_0x16a7b8;if(!Number[_0xf62571(0x175)](_0x48d28b)||_0x48d28b<0x8||_0x48d28b>0xf)throw new TypeError(_0xf62571(0x26d)+_0x5693f8+_0xf62571(0x188)+_0x16a7b8);_0x16a7b8=_0x48d28b;}else{if(_0x5693f8===_0xf62571(0x21c)||_0x5693f8===_0xf62571(0x265)){if(_0x16a7b8!==!0x0)throw new TypeError(_0xf62571(0x26d)+_0x5693f8+_0xf62571(0x188)+_0x16a7b8);}else throw new Error(_0xf62571(0x1e7)+_0x5693f8+'\x22');}}_0x499316[_0x5693f8]=_0x16a7b8;});}),_0xc7f89f;}['decompress'](_0x12dbaf,_0xbf0298,_0x8521b4){_0x666dfb['add'](_0x57266a=>{const _0x4344f4=_0x2b8e;this[_0x4344f4(0x13a)](_0x12dbaf,_0xbf0298,(_0x1333da,_0x3982e3)=>{_0x57266a(),_0x8521b4(_0x1333da,_0x3982e3);});});}['compress'](_0x252186,_0x591e18,_0x18294b){const _0x5a8d68=_0x9c2134;_0x666dfb[_0x5a8d68(0x12c)](_0x371290=>{const _0x51cf30=_0x5a8d68;this[_0x51cf30(0x180)](_0x252186,_0x591e18,(_0x49070a,_0x4d2a4a)=>{_0x371290(),_0x18294b(_0x49070a,_0x4d2a4a);});});}['_decompress'](_0x84c021,_0x34b915,_0x269951){const _0x4d967a=_0x9c2134,_0x3ab1a2=this[_0x4d967a(0xf0)]?_0x4d967a(0x197):'server';if(!this[_0x4d967a(0xec)]){const _0x4bc0f4=_0x3ab1a2+_0x4d967a(0x27c),_0x4e5ffb=typeof this[_0x4d967a(0x184)][_0x4bc0f4]!='number'?_0x2e0943[_0x4d967a(0x1d1)]:this[_0x4d967a(0x184)][_0x4bc0f4];this[_0x4d967a(0xec)]=_0x2e0943[_0x4d967a(0x146)]({...this[_0x4d967a(0x148)][_0x4d967a(0xd5)],'windowBits':_0x4e5ffb}),this[_0x4d967a(0xec)][_0x5c1ba7]=this,this[_0x4d967a(0xec)][_0x2a061d]=0x0,this[_0x4d967a(0xec)][_0x46c9be]=[],this[_0x4d967a(0xec)]['on'](_0x4d967a(0x142),_0xe8c124),this[_0x4d967a(0xec)]['on']('data',_0x2df409);}this[_0x4d967a(0xec)][_0x2e3df6]=_0x269951,this[_0x4d967a(0xec)][_0x4d967a(0x1a2)](_0x84c021),_0x34b915&&this['_inflate']['write'](_0x5c660e),this[_0x4d967a(0xec)]['flush'](()=>{const _0x175763=_0x4d967a,_0x1cd1f6=this['_inflate'][_0x1a6bfe];if(_0x1cd1f6){this[_0x175763(0xec)][_0x175763(0x1f9)](),this[_0x175763(0xec)]=null,_0x269951(_0x1cd1f6);return;}const _0x31f7ac=_0x56589a[_0x175763(0x230)](this[_0x175763(0xec)][_0x46c9be],this[_0x175763(0xec)][_0x2a061d]);this[_0x175763(0xec)][_0x175763(0x1fc)][_0x175763(0x189)]?(this[_0x175763(0xec)][_0x175763(0x1f9)](),this['_inflate']=null):(this[_0x175763(0xec)][_0x2a061d]=0x0,this['_inflate'][_0x46c9be]=[],_0x34b915&&this[_0x175763(0x184)][_0x3ab1a2+'_no_context_takeover']&&this['_inflate']['reset']()),_0x269951(null,_0x31f7ac);});}['_compress'](_0x4d7e82,_0x5511ac,_0x1524d8){const _0x5a830b=_0x9c2134,_0x430aae=this[_0x5a830b(0xf0)]?'server':_0x5a830b(0x197);if(!this[_0x5a830b(0x258)]){const _0x12c6b7=_0x430aae+_0x5a830b(0x27c),_0x17359a=typeof this[_0x5a830b(0x184)][_0x12c6b7]!=_0x5a830b(0x101)?_0x2e0943[_0x5a830b(0x1d1)]:this[_0x5a830b(0x184)][_0x12c6b7];this[_0x5a830b(0x258)]=_0x2e0943['createDeflateRaw']({...this[_0x5a830b(0x148)][_0x5a830b(0x1bf)],'windowBits':_0x17359a}),this[_0x5a830b(0x258)][_0x2a061d]=0x0,this[_0x5a830b(0x258)][_0x46c9be]=[],this[_0x5a830b(0x258)]['on']('data',_0x3297b9);}this[_0x5a830b(0x258)][_0x2e3df6]=_0x1524d8,this['_deflate'][_0x5a830b(0x1a2)](_0x4d7e82),this[_0x5a830b(0x258)][_0x5a830b(0x20c)](_0x2e0943[_0x5a830b(0x1d4)],()=>{const _0x34550d=_0x5a830b;if(!this['_deflate'])return;let _0x2a41a2=_0x56589a[_0x34550d(0x230)](this[_0x34550d(0x258)][_0x46c9be],this[_0x34550d(0x258)][_0x2a061d]);_0x5511ac&&(_0x2a41a2=new _0x2bd953(_0x2a41a2[_0x34550d(0x239)],_0x2a41a2['byteOffset'],_0x2a41a2[_0x34550d(0x262)]-0x4)),this['_deflate'][_0x2e3df6]=null,this[_0x34550d(0x258)][_0x2a061d]=0x0,this[_0x34550d(0x258)][_0x46c9be]=[],_0x5511ac&&this[_0x34550d(0x184)][_0x430aae+_0x34550d(0x232)]&&this[_0x34550d(0x258)][_0x34550d(0x155)](),_0x1524d8(null,_0x2a41a2);});}}ve=_0x2457fb;function _0x3297b9(_0x5d2a49){const _0x3ef1d8=_0x9c2134;this[_0x46c9be]['push'](_0x5d2a49),this[_0x2a061d]+=_0x5d2a49[_0x3ef1d8(0x262)];}function _0x2df409(_0x47dcf5){const _0x188d19=_0x9c2134;if(this[_0x2a061d]+=_0x47dcf5[_0x188d19(0x262)],this[_0x5c1ba7][_0x188d19(0x1ed)]<0x1||this[_0x2a061d]<=this[_0x5c1ba7]['_maxPayload']){this[_0x46c9be]['push'](_0x47dcf5);return;}this[_0x1a6bfe]=new RangeError(_0x188d19(0x15f)),this[_0x1a6bfe]['code']=_0x188d19(0x163),this[_0x1a6bfe][_0x3c0deb]=0x3f1,this[_0x188d19(0x118)]('data',_0x2df409),this[_0x188d19(0x155)]();}function _0xe8c124(_0x425496){this[_0x5c1ba7]['_inflate']=null,_0x425496[_0x3c0deb]=0x3ef,this[_0x2e3df6](_0x425496);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x20537c(0x190)](Object[_0x20537c(0x124)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x20537c(0x138)})),Yt=ut(zt);var Qe;function ne(){const _0x203f35=_0x20537c;if(Qe)return re[_0x203f35(0x1ff)];Qe=0x1;const {isUtf8:_0x89dde4}=_0x6dfa5a,{hasBlob:_0x41b6d6}=V(),_0x2b0d66=[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 _0x1032c7(_0x4164f9){return _0x4164f9>=0x3e8&&_0x4164f9<=0x3f6&&_0x4164f9!==0x3ec&&_0x4164f9!==0x3ed&&_0x4164f9!==0x3ee||_0x4164f9>=0xbb8&&_0x4164f9<=0x1387;}function _0x52acd8(_0x2bc021){const _0x2feaf4=_0x203f35,_0x21a660=_0x2bc021[_0x2feaf4(0x262)];let _0x2c8c76=0x0;for(;_0x2c8c76<_0x21a660;)if((_0x2bc021[_0x2c8c76]&0x80)===0x0)_0x2c8c76++;else{if((_0x2bc021[_0x2c8c76]&0xe0)===0xc0){if(_0x2c8c76+0x1===_0x21a660||(_0x2bc021[_0x2c8c76+0x1]&0xc0)!==0x80||(_0x2bc021[_0x2c8c76]&0xfe)===0xc0)return!0x1;_0x2c8c76+=0x2;}else{if((_0x2bc021[_0x2c8c76]&0xf0)===0xe0){if(_0x2c8c76+0x2>=_0x21a660||(_0x2bc021[_0x2c8c76+0x1]&0xc0)!==0x80||(_0x2bc021[_0x2c8c76+0x2]&0xc0)!==0x80||_0x2bc021[_0x2c8c76]===0xe0&&(_0x2bc021[_0x2c8c76+0x1]&0xe0)===0x80||_0x2bc021[_0x2c8c76]===0xed&&(_0x2bc021[_0x2c8c76+0x1]&0xe0)===0xa0)return!0x1;_0x2c8c76+=0x3;}else{if((_0x2bc021[_0x2c8c76]&0xf8)===0xf0){if(_0x2c8c76+0x3>=_0x21a660||(_0x2bc021[_0x2c8c76+0x1]&0xc0)!==0x80||(_0x2bc021[_0x2c8c76+0x2]&0xc0)!==0x80||(_0x2bc021[_0x2c8c76+0x3]&0xc0)!==0x80||_0x2bc021[_0x2c8c76]===0xf0&&(_0x2bc021[_0x2c8c76+0x1]&0xf0)===0x80||_0x2bc021[_0x2c8c76]===0xf4&&_0x2bc021[_0x2c8c76+0x1]>0x8f||_0x2bc021[_0x2c8c76]>0xf4)return!0x1;_0x2c8c76+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a1274(_0x30e80f){const _0x1d8219=_0x203f35;return _0x41b6d6&&typeof _0x30e80f==_0x1d8219(0x17b)&&typeof _0x30e80f[_0x1d8219(0x275)]==_0x1d8219(0x22c)&&typeof _0x30e80f[_0x1d8219(0x16e)]==_0x1d8219(0x272)&&typeof _0x30e80f[_0x1d8219(0x187)]==_0x1d8219(0x22c)&&(_0x30e80f[Symbol[_0x1d8219(0xc6)]]==='Blob'||_0x30e80f[Symbol[_0x1d8219(0xc6)]]==='File');}if(re[_0x203f35(0x1ff)]={'isBlob':_0x1a1274,'isValidStatusCode':_0x1032c7,'isValidUTF8':_0x52acd8,'tokenChars':_0x2b0d66},_0x89dde4)re[_0x203f35(0x1ff)][_0x203f35(0xd6)]=function(_0x2fa972){const _0x4b811d=_0x203f35;return _0x2fa972[_0x4b811d(0x262)]<0x18?_0x52acd8(_0x2fa972):_0x89dde4(_0x2fa972);};else{if(!process[_0x203f35(0x245)][_0x203f35(0x1c2)])try{const _0x1ffe26=Yt;re['exports'][_0x203f35(0xd6)]=function(_0x493b28){const _0x73ed07=_0x203f35;return _0x493b28[_0x73ed07(0x262)]<0x20?_0x52acd8(_0x493b28):_0x1ffe26(_0x493b28);};}catch{}}return re[_0x203f35(0x1ff)];}var Se,Je;function dt(){const _0x5b7aa8=_0x20537c;if(Je)return Se;Je=0x1;const {Writable:_0x3ad93e}=_0x46c74c,_0x23ade3=he(),{BINARY_TYPES:_0x40f408,EMPTY_BUFFER:_0x687d28,kStatusCode:_0x10f170,kWebSocket:_0x111939}=V(),{concat:_0x3c9c57,toArrayBuffer:_0xa7e92c,unmask:_0x385098}=ce(),{isValidStatusCode:_0x3073df,isValidUTF8:_0x5def0b}=ne(),_0x57d8e8=Buffer[Symbol[_0x5b7aa8(0x1b2)]],_0x24356c=0x0,_0x342d9e=0x1,_0x274e79=0x2,_0x4deae9=0x3,_0x1a6757=0x4,_0x4ba3c4=0x5,_0xba883f=0x6;class _0x30c812 extends _0x3ad93e{constructor(_0x2b07f3={}){const _0x3e4806=_0x5b7aa8;super(),this[_0x3e4806(0x10e)]=_0x2b07f3[_0x3e4806(0xe3)]!==void 0x0?_0x2b07f3[_0x3e4806(0xe3)]:!0x0,this[_0x3e4806(0x135)]=_0x2b07f3['binaryType']||_0x40f408[0x0],this[_0x3e4806(0x23e)]=_0x2b07f3[_0x3e4806(0x147)]||{},this['_isServer']=!!_0x2b07f3['isServer'],this[_0x3e4806(0x1ed)]=_0x2b07f3['maxPayload']|0x0,this[_0x3e4806(0x134)]=!!_0x2b07f3[_0x3e4806(0x211)],this[_0x111939]=void 0x0,this[_0x3e4806(0x1e1)]=0x0,this['_buffers']=[],this[_0x3e4806(0xc9)]=!0x1,this[_0x3e4806(0x17e)]=0x0,this[_0x3e4806(0x224)]=void 0x0,this[_0x3e4806(0x18c)]=0x0,this[_0x3e4806(0x115)]=!0x1,this[_0x3e4806(0x18b)]=!0x1,this[_0x3e4806(0x13e)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x3e4806(0x166)]=[],this[_0x3e4806(0xcf)]=!0x1,this[_0x3e4806(0x150)]=!0x1,this[_0x3e4806(0x207)]=_0x24356c;}[_0x5b7aa8(0xe1)](_0x5857e3,_0x5c6fd7,_0x5f0efd){const _0x213f31=_0x5b7aa8;if(this[_0x213f31(0x13e)]===0x8&&this[_0x213f31(0x207)]==_0x24356c)return _0x5f0efd();this[_0x213f31(0x1e1)]+=_0x5857e3['length'],this[_0x213f31(0x236)][_0x213f31(0xf9)](_0x5857e3),this[_0x213f31(0x11f)](_0x5f0efd);}[_0x5b7aa8(0x1ec)](_0xb2a136){const _0x2459ff=_0x5b7aa8;if(this[_0x2459ff(0x1e1)]-=_0xb2a136,_0xb2a136===this['_buffers'][0x0]['length'])return this['_buffers'][_0x2459ff(0xd4)]();if(_0xb2a136<this['_buffers'][0x0][_0x2459ff(0x262)]){const _0x281c99=this['_buffers'][0x0];return this[_0x2459ff(0x236)][0x0]=new _0x57d8e8(_0x281c99[_0x2459ff(0x239)],_0x281c99[_0x2459ff(0x168)]+_0xb2a136,_0x281c99[_0x2459ff(0x262)]-_0xb2a136),new _0x57d8e8(_0x281c99['buffer'],_0x281c99[_0x2459ff(0x168)],_0xb2a136);}const _0x3c4dc6=Buffer[_0x2459ff(0x1ca)](_0xb2a136);do{const _0x1ac1fb=this[_0x2459ff(0x236)][0x0],_0x1221d6=_0x3c4dc6[_0x2459ff(0x262)]-_0xb2a136;_0xb2a136>=_0x1ac1fb['length']?_0x3c4dc6[_0x2459ff(0x214)](this[_0x2459ff(0x236)][_0x2459ff(0xd4)](),_0x1221d6):(_0x3c4dc6[_0x2459ff(0x214)](new Uint8Array(_0x1ac1fb[_0x2459ff(0x239)],_0x1ac1fb[_0x2459ff(0x168)],_0xb2a136),_0x1221d6),this[_0x2459ff(0x236)][0x0]=new _0x57d8e8(_0x1ac1fb[_0x2459ff(0x239)],_0x1ac1fb[_0x2459ff(0x168)]+_0xb2a136,_0x1ac1fb[_0x2459ff(0x262)]-_0xb2a136)),_0xb2a136-=_0x1ac1fb[_0x2459ff(0x262)];}while(_0xb2a136>0x0);return _0x3c4dc6;}[_0x5b7aa8(0x11f)](_0x526a1f){const _0x383e29=_0x5b7aa8;this[_0x383e29(0x150)]=!0x0;do switch(this[_0x383e29(0x207)]){case _0x24356c:this[_0x383e29(0x16a)](_0x526a1f);break;case _0x342d9e:this[_0x383e29(0x136)](_0x526a1f);break;case _0x274e79:this[_0x383e29(0xfd)](_0x526a1f);break;case _0x4deae9:this[_0x383e29(0x1d3)]();break;case _0x1a6757:this[_0x383e29(0xdc)](_0x526a1f);break;case _0x4ba3c4:case _0xba883f:this[_0x383e29(0x150)]=!0x1;return;}while(this[_0x383e29(0x150)]);this[_0x383e29(0xcf)]||_0x526a1f();}['getInfo'](_0x454ec2){const _0x5dbba1=_0x5b7aa8;if(this[_0x5dbba1(0x1e1)]<0x2){this['_loop']=!0x1;return;}const _0x1d2bc8=this[_0x5dbba1(0x1ec)](0x2);if((_0x1d2bc8[0x0]&0x30)!==0x0){const _0x34c65e=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0x26f),!0x0,0x3ea,_0x5dbba1(0x204));_0x454ec2(_0x34c65e);return;}const _0x5a2eea=(_0x1d2bc8[0x0]&0x40)===0x40;if(_0x5a2eea&&!this[_0x5dbba1(0x23e)][_0x23ade3[_0x5dbba1(0x23f)]]){const _0x5351f8=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5dbba1(0x22b));_0x454ec2(_0x5351f8);return;}if(this[_0x5dbba1(0x18b)]=(_0x1d2bc8[0x0]&0x80)===0x80,this[_0x5dbba1(0x13e)]=_0x1d2bc8[0x0]&0xf,this[_0x5dbba1(0x17e)]=_0x1d2bc8[0x1]&0x7f,this[_0x5dbba1(0x13e)]===0x0){if(_0x5a2eea){const _0x275fec=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0x1df),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x454ec2(_0x275fec);return;}if(!this[_0x5dbba1(0x18c)]){const _0x82ae35=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0xdf),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x454ec2(_0x82ae35);return;}this[_0x5dbba1(0x13e)]=this['_fragmented'];}else{if(this[_0x5dbba1(0x13e)]===0x1||this[_0x5dbba1(0x13e)]===0x2){if(this[_0x5dbba1(0x18c)]){const _0xccd73a=this[_0x5dbba1(0x24e)](RangeError,'invalid\x20opcode\x20'+this[_0x5dbba1(0x13e)],!0x0,0x3ea,_0x5dbba1(0x25b));_0x454ec2(_0xccd73a);return;}this[_0x5dbba1(0xc9)]=_0x5a2eea;}else{if(this[_0x5dbba1(0x13e)]>0x7&&this[_0x5dbba1(0x13e)]<0xb){if(!this[_0x5dbba1(0x18b)]){const _0x255b4a=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0x162),!0x0,0x3ea,_0x5dbba1(0x121));_0x454ec2(_0x255b4a);return;}if(_0x5a2eea){const _0x20fe28=this['createError'](RangeError,_0x5dbba1(0x1df),!0x0,0x3ea,_0x5dbba1(0x22b));_0x454ec2(_0x20fe28);return;}if(this[_0x5dbba1(0x17e)]>0x7d||this[_0x5dbba1(0x13e)]===0x8&&this['_payloadLength']===0x1){const _0x3593b0=this[_0x5dbba1(0x24e)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5dbba1(0x17e)],!0x0,0x3ea,_0x5dbba1(0x1d9));_0x454ec2(_0x3593b0);return;}}else{const _0x2a0d9a=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0x248)+this[_0x5dbba1(0x13e)],!0x0,0x3ea,_0x5dbba1(0x25b));_0x454ec2(_0x2a0d9a);return;}}}if(!this[_0x5dbba1(0x18b)]&&!this[_0x5dbba1(0x18c)]&&(this[_0x5dbba1(0x18c)]=this['_opcode']),this[_0x5dbba1(0x115)]=(_0x1d2bc8[0x1]&0x80)===0x80,this[_0x5dbba1(0xf0)]){if(!this['_masked']){const _0xca7f4b=this['createError'](RangeError,_0x5dbba1(0x205),!0x0,0x3ea,_0x5dbba1(0x269));_0x454ec2(_0xca7f4b);return;}}else{if(this[_0x5dbba1(0x115)]){const _0x4a4184=this[_0x5dbba1(0x24e)](RangeError,_0x5dbba1(0xff),!0x0,0x3ea,_0x5dbba1(0x19f));_0x454ec2(_0x4a4184);return;}}this[_0x5dbba1(0x17e)]===0x7e?this['_state']=_0x342d9e:this[_0x5dbba1(0x17e)]===0x7f?this[_0x5dbba1(0x207)]=_0x274e79:this[_0x5dbba1(0x1c1)](_0x454ec2);}[_0x5b7aa8(0x136)](_0xaee9f0){const _0x2febff=_0x5b7aa8;if(this['_bufferedBytes']<0x2){this[_0x2febff(0x150)]=!0x1;return;}this[_0x2febff(0x17e)]=this[_0x2febff(0x1ec)](0x2)['readUInt16BE'](0x0),this[_0x2febff(0x1c1)](_0xaee9f0);}['getPayloadLength64'](_0x19f376){const _0x356066=_0x5b7aa8;if(this[_0x356066(0x1e1)]<0x8){this[_0x356066(0x150)]=!0x1;return;}const _0x1cd218=this['consume'](0x8),_0x21a988=_0x1cd218[_0x356066(0x13f)](0x0);if(_0x21a988>Math[_0x356066(0x1d7)](0x2,0x15)-0x1){const _0x474f8c=this[_0x356066(0x24e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x356066(0x151));_0x19f376(_0x474f8c);return;}this['_payloadLength']=_0x21a988*Math[_0x356066(0x1d7)](0x2,0x20)+_0x1cd218['readUInt32BE'](0x4),this['haveLength'](_0x19f376);}['haveLength'](_0x4a6786){const _0x5ec4b2=_0x5b7aa8;if(this[_0x5ec4b2(0x17e)]&&this[_0x5ec4b2(0x13e)]<0x8&&(this[_0x5ec4b2(0x1c5)]+=this[_0x5ec4b2(0x17e)],this[_0x5ec4b2(0x1c5)]>this[_0x5ec4b2(0x1ed)]&&this[_0x5ec4b2(0x1ed)]>0x0)){const _0x898469=this[_0x5ec4b2(0x24e)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4a6786(_0x898469);return;}this[_0x5ec4b2(0x115)]?this[_0x5ec4b2(0x207)]=_0x4deae9:this[_0x5ec4b2(0x207)]=_0x1a6757;}[_0x5b7aa8(0x1d3)](){const _0x174297=_0x5b7aa8;if(this[_0x174297(0x1e1)]<0x4){this['_loop']=!0x1;return;}this[_0x174297(0x224)]=this[_0x174297(0x1ec)](0x4),this[_0x174297(0x207)]=_0x1a6757;}[_0x5b7aa8(0xdc)](_0x2a28b5){const _0x26b67a=_0x5b7aa8;let _0x155888=_0x687d28;if(this['_payloadLength']){if(this[_0x26b67a(0x1e1)]<this[_0x26b67a(0x17e)]){this[_0x26b67a(0x150)]=!0x1;return;}_0x155888=this[_0x26b67a(0x1ec)](this[_0x26b67a(0x17e)]),this[_0x26b67a(0x115)]&&(this[_0x26b67a(0x224)][0x0]|this[_0x26b67a(0x224)][0x1]|this[_0x26b67a(0x224)][0x2]|this[_0x26b67a(0x224)][0x3])!==0x0&&_0x385098(_0x155888,this['_mask']);}if(this[_0x26b67a(0x13e)]>0x7){this[_0x26b67a(0x139)](_0x155888,_0x2a28b5);return;}if(this[_0x26b67a(0xc9)]){this[_0x26b67a(0x207)]=_0x4ba3c4,this['decompress'](_0x155888,_0x2a28b5);return;}_0x155888['length']&&(this[_0x26b67a(0x152)]=this[_0x26b67a(0x1c5)],this[_0x26b67a(0x166)][_0x26b67a(0xf9)](_0x155888)),this[_0x26b67a(0x1c8)](_0x2a28b5);}[_0x5b7aa8(0x149)](_0x4379e3,_0x55241e){const _0x37dae0=_0x5b7aa8;this['_extensions'][_0x23ade3[_0x37dae0(0x23f)]][_0x37dae0(0x149)](_0x4379e3,this['_fin'],(_0x17ead3,_0x1a00da)=>{const _0x3a0887=_0x37dae0;if(_0x17ead3)return _0x55241e(_0x17ead3);if(_0x1a00da[_0x3a0887(0x262)]){if(this[_0x3a0887(0x152)]+=_0x1a00da[_0x3a0887(0x262)],this[_0x3a0887(0x152)]>this[_0x3a0887(0x1ed)]&&this[_0x3a0887(0x1ed)]>0x0){const _0x151787=this[_0x3a0887(0x24e)](RangeError,_0x3a0887(0x15f),!0x1,0x3f1,_0x3a0887(0x163));_0x55241e(_0x151787);return;}this[_0x3a0887(0x166)][_0x3a0887(0xf9)](_0x1a00da);}this[_0x3a0887(0x1c8)](_0x55241e),this[_0x3a0887(0x207)]===_0x24356c&&this[_0x3a0887(0x11f)](_0x55241e);});}[_0x5b7aa8(0x1c8)](_0x325aea){const _0x340a9a=_0x5b7aa8;if(!this[_0x340a9a(0x18b)]){this[_0x340a9a(0x207)]=_0x24356c;return;}const _0x37d901=this[_0x340a9a(0x152)],_0x4bd7eb=this[_0x340a9a(0x166)];if(this[_0x340a9a(0x1c5)]=0x0,this[_0x340a9a(0x152)]=0x0,this[_0x340a9a(0x18c)]=0x0,this[_0x340a9a(0x166)]=[],this[_0x340a9a(0x13e)]===0x2){let _0x38f15e;this[_0x340a9a(0x135)]==='nodebuffer'?_0x38f15e=_0x3c9c57(_0x4bd7eb,_0x37d901):this[_0x340a9a(0x135)]===_0x340a9a(0x200)?_0x38f15e=_0xa7e92c(_0x3c9c57(_0x4bd7eb,_0x37d901)):this['_binaryType']===_0x340a9a(0xc5)?_0x38f15e=new Blob(_0x4bd7eb):_0x38f15e=_0x4bd7eb,this[_0x340a9a(0x10e)]?(this[_0x340a9a(0x253)](_0x340a9a(0x131),_0x38f15e,!0x0),this[_0x340a9a(0x207)]=_0x24356c):(this[_0x340a9a(0x207)]=_0xba883f,setImmediate(()=>{const _0xa33da0=_0x340a9a;this[_0xa33da0(0x253)]('message',_0x38f15e,!0x0),this[_0xa33da0(0x207)]=_0x24356c,this[_0xa33da0(0x11f)](_0x325aea);}));}else{const _0x40dd0b=_0x3c9c57(_0x4bd7eb,_0x37d901);if(!this[_0x340a9a(0x134)]&&!_0x5def0b(_0x40dd0b)){const _0xe18cf1=this[_0x340a9a(0x24e)](Error,_0x340a9a(0xd1),!0x0,0x3ef,_0x340a9a(0x220));_0x325aea(_0xe18cf1);return;}this[_0x340a9a(0x207)]===_0x4ba3c4||this[_0x340a9a(0x10e)]?(this[_0x340a9a(0x253)](_0x340a9a(0x131),_0x40dd0b,!0x1),this[_0x340a9a(0x207)]=_0x24356c):(this['_state']=_0xba883f,setImmediate(()=>{const _0x128aed=_0x340a9a;this['emit'](_0x128aed(0x131),_0x40dd0b,!0x1),this[_0x128aed(0x207)]=_0x24356c,this['startLoop'](_0x325aea);}));}}['controlMessage'](_0x251b35,_0x5010a3){const _0x5eb7cd=_0x5b7aa8;if(this[_0x5eb7cd(0x13e)]===0x8){if(_0x251b35[_0x5eb7cd(0x262)]===0x0)this[_0x5eb7cd(0x150)]=!0x1,this[_0x5eb7cd(0x253)](_0x5eb7cd(0x1de),0x3ed,_0x687d28),this[_0x5eb7cd(0x104)]();else{const _0x5888aa=_0x251b35[_0x5eb7cd(0x179)](0x0);if(!_0x3073df(_0x5888aa)){const _0x534559=this[_0x5eb7cd(0x24e)](RangeError,_0x5eb7cd(0x16d)+_0x5888aa,!0x0,0x3ea,_0x5eb7cd(0x1aa));_0x5010a3(_0x534559);return;}const _0x156132=new _0x57d8e8(_0x251b35['buffer'],_0x251b35[_0x5eb7cd(0x168)]+0x2,_0x251b35['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x5def0b(_0x156132)){const _0x1af8f4=this[_0x5eb7cd(0x24e)](Error,_0x5eb7cd(0xd1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5010a3(_0x1af8f4);return;}this['_loop']=!0x1,this[_0x5eb7cd(0x253)]('conclude',_0x5888aa,_0x156132),this[_0x5eb7cd(0x104)]();}this[_0x5eb7cd(0x207)]=_0x24356c;return;}this[_0x5eb7cd(0x10e)]?(this['emit'](this[_0x5eb7cd(0x13e)]===0x9?_0x5eb7cd(0x1a5):_0x5eb7cd(0x235),_0x251b35),this['_state']=_0x24356c):(this['_state']=_0xba883f,setImmediate(()=>{const _0x348194=_0x5eb7cd;this['emit'](this[_0x348194(0x13e)]===0x9?'ping':_0x348194(0x235),_0x251b35),this['_state']=_0x24356c,this[_0x348194(0x11f)](_0x5010a3);}));}[_0x5b7aa8(0x24e)](_0xf2c88f,_0x2ca7f9,_0x48e05c,_0x4f37ab,_0x5afe84){const _0x5abc87=_0x5b7aa8;this[_0x5abc87(0x150)]=!0x1,this[_0x5abc87(0xcf)]=!0x0;const _0x595df7=new _0xf2c88f(_0x48e05c?_0x5abc87(0x23b)+_0x2ca7f9:_0x2ca7f9);return Error['captureStackTrace'](_0x595df7,this[_0x5abc87(0x24e)]),_0x595df7['code']=_0x5afe84,_0x595df7[_0x10f170]=_0x4f37ab,_0x595df7;}}return Se=_0x30c812,Se;}var Ee,et;function _t(){const _0x4bcb82=_0x20537c;if(et)return Ee;et=0x1;const {Duplex:_0x3aed49}=_0x46c74c,{randomFillSync:_0x46ccc5}=_0x1d4818,_0x1955d5=he(),{EMPTY_BUFFER:_0x4782b8,kWebSocket:_0x41ceba,NOOP:_0x1365f4}=V(),{isBlob:_0x46cca2,isValidStatusCode:_0x1e51a6}=ne(),{mask:_0x5c7f94,toBuffer:_0x1dbfe9}=ce(),_0xa535c8=Symbol('kByteLength'),_0x1e8505=Buffer[_0x4bcb82(0x1d8)](0x4),_0x594341=0x8*0x400;let _0x564824,_0x2f97b1=_0x594341;const _0xa6a12e=0x0,_0x3a249b=0x1,_0x1100e2=0x2;class _0x4b7c61{constructor(_0x16ac5e,_0x479e7f,_0x406eae){const _0x3c709b=_0x4bcb82;this[_0x3c709b(0x23e)]=_0x479e7f||{},_0x406eae&&(this[_0x3c709b(0x12b)]=_0x406eae,this[_0x3c709b(0x19e)]=Buffer[_0x3c709b(0x1d8)](0x4)),this[_0x3c709b(0xce)]=_0x16ac5e,this[_0x3c709b(0x103)]=!0x0,this['_compress']=!0x1,this[_0x3c709b(0x1e1)]=0x0,this[_0x3c709b(0x268)]=[],this['_state']=_0xa6a12e,this[_0x3c709b(0x10c)]=_0x1365f4,this[_0x41ceba]=void 0x0;}static[_0x4bcb82(0x111)](_0x39d5d0,_0x40c03a){const _0xabc463=_0x4bcb82;let _0x4cf570,_0x164f30=!0x1,_0x1ea9cf=0x2,_0x49338b=!0x1;_0x40c03a[_0xabc463(0xcd)]&&(_0x4cf570=_0x40c03a[_0xabc463(0x156)]||_0x1e8505,_0x40c03a[_0xabc463(0x1a9)]?_0x40c03a[_0xabc463(0x1a9)](_0x4cf570):(_0x2f97b1===_0x594341&&(_0x564824===void 0x0&&(_0x564824=Buffer[_0xabc463(0x1d8)](_0x594341)),_0x46ccc5(_0x564824,0x0,_0x594341),_0x2f97b1=0x0),_0x4cf570[0x0]=_0x564824[_0x2f97b1++],_0x4cf570[0x1]=_0x564824[_0x2f97b1++],_0x4cf570[0x2]=_0x564824[_0x2f97b1++],_0x4cf570[0x3]=_0x564824[_0x2f97b1++]),_0x49338b=(_0x4cf570[0x0]|_0x4cf570[0x1]|_0x4cf570[0x2]|_0x4cf570[0x3])===0x0,_0x1ea9cf=0x6);let _0x15a347;typeof _0x39d5d0==_0xabc463(0x272)?(!_0x40c03a['mask']||_0x49338b)&&_0x40c03a[_0xa535c8]!==void 0x0?_0x15a347=_0x40c03a[_0xa535c8]:(_0x39d5d0=Buffer[_0xabc463(0x22a)](_0x39d5d0),_0x15a347=_0x39d5d0[_0xabc463(0x262)]):(_0x15a347=_0x39d5d0[_0xabc463(0x262)],_0x164f30=_0x40c03a['mask']&&_0x40c03a[_0xabc463(0x12a)]&&!_0x49338b);let _0x58c0fb=_0x15a347;_0x15a347>=0x10000?(_0x1ea9cf+=0x8,_0x58c0fb=0x7f):_0x15a347>0x7d&&(_0x1ea9cf+=0x2,_0x58c0fb=0x7e);const _0x28a749=Buffer['allocUnsafe'](_0x164f30?_0x15a347+_0x1ea9cf:_0x1ea9cf);return _0x28a749[0x0]=_0x40c03a[_0xabc463(0x252)]?_0x40c03a[_0xabc463(0x1e3)]|0x80:_0x40c03a[_0xabc463(0x1e3)],_0x40c03a[_0xabc463(0x159)]&&(_0x28a749[0x0]|=0x40),_0x28a749[0x1]=_0x58c0fb,_0x58c0fb===0x7e?_0x28a749['writeUInt16BE'](_0x15a347,0x2):_0x58c0fb===0x7f&&(_0x28a749[0x2]=_0x28a749[0x3]=0x0,_0x28a749['writeUIntBE'](_0x15a347,0x4,0x6)),_0x40c03a[_0xabc463(0xcd)]?(_0x28a749[0x1]|=0x80,_0x28a749[_0x1ea9cf-0x4]=_0x4cf570[0x0],_0x28a749[_0x1ea9cf-0x3]=_0x4cf570[0x1],_0x28a749[_0x1ea9cf-0x2]=_0x4cf570[0x2],_0x28a749[_0x1ea9cf-0x1]=_0x4cf570[0x3],_0x49338b?[_0x28a749,_0x39d5d0]:_0x164f30?(_0x5c7f94(_0x39d5d0,_0x4cf570,_0x28a749,_0x1ea9cf,_0x15a347),[_0x28a749]):(_0x5c7f94(_0x39d5d0,_0x4cf570,_0x39d5d0,0x0,_0x15a347),[_0x28a749,_0x39d5d0])):[_0x28a749,_0x39d5d0];}[_0x4bcb82(0x1f9)](_0x2ce073,_0x5387dc,_0x4e5e69,_0xa7666a){const _0x23387d=_0x4bcb82;let _0x12f7d7;if(_0x2ce073===void 0x0)_0x12f7d7=_0x4782b8;else{if(typeof _0x2ce073!=_0x23387d(0x101)||!_0x1e51a6(_0x2ce073))throw new TypeError(_0x23387d(0x19c));if(_0x5387dc===void 0x0||!_0x5387dc[_0x23387d(0x262)])_0x12f7d7=Buffer[_0x23387d(0x1ca)](0x2),_0x12f7d7[_0x23387d(0x1b4)](_0x2ce073,0x0);else{const _0x23a212=Buffer[_0x23387d(0x176)](_0x5387dc);if(_0x23a212>0x7b)throw new RangeError(_0x23387d(0x1d2));_0x12f7d7=Buffer[_0x23387d(0x1ca)](0x2+_0x23a212),_0x12f7d7[_0x23387d(0x1b4)](_0x2ce073,0x0),typeof _0x5387dc==_0x23387d(0x272)?_0x12f7d7[_0x23387d(0x1a2)](_0x5387dc,0x2):_0x12f7d7['set'](_0x5387dc,0x2);}}const _0x1e8c0f={[_0xa535c8]:_0x12f7d7[_0x23387d(0x262)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4e5e69,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x23387d(0x207)]!==_0xa6a12e?this[_0x23387d(0x1ea)]([this[_0x23387d(0x229)],_0x12f7d7,!0x1,_0x1e8c0f,_0xa7666a]):this[_0x23387d(0x10b)](_0x4b7c61['frame'](_0x12f7d7,_0x1e8c0f),_0xa7666a);}['ping'](_0x4d31b0,_0x5069d7,_0x4bb13d){const _0x431286=_0x4bcb82;let _0xe54841,_0x424c86;if(typeof _0x4d31b0==_0x431286(0x272)?(_0xe54841=Buffer[_0x431286(0x176)](_0x4d31b0),_0x424c86=!0x1):_0x46cca2(_0x4d31b0)?(_0xe54841=_0x4d31b0[_0x431286(0x1c3)],_0x424c86=!0x1):(_0x4d31b0=_0x1dbfe9(_0x4d31b0),_0xe54841=_0x4d31b0[_0x431286(0x262)],_0x424c86=_0x1dbfe9[_0x431286(0x12a)]),_0xe54841>0x7d)throw new RangeError(_0x431286(0x23c));const _0x243535={[_0xa535c8]:_0xe54841,'fin':!0x0,'generateMask':this[_0x431286(0x12b)],'mask':_0x5069d7,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x424c86,'rsv1':!0x1};_0x46cca2(_0x4d31b0)?this[_0x431286(0x207)]!==_0xa6a12e?this['enqueue']([this[_0x431286(0x122)],_0x4d31b0,!0x1,_0x243535,_0x4bb13d]):this[_0x431286(0x122)](_0x4d31b0,!0x1,_0x243535,_0x4bb13d):this['_state']!==_0xa6a12e?this[_0x431286(0x1ea)]([this['dispatch'],_0x4d31b0,!0x1,_0x243535,_0x4bb13d]):this[_0x431286(0x10b)](_0x4b7c61[_0x431286(0x111)](_0x4d31b0,_0x243535),_0x4bb13d);}['pong'](_0x2c2ba3,_0x259d54,_0x5b8c60){const _0x1b9473=_0x4bcb82;let _0x33658e,_0x3277fa;if(typeof _0x2c2ba3==_0x1b9473(0x272)?(_0x33658e=Buffer[_0x1b9473(0x176)](_0x2c2ba3),_0x3277fa=!0x1):_0x46cca2(_0x2c2ba3)?(_0x33658e=_0x2c2ba3[_0x1b9473(0x1c3)],_0x3277fa=!0x1):(_0x2c2ba3=_0x1dbfe9(_0x2c2ba3),_0x33658e=_0x2c2ba3[_0x1b9473(0x262)],_0x3277fa=_0x1dbfe9['readOnly']),_0x33658e>0x7d)throw new RangeError(_0x1b9473(0x23c));const _0x1531fd={[_0xa535c8]:_0x33658e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x259d54,'maskBuffer':this[_0x1b9473(0x19e)],'opcode':0xa,'readOnly':_0x3277fa,'rsv1':!0x1};_0x46cca2(_0x2c2ba3)?this[_0x1b9473(0x207)]!==_0xa6a12e?this[_0x1b9473(0x1ea)]([this[_0x1b9473(0x122)],_0x2c2ba3,!0x1,_0x1531fd,_0x5b8c60]):this['getBlobData'](_0x2c2ba3,!0x1,_0x1531fd,_0x5b8c60):this[_0x1b9473(0x207)]!==_0xa6a12e?this[_0x1b9473(0x1ea)]([this[_0x1b9473(0x229)],_0x2c2ba3,!0x1,_0x1531fd,_0x5b8c60]):this[_0x1b9473(0x10b)](_0x4b7c61['frame'](_0x2c2ba3,_0x1531fd),_0x5b8c60);}[_0x4bcb82(0x17c)](_0x3f7746,_0x370af8,_0xc8194e){const _0x3ad68e=_0x4bcb82,_0x3fd135=this['_extensions'][_0x1955d5[_0x3ad68e(0x23f)]];let _0x809deb=_0x370af8['binary']?0x2:0x1,_0x2fd363=_0x370af8[_0x3ad68e(0x1ef)],_0xfa5814,_0x1cb060;typeof _0x3f7746==_0x3ad68e(0x272)?(_0xfa5814=Buffer[_0x3ad68e(0x176)](_0x3f7746),_0x1cb060=!0x1):_0x46cca2(_0x3f7746)?(_0xfa5814=_0x3f7746[_0x3ad68e(0x1c3)],_0x1cb060=!0x1):(_0x3f7746=_0x1dbfe9(_0x3f7746),_0xfa5814=_0x3f7746[_0x3ad68e(0x262)],_0x1cb060=_0x1dbfe9['readOnly']),this[_0x3ad68e(0x103)]?(this[_0x3ad68e(0x103)]=!0x1,_0x2fd363&&_0x3fd135&&_0x3fd135[_0x3ad68e(0x184)][_0x3fd135[_0x3ad68e(0xf0)]?_0x3ad68e(0x265):_0x3ad68e(0x21c)]&&(_0x2fd363=_0xfa5814>=_0x3fd135[_0x3ad68e(0x1a8)]),this[_0x3ad68e(0x180)]=_0x2fd363):(_0x2fd363=!0x1,_0x809deb=0x0),_0x370af8[_0x3ad68e(0x252)]&&(this[_0x3ad68e(0x103)]=!0x0);const _0x547b33={[_0xa535c8]:_0xfa5814,'fin':_0x370af8[_0x3ad68e(0x252)],'generateMask':this['_generateMask'],'mask':_0x370af8[_0x3ad68e(0xcd)],'maskBuffer':this[_0x3ad68e(0x19e)],'opcode':_0x809deb,'readOnly':_0x1cb060,'rsv1':_0x2fd363};_0x46cca2(_0x3f7746)?this[_0x3ad68e(0x207)]!==_0xa6a12e?this[_0x3ad68e(0x1ea)]([this[_0x3ad68e(0x122)],_0x3f7746,this[_0x3ad68e(0x180)],_0x547b33,_0xc8194e]):this['getBlobData'](_0x3f7746,this['_compress'],_0x547b33,_0xc8194e):this[_0x3ad68e(0x207)]!==_0xa6a12e?this[_0x3ad68e(0x1ea)]([this[_0x3ad68e(0x229)],_0x3f7746,this[_0x3ad68e(0x180)],_0x547b33,_0xc8194e]):this[_0x3ad68e(0x229)](_0x3f7746,this['_compress'],_0x547b33,_0xc8194e);}[_0x4bcb82(0x122)](_0x1aa506,_0x2fd4c5,_0x5907aa,_0x3d1694){const _0x3bd414=_0x4bcb82;this[_0x3bd414(0x1e1)]+=_0x5907aa[_0xa535c8],this[_0x3bd414(0x207)]=_0x1100e2,_0x1aa506['arrayBuffer']()['then'](_0x2c6183=>{const _0x1e0352=_0x3bd414;if(this[_0x1e0352(0xce)]['destroyed']){const _0x4fbd0c=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1e0352(0x154)](_0x5cc52d,this,_0x4fbd0c,_0x3d1694);return;}this[_0x1e0352(0x1e1)]-=_0x5907aa[_0xa535c8];const _0x340bb4=_0x1dbfe9(_0x2c6183);_0x2fd4c5?this[_0x1e0352(0x229)](_0x340bb4,_0x2fd4c5,_0x5907aa,_0x3d1694):(this['_state']=_0xa6a12e,this[_0x1e0352(0x10b)](_0x4b7c61[_0x1e0352(0x111)](_0x340bb4,_0x5907aa),_0x3d1694),this[_0x1e0352(0x1bb)]());})[_0x3bd414(0x165)](_0x4be89f=>{const _0x430e25=_0x3bd414;process[_0x430e25(0x154)](_0x2da03a,this,_0x4be89f,_0x3d1694);});}['dispatch'](_0x4a8548,_0x4f89d2,_0x489290,_0x1d3a99){const _0x1ed683=_0x4bcb82;if(!_0x4f89d2){this[_0x1ed683(0x10b)](_0x4b7c61[_0x1ed683(0x111)](_0x4a8548,_0x489290),_0x1d3a99);return;}const _0x541933=this['_extensions'][_0x1955d5[_0x1ed683(0x23f)]];this[_0x1ed683(0x1e1)]+=_0x489290[_0xa535c8],this[_0x1ed683(0x207)]=_0x3a249b,_0x541933[_0x1ed683(0x1ef)](_0x4a8548,_0x489290[_0x1ed683(0x252)],(_0x675f9a,_0x1dadd7)=>{const _0x335407=_0x1ed683;if(this['_socket'][_0x335407(0x174)]){const _0x2fcf5b=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5cc52d(this,_0x2fcf5b,_0x1d3a99);return;}this[_0x335407(0x1e1)]-=_0x489290[_0xa535c8],this[_0x335407(0x207)]=_0xa6a12e,_0x489290[_0x335407(0x12a)]=!0x1,this[_0x335407(0x10b)](_0x4b7c61[_0x335407(0x111)](_0x1dadd7,_0x489290),_0x1d3a99),this[_0x335407(0x1bb)]();});}[_0x4bcb82(0x1bb)](){const _0x3f519d=_0x4bcb82;for(;this[_0x3f519d(0x207)]===_0xa6a12e&&this[_0x3f519d(0x268)][_0x3f519d(0x262)];){const _0x5a5dfe=this['_queue'][_0x3f519d(0xd4)]();this[_0x3f519d(0x1e1)]-=_0x5a5dfe[0x3][_0xa535c8],Reflect['apply'](_0x5a5dfe[0x0],this,_0x5a5dfe[_0x3f519d(0x16b)](0x1));}}[_0x4bcb82(0x1ea)](_0x2b29c9){const _0x58b03a=_0x4bcb82;this[_0x58b03a(0x1e1)]+=_0x2b29c9[0x3][_0xa535c8],this[_0x58b03a(0x268)][_0x58b03a(0xf9)](_0x2b29c9);}[_0x4bcb82(0x10b)](_0x592c5e,_0x47807f){const _0x87cf9a=_0x4bcb82;_0x592c5e[_0x87cf9a(0x262)]===0x2?(this[_0x87cf9a(0xce)][_0x87cf9a(0x19a)](),this[_0x87cf9a(0xce)][_0x87cf9a(0x1a2)](_0x592c5e[0x0]),this[_0x87cf9a(0xce)][_0x87cf9a(0x1a2)](_0x592c5e[0x1],_0x47807f),this['_socket'][_0x87cf9a(0xd2)]()):this[_0x87cf9a(0xce)][_0x87cf9a(0x1a2)](_0x592c5e[0x0],_0x47807f);}}Ee=_0x4b7c61;function _0x5cc52d(_0x4260c8,_0x349a13,_0x5c368d){const _0x1891f9=_0x4bcb82;typeof _0x5c368d==_0x1891f9(0x22c)&&_0x5c368d(_0x349a13);for(let _0x411c33=0x0;_0x411c33<_0x4260c8[_0x1891f9(0x268)][_0x1891f9(0x262)];_0x411c33++){const _0x1f5100=_0x4260c8['_queue'][_0x411c33],_0x10c841=_0x1f5100[_0x1f5100[_0x1891f9(0x262)]-0x1];typeof _0x10c841==_0x1891f9(0x22c)&&_0x10c841(_0x349a13);}}function _0x2da03a(_0x4aeff2,_0xa6699e,_0x349a8){const _0x369d7d=_0x4bcb82;_0x5cc52d(_0x4aeff2,_0xa6699e,_0x349a8),_0x4aeff2[_0x369d7d(0x10c)](_0xa6699e);}return Ee;}var xe,tt;function Kt(){const _0x423ebd=_0x20537c;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5f5db1,kListener:_0x56f0a6}=V(),_0x3a88d7=Symbol(_0x423ebd(0x24d)),_0x4e330a=Symbol(_0x423ebd(0x14e)),_0x2fa449=Symbol(_0x423ebd(0x250)),_0x2d0586=Symbol(_0x423ebd(0x12e)),_0x3ccdc4=Symbol(_0x423ebd(0x212)),_0x41ca00=Symbol(_0x423ebd(0x1a0)),_0x296317=Symbol(_0x423ebd(0x110)),_0x2e3fc1=Symbol('kWasClean');class _0x59f849{constructor(_0x57a7b2){this[_0x41ca00]=null,this[_0x296317]=_0x57a7b2;}get[_0x423ebd(0x19b)](){return this[_0x41ca00];}get['type'](){return this[_0x296317];}}Object[_0x423ebd(0x124)](_0x59f849[_0x423ebd(0x10a)],_0x423ebd(0x19b),{'enumerable':!0x0}),Object[_0x423ebd(0x124)](_0x59f849[_0x423ebd(0x10a)],'type',{'enumerable':!0x0});class _0x1dfcb3 extends _0x59f849{constructor(_0x3fb0e4,_0x23323a={}){const _0x4488d8=_0x423ebd;super(_0x3fb0e4),this[_0x3a88d7]=_0x23323a[_0x4488d8(0x203)]===void 0x0?0x0:_0x23323a[_0x4488d8(0x203)],this[_0x3ccdc4]=_0x23323a['reason']===void 0x0?'':_0x23323a['reason'],this[_0x2e3fc1]=_0x23323a[_0x4488d8(0x1d6)]===void 0x0?!0x1:_0x23323a[_0x4488d8(0x1d6)];}get[_0x423ebd(0x203)](){return this[_0x3a88d7];}get[_0x423ebd(0x213)](){return this[_0x3ccdc4];}get[_0x423ebd(0x1d6)](){return this[_0x2e3fc1];}}Object[_0x423ebd(0x124)](_0x1dfcb3[_0x423ebd(0x10a)],_0x423ebd(0x203),{'enumerable':!0x0}),Object[_0x423ebd(0x124)](_0x1dfcb3[_0x423ebd(0x10a)],_0x423ebd(0x213),{'enumerable':!0x0}),Object[_0x423ebd(0x124)](_0x1dfcb3[_0x423ebd(0x10a)],_0x423ebd(0x1d6),{'enumerable':!0x0});class _0x296742 extends _0x59f849{constructor(_0x4c68d7,_0x3bd0cd={}){const _0x5ea0f0=_0x423ebd;super(_0x4c68d7),this[_0x2fa449]=_0x3bd0cd['error']===void 0x0?null:_0x3bd0cd['error'],this[_0x2d0586]=_0x3bd0cd[_0x5ea0f0(0x131)]===void 0x0?'':_0x3bd0cd[_0x5ea0f0(0x131)];}get[_0x423ebd(0x142)](){return this[_0x2fa449];}get[_0x423ebd(0x131)](){return this[_0x2d0586];}}Object[_0x423ebd(0x124)](_0x296742[_0x423ebd(0x10a)],'error',{'enumerable':!0x0}),Object[_0x423ebd(0x124)](_0x296742[_0x423ebd(0x10a)],_0x423ebd(0x131),{'enumerable':!0x0});class _0x400c42 extends _0x59f849{constructor(_0x5e35c4,_0x6ad001={}){const _0x19a256=_0x423ebd;super(_0x5e35c4),this[_0x4e330a]=_0x6ad001['data']===void 0x0?null:_0x6ad001[_0x19a256(0x143)];}get['data'](){return this[_0x4e330a];}}Object['defineProperty'](_0x400c42['prototype'],_0x423ebd(0x143),{'enumerable':!0x0}),xe={'CloseEvent':_0x1dfcb3,'ErrorEvent':_0x296742,'Event':_0x59f849,'EventTarget':{'addEventListener'(_0x354d4f,_0x488caa,_0x3cc545={}){const _0xb4a7c4=_0x423ebd;for(const _0x408892 of this[_0xb4a7c4(0x24b)](_0x354d4f))if(!_0x3cc545[_0x5f5db1]&&_0x408892[_0x56f0a6]===_0x488caa&&!_0x408892[_0x5f5db1])return;let _0x1d7848;if(_0x354d4f===_0xb4a7c4(0x131))_0x1d7848=function(_0x513145,_0x3743cc){const _0x2bb465=_0xb4a7c4,_0x251700=new _0x400c42(_0x2bb465(0x131),{'data':_0x3743cc?_0x513145:_0x513145['toString']()});_0x251700[_0x41ca00]=this,_0x39ca3d(_0x488caa,this,_0x251700);};else{if(_0x354d4f===_0xb4a7c4(0x1f9))_0x1d7848=function(_0x9acb57,_0x5c12ee){const _0x30ef05=_0xb4a7c4,_0x3e2cfd=new _0x1dfcb3(_0x30ef05(0x1f9),{'code':_0x9acb57,'reason':_0x5c12ee['toString'](),'wasClean':this[_0x30ef05(0x15c)]&&this[_0x30ef05(0x16c)]});_0x3e2cfd[_0x41ca00]=this,_0x39ca3d(_0x488caa,this,_0x3e2cfd);};else{if(_0x354d4f===_0xb4a7c4(0x142))_0x1d7848=function(_0x58a362){const _0x2b902d=_0xb4a7c4,_0x5e7376=new _0x296742('error',{'error':_0x58a362,'message':_0x58a362[_0x2b902d(0x131)]});_0x5e7376[_0x41ca00]=this,_0x39ca3d(_0x488caa,this,_0x5e7376);};else{if(_0x354d4f===_0xb4a7c4(0x21e))_0x1d7848=function(){const _0x35d9f6=_0xb4a7c4,_0xde45=new _0x59f849(_0x35d9f6(0x21e));_0xde45[_0x41ca00]=this,_0x39ca3d(_0x488caa,this,_0xde45);};else return;}}}_0x1d7848[_0x5f5db1]=!!_0x3cc545[_0x5f5db1],_0x1d7848[_0x56f0a6]=_0x488caa,_0x3cc545['once']?this[_0xb4a7c4(0x117)](_0x354d4f,_0x1d7848):this['on'](_0x354d4f,_0x1d7848);},'removeEventListener'(_0x14669f,_0x3cb944){const _0x5b4bca=_0x423ebd;for(const _0x57a1d1 of this[_0x5b4bca(0x24b)](_0x14669f))if(_0x57a1d1[_0x56f0a6]===_0x3cb944&&!_0x57a1d1[_0x5f5db1]){this[_0x5b4bca(0x118)](_0x14669f,_0x57a1d1);break;}}},'MessageEvent':_0x400c42};function _0x39ca3d(_0x2800b5,_0x23f6c8,_0x1881f5){const _0x4c0d6d=_0x423ebd;typeof _0x2800b5=='object'&&_0x2800b5[_0x4c0d6d(0x170)]?_0x2800b5[_0x4c0d6d(0x170)][_0x4c0d6d(0x24c)](_0x2800b5,_0x1881f5):_0x2800b5[_0x4c0d6d(0x24c)](_0x23f6c8,_0x1881f5);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1574aa}=ne();function _0x4756c6(_0x2c33dd,_0x710c6b,_0x3c239c){const _0x2be15d=_0x2b8e;_0x2c33dd[_0x710c6b]===void 0x0?_0x2c33dd[_0x710c6b]=[_0x3c239c]:_0x2c33dd[_0x710c6b][_0x2be15d(0xf9)](_0x3c239c);}function _0x18a9dd(_0x2045ac){const _0x3f2d0f=_0x2b8e,_0x1cd921=Object[_0x3f2d0f(0x27a)](null);let _0x5a1942=Object['create'](null),_0x4a9edb=!0x1,_0x5f0ebd=!0x1,_0x2cf308=!0x1,_0x57bd87,_0x56d143,_0x2ea8a3=-0x1,_0x1e327a=-0x1,_0x5b0045=-0x1,_0x4c10df=0x0;for(;_0x4c10df<_0x2045ac[_0x3f2d0f(0x262)];_0x4c10df++)if(_0x1e327a=_0x2045ac[_0x3f2d0f(0x256)](_0x4c10df),_0x57bd87===void 0x0){if(_0x5b0045===-0x1&&_0x1574aa[_0x1e327a]===0x1)_0x2ea8a3===-0x1&&(_0x2ea8a3=_0x4c10df);else{if(_0x4c10df!==0x0&&(_0x1e327a===0x20||_0x1e327a===0x9))_0x5b0045===-0x1&&_0x2ea8a3!==-0x1&&(_0x5b0045=_0x4c10df);else{if(_0x1e327a===0x3b||_0x1e327a===0x2c){if(_0x2ea8a3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c10df);_0x5b0045===-0x1&&(_0x5b0045=_0x4c10df);const _0x346fd5=_0x2045ac[_0x3f2d0f(0x16b)](_0x2ea8a3,_0x5b0045);_0x1e327a===0x2c?(_0x4756c6(_0x1cd921,_0x346fd5,_0x5a1942),_0x5a1942=Object[_0x3f2d0f(0x27a)](null)):_0x57bd87=_0x346fd5,_0x2ea8a3=_0x5b0045=-0x1;}else throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);}}}else{if(_0x56d143===void 0x0){if(_0x5b0045===-0x1&&_0x1574aa[_0x1e327a]===0x1)_0x2ea8a3===-0x1&&(_0x2ea8a3=_0x4c10df);else{if(_0x1e327a===0x20||_0x1e327a===0x9)_0x5b0045===-0x1&&_0x2ea8a3!==-0x1&&(_0x5b0045=_0x4c10df);else{if(_0x1e327a===0x3b||_0x1e327a===0x2c){if(_0x2ea8a3===-0x1)throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);_0x5b0045===-0x1&&(_0x5b0045=_0x4c10df),_0x4756c6(_0x5a1942,_0x2045ac[_0x3f2d0f(0x16b)](_0x2ea8a3,_0x5b0045),!0x0),_0x1e327a===0x2c&&(_0x4756c6(_0x1cd921,_0x57bd87,_0x5a1942),_0x5a1942=Object[_0x3f2d0f(0x27a)](null),_0x57bd87=void 0x0),_0x2ea8a3=_0x5b0045=-0x1;}else{if(_0x1e327a===0x3d&&_0x2ea8a3!==-0x1&&_0x5b0045===-0x1)_0x56d143=_0x2045ac['slice'](_0x2ea8a3,_0x4c10df),_0x2ea8a3=_0x5b0045=-0x1;else throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);}}}}else{if(_0x5f0ebd){if(_0x1574aa[_0x1e327a]!==0x1)throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);_0x2ea8a3===-0x1?_0x2ea8a3=_0x4c10df:_0x4a9edb||(_0x4a9edb=!0x0),_0x5f0ebd=!0x1;}else{if(_0x2cf308){if(_0x1574aa[_0x1e327a]===0x1)_0x2ea8a3===-0x1&&(_0x2ea8a3=_0x4c10df);else{if(_0x1e327a===0x22&&_0x2ea8a3!==-0x1)_0x2cf308=!0x1,_0x5b0045=_0x4c10df;else{if(_0x1e327a===0x5c)_0x5f0ebd=!0x0;else throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);}}}else{if(_0x1e327a===0x22&&_0x2045ac[_0x3f2d0f(0x256)](_0x4c10df-0x1)===0x3d)_0x2cf308=!0x0;else{if(_0x5b0045===-0x1&&_0x1574aa[_0x1e327a]===0x1)_0x2ea8a3===-0x1&&(_0x2ea8a3=_0x4c10df);else{if(_0x2ea8a3!==-0x1&&(_0x1e327a===0x20||_0x1e327a===0x9))_0x5b0045===-0x1&&(_0x5b0045=_0x4c10df);else{if(_0x1e327a===0x3b||_0x1e327a===0x2c){if(_0x2ea8a3===-0x1)throw new SyntaxError(_0x3f2d0f(0x1f7)+_0x4c10df);_0x5b0045===-0x1&&(_0x5b0045=_0x4c10df);let _0x47ec0e=_0x2045ac['slice'](_0x2ea8a3,_0x5b0045);_0x4a9edb&&(_0x47ec0e=_0x47ec0e[_0x3f2d0f(0x1f5)](/\\/g,''),_0x4a9edb=!0x1),_0x4756c6(_0x5a1942,_0x56d143,_0x47ec0e),_0x1e327a===0x2c&&(_0x4756c6(_0x1cd921,_0x57bd87,_0x5a1942),_0x5a1942=Object[_0x3f2d0f(0x27a)](null),_0x57bd87=void 0x0),_0x56d143=void 0x0,_0x2ea8a3=_0x5b0045=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c10df);}}}}}}}if(_0x2ea8a3===-0x1||_0x2cf308||_0x1e327a===0x20||_0x1e327a===0x9)throw new SyntaxError(_0x3f2d0f(0x1d5));_0x5b0045===-0x1&&(_0x5b0045=_0x4c10df);const _0x2a2e84=_0x2045ac['slice'](_0x2ea8a3,_0x5b0045);return _0x57bd87===void 0x0?_0x4756c6(_0x1cd921,_0x2a2e84,_0x5a1942):(_0x56d143===void 0x0?_0x4756c6(_0x5a1942,_0x2a2e84,!0x0):_0x4a9edb?_0x4756c6(_0x5a1942,_0x56d143,_0x2a2e84['replace'](/\\/g,'')):_0x4756c6(_0x5a1942,_0x56d143,_0x2a2e84),_0x4756c6(_0x1cd921,_0x57bd87,_0x5a1942)),_0x1cd921;}function _0x2e2e45(_0x1d3e31){const _0x16445a=_0x2b8e;return Object[_0x16445a(0x17d)](_0x1d3e31)[_0x16445a(0x25a)](_0x38e2ac=>{const _0x3c6cdd=_0x16445a;let _0x1332fd=_0x1d3e31[_0x38e2ac];return Array[_0x3c6cdd(0x1a1)](_0x1332fd)||(_0x1332fd=[_0x1332fd]),_0x1332fd['map'](_0x6b504b=>[_0x38e2ac][_0x3c6cdd(0x230)](Object[_0x3c6cdd(0x17d)](_0x6b504b)['map'](_0x2d87bb=>{const _0x5cd8fd=_0x3c6cdd;let _0xa11a7d=_0x6b504b[_0x2d87bb];return Array[_0x5cd8fd(0x1a1)](_0xa11a7d)||(_0xa11a7d=[_0xa11a7d]),_0xa11a7d[_0x5cd8fd(0x25a)](_0xa91608=>_0xa91608===!0x0?_0x2d87bb:_0x2d87bb+'='+_0xa91608)[_0x5cd8fd(0x167)](';\x20');}))[_0x3c6cdd(0x167)](';\x20'))[_0x3c6cdd(0x167)](',\x20');})[_0x16445a(0x167)](',\x20');}return be={'format':_0x2e2e45,'parse':_0x18a9dd},be;}var we,st;function Ie(){const _0x2cbde0=_0x20537c;if(st)return we;st=0x1;const _0x440555=_0x158136,_0x3b44e6=_0x46dfe4,_0x6a3e5e=_0x2e1b20,_0x5b8bdd=_0x1de301,_0x1bdce3=_0x223664,{randomBytes:_0xc0b093,createHash:_0x2a7c4f}=_0x1d4818,{Duplex:_0x308ed1,Readable:_0x543da5}=_0x46c74c,{URL:_0x162473}=_0x3c1cc7,_0x35e442=he(),_0x239cc9=dt(),_0x199e46=_t(),{isBlob:_0x582594}=ne(),{BINARY_TYPES:_0x558f82,EMPTY_BUFFER:_0x7d526e,GUID:_0x3ef9c4,kForOnEventAttribute:_0x1da648,kListener:_0x490b47,kStatusCode:_0x332202,kWebSocket:_0x36e4a0,NOOP:_0x134cfe}=V(),{EventTarget:{addEventListener:_0x417484,removeEventListener:_0x375bc4}}=Kt(),{format:_0x46e9f2,parse:_0x124b1c}=pt(),{toBuffer:_0x1aa5b5}=ce(),_0x35f89c=0x1e*0x3e8,_0x41be31=Symbol('kAborted'),_0x5bf524=[0x8,0xd],_0x1f20c3=['CONNECTING','OPEN','CLOSING',_0x2cbde0(0xdd)],_0x52161b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x429740 extends _0x440555{constructor(_0x5b706d,_0xc6dfe2,_0x456ecb){const _0x3eb34c=_0x2cbde0;super(),this[_0x3eb34c(0x135)]=_0x558f82[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x3eb34c(0x16c)]=!0x1,this['_closeMessage']=_0x7d526e,this['_closeTimer']=null,this[_0x3eb34c(0x1ae)]=!0x1,this[_0x3eb34c(0x23e)]={},this[_0x3eb34c(0x202)]=!0x1,this['_protocol']='',this[_0x3eb34c(0x177)]=_0x429740[_0x3eb34c(0x1c9)],this['_receiver']=null,this[_0x3eb34c(0x14f)]=null,this['_socket']=null,_0x5b706d!==null?(this[_0x3eb34c(0x1cb)]=0x0,this[_0x3eb34c(0xf0)]=!0x1,this[_0x3eb34c(0xe7)]=0x0,_0xc6dfe2===void 0x0?_0xc6dfe2=[]:Array[_0x3eb34c(0x1a1)](_0xc6dfe2)||(typeof _0xc6dfe2==_0x3eb34c(0x17b)&&_0xc6dfe2!==null?(_0x456ecb=_0xc6dfe2,_0xc6dfe2=[]):_0xc6dfe2=[_0xc6dfe2]),_0x25d045(this,_0x5b706d,_0xc6dfe2,_0x456ecb)):(this['_autoPong']=_0x456ecb['autoPong'],this[_0x3eb34c(0xf0)]=!0x0);}get[_0x2cbde0(0x171)](){const _0x5cbfbe=_0x2cbde0;return this[_0x5cbfbe(0x135)];}set['binaryType'](_0x2e45ef){const _0x50944d=_0x2cbde0;_0x558f82[_0x50944d(0xfc)](_0x2e45ef)&&(this[_0x50944d(0x135)]=_0x2e45ef,this[_0x50944d(0x1cd)]&&(this[_0x50944d(0x1cd)][_0x50944d(0x135)]=_0x2e45ef));}get['bufferedAmount'](){const _0x40d4cf=_0x2cbde0;return this[_0x40d4cf(0xce)]?this[_0x40d4cf(0xce)]['_writableState'][_0x40d4cf(0x262)]+this[_0x40d4cf(0x14f)][_0x40d4cf(0x1e1)]:this[_0x40d4cf(0x1cb)];}get[_0x2cbde0(0x147)](){const _0x59aaaa=_0x2cbde0;return Object['keys'](this[_0x59aaaa(0x23e)])[_0x59aaaa(0x167)]();}get['isPaused'](){const _0x4879c0=_0x2cbde0;return this[_0x4879c0(0x202)];}get['onclose'](){return null;}get[_0x2cbde0(0x10c)](){return null;}get[_0x2cbde0(0x19d)](){return null;}get[_0x2cbde0(0xda)](){return null;}get[_0x2cbde0(0x23d)](){const _0x10f613=_0x2cbde0;return this[_0x10f613(0xf4)];}get[_0x2cbde0(0x278)](){const _0x33ec04=_0x2cbde0;return this[_0x33ec04(0x177)];}get['url'](){return this['_url'];}[_0x2cbde0(0x1f3)](_0x63480e,_0x15f438,_0x145363){const _0x34e5c4=_0x2cbde0,_0x3ace68=new _0x239cc9({'allowSynchronousEvents':_0x145363[_0x34e5c4(0xe3)],'binaryType':this[_0x34e5c4(0x171)],'extensions':this[_0x34e5c4(0x23e)],'isServer':this['_isServer'],'maxPayload':_0x145363[_0x34e5c4(0xf1)],'skipUTF8Validation':_0x145363[_0x34e5c4(0x211)]}),_0x104604=new _0x199e46(_0x63480e,this[_0x34e5c4(0x23e)],_0x145363[_0x34e5c4(0x1a9)]);this[_0x34e5c4(0x1cd)]=_0x3ace68,this[_0x34e5c4(0x14f)]=_0x104604,this[_0x34e5c4(0xce)]=_0x63480e,_0x3ace68[_0x36e4a0]=this,_0x104604[_0x36e4a0]=this,_0x63480e[_0x36e4a0]=this,_0x3ace68['on']('conclude',_0x3406bd),_0x3ace68['on']('drain',_0x5e07d0),_0x3ace68['on'](_0x34e5c4(0x142),_0x58659c),_0x3ace68['on'](_0x34e5c4(0x131),_0x53ec11),_0x3ace68['on'](_0x34e5c4(0x1a5),_0x355c3b),_0x3ace68['on'](_0x34e5c4(0x235),_0x9f8e84),_0x104604[_0x34e5c4(0x10c)]=_0x2db792,_0x63480e[_0x34e5c4(0x1b6)]&&_0x63480e['setTimeout'](0x0),_0x63480e[_0x34e5c4(0x242)]&&_0x63480e['setNoDelay'](),_0x15f438[_0x34e5c4(0x262)]>0x0&&_0x63480e[_0x34e5c4(0x264)](_0x15f438),_0x63480e['on'](_0x34e5c4(0x1f9),_0x32b395),_0x63480e['on'](_0x34e5c4(0x143),_0x2c06ef),_0x63480e['on'](_0x34e5c4(0x104),_0x40f07a),_0x63480e['on'](_0x34e5c4(0x142),_0x3627a0),this[_0x34e5c4(0x177)]=_0x429740[_0x34e5c4(0x1f8)],this[_0x34e5c4(0x253)]('open');}[_0x2cbde0(0x208)](){const _0x4ac3c9=_0x2cbde0;if(!this[_0x4ac3c9(0xce)]){this['_readyState']=_0x429740[_0x4ac3c9(0xdd)],this[_0x4ac3c9(0x253)](_0x4ac3c9(0x1f9),this[_0x4ac3c9(0x120)],this[_0x4ac3c9(0xfb)]);return;}this['_extensions'][_0x35e442[_0x4ac3c9(0x23f)]]&&this[_0x4ac3c9(0x23e)][_0x35e442[_0x4ac3c9(0x23f)]][_0x4ac3c9(0x1e5)](),this['_receiver'][_0x4ac3c9(0x1da)](),this[_0x4ac3c9(0x177)]=_0x429740[_0x4ac3c9(0xdd)],this['emit'](_0x4ac3c9(0x1f9),this['_closeCode'],this[_0x4ac3c9(0xfb)]);}[_0x2cbde0(0x1f9)](_0x402e83,_0x258f81){const _0x5b9f62=_0x2cbde0;if(this[_0x5b9f62(0x278)]!==_0x429740[_0x5b9f62(0xdd)]){if(this['readyState']===_0x429740[_0x5b9f62(0x1c9)]){_0x5c5b86(this,this[_0x5b9f62(0xd8)],_0x5b9f62(0x185));return;}if(this[_0x5b9f62(0x278)]===_0x429740[_0x5b9f62(0x24f)]){this[_0x5b9f62(0x16c)]&&(this[_0x5b9f62(0x15c)]||this['_receiver'][_0x5b9f62(0xe5)]['errorEmitted'])&&this[_0x5b9f62(0xce)][_0x5b9f62(0x104)]();return;}this['_readyState']=_0x429740[_0x5b9f62(0x24f)],this[_0x5b9f62(0x14f)]['close'](_0x402e83,_0x258f81,!this[_0x5b9f62(0xf0)],_0x5856d0=>{const _0x26b074=_0x5b9f62;_0x5856d0||(this[_0x26b074(0x16c)]=!0x0,(this['_closeFrameReceived']||this[_0x26b074(0x1cd)]['_writableState'][_0x26b074(0xf6)])&&this[_0x26b074(0xce)][_0x26b074(0x104)]());}),_0x48de6f(this);}}[_0x2cbde0(0x206)](){const _0x4a2ea3=_0x2cbde0;this[_0x4a2ea3(0x278)]===_0x429740[_0x4a2ea3(0x1c9)]||this[_0x4a2ea3(0x278)]===_0x429740[_0x4a2ea3(0xdd)]||(this[_0x4a2ea3(0x202)]=!0x0,this['_socket'][_0x4a2ea3(0x206)]());}[_0x2cbde0(0x1a5)](_0xcae729,_0x1939f4,_0xea71bc){const _0x3712ee=_0x2cbde0;if(this[_0x3712ee(0x278)]===_0x429740[_0x3712ee(0x1c9)])throw new Error(_0x3712ee(0x22e));if(typeof _0xcae729=='function'?(_0xea71bc=_0xcae729,_0xcae729=_0x1939f4=void 0x0):typeof _0x1939f4==_0x3712ee(0x22c)&&(_0xea71bc=_0x1939f4,_0x1939f4=void 0x0),typeof _0xcae729=='number'&&(_0xcae729=_0xcae729[_0x3712ee(0x119)]()),this[_0x3712ee(0x278)]!==_0x429740[_0x3712ee(0x1f8)]){_0x57601f(this,_0xcae729,_0xea71bc);return;}_0x1939f4===void 0x0&&(_0x1939f4=!this['_isServer']),this[_0x3712ee(0x14f)][_0x3712ee(0x1a5)](_0xcae729||_0x7d526e,_0x1939f4,_0xea71bc);}[_0x2cbde0(0x235)](_0x163b6e,_0x1ad333,_0x2788cd){const _0x55775b=_0x2cbde0;if(this[_0x55775b(0x278)]===_0x429740[_0x55775b(0x1c9)])throw new Error(_0x55775b(0x22e));if(typeof _0x163b6e==_0x55775b(0x22c)?(_0x2788cd=_0x163b6e,_0x163b6e=_0x1ad333=void 0x0):typeof _0x1ad333=='function'&&(_0x2788cd=_0x1ad333,_0x1ad333=void 0x0),typeof _0x163b6e=='number'&&(_0x163b6e=_0x163b6e[_0x55775b(0x119)]()),this['readyState']!==_0x429740[_0x55775b(0x1f8)]){_0x57601f(this,_0x163b6e,_0x2788cd);return;}_0x1ad333===void 0x0&&(_0x1ad333=!this['_isServer']),this[_0x55775b(0x14f)][_0x55775b(0x235)](_0x163b6e||_0x7d526e,_0x1ad333,_0x2788cd);}['resume'](){const _0x1c4670=_0x2cbde0;this[_0x1c4670(0x278)]===_0x429740[_0x1c4670(0x1c9)]||this[_0x1c4670(0x278)]===_0x429740[_0x1c4670(0xdd)]||(this['_paused']=!0x1,this[_0x1c4670(0x1cd)][_0x1c4670(0xe5)][_0x1c4670(0x194)]||this[_0x1c4670(0xce)][_0x1c4670(0x27b)]());}[_0x2cbde0(0x17c)](_0x49665b,_0x3c7888,_0x39b52e){const _0x1eb72d=_0x2cbde0;if(this[_0x1eb72d(0x278)]===_0x429740[_0x1eb72d(0x1c9)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3c7888==_0x1eb72d(0x22c)&&(_0x39b52e=_0x3c7888,_0x3c7888={}),typeof _0x49665b=='number'&&(_0x49665b=_0x49665b[_0x1eb72d(0x119)]()),this[_0x1eb72d(0x278)]!==_0x429740['OPEN']){_0x57601f(this,_0x49665b,_0x39b52e);return;}const _0x224f32={'binary':typeof _0x49665b!=_0x1eb72d(0x272),'mask':!this[_0x1eb72d(0xf0)],'compress':!0x0,'fin':!0x0,..._0x3c7888};this[_0x1eb72d(0x23e)][_0x35e442[_0x1eb72d(0x23f)]]||(_0x224f32[_0x1eb72d(0x1ef)]=!0x1),this[_0x1eb72d(0x14f)]['send'](_0x49665b||_0x7d526e,_0x224f32,_0x39b52e);}[_0x2cbde0(0x15d)](){const _0x16fd2c=_0x2cbde0;if(this['readyState']!==_0x429740[_0x16fd2c(0xdd)]){if(this[_0x16fd2c(0x278)]===_0x429740[_0x16fd2c(0x1c9)]){_0x5c5b86(this,this[_0x16fd2c(0xd8)],_0x16fd2c(0x185));return;}this[_0x16fd2c(0xce)]&&(this[_0x16fd2c(0x177)]=_0x429740['CLOSING'],this[_0x16fd2c(0xce)]['destroy']());}}}Object[_0x2cbde0(0x124)](_0x429740,_0x2cbde0(0x1c9),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)]('CONNECTING')}),Object[_0x2cbde0(0x124)](_0x429740[_0x2cbde0(0x10a)],_0x2cbde0(0x1c9),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)](_0x2cbde0(0x1c9))}),Object['defineProperty'](_0x429740,_0x2cbde0(0x1f8),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)]('OPEN')}),Object[_0x2cbde0(0x124)](_0x429740[_0x2cbde0(0x10a)],_0x2cbde0(0x1f8),{'enumerable':!0x0,'value':_0x1f20c3['indexOf'](_0x2cbde0(0x1f8))}),Object[_0x2cbde0(0x124)](_0x429740,_0x2cbde0(0x24f),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)](_0x2cbde0(0x24f))}),Object[_0x2cbde0(0x124)](_0x429740[_0x2cbde0(0x10a)],'CLOSING',{'enumerable':!0x0,'value':_0x1f20c3['indexOf'](_0x2cbde0(0x24f))}),Object[_0x2cbde0(0x124)](_0x429740,_0x2cbde0(0xdd),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)](_0x2cbde0(0xdd))}),Object[_0x2cbde0(0x124)](_0x429740[_0x2cbde0(0x10a)],_0x2cbde0(0xdd),{'enumerable':!0x0,'value':_0x1f20c3[_0x2cbde0(0x26c)]('CLOSED')}),[_0x2cbde0(0x171),_0x2cbde0(0x18a),'extensions',_0x2cbde0(0x1f0),'protocol',_0x2cbde0(0x278),_0x2cbde0(0xde)][_0x2cbde0(0x153)](_0x2a9fda=>{const _0x528090=_0x2cbde0;Object['defineProperty'](_0x429740[_0x528090(0x10a)],_0x2a9fda,{'enumerable':!0x0});}),[_0x2cbde0(0x21e),'error','close',_0x2cbde0(0x131)]['forEach'](_0x23c792=>{const _0x257888=_0x2cbde0;Object['defineProperty'](_0x429740[_0x257888(0x10a)],'on'+_0x23c792,{'enumerable':!0x0,'get'(){const _0x48f4fc=_0x257888;for(const _0x1d2bf6 of this[_0x48f4fc(0x24b)](_0x23c792))if(_0x1d2bf6[_0x1da648])return _0x1d2bf6[_0x490b47];return null;},'set'(_0x5dc9c0){const _0x1d0e09=_0x257888;for(const _0x1631d3 of this['listeners'](_0x23c792))if(_0x1631d3[_0x1da648]){this[_0x1d0e09(0x118)](_0x23c792,_0x1631d3);break;}typeof _0x5dc9c0==_0x1d0e09(0x22c)&&this[_0x1d0e09(0x1fb)](_0x23c792,_0x5dc9c0,{[_0x1da648]:!0x0});}});}),_0x429740[_0x2cbde0(0x10a)][_0x2cbde0(0x1fb)]=_0x417484,_0x429740[_0x2cbde0(0x10a)]['removeEventListener']=_0x375bc4,we=_0x429740;function _0x25d045(_0x453f6a,_0x4cd9dd,_0x356488,_0x62ba3b){const _0xaba577=_0x2cbde0,_0xec9d6f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5bf524[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x62ba3b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xaba577(0x210),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x453f6a[_0xaba577(0x1d0)]=_0xec9d6f[_0xaba577(0xca)],!_0x5bf524[_0xaba577(0xfc)](_0xec9d6f[_0xaba577(0xeb)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xec9d6f[_0xaba577(0xeb)]+'\x20(supported\x20versions:\x20'+_0x5bf524[_0xaba577(0x167)](',\x20')+')');let _0x3e87f9;if(_0x4cd9dd instanceof _0x162473)_0x3e87f9=_0x4cd9dd;else try{_0x3e87f9=new _0x162473(_0x4cd9dd);}catch{throw new SyntaxError(_0xaba577(0x218)+_0x4cd9dd);}_0x3e87f9['protocol']===_0xaba577(0xfa)?_0x3e87f9[_0xaba577(0x23d)]=_0xaba577(0x140):_0x3e87f9['protocol']===_0xaba577(0x14a)&&(_0x3e87f9[_0xaba577(0x23d)]=_0xaba577(0x1c7)),_0x453f6a[_0xaba577(0xed)]=_0x3e87f9[_0xaba577(0x1f6)];const _0xa23490=_0x3e87f9[_0xaba577(0x23d)]===_0xaba577(0x1c7),_0x4f2b50=_0x3e87f9[_0xaba577(0x23d)]===_0xaba577(0xc3);let _0x1b475e;if(_0x3e87f9[_0xaba577(0x23d)]!=='ws:'&&!_0xa23490&&!_0x4f2b50?_0x1b475e=_0xaba577(0x1c4):_0x4f2b50&&!_0x3e87f9[_0xaba577(0x14b)]?_0x1b475e=_0xaba577(0x1ee):_0x3e87f9['hash']&&(_0x1b475e=_0xaba577(0x25d)),_0x1b475e){const _0x459f0a=new SyntaxError(_0x1b475e);if(_0x453f6a[_0xaba577(0xe7)]===0x0)throw _0x459f0a;_0x25a1f9(_0x453f6a,_0x459f0a);return;}const _0x5e23d6=_0xa23490?0x1bb:0x50,_0x23ba6b=_0xc0b093(0x10)['toString'](_0xaba577(0x1b9)),_0x29c76f=_0xa23490?_0x3b44e6['request']:_0x6a3e5e[_0xaba577(0x123)],_0x4926a8=new Set();let _0x32e01c;if(_0xec9d6f['createConnection']=_0xec9d6f[_0xaba577(0xea)]||(_0xa23490?_0x1ccebf:_0x516cb7),_0xec9d6f[_0xaba577(0x12d)]=_0xec9d6f[_0xaba577(0x12d)]||_0x5e23d6,_0xec9d6f[_0xaba577(0x240)]=_0x3e87f9[_0xaba577(0x240)]||_0x5e23d6,_0xec9d6f[_0xaba577(0x107)]=_0x3e87f9['hostname'][_0xaba577(0x255)]('[')?_0x3e87f9[_0xaba577(0x161)][_0xaba577(0x16b)](0x1,-0x1):_0x3e87f9['hostname'],_0xec9d6f[_0xaba577(0x22f)]={..._0xec9d6f[_0xaba577(0x22f)],'Sec-WebSocket-Version':_0xec9d6f[_0xaba577(0xeb)],'Sec-WebSocket-Key':_0x23ba6b,'Connection':_0xaba577(0x23a),'Upgrade':_0xaba577(0x21b)},_0xec9d6f[_0xaba577(0x1e6)]=_0x3e87f9[_0xaba577(0x14b)]+_0x3e87f9[_0xaba577(0x259)],_0xec9d6f[_0xaba577(0x181)]=_0xec9d6f[_0xaba577(0x1fd)],_0xec9d6f[_0xaba577(0x234)]&&(_0x32e01c=new _0x35e442(_0xec9d6f['perMessageDeflate']!==!0x0?_0xec9d6f[_0xaba577(0x234)]:{},!0x1,_0xec9d6f[_0xaba577(0xf1)]),_0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x109)]=_0x46e9f2({[_0x35e442[_0xaba577(0x23f)]]:_0x32e01c['offer']()})),_0x356488[_0xaba577(0x262)]){for(const _0x305e16 of _0x356488){if(typeof _0x305e16!='string'||!_0x52161b[_0xaba577(0xd3)](_0x305e16)||_0x4926a8[_0xaba577(0x201)](_0x305e16))throw new SyntaxError(_0xaba577(0x125));_0x4926a8[_0xaba577(0x12c)](_0x305e16);}_0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x274)]=_0x356488[_0xaba577(0x167)](',');}if(_0xec9d6f[_0xaba577(0x11a)]&&(_0xec9d6f[_0xaba577(0xeb)]<0xd?_0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x10f)]=_0xec9d6f[_0xaba577(0x11a)]:_0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x12f)]=_0xec9d6f[_0xaba577(0x11a)]),(_0x3e87f9[_0xaba577(0x277)]||_0x3e87f9['password'])&&(_0xec9d6f[_0xaba577(0xf5)]=_0x3e87f9[_0xaba577(0x277)]+':'+_0x3e87f9[_0xaba577(0x137)]),_0x4f2b50){const _0x47d6c1=_0xec9d6f[_0xaba577(0x1e6)]['split'](':');_0xec9d6f[_0xaba577(0x20f)]=_0x47d6c1[0x0],_0xec9d6f[_0xaba577(0x1e6)]=_0x47d6c1[0x1];}let _0x2d2a2c;if(_0xec9d6f[_0xaba577(0x261)]){if(_0x453f6a[_0xaba577(0xe7)]===0x0){_0x453f6a[_0xaba577(0x1a7)]=_0x4f2b50,_0x453f6a['_originalSecure']=_0xa23490,_0x453f6a[_0xaba577(0x173)]=_0x4f2b50?_0xec9d6f[_0xaba577(0x20f)]:_0x3e87f9[_0xaba577(0x107)];const _0x50db2e=_0x62ba3b&&_0x62ba3b[_0xaba577(0x22f)];if(_0x62ba3b={..._0x62ba3b,'headers':{}},_0x50db2e){for(const [_0x13cd4d,_0xed984a]of Object[_0xaba577(0x192)](_0x50db2e))_0x62ba3b['headers'][_0x13cd4d[_0xaba577(0x215)]()]=_0xed984a;}}else{if(_0x453f6a['listenerCount'](_0xaba577(0x266))===0x0){const _0x1a5753=_0x4f2b50?_0x453f6a['_originalIpc']?_0xec9d6f[_0xaba577(0x20f)]===_0x453f6a[_0xaba577(0x173)]:!0x1:_0x453f6a[_0xaba577(0x1a7)]?!0x1:_0x3e87f9[_0xaba577(0x107)]===_0x453f6a[_0xaba577(0x173)];(!_0x1a5753||_0x453f6a['_originalSecure']&&!_0xa23490)&&(delete _0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x1f1)],delete _0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x27e)],_0x1a5753||delete _0xec9d6f[_0xaba577(0x22f)][_0xaba577(0x107)],_0xec9d6f['auth']=void 0x0);}}_0xec9d6f[_0xaba577(0xf5)]&&!_0x62ba3b[_0xaba577(0x22f)][_0xaba577(0x1f1)]&&(_0x62ba3b[_0xaba577(0x22f)][_0xaba577(0x1f1)]='Basic\x20'+Buffer[_0xaba577(0x22a)](_0xec9d6f[_0xaba577(0xf5)])[_0xaba577(0x119)](_0xaba577(0x1b9))),_0x2d2a2c=_0x453f6a[_0xaba577(0xd8)]=_0x29c76f(_0xec9d6f),_0x453f6a[_0xaba577(0xe7)]&&_0x453f6a[_0xaba577(0x253)](_0xaba577(0x266),_0x453f6a[_0xaba577(0xde)],_0x2d2a2c);}else _0x2d2a2c=_0x453f6a[_0xaba577(0xd8)]=_0x29c76f(_0xec9d6f);_0xec9d6f['timeout']&&_0x2d2a2c['on'](_0xaba577(0x181),()=>{const _0x3f7135=_0xaba577;_0x5c5b86(_0x453f6a,_0x2d2a2c,_0x3f7135(0x243));}),_0x2d2a2c['on'](_0xaba577(0x142),_0x7b7c33=>{const _0x544a50=_0xaba577;_0x2d2a2c===null||_0x2d2a2c[_0x41be31]||(_0x2d2a2c=_0x453f6a[_0x544a50(0xd8)]=null,_0x25a1f9(_0x453f6a,_0x7b7c33));}),_0x2d2a2c['on']('response',_0x32b3bd=>{const _0x5618e2=_0xaba577,_0x3d5b5c=_0x32b3bd[_0x5618e2(0x22f)]['location'],_0x27dacc=_0x32b3bd['statusCode'];if(_0x3d5b5c&&_0xec9d6f['followRedirects']&&_0x27dacc>=0x12c&&_0x27dacc<0x190){if(++_0x453f6a[_0x5618e2(0xe7)]>_0xec9d6f[_0x5618e2(0x113)]){_0x5c5b86(_0x453f6a,_0x2d2a2c,_0x5618e2(0x1cf));return;}_0x2d2a2c[_0x5618e2(0x100)]();let _0x596d59;try{_0x596d59=new _0x162473(_0x3d5b5c,_0x4cd9dd);}catch{const _0x46c4d4=new SyntaxError('Invalid\x20URL:\x20'+_0x3d5b5c);_0x25a1f9(_0x453f6a,_0x46c4d4);return;}_0x25d045(_0x453f6a,_0x596d59,_0x356488,_0x62ba3b);}else _0x453f6a[_0x5618e2(0x253)](_0x5618e2(0xe9),_0x2d2a2c,_0x32b3bd)||_0x5c5b86(_0x453f6a,_0x2d2a2c,_0x5618e2(0x1c0)+_0x32b3bd['statusCode']);}),_0x2d2a2c['on'](_0xaba577(0xf7),(_0x4fcb3a,_0x2a6a50,_0x27ea1c)=>{const _0x4e043f=_0xaba577;if(_0x453f6a[_0x4e043f(0x253)]('upgrade',_0x4fcb3a),_0x453f6a[_0x4e043f(0x278)]!==_0x429740['CONNECTING'])return;_0x2d2a2c=_0x453f6a[_0x4e043f(0xd8)]=null;const _0x595ffc=_0x4fcb3a['headers'][_0x4e043f(0xf7)];if(_0x595ffc===void 0x0||_0x595ffc[_0x4e043f(0x215)]()!=='websocket'){_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x14c));return;}const _0x4b77c3=_0x2a7c4f(_0x4e043f(0x225))[_0x4e043f(0xc4)](_0x23ba6b+_0x3ef9c4)[_0x4e043f(0x221)]('base64');if(_0x4fcb3a['headers']['sec-websocket-accept']!==_0x4b77c3){_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x222));return;}const _0x433f59=_0x4fcb3a[_0x4e043f(0x22f)][_0x4e043f(0x164)];let _0x2b0e23;if(_0x433f59!==void 0x0?_0x4926a8[_0x4e043f(0x1c3)]?_0x4926a8['has'](_0x433f59)||(_0x2b0e23=_0x4e043f(0x270)):_0x2b0e23=_0x4e043f(0x238):_0x4926a8[_0x4e043f(0x1c3)]&&(_0x2b0e23=_0x4e043f(0x199)),_0x2b0e23){_0x5c5b86(_0x453f6a,_0x2a6a50,_0x2b0e23);return;}_0x433f59&&(_0x453f6a[_0x4e043f(0xf4)]=_0x433f59);const _0x4bede4=_0x4fcb3a[_0x4e043f(0x22f)][_0x4e043f(0x25c)];if(_0x4bede4!==void 0x0){if(!_0x32e01c){_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x172));return;}let _0x2fb913;try{_0x2fb913=_0x124b1c(_0x4bede4);}catch{_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x227));return;}const _0x3549f6=Object[_0x4e043f(0x17d)](_0x2fb913);if(_0x3549f6['length']!==0x1||_0x3549f6[0x0]!==_0x35e442[_0x4e043f(0x23f)]){_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x1fe));return;}try{_0x32e01c[_0x4e043f(0x20a)](_0x2fb913[_0x35e442[_0x4e043f(0x23f)]]);}catch{_0x5c5b86(_0x453f6a,_0x2a6a50,_0x4e043f(0x227));return;}_0x453f6a[_0x4e043f(0x23e)][_0x35e442[_0x4e043f(0x23f)]]=_0x32e01c;}_0x453f6a['setSocket'](_0x2a6a50,_0x27ea1c,{'allowSynchronousEvents':_0xec9d6f['allowSynchronousEvents'],'generateMask':_0xec9d6f[_0x4e043f(0x1a9)],'maxPayload':_0xec9d6f['maxPayload'],'skipUTF8Validation':_0xec9d6f[_0x4e043f(0x211)]});}),_0xec9d6f[_0xaba577(0x21a)]?_0xec9d6f[_0xaba577(0x21a)](_0x2d2a2c,_0x453f6a):_0x2d2a2c['end']();}function _0x25a1f9(_0x44edf4,_0xe70482){const _0x83565d=_0x2cbde0;_0x44edf4[_0x83565d(0x177)]=_0x429740[_0x83565d(0x24f)],_0x44edf4[_0x83565d(0x1ae)]=!0x0,_0x44edf4[_0x83565d(0x253)](_0x83565d(0x142),_0xe70482),_0x44edf4[_0x83565d(0x208)]();}function _0x516cb7(_0x26ddbf){const _0x10a576=_0x2cbde0;return _0x26ddbf['path']=_0x26ddbf[_0x10a576(0x20f)],_0x5b8bdd[_0x10a576(0x1ad)](_0x26ddbf);}function _0x1ccebf(_0x3112a4){const _0x18fc51=_0x2cbde0;return _0x3112a4['path']=void 0x0,!_0x3112a4[_0x18fc51(0x237)]&&_0x3112a4[_0x18fc51(0x237)]!==''&&(_0x3112a4['servername']=_0x5b8bdd['isIP'](_0x3112a4['host'])?'':_0x3112a4[_0x18fc51(0x107)]),_0x1bdce3[_0x18fc51(0x1ad)](_0x3112a4);}function _0x5c5b86(_0x1f5a04,_0x5c4fa4,_0x3038cf){const _0x11257c=_0x2cbde0;_0x1f5a04[_0x11257c(0x177)]=_0x429740[_0x11257c(0x24f)];const _0x4d3c1a=new Error(_0x3038cf);Error['captureStackTrace'](_0x4d3c1a,_0x5c5b86),_0x5c4fa4[_0x11257c(0xd7)]?(_0x5c4fa4[_0x41be31]=!0x0,_0x5c4fa4[_0x11257c(0x100)](),_0x5c4fa4[_0x11257c(0xd9)]&&!_0x5c4fa4[_0x11257c(0xd9)][_0x11257c(0x174)]&&_0x5c4fa4[_0x11257c(0xd9)]['destroy'](),process[_0x11257c(0x154)](_0x25a1f9,_0x1f5a04,_0x4d3c1a)):(_0x5c4fa4[_0x11257c(0x191)](_0x4d3c1a),_0x5c4fa4[_0x11257c(0x117)]('error',_0x1f5a04[_0x11257c(0x253)][_0x11257c(0x17f)](_0x1f5a04,'error')),_0x5c4fa4['once'](_0x11257c(0x1f9),_0x1f5a04[_0x11257c(0x208)][_0x11257c(0x17f)](_0x1f5a04)));}function _0x57601f(_0x27219e,_0x2203f3,_0x2382d9){const _0x41a11c=_0x2cbde0;if(_0x2203f3){const _0x371520=_0x582594(_0x2203f3)?_0x2203f3[_0x41a11c(0x1c3)]:_0x1aa5b5(_0x2203f3)[_0x41a11c(0x262)];_0x27219e['_socket']?_0x27219e[_0x41a11c(0x14f)][_0x41a11c(0x1e1)]+=_0x371520:_0x27219e[_0x41a11c(0x1cb)]+=_0x371520;}if(_0x2382d9){const _0x53bfdf=new Error(_0x41a11c(0x1c6)+_0x27219e[_0x41a11c(0x278)]+'\x20('+_0x1f20c3[_0x27219e[_0x41a11c(0x278)]]+')');process[_0x41a11c(0x154)](_0x2382d9,_0x53bfdf);}}function _0x3406bd(_0x562080,_0x274138){const _0x2bae79=_0x2cbde0,_0x205cc0=this[_0x36e4a0];_0x205cc0[_0x2bae79(0x15c)]=!0x0,_0x205cc0[_0x2bae79(0xfb)]=_0x274138,_0x205cc0[_0x2bae79(0x120)]=_0x562080,_0x205cc0[_0x2bae79(0xce)][_0x36e4a0]!==void 0x0&&(_0x205cc0[_0x2bae79(0xce)][_0x2bae79(0x118)](_0x2bae79(0x143),_0x2c06ef),process['nextTick'](_0x528df7,_0x205cc0[_0x2bae79(0xce)]),_0x562080===0x3ed?_0x205cc0[_0x2bae79(0x1f9)]():_0x205cc0[_0x2bae79(0x1f9)](_0x562080,_0x274138));}function _0x5e07d0(){const _0x445ad4=_0x2cbde0,_0x2fa80d=this[_0x36e4a0];_0x2fa80d[_0x445ad4(0x1f0)]||_0x2fa80d['_socket'][_0x445ad4(0x27b)]();}function _0x58659c(_0xbcfffe){const _0x6e572b=_0x2cbde0,_0x41189b=this[_0x36e4a0];_0x41189b[_0x6e572b(0xce)][_0x36e4a0]!==void 0x0&&(_0x41189b['_socket'][_0x6e572b(0x118)]('data',_0x2c06ef),process[_0x6e572b(0x154)](_0x528df7,_0x41189b[_0x6e572b(0xce)]),_0x41189b[_0x6e572b(0x1f9)](_0xbcfffe[_0x332202])),_0x41189b[_0x6e572b(0x1ae)]||(_0x41189b['_errorEmitted']=!0x0,_0x41189b[_0x6e572b(0x253)](_0x6e572b(0x142),_0xbcfffe));}function _0x3b8f37(){const _0x58ca7e=_0x2cbde0;this[_0x36e4a0][_0x58ca7e(0x208)]();}function _0x53ec11(_0x5ecd7b,_0x5da4b9){const _0x3f8661=_0x2cbde0;this[_0x36e4a0][_0x3f8661(0x253)](_0x3f8661(0x131),_0x5ecd7b,_0x5da4b9);}function _0x355c3b(_0x36d4ef){const _0x45a312=_0x2cbde0,_0x4af9fd=this[_0x36e4a0];_0x4af9fd[_0x45a312(0x1d0)]&&_0x4af9fd[_0x45a312(0x235)](_0x36d4ef,!this[_0x45a312(0xf0)],_0x134cfe),_0x4af9fd[_0x45a312(0x253)](_0x45a312(0x1a5),_0x36d4ef);}function _0x9f8e84(_0x4f2f0c){this[_0x36e4a0]['emit']('pong',_0x4f2f0c);}function _0x528df7(_0x2d56e4){const _0x336978=_0x2cbde0;_0x2d56e4[_0x336978(0x27b)]();}function _0x2db792(_0x5da7a2){const _0x48ae5d=_0x2cbde0,_0x15492d=this[_0x36e4a0];_0x15492d[_0x48ae5d(0x278)]!==_0x429740[_0x48ae5d(0xdd)]&&(_0x15492d[_0x48ae5d(0x278)]===_0x429740['OPEN']&&(_0x15492d[_0x48ae5d(0x177)]=_0x429740[_0x48ae5d(0x24f)],_0x48de6f(_0x15492d)),this[_0x48ae5d(0xce)]['end'](),_0x15492d[_0x48ae5d(0x1ae)]||(_0x15492d[_0x48ae5d(0x1ae)]=!0x0,_0x15492d[_0x48ae5d(0x253)](_0x48ae5d(0x142),_0x5da7a2)));}function _0x48de6f(_0x443f2f){const _0x291153=_0x2cbde0;_0x443f2f[_0x291153(0x1e2)]=setTimeout(_0x443f2f['_socket']['destroy'][_0x291153(0x17f)](_0x443f2f[_0x291153(0xce)]),_0x35f89c);}function _0x32b395(){const _0x2ba471=_0x2cbde0,_0x379d0a=this[_0x36e4a0];this[_0x2ba471(0x118)](_0x2ba471(0x1f9),_0x32b395),this[_0x2ba471(0x118)]('data',_0x2c06ef),this['removeListener']('end',_0x40f07a),_0x379d0a['_readyState']=_0x429740[_0x2ba471(0x24f)];let _0x555dfc;!this[_0x2ba471(0x1fc)]['endEmitted']&&!_0x379d0a['_closeFrameReceived']&&!_0x379d0a[_0x2ba471(0x1cd)][_0x2ba471(0xe5)][_0x2ba471(0xf6)]&&(_0x555dfc=_0x379d0a[_0x2ba471(0xce)][_0x2ba471(0x18f)]())!==null&&_0x379d0a[_0x2ba471(0x1cd)][_0x2ba471(0x1a2)](_0x555dfc),_0x379d0a[_0x2ba471(0x1cd)][_0x2ba471(0x104)](),this[_0x36e4a0]=void 0x0,clearTimeout(_0x379d0a[_0x2ba471(0x1e2)]),_0x379d0a['_receiver'][_0x2ba471(0xe5)]['finished']||_0x379d0a[_0x2ba471(0x1cd)][_0x2ba471(0xe5)]['errorEmitted']?_0x379d0a[_0x2ba471(0x208)]():(_0x379d0a[_0x2ba471(0x1cd)]['on']('error',_0x3b8f37),_0x379d0a[_0x2ba471(0x1cd)]['on'](_0x2ba471(0x1e4),_0x3b8f37));}function _0x2c06ef(_0x2f0458){const _0x3e071d=_0x2cbde0;this[_0x36e4a0][_0x3e071d(0x1cd)][_0x3e071d(0x1a2)](_0x2f0458)||this[_0x3e071d(0x206)]();}function _0x40f07a(){const _0x4688e2=_0x2cbde0,_0x5dd4c6=this[_0x36e4a0];_0x5dd4c6[_0x4688e2(0x177)]=_0x429740['CLOSING'],_0x5dd4c6[_0x4688e2(0x1cd)][_0x4688e2(0x104)](),this[_0x4688e2(0x104)]();}function _0x3627a0(){const _0x2fb875=_0x2cbde0,_0x48b835=this[_0x36e4a0];this[_0x2fb875(0x118)](_0x2fb875(0x142),_0x3627a0),this['on'](_0x2fb875(0x142),_0x134cfe),_0x48b835&&(_0x48b835['_readyState']=_0x429740[_0x2fb875(0x24f)],this[_0x2fb875(0x191)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1c9ef1}=_0x46c74c;function _0x3b0fec(_0x15fa8e){const _0x43646f=_0x2b8e;_0x15fa8e[_0x43646f(0x253)]('close');}function _0x3f40e3(){const _0x51fb30=_0x2b8e;!this[_0x51fb30(0x174)]&&this[_0x51fb30(0xe5)]['finished']&&this['destroy']();}function _0x589fe5(_0x4a2baa){const _0x13fe43=_0x2b8e;this[_0x13fe43(0x118)]('error',_0x589fe5),this['destroy'](),this[_0x13fe43(0xe8)](_0x13fe43(0x142))===0x0&&this['emit']('error',_0x4a2baa);}function _0x427a85(_0x324b13,_0x557173){const _0x38372c=_0x2b8e;let _0x32c7c3=!0x0;const _0x59ef8d=new _0x1c9ef1({..._0x557173,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x324b13['on']('message',function(_0x42be98,_0x593fa5){const _0x419910=_0x2b8e,_0x557023=!_0x593fa5&&_0x59ef8d[_0x419910(0x1fc)][_0x419910(0x20d)]?_0x42be98['toString']():_0x42be98;_0x59ef8d['push'](_0x557023)||_0x324b13[_0x419910(0x206)]();}),_0x324b13['once']('error',function(_0x3de79d){const _0x489c00=_0x2b8e;_0x59ef8d[_0x489c00(0x174)]||(_0x32c7c3=!0x1,_0x59ef8d[_0x489c00(0x191)](_0x3de79d));}),_0x324b13['once'](_0x38372c(0x1f9),function(){const _0x10f515=_0x38372c;_0x59ef8d[_0x10f515(0x174)]||_0x59ef8d['push'](null);}),_0x59ef8d[_0x38372c(0x15e)]=function(_0x4cf124,_0x378257){const _0x13da38=_0x38372c;if(_0x324b13[_0x13da38(0x278)]===_0x324b13[_0x13da38(0xdd)]){_0x378257(_0x4cf124),process[_0x13da38(0x154)](_0x3b0fec,_0x59ef8d);return;}let _0x5cd36f=!0x1;_0x324b13[_0x13da38(0x117)](_0x13da38(0x142),function(_0x5658bf){_0x5cd36f=!0x0,_0x378257(_0x5658bf);}),_0x324b13[_0x13da38(0x117)]('close',function(){_0x5cd36f||_0x378257(_0x4cf124),process['nextTick'](_0x3b0fec,_0x59ef8d);}),_0x32c7c3&&_0x324b13[_0x13da38(0x15d)]();},_0x59ef8d[_0x38372c(0x132)]=function(_0x1eb3db){const _0x1067a6=_0x38372c;if(_0x324b13[_0x1067a6(0x278)]===_0x324b13['CONNECTING']){_0x324b13[_0x1067a6(0x117)](_0x1067a6(0x21e),function(){const _0x46ac7f=_0x1067a6;_0x59ef8d[_0x46ac7f(0x132)](_0x1eb3db);});return;}_0x324b13[_0x1067a6(0xce)]!==null&&(_0x324b13['_socket'][_0x1067a6(0xe5)][_0x1067a6(0x183)]?(_0x1eb3db(),_0x59ef8d[_0x1067a6(0x1fc)][_0x1067a6(0x189)]&&_0x59ef8d[_0x1067a6(0x191)]()):(_0x324b13['_socket'][_0x1067a6(0x117)](_0x1067a6(0x1e4),function(){_0x1eb3db();}),_0x324b13[_0x1067a6(0x1f9)]()));},_0x59ef8d['_read']=function(){const _0x34200c=_0x38372c;_0x324b13[_0x34200c(0x1f0)]&&_0x324b13[_0x34200c(0x27b)]();},_0x59ef8d['_write']=function(_0x59b75f,_0xff04eb,_0x1a3ca6){const _0x596995=_0x38372c;if(_0x324b13[_0x596995(0x278)]===_0x324b13['CONNECTING']){_0x324b13[_0x596995(0x117)](_0x596995(0x21e),function(){const _0x5796c9=_0x596995;_0x59ef8d[_0x5796c9(0xe1)](_0x59b75f,_0xff04eb,_0x1a3ca6);});return;}_0x324b13[_0x596995(0x17c)](_0x59b75f,_0x1a3ca6);},_0x59ef8d['on']('end',_0x3f40e3),_0x59ef8d['on']('error',_0x589fe5),_0x59ef8d;}return Oe=_0x427a85,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x5a65e3}=ne();function _0x56d34c(_0x526bf5){const _0x80e1c3=_0x2b8e,_0x352d4f=new Set();let _0x2b00ac=-0x1,_0x38b795=-0x1,_0x4579b6=0x0;for(_0x4579b6;_0x4579b6<_0x526bf5[_0x80e1c3(0x262)];_0x4579b6++){const _0x5d41bb=_0x526bf5[_0x80e1c3(0x256)](_0x4579b6);if(_0x38b795===-0x1&&_0x5a65e3[_0x5d41bb]===0x1)_0x2b00ac===-0x1&&(_0x2b00ac=_0x4579b6);else{if(_0x4579b6!==0x0&&(_0x5d41bb===0x20||_0x5d41bb===0x9))_0x38b795===-0x1&&_0x2b00ac!==-0x1&&(_0x38b795=_0x4579b6);else{if(_0x5d41bb===0x2c){if(_0x2b00ac===-0x1)throw new SyntaxError(_0x80e1c3(0x1f7)+_0x4579b6);_0x38b795===-0x1&&(_0x38b795=_0x4579b6);const _0x52304e=_0x526bf5['slice'](_0x2b00ac,_0x38b795);if(_0x352d4f[_0x80e1c3(0x201)](_0x52304e))throw new SyntaxError(_0x80e1c3(0x1ab)+_0x52304e+_0x80e1c3(0x106));_0x352d4f[_0x80e1c3(0x12c)](_0x52304e),_0x2b00ac=_0x38b795=-0x1;}else throw new SyntaxError(_0x80e1c3(0x1f7)+_0x4579b6);}}}if(_0x2b00ac===-0x1||_0x38b795!==-0x1)throw new SyntaxError(_0x80e1c3(0x1d5));const _0x5c4c82=_0x526bf5['slice'](_0x2b00ac,_0x4579b6);if(_0x352d4f[_0x80e1c3(0x201)](_0x5c4c82))throw new SyntaxError(_0x80e1c3(0x1ab)+_0x5c4c82+'\x22\x20subprotocol\x20is\x20duplicated');return _0x352d4f['add'](_0x5c4c82),_0x352d4f;}return Ce={'parse':_0x56d34c},Ce;}var Te,ot;function er(){const _0xb5ec77=_0x20537c;if(ot)return Te;ot=0x1;const _0x4d2ccc=_0x158136,_0x56f1b6=_0x2e1b20,{Duplex:_0x36df0c}=_0x46c74c,{createHash:_0xe37974}=_0x1d4818,_0x37b267=pt(),_0x2ec64c=he(),_0x142852=Jt(),_0x2bcd84=Ie(),{GUID:_0x290c1f,kWebSocket:_0x200f43}=V(),_0x26a7a9=/^[+/0-9A-Za-z]{22}==$/,_0x5a2317=0x0,_0x1b8d35=0x1,_0x305b0d=0x2;class _0x3dbab0 extends _0x4d2ccc{constructor(_0x278de6,_0x159945){const _0x390fb2=_0x2b8e;if(super(),_0x278de6={'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':_0x2bcd84,..._0x278de6},_0x278de6[_0x390fb2(0x240)]==null&&!_0x278de6['server']&&!_0x278de6[_0x390fb2(0x254)]||_0x278de6[_0x390fb2(0x240)]!=null&&(_0x278de6[_0x390fb2(0x195)]||_0x278de6[_0x390fb2(0x254)])||_0x278de6[_0x390fb2(0x195)]&&_0x278de6[_0x390fb2(0x254)])throw new TypeError(_0x390fb2(0xdb));if(_0x278de6[_0x390fb2(0x240)]!=null?(this[_0x390fb2(0x15a)]=_0x56f1b6[_0x390fb2(0x1f2)]((_0x44ce5c,_0x460165)=>{const _0x519938=_0x390fb2,_0x28af35=_0x56f1b6[_0x519938(0x1e9)][0x1aa];_0x460165['writeHead'](0x1aa,{'Content-Length':_0x28af35[_0x519938(0x262)],'Content-Type':'text/plain'}),_0x460165[_0x519938(0x104)](_0x28af35);}),this['_server'][_0x390fb2(0x11c)](_0x278de6['port'],_0x278de6[_0x390fb2(0x107)],_0x278de6[_0x390fb2(0x105)],_0x159945)):_0x278de6[_0x390fb2(0x195)]&&(this[_0x390fb2(0x15a)]=_0x278de6[_0x390fb2(0x195)]),this['_server']){const _0x37eb30=this[_0x390fb2(0x253)]['bind'](this,_0x390fb2(0xcc));this['_removeListeners']=_0x1152fa(this[_0x390fb2(0x15a)],{'listening':this[_0x390fb2(0x253)][_0x390fb2(0x17f)](this,_0x390fb2(0xf3)),'error':this[_0x390fb2(0x253)][_0x390fb2(0x17f)](this,_0x390fb2(0x142)),'upgrade':(_0x4ab78a,_0x1da948,_0x4fdb08)=>{const _0x1547b8=_0x390fb2;this[_0x1547b8(0x21d)](_0x4ab78a,_0x1da948,_0x4fdb08,_0x37eb30);}});}_0x278de6['perMessageDeflate']===!0x0&&(_0x278de6['perMessageDeflate']={}),_0x278de6[_0x390fb2(0x16f)]&&(this[_0x390fb2(0x1bc)]=new Set(),this[_0x390fb2(0xe0)]=!0x1),this[_0x390fb2(0x128)]=_0x278de6,this[_0x390fb2(0x207)]=_0x5a2317;}[_0xb5ec77(0x26a)](){const _0xef08ec=_0xb5ec77;if(this[_0xef08ec(0x128)][_0xef08ec(0x254)])throw new Error(_0xef08ec(0x129));return this[_0xef08ec(0x15a)]?this[_0xef08ec(0x15a)][_0xef08ec(0x26a)]():null;}[_0xb5ec77(0x1f9)](_0xcc8192){const _0x200bdb=_0xb5ec77;if(this[_0x200bdb(0x207)]===_0x305b0d){_0xcc8192&&this[_0x200bdb(0x117)]('close',()=>{const _0x5bc98a=_0x200bdb;_0xcc8192(new Error(_0x5bc98a(0x18d)));}),process[_0x200bdb(0x154)](_0x439910,this);return;}if(_0xcc8192&&this[_0x200bdb(0x117)](_0x200bdb(0x1f9),_0xcc8192),this[_0x200bdb(0x207)]!==_0x1b8d35){if(this['_state']=_0x1b8d35,this[_0x200bdb(0x128)][_0x200bdb(0x254)]||this[_0x200bdb(0x128)][_0x200bdb(0x195)])this[_0x200bdb(0x15a)]&&(this[_0x200bdb(0x1a3)](),this[_0x200bdb(0x1a3)]=this[_0x200bdb(0x15a)]=null),this['clients']?this[_0x200bdb(0x1bc)][_0x200bdb(0x1c3)]?this[_0x200bdb(0xe0)]=!0x0:process[_0x200bdb(0x154)](_0x439910,this):process[_0x200bdb(0x154)](_0x439910,this);else{const _0x5d8f16=this['_server'];this['_removeListeners'](),this[_0x200bdb(0x1a3)]=this[_0x200bdb(0x15a)]=null,_0x5d8f16[_0x200bdb(0x1f9)](()=>{_0x439910(this);});}}}[_0xb5ec77(0x246)](_0x5b1f09){const _0x563de8=_0xb5ec77;if(this[_0x563de8(0x128)][_0x563de8(0x1e6)]){const _0x1ea428=_0x5b1f09[_0x563de8(0xde)][_0x563de8(0x26c)]('?');if((_0x1ea428!==-0x1?_0x5b1f09[_0x563de8(0xde)][_0x563de8(0x16b)](0x0,_0x1ea428):_0x5b1f09[_0x563de8(0xde)])!==this[_0x563de8(0x128)][_0x563de8(0x1e6)])return!0x1;}return!0x0;}[_0xb5ec77(0x21d)](_0x4196b9,_0x1e9583,_0x42a735,_0x16653d){const _0x4eed5d=_0xb5ec77;_0x1e9583['on']('error',_0x1c703e);const _0x2bb3f0=_0x4196b9[_0x4eed5d(0x22f)][_0x4eed5d(0x102)],_0x40fe1b=_0x4196b9[_0x4eed5d(0x22f)][_0x4eed5d(0xf7)],_0x14f85c=+_0x4196b9['headers'][_0x4eed5d(0x198)];if(_0x4196b9[_0x4eed5d(0x25e)]!==_0x4eed5d(0x210)){_0x3e97f0(this,_0x4196b9,_0x1e9583,0x195,_0x4eed5d(0x1dd));return;}if(_0x40fe1b===void 0x0||_0x40fe1b['toLowerCase']()!==_0x4eed5d(0x21b)){_0x3e97f0(this,_0x4196b9,_0x1e9583,0x190,_0x4eed5d(0x14c));return;}if(_0x2bb3f0===void 0x0||!_0x26a7a9[_0x4eed5d(0xd3)](_0x2bb3f0)){_0x3e97f0(this,_0x4196b9,_0x1e9583,0x190,_0x4eed5d(0x145));return;}if(_0x14f85c!==0x8&&_0x14f85c!==0xd){_0x3e97f0(this,_0x4196b9,_0x1e9583,0x190,_0x4eed5d(0x1b0));return;}if(!this['shouldHandle'](_0x4196b9)){_0x46743a(_0x1e9583,0x190);return;}const _0x4ec976=_0x4196b9[_0x4eed5d(0x22f)][_0x4eed5d(0x164)];let _0x31c803=new Set();if(_0x4ec976!==void 0x0)try{_0x31c803=_0x142852[_0x4eed5d(0xc8)](_0x4ec976);}catch{_0x3e97f0(this,_0x4196b9,_0x1e9583,0x190,_0x4eed5d(0x1be));return;}const _0x2506ea=_0x4196b9[_0x4eed5d(0x22f)][_0x4eed5d(0x25c)],_0xd87444={};if(this[_0x4eed5d(0x128)]['perMessageDeflate']&&_0x2506ea!==void 0x0){const _0x5b83e8=new _0x2ec64c(this[_0x4eed5d(0x128)][_0x4eed5d(0x234)],!0x0,this[_0x4eed5d(0x128)][_0x4eed5d(0xf1)]);try{const _0x243dd8=_0x37b267[_0x4eed5d(0xc8)](_0x2506ea);_0x243dd8[_0x2ec64c[_0x4eed5d(0x23f)]]&&(_0x5b83e8['accept'](_0x243dd8[_0x2ec64c[_0x4eed5d(0x23f)]]),_0xd87444[_0x2ec64c[_0x4eed5d(0x23f)]]=_0x5b83e8);}catch{_0x3e97f0(this,_0x4196b9,_0x1e9583,0x190,_0x4eed5d(0x1cc));return;}}if(this[_0x4eed5d(0x128)][_0x4eed5d(0x216)]){const _0x56974a={'origin':_0x4196b9[_0x4eed5d(0x22f)][''+(_0x14f85c===0x8?_0x4eed5d(0x233):'origin')],'secure':!!(_0x4196b9['socket'][_0x4eed5d(0x241)]||_0x4196b9[_0x4eed5d(0xd9)][_0x4eed5d(0xc7)]),'req':_0x4196b9};if(this[_0x4eed5d(0x128)]['verifyClient'][_0x4eed5d(0x262)]===0x2){this[_0x4eed5d(0x128)]['verifyClient'](_0x56974a,(_0x873ce6,_0x35a5fa,_0x3c9751,_0x2c8790)=>{if(!_0x873ce6)return _0x46743a(_0x1e9583,_0x35a5fa||0x191,_0x3c9751,_0x2c8790);this['completeUpgrade'](_0xd87444,_0x2bb3f0,_0x31c803,_0x4196b9,_0x1e9583,_0x42a735,_0x16653d);});return;}if(!this[_0x4eed5d(0x128)][_0x4eed5d(0x216)](_0x56974a))return _0x46743a(_0x1e9583,0x191);}this['completeUpgrade'](_0xd87444,_0x2bb3f0,_0x31c803,_0x4196b9,_0x1e9583,_0x42a735,_0x16653d);}[_0xb5ec77(0x11e)](_0xbc4ad3,_0x1735f4,_0x26de80,_0x24d00c,_0x4183e9,_0x1eec48,_0x4015cd){const _0x4aca54=_0xb5ec77;if(!_0x4183e9[_0x4aca54(0x26b)]||!_0x4183e9[_0x4aca54(0x1bd)])return _0x4183e9['destroy']();if(_0x4183e9[_0x200f43])throw new Error(_0x4aca54(0x251));if(this[_0x4aca54(0x207)]>_0x5a2317)return _0x46743a(_0x4183e9,0x1f7);const _0x5d4a8a=[_0x4aca54(0x13d),'Upgrade:\x20websocket',_0x4aca54(0x1ac),_0x4aca54(0x157)+_0xe37974(_0x4aca54(0x225))[_0x4aca54(0xc4)](_0x1735f4+_0x290c1f)['digest']('base64')],_0x10003d=new this[(_0x4aca54(0x128))][(_0x4aca54(0x1dc))](null,void 0x0,this[_0x4aca54(0x128)]);if(_0x26de80[_0x4aca54(0x1c3)]){const _0x39bb59=this[_0x4aca54(0x128)][_0x4aca54(0xfe)]?this[_0x4aca54(0x128)][_0x4aca54(0xfe)](_0x26de80,_0x24d00c):_0x26de80[_0x4aca54(0x196)]()[_0x4aca54(0x144)]()['value'];_0x39bb59&&(_0x5d4a8a['push']('Sec-WebSocket-Protocol:\x20'+_0x39bb59),_0x10003d[_0x4aca54(0xf4)]=_0x39bb59);}if(_0xbc4ad3[_0x2ec64c[_0x4aca54(0x23f)]]){const _0x10d52c=_0xbc4ad3[_0x2ec64c[_0x4aca54(0x23f)]][_0x4aca54(0x184)],_0x4048b8=_0x37b267['format']({[_0x2ec64c[_0x4aca54(0x23f)]]:[_0x10d52c]});_0x5d4a8a[_0x4aca54(0xf9)](_0x4aca54(0x1e0)+_0x4048b8),_0x10003d[_0x4aca54(0x23e)]=_0xbc4ad3;}this['emit'](_0x4aca54(0x22f),_0x5d4a8a,_0x24d00c),_0x4183e9[_0x4aca54(0x1a2)](_0x5d4a8a[_0x4aca54(0x230)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4183e9[_0x4aca54(0x118)](_0x4aca54(0x142),_0x1c703e),_0x10003d[_0x4aca54(0x1f3)](_0x4183e9,_0x1eec48,{'allowSynchronousEvents':this[_0x4aca54(0x128)][_0x4aca54(0xe3)],'maxPayload':this[_0x4aca54(0x128)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4aca54(0x1bc)]&&(this['clients'][_0x4aca54(0x12c)](_0x10003d),_0x10003d['on'](_0x4aca54(0x1f9),()=>{const _0xfd796d=_0x4aca54;this['clients']['delete'](_0x10003d),this[_0xfd796d(0xe0)]&&!this['clients'][_0xfd796d(0x1c3)]&&process[_0xfd796d(0x154)](_0x439910,this);})),_0x4015cd(_0x10003d,_0x24d00c);}}Te=_0x3dbab0;function _0x1152fa(_0x148176,_0x4b4131){const _0x2530fb=_0xb5ec77;for(const _0x174d91 of Object[_0x2530fb(0x17d)](_0x4b4131))_0x148176['on'](_0x174d91,_0x4b4131[_0x174d91]);return function(){const _0x18ce91=_0x2530fb;for(const _0x3e6850 of Object[_0x18ce91(0x17d)](_0x4b4131))_0x148176[_0x18ce91(0x118)](_0x3e6850,_0x4b4131[_0x3e6850]);};}function _0x439910(_0x23df58){const _0x21b516=_0xb5ec77;_0x23df58[_0x21b516(0x207)]=_0x305b0d,_0x23df58[_0x21b516(0x253)](_0x21b516(0x1f9));}function _0x1c703e(){this['destroy']();}function _0x46743a(_0x318e70,_0x55522a,_0x483ee3,_0x46b85c){const _0x5b93bb=_0xb5ec77;_0x483ee3=_0x483ee3||_0x56f1b6[_0x5b93bb(0x1e9)][_0x55522a],_0x46b85c={'Connection':_0x5b93bb(0x1f9),'Content-Type':'text/html','Content-Length':Buffer[_0x5b93bb(0x176)](_0x483ee3),..._0x46b85c},_0x318e70[_0x5b93bb(0x117)](_0x5b93bb(0x1e4),_0x318e70[_0x5b93bb(0x191)]),_0x318e70[_0x5b93bb(0x104)](_0x5b93bb(0x231)+_0x55522a+'\x20'+_0x56f1b6[_0x5b93bb(0x1e9)][_0x55522a]+'\x0d\x0a'+Object['keys'](_0x46b85c)[_0x5b93bb(0x25a)](_0x241acd=>_0x241acd+':\x20'+_0x46b85c[_0x241acd])[_0x5b93bb(0x167)]('\x0d\x0a')+_0x5b93bb(0x1fa)+_0x483ee3);}function _0x3e97f0(_0xf93e1b,_0x4918ba,_0x2dad32,_0x390e37,_0x16a6f7){const _0x4c213f=_0xb5ec77;if(_0xf93e1b[_0x4c213f(0xe8)](_0x4c213f(0x1af))){const _0x1a5dd1=new Error(_0x16a6f7);Error[_0x4c213f(0xee)](_0x1a5dd1,_0x3e97f0),_0xf93e1b[_0x4c213f(0x253)](_0x4c213f(0x1af),_0x1a5dd1,_0x2dad32,_0x4918ba);}else _0x46743a(_0x2dad32,_0x390e37,_0x16a6f7);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x22e8a1,_0xd7f88,_0x11cd7c,_0x37b934)=>{const _0x92b1e7=_0x20537c;for(var _0x3a6b39=_0x37b934>0x1?void 0x0:_0x37b934?tr(_0xd7f88,_0x11cd7c):_0xd7f88,_0x1b19f5=_0x22e8a1[_0x92b1e7(0x262)]-0x1,_0x4f04e8;_0x1b19f5>=0x0;_0x1b19f5--)(_0x4f04e8=_0x22e8a1[_0x1b19f5])&&(_0x3a6b39=_0x4f04e8(_0x3a6b39)||_0x3a6b39);return _0x3a6b39;},sr=(_0x3c9a23,_0x281c35)=>(_0x443335,_0x3e3ce9)=>_0x281c35(_0x443335,_0x3e3ce9,_0x3c9a23);let Ne=class extends _0x4850fc{constructor(_0x2a43f1){const _0x6af99a=_0x20537c;super(),this[_0x6af99a(0x27d)]=_0x2a43f1;}['createSocket'](_0xb125e){const _0x34f1b6=_0x20537c;var _0x126800;const _0x1fcefd=(_0x126800=this[_0x34f1b6(0x27d)]['getConfig'](Be))==null?void 0x0:_0x126800[_0x34f1b6(0x116)];try{const _0x131abd=new Qt(_0xb125e,{'headers':{..._0x1fcefd}}),_0x28ef4d=new _0xe9ec5();return{'URL':_0xb125e,'close':(_0x40994e,_0x280a4e)=>{const _0x5432d1=_0x34f1b6;_0x131abd['close'](_0x40994e,_0x280a4e),_0x28ef4d[_0x5432d1(0x228)]();},'send':_0x45a4b8=>{const _0x3eccc1=_0x34f1b6;_0x131abd[_0x3eccc1(0x17c)](_0x45a4b8);},'open$':new _0x540bbe(_0x18d4a0=>{const _0xf23e7e=_0x34f1b6,_0x58b1f1=_0x3bfa63=>_0x18d4a0['next'](_0x3bfa63);_0x131abd[_0xf23e7e(0x1fb)](_0xf23e7e(0x21e),_0x58b1f1),_0x28ef4d[_0xf23e7e(0x12c)](_0x4b6026(()=>_0x131abd[_0xf23e7e(0x1a4)](_0xf23e7e(0x21e),_0x58b1f1)));})['pipe'](_0x2f2eca()),'close$':new _0x540bbe(_0x255c47=>{const _0x356f8f=_0x34f1b6,_0x58bcc2=_0x25998c=>_0x255c47[_0x356f8f(0x144)](_0x25998c);_0x131abd[_0x356f8f(0x1fb)]('close',_0x58bcc2),_0x28ef4d['add'](_0x4b6026(()=>_0x131abd[_0x356f8f(0x1a4)](_0x356f8f(0x1f9),_0x58bcc2)));})[_0x34f1b6(0x226)](_0x2f2eca()),'error$':new _0x540bbe(_0x9a8c0=>{const _0x5cf676=_0x34f1b6,_0x3b7790=_0x3c671d=>_0x9a8c0[_0x5cf676(0x144)](_0x3c671d);_0x131abd[_0x5cf676(0x1fb)](_0x5cf676(0x142),_0x3b7790),_0x28ef4d[_0x5cf676(0x12c)](_0x4b6026(()=>_0x131abd[_0x5cf676(0x1a4)](_0x5cf676(0x142),_0x3b7790)));})[_0x34f1b6(0x226)](_0x2f2eca()),'message$':new _0x540bbe(_0x536d4e=>{const _0x3b0826=_0x34f1b6,_0x59c53c=_0x300457=>_0x536d4e[_0x3b0826(0x144)](_0x300457);_0x131abd[_0x3b0826(0x1fb)](_0x3b0826(0x131),_0x59c53c),_0x28ef4d[_0x3b0826(0x12c)](_0x4b6026(()=>_0x131abd[_0x3b0826(0x1a4)](_0x3b0826(0x131),_0x59c53c)));})['pipe'](_0x2f2eca())};}catch(_0x504fce){return console['error'](_0x504fce),null;}}};Ne=rr([sr(0x0,_0x3ad8f4)],Ne);var ir=Object[_0x20537c(0x124)],nr=Object['getOwnPropertyDescriptor'],or=(_0x3b4cf9,_0x3c4aea,_0x424df6)=>_0x3c4aea in _0x3b4cf9?ir(_0x3b4cf9,_0x3c4aea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x424df6}):_0x3b4cf9[_0x3c4aea]=_0x424df6,ar=(_0x5c77ba,_0x52fba7,_0x567819,_0x1848a7)=>{const _0x2ceb26=_0x20537c;for(var _0x431161=_0x1848a7>0x1?void 0x0:_0x1848a7?nr(_0x52fba7,_0x567819):_0x52fba7,_0x313d89=_0x5c77ba[_0x2ceb26(0x262)]-0x1,_0x371214;_0x313d89>=0x0;_0x313d89--)(_0x371214=_0x5c77ba[_0x313d89])&&(_0x431161=_0x371214(_0x431161)||_0x431161);return _0x431161;},ke=(_0x1a4e06,_0x354d4b)=>(_0x26fd88,_0x299c59)=>_0x354d4b(_0x26fd88,_0x299c59,_0x1a4e06),lr=(_0x49a193,_0x58ea40,_0x2e6bbd)=>or(_0x49a193,_0x58ea40+'',_0x2e6bbd);let Pe=class extends _0x383231{constructor(_0x46136f=Ft,_0x36140e,_0x4ecf7e,_0x138c90){const _0x2dad94=_0x20537c;_0x46136f[_0x2dad94(0x116)]||_0x36140e['warn'](_0x2dad94(0x1b7)),super(),this[_0x2dad94(0x27d)]=_0x4ecf7e,this[_0x2dad94(0x178)]=_0x138c90,this[_0x2dad94(0x27d)][_0x2dad94(0x219)](Be,_0x46136f);}[_0x20537c(0x15b)](){const _0x4fb05c=_0x20537c;this[_0x4fb05c(0x13b)]();}[_0x20537c(0x13b)](){const _0x2b0505=_0x20537c;_0x5b90ee(this[_0x2b0505(0x178)],[[_0xde5e19,{'useClass':Ne}]]);}};lr(Pe,_0x20537c(0x25f),_0x20537c(0x249)),Pe=ar([_0x44100d(_0x3b9204),ke(0x1,_0x1151a9),ke(0x2,_0x3ad8f4),ke(0x3,_0x367b11(_0x24a76c))],Pe);var fr=Object[_0x20537c(0x186)],cr=(_0x36beef,_0x4b0ec8,_0x547e9c,_0xc827f4)=>{const _0x52711a=_0x20537c;for(var _0xe81e60=_0xc827f4>0x1?void 0x0:_0xc827f4?fr(_0x4b0ec8,_0x547e9c):_0x4b0ec8,_0x56d1ec=_0x36beef[_0x52711a(0x262)]-0x1,_0x1da777;_0x56d1ec>=0x0;_0x56d1ec--)(_0x1da777=_0x36beef[_0x56d1ec])&&(_0xe81e60=_0x1da777(_0xe81e60)||_0xe81e60);return _0xe81e60;},se=(_0x16d34d,_0x119ea4)=>(_0x162858,_0x3a15f4)=>_0x119ea4(_0x162858,_0x3a15f4,_0x16d34d);let at=class extends _0x2d54f9{constructor(_0x4833cc,_0x537676,_0x581b9d,_0x55e35e,_0x27830c){const _0x1191f3=_0x20537c;super(_0x4833cc,_0x537676,_0x581b9d,_0x55e35e,_0x27830c);const _0x1dd130=this[_0x1191f3(0x27d)][_0x1191f3(0x279)](Be);this[_0x1191f3(0x276)][_0x1191f3(0x114)]({'interceptor':(_0x4253f1,_0x1d10c1)=>{const _0x49d539=_0x1191f3;var _0x3904dc;const _0x4b1361=_0x4253f1['headers'];return(_0x3904dc=_0x1dd130==null?void 0x0:_0x1dd130[_0x49d539(0x116)])!=null&&_0x3904dc[_0x49d539(0x27e)]&&_0x4b1361[_0x49d539(0x214)](_0x49d539(0x26e),_0x1dd130[_0x49d539(0x116)][_0x49d539(0x27e)]),_0x1d10c1(_0x4253f1);}});}async[_0x20537c(0x1e8)](_0x1717f2){const _0x4e82ee=_0x20537c;return this[_0x4e82ee(0x11b)](_0x1717f2);}};at=cr([se(0x0,_0x367b11(_0x24a76c)),se(0x1,_0x367b11(_0x57982f)),se(0x2,_0x3ad8f4),se(0x3,_0x1151a9),se(0x4,_0x26d8b0)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};