@univerjs-pro/collaboration-client-node 0.10.11-nightly.202510220308 → 0.10.12-nightly.202510221114
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 _0x29b3bc=_0x4697;(function(_0x1c45ee,_0x4bdb58){const _0x554e1b=_0x4697,_0x359126=_0x1c45ee();while(!![]){try{const _0x4f9f08=-parseInt(_0x554e1b(0x1b8))/0x1*(-parseInt(_0x554e1b(0x1c2))/0x2)+-parseInt(_0x554e1b(0x19d))/0x3+parseInt(_0x554e1b(0x23e))/0x4*(-parseInt(_0x554e1b(0xa9))/0x5)+-parseInt(_0x554e1b(0x1f2))/0x6+-parseInt(_0x554e1b(0x24b))/0x7+parseInt(_0x554e1b(0xda))/0x8+parseInt(_0x554e1b(0x1da))/0x9*(parseInt(_0x554e1b(0x21d))/0xa);if(_0x4f9f08===_0x4bdb58)break;else _0x359126['push'](_0x359126['shift']());}catch(_0x23be72){_0x359126['push'](_0x359126['shift']());}}}(_0x3e38,0x42b67));Object[_0x29b3bc(0x119)](exports,Symbol[_0x29b3bc(0xa8)],{'value':_0x29b3bc(0x229)});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=_0x29b3bc(0x257),Ct={'customHeaders':{}};function Tt(_0x2ba8b8){const _0x45a6b7=_0x29b3bc;return _0x2ba8b8&&_0x2ba8b8[_0x45a6b7(0x111)]&&Object[_0x45a6b7(0x162)][_0x45a6b7(0xe1)][_0x45a6b7(0x17f)](_0x2ba8b8,_0x45a6b7(0xdc))?_0x2ba8b8[_0x45a6b7(0xdc)]:_0x2ba8b8;}function at(_0x1ee8fc){const _0x189850=_0x29b3bc;if(Object[_0x189850(0x162)]['hasOwnProperty'][_0x189850(0x17f)](_0x1ee8fc,_0x189850(0x111)))return _0x1ee8fc;var _0x1b77d1=_0x1ee8fc[_0x189850(0xdc)];if(typeof _0x1b77d1==_0x189850(0x188)){var _0x187905=function _0x2852bb(){const _0x4598e7=_0x189850;var _0x19818e=!0x1;try{_0x19818e=this instanceof _0x2852bb;}catch{}return _0x19818e?Reflect['construct'](_0x1b77d1,arguments,this['constructor']):_0x1b77d1[_0x4598e7(0x1dd)](this,arguments);};_0x187905[_0x189850(0x162)]=_0x1b77d1[_0x189850(0x162)];}else _0x187905={};return Object[_0x189850(0x119)](_0x187905,_0x189850(0x111),{'value':!0x0}),Object[_0x189850(0xad)](_0x1ee8fc)[_0x189850(0x238)](function(_0x3de14c){const _0x321978=_0x189850;var _0x312d83=Object[_0x321978(0x19e)](_0x1ee8fc,_0x3de14c);Object['defineProperty'](_0x187905,_0x3de14c,_0x312d83[_0x321978(0x1b1)]?_0x312d83:{'enumerable':!0x0,'get':function(){return _0x1ee8fc[_0x3de14c];}});}),_0x187905;}var se={'exports':{}},ge,Ge;function H(){const _0xd11238=_0x29b3bc;if(Ge)return ge;Ge=0x1;const _0xeb3e86=[_0xd11238(0x1c3),'arraybuffer',_0xd11238(0x1ad)],_0x488f1b=typeof Blob<'u';return _0x488f1b&&_0xeb3e86['push'](_0xd11238(0x1fe)),ge={'BINARY_TYPES':_0xeb3e86,'EMPTY_BUFFER':Buffer[_0xd11238(0x22d)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x488f1b,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xd11238(0x1a7)),'kStatusCode':Symbol(_0xd11238(0x183)),'kWebSocket':Symbol(_0xd11238(0x1ca)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x29b3bc(0x243)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x29b3bc(0xa8)],{'value':_0x29b3bc(0x229)})),Lt=at(kt);var Ve;function ce(){const _0x8a5d93=_0x29b3bc;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x390d5f}=H(),_0x52c5d4=Buffer[Symbol['species']];function _0x5b6319(_0x3aae76,_0xa0f7df){const _0x4dfadd=_0x4697;if(_0x3aae76[_0x4dfadd(0x1b9)]===0x0)return _0x390d5f;if(_0x3aae76[_0x4dfadd(0x1b9)]===0x1)return _0x3aae76[0x0];const _0x5a2509=Buffer[_0x4dfadd(0xc8)](_0xa0f7df);let _0xd9c1a4=0x0;for(let _0x265f82=0x0;_0x265f82<_0x3aae76[_0x4dfadd(0x1b9)];_0x265f82++){const _0x28c321=_0x3aae76[_0x265f82];_0x5a2509[_0x4dfadd(0x1fa)](_0x28c321,_0xd9c1a4),_0xd9c1a4+=_0x28c321[_0x4dfadd(0x1b9)];}return _0xd9c1a4<_0xa0f7df?new _0x52c5d4(_0x5a2509['buffer'],_0x5a2509[_0x4dfadd(0x205)],_0xd9c1a4):_0x5a2509;}function _0x4ba4ce(_0x3d8fdd,_0x55a7b5,_0x20f20b,_0x365f54,_0x5a770f){for(let _0x1ac2a4=0x0;_0x1ac2a4<_0x5a770f;_0x1ac2a4++)_0x20f20b[_0x365f54+_0x1ac2a4]=_0x3d8fdd[_0x1ac2a4]^_0x55a7b5[_0x1ac2a4&0x3];}function _0x1e3497(_0x2ab6f0,_0x1f3269){for(let _0x437f92=0x0;_0x437f92<_0x2ab6f0['length'];_0x437f92++)_0x2ab6f0[_0x437f92]^=_0x1f3269[_0x437f92&0x3];}function _0x52cd7a(_0x4bb4d3){const _0xe514c8=_0x4697;return _0x4bb4d3[_0xe514c8(0x1b9)]===_0x4bb4d3[_0xe514c8(0xef)][_0xe514c8(0xcc)]?_0x4bb4d3[_0xe514c8(0xef)]:_0x4bb4d3[_0xe514c8(0xef)][_0xe514c8(0x1ee)](_0x4bb4d3['byteOffset'],_0x4bb4d3[_0xe514c8(0x205)]+_0x4bb4d3[_0xe514c8(0x1b9)]);}function _0x5574ac(_0x8359c5){const _0x25377d=_0x4697;if(_0x5574ac['readOnly']=!0x0,Buffer[_0x25377d(0x215)](_0x8359c5))return _0x8359c5;let _0x2f8b08;return _0x8359c5 instanceof ArrayBuffer?_0x2f8b08=new _0x52c5d4(_0x8359c5):ArrayBuffer[_0x25377d(0x180)](_0x8359c5)?_0x2f8b08=new _0x52c5d4(_0x8359c5[_0x25377d(0xef)],_0x8359c5['byteOffset'],_0x8359c5[_0x25377d(0xcc)]):(_0x2f8b08=Buffer[_0x25377d(0x15c)](_0x8359c5),_0x5574ac[_0x25377d(0x13c)]=!0x1),_0x2f8b08;}if(se[_0x8a5d93(0x20b)]={'concat':_0x5b6319,'mask':_0x4ba4ce,'toArrayBuffer':_0x52cd7a,'toBuffer':_0x5574ac,'unmask':_0x1e3497},!process['env'][_0x8a5d93(0x14f)])try{const _0x5f43cf=Lt;se['exports'][_0x8a5d93(0x232)]=function(_0x22a04b,_0x217980,_0x50e00d,_0x2e938c,_0x2373e0){_0x2373e0<0x30?_0x4ba4ce(_0x22a04b,_0x217980,_0x50e00d,_0x2e938c,_0x2373e0):_0x5f43cf['mask'](_0x22a04b,_0x217980,_0x50e00d,_0x2e938c,_0x2373e0);},se[_0x8a5d93(0x20b)][_0x8a5d93(0x15f)]=function(_0x241b3b,_0x2f61b2){const _0x47d1c4=_0x8a5d93;_0x241b3b[_0x47d1c4(0x1b9)]<0x20?_0x1e3497(_0x241b3b,_0x2f61b2):_0x5f43cf['unmask'](_0x241b3b,_0x2f61b2);};}catch{}return se[_0x8a5d93(0x20b)];}var ye,He;function Pt(){const _0x26700b=_0x29b3bc;if(He)return ye;He=0x1;const _0x48fe0c=Symbol('kDone'),_0x1f30b5=Symbol(_0x26700b(0x20e));class _0x380151{constructor(_0x3ae02c){const _0x144e30=_0x26700b;this[_0x48fe0c]=()=>{const _0x347d1e=_0x4697;this[_0x347d1e(0x1ce)]--,this[_0x1f30b5]();},this['concurrency']=_0x3ae02c||0x1/0x0,this[_0x144e30(0xae)]=[],this[_0x144e30(0x1ce)]=0x0;}['add'](_0x2911be){const _0x5888cb=_0x26700b;this[_0x5888cb(0xae)][_0x5888cb(0xaa)](_0x2911be),this[_0x1f30b5]();}[_0x1f30b5](){const _0x24b516=_0x26700b;if(this[_0x24b516(0x1ce)]!==this[_0x24b516(0xed)]&&this['jobs'][_0x24b516(0x1b9)]){const _0x416cc2=this[_0x24b516(0xae)][_0x24b516(0x114)]();this[_0x24b516(0x1ce)]++,_0x416cc2(this[_0x48fe0c]);}}}return ye=_0x380151,ye;}var ve,ze;function he(){const _0xdf9e7b=_0x29b3bc;if(ze)return ve;ze=0x1;const _0x1a1821=bt,_0x28a0b1=ce(),_0x5c4c47=Pt(),{kStatusCode:_0x499d35}=H(),_0x403643=Buffer[Symbol[_0xdf9e7b(0xe8)]],_0x5e3ad3=Buffer[_0xdf9e7b(0x15c)]([0x0,0x0,0xff,0xff]),_0xf3006e=Symbol(_0xdf9e7b(0x1a9)),_0x2ecd40=Symbol(_0xdf9e7b(0xb7)),_0xc56de7=Symbol(_0xdf9e7b(0x217)),_0x165b9f=Symbol(_0xdf9e7b(0xfd)),_0x3c4549=Symbol(_0xdf9e7b(0x24c));let _0x29fd1f;class _0x2212d1{constructor(_0x125c4f,_0x26b22e,_0x1b73e6){const _0x2b5a65=_0xdf9e7b;if(this[_0x2b5a65(0x131)]=_0x1b73e6|0x0,this[_0x2b5a65(0x226)]=_0x125c4f||{},this[_0x2b5a65(0xa0)]=this[_0x2b5a65(0x226)][_0x2b5a65(0x1ac)]!==void 0x0?this[_0x2b5a65(0x226)]['threshold']:0x400,this[_0x2b5a65(0x158)]=!!_0x26b22e,this[_0x2b5a65(0x203)]=null,this[_0x2b5a65(0xd5)]=null,this[_0x2b5a65(0x100)]=null,!_0x29fd1f){const _0x2c9a71=this[_0x2b5a65(0x226)][_0x2b5a65(0xfb)]!==void 0x0?this[_0x2b5a65(0x226)][_0x2b5a65(0xfb)]:0xa;_0x29fd1f=new _0x5c4c47(_0x2c9a71);}}static get[_0xdf9e7b(0x210)](){const _0x5e888a=_0xdf9e7b;return _0x5e888a(0x1a9);}[_0xdf9e7b(0x11f)](){const _0x152766=_0xdf9e7b,_0x2091e7={};return this[_0x152766(0x226)][_0x152766(0x185)]&&(_0x2091e7['server_no_context_takeover']=!0x0),this[_0x152766(0x226)][_0x152766(0x22f)]&&(_0x2091e7[_0x152766(0x198)]=!0x0),this['_options'][_0x152766(0x193)]&&(_0x2091e7[_0x152766(0xd0)]=this[_0x152766(0x226)]['serverMaxWindowBits']),this['_options'][_0x152766(0x21e)]?_0x2091e7['client_max_window_bits']=this[_0x152766(0x226)][_0x152766(0x21e)]:this[_0x152766(0x226)][_0x152766(0x21e)]==null&&(_0x2091e7[_0x152766(0x118)]=!0x0),_0x2091e7;}[_0xdf9e7b(0xe9)](_0xe4e38b){const _0x244216=_0xdf9e7b;return _0xe4e38b=this['normalizeParams'](_0xe4e38b),this['params']=this[_0x244216(0x158)]?this[_0x244216(0x1f6)](_0xe4e38b):this[_0x244216(0xf7)](_0xe4e38b),this[_0x244216(0x100)];}[_0xdf9e7b(0x14a)](){const _0x49361e=_0xdf9e7b;if(this[_0x49361e(0xd5)]&&(this[_0x49361e(0xd5)][_0x49361e(0x220)](),this['_inflate']=null),this['_deflate']){const _0x181b6a=this[_0x49361e(0x203)][_0xc56de7];this[_0x49361e(0x203)][_0x49361e(0x220)](),this[_0x49361e(0x203)]=null,_0x181b6a&&_0x181b6a(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x18b0a0){const _0x4695f4=_0xdf9e7b,_0x20f88e=this[_0x4695f4(0x226)],_0x6a04e1=_0x18b0a0[_0x4695f4(0x21b)](_0x504b83=>!(_0x20f88e['serverNoContextTakeover']===!0x1&&_0x504b83[_0x4695f4(0x194)]||_0x504b83[_0x4695f4(0xd0)]&&(_0x20f88e[_0x4695f4(0x193)]===!0x1||typeof _0x20f88e[_0x4695f4(0x193)]==_0x4695f4(0x10b)&&_0x20f88e['serverMaxWindowBits']>_0x504b83[_0x4695f4(0xd0)])||typeof _0x20f88e['clientMaxWindowBits']==_0x4695f4(0x10b)&&!_0x504b83[_0x4695f4(0x118)]));if(!_0x6a04e1)throw new Error(_0x4695f4(0x246));return _0x20f88e['serverNoContextTakeover']&&(_0x6a04e1['server_no_context_takeover']=!0x0),_0x20f88e[_0x4695f4(0x22f)]&&(_0x6a04e1[_0x4695f4(0x198)]=!0x0),typeof _0x20f88e[_0x4695f4(0x193)]==_0x4695f4(0x10b)&&(_0x6a04e1[_0x4695f4(0xd0)]=_0x20f88e[_0x4695f4(0x193)]),typeof _0x20f88e[_0x4695f4(0x21e)]==_0x4695f4(0x10b)?_0x6a04e1[_0x4695f4(0x118)]=_0x20f88e[_0x4695f4(0x21e)]:(_0x6a04e1['client_max_window_bits']===!0x0||_0x20f88e[_0x4695f4(0x21e)]===!0x1)&&delete _0x6a04e1['client_max_window_bits'],_0x6a04e1;}[_0xdf9e7b(0xf7)](_0x4567fc){const _0x21658d=_0xdf9e7b,_0x3eafb9=_0x4567fc[0x0];if(this[_0x21658d(0x226)][_0x21658d(0x22f)]===!0x1&&_0x3eafb9[_0x21658d(0x198)])throw new Error(_0x21658d(0x1fb));if(!_0x3eafb9['client_max_window_bits'])typeof this[_0x21658d(0x226)][_0x21658d(0x21e)]==_0x21658d(0x10b)&&(_0x3eafb9[_0x21658d(0x118)]=this[_0x21658d(0x226)][_0x21658d(0x21e)]);else{if(this[_0x21658d(0x226)]['clientMaxWindowBits']===!0x1||typeof this[_0x21658d(0x226)][_0x21658d(0x21e)]==_0x21658d(0x10b)&&_0x3eafb9['client_max_window_bits']>this[_0x21658d(0x226)][_0x21658d(0x21e)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3eafb9;}['normalizeParams'](_0x4d4ff5){const _0x357bf0=_0xdf9e7b;return _0x4d4ff5[_0x357bf0(0x238)](_0x1c07b6=>{const _0x325f4d=_0x357bf0;Object[_0x325f4d(0xad)](_0x1c07b6)[_0x325f4d(0x238)](_0x5b0399=>{const _0x3002dd=_0x325f4d;let _0xcd705d=_0x1c07b6[_0x5b0399];if(_0xcd705d[_0x3002dd(0x1b9)]>0x1)throw new Error(_0x3002dd(0xb2)+_0x5b0399+_0x3002dd(0x223));if(_0xcd705d=_0xcd705d[0x0],_0x5b0399===_0x3002dd(0x118)){if(_0xcd705d!==!0x0){const _0x59c32a=+_0xcd705d;if(!Number['isInteger'](_0x59c32a)||_0x59c32a<0x8||_0x59c32a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5b0399+_0x3002dd(0x143)+_0xcd705d);_0xcd705d=_0x59c32a;}else{if(!this[_0x3002dd(0x158)])throw new TypeError(_0x3002dd(0xc4)+_0x5b0399+_0x3002dd(0x143)+_0xcd705d);}}else{if(_0x5b0399===_0x3002dd(0xd0)){const _0x4289e3=+_0xcd705d;if(!Number['isInteger'](_0x4289e3)||_0x4289e3<0x8||_0x4289e3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5b0399+_0x3002dd(0x143)+_0xcd705d);_0xcd705d=_0x4289e3;}else{if(_0x5b0399==='client_no_context_takeover'||_0x5b0399==='server_no_context_takeover'){if(_0xcd705d!==!0x0)throw new TypeError(_0x3002dd(0xc4)+_0x5b0399+'\x22:\x20'+_0xcd705d);}else throw new Error(_0x3002dd(0xe0)+_0x5b0399+'\x22');}}_0x1c07b6[_0x5b0399]=_0xcd705d;});}),_0x4d4ff5;}['decompress'](_0x19f692,_0x20ff65,_0xb7bc1e){const _0x330b41=_0xdf9e7b;_0x29fd1f[_0x330b41(0xfa)](_0xdf69d1=>{this['_decompress'](_0x19f692,_0x20ff65,(_0x1c9758,_0x4a92a7)=>{_0xdf69d1(),_0xb7bc1e(_0x1c9758,_0x4a92a7);});});}['compress'](_0x4b82d4,_0x38d441,_0x207c45){const _0x18d765=_0xdf9e7b;_0x29fd1f[_0x18d765(0xfa)](_0x52b8b2=>{const _0x4ed612=_0x18d765;this[_0x4ed612(0x1f5)](_0x4b82d4,_0x38d441,(_0x510ef8,_0xaaf559)=>{_0x52b8b2(),_0x207c45(_0x510ef8,_0xaaf559);});});}['_decompress'](_0x367ef1,_0x1c3fc5,_0xa90060){const _0x5ec683=_0xdf9e7b,_0x4ae86d=this['_isServer']?_0x5ec683(0xd1):_0x5ec683(0x1f1);if(!this['_inflate']){const _0x3b3a87=_0x4ae86d+_0x5ec683(0x206),_0x36ee55=typeof this['params'][_0x3b3a87]!=_0x5ec683(0x10b)?_0x1a1821[_0x5ec683(0x212)]:this[_0x5ec683(0x100)][_0x3b3a87];this[_0x5ec683(0xd5)]=_0x1a1821[_0x5ec683(0x1ec)]({...this[_0x5ec683(0x226)][_0x5ec683(0x11e)],'windowBits':_0x36ee55}),this[_0x5ec683(0xd5)][_0xf3006e]=this,this[_0x5ec683(0xd5)][_0x2ecd40]=0x0,this['_inflate'][_0x165b9f]=[],this[_0x5ec683(0xd5)]['on'](_0x5ec683(0x24c),_0x390044),this[_0x5ec683(0xd5)]['on'](_0x5ec683(0x12e),_0x3a625b);}this['_inflate'][_0xc56de7]=_0xa90060,this[_0x5ec683(0xd5)]['write'](_0x367ef1),_0x1c3fc5&&this[_0x5ec683(0xd5)][_0x5ec683(0x19a)](_0x5e3ad3),this[_0x5ec683(0xd5)][_0x5ec683(0x1b4)](()=>{const _0x47ff54=_0x5ec683,_0x411a9b=this[_0x47ff54(0xd5)][_0x3c4549];if(_0x411a9b){this[_0x47ff54(0xd5)][_0x47ff54(0x220)](),this[_0x47ff54(0xd5)]=null,_0xa90060(_0x411a9b);return;}const _0x400ac8=_0x28a0b1[_0x47ff54(0xa1)](this[_0x47ff54(0xd5)][_0x165b9f],this[_0x47ff54(0xd5)][_0x2ecd40]);this['_inflate'][_0x47ff54(0x1e0)]['endEmitted']?(this[_0x47ff54(0xd5)][_0x47ff54(0x220)](),this[_0x47ff54(0xd5)]=null):(this[_0x47ff54(0xd5)][_0x2ecd40]=0x0,this[_0x47ff54(0xd5)][_0x165b9f]=[],_0x1c3fc5&&this['params'][_0x4ae86d+'_no_context_takeover']&&this[_0x47ff54(0xd5)][_0x47ff54(0x1e6)]()),_0xa90060(null,_0x400ac8);});}[_0xdf9e7b(0x1f5)](_0x2e3fba,_0x3a8336,_0x562a31){const _0x5da75d=_0xdf9e7b,_0x4b3ff2=this[_0x5da75d(0x158)]?_0x5da75d(0x1f1):_0x5da75d(0xd1);if(!this['_deflate']){const _0x38b1fa=_0x4b3ff2+_0x5da75d(0x206),_0x58d853=typeof this['params'][_0x38b1fa]!=_0x5da75d(0x10b)?_0x1a1821[_0x5da75d(0x212)]:this[_0x5da75d(0x100)][_0x38b1fa];this['_deflate']=_0x1a1821[_0x5da75d(0x127)]({...this['_options'][_0x5da75d(0x1d9)],'windowBits':_0x58d853}),this[_0x5da75d(0x203)][_0x2ecd40]=0x0,this[_0x5da75d(0x203)][_0x165b9f]=[],this['_deflate']['on'](_0x5da75d(0x12e),_0x47da3e);}this[_0x5da75d(0x203)][_0xc56de7]=_0x562a31,this['_deflate'][_0x5da75d(0x19a)](_0x2e3fba),this[_0x5da75d(0x203)]['flush'](_0x1a1821['Z_SYNC_FLUSH'],()=>{const _0x438678=_0x5da75d;if(!this[_0x438678(0x203)])return;let _0x3e3c2a=_0x28a0b1['concat'](this['_deflate'][_0x165b9f],this[_0x438678(0x203)][_0x2ecd40]);_0x3a8336&&(_0x3e3c2a=new _0x403643(_0x3e3c2a[_0x438678(0xef)],_0x3e3c2a[_0x438678(0x205)],_0x3e3c2a['length']-0x4)),this[_0x438678(0x203)][_0xc56de7]=null,this[_0x438678(0x203)][_0x2ecd40]=0x0,this[_0x438678(0x203)][_0x165b9f]=[],_0x3a8336&&this[_0x438678(0x100)][_0x4b3ff2+_0x438678(0x14d)]&&this[_0x438678(0x203)]['reset'](),_0x562a31(null,_0x3e3c2a);});}}ve=_0x2212d1;function _0x47da3e(_0x15e8ec){const _0x495482=_0xdf9e7b;this[_0x165b9f][_0x495482(0xaa)](_0x15e8ec),this[_0x2ecd40]+=_0x15e8ec['length'];}function _0x3a625b(_0xfbae40){const _0x595612=_0xdf9e7b;if(this[_0x2ecd40]+=_0xfbae40['length'],this[_0xf3006e]['_maxPayload']<0x1||this[_0x2ecd40]<=this[_0xf3006e]['_maxPayload']){this[_0x165b9f][_0x595612(0xaa)](_0xfbae40);return;}this[_0x3c4549]=new RangeError(_0x595612(0x1d4)),this[_0x3c4549][_0x595612(0x14e)]=_0x595612(0x182),this[_0x3c4549][_0x499d35]=0x3f1,this[_0x595612(0x218)](_0x595612(0x12e),_0x3a625b),this[_0x595612(0x1e6)]();}function _0x390044(_0x1608c3){if(this[_0xf3006e]['_inflate']=null,this[_0x3c4549]){this[_0xc56de7](this[_0x3c4549]);return;}_0x1608c3[_0x499d35]=0x3ef,this[_0xc56de7](_0x1608c3);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x29b3bc(0x229)})),Bt=at(Rt);var Ye;function ae(){const _0x4811ad=_0x29b3bc;if(Ye)return ie[_0x4811ad(0x20b)];Ye=0x1;const {isUtf8:_0x2f9bcb}=wt,{hasBlob:_0x506b85}=H(),_0x2a5dd1=[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 _0x5c8bab(_0x5efcc0){return _0x5efcc0>=0x3e8&&_0x5efcc0<=0x3f6&&_0x5efcc0!==0x3ec&&_0x5efcc0!==0x3ed&&_0x5efcc0!==0x3ee||_0x5efcc0>=0xbb8&&_0x5efcc0<=0x1387;}function _0x193cc9(_0x17506c){const _0x54e69d=_0x17506c['length'];let _0x26775b=0x0;for(;_0x26775b<_0x54e69d;)if((_0x17506c[_0x26775b]&0x80)===0x0)_0x26775b++;else{if((_0x17506c[_0x26775b]&0xe0)===0xc0){if(_0x26775b+0x1===_0x54e69d||(_0x17506c[_0x26775b+0x1]&0xc0)!==0x80||(_0x17506c[_0x26775b]&0xfe)===0xc0)return!0x1;_0x26775b+=0x2;}else{if((_0x17506c[_0x26775b]&0xf0)===0xe0){if(_0x26775b+0x2>=_0x54e69d||(_0x17506c[_0x26775b+0x1]&0xc0)!==0x80||(_0x17506c[_0x26775b+0x2]&0xc0)!==0x80||_0x17506c[_0x26775b]===0xe0&&(_0x17506c[_0x26775b+0x1]&0xe0)===0x80||_0x17506c[_0x26775b]===0xed&&(_0x17506c[_0x26775b+0x1]&0xe0)===0xa0)return!0x1;_0x26775b+=0x3;}else{if((_0x17506c[_0x26775b]&0xf8)===0xf0){if(_0x26775b+0x3>=_0x54e69d||(_0x17506c[_0x26775b+0x1]&0xc0)!==0x80||(_0x17506c[_0x26775b+0x2]&0xc0)!==0x80||(_0x17506c[_0x26775b+0x3]&0xc0)!==0x80||_0x17506c[_0x26775b]===0xf0&&(_0x17506c[_0x26775b+0x1]&0xf0)===0x80||_0x17506c[_0x26775b]===0xf4&&_0x17506c[_0x26775b+0x1]>0x8f||_0x17506c[_0x26775b]>0xf4)return!0x1;_0x26775b+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e34e7(_0x2e64dd){const _0x200f67=_0x4811ad;return _0x506b85&&typeof _0x2e64dd==_0x200f67(0x1d3)&&typeof _0x2e64dd[_0x200f67(0x1bf)]==_0x200f67(0x188)&&typeof _0x2e64dd['type']=='string'&&typeof _0x2e64dd[_0x200f67(0x1cd)]==_0x200f67(0x188)&&(_0x2e64dd[Symbol[_0x200f67(0xa8)]]===_0x200f67(0x115)||_0x2e64dd[Symbol[_0x200f67(0xa8)]]===_0x200f67(0x1ba));}if(ie[_0x4811ad(0x20b)]={'isBlob':_0x3e34e7,'isValidStatusCode':_0x5c8bab,'isValidUTF8':_0x193cc9,'tokenChars':_0x2a5dd1},_0x2f9bcb)ie[_0x4811ad(0x20b)][_0x4811ad(0xa7)]=function(_0x3428b7){const _0x360df9=_0x4811ad;return _0x3428b7[_0x360df9(0x1b9)]<0x18?_0x193cc9(_0x3428b7):_0x2f9bcb(_0x3428b7);};else{if(!process[_0x4811ad(0x135)][_0x4811ad(0x139)])try{const _0x45b631=Bt;ie[_0x4811ad(0x20b)][_0x4811ad(0xa7)]=function(_0xec84b6){const _0x4cdb4a=_0x4811ad;return _0xec84b6[_0x4cdb4a(0x1b9)]<0x20?_0x193cc9(_0xec84b6):_0x45b631(_0xec84b6);};}catch{}}return ie[_0x4811ad(0x20b)];}function _0x3e38(){const _0x487c10=['Unexpected\x20server\x20response:\x20','_closeFrameSent','finished','onclose','_masked','maxPayload','indexOf','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ws:','Invalid\x20value\x20for\x20parameter\x20\x22','\x22\x20subprotocol\x20is\x20duplicated','catch','pathname','allocUnsafe','_payloadLength','defaultPort','readyState','byteLength','allowSynchronousEvents','Injector','createConnection','server_max_window_bits','client','invalid\x20opcode\x200','warn','statusCode','_inflate','cookie','digest','Sec-WebSocket-Extensions:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','43584PRTNaZ','Invalid\x20Upgrade\x20header','default','kType','dataMessage','toLowerCase','Unknown\x20parameter\x20\x22','hasOwnProperty','reason','MASK\x20must\x20be\x20set','kTarget','_autoPong','registerHTTPInterceptor','host','species','accept','_injector','readable','toString','concurrency','_originalSecure','buffer','writeUIntBE','UniverCollaborationClientNodePlugin','RSV1\x20must\x20be\x20clear','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','errorEmitted','compress','_write','acceptAsClient','dequeue','extensions','add','concurrencyLimit','Connection:\x20Upgrade','buffers','pause','_skipUTF8Validation','params','Unexpected\x20character\x20at\x20index\x20','STATUS_CODES','open','Sec-WebSocket-Extensions','_closeCode','_closeTimer','value','onStarting','authorization','HTTP/1.1\x20101\x20Switching\x20Protocols','number','onopen','GET','sec-websocket-accept','skipUTF8Validation','port','__esModule','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Observable','shift','Blob','_totalPayloadLength','target','client_max_window_bits','defineProperty','onerror','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','Sec-WebSocket-Protocol:\x20','isIP','zlibInflateOptions','offer','verifyClient','Invalid\x20URL:\x20','split','DisposableCollection','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_bufferedAmount','endEmitted','createDeflateRaw','Basic\x20','charCodeAt','headers','options','opcode','getBlobData','data','method','_maskBuffer','_maxPayload','listeners','message','NodeCollaborationSocketService','env','_read','toDisposable','pluginName','WS_NO_UTF_8_VALIDATE','WS_ERR_INVALID_CLOSE_CODE','maskBuffer','readOnly','removeEventListener','unshift','dispose','end','_queue','getData','\x22:\x20','map','finish','_doCreateSocket','_loop','Upgrade:\x20websocket','authorized','cleanup','isServer','_closeMessage','_no_context_takeover','code','WS_NO_BUFFER_UTIL','bufferedAmount','location','writeUInt16BE','_closeFrameReceived','create','WS_ERR_UNEXPECTED_RSV_1','perMessageDeflate','update','_isServer','sha1','CLOSED','_extensions','from','WS_ERR_INVALID_UTF8','values','unmask','_server','_errorEmitted','prototype','size','WebSocket','listening','writeHead','isArray','base64','handleUpgrade','_redirects','WS_ERR_UNEXPECTED_RSV_2_3','_compressed','HTTPService','noServer','Invalid\x20Sec-WebSocket-Protocol\x20header','hostname','kData','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_removeListeners','emit','bind','createError','completeUpgrade','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_bufferedBytes','Sec-WebSocket-Origin','HTTP/1.1\x20','binary','Server\x20sent\x20no\x20subprotocol','finishRequest','call','isView','type','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','status-code','Invalid\x20Sec-WebSocket-Extensions\x20header','serverNoContextTakeover','FIN\x20must\x20be\x20set','maxRedirects','function','COLLABORATION_CLIENT_NODE_CONFIG_KEY','format','kMessage','socketPath','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','terminate','followRedirects','getPayloadLength64','clients','sec-websocket-protocol','serverMaxWindowBits','server_no_context_takeover','haveLength','nextTick','redirect','client_no_context_takeover','pow','write','setConfig','password','432678vHonLJ','getOwnPropertyDescriptor','destroy','_shouldEmitClose','_paused','protocolVersion','objectMode','removeAllListeners','servername','startLoop','kListener','_messageLength','permessage-deflate','kCode','_sender','threshold','fragments','connect','request','_fragments','get','OPEN','string','flush','response','timeout','then','1KKAyUZ','length','File','uncork','_originalIpc','text/html','getConfig','arrayBuffer','auth','setNoDelay','680314VzSSjb','nodebuffer','handleProtocols','_final','handshakeTimeout','abort','_mask','UniverCollaborationClientPlugin','websocket','socket','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','stream','pending','_generateMask','_receiver','_configService','fin','object','Max\x20payload\x20size\x20exceeded','resume','kError','send','share','zlibDeflateOptions','63eRLBuD','consume','invalid\x20opcode\x20','apply','_errored','username','_readableState','read','_readyState','Invalid\x20WebSocket\x20frame:\x20','url','pipe','reset','getPayloadLength16','enqueue','binaryType','kWasClean','origin','createInflateRaw','text/plain','slice','_binaryType','ILogService','server','623982vwSMbV','listenerCount','_buffers','_compress','acceptAsServer','startsWith','parse','protocol','set','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-extensions','http:','blob','_socket','_opcode','onmessage','isPaused','_deflate','invalid\x20UTF-8\x20sequence','byteOffset','_max_window_bits','setSocket','_fin','The\x20URL\x20contains\x20a\x20fragment\x20identifier','generateMask','exports','conclude','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','kRun','readUInt32BE','extensionName','hash','Z_DEFAULT_WINDOWBITS','WS_ERR_UNEXPECTED_MASK','has','isBuffer','Origin','callback','removeListener','_firstFragment','_originalHostOrSocketPath','find','Disposable','682850AJtkDz','clientMaxWindowBits','writable','close','_req','replace','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','upgrade','_options','The\x20server\x20is\x20not\x20running','frame','Module','controlMessage','_state','_writableState','alloc','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','clientNoContextTakeover','destroyed','includes','mask','setHeader','autoPong','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','wasClean','Unsupported\x20protocol\x20version:\x20','forEach','Inject','_url','emitClose','Maximum\x20redirects\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','380gdNAIt','backlog','IConfigService','_registerDependencies','ping','freeze','The\x20\x22','path','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wss:','https:','_allowSynchronousEvents','shouldHandle','1003639GsnwoA','error','address','getInfo','CONNECTING','_fragmented','WS_ERR_INVALID_OPCODE','Unexpected\x20end\x20of\x20input','CLOSING','decompress','next','readUInt16BE','collaboration-client-node.config','addEventListener','captureStackTrace','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_httpService','_threshold','concat','sendFrame','Plugin','dispatch','ws+unix:','handleEvent','isValidUTF8','toStringTag','8355pjPwJb','push','_protocol','invalid\x20status\x20code\x20','keys','jobs','createServer','Invalid\x20Sec-WebSocket-Accept\x20header','\x20(supported\x20versions:\x20','Parameter\x20\x22','join','kReason','Sec-WebSocket-Accept:\x20','customHeaders','total-length','once','pong'];_0x3e38=function(){return _0x487c10;};return _0x3e38();}var Se,Ke;function lt(){const _0x566c3b=_0x29b3bc;if(Ke)return Se;Ke=0x1;const {Writable:_0x12859f}=oe,_0x390346=he(),{BINARY_TYPES:_0x5b179a,EMPTY_BUFFER:_0xcb2e28,kStatusCode:_0x279b40,kWebSocket:_0x5e6f3c}=H(),{concat:_0xee5d78,toArrayBuffer:_0x1f4f98,unmask:_0x1c0fd7}=ce(),{isValidStatusCode:_0x49556d,isValidUTF8:_0x2202b2}=ae(),_0x48d134=Buffer[Symbol['species']],_0x2b01c5=0x0,_0x22f8d7=0x1,_0x2fe367=0x2,_0x46dc44=0x3,_0x829d24=0x4,_0x57fd6b=0x5,_0x389e0d=0x6;class _0x581011 extends _0x12859f{constructor(_0x51d089={}){const _0x4f3aee=_0x4697;super(),this[_0x4f3aee(0x249)]=_0x51d089[_0x4f3aee(0xcd)]!==void 0x0?_0x51d089['allowSynchronousEvents']:!0x0,this[_0x4f3aee(0x1ef)]=_0x51d089['binaryType']||_0x5b179a[0x0],this['_extensions']=_0x51d089[_0x4f3aee(0xf9)]||{},this[_0x4f3aee(0x158)]=!!_0x51d089[_0x4f3aee(0x14b)],this[_0x4f3aee(0x131)]=_0x51d089['maxPayload']|0x0,this[_0x4f3aee(0xff)]=!!_0x51d089[_0x4f3aee(0x10f)],this[_0x5e6f3c]=void 0x0,this[_0x4f3aee(0x179)]=0x0,this[_0x4f3aee(0x1f4)]=[],this[_0x4f3aee(0x16c)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x4f3aee(0x250)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x4f3aee(0x200)]=0x0,this[_0x4f3aee(0x116)]=0x0,this[_0x4f3aee(0x1a8)]=0x0,this[_0x4f3aee(0x1b0)]=[],this[_0x4f3aee(0x1de)]=!0x1,this['_loop']=!0x1,this[_0x4f3aee(0x22b)]=_0x2b01c5;}[_0x566c3b(0xf6)](_0x21a417,_0x2654d4,_0x5a3f17){const _0x16a26b=_0x566c3b;if(this['_opcode']===0x8&&this['_state']==_0x2b01c5)return _0x5a3f17();this[_0x16a26b(0x179)]+=_0x21a417['length'],this[_0x16a26b(0x1f4)][_0x16a26b(0xaa)](_0x21a417),this[_0x16a26b(0x1a6)](_0x5a3f17);}[_0x566c3b(0x1db)](_0x4281b1){const _0x1fe4c9=_0x566c3b;if(this[_0x1fe4c9(0x179)]-=_0x4281b1,_0x4281b1===this[_0x1fe4c9(0x1f4)][0x0][_0x1fe4c9(0x1b9)])return this['_buffers']['shift']();if(_0x4281b1<this[_0x1fe4c9(0x1f4)][0x0][_0x1fe4c9(0x1b9)]){const _0x90e327=this[_0x1fe4c9(0x1f4)][0x0];return this[_0x1fe4c9(0x1f4)][0x0]=new _0x48d134(_0x90e327[_0x1fe4c9(0xef)],_0x90e327['byteOffset']+_0x4281b1,_0x90e327[_0x1fe4c9(0x1b9)]-_0x4281b1),new _0x48d134(_0x90e327[_0x1fe4c9(0xef)],_0x90e327[_0x1fe4c9(0x205)],_0x4281b1);}const _0x3147f8=Buffer[_0x1fe4c9(0xc8)](_0x4281b1);do{const _0x1cf860=this[_0x1fe4c9(0x1f4)][0x0],_0x411787=_0x3147f8[_0x1fe4c9(0x1b9)]-_0x4281b1;_0x4281b1>=_0x1cf860[_0x1fe4c9(0x1b9)]?_0x3147f8[_0x1fe4c9(0x1fa)](this['_buffers'][_0x1fe4c9(0x114)](),_0x411787):(_0x3147f8[_0x1fe4c9(0x1fa)](new Uint8Array(_0x1cf860['buffer'],_0x1cf860[_0x1fe4c9(0x205)],_0x4281b1),_0x411787),this[_0x1fe4c9(0x1f4)][0x0]=new _0x48d134(_0x1cf860[_0x1fe4c9(0xef)],_0x1cf860[_0x1fe4c9(0x205)]+_0x4281b1,_0x1cf860[_0x1fe4c9(0x1b9)]-_0x4281b1)),_0x4281b1-=_0x1cf860[_0x1fe4c9(0x1b9)];}while(_0x4281b1>0x0);return _0x3147f8;}[_0x566c3b(0x1a6)](_0x1e2d11){const _0x4b7988=_0x566c3b;this[_0x4b7988(0x147)]=!0x0;do switch(this['_state']){case _0x2b01c5:this[_0x4b7988(0x24e)](_0x1e2d11);break;case _0x22f8d7:this['getPayloadLength16'](_0x1e2d11);break;case _0x2fe367:this[_0x4b7988(0x190)](_0x1e2d11);break;case _0x46dc44:this['getMask']();break;case _0x829d24:this['getData'](_0x1e2d11);break;case _0x57fd6b:case _0x389e0d:this[_0x4b7988(0x147)]=!0x1;return;}while(this[_0x4b7988(0x147)]);this[_0x4b7988(0x1de)]||_0x1e2d11();}[_0x566c3b(0x24e)](_0x2291d8){const _0x430b9b=_0x566c3b;if(this[_0x430b9b(0x179)]<0x2){this[_0x430b9b(0x147)]=!0x1;return;}const _0x50328b=this['consume'](0x2);if((_0x50328b[0x0]&0x30)!==0x0){const _0x417f13=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x430b9b(0x16b));_0x2291d8(_0x417f13);return;}const _0x4d13a9=(_0x50328b[0x0]&0x40)===0x40;if(_0x4d13a9&&!this['_extensions'][_0x390346['extensionName']]){const _0x2fb044=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0xf2),!0x0,0x3ea,_0x430b9b(0x155));_0x2291d8(_0x2fb044);return;}if(this[_0x430b9b(0x208)]=(_0x50328b[0x0]&0x80)===0x80,this[_0x430b9b(0x200)]=_0x50328b[0x0]&0xf,this[_0x430b9b(0xc9)]=_0x50328b[0x1]&0x7f,this[_0x430b9b(0x200)]===0x0){if(_0x4d13a9){const _0x4fa46d=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0xf2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2291d8(_0x4fa46d);return;}if(!this['_fragmented']){const _0x514bd6=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0xd2),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2291d8(_0x514bd6);return;}this[_0x430b9b(0x200)]=this[_0x430b9b(0x250)];}else{if(this[_0x430b9b(0x200)]===0x1||this[_0x430b9b(0x200)]===0x2){if(this[_0x430b9b(0x250)]){const _0x577482=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0x1dc)+this[_0x430b9b(0x200)],!0x0,0x3ea,_0x430b9b(0x251));_0x2291d8(_0x577482);return;}this[_0x430b9b(0x16c)]=_0x4d13a9;}else{if(this[_0x430b9b(0x200)]>0x7&&this[_0x430b9b(0x200)]<0xb){if(!this['_fin']){const _0x3e9315=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0x186),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2291d8(_0x3e9315);return;}if(_0x4d13a9){const _0x577809=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0xf2),!0x0,0x3ea,_0x430b9b(0x155));_0x2291d8(_0x577809);return;}if(this[_0x430b9b(0xc9)]>0x7d||this[_0x430b9b(0x200)]===0x8&&this[_0x430b9b(0xc9)]===0x1){const _0x44fede=this[_0x430b9b(0x176)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x430b9b(0x9e));_0x2291d8(_0x44fede);return;}}else{const _0x2a869f=this['createError'](RangeError,_0x430b9b(0x1dc)+this[_0x430b9b(0x200)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2291d8(_0x2a869f);return;}}}if(!this[_0x430b9b(0x208)]&&!this['_fragmented']&&(this[_0x430b9b(0x250)]=this['_opcode']),this[_0x430b9b(0xbe)]=(_0x50328b[0x1]&0x80)===0x80,this[_0x430b9b(0x158)]){if(!this[_0x430b9b(0xbe)]){const _0x4c85a2=this[_0x430b9b(0x176)](RangeError,_0x430b9b(0xe3),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2291d8(_0x4c85a2);return;}}else{if(this[_0x430b9b(0xbe)]){const _0x35ac0d=this[_0x430b9b(0x176)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x430b9b(0x213));_0x2291d8(_0x35ac0d);return;}}this[_0x430b9b(0xc9)]===0x7e?this[_0x430b9b(0x22b)]=_0x22f8d7:this[_0x430b9b(0xc9)]===0x7f?this['_state']=_0x2fe367:this[_0x430b9b(0x195)](_0x2291d8);}[_0x566c3b(0x1e7)](_0x5083bc){const _0x12f68b=_0x566c3b;if(this[_0x12f68b(0x179)]<0x2){this[_0x12f68b(0x147)]=!0x1;return;}this[_0x12f68b(0xc9)]=this[_0x12f68b(0x1db)](0x2)['readUInt16BE'](0x0),this[_0x12f68b(0x195)](_0x5083bc);}[_0x566c3b(0x190)](_0x2fd29a){const _0x6fa75=_0x566c3b;if(this[_0x6fa75(0x179)]<0x8){this[_0x6fa75(0x147)]=!0x1;return;}const _0x26b391=this['consume'](0x8),_0x17f860=_0x26b391[_0x6fa75(0x20f)](0x0);if(_0x17f860>Math['pow'](0x2,0x15)-0x1){const _0x17e3e0=this[_0x6fa75(0x176)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x6fa75(0x20d));_0x2fd29a(_0x17e3e0);return;}this[_0x6fa75(0xc9)]=_0x17f860*Math[_0x6fa75(0x199)](0x2,0x20)+_0x26b391['readUInt32BE'](0x4),this[_0x6fa75(0x195)](_0x2fd29a);}[_0x566c3b(0x195)](_0x17867b){const _0x163a9b=_0x566c3b;if(this[_0x163a9b(0xc9)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x163a9b(0xc9)],this[_0x163a9b(0x116)]>this[_0x163a9b(0x131)]&&this['_maxPayload']>0x0)){const _0x238815=this[_0x163a9b(0x176)](RangeError,_0x163a9b(0x1d4),!0x1,0x3f1,_0x163a9b(0x182));_0x17867b(_0x238815);return;}this[_0x163a9b(0xbe)]?this['_state']=_0x46dc44:this['_state']=_0x829d24;}['getMask'](){const _0xb3b6b9=_0x566c3b;if(this[_0xb3b6b9(0x179)]<0x4){this[_0xb3b6b9(0x147)]=!0x1;return;}this['_mask']=this[_0xb3b6b9(0x1db)](0x4),this[_0xb3b6b9(0x22b)]=_0x829d24;}[_0x566c3b(0x142)](_0x3d5d31){const _0x2afc70=_0x566c3b;let _0x2c8c05=_0xcb2e28;if(this['_payloadLength']){if(this[_0x2afc70(0x179)]<this[_0x2afc70(0xc9)]){this[_0x2afc70(0x147)]=!0x1;return;}_0x2c8c05=this[_0x2afc70(0x1db)](this['_payloadLength']),this['_masked']&&(this[_0x2afc70(0x1c8)][0x0]|this['_mask'][0x1]|this[_0x2afc70(0x1c8)][0x2]|this['_mask'][0x3])!==0x0&&_0x1c0fd7(_0x2c8c05,this['_mask']);}if(this[_0x2afc70(0x200)]>0x7){this[_0x2afc70(0x22a)](_0x2c8c05,_0x3d5d31);return;}if(this[_0x2afc70(0x16c)]){this[_0x2afc70(0x22b)]=_0x57fd6b,this[_0x2afc70(0x254)](_0x2c8c05,_0x3d5d31);return;}_0x2c8c05[_0x2afc70(0x1b9)]&&(this[_0x2afc70(0x1a8)]=this[_0x2afc70(0x116)],this[_0x2afc70(0x1b0)][_0x2afc70(0xaa)](_0x2c8c05)),this[_0x2afc70(0xde)](_0x3d5d31);}[_0x566c3b(0x254)](_0x11bcbb,_0x452e55){const _0x8d77d=_0x566c3b;this[_0x8d77d(0x15b)][_0x390346['extensionName']][_0x8d77d(0x254)](_0x11bcbb,this[_0x8d77d(0x208)],(_0x1c7b79,_0x45ab22)=>{const _0x22f060=_0x8d77d;if(_0x1c7b79)return _0x452e55(_0x1c7b79);if(_0x45ab22[_0x22f060(0x1b9)]){if(this[_0x22f060(0x1a8)]+=_0x45ab22[_0x22f060(0x1b9)],this[_0x22f060(0x1a8)]>this[_0x22f060(0x131)]&&this[_0x22f060(0x131)]>0x0){const _0x2db0d5=this[_0x22f060(0x176)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x22f060(0x182));_0x452e55(_0x2db0d5);return;}this[_0x22f060(0x1b0)][_0x22f060(0xaa)](_0x45ab22);}this['dataMessage'](_0x452e55),this[_0x22f060(0x22b)]===_0x2b01c5&&this[_0x22f060(0x1a6)](_0x452e55);});}[_0x566c3b(0xde)](_0x254e5b){const _0x45dbcd=_0x566c3b;if(!this['_fin']){this[_0x45dbcd(0x22b)]=_0x2b01c5;return;}const _0x18a4ee=this[_0x45dbcd(0x1a8)],_0x466f65=this['_fragments'];if(this[_0x45dbcd(0x116)]=0x0,this[_0x45dbcd(0x1a8)]=0x0,this[_0x45dbcd(0x250)]=0x0,this[_0x45dbcd(0x1b0)]=[],this[_0x45dbcd(0x200)]===0x2){let _0x280f74;this[_0x45dbcd(0x1ef)]===_0x45dbcd(0x1c3)?_0x280f74=_0xee5d78(_0x466f65,_0x18a4ee):this['_binaryType']==='arraybuffer'?_0x280f74=_0x1f4f98(_0xee5d78(_0x466f65,_0x18a4ee)):this[_0x45dbcd(0x1ef)]===_0x45dbcd(0x1fe)?_0x280f74=new Blob(_0x466f65):_0x280f74=_0x466f65,this[_0x45dbcd(0x249)]?(this['emit']('message',_0x280f74,!0x0),this[_0x45dbcd(0x22b)]=_0x2b01c5):(this['_state']=_0x389e0d,setImmediate(()=>{const _0x5eb1c2=_0x45dbcd;this[_0x5eb1c2(0x174)]('message',_0x280f74,!0x0),this[_0x5eb1c2(0x22b)]=_0x2b01c5,this[_0x5eb1c2(0x1a6)](_0x254e5b);}));}else{const _0x30c993=_0xee5d78(_0x466f65,_0x18a4ee);if(!this[_0x45dbcd(0xff)]&&!_0x2202b2(_0x30c993)){const _0xf70d2=this[_0x45dbcd(0x176)](Error,_0x45dbcd(0x204),!0x0,0x3ef,_0x45dbcd(0x15d));_0x254e5b(_0xf70d2);return;}this[_0x45dbcd(0x22b)]===_0x57fd6b||this['_allowSynchronousEvents']?(this[_0x45dbcd(0x174)](_0x45dbcd(0x133),_0x30c993,!0x1),this[_0x45dbcd(0x22b)]=_0x2b01c5):(this[_0x45dbcd(0x22b)]=_0x389e0d,setImmediate(()=>{const _0x3ad417=_0x45dbcd;this[_0x3ad417(0x174)](_0x3ad417(0x133),_0x30c993,!0x1),this[_0x3ad417(0x22b)]=_0x2b01c5,this['startLoop'](_0x254e5b);}));}}['controlMessage'](_0x2d49a8,_0x20db82){const _0x1f607d=_0x566c3b;if(this[_0x1f607d(0x200)]===0x8){if(_0x2d49a8[_0x1f607d(0x1b9)]===0x0)this['_loop']=!0x1,this[_0x1f607d(0x174)]('conclude',0x3ed,_0xcb2e28),this[_0x1f607d(0x140)]();else{const _0x562c56=_0x2d49a8[_0x1f607d(0x256)](0x0);if(!_0x49556d(_0x562c56)){const _0x3cf747=this['createError'](RangeError,_0x1f607d(0xac)+_0x562c56,!0x0,0x3ea,_0x1f607d(0x13a));_0x20db82(_0x3cf747);return;}const _0x3f287d=new _0x48d134(_0x2d49a8[_0x1f607d(0xef)],_0x2d49a8['byteOffset']+0x2,_0x2d49a8['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x2202b2(_0x3f287d)){const _0x29e12a=this[_0x1f607d(0x176)](Error,_0x1f607d(0x204),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x20db82(_0x29e12a);return;}this[_0x1f607d(0x147)]=!0x1,this[_0x1f607d(0x174)](_0x1f607d(0x20c),_0x562c56,_0x3f287d),this[_0x1f607d(0x140)]();}this[_0x1f607d(0x22b)]=_0x2b01c5;return;}this['_allowSynchronousEvents']?(this[_0x1f607d(0x174)](this[_0x1f607d(0x200)]===0x9?_0x1f607d(0x242):_0x1f607d(0xb9),_0x2d49a8),this['_state']=_0x2b01c5):(this[_0x1f607d(0x22b)]=_0x389e0d,setImmediate(()=>{const _0x209de9=_0x1f607d;this[_0x209de9(0x174)](this['_opcode']===0x9?_0x209de9(0x242):_0x209de9(0xb9),_0x2d49a8),this[_0x209de9(0x22b)]=_0x2b01c5,this[_0x209de9(0x1a6)](_0x20db82);}));}[_0x566c3b(0x176)](_0x563f5e,_0x58ee91,_0x53b2d9,_0x505ea2,_0x231d3f){const _0x36a164=_0x566c3b;this['_loop']=!0x1,this[_0x36a164(0x1de)]=!0x0;const _0x416497=new _0x563f5e(_0x53b2d9?_0x36a164(0x1e3)+_0x58ee91:_0x58ee91);return Error[_0x36a164(0x259)](_0x416497,this[_0x36a164(0x176)]),_0x416497[_0x36a164(0x14e)]=_0x231d3f,_0x416497[_0x279b40]=_0x505ea2,_0x416497;}}return Se=_0x581011,Se;}var Ee,Xe;function ft(){const _0x331e8b=_0x29b3bc;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x436960}=oe,{randomFillSync:_0x13455c}=Le,_0x370755=he(),{EMPTY_BUFFER:_0x2bea3e,kWebSocket:_0x3a5afb,NOOP:_0x7ceab7}=H(),{isBlob:_0x371767,isValidStatusCode:_0x2f14e4}=ae(),{mask:_0x1e4b31,toBuffer:_0x4b8d42}=ce(),_0x297554=Symbol('kByteLength'),_0xce93e0=Buffer[_0x331e8b(0x22d)](0x4),_0x21cc4f=0x8*0x400;let _0x44e66e,_0x467c61=_0x21cc4f;const _0x4ef13e=0x0,_0x10c182=0x1,_0x1cf945=0x2;class _0x5e5628{constructor(_0x59e1ad,_0x3d0a7d,_0xa9848a){const _0x5940f2=_0x331e8b;this['_extensions']=_0x3d0a7d||{},_0xa9848a&&(this['_generateMask']=_0xa9848a,this['_maskBuffer']=Buffer[_0x5940f2(0x22d)](0x4)),this['_socket']=_0x59e1ad,this[_0x5940f2(0x219)]=!0x0,this[_0x5940f2(0x1f5)]=!0x1,this[_0x5940f2(0x179)]=0x0,this['_queue']=[],this[_0x5940f2(0x22b)]=_0x4ef13e,this['onerror']=_0x7ceab7,this[_0x3a5afb]=void 0x0;}static[_0x331e8b(0x228)](_0x1f30b6,_0x59aa3a){const _0x20dbc1=_0x331e8b;let _0x5b3aca,_0x3ef169=!0x1,_0x352e32=0x2,_0x38f387=!0x1;_0x59aa3a[_0x20dbc1(0x232)]&&(_0x5b3aca=_0x59aa3a[_0x20dbc1(0x13b)]||_0xce93e0,_0x59aa3a[_0x20dbc1(0x20a)]?_0x59aa3a[_0x20dbc1(0x20a)](_0x5b3aca):(_0x467c61===_0x21cc4f&&(_0x44e66e===void 0x0&&(_0x44e66e=Buffer['alloc'](_0x21cc4f)),_0x13455c(_0x44e66e,0x0,_0x21cc4f),_0x467c61=0x0),_0x5b3aca[0x0]=_0x44e66e[_0x467c61++],_0x5b3aca[0x1]=_0x44e66e[_0x467c61++],_0x5b3aca[0x2]=_0x44e66e[_0x467c61++],_0x5b3aca[0x3]=_0x44e66e[_0x467c61++]),_0x38f387=(_0x5b3aca[0x0]|_0x5b3aca[0x1]|_0x5b3aca[0x2]|_0x5b3aca[0x3])===0x0,_0x352e32=0x6);let _0x1d4e7e;typeof _0x1f30b6=='string'?(!_0x59aa3a['mask']||_0x38f387)&&_0x59aa3a[_0x297554]!==void 0x0?_0x1d4e7e=_0x59aa3a[_0x297554]:(_0x1f30b6=Buffer[_0x20dbc1(0x15c)](_0x1f30b6),_0x1d4e7e=_0x1f30b6['length']):(_0x1d4e7e=_0x1f30b6[_0x20dbc1(0x1b9)],_0x3ef169=_0x59aa3a[_0x20dbc1(0x232)]&&_0x59aa3a[_0x20dbc1(0x13c)]&&!_0x38f387);let _0xefd3e0=_0x1d4e7e;_0x1d4e7e>=0x10000?(_0x352e32+=0x8,_0xefd3e0=0x7f):_0x1d4e7e>0x7d&&(_0x352e32+=0x2,_0xefd3e0=0x7e);const _0x314bf9=Buffer[_0x20dbc1(0xc8)](_0x3ef169?_0x1d4e7e+_0x352e32:_0x352e32);return _0x314bf9[0x0]=_0x59aa3a[_0x20dbc1(0x1d2)]?_0x59aa3a[_0x20dbc1(0x12c)]|0x80:_0x59aa3a[_0x20dbc1(0x12c)],_0x59aa3a['rsv1']&&(_0x314bf9[0x0]|=0x40),_0x314bf9[0x1]=_0xefd3e0,_0xefd3e0===0x7e?_0x314bf9[_0x20dbc1(0x152)](_0x1d4e7e,0x2):_0xefd3e0===0x7f&&(_0x314bf9[0x2]=_0x314bf9[0x3]=0x0,_0x314bf9[_0x20dbc1(0xf0)](_0x1d4e7e,0x4,0x6)),_0x59aa3a[_0x20dbc1(0x232)]?(_0x314bf9[0x1]|=0x80,_0x314bf9[_0x352e32-0x4]=_0x5b3aca[0x0],_0x314bf9[_0x352e32-0x3]=_0x5b3aca[0x1],_0x314bf9[_0x352e32-0x2]=_0x5b3aca[0x2],_0x314bf9[_0x352e32-0x1]=_0x5b3aca[0x3],_0x38f387?[_0x314bf9,_0x1f30b6]:_0x3ef169?(_0x1e4b31(_0x1f30b6,_0x5b3aca,_0x314bf9,_0x352e32,_0x1d4e7e),[_0x314bf9]):(_0x1e4b31(_0x1f30b6,_0x5b3aca,_0x1f30b6,0x0,_0x1d4e7e),[_0x314bf9,_0x1f30b6])):[_0x314bf9,_0x1f30b6];}[_0x331e8b(0x220)](_0x58817b,_0x56778a,_0x5d84ad,_0x25b02b){const _0x204092=_0x331e8b;let _0x40efe3;if(_0x58817b===void 0x0)_0x40efe3=_0x2bea3e;else{if(typeof _0x58817b!='number'||!_0x2f14e4(_0x58817b))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x56778a===void 0x0||!_0x56778a['length'])_0x40efe3=Buffer[_0x204092(0xc8)](0x2),_0x40efe3['writeUInt16BE'](_0x58817b,0x0);else{const _0x2cd3a4=Buffer[_0x204092(0xcc)](_0x56778a);if(_0x2cd3a4>0x7b)throw new RangeError(_0x204092(0x1cc));_0x40efe3=Buffer[_0x204092(0xc8)](0x2+_0x2cd3a4),_0x40efe3[_0x204092(0x152)](_0x58817b,0x0),typeof _0x56778a==_0x204092(0x1b3)?_0x40efe3['write'](_0x56778a,0x2):_0x40efe3[_0x204092(0x1fa)](_0x56778a,0x2);}}const _0x104506={[_0x297554]:_0x40efe3[_0x204092(0x1b9)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5d84ad,'maskBuffer':this[_0x204092(0x130)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x204092(0x22b)]!==_0x4ef13e?this['enqueue']([this[_0x204092(0xa4)],_0x40efe3,!0x1,_0x104506,_0x25b02b]):this[_0x204092(0xa2)](_0x5e5628[_0x204092(0x228)](_0x40efe3,_0x104506),_0x25b02b);}[_0x331e8b(0x242)](_0x4fae91,_0x122a90,_0x332805){const _0x8af30=_0x331e8b;let _0x2a8c29,_0xf86639;if(typeof _0x4fae91=='string'?(_0x2a8c29=Buffer[_0x8af30(0xcc)](_0x4fae91),_0xf86639=!0x1):_0x371767(_0x4fae91)?(_0x2a8c29=_0x4fae91['size'],_0xf86639=!0x1):(_0x4fae91=_0x4b8d42(_0x4fae91),_0x2a8c29=_0x4fae91[_0x8af30(0x1b9)],_0xf86639=_0x4b8d42[_0x8af30(0x13c)]),_0x2a8c29>0x7d)throw new RangeError(_0x8af30(0x172));const _0x421440={[_0x297554]:_0x2a8c29,'fin':!0x0,'generateMask':this[_0x8af30(0x1cf)],'mask':_0x122a90,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xf86639,'rsv1':!0x1};_0x371767(_0x4fae91)?this[_0x8af30(0x22b)]!==_0x4ef13e?this['enqueue']([this[_0x8af30(0x12d)],_0x4fae91,!0x1,_0x421440,_0x332805]):this['getBlobData'](_0x4fae91,!0x1,_0x421440,_0x332805):this[_0x8af30(0x22b)]!==_0x4ef13e?this[_0x8af30(0x1e8)]([this[_0x8af30(0xa4)],_0x4fae91,!0x1,_0x421440,_0x332805]):this[_0x8af30(0xa2)](_0x5e5628[_0x8af30(0x228)](_0x4fae91,_0x421440),_0x332805);}['pong'](_0x12a15c,_0xca95fe,_0x32d39a){const _0x4aea60=_0x331e8b;let _0x5a34f9,_0x5f000c;if(typeof _0x12a15c=='string'?(_0x5a34f9=Buffer[_0x4aea60(0xcc)](_0x12a15c),_0x5f000c=!0x1):_0x371767(_0x12a15c)?(_0x5a34f9=_0x12a15c[_0x4aea60(0x163)],_0x5f000c=!0x1):(_0x12a15c=_0x4b8d42(_0x12a15c),_0x5a34f9=_0x12a15c[_0x4aea60(0x1b9)],_0x5f000c=_0x4b8d42[_0x4aea60(0x13c)]),_0x5a34f9>0x7d)throw new RangeError(_0x4aea60(0x172));const _0x414bc7={[_0x297554]:_0x5a34f9,'fin':!0x0,'generateMask':this[_0x4aea60(0x1cf)],'mask':_0xca95fe,'maskBuffer':this[_0x4aea60(0x130)],'opcode':0xa,'readOnly':_0x5f000c,'rsv1':!0x1};_0x371767(_0x12a15c)?this[_0x4aea60(0x22b)]!==_0x4ef13e?this[_0x4aea60(0x1e8)]([this[_0x4aea60(0x12d)],_0x12a15c,!0x1,_0x414bc7,_0x32d39a]):this[_0x4aea60(0x12d)](_0x12a15c,!0x1,_0x414bc7,_0x32d39a):this[_0x4aea60(0x22b)]!==_0x4ef13e?this[_0x4aea60(0x1e8)]([this[_0x4aea60(0xa4)],_0x12a15c,!0x1,_0x414bc7,_0x32d39a]):this[_0x4aea60(0xa2)](_0x5e5628['frame'](_0x12a15c,_0x414bc7),_0x32d39a);}['send'](_0x15a416,_0x2c0713,_0x45f313){const _0x44fc0d=_0x331e8b,_0x3d3c48=this[_0x44fc0d(0x15b)][_0x370755[_0x44fc0d(0x210)]];let _0x16d3fa=_0x2c0713[_0x44fc0d(0x17c)]?0x2:0x1,_0x225b51=_0x2c0713[_0x44fc0d(0xf5)],_0x350544,_0x40c186;typeof _0x15a416==_0x44fc0d(0x1b3)?(_0x350544=Buffer[_0x44fc0d(0xcc)](_0x15a416),_0x40c186=!0x1):_0x371767(_0x15a416)?(_0x350544=_0x15a416[_0x44fc0d(0x163)],_0x40c186=!0x1):(_0x15a416=_0x4b8d42(_0x15a416),_0x350544=_0x15a416[_0x44fc0d(0x1b9)],_0x40c186=_0x4b8d42[_0x44fc0d(0x13c)]),this['_firstFragment']?(this[_0x44fc0d(0x219)]=!0x1,_0x225b51&&_0x3d3c48&&_0x3d3c48[_0x44fc0d(0x100)][_0x3d3c48[_0x44fc0d(0x158)]?_0x44fc0d(0x194):_0x44fc0d(0x198)]&&(_0x225b51=_0x350544>=_0x3d3c48[_0x44fc0d(0xa0)]),this['_compress']=_0x225b51):(_0x225b51=!0x1,_0x16d3fa=0x0),_0x2c0713[_0x44fc0d(0x1d2)]&&(this[_0x44fc0d(0x219)]=!0x0);const _0x5cb4e6={[_0x297554]:_0x350544,'fin':_0x2c0713[_0x44fc0d(0x1d2)],'generateMask':this[_0x44fc0d(0x1cf)],'mask':_0x2c0713[_0x44fc0d(0x232)],'maskBuffer':this[_0x44fc0d(0x130)],'opcode':_0x16d3fa,'readOnly':_0x40c186,'rsv1':_0x225b51};_0x371767(_0x15a416)?this[_0x44fc0d(0x22b)]!==_0x4ef13e?this[_0x44fc0d(0x1e8)]([this[_0x44fc0d(0x12d)],_0x15a416,this['_compress'],_0x5cb4e6,_0x45f313]):this['getBlobData'](_0x15a416,this[_0x44fc0d(0x1f5)],_0x5cb4e6,_0x45f313):this[_0x44fc0d(0x22b)]!==_0x4ef13e?this['enqueue']([this[_0x44fc0d(0xa4)],_0x15a416,this[_0x44fc0d(0x1f5)],_0x5cb4e6,_0x45f313]):this[_0x44fc0d(0xa4)](_0x15a416,this['_compress'],_0x5cb4e6,_0x45f313);}[_0x331e8b(0x12d)](_0x2f24c6,_0x3fd653,_0x1c348c,_0x2bfac2){const _0x88da6e=_0x331e8b;this[_0x88da6e(0x179)]+=_0x1c348c[_0x297554],this[_0x88da6e(0x22b)]=_0x1cf945,_0x2f24c6[_0x88da6e(0x1bf)]()[_0x88da6e(0x1b7)](_0x24fb0c=>{const _0x1c4294=_0x88da6e;if(this[_0x1c4294(0x1ff)]['destroyed']){const _0x1c605d=new Error(_0x1c4294(0x235));process[_0x1c4294(0x196)](_0x352ff3,this,_0x1c605d,_0x2bfac2);return;}this['_bufferedBytes']-=_0x1c348c[_0x297554];const _0xaffcb8=_0x4b8d42(_0x24fb0c);_0x3fd653?this[_0x1c4294(0xa4)](_0xaffcb8,_0x3fd653,_0x1c348c,_0x2bfac2):(this[_0x1c4294(0x22b)]=_0x4ef13e,this[_0x1c4294(0xa2)](_0x5e5628[_0x1c4294(0x228)](_0xaffcb8,_0x1c348c),_0x2bfac2),this[_0x1c4294(0xf8)]());})[_0x88da6e(0xc6)](_0x18701a=>{const _0x4d8ef3=_0x88da6e;process[_0x4d8ef3(0x196)](_0x106c6f,this,_0x18701a,_0x2bfac2);});}['dispatch'](_0x316637,_0x3c5677,_0x311042,_0xeeffcc){const _0x5bbcee=_0x331e8b;if(!_0x3c5677){this[_0x5bbcee(0xa2)](_0x5e5628[_0x5bbcee(0x228)](_0x316637,_0x311042),_0xeeffcc);return;}const _0x12966f=this['_extensions'][_0x370755[_0x5bbcee(0x210)]];this[_0x5bbcee(0x179)]+=_0x311042[_0x297554],this['_state']=_0x10c182,_0x12966f[_0x5bbcee(0xf5)](_0x316637,_0x311042[_0x5bbcee(0x1d2)],(_0xa38a24,_0x230d5e)=>{const _0x39fb5d=_0x5bbcee;if(this[_0x39fb5d(0x1ff)][_0x39fb5d(0x230)]){const _0x387cfb=new Error(_0x39fb5d(0xc2));_0x352ff3(this,_0x387cfb,_0xeeffcc);return;}this[_0x39fb5d(0x179)]-=_0x311042[_0x297554],this[_0x39fb5d(0x22b)]=_0x4ef13e,_0x311042[_0x39fb5d(0x13c)]=!0x1,this[_0x39fb5d(0xa2)](_0x5e5628[_0x39fb5d(0x228)](_0x230d5e,_0x311042),_0xeeffcc),this[_0x39fb5d(0xf8)]();});}[_0x331e8b(0xf8)](){const _0x3a0f3c=_0x331e8b;for(;this[_0x3a0f3c(0x22b)]===_0x4ef13e&&this['_queue'][_0x3a0f3c(0x1b9)];){const _0x20ce65=this[_0x3a0f3c(0x141)][_0x3a0f3c(0x114)]();this[_0x3a0f3c(0x179)]-=_0x20ce65[0x3][_0x297554],Reflect[_0x3a0f3c(0x1dd)](_0x20ce65[0x0],this,_0x20ce65[_0x3a0f3c(0x1ee)](0x1));}}['enqueue'](_0x378c5c){const _0x4cb94f=_0x331e8b;this['_bufferedBytes']+=_0x378c5c[0x3][_0x297554],this[_0x4cb94f(0x141)][_0x4cb94f(0xaa)](_0x378c5c);}['sendFrame'](_0x383977,_0x1f95f8){const _0x59549a=_0x331e8b;_0x383977[_0x59549a(0x1b9)]===0x2?(this[_0x59549a(0x1ff)]['cork'](),this[_0x59549a(0x1ff)][_0x59549a(0x19a)](_0x383977[0x0]),this[_0x59549a(0x1ff)]['write'](_0x383977[0x1],_0x1f95f8),this[_0x59549a(0x1ff)][_0x59549a(0x1bb)]()):this['_socket'][_0x59549a(0x19a)](_0x383977[0x0],_0x1f95f8);}}Ee=_0x5e5628;function _0x352ff3(_0x85ec2f,_0x54a679,_0x4cd365){const _0x8ef6bd=_0x331e8b;typeof _0x4cd365==_0x8ef6bd(0x188)&&_0x4cd365(_0x54a679);for(let _0x33671e=0x0;_0x33671e<_0x85ec2f[_0x8ef6bd(0x141)]['length'];_0x33671e++){const _0x4d3510=_0x85ec2f[_0x8ef6bd(0x141)][_0x33671e],_0x48e69b=_0x4d3510[_0x4d3510[_0x8ef6bd(0x1b9)]-0x1];typeof _0x48e69b=='function'&&_0x48e69b(_0x54a679);}}function _0x106c6f(_0x90ef69,_0x7c86a6,_0x1a5105){const _0x4f294d=_0x331e8b;_0x352ff3(_0x90ef69,_0x7c86a6,_0x1a5105),_0x90ef69[_0x4f294d(0x11a)](_0x7c86a6);}return Ee;}var xe,Ze;function It(){const _0x904096=_0x29b3bc;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xded4b2,kListener:_0x8f92b2}=H(),_0x5627a1=Symbol(_0x904096(0x1aa)),_0xf37a5d=Symbol(_0x904096(0x171)),_0x94ec67=Symbol(_0x904096(0x1d6)),_0xcad8a6=Symbol(_0x904096(0x18b)),_0xbe63a=Symbol(_0x904096(0xb4)),_0x13411a=Symbol(_0x904096(0xe4)),_0x4fb4ed=Symbol(_0x904096(0xdd)),_0x1acea8=Symbol(_0x904096(0x1ea));class _0x253b72{constructor(_0x41dccc){this[_0x13411a]=null,this[_0x4fb4ed]=_0x41dccc;}get['target'](){return this[_0x13411a];}get['type'](){return this[_0x4fb4ed];}}Object['defineProperty'](_0x253b72['prototype'],_0x904096(0x117),{'enumerable':!0x0}),Object[_0x904096(0x119)](_0x253b72[_0x904096(0x162)],_0x904096(0x181),{'enumerable':!0x0});class _0x12f274 extends _0x253b72{constructor(_0x2662a5,_0x4ee814={}){const _0x2b02a5=_0x904096;super(_0x2662a5),this[_0x5627a1]=_0x4ee814['code']===void 0x0?0x0:_0x4ee814['code'],this[_0xbe63a]=_0x4ee814[_0x2b02a5(0xe2)]===void 0x0?'':_0x4ee814[_0x2b02a5(0xe2)],this[_0x1acea8]=_0x4ee814[_0x2b02a5(0x236)]===void 0x0?!0x1:_0x4ee814[_0x2b02a5(0x236)];}get[_0x904096(0x14e)](){return this[_0x5627a1];}get['reason'](){return this[_0xbe63a];}get['wasClean'](){return this[_0x1acea8];}}Object['defineProperty'](_0x12f274[_0x904096(0x162)],'code',{'enumerable':!0x0}),Object[_0x904096(0x119)](_0x12f274[_0x904096(0x162)],_0x904096(0xe2),{'enumerable':!0x0}),Object[_0x904096(0x119)](_0x12f274[_0x904096(0x162)],_0x904096(0x236),{'enumerable':!0x0});class _0x2d4e6d extends _0x253b72{constructor(_0x3f7d80,_0x19bf36={}){const _0x21e035=_0x904096;super(_0x3f7d80),this[_0x94ec67]=_0x19bf36[_0x21e035(0x24c)]===void 0x0?null:_0x19bf36[_0x21e035(0x24c)],this[_0xcad8a6]=_0x19bf36['message']===void 0x0?'':_0x19bf36[_0x21e035(0x133)];}get['error'](){return this[_0x94ec67];}get[_0x904096(0x133)](){return this[_0xcad8a6];}}Object[_0x904096(0x119)](_0x2d4e6d[_0x904096(0x162)],'error',{'enumerable':!0x0}),Object[_0x904096(0x119)](_0x2d4e6d['prototype'],_0x904096(0x133),{'enumerable':!0x0});class _0x5b0d81 extends _0x253b72{constructor(_0x3b205f,_0x2360c1={}){super(_0x3b205f),this[_0xf37a5d]=_0x2360c1['data']===void 0x0?null:_0x2360c1['data'];}get[_0x904096(0x12e)](){return this[_0xf37a5d];}}Object['defineProperty'](_0x5b0d81[_0x904096(0x162)],_0x904096(0x12e),{'enumerable':!0x0}),xe={'CloseEvent':_0x12f274,'ErrorEvent':_0x2d4e6d,'Event':_0x253b72,'EventTarget':{'addEventListener'(_0x1c5f39,_0x1c504e,_0x128566={}){const _0x57fcd1=_0x904096;for(const _0x122d74 of this[_0x57fcd1(0x132)](_0x1c5f39))if(!_0x128566[_0xded4b2]&&_0x122d74[_0x8f92b2]===_0x1c504e&&!_0x122d74[_0xded4b2])return;let _0x2e07ec;if(_0x1c5f39===_0x57fcd1(0x133))_0x2e07ec=function(_0x83f58d,_0x35c277){const _0x10f34e=_0x57fcd1,_0x34ff81=new _0x5b0d81(_0x10f34e(0x133),{'data':_0x35c277?_0x83f58d:_0x83f58d[_0x10f34e(0xec)]()});_0x34ff81[_0x13411a]=this,_0x326759(_0x1c504e,this,_0x34ff81);};else{if(_0x1c5f39===_0x57fcd1(0x220))_0x2e07ec=function(_0x1792c8,_0x1f1583){const _0x173a42=_0x57fcd1,_0x3d4847=new _0x12f274(_0x173a42(0x220),{'code':_0x1792c8,'reason':_0x1f1583[_0x173a42(0xec)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x3d4847[_0x13411a]=this,_0x326759(_0x1c504e,this,_0x3d4847);};else{if(_0x1c5f39===_0x57fcd1(0x24c))_0x2e07ec=function(_0x5ae0eb){const _0xa6d8ed=_0x57fcd1,_0x60e817=new _0x2d4e6d(_0xa6d8ed(0x24c),{'error':_0x5ae0eb,'message':_0x5ae0eb[_0xa6d8ed(0x133)]});_0x60e817[_0x13411a]=this,_0x326759(_0x1c504e,this,_0x60e817);};else{if(_0x1c5f39==='open')_0x2e07ec=function(){const _0x2184d8=new _0x253b72('open');_0x2184d8[_0x13411a]=this,_0x326759(_0x1c504e,this,_0x2184d8);};else return;}}}_0x2e07ec[_0xded4b2]=!!_0x128566[_0xded4b2],_0x2e07ec[_0x8f92b2]=_0x1c504e,_0x128566[_0x57fcd1(0xb8)]?this[_0x57fcd1(0xb8)](_0x1c5f39,_0x2e07ec):this['on'](_0x1c5f39,_0x2e07ec);},'removeEventListener'(_0x2a3f11,_0x16ce6e){const _0x28090a=_0x904096;for(const _0x3e9d10 of this[_0x28090a(0x132)](_0x2a3f11))if(_0x3e9d10[_0x8f92b2]===_0x16ce6e&&!_0x3e9d10[_0xded4b2]){this[_0x28090a(0x218)](_0x2a3f11,_0x3e9d10);break;}}},'MessageEvent':_0x5b0d81};function _0x326759(_0x4b7d00,_0x1076ab,_0x506b74){const _0x46dc1b=_0x904096;typeof _0x4b7d00=='object'&&_0x4b7d00[_0x46dc1b(0xa6)]?_0x4b7d00['handleEvent'][_0x46dc1b(0x17f)](_0x4b7d00,_0x506b74):_0x4b7d00['call'](_0x1076ab,_0x506b74);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x393ab6}=ae();function _0x1b9b8f(_0x114485,_0x40ea8e,_0x3913d1){const _0x4feab0=_0x4697;_0x114485[_0x40ea8e]===void 0x0?_0x114485[_0x40ea8e]=[_0x3913d1]:_0x114485[_0x40ea8e][_0x4feab0(0xaa)](_0x3913d1);}function _0x31c19a(_0x23c770){const _0x294adb=_0x4697,_0x3bae8b=Object[_0x294adb(0x154)](null);let _0x2d9e53=Object[_0x294adb(0x154)](null),_0x30a20d=!0x1,_0x25f726=!0x1,_0x2804ec=!0x1,_0x1e6753,_0x111b5a,_0xc4114d=-0x1,_0x1a8699=-0x1,_0x986639=-0x1,_0x1e7b16=0x0;for(;_0x1e7b16<_0x23c770['length'];_0x1e7b16++)if(_0x1a8699=_0x23c770[_0x294adb(0x129)](_0x1e7b16),_0x1e6753===void 0x0){if(_0x986639===-0x1&&_0x393ab6[_0x1a8699]===0x1)_0xc4114d===-0x1&&(_0xc4114d=_0x1e7b16);else{if(_0x1e7b16!==0x0&&(_0x1a8699===0x20||_0x1a8699===0x9))_0x986639===-0x1&&_0xc4114d!==-0x1&&(_0x986639=_0x1e7b16);else{if(_0x1a8699===0x3b||_0x1a8699===0x2c){if(_0xc4114d===-0x1)throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);_0x986639===-0x1&&(_0x986639=_0x1e7b16);const _0x205c7a=_0x23c770[_0x294adb(0x1ee)](_0xc4114d,_0x986639);_0x1a8699===0x2c?(_0x1b9b8f(_0x3bae8b,_0x205c7a,_0x2d9e53),_0x2d9e53=Object[_0x294adb(0x154)](null)):_0x1e6753=_0x205c7a,_0xc4114d=_0x986639=-0x1;}else throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);}}}else{if(_0x111b5a===void 0x0){if(_0x986639===-0x1&&_0x393ab6[_0x1a8699]===0x1)_0xc4114d===-0x1&&(_0xc4114d=_0x1e7b16);else{if(_0x1a8699===0x20||_0x1a8699===0x9)_0x986639===-0x1&&_0xc4114d!==-0x1&&(_0x986639=_0x1e7b16);else{if(_0x1a8699===0x3b||_0x1a8699===0x2c){if(_0xc4114d===-0x1)throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);_0x986639===-0x1&&(_0x986639=_0x1e7b16),_0x1b9b8f(_0x2d9e53,_0x23c770[_0x294adb(0x1ee)](_0xc4114d,_0x986639),!0x0),_0x1a8699===0x2c&&(_0x1b9b8f(_0x3bae8b,_0x1e6753,_0x2d9e53),_0x2d9e53=Object[_0x294adb(0x154)](null),_0x1e6753=void 0x0),_0xc4114d=_0x986639=-0x1;}else{if(_0x1a8699===0x3d&&_0xc4114d!==-0x1&&_0x986639===-0x1)_0x111b5a=_0x23c770[_0x294adb(0x1ee)](_0xc4114d,_0x1e7b16),_0xc4114d=_0x986639=-0x1;else throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);}}}}else{if(_0x25f726){if(_0x393ab6[_0x1a8699]!==0x1)throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);_0xc4114d===-0x1?_0xc4114d=_0x1e7b16:_0x30a20d||(_0x30a20d=!0x0),_0x25f726=!0x1;}else{if(_0x2804ec){if(_0x393ab6[_0x1a8699]===0x1)_0xc4114d===-0x1&&(_0xc4114d=_0x1e7b16);else{if(_0x1a8699===0x22&&_0xc4114d!==-0x1)_0x2804ec=!0x1,_0x986639=_0x1e7b16;else{if(_0x1a8699===0x5c)_0x25f726=!0x0;else throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);}}}else{if(_0x1a8699===0x22&&_0x23c770['charCodeAt'](_0x1e7b16-0x1)===0x3d)_0x2804ec=!0x0;else{if(_0x986639===-0x1&&_0x393ab6[_0x1a8699]===0x1)_0xc4114d===-0x1&&(_0xc4114d=_0x1e7b16);else{if(_0xc4114d!==-0x1&&(_0x1a8699===0x20||_0x1a8699===0x9))_0x986639===-0x1&&(_0x986639=_0x1e7b16);else{if(_0x1a8699===0x3b||_0x1a8699===0x2c){if(_0xc4114d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e7b16);_0x986639===-0x1&&(_0x986639=_0x1e7b16);let _0x460514=_0x23c770[_0x294adb(0x1ee)](_0xc4114d,_0x986639);_0x30a20d&&(_0x460514=_0x460514[_0x294adb(0x222)](/\\/g,''),_0x30a20d=!0x1),_0x1b9b8f(_0x2d9e53,_0x111b5a,_0x460514),_0x1a8699===0x2c&&(_0x1b9b8f(_0x3bae8b,_0x1e6753,_0x2d9e53),_0x2d9e53=Object[_0x294adb(0x154)](null),_0x1e6753=void 0x0),_0x111b5a=void 0x0,_0xc4114d=_0x986639=-0x1;}else throw new SyntaxError(_0x294adb(0x101)+_0x1e7b16);}}}}}}}if(_0xc4114d===-0x1||_0x2804ec||_0x1a8699===0x20||_0x1a8699===0x9)throw new SyntaxError(_0x294adb(0x252));_0x986639===-0x1&&(_0x986639=_0x1e7b16);const _0xa39876=_0x23c770['slice'](_0xc4114d,_0x986639);return _0x1e6753===void 0x0?_0x1b9b8f(_0x3bae8b,_0xa39876,_0x2d9e53):(_0x111b5a===void 0x0?_0x1b9b8f(_0x2d9e53,_0xa39876,!0x0):_0x30a20d?_0x1b9b8f(_0x2d9e53,_0x111b5a,_0xa39876[_0x294adb(0x222)](/\\/g,'')):_0x1b9b8f(_0x2d9e53,_0x111b5a,_0xa39876),_0x1b9b8f(_0x3bae8b,_0x1e6753,_0x2d9e53)),_0x3bae8b;}function _0x2c20cc(_0x2eda23){const _0x388d6f=_0x4697;return Object[_0x388d6f(0xad)](_0x2eda23)[_0x388d6f(0x144)](_0x4a69fe=>{const _0x4c17df=_0x388d6f;let _0x194ab3=_0x2eda23[_0x4a69fe];return Array[_0x4c17df(0x167)](_0x194ab3)||(_0x194ab3=[_0x194ab3]),_0x194ab3['map'](_0x582f7b=>[_0x4a69fe][_0x4c17df(0xa1)](Object[_0x4c17df(0xad)](_0x582f7b)[_0x4c17df(0x144)](_0x2592c6=>{const _0x33a008=_0x4c17df;let _0x26a50e=_0x582f7b[_0x2592c6];return Array[_0x33a008(0x167)](_0x26a50e)||(_0x26a50e=[_0x26a50e]),_0x26a50e['map'](_0x5bbf25=>_0x5bbf25===!0x0?_0x2592c6:_0x2592c6+'='+_0x5bbf25)[_0x33a008(0xb3)](';\x20');}))['join'](';\x20'))[_0x4c17df(0xb3)](',\x20');})['join'](',\x20');}return be={'format':_0x2c20cc,'parse':_0x31c19a},be;}var we,Je;function Pe(){const _0x461261=_0x29b3bc;if(Je)return we;Je=0x1;const _0x3ef0d5=nt,_0x1c7618=vt,_0x40c036=ot,_0x501a63=St,_0x340222=Et,{randomBytes:_0x272c9e,createHash:_0x4286e8}=Le,{Duplex:_0x1777ef,Readable:_0x4c6b58}=oe,{URL:_0x314249}=xt,_0xe6d0b2=he(),_0x2f1e84=lt(),_0xf24234=ft(),{isBlob:_0x1ee75d}=ae(),{BINARY_TYPES:_0x1df8d8,EMPTY_BUFFER:_0x5a1d28,GUID:_0x243b3c,kForOnEventAttribute:_0x4b3f75,kListener:_0x4d19fa,kStatusCode:_0x29f2f9,kWebSocket:_0x539572,NOOP:_0x159c1b}=H(),{EventTarget:{addEventListener:_0x2390c9,removeEventListener:_0x28303a}}=It(),{format:_0x1b5793,parse:_0x6c05f1}=ct(),{toBuffer:_0x21c0fe}=ce(),_0x72ab35=0x1e*0x3e8,_0x272039=Symbol('kAborted'),_0x10818d=[0x8,0xd],_0x165891=[_0x461261(0x24f),'OPEN',_0x461261(0x253),_0x461261(0x15a)],_0x341b3f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x20309f extends _0x3ef0d5{constructor(_0x1202b3,_0x3311f3,_0x21ca51){const _0x3a2c35=_0x461261;super(),this['_binaryType']=_0x1df8d8[0x0],this[_0x3a2c35(0x105)]=0x3ee,this[_0x3a2c35(0x153)]=!0x1,this[_0x3a2c35(0xbb)]=!0x1,this['_closeMessage']=_0x5a1d28,this['_closeTimer']=null,this[_0x3a2c35(0x161)]=!0x1,this['_extensions']={},this[_0x3a2c35(0x1a1)]=!0x1,this['_protocol']='',this[_0x3a2c35(0x1e2)]=_0x20309f['CONNECTING'],this[_0x3a2c35(0x1d0)]=null,this[_0x3a2c35(0x1ab)]=null,this[_0x3a2c35(0x1ff)]=null,_0x1202b3!==null?(this['_bufferedAmount']=0x0,this[_0x3a2c35(0x158)]=!0x1,this[_0x3a2c35(0x16a)]=0x0,_0x3311f3===void 0x0?_0x3311f3=[]:Array[_0x3a2c35(0x167)](_0x3311f3)||(typeof _0x3311f3==_0x3a2c35(0x1d3)&&_0x3311f3!==null?(_0x21ca51=_0x3311f3,_0x3311f3=[]):_0x3311f3=[_0x3311f3]),_0x502f87(this,_0x1202b3,_0x3311f3,_0x21ca51)):(this[_0x3a2c35(0xe5)]=_0x21ca51[_0x3a2c35(0x234)],this['_isServer']=!0x0);}get['binaryType'](){const _0x3845c1=_0x461261;return this[_0x3845c1(0x1ef)];}set[_0x461261(0x1e9)](_0x172100){const _0x54d8f0=_0x461261;_0x1df8d8[_0x54d8f0(0x231)](_0x172100)&&(this[_0x54d8f0(0x1ef)]=_0x172100,this[_0x54d8f0(0x1d0)]&&(this[_0x54d8f0(0x1d0)][_0x54d8f0(0x1ef)]=_0x172100));}get[_0x461261(0x150)](){const _0x2da73a=_0x461261;return this[_0x2da73a(0x1ff)]?this[_0x2da73a(0x1ff)][_0x2da73a(0x22c)][_0x2da73a(0x1b9)]+this[_0x2da73a(0x1ab)]['_bufferedBytes']:this[_0x2da73a(0x125)];}get[_0x461261(0xf9)](){const _0x1e7ec7=_0x461261;return Object[_0x1e7ec7(0xad)](this[_0x1e7ec7(0x15b)])[_0x1e7ec7(0xb3)]();}get['isPaused'](){const _0x36ca23=_0x461261;return this[_0x36ca23(0x1a1)];}get[_0x461261(0xbd)](){return null;}get[_0x461261(0x11a)](){return null;}get[_0x461261(0x10c)](){return null;}get[_0x461261(0x201)](){return null;}get[_0x461261(0x1f9)](){const _0x191919=_0x461261;return this[_0x191919(0xab)];}get[_0x461261(0xcb)](){const _0x55acbb=_0x461261;return this[_0x55acbb(0x1e2)];}get['url'](){const _0x2c2590=_0x461261;return this[_0x2c2590(0x23a)];}[_0x461261(0x207)](_0x57dcc5,_0x15835a,_0x450fb3){const _0x2c60e0=_0x461261,_0x2be310=new _0x2f1e84({'allowSynchronousEvents':_0x450fb3[_0x2c60e0(0xcd)],'binaryType':this[_0x2c60e0(0x1e9)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x450fb3['maxPayload'],'skipUTF8Validation':_0x450fb3['skipUTF8Validation']}),_0x1d0a2e=new _0xf24234(_0x57dcc5,this[_0x2c60e0(0x15b)],_0x450fb3[_0x2c60e0(0x20a)]);this[_0x2c60e0(0x1d0)]=_0x2be310,this['_sender']=_0x1d0a2e,this[_0x2c60e0(0x1ff)]=_0x57dcc5,_0x2be310[_0x539572]=this,_0x1d0a2e[_0x539572]=this,_0x57dcc5[_0x539572]=this,_0x2be310['on']('conclude',_0x1317d7),_0x2be310['on']('drain',_0x2d987f),_0x2be310['on'](_0x2c60e0(0x24c),_0x334d7e),_0x2be310['on']('message',_0x5f5761),_0x2be310['on'](_0x2c60e0(0x242),_0xa12b24),_0x2be310['on'](_0x2c60e0(0xb9),_0x24a5f2),_0x1d0a2e[_0x2c60e0(0x11a)]=_0x1e03ac,_0x57dcc5['setTimeout']&&_0x57dcc5['setTimeout'](0x0),_0x57dcc5[_0x2c60e0(0x1c1)]&&_0x57dcc5[_0x2c60e0(0x1c1)](),_0x15835a[_0x2c60e0(0x1b9)]>0x0&&_0x57dcc5[_0x2c60e0(0x13e)](_0x15835a),_0x57dcc5['on'](_0x2c60e0(0x220),_0x5e3097),_0x57dcc5['on'](_0x2c60e0(0x12e),_0x2776b2),_0x57dcc5['on'](_0x2c60e0(0x140),_0x5f309e),_0x57dcc5['on'](_0x2c60e0(0x24c),_0xf374f3),this[_0x2c60e0(0x1e2)]=_0x20309f['OPEN'],this[_0x2c60e0(0x174)](_0x2c60e0(0x103));}['emitClose'](){const _0x517cb6=_0x461261;if(!this[_0x517cb6(0x1ff)]){this[_0x517cb6(0x1e2)]=_0x20309f[_0x517cb6(0x15a)],this[_0x517cb6(0x174)](_0x517cb6(0x220),this[_0x517cb6(0x105)],this[_0x517cb6(0x14c)]);return;}this[_0x517cb6(0x15b)][_0xe6d0b2[_0x517cb6(0x210)]]&&this['_extensions'][_0xe6d0b2[_0x517cb6(0x210)]][_0x517cb6(0x14a)](),this[_0x517cb6(0x1d0)][_0x517cb6(0x1a4)](),this[_0x517cb6(0x1e2)]=_0x20309f[_0x517cb6(0x15a)],this[_0x517cb6(0x174)](_0x517cb6(0x220),this[_0x517cb6(0x105)],this[_0x517cb6(0x14c)]);}[_0x461261(0x220)](_0x12c6b7,_0x4d5f7e){const _0x21135d=_0x461261;if(this[_0x21135d(0xcb)]!==_0x20309f[_0x21135d(0x15a)]){if(this[_0x21135d(0xcb)]===_0x20309f[_0x21135d(0x24f)]){_0x3c32d4(this,this[_0x21135d(0x221)],_0x21135d(0x112));return;}if(this[_0x21135d(0xcb)]===_0x20309f[_0x21135d(0x253)]){this[_0x21135d(0xbb)]&&(this[_0x21135d(0x153)]||this[_0x21135d(0x1d0)][_0x21135d(0x22c)]['errorEmitted'])&&this[_0x21135d(0x1ff)]['end']();return;}this[_0x21135d(0x1e2)]=_0x20309f[_0x21135d(0x253)],this[_0x21135d(0x1ab)][_0x21135d(0x220)](_0x12c6b7,_0x4d5f7e,!this['_isServer'],_0xae7658=>{const _0x1a61fa=_0x21135d;_0xae7658||(this[_0x1a61fa(0xbb)]=!0x0,(this[_0x1a61fa(0x153)]||this['_receiver'][_0x1a61fa(0x22c)][_0x1a61fa(0xf4)])&&this[_0x1a61fa(0x1ff)]['end']());}),_0x5704aa(this);}}[_0x461261(0xfe)](){const _0x51dc3c=_0x461261;this['readyState']===_0x20309f[_0x51dc3c(0x24f)]||this[_0x51dc3c(0xcb)]===_0x20309f['CLOSED']||(this['_paused']=!0x0,this['_socket'][_0x51dc3c(0xfe)]());}['ping'](_0x2ce3a6,_0x3bff94,_0x5939c0){const _0x514738=_0x461261;if(this[_0x514738(0xcb)]===_0x20309f[_0x514738(0x24f)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2ce3a6=='function'?(_0x5939c0=_0x2ce3a6,_0x2ce3a6=_0x3bff94=void 0x0):typeof _0x3bff94==_0x514738(0x188)&&(_0x5939c0=_0x3bff94,_0x3bff94=void 0x0),typeof _0x2ce3a6==_0x514738(0x10b)&&(_0x2ce3a6=_0x2ce3a6[_0x514738(0xec)]()),this['readyState']!==_0x20309f[_0x514738(0x1b2)]){_0x1d40ee(this,_0x2ce3a6,_0x5939c0);return;}_0x3bff94===void 0x0&&(_0x3bff94=!this['_isServer']),this[_0x514738(0x1ab)][_0x514738(0x242)](_0x2ce3a6||_0x5a1d28,_0x3bff94,_0x5939c0);}[_0x461261(0xb9)](_0x44fe34,_0x2b1821,_0x1d0026){const _0x112800=_0x461261;if(this['readyState']===_0x20309f[_0x112800(0x24f)])throw new Error(_0x112800(0x124));if(typeof _0x44fe34==_0x112800(0x188)?(_0x1d0026=_0x44fe34,_0x44fe34=_0x2b1821=void 0x0):typeof _0x2b1821==_0x112800(0x188)&&(_0x1d0026=_0x2b1821,_0x2b1821=void 0x0),typeof _0x44fe34==_0x112800(0x10b)&&(_0x44fe34=_0x44fe34[_0x112800(0xec)]()),this[_0x112800(0xcb)]!==_0x20309f[_0x112800(0x1b2)]){_0x1d40ee(this,_0x44fe34,_0x1d0026);return;}_0x2b1821===void 0x0&&(_0x2b1821=!this['_isServer']),this[_0x112800(0x1ab)][_0x112800(0xb9)](_0x44fe34||_0x5a1d28,_0x2b1821,_0x1d0026);}[_0x461261(0x1d5)](){const _0x39a5b9=_0x461261;this[_0x39a5b9(0xcb)]===_0x20309f['CONNECTING']||this['readyState']===_0x20309f[_0x39a5b9(0x15a)]||(this[_0x39a5b9(0x1a1)]=!0x1,this[_0x39a5b9(0x1d0)][_0x39a5b9(0x22c)]['needDrain']||this[_0x39a5b9(0x1ff)]['resume']());}[_0x461261(0x1d7)](_0x3359a9,_0x223535,_0x1b2579){const _0x44a021=_0x461261;if(this['readyState']===_0x20309f[_0x44a021(0x24f)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x223535==_0x44a021(0x188)&&(_0x1b2579=_0x223535,_0x223535={}),typeof _0x3359a9=='number'&&(_0x3359a9=_0x3359a9[_0x44a021(0xec)]()),this['readyState']!==_0x20309f[_0x44a021(0x1b2)]){_0x1d40ee(this,_0x3359a9,_0x1b2579);return;}const _0xf61286={'binary':typeof _0x3359a9!='string','mask':!this[_0x44a021(0x158)],'compress':!0x0,'fin':!0x0,..._0x223535};this['_extensions'][_0xe6d0b2[_0x44a021(0x210)]]||(_0xf61286['compress']=!0x1),this[_0x44a021(0x1ab)][_0x44a021(0x1d7)](_0x3359a9||_0x5a1d28,_0xf61286,_0x1b2579);}[_0x461261(0x18e)](){const _0x46fde5=_0x461261;if(this[_0x46fde5(0xcb)]!==_0x20309f[_0x46fde5(0x15a)]){if(this[_0x46fde5(0xcb)]===_0x20309f[_0x46fde5(0x24f)]){_0x3c32d4(this,this[_0x46fde5(0x221)],_0x46fde5(0x112));return;}this[_0x46fde5(0x1ff)]&&(this[_0x46fde5(0x1e2)]=_0x20309f[_0x46fde5(0x253)],this[_0x46fde5(0x1ff)][_0x46fde5(0x19f)]());}}}Object[_0x461261(0x119)](_0x20309f,_0x461261(0x24f),{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)](_0x461261(0x24f))}),Object['defineProperty'](_0x20309f[_0x461261(0x162)],_0x461261(0x24f),{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)]('CONNECTING')}),Object[_0x461261(0x119)](_0x20309f,'OPEN',{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)](_0x461261(0x1b2))}),Object[_0x461261(0x119)](_0x20309f['prototype'],_0x461261(0x1b2),{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)]('OPEN')}),Object['defineProperty'](_0x20309f,_0x461261(0x253),{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)]('CLOSING')}),Object[_0x461261(0x119)](_0x20309f[_0x461261(0x162)],'CLOSING',{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)](_0x461261(0x253))}),Object[_0x461261(0x119)](_0x20309f,_0x461261(0x15a),{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)](_0x461261(0x15a))}),Object[_0x461261(0x119)](_0x20309f[_0x461261(0x162)],'CLOSED',{'enumerable':!0x0,'value':_0x165891[_0x461261(0xc0)](_0x461261(0x15a))}),[_0x461261(0x1e9),_0x461261(0x150),_0x461261(0xf9),_0x461261(0x202),'protocol','readyState','url'][_0x461261(0x238)](_0x252394=>{const _0x5a36de=_0x461261;Object['defineProperty'](_0x20309f[_0x5a36de(0x162)],_0x252394,{'enumerable':!0x0});}),[_0x461261(0x103),_0x461261(0x24c),_0x461261(0x220),_0x461261(0x133)]['forEach'](_0x3d9bcd=>{const _0x3e6b01=_0x461261;Object[_0x3e6b01(0x119)](_0x20309f[_0x3e6b01(0x162)],'on'+_0x3d9bcd,{'enumerable':!0x0,'get'(){const _0x16fd70=_0x3e6b01;for(const _0x27699a of this[_0x16fd70(0x132)](_0x3d9bcd))if(_0x27699a[_0x4b3f75])return _0x27699a[_0x4d19fa];return null;},'set'(_0x3c767c){const _0x1c0fb4=_0x3e6b01;for(const _0x4c2781 of this['listeners'](_0x3d9bcd))if(_0x4c2781[_0x4b3f75]){this[_0x1c0fb4(0x218)](_0x3d9bcd,_0x4c2781);break;}typeof _0x3c767c==_0x1c0fb4(0x188)&&this[_0x1c0fb4(0x258)](_0x3d9bcd,_0x3c767c,{[_0x4b3f75]:!0x0});}});}),_0x20309f[_0x461261(0x162)]['addEventListener']=_0x2390c9,_0x20309f[_0x461261(0x162)][_0x461261(0x13d)]=_0x28303a,we=_0x20309f;function _0x502f87(_0x3fba46,_0x5f3a21,_0x4cee49,_0xd6a53f){const _0x6569e=_0x461261,_0x4ab6b9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x10818d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd6a53f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x6569e(0x10d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3fba46['_autoPong']=_0x4ab6b9['autoPong'],!_0x10818d[_0x6569e(0x231)](_0x4ab6b9[_0x6569e(0x1a2)]))throw new RangeError(_0x6569e(0x237)+_0x4ab6b9[_0x6569e(0x1a2)]+_0x6569e(0xb1)+_0x10818d[_0x6569e(0xb3)](',\x20')+')');let _0x507294;if(_0x5f3a21 instanceof _0x314249)_0x507294=_0x5f3a21;else try{_0x507294=new _0x314249(_0x5f3a21);}catch{throw new SyntaxError(_0x6569e(0x121)+_0x5f3a21);}_0x507294[_0x6569e(0x1f9)]===_0x6569e(0x1fd)?_0x507294['protocol']=_0x6569e(0xc3):_0x507294[_0x6569e(0x1f9)]===_0x6569e(0x248)&&(_0x507294[_0x6569e(0x1f9)]=_0x6569e(0x247)),_0x3fba46['_url']=_0x507294['href'];const _0x11e197=_0x507294[_0x6569e(0x1f9)]===_0x6569e(0x247),_0x52050e=_0x507294[_0x6569e(0x1f9)]===_0x6569e(0xa5);let _0x4887c2;if(_0x507294[_0x6569e(0x1f9)]!==_0x6569e(0xc3)&&!_0x11e197&&!_0x52050e?_0x4887c2=_0x6569e(0x11b):_0x52050e&&!_0x507294[_0x6569e(0xc7)]?_0x4887c2='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x507294[_0x6569e(0x211)]&&(_0x4887c2=_0x6569e(0x209)),_0x4887c2){const _0x54846a=new SyntaxError(_0x4887c2);if(_0x3fba46[_0x6569e(0x16a)]===0x0)throw _0x54846a;_0x478552(_0x3fba46,_0x54846a);return;}const _0x3cca57=_0x11e197?0x1bb:0x50,_0x171e4a=_0x272c9e(0x10)['toString'](_0x6569e(0x168)),_0x1b62ea=_0x11e197?_0x1c7618[_0x6569e(0x1af)]:_0x40c036['request'],_0x2f3079=new Set();let _0x37b105;if(_0x4ab6b9[_0x6569e(0xcf)]=_0x4ab6b9[_0x6569e(0xcf)]||(_0x11e197?_0x7e44b9:_0xa6c5bd),_0x4ab6b9[_0x6569e(0xca)]=_0x4ab6b9['defaultPort']||_0x3cca57,_0x4ab6b9[_0x6569e(0x110)]=_0x507294[_0x6569e(0x110)]||_0x3cca57,_0x4ab6b9[_0x6569e(0xe7)]=_0x507294['hostname'][_0x6569e(0x1f7)]('[')?_0x507294['hostname'][_0x6569e(0x1ee)](0x1,-0x1):_0x507294[_0x6569e(0x170)],_0x4ab6b9[_0x6569e(0x12a)]={..._0x4ab6b9[_0x6569e(0x12a)],'Sec-WebSocket-Version':_0x4ab6b9[_0x6569e(0x1a2)],'Sec-WebSocket-Key':_0x171e4a,'Connection':'Upgrade','Upgrade':_0x6569e(0x1ca)},_0x4ab6b9[_0x6569e(0x245)]=_0x507294[_0x6569e(0xc7)]+_0x507294['search'],_0x4ab6b9[_0x6569e(0x1b6)]=_0x4ab6b9[_0x6569e(0x1c6)],_0x4ab6b9[_0x6569e(0x156)]&&(_0x37b105=new _0xe6d0b2(_0x4ab6b9['perMessageDeflate']!==!0x0?_0x4ab6b9['perMessageDeflate']:{},!0x1,_0x4ab6b9[_0x6569e(0xbf)]),_0x4ab6b9[_0x6569e(0x12a)][_0x6569e(0x104)]=_0x1b5793({[_0xe6d0b2[_0x6569e(0x210)]]:_0x37b105[_0x6569e(0x11f)]()})),_0x4cee49[_0x6569e(0x1b9)]){for(const _0x53fce5 of _0x4cee49){if(typeof _0x53fce5!=_0x6569e(0x1b3)||!_0x341b3f['test'](_0x53fce5)||_0x2f3079[_0x6569e(0x214)](_0x53fce5))throw new SyntaxError(_0x6569e(0x22e));_0x2f3079[_0x6569e(0xfa)](_0x53fce5);}_0x4ab6b9[_0x6569e(0x12a)]['Sec-WebSocket-Protocol']=_0x4cee49[_0x6569e(0xb3)](',');}if(_0x4ab6b9[_0x6569e(0x1eb)]&&(_0x4ab6b9[_0x6569e(0x1a2)]<0xd?_0x4ab6b9[_0x6569e(0x12a)][_0x6569e(0x17a)]=_0x4ab6b9[_0x6569e(0x1eb)]:_0x4ab6b9[_0x6569e(0x12a)][_0x6569e(0x216)]=_0x4ab6b9[_0x6569e(0x1eb)]),(_0x507294['username']||_0x507294[_0x6569e(0x19c)])&&(_0x4ab6b9[_0x6569e(0x1c0)]=_0x507294[_0x6569e(0x1df)]+':'+_0x507294[_0x6569e(0x19c)]),_0x52050e){const _0x23592e=_0x4ab6b9[_0x6569e(0x245)][_0x6569e(0x122)](':');_0x4ab6b9['socketPath']=_0x23592e[0x0],_0x4ab6b9[_0x6569e(0x245)]=_0x23592e[0x1];}let _0xdf8741;if(_0x4ab6b9[_0x6569e(0x18f)]){if(_0x3fba46['_redirects']===0x0){_0x3fba46[_0x6569e(0x1bc)]=_0x52050e,_0x3fba46[_0x6569e(0xee)]=_0x11e197,_0x3fba46[_0x6569e(0x21a)]=_0x52050e?_0x4ab6b9['socketPath']:_0x507294[_0x6569e(0xe7)];const _0x2448a0=_0xd6a53f&&_0xd6a53f[_0x6569e(0x12a)];if(_0xd6a53f={..._0xd6a53f,'headers':{}},_0x2448a0){for(const [_0x2aefd8,_0x4e5faa]of Object['entries'](_0x2448a0))_0xd6a53f[_0x6569e(0x12a)][_0x2aefd8[_0x6569e(0xdf)]()]=_0x4e5faa;}}else{if(_0x3fba46[_0x6569e(0x1f3)](_0x6569e(0x197))===0x0){const _0x10e233=_0x52050e?_0x3fba46[_0x6569e(0x1bc)]?_0x4ab6b9['socketPath']===_0x3fba46['_originalHostOrSocketPath']:!0x1:_0x3fba46[_0x6569e(0x1bc)]?!0x1:_0x507294[_0x6569e(0xe7)]===_0x3fba46[_0x6569e(0x21a)];(!_0x10e233||_0x3fba46[_0x6569e(0xee)]&&!_0x11e197)&&(delete _0x4ab6b9[_0x6569e(0x12a)][_0x6569e(0x109)],delete _0x4ab6b9[_0x6569e(0x12a)][_0x6569e(0xd6)],_0x10e233||delete _0x4ab6b9['headers'][_0x6569e(0xe7)],_0x4ab6b9['auth']=void 0x0);}}_0x4ab6b9[_0x6569e(0x1c0)]&&!_0xd6a53f[_0x6569e(0x12a)][_0x6569e(0x109)]&&(_0xd6a53f[_0x6569e(0x12a)][_0x6569e(0x109)]=_0x6569e(0x128)+Buffer['from'](_0x4ab6b9[_0x6569e(0x1c0)])[_0x6569e(0xec)](_0x6569e(0x168))),_0xdf8741=_0x3fba46[_0x6569e(0x221)]=_0x1b62ea(_0x4ab6b9),_0x3fba46['_redirects']&&_0x3fba46[_0x6569e(0x174)](_0x6569e(0x197),_0x3fba46[_0x6569e(0x1e4)],_0xdf8741);}else _0xdf8741=_0x3fba46[_0x6569e(0x221)]=_0x1b62ea(_0x4ab6b9);_0x4ab6b9[_0x6569e(0x1b6)]&&_0xdf8741['on'](_0x6569e(0x1b6),()=>{_0x3c32d4(_0x3fba46,_0xdf8741,'Opening\x20handshake\x20has\x20timed\x20out');}),_0xdf8741['on'](_0x6569e(0x24c),_0x4175e0=>{const _0x11e95b=_0x6569e;_0xdf8741===null||_0xdf8741[_0x272039]||(_0xdf8741=_0x3fba46[_0x11e95b(0x221)]=null,_0x478552(_0x3fba46,_0x4175e0));}),_0xdf8741['on'](_0x6569e(0x1b5),_0x4830d1=>{const _0x2eaa12=_0x6569e,_0x242369=_0x4830d1[_0x2eaa12(0x12a)][_0x2eaa12(0x151)],_0x256f7b=_0x4830d1[_0x2eaa12(0xd4)];if(_0x242369&&_0x4ab6b9[_0x2eaa12(0x18f)]&&_0x256f7b>=0x12c&&_0x256f7b<0x190){if(++_0x3fba46['_redirects']>_0x4ab6b9[_0x2eaa12(0x187)]){_0x3c32d4(_0x3fba46,_0xdf8741,_0x2eaa12(0x23c));return;}_0xdf8741[_0x2eaa12(0x1c7)]();let _0x454411;try{_0x454411=new _0x314249(_0x242369,_0x5f3a21);}catch{const _0x193fc0=new SyntaxError(_0x2eaa12(0x121)+_0x242369);_0x478552(_0x3fba46,_0x193fc0);return;}_0x502f87(_0x3fba46,_0x454411,_0x4cee49,_0xd6a53f);}else _0x3fba46['emit']('unexpected-response',_0xdf8741,_0x4830d1)||_0x3c32d4(_0x3fba46,_0xdf8741,_0x2eaa12(0xba)+_0x4830d1['statusCode']);}),_0xdf8741['on'](_0x6569e(0x225),(_0x503448,_0x2f5c40,_0x301364)=>{const _0x51667b=_0x6569e;if(_0x3fba46['emit'](_0x51667b(0x225),_0x503448),_0x3fba46[_0x51667b(0xcb)]!==_0x20309f['CONNECTING'])return;_0xdf8741=_0x3fba46['_req']=null;const _0x14d01f=_0x503448[_0x51667b(0x12a)][_0x51667b(0x225)];if(_0x14d01f===void 0x0||_0x14d01f[_0x51667b(0xdf)]()!==_0x51667b(0x1ca)){_0x3c32d4(_0x3fba46,_0x2f5c40,_0x51667b(0xdb));return;}const _0x3b0128=_0x4286e8(_0x51667b(0x159))['update'](_0x171e4a+_0x243b3c)[_0x51667b(0xd7)](_0x51667b(0x168));if(_0x503448[_0x51667b(0x12a)][_0x51667b(0x10e)]!==_0x3b0128){_0x3c32d4(_0x3fba46,_0x2f5c40,_0x51667b(0xb0));return;}const _0x3a2692=_0x503448['headers'][_0x51667b(0x192)];let _0x2aeab2;if(_0x3a2692!==void 0x0?_0x2f3079[_0x51667b(0x163)]?_0x2f3079[_0x51667b(0x214)](_0x3a2692)||(_0x2aeab2='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2aeab2='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2f3079['size']&&(_0x2aeab2=_0x51667b(0x17d)),_0x2aeab2){_0x3c32d4(_0x3fba46,_0x2f5c40,_0x2aeab2);return;}_0x3a2692&&(_0x3fba46[_0x51667b(0xab)]=_0x3a2692);const _0x319b87=_0x503448[_0x51667b(0x12a)]['sec-websocket-extensions'];if(_0x319b87!==void 0x0){if(!_0x37b105){_0x3c32d4(_0x3fba46,_0x2f5c40,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x47c904;try{_0x47c904=_0x6c05f1(_0x319b87);}catch{_0x3c32d4(_0x3fba46,_0x2f5c40,_0x51667b(0x184));return;}const _0x3345a8=Object[_0x51667b(0xad)](_0x47c904);if(_0x3345a8['length']!==0x1||_0x3345a8[0x0]!==_0xe6d0b2[_0x51667b(0x210)]){_0x3c32d4(_0x3fba46,_0x2f5c40,_0x51667b(0x224));return;}try{_0x37b105[_0x51667b(0xe9)](_0x47c904[_0xe6d0b2[_0x51667b(0x210)]]);}catch{_0x3c32d4(_0x3fba46,_0x2f5c40,_0x51667b(0x184));return;}_0x3fba46[_0x51667b(0x15b)][_0xe6d0b2[_0x51667b(0x210)]]=_0x37b105;}_0x3fba46['setSocket'](_0x2f5c40,_0x301364,{'allowSynchronousEvents':_0x4ab6b9[_0x51667b(0xcd)],'generateMask':_0x4ab6b9[_0x51667b(0x20a)],'maxPayload':_0x4ab6b9[_0x51667b(0xbf)],'skipUTF8Validation':_0x4ab6b9[_0x51667b(0x10f)]});}),_0x4ab6b9[_0x6569e(0x17e)]?_0x4ab6b9['finishRequest'](_0xdf8741,_0x3fba46):_0xdf8741[_0x6569e(0x140)]();}function _0x478552(_0x227eaf,_0x325aa1){const _0x4bf85a=_0x461261;_0x227eaf[_0x4bf85a(0x1e2)]=_0x20309f[_0x4bf85a(0x253)],_0x227eaf[_0x4bf85a(0x161)]=!0x0,_0x227eaf[_0x4bf85a(0x174)](_0x4bf85a(0x24c),_0x325aa1),_0x227eaf['emitClose']();}function _0xa6c5bd(_0x4d0a0e){const _0x28fdf1=_0x461261;return _0x4d0a0e[_0x28fdf1(0x245)]=_0x4d0a0e[_0x28fdf1(0x18c)],_0x501a63['connect'](_0x4d0a0e);}function _0x7e44b9(_0x1d714c){const _0x209c90=_0x461261;return _0x1d714c[_0x209c90(0x245)]=void 0x0,!_0x1d714c[_0x209c90(0x1a5)]&&_0x1d714c[_0x209c90(0x1a5)]!==''&&(_0x1d714c['servername']=_0x501a63[_0x209c90(0x11d)](_0x1d714c[_0x209c90(0xe7)])?'':_0x1d714c['host']),_0x340222[_0x209c90(0x1ae)](_0x1d714c);}function _0x3c32d4(_0x4e0969,_0x28001b,_0x454008){const _0x418257=_0x461261;_0x4e0969[_0x418257(0x1e2)]=_0x20309f[_0x418257(0x253)];const _0x5cdb14=new Error(_0x454008);Error[_0x418257(0x259)](_0x5cdb14,_0x3c32d4),_0x28001b[_0x418257(0x233)]?(_0x28001b[_0x272039]=!0x0,_0x28001b[_0x418257(0x1c7)](),_0x28001b['socket']&&!_0x28001b[_0x418257(0x1cb)][_0x418257(0x230)]&&_0x28001b[_0x418257(0x1cb)][_0x418257(0x19f)](),process['nextTick'](_0x478552,_0x4e0969,_0x5cdb14)):(_0x28001b[_0x418257(0x19f)](_0x5cdb14),_0x28001b['once']('error',_0x4e0969['emit'][_0x418257(0x175)](_0x4e0969,'error')),_0x28001b[_0x418257(0xb8)](_0x418257(0x220),_0x4e0969['emitClose'][_0x418257(0x175)](_0x4e0969)));}function _0x1d40ee(_0x37c456,_0x165eac,_0x37c65a){const _0x44c99f=_0x461261;if(_0x165eac){const _0x41af52=_0x1ee75d(_0x165eac)?_0x165eac[_0x44c99f(0x163)]:_0x21c0fe(_0x165eac)[_0x44c99f(0x1b9)];_0x37c456[_0x44c99f(0x1ff)]?_0x37c456[_0x44c99f(0x1ab)]['_bufferedBytes']+=_0x41af52:_0x37c456[_0x44c99f(0x125)]+=_0x41af52;}if(_0x37c65a){const _0x2ad66f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x37c456[_0x44c99f(0xcb)]+'\x20('+_0x165891[_0x37c456[_0x44c99f(0xcb)]]+')');process[_0x44c99f(0x196)](_0x37c65a,_0x2ad66f);}}function _0x1317d7(_0x2c35ee,_0x36f720){const _0x2e8591=_0x461261,_0x110e31=this[_0x539572];_0x110e31['_closeFrameReceived']=!0x0,_0x110e31[_0x2e8591(0x14c)]=_0x36f720,_0x110e31[_0x2e8591(0x105)]=_0x2c35ee,_0x110e31[_0x2e8591(0x1ff)][_0x539572]!==void 0x0&&(_0x110e31['_socket']['removeListener'](_0x2e8591(0x12e),_0x2776b2),process[_0x2e8591(0x196)](_0x28902c,_0x110e31[_0x2e8591(0x1ff)]),_0x2c35ee===0x3ed?_0x110e31[_0x2e8591(0x220)]():_0x110e31[_0x2e8591(0x220)](_0x2c35ee,_0x36f720));}function _0x2d987f(){const _0x2781ee=_0x461261,_0x3ba83b=this[_0x539572];_0x3ba83b[_0x2781ee(0x202)]||_0x3ba83b[_0x2781ee(0x1ff)][_0x2781ee(0x1d5)]();}function _0x334d7e(_0xa77bca){const _0xb9ff7e=_0x461261,_0x32d267=this[_0x539572];_0x32d267[_0xb9ff7e(0x1ff)][_0x539572]!==void 0x0&&(_0x32d267[_0xb9ff7e(0x1ff)][_0xb9ff7e(0x218)](_0xb9ff7e(0x12e),_0x2776b2),process['nextTick'](_0x28902c,_0x32d267[_0xb9ff7e(0x1ff)]),_0x32d267[_0xb9ff7e(0x220)](_0xa77bca[_0x29f2f9])),_0x32d267[_0xb9ff7e(0x161)]||(_0x32d267['_errorEmitted']=!0x0,_0x32d267['emit'](_0xb9ff7e(0x24c),_0xa77bca));}function _0x14d653(){this[_0x539572]['emitClose']();}function _0x5f5761(_0x1ad14c,_0xf42108){const _0x3e3fce=_0x461261;this[_0x539572][_0x3e3fce(0x174)](_0x3e3fce(0x133),_0x1ad14c,_0xf42108);}function _0xa12b24(_0x1eeb71){const _0x32b83e=_0x461261,_0x37b806=this[_0x539572];_0x37b806[_0x32b83e(0xe5)]&&_0x37b806['pong'](_0x1eeb71,!this[_0x32b83e(0x158)],_0x159c1b),_0x37b806[_0x32b83e(0x174)](_0x32b83e(0x242),_0x1eeb71);}function _0x24a5f2(_0x4e6fc0){const _0x133692=_0x461261;this[_0x539572][_0x133692(0x174)](_0x133692(0xb9),_0x4e6fc0);}function _0x28902c(_0x5ac9c3){_0x5ac9c3['resume']();}function _0x1e03ac(_0x352bef){const _0x5eb33c=_0x461261,_0x2120ec=this[_0x539572];_0x2120ec[_0x5eb33c(0xcb)]!==_0x20309f['CLOSED']&&(_0x2120ec['readyState']===_0x20309f[_0x5eb33c(0x1b2)]&&(_0x2120ec[_0x5eb33c(0x1e2)]=_0x20309f[_0x5eb33c(0x253)],_0x5704aa(_0x2120ec)),this['_socket'][_0x5eb33c(0x140)](),_0x2120ec[_0x5eb33c(0x161)]||(_0x2120ec[_0x5eb33c(0x161)]=!0x0,_0x2120ec['emit'](_0x5eb33c(0x24c),_0x352bef)));}function _0x5704aa(_0x5a985c){const _0x13fc45=_0x461261;_0x5a985c[_0x13fc45(0x106)]=setTimeout(_0x5a985c['_socket']['destroy']['bind'](_0x5a985c[_0x13fc45(0x1ff)]),_0x72ab35);}function _0x5e3097(){const _0x3411c5=_0x461261,_0x571531=this[_0x539572];this[_0x3411c5(0x218)](_0x3411c5(0x220),_0x5e3097),this[_0x3411c5(0x218)]('data',_0x2776b2),this['removeListener'](_0x3411c5(0x140),_0x5f309e),_0x571531[_0x3411c5(0x1e2)]=_0x20309f[_0x3411c5(0x253)];let _0x1ccea9;!this[_0x3411c5(0x1e0)][_0x3411c5(0x126)]&&!_0x571531[_0x3411c5(0x153)]&&!_0x571531[_0x3411c5(0x1d0)][_0x3411c5(0x22c)][_0x3411c5(0xf4)]&&(_0x1ccea9=_0x571531[_0x3411c5(0x1ff)][_0x3411c5(0x1e1)]())!==null&&_0x571531['_receiver'][_0x3411c5(0x19a)](_0x1ccea9),_0x571531[_0x3411c5(0x1d0)][_0x3411c5(0x140)](),this[_0x539572]=void 0x0,clearTimeout(_0x571531['_closeTimer']),_0x571531['_receiver']['_writableState']['finished']||_0x571531[_0x3411c5(0x1d0)]['_writableState'][_0x3411c5(0xf4)]?_0x571531[_0x3411c5(0x23b)]():(_0x571531[_0x3411c5(0x1d0)]['on'](_0x3411c5(0x24c),_0x14d653),_0x571531[_0x3411c5(0x1d0)]['on'](_0x3411c5(0x145),_0x14d653));}function _0x2776b2(_0x45bb05){const _0x354f3c=_0x461261;this[_0x539572]['_receiver'][_0x354f3c(0x19a)](_0x45bb05)||this['pause']();}function _0x5f309e(){const _0xc13a8b=_0x461261,_0xfe26c8=this[_0x539572];_0xfe26c8[_0xc13a8b(0x1e2)]=_0x20309f[_0xc13a8b(0x253)],_0xfe26c8[_0xc13a8b(0x1d0)][_0xc13a8b(0x140)](),this['end']();}function _0xf374f3(){const _0x31ae38=_0x461261,_0x52f1c5=this[_0x539572];this['removeListener']('error',_0xf374f3),this['on'](_0x31ae38(0x24c),_0x159c1b),_0x52f1c5&&(_0x52f1c5['_readyState']=_0x20309f[_0x31ae38(0x253)],this['destroy']());}return we;}function _0x4697(_0x239048,_0x2a142d){const _0x3e38e2=_0x3e38();return _0x4697=function(_0x469741,_0x3d395a){_0x469741=_0x469741-0x9e;let _0x4c8370=_0x3e38e2[_0x469741];return _0x4c8370;},_0x4697(_0x239048,_0x2a142d);}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xb29edd}=oe;function _0xd4f375(_0xbc67a){const _0x5c234f=_0x4697;_0xbc67a[_0x5c234f(0x174)](_0x5c234f(0x220));}function _0x13fefb(){const _0x13024a=_0x4697;!this[_0x13024a(0x230)]&&this['_writableState'][_0x13024a(0xbc)]&&this[_0x13024a(0x19f)]();}function _0x3ee748(_0x159ed3){const _0x5e0e33=_0x4697;this[_0x5e0e33(0x218)](_0x5e0e33(0x24c),_0x3ee748),this[_0x5e0e33(0x19f)](),this[_0x5e0e33(0x1f3)](_0x5e0e33(0x24c))===0x0&&this[_0x5e0e33(0x174)](_0x5e0e33(0x24c),_0x159ed3);}function _0x5eae6a(_0x20fd02,_0xe4de0b){const _0x363917=_0x4697;let _0xee023d=!0x0;const _0xa3f144=new _0xb29edd({..._0xe4de0b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x20fd02['on'](_0x363917(0x133),function(_0x3a38cc,_0xa907aa){const _0x1072ed=_0x363917,_0x48cfe6=!_0xa907aa&&_0xa3f144[_0x1072ed(0x1e0)][_0x1072ed(0x1a3)]?_0x3a38cc[_0x1072ed(0xec)]():_0x3a38cc;_0xa3f144[_0x1072ed(0xaa)](_0x48cfe6)||_0x20fd02[_0x1072ed(0xfe)]();}),_0x20fd02[_0x363917(0xb8)]('error',function(_0x567ff8){const _0x39fbf3=_0x363917;_0xa3f144[_0x39fbf3(0x230)]||(_0xee023d=!0x1,_0xa3f144[_0x39fbf3(0x19f)](_0x567ff8));}),_0x20fd02[_0x363917(0xb8)](_0x363917(0x220),function(){const _0xc2c667=_0x363917;_0xa3f144[_0xc2c667(0x230)]||_0xa3f144[_0xc2c667(0xaa)](null);}),_0xa3f144['_destroy']=function(_0x2b445d,_0x4d0df5){const _0x57f138=_0x363917;if(_0x20fd02[_0x57f138(0xcb)]===_0x20fd02[_0x57f138(0x15a)]){_0x4d0df5(_0x2b445d),process[_0x57f138(0x196)](_0xd4f375,_0xa3f144);return;}let _0x482695=!0x1;_0x20fd02[_0x57f138(0xb8)]('error',function(_0x288384){_0x482695=!0x0,_0x4d0df5(_0x288384);}),_0x20fd02[_0x57f138(0xb8)](_0x57f138(0x220),function(){const _0xf6e830=_0x57f138;_0x482695||_0x4d0df5(_0x2b445d),process[_0xf6e830(0x196)](_0xd4f375,_0xa3f144);}),_0xee023d&&_0x20fd02[_0x57f138(0x18e)]();},_0xa3f144[_0x363917(0x1c5)]=function(_0x5a489f){const _0x130938=_0x363917;if(_0x20fd02['readyState']===_0x20fd02['CONNECTING']){_0x20fd02[_0x130938(0xb8)]('open',function(){_0xa3f144['_final'](_0x5a489f);});return;}_0x20fd02[_0x130938(0x1ff)]!==null&&(_0x20fd02[_0x130938(0x1ff)][_0x130938(0x22c)][_0x130938(0xbc)]?(_0x5a489f(),_0xa3f144[_0x130938(0x1e0)][_0x130938(0x126)]&&_0xa3f144[_0x130938(0x19f)]()):(_0x20fd02[_0x130938(0x1ff)][_0x130938(0xb8)](_0x130938(0x145),function(){_0x5a489f();}),_0x20fd02[_0x130938(0x220)]()));},_0xa3f144[_0x363917(0x136)]=function(){const _0x128e42=_0x363917;_0x20fd02[_0x128e42(0x202)]&&_0x20fd02[_0x128e42(0x1d5)]();},_0xa3f144[_0x363917(0xf6)]=function(_0x4f335c,_0x4524b9,_0x44148a){const _0x35f4eb=_0x363917;if(_0x20fd02[_0x35f4eb(0xcb)]===_0x20fd02[_0x35f4eb(0x24f)]){_0x20fd02[_0x35f4eb(0xb8)]('open',function(){const _0x134d25=_0x35f4eb;_0xa3f144[_0x134d25(0xf6)](_0x4f335c,_0x4524b9,_0x44148a);});return;}_0x20fd02[_0x35f4eb(0x1d7)](_0x4f335c,_0x44148a);},_0xa3f144['on'](_0x363917(0x140),_0x13fefb),_0xa3f144['on'](_0x363917(0x24c),_0x3ee748),_0xa3f144;}return Oe=_0x5eae6a,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3d00b3}=ae();function _0x3d9973(_0xf8209b){const _0x3139f1=_0x4697,_0xcb2c36=new Set();let _0x11c8a1=-0x1,_0x2422dc=-0x1,_0x3cc1f7=0x0;for(_0x3cc1f7;_0x3cc1f7<_0xf8209b['length'];_0x3cc1f7++){const _0x1bdb78=_0xf8209b[_0x3139f1(0x129)](_0x3cc1f7);if(_0x2422dc===-0x1&&_0x3d00b3[_0x1bdb78]===0x1)_0x11c8a1===-0x1&&(_0x11c8a1=_0x3cc1f7);else{if(_0x3cc1f7!==0x0&&(_0x1bdb78===0x20||_0x1bdb78===0x9))_0x2422dc===-0x1&&_0x11c8a1!==-0x1&&(_0x2422dc=_0x3cc1f7);else{if(_0x1bdb78===0x2c){if(_0x11c8a1===-0x1)throw new SyntaxError(_0x3139f1(0x101)+_0x3cc1f7);_0x2422dc===-0x1&&(_0x2422dc=_0x3cc1f7);const _0xb2a2ca=_0xf8209b[_0x3139f1(0x1ee)](_0x11c8a1,_0x2422dc);if(_0xcb2c36[_0x3139f1(0x214)](_0xb2a2ca))throw new SyntaxError(_0x3139f1(0x244)+_0xb2a2ca+_0x3139f1(0xc5));_0xcb2c36[_0x3139f1(0xfa)](_0xb2a2ca),_0x11c8a1=_0x2422dc=-0x1;}else throw new SyntaxError(_0x3139f1(0x101)+_0x3cc1f7);}}}if(_0x11c8a1===-0x1||_0x2422dc!==-0x1)throw new SyntaxError(_0x3139f1(0x252));const _0x260bc4=_0xf8209b[_0x3139f1(0x1ee)](_0x11c8a1,_0x3cc1f7);if(_0xcb2c36[_0x3139f1(0x214)](_0x260bc4))throw new SyntaxError('The\x20\x22'+_0x260bc4+_0x3139f1(0xc5));return _0xcb2c36[_0x3139f1(0xfa)](_0x260bc4),_0xcb2c36;}return Ce={'parse':_0x3d9973},Ce;}var Te,rt;function Ft(){const _0x1477d1=_0x29b3bc;if(rt)return Te;rt=0x1;const _0x3c7a4a=nt,_0x238c76=ot,{Duplex:_0x33ca4e}=oe,{createHash:_0x5749e9}=Le,_0x1950ae=ct(),_0x578eee=he(),_0x4bdf65=At(),_0x2409a0=Pe(),{GUID:_0x4532de,kWebSocket:_0x90840c}=H(),_0x5b422c=/^[+/0-9A-Za-z]{22}==$/,_0x183412=0x0,_0x399b8e=0x1,_0x4e4ab7=0x2;class _0x4425a9 extends _0x3c7a4a{constructor(_0x6d604f,_0x4f22fe){const _0x1f24c0=_0x4697;if(super(),_0x6d604f={'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':_0x2409a0,..._0x6d604f},_0x6d604f[_0x1f24c0(0x110)]==null&&!_0x6d604f[_0x1f24c0(0x1f1)]&&!_0x6d604f['noServer']||_0x6d604f[_0x1f24c0(0x110)]!=null&&(_0x6d604f['server']||_0x6d604f[_0x1f24c0(0x16e)])||_0x6d604f[_0x1f24c0(0x1f1)]&&_0x6d604f[_0x1f24c0(0x16e)])throw new TypeError(_0x1f24c0(0x178));if(_0x6d604f[_0x1f24c0(0x110)]!=null?(this['_server']=_0x238c76[_0x1f24c0(0xaf)]((_0x3d0c6f,_0x3cb46b)=>{const _0x36474e=_0x1f24c0,_0x1752b4=_0x238c76['STATUS_CODES'][0x1aa];_0x3cb46b[_0x36474e(0x166)](0x1aa,{'Content-Length':_0x1752b4[_0x36474e(0x1b9)],'Content-Type':_0x36474e(0x1ed)}),_0x3cb46b[_0x36474e(0x140)](_0x1752b4);}),this[_0x1f24c0(0x160)]['listen'](_0x6d604f['port'],_0x6d604f[_0x1f24c0(0xe7)],_0x6d604f[_0x1f24c0(0x23f)],_0x4f22fe)):_0x6d604f[_0x1f24c0(0x1f1)]&&(this['_server']=_0x6d604f['server']),this['_server']){const _0x3f0de2=this[_0x1f24c0(0x174)][_0x1f24c0(0x175)](this,'connection');this['_removeListeners']=_0x2a3f59(this[_0x1f24c0(0x160)],{'listening':this[_0x1f24c0(0x174)][_0x1f24c0(0x175)](this,_0x1f24c0(0x165)),'error':this['emit'][_0x1f24c0(0x175)](this,'error'),'upgrade':(_0x4fbeb2,_0x4ce1c2,_0x112f60)=>{const _0x4a148f=_0x1f24c0;this[_0x4a148f(0x169)](_0x4fbeb2,_0x4ce1c2,_0x112f60,_0x3f0de2);}});}_0x6d604f['perMessageDeflate']===!0x0&&(_0x6d604f[_0x1f24c0(0x156)]={}),_0x6d604f['clientTracking']&&(this[_0x1f24c0(0x191)]=new Set(),this[_0x1f24c0(0x1a0)]=!0x1),this[_0x1f24c0(0x12b)]=_0x6d604f,this[_0x1f24c0(0x22b)]=_0x183412;}[_0x1477d1(0x24d)](){const _0x2bb9e4=_0x1477d1;if(this[_0x2bb9e4(0x12b)][_0x2bb9e4(0x16e)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x2bb9e4(0x160)]?this[_0x2bb9e4(0x160)]['address']():null;}[_0x1477d1(0x220)](_0x206814){const _0x3dde05=_0x1477d1;if(this['_state']===_0x4e4ab7){_0x206814&&this[_0x3dde05(0xb8)]('close',()=>{const _0x1db301=_0x3dde05;_0x206814(new Error(_0x1db301(0x227)));}),process['nextTick'](_0x3cea69,this);return;}if(_0x206814&&this[_0x3dde05(0xb8)](_0x3dde05(0x220),_0x206814),this['_state']!==_0x399b8e){if(this[_0x3dde05(0x22b)]=_0x399b8e,this[_0x3dde05(0x12b)][_0x3dde05(0x16e)]||this[_0x3dde05(0x12b)][_0x3dde05(0x1f1)])this[_0x3dde05(0x160)]&&(this[_0x3dde05(0x173)](),this[_0x3dde05(0x173)]=this[_0x3dde05(0x160)]=null),this[_0x3dde05(0x191)]?this[_0x3dde05(0x191)][_0x3dde05(0x163)]?this[_0x3dde05(0x1a0)]=!0x0:process['nextTick'](_0x3cea69,this):process['nextTick'](_0x3cea69,this);else{const _0xf9bfd9=this[_0x3dde05(0x160)];this[_0x3dde05(0x173)](),this[_0x3dde05(0x173)]=this[_0x3dde05(0x160)]=null,_0xf9bfd9[_0x3dde05(0x220)](()=>{_0x3cea69(this);});}}}[_0x1477d1(0x24a)](_0x2c0806){const _0x3bb76d=_0x1477d1;if(this[_0x3bb76d(0x12b)][_0x3bb76d(0x245)]){const _0x34b137=_0x2c0806[_0x3bb76d(0x1e4)][_0x3bb76d(0xc0)]('?');if((_0x34b137!==-0x1?_0x2c0806[_0x3bb76d(0x1e4)][_0x3bb76d(0x1ee)](0x0,_0x34b137):_0x2c0806[_0x3bb76d(0x1e4)])!==this[_0x3bb76d(0x12b)][_0x3bb76d(0x245)])return!0x1;}return!0x0;}[_0x1477d1(0x169)](_0x88db0c,_0x782ccb,_0x205047,_0x37f665){const _0x123dc1=_0x1477d1;_0x782ccb['on'](_0x123dc1(0x24c),_0x210594);const _0x21b050=_0x88db0c['headers']['sec-websocket-key'],_0x137b95=_0x88db0c[_0x123dc1(0x12a)]['upgrade'],_0x12ecc2=+_0x88db0c['headers']['sec-websocket-version'];if(_0x88db0c[_0x123dc1(0x12f)]!==_0x123dc1(0x10d)){_0x4123d9(this,_0x88db0c,_0x782ccb,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x137b95===void 0x0||_0x137b95[_0x123dc1(0xdf)]()!==_0x123dc1(0x1ca)){_0x4123d9(this,_0x88db0c,_0x782ccb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x21b050===void 0x0||!_0x5b422c['test'](_0x21b050)){_0x4123d9(this,_0x88db0c,_0x782ccb,0x190,_0x123dc1(0xd9));return;}if(_0x12ecc2!==0xd&&_0x12ecc2!==0x8){_0x4123d9(this,_0x88db0c,_0x782ccb,0x190,_0x123dc1(0xc1),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x123dc1(0x24a)](_0x88db0c)){_0x2c7c4f(_0x782ccb,0x190);return;}const _0xc9a1db=_0x88db0c[_0x123dc1(0x12a)][_0x123dc1(0x192)];let _0x5aec37=new Set();if(_0xc9a1db!==void 0x0)try{_0x5aec37=_0x4bdf65[_0x123dc1(0x1f8)](_0xc9a1db);}catch{_0x4123d9(this,_0x88db0c,_0x782ccb,0x190,_0x123dc1(0x16f));return;}const _0x15fd71=_0x88db0c[_0x123dc1(0x12a)][_0x123dc1(0x1fc)],_0x59b571={};if(this[_0x123dc1(0x12b)][_0x123dc1(0x156)]&&_0x15fd71!==void 0x0){const _0x1fc059=new _0x578eee(this[_0x123dc1(0x12b)][_0x123dc1(0x156)],!0x0,this[_0x123dc1(0x12b)][_0x123dc1(0xbf)]);try{const _0x5e8fdd=_0x1950ae[_0x123dc1(0x1f8)](_0x15fd71);_0x5e8fdd[_0x578eee['extensionName']]&&(_0x1fc059['accept'](_0x5e8fdd[_0x578eee[_0x123dc1(0x210)]]),_0x59b571[_0x578eee[_0x123dc1(0x210)]]=_0x1fc059);}catch{_0x4123d9(this,_0x88db0c,_0x782ccb,0x190,_0x123dc1(0x18d));return;}}if(this['options'][_0x123dc1(0x120)]){const _0x10dd3f={'origin':_0x88db0c[_0x123dc1(0x12a)][''+(_0x12ecc2===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x88db0c[_0x123dc1(0x1cb)][_0x123dc1(0x149)]||_0x88db0c[_0x123dc1(0x1cb)]['encrypted']),'req':_0x88db0c};if(this[_0x123dc1(0x12b)][_0x123dc1(0x120)][_0x123dc1(0x1b9)]===0x2){this['options'][_0x123dc1(0x120)](_0x10dd3f,(_0x2d510e,_0x11f031,_0x36965b,_0x2d8ef2)=>{const _0x5ec4ce=_0x123dc1;if(!_0x2d510e)return _0x2c7c4f(_0x782ccb,_0x11f031||0x191,_0x36965b,_0x2d8ef2);this[_0x5ec4ce(0x177)](_0x59b571,_0x21b050,_0x5aec37,_0x88db0c,_0x782ccb,_0x205047,_0x37f665);});return;}if(!this[_0x123dc1(0x12b)][_0x123dc1(0x120)](_0x10dd3f))return _0x2c7c4f(_0x782ccb,0x191);}this[_0x123dc1(0x177)](_0x59b571,_0x21b050,_0x5aec37,_0x88db0c,_0x782ccb,_0x205047,_0x37f665);}['completeUpgrade'](_0x5e27bc,_0x4dce9e,_0xdfc91,_0x317bb2,_0x43ba6a,_0x4448b6,_0x5deb28){const _0x241fdb=_0x1477d1;if(!_0x43ba6a[_0x241fdb(0xeb)]||!_0x43ba6a[_0x241fdb(0x21f)])return _0x43ba6a['destroy']();if(_0x43ba6a[_0x90840c])throw new Error(_0x241fdb(0x23d));if(this[_0x241fdb(0x22b)]>_0x183412)return _0x2c7c4f(_0x43ba6a,0x1f7);const _0x5bd1bc=[_0x241fdb(0x10a),_0x241fdb(0x148),_0x241fdb(0xfc),_0x241fdb(0xb5)+_0x5749e9(_0x241fdb(0x159))[_0x241fdb(0x157)](_0x4dce9e+_0x4532de)[_0x241fdb(0xd7)]('base64')],_0x58cc5f=new this[(_0x241fdb(0x12b))][(_0x241fdb(0x164))](null,void 0x0,this[_0x241fdb(0x12b)]);if(_0xdfc91[_0x241fdb(0x163)]){const _0x5c3f9b=this[_0x241fdb(0x12b)][_0x241fdb(0x1c4)]?this[_0x241fdb(0x12b)]['handleProtocols'](_0xdfc91,_0x317bb2):_0xdfc91[_0x241fdb(0x15e)]()[_0x241fdb(0x255)]()[_0x241fdb(0x107)];_0x5c3f9b&&(_0x5bd1bc[_0x241fdb(0xaa)](_0x241fdb(0x11c)+_0x5c3f9b),_0x58cc5f[_0x241fdb(0xab)]=_0x5c3f9b);}if(_0x5e27bc[_0x578eee[_0x241fdb(0x210)]]){const _0x201ed9=_0x5e27bc[_0x578eee[_0x241fdb(0x210)]]['params'],_0x577430=_0x1950ae[_0x241fdb(0x18a)]({[_0x578eee[_0x241fdb(0x210)]]:[_0x201ed9]});_0x5bd1bc[_0x241fdb(0xaa)](_0x241fdb(0xd8)+_0x577430),_0x58cc5f['_extensions']=_0x5e27bc;}this[_0x241fdb(0x174)](_0x241fdb(0x12a),_0x5bd1bc,_0x317bb2),_0x43ba6a[_0x241fdb(0x19a)](_0x5bd1bc['concat']('\x0d\x0a')[_0x241fdb(0xb3)]('\x0d\x0a')),_0x43ba6a['removeListener'](_0x241fdb(0x24c),_0x210594),_0x58cc5f[_0x241fdb(0x207)](_0x43ba6a,_0x4448b6,{'allowSynchronousEvents':this['options'][_0x241fdb(0xcd)],'maxPayload':this[_0x241fdb(0x12b)]['maxPayload'],'skipUTF8Validation':this[_0x241fdb(0x12b)]['skipUTF8Validation']}),this[_0x241fdb(0x191)]&&(this[_0x241fdb(0x191)]['add'](_0x58cc5f),_0x58cc5f['on'](_0x241fdb(0x220),()=>{const _0x3b51bf=_0x241fdb;this['clients']['delete'](_0x58cc5f),this[_0x3b51bf(0x1a0)]&&!this[_0x3b51bf(0x191)][_0x3b51bf(0x163)]&&process[_0x3b51bf(0x196)](_0x3cea69,this);})),_0x5deb28(_0x58cc5f,_0x317bb2);}}Te=_0x4425a9;function _0x2a3f59(_0x1006f9,_0x50d5d3){for(const _0x242224 of Object['keys'](_0x50d5d3))_0x1006f9['on'](_0x242224,_0x50d5d3[_0x242224]);return function(){const _0x4e503e=_0x4697;for(const _0x140ba6 of Object['keys'](_0x50d5d3))_0x1006f9[_0x4e503e(0x218)](_0x140ba6,_0x50d5d3[_0x140ba6]);};}function _0x3cea69(_0x5db605){const _0x39088e=_0x1477d1;_0x5db605[_0x39088e(0x22b)]=_0x4e4ab7,_0x5db605[_0x39088e(0x174)](_0x39088e(0x220));}function _0x210594(){const _0x974f82=_0x1477d1;this[_0x974f82(0x19f)]();}function _0x2c7c4f(_0x17e40f,_0x264f4a,_0xf2457e,_0x509c04){const _0x5dd5d3=_0x1477d1;_0xf2457e=_0xf2457e||_0x238c76[_0x5dd5d3(0x102)][_0x264f4a],_0x509c04={'Connection':_0x5dd5d3(0x220),'Content-Type':_0x5dd5d3(0x1bd),'Content-Length':Buffer[_0x5dd5d3(0xcc)](_0xf2457e),..._0x509c04},_0x17e40f['once']('finish',_0x17e40f['destroy']),_0x17e40f['end'](_0x5dd5d3(0x17b)+_0x264f4a+'\x20'+_0x238c76[_0x5dd5d3(0x102)][_0x264f4a]+'\x0d\x0a'+Object[_0x5dd5d3(0xad)](_0x509c04)[_0x5dd5d3(0x144)](_0x5e7368=>_0x5e7368+':\x20'+_0x509c04[_0x5e7368])[_0x5dd5d3(0xb3)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xf2457e);}function _0x4123d9(_0x3c0789,_0x2a11c8,_0x16373f,_0x12c2b5,_0x3ec478,_0x4709d0){const _0x43effd=_0x1477d1;if(_0x3c0789[_0x43effd(0x1f3)]('wsClientError')){const _0x59a4da=new Error(_0x3ec478);Error['captureStackTrace'](_0x59a4da,_0x4123d9),_0x3c0789['emit']('wsClientError',_0x59a4da,_0x16373f,_0x2a11c8);}else _0x2c7c4f(_0x16373f,_0x12c2b5,_0x3ec478,_0x4709d0);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x1d812b,_0x318981,_0x5002d9,_0x39fbc9)=>{const _0x353e3c=_0x29b3bc;for(var _0x1eefbf=_0x39fbc9>0x1?void 0x0:_0x39fbc9?jt(_0x318981,_0x5002d9):_0x318981,_0x40bfd7=_0x1d812b[_0x353e3c(0x1b9)]-0x1,_0x15acff;_0x40bfd7>=0x0;_0x40bfd7--)(_0x15acff=_0x1d812b[_0x40bfd7])&&(_0x1eefbf=_0x15acff(_0x1eefbf)||_0x1eefbf);return _0x1eefbf;},qt=(_0x509826,_0x35c9ed)=>(_0x3374eb,_0x196041)=>_0x35c9ed(_0x3374eb,_0x196041,_0x509826);let ke=class extends A[_0x29b3bc(0x21c)]{constructor(_0x245698){const _0x1d1370=_0x29b3bc;super(),this[_0x1d1370(0x1d1)]=_0x245698;}['createSocket'](_0x30d2e2){const _0xf4a60b=_0x29b3bc;var _0x549aad;const _0x1ab56=(_0x549aad=this[_0xf4a60b(0x1d1)][_0xf4a60b(0x1be)](fe))==null?void 0x0:_0x549aad['customHeaders'];try{const _0x3df52e=new $t(_0x30d2e2,{'headers':{..._0x1ab56}}),_0x13f63b=new A[(_0xf4a60b(0x123))]();return{'URL':_0x30d2e2,'close':(_0x44db58,_0x2fd61c)=>{const _0x270f78=_0xf4a60b;_0x3df52e[_0x270f78(0x220)](_0x44db58,_0x2fd61c),_0x13f63b[_0x270f78(0x13f)]();},'send':_0x1ba25d=>{const _0x384c95=_0xf4a60b;_0x3df52e[_0x384c95(0x1d7)](_0x1ba25d);},'open$':new V[(_0xf4a60b(0x113))](_0x3f1389=>{const _0x375676=_0xf4a60b,_0x53a168=_0x3a238c=>_0x3f1389[_0x375676(0x255)](_0x3a238c);_0x3df52e[_0x375676(0x258)](_0x375676(0x103),_0x53a168),_0x13f63b[_0x375676(0xfa)](A['toDisposable'](()=>_0x3df52e[_0x375676(0x13d)]('open',_0x53a168)));})[_0xf4a60b(0x1e5)](V[_0xf4a60b(0x1d8)]()),'close$':new V['Observable'](_0x228d46=>{const _0xa9817b=_0xf4a60b,_0x409cef=_0x10224e=>_0x228d46[_0xa9817b(0x255)](_0x10224e);_0x3df52e['addEventListener'](_0xa9817b(0x220),_0x409cef),_0x13f63b[_0xa9817b(0xfa)](A['toDisposable'](()=>_0x3df52e[_0xa9817b(0x13d)](_0xa9817b(0x220),_0x409cef)));})[_0xf4a60b(0x1e5)](V['share']()),'error$':new V[(_0xf4a60b(0x113))](_0x1ba939=>{const _0x12eba4=_0xf4a60b,_0x354ef1=_0x5767f1=>_0x1ba939[_0x12eba4(0x255)](_0x5767f1);_0x3df52e[_0x12eba4(0x258)]('error',_0x354ef1),_0x13f63b[_0x12eba4(0xfa)](A[_0x12eba4(0x137)](()=>_0x3df52e[_0x12eba4(0x13d)](_0x12eba4(0x24c),_0x354ef1)));})[_0xf4a60b(0x1e5)](V[_0xf4a60b(0x1d8)]()),'message$':new V[(_0xf4a60b(0x113))](_0x4dd336=>{const _0x37ff82=_0xf4a60b,_0x577b4a=_0x43557f=>_0x4dd336[_0x37ff82(0x255)](_0x43557f);_0x3df52e[_0x37ff82(0x258)](_0x37ff82(0x133),_0x577b4a),_0x13f63b[_0x37ff82(0xfa)](A[_0x37ff82(0x137)](()=>_0x3df52e[_0x37ff82(0x13d)]('message',_0x577b4a)));})[_0xf4a60b(0x1e5)](V[_0xf4a60b(0x1d8)]())};}catch(_0x1c5592){return console[_0xf4a60b(0x24c)](_0x1c5592),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x29b3bc(0x119)],Vt=Object[_0x29b3bc(0x19e)],Ht=(_0x256cb9,_0x1e11f1,_0x5b457d)=>_0x1e11f1 in _0x256cb9?Gt(_0x256cb9,_0x1e11f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b457d}):_0x256cb9[_0x1e11f1]=_0x5b457d,zt=(_0x165b4b,_0xc278e4,_0xf4dd0d,_0x3c1bbb)=>{const _0x49cc85=_0x29b3bc;for(var _0x5347e5=_0x3c1bbb>0x1?void 0x0:_0x3c1bbb?Vt(_0xc278e4,_0xf4dd0d):_0xc278e4,_0x29ea1c=_0x165b4b[_0x49cc85(0x1b9)]-0x1,_0x5c12a0;_0x29ea1c>=0x0;_0x29ea1c--)(_0x5c12a0=_0x165b4b[_0x29ea1c])&&(_0x5347e5=_0x5c12a0(_0x5347e5)||_0x5347e5);return _0x5347e5;},Ne=(_0x1b3122,_0xe880e3)=>(_0x262a28,_0xf3cadd)=>_0xe880e3(_0x262a28,_0xf3cadd,_0x1b3122),Yt=(_0x36de07,_0x12d7d5,_0x4366ff)=>Ht(_0x36de07,_0x12d7d5+'',_0x4366ff);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x29b3bc(0xa3)]{constructor(_0xeab93b=Ct,_0x2104ad,_0x2a46e5,_0x11469f){const _0x1fe50d=_0x29b3bc;_0xeab93b[_0x1fe50d(0xb6)]||_0x2104ad[_0x1fe50d(0xd3)](_0x1fe50d(0xf3)),super(),this[_0x1fe50d(0x1d1)]=_0x2a46e5,this[_0x1fe50d(0xea)]=_0x11469f,this[_0x1fe50d(0x1d1)][_0x1fe50d(0x19b)](fe,_0xeab93b);}[_0x29b3bc(0x108)](){const _0x20b0f0=_0x29b3bc;this[_0x20b0f0(0x241)]();}[_0x29b3bc(0x241)](){const _0x3bccf8=_0x29b3bc;A['registerDependencies'](this[_0x3bccf8(0xea)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x29b3bc(0xf1)],_0x29b3bc(0x138),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x29b3bc(0xf1)]=zt([A['DependentOn'](st[_0x29b3bc(0x1c9)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x29b3bc(0x240)]),Ne(0x3,A['Inject'](A[_0x29b3bc(0xce)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x29b3bc(0x19e)],Xt=(_0x298826,_0x338f7f,_0x198168,_0x176860)=>{for(var _0x4f47b3=_0x176860>0x1?void 0x0:_0x176860?Kt(_0x338f7f,_0x198168):_0x338f7f,_0x4c1620=_0x298826['length']-0x1,_0x323c63;_0x4c1620>=0x0;_0x4c1620--)(_0x323c63=_0x298826[_0x4c1620])&&(_0x4f47b3=_0x323c63(_0x4f47b3)||_0x4f47b3);return _0x4f47b3;},ne=(_0x486394,_0x5c29c5)=>(_0x310d75,_0x1886c0)=>_0x5c29c5(_0x310d75,_0x1886c0,_0x486394);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x3e83df,_0x23478e,_0xdfb03,_0x1a1344,_0x3afcfa){const _0x34521c=_0x29b3bc;super(_0x3e83df,_0x23478e,_0xdfb03,_0x1a1344,_0x3afcfa);const _0x51ca9f=this['_configService'][_0x34521c(0x1be)](fe);this[_0x34521c(0x9f)][_0x34521c(0xe6)]({'interceptor':(_0x4f9012,_0x2679d3)=>{const _0xc85ae7=_0x34521c;var _0x564a67;const _0x8c5666=_0x4f9012[_0xc85ae7(0x12a)];return(_0x564a67=_0x51ca9f==null?void 0x0:_0x51ca9f[_0xc85ae7(0xb6)])!=null&&_0x564a67[_0xc85ae7(0xd6)]&&_0x8c5666[_0xc85ae7(0x1fa)]('Cookie',_0x51ca9f[_0xc85ae7(0xb6)][_0xc85ae7(0xd6)]),_0x2679d3(_0x4f9012);}});}async['createSocket'](_0x17f00f){const _0x3450f4=_0x29b3bc;return this[_0x3450f4(0x146)](_0x17f00f);}},exports[_0x29b3bc(0x134)]=Xt([ne(0x0,A[_0x29b3bc(0x239)](A[_0x29b3bc(0xce)])),ne(0x1,A['Inject'](it[_0x29b3bc(0x16d)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x29b3bc(0x1f0)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x29b3bc(0x134)]),exports[_0x29b3bc(0x189)]=fe;
|