@univerjs-pro/collaboration-client-node 0.10.10-nightly.202510180256 → 0.10.10-nightly.202510180327

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 _0x56ab5b=_0x9265;(function(_0x1c552f,_0xae387c){const _0x29302b=_0x9265,_0x306e5e=_0x1c552f();while(!![]){try{const _0x2e513a=parseInt(_0x29302b(0x2b5))/0x1*(-parseInt(_0x29302b(0x24e))/0x2)+-parseInt(_0x29302b(0x1fc))/0x3+parseInt(_0x29302b(0x199))/0x4*(-parseInt(_0x29302b(0x20f))/0x5)+parseInt(_0x29302b(0x2c7))/0x6+-parseInt(_0x29302b(0x26b))/0x7*(parseInt(_0x29302b(0x1ea))/0x8)+-parseInt(_0x29302b(0x285))/0x9*(-parseInt(_0x29302b(0x252))/0xa)+parseInt(_0x29302b(0x1d9))/0xb;if(_0x2e513a===_0xae387c)break;else _0x306e5e['push'](_0x306e5e['shift']());}catch(_0x357524){_0x306e5e['push'](_0x306e5e['shift']());}}}(_0x5637,0x9361e));Object[_0x56ab5b(0x209)](exports,Symbol['toStringTag'],{'value':_0x56ab5b(0x20b)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x56ab5b(0x1cc),Ct={'customHeaders':{}};function Tt(_0x42ff84){const _0x40b8dc=_0x56ab5b;return _0x42ff84&&_0x42ff84[_0x40b8dc(0x16f)]&&Object[_0x40b8dc(0x167)][_0x40b8dc(0x131)][_0x40b8dc(0x2e8)](_0x42ff84,'default')?_0x42ff84[_0x40b8dc(0x12e)]:_0x42ff84;}function at(_0x3c5c97){const _0x35be44=_0x56ab5b;if(Object['prototype'][_0x35be44(0x131)][_0x35be44(0x2e8)](_0x3c5c97,_0x35be44(0x16f)))return _0x3c5c97;var _0x50548d=_0x3c5c97[_0x35be44(0x12e)];if(typeof _0x50548d=='function'){var _0x4e7426=function _0x54cd05(){const _0x196f43=_0x35be44;var _0x31a355=!0x1;try{_0x31a355=this instanceof _0x54cd05;}catch{}return _0x31a355?Reflect[_0x196f43(0x244)](_0x50548d,arguments,this['constructor']):_0x50548d[_0x196f43(0x258)](this,arguments);};_0x4e7426[_0x35be44(0x167)]=_0x50548d[_0x35be44(0x167)];}else _0x4e7426={};return Object[_0x35be44(0x209)](_0x4e7426,_0x35be44(0x16f),{'value':!0x0}),Object[_0x35be44(0x164)](_0x3c5c97)[_0x35be44(0x2ad)](function(_0x76d224){const _0x179f75=_0x35be44;var _0x1cea52=Object[_0x179f75(0x1af)](_0x3c5c97,_0x76d224);Object[_0x179f75(0x209)](_0x4e7426,_0x76d224,_0x1cea52[_0x179f75(0x1ff)]?_0x1cea52:{'enumerable':!0x0,'get':function(){return _0x3c5c97[_0x76d224];}});}),_0x4e7426;}var se={'exports':{}},ge,Ge;function H(){const _0x49b3e2=_0x56ab5b;if(Ge)return ge;Ge=0x1;const _0x4209ff=['nodebuffer',_0x49b3e2(0x168),'fragments'],_0x5cdae3=typeof Blob<'u';return _0x5cdae3&&_0x4209ff[_0x49b3e2(0x2e1)](_0x49b3e2(0x240)),ge={'BINARY_TYPES':_0x4209ff,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x49b3e2(0x233),'hasBlob':_0x5cdae3,'kForOnEventAttribute':Symbol(_0x49b3e2(0x26a)),'kListener':Symbol(_0x49b3e2(0x161)),'kStatusCode':Symbol(_0x49b3e2(0x17f)),'kWebSocket':Symbol(_0x49b3e2(0x2e4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x56ab5b(0x2c9)](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Nt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Lt=at(kt);var Ve;function ce(){const _0x18c1fc=_0x56ab5b;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x4343bb}=H(),_0x574a1f=Buffer[Symbol[_0x18c1fc(0x268)]];function _0x56b3e6(_0x535dd2,_0x3751ee){const _0x4cd118=_0x18c1fc;if(_0x535dd2[_0x4cd118(0x12b)]===0x0)return _0x4343bb;if(_0x535dd2[_0x4cd118(0x12b)]===0x1)return _0x535dd2[0x0];const _0x191853=Buffer['allocUnsafe'](_0x3751ee);let _0x579184=0x0;for(let _0x5c87fc=0x0;_0x5c87fc<_0x535dd2[_0x4cd118(0x12b)];_0x5c87fc++){const _0x5cbb97=_0x535dd2[_0x5c87fc];_0x191853[_0x4cd118(0x1bf)](_0x5cbb97,_0x579184),_0x579184+=_0x5cbb97[_0x4cd118(0x12b)];}return _0x579184<_0x3751ee?new _0x574a1f(_0x191853[_0x4cd118(0x166)],_0x191853[_0x4cd118(0x1b1)],_0x579184):_0x191853;}function _0x29f89d(_0x223c13,_0x24bee6,_0xc0fd96,_0x37d308,_0x5bf8d6){for(let _0x2d6c97=0x0;_0x2d6c97<_0x5bf8d6;_0x2d6c97++)_0xc0fd96[_0x37d308+_0x2d6c97]=_0x223c13[_0x2d6c97]^_0x24bee6[_0x2d6c97&0x3];}function _0x47c8b9(_0x12882f,_0x2e3165){const _0x38d664=_0x18c1fc;for(let _0xb2a1cc=0x0;_0xb2a1cc<_0x12882f[_0x38d664(0x12b)];_0xb2a1cc++)_0x12882f[_0xb2a1cc]^=_0x2e3165[_0xb2a1cc&0x3];}function _0xf6f68c(_0x58e2c1){const _0x59a5b2=_0x18c1fc;return _0x58e2c1['length']===_0x58e2c1[_0x59a5b2(0x166)][_0x59a5b2(0x2d6)]?_0x58e2c1[_0x59a5b2(0x166)]:_0x58e2c1['buffer'][_0x59a5b2(0x215)](_0x58e2c1[_0x59a5b2(0x1b1)],_0x58e2c1[_0x59a5b2(0x1b1)]+_0x58e2c1[_0x59a5b2(0x12b)]);}function _0x1c2877(_0x1ef7e1){const _0x1d2543=_0x18c1fc;if(_0x1c2877[_0x1d2543(0x191)]=!0x0,Buffer[_0x1d2543(0x250)](_0x1ef7e1))return _0x1ef7e1;let _0x3e5f84;return _0x1ef7e1 instanceof ArrayBuffer?_0x3e5f84=new _0x574a1f(_0x1ef7e1):ArrayBuffer[_0x1d2543(0x25b)](_0x1ef7e1)?_0x3e5f84=new _0x574a1f(_0x1ef7e1['buffer'],_0x1ef7e1['byteOffset'],_0x1ef7e1[_0x1d2543(0x2d6)]):(_0x3e5f84=Buffer['from'](_0x1ef7e1),_0x1c2877['readOnly']=!0x1),_0x3e5f84;}if(se['exports']={'concat':_0x56b3e6,'mask':_0x29f89d,'toArrayBuffer':_0xf6f68c,'toBuffer':_0x1c2877,'unmask':_0x47c8b9},!process[_0x18c1fc(0x28f)]['WS_NO_BUFFER_UTIL'])try{const _0x48d407=Lt;se[_0x18c1fc(0x257)]['mask']=function(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e){const _0x12051c=_0x18c1fc;_0x14750e<0x30?_0x29f89d(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e):_0x48d407[_0x12051c(0x1fb)](_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e);},se['exports']['unmask']=function(_0x325065,_0x2f9164){const _0x442b8c=_0x18c1fc;_0x325065[_0x442b8c(0x12b)]<0x20?_0x47c8b9(_0x325065,_0x2f9164):_0x48d407[_0x442b8c(0x25c)](_0x325065,_0x2f9164);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2b7698=_0x56ab5b;if(He)return ye;He=0x1;const _0xc96d16=Symbol(_0x2b7698(0x253)),_0x64d702=Symbol(_0x2b7698(0x23c));class _0x184855{constructor(_0x3e20f0){const _0x10ab55=_0x2b7698;this[_0xc96d16]=()=>{const _0x58ade8=_0x9265;this[_0x58ade8(0x2b4)]--,this[_0x64d702]();},this['concurrency']=_0x3e20f0||0x1/0x0,this['jobs']=[],this[_0x10ab55(0x2b4)]=0x0;}['add'](_0x1c5035){const _0x3576db=_0x2b7698;this[_0x3576db(0x21a)]['push'](_0x1c5035),this[_0x64d702]();}[_0x64d702](){const _0x2967e0=_0x2b7698;if(this[_0x2967e0(0x2b4)]!==this[_0x2967e0(0x2f1)]&&this[_0x2967e0(0x21a)][_0x2967e0(0x12b)]){const _0x3fd293=this['jobs'][_0x2967e0(0x277)]();this[_0x2967e0(0x2b4)]++,_0x3fd293(this[_0xc96d16]);}}}return ye=_0x184855,ye;}function _0x5637(){const _0x14f95d=['https:','hostname','collaboration-client-node.config','fin','socketPath','read','setConfig','onclose','writeUInt16BE','object','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','toLowerCase','kType','text/html','from','29115174MlXpio','_fin','followRedirects','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','writeHead','flush','pipe','charCodeAt','dispose','reset','dataMessage','WS_ERR_INVALID_UTF8','replace','_readyState','join','removeEventListener','haveLength','1020384DmcSln','Invalid\x20HTTP\x20method','listenerCount','WebSocket\x20is\x20not\x20open:\x20readyState\x20','callback','kReason','CollaborationSocketService','Sec-WebSocket-Extensions:\x20','toDisposable','kAborted','_injector','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','UniverCollaborationClientNodePlugin','base64','authorization','WS_ERR_UNEXPECTED_RSV_1','mask','3156138FFAekk','allowSynchronousEvents','Injector','get','listen','setNoDelay','Sec-WebSocket-Origin','getData','destroy','http:','stream','_opcode','nextTick','defineProperty','digest','Module','clients','Parameter\x20\x22','target','10tHrUWi','_httpService','_url','_inflate','end','_readableState','slice','removeAllListeners','parse','verifyClient','_state','jobs','redirect','toString','clientMaxWindowBits','captureStackTrace','_closeMessage','removeListener','Sec-WebSocket-Extensions','Plugin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','STATUS_CODES','Sec-WebSocket-Protocol','COLLABORATION_CLIENT_NODE_CONFIG_KEY','pause','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_shouldEmitClose','_registerDependencies','writeUIntBE','Opening\x20handshake\x20has\x20timed\x20out','_totalPayloadLength','emit','WebSocket','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','includes','warn','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','sec-websocket-origin','_server','Invalid\x20WebSocket\x20frame:\x20','address','Sec-WebSocket-Protocol:\x20','listening','invalid\x20opcode\x200','The\x20\x22','kRun','_deflate','isInteger','function','blob','once','options','_binaryType','construct','getMask','unshift','generateMask','_writableState','write','headers','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setTimeout','2010eRkZQN','enqueue','isBuffer','values','5238620lxNLUl','kDone','client_max_window_bits','Maximum\x20redirects\x20exceeded','origin','exports','apply','getConfig','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isView','unmask','params','decompress','_masked','server_max_window_bits','pow','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','handshakeTimeout','close','href','_req','shouldHandle','species','getInfo','kIsForOnEventAttribute','56yBfOJq','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','onStarting','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','onmessage','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','wsClientError','setSocket','_decompress','_read','protocolVersion','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','shift','\x22:\x20','Inject','_max_window_bits','Z_SYNC_FLUSH','binaryType','dispatch','sec-websocket-protocol','message','_closeTimer','delete','startLoop','FIN\x20must\x20be\x20set','bind','18JzupIp','drain','abort','emitClose','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','type','_payloadLength','createConnection','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','env','open','_skipUTF8Validation','number','Invalid\x20Sec-WebSocket-Accept\x20header','_firstFragment','_compress','Origin','Upgrade:\x20websocket','finished','_paused','_fragments','normalizeParams','_originalSecure','_closeFrameSent','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_destroy','_bufferedBytes','_sender','endEmitted','client','conclude','maxRedirects','clientNoContextTakeover','has','IConfigService','noServer','cork','onerror','OPEN','forEach','Observable','_generateMask','path','Server\x20sent\x20an\x20invalid\x20subprotocol','sendFrame','Unsupported\x20protocol\x20version:\x20','pending','839XrRdgB','consume','alloc','_originalIpc','servername','createInflateRaw','unexpected-response','kError','WS_NO_UTF_8_VALIDATE','permessage-deflate','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readable','Connection:\x20Upgrade','sec-websocket-key','_maskBuffer','handleEvent','finish','3509178FeIrNY','_extensions','freeze','invalid\x20status\x20code\x20','handleUpgrade','sec-websocket-accept','WS_ERR_EXPECTED_FIN','_configService','data','Unexpected\x20character\x20at\x20index\x20','sha1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','serverMaxWindowBits','maxPayload','extensionName','byteLength','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','createSocket','_originalHostOrSocketPath','add','zlibDeflateOptions','_options','readyState','_receiver','_errorEmitted','upgrade','push','Invalid\x20Sec-WebSocket-Extensions\x20header','_socket','websocket','_fragmented','_closeFrameReceived','completeUpgrade','call','arrayBuffer','map','controlMessage','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','split','_closeCode','addEventListener','Cookie','concurrency','accept','connect','Z_DEFAULT_WINDOWBITS','createError','_threshold','length','request','acceptAsServer','default','readUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','hasOwnProperty','RSV1\x20must\x20be\x20clear','GET','auth','buffers','pong','port','allocUnsafe','authorized','objectMode','cookie','ws+unix:','_isServer','getBlobData','reason','test','readUInt32BE','_errored','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','finishRequest','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','destroyed','client_no_context_takeover','statusCode','dequeue','host','threshold','concurrencyLimit','customHeaders','perMessageDeflate','resume','_redirects','isArray','_allowSynchronousEvents','Disposable','server_no_context_takeover','isValidUTF8','server','nodebuffer','setHeader','kByteLength','error','listeners','bufferedAmount','backlog','text/plain','username','next','kListener','encrypted','kWasClean','keys','location','buffer','prototype','arraybuffer','DependentOn','ws:','createServer','\x20(supported\x20versions:\x20','wasClean','\x22\x20subprotocol\x20is\x20duplicated','__esModule','sec-websocket-extensions','MASK\x20must\x20be\x20set','CONNECTING','NodeCollaborationSocketService','opcode','\x0d\x0a\x0d\x0a','handleProtocols','isPaused','total-length','zlibInflateOptions','create','serverNoContextTakeover','format','_autoPong','errorEmitted','status-code','compress','ping','timeout','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_MASK','The\x20URL\x27s\x20pathname\x20is\x20empty','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getPayloadLength16','extensions','CLOSING','_no_context_takeover','value','code','wss:','kTarget','connection','update','readOnly','socket','skipUTF8Validation','ILogService','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','string','ISocketService','find','1520236sKrZEr','Unexpected\x20server\x20response:\x20','acceptAsClient','concat','indexOf','_final','Invalid\x20Upgrade\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','13,\x208','pluginName','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20URL:\x20','size','protocol','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getPayloadLength64','_mask','_protocol','CLOSED','maskBuffer','frame','_maxPayload','getOwnPropertyDescriptor','invalid\x20UTF-8\x20sequence','byteOffset','clientTracking','offer','password','_queue','terminate','startsWith','toStringTag','_compressed','pathname','_removeListeners','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_ERR_INVALID_OPCODE','writable','set','url','share','registerDependencies','cleanup','send','_loop','method','autoPong','_write','\x22\x20must\x20have\x20only\x20a\x20single\x20value'];_0x5637=function(){return _0x14f95d;};return _0x5637();}var ve,ze;function he(){const _0x683d71=_0x56ab5b;if(ze)return ve;ze=0x1;const _0x2b79f5=bt,_0x2860b8=ce(),_0x4e6c98=Pt(),{kStatusCode:_0x52ad40}=H(),_0x34372c=Buffer[Symbol[_0x683d71(0x268)]],_0x571c01=Buffer['from']([0x0,0x0,0xff,0xff]),_0x417215=Symbol(_0x683d71(0x2be)),_0x3bea6f=Symbol(_0x683d71(0x178)),_0x11297c=Symbol(_0x683d71(0x1ee)),_0x3b25eb=Symbol(_0x683d71(0x135)),_0x2a370c=Symbol(_0x683d71(0x15a));let _0x1ccc6a;class _0x4c626c{constructor(_0x4eb424,_0x2a8d76,_0x2a4856){const _0x2fd447=_0x683d71;if(this[_0x2fd447(0x1ae)]=_0x2a4856|0x0,this[_0x2fd447(0x2dc)]=_0x4eb424||{},this[_0x2fd447(0x12a)]=this['_options'][_0x2fd447(0x14b)]!==void 0x0?this[_0x2fd447(0x2dc)]['threshold']:0x400,this[_0x2fd447(0x13d)]=!!_0x2a8d76,this[_0x2fd447(0x23d)]=null,this[_0x2fd447(0x212)]=null,this[_0x2fd447(0x25d)]=null,!_0x1ccc6a){const _0x27067e=this[_0x2fd447(0x2dc)][_0x2fd447(0x14c)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x1ccc6a=new _0x4e6c98(_0x27067e);}}static get[_0x683d71(0x2d5)](){const _0x2d236c=_0x683d71;return _0x2d236c(0x2be);}[_0x683d71(0x1b3)](){const _0xc48c25=_0x683d71,_0x447a23={};return this[_0xc48c25(0x2dc)][_0xc48c25(0x17b)]&&(_0x447a23[_0xc48c25(0x154)]=!0x0),this[_0xc48c25(0x2dc)]['clientNoContextTakeover']&&(_0x447a23[_0xc48c25(0x147)]=!0x0),this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]&&(_0x447a23[_0xc48c25(0x260)]=this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]),this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]?_0x447a23['client_max_window_bits']=this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]:this['_options'][_0xc48c25(0x21d)]==null&&(_0x447a23[_0xc48c25(0x254)]=!0x0),_0x447a23;}['accept'](_0x13d4f9){const _0x519176=_0x683d71;return _0x13d4f9=this[_0x519176(0x29b)](_0x13d4f9),this[_0x519176(0x25d)]=this[_0x519176(0x13d)]?this['acceptAsServer'](_0x13d4f9):this[_0x519176(0x19b)](_0x13d4f9),this[_0x519176(0x25d)];}['cleanup'](){const _0x4e6d04=_0x683d71;if(this[_0x4e6d04(0x212)]&&(this[_0x4e6d04(0x212)][_0x4e6d04(0x264)](),this['_inflate']=null),this[_0x4e6d04(0x23d)]){const _0x469fc1=this[_0x4e6d04(0x23d)][_0x11297c];this[_0x4e6d04(0x23d)][_0x4e6d04(0x264)](),this['_deflate']=null,_0x469fc1&&_0x469fc1(new Error(_0x4e6d04(0x289)));}}[_0x683d71(0x12d)](_0x1f7b99){const _0x2a313e=_0x683d71,_0x31275f=this['_options'],_0x461272=_0x1f7b99[_0x2a313e(0x198)](_0x13718d=>!(_0x31275f[_0x2a313e(0x17b)]===!0x1&&_0x13718d['server_no_context_takeover']||_0x13718d[_0x2a313e(0x260)]&&(_0x31275f[_0x2a313e(0x2d3)]===!0x1||typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&_0x31275f[_0x2a313e(0x2d3)]>_0x13718d[_0x2a313e(0x260)])||typeof _0x31275f['clientMaxWindowBits']=='number'&&!_0x13718d['client_max_window_bits']));if(!_0x461272)throw new Error(_0x2a313e(0x186));return _0x31275f[_0x2a313e(0x17b)]&&(_0x461272[_0x2a313e(0x154)]=!0x0),_0x31275f[_0x2a313e(0x2a6)]&&(_0x461272[_0x2a313e(0x147)]=!0x0),typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&(_0x461272['server_max_window_bits']=_0x31275f[_0x2a313e(0x2d3)]),typeof _0x31275f[_0x2a313e(0x21d)]=='number'?_0x461272['client_max_window_bits']=_0x31275f[_0x2a313e(0x21d)]:(_0x461272['client_max_window_bits']===!0x0||_0x31275f[_0x2a313e(0x21d)]===!0x1)&&delete _0x461272[_0x2a313e(0x254)],_0x461272;}['acceptAsClient'](_0x14cf69){const _0x7554e3=_0x683d71,_0x2dcc36=_0x14cf69[0x0];if(this[_0x7554e3(0x2dc)][_0x7554e3(0x2a6)]===!0x1&&_0x2dcc36['client_no_context_takeover'])throw new Error(_0x7554e3(0x1f6));if(!_0x2dcc36[_0x7554e3(0x254)])typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]==_0x7554e3(0x292)&&(_0x2dcc36['client_max_window_bits']=this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]);else{if(this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]===!0x1||typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]=='number'&&_0x2dcc36[_0x7554e3(0x254)]>this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)])throw new Error(_0x7554e3(0x2c0));}return _0x2dcc36;}[_0x683d71(0x29b)](_0x54f03e){const _0x5446b3=_0x683d71;return _0x54f03e[_0x5446b3(0x2ad)](_0x4ba232=>{const _0xd340fd=_0x5446b3;Object[_0xd340fd(0x164)](_0x4ba232)['forEach'](_0xbdb3ee=>{const _0x3c39a2=_0xd340fd;let _0x5db221=_0x4ba232[_0xbdb3ee];if(_0x5db221['length']>0x1)throw new Error(_0x3c39a2(0x20d)+_0xbdb3ee+_0x3c39a2(0x1c9));if(_0x5db221=_0x5db221[0x0],_0xbdb3ee===_0x3c39a2(0x254)){if(_0x5db221!==!0x0){const _0x3d43d4=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x3d43d4)||_0x3d43d4<0x8||_0x3d43d4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);_0x5db221=_0x3d43d4;}else{if(!this['_isServer'])throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}}else{if(_0xbdb3ee==='server_max_window_bits'){const _0x43bb3a=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x43bb3a)||_0x43bb3a<0x8||_0x43bb3a>0xf)throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+'\x22:\x20'+_0x5db221);_0x5db221=_0x43bb3a;}else{if(_0xbdb3ee===_0x3c39a2(0x147)||_0xbdb3ee===_0x3c39a2(0x154)){if(_0x5db221!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xbdb3ee+'\x22');}}_0x4ba232[_0xbdb3ee]=_0x5db221;});}),_0x54f03e;}[_0x683d71(0x25e)](_0xfa03d3,_0xee541f,_0x4e8484){const _0x4009cb=_0x683d71;_0x1ccc6a[_0x4009cb(0x2da)](_0x59da97=>{this['_decompress'](_0xfa03d3,_0xee541f,(_0x463860,_0x2ecac5)=>{_0x59da97(),_0x4e8484(_0x463860,_0x2ecac5);});});}[_0x683d71(0x180)](_0x284a92,_0x49c587,_0x570087){const _0x4c876b=_0x683d71;_0x1ccc6a[_0x4c876b(0x2da)](_0x40f126=>{const _0x193e97=_0x4c876b;this[_0x193e97(0x295)](_0x284a92,_0x49c587,(_0x233177,_0x55c7a6)=>{_0x40f126(),_0x570087(_0x233177,_0x55c7a6);});});}[_0x683d71(0x273)](_0x1d5cea,_0x4ef169,_0x4c78ff){const _0x2d0d4b=_0x683d71,_0x463984=this[_0x2d0d4b(0x13d)]?_0x2d0d4b(0x2a3):_0x2d0d4b(0x156);if(!this[_0x2d0d4b(0x212)]){const _0x51b734=_0x463984+_0x2d0d4b(0x27a),_0x5deab8=typeof this[_0x2d0d4b(0x25d)][_0x51b734]!='number'?_0x2b79f5[_0x2d0d4b(0x128)]:this[_0x2d0d4b(0x25d)][_0x51b734];this[_0x2d0d4b(0x212)]=_0x2b79f5[_0x2d0d4b(0x2ba)]({...this['_options'][_0x2d0d4b(0x179)],'windowBits':_0x5deab8}),this[_0x2d0d4b(0x212)][_0x417215]=this,this[_0x2d0d4b(0x212)][_0x3bea6f]=0x0,this[_0x2d0d4b(0x212)][_0x3b25eb]=[],this['_inflate']['on'](_0x2d0d4b(0x15a),_0x130775),this[_0x2d0d4b(0x212)]['on'](_0x2d0d4b(0x2cf),_0x236aee);}this[_0x2d0d4b(0x212)][_0x11297c]=_0x4c78ff,this['_inflate'][_0x2d0d4b(0x249)](_0x1d5cea),_0x4ef169&&this[_0x2d0d4b(0x212)][_0x2d0d4b(0x249)](_0x571c01),this[_0x2d0d4b(0x212)][_0x2d0d4b(0x1de)](()=>{const _0x1b53ae=_0x2d0d4b,_0x22a2fb=this[_0x1b53ae(0x212)][_0x2a370c];if(_0x22a2fb){this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null,_0x4c78ff(_0x22a2fb);return;}const _0x1b07b9=_0x2860b8['concat'](this[_0x1b53ae(0x212)][_0x3b25eb],this[_0x1b53ae(0x212)][_0x3bea6f]);this[_0x1b53ae(0x212)][_0x1b53ae(0x214)][_0x1b53ae(0x2a2)]?(this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null):(this['_inflate'][_0x3bea6f]=0x0,this['_inflate'][_0x3b25eb]=[],_0x4ef169&&this[_0x1b53ae(0x25d)][_0x463984+_0x1b53ae(0x18a)]&&this[_0x1b53ae(0x212)]['reset']()),_0x4c78ff(null,_0x1b07b9);});}[_0x683d71(0x295)](_0x994612,_0xfac796,_0x36c8e8){const _0x2776a8=_0x683d71,_0xf9144c=this[_0x2776a8(0x13d)]?_0x2776a8(0x156):_0x2776a8(0x2a3);if(!this[_0x2776a8(0x23d)]){const _0x167046=_0xf9144c+_0x2776a8(0x27a),_0x36d5c0=typeof this[_0x2776a8(0x25d)][_0x167046]!=_0x2776a8(0x292)?_0x2b79f5[_0x2776a8(0x128)]:this['params'][_0x167046];this[_0x2776a8(0x23d)]=_0x2b79f5['createDeflateRaw']({...this[_0x2776a8(0x2dc)][_0x2776a8(0x2db)],'windowBits':_0x36d5c0}),this[_0x2776a8(0x23d)][_0x3bea6f]=0x0,this[_0x2776a8(0x23d)][_0x3b25eb]=[],this[_0x2776a8(0x23d)]['on']('data',_0x1d5cb4);}this['_deflate'][_0x11297c]=_0x36c8e8,this[_0x2776a8(0x23d)][_0x2776a8(0x249)](_0x994612),this[_0x2776a8(0x23d)][_0x2776a8(0x1de)](_0x2b79f5[_0x2776a8(0x27b)],()=>{const _0x5f7926=_0x2776a8;if(!this[_0x5f7926(0x23d)])return;let _0x35c551=_0x2860b8['concat'](this[_0x5f7926(0x23d)][_0x3b25eb],this['_deflate'][_0x3bea6f]);_0xfac796&&(_0x35c551=new _0x34372c(_0x35c551['buffer'],_0x35c551[_0x5f7926(0x1b1)],_0x35c551[_0x5f7926(0x12b)]-0x4)),this[_0x5f7926(0x23d)][_0x11297c]=null,this[_0x5f7926(0x23d)][_0x3bea6f]=0x0,this[_0x5f7926(0x23d)][_0x3b25eb]=[],_0xfac796&&this['params'][_0xf9144c+_0x5f7926(0x18a)]&&this[_0x5f7926(0x23d)][_0x5f7926(0x1e2)](),_0x36c8e8(null,_0x35c551);});}}ve=_0x4c626c;function _0x1d5cb4(_0x53df9a){const _0x5f4df3=_0x683d71;this[_0x3b25eb][_0x5f4df3(0x2e1)](_0x53df9a),this[_0x3bea6f]+=_0x53df9a[_0x5f4df3(0x12b)];}function _0x236aee(_0x1266b7){const _0x1e472e=_0x683d71;if(this[_0x3bea6f]+=_0x1266b7[_0x1e472e(0x12b)],this[_0x417215][_0x1e472e(0x1ae)]<0x1||this[_0x3bea6f]<=this[_0x417215]['_maxPayload']){this[_0x3b25eb][_0x1e472e(0x2e1)](_0x1266b7);return;}this[_0x2a370c]=new RangeError(_0x1e472e(0x183)),this[_0x2a370c][_0x1e472e(0x18c)]=_0x1e472e(0x145),this[_0x2a370c][_0x52ad40]=0x3f1,this[_0x1e472e(0x220)](_0x1e472e(0x2cf),_0x236aee),this[_0x1e472e(0x1e2)]();}function _0x130775(_0x146851){const _0x2768d5=_0x683d71;if(this[_0x417215][_0x2768d5(0x212)]=null,this[_0x2a370c]){this[_0x11297c](this[_0x2a370c]);return;}_0x146851[_0x52ad40]=0x3ef,this[_0x11297c](_0x146851);}return ve;}var ie={'exports':{}};function _0x9265(_0x41a19a,_0x1edcd2){const _0x563734=_0x5637();return _0x9265=function(_0x926500,_0xabeca9){_0x926500=_0x926500-0x128;let _0x136872=_0x563734[_0x926500];return _0x136872;},_0x9265(_0x41a19a,_0x1edcd2);}const Dt={},Rt=Object['freeze'](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Dt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Bt=at(Rt);var Ye;function ae(){const _0x11cafe=_0x56ab5b;if(Ye)return ie[_0x11cafe(0x257)];Ye=0x1;const {isUtf8:_0x1f2023}=wt,{hasBlob:_0x2abb71}=H(),_0x5e5ac=[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 _0x3f9c48(_0x3dc6c7){return _0x3dc6c7>=0x3e8&&_0x3dc6c7<=0x3f6&&_0x3dc6c7!==0x3ec&&_0x3dc6c7!==0x3ed&&_0x3dc6c7!==0x3ee||_0x3dc6c7>=0xbb8&&_0x3dc6c7<=0x1387;}function _0x1cec25(_0x1fedd2){const _0x3588f7=_0x11cafe,_0x4ad27f=_0x1fedd2[_0x3588f7(0x12b)];let _0x21a4aa=0x0;for(;_0x21a4aa<_0x4ad27f;)if((_0x1fedd2[_0x21a4aa]&0x80)===0x0)_0x21a4aa++;else{if((_0x1fedd2[_0x21a4aa]&0xe0)===0xc0){if(_0x21a4aa+0x1===_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa]&0xfe)===0xc0)return!0x1;_0x21a4aa+=0x2;}else{if((_0x1fedd2[_0x21a4aa]&0xf0)===0xe0){if(_0x21a4aa+0x2>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xe0&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0x80||_0x1fedd2[_0x21a4aa]===0xed&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0xa0)return!0x1;_0x21a4aa+=0x3;}else{if((_0x1fedd2[_0x21a4aa]&0xf8)===0xf0){if(_0x21a4aa+0x3>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x3]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xf0&&(_0x1fedd2[_0x21a4aa+0x1]&0xf0)===0x80||_0x1fedd2[_0x21a4aa]===0xf4&&_0x1fedd2[_0x21a4aa+0x1]>0x8f||_0x1fedd2[_0x21a4aa]>0xf4)return!0x1;_0x21a4aa+=0x4;}else return!0x1;}}}return!0x0;}function _0xe8c096(_0x547a37){const _0x1a3d82=_0x11cafe;return _0x2abb71&&typeof _0x547a37==_0x1a3d82(0x1d3)&&typeof _0x547a37['arrayBuffer']==_0x1a3d82(0x23f)&&typeof _0x547a37[_0x1a3d82(0x28a)]==_0x1a3d82(0x196)&&typeof _0x547a37[_0x1a3d82(0x206)]==_0x1a3d82(0x23f)&&(_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='Blob'||_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='File');}if(ie['exports']={'isBlob':_0xe8c096,'isValidStatusCode':_0x3f9c48,'isValidUTF8':_0x1cec25,'tokenChars':_0x5e5ac},_0x1f2023)ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x1a8f62){return _0x1a8f62['length']<0x18?_0x1cec25(_0x1a8f62):_0x1f2023(_0x1a8f62);};else{if(!process[_0x11cafe(0x28f)][_0x11cafe(0x2bd)])try{const _0x54275a=Bt;ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x28a651){const _0x210ec4=_0x11cafe;return _0x28a651[_0x210ec4(0x12b)]<0x20?_0x1cec25(_0x28a651):_0x54275a(_0x28a651);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x55416a=_0x56ab5b;if(Ke)return Se;Ke=0x1;const {Writable:_0x1c08c9}=oe,_0x1ccdf8=he(),{BINARY_TYPES:_0x43c238,EMPTY_BUFFER:_0xb68dd5,kStatusCode:_0x490de7,kWebSocket:_0x1c5dae}=H(),{concat:_0x87651,toArrayBuffer:_0x5accff,unmask:_0x28e211}=ce(),{isValidStatusCode:_0x28cb82,isValidUTF8:_0xa769db}=ae(),_0x5980e8=Buffer[Symbol[_0x55416a(0x268)]],_0x5d69f6=0x0,_0x50592c=0x1,_0x33b096=0x2,_0x46ce76=0x3,_0x39a725=0x4,_0x2ab5aa=0x5,_0x22278f=0x6;class _0x40e33b extends _0x1c08c9{constructor(_0x42a5e6={}){const _0x48d611=_0x55416a;super(),this[_0x48d611(0x152)]=_0x42a5e6[_0x48d611(0x1fd)]!==void 0x0?_0x42a5e6[_0x48d611(0x1fd)]:!0x0,this[_0x48d611(0x243)]=_0x42a5e6[_0x48d611(0x27c)]||_0x43c238[0x0],this[_0x48d611(0x2c8)]=_0x42a5e6[_0x48d611(0x188)]||{},this['_isServer']=!!_0x42a5e6[_0x48d611(0x28e)],this[_0x48d611(0x1ae)]=_0x42a5e6[_0x48d611(0x2d4)]|0x0,this['_skipUTF8Validation']=!!_0x42a5e6['skipUTF8Validation'],this[_0x1c5dae]=void 0x0,this[_0x48d611(0x2a0)]=0x0,this[_0x48d611(0x24b)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x48d611(0x1a9)]=void 0x0,this[_0x48d611(0x2e5)]=0x0,this['_masked']=!0x1,this[_0x48d611(0x1da)]=!0x1,this[_0x48d611(0x207)]=0x0,this['_totalPayloadLength']=0x0,this[_0x48d611(0x2bf)]=0x0,this[_0x48d611(0x29a)]=[],this['_errored']=!0x1,this[_0x48d611(0x1c5)]=!0x1,this[_0x48d611(0x219)]=_0x5d69f6;}[_0x55416a(0x1c8)](_0x118e3a,_0x156e9a,_0xebc92d){const _0x28e33e=_0x55416a;if(this[_0x28e33e(0x207)]===0x8&&this['_state']==_0x5d69f6)return _0xebc92d();this[_0x28e33e(0x2a0)]+=_0x118e3a['length'],this['_buffers']['push'](_0x118e3a),this[_0x28e33e(0x282)](_0xebc92d);}[_0x55416a(0x2b6)](_0x54f1f8){const _0x389a75=_0x55416a;if(this[_0x389a75(0x2a0)]-=_0x54f1f8,_0x54f1f8===this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)])return this['_buffers'][_0x389a75(0x277)]();if(_0x54f1f8<this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)]){const _0x4a6e79=this[_0x389a75(0x24b)][0x0];return this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)]+_0x54f1f8,_0x4a6e79[_0x389a75(0x12b)]-_0x54f1f8),new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)],_0x54f1f8);}const _0x59c091=Buffer['allocUnsafe'](_0x54f1f8);do{const _0x2bb3f7=this[_0x389a75(0x24b)][0x0],_0x309ec0=_0x59c091[_0x389a75(0x12b)]-_0x54f1f8;_0x54f1f8>=_0x2bb3f7[_0x389a75(0x12b)]?_0x59c091[_0x389a75(0x1bf)](this['_buffers'][_0x389a75(0x277)](),_0x309ec0):(_0x59c091[_0x389a75(0x1bf)](new Uint8Array(_0x2bb3f7['buffer'],_0x2bb3f7[_0x389a75(0x1b1)],_0x54f1f8),_0x309ec0),this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x2bb3f7[_0x389a75(0x166)],_0x2bb3f7[_0x389a75(0x1b1)]+_0x54f1f8,_0x2bb3f7[_0x389a75(0x12b)]-_0x54f1f8)),_0x54f1f8-=_0x2bb3f7[_0x389a75(0x12b)];}while(_0x54f1f8>0x0);return _0x59c091;}[_0x55416a(0x282)](_0x11e237){const _0x229e93=_0x55416a;this[_0x229e93(0x1c5)]=!0x0;do switch(this[_0x229e93(0x219)]){case _0x5d69f6:this[_0x229e93(0x269)](_0x11e237);break;case _0x50592c:this[_0x229e93(0x187)](_0x11e237);break;case _0x33b096:this[_0x229e93(0x1a8)](_0x11e237);break;case _0x46ce76:this[_0x229e93(0x245)]();break;case _0x39a725:this[_0x229e93(0x203)](_0x11e237);break;case _0x2ab5aa:case _0x22278f:this[_0x229e93(0x1c5)]=!0x1;return;}while(this[_0x229e93(0x1c5)]);this['_errored']||_0x11e237();}[_0x55416a(0x269)](_0xa0e5bf){const _0x2358a3=_0x55416a;if(this[_0x2358a3(0x2a0)]<0x2){this[_0x2358a3(0x1c5)]=!0x1;return;}const _0x4c5ab3=this[_0x2358a3(0x2b6)](0x2);if((_0x4c5ab3[0x0]&0x30)!==0x0){const _0x25ba97=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x130));_0xa0e5bf(_0x25ba97);return;}const _0xbf9184=(_0x4c5ab3[0x0]&0x40)===0x40;if(_0xbf9184&&!this[_0x2358a3(0x2c8)][_0x1ccdf8[_0x2358a3(0x2d5)]]){const _0x37f8d4=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x37f8d4);return;}if(this[_0x2358a3(0x1da)]=(_0x4c5ab3[0x0]&0x80)===0x80,this[_0x2358a3(0x207)]=_0x4c5ab3[0x0]&0xf,this['_payloadLength']=_0x4c5ab3[0x1]&0x7f,this[_0x2358a3(0x207)]===0x0){if(_0xbf9184){const _0x455166=this[_0x2358a3(0x129)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x455166);return;}if(!this[_0x2358a3(0x2e5)]){const _0x452e37=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x23a),!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x452e37);return;}this[_0x2358a3(0x207)]=this['_fragmented'];}else{if(this[_0x2358a3(0x207)]===0x1||this[_0x2358a3(0x207)]===0x2){if(this[_0x2358a3(0x2e5)]){const _0x477720=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this[_0x2358a3(0x207)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa0e5bf(_0x477720);return;}this[_0x2358a3(0x1b9)]=_0xbf9184;}else{if(this['_opcode']>0x7&&this[_0x2358a3(0x207)]<0xb){if(!this[_0x2358a3(0x1da)]){const _0x436a8f=this['createError'](RangeError,_0x2358a3(0x283),!0x0,0x3ea,_0x2358a3(0x2cd));_0xa0e5bf(_0x436a8f);return;}if(_0xbf9184){const _0x329cd9=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa0e5bf(_0x329cd9);return;}if(this[_0x2358a3(0x28b)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x275367=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x2358a3(0x29e));_0xa0e5bf(_0x275367);return;}}else{const _0x25a90d=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x25a90d);return;}}}if(!this[_0x2358a3(0x1da)]&&!this['_fragmented']&&(this[_0x2358a3(0x2e5)]=this[_0x2358a3(0x207)]),this['_masked']=(_0x4c5ab3[0x1]&0x80)===0x80,this[_0x2358a3(0x13d)]){if(!this['_masked']){const _0x13990b=this['createError'](RangeError,_0x2358a3(0x171),!0x0,0x3ea,_0x2358a3(0x184));_0xa0e5bf(_0x13990b);return;}}else{if(this[_0x2358a3(0x25f)]){const _0x5466c0=this[_0x2358a3(0x129)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xa0e5bf(_0x5466c0);return;}}this[_0x2358a3(0x28b)]===0x7e?this[_0x2358a3(0x219)]=_0x50592c:this[_0x2358a3(0x28b)]===0x7f?this[_0x2358a3(0x219)]=_0x33b096:this[_0x2358a3(0x1e9)](_0xa0e5bf);}[_0x55416a(0x187)](_0xb7f179){const _0x3293b6=_0x55416a;if(this[_0x3293b6(0x2a0)]<0x2){this['_loop']=!0x1;return;}this[_0x3293b6(0x28b)]=this[_0x3293b6(0x2b6)](0x2)[_0x3293b6(0x12f)](0x0),this[_0x3293b6(0x1e9)](_0xb7f179);}[_0x55416a(0x1a8)](_0x3fdb40){const _0x42b529=_0x55416a;if(this[_0x42b529(0x2a0)]<0x8){this[_0x42b529(0x1c5)]=!0x1;return;}const _0xf3b748=this['consume'](0x8),_0x4e112d=_0xf3b748[_0x42b529(0x141)](0x0);if(_0x4e112d>Math['pow'](0x2,0x15)-0x1){const _0x4dc53a=this[_0x42b529(0x129)](RangeError,_0x42b529(0x1dc),!0x1,0x3f1,_0x42b529(0x262));_0x3fdb40(_0x4dc53a);return;}this['_payloadLength']=_0x4e112d*Math[_0x42b529(0x261)](0x2,0x20)+_0xf3b748[_0x42b529(0x141)](0x4),this[_0x42b529(0x1e9)](_0x3fdb40);}[_0x55416a(0x1e9)](_0x184382){const _0x376b7e=_0x55416a;if(this[_0x376b7e(0x28b)]&&this[_0x376b7e(0x207)]<0x8&&(this[_0x376b7e(0x22d)]+=this[_0x376b7e(0x28b)],this[_0x376b7e(0x22d)]>this[_0x376b7e(0x1ae)]&&this[_0x376b7e(0x1ae)]>0x0)){const _0x35ae85=this[_0x376b7e(0x129)](RangeError,_0x376b7e(0x183),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x184382(_0x35ae85);return;}this[_0x376b7e(0x25f)]?this[_0x376b7e(0x219)]=_0x46ce76:this[_0x376b7e(0x219)]=_0x39a725;}[_0x55416a(0x245)](){const _0x61bd6d=_0x55416a;if(this[_0x61bd6d(0x2a0)]<0x4){this['_loop']=!0x1;return;}this[_0x61bd6d(0x1a9)]=this['consume'](0x4),this[_0x61bd6d(0x219)]=_0x39a725;}['getData'](_0x285b24){const _0x5c0021=_0x55416a;let _0x5441d5=_0xb68dd5;if(this[_0x5c0021(0x28b)]){if(this[_0x5c0021(0x2a0)]<this['_payloadLength']){this[_0x5c0021(0x1c5)]=!0x1;return;}_0x5441d5=this[_0x5c0021(0x2b6)](this[_0x5c0021(0x28b)]),this[_0x5c0021(0x25f)]&&(this['_mask'][0x0]|this[_0x5c0021(0x1a9)][0x1]|this[_0x5c0021(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x28e211(_0x5441d5,this[_0x5c0021(0x1a9)]);}if(this[_0x5c0021(0x207)]>0x7){this[_0x5c0021(0x2eb)](_0x5441d5,_0x285b24);return;}if(this[_0x5c0021(0x1b9)]){this[_0x5c0021(0x219)]=_0x2ab5aa,this[_0x5c0021(0x25e)](_0x5441d5,_0x285b24);return;}_0x5441d5[_0x5c0021(0x12b)]&&(this[_0x5c0021(0x2bf)]=this[_0x5c0021(0x22d)],this['_fragments'][_0x5c0021(0x2e1)](_0x5441d5)),this[_0x5c0021(0x1e3)](_0x285b24);}[_0x55416a(0x25e)](_0x3555ec,_0x759a0c){const _0x543c35=_0x55416a;this['_extensions'][_0x1ccdf8[_0x543c35(0x2d5)]][_0x543c35(0x25e)](_0x3555ec,this['_fin'],(_0x415dde,_0x32a912)=>{const _0x1b5edc=_0x543c35;if(_0x415dde)return _0x759a0c(_0x415dde);if(_0x32a912[_0x1b5edc(0x12b)]){if(this[_0x1b5edc(0x2bf)]+=_0x32a912['length'],this[_0x1b5edc(0x2bf)]>this[_0x1b5edc(0x1ae)]&&this[_0x1b5edc(0x1ae)]>0x0){const _0x22d66b=this['createError'](RangeError,_0x1b5edc(0x183),!0x1,0x3f1,_0x1b5edc(0x145));_0x759a0c(_0x22d66b);return;}this[_0x1b5edc(0x29a)]['push'](_0x32a912);}this['dataMessage'](_0x759a0c),this['_state']===_0x5d69f6&&this[_0x1b5edc(0x282)](_0x759a0c);});}[_0x55416a(0x1e3)](_0x25954a){const _0x457f73=_0x55416a;if(!this['_fin']){this[_0x457f73(0x219)]=_0x5d69f6;return;}const _0x5dc9d8=this[_0x457f73(0x2bf)],_0x4f8fab=this['_fragments'];if(this[_0x457f73(0x22d)]=0x0,this['_messageLength']=0x0,this[_0x457f73(0x2e5)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x557a86;this['_binaryType']===_0x457f73(0x157)?_0x557a86=_0x87651(_0x4f8fab,_0x5dc9d8):this[_0x457f73(0x243)]==='arraybuffer'?_0x557a86=_0x5accff(_0x87651(_0x4f8fab,_0x5dc9d8)):this[_0x457f73(0x243)]===_0x457f73(0x240)?_0x557a86=new Blob(_0x4f8fab):_0x557a86=_0x4f8fab,this['_allowSynchronousEvents']?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x557a86,!0x0),this[_0x457f73(0x219)]=_0x5d69f6):(this['_state']=_0x22278f,setImmediate(()=>{const _0x5a7f26=_0x457f73;this[_0x5a7f26(0x22e)](_0x5a7f26(0x27f),_0x557a86,!0x0),this[_0x5a7f26(0x219)]=_0x5d69f6,this[_0x5a7f26(0x282)](_0x25954a);}));}else{const _0x2f93b3=_0x87651(_0x4f8fab,_0x5dc9d8);if(!this[_0x457f73(0x291)]&&!_0xa769db(_0x2f93b3)){const _0x50729b=this[_0x457f73(0x129)](Error,_0x457f73(0x1b0),!0x0,0x3ef,_0x457f73(0x1e4));_0x25954a(_0x50729b);return;}this['_state']===_0x2ab5aa||this[_0x457f73(0x152)]?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x2f93b3,!0x1),this[_0x457f73(0x219)]=_0x5d69f6):(this[_0x457f73(0x219)]=_0x22278f,setImmediate(()=>{const _0x4fea34=_0x457f73;this[_0x4fea34(0x22e)](_0x4fea34(0x27f),_0x2f93b3,!0x1),this[_0x4fea34(0x219)]=_0x5d69f6,this[_0x4fea34(0x282)](_0x25954a);}));}}['controlMessage'](_0x43be17,_0xb0b7a0){const _0x11bdca=_0x55416a;if(this[_0x11bdca(0x207)]===0x8){if(_0x43be17[_0x11bdca(0x12b)]===0x0)this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),0x3ed,_0xb68dd5),this['end']();else{const _0x3f18e7=_0x43be17[_0x11bdca(0x12f)](0x0);if(!_0x28cb82(_0x3f18e7)){const _0x3589d5=this[_0x11bdca(0x129)](RangeError,_0x11bdca(0x2ca)+_0x3f18e7,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xb0b7a0(_0x3589d5);return;}const _0xc94421=new _0x5980e8(_0x43be17[_0x11bdca(0x166)],_0x43be17[_0x11bdca(0x1b1)]+0x2,_0x43be17['length']-0x2);if(!this[_0x11bdca(0x291)]&&!_0xa769db(_0xc94421)){const _0x2c5153=this['createError'](Error,_0x11bdca(0x1b0),!0x0,0x3ef,_0x11bdca(0x1e4));_0xb0b7a0(_0x2c5153);return;}this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),_0x3f18e7,_0xc94421),this[_0x11bdca(0x213)]();}this[_0x11bdca(0x219)]=_0x5d69f6;return;}this[_0x11bdca(0x152)]?(this[_0x11bdca(0x22e)](this[_0x11bdca(0x207)]===0x9?_0x11bdca(0x181):_0x11bdca(0x136),_0x43be17),this[_0x11bdca(0x219)]=_0x5d69f6):(this[_0x11bdca(0x219)]=_0x22278f,setImmediate(()=>{const _0x2742a5=_0x11bdca;this[_0x2742a5(0x22e)](this[_0x2742a5(0x207)]===0x9?_0x2742a5(0x181):_0x2742a5(0x136),_0x43be17),this['_state']=_0x5d69f6,this[_0x2742a5(0x282)](_0xb0b7a0);}));}[_0x55416a(0x129)](_0xb5bba9,_0x5683c3,_0x5c7f8a,_0x593999,_0x36ecd9){const _0x3915e4=_0x55416a;this[_0x3915e4(0x1c5)]=!0x1,this[_0x3915e4(0x142)]=!0x0;const _0x625471=new _0xb5bba9(_0x5c7f8a?_0x3915e4(0x236)+_0x5683c3:_0x5683c3);return Error[_0x3915e4(0x21e)](_0x625471,this['createError']),_0x625471[_0x3915e4(0x18c)]=_0x36ecd9,_0x625471[_0x490de7]=_0x593999,_0x625471;}}return Se=_0x40e33b,Se;}var Ee,Xe;function ft(){const _0x4edaac=_0x56ab5b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x21cae1}=oe,{randomFillSync:_0x290bea}=Le,_0x15f02f=he(),{EMPTY_BUFFER:_0x4d7a79,kWebSocket:_0x233b85,NOOP:_0x3093d8}=H(),{isBlob:_0x18238f,isValidStatusCode:_0x34a4f7}=ae(),{mask:_0x27d75c,toBuffer:_0x2815e0}=ce(),_0x572726=Symbol(_0x4edaac(0x159)),_0x3c3278=Buffer[_0x4edaac(0x2b7)](0x4),_0x2fb60f=0x8*0x400;let _0x4c98fc,_0xf89c8b=_0x2fb60f;const _0xc4f1fc=0x0,_0x1fb6f9=0x1,_0x4d1991=0x2;class _0x433cac{constructor(_0x4f673c,_0x354d36,_0x4583fb){const _0x1910c3=_0x4edaac;this[_0x1910c3(0x2c8)]=_0x354d36||{},_0x4583fb&&(this[_0x1910c3(0x2af)]=_0x4583fb,this[_0x1910c3(0x2c4)]=Buffer[_0x1910c3(0x2b7)](0x4)),this['_socket']=_0x4f673c,this[_0x1910c3(0x294)]=!0x0,this[_0x1910c3(0x295)]=!0x1,this[_0x1910c3(0x2a0)]=0x0,this[_0x1910c3(0x1b5)]=[],this[_0x1910c3(0x219)]=_0xc4f1fc,this['onerror']=_0x3093d8,this[_0x233b85]=void 0x0;}static['frame'](_0x216264,_0x5200df){const _0x2fe90e=_0x4edaac;let _0x4397aa,_0x503c09=!0x1,_0x5d4beb=0x2,_0x42e13a=!0x1;_0x5200df[_0x2fe90e(0x1fb)]&&(_0x4397aa=_0x5200df[_0x2fe90e(0x1ac)]||_0x3c3278,_0x5200df['generateMask']?_0x5200df['generateMask'](_0x4397aa):(_0xf89c8b===_0x2fb60f&&(_0x4c98fc===void 0x0&&(_0x4c98fc=Buffer['alloc'](_0x2fb60f)),_0x290bea(_0x4c98fc,0x0,_0x2fb60f),_0xf89c8b=0x0),_0x4397aa[0x0]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x1]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x2]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x3]=_0x4c98fc[_0xf89c8b++]),_0x42e13a=(_0x4397aa[0x0]|_0x4397aa[0x1]|_0x4397aa[0x2]|_0x4397aa[0x3])===0x0,_0x5d4beb=0x6);let _0x1f1fbe;typeof _0x216264==_0x2fe90e(0x196)?(!_0x5200df[_0x2fe90e(0x1fb)]||_0x42e13a)&&_0x5200df[_0x572726]!==void 0x0?_0x1f1fbe=_0x5200df[_0x572726]:(_0x216264=Buffer[_0x2fe90e(0x1d8)](_0x216264),_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)]):(_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)],_0x503c09=_0x5200df['mask']&&_0x5200df[_0x2fe90e(0x191)]&&!_0x42e13a);let _0x137635=_0x1f1fbe;_0x1f1fbe>=0x10000?(_0x5d4beb+=0x8,_0x137635=0x7f):_0x1f1fbe>0x7d&&(_0x5d4beb+=0x2,_0x137635=0x7e);const _0x2801af=Buffer[_0x2fe90e(0x138)](_0x503c09?_0x1f1fbe+_0x5d4beb:_0x5d4beb);return _0x2801af[0x0]=_0x5200df[_0x2fe90e(0x1cd)]?_0x5200df['opcode']|0x80:_0x5200df[_0x2fe90e(0x174)],_0x5200df['rsv1']&&(_0x2801af[0x0]|=0x40),_0x2801af[0x1]=_0x137635,_0x137635===0x7e?_0x2801af[_0x2fe90e(0x1d2)](_0x1f1fbe,0x2):_0x137635===0x7f&&(_0x2801af[0x2]=_0x2801af[0x3]=0x0,_0x2801af[_0x2fe90e(0x22b)](_0x1f1fbe,0x4,0x6)),_0x5200df[_0x2fe90e(0x1fb)]?(_0x2801af[0x1]|=0x80,_0x2801af[_0x5d4beb-0x4]=_0x4397aa[0x0],_0x2801af[_0x5d4beb-0x3]=_0x4397aa[0x1],_0x2801af[_0x5d4beb-0x2]=_0x4397aa[0x2],_0x2801af[_0x5d4beb-0x1]=_0x4397aa[0x3],_0x42e13a?[_0x2801af,_0x216264]:_0x503c09?(_0x27d75c(_0x216264,_0x4397aa,_0x2801af,_0x5d4beb,_0x1f1fbe),[_0x2801af]):(_0x27d75c(_0x216264,_0x4397aa,_0x216264,0x0,_0x1f1fbe),[_0x2801af,_0x216264])):[_0x2801af,_0x216264];}[_0x4edaac(0x264)](_0x797c79,_0x3cff80,_0x4b97f8,_0x27298b){const _0x4f941c=_0x4edaac;let _0x6669c0;if(_0x797c79===void 0x0)_0x6669c0=_0x4d7a79;else{if(typeof _0x797c79!=_0x4f941c(0x292)||!_0x34a4f7(_0x797c79))throw new TypeError(_0x4f941c(0x276));if(_0x3cff80===void 0x0||!_0x3cff80[_0x4f941c(0x12b)])_0x6669c0=Buffer[_0x4f941c(0x138)](0x2),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0);else{const _0x43488b=Buffer[_0x4f941c(0x2d6)](_0x3cff80);if(_0x43488b>0x7b)throw new RangeError(_0x4f941c(0x195));_0x6669c0=Buffer[_0x4f941c(0x138)](0x2+_0x43488b),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0),typeof _0x3cff80==_0x4f941c(0x196)?_0x6669c0[_0x4f941c(0x249)](_0x3cff80,0x2):_0x6669c0['set'](_0x3cff80,0x2);}}const _0x2dc50c={[_0x572726]:_0x6669c0[_0x4f941c(0x12b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4b97f8,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4f941c(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x4f941c(0x27d)],_0x6669c0,!0x1,_0x2dc50c,_0x27298b]):this['sendFrame'](_0x433cac[_0x4f941c(0x1ad)](_0x6669c0,_0x2dc50c),_0x27298b);}[_0x4edaac(0x181)](_0x4a164a,_0x1d17dd,_0x2beb07){const _0x3a83f1=_0x4edaac;let _0x3d0849,_0x543b49;if(typeof _0x4a164a==_0x3a83f1(0x196)?(_0x3d0849=Buffer[_0x3a83f1(0x2d6)](_0x4a164a),_0x543b49=!0x1):_0x18238f(_0x4a164a)?(_0x3d0849=_0x4a164a[_0x3a83f1(0x1a5)],_0x543b49=!0x1):(_0x4a164a=_0x2815e0(_0x4a164a),_0x3d0849=_0x4a164a[_0x3a83f1(0x12b)],_0x543b49=_0x2815e0[_0x3a83f1(0x191)]),_0x3d0849>0x7d)throw new RangeError(_0x3a83f1(0x25a));const _0x55f895={[_0x572726]:_0x3d0849,'fin':!0x0,'generateMask':this[_0x3a83f1(0x2af)],'mask':_0x1d17dd,'maskBuffer':this[_0x3a83f1(0x2c4)],'opcode':0x9,'readOnly':_0x543b49,'rsv1':!0x1};_0x18238f(_0x4a164a)?this['_state']!==_0xc4f1fc?this['enqueue']([this['getBlobData'],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this['getBlobData'](_0x4a164a,!0x1,_0x55f895,_0x2beb07):this[_0x3a83f1(0x219)]!==_0xc4f1fc?this[_0x3a83f1(0x24f)]([this[_0x3a83f1(0x27d)],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this[_0x3a83f1(0x2b2)](_0x433cac['frame'](_0x4a164a,_0x55f895),_0x2beb07);}[_0x4edaac(0x136)](_0x1612cc,_0x6cc8a3,_0xc031e7){const _0x3b0e7f=_0x4edaac;let _0x158176,_0x104f5e;if(typeof _0x1612cc==_0x3b0e7f(0x196)?(_0x158176=Buffer['byteLength'](_0x1612cc),_0x104f5e=!0x1):_0x18238f(_0x1612cc)?(_0x158176=_0x1612cc[_0x3b0e7f(0x1a5)],_0x104f5e=!0x1):(_0x1612cc=_0x2815e0(_0x1612cc),_0x158176=_0x1612cc[_0x3b0e7f(0x12b)],_0x104f5e=_0x2815e0[_0x3b0e7f(0x191)]),_0x158176>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x44a25a={[_0x572726]:_0x158176,'fin':!0x0,'generateMask':this[_0x3b0e7f(0x2af)],'mask':_0x6cc8a3,'maskBuffer':this[_0x3b0e7f(0x2c4)],'opcode':0xa,'readOnly':_0x104f5e,'rsv1':!0x1};_0x18238f(_0x1612cc)?this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x3b0e7f(0x13e)],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this[_0x3b0e7f(0x13e)](_0x1612cc,!0x1,_0x44a25a,_0xc031e7):this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this['dispatch'],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this['sendFrame'](_0x433cac[_0x3b0e7f(0x1ad)](_0x1612cc,_0x44a25a),_0xc031e7);}[_0x4edaac(0x1c4)](_0x5d8d73,_0x221b77,_0x1ae1bb){const _0xf39041=_0x4edaac,_0x1a5a06=this['_extensions'][_0x15f02f[_0xf39041(0x2d5)]];let _0xf9635a=_0x221b77['binary']?0x2:0x1,_0x3eb41a=_0x221b77[_0xf39041(0x180)],_0x52cd37,_0x4f393c;typeof _0x5d8d73==_0xf39041(0x196)?(_0x52cd37=Buffer[_0xf39041(0x2d6)](_0x5d8d73),_0x4f393c=!0x1):_0x18238f(_0x5d8d73)?(_0x52cd37=_0x5d8d73[_0xf39041(0x1a5)],_0x4f393c=!0x1):(_0x5d8d73=_0x2815e0(_0x5d8d73),_0x52cd37=_0x5d8d73[_0xf39041(0x12b)],_0x4f393c=_0x2815e0['readOnly']),this[_0xf39041(0x294)]?(this[_0xf39041(0x294)]=!0x1,_0x3eb41a&&_0x1a5a06&&_0x1a5a06['params'][_0x1a5a06[_0xf39041(0x13d)]?_0xf39041(0x154):_0xf39041(0x147)]&&(_0x3eb41a=_0x52cd37>=_0x1a5a06['_threshold']),this[_0xf39041(0x295)]=_0x3eb41a):(_0x3eb41a=!0x1,_0xf9635a=0x0),_0x221b77[_0xf39041(0x1cd)]&&(this[_0xf39041(0x294)]=!0x0);const _0x361745={[_0x572726]:_0x52cd37,'fin':_0x221b77['fin'],'generateMask':this[_0xf39041(0x2af)],'mask':_0x221b77[_0xf39041(0x1fb)],'maskBuffer':this[_0xf39041(0x2c4)],'opcode':_0xf9635a,'readOnly':_0x4f393c,'rsv1':_0x3eb41a};_0x18238f(_0x5d8d73)?this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x13e)],_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb]):this[_0xf39041(0x13e)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb):this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x27d)],_0x5d8d73,this['_compress'],_0x361745,_0x1ae1bb]):this[_0xf39041(0x27d)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb);}[_0x4edaac(0x13e)](_0x1a87dc,_0x2149fa,_0xd8cbba,_0x5170d9){const _0x23c5a6=_0x4edaac;this[_0x23c5a6(0x2a0)]+=_0xd8cbba[_0x572726],this[_0x23c5a6(0x219)]=_0x4d1991,_0x1a87dc[_0x23c5a6(0x2e9)]()['then'](_0xd2140=>{const _0xd3c5d2=_0x23c5a6;if(this[_0xd3c5d2(0x2e3)]['destroyed']){const _0x55ce8a=new Error(_0xd3c5d2(0x230));process['nextTick'](_0x3a1b9c,this,_0x55ce8a,_0x5170d9);return;}this[_0xd3c5d2(0x2a0)]-=_0xd8cbba[_0x572726];const _0x3c49d4=_0x2815e0(_0xd2140);_0x2149fa?this[_0xd3c5d2(0x27d)](_0x3c49d4,_0x2149fa,_0xd8cbba,_0x5170d9):(this[_0xd3c5d2(0x219)]=_0xc4f1fc,this[_0xd3c5d2(0x2b2)](_0x433cac[_0xd3c5d2(0x1ad)](_0x3c49d4,_0xd8cbba),_0x5170d9),this[_0xd3c5d2(0x149)]());})['catch'](_0x29f83b=>{process['nextTick'](_0x3ed472,this,_0x29f83b,_0x5170d9);});}[_0x4edaac(0x27d)](_0x445785,_0x9f3913,_0x28afd9,_0x59e761){const _0x1420bf=_0x4edaac;if(!_0x9f3913){this['sendFrame'](_0x433cac['frame'](_0x445785,_0x28afd9),_0x59e761);return;}const _0x49f179=this[_0x1420bf(0x2c8)][_0x15f02f[_0x1420bf(0x2d5)]];this[_0x1420bf(0x2a0)]+=_0x28afd9[_0x572726],this[_0x1420bf(0x219)]=_0x1fb6f9,_0x49f179[_0x1420bf(0x180)](_0x445785,_0x28afd9[_0x1420bf(0x1cd)],(_0xda3cae,_0x19acaf)=>{const _0x281812=_0x1420bf;if(this['_socket']['destroyed']){const _0x156d4a=new Error(_0x281812(0x1a0));_0x3a1b9c(this,_0x156d4a,_0x59e761);return;}this[_0x281812(0x2a0)]-=_0x28afd9[_0x572726],this['_state']=_0xc4f1fc,_0x28afd9[_0x281812(0x191)]=!0x1,this[_0x281812(0x2b2)](_0x433cac['frame'](_0x19acaf,_0x28afd9),_0x59e761),this[_0x281812(0x149)]();});}[_0x4edaac(0x149)](){const _0x41c0d8=_0x4edaac;for(;this['_state']===_0xc4f1fc&&this[_0x41c0d8(0x1b5)]['length'];){const _0x8b10b3=this[_0x41c0d8(0x1b5)]['shift']();this[_0x41c0d8(0x2a0)]-=_0x8b10b3[0x3][_0x572726],Reflect[_0x41c0d8(0x258)](_0x8b10b3[0x0],this,_0x8b10b3[_0x41c0d8(0x215)](0x1));}}[_0x4edaac(0x24f)](_0x3af7e3){const _0xe7c0a9=_0x4edaac;this[_0xe7c0a9(0x2a0)]+=_0x3af7e3[0x3][_0x572726],this[_0xe7c0a9(0x1b5)]['push'](_0x3af7e3);}[_0x4edaac(0x2b2)](_0x35fb4b,_0x5c5ce1){const _0x860a8d=_0x4edaac;_0x35fb4b[_0x860a8d(0x12b)]===0x2?(this['_socket'][_0x860a8d(0x2aa)](),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0]),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x1],_0x5c5ce1),this['_socket']['uncork']()):this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0],_0x5c5ce1);}}Ee=_0x433cac;function _0x3a1b9c(_0x3b55d5,_0x181463,_0x2745a0){const _0x311695=_0x4edaac;typeof _0x2745a0==_0x311695(0x23f)&&_0x2745a0(_0x181463);for(let _0x34fcd2=0x0;_0x34fcd2<_0x3b55d5[_0x311695(0x1b5)][_0x311695(0x12b)];_0x34fcd2++){const _0xb26221=_0x3b55d5[_0x311695(0x1b5)][_0x34fcd2],_0x3e90e4=_0xb26221[_0xb26221[_0x311695(0x12b)]-0x1];typeof _0x3e90e4==_0x311695(0x23f)&&_0x3e90e4(_0x181463);}}function _0x3ed472(_0x5a7d45,_0xd2236b,_0x494ddf){const _0x451bba=_0x4edaac;_0x3a1b9c(_0x5a7d45,_0xd2236b,_0x494ddf),_0x5a7d45[_0x451bba(0x2ab)](_0xd2236b);}return Ee;}var xe,Ze;function It(){const _0x22b93b=_0x56ab5b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5ce3dc,kListener:_0x594957}=H(),_0x5c5602=Symbol('kCode'),_0x5beef9=Symbol('kData'),_0x5135d4=Symbol(_0x22b93b(0x2bc)),_0x57ccb4=Symbol('kMessage'),_0x5daaca=Symbol(_0x22b93b(0x1ef)),_0x5af05b=Symbol(_0x22b93b(0x18e)),_0x406e32=Symbol(_0x22b93b(0x1d6)),_0x7b0251=Symbol(_0x22b93b(0x163));class _0x17afe4{constructor(_0x93b221){this[_0x5af05b]=null,this[_0x406e32]=_0x93b221;}get[_0x22b93b(0x20e)](){return this[_0x5af05b];}get[_0x22b93b(0x28a)](){return this[_0x406e32];}}Object[_0x22b93b(0x209)](_0x17afe4['prototype'],_0x22b93b(0x20e),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x17afe4[_0x22b93b(0x167)],_0x22b93b(0x28a),{'enumerable':!0x0});class _0x4b3ed4 extends _0x17afe4{constructor(_0x195db9,_0x2e5a87={}){const _0x4cbed8=_0x22b93b;super(_0x195db9),this[_0x5c5602]=_0x2e5a87[_0x4cbed8(0x18c)]===void 0x0?0x0:_0x2e5a87['code'],this[_0x5daaca]=_0x2e5a87[_0x4cbed8(0x13f)]===void 0x0?'':_0x2e5a87[_0x4cbed8(0x13f)],this[_0x7b0251]=_0x2e5a87['wasClean']===void 0x0?!0x1:_0x2e5a87[_0x4cbed8(0x16d)];}get[_0x22b93b(0x18c)](){return this[_0x5c5602];}get[_0x22b93b(0x13f)](){return this[_0x5daaca];}get[_0x22b93b(0x16d)](){return this[_0x7b0251];}}Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'code',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'reason',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4[_0x22b93b(0x167)],_0x22b93b(0x16d),{'enumerable':!0x0});class _0x2a346d extends _0x17afe4{constructor(_0x2c8dd5,_0x3638c9={}){const _0x49a62c=_0x22b93b;super(_0x2c8dd5),this[_0x5135d4]=_0x3638c9['error']===void 0x0?null:_0x3638c9[_0x49a62c(0x15a)],this[_0x57ccb4]=_0x3638c9[_0x49a62c(0x27f)]===void 0x0?'':_0x3638c9[_0x49a62c(0x27f)];}get['error'](){return this[_0x5135d4];}get[_0x22b93b(0x27f)](){return this[_0x57ccb4];}}Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x15a),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x27f),{'enumerable':!0x0});class _0x43c108 extends _0x17afe4{constructor(_0x1679a4,_0x58abdb={}){const _0x465b91=_0x22b93b;super(_0x1679a4),this[_0x5beef9]=_0x58abdb[_0x465b91(0x2cf)]===void 0x0?null:_0x58abdb[_0x465b91(0x2cf)];}get[_0x22b93b(0x2cf)](){return this[_0x5beef9];}}Object[_0x22b93b(0x209)](_0x43c108[_0x22b93b(0x167)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4b3ed4,'ErrorEvent':_0x2a346d,'Event':_0x17afe4,'EventTarget':{'addEventListener'(_0x9aa233,_0x18adb4,_0xf3b195={}){const _0x4ea4be=_0x22b93b;for(const _0x4b34c7 of this[_0x4ea4be(0x15b)](_0x9aa233))if(!_0xf3b195[_0x5ce3dc]&&_0x4b34c7[_0x594957]===_0x18adb4&&!_0x4b34c7[_0x5ce3dc])return;let _0x351223;if(_0x9aa233===_0x4ea4be(0x27f))_0x351223=function(_0x3eb127,_0xa90ff5){const _0x4c68ca=_0x4ea4be,_0x1c5354=new _0x43c108(_0x4c68ca(0x27f),{'data':_0xa90ff5?_0x3eb127:_0x3eb127[_0x4c68ca(0x21c)]()});_0x1c5354[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x1c5354);};else{if(_0x9aa233===_0x4ea4be(0x264))_0x351223=function(_0x593c05,_0x50a90b){const _0x2893fa=_0x4ea4be,_0x5afdd8=new _0x4b3ed4(_0x2893fa(0x264),{'code':_0x593c05,'reason':_0x50a90b['toString'](),'wasClean':this[_0x2893fa(0x2e6)]&&this[_0x2893fa(0x29d)]});_0x5afdd8[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x5afdd8);};else{if(_0x9aa233==='error')_0x351223=function(_0x9e4056){const _0x3fe8e8=_0x4ea4be,_0x56956b=new _0x2a346d(_0x3fe8e8(0x15a),{'error':_0x9e4056,'message':_0x9e4056[_0x3fe8e8(0x27f)]});_0x56956b[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x56956b);};else{if(_0x9aa233===_0x4ea4be(0x290))_0x351223=function(){const _0x4625f0=_0x4ea4be,_0x521d4f=new _0x17afe4(_0x4625f0(0x290));_0x521d4f[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x521d4f);};else return;}}}_0x351223[_0x5ce3dc]=!!_0xf3b195[_0x5ce3dc],_0x351223[_0x594957]=_0x18adb4,_0xf3b195[_0x4ea4be(0x241)]?this[_0x4ea4be(0x241)](_0x9aa233,_0x351223):this['on'](_0x9aa233,_0x351223);},'removeEventListener'(_0x5210fc,_0x428c51){const _0x41bee4=_0x22b93b;for(const _0x3449ed of this[_0x41bee4(0x15b)](_0x5210fc))if(_0x3449ed[_0x594957]===_0x428c51&&!_0x3449ed[_0x5ce3dc]){this[_0x41bee4(0x220)](_0x5210fc,_0x3449ed);break;}}},'MessageEvent':_0x43c108};function _0x3cec5a(_0x365968,_0x5dcc20,_0x278d16){const _0x276125=_0x22b93b;typeof _0x365968==_0x276125(0x1d3)&&_0x365968[_0x276125(0x2c5)]?_0x365968[_0x276125(0x2c5)][_0x276125(0x2e8)](_0x365968,_0x278d16):_0x365968[_0x276125(0x2e8)](_0x5dcc20,_0x278d16);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x93a31f}=ae();function _0x35cd9f(_0x27f426,_0x3b6044,_0x5d399b){_0x27f426[_0x3b6044]===void 0x0?_0x27f426[_0x3b6044]=[_0x5d399b]:_0x27f426[_0x3b6044]['push'](_0x5d399b);}function _0x7a6b2e(_0x5a0b3c){const _0x3e378d=_0x9265,_0xb61d5c=Object['create'](null);let _0xab42a5=Object[_0x3e378d(0x17a)](null),_0x2be7dc=!0x1,_0x4cd7f4=!0x1,_0x119d61=!0x1,_0x60a9a8,_0x75b8ef,_0x30efd4=-0x1,_0x510a29=-0x1,_0x4e4fac=-0x1,_0x1f0def=0x0;for(;_0x1f0def<_0x5a0b3c[_0x3e378d(0x12b)];_0x1f0def++)if(_0x510a29=_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def),_0x60a9a8===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x1f0def!==0x0&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x4f5bca=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x510a29===0x2c?(_0x35cd9f(_0xb61d5c,_0x4f5bca,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null)):_0x60a9a8=_0x4f5bca,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x75b8ef===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x20||_0x510a29===0x9)_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def),_0x35cd9f(_0xab42a5,_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac),!0x0),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x30efd4=_0x4e4fac=-0x1;}else{if(_0x510a29===0x3d&&_0x30efd4!==-0x1&&_0x4e4fac===-0x1)_0x75b8ef=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x1f0def),_0x30efd4=_0x4e4fac=-0x1;else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}else{if(_0x4cd7f4){if(_0x93a31f[_0x510a29]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x30efd4===-0x1?_0x30efd4=_0x1f0def:_0x2be7dc||(_0x2be7dc=!0x0),_0x4cd7f4=!0x1;}else{if(_0x119d61){if(_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x22&&_0x30efd4!==-0x1)_0x119d61=!0x1,_0x4e4fac=_0x1f0def;else{if(_0x510a29===0x5c)_0x4cd7f4=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x510a29===0x22&&_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def-0x1)===0x3d)_0x119d61=!0x0;else{if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x30efd4!==-0x1&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);let _0x2f3b7d=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x2be7dc&&(_0x2f3b7d=_0x2f3b7d[_0x3e378d(0x1e5)](/\\/g,''),_0x2be7dc=!0x1),_0x35cd9f(_0xab42a5,_0x75b8ef,_0x2f3b7d),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x75b8ef=void 0x0,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}}}}if(_0x30efd4===-0x1||_0x119d61||_0x510a29===0x20||_0x510a29===0x9)throw new SyntaxError(_0x3e378d(0x1f5));_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x47706a=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);return _0x60a9a8===void 0x0?_0x35cd9f(_0xb61d5c,_0x47706a,_0xab42a5):(_0x75b8ef===void 0x0?_0x35cd9f(_0xab42a5,_0x47706a,!0x0):_0x2be7dc?_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a[_0x3e378d(0x1e5)](/\\/g,'')):_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a),_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5)),_0xb61d5c;}function _0xd028be(_0xec7678){const _0x20176c=_0x9265;return Object['keys'](_0xec7678)['map'](_0x4c1edc=>{const _0x4dc5b5=_0x9265;let _0x227377=_0xec7678[_0x4c1edc];return Array[_0x4dc5b5(0x151)](_0x227377)||(_0x227377=[_0x227377]),_0x227377[_0x4dc5b5(0x2ea)](_0x5648ea=>[_0x4c1edc][_0x4dc5b5(0x19c)](Object['keys'](_0x5648ea)['map'](_0x496f0a=>{const _0x2bea13=_0x4dc5b5;let _0x5862db=_0x5648ea[_0x496f0a];return Array[_0x2bea13(0x151)](_0x5862db)||(_0x5862db=[_0x5862db]),_0x5862db[_0x2bea13(0x2ea)](_0x4d3dfd=>_0x4d3dfd===!0x0?_0x496f0a:_0x496f0a+'='+_0x4d3dfd)[_0x2bea13(0x1e7)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x20176c(0x1e7)](',\x20');}return be={'format':_0xd028be,'parse':_0x7a6b2e},be;}var we,Je;function Pe(){const _0x2d92b8=_0x56ab5b;if(Je)return we;Je=0x1;const _0x497dce=nt,_0x28d99b=vt,_0x2a02d1=ot,_0x1c6b3d=St,_0x4aa39e=Et,{randomBytes:_0x34896e,createHash:_0xa813c0}=Le,{Duplex:_0x1d4374,Readable:_0x3378cf}=oe,{URL:_0x5d53ed}=xt,_0x5d2738=he(),_0x40d47c=lt(),_0x10362b=ft(),{isBlob:_0x5a5e2d}=ae(),{BINARY_TYPES:_0x35edca,EMPTY_BUFFER:_0x220053,GUID:_0x1dc0d5,kForOnEventAttribute:_0x34134f,kListener:_0x313414,kStatusCode:_0x408974,kWebSocket:_0x33db4f,NOOP:_0x3ad0dc}=H(),{EventTarget:{addEventListener:_0xc36bbf,removeEventListener:_0xe8c38f}}=It(),{format:_0x2dd43e,parse:_0x38baaa}=ct(),{toBuffer:_0x3f1719}=ce(),_0x29cd63=0x1e*0x3e8,_0x3060d2=Symbol(_0x2d92b8(0x1f3)),_0x326244=[0x8,0xd],_0x511a0a=[_0x2d92b8(0x172),_0x2d92b8(0x2ac),_0x2d92b8(0x189),'CLOSED'],_0x1bfebf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x300422 extends _0x497dce{constructor(_0x6d071b,_0x4cf7df,_0x397246){const _0x2be0f3=_0x2d92b8;super(),this[_0x2be0f3(0x243)]=_0x35edca[0x0],this[_0x2be0f3(0x2ee)]=0x3ee,this[_0x2be0f3(0x2e6)]=!0x1,this[_0x2be0f3(0x29d)]=!0x1,this[_0x2be0f3(0x21f)]=_0x220053,this[_0x2be0f3(0x280)]=null,this[_0x2be0f3(0x2df)]=!0x1,this[_0x2be0f3(0x2c8)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2be0f3(0x1e6)]=_0x300422[_0x2be0f3(0x172)],this[_0x2be0f3(0x2de)]=null,this[_0x2be0f3(0x2a1)]=null,this[_0x2be0f3(0x2e3)]=null,_0x6d071b!==null?(this['_bufferedAmount']=0x0,this[_0x2be0f3(0x13d)]=!0x1,this[_0x2be0f3(0x150)]=0x0,_0x4cf7df===void 0x0?_0x4cf7df=[]:Array[_0x2be0f3(0x151)](_0x4cf7df)||(typeof _0x4cf7df==_0x2be0f3(0x1d3)&&_0x4cf7df!==null?(_0x397246=_0x4cf7df,_0x4cf7df=[]):_0x4cf7df=[_0x4cf7df]),_0x30580f(this,_0x6d071b,_0x4cf7df,_0x397246)):(this['_autoPong']=_0x397246[_0x2be0f3(0x1c7)],this[_0x2be0f3(0x13d)]=!0x0);}get['binaryType'](){const _0x3c221a=_0x2d92b8;return this[_0x3c221a(0x243)];}set[_0x2d92b8(0x27c)](_0xb2f3e5){const _0x189c74=_0x2d92b8;_0x35edca[_0x189c74(0x231)](_0xb2f3e5)&&(this[_0x189c74(0x243)]=_0xb2f3e5,this[_0x189c74(0x2de)]&&(this[_0x189c74(0x2de)]['_binaryType']=_0xb2f3e5));}get[_0x2d92b8(0x15c)](){const _0x406954=_0x2d92b8;return this[_0x406954(0x2e3)]?this[_0x406954(0x2e3)][_0x406954(0x248)][_0x406954(0x12b)]+this['_sender'][_0x406954(0x2a0)]:this['_bufferedAmount'];}get[_0x2d92b8(0x188)](){const _0x1fa0a6=_0x2d92b8;return Object[_0x1fa0a6(0x164)](this[_0x1fa0a6(0x2c8)])[_0x1fa0a6(0x1e7)]();}get[_0x2d92b8(0x177)](){return this['_paused'];}get[_0x2d92b8(0x1d1)](){return null;}get[_0x2d92b8(0x2ab)](){return null;}get['onopen'](){return null;}get[_0x2d92b8(0x26f)](){return null;}get[_0x2d92b8(0x1a6)](){const _0x7dc761=_0x2d92b8;return this[_0x7dc761(0x1aa)];}get['readyState'](){return this['_readyState'];}get[_0x2d92b8(0x1c0)](){const _0x1ab64f=_0x2d92b8;return this[_0x1ab64f(0x211)];}[_0x2d92b8(0x272)](_0x36c93e,_0x3be184,_0x8d7e0){const _0x1ad25d=_0x2d92b8,_0x4a6980=new _0x40d47c({'allowSynchronousEvents':_0x8d7e0[_0x1ad25d(0x1fd)],'binaryType':this[_0x1ad25d(0x27c)],'extensions':this[_0x1ad25d(0x2c8)],'isServer':this[_0x1ad25d(0x13d)],'maxPayload':_0x8d7e0['maxPayload'],'skipUTF8Validation':_0x8d7e0[_0x1ad25d(0x193)]}),_0x29ca7c=new _0x10362b(_0x36c93e,this['_extensions'],_0x8d7e0[_0x1ad25d(0x247)]);this[_0x1ad25d(0x2de)]=_0x4a6980,this[_0x1ad25d(0x2a1)]=_0x29ca7c,this[_0x1ad25d(0x2e3)]=_0x36c93e,_0x4a6980[_0x33db4f]=this,_0x29ca7c[_0x33db4f]=this,_0x36c93e[_0x33db4f]=this,_0x4a6980['on'](_0x1ad25d(0x2a4),_0x5d4f79),_0x4a6980['on'](_0x1ad25d(0x286),_0x5f0260),_0x4a6980['on'](_0x1ad25d(0x15a),_0x5ede1a),_0x4a6980['on'](_0x1ad25d(0x27f),_0x57e6e0),_0x4a6980['on'](_0x1ad25d(0x181),_0x3b38e7),_0x4a6980['on']('pong',_0x3e9897),_0x29ca7c[_0x1ad25d(0x2ab)]=_0x4ac20e,_0x36c93e[_0x1ad25d(0x24d)]&&_0x36c93e[_0x1ad25d(0x24d)](0x0),_0x36c93e['setNoDelay']&&_0x36c93e[_0x1ad25d(0x201)](),_0x3be184[_0x1ad25d(0x12b)]>0x0&&_0x36c93e[_0x1ad25d(0x246)](_0x3be184),_0x36c93e['on']('close',_0x394120),_0x36c93e['on']('data',_0x394f51),_0x36c93e['on'](_0x1ad25d(0x213),_0x5f4293),_0x36c93e['on'](_0x1ad25d(0x15a),_0x22510a),this['_readyState']=_0x300422[_0x1ad25d(0x2ac)],this['emit'](_0x1ad25d(0x290));}['emitClose'](){const _0x3613e4=_0x2d92b8;if(!this[_0x3613e4(0x2e3)]){this[_0x3613e4(0x1e6)]=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this['_closeCode'],this[_0x3613e4(0x21f)]);return;}this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]]&&this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]][_0x3613e4(0x1c3)](),this['_receiver'][_0x3613e4(0x216)](),this['_readyState']=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this[_0x3613e4(0x2ee)],this[_0x3613e4(0x21f)]);}['close'](_0x1a4423,_0x130efb){const _0x554827=_0x2d92b8;if(this[_0x554827(0x2dd)]!==_0x300422[_0x554827(0x1ab)]){if(this[_0x554827(0x2dd)]===_0x300422[_0x554827(0x172)]){_0x5145ae(this,this['_req'],_0x554827(0x223));return;}if(this['readyState']===_0x300422[_0x554827(0x189)]){this[_0x554827(0x29d)]&&(this[_0x554827(0x2e6)]||this['_receiver'][_0x554827(0x248)][_0x554827(0x17e)])&&this[_0x554827(0x2e3)][_0x554827(0x213)]();return;}this['_readyState']=_0x300422[_0x554827(0x189)],this['_sender'][_0x554827(0x264)](_0x1a4423,_0x130efb,!this[_0x554827(0x13d)],_0x206768=>{const _0x3b2c83=_0x554827;_0x206768||(this[_0x3b2c83(0x29d)]=!0x0,(this[_0x3b2c83(0x2e6)]||this[_0x3b2c83(0x2de)][_0x3b2c83(0x248)][_0x3b2c83(0x17e)])&&this['_socket']['end']());}),_0x21f8dc(this);}}[_0x2d92b8(0x227)](){const _0x47469a=_0x2d92b8;this['readyState']===_0x300422[_0x47469a(0x172)]||this[_0x47469a(0x2dd)]===_0x300422[_0x47469a(0x1ab)]||(this[_0x47469a(0x299)]=!0x0,this['_socket'][_0x47469a(0x227)]());}['ping'](_0x271b82,_0x5575a6,_0xb49c06){const _0x444993=_0x2d92b8;if(this[_0x444993(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x444993(0x24c));if(typeof _0x271b82=='function'?(_0xb49c06=_0x271b82,_0x271b82=_0x5575a6=void 0x0):typeof _0x5575a6==_0x444993(0x23f)&&(_0xb49c06=_0x5575a6,_0x5575a6=void 0x0),typeof _0x271b82=='number'&&(_0x271b82=_0x271b82[_0x444993(0x21c)]()),this['readyState']!==_0x300422['OPEN']){_0x3bed0f(this,_0x271b82,_0xb49c06);return;}_0x5575a6===void 0x0&&(_0x5575a6=!this['_isServer']),this['_sender'][_0x444993(0x181)](_0x271b82||_0x220053,_0x5575a6,_0xb49c06);}[_0x2d92b8(0x136)](_0x40af3c,_0x16c930,_0x2bf636){const _0x48f106=_0x2d92b8;if(this[_0x48f106(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x48f106(0x24c));if(typeof _0x40af3c==_0x48f106(0x23f)?(_0x2bf636=_0x40af3c,_0x40af3c=_0x16c930=void 0x0):typeof _0x16c930=='function'&&(_0x2bf636=_0x16c930,_0x16c930=void 0x0),typeof _0x40af3c==_0x48f106(0x292)&&(_0x40af3c=_0x40af3c[_0x48f106(0x21c)]()),this[_0x48f106(0x2dd)]!==_0x300422[_0x48f106(0x2ac)]){_0x3bed0f(this,_0x40af3c,_0x2bf636);return;}_0x16c930===void 0x0&&(_0x16c930=!this[_0x48f106(0x13d)]),this[_0x48f106(0x2a1)][_0x48f106(0x136)](_0x40af3c||_0x220053,_0x16c930,_0x2bf636);}[_0x2d92b8(0x14f)](){const _0x531430=_0x2d92b8;this[_0x531430(0x2dd)]===_0x300422[_0x531430(0x172)]||this['readyState']===_0x300422['CLOSED']||(this[_0x531430(0x299)]=!0x1,this[_0x531430(0x2de)][_0x531430(0x248)]['needDrain']||this[_0x531430(0x2e3)]['resume']());}[_0x2d92b8(0x1c4)](_0x49e6fb,_0x4c19a9,_0x575e99){const _0x2a0753=_0x2d92b8;if(this[_0x2a0753(0x2dd)]===_0x300422[_0x2a0753(0x172)])throw new Error(_0x2a0753(0x24c));if(typeof _0x4c19a9==_0x2a0753(0x23f)&&(_0x575e99=_0x4c19a9,_0x4c19a9={}),typeof _0x49e6fb==_0x2a0753(0x292)&&(_0x49e6fb=_0x49e6fb[_0x2a0753(0x21c)]()),this[_0x2a0753(0x2dd)]!==_0x300422[_0x2a0753(0x2ac)]){_0x3bed0f(this,_0x49e6fb,_0x575e99);return;}const _0x5d6b2a={'binary':typeof _0x49e6fb!=_0x2a0753(0x196),'mask':!this[_0x2a0753(0x13d)],'compress':!0x0,'fin':!0x0,..._0x4c19a9};this[_0x2a0753(0x2c8)][_0x5d2738['extensionName']]||(_0x5d6b2a[_0x2a0753(0x180)]=!0x1),this['_sender'][_0x2a0753(0x1c4)](_0x49e6fb||_0x220053,_0x5d6b2a,_0x575e99);}[_0x2d92b8(0x1b6)](){const _0x4539ee=_0x2d92b8;if(this[_0x4539ee(0x2dd)]!==_0x300422['CLOSED']){if(this[_0x4539ee(0x2dd)]===_0x300422[_0x4539ee(0x172)]){_0x5145ae(this,this[_0x4539ee(0x266)],_0x4539ee(0x223));return;}this[_0x4539ee(0x2e3)]&&(this[_0x4539ee(0x1e6)]=_0x300422[_0x4539ee(0x189)],this[_0x4539ee(0x2e3)][_0x4539ee(0x204)]());}}}Object[_0x2d92b8(0x209)](_0x300422,'CONNECTING',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x172))}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x172),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x172))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSING')}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x189))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x1ab),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSED')}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],'CLOSED',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x1ab))}),[_0x2d92b8(0x27c),_0x2d92b8(0x15c),_0x2d92b8(0x188),'isPaused',_0x2d92b8(0x1a6),_0x2d92b8(0x2dd),'url']['forEach'](_0x4f6469=>{const _0x4c067e=_0x2d92b8;Object[_0x4c067e(0x209)](_0x300422[_0x4c067e(0x167)],_0x4f6469,{'enumerable':!0x0});}),[_0x2d92b8(0x290),_0x2d92b8(0x15a),'close','message'][_0x2d92b8(0x2ad)](_0x1a9881=>{const _0x3190f6=_0x2d92b8;Object['defineProperty'](_0x300422[_0x3190f6(0x167)],'on'+_0x1a9881,{'enumerable':!0x0,'get'(){const _0x5b765a=_0x3190f6;for(const _0x188cb1 of this[_0x5b765a(0x15b)](_0x1a9881))if(_0x188cb1[_0x34134f])return _0x188cb1[_0x313414];return null;},'set'(_0x5d5210){const _0x4ad7b9=_0x3190f6;for(const _0x3cef9b of this[_0x4ad7b9(0x15b)](_0x1a9881))if(_0x3cef9b[_0x34134f]){this[_0x4ad7b9(0x220)](_0x1a9881,_0x3cef9b);break;}typeof _0x5d5210==_0x4ad7b9(0x23f)&&this[_0x4ad7b9(0x2ef)](_0x1a9881,_0x5d5210,{[_0x34134f]:!0x0});}});}),_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x2ef)]=_0xc36bbf,_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x1e8)]=_0xe8c38f,we=_0x300422;function _0x30580f(_0xf81fa9,_0x3c80b3,_0xc2c68b,_0xabc9d8){const _0x77430c=_0x2d92b8,_0xfc9f6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x326244[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xabc9d8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x77430c(0x133),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xf81fa9['_autoPong']=_0xfc9f6[_0x77430c(0x1c7)],!_0x326244[_0x77430c(0x231)](_0xfc9f6['protocolVersion']))throw new RangeError(_0x77430c(0x2b3)+_0xfc9f6[_0x77430c(0x275)]+_0x77430c(0x16c)+_0x326244[_0x77430c(0x1e7)](',\x20')+')');let _0x5dd1f0;if(_0x3c80b3 instanceof _0x5d53ed)_0x5dd1f0=_0x3c80b3;else try{_0x5dd1f0=new _0x5d53ed(_0x3c80b3);}catch{throw new SyntaxError(_0x77430c(0x1a4)+_0x3c80b3);}_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x205)?_0x5dd1f0[_0x77430c(0x1a6)]=_0x77430c(0x16a):_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x1ca)&&(_0x5dd1f0[_0x77430c(0x1a6)]='wss:'),_0xf81fa9[_0x77430c(0x211)]=_0x5dd1f0[_0x77430c(0x265)];const _0x454ca4=_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x18d),_0x45d5dc=_0x5dd1f0['protocol']===_0x77430c(0x13c);let _0x455e4b;if(_0x5dd1f0[_0x77430c(0x1a6)]!=='ws:'&&!_0x454ca4&&!_0x45d5dc?_0x455e4b=_0x77430c(0x26e):_0x45d5dc&&!_0x5dd1f0[_0x77430c(0x1ba)]?_0x455e4b=_0x77430c(0x185):_0x5dd1f0['hash']&&(_0x455e4b=_0x77430c(0x228)),_0x455e4b){const _0x365b4c=new SyntaxError(_0x455e4b);if(_0xf81fa9[_0x77430c(0x150)]===0x0)throw _0x365b4c;_0x5164c2(_0xf81fa9,_0x365b4c);return;}const _0x2238a7=_0x454ca4?0x1bb:0x50,_0x501abc=_0x34896e(0x10)[_0x77430c(0x21c)](_0x77430c(0x1f8)),_0x280806=_0x454ca4?_0x28d99b[_0x77430c(0x12c)]:_0x2a02d1['request'],_0x3e42fa=new Set();let _0x3ed8d3;if(_0xfc9f6[_0x77430c(0x28c)]=_0xfc9f6['createConnection']||(_0x454ca4?_0x4dda2e:_0x57c076),_0xfc9f6['defaultPort']=_0xfc9f6['defaultPort']||_0x2238a7,_0xfc9f6[_0x77430c(0x137)]=_0x5dd1f0[_0x77430c(0x137)]||_0x2238a7,_0xfc9f6['host']=_0x5dd1f0[_0x77430c(0x1cb)][_0x77430c(0x1b7)]('[')?_0x5dd1f0[_0x77430c(0x1cb)]['slice'](0x1,-0x1):_0x5dd1f0[_0x77430c(0x1cb)],_0xfc9f6['headers']={..._0xfc9f6[_0x77430c(0x24a)],'Sec-WebSocket-Version':_0xfc9f6[_0x77430c(0x275)],'Sec-WebSocket-Key':_0x501abc,'Connection':'Upgrade','Upgrade':_0x77430c(0x2e4)},_0xfc9f6[_0x77430c(0x2b0)]=_0x5dd1f0['pathname']+_0x5dd1f0['search'],_0xfc9f6[_0x77430c(0x182)]=_0xfc9f6[_0x77430c(0x263)],_0xfc9f6[_0x77430c(0x14e)]&&(_0x3ed8d3=new _0x5d2738(_0xfc9f6['perMessageDeflate']!==!0x0?_0xfc9f6[_0x77430c(0x14e)]:{},!0x1,_0xfc9f6[_0x77430c(0x2d4)]),_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x221)]=_0x2dd43e({[_0x5d2738[_0x77430c(0x2d5)]]:_0x3ed8d3['offer']()})),_0xc2c68b[_0x77430c(0x12b)]){for(const _0x4b1772 of _0xc2c68b){if(typeof _0x4b1772!=_0x77430c(0x196)||!_0x1bfebf['test'](_0x4b1772)||_0x3e42fa['has'](_0x4b1772))throw new SyntaxError(_0x77430c(0x26c));_0x3e42fa[_0x77430c(0x2da)](_0x4b1772);}_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x225)]=_0xc2c68b['join'](',');}if(_0xfc9f6['origin']&&(_0xfc9f6[_0x77430c(0x275)]<0xd?_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x202)]=_0xfc9f6[_0x77430c(0x256)]:_0xfc9f6['headers'][_0x77430c(0x296)]=_0xfc9f6['origin']),(_0x5dd1f0[_0x77430c(0x15f)]||_0x5dd1f0[_0x77430c(0x1b4)])&&(_0xfc9f6['auth']=_0x5dd1f0['username']+':'+_0x5dd1f0[_0x77430c(0x1b4)]),_0x45d5dc){const _0x1bce04=_0xfc9f6['path'][_0x77430c(0x2ed)](':');_0xfc9f6['socketPath']=_0x1bce04[0x0],_0xfc9f6['path']=_0x1bce04[0x1];}let _0x52244d;if(_0xfc9f6['followRedirects']){if(_0xf81fa9[_0x77430c(0x150)]===0x0){_0xf81fa9['_originalIpc']=_0x45d5dc,_0xf81fa9[_0x77430c(0x29c)]=_0x454ca4,_0xf81fa9[_0x77430c(0x2d9)]=_0x45d5dc?_0xfc9f6[_0x77430c(0x1ce)]:_0x5dd1f0[_0x77430c(0x14a)];const _0x53ee9d=_0xabc9d8&&_0xabc9d8[_0x77430c(0x24a)];if(_0xabc9d8={..._0xabc9d8,'headers':{}},_0x53ee9d){for(const [_0x4a6d08,_0x5914de]of Object['entries'](_0x53ee9d))_0xabc9d8[_0x77430c(0x24a)][_0x4a6d08[_0x77430c(0x1d5)]()]=_0x5914de;}}else{if(_0xf81fa9['listenerCount']('redirect')===0x0){const _0x3ad59e=_0x45d5dc?_0xf81fa9[_0x77430c(0x2b8)]?_0xfc9f6[_0x77430c(0x1ce)]===_0xf81fa9[_0x77430c(0x2d9)]:!0x1:_0xf81fa9['_originalIpc']?!0x1:_0x5dd1f0[_0x77430c(0x14a)]===_0xf81fa9[_0x77430c(0x2d9)];(!_0x3ad59e||_0xf81fa9[_0x77430c(0x29c)]&&!_0x454ca4)&&(delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x1f9)],delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x13b)],_0x3ad59e||delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x14a)],_0xfc9f6['auth']=void 0x0);}}_0xfc9f6[_0x77430c(0x134)]&&!_0xabc9d8['headers'][_0x77430c(0x1f9)]&&(_0xabc9d8[_0x77430c(0x24a)][_0x77430c(0x1f9)]='Basic\x20'+Buffer[_0x77430c(0x1d8)](_0xfc9f6[_0x77430c(0x134)])[_0x77430c(0x21c)](_0x77430c(0x1f8))),_0x52244d=_0xf81fa9[_0x77430c(0x266)]=_0x280806(_0xfc9f6),_0xf81fa9[_0x77430c(0x150)]&&_0xf81fa9[_0x77430c(0x22e)](_0x77430c(0x21b),_0xf81fa9[_0x77430c(0x1c0)],_0x52244d);}else _0x52244d=_0xf81fa9['_req']=_0x280806(_0xfc9f6);_0xfc9f6[_0x77430c(0x182)]&&_0x52244d['on'](_0x77430c(0x182),()=>{const _0x40c581=_0x77430c;_0x5145ae(_0xf81fa9,_0x52244d,_0x40c581(0x22c));}),_0x52244d['on'](_0x77430c(0x15a),_0x5e6ecf=>{const _0x24a917=_0x77430c;_0x52244d===null||_0x52244d[_0x3060d2]||(_0x52244d=_0xf81fa9[_0x24a917(0x266)]=null,_0x5164c2(_0xf81fa9,_0x5e6ecf));}),_0x52244d['on']('response',_0x3ce31b=>{const _0x1fa003=_0x77430c,_0x55cecd=_0x3ce31b[_0x1fa003(0x24a)][_0x1fa003(0x165)],_0x58f665=_0x3ce31b['statusCode'];if(_0x55cecd&&_0xfc9f6[_0x1fa003(0x1db)]&&_0x58f665>=0x12c&&_0x58f665<0x190){if(++_0xf81fa9[_0x1fa003(0x150)]>_0xfc9f6[_0x1fa003(0x2a5)]){_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x255));return;}_0x52244d[_0x1fa003(0x287)]();let _0x20e043;try{_0x20e043=new _0x5d53ed(_0x55cecd,_0x3c80b3);}catch{const _0x4366aa=new SyntaxError(_0x1fa003(0x1a4)+_0x55cecd);_0x5164c2(_0xf81fa9,_0x4366aa);return;}_0x30580f(_0xf81fa9,_0x20e043,_0xc2c68b,_0xabc9d8);}else _0xf81fa9[_0x1fa003(0x22e)](_0x1fa003(0x2bb),_0x52244d,_0x3ce31b)||_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x19a)+_0x3ce31b[_0x1fa003(0x148)]);}),_0x52244d['on'](_0x77430c(0x2e0),(_0x35d09d,_0xf9d09d,_0x3f9ce2)=>{const _0x1f2dc2=_0x77430c;if(_0xf81fa9[_0x1f2dc2(0x22e)]('upgrade',_0x35d09d),_0xf81fa9[_0x1f2dc2(0x2dd)]!==_0x300422[_0x1f2dc2(0x172)])return;_0x52244d=_0xf81fa9[_0x1f2dc2(0x266)]=null;const _0x31b4b6=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2e0)];if(_0x31b4b6===void 0x0||_0x31b4b6[_0x1f2dc2(0x1d5)]()!=='websocket'){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x19f));return;}const _0x520f5d=_0xa813c0(_0x1f2dc2(0x2d1))[_0x1f2dc2(0x190)](_0x501abc+_0x1dc0d5)[_0x1f2dc2(0x20a)](_0x1f2dc2(0x1f8));if(_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2cc)]!==_0x520f5d){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x293));return;}const _0x3458e7=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x27e)];let _0x434a83;if(_0x3458e7!==void 0x0?_0x3e42fa[_0x1f2dc2(0x1a5)]?_0x3e42fa[_0x1f2dc2(0x2a7)](_0x3458e7)||(_0x434a83=_0x1f2dc2(0x2b1)):_0x434a83=_0x1f2dc2(0x2d7):_0x3e42fa[_0x1f2dc2(0x1a5)]&&(_0x434a83='Server\x20sent\x20no\x20subprotocol'),_0x434a83){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x434a83);return;}_0x3458e7&&(_0xf81fa9[_0x1f2dc2(0x1aa)]=_0x3458e7);const _0x113585=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x170)];if(_0x113585!==void 0x0){if(!_0x3ed8d3){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x1a7));return;}let _0x5b3eb5;try{_0x5b3eb5=_0x38baaa(_0x113585);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}const _0x1d2a77=Object['keys'](_0x5b3eb5);if(_0x1d2a77[_0x1f2dc2(0x12b)]!==0x1||_0x1d2a77[0x0]!==_0x5d2738[_0x1f2dc2(0x2d5)]){_0x5145ae(_0xf81fa9,_0xf9d09d,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3ed8d3['accept'](_0x5b3eb5[_0x5d2738['extensionName']]);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}_0xf81fa9[_0x1f2dc2(0x2c8)][_0x5d2738[_0x1f2dc2(0x2d5)]]=_0x3ed8d3;}_0xf81fa9[_0x1f2dc2(0x272)](_0xf9d09d,_0x3f9ce2,{'allowSynchronousEvents':_0xfc9f6[_0x1f2dc2(0x1fd)],'generateMask':_0xfc9f6['generateMask'],'maxPayload':_0xfc9f6[_0x1f2dc2(0x2d4)],'skipUTF8Validation':_0xfc9f6['skipUTF8Validation']});}),_0xfc9f6['finishRequest']?_0xfc9f6[_0x77430c(0x144)](_0x52244d,_0xf81fa9):_0x52244d[_0x77430c(0x213)]();}function _0x5164c2(_0x1ef961,_0x16b64e){const _0x4fe05e=_0x2d92b8;_0x1ef961[_0x4fe05e(0x1e6)]=_0x300422['CLOSING'],_0x1ef961['_errorEmitted']=!0x0,_0x1ef961[_0x4fe05e(0x22e)](_0x4fe05e(0x15a),_0x16b64e),_0x1ef961[_0x4fe05e(0x288)]();}function _0x57c076(_0x41efed){const _0x121450=_0x2d92b8;return _0x41efed[_0x121450(0x2b0)]=_0x41efed[_0x121450(0x1ce)],_0x1c6b3d['connect'](_0x41efed);}function _0x4dda2e(_0xdae427){const _0x3d653d=_0x2d92b8;return _0xdae427[_0x3d653d(0x2b0)]=void 0x0,!_0xdae427[_0x3d653d(0x2b9)]&&_0xdae427[_0x3d653d(0x2b9)]!==''&&(_0xdae427[_0x3d653d(0x2b9)]=_0x1c6b3d['isIP'](_0xdae427[_0x3d653d(0x14a)])?'':_0xdae427['host']),_0x4aa39e[_0x3d653d(0x2f3)](_0xdae427);}function _0x5145ae(_0x50deca,_0x47b9f0,_0x3376e3){const _0x5d6f68=_0x2d92b8;_0x50deca[_0x5d6f68(0x1e6)]=_0x300422[_0x5d6f68(0x189)];const _0x1a129f=new Error(_0x3376e3);Error[_0x5d6f68(0x21e)](_0x1a129f,_0x5145ae),_0x47b9f0[_0x5d6f68(0x158)]?(_0x47b9f0[_0x3060d2]=!0x0,_0x47b9f0['abort'](),_0x47b9f0['socket']&&!_0x47b9f0[_0x5d6f68(0x192)]['destroyed']&&_0x47b9f0[_0x5d6f68(0x192)][_0x5d6f68(0x204)](),process[_0x5d6f68(0x208)](_0x5164c2,_0x50deca,_0x1a129f)):(_0x47b9f0[_0x5d6f68(0x204)](_0x1a129f),_0x47b9f0['once'](_0x5d6f68(0x15a),_0x50deca['emit'][_0x5d6f68(0x284)](_0x50deca,_0x5d6f68(0x15a))),_0x47b9f0[_0x5d6f68(0x241)](_0x5d6f68(0x264),_0x50deca['emitClose'][_0x5d6f68(0x284)](_0x50deca)));}function _0x3bed0f(_0x38fea0,_0x313fc7,_0x3a0ad0){const _0x187ed0=_0x2d92b8;if(_0x313fc7){const _0x26c559=_0x5a5e2d(_0x313fc7)?_0x313fc7['size']:_0x3f1719(_0x313fc7)[_0x187ed0(0x12b)];_0x38fea0[_0x187ed0(0x2e3)]?_0x38fea0[_0x187ed0(0x2a1)][_0x187ed0(0x2a0)]+=_0x26c559:_0x38fea0['_bufferedAmount']+=_0x26c559;}if(_0x3a0ad0){const _0x342cf3=new Error(_0x187ed0(0x1ed)+_0x38fea0[_0x187ed0(0x2dd)]+'\x20('+_0x511a0a[_0x38fea0['readyState']]+')');process[_0x187ed0(0x208)](_0x3a0ad0,_0x342cf3);}}function _0x5d4f79(_0x31d5f2,_0x55b091){const _0x3766f0=_0x2d92b8,_0x2fe5b7=this[_0x33db4f];_0x2fe5b7[_0x3766f0(0x2e6)]=!0x0,_0x2fe5b7[_0x3766f0(0x21f)]=_0x55b091,_0x2fe5b7[_0x3766f0(0x2ee)]=_0x31d5f2,_0x2fe5b7[_0x3766f0(0x2e3)][_0x33db4f]!==void 0x0&&(_0x2fe5b7['_socket'][_0x3766f0(0x220)](_0x3766f0(0x2cf),_0x394f51),process['nextTick'](_0x404f0c,_0x2fe5b7[_0x3766f0(0x2e3)]),_0x31d5f2===0x3ed?_0x2fe5b7['close']():_0x2fe5b7[_0x3766f0(0x264)](_0x31d5f2,_0x55b091));}function _0x5f0260(){const _0x1f883d=_0x2d92b8,_0x438515=this[_0x33db4f];_0x438515[_0x1f883d(0x177)]||_0x438515[_0x1f883d(0x2e3)][_0x1f883d(0x14f)]();}function _0x5ede1a(_0x2c5aac){const _0x139e19=_0x2d92b8,_0x446436=this[_0x33db4f];_0x446436[_0x139e19(0x2e3)][_0x33db4f]!==void 0x0&&(_0x446436[_0x139e19(0x2e3)][_0x139e19(0x220)]('data',_0x394f51),process[_0x139e19(0x208)](_0x404f0c,_0x446436[_0x139e19(0x2e3)]),_0x446436[_0x139e19(0x264)](_0x2c5aac[_0x408974])),_0x446436[_0x139e19(0x2df)]||(_0x446436[_0x139e19(0x2df)]=!0x0,_0x446436[_0x139e19(0x22e)](_0x139e19(0x15a),_0x2c5aac));}function _0x29de7b(){this[_0x33db4f]['emitClose']();}function _0x57e6e0(_0x1f5ff2,_0x2ff288){const _0x51c5e3=_0x2d92b8;this[_0x33db4f][_0x51c5e3(0x22e)]('message',_0x1f5ff2,_0x2ff288);}function _0x3b38e7(_0x14d5e3){const _0x191b83=_0x2d92b8,_0x10d188=this[_0x33db4f];_0x10d188[_0x191b83(0x17d)]&&_0x10d188['pong'](_0x14d5e3,!this[_0x191b83(0x13d)],_0x3ad0dc),_0x10d188['emit'](_0x191b83(0x181),_0x14d5e3);}function _0x3e9897(_0x599ead){const _0x4844a7=_0x2d92b8;this[_0x33db4f][_0x4844a7(0x22e)](_0x4844a7(0x136),_0x599ead);}function _0x404f0c(_0x5126f0){const _0x3626dc=_0x2d92b8;_0x5126f0[_0x3626dc(0x14f)]();}function _0x4ac20e(_0x4e95b0){const _0x5d1ad2=_0x2d92b8,_0x37131a=this[_0x33db4f];_0x37131a[_0x5d1ad2(0x2dd)]!==_0x300422[_0x5d1ad2(0x1ab)]&&(_0x37131a[_0x5d1ad2(0x2dd)]===_0x300422[_0x5d1ad2(0x2ac)]&&(_0x37131a['_readyState']=_0x300422[_0x5d1ad2(0x189)],_0x21f8dc(_0x37131a)),this['_socket'][_0x5d1ad2(0x213)](),_0x37131a[_0x5d1ad2(0x2df)]||(_0x37131a[_0x5d1ad2(0x2df)]=!0x0,_0x37131a[_0x5d1ad2(0x22e)]('error',_0x4e95b0)));}function _0x21f8dc(_0x45c8b3){const _0x51158e=_0x2d92b8;_0x45c8b3[_0x51158e(0x280)]=setTimeout(_0x45c8b3['_socket']['destroy'][_0x51158e(0x284)](_0x45c8b3['_socket']),_0x29cd63);}function _0x394120(){const _0x33a55f=_0x2d92b8,_0x447885=this[_0x33db4f];this[_0x33a55f(0x220)](_0x33a55f(0x264),_0x394120),this[_0x33a55f(0x220)](_0x33a55f(0x2cf),_0x394f51),this[_0x33a55f(0x220)](_0x33a55f(0x213),_0x5f4293),_0x447885[_0x33a55f(0x1e6)]=_0x300422[_0x33a55f(0x189)];let _0x3aec12;!this[_0x33a55f(0x214)][_0x33a55f(0x2a2)]&&!_0x447885['_closeFrameReceived']&&!_0x447885[_0x33a55f(0x2de)]['_writableState'][_0x33a55f(0x17e)]&&(_0x3aec12=_0x447885[_0x33a55f(0x2e3)][_0x33a55f(0x1cf)]())!==null&&_0x447885[_0x33a55f(0x2de)][_0x33a55f(0x249)](_0x3aec12),_0x447885['_receiver'][_0x33a55f(0x213)](),this[_0x33db4f]=void 0x0,clearTimeout(_0x447885[_0x33a55f(0x280)]),_0x447885['_receiver']['_writableState'][_0x33a55f(0x298)]||_0x447885[_0x33a55f(0x2de)]['_writableState']['errorEmitted']?_0x447885[_0x33a55f(0x288)]():(_0x447885[_0x33a55f(0x2de)]['on']('error',_0x29de7b),_0x447885[_0x33a55f(0x2de)]['on'](_0x33a55f(0x2c6),_0x29de7b));}function _0x394f51(_0x1dbd74){this[_0x33db4f]['_receiver']['write'](_0x1dbd74)||this['pause']();}function _0x5f4293(){const _0xe66ed4=_0x2d92b8,_0x2b1b6d=this[_0x33db4f];_0x2b1b6d[_0xe66ed4(0x1e6)]=_0x300422[_0xe66ed4(0x189)],_0x2b1b6d[_0xe66ed4(0x2de)][_0xe66ed4(0x213)](),this[_0xe66ed4(0x213)]();}function _0x22510a(){const _0x5ecbbe=_0x2d92b8,_0x1383cd=this[_0x33db4f];this['removeListener']('error',_0x22510a),this['on'](_0x5ecbbe(0x15a),_0x3ad0dc),_0x1383cd&&(_0x1383cd['_readyState']=_0x300422['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4b0aaa}=oe;function _0x1cc31b(_0x53847a){const _0x2253fa=_0x9265;_0x53847a[_0x2253fa(0x22e)](_0x2253fa(0x264));}function _0x37c397(){const _0x140973=_0x9265;!this[_0x140973(0x146)]&&this['_writableState']['finished']&&this['destroy']();}function _0x253055(_0x2ac526){const _0x25b9ef=_0x9265;this[_0x25b9ef(0x220)]('error',_0x253055),this['destroy'](),this[_0x25b9ef(0x1ec)](_0x25b9ef(0x15a))===0x0&&this[_0x25b9ef(0x22e)](_0x25b9ef(0x15a),_0x2ac526);}function _0x7c4982(_0x18518c,_0x5c791a){const _0x3763c1=_0x9265;let _0x55203b=!0x0;const _0xb59c00=new _0x4b0aaa({..._0x5c791a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x18518c['on'](_0x3763c1(0x27f),function(_0x18a258,_0x2122e1){const _0x2e7972=_0x3763c1,_0x4c52da=!_0x2122e1&&_0xb59c00[_0x2e7972(0x214)][_0x2e7972(0x13a)]?_0x18a258[_0x2e7972(0x21c)]():_0x18a258;_0xb59c00[_0x2e7972(0x2e1)](_0x4c52da)||_0x18518c[_0x2e7972(0x227)]();}),_0x18518c['once']('error',function(_0x11e2c5){const _0x392f60=_0x3763c1;_0xb59c00['destroyed']||(_0x55203b=!0x1,_0xb59c00[_0x392f60(0x204)](_0x11e2c5));}),_0x18518c[_0x3763c1(0x241)]('close',function(){const _0x3104a2=_0x3763c1;_0xb59c00['destroyed']||_0xb59c00[_0x3104a2(0x2e1)](null);}),_0xb59c00[_0x3763c1(0x29f)]=function(_0x3d2acf,_0x32b790){const _0x2f75c2=_0x3763c1;if(_0x18518c[_0x2f75c2(0x2dd)]===_0x18518c[_0x2f75c2(0x1ab)]){_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);return;}let _0x6d7a27=!0x1;_0x18518c[_0x2f75c2(0x241)](_0x2f75c2(0x15a),function(_0xee9df2){_0x6d7a27=!0x0,_0x32b790(_0xee9df2);}),_0x18518c['once'](_0x2f75c2(0x264),function(){_0x6d7a27||_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);}),_0x55203b&&_0x18518c[_0x2f75c2(0x1b6)]();},_0xb59c00[_0x3763c1(0x19e)]=function(_0x4c369f){const _0x32864c=_0x3763c1;if(_0x18518c[_0x32864c(0x2dd)]===_0x18518c[_0x32864c(0x172)]){_0x18518c['once'](_0x32864c(0x290),function(){const _0x586cbc=_0x32864c;_0xb59c00[_0x586cbc(0x19e)](_0x4c369f);});return;}_0x18518c[_0x32864c(0x2e3)]!==null&&(_0x18518c[_0x32864c(0x2e3)][_0x32864c(0x248)][_0x32864c(0x298)]?(_0x4c369f(),_0xb59c00[_0x32864c(0x214)][_0x32864c(0x2a2)]&&_0xb59c00[_0x32864c(0x204)]()):(_0x18518c['_socket'][_0x32864c(0x241)](_0x32864c(0x2c6),function(){_0x4c369f();}),_0x18518c['close']()));},_0xb59c00[_0x3763c1(0x274)]=function(){const _0x30619a=_0x3763c1;_0x18518c['isPaused']&&_0x18518c[_0x30619a(0x14f)]();},_0xb59c00['_write']=function(_0x385acb,_0x21667a,_0x3e37d9){const _0x232cdb=_0x3763c1;if(_0x18518c['readyState']===_0x18518c['CONNECTING']){_0x18518c[_0x232cdb(0x241)](_0x232cdb(0x290),function(){const _0x457757=_0x232cdb;_0xb59c00[_0x457757(0x1c8)](_0x385acb,_0x21667a,_0x3e37d9);});return;}_0x18518c['send'](_0x385acb,_0x3e37d9);},_0xb59c00['on'](_0x3763c1(0x213),_0x37c397),_0xb59c00['on'](_0x3763c1(0x15a),_0x253055),_0xb59c00;}return Oe=_0x7c4982,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2f592b}=ae();function _0x11de20(_0x59be75){const _0x55703a=_0x9265,_0x56d941=new Set();let _0x3ad4b9=-0x1,_0x3e3572=-0x1,_0x1ad5ba=0x0;for(_0x1ad5ba;_0x1ad5ba<_0x59be75['length'];_0x1ad5ba++){const _0x3033da=_0x59be75[_0x55703a(0x1e0)](_0x1ad5ba);if(_0x3e3572===-0x1&&_0x2f592b[_0x3033da]===0x1)_0x3ad4b9===-0x1&&(_0x3ad4b9=_0x1ad5ba);else{if(_0x1ad5ba!==0x0&&(_0x3033da===0x20||_0x3033da===0x9))_0x3e3572===-0x1&&_0x3ad4b9!==-0x1&&(_0x3e3572=_0x1ad5ba);else{if(_0x3033da===0x2c){if(_0x3ad4b9===-0x1)throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);_0x3e3572===-0x1&&(_0x3e3572=_0x1ad5ba);const _0x269a4e=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x3e3572);if(_0x56d941[_0x55703a(0x2a7)](_0x269a4e))throw new SyntaxError(_0x55703a(0x23b)+_0x269a4e+_0x55703a(0x16e));_0x56d941[_0x55703a(0x2da)](_0x269a4e),_0x3ad4b9=_0x3e3572=-0x1;}else throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);}}}if(_0x3ad4b9===-0x1||_0x3e3572!==-0x1)throw new SyntaxError(_0x55703a(0x1f5));const _0x37ac4b=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x1ad5ba);if(_0x56d941['has'](_0x37ac4b))throw new SyntaxError(_0x55703a(0x23b)+_0x37ac4b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x56d941[_0x55703a(0x2da)](_0x37ac4b),_0x56d941;}return Ce={'parse':_0x11de20},Ce;}var Te,rt;function Ft(){const _0x201707=_0x56ab5b;if(rt)return Te;rt=0x1;const _0x32671d=nt,_0x1cc82c=ot,{Duplex:_0x3acc43}=oe,{createHash:_0x4f2ce6}=Le,_0x1cb3e6=ct(),_0x30b189=he(),_0x1e67c2=At(),_0x28f4c1=Pe(),{GUID:_0x4f90c3,kWebSocket:_0x23e4fc}=H(),_0x4cd10c=/^[+/0-9A-Za-z]{22}==$/,_0x318eb2=0x0,_0x362121=0x1,_0x22b783=0x2;class _0x20b3fa extends _0x32671d{constructor(_0x3c724a,_0x286099){const _0xf53037=_0x9265;if(super(),_0x3c724a={'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':_0x28f4c1,..._0x3c724a},_0x3c724a[_0xf53037(0x137)]==null&&!_0x3c724a[_0xf53037(0x156)]&&!_0x3c724a[_0xf53037(0x2a9)]||_0x3c724a[_0xf53037(0x137)]!=null&&(_0x3c724a['server']||_0x3c724a[_0xf53037(0x2a9)])||_0x3c724a[_0xf53037(0x156)]&&_0x3c724a[_0xf53037(0x2a9)])throw new TypeError(_0xf53037(0x270));if(_0x3c724a[_0xf53037(0x137)]!=null?(this[_0xf53037(0x235)]=_0x1cc82c[_0xf53037(0x16b)]((_0x573916,_0x3143ff)=>{const _0x20de3f=_0xf53037,_0x1210a0=_0x1cc82c[_0x20de3f(0x224)][0x1aa];_0x3143ff[_0x20de3f(0x1dd)](0x1aa,{'Content-Length':_0x1210a0[_0x20de3f(0x12b)],'Content-Type':_0x20de3f(0x15e)}),_0x3143ff[_0x20de3f(0x213)](_0x1210a0);}),this['_server'][_0xf53037(0x200)](_0x3c724a['port'],_0x3c724a[_0xf53037(0x14a)],_0x3c724a[_0xf53037(0x15d)],_0x286099)):_0x3c724a['server']&&(this[_0xf53037(0x235)]=_0x3c724a[_0xf53037(0x156)]),this[_0xf53037(0x235)]){const _0x40bc9a=this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x18f));this[_0xf53037(0x1bb)]=_0x404572(this[_0xf53037(0x235)],{'listening':this[_0xf53037(0x22e)]['bind'](this,_0xf53037(0x239)),'error':this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x15a)),'upgrade':(_0x4b0625,_0x277547,_0x4c9fa0)=>{const _0x42c079=_0xf53037;this[_0x42c079(0x2cb)](_0x4b0625,_0x277547,_0x4c9fa0,_0x40bc9a);}});}_0x3c724a['perMessageDeflate']===!0x0&&(_0x3c724a['perMessageDeflate']={}),_0x3c724a[_0xf53037(0x1b2)]&&(this[_0xf53037(0x20c)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0xf53037(0x242)]=_0x3c724a,this[_0xf53037(0x219)]=_0x318eb2;}[_0x201707(0x237)](){const _0x50af07=_0x201707;if(this[_0x50af07(0x242)][_0x50af07(0x2a9)])throw new Error(_0x50af07(0x1d4));return this[_0x50af07(0x235)]?this[_0x50af07(0x235)][_0x50af07(0x237)]():null;}[_0x201707(0x264)](_0x1dbdf){const _0x2c0150=_0x201707;if(this[_0x2c0150(0x219)]===_0x22b783){_0x1dbdf&&this[_0x2c0150(0x241)](_0x2c0150(0x264),()=>{_0x1dbdf(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x4a96ef,this);return;}if(_0x1dbdf&&this['once']('close',_0x1dbdf),this[_0x2c0150(0x219)]!==_0x362121){if(this[_0x2c0150(0x219)]=_0x362121,this[_0x2c0150(0x242)]['noServer']||this[_0x2c0150(0x242)][_0x2c0150(0x156)])this[_0x2c0150(0x235)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x2c0150(0x235)]=null),this[_0x2c0150(0x20c)]?this[_0x2c0150(0x20c)][_0x2c0150(0x1a5)]?this[_0x2c0150(0x229)]=!0x0:process[_0x2c0150(0x208)](_0x4a96ef,this):process['nextTick'](_0x4a96ef,this);else{const _0x5497cf=this[_0x2c0150(0x235)];this[_0x2c0150(0x1bb)](),this[_0x2c0150(0x1bb)]=this['_server']=null,_0x5497cf['close'](()=>{_0x4a96ef(this);});}}}['shouldHandle'](_0x15e8d1){const _0x5c55fd=_0x201707;if(this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)]){const _0x3e03b9=_0x15e8d1['url']['indexOf']('?');if((_0x3e03b9!==-0x1?_0x15e8d1['url']['slice'](0x0,_0x3e03b9):_0x15e8d1['url'])!==this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)])return!0x1;}return!0x0;}['handleUpgrade'](_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1){const _0x1257c7=_0x201707;_0x440d01['on'](_0x1257c7(0x15a),_0x5ea778);const _0x254d38=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2c3)],_0x2256bc=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2e0)],_0x315378=+_0x4539d3[_0x1257c7(0x24a)]['sec-websocket-version'];if(_0x4539d3[_0x1257c7(0x1c6)]!=='GET'){_0x4488ab(this,_0x4539d3,_0x440d01,0x195,_0x1257c7(0x1eb));return;}if(_0x2256bc===void 0x0||_0x2256bc[_0x1257c7(0x1d5)]()!=='websocket'){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x19f));return;}if(_0x254d38===void 0x0||!_0x4cd10c[_0x1257c7(0x140)](_0x254d38)){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x315378!==0xd&&_0x315378!==0x8){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x2d2),{'Sec-WebSocket-Version':_0x1257c7(0x1a1)});return;}if(!this[_0x1257c7(0x267)](_0x4539d3)){_0x17050a(_0x440d01,0x190);return;}const _0x80f638=_0x4539d3['headers']['sec-websocket-protocol'];let _0x50a31b=new Set();if(_0x80f638!==void 0x0)try{_0x50a31b=_0x1e67c2[_0x1257c7(0x217)](_0x80f638);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1a3));return;}const _0xd586b7=_0x4539d3['headers'][_0x1257c7(0x170)],_0x277714={};if(this['options']['perMessageDeflate']&&_0xd586b7!==void 0x0){const _0x57ece1=new _0x30b189(this[_0x1257c7(0x242)][_0x1257c7(0x14e)],!0x0,this[_0x1257c7(0x242)][_0x1257c7(0x2d4)]);try{const _0x30ba47=_0x1cb3e6[_0x1257c7(0x217)](_0xd586b7);_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]&&(_0x57ece1[_0x1257c7(0x2f2)](_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]),_0x277714[_0x30b189[_0x1257c7(0x2d5)]]=_0x57ece1);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1bc));return;}}if(this[_0x1257c7(0x242)][_0x1257c7(0x218)]){const _0x1fc5f8={'origin':_0x4539d3[_0x1257c7(0x24a)][''+(_0x315378===0x8?_0x1257c7(0x234):_0x1257c7(0x256))],'secure':!!(_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x139)]||_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x162)]),'req':_0x4539d3};if(this[_0x1257c7(0x242)]['verifyClient'][_0x1257c7(0x12b)]===0x2){this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8,(_0x433b9e,_0x555ab5,_0x2056fb,_0x254ef5)=>{const _0x2361f5=_0x1257c7;if(!_0x433b9e)return _0x17050a(_0x440d01,_0x555ab5||0x191,_0x2056fb,_0x254ef5);this[_0x2361f5(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);});return;}if(!this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8))return _0x17050a(_0x440d01,0x191);}this[_0x1257c7(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);}[_0x201707(0x2e7)](_0x4e0a94,_0x5315ff,_0x36cd7a,_0x3b29ea,_0x214f8f,_0x2f90f8,_0x1d58d1){const _0x3cc0a4=_0x201707;if(!_0x214f8f[_0x3cc0a4(0x2c1)]||!_0x214f8f[_0x3cc0a4(0x1be)])return _0x214f8f['destroy']();if(_0x214f8f[_0x23e4fc])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3cc0a4(0x219)]>_0x318eb2)return _0x17050a(_0x214f8f,0x1f7);const _0x58f012=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3cc0a4(0x297),_0x3cc0a4(0x2c2),'Sec-WebSocket-Accept:\x20'+_0x4f2ce6(_0x3cc0a4(0x2d1))['update'](_0x5315ff+_0x4f90c3)[_0x3cc0a4(0x20a)]('base64')],_0x277ff7=new this[(_0x3cc0a4(0x242))][(_0x3cc0a4(0x22f))](null,void 0x0,this[_0x3cc0a4(0x242)]);if(_0x36cd7a['size']){const _0x4f1240=this[_0x3cc0a4(0x242)][_0x3cc0a4(0x176)]?this['options'][_0x3cc0a4(0x176)](_0x36cd7a,_0x3b29ea):_0x36cd7a[_0x3cc0a4(0x251)]()[_0x3cc0a4(0x160)]()[_0x3cc0a4(0x18b)];_0x4f1240&&(_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x238)+_0x4f1240),_0x277ff7[_0x3cc0a4(0x1aa)]=_0x4f1240);}if(_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]]){const _0x53f8fb=_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]][_0x3cc0a4(0x25d)],_0x5e591c=_0x1cb3e6[_0x3cc0a4(0x17c)]({[_0x30b189[_0x3cc0a4(0x2d5)]]:[_0x53f8fb]});_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x1f1)+_0x5e591c),_0x277ff7[_0x3cc0a4(0x2c8)]=_0x4e0a94;}this[_0x3cc0a4(0x22e)](_0x3cc0a4(0x24a),_0x58f012,_0x3b29ea),_0x214f8f[_0x3cc0a4(0x249)](_0x58f012[_0x3cc0a4(0x19c)]('\x0d\x0a')[_0x3cc0a4(0x1e7)]('\x0d\x0a')),_0x214f8f[_0x3cc0a4(0x220)](_0x3cc0a4(0x15a),_0x5ea778),_0x277ff7['setSocket'](_0x214f8f,_0x2f90f8,{'allowSynchronousEvents':this[_0x3cc0a4(0x242)]['allowSynchronousEvents'],'maxPayload':this[_0x3cc0a4(0x242)][_0x3cc0a4(0x2d4)],'skipUTF8Validation':this['options'][_0x3cc0a4(0x193)]}),this[_0x3cc0a4(0x20c)]&&(this['clients'][_0x3cc0a4(0x2da)](_0x277ff7),_0x277ff7['on']('close',()=>{const _0x4628d7=_0x3cc0a4;this[_0x4628d7(0x20c)][_0x4628d7(0x281)](_0x277ff7),this[_0x4628d7(0x229)]&&!this[_0x4628d7(0x20c)]['size']&&process[_0x4628d7(0x208)](_0x4a96ef,this);})),_0x1d58d1(_0x277ff7,_0x3b29ea);}}Te=_0x20b3fa;function _0x404572(_0x3a42ff,_0x739ff1){for(const _0x33ee71 of Object['keys'](_0x739ff1))_0x3a42ff['on'](_0x33ee71,_0x739ff1[_0x33ee71]);return function(){const _0x24c659=_0x9265;for(const _0x3be120 of Object[_0x24c659(0x164)](_0x739ff1))_0x3a42ff[_0x24c659(0x220)](_0x3be120,_0x739ff1[_0x3be120]);};}function _0x4a96ef(_0x5c78b6){const _0x19ec3b=_0x201707;_0x5c78b6[_0x19ec3b(0x219)]=_0x22b783,_0x5c78b6[_0x19ec3b(0x22e)]('close');}function _0x5ea778(){const _0x424171=_0x201707;this[_0x424171(0x204)]();}function _0x17050a(_0x55e530,_0x55a4a9,_0x497dfd,_0x393cd6){const _0x5e9c6f=_0x201707;_0x497dfd=_0x497dfd||_0x1cc82c['STATUS_CODES'][_0x55a4a9],_0x393cd6={'Connection':_0x5e9c6f(0x264),'Content-Type':_0x5e9c6f(0x1d7),'Content-Length':Buffer[_0x5e9c6f(0x2d6)](_0x497dfd),..._0x393cd6},_0x55e530[_0x5e9c6f(0x241)]('finish',_0x55e530[_0x5e9c6f(0x204)]),_0x55e530[_0x5e9c6f(0x213)]('HTTP/1.1\x20'+_0x55a4a9+'\x20'+_0x1cc82c[_0x5e9c6f(0x224)][_0x55a4a9]+'\x0d\x0a'+Object[_0x5e9c6f(0x164)](_0x393cd6)[_0x5e9c6f(0x2ea)](_0x3a6d1b=>_0x3a6d1b+':\x20'+_0x393cd6[_0x3a6d1b])[_0x5e9c6f(0x1e7)]('\x0d\x0a')+_0x5e9c6f(0x175)+_0x497dfd);}function _0x4488ab(_0x456ffc,_0x229092,_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1){const _0x4f8be9=_0x201707;if(_0x456ffc[_0x4f8be9(0x1ec)](_0x4f8be9(0x271))){const _0x566ab1=new Error(_0x78f771);Error[_0x4f8be9(0x21e)](_0x566ab1,_0x4488ab),_0x456ffc[_0x4f8be9(0x22e)](_0x4f8be9(0x271),_0x566ab1,_0xf7cd36,_0x229092);}else _0x17050a(_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1);}return Te;}Ft();var jt=Object[_0x56ab5b(0x1af)],Wt=(_0x5a1a0c,_0x3b0213,_0xc58ec,_0x36fa95)=>{const _0x1fab4f=_0x56ab5b;for(var _0x2bf4bf=_0x36fa95>0x1?void 0x0:_0x36fa95?jt(_0x3b0213,_0xc58ec):_0x3b0213,_0x4e1182=_0x5a1a0c[_0x1fab4f(0x12b)]-0x1,_0x12e442;_0x4e1182>=0x0;_0x4e1182--)(_0x12e442=_0x5a1a0c[_0x4e1182])&&(_0x2bf4bf=_0x12e442(_0x2bf4bf)||_0x2bf4bf);return _0x2bf4bf;},qt=(_0x47dffe,_0x401b84)=>(_0x422416,_0x1ac0df)=>_0x401b84(_0x422416,_0x1ac0df,_0x47dffe);let ke=class extends A[_0x56ab5b(0x153)]{constructor(_0x24b197){super(),this['_configService']=_0x24b197;}[_0x56ab5b(0x2d8)](_0x1d62be){const _0x27044d=_0x56ab5b;var _0x4323e5;const _0x115ae3=(_0x4323e5=this['_configService'][_0x27044d(0x259)](fe))==null?void 0x0:_0x4323e5[_0x27044d(0x14d)];try{const _0x36239e=new $t(_0x1d62be,{'headers':{..._0x115ae3}}),_0x28af13=new A['DisposableCollection']();return{'URL':_0x1d62be,'close':(_0x8edc48,_0x169b22)=>{const _0x141945=_0x27044d;_0x36239e[_0x141945(0x264)](_0x8edc48,_0x169b22),_0x28af13[_0x141945(0x1e1)]();},'send':_0x3f84b2=>{const _0x48d3a4=_0x27044d;_0x36239e[_0x48d3a4(0x1c4)](_0x3f84b2);},'open$':new V[(_0x27044d(0x2ae))](_0x4381fa=>{const _0x19c4da=_0x27044d,_0x335c04=_0x4265f7=>_0x4381fa[_0x19c4da(0x160)](_0x4265f7);_0x36239e[_0x19c4da(0x2ef)](_0x19c4da(0x290),_0x335c04),_0x28af13[_0x19c4da(0x2da)](A[_0x19c4da(0x1f2)](()=>_0x36239e[_0x19c4da(0x1e8)](_0x19c4da(0x290),_0x335c04)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'close$':new V[(_0x27044d(0x2ae))](_0xf52104=>{const _0x45373a=_0x27044d,_0x37b2c2=_0xb6327a=>_0xf52104[_0x45373a(0x160)](_0xb6327a);_0x36239e[_0x45373a(0x2ef)]('close',_0x37b2c2),_0x28af13[_0x45373a(0x2da)](A[_0x45373a(0x1f2)](()=>_0x36239e[_0x45373a(0x1e8)](_0x45373a(0x264),_0x37b2c2)));})['pipe'](V['share']()),'error$':new V[(_0x27044d(0x2ae))](_0x56708f=>{const _0x55ebd7=_0x27044d,_0x39cb2e=_0x19cf03=>_0x56708f['next'](_0x19cf03);_0x36239e[_0x55ebd7(0x2ef)]('error',_0x39cb2e),_0x28af13['add'](A[_0x55ebd7(0x1f2)](()=>_0x36239e[_0x55ebd7(0x1e8)](_0x55ebd7(0x15a),_0x39cb2e)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'message$':new V[(_0x27044d(0x2ae))](_0x579d4f=>{const _0x90a08b=_0x27044d,_0x424b78=_0x2b9a2d=>_0x579d4f[_0x90a08b(0x160)](_0x2b9a2d);_0x36239e['addEventListener']('message',_0x424b78),_0x28af13[_0x90a08b(0x2da)](A[_0x90a08b(0x1f2)](()=>_0x36239e[_0x90a08b(0x1e8)](_0x90a08b(0x27f),_0x424b78)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]())};}catch(_0x2a648a){return console[_0x27044d(0x15a)](_0x2a648a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x56ab5b(0x209)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5b2f86,_0xd1839c,_0x5df3d7)=>_0xd1839c in _0x5b2f86?Gt(_0x5b2f86,_0xd1839c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5df3d7}):_0x5b2f86[_0xd1839c]=_0x5df3d7,zt=(_0x417b1f,_0x5cc45a,_0x41b46f,_0x3bcfc)=>{const _0x3e2875=_0x56ab5b;for(var _0x2553f2=_0x3bcfc>0x1?void 0x0:_0x3bcfc?Vt(_0x5cc45a,_0x41b46f):_0x5cc45a,_0x59190a=_0x417b1f[_0x3e2875(0x12b)]-0x1,_0x32aa84;_0x59190a>=0x0;_0x59190a--)(_0x32aa84=_0x417b1f[_0x59190a])&&(_0x2553f2=_0x32aa84(_0x2553f2)||_0x2553f2);return _0x2553f2;},Ne=(_0xae28bf,_0x347d20)=>(_0x2407c1,_0x1cf5fc)=>_0x347d20(_0x2407c1,_0x1cf5fc,_0xae28bf),Yt=(_0x38ae1d,_0x1ac5a0,_0x8cb566)=>Ht(_0x38ae1d,_0x1ac5a0+'',_0x8cb566);exports[_0x56ab5b(0x1f7)]=class extends A[_0x56ab5b(0x222)]{constructor(_0x410a50=Ct,_0x46db7e,_0x257510,_0x4727ef){const _0x1bcad6=_0x56ab5b;_0x410a50[_0x1bcad6(0x14d)]||_0x46db7e[_0x1bcad6(0x232)](_0x1bcad6(0x2ec)),super(),this[_0x1bcad6(0x2ce)]=_0x257510,this[_0x1bcad6(0x1f4)]=_0x4727ef,this[_0x1bcad6(0x2ce)][_0x1bcad6(0x1d0)](fe,_0x410a50);}[_0x56ab5b(0x26d)](){const _0x47134d=_0x56ab5b;this[_0x47134d(0x22a)]();}[_0x56ab5b(0x22a)](){const _0xdc5954=_0x56ab5b;A[_0xdc5954(0x1c2)](this[_0xdc5954(0x1f4)],[[it[_0xdc5954(0x197)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x56ab5b(0x1a2),_0x56ab5b(0x143)),exports[_0x56ab5b(0x1f7)]=zt([A[_0x56ab5b(0x169)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x56ab5b(0x194)]),Ne(0x2,A[_0x56ab5b(0x2a8)]),Ne(0x3,A['Inject'](A[_0x56ab5b(0x1fe)]))],exports[_0x56ab5b(0x1f7)]);var Kt=Object[_0x56ab5b(0x1af)],Xt=(_0x46d317,_0xf6797d,_0x2764a0,_0x2e0f39)=>{const _0x317ba1=_0x56ab5b;for(var _0x5156ce=_0x2e0f39>0x1?void 0x0:_0x2e0f39?Kt(_0xf6797d,_0x2764a0):_0xf6797d,_0x2503cb=_0x46d317[_0x317ba1(0x12b)]-0x1,_0x2cca7a;_0x2503cb>=0x0;_0x2503cb--)(_0x2cca7a=_0x46d317[_0x2503cb])&&(_0x5156ce=_0x2cca7a(_0x5156ce)||_0x5156ce);return _0x5156ce;},ne=(_0x3bd626,_0x493e6d)=>(_0x3f396c,_0x46f817)=>_0x493e6d(_0x3f396c,_0x46f817,_0x3bd626);exports[_0x56ab5b(0x173)]=class extends st[_0x56ab5b(0x1f0)]{constructor(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0){const _0x277a6e=_0x56ab5b;super(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0);const _0x51dac0=this[_0x277a6e(0x2ce)][_0x277a6e(0x259)](fe);this[_0x277a6e(0x210)]['registerHTTPInterceptor']({'interceptor':(_0x544d04,_0xf40a65)=>{const _0x4a47dc=_0x277a6e;var _0x3f602c;const _0x47e4ce=_0x544d04[_0x4a47dc(0x24a)];return(_0x3f602c=_0x51dac0==null?void 0x0:_0x51dac0[_0x4a47dc(0x14d)])!=null&&_0x3f602c['cookie']&&_0x47e4ce['set'](_0x4a47dc(0x2f0),_0x51dac0[_0x4a47dc(0x14d)][_0x4a47dc(0x13b)]),_0xf40a65(_0x544d04);}});}async['createSocket'](_0x28e6d4){return this['_doCreateSocket'](_0x28e6d4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x56ab5b(0x279)](A[_0x56ab5b(0x1fe)])),ne(0x1,A[_0x56ab5b(0x279)](it['HTTPService'])),ne(0x2,A[_0x56ab5b(0x2a8)]),ne(0x3,A[_0x56ab5b(0x194)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x56ab5b(0x226)]=fe;
1
+ 'use strict';const _0x572ec8=_0x480a;(function(_0x831e8f,_0x1f9ab9){const _0x4f4b74=_0x480a,_0x2f6992=_0x831e8f();while(!![]){try{const _0x3ec209=-parseInt(_0x4f4b74(0x320))/0x1*(-parseInt(_0x4f4b74(0x217))/0x2)+-parseInt(_0x4f4b74(0x23c))/0x3*(-parseInt(_0x4f4b74(0x1fe))/0x4)+-parseInt(_0x4f4b74(0x2b0))/0x5*(-parseInt(_0x4f4b74(0x22a))/0x6)+-parseInt(_0x4f4b74(0x30d))/0x7+parseInt(_0x4f4b74(0x2a6))/0x8*(-parseInt(_0x4f4b74(0x2ed))/0x9)+-parseInt(_0x4f4b74(0x2bc))/0xa+parseInt(_0x4f4b74(0x1fb))/0xb;if(_0x3ec209===_0x1f9ab9)break;else _0x2f6992['push'](_0x2f6992['shift']());}catch(_0x24a9ae){_0x2f6992['push'](_0x2f6992['shift']());}}}(_0x4d13,0xed536));Object[_0x572ec8(0x2b8)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x572ec8(0x356),Ct={'customHeaders':{}};function _0x480a(_0x5dbdad,_0x36b7e8){const _0x4d13b2=_0x4d13();return _0x480a=function(_0x480a5b,_0x52e94f){_0x480a5b=_0x480a5b-0x1bd;let _0x5af960=_0x4d13b2[_0x480a5b];return _0x5af960;},_0x480a(_0x5dbdad,_0x36b7e8);}function Tt(_0x360396){const _0x268932=_0x572ec8;return _0x360396&&_0x360396[_0x268932(0x250)]&&Object[_0x268932(0x364)][_0x268932(0x372)][_0x268932(0x37b)](_0x360396,'default')?_0x360396[_0x268932(0x2ac)]:_0x360396;}function at(_0x1ff59e){const _0x11970f=_0x572ec8;if(Object['prototype'][_0x11970f(0x372)][_0x11970f(0x37b)](_0x1ff59e,_0x11970f(0x250)))return _0x1ff59e;var _0x5939cd=_0x1ff59e[_0x11970f(0x2ac)];if(typeof _0x5939cd==_0x11970f(0x29b)){var _0x474493=function _0x2485db(){const _0x39fbb=_0x11970f;var _0x2013ae=!0x1;try{_0x2013ae=this instanceof _0x2485db;}catch{}return _0x2013ae?Reflect[_0x39fbb(0x27b)](_0x5939cd,arguments,this[_0x39fbb(0x20a)]):_0x5939cd['apply'](this,arguments);};_0x474493[_0x11970f(0x364)]=_0x5939cd[_0x11970f(0x364)];}else _0x474493={};return Object[_0x11970f(0x2b8)](_0x474493,'__esModule',{'value':!0x0}),Object[_0x11970f(0x37d)](_0x1ff59e)[_0x11970f(0x344)](function(_0x31cc11){const _0x441f86=_0x11970f;var _0x5949e1=Object['getOwnPropertyDescriptor'](_0x1ff59e,_0x31cc11);Object[_0x441f86(0x2b8)](_0x474493,_0x31cc11,_0x5949e1['get']?_0x5949e1:{'enumerable':!0x0,'get':function(){return _0x1ff59e[_0x31cc11];}});}),_0x474493;}function _0x4d13(){const _0x2ad4aa=['Sec-WebSocket-Accept:\x20','_compress','isIP','generateMask','kTarget','CLOSING','serverMaxWindowBits','resume','_final','send','connect','noServer','dataMessage','prototype','conclude','isPaused','RSV1\x20must\x20be\x20clear','listenerCount','_fin','setSocket','freeze','_payloadLength','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_max_window_bits','from','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','catch','hasOwnProperty','statusCode','createError','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','hash','pluginName','protocol','Sec-WebSocket-Extensions:\x20','replace','call','endEmitted','keys','_writableState','zlibInflateOptions','charCodeAt','handshakeTimeout','bufferedAmount','kByteLength','skipUTF8Validation','_isServer','test','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setHeader','alloc','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','rsv1','maskBuffer','sec-websocket-accept','invalid\x20payload\x20length\x20','byteLength','customHeaders','controlMessage','_socket','kMessage','_maxPayload','createConnection','shift','path','emit','sec-websocket-key','authorization','startLoop','onerror','Invalid\x20HTTP\x20method','wasClean','_closeMessage','kError','Plugin','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_closeFrameSent','onmessage','reason','destroy','Cookie','zlibDeflateOptions','STATUS_CODES','acceptAsClient','MASK\x20must\x20be\x20set','code','pending','_bufferedBytes','Basic\x20','readable','slice','fin','The\x20server\x20is\x20not\x20running','once','next','isView','_closeFrameReceived','text/plain','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','nextTick','apply','Observable','perMessageDeflate','_removeListeners','_injector','timeout','Z_SYNC_FLUSH','7690166xPaqMa','enqueue','MASK\x20must\x20be\x20clear','158764zmdewm','response','Max\x20payload\x20size\x20exceeded','onopen','_mask','warn','dequeue','backlog','delete','concurrency','Invalid\x20value\x20for\x20parameter\x20\x22','haveLength','constructor','mask','options','share','exports','_masked','offer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','wsClientError','DependentOn','number','errorEmitted','Opening\x20handshake\x20has\x20timed\x20out','1243262OJyids','_shouldEmitClose','objectMode','_fragmented','push','pathname','kAborted','isArray','pow','clientTracking','listen','clientMaxWindowBits','dispatch','url','_url','pause','length','unshift','writable','5129778QHFiFI','isInteger','WS_ERR_EXPECTED_FIN','_protocol','_skipUTF8Validation','_buffers','binary','_allowSynchronousEvents','join','terminate','CLOSED','Invalid\x20Sec-WebSocket-Extensions\x20header','toStringTag','ping','concurrencyLimit','split','_closeTimer','_req','123lAitAy','isBuffer','followRedirects','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','\x0d\x0a\x0d\x0a','headers','UniverCollaborationClientNodePlugin','data','arraybuffer','target','_configService','invalid\x20status\x20code\x20','13,\x208','_readyState','connection','allocUnsafe','open','concat','createSocket','_errored','__esModule','invalid\x20opcode\x200','_messageLength','_sender','text/html','_redirects','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readableState','_autoPong','readOnly','href','Unexpected\x20server\x20response:\x20','host','update','_paused','_errorEmitted','getMask','_extensions','uncork','writeHead','shouldHandle','add','reset','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','drain','pong','destroyed','error','OPEN','_binaryType','protocolVersion','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setNoDelay','buffer','Invalid\x20Upgrade\x20header','password','getBlobData','_opcode','sha1','getConfig','http:','_state','ISocketService','construct','allowSynchronousEvents','accept','Sec-WebSocket-Protocol:\x20','socketPath','_maskBuffer','\x22:\x20','_registerDependencies','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','values','format','kListener','client_no_context_takeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','end','finished','toLowerCase','auth','create','server','socket','_doCreateSocket','params','sec-websocket-extensions','Unexpected\x20character\x20at\x20index\x20','Invalid\x20URL:\x20','_fragments','Origin','unmask','compress','server_max_window_bits','_options','function','unexpected-response','maxRedirects','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Origin','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','extensions','_bufferedAmount','WS_ERR_UNEXPECTED_RSV_2_3','byteOffset','servername','120HgchCs','stream','ISnapshotServerService','client','_decompress','WebSocket\x20is\x20not\x20open:\x20readyState\x20','default','address','jobs','\x22\x20subprotocol\x20is\x20duplicated','5izheRX','total-length','Inject','cookie','WebSocket','object','IConfigService','WS_ERR_UNEXPECTED_RSV_1','defineProperty','string','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','15015330zAyoVe','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unknown\x20parameter\x20\x22','decompress','close','clients','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_INVALID_UTF8','Parameter\x20\x22','_threshold','value','writeUIntBE','port','kType','sendFrame','CONNECTING','authorized','has','listeners','readyState','flush','serverNoContextTakeover','_destroy','write','maxPayload','UniverCollaborationClientPlugin','isValidUTF8','message','binaryType','hostname','setConfig','ws+unix:','_deflate','finish','removeEventListener','invalid\x20UTF-8\x20sequence','websocket','permessage-deflate','WS_ERR_UNEXPECTED_MASK','autoPong','_httpService','kRun','createServer','toString','setTimeout','addEventListener','dispose','server_no_context_takeover','opcode','460863kYqCkq','_receiver','size','kData','readUInt16BE','_inflate','toDisposable','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','callback','_write','verifyClient','Module','defaultPort','status-code','blob','Sec-WebSocket-Extensions','Sec-WebSocket-Protocol','kIsForOnEventAttribute','_originalIpc','_loop','species','DisposableCollection','origin','NodeCollaborationSocketService','nodebuffer','indexOf','kCode','normalizeParams','_firstFragment','_server','abort','wss:','8280566tlOkiU','invalid\x20opcode\x20','base64','Upgrade:\x20websocket','CollaborationSocketService','https:','Z_DEFAULT_WINDOWBITS','parse','bind','pipe','_compressed','_read','finishRequest','username','Server\x20sent\x20no\x20subprotocol','handleUpgrade','_originalHostOrSocketPath','threshold','_closeCode','2fGLiKn','extensionName','_no_context_takeover','File','frame','_totalPayloadLength','Unexpected\x20end\x20of\x20input','request','startsWith','map','emitClose','digest','Upgrade','Maximum\x20redirects\x20exceeded','readUInt32BE','buffers','fragments','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','redirect','WS_ERR_INVALID_OPCODE','ws:','acceptAsServer','location','clientNoContextTakeover','type','_queue','completeUpgrade','removeListener','removeAllListeners','encrypted','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sec-websocket-protocol','set','upgrade','Disposable','forEach','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','client_max_window_bits','search','consume','cork','isServer','Unsupported\x20protocol\x20version:\x20','getData','arrayBuffer','captureStackTrace','The\x20\x22','env','getPayloadLength16','read','cleanup','getOwnPropertyDescriptor','_generateMask','collaboration-client-node.config'];_0x4d13=function(){return _0x2ad4aa;};return _0x4d13();}var se={'exports':{}},ge,Ge;function H(){const _0x3dc240=_0x572ec8;if(Ge)return ge;Ge=0x1;const _0x4ed909=[_0x3dc240(0x305),_0x3dc240(0x244),_0x3dc240(0x330)],_0x5abfd2=typeof Blob<'u';return _0x5abfd2&&_0x4ed909[_0x3dc240(0x21b)](_0x3dc240(0x2fb)),ge={'BINARY_TYPES':_0x4ed909,'EMPTY_BUFFER':Buffer[_0x3dc240(0x1c2)](0x0),'GUID':_0x3dc240(0x36d),'hasBlob':_0x5abfd2,'kForOnEventAttribute':Symbol(_0x3dc240(0x2fe)),'kListener':Symbol(_0x3dc240(0x286)),'kStatusCode':Symbol(_0x3dc240(0x2fa)),'kWebSocket':Symbol(_0x3dc240(0x2e0)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x572ec8(0x36b)](Object[_0x572ec8(0x2b8)]({'__proto__':null,'default':Nt},Symbol[_0x572ec8(0x236)],{'value':_0x572ec8(0x2f8)})),Lt=at(kt);var Ve;function ce(){const _0x38777f=_0x572ec8;if(Ve)return se[_0x38777f(0x20e)];Ve=0x1;const {EMPTY_BUFFER:_0x21002a}=H(),_0x35ec7e=Buffer[Symbol[_0x38777f(0x301)]];function _0x11f5c0(_0x22513e,_0x39d073){const _0x11bd8b=_0x38777f;if(_0x22513e[_0x11bd8b(0x227)]===0x0)return _0x21002a;if(_0x22513e['length']===0x1)return _0x22513e[0x0];const _0x4759f5=Buffer[_0x11bd8b(0x24b)](_0x39d073);let _0x105f35=0x0;for(let _0x26b6ea=0x0;_0x26b6ea<_0x22513e['length'];_0x26b6ea++){const _0x3673d2=_0x22513e[_0x26b6ea];_0x4759f5['set'](_0x3673d2,_0x105f35),_0x105f35+=_0x3673d2['length'];}return _0x105f35<_0x39d073?new _0x35ec7e(_0x4759f5['buffer'],_0x4759f5[_0x11bd8b(0x2a4)],_0x105f35):_0x4759f5;}function _0x286b15(_0x4b6e83,_0x580456,_0x474fd2,_0x306572,_0x491762){for(let _0x5833d1=0x0;_0x5833d1<_0x491762;_0x5833d1++)_0x474fd2[_0x306572+_0x5833d1]=_0x4b6e83[_0x5833d1]^_0x580456[_0x5833d1&0x3];}function _0x4cbafb(_0xbe9dcf,_0x2bcca1){for(let _0x1fd807=0x0;_0x1fd807<_0xbe9dcf['length'];_0x1fd807++)_0xbe9dcf[_0x1fd807]^=_0x2bcca1[_0x1fd807&0x3];}function _0xe29726(_0x405313){const _0x5a891d=_0x38777f;return _0x405313['length']===_0x405313[_0x5a891d(0x271)][_0x5a891d(0x1c8)]?_0x405313[_0x5a891d(0x271)]:_0x405313[_0x5a891d(0x271)][_0x5a891d(0x1ea)](_0x405313['byteOffset'],_0x405313[_0x5a891d(0x2a4)]+_0x405313[_0x5a891d(0x227)]);}function _0x38d9a9(_0x58d1d2){const _0x485ecd=_0x38777f;if(_0x38d9a9[_0x485ecd(0x259)]=!0x0,Buffer[_0x485ecd(0x23d)](_0x58d1d2))return _0x58d1d2;let _0x3e7c61;return _0x58d1d2 instanceof ArrayBuffer?_0x3e7c61=new _0x35ec7e(_0x58d1d2):ArrayBuffer[_0x485ecd(0x1ef)](_0x58d1d2)?_0x3e7c61=new _0x35ec7e(_0x58d1d2[_0x485ecd(0x271)],_0x58d1d2['byteOffset'],_0x58d1d2['byteLength']):(_0x3e7c61=Buffer[_0x485ecd(0x36f)](_0x58d1d2),_0x38d9a9[_0x485ecd(0x259)]=!0x1),_0x3e7c61;}if(se[_0x38777f(0x20e)]={'concat':_0x11f5c0,'mask':_0x286b15,'toArrayBuffer':_0xe29726,'toBuffer':_0x38d9a9,'unmask':_0x4cbafb},!process[_0x38777f(0x350)]['WS_NO_BUFFER_UTIL'])try{const _0x3169ee=Lt;se[_0x38777f(0x20e)][_0x38777f(0x20b)]=function(_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db){const _0x258b53=_0x38777f;_0x5cf9db<0x30?_0x286b15(_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db):_0x3169ee[_0x258b53(0x20b)](_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db);},se['exports'][_0x38777f(0x297)]=function(_0x5cdf8a,_0x59c1e4){_0x5cdf8a['length']<0x20?_0x4cbafb(_0x5cdf8a,_0x59c1e4):_0x3169ee['unmask'](_0x5cdf8a,_0x59c1e4);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x4501eb=_0x572ec8;if(He)return ye;He=0x1;const _0x49463d=Symbol('kDone'),_0x1a314c=Symbol(_0x4501eb(0x2e5));class _0x1540d1{constructor(_0x22ea88){const _0x31850f=_0x4501eb;this[_0x49463d]=()=>{const _0x165fdb=_0x480a;this[_0x165fdb(0x1e6)]--,this[_0x1a314c]();},this['concurrency']=_0x22ea88||0x1/0x0,this[_0x31850f(0x2ae)]=[],this[_0x31850f(0x1e6)]=0x0;}['add'](_0x47544c){const _0x5a5606=_0x4501eb;this[_0x5a5606(0x2ae)]['push'](_0x47544c),this[_0x1a314c]();}[_0x1a314c](){const _0x2e2132=_0x4501eb;if(this[_0x2e2132(0x1e6)]!==this[_0x2e2132(0x207)]&&this['jobs']['length']){const _0xcdfe96=this[_0x2e2132(0x2ae)][_0x2e2132(0x1cf)]();this['pending']++,_0xcdfe96(this[_0x49463d]);}}}return ye=_0x1540d1,ye;}var ve,ze;function he(){const _0x59ba22=_0x572ec8;if(ze)return ve;ze=0x1;const _0x4c3775=bt,_0xdf35e5=ce(),_0x4f42c9=Pt(),{kStatusCode:_0x214d78}=H(),_0x28ee5f=Buffer[Symbol[_0x59ba22(0x301)]],_0x324b7a=Buffer[_0x59ba22(0x36f)]([0x0,0x0,0xff,0xff]),_0x4aa58b=Symbol('permessage-deflate'),_0x3623f2=Symbol(_0x59ba22(0x2b1)),_0x16ddee=Symbol(_0x59ba22(0x2f5)),_0x5a4c02=Symbol(_0x59ba22(0x32f)),_0x52f614=Symbol(_0x59ba22(0x26b));let _0x53b772;class _0x1613a1{constructor(_0x479edd,_0x2bd166,_0x5ab1bb){const _0x272e99=_0x59ba22;if(this[_0x272e99(0x1cd)]=_0x5ab1bb|0x0,this[_0x272e99(0x29a)]=_0x479edd||{},this[_0x272e99(0x2c5)]=this[_0x272e99(0x29a)][_0x272e99(0x31e)]!==void 0x0?this[_0x272e99(0x29a)][_0x272e99(0x31e)]:0x400,this[_0x272e99(0x1be)]=!!_0x2bd166,this[_0x272e99(0x2dc)]=null,this[_0x272e99(0x2f2)]=null,this[_0x272e99(0x291)]=null,!_0x53b772){const _0x2103ea=this[_0x272e99(0x29a)][_0x272e99(0x238)]!==void 0x0?this[_0x272e99(0x29a)][_0x272e99(0x238)]:0xa;_0x53b772=new _0x4f42c9(_0x2103ea);}}static get['extensionName'](){const _0x543698=_0x59ba22;return _0x543698(0x2e1);}[_0x59ba22(0x210)](){const _0xb93e8d=_0x59ba22,_0x4a2364={};return this[_0xb93e8d(0x29a)]['serverNoContextTakeover']&&(_0x4a2364[_0xb93e8d(0x2eb)]=!0x0),this[_0xb93e8d(0x29a)]['clientNoContextTakeover']&&(_0x4a2364['client_no_context_takeover']=!0x0),this[_0xb93e8d(0x29a)][_0xb93e8d(0x35d)]&&(_0x4a2364[_0xb93e8d(0x299)]=this[_0xb93e8d(0x29a)]['serverMaxWindowBits']),this[_0xb93e8d(0x29a)][_0xb93e8d(0x222)]?_0x4a2364[_0xb93e8d(0x346)]=this['_options'][_0xb93e8d(0x222)]:this[_0xb93e8d(0x29a)][_0xb93e8d(0x222)]==null&&(_0x4a2364[_0xb93e8d(0x346)]=!0x0),_0x4a2364;}[_0x59ba22(0x27d)](_0x16e527){const _0x5e0e21=_0x59ba22;return _0x16e527=this[_0x5e0e21(0x308)](_0x16e527),this['params']=this['_isServer']?this['acceptAsServer'](_0x16e527):this[_0x5e0e21(0x1e3)](_0x16e527),this[_0x5e0e21(0x291)];}[_0x59ba22(0x353)](){const _0xe60698=_0x59ba22;if(this['_inflate']&&(this['_inflate'][_0xe60698(0x2c0)](),this['_inflate']=null),this[_0xe60698(0x2dc)]){const _0x5411e1=this['_deflate'][_0x16ddee];this[_0xe60698(0x2dc)][_0xe60698(0x2c0)](),this['_deflate']=null,_0x5411e1&&_0x5411e1(new Error(_0xe60698(0x1c3)));}}[_0x59ba22(0x335)](_0x5c4d4e){const _0x27333c=_0x59ba22,_0x3e2ea8=this[_0x27333c(0x29a)],_0x41021e=_0x5c4d4e['find'](_0xa6998b=>!(_0x3e2ea8[_0x27333c(0x2d1)]===!0x1&&_0xa6998b['server_no_context_takeover']||_0xa6998b[_0x27333c(0x299)]&&(_0x3e2ea8[_0x27333c(0x35d)]===!0x1||typeof _0x3e2ea8['serverMaxWindowBits']==_0x27333c(0x214)&&_0x3e2ea8[_0x27333c(0x35d)]>_0xa6998b[_0x27333c(0x299)])||typeof _0x3e2ea8['clientMaxWindowBits']=='number'&&!_0xa6998b[_0x27333c(0x346)]));if(!_0x41021e)throw new Error(_0x27333c(0x256));return _0x3e2ea8[_0x27333c(0x2d1)]&&(_0x41021e['server_no_context_takeover']=!0x0),_0x3e2ea8[_0x27333c(0x337)]&&(_0x41021e['client_no_context_takeover']=!0x0),typeof _0x3e2ea8['serverMaxWindowBits']==_0x27333c(0x214)&&(_0x41021e[_0x27333c(0x299)]=_0x3e2ea8[_0x27333c(0x35d)]),typeof _0x3e2ea8[_0x27333c(0x222)]==_0x27333c(0x214)?_0x41021e['client_max_window_bits']=_0x3e2ea8['clientMaxWindowBits']:(_0x41021e['client_max_window_bits']===!0x0||_0x3e2ea8[_0x27333c(0x222)]===!0x1)&&delete _0x41021e['client_max_window_bits'],_0x41021e;}[_0x59ba22(0x1e3)](_0x556719){const _0x50d2a9=_0x59ba22,_0x2b807e=_0x556719[0x0];if(this[_0x50d2a9(0x29a)][_0x50d2a9(0x337)]===!0x1&&_0x2b807e['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2b807e[_0x50d2a9(0x346)])typeof this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]==_0x50d2a9(0x214)&&(_0x2b807e[_0x50d2a9(0x346)]=this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]);else{if(this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]===!0x1||typeof this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]==_0x50d2a9(0x214)&&_0x2b807e[_0x50d2a9(0x346)]>this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)])throw new Error(_0x50d2a9(0x288));}return _0x2b807e;}[_0x59ba22(0x308)](_0x4816eb){return _0x4816eb['forEach'](_0x48878f=>{const _0x439e5b=_0x480a;Object[_0x439e5b(0x37d)](_0x48878f)[_0x439e5b(0x344)](_0x593312=>{const _0x4a40d2=_0x439e5b;let _0x331cfd=_0x48878f[_0x593312];if(_0x331cfd['length']>0x1)throw new Error(_0x4a40d2(0x2c4)+_0x593312+_0x4a40d2(0x2bd));if(_0x331cfd=_0x331cfd[0x0],_0x593312===_0x4a40d2(0x346)){if(_0x331cfd!==!0x0){const _0x39a12d=+_0x331cfd;if(!Number[_0x4a40d2(0x22b)](_0x39a12d)||_0x39a12d<0x8||_0x39a12d>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+'\x22:\x20'+_0x331cfd);_0x331cfd=_0x39a12d;}else{if(!this[_0x4a40d2(0x1be)])throw new TypeError(_0x4a40d2(0x208)+_0x593312+_0x4a40d2(0x281)+_0x331cfd);}}else{if(_0x593312===_0x4a40d2(0x299)){const _0x3647d6=+_0x331cfd;if(!Number[_0x4a40d2(0x22b)](_0x3647d6)||_0x3647d6<0x8||_0x3647d6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+_0x4a40d2(0x281)+_0x331cfd);_0x331cfd=_0x3647d6;}else{if(_0x593312===_0x4a40d2(0x287)||_0x593312===_0x4a40d2(0x2eb)){if(_0x331cfd!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+'\x22:\x20'+_0x331cfd);}else throw new Error(_0x4a40d2(0x2be)+_0x593312+'\x22');}}_0x48878f[_0x593312]=_0x331cfd;});}),_0x4816eb;}[_0x59ba22(0x2bf)](_0x4f4240,_0x20c1b3,_0x551a07){const _0xe3ac08=_0x59ba22;_0x53b772[_0xe3ac08(0x265)](_0x280b88=>{const _0x2d1463=_0xe3ac08;this[_0x2d1463(0x2aa)](_0x4f4240,_0x20c1b3,(_0x22941c,_0x2c72e2)=>{_0x280b88(),_0x551a07(_0x22941c,_0x2c72e2);});});}[_0x59ba22(0x298)](_0x4d42b0,_0x42ebea,_0x124883){const _0x5c4b00=_0x59ba22;_0x53b772[_0x5c4b00(0x265)](_0x39a34e=>{const _0x15813e=_0x5c4b00;this[_0x15813e(0x358)](_0x4d42b0,_0x42ebea,(_0x17ac0b,_0x3cef2c)=>{_0x39a34e(),_0x124883(_0x17ac0b,_0x3cef2c);});});}['_decompress'](_0x40c887,_0x33382f,_0x1bd062){const _0x8b3c42=_0x59ba22,_0x53b45c=this['_isServer']?_0x8b3c42(0x2a9):_0x8b3c42(0x28e);if(!this[_0x8b3c42(0x2f2)]){const _0x38baf8=_0x53b45c+'_max_window_bits',_0x470b78=typeof this[_0x8b3c42(0x291)][_0x38baf8]!='number'?_0x4c3775['Z_DEFAULT_WINDOWBITS']:this[_0x8b3c42(0x291)][_0x38baf8];this[_0x8b3c42(0x2f2)]=_0x4c3775['createInflateRaw']({...this[_0x8b3c42(0x29a)][_0x8b3c42(0x37f)],'windowBits':_0x470b78}),this[_0x8b3c42(0x2f2)][_0x4aa58b]=this,this[_0x8b3c42(0x2f2)][_0x3623f2]=0x0,this[_0x8b3c42(0x2f2)][_0x5a4c02]=[],this['_inflate']['on'](_0x8b3c42(0x26b),_0x516a36),this['_inflate']['on'](_0x8b3c42(0x243),_0x20f58d);}this['_inflate'][_0x16ddee]=_0x1bd062,this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d3)](_0x40c887),_0x33382f&&this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d3)](_0x324b7a),this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d0)](()=>{const _0x1bf780=_0x8b3c42,_0x5a7d6c=this[_0x1bf780(0x2f2)][_0x52f614];if(_0x5a7d6c){this[_0x1bf780(0x2f2)]['close'](),this[_0x1bf780(0x2f2)]=null,_0x1bd062(_0x5a7d6c);return;}const _0x379a43=_0xdf35e5[_0x1bf780(0x24d)](this[_0x1bf780(0x2f2)][_0x5a4c02],this[_0x1bf780(0x2f2)][_0x3623f2]);this['_inflate'][_0x1bf780(0x257)]['endEmitted']?(this[_0x1bf780(0x2f2)][_0x1bf780(0x2c0)](),this[_0x1bf780(0x2f2)]=null):(this['_inflate'][_0x3623f2]=0x0,this[_0x1bf780(0x2f2)][_0x5a4c02]=[],_0x33382f&&this[_0x1bf780(0x291)][_0x53b45c+_0x1bf780(0x322)]&&this['_inflate'][_0x1bf780(0x266)]()),_0x1bd062(null,_0x379a43);});}[_0x59ba22(0x358)](_0x546a18,_0x4ff7c7,_0x2d909e){const _0x3a9105=_0x59ba22,_0x376001=this[_0x3a9105(0x1be)]?_0x3a9105(0x28e):_0x3a9105(0x2a9);if(!this[_0x3a9105(0x2dc)]){const _0x17cf4f=_0x376001+_0x3a9105(0x36e),_0x5cf769=typeof this[_0x3a9105(0x291)][_0x17cf4f]!=_0x3a9105(0x214)?_0x4c3775[_0x3a9105(0x313)]:this[_0x3a9105(0x291)][_0x17cf4f];this['_deflate']=_0x4c3775['createDeflateRaw']({...this[_0x3a9105(0x29a)][_0x3a9105(0x1e1)],'windowBits':_0x5cf769}),this[_0x3a9105(0x2dc)][_0x3623f2]=0x0,this[_0x3a9105(0x2dc)][_0x5a4c02]=[],this[_0x3a9105(0x2dc)]['on'](_0x3a9105(0x243),_0x1a2684);}this['_deflate'][_0x16ddee]=_0x2d909e,this[_0x3a9105(0x2dc)]['write'](_0x546a18),this[_0x3a9105(0x2dc)][_0x3a9105(0x2d0)](_0x4c3775[_0x3a9105(0x1fa)],()=>{const _0x582c6d=_0x3a9105;if(!this[_0x582c6d(0x2dc)])return;let _0x18e95e=_0xdf35e5[_0x582c6d(0x24d)](this[_0x582c6d(0x2dc)][_0x5a4c02],this['_deflate'][_0x3623f2]);_0x4ff7c7&&(_0x18e95e=new _0x28ee5f(_0x18e95e[_0x582c6d(0x271)],_0x18e95e[_0x582c6d(0x2a4)],_0x18e95e[_0x582c6d(0x227)]-0x4)),this[_0x582c6d(0x2dc)][_0x16ddee]=null,this[_0x582c6d(0x2dc)][_0x3623f2]=0x0,this[_0x582c6d(0x2dc)][_0x5a4c02]=[],_0x4ff7c7&&this['params'][_0x376001+_0x582c6d(0x322)]&&this['_deflate'][_0x582c6d(0x266)](),_0x2d909e(null,_0x18e95e);});}}ve=_0x1613a1;function _0x1a2684(_0x184db2){const _0x2d4553=_0x59ba22;this[_0x5a4c02][_0x2d4553(0x21b)](_0x184db2),this[_0x3623f2]+=_0x184db2['length'];}function _0x20f58d(_0xa5a158){const _0x2cda25=_0x59ba22;if(this[_0x3623f2]+=_0xa5a158[_0x2cda25(0x227)],this[_0x4aa58b][_0x2cda25(0x1cd)]<0x1||this[_0x3623f2]<=this[_0x4aa58b][_0x2cda25(0x1cd)]){this[_0x5a4c02][_0x2cda25(0x21b)](_0xa5a158);return;}this[_0x52f614]=new RangeError(_0x2cda25(0x200)),this[_0x52f614]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x52f614][_0x214d78]=0x3f1,this[_0x2cda25(0x33b)]('data',_0x20f58d),this[_0x2cda25(0x266)]();}function _0x516a36(_0x4efaa8){const _0x5daa87=_0x59ba22;if(this[_0x4aa58b][_0x5daa87(0x2f2)]=null,this[_0x52f614]){this[_0x16ddee](this[_0x52f614]);return;}_0x4efaa8[_0x214d78]=0x3ef,this[_0x16ddee](_0x4efaa8);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x572ec8(0x36b)](Object[_0x572ec8(0x2b8)]({'__proto__':null,'default':Dt},Symbol[_0x572ec8(0x236)],{'value':_0x572ec8(0x2f8)})),Bt=at(Rt);var Ye;function ae(){const _0x1d5921=_0x572ec8;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x5a709f}=wt,{hasBlob:_0x5e052f}=H(),_0x1f7d50=[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 _0x48ed7b(_0x59a77c){return _0x59a77c>=0x3e8&&_0x59a77c<=0x3f6&&_0x59a77c!==0x3ec&&_0x59a77c!==0x3ed&&_0x59a77c!==0x3ee||_0x59a77c>=0xbb8&&_0x59a77c<=0x1387;}function _0x38d56d(_0x268ecd){const _0x423b03=_0x480a,_0x56d19b=_0x268ecd[_0x423b03(0x227)];let _0x282a39=0x0;for(;_0x282a39<_0x56d19b;)if((_0x268ecd[_0x282a39]&0x80)===0x0)_0x282a39++;else{if((_0x268ecd[_0x282a39]&0xe0)===0xc0){if(_0x282a39+0x1===_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39]&0xfe)===0xc0)return!0x1;_0x282a39+=0x2;}else{if((_0x268ecd[_0x282a39]&0xf0)===0xe0){if(_0x282a39+0x2>=_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x2]&0xc0)!==0x80||_0x268ecd[_0x282a39]===0xe0&&(_0x268ecd[_0x282a39+0x1]&0xe0)===0x80||_0x268ecd[_0x282a39]===0xed&&(_0x268ecd[_0x282a39+0x1]&0xe0)===0xa0)return!0x1;_0x282a39+=0x3;}else{if((_0x268ecd[_0x282a39]&0xf8)===0xf0){if(_0x282a39+0x3>=_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x2]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x3]&0xc0)!==0x80||_0x268ecd[_0x282a39]===0xf0&&(_0x268ecd[_0x282a39+0x1]&0xf0)===0x80||_0x268ecd[_0x282a39]===0xf4&&_0x268ecd[_0x282a39+0x1]>0x8f||_0x268ecd[_0x282a39]>0xf4)return!0x1;_0x282a39+=0x4;}else return!0x1;}}}return!0x0;}function _0x15e069(_0x180b0c){const _0x27c924=_0x480a;return _0x5e052f&&typeof _0x180b0c==_0x27c924(0x2b5)&&typeof _0x180b0c[_0x27c924(0x34d)]=='function'&&typeof _0x180b0c[_0x27c924(0x338)]==_0x27c924(0x2b9)&&typeof _0x180b0c[_0x27c924(0x2a7)]=='function'&&(_0x180b0c[Symbol['toStringTag']]==='Blob'||_0x180b0c[Symbol[_0x27c924(0x236)]]===_0x27c924(0x323));}if(ie[_0x1d5921(0x20e)]={'isBlob':_0x15e069,'isValidStatusCode':_0x48ed7b,'isValidUTF8':_0x38d56d,'tokenChars':_0x1f7d50},_0x5a709f)ie['exports'][_0x1d5921(0x2d6)]=function(_0x231548){const _0x4ed77a=_0x1d5921;return _0x231548[_0x4ed77a(0x227)]<0x18?_0x38d56d(_0x231548):_0x5a709f(_0x231548);};else{if(!process[_0x1d5921(0x350)]['WS_NO_UTF_8_VALIDATE'])try{const _0x127fee=Bt;ie[_0x1d5921(0x20e)][_0x1d5921(0x2d6)]=function(_0x214c85){return _0x214c85['length']<0x20?_0x38d56d(_0x214c85):_0x127fee(_0x214c85);};}catch{}}return ie[_0x1d5921(0x20e)];}var Se,Ke;function lt(){const _0x5b4340=_0x572ec8;if(Ke)return Se;Ke=0x1;const {Writable:_0x50243d}=oe,_0x5ed004=he(),{BINARY_TYPES:_0x530cc1,EMPTY_BUFFER:_0x2d935e,kStatusCode:_0x517b7d,kWebSocket:_0x3a62db}=H(),{concat:_0x4994ab,toArrayBuffer:_0x24fcea,unmask:_0x443c62}=ce(),{isValidStatusCode:_0x83087d,isValidUTF8:_0x11e759}=ae(),_0x57bab5=Buffer[Symbol[_0x5b4340(0x301)]],_0x34cf3d=0x0,_0x3a5665=0x1,_0x281d62=0x2,_0x53c81b=0x3,_0x396409=0x4,_0x7fd520=0x5,_0x41bf27=0x6;class _0x47d56a extends _0x50243d{constructor(_0x1b4056={}){const _0x200327=_0x5b4340;super(),this[_0x200327(0x231)]=_0x1b4056[_0x200327(0x27c)]!==void 0x0?_0x1b4056['allowSynchronousEvents']:!0x0,this[_0x200327(0x26d)]=_0x1b4056[_0x200327(0x2d8)]||_0x530cc1[0x0],this[_0x200327(0x261)]=_0x1b4056[_0x200327(0x2a1)]||{},this[_0x200327(0x1be)]=!!_0x1b4056[_0x200327(0x34a)],this[_0x200327(0x1cd)]=_0x1b4056['maxPayload']|0x0,this[_0x200327(0x22e)]=!!_0x1b4056[_0x200327(0x1bd)],this[_0x3a62db]=void 0x0,this[_0x200327(0x1e7)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x200327(0x36c)]=0x0,this[_0x200327(0x202)]=void 0x0,this[_0x200327(0x21a)]=0x0,this[_0x200327(0x20f)]=!0x1,this[_0x200327(0x369)]=!0x1,this[_0x200327(0x275)]=0x0,this[_0x200327(0x325)]=0x0,this[_0x200327(0x252)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x34cf3d;}[_0x5b4340(0x2f6)](_0x177690,_0x4047f0,_0x175ec1){const _0x159e6f=_0x5b4340;if(this[_0x159e6f(0x275)]===0x8&&this[_0x159e6f(0x279)]==_0x34cf3d)return _0x175ec1();this[_0x159e6f(0x1e7)]+=_0x177690['length'],this[_0x159e6f(0x22f)][_0x159e6f(0x21b)](_0x177690),this['startLoop'](_0x175ec1);}['consume'](_0x46204a){const _0x320494=_0x5b4340;if(this[_0x320494(0x1e7)]-=_0x46204a,_0x46204a===this[_0x320494(0x22f)][0x0][_0x320494(0x227)])return this[_0x320494(0x22f)][_0x320494(0x1cf)]();if(_0x46204a<this[_0x320494(0x22f)][0x0][_0x320494(0x227)]){const _0x43fc63=this[_0x320494(0x22f)][0x0];return this[_0x320494(0x22f)][0x0]=new _0x57bab5(_0x43fc63[_0x320494(0x271)],_0x43fc63[_0x320494(0x2a4)]+_0x46204a,_0x43fc63[_0x320494(0x227)]-_0x46204a),new _0x57bab5(_0x43fc63[_0x320494(0x271)],_0x43fc63[_0x320494(0x2a4)],_0x46204a);}const _0x38be88=Buffer[_0x320494(0x24b)](_0x46204a);do{const _0x13183b=this['_buffers'][0x0],_0x93b060=_0x38be88[_0x320494(0x227)]-_0x46204a;_0x46204a>=_0x13183b[_0x320494(0x227)]?_0x38be88['set'](this[_0x320494(0x22f)]['shift'](),_0x93b060):(_0x38be88[_0x320494(0x341)](new Uint8Array(_0x13183b[_0x320494(0x271)],_0x13183b[_0x320494(0x2a4)],_0x46204a),_0x93b060),this['_buffers'][0x0]=new _0x57bab5(_0x13183b[_0x320494(0x271)],_0x13183b[_0x320494(0x2a4)]+_0x46204a,_0x13183b[_0x320494(0x227)]-_0x46204a)),_0x46204a-=_0x13183b[_0x320494(0x227)];}while(_0x46204a>0x0);return _0x38be88;}[_0x5b4340(0x1d4)](_0xcc31de){const _0x2acf15=_0x5b4340;this[_0x2acf15(0x300)]=!0x0;do switch(this[_0x2acf15(0x279)]){case _0x34cf3d:this['getInfo'](_0xcc31de);break;case _0x3a5665:this[_0x2acf15(0x351)](_0xcc31de);break;case _0x281d62:this['getPayloadLength64'](_0xcc31de);break;case _0x53c81b:this[_0x2acf15(0x260)]();break;case _0x396409:this[_0x2acf15(0x34c)](_0xcc31de);break;case _0x7fd520:case _0x41bf27:this['_loop']=!0x1;return;}while(this[_0x2acf15(0x300)]);this[_0x2acf15(0x24f)]||_0xcc31de();}['getInfo'](_0x970e7d){const _0x225775=_0x5b4340;if(this[_0x225775(0x1e7)]<0x2){this['_loop']=!0x1;return;}const _0x564a65=this[_0x225775(0x348)](0x2);if((_0x564a65[0x0]&0x30)!==0x0){const _0x597451=this[_0x225775(0x374)](RangeError,_0x225775(0x33e),!0x0,0x3ea,_0x225775(0x2a3));_0x970e7d(_0x597451);return;}const _0x4fe1b0=(_0x564a65[0x0]&0x40)===0x40;if(_0x4fe1b0&&!this['_extensions'][_0x5ed004[_0x225775(0x321)]]){const _0x5f55ba=this['createError'](RangeError,_0x225775(0x367),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x970e7d(_0x5f55ba);return;}if(this[_0x225775(0x369)]=(_0x564a65[0x0]&0x80)===0x80,this[_0x225775(0x275)]=_0x564a65[0x0]&0xf,this[_0x225775(0x36c)]=_0x564a65[0x1]&0x7f,this[_0x225775(0x275)]===0x0){if(_0x4fe1b0){const _0x1457ee=this[_0x225775(0x374)](RangeError,_0x225775(0x367),!0x0,0x3ea,_0x225775(0x2b7));_0x970e7d(_0x1457ee);return;}if(!this[_0x225775(0x21a)]){const _0xd80461=this[_0x225775(0x374)](RangeError,_0x225775(0x251),!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0xd80461);return;}this[_0x225775(0x275)]=this[_0x225775(0x21a)];}else{if(this[_0x225775(0x275)]===0x1||this[_0x225775(0x275)]===0x2){if(this[_0x225775(0x21a)]){const _0x30a3c6=this['createError'](RangeError,_0x225775(0x30e)+this[_0x225775(0x275)],!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0x30a3c6);return;}this['_compressed']=_0x4fe1b0;}else{if(this['_opcode']>0x7&&this[_0x225775(0x275)]<0xb){if(!this[_0x225775(0x369)]){const _0xa37894=this[_0x225775(0x374)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x225775(0x22c));_0x970e7d(_0xa37894);return;}if(_0x4fe1b0){const _0x1e69c7=this[_0x225775(0x374)](RangeError,_0x225775(0x367),!0x0,0x3ea,_0x225775(0x2b7));_0x970e7d(_0x1e69c7);return;}if(this[_0x225775(0x36c)]>0x7d||this[_0x225775(0x275)]===0x8&&this[_0x225775(0x36c)]===0x1){const _0x3ba475=this[_0x225775(0x374)](RangeError,_0x225775(0x1c7)+this[_0x225775(0x36c)],!0x0,0x3ea,_0x225775(0x345));_0x970e7d(_0x3ba475);return;}}else{const _0x3cc7f4=this['createError'](RangeError,_0x225775(0x30e)+this[_0x225775(0x275)],!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0x3cc7f4);return;}}}if(!this[_0x225775(0x369)]&&!this[_0x225775(0x21a)]&&(this[_0x225775(0x21a)]=this[_0x225775(0x275)]),this[_0x225775(0x20f)]=(_0x564a65[0x1]&0x80)===0x80,this[_0x225775(0x1be)]){if(!this['_masked']){const _0x4cbfbf=this['createError'](RangeError,_0x225775(0x1e4),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x970e7d(_0x4cbfbf);return;}}else{if(this[_0x225775(0x20f)]){const _0x109ec4=this[_0x225775(0x374)](RangeError,_0x225775(0x1fd),!0x0,0x3ea,_0x225775(0x2e2));_0x970e7d(_0x109ec4);return;}}this[_0x225775(0x36c)]===0x7e?this['_state']=_0x3a5665:this[_0x225775(0x36c)]===0x7f?this[_0x225775(0x279)]=_0x281d62:this[_0x225775(0x209)](_0x970e7d);}['getPayloadLength16'](_0x3e2796){const _0x10988c=_0x5b4340;if(this[_0x10988c(0x1e7)]<0x2){this[_0x10988c(0x300)]=!0x1;return;}this[_0x10988c(0x36c)]=this[_0x10988c(0x348)](0x2)[_0x10988c(0x2f1)](0x0),this[_0x10988c(0x209)](_0x3e2796);}['getPayloadLength64'](_0x5cba20){const _0x3f890b=_0x5b4340;if(this[_0x3f890b(0x1e7)]<0x8){this[_0x3f890b(0x300)]=!0x1;return;}const _0x247d16=this[_0x3f890b(0x348)](0x8),_0xcf78ef=_0x247d16[_0x3f890b(0x32e)](0x0);if(_0xcf78ef>Math[_0x3f890b(0x21f)](0x2,0x15)-0x1){const _0x5f4b02=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3f890b(0x2bb));_0x5cba20(_0x5f4b02);return;}this['_payloadLength']=_0xcf78ef*Math[_0x3f890b(0x21f)](0x2,0x20)+_0x247d16[_0x3f890b(0x32e)](0x4),this['haveLength'](_0x5cba20);}[_0x5b4340(0x209)](_0x2df9e5){const _0x553578=_0x5b4340;if(this[_0x553578(0x36c)]&&this['_opcode']<0x8&&(this[_0x553578(0x325)]+=this[_0x553578(0x36c)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x553578(0x1cd)]>0x0)){const _0x1d7bf5=this[_0x553578(0x374)](RangeError,_0x553578(0x200),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2df9e5(_0x1d7bf5);return;}this[_0x553578(0x20f)]?this[_0x553578(0x279)]=_0x53c81b:this['_state']=_0x396409;}['getMask'](){const _0x588695=_0x5b4340;if(this['_bufferedBytes']<0x4){this[_0x588695(0x300)]=!0x1;return;}this[_0x588695(0x202)]=this['consume'](0x4),this[_0x588695(0x279)]=_0x396409;}[_0x5b4340(0x34c)](_0x41efd3){const _0xb5aff4=_0x5b4340;let _0x20a75b=_0x2d935e;if(this[_0xb5aff4(0x36c)]){if(this[_0xb5aff4(0x1e7)]<this[_0xb5aff4(0x36c)]){this[_0xb5aff4(0x300)]=!0x1;return;}_0x20a75b=this[_0xb5aff4(0x348)](this[_0xb5aff4(0x36c)]),this[_0xb5aff4(0x20f)]&&(this[_0xb5aff4(0x202)][0x0]|this[_0xb5aff4(0x202)][0x1]|this[_0xb5aff4(0x202)][0x2]|this[_0xb5aff4(0x202)][0x3])!==0x0&&_0x443c62(_0x20a75b,this['_mask']);}if(this[_0xb5aff4(0x275)]>0x7){this['controlMessage'](_0x20a75b,_0x41efd3);return;}if(this[_0xb5aff4(0x317)]){this['_state']=_0x7fd520,this[_0xb5aff4(0x2bf)](_0x20a75b,_0x41efd3);return;}_0x20a75b[_0xb5aff4(0x227)]&&(this['_messageLength']=this[_0xb5aff4(0x325)],this[_0xb5aff4(0x295)][_0xb5aff4(0x21b)](_0x20a75b)),this[_0xb5aff4(0x363)](_0x41efd3);}[_0x5b4340(0x2bf)](_0x258001,_0x44550d){const _0x1a5e3b=_0x5b4340;this[_0x1a5e3b(0x261)][_0x5ed004[_0x1a5e3b(0x321)]][_0x1a5e3b(0x2bf)](_0x258001,this[_0x1a5e3b(0x369)],(_0x1df02c,_0x3336da)=>{const _0x572d74=_0x1a5e3b;if(_0x1df02c)return _0x44550d(_0x1df02c);if(_0x3336da[_0x572d74(0x227)]){if(this[_0x572d74(0x252)]+=_0x3336da[_0x572d74(0x227)],this['_messageLength']>this[_0x572d74(0x1cd)]&&this[_0x572d74(0x1cd)]>0x0){const _0x391d45=this[_0x572d74(0x374)](RangeError,_0x572d74(0x200),!0x1,0x3f1,_0x572d74(0x370));_0x44550d(_0x391d45);return;}this['_fragments'][_0x572d74(0x21b)](_0x3336da);}this[_0x572d74(0x363)](_0x44550d),this[_0x572d74(0x279)]===_0x34cf3d&&this['startLoop'](_0x44550d);});}[_0x5b4340(0x363)](_0x416a7b){const _0x263c93=_0x5b4340;if(!this[_0x263c93(0x369)]){this[_0x263c93(0x279)]=_0x34cf3d;return;}const _0xcac53d=this[_0x263c93(0x252)],_0x24e81d=this[_0x263c93(0x295)];if(this[_0x263c93(0x325)]=0x0,this[_0x263c93(0x252)]=0x0,this[_0x263c93(0x21a)]=0x0,this[_0x263c93(0x295)]=[],this[_0x263c93(0x275)]===0x2){let _0x1e7ca1;this[_0x263c93(0x26d)]===_0x263c93(0x305)?_0x1e7ca1=_0x4994ab(_0x24e81d,_0xcac53d):this[_0x263c93(0x26d)]===_0x263c93(0x244)?_0x1e7ca1=_0x24fcea(_0x4994ab(_0x24e81d,_0xcac53d)):this['_binaryType']==='blob'?_0x1e7ca1=new Blob(_0x24e81d):_0x1e7ca1=_0x24e81d,this[_0x263c93(0x231)]?(this[_0x263c93(0x1d1)](_0x263c93(0x2d7),_0x1e7ca1,!0x0),this['_state']=_0x34cf3d):(this[_0x263c93(0x279)]=_0x41bf27,setImmediate(()=>{const _0x462a50=_0x263c93;this[_0x462a50(0x1d1)]('message',_0x1e7ca1,!0x0),this['_state']=_0x34cf3d,this[_0x462a50(0x1d4)](_0x416a7b);}));}else{const _0x16cb4f=_0x4994ab(_0x24e81d,_0xcac53d);if(!this[_0x263c93(0x22e)]&&!_0x11e759(_0x16cb4f)){const _0x1fefac=this[_0x263c93(0x374)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x263c93(0x2c3));_0x416a7b(_0x1fefac);return;}this[_0x263c93(0x279)]===_0x7fd520||this[_0x263c93(0x231)]?(this[_0x263c93(0x1d1)](_0x263c93(0x2d7),_0x16cb4f,!0x1),this['_state']=_0x34cf3d):(this[_0x263c93(0x279)]=_0x41bf27,setImmediate(()=>{const _0xa5997a=_0x263c93;this[_0xa5997a(0x1d1)](_0xa5997a(0x2d7),_0x16cb4f,!0x1),this[_0xa5997a(0x279)]=_0x34cf3d,this[_0xa5997a(0x1d4)](_0x416a7b);}));}}[_0x5b4340(0x1ca)](_0x4950a4,_0x458ab6){const _0x16eee2=_0x5b4340;if(this[_0x16eee2(0x275)]===0x8){if(_0x4950a4[_0x16eee2(0x227)]===0x0)this[_0x16eee2(0x300)]=!0x1,this['emit'](_0x16eee2(0x365),0x3ed,_0x2d935e),this[_0x16eee2(0x289)]();else{const _0x15dcf9=_0x4950a4[_0x16eee2(0x2f1)](0x0);if(!_0x83087d(_0x15dcf9)){const _0x2cb606=this[_0x16eee2(0x374)](RangeError,_0x16eee2(0x247)+_0x15dcf9,!0x0,0x3ea,_0x16eee2(0x2c2));_0x458ab6(_0x2cb606);return;}const _0x3e57fd=new _0x57bab5(_0x4950a4[_0x16eee2(0x271)],_0x4950a4[_0x16eee2(0x2a4)]+0x2,_0x4950a4[_0x16eee2(0x227)]-0x2);if(!this[_0x16eee2(0x22e)]&&!_0x11e759(_0x3e57fd)){const _0xd2aaf9=this[_0x16eee2(0x374)](Error,_0x16eee2(0x2df),!0x0,0x3ef,_0x16eee2(0x2c3));_0x458ab6(_0xd2aaf9);return;}this[_0x16eee2(0x300)]=!0x1,this[_0x16eee2(0x1d1)](_0x16eee2(0x365),_0x15dcf9,_0x3e57fd),this['end']();}this['_state']=_0x34cf3d;return;}this['_allowSynchronousEvents']?(this[_0x16eee2(0x1d1)](this[_0x16eee2(0x275)]===0x9?_0x16eee2(0x237):'pong',_0x4950a4),this[_0x16eee2(0x279)]=_0x34cf3d):(this[_0x16eee2(0x279)]=_0x41bf27,setImmediate(()=>{const _0x32b98b=_0x16eee2;this[_0x32b98b(0x1d1)](this[_0x32b98b(0x275)]===0x9?_0x32b98b(0x237):_0x32b98b(0x269),_0x4950a4),this[_0x32b98b(0x279)]=_0x34cf3d,this[_0x32b98b(0x1d4)](_0x458ab6);}));}[_0x5b4340(0x374)](_0x8b147c,_0xe77b14,_0x791ab5,_0xdbef69,_0x126d34){const _0x279aff=_0x5b4340;this[_0x279aff(0x300)]=!0x1,this[_0x279aff(0x24f)]=!0x0;const _0x3b6705=new _0x8b147c(_0x791ab5?'Invalid\x20WebSocket\x20frame:\x20'+_0xe77b14:_0xe77b14);return Error[_0x279aff(0x34e)](_0x3b6705,this[_0x279aff(0x374)]),_0x3b6705[_0x279aff(0x1e5)]=_0x126d34,_0x3b6705[_0x517b7d]=_0xdbef69,_0x3b6705;}}return Se=_0x47d56a,Se;}var Ee,Xe;function ft(){const _0x29bd3e=_0x572ec8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x390cd2}=oe,{randomFillSync:_0x5e1ac4}=Le,_0x261bd4=he(),{EMPTY_BUFFER:_0x514707,kWebSocket:_0x32e481,NOOP:_0x3b97a1}=H(),{isBlob:_0x232752,isValidStatusCode:_0x923a8d}=ae(),{mask:_0x84f742,toBuffer:_0x45c834}=ce(),_0x485a09=Symbol(_0x29bd3e(0x383)),_0x169353=Buffer[_0x29bd3e(0x1c2)](0x4),_0x150bd4=0x8*0x400;let _0x29952c,_0xbd6eab=_0x150bd4;const _0x456c51=0x0,_0x3081c4=0x1,_0x398bd8=0x2;class _0x184478{constructor(_0x2fe24b,_0x2d4953,_0x3cfbd9){const _0x2f70ad=_0x29bd3e;this['_extensions']=_0x2d4953||{},_0x3cfbd9&&(this[_0x2f70ad(0x355)]=_0x3cfbd9,this['_maskBuffer']=Buffer[_0x2f70ad(0x1c2)](0x4)),this[_0x2f70ad(0x1cb)]=_0x2fe24b,this[_0x2f70ad(0x309)]=!0x0,this[_0x2f70ad(0x358)]=!0x1,this[_0x2f70ad(0x1e7)]=0x0,this[_0x2f70ad(0x339)]=[],this[_0x2f70ad(0x279)]=_0x456c51,this[_0x2f70ad(0x1d5)]=_0x3b97a1,this[_0x32e481]=void 0x0;}static[_0x29bd3e(0x324)](_0x3c69ca,_0x1eb3d7){const _0x711a1d=_0x29bd3e;let _0x5a548e,_0x270af9=!0x1,_0x212c39=0x2,_0x9f1630=!0x1;_0x1eb3d7[_0x711a1d(0x20b)]&&(_0x5a548e=_0x1eb3d7[_0x711a1d(0x1c5)]||_0x169353,_0x1eb3d7[_0x711a1d(0x35a)]?_0x1eb3d7[_0x711a1d(0x35a)](_0x5a548e):(_0xbd6eab===_0x150bd4&&(_0x29952c===void 0x0&&(_0x29952c=Buffer[_0x711a1d(0x1c2)](_0x150bd4)),_0x5e1ac4(_0x29952c,0x0,_0x150bd4),_0xbd6eab=0x0),_0x5a548e[0x0]=_0x29952c[_0xbd6eab++],_0x5a548e[0x1]=_0x29952c[_0xbd6eab++],_0x5a548e[0x2]=_0x29952c[_0xbd6eab++],_0x5a548e[0x3]=_0x29952c[_0xbd6eab++]),_0x9f1630=(_0x5a548e[0x0]|_0x5a548e[0x1]|_0x5a548e[0x2]|_0x5a548e[0x3])===0x0,_0x212c39=0x6);let _0x494b28;typeof _0x3c69ca==_0x711a1d(0x2b9)?(!_0x1eb3d7[_0x711a1d(0x20b)]||_0x9f1630)&&_0x1eb3d7[_0x485a09]!==void 0x0?_0x494b28=_0x1eb3d7[_0x485a09]:(_0x3c69ca=Buffer['from'](_0x3c69ca),_0x494b28=_0x3c69ca[_0x711a1d(0x227)]):(_0x494b28=_0x3c69ca['length'],_0x270af9=_0x1eb3d7[_0x711a1d(0x20b)]&&_0x1eb3d7[_0x711a1d(0x259)]&&!_0x9f1630);let _0x5e0036=_0x494b28;_0x494b28>=0x10000?(_0x212c39+=0x8,_0x5e0036=0x7f):_0x494b28>0x7d&&(_0x212c39+=0x2,_0x5e0036=0x7e);const _0x55a266=Buffer[_0x711a1d(0x24b)](_0x270af9?_0x494b28+_0x212c39:_0x212c39);return _0x55a266[0x0]=_0x1eb3d7[_0x711a1d(0x1eb)]?_0x1eb3d7[_0x711a1d(0x2ec)]|0x80:_0x1eb3d7['opcode'],_0x1eb3d7[_0x711a1d(0x1c4)]&&(_0x55a266[0x0]|=0x40),_0x55a266[0x1]=_0x5e0036,_0x5e0036===0x7e?_0x55a266['writeUInt16BE'](_0x494b28,0x2):_0x5e0036===0x7f&&(_0x55a266[0x2]=_0x55a266[0x3]=0x0,_0x55a266[_0x711a1d(0x2c7)](_0x494b28,0x4,0x6)),_0x1eb3d7[_0x711a1d(0x20b)]?(_0x55a266[0x1]|=0x80,_0x55a266[_0x212c39-0x4]=_0x5a548e[0x0],_0x55a266[_0x212c39-0x3]=_0x5a548e[0x1],_0x55a266[_0x212c39-0x2]=_0x5a548e[0x2],_0x55a266[_0x212c39-0x1]=_0x5a548e[0x3],_0x9f1630?[_0x55a266,_0x3c69ca]:_0x270af9?(_0x84f742(_0x3c69ca,_0x5a548e,_0x55a266,_0x212c39,_0x494b28),[_0x55a266]):(_0x84f742(_0x3c69ca,_0x5a548e,_0x3c69ca,0x0,_0x494b28),[_0x55a266,_0x3c69ca])):[_0x55a266,_0x3c69ca];}[_0x29bd3e(0x2c0)](_0x1be5ac,_0x31207d,_0x3da86f,_0xd7dc86){const _0x14f9d6=_0x29bd3e;let _0x4f2571;if(_0x1be5ac===void 0x0)_0x4f2571=_0x514707;else{if(typeof _0x1be5ac!=_0x14f9d6(0x214)||!_0x923a8d(_0x1be5ac))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x31207d===void 0x0||!_0x31207d[_0x14f9d6(0x227)])_0x4f2571=Buffer[_0x14f9d6(0x24b)](0x2),_0x4f2571['writeUInt16BE'](_0x1be5ac,0x0);else{const _0x13eb38=Buffer[_0x14f9d6(0x1c8)](_0x31207d);if(_0x13eb38>0x7b)throw new RangeError(_0x14f9d6(0x331));_0x4f2571=Buffer[_0x14f9d6(0x24b)](0x2+_0x13eb38),_0x4f2571['writeUInt16BE'](_0x1be5ac,0x0),typeof _0x31207d==_0x14f9d6(0x2b9)?_0x4f2571[_0x14f9d6(0x2d3)](_0x31207d,0x2):_0x4f2571[_0x14f9d6(0x341)](_0x31207d,0x2);}}const _0x552ce8={[_0x485a09]:_0x4f2571[_0x14f9d6(0x227)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3da86f,'maskBuffer':this[_0x14f9d6(0x280)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x456c51?this['enqueue']([this[_0x14f9d6(0x223)],_0x4f2571,!0x1,_0x552ce8,_0xd7dc86]):this[_0x14f9d6(0x2ca)](_0x184478[_0x14f9d6(0x324)](_0x4f2571,_0x552ce8),_0xd7dc86);}[_0x29bd3e(0x237)](_0x584798,_0x5b4a54,_0x167717){const _0x32ebcc=_0x29bd3e;let _0x574f62,_0x17f2e9;if(typeof _0x584798==_0x32ebcc(0x2b9)?(_0x574f62=Buffer[_0x32ebcc(0x1c8)](_0x584798),_0x17f2e9=!0x1):_0x232752(_0x584798)?(_0x574f62=_0x584798['size'],_0x17f2e9=!0x1):(_0x584798=_0x45c834(_0x584798),_0x574f62=_0x584798['length'],_0x17f2e9=_0x45c834[_0x32ebcc(0x259)]),_0x574f62>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1cbd65={[_0x485a09]:_0x574f62,'fin':!0x0,'generateMask':this[_0x32ebcc(0x355)],'mask':_0x5b4a54,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x17f2e9,'rsv1':!0x1};_0x232752(_0x584798)?this[_0x32ebcc(0x279)]!==_0x456c51?this[_0x32ebcc(0x1fc)]([this[_0x32ebcc(0x274)],_0x584798,!0x1,_0x1cbd65,_0x167717]):this[_0x32ebcc(0x274)](_0x584798,!0x1,_0x1cbd65,_0x167717):this['_state']!==_0x456c51?this[_0x32ebcc(0x1fc)]([this[_0x32ebcc(0x223)],_0x584798,!0x1,_0x1cbd65,_0x167717]):this[_0x32ebcc(0x2ca)](_0x184478[_0x32ebcc(0x324)](_0x584798,_0x1cbd65),_0x167717);}[_0x29bd3e(0x269)](_0x239460,_0x155ab9,_0xa3ec14){const _0x10bfad=_0x29bd3e;let _0x55cd18,_0xffa234;if(typeof _0x239460=='string'?(_0x55cd18=Buffer[_0x10bfad(0x1c8)](_0x239460),_0xffa234=!0x1):_0x232752(_0x239460)?(_0x55cd18=_0x239460['size'],_0xffa234=!0x1):(_0x239460=_0x45c834(_0x239460),_0x55cd18=_0x239460[_0x10bfad(0x227)],_0xffa234=_0x45c834[_0x10bfad(0x259)]),_0x55cd18>0x7d)throw new RangeError(_0x10bfad(0x1db));const _0x3fbfb9={[_0x485a09]:_0x55cd18,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x155ab9,'maskBuffer':this[_0x10bfad(0x280)],'opcode':0xa,'readOnly':_0xffa234,'rsv1':!0x1};_0x232752(_0x239460)?this['_state']!==_0x456c51?this[_0x10bfad(0x1fc)]([this[_0x10bfad(0x274)],_0x239460,!0x1,_0x3fbfb9,_0xa3ec14]):this[_0x10bfad(0x274)](_0x239460,!0x1,_0x3fbfb9,_0xa3ec14):this[_0x10bfad(0x279)]!==_0x456c51?this['enqueue']([this[_0x10bfad(0x223)],_0x239460,!0x1,_0x3fbfb9,_0xa3ec14]):this['sendFrame'](_0x184478[_0x10bfad(0x324)](_0x239460,_0x3fbfb9),_0xa3ec14);}[_0x29bd3e(0x360)](_0x4d5ac1,_0x2419c7,_0x1a8c70){const _0x13c01a=_0x29bd3e,_0x2d7f06=this['_extensions'][_0x261bd4['extensionName']];let _0x3c0654=_0x2419c7[_0x13c01a(0x230)]?0x2:0x1,_0x1b8c6c=_0x2419c7['compress'],_0x2a09f4,_0x117b0c;typeof _0x4d5ac1==_0x13c01a(0x2b9)?(_0x2a09f4=Buffer[_0x13c01a(0x1c8)](_0x4d5ac1),_0x117b0c=!0x1):_0x232752(_0x4d5ac1)?(_0x2a09f4=_0x4d5ac1[_0x13c01a(0x2ef)],_0x117b0c=!0x1):(_0x4d5ac1=_0x45c834(_0x4d5ac1),_0x2a09f4=_0x4d5ac1[_0x13c01a(0x227)],_0x117b0c=_0x45c834['readOnly']),this[_0x13c01a(0x309)]?(this[_0x13c01a(0x309)]=!0x1,_0x1b8c6c&&_0x2d7f06&&_0x2d7f06[_0x13c01a(0x291)][_0x2d7f06['_isServer']?_0x13c01a(0x2eb):_0x13c01a(0x287)]&&(_0x1b8c6c=_0x2a09f4>=_0x2d7f06[_0x13c01a(0x2c5)]),this[_0x13c01a(0x358)]=_0x1b8c6c):(_0x1b8c6c=!0x1,_0x3c0654=0x0),_0x2419c7['fin']&&(this['_firstFragment']=!0x0);const _0xc40c1d={[_0x485a09]:_0x2a09f4,'fin':_0x2419c7[_0x13c01a(0x1eb)],'generateMask':this['_generateMask'],'mask':_0x2419c7[_0x13c01a(0x20b)],'maskBuffer':this[_0x13c01a(0x280)],'opcode':_0x3c0654,'readOnly':_0x117b0c,'rsv1':_0x1b8c6c};_0x232752(_0x4d5ac1)?this[_0x13c01a(0x279)]!==_0x456c51?this[_0x13c01a(0x1fc)]([this['getBlobData'],_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70]):this[_0x13c01a(0x274)](_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70):this['_state']!==_0x456c51?this[_0x13c01a(0x1fc)]([this['dispatch'],_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70]):this['dispatch'](_0x4d5ac1,this['_compress'],_0xc40c1d,_0x1a8c70);}[_0x29bd3e(0x274)](_0x2c069f,_0x7ac952,_0xd35aed,_0x32b665){const _0x35b926=_0x29bd3e;this[_0x35b926(0x1e7)]+=_0xd35aed[_0x485a09],this[_0x35b926(0x279)]=_0x398bd8,_0x2c069f[_0x35b926(0x34d)]()['then'](_0x25ff90=>{const _0x33cf94=_0x35b926;if(this[_0x33cf94(0x1cb)][_0x33cf94(0x26a)]){const _0xc622f0=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0xef62d,this,_0xc622f0,_0x32b665);return;}this[_0x33cf94(0x1e7)]-=_0xd35aed[_0x485a09];const _0x302a6d=_0x45c834(_0x25ff90);_0x7ac952?this[_0x33cf94(0x223)](_0x302a6d,_0x7ac952,_0xd35aed,_0x32b665):(this[_0x33cf94(0x279)]=_0x456c51,this[_0x33cf94(0x2ca)](_0x184478[_0x33cf94(0x324)](_0x302a6d,_0xd35aed),_0x32b665),this[_0x33cf94(0x204)]());})[_0x35b926(0x371)](_0x4756cc=>{process['nextTick'](_0x2c791a,this,_0x4756cc,_0x32b665);});}[_0x29bd3e(0x223)](_0xb27bb9,_0x2dee93,_0x249ae2,_0x797ffc){const _0x2030fc=_0x29bd3e;if(!_0x2dee93){this[_0x2030fc(0x2ca)](_0x184478[_0x2030fc(0x324)](_0xb27bb9,_0x249ae2),_0x797ffc);return;}const _0x804ff7=this[_0x2030fc(0x261)][_0x261bd4[_0x2030fc(0x321)]];this[_0x2030fc(0x1e7)]+=_0x249ae2[_0x485a09],this[_0x2030fc(0x279)]=_0x3081c4,_0x804ff7['compress'](_0xb27bb9,_0x249ae2[_0x2030fc(0x1eb)],(_0x4a598b,_0x1ef993)=>{const _0xb7c462=_0x2030fc;if(this['_socket'][_0xb7c462(0x26a)]){const _0x459e70=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xef62d(this,_0x459e70,_0x797ffc);return;}this[_0xb7c462(0x1e7)]-=_0x249ae2[_0x485a09],this[_0xb7c462(0x279)]=_0x456c51,_0x249ae2[_0xb7c462(0x259)]=!0x1,this[_0xb7c462(0x2ca)](_0x184478['frame'](_0x1ef993,_0x249ae2),_0x797ffc),this[_0xb7c462(0x204)]();});}[_0x29bd3e(0x204)](){const _0x250960=_0x29bd3e;for(;this[_0x250960(0x279)]===_0x456c51&&this[_0x250960(0x339)][_0x250960(0x227)];){const _0x594a34=this['_queue'][_0x250960(0x1cf)]();this[_0x250960(0x1e7)]-=_0x594a34[0x3][_0x485a09],Reflect[_0x250960(0x1f4)](_0x594a34[0x0],this,_0x594a34[_0x250960(0x1ea)](0x1));}}['enqueue'](_0x1cf75e){const _0xb9531d=_0x29bd3e;this[_0xb9531d(0x1e7)]+=_0x1cf75e[0x3][_0x485a09],this[_0xb9531d(0x339)]['push'](_0x1cf75e);}[_0x29bd3e(0x2ca)](_0x3eff39,_0xce7c91){const _0x4ef2d0=_0x29bd3e;_0x3eff39['length']===0x2?(this['_socket'][_0x4ef2d0(0x349)](),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x2d3)](_0x3eff39[0x0]),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x2d3)](_0x3eff39[0x1],_0xce7c91),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x262)]()):this['_socket']['write'](_0x3eff39[0x0],_0xce7c91);}}Ee=_0x184478;function _0xef62d(_0x36f335,_0x442b8c,_0x57774c){const _0x255736=_0x29bd3e;typeof _0x57774c==_0x255736(0x29b)&&_0x57774c(_0x442b8c);for(let _0x4c9fd0=0x0;_0x4c9fd0<_0x36f335[_0x255736(0x339)][_0x255736(0x227)];_0x4c9fd0++){const _0x507967=_0x36f335[_0x255736(0x339)][_0x4c9fd0],_0x51f035=_0x507967[_0x507967['length']-0x1];typeof _0x51f035==_0x255736(0x29b)&&_0x51f035(_0x442b8c);}}function _0x2c791a(_0x5dfe35,_0x1c88b6,_0x2b948d){const _0x341dcd=_0x29bd3e;_0xef62d(_0x5dfe35,_0x1c88b6,_0x2b948d),_0x5dfe35[_0x341dcd(0x1d5)](_0x1c88b6);}return Ee;}var xe,Ze;function It(){const _0x1be97b=_0x572ec8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x39ac23,kListener:_0x2b2ad7}=H(),_0x4de6d3=Symbol(_0x1be97b(0x307)),_0xde823a=Symbol(_0x1be97b(0x2f0)),_0x18d655=Symbol(_0x1be97b(0x1d9)),_0x5bc6c1=Symbol(_0x1be97b(0x1cc)),_0xd01f53=Symbol('kReason'),_0x35654e=Symbol(_0x1be97b(0x35b)),_0x5cf9ba=Symbol(_0x1be97b(0x2c9)),_0x2b523b=Symbol('kWasClean');class _0x37d3a6{constructor(_0x2544aa){this[_0x35654e]=null,this[_0x5cf9ba]=_0x2544aa;}get['target'](){return this[_0x35654e];}get['type'](){return this[_0x5cf9ba];}}Object['defineProperty'](_0x37d3a6[_0x1be97b(0x364)],_0x1be97b(0x245),{'enumerable':!0x0}),Object[_0x1be97b(0x2b8)](_0x37d3a6[_0x1be97b(0x364)],_0x1be97b(0x338),{'enumerable':!0x0});class _0x1daf98 extends _0x37d3a6{constructor(_0x2e4cce,_0x319f31={}){const _0x452eb0=_0x1be97b;super(_0x2e4cce),this[_0x4de6d3]=_0x319f31[_0x452eb0(0x1e5)]===void 0x0?0x0:_0x319f31[_0x452eb0(0x1e5)],this[_0xd01f53]=_0x319f31[_0x452eb0(0x1de)]===void 0x0?'':_0x319f31[_0x452eb0(0x1de)],this[_0x2b523b]=_0x319f31[_0x452eb0(0x1d7)]===void 0x0?!0x1:_0x319f31['wasClean'];}get[_0x1be97b(0x1e5)](){return this[_0x4de6d3];}get[_0x1be97b(0x1de)](){return this[_0xd01f53];}get[_0x1be97b(0x1d7)](){return this[_0x2b523b];}}Object[_0x1be97b(0x2b8)](_0x1daf98['prototype'],_0x1be97b(0x1e5),{'enumerable':!0x0}),Object[_0x1be97b(0x2b8)](_0x1daf98[_0x1be97b(0x364)],_0x1be97b(0x1de),{'enumerable':!0x0}),Object['defineProperty'](_0x1daf98[_0x1be97b(0x364)],_0x1be97b(0x1d7),{'enumerable':!0x0});class _0x5b97a1 extends _0x37d3a6{constructor(_0x25a66c,_0x79ffb4={}){const _0x5a0c2e=_0x1be97b;super(_0x25a66c),this[_0x18d655]=_0x79ffb4[_0x5a0c2e(0x26b)]===void 0x0?null:_0x79ffb4[_0x5a0c2e(0x26b)],this[_0x5bc6c1]=_0x79ffb4[_0x5a0c2e(0x2d7)]===void 0x0?'':_0x79ffb4[_0x5a0c2e(0x2d7)];}get[_0x1be97b(0x26b)](){return this[_0x18d655];}get[_0x1be97b(0x2d7)](){return this[_0x5bc6c1];}}Object[_0x1be97b(0x2b8)](_0x5b97a1[_0x1be97b(0x364)],_0x1be97b(0x26b),{'enumerable':!0x0}),Object['defineProperty'](_0x5b97a1['prototype'],_0x1be97b(0x2d7),{'enumerable':!0x0});class _0x5d36f9 extends _0x37d3a6{constructor(_0x5a4574,_0x215cb2={}){const _0x8689c1=_0x1be97b;super(_0x5a4574),this[_0xde823a]=_0x215cb2[_0x8689c1(0x243)]===void 0x0?null:_0x215cb2[_0x8689c1(0x243)];}get[_0x1be97b(0x243)](){return this[_0xde823a];}}Object[_0x1be97b(0x2b8)](_0x5d36f9[_0x1be97b(0x364)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1daf98,'ErrorEvent':_0x5b97a1,'Event':_0x37d3a6,'EventTarget':{'addEventListener'(_0x7bf83d,_0x23024f,_0x56e24e={}){const _0x27ad5d=_0x1be97b;for(const _0xd238b6 of this[_0x27ad5d(0x2ce)](_0x7bf83d))if(!_0x56e24e[_0x39ac23]&&_0xd238b6[_0x2b2ad7]===_0x23024f&&!_0xd238b6[_0x39ac23])return;let _0xcaee19;if(_0x7bf83d===_0x27ad5d(0x2d7))_0xcaee19=function(_0x1aae7c,_0x14065f){const _0x4082b3=_0x27ad5d,_0x48c44f=new _0x5d36f9('message',{'data':_0x14065f?_0x1aae7c:_0x1aae7c[_0x4082b3(0x2e7)]()});_0x48c44f[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x48c44f);};else{if(_0x7bf83d==='close')_0xcaee19=function(_0x3b00df,_0x273b97){const _0xdd7d1b=_0x27ad5d,_0x552a1a=new _0x1daf98(_0xdd7d1b(0x2c0),{'code':_0x3b00df,'reason':_0x273b97[_0xdd7d1b(0x2e7)](),'wasClean':this[_0xdd7d1b(0x1f0)]&&this['_closeFrameSent']});_0x552a1a[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x552a1a);};else{if(_0x7bf83d===_0x27ad5d(0x26b))_0xcaee19=function(_0x2e0106){const _0x263ab4=_0x27ad5d,_0x1117a2=new _0x5b97a1('error',{'error':_0x2e0106,'message':_0x2e0106[_0x263ab4(0x2d7)]});_0x1117a2[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x1117a2);};else{if(_0x7bf83d===_0x27ad5d(0x24c))_0xcaee19=function(){const _0x3d5bbc=_0x27ad5d,_0x109a48=new _0x37d3a6(_0x3d5bbc(0x24c));_0x109a48[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x109a48);};else return;}}}_0xcaee19[_0x39ac23]=!!_0x56e24e[_0x39ac23],_0xcaee19[_0x2b2ad7]=_0x23024f,_0x56e24e[_0x27ad5d(0x1ed)]?this[_0x27ad5d(0x1ed)](_0x7bf83d,_0xcaee19):this['on'](_0x7bf83d,_0xcaee19);},'removeEventListener'(_0x46cb45,_0x20c9da){const _0x2c5d97=_0x1be97b;for(const _0x50e7e7 of this['listeners'](_0x46cb45))if(_0x50e7e7[_0x2b2ad7]===_0x20c9da&&!_0x50e7e7[_0x39ac23]){this[_0x2c5d97(0x33b)](_0x46cb45,_0x50e7e7);break;}}},'MessageEvent':_0x5d36f9};function _0x4b0ffa(_0x28f9a7,_0x4f4bb3,_0x129b04){const _0x52a358=_0x1be97b;typeof _0x28f9a7=='object'&&_0x28f9a7['handleEvent']?_0x28f9a7['handleEvent'][_0x52a358(0x37b)](_0x28f9a7,_0x129b04):_0x28f9a7[_0x52a358(0x37b)](_0x4f4bb3,_0x129b04);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2542dd}=ae();function _0x160337(_0x178149,_0x4d7c4b,_0x256e64){_0x178149[_0x4d7c4b]===void 0x0?_0x178149[_0x4d7c4b]=[_0x256e64]:_0x178149[_0x4d7c4b]['push'](_0x256e64);}function _0x11c8a2(_0x522b4d){const _0xbe9750=_0x480a,_0x263f70=Object[_0xbe9750(0x28d)](null);let _0x259aa6=Object['create'](null),_0x43973b=!0x1,_0x1a4994=!0x1,_0x43a768=!0x1,_0x44deab,_0x9fabf5,_0x159487=-0x1,_0xe4e430=-0x1,_0x3da597=-0x1,_0x58dcee=0x0;for(;_0x58dcee<_0x522b4d[_0xbe9750(0x227)];_0x58dcee++)if(_0xe4e430=_0x522b4d[_0xbe9750(0x380)](_0x58dcee),_0x44deab===void 0x0){if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0x58dcee!==0x0&&(_0xe4e430===0x20||_0xe4e430===0x9))_0x3da597===-0x1&&_0x159487!==-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee);const _0xde5cb1=_0x522b4d['slice'](_0x159487,_0x3da597);_0xe4e430===0x2c?(_0x160337(_0x263f70,_0xde5cb1,_0x259aa6),_0x259aa6=Object[_0xbe9750(0x28d)](null)):_0x44deab=_0xde5cb1,_0x159487=_0x3da597=-0x1;}else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}else{if(_0x9fabf5===void 0x0){if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0xe4e430===0x20||_0xe4e430===0x9)_0x3da597===-0x1&&_0x159487!==-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee),_0x160337(_0x259aa6,_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597),!0x0),_0xe4e430===0x2c&&(_0x160337(_0x263f70,_0x44deab,_0x259aa6),_0x259aa6=Object['create'](null),_0x44deab=void 0x0),_0x159487=_0x3da597=-0x1;}else{if(_0xe4e430===0x3d&&_0x159487!==-0x1&&_0x3da597===-0x1)_0x9fabf5=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x58dcee),_0x159487=_0x3da597=-0x1;else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}}else{if(_0x1a4994){if(_0x2542dd[_0xe4e430]!==0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x159487===-0x1?_0x159487=_0x58dcee:_0x43973b||(_0x43973b=!0x0),_0x1a4994=!0x1;}else{if(_0x43a768){if(_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0xe4e430===0x22&&_0x159487!==-0x1)_0x43a768=!0x1,_0x3da597=_0x58dcee;else{if(_0xe4e430===0x5c)_0x1a4994=!0x0;else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}else{if(_0xe4e430===0x22&&_0x522b4d['charCodeAt'](_0x58dcee-0x1)===0x3d)_0x43a768=!0x0;else{if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0x159487!==-0x1&&(_0xe4e430===0x20||_0xe4e430===0x9))_0x3da597===-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee);let _0x4e95c5=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597);_0x43973b&&(_0x4e95c5=_0x4e95c5[_0xbe9750(0x37a)](/\\/g,''),_0x43973b=!0x1),_0x160337(_0x259aa6,_0x9fabf5,_0x4e95c5),_0xe4e430===0x2c&&(_0x160337(_0x263f70,_0x44deab,_0x259aa6),_0x259aa6=Object[_0xbe9750(0x28d)](null),_0x44deab=void 0x0),_0x9fabf5=void 0x0,_0x159487=_0x3da597=-0x1;}else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}}}}}if(_0x159487===-0x1||_0x43a768||_0xe4e430===0x20||_0xe4e430===0x9)throw new SyntaxError(_0xbe9750(0x326));_0x3da597===-0x1&&(_0x3da597=_0x58dcee);const _0x195795=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597);return _0x44deab===void 0x0?_0x160337(_0x263f70,_0x195795,_0x259aa6):(_0x9fabf5===void 0x0?_0x160337(_0x259aa6,_0x195795,!0x0):_0x43973b?_0x160337(_0x259aa6,_0x9fabf5,_0x195795[_0xbe9750(0x37a)](/\\/g,'')):_0x160337(_0x259aa6,_0x9fabf5,_0x195795),_0x160337(_0x263f70,_0x44deab,_0x259aa6)),_0x263f70;}function _0x326aa7(_0xd0a7e1){const _0x3f59d0=_0x480a;return Object[_0x3f59d0(0x37d)](_0xd0a7e1)['map'](_0x16f95f=>{const _0x41cf3b=_0x3f59d0;let _0x1683ff=_0xd0a7e1[_0x16f95f];return Array['isArray'](_0x1683ff)||(_0x1683ff=[_0x1683ff]),_0x1683ff[_0x41cf3b(0x329)](_0x4292b9=>[_0x16f95f]['concat'](Object[_0x41cf3b(0x37d)](_0x4292b9)[_0x41cf3b(0x329)](_0x5e348e=>{const _0x5843f9=_0x41cf3b;let _0x57ad6d=_0x4292b9[_0x5e348e];return Array[_0x5843f9(0x21e)](_0x57ad6d)||(_0x57ad6d=[_0x57ad6d]),_0x57ad6d['map'](_0x3cbf2c=>_0x3cbf2c===!0x0?_0x5e348e:_0x5e348e+'='+_0x3cbf2c)[_0x5843f9(0x232)](';\x20');}))[_0x41cf3b(0x232)](';\x20'))[_0x41cf3b(0x232)](',\x20');})[_0x3f59d0(0x232)](',\x20');}return be={'format':_0x326aa7,'parse':_0x11c8a2},be;}var we,Je;function Pe(){const _0x4e98b7=_0x572ec8;if(Je)return we;Je=0x1;const _0x474702=nt,_0x342b22=vt,_0x35cb16=ot,_0xd86e9f=St,_0x1b5448=Et,{randomBytes:_0x1798a1,createHash:_0x16b41f}=Le,{Duplex:_0x193560,Readable:_0x50d1d5}=oe,{URL:_0x3c3daa}=xt,_0x2ff4e4=he(),_0x3f1c4b=lt(),_0xfec125=ft(),{isBlob:_0x182bdc}=ae(),{BINARY_TYPES:_0x554242,EMPTY_BUFFER:_0x4d6e0b,GUID:_0x26da35,kForOnEventAttribute:_0x54a3dc,kListener:_0x22c576,kStatusCode:_0x97a0f0,kWebSocket:_0x81675b,NOOP:_0x474548}=H(),{EventTarget:{addEventListener:_0x9af6c8,removeEventListener:_0x8f8b73}}=It(),{format:_0x103b15,parse:_0x48d5d6}=ct(),{toBuffer:_0x168dd9}=ce(),_0x3b7df3=0x1e*0x3e8,_0x40b71e=Symbol(_0x4e98b7(0x21d)),_0x361c88=[0x8,0xd],_0x27d2b6=[_0x4e98b7(0x2cb),_0x4e98b7(0x26c),_0x4e98b7(0x35c),_0x4e98b7(0x234)],_0x1cf105=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x41c1c6 extends _0x474702{constructor(_0x473874,_0x5679b5,_0xb4efa3){const _0x3d6473=_0x4e98b7;super(),this['_binaryType']=_0x554242[0x0],this[_0x3d6473(0x31f)]=0x3ee,this[_0x3d6473(0x1f0)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3d6473(0x1d8)]=_0x4d6e0b,this[_0x3d6473(0x23a)]=null,this[_0x3d6473(0x25f)]=!0x1,this[_0x3d6473(0x261)]={},this[_0x3d6473(0x25e)]=!0x1,this['_protocol']='',this[_0x3d6473(0x249)]=_0x41c1c6['CONNECTING'],this[_0x3d6473(0x2ee)]=null,this[_0x3d6473(0x253)]=null,this[_0x3d6473(0x1cb)]=null,_0x473874!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3d6473(0x255)]=0x0,_0x5679b5===void 0x0?_0x5679b5=[]:Array[_0x3d6473(0x21e)](_0x5679b5)||(typeof _0x5679b5=='object'&&_0x5679b5!==null?(_0xb4efa3=_0x5679b5,_0x5679b5=[]):_0x5679b5=[_0x5679b5]),_0x4e2730(this,_0x473874,_0x5679b5,_0xb4efa3)):(this[_0x3d6473(0x258)]=_0xb4efa3['autoPong'],this[_0x3d6473(0x1be)]=!0x0);}get[_0x4e98b7(0x2d8)](){const _0x55c356=_0x4e98b7;return this[_0x55c356(0x26d)];}set[_0x4e98b7(0x2d8)](_0x3740d6){const _0xbcbdac=_0x4e98b7;_0x554242['includes'](_0x3740d6)&&(this[_0xbcbdac(0x26d)]=_0x3740d6,this['_receiver']&&(this[_0xbcbdac(0x2ee)][_0xbcbdac(0x26d)]=_0x3740d6));}get[_0x4e98b7(0x382)](){const _0x48a2e3=_0x4e98b7;return this['_socket']?this[_0x48a2e3(0x1cb)][_0x48a2e3(0x37e)][_0x48a2e3(0x227)]+this[_0x48a2e3(0x253)][_0x48a2e3(0x1e7)]:this[_0x48a2e3(0x2a2)];}get[_0x4e98b7(0x2a1)](){const _0x2daa39=_0x4e98b7;return Object[_0x2daa39(0x37d)](this[_0x2daa39(0x261)])[_0x2daa39(0x232)]();}get[_0x4e98b7(0x366)](){return this['_paused'];}get['onclose'](){return null;}get[_0x4e98b7(0x1d5)](){return null;}get[_0x4e98b7(0x201)](){return null;}get[_0x4e98b7(0x1dd)](){return null;}get[_0x4e98b7(0x378)](){const _0x295290=_0x4e98b7;return this[_0x295290(0x22d)];}get[_0x4e98b7(0x2cf)](){const _0x2c9da4=_0x4e98b7;return this[_0x2c9da4(0x249)];}get['url'](){const _0x5b339e=_0x4e98b7;return this[_0x5b339e(0x225)];}[_0x4e98b7(0x36a)](_0x1e1ef8,_0x3fe1d5,_0x52978f){const _0x481cef=_0x4e98b7,_0x3bea2b=new _0x3f1c4b({'allowSynchronousEvents':_0x52978f[_0x481cef(0x27c)],'binaryType':this[_0x481cef(0x2d8)],'extensions':this[_0x481cef(0x261)],'isServer':this[_0x481cef(0x1be)],'maxPayload':_0x52978f[_0x481cef(0x2d4)],'skipUTF8Validation':_0x52978f[_0x481cef(0x1bd)]}),_0x3dbae3=new _0xfec125(_0x1e1ef8,this[_0x481cef(0x261)],_0x52978f[_0x481cef(0x35a)]);this[_0x481cef(0x2ee)]=_0x3bea2b,this[_0x481cef(0x253)]=_0x3dbae3,this['_socket']=_0x1e1ef8,_0x3bea2b[_0x81675b]=this,_0x3dbae3[_0x81675b]=this,_0x1e1ef8[_0x81675b]=this,_0x3bea2b['on'](_0x481cef(0x365),_0x445378),_0x3bea2b['on'](_0x481cef(0x268),_0x57aa59),_0x3bea2b['on']('error',_0x39a8f4),_0x3bea2b['on'](_0x481cef(0x2d7),_0x563354),_0x3bea2b['on'](_0x481cef(0x237),_0x1723bd),_0x3bea2b['on'](_0x481cef(0x269),_0x553347),_0x3dbae3[_0x481cef(0x1d5)]=_0x8619bc,_0x1e1ef8['setTimeout']&&_0x1e1ef8[_0x481cef(0x2e8)](0x0),_0x1e1ef8[_0x481cef(0x270)]&&_0x1e1ef8[_0x481cef(0x270)](),_0x3fe1d5[_0x481cef(0x227)]>0x0&&_0x1e1ef8[_0x481cef(0x228)](_0x3fe1d5),_0x1e1ef8['on'](_0x481cef(0x2c0),_0x214f07),_0x1e1ef8['on'](_0x481cef(0x243),_0x469410),_0x1e1ef8['on'](_0x481cef(0x289),_0x1cf8ea),_0x1e1ef8['on'](_0x481cef(0x26b),_0x20dc91),this[_0x481cef(0x249)]=_0x41c1c6[_0x481cef(0x26c)],this[_0x481cef(0x1d1)](_0x481cef(0x24c));}['emitClose'](){const _0x21ecf8=_0x4e98b7;if(!this[_0x21ecf8(0x1cb)]){this[_0x21ecf8(0x249)]=_0x41c1c6[_0x21ecf8(0x234)],this[_0x21ecf8(0x1d1)]('close',this[_0x21ecf8(0x31f)],this[_0x21ecf8(0x1d8)]);return;}this[_0x21ecf8(0x261)][_0x2ff4e4[_0x21ecf8(0x321)]]&&this['_extensions'][_0x2ff4e4[_0x21ecf8(0x321)]][_0x21ecf8(0x353)](),this[_0x21ecf8(0x2ee)][_0x21ecf8(0x33c)](),this['_readyState']=_0x41c1c6[_0x21ecf8(0x234)],this[_0x21ecf8(0x1d1)](_0x21ecf8(0x2c0),this[_0x21ecf8(0x31f)],this['_closeMessage']);}[_0x4e98b7(0x2c0)](_0x55b360,_0x57d29b){const _0x213890=_0x4e98b7;if(this[_0x213890(0x2cf)]!==_0x41c1c6[_0x213890(0x234)]){if(this[_0x213890(0x2cf)]===_0x41c1c6[_0x213890(0x2cb)]){_0x51a323(this,this[_0x213890(0x23b)],_0x213890(0x23f));return;}if(this[_0x213890(0x2cf)]===_0x41c1c6[_0x213890(0x35c)]){this[_0x213890(0x1dc)]&&(this[_0x213890(0x1f0)]||this[_0x213890(0x2ee)][_0x213890(0x37e)][_0x213890(0x215)])&&this[_0x213890(0x1cb)]['end']();return;}this[_0x213890(0x249)]=_0x41c1c6[_0x213890(0x35c)],this['_sender'][_0x213890(0x2c0)](_0x55b360,_0x57d29b,!this[_0x213890(0x1be)],_0x257dd9=>{const _0x4e0792=_0x213890;_0x257dd9||(this[_0x4e0792(0x1dc)]=!0x0,(this[_0x4e0792(0x1f0)]||this[_0x4e0792(0x2ee)]['_writableState']['errorEmitted'])&&this[_0x4e0792(0x1cb)][_0x4e0792(0x289)]());}),_0x367374(this);}}['pause'](){const _0x53beac=_0x4e98b7;this[_0x53beac(0x2cf)]===_0x41c1c6['CONNECTING']||this['readyState']===_0x41c1c6['CLOSED']||(this[_0x53beac(0x25e)]=!0x0,this[_0x53beac(0x1cb)][_0x53beac(0x226)]());}[_0x4e98b7(0x237)](_0x376286,_0x59b965,_0x5e09aa){const _0x4a486e=_0x4e98b7;if(this[_0x4a486e(0x2cf)]===_0x41c1c6['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x376286=='function'?(_0x5e09aa=_0x376286,_0x376286=_0x59b965=void 0x0):typeof _0x59b965==_0x4a486e(0x29b)&&(_0x5e09aa=_0x59b965,_0x59b965=void 0x0),typeof _0x376286==_0x4a486e(0x214)&&(_0x376286=_0x376286[_0x4a486e(0x2e7)]()),this[_0x4a486e(0x2cf)]!==_0x41c1c6[_0x4a486e(0x26c)]){_0x427956(this,_0x376286,_0x5e09aa);return;}_0x59b965===void 0x0&&(_0x59b965=!this[_0x4a486e(0x1be)]),this['_sender'][_0x4a486e(0x237)](_0x376286||_0x4d6e0b,_0x59b965,_0x5e09aa);}['pong'](_0xb20e0e,_0x32a3ef,_0x5a3b8f){const _0x447472=_0x4e98b7;if(this[_0x447472(0x2cf)]===_0x41c1c6['CONNECTING'])throw new Error(_0x447472(0x1c0));if(typeof _0xb20e0e==_0x447472(0x29b)?(_0x5a3b8f=_0xb20e0e,_0xb20e0e=_0x32a3ef=void 0x0):typeof _0x32a3ef==_0x447472(0x29b)&&(_0x5a3b8f=_0x32a3ef,_0x32a3ef=void 0x0),typeof _0xb20e0e==_0x447472(0x214)&&(_0xb20e0e=_0xb20e0e['toString']()),this['readyState']!==_0x41c1c6[_0x447472(0x26c)]){_0x427956(this,_0xb20e0e,_0x5a3b8f);return;}_0x32a3ef===void 0x0&&(_0x32a3ef=!this[_0x447472(0x1be)]),this[_0x447472(0x253)]['pong'](_0xb20e0e||_0x4d6e0b,_0x32a3ef,_0x5a3b8f);}[_0x4e98b7(0x35e)](){const _0x122c56=_0x4e98b7;this[_0x122c56(0x2cf)]===_0x41c1c6[_0x122c56(0x2cb)]||this['readyState']===_0x41c1c6[_0x122c56(0x234)]||(this[_0x122c56(0x25e)]=!0x1,this[_0x122c56(0x2ee)][_0x122c56(0x37e)]['needDrain']||this[_0x122c56(0x1cb)][_0x122c56(0x35e)]());}['send'](_0x38a06f,_0x264ddd,_0x366165){const _0x1a7a97=_0x4e98b7;if(this['readyState']===_0x41c1c6['CONNECTING'])throw new Error(_0x1a7a97(0x1c0));if(typeof _0x264ddd==_0x1a7a97(0x29b)&&(_0x366165=_0x264ddd,_0x264ddd={}),typeof _0x38a06f=='number'&&(_0x38a06f=_0x38a06f[_0x1a7a97(0x2e7)]()),this[_0x1a7a97(0x2cf)]!==_0x41c1c6[_0x1a7a97(0x26c)]){_0x427956(this,_0x38a06f,_0x366165);return;}const _0x36a915={'binary':typeof _0x38a06f!=_0x1a7a97(0x2b9),'mask':!this[_0x1a7a97(0x1be)],'compress':!0x0,'fin':!0x0,..._0x264ddd};this[_0x1a7a97(0x261)][_0x2ff4e4[_0x1a7a97(0x321)]]||(_0x36a915['compress']=!0x1),this[_0x1a7a97(0x253)][_0x1a7a97(0x360)](_0x38a06f||_0x4d6e0b,_0x36a915,_0x366165);}['terminate'](){const _0x5cb17d=_0x4e98b7;if(this['readyState']!==_0x41c1c6[_0x5cb17d(0x234)]){if(this[_0x5cb17d(0x2cf)]===_0x41c1c6[_0x5cb17d(0x2cb)]){_0x51a323(this,this[_0x5cb17d(0x23b)],_0x5cb17d(0x23f));return;}this[_0x5cb17d(0x1cb)]&&(this[_0x5cb17d(0x249)]=_0x41c1c6[_0x5cb17d(0x35c)],this['_socket'][_0x5cb17d(0x1df)]());}}}Object[_0x4e98b7(0x2b8)](_0x41c1c6,'CONNECTING',{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x2cb))}),Object['defineProperty'](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x2cb),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x2cb))}),Object['defineProperty'](_0x41c1c6,_0x4e98b7(0x26c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)]('OPEN')}),Object[_0x4e98b7(0x2b8)](_0x41c1c6[_0x4e98b7(0x364)],'OPEN',{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x26c))}),Object[_0x4e98b7(0x2b8)](_0x41c1c6,_0x4e98b7(0x35c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x35c))}),Object['defineProperty'](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x35c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)]('CLOSING')}),Object[_0x4e98b7(0x2b8)](_0x41c1c6,_0x4e98b7(0x234),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x234))}),Object[_0x4e98b7(0x2b8)](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x234),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x234))}),[_0x4e98b7(0x2d8),_0x4e98b7(0x382),'extensions','isPaused',_0x4e98b7(0x378),_0x4e98b7(0x2cf),_0x4e98b7(0x224)]['forEach'](_0x4d3db4=>{const _0x11f4e0=_0x4e98b7;Object[_0x11f4e0(0x2b8)](_0x41c1c6[_0x11f4e0(0x364)],_0x4d3db4,{'enumerable':!0x0});}),[_0x4e98b7(0x24c),_0x4e98b7(0x26b),'close',_0x4e98b7(0x2d7)]['forEach'](_0xd2533d=>{const _0x1718e4=_0x4e98b7;Object[_0x1718e4(0x2b8)](_0x41c1c6['prototype'],'on'+_0xd2533d,{'enumerable':!0x0,'get'(){const _0x48f2ee=_0x1718e4;for(const _0x3cbe8e of this[_0x48f2ee(0x2ce)](_0xd2533d))if(_0x3cbe8e[_0x54a3dc])return _0x3cbe8e[_0x22c576];return null;},'set'(_0x556879){const _0x535b82=_0x1718e4;for(const _0x5e070a of this['listeners'](_0xd2533d))if(_0x5e070a[_0x54a3dc]){this[_0x535b82(0x33b)](_0xd2533d,_0x5e070a);break;}typeof _0x556879==_0x535b82(0x29b)&&this['addEventListener'](_0xd2533d,_0x556879,{[_0x54a3dc]:!0x0});}});}),_0x41c1c6[_0x4e98b7(0x364)][_0x4e98b7(0x2e9)]=_0x9af6c8,_0x41c1c6[_0x4e98b7(0x364)][_0x4e98b7(0x2de)]=_0x8f8b73,we=_0x41c1c6;function _0x4e2730(_0x3d98bf,_0xb5b07d,_0x29613b,_0x34252f){const _0x470f69=_0x4e98b7,_0x5a19b5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x361c88[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x34252f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3d98bf['_autoPong']=_0x5a19b5[_0x470f69(0x2e3)],!_0x361c88['includes'](_0x5a19b5[_0x470f69(0x26e)]))throw new RangeError(_0x470f69(0x34b)+_0x5a19b5[_0x470f69(0x26e)]+'\x20(supported\x20versions:\x20'+_0x361c88[_0x470f69(0x232)](',\x20')+')');let _0x51e850;if(_0xb5b07d instanceof _0x3c3daa)_0x51e850=_0xb5b07d;else try{_0x51e850=new _0x3c3daa(_0xb5b07d);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0xb5b07d);}_0x51e850['protocol']===_0x470f69(0x278)?_0x51e850['protocol']='ws:':_0x51e850[_0x470f69(0x378)]===_0x470f69(0x312)&&(_0x51e850['protocol']=_0x470f69(0x30c)),_0x3d98bf[_0x470f69(0x225)]=_0x51e850[_0x470f69(0x25a)];const _0x1d3f5d=_0x51e850[_0x470f69(0x378)]===_0x470f69(0x30c),_0x4c77fe=_0x51e850['protocol']===_0x470f69(0x2db);let _0x51cfe9;if(_0x51e850[_0x470f69(0x378)]!==_0x470f69(0x334)&&!_0x1d3f5d&&!_0x4c77fe?_0x51cfe9=_0x470f69(0x1f2):_0x4c77fe&&!_0x51e850[_0x470f69(0x21c)]?_0x51cfe9='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x51e850[_0x470f69(0x376)]&&(_0x51cfe9='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x51cfe9){const _0xbcf6e8=new SyntaxError(_0x51cfe9);if(_0x3d98bf['_redirects']===0x0)throw _0xbcf6e8;_0x3cf149(_0x3d98bf,_0xbcf6e8);return;}const _0x89a993=_0x1d3f5d?0x1bb:0x50,_0x34301a=_0x1798a1(0x10)[_0x470f69(0x2e7)](_0x470f69(0x30f)),_0x177415=_0x1d3f5d?_0x342b22['request']:_0x35cb16[_0x470f69(0x327)],_0x21e157=new Set();let _0x2e4a23;if(_0x5a19b5[_0x470f69(0x1ce)]=_0x5a19b5[_0x470f69(0x1ce)]||(_0x1d3f5d?_0x10981b:_0xeb6f07),_0x5a19b5[_0x470f69(0x2f9)]=_0x5a19b5['defaultPort']||_0x89a993,_0x5a19b5[_0x470f69(0x2c8)]=_0x51e850[_0x470f69(0x2c8)]||_0x89a993,_0x5a19b5[_0x470f69(0x25c)]=_0x51e850['hostname'][_0x470f69(0x328)]('[')?_0x51e850[_0x470f69(0x2d9)][_0x470f69(0x1ea)](0x1,-0x1):_0x51e850[_0x470f69(0x2d9)],_0x5a19b5[_0x470f69(0x241)]={..._0x5a19b5[_0x470f69(0x241)],'Sec-WebSocket-Version':_0x5a19b5[_0x470f69(0x26e)],'Sec-WebSocket-Key':_0x34301a,'Connection':_0x470f69(0x32c),'Upgrade':_0x470f69(0x2e0)},_0x5a19b5[_0x470f69(0x1d0)]=_0x51e850[_0x470f69(0x21c)]+_0x51e850[_0x470f69(0x347)],_0x5a19b5['timeout']=_0x5a19b5[_0x470f69(0x381)],_0x5a19b5[_0x470f69(0x1f6)]&&(_0x2e4a23=new _0x2ff4e4(_0x5a19b5[_0x470f69(0x1f6)]!==!0x0?_0x5a19b5['perMessageDeflate']:{},!0x1,_0x5a19b5[_0x470f69(0x2d4)]),_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2fc)]=_0x103b15({[_0x2ff4e4[_0x470f69(0x321)]]:_0x2e4a23[_0x470f69(0x210)]()})),_0x29613b[_0x470f69(0x227)]){for(const _0x864f84 of _0x29613b){if(typeof _0x864f84!=_0x470f69(0x2b9)||!_0x1cf105['test'](_0x864f84)||_0x21e157['has'](_0x864f84))throw new SyntaxError(_0x470f69(0x26f));_0x21e157[_0x470f69(0x265)](_0x864f84);}_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2fd)]=_0x29613b[_0x470f69(0x232)](',');}if(_0x5a19b5[_0x470f69(0x303)]&&(_0x5a19b5['protocolVersion']<0xd?_0x5a19b5['headers'][_0x470f69(0x29f)]=_0x5a19b5[_0x470f69(0x303)]:_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x296)]=_0x5a19b5['origin']),(_0x51e850[_0x470f69(0x31a)]||_0x51e850[_0x470f69(0x273)])&&(_0x5a19b5[_0x470f69(0x28c)]=_0x51e850[_0x470f69(0x31a)]+':'+_0x51e850[_0x470f69(0x273)]),_0x4c77fe){const _0x271993=_0x5a19b5[_0x470f69(0x1d0)][_0x470f69(0x239)](':');_0x5a19b5[_0x470f69(0x27f)]=_0x271993[0x0],_0x5a19b5[_0x470f69(0x1d0)]=_0x271993[0x1];}let _0x518e29;if(_0x5a19b5[_0x470f69(0x23e)]){if(_0x3d98bf[_0x470f69(0x255)]===0x0){_0x3d98bf[_0x470f69(0x2ff)]=_0x4c77fe,_0x3d98bf['_originalSecure']=_0x1d3f5d,_0x3d98bf[_0x470f69(0x31d)]=_0x4c77fe?_0x5a19b5['socketPath']:_0x51e850[_0x470f69(0x25c)];const _0x2fd74e=_0x34252f&&_0x34252f['headers'];if(_0x34252f={..._0x34252f,'headers':{}},_0x2fd74e){for(const [_0x513f78,_0x35592c]of Object['entries'](_0x2fd74e))_0x34252f[_0x470f69(0x241)][_0x513f78[_0x470f69(0x28b)]()]=_0x35592c;}}else{if(_0x3d98bf[_0x470f69(0x368)]('redirect')===0x0){const _0x46d0f8=_0x4c77fe?_0x3d98bf['_originalIpc']?_0x5a19b5[_0x470f69(0x27f)]===_0x3d98bf[_0x470f69(0x31d)]:!0x1:_0x3d98bf['_originalIpc']?!0x1:_0x51e850['host']===_0x3d98bf[_0x470f69(0x31d)];(!_0x46d0f8||_0x3d98bf['_originalSecure']&&!_0x1d3f5d)&&(delete _0x5a19b5['headers'][_0x470f69(0x1d3)],delete _0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2b3)],_0x46d0f8||delete _0x5a19b5[_0x470f69(0x241)][_0x470f69(0x25c)],_0x5a19b5[_0x470f69(0x28c)]=void 0x0);}}_0x5a19b5[_0x470f69(0x28c)]&&!_0x34252f[_0x470f69(0x241)][_0x470f69(0x1d3)]&&(_0x34252f[_0x470f69(0x241)][_0x470f69(0x1d3)]=_0x470f69(0x1e8)+Buffer[_0x470f69(0x36f)](_0x5a19b5['auth'])[_0x470f69(0x2e7)](_0x470f69(0x30f))),_0x518e29=_0x3d98bf[_0x470f69(0x23b)]=_0x177415(_0x5a19b5),_0x3d98bf[_0x470f69(0x255)]&&_0x3d98bf['emit'](_0x470f69(0x332),_0x3d98bf['url'],_0x518e29);}else _0x518e29=_0x3d98bf['_req']=_0x177415(_0x5a19b5);_0x5a19b5[_0x470f69(0x1f9)]&&_0x518e29['on']('timeout',()=>{const _0x2788a6=_0x470f69;_0x51a323(_0x3d98bf,_0x518e29,_0x2788a6(0x216));}),_0x518e29['on'](_0x470f69(0x26b),_0x5a4cc4=>{const _0x265948=_0x470f69;_0x518e29===null||_0x518e29[_0x40b71e]||(_0x518e29=_0x3d98bf[_0x265948(0x23b)]=null,_0x3cf149(_0x3d98bf,_0x5a4cc4));}),_0x518e29['on'](_0x470f69(0x1ff),_0x15dfe6=>{const _0x2127c2=_0x470f69,_0x2e3c21=_0x15dfe6[_0x2127c2(0x241)][_0x2127c2(0x336)],_0x20a5ad=_0x15dfe6[_0x2127c2(0x373)];if(_0x2e3c21&&_0x5a19b5[_0x2127c2(0x23e)]&&_0x20a5ad>=0x12c&&_0x20a5ad<0x190){if(++_0x3d98bf[_0x2127c2(0x255)]>_0x5a19b5[_0x2127c2(0x29d)]){_0x51a323(_0x3d98bf,_0x518e29,_0x2127c2(0x32d));return;}_0x518e29['abort']();let _0xf6fddb;try{_0xf6fddb=new _0x3c3daa(_0x2e3c21,_0xb5b07d);}catch{const _0x371682=new SyntaxError(_0x2127c2(0x294)+_0x2e3c21);_0x3cf149(_0x3d98bf,_0x371682);return;}_0x4e2730(_0x3d98bf,_0xf6fddb,_0x29613b,_0x34252f);}else _0x3d98bf[_0x2127c2(0x1d1)](_0x2127c2(0x29c),_0x518e29,_0x15dfe6)||_0x51a323(_0x3d98bf,_0x518e29,_0x2127c2(0x25b)+_0x15dfe6[_0x2127c2(0x373)]);}),_0x518e29['on'](_0x470f69(0x342),(_0x4ee113,_0x58e697,_0x259c65)=>{const _0x4fea7f=_0x470f69;if(_0x3d98bf[_0x4fea7f(0x1d1)](_0x4fea7f(0x342),_0x4ee113),_0x3d98bf[_0x4fea7f(0x2cf)]!==_0x41c1c6[_0x4fea7f(0x2cb)])return;_0x518e29=_0x3d98bf[_0x4fea7f(0x23b)]=null;const _0x50b3d3=_0x4ee113['headers']['upgrade'];if(_0x50b3d3===void 0x0||_0x50b3d3[_0x4fea7f(0x28b)]()!=='websocket'){_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x272));return;}const _0xf8a7c3=_0x16b41f(_0x4fea7f(0x276))['update'](_0x34301a+_0x26da35)[_0x4fea7f(0x32b)](_0x4fea7f(0x30f));if(_0x4ee113[_0x4fea7f(0x241)][_0x4fea7f(0x1c6)]!==_0xf8a7c3){_0x51a323(_0x3d98bf,_0x58e697,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x7667f8=_0x4ee113[_0x4fea7f(0x241)]['sec-websocket-protocol'];let _0x18ea50;if(_0x7667f8!==void 0x0?_0x21e157[_0x4fea7f(0x2ef)]?_0x21e157[_0x4fea7f(0x2cd)](_0x7667f8)||(_0x18ea50='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x18ea50=_0x4fea7f(0x2ba):_0x21e157[_0x4fea7f(0x2ef)]&&(_0x18ea50=_0x4fea7f(0x31b)),_0x18ea50){_0x51a323(_0x3d98bf,_0x58e697,_0x18ea50);return;}_0x7667f8&&(_0x3d98bf['_protocol']=_0x7667f8);const _0x524d12=_0x4ee113[_0x4fea7f(0x241)]['sec-websocket-extensions'];if(_0x524d12!==void 0x0){if(!_0x2e4a23){_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x211));return;}let _0x4a09c3;try{_0x4a09c3=_0x48d5d6(_0x524d12);}catch{_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x235));return;}const _0x519a68=Object[_0x4fea7f(0x37d)](_0x4a09c3);if(_0x519a68[_0x4fea7f(0x227)]!==0x1||_0x519a68[0x0]!==_0x2ff4e4[_0x4fea7f(0x321)]){_0x51a323(_0x3d98bf,_0x58e697,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x2e4a23['accept'](_0x4a09c3[_0x2ff4e4[_0x4fea7f(0x321)]]);}catch{_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x235));return;}_0x3d98bf[_0x4fea7f(0x261)][_0x2ff4e4[_0x4fea7f(0x321)]]=_0x2e4a23;}_0x3d98bf[_0x4fea7f(0x36a)](_0x58e697,_0x259c65,{'allowSynchronousEvents':_0x5a19b5['allowSynchronousEvents'],'generateMask':_0x5a19b5[_0x4fea7f(0x35a)],'maxPayload':_0x5a19b5['maxPayload'],'skipUTF8Validation':_0x5a19b5['skipUTF8Validation']});}),_0x5a19b5[_0x470f69(0x319)]?_0x5a19b5[_0x470f69(0x319)](_0x518e29,_0x3d98bf):_0x518e29[_0x470f69(0x289)]();}function _0x3cf149(_0x2de353,_0x34152e){const _0x5d23d7=_0x4e98b7;_0x2de353[_0x5d23d7(0x249)]=_0x41c1c6['CLOSING'],_0x2de353[_0x5d23d7(0x25f)]=!0x0,_0x2de353[_0x5d23d7(0x1d1)](_0x5d23d7(0x26b),_0x34152e),_0x2de353[_0x5d23d7(0x32a)]();}function _0xeb6f07(_0x4e64c9){const _0xbdf717=_0x4e98b7;return _0x4e64c9[_0xbdf717(0x1d0)]=_0x4e64c9[_0xbdf717(0x27f)],_0xd86e9f['connect'](_0x4e64c9);}function _0x10981b(_0x2b9e72){const _0x73cbcf=_0x4e98b7;return _0x2b9e72[_0x73cbcf(0x1d0)]=void 0x0,!_0x2b9e72[_0x73cbcf(0x2a5)]&&_0x2b9e72[_0x73cbcf(0x2a5)]!==''&&(_0x2b9e72[_0x73cbcf(0x2a5)]=_0xd86e9f[_0x73cbcf(0x359)](_0x2b9e72[_0x73cbcf(0x25c)])?'':_0x2b9e72[_0x73cbcf(0x25c)]),_0x1b5448[_0x73cbcf(0x361)](_0x2b9e72);}function _0x51a323(_0x37ac8f,_0x477677,_0x3d91a7){const _0x2a8144=_0x4e98b7;_0x37ac8f[_0x2a8144(0x249)]=_0x41c1c6['CLOSING'];const _0x1079f3=new Error(_0x3d91a7);Error[_0x2a8144(0x34e)](_0x1079f3,_0x51a323),_0x477677[_0x2a8144(0x1c1)]?(_0x477677[_0x40b71e]=!0x0,_0x477677[_0x2a8144(0x30b)](),_0x477677[_0x2a8144(0x28f)]&&!_0x477677[_0x2a8144(0x28f)]['destroyed']&&_0x477677[_0x2a8144(0x28f)][_0x2a8144(0x1df)](),process['nextTick'](_0x3cf149,_0x37ac8f,_0x1079f3)):(_0x477677[_0x2a8144(0x1df)](_0x1079f3),_0x477677[_0x2a8144(0x1ed)](_0x2a8144(0x26b),_0x37ac8f[_0x2a8144(0x1d1)]['bind'](_0x37ac8f,_0x2a8144(0x26b))),_0x477677[_0x2a8144(0x1ed)](_0x2a8144(0x2c0),_0x37ac8f[_0x2a8144(0x32a)][_0x2a8144(0x315)](_0x37ac8f)));}function _0x427956(_0x303fa4,_0x5e8b1e,_0xd470ae){const _0x10c18f=_0x4e98b7;if(_0x5e8b1e){const _0x42be95=_0x182bdc(_0x5e8b1e)?_0x5e8b1e[_0x10c18f(0x2ef)]:_0x168dd9(_0x5e8b1e)[_0x10c18f(0x227)];_0x303fa4[_0x10c18f(0x1cb)]?_0x303fa4[_0x10c18f(0x253)][_0x10c18f(0x1e7)]+=_0x42be95:_0x303fa4[_0x10c18f(0x2a2)]+=_0x42be95;}if(_0xd470ae){const _0x92f554=new Error(_0x10c18f(0x2ab)+_0x303fa4[_0x10c18f(0x2cf)]+'\x20('+_0x27d2b6[_0x303fa4[_0x10c18f(0x2cf)]]+')');process['nextTick'](_0xd470ae,_0x92f554);}}function _0x445378(_0x3a6917,_0x712729){const _0x197ef2=_0x4e98b7,_0x582ed2=this[_0x81675b];_0x582ed2[_0x197ef2(0x1f0)]=!0x0,_0x582ed2[_0x197ef2(0x1d8)]=_0x712729,_0x582ed2[_0x197ef2(0x31f)]=_0x3a6917,_0x582ed2['_socket'][_0x81675b]!==void 0x0&&(_0x582ed2['_socket'][_0x197ef2(0x33b)](_0x197ef2(0x243),_0x469410),process[_0x197ef2(0x1f3)](_0x236591,_0x582ed2[_0x197ef2(0x1cb)]),_0x3a6917===0x3ed?_0x582ed2[_0x197ef2(0x2c0)]():_0x582ed2[_0x197ef2(0x2c0)](_0x3a6917,_0x712729));}function _0x57aa59(){const _0x56fd4b=this[_0x81675b];_0x56fd4b['isPaused']||_0x56fd4b['_socket']['resume']();}function _0x39a8f4(_0x4ad6b2){const _0x480d5b=_0x4e98b7,_0x199fdc=this[_0x81675b];_0x199fdc[_0x480d5b(0x1cb)][_0x81675b]!==void 0x0&&(_0x199fdc['_socket'][_0x480d5b(0x33b)]('data',_0x469410),process[_0x480d5b(0x1f3)](_0x236591,_0x199fdc['_socket']),_0x199fdc[_0x480d5b(0x2c0)](_0x4ad6b2[_0x97a0f0])),_0x199fdc[_0x480d5b(0x25f)]||(_0x199fdc['_errorEmitted']=!0x0,_0x199fdc[_0x480d5b(0x1d1)]('error',_0x4ad6b2));}function _0x45d2a3(){this[_0x81675b]['emitClose']();}function _0x563354(_0x50d2c9,_0xc17470){const _0x2fcc62=_0x4e98b7;this[_0x81675b][_0x2fcc62(0x1d1)](_0x2fcc62(0x2d7),_0x50d2c9,_0xc17470);}function _0x1723bd(_0x4adb6d){const _0x2d1e22=_0x4e98b7,_0x5bbda0=this[_0x81675b];_0x5bbda0['_autoPong']&&_0x5bbda0[_0x2d1e22(0x269)](_0x4adb6d,!this[_0x2d1e22(0x1be)],_0x474548),_0x5bbda0['emit']('ping',_0x4adb6d);}function _0x553347(_0x7de12e){const _0x1c159d=_0x4e98b7;this[_0x81675b]['emit'](_0x1c159d(0x269),_0x7de12e);}function _0x236591(_0x5e6d83){const _0x19ca80=_0x4e98b7;_0x5e6d83[_0x19ca80(0x35e)]();}function _0x8619bc(_0x528dd0){const _0x35ecf9=_0x4e98b7,_0x324a38=this[_0x81675b];_0x324a38[_0x35ecf9(0x2cf)]!==_0x41c1c6[_0x35ecf9(0x234)]&&(_0x324a38[_0x35ecf9(0x2cf)]===_0x41c1c6[_0x35ecf9(0x26c)]&&(_0x324a38[_0x35ecf9(0x249)]=_0x41c1c6['CLOSING'],_0x367374(_0x324a38)),this[_0x35ecf9(0x1cb)][_0x35ecf9(0x289)](),_0x324a38['_errorEmitted']||(_0x324a38[_0x35ecf9(0x25f)]=!0x0,_0x324a38[_0x35ecf9(0x1d1)](_0x35ecf9(0x26b),_0x528dd0)));}function _0x367374(_0x3bb9fd){const _0x65438b=_0x4e98b7;_0x3bb9fd[_0x65438b(0x23a)]=setTimeout(_0x3bb9fd['_socket'][_0x65438b(0x1df)][_0x65438b(0x315)](_0x3bb9fd[_0x65438b(0x1cb)]),_0x3b7df3);}function _0x214f07(){const _0x1579cc=_0x4e98b7,_0x2978d0=this[_0x81675b];this['removeListener'](_0x1579cc(0x2c0),_0x214f07),this[_0x1579cc(0x33b)]('data',_0x469410),this[_0x1579cc(0x33b)]('end',_0x1cf8ea),_0x2978d0[_0x1579cc(0x249)]=_0x41c1c6[_0x1579cc(0x35c)];let _0x34477a;!this[_0x1579cc(0x257)][_0x1579cc(0x37c)]&&!_0x2978d0[_0x1579cc(0x1f0)]&&!_0x2978d0[_0x1579cc(0x2ee)]['_writableState']['errorEmitted']&&(_0x34477a=_0x2978d0[_0x1579cc(0x1cb)][_0x1579cc(0x352)]())!==null&&_0x2978d0[_0x1579cc(0x2ee)][_0x1579cc(0x2d3)](_0x34477a),_0x2978d0['_receiver'][_0x1579cc(0x289)](),this[_0x81675b]=void 0x0,clearTimeout(_0x2978d0['_closeTimer']),_0x2978d0[_0x1579cc(0x2ee)][_0x1579cc(0x37e)]['finished']||_0x2978d0['_receiver'][_0x1579cc(0x37e)][_0x1579cc(0x215)]?_0x2978d0['emitClose']():(_0x2978d0[_0x1579cc(0x2ee)]['on'](_0x1579cc(0x26b),_0x45d2a3),_0x2978d0[_0x1579cc(0x2ee)]['on'](_0x1579cc(0x2dd),_0x45d2a3));}function _0x469410(_0x3e1dab){const _0x2cfd75=_0x4e98b7;this[_0x81675b]['_receiver'][_0x2cfd75(0x2d3)](_0x3e1dab)||this[_0x2cfd75(0x226)]();}function _0x1cf8ea(){const _0x279e43=_0x4e98b7,_0xe7cc29=this[_0x81675b];_0xe7cc29[_0x279e43(0x249)]=_0x41c1c6[_0x279e43(0x35c)],_0xe7cc29['_receiver'][_0x279e43(0x289)](),this['end']();}function _0x20dc91(){const _0x11d81=_0x4e98b7,_0x56cd82=this[_0x81675b];this[_0x11d81(0x33b)](_0x11d81(0x26b),_0x20dc91),this['on'](_0x11d81(0x26b),_0x474548),_0x56cd82&&(_0x56cd82[_0x11d81(0x249)]=_0x41c1c6['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1266bd}=oe;function _0x4fbaff(_0x52bb49){const _0x27c4f6=_0x480a;_0x52bb49[_0x27c4f6(0x1d1)](_0x27c4f6(0x2c0));}function _0x479d5f(){const _0x376f1d=_0x480a;!this[_0x376f1d(0x26a)]&&this[_0x376f1d(0x37e)][_0x376f1d(0x28a)]&&this['destroy']();}function _0x26893d(_0x4da139){const _0x4083a7=_0x480a;this[_0x4083a7(0x33b)](_0x4083a7(0x26b),_0x26893d),this[_0x4083a7(0x1df)](),this[_0x4083a7(0x368)]('error')===0x0&&this[_0x4083a7(0x1d1)](_0x4083a7(0x26b),_0x4da139);}function _0x3b0bfd(_0x34fa2b,_0x23643f){const _0x807f93=_0x480a;let _0x133e11=!0x0;const _0x1ab2f8=new _0x1266bd({..._0x23643f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x34fa2b['on'](_0x807f93(0x2d7),function(_0x3ea42f,_0x230877){const _0x32cabe=_0x807f93,_0x5726b7=!_0x230877&&_0x1ab2f8[_0x32cabe(0x257)][_0x32cabe(0x219)]?_0x3ea42f[_0x32cabe(0x2e7)]():_0x3ea42f;_0x1ab2f8[_0x32cabe(0x21b)](_0x5726b7)||_0x34fa2b[_0x32cabe(0x226)]();}),_0x34fa2b[_0x807f93(0x1ed)](_0x807f93(0x26b),function(_0x178852){const _0x1f5706=_0x807f93;_0x1ab2f8['destroyed']||(_0x133e11=!0x1,_0x1ab2f8[_0x1f5706(0x1df)](_0x178852));}),_0x34fa2b['once'](_0x807f93(0x2c0),function(){const _0x3409ee=_0x807f93;_0x1ab2f8[_0x3409ee(0x26a)]||_0x1ab2f8[_0x3409ee(0x21b)](null);}),_0x1ab2f8[_0x807f93(0x2d2)]=function(_0x1bcf1a,_0x4e8875){const _0x17b24c=_0x807f93;if(_0x34fa2b[_0x17b24c(0x2cf)]===_0x34fa2b[_0x17b24c(0x234)]){_0x4e8875(_0x1bcf1a),process['nextTick'](_0x4fbaff,_0x1ab2f8);return;}let _0x1b20e0=!0x1;_0x34fa2b[_0x17b24c(0x1ed)](_0x17b24c(0x26b),function(_0x4564d7){_0x1b20e0=!0x0,_0x4e8875(_0x4564d7);}),_0x34fa2b[_0x17b24c(0x1ed)](_0x17b24c(0x2c0),function(){const _0x211afa=_0x17b24c;_0x1b20e0||_0x4e8875(_0x1bcf1a),process[_0x211afa(0x1f3)](_0x4fbaff,_0x1ab2f8);}),_0x133e11&&_0x34fa2b[_0x17b24c(0x233)]();},_0x1ab2f8[_0x807f93(0x35f)]=function(_0x36ab93){const _0x4aeeba=_0x807f93;if(_0x34fa2b[_0x4aeeba(0x2cf)]===_0x34fa2b['CONNECTING']){_0x34fa2b['once'](_0x4aeeba(0x24c),function(){const _0x16cd6d=_0x4aeeba;_0x1ab2f8[_0x16cd6d(0x35f)](_0x36ab93);});return;}_0x34fa2b['_socket']!==null&&(_0x34fa2b[_0x4aeeba(0x1cb)][_0x4aeeba(0x37e)]['finished']?(_0x36ab93(),_0x1ab2f8['_readableState'][_0x4aeeba(0x37c)]&&_0x1ab2f8[_0x4aeeba(0x1df)]()):(_0x34fa2b['_socket'][_0x4aeeba(0x1ed)](_0x4aeeba(0x2dd),function(){_0x36ab93();}),_0x34fa2b[_0x4aeeba(0x2c0)]()));},_0x1ab2f8[_0x807f93(0x318)]=function(){const _0x4d191b=_0x807f93;_0x34fa2b['isPaused']&&_0x34fa2b[_0x4d191b(0x35e)]();},_0x1ab2f8['_write']=function(_0x11c663,_0x3b8c09,_0x123418){const _0x277827=_0x807f93;if(_0x34fa2b[_0x277827(0x2cf)]===_0x34fa2b[_0x277827(0x2cb)]){_0x34fa2b[_0x277827(0x1ed)]('open',function(){const _0x11927f=_0x277827;_0x1ab2f8[_0x11927f(0x2f6)](_0x11c663,_0x3b8c09,_0x123418);});return;}_0x34fa2b[_0x277827(0x360)](_0x11c663,_0x123418);},_0x1ab2f8['on'](_0x807f93(0x289),_0x479d5f),_0x1ab2f8['on'](_0x807f93(0x26b),_0x26893d),_0x1ab2f8;}return Oe=_0x3b0bfd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5e1864}=ae();function _0x452d69(_0x46e39b){const _0x48618b=_0x480a,_0x5eabfa=new Set();let _0x1fc0ca=-0x1,_0x740876=-0x1,_0x40022c=0x0;for(_0x40022c;_0x40022c<_0x46e39b[_0x48618b(0x227)];_0x40022c++){const _0x3e42f5=_0x46e39b[_0x48618b(0x380)](_0x40022c);if(_0x740876===-0x1&&_0x5e1864[_0x3e42f5]===0x1)_0x1fc0ca===-0x1&&(_0x1fc0ca=_0x40022c);else{if(_0x40022c!==0x0&&(_0x3e42f5===0x20||_0x3e42f5===0x9))_0x740876===-0x1&&_0x1fc0ca!==-0x1&&(_0x740876=_0x40022c);else{if(_0x3e42f5===0x2c){if(_0x1fc0ca===-0x1)throw new SyntaxError(_0x48618b(0x293)+_0x40022c);_0x740876===-0x1&&(_0x740876=_0x40022c);const _0x52afe3=_0x46e39b[_0x48618b(0x1ea)](_0x1fc0ca,_0x740876);if(_0x5eabfa[_0x48618b(0x2cd)](_0x52afe3))throw new SyntaxError('The\x20\x22'+_0x52afe3+_0x48618b(0x2af));_0x5eabfa[_0x48618b(0x265)](_0x52afe3),_0x1fc0ca=_0x740876=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x40022c);}}}if(_0x1fc0ca===-0x1||_0x740876!==-0x1)throw new SyntaxError(_0x48618b(0x326));const _0x1302c4=_0x46e39b[_0x48618b(0x1ea)](_0x1fc0ca,_0x40022c);if(_0x5eabfa[_0x48618b(0x2cd)](_0x1302c4))throw new SyntaxError(_0x48618b(0x34f)+_0x1302c4+_0x48618b(0x2af));return _0x5eabfa[_0x48618b(0x265)](_0x1302c4),_0x5eabfa;}return Ce={'parse':_0x452d69},Ce;}var Te,rt;function Ft(){const _0x3fd269=_0x572ec8;if(rt)return Te;rt=0x1;const _0x4bb1b9=nt,_0x15053d=ot,{Duplex:_0x3ed31c}=oe,{createHash:_0x482113}=Le,_0x6799a7=ct(),_0x5da046=he(),_0xc09a1d=At(),_0x1b9015=Pe(),{GUID:_0x1a17b,kWebSocket:_0x4b0865}=H(),_0x17d1eb=/^[+/0-9A-Za-z]{22}==$/,_0x3e2717=0x0,_0x18d48=0x1,_0x5c2014=0x2;class _0xdb7109 extends _0x4bb1b9{constructor(_0x9dda24,_0x4f1770){const _0x1b1fee=_0x480a;if(super(),_0x9dda24={'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':_0x1b9015,..._0x9dda24},_0x9dda24[_0x1b1fee(0x2c8)]==null&&!_0x9dda24['server']&&!_0x9dda24[_0x1b1fee(0x362)]||_0x9dda24[_0x1b1fee(0x2c8)]!=null&&(_0x9dda24[_0x1b1fee(0x28e)]||_0x9dda24[_0x1b1fee(0x362)])||_0x9dda24[_0x1b1fee(0x28e)]&&_0x9dda24[_0x1b1fee(0x362)])throw new TypeError(_0x1b1fee(0x283));if(_0x9dda24['port']!=null?(this[_0x1b1fee(0x30a)]=_0x15053d[_0x1b1fee(0x2e6)]((_0x1e88f4,_0x1d0f19)=>{const _0x1c3adc=_0x1b1fee,_0x455001=_0x15053d[_0x1c3adc(0x1e2)][0x1aa];_0x1d0f19[_0x1c3adc(0x263)](0x1aa,{'Content-Length':_0x455001[_0x1c3adc(0x227)],'Content-Type':_0x1c3adc(0x1f1)}),_0x1d0f19[_0x1c3adc(0x289)](_0x455001);}),this['_server'][_0x1b1fee(0x221)](_0x9dda24[_0x1b1fee(0x2c8)],_0x9dda24[_0x1b1fee(0x25c)],_0x9dda24[_0x1b1fee(0x205)],_0x4f1770)):_0x9dda24[_0x1b1fee(0x28e)]&&(this[_0x1b1fee(0x30a)]=_0x9dda24[_0x1b1fee(0x28e)]),this[_0x1b1fee(0x30a)]){const _0x4820f2=this[_0x1b1fee(0x1d1)]['bind'](this,_0x1b1fee(0x24a));this[_0x1b1fee(0x1f7)]=_0x164a52(this[_0x1b1fee(0x30a)],{'listening':this['emit']['bind'](this,'listening'),'error':this['emit'][_0x1b1fee(0x315)](this,'error'),'upgrade':(_0x1f14f3,_0x37a2dc,_0x227da3)=>{const _0x42bc21=_0x1b1fee;this[_0x42bc21(0x31c)](_0x1f14f3,_0x37a2dc,_0x227da3,_0x4820f2);}});}_0x9dda24[_0x1b1fee(0x1f6)]===!0x0&&(_0x9dda24[_0x1b1fee(0x1f6)]={}),_0x9dda24[_0x1b1fee(0x220)]&&(this['clients']=new Set(),this[_0x1b1fee(0x218)]=!0x1),this[_0x1b1fee(0x20c)]=_0x9dda24,this[_0x1b1fee(0x279)]=_0x3e2717;}[_0x3fd269(0x2ad)](){const _0x54a6a2=_0x3fd269;if(this[_0x54a6a2(0x20c)][_0x54a6a2(0x362)])throw new Error(_0x54a6a2(0x2a0));return this['_server']?this['_server']['address']():null;}[_0x3fd269(0x2c0)](_0x1cc293){const _0x2fcd35=_0x3fd269;if(this[_0x2fcd35(0x279)]===_0x5c2014){_0x1cc293&&this['once'](_0x2fcd35(0x2c0),()=>{const _0x929898=_0x2fcd35;_0x1cc293(new Error(_0x929898(0x1ec)));}),process[_0x2fcd35(0x1f3)](_0x54f656,this);return;}if(_0x1cc293&&this['once']('close',_0x1cc293),this['_state']!==_0x18d48){if(this[_0x2fcd35(0x279)]=_0x18d48,this['options'][_0x2fcd35(0x362)]||this['options'][_0x2fcd35(0x28e)])this[_0x2fcd35(0x30a)]&&(this['_removeListeners'](),this[_0x2fcd35(0x1f7)]=this[_0x2fcd35(0x30a)]=null),this[_0x2fcd35(0x2c1)]?this[_0x2fcd35(0x2c1)][_0x2fcd35(0x2ef)]?this[_0x2fcd35(0x218)]=!0x0:process['nextTick'](_0x54f656,this):process[_0x2fcd35(0x1f3)](_0x54f656,this);else{const _0xedcd5a=this[_0x2fcd35(0x30a)];this[_0x2fcd35(0x1f7)](),this['_removeListeners']=this[_0x2fcd35(0x30a)]=null,_0xedcd5a['close'](()=>{_0x54f656(this);});}}}[_0x3fd269(0x264)](_0x5eb534){const _0x402b46=_0x3fd269;if(this[_0x402b46(0x20c)][_0x402b46(0x1d0)]){const _0x472837=_0x5eb534[_0x402b46(0x224)]['indexOf']('?');if((_0x472837!==-0x1?_0x5eb534[_0x402b46(0x224)][_0x402b46(0x1ea)](0x0,_0x472837):_0x5eb534[_0x402b46(0x224)])!==this['options'][_0x402b46(0x1d0)])return!0x1;}return!0x0;}['handleUpgrade'](_0x324e52,_0x57039f,_0x1a3aab,_0x50c128){const _0x3b07f5=_0x3fd269;_0x57039f['on'](_0x3b07f5(0x26b),_0xcc0bc8);const _0x3429de=_0x324e52[_0x3b07f5(0x241)][_0x3b07f5(0x1d2)],_0x363f8c=_0x324e52[_0x3b07f5(0x241)]['upgrade'],_0x1b5719=+_0x324e52['headers']['sec-websocket-version'];if(_0x324e52['method']!=='GET'){_0xdeb806(this,_0x324e52,_0x57039f,0x195,_0x3b07f5(0x1d6));return;}if(_0x363f8c===void 0x0||_0x363f8c[_0x3b07f5(0x28b)]()!==_0x3b07f5(0x2e0)){_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x272));return;}if(_0x3429de===void 0x0||!_0x17d1eb[_0x3b07f5(0x1bf)](_0x3429de)){_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x375));return;}if(_0x1b5719!==0xd&&_0x1b5719!==0x8){_0xdeb806(this,_0x324e52,_0x57039f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x3b07f5(0x248)});return;}if(!this[_0x3b07f5(0x264)](_0x324e52)){_0x54c445(_0x57039f,0x190);return;}const _0x558566=_0x324e52['headers'][_0x3b07f5(0x340)];let _0x5b9665=new Set();if(_0x558566!==void 0x0)try{_0x5b9665=_0xc09a1d[_0x3b07f5(0x314)](_0x558566);}catch{_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x29e));return;}const _0x1bbeb7=_0x324e52[_0x3b07f5(0x241)][_0x3b07f5(0x292)],_0x2f85af={};if(this['options'][_0x3b07f5(0x1f6)]&&_0x1bbeb7!==void 0x0){const _0x2c8132=new _0x5da046(this[_0x3b07f5(0x20c)][_0x3b07f5(0x1f6)],!0x0,this[_0x3b07f5(0x20c)][_0x3b07f5(0x2d4)]);try{const _0x12bede=_0x6799a7[_0x3b07f5(0x314)](_0x1bbeb7);_0x12bede[_0x5da046[_0x3b07f5(0x321)]]&&(_0x2c8132[_0x3b07f5(0x27d)](_0x12bede[_0x5da046[_0x3b07f5(0x321)]]),_0x2f85af[_0x5da046[_0x3b07f5(0x321)]]=_0x2c8132);}catch{_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x33f));return;}}if(this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)]){const _0x186ebc={'origin':_0x324e52[_0x3b07f5(0x241)][''+(_0x1b5719===0x8?'sec-websocket-origin':_0x3b07f5(0x303))],'secure':!!(_0x324e52['socket'][_0x3b07f5(0x2cc)]||_0x324e52['socket'][_0x3b07f5(0x33d)]),'req':_0x324e52};if(this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)]['length']===0x2){this['options'][_0x3b07f5(0x2f7)](_0x186ebc,(_0x36e372,_0x344895,_0x58269d,_0x2eac50)=>{if(!_0x36e372)return _0x54c445(_0x57039f,_0x344895||0x191,_0x58269d,_0x2eac50);this['completeUpgrade'](_0x2f85af,_0x3429de,_0x5b9665,_0x324e52,_0x57039f,_0x1a3aab,_0x50c128);});return;}if(!this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)](_0x186ebc))return _0x54c445(_0x57039f,0x191);}this[_0x3b07f5(0x33a)](_0x2f85af,_0x3429de,_0x5b9665,_0x324e52,_0x57039f,_0x1a3aab,_0x50c128);}[_0x3fd269(0x33a)](_0x1354ce,_0x1d1586,_0x59ed19,_0x5bfa20,_0x1c4cb9,_0x4b74e1,_0x4db5d2){const _0x3cdd63=_0x3fd269;if(!_0x1c4cb9[_0x3cdd63(0x1e9)]||!_0x1c4cb9[_0x3cdd63(0x229)])return _0x1c4cb9[_0x3cdd63(0x1df)]();if(_0x1c4cb9[_0x4b0865])throw new Error(_0x3cdd63(0x267));if(this['_state']>_0x3e2717)return _0x54c445(_0x1c4cb9,0x1f7);const _0x1cb582=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3cdd63(0x310),'Connection:\x20Upgrade',_0x3cdd63(0x357)+_0x482113(_0x3cdd63(0x276))[_0x3cdd63(0x25d)](_0x1d1586+_0x1a17b)[_0x3cdd63(0x32b)](_0x3cdd63(0x30f))],_0x449654=new this[(_0x3cdd63(0x20c))][(_0x3cdd63(0x2b4))](null,void 0x0,this[_0x3cdd63(0x20c)]);if(_0x59ed19[_0x3cdd63(0x2ef)]){const _0x5c82d4=this[_0x3cdd63(0x20c)]['handleProtocols']?this[_0x3cdd63(0x20c)]['handleProtocols'](_0x59ed19,_0x5bfa20):_0x59ed19[_0x3cdd63(0x284)]()[_0x3cdd63(0x1ee)]()[_0x3cdd63(0x2c6)];_0x5c82d4&&(_0x1cb582['push'](_0x3cdd63(0x27e)+_0x5c82d4),_0x449654[_0x3cdd63(0x22d)]=_0x5c82d4);}if(_0x1354ce[_0x5da046[_0x3cdd63(0x321)]]){const _0x1142c4=_0x1354ce[_0x5da046['extensionName']][_0x3cdd63(0x291)],_0x543684=_0x6799a7[_0x3cdd63(0x285)]({[_0x5da046['extensionName']]:[_0x1142c4]});_0x1cb582[_0x3cdd63(0x21b)](_0x3cdd63(0x379)+_0x543684),_0x449654[_0x3cdd63(0x261)]=_0x1354ce;}this[_0x3cdd63(0x1d1)](_0x3cdd63(0x241),_0x1cb582,_0x5bfa20),_0x1c4cb9[_0x3cdd63(0x2d3)](_0x1cb582['concat']('\x0d\x0a')[_0x3cdd63(0x232)]('\x0d\x0a')),_0x1c4cb9['removeListener']('error',_0xcc0bc8),_0x449654['setSocket'](_0x1c4cb9,_0x4b74e1,{'allowSynchronousEvents':this[_0x3cdd63(0x20c)]['allowSynchronousEvents'],'maxPayload':this[_0x3cdd63(0x20c)]['maxPayload'],'skipUTF8Validation':this[_0x3cdd63(0x20c)][_0x3cdd63(0x1bd)]}),this[_0x3cdd63(0x2c1)]&&(this[_0x3cdd63(0x2c1)][_0x3cdd63(0x265)](_0x449654),_0x449654['on']('close',()=>{const _0x3b0f10=_0x3cdd63;this[_0x3b0f10(0x2c1)][_0x3b0f10(0x206)](_0x449654),this[_0x3b0f10(0x218)]&&!this[_0x3b0f10(0x2c1)][_0x3b0f10(0x2ef)]&&process[_0x3b0f10(0x1f3)](_0x54f656,this);})),_0x4db5d2(_0x449654,_0x5bfa20);}}Te=_0xdb7109;function _0x164a52(_0x4dd6e6,_0x2c096e){const _0x5dd615=_0x3fd269;for(const _0x39ea4 of Object[_0x5dd615(0x37d)](_0x2c096e))_0x4dd6e6['on'](_0x39ea4,_0x2c096e[_0x39ea4]);return function(){const _0x51a32e=_0x5dd615;for(const _0x5f2aee of Object[_0x51a32e(0x37d)](_0x2c096e))_0x4dd6e6[_0x51a32e(0x33b)](_0x5f2aee,_0x2c096e[_0x5f2aee]);};}function _0x54f656(_0x39d685){const _0x5691c2=_0x3fd269;_0x39d685['_state']=_0x5c2014,_0x39d685[_0x5691c2(0x1d1)](_0x5691c2(0x2c0));}function _0xcc0bc8(){const _0x7cd400=_0x3fd269;this[_0x7cd400(0x1df)]();}function _0x54c445(_0x33393b,_0x48f9ea,_0x498d96,_0x25dc3a){const _0x29b652=_0x3fd269;_0x498d96=_0x498d96||_0x15053d[_0x29b652(0x1e2)][_0x48f9ea],_0x25dc3a={'Connection':_0x29b652(0x2c0),'Content-Type':_0x29b652(0x254),'Content-Length':Buffer[_0x29b652(0x1c8)](_0x498d96),..._0x25dc3a},_0x33393b['once'](_0x29b652(0x2dd),_0x33393b[_0x29b652(0x1df)]),_0x33393b[_0x29b652(0x289)]('HTTP/1.1\x20'+_0x48f9ea+'\x20'+_0x15053d[_0x29b652(0x1e2)][_0x48f9ea]+'\x0d\x0a'+Object[_0x29b652(0x37d)](_0x25dc3a)['map'](_0x599c20=>_0x599c20+':\x20'+_0x25dc3a[_0x599c20])[_0x29b652(0x232)]('\x0d\x0a')+_0x29b652(0x240)+_0x498d96);}function _0xdeb806(_0x4715d6,_0x1c6cf3,_0x506b6d,_0x230e05,_0x477071,_0xda693){const _0x1ddb64=_0x3fd269;if(_0x4715d6['listenerCount'](_0x1ddb64(0x212))){const _0x4311f1=new Error(_0x477071);Error[_0x1ddb64(0x34e)](_0x4311f1,_0xdeb806),_0x4715d6[_0x1ddb64(0x1d1)]('wsClientError',_0x4311f1,_0x506b6d,_0x1c6cf3);}else _0x54c445(_0x506b6d,_0x230e05,_0x477071,_0xda693);}return Te;}Ft();var jt=Object[_0x572ec8(0x354)],Wt=(_0x3d1913,_0x50770d,_0x5235da,_0xa88f09)=>{const _0x110fbe=_0x572ec8;for(var _0xeccdd9=_0xa88f09>0x1?void 0x0:_0xa88f09?jt(_0x50770d,_0x5235da):_0x50770d,_0xcbf208=_0x3d1913[_0x110fbe(0x227)]-0x1,_0x9912d;_0xcbf208>=0x0;_0xcbf208--)(_0x9912d=_0x3d1913[_0xcbf208])&&(_0xeccdd9=_0x9912d(_0xeccdd9)||_0xeccdd9);return _0xeccdd9;},qt=(_0x5e173f,_0x10d39e)=>(_0x45a26a,_0x2137d6)=>_0x10d39e(_0x45a26a,_0x2137d6,_0x5e173f);let ke=class extends A[_0x572ec8(0x343)]{constructor(_0x2da6b3){const _0x4b44d7=_0x572ec8;super(),this[_0x4b44d7(0x246)]=_0x2da6b3;}[_0x572ec8(0x24e)](_0x43bb3b){const _0x305e2a=_0x572ec8;var _0x2c82c2;const _0x5c3764=(_0x2c82c2=this['_configService'][_0x305e2a(0x277)](fe))==null?void 0x0:_0x2c82c2[_0x305e2a(0x1c9)];try{const _0x284e93=new $t(_0x43bb3b,{'headers':{..._0x5c3764}}),_0x4c9368=new A[(_0x305e2a(0x302))]();return{'URL':_0x43bb3b,'close':(_0x37d075,_0x274fbc)=>{const _0x596d72=_0x305e2a;_0x284e93[_0x596d72(0x2c0)](_0x37d075,_0x274fbc),_0x4c9368[_0x596d72(0x2ea)]();},'send':_0x3af9e7=>{const _0x1bfbb9=_0x305e2a;_0x284e93[_0x1bfbb9(0x360)](_0x3af9e7);},'open$':new V['Observable'](_0x3b94df=>{const _0x4f378e=_0x305e2a,_0xa0e9ee=_0x2cc578=>_0x3b94df[_0x4f378e(0x1ee)](_0x2cc578);_0x284e93[_0x4f378e(0x2e9)](_0x4f378e(0x24c),_0xa0e9ee),_0x4c9368['add'](A['toDisposable'](()=>_0x284e93[_0x4f378e(0x2de)]('open',_0xa0e9ee)));})[_0x305e2a(0x316)](V['share']()),'close$':new V[(_0x305e2a(0x1f5))](_0x2c1fa9=>{const _0x20366a=_0x305e2a,_0x53dfed=_0xf916f6=>_0x2c1fa9['next'](_0xf916f6);_0x284e93['addEventListener']('close',_0x53dfed),_0x4c9368['add'](A[_0x20366a(0x2f3)](()=>_0x284e93[_0x20366a(0x2de)]('close',_0x53dfed)));})[_0x305e2a(0x316)](V['share']()),'error$':new V['Observable'](_0x1f7434=>{const _0x54c021=_0x305e2a,_0x5c9208=_0x550d68=>_0x1f7434['next'](_0x550d68);_0x284e93[_0x54c021(0x2e9)](_0x54c021(0x26b),_0x5c9208),_0x4c9368[_0x54c021(0x265)](A['toDisposable'](()=>_0x284e93[_0x54c021(0x2de)]('error',_0x5c9208)));})[_0x305e2a(0x316)](V[_0x305e2a(0x20d)]()),'message$':new V['Observable'](_0x2519c4=>{const _0x539e99=_0x305e2a,_0x1adc8f=_0x40cb76=>_0x2519c4['next'](_0x40cb76);_0x284e93[_0x539e99(0x2e9)]('message',_0x1adc8f),_0x4c9368[_0x539e99(0x265)](A[_0x539e99(0x2f3)](()=>_0x284e93[_0x539e99(0x2de)](_0x539e99(0x2d7),_0x1adc8f)));})[_0x305e2a(0x316)](V[_0x305e2a(0x20d)]())};}catch(_0x293677){return console[_0x305e2a(0x26b)](_0x293677),null;}}};ke=Wt([qt(0x0,A[_0x572ec8(0x2b6)])],ke);var Gt=Object[_0x572ec8(0x2b8)],Vt=Object[_0x572ec8(0x354)],Ht=(_0x3a4ae0,_0x4c5d58,_0x42ede4)=>_0x4c5d58 in _0x3a4ae0?Gt(_0x3a4ae0,_0x4c5d58,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42ede4}):_0x3a4ae0[_0x4c5d58]=_0x42ede4,zt=(_0x127636,_0x57d413,_0x28fddd,_0x30aa06)=>{const _0x5cf56f=_0x572ec8;for(var _0x1f759c=_0x30aa06>0x1?void 0x0:_0x30aa06?Vt(_0x57d413,_0x28fddd):_0x57d413,_0x4a761e=_0x127636[_0x5cf56f(0x227)]-0x1,_0x4c19be;_0x4a761e>=0x0;_0x4a761e--)(_0x4c19be=_0x127636[_0x4a761e])&&(_0x1f759c=_0x4c19be(_0x1f759c)||_0x1f759c);return _0x1f759c;},Ne=(_0x1b54c3,_0x706fa2)=>(_0xf6642b,_0x2a6ec5)=>_0x706fa2(_0xf6642b,_0x2a6ec5,_0x1b54c3),Yt=(_0x3f0d67,_0x2c1bbd,_0xfd876b)=>Ht(_0x3f0d67,_0x2c1bbd+'',_0xfd876b);exports[_0x572ec8(0x242)]=class extends A[_0x572ec8(0x1da)]{constructor(_0x3f6f4b=Ct,_0x2176b3,_0x5b030d,_0x30e462){const _0x4d635b=_0x572ec8;_0x3f6f4b[_0x4d635b(0x1c9)]||_0x2176b3[_0x4d635b(0x203)](_0x4d635b(0x2f4)),super(),this[_0x4d635b(0x246)]=_0x5b030d,this[_0x4d635b(0x1f8)]=_0x30e462,this[_0x4d635b(0x246)][_0x4d635b(0x2da)](fe,_0x3f6f4b);}['onStarting'](){const _0x31b692=_0x572ec8;this[_0x31b692(0x282)]();}[_0x572ec8(0x282)](){const _0x1875d0=_0x572ec8;A['registerDependencies'](this['_injector'],[[it[_0x1875d0(0x27a)],{'useClass':ke}]]);}},Yt(exports[_0x572ec8(0x242)],_0x572ec8(0x377),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x572ec8(0x213)](st[_0x572ec8(0x2d5)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x572ec8(0x2b6)]),Ne(0x3,A[_0x572ec8(0x2b2)](A['Injector']))],exports[_0x572ec8(0x242)]);var Kt=Object[_0x572ec8(0x354)],Xt=(_0x271c75,_0x277109,_0x837ccc,_0x462c20)=>{const _0x5b7ead=_0x572ec8;for(var _0x33e402=_0x462c20>0x1?void 0x0:_0x462c20?Kt(_0x277109,_0x837ccc):_0x277109,_0x8cc2f0=_0x271c75[_0x5b7ead(0x227)]-0x1,_0x29fea5;_0x8cc2f0>=0x0;_0x8cc2f0--)(_0x29fea5=_0x271c75[_0x8cc2f0])&&(_0x33e402=_0x29fea5(_0x33e402)||_0x33e402);return _0x33e402;},ne=(_0x5c3ae7,_0x53e7af)=>(_0x251e7e,_0x1e571e)=>_0x53e7af(_0x251e7e,_0x1e571e,_0x5c3ae7);exports[_0x572ec8(0x304)]=class extends st[_0x572ec8(0x311)]{constructor(_0x174ad7,_0x238266,_0xbe0fb,_0x56efb8,_0x18c7be){const _0x31a7db=_0x572ec8;super(_0x174ad7,_0x238266,_0xbe0fb,_0x56efb8,_0x18c7be);const _0x22a038=this[_0x31a7db(0x246)][_0x31a7db(0x277)](fe);this[_0x31a7db(0x2e4)]['registerHTTPInterceptor']({'interceptor':(_0x231570,_0x4ced95)=>{const _0x3ec835=_0x31a7db;var _0x2a0fec;const _0x51308f=_0x231570[_0x3ec835(0x241)];return(_0x2a0fec=_0x22a038==null?void 0x0:_0x22a038[_0x3ec835(0x1c9)])!=null&&_0x2a0fec['cookie']&&_0x51308f[_0x3ec835(0x341)](_0x3ec835(0x1e0),_0x22a038['customHeaders']['cookie']),_0x4ced95(_0x231570);}});}async[_0x572ec8(0x24e)](_0x14af4b){const _0x50f82f=_0x572ec8;return this[_0x50f82f(0x290)](_0x14af4b);}},exports[_0x572ec8(0x304)]=Xt([ne(0x0,A[_0x572ec8(0x2b2)](A['Injector'])),ne(0x1,A[_0x572ec8(0x2b2)](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x572ec8(0x2a8)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;