@univerjs-pro/collaboration-client-node 0.9.4-nightly.202507290713 → 0.9.4-nightly.202507290757
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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3bdb(_0x94bf2b,_0x3fab8c){const _0x509a21=_0x509a();return _0x3bdb=function(_0x3bdb79,_0x4dab34){_0x3bdb79=_0x3bdb79-0xb8;let _0x101b28=_0x509a21[_0x3bdb79];return _0x101b28;},_0x3bdb(_0x94bf2b,_0x3fab8c);}const _0x4529b5=_0x3bdb;(function(_0xd13986,_0x40c9fb){const _0x4cef79=_0x3bdb,_0x290618=_0xd13986();while(!![]){try{const _0x4d0db7=-parseInt(_0x4cef79(0xf7))/0x1+-parseInt(_0x4cef79(0x128))/0x2*(parseInt(_0x4cef79(0x1c3))/0x3)+parseInt(_0x4cef79(0x22a))/0x4+-parseInt(_0x4cef79(0x1af))/0x5*(parseInt(_0x4cef79(0x19d))/0x6)+parseInt(_0x4cef79(0x1d2))/0x7*(parseInt(_0x4cef79(0x12f))/0x8)+-parseInt(_0x4cef79(0x1dd))/0x9+-parseInt(_0x4cef79(0x259))/0xa*(-parseInt(_0x4cef79(0x1d5))/0xb);if(_0x4d0db7===_0x40c9fb)break;else _0x290618['push'](_0x290618['shift']());}catch(_0x1e4dcd){_0x290618['push'](_0x290618['shift']());}}}(_0x509a,0x481e6));import{UniverCollaborationClientPlugin as _0x35f881,CollaborationSocketService as _0x56913c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x692adf,DisposableCollection as _0x5b8db9,toDisposable as _0x4be717,IConfigService as _0x1acf26,DependentOn as _0x3f8093,ILogService as _0x5d0567,Inject as _0x167b3f,Injector as _0x4ebd66,Plugin as _0x35bdf7,registerDependencies as _0x151033}from'@univerjs/core';import{ISocketService as _0x4a6af8,HTTPService as _0xe89b69}from'@univerjs/network';import{Observable as _0x56a881,share as _0x297777}from'rxjs';import _0x552cdd from'events';import _0x1e711e from'https';import _0x4dca3a from'http';import _0x347111 from'net';import _0x37b66f from'tls';import _0x8cb1a9 from'crypto';import _0x5a8f10 from'stream';import _0x51b825 from'url';import _0x2c683d from'zlib';import _0x2e8138 from'buffer';import{ISnapshotServerService as _0x4442f4}from'@univerjs-pro/collaboration';const Be=_0x4529b5(0x126),Ft={'customHeaders':{}};function _0x509a(){const _0x568e80=['_destroy','default','_state','wss:','5oBSwbB','consume','emitClose','encrypted','binary','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','reason','isArray','invalid\x20UTF-8\x20sequence','_closeFrameReceived','toLowerCase','close','_originalSecure','species','permessage-deflate','cookie','finished','controlMessage','onopen','_configService','1452OMkYjv','_doCreateSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_writableState','_allowSynchronousEvents','prototype','opcode','read','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_queue','_removeListeners','pipe','function','text/plain','pong','28vmrMZe','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','451FCipDS','readOnly','type','host','MASK\x20must\x20be\x20clear','map','terminate','password','3722040EiOHOK','WS_ERR_EXPECTED_MASK','auth','readUInt32BE','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','Invalid\x20WebSocket\x20frame:\x20','get','_final','Server\x20sent\x20an\x20invalid\x20subprotocol','captureStackTrace','kWasClean','CONNECTING','Unexpected\x20server\x20response:\x20','charCodeAt','client_no_context_takeover','__esModule','removeEventListener','setSocket','handleUpgrade','isValidUTF8','\x22\x20must\x20have\x20only\x20a\x20single\x20value','username','getData','clientMaxWindowBits','https:','text/html','format','fin','protocol','connection','_no_context_takeover','_protocol','removeListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-protocol','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','parse','pathname','compress','length','redirect','concat','unexpected-response','_closeMessage','GET','_fin','_payloadLength','verifyClient','hash','shift','The\x20URL\x27s\x20pathname\x20is\x20empty','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','http:','sec-websocket-version','Upgrade','freeze','_injector','getPayloadLength16','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','CLOSED','flush','setTimeout','_inflate','_receiver','listen','_masked','_originalIpc','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socket','drain','address','Cookie','kDone','_fragmented','from','ws:','listenerCount','68040XuKDeO','split','WS_ERR_INVALID_OPCODE','hostname','href','write','bind','Module','_redirects','defaultPort','Basic\x20','createDeflateRaw','readable','_mask','_compress','origin','_errorEmitted','perMessageDeflate','_write','skipUTF8Validation','update','server_max_window_bits','addEventListener','Invalid\x20value\x20for\x20parameter\x20\x22','construct','buffers','client_max_window_bits','includes','object','_url','concurrency','serverMaxWindowBits','_messageLength','startLoop','isPaused','Invalid\x20Sec-WebSocket-Accept\x20header','headers','getConfig','_opcode','customHeaders','writable','_threshold','server','_bufferedAmount','startsWith','kReason','extensionName','234670eonMJa','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_socket','pow','setHeader','getPayloadLength64','\x22:\x20','clients','_deflate','Connection:\x20Upgrade','_closeFrameSent','statusCode','slice','resume','handleEvent','conclude','removeAllListeners','isServer','Unknown\x20parameter\x20\x22','byteLength','_firstFragment','kMessage','generateMask','RSV1\x20must\x20be\x20clear','sec-websocket-origin','listeners','_max_window_bits','buffer','has','zlibInflateOptions','jobs','frame','haveLength','mask','request','forEach','number','_autoPong','end','_buffers','client','Invalid\x20Upgrade\x20header','isInteger','ping','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isView','kByteLength','rsv1','endEmitted','setNoDelay','target','emit','message','connect','_options','acceptAsClient','base64','authorized','data','sendFrame','_paused','createSocket','maxPayload','kRun','enqueue','server_no_context_takeover','_bufferedBytes','authorization','Sec-WebSocket-Protocol','_skipUTF8Validation','pluginName','exports','unmask','_req','37969vLpRyp','port','kData','nextTick','WS_ERR_UNEXPECTED_MASK','getInfo','stream','delete','_errored','destroyed','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','digest','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isIP','createInflateRaw','defineProperty','replace','_read','decompress','OPEN','Z_SYNC_FLUSH','\x22\x20subprotocol\x20is\x20duplicated','Invalid\x20URL:\x20','once','_readyState','acceptAsServer','nodebuffer','listening','search','string','_compressed','WS_NO_BUFFER_UTIL','createConnection','set','abort','apply','_closeCode','readyState','sec-websocket-extensions','timeout','wasClean','toStringTag','Parameter\x20\x22','Invalid\x20Sec-WebSocket-Extensions\x20header','entries','unshift','_totalPayloadLength','collaboration-client-node.config','completeUpgrade','1594HYOEzJ','onclose','servername','bufferedAmount','Sec-WebSocket-Origin','kCode','size','488792IsYeFL','join','MASK\x20must\x20be\x20set','allocUnsafe','dispatch','Unsupported\x20protocol\x20version:\x20','values','WS_ERR_UNEXPECTED_RSV_2_3','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createError','total-length','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Opening\x20handshake\x20has\x20timed\x20out','cork','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kIsForOnEventAttribute','getOwnPropertyDescriptor','ws+unix:','_loop','normalizeParams','Blob','catch','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','invalid\x20opcode\x200','websocket','code','response','url','_maskBuffer','zlibDeflateOptions','sha1','writeUInt16BE','params','invalid\x20opcode\x20','Origin','keys','_binaryType','add','dataMessage','Maximum\x20redirects\x20exceeded','WS_ERR_INVALID_UTF8','_decompress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','toString','The\x20\x22','shouldHandle','_readableState','indexOf','env','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','setConfig','readUInt16BE','Sec-WebSocket-Extensions','errorEmitted','handleProtocols','clientNoContextTakeover','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','\x0d\x0a\x0d\x0a','wsClientError','error','arrayBuffer','WS_ERR_INVALID_CLOSE_CODE','Upgrade:\x20websocket','Invalid\x20Sec-WebSocket-Protocol\x20header','The\x20server\x20is\x20not\x20running','extensions','reset','next','options','CLOSING','_maxPayload','alloc','serverNoContextTakeover','WebSocket','noServer','maxRedirects','Max\x20payload\x20size\x20exceeded','pending','blob','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','destroy','_closeTimer','WS_ERR_EXPECTED_FIN','path','open','_registerDependencies','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','autoPong','upgrade','_extensions','binaryType','_isServer','offer','location','protocolVersion','socketPath','hasOwnProperty','create','accept','onerror','_generateMask','status-code','cleanup','fragments','STATUS_CODES','_shouldEmitClose','_sender','dequeue','allowSynchronousEvents','545268IJOtKj','test','getBlobData','writeUIntBE','_server','byteOffset','_fragments','pause','call','FIN\x20must\x20be\x20set','WS_ERR_UNEXPECTED_RSV_1','Unexpected\x20end\x20of\x20input','push','send'];_0x509a=function(){return _0x568e80;};return _0x509a();}function Wt(_0xce374e){const _0x187ae2=_0x4529b5;return _0xce374e&&_0xce374e['__esModule']&&Object[_0x187ae2(0x1c8)]['hasOwnProperty'][_0x187ae2(0x1a5)](_0xce374e,_0x187ae2(0x1ac))?_0xce374e['default']:_0xce374e;}function ut(_0x1fcf67){const _0x5eca01=_0x4529b5;if(Object[_0x5eca01(0x1c8)][_0x5eca01(0x190)][_0x5eca01(0x1a5)](_0x1fcf67,_0x5eca01(0x1ec)))return _0x1fcf67;var _0x5a632f=_0x1fcf67[_0x5eca01(0x1ac)];if(typeof _0x5a632f=='function'){var _0x28999d=function _0x3ccf99(){const _0x499968=_0x5eca01;var _0x453b22=!0x1;try{_0x453b22=this instanceof _0x3ccf99;}catch{}return _0x453b22?Reflect[_0x499968(0x242)](_0x5a632f,arguments,this['constructor']):_0x5a632f[_0x499968(0x11a)](this,arguments);};_0x28999d['prototype']=_0x5a632f[_0x5eca01(0x1c8)];}else _0x28999d={};return Object[_0x5eca01(0x106)](_0x28999d,_0x5eca01(0x1ec),{'value':!0x0}),Object[_0x5eca01(0x152)](_0x1fcf67)[_0x5eca01(0xd0)](function(_0x120288){const _0x2c7f80=_0x5eca01;var _0x280ff3=Object[_0x2c7f80(0x13f)](_0x1fcf67,_0x120288);Object['defineProperty'](_0x28999d,_0x120288,_0x280ff3[_0x2c7f80(0x1e3)]?_0x280ff3:{'enumerable':!0x0,'get':function(){return _0x1fcf67[_0x120288];}});}),_0x28999d;}var te={'exports':{}},ge,Ye;function V(){const _0x3f8dc4=_0x4529b5;if(Ye)return ge;Ye=0x1;const _0x46cfe8=[_0x3f8dc4(0x111),'arraybuffer',_0x3f8dc4(0x197)],_0x6155ad=typeof Blob<'u';return _0x6155ad&&_0x46cfe8['push'](_0x3f8dc4(0x17d)),ge={'BINARY_TYPES':_0x46cfe8,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3f8dc4(0x13d),'hasBlob':_0x6155ad,'kForOnEventAttribute':Symbol(_0x3f8dc4(0x13e)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x3f8dc4(0x195)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4529b5(0x214)](Object[_0x4529b5(0x106)]({'__proto__':null,'default':jt},Symbol[_0x4529b5(0x120)],{'value':_0x4529b5(0x231)})),Vt=ut(Gt);var Ke;function ce(){const _0x5eb138=_0x4529b5;if(Ke)return te[_0x5eb138(0xf4)];Ke=0x1;const {EMPTY_BUFFER:_0x2e3ab2}=V(),_0x32a675=Buffer[Symbol[_0x5eb138(0x1bc)]];function _0x287c9b(_0x2cc91a,_0x3c8dce){const _0x1ac854=_0x5eb138;if(_0x2cc91a['length']===0x0)return _0x2e3ab2;if(_0x2cc91a[_0x1ac854(0x204)]===0x1)return _0x2cc91a[0x0];const _0x463bf5=Buffer[_0x1ac854(0x132)](_0x3c8dce);let _0x4a2d58=0x0;for(let _0x37f203=0x0;_0x37f203<_0x2cc91a[_0x1ac854(0x204)];_0x37f203++){const _0x25533f=_0x2cc91a[_0x37f203];_0x463bf5[_0x1ac854(0x118)](_0x25533f,_0x4a2d58),_0x4a2d58+=_0x25533f[_0x1ac854(0x204)];}return _0x4a2d58<_0x3c8dce?new _0x32a675(_0x463bf5[_0x1ac854(0xc8)],_0x463bf5['byteOffset'],_0x4a2d58):_0x463bf5;}function _0x2dee3c(_0xc7b7d,_0x46b180,_0x374c6c,_0x5606f9,_0x5751b1){for(let _0x3a4f5c=0x0;_0x3a4f5c<_0x5751b1;_0x3a4f5c++)_0x374c6c[_0x5606f9+_0x3a4f5c]=_0xc7b7d[_0x3a4f5c]^_0x46b180[_0x3a4f5c&0x3];}function _0x7dfb4a(_0x2d17d3,_0x5d2d68){const _0x44c2f1=_0x5eb138;for(let _0x47c285=0x0;_0x47c285<_0x2d17d3[_0x44c2f1(0x204)];_0x47c285++)_0x2d17d3[_0x47c285]^=_0x5d2d68[_0x47c285&0x3];}function _0x49d094(_0x131442){const _0xafe942=_0x5eb138;return _0x131442[_0xafe942(0x204)]===_0x131442[_0xafe942(0xc8)][_0xafe942(0xc0)]?_0x131442[_0xafe942(0xc8)]:_0x131442[_0xafe942(0xc8)]['slice'](_0x131442[_0xafe942(0x1a2)],_0x131442[_0xafe942(0x1a2)]+_0x131442[_0xafe942(0x204)]);}function _0xab27c1(_0x1e984b){const _0x52a6e3=_0x5eb138;if(_0xab27c1['readOnly']=!0x0,Buffer['isBuffer'](_0x1e984b))return _0x1e984b;let _0x2e27ac;return _0x1e984b instanceof ArrayBuffer?_0x2e27ac=new _0x32a675(_0x1e984b):ArrayBuffer[_0x52a6e3(0xda)](_0x1e984b)?_0x2e27ac=new _0x32a675(_0x1e984b[_0x52a6e3(0xc8)],_0x1e984b[_0x52a6e3(0x1a2)],_0x1e984b[_0x52a6e3(0xc0)]):(_0x2e27ac=Buffer['from'](_0x1e984b),_0xab27c1[_0x52a6e3(0x1d6)]=!0x1),_0x2e27ac;}if(te[_0x5eb138(0xf4)]={'concat':_0x287c9b,'mask':_0x2dee3c,'toArrayBuffer':_0x49d094,'toBuffer':_0xab27c1,'unmask':_0x7dfb4a},!process['env'][_0x5eb138(0x116)])try{const _0x421a35=Vt;te[_0x5eb138(0xf4)][_0x5eb138(0xce)]=function(_0x20efc4,_0x26724b,_0x93c2d2,_0x335b7e,_0x288186){const _0x46005f=_0x5eb138;_0x288186<0x30?_0x2dee3c(_0x20efc4,_0x26724b,_0x93c2d2,_0x335b7e,_0x288186):_0x421a35[_0x46005f(0xce)](_0x20efc4,_0x26724b,_0x93c2d2,_0x335b7e,_0x288186);},te[_0x5eb138(0xf4)][_0x5eb138(0xf5)]=function(_0x23a580,_0x3ba184){const _0xd81049=_0x5eb138;_0x23a580[_0xd81049(0x204)]<0x20?_0x7dfb4a(_0x23a580,_0x3ba184):_0x421a35[_0xd81049(0xf5)](_0x23a580,_0x3ba184);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x5c8917=_0x4529b5;if(Xe)return ye;Xe=0x1;const _0x268e18=Symbol(_0x5c8917(0x225)),_0x19d2ec=Symbol(_0x5c8917(0xec));class _0x264637{constructor(_0x202866){const _0x38b645=_0x5c8917;this[_0x268e18]=()=>{const _0x3fcef5=_0x3bdb;this[_0x3fcef5(0x17c)]--,this[_0x19d2ec]();},this[_0x38b645(0x248)]=_0x202866||0x1/0x0,this[_0x38b645(0xcb)]=[],this[_0x38b645(0x17c)]=0x0;}['add'](_0x46b1a0){const _0x102b00=_0x5c8917;this[_0x102b00(0xcb)][_0x102b00(0x1a9)](_0x46b1a0),this[_0x19d2ec]();}[_0x19d2ec](){const _0x193309=_0x5c8917;if(this['pending']!==this[_0x193309(0x248)]&&this[_0x193309(0xcb)][_0x193309(0x204)]){const _0x33cb34=this['jobs'][_0x193309(0x20e)]();this[_0x193309(0x17c)]++,_0x33cb34(this[_0x268e18]);}}}return ye=_0x264637,ye;}var ve,Ze;function he(){const _0x46a0d9=_0x4529b5;if(Ze)return ve;Ze=0x1;const _0x409788=_0x2c683d,_0x5bae55=ce(),_0x38ac5d=qt(),{kStatusCode:_0xf9be6a}=V(),_0x438305=Buffer[Symbol[_0x46a0d9(0x1bc)]],_0x14e321=Buffer[_0x46a0d9(0x227)]([0x0,0x0,0xff,0xff]),_0x32ec06=Symbol(_0x46a0d9(0x1bd)),_0x21e790=Symbol(_0x46a0d9(0x139)),_0x57d921=Symbol('callback'),_0x1f34a7=Symbol(_0x46a0d9(0x243)),_0x541f58=Symbol(_0x46a0d9(0x16a));let _0x160cbf;class _0x1d8527{constructor(_0x11c940,_0x107bb6,_0x40476f){const _0x2bd811=_0x46a0d9;if(this[_0x2bd811(0x175)]=_0x40476f|0x0,this[_0x2bd811(0xe3)]=_0x11c940||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x2bd811(0xe3)]['threshold']:0x400,this[_0x2bd811(0x18b)]=!!_0x107bb6,this[_0x2bd811(0x261)]=null,this[_0x2bd811(0x21b)]=null,this[_0x2bd811(0x14f)]=null,!_0x160cbf){const _0xa85a4=this[_0x2bd811(0xe3)]['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x160cbf=new _0x38ac5d(_0xa85a4);}}static get['extensionName'](){const _0x1fd00b=_0x46a0d9;return _0x1fd00b(0x1bd);}[_0x46a0d9(0x18c)](){const _0x55898b=_0x46a0d9,_0x3ad4dd={};return this[_0x55898b(0xe3)][_0x55898b(0x177)]&&(_0x3ad4dd[_0x55898b(0xee)]=!0x0),this[_0x55898b(0xe3)][_0x55898b(0x166)]&&(_0x3ad4dd[_0x55898b(0x1eb)]=!0x0),this[_0x55898b(0xe3)][_0x55898b(0x249)]&&(_0x3ad4dd['server_max_window_bits']=this[_0x55898b(0xe3)][_0x55898b(0x249)]),this[_0x55898b(0xe3)][_0x55898b(0x1f4)]?_0x3ad4dd['client_max_window_bits']=this[_0x55898b(0xe3)]['clientMaxWindowBits']:this['_options'][_0x55898b(0x1f4)]==null&&(_0x3ad4dd['client_max_window_bits']=!0x0),_0x3ad4dd;}[_0x46a0d9(0x192)](_0xe1a76a){const _0x575193=_0x46a0d9;return _0xe1a76a=this[_0x575193(0x142)](_0xe1a76a),this[_0x575193(0x14f)]=this[_0x575193(0x18b)]?this[_0x575193(0x110)](_0xe1a76a):this[_0x575193(0xe4)](_0xe1a76a),this[_0x575193(0x14f)];}[_0x46a0d9(0x196)](){const _0x39bdd3=_0x46a0d9;if(this[_0x39bdd3(0x21b)]&&(this[_0x39bdd3(0x21b)][_0x39bdd3(0x1ba)](),this[_0x39bdd3(0x21b)]=null),this['_deflate']){const _0x207bbc=this[_0x39bdd3(0x261)][_0x57d921];this['_deflate']['close'](),this[_0x39bdd3(0x261)]=null,_0x207bbc&&_0x207bbc(new Error(_0x39bdd3(0xd9)));}}[_0x46a0d9(0x110)](_0x873b52){const _0x5494f1=_0x46a0d9,_0x432a07=this[_0x5494f1(0xe3)],_0x447e6a=_0x873b52['find'](_0x26055d=>!(_0x432a07[_0x5494f1(0x177)]===!0x1&&_0x26055d[_0x5494f1(0xee)]||_0x26055d[_0x5494f1(0x23f)]&&(_0x432a07['serverMaxWindowBits']===!0x1||typeof _0x432a07['serverMaxWindowBits']==_0x5494f1(0xd1)&&_0x432a07[_0x5494f1(0x249)]>_0x26055d[_0x5494f1(0x23f)])||typeof _0x432a07['clientMaxWindowBits']==_0x5494f1(0xd1)&&!_0x26055d[_0x5494f1(0x244)]));if(!_0x447e6a)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x432a07['serverNoContextTakeover']&&(_0x447e6a[_0x5494f1(0xee)]=!0x0),_0x432a07['clientNoContextTakeover']&&(_0x447e6a[_0x5494f1(0x1eb)]=!0x0),typeof _0x432a07[_0x5494f1(0x249)]==_0x5494f1(0xd1)&&(_0x447e6a[_0x5494f1(0x23f)]=_0x432a07['serverMaxWindowBits']),typeof _0x432a07[_0x5494f1(0x1f4)]==_0x5494f1(0xd1)?_0x447e6a[_0x5494f1(0x244)]=_0x432a07[_0x5494f1(0x1f4)]:(_0x447e6a[_0x5494f1(0x244)]===!0x0||_0x432a07[_0x5494f1(0x1f4)]===!0x1)&&delete _0x447e6a[_0x5494f1(0x244)],_0x447e6a;}['acceptAsClient'](_0x8018dd){const _0x340c96=_0x46a0d9,_0x494e83=_0x8018dd[0x0];if(this[_0x340c96(0xe3)]['clientNoContextTakeover']===!0x1&&_0x494e83['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x494e83[_0x340c96(0x244)])typeof this['_options'][_0x340c96(0x1f4)]==_0x340c96(0xd1)&&(_0x494e83['client_max_window_bits']=this[_0x340c96(0xe3)][_0x340c96(0x1f4)]);else{if(this[_0x340c96(0xe3)]['clientMaxWindowBits']===!0x1||typeof this[_0x340c96(0xe3)][_0x340c96(0x1f4)]==_0x340c96(0xd1)&&_0x494e83[_0x340c96(0x244)]>this[_0x340c96(0xe3)][_0x340c96(0x1f4)])throw new Error(_0x340c96(0x101));}return _0x494e83;}[_0x46a0d9(0x142)](_0x1b763a){const _0x400b5d=_0x46a0d9;return _0x1b763a[_0x400b5d(0xd0)](_0x1bf07b=>{const _0x44f9c6=_0x400b5d;Object[_0x44f9c6(0x152)](_0x1bf07b)[_0x44f9c6(0xd0)](_0x599f14=>{const _0x116436=_0x44f9c6;let _0x165f1c=_0x1bf07b[_0x599f14];if(_0x165f1c['length']>0x1)throw new Error(_0x116436(0x121)+_0x599f14+_0x116436(0x1f1));if(_0x165f1c=_0x165f1c[0x0],_0x599f14===_0x116436(0x244)){if(_0x165f1c!==!0x0){const _0x119665=+_0x165f1c;if(!Number[_0x116436(0xd7)](_0x119665)||_0x119665<0x8||_0x119665>0xf)throw new TypeError(_0x116436(0x241)+_0x599f14+_0x116436(0x25f)+_0x165f1c);_0x165f1c=_0x119665;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x599f14+_0x116436(0x25f)+_0x165f1c);}}else{if(_0x599f14==='server_max_window_bits'){const _0x25f3db=+_0x165f1c;if(!Number[_0x116436(0xd7)](_0x25f3db)||_0x25f3db<0x8||_0x25f3db>0xf)throw new TypeError(_0x116436(0x241)+_0x599f14+'\x22:\x20'+_0x165f1c);_0x165f1c=_0x25f3db;}else{if(_0x599f14===_0x116436(0x1eb)||_0x599f14==='server_no_context_takeover'){if(_0x165f1c!==!0x0)throw new TypeError(_0x116436(0x241)+_0x599f14+'\x22:\x20'+_0x165f1c);}else throw new Error(_0x116436(0xbf)+_0x599f14+'\x22');}}_0x1bf07b[_0x599f14]=_0x165f1c;});}),_0x1b763a;}['decompress'](_0xd6bad0,_0x48491d,_0x11806d){_0x160cbf['add'](_0x2b01a8=>{this['_decompress'](_0xd6bad0,_0x48491d,(_0x1931e7,_0x420efe)=>{_0x2b01a8(),_0x11806d(_0x1931e7,_0x420efe);});});}[_0x46a0d9(0x203)](_0x3bde2a,_0x1ce96b,_0x2b4ac3){const _0x27b8b5=_0x46a0d9;_0x160cbf[_0x27b8b5(0x154)](_0x56b1ee=>{const _0x540006=_0x27b8b5;this[_0x540006(0x238)](_0x3bde2a,_0x1ce96b,(_0x3aebf2,_0x17716f)=>{_0x56b1ee(),_0x2b4ac3(_0x3aebf2,_0x17716f);});});}[_0x46a0d9(0x158)](_0x395a87,_0x59fd27,_0x29bc9e){const _0x1714af=_0x46a0d9,_0x25fc84=this['_isServer']?_0x1714af(0xd5):_0x1714af(0x254);if(!this[_0x1714af(0x21b)]){const _0xb90606=_0x25fc84+_0x1714af(0xc7),_0x4d2e99=typeof this[_0x1714af(0x14f)][_0xb90606]!=_0x1714af(0xd1)?_0x409788['Z_DEFAULT_WINDOWBITS']:this['params'][_0xb90606];this[_0x1714af(0x21b)]=_0x409788[_0x1714af(0x105)]({...this['_options'][_0x1714af(0xca)],'windowBits':_0x4d2e99}),this['_inflate'][_0x32ec06]=this,this['_inflate'][_0x21e790]=0x0,this[_0x1714af(0x21b)][_0x1f34a7]=[],this[_0x1714af(0x21b)]['on'](_0x1714af(0x16a),_0x4acb15),this[_0x1714af(0x21b)]['on'](_0x1714af(0xe7),_0x12b4a9);}this[_0x1714af(0x21b)][_0x57d921]=_0x29bc9e,this['_inflate']['write'](_0x395a87),_0x59fd27&&this[_0x1714af(0x21b)][_0x1714af(0x22f)](_0x14e321),this[_0x1714af(0x21b)][_0x1714af(0x219)](()=>{const _0x5d9832=_0x1714af,_0x3acc3a=this[_0x5d9832(0x21b)][_0x541f58];if(_0x3acc3a){this[_0x5d9832(0x21b)][_0x5d9832(0x1ba)](),this[_0x5d9832(0x21b)]=null,_0x29bc9e(_0x3acc3a);return;}const _0x33e931=_0x5bae55['concat'](this['_inflate'][_0x1f34a7],this['_inflate'][_0x21e790]);this[_0x5d9832(0x21b)][_0x5d9832(0x15d)][_0x5d9832(0xdd)]?(this[_0x5d9832(0x21b)][_0x5d9832(0x1ba)](),this[_0x5d9832(0x21b)]=null):(this[_0x5d9832(0x21b)][_0x21e790]=0x0,this[_0x5d9832(0x21b)][_0x1f34a7]=[],_0x59fd27&&this[_0x5d9832(0x14f)][_0x25fc84+_0x5d9832(0x1fb)]&&this[_0x5d9832(0x21b)][_0x5d9832(0x171)]()),_0x29bc9e(null,_0x33e931);});}[_0x46a0d9(0x238)](_0x583677,_0x52c6d2,_0x3dbae){const _0x5b6147=_0x46a0d9,_0x2a1e8f=this[_0x5b6147(0x18b)]?'server':_0x5b6147(0xd5);if(!this[_0x5b6147(0x261)]){const _0x336bc9=_0x2a1e8f+_0x5b6147(0xc7),_0x3396d4=typeof this[_0x5b6147(0x14f)][_0x336bc9]!=_0x5b6147(0xd1)?_0x409788['Z_DEFAULT_WINDOWBITS']:this['params'][_0x336bc9];this[_0x5b6147(0x261)]=_0x409788[_0x5b6147(0x235)]({...this[_0x5b6147(0xe3)][_0x5b6147(0x14c)],'windowBits':_0x3396d4}),this[_0x5b6147(0x261)][_0x21e790]=0x0,this[_0x5b6147(0x261)][_0x1f34a7]=[],this['_deflate']['on'](_0x5b6147(0xe7),_0x3ef74d);}this['_deflate'][_0x57d921]=_0x3dbae,this['_deflate'][_0x5b6147(0x22f)](_0x583677),this[_0x5b6147(0x261)][_0x5b6147(0x219)](_0x409788[_0x5b6147(0x10b)],()=>{const _0x41aafc=_0x5b6147;if(!this[_0x41aafc(0x261)])return;let _0x310c06=_0x5bae55[_0x41aafc(0x206)](this['_deflate'][_0x1f34a7],this[_0x41aafc(0x261)][_0x21e790]);_0x52c6d2&&(_0x310c06=new _0x438305(_0x310c06[_0x41aafc(0xc8)],_0x310c06[_0x41aafc(0x1a2)],_0x310c06['length']-0x4)),this[_0x41aafc(0x261)][_0x57d921]=null,this[_0x41aafc(0x261)][_0x21e790]=0x0,this['_deflate'][_0x1f34a7]=[],_0x52c6d2&&this[_0x41aafc(0x14f)][_0x2a1e8f+'_no_context_takeover']&&this['_deflate'][_0x41aafc(0x171)](),_0x3dbae(null,_0x310c06);});}}ve=_0x1d8527;function _0x3ef74d(_0x245e41){const _0xeff40a=_0x46a0d9;this[_0x1f34a7][_0xeff40a(0x1a9)](_0x245e41),this[_0x21e790]+=_0x245e41[_0xeff40a(0x204)];}function _0x12b4a9(_0x27c766){const _0x22d838=_0x46a0d9;if(this[_0x21e790]+=_0x27c766[_0x22d838(0x204)],this[_0x32ec06][_0x22d838(0x175)]<0x1||this[_0x21e790]<=this[_0x32ec06][_0x22d838(0x175)]){this[_0x1f34a7][_0x22d838(0x1a9)](_0x27c766);return;}this[_0x541f58]=new RangeError(_0x22d838(0x17b)),this[_0x541f58][_0x22d838(0x148)]=_0x22d838(0x103),this[_0x541f58][_0xf9be6a]=0x3f1,this[_0x22d838(0x1fd)]('data',_0x12b4a9),this['reset']();}function _0x4acb15(_0xd1fee1){if(this[_0x32ec06]['_inflate']=null,this[_0x541f58]){this[_0x57d921](this[_0x541f58]);return;}_0xd1fee1[_0xf9be6a]=0x3ef,this[_0x57d921](_0xd1fee1);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4529b5(0x106)]({'__proto__':null,'default':Ht},Symbol[_0x4529b5(0x120)],{'value':_0x4529b5(0x231)})),Yt=ut(zt);var Qe;function ne(){const _0x117666=_0x4529b5;if(Qe)return re[_0x117666(0xf4)];Qe=0x1;const {isUtf8:_0x4d50ac}=_0x2e8138,{hasBlob:_0x3b6543}=V(),_0x5e27e9=[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 _0x4e50f8(_0x299ab6){return _0x299ab6>=0x3e8&&_0x299ab6<=0x3f6&&_0x299ab6!==0x3ec&&_0x299ab6!==0x3ed&&_0x299ab6!==0x3ee||_0x299ab6>=0xbb8&&_0x299ab6<=0x1387;}function _0x1c6051(_0x30af70){const _0x169918=_0x30af70['length'];let _0x5a00a5=0x0;for(;_0x5a00a5<_0x169918;)if((_0x30af70[_0x5a00a5]&0x80)===0x0)_0x5a00a5++;else{if((_0x30af70[_0x5a00a5]&0xe0)===0xc0){if(_0x5a00a5+0x1===_0x169918||(_0x30af70[_0x5a00a5+0x1]&0xc0)!==0x80||(_0x30af70[_0x5a00a5]&0xfe)===0xc0)return!0x1;_0x5a00a5+=0x2;}else{if((_0x30af70[_0x5a00a5]&0xf0)===0xe0){if(_0x5a00a5+0x2>=_0x169918||(_0x30af70[_0x5a00a5+0x1]&0xc0)!==0x80||(_0x30af70[_0x5a00a5+0x2]&0xc0)!==0x80||_0x30af70[_0x5a00a5]===0xe0&&(_0x30af70[_0x5a00a5+0x1]&0xe0)===0x80||_0x30af70[_0x5a00a5]===0xed&&(_0x30af70[_0x5a00a5+0x1]&0xe0)===0xa0)return!0x1;_0x5a00a5+=0x3;}else{if((_0x30af70[_0x5a00a5]&0xf8)===0xf0){if(_0x5a00a5+0x3>=_0x169918||(_0x30af70[_0x5a00a5+0x1]&0xc0)!==0x80||(_0x30af70[_0x5a00a5+0x2]&0xc0)!==0x80||(_0x30af70[_0x5a00a5+0x3]&0xc0)!==0x80||_0x30af70[_0x5a00a5]===0xf0&&(_0x30af70[_0x5a00a5+0x1]&0xf0)===0x80||_0x30af70[_0x5a00a5]===0xf4&&_0x30af70[_0x5a00a5+0x1]>0x8f||_0x30af70[_0x5a00a5]>0xf4)return!0x1;_0x5a00a5+=0x4;}else return!0x1;}}}return!0x0;}function _0x3cbfa2(_0x4741f2){const _0x5d6928=_0x117666;return _0x3b6543&&typeof _0x4741f2==_0x5d6928(0x246)&&typeof _0x4741f2[_0x5d6928(0x16b)]==_0x5d6928(0x1cf)&&typeof _0x4741f2[_0x5d6928(0x1d7)]=='string'&&typeof _0x4741f2[_0x5d6928(0xfd)]==_0x5d6928(0x1cf)&&(_0x4741f2[Symbol[_0x5d6928(0x120)]]===_0x5d6928(0x143)||_0x4741f2[Symbol[_0x5d6928(0x120)]]==='File');}if(re['exports']={'isBlob':_0x3cbfa2,'isValidStatusCode':_0x4e50f8,'isValidUTF8':_0x1c6051,'tokenChars':_0x5e27e9},_0x4d50ac)re[_0x117666(0xf4)][_0x117666(0x1f0)]=function(_0x42e486){const _0x25c09d=_0x117666;return _0x42e486[_0x25c09d(0x204)]<0x18?_0x1c6051(_0x42e486):_0x4d50ac(_0x42e486);};else{if(!process[_0x117666(0x15f)]['WS_NO_UTF_8_VALIDATE'])try{const _0xf50517=Yt;re[_0x117666(0xf4)]['isValidUTF8']=function(_0xa00b9c){const _0x3b0674=_0x117666;return _0xa00b9c[_0x3b0674(0x204)]<0x20?_0x1c6051(_0xa00b9c):_0xf50517(_0xa00b9c);};}catch{}}return re[_0x117666(0xf4)];}var Se,Je;function dt(){const _0x3dfca5=_0x4529b5;if(Je)return Se;Je=0x1;const {Writable:_0x2fde28}=_0x5a8f10,_0x394169=he(),{BINARY_TYPES:_0x59c186,EMPTY_BUFFER:_0x387c1b,kStatusCode:_0x29c31d,kWebSocket:_0x1111fb}=V(),{concat:_0x4ba1ff,toArrayBuffer:_0x868241,unmask:_0x5c66cd}=ce(),{isValidStatusCode:_0x1216f4,isValidUTF8:_0x559637}=ne(),_0x334ea3=Buffer[Symbol['species']],_0x179baf=0x0,_0x3b9614=0x1,_0x59bbc8=0x2,_0x36a309=0x3,_0xb371f7=0x4,_0x2eff13=0x5,_0x25b5ee=0x6;class _0x3bed51 extends _0x2fde28{constructor(_0x56ecc8={}){const _0x472269=_0x3bdb;super(),this['_allowSynchronousEvents']=_0x56ecc8[_0x472269(0x19c)]!==void 0x0?_0x56ecc8[_0x472269(0x19c)]:!0x0,this[_0x472269(0x153)]=_0x56ecc8[_0x472269(0x18a)]||_0x59c186[0x0],this[_0x472269(0x189)]=_0x56ecc8['extensions']||{},this[_0x472269(0x18b)]=!!_0x56ecc8[_0x472269(0xbe)],this['_maxPayload']=_0x56ecc8[_0x472269(0xeb)]|0x0,this['_skipUTF8Validation']=!!_0x56ecc8[_0x472269(0x23d)],this[_0x1111fb]=void 0x0,this[_0x472269(0xef)]=0x0,this[_0x472269(0xd4)]=[],this[_0x472269(0x115)]=!0x1,this[_0x472269(0x20b)]=0x0,this[_0x472269(0x237)]=void 0x0,this[_0x472269(0x226)]=0x0,this['_masked']=!0x1,this[_0x472269(0x20a)]=!0x1,this[_0x472269(0x250)]=0x0,this[_0x472269(0x125)]=0x0,this[_0x472269(0x24a)]=0x0,this['_fragments']=[],this[_0x472269(0xff)]=!0x1,this[_0x472269(0x141)]=!0x1,this[_0x472269(0x1ad)]=_0x179baf;}[_0x3dfca5(0x23c)](_0x21bd66,_0x559151,_0x2d76f0){const _0x2c8a0d=_0x3dfca5;if(this['_opcode']===0x8&&this[_0x2c8a0d(0x1ad)]==_0x179baf)return _0x2d76f0();this['_bufferedBytes']+=_0x21bd66[_0x2c8a0d(0x204)],this[_0x2c8a0d(0xd4)][_0x2c8a0d(0x1a9)](_0x21bd66),this['startLoop'](_0x2d76f0);}['consume'](_0x1a45d6){const _0x496d6e=_0x3dfca5;if(this[_0x496d6e(0xef)]-=_0x1a45d6,_0x1a45d6===this[_0x496d6e(0xd4)][0x0][_0x496d6e(0x204)])return this[_0x496d6e(0xd4)][_0x496d6e(0x20e)]();if(_0x1a45d6<this[_0x496d6e(0xd4)][0x0]['length']){const _0x12e59b=this[_0x496d6e(0xd4)][0x0];return this[_0x496d6e(0xd4)][0x0]=new _0x334ea3(_0x12e59b[_0x496d6e(0xc8)],_0x12e59b[_0x496d6e(0x1a2)]+_0x1a45d6,_0x12e59b[_0x496d6e(0x204)]-_0x1a45d6),new _0x334ea3(_0x12e59b['buffer'],_0x12e59b[_0x496d6e(0x1a2)],_0x1a45d6);}const _0x2d242e=Buffer['allocUnsafe'](_0x1a45d6);do{const _0xd9ca55=this['_buffers'][0x0],_0xcf06f3=_0x2d242e[_0x496d6e(0x204)]-_0x1a45d6;_0x1a45d6>=_0xd9ca55[_0x496d6e(0x204)]?_0x2d242e[_0x496d6e(0x118)](this[_0x496d6e(0xd4)]['shift'](),_0xcf06f3):(_0x2d242e[_0x496d6e(0x118)](new Uint8Array(_0xd9ca55[_0x496d6e(0xc8)],_0xd9ca55[_0x496d6e(0x1a2)],_0x1a45d6),_0xcf06f3),this['_buffers'][0x0]=new _0x334ea3(_0xd9ca55['buffer'],_0xd9ca55[_0x496d6e(0x1a2)]+_0x1a45d6,_0xd9ca55[_0x496d6e(0x204)]-_0x1a45d6)),_0x1a45d6-=_0xd9ca55[_0x496d6e(0x204)];}while(_0x1a45d6>0x0);return _0x2d242e;}[_0x3dfca5(0x24b)](_0x26e1fd){const _0x474a4e=_0x3dfca5;this[_0x474a4e(0x141)]=!0x0;do switch(this['_state']){case _0x179baf:this[_0x474a4e(0xfc)](_0x26e1fd);break;case _0x3b9614:this[_0x474a4e(0x216)](_0x26e1fd);break;case _0x59bbc8:this[_0x474a4e(0x25e)](_0x26e1fd);break;case _0x36a309:this['getMask']();break;case _0xb371f7:this[_0x474a4e(0x1f3)](_0x26e1fd);break;case _0x2eff13:case _0x25b5ee:this[_0x474a4e(0x141)]=!0x1;return;}while(this[_0x474a4e(0x141)]);this[_0x474a4e(0xff)]||_0x26e1fd();}[_0x3dfca5(0xfc)](_0x77f1a0){const _0x5707b4=_0x3dfca5;if(this['_bufferedBytes']<0x2){this[_0x5707b4(0x141)]=!0x1;return;}const _0x4aff08=this['consume'](0x2);if((_0x4aff08[0x0]&0x30)!==0x0){const _0xe7dedb=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x217),!0x0,0x3ea,_0x5707b4(0x136));_0x77f1a0(_0xe7dedb);return;}const _0x3dc14c=(_0x4aff08[0x0]&0x40)===0x40;if(_0x3dc14c&&!this[_0x5707b4(0x189)][_0x394169['extensionName']]){const _0x51b797=this[_0x5707b4(0x138)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5707b4(0x1a7));_0x77f1a0(_0x51b797);return;}if(this[_0x5707b4(0x20a)]=(_0x4aff08[0x0]&0x80)===0x80,this[_0x5707b4(0x250)]=_0x4aff08[0x0]&0xf,this['_payloadLength']=_0x4aff08[0x1]&0x7f,this['_opcode']===0x0){if(_0x3dc14c){const _0x2add2b=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0xc4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x77f1a0(_0x2add2b);return;}if(!this[_0x5707b4(0x226)]){const _0x5d69ff=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x146),!0x0,0x3ea,_0x5707b4(0x22c));_0x77f1a0(_0x5d69ff);return;}this[_0x5707b4(0x250)]=this[_0x5707b4(0x226)];}else{if(this[_0x5707b4(0x250)]===0x1||this[_0x5707b4(0x250)]===0x2){if(this['_fragmented']){const _0x4b6170=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x150)+this['_opcode'],!0x0,0x3ea,_0x5707b4(0x22c));_0x77f1a0(_0x4b6170);return;}this[_0x5707b4(0x115)]=_0x3dc14c;}else{if(this[_0x5707b4(0x250)]>0x7&&this[_0x5707b4(0x250)]<0xb){if(!this[_0x5707b4(0x20a)]){const _0x517a37=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x1a6),!0x0,0x3ea,_0x5707b4(0x182));_0x77f1a0(_0x517a37);return;}if(_0x3dc14c){const _0x2089a7=this['createError'](RangeError,_0x5707b4(0xc4),!0x0,0x3ea,_0x5707b4(0x1a7));_0x77f1a0(_0x2089a7);return;}if(this[_0x5707b4(0x20b)]>0x7d||this['_opcode']===0x8&&this[_0x5707b4(0x20b)]===0x1){const _0x5ee47c=this[_0x5707b4(0x138)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x5707b4(0x186));_0x77f1a0(_0x5ee47c);return;}}else{const _0x20e80f=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x150)+this[_0x5707b4(0x250)],!0x0,0x3ea,_0x5707b4(0x22c));_0x77f1a0(_0x20e80f);return;}}}if(!this[_0x5707b4(0x20a)]&&!this['_fragmented']&&(this[_0x5707b4(0x226)]=this[_0x5707b4(0x250)]),this[_0x5707b4(0x21e)]=(_0x4aff08[0x1]&0x80)===0x80,this[_0x5707b4(0x18b)]){if(!this[_0x5707b4(0x21e)]){const _0x45c42b=this['createError'](RangeError,_0x5707b4(0x131),!0x0,0x3ea,_0x5707b4(0x1de));_0x77f1a0(_0x45c42b);return;}}else{if(this['_masked']){const _0x26995e=this[_0x5707b4(0x138)](RangeError,_0x5707b4(0x1d9),!0x0,0x3ea,_0x5707b4(0xfb));_0x77f1a0(_0x26995e);return;}}this[_0x5707b4(0x20b)]===0x7e?this[_0x5707b4(0x1ad)]=_0x3b9614:this[_0x5707b4(0x20b)]===0x7f?this[_0x5707b4(0x1ad)]=_0x59bbc8:this['haveLength'](_0x77f1a0);}[_0x3dfca5(0x216)](_0x16a3f7){const _0x38b786=_0x3dfca5;if(this[_0x38b786(0xef)]<0x2){this['_loop']=!0x1;return;}this[_0x38b786(0x20b)]=this[_0x38b786(0x1b0)](0x2)[_0x38b786(0x162)](0x0),this[_0x38b786(0xcd)](_0x16a3f7);}[_0x3dfca5(0x25e)](_0x27fff0){const _0x48ef67=_0x3dfca5;if(this[_0x48ef67(0xef)]<0x8){this['_loop']=!0x1;return;}const _0x3c6e79=this[_0x48ef67(0x1b0)](0x8),_0x17422c=_0x3c6e79[_0x48ef67(0x1e0)](0x0);if(_0x17422c>Math[_0x48ef67(0x25c)](0x2,0x15)-0x1){const _0x1474d1=this[_0x48ef67(0x138)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x48ef67(0x159));_0x27fff0(_0x1474d1);return;}this[_0x48ef67(0x20b)]=_0x17422c*Math[_0x48ef67(0x25c)](0x2,0x20)+_0x3c6e79[_0x48ef67(0x1e0)](0x4),this['haveLength'](_0x27fff0);}[_0x3dfca5(0xcd)](_0x55bd8a){const _0x178b68=_0x3dfca5;if(this[_0x178b68(0x20b)]&&this['_opcode']<0x8&&(this[_0x178b68(0x125)]+=this['_payloadLength'],this[_0x178b68(0x125)]>this[_0x178b68(0x175)]&&this[_0x178b68(0x175)]>0x0)){const _0x4880cd=this[_0x178b68(0x138)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x55bd8a(_0x4880cd);return;}this[_0x178b68(0x21e)]?this[_0x178b68(0x1ad)]=_0x36a309:this['_state']=_0xb371f7;}['getMask'](){const _0x21bee6=_0x3dfca5;if(this[_0x21bee6(0xef)]<0x4){this['_loop']=!0x1;return;}this[_0x21bee6(0x237)]=this[_0x21bee6(0x1b0)](0x4),this[_0x21bee6(0x1ad)]=_0xb371f7;}['getData'](_0x559ef8){const _0x3f089f=_0x3dfca5;let _0x5425f8=_0x387c1b;if(this[_0x3f089f(0x20b)]){if(this[_0x3f089f(0xef)]<this['_payloadLength']){this[_0x3f089f(0x141)]=!0x1;return;}_0x5425f8=this['consume'](this[_0x3f089f(0x20b)]),this[_0x3f089f(0x21e)]&&(this[_0x3f089f(0x237)][0x0]|this[_0x3f089f(0x237)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x5c66cd(_0x5425f8,this[_0x3f089f(0x237)]);}if(this['_opcode']>0x7){this[_0x3f089f(0x1c0)](_0x5425f8,_0x559ef8);return;}if(this['_compressed']){this[_0x3f089f(0x1ad)]=_0x2eff13,this[_0x3f089f(0x109)](_0x5425f8,_0x559ef8);return;}_0x5425f8[_0x3f089f(0x204)]&&(this[_0x3f089f(0x24a)]=this[_0x3f089f(0x125)],this[_0x3f089f(0x1a3)][_0x3f089f(0x1a9)](_0x5425f8)),this['dataMessage'](_0x559ef8);}[_0x3dfca5(0x109)](_0x32a591,_0x483830){const _0x3ee0d5=_0x3dfca5;this[_0x3ee0d5(0x189)][_0x394169['extensionName']]['decompress'](_0x32a591,this['_fin'],(_0x4478e3,_0x38dfd8)=>{const _0x982d9b=_0x3ee0d5;if(_0x4478e3)return _0x483830(_0x4478e3);if(_0x38dfd8['length']){if(this[_0x982d9b(0x24a)]+=_0x38dfd8['length'],this['_messageLength']>this['_maxPayload']&&this[_0x982d9b(0x175)]>0x0){const _0x27155a=this[_0x982d9b(0x138)](RangeError,_0x982d9b(0x17b),!0x1,0x3f1,_0x982d9b(0x103));_0x483830(_0x27155a);return;}this[_0x982d9b(0x1a3)][_0x982d9b(0x1a9)](_0x38dfd8);}this[_0x982d9b(0x155)](_0x483830),this[_0x982d9b(0x1ad)]===_0x179baf&&this['startLoop'](_0x483830);});}[_0x3dfca5(0x155)](_0x5cb65c){const _0x5cce38=_0x3dfca5;if(!this[_0x5cce38(0x20a)]){this[_0x5cce38(0x1ad)]=_0x179baf;return;}const _0x4c0f2a=this[_0x5cce38(0x24a)],_0x1e4122=this[_0x5cce38(0x1a3)];if(this[_0x5cce38(0x125)]=0x0,this[_0x5cce38(0x24a)]=0x0,this[_0x5cce38(0x226)]=0x0,this[_0x5cce38(0x1a3)]=[],this[_0x5cce38(0x250)]===0x2){let _0x5f18e8;this[_0x5cce38(0x153)]===_0x5cce38(0x111)?_0x5f18e8=_0x4ba1ff(_0x1e4122,_0x4c0f2a):this[_0x5cce38(0x153)]==='arraybuffer'?_0x5f18e8=_0x868241(_0x4ba1ff(_0x1e4122,_0x4c0f2a)):this['_binaryType']===_0x5cce38(0x17d)?_0x5f18e8=new Blob(_0x1e4122):_0x5f18e8=_0x1e4122,this[_0x5cce38(0x1c7)]?(this['emit'](_0x5cce38(0xe1),_0x5f18e8,!0x0),this['_state']=_0x179baf):(this[_0x5cce38(0x1ad)]=_0x25b5ee,setImmediate(()=>{const _0x104569=_0x5cce38;this['emit']('message',_0x5f18e8,!0x0),this[_0x104569(0x1ad)]=_0x179baf,this[_0x104569(0x24b)](_0x5cb65c);}));}else{const _0x1506c4=_0x4ba1ff(_0x1e4122,_0x4c0f2a);if(!this[_0x5cce38(0xf2)]&&!_0x559637(_0x1506c4)){const _0x52e2dc=this[_0x5cce38(0x138)](Error,_0x5cce38(0x1b7),!0x0,0x3ef,_0x5cce38(0x157));_0x5cb65c(_0x52e2dc);return;}this['_state']===_0x2eff13||this[_0x5cce38(0x1c7)]?(this[_0x5cce38(0xe0)]('message',_0x1506c4,!0x1),this[_0x5cce38(0x1ad)]=_0x179baf):(this['_state']=_0x25b5ee,setImmediate(()=>{const _0x20fb17=_0x5cce38;this['emit'](_0x20fb17(0xe1),_0x1506c4,!0x1),this[_0x20fb17(0x1ad)]=_0x179baf,this[_0x20fb17(0x24b)](_0x5cb65c);}));}}[_0x3dfca5(0x1c0)](_0x1ac4b6,_0x468a2b){const _0x5a9ffa=_0x3dfca5;if(this[_0x5a9ffa(0x250)]===0x8){if(_0x1ac4b6[_0x5a9ffa(0x204)]===0x0)this[_0x5a9ffa(0x141)]=!0x1,this[_0x5a9ffa(0xe0)]('conclude',0x3ed,_0x387c1b),this[_0x5a9ffa(0xd3)]();else{const _0x3b33f9=_0x1ac4b6['readUInt16BE'](0x0);if(!_0x1216f4(_0x3b33f9)){const _0x169166=this[_0x5a9ffa(0x138)](RangeError,'invalid\x20status\x20code\x20'+_0x3b33f9,!0x0,0x3ea,_0x5a9ffa(0x16c));_0x468a2b(_0x169166);return;}const _0x4a2f4d=new _0x334ea3(_0x1ac4b6[_0x5a9ffa(0xc8)],_0x1ac4b6[_0x5a9ffa(0x1a2)]+0x2,_0x1ac4b6['length']-0x2);if(!this[_0x5a9ffa(0xf2)]&&!_0x559637(_0x4a2f4d)){const _0x47a542=this['createError'](Error,_0x5a9ffa(0x1b7),!0x0,0x3ef,_0x5a9ffa(0x157));_0x468a2b(_0x47a542);return;}this[_0x5a9ffa(0x141)]=!0x1,this['emit'](_0x5a9ffa(0xbc),_0x3b33f9,_0x4a2f4d),this[_0x5a9ffa(0xd3)]();}this[_0x5a9ffa(0x1ad)]=_0x179baf;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x5a9ffa(0x250)]===0x9?'ping':'pong',_0x1ac4b6),this[_0x5a9ffa(0x1ad)]=_0x179baf):(this[_0x5a9ffa(0x1ad)]=_0x25b5ee,setImmediate(()=>{const _0x47dd66=_0x5a9ffa;this[_0x47dd66(0xe0)](this[_0x47dd66(0x250)]===0x9?_0x47dd66(0xd8):'pong',_0x1ac4b6),this[_0x47dd66(0x1ad)]=_0x179baf,this[_0x47dd66(0x24b)](_0x468a2b);}));}['createError'](_0x477e4,_0x2acb36,_0x3c805f,_0x87b23c,_0x365e9d){const _0x2d5638=_0x3dfca5;this['_loop']=!0x1,this[_0x2d5638(0xff)]=!0x0;const _0x1493bd=new _0x477e4(_0x3c805f?_0x2d5638(0x1e2)+_0x2acb36:_0x2acb36);return Error[_0x2d5638(0x1e6)](_0x1493bd,this[_0x2d5638(0x138)]),_0x1493bd[_0x2d5638(0x148)]=_0x365e9d,_0x1493bd[_0x29c31d]=_0x87b23c,_0x1493bd;}}return Se=_0x3bed51,Se;}var Ee,et;function _t(){const _0x1240ad=_0x4529b5;if(et)return Ee;et=0x1;const {Duplex:_0xf9845b}=_0x5a8f10,{randomFillSync:_0x5c38e2}=_0x8cb1a9,_0x238877=he(),{EMPTY_BUFFER:_0x2a40b3,kWebSocket:_0x3b7b21,NOOP:_0x1bca70}=V(),{isBlob:_0x5eb37e,isValidStatusCode:_0x5f2e16}=ne(),{mask:_0x9a0365,toBuffer:_0x45ad45}=ce(),_0x1a63c9=Symbol(_0x1240ad(0xdb)),_0x338d4f=Buffer[_0x1240ad(0x176)](0x4),_0x5f18c3=0x8*0x400;let _0xab9756,_0x53ca99=_0x5f18c3;const _0x187035=0x0,_0x5ee00e=0x1,_0xdfdc96=0x2;class _0xe3171c{constructor(_0x122444,_0x194352,_0x54fe9c){const _0x318823=_0x1240ad;this['_extensions']=_0x194352||{},_0x54fe9c&&(this[_0x318823(0x194)]=_0x54fe9c,this[_0x318823(0x14b)]=Buffer[_0x318823(0x176)](0x4)),this[_0x318823(0x25b)]=_0x122444,this[_0x318823(0xc1)]=!0x0,this[_0x318823(0x238)]=!0x1,this[_0x318823(0xef)]=0x0,this[_0x318823(0x1cc)]=[],this[_0x318823(0x1ad)]=_0x187035,this[_0x318823(0x193)]=_0x1bca70,this[_0x3b7b21]=void 0x0;}static[_0x1240ad(0xcc)](_0x1cc15d,_0xfd5103){const _0x4446ed=_0x1240ad;let _0x5b6a36,_0x48c086=!0x1,_0x5f45f1=0x2,_0xd5c0ca=!0x1;_0xfd5103['mask']&&(_0x5b6a36=_0xfd5103['maskBuffer']||_0x338d4f,_0xfd5103['generateMask']?_0xfd5103[_0x4446ed(0xc3)](_0x5b6a36):(_0x53ca99===_0x5f18c3&&(_0xab9756===void 0x0&&(_0xab9756=Buffer[_0x4446ed(0x176)](_0x5f18c3)),_0x5c38e2(_0xab9756,0x0,_0x5f18c3),_0x53ca99=0x0),_0x5b6a36[0x0]=_0xab9756[_0x53ca99++],_0x5b6a36[0x1]=_0xab9756[_0x53ca99++],_0x5b6a36[0x2]=_0xab9756[_0x53ca99++],_0x5b6a36[0x3]=_0xab9756[_0x53ca99++]),_0xd5c0ca=(_0x5b6a36[0x0]|_0x5b6a36[0x1]|_0x5b6a36[0x2]|_0x5b6a36[0x3])===0x0,_0x5f45f1=0x6);let _0x39829b;typeof _0x1cc15d==_0x4446ed(0x114)?(!_0xfd5103[_0x4446ed(0xce)]||_0xd5c0ca)&&_0xfd5103[_0x1a63c9]!==void 0x0?_0x39829b=_0xfd5103[_0x1a63c9]:(_0x1cc15d=Buffer[_0x4446ed(0x227)](_0x1cc15d),_0x39829b=_0x1cc15d['length']):(_0x39829b=_0x1cc15d[_0x4446ed(0x204)],_0x48c086=_0xfd5103[_0x4446ed(0xce)]&&_0xfd5103[_0x4446ed(0x1d6)]&&!_0xd5c0ca);let _0x488fcc=_0x39829b;_0x39829b>=0x10000?(_0x5f45f1+=0x8,_0x488fcc=0x7f):_0x39829b>0x7d&&(_0x5f45f1+=0x2,_0x488fcc=0x7e);const _0x483639=Buffer[_0x4446ed(0x132)](_0x48c086?_0x39829b+_0x5f45f1:_0x5f45f1);return _0x483639[0x0]=_0xfd5103[_0x4446ed(0x1f8)]?_0xfd5103[_0x4446ed(0x1c9)]|0x80:_0xfd5103[_0x4446ed(0x1c9)],_0xfd5103[_0x4446ed(0xdc)]&&(_0x483639[0x0]|=0x40),_0x483639[0x1]=_0x488fcc,_0x488fcc===0x7e?_0x483639[_0x4446ed(0x14e)](_0x39829b,0x2):_0x488fcc===0x7f&&(_0x483639[0x2]=_0x483639[0x3]=0x0,_0x483639[_0x4446ed(0x1a0)](_0x39829b,0x4,0x6)),_0xfd5103[_0x4446ed(0xce)]?(_0x483639[0x1]|=0x80,_0x483639[_0x5f45f1-0x4]=_0x5b6a36[0x0],_0x483639[_0x5f45f1-0x3]=_0x5b6a36[0x1],_0x483639[_0x5f45f1-0x2]=_0x5b6a36[0x2],_0x483639[_0x5f45f1-0x1]=_0x5b6a36[0x3],_0xd5c0ca?[_0x483639,_0x1cc15d]:_0x48c086?(_0x9a0365(_0x1cc15d,_0x5b6a36,_0x483639,_0x5f45f1,_0x39829b),[_0x483639]):(_0x9a0365(_0x1cc15d,_0x5b6a36,_0x1cc15d,0x0,_0x39829b),[_0x483639,_0x1cc15d])):[_0x483639,_0x1cc15d];}[_0x1240ad(0x1ba)](_0x54066e,_0x27a5a4,_0x2c4a34,_0x468415){const _0x2bdc3a=_0x1240ad;let _0x5718e8;if(_0x54066e===void 0x0)_0x5718e8=_0x2a40b3;else{if(typeof _0x54066e!=_0x2bdc3a(0xd1)||!_0x5f2e16(_0x54066e))throw new TypeError(_0x2bdc3a(0x145));if(_0x27a5a4===void 0x0||!_0x27a5a4[_0x2bdc3a(0x204)])_0x5718e8=Buffer[_0x2bdc3a(0x132)](0x2),_0x5718e8['writeUInt16BE'](_0x54066e,0x0);else{const _0x2c4bd5=Buffer[_0x2bdc3a(0xc0)](_0x27a5a4);if(_0x2c4bd5>0x7b)throw new RangeError(_0x2bdc3a(0x137));_0x5718e8=Buffer[_0x2bdc3a(0x132)](0x2+_0x2c4bd5),_0x5718e8[_0x2bdc3a(0x14e)](_0x54066e,0x0),typeof _0x27a5a4==_0x2bdc3a(0x114)?_0x5718e8[_0x2bdc3a(0x22f)](_0x27a5a4,0x2):_0x5718e8['set'](_0x27a5a4,0x2);}}const _0x489a8c={[_0x1a63c9]:_0x5718e8[_0x2bdc3a(0x204)],'fin':!0x0,'generateMask':this[_0x2bdc3a(0x194)],'mask':_0x2c4a34,'maskBuffer':this[_0x2bdc3a(0x14b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2bdc3a(0x1ad)]!==_0x187035?this[_0x2bdc3a(0xed)]([this[_0x2bdc3a(0x133)],_0x5718e8,!0x1,_0x489a8c,_0x468415]):this[_0x2bdc3a(0xe8)](_0xe3171c[_0x2bdc3a(0xcc)](_0x5718e8,_0x489a8c),_0x468415);}['ping'](_0x2fef3a,_0x224de4,_0x1c4a3c){const _0x704762=_0x1240ad;let _0x29476f,_0x89bbb;if(typeof _0x2fef3a=='string'?(_0x29476f=Buffer['byteLength'](_0x2fef3a),_0x89bbb=!0x1):_0x5eb37e(_0x2fef3a)?(_0x29476f=_0x2fef3a[_0x704762(0x12e)],_0x89bbb=!0x1):(_0x2fef3a=_0x45ad45(_0x2fef3a),_0x29476f=_0x2fef3a['length'],_0x89bbb=_0x45ad45[_0x704762(0x1d6)]),_0x29476f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4458e9={[_0x1a63c9]:_0x29476f,'fin':!0x0,'generateMask':this[_0x704762(0x194)],'mask':_0x224de4,'maskBuffer':this[_0x704762(0x14b)],'opcode':0x9,'readOnly':_0x89bbb,'rsv1':!0x1};_0x5eb37e(_0x2fef3a)?this['_state']!==_0x187035?this[_0x704762(0xed)]([this[_0x704762(0x19f)],_0x2fef3a,!0x1,_0x4458e9,_0x1c4a3c]):this['getBlobData'](_0x2fef3a,!0x1,_0x4458e9,_0x1c4a3c):this[_0x704762(0x1ad)]!==_0x187035?this[_0x704762(0xed)]([this[_0x704762(0x133)],_0x2fef3a,!0x1,_0x4458e9,_0x1c4a3c]):this[_0x704762(0xe8)](_0xe3171c[_0x704762(0xcc)](_0x2fef3a,_0x4458e9),_0x1c4a3c);}[_0x1240ad(0x1d1)](_0x45a447,_0x2ac0a4,_0xd84501){const _0x15e7c6=_0x1240ad;let _0x4e37ac,_0x27a561;if(typeof _0x45a447==_0x15e7c6(0x114)?(_0x4e37ac=Buffer[_0x15e7c6(0xc0)](_0x45a447),_0x27a561=!0x1):_0x5eb37e(_0x45a447)?(_0x4e37ac=_0x45a447[_0x15e7c6(0x12e)],_0x27a561=!0x1):(_0x45a447=_0x45ad45(_0x45a447),_0x4e37ac=_0x45a447[_0x15e7c6(0x204)],_0x27a561=_0x45ad45[_0x15e7c6(0x1d6)]),_0x4e37ac>0x7d)throw new RangeError(_0x15e7c6(0x200));const _0x157352={[_0x1a63c9]:_0x4e37ac,'fin':!0x0,'generateMask':this[_0x15e7c6(0x194)],'mask':_0x2ac0a4,'maskBuffer':this[_0x15e7c6(0x14b)],'opcode':0xa,'readOnly':_0x27a561,'rsv1':!0x1};_0x5eb37e(_0x45a447)?this[_0x15e7c6(0x1ad)]!==_0x187035?this[_0x15e7c6(0xed)]([this[_0x15e7c6(0x19f)],_0x45a447,!0x1,_0x157352,_0xd84501]):this[_0x15e7c6(0x19f)](_0x45a447,!0x1,_0x157352,_0xd84501):this[_0x15e7c6(0x1ad)]!==_0x187035?this['enqueue']([this[_0x15e7c6(0x133)],_0x45a447,!0x1,_0x157352,_0xd84501]):this[_0x15e7c6(0xe8)](_0xe3171c[_0x15e7c6(0xcc)](_0x45a447,_0x157352),_0xd84501);}['send'](_0x22cbdd,_0x42c917,_0x3fd1a6){const _0x4ffc6b=_0x1240ad,_0x18bb4b=this[_0x4ffc6b(0x189)][_0x238877[_0x4ffc6b(0x258)]];let _0x29c919=_0x42c917[_0x4ffc6b(0x1b3)]?0x2:0x1,_0x2d4c40=_0x42c917['compress'],_0x29d918,_0x369bd6;typeof _0x22cbdd==_0x4ffc6b(0x114)?(_0x29d918=Buffer['byteLength'](_0x22cbdd),_0x369bd6=!0x1):_0x5eb37e(_0x22cbdd)?(_0x29d918=_0x22cbdd[_0x4ffc6b(0x12e)],_0x369bd6=!0x1):(_0x22cbdd=_0x45ad45(_0x22cbdd),_0x29d918=_0x22cbdd[_0x4ffc6b(0x204)],_0x369bd6=_0x45ad45[_0x4ffc6b(0x1d6)]),this[_0x4ffc6b(0xc1)]?(this['_firstFragment']=!0x1,_0x2d4c40&&_0x18bb4b&&_0x18bb4b[_0x4ffc6b(0x14f)][_0x18bb4b[_0x4ffc6b(0x18b)]?_0x4ffc6b(0xee):_0x4ffc6b(0x1eb)]&&(_0x2d4c40=_0x29d918>=_0x18bb4b[_0x4ffc6b(0x253)]),this['_compress']=_0x2d4c40):(_0x2d4c40=!0x1,_0x29c919=0x0),_0x42c917[_0x4ffc6b(0x1f8)]&&(this['_firstFragment']=!0x0);const _0x3c9b46={[_0x1a63c9]:_0x29d918,'fin':_0x42c917['fin'],'generateMask':this[_0x4ffc6b(0x194)],'mask':_0x42c917[_0x4ffc6b(0xce)],'maskBuffer':this[_0x4ffc6b(0x14b)],'opcode':_0x29c919,'readOnly':_0x369bd6,'rsv1':_0x2d4c40};_0x5eb37e(_0x22cbdd)?this[_0x4ffc6b(0x1ad)]!==_0x187035?this['enqueue']([this[_0x4ffc6b(0x19f)],_0x22cbdd,this[_0x4ffc6b(0x238)],_0x3c9b46,_0x3fd1a6]):this[_0x4ffc6b(0x19f)](_0x22cbdd,this[_0x4ffc6b(0x238)],_0x3c9b46,_0x3fd1a6):this[_0x4ffc6b(0x1ad)]!==_0x187035?this[_0x4ffc6b(0xed)]([this[_0x4ffc6b(0x133)],_0x22cbdd,this[_0x4ffc6b(0x238)],_0x3c9b46,_0x3fd1a6]):this[_0x4ffc6b(0x133)](_0x22cbdd,this[_0x4ffc6b(0x238)],_0x3c9b46,_0x3fd1a6);}['getBlobData'](_0x4f46d8,_0x4c767d,_0x524d7f,_0x4c2b21){const _0x5de8e3=_0x1240ad;this[_0x5de8e3(0xef)]+=_0x524d7f[_0x1a63c9],this[_0x5de8e3(0x1ad)]=_0xdfdc96,_0x4f46d8[_0x5de8e3(0x16b)]()['then'](_0x525897=>{const _0x1a5a38=_0x5de8e3;if(this[_0x1a5a38(0x25b)][_0x1a5a38(0x100)]){const _0x11e77a=new Error(_0x1a5a38(0x25a));process['nextTick'](_0x50f2c0,this,_0x11e77a,_0x4c2b21);return;}this['_bufferedBytes']-=_0x524d7f[_0x1a63c9];const _0x5f0fc7=_0x45ad45(_0x525897);_0x4c767d?this[_0x1a5a38(0x133)](_0x5f0fc7,_0x4c767d,_0x524d7f,_0x4c2b21):(this['_state']=_0x187035,this[_0x1a5a38(0xe8)](_0xe3171c['frame'](_0x5f0fc7,_0x524d7f),_0x4c2b21),this[_0x1a5a38(0x19b)]());})[_0x5de8e3(0x144)](_0x1748ba=>{const _0x2df9f4=_0x5de8e3;process[_0x2df9f4(0xfa)](_0x5b08cf,this,_0x1748ba,_0x4c2b21);});}[_0x1240ad(0x133)](_0x1fb4f1,_0x43fe81,_0x5461f2,_0x4076ec){const _0x441cc1=_0x1240ad;if(!_0x43fe81){this['sendFrame'](_0xe3171c[_0x441cc1(0xcc)](_0x1fb4f1,_0x5461f2),_0x4076ec);return;}const _0x35c98f=this['_extensions'][_0x238877[_0x441cc1(0x258)]];this[_0x441cc1(0xef)]+=_0x5461f2[_0x1a63c9],this[_0x441cc1(0x1ad)]=_0x5ee00e,_0x35c98f['compress'](_0x1fb4f1,_0x5461f2[_0x441cc1(0x1f8)],(_0x4d1c7d,_0x40855e)=>{const _0xdc137c=_0x441cc1;if(this[_0xdc137c(0x25b)][_0xdc137c(0x100)]){const _0x532b7f=new Error(_0xdc137c(0x1cb));_0x50f2c0(this,_0x532b7f,_0x4076ec);return;}this[_0xdc137c(0xef)]-=_0x5461f2[_0x1a63c9],this[_0xdc137c(0x1ad)]=_0x187035,_0x5461f2['readOnly']=!0x1,this['sendFrame'](_0xe3171c[_0xdc137c(0xcc)](_0x40855e,_0x5461f2),_0x4076ec),this[_0xdc137c(0x19b)]();});}[_0x1240ad(0x19b)](){const _0xe67624=_0x1240ad;for(;this['_state']===_0x187035&&this[_0xe67624(0x1cc)][_0xe67624(0x204)];){const _0x1a2da2=this[_0xe67624(0x1cc)][_0xe67624(0x20e)]();this[_0xe67624(0xef)]-=_0x1a2da2[0x3][_0x1a63c9],Reflect['apply'](_0x1a2da2[0x0],this,_0x1a2da2[_0xe67624(0xb9)](0x1));}}[_0x1240ad(0xed)](_0x450b4e){const _0x1ff685=_0x1240ad;this[_0x1ff685(0xef)]+=_0x450b4e[0x3][_0x1a63c9],this[_0x1ff685(0x1cc)]['push'](_0x450b4e);}[_0x1240ad(0xe8)](_0x1171c6,_0x6f02fb){const _0x119c3e=_0x1240ad;_0x1171c6[_0x119c3e(0x204)]===0x2?(this[_0x119c3e(0x25b)][_0x119c3e(0x13c)](),this[_0x119c3e(0x25b)]['write'](_0x1171c6[0x0]),this[_0x119c3e(0x25b)][_0x119c3e(0x22f)](_0x1171c6[0x1],_0x6f02fb),this[_0x119c3e(0x25b)]['uncork']()):this[_0x119c3e(0x25b)]['write'](_0x1171c6[0x0],_0x6f02fb);}}Ee=_0xe3171c;function _0x50f2c0(_0x2e7dae,_0x1a5057,_0x1e709e){const _0xca592f=_0x1240ad;typeof _0x1e709e==_0xca592f(0x1cf)&&_0x1e709e(_0x1a5057);for(let _0x78c32f=0x0;_0x78c32f<_0x2e7dae[_0xca592f(0x1cc)][_0xca592f(0x204)];_0x78c32f++){const _0x3d7f0e=_0x2e7dae['_queue'][_0x78c32f],_0x4d615f=_0x3d7f0e[_0x3d7f0e[_0xca592f(0x204)]-0x1];typeof _0x4d615f==_0xca592f(0x1cf)&&_0x4d615f(_0x1a5057);}}function _0x5b08cf(_0xff4821,_0x23c881,_0x373d77){const _0x588c7e=_0x1240ad;_0x50f2c0(_0xff4821,_0x23c881,_0x373d77),_0xff4821[_0x588c7e(0x193)](_0x23c881);}return Ee;}var xe,tt;function Kt(){const _0x4fecb9=_0x4529b5;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2f8b2f,kListener:_0x2e68aa}=V(),_0x5af846=Symbol(_0x4fecb9(0x12d)),_0x4ddbe1=Symbol(_0x4fecb9(0xf9)),_0x5507f7=Symbol('kError'),_0x442957=Symbol(_0x4fecb9(0xc2)),_0x479ec0=Symbol(_0x4fecb9(0x257)),_0x4ae7d3=Symbol('kTarget'),_0x3caa89=Symbol('kType'),_0x17fa44=Symbol(_0x4fecb9(0x1e7));class _0x565b87{constructor(_0x2597fa){this[_0x4ae7d3]=null,this[_0x3caa89]=_0x2597fa;}get['target'](){return this[_0x4ae7d3];}get[_0x4fecb9(0x1d7)](){return this[_0x3caa89];}}Object[_0x4fecb9(0x106)](_0x565b87['prototype'],_0x4fecb9(0xdf),{'enumerable':!0x0}),Object['defineProperty'](_0x565b87[_0x4fecb9(0x1c8)],_0x4fecb9(0x1d7),{'enumerable':!0x0});class _0x4c3459 extends _0x565b87{constructor(_0x36662a,_0x108105={}){const _0x5683e0=_0x4fecb9;super(_0x36662a),this[_0x5af846]=_0x108105[_0x5683e0(0x148)]===void 0x0?0x0:_0x108105[_0x5683e0(0x148)],this[_0x479ec0]=_0x108105['reason']===void 0x0?'':_0x108105[_0x5683e0(0x1b5)],this[_0x17fa44]=_0x108105['wasClean']===void 0x0?!0x1:_0x108105[_0x5683e0(0x11f)];}get['code'](){return this[_0x5af846];}get[_0x4fecb9(0x1b5)](){return this[_0x479ec0];}get['wasClean'](){return this[_0x17fa44];}}Object[_0x4fecb9(0x106)](_0x4c3459[_0x4fecb9(0x1c8)],_0x4fecb9(0x148),{'enumerable':!0x0}),Object[_0x4fecb9(0x106)](_0x4c3459[_0x4fecb9(0x1c8)],'reason',{'enumerable':!0x0}),Object[_0x4fecb9(0x106)](_0x4c3459[_0x4fecb9(0x1c8)],_0x4fecb9(0x11f),{'enumerable':!0x0});class _0x1cbe45 extends _0x565b87{constructor(_0x4e8c7f,_0x4bd66f={}){const _0x2fce55=_0x4fecb9;super(_0x4e8c7f),this[_0x5507f7]=_0x4bd66f[_0x2fce55(0x16a)]===void 0x0?null:_0x4bd66f[_0x2fce55(0x16a)],this[_0x442957]=_0x4bd66f['message']===void 0x0?'':_0x4bd66f[_0x2fce55(0xe1)];}get[_0x4fecb9(0x16a)](){return this[_0x5507f7];}get[_0x4fecb9(0xe1)](){return this[_0x442957];}}Object[_0x4fecb9(0x106)](_0x1cbe45['prototype'],_0x4fecb9(0x16a),{'enumerable':!0x0}),Object[_0x4fecb9(0x106)](_0x1cbe45[_0x4fecb9(0x1c8)],_0x4fecb9(0xe1),{'enumerable':!0x0});class _0x349597 extends _0x565b87{constructor(_0x5cf156,_0x3da299={}){const _0x3e72b7=_0x4fecb9;super(_0x5cf156),this[_0x4ddbe1]=_0x3da299[_0x3e72b7(0xe7)]===void 0x0?null:_0x3da299[_0x3e72b7(0xe7)];}get[_0x4fecb9(0xe7)](){return this[_0x4ddbe1];}}Object['defineProperty'](_0x349597[_0x4fecb9(0x1c8)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4c3459,'ErrorEvent':_0x1cbe45,'Event':_0x565b87,'EventTarget':{'addEventListener'(_0x2451f8,_0x1c561e,_0x38302b={}){const _0x480d08=_0x4fecb9;for(const _0x379a68 of this[_0x480d08(0xc6)](_0x2451f8))if(!_0x38302b[_0x2f8b2f]&&_0x379a68[_0x2e68aa]===_0x1c561e&&!_0x379a68[_0x2f8b2f])return;let _0x50094e;if(_0x2451f8==='message')_0x50094e=function(_0x176ef7,_0x5c8f66){const _0x35c107=_0x480d08,_0x4e099e=new _0x349597(_0x35c107(0xe1),{'data':_0x5c8f66?_0x176ef7:_0x176ef7[_0x35c107(0x15a)]()});_0x4e099e[_0x4ae7d3]=this,_0xa7a006(_0x1c561e,this,_0x4e099e);};else{if(_0x2451f8===_0x480d08(0x1ba))_0x50094e=function(_0x3def62,_0x5af125){const _0x5d2e0f=_0x480d08,_0x197137=new _0x4c3459('close',{'code':_0x3def62,'reason':_0x5af125[_0x5d2e0f(0x15a)](),'wasClean':this['_closeFrameReceived']&&this[_0x5d2e0f(0x263)]});_0x197137[_0x4ae7d3]=this,_0xa7a006(_0x1c561e,this,_0x197137);};else{if(_0x2451f8===_0x480d08(0x16a))_0x50094e=function(_0x1fde3c){const _0x162a09=new _0x1cbe45('error',{'error':_0x1fde3c,'message':_0x1fde3c['message']});_0x162a09[_0x4ae7d3]=this,_0xa7a006(_0x1c561e,this,_0x162a09);};else{if(_0x2451f8===_0x480d08(0x184))_0x50094e=function(){const _0x5878d1=_0x480d08,_0x5b3897=new _0x565b87(_0x5878d1(0x184));_0x5b3897[_0x4ae7d3]=this,_0xa7a006(_0x1c561e,this,_0x5b3897);};else return;}}}_0x50094e[_0x2f8b2f]=!!_0x38302b[_0x2f8b2f],_0x50094e[_0x2e68aa]=_0x1c561e,_0x38302b[_0x480d08(0x10e)]?this[_0x480d08(0x10e)](_0x2451f8,_0x50094e):this['on'](_0x2451f8,_0x50094e);},'removeEventListener'(_0x4f4225,_0x34834f){const _0x40342d=_0x4fecb9;for(const _0x1842b6 of this[_0x40342d(0xc6)](_0x4f4225))if(_0x1842b6[_0x2e68aa]===_0x34834f&&!_0x1842b6[_0x2f8b2f]){this[_0x40342d(0x1fd)](_0x4f4225,_0x1842b6);break;}}},'MessageEvent':_0x349597};function _0xa7a006(_0x288f69,_0x4318ae,_0x4e21ad){const _0x5e9e47=_0x4fecb9;typeof _0x288f69==_0x5e9e47(0x246)&&_0x288f69[_0x5e9e47(0xbb)]?_0x288f69[_0x5e9e47(0xbb)][_0x5e9e47(0x1a5)](_0x288f69,_0x4e21ad):_0x288f69[_0x5e9e47(0x1a5)](_0x4318ae,_0x4e21ad);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4d8b7a}=ne();function _0x2b841a(_0x51e0e6,_0x1e785a,_0x5011dc){const _0xab2264=_0x3bdb;_0x51e0e6[_0x1e785a]===void 0x0?_0x51e0e6[_0x1e785a]=[_0x5011dc]:_0x51e0e6[_0x1e785a][_0xab2264(0x1a9)](_0x5011dc);}function _0x520b6e(_0x55dad0){const _0x5504a7=_0x3bdb,_0x33614d=Object[_0x5504a7(0x191)](null);let _0x2155b4=Object['create'](null),_0x494f49=!0x1,_0x3e3e19=!0x1,_0x114de3=!0x1,_0x4e2695,_0x435b28,_0x4d2887=-0x1,_0x2b22ba=-0x1,_0x372d13=-0x1,_0x3070f1=0x0;for(;_0x3070f1<_0x55dad0[_0x5504a7(0x204)];_0x3070f1++)if(_0x2b22ba=_0x55dad0[_0x5504a7(0x1ea)](_0x3070f1),_0x4e2695===void 0x0){if(_0x372d13===-0x1&&_0x4d8b7a[_0x2b22ba]===0x1)_0x4d2887===-0x1&&(_0x4d2887=_0x3070f1);else{if(_0x3070f1!==0x0&&(_0x2b22ba===0x20||_0x2b22ba===0x9))_0x372d13===-0x1&&_0x4d2887!==-0x1&&(_0x372d13=_0x3070f1);else{if(_0x2b22ba===0x3b||_0x2b22ba===0x2c){if(_0x4d2887===-0x1)throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);_0x372d13===-0x1&&(_0x372d13=_0x3070f1);const _0x3dd377=_0x55dad0[_0x5504a7(0xb9)](_0x4d2887,_0x372d13);_0x2b22ba===0x2c?(_0x2b841a(_0x33614d,_0x3dd377,_0x2155b4),_0x2155b4=Object['create'](null)):_0x4e2695=_0x3dd377,_0x4d2887=_0x372d13=-0x1;}else throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);}}}else{if(_0x435b28===void 0x0){if(_0x372d13===-0x1&&_0x4d8b7a[_0x2b22ba]===0x1)_0x4d2887===-0x1&&(_0x4d2887=_0x3070f1);else{if(_0x2b22ba===0x20||_0x2b22ba===0x9)_0x372d13===-0x1&&_0x4d2887!==-0x1&&(_0x372d13=_0x3070f1);else{if(_0x2b22ba===0x3b||_0x2b22ba===0x2c){if(_0x4d2887===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3070f1);_0x372d13===-0x1&&(_0x372d13=_0x3070f1),_0x2b841a(_0x2155b4,_0x55dad0[_0x5504a7(0xb9)](_0x4d2887,_0x372d13),!0x0),_0x2b22ba===0x2c&&(_0x2b841a(_0x33614d,_0x4e2695,_0x2155b4),_0x2155b4=Object[_0x5504a7(0x191)](null),_0x4e2695=void 0x0),_0x4d2887=_0x372d13=-0x1;}else{if(_0x2b22ba===0x3d&&_0x4d2887!==-0x1&&_0x372d13===-0x1)_0x435b28=_0x55dad0['slice'](_0x4d2887,_0x3070f1),_0x4d2887=_0x372d13=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3070f1);}}}}else{if(_0x3e3e19){if(_0x4d8b7a[_0x2b22ba]!==0x1)throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);_0x4d2887===-0x1?_0x4d2887=_0x3070f1:_0x494f49||(_0x494f49=!0x0),_0x3e3e19=!0x1;}else{if(_0x114de3){if(_0x4d8b7a[_0x2b22ba]===0x1)_0x4d2887===-0x1&&(_0x4d2887=_0x3070f1);else{if(_0x2b22ba===0x22&&_0x4d2887!==-0x1)_0x114de3=!0x1,_0x372d13=_0x3070f1;else{if(_0x2b22ba===0x5c)_0x3e3e19=!0x0;else throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);}}}else{if(_0x2b22ba===0x22&&_0x55dad0[_0x5504a7(0x1ea)](_0x3070f1-0x1)===0x3d)_0x114de3=!0x0;else{if(_0x372d13===-0x1&&_0x4d8b7a[_0x2b22ba]===0x1)_0x4d2887===-0x1&&(_0x4d2887=_0x3070f1);else{if(_0x4d2887!==-0x1&&(_0x2b22ba===0x20||_0x2b22ba===0x9))_0x372d13===-0x1&&(_0x372d13=_0x3070f1);else{if(_0x2b22ba===0x3b||_0x2b22ba===0x2c){if(_0x4d2887===-0x1)throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);_0x372d13===-0x1&&(_0x372d13=_0x3070f1);let _0x3fb845=_0x55dad0[_0x5504a7(0xb9)](_0x4d2887,_0x372d13);_0x494f49&&(_0x3fb845=_0x3fb845[_0x5504a7(0x107)](/\\/g,''),_0x494f49=!0x1),_0x2b841a(_0x2155b4,_0x435b28,_0x3fb845),_0x2b22ba===0x2c&&(_0x2b841a(_0x33614d,_0x4e2695,_0x2155b4),_0x2155b4=Object['create'](null),_0x4e2695=void 0x0),_0x435b28=void 0x0,_0x4d2887=_0x372d13=-0x1;}else throw new SyntaxError(_0x5504a7(0x17e)+_0x3070f1);}}}}}}}if(_0x4d2887===-0x1||_0x114de3||_0x2b22ba===0x20||_0x2b22ba===0x9)throw new SyntaxError(_0x5504a7(0x1a8));_0x372d13===-0x1&&(_0x372d13=_0x3070f1);const _0x5912cb=_0x55dad0['slice'](_0x4d2887,_0x372d13);return _0x4e2695===void 0x0?_0x2b841a(_0x33614d,_0x5912cb,_0x2155b4):(_0x435b28===void 0x0?_0x2b841a(_0x2155b4,_0x5912cb,!0x0):_0x494f49?_0x2b841a(_0x2155b4,_0x435b28,_0x5912cb[_0x5504a7(0x107)](/\\/g,'')):_0x2b841a(_0x2155b4,_0x435b28,_0x5912cb),_0x2b841a(_0x33614d,_0x4e2695,_0x2155b4)),_0x33614d;}function _0x304254(_0x5da160){const _0x1c3e36=_0x3bdb;return Object[_0x1c3e36(0x152)](_0x5da160)[_0x1c3e36(0x1da)](_0x43bc72=>{const _0x58df1e=_0x1c3e36;let _0x58f281=_0x5da160[_0x43bc72];return Array[_0x58df1e(0x1b6)](_0x58f281)||(_0x58f281=[_0x58f281]),_0x58f281[_0x58df1e(0x1da)](_0x5bc61e=>[_0x43bc72][_0x58df1e(0x206)](Object[_0x58df1e(0x152)](_0x5bc61e)[_0x58df1e(0x1da)](_0x13edfc=>{const _0x3623df=_0x58df1e;let _0x821db7=_0x5bc61e[_0x13edfc];return Array[_0x3623df(0x1b6)](_0x821db7)||(_0x821db7=[_0x821db7]),_0x821db7[_0x3623df(0x1da)](_0x2b8b3c=>_0x2b8b3c===!0x0?_0x13edfc:_0x13edfc+'='+_0x2b8b3c)[_0x3623df(0x130)](';\x20');}))['join'](';\x20'))[_0x58df1e(0x130)](',\x20');})['join'](',\x20');}return be={'format':_0x304254,'parse':_0x520b6e},be;}var we,st;function Ie(){const _0x280c43=_0x4529b5;if(st)return we;st=0x1;const _0x8c0ca=_0x552cdd,_0x1aeb77=_0x1e711e,_0x474a50=_0x4dca3a,_0xf4c62f=_0x347111,_0x4f3bd0=_0x37b66f,{randomBytes:_0x2a5613,createHash:_0x2afb3d}=_0x8cb1a9,{Duplex:_0x1bd421,Readable:_0x7349b5}=_0x5a8f10,{URL:_0x4ab1a4}=_0x51b825,_0x76463f=he(),_0x23e46f=dt(),_0x1ed56f=_t(),{isBlob:_0x5c7eb4}=ne(),{BINARY_TYPES:_0x19a536,EMPTY_BUFFER:_0x2b5d89,GUID:_0x48afa5,kForOnEventAttribute:_0x118a64,kListener:_0xf63509,kStatusCode:_0x30cc0d,kWebSocket:_0x30bc44,NOOP:_0x87ed61}=V(),{EventTarget:{addEventListener:_0x26746c,removeEventListener:_0x1c8ce2}}=Kt(),{format:_0x2290f6,parse:_0x192e67}=pt(),{toBuffer:_0x3ab28f}=ce(),_0x26fe3f=0x1e*0x3e8,_0x101653=Symbol('kAborted'),_0x14c835=[0x8,0xd],_0x249cd8=[_0x280c43(0x1e8),'OPEN',_0x280c43(0x174),_0x280c43(0x218)],_0x1ba6c9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x19c8f4 extends _0x8c0ca{constructor(_0x19dfd1,_0x500366,_0x14c52d){const _0x53011c=_0x280c43;super(),this[_0x53011c(0x153)]=_0x19a536[0x0],this['_closeCode']=0x3ee,this[_0x53011c(0x1b8)]=!0x1,this[_0x53011c(0x263)]=!0x1,this[_0x53011c(0x208)]=_0x2b5d89,this[_0x53011c(0x181)]=null,this[_0x53011c(0x23a)]=!0x1,this[_0x53011c(0x189)]={},this['_paused']=!0x1,this[_0x53011c(0x1fc)]='',this[_0x53011c(0x10f)]=_0x19c8f4[_0x53011c(0x1e8)],this[_0x53011c(0x21c)]=null,this['_sender']=null,this[_0x53011c(0x25b)]=null,_0x19dfd1!==null?(this[_0x53011c(0x255)]=0x0,this[_0x53011c(0x18b)]=!0x1,this[_0x53011c(0x232)]=0x0,_0x500366===void 0x0?_0x500366=[]:Array['isArray'](_0x500366)||(typeof _0x500366=='object'&&_0x500366!==null?(_0x14c52d=_0x500366,_0x500366=[]):_0x500366=[_0x500366]),_0x277c47(this,_0x19dfd1,_0x500366,_0x14c52d)):(this[_0x53011c(0xd2)]=_0x14c52d[_0x53011c(0x187)],this['_isServer']=!0x0);}get[_0x280c43(0x18a)](){const _0x286545=_0x280c43;return this[_0x286545(0x153)];}set[_0x280c43(0x18a)](_0x1d3104){const _0x6a0357=_0x280c43;_0x19a536[_0x6a0357(0x245)](_0x1d3104)&&(this[_0x6a0357(0x153)]=_0x1d3104,this['_receiver']&&(this[_0x6a0357(0x21c)][_0x6a0357(0x153)]=_0x1d3104));}get[_0x280c43(0x12b)](){const _0x54999f=_0x280c43;return this[_0x54999f(0x25b)]?this[_0x54999f(0x25b)][_0x54999f(0x1c6)][_0x54999f(0x204)]+this[_0x54999f(0x19a)][_0x54999f(0xef)]:this[_0x54999f(0x255)];}get['extensions'](){const _0x25a65c=_0x280c43;return Object[_0x25a65c(0x152)](this[_0x25a65c(0x189)])[_0x25a65c(0x130)]();}get[_0x280c43(0x24c)](){const _0x4d479e=_0x280c43;return this[_0x4d479e(0xe9)];}get[_0x280c43(0x129)](){return null;}get['onerror'](){return null;}get[_0x280c43(0x1c1)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x48c39b=_0x280c43;return this[_0x48c39b(0x1fc)];}get[_0x280c43(0x11c)](){const _0x269bb0=_0x280c43;return this[_0x269bb0(0x10f)];}get[_0x280c43(0x14a)](){const _0x35291c=_0x280c43;return this[_0x35291c(0x247)];}[_0x280c43(0x1ee)](_0x3b633f,_0x478943,_0x39661a){const _0x399cb0=_0x280c43,_0x1f8bc1=new _0x23e46f({'allowSynchronousEvents':_0x39661a[_0x399cb0(0x19c)],'binaryType':this['binaryType'],'extensions':this[_0x399cb0(0x189)],'isServer':this['_isServer'],'maxPayload':_0x39661a[_0x399cb0(0xeb)],'skipUTF8Validation':_0x39661a['skipUTF8Validation']}),_0x3e892b=new _0x1ed56f(_0x3b633f,this[_0x399cb0(0x189)],_0x39661a[_0x399cb0(0xc3)]);this[_0x399cb0(0x21c)]=_0x1f8bc1,this[_0x399cb0(0x19a)]=_0x3e892b,this['_socket']=_0x3b633f,_0x1f8bc1[_0x30bc44]=this,_0x3e892b[_0x30bc44]=this,_0x3b633f[_0x30bc44]=this,_0x1f8bc1['on'](_0x399cb0(0xbc),_0x22110a),_0x1f8bc1['on'](_0x399cb0(0x222),_0x21b7c3),_0x1f8bc1['on'](_0x399cb0(0x16a),_0x2aa43c),_0x1f8bc1['on']('message',_0x3211bc),_0x1f8bc1['on'](_0x399cb0(0xd8),_0x583a35),_0x1f8bc1['on']('pong',_0x3d6ea3),_0x3e892b['onerror']=_0x4d5275,_0x3b633f['setTimeout']&&_0x3b633f[_0x399cb0(0x21a)](0x0),_0x3b633f[_0x399cb0(0xde)]&&_0x3b633f[_0x399cb0(0xde)](),_0x478943[_0x399cb0(0x204)]>0x0&&_0x3b633f[_0x399cb0(0x124)](_0x478943),_0x3b633f['on'](_0x399cb0(0x1ba),_0x5c6dc2),_0x3b633f['on'](_0x399cb0(0xe7),_0x344eed),_0x3b633f['on']('end',_0x37ed8e),_0x3b633f['on']('error',_0x27b686),this[_0x399cb0(0x10f)]=_0x19c8f4[_0x399cb0(0x10a)],this['emit'](_0x399cb0(0x184));}['emitClose'](){const _0x1f517d=_0x280c43;if(!this[_0x1f517d(0x25b)]){this[_0x1f517d(0x10f)]=_0x19c8f4[_0x1f517d(0x218)],this[_0x1f517d(0xe0)](_0x1f517d(0x1ba),this['_closeCode'],this['_closeMessage']);return;}this[_0x1f517d(0x189)][_0x76463f[_0x1f517d(0x258)]]&&this[_0x1f517d(0x189)][_0x76463f['extensionName']][_0x1f517d(0x196)](),this[_0x1f517d(0x21c)][_0x1f517d(0xbd)](),this[_0x1f517d(0x10f)]=_0x19c8f4[_0x1f517d(0x218)],this['emit'](_0x1f517d(0x1ba),this[_0x1f517d(0x11b)],this[_0x1f517d(0x208)]);}['close'](_0xea6ced,_0x3b00a8){const _0x12bad3=_0x280c43;if(this[_0x12bad3(0x11c)]!==_0x19c8f4[_0x12bad3(0x218)]){if(this['readyState']===_0x19c8f4[_0x12bad3(0x1e8)]){_0x3b47e6(this,this[_0x12bad3(0xf6)],_0x12bad3(0x1c5));return;}if(this[_0x12bad3(0x11c)]===_0x19c8f4[_0x12bad3(0x174)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x12bad3(0x25b)][_0x12bad3(0xd3)]();return;}this[_0x12bad3(0x10f)]=_0x19c8f4['CLOSING'],this[_0x12bad3(0x19a)][_0x12bad3(0x1ba)](_0xea6ced,_0x3b00a8,!this[_0x12bad3(0x18b)],_0x36d90f=>{const _0x20b2fa=_0x12bad3;_0x36d90f||(this[_0x20b2fa(0x263)]=!0x0,(this[_0x20b2fa(0x1b8)]||this[_0x20b2fa(0x21c)]['_writableState']['errorEmitted'])&&this[_0x20b2fa(0x25b)][_0x20b2fa(0xd3)]());}),_0x8404c1(this);}}['pause'](){const _0x24508b=_0x280c43;this['readyState']===_0x19c8f4['CONNECTING']||this[_0x24508b(0x11c)]===_0x19c8f4[_0x24508b(0x218)]||(this[_0x24508b(0xe9)]=!0x0,this['_socket'][_0x24508b(0x1a4)]());}[_0x280c43(0xd8)](_0x369ea2,_0x2a4156,_0x31c8f9){const _0xc5f45c=_0x280c43;if(this[_0xc5f45c(0x11c)]===_0x19c8f4['CONNECTING'])throw new Error(_0xc5f45c(0x1b4));if(typeof _0x369ea2=='function'?(_0x31c8f9=_0x369ea2,_0x369ea2=_0x2a4156=void 0x0):typeof _0x2a4156==_0xc5f45c(0x1cf)&&(_0x31c8f9=_0x2a4156,_0x2a4156=void 0x0),typeof _0x369ea2==_0xc5f45c(0xd1)&&(_0x369ea2=_0x369ea2[_0xc5f45c(0x15a)]()),this[_0xc5f45c(0x11c)]!==_0x19c8f4[_0xc5f45c(0x10a)]){_0x10e4a7(this,_0x369ea2,_0x31c8f9);return;}_0x2a4156===void 0x0&&(_0x2a4156=!this[_0xc5f45c(0x18b)]),this[_0xc5f45c(0x19a)][_0xc5f45c(0xd8)](_0x369ea2||_0x2b5d89,_0x2a4156,_0x31c8f9);}['pong'](_0x4402cd,_0x520bce,_0x4611d9){const _0x2072d3=_0x280c43;if(this[_0x2072d3(0x11c)]===_0x19c8f4[_0x2072d3(0x1e8)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4402cd=='function'?(_0x4611d9=_0x4402cd,_0x4402cd=_0x520bce=void 0x0):typeof _0x520bce==_0x2072d3(0x1cf)&&(_0x4611d9=_0x520bce,_0x520bce=void 0x0),typeof _0x4402cd==_0x2072d3(0xd1)&&(_0x4402cd=_0x4402cd['toString']()),this[_0x2072d3(0x11c)]!==_0x19c8f4['OPEN']){_0x10e4a7(this,_0x4402cd,_0x4611d9);return;}_0x520bce===void 0x0&&(_0x520bce=!this[_0x2072d3(0x18b)]),this[_0x2072d3(0x19a)]['pong'](_0x4402cd||_0x2b5d89,_0x520bce,_0x4611d9);}[_0x280c43(0xba)](){const _0xd885f5=_0x280c43;this[_0xd885f5(0x11c)]===_0x19c8f4[_0xd885f5(0x1e8)]||this[_0xd885f5(0x11c)]===_0x19c8f4[_0xd885f5(0x218)]||(this[_0xd885f5(0xe9)]=!0x1,this[_0xd885f5(0x21c)][_0xd885f5(0x1c6)]['needDrain']||this[_0xd885f5(0x25b)][_0xd885f5(0xba)]());}[_0x280c43(0x1aa)](_0x447d90,_0x118c5c,_0x3227b2){const _0x47ca3c=_0x280c43;if(this['readyState']===_0x19c8f4[_0x47ca3c(0x1e8)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x118c5c=='function'&&(_0x3227b2=_0x118c5c,_0x118c5c={}),typeof _0x447d90==_0x47ca3c(0xd1)&&(_0x447d90=_0x447d90[_0x47ca3c(0x15a)]()),this[_0x47ca3c(0x11c)]!==_0x19c8f4['OPEN']){_0x10e4a7(this,_0x447d90,_0x3227b2);return;}const _0x2cd931={'binary':typeof _0x447d90!=_0x47ca3c(0x114),'mask':!this[_0x47ca3c(0x18b)],'compress':!0x0,'fin':!0x0,..._0x118c5c};this[_0x47ca3c(0x189)][_0x76463f[_0x47ca3c(0x258)]]||(_0x2cd931[_0x47ca3c(0x203)]=!0x1),this[_0x47ca3c(0x19a)]['send'](_0x447d90||_0x2b5d89,_0x2cd931,_0x3227b2);}['terminate'](){const _0x15af07=_0x280c43;if(this[_0x15af07(0x11c)]!==_0x19c8f4[_0x15af07(0x218)]){if(this[_0x15af07(0x11c)]===_0x19c8f4[_0x15af07(0x1e8)]){_0x3b47e6(this,this[_0x15af07(0xf6)],_0x15af07(0x1c5));return;}this[_0x15af07(0x25b)]&&(this[_0x15af07(0x10f)]=_0x19c8f4['CLOSING'],this[_0x15af07(0x25b)]['destroy']());}}}Object[_0x280c43(0x106)](_0x19c8f4,'CONNECTING',{'enumerable':!0x0,'value':_0x249cd8[_0x280c43(0x15e)](_0x280c43(0x1e8))}),Object['defineProperty'](_0x19c8f4[_0x280c43(0x1c8)],_0x280c43(0x1e8),{'enumerable':!0x0,'value':_0x249cd8['indexOf'](_0x280c43(0x1e8))}),Object[_0x280c43(0x106)](_0x19c8f4,_0x280c43(0x10a),{'enumerable':!0x0,'value':_0x249cd8[_0x280c43(0x15e)](_0x280c43(0x10a))}),Object[_0x280c43(0x106)](_0x19c8f4['prototype'],_0x280c43(0x10a),{'enumerable':!0x0,'value':_0x249cd8[_0x280c43(0x15e)]('OPEN')}),Object[_0x280c43(0x106)](_0x19c8f4,_0x280c43(0x174),{'enumerable':!0x0,'value':_0x249cd8['indexOf'](_0x280c43(0x174))}),Object[_0x280c43(0x106)](_0x19c8f4[_0x280c43(0x1c8)],_0x280c43(0x174),{'enumerable':!0x0,'value':_0x249cd8[_0x280c43(0x15e)]('CLOSING')}),Object[_0x280c43(0x106)](_0x19c8f4,_0x280c43(0x218),{'enumerable':!0x0,'value':_0x249cd8['indexOf'](_0x280c43(0x218))}),Object['defineProperty'](_0x19c8f4[_0x280c43(0x1c8)],'CLOSED',{'enumerable':!0x0,'value':_0x249cd8[_0x280c43(0x15e)]('CLOSED')}),[_0x280c43(0x18a),_0x280c43(0x12b),_0x280c43(0x170),_0x280c43(0x24c),_0x280c43(0x1f9),_0x280c43(0x11c),_0x280c43(0x14a)][_0x280c43(0xd0)](_0x486325=>{const _0x191bd3=_0x280c43;Object[_0x191bd3(0x106)](_0x19c8f4[_0x191bd3(0x1c8)],_0x486325,{'enumerable':!0x0});}),[_0x280c43(0x184),_0x280c43(0x16a),_0x280c43(0x1ba),_0x280c43(0xe1)][_0x280c43(0xd0)](_0x3fb25e=>{const _0xdf8193=_0x280c43;Object[_0xdf8193(0x106)](_0x19c8f4[_0xdf8193(0x1c8)],'on'+_0x3fb25e,{'enumerable':!0x0,'get'(){const _0x2c6093=_0xdf8193;for(const _0x35aa5e of this[_0x2c6093(0xc6)](_0x3fb25e))if(_0x35aa5e[_0x118a64])return _0x35aa5e[_0xf63509];return null;},'set'(_0x3257fe){const _0x346e81=_0xdf8193;for(const _0x401d8a of this[_0x346e81(0xc6)](_0x3fb25e))if(_0x401d8a[_0x118a64]){this['removeListener'](_0x3fb25e,_0x401d8a);break;}typeof _0x3257fe==_0x346e81(0x1cf)&&this[_0x346e81(0x240)](_0x3fb25e,_0x3257fe,{[_0x118a64]:!0x0});}});}),_0x19c8f4[_0x280c43(0x1c8)][_0x280c43(0x240)]=_0x26746c,_0x19c8f4[_0x280c43(0x1c8)][_0x280c43(0x1ed)]=_0x1c8ce2,we=_0x19c8f4;function _0x277c47(_0x53d981,_0x36dc55,_0x68db43,_0x563f1d){const _0x12f9cd=_0x280c43,_0x4a3707={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x14c835[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x563f1d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x12f9cd(0x209),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x53d981['_autoPong']=_0x4a3707[_0x12f9cd(0x187)],!_0x14c835[_0x12f9cd(0x245)](_0x4a3707[_0x12f9cd(0x18e)]))throw new RangeError(_0x12f9cd(0x134)+_0x4a3707['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x14c835[_0x12f9cd(0x130)](',\x20')+')');let _0x1168f2;if(_0x36dc55 instanceof _0x4ab1a4)_0x1168f2=_0x36dc55;else try{_0x1168f2=new _0x4ab1a4(_0x36dc55);}catch{throw new SyntaxError(_0x12f9cd(0x10d)+_0x36dc55);}_0x1168f2[_0x12f9cd(0x1f9)]===_0x12f9cd(0x211)?_0x1168f2[_0x12f9cd(0x1f9)]=_0x12f9cd(0x228):_0x1168f2['protocol']===_0x12f9cd(0x1f5)&&(_0x1168f2[_0x12f9cd(0x1f9)]=_0x12f9cd(0x1ae)),_0x53d981[_0x12f9cd(0x247)]=_0x1168f2[_0x12f9cd(0x22e)];const _0xce7611=_0x1168f2[_0x12f9cd(0x1f9)]==='wss:',_0x423367=_0x1168f2[_0x12f9cd(0x1f9)]===_0x12f9cd(0x140);let _0x4e8bda;if(_0x1168f2[_0x12f9cd(0x1f9)]!==_0x12f9cd(0x228)&&!_0xce7611&&!_0x423367?_0x4e8bda=_0x12f9cd(0x1e1):_0x423367&&!_0x1168f2['pathname']?_0x4e8bda=_0x12f9cd(0x20f):_0x1168f2[_0x12f9cd(0x20d)]&&(_0x4e8bda=_0x12f9cd(0x220)),_0x4e8bda){const _0x46a5f7=new SyntaxError(_0x4e8bda);if(_0x53d981['_redirects']===0x0)throw _0x46a5f7;_0x3585c8(_0x53d981,_0x46a5f7);return;}const _0x5b4572=_0xce7611?0x1bb:0x50,_0x509d4f=_0x2a5613(0x10)[_0x12f9cd(0x15a)](_0x12f9cd(0xe5)),_0x1a8291=_0xce7611?_0x1aeb77[_0x12f9cd(0xcf)]:_0x474a50[_0x12f9cd(0xcf)],_0x328552=new Set();let _0x310266;if(_0x4a3707[_0x12f9cd(0x117)]=_0x4a3707[_0x12f9cd(0x117)]||(_0xce7611?_0x197222:_0x20e625),_0x4a3707[_0x12f9cd(0x233)]=_0x4a3707[_0x12f9cd(0x233)]||_0x5b4572,_0x4a3707[_0x12f9cd(0xf8)]=_0x1168f2[_0x12f9cd(0xf8)]||_0x5b4572,_0x4a3707['host']=_0x1168f2[_0x12f9cd(0x22d)][_0x12f9cd(0x256)]('[')?_0x1168f2[_0x12f9cd(0x22d)]['slice'](0x1,-0x1):_0x1168f2[_0x12f9cd(0x22d)],_0x4a3707[_0x12f9cd(0x24e)]={..._0x4a3707[_0x12f9cd(0x24e)],'Sec-WebSocket-Version':_0x4a3707[_0x12f9cd(0x18e)],'Sec-WebSocket-Key':_0x509d4f,'Connection':_0x12f9cd(0x213),'Upgrade':_0x12f9cd(0x147)},_0x4a3707[_0x12f9cd(0x183)]=_0x1168f2[_0x12f9cd(0x202)]+_0x1168f2[_0x12f9cd(0x113)],_0x4a3707[_0x12f9cd(0x11e)]=_0x4a3707['handshakeTimeout'],_0x4a3707[_0x12f9cd(0x23b)]&&(_0x310266=new _0x76463f(_0x4a3707[_0x12f9cd(0x23b)]!==!0x0?_0x4a3707[_0x12f9cd(0x23b)]:{},!0x1,_0x4a3707[_0x12f9cd(0xeb)]),_0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0x163)]=_0x2290f6({[_0x76463f[_0x12f9cd(0x258)]]:_0x310266[_0x12f9cd(0x18c)]()})),_0x68db43['length']){for(const _0x2322db of _0x68db43){if(typeof _0x2322db!=_0x12f9cd(0x114)||!_0x1ba6c9[_0x12f9cd(0x19e)](_0x2322db)||_0x328552[_0x12f9cd(0xc9)](_0x2322db))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x328552[_0x12f9cd(0x154)](_0x2322db);}_0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0xf1)]=_0x68db43[_0x12f9cd(0x130)](',');}if(_0x4a3707[_0x12f9cd(0x239)]&&(_0x4a3707[_0x12f9cd(0x18e)]<0xd?_0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0x12c)]=_0x4a3707[_0x12f9cd(0x239)]:_0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0x151)]=_0x4a3707[_0x12f9cd(0x239)]),(_0x1168f2[_0x12f9cd(0x1f2)]||_0x1168f2[_0x12f9cd(0x1dc)])&&(_0x4a3707[_0x12f9cd(0x1df)]=_0x1168f2[_0x12f9cd(0x1f2)]+':'+_0x1168f2[_0x12f9cd(0x1dc)]),_0x423367){const _0x25a313=_0x4a3707[_0x12f9cd(0x183)][_0x12f9cd(0x22b)](':');_0x4a3707[_0x12f9cd(0x18f)]=_0x25a313[0x0],_0x4a3707['path']=_0x25a313[0x1];}let _0x5cf583;if(_0x4a3707['followRedirects']){if(_0x53d981[_0x12f9cd(0x232)]===0x0){_0x53d981['_originalIpc']=_0x423367,_0x53d981[_0x12f9cd(0x1bb)]=_0xce7611,_0x53d981[_0x12f9cd(0x17f)]=_0x423367?_0x4a3707[_0x12f9cd(0x18f)]:_0x1168f2[_0x12f9cd(0x1d8)];const _0x3995d5=_0x563f1d&&_0x563f1d[_0x12f9cd(0x24e)];if(_0x563f1d={..._0x563f1d,'headers':{}},_0x3995d5){for(const [_0x16d211,_0x1118ba]of Object[_0x12f9cd(0x123)](_0x3995d5))_0x563f1d[_0x12f9cd(0x24e)][_0x16d211[_0x12f9cd(0x1b9)]()]=_0x1118ba;}}else{if(_0x53d981['listenerCount'](_0x12f9cd(0x205))===0x0){const _0x12a1c8=_0x423367?_0x53d981[_0x12f9cd(0x21f)]?_0x4a3707[_0x12f9cd(0x18f)]===_0x53d981[_0x12f9cd(0x17f)]:!0x1:_0x53d981['_originalIpc']?!0x1:_0x1168f2[_0x12f9cd(0x1d8)]===_0x53d981['_originalHostOrSocketPath'];(!_0x12a1c8||_0x53d981[_0x12f9cd(0x1bb)]&&!_0xce7611)&&(delete _0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0xf0)],delete _0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0x1be)],_0x12a1c8||delete _0x4a3707[_0x12f9cd(0x24e)][_0x12f9cd(0x1d8)],_0x4a3707['auth']=void 0x0);}}_0x4a3707['auth']&&!_0x563f1d[_0x12f9cd(0x24e)][_0x12f9cd(0xf0)]&&(_0x563f1d[_0x12f9cd(0x24e)]['authorization']=_0x12f9cd(0x234)+Buffer['from'](_0x4a3707['auth'])[_0x12f9cd(0x15a)](_0x12f9cd(0xe5))),_0x5cf583=_0x53d981[_0x12f9cd(0xf6)]=_0x1a8291(_0x4a3707),_0x53d981[_0x12f9cd(0x232)]&&_0x53d981[_0x12f9cd(0xe0)](_0x12f9cd(0x205),_0x53d981[_0x12f9cd(0x14a)],_0x5cf583);}else _0x5cf583=_0x53d981[_0x12f9cd(0xf6)]=_0x1a8291(_0x4a3707);_0x4a3707[_0x12f9cd(0x11e)]&&_0x5cf583['on']('timeout',()=>{const _0x190b26=_0x12f9cd;_0x3b47e6(_0x53d981,_0x5cf583,_0x190b26(0x13b));}),_0x5cf583['on'](_0x12f9cd(0x16a),_0x282709=>{const _0x2b5b29=_0x12f9cd;_0x5cf583===null||_0x5cf583[_0x101653]||(_0x5cf583=_0x53d981[_0x2b5b29(0xf6)]=null,_0x3585c8(_0x53d981,_0x282709));}),_0x5cf583['on'](_0x12f9cd(0x149),_0xbde3f=>{const _0x2e1385=_0x12f9cd,_0x1c243d=_0xbde3f['headers'][_0x2e1385(0x18d)],_0x3743d6=_0xbde3f[_0x2e1385(0xb8)];if(_0x1c243d&&_0x4a3707['followRedirects']&&_0x3743d6>=0x12c&&_0x3743d6<0x190){if(++_0x53d981[_0x2e1385(0x232)]>_0x4a3707[_0x2e1385(0x17a)]){_0x3b47e6(_0x53d981,_0x5cf583,_0x2e1385(0x156));return;}_0x5cf583['abort']();let _0x4744e6;try{_0x4744e6=new _0x4ab1a4(_0x1c243d,_0x36dc55);}catch{const _0xe15fb6=new SyntaxError('Invalid\x20URL:\x20'+_0x1c243d);_0x3585c8(_0x53d981,_0xe15fb6);return;}_0x277c47(_0x53d981,_0x4744e6,_0x68db43,_0x563f1d);}else _0x53d981[_0x2e1385(0xe0)](_0x2e1385(0x207),_0x5cf583,_0xbde3f)||_0x3b47e6(_0x53d981,_0x5cf583,_0x2e1385(0x1e9)+_0xbde3f[_0x2e1385(0xb8)]);}),_0x5cf583['on'](_0x12f9cd(0x188),(_0x3d5958,_0x36340f,_0x4e6e5a)=>{const _0x5b1406=_0x12f9cd;if(_0x53d981[_0x5b1406(0xe0)]('upgrade',_0x3d5958),_0x53d981['readyState']!==_0x19c8f4[_0x5b1406(0x1e8)])return;_0x5cf583=_0x53d981[_0x5b1406(0xf6)]=null;const _0x274d2e=_0x3d5958[_0x5b1406(0x24e)]['upgrade'];if(_0x274d2e===void 0x0||_0x274d2e[_0x5b1406(0x1b9)]()!==_0x5b1406(0x147)){_0x3b47e6(_0x53d981,_0x36340f,'Invalid\x20Upgrade\x20header');return;}const _0x4a5924=_0x2afb3d(_0x5b1406(0x14d))[_0x5b1406(0x23e)](_0x509d4f+_0x48afa5)['digest'](_0x5b1406(0xe5));if(_0x3d5958[_0x5b1406(0x24e)]['sec-websocket-accept']!==_0x4a5924){_0x3b47e6(_0x53d981,_0x36340f,_0x5b1406(0x24d));return;}const _0x9477f4=_0x3d5958[_0x5b1406(0x24e)][_0x5b1406(0x1ff)];let _0x495a96;if(_0x9477f4!==void 0x0?_0x328552[_0x5b1406(0x12e)]?_0x328552[_0x5b1406(0xc9)](_0x9477f4)||(_0x495a96=_0x5b1406(0x1e5)):_0x495a96=_0x5b1406(0x1d4):_0x328552[_0x5b1406(0x12e)]&&(_0x495a96='Server\x20sent\x20no\x20subprotocol'),_0x495a96){_0x3b47e6(_0x53d981,_0x36340f,_0x495a96);return;}_0x9477f4&&(_0x53d981['_protocol']=_0x9477f4);const _0x5826e1=_0x3d5958[_0x5b1406(0x24e)][_0x5b1406(0x11d)];if(_0x5826e1!==void 0x0){if(!_0x310266){_0x3b47e6(_0x53d981,_0x36340f,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x359085;try{_0x359085=_0x192e67(_0x5826e1);}catch{_0x3b47e6(_0x53d981,_0x36340f,_0x5b1406(0x122));return;}const _0x4dabe4=Object['keys'](_0x359085);if(_0x4dabe4[_0x5b1406(0x204)]!==0x1||_0x4dabe4[0x0]!==_0x76463f['extensionName']){_0x3b47e6(_0x53d981,_0x36340f,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x310266[_0x5b1406(0x192)](_0x359085[_0x76463f['extensionName']]);}catch{_0x3b47e6(_0x53d981,_0x36340f,_0x5b1406(0x122));return;}_0x53d981[_0x5b1406(0x189)][_0x76463f[_0x5b1406(0x258)]]=_0x310266;}_0x53d981[_0x5b1406(0x1ee)](_0x36340f,_0x4e6e5a,{'allowSynchronousEvents':_0x4a3707[_0x5b1406(0x19c)],'generateMask':_0x4a3707[_0x5b1406(0xc3)],'maxPayload':_0x4a3707[_0x5b1406(0xeb)],'skipUTF8Validation':_0x4a3707[_0x5b1406(0x23d)]});}),_0x4a3707['finishRequest']?_0x4a3707['finishRequest'](_0x5cf583,_0x53d981):_0x5cf583[_0x12f9cd(0xd3)]();}function _0x3585c8(_0x2e6b9e,_0x18b2b1){const _0x31f5d4=_0x280c43;_0x2e6b9e[_0x31f5d4(0x10f)]=_0x19c8f4['CLOSING'],_0x2e6b9e[_0x31f5d4(0x23a)]=!0x0,_0x2e6b9e[_0x31f5d4(0xe0)](_0x31f5d4(0x16a),_0x18b2b1),_0x2e6b9e['emitClose']();}function _0x20e625(_0x147537){const _0x5574d1=_0x280c43;return _0x147537[_0x5574d1(0x183)]=_0x147537['socketPath'],_0xf4c62f[_0x5574d1(0xe2)](_0x147537);}function _0x197222(_0x2d33f2){const _0x2f4c62=_0x280c43;return _0x2d33f2[_0x2f4c62(0x183)]=void 0x0,!_0x2d33f2[_0x2f4c62(0x12a)]&&_0x2d33f2[_0x2f4c62(0x12a)]!==''&&(_0x2d33f2['servername']=_0xf4c62f[_0x2f4c62(0x104)](_0x2d33f2[_0x2f4c62(0x1d8)])?'':_0x2d33f2['host']),_0x4f3bd0[_0x2f4c62(0xe2)](_0x2d33f2);}function _0x3b47e6(_0x4277b7,_0x4c93d2,_0x15c4ae){const _0x5e15e5=_0x280c43;_0x4277b7[_0x5e15e5(0x10f)]=_0x19c8f4[_0x5e15e5(0x174)];const _0xb1f0ef=new Error(_0x15c4ae);Error['captureStackTrace'](_0xb1f0ef,_0x3b47e6),_0x4c93d2[_0x5e15e5(0x25d)]?(_0x4c93d2[_0x101653]=!0x0,_0x4c93d2[_0x5e15e5(0x119)](),_0x4c93d2[_0x5e15e5(0x221)]&&!_0x4c93d2['socket'][_0x5e15e5(0x100)]&&_0x4c93d2[_0x5e15e5(0x221)][_0x5e15e5(0x180)](),process[_0x5e15e5(0xfa)](_0x3585c8,_0x4277b7,_0xb1f0ef)):(_0x4c93d2[_0x5e15e5(0x180)](_0xb1f0ef),_0x4c93d2['once']('error',_0x4277b7[_0x5e15e5(0xe0)][_0x5e15e5(0x230)](_0x4277b7,_0x5e15e5(0x16a))),_0x4c93d2[_0x5e15e5(0x10e)](_0x5e15e5(0x1ba),_0x4277b7[_0x5e15e5(0x1b1)][_0x5e15e5(0x230)](_0x4277b7)));}function _0x10e4a7(_0x2d780a,_0x4a86de,_0x56445f){const _0x339ab0=_0x280c43;if(_0x4a86de){const _0x7e40fb=_0x5c7eb4(_0x4a86de)?_0x4a86de[_0x339ab0(0x12e)]:_0x3ab28f(_0x4a86de)['length'];_0x2d780a[_0x339ab0(0x25b)]?_0x2d780a[_0x339ab0(0x19a)][_0x339ab0(0xef)]+=_0x7e40fb:_0x2d780a[_0x339ab0(0x255)]+=_0x7e40fb;}if(_0x56445f){const _0x54cbc9=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2d780a[_0x339ab0(0x11c)]+'\x20('+_0x249cd8[_0x2d780a[_0x339ab0(0x11c)]]+')');process[_0x339ab0(0xfa)](_0x56445f,_0x54cbc9);}}function _0x22110a(_0xb7602d,_0x16a732){const _0x452351=_0x280c43,_0x9ad563=this[_0x30bc44];_0x9ad563[_0x452351(0x1b8)]=!0x0,_0x9ad563[_0x452351(0x208)]=_0x16a732,_0x9ad563[_0x452351(0x11b)]=_0xb7602d,_0x9ad563[_0x452351(0x25b)][_0x30bc44]!==void 0x0&&(_0x9ad563[_0x452351(0x25b)][_0x452351(0x1fd)](_0x452351(0xe7),_0x344eed),process['nextTick'](_0x4bb19b,_0x9ad563[_0x452351(0x25b)]),_0xb7602d===0x3ed?_0x9ad563[_0x452351(0x1ba)]():_0x9ad563['close'](_0xb7602d,_0x16a732));}function _0x21b7c3(){const _0xd8fb78=_0x280c43,_0xe31648=this[_0x30bc44];_0xe31648[_0xd8fb78(0x24c)]||_0xe31648[_0xd8fb78(0x25b)][_0xd8fb78(0xba)]();}function _0x2aa43c(_0x37a7f2){const _0x1a1c52=_0x280c43,_0x4ab54d=this[_0x30bc44];_0x4ab54d['_socket'][_0x30bc44]!==void 0x0&&(_0x4ab54d[_0x1a1c52(0x25b)][_0x1a1c52(0x1fd)]('data',_0x344eed),process[_0x1a1c52(0xfa)](_0x4bb19b,_0x4ab54d[_0x1a1c52(0x25b)]),_0x4ab54d[_0x1a1c52(0x1ba)](_0x37a7f2[_0x30cc0d])),_0x4ab54d[_0x1a1c52(0x23a)]||(_0x4ab54d['_errorEmitted']=!0x0,_0x4ab54d[_0x1a1c52(0xe0)](_0x1a1c52(0x16a),_0x37a7f2));}function _0x321f7e(){const _0x43c1a3=_0x280c43;this[_0x30bc44][_0x43c1a3(0x1b1)]();}function _0x3211bc(_0x59f625,_0x578b49){const _0x16d19a=_0x280c43;this[_0x30bc44][_0x16d19a(0xe0)](_0x16d19a(0xe1),_0x59f625,_0x578b49);}function _0x583a35(_0x1308bc){const _0x3d60da=_0x280c43,_0x3e5dea=this[_0x30bc44];_0x3e5dea[_0x3d60da(0xd2)]&&_0x3e5dea[_0x3d60da(0x1d1)](_0x1308bc,!this[_0x3d60da(0x18b)],_0x87ed61),_0x3e5dea['emit'](_0x3d60da(0xd8),_0x1308bc);}function _0x3d6ea3(_0x2ea6a1){const _0x3d630f=_0x280c43;this[_0x30bc44]['emit'](_0x3d630f(0x1d1),_0x2ea6a1);}function _0x4bb19b(_0x1762f8){const _0x4dd618=_0x280c43;_0x1762f8[_0x4dd618(0xba)]();}function _0x4d5275(_0x42c50b){const _0x3748fe=_0x280c43,_0xa61c6b=this[_0x30bc44];_0xa61c6b[_0x3748fe(0x11c)]!==_0x19c8f4[_0x3748fe(0x218)]&&(_0xa61c6b[_0x3748fe(0x11c)]===_0x19c8f4['OPEN']&&(_0xa61c6b[_0x3748fe(0x10f)]=_0x19c8f4[_0x3748fe(0x174)],_0x8404c1(_0xa61c6b)),this[_0x3748fe(0x25b)]['end'](),_0xa61c6b[_0x3748fe(0x23a)]||(_0xa61c6b[_0x3748fe(0x23a)]=!0x0,_0xa61c6b['emit']('error',_0x42c50b)));}function _0x8404c1(_0x2d433f){const _0x2f3066=_0x280c43;_0x2d433f[_0x2f3066(0x181)]=setTimeout(_0x2d433f['_socket'][_0x2f3066(0x180)][_0x2f3066(0x230)](_0x2d433f['_socket']),_0x26fe3f);}function _0x5c6dc2(){const _0x5802e8=_0x280c43,_0x2e3fa0=this[_0x30bc44];this['removeListener']('close',_0x5c6dc2),this[_0x5802e8(0x1fd)](_0x5802e8(0xe7),_0x344eed),this['removeListener'](_0x5802e8(0xd3),_0x37ed8e),_0x2e3fa0[_0x5802e8(0x10f)]=_0x19c8f4['CLOSING'];let _0x2b189d;!this[_0x5802e8(0x15d)][_0x5802e8(0xdd)]&&!_0x2e3fa0[_0x5802e8(0x1b8)]&&!_0x2e3fa0[_0x5802e8(0x21c)][_0x5802e8(0x1c6)][_0x5802e8(0x164)]&&(_0x2b189d=_0x2e3fa0[_0x5802e8(0x25b)][_0x5802e8(0x1ca)]())!==null&&_0x2e3fa0[_0x5802e8(0x21c)][_0x5802e8(0x22f)](_0x2b189d),_0x2e3fa0[_0x5802e8(0x21c)]['end'](),this[_0x30bc44]=void 0x0,clearTimeout(_0x2e3fa0[_0x5802e8(0x181)]),_0x2e3fa0[_0x5802e8(0x21c)][_0x5802e8(0x1c6)][_0x5802e8(0x1bf)]||_0x2e3fa0[_0x5802e8(0x21c)]['_writableState'][_0x5802e8(0x164)]?_0x2e3fa0[_0x5802e8(0x1b1)]():(_0x2e3fa0[_0x5802e8(0x21c)]['on'](_0x5802e8(0x16a),_0x321f7e),_0x2e3fa0[_0x5802e8(0x21c)]['on']('finish',_0x321f7e));}function _0x344eed(_0x2e3e0c){const _0x41e73d=_0x280c43;this[_0x30bc44][_0x41e73d(0x21c)][_0x41e73d(0x22f)](_0x2e3e0c)||this[_0x41e73d(0x1a4)]();}function _0x37ed8e(){const _0x5c7dca=_0x280c43,_0x5a60c4=this[_0x30bc44];_0x5a60c4[_0x5c7dca(0x10f)]=_0x19c8f4['CLOSING'],_0x5a60c4[_0x5c7dca(0x21c)][_0x5c7dca(0xd3)](),this[_0x5c7dca(0xd3)]();}function _0x27b686(){const _0x4e6473=_0x280c43,_0x1fac87=this[_0x30bc44];this[_0x4e6473(0x1fd)](_0x4e6473(0x16a),_0x27b686),this['on'](_0x4e6473(0x16a),_0x87ed61),_0x1fac87&&(_0x1fac87[_0x4e6473(0x10f)]=_0x19c8f4['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x55fdb1}=_0x5a8f10;function _0x4f4114(_0x322160){const _0x5aa7f8=_0x3bdb;_0x322160[_0x5aa7f8(0xe0)]('close');}function _0x396a48(){const _0x3ac445=_0x3bdb;!this[_0x3ac445(0x100)]&&this[_0x3ac445(0x1c6)][_0x3ac445(0x1bf)]&&this[_0x3ac445(0x180)]();}function _0x12467b(_0x49e3b2){const _0x22dd7d=_0x3bdb;this['removeListener'](_0x22dd7d(0x16a),_0x12467b),this[_0x22dd7d(0x180)](),this[_0x22dd7d(0x229)](_0x22dd7d(0x16a))===0x0&&this[_0x22dd7d(0xe0)](_0x22dd7d(0x16a),_0x49e3b2);}function _0xe80928(_0x4ac4ac,_0x175f9d){const _0x44437e=_0x3bdb;let _0x4fda13=!0x0;const _0xfe76c4=new _0x55fdb1({..._0x175f9d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ac4ac['on'](_0x44437e(0xe1),function(_0x4e220c,_0x86c4b7){const _0x35c63f=_0x44437e,_0x358e96=!_0x86c4b7&&_0xfe76c4[_0x35c63f(0x15d)]['objectMode']?_0x4e220c[_0x35c63f(0x15a)]():_0x4e220c;_0xfe76c4[_0x35c63f(0x1a9)](_0x358e96)||_0x4ac4ac[_0x35c63f(0x1a4)]();}),_0x4ac4ac[_0x44437e(0x10e)]('error',function(_0x4efabc){const _0x29b110=_0x44437e;_0xfe76c4[_0x29b110(0x100)]||(_0x4fda13=!0x1,_0xfe76c4[_0x29b110(0x180)](_0x4efabc));}),_0x4ac4ac[_0x44437e(0x10e)](_0x44437e(0x1ba),function(){const _0x9bf350=_0x44437e;_0xfe76c4['destroyed']||_0xfe76c4[_0x9bf350(0x1a9)](null);}),_0xfe76c4[_0x44437e(0x1ab)]=function(_0x398e8e,_0x38d593){const _0x439740=_0x44437e;if(_0x4ac4ac[_0x439740(0x11c)]===_0x4ac4ac[_0x439740(0x218)]){_0x38d593(_0x398e8e),process[_0x439740(0xfa)](_0x4f4114,_0xfe76c4);return;}let _0x1a84cc=!0x1;_0x4ac4ac[_0x439740(0x10e)]('error',function(_0x3a1403){_0x1a84cc=!0x0,_0x38d593(_0x3a1403);}),_0x4ac4ac['once']('close',function(){_0x1a84cc||_0x38d593(_0x398e8e),process['nextTick'](_0x4f4114,_0xfe76c4);}),_0x4fda13&&_0x4ac4ac[_0x439740(0x1db)]();},_0xfe76c4[_0x44437e(0x1e4)]=function(_0x174105){const _0x461cfd=_0x44437e;if(_0x4ac4ac[_0x461cfd(0x11c)]===_0x4ac4ac['CONNECTING']){_0x4ac4ac['once']('open',function(){const _0x473a40=_0x461cfd;_0xfe76c4[_0x473a40(0x1e4)](_0x174105);});return;}_0x4ac4ac[_0x461cfd(0x25b)]!==null&&(_0x4ac4ac['_socket']['_writableState']['finished']?(_0x174105(),_0xfe76c4[_0x461cfd(0x15d)][_0x461cfd(0xdd)]&&_0xfe76c4[_0x461cfd(0x180)]()):(_0x4ac4ac['_socket'][_0x461cfd(0x10e)]('finish',function(){_0x174105();}),_0x4ac4ac[_0x461cfd(0x1ba)]()));},_0xfe76c4[_0x44437e(0x108)]=function(){const _0xb13daf=_0x44437e;_0x4ac4ac[_0xb13daf(0x24c)]&&_0x4ac4ac[_0xb13daf(0xba)]();},_0xfe76c4['_write']=function(_0xed555c,_0x5e4ae0,_0x4936a6){const _0x4d064d=_0x44437e;if(_0x4ac4ac['readyState']===_0x4ac4ac[_0x4d064d(0x1e8)]){_0x4ac4ac[_0x4d064d(0x10e)](_0x4d064d(0x184),function(){_0xfe76c4['_write'](_0xed555c,_0x5e4ae0,_0x4936a6);});return;}_0x4ac4ac[_0x4d064d(0x1aa)](_0xed555c,_0x4936a6);},_0xfe76c4['on'](_0x44437e(0xd3),_0x396a48),_0xfe76c4['on'](_0x44437e(0x16a),_0x12467b),_0xfe76c4;}return Oe=_0xe80928,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x13447d}=ne();function _0x37d1df(_0x12f876){const _0x588aad=_0x3bdb,_0x36e045=new Set();let _0x56e338=-0x1,_0x50e383=-0x1,_0x43d04c=0x0;for(_0x43d04c;_0x43d04c<_0x12f876[_0x588aad(0x204)];_0x43d04c++){const _0x74ca00=_0x12f876[_0x588aad(0x1ea)](_0x43d04c);if(_0x50e383===-0x1&&_0x13447d[_0x74ca00]===0x1)_0x56e338===-0x1&&(_0x56e338=_0x43d04c);else{if(_0x43d04c!==0x0&&(_0x74ca00===0x20||_0x74ca00===0x9))_0x50e383===-0x1&&_0x56e338!==-0x1&&(_0x50e383=_0x43d04c);else{if(_0x74ca00===0x2c){if(_0x56e338===-0x1)throw new SyntaxError(_0x588aad(0x17e)+_0x43d04c);_0x50e383===-0x1&&(_0x50e383=_0x43d04c);const _0x289f36=_0x12f876['slice'](_0x56e338,_0x50e383);if(_0x36e045[_0x588aad(0xc9)](_0x289f36))throw new SyntaxError(_0x588aad(0x15b)+_0x289f36+_0x588aad(0x10c));_0x36e045[_0x588aad(0x154)](_0x289f36),_0x56e338=_0x50e383=-0x1;}else throw new SyntaxError(_0x588aad(0x17e)+_0x43d04c);}}}if(_0x56e338===-0x1||_0x50e383!==-0x1)throw new SyntaxError(_0x588aad(0x1a8));const _0x33ec7b=_0x12f876[_0x588aad(0xb9)](_0x56e338,_0x43d04c);if(_0x36e045[_0x588aad(0xc9)](_0x33ec7b))throw new SyntaxError(_0x588aad(0x15b)+_0x33ec7b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x36e045[_0x588aad(0x154)](_0x33ec7b),_0x36e045;}return Ce={'parse':_0x37d1df},Ce;}var Te,ot;function er(){const _0x471fa2=_0x4529b5;if(ot)return Te;ot=0x1;const _0x34ffa0=_0x552cdd,_0xc23311=_0x4dca3a,{Duplex:_0x69a154}=_0x5a8f10,{createHash:_0x26f65b}=_0x8cb1a9,_0x8cef66=pt(),_0x34bc7a=he(),_0x52c765=Jt(),_0x5a5a17=Ie(),{GUID:_0x20e958,kWebSocket:_0x3f6ec1}=V(),_0x473e95=/^[+/0-9A-Za-z]{22}==$/,_0x5851b6=0x0,_0x4298a1=0x1,_0x270634=0x2;class _0xca00f3 extends _0x34ffa0{constructor(_0x54432d,_0x570adc){const _0x5126bc=_0x3bdb;if(super(),_0x54432d={'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':_0x5a5a17,..._0x54432d},_0x54432d['port']==null&&!_0x54432d[_0x5126bc(0x254)]&&!_0x54432d[_0x5126bc(0x179)]||_0x54432d['port']!=null&&(_0x54432d[_0x5126bc(0x254)]||_0x54432d[_0x5126bc(0x179)])||_0x54432d[_0x5126bc(0x254)]&&_0x54432d[_0x5126bc(0x179)])throw new TypeError(_0x5126bc(0x160));if(_0x54432d['port']!=null?(this[_0x5126bc(0x1a1)]=_0xc23311['createServer']((_0xf72142,_0x4d0f4c)=>{const _0x318f07=_0x5126bc,_0x16388c=_0xc23311[_0x318f07(0x198)][0x1aa];_0x4d0f4c['writeHead'](0x1aa,{'Content-Length':_0x16388c[_0x318f07(0x204)],'Content-Type':_0x318f07(0x1d0)}),_0x4d0f4c[_0x318f07(0xd3)](_0x16388c);}),this['_server'][_0x5126bc(0x21d)](_0x54432d['port'],_0x54432d[_0x5126bc(0x1d8)],_0x54432d['backlog'],_0x570adc)):_0x54432d[_0x5126bc(0x254)]&&(this['_server']=_0x54432d[_0x5126bc(0x254)]),this['_server']){const _0x413c94=this['emit'][_0x5126bc(0x230)](this,_0x5126bc(0x1fa));this['_removeListeners']=_0x43586e(this['_server'],{'listening':this[_0x5126bc(0xe0)]['bind'](this,_0x5126bc(0x112)),'error':this[_0x5126bc(0xe0)][_0x5126bc(0x230)](this,_0x5126bc(0x16a)),'upgrade':(_0x6ca6c4,_0x17aa8f,_0x5a6193)=>{const _0x3e4dfe=_0x5126bc;this[_0x3e4dfe(0x1ef)](_0x6ca6c4,_0x17aa8f,_0x5a6193,_0x413c94);}});}_0x54432d[_0x5126bc(0x23b)]===!0x0&&(_0x54432d[_0x5126bc(0x23b)]={}),_0x54432d['clientTracking']&&(this[_0x5126bc(0x260)]=new Set(),this[_0x5126bc(0x199)]=!0x1),this['options']=_0x54432d,this[_0x5126bc(0x1ad)]=_0x5851b6;}[_0x471fa2(0x223)](){const _0x298f22=_0x471fa2;if(this[_0x298f22(0x173)][_0x298f22(0x179)])throw new Error(_0x298f22(0x13a));return this['_server']?this['_server'][_0x298f22(0x223)]():null;}[_0x471fa2(0x1ba)](_0x3af752){const _0x3a64bc=_0x471fa2;if(this[_0x3a64bc(0x1ad)]===_0x270634){_0x3af752&&this[_0x3a64bc(0x10e)](_0x3a64bc(0x1ba),()=>{const _0x244bab=_0x3a64bc;_0x3af752(new Error(_0x244bab(0x16f)));}),process[_0x3a64bc(0xfa)](_0x565a13,this);return;}if(_0x3af752&&this[_0x3a64bc(0x10e)]('close',_0x3af752),this[_0x3a64bc(0x1ad)]!==_0x4298a1){if(this['_state']=_0x4298a1,this['options'][_0x3a64bc(0x179)]||this[_0x3a64bc(0x173)]['server'])this[_0x3a64bc(0x1a1)]&&(this[_0x3a64bc(0x1cd)](),this[_0x3a64bc(0x1cd)]=this[_0x3a64bc(0x1a1)]=null),this[_0x3a64bc(0x260)]?this['clients'][_0x3a64bc(0x12e)]?this[_0x3a64bc(0x199)]=!0x0:process[_0x3a64bc(0xfa)](_0x565a13,this):process[_0x3a64bc(0xfa)](_0x565a13,this);else{const _0x4ee6ae=this[_0x3a64bc(0x1a1)];this[_0x3a64bc(0x1cd)](),this[_0x3a64bc(0x1cd)]=this['_server']=null,_0x4ee6ae[_0x3a64bc(0x1ba)](()=>{_0x565a13(this);});}}}['shouldHandle'](_0x5e80a0){const _0x5ceaf0=_0x471fa2;if(this[_0x5ceaf0(0x173)]['path']){const _0x85e902=_0x5e80a0[_0x5ceaf0(0x14a)][_0x5ceaf0(0x15e)]('?');if((_0x85e902!==-0x1?_0x5e80a0['url']['slice'](0x0,_0x85e902):_0x5e80a0[_0x5ceaf0(0x14a)])!==this[_0x5ceaf0(0x173)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x456d28,_0x2c3539,_0x19af86,_0x9d37d){const _0x2669ea=_0x471fa2;_0x2c3539['on'](_0x2669ea(0x16a),_0x3f4cb0);const _0x406e6d=_0x456d28[_0x2669ea(0x24e)]['sec-websocket-key'],_0x3da98a=_0x456d28['headers']['upgrade'],_0x194e8f=+_0x456d28[_0x2669ea(0x24e)][_0x2669ea(0x212)];if(_0x456d28['method']!==_0x2669ea(0x209)){_0x5b08d4(this,_0x456d28,_0x2c3539,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3da98a===void 0x0||_0x3da98a[_0x2669ea(0x1b9)]()!=='websocket'){_0x5b08d4(this,_0x456d28,_0x2c3539,0x190,_0x2669ea(0xd6));return;}if(_0x406e6d===void 0x0||!_0x473e95[_0x2669ea(0x19e)](_0x406e6d)){_0x5b08d4(this,_0x456d28,_0x2c3539,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x194e8f!==0xd&&_0x194e8f!==0x8){_0x5b08d4(this,_0x456d28,_0x2c3539,0x190,_0x2669ea(0x1d3),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2669ea(0x15c)](_0x456d28)){_0x2d1ccf(_0x2c3539,0x190);return;}const _0x28bc9a=_0x456d28[_0x2669ea(0x24e)][_0x2669ea(0x1ff)];let _0x5d9ae2=new Set();if(_0x28bc9a!==void 0x0)try{_0x5d9ae2=_0x52c765['parse'](_0x28bc9a);}catch{_0x5b08d4(this,_0x456d28,_0x2c3539,0x190,_0x2669ea(0x16e));return;}const _0x11cb65=_0x456d28[_0x2669ea(0x24e)][_0x2669ea(0x11d)],_0x1f5009={};if(this[_0x2669ea(0x173)][_0x2669ea(0x23b)]&&_0x11cb65!==void 0x0){const _0x47ab24=new _0x34bc7a(this[_0x2669ea(0x173)][_0x2669ea(0x23b)],!0x0,this[_0x2669ea(0x173)][_0x2669ea(0xeb)]);try{const _0x50d2e9=_0x8cef66[_0x2669ea(0x201)](_0x11cb65);_0x50d2e9[_0x34bc7a['extensionName']]&&(_0x47ab24[_0x2669ea(0x192)](_0x50d2e9[_0x34bc7a[_0x2669ea(0x258)]]),_0x1f5009[_0x34bc7a[_0x2669ea(0x258)]]=_0x47ab24);}catch{_0x5b08d4(this,_0x456d28,_0x2c3539,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2669ea(0x173)]['verifyClient']){const _0x3ac0b9={'origin':_0x456d28[_0x2669ea(0x24e)][''+(_0x194e8f===0x8?_0x2669ea(0xc5):_0x2669ea(0x239))],'secure':!!(_0x456d28['socket'][_0x2669ea(0xe6)]||_0x456d28[_0x2669ea(0x221)][_0x2669ea(0x1b2)]),'req':_0x456d28};if(this[_0x2669ea(0x173)][_0x2669ea(0x20c)][_0x2669ea(0x204)]===0x2){this[_0x2669ea(0x173)][_0x2669ea(0x20c)](_0x3ac0b9,(_0x3250df,_0x267ea3,_0x28b04f,_0x136b86)=>{const _0x488ef7=_0x2669ea;if(!_0x3250df)return _0x2d1ccf(_0x2c3539,_0x267ea3||0x191,_0x28b04f,_0x136b86);this[_0x488ef7(0x127)](_0x1f5009,_0x406e6d,_0x5d9ae2,_0x456d28,_0x2c3539,_0x19af86,_0x9d37d);});return;}if(!this[_0x2669ea(0x173)][_0x2669ea(0x20c)](_0x3ac0b9))return _0x2d1ccf(_0x2c3539,0x191);}this[_0x2669ea(0x127)](_0x1f5009,_0x406e6d,_0x5d9ae2,_0x456d28,_0x2c3539,_0x19af86,_0x9d37d);}[_0x471fa2(0x127)](_0x5b93e4,_0x2906ec,_0x410e2c,_0x3731bd,_0xd7eea2,_0x44e52d,_0x141612){const _0x35d94a=_0x471fa2;if(!_0xd7eea2[_0x35d94a(0x236)]||!_0xd7eea2[_0x35d94a(0x252)])return _0xd7eea2[_0x35d94a(0x180)]();if(_0xd7eea2[_0x3f6ec1])throw new Error(_0x35d94a(0x167));if(this[_0x35d94a(0x1ad)]>_0x5851b6)return _0x2d1ccf(_0xd7eea2,0x1f7);const _0x132927=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x35d94a(0x16d),_0x35d94a(0x262),'Sec-WebSocket-Accept:\x20'+_0x26f65b(_0x35d94a(0x14d))[_0x35d94a(0x23e)](_0x2906ec+_0x20e958)[_0x35d94a(0x102)]('base64')],_0x36d808=new this[(_0x35d94a(0x173))][(_0x35d94a(0x178))](null,void 0x0,this[_0x35d94a(0x173)]);if(_0x410e2c['size']){const _0x282314=this[_0x35d94a(0x173)]['handleProtocols']?this['options'][_0x35d94a(0x165)](_0x410e2c,_0x3731bd):_0x410e2c[_0x35d94a(0x135)]()[_0x35d94a(0x172)]()['value'];_0x282314&&(_0x132927[_0x35d94a(0x1a9)]('Sec-WebSocket-Protocol:\x20'+_0x282314),_0x36d808[_0x35d94a(0x1fc)]=_0x282314);}if(_0x5b93e4[_0x34bc7a[_0x35d94a(0x258)]]){const _0x5aa789=_0x5b93e4[_0x34bc7a[_0x35d94a(0x258)]][_0x35d94a(0x14f)],_0x33024f=_0x8cef66[_0x35d94a(0x1f7)]({[_0x34bc7a[_0x35d94a(0x258)]]:[_0x5aa789]});_0x132927[_0x35d94a(0x1a9)]('Sec-WebSocket-Extensions:\x20'+_0x33024f),_0x36d808[_0x35d94a(0x189)]=_0x5b93e4;}this[_0x35d94a(0xe0)](_0x35d94a(0x24e),_0x132927,_0x3731bd),_0xd7eea2[_0x35d94a(0x22f)](_0x132927['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0xd7eea2['removeListener']('error',_0x3f4cb0),_0x36d808[_0x35d94a(0x1ee)](_0xd7eea2,_0x44e52d,{'allowSynchronousEvents':this[_0x35d94a(0x173)][_0x35d94a(0x19c)],'maxPayload':this[_0x35d94a(0x173)]['maxPayload'],'skipUTF8Validation':this[_0x35d94a(0x173)][_0x35d94a(0x23d)]}),this[_0x35d94a(0x260)]&&(this['clients']['add'](_0x36d808),_0x36d808['on'](_0x35d94a(0x1ba),()=>{const _0x13b45d=_0x35d94a;this[_0x13b45d(0x260)][_0x13b45d(0xfe)](_0x36d808),this[_0x13b45d(0x199)]&&!this[_0x13b45d(0x260)][_0x13b45d(0x12e)]&&process[_0x13b45d(0xfa)](_0x565a13,this);})),_0x141612(_0x36d808,_0x3731bd);}}Te=_0xca00f3;function _0x43586e(_0x3c00b7,_0x1a5589){const _0x5df23d=_0x471fa2;for(const _0x3a9ada of Object[_0x5df23d(0x152)](_0x1a5589))_0x3c00b7['on'](_0x3a9ada,_0x1a5589[_0x3a9ada]);return function(){for(const _0x5e423c of Object['keys'](_0x1a5589))_0x3c00b7['removeListener'](_0x5e423c,_0x1a5589[_0x5e423c]);};}function _0x565a13(_0x10c53d){const _0x23a43d=_0x471fa2;_0x10c53d[_0x23a43d(0x1ad)]=_0x270634,_0x10c53d[_0x23a43d(0xe0)](_0x23a43d(0x1ba));}function _0x3f4cb0(){const _0x206640=_0x471fa2;this[_0x206640(0x180)]();}function _0x2d1ccf(_0x4f894e,_0x3845c4,_0x154511,_0xdf9517){const _0xd61ddb=_0x471fa2;_0x154511=_0x154511||_0xc23311[_0xd61ddb(0x198)][_0x3845c4],_0xdf9517={'Connection':_0xd61ddb(0x1ba),'Content-Type':_0xd61ddb(0x1f6),'Content-Length':Buffer[_0xd61ddb(0xc0)](_0x154511),..._0xdf9517},_0x4f894e[_0xd61ddb(0x10e)]('finish',_0x4f894e[_0xd61ddb(0x180)]),_0x4f894e[_0xd61ddb(0xd3)]('HTTP/1.1\x20'+_0x3845c4+'\x20'+_0xc23311[_0xd61ddb(0x198)][_0x3845c4]+'\x0d\x0a'+Object['keys'](_0xdf9517)[_0xd61ddb(0x1da)](_0x64ceaf=>_0x64ceaf+':\x20'+_0xdf9517[_0x64ceaf])[_0xd61ddb(0x130)]('\x0d\x0a')+_0xd61ddb(0x168)+_0x154511);}function _0x5b08d4(_0x39a4b7,_0x3403a0,_0x4d1fdd,_0x1ff3b1,_0x18983d,_0x30f56a){const _0x12cd59=_0x471fa2;if(_0x39a4b7[_0x12cd59(0x229)](_0x12cd59(0x169))){const _0xf5c472=new Error(_0x18983d);Error[_0x12cd59(0x1e6)](_0xf5c472,_0x5b08d4),_0x39a4b7[_0x12cd59(0xe0)](_0x12cd59(0x169),_0xf5c472,_0x4d1fdd,_0x3403a0);}else _0x2d1ccf(_0x4d1fdd,_0x1ff3b1,_0x18983d,_0x30f56a);}return Te;}er();var tr=Object[_0x4529b5(0x13f)],rr=(_0x52b3a2,_0x6ac361,_0x2fd5e6,_0x2bcb20)=>{for(var _0xb48741=_0x2bcb20>0x1?void 0x0:_0x2bcb20?tr(_0x6ac361,_0x2fd5e6):_0x6ac361,_0x380846=_0x52b3a2['length']-0x1,_0x26b97c;_0x380846>=0x0;_0x380846--)(_0x26b97c=_0x52b3a2[_0x380846])&&(_0xb48741=_0x26b97c(_0xb48741)||_0xb48741);return _0xb48741;},sr=(_0x140cf1,_0x137e17)=>(_0x5ebdae,_0x1402b)=>_0x137e17(_0x5ebdae,_0x1402b,_0x140cf1);let Ne=class extends _0x692adf{constructor(_0x33033d){const _0x1bab4d=_0x4529b5;super(),this[_0x1bab4d(0x1c2)]=_0x33033d;}['createSocket'](_0x59b5de){const _0x550511=_0x4529b5;var _0x32d8e2;const _0x1ee829=(_0x32d8e2=this['_configService'][_0x550511(0x24f)](Be))==null?void 0x0:_0x32d8e2[_0x550511(0x251)];try{const _0x7b30f9=new Qt(_0x59b5de,{'headers':{..._0x1ee829}}),_0x478c87=new _0x5b8db9();return{'URL':_0x59b5de,'close':(_0xce6cae,_0x759c23)=>{const _0x424c81=_0x550511;_0x7b30f9[_0x424c81(0x1ba)](_0xce6cae,_0x759c23),_0x478c87['dispose']();},'send':_0x171328=>{const _0x15f9de=_0x550511;_0x7b30f9[_0x15f9de(0x1aa)](_0x171328);},'open$':new _0x56a881(_0x1297c1=>{const _0x1e0db6=_0x550511,_0x209a43=_0xa91eb=>_0x1297c1[_0x1e0db6(0x172)](_0xa91eb);_0x7b30f9[_0x1e0db6(0x240)](_0x1e0db6(0x184),_0x209a43),_0x478c87[_0x1e0db6(0x154)](_0x4be717(()=>_0x7b30f9[_0x1e0db6(0x1ed)]('open',_0x209a43)));})['pipe'](_0x297777()),'close$':new _0x56a881(_0x31f1de=>{const _0x44709a=_0x550511,_0x49eaef=_0x580302=>_0x31f1de['next'](_0x580302);_0x7b30f9[_0x44709a(0x240)](_0x44709a(0x1ba),_0x49eaef),_0x478c87[_0x44709a(0x154)](_0x4be717(()=>_0x7b30f9[_0x44709a(0x1ed)](_0x44709a(0x1ba),_0x49eaef)));})[_0x550511(0x1ce)](_0x297777()),'error$':new _0x56a881(_0x11aaf1=>{const _0x208ccc=_0x550511,_0x2b8623=_0x7d92c5=>_0x11aaf1[_0x208ccc(0x172)](_0x7d92c5);_0x7b30f9[_0x208ccc(0x240)](_0x208ccc(0x16a),_0x2b8623),_0x478c87['add'](_0x4be717(()=>_0x7b30f9[_0x208ccc(0x1ed)]('error',_0x2b8623)));})[_0x550511(0x1ce)](_0x297777()),'message$':new _0x56a881(_0x589615=>{const _0x1c253a=_0x550511,_0x20cfab=_0x480d34=>_0x589615[_0x1c253a(0x172)](_0x480d34);_0x7b30f9[_0x1c253a(0x240)](_0x1c253a(0xe1),_0x20cfab),_0x478c87[_0x1c253a(0x154)](_0x4be717(()=>_0x7b30f9['removeEventListener'](_0x1c253a(0xe1),_0x20cfab)));})[_0x550511(0x1ce)](_0x297777())};}catch(_0x2767c3){return console['error'](_0x2767c3),null;}}};Ne=rr([sr(0x0,_0x1acf26)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x4f52bc,_0x4f0ad7,_0x24dbfd)=>_0x4f0ad7 in _0x4f52bc?ir(_0x4f52bc,_0x4f0ad7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24dbfd}):_0x4f52bc[_0x4f0ad7]=_0x24dbfd,ar=(_0x4963b0,_0x575959,_0x1c98e3,_0x23d814)=>{for(var _0x5b9bd7=_0x23d814>0x1?void 0x0:_0x23d814?nr(_0x575959,_0x1c98e3):_0x575959,_0xd07a39=_0x4963b0['length']-0x1,_0x5dd33b;_0xd07a39>=0x0;_0xd07a39--)(_0x5dd33b=_0x4963b0[_0xd07a39])&&(_0x5b9bd7=_0x5dd33b(_0x5b9bd7)||_0x5b9bd7);return _0x5b9bd7;},ke=(_0xc312f9,_0x1dc6fd)=>(_0x370b11,_0x40fd7a)=>_0x1dc6fd(_0x370b11,_0x40fd7a,_0xc312f9),lr=(_0x421c5f,_0x55b283,_0x495523)=>or(_0x421c5f,_0x55b283+'',_0x495523);let Pe=class extends _0x35bdf7{constructor(_0x2a2fcd=Ft,_0x4ffc4b,_0x29814a,_0x2fc2a5){const _0x54a2d3=_0x4529b5;_0x2a2fcd[_0x54a2d3(0x251)]||_0x4ffc4b['warn'](_0x54a2d3(0x210)),super(),this[_0x54a2d3(0x1c2)]=_0x29814a,this[_0x54a2d3(0x215)]=_0x2fc2a5,this[_0x54a2d3(0x1c2)][_0x54a2d3(0x161)](Be,_0x2a2fcd);}['onStarting'](){this['_registerDependencies']();}[_0x4529b5(0x185)](){_0x151033(this['_injector'],[[_0x4a6af8,{'useClass':Ne}]]);}};lr(Pe,_0x4529b5(0xf3),_0x4529b5(0x1fe)),Pe=ar([_0x3f8093(_0x35f881),ke(0x1,_0x5d0567),ke(0x2,_0x1acf26),ke(0x3,_0x167b3f(_0x4ebd66))],Pe);var fr=Object[_0x4529b5(0x13f)],cr=(_0x1d49b7,_0x341922,_0x4e3d94,_0x3a9c8b)=>{const _0x3729f2=_0x4529b5;for(var _0x40c0dd=_0x3a9c8b>0x1?void 0x0:_0x3a9c8b?fr(_0x341922,_0x4e3d94):_0x341922,_0x3d766b=_0x1d49b7[_0x3729f2(0x204)]-0x1,_0x5335e2;_0x3d766b>=0x0;_0x3d766b--)(_0x5335e2=_0x1d49b7[_0x3d766b])&&(_0x40c0dd=_0x5335e2(_0x40c0dd)||_0x40c0dd);return _0x40c0dd;},se=(_0x423ceb,_0x20962a)=>(_0x3e2104,_0x379112)=>_0x20962a(_0x3e2104,_0x379112,_0x423ceb);let at=class extends _0x56913c{constructor(_0x55f676,_0x913d8d,_0x3cd3ad,_0x454bd1,_0x4f9461){const _0x33c826=_0x4529b5;super(_0x55f676,_0x913d8d,_0x3cd3ad,_0x454bd1,_0x4f9461);const _0xe8965e=this[_0x33c826(0x1c2)][_0x33c826(0x24f)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x271fc5,_0x1d6fa0)=>{const _0x5cd1f7=_0x33c826;var _0x6d7317;const _0x58022b=_0x271fc5[_0x5cd1f7(0x24e)];return(_0x6d7317=_0xe8965e==null?void 0x0:_0xe8965e[_0x5cd1f7(0x251)])!=null&&_0x6d7317[_0x5cd1f7(0x1be)]&&_0x58022b[_0x5cd1f7(0x118)](_0x5cd1f7(0x224),_0xe8965e[_0x5cd1f7(0x251)][_0x5cd1f7(0x1be)]),_0x1d6fa0(_0x271fc5);}});}async[_0x4529b5(0xea)](_0x51edc6){const _0x5b10b3=_0x4529b5;return this[_0x5b10b3(0x1c4)](_0x51edc6);}};at=cr([se(0x0,_0x167b3f(_0x4ebd66)),se(0x1,_0x167b3f(_0xe89b69)),se(0x2,_0x1acf26),se(0x3,_0x5d0567),se(0x4,_0x4442f4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x2303b1=_0x426b;function _0x28ab(){const _0x53f2a2=['Sec-WebSocket-Extensions:\x20','slice','_skipUTF8Validation','isArray','username','binary','servername','reason','text/plain','_registerDependencies','function','add','format','Connection:\x20Upgrade','Unknown\x20parameter\x20\x22','client_max_window_bits','_maxPayload','Cookie','MASK\x20must\x20be\x20clear','mask','arraybuffer','invalid\x20UTF-8\x20sequence','listenerCount','href','enqueue','port','protocolVersion','_payloadLength','Basic\x20','readUInt16BE','sec-websocket-extensions','server_no_context_takeover','wss:','pipe','bind','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','charCodeAt','error','nodebuffer','createDeflateRaw','_opcode','_compress','connect','Origin','MASK\x20must\x20be\x20set','HTTP/1.1\x20101\x20Switching\x20Protocols','path','_readableState','dispatch','byteOffset','GET','ping','set','Blob','noServer','compress','captureStackTrace','startsWith','uncork','_shouldEmitClose','isBuffer','bufferedAmount','maxRedirects','The\x20\x22','CONNECTING','handshakeTimeout','clientMaxWindowBits','threshold','size','skipUTF8Validation','5965BboJBa','byteLength','writeUIntBE','_deflate','WebSocket\x20is\x20not\x20open:\x20readyState\x20','getOwnPropertyDescriptor','onStarting','dataMessage','getData','pluginName','url','startLoop','params','_closeMessage','_bufferedAmount','23720UkJsdE','11aFocNU','9vptsST','listening','create','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','endEmitted','toStringTag','extensions','_max_window_bits','sec-websocket-key','errorEmitted','find','Z_DEFAULT_WINDOWBITS','_buffers','test','kListener','WS_ERR_INVALID_CLOSE_CODE','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','origin','_threshold','allowSynchronousEvents','setConfig','opcode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_fragments','request','websocket','sha1','kType','conclude','buffers','maxPayload','extensionName','_doCreateSocket','default','push','timeout','response','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','https:','_errorEmitted','construct','write','indexOf','_injector','invalid\x20payload\x20length\x20','object','_originalSecure','base64','_no_context_takeover','FIN\x20must\x20be\x20set','clients','Invalid\x20Sec-WebSocket-Accept\x20header','upgrade','WS_ERR_INVALID_OPCODE','rsv1','_paused','_receiver','buffer','Sec-WebSocket-Origin','WS_NO_BUFFER_UTIL','WS_ERR_INVALID_UTF8','length','_compressed','_closeTimer','removeEventListener','createInflateRaw','35009HzADDe','destroyed','entries','keys','has','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_autoPong','readyState','invalid\x20opcode\x20','cleanup','includes','terminate','needDrain','string','digest','pong','flush','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','jobs','4rAlIwp','maskBuffer','Max\x20payload\x20size\x20exceeded','Invalid\x20HTTP\x20method','isInteger','_fragmented','__esModule','consume','getMask','completeUpgrade','stream','acceptAsClient','redirect','WS_ERR_UNEXPECTED_RSV_2_3','concat','Invalid\x20Sec-WebSocket-Protocol\x20header','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_redirects','_messageLength','hash','_binaryType','_inflate','Server\x20sent\x20no\x20subprotocol','_closeCode','dequeue','CLOSED','defineProperty','setSocket','freeze','emitClose','\x22:\x20','_protocol','warn','destroy','serverMaxWindowBits','removeListener','isPaused','_configService','_bufferedBytes','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','blob','658236BUGMxF','kTarget','isView','wasClean','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_isServer','13,\x208','_masked','sec-websocket-version','constructor','nextTick','generateMask','_removeListeners','password','address','socket','_read','Unsupported\x20protocol\x20version:\x20','clientNoContextTakeover','emit','open','fin','readOnly','kMessage','onopen','File','getPayloadLength64','permessage-deflate','binaryType','_originalIpc','cookie','get','accept','isIP','kIsForOnEventAttribute','pow','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','pause','fragments','options','Sec-WebSocket-Accept:\x20','cork','invalid\x20opcode\x200','kByteLength','zlibInflateOptions','483nJabZe','collaboration-client-node.config','defaultPort','_firstFragment','onerror','onclose','host','_queue','_sender','_options','decompress','resume','normalizeParams','_decompress','2950103QfUcci','read','acceptAsServer','delete','kRun','WS_ERR_UNEXPECTED_MASK','followRedirects','_state','encrypted','authorized','HTTP/1.1\x20','sec-websocket-protocol','_generateMask','Sec-WebSocket-Protocol:\x20','prototype','connection','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','send','kData','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','STATUS_CODES','2604270UdXnHr','_req','setNoDelay','split','protocol','setTimeout','pathname','_totalPayloadLength','clientTracking','kError','readUInt32BE','kReason','kAborted','allocUnsafe','message','replace','concurrency','customHeaders','offer','abort','_server','headers','The\x20URL\x27s\x20pathname\x20is\x20empty','_url','_allowSynchronousEvents','dispose','WS_ERR_UNEXPECTED_RSV_1','_readyState','client','concurrencyLimit','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','status-code','912fbojOM','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','handleUpgrade','Invalid\x20Upgrade\x20header','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sendFrame','apply','alloc','_loop','getBlobData','from','next','writable','values','createSocket','\x22\x20must\x20have\x20only\x20a\x20single\x20value','parse','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','map','autoPong','code','The\x20server\x20is\x20not\x20running','sec-websocket-origin','_mask','client_no_context_takeover','getConfig','pending','shouldHandle','isValidUTF8','shift','arrayBuffer','sec-websocket-accept','socketPath','Upgrade','\x20(supported\x20versions:\x20','Module','unmask','env','listen','8Kxcsze','verifyClient','exports','_closeFrameReceived','OPEN','join','_fin','serverNoContextTakeover','_maskBuffer','authorization','haveLength','_final','frame','hasOwnProperty','finish','_writableState','perMessageDeflate','callback','target','toLowerCase','WS_ERR_EXPECTED_MASK','finished','writeUInt16BE','Unexpected\x20server\x20response:\x20','type','auth','number','species','reset','end','_write','server','_errored','handleProtocols','_closeFrameSent','data','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','toString','createError','forEach','finishRequest','addEventListener','call','_extensions','ws:','Invalid\x20value\x20for\x20parameter\x20\x22','controlMessage','_socket','once','WS_NO_UTF_8_VALIDATE','listeners','server_max_window_bits','RSV1\x20must\x20be\x20clear','search','handleEvent','http:','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','4967448PaBdIx','close'];_0x28ab=function(){return _0x53f2a2;};return _0x28ab();}(function(_0x57489a,_0xdcbf36){const _0x57f569=_0x426b,_0x2504f8=_0x57489a();while(!![]){try{const _0x52b1f3=parseInt(_0x57f569(0x2fb))/0x1*(-parseInt(_0x57f569(0x30f))/0x2)+parseInt(_0x57f569(0x338))/0x3*(parseInt(_0x57f569(0x225))/0x4)+-parseInt(_0x57f569(0x2a8))/0x5*(-parseInt(_0x57f569(0x1fe))/0x6)+-parseInt(_0x57f569(0x1ba))/0x7*(parseInt(_0x57f569(0x2b7))/0x8)+-parseInt(_0x57f569(0x2b9))/0x9*(parseInt(_0x57f569(0x1de))/0xa)+-parseInt(_0x57f569(0x2b8))/0xb*(-parseInt(_0x57f569(0x260))/0xc)+-parseInt(_0x57f569(0x1c8))/0xd;if(_0x52b1f3===_0xdcbf36)break;else _0x2504f8['push'](_0x2504f8['shift']());}catch(_0x3e3c4f){_0x2504f8['push'](_0x2504f8['shift']());}}}(_0x28ab,0x42719));import{UniverCollaborationClientPlugin as _0x508733,CollaborationSocketService as _0x870fa6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x667198,DisposableCollection as _0x1468e9,toDisposable as _0x12e43c,IConfigService as _0x35a04c,DependentOn as _0x503842,ILogService as _0x3cc460,Inject as _0x9c4b20,Injector as _0x3abadc,Plugin as _0x1247ab,registerDependencies as _0x118972}from'@univerjs/core';import{ISocketService as _0x5e2c45,HTTPService as _0x3387ec}from'@univerjs/network';import{Observable as _0x5607a7,share as _0x4b5b44}from'rxjs';import _0xb2f1a3 from'events';import _0x30897f from'https';import _0x4642db from'http';import _0x22da86 from'net';import _0x23267a from'tls';import _0x1a92bd from'crypto';import _0x303e0a from'stream';import _0xbf755 from'url';import _0x510d07 from'zlib';import _0x43b38c from'buffer';import{ISnapshotServerService as _0x433541}from'@univerjs-pro/collaboration';const Be=_0x2303b1(0x1bb),Ft={'customHeaders':{}};function Wt(_0x2ad9c0){const _0x350c0a=_0x2303b1;return _0x2ad9c0&&_0x2ad9c0[_0x350c0a(0x315)]&&Object[_0x350c0a(0x1d6)][_0x350c0a(0x232)][_0x350c0a(0x250)](_0x2ad9c0,_0x350c0a(0x2da))?_0x2ad9c0[_0x350c0a(0x2da)]:_0x2ad9c0;}function ut(_0x2ebef7){const _0x59fcec=_0x2303b1;if(Object[_0x59fcec(0x1d6)]['hasOwnProperty'][_0x59fcec(0x250)](_0x2ebef7,'__esModule'))return _0x2ebef7;var _0x51fb4c=_0x2ebef7[_0x59fcec(0x2da)];if(typeof _0x51fb4c==_0x59fcec(0x26c)){var _0x211428=function _0xbb33b1(){const _0x3a79cb=_0x59fcec;var _0x4ba6e4=!0x1;try{_0x4ba6e4=this instanceof _0xbb33b1;}catch{}return _0x4ba6e4?Reflect[_0x3a79cb(0x2e1)](_0x51fb4c,arguments,this[_0x3a79cb(0x341)]):_0x51fb4c[_0x3a79cb(0x204)](this,arguments);};_0x211428[_0x59fcec(0x1d6)]=_0x51fb4c[_0x59fcec(0x1d6)];}else _0x211428={};return Object[_0x59fcec(0x329)](_0x211428,_0x59fcec(0x315),{'value':!0x0}),Object[_0x59fcec(0x2fe)](_0x2ebef7)['forEach'](function(_0x4d781d){const _0x354f25=_0x59fcec;var _0x5b986e=Object[_0x354f25(0x2ad)](_0x2ebef7,_0x4d781d);Object[_0x354f25(0x329)](_0x211428,_0x4d781d,_0x5b986e[_0x354f25(0x1ac)]?_0x5b986e:{'enumerable':!0x0,'get':function(){return _0x2ebef7[_0x4d781d];}});}),_0x211428;}var te={'exports':{}},ge,Ye;function V(){const _0x41abd0=_0x2303b1;if(Ye)return ge;Ye=0x1;const _0x2c3ed3=[_0x41abd0(0x288),'arraybuffer',_0x41abd0(0x1b3)],_0x23928b=typeof Blob<'u';return _0x23928b&&_0x2c3ed3[_0x41abd0(0x2db)](_0x41abd0(0x337)),ge={'BINARY_TYPES':_0x2c3ed3,'EMPTY_BUFFER':Buffer[_0x41abd0(0x205)](0x0),'GUID':_0x41abd0(0x25e),'hasBlob':_0x23928b,'kForOnEventAttribute':Symbol(_0x41abd0(0x1af)),'kListener':Symbol(_0x41abd0(0x2c7)),'kStatusCode':Symbol(_0x41abd0(0x1fd)),'kWebSocket':Symbol(_0x41abd0(0x2d2)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x2303b1(0x32b)](Object[_0x2303b1(0x329)]({'__proto__':null,'default':jt},Symbol[_0x2303b1(0x2be)],{'value':_0x2303b1(0x221)})),Vt=ut(Gt);var Ke;function ce(){const _0x381c24=_0x2303b1;if(Ke)return te[_0x381c24(0x227)];Ke=0x1;const {EMPTY_BUFFER:_0x1a6a02}=V(),_0x45c844=Buffer[Symbol[_0x381c24(0x240)]];function _0x84a29e(_0x1b9100,_0x3a7c02){const _0x22b846=_0x381c24;if(_0x1b9100[_0x22b846(0x2f6)]===0x0)return _0x1a6a02;if(_0x1b9100[_0x22b846(0x2f6)]===0x1)return _0x1b9100[0x0];const _0x391bb5=Buffer[_0x22b846(0x1eb)](_0x3a7c02);let _0x2405be=0x0;for(let _0xc18f66=0x0;_0xc18f66<_0x1b9100['length'];_0xc18f66++){const _0x4f1961=_0x1b9100[_0xc18f66];_0x391bb5[_0x22b846(0x296)](_0x4f1961,_0x2405be),_0x2405be+=_0x4f1961[_0x22b846(0x2f6)];}return _0x2405be<_0x3a7c02?new _0x45c844(_0x391bb5['buffer'],_0x391bb5[_0x22b846(0x293)],_0x2405be):_0x391bb5;}function _0x79009(_0x745822,_0x3a1249,_0x23ad30,_0x3e9e75,_0x485a29){for(let _0x26ed31=0x0;_0x26ed31<_0x485a29;_0x26ed31++)_0x23ad30[_0x3e9e75+_0x26ed31]=_0x745822[_0x26ed31]^_0x3a1249[_0x26ed31&0x3];}function _0xcb22e1(_0x351cf2,_0x43f22d){const _0x344cad=_0x381c24;for(let _0x456eb2=0x0;_0x456eb2<_0x351cf2[_0x344cad(0x2f6)];_0x456eb2++)_0x351cf2[_0x456eb2]^=_0x43f22d[_0x456eb2&0x3];}function _0x5bb017(_0x58b73b){const _0x1d9812=_0x381c24;return _0x58b73b[_0x1d9812(0x2f6)]===_0x58b73b[_0x1d9812(0x2f2)][_0x1d9812(0x2a9)]?_0x58b73b[_0x1d9812(0x2f2)]:_0x58b73b[_0x1d9812(0x2f2)][_0x1d9812(0x263)](_0x58b73b[_0x1d9812(0x293)],_0x58b73b[_0x1d9812(0x293)]+_0x58b73b[_0x1d9812(0x2f6)]);}function _0x2b3362(_0x17d9c1){const _0x7e2e10=_0x381c24;if(_0x2b3362[_0x7e2e10(0x1a3)]=!0x0,Buffer[_0x7e2e10(0x29e)](_0x17d9c1))return _0x17d9c1;let _0x22dce3;return _0x17d9c1 instanceof ArrayBuffer?_0x22dce3=new _0x45c844(_0x17d9c1):ArrayBuffer[_0x7e2e10(0x33a)](_0x17d9c1)?_0x22dce3=new _0x45c844(_0x17d9c1['buffer'],_0x17d9c1['byteOffset'],_0x17d9c1[_0x7e2e10(0x2a9)]):(_0x22dce3=Buffer[_0x7e2e10(0x208)](_0x17d9c1),_0x2b3362[_0x7e2e10(0x1a3)]=!0x1),_0x22dce3;}if(te[_0x381c24(0x227)]={'concat':_0x84a29e,'mask':_0x79009,'toArrayBuffer':_0x5bb017,'toBuffer':_0x2b3362,'unmask':_0xcb22e1},!process[_0x381c24(0x223)][_0x381c24(0x2f4)])try{const _0x265f5d=Vt;te[_0x381c24(0x227)][_0x381c24(0x275)]=function(_0x35a4ad,_0x106af,_0x1a3574,_0x47f81c,_0x279a68){const _0x11e513=_0x381c24;_0x279a68<0x30?_0x79009(_0x35a4ad,_0x106af,_0x1a3574,_0x47f81c,_0x279a68):_0x265f5d[_0x11e513(0x275)](_0x35a4ad,_0x106af,_0x1a3574,_0x47f81c,_0x279a68);},te[_0x381c24(0x227)][_0x381c24(0x222)]=function(_0x48d2cf,_0x34f025){const _0x2a8b3f=_0x381c24;_0x48d2cf['length']<0x20?_0xcb22e1(_0x48d2cf,_0x34f025):_0x265f5d[_0x2a8b3f(0x222)](_0x48d2cf,_0x34f025);};}catch{}return te[_0x381c24(0x227)];}var ye,Xe;function qt(){const _0x1f8912=_0x2303b1;if(Xe)return ye;Xe=0x1;const _0x41c22e=Symbol('kDone'),_0xc7728e=Symbol(_0x1f8912(0x1cc));class _0x3829e4{constructor(_0x4f79e0){const _0x50e538=_0x1f8912;this[_0x41c22e]=()=>{const _0x574fc8=_0x426b;this[_0x574fc8(0x218)]--,this[_0xc7728e]();},this[_0x50e538(0x1ee)]=_0x4f79e0||0x1/0x0,this[_0x50e538(0x30e)]=[],this[_0x50e538(0x218)]=0x0;}[_0x1f8912(0x26d)](_0xfdbca3){const _0x1d2274=_0x1f8912;this[_0x1d2274(0x30e)][_0x1d2274(0x2db)](_0xfdbca3),this[_0xc7728e]();}[_0xc7728e](){const _0x15fc35=_0x1f8912;if(this[_0x15fc35(0x218)]!==this[_0x15fc35(0x1ee)]&&this[_0x15fc35(0x30e)][_0x15fc35(0x2f6)]){const _0x5a2f60=this[_0x15fc35(0x30e)]['shift']();this[_0x15fc35(0x218)]++,_0x5a2f60(this[_0x41c22e]);}}}return ye=_0x3829e4,ye;}var ve,Ze;function he(){const _0xefc8f4=_0x2303b1;if(Ze)return ve;Ze=0x1;const _0x84c68e=_0x510d07,_0xba40fb=ce(),_0x270db4=qt(),{kStatusCode:_0x367361}=V(),_0x46c1b1=Buffer[Symbol['species']],_0x39e2aa=Buffer['from']([0x0,0x0,0xff,0xff]),_0x413506=Symbol(_0xefc8f4(0x1a8)),_0x540e1f=Symbol('total-length'),_0xae29de=Symbol(_0xefc8f4(0x236)),_0x3c7009=Symbol(_0xefc8f4(0x2d6)),_0x4eaabd=Symbol('error');let _0x43c537;class _0x3d980a{constructor(_0x4af823,_0x280ce3,_0x344807){const _0x375f2a=_0xefc8f4;if(this[_0x375f2a(0x272)]=_0x344807|0x0,this['_options']=_0x4af823||{},this['_threshold']=this['_options'][_0x375f2a(0x2a5)]!==void 0x0?this['_options'][_0x375f2a(0x2a5)]:0x400,this[_0x375f2a(0x33d)]=!!_0x280ce3,this[_0x375f2a(0x2ab)]=null,this[_0x375f2a(0x324)]=null,this[_0x375f2a(0x2b4)]=null,!_0x43c537){const _0x2cc604=this[_0x375f2a(0x1c3)][_0x375f2a(0x1fb)]!==void 0x0?this['_options'][_0x375f2a(0x1fb)]:0xa;_0x43c537=new _0x270db4(_0x2cc604);}}static get[_0xefc8f4(0x2d8)](){const _0x43285d=_0xefc8f4;return _0x43285d(0x1a8);}[_0xefc8f4(0x1f0)](){const _0x26fb67=_0xefc8f4,_0x41e938={};return this['_options'][_0x26fb67(0x22c)]&&(_0x41e938[_0x26fb67(0x281)]=!0x0),this['_options'][_0x26fb67(0x19f)]&&(_0x41e938[_0x26fb67(0x216)]=!0x0),this[_0x26fb67(0x1c3)]['serverMaxWindowBits']&&(_0x41e938[_0x26fb67(0x259)]=this[_0x26fb67(0x1c3)]['serverMaxWindowBits']),this[_0x26fb67(0x1c3)][_0x26fb67(0x2a4)]?_0x41e938[_0x26fb67(0x271)]=this[_0x26fb67(0x1c3)][_0x26fb67(0x2a4)]:this[_0x26fb67(0x1c3)][_0x26fb67(0x2a4)]==null&&(_0x41e938[_0x26fb67(0x271)]=!0x0),_0x41e938;}[_0xefc8f4(0x1ad)](_0x320981){const _0x412b08=_0xefc8f4;return _0x320981=this[_0x412b08(0x1c6)](_0x320981),this[_0x412b08(0x2b4)]=this[_0x412b08(0x33d)]?this[_0x412b08(0x1ca)](_0x320981):this[_0x412b08(0x31a)](_0x320981),this[_0x412b08(0x2b4)];}['cleanup'](){const _0x26040d=_0xefc8f4;if(this[_0x26040d(0x324)]&&(this[_0x26040d(0x324)][_0x26040d(0x261)](),this[_0x26040d(0x324)]=null),this[_0x26040d(0x2ab)]){const _0x49f4e1=this[_0x26040d(0x2ab)][_0xae29de];this['_deflate'][_0x26040d(0x261)](),this['_deflate']=null,_0x49f4e1&&_0x49f4e1(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0xefc8f4(0x1ca)](_0xbdae23){const _0x294a20=_0xefc8f4,_0x2a45ae=this['_options'],_0x54a873=_0xbdae23[_0x294a20(0x2c3)](_0x4c9e69=>!(_0x2a45ae[_0x294a20(0x22c)]===!0x1&&_0x4c9e69[_0x294a20(0x281)]||_0x4c9e69[_0x294a20(0x259)]&&(_0x2a45ae[_0x294a20(0x331)]===!0x1||typeof _0x2a45ae[_0x294a20(0x331)]==_0x294a20(0x23f)&&_0x2a45ae[_0x294a20(0x331)]>_0x4c9e69[_0x294a20(0x259)])||typeof _0x2a45ae[_0x294a20(0x2a4)]==_0x294a20(0x23f)&&!_0x4c9e69[_0x294a20(0x271)]));if(!_0x54a873)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2a45ae[_0x294a20(0x22c)]&&(_0x54a873[_0x294a20(0x281)]=!0x0),_0x2a45ae[_0x294a20(0x19f)]&&(_0x54a873['client_no_context_takeover']=!0x0),typeof _0x2a45ae[_0x294a20(0x331)]=='number'&&(_0x54a873[_0x294a20(0x259)]=_0x2a45ae['serverMaxWindowBits']),typeof _0x2a45ae[_0x294a20(0x2a4)]==_0x294a20(0x23f)?_0x54a873[_0x294a20(0x271)]=_0x2a45ae[_0x294a20(0x2a4)]:(_0x54a873[_0x294a20(0x271)]===!0x0||_0x2a45ae[_0x294a20(0x2a4)]===!0x1)&&delete _0x54a873[_0x294a20(0x271)],_0x54a873;}['acceptAsClient'](_0x285721){const _0x4a3ccb=_0xefc8f4,_0x2ba160=_0x285721[0x0];if(this[_0x4a3ccb(0x1c3)]['clientNoContextTakeover']===!0x1&&_0x2ba160[_0x4a3ccb(0x216)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2ba160[_0x4a3ccb(0x271)])typeof this['_options']['clientMaxWindowBits']==_0x4a3ccb(0x23f)&&(_0x2ba160['client_max_window_bits']=this[_0x4a3ccb(0x1c3)][_0x4a3ccb(0x2a4)]);else{if(this[_0x4a3ccb(0x1c3)]['clientMaxWindowBits']===!0x1||typeof this[_0x4a3ccb(0x1c3)][_0x4a3ccb(0x2a4)]=='number'&&_0x2ba160[_0x4a3ccb(0x271)]>this[_0x4a3ccb(0x1c3)][_0x4a3ccb(0x2a4)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x2ba160;}[_0xefc8f4(0x1c6)](_0x29b05d){const _0x237537=_0xefc8f4;return _0x29b05d[_0x237537(0x24d)](_0x106951=>{const _0x42f0b9=_0x237537;Object['keys'](_0x106951)[_0x42f0b9(0x24d)](_0x29ec6e=>{const _0x29864c=_0x42f0b9;let _0x408112=_0x106951[_0x29ec6e];if(_0x408112['length']>0x1)throw new Error('Parameter\x20\x22'+_0x29ec6e+_0x29864c(0x20d));if(_0x408112=_0x408112[0x0],_0x29ec6e===_0x29864c(0x271)){if(_0x408112!==!0x0){const _0x2b0313=+_0x408112;if(!Number[_0x29864c(0x313)](_0x2b0313)||_0x2b0313<0x8||_0x2b0313>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x29ec6e+'\x22:\x20'+_0x408112);_0x408112=_0x2b0313;}else{if(!this[_0x29864c(0x33d)])throw new TypeError(_0x29864c(0x253)+_0x29ec6e+'\x22:\x20'+_0x408112);}}else{if(_0x29ec6e===_0x29864c(0x259)){const _0x19204a=+_0x408112;if(!Number[_0x29864c(0x313)](_0x19204a)||_0x19204a<0x8||_0x19204a>0xf)throw new TypeError(_0x29864c(0x253)+_0x29ec6e+'\x22:\x20'+_0x408112);_0x408112=_0x19204a;}else{if(_0x29ec6e===_0x29864c(0x216)||_0x29ec6e===_0x29864c(0x281)){if(_0x408112!==!0x0)throw new TypeError(_0x29864c(0x253)+_0x29ec6e+_0x29864c(0x32d)+_0x408112);}else throw new Error(_0x29864c(0x270)+_0x29ec6e+'\x22');}}_0x106951[_0x29ec6e]=_0x408112;});}),_0x29b05d;}['decompress'](_0x57ed15,_0x349c7b,_0x1a65dc){const _0x43167f=_0xefc8f4;_0x43c537[_0x43167f(0x26d)](_0x267a6e=>{this['_decompress'](_0x57ed15,_0x349c7b,(_0x288078,_0x6f03c6)=>{_0x267a6e(),_0x1a65dc(_0x288078,_0x6f03c6);});});}[_0xefc8f4(0x299)](_0x26222d,_0x3e5fbd,_0x5d778){_0x43c537['add'](_0x1f8766=>{const _0x5d8656=_0x426b;this[_0x5d8656(0x28b)](_0x26222d,_0x3e5fbd,(_0x22a9cb,_0x211876)=>{_0x1f8766(),_0x5d778(_0x22a9cb,_0x211876);});});}[_0xefc8f4(0x1c7)](_0x3a6e53,_0x3a7be6,_0x5883bf){const _0x38efd2=_0xefc8f4,_0x3aa418=this[_0x38efd2(0x33d)]?_0x38efd2(0x1fa):_0x38efd2(0x244);if(!this['_inflate']){const _0x2769c3=_0x3aa418+'_max_window_bits',_0x2e1425=typeof this[_0x38efd2(0x2b4)][_0x2769c3]!=_0x38efd2(0x23f)?_0x84c68e[_0x38efd2(0x2c4)]:this[_0x38efd2(0x2b4)][_0x2769c3];this[_0x38efd2(0x324)]=_0x84c68e[_0x38efd2(0x2fa)]({...this['_options'][_0x38efd2(0x1b9)],'windowBits':_0x2e1425}),this['_inflate'][_0x413506]=this,this[_0x38efd2(0x324)][_0x540e1f]=0x0,this[_0x38efd2(0x324)][_0x3c7009]=[],this[_0x38efd2(0x324)]['on'](_0x38efd2(0x287),_0x48e267),this[_0x38efd2(0x324)]['on'](_0x38efd2(0x248),_0xc6832);}this['_inflate'][_0xae29de]=_0x5883bf,this[_0x38efd2(0x324)][_0x38efd2(0x2e2)](_0x3a6e53),_0x3a7be6&&this[_0x38efd2(0x324)][_0x38efd2(0x2e2)](_0x39e2aa),this[_0x38efd2(0x324)][_0x38efd2(0x30b)](()=>{const _0x5e1fb0=_0x38efd2,_0x1bf0dc=this[_0x5e1fb0(0x324)][_0x4eaabd];if(_0x1bf0dc){this['_inflate'][_0x5e1fb0(0x261)](),this[_0x5e1fb0(0x324)]=null,_0x5883bf(_0x1bf0dc);return;}const _0x2675d4=_0xba40fb[_0x5e1fb0(0x31d)](this[_0x5e1fb0(0x324)][_0x3c7009],this[_0x5e1fb0(0x324)][_0x540e1f]);this[_0x5e1fb0(0x324)]['_readableState']['endEmitted']?(this[_0x5e1fb0(0x324)][_0x5e1fb0(0x261)](),this[_0x5e1fb0(0x324)]=null):(this[_0x5e1fb0(0x324)][_0x540e1f]=0x0,this['_inflate'][_0x3c7009]=[],_0x3a7be6&&this[_0x5e1fb0(0x2b4)][_0x3aa418+_0x5e1fb0(0x2e9)]&&this[_0x5e1fb0(0x324)][_0x5e1fb0(0x241)]()),_0x5883bf(null,_0x2675d4);});}[_0xefc8f4(0x28b)](_0xd97bf3,_0x5cc438,_0x179426){const _0x10dae2=_0xefc8f4,_0x150c75=this['_isServer']?_0x10dae2(0x244):_0x10dae2(0x1fa);if(!this[_0x10dae2(0x2ab)]){const _0x4ffdb7=_0x150c75+_0x10dae2(0x2c0),_0xf7e92a=typeof this[_0x10dae2(0x2b4)][_0x4ffdb7]!='number'?_0x84c68e[_0x10dae2(0x2c4)]:this[_0x10dae2(0x2b4)][_0x4ffdb7];this[_0x10dae2(0x2ab)]=_0x84c68e[_0x10dae2(0x289)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0xf7e92a}),this[_0x10dae2(0x2ab)][_0x540e1f]=0x0,this['_deflate'][_0x3c7009]=[],this['_deflate']['on'](_0x10dae2(0x248),_0x27a54c);}this[_0x10dae2(0x2ab)][_0xae29de]=_0x179426,this[_0x10dae2(0x2ab)]['write'](_0xd97bf3),this[_0x10dae2(0x2ab)][_0x10dae2(0x30b)](_0x84c68e['Z_SYNC_FLUSH'],()=>{const _0x43038f=_0x10dae2;if(!this[_0x43038f(0x2ab)])return;let _0x2c2c9c=_0xba40fb['concat'](this['_deflate'][_0x3c7009],this[_0x43038f(0x2ab)][_0x540e1f]);_0x5cc438&&(_0x2c2c9c=new _0x46c1b1(_0x2c2c9c[_0x43038f(0x2f2)],_0x2c2c9c['byteOffset'],_0x2c2c9c[_0x43038f(0x2f6)]-0x4)),this[_0x43038f(0x2ab)][_0xae29de]=null,this[_0x43038f(0x2ab)][_0x540e1f]=0x0,this[_0x43038f(0x2ab)][_0x3c7009]=[],_0x5cc438&&this['params'][_0x150c75+_0x43038f(0x2e9)]&&this[_0x43038f(0x2ab)][_0x43038f(0x241)](),_0x179426(null,_0x2c2c9c);});}}ve=_0x3d980a;function _0x27a54c(_0x553bab){const _0x1a6b13=_0xefc8f4;this[_0x3c7009]['push'](_0x553bab),this[_0x540e1f]+=_0x553bab[_0x1a6b13(0x2f6)];}function _0xc6832(_0x5b13bb){const _0x2f6a00=_0xefc8f4;if(this[_0x540e1f]+=_0x5b13bb[_0x2f6a00(0x2f6)],this[_0x413506][_0x2f6a00(0x272)]<0x1||this[_0x540e1f]<=this[_0x413506][_0x2f6a00(0x272)]){this[_0x3c7009]['push'](_0x5b13bb);return;}this[_0x4eaabd]=new RangeError(_0x2f6a00(0x311)),this[_0x4eaabd]['code']=_0x2f6a00(0x2bc),this[_0x4eaabd][_0x367361]=0x3f1,this[_0x2f6a00(0x332)](_0x2f6a00(0x248),_0xc6832),this[_0x2f6a00(0x241)]();}function _0x48e267(_0x4b7c1f){const _0x4659d5=_0xefc8f4;if(this[_0x413506][_0x4659d5(0x324)]=null,this[_0x4eaabd]){this[_0xae29de](this[_0x4eaabd]);return;}_0x4b7c1f[_0x367361]=0x3ef,this[_0xae29de](_0x4b7c1f);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2303b1(0x32b)](Object[_0x2303b1(0x329)]({'__proto__':null,'default':Ht},Symbol[_0x2303b1(0x2be)],{'value':_0x2303b1(0x221)})),Yt=ut(zt);var Qe;function ne(){const _0x5e2685=_0x2303b1;if(Qe)return re[_0x5e2685(0x227)];Qe=0x1;const {isUtf8:_0x230875}=_0x43b38c,{hasBlob:_0x5e870e}=V(),_0xab4ab0=[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 _0x4c18ec(_0x36d38a){return _0x36d38a>=0x3e8&&_0x36d38a<=0x3f6&&_0x36d38a!==0x3ec&&_0x36d38a!==0x3ed&&_0x36d38a!==0x3ee||_0x36d38a>=0xbb8&&_0x36d38a<=0x1387;}function _0x18da06(_0x598347){const _0x951881=_0x5e2685,_0x273aa3=_0x598347[_0x951881(0x2f6)];let _0x9a6db8=0x0;for(;_0x9a6db8<_0x273aa3;)if((_0x598347[_0x9a6db8]&0x80)===0x0)_0x9a6db8++;else{if((_0x598347[_0x9a6db8]&0xe0)===0xc0){if(_0x9a6db8+0x1===_0x273aa3||(_0x598347[_0x9a6db8+0x1]&0xc0)!==0x80||(_0x598347[_0x9a6db8]&0xfe)===0xc0)return!0x1;_0x9a6db8+=0x2;}else{if((_0x598347[_0x9a6db8]&0xf0)===0xe0){if(_0x9a6db8+0x2>=_0x273aa3||(_0x598347[_0x9a6db8+0x1]&0xc0)!==0x80||(_0x598347[_0x9a6db8+0x2]&0xc0)!==0x80||_0x598347[_0x9a6db8]===0xe0&&(_0x598347[_0x9a6db8+0x1]&0xe0)===0x80||_0x598347[_0x9a6db8]===0xed&&(_0x598347[_0x9a6db8+0x1]&0xe0)===0xa0)return!0x1;_0x9a6db8+=0x3;}else{if((_0x598347[_0x9a6db8]&0xf8)===0xf0){if(_0x9a6db8+0x3>=_0x273aa3||(_0x598347[_0x9a6db8+0x1]&0xc0)!==0x80||(_0x598347[_0x9a6db8+0x2]&0xc0)!==0x80||(_0x598347[_0x9a6db8+0x3]&0xc0)!==0x80||_0x598347[_0x9a6db8]===0xf0&&(_0x598347[_0x9a6db8+0x1]&0xf0)===0x80||_0x598347[_0x9a6db8]===0xf4&&_0x598347[_0x9a6db8+0x1]>0x8f||_0x598347[_0x9a6db8]>0xf4)return!0x1;_0x9a6db8+=0x4;}else return!0x1;}}}return!0x0;}function _0x264c99(_0x140bcc){const _0x32bb5f=_0x5e2685;return _0x5e870e&&typeof _0x140bcc==_0x32bb5f(0x2e6)&&typeof _0x140bcc[_0x32bb5f(0x21c)]==_0x32bb5f(0x26c)&&typeof _0x140bcc[_0x32bb5f(0x23d)]==_0x32bb5f(0x308)&&typeof _0x140bcc[_0x32bb5f(0x319)]==_0x32bb5f(0x26c)&&(_0x140bcc[Symbol['toStringTag']]===_0x32bb5f(0x297)||_0x140bcc[Symbol[_0x32bb5f(0x2be)]]===_0x32bb5f(0x1a6));}if(re[_0x5e2685(0x227)]={'isBlob':_0x264c99,'isValidStatusCode':_0x4c18ec,'isValidUTF8':_0x18da06,'tokenChars':_0xab4ab0},_0x230875)re[_0x5e2685(0x227)]['isValidUTF8']=function(_0x322edf){const _0x924cb2=_0x5e2685;return _0x322edf[_0x924cb2(0x2f6)]<0x18?_0x18da06(_0x322edf):_0x230875(_0x322edf);};else{if(!process[_0x5e2685(0x223)][_0x5e2685(0x257)])try{const _0x53dfa0=Yt;re[_0x5e2685(0x227)][_0x5e2685(0x21a)]=function(_0x5952f8){const _0x1febbc=_0x5e2685;return _0x5952f8[_0x1febbc(0x2f6)]<0x20?_0x18da06(_0x5952f8):_0x53dfa0(_0x5952f8);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x37383a=_0x2303b1;if(Je)return Se;Je=0x1;const {Writable:_0x16395c}=_0x303e0a,_0x4868ad=he(),{BINARY_TYPES:_0x517be6,EMPTY_BUFFER:_0x48741a,kStatusCode:_0x4d8f52,kWebSocket:_0xa7e32a}=V(),{concat:_0x1a4960,toArrayBuffer:_0x2d21ad,unmask:_0xc9bbe6}=ce(),{isValidStatusCode:_0x44eaea,isValidUTF8:_0x153c84}=ne(),_0x34ba5c=Buffer[Symbol[_0x37383a(0x240)]],_0x135702=0x0,_0x49a990=0x1,_0x532829=0x2,_0x252c91=0x3,_0x49b8a9=0x4,_0x2968ec=0x5,_0x2685ac=0x6;class _0x2d49d4 extends _0x16395c{constructor(_0x1f900a={}){const _0x1f262e=_0x37383a;super(),this[_0x1f262e(0x1f6)]=_0x1f900a[_0x1f262e(0x2cc)]!==void 0x0?_0x1f900a[_0x1f262e(0x2cc)]:!0x0,this['_binaryType']=_0x1f900a[_0x1f262e(0x1a9)]||_0x517be6[0x0],this[_0x1f262e(0x251)]=_0x1f900a[_0x1f262e(0x2bf)]||{},this[_0x1f262e(0x33d)]=!!_0x1f900a['isServer'],this[_0x1f262e(0x272)]=_0x1f900a[_0x1f262e(0x2d7)]|0x0,this['_skipUTF8Validation']=!!_0x1f900a['skipUTF8Validation'],this[_0xa7e32a]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1f262e(0x2c5)]=[],this[_0x1f262e(0x2f7)]=!0x1,this[_0x1f262e(0x27d)]=0x0,this[_0x1f262e(0x215)]=void 0x0,this['_fragmented']=0x0,this[_0x1f262e(0x33f)]=!0x1,this['_fin']=!0x1,this[_0x1f262e(0x28a)]=0x0,this[_0x1f262e(0x1e5)]=0x0,this[_0x1f262e(0x321)]=0x0,this[_0x1f262e(0x2d0)]=[],this[_0x1f262e(0x245)]=!0x1,this[_0x1f262e(0x206)]=!0x1,this['_state']=_0x135702;}[_0x37383a(0x243)](_0x1be259,_0x33b2b2,_0x1d5c02){const _0x53ecbf=_0x37383a;if(this[_0x53ecbf(0x28a)]===0x8&&this[_0x53ecbf(0x1cf)]==_0x135702)return _0x1d5c02();this[_0x53ecbf(0x335)]+=_0x1be259[_0x53ecbf(0x2f6)],this['_buffers'][_0x53ecbf(0x2db)](_0x1be259),this[_0x53ecbf(0x2b3)](_0x1d5c02);}['consume'](_0x58a6e0){const _0x28a5c2=_0x37383a;if(this[_0x28a5c2(0x335)]-=_0x58a6e0,_0x58a6e0===this[_0x28a5c2(0x2c5)][0x0][_0x28a5c2(0x2f6)])return this['_buffers'][_0x28a5c2(0x21b)]();if(_0x58a6e0<this[_0x28a5c2(0x2c5)][0x0][_0x28a5c2(0x2f6)]){const _0x27425c=this['_buffers'][0x0];return this[_0x28a5c2(0x2c5)][0x0]=new _0x34ba5c(_0x27425c[_0x28a5c2(0x2f2)],_0x27425c[_0x28a5c2(0x293)]+_0x58a6e0,_0x27425c[_0x28a5c2(0x2f6)]-_0x58a6e0),new _0x34ba5c(_0x27425c[_0x28a5c2(0x2f2)],_0x27425c[_0x28a5c2(0x293)],_0x58a6e0);}const _0x2864be=Buffer[_0x28a5c2(0x1eb)](_0x58a6e0);do{const _0x2d3307=this['_buffers'][0x0],_0x1f0c19=_0x2864be['length']-_0x58a6e0;_0x58a6e0>=_0x2d3307[_0x28a5c2(0x2f6)]?_0x2864be[_0x28a5c2(0x296)](this[_0x28a5c2(0x2c5)][_0x28a5c2(0x21b)](),_0x1f0c19):(_0x2864be[_0x28a5c2(0x296)](new Uint8Array(_0x2d3307[_0x28a5c2(0x2f2)],_0x2d3307['byteOffset'],_0x58a6e0),_0x1f0c19),this[_0x28a5c2(0x2c5)][0x0]=new _0x34ba5c(_0x2d3307[_0x28a5c2(0x2f2)],_0x2d3307['byteOffset']+_0x58a6e0,_0x2d3307[_0x28a5c2(0x2f6)]-_0x58a6e0)),_0x58a6e0-=_0x2d3307['length'];}while(_0x58a6e0>0x0);return _0x2864be;}['startLoop'](_0x5de759){const _0x3d7ffd=_0x37383a;this[_0x3d7ffd(0x206)]=!0x0;do switch(this['_state']){case _0x135702:this['getInfo'](_0x5de759);break;case _0x49a990:this['getPayloadLength16'](_0x5de759);break;case _0x532829:this[_0x3d7ffd(0x1a7)](_0x5de759);break;case _0x252c91:this[_0x3d7ffd(0x317)]();break;case _0x49b8a9:this[_0x3d7ffd(0x2b0)](_0x5de759);break;case _0x2968ec:case _0x2685ac:this[_0x3d7ffd(0x206)]=!0x1;return;}while(this[_0x3d7ffd(0x206)]);this[_0x3d7ffd(0x245)]||_0x5de759();}['getInfo'](_0xb643f2){const _0x4b02ff=_0x37383a;if(this[_0x4b02ff(0x335)]<0x2){this[_0x4b02ff(0x206)]=!0x1;return;}const _0x1787bd=this[_0x4b02ff(0x316)](0x2);if((_0x1787bd[0x0]&0x30)!==0x0){const _0x489114=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4b02ff(0x31c));_0xb643f2(_0x489114);return;}const _0x3e6593=(_0x1787bd[0x0]&0x40)===0x40;if(_0x3e6593&&!this[_0x4b02ff(0x251)][_0x4868ad[_0x4b02ff(0x2d8)]]){const _0x40039b=this['createError'](RangeError,_0x4b02ff(0x25a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xb643f2(_0x40039b);return;}if(this[_0x4b02ff(0x22b)]=(_0x1787bd[0x0]&0x80)===0x80,this[_0x4b02ff(0x28a)]=_0x1787bd[0x0]&0xf,this['_payloadLength']=_0x1787bd[0x1]&0x7f,this[_0x4b02ff(0x28a)]===0x0){if(_0x3e6593){const _0x4512b0=this[_0x4b02ff(0x24c)](RangeError,_0x4b02ff(0x25a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xb643f2(_0x4512b0);return;}if(!this['_fragmented']){const _0x1905b8=this['createError'](RangeError,_0x4b02ff(0x1b7),!0x0,0x3ea,_0x4b02ff(0x2ee));_0xb643f2(_0x1905b8);return;}this[_0x4b02ff(0x28a)]=this['_fragmented'];}else{if(this[_0x4b02ff(0x28a)]===0x1||this[_0x4b02ff(0x28a)]===0x2){if(this[_0x4b02ff(0x314)]){const _0x534bd1=this['createError'](RangeError,_0x4b02ff(0x303)+this['_opcode'],!0x0,0x3ea,_0x4b02ff(0x2ee));_0xb643f2(_0x534bd1);return;}this[_0x4b02ff(0x2f7)]=_0x3e6593;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x4b02ff(0x22b)]){const _0xc12d3b=this[_0x4b02ff(0x24c)](RangeError,_0x4b02ff(0x2ea),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xb643f2(_0xc12d3b);return;}if(_0x3e6593){const _0x1b17f1=this[_0x4b02ff(0x24c)](RangeError,_0x4b02ff(0x25a),!0x0,0x3ea,_0x4b02ff(0x1f8));_0xb643f2(_0x1b17f1);return;}if(this[_0x4b02ff(0x27d)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x4da4e3=this['createError'](RangeError,_0x4b02ff(0x2e5)+this['_payloadLength'],!0x0,0x3ea,_0x4b02ff(0x25f));_0xb643f2(_0x4da4e3);return;}}else{const _0x30b03f=this[_0x4b02ff(0x24c)](RangeError,_0x4b02ff(0x303)+this[_0x4b02ff(0x28a)],!0x0,0x3ea,_0x4b02ff(0x2ee));_0xb643f2(_0x30b03f);return;}}}if(!this['_fin']&&!this[_0x4b02ff(0x314)]&&(this['_fragmented']=this[_0x4b02ff(0x28a)]),this[_0x4b02ff(0x33f)]=(_0x1787bd[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x4b02ff(0x33f)]){const _0x2a1199=this['createError'](RangeError,_0x4b02ff(0x28e),!0x0,0x3ea,_0x4b02ff(0x239));_0xb643f2(_0x2a1199);return;}}else{if(this[_0x4b02ff(0x33f)]){const _0x4a6184=this['createError'](RangeError,_0x4b02ff(0x274),!0x0,0x3ea,_0x4b02ff(0x1cd));_0xb643f2(_0x4a6184);return;}}this[_0x4b02ff(0x27d)]===0x7e?this[_0x4b02ff(0x1cf)]=_0x49a990:this[_0x4b02ff(0x27d)]===0x7f?this[_0x4b02ff(0x1cf)]=_0x532829:this[_0x4b02ff(0x22f)](_0xb643f2);}['getPayloadLength16'](_0xc58792){const _0x3b6c3f=_0x37383a;if(this[_0x3b6c3f(0x335)]<0x2){this['_loop']=!0x1;return;}this[_0x3b6c3f(0x27d)]=this[_0x3b6c3f(0x316)](0x2)[_0x3b6c3f(0x27f)](0x0),this['haveLength'](_0xc58792);}[_0x37383a(0x1a7)](_0x8a63e5){const _0x164219=_0x37383a;if(this['_bufferedBytes']<0x8){this[_0x164219(0x206)]=!0x1;return;}const _0x5c7643=this['consume'](0x8),_0x3dd2b3=_0x5c7643[_0x164219(0x1e8)](0x0);if(_0x3dd2b3>Math['pow'](0x2,0x15)-0x1){const _0x4e89ab=this[_0x164219(0x24c)](RangeError,_0x164219(0x285),!0x1,0x3f1,_0x164219(0x336));_0x8a63e5(_0x4e89ab);return;}this[_0x164219(0x27d)]=_0x3dd2b3*Math[_0x164219(0x1b0)](0x2,0x20)+_0x5c7643[_0x164219(0x1e8)](0x4),this['haveLength'](_0x8a63e5);}[_0x37383a(0x22f)](_0x3f771a){const _0x7b586b=_0x37383a;if(this[_0x7b586b(0x27d)]&&this[_0x7b586b(0x28a)]<0x8&&(this[_0x7b586b(0x1e5)]+=this[_0x7b586b(0x27d)],this[_0x7b586b(0x1e5)]>this[_0x7b586b(0x272)]&&this[_0x7b586b(0x272)]>0x0)){const _0x2c404f=this[_0x7b586b(0x24c)](RangeError,_0x7b586b(0x311),!0x1,0x3f1,_0x7b586b(0x2bc));_0x3f771a(_0x2c404f);return;}this[_0x7b586b(0x33f)]?this[_0x7b586b(0x1cf)]=_0x252c91:this[_0x7b586b(0x1cf)]=_0x49b8a9;}['getMask'](){const _0x105c09=_0x37383a;if(this[_0x105c09(0x335)]<0x4){this[_0x105c09(0x206)]=!0x1;return;}this['_mask']=this[_0x105c09(0x316)](0x4),this['_state']=_0x49b8a9;}[_0x37383a(0x2b0)](_0x16947f){const _0x1c67c1=_0x37383a;let _0xe8aa25=_0x48741a;if(this[_0x1c67c1(0x27d)]){if(this[_0x1c67c1(0x335)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0xe8aa25=this['consume'](this[_0x1c67c1(0x27d)]),this[_0x1c67c1(0x33f)]&&(this[_0x1c67c1(0x215)][0x0]|this[_0x1c67c1(0x215)][0x1]|this[_0x1c67c1(0x215)][0x2]|this[_0x1c67c1(0x215)][0x3])!==0x0&&_0xc9bbe6(_0xe8aa25,this['_mask']);}if(this[_0x1c67c1(0x28a)]>0x7){this[_0x1c67c1(0x254)](_0xe8aa25,_0x16947f);return;}if(this[_0x1c67c1(0x2f7)]){this[_0x1c67c1(0x1cf)]=_0x2968ec,this[_0x1c67c1(0x1c4)](_0xe8aa25,_0x16947f);return;}_0xe8aa25['length']&&(this[_0x1c67c1(0x321)]=this[_0x1c67c1(0x1e5)],this[_0x1c67c1(0x2d0)]['push'](_0xe8aa25)),this[_0x1c67c1(0x2af)](_0x16947f);}[_0x37383a(0x1c4)](_0x840ac,_0x3f2285){const _0x36dcac=_0x37383a;this[_0x36dcac(0x251)][_0x4868ad[_0x36dcac(0x2d8)]]['decompress'](_0x840ac,this[_0x36dcac(0x22b)],(_0x52adbe,_0x127249)=>{const _0x16406b=_0x36dcac;if(_0x52adbe)return _0x3f2285(_0x52adbe);if(_0x127249[_0x16406b(0x2f6)]){if(this[_0x16406b(0x321)]+=_0x127249[_0x16406b(0x2f6)],this[_0x16406b(0x321)]>this[_0x16406b(0x272)]&&this[_0x16406b(0x272)]>0x0){const _0x355ae0=this[_0x16406b(0x24c)](RangeError,_0x16406b(0x311),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3f2285(_0x355ae0);return;}this[_0x16406b(0x2d0)]['push'](_0x127249);}this[_0x16406b(0x2af)](_0x3f2285),this[_0x16406b(0x1cf)]===_0x135702&&this[_0x16406b(0x2b3)](_0x3f2285);});}[_0x37383a(0x2af)](_0x1898e7){const _0x216a24=_0x37383a;if(!this[_0x216a24(0x22b)]){this[_0x216a24(0x1cf)]=_0x135702;return;}const _0x1ef935=this[_0x216a24(0x321)],_0x3c002c=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x216a24(0x321)]=0x0,this['_fragmented']=0x0,this[_0x216a24(0x2d0)]=[],this['_opcode']===0x2){let _0x1be383;this[_0x216a24(0x323)]===_0x216a24(0x288)?_0x1be383=_0x1a4960(_0x3c002c,_0x1ef935):this[_0x216a24(0x323)]===_0x216a24(0x276)?_0x1be383=_0x2d21ad(_0x1a4960(_0x3c002c,_0x1ef935)):this[_0x216a24(0x323)]===_0x216a24(0x337)?_0x1be383=new Blob(_0x3c002c):_0x1be383=_0x3c002c,this[_0x216a24(0x1f6)]?(this['emit'](_0x216a24(0x1ec),_0x1be383,!0x0),this[_0x216a24(0x1cf)]=_0x135702):(this[_0x216a24(0x1cf)]=_0x2685ac,setImmediate(()=>{const _0x22eb66=_0x216a24;this[_0x22eb66(0x1a0)]('message',_0x1be383,!0x0),this[_0x22eb66(0x1cf)]=_0x135702,this[_0x22eb66(0x2b3)](_0x1898e7);}));}else{const _0x3b2e52=_0x1a4960(_0x3c002c,_0x1ef935);if(!this['_skipUTF8Validation']&&!_0x153c84(_0x3b2e52)){const _0x459e9d=this[_0x216a24(0x24c)](Error,_0x216a24(0x277),!0x0,0x3ef,_0x216a24(0x2f5));_0x1898e7(_0x459e9d);return;}this[_0x216a24(0x1cf)]===_0x2968ec||this['_allowSynchronousEvents']?(this[_0x216a24(0x1a0)](_0x216a24(0x1ec),_0x3b2e52,!0x1),this['_state']=_0x135702):(this[_0x216a24(0x1cf)]=_0x2685ac,setImmediate(()=>{const _0x52f614=_0x216a24;this['emit'](_0x52f614(0x1ec),_0x3b2e52,!0x1),this['_state']=_0x135702,this[_0x52f614(0x2b3)](_0x1898e7);}));}}[_0x37383a(0x254)](_0x2ba533,_0x532986){const _0x1d9432=_0x37383a;if(this[_0x1d9432(0x28a)]===0x8){if(_0x2ba533['length']===0x0)this[_0x1d9432(0x206)]=!0x1,this[_0x1d9432(0x1a0)](_0x1d9432(0x2d5),0x3ed,_0x48741a),this[_0x1d9432(0x242)]();else{const _0x1c9af4=_0x2ba533[_0x1d9432(0x27f)](0x0);if(!_0x44eaea(_0x1c9af4)){const _0x3ad0c6=this[_0x1d9432(0x24c)](RangeError,'invalid\x20status\x20code\x20'+_0x1c9af4,!0x0,0x3ea,_0x1d9432(0x2c8));_0x532986(_0x3ad0c6);return;}const _0x4e1c4c=new _0x34ba5c(_0x2ba533[_0x1d9432(0x2f2)],_0x2ba533[_0x1d9432(0x293)]+0x2,_0x2ba533[_0x1d9432(0x2f6)]-0x2);if(!this[_0x1d9432(0x264)]&&!_0x153c84(_0x4e1c4c)){const _0x2ee5e9=this[_0x1d9432(0x24c)](Error,_0x1d9432(0x277),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x532986(_0x2ee5e9);return;}this[_0x1d9432(0x206)]=!0x1,this[_0x1d9432(0x1a0)](_0x1d9432(0x2d5),_0x1c9af4,_0x4e1c4c),this[_0x1d9432(0x242)]();}this[_0x1d9432(0x1cf)]=_0x135702;return;}this['_allowSynchronousEvents']?(this[_0x1d9432(0x1a0)](this[_0x1d9432(0x28a)]===0x9?_0x1d9432(0x295):_0x1d9432(0x30a),_0x2ba533),this[_0x1d9432(0x1cf)]=_0x135702):(this['_state']=_0x2685ac,setImmediate(()=>{const _0xac48c6=_0x1d9432;this[_0xac48c6(0x1a0)](this['_opcode']===0x9?_0xac48c6(0x295):'pong',_0x2ba533),this[_0xac48c6(0x1cf)]=_0x135702,this[_0xac48c6(0x2b3)](_0x532986);}));}['createError'](_0x36208c,_0x3c179b,_0x136ed0,_0x3a7527,_0x1bbe0e){const _0x5aba3e=_0x37383a;this[_0x5aba3e(0x206)]=!0x1,this['_errored']=!0x0;const _0x1e903b=new _0x36208c(_0x136ed0?'Invalid\x20WebSocket\x20frame:\x20'+_0x3c179b:_0x3c179b);return Error['captureStackTrace'](_0x1e903b,this[_0x5aba3e(0x24c)]),_0x1e903b[_0x5aba3e(0x212)]=_0x1bbe0e,_0x1e903b[_0x4d8f52]=_0x3a7527,_0x1e903b;}}return Se=_0x2d49d4,Se;}var Ee,et;function _t(){const _0x230694=_0x2303b1;if(et)return Ee;et=0x1;const {Duplex:_0x57bd47}=_0x303e0a,{randomFillSync:_0x4f5692}=_0x1a92bd,_0x59ffe0=he(),{EMPTY_BUFFER:_0x1dd323,kWebSocket:_0xdb696b,NOOP:_0x289a94}=V(),{isBlob:_0x3307af,isValidStatusCode:_0x2201be}=ne(),{mask:_0x258423,toBuffer:_0x27a00d}=ce(),_0x15fc5a=Symbol(_0x230694(0x1b8)),_0x505b0b=Buffer[_0x230694(0x205)](0x4),_0x316d65=0x8*0x400;let _0x4bcbf6,_0x1b8600=_0x316d65;const _0x174b50=0x0,_0x17e445=0x1,_0x33d02b=0x2;class _0x423ffd{constructor(_0x56aea6,_0x437128,_0xbb0a8b){const _0x38659f=_0x230694;this[_0x38659f(0x251)]=_0x437128||{},_0xbb0a8b&&(this['_generateMask']=_0xbb0a8b,this['_maskBuffer']=Buffer[_0x38659f(0x205)](0x4)),this[_0x38659f(0x255)]=_0x56aea6,this['_firstFragment']=!0x0,this[_0x38659f(0x28b)]=!0x1,this[_0x38659f(0x335)]=0x0,this[_0x38659f(0x1c1)]=[],this['_state']=_0x174b50,this[_0x38659f(0x1be)]=_0x289a94,this[_0xdb696b]=void 0x0;}static[_0x230694(0x231)](_0x4684a8,_0x46b9cf){const _0x4fa01c=_0x230694;let _0x47d4c8,_0x22b748=!0x1,_0xd8050a=0x2,_0x4b0933=!0x1;_0x46b9cf[_0x4fa01c(0x275)]&&(_0x47d4c8=_0x46b9cf[_0x4fa01c(0x310)]||_0x505b0b,_0x46b9cf[_0x4fa01c(0x198)]?_0x46b9cf[_0x4fa01c(0x198)](_0x47d4c8):(_0x1b8600===_0x316d65&&(_0x4bcbf6===void 0x0&&(_0x4bcbf6=Buffer[_0x4fa01c(0x205)](_0x316d65)),_0x4f5692(_0x4bcbf6,0x0,_0x316d65),_0x1b8600=0x0),_0x47d4c8[0x0]=_0x4bcbf6[_0x1b8600++],_0x47d4c8[0x1]=_0x4bcbf6[_0x1b8600++],_0x47d4c8[0x2]=_0x4bcbf6[_0x1b8600++],_0x47d4c8[0x3]=_0x4bcbf6[_0x1b8600++]),_0x4b0933=(_0x47d4c8[0x0]|_0x47d4c8[0x1]|_0x47d4c8[0x2]|_0x47d4c8[0x3])===0x0,_0xd8050a=0x6);let _0x52bd1f;typeof _0x4684a8=='string'?(!_0x46b9cf[_0x4fa01c(0x275)]||_0x4b0933)&&_0x46b9cf[_0x15fc5a]!==void 0x0?_0x52bd1f=_0x46b9cf[_0x15fc5a]:(_0x4684a8=Buffer[_0x4fa01c(0x208)](_0x4684a8),_0x52bd1f=_0x4684a8['length']):(_0x52bd1f=_0x4684a8[_0x4fa01c(0x2f6)],_0x22b748=_0x46b9cf[_0x4fa01c(0x275)]&&_0x46b9cf[_0x4fa01c(0x1a3)]&&!_0x4b0933);let _0x4b98a9=_0x52bd1f;_0x52bd1f>=0x10000?(_0xd8050a+=0x8,_0x4b98a9=0x7f):_0x52bd1f>0x7d&&(_0xd8050a+=0x2,_0x4b98a9=0x7e);const _0x5be422=Buffer[_0x4fa01c(0x1eb)](_0x22b748?_0x52bd1f+_0xd8050a:_0xd8050a);return _0x5be422[0x0]=_0x46b9cf[_0x4fa01c(0x1a2)]?_0x46b9cf[_0x4fa01c(0x2ce)]|0x80:_0x46b9cf[_0x4fa01c(0x2ce)],_0x46b9cf[_0x4fa01c(0x2ef)]&&(_0x5be422[0x0]|=0x40),_0x5be422[0x1]=_0x4b98a9,_0x4b98a9===0x7e?_0x5be422[_0x4fa01c(0x23b)](_0x52bd1f,0x2):_0x4b98a9===0x7f&&(_0x5be422[0x2]=_0x5be422[0x3]=0x0,_0x5be422[_0x4fa01c(0x2aa)](_0x52bd1f,0x4,0x6)),_0x46b9cf[_0x4fa01c(0x275)]?(_0x5be422[0x1]|=0x80,_0x5be422[_0xd8050a-0x4]=_0x47d4c8[0x0],_0x5be422[_0xd8050a-0x3]=_0x47d4c8[0x1],_0x5be422[_0xd8050a-0x2]=_0x47d4c8[0x2],_0x5be422[_0xd8050a-0x1]=_0x47d4c8[0x3],_0x4b0933?[_0x5be422,_0x4684a8]:_0x22b748?(_0x258423(_0x4684a8,_0x47d4c8,_0x5be422,_0xd8050a,_0x52bd1f),[_0x5be422]):(_0x258423(_0x4684a8,_0x47d4c8,_0x4684a8,0x0,_0x52bd1f),[_0x5be422,_0x4684a8])):[_0x5be422,_0x4684a8];}[_0x230694(0x261)](_0x1aff27,_0x439fc2,_0x12ab13,_0x383f17){const _0x47a006=_0x230694;let _0x326b7c;if(_0x1aff27===void 0x0)_0x326b7c=_0x1dd323;else{if(typeof _0x1aff27!=_0x47a006(0x23f)||!_0x2201be(_0x1aff27))throw new TypeError(_0x47a006(0x20f));if(_0x439fc2===void 0x0||!_0x439fc2['length'])_0x326b7c=Buffer[_0x47a006(0x1eb)](0x2),_0x326b7c[_0x47a006(0x23b)](_0x1aff27,0x0);else{const _0x115400=Buffer[_0x47a006(0x2a9)](_0x439fc2);if(_0x115400>0x7b)throw new RangeError(_0x47a006(0x1fc));_0x326b7c=Buffer[_0x47a006(0x1eb)](0x2+_0x115400),_0x326b7c['writeUInt16BE'](_0x1aff27,0x0),typeof _0x439fc2=='string'?_0x326b7c['write'](_0x439fc2,0x2):_0x326b7c[_0x47a006(0x296)](_0x439fc2,0x2);}}const _0x55fe45={[_0x15fc5a]:_0x326b7c[_0x47a006(0x2f6)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x12ab13,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x47a006(0x1cf)]!==_0x174b50?this['enqueue']([this[_0x47a006(0x292)],_0x326b7c,!0x1,_0x55fe45,_0x383f17]):this[_0x47a006(0x203)](_0x423ffd[_0x47a006(0x231)](_0x326b7c,_0x55fe45),_0x383f17);}[_0x230694(0x295)](_0x2a31f3,_0x4045e9,_0x4c8dbd){const _0x46f68c=_0x230694;let _0x316df7,_0x1a445d;if(typeof _0x2a31f3==_0x46f68c(0x308)?(_0x316df7=Buffer[_0x46f68c(0x2a9)](_0x2a31f3),_0x1a445d=!0x1):_0x3307af(_0x2a31f3)?(_0x316df7=_0x2a31f3[_0x46f68c(0x2a6)],_0x1a445d=!0x1):(_0x2a31f3=_0x27a00d(_0x2a31f3),_0x316df7=_0x2a31f3[_0x46f68c(0x2f6)],_0x1a445d=_0x27a00d[_0x46f68c(0x1a3)]),_0x316df7>0x7d)throw new RangeError(_0x46f68c(0x30d));const _0x21576c={[_0x15fc5a]:_0x316df7,'fin':!0x0,'generateMask':this[_0x46f68c(0x1d4)],'mask':_0x4045e9,'maskBuffer':this[_0x46f68c(0x22d)],'opcode':0x9,'readOnly':_0x1a445d,'rsv1':!0x1};_0x3307af(_0x2a31f3)?this[_0x46f68c(0x1cf)]!==_0x174b50?this[_0x46f68c(0x27a)]([this['getBlobData'],_0x2a31f3,!0x1,_0x21576c,_0x4c8dbd]):this['getBlobData'](_0x2a31f3,!0x1,_0x21576c,_0x4c8dbd):this[_0x46f68c(0x1cf)]!==_0x174b50?this[_0x46f68c(0x27a)]([this[_0x46f68c(0x292)],_0x2a31f3,!0x1,_0x21576c,_0x4c8dbd]):this[_0x46f68c(0x203)](_0x423ffd[_0x46f68c(0x231)](_0x2a31f3,_0x21576c),_0x4c8dbd);}[_0x230694(0x30a)](_0x1e3750,_0x3d5f04,_0x297617){const _0x254284=_0x230694;let _0xac8075,_0x791536;if(typeof _0x1e3750==_0x254284(0x308)?(_0xac8075=Buffer[_0x254284(0x2a9)](_0x1e3750),_0x791536=!0x1):_0x3307af(_0x1e3750)?(_0xac8075=_0x1e3750[_0x254284(0x2a6)],_0x791536=!0x1):(_0x1e3750=_0x27a00d(_0x1e3750),_0xac8075=_0x1e3750[_0x254284(0x2f6)],_0x791536=_0x27a00d[_0x254284(0x1a3)]),_0xac8075>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4a15fa={[_0x15fc5a]:_0xac8075,'fin':!0x0,'generateMask':this[_0x254284(0x1d4)],'mask':_0x3d5f04,'maskBuffer':this[_0x254284(0x22d)],'opcode':0xa,'readOnly':_0x791536,'rsv1':!0x1};_0x3307af(_0x1e3750)?this[_0x254284(0x1cf)]!==_0x174b50?this[_0x254284(0x27a)]([this[_0x254284(0x207)],_0x1e3750,!0x1,_0x4a15fa,_0x297617]):this['getBlobData'](_0x1e3750,!0x1,_0x4a15fa,_0x297617):this[_0x254284(0x1cf)]!==_0x174b50?this[_0x254284(0x27a)]([this[_0x254284(0x292)],_0x1e3750,!0x1,_0x4a15fa,_0x297617]):this[_0x254284(0x203)](_0x423ffd['frame'](_0x1e3750,_0x4a15fa),_0x297617);}[_0x230694(0x1da)](_0x48251f,_0x1ad22a,_0x572599){const _0x2310c1=_0x230694,_0x5e4d6c=this[_0x2310c1(0x251)][_0x59ffe0['extensionName']];let _0x194ed8=_0x1ad22a[_0x2310c1(0x267)]?0x2:0x1,_0x3addab=_0x1ad22a[_0x2310c1(0x299)],_0x692d10,_0x2109c2;typeof _0x48251f==_0x2310c1(0x308)?(_0x692d10=Buffer[_0x2310c1(0x2a9)](_0x48251f),_0x2109c2=!0x1):_0x3307af(_0x48251f)?(_0x692d10=_0x48251f['size'],_0x2109c2=!0x1):(_0x48251f=_0x27a00d(_0x48251f),_0x692d10=_0x48251f[_0x2310c1(0x2f6)],_0x2109c2=_0x27a00d['readOnly']),this[_0x2310c1(0x1bd)]?(this[_0x2310c1(0x1bd)]=!0x1,_0x3addab&&_0x5e4d6c&&_0x5e4d6c[_0x2310c1(0x2b4)][_0x5e4d6c[_0x2310c1(0x33d)]?_0x2310c1(0x281):_0x2310c1(0x216)]&&(_0x3addab=_0x692d10>=_0x5e4d6c[_0x2310c1(0x2cb)]),this['_compress']=_0x3addab):(_0x3addab=!0x1,_0x194ed8=0x0),_0x1ad22a[_0x2310c1(0x1a2)]&&(this[_0x2310c1(0x1bd)]=!0x0);const _0x27da76={[_0x15fc5a]:_0x692d10,'fin':_0x1ad22a['fin'],'generateMask':this['_generateMask'],'mask':_0x1ad22a['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x194ed8,'readOnly':_0x2109c2,'rsv1':_0x3addab};_0x3307af(_0x48251f)?this[_0x2310c1(0x1cf)]!==_0x174b50?this[_0x2310c1(0x27a)]([this['getBlobData'],_0x48251f,this[_0x2310c1(0x28b)],_0x27da76,_0x572599]):this[_0x2310c1(0x207)](_0x48251f,this[_0x2310c1(0x28b)],_0x27da76,_0x572599):this[_0x2310c1(0x1cf)]!==_0x174b50?this[_0x2310c1(0x27a)]([this['dispatch'],_0x48251f,this[_0x2310c1(0x28b)],_0x27da76,_0x572599]):this[_0x2310c1(0x292)](_0x48251f,this[_0x2310c1(0x28b)],_0x27da76,_0x572599);}[_0x230694(0x207)](_0x41b243,_0xb0f306,_0x171d34,_0xd34b57){const _0x5a0fe9=_0x230694;this[_0x5a0fe9(0x335)]+=_0x171d34[_0x15fc5a],this[_0x5a0fe9(0x1cf)]=_0x33d02b,_0x41b243[_0x5a0fe9(0x21c)]()['then'](_0x459aa7=>{const _0x1eefd7=_0x5a0fe9;if(this['_socket'][_0x1eefd7(0x2fc)]){const _0x456bef=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1eefd7(0x197)](_0x3a5123,this,_0x456bef,_0xd34b57);return;}this['_bufferedBytes']-=_0x171d34[_0x15fc5a];const _0x5acef1=_0x27a00d(_0x459aa7);_0xb0f306?this[_0x1eefd7(0x292)](_0x5acef1,_0xb0f306,_0x171d34,_0xd34b57):(this[_0x1eefd7(0x1cf)]=_0x174b50,this['sendFrame'](_0x423ffd[_0x1eefd7(0x231)](_0x5acef1,_0x171d34),_0xd34b57),this[_0x1eefd7(0x327)]());})['catch'](_0x517af4=>{process['nextTick'](_0x4575b2,this,_0x517af4,_0xd34b57);});}['dispatch'](_0x174c78,_0x1440b9,_0x44032e,_0x1e391e){const _0x9fa402=_0x230694;if(!_0x1440b9){this['sendFrame'](_0x423ffd[_0x9fa402(0x231)](_0x174c78,_0x44032e),_0x1e391e);return;}const _0x31c0b3=this[_0x9fa402(0x251)][_0x59ffe0[_0x9fa402(0x2d8)]];this[_0x9fa402(0x335)]+=_0x44032e[_0x15fc5a],this[_0x9fa402(0x1cf)]=_0x17e445,_0x31c0b3['compress'](_0x174c78,_0x44032e[_0x9fa402(0x1a2)],(_0x1c6862,_0x19f8d8)=>{const _0x42cb14=_0x9fa402;if(this[_0x42cb14(0x255)]['destroyed']){const _0x5d76bd=new Error(_0x42cb14(0x2cf));_0x3a5123(this,_0x5d76bd,_0x1e391e);return;}this['_bufferedBytes']-=_0x44032e[_0x15fc5a],this[_0x42cb14(0x1cf)]=_0x174b50,_0x44032e[_0x42cb14(0x1a3)]=!0x1,this[_0x42cb14(0x203)](_0x423ffd['frame'](_0x19f8d8,_0x44032e),_0x1e391e),this[_0x42cb14(0x327)]();});}[_0x230694(0x327)](){const _0x2c9637=_0x230694;for(;this['_state']===_0x174b50&&this[_0x2c9637(0x1c1)][_0x2c9637(0x2f6)];){const _0x324c01=this['_queue'][_0x2c9637(0x21b)]();this[_0x2c9637(0x335)]-=_0x324c01[0x3][_0x15fc5a],Reflect[_0x2c9637(0x204)](_0x324c01[0x0],this,_0x324c01['slice'](0x1));}}['enqueue'](_0xd92ba8){const _0x1a36bd=_0x230694;this[_0x1a36bd(0x335)]+=_0xd92ba8[0x3][_0x15fc5a],this[_0x1a36bd(0x1c1)]['push'](_0xd92ba8);}[_0x230694(0x203)](_0xa5d2f3,_0x1435ba){const _0x4edf23=_0x230694;_0xa5d2f3[_0x4edf23(0x2f6)]===0x2?(this['_socket'][_0x4edf23(0x1b6)](),this[_0x4edf23(0x255)][_0x4edf23(0x2e2)](_0xa5d2f3[0x0]),this[_0x4edf23(0x255)][_0x4edf23(0x2e2)](_0xa5d2f3[0x1],_0x1435ba),this[_0x4edf23(0x255)][_0x4edf23(0x29c)]()):this[_0x4edf23(0x255)][_0x4edf23(0x2e2)](_0xa5d2f3[0x0],_0x1435ba);}}Ee=_0x423ffd;function _0x3a5123(_0x1e9299,_0x385c9c,_0x449bd2){const _0x4732f2=_0x230694;typeof _0x449bd2=='function'&&_0x449bd2(_0x385c9c);for(let _0x395822=0x0;_0x395822<_0x1e9299[_0x4732f2(0x1c1)][_0x4732f2(0x2f6)];_0x395822++){const _0x181a1a=_0x1e9299[_0x4732f2(0x1c1)][_0x395822],_0x26fc61=_0x181a1a[_0x181a1a[_0x4732f2(0x2f6)]-0x1];typeof _0x26fc61==_0x4732f2(0x26c)&&_0x26fc61(_0x385c9c);}}function _0x4575b2(_0x80c115,_0x19500b,_0xa6b709){const _0x2b0da2=_0x230694;_0x3a5123(_0x80c115,_0x19500b,_0xa6b709),_0x80c115[_0x2b0da2(0x1be)](_0x19500b);}return Ee;}var xe,tt;function Kt(){const _0x1566fd=_0x2303b1;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x13e718,kListener:_0x4b72e5}=V(),_0x352d6b=Symbol('kCode'),_0x1b840e=Symbol(_0x1566fd(0x1db)),_0x5c018f=Symbol(_0x1566fd(0x1e7)),_0x2152dd=Symbol(_0x1566fd(0x1a4)),_0x5abbd5=Symbol(_0x1566fd(0x1e9)),_0x158bd6=Symbol(_0x1566fd(0x339)),_0x96522b=Symbol(_0x1566fd(0x2d4)),_0x463ff3=Symbol('kWasClean');class _0x199770{constructor(_0x594963){this[_0x158bd6]=null,this[_0x96522b]=_0x594963;}get[_0x1566fd(0x237)](){return this[_0x158bd6];}get[_0x1566fd(0x23d)](){return this[_0x96522b];}}Object[_0x1566fd(0x329)](_0x199770[_0x1566fd(0x1d6)],_0x1566fd(0x237),{'enumerable':!0x0}),Object[_0x1566fd(0x329)](_0x199770[_0x1566fd(0x1d6)],'type',{'enumerable':!0x0});class _0x38e895 extends _0x199770{constructor(_0x5ddd82,_0x16dc89={}){const _0x5304f6=_0x1566fd;super(_0x5ddd82),this[_0x352d6b]=_0x16dc89[_0x5304f6(0x212)]===void 0x0?0x0:_0x16dc89[_0x5304f6(0x212)],this[_0x5abbd5]=_0x16dc89['reason']===void 0x0?'':_0x16dc89[_0x5304f6(0x269)],this[_0x463ff3]=_0x16dc89[_0x5304f6(0x33b)]===void 0x0?!0x1:_0x16dc89[_0x5304f6(0x33b)];}get['code'](){return this[_0x352d6b];}get['reason'](){return this[_0x5abbd5];}get['wasClean'](){return this[_0x463ff3];}}Object['defineProperty'](_0x38e895['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x38e895['prototype'],'reason',{'enumerable':!0x0}),Object[_0x1566fd(0x329)](_0x38e895[_0x1566fd(0x1d6)],_0x1566fd(0x33b),{'enumerable':!0x0});class _0xf0c953 extends _0x199770{constructor(_0x57d2e7,_0xc964e8={}){const _0x5250f8=_0x1566fd;super(_0x57d2e7),this[_0x5c018f]=_0xc964e8[_0x5250f8(0x287)]===void 0x0?null:_0xc964e8[_0x5250f8(0x287)],this[_0x2152dd]=_0xc964e8[_0x5250f8(0x1ec)]===void 0x0?'':_0xc964e8[_0x5250f8(0x1ec)];}get['error'](){return this[_0x5c018f];}get[_0x1566fd(0x1ec)](){return this[_0x2152dd];}}Object[_0x1566fd(0x329)](_0xf0c953[_0x1566fd(0x1d6)],_0x1566fd(0x287),{'enumerable':!0x0}),Object[_0x1566fd(0x329)](_0xf0c953['prototype'],_0x1566fd(0x1ec),{'enumerable':!0x0});class _0x5864d0 extends _0x199770{constructor(_0x1bea2a,_0x140e54={}){const _0xf1dc0e=_0x1566fd;super(_0x1bea2a),this[_0x1b840e]=_0x140e54[_0xf1dc0e(0x248)]===void 0x0?null:_0x140e54[_0xf1dc0e(0x248)];}get[_0x1566fd(0x248)](){return this[_0x1b840e];}}Object['defineProperty'](_0x5864d0['prototype'],_0x1566fd(0x248),{'enumerable':!0x0}),xe={'CloseEvent':_0x38e895,'ErrorEvent':_0xf0c953,'Event':_0x199770,'EventTarget':{'addEventListener'(_0x3fdebb,_0x3d02f2,_0x50c432={}){const _0x253a82=_0x1566fd;for(const _0x122f6d of this[_0x253a82(0x258)](_0x3fdebb))if(!_0x50c432[_0x13e718]&&_0x122f6d[_0x4b72e5]===_0x3d02f2&&!_0x122f6d[_0x13e718])return;let _0x3375ac;if(_0x3fdebb===_0x253a82(0x1ec))_0x3375ac=function(_0x1be619,_0x534b59){const _0x6453ca=_0x253a82,_0x354544=new _0x5864d0(_0x6453ca(0x1ec),{'data':_0x534b59?_0x1be619:_0x1be619[_0x6453ca(0x24b)]()});_0x354544[_0x158bd6]=this,_0x393cbe(_0x3d02f2,this,_0x354544);};else{if(_0x3fdebb===_0x253a82(0x261))_0x3375ac=function(_0x1a4128,_0x40003a){const _0x291fdf=_0x253a82,_0x422551=new _0x38e895('close',{'code':_0x1a4128,'reason':_0x40003a['toString'](),'wasClean':this[_0x291fdf(0x228)]&&this[_0x291fdf(0x247)]});_0x422551[_0x158bd6]=this,_0x393cbe(_0x3d02f2,this,_0x422551);};else{if(_0x3fdebb==='error')_0x3375ac=function(_0x26e1cf){const _0x2e3f0e=_0x253a82,_0x379c75=new _0xf0c953(_0x2e3f0e(0x287),{'error':_0x26e1cf,'message':_0x26e1cf[_0x2e3f0e(0x1ec)]});_0x379c75[_0x158bd6]=this,_0x393cbe(_0x3d02f2,this,_0x379c75);};else{if(_0x3fdebb===_0x253a82(0x1a1))_0x3375ac=function(){const _0x3a70a3=new _0x199770('open');_0x3a70a3[_0x158bd6]=this,_0x393cbe(_0x3d02f2,this,_0x3a70a3);};else return;}}}_0x3375ac[_0x13e718]=!!_0x50c432[_0x13e718],_0x3375ac[_0x4b72e5]=_0x3d02f2,_0x50c432[_0x253a82(0x256)]?this[_0x253a82(0x256)](_0x3fdebb,_0x3375ac):this['on'](_0x3fdebb,_0x3375ac);},'removeEventListener'(_0x285d1a,_0xa45eb4){const _0x2dfc05=_0x1566fd;for(const _0x593a74 of this['listeners'](_0x285d1a))if(_0x593a74[_0x4b72e5]===_0xa45eb4&&!_0x593a74[_0x13e718]){this[_0x2dfc05(0x332)](_0x285d1a,_0x593a74);break;}}},'MessageEvent':_0x5864d0};function _0x393cbe(_0x2feec0,_0x25985c,_0x2dcb6e){const _0x2b1bfc=_0x1566fd;typeof _0x2feec0==_0x2b1bfc(0x2e6)&&_0x2feec0['handleEvent']?_0x2feec0[_0x2b1bfc(0x25c)][_0x2b1bfc(0x250)](_0x2feec0,_0x2dcb6e):_0x2feec0[_0x2b1bfc(0x250)](_0x25985c,_0x2dcb6e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x357dcb}=ne();function _0x3fda01(_0x4f55dc,_0x1d32c7,_0x5552f2){const _0x4af585=_0x426b;_0x4f55dc[_0x1d32c7]===void 0x0?_0x4f55dc[_0x1d32c7]=[_0x5552f2]:_0x4f55dc[_0x1d32c7][_0x4af585(0x2db)](_0x5552f2);}function _0x35feea(_0xd52fe0){const _0x3d40df=_0x426b,_0x1044d2=Object[_0x3d40df(0x2bb)](null);let _0x3ab915=Object[_0x3d40df(0x2bb)](null),_0x1338c5=!0x1,_0x319f6d=!0x1,_0x484945=!0x1,_0x384a2a,_0x2d2587,_0x2db31f=-0x1,_0x450afd=-0x1,_0x38415b=-0x1,_0x23bcc8=0x0;for(;_0x23bcc8<_0xd52fe0[_0x3d40df(0x2f6)];_0x23bcc8++)if(_0x450afd=_0xd52fe0[_0x3d40df(0x286)](_0x23bcc8),_0x384a2a===void 0x0){if(_0x38415b===-0x1&&_0x357dcb[_0x450afd]===0x1)_0x2db31f===-0x1&&(_0x2db31f=_0x23bcc8);else{if(_0x23bcc8!==0x0&&(_0x450afd===0x20||_0x450afd===0x9))_0x38415b===-0x1&&_0x2db31f!==-0x1&&(_0x38415b=_0x23bcc8);else{if(_0x450afd===0x3b||_0x450afd===0x2c){if(_0x2db31f===-0x1)throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);_0x38415b===-0x1&&(_0x38415b=_0x23bcc8);const _0x596576=_0xd52fe0[_0x3d40df(0x263)](_0x2db31f,_0x38415b);_0x450afd===0x2c?(_0x3fda01(_0x1044d2,_0x596576,_0x3ab915),_0x3ab915=Object[_0x3d40df(0x2bb)](null)):_0x384a2a=_0x596576,_0x2db31f=_0x38415b=-0x1;}else throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);}}}else{if(_0x2d2587===void 0x0){if(_0x38415b===-0x1&&_0x357dcb[_0x450afd]===0x1)_0x2db31f===-0x1&&(_0x2db31f=_0x23bcc8);else{if(_0x450afd===0x20||_0x450afd===0x9)_0x38415b===-0x1&&_0x2db31f!==-0x1&&(_0x38415b=_0x23bcc8);else{if(_0x450afd===0x3b||_0x450afd===0x2c){if(_0x2db31f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x23bcc8);_0x38415b===-0x1&&(_0x38415b=_0x23bcc8),_0x3fda01(_0x3ab915,_0xd52fe0['slice'](_0x2db31f,_0x38415b),!0x0),_0x450afd===0x2c&&(_0x3fda01(_0x1044d2,_0x384a2a,_0x3ab915),_0x3ab915=Object[_0x3d40df(0x2bb)](null),_0x384a2a=void 0x0),_0x2db31f=_0x38415b=-0x1;}else{if(_0x450afd===0x3d&&_0x2db31f!==-0x1&&_0x38415b===-0x1)_0x2d2587=_0xd52fe0[_0x3d40df(0x263)](_0x2db31f,_0x23bcc8),_0x2db31f=_0x38415b=-0x1;else throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);}}}}else{if(_0x319f6d){if(_0x357dcb[_0x450afd]!==0x1)throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);_0x2db31f===-0x1?_0x2db31f=_0x23bcc8:_0x1338c5||(_0x1338c5=!0x0),_0x319f6d=!0x1;}else{if(_0x484945){if(_0x357dcb[_0x450afd]===0x1)_0x2db31f===-0x1&&(_0x2db31f=_0x23bcc8);else{if(_0x450afd===0x22&&_0x2db31f!==-0x1)_0x484945=!0x1,_0x38415b=_0x23bcc8;else{if(_0x450afd===0x5c)_0x319f6d=!0x0;else throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);}}}else{if(_0x450afd===0x22&&_0xd52fe0[_0x3d40df(0x286)](_0x23bcc8-0x1)===0x3d)_0x484945=!0x0;else{if(_0x38415b===-0x1&&_0x357dcb[_0x450afd]===0x1)_0x2db31f===-0x1&&(_0x2db31f=_0x23bcc8);else{if(_0x2db31f!==-0x1&&(_0x450afd===0x20||_0x450afd===0x9))_0x38415b===-0x1&&(_0x38415b=_0x23bcc8);else{if(_0x450afd===0x3b||_0x450afd===0x2c){if(_0x2db31f===-0x1)throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);_0x38415b===-0x1&&(_0x38415b=_0x23bcc8);let _0x1e79d0=_0xd52fe0[_0x3d40df(0x263)](_0x2db31f,_0x38415b);_0x1338c5&&(_0x1e79d0=_0x1e79d0[_0x3d40df(0x1ed)](/\\/g,''),_0x1338c5=!0x1),_0x3fda01(_0x3ab915,_0x2d2587,_0x1e79d0),_0x450afd===0x2c&&(_0x3fda01(_0x1044d2,_0x384a2a,_0x3ab915),_0x3ab915=Object[_0x3d40df(0x2bb)](null),_0x384a2a=void 0x0),_0x2d2587=void 0x0,_0x2db31f=_0x38415b=-0x1;}else throw new SyntaxError(_0x3d40df(0x249)+_0x23bcc8);}}}}}}}if(_0x2db31f===-0x1||_0x484945||_0x450afd===0x20||_0x450afd===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x38415b===-0x1&&(_0x38415b=_0x23bcc8);const _0x5033a0=_0xd52fe0[_0x3d40df(0x263)](_0x2db31f,_0x38415b);return _0x384a2a===void 0x0?_0x3fda01(_0x1044d2,_0x5033a0,_0x3ab915):(_0x2d2587===void 0x0?_0x3fda01(_0x3ab915,_0x5033a0,!0x0):_0x1338c5?_0x3fda01(_0x3ab915,_0x2d2587,_0x5033a0['replace'](/\\/g,'')):_0x3fda01(_0x3ab915,_0x2d2587,_0x5033a0),_0x3fda01(_0x1044d2,_0x384a2a,_0x3ab915)),_0x1044d2;}function _0x54faea(_0x99fbff){const _0x9e7ff0=_0x426b;return Object[_0x9e7ff0(0x2fe)](_0x99fbff)[_0x9e7ff0(0x210)](_0x4d2e67=>{const _0xb326fa=_0x9e7ff0;let _0x2c4a1c=_0x99fbff[_0x4d2e67];return Array['isArray'](_0x2c4a1c)||(_0x2c4a1c=[_0x2c4a1c]),_0x2c4a1c[_0xb326fa(0x210)](_0x8c2ff9=>[_0x4d2e67][_0xb326fa(0x31d)](Object['keys'](_0x8c2ff9)['map'](_0x310cd4=>{const _0x2eaf0d=_0xb326fa;let _0x4ec7c0=_0x8c2ff9[_0x310cd4];return Array['isArray'](_0x4ec7c0)||(_0x4ec7c0=[_0x4ec7c0]),_0x4ec7c0[_0x2eaf0d(0x210)](_0x2f8515=>_0x2f8515===!0x0?_0x310cd4:_0x310cd4+'='+_0x2f8515)['join'](';\x20');}))[_0xb326fa(0x22a)](';\x20'))[_0xb326fa(0x22a)](',\x20');})[_0x9e7ff0(0x22a)](',\x20');}return be={'format':_0x54faea,'parse':_0x35feea},be;}var we,st;function Ie(){const _0x524ca5=_0x2303b1;if(st)return we;st=0x1;const _0x2cba76=_0xb2f1a3,_0x583f09=_0x30897f,_0x482d2f=_0x4642db,_0x50c55d=_0x22da86,_0x146592=_0x23267a,{randomBytes:_0x5183bd,createHash:_0x2eafce}=_0x1a92bd,{Duplex:_0x4aceb2,Readable:_0x5e30a7}=_0x303e0a,{URL:_0x43892}=_0xbf755,_0x5dfe87=he(),_0x2fad6e=dt(),_0x3b6fc0=_t(),{isBlob:_0x45879f}=ne(),{BINARY_TYPES:_0x2256fe,EMPTY_BUFFER:_0x19614b,GUID:_0x10daf0,kForOnEventAttribute:_0x4a245e,kListener:_0x4c49e5,kStatusCode:_0x15d3e6,kWebSocket:_0x4be643,NOOP:_0x3882c3}=V(),{EventTarget:{addEventListener:_0xa84a6d,removeEventListener:_0x559bf7}}=Kt(),{format:_0x3683a8,parse:_0x287602}=pt(),{toBuffer:_0xcc103c}=ce(),_0xcf4b41=0x1e*0x3e8,_0x161061=Symbol(_0x524ca5(0x1ea)),_0x4f734c=[0x8,0xd],_0x4a3b72=[_0x524ca5(0x2a2),_0x524ca5(0x229),_0x524ca5(0x1d8),'CLOSED'],_0x39110a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x11eece extends _0x2cba76{constructor(_0xa065ea,_0x3d38d2,_0x481229){const _0xeb9982=_0x524ca5;super(),this[_0xeb9982(0x323)]=_0x2256fe[0x0],this['_closeCode']=0x3ee,this[_0xeb9982(0x228)]=!0x1,this['_closeFrameSent']=!0x1,this[_0xeb9982(0x2b5)]=_0x19614b,this[_0xeb9982(0x2f8)]=null,this[_0xeb9982(0x2e0)]=!0x1,this[_0xeb9982(0x251)]={},this[_0xeb9982(0x2f0)]=!0x1,this[_0xeb9982(0x32e)]='',this[_0xeb9982(0x1f9)]=_0x11eece[_0xeb9982(0x2a2)],this[_0xeb9982(0x2f1)]=null,this[_0xeb9982(0x1c2)]=null,this['_socket']=null,_0xa065ea!==null?(this[_0xeb9982(0x2b6)]=0x0,this[_0xeb9982(0x33d)]=!0x1,this[_0xeb9982(0x320)]=0x0,_0x3d38d2===void 0x0?_0x3d38d2=[]:Array[_0xeb9982(0x265)](_0x3d38d2)||(typeof _0x3d38d2==_0xeb9982(0x2e6)&&_0x3d38d2!==null?(_0x481229=_0x3d38d2,_0x3d38d2=[]):_0x3d38d2=[_0x3d38d2]),_0x3325e1(this,_0xa065ea,_0x3d38d2,_0x481229)):(this[_0xeb9982(0x301)]=_0x481229[_0xeb9982(0x211)],this[_0xeb9982(0x33d)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x524ca5(0x1a9)](_0x3053d0){const _0x3c4577=_0x524ca5;_0x2256fe['includes'](_0x3053d0)&&(this['_binaryType']=_0x3053d0,this[_0x3c4577(0x2f1)]&&(this[_0x3c4577(0x2f1)][_0x3c4577(0x323)]=_0x3053d0));}get[_0x524ca5(0x29f)](){const _0x282d37=_0x524ca5;return this['_socket']?this[_0x282d37(0x255)][_0x282d37(0x234)][_0x282d37(0x2f6)]+this[_0x282d37(0x1c2)][_0x282d37(0x335)]:this['_bufferedAmount'];}get['extensions'](){return Object['keys'](this['_extensions'])['join']();}get[_0x524ca5(0x333)](){const _0xc55674=_0x524ca5;return this[_0xc55674(0x2f0)];}get[_0x524ca5(0x1bf)](){return null;}get[_0x524ca5(0x1be)](){return null;}get[_0x524ca5(0x1a5)](){return null;}get['onmessage'](){return null;}get[_0x524ca5(0x1e2)](){return this['_protocol'];}get['readyState'](){return this['_readyState'];}get[_0x524ca5(0x2b2)](){const _0x362be5=_0x524ca5;return this[_0x362be5(0x1f5)];}['setSocket'](_0x455c63,_0x530b2d,_0x48cd7b){const _0x323f4d=_0x524ca5,_0x1460f1=new _0x2fad6e({'allowSynchronousEvents':_0x48cd7b[_0x323f4d(0x2cc)],'binaryType':this[_0x323f4d(0x1a9)],'extensions':this[_0x323f4d(0x251)],'isServer':this[_0x323f4d(0x33d)],'maxPayload':_0x48cd7b[_0x323f4d(0x2d7)],'skipUTF8Validation':_0x48cd7b['skipUTF8Validation']}),_0x5269fb=new _0x3b6fc0(_0x455c63,this[_0x323f4d(0x251)],_0x48cd7b[_0x323f4d(0x198)]);this[_0x323f4d(0x2f1)]=_0x1460f1,this['_sender']=_0x5269fb,this[_0x323f4d(0x255)]=_0x455c63,_0x1460f1[_0x4be643]=this,_0x5269fb[_0x4be643]=this,_0x455c63[_0x4be643]=this,_0x1460f1['on']('conclude',_0x26ec03),_0x1460f1['on']('drain',_0x368b68),_0x1460f1['on'](_0x323f4d(0x287),_0x263329),_0x1460f1['on']('message',_0x3bb7f8),_0x1460f1['on'](_0x323f4d(0x295),_0x353423),_0x1460f1['on'](_0x323f4d(0x30a),_0x1c1e56),_0x5269fb[_0x323f4d(0x1be)]=_0x414c2d,_0x455c63[_0x323f4d(0x1e3)]&&_0x455c63[_0x323f4d(0x1e3)](0x0),_0x455c63['setNoDelay']&&_0x455c63[_0x323f4d(0x1e0)](),_0x530b2d['length']>0x0&&_0x455c63['unshift'](_0x530b2d),_0x455c63['on'](_0x323f4d(0x261),_0x35edd6),_0x455c63['on'](_0x323f4d(0x248),_0x25fed2),_0x455c63['on'](_0x323f4d(0x242),_0xd7cd4a),_0x455c63['on'](_0x323f4d(0x287),_0x3ec0e0),this['_readyState']=_0x11eece[_0x323f4d(0x229)],this[_0x323f4d(0x1a0)](_0x323f4d(0x1a1));}[_0x524ca5(0x32c)](){const _0x448fbb=_0x524ca5;if(!this[_0x448fbb(0x255)]){this[_0x448fbb(0x1f9)]=_0x11eece[_0x448fbb(0x328)],this['emit'](_0x448fbb(0x261),this['_closeCode'],this[_0x448fbb(0x2b5)]);return;}this[_0x448fbb(0x251)][_0x5dfe87[_0x448fbb(0x2d8)]]&&this[_0x448fbb(0x251)][_0x5dfe87[_0x448fbb(0x2d8)]][_0x448fbb(0x304)](),this[_0x448fbb(0x2f1)]['removeAllListeners'](),this['_readyState']=_0x11eece['CLOSED'],this[_0x448fbb(0x1a0)](_0x448fbb(0x261),this[_0x448fbb(0x326)],this[_0x448fbb(0x2b5)]);}['close'](_0x69bc85,_0x32b548){const _0x20471d=_0x524ca5;if(this[_0x20471d(0x302)]!==_0x11eece[_0x20471d(0x328)]){if(this[_0x20471d(0x302)]===_0x11eece['CONNECTING']){_0x495fd1(this,this['_req'],_0x20471d(0x2de));return;}if(this['readyState']===_0x11eece[_0x20471d(0x1d8)]){this[_0x20471d(0x247)]&&(this['_closeFrameReceived']||this['_receiver'][_0x20471d(0x234)]['errorEmitted'])&&this['_socket'][_0x20471d(0x242)]();return;}this[_0x20471d(0x1f9)]=_0x11eece[_0x20471d(0x1d8)],this[_0x20471d(0x1c2)][_0x20471d(0x261)](_0x69bc85,_0x32b548,!this['_isServer'],_0x2c86b1=>{const _0x28453a=_0x20471d;_0x2c86b1||(this[_0x28453a(0x247)]=!0x0,(this[_0x28453a(0x228)]||this[_0x28453a(0x2f1)][_0x28453a(0x234)][_0x28453a(0x2c2)])&&this[_0x28453a(0x255)]['end']());}),_0xe53d01(this);}}['pause'](){const _0x2329b0=_0x524ca5;this[_0x2329b0(0x302)]===_0x11eece[_0x2329b0(0x2a2)]||this[_0x2329b0(0x302)]===_0x11eece['CLOSED']||(this['_paused']=!0x0,this[_0x2329b0(0x255)][_0x2329b0(0x1b2)]());}[_0x524ca5(0x295)](_0x185b2c,_0x1220d3,_0x429692){const _0x5c4874=_0x524ca5;if(this[_0x5c4874(0x302)]===_0x11eece[_0x5c4874(0x2a2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x185b2c==_0x5c4874(0x26c)?(_0x429692=_0x185b2c,_0x185b2c=_0x1220d3=void 0x0):typeof _0x1220d3==_0x5c4874(0x26c)&&(_0x429692=_0x1220d3,_0x1220d3=void 0x0),typeof _0x185b2c==_0x5c4874(0x23f)&&(_0x185b2c=_0x185b2c['toString']()),this['readyState']!==_0x11eece[_0x5c4874(0x229)]){_0x217935(this,_0x185b2c,_0x429692);return;}_0x1220d3===void 0x0&&(_0x1220d3=!this[_0x5c4874(0x33d)]),this['_sender']['ping'](_0x185b2c||_0x19614b,_0x1220d3,_0x429692);}[_0x524ca5(0x30a)](_0x40e8b2,_0x3dac69,_0x5cabb6){const _0x5a5009=_0x524ca5;if(this[_0x5a5009(0x302)]===_0x11eece[_0x5a5009(0x2a2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x40e8b2==_0x5a5009(0x26c)?(_0x5cabb6=_0x40e8b2,_0x40e8b2=_0x3dac69=void 0x0):typeof _0x3dac69==_0x5a5009(0x26c)&&(_0x5cabb6=_0x3dac69,_0x3dac69=void 0x0),typeof _0x40e8b2==_0x5a5009(0x23f)&&(_0x40e8b2=_0x40e8b2[_0x5a5009(0x24b)]()),this[_0x5a5009(0x302)]!==_0x11eece[_0x5a5009(0x229)]){_0x217935(this,_0x40e8b2,_0x5cabb6);return;}_0x3dac69===void 0x0&&(_0x3dac69=!this[_0x5a5009(0x33d)]),this[_0x5a5009(0x1c2)][_0x5a5009(0x30a)](_0x40e8b2||_0x19614b,_0x3dac69,_0x5cabb6);}[_0x524ca5(0x1c5)](){const _0x4b00f1=_0x524ca5;this[_0x4b00f1(0x302)]===_0x11eece[_0x4b00f1(0x2a2)]||this[_0x4b00f1(0x302)]===_0x11eece[_0x4b00f1(0x328)]||(this[_0x4b00f1(0x2f0)]=!0x1,this['_receiver'][_0x4b00f1(0x234)][_0x4b00f1(0x307)]||this[_0x4b00f1(0x255)][_0x4b00f1(0x1c5)]());}[_0x524ca5(0x1da)](_0x432689,_0x3df11f,_0xe60387){const _0xbb5b02=_0x524ca5;if(this[_0xbb5b02(0x302)]===_0x11eece['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3df11f=='function'&&(_0xe60387=_0x3df11f,_0x3df11f={}),typeof _0x432689==_0xbb5b02(0x23f)&&(_0x432689=_0x432689[_0xbb5b02(0x24b)]()),this[_0xbb5b02(0x302)]!==_0x11eece[_0xbb5b02(0x229)]){_0x217935(this,_0x432689,_0xe60387);return;}const _0x2ee8a4={'binary':typeof _0x432689!='string','mask':!this[_0xbb5b02(0x33d)],'compress':!0x0,'fin':!0x0,..._0x3df11f};this[_0xbb5b02(0x251)][_0x5dfe87[_0xbb5b02(0x2d8)]]||(_0x2ee8a4['compress']=!0x1),this[_0xbb5b02(0x1c2)][_0xbb5b02(0x1da)](_0x432689||_0x19614b,_0x2ee8a4,_0xe60387);}[_0x524ca5(0x306)](){const _0x546f9c=_0x524ca5;if(this[_0x546f9c(0x302)]!==_0x11eece[_0x546f9c(0x328)]){if(this[_0x546f9c(0x302)]===_0x11eece[_0x546f9c(0x2a2)]){_0x495fd1(this,this['_req'],_0x546f9c(0x2de));return;}this[_0x546f9c(0x255)]&&(this[_0x546f9c(0x1f9)]=_0x11eece[_0x546f9c(0x1d8)],this[_0x546f9c(0x255)][_0x546f9c(0x330)]());}}}Object['defineProperty'](_0x11eece,_0x524ca5(0x2a2),{'enumerable':!0x0,'value':_0x4a3b72[_0x524ca5(0x2e3)]('CONNECTING')}),Object['defineProperty'](_0x11eece['prototype'],_0x524ca5(0x2a2),{'enumerable':!0x0,'value':_0x4a3b72[_0x524ca5(0x2e3)]('CONNECTING')}),Object[_0x524ca5(0x329)](_0x11eece,_0x524ca5(0x229),{'enumerable':!0x0,'value':_0x4a3b72[_0x524ca5(0x2e3)](_0x524ca5(0x229))}),Object['defineProperty'](_0x11eece[_0x524ca5(0x1d6)],'OPEN',{'enumerable':!0x0,'value':_0x4a3b72['indexOf']('OPEN')}),Object[_0x524ca5(0x329)](_0x11eece,_0x524ca5(0x1d8),{'enumerable':!0x0,'value':_0x4a3b72['indexOf'](_0x524ca5(0x1d8))}),Object[_0x524ca5(0x329)](_0x11eece['prototype'],_0x524ca5(0x1d8),{'enumerable':!0x0,'value':_0x4a3b72[_0x524ca5(0x2e3)]('CLOSING')}),Object[_0x524ca5(0x329)](_0x11eece,_0x524ca5(0x328),{'enumerable':!0x0,'value':_0x4a3b72[_0x524ca5(0x2e3)](_0x524ca5(0x328))}),Object[_0x524ca5(0x329)](_0x11eece[_0x524ca5(0x1d6)],'CLOSED',{'enumerable':!0x0,'value':_0x4a3b72['indexOf'](_0x524ca5(0x328))}),['binaryType',_0x524ca5(0x29f),_0x524ca5(0x2bf),_0x524ca5(0x333),_0x524ca5(0x1e2),'readyState',_0x524ca5(0x2b2)][_0x524ca5(0x24d)](_0x3dbf5f=>{const _0x341875=_0x524ca5;Object[_0x341875(0x329)](_0x11eece['prototype'],_0x3dbf5f,{'enumerable':!0x0});}),['open',_0x524ca5(0x287),_0x524ca5(0x261),_0x524ca5(0x1ec)][_0x524ca5(0x24d)](_0xa2e049=>{const _0x1b9d17=_0x524ca5;Object[_0x1b9d17(0x329)](_0x11eece[_0x1b9d17(0x1d6)],'on'+_0xa2e049,{'enumerable':!0x0,'get'(){const _0x1a51fe=_0x1b9d17;for(const _0xfe16e0 of this[_0x1a51fe(0x258)](_0xa2e049))if(_0xfe16e0[_0x4a245e])return _0xfe16e0[_0x4c49e5];return null;},'set'(_0x33841f){const _0xa742d1=_0x1b9d17;for(const _0xdef58b of this['listeners'](_0xa2e049))if(_0xdef58b[_0x4a245e]){this[_0xa742d1(0x332)](_0xa2e049,_0xdef58b);break;}typeof _0x33841f==_0xa742d1(0x26c)&&this['addEventListener'](_0xa2e049,_0x33841f,{[_0x4a245e]:!0x0});}});}),_0x11eece[_0x524ca5(0x1d6)]['addEventListener']=_0xa84a6d,_0x11eece['prototype'][_0x524ca5(0x2f9)]=_0x559bf7,we=_0x11eece;function _0x3325e1(_0x54c25e,_0x912ae5,_0x21a560,_0x792107){const _0x3ed4cb=_0x524ca5,_0x3d6502={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4f734c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x792107,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3ed4cb(0x294),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x54c25e['_autoPong']=_0x3d6502[_0x3ed4cb(0x211)],!_0x4f734c[_0x3ed4cb(0x305)](_0x3d6502[_0x3ed4cb(0x27c)]))throw new RangeError(_0x3ed4cb(0x19e)+_0x3d6502[_0x3ed4cb(0x27c)]+_0x3ed4cb(0x220)+_0x4f734c[_0x3ed4cb(0x22a)](',\x20')+')');let _0x13301e;if(_0x912ae5 instanceof _0x43892)_0x13301e=_0x912ae5;else try{_0x13301e=new _0x43892(_0x912ae5);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x912ae5);}_0x13301e[_0x3ed4cb(0x1e2)]===_0x3ed4cb(0x25d)?_0x13301e[_0x3ed4cb(0x1e2)]=_0x3ed4cb(0x252):_0x13301e[_0x3ed4cb(0x1e2)]===_0x3ed4cb(0x2df)&&(_0x13301e[_0x3ed4cb(0x1e2)]=_0x3ed4cb(0x282)),_0x54c25e['_url']=_0x13301e[_0x3ed4cb(0x279)];const _0x2c503d=_0x13301e['protocol']===_0x3ed4cb(0x282),_0x325823=_0x13301e['protocol']==='ws+unix:';let _0x1e238a;if(_0x13301e[_0x3ed4cb(0x1e2)]!==_0x3ed4cb(0x252)&&!_0x2c503d&&!_0x325823?_0x1e238a=_0x3ed4cb(0x1d9):_0x325823&&!_0x13301e[_0x3ed4cb(0x1e4)]?_0x1e238a=_0x3ed4cb(0x1f4):_0x13301e[_0x3ed4cb(0x322)]&&(_0x1e238a=_0x3ed4cb(0x31f)),_0x1e238a){const _0x3bf727=new SyntaxError(_0x1e238a);if(_0x54c25e[_0x3ed4cb(0x320)]===0x0)throw _0x3bf727;_0x5d371f(_0x54c25e,_0x3bf727);return;}const _0x3719ac=_0x2c503d?0x1bb:0x50,_0x399362=_0x5183bd(0x10)[_0x3ed4cb(0x24b)]('base64'),_0x26891f=_0x2c503d?_0x583f09[_0x3ed4cb(0x2d1)]:_0x482d2f[_0x3ed4cb(0x2d1)],_0x45051e=new Set();let _0x12859c;if(_0x3d6502['createConnection']=_0x3d6502['createConnection']||(_0x2c503d?_0x356aa6:_0x485f1c),_0x3d6502[_0x3ed4cb(0x1bc)]=_0x3d6502[_0x3ed4cb(0x1bc)]||_0x3719ac,_0x3d6502['port']=_0x13301e[_0x3ed4cb(0x27b)]||_0x3719ac,_0x3d6502[_0x3ed4cb(0x1c0)]=_0x13301e['hostname'][_0x3ed4cb(0x29b)]('[')?_0x13301e['hostname'][_0x3ed4cb(0x263)](0x1,-0x1):_0x13301e['hostname'],_0x3d6502[_0x3ed4cb(0x1f3)]={..._0x3d6502[_0x3ed4cb(0x1f3)],'Sec-WebSocket-Version':_0x3d6502[_0x3ed4cb(0x27c)],'Sec-WebSocket-Key':_0x399362,'Connection':_0x3ed4cb(0x21f),'Upgrade':_0x3ed4cb(0x2d2)},_0x3d6502[_0x3ed4cb(0x290)]=_0x13301e['pathname']+_0x13301e[_0x3ed4cb(0x25b)],_0x3d6502[_0x3ed4cb(0x2dc)]=_0x3d6502[_0x3ed4cb(0x2a3)],_0x3d6502[_0x3ed4cb(0x235)]&&(_0x12859c=new _0x5dfe87(_0x3d6502[_0x3ed4cb(0x235)]!==!0x0?_0x3d6502[_0x3ed4cb(0x235)]:{},!0x1,_0x3d6502[_0x3ed4cb(0x2d7)]),_0x3d6502[_0x3ed4cb(0x1f3)]['Sec-WebSocket-Extensions']=_0x3683a8({[_0x5dfe87['extensionName']]:_0x12859c[_0x3ed4cb(0x1f0)]()})),_0x21a560[_0x3ed4cb(0x2f6)]){for(const _0x2d5e57 of _0x21a560){if(typeof _0x2d5e57!=_0x3ed4cb(0x308)||!_0x39110a[_0x3ed4cb(0x2c6)](_0x2d5e57)||_0x45051e[_0x3ed4cb(0x2ff)](_0x2d5e57))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x45051e[_0x3ed4cb(0x26d)](_0x2d5e57);}_0x3d6502[_0x3ed4cb(0x1f3)]['Sec-WebSocket-Protocol']=_0x21a560['join'](',');}if(_0x3d6502[_0x3ed4cb(0x2ca)]&&(_0x3d6502[_0x3ed4cb(0x27c)]<0xd?_0x3d6502[_0x3ed4cb(0x1f3)][_0x3ed4cb(0x2f3)]=_0x3d6502[_0x3ed4cb(0x2ca)]:_0x3d6502['headers'][_0x3ed4cb(0x28d)]=_0x3d6502[_0x3ed4cb(0x2ca)]),(_0x13301e[_0x3ed4cb(0x266)]||_0x13301e['password'])&&(_0x3d6502['auth']=_0x13301e[_0x3ed4cb(0x266)]+':'+_0x13301e[_0x3ed4cb(0x19a)]),_0x325823){const _0x4b9e7d=_0x3d6502[_0x3ed4cb(0x290)][_0x3ed4cb(0x1e1)](':');_0x3d6502[_0x3ed4cb(0x21e)]=_0x4b9e7d[0x0],_0x3d6502[_0x3ed4cb(0x290)]=_0x4b9e7d[0x1];}let _0x49a88c;if(_0x3d6502[_0x3ed4cb(0x1ce)]){if(_0x54c25e[_0x3ed4cb(0x320)]===0x0){_0x54c25e[_0x3ed4cb(0x1aa)]=_0x325823,_0x54c25e[_0x3ed4cb(0x2e7)]=_0x2c503d,_0x54c25e[_0x3ed4cb(0x24a)]=_0x325823?_0x3d6502[_0x3ed4cb(0x21e)]:_0x13301e[_0x3ed4cb(0x1c0)];const _0x21f12f=_0x792107&&_0x792107[_0x3ed4cb(0x1f3)];if(_0x792107={..._0x792107,'headers':{}},_0x21f12f){for(const [_0x1ae5ec,_0x590ecb]of Object[_0x3ed4cb(0x2fd)](_0x21f12f))_0x792107['headers'][_0x1ae5ec[_0x3ed4cb(0x238)]()]=_0x590ecb;}}else{if(_0x54c25e['listenerCount'](_0x3ed4cb(0x31b))===0x0){const _0x71ad6f=_0x325823?_0x54c25e[_0x3ed4cb(0x1aa)]?_0x3d6502[_0x3ed4cb(0x21e)]===_0x54c25e[_0x3ed4cb(0x24a)]:!0x1:_0x54c25e[_0x3ed4cb(0x1aa)]?!0x1:_0x13301e[_0x3ed4cb(0x1c0)]===_0x54c25e[_0x3ed4cb(0x24a)];(!_0x71ad6f||_0x54c25e[_0x3ed4cb(0x2e7)]&&!_0x2c503d)&&(delete _0x3d6502[_0x3ed4cb(0x1f3)][_0x3ed4cb(0x22e)],delete _0x3d6502[_0x3ed4cb(0x1f3)][_0x3ed4cb(0x1ab)],_0x71ad6f||delete _0x3d6502['headers'][_0x3ed4cb(0x1c0)],_0x3d6502[_0x3ed4cb(0x23e)]=void 0x0);}}_0x3d6502[_0x3ed4cb(0x23e)]&&!_0x792107[_0x3ed4cb(0x1f3)][_0x3ed4cb(0x22e)]&&(_0x792107[_0x3ed4cb(0x1f3)][_0x3ed4cb(0x22e)]=_0x3ed4cb(0x27e)+Buffer[_0x3ed4cb(0x208)](_0x3d6502['auth'])[_0x3ed4cb(0x24b)]('base64')),_0x49a88c=_0x54c25e['_req']=_0x26891f(_0x3d6502),_0x54c25e[_0x3ed4cb(0x320)]&&_0x54c25e[_0x3ed4cb(0x1a0)](_0x3ed4cb(0x31b),_0x54c25e[_0x3ed4cb(0x2b2)],_0x49a88c);}else _0x49a88c=_0x54c25e['_req']=_0x26891f(_0x3d6502);_0x3d6502[_0x3ed4cb(0x2dc)]&&_0x49a88c['on']('timeout',()=>{_0x495fd1(_0x54c25e,_0x49a88c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x49a88c['on'](_0x3ed4cb(0x287),_0x435a9c=>{const _0x2d5957=_0x3ed4cb;_0x49a88c===null||_0x49a88c[_0x161061]||(_0x49a88c=_0x54c25e[_0x2d5957(0x1df)]=null,_0x5d371f(_0x54c25e,_0x435a9c));}),_0x49a88c['on'](_0x3ed4cb(0x2dd),_0x7934e=>{const _0x378e4f=_0x3ed4cb,_0x405721=_0x7934e['headers']['location'],_0x14b3df=_0x7934e['statusCode'];if(_0x405721&&_0x3d6502[_0x378e4f(0x1ce)]&&_0x14b3df>=0x12c&&_0x14b3df<0x190){if(++_0x54c25e[_0x378e4f(0x320)]>_0x3d6502[_0x378e4f(0x2a0)]){_0x495fd1(_0x54c25e,_0x49a88c,'Maximum\x20redirects\x20exceeded');return;}_0x49a88c[_0x378e4f(0x1f1)]();let _0x59ff25;try{_0x59ff25=new _0x43892(_0x405721,_0x912ae5);}catch{const _0x3dcd58=new SyntaxError('Invalid\x20URL:\x20'+_0x405721);_0x5d371f(_0x54c25e,_0x3dcd58);return;}_0x3325e1(_0x54c25e,_0x59ff25,_0x21a560,_0x792107);}else _0x54c25e[_0x378e4f(0x1a0)]('unexpected-response',_0x49a88c,_0x7934e)||_0x495fd1(_0x54c25e,_0x49a88c,_0x378e4f(0x23c)+_0x7934e['statusCode']);}),_0x49a88c['on'](_0x3ed4cb(0x2ed),(_0x4df47e,_0x4c93a3,_0x7cefe6)=>{const _0x1aabe7=_0x3ed4cb;if(_0x54c25e[_0x1aabe7(0x1a0)](_0x1aabe7(0x2ed),_0x4df47e),_0x54c25e[_0x1aabe7(0x302)]!==_0x11eece[_0x1aabe7(0x2a2)])return;_0x49a88c=_0x54c25e['_req']=null;const _0x2785c6=_0x4df47e[_0x1aabe7(0x1f3)][_0x1aabe7(0x2ed)];if(_0x2785c6===void 0x0||_0x2785c6[_0x1aabe7(0x238)]()!==_0x1aabe7(0x2d2)){_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x201));return;}const _0x3d11a4=_0x2eafce('sha1')['update'](_0x399362+_0x10daf0)[_0x1aabe7(0x309)](_0x1aabe7(0x2e8));if(_0x4df47e[_0x1aabe7(0x1f3)][_0x1aabe7(0x21d)]!==_0x3d11a4){_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x2ec));return;}const _0x336e0e=_0x4df47e[_0x1aabe7(0x1f3)][_0x1aabe7(0x1d3)];let _0x2df340;if(_0x336e0e!==void 0x0?_0x45051e[_0x1aabe7(0x2a6)]?_0x45051e[_0x1aabe7(0x2ff)](_0x336e0e)||(_0x2df340='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2df340=_0x1aabe7(0x202):_0x45051e[_0x1aabe7(0x2a6)]&&(_0x2df340=_0x1aabe7(0x325)),_0x2df340){_0x495fd1(_0x54c25e,_0x4c93a3,_0x2df340);return;}_0x336e0e&&(_0x54c25e[_0x1aabe7(0x32e)]=_0x336e0e);const _0x2c2563=_0x4df47e[_0x1aabe7(0x1f3)][_0x1aabe7(0x280)];if(_0x2c2563!==void 0x0){if(!_0x12859c){_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x1b1));return;}let _0x59f7be;try{_0x59f7be=_0x287602(_0x2c2563);}catch{_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x30c));return;}const _0x2ff924=Object[_0x1aabe7(0x2fe)](_0x59f7be);if(_0x2ff924[_0x1aabe7(0x2f6)]!==0x1||_0x2ff924[0x0]!==_0x5dfe87[_0x1aabe7(0x2d8)]){_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x2c9));return;}try{_0x12859c[_0x1aabe7(0x1ad)](_0x59f7be[_0x5dfe87[_0x1aabe7(0x2d8)]]);}catch{_0x495fd1(_0x54c25e,_0x4c93a3,_0x1aabe7(0x30c));return;}_0x54c25e[_0x1aabe7(0x251)][_0x5dfe87[_0x1aabe7(0x2d8)]]=_0x12859c;}_0x54c25e[_0x1aabe7(0x32a)](_0x4c93a3,_0x7cefe6,{'allowSynchronousEvents':_0x3d6502[_0x1aabe7(0x2cc)],'generateMask':_0x3d6502[_0x1aabe7(0x198)],'maxPayload':_0x3d6502['maxPayload'],'skipUTF8Validation':_0x3d6502[_0x1aabe7(0x2a7)]});}),_0x3d6502[_0x3ed4cb(0x24e)]?_0x3d6502[_0x3ed4cb(0x24e)](_0x49a88c,_0x54c25e):_0x49a88c[_0x3ed4cb(0x242)]();}function _0x5d371f(_0x11f364,_0x2d31aa){const _0x517bbc=_0x524ca5;_0x11f364[_0x517bbc(0x1f9)]=_0x11eece[_0x517bbc(0x1d8)],_0x11f364[_0x517bbc(0x2e0)]=!0x0,_0x11f364[_0x517bbc(0x1a0)](_0x517bbc(0x287),_0x2d31aa),_0x11f364[_0x517bbc(0x32c)]();}function _0x485f1c(_0x35635a){const _0x321e6d=_0x524ca5;return _0x35635a[_0x321e6d(0x290)]=_0x35635a[_0x321e6d(0x21e)],_0x50c55d[_0x321e6d(0x28c)](_0x35635a);}function _0x356aa6(_0x58d2e4){const _0x55fe3a=_0x524ca5;return _0x58d2e4[_0x55fe3a(0x290)]=void 0x0,!_0x58d2e4[_0x55fe3a(0x268)]&&_0x58d2e4[_0x55fe3a(0x268)]!==''&&(_0x58d2e4['servername']=_0x50c55d[_0x55fe3a(0x1ae)](_0x58d2e4['host'])?'':_0x58d2e4['host']),_0x146592[_0x55fe3a(0x28c)](_0x58d2e4);}function _0x495fd1(_0x2ea1cc,_0x520d83,_0x3deadc){const _0x4b8c21=_0x524ca5;_0x2ea1cc[_0x4b8c21(0x1f9)]=_0x11eece[_0x4b8c21(0x1d8)];const _0x12af86=new Error(_0x3deadc);Error[_0x4b8c21(0x29a)](_0x12af86,_0x495fd1),_0x520d83['setHeader']?(_0x520d83[_0x161061]=!0x0,_0x520d83[_0x4b8c21(0x1f1)](),_0x520d83[_0x4b8c21(0x19c)]&&!_0x520d83[_0x4b8c21(0x19c)][_0x4b8c21(0x2fc)]&&_0x520d83[_0x4b8c21(0x19c)]['destroy'](),process['nextTick'](_0x5d371f,_0x2ea1cc,_0x12af86)):(_0x520d83['destroy'](_0x12af86),_0x520d83[_0x4b8c21(0x256)](_0x4b8c21(0x287),_0x2ea1cc[_0x4b8c21(0x1a0)][_0x4b8c21(0x284)](_0x2ea1cc,'error')),_0x520d83[_0x4b8c21(0x256)](_0x4b8c21(0x261),_0x2ea1cc[_0x4b8c21(0x32c)][_0x4b8c21(0x284)](_0x2ea1cc)));}function _0x217935(_0xcf0f1d,_0x322dc9,_0x3f4c84){const _0x293564=_0x524ca5;if(_0x322dc9){const _0x259c05=_0x45879f(_0x322dc9)?_0x322dc9[_0x293564(0x2a6)]:_0xcc103c(_0x322dc9)[_0x293564(0x2f6)];_0xcf0f1d[_0x293564(0x255)]?_0xcf0f1d[_0x293564(0x1c2)][_0x293564(0x335)]+=_0x259c05:_0xcf0f1d[_0x293564(0x2b6)]+=_0x259c05;}if(_0x3f4c84){const _0x2ca7b4=new Error(_0x293564(0x2ac)+_0xcf0f1d[_0x293564(0x302)]+'\x20('+_0x4a3b72[_0xcf0f1d['readyState']]+')');process['nextTick'](_0x3f4c84,_0x2ca7b4);}}function _0x26ec03(_0x1c785a,_0x22c6c4){const _0x2777c6=_0x524ca5,_0x54106c=this[_0x4be643];_0x54106c[_0x2777c6(0x228)]=!0x0,_0x54106c[_0x2777c6(0x2b5)]=_0x22c6c4,_0x54106c[_0x2777c6(0x326)]=_0x1c785a,_0x54106c[_0x2777c6(0x255)][_0x4be643]!==void 0x0&&(_0x54106c[_0x2777c6(0x255)][_0x2777c6(0x332)](_0x2777c6(0x248),_0x25fed2),process['nextTick'](_0x1ac398,_0x54106c[_0x2777c6(0x255)]),_0x1c785a===0x3ed?_0x54106c[_0x2777c6(0x261)]():_0x54106c[_0x2777c6(0x261)](_0x1c785a,_0x22c6c4));}function _0x368b68(){const _0x5b1c7a=_0x524ca5,_0x3791f2=this[_0x4be643];_0x3791f2[_0x5b1c7a(0x333)]||_0x3791f2[_0x5b1c7a(0x255)][_0x5b1c7a(0x1c5)]();}function _0x263329(_0x89c956){const _0x1e03f8=_0x524ca5,_0xee51f6=this[_0x4be643];_0xee51f6['_socket'][_0x4be643]!==void 0x0&&(_0xee51f6[_0x1e03f8(0x255)]['removeListener'](_0x1e03f8(0x248),_0x25fed2),process[_0x1e03f8(0x197)](_0x1ac398,_0xee51f6[_0x1e03f8(0x255)]),_0xee51f6[_0x1e03f8(0x261)](_0x89c956[_0x15d3e6])),_0xee51f6[_0x1e03f8(0x2e0)]||(_0xee51f6[_0x1e03f8(0x2e0)]=!0x0,_0xee51f6['emit']('error',_0x89c956));}function _0x34ecb3(){const _0x164017=_0x524ca5;this[_0x4be643][_0x164017(0x32c)]();}function _0x3bb7f8(_0x33684f,_0x50e17e){const _0x534094=_0x524ca5;this[_0x4be643][_0x534094(0x1a0)](_0x534094(0x1ec),_0x33684f,_0x50e17e);}function _0x353423(_0x3494e4){const _0x10598b=_0x524ca5,_0x33810b=this[_0x4be643];_0x33810b[_0x10598b(0x301)]&&_0x33810b[_0x10598b(0x30a)](_0x3494e4,!this['_isServer'],_0x3882c3),_0x33810b[_0x10598b(0x1a0)](_0x10598b(0x295),_0x3494e4);}function _0x1c1e56(_0x6df34){const _0x57e9a9=_0x524ca5;this[_0x4be643][_0x57e9a9(0x1a0)](_0x57e9a9(0x30a),_0x6df34);}function _0x1ac398(_0x1c2fd9){const _0x1d9f14=_0x524ca5;_0x1c2fd9[_0x1d9f14(0x1c5)]();}function _0x414c2d(_0x578f7c){const _0x279906=_0x524ca5,_0x561843=this[_0x4be643];_0x561843[_0x279906(0x302)]!==_0x11eece[_0x279906(0x328)]&&(_0x561843[_0x279906(0x302)]===_0x11eece[_0x279906(0x229)]&&(_0x561843['_readyState']=_0x11eece[_0x279906(0x1d8)],_0xe53d01(_0x561843)),this['_socket']['end'](),_0x561843[_0x279906(0x2e0)]||(_0x561843[_0x279906(0x2e0)]=!0x0,_0x561843[_0x279906(0x1a0)]('error',_0x578f7c)));}function _0xe53d01(_0x48f3cd){const _0x24da5b=_0x524ca5;_0x48f3cd[_0x24da5b(0x2f8)]=setTimeout(_0x48f3cd['_socket']['destroy'][_0x24da5b(0x284)](_0x48f3cd[_0x24da5b(0x255)]),_0xcf4b41);}function _0x35edd6(){const _0x20b20c=_0x524ca5,_0x4766a0=this[_0x4be643];this[_0x20b20c(0x332)](_0x20b20c(0x261),_0x35edd6),this[_0x20b20c(0x332)](_0x20b20c(0x248),_0x25fed2),this['removeListener'](_0x20b20c(0x242),_0xd7cd4a),_0x4766a0['_readyState']=_0x11eece[_0x20b20c(0x1d8)];let _0x212445;!this['_readableState'][_0x20b20c(0x2bd)]&&!_0x4766a0[_0x20b20c(0x228)]&&!_0x4766a0[_0x20b20c(0x2f1)][_0x20b20c(0x234)]['errorEmitted']&&(_0x212445=_0x4766a0[_0x20b20c(0x255)][_0x20b20c(0x1c9)]())!==null&&_0x4766a0['_receiver'][_0x20b20c(0x2e2)](_0x212445),_0x4766a0[_0x20b20c(0x2f1)][_0x20b20c(0x242)](),this[_0x4be643]=void 0x0,clearTimeout(_0x4766a0['_closeTimer']),_0x4766a0[_0x20b20c(0x2f1)][_0x20b20c(0x234)][_0x20b20c(0x23a)]||_0x4766a0['_receiver'][_0x20b20c(0x234)]['errorEmitted']?_0x4766a0[_0x20b20c(0x32c)]():(_0x4766a0[_0x20b20c(0x2f1)]['on'](_0x20b20c(0x287),_0x34ecb3),_0x4766a0[_0x20b20c(0x2f1)]['on'](_0x20b20c(0x233),_0x34ecb3));}function _0x25fed2(_0x5ba773){const _0x4f4f39=_0x524ca5;this[_0x4be643][_0x4f4f39(0x2f1)]['write'](_0x5ba773)||this[_0x4f4f39(0x1b2)]();}function _0xd7cd4a(){const _0xb882b4=_0x524ca5,_0x952f7d=this[_0x4be643];_0x952f7d[_0xb882b4(0x1f9)]=_0x11eece[_0xb882b4(0x1d8)],_0x952f7d[_0xb882b4(0x2f1)][_0xb882b4(0x242)](),this[_0xb882b4(0x242)]();}function _0x3ec0e0(){const _0x16f213=_0x524ca5,_0x48a162=this[_0x4be643];this['removeListener'](_0x16f213(0x287),_0x3ec0e0),this['on']('error',_0x3882c3),_0x48a162&&(_0x48a162['_readyState']=_0x11eece['CLOSING'],this[_0x16f213(0x330)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5e9c9b}=_0x303e0a;function _0x153797(_0x3b4d66){const _0x228c79=_0x426b;_0x3b4d66['emit'](_0x228c79(0x261));}function _0x1cff09(){const _0x3337e9=_0x426b;!this[_0x3337e9(0x2fc)]&&this[_0x3337e9(0x234)][_0x3337e9(0x23a)]&&this[_0x3337e9(0x330)]();}function _0x365816(_0x2b22c3){const _0x2da6e9=_0x426b;this['removeListener']('error',_0x365816),this[_0x2da6e9(0x330)](),this['listenerCount']('error')===0x0&&this[_0x2da6e9(0x1a0)](_0x2da6e9(0x287),_0x2b22c3);}function _0x578c71(_0x28580e,_0x6562cf){const _0x345af0=_0x426b;let _0x2cce32=!0x0;const _0x4477bf=new _0x5e9c9b({..._0x6562cf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x28580e['on']('message',function(_0x3b2a9d,_0xfc1441){const _0x1e683a=_0x426b,_0x453bad=!_0xfc1441&&_0x4477bf[_0x1e683a(0x291)]['objectMode']?_0x3b2a9d[_0x1e683a(0x24b)]():_0x3b2a9d;_0x4477bf[_0x1e683a(0x2db)](_0x453bad)||_0x28580e[_0x1e683a(0x1b2)]();}),_0x28580e['once'](_0x345af0(0x287),function(_0x5ca032){const _0x2688a1=_0x345af0;_0x4477bf[_0x2688a1(0x2fc)]||(_0x2cce32=!0x1,_0x4477bf[_0x2688a1(0x330)](_0x5ca032));}),_0x28580e[_0x345af0(0x256)]('close',function(){const _0x3cd323=_0x345af0;_0x4477bf['destroyed']||_0x4477bf[_0x3cd323(0x2db)](null);}),_0x4477bf['_destroy']=function(_0x3628fd,_0x4fd549){const _0xc1939f=_0x345af0;if(_0x28580e[_0xc1939f(0x302)]===_0x28580e['CLOSED']){_0x4fd549(_0x3628fd),process[_0xc1939f(0x197)](_0x153797,_0x4477bf);return;}let _0x3b374b=!0x1;_0x28580e[_0xc1939f(0x256)]('error',function(_0x342553){_0x3b374b=!0x0,_0x4fd549(_0x342553);}),_0x28580e[_0xc1939f(0x256)](_0xc1939f(0x261),function(){const _0x457858=_0xc1939f;_0x3b374b||_0x4fd549(_0x3628fd),process[_0x457858(0x197)](_0x153797,_0x4477bf);}),_0x2cce32&&_0x28580e[_0xc1939f(0x306)]();},_0x4477bf[_0x345af0(0x230)]=function(_0x3ca37f){const _0x5e978b=_0x345af0;if(_0x28580e['readyState']===_0x28580e[_0x5e978b(0x2a2)]){_0x28580e[_0x5e978b(0x256)](_0x5e978b(0x1a1),function(){const _0x5bdd73=_0x5e978b;_0x4477bf[_0x5bdd73(0x230)](_0x3ca37f);});return;}_0x28580e[_0x5e978b(0x255)]!==null&&(_0x28580e[_0x5e978b(0x255)]['_writableState'][_0x5e978b(0x23a)]?(_0x3ca37f(),_0x4477bf['_readableState'][_0x5e978b(0x2bd)]&&_0x4477bf[_0x5e978b(0x330)]()):(_0x28580e[_0x5e978b(0x255)][_0x5e978b(0x256)](_0x5e978b(0x233),function(){_0x3ca37f();}),_0x28580e['close']()));},_0x4477bf[_0x345af0(0x19d)]=function(){const _0xad01e3=_0x345af0;_0x28580e[_0xad01e3(0x333)]&&_0x28580e[_0xad01e3(0x1c5)]();},_0x4477bf[_0x345af0(0x243)]=function(_0x394375,_0x3257ea,_0x3665d6){const _0x1d64a7=_0x345af0;if(_0x28580e[_0x1d64a7(0x302)]===_0x28580e['CONNECTING']){_0x28580e[_0x1d64a7(0x256)](_0x1d64a7(0x1a1),function(){const _0x128a61=_0x1d64a7;_0x4477bf[_0x128a61(0x243)](_0x394375,_0x3257ea,_0x3665d6);});return;}_0x28580e[_0x1d64a7(0x1da)](_0x394375,_0x3665d6);},_0x4477bf['on'](_0x345af0(0x242),_0x1cff09),_0x4477bf['on'](_0x345af0(0x287),_0x365816),_0x4477bf;}return Oe=_0x578c71,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x533995}=ne();function _0x12672b(_0x379e82){const _0x2545e8=_0x426b,_0xacc92e=new Set();let _0x8fd11b=-0x1,_0x6546d2=-0x1,_0x4a162d=0x0;for(_0x4a162d;_0x4a162d<_0x379e82[_0x2545e8(0x2f6)];_0x4a162d++){const _0x50e709=_0x379e82[_0x2545e8(0x286)](_0x4a162d);if(_0x6546d2===-0x1&&_0x533995[_0x50e709]===0x1)_0x8fd11b===-0x1&&(_0x8fd11b=_0x4a162d);else{if(_0x4a162d!==0x0&&(_0x50e709===0x20||_0x50e709===0x9))_0x6546d2===-0x1&&_0x8fd11b!==-0x1&&(_0x6546d2=_0x4a162d);else{if(_0x50e709===0x2c){if(_0x8fd11b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a162d);_0x6546d2===-0x1&&(_0x6546d2=_0x4a162d);const _0x52627d=_0x379e82[_0x2545e8(0x263)](_0x8fd11b,_0x6546d2);if(_0xacc92e[_0x2545e8(0x2ff)](_0x52627d))throw new SyntaxError(_0x2545e8(0x2a1)+_0x52627d+'\x22\x20subprotocol\x20is\x20duplicated');_0xacc92e[_0x2545e8(0x26d)](_0x52627d),_0x8fd11b=_0x6546d2=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a162d);}}}if(_0x8fd11b===-0x1||_0x6546d2!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1c7c99=_0x379e82[_0x2545e8(0x263)](_0x8fd11b,_0x4a162d);if(_0xacc92e[_0x2545e8(0x2ff)](_0x1c7c99))throw new SyntaxError(_0x2545e8(0x2a1)+_0x1c7c99+'\x22\x20subprotocol\x20is\x20duplicated');return _0xacc92e[_0x2545e8(0x26d)](_0x1c7c99),_0xacc92e;}return Ce={'parse':_0x12672b},Ce;}var Te,ot;function er(){const _0x30262a=_0x2303b1;if(ot)return Te;ot=0x1;const _0x532874=_0xb2f1a3,_0x417e8e=_0x4642db,{Duplex:_0x440516}=_0x303e0a,{createHash:_0x4c7da2}=_0x1a92bd,_0xf2a6f6=pt(),_0x38804b=he(),_0x38f609=Jt(),_0x10e5da=Ie(),{GUID:_0x8e1e8b,kWebSocket:_0x90a36a}=V(),_0x3f1a57=/^[+/0-9A-Za-z]{22}==$/,_0x155983=0x0,_0x5bf2e3=0x1,_0xcc6295=0x2;class _0x5560e4 extends _0x532874{constructor(_0x130362,_0x3b9086){const _0x2fa49c=_0x426b;if(super(),_0x130362={'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':_0x10e5da,..._0x130362},_0x130362[_0x2fa49c(0x27b)]==null&&!_0x130362[_0x2fa49c(0x244)]&&!_0x130362['noServer']||_0x130362[_0x2fa49c(0x27b)]!=null&&(_0x130362[_0x2fa49c(0x244)]||_0x130362[_0x2fa49c(0x298)])||_0x130362[_0x2fa49c(0x244)]&&_0x130362[_0x2fa49c(0x298)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x130362['port']!=null?(this[_0x2fa49c(0x1f2)]=_0x417e8e['createServer']((_0x1f99a8,_0x3a7d12)=>{const _0x3decd1=_0x2fa49c,_0x5741ec=_0x417e8e[_0x3decd1(0x1dd)][0x1aa];_0x3a7d12['writeHead'](0x1aa,{'Content-Length':_0x5741ec[_0x3decd1(0x2f6)],'Content-Type':_0x3decd1(0x26a)}),_0x3a7d12[_0x3decd1(0x242)](_0x5741ec);}),this[_0x2fa49c(0x1f2)][_0x2fa49c(0x224)](_0x130362[_0x2fa49c(0x27b)],_0x130362[_0x2fa49c(0x1c0)],_0x130362['backlog'],_0x3b9086)):_0x130362[_0x2fa49c(0x244)]&&(this[_0x2fa49c(0x1f2)]=_0x130362[_0x2fa49c(0x244)]),this['_server']){const _0x43b7a8=this['emit'][_0x2fa49c(0x284)](this,_0x2fa49c(0x1d7));this[_0x2fa49c(0x199)]=_0x1e1620(this[_0x2fa49c(0x1f2)],{'listening':this[_0x2fa49c(0x1a0)][_0x2fa49c(0x284)](this,_0x2fa49c(0x2ba)),'error':this[_0x2fa49c(0x1a0)]['bind'](this,_0x2fa49c(0x287)),'upgrade':(_0x48b70d,_0x45dc18,_0x3dbe28)=>{this['handleUpgrade'](_0x48b70d,_0x45dc18,_0x3dbe28,_0x43b7a8);}});}_0x130362[_0x2fa49c(0x235)]===!0x0&&(_0x130362[_0x2fa49c(0x235)]={}),_0x130362[_0x2fa49c(0x1e6)]&&(this[_0x2fa49c(0x2eb)]=new Set(),this[_0x2fa49c(0x29d)]=!0x1),this[_0x2fa49c(0x1b4)]=_0x130362,this['_state']=_0x155983;}[_0x30262a(0x19b)](){const _0x44f6da=_0x30262a;if(this['options'][_0x44f6da(0x298)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x44f6da(0x1f2)]?this[_0x44f6da(0x1f2)][_0x44f6da(0x19b)]():null;}['close'](_0x19024a){const _0xb6a91f=_0x30262a;if(this[_0xb6a91f(0x1cf)]===_0xcc6295){_0x19024a&&this[_0xb6a91f(0x256)](_0xb6a91f(0x261),()=>{const _0x387b18=_0xb6a91f;_0x19024a(new Error(_0x387b18(0x213)));}),process[_0xb6a91f(0x197)](_0x24c527,this);return;}if(_0x19024a&&this[_0xb6a91f(0x256)]('close',_0x19024a),this[_0xb6a91f(0x1cf)]!==_0x5bf2e3){if(this[_0xb6a91f(0x1cf)]=_0x5bf2e3,this['options']['noServer']||this[_0xb6a91f(0x1b4)][_0xb6a91f(0x244)])this['_server']&&(this[_0xb6a91f(0x199)](),this['_removeListeners']=this[_0xb6a91f(0x1f2)]=null),this[_0xb6a91f(0x2eb)]?this[_0xb6a91f(0x2eb)][_0xb6a91f(0x2a6)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x24c527,this):process[_0xb6a91f(0x197)](_0x24c527,this);else{const _0xc90111=this['_server'];this[_0xb6a91f(0x199)](),this['_removeListeners']=this[_0xb6a91f(0x1f2)]=null,_0xc90111[_0xb6a91f(0x261)](()=>{_0x24c527(this);});}}}[_0x30262a(0x219)](_0x2cb1ed){const _0xe0cfb5=_0x30262a;if(this[_0xe0cfb5(0x1b4)][_0xe0cfb5(0x290)]){const _0x2122ee=_0x2cb1ed[_0xe0cfb5(0x2b2)]['indexOf']('?');if((_0x2122ee!==-0x1?_0x2cb1ed['url'][_0xe0cfb5(0x263)](0x0,_0x2122ee):_0x2cb1ed[_0xe0cfb5(0x2b2)])!==this[_0xe0cfb5(0x1b4)][_0xe0cfb5(0x290)])return!0x1;}return!0x0;}[_0x30262a(0x200)](_0x3f363f,_0x1e9dc0,_0x2a5366,_0x22c2c5){const _0x50d0c1=_0x30262a;_0x1e9dc0['on'](_0x50d0c1(0x287),_0x780655);const _0x32bd10=_0x3f363f[_0x50d0c1(0x1f3)][_0x50d0c1(0x2c1)],_0x20cd4b=_0x3f363f[_0x50d0c1(0x1f3)][_0x50d0c1(0x2ed)],_0x17ba3b=+_0x3f363f[_0x50d0c1(0x1f3)][_0x50d0c1(0x340)];if(_0x3f363f['method']!==_0x50d0c1(0x294)){_0x18a322(this,_0x3f363f,_0x1e9dc0,0x195,_0x50d0c1(0x312));return;}if(_0x20cd4b===void 0x0||_0x20cd4b['toLowerCase']()!==_0x50d0c1(0x2d2)){_0x18a322(this,_0x3f363f,_0x1e9dc0,0x190,_0x50d0c1(0x201));return;}if(_0x32bd10===void 0x0||!_0x3f1a57['test'](_0x32bd10)){_0x18a322(this,_0x3f363f,_0x1e9dc0,0x190,_0x50d0c1(0x1dc));return;}if(_0x17ba3b!==0xd&&_0x17ba3b!==0x8){_0x18a322(this,_0x3f363f,_0x1e9dc0,0x190,_0x50d0c1(0x33c),{'Sec-WebSocket-Version':_0x50d0c1(0x33e)});return;}if(!this[_0x50d0c1(0x219)](_0x3f363f)){_0x167d3e(_0x1e9dc0,0x190);return;}const _0x2c3c89=_0x3f363f[_0x50d0c1(0x1f3)][_0x50d0c1(0x1d3)];let _0x1275d4=new Set();if(_0x2c3c89!==void 0x0)try{_0x1275d4=_0x38f609[_0x50d0c1(0x20e)](_0x2c3c89);}catch{_0x18a322(this,_0x3f363f,_0x1e9dc0,0x190,_0x50d0c1(0x31e));return;}const _0x312b93=_0x3f363f['headers'][_0x50d0c1(0x280)],_0xd2aa49={};if(this[_0x50d0c1(0x1b4)][_0x50d0c1(0x235)]&&_0x312b93!==void 0x0){const _0x370e08=new _0x38804b(this[_0x50d0c1(0x1b4)][_0x50d0c1(0x235)],!0x0,this[_0x50d0c1(0x1b4)][_0x50d0c1(0x2d7)]);try{const _0x3a9423=_0xf2a6f6[_0x50d0c1(0x20e)](_0x312b93);_0x3a9423[_0x38804b['extensionName']]&&(_0x370e08['accept'](_0x3a9423[_0x38804b[_0x50d0c1(0x2d8)]]),_0xd2aa49[_0x38804b['extensionName']]=_0x370e08);}catch{_0x18a322(this,_0x3f363f,_0x1e9dc0,0x190,_0x50d0c1(0x300));return;}}if(this['options']['verifyClient']){const _0x244a26={'origin':_0x3f363f[_0x50d0c1(0x1f3)][''+(_0x17ba3b===0x8?_0x50d0c1(0x214):_0x50d0c1(0x2ca))],'secure':!!(_0x3f363f['socket'][_0x50d0c1(0x1d1)]||_0x3f363f[_0x50d0c1(0x19c)][_0x50d0c1(0x1d0)]),'req':_0x3f363f};if(this[_0x50d0c1(0x1b4)][_0x50d0c1(0x226)]['length']===0x2){this['options'][_0x50d0c1(0x226)](_0x244a26,(_0x24d911,_0x8d046,_0xa5ef72,_0x5857b2)=>{const _0x16295c=_0x50d0c1;if(!_0x24d911)return _0x167d3e(_0x1e9dc0,_0x8d046||0x191,_0xa5ef72,_0x5857b2);this[_0x16295c(0x318)](_0xd2aa49,_0x32bd10,_0x1275d4,_0x3f363f,_0x1e9dc0,_0x2a5366,_0x22c2c5);});return;}if(!this[_0x50d0c1(0x1b4)][_0x50d0c1(0x226)](_0x244a26))return _0x167d3e(_0x1e9dc0,0x191);}this['completeUpgrade'](_0xd2aa49,_0x32bd10,_0x1275d4,_0x3f363f,_0x1e9dc0,_0x2a5366,_0x22c2c5);}['completeUpgrade'](_0x52d4c9,_0x20d3e0,_0x208d9a,_0x31aada,_0x42af5e,_0x265b22,_0x8d1be8){const _0x5d893e=_0x30262a;if(!_0x42af5e['readable']||!_0x42af5e[_0x5d893e(0x20a)])return _0x42af5e[_0x5d893e(0x330)]();if(_0x42af5e[_0x90a36a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x155983)return _0x167d3e(_0x42af5e,0x1f7);const _0x10bdef=[_0x5d893e(0x28f),'Upgrade:\x20websocket',_0x5d893e(0x26f),_0x5d893e(0x1b5)+_0x4c7da2(_0x5d893e(0x2d3))['update'](_0x20d3e0+_0x8e1e8b)['digest']('base64')],_0x75d5c6=new this['options']['WebSocket'](null,void 0x0,this[_0x5d893e(0x1b4)]);if(_0x208d9a[_0x5d893e(0x2a6)]){const _0x215887=this['options'][_0x5d893e(0x246)]?this[_0x5d893e(0x1b4)]['handleProtocols'](_0x208d9a,_0x31aada):_0x208d9a[_0x5d893e(0x20b)]()['next']()['value'];_0x215887&&(_0x10bdef[_0x5d893e(0x2db)](_0x5d893e(0x1d5)+_0x215887),_0x75d5c6['_protocol']=_0x215887);}if(_0x52d4c9[_0x38804b['extensionName']]){const _0x43bc08=_0x52d4c9[_0x38804b[_0x5d893e(0x2d8)]][_0x5d893e(0x2b4)],_0x398141=_0xf2a6f6[_0x5d893e(0x26e)]({[_0x38804b['extensionName']]:[_0x43bc08]});_0x10bdef[_0x5d893e(0x2db)](_0x5d893e(0x262)+_0x398141),_0x75d5c6[_0x5d893e(0x251)]=_0x52d4c9;}this['emit'](_0x5d893e(0x1f3),_0x10bdef,_0x31aada),_0x42af5e[_0x5d893e(0x2e2)](_0x10bdef[_0x5d893e(0x31d)]('\x0d\x0a')[_0x5d893e(0x22a)]('\x0d\x0a')),_0x42af5e[_0x5d893e(0x332)](_0x5d893e(0x287),_0x780655),_0x75d5c6[_0x5d893e(0x32a)](_0x42af5e,_0x265b22,{'allowSynchronousEvents':this[_0x5d893e(0x1b4)][_0x5d893e(0x2cc)],'maxPayload':this[_0x5d893e(0x1b4)][_0x5d893e(0x2d7)],'skipUTF8Validation':this[_0x5d893e(0x1b4)][_0x5d893e(0x2a7)]}),this[_0x5d893e(0x2eb)]&&(this[_0x5d893e(0x2eb)][_0x5d893e(0x26d)](_0x75d5c6),_0x75d5c6['on'](_0x5d893e(0x261),()=>{const _0x24f795=_0x5d893e;this[_0x24f795(0x2eb)][_0x24f795(0x1cb)](_0x75d5c6),this[_0x24f795(0x29d)]&&!this['clients']['size']&&process[_0x24f795(0x197)](_0x24c527,this);})),_0x8d1be8(_0x75d5c6,_0x31aada);}}Te=_0x5560e4;function _0x1e1620(_0x377476,_0x59491c){for(const _0x2bde03 of Object['keys'](_0x59491c))_0x377476['on'](_0x2bde03,_0x59491c[_0x2bde03]);return function(){const _0x8b5a81=_0x426b;for(const _0x128096 of Object[_0x8b5a81(0x2fe)](_0x59491c))_0x377476[_0x8b5a81(0x332)](_0x128096,_0x59491c[_0x128096]);};}function _0x24c527(_0x11252f){const _0x382541=_0x30262a;_0x11252f[_0x382541(0x1cf)]=_0xcc6295,_0x11252f[_0x382541(0x1a0)](_0x382541(0x261));}function _0x780655(){const _0x321662=_0x30262a;this[_0x321662(0x330)]();}function _0x167d3e(_0xee2b92,_0x4782e8,_0x4df22a,_0x4eb84b){const _0x3c48d2=_0x30262a;_0x4df22a=_0x4df22a||_0x417e8e['STATUS_CODES'][_0x4782e8],_0x4eb84b={'Connection':_0x3c48d2(0x261),'Content-Type':'text/html','Content-Length':Buffer[_0x3c48d2(0x2a9)](_0x4df22a),..._0x4eb84b},_0xee2b92[_0x3c48d2(0x256)](_0x3c48d2(0x233),_0xee2b92[_0x3c48d2(0x330)]),_0xee2b92[_0x3c48d2(0x242)](_0x3c48d2(0x1d2)+_0x4782e8+'\x20'+_0x417e8e[_0x3c48d2(0x1dd)][_0x4782e8]+'\x0d\x0a'+Object[_0x3c48d2(0x2fe)](_0x4eb84b)[_0x3c48d2(0x210)](_0x299f55=>_0x299f55+':\x20'+_0x4eb84b[_0x299f55])[_0x3c48d2(0x22a)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4df22a);}function _0x18a322(_0x4dce7f,_0x96efc6,_0x3ae50e,_0x84ec20,_0x45e42b,_0x2e9338){const _0x1afbd5=_0x30262a;if(_0x4dce7f[_0x1afbd5(0x278)]('wsClientError')){const _0x3a9f75=new Error(_0x45e42b);Error[_0x1afbd5(0x29a)](_0x3a9f75,_0x18a322),_0x4dce7f[_0x1afbd5(0x1a0)]('wsClientError',_0x3a9f75,_0x3ae50e,_0x96efc6);}else _0x167d3e(_0x3ae50e,_0x84ec20,_0x45e42b,_0x2e9338);}return Te;}er();function _0x426b(_0x5aa095,_0x53cf53){const _0x28ab55=_0x28ab();return _0x426b=function(_0x426b0e,_0x2219cd){_0x426b0e=_0x426b0e-0x197;let _0x489f1f=_0x28ab55[_0x426b0e];return _0x489f1f;},_0x426b(_0x5aa095,_0x53cf53);}var tr=Object[_0x2303b1(0x2ad)],rr=(_0x4c80fa,_0x544fca,_0x52bd8a,_0x5d3b9b)=>{const _0x140615=_0x2303b1;for(var _0x10488f=_0x5d3b9b>0x1?void 0x0:_0x5d3b9b?tr(_0x544fca,_0x52bd8a):_0x544fca,_0x2757f1=_0x4c80fa[_0x140615(0x2f6)]-0x1,_0x54ec90;_0x2757f1>=0x0;_0x2757f1--)(_0x54ec90=_0x4c80fa[_0x2757f1])&&(_0x10488f=_0x54ec90(_0x10488f)||_0x10488f);return _0x10488f;},sr=(_0x5eb5ec,_0x3780f5)=>(_0x56e1fb,_0x4ee412)=>_0x3780f5(_0x56e1fb,_0x4ee412,_0x5eb5ec);let Ne=class extends _0x667198{constructor(_0x33fe6f){const _0x15c63f=_0x2303b1;super(),this[_0x15c63f(0x334)]=_0x33fe6f;}[_0x2303b1(0x20c)](_0x210381){const _0x1848ee=_0x2303b1;var _0x3baacd;const _0x2350e2=(_0x3baacd=this[_0x1848ee(0x334)]['getConfig'](Be))==null?void 0x0:_0x3baacd[_0x1848ee(0x1ef)];try{const _0x31d1a5=new Qt(_0x210381,{'headers':{..._0x2350e2}}),_0x102d76=new _0x1468e9();return{'URL':_0x210381,'close':(_0x20fbae,_0x2f37a1)=>{const _0x771996=_0x1848ee;_0x31d1a5[_0x771996(0x261)](_0x20fbae,_0x2f37a1),_0x102d76[_0x771996(0x1f7)]();},'send':_0xe71793=>{_0x31d1a5['send'](_0xe71793);},'open$':new _0x5607a7(_0x416313=>{const _0x59065d=_0x1848ee,_0x516110=_0x2b8d47=>_0x416313['next'](_0x2b8d47);_0x31d1a5[_0x59065d(0x24f)]('open',_0x516110),_0x102d76[_0x59065d(0x26d)](_0x12e43c(()=>_0x31d1a5['removeEventListener'](_0x59065d(0x1a1),_0x516110)));})[_0x1848ee(0x283)](_0x4b5b44()),'close$':new _0x5607a7(_0x3bcb24=>{const _0x37c0f8=_0x1848ee,_0xbd5884=_0x2fea22=>_0x3bcb24[_0x37c0f8(0x209)](_0x2fea22);_0x31d1a5[_0x37c0f8(0x24f)](_0x37c0f8(0x261),_0xbd5884),_0x102d76[_0x37c0f8(0x26d)](_0x12e43c(()=>_0x31d1a5['removeEventListener'](_0x37c0f8(0x261),_0xbd5884)));})[_0x1848ee(0x283)](_0x4b5b44()),'error$':new _0x5607a7(_0x1a8eb3=>{const _0x15f4b5=_0x1848ee,_0x234039=_0x104da7=>_0x1a8eb3[_0x15f4b5(0x209)](_0x104da7);_0x31d1a5[_0x15f4b5(0x24f)](_0x15f4b5(0x287),_0x234039),_0x102d76['add'](_0x12e43c(()=>_0x31d1a5[_0x15f4b5(0x2f9)](_0x15f4b5(0x287),_0x234039)));})[_0x1848ee(0x283)](_0x4b5b44()),'message$':new _0x5607a7(_0x392116=>{const _0x478a7a=_0x1848ee,_0x3f5447=_0x31ee19=>_0x392116[_0x478a7a(0x209)](_0x31ee19);_0x31d1a5[_0x478a7a(0x24f)](_0x478a7a(0x1ec),_0x3f5447),_0x102d76[_0x478a7a(0x26d)](_0x12e43c(()=>_0x31d1a5[_0x478a7a(0x2f9)](_0x478a7a(0x1ec),_0x3f5447)));})[_0x1848ee(0x283)](_0x4b5b44())};}catch(_0x38005b){return console[_0x1848ee(0x287)](_0x38005b),null;}}};Ne=rr([sr(0x0,_0x35a04c)],Ne);var ir=Object[_0x2303b1(0x329)],nr=Object['getOwnPropertyDescriptor'],or=(_0x28ff12,_0x19cfbb,_0x515086)=>_0x19cfbb in _0x28ff12?ir(_0x28ff12,_0x19cfbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515086}):_0x28ff12[_0x19cfbb]=_0x515086,ar=(_0x3d3787,_0x28e923,_0x51af42,_0x50893e)=>{const _0x4f7a8f=_0x2303b1;for(var _0x3af298=_0x50893e>0x1?void 0x0:_0x50893e?nr(_0x28e923,_0x51af42):_0x28e923,_0x21d1a9=_0x3d3787[_0x4f7a8f(0x2f6)]-0x1,_0x3f7760;_0x21d1a9>=0x0;_0x21d1a9--)(_0x3f7760=_0x3d3787[_0x21d1a9])&&(_0x3af298=_0x3f7760(_0x3af298)||_0x3af298);return _0x3af298;},ke=(_0x5949dc,_0x3f55fd)=>(_0xa6971f,_0x4e7d74)=>_0x3f55fd(_0xa6971f,_0x4e7d74,_0x5949dc),lr=(_0x3ba879,_0x4d1df9,_0x2ba7ca)=>or(_0x3ba879,_0x4d1df9+'',_0x2ba7ca);let Pe=class extends _0x1247ab{constructor(_0x2547d2=Ft,_0x28f55b,_0x1fd57e,_0x4ced65){const _0x553d7c=_0x2303b1;_0x2547d2[_0x553d7c(0x1ef)]||_0x28f55b[_0x553d7c(0x32f)](_0x553d7c(0x1ff)),super(),this[_0x553d7c(0x334)]=_0x1fd57e,this[_0x553d7c(0x2e4)]=_0x4ced65,this[_0x553d7c(0x334)][_0x553d7c(0x2cd)](Be,_0x2547d2);}[_0x2303b1(0x2ae)](){const _0x2d7c3a=_0x2303b1;this[_0x2d7c3a(0x26b)]();}['_registerDependencies'](){const _0x5ad8e7=_0x2303b1;_0x118972(this[_0x5ad8e7(0x2e4)],[[_0x5e2c45,{'useClass':Ne}]]);}};lr(Pe,_0x2303b1(0x2b1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x503842(_0x508733),ke(0x1,_0x3cc460),ke(0x2,_0x35a04c),ke(0x3,_0x9c4b20(_0x3abadc))],Pe);var fr=Object[_0x2303b1(0x2ad)],cr=(_0x55a5ed,_0x27df0b,_0x150bbb,_0x2fcaba)=>{const _0x16ef06=_0x2303b1;for(var _0x51ffdb=_0x2fcaba>0x1?void 0x0:_0x2fcaba?fr(_0x27df0b,_0x150bbb):_0x27df0b,_0x1a70e9=_0x55a5ed[_0x16ef06(0x2f6)]-0x1,_0x43b8b6;_0x1a70e9>=0x0;_0x1a70e9--)(_0x43b8b6=_0x55a5ed[_0x1a70e9])&&(_0x51ffdb=_0x43b8b6(_0x51ffdb)||_0x51ffdb);return _0x51ffdb;},se=(_0x467780,_0x5137cf)=>(_0x2431ea,_0x787c8d)=>_0x5137cf(_0x2431ea,_0x787c8d,_0x467780);let at=class extends _0x870fa6{constructor(_0x54ca63,_0x548c94,_0x56a559,_0x45297f,_0x39068f){const _0x4078d8=_0x2303b1;super(_0x54ca63,_0x548c94,_0x56a559,_0x45297f,_0x39068f);const _0x16db4c=this[_0x4078d8(0x334)][_0x4078d8(0x217)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x52e032,_0x4475fc)=>{const _0x15ce19=_0x4078d8;var _0x27ea71;const _0x2f48fe=_0x52e032[_0x15ce19(0x1f3)];return(_0x27ea71=_0x16db4c==null?void 0x0:_0x16db4c['customHeaders'])!=null&&_0x27ea71[_0x15ce19(0x1ab)]&&_0x2f48fe[_0x15ce19(0x296)](_0x15ce19(0x273),_0x16db4c[_0x15ce19(0x1ef)][_0x15ce19(0x1ab)]),_0x4475fc(_0x52e032);}});}async['createSocket'](_0x3d9aa2){const _0x164410=_0x2303b1;return this[_0x164410(0x2d9)](_0x3d9aa2);}};at=cr([se(0x0,_0x9c4b20(_0x3abadc)),se(0x1,_0x9c4b20(_0x3387ec)),se(0x2,_0x35a04c),se(0x3,_0x3cc460),se(0x4,_0x433541)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|