@univerjs-pro/collaboration-client-node 0.10.11-nightly.202510220308 → 0.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4c4d18=_0x11b5;(function(_0x3ce92a,_0x2413e4){const _0x38f747=_0x11b5,_0xe94f22=_0x3ce92a();while(!![]){try{const _0x1a353d=-parseInt(_0x38f747(0x259))/0x1*(-parseInt(_0x38f747(0x2bc))/0x2)+parseInt(_0x38f747(0x224))/0x3*(-parseInt(_0x38f747(0x27a))/0x4)+parseInt(_0x38f747(0x1ff))/0x5*(-parseInt(_0x38f747(0x2b8))/0x6)+-parseInt(_0x38f747(0x1f8))/0x7*(-parseInt(_0x38f747(0x21a))/0x8)+-parseInt(_0x38f747(0x1d8))/0x9*(-parseInt(_0x38f747(0x2e1))/0xa)+-parseInt(_0x38f747(0x2b0))/0xb+parseInt(_0x38f747(0x278))/0xc*(parseInt(_0x38f747(0x154))/0xd);if(_0x1a353d===_0x2413e4)break;else _0xe94f22['push'](_0xe94f22['shift']());}catch(_0x2d3cb6){_0xe94f22['push'](_0xe94f22['shift']());}}}(_0xf76a,0xd8f59));function _0xf76a(){const _0x5db7fc=['WS_ERR_EXPECTED_FIN','nodebuffer','\x0d\x0a\x0d\x0a','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','binary','The\x20server\x20is\x20not\x20running','registerHTTPInterceptor','timeout','toLowerCase','isValidUTF8','CONNECTING','_no_context_takeover','isBuffer','_masked','ILogService','_compress','_fragmented','Connection:\x20Upgrade','controlMessage','_queue','8KLilGS','kError','_closeCode','_errorEmitted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createConnection','callback','serverMaxWindowBits','listenerCount','WS_ERR_INVALID_OPCODE','19746WhaNxM','update','RSV1\x20must\x20be\x20clear','haveLength','_httpService','uncork','Upgrade:\x20websocket','kRun','options','_server','Inject','UniverCollaborationClientPlugin','Sec-WebSocket-Accept:\x20','forEach','from','server_max_window_bits','map','resume','host','includes','object','set','string','wasClean','error','dataMessage','STATUS_CODES','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','function','readUInt16BE','getInfo','serverNoContextTakeover','generateMask','_autoPong','_max_window_bits','authorization','clientMaxWindowBits','needDrain','terminate','pong','size','GET','_decompress','open','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Cookie','WS_ERR_INVALID_UTF8','_writableState','writeUIntBE','invalid\x20UTF-8\x20sequence','_bufferedBytes','code','_socket','68384WHXqAU','handshakeTimeout','pipe','Upgrade','sec-websocket-origin','_readableState','noServer','binaryType','verifyClient','server','followRedirects','consume','password','isPaused','socket','alloc','type','Invalid\x20Sec-WebSocket-Extensions\x20header','threshold','cookie','_loop','unshift','jobs','readOnly','_errored','parse','writable','File','_messageLength','decompress','_binaryType','12jfoWZb','clients','848RBbydy','add','setTimeout','_redirects','call','skipUTF8Validation','onerror','_allowSynchronousEvents','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','writeUInt16BE','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_receiver','Module','_opcode','kWasClean','accept','Observable','_originalHostOrSocketPath','Max\x20payload\x20size\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WS_NO_UTF_8_VALIDATE','byteLength','\x22:\x20','sha1','DisposableCollection','_buffers','_isServer','backlog','next','nextTick','_sender','_url','unmask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_generateMask','WS_ERR_UNEXPECTED_MASK','redirect','sec-websocket-extensions','WS_ERR_UNEXPECTED_RSV_1','_threshold','sendFrame','getConfig','WS_ERR_UNEXPECTED_RSV_2_3','arraybuffer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','handleProtocols','invalid\x20opcode\x20','Opening\x20handshake\x20has\x20timed\x20out','_totalPayloadLength','_skipUTF8Validation','connection','handleEvent','10044958gYhRgS','_readyState','defaultPort','Unexpected\x20server\x20response:\x20','warn','onStarting','server_no_context_takeover','onclose','52914WQUFak','Invalid\x20value\x20for\x20parameter\x20\x22','toDisposable','request','4fTOyKW','default','kType','_fragments','normalizeParams','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','clientNoContextTakeover','catch','handleUpgrade','acceptAsClient','text/plain','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','apply','createSocket','setSocket','_paused','finishRequest','entries','params','pathname','concurrencyLimit','_protocol','hash','flush','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','create','Invalid\x20Sec-WebSocket-Protocol\x20header','_mask','_final','url','status-code','removeAllListeners','href','exports','values','Parameter\x20\x22','76480yRSRKs','WebSocket\x20is\x20not\x20open:\x20readyState\x20','customHeaders','fin','total-length','authorized','acceptAsServer','_registerDependencies','path','upgrade','connect','Injector','offer','_closeFrameReceived','UniverCollaborationClientNodePlugin','share','abort','OPEN','reset','_firstFragment','defineProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','push','end','_extensions','createDeflateRaw','pause','CLOSING','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','protocolVersion','objectMode','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','once','slice','_originalSecure','maxPayload','emitClose','getData','dispatch','_injector','close','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','56261959uUUYuS','digest','freeze','Basic\x20','bind','extensions','listen','opcode','kReason','permessage-deflate','DependentOn','getOwnPropertyDescriptor','hasOwnProperty','toStringTag','WS_ERR_INVALID_CLOSE_CODE','invalid\x20payload\x20length\x20','keys','target','maxRedirects','unexpected-response','client_max_window_bits','_closeMessage','IConfigService','Unexpected\x20character\x20at\x20index\x20','_read','sec-websocket-protocol','charCodeAt','writeHead','mask','number','listening','ping','_req','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Invalid\x20HTTP\x20method','client','clientTracking','ws:','extensionName','env','listeners','_deflate','_configService','_payloadLength','CLOSED','concurrency','_closeFrameSent','Unexpected\x20end\x20of\x20input','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','arrayBuffer','send','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Protocol','readUInt32BE','_bufferedAmount','setHeader','_doCreateSocket','Unknown\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','rsv1','Invalid\x20URL:\x20','enqueue','removeEventListener','shift','_options','getMask','port','location','Blob','The\x20URL\x20contains\x20a\x20fragment\x20identifier','dequeue','readable','origin','isArray','\x22\x20subprotocol\x20is\x20duplicated','username','base64','createError','auth','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','drain','Unsupported\x20protocol\x20version:\x20','statusCode','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','toString','write','emit','hostname','socketPath','CollaborationSocketService','message','_maxPayload','_compressed','websocket','frame','replace','byteOffset','errorEmitted','species','maskBuffer','isInteger','FIN\x20must\x20be\x20set','join','invalid\x20opcode\x200','completeUpgrade','\x20(supported\x20versions:\x20','concat','startLoop','_removeListeners','protocol','isIP','Sec-WebSocket-Origin','address','_destroy','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-accept','pow','servername','__esModule','pending','finish','createServer','Plugin','_shouldEmitClose','client_no_context_takeover','_state','addEventListener','endEmitted','isServer','_closeTimer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','189YwEnwq','getPayloadLength64','_write','setNoDelay','headers','reason','_maskBuffer','perMessageDeflate','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','onopen','read','prototype','removeListener','indexOf','_fin','cork','setConfig','Z_DEFAULT_WINDOWBITS','readyState','cleanup','destroy','shouldHandle','data','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','startsWith','construct','conclude','destroyed','wsClientError','NodeCollaborationSocketService','_originalIpc','getBlobData','1548127qSJtLs','encrypted','allocUnsafe','compress','MASK\x20must\x20be\x20clear','finished','length','935DggQYJ','allowSynchronousEvents','The\x20\x22','_inflate','Invalid\x20Upgrade\x20header','captureStackTrace','13,\x208'];_0xf76a=function(){return _0x5db7fc;};return _0xf76a();}Object['defineProperty'](exports,Symbol[_0x4c4d18(0x161)],{'value':_0x4c4d18(0x288)});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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5bb2b6){const _0x51ed74=_0x4c4d18;return _0x5bb2b6&&_0x5bb2b6[_0x51ed74(0x1cb)]&&Object[_0x51ed74(0x1e3)]['hasOwnProperty'][_0x51ed74(0x27e)](_0x5bb2b6,_0x51ed74(0x2bd))?_0x5bb2b6[_0x51ed74(0x2bd)]:_0x5bb2b6;}function at(_0x1314be){const _0x51f006=_0x4c4d18;if(Object['prototype'][_0x51f006(0x160)][_0x51f006(0x27e)](_0x1314be,_0x51f006(0x1cb)))return _0x1314be;var _0x48104=_0x1314be[_0x51f006(0x2bd)];if(typeof _0x48104==_0x51f006(0x240)){var _0x69955c=function _0x301f20(){const _0x139821=_0x51f006;var _0x1689d1=!0x1;try{_0x1689d1=this instanceof _0x301f20;}catch{}return _0x1689d1?Reflect[_0x139821(0x1f1)](_0x48104,arguments,this['constructor']):_0x48104['apply'](this,arguments);};_0x69955c['prototype']=_0x48104['prototype'];}else _0x69955c={};return Object[_0x51f006(0x2f5)](_0x69955c,_0x51f006(0x1cb),{'value':!0x0}),Object[_0x51f006(0x164)](_0x1314be)[_0x51f006(0x231)](function(_0x24feae){const _0x19e6bb=_0x51f006;var _0x38fa58=Object[_0x19e6bb(0x15f)](_0x1314be,_0x24feae);Object[_0x19e6bb(0x2f5)](_0x69955c,_0x24feae,_0x38fa58['get']?_0x38fa58:{'enumerable':!0x0,'get':function(){return _0x1314be[_0x24feae];}});}),_0x69955c;}var se={'exports':{}},ge,Ge;function H(){const _0x41ef22=_0x4c4d18;if(Ge)return ge;Ge=0x1;const _0x5e37f1=[_0x41ef22(0x207),_0x41ef22(0x2a7),'fragments'],_0x205c63=typeof Blob<'u';return _0x205c63&&_0x5e37f1[_0x41ef22(0x2f7)]('blob'),ge={'BINARY_TYPES':_0x5e37f1,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x41ef22(0x21e),'hasBlob':_0x205c63,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x41ef22(0x2db)),'kWebSocket':Symbol(_0x41ef22(0x1b2)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4c4d18(0x156)](Object[_0x4c4d18(0x2f5)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x104ae3=_0x4c4d18;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x52a097}=H(),_0x3ff572=Buffer[Symbol[_0x104ae3(0x1b7)]];function _0x261b62(_0x4070c9,_0x53ac3a){const _0x5c0a0f=_0x104ae3;if(_0x4070c9['length']===0x0)return _0x52a097;if(_0x4070c9[_0x5c0a0f(0x1fe)]===0x1)return _0x4070c9[0x0];const _0xcee568=Buffer[_0x5c0a0f(0x1fa)](_0x53ac3a);let _0x2fbfb2=0x0;for(let _0x4c52b4=0x0;_0x4c52b4<_0x4070c9[_0x5c0a0f(0x1fe)];_0x4c52b4++){const _0x6ce4=_0x4070c9[_0x4c52b4];_0xcee568[_0x5c0a0f(0x239)](_0x6ce4,_0x2fbfb2),_0x2fbfb2+=_0x6ce4['length'];}return _0x2fbfb2<_0x53ac3a?new _0x3ff572(_0xcee568['buffer'],_0xcee568[_0x5c0a0f(0x1b5)],_0x2fbfb2):_0xcee568;}function _0xb1089d(_0x26865b,_0x1ef78b,_0x53c167,_0x293487,_0x1c9fd0){for(let _0x13b6ba=0x0;_0x13b6ba<_0x1c9fd0;_0x13b6ba++)_0x53c167[_0x293487+_0x13b6ba]=_0x26865b[_0x13b6ba]^_0x1ef78b[_0x13b6ba&0x3];}function _0x19b50f(_0x2b8d85,_0x2bcadd){const _0x23d04f=_0x104ae3;for(let _0x54c3aa=0x0;_0x54c3aa<_0x2b8d85[_0x23d04f(0x1fe)];_0x54c3aa++)_0x2b8d85[_0x54c3aa]^=_0x2bcadd[_0x54c3aa&0x3];}function _0x360ed3(_0xa27000){const _0x370f05=_0x104ae3;return _0xa27000['length']===_0xa27000[_0x370f05(0x1a8)][_0x370f05(0x291)]?_0xa27000[_0x370f05(0x1a8)]:_0xa27000[_0x370f05(0x1a8)][_0x370f05(0x14b)](_0xa27000[_0x370f05(0x1b5)],_0xa27000[_0x370f05(0x1b5)]+_0xa27000[_0x370f05(0x1fe)]);}function _0x41b239(_0x3ee304){const _0x521b66=_0x104ae3;if(_0x41b239['readOnly']=!0x0,Buffer[_0x521b66(0x212)](_0x3ee304))return _0x3ee304;let _0x3dedd0;return _0x3ee304 instanceof ArrayBuffer?_0x3dedd0=new _0x3ff572(_0x3ee304):ArrayBuffer['isView'](_0x3ee304)?_0x3dedd0=new _0x3ff572(_0x3ee304[_0x521b66(0x1a8)],_0x3ee304['byteOffset'],_0x3ee304['byteLength']):(_0x3dedd0=Buffer[_0x521b66(0x232)](_0x3ee304),_0x41b239[_0x521b66(0x270)]=!0x1),_0x3dedd0;}if(se[_0x104ae3(0x2de)]={'concat':_0x261b62,'mask':_0xb1089d,'toArrayBuffer':_0x360ed3,'toBuffer':_0x41b239,'unmask':_0x19b50f},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ea88e=Lt;se['exports']['mask']=function(_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162){_0x57d162<0x30?_0xb1089d(_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162):_0x1ea88e['mask'](_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162);},se['exports'][_0x104ae3(0x29c)]=function(_0x33afd6,_0x5c03c3){const _0x16ee9c=_0x104ae3;_0x33afd6[_0x16ee9c(0x1fe)]<0x20?_0x19b50f(_0x33afd6,_0x5c03c3):_0x1ea88e['unmask'](_0x33afd6,_0x5c03c3);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x1cbce8=_0x4c4d18;if(He)return ye;He=0x1;const _0x2f3fad=Symbol('kDone'),_0x329168=Symbol(_0x1cbce8(0x22b));class _0x2922b5{constructor(_0x3afb44){const _0x109b54=_0x1cbce8;this[_0x2f3fad]=()=>{const _0x4a41b6=_0x11b5;this[_0x4a41b6(0x1cc)]--,this[_0x329168]();},this['concurrency']=_0x3afb44||0x1/0x0,this[_0x109b54(0x26f)]=[],this[_0x109b54(0x1cc)]=0x0;}['add'](_0x1d3a0a){const _0x245562=_0x1cbce8;this[_0x245562(0x26f)][_0x245562(0x2f7)](_0x1d3a0a),this[_0x329168]();}[_0x329168](){const _0x3d9ab6=_0x1cbce8;if(this[_0x3d9ab6(0x1cc)]!==this[_0x3d9ab6(0x181)]&&this[_0x3d9ab6(0x26f)][_0x3d9ab6(0x1fe)]){const _0x3bb176=this['jobs'][_0x3d9ab6(0x193)]();this[_0x3d9ab6(0x1cc)]++,_0x3bb176(this[_0x2f3fad]);}}}return ye=_0x2922b5,ye;}var ve,ze;function he(){const _0x3c3524=_0x4c4d18;if(ze)return ve;ze=0x1;const _0x67f713=bt,_0x2a4190=ce(),_0x5a4ee3=Pt(),{kStatusCode:_0xc7c40a}=H(),_0x51e5df=Buffer[Symbol[_0x3c3524(0x1b7)]],_0x5e6781=Buffer[_0x3c3524(0x232)]([0x0,0x0,0xff,0xff]),_0x14ed6e=Symbol(_0x3c3524(0x15d)),_0x4927ae=Symbol(_0x3c3524(0x2e5)),_0x150e40=Symbol(_0x3c3524(0x220)),_0x50b535=Symbol('buffers'),_0xa74d42=Symbol(_0x3c3524(0x23c));let _0x2506c6;class _0x144979{constructor(_0x1b17a1,_0x5bc770,_0x1e0e53){const _0x5abb1a=_0x3c3524;if(this['_maxPayload']=_0x1e0e53|0x0,this[_0x5abb1a(0x194)]=_0x1b17a1||{},this['_threshold']=this[_0x5abb1a(0x194)][_0x5abb1a(0x26b)]!==void 0x0?this[_0x5abb1a(0x194)]['threshold']:0x400,this[_0x5abb1a(0x296)]=!!_0x5bc770,this[_0x5abb1a(0x17d)]=null,this['_inflate']=null,this[_0x5abb1a(0x2ce)]=null,!_0x2506c6){const _0x2b9fab=this[_0x5abb1a(0x194)][_0x5abb1a(0x2d0)]!==void 0x0?this[_0x5abb1a(0x194)][_0x5abb1a(0x2d0)]:0xa;_0x2506c6=new _0x5a4ee3(_0x2b9fab);}}static get[_0x3c3524(0x17a)](){return'permessage-deflate';}[_0x3c3524(0x2ed)](){const _0x7cbc17=_0x3c3524,_0x5865d3={};return this[_0x7cbc17(0x194)][_0x7cbc17(0x243)]&&(_0x5865d3[_0x7cbc17(0x2b6)]=!0x0),this[_0x7cbc17(0x194)][_0x7cbc17(0x2c2)]&&(_0x5865d3[_0x7cbc17(0x1d1)]=!0x0),this[_0x7cbc17(0x194)]['serverMaxWindowBits']&&(_0x5865d3[_0x7cbc17(0x233)]=this[_0x7cbc17(0x194)][_0x7cbc17(0x221)]),this[_0x7cbc17(0x194)]['clientMaxWindowBits']?_0x5865d3['client_max_window_bits']=this[_0x7cbc17(0x194)][_0x7cbc17(0x248)]:this[_0x7cbc17(0x194)][_0x7cbc17(0x248)]==null&&(_0x5865d3[_0x7cbc17(0x168)]=!0x0),_0x5865d3;}[_0x3c3524(0x28b)](_0x3b39d7){const _0x4a2266=_0x3c3524;return _0x3b39d7=this['normalizeParams'](_0x3b39d7),this[_0x4a2266(0x2ce)]=this[_0x4a2266(0x296)]?this[_0x4a2266(0x2e7)](_0x3b39d7):this[_0x4a2266(0x2c5)](_0x3b39d7),this[_0x4a2266(0x2ce)];}[_0x3c3524(0x1eb)](){const _0x5693c7=_0x3c3524;if(this[_0x5693c7(0x202)]&&(this[_0x5693c7(0x202)][_0x5693c7(0x152)](),this[_0x5693c7(0x202)]=null),this[_0x5693c7(0x17d)]){const _0x4f38ec=this['_deflate'][_0x150e40];this[_0x5693c7(0x17d)][_0x5693c7(0x152)](),this['_deflate']=null,_0x4f38ec&&_0x4f38ec(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3c3524(0x2e7)](_0x5236d3){const _0x2a43d7=_0x3c3524,_0x69eb49=this[_0x2a43d7(0x194)],_0x49a3a6=_0x5236d3['find'](_0x4f96a3=>!(_0x69eb49[_0x2a43d7(0x243)]===!0x1&&_0x4f96a3[_0x2a43d7(0x2b6)]||_0x4f96a3[_0x2a43d7(0x233)]&&(_0x69eb49['serverMaxWindowBits']===!0x1||typeof _0x69eb49[_0x2a43d7(0x221)]==_0x2a43d7(0x171)&&_0x69eb49[_0x2a43d7(0x221)]>_0x4f96a3[_0x2a43d7(0x233)])||typeof _0x69eb49['clientMaxWindowBits']==_0x2a43d7(0x171)&&!_0x4f96a3[_0x2a43d7(0x168)]));if(!_0x49a3a6)throw new Error(_0x2a43d7(0x286));return _0x69eb49['serverNoContextTakeover']&&(_0x49a3a6['server_no_context_takeover']=!0x0),_0x69eb49[_0x2a43d7(0x2c2)]&&(_0x49a3a6['client_no_context_takeover']=!0x0),typeof _0x69eb49[_0x2a43d7(0x221)]==_0x2a43d7(0x171)&&(_0x49a3a6['server_max_window_bits']=_0x69eb49['serverMaxWindowBits']),typeof _0x69eb49['clientMaxWindowBits']==_0x2a43d7(0x171)?_0x49a3a6['client_max_window_bits']=_0x69eb49['clientMaxWindowBits']:(_0x49a3a6[_0x2a43d7(0x168)]===!0x0||_0x69eb49[_0x2a43d7(0x248)]===!0x1)&&delete _0x49a3a6[_0x2a43d7(0x168)],_0x49a3a6;}[_0x3c3524(0x2c5)](_0x1fddb0){const _0x2a0244=_0x3c3524,_0x243310=_0x1fddb0[0x0];if(this[_0x2a0244(0x194)]['clientNoContextTakeover']===!0x1&&_0x243310[_0x2a0244(0x1d1)])throw new Error(_0x2a0244(0x284));if(!_0x243310['client_max_window_bits'])typeof this[_0x2a0244(0x194)][_0x2a0244(0x248)]==_0x2a0244(0x171)&&(_0x243310[_0x2a0244(0x168)]=this[_0x2a0244(0x194)]['clientMaxWindowBits']);else{if(this[_0x2a0244(0x194)][_0x2a0244(0x248)]===!0x1||typeof this[_0x2a0244(0x194)][_0x2a0244(0x248)]==_0x2a0244(0x171)&&_0x243310[_0x2a0244(0x168)]>this[_0x2a0244(0x194)][_0x2a0244(0x248)])throw new Error(_0x2a0244(0x1a3));}return _0x243310;}[_0x3c3524(0x2c0)](_0x8cef08){const _0x4840aa=_0x3c3524;return _0x8cef08[_0x4840aa(0x231)](_0x307bdb=>{const _0x442264=_0x4840aa;Object['keys'](_0x307bdb)[_0x442264(0x231)](_0x30df7f=>{const _0x382e84=_0x442264;let _0x839587=_0x307bdb[_0x30df7f];if(_0x839587[_0x382e84(0x1fe)]>0x1)throw new Error(_0x382e84(0x2e0)+_0x30df7f+_0x382e84(0x282));if(_0x839587=_0x839587[0x0],_0x30df7f===_0x382e84(0x168)){if(_0x839587!==!0x0){const _0x30d7e3=+_0x839587;if(!Number[_0x382e84(0x1b9)](_0x30d7e3)||_0x30d7e3<0x8||_0x30d7e3>0xf)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);_0x839587=_0x30d7e3;}else{if(!this[_0x382e84(0x296)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x30df7f+'\x22:\x20'+_0x839587);}}else{if(_0x30df7f===_0x382e84(0x233)){const _0x4526da=+_0x839587;if(!Number[_0x382e84(0x1b9)](_0x4526da)||_0x4526da<0x8||_0x4526da>0xf)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);_0x839587=_0x4526da;}else{if(_0x30df7f==='client_no_context_takeover'||_0x30df7f===_0x382e84(0x2b6)){if(_0x839587!==!0x0)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);}else throw new Error(_0x382e84(0x18d)+_0x30df7f+'\x22');}}_0x307bdb[_0x30df7f]=_0x839587;});}),_0x8cef08;}[_0x3c3524(0x276)](_0x4ff66d,_0x47d995,_0x2f345){const _0x34ce81=_0x3c3524;_0x2506c6[_0x34ce81(0x27b)](_0x498675=>{const _0x2a93e0=_0x34ce81;this[_0x2a93e0(0x24e)](_0x4ff66d,_0x47d995,(_0x42b0ca,_0xc1dd5f)=>{_0x498675(),_0x2f345(_0x42b0ca,_0xc1dd5f);});});}[_0x3c3524(0x1fb)](_0x1dc70d,_0xb8df5c,_0x587b26){const _0x4f3e59=_0x3c3524;_0x2506c6[_0x4f3e59(0x27b)](_0x226769=>{const _0x3857ee=_0x4f3e59;this[_0x3857ee(0x215)](_0x1dc70d,_0xb8df5c,(_0x579024,_0x5a6481)=>{_0x226769(),_0x587b26(_0x579024,_0x5a6481);});});}[_0x3c3524(0x24e)](_0x4762d6,_0x5d3723,_0x3247af){const _0x1b223a=_0x3c3524,_0x353ec4=this[_0x1b223a(0x296)]?_0x1b223a(0x177):'server';if(!this[_0x1b223a(0x202)]){const _0x37f0eb=_0x353ec4+_0x1b223a(0x246),_0x3242fa=typeof this[_0x1b223a(0x2ce)][_0x37f0eb]!=_0x1b223a(0x171)?_0x67f713[_0x1b223a(0x1e9)]:this['params'][_0x37f0eb];this[_0x1b223a(0x202)]=_0x67f713['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x3242fa}),this[_0x1b223a(0x202)][_0x14ed6e]=this,this['_inflate'][_0x4927ae]=0x0,this[_0x1b223a(0x202)][_0x50b535]=[],this['_inflate']['on'](_0x1b223a(0x23c),_0x23a26b),this[_0x1b223a(0x202)]['on'](_0x1b223a(0x1ee),_0x1f3ae3);}this[_0x1b223a(0x202)][_0x150e40]=_0x3247af,this[_0x1b223a(0x202)][_0x1b223a(0x1aa)](_0x4762d6),_0x5d3723&&this[_0x1b223a(0x202)][_0x1b223a(0x1aa)](_0x5e6781),this['_inflate'][_0x1b223a(0x2d3)](()=>{const _0x1424b2=_0x1b223a,_0x582f20=this[_0x1424b2(0x202)][_0xa74d42];if(_0x582f20){this['_inflate'][_0x1424b2(0x152)](),this[_0x1424b2(0x202)]=null,_0x3247af(_0x582f20);return;}const _0x3b055a=_0x2a4190[_0x1424b2(0x1bf)](this[_0x1424b2(0x202)][_0x50b535],this[_0x1424b2(0x202)][_0x4927ae]);this[_0x1424b2(0x202)]['_readableState'][_0x1424b2(0x1d4)]?(this[_0x1424b2(0x202)][_0x1424b2(0x152)](),this[_0x1424b2(0x202)]=null):(this['_inflate'][_0x4927ae]=0x0,this[_0x1424b2(0x202)][_0x50b535]=[],_0x5d3723&&this[_0x1424b2(0x2ce)][_0x353ec4+_0x1424b2(0x211)]&&this[_0x1424b2(0x202)][_0x1424b2(0x2f3)]()),_0x3247af(null,_0x3b055a);});}[_0x3c3524(0x215)](_0x55400f,_0x48ebb5,_0x46a5ba){const _0x86aa7f=_0x3c3524,_0x1b27fd=this[_0x86aa7f(0x296)]?_0x86aa7f(0x262):_0x86aa7f(0x177);if(!this[_0x86aa7f(0x17d)]){const _0x4b797f=_0x1b27fd+_0x86aa7f(0x246),_0x1f818b=typeof this['params'][_0x4b797f]!='number'?_0x67f713[_0x86aa7f(0x1e9)]:this['params'][_0x4b797f];this[_0x86aa7f(0x17d)]=_0x67f713[_0x86aa7f(0x2fa)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x1f818b}),this[_0x86aa7f(0x17d)][_0x4927ae]=0x0,this[_0x86aa7f(0x17d)][_0x50b535]=[],this[_0x86aa7f(0x17d)]['on']('data',_0x213248);}this['_deflate'][_0x150e40]=_0x46a5ba,this['_deflate'][_0x86aa7f(0x1aa)](_0x55400f),this['_deflate'][_0x86aa7f(0x2d3)](_0x67f713['Z_SYNC_FLUSH'],()=>{const _0x36de9a=_0x86aa7f;if(!this[_0x36de9a(0x17d)])return;let _0x37245c=_0x2a4190['concat'](this[_0x36de9a(0x17d)][_0x50b535],this[_0x36de9a(0x17d)][_0x4927ae]);_0x48ebb5&&(_0x37245c=new _0x51e5df(_0x37245c[_0x36de9a(0x1a8)],_0x37245c[_0x36de9a(0x1b5)],_0x37245c[_0x36de9a(0x1fe)]-0x4)),this[_0x36de9a(0x17d)][_0x150e40]=null,this[_0x36de9a(0x17d)][_0x4927ae]=0x0,this['_deflate'][_0x50b535]=[],_0x48ebb5&&this[_0x36de9a(0x2ce)][_0x1b27fd+'_no_context_takeover']&&this[_0x36de9a(0x17d)][_0x36de9a(0x2f3)](),_0x46a5ba(null,_0x37245c);});}}ve=_0x144979;function _0x213248(_0x33d6dc){const _0x1a7cc5=_0x3c3524;this[_0x50b535]['push'](_0x33d6dc),this[_0x4927ae]+=_0x33d6dc[_0x1a7cc5(0x1fe)];}function _0x1f3ae3(_0x991da5){const _0x3d8343=_0x3c3524;if(this[_0x4927ae]+=_0x991da5[_0x3d8343(0x1fe)],this[_0x14ed6e][_0x3d8343(0x1b0)]<0x1||this[_0x4927ae]<=this[_0x14ed6e]['_maxPayload']){this[_0x50b535][_0x3d8343(0x2f7)](_0x991da5);return;}this[_0xa74d42]=new RangeError(_0x3d8343(0x28e)),this[_0xa74d42][_0x3d8343(0x257)]=_0x3d8343(0x1a7),this[_0xa74d42][_0xc7c40a]=0x3f1,this[_0x3d8343(0x1e4)](_0x3d8343(0x1ee),_0x1f3ae3),this[_0x3d8343(0x2f3)]();}function _0x23a26b(_0x4e8273){const _0x2c5b62=_0x3c3524;if(this[_0x14ed6e][_0x2c5b62(0x202)]=null,this[_0xa74d42]){this[_0x150e40](this[_0xa74d42]);return;}_0x4e8273[_0xc7c40a]=0x3ef,this[_0x150e40](_0x4e8273);}return ve;}var ie={'exports':{}};function _0x11b5(_0x61fdb8,_0x263c50){const _0xf76aef=_0xf76a();return _0x11b5=function(_0x11b5a7,_0x25f508){_0x11b5a7=_0x11b5a7-0x148;let _0x1c2915=_0xf76aef[_0x11b5a7];return _0x1c2915;},_0x11b5(_0x61fdb8,_0x263c50);}const Dt={},Rt=Object[_0x4c4d18(0x156)](Object[_0x4c4d18(0x2f5)]({'__proto__':null,'default':Dt},Symbol[_0x4c4d18(0x161)],{'value':_0x4c4d18(0x288)})),Bt=at(Rt);var Ye;function ae(){const _0x5d5b7d=_0x4c4d18;if(Ye)return ie[_0x5d5b7d(0x2de)];Ye=0x1;const {isUtf8:_0x41343a}=wt,{hasBlob:_0x37aba9}=H(),_0x40f922=[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 _0x3b17dc(_0x13b844){return _0x13b844>=0x3e8&&_0x13b844<=0x3f6&&_0x13b844!==0x3ec&&_0x13b844!==0x3ed&&_0x13b844!==0x3ee||_0x13b844>=0xbb8&&_0x13b844<=0x1387;}function _0x2791ba(_0x4e4087){const _0x38f72b=_0x4e4087['length'];let _0x224d94=0x0;for(;_0x224d94<_0x38f72b;)if((_0x4e4087[_0x224d94]&0x80)===0x0)_0x224d94++;else{if((_0x4e4087[_0x224d94]&0xe0)===0xc0){if(_0x224d94+0x1===_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94]&0xfe)===0xc0)return!0x1;_0x224d94+=0x2;}else{if((_0x4e4087[_0x224d94]&0xf0)===0xe0){if(_0x224d94+0x2>=_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x2]&0xc0)!==0x80||_0x4e4087[_0x224d94]===0xe0&&(_0x4e4087[_0x224d94+0x1]&0xe0)===0x80||_0x4e4087[_0x224d94]===0xed&&(_0x4e4087[_0x224d94+0x1]&0xe0)===0xa0)return!0x1;_0x224d94+=0x3;}else{if((_0x4e4087[_0x224d94]&0xf8)===0xf0){if(_0x224d94+0x3>=_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x2]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x3]&0xc0)!==0x80||_0x4e4087[_0x224d94]===0xf0&&(_0x4e4087[_0x224d94+0x1]&0xf0)===0x80||_0x4e4087[_0x224d94]===0xf4&&_0x4e4087[_0x224d94+0x1]>0x8f||_0x4e4087[_0x224d94]>0xf4)return!0x1;_0x224d94+=0x4;}else return!0x1;}}}return!0x0;}function _0x53b8e3(_0x267f11){const _0x5b735a=_0x5d5b7d;return _0x37aba9&&typeof _0x267f11==_0x5b735a(0x238)&&typeof _0x267f11[_0x5b735a(0x185)]=='function'&&typeof _0x267f11['type']==_0x5b735a(0x23a)&&typeof _0x267f11['stream']==_0x5b735a(0x240)&&(_0x267f11[Symbol['toStringTag']]===_0x5b735a(0x198)||_0x267f11[Symbol[_0x5b735a(0x161)]]===_0x5b735a(0x274));}if(ie['exports']={'isBlob':_0x53b8e3,'isValidStatusCode':_0x3b17dc,'isValidUTF8':_0x2791ba,'tokenChars':_0x40f922},_0x41343a)ie[_0x5d5b7d(0x2de)][_0x5d5b7d(0x20f)]=function(_0x227082){const _0x211fea=_0x5d5b7d;return _0x227082[_0x211fea(0x1fe)]<0x18?_0x2791ba(_0x227082):_0x41343a(_0x227082);};else{if(!process[_0x5d5b7d(0x17b)][_0x5d5b7d(0x290)])try{const _0xbbb560=Bt;ie[_0x5d5b7d(0x2de)][_0x5d5b7d(0x20f)]=function(_0x1412c7){return _0x1412c7['length']<0x20?_0x2791ba(_0x1412c7):_0xbbb560(_0x1412c7);};}catch{}}return ie[_0x5d5b7d(0x2de)];}var Se,Ke;function lt(){const _0x33b5fa=_0x4c4d18;if(Ke)return Se;Ke=0x1;const {Writable:_0x2ad0b7}=oe,_0x47f97c=he(),{BINARY_TYPES:_0x3232a1,EMPTY_BUFFER:_0x5127f7,kStatusCode:_0x2af186,kWebSocket:_0x1d4fcd}=H(),{concat:_0x2748d2,toArrayBuffer:_0x41818b,unmask:_0x28246d}=ce(),{isValidStatusCode:_0xea7444,isValidUTF8:_0x579556}=ae(),_0xad9d43=Buffer[Symbol[_0x33b5fa(0x1b7)]],_0x494a97=0x0,_0x151811=0x1,_0x537964=0x2,_0x35231c=0x3,_0x150123=0x4,_0x1792f8=0x5,_0x44fc4c=0x6;class _0x4f9b01 extends _0x2ad0b7{constructor(_0x3b1157={}){const _0x98479a=_0x33b5fa;super(),this[_0x98479a(0x281)]=_0x3b1157[_0x98479a(0x200)]!==void 0x0?_0x3b1157[_0x98479a(0x200)]:!0x0,this[_0x98479a(0x277)]=_0x3b1157[_0x98479a(0x260)]||_0x3232a1[0x0],this[_0x98479a(0x2f9)]=_0x3b1157[_0x98479a(0x159)]||{},this['_isServer']=!!_0x3b1157[_0x98479a(0x1d5)],this[_0x98479a(0x1b0)]=_0x3b1157[_0x98479a(0x14d)]|0x0,this[_0x98479a(0x2ad)]=!!_0x3b1157[_0x98479a(0x27f)],this[_0x1d4fcd]=void 0x0,this[_0x98479a(0x256)]=0x0,this['_buffers']=[],this[_0x98479a(0x1b1)]=!0x1,this[_0x98479a(0x17f)]=0x0,this[_0x98479a(0x2d8)]=void 0x0,this[_0x98479a(0x216)]=0x0,this[_0x98479a(0x213)]=!0x1,this[_0x98479a(0x1e6)]=!0x1,this[_0x98479a(0x289)]=0x0,this[_0x98479a(0x2ac)]=0x0,this[_0x98479a(0x275)]=0x0,this[_0x98479a(0x2bf)]=[],this[_0x98479a(0x271)]=!0x1,this[_0x98479a(0x26d)]=!0x1,this[_0x98479a(0x1d2)]=_0x494a97;}[_0x33b5fa(0x1da)](_0x2f1b75,_0x1aa340,_0x429403){const _0x99be94=_0x33b5fa;if(this[_0x99be94(0x289)]===0x8&&this[_0x99be94(0x1d2)]==_0x494a97)return _0x429403();this[_0x99be94(0x256)]+=_0x2f1b75[_0x99be94(0x1fe)],this[_0x99be94(0x295)][_0x99be94(0x2f7)](_0x2f1b75),this[_0x99be94(0x1c0)](_0x429403);}[_0x33b5fa(0x264)](_0x5a16e5){const _0x250b12=_0x33b5fa;if(this[_0x250b12(0x256)]-=_0x5a16e5,_0x5a16e5===this[_0x250b12(0x295)][0x0]['length'])return this['_buffers']['shift']();if(_0x5a16e5<this['_buffers'][0x0][_0x250b12(0x1fe)]){const _0x5c2fd8=this[_0x250b12(0x295)][0x0];return this['_buffers'][0x0]=new _0xad9d43(_0x5c2fd8['buffer'],_0x5c2fd8[_0x250b12(0x1b5)]+_0x5a16e5,_0x5c2fd8['length']-_0x5a16e5),new _0xad9d43(_0x5c2fd8[_0x250b12(0x1a8)],_0x5c2fd8[_0x250b12(0x1b5)],_0x5a16e5);}const _0x777850=Buffer[_0x250b12(0x1fa)](_0x5a16e5);do{const _0x1f02d0=this[_0x250b12(0x295)][0x0],_0x246e96=_0x777850[_0x250b12(0x1fe)]-_0x5a16e5;_0x5a16e5>=_0x1f02d0['length']?_0x777850['set'](this[_0x250b12(0x295)][_0x250b12(0x193)](),_0x246e96):(_0x777850[_0x250b12(0x239)](new Uint8Array(_0x1f02d0['buffer'],_0x1f02d0['byteOffset'],_0x5a16e5),_0x246e96),this[_0x250b12(0x295)][0x0]=new _0xad9d43(_0x1f02d0[_0x250b12(0x1a8)],_0x1f02d0['byteOffset']+_0x5a16e5,_0x1f02d0['length']-_0x5a16e5)),_0x5a16e5-=_0x1f02d0[_0x250b12(0x1fe)];}while(_0x5a16e5>0x0);return _0x777850;}[_0x33b5fa(0x1c0)](_0x345fe3){const _0x261adc=_0x33b5fa;this[_0x261adc(0x26d)]=!0x0;do switch(this['_state']){case _0x494a97:this[_0x261adc(0x242)](_0x345fe3);break;case _0x151811:this[_0x261adc(0x283)](_0x345fe3);break;case _0x537964:this[_0x261adc(0x1d9)](_0x345fe3);break;case _0x35231c:this['getMask']();break;case _0x150123:this[_0x261adc(0x14f)](_0x345fe3);break;case _0x1792f8:case _0x44fc4c:this[_0x261adc(0x26d)]=!0x1;return;}while(this[_0x261adc(0x26d)]);this[_0x261adc(0x271)]||_0x345fe3();}[_0x33b5fa(0x242)](_0x26da7c){const _0x18f6d0=_0x33b5fa;if(this[_0x18f6d0(0x256)]<0x2){this[_0x18f6d0(0x26d)]=!0x1;return;}const _0x2225ef=this[_0x18f6d0(0x264)](0x2);if((_0x2225ef[0x0]&0x30)!==0x0){const _0x32494e=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x209),!0x0,0x3ea,_0x18f6d0(0x2a6));_0x26da7c(_0x32494e);return;}const _0x2701e4=(_0x2225ef[0x0]&0x40)===0x40;if(_0x2701e4&&!this[_0x18f6d0(0x2f9)][_0x47f97c[_0x18f6d0(0x17a)]]){const _0x4d8c30=this[_0x18f6d0(0x1a1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x26da7c(_0x4d8c30);return;}if(this[_0x18f6d0(0x1e6)]=(_0x2225ef[0x0]&0x80)===0x80,this[_0x18f6d0(0x289)]=_0x2225ef[0x0]&0xf,this[_0x18f6d0(0x17f)]=_0x2225ef[0x1]&0x7f,this['_opcode']===0x0){if(_0x2701e4){const _0x489a07=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x226),!0x0,0x3ea,_0x18f6d0(0x2a2));_0x26da7c(_0x489a07);return;}if(!this[_0x18f6d0(0x216)]){const _0x58284d=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1bc),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x26da7c(_0x58284d);return;}this[_0x18f6d0(0x289)]=this[_0x18f6d0(0x216)];}else{if(this['_opcode']===0x1||this[_0x18f6d0(0x289)]===0x2){if(this[_0x18f6d0(0x216)]){const _0x529666=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x2aa)+this[_0x18f6d0(0x289)],!0x0,0x3ea,_0x18f6d0(0x223));_0x26da7c(_0x529666);return;}this[_0x18f6d0(0x1b1)]=_0x2701e4;}else{if(this[_0x18f6d0(0x289)]>0x7&&this['_opcode']<0xb){if(!this[_0x18f6d0(0x1e6)]){const _0x37f634=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1ba),!0x0,0x3ea,_0x18f6d0(0x206));_0x26da7c(_0x37f634);return;}if(_0x2701e4){const _0x3ae2b1=this[_0x18f6d0(0x1a1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x18f6d0(0x2a2));_0x26da7c(_0x3ae2b1);return;}if(this[_0x18f6d0(0x17f)]>0x7d||this['_opcode']===0x8&&this[_0x18f6d0(0x17f)]===0x1){const _0x15c64a=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x163)+this[_0x18f6d0(0x17f)],!0x0,0x3ea,_0x18f6d0(0x1e0));_0x26da7c(_0x15c64a);return;}}else{const _0x5ba980=this[_0x18f6d0(0x1a1)](RangeError,'invalid\x20opcode\x20'+this[_0x18f6d0(0x289)],!0x0,0x3ea,_0x18f6d0(0x223));_0x26da7c(_0x5ba980);return;}}}if(!this[_0x18f6d0(0x1e6)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x18f6d0(0x289)]),this['_masked']=(_0x2225ef[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x18f6d0(0x213)]){const _0x278b3a=this[_0x18f6d0(0x1a1)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x26da7c(_0x278b3a);return;}}else{if(this[_0x18f6d0(0x213)]){const _0x3554ed=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1fc),!0x0,0x3ea,_0x18f6d0(0x29f));_0x26da7c(_0x3554ed);return;}}this['_payloadLength']===0x7e?this['_state']=_0x151811:this['_payloadLength']===0x7f?this[_0x18f6d0(0x1d2)]=_0x537964:this['haveLength'](_0x26da7c);}[_0x33b5fa(0x283)](_0x514029){const _0xa1bd82=_0x33b5fa;if(this[_0xa1bd82(0x256)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0xa1bd82(0x264)](0x2)[_0xa1bd82(0x241)](0x0),this[_0xa1bd82(0x227)](_0x514029);}[_0x33b5fa(0x1d9)](_0x236ca9){const _0x3cd17e=_0x33b5fa;if(this[_0x3cd17e(0x256)]<0x8){this[_0x3cd17e(0x26d)]=!0x1;return;}const _0x5dc13b=this[_0x3cd17e(0x264)](0x8),_0x20aef3=_0x5dc13b['readUInt32BE'](0x0);if(_0x20aef3>Math[_0x3cd17e(0x1c9)](0x2,0x15)-0x1){const _0x19b871=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3cd17e(0x23f));_0x236ca9(_0x19b871);return;}this['_payloadLength']=_0x20aef3*Math[_0x3cd17e(0x1c9)](0x2,0x20)+_0x5dc13b[_0x3cd17e(0x189)](0x4),this[_0x3cd17e(0x227)](_0x236ca9);}['haveLength'](_0x8a1dca){const _0x2d7775=_0x33b5fa;if(this[_0x2d7775(0x17f)]&&this[_0x2d7775(0x289)]<0x8&&(this[_0x2d7775(0x2ac)]+=this[_0x2d7775(0x17f)],this[_0x2d7775(0x2ac)]>this['_maxPayload']&&this[_0x2d7775(0x1b0)]>0x0)){const _0x56d8a1=this[_0x2d7775(0x1a1)](RangeError,_0x2d7775(0x28e),!0x1,0x3f1,_0x2d7775(0x1a7));_0x8a1dca(_0x56d8a1);return;}this['_masked']?this[_0x2d7775(0x1d2)]=_0x35231c:this[_0x2d7775(0x1d2)]=_0x150123;}[_0x33b5fa(0x195)](){const _0x2e9d7c=_0x33b5fa;if(this[_0x2e9d7c(0x256)]<0x4){this[_0x2e9d7c(0x26d)]=!0x1;return;}this[_0x2e9d7c(0x2d8)]=this[_0x2e9d7c(0x264)](0x4),this[_0x2e9d7c(0x1d2)]=_0x150123;}['getData'](_0x6f4c5){const _0x4685ea=_0x33b5fa;let _0x9188a4=_0x5127f7;if(this[_0x4685ea(0x17f)]){if(this[_0x4685ea(0x256)]<this[_0x4685ea(0x17f)]){this[_0x4685ea(0x26d)]=!0x1;return;}_0x9188a4=this[_0x4685ea(0x264)](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x4685ea(0x2d8)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x28246d(_0x9188a4,this[_0x4685ea(0x2d8)]);}if(this[_0x4685ea(0x289)]>0x7){this[_0x4685ea(0x218)](_0x9188a4,_0x6f4c5);return;}if(this[_0x4685ea(0x1b1)]){this[_0x4685ea(0x1d2)]=_0x1792f8,this['decompress'](_0x9188a4,_0x6f4c5);return;}_0x9188a4[_0x4685ea(0x1fe)]&&(this['_messageLength']=this[_0x4685ea(0x2ac)],this[_0x4685ea(0x2bf)][_0x4685ea(0x2f7)](_0x9188a4)),this[_0x4685ea(0x23d)](_0x6f4c5);}['decompress'](_0x2a5430,_0x2e8fb6){const _0x5e4407=_0x33b5fa;this['_extensions'][_0x47f97c[_0x5e4407(0x17a)]][_0x5e4407(0x276)](_0x2a5430,this[_0x5e4407(0x1e6)],(_0x4dfbe5,_0x19715a)=>{const _0x2201a1=_0x5e4407;if(_0x4dfbe5)return _0x2e8fb6(_0x4dfbe5);if(_0x19715a[_0x2201a1(0x1fe)]){if(this['_messageLength']+=_0x19715a[_0x2201a1(0x1fe)],this[_0x2201a1(0x275)]>this['_maxPayload']&&this[_0x2201a1(0x1b0)]>0x0){const _0x37c14d=this[_0x2201a1(0x1a1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2201a1(0x1a7));_0x2e8fb6(_0x37c14d);return;}this[_0x2201a1(0x2bf)]['push'](_0x19715a);}this[_0x2201a1(0x23d)](_0x2e8fb6),this[_0x2201a1(0x1d2)]===_0x494a97&&this[_0x2201a1(0x1c0)](_0x2e8fb6);});}['dataMessage'](_0x3ef6e3){const _0x28f716=_0x33b5fa;if(!this[_0x28f716(0x1e6)]){this[_0x28f716(0x1d2)]=_0x494a97;return;}const _0xece132=this['_messageLength'],_0x5b781c=this[_0x28f716(0x2bf)];if(this['_totalPayloadLength']=0x0,this[_0x28f716(0x275)]=0x0,this['_fragmented']=0x0,this[_0x28f716(0x2bf)]=[],this['_opcode']===0x2){let _0x318561;this['_binaryType']===_0x28f716(0x207)?_0x318561=_0x2748d2(_0x5b781c,_0xece132):this[_0x28f716(0x277)]===_0x28f716(0x2a7)?_0x318561=_0x41818b(_0x2748d2(_0x5b781c,_0xece132)):this[_0x28f716(0x277)]==='blob'?_0x318561=new Blob(_0x5b781c):_0x318561=_0x5b781c,this[_0x28f716(0x281)]?(this[_0x28f716(0x1ab)](_0x28f716(0x1af),_0x318561,!0x0),this[_0x28f716(0x1d2)]=_0x494a97):(this['_state']=_0x44fc4c,setImmediate(()=>{const _0x339e06=_0x28f716;this['emit'](_0x339e06(0x1af),_0x318561,!0x0),this[_0x339e06(0x1d2)]=_0x494a97,this[_0x339e06(0x1c0)](_0x3ef6e3);}));}else{const _0x38019b=_0x2748d2(_0x5b781c,_0xece132);if(!this['_skipUTF8Validation']&&!_0x579556(_0x38019b)){const _0x16844f=this[_0x28f716(0x1a1)](Error,_0x28f716(0x255),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3ef6e3(_0x16844f);return;}this[_0x28f716(0x1d2)]===_0x1792f8||this[_0x28f716(0x281)]?(this[_0x28f716(0x1ab)](_0x28f716(0x1af),_0x38019b,!0x1),this[_0x28f716(0x1d2)]=_0x494a97):(this[_0x28f716(0x1d2)]=_0x44fc4c,setImmediate(()=>{const _0x14fad4=_0x28f716;this[_0x14fad4(0x1ab)]('message',_0x38019b,!0x1),this[_0x14fad4(0x1d2)]=_0x494a97,this[_0x14fad4(0x1c0)](_0x3ef6e3);}));}}[_0x33b5fa(0x218)](_0x48bd5a,_0x4f68e3){const _0x454ada=_0x33b5fa;if(this[_0x454ada(0x289)]===0x8){if(_0x48bd5a[_0x454ada(0x1fe)]===0x0)this[_0x454ada(0x26d)]=!0x1,this[_0x454ada(0x1ab)]('conclude',0x3ed,_0x5127f7),this['end']();else{const _0xd7a349=_0x48bd5a['readUInt16BE'](0x0);if(!_0xea7444(_0xd7a349)){const _0x36d7d8=this[_0x454ada(0x1a1)](RangeError,'invalid\x20status\x20code\x20'+_0xd7a349,!0x0,0x3ea,_0x454ada(0x162));_0x4f68e3(_0x36d7d8);return;}const _0x410acd=new _0xad9d43(_0x48bd5a[_0x454ada(0x1a8)],_0x48bd5a[_0x454ada(0x1b5)]+0x2,_0x48bd5a[_0x454ada(0x1fe)]-0x2);if(!this[_0x454ada(0x2ad)]&&!_0x579556(_0x410acd)){const _0x45175c=this[_0x454ada(0x1a1)](Error,_0x454ada(0x255),!0x0,0x3ef,_0x454ada(0x252));_0x4f68e3(_0x45175c);return;}this[_0x454ada(0x26d)]=!0x1,this['emit'](_0x454ada(0x1f2),_0xd7a349,_0x410acd),this[_0x454ada(0x2f8)]();}this['_state']=_0x494a97;return;}this[_0x454ada(0x281)]?(this[_0x454ada(0x1ab)](this[_0x454ada(0x289)]===0x9?_0x454ada(0x173):_0x454ada(0x24b),_0x48bd5a),this[_0x454ada(0x1d2)]=_0x494a97):(this['_state']=_0x44fc4c,setImmediate(()=>{const _0x330968=_0x454ada;this[_0x330968(0x1ab)](this['_opcode']===0x9?'ping':_0x330968(0x24b),_0x48bd5a),this[_0x330968(0x1d2)]=_0x494a97,this['startLoop'](_0x4f68e3);}));}[_0x33b5fa(0x1a1)](_0x50e550,_0x11446b,_0x228130,_0x59a7bb,_0x4fea40){const _0x22c245=_0x33b5fa;this[_0x22c245(0x26d)]=!0x1,this[_0x22c245(0x271)]=!0x0;const _0x58edc8=new _0x50e550(_0x228130?'Invalid\x20WebSocket\x20frame:\x20'+_0x11446b:_0x11446b);return Error[_0x22c245(0x204)](_0x58edc8,this[_0x22c245(0x1a1)]),_0x58edc8[_0x22c245(0x257)]=_0x4fea40,_0x58edc8[_0x2af186]=_0x59a7bb,_0x58edc8;}}return Se=_0x4f9b01,Se;}var Ee,Xe;function ft(){const _0x5df611=_0x4c4d18;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x31a12c}=oe,{randomFillSync:_0x4fcffb}=Le,_0x30ea2a=he(),{EMPTY_BUFFER:_0x98f72c,kWebSocket:_0x179d5d,NOOP:_0x5f58ee}=H(),{isBlob:_0x16c5d6,isValidStatusCode:_0x11c2be}=ae(),{mask:_0x2a4472,toBuffer:_0x2886ed}=ce(),_0x1351ad=Symbol('kByteLength'),_0x155d58=Buffer['alloc'](0x4),_0x5cadde=0x8*0x400;let _0x22353c,_0x52099e=_0x5cadde;const _0x1f6ce3=0x0,_0x3d9940=0x1,_0x10667d=0x2;class _0x56cb21{constructor(_0x7a3996,_0x1797b6,_0x80d767){const _0xa8a0d4=_0x11b5;this[_0xa8a0d4(0x2f9)]=_0x1797b6||{},_0x80d767&&(this[_0xa8a0d4(0x29e)]=_0x80d767,this[_0xa8a0d4(0x1de)]=Buffer['alloc'](0x4)),this[_0xa8a0d4(0x258)]=_0x7a3996,this[_0xa8a0d4(0x2f4)]=!0x0,this[_0xa8a0d4(0x215)]=!0x1,this[_0xa8a0d4(0x256)]=0x0,this['_queue']=[],this[_0xa8a0d4(0x1d2)]=_0x1f6ce3,this[_0xa8a0d4(0x280)]=_0x5f58ee,this[_0x179d5d]=void 0x0;}static['frame'](_0x1d43cd,_0x5538b4){const _0x6a56d7=_0x11b5;let _0xc0425,_0x4ef801=!0x1,_0x1e8699=0x2,_0x56108b=!0x1;_0x5538b4[_0x6a56d7(0x170)]&&(_0xc0425=_0x5538b4[_0x6a56d7(0x1b8)]||_0x155d58,_0x5538b4['generateMask']?_0x5538b4[_0x6a56d7(0x244)](_0xc0425):(_0x52099e===_0x5cadde&&(_0x22353c===void 0x0&&(_0x22353c=Buffer[_0x6a56d7(0x268)](_0x5cadde)),_0x4fcffb(_0x22353c,0x0,_0x5cadde),_0x52099e=0x0),_0xc0425[0x0]=_0x22353c[_0x52099e++],_0xc0425[0x1]=_0x22353c[_0x52099e++],_0xc0425[0x2]=_0x22353c[_0x52099e++],_0xc0425[0x3]=_0x22353c[_0x52099e++]),_0x56108b=(_0xc0425[0x0]|_0xc0425[0x1]|_0xc0425[0x2]|_0xc0425[0x3])===0x0,_0x1e8699=0x6);let _0x57df94;typeof _0x1d43cd==_0x6a56d7(0x23a)?(!_0x5538b4[_0x6a56d7(0x170)]||_0x56108b)&&_0x5538b4[_0x1351ad]!==void 0x0?_0x57df94=_0x5538b4[_0x1351ad]:(_0x1d43cd=Buffer[_0x6a56d7(0x232)](_0x1d43cd),_0x57df94=_0x1d43cd[_0x6a56d7(0x1fe)]):(_0x57df94=_0x1d43cd['length'],_0x4ef801=_0x5538b4[_0x6a56d7(0x170)]&&_0x5538b4[_0x6a56d7(0x270)]&&!_0x56108b);let _0x4a648a=_0x57df94;_0x57df94>=0x10000?(_0x1e8699+=0x8,_0x4a648a=0x7f):_0x57df94>0x7d&&(_0x1e8699+=0x2,_0x4a648a=0x7e);const _0x3b6655=Buffer['allocUnsafe'](_0x4ef801?_0x57df94+_0x1e8699:_0x1e8699);return _0x3b6655[0x0]=_0x5538b4[_0x6a56d7(0x2e4)]?_0x5538b4['opcode']|0x80:_0x5538b4[_0x6a56d7(0x15b)],_0x5538b4[_0x6a56d7(0x18f)]&&(_0x3b6655[0x0]|=0x40),_0x3b6655[0x1]=_0x4a648a,_0x4a648a===0x7e?_0x3b6655['writeUInt16BE'](_0x57df94,0x2):_0x4a648a===0x7f&&(_0x3b6655[0x2]=_0x3b6655[0x3]=0x0,_0x3b6655[_0x6a56d7(0x254)](_0x57df94,0x4,0x6)),_0x5538b4['mask']?(_0x3b6655[0x1]|=0x80,_0x3b6655[_0x1e8699-0x4]=_0xc0425[0x0],_0x3b6655[_0x1e8699-0x3]=_0xc0425[0x1],_0x3b6655[_0x1e8699-0x2]=_0xc0425[0x2],_0x3b6655[_0x1e8699-0x1]=_0xc0425[0x3],_0x56108b?[_0x3b6655,_0x1d43cd]:_0x4ef801?(_0x2a4472(_0x1d43cd,_0xc0425,_0x3b6655,_0x1e8699,_0x57df94),[_0x3b6655]):(_0x2a4472(_0x1d43cd,_0xc0425,_0x1d43cd,0x0,_0x57df94),[_0x3b6655,_0x1d43cd])):[_0x3b6655,_0x1d43cd];}[_0x5df611(0x152)](_0x45c6f1,_0x2c5d0e,_0x59e371,_0x1af5a6){const _0x59aa1d=_0x5df611;let _0x282a0c;if(_0x45c6f1===void 0x0)_0x282a0c=_0x98f72c;else{if(typeof _0x45c6f1!=_0x59aa1d(0x171)||!_0x11c2be(_0x45c6f1))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2c5d0e===void 0x0||!_0x2c5d0e['length'])_0x282a0c=Buffer[_0x59aa1d(0x1fa)](0x2),_0x282a0c[_0x59aa1d(0x285)](_0x45c6f1,0x0);else{const _0x4b6465=Buffer['byteLength'](_0x2c5d0e);if(_0x4b6465>0x7b)throw new RangeError(_0x59aa1d(0x2a8));_0x282a0c=Buffer[_0x59aa1d(0x1fa)](0x2+_0x4b6465),_0x282a0c[_0x59aa1d(0x285)](_0x45c6f1,0x0),typeof _0x2c5d0e=='string'?_0x282a0c['write'](_0x2c5d0e,0x2):_0x282a0c['set'](_0x2c5d0e,0x2);}}const _0x5715c8={[_0x1351ad]:_0x282a0c[_0x59aa1d(0x1fe)],'fin':!0x0,'generateMask':this[_0x59aa1d(0x29e)],'mask':_0x59e371,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x59aa1d(0x1d2)]!==_0x1f6ce3?this[_0x59aa1d(0x191)]([this[_0x59aa1d(0x150)],_0x282a0c,!0x1,_0x5715c8,_0x1af5a6]):this['sendFrame'](_0x56cb21[_0x59aa1d(0x1b3)](_0x282a0c,_0x5715c8),_0x1af5a6);}['ping'](_0x45d2b4,_0x50683d,_0x5c1155){const _0x2ccbc1=_0x5df611;let _0x4ff085,_0xc0eed4;if(typeof _0x45d2b4==_0x2ccbc1(0x23a)?(_0x4ff085=Buffer[_0x2ccbc1(0x291)](_0x45d2b4),_0xc0eed4=!0x1):_0x16c5d6(_0x45d2b4)?(_0x4ff085=_0x45d2b4[_0x2ccbc1(0x24c)],_0xc0eed4=!0x1):(_0x45d2b4=_0x2886ed(_0x45d2b4),_0x4ff085=_0x45d2b4[_0x2ccbc1(0x1fe)],_0xc0eed4=_0x2886ed['readOnly']),_0x4ff085>0x7d)throw new RangeError(_0x2ccbc1(0x2c1));const _0x4d4660={[_0x1351ad]:_0x4ff085,'fin':!0x0,'generateMask':this[_0x2ccbc1(0x29e)],'mask':_0x50683d,'maskBuffer':this[_0x2ccbc1(0x1de)],'opcode':0x9,'readOnly':_0xc0eed4,'rsv1':!0x1};_0x16c5d6(_0x45d2b4)?this[_0x2ccbc1(0x1d2)]!==_0x1f6ce3?this[_0x2ccbc1(0x191)]([this[_0x2ccbc1(0x1f7)],_0x45d2b4,!0x1,_0x4d4660,_0x5c1155]):this[_0x2ccbc1(0x1f7)](_0x45d2b4,!0x1,_0x4d4660,_0x5c1155):this[_0x2ccbc1(0x1d2)]!==_0x1f6ce3?this[_0x2ccbc1(0x191)]([this['dispatch'],_0x45d2b4,!0x1,_0x4d4660,_0x5c1155]):this[_0x2ccbc1(0x2a4)](_0x56cb21[_0x2ccbc1(0x1b3)](_0x45d2b4,_0x4d4660),_0x5c1155);}[_0x5df611(0x24b)](_0x2331da,_0x29bf2c,_0x28e2a7){const _0x511b6f=_0x5df611;let _0x5f0e69,_0x7a8336;if(typeof _0x2331da==_0x511b6f(0x23a)?(_0x5f0e69=Buffer[_0x511b6f(0x291)](_0x2331da),_0x7a8336=!0x1):_0x16c5d6(_0x2331da)?(_0x5f0e69=_0x2331da['size'],_0x7a8336=!0x1):(_0x2331da=_0x2886ed(_0x2331da),_0x5f0e69=_0x2331da[_0x511b6f(0x1fe)],_0x7a8336=_0x2886ed[_0x511b6f(0x270)]),_0x5f0e69>0x7d)throw new RangeError(_0x511b6f(0x2c1));const _0x2e796c={[_0x1351ad]:_0x5f0e69,'fin':!0x0,'generateMask':this[_0x511b6f(0x29e)],'mask':_0x29bf2c,'maskBuffer':this[_0x511b6f(0x1de)],'opcode':0xa,'readOnly':_0x7a8336,'rsv1':!0x1};_0x16c5d6(_0x2331da)?this[_0x511b6f(0x1d2)]!==_0x1f6ce3?this[_0x511b6f(0x191)]([this[_0x511b6f(0x1f7)],_0x2331da,!0x1,_0x2e796c,_0x28e2a7]):this[_0x511b6f(0x1f7)](_0x2331da,!0x1,_0x2e796c,_0x28e2a7):this[_0x511b6f(0x1d2)]!==_0x1f6ce3?this[_0x511b6f(0x191)]([this[_0x511b6f(0x150)],_0x2331da,!0x1,_0x2e796c,_0x28e2a7]):this[_0x511b6f(0x2a4)](_0x56cb21[_0x511b6f(0x1b3)](_0x2331da,_0x2e796c),_0x28e2a7);}['send'](_0x1f091b,_0x1611a1,_0x4f64a1){const _0x10ff55=_0x5df611,_0x35f6f4=this[_0x10ff55(0x2f9)][_0x30ea2a[_0x10ff55(0x17a)]];let _0x43a276=_0x1611a1[_0x10ff55(0x20a)]?0x2:0x1,_0x2a60bb=_0x1611a1[_0x10ff55(0x1fb)],_0x130726,_0xb0dcc6;typeof _0x1f091b==_0x10ff55(0x23a)?(_0x130726=Buffer[_0x10ff55(0x291)](_0x1f091b),_0xb0dcc6=!0x1):_0x16c5d6(_0x1f091b)?(_0x130726=_0x1f091b['size'],_0xb0dcc6=!0x1):(_0x1f091b=_0x2886ed(_0x1f091b),_0x130726=_0x1f091b[_0x10ff55(0x1fe)],_0xb0dcc6=_0x2886ed['readOnly']),this['_firstFragment']?(this[_0x10ff55(0x2f4)]=!0x1,_0x2a60bb&&_0x35f6f4&&_0x35f6f4[_0x10ff55(0x2ce)][_0x35f6f4[_0x10ff55(0x296)]?_0x10ff55(0x2b6):_0x10ff55(0x1d1)]&&(_0x2a60bb=_0x130726>=_0x35f6f4[_0x10ff55(0x2a3)]),this[_0x10ff55(0x215)]=_0x2a60bb):(_0x2a60bb=!0x1,_0x43a276=0x0),_0x1611a1[_0x10ff55(0x2e4)]&&(this[_0x10ff55(0x2f4)]=!0x0);const _0x1e235a={[_0x1351ad]:_0x130726,'fin':_0x1611a1[_0x10ff55(0x2e4)],'generateMask':this[_0x10ff55(0x29e)],'mask':_0x1611a1['mask'],'maskBuffer':this[_0x10ff55(0x1de)],'opcode':_0x43a276,'readOnly':_0xb0dcc6,'rsv1':_0x2a60bb};_0x16c5d6(_0x1f091b)?this['_state']!==_0x1f6ce3?this['enqueue']([this[_0x10ff55(0x1f7)],_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1]):this[_0x10ff55(0x1f7)](_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1):this[_0x10ff55(0x1d2)]!==_0x1f6ce3?this[_0x10ff55(0x191)]([this[_0x10ff55(0x150)],_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1]):this[_0x10ff55(0x150)](_0x1f091b,this['_compress'],_0x1e235a,_0x4f64a1);}['getBlobData'](_0x2086d9,_0x115acf,_0x123648,_0x484b10){const _0x2a2f2b=_0x5df611;this[_0x2a2f2b(0x256)]+=_0x123648[_0x1351ad],this[_0x2a2f2b(0x1d2)]=_0x10667d,_0x2086d9['arrayBuffer']()['then'](_0x3f454b=>{const _0x89b591=_0x2a2f2b;if(this[_0x89b591(0x258)][_0x89b591(0x1f3)]){const _0x521a0e=new Error(_0x89b591(0x2d4));process[_0x89b591(0x299)](_0x446ccd,this,_0x521a0e,_0x484b10);return;}this['_bufferedBytes']-=_0x123648[_0x1351ad];const _0x14e0b6=_0x2886ed(_0x3f454b);_0x115acf?this[_0x89b591(0x150)](_0x14e0b6,_0x115acf,_0x123648,_0x484b10):(this[_0x89b591(0x1d2)]=_0x1f6ce3,this[_0x89b591(0x2a4)](_0x56cb21['frame'](_0x14e0b6,_0x123648),_0x484b10),this[_0x89b591(0x19a)]());})[_0x2a2f2b(0x2c3)](_0x2f2601=>{const _0x57e033=_0x2a2f2b;process[_0x57e033(0x299)](_0x55db6f,this,_0x2f2601,_0x484b10);});}[_0x5df611(0x150)](_0x3702db,_0x29c423,_0x3bb2f3,_0x2e1e85){const _0x40bf81=_0x5df611;if(!_0x29c423){this[_0x40bf81(0x2a4)](_0x56cb21[_0x40bf81(0x1b3)](_0x3702db,_0x3bb2f3),_0x2e1e85);return;}const _0x4d0555=this[_0x40bf81(0x2f9)][_0x30ea2a[_0x40bf81(0x17a)]];this[_0x40bf81(0x256)]+=_0x3bb2f3[_0x1351ad],this[_0x40bf81(0x1d2)]=_0x3d9940,_0x4d0555[_0x40bf81(0x1fb)](_0x3702db,_0x3bb2f3['fin'],(_0x138ad2,_0x5c6cb2)=>{const _0xa38e3f=_0x40bf81;if(this[_0xa38e3f(0x258)]['destroyed']){const _0x47f924=new Error(_0xa38e3f(0x2f6));_0x446ccd(this,_0x47f924,_0x2e1e85);return;}this[_0xa38e3f(0x256)]-=_0x3bb2f3[_0x1351ad],this[_0xa38e3f(0x1d2)]=_0x1f6ce3,_0x3bb2f3[_0xa38e3f(0x270)]=!0x1,this[_0xa38e3f(0x2a4)](_0x56cb21[_0xa38e3f(0x1b3)](_0x5c6cb2,_0x3bb2f3),_0x2e1e85),this[_0xa38e3f(0x19a)]();});}[_0x5df611(0x19a)](){const _0x2a4765=_0x5df611;for(;this[_0x2a4765(0x1d2)]===_0x1f6ce3&&this[_0x2a4765(0x219)][_0x2a4765(0x1fe)];){const _0x246a20=this[_0x2a4765(0x219)][_0x2a4765(0x193)]();this[_0x2a4765(0x256)]-=_0x246a20[0x3][_0x1351ad],Reflect[_0x2a4765(0x2c8)](_0x246a20[0x0],this,_0x246a20['slice'](0x1));}}[_0x5df611(0x191)](_0x5d7bd8){const _0x102032=_0x5df611;this[_0x102032(0x256)]+=_0x5d7bd8[0x3][_0x1351ad],this['_queue'][_0x102032(0x2f7)](_0x5d7bd8);}[_0x5df611(0x2a4)](_0x499f68,_0x22bb75){const _0x3a16ec=_0x5df611;_0x499f68[_0x3a16ec(0x1fe)]===0x2?(this[_0x3a16ec(0x258)][_0x3a16ec(0x1e7)](),this[_0x3a16ec(0x258)][_0x3a16ec(0x1aa)](_0x499f68[0x0]),this['_socket']['write'](_0x499f68[0x1],_0x22bb75),this['_socket'][_0x3a16ec(0x229)]()):this['_socket']['write'](_0x499f68[0x0],_0x22bb75);}}Ee=_0x56cb21;function _0x446ccd(_0x11322b,_0x31f005,_0x19258a){const _0x5bd801=_0x5df611;typeof _0x19258a==_0x5bd801(0x240)&&_0x19258a(_0x31f005);for(let _0x56bf12=0x0;_0x56bf12<_0x11322b[_0x5bd801(0x219)][_0x5bd801(0x1fe)];_0x56bf12++){const _0x46faa8=_0x11322b[_0x5bd801(0x219)][_0x56bf12],_0x16fc99=_0x46faa8[_0x46faa8[_0x5bd801(0x1fe)]-0x1];typeof _0x16fc99==_0x5bd801(0x240)&&_0x16fc99(_0x31f005);}}function _0x55db6f(_0x523870,_0x8dabd4,_0x6d5504){const _0x52e240=_0x5df611;_0x446ccd(_0x523870,_0x8dabd4,_0x6d5504),_0x523870[_0x52e240(0x280)](_0x8dabd4);}return Ee;}var xe,Ze;function It(){const _0x18c1f1=_0x4c4d18;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1bac9a,kListener:_0x17f9d9}=H(),_0x4d450e=Symbol('kCode'),_0x1177c8=Symbol('kData'),_0x2426ac=Symbol(_0x18c1f1(0x21b)),_0x543d79=Symbol('kMessage'),_0x22ed7b=Symbol(_0x18c1f1(0x15c)),_0x365fe5=Symbol('kTarget'),_0x2654d4=Symbol(_0x18c1f1(0x2be)),_0x46a75e=Symbol(_0x18c1f1(0x28a));class _0x3e1d3a{constructor(_0x1f2559){this[_0x365fe5]=null,this[_0x2654d4]=_0x1f2559;}get[_0x18c1f1(0x165)](){return this[_0x365fe5];}get[_0x18c1f1(0x269)](){return this[_0x2654d4];}}Object[_0x18c1f1(0x2f5)](_0x3e1d3a[_0x18c1f1(0x1e3)],_0x18c1f1(0x165),{'enumerable':!0x0}),Object['defineProperty'](_0x3e1d3a[_0x18c1f1(0x1e3)],_0x18c1f1(0x269),{'enumerable':!0x0});class _0x217186 extends _0x3e1d3a{constructor(_0x466a81,_0x16e258={}){const _0x299df1=_0x18c1f1;super(_0x466a81),this[_0x4d450e]=_0x16e258[_0x299df1(0x257)]===void 0x0?0x0:_0x16e258['code'],this[_0x22ed7b]=_0x16e258[_0x299df1(0x1dd)]===void 0x0?'':_0x16e258[_0x299df1(0x1dd)],this[_0x46a75e]=_0x16e258['wasClean']===void 0x0?!0x1:_0x16e258[_0x299df1(0x23b)];}get[_0x18c1f1(0x257)](){return this[_0x4d450e];}get[_0x18c1f1(0x1dd)](){return this[_0x22ed7b];}get[_0x18c1f1(0x23b)](){return this[_0x46a75e];}}Object['defineProperty'](_0x217186[_0x18c1f1(0x1e3)],'code',{'enumerable':!0x0}),Object[_0x18c1f1(0x2f5)](_0x217186[_0x18c1f1(0x1e3)],_0x18c1f1(0x1dd),{'enumerable':!0x0}),Object['defineProperty'](_0x217186[_0x18c1f1(0x1e3)],'wasClean',{'enumerable':!0x0});class _0x12da4b extends _0x3e1d3a{constructor(_0x554b1b,_0x3c8ae9={}){const _0x5847bb=_0x18c1f1;super(_0x554b1b),this[_0x2426ac]=_0x3c8ae9['error']===void 0x0?null:_0x3c8ae9[_0x5847bb(0x23c)],this[_0x543d79]=_0x3c8ae9[_0x5847bb(0x1af)]===void 0x0?'':_0x3c8ae9[_0x5847bb(0x1af)];}get['error'](){return this[_0x2426ac];}get[_0x18c1f1(0x1af)](){return this[_0x543d79];}}Object['defineProperty'](_0x12da4b['prototype'],_0x18c1f1(0x23c),{'enumerable':!0x0}),Object[_0x18c1f1(0x2f5)](_0x12da4b[_0x18c1f1(0x1e3)],_0x18c1f1(0x1af),{'enumerable':!0x0});class _0x12cfe5 extends _0x3e1d3a{constructor(_0x2652a5,_0x4943e7={}){const _0x2c9a3b=_0x18c1f1;super(_0x2652a5),this[_0x1177c8]=_0x4943e7['data']===void 0x0?null:_0x4943e7[_0x2c9a3b(0x1ee)];}get[_0x18c1f1(0x1ee)](){return this[_0x1177c8];}}Object[_0x18c1f1(0x2f5)](_0x12cfe5[_0x18c1f1(0x1e3)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x217186,'ErrorEvent':_0x12da4b,'Event':_0x3e1d3a,'EventTarget':{'addEventListener'(_0x4fa1b2,_0x100009,_0x4806e7={}){const _0x1372e2=_0x18c1f1;for(const _0x906a5f of this[_0x1372e2(0x17c)](_0x4fa1b2))if(!_0x4806e7[_0x1bac9a]&&_0x906a5f[_0x17f9d9]===_0x100009&&!_0x906a5f[_0x1bac9a])return;let _0x684261;if(_0x4fa1b2===_0x1372e2(0x1af))_0x684261=function(_0x148d81,_0x13e394){const _0x1a0269=_0x1372e2,_0x148350=new _0x12cfe5(_0x1a0269(0x1af),{'data':_0x13e394?_0x148d81:_0x148d81[_0x1a0269(0x1a9)]()});_0x148350[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x148350);};else{if(_0x4fa1b2===_0x1372e2(0x152))_0x684261=function(_0x3444cd,_0x49a3d8){const _0x2d1d3e=_0x1372e2,_0x5bfd7b=new _0x217186(_0x2d1d3e(0x152),{'code':_0x3444cd,'reason':_0x49a3d8[_0x2d1d3e(0x1a9)](),'wasClean':this['_closeFrameReceived']&&this[_0x2d1d3e(0x182)]});_0x5bfd7b[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x5bfd7b);};else{if(_0x4fa1b2==='error')_0x684261=function(_0x47cf06){const _0x274997=_0x1372e2,_0x29e350=new _0x12da4b('error',{'error':_0x47cf06,'message':_0x47cf06[_0x274997(0x1af)]});_0x29e350[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x29e350);};else{if(_0x4fa1b2===_0x1372e2(0x24f))_0x684261=function(){const _0x2cde9f=_0x1372e2,_0x15410f=new _0x3e1d3a(_0x2cde9f(0x24f));_0x15410f[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x15410f);};else return;}}}_0x684261[_0x1bac9a]=!!_0x4806e7[_0x1bac9a],_0x684261[_0x17f9d9]=_0x100009,_0x4806e7['once']?this['once'](_0x4fa1b2,_0x684261):this['on'](_0x4fa1b2,_0x684261);},'removeEventListener'(_0x5386fd,_0x3aeeef){const _0x4aa13e=_0x18c1f1;for(const _0x1a7be6 of this[_0x4aa13e(0x17c)](_0x5386fd))if(_0x1a7be6[_0x17f9d9]===_0x3aeeef&&!_0x1a7be6[_0x1bac9a]){this['removeListener'](_0x5386fd,_0x1a7be6);break;}}},'MessageEvent':_0x12cfe5};function _0x1deb50(_0x5dc821,_0x3d6709,_0x1bdb94){const _0x4e7759=_0x18c1f1;typeof _0x5dc821==_0x4e7759(0x238)&&_0x5dc821[_0x4e7759(0x2af)]?_0x5dc821[_0x4e7759(0x2af)]['call'](_0x5dc821,_0x1bdb94):_0x5dc821[_0x4e7759(0x27e)](_0x3d6709,_0x1bdb94);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x30f55b}=ae();function _0x5bb688(_0x12b591,_0x374960,_0x4e9db7){const _0x2b1d12=_0x11b5;_0x12b591[_0x374960]===void 0x0?_0x12b591[_0x374960]=[_0x4e9db7]:_0x12b591[_0x374960][_0x2b1d12(0x2f7)](_0x4e9db7);}function _0x2204a0(_0x4e4d22){const _0x4413f6=_0x11b5,_0x302bc2=Object[_0x4413f6(0x2d6)](null);let _0x441e5a=Object[_0x4413f6(0x2d6)](null),_0x13b7be=!0x1,_0x56510a=!0x1,_0x2c890d=!0x1,_0x2b4bcd,_0x557828,_0x185ce4=-0x1,_0x54a4c2=-0x1,_0x1932ec=-0x1,_0xc687e7=0x0;for(;_0xc687e7<_0x4e4d22[_0x4413f6(0x1fe)];_0xc687e7++)if(_0x54a4c2=_0x4e4d22[_0x4413f6(0x16e)](_0xc687e7),_0x2b4bcd===void 0x0){if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0xc687e7!==0x0&&(_0x54a4c2===0x20||_0x54a4c2===0x9))_0x1932ec===-0x1&&_0x185ce4!==-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);const _0x6de90=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);_0x54a4c2===0x2c?(_0x5bb688(_0x302bc2,_0x6de90,_0x441e5a),_0x441e5a=Object['create'](null)):_0x2b4bcd=_0x6de90,_0x185ce4=_0x1932ec=-0x1;}else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}else{if(_0x557828===void 0x0){if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x54a4c2===0x20||_0x54a4c2===0x9)_0x1932ec===-0x1&&_0x185ce4!==-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7),_0x5bb688(_0x441e5a,_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec),!0x0),_0x54a4c2===0x2c&&(_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a),_0x441e5a=Object['create'](null),_0x2b4bcd=void 0x0),_0x185ce4=_0x1932ec=-0x1;}else{if(_0x54a4c2===0x3d&&_0x185ce4!==-0x1&&_0x1932ec===-0x1)_0x557828=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0xc687e7),_0x185ce4=_0x1932ec=-0x1;else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}}else{if(_0x56510a){if(_0x30f55b[_0x54a4c2]!==0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x185ce4===-0x1?_0x185ce4=_0xc687e7:_0x13b7be||(_0x13b7be=!0x0),_0x56510a=!0x1;}else{if(_0x2c890d){if(_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x54a4c2===0x22&&_0x185ce4!==-0x1)_0x2c890d=!0x1,_0x1932ec=_0xc687e7;else{if(_0x54a4c2===0x5c)_0x56510a=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc687e7);}}}else{if(_0x54a4c2===0x22&&_0x4e4d22['charCodeAt'](_0xc687e7-0x1)===0x3d)_0x2c890d=!0x0;else{if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x185ce4!==-0x1&&(_0x54a4c2===0x20||_0x54a4c2===0x9))_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);let _0x437679=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);_0x13b7be&&(_0x437679=_0x437679[_0x4413f6(0x1b4)](/\\/g,''),_0x13b7be=!0x1),_0x5bb688(_0x441e5a,_0x557828,_0x437679),_0x54a4c2===0x2c&&(_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a),_0x441e5a=Object[_0x4413f6(0x2d6)](null),_0x2b4bcd=void 0x0),_0x557828=void 0x0,_0x185ce4=_0x1932ec=-0x1;}else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}}}}}if(_0x185ce4===-0x1||_0x2c890d||_0x54a4c2===0x20||_0x54a4c2===0x9)throw new SyntaxError(_0x4413f6(0x183));_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);const _0x4150f8=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);return _0x2b4bcd===void 0x0?_0x5bb688(_0x302bc2,_0x4150f8,_0x441e5a):(_0x557828===void 0x0?_0x5bb688(_0x441e5a,_0x4150f8,!0x0):_0x13b7be?_0x5bb688(_0x441e5a,_0x557828,_0x4150f8['replace'](/\\/g,'')):_0x5bb688(_0x441e5a,_0x557828,_0x4150f8),_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a)),_0x302bc2;}function _0xf4cd4b(_0xfb799e){const _0x1cd8ab=_0x11b5;return Object[_0x1cd8ab(0x164)](_0xfb799e)[_0x1cd8ab(0x234)](_0x1f3a56=>{const _0x52de7f=_0x1cd8ab;let _0x556f27=_0xfb799e[_0x1f3a56];return Array[_0x52de7f(0x19d)](_0x556f27)||(_0x556f27=[_0x556f27]),_0x556f27[_0x52de7f(0x234)](_0xc2912f=>[_0x1f3a56][_0x52de7f(0x1bf)](Object[_0x52de7f(0x164)](_0xc2912f)[_0x52de7f(0x234)](_0x2a3f6d=>{const _0x57c45a=_0x52de7f;let _0x45b66f=_0xc2912f[_0x2a3f6d];return Array[_0x57c45a(0x19d)](_0x45b66f)||(_0x45b66f=[_0x45b66f]),_0x45b66f[_0x57c45a(0x234)](_0x335327=>_0x335327===!0x0?_0x2a3f6d:_0x2a3f6d+'='+_0x335327)[_0x57c45a(0x1bb)](';\x20');}))[_0x52de7f(0x1bb)](';\x20'))[_0x52de7f(0x1bb)](',\x20');})['join'](',\x20');}return be={'format':_0xf4cd4b,'parse':_0x2204a0},be;}var we,Je;function Pe(){const _0x4c17de=_0x4c4d18;if(Je)return we;Je=0x1;const _0x3585a0=nt,_0x1c1f90=vt,_0x2efa56=ot,_0x83d492=St,_0x437d65=Et,{randomBytes:_0x38de93,createHash:_0x595781}=Le,{Duplex:_0x59f1fe,Readable:_0xca6435}=oe,{URL:_0x566caf}=xt,_0x269ae8=he(),_0x1c03f8=lt(),_0x49ec25=ft(),{isBlob:_0x29087b}=ae(),{BINARY_TYPES:_0x4848fc,EMPTY_BUFFER:_0x57eb1e,GUID:_0x45725b,kForOnEventAttribute:_0x34e193,kListener:_0x605c3b,kStatusCode:_0x33dcde,kWebSocket:_0x58a1f2,NOOP:_0x17c55c}=H(),{EventTarget:{addEventListener:_0x41516a,removeEventListener:_0x13b474}}=It(),{format:_0x85e25e,parse:_0x454fae}=ct(),{toBuffer:_0x1fabc8}=ce(),_0xc82f2f=0x1e*0x3e8,_0x46448c=Symbol('kAborted'),_0x49c159=[0x8,0xd],_0x45d8ff=[_0x4c17de(0x210),_0x4c17de(0x2f2),_0x4c17de(0x2fc),_0x4c17de(0x180)],_0x4eeb4b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3584cd extends _0x3585a0{constructor(_0xd05a5a,_0x2965d9,_0x53537e){const _0x836a3=_0x4c17de;super(),this[_0x836a3(0x277)]=_0x4848fc[0x0],this[_0x836a3(0x21c)]=0x3ee,this[_0x836a3(0x2ee)]=!0x1,this[_0x836a3(0x182)]=!0x1,this['_closeMessage']=_0x57eb1e,this[_0x836a3(0x1d6)]=null,this['_errorEmitted']=!0x1,this[_0x836a3(0x2f9)]={},this[_0x836a3(0x2cb)]=!0x1,this[_0x836a3(0x2d1)]='',this[_0x836a3(0x2b1)]=_0x3584cd[_0x836a3(0x210)],this['_receiver']=null,this[_0x836a3(0x29a)]=null,this[_0x836a3(0x258)]=null,_0xd05a5a!==null?(this[_0x836a3(0x18a)]=0x0,this[_0x836a3(0x296)]=!0x1,this['_redirects']=0x0,_0x2965d9===void 0x0?_0x2965d9=[]:Array[_0x836a3(0x19d)](_0x2965d9)||(typeof _0x2965d9==_0x836a3(0x238)&&_0x2965d9!==null?(_0x53537e=_0x2965d9,_0x2965d9=[]):_0x2965d9=[_0x2965d9]),_0x3a09dc(this,_0xd05a5a,_0x2965d9,_0x53537e)):(this[_0x836a3(0x245)]=_0x53537e['autoPong'],this['_isServer']=!0x0);}get[_0x4c17de(0x260)](){const _0xa460b3=_0x4c17de;return this[_0xa460b3(0x277)];}set['binaryType'](_0x32972c){const _0xabe170=_0x4c17de;_0x4848fc[_0xabe170(0x237)](_0x32972c)&&(this[_0xabe170(0x277)]=_0x32972c,this['_receiver']&&(this['_receiver'][_0xabe170(0x277)]=_0x32972c));}get['bufferedAmount'](){const _0xd6a175=_0x4c17de;return this[_0xd6a175(0x258)]?this['_socket'][_0xd6a175(0x253)][_0xd6a175(0x1fe)]+this[_0xd6a175(0x29a)][_0xd6a175(0x256)]:this[_0xd6a175(0x18a)];}get['extensions'](){const _0x28ec07=_0x4c17de;return Object[_0x28ec07(0x164)](this['_extensions'])[_0x28ec07(0x1bb)]();}get[_0x4c17de(0x266)](){return this['_paused'];}get[_0x4c17de(0x2b7)](){return null;}get[_0x4c17de(0x280)](){return null;}get[_0x4c17de(0x1e1)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x16107f=_0x4c17de;return this[_0x16107f(0x2d1)];}get['readyState'](){const _0x375f79=_0x4c17de;return this[_0x375f79(0x2b1)];}get[_0x4c17de(0x2da)](){return this['_url'];}[_0x4c17de(0x2ca)](_0x5688d2,_0x9b2e5c,_0x348ef0){const _0x7b8429=_0x4c17de,_0x41847a=new _0x1c03f8({'allowSynchronousEvents':_0x348ef0['allowSynchronousEvents'],'binaryType':this[_0x7b8429(0x260)],'extensions':this['_extensions'],'isServer':this[_0x7b8429(0x296)],'maxPayload':_0x348ef0[_0x7b8429(0x14d)],'skipUTF8Validation':_0x348ef0[_0x7b8429(0x27f)]}),_0xdf2527=new _0x49ec25(_0x5688d2,this['_extensions'],_0x348ef0[_0x7b8429(0x244)]);this[_0x7b8429(0x287)]=_0x41847a,this[_0x7b8429(0x29a)]=_0xdf2527,this[_0x7b8429(0x258)]=_0x5688d2,_0x41847a[_0x58a1f2]=this,_0xdf2527[_0x58a1f2]=this,_0x5688d2[_0x58a1f2]=this,_0x41847a['on']('conclude',_0x7cf73f),_0x41847a['on'](_0x7b8429(0x1a4),_0x491c62),_0x41847a['on']('error',_0x4bbe06),_0x41847a['on'](_0x7b8429(0x1af),_0x1e7747),_0x41847a['on'](_0x7b8429(0x173),_0x475ac4),_0x41847a['on'](_0x7b8429(0x24b),_0x206e47),_0xdf2527[_0x7b8429(0x280)]=_0x400e62,_0x5688d2['setTimeout']&&_0x5688d2[_0x7b8429(0x27c)](0x0),_0x5688d2[_0x7b8429(0x1db)]&&_0x5688d2['setNoDelay'](),_0x9b2e5c[_0x7b8429(0x1fe)]>0x0&&_0x5688d2[_0x7b8429(0x26e)](_0x9b2e5c),_0x5688d2['on'](_0x7b8429(0x152),_0x2328d7),_0x5688d2['on']('data',_0x165ca6),_0x5688d2['on'](_0x7b8429(0x2f8),_0x451493),_0x5688d2['on']('error',_0x11029f),this[_0x7b8429(0x2b1)]=_0x3584cd['OPEN'],this[_0x7b8429(0x1ab)](_0x7b8429(0x24f));}[_0x4c17de(0x14e)](){const _0x30bb0f=_0x4c17de;if(!this[_0x30bb0f(0x258)]){this[_0x30bb0f(0x2b1)]=_0x3584cd['CLOSED'],this[_0x30bb0f(0x1ab)](_0x30bb0f(0x152),this['_closeCode'],this[_0x30bb0f(0x169)]);return;}this[_0x30bb0f(0x2f9)][_0x269ae8[_0x30bb0f(0x17a)]]&&this[_0x30bb0f(0x2f9)][_0x269ae8['extensionName']][_0x30bb0f(0x1eb)](),this['_receiver'][_0x30bb0f(0x2dc)](),this[_0x30bb0f(0x2b1)]=_0x3584cd[_0x30bb0f(0x180)],this['emit'](_0x30bb0f(0x152),this[_0x30bb0f(0x21c)],this[_0x30bb0f(0x169)]);}[_0x4c17de(0x152)](_0x155daf,_0x5bfaed){const _0x57fa00=_0x4c17de;if(this[_0x57fa00(0x1ea)]!==_0x3584cd[_0x57fa00(0x180)]){if(this[_0x57fa00(0x1ea)]===_0x3584cd[_0x57fa00(0x210)]){_0x16f97e(this,this['_req'],_0x57fa00(0x149));return;}if(this[_0x57fa00(0x1ea)]===_0x3584cd[_0x57fa00(0x2fc)]){this['_closeFrameSent']&&(this[_0x57fa00(0x2ee)]||this[_0x57fa00(0x287)]['_writableState'][_0x57fa00(0x1b6)])&&this[_0x57fa00(0x258)][_0x57fa00(0x2f8)]();return;}this['_readyState']=_0x3584cd[_0x57fa00(0x2fc)],this['_sender'][_0x57fa00(0x152)](_0x155daf,_0x5bfaed,!this[_0x57fa00(0x296)],_0x575bfb=>{const _0x364ea8=_0x57fa00;_0x575bfb||(this[_0x364ea8(0x182)]=!0x0,(this[_0x364ea8(0x2ee)]||this[_0x364ea8(0x287)][_0x364ea8(0x253)][_0x364ea8(0x1b6)])&&this[_0x364ea8(0x258)]['end']());}),_0x22d5bc(this);}}[_0x4c17de(0x2fb)](){const _0x39d438=_0x4c17de;this['readyState']===_0x3584cd['CONNECTING']||this['readyState']===_0x3584cd[_0x39d438(0x180)]||(this[_0x39d438(0x2cb)]=!0x0,this[_0x39d438(0x258)]['pause']());}[_0x4c17de(0x173)](_0x1eaa13,_0x5530b3,_0x3137ce){const _0x2b5979=_0x4c17de;if(this[_0x2b5979(0x1ea)]===_0x3584cd[_0x2b5979(0x210)])throw new Error(_0x2b5979(0x1c7));if(typeof _0x1eaa13=='function'?(_0x3137ce=_0x1eaa13,_0x1eaa13=_0x5530b3=void 0x0):typeof _0x5530b3==_0x2b5979(0x240)&&(_0x3137ce=_0x5530b3,_0x5530b3=void 0x0),typeof _0x1eaa13==_0x2b5979(0x171)&&(_0x1eaa13=_0x1eaa13[_0x2b5979(0x1a9)]()),this['readyState']!==_0x3584cd[_0x2b5979(0x2f2)]){_0x5ccf67(this,_0x1eaa13,_0x3137ce);return;}_0x5530b3===void 0x0&&(_0x5530b3=!this[_0x2b5979(0x296)]),this[_0x2b5979(0x29a)]['ping'](_0x1eaa13||_0x57eb1e,_0x5530b3,_0x3137ce);}[_0x4c17de(0x24b)](_0x112fab,_0x309a3b,_0x239567){const _0x67c28b=_0x4c17de;if(this[_0x67c28b(0x1ea)]===_0x3584cd[_0x67c28b(0x210)])throw new Error(_0x67c28b(0x1c7));if(typeof _0x112fab==_0x67c28b(0x240)?(_0x239567=_0x112fab,_0x112fab=_0x309a3b=void 0x0):typeof _0x309a3b=='function'&&(_0x239567=_0x309a3b,_0x309a3b=void 0x0),typeof _0x112fab==_0x67c28b(0x171)&&(_0x112fab=_0x112fab[_0x67c28b(0x1a9)]()),this[_0x67c28b(0x1ea)]!==_0x3584cd[_0x67c28b(0x2f2)]){_0x5ccf67(this,_0x112fab,_0x239567);return;}_0x309a3b===void 0x0&&(_0x309a3b=!this[_0x67c28b(0x296)]),this[_0x67c28b(0x29a)][_0x67c28b(0x24b)](_0x112fab||_0x57eb1e,_0x309a3b,_0x239567);}[_0x4c17de(0x235)](){const _0x2d41a8=_0x4c17de;this[_0x2d41a8(0x1ea)]===_0x3584cd['CONNECTING']||this[_0x2d41a8(0x1ea)]===_0x3584cd[_0x2d41a8(0x180)]||(this[_0x2d41a8(0x2cb)]=!0x1,this[_0x2d41a8(0x287)][_0x2d41a8(0x253)][_0x2d41a8(0x249)]||this['_socket'][_0x2d41a8(0x235)]());}[_0x4c17de(0x186)](_0x305fa2,_0x33c3e3,_0x17e3ac){const _0x510226=_0x4c17de;if(this[_0x510226(0x1ea)]===_0x3584cd[_0x510226(0x210)])throw new Error(_0x510226(0x1c7));if(typeof _0x33c3e3==_0x510226(0x240)&&(_0x17e3ac=_0x33c3e3,_0x33c3e3={}),typeof _0x305fa2==_0x510226(0x171)&&(_0x305fa2=_0x305fa2[_0x510226(0x1a9)]()),this[_0x510226(0x1ea)]!==_0x3584cd[_0x510226(0x2f2)]){_0x5ccf67(this,_0x305fa2,_0x17e3ac);return;}const _0x5e1a50={'binary':typeof _0x305fa2!=_0x510226(0x23a),'mask':!this[_0x510226(0x296)],'compress':!0x0,'fin':!0x0,..._0x33c3e3};this[_0x510226(0x2f9)][_0x269ae8[_0x510226(0x17a)]]||(_0x5e1a50[_0x510226(0x1fb)]=!0x1),this[_0x510226(0x29a)]['send'](_0x305fa2||_0x57eb1e,_0x5e1a50,_0x17e3ac);}[_0x4c17de(0x24a)](){const _0x54e4a0=_0x4c17de;if(this[_0x54e4a0(0x1ea)]!==_0x3584cd[_0x54e4a0(0x180)]){if(this[_0x54e4a0(0x1ea)]===_0x3584cd[_0x54e4a0(0x210)]){_0x16f97e(this,this[_0x54e4a0(0x174)],_0x54e4a0(0x149));return;}this[_0x54e4a0(0x258)]&&(this[_0x54e4a0(0x2b1)]=_0x3584cd[_0x54e4a0(0x2fc)],this[_0x54e4a0(0x258)][_0x54e4a0(0x1ec)]());}}}Object[_0x4c17de(0x2f5)](_0x3584cd,_0x4c17de(0x210),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x210))}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x210),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x210))}),Object[_0x4c17de(0x2f5)](_0x3584cd,_0x4c17de(0x2f2),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)]('OPEN')}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x2f2),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x2f2))}),Object[_0x4c17de(0x2f5)](_0x3584cd,'CLOSING',{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)]('CLOSING')}),Object['defineProperty'](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x2fc),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x2fc))}),Object[_0x4c17de(0x2f5)](_0x3584cd,'CLOSED',{'enumerable':!0x0,'value':_0x45d8ff['indexOf'](_0x4c17de(0x180))}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x180),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x180))}),['binaryType','bufferedAmount','extensions','isPaused',_0x4c17de(0x1c2),_0x4c17de(0x1ea),_0x4c17de(0x2da)][_0x4c17de(0x231)](_0x28e48a=>{const _0x113161=_0x4c17de;Object[_0x113161(0x2f5)](_0x3584cd[_0x113161(0x1e3)],_0x28e48a,{'enumerable':!0x0});}),['open',_0x4c17de(0x23c),'close',_0x4c17de(0x1af)]['forEach'](_0x57ccdd=>{const _0x22c4f8=_0x4c17de;Object[_0x22c4f8(0x2f5)](_0x3584cd[_0x22c4f8(0x1e3)],'on'+_0x57ccdd,{'enumerable':!0x0,'get'(){const _0x42d1ee=_0x22c4f8;for(const _0x204fc4 of this[_0x42d1ee(0x17c)](_0x57ccdd))if(_0x204fc4[_0x34e193])return _0x204fc4[_0x605c3b];return null;},'set'(_0x5e058e){const _0x97c006=_0x22c4f8;for(const _0x4a0a9d of this[_0x97c006(0x17c)](_0x57ccdd))if(_0x4a0a9d[_0x34e193]){this[_0x97c006(0x1e4)](_0x57ccdd,_0x4a0a9d);break;}typeof _0x5e058e==_0x97c006(0x240)&&this[_0x97c006(0x1d3)](_0x57ccdd,_0x5e058e,{[_0x34e193]:!0x0});}});}),_0x3584cd['prototype'][_0x4c17de(0x1d3)]=_0x41516a,_0x3584cd['prototype']['removeEventListener']=_0x13b474,we=_0x3584cd;function _0x3a09dc(_0x3b2731,_0x1f885d,_0x38635f,_0x3f3a70){const _0x55357b=_0x4c17de,_0x2f2ef2={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x49c159[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3f3a70,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3b2731[_0x55357b(0x245)]=_0x2f2ef2['autoPong'],!_0x49c159[_0x55357b(0x237)](_0x2f2ef2[_0x55357b(0x2fe)]))throw new RangeError(_0x55357b(0x1a5)+_0x2f2ef2['protocolVersion']+_0x55357b(0x1be)+_0x49c159[_0x55357b(0x1bb)](',\x20')+')');let _0x164c8c;if(_0x1f885d instanceof _0x566caf)_0x164c8c=_0x1f885d;else try{_0x164c8c=new _0x566caf(_0x1f885d);}catch{throw new SyntaxError(_0x55357b(0x190)+_0x1f885d);}_0x164c8c['protocol']==='http:'?_0x164c8c[_0x55357b(0x1c2)]='ws:':_0x164c8c['protocol']==='https:'&&(_0x164c8c[_0x55357b(0x1c2)]='wss:'),_0x3b2731[_0x55357b(0x29b)]=_0x164c8c[_0x55357b(0x2dd)];const _0x2df3cd=_0x164c8c[_0x55357b(0x1c2)]==='wss:',_0x379a84=_0x164c8c['protocol']==='ws+unix:';let _0x4c6758;if(_0x164c8c[_0x55357b(0x1c2)]!==_0x55357b(0x179)&&!_0x2df3cd&&!_0x379a84?_0x4c6758=_0x55357b(0x2fd):_0x379a84&&!_0x164c8c['pathname']?_0x4c6758='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x164c8c[_0x55357b(0x2d2)]&&(_0x4c6758=_0x55357b(0x199)),_0x4c6758){const _0x501b00=new SyntaxError(_0x4c6758);if(_0x3b2731['_redirects']===0x0)throw _0x501b00;_0x69db7c(_0x3b2731,_0x501b00);return;}const _0x458bb3=_0x2df3cd?0x1bb:0x50,_0x2713d6=_0x38de93(0x10)['toString'](_0x55357b(0x1a0)),_0x32ee13=_0x2df3cd?_0x1c1f90[_0x55357b(0x2bb)]:_0x2efa56[_0x55357b(0x2bb)],_0x352181=new Set();let _0x5bb243;if(_0x2f2ef2[_0x55357b(0x21f)]=_0x2f2ef2[_0x55357b(0x21f)]||(_0x2df3cd?_0xd5984b:_0x34d9b4),_0x2f2ef2[_0x55357b(0x2b2)]=_0x2f2ef2[_0x55357b(0x2b2)]||_0x458bb3,_0x2f2ef2[_0x55357b(0x196)]=_0x164c8c[_0x55357b(0x196)]||_0x458bb3,_0x2f2ef2[_0x55357b(0x236)]=_0x164c8c[_0x55357b(0x1ac)][_0x55357b(0x1f0)]('[')?_0x164c8c[_0x55357b(0x1ac)][_0x55357b(0x14b)](0x1,-0x1):_0x164c8c['hostname'],_0x2f2ef2[_0x55357b(0x1dc)]={..._0x2f2ef2[_0x55357b(0x1dc)],'Sec-WebSocket-Version':_0x2f2ef2['protocolVersion'],'Sec-WebSocket-Key':_0x2713d6,'Connection':_0x55357b(0x25c),'Upgrade':'websocket'},_0x2f2ef2[_0x55357b(0x2e9)]=_0x164c8c[_0x55357b(0x2cf)]+_0x164c8c['search'],_0x2f2ef2[_0x55357b(0x20d)]=_0x2f2ef2[_0x55357b(0x25a)],_0x2f2ef2[_0x55357b(0x1df)]&&(_0x5bb243=new _0x269ae8(_0x2f2ef2['perMessageDeflate']!==!0x0?_0x2f2ef2[_0x55357b(0x1df)]:{},!0x1,_0x2f2ef2[_0x55357b(0x14d)]),_0x2f2ef2['headers']['Sec-WebSocket-Extensions']=_0x85e25e({[_0x269ae8[_0x55357b(0x17a)]]:_0x5bb243['offer']()})),_0x38635f[_0x55357b(0x1fe)]){for(const _0x2df136 of _0x38635f){if(typeof _0x2df136!='string'||!_0x4eeb4b['test'](_0x2df136)||_0x352181['has'](_0x2df136))throw new SyntaxError(_0x55357b(0x2c7));_0x352181[_0x55357b(0x27b)](_0x2df136);}_0x2f2ef2[_0x55357b(0x1dc)][_0x55357b(0x188)]=_0x38635f[_0x55357b(0x1bb)](',');}if(_0x2f2ef2[_0x55357b(0x19c)]&&(_0x2f2ef2[_0x55357b(0x2fe)]<0xd?_0x2f2ef2['headers'][_0x55357b(0x1c4)]=_0x2f2ef2[_0x55357b(0x19c)]:_0x2f2ef2[_0x55357b(0x1dc)]['Origin']=_0x2f2ef2[_0x55357b(0x19c)]),(_0x164c8c[_0x55357b(0x19f)]||_0x164c8c[_0x55357b(0x265)])&&(_0x2f2ef2['auth']=_0x164c8c[_0x55357b(0x19f)]+':'+_0x164c8c[_0x55357b(0x265)]),_0x379a84){const _0x4b883f=_0x2f2ef2[_0x55357b(0x2e9)]['split'](':');_0x2f2ef2[_0x55357b(0x1ad)]=_0x4b883f[0x0],_0x2f2ef2[_0x55357b(0x2e9)]=_0x4b883f[0x1];}let _0x12ec70;if(_0x2f2ef2['followRedirects']){if(_0x3b2731[_0x55357b(0x27d)]===0x0){_0x3b2731['_originalIpc']=_0x379a84,_0x3b2731[_0x55357b(0x14c)]=_0x2df3cd,_0x3b2731[_0x55357b(0x28d)]=_0x379a84?_0x2f2ef2[_0x55357b(0x1ad)]:_0x164c8c['host'];const _0x5b3b40=_0x3f3a70&&_0x3f3a70[_0x55357b(0x1dc)];if(_0x3f3a70={..._0x3f3a70,'headers':{}},_0x5b3b40){for(const [_0xca9418,_0x78e8df]of Object[_0x55357b(0x2cd)](_0x5b3b40))_0x3f3a70['headers'][_0xca9418[_0x55357b(0x20e)]()]=_0x78e8df;}}else{if(_0x3b2731[_0x55357b(0x222)]('redirect')===0x0){const _0x1da290=_0x379a84?_0x3b2731[_0x55357b(0x1f6)]?_0x2f2ef2['socketPath']===_0x3b2731[_0x55357b(0x28d)]:!0x1:_0x3b2731[_0x55357b(0x1f6)]?!0x1:_0x164c8c['host']===_0x3b2731[_0x55357b(0x28d)];(!_0x1da290||_0x3b2731[_0x55357b(0x14c)]&&!_0x2df3cd)&&(delete _0x2f2ef2[_0x55357b(0x1dc)][_0x55357b(0x247)],delete _0x2f2ef2['headers'][_0x55357b(0x26c)],_0x1da290||delete _0x2f2ef2[_0x55357b(0x1dc)]['host'],_0x2f2ef2[_0x55357b(0x1a2)]=void 0x0);}}_0x2f2ef2[_0x55357b(0x1a2)]&&!_0x3f3a70[_0x55357b(0x1dc)][_0x55357b(0x247)]&&(_0x3f3a70[_0x55357b(0x1dc)][_0x55357b(0x247)]=_0x55357b(0x157)+Buffer['from'](_0x2f2ef2['auth'])[_0x55357b(0x1a9)](_0x55357b(0x1a0))),_0x12ec70=_0x3b2731[_0x55357b(0x174)]=_0x32ee13(_0x2f2ef2),_0x3b2731['_redirects']&&_0x3b2731['emit'](_0x55357b(0x2a0),_0x3b2731[_0x55357b(0x2da)],_0x12ec70);}else _0x12ec70=_0x3b2731[_0x55357b(0x174)]=_0x32ee13(_0x2f2ef2);_0x2f2ef2['timeout']&&_0x12ec70['on'](_0x55357b(0x20d),()=>{const _0x4d32d6=_0x55357b;_0x16f97e(_0x3b2731,_0x12ec70,_0x4d32d6(0x2ab));}),_0x12ec70['on'](_0x55357b(0x23c),_0x159bf4=>{const _0x3d7969=_0x55357b;_0x12ec70===null||_0x12ec70[_0x46448c]||(_0x12ec70=_0x3b2731[_0x3d7969(0x174)]=null,_0x69db7c(_0x3b2731,_0x159bf4));}),_0x12ec70['on']('response',_0x25bfbb=>{const _0x5d067a=_0x55357b,_0x457ecc=_0x25bfbb['headers'][_0x5d067a(0x197)],_0x3c9b3e=_0x25bfbb['statusCode'];if(_0x457ecc&&_0x2f2ef2[_0x5d067a(0x263)]&&_0x3c9b3e>=0x12c&&_0x3c9b3e<0x190){if(++_0x3b2731[_0x5d067a(0x27d)]>_0x2f2ef2[_0x5d067a(0x166)]){_0x16f97e(_0x3b2731,_0x12ec70,'Maximum\x20redirects\x20exceeded');return;}_0x12ec70[_0x5d067a(0x2f1)]();let _0x1c9ef0;try{_0x1c9ef0=new _0x566caf(_0x457ecc,_0x1f885d);}catch{const _0x480603=new SyntaxError(_0x5d067a(0x190)+_0x457ecc);_0x69db7c(_0x3b2731,_0x480603);return;}_0x3a09dc(_0x3b2731,_0x1c9ef0,_0x38635f,_0x3f3a70);}else _0x3b2731[_0x5d067a(0x1ab)](_0x5d067a(0x167),_0x12ec70,_0x25bfbb)||_0x16f97e(_0x3b2731,_0x12ec70,_0x5d067a(0x2b3)+_0x25bfbb[_0x5d067a(0x1a6)]);}),_0x12ec70['on'](_0x55357b(0x2ea),(_0x382a63,_0x5c6be2,_0x185be7)=>{const _0x1e5a91=_0x55357b;if(_0x3b2731[_0x1e5a91(0x1ab)](_0x1e5a91(0x2ea),_0x382a63),_0x3b2731['readyState']!==_0x3584cd[_0x1e5a91(0x210)])return;_0x12ec70=_0x3b2731[_0x1e5a91(0x174)]=null;const _0x41582e=_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x2ea)];if(_0x41582e===void 0x0||_0x41582e[_0x1e5a91(0x20e)]()!==_0x1e5a91(0x1b2)){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x203));return;}const _0x3fc214=_0x595781('sha1')[_0x1e5a91(0x225)](_0x2713d6+_0x45725b)['digest']('base64');if(_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x1c8)]!==_0x3fc214){_0x16f97e(_0x3b2731,_0x5c6be2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4299fb=_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x16d)];let _0x183034;if(_0x4299fb!==void 0x0?_0x352181[_0x1e5a91(0x24c)]?_0x352181['has'](_0x4299fb)||(_0x183034='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x183034=_0x1e5a91(0x250):_0x352181[_0x1e5a91(0x24c)]&&(_0x183034='Server\x20sent\x20no\x20subprotocol'),_0x183034){_0x16f97e(_0x3b2731,_0x5c6be2,_0x183034);return;}_0x4299fb&&(_0x3b2731['_protocol']=_0x4299fb);const _0x463abc=_0x382a63['headers'][_0x1e5a91(0x2a1)];if(_0x463abc!==void 0x0){if(!_0x5bb243){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x184));return;}let _0x50a909;try{_0x50a909=_0x454fae(_0x463abc);}catch{_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x26a));return;}const _0x418ca9=Object[_0x1e5a91(0x164)](_0x50a909);if(_0x418ca9[_0x1e5a91(0x1fe)]!==0x1||_0x418ca9[0x0]!==_0x269ae8['extensionName']){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x29d));return;}try{_0x5bb243[_0x1e5a91(0x28b)](_0x50a909[_0x269ae8[_0x1e5a91(0x17a)]]);}catch{_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x26a));return;}_0x3b2731[_0x1e5a91(0x2f9)][_0x269ae8[_0x1e5a91(0x17a)]]=_0x5bb243;}_0x3b2731[_0x1e5a91(0x2ca)](_0x5c6be2,_0x185be7,{'allowSynchronousEvents':_0x2f2ef2[_0x1e5a91(0x200)],'generateMask':_0x2f2ef2[_0x1e5a91(0x244)],'maxPayload':_0x2f2ef2[_0x1e5a91(0x14d)],'skipUTF8Validation':_0x2f2ef2[_0x1e5a91(0x27f)]});}),_0x2f2ef2[_0x55357b(0x2cc)]?_0x2f2ef2[_0x55357b(0x2cc)](_0x12ec70,_0x3b2731):_0x12ec70[_0x55357b(0x2f8)]();}function _0x69db7c(_0x150d29,_0x458403){const _0x2017eb=_0x4c17de;_0x150d29['_readyState']=_0x3584cd[_0x2017eb(0x2fc)],_0x150d29[_0x2017eb(0x21d)]=!0x0,_0x150d29[_0x2017eb(0x1ab)]('error',_0x458403),_0x150d29[_0x2017eb(0x14e)]();}function _0x34d9b4(_0xd086d3){const _0x24cd16=_0x4c17de;return _0xd086d3['path']=_0xd086d3['socketPath'],_0x83d492[_0x24cd16(0x2eb)](_0xd086d3);}function _0xd5984b(_0x25b51d){const _0x48b9fb=_0x4c17de;return _0x25b51d[_0x48b9fb(0x2e9)]=void 0x0,!_0x25b51d[_0x48b9fb(0x1ca)]&&_0x25b51d['servername']!==''&&(_0x25b51d[_0x48b9fb(0x1ca)]=_0x83d492[_0x48b9fb(0x1c3)](_0x25b51d[_0x48b9fb(0x236)])?'':_0x25b51d[_0x48b9fb(0x236)]),_0x437d65[_0x48b9fb(0x2eb)](_0x25b51d);}function _0x16f97e(_0x1f7b33,_0x5b426f,_0x5e69a1){const _0x26f7da=_0x4c17de;_0x1f7b33[_0x26f7da(0x2b1)]=_0x3584cd[_0x26f7da(0x2fc)];const _0x41f25d=new Error(_0x5e69a1);Error[_0x26f7da(0x204)](_0x41f25d,_0x16f97e),_0x5b426f[_0x26f7da(0x18b)]?(_0x5b426f[_0x46448c]=!0x0,_0x5b426f[_0x26f7da(0x2f1)](),_0x5b426f[_0x26f7da(0x267)]&&!_0x5b426f[_0x26f7da(0x267)][_0x26f7da(0x1f3)]&&_0x5b426f[_0x26f7da(0x267)][_0x26f7da(0x1ec)](),process[_0x26f7da(0x299)](_0x69db7c,_0x1f7b33,_0x41f25d)):(_0x5b426f[_0x26f7da(0x1ec)](_0x41f25d),_0x5b426f[_0x26f7da(0x14a)](_0x26f7da(0x23c),_0x1f7b33[_0x26f7da(0x1ab)]['bind'](_0x1f7b33,_0x26f7da(0x23c))),_0x5b426f['once']('close',_0x1f7b33[_0x26f7da(0x14e)]['bind'](_0x1f7b33)));}function _0x5ccf67(_0x117c48,_0x83f6d4,_0x8f1a96){const _0x281356=_0x4c17de;if(_0x83f6d4){const _0x1579b4=_0x29087b(_0x83f6d4)?_0x83f6d4[_0x281356(0x24c)]:_0x1fabc8(_0x83f6d4)['length'];_0x117c48[_0x281356(0x258)]?_0x117c48[_0x281356(0x29a)][_0x281356(0x256)]+=_0x1579b4:_0x117c48['_bufferedAmount']+=_0x1579b4;}if(_0x8f1a96){const _0x41a43f=new Error(_0x281356(0x2e2)+_0x117c48[_0x281356(0x1ea)]+'\x20('+_0x45d8ff[_0x117c48[_0x281356(0x1ea)]]+')');process[_0x281356(0x299)](_0x8f1a96,_0x41a43f);}}function _0x7cf73f(_0x290631,_0x16f254){const _0x3aa739=_0x4c17de,_0x563fd7=this[_0x58a1f2];_0x563fd7[_0x3aa739(0x2ee)]=!0x0,_0x563fd7[_0x3aa739(0x169)]=_0x16f254,_0x563fd7[_0x3aa739(0x21c)]=_0x290631,_0x563fd7[_0x3aa739(0x258)][_0x58a1f2]!==void 0x0&&(_0x563fd7[_0x3aa739(0x258)][_0x3aa739(0x1e4)](_0x3aa739(0x1ee),_0x165ca6),process['nextTick'](_0x5cb97e,_0x563fd7[_0x3aa739(0x258)]),_0x290631===0x3ed?_0x563fd7[_0x3aa739(0x152)]():_0x563fd7['close'](_0x290631,_0x16f254));}function _0x491c62(){const _0x41a4d8=_0x4c17de,_0x2abdff=this[_0x58a1f2];_0x2abdff[_0x41a4d8(0x266)]||_0x2abdff[_0x41a4d8(0x258)]['resume']();}function _0x4bbe06(_0x30403e){const _0x60b486=_0x4c17de,_0xf6e3d9=this[_0x58a1f2];_0xf6e3d9[_0x60b486(0x258)][_0x58a1f2]!==void 0x0&&(_0xf6e3d9[_0x60b486(0x258)]['removeListener'](_0x60b486(0x1ee),_0x165ca6),process[_0x60b486(0x299)](_0x5cb97e,_0xf6e3d9['_socket']),_0xf6e3d9[_0x60b486(0x152)](_0x30403e[_0x33dcde])),_0xf6e3d9['_errorEmitted']||(_0xf6e3d9[_0x60b486(0x21d)]=!0x0,_0xf6e3d9[_0x60b486(0x1ab)](_0x60b486(0x23c),_0x30403e));}function _0x484cb1(){const _0x49c91e=_0x4c17de;this[_0x58a1f2][_0x49c91e(0x14e)]();}function _0x1e7747(_0x5107e4,_0x19c04b){const _0x249acf=_0x4c17de;this[_0x58a1f2][_0x249acf(0x1ab)]('message',_0x5107e4,_0x19c04b);}function _0x475ac4(_0x211c47){const _0x3c3ca4=_0x4c17de,_0x389d0a=this[_0x58a1f2];_0x389d0a[_0x3c3ca4(0x245)]&&_0x389d0a[_0x3c3ca4(0x24b)](_0x211c47,!this[_0x3c3ca4(0x296)],_0x17c55c),_0x389d0a[_0x3c3ca4(0x1ab)](_0x3c3ca4(0x173),_0x211c47);}function _0x206e47(_0x712bf3){const _0x5e89b9=_0x4c17de;this[_0x58a1f2]['emit'](_0x5e89b9(0x24b),_0x712bf3);}function _0x5cb97e(_0x4b9338){const _0x55f601=_0x4c17de;_0x4b9338[_0x55f601(0x235)]();}function _0x400e62(_0x45e3aa){const _0x495e32=_0x4c17de,_0x307f7c=this[_0x58a1f2];_0x307f7c['readyState']!==_0x3584cd[_0x495e32(0x180)]&&(_0x307f7c[_0x495e32(0x1ea)]===_0x3584cd[_0x495e32(0x2f2)]&&(_0x307f7c['_readyState']=_0x3584cd['CLOSING'],_0x22d5bc(_0x307f7c)),this[_0x495e32(0x258)]['end'](),_0x307f7c['_errorEmitted']||(_0x307f7c[_0x495e32(0x21d)]=!0x0,_0x307f7c[_0x495e32(0x1ab)](_0x495e32(0x23c),_0x45e3aa)));}function _0x22d5bc(_0x11da3c){const _0x266798=_0x4c17de;_0x11da3c['_closeTimer']=setTimeout(_0x11da3c[_0x266798(0x258)][_0x266798(0x1ec)][_0x266798(0x158)](_0x11da3c['_socket']),_0xc82f2f);}function _0x2328d7(){const _0x261cde=_0x4c17de,_0x4c06a2=this[_0x58a1f2];this[_0x261cde(0x1e4)]('close',_0x2328d7),this[_0x261cde(0x1e4)](_0x261cde(0x1ee),_0x165ca6),this[_0x261cde(0x1e4)](_0x261cde(0x2f8),_0x451493),_0x4c06a2[_0x261cde(0x2b1)]=_0x3584cd[_0x261cde(0x2fc)];let _0x3ee830;!this['_readableState'][_0x261cde(0x1d4)]&&!_0x4c06a2[_0x261cde(0x2ee)]&&!_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)][_0x261cde(0x1b6)]&&(_0x3ee830=_0x4c06a2['_socket'][_0x261cde(0x1e2)]())!==null&&_0x4c06a2['_receiver'][_0x261cde(0x1aa)](_0x3ee830),_0x4c06a2['_receiver'][_0x261cde(0x2f8)](),this[_0x58a1f2]=void 0x0,clearTimeout(_0x4c06a2[_0x261cde(0x1d6)]),_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)]['finished']||_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)]['errorEmitted']?_0x4c06a2[_0x261cde(0x14e)]():(_0x4c06a2[_0x261cde(0x287)]['on'](_0x261cde(0x23c),_0x484cb1),_0x4c06a2['_receiver']['on'](_0x261cde(0x1cd),_0x484cb1));}function _0x165ca6(_0x5f2c56){const _0x3b327c=_0x4c17de;this[_0x58a1f2][_0x3b327c(0x287)][_0x3b327c(0x1aa)](_0x5f2c56)||this[_0x3b327c(0x2fb)]();}function _0x451493(){const _0x45b468=_0x4c17de,_0x562428=this[_0x58a1f2];_0x562428[_0x45b468(0x2b1)]=_0x3584cd[_0x45b468(0x2fc)],_0x562428[_0x45b468(0x287)][_0x45b468(0x2f8)](),this['end']();}function _0x11029f(){const _0x198bc7=_0x4c17de,_0x39192d=this[_0x58a1f2];this[_0x198bc7(0x1e4)](_0x198bc7(0x23c),_0x11029f),this['on'](_0x198bc7(0x23c),_0x17c55c),_0x39192d&&(_0x39192d[_0x198bc7(0x2b1)]=_0x3584cd['CLOSING'],this[_0x198bc7(0x1ec)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x52491c}=oe;function _0x35bdc7(_0x24a63b){const _0x554b52=_0x11b5;_0x24a63b[_0x554b52(0x1ab)]('close');}function _0x5d7193(){const _0x3ab620=_0x11b5;!this[_0x3ab620(0x1f3)]&&this[_0x3ab620(0x253)][_0x3ab620(0x1fd)]&&this[_0x3ab620(0x1ec)]();}function _0x2f71f1(_0x506d48){const _0x2a9601=_0x11b5;this['removeListener']('error',_0x2f71f1),this[_0x2a9601(0x1ec)](),this[_0x2a9601(0x222)]('error')===0x0&&this['emit']('error',_0x506d48);}function _0x556c98(_0x2f7fc7,_0x2e827b){const _0x327792=_0x11b5;let _0x2d06e1=!0x0;const _0x279fac=new _0x52491c({..._0x2e827b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2f7fc7['on'](_0x327792(0x1af),function(_0x5bedc1,_0x728b2a){const _0x455904=_0x327792,_0x5eb0c2=!_0x728b2a&&_0x279fac[_0x455904(0x25e)][_0x455904(0x148)]?_0x5bedc1[_0x455904(0x1a9)]():_0x5bedc1;_0x279fac['push'](_0x5eb0c2)||_0x2f7fc7[_0x455904(0x2fb)]();}),_0x2f7fc7[_0x327792(0x14a)](_0x327792(0x23c),function(_0x51c280){const _0x5ade27=_0x327792;_0x279fac[_0x5ade27(0x1f3)]||(_0x2d06e1=!0x1,_0x279fac[_0x5ade27(0x1ec)](_0x51c280));}),_0x2f7fc7[_0x327792(0x14a)]('close',function(){const _0x4c912f=_0x327792;_0x279fac[_0x4c912f(0x1f3)]||_0x279fac[_0x4c912f(0x2f7)](null);}),_0x279fac[_0x327792(0x1c6)]=function(_0x49c81d,_0x5a4760){const _0x33b234=_0x327792;if(_0x2f7fc7[_0x33b234(0x1ea)]===_0x2f7fc7[_0x33b234(0x180)]){_0x5a4760(_0x49c81d),process[_0x33b234(0x299)](_0x35bdc7,_0x279fac);return;}let _0xae7ab5=!0x1;_0x2f7fc7['once'](_0x33b234(0x23c),function(_0x2e32b2){_0xae7ab5=!0x0,_0x5a4760(_0x2e32b2);}),_0x2f7fc7['once'](_0x33b234(0x152),function(){const _0x2794d6=_0x33b234;_0xae7ab5||_0x5a4760(_0x49c81d),process[_0x2794d6(0x299)](_0x35bdc7,_0x279fac);}),_0x2d06e1&&_0x2f7fc7[_0x33b234(0x24a)]();},_0x279fac[_0x327792(0x2d9)]=function(_0x15f7ec){const _0x5a038c=_0x327792;if(_0x2f7fc7['readyState']===_0x2f7fc7[_0x5a038c(0x210)]){_0x2f7fc7[_0x5a038c(0x14a)](_0x5a038c(0x24f),function(){const _0x2b2632=_0x5a038c;_0x279fac[_0x2b2632(0x2d9)](_0x15f7ec);});return;}_0x2f7fc7[_0x5a038c(0x258)]!==null&&(_0x2f7fc7[_0x5a038c(0x258)][_0x5a038c(0x253)][_0x5a038c(0x1fd)]?(_0x15f7ec(),_0x279fac[_0x5a038c(0x25e)][_0x5a038c(0x1d4)]&&_0x279fac['destroy']()):(_0x2f7fc7['_socket'][_0x5a038c(0x14a)](_0x5a038c(0x1cd),function(){_0x15f7ec();}),_0x2f7fc7[_0x5a038c(0x152)]()));},_0x279fac[_0x327792(0x16c)]=function(){const _0x383750=_0x327792;_0x2f7fc7[_0x383750(0x266)]&&_0x2f7fc7['resume']();},_0x279fac[_0x327792(0x1da)]=function(_0x4edf0b,_0x47e7de,_0x30f46d){const _0x46bf6d=_0x327792;if(_0x2f7fc7[_0x46bf6d(0x1ea)]===_0x2f7fc7[_0x46bf6d(0x210)]){_0x2f7fc7[_0x46bf6d(0x14a)]('open',function(){const _0x24f353=_0x46bf6d;_0x279fac[_0x24f353(0x1da)](_0x4edf0b,_0x47e7de,_0x30f46d);});return;}_0x2f7fc7[_0x46bf6d(0x186)](_0x4edf0b,_0x30f46d);},_0x279fac['on'](_0x327792(0x2f8),_0x5d7193),_0x279fac['on'](_0x327792(0x23c),_0x2f71f1),_0x279fac;}return Oe=_0x556c98,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x49927f}=ae();function _0x5a098b(_0x35f9c3){const _0x1422ec=_0x11b5,_0x5c7a2f=new Set();let _0x40eda6=-0x1,_0x1d0c56=-0x1,_0x1c378c=0x0;for(_0x1c378c;_0x1c378c<_0x35f9c3[_0x1422ec(0x1fe)];_0x1c378c++){const _0x236fdc=_0x35f9c3['charCodeAt'](_0x1c378c);if(_0x1d0c56===-0x1&&_0x49927f[_0x236fdc]===0x1)_0x40eda6===-0x1&&(_0x40eda6=_0x1c378c);else{if(_0x1c378c!==0x0&&(_0x236fdc===0x20||_0x236fdc===0x9))_0x1d0c56===-0x1&&_0x40eda6!==-0x1&&(_0x1d0c56=_0x1c378c);else{if(_0x236fdc===0x2c){if(_0x40eda6===-0x1)throw new SyntaxError(_0x1422ec(0x16b)+_0x1c378c);_0x1d0c56===-0x1&&(_0x1d0c56=_0x1c378c);const _0x1011c3=_0x35f9c3[_0x1422ec(0x14b)](_0x40eda6,_0x1d0c56);if(_0x5c7a2f['has'](_0x1011c3))throw new SyntaxError(_0x1422ec(0x201)+_0x1011c3+_0x1422ec(0x19e));_0x5c7a2f[_0x1422ec(0x27b)](_0x1011c3),_0x40eda6=_0x1d0c56=-0x1;}else throw new SyntaxError(_0x1422ec(0x16b)+_0x1c378c);}}}if(_0x40eda6===-0x1||_0x1d0c56!==-0x1)throw new SyntaxError(_0x1422ec(0x183));const _0x31bb28=_0x35f9c3[_0x1422ec(0x14b)](_0x40eda6,_0x1c378c);if(_0x5c7a2f['has'](_0x31bb28))throw new SyntaxError('The\x20\x22'+_0x31bb28+_0x1422ec(0x19e));return _0x5c7a2f[_0x1422ec(0x27b)](_0x31bb28),_0x5c7a2f;}return Ce={'parse':_0x5a098b},Ce;}var Te,rt;function Ft(){const _0x4f7a93=_0x4c4d18;if(rt)return Te;rt=0x1;const _0xf40ec5=nt,_0x591929=ot,{Duplex:_0x4663e6}=oe,{createHash:_0x471a60}=Le,_0x37888a=ct(),_0x455a18=he(),_0xa7af2=At(),_0x4f4c3f=Pe(),{GUID:_0x236d71,kWebSocket:_0x194ec9}=H(),_0x127cf5=/^[+/0-9A-Za-z]{22}==$/,_0x210a06=0x0,_0x402535=0x1,_0x292426=0x2;class _0x1e795e extends _0xf40ec5{constructor(_0x2a7dac,_0x2f87b5){const _0x38d408=_0x11b5;if(super(),_0x2a7dac={'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':_0x4f4c3f,..._0x2a7dac},_0x2a7dac[_0x38d408(0x196)]==null&&!_0x2a7dac[_0x38d408(0x262)]&&!_0x2a7dac[_0x38d408(0x25f)]||_0x2a7dac[_0x38d408(0x196)]!=null&&(_0x2a7dac['server']||_0x2a7dac['noServer'])||_0x2a7dac['server']&&_0x2a7dac['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2a7dac[_0x38d408(0x196)]!=null?(this[_0x38d408(0x22d)]=_0x591929[_0x38d408(0x1ce)]((_0xe0161d,_0x26364f)=>{const _0x3c933=_0x38d408,_0x444a33=_0x591929[_0x3c933(0x23e)][0x1aa];_0x26364f[_0x3c933(0x16f)](0x1aa,{'Content-Length':_0x444a33[_0x3c933(0x1fe)],'Content-Type':_0x3c933(0x2c6)}),_0x26364f[_0x3c933(0x2f8)](_0x444a33);}),this[_0x38d408(0x22d)][_0x38d408(0x15a)](_0x2a7dac[_0x38d408(0x196)],_0x2a7dac[_0x38d408(0x236)],_0x2a7dac[_0x38d408(0x297)],_0x2f87b5)):_0x2a7dac['server']&&(this['_server']=_0x2a7dac[_0x38d408(0x262)]),this['_server']){const _0x426780=this['emit'][_0x38d408(0x158)](this,_0x38d408(0x2ae));this['_removeListeners']=_0x2151b6(this['_server'],{'listening':this[_0x38d408(0x1ab)][_0x38d408(0x158)](this,_0x38d408(0x172)),'error':this[_0x38d408(0x1ab)][_0x38d408(0x158)](this,'error'),'upgrade':(_0x3368f0,_0x5450bd,_0x1e7b5d)=>{const _0x50f3ac=_0x38d408;this[_0x50f3ac(0x2c4)](_0x3368f0,_0x5450bd,_0x1e7b5d,_0x426780);}});}_0x2a7dac[_0x38d408(0x1df)]===!0x0&&(_0x2a7dac[_0x38d408(0x1df)]={}),_0x2a7dac[_0x38d408(0x178)]&&(this[_0x38d408(0x279)]=new Set(),this[_0x38d408(0x1d0)]=!0x1),this[_0x38d408(0x22c)]=_0x2a7dac,this[_0x38d408(0x1d2)]=_0x210a06;}[_0x4f7a93(0x1c5)](){const _0x25a608=_0x4f7a93;if(this[_0x25a608(0x22c)][_0x25a608(0x25f)])throw new Error(_0x25a608(0x1d7));return this[_0x25a608(0x22d)]?this['_server'][_0x25a608(0x1c5)]():null;}[_0x4f7a93(0x152)](_0x428b20){const _0x3702ac=_0x4f7a93;if(this[_0x3702ac(0x1d2)]===_0x292426){_0x428b20&&this[_0x3702ac(0x14a)](_0x3702ac(0x152),()=>{const _0x4daf0e=_0x3702ac;_0x428b20(new Error(_0x4daf0e(0x20b)));}),process[_0x3702ac(0x299)](_0x1622a5,this);return;}if(_0x428b20&&this['once'](_0x3702ac(0x152),_0x428b20),this[_0x3702ac(0x1d2)]!==_0x402535){if(this[_0x3702ac(0x1d2)]=_0x402535,this[_0x3702ac(0x22c)][_0x3702ac(0x25f)]||this[_0x3702ac(0x22c)][_0x3702ac(0x262)])this[_0x3702ac(0x22d)]&&(this[_0x3702ac(0x1c1)](),this[_0x3702ac(0x1c1)]=this[_0x3702ac(0x22d)]=null),this[_0x3702ac(0x279)]?this['clients'][_0x3702ac(0x24c)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x1622a5,this):process['nextTick'](_0x1622a5,this);else{const _0x21df1a=this['_server'];this[_0x3702ac(0x1c1)](),this['_removeListeners']=this[_0x3702ac(0x22d)]=null,_0x21df1a[_0x3702ac(0x152)](()=>{_0x1622a5(this);});}}}[_0x4f7a93(0x1ed)](_0x48fbae){const _0xfb96cf=_0x4f7a93;if(this['options'][_0xfb96cf(0x2e9)]){const _0x32d144=_0x48fbae[_0xfb96cf(0x2da)][_0xfb96cf(0x1e5)]('?');if((_0x32d144!==-0x1?_0x48fbae[_0xfb96cf(0x2da)][_0xfb96cf(0x14b)](0x0,_0x32d144):_0x48fbae[_0xfb96cf(0x2da)])!==this[_0xfb96cf(0x22c)][_0xfb96cf(0x2e9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5){const _0x4624a8=_0x4f7a93;_0x22def6['on'](_0x4624a8(0x23c),_0x17f61c);const _0x52ba4a=_0x1be7c9['headers']['sec-websocket-key'],_0x3035d7=_0x1be7c9[_0x4624a8(0x1dc)][_0x4624a8(0x2ea)],_0x5cb5a0=+_0x1be7c9['headers']['sec-websocket-version'];if(_0x1be7c9['method']!==_0x4624a8(0x24d)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x195,_0x4624a8(0x176));return;}if(_0x3035d7===void 0x0||_0x3035d7[_0x4624a8(0x20e)]()!==_0x4624a8(0x1b2)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x203));return;}if(_0x52ba4a===void 0x0||!_0x127cf5['test'](_0x52ba4a)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x2d5));return;}if(_0x5cb5a0!==0xd&&_0x5cb5a0!==0x8){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x153),{'Sec-WebSocket-Version':_0x4624a8(0x205)});return;}if(!this[_0x4624a8(0x1ed)](_0x1be7c9)){_0x358c44(_0x22def6,0x190);return;}const _0x22d55b=_0x1be7c9[_0x4624a8(0x1dc)][_0x4624a8(0x16d)];let _0x253a54=new Set();if(_0x22d55b!==void 0x0)try{_0x253a54=_0xa7af2[_0x4624a8(0x272)](_0x22d55b);}catch{_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x2d7));return;}const _0x58f662=_0x1be7c9['headers'][_0x4624a8(0x2a1)],_0x36e911={};if(this[_0x4624a8(0x22c)]['perMessageDeflate']&&_0x58f662!==void 0x0){const _0xc602d8=new _0x455a18(this[_0x4624a8(0x22c)]['perMessageDeflate'],!0x0,this[_0x4624a8(0x22c)][_0x4624a8(0x14d)]);try{const _0x34ef59=_0x37888a['parse'](_0x58f662);_0x34ef59[_0x455a18['extensionName']]&&(_0xc602d8[_0x4624a8(0x28b)](_0x34ef59[_0x455a18[_0x4624a8(0x17a)]]),_0x36e911[_0x455a18[_0x4624a8(0x17a)]]=_0xc602d8);}catch{_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x187));return;}}if(this[_0x4624a8(0x22c)][_0x4624a8(0x261)]){const _0x4b9630={'origin':_0x1be7c9[_0x4624a8(0x1dc)][''+(_0x5cb5a0===0x8?_0x4624a8(0x25d):_0x4624a8(0x19c))],'secure':!!(_0x1be7c9['socket'][_0x4624a8(0x2e6)]||_0x1be7c9[_0x4624a8(0x267)][_0x4624a8(0x1f9)]),'req':_0x1be7c9};if(this[_0x4624a8(0x22c)][_0x4624a8(0x261)][_0x4624a8(0x1fe)]===0x2){this['options'][_0x4624a8(0x261)](_0x4b9630,(_0x315d0d,_0x35cae3,_0x527a86,_0x56a36e)=>{if(!_0x315d0d)return _0x358c44(_0x22def6,_0x35cae3||0x191,_0x527a86,_0x56a36e);this['completeUpgrade'](_0x36e911,_0x52ba4a,_0x253a54,_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5);});return;}if(!this[_0x4624a8(0x22c)][_0x4624a8(0x261)](_0x4b9630))return _0x358c44(_0x22def6,0x191);}this[_0x4624a8(0x1bd)](_0x36e911,_0x52ba4a,_0x253a54,_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5);}[_0x4f7a93(0x1bd)](_0x3c5b82,_0x440052,_0x5d1a6b,_0x5aab08,_0x4edbb7,_0x1e247e,_0x1c47b8){const _0x8c51ba=_0x4f7a93;if(!_0x4edbb7[_0x8c51ba(0x19b)]||!_0x4edbb7[_0x8c51ba(0x273)])return _0x4edbb7[_0x8c51ba(0x1ec)]();if(_0x4edbb7[_0x194ec9])throw new Error(_0x8c51ba(0x28f));if(this['_state']>_0x210a06)return _0x358c44(_0x4edbb7,0x1f7);const _0x35d030=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x8c51ba(0x22a),_0x8c51ba(0x217),_0x8c51ba(0x230)+_0x471a60(_0x8c51ba(0x293))[_0x8c51ba(0x225)](_0x440052+_0x236d71)[_0x8c51ba(0x155)](_0x8c51ba(0x1a0))],_0x2a7bf8=new this[(_0x8c51ba(0x22c))]['WebSocket'](null,void 0x0,this['options']);if(_0x5d1a6b[_0x8c51ba(0x24c)]){const _0x1a97e1=this[_0x8c51ba(0x22c)][_0x8c51ba(0x2a9)]?this[_0x8c51ba(0x22c)]['handleProtocols'](_0x5d1a6b,_0x5aab08):_0x5d1a6b[_0x8c51ba(0x2df)]()['next']()['value'];_0x1a97e1&&(_0x35d030[_0x8c51ba(0x2f7)]('Sec-WebSocket-Protocol:\x20'+_0x1a97e1),_0x2a7bf8['_protocol']=_0x1a97e1);}if(_0x3c5b82[_0x455a18[_0x8c51ba(0x17a)]]){const _0x1be0ef=_0x3c5b82[_0x455a18[_0x8c51ba(0x17a)]][_0x8c51ba(0x2ce)],_0x354716=_0x37888a['format']({[_0x455a18[_0x8c51ba(0x17a)]]:[_0x1be0ef]});_0x35d030[_0x8c51ba(0x2f7)](_0x8c51ba(0x18e)+_0x354716),_0x2a7bf8['_extensions']=_0x3c5b82;}this[_0x8c51ba(0x1ab)](_0x8c51ba(0x1dc),_0x35d030,_0x5aab08),_0x4edbb7['write'](_0x35d030[_0x8c51ba(0x1bf)]('\x0d\x0a')[_0x8c51ba(0x1bb)]('\x0d\x0a')),_0x4edbb7[_0x8c51ba(0x1e4)]('error',_0x17f61c),_0x2a7bf8[_0x8c51ba(0x2ca)](_0x4edbb7,_0x1e247e,{'allowSynchronousEvents':this[_0x8c51ba(0x22c)]['allowSynchronousEvents'],'maxPayload':this[_0x8c51ba(0x22c)][_0x8c51ba(0x14d)],'skipUTF8Validation':this[_0x8c51ba(0x22c)]['skipUTF8Validation']}),this['clients']&&(this[_0x8c51ba(0x279)][_0x8c51ba(0x27b)](_0x2a7bf8),_0x2a7bf8['on']('close',()=>{const _0x17ebee=_0x8c51ba;this['clients']['delete'](_0x2a7bf8),this[_0x17ebee(0x1d0)]&&!this[_0x17ebee(0x279)][_0x17ebee(0x24c)]&&process[_0x17ebee(0x299)](_0x1622a5,this);})),_0x1c47b8(_0x2a7bf8,_0x5aab08);}}Te=_0x1e795e;function _0x2151b6(_0x184924,_0x1bb0d9){const _0x1beb92=_0x4f7a93;for(const _0x1ed7a0 of Object[_0x1beb92(0x164)](_0x1bb0d9))_0x184924['on'](_0x1ed7a0,_0x1bb0d9[_0x1ed7a0]);return function(){for(const _0x2855d7 of Object['keys'](_0x1bb0d9))_0x184924['removeListener'](_0x2855d7,_0x1bb0d9[_0x2855d7]);};}function _0x1622a5(_0x3f8bd7){const _0x15c757=_0x4f7a93;_0x3f8bd7[_0x15c757(0x1d2)]=_0x292426,_0x3f8bd7[_0x15c757(0x1ab)](_0x15c757(0x152));}function _0x17f61c(){const _0x14dde5=_0x4f7a93;this[_0x14dde5(0x1ec)]();}function _0x358c44(_0x937708,_0x460dca,_0x1532cf,_0x2a54c1){const _0x5ddbd8=_0x4f7a93;_0x1532cf=_0x1532cf||_0x591929[_0x5ddbd8(0x23e)][_0x460dca],_0x2a54c1={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x5ddbd8(0x291)](_0x1532cf),..._0x2a54c1},_0x937708['once'](_0x5ddbd8(0x1cd),_0x937708[_0x5ddbd8(0x1ec)]),_0x937708['end']('HTTP/1.1\x20'+_0x460dca+'\x20'+_0x591929[_0x5ddbd8(0x23e)][_0x460dca]+'\x0d\x0a'+Object[_0x5ddbd8(0x164)](_0x2a54c1)[_0x5ddbd8(0x234)](_0x9ad45e=>_0x9ad45e+':\x20'+_0x2a54c1[_0x9ad45e])[_0x5ddbd8(0x1bb)]('\x0d\x0a')+_0x5ddbd8(0x208)+_0x1532cf);}function _0x5e9ed7(_0x7865a5,_0x1ea53b,_0x272be1,_0x4fc045,_0x56bd1c,_0x4bd722){const _0x3662fe=_0x4f7a93;if(_0x7865a5[_0x3662fe(0x222)]('wsClientError')){const _0xe7b4f0=new Error(_0x56bd1c);Error['captureStackTrace'](_0xe7b4f0,_0x5e9ed7),_0x7865a5[_0x3662fe(0x1ab)](_0x3662fe(0x1f4),_0xe7b4f0,_0x272be1,_0x1ea53b);}else _0x358c44(_0x272be1,_0x4fc045,_0x56bd1c,_0x4bd722);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xa17021,_0x338e01,_0x2c80e4,_0x75b7fe)=>{const _0x47b7af=_0x4c4d18;for(var _0x7b9128=_0x75b7fe>0x1?void 0x0:_0x75b7fe?jt(_0x338e01,_0x2c80e4):_0x338e01,_0x2b265d=_0xa17021[_0x47b7af(0x1fe)]-0x1,_0x368c0a;_0x2b265d>=0x0;_0x2b265d--)(_0x368c0a=_0xa17021[_0x2b265d])&&(_0x7b9128=_0x368c0a(_0x7b9128)||_0x7b9128);return _0x7b9128;},qt=(_0x390f40,_0x4673fe)=>(_0x486e43,_0x5d62a3)=>_0x4673fe(_0x486e43,_0x5d62a3,_0x390f40);let ke=class extends A['Disposable']{constructor(_0x19a8cb){const _0x213ac5=_0x4c4d18;super(),this[_0x213ac5(0x17e)]=_0x19a8cb;}[_0x4c4d18(0x2c9)](_0x9d7a62){const _0x40e0b3=_0x4c4d18;var _0x4c3524;const _0x4047b6=(_0x4c3524=this[_0x40e0b3(0x17e)][_0x40e0b3(0x2a5)](fe))==null?void 0x0:_0x4c3524[_0x40e0b3(0x2e3)];try{const _0x3a712e=new $t(_0x9d7a62,{'headers':{..._0x4047b6}}),_0x3b4ca3=new A[(_0x40e0b3(0x294))]();return{'URL':_0x9d7a62,'close':(_0x2f59be,_0x35fd78)=>{const _0x4b1fe3=_0x40e0b3;_0x3a712e[_0x4b1fe3(0x152)](_0x2f59be,_0x35fd78),_0x3b4ca3['dispose']();},'send':_0x44c37d=>{_0x3a712e['send'](_0x44c37d);},'open$':new V[(_0x40e0b3(0x28c))](_0x2edb71=>{const _0x443173=_0x40e0b3,_0x392311=_0x4debb7=>_0x2edb71[_0x443173(0x298)](_0x4debb7);_0x3a712e[_0x443173(0x1d3)]('open',_0x392311),_0x3b4ca3[_0x443173(0x27b)](A[_0x443173(0x2ba)](()=>_0x3a712e[_0x443173(0x192)](_0x443173(0x24f),_0x392311)));})['pipe'](V['share']()),'close$':new V[(_0x40e0b3(0x28c))](_0x28e729=>{const _0x2fedea=_0x40e0b3,_0x5de582=_0x3cec96=>_0x28e729[_0x2fedea(0x298)](_0x3cec96);_0x3a712e[_0x2fedea(0x1d3)](_0x2fedea(0x152),_0x5de582),_0x3b4ca3['add'](A['toDisposable'](()=>_0x3a712e[_0x2fedea(0x192)]('close',_0x5de582)));})['pipe'](V[_0x40e0b3(0x2f0)]()),'error$':new V[(_0x40e0b3(0x28c))](_0x43d37b=>{const _0x4f793c=_0x40e0b3,_0x5905f5=_0x3537f2=>_0x43d37b['next'](_0x3537f2);_0x3a712e['addEventListener'](_0x4f793c(0x23c),_0x5905f5),_0x3b4ca3[_0x4f793c(0x27b)](A['toDisposable'](()=>_0x3a712e[_0x4f793c(0x192)](_0x4f793c(0x23c),_0x5905f5)));})[_0x40e0b3(0x25b)](V[_0x40e0b3(0x2f0)]()),'message$':new V['Observable'](_0x4e97e4=>{const _0x2feea6=_0x40e0b3,_0x37f3e4=_0x3c78f7=>_0x4e97e4[_0x2feea6(0x298)](_0x3c78f7);_0x3a712e[_0x2feea6(0x1d3)](_0x2feea6(0x1af),_0x37f3e4),_0x3b4ca3['add'](A['toDisposable'](()=>_0x3a712e[_0x2feea6(0x192)](_0x2feea6(0x1af),_0x37f3e4)));})[_0x40e0b3(0x25b)](V['share']())};}catch(_0x3e4fd8){return console[_0x40e0b3(0x23c)](_0x3e4fd8),null;}}};ke=Wt([qt(0x0,A[_0x4c4d18(0x16a)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3b28e1,_0xfff8a7,_0x5e233e)=>_0xfff8a7 in _0x3b28e1?Gt(_0x3b28e1,_0xfff8a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e233e}):_0x3b28e1[_0xfff8a7]=_0x5e233e,zt=(_0x4cdb7a,_0x1532cd,_0x9de585,_0x9c568b)=>{for(var _0x16ec0f=_0x9c568b>0x1?void 0x0:_0x9c568b?Vt(_0x1532cd,_0x9de585):_0x1532cd,_0x5acd14=_0x4cdb7a['length']-0x1,_0x36cb3d;_0x5acd14>=0x0;_0x5acd14--)(_0x36cb3d=_0x4cdb7a[_0x5acd14])&&(_0x16ec0f=_0x36cb3d(_0x16ec0f)||_0x16ec0f);return _0x16ec0f;},Ne=(_0x4130ec,_0x4b5789)=>(_0x585e6d,_0x402844)=>_0x4b5789(_0x585e6d,_0x402844,_0x4130ec),Yt=(_0x49f134,_0x4715b5,_0x3b75c9)=>Ht(_0x49f134,_0x4715b5+'',_0x3b75c9);exports[_0x4c4d18(0x2ef)]=class extends A[_0x4c4d18(0x1cf)]{constructor(_0x3d4d9c=Ct,_0xb4fdf6,_0x303c80,_0x3d5fbe){const _0x395e4f=_0x4c4d18;_0x3d4d9c[_0x395e4f(0x2e3)]||_0xb4fdf6[_0x395e4f(0x2b4)](_0x395e4f(0x175)),super(),this[_0x395e4f(0x17e)]=_0x303c80,this[_0x395e4f(0x151)]=_0x3d5fbe,this[_0x395e4f(0x17e)][_0x395e4f(0x1e8)](fe,_0x3d4d9c);}[_0x4c4d18(0x2b5)](){const _0x48bdfd=_0x4c4d18;this[_0x48bdfd(0x2e8)]();}[_0x4c4d18(0x2e8)](){const _0x14f493=_0x4c4d18;A['registerDependencies'](this[_0x14f493(0x151)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x4c4d18(0x1ef)),exports[_0x4c4d18(0x2ef)]=zt([A[_0x4c4d18(0x15e)](st[_0x4c4d18(0x22f)]),Ne(0x1,A[_0x4c4d18(0x214)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x4c4d18(0x2ec)]))],exports[_0x4c4d18(0x2ef)]);var Kt=Object[_0x4c4d18(0x15f)],Xt=(_0x1360db,_0x3bf5c3,_0x3cc9d2,_0x4c07e3)=>{for(var _0x221611=_0x4c07e3>0x1?void 0x0:_0x4c07e3?Kt(_0x3bf5c3,_0x3cc9d2):_0x3bf5c3,_0x5015cc=_0x1360db['length']-0x1,_0x3b3fb2;_0x5015cc>=0x0;_0x5015cc--)(_0x3b3fb2=_0x1360db[_0x5015cc])&&(_0x221611=_0x3b3fb2(_0x221611)||_0x221611);return _0x221611;},ne=(_0x2933fd,_0x26b6ef)=>(_0x5b85f2,_0x2eccc9)=>_0x26b6ef(_0x5b85f2,_0x2eccc9,_0x2933fd);exports[_0x4c4d18(0x1f5)]=class extends st[_0x4c4d18(0x1ae)]{constructor(_0x48f055,_0xa4b648,_0xd1726d,_0x5102c1,_0x22f32c){const _0x3e09b8=_0x4c4d18;super(_0x48f055,_0xa4b648,_0xd1726d,_0x5102c1,_0x22f32c);const _0xfceeba=this[_0x3e09b8(0x17e)]['getConfig'](fe);this[_0x3e09b8(0x228)][_0x3e09b8(0x20c)]({'interceptor':(_0x1fde22,_0x137ce7)=>{const _0x1bfe71=_0x3e09b8;var _0x599e27;const _0x3c0b41=_0x1fde22[_0x1bfe71(0x1dc)];return(_0x599e27=_0xfceeba==null?void 0x0:_0xfceeba[_0x1bfe71(0x2e3)])!=null&&_0x599e27[_0x1bfe71(0x26c)]&&_0x3c0b41[_0x1bfe71(0x239)](_0x1bfe71(0x251),_0xfceeba['customHeaders'][_0x1bfe71(0x26c)]),_0x137ce7(_0x1fde22);}});}async[_0x4c4d18(0x2c9)](_0x2c058b){const _0x5e3761=_0x4c4d18;return this[_0x5e3761(0x18c)](_0x2c058b);}},exports[_0x4c4d18(0x1f5)]=Xt([ne(0x0,A[_0x4c4d18(0x22e)](A[_0x4c4d18(0x2ec)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x4c4d18(0x16a)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x4c4d18(0x1f5)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x51270a=_0x22a9;function _0x22a9(_0x38d129,_0x48696d){const _0x1e7a7c=_0x1e7a();return _0x22a9=function(_0x22a9a3,_0x13891d){_0x22a9a3=_0x22a9a3-0x173;let _0x58939a=_0x1e7a7c[_0x22a9a3];return _0x58939a;},_0x22a9(_0x38d129,_0x48696d);}(function(_0x5d3c13,_0x48b719){const _0x4fea5d=_0x22a9,_0x538680=_0x5d3c13();while(!![]){try{const _0x197b1e=-parseInt(_0x4fea5d(0x1f9))/0x1*(-parseInt(_0x4fea5d(0x28c))/0x2)+-parseInt(_0x4fea5d(0x196))/0x3*(parseInt(_0x4fea5d(0x1d3))/0x4)+-parseInt(_0x4fea5d(0x19d))/0x5+parseInt(_0x4fea5d(0x1f6))/0x6+parseInt(_0x4fea5d(0x1db))/0x7*(-parseInt(_0x4fea5d(0x227))/0x8)+parseInt(_0x4fea5d(0x2fa))/0x9+parseInt(_0x4fea5d(0x2a6))/0xa;if(_0x197b1e===_0x48b719)break;else _0x538680['push'](_0x538680['shift']());}catch(_0x59c2dc){_0x538680['push'](_0x538680['shift']());}}}(_0x1e7a,0xd1bd4));Object[_0x51270a(0x27d)](exports,Symbol['toStringTag'],{'value':_0x51270a(0x20d)});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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x54de26){const _0x4d1184=_0x51270a;return _0x54de26&&_0x54de26[_0x4d1184(0x1a6)]&&Object[_0x4d1184(0x24a)][_0x4d1184(0x178)][_0x4d1184(0x1ac)](_0x54de26,_0x4d1184(0x312))?_0x54de26[_0x4d1184(0x312)]:_0x54de26;}function at(_0x2c7e7a){const _0x2f9080=_0x51270a;if(Object[_0x2f9080(0x24a)]['hasOwnProperty'][_0x2f9080(0x1ac)](_0x2c7e7a,_0x2f9080(0x1a6)))return _0x2c7e7a;var _0x1e276d=_0x2c7e7a[_0x2f9080(0x312)];if(typeof _0x1e276d==_0x2f9080(0x2b3)){var _0x4ec7f6=function _0x3fa313(){const _0x11436b=_0x2f9080;var _0x9f999e=!0x1;try{_0x9f999e=this instanceof _0x3fa313;}catch{}return _0x9f999e?Reflect[_0x11436b(0x2ce)](_0x1e276d,arguments,this['constructor']):_0x1e276d[_0x11436b(0x24b)](this,arguments);};_0x4ec7f6[_0x2f9080(0x24a)]=_0x1e276d['prototype'];}else _0x4ec7f6={};return Object['defineProperty'](_0x4ec7f6,_0x2f9080(0x1a6),{'value':!0x0}),Object[_0x2f9080(0x2ad)](_0x2c7e7a)[_0x2f9080(0x2cc)](function(_0x5a6385){const _0x4b1d46=_0x2f9080;var _0x1e2325=Object[_0x4b1d46(0x23e)](_0x2c7e7a,_0x5a6385);Object[_0x4b1d46(0x27d)](_0x4ec7f6,_0x5a6385,_0x1e2325['get']?_0x1e2325:{'enumerable':!0x0,'get':function(){return _0x2c7e7a[_0x5a6385];}});}),_0x4ec7f6;}var se={'exports':{}},ge,Ge;function H(){const _0xd1c0b=_0x51270a;if(Ge)return ge;Ge=0x1;const _0x2e7e2d=[_0xd1c0b(0x191),_0xd1c0b(0x2a8),_0xd1c0b(0x253)],_0x3af0d7=typeof Blob<'u';return _0x3af0d7&&_0x2e7e2d[_0xd1c0b(0x241)](_0xd1c0b(0x1e3)),ge={'BINARY_TYPES':_0x2e7e2d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xd1c0b(0x31c),'hasBlob':_0x3af0d7,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xd1c0b(0x257)),'kStatusCode':Symbol(_0xd1c0b(0x1f3)),'kWebSocket':Symbol(_0xd1c0b(0x186)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x51270a(0x27d)]({'__proto__':null,'default':Nt},Symbol[_0x51270a(0x336)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5bb696=_0x51270a;if(Ve)return se[_0x5bb696(0x25e)];Ve=0x1;const {EMPTY_BUFFER:_0x3c8a91}=H(),_0x4b8bf2=Buffer[Symbol[_0x5bb696(0x2ea)]];function _0x2624fb(_0x48bb46,_0x268756){const _0x465a6f=_0x5bb696;if(_0x48bb46['length']===0x0)return _0x3c8a91;if(_0x48bb46[_0x465a6f(0x1b2)]===0x1)return _0x48bb46[0x0];const _0x5dfa9e=Buffer[_0x465a6f(0x1fb)](_0x268756);let _0x144d92=0x0;for(let _0x2ea85d=0x0;_0x2ea85d<_0x48bb46[_0x465a6f(0x1b2)];_0x2ea85d++){const _0x254d9a=_0x48bb46[_0x2ea85d];_0x5dfa9e[_0x465a6f(0x1b3)](_0x254d9a,_0x144d92),_0x144d92+=_0x254d9a[_0x465a6f(0x1b2)];}return _0x144d92<_0x268756?new _0x4b8bf2(_0x5dfa9e[_0x465a6f(0x1b7)],_0x5dfa9e[_0x465a6f(0x318)],_0x144d92):_0x5dfa9e;}function _0x2ce6c0(_0x1da2bd,_0x3c6932,_0x3081fb,_0x140bbe,_0x1b98b2){for(let _0x14b5b2=0x0;_0x14b5b2<_0x1b98b2;_0x14b5b2++)_0x3081fb[_0x140bbe+_0x14b5b2]=_0x1da2bd[_0x14b5b2]^_0x3c6932[_0x14b5b2&0x3];}function _0x541352(_0x31483e,_0x5388a6){const _0x4e93f9=_0x5bb696;for(let _0x5b5690=0x0;_0x5b5690<_0x31483e[_0x4e93f9(0x1b2)];_0x5b5690++)_0x31483e[_0x5b5690]^=_0x5388a6[_0x5b5690&0x3];}function _0x2a0499(_0x27682b){const _0x13cf6e=_0x5bb696;return _0x27682b[_0x13cf6e(0x1b2)]===_0x27682b[_0x13cf6e(0x1b7)][_0x13cf6e(0x2be)]?_0x27682b[_0x13cf6e(0x1b7)]:_0x27682b['buffer']['slice'](_0x27682b['byteOffset'],_0x27682b['byteOffset']+_0x27682b['length']);}function _0x45aedc(_0x2c913d){const _0x58309d=_0x5bb696;if(_0x45aedc['readOnly']=!0x0,Buffer[_0x58309d(0x2c7)](_0x2c913d))return _0x2c913d;let _0x4a2758;return _0x2c913d instanceof ArrayBuffer?_0x4a2758=new _0x4b8bf2(_0x2c913d):ArrayBuffer[_0x58309d(0x277)](_0x2c913d)?_0x4a2758=new _0x4b8bf2(_0x2c913d[_0x58309d(0x1b7)],_0x2c913d[_0x58309d(0x318)],_0x2c913d['byteLength']):(_0x4a2758=Buffer[_0x58309d(0x2c3)](_0x2c913d),_0x45aedc[_0x58309d(0x326)]=!0x1),_0x4a2758;}if(se[_0x5bb696(0x25e)]={'concat':_0x2624fb,'mask':_0x2ce6c0,'toArrayBuffer':_0x2a0499,'toBuffer':_0x45aedc,'unmask':_0x541352},!process[_0x5bb696(0x251)][_0x5bb696(0x1fd)])try{const _0x4094e8=Lt;se[_0x5bb696(0x25e)][_0x5bb696(0x276)]=function(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d){_0xaede9d<0x30?_0x2ce6c0(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d):_0x4094e8['mask'](_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d);},se['exports'][_0x5bb696(0x2bc)]=function(_0x290590,_0x9ab764){const _0x30a9a4=_0x5bb696;_0x290590[_0x30a9a4(0x1b2)]<0x20?_0x541352(_0x290590,_0x9ab764):_0x4094e8[_0x30a9a4(0x2bc)](_0x290590,_0x9ab764);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16b276=_0x51270a;if(He)return ye;He=0x1;const _0x27a958=Symbol(_0x16b276(0x18d)),_0x37af12=Symbol(_0x16b276(0x21b));class _0x27aecf{constructor(_0x1a5083){const _0x190bf0=_0x16b276;this[_0x27a958]=()=>{this['pending']--,this[_0x37af12]();},this[_0x190bf0(0x29e)]=_0x1a5083||0x1/0x0,this[_0x190bf0(0x23a)]=[],this[_0x190bf0(0x2af)]=0x0;}[_0x16b276(0x1d5)](_0xd10ec2){const _0x240a82=_0x16b276;this['jobs'][_0x240a82(0x241)](_0xd10ec2),this[_0x37af12]();}[_0x37af12](){const _0x1c2265=_0x16b276;if(this[_0x1c2265(0x2af)]!==this[_0x1c2265(0x29e)]&&this[_0x1c2265(0x23a)][_0x1c2265(0x1b2)]){const _0x3d3378=this[_0x1c2265(0x23a)][_0x1c2265(0x182)]();this[_0x1c2265(0x2af)]++,_0x3d3378(this[_0x27a958]);}}}return ye=_0x27aecf,ye;}var ve,ze;function _0x1e7a(){const _0x55c32a=['_read','_removeListeners','readOnly','_write','_decompress','http:','errorEmitted','listenerCount','close','Invalid\x20value\x20for\x20parameter\x20\x22','authorization','_doCreateSocket','client','Sec-WebSocket-Protocol:\x20','bind','WS_ERR_UNEXPECTED_MASK','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toStringTag','_bufferedBytes','consume','Sec-WebSocket-Extensions:\x20','ws+unix:','Connection:\x20Upgrade','terminate','href','_writableState','hasOwnProperty','sha1','setHeader','invalid\x20UTF-8\x20sequence','map','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','IConfigService','_errored','method','maxPayload','shift','_req','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','zlibInflateOptions','websocket','replace','Max\x20payload\x20size\x20exceeded','resume','protocol','drain','getPayloadLength64','kDone','readyState','slice','warn','nodebuffer','clients','format','isIP','auth','3FZgTfr','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','catch','writeUInt16BE','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_registerDependencies','7863895Aurvqy','_receiver','flush','_bufferedAmount','needDrain','Origin','_autoPong','dequeue','_inflate','__esModule','redirect','createSocket','_mask','callback','onerror','call','_fragmented','reason','\x20(supported\x20versions:\x20','RSV1\x20must\x20be\x20clear','listen','length','set','WS_ERR_UNEXPECTED_RSV_2_3','server','13,\x208','buffer','_sender','path','destroy','_shouldEmitClose','Invalid\x20Sec-WebSocket-Protocol\x20header','setTimeout','_firstFragment','_skipUTF8Validation','pipe','createDeflateRaw','response','compress','_paused','_options','pathname','readUInt16BE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CollaborationSocketService','isInteger','Upgrade','location','The\x20\x22','sec-websocket-version','wasClean','_deflate','Sec-WebSocket-Origin','sec-websocket-protocol','3466220BGoFRs','acceptAsServer','add','_extensions','onopen','Observable','Basic\x20','registerDependencies','316442HFMGVB','Disposable','clientTracking','_isServer','_generateMask','WS_ERR_INVALID_OPCODE','text/plain','kByteLength','blob','DisposableCollection','hostname','_masked','dispatch','total-length','_readableState','toLowerCase','wss:','toString','number','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open','share','_closeFrameReceived','Invalid\x20URL:\x20','status-code','haveLength','_loop','1702656ZAhRgX','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','server_max_window_bits','396919yvcZEG','_socket','allocUnsafe','error','WS_NO_BUFFER_UTIL','CONNECTING','conclude','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_UNEXPECTED_RSV_1','cork','_originalIpc','once','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','_compress','_errorEmitted','kData','unshift','\x0d\x0a\x0d\x0a','autoPong','Module','startsWith','MASK\x20must\x20be\x20clear','\x22:\x20','kCode','request','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','File','OPEN','object','Unknown\x20parameter\x20\x22','getData','WS_ERR_INVALID_UTF8','kRun','destroyed','indexOf','setConfig','isPaused','Blob','listeners','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','handleEvent','Z_DEFAULT_WINDOWBITS','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','96pAzBcc','authorized','decompress','Z_SYNC_FLUSH','_queue','offer','invalid\x20opcode\x200','emit','_injector','join','data','dataMessage','_messageLength','statusCode','followRedirects','acceptAsClient','next','UniverCollaborationClientNodePlugin','noServer','jobs','username','digest','socket','getOwnPropertyDescriptor','\x22\x20subprotocol\x20is\x20duplicated','clientMaxWindowBits','push','The\x20URL\x27s\x20pathname\x20is\x20empty','_protocol','Cookie','upgrade','generateMask','Plugin','_compressed','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','prototype','apply','getMask','CLOSED','search','writeUIntBE','_maskBuffer','env','concat','fragments','kMessage','_closeFrameSent','removeListener','kListener','nextTick','Injector','pong','pause','_allowSynchronousEvents','_originalHostOrSocketPath','exports','HTTPService','alloc','_readyState','listening','timeout','WS_NO_UTF_8_VALIDATE','Unsupported\x20protocol\x20version:\x20','reset','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','connect','stream','setSocket','perMessageDeflate','_fin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kAborted','client_no_context_takeover','createConnection','UniverCollaborationClientPlugin','GET','test','password','mask','isView','pow','maskBuffer','WebSocket','abort','controlMessage','defineProperty','CLOSING','backlog','completeUpgrade','Maximum\x20redirects\x20exceeded','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','getBlobData','defaultPort','_server','Server\x20sent\x20no\x20subprotocol','captureStackTrace','frame','client_max_window_bits','server_no_context_takeover','createError','8MkOYSL','getPayloadLength16','_configService','origin','isValidUTF8','concurrencyLimit','has','charCodeAt','parse','handleProtocols','extensionName','permessage-deflate','FIN\x20must\x20be\x20set','toDisposable','uncork','Unexpected\x20server\x20response:\x20','_max_window_bits','_buffers','concurrency','HTTP/1.1\x20101\x20Switching\x20Protocols','verifyClient','_closeCode','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','sec-websocket-extensions','kError','17583770tdCKQU','message','arraybuffer','createInflateRaw','_closeMessage','accept','_redirects','keys','emitClose','pending','size','kReason','Parameter\x20\x22','function','readUInt32BE','port','type','customHeaders','maxRedirects','params','send','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','extensions','byteLength','STATUS_CODES','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','wsClientError','from','setNoDelay','enqueue','_no_context_takeover','isBuffer','fin','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shouldHandle','forEach','getInfo','construct','bufferedAmount','skipUTF8Validation','threshold','then','onmessage','create','end','_state','serverNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeTimer','_url','getConfig','socketPath','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sendFrame','The\x20URL\x20contains\x20a\x20fragment\x20identifier','invalid\x20opcode\x20','entries','write','connection','protocolVersion','address','Invalid\x20Sec-WebSocket-Accept\x20header','_fragments','objectMode','species','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','binaryType','read','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','startLoop','code','servername','_payloadLength','_opcode','text/html','addEventListener','hash','serverMaxWindowBits','options','headers','1899621fnBIch','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','base64','target','_final','Inject','find','removeAllListeners','The\x20server\x20is\x20not\x20running','readable','isArray','NodeCollaborationSocketService','HTTP/1.1\x20','encrypted','allowSynchronousEvents','handleUpgrade','arrayBuffer','finish','delete','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','url','endEmitted','default','string','_threshold','ping','Invalid\x20Upgrade\x20header','includes','byteOffset','_destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','clientNoContextTakeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_binaryType','sec-websocket-origin','buffers','writeHead','DependentOn','MASK\x20must\x20be\x20set','finished'];_0x1e7a=function(){return _0x55c32a;};return _0x1e7a();}function he(){const _0x15c066=_0x51270a;if(ze)return ve;ze=0x1;const _0x456813=bt,_0x4a54dd=ce(),_0x56fb19=Pt(),{kStatusCode:_0x3c44b1}=H(),_0x24a787=Buffer[Symbol['species']],_0x5ebb2b=Buffer[_0x15c066(0x2c3)]([0x0,0x0,0xff,0xff]),_0x77f940=Symbol(_0x15c066(0x297)),_0x28af08=Symbol(_0x15c066(0x1e8)),_0x51a176=Symbol(_0x15c066(0x1aa)),_0x4b845a=Symbol(_0x15c066(0x31f)),_0x213db7=Symbol('error');let _0x5028cd;class _0x3dd467{constructor(_0x56fa5b,_0x5eba84,_0xf32627){const _0x424121=_0x15c066;if(this[_0x424121(0x2a2)]=_0xf32627|0x0,this[_0x424121(0x1c5)]=_0x56fa5b||{},this['_threshold']=this[_0x424121(0x1c5)][_0x424121(0x2d1)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x2d1)]:0x400,this['_isServer']=!!_0x5eba84,this[_0x424121(0x1d0)]=null,this[_0x424121(0x1a5)]=null,this['params']=null,!_0x5028cd){const _0x14cf5c=this['_options'][_0x424121(0x291)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x291)]:0xa;_0x5028cd=new _0x56fb19(_0x14cf5c);}}static get[_0x15c066(0x296)](){const _0x3d5515=_0x15c066;return _0x3d5515(0x297);}['offer'](){const _0x5424a1=_0x15c066,_0x2e4130={};return this['_options'][_0x5424a1(0x2d7)]&&(_0x2e4130[_0x5424a1(0x28a)]=!0x0),this[_0x5424a1(0x1c5)][_0x5424a1(0x31b)]&&(_0x2e4130['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2e4130[_0x5424a1(0x1f8)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x2f7)]),this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]?_0x2e4130[_0x5424a1(0x289)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]:this['_options']['clientMaxWindowBits']==null&&(_0x2e4130['client_max_window_bits']=!0x0),_0x2e4130;}[_0x15c066(0x2ab)](_0x2f7f25){const _0x1082d2=_0x15c066;return _0x2f7f25=this[_0x1082d2(0x2c0)](_0x2f7f25),this[_0x1082d2(0x2b9)]=this[_0x1082d2(0x1de)]?this[_0x1082d2(0x1d4)](_0x2f7f25):this[_0x1082d2(0x236)](_0x2f7f25),this[_0x1082d2(0x2b9)];}[_0x15c066(0x2dd)](){const _0xfe8d68=_0x15c066;if(this['_inflate']&&(this[_0xfe8d68(0x1a5)][_0xfe8d68(0x32c)](),this[_0xfe8d68(0x1a5)]=null),this[_0xfe8d68(0x1d0)]){const _0x24503f=this['_deflate'][_0x51a176];this['_deflate'][_0xfe8d68(0x32c)](),this['_deflate']=null,_0x24503f&&_0x24503f(new Error(_0xfe8d68(0x184)));}}[_0x15c066(0x1d4)](_0x5e0e63){const _0x213c42=_0x15c066,_0xbece69=this[_0x213c42(0x1c5)],_0x2ea48b=_0x5e0e63[_0x213c42(0x301)](_0x346f54=>!(_0xbece69[_0x213c42(0x2d7)]===!0x1&&_0x346f54['server_no_context_takeover']||_0x346f54['server_max_window_bits']&&(_0xbece69['serverMaxWindowBits']===!0x1||typeof _0xbece69['serverMaxWindowBits']==_0x213c42(0x1ed)&&_0xbece69[_0x213c42(0x2f7)]>_0x346f54[_0x213c42(0x1f8)])||typeof _0xbece69[_0x213c42(0x240)]==_0x213c42(0x1ed)&&!_0x346f54[_0x213c42(0x289)]));if(!_0x2ea48b)throw new Error(_0x213c42(0x197));return _0xbece69[_0x213c42(0x2d7)]&&(_0x2ea48b[_0x213c42(0x28a)]=!0x0),_0xbece69[_0x213c42(0x31b)]&&(_0x2ea48b[_0x213c42(0x270)]=!0x0),typeof _0xbece69[_0x213c42(0x2f7)]==_0x213c42(0x1ed)&&(_0x2ea48b[_0x213c42(0x1f8)]=_0xbece69[_0x213c42(0x2f7)]),typeof _0xbece69[_0x213c42(0x240)]=='number'?_0x2ea48b[_0x213c42(0x289)]=_0xbece69['clientMaxWindowBits']:(_0x2ea48b[_0x213c42(0x289)]===!0x0||_0xbece69[_0x213c42(0x240)]===!0x1)&&delete _0x2ea48b['client_max_window_bits'],_0x2ea48b;}['acceptAsClient'](_0x31416f){const _0x4aa0b9=_0x15c066,_0x14b86f=_0x31416f[0x0];if(this[_0x4aa0b9(0x1c5)]['clientNoContextTakeover']===!0x1&&_0x14b86f[_0x4aa0b9(0x270)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x14b86f[_0x4aa0b9(0x289)])typeof this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']=='number'&&(_0x14b86f[_0x4aa0b9(0x289)]=this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]);else{if(this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']===!0x1||typeof this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]==_0x4aa0b9(0x1ed)&&_0x14b86f[_0x4aa0b9(0x289)]>this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits'])throw new Error(_0x4aa0b9(0x2ca));}return _0x14b86f;}[_0x15c066(0x2c0)](_0x26b4d7){const _0x117826=_0x15c066;return _0x26b4d7[_0x117826(0x2cc)](_0xf9785f=>{const _0x39f05f=_0x117826;Object[_0x39f05f(0x2ad)](_0xf9785f)[_0x39f05f(0x2cc)](_0x37c5b3=>{const _0x118c01=_0x39f05f;let _0x3dd88e=_0xf9785f[_0x37c5b3];if(_0x3dd88e[_0x118c01(0x1b2)]>0x1)throw new Error(_0x118c01(0x2b2)+_0x37c5b3+_0x118c01(0x2a3));if(_0x3dd88e=_0x3dd88e[0x0],_0x37c5b3==='client_max_window_bits'){if(_0x3dd88e!==!0x0){const _0x1bed11=+_0x3dd88e;if(!Number[_0x118c01(0x1ca)](_0x1bed11)||_0x1bed11<0x8||_0x1bed11>0xf)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x1bed11;}else{if(!this['_isServer'])throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}}else{if(_0x37c5b3==='server_max_window_bits'){const _0x423a93=+_0x3dd88e;if(!Number['isInteger'](_0x423a93)||_0x423a93<0x8||_0x423a93>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x423a93;}else{if(_0x37c5b3===_0x118c01(0x270)||_0x37c5b3==='server_no_context_takeover'){if(_0x3dd88e!==!0x0)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}else throw new Error(_0x118c01(0x218)+_0x37c5b3+'\x22');}}_0xf9785f[_0x37c5b3]=_0x3dd88e;});}),_0x26b4d7;}[_0x15c066(0x229)](_0x1daa3d,_0x1ad668,_0x38f34f){const _0x471e4f=_0x15c066;_0x5028cd[_0x471e4f(0x1d5)](_0xccc34e=>{this['_decompress'](_0x1daa3d,_0x1ad668,(_0x590ea2,_0x3e1bad)=>{_0xccc34e(),_0x38f34f(_0x590ea2,_0x3e1bad);});});}[_0x15c066(0x1c3)](_0x171f20,_0x8a15b3,_0x33df6f){_0x5028cd['add'](_0x4ebd8d=>{const _0x2c67c9=_0x22a9;this[_0x2c67c9(0x207)](_0x171f20,_0x8a15b3,(_0x2e1edd,_0x2d37e5)=>{_0x4ebd8d(),_0x33df6f(_0x2e1edd,_0x2d37e5);});});}[_0x15c066(0x328)](_0x2e2246,_0x1d167c,_0x5e6ed6){const _0x29dba8=_0x15c066,_0x4db733=this['_isServer']?'client':_0x29dba8(0x1b5);if(!this[_0x29dba8(0x1a5)]){const _0x258ba9=_0x4db733+'_max_window_bits',_0x1f6640=typeof this['params'][_0x258ba9]!=_0x29dba8(0x1ed)?_0x456813[_0x29dba8(0x224)]:this[_0x29dba8(0x2b9)][_0x258ba9];this[_0x29dba8(0x1a5)]=_0x456813[_0x29dba8(0x2a9)]({...this[_0x29dba8(0x1c5)][_0x29dba8(0x185)],'windowBits':_0x1f6640}),this['_inflate'][_0x77f940]=this,this['_inflate'][_0x28af08]=0x0,this[_0x29dba8(0x1a5)][_0x4b845a]=[],this[_0x29dba8(0x1a5)]['on']('error',_0x2060c5),this[_0x29dba8(0x1a5)]['on'](_0x29dba8(0x231),_0x4ff07f);}this['_inflate'][_0x51a176]=_0x5e6ed6,this[_0x29dba8(0x1a5)][_0x29dba8(0x2e3)](_0x2e2246),_0x1d167c&&this['_inflate'][_0x29dba8(0x2e3)](_0x5ebb2b),this[_0x29dba8(0x1a5)][_0x29dba8(0x19f)](()=>{const _0x2511f2=_0x29dba8,_0x50f8c3=this[_0x2511f2(0x1a5)][_0x213db7];if(_0x50f8c3){this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this[_0x2511f2(0x1a5)]=null,_0x5e6ed6(_0x50f8c3);return;}const _0x3e9f82=_0x4a54dd['concat'](this[_0x2511f2(0x1a5)][_0x4b845a],this[_0x2511f2(0x1a5)][_0x28af08]);this['_inflate']['_readableState'][_0x2511f2(0x311)]?(this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this['_inflate']=null):(this[_0x2511f2(0x1a5)][_0x28af08]=0x0,this[_0x2511f2(0x1a5)][_0x4b845a]=[],_0x1d167c&&this[_0x2511f2(0x2b9)][_0x4db733+_0x2511f2(0x2c6)]&&this['_inflate'][_0x2511f2(0x266)]()),_0x5e6ed6(null,_0x3e9f82);});}['_compress'](_0x39c32a,_0x525688,_0x2bb021){const _0x40a408=_0x15c066,_0xe8cfd1=this[_0x40a408(0x1de)]?_0x40a408(0x1b5):_0x40a408(0x330);if(!this[_0x40a408(0x1d0)]){const _0x5cf436=_0xe8cfd1+_0x40a408(0x29c),_0x155cbc=typeof this[_0x40a408(0x2b9)][_0x5cf436]!=_0x40a408(0x1ed)?_0x456813[_0x40a408(0x224)]:this[_0x40a408(0x2b9)][_0x5cf436];this[_0x40a408(0x1d0)]=_0x456813[_0x40a408(0x1c1)]({...this[_0x40a408(0x1c5)]['zlibDeflateOptions'],'windowBits':_0x155cbc}),this['_deflate'][_0x28af08]=0x0,this['_deflate'][_0x4b845a]=[],this[_0x40a408(0x1d0)]['on'](_0x40a408(0x231),_0x3d1abf);}this['_deflate'][_0x51a176]=_0x2bb021,this[_0x40a408(0x1d0)][_0x40a408(0x2e3)](_0x39c32a),this[_0x40a408(0x1d0)][_0x40a408(0x19f)](_0x456813[_0x40a408(0x22a)],()=>{const _0x9869c9=_0x40a408;if(!this[_0x9869c9(0x1d0)])return;let _0x270bea=_0x4a54dd[_0x9869c9(0x252)](this[_0x9869c9(0x1d0)][_0x4b845a],this[_0x9869c9(0x1d0)][_0x28af08]);_0x525688&&(_0x270bea=new _0x24a787(_0x270bea[_0x9869c9(0x1b7)],_0x270bea[_0x9869c9(0x318)],_0x270bea['length']-0x4)),this[_0x9869c9(0x1d0)][_0x51a176]=null,this['_deflate'][_0x28af08]=0x0,this[_0x9869c9(0x1d0)][_0x4b845a]=[],_0x525688&&this[_0x9869c9(0x2b9)][_0xe8cfd1+_0x9869c9(0x2c6)]&&this[_0x9869c9(0x1d0)][_0x9869c9(0x266)](),_0x2bb021(null,_0x270bea);});}}ve=_0x3dd467;function _0x3d1abf(_0x3a5deb){const _0x533524=_0x15c066;this[_0x4b845a][_0x533524(0x241)](_0x3a5deb),this[_0x28af08]+=_0x3a5deb[_0x533524(0x1b2)];}function _0x4ff07f(_0x1ccbe6){const _0x4a3af1=_0x15c066;if(this[_0x28af08]+=_0x1ccbe6['length'],this[_0x77f940][_0x4a3af1(0x2a2)]<0x1||this[_0x28af08]<=this[_0x77f940][_0x4a3af1(0x2a2)]){this[_0x4b845a]['push'](_0x1ccbe6);return;}this[_0x213db7]=new RangeError(_0x4a3af1(0x188)),this[_0x213db7]['code']=_0x4a3af1(0x19b),this[_0x213db7][_0x3c44b1]=0x3f1,this[_0x4a3af1(0x256)](_0x4a3af1(0x231),_0x4ff07f),this['reset']();}function _0x2060c5(_0x5ed2fe){const _0x174c97=_0x15c066;if(this[_0x77f940][_0x174c97(0x1a5)]=null,this[_0x213db7]){this[_0x51a176](this[_0x213db7]);return;}_0x5ed2fe[_0x3c44b1]=0x3ef,this[_0x51a176](_0x5ed2fe);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x51270a(0x336)],{'value':_0x51270a(0x20d)})),Bt=at(Rt);var Ye;function ae(){const _0x532f51=_0x51270a;if(Ye)return ie[_0x532f51(0x25e)];Ye=0x1;const {isUtf8:_0x2aad44}=wt,{hasBlob:_0x137e65}=H(),_0x2c312f=[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 _0x34060a(_0x2749a5){return _0x2749a5>=0x3e8&&_0x2749a5<=0x3f6&&_0x2749a5!==0x3ec&&_0x2749a5!==0x3ed&&_0x2749a5!==0x3ee||_0x2749a5>=0xbb8&&_0x2749a5<=0x1387;}function _0x25b9ec(_0x5572c4){const _0x576b50=_0x532f51,_0xfcfc55=_0x5572c4[_0x576b50(0x1b2)];let _0x1fc71c=0x0;for(;_0x1fc71c<_0xfcfc55;)if((_0x5572c4[_0x1fc71c]&0x80)===0x0)_0x1fc71c++;else{if((_0x5572c4[_0x1fc71c]&0xe0)===0xc0){if(_0x1fc71c+0x1===_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c]&0xfe)===0xc0)return!0x1;_0x1fc71c+=0x2;}else{if((_0x5572c4[_0x1fc71c]&0xf0)===0xe0){if(_0x1fc71c+0x2>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xe0&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0x80||_0x5572c4[_0x1fc71c]===0xed&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0xa0)return!0x1;_0x1fc71c+=0x3;}else{if((_0x5572c4[_0x1fc71c]&0xf8)===0xf0){if(_0x1fc71c+0x3>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x3]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xf0&&(_0x5572c4[_0x1fc71c+0x1]&0xf0)===0x80||_0x5572c4[_0x1fc71c]===0xf4&&_0x5572c4[_0x1fc71c+0x1]>0x8f||_0x5572c4[_0x1fc71c]>0xf4)return!0x1;_0x1fc71c+=0x4;}else return!0x1;}}}return!0x0;}function _0x358f42(_0x224f12){const _0x216620=_0x532f51;return _0x137e65&&typeof _0x224f12==_0x216620(0x217)&&typeof _0x224f12['arrayBuffer']=='function'&&typeof _0x224f12[_0x216620(0x2b6)]==_0x216620(0x313)&&typeof _0x224f12[_0x216620(0x26a)]=='function'&&(_0x224f12[Symbol['toStringTag']]===_0x216620(0x220)||_0x224f12[Symbol[_0x216620(0x336)]]===_0x216620(0x215));}if(ie[_0x532f51(0x25e)]={'isBlob':_0x358f42,'isValidStatusCode':_0x34060a,'isValidUTF8':_0x25b9ec,'tokenChars':_0x2c312f},_0x2aad44)ie[_0x532f51(0x25e)]['isValidUTF8']=function(_0x534ea8){return _0x534ea8['length']<0x18?_0x25b9ec(_0x534ea8):_0x2aad44(_0x534ea8);};else{if(!process[_0x532f51(0x251)][_0x532f51(0x264)])try{const _0x57c5c5=Bt;ie['exports'][_0x532f51(0x290)]=function(_0x1d17af){const _0x365f54=_0x532f51;return _0x1d17af[_0x365f54(0x1b2)]<0x20?_0x25b9ec(_0x1d17af):_0x57c5c5(_0x1d17af);};}catch{}}return ie[_0x532f51(0x25e)];}var Se,Ke;function lt(){const _0x15daf8=_0x51270a;if(Ke)return Se;Ke=0x1;const {Writable:_0x12750a}=oe,_0x1001af=he(),{BINARY_TYPES:_0x5be05a,EMPTY_BUFFER:_0x3f8ae0,kStatusCode:_0x531700,kWebSocket:_0x4b3ca3}=H(),{concat:_0x3bf982,toArrayBuffer:_0x39cd05,unmask:_0x381e18}=ce(),{isValidStatusCode:_0x34458a,isValidUTF8:_0xe6e3b6}=ae(),_0x495678=Buffer[Symbol[_0x15daf8(0x2ea)]],_0x548391=0x0,_0x23329e=0x1,_0x149e25=0x2,_0x4966af=0x3,_0x2091dc=0x4,_0x34871d=0x5,_0x17bcba=0x6;class _0x1db027 extends _0x12750a{constructor(_0x577dc2={}){const _0x51584e=_0x15daf8;super(),this[_0x51584e(0x25c)]=_0x577dc2[_0x51584e(0x309)]!==void 0x0?_0x577dc2[_0x51584e(0x309)]:!0x0,this[_0x51584e(0x31d)]=_0x577dc2[_0x51584e(0x2ec)]||_0x5be05a[0x0],this['_extensions']=_0x577dc2['extensions']||{},this[_0x51584e(0x1de)]=!!_0x577dc2['isServer'],this[_0x51584e(0x2a2)]=_0x577dc2[_0x51584e(0x181)]|0x0,this[_0x51584e(0x1bf)]=!!_0x577dc2['skipUTF8Validation'],this[_0x4b3ca3]=void 0x0,this[_0x51584e(0x337)]=0x0,this['_buffers']=[],this[_0x51584e(0x248)]=!0x1,this[_0x51584e(0x2f2)]=0x0,this[_0x51584e(0x1a9)]=void 0x0,this[_0x51584e(0x1ad)]=0x0,this['_masked']=!0x1,this[_0x51584e(0x26d)]=!0x1,this[_0x51584e(0x2f3)]=0x0,this[_0x51584e(0x206)]=0x0,this[_0x51584e(0x233)]=0x0,this[_0x51584e(0x2e8)]=[],this[_0x51584e(0x17f)]=!0x1,this[_0x51584e(0x1f5)]=!0x1,this['_state']=_0x548391;}[_0x15daf8(0x327)](_0x5d05ee,_0x28e220,_0x5362fe){const _0x132a61=_0x15daf8;if(this['_opcode']===0x8&&this[_0x132a61(0x2d6)]==_0x548391)return _0x5362fe();this[_0x132a61(0x337)]+=_0x5d05ee[_0x132a61(0x1b2)],this['_buffers'][_0x132a61(0x241)](_0x5d05ee),this[_0x132a61(0x2ef)](_0x5362fe);}[_0x15daf8(0x338)](_0x187388){const _0x348003=_0x15daf8;if(this[_0x348003(0x337)]-=_0x187388,_0x187388===this[_0x348003(0x29d)][0x0][_0x348003(0x1b2)])return this[_0x348003(0x29d)][_0x348003(0x182)]();if(_0x187388<this[_0x348003(0x29d)][0x0]['length']){const _0x26de2e=this['_buffers'][0x0];return this[_0x348003(0x29d)][0x0]=new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e[_0x348003(0x318)]+_0x187388,_0x26de2e[_0x348003(0x1b2)]-_0x187388),new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e['byteOffset'],_0x187388);}const _0x1560f7=Buffer[_0x348003(0x1fb)](_0x187388);do{const _0x42f24a=this[_0x348003(0x29d)][0x0],_0x2ac24e=_0x1560f7[_0x348003(0x1b2)]-_0x187388;_0x187388>=_0x42f24a[_0x348003(0x1b2)]?_0x1560f7[_0x348003(0x1b3)](this[_0x348003(0x29d)]['shift'](),_0x2ac24e):(_0x1560f7['set'](new Uint8Array(_0x42f24a[_0x348003(0x1b7)],_0x42f24a['byteOffset'],_0x187388),_0x2ac24e),this[_0x348003(0x29d)][0x0]=new _0x495678(_0x42f24a['buffer'],_0x42f24a[_0x348003(0x318)]+_0x187388,_0x42f24a[_0x348003(0x1b2)]-_0x187388)),_0x187388-=_0x42f24a[_0x348003(0x1b2)];}while(_0x187388>0x0);return _0x1560f7;}[_0x15daf8(0x2ef)](_0xb1fee7){const _0x4f908a=_0x15daf8;this['_loop']=!0x0;do switch(this[_0x4f908a(0x2d6)]){case _0x548391:this['getInfo'](_0xb1fee7);break;case _0x23329e:this[_0x4f908a(0x28d)](_0xb1fee7);break;case _0x149e25:this[_0x4f908a(0x18c)](_0xb1fee7);break;case _0x4966af:this[_0x4f908a(0x24c)]();break;case _0x2091dc:this[_0x4f908a(0x219)](_0xb1fee7);break;case _0x34871d:case _0x17bcba:this[_0x4f908a(0x1f5)]=!0x1;return;}while(this[_0x4f908a(0x1f5)]);this[_0x4f908a(0x17f)]||_0xb1fee7();}[_0x15daf8(0x2cd)](_0x4a230e){const _0x4e46f2=_0x15daf8;if(this[_0x4e46f2(0x337)]<0x2){this[_0x4e46f2(0x1f5)]=!0x1;return;}const _0x4673a9=this[_0x4e46f2(0x338)](0x2);if((_0x4673a9[0x0]&0x30)!==0x0){const _0x2cf2b4=this[_0x4e46f2(0x28b)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e46f2(0x1b4));_0x4a230e(_0x2cf2b4);return;}const _0x28e0f2=(_0x4673a9[0x0]&0x40)===0x40;if(_0x28e0f2&&!this[_0x4e46f2(0x1d6)][_0x1001af[_0x4e46f2(0x296)]]){const _0x239b33=this['createError'](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x239b33);return;}if(this[_0x4e46f2(0x26d)]=(_0x4673a9[0x0]&0x80)===0x80,this['_opcode']=_0x4673a9[0x0]&0xf,this[_0x4e46f2(0x2f2)]=_0x4673a9[0x1]&0x7f,this['_opcode']===0x0){if(_0x28e0f2){const _0x373002=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,_0x4e46f2(0x201));_0x4a230e(_0x373002);return;}if(!this[_0x4e46f2(0x1ad)]){const _0x554b3b=this['createError'](RangeError,_0x4e46f2(0x22d),!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x554b3b);return;}this[_0x4e46f2(0x2f3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4e46f2(0x2f3)]===0x2){if(this[_0x4e46f2(0x1ad)]){const _0x42e245=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x2e1)+this[_0x4e46f2(0x2f3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a230e(_0x42e245);return;}this['_compressed']=_0x28e0f2;}else{if(this[_0x4e46f2(0x2f3)]>0x7&&this[_0x4e46f2(0x2f3)]<0xb){if(!this['_fin']){const _0x5aa12d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a230e(_0x5aa12d);return;}if(_0x28e0f2){const _0x28b863=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x28b863);return;}if(this[_0x4e46f2(0x2f2)]>0x7d||this['_opcode']===0x8&&this[_0x4e46f2(0x2f2)]===0x1){const _0x52dc1f=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x268)+this[_0x4e46f2(0x2f2)],!0x0,0x3ea,_0x4e46f2(0x30f));_0x4a230e(_0x52dc1f);return;}}else{const _0x74c63a=this['createError'](RangeError,_0x4e46f2(0x2e1)+this['_opcode'],!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x74c63a);return;}}}if(!this[_0x4e46f2(0x26d)]&&!this[_0x4e46f2(0x1ad)]&&(this[_0x4e46f2(0x1ad)]=this[_0x4e46f2(0x2f3)]),this[_0x4e46f2(0x1e6)]=(_0x4673a9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0xe0732d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x322),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a230e(_0xe0732d);return;}}else{if(this[_0x4e46f2(0x1e6)]){const _0x5a4561=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x20f),!0x0,0x3ea,_0x4e46f2(0x333));_0x4a230e(_0x5a4561);return;}}this[_0x4e46f2(0x2f2)]===0x7e?this['_state']=_0x23329e:this['_payloadLength']===0x7f?this[_0x4e46f2(0x2d6)]=_0x149e25:this[_0x4e46f2(0x1f4)](_0x4a230e);}['getPayloadLength16'](_0x1ed3a6){const _0x2d38d0=_0x15daf8;if(this[_0x2d38d0(0x337)]<0x2){this['_loop']=!0x1;return;}this[_0x2d38d0(0x2f2)]=this['consume'](0x2)[_0x2d38d0(0x1c7)](0x0),this[_0x2d38d0(0x1f4)](_0x1ed3a6);}[_0x15daf8(0x18c)](_0x321275){const _0xb18a24=_0x15daf8;if(this[_0xb18a24(0x337)]<0x8){this[_0xb18a24(0x1f5)]=!0x1;return;}const _0x2ac34d=this['consume'](0x8),_0x3885fb=_0x2ac34d[_0xb18a24(0x2b4)](0x0);if(_0x3885fb>Math[_0xb18a24(0x278)](0x2,0x15)-0x1){const _0x171289=this['createError'](RangeError,_0xb18a24(0x214),!0x1,0x3f1,_0xb18a24(0x200));_0x321275(_0x171289);return;}this[_0xb18a24(0x2f2)]=_0x3885fb*Math['pow'](0x2,0x20)+_0x2ac34d[_0xb18a24(0x2b4)](0x4),this[_0xb18a24(0x1f4)](_0x321275);}[_0x15daf8(0x1f4)](_0x2e7eea){const _0x573650=_0x15daf8;if(this[_0x573650(0x2f2)]&&this[_0x573650(0x2f3)]<0x8&&(this['_totalPayloadLength']+=this[_0x573650(0x2f2)],this[_0x573650(0x206)]>this[_0x573650(0x2a2)]&&this[_0x573650(0x2a2)]>0x0)){const _0x26d58e=this[_0x573650(0x28b)](RangeError,_0x573650(0x188),!0x1,0x3f1,_0x573650(0x19b));_0x2e7eea(_0x26d58e);return;}this[_0x573650(0x1e6)]?this[_0x573650(0x2d6)]=_0x4966af:this[_0x573650(0x2d6)]=_0x2091dc;}[_0x15daf8(0x24c)](){const _0x3615a0=_0x15daf8;if(this[_0x3615a0(0x337)]<0x4){this[_0x3615a0(0x1f5)]=!0x1;return;}this[_0x3615a0(0x1a9)]=this[_0x3615a0(0x338)](0x4),this[_0x3615a0(0x2d6)]=_0x2091dc;}[_0x15daf8(0x219)](_0x141325){const _0x8c4470=_0x15daf8;let _0x54b362=_0x3f8ae0;if(this['_payloadLength']){if(this[_0x8c4470(0x337)]<this[_0x8c4470(0x2f2)]){this['_loop']=!0x1;return;}_0x54b362=this[_0x8c4470(0x338)](this[_0x8c4470(0x2f2)]),this['_masked']&&(this[_0x8c4470(0x1a9)][0x0]|this[_0x8c4470(0x1a9)][0x1]|this[_0x8c4470(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x381e18(_0x54b362,this['_mask']);}if(this['_opcode']>0x7){this[_0x8c4470(0x27c)](_0x54b362,_0x141325);return;}if(this['_compressed']){this[_0x8c4470(0x2d6)]=_0x34871d,this[_0x8c4470(0x229)](_0x54b362,_0x141325);return;}_0x54b362[_0x8c4470(0x1b2)]&&(this['_messageLength']=this[_0x8c4470(0x206)],this['_fragments'][_0x8c4470(0x241)](_0x54b362)),this[_0x8c4470(0x232)](_0x141325);}[_0x15daf8(0x229)](_0x5020ac,_0x20ce1b){const _0x2f0aeb=_0x15daf8;this[_0x2f0aeb(0x1d6)][_0x1001af[_0x2f0aeb(0x296)]][_0x2f0aeb(0x229)](_0x5020ac,this[_0x2f0aeb(0x26d)],(_0x5e06ec,_0xcfc692)=>{const _0x3dcd14=_0x2f0aeb;if(_0x5e06ec)return _0x20ce1b(_0x5e06ec);if(_0xcfc692[_0x3dcd14(0x1b2)]){if(this[_0x3dcd14(0x233)]+=_0xcfc692[_0x3dcd14(0x1b2)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x10f5c5=this[_0x3dcd14(0x28b)](RangeError,_0x3dcd14(0x188),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x20ce1b(_0x10f5c5);return;}this[_0x3dcd14(0x2e8)][_0x3dcd14(0x241)](_0xcfc692);}this[_0x3dcd14(0x232)](_0x20ce1b),this[_0x3dcd14(0x2d6)]===_0x548391&&this[_0x3dcd14(0x2ef)](_0x20ce1b);});}['dataMessage'](_0x5488cc){const _0x175d62=_0x15daf8;if(!this[_0x175d62(0x26d)]){this[_0x175d62(0x2d6)]=_0x548391;return;}const _0x4713e5=this[_0x175d62(0x233)],_0x5659c0=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x175d62(0x233)]=0x0,this[_0x175d62(0x1ad)]=0x0,this[_0x175d62(0x2e8)]=[],this[_0x175d62(0x2f3)]===0x2){let _0x3c400a;this['_binaryType']===_0x175d62(0x191)?_0x3c400a=_0x3bf982(_0x5659c0,_0x4713e5):this[_0x175d62(0x31d)]===_0x175d62(0x2a8)?_0x3c400a=_0x39cd05(_0x3bf982(_0x5659c0,_0x4713e5)):this['_binaryType']===_0x175d62(0x1e3)?_0x3c400a=new Blob(_0x5659c0):_0x3c400a=_0x5659c0,this['_allowSynchronousEvents']?(this[_0x175d62(0x22e)](_0x175d62(0x2a7),_0x3c400a,!0x0),this[_0x175d62(0x2d6)]=_0x548391):(this[_0x175d62(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x2b9ba3=_0x175d62;this[_0x2b9ba3(0x22e)](_0x2b9ba3(0x2a7),_0x3c400a,!0x0),this[_0x2b9ba3(0x2d6)]=_0x548391,this[_0x2b9ba3(0x2ef)](_0x5488cc);}));}else{const _0x335392=_0x3bf982(_0x5659c0,_0x4713e5);if(!this[_0x175d62(0x1bf)]&&!_0xe6e3b6(_0x335392)){const _0x35f966=this[_0x175d62(0x28b)](Error,_0x175d62(0x17b),!0x0,0x3ef,_0x175d62(0x21a));_0x5488cc(_0x35f966);return;}this[_0x175d62(0x2d6)]===_0x34871d||this[_0x175d62(0x25c)]?(this['emit']('message',_0x335392,!0x1),this['_state']=_0x548391):(this['_state']=_0x17bcba,setImmediate(()=>{const _0x15180b=_0x175d62;this[_0x15180b(0x22e)](_0x15180b(0x2a7),_0x335392,!0x1),this[_0x15180b(0x2d6)]=_0x548391,this[_0x15180b(0x2ef)](_0x5488cc);}));}}['controlMessage'](_0x440e4c,_0x1645dd){const _0x53c4e6=_0x15daf8;if(this[_0x53c4e6(0x2f3)]===0x8){if(_0x440e4c[_0x53c4e6(0x1b2)]===0x0)this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),0x3ed,_0x3f8ae0),this['end']();else{const _0x5b8785=_0x440e4c[_0x53c4e6(0x1c7)](0x0);if(!_0x34458a(_0x5b8785)){const _0x3c713e=this[_0x53c4e6(0x28b)](RangeError,_0x53c4e6(0x267)+_0x5b8785,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1645dd(_0x3c713e);return;}const _0x432eb0=new _0x495678(_0x440e4c[_0x53c4e6(0x1b7)],_0x440e4c[_0x53c4e6(0x318)]+0x2,_0x440e4c[_0x53c4e6(0x1b2)]-0x2);if(!this[_0x53c4e6(0x1bf)]&&!_0xe6e3b6(_0x432eb0)){const _0x15c84e=this[_0x53c4e6(0x28b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53c4e6(0x21a));_0x1645dd(_0x15c84e);return;}this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),_0x5b8785,_0x432eb0),this[_0x53c4e6(0x2d5)]();}this['_state']=_0x548391;return;}this[_0x53c4e6(0x25c)]?(this['emit'](this[_0x53c4e6(0x2f3)]===0x9?_0x53c4e6(0x315):_0x53c4e6(0x25a),_0x440e4c),this[_0x53c4e6(0x2d6)]=_0x548391):(this[_0x53c4e6(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x8a0be7=_0x53c4e6;this[_0x8a0be7(0x22e)](this[_0x8a0be7(0x2f3)]===0x9?'ping':'pong',_0x440e4c),this[_0x8a0be7(0x2d6)]=_0x548391,this[_0x8a0be7(0x2ef)](_0x1645dd);}));}[_0x15daf8(0x28b)](_0x144973,_0x1a9647,_0x198864,_0x1ebd12,_0x48483a){const _0x311237=_0x15daf8;this[_0x311237(0x1f5)]=!0x1,this[_0x311237(0x17f)]=!0x0;const _0x27b8b2=new _0x144973(_0x198864?'Invalid\x20WebSocket\x20frame:\x20'+_0x1a9647:_0x1a9647);return Error['captureStackTrace'](_0x27b8b2,this[_0x311237(0x28b)]),_0x27b8b2['code']=_0x48483a,_0x27b8b2[_0x531700]=_0x1ebd12,_0x27b8b2;}}return Se=_0x1db027,Se;}var Ee,Xe;function ft(){const _0x5e83af=_0x51270a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x296977}=oe,{randomFillSync:_0x3f4c4f}=Le,_0x4ceb31=he(),{EMPTY_BUFFER:_0x576cc3,kWebSocket:_0x5b91e8,NOOP:_0x15c189}=H(),{isBlob:_0x1e9481,isValidStatusCode:_0x496892}=ae(),{mask:_0x135bd9,toBuffer:_0x719f96}=ce(),_0x4e936f=Symbol(_0x5e83af(0x1e2)),_0x46770a=Buffer[_0x5e83af(0x260)](0x4),_0x587965=0x8*0x400;let _0x1352b5,_0x181cd4=_0x587965;const _0x4b0bfa=0x0,_0x679e1a=0x1,_0x26d0ae=0x2;class _0x3592fe{constructor(_0x121734,_0x19f0e5,_0x2bb486){const _0x4d9097=_0x5e83af;this[_0x4d9097(0x1d6)]=_0x19f0e5||{},_0x2bb486&&(this[_0x4d9097(0x1df)]=_0x2bb486,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4d9097(0x1fa)]=_0x121734,this[_0x4d9097(0x1be)]=!0x0,this[_0x4d9097(0x207)]=!0x1,this[_0x4d9097(0x337)]=0x0,this[_0x4d9097(0x22b)]=[],this['_state']=_0x4b0bfa,this[_0x4d9097(0x1ab)]=_0x15c189,this[_0x5b91e8]=void 0x0;}static[_0x5e83af(0x288)](_0x1fab8c,_0x4f2152){const _0x58b294=_0x5e83af;let _0x16c24d,_0x3688ef=!0x1,_0x4e6028=0x2,_0x4529bf=!0x1;_0x4f2152[_0x58b294(0x276)]&&(_0x16c24d=_0x4f2152[_0x58b294(0x279)]||_0x46770a,_0x4f2152[_0x58b294(0x246)]?_0x4f2152[_0x58b294(0x246)](_0x16c24d):(_0x181cd4===_0x587965&&(_0x1352b5===void 0x0&&(_0x1352b5=Buffer[_0x58b294(0x260)](_0x587965)),_0x3f4c4f(_0x1352b5,0x0,_0x587965),_0x181cd4=0x0),_0x16c24d[0x0]=_0x1352b5[_0x181cd4++],_0x16c24d[0x1]=_0x1352b5[_0x181cd4++],_0x16c24d[0x2]=_0x1352b5[_0x181cd4++],_0x16c24d[0x3]=_0x1352b5[_0x181cd4++]),_0x4529bf=(_0x16c24d[0x0]|_0x16c24d[0x1]|_0x16c24d[0x2]|_0x16c24d[0x3])===0x0,_0x4e6028=0x6);let _0x595c5b;typeof _0x1fab8c==_0x58b294(0x313)?(!_0x4f2152[_0x58b294(0x276)]||_0x4529bf)&&_0x4f2152[_0x4e936f]!==void 0x0?_0x595c5b=_0x4f2152[_0x4e936f]:(_0x1fab8c=Buffer[_0x58b294(0x2c3)](_0x1fab8c),_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)]):(_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)],_0x3688ef=_0x4f2152[_0x58b294(0x276)]&&_0x4f2152[_0x58b294(0x326)]&&!_0x4529bf);let _0x4b2e25=_0x595c5b;_0x595c5b>=0x10000?(_0x4e6028+=0x8,_0x4b2e25=0x7f):_0x595c5b>0x7d&&(_0x4e6028+=0x2,_0x4b2e25=0x7e);const _0x2b1fa0=Buffer[_0x58b294(0x1fb)](_0x3688ef?_0x595c5b+_0x4e6028:_0x4e6028);return _0x2b1fa0[0x0]=_0x4f2152[_0x58b294(0x2c8)]?_0x4f2152['opcode']|0x80:_0x4f2152['opcode'],_0x4f2152['rsv1']&&(_0x2b1fa0[0x0]|=0x40),_0x2b1fa0[0x1]=_0x4b2e25,_0x4b2e25===0x7e?_0x2b1fa0[_0x58b294(0x199)](_0x595c5b,0x2):_0x4b2e25===0x7f&&(_0x2b1fa0[0x2]=_0x2b1fa0[0x3]=0x0,_0x2b1fa0[_0x58b294(0x24f)](_0x595c5b,0x4,0x6)),_0x4f2152[_0x58b294(0x276)]?(_0x2b1fa0[0x1]|=0x80,_0x2b1fa0[_0x4e6028-0x4]=_0x16c24d[0x0],_0x2b1fa0[_0x4e6028-0x3]=_0x16c24d[0x1],_0x2b1fa0[_0x4e6028-0x2]=_0x16c24d[0x2],_0x2b1fa0[_0x4e6028-0x1]=_0x16c24d[0x3],_0x4529bf?[_0x2b1fa0,_0x1fab8c]:_0x3688ef?(_0x135bd9(_0x1fab8c,_0x16c24d,_0x2b1fa0,_0x4e6028,_0x595c5b),[_0x2b1fa0]):(_0x135bd9(_0x1fab8c,_0x16c24d,_0x1fab8c,0x0,_0x595c5b),[_0x2b1fa0,_0x1fab8c])):[_0x2b1fa0,_0x1fab8c];}[_0x5e83af(0x32c)](_0x2c9101,_0x2a2a74,_0x4c5a95,_0x4d1ce1){const _0x1ba070=_0x5e83af;let _0x2821a5;if(_0x2c9101===void 0x0)_0x2821a5=_0x576cc3;else{if(typeof _0x2c9101!=_0x1ba070(0x1ed)||!_0x496892(_0x2c9101))throw new TypeError(_0x1ba070(0x31a));if(_0x2a2a74===void 0x0||!_0x2a2a74['length'])_0x2821a5=Buffer[_0x1ba070(0x1fb)](0x2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0);else{const _0x3d0eb2=Buffer[_0x1ba070(0x2be)](_0x2a2a74);if(_0x3d0eb2>0x7b)throw new RangeError(_0x1ba070(0x26e));_0x2821a5=Buffer['allocUnsafe'](0x2+_0x3d0eb2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0),typeof _0x2a2a74==_0x1ba070(0x313)?_0x2821a5[_0x1ba070(0x2e3)](_0x2a2a74,0x2):_0x2821a5[_0x1ba070(0x1b3)](_0x2a2a74,0x2);}}const _0x153635={[_0x4e936f]:_0x2821a5[_0x1ba070(0x1b2)],'fin':!0x0,'generateMask':this[_0x1ba070(0x1df)],'mask':_0x4c5a95,'maskBuffer':this[_0x1ba070(0x250)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ba070(0x2d6)]!==_0x4b0bfa?this[_0x1ba070(0x2c5)]([this[_0x1ba070(0x1e7)],_0x2821a5,!0x1,_0x153635,_0x4d1ce1]):this[_0x1ba070(0x2df)](_0x3592fe['frame'](_0x2821a5,_0x153635),_0x4d1ce1);}[_0x5e83af(0x315)](_0x5efda7,_0x27483f,_0x329a0e){const _0x3c825e=_0x5e83af;let _0x36d595,_0x46f952;if(typeof _0x5efda7=='string'?(_0x36d595=Buffer['byteLength'](_0x5efda7),_0x46f952=!0x1):_0x1e9481(_0x5efda7)?(_0x36d595=_0x5efda7[_0x3c825e(0x2b0)],_0x46f952=!0x1):(_0x5efda7=_0x719f96(_0x5efda7),_0x36d595=_0x5efda7[_0x3c825e(0x1b2)],_0x46f952=_0x719f96[_0x3c825e(0x326)]),_0x36d595>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x511589={[_0x4e936f]:_0x36d595,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x27483f,'maskBuffer':this[_0x3c825e(0x250)],'opcode':0x9,'readOnly':_0x46f952,'rsv1':!0x1};_0x1e9481(_0x5efda7)?this[_0x3c825e(0x2d6)]!==_0x4b0bfa?this['enqueue']([this['getBlobData'],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['getBlobData'](_0x5efda7,!0x1,_0x511589,_0x329a0e):this['_state']!==_0x4b0bfa?this[_0x3c825e(0x2c5)]([this[_0x3c825e(0x1e7)],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['sendFrame'](_0x3592fe['frame'](_0x5efda7,_0x511589),_0x329a0e);}[_0x5e83af(0x25a)](_0x21a5a4,_0x2b235d,_0x186a03){const _0x482ff1=_0x5e83af;let _0x2b3f33,_0x8d3b1d;if(typeof _0x21a5a4=='string'?(_0x2b3f33=Buffer['byteLength'](_0x21a5a4),_0x8d3b1d=!0x1):_0x1e9481(_0x21a5a4)?(_0x2b3f33=_0x21a5a4['size'],_0x8d3b1d=!0x1):(_0x21a5a4=_0x719f96(_0x21a5a4),_0x2b3f33=_0x21a5a4[_0x482ff1(0x1b2)],_0x8d3b1d=_0x719f96[_0x482ff1(0x326)]),_0x2b3f33>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4ed54c={[_0x4e936f]:_0x2b3f33,'fin':!0x0,'generateMask':this[_0x482ff1(0x1df)],'mask':_0x2b235d,'maskBuffer':this[_0x482ff1(0x250)],'opcode':0xa,'readOnly':_0x8d3b1d,'rsv1':!0x1};_0x1e9481(_0x21a5a4)?this[_0x482ff1(0x2d6)]!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this[_0x482ff1(0x283)],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this[_0x482ff1(0x283)](_0x21a5a4,!0x1,_0x4ed54c,_0x186a03):this['_state']!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this['dispatch'],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this['sendFrame'](_0x3592fe[_0x482ff1(0x288)](_0x21a5a4,_0x4ed54c),_0x186a03);}[_0x5e83af(0x2ba)](_0x4d4293,_0x49efb7,_0x3c3e4f){const _0x59a8e7=_0x5e83af,_0x4fe989=this[_0x59a8e7(0x1d6)][_0x4ceb31[_0x59a8e7(0x296)]];let _0x57de76=_0x49efb7['binary']?0x2:0x1,_0x64ae08=_0x49efb7[_0x59a8e7(0x1c3)],_0x30ea09,_0x4935f0;typeof _0x4d4293==_0x59a8e7(0x313)?(_0x30ea09=Buffer[_0x59a8e7(0x2be)](_0x4d4293),_0x4935f0=!0x1):_0x1e9481(_0x4d4293)?(_0x30ea09=_0x4d4293[_0x59a8e7(0x2b0)],_0x4935f0=!0x1):(_0x4d4293=_0x719f96(_0x4d4293),_0x30ea09=_0x4d4293[_0x59a8e7(0x1b2)],_0x4935f0=_0x719f96[_0x59a8e7(0x326)]),this[_0x59a8e7(0x1be)]?(this[_0x59a8e7(0x1be)]=!0x1,_0x64ae08&&_0x4fe989&&_0x4fe989[_0x59a8e7(0x2b9)][_0x4fe989['_isServer']?_0x59a8e7(0x28a):_0x59a8e7(0x270)]&&(_0x64ae08=_0x30ea09>=_0x4fe989[_0x59a8e7(0x314)]),this['_compress']=_0x64ae08):(_0x64ae08=!0x1,_0x57de76=0x0),_0x49efb7[_0x59a8e7(0x2c8)]&&(this[_0x59a8e7(0x1be)]=!0x0);const _0xc2c6c6={[_0x4e936f]:_0x30ea09,'fin':_0x49efb7[_0x59a8e7(0x2c8)],'generateMask':this[_0x59a8e7(0x1df)],'mask':_0x49efb7['mask'],'maskBuffer':this[_0x59a8e7(0x250)],'opcode':_0x57de76,'readOnly':_0x4935f0,'rsv1':_0x64ae08};_0x1e9481(_0x4d4293)?this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this[_0x59a8e7(0x283)],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this[_0x59a8e7(0x283)](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f):this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this['dispatch'],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this['dispatch'](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f);}[_0x5e83af(0x283)](_0xff2f5c,_0x89b378,_0x3f2801,_0x4c335e){const _0x5b9de8=_0x5e83af;this[_0x5b9de8(0x337)]+=_0x3f2801[_0x4e936f],this['_state']=_0x26d0ae,_0xff2f5c[_0x5b9de8(0x30b)]()[_0x5b9de8(0x2d2)](_0x5b4f02=>{const _0x4a12a5=_0x5b9de8;if(this['_socket'][_0x4a12a5(0x21c)]){const _0x5bef01=new Error(_0x4a12a5(0x2fb));process[_0x4a12a5(0x258)](_0x34cf26,this,_0x5bef01,_0x4c335e);return;}this['_bufferedBytes']-=_0x3f2801[_0x4e936f];const _0xdfbbdf=_0x719f96(_0x5b4f02);_0x89b378?this[_0x4a12a5(0x1e7)](_0xdfbbdf,_0x89b378,_0x3f2801,_0x4c335e):(this[_0x4a12a5(0x2d6)]=_0x4b0bfa,this[_0x4a12a5(0x2df)](_0x3592fe[_0x4a12a5(0x288)](_0xdfbbdf,_0x3f2801),_0x4c335e),this['dequeue']());})[_0x5b9de8(0x198)](_0xd3e699=>{process['nextTick'](_0x4d670d,this,_0xd3e699,_0x4c335e);});}[_0x5e83af(0x1e7)](_0x4e86fa,_0x53b99b,_0x24c5ff,_0x1f6de4){const _0x17de61=_0x5e83af;if(!_0x53b99b){this['sendFrame'](_0x3592fe[_0x17de61(0x288)](_0x4e86fa,_0x24c5ff),_0x1f6de4);return;}const _0x125897=this['_extensions'][_0x4ceb31[_0x17de61(0x296)]];this[_0x17de61(0x337)]+=_0x24c5ff[_0x4e936f],this[_0x17de61(0x2d6)]=_0x679e1a,_0x125897[_0x17de61(0x1c3)](_0x4e86fa,_0x24c5ff['fin'],(_0x2bfd8b,_0x1c4560)=>{const _0xbcf31a=_0x17de61;if(this['_socket'][_0xbcf31a(0x21c)]){const _0x310522=new Error(_0xbcf31a(0x335));_0x34cf26(this,_0x310522,_0x1f6de4);return;}this[_0xbcf31a(0x337)]-=_0x24c5ff[_0x4e936f],this[_0xbcf31a(0x2d6)]=_0x4b0bfa,_0x24c5ff[_0xbcf31a(0x326)]=!0x1,this[_0xbcf31a(0x2df)](_0x3592fe[_0xbcf31a(0x288)](_0x1c4560,_0x24c5ff),_0x1f6de4),this[_0xbcf31a(0x1a4)]();});}[_0x5e83af(0x1a4)](){const _0x499fcd=_0x5e83af;for(;this[_0x499fcd(0x2d6)]===_0x4b0bfa&&this[_0x499fcd(0x22b)][_0x499fcd(0x1b2)];){const _0x2fe1e1=this[_0x499fcd(0x22b)]['shift']();this['_bufferedBytes']-=_0x2fe1e1[0x3][_0x4e936f],Reflect[_0x499fcd(0x24b)](_0x2fe1e1[0x0],this,_0x2fe1e1[_0x499fcd(0x18f)](0x1));}}[_0x5e83af(0x2c5)](_0x8450a2){const _0x2f2122=_0x5e83af;this['_bufferedBytes']+=_0x8450a2[0x3][_0x4e936f],this[_0x2f2122(0x22b)]['push'](_0x8450a2);}[_0x5e83af(0x2df)](_0x477966,_0x32ae17){const _0x4b1c61=_0x5e83af;_0x477966[_0x4b1c61(0x1b2)]===0x2?(this[_0x4b1c61(0x1fa)][_0x4b1c61(0x202)](),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0]),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x1],_0x32ae17),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x29a)]()):this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0],_0x32ae17);}}Ee=_0x3592fe;function _0x34cf26(_0x345032,_0x103054,_0x83534f){const _0x168237=_0x5e83af;typeof _0x83534f=='function'&&_0x83534f(_0x103054);for(let _0x4ecc30=0x0;_0x4ecc30<_0x345032[_0x168237(0x22b)][_0x168237(0x1b2)];_0x4ecc30++){const _0x272d21=_0x345032[_0x168237(0x22b)][_0x4ecc30],_0x15add3=_0x272d21[_0x272d21[_0x168237(0x1b2)]-0x1];typeof _0x15add3==_0x168237(0x2b3)&&_0x15add3(_0x103054);}}function _0x4d670d(_0x5d93d1,_0x1c2ff9,_0x4a6cac){const _0x403af8=_0x5e83af;_0x34cf26(_0x5d93d1,_0x1c2ff9,_0x4a6cac),_0x5d93d1[_0x403af8(0x1ab)](_0x1c2ff9);}return Ee;}var xe,Ze;function It(){const _0x3e4a49=_0x51270a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x272b74,kListener:_0x9466c8}=H(),_0x4730aa=Symbol(_0x3e4a49(0x211)),_0x211b30=Symbol(_0x3e4a49(0x209)),_0xf51e97=Symbol(_0x3e4a49(0x2a5)),_0x3f4e97=Symbol(_0x3e4a49(0x254)),_0x3b8aa5=Symbol(_0x3e4a49(0x2b1)),_0x343ef5=Symbol(_0x3e4a49(0x2fc)),_0x5e9302=Symbol('kType'),_0x40b6f4=Symbol(_0x3e4a49(0x334));class _0x14c0b6{constructor(_0x1f0a96){this[_0x343ef5]=null,this[_0x5e9302]=_0x1f0a96;}get[_0x3e4a49(0x2fe)](){return this[_0x343ef5];}get[_0x3e4a49(0x2b6)](){return this[_0x5e9302];}}Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2fe),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2b6),{'enumerable':!0x0});class _0x816087 extends _0x14c0b6{constructor(_0x262b7a,_0x20ba3c={}){const _0x4935d7=_0x3e4a49;super(_0x262b7a),this[_0x4730aa]=_0x20ba3c[_0x4935d7(0x2f0)]===void 0x0?0x0:_0x20ba3c[_0x4935d7(0x2f0)],this[_0x3b8aa5]=_0x20ba3c[_0x4935d7(0x1ae)]===void 0x0?'':_0x20ba3c['reason'],this[_0x40b6f4]=_0x20ba3c[_0x4935d7(0x1cf)]===void 0x0?!0x1:_0x20ba3c[_0x4935d7(0x1cf)];}get[_0x3e4a49(0x2f0)](){return this[_0x4730aa];}get[_0x3e4a49(0x1ae)](){return this[_0x3b8aa5];}get[_0x3e4a49(0x1cf)](){return this[_0x40b6f4];}}Object['defineProperty'](_0x816087['prototype'],_0x3e4a49(0x2f0),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1ae),{'enumerable':!0x0}),Object['defineProperty'](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1cf),{'enumerable':!0x0});class _0x81704d extends _0x14c0b6{constructor(_0x4d5481,_0x2c380a={}){const _0x49a83e=_0x3e4a49;super(_0x4d5481),this[_0xf51e97]=_0x2c380a[_0x49a83e(0x1fc)]===void 0x0?null:_0x2c380a[_0x49a83e(0x1fc)],this[_0x3f4e97]=_0x2c380a[_0x49a83e(0x2a7)]===void 0x0?'':_0x2c380a['message'];}get[_0x3e4a49(0x1fc)](){return this[_0xf51e97];}get[_0x3e4a49(0x2a7)](){return this[_0x3f4e97];}}Object[_0x3e4a49(0x27d)](_0x81704d[_0x3e4a49(0x24a)],_0x3e4a49(0x1fc),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x81704d['prototype'],_0x3e4a49(0x2a7),{'enumerable':!0x0});class _0x35f55c extends _0x14c0b6{constructor(_0x5bccb5,_0x236ab2={}){const _0x450880=_0x3e4a49;super(_0x5bccb5),this[_0x211b30]=_0x236ab2[_0x450880(0x231)]===void 0x0?null:_0x236ab2[_0x450880(0x231)];}get[_0x3e4a49(0x231)](){return this[_0x211b30];}}Object['defineProperty'](_0x35f55c[_0x3e4a49(0x24a)],_0x3e4a49(0x231),{'enumerable':!0x0}),xe={'CloseEvent':_0x816087,'ErrorEvent':_0x81704d,'Event':_0x14c0b6,'EventTarget':{'addEventListener'(_0x34e24d,_0x4f0406,_0x3f1d14={}){const _0x59f36c=_0x3e4a49;for(const _0x29fd56 of this[_0x59f36c(0x221)](_0x34e24d))if(!_0x3f1d14[_0x272b74]&&_0x29fd56[_0x9466c8]===_0x4f0406&&!_0x29fd56[_0x272b74])return;let _0x9e1232;if(_0x34e24d===_0x59f36c(0x2a7))_0x9e1232=function(_0x39b9a5,_0x123761){const _0x565666=_0x59f36c,_0x3ce3cb=new _0x35f55c(_0x565666(0x2a7),{'data':_0x123761?_0x39b9a5:_0x39b9a5['toString']()});_0x3ce3cb[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x3ce3cb);};else{if(_0x34e24d===_0x59f36c(0x32c))_0x9e1232=function(_0x534338,_0x42b364){const _0x1d6824=_0x59f36c,_0x5ea3c5=new _0x816087('close',{'code':_0x534338,'reason':_0x42b364[_0x1d6824(0x1ec)](),'wasClean':this[_0x1d6824(0x1f1)]&&this[_0x1d6824(0x255)]});_0x5ea3c5[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x5ea3c5);};else{if(_0x34e24d===_0x59f36c(0x1fc))_0x9e1232=function(_0x3d6255){const _0x4e10b4=_0x59f36c,_0x37ad00=new _0x81704d(_0x4e10b4(0x1fc),{'error':_0x3d6255,'message':_0x3d6255[_0x4e10b4(0x2a7)]});_0x37ad00[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x37ad00);};else{if(_0x34e24d===_0x59f36c(0x1ef))_0x9e1232=function(){const _0x476c8e=new _0x14c0b6('open');_0x476c8e[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x476c8e);};else return;}}}_0x9e1232[_0x272b74]=!!_0x3f1d14[_0x272b74],_0x9e1232[_0x9466c8]=_0x4f0406,_0x3f1d14[_0x59f36c(0x204)]?this['once'](_0x34e24d,_0x9e1232):this['on'](_0x34e24d,_0x9e1232);},'removeEventListener'(_0x512a9a,_0x152ca3){const _0x323b7a=_0x3e4a49;for(const _0x8c9057 of this[_0x323b7a(0x221)](_0x512a9a))if(_0x8c9057[_0x9466c8]===_0x152ca3&&!_0x8c9057[_0x272b74]){this[_0x323b7a(0x256)](_0x512a9a,_0x8c9057);break;}}},'MessageEvent':_0x35f55c};function _0x3c49a5(_0x13f8ea,_0x3acc19,_0x4eb528){const _0x3c8704=_0x3e4a49;typeof _0x13f8ea==_0x3c8704(0x217)&&_0x13f8ea[_0x3c8704(0x223)]?_0x13f8ea[_0x3c8704(0x223)][_0x3c8704(0x1ac)](_0x13f8ea,_0x4eb528):_0x13f8ea[_0x3c8704(0x1ac)](_0x3acc19,_0x4eb528);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x222f98}=ae();function _0x5d8b0b(_0x24d34c,_0x41fa32,_0x373bd4){const _0x5f4b94=_0x22a9;_0x24d34c[_0x41fa32]===void 0x0?_0x24d34c[_0x41fa32]=[_0x373bd4]:_0x24d34c[_0x41fa32][_0x5f4b94(0x241)](_0x373bd4);}function _0x478e78(_0x4c135e){const _0x185300=_0x22a9,_0x14473b=Object[_0x185300(0x2d4)](null);let _0x529f49=Object[_0x185300(0x2d4)](null),_0x19b154=!0x1,_0x2d86c6=!0x1,_0x5aac4e=!0x1,_0x2533cb,_0x47ceb3,_0x2db090=-0x1,_0x5af79c=-0x1,_0x39a8fb=-0x1,_0x30048c=0x0;for(;_0x30048c<_0x4c135e['length'];_0x30048c++)if(_0x5af79c=_0x4c135e[_0x185300(0x293)](_0x30048c),_0x2533cb===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x30048c!==0x0&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x295365=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x5af79c===0x2c?(_0x5d8b0b(_0x14473b,_0x295365,_0x529f49),_0x529f49=Object[_0x185300(0x2d4)](null)):_0x2533cb=_0x295365,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x47ceb3===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x20||_0x5af79c===0x9)_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c),_0x5d8b0b(_0x529f49,_0x4c135e['slice'](_0x2db090,_0x39a8fb),!0x0),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x2db090=_0x39a8fb=-0x1;}else{if(_0x5af79c===0x3d&&_0x2db090!==-0x1&&_0x39a8fb===-0x1)_0x47ceb3=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x30048c),_0x2db090=_0x39a8fb=-0x1;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}else{if(_0x2d86c6){if(_0x222f98[_0x5af79c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x2db090===-0x1?_0x2db090=_0x30048c:_0x19b154||(_0x19b154=!0x0),_0x2d86c6=!0x1;}else{if(_0x5aac4e){if(_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x22&&_0x2db090!==-0x1)_0x5aac4e=!0x1,_0x39a8fb=_0x30048c;else{if(_0x5af79c===0x5c)_0x2d86c6=!0x0;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x5af79c===0x22&&_0x4c135e[_0x185300(0x293)](_0x30048c-0x1)===0x3d)_0x5aac4e=!0x0;else{if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x2db090!==-0x1&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);let _0x55145f=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x19b154&&(_0x55145f=_0x55145f[_0x185300(0x187)](/\\/g,''),_0x19b154=!0x1),_0x5d8b0b(_0x529f49,_0x47ceb3,_0x55145f),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x47ceb3=void 0x0,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}}}}if(_0x2db090===-0x1||_0x5aac4e||_0x5af79c===0x20||_0x5af79c===0x9)throw new SyntaxError(_0x185300(0x19a));_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x2361d0=_0x4c135e['slice'](_0x2db090,_0x39a8fb);return _0x2533cb===void 0x0?_0x5d8b0b(_0x14473b,_0x2361d0,_0x529f49):(_0x47ceb3===void 0x0?_0x5d8b0b(_0x529f49,_0x2361d0,!0x0):_0x19b154?_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0[_0x185300(0x187)](/\\/g,'')):_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0),_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49)),_0x14473b;}function _0x3034f6(_0x234cd0){const _0x27abe4=_0x22a9;return Object[_0x27abe4(0x2ad)](_0x234cd0)[_0x27abe4(0x17c)](_0x148c51=>{const _0x238a4d=_0x27abe4;let _0x3fe902=_0x234cd0[_0x148c51];return Array['isArray'](_0x3fe902)||(_0x3fe902=[_0x3fe902]),_0x3fe902[_0x238a4d(0x17c)](_0x3a8e50=>[_0x148c51]['concat'](Object['keys'](_0x3a8e50)[_0x238a4d(0x17c)](_0x3ca3c2=>{const _0x6ce399=_0x238a4d;let _0x2f38b6=_0x3a8e50[_0x3ca3c2];return Array['isArray'](_0x2f38b6)||(_0x2f38b6=[_0x2f38b6]),_0x2f38b6[_0x6ce399(0x17c)](_0x4d226c=>_0x4d226c===!0x0?_0x3ca3c2:_0x3ca3c2+'='+_0x4d226c)[_0x6ce399(0x230)](';\x20');}))[_0x238a4d(0x230)](';\x20'))[_0x238a4d(0x230)](',\x20');})[_0x27abe4(0x230)](',\x20');}return be={'format':_0x3034f6,'parse':_0x478e78},be;}var we,Je;function Pe(){const _0x921c42=_0x51270a;if(Je)return we;Je=0x1;const _0x5b0804=nt,_0x329860=vt,_0x41afe7=ot,_0xacd019=St,_0x3933e9=Et,{randomBytes:_0x552dee,createHash:_0xd57c82}=Le,{Duplex:_0x1c975f,Readable:_0x3f2990}=oe,{URL:_0x1234ab}=xt,_0xab697b=he(),_0x55f15e=lt(),_0x30e018=ft(),{isBlob:_0x512a16}=ae(),{BINARY_TYPES:_0x322fca,EMPTY_BUFFER:_0x28dcb5,GUID:_0x49f23c,kForOnEventAttribute:_0x30fe2e,kListener:_0x5bedd6,kStatusCode:_0x138ab3,kWebSocket:_0x4f2815,NOOP:_0x3c5e93}=H(),{EventTarget:{addEventListener:_0x21f1f5,removeEventListener:_0x226c86}}=It(),{format:_0x1e6366,parse:_0x11f6e9}=ct(),{toBuffer:_0x30a6c0}=ce(),_0x4f297f=0x1e*0x3e8,_0xfaf311=Symbol(_0x921c42(0x26f)),_0x1f0ad0=[0x8,0xd],_0x25a73a=['CONNECTING',_0x921c42(0x216),'CLOSING','CLOSED'],_0x229d03=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xbabdc extends _0x5b0804{constructor(_0x33718d,_0x5118e7,_0x56a09c){const _0x3454c8=_0x921c42;super(),this[_0x3454c8(0x31d)]=_0x322fca[0x0],this[_0x3454c8(0x2a1)]=0x3ee,this[_0x3454c8(0x1f1)]=!0x1,this[_0x3454c8(0x255)]=!0x1,this[_0x3454c8(0x2aa)]=_0x28dcb5,this[_0x3454c8(0x2d9)]=null,this[_0x3454c8(0x208)]=!0x1,this[_0x3454c8(0x1d6)]={},this[_0x3454c8(0x1c4)]=!0x1,this[_0x3454c8(0x243)]='',this[_0x3454c8(0x261)]=_0xbabdc[_0x3454c8(0x1fe)],this['_receiver']=null,this['_sender']=null,this[_0x3454c8(0x1fa)]=null,_0x33718d!==null?(this['_bufferedAmount']=0x0,this[_0x3454c8(0x1de)]=!0x1,this['_redirects']=0x0,_0x5118e7===void 0x0?_0x5118e7=[]:Array[_0x3454c8(0x305)](_0x5118e7)||(typeof _0x5118e7==_0x3454c8(0x217)&&_0x5118e7!==null?(_0x56a09c=_0x5118e7,_0x5118e7=[]):_0x5118e7=[_0x5118e7]),_0xafa29c(this,_0x33718d,_0x5118e7,_0x56a09c)):(this[_0x3454c8(0x1a3)]=_0x56a09c[_0x3454c8(0x20c)],this[_0x3454c8(0x1de)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x921c42(0x2ec)](_0x82f12e){const _0x2eed3e=_0x921c42;_0x322fca[_0x2eed3e(0x317)](_0x82f12e)&&(this['_binaryType']=_0x82f12e,this[_0x2eed3e(0x19e)]&&(this[_0x2eed3e(0x19e)][_0x2eed3e(0x31d)]=_0x82f12e));}get[_0x921c42(0x2cf)](){const _0x52fd90=_0x921c42;return this[_0x52fd90(0x1fa)]?this[_0x52fd90(0x1fa)][_0x52fd90(0x177)][_0x52fd90(0x1b2)]+this[_0x52fd90(0x1b8)][_0x52fd90(0x337)]:this[_0x52fd90(0x1a0)];}get[_0x921c42(0x2bd)](){const _0x4917c7=_0x921c42;return Object[_0x4917c7(0x2ad)](this[_0x4917c7(0x1d6)])[_0x4917c7(0x230)]();}get[_0x921c42(0x21f)](){const _0x4e5b32=_0x921c42;return this[_0x4e5b32(0x1c4)];}get['onclose'](){return null;}get[_0x921c42(0x1ab)](){return null;}get[_0x921c42(0x1d7)](){return null;}get[_0x921c42(0x2d3)](){return null;}get[_0x921c42(0x18a)](){const _0x59c04e=_0x921c42;return this[_0x59c04e(0x243)];}get[_0x921c42(0x18e)](){const _0x3d4a1e=_0x921c42;return this[_0x3d4a1e(0x261)];}get['url'](){const _0x5118c1=_0x921c42;return this[_0x5118c1(0x2da)];}[_0x921c42(0x26b)](_0x5a87a5,_0x561e42,_0x48269d){const _0x452a1b=_0x921c42,_0xe63e70=new _0x55f15e({'allowSynchronousEvents':_0x48269d[_0x452a1b(0x309)],'binaryType':this[_0x452a1b(0x2ec)],'extensions':this[_0x452a1b(0x1d6)],'isServer':this[_0x452a1b(0x1de)],'maxPayload':_0x48269d[_0x452a1b(0x181)],'skipUTF8Validation':_0x48269d[_0x452a1b(0x2d0)]}),_0x4b0743=new _0x30e018(_0x5a87a5,this[_0x452a1b(0x1d6)],_0x48269d[_0x452a1b(0x246)]);this[_0x452a1b(0x19e)]=_0xe63e70,this['_sender']=_0x4b0743,this[_0x452a1b(0x1fa)]=_0x5a87a5,_0xe63e70[_0x4f2815]=this,_0x4b0743[_0x4f2815]=this,_0x5a87a5[_0x4f2815]=this,_0xe63e70['on'](_0x452a1b(0x1ff),_0x4f7e55),_0xe63e70['on'](_0x452a1b(0x18b),_0x4cb3b2),_0xe63e70['on'](_0x452a1b(0x1fc),_0x2b0490),_0xe63e70['on']('message',_0xd758d5),_0xe63e70['on'](_0x452a1b(0x315),_0x995894),_0xe63e70['on'](_0x452a1b(0x25a),_0x4ca5a2),_0x4b0743['onerror']=_0x16628c,_0x5a87a5[_0x452a1b(0x1bd)]&&_0x5a87a5['setTimeout'](0x0),_0x5a87a5['setNoDelay']&&_0x5a87a5[_0x452a1b(0x2c4)](),_0x561e42[_0x452a1b(0x1b2)]>0x0&&_0x5a87a5[_0x452a1b(0x20a)](_0x561e42),_0x5a87a5['on'](_0x452a1b(0x32c),_0x4d28c6),_0x5a87a5['on'](_0x452a1b(0x231),_0x2ec1db),_0x5a87a5['on'](_0x452a1b(0x2d5),_0xb4d3d3),_0x5a87a5['on'](_0x452a1b(0x1fc),_0x5252cc),this[_0x452a1b(0x261)]=_0xbabdc[_0x452a1b(0x216)],this[_0x452a1b(0x22e)](_0x452a1b(0x1ef));}[_0x921c42(0x2ae)](){const _0x590fca=_0x921c42;if(!this['_socket']){this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this['emit']('close',this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);return;}this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]]&&this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]][_0x590fca(0x2dd)](),this[_0x590fca(0x19e)][_0x590fca(0x302)](),this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this[_0x590fca(0x22e)](_0x590fca(0x32c),this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);}[_0x921c42(0x32c)](_0x2c756c,_0x55bcbf){const _0x3dfb11=_0x921c42;if(this['readyState']!==_0xbabdc[_0x3dfb11(0x24d)]){if(this['readyState']===_0xbabdc[_0x3dfb11(0x1fe)]){_0x3c09fa(this,this[_0x3dfb11(0x183)],_0x3dfb11(0x1c8));return;}if(this['readyState']===_0xbabdc[_0x3dfb11(0x27e)]){this[_0x3dfb11(0x255)]&&(this[_0x3dfb11(0x1f1)]||this[_0x3dfb11(0x19e)][_0x3dfb11(0x177)][_0x3dfb11(0x32a)])&&this['_socket'][_0x3dfb11(0x2d5)]();return;}this[_0x3dfb11(0x261)]=_0xbabdc[_0x3dfb11(0x27e)],this[_0x3dfb11(0x1b8)][_0x3dfb11(0x32c)](_0x2c756c,_0x55bcbf,!this[_0x3dfb11(0x1de)],_0x42f858=>{const _0x2a29a7=_0x3dfb11;_0x42f858||(this[_0x2a29a7(0x255)]=!0x0,(this[_0x2a29a7(0x1f1)]||this['_receiver'][_0x2a29a7(0x177)][_0x2a29a7(0x32a)])&&this[_0x2a29a7(0x1fa)]['end']());}),_0x35020b(this);}}[_0x921c42(0x25b)](){const _0x1a6c77=_0x921c42;this['readyState']===_0xbabdc[_0x1a6c77(0x1fe)]||this[_0x1a6c77(0x18e)]===_0xbabdc['CLOSED']||(this[_0x1a6c77(0x1c4)]=!0x0,this[_0x1a6c77(0x1fa)]['pause']());}[_0x921c42(0x315)](_0x58e3b9,_0x14db62,_0x5b4ac3){const _0x3b076d=_0x921c42;if(this[_0x3b076d(0x18e)]===_0xbabdc['CONNECTING'])throw new Error(_0x3b076d(0x17d));if(typeof _0x58e3b9==_0x3b076d(0x2b3)?(_0x5b4ac3=_0x58e3b9,_0x58e3b9=_0x14db62=void 0x0):typeof _0x14db62==_0x3b076d(0x2b3)&&(_0x5b4ac3=_0x14db62,_0x14db62=void 0x0),typeof _0x58e3b9=='number'&&(_0x58e3b9=_0x58e3b9[_0x3b076d(0x1ec)]()),this[_0x3b076d(0x18e)]!==_0xbabdc[_0x3b076d(0x216)]){_0x29bc95(this,_0x58e3b9,_0x5b4ac3);return;}_0x14db62===void 0x0&&(_0x14db62=!this[_0x3b076d(0x1de)]),this[_0x3b076d(0x1b8)]['ping'](_0x58e3b9||_0x28dcb5,_0x14db62,_0x5b4ac3);}[_0x921c42(0x25a)](_0x94cf42,_0x261427,_0x57554c){const _0x4b6bae=_0x921c42;if(this[_0x4b6bae(0x18e)]===_0xbabdc[_0x4b6bae(0x1fe)])throw new Error(_0x4b6bae(0x17d));if(typeof _0x94cf42==_0x4b6bae(0x2b3)?(_0x57554c=_0x94cf42,_0x94cf42=_0x261427=void 0x0):typeof _0x261427==_0x4b6bae(0x2b3)&&(_0x57554c=_0x261427,_0x261427=void 0x0),typeof _0x94cf42=='number'&&(_0x94cf42=_0x94cf42[_0x4b6bae(0x1ec)]()),this[_0x4b6bae(0x18e)]!==_0xbabdc[_0x4b6bae(0x216)]){_0x29bc95(this,_0x94cf42,_0x57554c);return;}_0x261427===void 0x0&&(_0x261427=!this[_0x4b6bae(0x1de)]),this[_0x4b6bae(0x1b8)]['pong'](_0x94cf42||_0x28dcb5,_0x261427,_0x57554c);}[_0x921c42(0x189)](){const _0x463406=_0x921c42;this['readyState']===_0xbabdc[_0x463406(0x1fe)]||this[_0x463406(0x18e)]===_0xbabdc[_0x463406(0x24d)]||(this[_0x463406(0x1c4)]=!0x1,this[_0x463406(0x19e)][_0x463406(0x177)][_0x463406(0x1a1)]||this[_0x463406(0x1fa)][_0x463406(0x189)]());}[_0x921c42(0x2ba)](_0x1bfc87,_0x38af0b,_0x33be64){const _0x4bc20d=_0x921c42;if(this['readyState']===_0xbabdc[_0x4bc20d(0x1fe)])throw new Error(_0x4bc20d(0x17d));if(typeof _0x38af0b=='function'&&(_0x33be64=_0x38af0b,_0x38af0b={}),typeof _0x1bfc87==_0x4bc20d(0x1ed)&&(_0x1bfc87=_0x1bfc87[_0x4bc20d(0x1ec)]()),this[_0x4bc20d(0x18e)]!==_0xbabdc[_0x4bc20d(0x216)]){_0x29bc95(this,_0x1bfc87,_0x33be64);return;}const _0x162bc7={'binary':typeof _0x1bfc87!=_0x4bc20d(0x313),'mask':!this[_0x4bc20d(0x1de)],'compress':!0x0,'fin':!0x0,..._0x38af0b};this[_0x4bc20d(0x1d6)][_0xab697b[_0x4bc20d(0x296)]]||(_0x162bc7[_0x4bc20d(0x1c3)]=!0x1),this[_0x4bc20d(0x1b8)][_0x4bc20d(0x2ba)](_0x1bfc87||_0x28dcb5,_0x162bc7,_0x33be64);}[_0x921c42(0x175)](){const _0x11359c=_0x921c42;if(this[_0x11359c(0x18e)]!==_0xbabdc[_0x11359c(0x24d)]){if(this[_0x11359c(0x18e)]===_0xbabdc['CONNECTING']){_0x3c09fa(this,this[_0x11359c(0x183)],_0x11359c(0x1c8));return;}this[_0x11359c(0x1fa)]&&(this[_0x11359c(0x261)]=_0xbabdc[_0x11359c(0x27e)],this['_socket'][_0x11359c(0x1ba)]());}}}Object[_0x921c42(0x27d)](_0xbabdc,'CONNECTING',{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x1fe))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x1fe),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CONNECTING')}),Object['defineProperty'](_0xbabdc,_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x27e))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CLOSING')}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x24d))}),Object['defineProperty'](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x24d))}),['binaryType',_0x921c42(0x2cf),_0x921c42(0x2bd),_0x921c42(0x21f),_0x921c42(0x18a),_0x921c42(0x18e),_0x921c42(0x310)][_0x921c42(0x2cc)](_0x52daa0=>{const _0x1b31a8=_0x921c42;Object[_0x1b31a8(0x27d)](_0xbabdc['prototype'],_0x52daa0,{'enumerable':!0x0});}),[_0x921c42(0x1ef),_0x921c42(0x1fc),'close',_0x921c42(0x2a7)][_0x921c42(0x2cc)](_0x42c3fa=>{const _0x196ab6=_0x921c42;Object['defineProperty'](_0xbabdc[_0x196ab6(0x24a)],'on'+_0x42c3fa,{'enumerable':!0x0,'get'(){for(const _0x42da99 of this['listeners'](_0x42c3fa))if(_0x42da99[_0x30fe2e])return _0x42da99[_0x5bedd6];return null;},'set'(_0x1dd02a){const _0x2c835e=_0x196ab6;for(const _0x29c89a of this[_0x2c835e(0x221)](_0x42c3fa))if(_0x29c89a[_0x30fe2e]){this[_0x2c835e(0x256)](_0x42c3fa,_0x29c89a);break;}typeof _0x1dd02a=='function'&&this[_0x2c835e(0x2f5)](_0x42c3fa,_0x1dd02a,{[_0x30fe2e]:!0x0});}});}),_0xbabdc[_0x921c42(0x24a)][_0x921c42(0x2f5)]=_0x21f1f5,_0xbabdc['prototype'][_0x921c42(0x225)]=_0x226c86,we=_0xbabdc;function _0xafa29c(_0x511f81,_0x28e153,_0x154e92,_0xe948e7){const _0xb469e2=_0x921c42,_0x26a286={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f0ad0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xe948e7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb469e2(0x273),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x511f81['_autoPong']=_0x26a286[_0xb469e2(0x20c)],!_0x1f0ad0[_0xb469e2(0x317)](_0x26a286['protocolVersion']))throw new RangeError(_0xb469e2(0x265)+_0x26a286[_0xb469e2(0x2e5)]+_0xb469e2(0x1af)+_0x1f0ad0['join'](',\x20')+')');let _0x462413;if(_0x28e153 instanceof _0x1234ab)_0x462413=_0x28e153;else try{_0x462413=new _0x1234ab(_0x28e153);}catch{throw new SyntaxError(_0xb469e2(0x1f2)+_0x28e153);}_0x462413[_0xb469e2(0x18a)]===_0xb469e2(0x329)?_0x462413[_0xb469e2(0x18a)]='ws:':_0x462413[_0xb469e2(0x18a)]==='https:'&&(_0x462413[_0xb469e2(0x18a)]=_0xb469e2(0x1eb)),_0x511f81['_url']=_0x462413[_0xb469e2(0x176)];const _0x28500e=_0x462413['protocol']===_0xb469e2(0x1eb),_0xf143f9=_0x462413['protocol']===_0xb469e2(0x173);let _0x30dd35;if(_0x462413[_0xb469e2(0x18a)]!=='ws:'&&!_0x28500e&&!_0xf143f9?_0x30dd35=_0xb469e2(0x249):_0xf143f9&&!_0x462413[_0xb469e2(0x1c6)]?_0x30dd35=_0xb469e2(0x242):_0x462413[_0xb469e2(0x2f6)]&&(_0x30dd35=_0xb469e2(0x2e0)),_0x30dd35){const _0x150327=new SyntaxError(_0x30dd35);if(_0x511f81['_redirects']===0x0)throw _0x150327;_0x1672ec(_0x511f81,_0x150327);return;}const _0x1757d7=_0x28500e?0x1bb:0x50,_0x50fe9d=_0x552dee(0x10)[_0xb469e2(0x1ec)](_0xb469e2(0x2fd)),_0x552d0f=_0x28500e?_0x329860[_0xb469e2(0x212)]:_0x41afe7[_0xb469e2(0x212)],_0x57ad32=new Set();let _0x29b076;if(_0x26a286[_0xb469e2(0x271)]=_0x26a286[_0xb469e2(0x271)]||(_0x28500e?_0x4726dd:_0x2c085e),_0x26a286[_0xb469e2(0x284)]=_0x26a286[_0xb469e2(0x284)]||_0x1757d7,_0x26a286['port']=_0x462413[_0xb469e2(0x2b5)]||_0x1757d7,_0x26a286[_0xb469e2(0x213)]=_0x462413['hostname'][_0xb469e2(0x20e)]('[')?_0x462413[_0xb469e2(0x1e5)][_0xb469e2(0x18f)](0x1,-0x1):_0x462413[_0xb469e2(0x1e5)],_0x26a286[_0xb469e2(0x2f9)]={..._0x26a286[_0xb469e2(0x2f9)],'Sec-WebSocket-Version':_0x26a286[_0xb469e2(0x2e5)],'Sec-WebSocket-Key':_0x50fe9d,'Connection':_0xb469e2(0x1cb),'Upgrade':_0xb469e2(0x186)},_0x26a286['path']=_0x462413[_0xb469e2(0x1c6)]+_0x462413[_0xb469e2(0x24e)],_0x26a286[_0xb469e2(0x263)]=_0x26a286['handshakeTimeout'],_0x26a286[_0xb469e2(0x26c)]&&(_0x29b076=new _0xab697b(_0x26a286[_0xb469e2(0x26c)]!==!0x0?_0x26a286[_0xb469e2(0x26c)]:{},!0x1,_0x26a286[_0xb469e2(0x181)]),_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Extensions']=_0x1e6366({[_0xab697b['extensionName']]:_0x29b076[_0xb469e2(0x22c)]()})),_0x154e92[_0xb469e2(0x1b2)]){for(const _0x4afe27 of _0x154e92){if(typeof _0x4afe27!='string'||!_0x229d03[_0xb469e2(0x274)](_0x4afe27)||_0x57ad32[_0xb469e2(0x292)](_0x4afe27))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x57ad32[_0xb469e2(0x1d5)](_0x4afe27);}_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Protocol']=_0x154e92['join'](',');}if(_0x26a286[_0xb469e2(0x28f)]&&(_0x26a286[_0xb469e2(0x2e5)]<0xd?_0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x1d1)]=_0x26a286['origin']:_0x26a286['headers'][_0xb469e2(0x1a2)]=_0x26a286[_0xb469e2(0x28f)]),(_0x462413[_0xb469e2(0x23b)]||_0x462413[_0xb469e2(0x275)])&&(_0x26a286['auth']=_0x462413[_0xb469e2(0x23b)]+':'+_0x462413[_0xb469e2(0x275)]),_0xf143f9){const _0x23cbcd=_0x26a286[_0xb469e2(0x1b9)]['split'](':');_0x26a286[_0xb469e2(0x2dc)]=_0x23cbcd[0x0],_0x26a286[_0xb469e2(0x1b9)]=_0x23cbcd[0x1];}let _0x33874c;if(_0x26a286[_0xb469e2(0x235)]){if(_0x511f81[_0xb469e2(0x2ac)]===0x0){_0x511f81['_originalIpc']=_0xf143f9,_0x511f81['_originalSecure']=_0x28500e,_0x511f81[_0xb469e2(0x25d)]=_0xf143f9?_0x26a286['socketPath']:_0x462413[_0xb469e2(0x213)];const _0x4761ec=_0xe948e7&&_0xe948e7[_0xb469e2(0x2f9)];if(_0xe948e7={..._0xe948e7,'headers':{}},_0x4761ec){for(const [_0x57159d,_0x45dd81]of Object[_0xb469e2(0x2e2)](_0x4761ec))_0xe948e7['headers'][_0x57159d[_0xb469e2(0x1ea)]()]=_0x45dd81;}}else{if(_0x511f81[_0xb469e2(0x32b)](_0xb469e2(0x1a7))===0x0){const _0x5216c0=_0xf143f9?_0x511f81[_0xb469e2(0x203)]?_0x26a286['socketPath']===_0x511f81[_0xb469e2(0x25d)]:!0x1:_0x511f81[_0xb469e2(0x203)]?!0x1:_0x462413[_0xb469e2(0x213)]===_0x511f81[_0xb469e2(0x25d)];(!_0x5216c0||_0x511f81['_originalSecure']&&!_0x28500e)&&(delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x32e)],delete _0x26a286[_0xb469e2(0x2f9)]['cookie'],_0x5216c0||delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x213)],_0x26a286[_0xb469e2(0x195)]=void 0x0);}}_0x26a286[_0xb469e2(0x195)]&&!_0xe948e7[_0xb469e2(0x2f9)][_0xb469e2(0x32e)]&&(_0xe948e7['headers']['authorization']=_0xb469e2(0x1d9)+Buffer[_0xb469e2(0x2c3)](_0x26a286[_0xb469e2(0x195)])[_0xb469e2(0x1ec)](_0xb469e2(0x2fd))),_0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286),_0x511f81[_0xb469e2(0x2ac)]&&_0x511f81['emit'](_0xb469e2(0x1a7),_0x511f81[_0xb469e2(0x310)],_0x33874c);}else _0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286);_0x26a286['timeout']&&_0x33874c['on'](_0xb469e2(0x263),()=>{_0x3c09fa(_0x511f81,_0x33874c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x33874c['on'](_0xb469e2(0x1fc),_0x1afaf1=>{const _0x189901=_0xb469e2;_0x33874c===null||_0x33874c[_0xfaf311]||(_0x33874c=_0x511f81[_0x189901(0x183)]=null,_0x1672ec(_0x511f81,_0x1afaf1));}),_0x33874c['on'](_0xb469e2(0x1c2),_0x4a8b5f=>{const _0x2a2b06=_0xb469e2,_0x28833d=_0x4a8b5f[_0x2a2b06(0x2f9)][_0x2a2b06(0x1cc)],_0x2d628b=_0x4a8b5f['statusCode'];if(_0x28833d&&_0x26a286[_0x2a2b06(0x235)]&&_0x2d628b>=0x12c&&_0x2d628b<0x190){if(++_0x511f81[_0x2a2b06(0x2ac)]>_0x26a286[_0x2a2b06(0x2b8)]){_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x281));return;}_0x33874c[_0x2a2b06(0x27b)]();let _0x5c9b66;try{_0x5c9b66=new _0x1234ab(_0x28833d,_0x28e153);}catch{const _0x15982d=new SyntaxError('Invalid\x20URL:\x20'+_0x28833d);_0x1672ec(_0x511f81,_0x15982d);return;}_0xafa29c(_0x511f81,_0x5c9b66,_0x154e92,_0xe948e7);}else _0x511f81[_0x2a2b06(0x22e)]('unexpected-response',_0x33874c,_0x4a8b5f)||_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x29b)+_0x4a8b5f[_0x2a2b06(0x234)]);}),_0x33874c['on'](_0xb469e2(0x245),(_0x20cf1c,_0x261317,_0x558a60)=>{const _0x31a505=_0xb469e2;if(_0x511f81[_0x31a505(0x22e)](_0x31a505(0x245),_0x20cf1c),_0x511f81[_0x31a505(0x18e)]!==_0xbabdc['CONNECTING'])return;_0x33874c=_0x511f81[_0x31a505(0x183)]=null;const _0x47eb33=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x245)];if(_0x47eb33===void 0x0||_0x47eb33['toLowerCase']()!==_0x31a505(0x186)){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x316));return;}const _0x3984c9=_0xd57c82('sha1')['update'](_0x50fe9d+_0x49f23c)[_0x31a505(0x23c)](_0x31a505(0x2fd));if(_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-accept']!==_0x3984c9){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2e7));return;}const _0x2e10c1=_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-protocol'];let _0x3fac57;if(_0x2e10c1!==void 0x0?_0x57ad32[_0x31a505(0x2b0)]?_0x57ad32[_0x31a505(0x292)](_0x2e10c1)||(_0x3fac57=_0x31a505(0x226)):_0x3fac57=_0x31a505(0x2ee):_0x57ad32[_0x31a505(0x2b0)]&&(_0x3fac57=_0x31a505(0x286)),_0x3fac57){_0x3c09fa(_0x511f81,_0x261317,_0x3fac57);return;}_0x2e10c1&&(_0x511f81[_0x31a505(0x243)]=_0x2e10c1);const _0x1fa052=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x2a4)];if(_0x1fa052!==void 0x0){if(!_0x29b076){_0x3c09fa(_0x511f81,_0x261317,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4aac7d;try{_0x4aac7d=_0x11f6e9(_0x1fa052);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}const _0x4f7685=Object[_0x31a505(0x2ad)](_0x4aac7d);if(_0x4f7685[_0x31a505(0x1b2)]!==0x1||_0x4f7685[0x0]!==_0xab697b[_0x31a505(0x296)]){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x222));return;}try{_0x29b076['accept'](_0x4aac7d[_0xab697b[_0x31a505(0x296)]]);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}_0x511f81[_0x31a505(0x1d6)][_0xab697b['extensionName']]=_0x29b076;}_0x511f81[_0x31a505(0x26b)](_0x261317,_0x558a60,{'allowSynchronousEvents':_0x26a286['allowSynchronousEvents'],'generateMask':_0x26a286[_0x31a505(0x246)],'maxPayload':_0x26a286[_0x31a505(0x181)],'skipUTF8Validation':_0x26a286[_0x31a505(0x2d0)]});}),_0x26a286['finishRequest']?_0x26a286['finishRequest'](_0x33874c,_0x511f81):_0x33874c[_0xb469e2(0x2d5)]();}function _0x1672ec(_0x5cb8fb,_0x4b530a){const _0x44b2c2=_0x921c42;_0x5cb8fb['_readyState']=_0xbabdc[_0x44b2c2(0x27e)],_0x5cb8fb[_0x44b2c2(0x208)]=!0x0,_0x5cb8fb['emit']('error',_0x4b530a),_0x5cb8fb[_0x44b2c2(0x2ae)]();}function _0x2c085e(_0x42db28){const _0x597e34=_0x921c42;return _0x42db28[_0x597e34(0x1b9)]=_0x42db28['socketPath'],_0xacd019[_0x597e34(0x269)](_0x42db28);}function _0x4726dd(_0x558abd){const _0x5921df=_0x921c42;return _0x558abd['path']=void 0x0,!_0x558abd['servername']&&_0x558abd[_0x5921df(0x2f1)]!==''&&(_0x558abd['servername']=_0xacd019[_0x5921df(0x194)](_0x558abd[_0x5921df(0x213)])?'':_0x558abd['host']),_0x3933e9['connect'](_0x558abd);}function _0x3c09fa(_0x139920,_0x49ba99,_0x11edd1){const _0x4675fb=_0x921c42;_0x139920[_0x4675fb(0x261)]=_0xbabdc['CLOSING'];const _0xc568c1=new Error(_0x11edd1);Error[_0x4675fb(0x287)](_0xc568c1,_0x3c09fa),_0x49ba99[_0x4675fb(0x17a)]?(_0x49ba99[_0xfaf311]=!0x0,_0x49ba99[_0x4675fb(0x27b)](),_0x49ba99[_0x4675fb(0x23d)]&&!_0x49ba99['socket'][_0x4675fb(0x21c)]&&_0x49ba99['socket'][_0x4675fb(0x1ba)](),process[_0x4675fb(0x258)](_0x1672ec,_0x139920,_0xc568c1)):(_0x49ba99[_0x4675fb(0x1ba)](_0xc568c1),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x1fc),_0x139920['emit'][_0x4675fb(0x332)](_0x139920,'error')),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x32c),_0x139920[_0x4675fb(0x2ae)][_0x4675fb(0x332)](_0x139920)));}function _0x29bc95(_0x6b425d,_0x2613c0,_0x28efc9){const _0x4f59c6=_0x921c42;if(_0x2613c0){const _0x475868=_0x512a16(_0x2613c0)?_0x2613c0[_0x4f59c6(0x2b0)]:_0x30a6c0(_0x2613c0)[_0x4f59c6(0x1b2)];_0x6b425d['_socket']?_0x6b425d[_0x4f59c6(0x1b8)]['_bufferedBytes']+=_0x475868:_0x6b425d[_0x4f59c6(0x1a0)]+=_0x475868;}if(_0x28efc9){const _0x2a6d8c=new Error(_0x4f59c6(0x2de)+_0x6b425d['readyState']+'\x20('+_0x25a73a[_0x6b425d[_0x4f59c6(0x18e)]]+')');process[_0x4f59c6(0x258)](_0x28efc9,_0x2a6d8c);}}function _0x4f7e55(_0x5a51e1,_0x4b03ab){const _0x52979e=_0x921c42,_0xfefcf1=this[_0x4f2815];_0xfefcf1[_0x52979e(0x1f1)]=!0x0,_0xfefcf1['_closeMessage']=_0x4b03ab,_0xfefcf1[_0x52979e(0x2a1)]=_0x5a51e1,_0xfefcf1[_0x52979e(0x1fa)][_0x4f2815]!==void 0x0&&(_0xfefcf1['_socket'][_0x52979e(0x256)](_0x52979e(0x231),_0x2ec1db),process[_0x52979e(0x258)](_0x266737,_0xfefcf1[_0x52979e(0x1fa)]),_0x5a51e1===0x3ed?_0xfefcf1['close']():_0xfefcf1[_0x52979e(0x32c)](_0x5a51e1,_0x4b03ab));}function _0x4cb3b2(){const _0x455ef4=_0x921c42,_0x4e76ed=this[_0x4f2815];_0x4e76ed[_0x455ef4(0x21f)]||_0x4e76ed['_socket'][_0x455ef4(0x189)]();}function _0x2b0490(_0x5e81a6){const _0x3f1da0=_0x921c42,_0xdcb479=this[_0x4f2815];_0xdcb479[_0x3f1da0(0x1fa)][_0x4f2815]!==void 0x0&&(_0xdcb479[_0x3f1da0(0x1fa)][_0x3f1da0(0x256)](_0x3f1da0(0x231),_0x2ec1db),process[_0x3f1da0(0x258)](_0x266737,_0xdcb479[_0x3f1da0(0x1fa)]),_0xdcb479[_0x3f1da0(0x32c)](_0x5e81a6[_0x138ab3])),_0xdcb479[_0x3f1da0(0x208)]||(_0xdcb479[_0x3f1da0(0x208)]=!0x0,_0xdcb479['emit'](_0x3f1da0(0x1fc),_0x5e81a6));}function _0xd092f7(){const _0x33d54e=_0x921c42;this[_0x4f2815][_0x33d54e(0x2ae)]();}function _0xd758d5(_0x4b758c,_0x191946){const _0x677d2d=_0x921c42;this[_0x4f2815][_0x677d2d(0x22e)](_0x677d2d(0x2a7),_0x4b758c,_0x191946);}function _0x995894(_0xfcd5b1){const _0x2983b0=_0x921c42,_0x2aa948=this[_0x4f2815];_0x2aa948['_autoPong']&&_0x2aa948['pong'](_0xfcd5b1,!this['_isServer'],_0x3c5e93),_0x2aa948[_0x2983b0(0x22e)](_0x2983b0(0x315),_0xfcd5b1);}function _0x4ca5a2(_0x2f0c8e){const _0x3bd469=_0x921c42;this[_0x4f2815][_0x3bd469(0x22e)](_0x3bd469(0x25a),_0x2f0c8e);}function _0x266737(_0x23ff7b){const _0x54579d=_0x921c42;_0x23ff7b[_0x54579d(0x189)]();}function _0x16628c(_0x47c38b){const _0x5ea257=_0x921c42,_0x280ecf=this[_0x4f2815];_0x280ecf[_0x5ea257(0x18e)]!==_0xbabdc['CLOSED']&&(_0x280ecf[_0x5ea257(0x18e)]===_0xbabdc[_0x5ea257(0x216)]&&(_0x280ecf[_0x5ea257(0x261)]=_0xbabdc['CLOSING'],_0x35020b(_0x280ecf)),this['_socket'][_0x5ea257(0x2d5)](),_0x280ecf[_0x5ea257(0x208)]||(_0x280ecf[_0x5ea257(0x208)]=!0x0,_0x280ecf['emit'](_0x5ea257(0x1fc),_0x47c38b)));}function _0x35020b(_0xf34109){const _0x4bf5d6=_0x921c42;_0xf34109[_0x4bf5d6(0x2d9)]=setTimeout(_0xf34109[_0x4bf5d6(0x1fa)]['destroy'][_0x4bf5d6(0x332)](_0xf34109[_0x4bf5d6(0x1fa)]),_0x4f297f);}function _0x4d28c6(){const _0x48c633=_0x921c42,_0x2463c1=this[_0x4f2815];this[_0x48c633(0x256)]('close',_0x4d28c6),this[_0x48c633(0x256)](_0x48c633(0x231),_0x2ec1db),this['removeListener'](_0x48c633(0x2d5),_0xb4d3d3),_0x2463c1[_0x48c633(0x261)]=_0xbabdc[_0x48c633(0x27e)];let _0x1ca514;!this[_0x48c633(0x1e9)][_0x48c633(0x311)]&&!_0x2463c1[_0x48c633(0x1f1)]&&!_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]&&(_0x1ca514=_0x2463c1['_socket'][_0x48c633(0x2ed)]())!==null&&_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x2e3)](_0x1ca514),_0x2463c1['_receiver'][_0x48c633(0x2d5)](),this[_0x4f2815]=void 0x0,clearTimeout(_0x2463c1['_closeTimer']),_0x2463c1[_0x48c633(0x19e)]['_writableState'][_0x48c633(0x323)]||_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]?_0x2463c1[_0x48c633(0x2ae)]():(_0x2463c1['_receiver']['on'](_0x48c633(0x1fc),_0xd092f7),_0x2463c1[_0x48c633(0x19e)]['on']('finish',_0xd092f7));}function _0x2ec1db(_0x5cb475){const _0x3d8459=_0x921c42;this[_0x4f2815][_0x3d8459(0x19e)][_0x3d8459(0x2e3)](_0x5cb475)||this[_0x3d8459(0x25b)]();}function _0xb4d3d3(){const _0x1ce15a=_0x921c42,_0x3c6dd8=this[_0x4f2815];_0x3c6dd8[_0x1ce15a(0x261)]=_0xbabdc[_0x1ce15a(0x27e)],_0x3c6dd8[_0x1ce15a(0x19e)][_0x1ce15a(0x2d5)](),this[_0x1ce15a(0x2d5)]();}function _0x5252cc(){const _0x509c52=_0x921c42,_0x5ed65c=this[_0x4f2815];this[_0x509c52(0x256)]('error',_0x5252cc),this['on'](_0x509c52(0x1fc),_0x3c5e93),_0x5ed65c&&(_0x5ed65c[_0x509c52(0x261)]=_0xbabdc[_0x509c52(0x27e)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1ffb01}=oe;function _0x312f2e(_0x4ad839){_0x4ad839['emit']('close');}function _0x206ff4(){const _0x51e080=_0x22a9;!this[_0x51e080(0x21c)]&&this[_0x51e080(0x177)][_0x51e080(0x323)]&&this['destroy']();}function _0x4bd806(_0x3f652b){const _0x23d04d=_0x22a9;this['removeListener'](_0x23d04d(0x1fc),_0x4bd806),this['destroy'](),this[_0x23d04d(0x32b)](_0x23d04d(0x1fc))===0x0&&this[_0x23d04d(0x22e)]('error',_0x3f652b);}function _0x23c5cb(_0x8beb20,_0x373e95){const _0x44b2cf=_0x22a9;let _0x11f806=!0x0;const _0x452e80=new _0x1ffb01({..._0x373e95,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x8beb20['on'](_0x44b2cf(0x2a7),function(_0x3763a5,_0x54e9ef){const _0x192675=_0x44b2cf,_0x4e8c43=!_0x54e9ef&&_0x452e80[_0x192675(0x1e9)][_0x192675(0x2e9)]?_0x3763a5[_0x192675(0x1ec)]():_0x3763a5;_0x452e80[_0x192675(0x241)](_0x4e8c43)||_0x8beb20[_0x192675(0x25b)]();}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x1fc),function(_0x507c70){const _0xcb5eac=_0x44b2cf;_0x452e80[_0xcb5eac(0x21c)]||(_0x11f806=!0x1,_0x452e80[_0xcb5eac(0x1ba)](_0x507c70));}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x32c),function(){const _0x3a283f=_0x44b2cf;_0x452e80[_0x3a283f(0x21c)]||_0x452e80['push'](null);}),_0x452e80[_0x44b2cf(0x319)]=function(_0x1d9deb,_0x5e67d9){const _0x223361=_0x44b2cf;if(_0x8beb20[_0x223361(0x18e)]===_0x8beb20[_0x223361(0x24d)]){_0x5e67d9(_0x1d9deb),process[_0x223361(0x258)](_0x312f2e,_0x452e80);return;}let _0x2692b1=!0x1;_0x8beb20[_0x223361(0x204)]('error',function(_0x519904){_0x2692b1=!0x0,_0x5e67d9(_0x519904);}),_0x8beb20[_0x223361(0x204)](_0x223361(0x32c),function(){const _0x5ca0c3=_0x223361;_0x2692b1||_0x5e67d9(_0x1d9deb),process[_0x5ca0c3(0x258)](_0x312f2e,_0x452e80);}),_0x11f806&&_0x8beb20[_0x223361(0x175)]();},_0x452e80[_0x44b2cf(0x2ff)]=function(_0x42ed4e){const _0x1fe652=_0x44b2cf;if(_0x8beb20[_0x1fe652(0x18e)]===_0x8beb20[_0x1fe652(0x1fe)]){_0x8beb20[_0x1fe652(0x204)](_0x1fe652(0x1ef),function(){const _0x368db4=_0x1fe652;_0x452e80[_0x368db4(0x2ff)](_0x42ed4e);});return;}_0x8beb20[_0x1fe652(0x1fa)]!==null&&(_0x8beb20[_0x1fe652(0x1fa)]['_writableState']['finished']?(_0x42ed4e(),_0x452e80[_0x1fe652(0x1e9)][_0x1fe652(0x311)]&&_0x452e80[_0x1fe652(0x1ba)]()):(_0x8beb20[_0x1fe652(0x1fa)][_0x1fe652(0x204)](_0x1fe652(0x30c),function(){_0x42ed4e();}),_0x8beb20[_0x1fe652(0x32c)]()));},_0x452e80[_0x44b2cf(0x324)]=function(){const _0x433a3a=_0x44b2cf;_0x8beb20[_0x433a3a(0x21f)]&&_0x8beb20[_0x433a3a(0x189)]();},_0x452e80[_0x44b2cf(0x327)]=function(_0x5a6f01,_0x5824e4,_0x102db1){const _0x6980e1=_0x44b2cf;if(_0x8beb20['readyState']===_0x8beb20['CONNECTING']){_0x8beb20['once'](_0x6980e1(0x1ef),function(){const _0x453b23=_0x6980e1;_0x452e80[_0x453b23(0x327)](_0x5a6f01,_0x5824e4,_0x102db1);});return;}_0x8beb20[_0x6980e1(0x2ba)](_0x5a6f01,_0x102db1);},_0x452e80['on']('end',_0x206ff4),_0x452e80['on']('error',_0x4bd806),_0x452e80;}return Oe=_0x23c5cb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x256a42}=ae();function _0x4116b9(_0x5a6be5){const _0x5e9a63=_0x22a9,_0x3e5dee=new Set();let _0x4cdf20=-0x1,_0x140b9a=-0x1,_0x208eaf=0x0;for(_0x208eaf;_0x208eaf<_0x5a6be5[_0x5e9a63(0x1b2)];_0x208eaf++){const _0x2aafec=_0x5a6be5[_0x5e9a63(0x293)](_0x208eaf);if(_0x140b9a===-0x1&&_0x256a42[_0x2aafec]===0x1)_0x4cdf20===-0x1&&(_0x4cdf20=_0x208eaf);else{if(_0x208eaf!==0x0&&(_0x2aafec===0x20||_0x2aafec===0x9))_0x140b9a===-0x1&&_0x4cdf20!==-0x1&&(_0x140b9a=_0x208eaf);else{if(_0x2aafec===0x2c){if(_0x4cdf20===-0x1)throw new SyntaxError(_0x5e9a63(0x205)+_0x208eaf);_0x140b9a===-0x1&&(_0x140b9a=_0x208eaf);const _0x4e936b=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x140b9a);if(_0x3e5dee['has'](_0x4e936b))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x4e936b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e5dee[_0x5e9a63(0x1d5)](_0x4e936b),_0x4cdf20=_0x140b9a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x208eaf);}}}if(_0x4cdf20===-0x1||_0x140b9a!==-0x1)throw new SyntaxError(_0x5e9a63(0x19a));const _0x35a8c2=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x208eaf);if(_0x3e5dee[_0x5e9a63(0x292)](_0x35a8c2))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x35a8c2+_0x5e9a63(0x23f));return _0x3e5dee[_0x5e9a63(0x1d5)](_0x35a8c2),_0x3e5dee;}return Ce={'parse':_0x4116b9},Ce;}var Te,rt;function Ft(){const _0x197e77=_0x51270a;if(rt)return Te;rt=0x1;const _0x275cc3=nt,_0x3395a2=ot,{Duplex:_0x1c1f0d}=oe,{createHash:_0x4e3247}=Le,_0x57e83a=ct(),_0x45de34=he(),_0x3e4f3f=At(),_0x36b74c=Pe(),{GUID:_0x3e4403,kWebSocket:_0x24dec1}=H(),_0x526d94=/^[+/0-9A-Za-z]{22}==$/,_0x5c83bf=0x0,_0x5f4e0f=0x1,_0x3bfcaa=0x2;class _0x4ccccc extends _0x275cc3{constructor(_0x32d0a2,_0x3d9dd8){const _0x29b69a=_0x22a9;if(super(),_0x32d0a2={'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':_0x36b74c,..._0x32d0a2},_0x32d0a2[_0x29b69a(0x2b5)]==null&&!_0x32d0a2[_0x29b69a(0x1b5)]&&!_0x32d0a2[_0x29b69a(0x239)]||_0x32d0a2[_0x29b69a(0x2b5)]!=null&&(_0x32d0a2['server']||_0x32d0a2[_0x29b69a(0x239)])||_0x32d0a2['server']&&_0x32d0a2[_0x29b69a(0x239)])throw new TypeError(_0x29b69a(0x2eb));if(_0x32d0a2['port']!=null?(this[_0x29b69a(0x285)]=_0x3395a2['createServer']((_0x5b4bcd,_0x5cab37)=>{const _0x147cfb=_0x29b69a,_0x415190=_0x3395a2[_0x147cfb(0x2bf)][0x1aa];_0x5cab37[_0x147cfb(0x320)](0x1aa,{'Content-Length':_0x415190[_0x147cfb(0x1b2)],'Content-Type':_0x147cfb(0x1e1)}),_0x5cab37[_0x147cfb(0x2d5)](_0x415190);}),this[_0x29b69a(0x285)][_0x29b69a(0x1b1)](_0x32d0a2['port'],_0x32d0a2[_0x29b69a(0x213)],_0x32d0a2[_0x29b69a(0x27f)],_0x3d9dd8)):_0x32d0a2[_0x29b69a(0x1b5)]&&(this[_0x29b69a(0x285)]=_0x32d0a2[_0x29b69a(0x1b5)]),this[_0x29b69a(0x285)]){const _0xd2c3e8=this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x2e4));this[_0x29b69a(0x325)]=_0x4e8594(this[_0x29b69a(0x285)],{'listening':this[_0x29b69a(0x22e)][_0x29b69a(0x332)](this,_0x29b69a(0x262)),'error':this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x1fc)),'upgrade':(_0x2fc282,_0x2854fc,_0x2024b9)=>{const _0x1eec06=_0x29b69a;this[_0x1eec06(0x30a)](_0x2fc282,_0x2854fc,_0x2024b9,_0xd2c3e8);}});}_0x32d0a2[_0x29b69a(0x26c)]===!0x0&&(_0x32d0a2[_0x29b69a(0x26c)]={}),_0x32d0a2[_0x29b69a(0x1dd)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x29b69a(0x2f8)]=_0x32d0a2,this[_0x29b69a(0x2d6)]=_0x5c83bf;}[_0x197e77(0x2e6)](){const _0x288f47=_0x197e77;if(this[_0x288f47(0x2f8)][_0x288f47(0x239)])throw new Error(_0x288f47(0x2d8));return this[_0x288f47(0x285)]?this[_0x288f47(0x285)][_0x288f47(0x2e6)]():null;}['close'](_0x205785){const _0x238e44=_0x197e77;if(this[_0x238e44(0x2d6)]===_0x3bfcaa){_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),()=>{const _0x1bb101=_0x238e44;_0x205785(new Error(_0x1bb101(0x303)));}),process['nextTick'](_0x5396fe,this);return;}if(_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),_0x205785),this['_state']!==_0x5f4e0f){if(this[_0x238e44(0x2d6)]=_0x5f4e0f,this['options']['noServer']||this['options']['server'])this[_0x238e44(0x285)]&&(this['_removeListeners'](),this[_0x238e44(0x325)]=this[_0x238e44(0x285)]=null),this['clients']?this[_0x238e44(0x192)]['size']?this[_0x238e44(0x1bb)]=!0x0:process[_0x238e44(0x258)](_0x5396fe,this):process[_0x238e44(0x258)](_0x5396fe,this);else{const _0x16a3ac=this[_0x238e44(0x285)];this[_0x238e44(0x325)](),this['_removeListeners']=this[_0x238e44(0x285)]=null,_0x16a3ac[_0x238e44(0x32c)](()=>{_0x5396fe(this);});}}}[_0x197e77(0x2cb)](_0x4415b5){const _0x3390a0=_0x197e77;if(this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)]){const _0x280cde=_0x4415b5[_0x3390a0(0x310)][_0x3390a0(0x21d)]('?');if((_0x280cde!==-0x1?_0x4415b5['url']['slice'](0x0,_0x280cde):_0x4415b5['url'])!==this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)])return!0x1;}return!0x0;}[_0x197e77(0x30a)](_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81){const _0x159a8c=_0x197e77;_0x37c968['on'](_0x159a8c(0x1fc),_0x59308d);const _0x14a88c=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-key'],_0x36d934=_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x245)],_0x40bf2f=+_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x1ce)];if(_0x3a704a[_0x159a8c(0x180)]!==_0x159a8c(0x273)){_0x182875(this,_0x3a704a,_0x37c968,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x36d934===void 0x0||_0x36d934['toLowerCase']()!==_0x159a8c(0x186)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x14a88c===void 0x0||!_0x526d94[_0x159a8c(0x274)](_0x14a88c)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x40bf2f!==0xd&&_0x40bf2f!==0x8){_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x2bb),{'Sec-WebSocket-Version':_0x159a8c(0x1b6)});return;}if(!this[_0x159a8c(0x2cb)](_0x3a704a)){_0x49166c(_0x37c968,0x190);return;}const _0x26cbd6=_0x3a704a['headers'][_0x159a8c(0x1d2)];let _0x4012c1=new Set();if(_0x26cbd6!==void 0x0)try{_0x4012c1=_0x3e4f3f[_0x159a8c(0x294)](_0x26cbd6);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x1bc));return;}const _0x55568e=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-extensions'],_0x4bf337={};if(this[_0x159a8c(0x2f8)][_0x159a8c(0x26c)]&&_0x55568e!==void 0x0){const _0x492a70=new _0x45de34(this['options'][_0x159a8c(0x26c)],!0x0,this[_0x159a8c(0x2f8)][_0x159a8c(0x181)]);try{const _0x33dbf2=_0x57e83a[_0x159a8c(0x294)](_0x55568e);_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]&&(_0x492a70['accept'](_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]),_0x4bf337[_0x45de34[_0x159a8c(0x296)]]=_0x492a70);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x282));return;}}if(this[_0x159a8c(0x2f8)]['verifyClient']){const _0x40458e={'origin':_0x3a704a[_0x159a8c(0x2f9)][''+(_0x40bf2f===0x8?_0x159a8c(0x31e):_0x159a8c(0x28f))],'secure':!!(_0x3a704a['socket'][_0x159a8c(0x228)]||_0x3a704a[_0x159a8c(0x23d)][_0x159a8c(0x308)]),'req':_0x3a704a};if(this['options']['verifyClient'][_0x159a8c(0x1b2)]===0x2){this[_0x159a8c(0x2f8)][_0x159a8c(0x2a0)](_0x40458e,(_0x1d3009,_0x4c81b1,_0x3c816d,_0x427801)=>{const _0x2257c3=_0x159a8c;if(!_0x1d3009)return _0x49166c(_0x37c968,_0x4c81b1||0x191,_0x3c816d,_0x427801);this[_0x2257c3(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);});return;}if(!this['options']['verifyClient'](_0x40458e))return _0x49166c(_0x37c968,0x191);}this[_0x159a8c(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);}['completeUpgrade'](_0x1b81bb,_0x358d0b,_0x198f0d,_0x43eca2,_0x28697e,_0x3cb760,_0x4bc7aa){const _0x3d4095=_0x197e77;if(!_0x28697e[_0x3d4095(0x304)]||!_0x28697e['writable'])return _0x28697e['destroy']();if(_0x28697e[_0x24dec1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3d4095(0x2d6)]>_0x5c83bf)return _0x49166c(_0x28697e,0x1f7);const _0x26501d=[_0x3d4095(0x29f),'Upgrade:\x20websocket',_0x3d4095(0x174),'Sec-WebSocket-Accept:\x20'+_0x4e3247(_0x3d4095(0x179))['update'](_0x358d0b+_0x3e4403)['digest'](_0x3d4095(0x2fd))],_0xa4b968=new this[(_0x3d4095(0x2f8))][(_0x3d4095(0x27a))](null,void 0x0,this['options']);if(_0x198f0d[_0x3d4095(0x2b0)]){const _0x5d4e7c=this[_0x3d4095(0x2f8)][_0x3d4095(0x295)]?this['options'][_0x3d4095(0x295)](_0x198f0d,_0x43eca2):_0x198f0d['values']()['next']()['value'];_0x5d4e7c&&(_0x26501d['push'](_0x3d4095(0x331)+_0x5d4e7c),_0xa4b968[_0x3d4095(0x243)]=_0x5d4e7c);}if(_0x1b81bb[_0x45de34[_0x3d4095(0x296)]]){const _0x2d969b=_0x1b81bb[_0x45de34['extensionName']][_0x3d4095(0x2b9)],_0x1faf2f=_0x57e83a[_0x3d4095(0x193)]({[_0x45de34[_0x3d4095(0x296)]]:[_0x2d969b]});_0x26501d[_0x3d4095(0x241)](_0x3d4095(0x339)+_0x1faf2f),_0xa4b968[_0x3d4095(0x1d6)]=_0x1b81bb;}this[_0x3d4095(0x22e)](_0x3d4095(0x2f9),_0x26501d,_0x43eca2),_0x28697e['write'](_0x26501d[_0x3d4095(0x252)]('\x0d\x0a')['join']('\x0d\x0a')),_0x28697e[_0x3d4095(0x256)](_0x3d4095(0x1fc),_0x59308d),_0xa4b968['setSocket'](_0x28697e,_0x3cb760,{'allowSynchronousEvents':this[_0x3d4095(0x2f8)][_0x3d4095(0x309)],'maxPayload':this['options'][_0x3d4095(0x181)],'skipUTF8Validation':this[_0x3d4095(0x2f8)][_0x3d4095(0x2d0)]}),this[_0x3d4095(0x192)]&&(this[_0x3d4095(0x192)][_0x3d4095(0x1d5)](_0xa4b968),_0xa4b968['on']('close',()=>{const _0x2a7a91=_0x3d4095;this[_0x2a7a91(0x192)][_0x2a7a91(0x30d)](_0xa4b968),this[_0x2a7a91(0x1bb)]&&!this[_0x2a7a91(0x192)][_0x2a7a91(0x2b0)]&&process[_0x2a7a91(0x258)](_0x5396fe,this);})),_0x4bc7aa(_0xa4b968,_0x43eca2);}}Te=_0x4ccccc;function _0x4e8594(_0x54c465,_0xa91dba){const _0x514dd2=_0x197e77;for(const _0x2695d7 of Object[_0x514dd2(0x2ad)](_0xa91dba))_0x54c465['on'](_0x2695d7,_0xa91dba[_0x2695d7]);return function(){const _0x3b750c=_0x514dd2;for(const _0x329747 of Object[_0x3b750c(0x2ad)](_0xa91dba))_0x54c465[_0x3b750c(0x256)](_0x329747,_0xa91dba[_0x329747]);};}function _0x5396fe(_0x57d070){const _0x2f8189=_0x197e77;_0x57d070[_0x2f8189(0x2d6)]=_0x3bfcaa,_0x57d070[_0x2f8189(0x22e)]('close');}function _0x59308d(){const _0xd11c50=_0x197e77;this[_0xd11c50(0x1ba)]();}function _0x49166c(_0x45ecb0,_0x274047,_0x5e509f,_0x1ad16f){const _0x27c9d3=_0x197e77;_0x5e509f=_0x5e509f||_0x3395a2[_0x27c9d3(0x2bf)][_0x274047],_0x1ad16f={'Connection':_0x27c9d3(0x32c),'Content-Type':_0x27c9d3(0x2f4),'Content-Length':Buffer[_0x27c9d3(0x2be)](_0x5e509f),..._0x1ad16f},_0x45ecb0[_0x27c9d3(0x204)](_0x27c9d3(0x30c),_0x45ecb0[_0x27c9d3(0x1ba)]),_0x45ecb0[_0x27c9d3(0x2d5)](_0x27c9d3(0x307)+_0x274047+'\x20'+_0x3395a2['STATUS_CODES'][_0x274047]+'\x0d\x0a'+Object[_0x27c9d3(0x2ad)](_0x1ad16f)[_0x27c9d3(0x17c)](_0x10b6d0=>_0x10b6d0+':\x20'+_0x1ad16f[_0x10b6d0])[_0x27c9d3(0x230)]('\x0d\x0a')+_0x27c9d3(0x20b)+_0x5e509f);}function _0x182875(_0x29ede3,_0x5c8f59,_0x4c978b,_0x237829,_0x4b2aa4,_0x158397){const _0x1aecda=_0x197e77;if(_0x29ede3[_0x1aecda(0x32b)](_0x1aecda(0x2c2))){const _0x5298b0=new Error(_0x4b2aa4);Error[_0x1aecda(0x287)](_0x5298b0,_0x182875),_0x29ede3[_0x1aecda(0x22e)](_0x1aecda(0x2c2),_0x5298b0,_0x4c978b,_0x5c8f59);}else _0x49166c(_0x4c978b,_0x237829,_0x4b2aa4,_0x158397);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3e1aa7,_0x431dc6,_0x1fa412,_0x24d221)=>{const _0xe8c90c=_0x51270a;for(var _0x5c7854=_0x24d221>0x1?void 0x0:_0x24d221?jt(_0x431dc6,_0x1fa412):_0x431dc6,_0x3aafad=_0x3e1aa7[_0xe8c90c(0x1b2)]-0x1,_0x4f93fd;_0x3aafad>=0x0;_0x3aafad--)(_0x4f93fd=_0x3e1aa7[_0x3aafad])&&(_0x5c7854=_0x4f93fd(_0x5c7854)||_0x5c7854);return _0x5c7854;},qt=(_0x282550,_0x1549d4)=>(_0x5ad723,_0x51d8be)=>_0x1549d4(_0x5ad723,_0x51d8be,_0x282550);let ke=class extends A[_0x51270a(0x1dc)]{constructor(_0x481cbe){super(),this['_configService']=_0x481cbe;}['createSocket'](_0x3e9a35){const _0x4b4453=_0x51270a;var _0xa75b67;const _0x2fd846=(_0xa75b67=this['_configService'][_0x4b4453(0x2db)](fe))==null?void 0x0:_0xa75b67[_0x4b4453(0x2b7)];try{const _0x11110e=new $t(_0x3e9a35,{'headers':{..._0x2fd846}}),_0x2dcc5b=new A[(_0x4b4453(0x1e4))]();return{'URL':_0x3e9a35,'close':(_0x2b6fa2,_0x599e11)=>{const _0x5969f4=_0x4b4453;_0x11110e[_0x5969f4(0x32c)](_0x2b6fa2,_0x599e11),_0x2dcc5b[_0x5969f4(0x30e)]();},'send':_0x15b453=>{const _0xac9cea=_0x4b4453;_0x11110e[_0xac9cea(0x2ba)](_0x15b453);},'open$':new V['Observable'](_0x2f1c23=>{const _0x653017=_0x4b4453,_0x11cbd0=_0x348454=>_0x2f1c23[_0x653017(0x237)](_0x348454);_0x11110e[_0x653017(0x2f5)](_0x653017(0x1ef),_0x11cbd0),_0x2dcc5b[_0x653017(0x1d5)](A[_0x653017(0x299)](()=>_0x11110e['removeEventListener'](_0x653017(0x1ef),_0x11cbd0)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'close$':new V[(_0x4b4453(0x1d8))](_0x373c99=>{const _0x657ced=_0x4b4453,_0x294ace=_0x183a9a=>_0x373c99[_0x657ced(0x237)](_0x183a9a);_0x11110e['addEventListener']('close',_0x294ace),_0x2dcc5b[_0x657ced(0x1d5)](A[_0x657ced(0x299)](()=>_0x11110e[_0x657ced(0x225)]('close',_0x294ace)));})['pipe'](V[_0x4b4453(0x1f0)]()),'error$':new V['Observable'](_0x2905aa=>{const _0x2fe0b3=_0x4b4453,_0x4b8c4c=_0x19262c=>_0x2905aa[_0x2fe0b3(0x237)](_0x19262c);_0x11110e['addEventListener'](_0x2fe0b3(0x1fc),_0x4b8c4c),_0x2dcc5b[_0x2fe0b3(0x1d5)](A[_0x2fe0b3(0x299)](()=>_0x11110e[_0x2fe0b3(0x225)](_0x2fe0b3(0x1fc),_0x4b8c4c)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'message$':new V[(_0x4b4453(0x1d8))](_0x8045d7=>{const _0x35fd68=_0x4b4453,_0x4766ac=_0x1e752d=>_0x8045d7['next'](_0x1e752d);_0x11110e[_0x35fd68(0x2f5)]('message',_0x4766ac),_0x2dcc5b[_0x35fd68(0x1d5)](A[_0x35fd68(0x299)](()=>_0x11110e['removeEventListener']('message',_0x4766ac)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]())};}catch(_0x275d05){return console[_0x4b4453(0x1fc)](_0x275d05),null;}}};ke=Wt([qt(0x0,A[_0x51270a(0x17e)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x51270a(0x23e)],Ht=(_0x49d816,_0x364497,_0x3890f2)=>_0x364497 in _0x49d816?Gt(_0x49d816,_0x364497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3890f2}):_0x49d816[_0x364497]=_0x3890f2,zt=(_0x4b810f,_0x4eb7bb,_0x3c584c,_0x3e8f55)=>{const _0x4a98e8=_0x51270a;for(var _0x1e6a7=_0x3e8f55>0x1?void 0x0:_0x3e8f55?Vt(_0x4eb7bb,_0x3c584c):_0x4eb7bb,_0xd66e1a=_0x4b810f[_0x4a98e8(0x1b2)]-0x1,_0x2beb53;_0xd66e1a>=0x0;_0xd66e1a--)(_0x2beb53=_0x4b810f[_0xd66e1a])&&(_0x1e6a7=_0x2beb53(_0x1e6a7)||_0x1e6a7);return _0x1e6a7;},Ne=(_0x4f6eb6,_0x41fd30)=>(_0x26c13c,_0x506cb7)=>_0x41fd30(_0x26c13c,_0x506cb7,_0x4f6eb6),Yt=(_0x508d6c,_0x4057f7,_0xfc7e4c)=>Ht(_0x508d6c,_0x4057f7+'',_0xfc7e4c);exports[_0x51270a(0x238)]=class extends A[_0x51270a(0x247)]{constructor(_0x2a36d1=Ct,_0x29b893,_0x1f9af3,_0x30091a){const _0x33f083=_0x51270a;_0x2a36d1[_0x33f083(0x2b7)]||_0x29b893[_0x33f083(0x190)](_0x33f083(0x1f7)),super(),this['_configService']=_0x1f9af3,this[_0x33f083(0x22f)]=_0x30091a,this[_0x33f083(0x28e)][_0x33f083(0x21e)](fe,_0x2a36d1);}['onStarting'](){const _0x26c1a2=_0x51270a;this[_0x26c1a2(0x19c)]();}['_registerDependencies'](){const _0x250d0a=_0x51270a;A[_0x250d0a(0x1da)](this[_0x250d0a(0x22f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x51270a(0x238)],'pluginName',_0x51270a(0x1ee)),exports[_0x51270a(0x238)]=zt([A[_0x51270a(0x321)](st[_0x51270a(0x272)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x51270a(0x17e)]),Ne(0x3,A[_0x51270a(0x300)](A[_0x51270a(0x259)]))],exports[_0x51270a(0x238)]);var Kt=Object[_0x51270a(0x23e)],Xt=(_0x466f9d,_0x5e56c9,_0x221106,_0x306cf3)=>{for(var _0x525bd4=_0x306cf3>0x1?void 0x0:_0x306cf3?Kt(_0x5e56c9,_0x221106):_0x5e56c9,_0x1bc395=_0x466f9d['length']-0x1,_0xe364eb;_0x1bc395>=0x0;_0x1bc395--)(_0xe364eb=_0x466f9d[_0x1bc395])&&(_0x525bd4=_0xe364eb(_0x525bd4)||_0x525bd4);return _0x525bd4;},ne=(_0x30c666,_0x1ded40)=>(_0x1c824d,_0x49d641)=>_0x1ded40(_0x1c824d,_0x49d641,_0x30c666);exports[_0x51270a(0x306)]=class extends st[_0x51270a(0x1c9)]{constructor(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5){const _0x351e20=_0x51270a;super(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5);const _0x3f811c=this[_0x351e20(0x28e)][_0x351e20(0x2db)](fe);this['_httpService'][_0x351e20(0x2c9)]({'interceptor':(_0x440fa9,_0x446411)=>{const _0x21f360=_0x351e20;var _0x88b8b0;const _0x2246a2=_0x440fa9[_0x21f360(0x2f9)];return(_0x88b8b0=_0x3f811c==null?void 0x0:_0x3f811c[_0x21f360(0x2b7)])!=null&&_0x88b8b0['cookie']&&_0x2246a2[_0x21f360(0x1b3)](_0x21f360(0x244),_0x3f811c[_0x21f360(0x2b7)]['cookie']),_0x446411(_0x440fa9);}});}async[_0x51270a(0x1a8)](_0x3cef58){const _0x3c467a=_0x51270a;return this[_0x3c467a(0x32f)](_0x3cef58);}},exports[_0x51270a(0x306)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x51270a(0x25f)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|