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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x55fc25=_0x2311;(function(_0x185047,_0x5e8660){const _0x238164=_0x2311,_0x188225=_0x185047();while(!![]){try{const _0x470c79=-parseInt(_0x238164(0x362))/0x1+parseInt(_0x238164(0x31f))/0x2+parseInt(_0x238164(0x2aa))/0x3+-parseInt(_0x238164(0x26b))/0x4*(-parseInt(_0x238164(0x303))/0x5)+parseInt(_0x238164(0x1fd))/0x6+parseInt(_0x238164(0x221))/0x7*(parseInt(_0x238164(0x270))/0x8)+-parseInt(_0x238164(0x31e))/0x9*(parseInt(_0x238164(0x2b0))/0xa);if(_0x470c79===_0x5e8660)break;else _0x188225['push'](_0x188225['shift']());}catch(_0xdf4caf){_0x188225['push'](_0x188225['shift']());}}}(_0x1e73,0x7f468));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x55fc25(0x28a)});const st=require(_0x55fc25(0x35c)),A=require(_0x55fc25(0x1e7)),it=require(_0x55fc25(0x210)),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require(_0x55fc25(0x2eb)),Le=require(_0x55fc25(0x2f6)),oe=require(_0x55fc25(0x27a)),xt=require('url'),bt=require(_0x55fc25(0x2c7)),wt=require(_0x55fc25(0x24f)),Ot=require('@univerjs-pro/collaboration'),fe=_0x55fc25(0x293),Ct={'customHeaders':{}};function Tt(_0x460f8d){const _0x63e4eb=_0x55fc25;return _0x460f8d&&_0x460f8d[_0x63e4eb(0x385)]&&Object['prototype']['hasOwnProperty'][_0x63e4eb(0x20a)](_0x460f8d,_0x63e4eb(0x291))?_0x460f8d[_0x63e4eb(0x291)]:_0x460f8d;}function at(_0x444ab5){const _0x1a009b=_0x55fc25;if(Object['prototype'][_0x1a009b(0x383)][_0x1a009b(0x20a)](_0x444ab5,_0x1a009b(0x385)))return _0x444ab5;var _0xf41eea=_0x444ab5[_0x1a009b(0x291)];if(typeof _0xf41eea=='function'){var _0xcca057=function _0x3707b0(){const _0x2764eb=_0x1a009b;return this instanceof _0x3707b0?Reflect['construct'](_0xf41eea,arguments,this[_0x2764eb(0x2a0)]):_0xf41eea[_0x2764eb(0x27c)](this,arguments);};_0xcca057[_0x1a009b(0x317)]=_0xf41eea[_0x1a009b(0x317)];}else _0xcca057={};return Object[_0x1a009b(0x2c6)](_0xcca057,'__esModule',{'value':!0x0}),Object[_0x1a009b(0x2d4)](_0x444ab5)[_0x1a009b(0x29f)](function(_0x5f59d0){const _0x2051d4=_0x1a009b;var _0x1346b1=Object[_0x2051d4(0x223)](_0x444ab5,_0x5f59d0);Object['defineProperty'](_0xcca057,_0x5f59d0,_0x1346b1['get']?_0x1346b1:{'enumerable':!0x0,'get':function(){return _0x444ab5[_0x5f59d0];}});}),_0xcca057;}var se={'exports':{}},ge,Ge;function H(){const _0x58f87f=_0x55fc25;if(Ge)return ge;Ge=0x1;const _0x5a20fe=[_0x58f87f(0x2f1),_0x58f87f(0x1e6),_0x58f87f(0x378)],_0x588401=typeof Blob<'u';return _0x588401&&_0x5a20fe['push'](_0x58f87f(0x243)),ge={'BINARY_TYPES':_0x5a20fe,'EMPTY_BUFFER':Buffer[_0x58f87f(0x1d3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x588401,'kForOnEventAttribute':Symbol(_0x58f87f(0x32f)),'kListener':Symbol(_0x58f87f(0x2fd)),'kStatusCode':Symbol(_0x58f87f(0x30f)),'kWebSocket':Symbol(_0x58f87f(0x201)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x55fc25(0x1cc)](Object[_0x55fc25(0x2c6)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x55fc25(0x28a)})),Lt=at(kt);var Ve;function ce(){const _0x46f73b=_0x55fc25;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x176d5d}=H(),_0x4d2c42=Buffer[Symbol[_0x46f73b(0x2f3)]];function _0x45050b(_0x38c87e,_0x33039d){const _0x535079=_0x46f73b;if(_0x38c87e[_0x535079(0x2da)]===0x0)return _0x176d5d;if(_0x38c87e[_0x535079(0x2da)]===0x1)return _0x38c87e[0x0];const _0x4bee3d=Buffer['allocUnsafe'](_0x33039d);let _0x34c98b=0x0;for(let _0x188e86=0x0;_0x188e86<_0x38c87e['length'];_0x188e86++){const _0x2ae7b8=_0x38c87e[_0x188e86];_0x4bee3d[_0x535079(0x321)](_0x2ae7b8,_0x34c98b),_0x34c98b+=_0x2ae7b8[_0x535079(0x2da)];}return _0x34c98b<_0x33039d?new _0x4d2c42(_0x4bee3d['buffer'],_0x4bee3d[_0x535079(0x1ca)],_0x34c98b):_0x4bee3d;}function _0x474f7b(_0x3cc762,_0x497ffc,_0x914eb0,_0x4ed6a4,_0x36cc27){for(let _0x3fc533=0x0;_0x3fc533<_0x36cc27;_0x3fc533++)_0x914eb0[_0x4ed6a4+_0x3fc533]=_0x3cc762[_0x3fc533]^_0x497ffc[_0x3fc533&0x3];}function _0x3a586d(_0x4135fb,_0x5006f5){const _0x557501=_0x46f73b;for(let _0x4aebaf=0x0;_0x4aebaf<_0x4135fb[_0x557501(0x2da)];_0x4aebaf++)_0x4135fb[_0x4aebaf]^=_0x5006f5[_0x4aebaf&0x3];}function _0x3aafa2(_0x268cc6){const _0x4be634=_0x46f73b;return _0x268cc6['length']===_0x268cc6[_0x4be634(0x24f)][_0x4be634(0x2c3)]?_0x268cc6[_0x4be634(0x24f)]:_0x268cc6[_0x4be634(0x24f)][_0x4be634(0x2f5)](_0x268cc6['byteOffset'],_0x268cc6['byteOffset']+_0x268cc6[_0x4be634(0x2da)]);}function _0x1b97fb(_0x2c4d13){const _0xc5e9e0=_0x46f73b;if(_0x1b97fb['readOnly']=!0x0,Buffer[_0xc5e9e0(0x25d)](_0x2c4d13))return _0x2c4d13;let _0x4f4bf9;return _0x2c4d13 instanceof ArrayBuffer?_0x4f4bf9=new _0x4d2c42(_0x2c4d13):ArrayBuffer[_0xc5e9e0(0x21c)](_0x2c4d13)?_0x4f4bf9=new _0x4d2c42(_0x2c4d13['buffer'],_0x2c4d13[_0xc5e9e0(0x1ca)],_0x2c4d13[_0xc5e9e0(0x2c3)]):(_0x4f4bf9=Buffer[_0xc5e9e0(0x2b8)](_0x2c4d13),_0x1b97fb[_0xc5e9e0(0x2c2)]=!0x1),_0x4f4bf9;}if(se[_0x46f73b(0x1cb)]={'concat':_0x45050b,'mask':_0x474f7b,'toArrayBuffer':_0x3aafa2,'toBuffer':_0x1b97fb,'unmask':_0x3a586d},!process[_0x46f73b(0x289)][_0x46f73b(0x224)])try{const _0xe3fe3e=Lt;se[_0x46f73b(0x1cb)][_0x46f73b(0x22c)]=function(_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42){const _0x4f3a73=_0x46f73b;_0x45ee42<0x30?_0x474f7b(_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42):_0xe3fe3e[_0x4f3a73(0x22c)](_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42);},se['exports']['unmask']=function(_0x2b6385,_0x49f50e){const _0x42acbc=_0x46f73b;_0x2b6385['length']<0x20?_0x3a586d(_0x2b6385,_0x49f50e):_0xe3fe3e[_0x42acbc(0x1e1)](_0x2b6385,_0x49f50e);};}catch{}return se[_0x46f73b(0x1cb)];}var ye,He;function Pt(){const _0x1cf46f=_0x55fc25;if(He)return ye;He=0x1;const _0x530a04=Symbol('kDone'),_0x1a48dd=Symbol(_0x1cf46f(0x31a));class _0x43ebea{constructor(_0x2e56cf){const _0xddff65=_0x1cf46f;this[_0x530a04]=()=>{const _0x5c52ad=_0x2311;this[_0x5c52ad(0x2cd)]--,this[_0x1a48dd]();},this['concurrency']=_0x2e56cf||0x1/0x0,this[_0xddff65(0x35f)]=[],this[_0xddff65(0x2cd)]=0x0;}[_0x1cf46f(0x1e8)](_0x3157da){const _0xa291a8=_0x1cf46f;this['jobs'][_0xa291a8(0x213)](_0x3157da),this[_0x1a48dd]();}[_0x1a48dd](){const _0x2b9f83=_0x1cf46f;if(this[_0x2b9f83(0x2cd)]!==this[_0x2b9f83(0x226)]&&this[_0x2b9f83(0x35f)][_0x2b9f83(0x2da)]){const _0x1e7b04=this[_0x2b9f83(0x35f)][_0x2b9f83(0x336)]();this[_0x2b9f83(0x2cd)]++,_0x1e7b04(this[_0x530a04]);}}}return ye=_0x43ebea,ye;}var ve,ze;function _0x1e73(){const _0x223dfa=['__esModule','kType','_allowSynchronousEvents','_opcode','Blob','HTTP/1.1\x20101\x20Switching\x20Protocols','statusCode','onclose','connect','binary','byteOffset','exports','freeze','toLowerCase','Connection:\x20Upgrade','_write','wsClientError','concurrencyLimit','Sec-WebSocket-Extensions:\x20','alloc','value','address','Observable','toString','_closeMessage','error','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','send','params','_masked','port','_closeTimer','WS_NO_UTF_8_VALIDATE','unmask','_receiver','customHeaders','callback','kReason','arraybuffer','@univerjs/core','add','GET','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_httpService','sha1','toDisposable','ws+unix:','_injector','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','message','invalid\x20UTF-8\x20sequence','Invalid\x20HTTP\x20method','generateMask','auth','_messageLength','ILogService','haveLength','completeUpgrade','File','options','2378610gsIgfp','flush','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','writeUInt16BE','websocket','_bufferedAmount','maskBuffer','Parameter\x20\x22','DisposableCollection','Invalid\x20WebSocket\x20frame:\x20','cork','parse','verifyClient','call','cleanup','emit','target','clientMaxWindowBits','destroyed','@univerjs/network','finished','data','push','CLOSING','size','MASK\x20must\x20be\x20clear','base64','setTimeout','writable','readUInt32BE','includes','isView','host','url','STATUS_CODES','WS_ERR_EXPECTED_MASK','3625923TzNbks','isServer','getOwnPropertyDescriptor','WS_NO_BUFFER_UTIL','connection','concurrency','Sec-WebSocket-Extensions','acceptAsServer','server','allocUnsafe','Invalid\x20Sec-WebSocket-Extensions\x20header','mask','removeListener','handleEvent','_loop','wss:','allowSynchronousEvents','noServer','_final','create','Unknown\x20parameter\x20\x22','_inflate','setNoDelay','response','_decompress','WS_ERR_UNEXPECTED_RSV_2_3','ISnapshotServerService','_compressed','binaryType','_binaryType','getConfig','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','kMessage','blob','ws:','listenerCount','type','_fin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unsupported\x20protocol\x20version:\x20','invalid\x20opcode\x20','_isServer','extensionName','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','ping','buffer','listeners','Unexpected\x20end\x20of\x20input','write','normalizeParams','writeUIntBE','writeHead','extensions','clientTracking','servername','offer','_protocol','isPaused','nextTick','isBuffer','frame','_originalIpc','kTarget','createDeflateRaw','serverMaxWindowBits','sec-websocket-extensions','arrayBuffer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','client_no_context_takeover','_paused','_closeFrameReceived','CONNECTING','compress','2152NxXKcn','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Plugin','entries','_fragments','8BnoFOl','_fragmented','toStringTag','\x22\x20subprotocol\x20is\x20duplicated','UniverCollaborationClientNodePlugin','createServer','Basic\x20','consume','Upgrade:\x20websocket','pong','stream','backlog','apply','emitClose','password','controlMessage','getData','cookie','timeout','acceptAsClient','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_readyState','_payloadLength','threshold','client','env','Module','_doCreateSocket','location','decompress','_closeFrameSent','headers','_skipUTF8Validation','default','startLoop','collaboration-client-node.config','getMask','\x0d\x0a\x0d\x0a','_maxPayload','_extensions','Server\x20sent\x20no\x20subprotocol','clientNoContextTakeover','kCode','close','isIP','function','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','forEach','constructor','resume','Cookie','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Sec-WebSocket-Accept:\x20','open','accept','socket','_threshold','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','335316VntSrB','isValidUTF8','invalid\x20opcode\x200','https:','test','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','10GlwArH','_writableState','path','_maskBuffer','_mask','permessage-deflate','reset','_firstFragment','from','request','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','digest','_socket','Max\x20payload\x20size\x20exceeded','origin','authorization','protocolVersion','followRedirects','readOnly','byteLength','code','onerror','defineProperty','zlib','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','opcode','Origin','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_sender','pending','username','onmessage','bind','indexOf','kError','hostname','keys','NodeCollaborationSocketService','shouldHandle','map','The\x20URL\x20contains\x20a\x20fragment\x20identifier','zlibDeflateOptions','length','unexpected-response','dequeue','_totalPayloadLength','isInteger','client_max_window_bits','object','_server','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','ISocketService','\x22:\x20','maxRedirects','listening','registerHTTPInterceptor','_bufferedBytes','pow','then','tls','WS_ERR_UNEXPECTED_MASK','terminate','drain','sec-websocket-accept','pathname','nodebuffer','getInfo','species','Upgrade','slice','crypto','conclude','readable','_max_window_bits','_generateMask','read','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kListener','bufferedAmount','zlibInflateOptions','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','string','createConnection','755dUDYmp','maxPayload','RSV1\x20must\x20be\x20clear','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','Sec-WebSocket-Origin','createInflateRaw','removeEventListener','socketPath','_closeCode','startsWith','DependentOn','warn','status-code','wasClean','sendFrame','readyState','join','perMessageDeflate','Z_DEFAULT_WINDOWBITS','IConfigService','prototype','kByteLength','Invalid\x20value\x20for\x20parameter\x20\x22','kRun','_readableState','pipe','createSocket','1604466yPzDbR','680144rirTrG','_buffers','set','redirect','WebSocket','uncork','server_max_window_bits','dispatch','_configService','WS_ERR_INVALID_OPCODE','sec-websocket-origin','unshift','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','once','Invalid\x20Sec-WebSocket-Protocol\x20header','dataMessage','kIsForOnEventAttribute','has','pause','skipUTF8Validation','_shouldEmitClose','_deflate','pluginName','shift','share','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','find','_autoPong','update','Unexpected\x20server\x20response:\x20','WS_ERR_INVALID_UTF8','errorEmitted','_originalSecure','_read','enqueue','invalid\x20payload\x20length\x20','Injector','isArray','defaultPort','_removeListeners','_errorEmitted','removeAllListeners','clients','_req','_redirects','buffers','WS_ERR_INVALID_CLOSE_CODE','OPEN','server_no_context_takeover','addEventListener','_url','CollaborationSocketService','getBlobData','COLLABORATION_CLIENT_NODE_CONFIG_KEY','destroy','search','getPayloadLength64','Invalid\x20Upgrade\x20header','_destroy','Invalid\x20URL:\x20','Opening\x20handshake\x20has\x20timed\x20out','@univerjs-pro/collaboration-client','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-protocol','jobs','CLOSED','reason','747912vTZEwC','kWasClean','end','protocol','authorized','abort','handshakeTimeout','\x20(supported\x20versions:\x20','captureStackTrace','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','setSocket','concat','WS_ERR_UNEXPECTED_RSV_1','delete','charCodeAt','HTTPService','Inject','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','finish','next','getPayloadLength16','Z_SYNC_FLUSH','fragments','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','fin','upgrade','createError','UniverCollaborationClientPlugin','_options','number','_compress','_state','autoPong','hasOwnProperty','Maximum\x20redirects\x20exceeded'];_0x1e73=function(){return _0x223dfa;};return _0x1e73();}function he(){const _0x23a667=_0x55fc25;if(ze)return ve;ze=0x1;const _0x4df9e7=bt,_0x17b7f7=ce(),_0x415e6f=Pt(),{kStatusCode:_0x10a7f1}=H(),_0x55f7a5=Buffer[Symbol[_0x23a667(0x2f3)]],_0x16e0ac=Buffer[_0x23a667(0x2b8)]([0x0,0x0,0xff,0xff]),_0x111252=Symbol(_0x23a667(0x2b5)),_0x59f20c=Symbol('total-length'),_0x1fbb03=Symbol(_0x23a667(0x1e4)),_0x4b0c18=Symbol(_0x23a667(0x34c)),_0x863548=Symbol(_0x23a667(0x1d9));let _0x3c0888;class _0x5c4a14{constructor(_0x281d62,_0x1231a,_0x56f087){const _0x55a7d7=_0x23a667;if(this['_maxPayload']=_0x56f087|0x0,this[_0x55a7d7(0x37e)]=_0x281d62||{},this[_0x55a7d7(0x2a8)]=this[_0x55a7d7(0x37e)]['threshold']!==void 0x0?this['_options'][_0x55a7d7(0x287)]:0x400,this['_isServer']=!!_0x1231a,this[_0x55a7d7(0x334)]=null,this[_0x55a7d7(0x236)]=null,this[_0x55a7d7(0x1dc)]=null,!_0x3c0888){const _0x3842ac=this[_0x55a7d7(0x37e)][_0x55a7d7(0x1d1)]!==void 0x0?this[_0x55a7d7(0x37e)][_0x55a7d7(0x1d1)]:0xa;_0x3c0888=new _0x415e6f(_0x3842ac);}}static get[_0x23a667(0x24c)](){const _0x482a9e=_0x23a667;return _0x482a9e(0x2b5);}[_0x23a667(0x259)](){const _0x4384ef=_0x23a667,_0x47458e={};return this[_0x4384ef(0x37e)]['serverNoContextTakeover']&&(_0x47458e[_0x4384ef(0x34f)]=!0x0),this[_0x4384ef(0x37e)]['clientNoContextTakeover']&&(_0x47458e[_0x4384ef(0x266)]=!0x0),this[_0x4384ef(0x37e)]['serverMaxWindowBits']&&(_0x47458e[_0x4384ef(0x325)]=this[_0x4384ef(0x37e)]['serverMaxWindowBits']),this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]?_0x47458e[_0x4384ef(0x2df)]=this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]:this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]==null&&(_0x47458e[_0x4384ef(0x2df)]=!0x0),_0x47458e;}[_0x23a667(0x2a6)](_0x45664b){const _0x37da67=_0x23a667;return _0x45664b=this['normalizeParams'](_0x45664b),this[_0x37da67(0x1dc)]=this[_0x37da67(0x24b)]?this[_0x37da67(0x228)](_0x45664b):this['acceptAsClient'](_0x45664b),this['params'];}[_0x23a667(0x20b)](){const _0x16d586=_0x23a667;if(this[_0x16d586(0x236)]&&(this[_0x16d586(0x236)][_0x16d586(0x29b)](),this[_0x16d586(0x236)]=null),this['_deflate']){const _0x27094c=this[_0x16d586(0x334)][_0x1fbb03];this[_0x16d586(0x334)]['close'](),this['_deflate']=null,_0x27094c&&_0x27094c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x23a667(0x228)](_0xc4f6d5){const _0x2af11c=_0x23a667,_0x34eed3=this[_0x2af11c(0x37e)],_0x556074=_0xc4f6d5[_0x2af11c(0x339)](_0x2fd090=>!(_0x34eed3['serverNoContextTakeover']===!0x1&&_0x2fd090['server_no_context_takeover']||_0x2fd090[_0x2af11c(0x325)]&&(_0x34eed3[_0x2af11c(0x262)]===!0x1||typeof _0x34eed3[_0x2af11c(0x262)]==_0x2af11c(0x37f)&&_0x34eed3[_0x2af11c(0x262)]>_0x2fd090[_0x2af11c(0x325)])||typeof _0x34eed3['clientMaxWindowBits']=='number'&&!_0x2fd090[_0x2af11c(0x2df)]));if(!_0x556074)throw new Error(_0x2af11c(0x2e2));return _0x34eed3['serverNoContextTakeover']&&(_0x556074['server_no_context_takeover']=!0x0),_0x34eed3[_0x2af11c(0x299)]&&(_0x556074[_0x2af11c(0x266)]=!0x0),typeof _0x34eed3[_0x2af11c(0x262)]==_0x2af11c(0x37f)&&(_0x556074['server_max_window_bits']=_0x34eed3[_0x2af11c(0x262)]),typeof _0x34eed3[_0x2af11c(0x20e)]=='number'?_0x556074[_0x2af11c(0x2df)]=_0x34eed3['clientMaxWindowBits']:(_0x556074[_0x2af11c(0x2df)]===!0x0||_0x34eed3[_0x2af11c(0x20e)]===!0x1)&&delete _0x556074[_0x2af11c(0x2df)],_0x556074;}[_0x23a667(0x283)](_0x8158b9){const _0x50880c=_0x23a667,_0x53e50c=_0x8158b9[0x0];if(this[_0x50880c(0x37e)][_0x50880c(0x299)]===!0x1&&_0x53e50c[_0x50880c(0x266)])throw new Error(_0x50880c(0x35d));if(!_0x53e50c[_0x50880c(0x2df)])typeof this[_0x50880c(0x37e)][_0x50880c(0x20e)]==_0x50880c(0x37f)&&(_0x53e50c[_0x50880c(0x2df)]=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x50880c(0x20e)]===!0x1||typeof this[_0x50880c(0x37e)][_0x50880c(0x20e)]==_0x50880c(0x37f)&&_0x53e50c[_0x50880c(0x2df)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x50880c(0x1da));}return _0x53e50c;}[_0x23a667(0x253)](_0x2199c6){const _0x1ada25=_0x23a667;return _0x2199c6[_0x1ada25(0x29f)](_0x10ee40=>{const _0x41887b=_0x1ada25;Object[_0x41887b(0x2d4)](_0x10ee40)[_0x41887b(0x29f)](_0x58e3da=>{const _0x516695=_0x41887b;let _0xc196da=_0x10ee40[_0x58e3da];if(_0xc196da[_0x516695(0x2da)]>0x1)throw new Error(_0x516695(0x204)+_0x58e3da+_0x516695(0x265));if(_0xc196da=_0xc196da[0x0],_0x58e3da===_0x516695(0x2df)){if(_0xc196da!==!0x0){const _0x2a4143=+_0xc196da;if(!Number[_0x516695(0x2de)](_0x2a4143)||_0x2a4143<0x8||_0x2a4143>0xf)throw new TypeError(_0x516695(0x319)+_0x58e3da+_0x516695(0x2e4)+_0xc196da);_0xc196da=_0x2a4143;}else{if(!this[_0x516695(0x24b)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);}}else{if(_0x58e3da===_0x516695(0x325)){const _0x4aa527=+_0xc196da;if(!Number[_0x516695(0x2de)](_0x4aa527)||_0x4aa527<0x8||_0x4aa527>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);_0xc196da=_0x4aa527;}else{if(_0x58e3da===_0x516695(0x266)||_0x58e3da===_0x516695(0x34f)){if(_0xc196da!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);}else throw new Error(_0x516695(0x235)+_0x58e3da+'\x22');}}_0x10ee40[_0x58e3da]=_0xc196da;});}),_0x2199c6;}['decompress'](_0x1e6aaa,_0x14f8cd,_0x4e62e6){_0x3c0888['add'](_0x3a72a7=>{const _0x1cf840=_0x2311;this[_0x1cf840(0x239)](_0x1e6aaa,_0x14f8cd,(_0xb201b5,_0x380bee)=>{_0x3a72a7(),_0x4e62e6(_0xb201b5,_0x380bee);});});}[_0x23a667(0x26a)](_0x109b96,_0x363bd2,_0x5dcc12){const _0x2461d6=_0x23a667;_0x3c0888[_0x2461d6(0x1e8)](_0x3933cb=>{const _0xda8efe=_0x2461d6;this[_0xda8efe(0x380)](_0x109b96,_0x363bd2,(_0x279db1,_0x10a43b)=>{_0x3933cb(),_0x5dcc12(_0x279db1,_0x10a43b);});});}[_0x23a667(0x239)](_0x42a9e2,_0x319608,_0x2df4a8){const _0x4e3c57=_0x23a667,_0x226e3b=this[_0x4e3c57(0x24b)]?_0x4e3c57(0x288):'server';if(!this[_0x4e3c57(0x236)]){const _0x2de0c6=_0x226e3b+_0x4e3c57(0x2f9),_0x3aef33=typeof this[_0x4e3c57(0x1dc)][_0x2de0c6]!='number'?_0x4df9e7['Z_DEFAULT_WINDOWBITS']:this[_0x4e3c57(0x1dc)][_0x2de0c6];this['_inflate']=_0x4df9e7[_0x4e3c57(0x308)]({...this[_0x4e3c57(0x37e)][_0x4e3c57(0x2ff)],'windowBits':_0x3aef33}),this['_inflate'][_0x111252]=this,this['_inflate'][_0x59f20c]=0x0,this[_0x4e3c57(0x236)][_0x4b0c18]=[],this['_inflate']['on']('error',_0x20cc31),this[_0x4e3c57(0x236)]['on'](_0x4e3c57(0x212),_0x24b469);}this['_inflate'][_0x1fbb03]=_0x2df4a8,this[_0x4e3c57(0x236)][_0x4e3c57(0x252)](_0x42a9e2),_0x319608&&this[_0x4e3c57(0x236)][_0x4e3c57(0x252)](_0x16e0ac),this['_inflate']['flush'](()=>{const _0x5d01d5=_0x4e3c57,_0x184cb0=this[_0x5d01d5(0x236)][_0x863548];if(_0x184cb0){this[_0x5d01d5(0x236)][_0x5d01d5(0x29b)](),this[_0x5d01d5(0x236)]=null,_0x2df4a8(_0x184cb0);return;}const _0x444140=_0x17b7f7['concat'](this['_inflate'][_0x4b0c18],this[_0x5d01d5(0x236)][_0x59f20c]);this[_0x5d01d5(0x236)][_0x5d01d5(0x31b)]['endEmitted']?(this[_0x5d01d5(0x236)][_0x5d01d5(0x29b)](),this[_0x5d01d5(0x236)]=null):(this[_0x5d01d5(0x236)][_0x59f20c]=0x0,this['_inflate'][_0x4b0c18]=[],_0x319608&&this[_0x5d01d5(0x1dc)][_0x226e3b+'_no_context_takeover']&&this[_0x5d01d5(0x236)]['reset']()),_0x2df4a8(null,_0x444140);});}[_0x23a667(0x380)](_0x5c2c6b,_0x31c3bf,_0x584c11){const _0x52fefc=_0x23a667,_0x28eafe=this[_0x52fefc(0x24b)]?_0x52fefc(0x229):_0x52fefc(0x288);if(!this[_0x52fefc(0x334)]){const _0x113f7a=_0x28eafe+_0x52fefc(0x2f9),_0x1e27d9=typeof this[_0x52fefc(0x1dc)][_0x113f7a]!='number'?_0x4df9e7[_0x52fefc(0x315)]:this[_0x52fefc(0x1dc)][_0x113f7a];this['_deflate']=_0x4df9e7[_0x52fefc(0x261)]({...this[_0x52fefc(0x37e)][_0x52fefc(0x2d9)],'windowBits':_0x1e27d9}),this[_0x52fefc(0x334)][_0x59f20c]=0x0,this['_deflate'][_0x4b0c18]=[],this['_deflate']['on'](_0x52fefc(0x212),_0x1e4d25);}this[_0x52fefc(0x334)][_0x1fbb03]=_0x584c11,this[_0x52fefc(0x334)][_0x52fefc(0x252)](_0x5c2c6b),this[_0x52fefc(0x334)][_0x52fefc(0x1fe)](_0x4df9e7[_0x52fefc(0x377)],()=>{const _0x5a9044=_0x52fefc;if(!this['_deflate'])return;let _0x493577=_0x17b7f7[_0x5a9044(0x36d)](this[_0x5a9044(0x334)][_0x4b0c18],this['_deflate'][_0x59f20c]);_0x31c3bf&&(_0x493577=new _0x55f7a5(_0x493577['buffer'],_0x493577[_0x5a9044(0x1ca)],_0x493577[_0x5a9044(0x2da)]-0x4)),this['_deflate'][_0x1fbb03]=null,this['_deflate'][_0x59f20c]=0x0,this[_0x5a9044(0x334)][_0x4b0c18]=[],_0x31c3bf&&this[_0x5a9044(0x1dc)][_0x28eafe+'_no_context_takeover']&&this[_0x5a9044(0x334)]['reset'](),_0x584c11(null,_0x493577);});}}ve=_0x5c4a14;function _0x1e4d25(_0x3a9c6f){const _0x1be159=_0x23a667;this[_0x4b0c18][_0x1be159(0x213)](_0x3a9c6f),this[_0x59f20c]+=_0x3a9c6f[_0x1be159(0x2da)];}function _0x24b469(_0x2ba65d){const _0x2b9394=_0x23a667;if(this[_0x59f20c]+=_0x2ba65d[_0x2b9394(0x2da)],this[_0x111252][_0x2b9394(0x296)]<0x1||this[_0x59f20c]<=this[_0x111252][_0x2b9394(0x296)]){this[_0x4b0c18][_0x2b9394(0x213)](_0x2ba65d);return;}this[_0x863548]=new RangeError(_0x2b9394(0x2bd)),this[_0x863548][_0x2b9394(0x2c4)]=_0x2b9394(0x248),this[_0x863548][_0x10a7f1]=0x3f1,this[_0x2b9394(0x22d)](_0x2b9394(0x212),_0x24b469),this[_0x2b9394(0x2b6)]();}function _0x20cc31(_0x389bd4){const _0x27ec68=_0x23a667;this[_0x111252][_0x27ec68(0x236)]=null,_0x389bd4[_0x10a7f1]=0x3ef,this[_0x1fbb03](_0x389bd4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x55fc25(0x1cc)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x55fc25(0x272)],{'value':_0x55fc25(0x28a)})),Bt=at(Rt);var Ye;function ae(){const _0x2e7950=_0x55fc25;if(Ye)return ie[_0x2e7950(0x1cb)];Ye=0x1;const {isUtf8:_0x2144b2}=wt,{hasBlob:_0x5a576a}=H(),_0x2ecf0a=[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 _0x558037(_0xef0915){return _0xef0915>=0x3e8&&_0xef0915<=0x3f6&&_0xef0915!==0x3ec&&_0xef0915!==0x3ed&&_0xef0915!==0x3ee||_0xef0915>=0xbb8&&_0xef0915<=0x1387;}function _0x3290a0(_0x29641f){const _0x7eed8d=_0x2e7950,_0x47237e=_0x29641f[_0x7eed8d(0x2da)];let _0x183a86=0x0;for(;_0x183a86<_0x47237e;)if((_0x29641f[_0x183a86]&0x80)===0x0)_0x183a86++;else{if((_0x29641f[_0x183a86]&0xe0)===0xc0){if(_0x183a86+0x1===_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86]&0xfe)===0xc0)return!0x1;_0x183a86+=0x2;}else{if((_0x29641f[_0x183a86]&0xf0)===0xe0){if(_0x183a86+0x2>=_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x2]&0xc0)!==0x80||_0x29641f[_0x183a86]===0xe0&&(_0x29641f[_0x183a86+0x1]&0xe0)===0x80||_0x29641f[_0x183a86]===0xed&&(_0x29641f[_0x183a86+0x1]&0xe0)===0xa0)return!0x1;_0x183a86+=0x3;}else{if((_0x29641f[_0x183a86]&0xf8)===0xf0){if(_0x183a86+0x3>=_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x2]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x3]&0xc0)!==0x80||_0x29641f[_0x183a86]===0xf0&&(_0x29641f[_0x183a86+0x1]&0xf0)===0x80||_0x29641f[_0x183a86]===0xf4&&_0x29641f[_0x183a86+0x1]>0x8f||_0x29641f[_0x183a86]>0xf4)return!0x1;_0x183a86+=0x4;}else return!0x1;}}}return!0x0;}function _0x7b848f(_0x1b3954){const _0x25a959=_0x2e7950;return _0x5a576a&&typeof _0x1b3954==_0x25a959(0x2e0)&&typeof _0x1b3954[_0x25a959(0x264)]=='function'&&typeof _0x1b3954['type']==_0x25a959(0x301)&&typeof _0x1b3954[_0x25a959(0x27a)]=='function'&&(_0x1b3954[Symbol[_0x25a959(0x272)]]===_0x25a959(0x389)||_0x1b3954[Symbol[_0x25a959(0x272)]]===_0x25a959(0x1fb));}if(ie[_0x2e7950(0x1cb)]={'isBlob':_0x7b848f,'isValidStatusCode':_0x558037,'isValidUTF8':_0x3290a0,'tokenChars':_0x2ecf0a},_0x2144b2)ie['exports'][_0x2e7950(0x2ab)]=function(_0x31e05d){const _0x57f233=_0x2e7950;return _0x31e05d[_0x57f233(0x2da)]<0x18?_0x3290a0(_0x31e05d):_0x2144b2(_0x31e05d);};else{if(!process['env'][_0x2e7950(0x1e0)])try{const _0x413a89=Bt;ie['exports']['isValidUTF8']=function(_0x100d1a){const _0x2f7bb7=_0x2e7950;return _0x100d1a[_0x2f7bb7(0x2da)]<0x20?_0x3290a0(_0x100d1a):_0x413a89(_0x100d1a);};}catch{}}return ie[_0x2e7950(0x1cb)];}var Se,Ke;function lt(){const _0x1b5ca4=_0x55fc25;if(Ke)return Se;Ke=0x1;const {Writable:_0x27d374}=oe,_0x145a9e=he(),{BINARY_TYPES:_0x3f8304,EMPTY_BUFFER:_0x375b9f,kStatusCode:_0x4c85e4,kWebSocket:_0x41850a}=H(),{concat:_0x4d9725,toArrayBuffer:_0x3aad38,unmask:_0xc123a}=ce(),{isValidStatusCode:_0x3904c2,isValidUTF8:_0xe52fd0}=ae(),_0x1514d5=Buffer[Symbol[_0x1b5ca4(0x2f3)]],_0x40f50f=0x0,_0x4b4ed3=0x1,_0x30e225=0x2,_0x1afd9c=0x3,_0x1bdab6=0x4,_0x25a438=0x5,_0x1d8826=0x6;class _0x466635 extends _0x27d374{constructor(_0x10a7b1={}){const _0x2f78db=_0x1b5ca4;super(),this[_0x2f78db(0x387)]=_0x10a7b1[_0x2f78db(0x231)]!==void 0x0?_0x10a7b1[_0x2f78db(0x231)]:!0x0,this[_0x2f78db(0x23e)]=_0x10a7b1[_0x2f78db(0x23d)]||_0x3f8304[0x0],this[_0x2f78db(0x297)]=_0x10a7b1[_0x2f78db(0x256)]||{},this[_0x2f78db(0x24b)]=!!_0x10a7b1[_0x2f78db(0x222)],this[_0x2f78db(0x296)]=_0x10a7b1[_0x2f78db(0x304)]|0x0,this[_0x2f78db(0x290)]=!!_0x10a7b1[_0x2f78db(0x332)],this[_0x41850a]=void 0x0,this[_0x2f78db(0x2e8)]=0x0,this['_buffers']=[],this[_0x2f78db(0x23c)]=!0x1,this[_0x2f78db(0x286)]=0x0,this['_mask']=void 0x0,this[_0x2f78db(0x271)]=0x0,this[_0x2f78db(0x1dd)]=!0x1,this[_0x2f78db(0x247)]=!0x1,this[_0x2f78db(0x388)]=0x0,this[_0x2f78db(0x2dd)]=0x0,this[_0x2f78db(0x1f7)]=0x0,this[_0x2f78db(0x26f)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x40f50f;}[_0x1b5ca4(0x1cf)](_0x262958,_0x2400e5,_0x5af117){const _0x4bd8e1=_0x1b5ca4;if(this[_0x4bd8e1(0x388)]===0x8&&this[_0x4bd8e1(0x381)]==_0x40f50f)return _0x5af117();this[_0x4bd8e1(0x2e8)]+=_0x262958['length'],this[_0x4bd8e1(0x320)][_0x4bd8e1(0x213)](_0x262958),this[_0x4bd8e1(0x292)](_0x5af117);}[_0x1b5ca4(0x277)](_0x51d049){const _0x51f918=_0x1b5ca4;if(this[_0x51f918(0x2e8)]-=_0x51d049,_0x51d049===this['_buffers'][0x0][_0x51f918(0x2da)])return this[_0x51f918(0x320)][_0x51f918(0x336)]();if(_0x51d049<this[_0x51f918(0x320)][0x0][_0x51f918(0x2da)]){const _0x596ebe=this[_0x51f918(0x320)][0x0];return this[_0x51f918(0x320)][0x0]=new _0x1514d5(_0x596ebe['buffer'],_0x596ebe['byteOffset']+_0x51d049,_0x596ebe[_0x51f918(0x2da)]-_0x51d049),new _0x1514d5(_0x596ebe[_0x51f918(0x24f)],_0x596ebe[_0x51f918(0x1ca)],_0x51d049);}const _0x451228=Buffer[_0x51f918(0x22a)](_0x51d049);do{const _0xa7a07d=this[_0x51f918(0x320)][0x0],_0x594252=_0x451228[_0x51f918(0x2da)]-_0x51d049;_0x51d049>=_0xa7a07d[_0x51f918(0x2da)]?_0x451228[_0x51f918(0x321)](this[_0x51f918(0x320)][_0x51f918(0x336)](),_0x594252):(_0x451228[_0x51f918(0x321)](new Uint8Array(_0xa7a07d[_0x51f918(0x24f)],_0xa7a07d[_0x51f918(0x1ca)],_0x51d049),_0x594252),this[_0x51f918(0x320)][0x0]=new _0x1514d5(_0xa7a07d[_0x51f918(0x24f)],_0xa7a07d[_0x51f918(0x1ca)]+_0x51d049,_0xa7a07d[_0x51f918(0x2da)]-_0x51d049)),_0x51d049-=_0xa7a07d[_0x51f918(0x2da)];}while(_0x51d049>0x0);return _0x451228;}['startLoop'](_0x23392f){const _0x13ffcf=_0x1b5ca4;this[_0x13ffcf(0x22f)]=!0x0;do switch(this[_0x13ffcf(0x381)]){case _0x40f50f:this[_0x13ffcf(0x2f2)](_0x23392f);break;case _0x4b4ed3:this[_0x13ffcf(0x376)](_0x23392f);break;case _0x30e225:this[_0x13ffcf(0x357)](_0x23392f);break;case _0x1afd9c:this[_0x13ffcf(0x294)]();break;case _0x1bdab6:this['getData'](_0x23392f);break;case _0x25a438:case _0x1d8826:this[_0x13ffcf(0x22f)]=!0x1;return;}while(this[_0x13ffcf(0x22f)]);this['_errored']||_0x23392f();}[_0x1b5ca4(0x2f2)](_0x1386ba){const _0x345bf3=_0x1b5ca4;if(this['_bufferedBytes']<0x2){this[_0x345bf3(0x22f)]=!0x1;return;}const _0x4dc6ec=this[_0x345bf3(0x277)](0x2);if((_0x4dc6ec[0x0]&0x30)!==0x0){const _0x2ee6ad=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x2a3),!0x0,0x3ea,_0x345bf3(0x23a));_0x1386ba(_0x2ee6ad);return;}const _0x57129d=(_0x4dc6ec[0x0]&0x40)===0x40;if(_0x57129d&&!this['_extensions'][_0x145a9e['extensionName']]){const _0x1cccf4=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,_0x345bf3(0x36e));_0x1386ba(_0x1cccf4);return;}if(this[_0x345bf3(0x247)]=(_0x4dc6ec[0x0]&0x80)===0x80,this['_opcode']=_0x4dc6ec[0x0]&0xf,this[_0x345bf3(0x286)]=_0x4dc6ec[0x1]&0x7f,this[_0x345bf3(0x388)]===0x0){if(_0x57129d){const _0x30f0b0=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1386ba(_0x30f0b0);return;}if(!this[_0x345bf3(0x271)]){const _0x4f2150=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x2ac),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1386ba(_0x4f2150);return;}this[_0x345bf3(0x388)]=this['_fragmented'];}else{if(this[_0x345bf3(0x388)]===0x1||this['_opcode']===0x2){if(this[_0x345bf3(0x271)]){const _0x4a54e7=this['createError'](RangeError,_0x345bf3(0x24a)+this['_opcode'],!0x0,0x3ea,_0x345bf3(0x328));_0x1386ba(_0x4a54e7);return;}this['_compressed']=_0x57129d;}else{if(this[_0x345bf3(0x388)]>0x7&&this[_0x345bf3(0x388)]<0xb){if(!this[_0x345bf3(0x247)]){const _0x3b3a31=this[_0x345bf3(0x37c)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1386ba(_0x3b3a31);return;}if(_0x57129d){const _0x4e9815=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,_0x345bf3(0x36e));_0x1386ba(_0x4e9815);return;}if(this[_0x345bf3(0x286)]>0x7d||this[_0x345bf3(0x388)]===0x8&&this[_0x345bf3(0x286)]===0x1){const _0x2cc9df=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x342)+this[_0x345bf3(0x286)],!0x0,0x3ea,_0x345bf3(0x2af));_0x1386ba(_0x2cc9df);return;}}else{const _0x34c43e=this[_0x345bf3(0x37c)](RangeError,'invalid\x20opcode\x20'+this[_0x345bf3(0x388)],!0x0,0x3ea,_0x345bf3(0x328));_0x1386ba(_0x34c43e);return;}}}if(!this[_0x345bf3(0x247)]&&!this['_fragmented']&&(this[_0x345bf3(0x271)]=this[_0x345bf3(0x388)]),this[_0x345bf3(0x1dd)]=(_0x4dc6ec[0x1]&0x80)===0x80,this[_0x345bf3(0x24b)]){if(!this['_masked']){const _0x3969cb=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x345bf3(0x220));_0x1386ba(_0x3969cb);return;}}else{if(this['_masked']){const _0x4bd405=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x216),!0x0,0x3ea,_0x345bf3(0x2ec));_0x1386ba(_0x4bd405);return;}}this[_0x345bf3(0x286)]===0x7e?this[_0x345bf3(0x381)]=_0x4b4ed3:this[_0x345bf3(0x286)]===0x7f?this[_0x345bf3(0x381)]=_0x30e225:this['haveLength'](_0x1386ba);}[_0x1b5ca4(0x376)](_0x37a444){const _0x4e6936=_0x1b5ca4;if(this['_bufferedBytes']<0x2){this[_0x4e6936(0x22f)]=!0x1;return;}this[_0x4e6936(0x286)]=this[_0x4e6936(0x277)](0x2)['readUInt16BE'](0x0),this[_0x4e6936(0x1f9)](_0x37a444);}[_0x1b5ca4(0x357)](_0x1d6915){const _0x7dbcfd=_0x1b5ca4;if(this[_0x7dbcfd(0x2e8)]<0x8){this['_loop']=!0x1;return;}const _0x5fc2d0=this[_0x7dbcfd(0x277)](0x8),_0xa80127=_0x5fc2d0[_0x7dbcfd(0x21a)](0x0);if(_0xa80127>Math[_0x7dbcfd(0x2e9)](0x2,0x15)-0x1){const _0xeba50f=this['createError'](RangeError,_0x7dbcfd(0x284),!0x1,0x3f1,_0x7dbcfd(0x2ba));_0x1d6915(_0xeba50f);return;}this[_0x7dbcfd(0x286)]=_0xa80127*Math[_0x7dbcfd(0x2e9)](0x2,0x20)+_0x5fc2d0[_0x7dbcfd(0x21a)](0x4),this[_0x7dbcfd(0x1f9)](_0x1d6915);}['haveLength'](_0xc9f5e7){const _0x4ede07=_0x1b5ca4;if(this[_0x4ede07(0x286)]&&this['_opcode']<0x8&&(this[_0x4ede07(0x2dd)]+=this['_payloadLength'],this[_0x4ede07(0x2dd)]>this[_0x4ede07(0x296)]&&this[_0x4ede07(0x296)]>0x0)){const _0x3eac61=this[_0x4ede07(0x37c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc9f5e7(_0x3eac61);return;}this[_0x4ede07(0x1dd)]?this[_0x4ede07(0x381)]=_0x1afd9c:this['_state']=_0x1bdab6;}['getMask'](){const _0x12e7f8=_0x1b5ca4;if(this['_bufferedBytes']<0x4){this[_0x12e7f8(0x22f)]=!0x1;return;}this[_0x12e7f8(0x2b4)]=this['consume'](0x4),this[_0x12e7f8(0x381)]=_0x1bdab6;}[_0x1b5ca4(0x280)](_0x5e31d0){const _0x435b1d=_0x1b5ca4;let _0x1ee422=_0x375b9f;if(this[_0x435b1d(0x286)]){if(this[_0x435b1d(0x2e8)]<this[_0x435b1d(0x286)]){this[_0x435b1d(0x22f)]=!0x1;return;}_0x1ee422=this['consume'](this[_0x435b1d(0x286)]),this['_masked']&&(this[_0x435b1d(0x2b4)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x435b1d(0x2b4)][0x3])!==0x0&&_0xc123a(_0x1ee422,this['_mask']);}if(this[_0x435b1d(0x388)]>0x7){this[_0x435b1d(0x27f)](_0x1ee422,_0x5e31d0);return;}if(this[_0x435b1d(0x23c)]){this['_state']=_0x25a438,this[_0x435b1d(0x28d)](_0x1ee422,_0x5e31d0);return;}_0x1ee422[_0x435b1d(0x2da)]&&(this[_0x435b1d(0x1f7)]=this[_0x435b1d(0x2dd)],this[_0x435b1d(0x26f)][_0x435b1d(0x213)](_0x1ee422)),this[_0x435b1d(0x32e)](_0x5e31d0);}[_0x1b5ca4(0x28d)](_0x58965c,_0x1984e7){const _0x17a537=_0x1b5ca4;this['_extensions'][_0x145a9e[_0x17a537(0x24c)]][_0x17a537(0x28d)](_0x58965c,this['_fin'],(_0x59df5c,_0x14e365)=>{const _0x48ffe3=_0x17a537;if(_0x59df5c)return _0x1984e7(_0x59df5c);if(_0x14e365[_0x48ffe3(0x2da)]){if(this[_0x48ffe3(0x1f7)]+=_0x14e365[_0x48ffe3(0x2da)],this[_0x48ffe3(0x1f7)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0xb3de45=this['createError'](RangeError,_0x48ffe3(0x2bd),!0x1,0x3f1,_0x48ffe3(0x248));_0x1984e7(_0xb3de45);return;}this[_0x48ffe3(0x26f)][_0x48ffe3(0x213)](_0x14e365);}this[_0x48ffe3(0x32e)](_0x1984e7),this[_0x48ffe3(0x381)]===_0x40f50f&&this[_0x48ffe3(0x292)](_0x1984e7);});}['dataMessage'](_0x2ebc3f){const _0x448f70=_0x1b5ca4;if(!this[_0x448f70(0x247)]){this[_0x448f70(0x381)]=_0x40f50f;return;}const _0x27d488=this[_0x448f70(0x1f7)],_0x37fcc2=this[_0x448f70(0x26f)];if(this[_0x448f70(0x2dd)]=0x0,this[_0x448f70(0x1f7)]=0x0,this[_0x448f70(0x271)]=0x0,this[_0x448f70(0x26f)]=[],this[_0x448f70(0x388)]===0x2){let _0x43bf3a;this[_0x448f70(0x23e)]===_0x448f70(0x2f1)?_0x43bf3a=_0x4d9725(_0x37fcc2,_0x27d488):this[_0x448f70(0x23e)]===_0x448f70(0x1e6)?_0x43bf3a=_0x3aad38(_0x4d9725(_0x37fcc2,_0x27d488)):this[_0x448f70(0x23e)]===_0x448f70(0x243)?_0x43bf3a=new Blob(_0x37fcc2):_0x43bf3a=_0x37fcc2,this[_0x448f70(0x387)]?(this[_0x448f70(0x20c)](_0x448f70(0x1f2),_0x43bf3a,!0x0),this[_0x448f70(0x381)]=_0x40f50f):(this[_0x448f70(0x381)]=_0x1d8826,setImmediate(()=>{const _0x15b914=_0x448f70;this[_0x15b914(0x20c)](_0x15b914(0x1f2),_0x43bf3a,!0x0),this[_0x15b914(0x381)]=_0x40f50f,this['startLoop'](_0x2ebc3f);}));}else{const _0x35ca6f=_0x4d9725(_0x37fcc2,_0x27d488);if(!this[_0x448f70(0x290)]&&!_0xe52fd0(_0x35ca6f)){const _0x5c73a0=this['createError'](Error,_0x448f70(0x1f3),!0x0,0x3ef,_0x448f70(0x33d));_0x2ebc3f(_0x5c73a0);return;}this[_0x448f70(0x381)]===_0x25a438||this[_0x448f70(0x387)]?(this['emit'](_0x448f70(0x1f2),_0x35ca6f,!0x1),this[_0x448f70(0x381)]=_0x40f50f):(this[_0x448f70(0x381)]=_0x1d8826,setImmediate(()=>{const _0x3b0706=_0x448f70;this[_0x3b0706(0x20c)](_0x3b0706(0x1f2),_0x35ca6f,!0x1),this[_0x3b0706(0x381)]=_0x40f50f,this['startLoop'](_0x2ebc3f);}));}}['controlMessage'](_0x46df91,_0x591170){const _0x756b7e=_0x1b5ca4;if(this[_0x756b7e(0x388)]===0x8){if(_0x46df91['length']===0x0)this[_0x756b7e(0x22f)]=!0x1,this[_0x756b7e(0x20c)](_0x756b7e(0x2f7),0x3ed,_0x375b9f),this[_0x756b7e(0x364)]();else{const _0x1233dd=_0x46df91['readUInt16BE'](0x0);if(!_0x3904c2(_0x1233dd)){const _0xf571c5=this[_0x756b7e(0x37c)](RangeError,'invalid\x20status\x20code\x20'+_0x1233dd,!0x0,0x3ea,_0x756b7e(0x34d));_0x591170(_0xf571c5);return;}const _0x409109=new _0x1514d5(_0x46df91[_0x756b7e(0x24f)],_0x46df91[_0x756b7e(0x1ca)]+0x2,_0x46df91[_0x756b7e(0x2da)]-0x2);if(!this[_0x756b7e(0x290)]&&!_0xe52fd0(_0x409109)){const _0x3c7627=this['createError'](Error,_0x756b7e(0x1f3),!0x0,0x3ef,_0x756b7e(0x33d));_0x591170(_0x3c7627);return;}this[_0x756b7e(0x22f)]=!0x1,this[_0x756b7e(0x20c)](_0x756b7e(0x2f7),_0x1233dd,_0x409109),this[_0x756b7e(0x364)]();}this[_0x756b7e(0x381)]=_0x40f50f;return;}this[_0x756b7e(0x387)]?(this['emit'](this['_opcode']===0x9?'ping':'pong',_0x46df91),this['_state']=_0x40f50f):(this['_state']=_0x1d8826,setImmediate(()=>{const _0x2f73be=_0x756b7e;this[_0x2f73be(0x20c)](this[_0x2f73be(0x388)]===0x9?_0x2f73be(0x24e):_0x2f73be(0x279),_0x46df91),this[_0x2f73be(0x381)]=_0x40f50f,this[_0x2f73be(0x292)](_0x591170);}));}[_0x1b5ca4(0x37c)](_0x2f3696,_0x230479,_0x59c751,_0x2a4131,_0x28e594){const _0x444d6c=_0x1b5ca4;this[_0x444d6c(0x22f)]=!0x1,this['_errored']=!0x0;const _0x2ae6a6=new _0x2f3696(_0x59c751?_0x444d6c(0x206)+_0x230479:_0x230479);return Error[_0x444d6c(0x36a)](_0x2ae6a6,this[_0x444d6c(0x37c)]),_0x2ae6a6[_0x444d6c(0x2c4)]=_0x28e594,_0x2ae6a6[_0x4c85e4]=_0x2a4131,_0x2ae6a6;}}return Se=_0x466635,Se;}var Ee,Xe;function ft(){const _0x40aecb=_0x55fc25;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x40caf0}=oe,{randomFillSync:_0x1b9fdd}=Le,_0x1655d3=he(),{EMPTY_BUFFER:_0x4c664c,kWebSocket:_0x2cb6f8,NOOP:_0x487ba2}=H(),{isBlob:_0x16a040,isValidStatusCode:_0x36d6b5}=ae(),{mask:_0x1c7391,toBuffer:_0x175e89}=ce(),_0x39573b=Symbol(_0x40aecb(0x318)),_0xd86494=Buffer[_0x40aecb(0x1d3)](0x4),_0x37127e=0x8*0x400;let _0x28349f,_0x13e9dc=_0x37127e;const _0x18fd07=0x0,_0x576880=0x1,_0x458342=0x2;class _0x526601{constructor(_0xfc6a3e,_0x109b87,_0x7aaa7d){const _0x290bef=_0x40aecb;this[_0x290bef(0x297)]=_0x109b87||{},_0x7aaa7d&&(this[_0x290bef(0x2fa)]=_0x7aaa7d,this[_0x290bef(0x2b3)]=Buffer[_0x290bef(0x1d3)](0x4)),this[_0x290bef(0x2bc)]=_0xfc6a3e,this[_0x290bef(0x2b7)]=!0x0,this[_0x290bef(0x380)]=!0x1,this[_0x290bef(0x2e8)]=0x0,this['_queue']=[],this[_0x290bef(0x381)]=_0x18fd07,this[_0x290bef(0x2c5)]=_0x487ba2,this[_0x2cb6f8]=void 0x0;}static[_0x40aecb(0x25e)](_0x43c22e,_0x5002f6){const _0x275ee8=_0x40aecb;let _0x2af24d,_0x451ef4=!0x1,_0x22492f=0x2,_0xf91fa=!0x1;_0x5002f6[_0x275ee8(0x22c)]&&(_0x2af24d=_0x5002f6[_0x275ee8(0x203)]||_0xd86494,_0x5002f6['generateMask']?_0x5002f6['generateMask'](_0x2af24d):(_0x13e9dc===_0x37127e&&(_0x28349f===void 0x0&&(_0x28349f=Buffer[_0x275ee8(0x1d3)](_0x37127e)),_0x1b9fdd(_0x28349f,0x0,_0x37127e),_0x13e9dc=0x0),_0x2af24d[0x0]=_0x28349f[_0x13e9dc++],_0x2af24d[0x1]=_0x28349f[_0x13e9dc++],_0x2af24d[0x2]=_0x28349f[_0x13e9dc++],_0x2af24d[0x3]=_0x28349f[_0x13e9dc++]),_0xf91fa=(_0x2af24d[0x0]|_0x2af24d[0x1]|_0x2af24d[0x2]|_0x2af24d[0x3])===0x0,_0x22492f=0x6);let _0x50ebda;typeof _0x43c22e==_0x275ee8(0x301)?(!_0x5002f6['mask']||_0xf91fa)&&_0x5002f6[_0x39573b]!==void 0x0?_0x50ebda=_0x5002f6[_0x39573b]:(_0x43c22e=Buffer[_0x275ee8(0x2b8)](_0x43c22e),_0x50ebda=_0x43c22e[_0x275ee8(0x2da)]):(_0x50ebda=_0x43c22e['length'],_0x451ef4=_0x5002f6['mask']&&_0x5002f6[_0x275ee8(0x2c2)]&&!_0xf91fa);let _0x43c066=_0x50ebda;_0x50ebda>=0x10000?(_0x22492f+=0x8,_0x43c066=0x7f):_0x50ebda>0x7d&&(_0x22492f+=0x2,_0x43c066=0x7e);const _0x13358c=Buffer[_0x275ee8(0x22a)](_0x451ef4?_0x50ebda+_0x22492f:_0x22492f);return _0x13358c[0x0]=_0x5002f6['fin']?_0x5002f6[_0x275ee8(0x2c9)]|0x80:_0x5002f6[_0x275ee8(0x2c9)],_0x5002f6['rsv1']&&(_0x13358c[0x0]|=0x40),_0x13358c[0x1]=_0x43c066,_0x43c066===0x7e?_0x13358c[_0x275ee8(0x200)](_0x50ebda,0x2):_0x43c066===0x7f&&(_0x13358c[0x2]=_0x13358c[0x3]=0x0,_0x13358c[_0x275ee8(0x254)](_0x50ebda,0x4,0x6)),_0x5002f6[_0x275ee8(0x22c)]?(_0x13358c[0x1]|=0x80,_0x13358c[_0x22492f-0x4]=_0x2af24d[0x0],_0x13358c[_0x22492f-0x3]=_0x2af24d[0x1],_0x13358c[_0x22492f-0x2]=_0x2af24d[0x2],_0x13358c[_0x22492f-0x1]=_0x2af24d[0x3],_0xf91fa?[_0x13358c,_0x43c22e]:_0x451ef4?(_0x1c7391(_0x43c22e,_0x2af24d,_0x13358c,_0x22492f,_0x50ebda),[_0x13358c]):(_0x1c7391(_0x43c22e,_0x2af24d,_0x43c22e,0x0,_0x50ebda),[_0x13358c,_0x43c22e])):[_0x13358c,_0x43c22e];}['close'](_0x96061d,_0x35b202,_0x33f9e4,_0x5e74b5){const _0x3d7990=_0x40aecb;let _0x3642fe;if(_0x96061d===void 0x0)_0x3642fe=_0x4c664c;else{if(typeof _0x96061d!=_0x3d7990(0x37f)||!_0x36d6b5(_0x96061d))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x35b202===void 0x0||!_0x35b202[_0x3d7990(0x2da)])_0x3642fe=Buffer[_0x3d7990(0x22a)](0x2),_0x3642fe[_0x3d7990(0x200)](_0x96061d,0x0);else{const _0x424840=Buffer[_0x3d7990(0x2c3)](_0x35b202);if(_0x424840>0x7b)throw new RangeError(_0x3d7990(0x2c8));_0x3642fe=Buffer[_0x3d7990(0x22a)](0x2+_0x424840),_0x3642fe[_0x3d7990(0x200)](_0x96061d,0x0),typeof _0x35b202==_0x3d7990(0x301)?_0x3642fe[_0x3d7990(0x252)](_0x35b202,0x2):_0x3642fe['set'](_0x35b202,0x2);}}const _0x5f1de8={[_0x39573b]:_0x3642fe[_0x3d7990(0x2da)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33f9e4,'maskBuffer':this[_0x3d7990(0x2b3)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3d7990(0x381)]!==_0x18fd07?this[_0x3d7990(0x341)]([this[_0x3d7990(0x326)],_0x3642fe,!0x1,_0x5f1de8,_0x5e74b5]):this[_0x3d7990(0x311)](_0x526601[_0x3d7990(0x25e)](_0x3642fe,_0x5f1de8),_0x5e74b5);}[_0x40aecb(0x24e)](_0x447a96,_0x2a96e6,_0x4fc5f2){const _0x3fa060=_0x40aecb;let _0x5a318c,_0x38b33b;if(typeof _0x447a96==_0x3fa060(0x301)?(_0x5a318c=Buffer[_0x3fa060(0x2c3)](_0x447a96),_0x38b33b=!0x1):_0x16a040(_0x447a96)?(_0x5a318c=_0x447a96[_0x3fa060(0x215)],_0x38b33b=!0x1):(_0x447a96=_0x175e89(_0x447a96),_0x5a318c=_0x447a96[_0x3fa060(0x2da)],_0x38b33b=_0x175e89[_0x3fa060(0x2c2)]),_0x5a318c>0x7d)throw new RangeError(_0x3fa060(0x373));const _0x303b86={[_0x39573b]:_0x5a318c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a96e6,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x38b33b,'rsv1':!0x1};_0x16a040(_0x447a96)?this['_state']!==_0x18fd07?this[_0x3fa060(0x341)]([this[_0x3fa060(0x353)],_0x447a96,!0x1,_0x303b86,_0x4fc5f2]):this[_0x3fa060(0x353)](_0x447a96,!0x1,_0x303b86,_0x4fc5f2):this[_0x3fa060(0x381)]!==_0x18fd07?this[_0x3fa060(0x341)]([this[_0x3fa060(0x326)],_0x447a96,!0x1,_0x303b86,_0x4fc5f2]):this[_0x3fa060(0x311)](_0x526601['frame'](_0x447a96,_0x303b86),_0x4fc5f2);}['pong'](_0x5666aa,_0x18c199,_0x20e2db){const _0x30e545=_0x40aecb;let _0x2c34e9,_0x464744;if(typeof _0x5666aa==_0x30e545(0x301)?(_0x2c34e9=Buffer['byteLength'](_0x5666aa),_0x464744=!0x1):_0x16a040(_0x5666aa)?(_0x2c34e9=_0x5666aa[_0x30e545(0x215)],_0x464744=!0x1):(_0x5666aa=_0x175e89(_0x5666aa),_0x2c34e9=_0x5666aa[_0x30e545(0x2da)],_0x464744=_0x175e89[_0x30e545(0x2c2)]),_0x2c34e9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x15842c={[_0x39573b]:_0x2c34e9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x18c199,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x464744,'rsv1':!0x1};_0x16a040(_0x5666aa)?this[_0x30e545(0x381)]!==_0x18fd07?this[_0x30e545(0x341)]([this[_0x30e545(0x353)],_0x5666aa,!0x1,_0x15842c,_0x20e2db]):this['getBlobData'](_0x5666aa,!0x1,_0x15842c,_0x20e2db):this['_state']!==_0x18fd07?this['enqueue']([this[_0x30e545(0x326)],_0x5666aa,!0x1,_0x15842c,_0x20e2db]):this[_0x30e545(0x311)](_0x526601[_0x30e545(0x25e)](_0x5666aa,_0x15842c),_0x20e2db);}['send'](_0x3d91c1,_0x3930af,_0x76e186){const _0x2dc620=_0x40aecb,_0x287df3=this['_extensions'][_0x1655d3[_0x2dc620(0x24c)]];let _0x2137b3=_0x3930af[_0x2dc620(0x1c9)]?0x2:0x1,_0x3fb91e=_0x3930af[_0x2dc620(0x26a)],_0x38f3dc,_0x3cda5f;typeof _0x3d91c1==_0x2dc620(0x301)?(_0x38f3dc=Buffer[_0x2dc620(0x2c3)](_0x3d91c1),_0x3cda5f=!0x1):_0x16a040(_0x3d91c1)?(_0x38f3dc=_0x3d91c1['size'],_0x3cda5f=!0x1):(_0x3d91c1=_0x175e89(_0x3d91c1),_0x38f3dc=_0x3d91c1[_0x2dc620(0x2da)],_0x3cda5f=_0x175e89['readOnly']),this[_0x2dc620(0x2b7)]?(this[_0x2dc620(0x2b7)]=!0x1,_0x3fb91e&&_0x287df3&&_0x287df3[_0x2dc620(0x1dc)][_0x287df3[_0x2dc620(0x24b)]?_0x2dc620(0x34f):_0x2dc620(0x266)]&&(_0x3fb91e=_0x38f3dc>=_0x287df3[_0x2dc620(0x2a8)]),this[_0x2dc620(0x380)]=_0x3fb91e):(_0x3fb91e=!0x1,_0x2137b3=0x0),_0x3930af[_0x2dc620(0x37a)]&&(this[_0x2dc620(0x2b7)]=!0x0);const _0x5847df={[_0x39573b]:_0x38f3dc,'fin':_0x3930af['fin'],'generateMask':this[_0x2dc620(0x2fa)],'mask':_0x3930af[_0x2dc620(0x22c)],'maskBuffer':this['_maskBuffer'],'opcode':_0x2137b3,'readOnly':_0x3cda5f,'rsv1':_0x3fb91e};_0x16a040(_0x3d91c1)?this[_0x2dc620(0x381)]!==_0x18fd07?this[_0x2dc620(0x341)]([this[_0x2dc620(0x353)],_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186]):this['getBlobData'](_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186):this[_0x2dc620(0x381)]!==_0x18fd07?this[_0x2dc620(0x341)]([this[_0x2dc620(0x326)],_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186]):this[_0x2dc620(0x326)](_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186);}[_0x40aecb(0x353)](_0xcd6cd4,_0x1d1508,_0x3783d6,_0x301f1f){const _0xb58cf8=_0x40aecb;this[_0xb58cf8(0x2e8)]+=_0x3783d6[_0x39573b],this['_state']=_0x458342,_0xcd6cd4[_0xb58cf8(0x264)]()[_0xb58cf8(0x2ea)](_0x553d5c=>{const _0x108cca=_0xb58cf8;if(this['_socket'][_0x108cca(0x20f)]){const _0x21df5e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x108cca(0x25c)](_0x3404d6,this,_0x21df5e,_0x301f1f);return;}this[_0x108cca(0x2e8)]-=_0x3783d6[_0x39573b];const _0x5d3b91=_0x175e89(_0x553d5c);_0x1d1508?this[_0x108cca(0x326)](_0x5d3b91,_0x1d1508,_0x3783d6,_0x301f1f):(this[_0x108cca(0x381)]=_0x18fd07,this['sendFrame'](_0x526601[_0x108cca(0x25e)](_0x5d3b91,_0x3783d6),_0x301f1f),this['dequeue']());})['catch'](_0xa571b3=>{const _0x40dd62=_0xb58cf8;process[_0x40dd62(0x25c)](_0x28c0da,this,_0xa571b3,_0x301f1f);});}[_0x40aecb(0x326)](_0x1644c6,_0x2e0ceb,_0x29b8bf,_0x443c18){const _0x3d227f=_0x40aecb;if(!_0x2e0ceb){this[_0x3d227f(0x311)](_0x526601[_0x3d227f(0x25e)](_0x1644c6,_0x29b8bf),_0x443c18);return;}const _0x12eb84=this['_extensions'][_0x1655d3['extensionName']];this['_bufferedBytes']+=_0x29b8bf[_0x39573b],this[_0x3d227f(0x381)]=_0x576880,_0x12eb84['compress'](_0x1644c6,_0x29b8bf[_0x3d227f(0x37a)],(_0x4f5141,_0x1cfe4b)=>{const _0x59e76c=_0x3d227f;if(this[_0x59e76c(0x2bc)][_0x59e76c(0x20f)]){const _0x3eb5ab=new Error(_0x59e76c(0x300));_0x3404d6(this,_0x3eb5ab,_0x443c18);return;}this[_0x59e76c(0x2e8)]-=_0x29b8bf[_0x39573b],this[_0x59e76c(0x381)]=_0x18fd07,_0x29b8bf[_0x59e76c(0x2c2)]=!0x1,this[_0x59e76c(0x311)](_0x526601[_0x59e76c(0x25e)](_0x1cfe4b,_0x29b8bf),_0x443c18),this[_0x59e76c(0x2dc)]();});}[_0x40aecb(0x2dc)](){const _0x20c931=_0x40aecb;for(;this[_0x20c931(0x381)]===_0x18fd07&&this['_queue']['length'];){const _0x4bc926=this[_0x20c931(0x1f1)][_0x20c931(0x336)]();this[_0x20c931(0x2e8)]-=_0x4bc926[0x3][_0x39573b],Reflect['apply'](_0x4bc926[0x0],this,_0x4bc926['slice'](0x1));}}[_0x40aecb(0x341)](_0x3c067f){const _0x4d7f20=_0x40aecb;this[_0x4d7f20(0x2e8)]+=_0x3c067f[0x3][_0x39573b],this[_0x4d7f20(0x1f1)][_0x4d7f20(0x213)](_0x3c067f);}['sendFrame'](_0x2bf8e9,_0x243ccb){const _0x3a426c=_0x40aecb;_0x2bf8e9[_0x3a426c(0x2da)]===0x2?(this[_0x3a426c(0x2bc)][_0x3a426c(0x207)](),this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x0]),this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x1],_0x243ccb),this[_0x3a426c(0x2bc)][_0x3a426c(0x324)]()):this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x0],_0x243ccb);}}Ee=_0x526601;function _0x3404d6(_0x16ba16,_0x29ec7a,_0x45decb){const _0x589806=_0x40aecb;typeof _0x45decb==_0x589806(0x29d)&&_0x45decb(_0x29ec7a);for(let _0x5dad8d=0x0;_0x5dad8d<_0x16ba16[_0x589806(0x1f1)][_0x589806(0x2da)];_0x5dad8d++){const _0x215112=_0x16ba16[_0x589806(0x1f1)][_0x5dad8d],_0x2ab9d8=_0x215112[_0x215112[_0x589806(0x2da)]-0x1];typeof _0x2ab9d8=='function'&&_0x2ab9d8(_0x29ec7a);}}function _0x28c0da(_0x39670d,_0x34f980,_0x14c1fe){const _0x5e7f7d=_0x40aecb;_0x3404d6(_0x39670d,_0x34f980,_0x14c1fe),_0x39670d[_0x5e7f7d(0x2c5)](_0x34f980);}return Ee;}var xe,Ze;function It(){const _0x232c9b=_0x55fc25;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x55ec90,kListener:_0x389957}=H(),_0x59fedd=Symbol(_0x232c9b(0x29a)),_0x2fa79b=Symbol('kData'),_0xe99d24=Symbol(_0x232c9b(0x2d2)),_0x2d440c=Symbol(_0x232c9b(0x242)),_0xce99ad=Symbol(_0x232c9b(0x1e5)),_0x46e6a7=Symbol(_0x232c9b(0x260)),_0x202622=Symbol(_0x232c9b(0x386)),_0xc5c6ed=Symbol(_0x232c9b(0x363));class _0x20ce09{constructor(_0xc08c53){this[_0x46e6a7]=null,this[_0x202622]=_0xc08c53;}get[_0x232c9b(0x20d)](){return this[_0x46e6a7];}get[_0x232c9b(0x246)](){return this[_0x202622];}}Object[_0x232c9b(0x2c6)](_0x20ce09[_0x232c9b(0x317)],'target',{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x20ce09['prototype'],_0x232c9b(0x246),{'enumerable':!0x0});class _0x59ee77 extends _0x20ce09{constructor(_0x509e99,_0x5ee869={}){const _0x3f852e=_0x232c9b;super(_0x509e99),this[_0x59fedd]=_0x5ee869[_0x3f852e(0x2c4)]===void 0x0?0x0:_0x5ee869[_0x3f852e(0x2c4)],this[_0xce99ad]=_0x5ee869['reason']===void 0x0?'':_0x5ee869[_0x3f852e(0x361)],this[_0xc5c6ed]=_0x5ee869['wasClean']===void 0x0?!0x1:_0x5ee869[_0x3f852e(0x310)];}get[_0x232c9b(0x2c4)](){return this[_0x59fedd];}get[_0x232c9b(0x361)](){return this[_0xce99ad];}get[_0x232c9b(0x310)](){return this[_0xc5c6ed];}}Object[_0x232c9b(0x2c6)](_0x59ee77[_0x232c9b(0x317)],'code',{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x59ee77['prototype'],_0x232c9b(0x361),{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x59ee77[_0x232c9b(0x317)],_0x232c9b(0x310),{'enumerable':!0x0});class _0xee0575 extends _0x20ce09{constructor(_0x26883b,_0x152cb7={}){const _0x53fb2a=_0x232c9b;super(_0x26883b),this[_0xe99d24]=_0x152cb7[_0x53fb2a(0x1d9)]===void 0x0?null:_0x152cb7[_0x53fb2a(0x1d9)],this[_0x2d440c]=_0x152cb7['message']===void 0x0?'':_0x152cb7[_0x53fb2a(0x1f2)];}get[_0x232c9b(0x1d9)](){return this[_0xe99d24];}get['message'](){return this[_0x2d440c];}}Object[_0x232c9b(0x2c6)](_0xee0575['prototype'],_0x232c9b(0x1d9),{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0xee0575[_0x232c9b(0x317)],_0x232c9b(0x1f2),{'enumerable':!0x0});class _0x3d06f6 extends _0x20ce09{constructor(_0x4d161a,_0x36cc14={}){super(_0x4d161a),this[_0x2fa79b]=_0x36cc14['data']===void 0x0?null:_0x36cc14['data'];}get[_0x232c9b(0x212)](){return this[_0x2fa79b];}}Object['defineProperty'](_0x3d06f6['prototype'],_0x232c9b(0x212),{'enumerable':!0x0}),xe={'CloseEvent':_0x59ee77,'ErrorEvent':_0xee0575,'Event':_0x20ce09,'EventTarget':{'addEventListener'(_0x392890,_0x1f16a1,_0x313d6c={}){const _0x1b8627=_0x232c9b;for(const _0x2e1abf of this[_0x1b8627(0x250)](_0x392890))if(!_0x313d6c[_0x55ec90]&&_0x2e1abf[_0x389957]===_0x1f16a1&&!_0x2e1abf[_0x55ec90])return;let _0x61f5e;if(_0x392890===_0x1b8627(0x1f2))_0x61f5e=function(_0x58aaf0,_0x1cd91d){const _0x79559e=_0x1b8627,_0x61b7bd=new _0x3d06f6(_0x79559e(0x1f2),{'data':_0x1cd91d?_0x58aaf0:_0x58aaf0['toString']()});_0x61b7bd[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x61b7bd);};else{if(_0x392890===_0x1b8627(0x29b))_0x61f5e=function(_0x2653a6,_0x80046){const _0x5e1816=_0x1b8627,_0x5d9346=new _0x59ee77(_0x5e1816(0x29b),{'code':_0x2653a6,'reason':_0x80046['toString'](),'wasClean':this[_0x5e1816(0x268)]&&this[_0x5e1816(0x28e)]});_0x5d9346[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x5d9346);};else{if(_0x392890===_0x1b8627(0x1d9))_0x61f5e=function(_0x5c7312){const _0x2da4fe=_0x1b8627,_0x20e740=new _0xee0575(_0x2da4fe(0x1d9),{'error':_0x5c7312,'message':_0x5c7312[_0x2da4fe(0x1f2)]});_0x20e740[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x20e740);};else{if(_0x392890===_0x1b8627(0x2a5))_0x61f5e=function(){const _0x1b49ce=_0x1b8627,_0x17e19e=new _0x20ce09(_0x1b49ce(0x2a5));_0x17e19e[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x17e19e);};else return;}}}_0x61f5e[_0x55ec90]=!!_0x313d6c[_0x55ec90],_0x61f5e[_0x389957]=_0x1f16a1,_0x313d6c[_0x1b8627(0x32c)]?this[_0x1b8627(0x32c)](_0x392890,_0x61f5e):this['on'](_0x392890,_0x61f5e);},'removeEventListener'(_0x5a758a,_0x1a6c6f){const _0x4641b5=_0x232c9b;for(const _0x4be990 of this[_0x4641b5(0x250)](_0x5a758a))if(_0x4be990[_0x389957]===_0x1a6c6f&&!_0x4be990[_0x55ec90]){this['removeListener'](_0x5a758a,_0x4be990);break;}}},'MessageEvent':_0x3d06f6};function _0xd3b69e(_0x2d7c73,_0x11b339,_0x5b79cb){const _0x21344c=_0x232c9b;typeof _0x2d7c73==_0x21344c(0x2e0)&&_0x2d7c73[_0x21344c(0x22e)]?_0x2d7c73['handleEvent']['call'](_0x2d7c73,_0x5b79cb):_0x2d7c73[_0x21344c(0x20a)](_0x11b339,_0x5b79cb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x24617e}=ae();function _0x29cd35(_0x58c50a,_0x41bca6,_0x49ee35){const _0x59048e=_0x2311;_0x58c50a[_0x41bca6]===void 0x0?_0x58c50a[_0x41bca6]=[_0x49ee35]:_0x58c50a[_0x41bca6][_0x59048e(0x213)](_0x49ee35);}function _0x512ca7(_0x2477ee){const _0x1e1dcf=_0x2311,_0x20c3a6=Object[_0x1e1dcf(0x234)](null);let _0x5202ea=Object['create'](null),_0x3404eb=!0x1,_0xe70fa6=!0x1,_0x16b01c=!0x1,_0xca647f,_0x59260d,_0x1edbb6=-0x1,_0x5d41b9=-0x1,_0x8767c0=-0x1,_0x101e52=0x0;for(;_0x101e52<_0x2477ee[_0x1e1dcf(0x2da)];_0x101e52++)if(_0x5d41b9=_0x2477ee[_0x1e1dcf(0x370)](_0x101e52),_0xca647f===void 0x0){if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x101e52!==0x0&&(_0x5d41b9===0x20||_0x5d41b9===0x9))_0x8767c0===-0x1&&_0x1edbb6!==-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);const _0x46a79f=_0x2477ee['slice'](_0x1edbb6,_0x8767c0);_0x5d41b9===0x2c?(_0x29cd35(_0x20c3a6,_0x46a79f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null)):_0xca647f=_0x46a79f,_0x1edbb6=_0x8767c0=-0x1;}else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}else{if(_0x59260d===void 0x0){if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x5d41b9===0x20||_0x5d41b9===0x9)_0x8767c0===-0x1&&_0x1edbb6!==-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52),_0x29cd35(_0x5202ea,_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0),!0x0),_0x5d41b9===0x2c&&(_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null),_0xca647f=void 0x0),_0x1edbb6=_0x8767c0=-0x1;}else{if(_0x5d41b9===0x3d&&_0x1edbb6!==-0x1&&_0x8767c0===-0x1)_0x59260d=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x101e52),_0x1edbb6=_0x8767c0=-0x1;else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}}else{if(_0xe70fa6){if(_0x24617e[_0x5d41b9]!==0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x1edbb6===-0x1?_0x1edbb6=_0x101e52:_0x3404eb||(_0x3404eb=!0x0),_0xe70fa6=!0x1;}else{if(_0x16b01c){if(_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x5d41b9===0x22&&_0x1edbb6!==-0x1)_0x16b01c=!0x1,_0x8767c0=_0x101e52;else{if(_0x5d41b9===0x5c)_0xe70fa6=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x101e52);}}}else{if(_0x5d41b9===0x22&&_0x2477ee[_0x1e1dcf(0x370)](_0x101e52-0x1)===0x3d)_0x16b01c=!0x0;else{if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x1edbb6!==-0x1&&(_0x5d41b9===0x20||_0x5d41b9===0x9))_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);let _0x5a6c42=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0);_0x3404eb&&(_0x5a6c42=_0x5a6c42['replace'](/\\/g,''),_0x3404eb=!0x1),_0x29cd35(_0x5202ea,_0x59260d,_0x5a6c42),_0x5d41b9===0x2c&&(_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null),_0xca647f=void 0x0),_0x59260d=void 0x0,_0x1edbb6=_0x8767c0=-0x1;}else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}}}}}if(_0x1edbb6===-0x1||_0x16b01c||_0x5d41b9===0x20||_0x5d41b9===0x9)throw new SyntaxError(_0x1e1dcf(0x251));_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);const _0x529bd4=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0);return _0xca647f===void 0x0?_0x29cd35(_0x20c3a6,_0x529bd4,_0x5202ea):(_0x59260d===void 0x0?_0x29cd35(_0x5202ea,_0x529bd4,!0x0):_0x3404eb?_0x29cd35(_0x5202ea,_0x59260d,_0x529bd4['replace'](/\\/g,'')):_0x29cd35(_0x5202ea,_0x59260d,_0x529bd4),_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea)),_0x20c3a6;}function _0x22a5bd(_0x5a83e5){const _0x670819=_0x2311;return Object[_0x670819(0x2d4)](_0x5a83e5)[_0x670819(0x2d7)](_0x9594d8=>{const _0x2fc61a=_0x670819;let _0x5f1645=_0x5a83e5[_0x9594d8];return Array[_0x2fc61a(0x344)](_0x5f1645)||(_0x5f1645=[_0x5f1645]),_0x5f1645[_0x2fc61a(0x2d7)](_0x564768=>[_0x9594d8][_0x2fc61a(0x36d)](Object[_0x2fc61a(0x2d4)](_0x564768)['map'](_0x28abf5=>{const _0x1861ff=_0x2fc61a;let _0x5e2a12=_0x564768[_0x28abf5];return Array[_0x1861ff(0x344)](_0x5e2a12)||(_0x5e2a12=[_0x5e2a12]),_0x5e2a12[_0x1861ff(0x2d7)](_0x44506b=>_0x44506b===!0x0?_0x28abf5:_0x28abf5+'='+_0x44506b)['join'](';\x20');}))[_0x2fc61a(0x313)](';\x20'))[_0x2fc61a(0x313)](',\x20');})[_0x670819(0x313)](',\x20');}return be={'format':_0x22a5bd,'parse':_0x512ca7},be;}var we,Je;function Pe(){const _0x18db78=_0x55fc25;if(Je)return we;Je=0x1;const _0x4d458b=nt,_0x3f69a5=vt,_0x2bac90=ot,_0x4df21b=St,_0x104ad8=Et,{randomBytes:_0x291a12,createHash:_0x3095e2}=Le,{Duplex:_0x86a542,Readable:_0x545908}=oe,{URL:_0x48f472}=xt,_0x8ae134=he(),_0x441e7b=lt(),_0x15e59b=ft(),{isBlob:_0x531c45}=ae(),{BINARY_TYPES:_0x2a617b,EMPTY_BUFFER:_0x2e182,GUID:_0x5e4a13,kForOnEventAttribute:_0x1669e6,kListener:_0x3ec63a,kStatusCode:_0x2665bb,kWebSocket:_0x208dd9,NOOP:_0x1e0eca}=H(),{EventTarget:{addEventListener:_0x547854,removeEventListener:_0x499774}}=It(),{format:_0x4e9b86,parse:_0x469d5d}=ct(),{toBuffer:_0x4b799a}=ce(),_0x26f8f7=0x1e*0x3e8,_0x4d755c=Symbol('kAborted'),_0x3e7e41=[0x8,0xd],_0x3efdfd=['CONNECTING',_0x18db78(0x34e),_0x18db78(0x214),_0x18db78(0x360)],_0x22a41c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1d7c39 extends _0x4d458b{constructor(_0x34321b,_0x4dcfae,_0x30b143){const _0x18089d=_0x18db78;super(),this[_0x18089d(0x23e)]=_0x2a617b[0x0],this[_0x18089d(0x30b)]=0x3ee,this[_0x18089d(0x268)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x18089d(0x1d8)]=_0x2e182,this[_0x18089d(0x1df)]=null,this['_errorEmitted']=!0x1,this[_0x18089d(0x297)]={},this['_paused']=!0x1,this[_0x18089d(0x25a)]='',this[_0x18089d(0x285)]=_0x1d7c39['CONNECTING'],this[_0x18089d(0x1e2)]=null,this[_0x18089d(0x2cc)]=null,this['_socket']=null,_0x34321b!==null?(this['_bufferedAmount']=0x0,this[_0x18089d(0x24b)]=!0x1,this[_0x18089d(0x34b)]=0x0,_0x4dcfae===void 0x0?_0x4dcfae=[]:Array['isArray'](_0x4dcfae)||(typeof _0x4dcfae==_0x18089d(0x2e0)&&_0x4dcfae!==null?(_0x30b143=_0x4dcfae,_0x4dcfae=[]):_0x4dcfae=[_0x4dcfae]),_0xc776ef(this,_0x34321b,_0x4dcfae,_0x30b143)):(this[_0x18089d(0x33a)]=_0x30b143[_0x18089d(0x382)],this[_0x18089d(0x24b)]=!0x0);}get[_0x18db78(0x23d)](){const _0xd57f94=_0x18db78;return this[_0xd57f94(0x23e)];}set['binaryType'](_0x3c9a97){const _0x2314ec=_0x18db78;_0x2a617b[_0x2314ec(0x21b)](_0x3c9a97)&&(this['_binaryType']=_0x3c9a97,this['_receiver']&&(this[_0x2314ec(0x1e2)][_0x2314ec(0x23e)]=_0x3c9a97));}get['bufferedAmount'](){const _0x4259c2=_0x18db78;return this['_socket']?this[_0x4259c2(0x2bc)][_0x4259c2(0x2b1)][_0x4259c2(0x2da)]+this['_sender']['_bufferedBytes']:this[_0x4259c2(0x202)];}get[_0x18db78(0x256)](){const _0x1afa19=_0x18db78;return Object['keys'](this[_0x1afa19(0x297)])[_0x1afa19(0x313)]();}get[_0x18db78(0x25b)](){const _0x3bea50=_0x18db78;return this[_0x3bea50(0x267)];}get[_0x18db78(0x1c7)](){return null;}get[_0x18db78(0x2c5)](){return null;}get['onopen'](){return null;}get[_0x18db78(0x2cf)](){return null;}get[_0x18db78(0x365)](){const _0x1dbbb9=_0x18db78;return this[_0x1dbbb9(0x25a)];}get['readyState'](){const _0xe6d7f3=_0x18db78;return this[_0xe6d7f3(0x285)];}get['url'](){const _0x5871ce=_0x18db78;return this[_0x5871ce(0x351)];}[_0x18db78(0x36c)](_0x4b5336,_0x4a43a5,_0x3e643e){const _0x2287b8=_0x18db78,_0x3c50c5=new _0x441e7b({'allowSynchronousEvents':_0x3e643e[_0x2287b8(0x231)],'binaryType':this[_0x2287b8(0x23d)],'extensions':this[_0x2287b8(0x297)],'isServer':this[_0x2287b8(0x24b)],'maxPayload':_0x3e643e[_0x2287b8(0x304)],'skipUTF8Validation':_0x3e643e[_0x2287b8(0x332)]}),_0x35f4af=new _0x15e59b(_0x4b5336,this['_extensions'],_0x3e643e[_0x2287b8(0x1f5)]);this[_0x2287b8(0x1e2)]=_0x3c50c5,this[_0x2287b8(0x2cc)]=_0x35f4af,this[_0x2287b8(0x2bc)]=_0x4b5336,_0x3c50c5[_0x208dd9]=this,_0x35f4af[_0x208dd9]=this,_0x4b5336[_0x208dd9]=this,_0x3c50c5['on']('conclude',_0x1a1d86),_0x3c50c5['on'](_0x2287b8(0x2ee),_0x270402),_0x3c50c5['on'](_0x2287b8(0x1d9),_0x45b292),_0x3c50c5['on'](_0x2287b8(0x1f2),_0x15cbb8),_0x3c50c5['on'](_0x2287b8(0x24e),_0x196f48),_0x3c50c5['on'](_0x2287b8(0x279),_0x590f14),_0x35f4af[_0x2287b8(0x2c5)]=_0xc1fba9,_0x4b5336[_0x2287b8(0x218)]&&_0x4b5336[_0x2287b8(0x218)](0x0),_0x4b5336['setNoDelay']&&_0x4b5336[_0x2287b8(0x237)](),_0x4a43a5['length']>0x0&&_0x4b5336[_0x2287b8(0x32a)](_0x4a43a5),_0x4b5336['on']('close',_0x2ed12f),_0x4b5336['on'](_0x2287b8(0x212),_0x356345),_0x4b5336['on']('end',_0x5e5d53),_0x4b5336['on'](_0x2287b8(0x1d9),_0x2358ff),this[_0x2287b8(0x285)]=_0x1d7c39['OPEN'],this[_0x2287b8(0x20c)](_0x2287b8(0x2a5));}[_0x18db78(0x27d)](){const _0x30422e=_0x18db78;if(!this[_0x30422e(0x2bc)]){this[_0x30422e(0x285)]=_0x1d7c39[_0x30422e(0x360)],this['emit']('close',this[_0x30422e(0x30b)],this[_0x30422e(0x1d8)]);return;}this[_0x30422e(0x297)][_0x8ae134[_0x30422e(0x24c)]]&&this[_0x30422e(0x297)][_0x8ae134['extensionName']][_0x30422e(0x20b)](),this[_0x30422e(0x1e2)][_0x30422e(0x348)](),this['_readyState']=_0x1d7c39[_0x30422e(0x360)],this['emit'](_0x30422e(0x29b),this[_0x30422e(0x30b)],this[_0x30422e(0x1d8)]);}['close'](_0x188510,_0x53f498){const _0x5d411b=_0x18db78;if(this['readyState']!==_0x1d7c39[_0x5d411b(0x360)]){if(this['readyState']===_0x1d7c39[_0x5d411b(0x269)]){_0x335a87(this,this[_0x5d411b(0x34a)],_0x5d411b(0x29e));return;}if(this['readyState']===_0x1d7c39[_0x5d411b(0x214)]){this[_0x5d411b(0x28e)]&&(this['_closeFrameReceived']||this[_0x5d411b(0x1e2)][_0x5d411b(0x2b1)][_0x5d411b(0x33e)])&&this[_0x5d411b(0x2bc)][_0x5d411b(0x364)]();return;}this[_0x5d411b(0x285)]=_0x1d7c39[_0x5d411b(0x214)],this[_0x5d411b(0x2cc)][_0x5d411b(0x29b)](_0x188510,_0x53f498,!this[_0x5d411b(0x24b)],_0x102f7f=>{const _0x34ae4e=_0x5d411b;_0x102f7f||(this[_0x34ae4e(0x28e)]=!0x0,(this[_0x34ae4e(0x268)]||this[_0x34ae4e(0x1e2)][_0x34ae4e(0x2b1)][_0x34ae4e(0x33e)])&&this[_0x34ae4e(0x2bc)][_0x34ae4e(0x364)]());}),_0x1f72c4(this);}}[_0x18db78(0x331)](){const _0x1e2064=_0x18db78;this[_0x1e2064(0x312)]===_0x1d7c39[_0x1e2064(0x269)]||this['readyState']===_0x1d7c39['CLOSED']||(this[_0x1e2064(0x267)]=!0x0,this[_0x1e2064(0x2bc)][_0x1e2064(0x331)]());}['ping'](_0x1e4c86,_0x3a4f52,_0x222b59){const _0x4ed8a7=_0x18db78;if(this['readyState']===_0x1d7c39[_0x4ed8a7(0x269)])throw new Error(_0x4ed8a7(0x2fc));if(typeof _0x1e4c86=='function'?(_0x222b59=_0x1e4c86,_0x1e4c86=_0x3a4f52=void 0x0):typeof _0x3a4f52==_0x4ed8a7(0x29d)&&(_0x222b59=_0x3a4f52,_0x3a4f52=void 0x0),typeof _0x1e4c86==_0x4ed8a7(0x37f)&&(_0x1e4c86=_0x1e4c86[_0x4ed8a7(0x1d7)]()),this[_0x4ed8a7(0x312)]!==_0x1d7c39[_0x4ed8a7(0x34e)]){_0x5a589f(this,_0x1e4c86,_0x222b59);return;}_0x3a4f52===void 0x0&&(_0x3a4f52=!this[_0x4ed8a7(0x24b)]),this['_sender'][_0x4ed8a7(0x24e)](_0x1e4c86||_0x2e182,_0x3a4f52,_0x222b59);}[_0x18db78(0x279)](_0x511bab,_0x2f2ccf,_0x211626){const _0x1daae0=_0x18db78;if(this[_0x1daae0(0x312)]===_0x1d7c39[_0x1daae0(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x511bab=='function'?(_0x211626=_0x511bab,_0x511bab=_0x2f2ccf=void 0x0):typeof _0x2f2ccf==_0x1daae0(0x29d)&&(_0x211626=_0x2f2ccf,_0x2f2ccf=void 0x0),typeof _0x511bab=='number'&&(_0x511bab=_0x511bab[_0x1daae0(0x1d7)]()),this[_0x1daae0(0x312)]!==_0x1d7c39[_0x1daae0(0x34e)]){_0x5a589f(this,_0x511bab,_0x211626);return;}_0x2f2ccf===void 0x0&&(_0x2f2ccf=!this['_isServer']),this['_sender'][_0x1daae0(0x279)](_0x511bab||_0x2e182,_0x2f2ccf,_0x211626);}[_0x18db78(0x2a1)](){const _0x34b62a=_0x18db78;this[_0x34b62a(0x312)]===_0x1d7c39[_0x34b62a(0x269)]||this[_0x34b62a(0x312)]===_0x1d7c39['CLOSED']||(this[_0x34b62a(0x267)]=!0x1,this[_0x34b62a(0x1e2)]['_writableState']['needDrain']||this[_0x34b62a(0x2bc)]['resume']());}[_0x18db78(0x1db)](_0x279877,_0x24082d,_0x5f4654){const _0x5bdd07=_0x18db78;if(this[_0x5bdd07(0x312)]===_0x1d7c39[_0x5bdd07(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24082d=='function'&&(_0x5f4654=_0x24082d,_0x24082d={}),typeof _0x279877==_0x5bdd07(0x37f)&&(_0x279877=_0x279877[_0x5bdd07(0x1d7)]()),this[_0x5bdd07(0x312)]!==_0x1d7c39['OPEN']){_0x5a589f(this,_0x279877,_0x5f4654);return;}const _0x309ce8={'binary':typeof _0x279877!=_0x5bdd07(0x301),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x24082d};this[_0x5bdd07(0x297)][_0x8ae134['extensionName']]||(_0x309ce8[_0x5bdd07(0x26a)]=!0x1),this['_sender'][_0x5bdd07(0x1db)](_0x279877||_0x2e182,_0x309ce8,_0x5f4654);}[_0x18db78(0x2ed)](){const _0x376450=_0x18db78;if(this[_0x376450(0x312)]!==_0x1d7c39[_0x376450(0x360)]){if(this[_0x376450(0x312)]===_0x1d7c39[_0x376450(0x269)]){_0x335a87(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x376450(0x285)]=_0x1d7c39[_0x376450(0x214)],this[_0x376450(0x2bc)][_0x376450(0x355)]());}}}Object['defineProperty'](_0x1d7c39,_0x18db78(0x269),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x269))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x269),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x269))}),Object['defineProperty'](_0x1d7c39,_0x18db78(0x34e),{'enumerable':!0x0,'value':_0x3efdfd['indexOf'](_0x18db78(0x34e))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x34e),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x34e))}),Object[_0x18db78(0x2c6)](_0x1d7c39,'CLOSING',{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x214))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x214),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x214))}),Object[_0x18db78(0x2c6)](_0x1d7c39,_0x18db78(0x360),{'enumerable':!0x0,'value':_0x3efdfd['indexOf'](_0x18db78(0x360))}),Object['defineProperty'](_0x1d7c39['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x360))}),[_0x18db78(0x23d),_0x18db78(0x2fe),_0x18db78(0x256),_0x18db78(0x25b),'protocol',_0x18db78(0x312),'url'][_0x18db78(0x29f)](_0x4e1e78=>{const _0x59609b=_0x18db78;Object[_0x59609b(0x2c6)](_0x1d7c39[_0x59609b(0x317)],_0x4e1e78,{'enumerable':!0x0});}),[_0x18db78(0x2a5),_0x18db78(0x1d9),_0x18db78(0x29b),'message']['forEach'](_0x2d4f4c=>{const _0x26b509=_0x18db78;Object[_0x26b509(0x2c6)](_0x1d7c39[_0x26b509(0x317)],'on'+_0x2d4f4c,{'enumerable':!0x0,'get'(){const _0x1f72cf=_0x26b509;for(const _0x1cf73a of this[_0x1f72cf(0x250)](_0x2d4f4c))if(_0x1cf73a[_0x1669e6])return _0x1cf73a[_0x3ec63a];return null;},'set'(_0x39c234){const _0x3db8ea=_0x26b509;for(const _0x5dd6af of this['listeners'](_0x2d4f4c))if(_0x5dd6af[_0x1669e6]){this[_0x3db8ea(0x22d)](_0x2d4f4c,_0x5dd6af);break;}typeof _0x39c234==_0x3db8ea(0x29d)&&this[_0x3db8ea(0x350)](_0x2d4f4c,_0x39c234,{[_0x1669e6]:!0x0});}});}),_0x1d7c39['prototype'][_0x18db78(0x350)]=_0x547854,_0x1d7c39['prototype'][_0x18db78(0x309)]=_0x499774,we=_0x1d7c39;function _0xc776ef(_0x283b89,_0x2ded94,_0x2c2f10,_0x3e254c){const _0x110cdf=_0x18db78,_0x542152={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e7e41[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3e254c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x110cdf(0x1e9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x283b89[_0x110cdf(0x33a)]=_0x542152[_0x110cdf(0x382)],!_0x3e7e41[_0x110cdf(0x21b)](_0x542152[_0x110cdf(0x2c0)]))throw new RangeError(_0x110cdf(0x249)+_0x542152['protocolVersion']+_0x110cdf(0x369)+_0x3e7e41[_0x110cdf(0x313)](',\x20')+')');let _0x16a589;if(_0x2ded94 instanceof _0x48f472)_0x16a589=_0x2ded94;else try{_0x16a589=new _0x48f472(_0x2ded94);}catch{throw new SyntaxError(_0x110cdf(0x35a)+_0x2ded94);}_0x16a589[_0x110cdf(0x365)]==='http:'?_0x16a589[_0x110cdf(0x365)]=_0x110cdf(0x244):_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x2ad)&&(_0x16a589[_0x110cdf(0x365)]=_0x110cdf(0x230)),_0x283b89[_0x110cdf(0x351)]=_0x16a589['href'];const _0x2c401f=_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x230),_0xdcf8a2=_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x1ee);let _0x4fac42;if(_0x16a589[_0x110cdf(0x365)]!==_0x110cdf(0x244)&&!_0x2c401f&&!_0xdcf8a2?_0x4fac42=_0x110cdf(0x306):_0xdcf8a2&&!_0x16a589[_0x110cdf(0x2f0)]?_0x4fac42='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x16a589['hash']&&(_0x4fac42=_0x110cdf(0x2d8)),_0x4fac42){const _0x11409b=new SyntaxError(_0x4fac42);if(_0x283b89['_redirects']===0x0)throw _0x11409b;_0x4a348b(_0x283b89,_0x11409b);return;}const _0x57117c=_0x2c401f?0x1bb:0x50,_0x11f28e=_0x291a12(0x10)['toString'](_0x110cdf(0x217)),_0x3033ed=_0x2c401f?_0x3f69a5[_0x110cdf(0x2b9)]:_0x2bac90[_0x110cdf(0x2b9)],_0x175445=new Set();let _0x49f929;if(_0x542152[_0x110cdf(0x302)]=_0x542152['createConnection']||(_0x2c401f?_0x59b3ab:_0x51c51b),_0x542152[_0x110cdf(0x345)]=_0x542152['defaultPort']||_0x57117c,_0x542152[_0x110cdf(0x1de)]=_0x16a589[_0x110cdf(0x1de)]||_0x57117c,_0x542152[_0x110cdf(0x21d)]=_0x16a589[_0x110cdf(0x2d3)][_0x110cdf(0x30c)]('[')?_0x16a589[_0x110cdf(0x2d3)][_0x110cdf(0x2f5)](0x1,-0x1):_0x16a589['hostname'],_0x542152[_0x110cdf(0x28f)]={..._0x542152[_0x110cdf(0x28f)],'Sec-WebSocket-Version':_0x542152[_0x110cdf(0x2c0)],'Sec-WebSocket-Key':_0x11f28e,'Connection':_0x110cdf(0x2f4),'Upgrade':_0x110cdf(0x201)},_0x542152[_0x110cdf(0x2b2)]=_0x16a589[_0x110cdf(0x2f0)]+_0x16a589[_0x110cdf(0x356)],_0x542152['timeout']=_0x542152[_0x110cdf(0x368)],_0x542152['perMessageDeflate']&&(_0x49f929=new _0x8ae134(_0x542152[_0x110cdf(0x314)]!==!0x0?_0x542152[_0x110cdf(0x314)]:{},!0x1,_0x542152[_0x110cdf(0x304)]),_0x542152[_0x110cdf(0x28f)][_0x110cdf(0x227)]=_0x4e9b86({[_0x8ae134[_0x110cdf(0x24c)]]:_0x49f929['offer']()})),_0x2c2f10[_0x110cdf(0x2da)]){for(const _0x205277 of _0x2c2f10){if(typeof _0x205277!=_0x110cdf(0x301)||!_0x22a41c[_0x110cdf(0x2ae)](_0x205277)||_0x175445[_0x110cdf(0x330)](_0x205277))throw new SyntaxError(_0x110cdf(0x1ff));_0x175445[_0x110cdf(0x1e8)](_0x205277);}_0x542152[_0x110cdf(0x28f)]['Sec-WebSocket-Protocol']=_0x2c2f10['join'](',');}if(_0x542152['origin']&&(_0x542152['protocolVersion']<0xd?_0x542152[_0x110cdf(0x28f)][_0x110cdf(0x307)]=_0x542152['origin']:_0x542152['headers'][_0x110cdf(0x2ca)]=_0x542152[_0x110cdf(0x2be)]),(_0x16a589[_0x110cdf(0x2ce)]||_0x16a589['password'])&&(_0x542152[_0x110cdf(0x1f6)]=_0x16a589[_0x110cdf(0x2ce)]+':'+_0x16a589[_0x110cdf(0x27e)]),_0xdcf8a2){const _0x34393d=_0x542152[_0x110cdf(0x2b2)]['split'](':');_0x542152[_0x110cdf(0x30a)]=_0x34393d[0x0],_0x542152[_0x110cdf(0x2b2)]=_0x34393d[0x1];}let _0x442621;if(_0x542152['followRedirects']){if(_0x283b89[_0x110cdf(0x34b)]===0x0){_0x283b89[_0x110cdf(0x25f)]=_0xdcf8a2,_0x283b89[_0x110cdf(0x33f)]=_0x2c401f,_0x283b89['_originalHostOrSocketPath']=_0xdcf8a2?_0x542152[_0x110cdf(0x30a)]:_0x16a589[_0x110cdf(0x21d)];const _0x970d7=_0x3e254c&&_0x3e254c[_0x110cdf(0x28f)];if(_0x3e254c={..._0x3e254c,'headers':{}},_0x970d7){for(const [_0x1a8322,_0xcc75d4]of Object[_0x110cdf(0x26e)](_0x970d7))_0x3e254c['headers'][_0x1a8322[_0x110cdf(0x1cd)]()]=_0xcc75d4;}}else{if(_0x283b89['listenerCount']('redirect')===0x0){const _0x2af087=_0xdcf8a2?_0x283b89[_0x110cdf(0x25f)]?_0x542152[_0x110cdf(0x30a)]===_0x283b89[_0x110cdf(0x241)]:!0x1:_0x283b89[_0x110cdf(0x25f)]?!0x1:_0x16a589[_0x110cdf(0x21d)]===_0x283b89[_0x110cdf(0x241)];(!_0x2af087||_0x283b89[_0x110cdf(0x33f)]&&!_0x2c401f)&&(delete _0x542152[_0x110cdf(0x28f)]['authorization'],delete _0x542152[_0x110cdf(0x28f)][_0x110cdf(0x281)],_0x2af087||delete _0x542152[_0x110cdf(0x28f)][_0x110cdf(0x21d)],_0x542152['auth']=void 0x0);}}_0x542152[_0x110cdf(0x1f6)]&&!_0x3e254c[_0x110cdf(0x28f)][_0x110cdf(0x2bf)]&&(_0x3e254c['headers'][_0x110cdf(0x2bf)]=_0x110cdf(0x276)+Buffer[_0x110cdf(0x2b8)](_0x542152[_0x110cdf(0x1f6)])['toString'](_0x110cdf(0x217))),_0x442621=_0x283b89[_0x110cdf(0x34a)]=_0x3033ed(_0x542152),_0x283b89['_redirects']&&_0x283b89['emit'](_0x110cdf(0x322),_0x283b89[_0x110cdf(0x21e)],_0x442621);}else _0x442621=_0x283b89[_0x110cdf(0x34a)]=_0x3033ed(_0x542152);_0x542152[_0x110cdf(0x282)]&&_0x442621['on'](_0x110cdf(0x282),()=>{const _0x4b22b9=_0x110cdf;_0x335a87(_0x283b89,_0x442621,_0x4b22b9(0x35b));}),_0x442621['on'](_0x110cdf(0x1d9),_0x30a07b=>{const _0x4403dc=_0x110cdf;_0x442621===null||_0x442621[_0x4d755c]||(_0x442621=_0x283b89[_0x4403dc(0x34a)]=null,_0x4a348b(_0x283b89,_0x30a07b));}),_0x442621['on'](_0x110cdf(0x238),_0x3e71de=>{const _0x5a86ee=_0x110cdf,_0x6f73dc=_0x3e71de[_0x5a86ee(0x28f)][_0x5a86ee(0x28c)],_0x56e7a=_0x3e71de['statusCode'];if(_0x6f73dc&&_0x542152[_0x5a86ee(0x2c1)]&&_0x56e7a>=0x12c&&_0x56e7a<0x190){if(++_0x283b89[_0x5a86ee(0x34b)]>_0x542152[_0x5a86ee(0x2e5)]){_0x335a87(_0x283b89,_0x442621,_0x5a86ee(0x384));return;}_0x442621[_0x5a86ee(0x367)]();let _0x3d910b;try{_0x3d910b=new _0x48f472(_0x6f73dc,_0x2ded94);}catch{const _0x1fb4c6=new SyntaxError(_0x5a86ee(0x35a)+_0x6f73dc);_0x4a348b(_0x283b89,_0x1fb4c6);return;}_0xc776ef(_0x283b89,_0x3d910b,_0x2c2f10,_0x3e254c);}else _0x283b89[_0x5a86ee(0x20c)](_0x5a86ee(0x2db),_0x442621,_0x3e71de)||_0x335a87(_0x283b89,_0x442621,_0x5a86ee(0x33c)+_0x3e71de[_0x5a86ee(0x1c6)]);}),_0x442621['on'](_0x110cdf(0x37b),(_0xc9f215,_0x44e16a,_0x1cd7e6)=>{const _0x8a71f7=_0x110cdf;if(_0x283b89[_0x8a71f7(0x20c)](_0x8a71f7(0x37b),_0xc9f215),_0x283b89['readyState']!==_0x1d7c39[_0x8a71f7(0x269)])return;_0x442621=_0x283b89[_0x8a71f7(0x34a)]=null;const _0x5692d0=_0xc9f215[_0x8a71f7(0x28f)][_0x8a71f7(0x37b)];if(_0x5692d0===void 0x0||_0x5692d0['toLowerCase']()!==_0x8a71f7(0x201)){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x358));return;}const _0x4e19f7=_0x3095e2(_0x8a71f7(0x1ec))[_0x8a71f7(0x33b)](_0x11f28e+_0x5e4a13)[_0x8a71f7(0x2bb)](_0x8a71f7(0x217));if(_0xc9f215[_0x8a71f7(0x28f)][_0x8a71f7(0x2ef)]!==_0x4e19f7){_0x335a87(_0x283b89,_0x44e16a,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x21a010=_0xc9f215['headers'][_0x8a71f7(0x35e)];let _0x40965c;if(_0x21a010!==void 0x0?_0x175445[_0x8a71f7(0x215)]?_0x175445[_0x8a71f7(0x330)](_0x21a010)||(_0x40965c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x40965c=_0x8a71f7(0x32b):_0x175445[_0x8a71f7(0x215)]&&(_0x40965c=_0x8a71f7(0x298)),_0x40965c){_0x335a87(_0x283b89,_0x44e16a,_0x40965c);return;}_0x21a010&&(_0x283b89[_0x8a71f7(0x25a)]=_0x21a010);const _0x5b30c9=_0xc9f215['headers'][_0x8a71f7(0x263)];if(_0x5b30c9!==void 0x0){if(!_0x49f929){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x24d));return;}let _0x8f74c4;try{_0x8f74c4=_0x469d5d(_0x5b30c9);}catch{_0x335a87(_0x283b89,_0x44e16a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x328a4c=Object['keys'](_0x8f74c4);if(_0x328a4c[_0x8a71f7(0x2da)]!==0x1||_0x328a4c[0x0]!==_0x8ae134['extensionName']){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x36b));return;}try{_0x49f929['accept'](_0x8f74c4[_0x8ae134['extensionName']]);}catch{_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x22b));return;}_0x283b89[_0x8a71f7(0x297)][_0x8ae134['extensionName']]=_0x49f929;}_0x283b89[_0x8a71f7(0x36c)](_0x44e16a,_0x1cd7e6,{'allowSynchronousEvents':_0x542152[_0x8a71f7(0x231)],'generateMask':_0x542152[_0x8a71f7(0x1f5)],'maxPayload':_0x542152[_0x8a71f7(0x304)],'skipUTF8Validation':_0x542152['skipUTF8Validation']});}),_0x542152['finishRequest']?_0x542152['finishRequest'](_0x442621,_0x283b89):_0x442621[_0x110cdf(0x364)]();}function _0x4a348b(_0x423ace,_0x25272b){const _0x56060d=_0x18db78;_0x423ace[_0x56060d(0x285)]=_0x1d7c39['CLOSING'],_0x423ace['_errorEmitted']=!0x0,_0x423ace['emit']('error',_0x25272b),_0x423ace[_0x56060d(0x27d)]();}function _0x51c51b(_0x57992e){const _0x1e2f8a=_0x18db78;return _0x57992e[_0x1e2f8a(0x2b2)]=_0x57992e['socketPath'],_0x4df21b[_0x1e2f8a(0x1c8)](_0x57992e);}function _0x59b3ab(_0x1336a7){const _0x7a3377=_0x18db78;return _0x1336a7['path']=void 0x0,!_0x1336a7[_0x7a3377(0x258)]&&_0x1336a7[_0x7a3377(0x258)]!==''&&(_0x1336a7['servername']=_0x4df21b[_0x7a3377(0x29c)](_0x1336a7[_0x7a3377(0x21d)])?'':_0x1336a7[_0x7a3377(0x21d)]),_0x104ad8[_0x7a3377(0x1c8)](_0x1336a7);}function _0x335a87(_0x57ee93,_0x8e291b,_0x1f2c7c){const _0x4dd637=_0x18db78;_0x57ee93[_0x4dd637(0x285)]=_0x1d7c39[_0x4dd637(0x214)];const _0x50342e=new Error(_0x1f2c7c);Error[_0x4dd637(0x36a)](_0x50342e,_0x335a87),_0x8e291b['setHeader']?(_0x8e291b[_0x4d755c]=!0x0,_0x8e291b[_0x4dd637(0x367)](),_0x8e291b[_0x4dd637(0x2a7)]&&!_0x8e291b[_0x4dd637(0x2a7)][_0x4dd637(0x20f)]&&_0x8e291b['socket']['destroy'](),process['nextTick'](_0x4a348b,_0x57ee93,_0x50342e)):(_0x8e291b['destroy'](_0x50342e),_0x8e291b['once'](_0x4dd637(0x1d9),_0x57ee93[_0x4dd637(0x20c)][_0x4dd637(0x2d0)](_0x57ee93,_0x4dd637(0x1d9))),_0x8e291b['once'](_0x4dd637(0x29b),_0x57ee93[_0x4dd637(0x27d)][_0x4dd637(0x2d0)](_0x57ee93)));}function _0x5a589f(_0x548232,_0x300ebd,_0x1c8b36){const _0x3d7167=_0x18db78;if(_0x300ebd){const _0x5781c0=_0x531c45(_0x300ebd)?_0x300ebd[_0x3d7167(0x215)]:_0x4b799a(_0x300ebd)['length'];_0x548232[_0x3d7167(0x2bc)]?_0x548232['_sender']['_bufferedBytes']+=_0x5781c0:_0x548232[_0x3d7167(0x202)]+=_0x5781c0;}if(_0x1c8b36){const _0xef1e1=new Error(_0x3d7167(0x26c)+_0x548232[_0x3d7167(0x312)]+'\x20('+_0x3efdfd[_0x548232[_0x3d7167(0x312)]]+')');process[_0x3d7167(0x25c)](_0x1c8b36,_0xef1e1);}}function _0x1a1d86(_0x16fd80,_0x417bf7){const _0x1f3afd=_0x18db78,_0x3ff0ca=this[_0x208dd9];_0x3ff0ca[_0x1f3afd(0x268)]=!0x0,_0x3ff0ca[_0x1f3afd(0x1d8)]=_0x417bf7,_0x3ff0ca[_0x1f3afd(0x30b)]=_0x16fd80,_0x3ff0ca[_0x1f3afd(0x2bc)][_0x208dd9]!==void 0x0&&(_0x3ff0ca[_0x1f3afd(0x2bc)]['removeListener'](_0x1f3afd(0x212),_0x356345),process[_0x1f3afd(0x25c)](_0x23468b,_0x3ff0ca[_0x1f3afd(0x2bc)]),_0x16fd80===0x3ed?_0x3ff0ca[_0x1f3afd(0x29b)]():_0x3ff0ca[_0x1f3afd(0x29b)](_0x16fd80,_0x417bf7));}function _0x270402(){const _0x44d773=_0x18db78,_0x40c2f7=this[_0x208dd9];_0x40c2f7['isPaused']||_0x40c2f7[_0x44d773(0x2bc)][_0x44d773(0x2a1)]();}function _0x45b292(_0x26da54){const _0x60a7aa=_0x18db78,_0x5bc43e=this[_0x208dd9];_0x5bc43e[_0x60a7aa(0x2bc)][_0x208dd9]!==void 0x0&&(_0x5bc43e[_0x60a7aa(0x2bc)][_0x60a7aa(0x22d)]('data',_0x356345),process[_0x60a7aa(0x25c)](_0x23468b,_0x5bc43e[_0x60a7aa(0x2bc)]),_0x5bc43e[_0x60a7aa(0x29b)](_0x26da54[_0x2665bb])),_0x5bc43e[_0x60a7aa(0x347)]||(_0x5bc43e[_0x60a7aa(0x347)]=!0x0,_0x5bc43e[_0x60a7aa(0x20c)](_0x60a7aa(0x1d9),_0x26da54));}function _0x1d41f3(){this[_0x208dd9]['emitClose']();}function _0x15cbb8(_0x27d089,_0x5d2206){const _0x27c87d=_0x18db78;this[_0x208dd9][_0x27c87d(0x20c)]('message',_0x27d089,_0x5d2206);}function _0x196f48(_0x24de0b){const _0x115b80=_0x18db78,_0x20763e=this[_0x208dd9];_0x20763e[_0x115b80(0x33a)]&&_0x20763e[_0x115b80(0x279)](_0x24de0b,!this[_0x115b80(0x24b)],_0x1e0eca),_0x20763e[_0x115b80(0x20c)](_0x115b80(0x24e),_0x24de0b);}function _0x590f14(_0x237b1d){this[_0x208dd9]['emit']('pong',_0x237b1d);}function _0x23468b(_0x2672a3){_0x2672a3['resume']();}function _0xc1fba9(_0x5caec8){const _0x17c975=_0x18db78,_0xd2a791=this[_0x208dd9];_0xd2a791[_0x17c975(0x312)]!==_0x1d7c39[_0x17c975(0x360)]&&(_0xd2a791['readyState']===_0x1d7c39[_0x17c975(0x34e)]&&(_0xd2a791['_readyState']=_0x1d7c39['CLOSING'],_0x1f72c4(_0xd2a791)),this[_0x17c975(0x2bc)][_0x17c975(0x364)](),_0xd2a791['_errorEmitted']||(_0xd2a791['_errorEmitted']=!0x0,_0xd2a791[_0x17c975(0x20c)](_0x17c975(0x1d9),_0x5caec8)));}function _0x1f72c4(_0x7e316e){const _0x27d0b6=_0x18db78;_0x7e316e[_0x27d0b6(0x1df)]=setTimeout(_0x7e316e[_0x27d0b6(0x2bc)][_0x27d0b6(0x355)][_0x27d0b6(0x2d0)](_0x7e316e[_0x27d0b6(0x2bc)]),_0x26f8f7);}function _0x2ed12f(){const _0x256db4=_0x18db78,_0x547e09=this[_0x208dd9];this[_0x256db4(0x22d)](_0x256db4(0x29b),_0x2ed12f),this['removeListener'](_0x256db4(0x212),_0x356345),this[_0x256db4(0x22d)](_0x256db4(0x364),_0x5e5d53),_0x547e09[_0x256db4(0x285)]=_0x1d7c39['CLOSING'];let _0x498634;!this['_readableState']['endEmitted']&&!_0x547e09[_0x256db4(0x268)]&&!_0x547e09[_0x256db4(0x1e2)][_0x256db4(0x2b1)]['errorEmitted']&&(_0x498634=_0x547e09[_0x256db4(0x2bc)][_0x256db4(0x2fb)]())!==null&&_0x547e09[_0x256db4(0x1e2)]['write'](_0x498634),_0x547e09[_0x256db4(0x1e2)][_0x256db4(0x364)](),this[_0x208dd9]=void 0x0,clearTimeout(_0x547e09['_closeTimer']),_0x547e09['_receiver'][_0x256db4(0x2b1)][_0x256db4(0x211)]||_0x547e09[_0x256db4(0x1e2)]['_writableState']['errorEmitted']?_0x547e09[_0x256db4(0x27d)]():(_0x547e09[_0x256db4(0x1e2)]['on']('error',_0x1d41f3),_0x547e09[_0x256db4(0x1e2)]['on']('finish',_0x1d41f3));}function _0x356345(_0x560fc4){const _0x37f628=_0x18db78;this[_0x208dd9]['_receiver']['write'](_0x560fc4)||this[_0x37f628(0x331)]();}function _0x5e5d53(){const _0x41f1fe=_0x18db78,_0x36a556=this[_0x208dd9];_0x36a556[_0x41f1fe(0x285)]=_0x1d7c39[_0x41f1fe(0x214)],_0x36a556['_receiver'][_0x41f1fe(0x364)](),this[_0x41f1fe(0x364)]();}function _0x2358ff(){const _0x3eaf54=_0x18db78,_0x2ba331=this[_0x208dd9];this['removeListener'](_0x3eaf54(0x1d9),_0x2358ff),this['on'](_0x3eaf54(0x1d9),_0x1e0eca),_0x2ba331&&(_0x2ba331[_0x3eaf54(0x285)]=_0x1d7c39[_0x3eaf54(0x214)],this[_0x3eaf54(0x355)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x15da30}=oe;function _0x2766b4(_0x2545ae){const _0x54cd24=_0x2311;_0x2545ae['emit'](_0x54cd24(0x29b));}function _0x39ac17(){const _0x40f07d=_0x2311;!this['destroyed']&&this[_0x40f07d(0x2b1)][_0x40f07d(0x211)]&&this[_0x40f07d(0x355)]();}function _0x3caacc(_0x3b95ca){const _0x127b37=_0x2311;this['removeListener']('error',_0x3caacc),this[_0x127b37(0x355)](),this[_0x127b37(0x245)](_0x127b37(0x1d9))===0x0&&this[_0x127b37(0x20c)](_0x127b37(0x1d9),_0x3b95ca);}function _0xaf9afe(_0x238c63,_0x1a01d1){const _0x1a47e3=_0x2311;let _0x194f45=!0x0;const _0x767818=new _0x15da30({..._0x1a01d1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x238c63['on']('message',function(_0x395c74,_0x2da9f0){const _0x2239d0=_0x2311,_0x2dc42d=!_0x2da9f0&&_0x767818[_0x2239d0(0x31b)]['objectMode']?_0x395c74['toString']():_0x395c74;_0x767818[_0x2239d0(0x213)](_0x2dc42d)||_0x238c63[_0x2239d0(0x331)]();}),_0x238c63['once'](_0x1a47e3(0x1d9),function(_0x280208){const _0x5376c4=_0x1a47e3;_0x767818[_0x5376c4(0x20f)]||(_0x194f45=!0x1,_0x767818['destroy'](_0x280208));}),_0x238c63[_0x1a47e3(0x32c)](_0x1a47e3(0x29b),function(){const _0x4b9743=_0x1a47e3;_0x767818[_0x4b9743(0x20f)]||_0x767818[_0x4b9743(0x213)](null);}),_0x767818[_0x1a47e3(0x359)]=function(_0x592761,_0x19e941){const _0x139bbe=_0x1a47e3;if(_0x238c63['readyState']===_0x238c63[_0x139bbe(0x360)]){_0x19e941(_0x592761),process[_0x139bbe(0x25c)](_0x2766b4,_0x767818);return;}let _0x3b2202=!0x1;_0x238c63['once']('error',function(_0x128a48){_0x3b2202=!0x0,_0x19e941(_0x128a48);}),_0x238c63[_0x139bbe(0x32c)](_0x139bbe(0x29b),function(){const _0x23dcca=_0x139bbe;_0x3b2202||_0x19e941(_0x592761),process[_0x23dcca(0x25c)](_0x2766b4,_0x767818);}),_0x194f45&&_0x238c63[_0x139bbe(0x2ed)]();},_0x767818[_0x1a47e3(0x233)]=function(_0x5244fb){const _0x1124d1=_0x1a47e3;if(_0x238c63['readyState']===_0x238c63[_0x1124d1(0x269)]){_0x238c63[_0x1124d1(0x32c)](_0x1124d1(0x2a5),function(){const _0x204ff3=_0x1124d1;_0x767818[_0x204ff3(0x233)](_0x5244fb);});return;}_0x238c63[_0x1124d1(0x2bc)]!==null&&(_0x238c63[_0x1124d1(0x2bc)]['_writableState'][_0x1124d1(0x211)]?(_0x5244fb(),_0x767818[_0x1124d1(0x31b)]['endEmitted']&&_0x767818[_0x1124d1(0x355)]()):(_0x238c63['_socket'][_0x1124d1(0x32c)](_0x1124d1(0x374),function(){_0x5244fb();}),_0x238c63[_0x1124d1(0x29b)]()));},_0x767818[_0x1a47e3(0x340)]=function(){const _0x4a912f=_0x1a47e3;_0x238c63[_0x4a912f(0x25b)]&&_0x238c63[_0x4a912f(0x2a1)]();},_0x767818['_write']=function(_0x180dc6,_0xd92dbf,_0xfba150){const _0x26becb=_0x1a47e3;if(_0x238c63[_0x26becb(0x312)]===_0x238c63['CONNECTING']){_0x238c63[_0x26becb(0x32c)](_0x26becb(0x2a5),function(){const _0x543d54=_0x26becb;_0x767818[_0x543d54(0x1cf)](_0x180dc6,_0xd92dbf,_0xfba150);});return;}_0x238c63[_0x26becb(0x1db)](_0x180dc6,_0xfba150);},_0x767818['on'](_0x1a47e3(0x364),_0x39ac17),_0x767818['on'](_0x1a47e3(0x1d9),_0x3caacc),_0x767818;}return Oe=_0xaf9afe,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x11f54f}=ae();function _0x1fef51(_0xcbfde2){const _0x4897c4=_0x2311,_0x30bc98=new Set();let _0x56c75b=-0x1,_0x97d0c=-0x1,_0x55901b=0x0;for(_0x55901b;_0x55901b<_0xcbfde2[_0x4897c4(0x2da)];_0x55901b++){const _0x157b2e=_0xcbfde2[_0x4897c4(0x370)](_0x55901b);if(_0x97d0c===-0x1&&_0x11f54f[_0x157b2e]===0x1)_0x56c75b===-0x1&&(_0x56c75b=_0x55901b);else{if(_0x55901b!==0x0&&(_0x157b2e===0x20||_0x157b2e===0x9))_0x97d0c===-0x1&&_0x56c75b!==-0x1&&(_0x97d0c=_0x55901b);else{if(_0x157b2e===0x2c){if(_0x56c75b===-0x1)throw new SyntaxError(_0x4897c4(0x240)+_0x55901b);_0x97d0c===-0x1&&(_0x97d0c=_0x55901b);const _0x3c3d07=_0xcbfde2['slice'](_0x56c75b,_0x97d0c);if(_0x30bc98[_0x4897c4(0x330)](_0x3c3d07))throw new SyntaxError('The\x20\x22'+_0x3c3d07+'\x22\x20subprotocol\x20is\x20duplicated');_0x30bc98[_0x4897c4(0x1e8)](_0x3c3d07),_0x56c75b=_0x97d0c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55901b);}}}if(_0x56c75b===-0x1||_0x97d0c!==-0x1)throw new SyntaxError(_0x4897c4(0x251));const _0x52cce2=_0xcbfde2['slice'](_0x56c75b,_0x55901b);if(_0x30bc98[_0x4897c4(0x330)](_0x52cce2))throw new SyntaxError('The\x20\x22'+_0x52cce2+_0x4897c4(0x273));return _0x30bc98[_0x4897c4(0x1e8)](_0x52cce2),_0x30bc98;}return Ce={'parse':_0x1fef51},Ce;}var Te,rt;function Ft(){const _0x45b68d=_0x55fc25;if(rt)return Te;rt=0x1;const _0x15db34=nt,_0x3221bc=ot,{Duplex:_0x2627d8}=oe,{createHash:_0x4b64b2}=Le,_0x19eeca=ct(),_0x681274=he(),_0x40db46=At(),_0x22967f=Pe(),{GUID:_0x50aa61,kWebSocket:_0xa1affb}=H(),_0x5f2dcb=/^[+/0-9A-Za-z]{22}==$/,_0x4776cf=0x0,_0x3c53c5=0x1,_0xa30e7b=0x2;class _0x48aa96 extends _0x15db34{constructor(_0x39949,_0x488042){const _0x54957a=_0x2311;if(super(),_0x39949={'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':_0x22967f,..._0x39949},_0x39949['port']==null&&!_0x39949['server']&&!_0x39949[_0x54957a(0x232)]||_0x39949['port']!=null&&(_0x39949['server']||_0x39949['noServer'])||_0x39949['server']&&_0x39949[_0x54957a(0x232)])throw new TypeError(_0x54957a(0x1f0));if(_0x39949[_0x54957a(0x1de)]!=null?(this['_server']=_0x3221bc[_0x54957a(0x275)]((_0x5e2f9d,_0x5a119c)=>{const _0x21bcd9=_0x54957a,_0x408489=_0x3221bc[_0x21bcd9(0x21f)][0x1aa];_0x5a119c[_0x21bcd9(0x255)](0x1aa,{'Content-Length':_0x408489['length'],'Content-Type':'text/plain'}),_0x5a119c[_0x21bcd9(0x364)](_0x408489);}),this[_0x54957a(0x2e1)]['listen'](_0x39949[_0x54957a(0x1de)],_0x39949[_0x54957a(0x21d)],_0x39949[_0x54957a(0x27b)],_0x488042)):_0x39949[_0x54957a(0x229)]&&(this[_0x54957a(0x2e1)]=_0x39949[_0x54957a(0x229)]),this[_0x54957a(0x2e1)]){const _0x1fa34f=this[_0x54957a(0x20c)]['bind'](this,_0x54957a(0x225));this['_removeListeners']=_0x5cdc57(this[_0x54957a(0x2e1)],{'listening':this['emit'][_0x54957a(0x2d0)](this,_0x54957a(0x2e6)),'error':this['emit'][_0x54957a(0x2d0)](this,'error'),'upgrade':(_0x2dd07c,_0x2af9f9,_0xf783ee)=>{this['handleUpgrade'](_0x2dd07c,_0x2af9f9,_0xf783ee,_0x1fa34f);}});}_0x39949[_0x54957a(0x314)]===!0x0&&(_0x39949[_0x54957a(0x314)]={}),_0x39949[_0x54957a(0x257)]&&(this[_0x54957a(0x349)]=new Set(),this[_0x54957a(0x333)]=!0x1),this[_0x54957a(0x1fc)]=_0x39949,this['_state']=_0x4776cf;}[_0x45b68d(0x1d5)](){const _0x387e0c=_0x45b68d;if(this[_0x387e0c(0x1fc)][_0x387e0c(0x232)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x387e0c(0x2e1)]?this['_server'][_0x387e0c(0x1d5)]():null;}[_0x45b68d(0x29b)](_0x3d88f7){const _0x29e8fd=_0x45b68d;if(this[_0x29e8fd(0x381)]===_0xa30e7b){_0x3d88f7&&this[_0x29e8fd(0x32c)](_0x29e8fd(0x29b),()=>{_0x3d88f7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x29e8fd(0x25c)](_0x5013a4,this);return;}if(_0x3d88f7&&this[_0x29e8fd(0x32c)](_0x29e8fd(0x29b),_0x3d88f7),this['_state']!==_0x3c53c5){if(this[_0x29e8fd(0x381)]=_0x3c53c5,this[_0x29e8fd(0x1fc)][_0x29e8fd(0x232)]||this[_0x29e8fd(0x1fc)][_0x29e8fd(0x229)])this['_server']&&(this['_removeListeners'](),this[_0x29e8fd(0x346)]=this[_0x29e8fd(0x2e1)]=null),this[_0x29e8fd(0x349)]?this[_0x29e8fd(0x349)][_0x29e8fd(0x215)]?this[_0x29e8fd(0x333)]=!0x0:process['nextTick'](_0x5013a4,this):process[_0x29e8fd(0x25c)](_0x5013a4,this);else{const _0x5bce7c=this[_0x29e8fd(0x2e1)];this[_0x29e8fd(0x346)](),this[_0x29e8fd(0x346)]=this['_server']=null,_0x5bce7c[_0x29e8fd(0x29b)](()=>{_0x5013a4(this);});}}}[_0x45b68d(0x2d6)](_0x47a622){const _0x4b8b0f=_0x45b68d;if(this[_0x4b8b0f(0x1fc)]['path']){const _0x5bc75a=_0x47a622[_0x4b8b0f(0x21e)]['indexOf']('?');if((_0x5bc75a!==-0x1?_0x47a622[_0x4b8b0f(0x21e)][_0x4b8b0f(0x2f5)](0x0,_0x5bc75a):_0x47a622[_0x4b8b0f(0x21e)])!==this[_0x4b8b0f(0x1fc)][_0x4b8b0f(0x2b2)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4){const _0x5d660d=_0x45b68d;_0x1d1df8['on'](_0x5d660d(0x1d9),_0x51a276);const _0x20c4fc=_0x5c50f5[_0x5d660d(0x28f)]['sec-websocket-key'],_0x5591cb=_0x5c50f5[_0x5d660d(0x28f)]['upgrade'],_0x2084d6=+_0x5c50f5[_0x5d660d(0x28f)]['sec-websocket-version'];if(_0x5c50f5['method']!=='GET'){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x195,_0x5d660d(0x1f4));return;}if(_0x5591cb===void 0x0||_0x5591cb[_0x5d660d(0x1cd)]()!=='websocket'){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x358));return;}if(_0x20c4fc===void 0x0||!_0x5f2dcb[_0x5d660d(0x2ae)](_0x20c4fc)){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x2cb));return;}if(_0x2084d6!==0x8&&_0x2084d6!==0xd){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x338));return;}if(!this[_0x5d660d(0x2d6)](_0x5c50f5)){_0x400121(_0x1d1df8,0x190);return;}const _0xd2c419=_0x5c50f5['headers']['sec-websocket-protocol'];let _0x53ba84=new Set();if(_0xd2c419!==void 0x0)try{_0x53ba84=_0x40db46[_0x5d660d(0x208)](_0xd2c419);}catch{_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x32d));return;}const _0x402fe0=_0x5c50f5[_0x5d660d(0x28f)][_0x5d660d(0x263)],_0x8de583={};if(this[_0x5d660d(0x1fc)][_0x5d660d(0x314)]&&_0x402fe0!==void 0x0){const _0x1441b2=new _0x681274(this['options']['perMessageDeflate'],!0x0,this[_0x5d660d(0x1fc)][_0x5d660d(0x304)]);try{const _0x24bfe6=_0x19eeca['parse'](_0x402fe0);_0x24bfe6[_0x681274[_0x5d660d(0x24c)]]&&(_0x1441b2[_0x5d660d(0x2a6)](_0x24bfe6[_0x681274[_0x5d660d(0x24c)]]),_0x8de583[_0x681274['extensionName']]=_0x1441b2);}catch{_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x379));return;}}if(this['options'][_0x5d660d(0x209)]){const _0xe7eb5e={'origin':_0x5c50f5[_0x5d660d(0x28f)][''+(_0x2084d6===0x8?_0x5d660d(0x329):'origin')],'secure':!!(_0x5c50f5[_0x5d660d(0x2a7)][_0x5d660d(0x366)]||_0x5c50f5[_0x5d660d(0x2a7)]['encrypted']),'req':_0x5c50f5};if(this[_0x5d660d(0x1fc)][_0x5d660d(0x209)]['length']===0x2){this[_0x5d660d(0x1fc)][_0x5d660d(0x209)](_0xe7eb5e,(_0x5e6346,_0x26ee84,_0xa26745,_0x2d6130)=>{const _0x1c2671=_0x5d660d;if(!_0x5e6346)return _0x400121(_0x1d1df8,_0x26ee84||0x191,_0xa26745,_0x2d6130);this[_0x1c2671(0x1fa)](_0x8de583,_0x20c4fc,_0x53ba84,_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4);});return;}if(!this[_0x5d660d(0x1fc)][_0x5d660d(0x209)](_0xe7eb5e))return _0x400121(_0x1d1df8,0x191);}this['completeUpgrade'](_0x8de583,_0x20c4fc,_0x53ba84,_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4);}[_0x45b68d(0x1fa)](_0xd0a75d,_0x269785,_0x58af25,_0x1dce44,_0x489e74,_0x3b2ecd,_0x10d980){const _0x28b72a=_0x45b68d;if(!_0x489e74[_0x28b72a(0x2f8)]||!_0x489e74[_0x28b72a(0x219)])return _0x489e74[_0x28b72a(0x355)]();if(_0x489e74[_0xa1affb])throw new Error(_0x28b72a(0x2a9));if(this[_0x28b72a(0x381)]>_0x4776cf)return _0x400121(_0x489e74,0x1f7);const _0x9f1074=[_0x28b72a(0x1c5),_0x28b72a(0x278),_0x28b72a(0x1ce),_0x28b72a(0x2a4)+_0x4b64b2(_0x28b72a(0x1ec))[_0x28b72a(0x33b)](_0x269785+_0x50aa61)[_0x28b72a(0x2bb)](_0x28b72a(0x217))],_0x39607e=new this['options'][(_0x28b72a(0x323))](null,void 0x0,this[_0x28b72a(0x1fc)]);if(_0x58af25['size']){const _0x2be9f5=this[_0x28b72a(0x1fc)]['handleProtocols']?this[_0x28b72a(0x1fc)]['handleProtocols'](_0x58af25,_0x1dce44):_0x58af25['values']()[_0x28b72a(0x375)]()[_0x28b72a(0x1d4)];_0x2be9f5&&(_0x9f1074[_0x28b72a(0x213)]('Sec-WebSocket-Protocol:\x20'+_0x2be9f5),_0x39607e[_0x28b72a(0x25a)]=_0x2be9f5);}if(_0xd0a75d[_0x681274['extensionName']]){const _0x59dffc=_0xd0a75d[_0x681274[_0x28b72a(0x24c)]][_0x28b72a(0x1dc)],_0x554109=_0x19eeca['format']({[_0x681274[_0x28b72a(0x24c)]]:[_0x59dffc]});_0x9f1074[_0x28b72a(0x213)](_0x28b72a(0x1d2)+_0x554109),_0x39607e[_0x28b72a(0x297)]=_0xd0a75d;}this[_0x28b72a(0x20c)](_0x28b72a(0x28f),_0x9f1074,_0x1dce44),_0x489e74[_0x28b72a(0x252)](_0x9f1074[_0x28b72a(0x36d)]('\x0d\x0a')[_0x28b72a(0x313)]('\x0d\x0a')),_0x489e74[_0x28b72a(0x22d)](_0x28b72a(0x1d9),_0x51a276),_0x39607e[_0x28b72a(0x36c)](_0x489e74,_0x3b2ecd,{'allowSynchronousEvents':this[_0x28b72a(0x1fc)][_0x28b72a(0x231)],'maxPayload':this['options'][_0x28b72a(0x304)],'skipUTF8Validation':this['options'][_0x28b72a(0x332)]}),this[_0x28b72a(0x349)]&&(this[_0x28b72a(0x349)]['add'](_0x39607e),_0x39607e['on']('close',()=>{const _0x16de20=_0x28b72a;this['clients'][_0x16de20(0x36f)](_0x39607e),this[_0x16de20(0x333)]&&!this['clients'][_0x16de20(0x215)]&&process['nextTick'](_0x5013a4,this);})),_0x10d980(_0x39607e,_0x1dce44);}}Te=_0x48aa96;function _0x5cdc57(_0x3cd5bf,_0x5ee0c3){const _0x1491b4=_0x45b68d;for(const _0x23d950 of Object[_0x1491b4(0x2d4)](_0x5ee0c3))_0x3cd5bf['on'](_0x23d950,_0x5ee0c3[_0x23d950]);return function(){const _0x489918=_0x1491b4;for(const _0x1466c5 of Object[_0x489918(0x2d4)](_0x5ee0c3))_0x3cd5bf[_0x489918(0x22d)](_0x1466c5,_0x5ee0c3[_0x1466c5]);};}function _0x5013a4(_0x2e8353){const _0x141a9d=_0x45b68d;_0x2e8353[_0x141a9d(0x381)]=_0xa30e7b,_0x2e8353[_0x141a9d(0x20c)]('close');}function _0x51a276(){const _0x382457=_0x45b68d;this[_0x382457(0x355)]();}function _0x400121(_0x4808be,_0x20105a,_0x109629,_0xeed0c5){const _0x1c2f99=_0x45b68d;_0x109629=_0x109629||_0x3221bc[_0x1c2f99(0x21f)][_0x20105a],_0xeed0c5={'Connection':_0x1c2f99(0x29b),'Content-Type':'text/html','Content-Length':Buffer[_0x1c2f99(0x2c3)](_0x109629),..._0xeed0c5},_0x4808be[_0x1c2f99(0x32c)]('finish',_0x4808be[_0x1c2f99(0x355)]),_0x4808be[_0x1c2f99(0x364)]('HTTP/1.1\x20'+_0x20105a+'\x20'+_0x3221bc[_0x1c2f99(0x21f)][_0x20105a]+'\x0d\x0a'+Object[_0x1c2f99(0x2d4)](_0xeed0c5)[_0x1c2f99(0x2d7)](_0x2335ce=>_0x2335ce+':\x20'+_0xeed0c5[_0x2335ce])['join']('\x0d\x0a')+_0x1c2f99(0x295)+_0x109629);}function _0x56c956(_0x1114a5,_0xa266ce,_0x34e34b,_0x4c06bb,_0x5eb3f3){const _0x9568e7=_0x45b68d;if(_0x1114a5[_0x9568e7(0x245)](_0x9568e7(0x1d0))){const _0x459809=new Error(_0x5eb3f3);Error[_0x9568e7(0x36a)](_0x459809,_0x56c956),_0x1114a5[_0x9568e7(0x20c)]('wsClientError',_0x459809,_0x34e34b,_0xa266ce);}else _0x400121(_0x34e34b,_0x4c06bb,_0x5eb3f3);}return Te;}Ft();var jt=Object[_0x55fc25(0x223)],Wt=(_0x3d3aa7,_0x1186b5,_0x4adc58,_0xa88015)=>{const _0x44c02f=_0x55fc25;for(var _0x19ff71=_0xa88015>0x1?void 0x0:_0xa88015?jt(_0x1186b5,_0x4adc58):_0x1186b5,_0x23f95a=_0x3d3aa7[_0x44c02f(0x2da)]-0x1,_0x2fb579;_0x23f95a>=0x0;_0x23f95a--)(_0x2fb579=_0x3d3aa7[_0x23f95a])&&(_0x19ff71=_0x2fb579(_0x19ff71)||_0x19ff71);return _0x19ff71;},qt=(_0x28dc6d,_0x1acaeb)=>(_0x13988d,_0x3a7c27)=>_0x1acaeb(_0x13988d,_0x3a7c27,_0x28dc6d);let ke=class extends A['Disposable']{constructor(_0x237319){const _0x5a7f55=_0x55fc25;super(),this[_0x5a7f55(0x327)]=_0x237319;}['createSocket'](_0x30b35d){const _0x1fc9f5=_0x55fc25;var _0x3b0788;const _0x1116cc=(_0x3b0788=this[_0x1fc9f5(0x327)][_0x1fc9f5(0x23f)](fe))==null?void 0x0:_0x3b0788['customHeaders'];try{const _0x118263=new $t(_0x30b35d,{'headers':{..._0x1116cc}}),_0x257578=new A[(_0x1fc9f5(0x205))]();return{'URL':_0x30b35d,'close':(_0x44a6e0,_0x245fd2)=>{const _0x398d3e=_0x1fc9f5;_0x118263[_0x398d3e(0x29b)](_0x44a6e0,_0x245fd2),_0x257578['dispose']();},'send':_0x172388=>{const _0x26f0c2=_0x1fc9f5;_0x118263[_0x26f0c2(0x1db)](_0x172388);},'open$':new V[(_0x1fc9f5(0x1d6))](_0xb43072=>{const _0x5e8b4d=_0x1fc9f5,_0x4f86dd=_0x39ce33=>_0xb43072[_0x5e8b4d(0x375)](_0x39ce33);_0x118263[_0x5e8b4d(0x350)](_0x5e8b4d(0x2a5),_0x4f86dd),_0x257578[_0x5e8b4d(0x1e8)](A[_0x5e8b4d(0x1ed)](()=>_0x118263['removeEventListener'](_0x5e8b4d(0x2a5),_0x4f86dd)));})['pipe'](V[_0x1fc9f5(0x337)]()),'close$':new V['Observable'](_0xeee821=>{const _0x50f99b=_0x1fc9f5,_0x45170c=_0x51b99d=>_0xeee821[_0x50f99b(0x375)](_0x51b99d);_0x118263[_0x50f99b(0x350)](_0x50f99b(0x29b),_0x45170c),_0x257578[_0x50f99b(0x1e8)](A[_0x50f99b(0x1ed)](()=>_0x118263['removeEventListener'](_0x50f99b(0x29b),_0x45170c)));})['pipe'](V[_0x1fc9f5(0x337)]()),'error$':new V[(_0x1fc9f5(0x1d6))](_0x484f20=>{const _0x27b8d7=_0x1fc9f5,_0x29d0f7=_0x22884e=>_0x484f20[_0x27b8d7(0x375)](_0x22884e);_0x118263['addEventListener'](_0x27b8d7(0x1d9),_0x29d0f7),_0x257578[_0x27b8d7(0x1e8)](A[_0x27b8d7(0x1ed)](()=>_0x118263['removeEventListener'](_0x27b8d7(0x1d9),_0x29d0f7)));})['pipe'](V[_0x1fc9f5(0x337)]()),'message$':new V[(_0x1fc9f5(0x1d6))](_0x3313a1=>{const _0xb00a6f=_0x1fc9f5,_0x1bba06=_0x545f6d=>_0x3313a1[_0xb00a6f(0x375)](_0x545f6d);_0x118263[_0xb00a6f(0x350)](_0xb00a6f(0x1f2),_0x1bba06),_0x257578[_0xb00a6f(0x1e8)](A[_0xb00a6f(0x1ed)](()=>_0x118263['removeEventListener'](_0xb00a6f(0x1f2),_0x1bba06)));})[_0x1fc9f5(0x31c)](V[_0x1fc9f5(0x337)]())};}catch(_0x129a50){return console[_0x1fc9f5(0x1d9)](_0x129a50),null;}}};ke=Wt([qt(0x0,A[_0x55fc25(0x316)])],ke);function _0x2311(_0x48fae6,_0x316540){const _0x1e7365=_0x1e73();return _0x2311=function(_0x2311ce,_0x8d56c3){_0x2311ce=_0x2311ce-0x1c5;let _0xc06c74=_0x1e7365[_0x2311ce];return _0xc06c74;},_0x2311(_0x48fae6,_0x316540);}var Gt=Object[_0x55fc25(0x2c6)],Vt=Object[_0x55fc25(0x223)],Ht=(_0x8f500e,_0x594238,_0x1fe354)=>_0x594238 in _0x8f500e?Gt(_0x8f500e,_0x594238,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fe354}):_0x8f500e[_0x594238]=_0x1fe354,zt=(_0x5aa98a,_0x4ce559,_0x50c9f3,_0x4ea2bc)=>{const _0xea8e89=_0x55fc25;for(var _0x24dcc0=_0x4ea2bc>0x1?void 0x0:_0x4ea2bc?Vt(_0x4ce559,_0x50c9f3):_0x4ce559,_0x1bb101=_0x5aa98a[_0xea8e89(0x2da)]-0x1,_0x1b0973;_0x1bb101>=0x0;_0x1bb101--)(_0x1b0973=_0x5aa98a[_0x1bb101])&&(_0x24dcc0=_0x1b0973(_0x24dcc0)||_0x24dcc0);return _0x24dcc0;},Ne=(_0x4c5539,_0x330bbf)=>(_0x372667,_0x5a7e81)=>_0x330bbf(_0x372667,_0x5a7e81,_0x4c5539),Yt=(_0x452a73,_0x1277f3,_0x59aa56)=>Ht(_0x452a73,_0x1277f3+'',_0x59aa56);exports[_0x55fc25(0x274)]=class extends A[_0x55fc25(0x26d)]{constructor(_0x569948=Ct,_0x8196d9,_0x326ae7,_0x1e9279){const _0x1b0ce1=_0x55fc25;_0x569948[_0x1b0ce1(0x1e3)]||_0x8196d9[_0x1b0ce1(0x30e)](_0x1b0ce1(0x1ea)),super(),this['_configService']=_0x326ae7,this[_0x1b0ce1(0x1ef)]=_0x1e9279,this[_0x1b0ce1(0x327)]['setConfig'](fe,_0x569948);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x5c32c9=_0x55fc25;A['registerDependencies'](this[_0x5c32c9(0x1ef)],[[it[_0x5c32c9(0x2e3)],{'useClass':ke}]]);}},Yt(exports[_0x55fc25(0x274)],_0x55fc25(0x335),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x55fc25(0x274)]=zt([A[_0x55fc25(0x30d)](st[_0x55fc25(0x37d)]),Ne(0x1,A[_0x55fc25(0x1f8)]),Ne(0x2,A[_0x55fc25(0x316)]),Ne(0x3,A[_0x55fc25(0x372)](A['Injector']))],exports[_0x55fc25(0x274)]);var Kt=Object[_0x55fc25(0x223)],Xt=(_0x1f072a,_0x49a74c,_0x3a6e36,_0x260984)=>{const _0x21972f=_0x55fc25;for(var _0x29ea8d=_0x260984>0x1?void 0x0:_0x260984?Kt(_0x49a74c,_0x3a6e36):_0x49a74c,_0xe7b541=_0x1f072a[_0x21972f(0x2da)]-0x1,_0xba589d;_0xe7b541>=0x0;_0xe7b541--)(_0xba589d=_0x1f072a[_0xe7b541])&&(_0x29ea8d=_0xba589d(_0x29ea8d)||_0x29ea8d);return _0x29ea8d;},ne=(_0x244e48,_0x3bf8e6)=>(_0x296b09,_0x2e54c7)=>_0x3bf8e6(_0x296b09,_0x2e54c7,_0x244e48);exports[_0x55fc25(0x2d5)]=class extends st[_0x55fc25(0x352)]{constructor(_0x414933,_0x5db274,_0x144123,_0x495d3a,_0x2892f8){const _0x554e57=_0x55fc25;super(_0x414933,_0x5db274,_0x144123,_0x495d3a,_0x2892f8);const _0x422233=this[_0x554e57(0x327)][_0x554e57(0x23f)](fe);this[_0x554e57(0x1eb)][_0x554e57(0x2e7)]({'interceptor':(_0x5c026d,_0x5375d1)=>{const _0x15f0d3=_0x554e57;var _0x4a1d31;const _0x2aa2a2=_0x5c026d[_0x15f0d3(0x28f)];return(_0x4a1d31=_0x422233==null?void 0x0:_0x422233[_0x15f0d3(0x1e3)])!=null&&_0x4a1d31['cookie']&&_0x2aa2a2['set'](_0x15f0d3(0x2a2),_0x422233[_0x15f0d3(0x1e3)]['cookie']),_0x5375d1(_0x5c026d);}});}async[_0x55fc25(0x31d)](_0x290a32){const _0x413f86=_0x55fc25;return this[_0x413f86(0x28b)](_0x290a32);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x55fc25(0x372)](A[_0x55fc25(0x343)])),ne(0x1,A['Inject'](it[_0x55fc25(0x371)])),ne(0x2,A[_0x55fc25(0x316)]),ne(0x3,A[_0x55fc25(0x1f8)]),ne(0x4,Ot[_0x55fc25(0x23b)])],exports['NodeCollaborationSocketService']),exports[_0x55fc25(0x354)]=fe;
1
+ 'use strict';const _0x3db353=_0x3dfb;(function(_0x2afd2e,_0x393413){const _0x1c9f83=_0x3dfb,_0x1a51c1=_0x2afd2e();while(!![]){try{const _0x23ddb3=parseInt(_0x1c9f83(0x2a1))/0x1+parseInt(_0x1c9f83(0x21e))/0x2+parseInt(_0x1c9f83(0x175))/0x3+parseInt(_0x1c9f83(0x323))/0x4*(-parseInt(_0x1c9f83(0x29e))/0x5)+parseInt(_0x1c9f83(0x2e1))/0x6*(-parseInt(_0x1c9f83(0x264))/0x7)+parseInt(_0x1c9f83(0x19c))/0x8+-parseInt(_0x1c9f83(0x288))/0x9;if(_0x23ddb3===_0x393413)break;else _0x1a51c1['push'](_0x1a51c1['shift']());}catch(_0x57fbb7){_0x1a51c1['push'](_0x1a51c1['shift']());}}}(_0x2956,0x25bd5));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x3db353(0x19d)});const st=require(_0x3db353(0x2dc)),A=require(_0x3db353(0x275)),it=require('@univerjs/network'),V=require(_0x3db353(0x2b1)),nt=require(_0x3db353(0x1fa)),vt=require(_0x3db353(0x1a1)),ot=require('http'),St=require('net'),Et=require(_0x3db353(0x2a6)),Le=require('crypto'),oe=require('stream'),xt=require(_0x3db353(0x1a5)),bt=require(_0x3db353(0x274)),wt=require(_0x3db353(0x216)),Ot=require(_0x3db353(0x233)),fe=_0x3db353(0x2b8),Ct={'customHeaders':{}};function Tt(_0x38b0c2){const _0x12020a=_0x3db353;return _0x38b0c2&&_0x38b0c2[_0x12020a(0x21d)]&&Object[_0x12020a(0x1f7)][_0x12020a(0x279)][_0x12020a(0x1ae)](_0x38b0c2,'default')?_0x38b0c2['default']:_0x38b0c2;}function at(_0xaa880a){const _0x3af2dd=_0x3db353;if(Object[_0x3af2dd(0x1f7)][_0x3af2dd(0x279)][_0x3af2dd(0x1ae)](_0xaa880a,_0x3af2dd(0x21d)))return _0xaa880a;var _0x258d7c=_0xaa880a[_0x3af2dd(0x180)];if(typeof _0x258d7c==_0x3af2dd(0x2de)){var _0x528780=function _0x24e88e(){const _0x479bc0=_0x3af2dd;return this instanceof _0x24e88e?Reflect[_0x479bc0(0x197)](_0x258d7c,arguments,this[_0x479bc0(0x207)]):_0x258d7c[_0x479bc0(0x228)](this,arguments);};_0x528780[_0x3af2dd(0x1f7)]=_0x258d7c['prototype'];}else _0x528780={};return Object['defineProperty'](_0x528780,_0x3af2dd(0x21d),{'value':!0x0}),Object[_0x3af2dd(0x17c)](_0xaa880a)['forEach'](function(_0x237371){const _0x2d6f60=_0x3af2dd;var _0x1a4a56=Object[_0x2d6f60(0x1f9)](_0xaa880a,_0x237371);Object[_0x2d6f60(0x22c)](_0x528780,_0x237371,_0x1a4a56[_0x2d6f60(0x2c9)]?_0x1a4a56:{'enumerable':!0x0,'get':function(){return _0xaa880a[_0x237371];}});}),_0x528780;}var se={'exports':{}},ge,Ge;function H(){const _0x5f3386=_0x3db353;if(Ge)return ge;Ge=0x1;const _0x959110=[_0x5f3386(0x277),_0x5f3386(0x2ea),_0x5f3386(0x333)],_0x1751a0=typeof Blob<'u';return _0x1751a0&&_0x959110['push']('blob'),ge={'BINARY_TYPES':_0x959110,'EMPTY_BUFFER':Buffer[_0x5f3386(0x29f)](0x0),'GUID':_0x5f3386(0x290),'hasBlob':_0x1751a0,'kForOnEventAttribute':Symbol(_0x5f3386(0x310)),'kListener':Symbol(_0x5f3386(0x222)),'kStatusCode':Symbol(_0x5f3386(0x1d2)),'kWebSocket':Symbol(_0x5f3386(0x2b7)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3db353(0x32c)](Object[_0x3db353(0x22c)]({'__proto__':null,'default':Nt},Symbol[_0x3db353(0x1d8)],{'value':_0x3db353(0x19d)})),Lt=at(kt);var Ve;function _0x3dfb(_0x9fecba,_0x5d5b78){const _0x295648=_0x2956();return _0x3dfb=function(_0x3dfbf9,_0x7a9ea7){_0x3dfbf9=_0x3dfbf9-0x174;let _0x32f80d=_0x295648[_0x3dfbf9];return _0x32f80d;},_0x3dfb(_0x9fecba,_0x5d5b78);}function ce(){const _0x46d0de=_0x3db353;if(Ve)return se[_0x46d0de(0x24c)];Ve=0x1;const {EMPTY_BUFFER:_0x169b01}=H(),_0x2b7a7f=Buffer[Symbol[_0x46d0de(0x1bf)]];function _0x414d57(_0x5c038d,_0x5d238b){const _0x540835=_0x46d0de;if(_0x5c038d[_0x540835(0x1c7)]===0x0)return _0x169b01;if(_0x5c038d[_0x540835(0x1c7)]===0x1)return _0x5c038d[0x0];const _0x3bca24=Buffer[_0x540835(0x2e7)](_0x5d238b);let _0xc0f860=0x0;for(let _0x2ee57c=0x0;_0x2ee57c<_0x5c038d[_0x540835(0x1c7)];_0x2ee57c++){const _0x296f0d=_0x5c038d[_0x2ee57c];_0x3bca24[_0x540835(0x1cd)](_0x296f0d,_0xc0f860),_0xc0f860+=_0x296f0d['length'];}return _0xc0f860<_0x5d238b?new _0x2b7a7f(_0x3bca24[_0x540835(0x216)],_0x3bca24['byteOffset'],_0xc0f860):_0x3bca24;}function _0x805844(_0x31aef1,_0x2b28be,_0x222217,_0x41ed78,_0x42f778){for(let _0x1f8957=0x0;_0x1f8957<_0x42f778;_0x1f8957++)_0x222217[_0x41ed78+_0x1f8957]=_0x31aef1[_0x1f8957]^_0x2b28be[_0x1f8957&0x3];}function _0x492740(_0x52c265,_0x53e215){const _0x2fc4f7=_0x46d0de;for(let _0x5532c7=0x0;_0x5532c7<_0x52c265[_0x2fc4f7(0x1c7)];_0x5532c7++)_0x52c265[_0x5532c7]^=_0x53e215[_0x5532c7&0x3];}function _0x15cf3d(_0x3e4313){const _0x180470=_0x46d0de;return _0x3e4313[_0x180470(0x1c7)]===_0x3e4313['buffer'][_0x180470(0x2df)]?_0x3e4313[_0x180470(0x216)]:_0x3e4313['buffer']['slice'](_0x3e4313['byteOffset'],_0x3e4313[_0x180470(0x2ca)]+_0x3e4313[_0x180470(0x1c7)]);}function _0x293dd3(_0x5b9eee){const _0x22fcc4=_0x46d0de;if(_0x293dd3['readOnly']=!0x0,Buffer[_0x22fcc4(0x1c6)](_0x5b9eee))return _0x5b9eee;let _0x5743f5;return _0x5b9eee instanceof ArrayBuffer?_0x5743f5=new _0x2b7a7f(_0x5b9eee):ArrayBuffer['isView'](_0x5b9eee)?_0x5743f5=new _0x2b7a7f(_0x5b9eee['buffer'],_0x5b9eee[_0x22fcc4(0x2ca)],_0x5b9eee[_0x22fcc4(0x2df)]):(_0x5743f5=Buffer[_0x22fcc4(0x2a9)](_0x5b9eee),_0x293dd3[_0x22fcc4(0x28d)]=!0x1),_0x5743f5;}if(se[_0x46d0de(0x24c)]={'concat':_0x414d57,'mask':_0x805844,'toArrayBuffer':_0x15cf3d,'toBuffer':_0x293dd3,'unmask':_0x492740},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ef7ce=Lt;se[_0x46d0de(0x24c)][_0x46d0de(0x226)]=function(_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88){const _0x55728b=_0x46d0de;_0x472f88<0x30?_0x805844(_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88):_0x1ef7ce[_0x55728b(0x226)](_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88);},se[_0x46d0de(0x24c)][_0x46d0de(0x251)]=function(_0x142343,_0x57cd5e){const _0x336857=_0x46d0de;_0x142343['length']<0x20?_0x492740(_0x142343,_0x57cd5e):_0x1ef7ce[_0x336857(0x251)](_0x142343,_0x57cd5e);};}catch{}return se[_0x46d0de(0x24c)];}var ye,He;function Pt(){const _0x44221d=_0x3db353;if(He)return ye;He=0x1;const _0x1ee4f5=Symbol(_0x44221d(0x27a)),_0xcd6210=Symbol('kRun');class _0x5edc0d{constructor(_0x4aa0b2){const _0x278786=_0x44221d;this[_0x1ee4f5]=()=>{const _0x243d0b=_0x3dfb;this[_0x243d0b(0x32b)]--,this[_0xcd6210]();},this[_0x278786(0x195)]=_0x4aa0b2||0x1/0x0,this['jobs']=[],this[_0x278786(0x32b)]=0x0;}['add'](_0x141e75){const _0x37a583=_0x44221d;this[_0x37a583(0x263)][_0x37a583(0x25b)](_0x141e75),this[_0xcd6210]();}[_0xcd6210](){const _0x594382=_0x44221d;if(this[_0x594382(0x32b)]!==this['concurrency']&&this[_0x594382(0x263)][_0x594382(0x1c7)]){const _0x3c08d3=this['jobs']['shift']();this['pending']++,_0x3c08d3(this[_0x1ee4f5]);}}}return ye=_0x5edc0d,ye;}function _0x2956(){const _0x1fbfee=['sec-websocket-protocol','addEventListener','controlMessage','handshakeTimeout','abort','perMessageDeflate','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','push','_sender','format','setHeader','endEmitted','decompress','generateMask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','jobs','1013593IUaCdW','serverMaxWindowBits','_buffers','CollaborationSocketService','offer','_receiver','_decompress','getMask','ping','Unknown\x20parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Blob','DependentOn','Sec-WebSocket-Extensions:\x20','then','Unexpected\x20end\x20of\x20input','zlib','@univerjs/core','resume','nodebuffer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','hasOwnProperty','kDone','size','kTarget','enqueue','end','Invalid\x20Sec-WebSocket-Accept\x20header','completeUpgrade','base64','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_write','invalid\x20opcode\x20','readUInt16BE','errorEmitted','2970531okuBIl','finishRequest','values','onclose','customHeaders','readOnly','bufferedAmount','entries','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_errored','cleanup','_removeListeners','parse','_extensions','Invalid\x20WebSocket\x20frame:\x20','defaultPort','pause','replace','unexpected-response','text/plain','Maximum\x20redirects\x20exceeded','_binaryType','5VRZUXW','alloc','authorized','240882trEerk','Opening\x20handshake\x20has\x20timed\x20out','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ILogService','_masked','tls','writeUIntBE','isPaused','from','headers','readUInt32BE','HTTPService','hash','invalid\x20opcode\x200','kType','CONNECTING','rxjs','consume','Sec-WebSocket-Accept:\x20','WS_ERR_EXPECTED_FIN','bind','indexOf','websocket','collaboration-client-node.config','_messageLength','slice','setConfig','add','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','pathname','_fin','_isServer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Sec-WebSocket-Protocol','GET','_closeFrameReceived','sec-websocket-key','_configService','_maskBuffer','_final','get','byteOffset','params','_bufferedBytes','zlibInflateOptions','concurrencyLimit','_closeTimer','handleEvent','socketPath','blob','_deflate','RSV1\x20must\x20be\x20clear','https:','shift','WS_ERR_INVALID_OPCODE','getBlobData','join','createInflateRaw','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','@univerjs-pro/collaboration-client','verifyClient','function','byteLength','data','12TfkeOU','includes','send','catch','_no_context_takeover','_closeCode','allocUnsafe','WS_ERR_INVALID_UTF8','onStarting','arraybuffer','redirect','opcode','username','create','setSocket','_shouldEmitClose','method','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_originalIpc','_loop','maskBuffer','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','next','location','callback','\x22\x20subprotocol\x20is\x20duplicated','socket','type','host','href','value','clientMaxWindowBits','acceptAsClient','\x0d\x0a\x0d\x0a','write','_autoPong','upgrade','frame','Invalid\x20URL:\x20','string','_inflate','noServer','zlibDeflateOptions','dispatch','_fragmented','binaryType','writeUInt16BE','kIsForOnEventAttribute','permessage-deflate','maxPayload','UniverCollaborationClientNodePlugin','protocolVersion','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','registerHTTPInterceptor','Z_SYNC_FLUSH','charCodeAt','accept','share','startLoop','Origin','connect','toString','isIP','destroy','path','backlog','298396ZTKKnR','Invalid\x20HTTP\x20method','needDrain','\x22:\x20','_generateMask','Disposable','The\x20\x22','CLOSED','pending','freeze','finish','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_opcode','WS_ERR_UNEXPECTED_MASK','response','_allowSynchronousEvents','fragments','uncork','_writableState','_max_window_bits','toLowerCase','Injector','HTTP/1.1\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emitClose','protocol','_registerDependencies','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','once','\x22\x20must\x20have\x20only\x20a\x20single\x20value','747612sUIvUr','getPayloadLength64','haveLength','Unsupported\x20protocol\x20version:\x20','_doCreateSocket','maxRedirects','Parameter\x20\x22','keys','Plugin','client_no_context_takeover','fin','default','finished','shouldHandle','allowSynchronousEvents','UniverCollaborationClientPlugin','COLLABORATION_CLIENT_NODE_CONFIG_KEY','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_RSV_1','createSocket','kError','createServer','object','has','pluginName','readyState','isInteger','_options','timeout','_totalPayloadLength','Upgrade:\x20websocket','stream','concurrency','normalizeParams','construct','_injector','handleProtocols','pipe','listening','2017328IqbHxd','Module','_paused','origin','read','https','options','listen','Invalid\x20value\x20for\x20parameter\x20\x22','url','extensions','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','total-length','_compress','search','cookie','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-accept','call','hostname','forEach','_redirects','wsClientError','client','_maxPayload','onmessage','servername','invalid\x20payload\x20length\x20','sha1','Inject','wss:','acceptAsServer','onerror','ISnapshotServerService','Connection:\x20Upgrade','species','encrypted','code','dispose','onopen','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','update','isBuffer','length','CLOSING','listeners','STATUS_CODES','Server\x20sent\x20an\x20invalid\x20subprotocol','_destroy','set','_originalHostOrSocketPath','kWasClean','extensionName','Basic\x20','status-code','address','_skipUTF8Validation','server_max_window_bits','_firstFragment','clients','toStringTag','_server','Cookie','The\x20server\x20is\x20not\x20running','_socket','statusCode','_req','toDisposable','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_bufferedAmount','writeHead','kByteLength','_protocol','threshold','startsWith','pong','_url','authorization','dataMessage','number','Invalid\x20Sec-WebSocket-Extensions\x20header','isValidUTF8','arrayBuffer','\x20(supported\x20versions:\x20','skipUTF8Validation','delete','wasClean','request','flush','getData','Observable','prototype','autoPong','getOwnPropertyDescriptor','events','target','_readyState','_closeMessage','getInfo','removeAllListeners','open','Upgrade','_fragments','listenerCount','FIN\x20must\x20be\x20set','_originalSecure','map','constructor','server_no_context_takeover','nextTick','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isServer','destroyed','OPEN','NodeCollaborationSocketService','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','message','createError','_mask','error','setNoDelay','removeEventListener','buffer','pow','File','Unexpected\x20character\x20at\x20index\x20','emit','_payloadLength','_read','__esModule','213170wSpWXj','writable','getConfig','reset','kListener','_readableState','WS_ERR_EXPECTED_MASK','removeListener','mask','createConnection','apply','concat','dequeue','Z_DEFAULT_WINDOWBITS','defineProperty','port','setTimeout','find','compress','close','Max\x20payload\x20size\x20exceeded','@univerjs-pro/collaboration','_queue','_compressed','server','auth','WebSocket','handleUpgrade','_errorEmitted','terminate','serverNoContextTakeover','invalid\x20UTF-8\x20sequence','client_max_window_bits','conclude','sendFrame','_threshold','WS_NO_UTF_8_VALIDATE','IConfigService','isArray','text/html','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Unexpected\x20server\x20response:\x20','Invalid\x20Upgrade\x20header','_state','digest','_closeFrameSent','exports','clientNoContextTakeover','ws:','captureStackTrace','ws+unix:','unmask','reason','Invalid\x20Sec-WebSocket-Protocol\x20header'];_0x2956=function(){return _0x1fbfee;};return _0x2956();}var ve,ze;function he(){const _0x4c034f=_0x3db353;if(ze)return ve;ze=0x1;const _0x5b11ec=bt,_0x1b2ab4=ce(),_0x4d44fc=Pt(),{kStatusCode:_0x2324b1}=H(),_0x3e345f=Buffer[Symbol[_0x4c034f(0x1bf)]],_0x17e6fa=Buffer[_0x4c034f(0x2a9)]([0x0,0x0,0xff,0xff]),_0x39f324=Symbol('permessage-deflate'),_0x3064cf=Symbol(_0x4c034f(0x1a8)),_0x2afeb3=Symbol(_0x4c034f(0x2f9)),_0x2f430c=Symbol('buffers'),_0x1eca8f=Symbol(_0x4c034f(0x213));let _0x46dfe4;class _0x5aec34{constructor(_0x4c29c0,_0x2f782b,_0x1e2002){const _0x31817f=_0x4c034f;if(this[_0x31817f(0x1b4)]=_0x1e2002|0x0,this['_options']=_0x4c29c0||{},this[_0x31817f(0x241)]=this[_0x31817f(0x190)]['threshold']!==void 0x0?this[_0x31817f(0x190)][_0x31817f(0x1e5)]:0x400,this[_0x31817f(0x2c0)]=!!_0x2f782b,this[_0x31817f(0x2d3)]=null,this[_0x31817f(0x309)]=null,this[_0x31817f(0x2cb)]=null,!_0x46dfe4){const _0x3f2f57=this[_0x31817f(0x190)][_0x31817f(0x2ce)]!==void 0x0?this[_0x31817f(0x190)][_0x31817f(0x2ce)]:0xa;_0x46dfe4=new _0x4d44fc(_0x3f2f57);}}static get[_0x4c034f(0x1d0)](){const _0x46c0f6=_0x4c034f;return _0x46c0f6(0x311);}[_0x4c034f(0x268)](){const _0x493c3f=_0x4c034f,_0x395906={};return this[_0x493c3f(0x190)][_0x493c3f(0x23c)]&&(_0x395906['server_no_context_takeover']=!0x0),this[_0x493c3f(0x190)]['clientNoContextTakeover']&&(_0x395906['client_no_context_takeover']=!0x0),this[_0x493c3f(0x190)][_0x493c3f(0x265)]&&(_0x395906[_0x493c3f(0x1d5)]=this['_options'][_0x493c3f(0x265)]),this[_0x493c3f(0x190)]['clientMaxWindowBits']?_0x395906[_0x493c3f(0x23e)]=this[_0x493c3f(0x190)][_0x493c3f(0x300)]:this[_0x493c3f(0x190)][_0x493c3f(0x300)]==null&&(_0x395906[_0x493c3f(0x23e)]=!0x0),_0x395906;}[_0x4c034f(0x319)](_0x3c9a36){const _0x5d7d41=_0x4c034f;return _0x3c9a36=this[_0x5d7d41(0x196)](_0x3c9a36),this['params']=this[_0x5d7d41(0x2c0)]?this[_0x5d7d41(0x1bb)](_0x3c9a36):this[_0x5d7d41(0x301)](_0x3c9a36),this['params'];}['cleanup'](){const _0x189ed4=_0x4c034f;if(this['_inflate']&&(this[_0x189ed4(0x309)][_0x189ed4(0x231)](),this[_0x189ed4(0x309)]=null),this['_deflate']){const _0x5c0a9f=this[_0x189ed4(0x2d3)][_0x2afeb3];this['_deflate']['close'](),this[_0x189ed4(0x2d3)]=null,_0x5c0a9f&&_0x5c0a9f(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x4c034f(0x1bb)](_0x55f10d){const _0x482b15=_0x4c034f,_0x14aba3=this[_0x482b15(0x190)],_0x57cff1=_0x55f10d[_0x482b15(0x22f)](_0x206641=>!(_0x14aba3['serverNoContextTakeover']===!0x1&&_0x206641[_0x482b15(0x208)]||_0x206641[_0x482b15(0x1d5)]&&(_0x14aba3[_0x482b15(0x265)]===!0x1||typeof _0x14aba3[_0x482b15(0x265)]==_0x482b15(0x1eb)&&_0x14aba3['serverMaxWindowBits']>_0x206641[_0x482b15(0x1d5)])||typeof _0x14aba3[_0x482b15(0x300)]==_0x482b15(0x1eb)&&!_0x206641[_0x482b15(0x23e)]));if(!_0x57cff1)throw new Error(_0x482b15(0x25a));return _0x14aba3[_0x482b15(0x23c)]&&(_0x57cff1[_0x482b15(0x208)]=!0x0),_0x14aba3[_0x482b15(0x24d)]&&(_0x57cff1[_0x482b15(0x17e)]=!0x0),typeof _0x14aba3[_0x482b15(0x265)]==_0x482b15(0x1eb)&&(_0x57cff1[_0x482b15(0x1d5)]=_0x14aba3[_0x482b15(0x265)]),typeof _0x14aba3[_0x482b15(0x300)]==_0x482b15(0x1eb)?_0x57cff1[_0x482b15(0x23e)]=_0x14aba3[_0x482b15(0x300)]:(_0x57cff1[_0x482b15(0x23e)]===!0x0||_0x14aba3[_0x482b15(0x300)]===!0x1)&&delete _0x57cff1[_0x482b15(0x23e)],_0x57cff1;}[_0x4c034f(0x301)](_0x42927e){const _0x3696cc=_0x4c034f,_0x40aaa2=_0x42927e[0x0];if(this[_0x3696cc(0x190)][_0x3696cc(0x24d)]===!0x1&&_0x40aaa2['client_no_context_takeover'])throw new Error(_0x3696cc(0x2c1));if(!_0x40aaa2[_0x3696cc(0x23e)])typeof this['_options'][_0x3696cc(0x300)]==_0x3696cc(0x1eb)&&(_0x40aaa2['client_max_window_bits']=this[_0x3696cc(0x190)][_0x3696cc(0x300)]);else{if(this['_options'][_0x3696cc(0x300)]===!0x1||typeof this['_options'][_0x3696cc(0x300)]==_0x3696cc(0x1eb)&&_0x40aaa2[_0x3696cc(0x23e)]>this[_0x3696cc(0x190)]['clientMaxWindowBits'])throw new Error(_0x3696cc(0x33e));}return _0x40aaa2;}['normalizeParams'](_0x48278d){const _0x41b930=_0x4c034f;return _0x48278d[_0x41b930(0x1b0)](_0x3d343c=>{const _0xf6336c=_0x41b930;Object[_0xf6336c(0x17c)](_0x3d343c)[_0xf6336c(0x1b0)](_0x1fb136=>{const _0x4f26ba=_0xf6336c;let _0x756129=_0x3d343c[_0x1fb136];if(_0x756129['length']>0x1)throw new Error(_0x4f26ba(0x17b)+_0x1fb136+_0x4f26ba(0x174));if(_0x756129=_0x756129[0x0],_0x1fb136==='client_max_window_bits'){if(_0x756129!==!0x0){const _0x5f108c=+_0x756129;if(!Number['isInteger'](_0x5f108c)||_0x5f108c<0x8||_0x5f108c>0xf)throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);_0x756129=_0x5f108c;}else{if(!this[_0x4f26ba(0x2c0)])throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);}}else{if(_0x1fb136===_0x4f26ba(0x1d5)){const _0x1c1570=+_0x756129;if(!Number[_0x4f26ba(0x18f)](_0x1c1570)||_0x1c1570<0x8||_0x1c1570>0xf)throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);_0x756129=_0x1c1570;}else{if(_0x1fb136==='client_no_context_takeover'||_0x1fb136===_0x4f26ba(0x208)){if(_0x756129!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1fb136+_0x4f26ba(0x326)+_0x756129);}else throw new Error(_0x4f26ba(0x26d)+_0x1fb136+'\x22');}}_0x3d343c[_0x1fb136]=_0x756129;});}),_0x48278d;}[_0x4c034f(0x260)](_0x9623e4,_0x1fa1e4,_0x256173){const _0x561f63=_0x4c034f;_0x46dfe4[_0x561f63(0x2bc)](_0x310f17=>{const _0x4173d7=_0x561f63;this[_0x4173d7(0x26a)](_0x9623e4,_0x1fa1e4,(_0x2e32ab,_0x2728ce)=>{_0x310f17(),_0x256173(_0x2e32ab,_0x2728ce);});});}[_0x4c034f(0x230)](_0x7144e5,_0x1bc7fb,_0x2dca88){const _0x15a7ce=_0x4c034f;_0x46dfe4[_0x15a7ce(0x2bc)](_0x130961=>{const _0x101e1b=_0x15a7ce;this[_0x101e1b(0x1a9)](_0x7144e5,_0x1bc7fb,(_0x199815,_0x46eb39)=>{_0x130961(),_0x2dca88(_0x199815,_0x46eb39);});});}[_0x4c034f(0x26a)](_0x1a64e8,_0x4d9921,_0x7c72c2){const _0x21bad6=_0x4c034f,_0x33feea=this[_0x21bad6(0x2c0)]?_0x21bad6(0x1b3):_0x21bad6(0x236);if(!this['_inflate']){const _0x52902e=_0x33feea+_0x21bad6(0x336),_0x2413bf=typeof this[_0x21bad6(0x2cb)][_0x52902e]!=_0x21bad6(0x1eb)?_0x5b11ec[_0x21bad6(0x22b)]:this[_0x21bad6(0x2cb)][_0x52902e];this[_0x21bad6(0x309)]=_0x5b11ec[_0x21bad6(0x2da)]({...this[_0x21bad6(0x190)][_0x21bad6(0x2cd)],'windowBits':_0x2413bf}),this['_inflate'][_0x39f324]=this,this['_inflate'][_0x3064cf]=0x0,this[_0x21bad6(0x309)][_0x2f430c]=[],this[_0x21bad6(0x309)]['on'](_0x21bad6(0x213),_0x59f1ff),this[_0x21bad6(0x309)]['on'](_0x21bad6(0x2e0),_0x147194);}this[_0x21bad6(0x309)][_0x2afeb3]=_0x7c72c2,this[_0x21bad6(0x309)][_0x21bad6(0x303)](_0x1a64e8),_0x4d9921&&this[_0x21bad6(0x309)][_0x21bad6(0x303)](_0x17e6fa),this[_0x21bad6(0x309)][_0x21bad6(0x1f4)](()=>{const _0x42fb2b=_0x21bad6,_0x239f49=this[_0x42fb2b(0x309)][_0x1eca8f];if(_0x239f49){this[_0x42fb2b(0x309)][_0x42fb2b(0x231)](),this[_0x42fb2b(0x309)]=null,_0x7c72c2(_0x239f49);return;}const _0xfd6680=_0x1b2ab4[_0x42fb2b(0x229)](this[_0x42fb2b(0x309)][_0x2f430c],this[_0x42fb2b(0x309)][_0x3064cf]);this[_0x42fb2b(0x309)][_0x42fb2b(0x223)]['endEmitted']?(this[_0x42fb2b(0x309)][_0x42fb2b(0x231)](),this['_inflate']=null):(this['_inflate'][_0x3064cf]=0x0,this[_0x42fb2b(0x309)][_0x2f430c]=[],_0x4d9921&&this['params'][_0x33feea+_0x42fb2b(0x2e5)]&&this[_0x42fb2b(0x309)][_0x42fb2b(0x221)]()),_0x7c72c2(null,_0xfd6680);});}[_0x4c034f(0x1a9)](_0x26dc85,_0x1b1b4c,_0x125ba4){const _0x120537=_0x4c034f,_0x320e33=this['_isServer']?_0x120537(0x236):_0x120537(0x1b3);if(!this[_0x120537(0x2d3)]){const _0x41c49d=_0x320e33+_0x120537(0x336),_0x4d1f95=typeof this[_0x120537(0x2cb)][_0x41c49d]!=_0x120537(0x1eb)?_0x5b11ec[_0x120537(0x22b)]:this[_0x120537(0x2cb)][_0x41c49d];this['_deflate']=_0x5b11ec['createDeflateRaw']({...this[_0x120537(0x190)][_0x120537(0x30b)],'windowBits':_0x4d1f95}),this['_deflate'][_0x3064cf]=0x0,this[_0x120537(0x2d3)][_0x2f430c]=[],this[_0x120537(0x2d3)]['on'](_0x120537(0x2e0),_0x47c971);}this['_deflate'][_0x2afeb3]=_0x125ba4,this[_0x120537(0x2d3)][_0x120537(0x303)](_0x26dc85),this[_0x120537(0x2d3)][_0x120537(0x1f4)](_0x5b11ec[_0x120537(0x317)],()=>{const _0x4d918f=_0x120537;if(!this[_0x4d918f(0x2d3)])return;let _0xaec015=_0x1b2ab4[_0x4d918f(0x229)](this['_deflate'][_0x2f430c],this[_0x4d918f(0x2d3)][_0x3064cf]);_0x1b1b4c&&(_0xaec015=new _0x3e345f(_0xaec015[_0x4d918f(0x216)],_0xaec015[_0x4d918f(0x2ca)],_0xaec015[_0x4d918f(0x1c7)]-0x4)),this['_deflate'][_0x2afeb3]=null,this[_0x4d918f(0x2d3)][_0x3064cf]=0x0,this[_0x4d918f(0x2d3)][_0x2f430c]=[],_0x1b1b4c&&this['params'][_0x320e33+'_no_context_takeover']&&this[_0x4d918f(0x2d3)][_0x4d918f(0x221)](),_0x125ba4(null,_0xaec015);});}}ve=_0x5aec34;function _0x47c971(_0x32563c){const _0x5a4173=_0x4c034f;this[_0x2f430c][_0x5a4173(0x25b)](_0x32563c),this[_0x3064cf]+=_0x32563c[_0x5a4173(0x1c7)];}function _0x147194(_0x1f1030){const _0x262f4a=_0x4c034f;if(this[_0x3064cf]+=_0x1f1030[_0x262f4a(0x1c7)],this[_0x39f324]['_maxPayload']<0x1||this[_0x3064cf]<=this[_0x39f324][_0x262f4a(0x1b4)]){this[_0x2f430c][_0x262f4a(0x25b)](_0x1f1030);return;}this[_0x1eca8f]=new RangeError(_0x262f4a(0x232)),this[_0x1eca8f]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x1eca8f][_0x2324b1]=0x3f1,this[_0x262f4a(0x225)](_0x262f4a(0x2e0),_0x147194),this[_0x262f4a(0x221)]();}function _0x59f1ff(_0x329c38){const _0x12d5a6=_0x4c034f;this[_0x39f324][_0x12d5a6(0x309)]=null,_0x329c38[_0x2324b1]=0x3ef,this[_0x2afeb3](_0x329c38);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x3db353(0x32c)](Object[_0x3db353(0x22c)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x3db353(0x19d)})),Bt=at(Rt);var Ye;function ae(){const _0x5727a5=_0x3db353;if(Ye)return ie[_0x5727a5(0x24c)];Ye=0x1;const {isUtf8:_0x36d4b5}=wt,{hasBlob:_0x4ed6c4}=H(),_0x44c8e7=[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 _0x502d9e(_0x23bc5a){return _0x23bc5a>=0x3e8&&_0x23bc5a<=0x3f6&&_0x23bc5a!==0x3ec&&_0x23bc5a!==0x3ed&&_0x23bc5a!==0x3ee||_0x23bc5a>=0xbb8&&_0x23bc5a<=0x1387;}function _0x196b25(_0x404257){const _0x441624=_0x5727a5,_0x5a668e=_0x404257[_0x441624(0x1c7)];let _0x9d5044=0x0;for(;_0x9d5044<_0x5a668e;)if((_0x404257[_0x9d5044]&0x80)===0x0)_0x9d5044++;else{if((_0x404257[_0x9d5044]&0xe0)===0xc0){if(_0x9d5044+0x1===_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044]&0xfe)===0xc0)return!0x1;_0x9d5044+=0x2;}else{if((_0x404257[_0x9d5044]&0xf0)===0xe0){if(_0x9d5044+0x2>=_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x2]&0xc0)!==0x80||_0x404257[_0x9d5044]===0xe0&&(_0x404257[_0x9d5044+0x1]&0xe0)===0x80||_0x404257[_0x9d5044]===0xed&&(_0x404257[_0x9d5044+0x1]&0xe0)===0xa0)return!0x1;_0x9d5044+=0x3;}else{if((_0x404257[_0x9d5044]&0xf8)===0xf0){if(_0x9d5044+0x3>=_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x2]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x3]&0xc0)!==0x80||_0x404257[_0x9d5044]===0xf0&&(_0x404257[_0x9d5044+0x1]&0xf0)===0x80||_0x404257[_0x9d5044]===0xf4&&_0x404257[_0x9d5044+0x1]>0x8f||_0x404257[_0x9d5044]>0xf4)return!0x1;_0x9d5044+=0x4;}else return!0x1;}}}return!0x0;}function _0x561698(_0x4480ba){const _0x121d53=_0x5727a5;return _0x4ed6c4&&typeof _0x4480ba==_0x121d53(0x18b)&&typeof _0x4480ba['arrayBuffer']==_0x121d53(0x2de)&&typeof _0x4480ba[_0x121d53(0x2fc)]=='string'&&typeof _0x4480ba[_0x121d53(0x194)]==_0x121d53(0x2de)&&(_0x4480ba[Symbol[_0x121d53(0x1d8)]]===_0x121d53(0x26f)||_0x4480ba[Symbol['toStringTag']]===_0x121d53(0x218));}if(ie['exports']={'isBlob':_0x561698,'isValidStatusCode':_0x502d9e,'isValidUTF8':_0x196b25,'tokenChars':_0x44c8e7},_0x36d4b5)ie[_0x5727a5(0x24c)]['isValidUTF8']=function(_0x177583){const _0x1435f9=_0x5727a5;return _0x177583[_0x1435f9(0x1c7)]<0x18?_0x196b25(_0x177583):_0x36d4b5(_0x177583);};else{if(!process['env'][_0x5727a5(0x242)])try{const _0x4c8a05=Bt;ie['exports'][_0x5727a5(0x1ed)]=function(_0x1efd41){return _0x1efd41['length']<0x20?_0x196b25(_0x1efd41):_0x4c8a05(_0x1efd41);};}catch{}}return ie[_0x5727a5(0x24c)];}var Se,Ke;function lt(){const _0x14c367=_0x3db353;if(Ke)return Se;Ke=0x1;const {Writable:_0x4b1017}=oe,_0x291577=he(),{BINARY_TYPES:_0x4c3436,EMPTY_BUFFER:_0xa30e0b,kStatusCode:_0x5403bf,kWebSocket:_0x374014}=H(),{concat:_0x293d69,toArrayBuffer:_0x44aebd,unmask:_0x1c18f3}=ce(),{isValidStatusCode:_0x49feb9,isValidUTF8:_0xb3bc77}=ae(),_0x3f548c=Buffer[Symbol[_0x14c367(0x1bf)]],_0x167eb3=0x0,_0x3ff57b=0x1,_0x56ad47=0x2,_0x5d2a4a=0x3,_0x1ec9cc=0x4,_0x497459=0x5,_0x5e42f6=0x6;class _0x44682d extends _0x4b1017{constructor(_0x2ea078={}){const _0x45f145=_0x14c367;super(),this[_0x45f145(0x332)]=_0x2ea078[_0x45f145(0x183)]!==void 0x0?_0x2ea078[_0x45f145(0x183)]:!0x0,this[_0x45f145(0x29d)]=_0x2ea078[_0x45f145(0x30e)]||_0x4c3436[0x0],this[_0x45f145(0x295)]=_0x2ea078[_0x45f145(0x1a6)]||{},this[_0x45f145(0x2c0)]=!!_0x2ea078[_0x45f145(0x20b)],this[_0x45f145(0x1b4)]=_0x2ea078[_0x45f145(0x312)]|0x0,this[_0x45f145(0x1d4)]=!!_0x2ea078[_0x45f145(0x1f0)],this[_0x374014]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x45f145(0x235)]=!0x1,this['_payloadLength']=0x0,this[_0x45f145(0x212)]=void 0x0,this[_0x45f145(0x30d)]=0x0,this['_masked']=!0x1,this[_0x45f145(0x2bf)]=!0x1,this[_0x45f145(0x32f)]=0x0,this[_0x45f145(0x192)]=0x0,this[_0x45f145(0x2b9)]=0x0,this[_0x45f145(0x202)]=[],this[_0x45f145(0x291)]=!0x1,this[_0x45f145(0x2f4)]=!0x1,this[_0x45f145(0x249)]=_0x167eb3;}[_0x14c367(0x284)](_0x1ddfed,_0x4f3406,_0x302158){const _0x33f856=_0x14c367;if(this[_0x33f856(0x32f)]===0x8&&this['_state']==_0x167eb3)return _0x302158();this[_0x33f856(0x2cc)]+=_0x1ddfed[_0x33f856(0x1c7)],this[_0x33f856(0x266)][_0x33f856(0x25b)](_0x1ddfed),this['startLoop'](_0x302158);}[_0x14c367(0x2b2)](_0x160d64){const _0x374ac1=_0x14c367;if(this['_bufferedBytes']-=_0x160d64,_0x160d64===this[_0x374ac1(0x266)][0x0][_0x374ac1(0x1c7)])return this[_0x374ac1(0x266)][_0x374ac1(0x2d6)]();if(_0x160d64<this[_0x374ac1(0x266)][0x0][_0x374ac1(0x1c7)]){const _0x3b1fd0=this[_0x374ac1(0x266)][0x0];return this[_0x374ac1(0x266)][0x0]=new _0x3f548c(_0x3b1fd0['buffer'],_0x3b1fd0[_0x374ac1(0x2ca)]+_0x160d64,_0x3b1fd0[_0x374ac1(0x1c7)]-_0x160d64),new _0x3f548c(_0x3b1fd0[_0x374ac1(0x216)],_0x3b1fd0['byteOffset'],_0x160d64);}const _0x4ead7a=Buffer[_0x374ac1(0x2e7)](_0x160d64);do{const _0x33d194=this[_0x374ac1(0x266)][0x0],_0x533be9=_0x4ead7a[_0x374ac1(0x1c7)]-_0x160d64;_0x160d64>=_0x33d194[_0x374ac1(0x1c7)]?_0x4ead7a[_0x374ac1(0x1cd)](this[_0x374ac1(0x266)][_0x374ac1(0x2d6)](),_0x533be9):(_0x4ead7a[_0x374ac1(0x1cd)](new Uint8Array(_0x33d194[_0x374ac1(0x216)],_0x33d194[_0x374ac1(0x2ca)],_0x160d64),_0x533be9),this[_0x374ac1(0x266)][0x0]=new _0x3f548c(_0x33d194[_0x374ac1(0x216)],_0x33d194['byteOffset']+_0x160d64,_0x33d194[_0x374ac1(0x1c7)]-_0x160d64)),_0x160d64-=_0x33d194[_0x374ac1(0x1c7)];}while(_0x160d64>0x0);return _0x4ead7a;}['startLoop'](_0x31a01e){const _0x3a1b83=_0x14c367;this[_0x3a1b83(0x2f4)]=!0x0;do switch(this['_state']){case _0x167eb3:this[_0x3a1b83(0x1fe)](_0x31a01e);break;case _0x3ff57b:this['getPayloadLength16'](_0x31a01e);break;case _0x56ad47:this[_0x3a1b83(0x176)](_0x31a01e);break;case _0x5d2a4a:this[_0x3a1b83(0x26b)]();break;case _0x1ec9cc:this[_0x3a1b83(0x1f5)](_0x31a01e);break;case _0x497459:case _0x5e42f6:this[_0x3a1b83(0x2f4)]=!0x1;return;}while(this[_0x3a1b83(0x2f4)]);this[_0x3a1b83(0x291)]||_0x31a01e();}['getInfo'](_0x2b3b08){const _0xdeee0=_0x14c367;if(this[_0xdeee0(0x2cc)]<0x2){this['_loop']=!0x1;return;}const _0x1d330b=this[_0xdeee0(0x2b2)](0x2);if((_0x1d330b[0x0]&0x30)!==0x0){const _0x28f0dc=this['createError'](RangeError,_0xdeee0(0x2f2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2b3b08(_0x28f0dc);return;}const _0x4f0a73=(_0x1d330b[0x0]&0x40)===0x40;if(_0x4f0a73&&!this[_0xdeee0(0x295)][_0x291577[_0xdeee0(0x1d0)]]){const _0x194ad7=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,_0xdeee0(0x187));_0x2b3b08(_0x194ad7);return;}if(this['_fin']=(_0x1d330b[0x0]&0x80)===0x80,this[_0xdeee0(0x32f)]=_0x1d330b[0x0]&0xf,this[_0xdeee0(0x21b)]=_0x1d330b[0x1]&0x7f,this[_0xdeee0(0x32f)]===0x0){if(_0x4f0a73){const _0x32a287=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2b3b08(_0x32a287);return;}if(!this[_0xdeee0(0x30d)]){const _0x4547dc=this['createError'](RangeError,_0xdeee0(0x2ae),!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x4547dc);return;}this[_0xdeee0(0x32f)]=this[_0xdeee0(0x30d)];}else{if(this[_0xdeee0(0x32f)]===0x1||this[_0xdeee0(0x32f)]===0x2){if(this[_0xdeee0(0x30d)]){const _0x286e32=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x285)+this[_0xdeee0(0x32f)],!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x286e32);return;}this['_compressed']=_0x4f0a73;}else{if(this[_0xdeee0(0x32f)]>0x7&&this['_opcode']<0xb){if(!this[_0xdeee0(0x2bf)]){const _0x23ed26=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x204),!0x0,0x3ea,_0xdeee0(0x2b4));_0x2b3b08(_0x23ed26);return;}if(_0x4f0a73){const _0x408308=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,_0xdeee0(0x187));_0x2b3b08(_0x408308);return;}if(this[_0xdeee0(0x21b)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x5b771d=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x1b7)+this[_0xdeee0(0x21b)],!0x0,0x3ea,_0xdeee0(0x20a));_0x2b3b08(_0x5b771d);return;}}else{const _0x7bb544=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x285)+this[_0xdeee0(0x32f)],!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x7bb544);return;}}}if(!this[_0xdeee0(0x2bf)]&&!this[_0xdeee0(0x30d)]&&(this[_0xdeee0(0x30d)]=this[_0xdeee0(0x32f)]),this[_0xdeee0(0x2a5)]=(_0x1d330b[0x1]&0x80)===0x80,this[_0xdeee0(0x2c0)]){if(!this[_0xdeee0(0x2a5)]){const _0xbd80e2=this[_0xdeee0(0x211)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xdeee0(0x224));_0x2b3b08(_0xbd80e2);return;}}else{if(this[_0xdeee0(0x2a5)]){const _0x605932=this[_0xdeee0(0x211)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0xdeee0(0x330));_0x2b3b08(_0x605932);return;}}this[_0xdeee0(0x21b)]===0x7e?this[_0xdeee0(0x249)]=_0x3ff57b:this[_0xdeee0(0x21b)]===0x7f?this[_0xdeee0(0x249)]=_0x56ad47:this[_0xdeee0(0x177)](_0x2b3b08);}['getPayloadLength16'](_0x90ff4){const _0x1f165c=_0x14c367;if(this[_0x1f165c(0x2cc)]<0x2){this[_0x1f165c(0x2f4)]=!0x1;return;}this[_0x1f165c(0x21b)]=this[_0x1f165c(0x2b2)](0x2)[_0x1f165c(0x286)](0x0),this[_0x1f165c(0x177)](_0x90ff4);}[_0x14c367(0x176)](_0x4edd56){const _0x23cf3b=_0x14c367;if(this['_bufferedBytes']<0x8){this[_0x23cf3b(0x2f4)]=!0x1;return;}const _0x5d9290=this[_0x23cf3b(0x2b2)](0x8),_0x39d18f=_0x5d9290[_0x23cf3b(0x2ab)](0x0);if(_0x39d18f>Math[_0x23cf3b(0x217)](0x2,0x15)-0x1){const _0x525f0f=this[_0x23cf3b(0x211)](RangeError,_0x23cf3b(0x33a),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4edd56(_0x525f0f);return;}this['_payloadLength']=_0x39d18f*Math[_0x23cf3b(0x217)](0x2,0x20)+_0x5d9290[_0x23cf3b(0x2ab)](0x4),this[_0x23cf3b(0x177)](_0x4edd56);}['haveLength'](_0x57fe47){const _0x4cd9bf=_0x14c367;if(this['_payloadLength']&&this[_0x4cd9bf(0x32f)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x4cd9bf(0x192)]>this[_0x4cd9bf(0x1b4)]&&this[_0x4cd9bf(0x1b4)]>0x0)){const _0x4eedc2=this[_0x4cd9bf(0x211)](RangeError,_0x4cd9bf(0x232),!0x1,0x3f1,_0x4cd9bf(0x1c4));_0x57fe47(_0x4eedc2);return;}this[_0x4cd9bf(0x2a5)]?this[_0x4cd9bf(0x249)]=_0x5d2a4a:this['_state']=_0x1ec9cc;}['getMask'](){const _0x29d10d=_0x14c367;if(this[_0x29d10d(0x2cc)]<0x4){this[_0x29d10d(0x2f4)]=!0x1;return;}this[_0x29d10d(0x212)]=this['consume'](0x4),this[_0x29d10d(0x249)]=_0x1ec9cc;}[_0x14c367(0x1f5)](_0x4de035){const _0x326621=_0x14c367;let _0xea1d78=_0xa30e0b;if(this[_0x326621(0x21b)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x326621(0x2f4)]=!0x1;return;}_0xea1d78=this[_0x326621(0x2b2)](this['_payloadLength']),this[_0x326621(0x2a5)]&&(this[_0x326621(0x212)][0x0]|this[_0x326621(0x212)][0x1]|this[_0x326621(0x212)][0x2]|this[_0x326621(0x212)][0x3])!==0x0&&_0x1c18f3(_0xea1d78,this[_0x326621(0x212)]);}if(this[_0x326621(0x32f)]>0x7){this[_0x326621(0x256)](_0xea1d78,_0x4de035);return;}if(this['_compressed']){this['_state']=_0x497459,this[_0x326621(0x260)](_0xea1d78,_0x4de035);return;}_0xea1d78[_0x326621(0x1c7)]&&(this['_messageLength']=this[_0x326621(0x192)],this['_fragments']['push'](_0xea1d78)),this['dataMessage'](_0x4de035);}[_0x14c367(0x260)](_0x4c29f,_0x58d31d){const _0x35a768=_0x14c367;this['_extensions'][_0x291577[_0x35a768(0x1d0)]][_0x35a768(0x260)](_0x4c29f,this[_0x35a768(0x2bf)],(_0x36db6e,_0x18cf37)=>{const _0x28d6ef=_0x35a768;if(_0x36db6e)return _0x58d31d(_0x36db6e);if(_0x18cf37['length']){if(this[_0x28d6ef(0x2b9)]+=_0x18cf37[_0x28d6ef(0x1c7)],this[_0x28d6ef(0x2b9)]>this[_0x28d6ef(0x1b4)]&&this['_maxPayload']>0x0){const _0x113ffd=this[_0x28d6ef(0x211)](RangeError,_0x28d6ef(0x232),!0x1,0x3f1,_0x28d6ef(0x1c4));_0x58d31d(_0x113ffd);return;}this[_0x28d6ef(0x202)][_0x28d6ef(0x25b)](_0x18cf37);}this[_0x28d6ef(0x1ea)](_0x58d31d),this[_0x28d6ef(0x249)]===_0x167eb3&&this[_0x28d6ef(0x31b)](_0x58d31d);});}[_0x14c367(0x1ea)](_0x27dede){const _0x4262bf=_0x14c367;if(!this['_fin']){this[_0x4262bf(0x249)]=_0x167eb3;return;}const _0x4e8a03=this['_messageLength'],_0x567441=this['_fragments'];if(this[_0x4262bf(0x192)]=0x0,this[_0x4262bf(0x2b9)]=0x0,this[_0x4262bf(0x30d)]=0x0,this[_0x4262bf(0x202)]=[],this[_0x4262bf(0x32f)]===0x2){let _0x2f3501;this[_0x4262bf(0x29d)]===_0x4262bf(0x277)?_0x2f3501=_0x293d69(_0x567441,_0x4e8a03):this['_binaryType']===_0x4262bf(0x2ea)?_0x2f3501=_0x44aebd(_0x293d69(_0x567441,_0x4e8a03)):this['_binaryType']===_0x4262bf(0x2d2)?_0x2f3501=new Blob(_0x567441):_0x2f3501=_0x567441,this['_allowSynchronousEvents']?(this['emit'](_0x4262bf(0x210),_0x2f3501,!0x0),this[_0x4262bf(0x249)]=_0x167eb3):(this[_0x4262bf(0x249)]=_0x5e42f6,setImmediate(()=>{const _0x5c8b29=_0x4262bf;this[_0x5c8b29(0x21a)](_0x5c8b29(0x210),_0x2f3501,!0x0),this[_0x5c8b29(0x249)]=_0x167eb3,this['startLoop'](_0x27dede);}));}else{const _0x3e312d=_0x293d69(_0x567441,_0x4e8a03);if(!this[_0x4262bf(0x1d4)]&&!_0xb3bc77(_0x3e312d)){const _0x20be37=this[_0x4262bf(0x211)](Error,_0x4262bf(0x23d),!0x0,0x3ef,_0x4262bf(0x2e8));_0x27dede(_0x20be37);return;}this[_0x4262bf(0x249)]===_0x497459||this[_0x4262bf(0x332)]?(this[_0x4262bf(0x21a)](_0x4262bf(0x210),_0x3e312d,!0x1),this[_0x4262bf(0x249)]=_0x167eb3):(this['_state']=_0x5e42f6,setImmediate(()=>{const _0x3740ca=_0x4262bf;this[_0x3740ca(0x21a)]('message',_0x3e312d,!0x1),this['_state']=_0x167eb3,this[_0x3740ca(0x31b)](_0x27dede);}));}}[_0x14c367(0x256)](_0x541d37,_0x2eaaa6){const _0x1bd122=_0x14c367;if(this[_0x1bd122(0x32f)]===0x8){if(_0x541d37[_0x1bd122(0x1c7)]===0x0)this['_loop']=!0x1,this[_0x1bd122(0x21a)](_0x1bd122(0x23f),0x3ed,_0xa30e0b),this[_0x1bd122(0x27e)]();else{const _0x334587=_0x541d37['readUInt16BE'](0x0);if(!_0x49feb9(_0x334587)){const _0x23dfaa=this[_0x1bd122(0x211)](RangeError,'invalid\x20status\x20code\x20'+_0x334587,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2eaaa6(_0x23dfaa);return;}const _0x36f589=new _0x3f548c(_0x541d37[_0x1bd122(0x216)],_0x541d37[_0x1bd122(0x2ca)]+0x2,_0x541d37[_0x1bd122(0x1c7)]-0x2);if(!this[_0x1bd122(0x1d4)]&&!_0xb3bc77(_0x36f589)){const _0xeeeec4=this['createError'](Error,_0x1bd122(0x23d),!0x0,0x3ef,_0x1bd122(0x2e8));_0x2eaaa6(_0xeeeec4);return;}this['_loop']=!0x1,this[_0x1bd122(0x21a)](_0x1bd122(0x23f),_0x334587,_0x36f589),this[_0x1bd122(0x27e)]();}this[_0x1bd122(0x249)]=_0x167eb3;return;}this[_0x1bd122(0x332)]?(this[_0x1bd122(0x21a)](this[_0x1bd122(0x32f)]===0x9?_0x1bd122(0x26c):'pong',_0x541d37),this[_0x1bd122(0x249)]=_0x167eb3):(this['_state']=_0x5e42f6,setImmediate(()=>{const _0x1795bd=_0x1bd122;this[_0x1795bd(0x21a)](this[_0x1795bd(0x32f)]===0x9?_0x1795bd(0x26c):_0x1795bd(0x1e7),_0x541d37),this[_0x1795bd(0x249)]=_0x167eb3,this['startLoop'](_0x2eaaa6);}));}[_0x14c367(0x211)](_0x33a9dd,_0x5ec73a,_0x2492c1,_0xb6f272,_0x211dd3){const _0x2005c6=_0x14c367;this[_0x2005c6(0x2f4)]=!0x1,this[_0x2005c6(0x291)]=!0x0;const _0x1542c0=new _0x33a9dd(_0x2492c1?_0x2005c6(0x296)+_0x5ec73a:_0x5ec73a);return Error[_0x2005c6(0x24f)](_0x1542c0,this[_0x2005c6(0x211)]),_0x1542c0[_0x2005c6(0x1c1)]=_0x211dd3,_0x1542c0[_0x5403bf]=_0xb6f272,_0x1542c0;}}return Se=_0x44682d,Se;}var Ee,Xe;function ft(){const _0x4516fb=_0x3db353;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1b93d4}=oe,{randomFillSync:_0x243537}=Le,_0x35f9fd=he(),{EMPTY_BUFFER:_0x5e210b,kWebSocket:_0x12cab3,NOOP:_0x22a03d}=H(),{isBlob:_0x443b9e,isValidStatusCode:_0x379d89}=ae(),{mask:_0xcf52da,toBuffer:_0x4ecd06}=ce(),_0x5cac95=Symbol(_0x4516fb(0x1e3)),_0x35c48b=Buffer[_0x4516fb(0x29f)](0x4),_0x337211=0x8*0x400;let _0x2474d2,_0x1355ff=_0x337211;const _0x2e53c9=0x0,_0xb07db7=0x1,_0x4b8338=0x2;class _0x134cbe{constructor(_0x3d6f71,_0x1340db,_0x5b4b72){const _0x24dfcf=_0x4516fb;this['_extensions']=_0x1340db||{},_0x5b4b72&&(this[_0x24dfcf(0x327)]=_0x5b4b72,this['_maskBuffer']=Buffer[_0x24dfcf(0x29f)](0x4)),this[_0x24dfcf(0x1dc)]=_0x3d6f71,this[_0x24dfcf(0x1d6)]=!0x0,this['_compress']=!0x1,this[_0x24dfcf(0x2cc)]=0x0,this['_queue']=[],this['_state']=_0x2e53c9,this[_0x24dfcf(0x1bc)]=_0x22a03d,this[_0x12cab3]=void 0x0;}static[_0x4516fb(0x306)](_0x474538,_0x380eec){const _0x58afce=_0x4516fb;let _0x465da4,_0x51b0f6=!0x1,_0x1ca44b=0x2,_0x3eea26=!0x1;_0x380eec[_0x58afce(0x226)]&&(_0x465da4=_0x380eec[_0x58afce(0x2f5)]||_0x35c48b,_0x380eec[_0x58afce(0x261)]?_0x380eec[_0x58afce(0x261)](_0x465da4):(_0x1355ff===_0x337211&&(_0x2474d2===void 0x0&&(_0x2474d2=Buffer['alloc'](_0x337211)),_0x243537(_0x2474d2,0x0,_0x337211),_0x1355ff=0x0),_0x465da4[0x0]=_0x2474d2[_0x1355ff++],_0x465da4[0x1]=_0x2474d2[_0x1355ff++],_0x465da4[0x2]=_0x2474d2[_0x1355ff++],_0x465da4[0x3]=_0x2474d2[_0x1355ff++]),_0x3eea26=(_0x465da4[0x0]|_0x465da4[0x1]|_0x465da4[0x2]|_0x465da4[0x3])===0x0,_0x1ca44b=0x6);let _0x12cdad;typeof _0x474538==_0x58afce(0x308)?(!_0x380eec[_0x58afce(0x226)]||_0x3eea26)&&_0x380eec[_0x5cac95]!==void 0x0?_0x12cdad=_0x380eec[_0x5cac95]:(_0x474538=Buffer[_0x58afce(0x2a9)](_0x474538),_0x12cdad=_0x474538['length']):(_0x12cdad=_0x474538['length'],_0x51b0f6=_0x380eec[_0x58afce(0x226)]&&_0x380eec[_0x58afce(0x28d)]&&!_0x3eea26);let _0x26503b=_0x12cdad;_0x12cdad>=0x10000?(_0x1ca44b+=0x8,_0x26503b=0x7f):_0x12cdad>0x7d&&(_0x1ca44b+=0x2,_0x26503b=0x7e);const _0x1a93c6=Buffer[_0x58afce(0x2e7)](_0x51b0f6?_0x12cdad+_0x1ca44b:_0x1ca44b);return _0x1a93c6[0x0]=_0x380eec[_0x58afce(0x17f)]?_0x380eec['opcode']|0x80:_0x380eec[_0x58afce(0x2ec)],_0x380eec['rsv1']&&(_0x1a93c6[0x0]|=0x40),_0x1a93c6[0x1]=_0x26503b,_0x26503b===0x7e?_0x1a93c6['writeUInt16BE'](_0x12cdad,0x2):_0x26503b===0x7f&&(_0x1a93c6[0x2]=_0x1a93c6[0x3]=0x0,_0x1a93c6[_0x58afce(0x2a7)](_0x12cdad,0x4,0x6)),_0x380eec['mask']?(_0x1a93c6[0x1]|=0x80,_0x1a93c6[_0x1ca44b-0x4]=_0x465da4[0x0],_0x1a93c6[_0x1ca44b-0x3]=_0x465da4[0x1],_0x1a93c6[_0x1ca44b-0x2]=_0x465da4[0x2],_0x1a93c6[_0x1ca44b-0x1]=_0x465da4[0x3],_0x3eea26?[_0x1a93c6,_0x474538]:_0x51b0f6?(_0xcf52da(_0x474538,_0x465da4,_0x1a93c6,_0x1ca44b,_0x12cdad),[_0x1a93c6]):(_0xcf52da(_0x474538,_0x465da4,_0x474538,0x0,_0x12cdad),[_0x1a93c6,_0x474538])):[_0x1a93c6,_0x474538];}['close'](_0x575ef3,_0x5bc672,_0x20daa3,_0x319054){const _0x36ba4b=_0x4516fb;let _0x56eb1a;if(_0x575ef3===void 0x0)_0x56eb1a=_0x5e210b;else{if(typeof _0x575ef3!=_0x36ba4b(0x1eb)||!_0x379d89(_0x575ef3))throw new TypeError(_0x36ba4b(0x262));if(_0x5bc672===void 0x0||!_0x5bc672['length'])_0x56eb1a=Buffer[_0x36ba4b(0x2e7)](0x2),_0x56eb1a[_0x36ba4b(0x30f)](_0x575ef3,0x0);else{const _0x4dfef8=Buffer[_0x36ba4b(0x2df)](_0x5bc672);if(_0x4dfef8>0x7b)throw new RangeError(_0x36ba4b(0x315));_0x56eb1a=Buffer['allocUnsafe'](0x2+_0x4dfef8),_0x56eb1a[_0x36ba4b(0x30f)](_0x575ef3,0x0),typeof _0x5bc672=='string'?_0x56eb1a['write'](_0x5bc672,0x2):_0x56eb1a[_0x36ba4b(0x1cd)](_0x5bc672,0x2);}}const _0x59eae7={[_0x5cac95]:_0x56eb1a[_0x36ba4b(0x1c7)],'fin':!0x0,'generateMask':this[_0x36ba4b(0x327)],'mask':_0x20daa3,'maskBuffer':this[_0x36ba4b(0x2c7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x36ba4b(0x249)]!==_0x2e53c9?this['enqueue']([this['dispatch'],_0x56eb1a,!0x1,_0x59eae7,_0x319054]):this[_0x36ba4b(0x240)](_0x134cbe[_0x36ba4b(0x306)](_0x56eb1a,_0x59eae7),_0x319054);}[_0x4516fb(0x26c)](_0x16547b,_0x41de02,_0x178b38){const _0x3b895e=_0x4516fb;let _0x7d1744,_0x3a5f62;if(typeof _0x16547b==_0x3b895e(0x308)?(_0x7d1744=Buffer[_0x3b895e(0x2df)](_0x16547b),_0x3a5f62=!0x1):_0x443b9e(_0x16547b)?(_0x7d1744=_0x16547b[_0x3b895e(0x27b)],_0x3a5f62=!0x1):(_0x16547b=_0x4ecd06(_0x16547b),_0x7d1744=_0x16547b[_0x3b895e(0x1c7)],_0x3a5f62=_0x4ecd06[_0x3b895e(0x28d)]),_0x7d1744>0x7d)throw new RangeError(_0x3b895e(0x282));const _0x1b6c0d={[_0x5cac95]:_0x7d1744,'fin':!0x0,'generateMask':this[_0x3b895e(0x327)],'mask':_0x41de02,'maskBuffer':this[_0x3b895e(0x2c7)],'opcode':0x9,'readOnly':_0x3a5f62,'rsv1':!0x1};_0x443b9e(_0x16547b)?this[_0x3b895e(0x249)]!==_0x2e53c9?this[_0x3b895e(0x27d)]([this[_0x3b895e(0x2d8)],_0x16547b,!0x1,_0x1b6c0d,_0x178b38]):this[_0x3b895e(0x2d8)](_0x16547b,!0x1,_0x1b6c0d,_0x178b38):this['_state']!==_0x2e53c9?this[_0x3b895e(0x27d)]([this[_0x3b895e(0x30c)],_0x16547b,!0x1,_0x1b6c0d,_0x178b38]):this[_0x3b895e(0x240)](_0x134cbe['frame'](_0x16547b,_0x1b6c0d),_0x178b38);}[_0x4516fb(0x1e7)](_0x21e1b0,_0x4810b4,_0x10b12d){const _0x3212bc=_0x4516fb;let _0x3966fc,_0x90437d;if(typeof _0x21e1b0==_0x3212bc(0x308)?(_0x3966fc=Buffer['byteLength'](_0x21e1b0),_0x90437d=!0x1):_0x443b9e(_0x21e1b0)?(_0x3966fc=_0x21e1b0[_0x3212bc(0x27b)],_0x90437d=!0x1):(_0x21e1b0=_0x4ecd06(_0x21e1b0),_0x3966fc=_0x21e1b0[_0x3212bc(0x1c7)],_0x90437d=_0x4ecd06[_0x3212bc(0x28d)]),_0x3966fc>0x7d)throw new RangeError(_0x3212bc(0x282));const _0x112736={[_0x5cac95]:_0x3966fc,'fin':!0x0,'generateMask':this[_0x3212bc(0x327)],'mask':_0x4810b4,'maskBuffer':this[_0x3212bc(0x2c7)],'opcode':0xa,'readOnly':_0x90437d,'rsv1':!0x1};_0x443b9e(_0x21e1b0)?this[_0x3212bc(0x249)]!==_0x2e53c9?this[_0x3212bc(0x27d)]([this[_0x3212bc(0x2d8)],_0x21e1b0,!0x1,_0x112736,_0x10b12d]):this['getBlobData'](_0x21e1b0,!0x1,_0x112736,_0x10b12d):this['_state']!==_0x2e53c9?this[_0x3212bc(0x27d)]([this[_0x3212bc(0x30c)],_0x21e1b0,!0x1,_0x112736,_0x10b12d]):this['sendFrame'](_0x134cbe[_0x3212bc(0x306)](_0x21e1b0,_0x112736),_0x10b12d);}[_0x4516fb(0x2e3)](_0x1d386e,_0x49bb85,_0x146218){const _0x2b246b=_0x4516fb,_0x1b3c79=this[_0x2b246b(0x295)][_0x35f9fd[_0x2b246b(0x1d0)]];let _0x2dab33=_0x49bb85['binary']?0x2:0x1,_0x29db0f=_0x49bb85[_0x2b246b(0x230)],_0x40bbec,_0x4f4738;typeof _0x1d386e==_0x2b246b(0x308)?(_0x40bbec=Buffer[_0x2b246b(0x2df)](_0x1d386e),_0x4f4738=!0x1):_0x443b9e(_0x1d386e)?(_0x40bbec=_0x1d386e['size'],_0x4f4738=!0x1):(_0x1d386e=_0x4ecd06(_0x1d386e),_0x40bbec=_0x1d386e[_0x2b246b(0x1c7)],_0x4f4738=_0x4ecd06[_0x2b246b(0x28d)]),this[_0x2b246b(0x1d6)]?(this['_firstFragment']=!0x1,_0x29db0f&&_0x1b3c79&&_0x1b3c79[_0x2b246b(0x2cb)][_0x1b3c79[_0x2b246b(0x2c0)]?'server_no_context_takeover':_0x2b246b(0x17e)]&&(_0x29db0f=_0x40bbec>=_0x1b3c79[_0x2b246b(0x241)]),this[_0x2b246b(0x1a9)]=_0x29db0f):(_0x29db0f=!0x1,_0x2dab33=0x0),_0x49bb85[_0x2b246b(0x17f)]&&(this[_0x2b246b(0x1d6)]=!0x0);const _0x2f554c={[_0x5cac95]:_0x40bbec,'fin':_0x49bb85[_0x2b246b(0x17f)],'generateMask':this[_0x2b246b(0x327)],'mask':_0x49bb85[_0x2b246b(0x226)],'maskBuffer':this[_0x2b246b(0x2c7)],'opcode':_0x2dab33,'readOnly':_0x4f4738,'rsv1':_0x29db0f};_0x443b9e(_0x1d386e)?this[_0x2b246b(0x249)]!==_0x2e53c9?this[_0x2b246b(0x27d)]([this[_0x2b246b(0x2d8)],_0x1d386e,this[_0x2b246b(0x1a9)],_0x2f554c,_0x146218]):this['getBlobData'](_0x1d386e,this['_compress'],_0x2f554c,_0x146218):this[_0x2b246b(0x249)]!==_0x2e53c9?this[_0x2b246b(0x27d)]([this[_0x2b246b(0x30c)],_0x1d386e,this['_compress'],_0x2f554c,_0x146218]):this['dispatch'](_0x1d386e,this[_0x2b246b(0x1a9)],_0x2f554c,_0x146218);}[_0x4516fb(0x2d8)](_0x4e9612,_0x1e7e21,_0x532bfb,_0x5e6f00){const _0x269237=_0x4516fb;this['_bufferedBytes']+=_0x532bfb[_0x5cac95],this[_0x269237(0x249)]=_0x4b8338,_0x4e9612[_0x269237(0x1ee)]()[_0x269237(0x272)](_0x548755=>{const _0x330f1e=_0x269237;if(this[_0x330f1e(0x1dc)][_0x330f1e(0x20c)]){const _0x412c82=new Error(_0x330f1e(0x2db));process['nextTick'](_0x595640,this,_0x412c82,_0x5e6f00);return;}this[_0x330f1e(0x2cc)]-=_0x532bfb[_0x5cac95];const _0x46829e=_0x4ecd06(_0x548755);_0x1e7e21?this[_0x330f1e(0x30c)](_0x46829e,_0x1e7e21,_0x532bfb,_0x5e6f00):(this[_0x330f1e(0x249)]=_0x2e53c9,this[_0x330f1e(0x240)](_0x134cbe[_0x330f1e(0x306)](_0x46829e,_0x532bfb),_0x5e6f00),this[_0x330f1e(0x22a)]());})[_0x269237(0x2e4)](_0x468407=>{const _0x5b6323=_0x269237;process[_0x5b6323(0x209)](_0xfe867f,this,_0x468407,_0x5e6f00);});}[_0x4516fb(0x30c)](_0xfc240b,_0x32eb92,_0x1e205e,_0x31cfc8){const _0x2fff90=_0x4516fb;if(!_0x32eb92){this[_0x2fff90(0x240)](_0x134cbe[_0x2fff90(0x306)](_0xfc240b,_0x1e205e),_0x31cfc8);return;}const _0x34b0c7=this[_0x2fff90(0x295)][_0x35f9fd[_0x2fff90(0x1d0)]];this[_0x2fff90(0x2cc)]+=_0x1e205e[_0x5cac95],this['_state']=_0xb07db7,_0x34b0c7['compress'](_0xfc240b,_0x1e205e['fin'],(_0x1343e6,_0x4b8bd7)=>{const _0x44114b=_0x2fff90;if(this[_0x44114b(0x1dc)][_0x44114b(0x20c)]){const _0x26a1d0=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x595640(this,_0x26a1d0,_0x31cfc8);return;}this['_bufferedBytes']-=_0x1e205e[_0x5cac95],this[_0x44114b(0x249)]=_0x2e53c9,_0x1e205e[_0x44114b(0x28d)]=!0x1,this[_0x44114b(0x240)](_0x134cbe[_0x44114b(0x306)](_0x4b8bd7,_0x1e205e),_0x31cfc8),this['dequeue']();});}['dequeue'](){const _0x48d933=_0x4516fb;for(;this[_0x48d933(0x249)]===_0x2e53c9&&this['_queue'][_0x48d933(0x1c7)];){const _0x2c497f=this[_0x48d933(0x234)][_0x48d933(0x2d6)]();this['_bufferedBytes']-=_0x2c497f[0x3][_0x5cac95],Reflect['apply'](_0x2c497f[0x0],this,_0x2c497f[_0x48d933(0x2ba)](0x1));}}[_0x4516fb(0x27d)](_0x21c2d7){const _0x16b6ea=_0x4516fb;this['_bufferedBytes']+=_0x21c2d7[0x3][_0x5cac95],this[_0x16b6ea(0x234)][_0x16b6ea(0x25b)](_0x21c2d7);}[_0x4516fb(0x240)](_0x524e3c,_0x23aaa8){const _0x2a5f69=_0x4516fb;_0x524e3c[_0x2a5f69(0x1c7)]===0x2?(this[_0x2a5f69(0x1dc)]['cork'](),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x303)](_0x524e3c[0x0]),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x303)](_0x524e3c[0x1],_0x23aaa8),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x334)]()):this[_0x2a5f69(0x1dc)]['write'](_0x524e3c[0x0],_0x23aaa8);}}Ee=_0x134cbe;function _0x595640(_0xc7d458,_0x53d44c,_0x48e732){const _0x58c705=_0x4516fb;typeof _0x48e732==_0x58c705(0x2de)&&_0x48e732(_0x53d44c);for(let _0x52bc68=0x0;_0x52bc68<_0xc7d458[_0x58c705(0x234)][_0x58c705(0x1c7)];_0x52bc68++){const _0x28a5eb=_0xc7d458[_0x58c705(0x234)][_0x52bc68],_0x47fb95=_0x28a5eb[_0x28a5eb['length']-0x1];typeof _0x47fb95=='function'&&_0x47fb95(_0x53d44c);}}function _0xfe867f(_0x49ee92,_0x1c295b,_0x329af5){const _0x30e442=_0x4516fb;_0x595640(_0x49ee92,_0x1c295b,_0x329af5),_0x49ee92[_0x30e442(0x1bc)](_0x1c295b);}return Ee;}var xe,Ze;function It(){const _0x2f7027=_0x3db353;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xb01308,kListener:_0x2c8587}=H(),_0x7ffc98=Symbol('kCode'),_0x3dd6eb=Symbol('kData'),_0x451b1d=Symbol(_0x2f7027(0x189)),_0x20ff2a=Symbol('kMessage'),_0x540bd8=Symbol('kReason'),_0x1ddeaa=Symbol(_0x2f7027(0x27c)),_0x5b89e2=Symbol(_0x2f7027(0x2af)),_0x4df52d=Symbol(_0x2f7027(0x1cf));class _0x90f544{constructor(_0x56bc4f){this[_0x1ddeaa]=null,this[_0x5b89e2]=_0x56bc4f;}get[_0x2f7027(0x1fb)](){return this[_0x1ddeaa];}get[_0x2f7027(0x2fc)](){return this[_0x5b89e2];}}Object[_0x2f7027(0x22c)](_0x90f544[_0x2f7027(0x1f7)],_0x2f7027(0x1fb),{'enumerable':!0x0}),Object[_0x2f7027(0x22c)](_0x90f544['prototype'],_0x2f7027(0x2fc),{'enumerable':!0x0});class _0x12d229 extends _0x90f544{constructor(_0x15b445,_0x45b8a6={}){const _0x12e086=_0x2f7027;super(_0x15b445),this[_0x7ffc98]=_0x45b8a6[_0x12e086(0x1c1)]===void 0x0?0x0:_0x45b8a6[_0x12e086(0x1c1)],this[_0x540bd8]=_0x45b8a6[_0x12e086(0x252)]===void 0x0?'':_0x45b8a6[_0x12e086(0x252)],this[_0x4df52d]=_0x45b8a6['wasClean']===void 0x0?!0x1:_0x45b8a6[_0x12e086(0x1f2)];}get[_0x2f7027(0x1c1)](){return this[_0x7ffc98];}get[_0x2f7027(0x252)](){return this[_0x540bd8];}get[_0x2f7027(0x1f2)](){return this[_0x4df52d];}}Object['defineProperty'](_0x12d229[_0x2f7027(0x1f7)],_0x2f7027(0x1c1),{'enumerable':!0x0}),Object['defineProperty'](_0x12d229['prototype'],'reason',{'enumerable':!0x0}),Object[_0x2f7027(0x22c)](_0x12d229[_0x2f7027(0x1f7)],_0x2f7027(0x1f2),{'enumerable':!0x0});class _0x4bb516 extends _0x90f544{constructor(_0x4f7212,_0x5d7b77={}){const _0x2e33f5=_0x2f7027;super(_0x4f7212),this[_0x451b1d]=_0x5d7b77['error']===void 0x0?null:_0x5d7b77[_0x2e33f5(0x213)],this[_0x20ff2a]=_0x5d7b77[_0x2e33f5(0x210)]===void 0x0?'':_0x5d7b77[_0x2e33f5(0x210)];}get['error'](){return this[_0x451b1d];}get[_0x2f7027(0x210)](){return this[_0x20ff2a];}}Object[_0x2f7027(0x22c)](_0x4bb516[_0x2f7027(0x1f7)],_0x2f7027(0x213),{'enumerable':!0x0}),Object['defineProperty'](_0x4bb516['prototype'],_0x2f7027(0x210),{'enumerable':!0x0});class _0x49ace8 extends _0x90f544{constructor(_0x466f66,_0x402f34={}){const _0xf1475=_0x2f7027;super(_0x466f66),this[_0x3dd6eb]=_0x402f34['data']===void 0x0?null:_0x402f34[_0xf1475(0x2e0)];}get[_0x2f7027(0x2e0)](){return this[_0x3dd6eb];}}Object[_0x2f7027(0x22c)](_0x49ace8['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x12d229,'ErrorEvent':_0x4bb516,'Event':_0x90f544,'EventTarget':{'addEventListener'(_0x539107,_0x5a4984,_0x1cec1e={}){const _0x107ec6=_0x2f7027;for(const _0xa9215b of this['listeners'](_0x539107))if(!_0x1cec1e[_0xb01308]&&_0xa9215b[_0x2c8587]===_0x5a4984&&!_0xa9215b[_0xb01308])return;let _0x1ca28d;if(_0x539107==='message')_0x1ca28d=function(_0x1a6ab7,_0x43013a){const _0x291eb3=_0x3dfb,_0x1153ae=new _0x49ace8(_0x291eb3(0x210),{'data':_0x43013a?_0x1a6ab7:_0x1a6ab7[_0x291eb3(0x31e)]()});_0x1153ae[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x1153ae);};else{if(_0x539107==='close')_0x1ca28d=function(_0x3e2b92,_0x139851){const _0x408e90=_0x3dfb,_0x1a5a44=new _0x12d229(_0x408e90(0x231),{'code':_0x3e2b92,'reason':_0x139851[_0x408e90(0x31e)](),'wasClean':this['_closeFrameReceived']&&this[_0x408e90(0x24b)]});_0x1a5a44[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x1a5a44);};else{if(_0x539107===_0x107ec6(0x213))_0x1ca28d=function(_0x30babd){const _0x59a899=_0x107ec6,_0x11430c=new _0x4bb516(_0x59a899(0x213),{'error':_0x30babd,'message':_0x30babd['message']});_0x11430c[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x11430c);};else{if(_0x539107===_0x107ec6(0x200))_0x1ca28d=function(){const _0x53954e=_0x107ec6,_0x55e9cb=new _0x90f544(_0x53954e(0x200));_0x55e9cb[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x55e9cb);};else return;}}}_0x1ca28d[_0xb01308]=!!_0x1cec1e[_0xb01308],_0x1ca28d[_0x2c8587]=_0x5a4984,_0x1cec1e['once']?this[_0x107ec6(0x33f)](_0x539107,_0x1ca28d):this['on'](_0x539107,_0x1ca28d);},'removeEventListener'(_0xd23190,_0x2a91b9){const _0x2260b9=_0x2f7027;for(const _0x21ef2c of this['listeners'](_0xd23190))if(_0x21ef2c[_0x2c8587]===_0x2a91b9&&!_0x21ef2c[_0xb01308]){this[_0x2260b9(0x225)](_0xd23190,_0x21ef2c);break;}}},'MessageEvent':_0x49ace8};function _0x10fdd0(_0xdd9da4,_0x1d11d4,_0x33aa9f){const _0x272dd4=_0x2f7027;typeof _0xdd9da4=='object'&&_0xdd9da4[_0x272dd4(0x2d0)]?_0xdd9da4[_0x272dd4(0x2d0)]['call'](_0xdd9da4,_0x33aa9f):_0xdd9da4[_0x272dd4(0x1ae)](_0x1d11d4,_0x33aa9f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2e0635}=ae();function _0x30a197(_0x502475,_0x3c3a36,_0x4bc154){const _0x1fc626=_0x3dfb;_0x502475[_0x3c3a36]===void 0x0?_0x502475[_0x3c3a36]=[_0x4bc154]:_0x502475[_0x3c3a36][_0x1fc626(0x25b)](_0x4bc154);}function _0x20eea0(_0x204f28){const _0x2e1f8e=_0x3dfb,_0x38cde3=Object[_0x2e1f8e(0x2ee)](null);let _0x444867=Object['create'](null),_0x15e46e=!0x1,_0x3b7bbb=!0x1,_0x3c7b26=!0x1,_0x55ad05,_0x26ab58,_0x261397=-0x1,_0x45081e=-0x1,_0x2c0733=-0x1,_0x294328=0x0;for(;_0x294328<_0x204f28[_0x2e1f8e(0x1c7)];_0x294328++)if(_0x45081e=_0x204f28[_0x2e1f8e(0x318)](_0x294328),_0x55ad05===void 0x0){if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x294328!==0x0&&(_0x45081e===0x20||_0x45081e===0x9))_0x2c0733===-0x1&&_0x261397!==-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328);const _0x3e4113=_0x204f28['slice'](_0x261397,_0x2c0733);_0x45081e===0x2c?(_0x30a197(_0x38cde3,_0x3e4113,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null)):_0x55ad05=_0x3e4113,_0x261397=_0x2c0733=-0x1;}else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}else{if(_0x26ab58===void 0x0){if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x45081e===0x20||_0x45081e===0x9)_0x2c0733===-0x1&&_0x261397!==-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328),_0x30a197(_0x444867,_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733),!0x0),_0x45081e===0x2c&&(_0x30a197(_0x38cde3,_0x55ad05,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null),_0x55ad05=void 0x0),_0x261397=_0x2c0733=-0x1;}else{if(_0x45081e===0x3d&&_0x261397!==-0x1&&_0x2c0733===-0x1)_0x26ab58=_0x204f28['slice'](_0x261397,_0x294328),_0x261397=_0x2c0733=-0x1;else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}}else{if(_0x3b7bbb){if(_0x2e0635[_0x45081e]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x294328);_0x261397===-0x1?_0x261397=_0x294328:_0x15e46e||(_0x15e46e=!0x0),_0x3b7bbb=!0x1;}else{if(_0x3c7b26){if(_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x45081e===0x22&&_0x261397!==-0x1)_0x3c7b26=!0x1,_0x2c0733=_0x294328;else{if(_0x45081e===0x5c)_0x3b7bbb=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x294328);}}}else{if(_0x45081e===0x22&&_0x204f28[_0x2e1f8e(0x318)](_0x294328-0x1)===0x3d)_0x3c7b26=!0x0;else{if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x261397!==-0x1&&(_0x45081e===0x20||_0x45081e===0x9))_0x2c0733===-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328);let _0x25d74d=_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733);_0x15e46e&&(_0x25d74d=_0x25d74d[_0x2e1f8e(0x299)](/\\/g,''),_0x15e46e=!0x1),_0x30a197(_0x444867,_0x26ab58,_0x25d74d),_0x45081e===0x2c&&(_0x30a197(_0x38cde3,_0x55ad05,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null),_0x55ad05=void 0x0),_0x26ab58=void 0x0,_0x261397=_0x2c0733=-0x1;}else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}}}}}if(_0x261397===-0x1||_0x3c7b26||_0x45081e===0x20||_0x45081e===0x9)throw new SyntaxError(_0x2e1f8e(0x273));_0x2c0733===-0x1&&(_0x2c0733=_0x294328);const _0x59515a=_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733);return _0x55ad05===void 0x0?_0x30a197(_0x38cde3,_0x59515a,_0x444867):(_0x26ab58===void 0x0?_0x30a197(_0x444867,_0x59515a,!0x0):_0x15e46e?_0x30a197(_0x444867,_0x26ab58,_0x59515a[_0x2e1f8e(0x299)](/\\/g,'')):_0x30a197(_0x444867,_0x26ab58,_0x59515a),_0x30a197(_0x38cde3,_0x55ad05,_0x444867)),_0x38cde3;}function _0x4771c6(_0x537793){const _0x425746=_0x3dfb;return Object[_0x425746(0x17c)](_0x537793)[_0x425746(0x206)](_0x57376f=>{const _0x58f6db=_0x425746;let _0x13ffb8=_0x537793[_0x57376f];return Array[_0x58f6db(0x244)](_0x13ffb8)||(_0x13ffb8=[_0x13ffb8]),_0x13ffb8[_0x58f6db(0x206)](_0x634e90=>[_0x57376f]['concat'](Object[_0x58f6db(0x17c)](_0x634e90)[_0x58f6db(0x206)](_0xcc520d=>{const _0x328f5b=_0x58f6db;let _0x1b4f20=_0x634e90[_0xcc520d];return Array[_0x328f5b(0x244)](_0x1b4f20)||(_0x1b4f20=[_0x1b4f20]),_0x1b4f20[_0x328f5b(0x206)](_0x182b43=>_0x182b43===!0x0?_0xcc520d:_0xcc520d+'='+_0x182b43)[_0x328f5b(0x2d9)](';\x20');}))['join'](';\x20'))[_0x58f6db(0x2d9)](',\x20');})['join'](',\x20');}return be={'format':_0x4771c6,'parse':_0x20eea0},be;}var we,Je;function Pe(){const _0x4b9184=_0x3db353;if(Je)return we;Je=0x1;const _0x22b619=nt,_0x56468c=vt,_0x4f8b5f=ot,_0x5652f1=St,_0x344c17=Et,{randomBytes:_0x9d329,createHash:_0x284bc9}=Le,{Duplex:_0x189fdd,Readable:_0x557e77}=oe,{URL:_0x49e01a}=xt,_0x30a77f=he(),_0x52d86e=lt(),_0x715f0d=ft(),{isBlob:_0x21c308}=ae(),{BINARY_TYPES:_0x100d22,EMPTY_BUFFER:_0x117cf2,GUID:_0x27081e,kForOnEventAttribute:_0x3d28a4,kListener:_0x40ff07,kStatusCode:_0x5184ed,kWebSocket:_0x1246ec,NOOP:_0x216727}=H(),{EventTarget:{addEventListener:_0x4c8da1,removeEventListener:_0x273937}}=It(),{format:_0x3e5081,parse:_0x12e4af}=ct(),{toBuffer:_0x298ad3}=ce(),_0x366604=0x1e*0x3e8,_0x33782c=Symbol('kAborted'),_0x12c8c3=[0x8,0xd],_0x3ec96d=[_0x4b9184(0x2b0),_0x4b9184(0x20d),_0x4b9184(0x1c8),_0x4b9184(0x32a)],_0xfcf21=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x199837 extends _0x22b619{constructor(_0x612ca,_0x254dce,_0x4c44c8){const _0x4081f9=_0x4b9184;super(),this[_0x4081f9(0x29d)]=_0x100d22[0x0],this[_0x4081f9(0x2e6)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4081f9(0x24b)]=!0x1,this[_0x4081f9(0x1fd)]=_0x117cf2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x4081f9(0x19e)]=!0x1,this['_protocol']='',this['_readyState']=_0x199837[_0x4081f9(0x2b0)],this[_0x4081f9(0x269)]=null,this[_0x4081f9(0x25c)]=null,this[_0x4081f9(0x1dc)]=null,_0x612ca!==null?(this[_0x4081f9(0x1e1)]=0x0,this[_0x4081f9(0x2c0)]=!0x1,this['_redirects']=0x0,_0x254dce===void 0x0?_0x254dce=[]:Array[_0x4081f9(0x244)](_0x254dce)||(typeof _0x254dce==_0x4081f9(0x18b)&&_0x254dce!==null?(_0x4c44c8=_0x254dce,_0x254dce=[]):_0x254dce=[_0x254dce]),_0x992c47(this,_0x612ca,_0x254dce,_0x4c44c8)):(this['_autoPong']=_0x4c44c8[_0x4081f9(0x1f8)],this[_0x4081f9(0x2c0)]=!0x0);}get[_0x4b9184(0x30e)](){const _0x53ee0b=_0x4b9184;return this[_0x53ee0b(0x29d)];}set[_0x4b9184(0x30e)](_0x18cb68){const _0x378818=_0x4b9184;_0x100d22['includes'](_0x18cb68)&&(this['_binaryType']=_0x18cb68,this[_0x378818(0x269)]&&(this[_0x378818(0x269)][_0x378818(0x29d)]=_0x18cb68));}get[_0x4b9184(0x28e)](){const _0x34e87d=_0x4b9184;return this['_socket']?this[_0x34e87d(0x1dc)][_0x34e87d(0x335)][_0x34e87d(0x1c7)]+this['_sender'][_0x34e87d(0x2cc)]:this['_bufferedAmount'];}get[_0x4b9184(0x1a6)](){const _0x520c70=_0x4b9184;return Object[_0x520c70(0x17c)](this[_0x520c70(0x295)])['join']();}get[_0x4b9184(0x2a8)](){const _0x1f4a32=_0x4b9184;return this[_0x1f4a32(0x19e)];}get[_0x4b9184(0x28b)](){return null;}get[_0x4b9184(0x1bc)](){return null;}get[_0x4b9184(0x1c3)](){return null;}get[_0x4b9184(0x1b5)](){return null;}get['protocol'](){const _0x2010d3=_0x4b9184;return this[_0x2010d3(0x1e4)];}get['readyState'](){const _0x49f1ab=_0x4b9184;return this[_0x49f1ab(0x1fc)];}get[_0x4b9184(0x1a5)](){return this['_url'];}[_0x4b9184(0x2ef)](_0x32335b,_0x3e1741,_0x57cff3){const _0x27da3f=_0x4b9184,_0x1d6b44=new _0x52d86e({'allowSynchronousEvents':_0x57cff3[_0x27da3f(0x183)],'binaryType':this[_0x27da3f(0x30e)],'extensions':this['_extensions'],'isServer':this[_0x27da3f(0x2c0)],'maxPayload':_0x57cff3['maxPayload'],'skipUTF8Validation':_0x57cff3[_0x27da3f(0x1f0)]}),_0x1ef6ef=new _0x715f0d(_0x32335b,this['_extensions'],_0x57cff3['generateMask']);this[_0x27da3f(0x269)]=_0x1d6b44,this[_0x27da3f(0x25c)]=_0x1ef6ef,this[_0x27da3f(0x1dc)]=_0x32335b,_0x1d6b44[_0x1246ec]=this,_0x1ef6ef[_0x1246ec]=this,_0x32335b[_0x1246ec]=this,_0x1d6b44['on'](_0x27da3f(0x23f),_0x172fb7),_0x1d6b44['on']('drain',_0x1f2ac7),_0x1d6b44['on'](_0x27da3f(0x213),_0x18a2da),_0x1d6b44['on'](_0x27da3f(0x210),_0x5cfd9a),_0x1d6b44['on'](_0x27da3f(0x26c),_0x1386d6),_0x1d6b44['on'](_0x27da3f(0x1e7),_0xf2e38f),_0x1ef6ef[_0x27da3f(0x1bc)]=_0x443dc6,_0x32335b[_0x27da3f(0x22e)]&&_0x32335b[_0x27da3f(0x22e)](0x0),_0x32335b[_0x27da3f(0x214)]&&_0x32335b['setNoDelay'](),_0x3e1741[_0x27da3f(0x1c7)]>0x0&&_0x32335b['unshift'](_0x3e1741),_0x32335b['on'](_0x27da3f(0x231),_0x432460),_0x32335b['on'](_0x27da3f(0x2e0),_0x5e61c3),_0x32335b['on'](_0x27da3f(0x27e),_0x977a33),_0x32335b['on'](_0x27da3f(0x213),_0x1764d1),this[_0x27da3f(0x1fc)]=_0x199837[_0x27da3f(0x20d)],this[_0x27da3f(0x21a)](_0x27da3f(0x200));}[_0x4b9184(0x33b)](){const _0x46ce65=_0x4b9184;if(!this[_0x46ce65(0x1dc)]){this['_readyState']=_0x199837['CLOSED'],this['emit'](_0x46ce65(0x231),this['_closeCode'],this[_0x46ce65(0x1fd)]);return;}this[_0x46ce65(0x295)][_0x30a77f[_0x46ce65(0x1d0)]]&&this['_extensions'][_0x30a77f['extensionName']][_0x46ce65(0x292)](),this[_0x46ce65(0x269)][_0x46ce65(0x1ff)](),this['_readyState']=_0x199837[_0x46ce65(0x32a)],this['emit'](_0x46ce65(0x231),this[_0x46ce65(0x2e6)],this['_closeMessage']);}[_0x4b9184(0x231)](_0x14569d,_0x27b843){const _0x23863f=_0x4b9184;if(this['readyState']!==_0x199837['CLOSED']){if(this[_0x23863f(0x18e)]===_0x199837[_0x23863f(0x2b0)]){_0x85a41(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x199837['CLOSING']){this[_0x23863f(0x24b)]&&(this[_0x23863f(0x2c4)]||this[_0x23863f(0x269)][_0x23863f(0x335)][_0x23863f(0x287)])&&this[_0x23863f(0x1dc)][_0x23863f(0x27e)]();return;}this['_readyState']=_0x199837['CLOSING'],this[_0x23863f(0x25c)]['close'](_0x14569d,_0x27b843,!this[_0x23863f(0x2c0)],_0x45bff3=>{const _0x45ca96=_0x23863f;_0x45bff3||(this[_0x45ca96(0x24b)]=!0x0,(this['_closeFrameReceived']||this[_0x45ca96(0x269)]['_writableState'][_0x45ca96(0x287)])&&this['_socket'][_0x45ca96(0x27e)]());}),_0x535043(this);}}['pause'](){const _0x240bf7=_0x4b9184;this[_0x240bf7(0x18e)]===_0x199837[_0x240bf7(0x2b0)]||this[_0x240bf7(0x18e)]===_0x199837['CLOSED']||(this['_paused']=!0x0,this[_0x240bf7(0x1dc)][_0x240bf7(0x298)]());}['ping'](_0x224b70,_0x395826,_0x3d3c91){const _0x55f91e=_0x4b9184;if(this['readyState']===_0x199837[_0x55f91e(0x2b0)])throw new Error(_0x55f91e(0x2a3));if(typeof _0x224b70==_0x55f91e(0x2de)?(_0x3d3c91=_0x224b70,_0x224b70=_0x395826=void 0x0):typeof _0x395826=='function'&&(_0x3d3c91=_0x395826,_0x395826=void 0x0),typeof _0x224b70=='number'&&(_0x224b70=_0x224b70[_0x55f91e(0x31e)]()),this[_0x55f91e(0x18e)]!==_0x199837[_0x55f91e(0x20d)]){_0x11a393(this,_0x224b70,_0x3d3c91);return;}_0x395826===void 0x0&&(_0x395826=!this[_0x55f91e(0x2c0)]),this[_0x55f91e(0x25c)][_0x55f91e(0x26c)](_0x224b70||_0x117cf2,_0x395826,_0x3d3c91);}[_0x4b9184(0x1e7)](_0x484289,_0x3e0802,_0x54816c){const _0x2715d0=_0x4b9184;if(this[_0x2715d0(0x18e)]===_0x199837[_0x2715d0(0x2b0)])throw new Error(_0x2715d0(0x2a3));if(typeof _0x484289==_0x2715d0(0x2de)?(_0x54816c=_0x484289,_0x484289=_0x3e0802=void 0x0):typeof _0x3e0802==_0x2715d0(0x2de)&&(_0x54816c=_0x3e0802,_0x3e0802=void 0x0),typeof _0x484289==_0x2715d0(0x1eb)&&(_0x484289=_0x484289[_0x2715d0(0x31e)]()),this[_0x2715d0(0x18e)]!==_0x199837[_0x2715d0(0x20d)]){_0x11a393(this,_0x484289,_0x54816c);return;}_0x3e0802===void 0x0&&(_0x3e0802=!this[_0x2715d0(0x2c0)]),this[_0x2715d0(0x25c)][_0x2715d0(0x1e7)](_0x484289||_0x117cf2,_0x3e0802,_0x54816c);}[_0x4b9184(0x276)](){const _0x5a94ad=_0x4b9184;this[_0x5a94ad(0x18e)]===_0x199837[_0x5a94ad(0x2b0)]||this['readyState']===_0x199837[_0x5a94ad(0x32a)]||(this[_0x5a94ad(0x19e)]=!0x1,this['_receiver'][_0x5a94ad(0x335)][_0x5a94ad(0x325)]||this[_0x5a94ad(0x1dc)][_0x5a94ad(0x276)]());}['send'](_0x536aeb,_0x2fbe15,_0x293c1b){const _0x59c4a4=_0x4b9184;if(this['readyState']===_0x199837[_0x59c4a4(0x2b0)])throw new Error(_0x59c4a4(0x2a3));if(typeof _0x2fbe15=='function'&&(_0x293c1b=_0x2fbe15,_0x2fbe15={}),typeof _0x536aeb==_0x59c4a4(0x1eb)&&(_0x536aeb=_0x536aeb[_0x59c4a4(0x31e)]()),this[_0x59c4a4(0x18e)]!==_0x199837[_0x59c4a4(0x20d)]){_0x11a393(this,_0x536aeb,_0x293c1b);return;}const _0x51c3dd={'binary':typeof _0x536aeb!=_0x59c4a4(0x308),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2fbe15};this[_0x59c4a4(0x295)][_0x30a77f[_0x59c4a4(0x1d0)]]||(_0x51c3dd['compress']=!0x1),this[_0x59c4a4(0x25c)][_0x59c4a4(0x2e3)](_0x536aeb||_0x117cf2,_0x51c3dd,_0x293c1b);}[_0x4b9184(0x23b)](){const _0x11559d=_0x4b9184;if(this[_0x11559d(0x18e)]!==_0x199837[_0x11559d(0x32a)]){if(this[_0x11559d(0x18e)]===_0x199837[_0x11559d(0x2b0)]){_0x85a41(this,this[_0x11559d(0x1de)],_0x11559d(0x1e0));return;}this['_socket']&&(this[_0x11559d(0x1fc)]=_0x199837[_0x11559d(0x1c8)],this['_socket']['destroy']());}}}Object[_0x4b9184(0x22c)](_0x199837,_0x4b9184(0x2b0),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x2b0))}),Object['defineProperty'](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x2b0),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x2b0))}),Object[_0x4b9184(0x22c)](_0x199837,'OPEN',{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)]('OPEN')}),Object['defineProperty'](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x20d),{'enumerable':!0x0,'value':_0x3ec96d['indexOf'](_0x4b9184(0x20d))}),Object[_0x4b9184(0x22c)](_0x199837,_0x4b9184(0x1c8),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x1c8))}),Object[_0x4b9184(0x22c)](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x1c8),{'enumerable':!0x0,'value':_0x3ec96d['indexOf'](_0x4b9184(0x1c8))}),Object[_0x4b9184(0x22c)](_0x199837,'CLOSED',{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x32a))}),Object[_0x4b9184(0x22c)](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x32a),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x32a))}),['binaryType',_0x4b9184(0x28e),_0x4b9184(0x1a6),_0x4b9184(0x2a8),_0x4b9184(0x33c),_0x4b9184(0x18e),_0x4b9184(0x1a5)]['forEach'](_0x32a087=>{const _0x5b4942=_0x4b9184;Object[_0x5b4942(0x22c)](_0x199837['prototype'],_0x32a087,{'enumerable':!0x0});}),[_0x4b9184(0x200),_0x4b9184(0x213),_0x4b9184(0x231),'message'][_0x4b9184(0x1b0)](_0x10f109=>{const _0xadd44c=_0x4b9184;Object['defineProperty'](_0x199837[_0xadd44c(0x1f7)],'on'+_0x10f109,{'enumerable':!0x0,'get'(){const _0x4a2af6=_0xadd44c;for(const _0x5d8cc5 of this[_0x4a2af6(0x1c9)](_0x10f109))if(_0x5d8cc5[_0x3d28a4])return _0x5d8cc5[_0x40ff07];return null;},'set'(_0x127706){const _0x45de3d=_0xadd44c;for(const _0x5adcfa of this[_0x45de3d(0x1c9)](_0x10f109))if(_0x5adcfa[_0x3d28a4]){this[_0x45de3d(0x225)](_0x10f109,_0x5adcfa);break;}typeof _0x127706==_0x45de3d(0x2de)&&this[_0x45de3d(0x255)](_0x10f109,_0x127706,{[_0x3d28a4]:!0x0});}});}),_0x199837[_0x4b9184(0x1f7)][_0x4b9184(0x255)]=_0x4c8da1,_0x199837[_0x4b9184(0x1f7)][_0x4b9184(0x215)]=_0x273937,we=_0x199837;function _0x992c47(_0x16a11d,_0x139bd1,_0x1e7d23,_0x268c02){const _0x38b6e2=_0x4b9184,_0x5a4b4d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12c8c3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x268c02,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x16a11d['_autoPong']=_0x5a4b4d['autoPong'],!_0x12c8c3[_0x38b6e2(0x2e2)](_0x5a4b4d[_0x38b6e2(0x314)]))throw new RangeError(_0x38b6e2(0x178)+_0x5a4b4d[_0x38b6e2(0x314)]+_0x38b6e2(0x1ef)+_0x12c8c3[_0x38b6e2(0x2d9)](',\x20')+')');let _0x39c886;if(_0x139bd1 instanceof _0x49e01a)_0x39c886=_0x139bd1;else try{_0x39c886=new _0x49e01a(_0x139bd1);}catch{throw new SyntaxError(_0x38b6e2(0x307)+_0x139bd1);}_0x39c886[_0x38b6e2(0x33c)]==='http:'?_0x39c886['protocol']='ws:':_0x39c886[_0x38b6e2(0x33c)]===_0x38b6e2(0x2d5)&&(_0x39c886[_0x38b6e2(0x33c)]=_0x38b6e2(0x1ba)),_0x16a11d[_0x38b6e2(0x1e8)]=_0x39c886[_0x38b6e2(0x2fe)];const _0x327dad=_0x39c886[_0x38b6e2(0x33c)]==='wss:',_0x1bb5b5=_0x39c886[_0x38b6e2(0x33c)]===_0x38b6e2(0x250);let _0x433dfa;if(_0x39c886[_0x38b6e2(0x33c)]!==_0x38b6e2(0x24e)&&!_0x327dad&&!_0x1bb5b5?_0x433dfa=_0x38b6e2(0x2f6):_0x1bb5b5&&!_0x39c886[_0x38b6e2(0x2be)]?_0x433dfa='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x39c886[_0x38b6e2(0x2ad)]&&(_0x433dfa='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x433dfa){const _0x387072=new SyntaxError(_0x433dfa);if(_0x16a11d['_redirects']===0x0)throw _0x387072;_0x19f2e0(_0x16a11d,_0x387072);return;}const _0x7d9d4=_0x327dad?0x1bb:0x50,_0x163912=_0x9d329(0x10)[_0x38b6e2(0x31e)](_0x38b6e2(0x281)),_0x4edf29=_0x327dad?_0x56468c[_0x38b6e2(0x1f3)]:_0x4f8b5f[_0x38b6e2(0x1f3)],_0x369116=new Set();let _0x59068c;if(_0x5a4b4d[_0x38b6e2(0x227)]=_0x5a4b4d['createConnection']||(_0x327dad?_0x28488a:_0x3bbe9b),_0x5a4b4d[_0x38b6e2(0x297)]=_0x5a4b4d[_0x38b6e2(0x297)]||_0x7d9d4,_0x5a4b4d[_0x38b6e2(0x22d)]=_0x39c886[_0x38b6e2(0x22d)]||_0x7d9d4,_0x5a4b4d['host']=_0x39c886['hostname'][_0x38b6e2(0x1e6)]('[')?_0x39c886['hostname']['slice'](0x1,-0x1):_0x39c886[_0x38b6e2(0x1af)],_0x5a4b4d[_0x38b6e2(0x2aa)]={..._0x5a4b4d[_0x38b6e2(0x2aa)],'Sec-WebSocket-Version':_0x5a4b4d[_0x38b6e2(0x314)],'Sec-WebSocket-Key':_0x163912,'Connection':_0x38b6e2(0x201),'Upgrade':'websocket'},_0x5a4b4d['path']=_0x39c886['pathname']+_0x39c886[_0x38b6e2(0x1aa)],_0x5a4b4d[_0x38b6e2(0x191)]=_0x5a4b4d[_0x38b6e2(0x257)],_0x5a4b4d[_0x38b6e2(0x259)]&&(_0x59068c=new _0x30a77f(_0x5a4b4d[_0x38b6e2(0x259)]!==!0x0?_0x5a4b4d[_0x38b6e2(0x259)]:{},!0x1,_0x5a4b4d[_0x38b6e2(0x312)]),_0x5a4b4d[_0x38b6e2(0x2aa)]['Sec-WebSocket-Extensions']=_0x3e5081({[_0x30a77f['extensionName']]:_0x59068c[_0x38b6e2(0x268)]()})),_0x1e7d23[_0x38b6e2(0x1c7)]){for(const _0x5d1c7c of _0x1e7d23){if(typeof _0x5d1c7c!=_0x38b6e2(0x308)||!_0xfcf21['test'](_0x5d1c7c)||_0x369116['has'](_0x5d1c7c))throw new SyntaxError(_0x38b6e2(0x32e));_0x369116[_0x38b6e2(0x2bc)](_0x5d1c7c);}_0x5a4b4d['headers'][_0x38b6e2(0x2c2)]=_0x1e7d23['join'](',');}if(_0x5a4b4d['origin']&&(_0x5a4b4d[_0x38b6e2(0x314)]<0xd?_0x5a4b4d[_0x38b6e2(0x2aa)]['Sec-WebSocket-Origin']=_0x5a4b4d[_0x38b6e2(0x19f)]:_0x5a4b4d[_0x38b6e2(0x2aa)][_0x38b6e2(0x31c)]=_0x5a4b4d[_0x38b6e2(0x19f)]),(_0x39c886[_0x38b6e2(0x2ed)]||_0x39c886['password'])&&(_0x5a4b4d[_0x38b6e2(0x237)]=_0x39c886[_0x38b6e2(0x2ed)]+':'+_0x39c886['password']),_0x1bb5b5){const _0x1a8a3f=_0x5a4b4d[_0x38b6e2(0x321)]['split'](':');_0x5a4b4d[_0x38b6e2(0x2d1)]=_0x1a8a3f[0x0],_0x5a4b4d[_0x38b6e2(0x321)]=_0x1a8a3f[0x1];}let _0x21fbcb;if(_0x5a4b4d['followRedirects']){if(_0x16a11d['_redirects']===0x0){_0x16a11d['_originalIpc']=_0x1bb5b5,_0x16a11d['_originalSecure']=_0x327dad,_0x16a11d['_originalHostOrSocketPath']=_0x1bb5b5?_0x5a4b4d[_0x38b6e2(0x2d1)]:_0x39c886[_0x38b6e2(0x2fd)];const _0x3e5dab=_0x268c02&&_0x268c02[_0x38b6e2(0x2aa)];if(_0x268c02={..._0x268c02,'headers':{}},_0x3e5dab){for(const [_0x42a383,_0x4015c4]of Object[_0x38b6e2(0x28f)](_0x3e5dab))_0x268c02[_0x38b6e2(0x2aa)][_0x42a383[_0x38b6e2(0x337)]()]=_0x4015c4;}}else{if(_0x16a11d[_0x38b6e2(0x203)]('redirect')===0x0){const _0x41381c=_0x1bb5b5?_0x16a11d[_0x38b6e2(0x2f3)]?_0x5a4b4d['socketPath']===_0x16a11d[_0x38b6e2(0x1ce)]:!0x1:_0x16a11d['_originalIpc']?!0x1:_0x39c886[_0x38b6e2(0x2fd)]===_0x16a11d[_0x38b6e2(0x1ce)];(!_0x41381c||_0x16a11d[_0x38b6e2(0x205)]&&!_0x327dad)&&(delete _0x5a4b4d[_0x38b6e2(0x2aa)][_0x38b6e2(0x1e9)],delete _0x5a4b4d[_0x38b6e2(0x2aa)]['cookie'],_0x41381c||delete _0x5a4b4d['headers'][_0x38b6e2(0x2fd)],_0x5a4b4d['auth']=void 0x0);}}_0x5a4b4d['auth']&&!_0x268c02[_0x38b6e2(0x2aa)][_0x38b6e2(0x1e9)]&&(_0x268c02['headers'][_0x38b6e2(0x1e9)]=_0x38b6e2(0x1d1)+Buffer['from'](_0x5a4b4d[_0x38b6e2(0x237)])[_0x38b6e2(0x31e)]('base64')),_0x21fbcb=_0x16a11d['_req']=_0x4edf29(_0x5a4b4d),_0x16a11d['_redirects']&&_0x16a11d[_0x38b6e2(0x21a)](_0x38b6e2(0x2eb),_0x16a11d[_0x38b6e2(0x1a5)],_0x21fbcb);}else _0x21fbcb=_0x16a11d[_0x38b6e2(0x1de)]=_0x4edf29(_0x5a4b4d);_0x5a4b4d[_0x38b6e2(0x191)]&&_0x21fbcb['on']('timeout',()=>{const _0xb36deb=_0x38b6e2;_0x85a41(_0x16a11d,_0x21fbcb,_0xb36deb(0x2a2));}),_0x21fbcb['on'](_0x38b6e2(0x213),_0x369b72=>{const _0xad1ab4=_0x38b6e2;_0x21fbcb===null||_0x21fbcb[_0x33782c]||(_0x21fbcb=_0x16a11d[_0xad1ab4(0x1de)]=null,_0x19f2e0(_0x16a11d,_0x369b72));}),_0x21fbcb['on'](_0x38b6e2(0x331),_0x5bd07e=>{const _0x39ca7b=_0x38b6e2,_0x202806=_0x5bd07e[_0x39ca7b(0x2aa)][_0x39ca7b(0x2f8)],_0x28758a=_0x5bd07e[_0x39ca7b(0x1dd)];if(_0x202806&&_0x5a4b4d['followRedirects']&&_0x28758a>=0x12c&&_0x28758a<0x190){if(++_0x16a11d[_0x39ca7b(0x1b1)]>_0x5a4b4d[_0x39ca7b(0x17a)]){_0x85a41(_0x16a11d,_0x21fbcb,_0x39ca7b(0x29c));return;}_0x21fbcb[_0x39ca7b(0x258)]();let _0x1b167a;try{_0x1b167a=new _0x49e01a(_0x202806,_0x139bd1);}catch{const _0x10ade0=new SyntaxError(_0x39ca7b(0x307)+_0x202806);_0x19f2e0(_0x16a11d,_0x10ade0);return;}_0x992c47(_0x16a11d,_0x1b167a,_0x1e7d23,_0x268c02);}else _0x16a11d[_0x39ca7b(0x21a)](_0x39ca7b(0x29a),_0x21fbcb,_0x5bd07e)||_0x85a41(_0x16a11d,_0x21fbcb,_0x39ca7b(0x247)+_0x5bd07e[_0x39ca7b(0x1dd)]);}),_0x21fbcb['on']('upgrade',(_0x20e28c,_0x511741,_0x1d7438)=>{const _0x35e753=_0x38b6e2;if(_0x16a11d[_0x35e753(0x21a)](_0x35e753(0x305),_0x20e28c),_0x16a11d[_0x35e753(0x18e)]!==_0x199837[_0x35e753(0x2b0)])return;_0x21fbcb=_0x16a11d[_0x35e753(0x1de)]=null;const _0x39d46f=_0x20e28c[_0x35e753(0x2aa)]['upgrade'];if(_0x39d46f===void 0x0||_0x39d46f[_0x35e753(0x337)]()!==_0x35e753(0x2b7)){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x248));return;}const _0x86a597=_0x284bc9(_0x35e753(0x1b8))[_0x35e753(0x1c5)](_0x163912+_0x27081e)[_0x35e753(0x24a)](_0x35e753(0x281));if(_0x20e28c['headers'][_0x35e753(0x1ad)]!==_0x86a597){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x27f));return;}const _0x2109fa=_0x20e28c['headers'][_0x35e753(0x254)];let _0x168fc1;if(_0x2109fa!==void 0x0?_0x369116[_0x35e753(0x27b)]?_0x369116[_0x35e753(0x18c)](_0x2109fa)||(_0x168fc1=_0x35e753(0x1cb)):_0x168fc1='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x369116[_0x35e753(0x27b)]&&(_0x168fc1='Server\x20sent\x20no\x20subprotocol'),_0x168fc1){_0x85a41(_0x16a11d,_0x511741,_0x168fc1);return;}_0x2109fa&&(_0x16a11d[_0x35e753(0x1e4)]=_0x2109fa);const _0x2787d8=_0x20e28c[_0x35e753(0x2aa)]['sec-websocket-extensions'];if(_0x2787d8!==void 0x0){if(!_0x59068c){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x283));return;}let _0x34ffcc;try{_0x34ffcc=_0x12e4af(_0x2787d8);}catch{_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x1ec));return;}const _0x53b095=Object[_0x35e753(0x17c)](_0x34ffcc);if(_0x53b095['length']!==0x1||_0x53b095[0x0]!==_0x30a77f['extensionName']){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x2bd));return;}try{_0x59068c[_0x35e753(0x319)](_0x34ffcc[_0x30a77f[_0x35e753(0x1d0)]]);}catch{_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x1ec));return;}_0x16a11d[_0x35e753(0x295)][_0x30a77f[_0x35e753(0x1d0)]]=_0x59068c;}_0x16a11d['setSocket'](_0x511741,_0x1d7438,{'allowSynchronousEvents':_0x5a4b4d[_0x35e753(0x183)],'generateMask':_0x5a4b4d['generateMask'],'maxPayload':_0x5a4b4d[_0x35e753(0x312)],'skipUTF8Validation':_0x5a4b4d['skipUTF8Validation']});}),_0x5a4b4d[_0x38b6e2(0x289)]?_0x5a4b4d[_0x38b6e2(0x289)](_0x21fbcb,_0x16a11d):_0x21fbcb[_0x38b6e2(0x27e)]();}function _0x19f2e0(_0x1d88a0,_0x3c4f57){const _0x4768fc=_0x4b9184;_0x1d88a0['_readyState']=_0x199837[_0x4768fc(0x1c8)],_0x1d88a0[_0x4768fc(0x23a)]=!0x0,_0x1d88a0[_0x4768fc(0x21a)](_0x4768fc(0x213),_0x3c4f57),_0x1d88a0[_0x4768fc(0x33b)]();}function _0x3bbe9b(_0x45f62b){const _0x4591fd=_0x4b9184;return _0x45f62b[_0x4591fd(0x321)]=_0x45f62b['socketPath'],_0x5652f1[_0x4591fd(0x31d)](_0x45f62b);}function _0x28488a(_0x2e04b2){const _0x3ac6fe=_0x4b9184;return _0x2e04b2[_0x3ac6fe(0x321)]=void 0x0,!_0x2e04b2['servername']&&_0x2e04b2[_0x3ac6fe(0x1b6)]!==''&&(_0x2e04b2['servername']=_0x5652f1[_0x3ac6fe(0x31f)](_0x2e04b2['host'])?'':_0x2e04b2[_0x3ac6fe(0x2fd)]),_0x344c17[_0x3ac6fe(0x31d)](_0x2e04b2);}function _0x85a41(_0x36a9ec,_0x58086d,_0x58e5de){const _0x574448=_0x4b9184;_0x36a9ec[_0x574448(0x1fc)]=_0x199837[_0x574448(0x1c8)];const _0x455078=new Error(_0x58e5de);Error[_0x574448(0x24f)](_0x455078,_0x85a41),_0x58086d[_0x574448(0x25e)]?(_0x58086d[_0x33782c]=!0x0,_0x58086d['abort'](),_0x58086d[_0x574448(0x2fb)]&&!_0x58086d[_0x574448(0x2fb)][_0x574448(0x20c)]&&_0x58086d[_0x574448(0x2fb)][_0x574448(0x320)](),process[_0x574448(0x209)](_0x19f2e0,_0x36a9ec,_0x455078)):(_0x58086d[_0x574448(0x320)](_0x455078),_0x58086d[_0x574448(0x33f)]('error',_0x36a9ec[_0x574448(0x21a)][_0x574448(0x2b5)](_0x36a9ec,_0x574448(0x213))),_0x58086d[_0x574448(0x33f)]('close',_0x36a9ec[_0x574448(0x33b)][_0x574448(0x2b5)](_0x36a9ec)));}function _0x11a393(_0x4d7152,_0x2bbeac,_0x19bdf2){const _0x5a5f56=_0x4b9184;if(_0x2bbeac){const _0x2aeb8f=_0x21c308(_0x2bbeac)?_0x2bbeac[_0x5a5f56(0x27b)]:_0x298ad3(_0x2bbeac)[_0x5a5f56(0x1c7)];_0x4d7152['_socket']?_0x4d7152[_0x5a5f56(0x25c)][_0x5a5f56(0x2cc)]+=_0x2aeb8f:_0x4d7152[_0x5a5f56(0x1e1)]+=_0x2aeb8f;}if(_0x19bdf2){const _0x549b0b=new Error(_0x5a5f56(0x246)+_0x4d7152[_0x5a5f56(0x18e)]+'\x20('+_0x3ec96d[_0x4d7152[_0x5a5f56(0x18e)]]+')');process[_0x5a5f56(0x209)](_0x19bdf2,_0x549b0b);}}function _0x172fb7(_0x135b34,_0x1557e6){const _0x5625cd=_0x4b9184,_0x49af81=this[_0x1246ec];_0x49af81['_closeFrameReceived']=!0x0,_0x49af81[_0x5625cd(0x1fd)]=_0x1557e6,_0x49af81['_closeCode']=_0x135b34,_0x49af81['_socket'][_0x1246ec]!==void 0x0&&(_0x49af81['_socket']['removeListener'](_0x5625cd(0x2e0),_0x5e61c3),process[_0x5625cd(0x209)](_0x2f486b,_0x49af81['_socket']),_0x135b34===0x3ed?_0x49af81['close']():_0x49af81['close'](_0x135b34,_0x1557e6));}function _0x1f2ac7(){const _0x218d96=_0x4b9184,_0x4038cf=this[_0x1246ec];_0x4038cf[_0x218d96(0x2a8)]||_0x4038cf['_socket'][_0x218d96(0x276)]();}function _0x18a2da(_0x4e68bd){const _0x1e1713=_0x4b9184,_0x335b0d=this[_0x1246ec];_0x335b0d[_0x1e1713(0x1dc)][_0x1246ec]!==void 0x0&&(_0x335b0d[_0x1e1713(0x1dc)][_0x1e1713(0x225)](_0x1e1713(0x2e0),_0x5e61c3),process['nextTick'](_0x2f486b,_0x335b0d['_socket']),_0x335b0d[_0x1e1713(0x231)](_0x4e68bd[_0x5184ed])),_0x335b0d[_0x1e1713(0x23a)]||(_0x335b0d[_0x1e1713(0x23a)]=!0x0,_0x335b0d[_0x1e1713(0x21a)]('error',_0x4e68bd));}function _0x2a9ea7(){const _0x3100d1=_0x4b9184;this[_0x1246ec][_0x3100d1(0x33b)]();}function _0x5cfd9a(_0x393c8b,_0x3e7390){const _0x32b36b=_0x4b9184;this[_0x1246ec][_0x32b36b(0x21a)]('message',_0x393c8b,_0x3e7390);}function _0x1386d6(_0x2152d7){const _0x4b64e3=_0x4b9184,_0x1bc887=this[_0x1246ec];_0x1bc887[_0x4b64e3(0x304)]&&_0x1bc887['pong'](_0x2152d7,!this[_0x4b64e3(0x2c0)],_0x216727),_0x1bc887[_0x4b64e3(0x21a)](_0x4b64e3(0x26c),_0x2152d7);}function _0xf2e38f(_0x405952){const _0x50027a=_0x4b9184;this[_0x1246ec][_0x50027a(0x21a)](_0x50027a(0x1e7),_0x405952);}function _0x2f486b(_0x5f3c4d){_0x5f3c4d['resume']();}function _0x443dc6(_0x31fcd3){const _0x5cc9fd=_0x4b9184,_0x9eb97c=this[_0x1246ec];_0x9eb97c[_0x5cc9fd(0x18e)]!==_0x199837['CLOSED']&&(_0x9eb97c[_0x5cc9fd(0x18e)]===_0x199837['OPEN']&&(_0x9eb97c[_0x5cc9fd(0x1fc)]=_0x199837[_0x5cc9fd(0x1c8)],_0x535043(_0x9eb97c)),this[_0x5cc9fd(0x1dc)][_0x5cc9fd(0x27e)](),_0x9eb97c[_0x5cc9fd(0x23a)]||(_0x9eb97c[_0x5cc9fd(0x23a)]=!0x0,_0x9eb97c[_0x5cc9fd(0x21a)](_0x5cc9fd(0x213),_0x31fcd3)));}function _0x535043(_0x3bf67e){const _0x1ffaa9=_0x4b9184;_0x3bf67e[_0x1ffaa9(0x2cf)]=setTimeout(_0x3bf67e[_0x1ffaa9(0x1dc)][_0x1ffaa9(0x320)][_0x1ffaa9(0x2b5)](_0x3bf67e[_0x1ffaa9(0x1dc)]),_0x366604);}function _0x432460(){const _0x39b19d=_0x4b9184,_0x1c71bf=this[_0x1246ec];this['removeListener'](_0x39b19d(0x231),_0x432460),this['removeListener'](_0x39b19d(0x2e0),_0x5e61c3),this[_0x39b19d(0x225)]('end',_0x977a33),_0x1c71bf[_0x39b19d(0x1fc)]=_0x199837[_0x39b19d(0x1c8)];let _0x4adba1;!this[_0x39b19d(0x223)][_0x39b19d(0x25f)]&&!_0x1c71bf['_closeFrameReceived']&&!_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)][_0x39b19d(0x287)]&&(_0x4adba1=_0x1c71bf['_socket'][_0x39b19d(0x1a0)]())!==null&&_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x303)](_0x4adba1),_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x27e)](),this[_0x1246ec]=void 0x0,clearTimeout(_0x1c71bf[_0x39b19d(0x2cf)]),_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)][_0x39b19d(0x181)]||_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)]['errorEmitted']?_0x1c71bf[_0x39b19d(0x33b)]():(_0x1c71bf[_0x39b19d(0x269)]['on'](_0x39b19d(0x213),_0x2a9ea7),_0x1c71bf[_0x39b19d(0x269)]['on'](_0x39b19d(0x32d),_0x2a9ea7));}function _0x5e61c3(_0x35ed84){const _0x2b3926=_0x4b9184;this[_0x1246ec][_0x2b3926(0x269)][_0x2b3926(0x303)](_0x35ed84)||this['pause']();}function _0x977a33(){const _0x210144=_0x4b9184,_0x510944=this[_0x1246ec];_0x510944['_readyState']=_0x199837[_0x210144(0x1c8)],_0x510944[_0x210144(0x269)][_0x210144(0x27e)](),this[_0x210144(0x27e)]();}function _0x1764d1(){const _0x4dd798=_0x4b9184,_0x363ff6=this[_0x1246ec];this[_0x4dd798(0x225)](_0x4dd798(0x213),_0x1764d1),this['on'](_0x4dd798(0x213),_0x216727),_0x363ff6&&(_0x363ff6[_0x4dd798(0x1fc)]=_0x199837[_0x4dd798(0x1c8)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x6bd779}=oe;function _0x342e2a(_0x3a07cf){const _0x1c15a5=_0x3dfb;_0x3a07cf[_0x1c15a5(0x21a)]('close');}function _0x52f19a(){const _0x18bb02=_0x3dfb;!this['destroyed']&&this[_0x18bb02(0x335)][_0x18bb02(0x181)]&&this['destroy']();}function _0x302d67(_0x37e7e0){const _0x33b9a8=_0x3dfb;this['removeListener'](_0x33b9a8(0x213),_0x302d67),this[_0x33b9a8(0x320)](),this[_0x33b9a8(0x203)](_0x33b9a8(0x213))===0x0&&this[_0x33b9a8(0x21a)](_0x33b9a8(0x213),_0x37e7e0);}function _0x35f86c(_0x5b82ed,_0xa154c3){const _0x1dbfa7=_0x3dfb;let _0x378851=!0x0;const _0x5078ef=new _0x6bd779({..._0xa154c3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5b82ed['on'](_0x1dbfa7(0x210),function(_0x4461cd,_0x4deaf6){const _0x4041d0=_0x1dbfa7,_0x78db65=!_0x4deaf6&&_0x5078ef['_readableState']['objectMode']?_0x4461cd[_0x4041d0(0x31e)]():_0x4461cd;_0x5078ef['push'](_0x78db65)||_0x5b82ed[_0x4041d0(0x298)]();}),_0x5b82ed[_0x1dbfa7(0x33f)](_0x1dbfa7(0x213),function(_0x590fe4){const _0x505096=_0x1dbfa7;_0x5078ef[_0x505096(0x20c)]||(_0x378851=!0x1,_0x5078ef[_0x505096(0x320)](_0x590fe4));}),_0x5b82ed[_0x1dbfa7(0x33f)](_0x1dbfa7(0x231),function(){const _0x456ec5=_0x1dbfa7;_0x5078ef[_0x456ec5(0x20c)]||_0x5078ef['push'](null);}),_0x5078ef[_0x1dbfa7(0x1cc)]=function(_0x4c706c,_0x1881c5){const _0x44ac1c=_0x1dbfa7;if(_0x5b82ed['readyState']===_0x5b82ed[_0x44ac1c(0x32a)]){_0x1881c5(_0x4c706c),process[_0x44ac1c(0x209)](_0x342e2a,_0x5078ef);return;}let _0xa215f0=!0x1;_0x5b82ed[_0x44ac1c(0x33f)](_0x44ac1c(0x213),function(_0x8fed79){_0xa215f0=!0x0,_0x1881c5(_0x8fed79);}),_0x5b82ed[_0x44ac1c(0x33f)](_0x44ac1c(0x231),function(){const _0x40a30b=_0x44ac1c;_0xa215f0||_0x1881c5(_0x4c706c),process[_0x40a30b(0x209)](_0x342e2a,_0x5078ef);}),_0x378851&&_0x5b82ed[_0x44ac1c(0x23b)]();},_0x5078ef[_0x1dbfa7(0x2c8)]=function(_0x978c02){const _0x43e180=_0x1dbfa7;if(_0x5b82ed[_0x43e180(0x18e)]===_0x5b82ed['CONNECTING']){_0x5b82ed[_0x43e180(0x33f)](_0x43e180(0x200),function(){const _0x13d929=_0x43e180;_0x5078ef[_0x13d929(0x2c8)](_0x978c02);});return;}_0x5b82ed[_0x43e180(0x1dc)]!==null&&(_0x5b82ed[_0x43e180(0x1dc)]['_writableState']['finished']?(_0x978c02(),_0x5078ef[_0x43e180(0x223)][_0x43e180(0x25f)]&&_0x5078ef['destroy']()):(_0x5b82ed['_socket'][_0x43e180(0x33f)]('finish',function(){_0x978c02();}),_0x5b82ed[_0x43e180(0x231)]()));},_0x5078ef[_0x1dbfa7(0x21c)]=function(){const _0x3b1f3d=_0x1dbfa7;_0x5b82ed['isPaused']&&_0x5b82ed[_0x3b1f3d(0x276)]();},_0x5078ef[_0x1dbfa7(0x284)]=function(_0x24d143,_0xc25ef2,_0x3c4720){const _0x5c24e7=_0x1dbfa7;if(_0x5b82ed[_0x5c24e7(0x18e)]===_0x5b82ed[_0x5c24e7(0x2b0)]){_0x5b82ed[_0x5c24e7(0x33f)](_0x5c24e7(0x200),function(){_0x5078ef['_write'](_0x24d143,_0xc25ef2,_0x3c4720);});return;}_0x5b82ed[_0x5c24e7(0x2e3)](_0x24d143,_0x3c4720);},_0x5078ef['on']('end',_0x52f19a),_0x5078ef['on'](_0x1dbfa7(0x213),_0x302d67),_0x5078ef;}return Oe=_0x35f86c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2faf88}=ae();function _0x264aae(_0x111a3b){const _0x461fe6=_0x3dfb,_0x4e4fe8=new Set();let _0x22a394=-0x1,_0x5c7c2b=-0x1,_0x235f94=0x0;for(_0x235f94;_0x235f94<_0x111a3b[_0x461fe6(0x1c7)];_0x235f94++){const _0x57a7a9=_0x111a3b[_0x461fe6(0x318)](_0x235f94);if(_0x5c7c2b===-0x1&&_0x2faf88[_0x57a7a9]===0x1)_0x22a394===-0x1&&(_0x22a394=_0x235f94);else{if(_0x235f94!==0x0&&(_0x57a7a9===0x20||_0x57a7a9===0x9))_0x5c7c2b===-0x1&&_0x22a394!==-0x1&&(_0x5c7c2b=_0x235f94);else{if(_0x57a7a9===0x2c){if(_0x22a394===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x235f94);_0x5c7c2b===-0x1&&(_0x5c7c2b=_0x235f94);const _0xcbf657=_0x111a3b[_0x461fe6(0x2ba)](_0x22a394,_0x5c7c2b);if(_0x4e4fe8[_0x461fe6(0x18c)](_0xcbf657))throw new SyntaxError(_0x461fe6(0x329)+_0xcbf657+_0x461fe6(0x2fa));_0x4e4fe8[_0x461fe6(0x2bc)](_0xcbf657),_0x22a394=_0x5c7c2b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x235f94);}}}if(_0x22a394===-0x1||_0x5c7c2b!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1a382e=_0x111a3b[_0x461fe6(0x2ba)](_0x22a394,_0x235f94);if(_0x4e4fe8[_0x461fe6(0x18c)](_0x1a382e))throw new SyntaxError(_0x461fe6(0x329)+_0x1a382e+_0x461fe6(0x2fa));return _0x4e4fe8[_0x461fe6(0x2bc)](_0x1a382e),_0x4e4fe8;}return Ce={'parse':_0x264aae},Ce;}var Te,rt;function Ft(){const _0x5475fe=_0x3db353;if(rt)return Te;rt=0x1;const _0x277782=nt,_0x42988c=ot,{Duplex:_0x15acf5}=oe,{createHash:_0x5226fd}=Le,_0x33ac21=ct(),_0x5d67f9=he(),_0x2527d5=At(),_0x225934=Pe(),{GUID:_0x131de4,kWebSocket:_0x3fbbe0}=H(),_0x49b559=/^[+/0-9A-Za-z]{22}==$/,_0x1dd139=0x0,_0x1b36e2=0x1,_0x37a178=0x2;class _0xe00a1c extends _0x277782{constructor(_0x5e6f17,_0x407e75){const _0x2f6d0a=_0x3dfb;if(super(),_0x5e6f17={'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':_0x225934,..._0x5e6f17},_0x5e6f17[_0x2f6d0a(0x22d)]==null&&!_0x5e6f17['server']&&!_0x5e6f17[_0x2f6d0a(0x30a)]||_0x5e6f17[_0x2f6d0a(0x22d)]!=null&&(_0x5e6f17[_0x2f6d0a(0x236)]||_0x5e6f17['noServer'])||_0x5e6f17[_0x2f6d0a(0x236)]&&_0x5e6f17['noServer'])throw new TypeError(_0x2f6d0a(0x186));if(_0x5e6f17[_0x2f6d0a(0x22d)]!=null?(this[_0x2f6d0a(0x1d9)]=_0x42988c[_0x2f6d0a(0x18a)]((_0x567d90,_0x1414e8)=>{const _0xdbcf45=_0x2f6d0a,_0x50328e=_0x42988c[_0xdbcf45(0x1ca)][0x1aa];_0x1414e8[_0xdbcf45(0x1e2)](0x1aa,{'Content-Length':_0x50328e[_0xdbcf45(0x1c7)],'Content-Type':_0xdbcf45(0x29b)}),_0x1414e8['end'](_0x50328e);}),this[_0x2f6d0a(0x1d9)][_0x2f6d0a(0x1a3)](_0x5e6f17['port'],_0x5e6f17[_0x2f6d0a(0x2fd)],_0x5e6f17[_0x2f6d0a(0x322)],_0x407e75)):_0x5e6f17['server']&&(this[_0x2f6d0a(0x1d9)]=_0x5e6f17['server']),this[_0x2f6d0a(0x1d9)]){const _0x6ae2e5=this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,'connection');this[_0x2f6d0a(0x293)]=_0x3a21bf(this['_server'],{'listening':this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,_0x2f6d0a(0x19b)),'error':this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,_0x2f6d0a(0x213)),'upgrade':(_0x46b0d,_0x7e691d,_0x16621d)=>{const _0x1d70b0=_0x2f6d0a;this[_0x1d70b0(0x239)](_0x46b0d,_0x7e691d,_0x16621d,_0x6ae2e5);}});}_0x5e6f17[_0x2f6d0a(0x259)]===!0x0&&(_0x5e6f17['perMessageDeflate']={}),_0x5e6f17['clientTracking']&&(this['clients']=new Set(),this[_0x2f6d0a(0x2f0)]=!0x1),this[_0x2f6d0a(0x1a2)]=_0x5e6f17,this[_0x2f6d0a(0x249)]=_0x1dd139;}[_0x5475fe(0x1d3)](){const _0x22b76d=_0x5475fe;if(this[_0x22b76d(0x1a2)][_0x22b76d(0x30a)])throw new Error(_0x22b76d(0x20f));return this[_0x22b76d(0x1d9)]?this['_server'][_0x22b76d(0x1d3)]():null;}[_0x5475fe(0x231)](_0x3c8398){const _0x3c7b30=_0x5475fe;if(this[_0x3c7b30(0x249)]===_0x37a178){_0x3c8398&&this[_0x3c7b30(0x33f)](_0x3c7b30(0x231),()=>{const _0x5e77b9=_0x3c7b30;_0x3c8398(new Error(_0x5e77b9(0x1db)));}),process[_0x3c7b30(0x209)](_0x2a9adc,this);return;}if(_0x3c8398&&this[_0x3c7b30(0x33f)]('close',_0x3c8398),this[_0x3c7b30(0x249)]!==_0x1b36e2){if(this[_0x3c7b30(0x249)]=_0x1b36e2,this['options'][_0x3c7b30(0x30a)]||this['options'][_0x3c7b30(0x236)])this['_server']&&(this[_0x3c7b30(0x293)](),this[_0x3c7b30(0x293)]=this['_server']=null),this['clients']?this[_0x3c7b30(0x1d7)][_0x3c7b30(0x27b)]?this[_0x3c7b30(0x2f0)]=!0x0:process[_0x3c7b30(0x209)](_0x2a9adc,this):process[_0x3c7b30(0x209)](_0x2a9adc,this);else{const _0x268036=this[_0x3c7b30(0x1d9)];this[_0x3c7b30(0x293)](),this[_0x3c7b30(0x293)]=this[_0x3c7b30(0x1d9)]=null,_0x268036[_0x3c7b30(0x231)](()=>{_0x2a9adc(this);});}}}[_0x5475fe(0x182)](_0x492d4e){const _0xc7a665=_0x5475fe;if(this[_0xc7a665(0x1a2)][_0xc7a665(0x321)]){const _0x197842=_0x492d4e[_0xc7a665(0x1a5)]['indexOf']('?');if((_0x197842!==-0x1?_0x492d4e[_0xc7a665(0x1a5)][_0xc7a665(0x2ba)](0x0,_0x197842):_0x492d4e[_0xc7a665(0x1a5)])!==this['options'][_0xc7a665(0x321)])return!0x1;}return!0x0;}[_0x5475fe(0x239)](_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6){const _0x320126=_0x5475fe;_0x163f12['on'](_0x320126(0x213),_0x1dabe1);const _0x5c38e4=_0x5afdb0[_0x320126(0x2aa)][_0x320126(0x2c5)],_0x3c99da=_0x5afdb0['headers']['upgrade'],_0x457e1e=+_0x5afdb0['headers']['sec-websocket-version'];if(_0x5afdb0[_0x320126(0x2f1)]!==_0x320126(0x2c3)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x195,_0x320126(0x324));return;}if(_0x3c99da===void 0x0||_0x3c99da['toLowerCase']()!==_0x320126(0x2b7)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x248));return;}if(_0x5c38e4===void 0x0||!_0x49b559['test'](_0x5c38e4)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x457e1e!==0x8&&_0x457e1e!==0xd){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x1a7));return;}if(!this[_0x320126(0x182)](_0x5afdb0)){_0x2f0745(_0x163f12,0x190);return;}const _0x5099d8=_0x5afdb0[_0x320126(0x2aa)]['sec-websocket-protocol'];let _0x2a7e14=new Set();if(_0x5099d8!==void 0x0)try{_0x2a7e14=_0x2527d5[_0x320126(0x294)](_0x5099d8);}catch{_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x253));return;}const _0x3e226c=_0x5afdb0[_0x320126(0x2aa)]['sec-websocket-extensions'],_0x44c9f9={};if(this[_0x320126(0x1a2)][_0x320126(0x259)]&&_0x3e226c!==void 0x0){const _0x428ce3=new _0x5d67f9(this['options'][_0x320126(0x259)],!0x0,this['options'][_0x320126(0x312)]);try{const _0x4bb2f8=_0x33ac21[_0x320126(0x294)](_0x3e226c);_0x4bb2f8[_0x5d67f9[_0x320126(0x1d0)]]&&(_0x428ce3[_0x320126(0x319)](_0x4bb2f8[_0x5d67f9[_0x320126(0x1d0)]]),_0x44c9f9[_0x5d67f9[_0x320126(0x1d0)]]=_0x428ce3);}catch{_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x26e));return;}}if(this[_0x320126(0x1a2)][_0x320126(0x2dd)]){const _0x2a1497={'origin':_0x5afdb0[_0x320126(0x2aa)][''+(_0x457e1e===0x8?'sec-websocket-origin':_0x320126(0x19f))],'secure':!!(_0x5afdb0[_0x320126(0x2fb)][_0x320126(0x2a0)]||_0x5afdb0[_0x320126(0x2fb)][_0x320126(0x1c0)]),'req':_0x5afdb0};if(this[_0x320126(0x1a2)][_0x320126(0x2dd)]['length']===0x2){this['options'][_0x320126(0x2dd)](_0x2a1497,(_0x31aec9,_0x294ab8,_0x5a9eb8,_0x5501f0)=>{const _0x1488f4=_0x320126;if(!_0x31aec9)return _0x2f0745(_0x163f12,_0x294ab8||0x191,_0x5a9eb8,_0x5501f0);this[_0x1488f4(0x280)](_0x44c9f9,_0x5c38e4,_0x2a7e14,_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6);});return;}if(!this[_0x320126(0x1a2)][_0x320126(0x2dd)](_0x2a1497))return _0x2f0745(_0x163f12,0x191);}this[_0x320126(0x280)](_0x44c9f9,_0x5c38e4,_0x2a7e14,_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6);}[_0x5475fe(0x280)](_0xbebad4,_0x20630e,_0x2cf214,_0x4d4e62,_0x5ea3d4,_0x461b8d,_0x251edf){const _0x12e4a3=_0x5475fe;if(!_0x5ea3d4['readable']||!_0x5ea3d4[_0x12e4a3(0x21f)])return _0x5ea3d4[_0x12e4a3(0x320)]();if(_0x5ea3d4[_0x3fbbe0])throw new Error(_0x12e4a3(0x278));if(this[_0x12e4a3(0x249)]>_0x1dd139)return _0x2f0745(_0x5ea3d4,0x1f7);const _0x5a82ee=[_0x12e4a3(0x1ac),_0x12e4a3(0x193),_0x12e4a3(0x1be),_0x12e4a3(0x2b3)+_0x5226fd('sha1')[_0x12e4a3(0x1c5)](_0x20630e+_0x131de4)[_0x12e4a3(0x24a)](_0x12e4a3(0x281))],_0x5638a8=new this['options'][(_0x12e4a3(0x238))](null,void 0x0,this['options']);if(_0x2cf214['size']){const _0x5f31f8=this['options'][_0x12e4a3(0x199)]?this[_0x12e4a3(0x1a2)][_0x12e4a3(0x199)](_0x2cf214,_0x4d4e62):_0x2cf214[_0x12e4a3(0x28a)]()[_0x12e4a3(0x2f7)]()[_0x12e4a3(0x2ff)];_0x5f31f8&&(_0x5a82ee[_0x12e4a3(0x25b)]('Sec-WebSocket-Protocol:\x20'+_0x5f31f8),_0x5638a8[_0x12e4a3(0x1e4)]=_0x5f31f8);}if(_0xbebad4[_0x5d67f9['extensionName']]){const _0x36ba12=_0xbebad4[_0x5d67f9[_0x12e4a3(0x1d0)]][_0x12e4a3(0x2cb)],_0x22375e=_0x33ac21[_0x12e4a3(0x25d)]({[_0x5d67f9[_0x12e4a3(0x1d0)]]:[_0x36ba12]});_0x5a82ee[_0x12e4a3(0x25b)](_0x12e4a3(0x271)+_0x22375e),_0x5638a8[_0x12e4a3(0x295)]=_0xbebad4;}this[_0x12e4a3(0x21a)](_0x12e4a3(0x2aa),_0x5a82ee,_0x4d4e62),_0x5ea3d4['write'](_0x5a82ee[_0x12e4a3(0x229)]('\x0d\x0a')[_0x12e4a3(0x2d9)]('\x0d\x0a')),_0x5ea3d4[_0x12e4a3(0x225)](_0x12e4a3(0x213),_0x1dabe1),_0x5638a8[_0x12e4a3(0x2ef)](_0x5ea3d4,_0x461b8d,{'allowSynchronousEvents':this[_0x12e4a3(0x1a2)]['allowSynchronousEvents'],'maxPayload':this[_0x12e4a3(0x1a2)]['maxPayload'],'skipUTF8Validation':this[_0x12e4a3(0x1a2)][_0x12e4a3(0x1f0)]}),this[_0x12e4a3(0x1d7)]&&(this['clients'][_0x12e4a3(0x2bc)](_0x5638a8),_0x5638a8['on'](_0x12e4a3(0x231),()=>{const _0x3ccdc9=_0x12e4a3;this[_0x3ccdc9(0x1d7)][_0x3ccdc9(0x1f1)](_0x5638a8),this[_0x3ccdc9(0x2f0)]&&!this[_0x3ccdc9(0x1d7)][_0x3ccdc9(0x27b)]&&process[_0x3ccdc9(0x209)](_0x2a9adc,this);})),_0x251edf(_0x5638a8,_0x4d4e62);}}Te=_0xe00a1c;function _0x3a21bf(_0x58d847,_0x344f51){const _0x41dcda=_0x5475fe;for(const _0x1d4f44 of Object[_0x41dcda(0x17c)](_0x344f51))_0x58d847['on'](_0x1d4f44,_0x344f51[_0x1d4f44]);return function(){const _0xe36ec3=_0x41dcda;for(const _0x38651a of Object[_0xe36ec3(0x17c)](_0x344f51))_0x58d847[_0xe36ec3(0x225)](_0x38651a,_0x344f51[_0x38651a]);};}function _0x2a9adc(_0x35cf04){const _0xff94c0=_0x5475fe;_0x35cf04[_0xff94c0(0x249)]=_0x37a178,_0x35cf04[_0xff94c0(0x21a)]('close');}function _0x1dabe1(){const _0xb32a62=_0x5475fe;this[_0xb32a62(0x320)]();}function _0x2f0745(_0x5d8eff,_0x39d916,_0x266eab,_0x5063d3){const _0x273b1c=_0x5475fe;_0x266eab=_0x266eab||_0x42988c['STATUS_CODES'][_0x39d916],_0x5063d3={'Connection':'close','Content-Type':_0x273b1c(0x245),'Content-Length':Buffer[_0x273b1c(0x2df)](_0x266eab),..._0x5063d3},_0x5d8eff['once'](_0x273b1c(0x32d),_0x5d8eff[_0x273b1c(0x320)]),_0x5d8eff['end'](_0x273b1c(0x339)+_0x39d916+'\x20'+_0x42988c[_0x273b1c(0x1ca)][_0x39d916]+'\x0d\x0a'+Object[_0x273b1c(0x17c)](_0x5063d3)[_0x273b1c(0x206)](_0x207519=>_0x207519+':\x20'+_0x5063d3[_0x207519])[_0x273b1c(0x2d9)]('\x0d\x0a')+_0x273b1c(0x302)+_0x266eab);}function _0x30b20c(_0x503448,_0x25fedf,_0x388eaf,_0xeb5fe6,_0x522e23){const _0x763bcc=_0x5475fe;if(_0x503448[_0x763bcc(0x203)](_0x763bcc(0x1b2))){const _0x1b7b2a=new Error(_0x522e23);Error[_0x763bcc(0x24f)](_0x1b7b2a,_0x30b20c),_0x503448[_0x763bcc(0x21a)](_0x763bcc(0x1b2),_0x1b7b2a,_0x388eaf,_0x25fedf);}else _0x2f0745(_0x388eaf,_0xeb5fe6,_0x522e23);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x11a357,_0x1b85ef,_0x1a7149,_0x4cbf44)=>{const _0xd5d92d=_0x3db353;for(var _0x4f65b7=_0x4cbf44>0x1?void 0x0:_0x4cbf44?jt(_0x1b85ef,_0x1a7149):_0x1b85ef,_0x4c62ab=_0x11a357[_0xd5d92d(0x1c7)]-0x1,_0x35a7b3;_0x4c62ab>=0x0;_0x4c62ab--)(_0x35a7b3=_0x11a357[_0x4c62ab])&&(_0x4f65b7=_0x35a7b3(_0x4f65b7)||_0x4f65b7);return _0x4f65b7;},qt=(_0x5361ce,_0x39fac5)=>(_0x43a947,_0x1cf4c0)=>_0x39fac5(_0x43a947,_0x1cf4c0,_0x5361ce);let ke=class extends A[_0x3db353(0x328)]{constructor(_0x128750){const _0xf39443=_0x3db353;super(),this[_0xf39443(0x2c6)]=_0x128750;}[_0x3db353(0x188)](_0x33fea8){const _0x5595d2=_0x3db353;var _0x8cbade;const _0x32870a=(_0x8cbade=this[_0x5595d2(0x2c6)][_0x5595d2(0x220)](fe))==null?void 0x0:_0x8cbade[_0x5595d2(0x28c)];try{const _0x47d2b9=new $t(_0x33fea8,{'headers':{..._0x32870a}}),_0x30ae92=new A['DisposableCollection']();return{'URL':_0x33fea8,'close':(_0x327ff0,_0x40d3ae)=>{const _0x1a32f8=_0x5595d2;_0x47d2b9['close'](_0x327ff0,_0x40d3ae),_0x30ae92[_0x1a32f8(0x1c2)]();},'send':_0xdf5e96=>{const _0x4c46a3=_0x5595d2;_0x47d2b9[_0x4c46a3(0x2e3)](_0xdf5e96);},'open$':new V[(_0x5595d2(0x1f6))](_0x52b78c=>{const _0x5e7b4a=_0x5595d2,_0x300841=_0xa1a83=>_0x52b78c[_0x5e7b4a(0x2f7)](_0xa1a83);_0x47d2b9['addEventListener']('open',_0x300841),_0x30ae92[_0x5e7b4a(0x2bc)](A[_0x5e7b4a(0x1df)](()=>_0x47d2b9[_0x5e7b4a(0x215)](_0x5e7b4a(0x200),_0x300841)));})['pipe'](V[_0x5595d2(0x31a)]()),'close$':new V['Observable'](_0x3ea05d=>{const _0x10a683=_0x5595d2,_0x454ca9=_0x480ae5=>_0x3ea05d['next'](_0x480ae5);_0x47d2b9[_0x10a683(0x255)]('close',_0x454ca9),_0x30ae92[_0x10a683(0x2bc)](A[_0x10a683(0x1df)](()=>_0x47d2b9[_0x10a683(0x215)]('close',_0x454ca9)));})['pipe'](V[_0x5595d2(0x31a)]()),'error$':new V[(_0x5595d2(0x1f6))](_0x2b0bbb=>{const _0x5f294a=_0x5595d2,_0x16094f=_0x857d2=>_0x2b0bbb[_0x5f294a(0x2f7)](_0x857d2);_0x47d2b9[_0x5f294a(0x255)]('error',_0x16094f),_0x30ae92['add'](A[_0x5f294a(0x1df)](()=>_0x47d2b9['removeEventListener'](_0x5f294a(0x213),_0x16094f)));})[_0x5595d2(0x19a)](V[_0x5595d2(0x31a)]()),'message$':new V[(_0x5595d2(0x1f6))](_0x30b881=>{const _0x523b9c=_0x5595d2,_0x3fa5a9=_0x45e22c=>_0x30b881[_0x523b9c(0x2f7)](_0x45e22c);_0x47d2b9[_0x523b9c(0x255)](_0x523b9c(0x210),_0x3fa5a9),_0x30ae92[_0x523b9c(0x2bc)](A[_0x523b9c(0x1df)](()=>_0x47d2b9['removeEventListener'](_0x523b9c(0x210),_0x3fa5a9)));})[_0x5595d2(0x19a)](V[_0x5595d2(0x31a)]())};}catch(_0x252107){return console[_0x5595d2(0x213)](_0x252107),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x3db353(0x22c)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0xfe8b6f,_0x43c9e8,_0x7b4c13)=>_0x43c9e8 in _0xfe8b6f?Gt(_0xfe8b6f,_0x43c9e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7b4c13}):_0xfe8b6f[_0x43c9e8]=_0x7b4c13,zt=(_0x176e35,_0x5f5591,_0x507461,_0x25723f)=>{const _0x166ade=_0x3db353;for(var _0x44ad3a=_0x25723f>0x1?void 0x0:_0x25723f?Vt(_0x5f5591,_0x507461):_0x5f5591,_0x7cb379=_0x176e35[_0x166ade(0x1c7)]-0x1,_0xc613f9;_0x7cb379>=0x0;_0x7cb379--)(_0xc613f9=_0x176e35[_0x7cb379])&&(_0x44ad3a=_0xc613f9(_0x44ad3a)||_0x44ad3a);return _0x44ad3a;},Ne=(_0xb9677e,_0x2a4e66)=>(_0x11f641,_0x1a8825)=>_0x2a4e66(_0x11f641,_0x1a8825,_0xb9677e),Yt=(_0x2f1d05,_0x6468b,_0x8bdb63)=>Ht(_0x2f1d05,_0x6468b+'',_0x8bdb63);exports[_0x3db353(0x313)]=class extends A[_0x3db353(0x17d)]{constructor(_0x761b4c=Ct,_0x62038d,_0x58ff7b,_0x398e80){const _0x5d1019=_0x3db353;_0x761b4c['customHeaders']||_0x62038d['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5d1019(0x2c6)]=_0x58ff7b,this[_0x5d1019(0x198)]=_0x398e80,this['_configService'][_0x5d1019(0x2bb)](fe,_0x761b4c);}[_0x3db353(0x2e9)](){const _0x5f44a9=_0x3db353;this[_0x5f44a9(0x33d)]();}[_0x3db353(0x33d)](){const _0x58091c=_0x3db353;A['registerDependencies'](this[_0x58091c(0x198)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x3db353(0x313)],_0x3db353(0x18d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x3db353(0x313)]=zt([A[_0x3db353(0x270)](st[_0x3db353(0x184)]),Ne(0x1,A[_0x3db353(0x2a4)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x3db353(0x1b9)](A[_0x3db353(0x338)]))],exports[_0x3db353(0x313)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x188fc6,_0x39c2c0,_0x1b11cd,_0x18dcd5)=>{for(var _0x4f6142=_0x18dcd5>0x1?void 0x0:_0x18dcd5?Kt(_0x39c2c0,_0x1b11cd):_0x39c2c0,_0x331a91=_0x188fc6['length']-0x1,_0x3d16d2;_0x331a91>=0x0;_0x331a91--)(_0x3d16d2=_0x188fc6[_0x331a91])&&(_0x4f6142=_0x3d16d2(_0x4f6142)||_0x4f6142);return _0x4f6142;},ne=(_0x59bb5c,_0x4ec97e)=>(_0x52c925,_0x1c87d6)=>_0x4ec97e(_0x52c925,_0x1c87d6,_0x59bb5c);exports[_0x3db353(0x20e)]=class extends st[_0x3db353(0x267)]{constructor(_0x171ab3,_0x5c161d,_0x7f3db0,_0x5e47cc,_0x5eddfc){const _0x38e870=_0x3db353;super(_0x171ab3,_0x5c161d,_0x7f3db0,_0x5e47cc,_0x5eddfc);const _0x3c3af8=this[_0x38e870(0x2c6)][_0x38e870(0x220)](fe);this['_httpService'][_0x38e870(0x316)]({'interceptor':(_0x22a21c,_0x414a36)=>{const _0x918826=_0x38e870;var _0x5bc952;const _0x10d9b5=_0x22a21c[_0x918826(0x2aa)];return(_0x5bc952=_0x3c3af8==null?void 0x0:_0x3c3af8['customHeaders'])!=null&&_0x5bc952['cookie']&&_0x10d9b5[_0x918826(0x1cd)](_0x918826(0x1da),_0x3c3af8['customHeaders'][_0x918826(0x1ab)]),_0x414a36(_0x22a21c);}});}async[_0x3db353(0x188)](_0x436c84){const _0x357e4c=_0x3db353;return this[_0x357e4c(0x179)](_0x436c84);}},exports[_0x3db353(0x20e)]=Xt([ne(0x0,A['Inject'](A[_0x3db353(0x338)])),ne(0x1,A['Inject'](it[_0x3db353(0x2ac)])),ne(0x2,A[_0x3db353(0x243)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x3db353(0x1bd)])],exports[_0x3db353(0x20e)]),exports[_0x3db353(0x185)]=fe;