@univerjs-pro/collaboration-client-node 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506161607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x45f320=_0x49f3;function _0x49f3(_0xe6417,_0x5bc4fa){const _0xd537e7=_0xd537();return _0x49f3=function(_0x49f31c,_0x551fde){_0x49f31c=_0x49f31c-0x11a;let _0x2ca035=_0xd537e7[_0x49f31c];return _0x2ca035;},_0x49f3(_0xe6417,_0x5bc4fa);}(function(_0x56da4f,_0x3971a4){const _0x45b969=_0x49f3,_0x5da5dc=_0x56da4f();while(!![]){try{const _0xcef3ce=-parseInt(_0x45b969(0x210))/0x1*(parseInt(_0x45b969(0x24d))/0x2)+-parseInt(_0x45b969(0x1fc))/0x3*(-parseInt(_0x45b969(0x17c))/0x4)+-parseInt(_0x45b969(0x233))/0x5*(-parseInt(_0x45b969(0x2c7))/0x6)+-parseInt(_0x45b969(0x27e))/0x7*(-parseInt(_0x45b969(0x155))/0x8)+-parseInt(_0x45b969(0x270))/0x9*(parseInt(_0x45b969(0x2cb))/0xa)+parseInt(_0x45b969(0x1ef))/0xb+-parseInt(_0x45b969(0x274))/0xc*(parseInt(_0x45b969(0x1a5))/0xd);if(_0xcef3ce===_0x3971a4)break;else _0x5da5dc['push'](_0x5da5dc['shift']());}catch(_0x32028e){_0x5da5dc['push'](_0x5da5dc['shift']());}}}(_0xd537,0x5c945));Object[_0x45f320(0x23c)](exports,Symbol[_0x45f320(0x18b)],{'value':'Module'});function _0xd537(){const _0x1ad832=['_options','kError','sec-websocket-origin','setHeader','dataMessage','setNoDelay','UniverCollaborationClientNodePlugin','close','_doCreateSocket','code','isInteger','\x22:\x20','concat','_closeCode','@univerjs-pro/collaboration','1684OnGWLT','OPEN','shouldHandle','cleanup','permessage-deflate','serverMaxWindowBits','sec-websocket-protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','backlog','CLOSED','buffer','Unexpected\x20end\x20of\x20input','_protocol','env','IConfigService','_readyState','data','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','fin','Connection:\x20Upgrade','search','handleProtocols','length','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','pipe','server_max_window_bits','\x22\x20must\x20have\x20only\x20a\x20single\x20value','createServer','WebSocket','server_no_context_takeover','port','followRedirects','readUInt16BE','compress','_deflate','27YgRMBZ','jobs','nextTick','__esModule','228xscFlu','startsWith','net','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x20','The\x20server\x20is\x20not\x20running','Invalid\x20Sec-WebSocket-Accept\x20header','readyState','isArray','Sec-WebSocket-Origin','14NuBTTS','destroy','decompress','_state','Invalid\x20WebSocket\x20frame:\x20','zlib','sha1','from','default','socket','kAborted','binaryType','params','acceptAsClient','client','_closeMessage','getData','flush','DependentOn','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','target','listenerCount','client_max_window_bits','frame','setTimeout','getPayloadLength16','test','unshift','_masked','_threshold','message','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','invalid\x20status\x20code\x20','end','toLowerCase','File','Sec-WebSocket-Extensions:\x20','open','share','isValidUTF8','Upgrade','read','hash','nodebuffer','uncork','pow','readUInt32BE','kType','Upgrade:\x20websocket','dequeue','_write','listeners','address','_max_window_bits','push','COLLABORATION_CLIENT_NODE_CONFIG_KEY','events','timeout','ws:','species','method','_fragmented','string','_redirects','verifyClient','servername','clientNoContextTakeover','invalid\x20UTF-8\x20sequence','byteLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','WS_NO_UTF_8_VALIDATE','MASK\x20must\x20be\x20clear','removeEventListener','341238wUeCFG','_isServer','offer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','234170SrwEaZ','Invalid\x20HTTP\x20method','redirect','_opcode','Opening\x20handshake\x20has\x20timed\x20out','endEmitted','_skipUTF8Validation','keys','_compressed','crypto','setConfig','_fragments','NodeCollaborationSocketService','Z_SYNC_FLUSH','kData','_registerDependencies','_final','hostname','emit','skipUTF8Validation','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','opcode','_errorEmitted','createInflateRaw','addEventListener','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_injector','isBuffer','allocUnsafe','Max\x20payload\x20size\x20exceeded','objectMode','shift','getConfig','host','exports','_binaryType','forEach','pathname','Server\x20sent\x20an\x20invalid\x20subprotocol','ISnapshotServerService','finishRequest','writeUIntBE','websocket','total-length','_bufferedAmount','extensionName','url','_payloadLength','acceptAsServer','set','protocolVersion','WS_ERR_UNEXPECTED_RSV_2_3','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','startLoop','threshold','getOwnPropertyDescriptor','Module','upgrade','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','ws+unix:','auth','createSocket','slice','concurrencyLimit','kReason','customHeaders','concurrency','Origin','_queue','mask','_closeTimer','_closeFrameReceived','_read','ping','text/html','Sec-WebSocket-Protocol:\x20','WS_ERR_INVALID_UTF8','terminate','completeUpgrade','HTTPService','_receiver','createError','_firstFragment','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','ILogService','construct','username','freeze','createConnection','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','124248ULfMsB','cookie','parse','send','CONNECTING','base64','split','writeHead','Disposable','object','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_url','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_shouldEmitClose','bufferedAmount','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','call','href','pong','text/plain','haveLength','unmask','Invalid\x20Sec-WebSocket-Protocol\x20header','maxRedirects','WS_ERR_UNEXPECTED_RSV_1','removeAllListeners','server','prototype','bind','error','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','reason','readable','_httpService','buffers','wasClean','emitClose','MASK\x20must\x20be\x20set','_compress','8184rGHEBJ','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','clientMaxWindowBits','stream','DisposableCollection','Unknown\x20parameter\x20\x22','registerHTTPInterceptor','callback','toString','_removeListeners','invalid\x20opcode\x20','delete','getMask','Server\x20sent\x20no\x20subprotocol','hasOwnProperty','toStringTag','format','removeListener','CollaborationSocketService','abort','WS_ERR_EXPECTED_FIN','Invalid\x20URL:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','sec-websocket-extensions','handleUpgrade','binary','destroyed','client_no_context_takeover','registerDependencies','_mask','_originalHostOrSocketPath','Observable','autoPong','isIP','byteOffset','clients','entries','fragments','accept','Sec-WebSocket-Accept:\x20','errorEmitted','419796agEUnm','onerror','invalid\x20payload\x20length\x20','Unsupported\x20protocol\x20version:\x20','_readableState','allowSynchronousEvents','finished','kDone','http','The\x20\x22','Inject','blob','getInfo','options','pause','indexOf','zlibDeflateOptions','_closeFrameSent','_sender','onStarting','write','arraybuffer','_allowSynchronousEvents','conclude','\x22\x20subprotocol\x20is\x20duplicated','catch','socketPath','add','_socket','map','Z_DEFAULT_WINDOWBITS','_maxPayload','_originalIpc','request','values','captureStackTrace','GET','handshakeTimeout','_errored','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','protocol','_paused','sec-websocket-accept','finish','join','HTTP/1.1\x20','maskBuffer','get','WS_ERR_EXPECTED_MASK','_autoPong','alloc','onopen','password','STATUS_CODES','_decompress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_configService','sec-websocket-version','_writableState','_originalSecure','sendFrame','consume','Unexpected\x20character\x20at\x20index\x20','_fin','resume','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','digest','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','kListener','_loop','Basic\x20','tls','_no_context_takeover','headers','1171401COcfaw','setSocket','kTarget','Invalid\x20value\x20for\x20parameter\x20\x22','\x0d\x0a\x0d\x0a','toDisposable','drain','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','location','arrayBuffer','includes','defaultPort','kCode','1083Oobsmm','WS_NO_BUFFER_UTIL','isPaused','has','type','_maskBuffer','generateMask','perMessageDeflate','readOnly','pending','value','dispose','serverNoContextTakeover','find','CLOSING','wss:','charCodeAt','replace','apply','onclose','386ukGvhw','authorization','number','ISocketService','wsClientError','next','normalizeParams','size','_buffers','maxPayload','invalid\x20opcode\x200','_generateMask','reset','once','enqueue','origin','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_bufferedBytes','FIN\x20must\x20be\x20set','_extensions','_messageLength','_server','path','kMessage','HTTP/1.1\x20101\x20Switching\x20Protocols','kRun','_totalPayloadLength','dispatch','Plugin','noServer','_inflate','create','writable','connect','45gqlluK','response','kByteLength','controlMessage','getBlobData','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_req','@univerjs/network','function','defineProperty','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header'];_0xd537=function(){return _0x1ad832;};return _0xd537();}const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require(_0x45f320(0x23a)),V=require('rxjs'),nt=require(_0x45f320(0x2b6)),vt=require('https'),ot=require(_0x45f320(0x1ad)),St=require(_0x45f320(0x276)),Et=require(_0x45f320(0x1ec)),Le=require(_0x45f320(0x2d4)),oe=require(_0x45f320(0x17f)),xt=require(_0x45f320(0x129)),bt=require(_0x45f320(0x283)),wt=require(_0x45f320(0x257)),Ot=require(_0x45f320(0x24c)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x55a771){const _0x5dc40f=_0x45f320;return _0x55a771&&_0x55a771[_0x5dc40f(0x273)]&&Object[_0x5dc40f(0x170)][_0x5dc40f(0x18a)]['call'](_0x55a771,_0x5dc40f(0x286))?_0x55a771[_0x5dc40f(0x286)]:_0x55a771;}function at(_0x79dd88){const _0x4e52b2=_0x45f320;if(Object[_0x4e52b2(0x170)]['hasOwnProperty']['call'](_0x79dd88,_0x4e52b2(0x273)))return _0x79dd88;var _0xd48f59=_0x79dd88[_0x4e52b2(0x286)];if(typeof _0xd48f59==_0x4e52b2(0x23b)){var _0x770c8=function _0x2a6f6f(){const _0x41103b=_0x4e52b2;return this instanceof _0x2a6f6f?Reflect[_0x41103b(0x150)](_0xd48f59,arguments,this['constructor']):_0xd48f59[_0x41103b(0x20e)](this,arguments);};_0x770c8[_0x4e52b2(0x170)]=_0xd48f59[_0x4e52b2(0x170)];}else _0x770c8={};return Object[_0x4e52b2(0x23c)](_0x770c8,_0x4e52b2(0x273),{'value':!0x0}),Object['keys'](_0x79dd88)[_0x4e52b2(0x11f)](function(_0x54bf91){const _0x91e5aa=_0x4e52b2;var _0x230771=Object[_0x91e5aa(0x132)](_0x79dd88,_0x54bf91);Object[_0x91e5aa(0x23c)](_0x770c8,_0x54bf91,_0x230771[_0x91e5aa(0x1d4)]?_0x230771:{'enumerable':!0x0,'get':function(){return _0x79dd88[_0x54bf91];}});}),_0x770c8;}var se={'exports':{}},ge,Ge;function H(){const _0x25d1de=_0x45f320;if(Ge)return ge;Ge=0x1;const _0x5665e6=[_0x25d1de(0x2a9),_0x25d1de(0x1ba),_0x25d1de(0x1a1)],_0x7ac66e=typeof Blob<'u';return _0x7ac66e&&_0x5665e6[_0x25d1de(0x2b4)](_0x25d1de(0x1b0)),ge={'BINARY_TYPES':_0x5665e6,'EMPTY_BUFFER':Buffer[_0x25d1de(0x1d7)](0x0),'GUID':_0x25d1de(0x2df),'hasBlob':_0x7ac66e,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x25d1de(0x1e9)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x45f320(0x152)](Object[_0x45f320(0x23c)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x45f320(0x133)})),Lt=at(kt);var Ve;function ce(){const _0x3f7f82=_0x45f320;if(Ve)return se[_0x3f7f82(0x11d)];Ve=0x1;const {EMPTY_BUFFER:_0x455266}=H(),_0x3511e4=Buffer[Symbol['species']];function _0x24f006(_0x299c95,_0x13f285){const _0x4b23d5=_0x3f7f82;if(_0x299c95['length']===0x0)return _0x455266;if(_0x299c95['length']===0x1)return _0x299c95[0x0];const _0x62aaf8=Buffer['allocUnsafe'](_0x13f285);let _0x1145c7=0x0;for(let _0x24f1cf=0x0;_0x24f1cf<_0x299c95[_0x4b23d5(0x263)];_0x24f1cf++){const _0x83314c=_0x299c95[_0x24f1cf];_0x62aaf8['set'](_0x83314c,_0x1145c7),_0x1145c7+=_0x83314c['length'];}return _0x1145c7<_0x13f285?new _0x3511e4(_0x62aaf8['buffer'],_0x62aaf8['byteOffset'],_0x1145c7):_0x62aaf8;}function _0x3c868c(_0x56f163,_0x4c3835,_0x4745e1,_0x1eab75,_0x35a3c8){for(let _0x30ce31=0x0;_0x30ce31<_0x35a3c8;_0x30ce31++)_0x4745e1[_0x1eab75+_0x30ce31]=_0x56f163[_0x30ce31]^_0x4c3835[_0x30ce31&0x3];}function _0x4f66d4(_0x5a309f,_0xbff551){const _0x2bc4c5=_0x3f7f82;for(let _0x1bb989=0x0;_0x1bb989<_0x5a309f[_0x2bc4c5(0x263)];_0x1bb989++)_0x5a309f[_0x1bb989]^=_0xbff551[_0x1bb989&0x3];}function _0x17af74(_0x1fd782){const _0x1f6fee=_0x3f7f82;return _0x1fd782['length']===_0x1fd782['buffer'][_0x1f6fee(0x2c2)]?_0x1fd782[_0x1f6fee(0x257)]:_0x1fd782[_0x1f6fee(0x257)][_0x1f6fee(0x139)](_0x1fd782[_0x1f6fee(0x19e)],_0x1fd782['byteOffset']+_0x1fd782[_0x1f6fee(0x263)]);}function _0x54988a(_0x199da1){const _0x5918b0=_0x3f7f82;if(_0x54988a['readOnly']=!0x0,Buffer[_0x5918b0(0x2e6)](_0x199da1))return _0x199da1;let _0x5a12e0;return _0x199da1 instanceof ArrayBuffer?_0x5a12e0=new _0x3511e4(_0x199da1):ArrayBuffer['isView'](_0x199da1)?_0x5a12e0=new _0x3511e4(_0x199da1[_0x5918b0(0x257)],_0x199da1[_0x5918b0(0x19e)],_0x199da1[_0x5918b0(0x2c2)]):(_0x5a12e0=Buffer[_0x5918b0(0x285)](_0x199da1),_0x54988a[_0x5918b0(0x204)]=!0x1),_0x5a12e0;}if(se[_0x3f7f82(0x11d)]={'concat':_0x24f006,'mask':_0x3c868c,'toArrayBuffer':_0x17af74,'toBuffer':_0x54988a,'unmask':_0x4f66d4},!process[_0x3f7f82(0x25a)][_0x3f7f82(0x1fd)])try{const _0x59fffd=Lt;se[_0x3f7f82(0x11d)][_0x3f7f82(0x140)]=function(_0x118af9,_0x2d09de,_0x5250a5,_0x508a8c,_0xb167a6){const _0x5b2bc4=_0x3f7f82;_0xb167a6<0x30?_0x3c868c(_0x118af9,_0x2d09de,_0x5250a5,_0x508a8c,_0xb167a6):_0x59fffd[_0x5b2bc4(0x140)](_0x118af9,_0x2d09de,_0x5250a5,_0x508a8c,_0xb167a6);},se[_0x3f7f82(0x11d)]['unmask']=function(_0x1d96b1,_0x39a61b){const _0x2cb9d7=_0x3f7f82;_0x1d96b1[_0x2cb9d7(0x263)]<0x20?_0x4f66d4(_0x1d96b1,_0x39a61b):_0x59fffd[_0x2cb9d7(0x16a)](_0x1d96b1,_0x39a61b);};}catch{}return se[_0x3f7f82(0x11d)];}var ye,He;function Pt(){const _0x3d0256=_0x45f320;if(He)return ye;He=0x1;const _0x3eb8d8=Symbol(_0x3d0256(0x1ac)),_0x4ae2c0=Symbol(_0x3d0256(0x22a));class _0x540b0d{constructor(_0x481acf){const _0x494a2d=_0x3d0256;this[_0x3eb8d8]=()=>{const _0x3b29b7=_0x49f3;this[_0x3b29b7(0x205)]--,this[_0x4ae2c0]();},this[_0x494a2d(0x13d)]=_0x481acf||0x1/0x0,this[_0x494a2d(0x271)]=[],this[_0x494a2d(0x205)]=0x0;}[_0x3d0256(0x1c0)](_0x17f12d){const _0x1d4b20=_0x3d0256;this[_0x1d4b20(0x271)][_0x1d4b20(0x2b4)](_0x17f12d),this[_0x4ae2c0]();}[_0x4ae2c0](){const _0x262580=_0x3d0256;if(this[_0x262580(0x205)]!==this[_0x262580(0x13d)]&&this[_0x262580(0x271)][_0x262580(0x263)]){const _0x4b10b2=this[_0x262580(0x271)][_0x262580(0x11a)]();this[_0x262580(0x205)]++,_0x4b10b2(this[_0x3eb8d8]);}}}return ye=_0x540b0d,ye;}var ve,ze;function he(){const _0x44ce52=_0x45f320;if(ze)return ve;ze=0x1;const _0x1dfd8f=bt,_0x1860dd=ce(),_0xd88e0b=Pt(),{kStatusCode:_0xa08d71}=H(),_0x2d7393=Buffer[Symbol[_0x44ce52(0x2b9)]],_0x3f5051=Buffer['from']([0x0,0x0,0xff,0xff]),_0x15c234=Symbol(_0x44ce52(0x251)),_0x587bbc=Symbol(_0x44ce52(0x126)),_0x118ad5=Symbol(_0x44ce52(0x183)),_0x25c2b2=Symbol(_0x44ce52(0x177)),_0x438c81=Symbol(_0x44ce52(0x172));let _0x2ee1ea;class _0x1383bd{constructor(_0x1fb88f,_0x4fe143,_0x1061c3){const _0x538a30=_0x44ce52;if(this[_0x538a30(0x1c4)]=_0x1061c3|0x0,this['_options']=_0x1fb88f||{},this[_0x538a30(0x29b)]=this[_0x538a30(0x23e)][_0x538a30(0x131)]!==void 0x0?this[_0x538a30(0x23e)][_0x538a30(0x131)]:0x400,this[_0x538a30(0x2c8)]=!!_0x4fe143,this[_0x538a30(0x26f)]=null,this[_0x538a30(0x22f)]=null,this[_0x538a30(0x28a)]=null,!_0x2ee1ea){const _0x2cf311=this[_0x538a30(0x23e)][_0x538a30(0x13a)]!==void 0x0?this['_options'][_0x538a30(0x13a)]:0xa;_0x2ee1ea=new _0xd88e0b(_0x2cf311);}}static get['extensionName'](){const _0x2bb832=_0x44ce52;return _0x2bb832(0x251);}[_0x44ce52(0x2c9)](){const _0x31b465=_0x44ce52,_0x52d472={};return this[_0x31b465(0x23e)]['serverNoContextTakeover']&&(_0x52d472[_0x31b465(0x26a)]=!0x0),this[_0x31b465(0x23e)][_0x31b465(0x2c0)]&&(_0x52d472['client_no_context_takeover']=!0x0),this[_0x31b465(0x23e)][_0x31b465(0x252)]&&(_0x52d472['server_max_window_bits']=this['_options'][_0x31b465(0x252)]),this[_0x31b465(0x23e)][_0x31b465(0x17e)]?_0x52d472[_0x31b465(0x294)]=this[_0x31b465(0x23e)][_0x31b465(0x17e)]:this[_0x31b465(0x23e)][_0x31b465(0x17e)]==null&&(_0x52d472[_0x31b465(0x294)]=!0x0),_0x52d472;}['accept'](_0x2c2346){const _0x341261=_0x44ce52;return _0x2c2346=this[_0x341261(0x216)](_0x2c2346),this[_0x341261(0x28a)]=this[_0x341261(0x2c8)]?this[_0x341261(0x12b)](_0x2c2346):this[_0x341261(0x28b)](_0x2c2346),this[_0x341261(0x28a)];}['cleanup'](){const _0x184d4e=_0x44ce52;if(this[_0x184d4e(0x22f)]&&(this[_0x184d4e(0x22f)][_0x184d4e(0x245)](),this[_0x184d4e(0x22f)]=null),this[_0x184d4e(0x26f)]){const _0x3b20d4=this[_0x184d4e(0x26f)][_0x118ad5];this[_0x184d4e(0x26f)][_0x184d4e(0x245)](),this[_0x184d4e(0x26f)]=null,_0x3b20d4&&_0x3b20d4(new Error(_0x184d4e(0x220)));}}[_0x44ce52(0x12b)](_0x4fb84a){const _0x19c3be=_0x44ce52,_0xca9cd6=this[_0x19c3be(0x23e)],_0x5c729c=_0x4fb84a[_0x19c3be(0x209)](_0x3fe759=>!(_0xca9cd6[_0x19c3be(0x208)]===!0x1&&_0x3fe759[_0x19c3be(0x26a)]||_0x3fe759['server_max_window_bits']&&(_0xca9cd6[_0x19c3be(0x252)]===!0x1||typeof _0xca9cd6[_0x19c3be(0x252)]==_0x19c3be(0x212)&&_0xca9cd6[_0x19c3be(0x252)]>_0x3fe759['server_max_window_bits'])||typeof _0xca9cd6[_0x19c3be(0x17e)]==_0x19c3be(0x212)&&!_0x3fe759[_0x19c3be(0x294)]));if(!_0x5c729c)throw new Error(_0x19c3be(0x15f));return _0xca9cd6[_0x19c3be(0x208)]&&(_0x5c729c['server_no_context_takeover']=!0x0),_0xca9cd6[_0x19c3be(0x2c0)]&&(_0x5c729c[_0x19c3be(0x197)]=!0x0),typeof _0xca9cd6[_0x19c3be(0x252)]==_0x19c3be(0x212)&&(_0x5c729c[_0x19c3be(0x266)]=_0xca9cd6[_0x19c3be(0x252)]),typeof _0xca9cd6['clientMaxWindowBits']==_0x19c3be(0x212)?_0x5c729c[_0x19c3be(0x294)]=_0xca9cd6[_0x19c3be(0x17e)]:(_0x5c729c[_0x19c3be(0x294)]===!0x0||_0xca9cd6['clientMaxWindowBits']===!0x1)&&delete _0x5c729c[_0x19c3be(0x294)],_0x5c729c;}[_0x44ce52(0x28b)](_0x10651){const _0x3687c2=_0x44ce52,_0x49c081=_0x10651[0x0];if(this[_0x3687c2(0x23e)][_0x3687c2(0x2c0)]===!0x1&&_0x49c081[_0x3687c2(0x197)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x49c081[_0x3687c2(0x294)])typeof this[_0x3687c2(0x23e)][_0x3687c2(0x17e)]==_0x3687c2(0x212)&&(_0x49c081[_0x3687c2(0x294)]=this[_0x3687c2(0x23e)][_0x3687c2(0x17e)]);else{if(this['_options'][_0x3687c2(0x17e)]===!0x1||typeof this[_0x3687c2(0x23e)][_0x3687c2(0x17e)]==_0x3687c2(0x212)&&_0x49c081[_0x3687c2(0x294)]>this[_0x3687c2(0x23e)][_0x3687c2(0x17e)])throw new Error(_0x3687c2(0x173));}return _0x49c081;}[_0x44ce52(0x216)](_0x25baba){const _0xf178ba=_0x44ce52;return _0x25baba[_0xf178ba(0x11f)](_0x461e18=>{const _0x3737d9=_0xf178ba;Object['keys'](_0x461e18)[_0x3737d9(0x11f)](_0x1105f6=>{const _0xfdb42=_0x3737d9;let _0x485009=_0x461e18[_0x1105f6];if(_0x485009[_0xfdb42(0x263)]>0x1)throw new Error('Parameter\x20\x22'+_0x1105f6+_0xfdb42(0x267));if(_0x485009=_0x485009[0x0],_0x1105f6===_0xfdb42(0x294)){if(_0x485009!==!0x0){const _0x334a94=+_0x485009;if(!Number[_0xfdb42(0x248)](_0x334a94)||_0x334a94<0x8||_0x334a94>0xf)throw new TypeError(_0xfdb42(0x1f2)+_0x1105f6+_0xfdb42(0x249)+_0x485009);_0x485009=_0x334a94;}else{if(!this[_0xfdb42(0x2c8)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1105f6+_0xfdb42(0x249)+_0x485009);}}else{if(_0x1105f6==='server_max_window_bits'){const _0x41db8b=+_0x485009;if(!Number['isInteger'](_0x41db8b)||_0x41db8b<0x8||_0x41db8b>0xf)throw new TypeError(_0xfdb42(0x1f2)+_0x1105f6+_0xfdb42(0x249)+_0x485009);_0x485009=_0x41db8b;}else{if(_0x1105f6==='client_no_context_takeover'||_0x1105f6==='server_no_context_takeover'){if(_0x485009!==!0x0)throw new TypeError(_0xfdb42(0x1f2)+_0x1105f6+_0xfdb42(0x249)+_0x485009);}else throw new Error(_0xfdb42(0x181)+_0x1105f6+'\x22');}}_0x461e18[_0x1105f6]=_0x485009;});}),_0x25baba;}['decompress'](_0x869f70,_0x324c4f,_0x3c0fcb){_0x2ee1ea['add'](_0x5604c7=>{const _0x383833=_0x49f3;this[_0x383833(0x1db)](_0x869f70,_0x324c4f,(_0x5a3cb1,_0x3b5be3)=>{_0x5604c7(),_0x3c0fcb(_0x5a3cb1,_0x3b5be3);});});}[_0x44ce52(0x26e)](_0x29404d,_0x27f06b,_0x325684){const _0x4ba22d=_0x44ce52;_0x2ee1ea[_0x4ba22d(0x1c0)](_0x51a43c=>{this['_compress'](_0x29404d,_0x27f06b,(_0x37cdae,_0xf6890f)=>{_0x51a43c(),_0x325684(_0x37cdae,_0xf6890f);});});}['_decompress'](_0x4f9e7d,_0x53e778,_0x3fd789){const _0x47edda=_0x44ce52,_0x49d0ff=this[_0x47edda(0x2c8)]?_0x47edda(0x28c):_0x47edda(0x16f);if(!this[_0x47edda(0x22f)]){const _0x1fa5d3=_0x49d0ff+_0x47edda(0x2b3),_0x12b075=typeof this[_0x47edda(0x28a)][_0x1fa5d3]!='number'?_0x1dfd8f[_0x47edda(0x1c3)]:this[_0x47edda(0x28a)][_0x1fa5d3];this[_0x47edda(0x22f)]=_0x1dfd8f[_0x47edda(0x2e2)]({...this[_0x47edda(0x23e)]['zlibInflateOptions'],'windowBits':_0x12b075}),this['_inflate'][_0x15c234]=this,this['_inflate'][_0x587bbc]=0x0,this[_0x47edda(0x22f)][_0x25c2b2]=[],this[_0x47edda(0x22f)]['on'](_0x47edda(0x172),_0x1d5687),this[_0x47edda(0x22f)]['on'](_0x47edda(0x25d),_0x2284a2);}this[_0x47edda(0x22f)][_0x118ad5]=_0x3fd789,this[_0x47edda(0x22f)][_0x47edda(0x1b9)](_0x4f9e7d),_0x53e778&&this[_0x47edda(0x22f)]['write'](_0x3f5051),this['_inflate'][_0x47edda(0x28f)](()=>{const _0x514623=_0x47edda,_0x3d3ae0=this[_0x514623(0x22f)][_0x438c81];if(_0x3d3ae0){this['_inflate'][_0x514623(0x245)](),this[_0x514623(0x22f)]=null,_0x3fd789(_0x3d3ae0);return;}const _0x2aa0f0=_0x1860dd[_0x514623(0x24a)](this[_0x514623(0x22f)][_0x25c2b2],this[_0x514623(0x22f)][_0x587bbc]);this[_0x514623(0x22f)][_0x514623(0x1a9)][_0x514623(0x2d0)]?(this[_0x514623(0x22f)][_0x514623(0x245)](),this['_inflate']=null):(this['_inflate'][_0x587bbc]=0x0,this[_0x514623(0x22f)][_0x25c2b2]=[],_0x53e778&&this[_0x514623(0x28a)][_0x49d0ff+'_no_context_takeover']&&this['_inflate'][_0x514623(0x21c)]()),_0x3fd789(null,_0x2aa0f0);});}[_0x44ce52(0x17b)](_0x1e9f85,_0x58c1e3,_0x547845){const _0x4849da=_0x44ce52,_0x67db4b=this[_0x4849da(0x2c8)]?_0x4849da(0x16f):_0x4849da(0x28c);if(!this[_0x4849da(0x26f)]){const _0x4526dc=_0x67db4b+'_max_window_bits',_0x3fb0ba=typeof this[_0x4849da(0x28a)][_0x4526dc]!=_0x4849da(0x212)?_0x1dfd8f[_0x4849da(0x1c3)]:this['params'][_0x4526dc];this[_0x4849da(0x26f)]=_0x1dfd8f['createDeflateRaw']({...this[_0x4849da(0x23e)][_0x4849da(0x1b5)],'windowBits':_0x3fb0ba}),this[_0x4849da(0x26f)][_0x587bbc]=0x0,this[_0x4849da(0x26f)][_0x25c2b2]=[],this[_0x4849da(0x26f)]['on']('data',_0x5cf8f3);}this[_0x4849da(0x26f)][_0x118ad5]=_0x547845,this[_0x4849da(0x26f)][_0x4849da(0x1b9)](_0x1e9f85),this[_0x4849da(0x26f)][_0x4849da(0x28f)](_0x1dfd8f[_0x4849da(0x2d8)],()=>{const _0x3e800e=_0x4849da;if(!this[_0x3e800e(0x26f)])return;let _0x27e376=_0x1860dd['concat'](this[_0x3e800e(0x26f)][_0x25c2b2],this['_deflate'][_0x587bbc]);_0x58c1e3&&(_0x27e376=new _0x2d7393(_0x27e376['buffer'],_0x27e376[_0x3e800e(0x19e)],_0x27e376[_0x3e800e(0x263)]-0x4)),this[_0x3e800e(0x26f)][_0x118ad5]=null,this['_deflate'][_0x587bbc]=0x0,this[_0x3e800e(0x26f)][_0x25c2b2]=[],_0x58c1e3&&this[_0x3e800e(0x28a)][_0x67db4b+_0x3e800e(0x1ed)]&&this[_0x3e800e(0x26f)][_0x3e800e(0x21c)](),_0x547845(null,_0x27e376);});}}ve=_0x1383bd;function _0x5cf8f3(_0x46a048){const _0x5296df=_0x44ce52;this[_0x25c2b2][_0x5296df(0x2b4)](_0x46a048),this[_0x587bbc]+=_0x46a048['length'];}function _0x2284a2(_0x13cd5b){const _0x5075cf=_0x44ce52;if(this[_0x587bbc]+=_0x13cd5b[_0x5075cf(0x263)],this[_0x15c234][_0x5075cf(0x1c4)]<0x1||this[_0x587bbc]<=this[_0x15c234]['_maxPayload']){this[_0x25c2b2][_0x5075cf(0x2b4)](_0x13cd5b);return;}this[_0x438c81]=new RangeError(_0x5075cf(0x2e8)),this[_0x438c81][_0x5075cf(0x247)]=_0x5075cf(0x254),this[_0x438c81][_0xa08d71]=0x3f1,this[_0x5075cf(0x18d)](_0x5075cf(0x25d),_0x2284a2),this[_0x5075cf(0x21c)]();}function _0x1d5687(_0x2555a7){const _0x4ced26=_0x44ce52;if(this[_0x15c234][_0x4ced26(0x22f)]=null,this[_0x438c81]){this[_0x118ad5](this[_0x438c81]);return;}_0x2555a7[_0xa08d71]=0x3ef,this[_0x118ad5](_0x2555a7);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x45f320(0x152)](Object[_0x45f320(0x23c)]({'__proto__':null,'default':Dt},Symbol[_0x45f320(0x18b)],{'value':_0x45f320(0x133)})),Bt=at(Rt);var Ye;function ae(){const _0x129f7f=_0x45f320;if(Ye)return ie[_0x129f7f(0x11d)];Ye=0x1;const {isUtf8:_0x16e405}=wt,{hasBlob:_0x446fa6}=H(),_0x4066d8=[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 _0xcb397e(_0x5de705){return _0x5de705>=0x3e8&&_0x5de705<=0x3f6&&_0x5de705!==0x3ec&&_0x5de705!==0x3ed&&_0x5de705!==0x3ee||_0x5de705>=0xbb8&&_0x5de705<=0x1387;}function _0x372e54(_0x54534d){const _0x2cf535=_0x129f7f,_0x17baee=_0x54534d[_0x2cf535(0x263)];let _0x3b0e13=0x0;for(;_0x3b0e13<_0x17baee;)if((_0x54534d[_0x3b0e13]&0x80)===0x0)_0x3b0e13++;else{if((_0x54534d[_0x3b0e13]&0xe0)===0xc0){if(_0x3b0e13+0x1===_0x17baee||(_0x54534d[_0x3b0e13+0x1]&0xc0)!==0x80||(_0x54534d[_0x3b0e13]&0xfe)===0xc0)return!0x1;_0x3b0e13+=0x2;}else{if((_0x54534d[_0x3b0e13]&0xf0)===0xe0){if(_0x3b0e13+0x2>=_0x17baee||(_0x54534d[_0x3b0e13+0x1]&0xc0)!==0x80||(_0x54534d[_0x3b0e13+0x2]&0xc0)!==0x80||_0x54534d[_0x3b0e13]===0xe0&&(_0x54534d[_0x3b0e13+0x1]&0xe0)===0x80||_0x54534d[_0x3b0e13]===0xed&&(_0x54534d[_0x3b0e13+0x1]&0xe0)===0xa0)return!0x1;_0x3b0e13+=0x3;}else{if((_0x54534d[_0x3b0e13]&0xf8)===0xf0){if(_0x3b0e13+0x3>=_0x17baee||(_0x54534d[_0x3b0e13+0x1]&0xc0)!==0x80||(_0x54534d[_0x3b0e13+0x2]&0xc0)!==0x80||(_0x54534d[_0x3b0e13+0x3]&0xc0)!==0x80||_0x54534d[_0x3b0e13]===0xf0&&(_0x54534d[_0x3b0e13+0x1]&0xf0)===0x80||_0x54534d[_0x3b0e13]===0xf4&&_0x54534d[_0x3b0e13+0x1]>0x8f||_0x54534d[_0x3b0e13]>0xf4)return!0x1;_0x3b0e13+=0x4;}else return!0x1;}}}return!0x0;}function _0x43a041(_0x1ebc17){const _0x31c20c=_0x129f7f;return _0x446fa6&&typeof _0x1ebc17==_0x31c20c(0x15e)&&typeof _0x1ebc17[_0x31c20c(0x1f8)]=='function'&&typeof _0x1ebc17[_0x31c20c(0x200)]==_0x31c20c(0x2bc)&&typeof _0x1ebc17['stream']==_0x31c20c(0x23b)&&(_0x1ebc17[Symbol[_0x31c20c(0x18b)]]==='Blob'||_0x1ebc17[Symbol['toStringTag']]===_0x31c20c(0x2a1));}if(ie['exports']={'isBlob':_0x43a041,'isValidStatusCode':_0xcb397e,'isValidUTF8':_0x372e54,'tokenChars':_0x4066d8},_0x16e405)ie['exports']['isValidUTF8']=function(_0x22bee4){const _0x576254=_0x129f7f;return _0x22bee4[_0x576254(0x263)]<0x18?_0x372e54(_0x22bee4):_0x16e405(_0x22bee4);};else{if(!process['env'][_0x129f7f(0x2c4)])try{const _0x40ac00=Bt;ie[_0x129f7f(0x11d)][_0x129f7f(0x2a5)]=function(_0x4d1cd5){return _0x4d1cd5['length']<0x20?_0x372e54(_0x4d1cd5):_0x40ac00(_0x4d1cd5);};}catch{}}return ie[_0x129f7f(0x11d)];}var Se,Ke;function lt(){const _0x4738b2=_0x45f320;if(Ke)return Se;Ke=0x1;const {Writable:_0x4e11c4}=oe,_0x156140=he(),{BINARY_TYPES:_0x4652ff,EMPTY_BUFFER:_0x593fce,kStatusCode:_0x191a27,kWebSocket:_0x29fadc}=H(),{concat:_0x4899d9,toArrayBuffer:_0x351dae,unmask:_0x4d1719}=ce(),{isValidStatusCode:_0x286ad5,isValidUTF8:_0x4e2af8}=ae(),_0x280079=Buffer[Symbol['species']],_0xad44ba=0x0,_0x298396=0x1,_0x36f1e6=0x2,_0x23297c=0x3,_0x20e3cb=0x4,_0x5a7c6f=0x5,_0x1fff25=0x6;class _0x45c3c4 extends _0x4e11c4{constructor(_0x4c04fa={}){const _0x1e672d=_0x49f3;super(),this[_0x1e672d(0x1bb)]=_0x4c04fa[_0x1e672d(0x1aa)]!==void 0x0?_0x4c04fa[_0x1e672d(0x1aa)]:!0x0,this[_0x1e672d(0x11e)]=_0x4c04fa['binaryType']||_0x4652ff[0x0],this[_0x1e672d(0x224)]=_0x4c04fa['extensions']||{},this[_0x1e672d(0x2c8)]=!!_0x4c04fa['isServer'],this[_0x1e672d(0x1c4)]=_0x4c04fa[_0x1e672d(0x219)]|0x0,this['_skipUTF8Validation']=!!_0x4c04fa['skipUTF8Validation'],this[_0x29fadc]=void 0x0,this[_0x1e672d(0x222)]=0x0,this[_0x1e672d(0x218)]=[],this[_0x1e672d(0x2d3)]=!0x1,this[_0x1e672d(0x12a)]=0x0,this[_0x1e672d(0x199)]=void 0x0,this[_0x1e672d(0x2bb)]=0x0,this['_masked']=!0x1,this[_0x1e672d(0x1e4)]=!0x1,this[_0x1e672d(0x2ce)]=0x0,this[_0x1e672d(0x22b)]=0x0,this['_messageLength']=0x0,this[_0x1e672d(0x2d6)]=[],this[_0x1e672d(0x1cb)]=!0x1,this[_0x1e672d(0x1ea)]=!0x1,this[_0x1e672d(0x281)]=_0xad44ba;}['_write'](_0x5a703f,_0x43baf6,_0x69f50){const _0x425889=_0x49f3;if(this['_opcode']===0x8&&this[_0x425889(0x281)]==_0xad44ba)return _0x69f50();this[_0x425889(0x222)]+=_0x5a703f['length'],this[_0x425889(0x218)][_0x425889(0x2b4)](_0x5a703f),this[_0x425889(0x130)](_0x69f50);}[_0x4738b2(0x1e2)](_0x516d53){const _0x30cd55=_0x4738b2;if(this[_0x30cd55(0x222)]-=_0x516d53,_0x516d53===this['_buffers'][0x0]['length'])return this[_0x30cd55(0x218)][_0x30cd55(0x11a)]();if(_0x516d53<this[_0x30cd55(0x218)][0x0][_0x30cd55(0x263)]){const _0x363756=this[_0x30cd55(0x218)][0x0];return this[_0x30cd55(0x218)][0x0]=new _0x280079(_0x363756['buffer'],_0x363756[_0x30cd55(0x19e)]+_0x516d53,_0x363756[_0x30cd55(0x263)]-_0x516d53),new _0x280079(_0x363756[_0x30cd55(0x257)],_0x363756[_0x30cd55(0x19e)],_0x516d53);}const _0x359e56=Buffer['allocUnsafe'](_0x516d53);do{const _0x361514=this[_0x30cd55(0x218)][0x0],_0x2990b0=_0x359e56['length']-_0x516d53;_0x516d53>=_0x361514[_0x30cd55(0x263)]?_0x359e56[_0x30cd55(0x12c)](this[_0x30cd55(0x218)][_0x30cd55(0x11a)](),_0x2990b0):(_0x359e56[_0x30cd55(0x12c)](new Uint8Array(_0x361514[_0x30cd55(0x257)],_0x361514[_0x30cd55(0x19e)],_0x516d53),_0x2990b0),this[_0x30cd55(0x218)][0x0]=new _0x280079(_0x361514[_0x30cd55(0x257)],_0x361514['byteOffset']+_0x516d53,_0x361514[_0x30cd55(0x263)]-_0x516d53)),_0x516d53-=_0x361514[_0x30cd55(0x263)];}while(_0x516d53>0x0);return _0x359e56;}['startLoop'](_0x1196fa){const _0x1f039b=_0x4738b2;this[_0x1f039b(0x1ea)]=!0x0;do switch(this[_0x1f039b(0x281)]){case _0xad44ba:this[_0x1f039b(0x1b1)](_0x1196fa);break;case _0x298396:this[_0x1f039b(0x297)](_0x1196fa);break;case _0x36f1e6:this['getPayloadLength64'](_0x1196fa);break;case _0x23297c:this[_0x1f039b(0x188)]();break;case _0x20e3cb:this[_0x1f039b(0x28e)](_0x1196fa);break;case _0x5a7c6f:case _0x1fff25:this[_0x1f039b(0x1ea)]=!0x1;return;}while(this[_0x1f039b(0x1ea)]);this['_errored']||_0x1196fa();}[_0x4738b2(0x1b1)](_0x12311e){const _0x33da8d=_0x4738b2;if(this[_0x33da8d(0x222)]<0x2){this['_loop']=!0x1;return;}const _0x5128b5=this[_0x33da8d(0x1e2)](0x2);if((_0x5128b5[0x0]&0x30)!==0x0){const _0x1d6cb8=this['createError'](RangeError,_0x33da8d(0x2c3),!0x0,0x3ea,_0x33da8d(0x12e));_0x12311e(_0x1d6cb8);return;}const _0x289bf4=(_0x5128b5[0x0]&0x40)===0x40;if(_0x289bf4&&!this[_0x33da8d(0x224)][_0x156140['extensionName']]){const _0x57335b=this[_0x33da8d(0x14c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x12311e(_0x57335b);return;}if(this[_0x33da8d(0x1e4)]=(_0x5128b5[0x0]&0x80)===0x80,this[_0x33da8d(0x2ce)]=_0x5128b5[0x0]&0xf,this[_0x33da8d(0x12a)]=_0x5128b5[0x1]&0x7f,this['_opcode']===0x0){if(_0x289bf4){const _0x58feca=this[_0x33da8d(0x14c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x33da8d(0x16d));_0x12311e(_0x58feca);return;}if(!this[_0x33da8d(0x2bb)]){const _0x4d6dba=this['createError'](RangeError,_0x33da8d(0x21a),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x12311e(_0x4d6dba);return;}this[_0x33da8d(0x2ce)]=this[_0x33da8d(0x2bb)];}else{if(this['_opcode']===0x1||this[_0x33da8d(0x2ce)]===0x2){if(this['_fragmented']){const _0x83fe=this[_0x33da8d(0x14c)](RangeError,_0x33da8d(0x186)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x12311e(_0x83fe);return;}this['_compressed']=_0x289bf4;}else{if(this[_0x33da8d(0x2ce)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x139a00=this[_0x33da8d(0x14c)](RangeError,_0x33da8d(0x223),!0x0,0x3ea,_0x33da8d(0x190));_0x12311e(_0x139a00);return;}if(_0x289bf4){const _0x6b431f=this[_0x33da8d(0x14c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x33da8d(0x16d));_0x12311e(_0x6b431f);return;}if(this[_0x33da8d(0x12a)]>0x7d||this['_opcode']===0x8&&this[_0x33da8d(0x12a)]===0x1){const _0x5605f1=this['createError'](RangeError,_0x33da8d(0x1a7)+this['_payloadLength'],!0x0,0x3ea,_0x33da8d(0x161));_0x12311e(_0x5605f1);return;}}else{const _0x383f5d=this['createError'](RangeError,_0x33da8d(0x186)+this[_0x33da8d(0x2ce)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x12311e(_0x383f5d);return;}}}if(!this[_0x33da8d(0x1e4)]&&!this[_0x33da8d(0x2bb)]&&(this['_fragmented']=this['_opcode']),this[_0x33da8d(0x29a)]=(_0x5128b5[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x5359ba=this[_0x33da8d(0x14c)](RangeError,_0x33da8d(0x17a),!0x0,0x3ea,_0x33da8d(0x1d5));_0x12311e(_0x5359ba);return;}}else{if(this['_masked']){const _0x48f7f3=this[_0x33da8d(0x14c)](RangeError,_0x33da8d(0x2c5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x12311e(_0x48f7f3);return;}}this[_0x33da8d(0x12a)]===0x7e?this[_0x33da8d(0x281)]=_0x298396:this['_payloadLength']===0x7f?this[_0x33da8d(0x281)]=_0x36f1e6:this['haveLength'](_0x12311e);}['getPayloadLength16'](_0xf6a7d1){const _0x59f85c=_0x4738b2;if(this[_0x59f85c(0x222)]<0x2){this['_loop']=!0x1;return;}this[_0x59f85c(0x12a)]=this[_0x59f85c(0x1e2)](0x2)['readUInt16BE'](0x0),this[_0x59f85c(0x169)](_0xf6a7d1);}['getPayloadLength64'](_0x4d472b){const _0x2fa5ab=_0x4738b2;if(this[_0x2fa5ab(0x222)]<0x8){this[_0x2fa5ab(0x1ea)]=!0x1;return;}const _0x3533ba=this[_0x2fa5ab(0x1e2)](0x8),_0x191ab5=_0x3533ba[_0x2fa5ab(0x2ac)](0x0);if(_0x191ab5>Math[_0x2fa5ab(0x2ab)](0x2,0x15)-0x1){const _0x4ed8f0=this['createError'](RangeError,_0x2fa5ab(0x291),!0x1,0x3f1,_0x2fa5ab(0x1e6));_0x4d472b(_0x4ed8f0);return;}this[_0x2fa5ab(0x12a)]=_0x191ab5*Math[_0x2fa5ab(0x2ab)](0x2,0x20)+_0x3533ba[_0x2fa5ab(0x2ac)](0x4),this[_0x2fa5ab(0x169)](_0x4d472b);}['haveLength'](_0x5b9465){const _0x7520a3=_0x4738b2;if(this[_0x7520a3(0x12a)]&&this[_0x7520a3(0x2ce)]<0x8&&(this[_0x7520a3(0x22b)]+=this['_payloadLength'],this[_0x7520a3(0x22b)]>this[_0x7520a3(0x1c4)]&&this[_0x7520a3(0x1c4)]>0x0)){const _0x400727=this[_0x7520a3(0x14c)](RangeError,_0x7520a3(0x2e8),!0x1,0x3f1,_0x7520a3(0x254));_0x5b9465(_0x400727);return;}this['_masked']?this[_0x7520a3(0x281)]=_0x23297c:this[_0x7520a3(0x281)]=_0x20e3cb;}[_0x4738b2(0x188)](){const _0x77964e=_0x4738b2;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x77964e(0x199)]=this[_0x77964e(0x1e2)](0x4),this[_0x77964e(0x281)]=_0x20e3cb;}[_0x4738b2(0x28e)](_0x5cf9d4){const _0x4d463e=_0x4738b2;let _0x3b6cc5=_0x593fce;if(this[_0x4d463e(0x12a)]){if(this['_bufferedBytes']<this[_0x4d463e(0x12a)]){this[_0x4d463e(0x1ea)]=!0x1;return;}_0x3b6cc5=this[_0x4d463e(0x1e2)](this[_0x4d463e(0x12a)]),this['_masked']&&(this[_0x4d463e(0x199)][0x0]|this[_0x4d463e(0x199)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x4d1719(_0x3b6cc5,this[_0x4d463e(0x199)]);}if(this[_0x4d463e(0x2ce)]>0x7){this[_0x4d463e(0x236)](_0x3b6cc5,_0x5cf9d4);return;}if(this[_0x4d463e(0x2d3)]){this[_0x4d463e(0x281)]=_0x5a7c6f,this[_0x4d463e(0x280)](_0x3b6cc5,_0x5cf9d4);return;}_0x3b6cc5[_0x4d463e(0x263)]&&(this[_0x4d463e(0x225)]=this['_totalPayloadLength'],this['_fragments'][_0x4d463e(0x2b4)](_0x3b6cc5)),this['dataMessage'](_0x5cf9d4);}[_0x4738b2(0x280)](_0x53346b,_0x55777d){const _0x585380=_0x4738b2;this[_0x585380(0x224)][_0x156140[_0x585380(0x128)]][_0x585380(0x280)](_0x53346b,this[_0x585380(0x1e4)],(_0x25b9d4,_0x4dd149)=>{const _0x147ba8=_0x585380;if(_0x25b9d4)return _0x55777d(_0x25b9d4);if(_0x4dd149[_0x147ba8(0x263)]){if(this['_messageLength']+=_0x4dd149[_0x147ba8(0x263)],this[_0x147ba8(0x225)]>this[_0x147ba8(0x1c4)]&&this[_0x147ba8(0x1c4)]>0x0){const _0x225ab3=this['createError'](RangeError,_0x147ba8(0x2e8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x55777d(_0x225ab3);return;}this[_0x147ba8(0x2d6)][_0x147ba8(0x2b4)](_0x4dd149);}this[_0x147ba8(0x242)](_0x55777d),this[_0x147ba8(0x281)]===_0xad44ba&&this[_0x147ba8(0x130)](_0x55777d);});}[_0x4738b2(0x242)](_0x44a29a){const _0x5206d2=_0x4738b2;if(!this['_fin']){this[_0x5206d2(0x281)]=_0xad44ba;return;}const _0xd4c30b=this[_0x5206d2(0x225)],_0x5a3b49=this['_fragments'];if(this[_0x5206d2(0x22b)]=0x0,this[_0x5206d2(0x225)]=0x0,this[_0x5206d2(0x2bb)]=0x0,this['_fragments']=[],this[_0x5206d2(0x2ce)]===0x2){let _0x5722aa;this[_0x5206d2(0x11e)]===_0x5206d2(0x2a9)?_0x5722aa=_0x4899d9(_0x5a3b49,_0xd4c30b):this[_0x5206d2(0x11e)]===_0x5206d2(0x1ba)?_0x5722aa=_0x351dae(_0x4899d9(_0x5a3b49,_0xd4c30b)):this['_binaryType']==='blob'?_0x5722aa=new Blob(_0x5a3b49):_0x5722aa=_0x5a3b49,this['_allowSynchronousEvents']?(this[_0x5206d2(0x2dd)](_0x5206d2(0x29c),_0x5722aa,!0x0),this['_state']=_0xad44ba):(this[_0x5206d2(0x281)]=_0x1fff25,setImmediate(()=>{const _0x49ea5a=_0x5206d2;this['emit'](_0x49ea5a(0x29c),_0x5722aa,!0x0),this[_0x49ea5a(0x281)]=_0xad44ba,this[_0x49ea5a(0x130)](_0x44a29a);}));}else{const _0x1bf31f=_0x4899d9(_0x5a3b49,_0xd4c30b);if(!this[_0x5206d2(0x2d1)]&&!_0x4e2af8(_0x1bf31f)){const _0x52c58a=this['createError'](Error,_0x5206d2(0x2c1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x44a29a(_0x52c58a);return;}this[_0x5206d2(0x281)]===_0x5a7c6f||this['_allowSynchronousEvents']?(this[_0x5206d2(0x2dd)](_0x5206d2(0x29c),_0x1bf31f,!0x1),this[_0x5206d2(0x281)]=_0xad44ba):(this['_state']=_0x1fff25,setImmediate(()=>{const _0x55f3dd=_0x5206d2;this[_0x55f3dd(0x2dd)](_0x55f3dd(0x29c),_0x1bf31f,!0x1),this[_0x55f3dd(0x281)]=_0xad44ba,this['startLoop'](_0x44a29a);}));}}[_0x4738b2(0x236)](_0xe8b54d,_0x4c5584){const _0xe71664=_0x4738b2;if(this['_opcode']===0x8){if(_0xe8b54d[_0xe71664(0x263)]===0x0)this[_0xe71664(0x1ea)]=!0x1,this['emit'](_0xe71664(0x1bc),0x3ed,_0x593fce),this[_0xe71664(0x29f)]();else{const _0x5d5bb5=_0xe8b54d[_0xe71664(0x26d)](0x0);if(!_0x286ad5(_0x5d5bb5)){const _0x157fbd=this[_0xe71664(0x14c)](RangeError,_0xe71664(0x29e)+_0x5d5bb5,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x4c5584(_0x157fbd);return;}const _0x35779b=new _0x280079(_0xe8b54d[_0xe71664(0x257)],_0xe8b54d[_0xe71664(0x19e)]+0x2,_0xe8b54d[_0xe71664(0x263)]-0x2);if(!this[_0xe71664(0x2d1)]&&!_0x4e2af8(_0x35779b)){const _0xa1341d=this[_0xe71664(0x14c)](Error,_0xe71664(0x2c1),!0x0,0x3ef,_0xe71664(0x147));_0x4c5584(_0xa1341d);return;}this[_0xe71664(0x1ea)]=!0x1,this[_0xe71664(0x2dd)](_0xe71664(0x1bc),_0x5d5bb5,_0x35779b),this['end']();}this[_0xe71664(0x281)]=_0xad44ba;return;}this[_0xe71664(0x1bb)]?(this[_0xe71664(0x2dd)](this[_0xe71664(0x2ce)]===0x9?'ping':_0xe71664(0x167),_0xe8b54d),this['_state']=_0xad44ba):(this['_state']=_0x1fff25,setImmediate(()=>{const _0x57e642=_0xe71664;this[_0x57e642(0x2dd)](this[_0x57e642(0x2ce)]===0x9?'ping':_0x57e642(0x167),_0xe8b54d),this['_state']=_0xad44ba,this[_0x57e642(0x130)](_0x4c5584);}));}[_0x4738b2(0x14c)](_0x5ea472,_0x5eaecd,_0x676a08,_0x3695a7,_0x24e11b){const _0x54f4bb=_0x4738b2;this[_0x54f4bb(0x1ea)]=!0x1,this[_0x54f4bb(0x1cb)]=!0x0;const _0x23d4eb=new _0x5ea472(_0x676a08?_0x54f4bb(0x282)+_0x5eaecd:_0x5eaecd);return Error[_0x54f4bb(0x1c8)](_0x23d4eb,this['createError']),_0x23d4eb[_0x54f4bb(0x247)]=_0x24e11b,_0x23d4eb[_0x191a27]=_0x3695a7,_0x23d4eb;}}return Se=_0x45c3c4,Se;}var Ee,Xe;function ft(){const _0x27047a=_0x45f320;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x201129}=oe,{randomFillSync:_0x111b43}=Le,_0x4c9df7=he(),{EMPTY_BUFFER:_0x4b2419,kWebSocket:_0x586be3,NOOP:_0x3dacb3}=H(),{isBlob:_0x39965b,isValidStatusCode:_0x4a0f3a}=ae(),{mask:_0x51246b,toBuffer:_0x1dd2a4}=ce(),_0x1fb07d=Symbol(_0x27047a(0x235)),_0x1a3a2e=Buffer[_0x27047a(0x1d7)](0x4),_0x284d19=0x8*0x400;let _0x582326,_0x1f08fc=_0x284d19;const _0x572562=0x0,_0x29c960=0x1,_0x4e7093=0x2;class _0x1592fb{constructor(_0x5b410f,_0x4af82b,_0x6d611d){const _0x414338=_0x27047a;this[_0x414338(0x224)]=_0x4af82b||{},_0x6d611d&&(this[_0x414338(0x21b)]=_0x6d611d,this[_0x414338(0x201)]=Buffer['alloc'](0x4)),this[_0x414338(0x1c1)]=_0x5b410f,this[_0x414338(0x14d)]=!0x0,this[_0x414338(0x17b)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x414338(0x281)]=_0x572562,this[_0x414338(0x1a6)]=_0x3dacb3,this[_0x586be3]=void 0x0;}static[_0x27047a(0x295)](_0x64b04b,_0x4782cd){const _0x5363af=_0x27047a;let _0x505f26,_0x92967c=!0x1,_0x5a6e76=0x2,_0x4d31be=!0x1;_0x4782cd['mask']&&(_0x505f26=_0x4782cd[_0x5363af(0x1d3)]||_0x1a3a2e,_0x4782cd[_0x5363af(0x202)]?_0x4782cd[_0x5363af(0x202)](_0x505f26):(_0x1f08fc===_0x284d19&&(_0x582326===void 0x0&&(_0x582326=Buffer[_0x5363af(0x1d7)](_0x284d19)),_0x111b43(_0x582326,0x0,_0x284d19),_0x1f08fc=0x0),_0x505f26[0x0]=_0x582326[_0x1f08fc++],_0x505f26[0x1]=_0x582326[_0x1f08fc++],_0x505f26[0x2]=_0x582326[_0x1f08fc++],_0x505f26[0x3]=_0x582326[_0x1f08fc++]),_0x4d31be=(_0x505f26[0x0]|_0x505f26[0x1]|_0x505f26[0x2]|_0x505f26[0x3])===0x0,_0x5a6e76=0x6);let _0x2d5a50;typeof _0x64b04b=='string'?(!_0x4782cd['mask']||_0x4d31be)&&_0x4782cd[_0x1fb07d]!==void 0x0?_0x2d5a50=_0x4782cd[_0x1fb07d]:(_0x64b04b=Buffer[_0x5363af(0x285)](_0x64b04b),_0x2d5a50=_0x64b04b[_0x5363af(0x263)]):(_0x2d5a50=_0x64b04b[_0x5363af(0x263)],_0x92967c=_0x4782cd[_0x5363af(0x140)]&&_0x4782cd[_0x5363af(0x204)]&&!_0x4d31be);let _0x3a485e=_0x2d5a50;_0x2d5a50>=0x10000?(_0x5a6e76+=0x8,_0x3a485e=0x7f):_0x2d5a50>0x7d&&(_0x5a6e76+=0x2,_0x3a485e=0x7e);const _0x399707=Buffer[_0x5363af(0x2e7)](_0x92967c?_0x2d5a50+_0x5a6e76:_0x5a6e76);return _0x399707[0x0]=_0x4782cd[_0x5363af(0x25f)]?_0x4782cd[_0x5363af(0x2e0)]|0x80:_0x4782cd[_0x5363af(0x2e0)],_0x4782cd['rsv1']&&(_0x399707[0x0]|=0x40),_0x399707[0x1]=_0x3a485e,_0x3a485e===0x7e?_0x399707['writeUInt16BE'](_0x2d5a50,0x2):_0x3a485e===0x7f&&(_0x399707[0x2]=_0x399707[0x3]=0x0,_0x399707[_0x5363af(0x124)](_0x2d5a50,0x4,0x6)),_0x4782cd[_0x5363af(0x140)]?(_0x399707[0x1]|=0x80,_0x399707[_0x5a6e76-0x4]=_0x505f26[0x0],_0x399707[_0x5a6e76-0x3]=_0x505f26[0x1],_0x399707[_0x5a6e76-0x2]=_0x505f26[0x2],_0x399707[_0x5a6e76-0x1]=_0x505f26[0x3],_0x4d31be?[_0x399707,_0x64b04b]:_0x92967c?(_0x51246b(_0x64b04b,_0x505f26,_0x399707,_0x5a6e76,_0x2d5a50),[_0x399707]):(_0x51246b(_0x64b04b,_0x505f26,_0x64b04b,0x0,_0x2d5a50),[_0x399707,_0x64b04b])):[_0x399707,_0x64b04b];}['close'](_0xaa4461,_0x523a6a,_0x26c956,_0x259fe9){const _0x19972c=_0x27047a;let _0x3a99ff;if(_0xaa4461===void 0x0)_0x3a99ff=_0x4b2419;else{if(typeof _0xaa4461!=_0x19972c(0x212)||!_0x4a0f3a(_0xaa4461))throw new TypeError(_0x19972c(0x1cc));if(_0x523a6a===void 0x0||!_0x523a6a[_0x19972c(0x263)])_0x3a99ff=Buffer['allocUnsafe'](0x2),_0x3a99ff['writeUInt16BE'](_0xaa4461,0x0);else{const _0x4bff72=Buffer['byteLength'](_0x523a6a);if(_0x4bff72>0x7b)throw new RangeError(_0x19972c(0x25e));_0x3a99ff=Buffer[_0x19972c(0x2e7)](0x2+_0x4bff72),_0x3a99ff[_0x19972c(0x277)](_0xaa4461,0x0),typeof _0x523a6a=='string'?_0x3a99ff[_0x19972c(0x1b9)](_0x523a6a,0x2):_0x3a99ff['set'](_0x523a6a,0x2);}}const _0x1078db={[_0x1fb07d]:_0x3a99ff[_0x19972c(0x263)],'fin':!0x0,'generateMask':this[_0x19972c(0x21b)],'mask':_0x26c956,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x572562?this[_0x19972c(0x21e)]([this[_0x19972c(0x22c)],_0x3a99ff,!0x1,_0x1078db,_0x259fe9]):this[_0x19972c(0x1e1)](_0x1592fb[_0x19972c(0x295)](_0x3a99ff,_0x1078db),_0x259fe9);}[_0x27047a(0x144)](_0x4aadac,_0x22b7fe,_0x1af16c){const _0x5552cb=_0x27047a;let _0x2615d5,_0x2f1931;if(typeof _0x4aadac=='string'?(_0x2615d5=Buffer['byteLength'](_0x4aadac),_0x2f1931=!0x1):_0x39965b(_0x4aadac)?(_0x2615d5=_0x4aadac[_0x5552cb(0x217)],_0x2f1931=!0x1):(_0x4aadac=_0x1dd2a4(_0x4aadac),_0x2615d5=_0x4aadac['length'],_0x2f1931=_0x1dd2a4[_0x5552cb(0x204)]),_0x2615d5>0x7d)throw new RangeError(_0x5552cb(0x221));const _0x2a3b73={[_0x1fb07d]:_0x2615d5,'fin':!0x0,'generateMask':this[_0x5552cb(0x21b)],'mask':_0x22b7fe,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2f1931,'rsv1':!0x1};_0x39965b(_0x4aadac)?this[_0x5552cb(0x281)]!==_0x572562?this[_0x5552cb(0x21e)]([this[_0x5552cb(0x237)],_0x4aadac,!0x1,_0x2a3b73,_0x1af16c]):this['getBlobData'](_0x4aadac,!0x1,_0x2a3b73,_0x1af16c):this['_state']!==_0x572562?this[_0x5552cb(0x21e)]([this[_0x5552cb(0x22c)],_0x4aadac,!0x1,_0x2a3b73,_0x1af16c]):this[_0x5552cb(0x1e1)](_0x1592fb[_0x5552cb(0x295)](_0x4aadac,_0x2a3b73),_0x1af16c);}['pong'](_0x588696,_0x537199,_0x51c96c){const _0x58c6f4=_0x27047a;let _0x286efe,_0x3c12cb;if(typeof _0x588696==_0x58c6f4(0x2bc)?(_0x286efe=Buffer['byteLength'](_0x588696),_0x3c12cb=!0x1):_0x39965b(_0x588696)?(_0x286efe=_0x588696[_0x58c6f4(0x217)],_0x3c12cb=!0x1):(_0x588696=_0x1dd2a4(_0x588696),_0x286efe=_0x588696[_0x58c6f4(0x263)],_0x3c12cb=_0x1dd2a4[_0x58c6f4(0x204)]),_0x286efe>0x7d)throw new RangeError(_0x58c6f4(0x221));const _0x29802d={[_0x1fb07d]:_0x286efe,'fin':!0x0,'generateMask':this[_0x58c6f4(0x21b)],'mask':_0x537199,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3c12cb,'rsv1':!0x1};_0x39965b(_0x588696)?this[_0x58c6f4(0x281)]!==_0x572562?this[_0x58c6f4(0x21e)]([this[_0x58c6f4(0x237)],_0x588696,!0x1,_0x29802d,_0x51c96c]):this[_0x58c6f4(0x237)](_0x588696,!0x1,_0x29802d,_0x51c96c):this[_0x58c6f4(0x281)]!==_0x572562?this[_0x58c6f4(0x21e)]([this[_0x58c6f4(0x22c)],_0x588696,!0x1,_0x29802d,_0x51c96c]):this[_0x58c6f4(0x1e1)](_0x1592fb[_0x58c6f4(0x295)](_0x588696,_0x29802d),_0x51c96c);}['send'](_0xf86463,_0x4e9f55,_0x1f98c1){const _0x34d3b8=_0x27047a,_0x19f824=this[_0x34d3b8(0x224)][_0x4c9df7[_0x34d3b8(0x128)]];let _0xd22e50=_0x4e9f55[_0x34d3b8(0x195)]?0x2:0x1,_0x1e27f7=_0x4e9f55['compress'],_0x12f3c9,_0x39a72a;typeof _0xf86463=='string'?(_0x12f3c9=Buffer[_0x34d3b8(0x2c2)](_0xf86463),_0x39a72a=!0x1):_0x39965b(_0xf86463)?(_0x12f3c9=_0xf86463[_0x34d3b8(0x217)],_0x39a72a=!0x1):(_0xf86463=_0x1dd2a4(_0xf86463),_0x12f3c9=_0xf86463[_0x34d3b8(0x263)],_0x39a72a=_0x1dd2a4[_0x34d3b8(0x204)]),this[_0x34d3b8(0x14d)]?(this['_firstFragment']=!0x1,_0x1e27f7&&_0x19f824&&_0x19f824[_0x34d3b8(0x28a)][_0x19f824['_isServer']?_0x34d3b8(0x26a):'client_no_context_takeover']&&(_0x1e27f7=_0x12f3c9>=_0x19f824[_0x34d3b8(0x29b)]),this['_compress']=_0x1e27f7):(_0x1e27f7=!0x1,_0xd22e50=0x0),_0x4e9f55[_0x34d3b8(0x25f)]&&(this[_0x34d3b8(0x14d)]=!0x0);const _0x43e96d={[_0x1fb07d]:_0x12f3c9,'fin':_0x4e9f55[_0x34d3b8(0x25f)],'generateMask':this['_generateMask'],'mask':_0x4e9f55[_0x34d3b8(0x140)],'maskBuffer':this['_maskBuffer'],'opcode':_0xd22e50,'readOnly':_0x39a72a,'rsv1':_0x1e27f7};_0x39965b(_0xf86463)?this[_0x34d3b8(0x281)]!==_0x572562?this['enqueue']([this['getBlobData'],_0xf86463,this[_0x34d3b8(0x17b)],_0x43e96d,_0x1f98c1]):this[_0x34d3b8(0x237)](_0xf86463,this[_0x34d3b8(0x17b)],_0x43e96d,_0x1f98c1):this[_0x34d3b8(0x281)]!==_0x572562?this['enqueue']([this['dispatch'],_0xf86463,this[_0x34d3b8(0x17b)],_0x43e96d,_0x1f98c1]):this[_0x34d3b8(0x22c)](_0xf86463,this['_compress'],_0x43e96d,_0x1f98c1);}[_0x27047a(0x237)](_0x3281db,_0x4d4f00,_0x584744,_0xcdf357){const _0x1c9ca5=_0x27047a;this[_0x1c9ca5(0x222)]+=_0x584744[_0x1fb07d],this[_0x1c9ca5(0x281)]=_0x4e7093,_0x3281db[_0x1c9ca5(0x1f8)]()['then'](_0x4d3c9b=>{const _0x4c49ca=_0x1c9ca5;if(this[_0x4c49ca(0x1c1)][_0x4c49ca(0x196)]){const _0x34b436=new Error(_0x4c49ca(0x2ca));process[_0x4c49ca(0x272)](_0xda8b59,this,_0x34b436,_0xcdf357);return;}this[_0x4c49ca(0x222)]-=_0x584744[_0x1fb07d];const _0x296dff=_0x1dd2a4(_0x4d3c9b);_0x4d4f00?this[_0x4c49ca(0x22c)](_0x296dff,_0x4d4f00,_0x584744,_0xcdf357):(this[_0x4c49ca(0x281)]=_0x572562,this['sendFrame'](_0x1592fb[_0x4c49ca(0x295)](_0x296dff,_0x584744),_0xcdf357),this['dequeue']());})[_0x1c9ca5(0x1be)](_0x4b5abf=>{const _0x36ff22=_0x1c9ca5;process[_0x36ff22(0x272)](_0x9703b7,this,_0x4b5abf,_0xcdf357);});}[_0x27047a(0x22c)](_0x34c18d,_0xa66b2a,_0xb1c39f,_0x5c0e8e){const _0x532711=_0x27047a;if(!_0xa66b2a){this['sendFrame'](_0x1592fb[_0x532711(0x295)](_0x34c18d,_0xb1c39f),_0x5c0e8e);return;}const _0x3461a7=this[_0x532711(0x224)][_0x4c9df7['extensionName']];this[_0x532711(0x222)]+=_0xb1c39f[_0x1fb07d],this['_state']=_0x29c960,_0x3461a7['compress'](_0x34c18d,_0xb1c39f[_0x532711(0x25f)],(_0x4e16a4,_0x37e17e)=>{const _0x3ecc3d=_0x532711;if(this['_socket'][_0x3ecc3d(0x196)]){const _0x2616b2=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xda8b59(this,_0x2616b2,_0x5c0e8e);return;}this['_bufferedBytes']-=_0xb1c39f[_0x1fb07d],this['_state']=_0x572562,_0xb1c39f[_0x3ecc3d(0x204)]=!0x1,this[_0x3ecc3d(0x1e1)](_0x1592fb['frame'](_0x37e17e,_0xb1c39f),_0x5c0e8e),this[_0x3ecc3d(0x2af)]();});}[_0x27047a(0x2af)](){const _0x222151=_0x27047a;for(;this[_0x222151(0x281)]===_0x572562&&this[_0x222151(0x13f)][_0x222151(0x263)];){const _0x1e8625=this[_0x222151(0x13f)][_0x222151(0x11a)]();this[_0x222151(0x222)]-=_0x1e8625[0x3][_0x1fb07d],Reflect[_0x222151(0x20e)](_0x1e8625[0x0],this,_0x1e8625['slice'](0x1));}}[_0x27047a(0x21e)](_0x57de8c){const _0x2d28c2=_0x27047a;this[_0x2d28c2(0x222)]+=_0x57de8c[0x3][_0x1fb07d],this['_queue'][_0x2d28c2(0x2b4)](_0x57de8c);}[_0x27047a(0x1e1)](_0x3f1467,_0x226f6f){const _0x8144c=_0x27047a;_0x3f1467[_0x8144c(0x263)]===0x2?(this[_0x8144c(0x1c1)]['cork'](),this[_0x8144c(0x1c1)]['write'](_0x3f1467[0x0]),this['_socket'][_0x8144c(0x1b9)](_0x3f1467[0x1],_0x226f6f),this[_0x8144c(0x1c1)][_0x8144c(0x2aa)]()):this[_0x8144c(0x1c1)][_0x8144c(0x1b9)](_0x3f1467[0x0],_0x226f6f);}}Ee=_0x1592fb;function _0xda8b59(_0xa08c6,_0x1c2cec,_0x2f4ea8){const _0x567603=_0x27047a;typeof _0x2f4ea8==_0x567603(0x23b)&&_0x2f4ea8(_0x1c2cec);for(let _0x56a669=0x0;_0x56a669<_0xa08c6[_0x567603(0x13f)][_0x567603(0x263)];_0x56a669++){const _0x330669=_0xa08c6[_0x567603(0x13f)][_0x56a669],_0x1a2d85=_0x330669[_0x330669[_0x567603(0x263)]-0x1];typeof _0x1a2d85==_0x567603(0x23b)&&_0x1a2d85(_0x1c2cec);}}function _0x9703b7(_0x2a4ce8,_0x477cba,_0xc56baf){const _0x34287f=_0x27047a;_0xda8b59(_0x2a4ce8,_0x477cba,_0xc56baf),_0x2a4ce8[_0x34287f(0x1a6)](_0x477cba);}return Ee;}var xe,Ze;function It(){const _0x36420a=_0x45f320;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x293953,kListener:_0x387d71}=H(),_0x2786f3=Symbol(_0x36420a(0x1fb)),_0x468666=Symbol(_0x36420a(0x2d9)),_0x3e4ad4=Symbol(_0x36420a(0x23f)),_0x91b493=Symbol(_0x36420a(0x228)),_0x327087=Symbol(_0x36420a(0x13b)),_0x2d403b=Symbol(_0x36420a(0x1f1)),_0x294e51=Symbol(_0x36420a(0x2ad)),_0x18f369=Symbol('kWasClean');class _0x29624d{constructor(_0x1c4c33){this[_0x2d403b]=null,this[_0x294e51]=_0x1c4c33;}get['target'](){return this[_0x2d403b];}get['type'](){return this[_0x294e51];}}Object[_0x36420a(0x23c)](_0x29624d[_0x36420a(0x170)],_0x36420a(0x292),{'enumerable':!0x0}),Object['defineProperty'](_0x29624d[_0x36420a(0x170)],_0x36420a(0x200),{'enumerable':!0x0});class _0x1c11fb extends _0x29624d{constructor(_0x1eb59a,_0x11249c={}){const _0x38770c=_0x36420a;super(_0x1eb59a),this[_0x2786f3]=_0x11249c[_0x38770c(0x247)]===void 0x0?0x0:_0x11249c[_0x38770c(0x247)],this[_0x327087]=_0x11249c[_0x38770c(0x174)]===void 0x0?'':_0x11249c[_0x38770c(0x174)],this[_0x18f369]=_0x11249c[_0x38770c(0x178)]===void 0x0?!0x1:_0x11249c['wasClean'];}get['code'](){return this[_0x2786f3];}get[_0x36420a(0x174)](){return this[_0x327087];}get['wasClean'](){return this[_0x18f369];}}Object[_0x36420a(0x23c)](_0x1c11fb[_0x36420a(0x170)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1c11fb['prototype'],_0x36420a(0x174),{'enumerable':!0x0}),Object[_0x36420a(0x23c)](_0x1c11fb['prototype'],_0x36420a(0x178),{'enumerable':!0x0});class _0x2a4fc0 extends _0x29624d{constructor(_0xc70306,_0x1d29c1={}){const _0x28fa91=_0x36420a;super(_0xc70306),this[_0x3e4ad4]=_0x1d29c1[_0x28fa91(0x172)]===void 0x0?null:_0x1d29c1[_0x28fa91(0x172)],this[_0x91b493]=_0x1d29c1[_0x28fa91(0x29c)]===void 0x0?'':_0x1d29c1[_0x28fa91(0x29c)];}get[_0x36420a(0x172)](){return this[_0x3e4ad4];}get[_0x36420a(0x29c)](){return this[_0x91b493];}}Object[_0x36420a(0x23c)](_0x2a4fc0['prototype'],_0x36420a(0x172),{'enumerable':!0x0}),Object[_0x36420a(0x23c)](_0x2a4fc0[_0x36420a(0x170)],_0x36420a(0x29c),{'enumerable':!0x0});class _0x53a843 extends _0x29624d{constructor(_0x43612a,_0xef7e4={}){const _0x562440=_0x36420a;super(_0x43612a),this[_0x468666]=_0xef7e4[_0x562440(0x25d)]===void 0x0?null:_0xef7e4['data'];}get['data'](){return this[_0x468666];}}Object['defineProperty'](_0x53a843[_0x36420a(0x170)],_0x36420a(0x25d),{'enumerable':!0x0}),xe={'CloseEvent':_0x1c11fb,'ErrorEvent':_0x2a4fc0,'Event':_0x29624d,'EventTarget':{'addEventListener'(_0x45f195,_0x483370,_0x2c3bd0={}){const _0x30c650=_0x36420a;for(const _0x4a7629 of this['listeners'](_0x45f195))if(!_0x2c3bd0[_0x293953]&&_0x4a7629[_0x387d71]===_0x483370&&!_0x4a7629[_0x293953])return;let _0x537cf3;if(_0x45f195===_0x30c650(0x29c))_0x537cf3=function(_0x4cd9c6,_0xc51f59){const _0x336c0=_0x30c650,_0x4e6536=new _0x53a843(_0x336c0(0x29c),{'data':_0xc51f59?_0x4cd9c6:_0x4cd9c6['toString']()});_0x4e6536[_0x2d403b]=this,_0x140a40(_0x483370,this,_0x4e6536);};else{if(_0x45f195==='close')_0x537cf3=function(_0xc0b1e0,_0x5c4e13){const _0x14b5da=_0x30c650,_0x47f62f=new _0x1c11fb(_0x14b5da(0x245),{'code':_0xc0b1e0,'reason':_0x5c4e13[_0x14b5da(0x184)](),'wasClean':this[_0x14b5da(0x142)]&&this['_closeFrameSent']});_0x47f62f[_0x2d403b]=this,_0x140a40(_0x483370,this,_0x47f62f);};else{if(_0x45f195===_0x30c650(0x172))_0x537cf3=function(_0x23f38e){const _0x4d0bf7=_0x30c650,_0x35844b=new _0x2a4fc0(_0x4d0bf7(0x172),{'error':_0x23f38e,'message':_0x23f38e[_0x4d0bf7(0x29c)]});_0x35844b[_0x2d403b]=this,_0x140a40(_0x483370,this,_0x35844b);};else{if(_0x45f195===_0x30c650(0x2a3))_0x537cf3=function(){const _0x37f0e1=new _0x29624d('open');_0x37f0e1[_0x2d403b]=this,_0x140a40(_0x483370,this,_0x37f0e1);};else return;}}}_0x537cf3[_0x293953]=!!_0x2c3bd0[_0x293953],_0x537cf3[_0x387d71]=_0x483370,_0x2c3bd0['once']?this[_0x30c650(0x21d)](_0x45f195,_0x537cf3):this['on'](_0x45f195,_0x537cf3);},'removeEventListener'(_0x5b3764,_0x2abc56){const _0x104d4b=_0x36420a;for(const _0x412dd2 of this[_0x104d4b(0x2b1)](_0x5b3764))if(_0x412dd2[_0x387d71]===_0x2abc56&&!_0x412dd2[_0x293953]){this[_0x104d4b(0x18d)](_0x5b3764,_0x412dd2);break;}}},'MessageEvent':_0x53a843};function _0x140a40(_0x16e767,_0x19cc5a,_0x5222b4){const _0x15b009=_0x36420a;typeof _0x16e767=='object'&&_0x16e767['handleEvent']?_0x16e767['handleEvent'][_0x15b009(0x165)](_0x16e767,_0x5222b4):_0x16e767[_0x15b009(0x165)](_0x19cc5a,_0x5222b4);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x46c5b2}=ae();function _0x4c6084(_0xe0a66a,_0x50f470,_0xcb9530){const _0x20f8d7=_0x49f3;_0xe0a66a[_0x50f470]===void 0x0?_0xe0a66a[_0x50f470]=[_0xcb9530]:_0xe0a66a[_0x50f470][_0x20f8d7(0x2b4)](_0xcb9530);}function _0x36dc8d(_0x203d8e){const _0x4dc120=_0x49f3,_0x47424a=Object[_0x4dc120(0x230)](null);let _0x7a8a37=Object['create'](null),_0x43f2ef=!0x1,_0x26e20f=!0x1,_0x257118=!0x1,_0x326f6c,_0x129bd0,_0xb1c88a=-0x1,_0x23de3c=-0x1,_0x72fbcc=-0x1,_0x2f1ef1=0x0;for(;_0x2f1ef1<_0x203d8e[_0x4dc120(0x263)];_0x2f1ef1++)if(_0x23de3c=_0x203d8e['charCodeAt'](_0x2f1ef1),_0x326f6c===void 0x0){if(_0x72fbcc===-0x1&&_0x46c5b2[_0x23de3c]===0x1)_0xb1c88a===-0x1&&(_0xb1c88a=_0x2f1ef1);else{if(_0x2f1ef1!==0x0&&(_0x23de3c===0x20||_0x23de3c===0x9))_0x72fbcc===-0x1&&_0xb1c88a!==-0x1&&(_0x72fbcc=_0x2f1ef1);else{if(_0x23de3c===0x3b||_0x23de3c===0x2c){if(_0xb1c88a===-0x1)throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);_0x72fbcc===-0x1&&(_0x72fbcc=_0x2f1ef1);const _0x2a4ea8=_0x203d8e['slice'](_0xb1c88a,_0x72fbcc);_0x23de3c===0x2c?(_0x4c6084(_0x47424a,_0x2a4ea8,_0x7a8a37),_0x7a8a37=Object[_0x4dc120(0x230)](null)):_0x326f6c=_0x2a4ea8,_0xb1c88a=_0x72fbcc=-0x1;}else throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);}}}else{if(_0x129bd0===void 0x0){if(_0x72fbcc===-0x1&&_0x46c5b2[_0x23de3c]===0x1)_0xb1c88a===-0x1&&(_0xb1c88a=_0x2f1ef1);else{if(_0x23de3c===0x20||_0x23de3c===0x9)_0x72fbcc===-0x1&&_0xb1c88a!==-0x1&&(_0x72fbcc=_0x2f1ef1);else{if(_0x23de3c===0x3b||_0x23de3c===0x2c){if(_0xb1c88a===-0x1)throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);_0x72fbcc===-0x1&&(_0x72fbcc=_0x2f1ef1),_0x4c6084(_0x7a8a37,_0x203d8e['slice'](_0xb1c88a,_0x72fbcc),!0x0),_0x23de3c===0x2c&&(_0x4c6084(_0x47424a,_0x326f6c,_0x7a8a37),_0x7a8a37=Object[_0x4dc120(0x230)](null),_0x326f6c=void 0x0),_0xb1c88a=_0x72fbcc=-0x1;}else{if(_0x23de3c===0x3d&&_0xb1c88a!==-0x1&&_0x72fbcc===-0x1)_0x129bd0=_0x203d8e[_0x4dc120(0x139)](_0xb1c88a,_0x2f1ef1),_0xb1c88a=_0x72fbcc=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f1ef1);}}}}else{if(_0x26e20f){if(_0x46c5b2[_0x23de3c]!==0x1)throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);_0xb1c88a===-0x1?_0xb1c88a=_0x2f1ef1:_0x43f2ef||(_0x43f2ef=!0x0),_0x26e20f=!0x1;}else{if(_0x257118){if(_0x46c5b2[_0x23de3c]===0x1)_0xb1c88a===-0x1&&(_0xb1c88a=_0x2f1ef1);else{if(_0x23de3c===0x22&&_0xb1c88a!==-0x1)_0x257118=!0x1,_0x72fbcc=_0x2f1ef1;else{if(_0x23de3c===0x5c)_0x26e20f=!0x0;else throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);}}}else{if(_0x23de3c===0x22&&_0x203d8e[_0x4dc120(0x20c)](_0x2f1ef1-0x1)===0x3d)_0x257118=!0x0;else{if(_0x72fbcc===-0x1&&_0x46c5b2[_0x23de3c]===0x1)_0xb1c88a===-0x1&&(_0xb1c88a=_0x2f1ef1);else{if(_0xb1c88a!==-0x1&&(_0x23de3c===0x20||_0x23de3c===0x9))_0x72fbcc===-0x1&&(_0x72fbcc=_0x2f1ef1);else{if(_0x23de3c===0x3b||_0x23de3c===0x2c){if(_0xb1c88a===-0x1)throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);_0x72fbcc===-0x1&&(_0x72fbcc=_0x2f1ef1);let _0x2f1eed=_0x203d8e[_0x4dc120(0x139)](_0xb1c88a,_0x72fbcc);_0x43f2ef&&(_0x2f1eed=_0x2f1eed[_0x4dc120(0x20d)](/\\/g,''),_0x43f2ef=!0x1),_0x4c6084(_0x7a8a37,_0x129bd0,_0x2f1eed),_0x23de3c===0x2c&&(_0x4c6084(_0x47424a,_0x326f6c,_0x7a8a37),_0x7a8a37=Object[_0x4dc120(0x230)](null),_0x326f6c=void 0x0),_0x129bd0=void 0x0,_0xb1c88a=_0x72fbcc=-0x1;}else throw new SyntaxError(_0x4dc120(0x1e3)+_0x2f1ef1);}}}}}}}if(_0xb1c88a===-0x1||_0x257118||_0x23de3c===0x20||_0x23de3c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x72fbcc===-0x1&&(_0x72fbcc=_0x2f1ef1);const _0x241c7c=_0x203d8e[_0x4dc120(0x139)](_0xb1c88a,_0x72fbcc);return _0x326f6c===void 0x0?_0x4c6084(_0x47424a,_0x241c7c,_0x7a8a37):(_0x129bd0===void 0x0?_0x4c6084(_0x7a8a37,_0x241c7c,!0x0):_0x43f2ef?_0x4c6084(_0x7a8a37,_0x129bd0,_0x241c7c[_0x4dc120(0x20d)](/\\/g,'')):_0x4c6084(_0x7a8a37,_0x129bd0,_0x241c7c),_0x4c6084(_0x47424a,_0x326f6c,_0x7a8a37)),_0x47424a;}function _0x5d0bc3(_0x2b3f34){const _0x56bf8a=_0x49f3;return Object[_0x56bf8a(0x2d2)](_0x2b3f34)[_0x56bf8a(0x1c2)](_0x705911=>{const _0x1a1a28=_0x56bf8a;let _0x1d3b5f=_0x2b3f34[_0x705911];return Array[_0x1a1a28(0x27c)](_0x1d3b5f)||(_0x1d3b5f=[_0x1d3b5f]),_0x1d3b5f[_0x1a1a28(0x1c2)](_0x190588=>[_0x705911]['concat'](Object[_0x1a1a28(0x2d2)](_0x190588)[_0x1a1a28(0x1c2)](_0xb0582d=>{const _0x507e0c=_0x1a1a28;let _0x5e4088=_0x190588[_0xb0582d];return Array['isArray'](_0x5e4088)||(_0x5e4088=[_0x5e4088]),_0x5e4088[_0x507e0c(0x1c2)](_0x3097a2=>_0x3097a2===!0x0?_0xb0582d:_0xb0582d+'='+_0x3097a2)[_0x507e0c(0x1d1)](';\x20');}))[_0x1a1a28(0x1d1)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x5d0bc3,'parse':_0x36dc8d},be;}var we,Je;function Pe(){const _0x119c52=_0x45f320;if(Je)return we;Je=0x1;const _0x3f1e37=nt,_0x5c6486=vt,_0x313fcc=ot,_0x1268ac=St,_0xf3153b=Et,{randomBytes:_0x55a16e,createHash:_0x299443}=Le,{Duplex:_0x6d255c,Readable:_0x269a5f}=oe,{URL:_0x4fcb9f}=xt,_0x389ab5=he(),_0x2ae04e=lt(),_0x4b1532=ft(),{isBlob:_0xfe1113}=ae(),{BINARY_TYPES:_0x197182,EMPTY_BUFFER:_0x165452,GUID:_0x45dedf,kForOnEventAttribute:_0x21a7f9,kListener:_0x39d077,kStatusCode:_0x2f8e2f,kWebSocket:_0x1847c5,NOOP:_0xdcd3ea}=H(),{EventTarget:{addEventListener:_0x1e45a8,removeEventListener:_0x177cf5}}=It(),{format:_0x59caca,parse:_0x262a7b}=ct(),{toBuffer:_0x2a22ea}=ce(),_0x49fd72=0x1e*0x3e8,_0x57959b=Symbol(_0x119c52(0x288)),_0x1b28c7=[0x8,0xd],_0x5f1ef3=['CONNECTING',_0x119c52(0x24e),_0x119c52(0x20a),_0x119c52(0x256)],_0x160050=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2fbde1 extends _0x3f1e37{constructor(_0x2e6af4,_0x468927,_0x469be3){const _0x16cc9a=_0x119c52;super(),this['_binaryType']=_0x197182[0x0],this[_0x16cc9a(0x24b)]=0x3ee,this[_0x16cc9a(0x142)]=!0x1,this[_0x16cc9a(0x1b6)]=!0x1,this[_0x16cc9a(0x28d)]=_0x165452,this['_closeTimer']=null,this[_0x16cc9a(0x2e1)]=!0x1,this[_0x16cc9a(0x224)]={},this[_0x16cc9a(0x1ce)]=!0x1,this[_0x16cc9a(0x259)]='',this[_0x16cc9a(0x25c)]=_0x2fbde1['CONNECTING'],this[_0x16cc9a(0x14b)]=null,this[_0x16cc9a(0x1b7)]=null,this[_0x16cc9a(0x1c1)]=null,_0x2e6af4!==null?(this[_0x16cc9a(0x127)]=0x0,this[_0x16cc9a(0x2c8)]=!0x1,this[_0x16cc9a(0x2bd)]=0x0,_0x468927===void 0x0?_0x468927=[]:Array[_0x16cc9a(0x27c)](_0x468927)||(typeof _0x468927==_0x16cc9a(0x15e)&&_0x468927!==null?(_0x469be3=_0x468927,_0x468927=[]):_0x468927=[_0x468927]),_0x49aae9(this,_0x2e6af4,_0x468927,_0x469be3)):(this[_0x16cc9a(0x1d6)]=_0x469be3[_0x16cc9a(0x19c)],this[_0x16cc9a(0x2c8)]=!0x0);}get[_0x119c52(0x289)](){const _0x3fbd26=_0x119c52;return this[_0x3fbd26(0x11e)];}set['binaryType'](_0x411c97){const _0x140570=_0x119c52;_0x197182[_0x140570(0x1f9)](_0x411c97)&&(this['_binaryType']=_0x411c97,this[_0x140570(0x14b)]&&(this[_0x140570(0x14b)][_0x140570(0x11e)]=_0x411c97));}get['bufferedAmount'](){const _0x50eaf4=_0x119c52;return this[_0x50eaf4(0x1c1)]?this[_0x50eaf4(0x1c1)]['_writableState'][_0x50eaf4(0x263)]+this[_0x50eaf4(0x1b7)][_0x50eaf4(0x222)]:this[_0x50eaf4(0x127)];}get['extensions'](){const _0x50eaec=_0x119c52;return Object[_0x50eaec(0x2d2)](this[_0x50eaec(0x224)])[_0x50eaec(0x1d1)]();}get[_0x119c52(0x1fe)](){return this['_paused'];}get[_0x119c52(0x20f)](){return null;}get[_0x119c52(0x1a6)](){return null;}get[_0x119c52(0x1d8)](){return null;}get['onmessage'](){return null;}get[_0x119c52(0x1cd)](){return this['_protocol'];}get[_0x119c52(0x27b)](){const _0x300e51=_0x119c52;return this[_0x300e51(0x25c)];}get['url'](){const _0x5196c2=_0x119c52;return this[_0x5196c2(0x160)];}[_0x119c52(0x1f0)](_0x52b96d,_0x3bbe47,_0x2be075){const _0x26cb61=_0x119c52,_0xa299f6=new _0x2ae04e({'allowSynchronousEvents':_0x2be075[_0x26cb61(0x1aa)],'binaryType':this['binaryType'],'extensions':this[_0x26cb61(0x224)],'isServer':this['_isServer'],'maxPayload':_0x2be075['maxPayload'],'skipUTF8Validation':_0x2be075['skipUTF8Validation']}),_0x4b52eb=new _0x4b1532(_0x52b96d,this['_extensions'],_0x2be075['generateMask']);this[_0x26cb61(0x14b)]=_0xa299f6,this['_sender']=_0x4b52eb,this[_0x26cb61(0x1c1)]=_0x52b96d,_0xa299f6[_0x1847c5]=this,_0x4b52eb[_0x1847c5]=this,_0x52b96d[_0x1847c5]=this,_0xa299f6['on'](_0x26cb61(0x1bc),_0x3dcab1),_0xa299f6['on'](_0x26cb61(0x1f5),_0x2113ec),_0xa299f6['on'](_0x26cb61(0x172),_0x167b15),_0xa299f6['on'](_0x26cb61(0x29c),_0x1bdd74),_0xa299f6['on']('ping',_0x351914),_0xa299f6['on']('pong',_0x5ae738),_0x4b52eb['onerror']=_0x222d26,_0x52b96d[_0x26cb61(0x296)]&&_0x52b96d['setTimeout'](0x0),_0x52b96d[_0x26cb61(0x243)]&&_0x52b96d[_0x26cb61(0x243)](),_0x3bbe47['length']>0x0&&_0x52b96d[_0x26cb61(0x299)](_0x3bbe47),_0x52b96d['on'](_0x26cb61(0x245),_0x273730),_0x52b96d['on'](_0x26cb61(0x25d),_0x31adac),_0x52b96d['on'](_0x26cb61(0x29f),_0x58a4a2),_0x52b96d['on'](_0x26cb61(0x172),_0x3e50e3),this[_0x26cb61(0x25c)]=_0x2fbde1[_0x26cb61(0x24e)],this[_0x26cb61(0x2dd)](_0x26cb61(0x2a3));}[_0x119c52(0x179)](){const _0x4a2967=_0x119c52;if(!this[_0x4a2967(0x1c1)]){this[_0x4a2967(0x25c)]=_0x2fbde1[_0x4a2967(0x256)],this[_0x4a2967(0x2dd)]('close',this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x389ab5[_0x4a2967(0x128)]]&&this[_0x4a2967(0x224)][_0x389ab5[_0x4a2967(0x128)]][_0x4a2967(0x250)](),this[_0x4a2967(0x14b)][_0x4a2967(0x16e)](),this[_0x4a2967(0x25c)]=_0x2fbde1['CLOSED'],this['emit'](_0x4a2967(0x245),this[_0x4a2967(0x24b)],this['_closeMessage']);}[_0x119c52(0x245)](_0x1c36c8,_0x4d4b9b){const _0x37c6ce=_0x119c52;if(this['readyState']!==_0x2fbde1[_0x37c6ce(0x256)]){if(this[_0x37c6ce(0x27b)]===_0x2fbde1['CONNECTING']){_0x4e8be9(this,this[_0x37c6ce(0x239)],_0x37c6ce(0x12f));return;}if(this[_0x37c6ce(0x27b)]===_0x2fbde1['CLOSING']){this[_0x37c6ce(0x1b6)]&&(this['_closeFrameReceived']||this[_0x37c6ce(0x14b)]['_writableState'][_0x37c6ce(0x1a4)])&&this['_socket'][_0x37c6ce(0x29f)]();return;}this[_0x37c6ce(0x25c)]=_0x2fbde1[_0x37c6ce(0x20a)],this['_sender']['close'](_0x1c36c8,_0x4d4b9b,!this[_0x37c6ce(0x2c8)],_0x3f2300=>{const _0x324bc1=_0x37c6ce;_0x3f2300||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x324bc1(0x14b)]['_writableState']['errorEmitted'])&&this['_socket'][_0x324bc1(0x29f)]());}),_0x2b5805(this);}}[_0x119c52(0x1b3)](){const _0x316b5c=_0x119c52;this[_0x316b5c(0x27b)]===_0x2fbde1[_0x316b5c(0x159)]||this['readyState']===_0x2fbde1[_0x316b5c(0x256)]||(this[_0x316b5c(0x1ce)]=!0x0,this['_socket']['pause']());}['ping'](_0x449be5,_0x3aeb12,_0x5312ed){const _0x2489be=_0x119c52;if(this[_0x2489be(0x27b)]===_0x2fbde1[_0x2489be(0x159)])throw new Error(_0x2489be(0x29d));if(typeof _0x449be5=='function'?(_0x5312ed=_0x449be5,_0x449be5=_0x3aeb12=void 0x0):typeof _0x3aeb12==_0x2489be(0x23b)&&(_0x5312ed=_0x3aeb12,_0x3aeb12=void 0x0),typeof _0x449be5==_0x2489be(0x212)&&(_0x449be5=_0x449be5[_0x2489be(0x184)]()),this[_0x2489be(0x27b)]!==_0x2fbde1[_0x2489be(0x24e)]){_0x4f5361(this,_0x449be5,_0x5312ed);return;}_0x3aeb12===void 0x0&&(_0x3aeb12=!this[_0x2489be(0x2c8)]),this[_0x2489be(0x1b7)][_0x2489be(0x144)](_0x449be5||_0x165452,_0x3aeb12,_0x5312ed);}[_0x119c52(0x167)](_0x4543cc,_0x4e0d53,_0x10db4e){const _0x18598b=_0x119c52;if(this[_0x18598b(0x27b)]===_0x2fbde1[_0x18598b(0x159)])throw new Error(_0x18598b(0x29d));if(typeof _0x4543cc==_0x18598b(0x23b)?(_0x10db4e=_0x4543cc,_0x4543cc=_0x4e0d53=void 0x0):typeof _0x4e0d53==_0x18598b(0x23b)&&(_0x10db4e=_0x4e0d53,_0x4e0d53=void 0x0),typeof _0x4543cc==_0x18598b(0x212)&&(_0x4543cc=_0x4543cc[_0x18598b(0x184)]()),this['readyState']!==_0x2fbde1[_0x18598b(0x24e)]){_0x4f5361(this,_0x4543cc,_0x10db4e);return;}_0x4e0d53===void 0x0&&(_0x4e0d53=!this[_0x18598b(0x2c8)]),this[_0x18598b(0x1b7)][_0x18598b(0x167)](_0x4543cc||_0x165452,_0x4e0d53,_0x10db4e);}['resume'](){const _0x485045=_0x119c52;this[_0x485045(0x27b)]===_0x2fbde1[_0x485045(0x159)]||this[_0x485045(0x27b)]===_0x2fbde1[_0x485045(0x256)]||(this['_paused']=!0x1,this[_0x485045(0x14b)][_0x485045(0x1df)]['needDrain']||this[_0x485045(0x1c1)][_0x485045(0x1e5)]());}['send'](_0x17b463,_0x30f85d,_0x28a3f0){const _0x18465b=_0x119c52;if(this[_0x18465b(0x27b)]===_0x2fbde1['CONNECTING'])throw new Error(_0x18465b(0x29d));if(typeof _0x30f85d==_0x18465b(0x23b)&&(_0x28a3f0=_0x30f85d,_0x30f85d={}),typeof _0x17b463=='number'&&(_0x17b463=_0x17b463[_0x18465b(0x184)]()),this[_0x18465b(0x27b)]!==_0x2fbde1[_0x18465b(0x24e)]){_0x4f5361(this,_0x17b463,_0x28a3f0);return;}const _0x2c8fca={'binary':typeof _0x17b463!=_0x18465b(0x2bc),'mask':!this[_0x18465b(0x2c8)],'compress':!0x0,'fin':!0x0,..._0x30f85d};this[_0x18465b(0x224)][_0x389ab5['extensionName']]||(_0x2c8fca[_0x18465b(0x26e)]=!0x1),this[_0x18465b(0x1b7)][_0x18465b(0x158)](_0x17b463||_0x165452,_0x2c8fca,_0x28a3f0);}['terminate'](){const _0x52649c=_0x119c52;if(this[_0x52649c(0x27b)]!==_0x2fbde1['CLOSED']){if(this[_0x52649c(0x27b)]===_0x2fbde1['CONNECTING']){_0x4e8be9(this,this[_0x52649c(0x239)],_0x52649c(0x12f));return;}this[_0x52649c(0x1c1)]&&(this[_0x52649c(0x25c)]=_0x2fbde1['CLOSING'],this[_0x52649c(0x1c1)][_0x52649c(0x27f)]());}}}Object[_0x119c52(0x23c)](_0x2fbde1,_0x119c52(0x159),{'enumerable':!0x0,'value':_0x5f1ef3[_0x119c52(0x1b4)](_0x119c52(0x159))}),Object[_0x119c52(0x23c)](_0x2fbde1[_0x119c52(0x170)],'CONNECTING',{'enumerable':!0x0,'value':_0x5f1ef3[_0x119c52(0x1b4)](_0x119c52(0x159))}),Object[_0x119c52(0x23c)](_0x2fbde1,_0x119c52(0x24e),{'enumerable':!0x0,'value':_0x5f1ef3[_0x119c52(0x1b4)](_0x119c52(0x24e))}),Object[_0x119c52(0x23c)](_0x2fbde1[_0x119c52(0x170)],_0x119c52(0x24e),{'enumerable':!0x0,'value':_0x5f1ef3['indexOf'](_0x119c52(0x24e))}),Object['defineProperty'](_0x2fbde1,_0x119c52(0x20a),{'enumerable':!0x0,'value':_0x5f1ef3[_0x119c52(0x1b4)](_0x119c52(0x20a))}),Object[_0x119c52(0x23c)](_0x2fbde1[_0x119c52(0x170)],'CLOSING',{'enumerable':!0x0,'value':_0x5f1ef3['indexOf'](_0x119c52(0x20a))}),Object['defineProperty'](_0x2fbde1,'CLOSED',{'enumerable':!0x0,'value':_0x5f1ef3['indexOf'](_0x119c52(0x256))}),Object[_0x119c52(0x23c)](_0x2fbde1[_0x119c52(0x170)],_0x119c52(0x256),{'enumerable':!0x0,'value':_0x5f1ef3[_0x119c52(0x1b4)](_0x119c52(0x256))}),[_0x119c52(0x289),_0x119c52(0x163),'extensions',_0x119c52(0x1fe),_0x119c52(0x1cd),_0x119c52(0x27b),_0x119c52(0x129)][_0x119c52(0x11f)](_0x1922c7=>{const _0x14035d=_0x119c52;Object[_0x14035d(0x23c)](_0x2fbde1['prototype'],_0x1922c7,{'enumerable':!0x0});}),[_0x119c52(0x2a3),_0x119c52(0x172),'close',_0x119c52(0x29c)]['forEach'](_0x1258d2=>{const _0x1aa16e=_0x119c52;Object[_0x1aa16e(0x23c)](_0x2fbde1[_0x1aa16e(0x170)],'on'+_0x1258d2,{'enumerable':!0x0,'get'(){for(const _0x4ecfe8 of this['listeners'](_0x1258d2))if(_0x4ecfe8[_0x21a7f9])return _0x4ecfe8[_0x39d077];return null;},'set'(_0x1643c2){const _0x9e6822=_0x1aa16e;for(const _0x19a6ad of this[_0x9e6822(0x2b1)](_0x1258d2))if(_0x19a6ad[_0x21a7f9]){this[_0x9e6822(0x18d)](_0x1258d2,_0x19a6ad);break;}typeof _0x1643c2==_0x9e6822(0x23b)&&this['addEventListener'](_0x1258d2,_0x1643c2,{[_0x21a7f9]:!0x0});}});}),_0x2fbde1[_0x119c52(0x170)][_0x119c52(0x2e3)]=_0x1e45a8,_0x2fbde1['prototype']['removeEventListener']=_0x177cf5,we=_0x2fbde1;function _0x49aae9(_0x4f5d00,_0x48c3d6,_0x3fb9ba,_0x19314b){const _0x2713db=_0x119c52,_0x5aae1b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b28c7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x19314b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2713db(0x1c9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4f5d00['_autoPong']=_0x5aae1b[_0x2713db(0x19c)],!_0x1b28c7[_0x2713db(0x1f9)](_0x5aae1b[_0x2713db(0x12d)]))throw new RangeError(_0x2713db(0x1a8)+_0x5aae1b[_0x2713db(0x12d)]+'\x20(supported\x20versions:\x20'+_0x1b28c7['join'](',\x20')+')');let _0xe77dfb;if(_0x48c3d6 instanceof _0x4fcb9f)_0xe77dfb=_0x48c3d6;else try{_0xe77dfb=new _0x4fcb9f(_0x48c3d6);}catch{throw new SyntaxError(_0x2713db(0x191)+_0x48c3d6);}_0xe77dfb[_0x2713db(0x1cd)]==='http:'?_0xe77dfb[_0x2713db(0x1cd)]=_0x2713db(0x2b8):_0xe77dfb[_0x2713db(0x1cd)]==='https:'&&(_0xe77dfb[_0x2713db(0x1cd)]=_0x2713db(0x20b)),_0x4f5d00[_0x2713db(0x160)]=_0xe77dfb[_0x2713db(0x166)];const _0x3171f1=_0xe77dfb['protocol']===_0x2713db(0x20b),_0x1c51ab=_0xe77dfb[_0x2713db(0x1cd)]===_0x2713db(0x136);let _0x33e614;if(_0xe77dfb['protocol']!==_0x2713db(0x2b8)&&!_0x3171f1&&!_0x1c51ab?_0x33e614='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':_0x1c51ab&&!_0xe77dfb[_0x2713db(0x120)]?_0x33e614='The\x20URL\x27s\x20pathname\x20is\x20empty':_0xe77dfb[_0x2713db(0x2a8)]&&(_0x33e614=_0x2713db(0x238)),_0x33e614){const _0x129c18=new SyntaxError(_0x33e614);if(_0x4f5d00[_0x2713db(0x2bd)]===0x0)throw _0x129c18;_0x2edc33(_0x4f5d00,_0x129c18);return;}const _0x303365=_0x3171f1?0x1bb:0x50,_0x195124=_0x55a16e(0x10)[_0x2713db(0x184)](_0x2713db(0x15a)),_0x564e90=_0x3171f1?_0x5c6486[_0x2713db(0x1c6)]:_0x313fcc[_0x2713db(0x1c6)],_0x127c8a=new Set();let _0x388b8f;if(_0x5aae1b[_0x2713db(0x153)]=_0x5aae1b['createConnection']||(_0x3171f1?_0x474ab1:_0x468de8),_0x5aae1b[_0x2713db(0x1fa)]=_0x5aae1b['defaultPort']||_0x303365,_0x5aae1b['port']=_0xe77dfb[_0x2713db(0x26b)]||_0x303365,_0x5aae1b[_0x2713db(0x11c)]=_0xe77dfb[_0x2713db(0x2dc)][_0x2713db(0x275)]('[')?_0xe77dfb['hostname'][_0x2713db(0x139)](0x1,-0x1):_0xe77dfb['hostname'],_0x5aae1b[_0x2713db(0x1ee)]={..._0x5aae1b[_0x2713db(0x1ee)],'Sec-WebSocket-Version':_0x5aae1b[_0x2713db(0x12d)],'Sec-WebSocket-Key':_0x195124,'Connection':_0x2713db(0x2a6),'Upgrade':_0x2713db(0x125)},_0x5aae1b[_0x2713db(0x227)]=_0xe77dfb['pathname']+_0xe77dfb[_0x2713db(0x261)],_0x5aae1b[_0x2713db(0x2b7)]=_0x5aae1b[_0x2713db(0x1ca)],_0x5aae1b['perMessageDeflate']&&(_0x388b8f=new _0x389ab5(_0x5aae1b[_0x2713db(0x203)]!==!0x0?_0x5aae1b[_0x2713db(0x203)]:{},!0x1,_0x5aae1b['maxPayload']),_0x5aae1b[_0x2713db(0x1ee)]['Sec-WebSocket-Extensions']=_0x59caca({[_0x389ab5['extensionName']]:_0x388b8f[_0x2713db(0x2c9)]()})),_0x3fb9ba[_0x2713db(0x263)]){for(const _0x3fc4f4 of _0x3fb9ba){if(typeof _0x3fc4f4!=_0x2713db(0x2bc)||!_0x160050[_0x2713db(0x298)](_0x3fc4f4)||_0x127c8a['has'](_0x3fc4f4))throw new SyntaxError(_0x2713db(0x264));_0x127c8a[_0x2713db(0x1c0)](_0x3fc4f4);}_0x5aae1b[_0x2713db(0x1ee)]['Sec-WebSocket-Protocol']=_0x3fb9ba['join'](',');}if(_0x5aae1b[_0x2713db(0x21f)]&&(_0x5aae1b[_0x2713db(0x12d)]<0xd?_0x5aae1b[_0x2713db(0x1ee)][_0x2713db(0x27d)]=_0x5aae1b[_0x2713db(0x21f)]:_0x5aae1b['headers'][_0x2713db(0x13e)]=_0x5aae1b[_0x2713db(0x21f)]),(_0xe77dfb[_0x2713db(0x151)]||_0xe77dfb['password'])&&(_0x5aae1b[_0x2713db(0x137)]=_0xe77dfb['username']+':'+_0xe77dfb[_0x2713db(0x1d9)]),_0x1c51ab){const _0x7806ed=_0x5aae1b[_0x2713db(0x227)][_0x2713db(0x15b)](':');_0x5aae1b[_0x2713db(0x1bf)]=_0x7806ed[0x0],_0x5aae1b['path']=_0x7806ed[0x1];}let _0x170bb4;if(_0x5aae1b[_0x2713db(0x26c)]){if(_0x4f5d00['_redirects']===0x0){_0x4f5d00[_0x2713db(0x1c5)]=_0x1c51ab,_0x4f5d00['_originalSecure']=_0x3171f1,_0x4f5d00['_originalHostOrSocketPath']=_0x1c51ab?_0x5aae1b[_0x2713db(0x1bf)]:_0xe77dfb[_0x2713db(0x11c)];const _0x5d4d36=_0x19314b&&_0x19314b[_0x2713db(0x1ee)];if(_0x19314b={..._0x19314b,'headers':{}},_0x5d4d36){for(const [_0x47b319,_0x464b76]of Object[_0x2713db(0x1a0)](_0x5d4d36))_0x19314b[_0x2713db(0x1ee)][_0x47b319[_0x2713db(0x2a0)]()]=_0x464b76;}}else{if(_0x4f5d00['listenerCount'](_0x2713db(0x2cd))===0x0){const _0x93e9a=_0x1c51ab?_0x4f5d00[_0x2713db(0x1c5)]?_0x5aae1b[_0x2713db(0x1bf)]===_0x4f5d00[_0x2713db(0x19a)]:!0x1:_0x4f5d00[_0x2713db(0x1c5)]?!0x1:_0xe77dfb[_0x2713db(0x11c)]===_0x4f5d00[_0x2713db(0x19a)];(!_0x93e9a||_0x4f5d00[_0x2713db(0x1e0)]&&!_0x3171f1)&&(delete _0x5aae1b[_0x2713db(0x1ee)][_0x2713db(0x211)],delete _0x5aae1b['headers'][_0x2713db(0x156)],_0x93e9a||delete _0x5aae1b[_0x2713db(0x1ee)]['host'],_0x5aae1b[_0x2713db(0x137)]=void 0x0);}}_0x5aae1b[_0x2713db(0x137)]&&!_0x19314b[_0x2713db(0x1ee)][_0x2713db(0x211)]&&(_0x19314b[_0x2713db(0x1ee)][_0x2713db(0x211)]=_0x2713db(0x1eb)+Buffer[_0x2713db(0x285)](_0x5aae1b[_0x2713db(0x137)])[_0x2713db(0x184)]('base64')),_0x170bb4=_0x4f5d00[_0x2713db(0x239)]=_0x564e90(_0x5aae1b),_0x4f5d00[_0x2713db(0x2bd)]&&_0x4f5d00[_0x2713db(0x2dd)](_0x2713db(0x2cd),_0x4f5d00[_0x2713db(0x129)],_0x170bb4);}else _0x170bb4=_0x4f5d00['_req']=_0x564e90(_0x5aae1b);_0x5aae1b[_0x2713db(0x2b7)]&&_0x170bb4['on'](_0x2713db(0x2b7),()=>{const _0x5ca1fb=_0x2713db;_0x4e8be9(_0x4f5d00,_0x170bb4,_0x5ca1fb(0x2cf));}),_0x170bb4['on'](_0x2713db(0x172),_0x3a068a=>{const _0x1addad=_0x2713db;_0x170bb4===null||_0x170bb4[_0x57959b]||(_0x170bb4=_0x4f5d00[_0x1addad(0x239)]=null,_0x2edc33(_0x4f5d00,_0x3a068a));}),_0x170bb4['on'](_0x2713db(0x234),_0x2c71df=>{const _0xbdf4a6=_0x2713db,_0x1f9acf=_0x2c71df[_0xbdf4a6(0x1ee)][_0xbdf4a6(0x1f7)],_0x27b2df=_0x2c71df['statusCode'];if(_0x1f9acf&&_0x5aae1b[_0xbdf4a6(0x26c)]&&_0x27b2df>=0x12c&&_0x27b2df<0x190){if(++_0x4f5d00['_redirects']>_0x5aae1b[_0xbdf4a6(0x16c)]){_0x4e8be9(_0x4f5d00,_0x170bb4,'Maximum\x20redirects\x20exceeded');return;}_0x170bb4['abort']();let _0x12804c;try{_0x12804c=new _0x4fcb9f(_0x1f9acf,_0x48c3d6);}catch{const _0x15b3fb=new SyntaxError(_0xbdf4a6(0x191)+_0x1f9acf);_0x2edc33(_0x4f5d00,_0x15b3fb);return;}_0x49aae9(_0x4f5d00,_0x12804c,_0x3fb9ba,_0x19314b);}else _0x4f5d00[_0xbdf4a6(0x2dd)]('unexpected-response',_0x170bb4,_0x2c71df)||_0x4e8be9(_0x4f5d00,_0x170bb4,'Unexpected\x20server\x20response:\x20'+_0x2c71df['statusCode']);}),_0x170bb4['on'](_0x2713db(0x134),(_0x1d3277,_0x44813c,_0x3ff794)=>{const _0x11f5be=_0x2713db;if(_0x4f5d00['emit'](_0x11f5be(0x134),_0x1d3277),_0x4f5d00['readyState']!==_0x2fbde1[_0x11f5be(0x159)])return;_0x170bb4=_0x4f5d00['_req']=null;const _0x4a8555=_0x1d3277[_0x11f5be(0x1ee)][_0x11f5be(0x134)];if(_0x4a8555===void 0x0||_0x4a8555[_0x11f5be(0x2a0)]()!==_0x11f5be(0x125)){_0x4e8be9(_0x4f5d00,_0x44813c,'Invalid\x20Upgrade\x20header');return;}const _0x5cc530=_0x299443(_0x11f5be(0x284))['update'](_0x195124+_0x45dedf)[_0x11f5be(0x1e7)](_0x11f5be(0x15a));if(_0x1d3277['headers'][_0x11f5be(0x1cf)]!==_0x5cc530){_0x4e8be9(_0x4f5d00,_0x44813c,_0x11f5be(0x27a));return;}const _0x176701=_0x1d3277['headers'][_0x11f5be(0x253)];let _0x481b64;if(_0x176701!==void 0x0?_0x127c8a['size']?_0x127c8a[_0x11f5be(0x1ff)](_0x176701)||(_0x481b64=_0x11f5be(0x121)):_0x481b64=_0x11f5be(0x14e):_0x127c8a['size']&&(_0x481b64=_0x11f5be(0x189)),_0x481b64){_0x4e8be9(_0x4f5d00,_0x44813c,_0x481b64);return;}_0x176701&&(_0x4f5d00[_0x11f5be(0x259)]=_0x176701);const _0x564ce8=_0x1d3277[_0x11f5be(0x1ee)][_0x11f5be(0x193)];if(_0x564ce8!==void 0x0){if(!_0x388b8f){_0x4e8be9(_0x4f5d00,_0x44813c,_0x11f5be(0x135));return;}let _0x310904;try{_0x310904=_0x262a7b(_0x564ce8);}catch{_0x4e8be9(_0x4f5d00,_0x44813c,_0x11f5be(0x192));return;}const _0x1a7e9d=Object['keys'](_0x310904);if(_0x1a7e9d[_0x11f5be(0x263)]!==0x1||_0x1a7e9d[0x0]!==_0x389ab5[_0x11f5be(0x128)]){_0x4e8be9(_0x4f5d00,_0x44813c,_0x11f5be(0x17d));return;}try{_0x388b8f[_0x11f5be(0x1a2)](_0x310904[_0x389ab5[_0x11f5be(0x128)]]);}catch{_0x4e8be9(_0x4f5d00,_0x44813c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4f5d00['_extensions'][_0x389ab5[_0x11f5be(0x128)]]=_0x388b8f;}_0x4f5d00[_0x11f5be(0x1f0)](_0x44813c,_0x3ff794,{'allowSynchronousEvents':_0x5aae1b[_0x11f5be(0x1aa)],'generateMask':_0x5aae1b[_0x11f5be(0x202)],'maxPayload':_0x5aae1b['maxPayload'],'skipUTF8Validation':_0x5aae1b['skipUTF8Validation']});}),_0x5aae1b[_0x2713db(0x123)]?_0x5aae1b['finishRequest'](_0x170bb4,_0x4f5d00):_0x170bb4[_0x2713db(0x29f)]();}function _0x2edc33(_0x2982cd,_0x31f21a){const _0x492efa=_0x119c52;_0x2982cd[_0x492efa(0x25c)]=_0x2fbde1[_0x492efa(0x20a)],_0x2982cd[_0x492efa(0x2e1)]=!0x0,_0x2982cd[_0x492efa(0x2dd)]('error',_0x31f21a),_0x2982cd[_0x492efa(0x179)]();}function _0x468de8(_0x26ca27){const _0x1dc5b4=_0x119c52;return _0x26ca27[_0x1dc5b4(0x227)]=_0x26ca27[_0x1dc5b4(0x1bf)],_0x1268ac[_0x1dc5b4(0x232)](_0x26ca27);}function _0x474ab1(_0x2a5737){const _0x58ef39=_0x119c52;return _0x2a5737[_0x58ef39(0x227)]=void 0x0,!_0x2a5737[_0x58ef39(0x2bf)]&&_0x2a5737['servername']!==''&&(_0x2a5737[_0x58ef39(0x2bf)]=_0x1268ac[_0x58ef39(0x19d)](_0x2a5737['host'])?'':_0x2a5737[_0x58ef39(0x11c)]),_0xf3153b['connect'](_0x2a5737);}function _0x4e8be9(_0x3ee5bc,_0xcb5a0f,_0x8b8ec9){const _0x34f4bf=_0x119c52;_0x3ee5bc[_0x34f4bf(0x25c)]=_0x2fbde1[_0x34f4bf(0x20a)];const _0x4b9fbe=new Error(_0x8b8ec9);Error['captureStackTrace'](_0x4b9fbe,_0x4e8be9),_0xcb5a0f[_0x34f4bf(0x241)]?(_0xcb5a0f[_0x57959b]=!0x0,_0xcb5a0f[_0x34f4bf(0x18f)](),_0xcb5a0f[_0x34f4bf(0x287)]&&!_0xcb5a0f[_0x34f4bf(0x287)][_0x34f4bf(0x196)]&&_0xcb5a0f[_0x34f4bf(0x287)]['destroy'](),process[_0x34f4bf(0x272)](_0x2edc33,_0x3ee5bc,_0x4b9fbe)):(_0xcb5a0f[_0x34f4bf(0x27f)](_0x4b9fbe),_0xcb5a0f[_0x34f4bf(0x21d)](_0x34f4bf(0x172),_0x3ee5bc[_0x34f4bf(0x2dd)]['bind'](_0x3ee5bc,_0x34f4bf(0x172))),_0xcb5a0f['once'](_0x34f4bf(0x245),_0x3ee5bc[_0x34f4bf(0x179)][_0x34f4bf(0x171)](_0x3ee5bc)));}function _0x4f5361(_0x11e5d5,_0x19e8e4,_0x923636){const _0x355f08=_0x119c52;if(_0x19e8e4){const _0x3e5494=_0xfe1113(_0x19e8e4)?_0x19e8e4[_0x355f08(0x217)]:_0x2a22ea(_0x19e8e4)[_0x355f08(0x263)];_0x11e5d5['_socket']?_0x11e5d5[_0x355f08(0x1b7)][_0x355f08(0x222)]+=_0x3e5494:_0x11e5d5[_0x355f08(0x127)]+=_0x3e5494;}if(_0x923636){const _0x46737b=new Error(_0x355f08(0x278)+_0x11e5d5[_0x355f08(0x27b)]+'\x20('+_0x5f1ef3[_0x11e5d5[_0x355f08(0x27b)]]+')');process[_0x355f08(0x272)](_0x923636,_0x46737b);}}function _0x3dcab1(_0x415548,_0x2f9f57){const _0x2f1129=_0x119c52,_0x3e98fa=this[_0x1847c5];_0x3e98fa['_closeFrameReceived']=!0x0,_0x3e98fa[_0x2f1129(0x28d)]=_0x2f9f57,_0x3e98fa['_closeCode']=_0x415548,_0x3e98fa[_0x2f1129(0x1c1)][_0x1847c5]!==void 0x0&&(_0x3e98fa[_0x2f1129(0x1c1)][_0x2f1129(0x18d)]('data',_0x31adac),process[_0x2f1129(0x272)](_0x425716,_0x3e98fa[_0x2f1129(0x1c1)]),_0x415548===0x3ed?_0x3e98fa[_0x2f1129(0x245)]():_0x3e98fa[_0x2f1129(0x245)](_0x415548,_0x2f9f57));}function _0x2113ec(){const _0x4e8a07=_0x119c52,_0xa0540=this[_0x1847c5];_0xa0540[_0x4e8a07(0x1fe)]||_0xa0540[_0x4e8a07(0x1c1)][_0x4e8a07(0x1e5)]();}function _0x167b15(_0x50e0bb){const _0x382f67=_0x119c52,_0x42be46=this[_0x1847c5];_0x42be46['_socket'][_0x1847c5]!==void 0x0&&(_0x42be46[_0x382f67(0x1c1)][_0x382f67(0x18d)](_0x382f67(0x25d),_0x31adac),process[_0x382f67(0x272)](_0x425716,_0x42be46[_0x382f67(0x1c1)]),_0x42be46[_0x382f67(0x245)](_0x50e0bb[_0x2f8e2f])),_0x42be46['_errorEmitted']||(_0x42be46[_0x382f67(0x2e1)]=!0x0,_0x42be46[_0x382f67(0x2dd)](_0x382f67(0x172),_0x50e0bb));}function _0x2c4138(){const _0x538c1a=_0x119c52;this[_0x1847c5][_0x538c1a(0x179)]();}function _0x1bdd74(_0x36cdd6,_0x48a11d){const _0x1983de=_0x119c52;this[_0x1847c5][_0x1983de(0x2dd)]('message',_0x36cdd6,_0x48a11d);}function _0x351914(_0x5c27c2){const _0x25c94d=_0x119c52,_0x52aee8=this[_0x1847c5];_0x52aee8[_0x25c94d(0x1d6)]&&_0x52aee8[_0x25c94d(0x167)](_0x5c27c2,!this[_0x25c94d(0x2c8)],_0xdcd3ea),_0x52aee8['emit'](_0x25c94d(0x144),_0x5c27c2);}function _0x5ae738(_0x258d84){const _0xc37a79=_0x119c52;this[_0x1847c5][_0xc37a79(0x2dd)](_0xc37a79(0x167),_0x258d84);}function _0x425716(_0x32f5df){const _0x2bd407=_0x119c52;_0x32f5df[_0x2bd407(0x1e5)]();}function _0x222d26(_0x3e62ed){const _0x1f99f1=_0x119c52,_0x42476c=this[_0x1847c5];_0x42476c['readyState']!==_0x2fbde1[_0x1f99f1(0x256)]&&(_0x42476c['readyState']===_0x2fbde1[_0x1f99f1(0x24e)]&&(_0x42476c['_readyState']=_0x2fbde1[_0x1f99f1(0x20a)],_0x2b5805(_0x42476c)),this[_0x1f99f1(0x1c1)]['end'](),_0x42476c[_0x1f99f1(0x2e1)]||(_0x42476c[_0x1f99f1(0x2e1)]=!0x0,_0x42476c[_0x1f99f1(0x2dd)](_0x1f99f1(0x172),_0x3e62ed)));}function _0x2b5805(_0x722447){const _0x1952c9=_0x119c52;_0x722447[_0x1952c9(0x141)]=setTimeout(_0x722447[_0x1952c9(0x1c1)][_0x1952c9(0x27f)][_0x1952c9(0x171)](_0x722447[_0x1952c9(0x1c1)]),_0x49fd72);}function _0x273730(){const _0x4fbff9=_0x119c52,_0x4bdbcb=this[_0x1847c5];this['removeListener']('close',_0x273730),this[_0x4fbff9(0x18d)](_0x4fbff9(0x25d),_0x31adac),this[_0x4fbff9(0x18d)](_0x4fbff9(0x29f),_0x58a4a2),_0x4bdbcb[_0x4fbff9(0x25c)]=_0x2fbde1[_0x4fbff9(0x20a)];let _0x1bd0db;!this[_0x4fbff9(0x1a9)]['endEmitted']&&!_0x4bdbcb[_0x4fbff9(0x142)]&&!_0x4bdbcb[_0x4fbff9(0x14b)]['_writableState'][_0x4fbff9(0x1a4)]&&(_0x1bd0db=_0x4bdbcb['_socket'][_0x4fbff9(0x2a7)]())!==null&&_0x4bdbcb[_0x4fbff9(0x14b)][_0x4fbff9(0x1b9)](_0x1bd0db),_0x4bdbcb['_receiver'][_0x4fbff9(0x29f)](),this[_0x1847c5]=void 0x0,clearTimeout(_0x4bdbcb[_0x4fbff9(0x141)]),_0x4bdbcb[_0x4fbff9(0x14b)][_0x4fbff9(0x1df)][_0x4fbff9(0x1ab)]||_0x4bdbcb[_0x4fbff9(0x14b)][_0x4fbff9(0x1df)][_0x4fbff9(0x1a4)]?_0x4bdbcb[_0x4fbff9(0x179)]():(_0x4bdbcb[_0x4fbff9(0x14b)]['on'](_0x4fbff9(0x172),_0x2c4138),_0x4bdbcb[_0x4fbff9(0x14b)]['on'](_0x4fbff9(0x1d0),_0x2c4138));}function _0x31adac(_0x5409a3){const _0x18b1d0=_0x119c52;this[_0x1847c5][_0x18b1d0(0x14b)][_0x18b1d0(0x1b9)](_0x5409a3)||this[_0x18b1d0(0x1b3)]();}function _0x58a4a2(){const _0x86ece8=_0x119c52,_0xfc54c0=this[_0x1847c5];_0xfc54c0['_readyState']=_0x2fbde1[_0x86ece8(0x20a)],_0xfc54c0['_receiver'][_0x86ece8(0x29f)](),this[_0x86ece8(0x29f)]();}function _0x3e50e3(){const _0x4d9f38=_0x119c52,_0x56a011=this[_0x1847c5];this[_0x4d9f38(0x18d)]('error',_0x3e50e3),this['on'](_0x4d9f38(0x172),_0xdcd3ea),_0x56a011&&(_0x56a011[_0x4d9f38(0x25c)]=_0x2fbde1['CLOSING'],this[_0x4d9f38(0x27f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x54dd82}=oe;function _0x3f155b(_0x11db4f){const _0x3dbb46=_0x49f3;_0x11db4f[_0x3dbb46(0x2dd)](_0x3dbb46(0x245));}function _0x256a5b(){const _0x4556cf=_0x49f3;!this[_0x4556cf(0x196)]&&this[_0x4556cf(0x1df)]['finished']&&this[_0x4556cf(0x27f)]();}function _0xac1de4(_0x232312){const _0x540a4f=_0x49f3;this[_0x540a4f(0x18d)](_0x540a4f(0x172),_0xac1de4),this[_0x540a4f(0x27f)](),this['listenerCount'](_0x540a4f(0x172))===0x0&&this[_0x540a4f(0x2dd)](_0x540a4f(0x172),_0x232312);}function _0x10f4da(_0x5145e4,_0x5acc04){const _0x513807=_0x49f3;let _0x44063a=!0x0;const _0x5f37b0=new _0x54dd82({..._0x5acc04,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5145e4['on'](_0x513807(0x29c),function(_0x2af078,_0x11ffdc){const _0xdc50e9=_0x513807,_0xfce25=!_0x11ffdc&&_0x5f37b0[_0xdc50e9(0x1a9)][_0xdc50e9(0x2e9)]?_0x2af078[_0xdc50e9(0x184)]():_0x2af078;_0x5f37b0[_0xdc50e9(0x2b4)](_0xfce25)||_0x5145e4['pause']();}),_0x5145e4[_0x513807(0x21d)](_0x513807(0x172),function(_0x1a0772){const _0x2b86ae=_0x513807;_0x5f37b0['destroyed']||(_0x44063a=!0x1,_0x5f37b0[_0x2b86ae(0x27f)](_0x1a0772));}),_0x5145e4[_0x513807(0x21d)]('close',function(){const _0x6308aa=_0x513807;_0x5f37b0[_0x6308aa(0x196)]||_0x5f37b0[_0x6308aa(0x2b4)](null);}),_0x5f37b0['_destroy']=function(_0x5f08c1,_0x182b47){const _0x18f61e=_0x513807;if(_0x5145e4['readyState']===_0x5145e4[_0x18f61e(0x256)]){_0x182b47(_0x5f08c1),process[_0x18f61e(0x272)](_0x3f155b,_0x5f37b0);return;}let _0x589d09=!0x1;_0x5145e4[_0x18f61e(0x21d)](_0x18f61e(0x172),function(_0x4e79eb){_0x589d09=!0x0,_0x182b47(_0x4e79eb);}),_0x5145e4[_0x18f61e(0x21d)](_0x18f61e(0x245),function(){const _0x1a27d9=_0x18f61e;_0x589d09||_0x182b47(_0x5f08c1),process[_0x1a27d9(0x272)](_0x3f155b,_0x5f37b0);}),_0x44063a&&_0x5145e4[_0x18f61e(0x148)]();},_0x5f37b0[_0x513807(0x2db)]=function(_0x3dfadf){const _0x5efac7=_0x513807;if(_0x5145e4['readyState']===_0x5145e4['CONNECTING']){_0x5145e4[_0x5efac7(0x21d)](_0x5efac7(0x2a3),function(){_0x5f37b0['_final'](_0x3dfadf);});return;}_0x5145e4[_0x5efac7(0x1c1)]!==null&&(_0x5145e4[_0x5efac7(0x1c1)][_0x5efac7(0x1df)]['finished']?(_0x3dfadf(),_0x5f37b0[_0x5efac7(0x1a9)]['endEmitted']&&_0x5f37b0[_0x5efac7(0x27f)]()):(_0x5145e4[_0x5efac7(0x1c1)][_0x5efac7(0x21d)](_0x5efac7(0x1d0),function(){_0x3dfadf();}),_0x5145e4['close']()));},_0x5f37b0[_0x513807(0x143)]=function(){const _0x3c93d5=_0x513807;_0x5145e4[_0x3c93d5(0x1fe)]&&_0x5145e4[_0x3c93d5(0x1e5)]();},_0x5f37b0[_0x513807(0x2b0)]=function(_0x2c3aca,_0x4c6ffb,_0x5f41f3){const _0x4e169d=_0x513807;if(_0x5145e4[_0x4e169d(0x27b)]===_0x5145e4[_0x4e169d(0x159)]){_0x5145e4[_0x4e169d(0x21d)](_0x4e169d(0x2a3),function(){_0x5f37b0['_write'](_0x2c3aca,_0x4c6ffb,_0x5f41f3);});return;}_0x5145e4[_0x4e169d(0x158)](_0x2c3aca,_0x5f41f3);},_0x5f37b0['on']('end',_0x256a5b),_0x5f37b0['on']('error',_0xac1de4),_0x5f37b0;}return Oe=_0x10f4da,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2c1a0f}=ae();function _0xc8df3(_0x48a37e){const _0x319c23=_0x49f3,_0x5b14d7=new Set();let _0x141058=-0x1,_0x425324=-0x1,_0x1291ca=0x0;for(_0x1291ca;_0x1291ca<_0x48a37e['length'];_0x1291ca++){const _0x8c3e04=_0x48a37e['charCodeAt'](_0x1291ca);if(_0x425324===-0x1&&_0x2c1a0f[_0x8c3e04]===0x1)_0x141058===-0x1&&(_0x141058=_0x1291ca);else{if(_0x1291ca!==0x0&&(_0x8c3e04===0x20||_0x8c3e04===0x9))_0x425324===-0x1&&_0x141058!==-0x1&&(_0x425324=_0x1291ca);else{if(_0x8c3e04===0x2c){if(_0x141058===-0x1)throw new SyntaxError(_0x319c23(0x1e3)+_0x1291ca);_0x425324===-0x1&&(_0x425324=_0x1291ca);const _0x2e0140=_0x48a37e[_0x319c23(0x139)](_0x141058,_0x425324);if(_0x5b14d7[_0x319c23(0x1ff)](_0x2e0140))throw new SyntaxError(_0x319c23(0x1ae)+_0x2e0140+_0x319c23(0x1bd));_0x5b14d7[_0x319c23(0x1c0)](_0x2e0140),_0x141058=_0x425324=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1291ca);}}}if(_0x141058===-0x1||_0x425324!==-0x1)throw new SyntaxError(_0x319c23(0x258));const _0x1a5561=_0x48a37e[_0x319c23(0x139)](_0x141058,_0x1291ca);if(_0x5b14d7[_0x319c23(0x1ff)](_0x1a5561))throw new SyntaxError('The\x20\x22'+_0x1a5561+_0x319c23(0x1bd));return _0x5b14d7['add'](_0x1a5561),_0x5b14d7;}return Ce={'parse':_0xc8df3},Ce;}var Te,rt;function Ft(){const _0x3af253=_0x45f320;if(rt)return Te;rt=0x1;const _0x1d8606=nt,_0x2086d7=ot,{Duplex:_0x2e4b9d}=oe,{createHash:_0x19a7ac}=Le,_0x30798d=ct(),_0x121602=he(),_0x31bca9=At(),_0x14066c=Pe(),{GUID:_0x41eb3b,kWebSocket:_0x35617c}=H(),_0x45209f=/^[+/0-9A-Za-z]{22}==$/,_0x34ed5c=0x0,_0x18b232=0x1,_0x15244f=0x2;class _0x48e4ea extends _0x1d8606{constructor(_0x14e9ba,_0x229899){const _0x46e7bd=_0x49f3;if(super(),_0x14e9ba={'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':_0x14066c,..._0x14e9ba},_0x14e9ba[_0x46e7bd(0x26b)]==null&&!_0x14e9ba[_0x46e7bd(0x16f)]&&!_0x14e9ba[_0x46e7bd(0x22e)]||_0x14e9ba[_0x46e7bd(0x26b)]!=null&&(_0x14e9ba[_0x46e7bd(0x16f)]||_0x14e9ba[_0x46e7bd(0x22e)])||_0x14e9ba[_0x46e7bd(0x16f)]&&_0x14e9ba[_0x46e7bd(0x22e)])throw new TypeError(_0x46e7bd(0x2e4));if(_0x14e9ba[_0x46e7bd(0x26b)]!=null?(this[_0x46e7bd(0x226)]=_0x2086d7[_0x46e7bd(0x268)]((_0x3d774a,_0x4c9d64)=>{const _0xe72bd=_0x46e7bd,_0x41a5d9=_0x2086d7[_0xe72bd(0x1da)][0x1aa];_0x4c9d64[_0xe72bd(0x15c)](0x1aa,{'Content-Length':_0x41a5d9[_0xe72bd(0x263)],'Content-Type':_0xe72bd(0x168)}),_0x4c9d64[_0xe72bd(0x29f)](_0x41a5d9);}),this[_0x46e7bd(0x226)]['listen'](_0x14e9ba[_0x46e7bd(0x26b)],_0x14e9ba[_0x46e7bd(0x11c)],_0x14e9ba[_0x46e7bd(0x255)],_0x229899)):_0x14e9ba[_0x46e7bd(0x16f)]&&(this[_0x46e7bd(0x226)]=_0x14e9ba[_0x46e7bd(0x16f)]),this['_server']){const _0x3bf41d=this[_0x46e7bd(0x2dd)]['bind'](this,'connection');this['_removeListeners']=_0x1e71fc(this['_server'],{'listening':this[_0x46e7bd(0x2dd)][_0x46e7bd(0x171)](this,'listening'),'error':this[_0x46e7bd(0x2dd)][_0x46e7bd(0x171)](this,_0x46e7bd(0x172)),'upgrade':(_0x6448e,_0x261f7b,_0x98e923)=>{const _0x131a9c=_0x46e7bd;this[_0x131a9c(0x194)](_0x6448e,_0x261f7b,_0x98e923,_0x3bf41d);}});}_0x14e9ba[_0x46e7bd(0x203)]===!0x0&&(_0x14e9ba[_0x46e7bd(0x203)]={}),_0x14e9ba['clientTracking']&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x46e7bd(0x1b2)]=_0x14e9ba,this[_0x46e7bd(0x281)]=_0x34ed5c;}['address'](){const _0xde040f=_0x49f3;if(this[_0xde040f(0x1b2)][_0xde040f(0x22e)])throw new Error(_0xde040f(0x1dc));return this['_server']?this['_server'][_0xde040f(0x2b2)]():null;}['close'](_0x517158){const _0x26fe19=_0x49f3;if(this[_0x26fe19(0x281)]===_0x15244f){_0x517158&&this[_0x26fe19(0x21d)](_0x26fe19(0x245),()=>{const _0x546bf1=_0x26fe19;_0x517158(new Error(_0x546bf1(0x279)));}),process['nextTick'](_0x4c339b,this);return;}if(_0x517158&&this['once'](_0x26fe19(0x245),_0x517158),this[_0x26fe19(0x281)]!==_0x18b232){if(this[_0x26fe19(0x281)]=_0x18b232,this['options'][_0x26fe19(0x22e)]||this[_0x26fe19(0x1b2)][_0x26fe19(0x16f)])this['_server']&&(this[_0x26fe19(0x185)](),this[_0x26fe19(0x185)]=this[_0x26fe19(0x226)]=null),this[_0x26fe19(0x19f)]?this[_0x26fe19(0x19f)][_0x26fe19(0x217)]?this[_0x26fe19(0x162)]=!0x0:process[_0x26fe19(0x272)](_0x4c339b,this):process[_0x26fe19(0x272)](_0x4c339b,this);else{const _0x5a09f4=this[_0x26fe19(0x226)];this[_0x26fe19(0x185)](),this[_0x26fe19(0x185)]=this[_0x26fe19(0x226)]=null,_0x5a09f4[_0x26fe19(0x245)](()=>{_0x4c339b(this);});}}}[_0x3af253(0x24f)](_0x3be7ea){const _0xd575f0=_0x3af253;if(this[_0xd575f0(0x1b2)]['path']){const _0x588468=_0x3be7ea[_0xd575f0(0x129)][_0xd575f0(0x1b4)]('?');if((_0x588468!==-0x1?_0x3be7ea['url'][_0xd575f0(0x139)](0x0,_0x588468):_0x3be7ea[_0xd575f0(0x129)])!==this[_0xd575f0(0x1b2)][_0xd575f0(0x227)])return!0x1;}return!0x0;}[_0x3af253(0x194)](_0x19e1ee,_0x220233,_0x5cb153,_0x2cbe00){const _0x10313e=_0x3af253;_0x220233['on']('error',_0x40809a);const _0x924622=_0x19e1ee[_0x10313e(0x1ee)]['sec-websocket-key'],_0x238e99=_0x19e1ee['headers'][_0x10313e(0x134)],_0x26c82d=+_0x19e1ee[_0x10313e(0x1ee)][_0x10313e(0x1de)];if(_0x19e1ee[_0x10313e(0x2ba)]!==_0x10313e(0x1c9)){_0x420276(this,_0x19e1ee,_0x220233,0x195,_0x10313e(0x2cc));return;}if(_0x238e99===void 0x0||_0x238e99['toLowerCase']()!=='websocket'){_0x420276(this,_0x19e1ee,_0x220233,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x924622===void 0x0||!_0x45209f[_0x10313e(0x298)](_0x924622)){_0x420276(this,_0x19e1ee,_0x220233,0x190,_0x10313e(0x23d));return;}if(_0x26c82d!==0x8&&_0x26c82d!==0xd){_0x420276(this,_0x19e1ee,_0x220233,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x10313e(0x24f)](_0x19e1ee)){_0x1a3aff(_0x220233,0x190);return;}const _0x5c2681=_0x19e1ee[_0x10313e(0x1ee)][_0x10313e(0x253)];let _0x461287=new Set();if(_0x5c2681!==void 0x0)try{_0x461287=_0x31bca9[_0x10313e(0x157)](_0x5c2681);}catch{_0x420276(this,_0x19e1ee,_0x220233,0x190,_0x10313e(0x16b));return;}const _0x24f507=_0x19e1ee[_0x10313e(0x1ee)][_0x10313e(0x193)],_0x4fea41={};if(this[_0x10313e(0x1b2)][_0x10313e(0x203)]&&_0x24f507!==void 0x0){const _0x5913be=new _0x121602(this[_0x10313e(0x1b2)][_0x10313e(0x203)],!0x0,this[_0x10313e(0x1b2)]['maxPayload']);try{const _0x2074ea=_0x30798d['parse'](_0x24f507);_0x2074ea[_0x121602[_0x10313e(0x128)]]&&(_0x5913be[_0x10313e(0x1a2)](_0x2074ea[_0x121602[_0x10313e(0x128)]]),_0x4fea41[_0x121602[_0x10313e(0x128)]]=_0x5913be);}catch{_0x420276(this,_0x19e1ee,_0x220233,0x190,_0x10313e(0x1f6));return;}}if(this[_0x10313e(0x1b2)]['verifyClient']){const _0xb0d826={'origin':_0x19e1ee[_0x10313e(0x1ee)][''+(_0x26c82d===0x8?_0x10313e(0x240):_0x10313e(0x21f))],'secure':!!(_0x19e1ee[_0x10313e(0x287)]['authorized']||_0x19e1ee['socket']['encrypted']),'req':_0x19e1ee};if(this[_0x10313e(0x1b2)][_0x10313e(0x2be)][_0x10313e(0x263)]===0x2){this[_0x10313e(0x1b2)][_0x10313e(0x2be)](_0xb0d826,(_0x3ccba9,_0x59d124,_0xbff1ef,_0x2ee7a6)=>{const _0x181a62=_0x10313e;if(!_0x3ccba9)return _0x1a3aff(_0x220233,_0x59d124||0x191,_0xbff1ef,_0x2ee7a6);this[_0x181a62(0x149)](_0x4fea41,_0x924622,_0x461287,_0x19e1ee,_0x220233,_0x5cb153,_0x2cbe00);});return;}if(!this[_0x10313e(0x1b2)]['verifyClient'](_0xb0d826))return _0x1a3aff(_0x220233,0x191);}this[_0x10313e(0x149)](_0x4fea41,_0x924622,_0x461287,_0x19e1ee,_0x220233,_0x5cb153,_0x2cbe00);}[_0x3af253(0x149)](_0x5d2f5a,_0x1c67a4,_0x58b9a2,_0x414b88,_0x283b57,_0x5db805,_0xe7620c){const _0x484ace=_0x3af253;if(!_0x283b57[_0x484ace(0x175)]||!_0x283b57[_0x484ace(0x231)])return _0x283b57[_0x484ace(0x27f)]();if(_0x283b57[_0x35617c])throw new Error(_0x484ace(0x164));if(this['_state']>_0x34ed5c)return _0x1a3aff(_0x283b57,0x1f7);const _0x4599da=[_0x484ace(0x229),_0x484ace(0x2ae),_0x484ace(0x260),_0x484ace(0x1a3)+_0x19a7ac(_0x484ace(0x284))['update'](_0x1c67a4+_0x41eb3b)[_0x484ace(0x1e7)](_0x484ace(0x15a))],_0x162aed=new this['options'][(_0x484ace(0x269))](null,void 0x0,this[_0x484ace(0x1b2)]);if(_0x58b9a2[_0x484ace(0x217)]){const _0x336e7c=this[_0x484ace(0x1b2)][_0x484ace(0x262)]?this[_0x484ace(0x1b2)][_0x484ace(0x262)](_0x58b9a2,_0x414b88):_0x58b9a2[_0x484ace(0x1c7)]()['next']()[_0x484ace(0x206)];_0x336e7c&&(_0x4599da[_0x484ace(0x2b4)](_0x484ace(0x146)+_0x336e7c),_0x162aed[_0x484ace(0x259)]=_0x336e7c);}if(_0x5d2f5a[_0x121602['extensionName']]){const _0x4b3393=_0x5d2f5a[_0x121602[_0x484ace(0x128)]][_0x484ace(0x28a)],_0x400966=_0x30798d[_0x484ace(0x18c)]({[_0x121602[_0x484ace(0x128)]]:[_0x4b3393]});_0x4599da[_0x484ace(0x2b4)](_0x484ace(0x2a2)+_0x400966),_0x162aed[_0x484ace(0x224)]=_0x5d2f5a;}this[_0x484ace(0x2dd)](_0x484ace(0x1ee),_0x4599da,_0x414b88),_0x283b57[_0x484ace(0x1b9)](_0x4599da[_0x484ace(0x24a)]('\x0d\x0a')['join']('\x0d\x0a')),_0x283b57['removeListener'](_0x484ace(0x172),_0x40809a),_0x162aed['setSocket'](_0x283b57,_0x5db805,{'allowSynchronousEvents':this[_0x484ace(0x1b2)][_0x484ace(0x1aa)],'maxPayload':this[_0x484ace(0x1b2)][_0x484ace(0x219)],'skipUTF8Validation':this['options'][_0x484ace(0x2de)]}),this[_0x484ace(0x19f)]&&(this[_0x484ace(0x19f)][_0x484ace(0x1c0)](_0x162aed),_0x162aed['on'](_0x484ace(0x245),()=>{const _0x3358fd=_0x484ace;this['clients'][_0x3358fd(0x187)](_0x162aed),this[_0x3358fd(0x162)]&&!this[_0x3358fd(0x19f)][_0x3358fd(0x217)]&&process[_0x3358fd(0x272)](_0x4c339b,this);})),_0xe7620c(_0x162aed,_0x414b88);}}Te=_0x48e4ea;function _0x1e71fc(_0xa5f735,_0x2d9545){const _0x489938=_0x3af253;for(const _0x53ef24 of Object[_0x489938(0x2d2)](_0x2d9545))_0xa5f735['on'](_0x53ef24,_0x2d9545[_0x53ef24]);return function(){const _0x1abf4d=_0x489938;for(const _0x59420d of Object[_0x1abf4d(0x2d2)](_0x2d9545))_0xa5f735[_0x1abf4d(0x18d)](_0x59420d,_0x2d9545[_0x59420d]);};}function _0x4c339b(_0x4624e6){const _0x5acfd0=_0x3af253;_0x4624e6[_0x5acfd0(0x281)]=_0x15244f,_0x4624e6['emit'](_0x5acfd0(0x245));}function _0x40809a(){const _0x22f68d=_0x3af253;this[_0x22f68d(0x27f)]();}function _0x1a3aff(_0x13b37f,_0x397e20,_0x4def04,_0xca5e5){const _0x54694f=_0x3af253;_0x4def04=_0x4def04||_0x2086d7[_0x54694f(0x1da)][_0x397e20],_0xca5e5={'Connection':_0x54694f(0x245),'Content-Type':_0x54694f(0x145),'Content-Length':Buffer[_0x54694f(0x2c2)](_0x4def04),..._0xca5e5},_0x13b37f[_0x54694f(0x21d)](_0x54694f(0x1d0),_0x13b37f['destroy']),_0x13b37f[_0x54694f(0x29f)](_0x54694f(0x1d2)+_0x397e20+'\x20'+_0x2086d7[_0x54694f(0x1da)][_0x397e20]+'\x0d\x0a'+Object[_0x54694f(0x2d2)](_0xca5e5)[_0x54694f(0x1c2)](_0x3434c9=>_0x3434c9+':\x20'+_0xca5e5[_0x3434c9])['join']('\x0d\x0a')+_0x54694f(0x1f3)+_0x4def04);}function _0x420276(_0x23c9ce,_0x2bc37a,_0x1f8337,_0x45ceab,_0x407a04){const _0x8af051=_0x3af253;if(_0x23c9ce[_0x8af051(0x293)](_0x8af051(0x214))){const _0x33daea=new Error(_0x407a04);Error[_0x8af051(0x1c8)](_0x33daea,_0x420276),_0x23c9ce[_0x8af051(0x2dd)](_0x8af051(0x214),_0x33daea,_0x1f8337,_0x2bc37a);}else _0x1a3aff(_0x1f8337,_0x45ceab,_0x407a04);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x2647cd,_0xa153f,_0x414083,_0x32da6b)=>{for(var _0x59c620=_0x32da6b>0x1?void 0x0:_0x32da6b?jt(_0xa153f,_0x414083):_0xa153f,_0x777b4f=_0x2647cd['length']-0x1,_0x5bcfb4;_0x777b4f>=0x0;_0x777b4f--)(_0x5bcfb4=_0x2647cd[_0x777b4f])&&(_0x59c620=_0x5bcfb4(_0x59c620)||_0x59c620);return _0x59c620;},qt=(_0x5eb863,_0x5ead6a)=>(_0x148f32,_0x531c45)=>_0x5ead6a(_0x148f32,_0x531c45,_0x5eb863);let ke=class extends A[_0x45f320(0x15d)]{constructor(_0x175a83){const _0x5b5b37=_0x45f320;super(),this[_0x5b5b37(0x1dd)]=_0x175a83;}[_0x45f320(0x138)](_0x163d73){const _0x2778dd=_0x45f320;var _0x2c0a3f;const _0x79b30c=(_0x2c0a3f=this['_configService'][_0x2778dd(0x11b)](fe))==null?void 0x0:_0x2c0a3f['customHeaders'];try{const _0x1ba387=new $t(_0x163d73,{'headers':{..._0x79b30c}}),_0x15be8f=new A[(_0x2778dd(0x180))]();return{'URL':_0x163d73,'close':(_0x495b76,_0x203d5c)=>{const _0x273425=_0x2778dd;_0x1ba387['close'](_0x495b76,_0x203d5c),_0x15be8f[_0x273425(0x207)]();},'send':_0x47ed74=>{_0x1ba387['send'](_0x47ed74);},'open$':new V['Observable'](_0x546966=>{const _0x4ee3d6=_0x2778dd,_0x487104=_0x1a0b11=>_0x546966['next'](_0x1a0b11);_0x1ba387[_0x4ee3d6(0x2e3)](_0x4ee3d6(0x2a3),_0x487104),_0x15be8f[_0x4ee3d6(0x1c0)](A['toDisposable'](()=>_0x1ba387[_0x4ee3d6(0x2c6)]('open',_0x487104)));})[_0x2778dd(0x265)](V[_0x2778dd(0x2a4)]()),'close$':new V[(_0x2778dd(0x19b))](_0xfe6168=>{const _0x54f187=_0x2778dd,_0x89f676=_0x57f7bb=>_0xfe6168[_0x54f187(0x215)](_0x57f7bb);_0x1ba387[_0x54f187(0x2e3)]('close',_0x89f676),_0x15be8f['add'](A[_0x54f187(0x1f4)](()=>_0x1ba387[_0x54f187(0x2c6)](_0x54f187(0x245),_0x89f676)));})['pipe'](V['share']()),'error$':new V[(_0x2778dd(0x19b))](_0x5c8992=>{const _0x43bf37=_0x2778dd,_0x1971f2=_0x520a3f=>_0x5c8992[_0x43bf37(0x215)](_0x520a3f);_0x1ba387['addEventListener']('error',_0x1971f2),_0x15be8f[_0x43bf37(0x1c0)](A[_0x43bf37(0x1f4)](()=>_0x1ba387['removeEventListener'](_0x43bf37(0x172),_0x1971f2)));})[_0x2778dd(0x265)](V[_0x2778dd(0x2a4)]()),'message$':new V[(_0x2778dd(0x19b))](_0x1d775d=>{const _0x2164a6=_0x2778dd,_0x5cbda0=_0x59f95f=>_0x1d775d[_0x2164a6(0x215)](_0x59f95f);_0x1ba387[_0x2164a6(0x2e3)](_0x2164a6(0x29c),_0x5cbda0),_0x15be8f['add'](A['toDisposable'](()=>_0x1ba387['removeEventListener']('message',_0x5cbda0)));})['pipe'](V[_0x2778dd(0x2a4)]())};}catch(_0x8ac1e7){return console[_0x2778dd(0x172)](_0x8ac1e7),null;}}};ke=Wt([qt(0x0,A[_0x45f320(0x25b)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x14e2d9,_0x5d3abb,_0x4800c6)=>_0x5d3abb in _0x14e2d9?Gt(_0x14e2d9,_0x5d3abb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4800c6}):_0x14e2d9[_0x5d3abb]=_0x4800c6,zt=(_0x374510,_0x3fa750,_0x563b68,_0x4b4762)=>{const _0x2bc283=_0x45f320;for(var _0x4d33bd=_0x4b4762>0x1?void 0x0:_0x4b4762?Vt(_0x3fa750,_0x563b68):_0x3fa750,_0x3ba689=_0x374510[_0x2bc283(0x263)]-0x1,_0xbb6b8d;_0x3ba689>=0x0;_0x3ba689--)(_0xbb6b8d=_0x374510[_0x3ba689])&&(_0x4d33bd=_0xbb6b8d(_0x4d33bd)||_0x4d33bd);return _0x4d33bd;},Ne=(_0x51d91c,_0x4be87f)=>(_0x3b6c0c,_0x53857b)=>_0x4be87f(_0x3b6c0c,_0x53857b,_0x51d91c),Yt=(_0x2143da,_0x297ed2,_0x5299cd)=>Ht(_0x2143da,_0x297ed2+'',_0x5299cd);exports[_0x45f320(0x244)]=class extends A[_0x45f320(0x22d)]{constructor(_0x4f95ac=Ct,_0x56d13d,_0x1ce390,_0x41d862){const _0x3841f8=_0x45f320;_0x4f95ac[_0x3841f8(0x13c)]||_0x56d13d['warn'](_0x3841f8(0x1e8)),super(),this[_0x3841f8(0x1dd)]=_0x1ce390,this[_0x3841f8(0x2e5)]=_0x41d862,this['_configService'][_0x3841f8(0x2d5)](fe,_0x4f95ac);}[_0x45f320(0x1b8)](){const _0x2f158a=_0x45f320;this[_0x2f158a(0x2da)]();}[_0x45f320(0x2da)](){const _0x5162de=_0x45f320;A[_0x5162de(0x198)](this['_injector'],[[it[_0x5162de(0x213)],{'useClass':ke}]]);}},Yt(exports[_0x45f320(0x244)],'pluginName',_0x45f320(0x154)),exports[_0x45f320(0x244)]=zt([A[_0x45f320(0x290)](st['UniverCollaborationClientPlugin']),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x45f320(0x25b)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x45f320(0x244)]);var Kt=Object[_0x45f320(0x132)],Xt=(_0xc48dbc,_0x3bafbc,_0x4a136a,_0x374356)=>{const _0x540034=_0x45f320;for(var _0x55d773=_0x374356>0x1?void 0x0:_0x374356?Kt(_0x3bafbc,_0x4a136a):_0x3bafbc,_0x38d401=_0xc48dbc[_0x540034(0x263)]-0x1,_0x25d8be;_0x38d401>=0x0;_0x38d401--)(_0x25d8be=_0xc48dbc[_0x38d401])&&(_0x55d773=_0x25d8be(_0x55d773)||_0x55d773);return _0x55d773;},ne=(_0x2c7980,_0x2773fa)=>(_0x2186bb,_0x29a8ba)=>_0x2773fa(_0x2186bb,_0x29a8ba,_0x2c7980);exports[_0x45f320(0x2d7)]=class extends st[_0x45f320(0x18e)]{constructor(_0xa1b97,_0x2cc100,_0x2227ca,_0x5880f0,_0x26aad0){const _0x6f3b77=_0x45f320;super(_0xa1b97,_0x2cc100,_0x2227ca,_0x5880f0,_0x26aad0);const _0x4dd7eb=this[_0x6f3b77(0x1dd)][_0x6f3b77(0x11b)](fe);this[_0x6f3b77(0x176)][_0x6f3b77(0x182)]({'interceptor':(_0x4ebeab,_0x4def03)=>{const _0x2be800=_0x6f3b77;var _0x1ae33e;const _0x1cbe9e=_0x4ebeab[_0x2be800(0x1ee)];return(_0x1ae33e=_0x4dd7eb==null?void 0x0:_0x4dd7eb[_0x2be800(0x13c)])!=null&&_0x1ae33e['cookie']&&_0x1cbe9e[_0x2be800(0x12c)]('Cookie',_0x4dd7eb[_0x2be800(0x13c)]['cookie']),_0x4def03(_0x4ebeab);}});}async['createSocket'](_0x5426d5){const _0x23a5a8=_0x45f320;return this[_0x23a5a8(0x246)](_0x5426d5);}},exports[_0x45f320(0x2d7)]=Xt([ne(0x0,A[_0x45f320(0x1af)](A['Injector'])),ne(0x1,A[_0x45f320(0x1af)](it[_0x45f320(0x14a)])),ne(0x2,A[_0x45f320(0x25b)]),ne(0x3,A[_0x45f320(0x14f)]),ne(0x4,Ot[_0x45f320(0x122)])],exports['NodeCollaborationSocketService']),exports[_0x45f320(0x2b5)]=fe;
1
+ 'use strict';const _0x2201aa=_0xce54;(function(_0x1e7981,_0x1ba2e8){const _0x4a49cb=_0xce54,_0x1fddf0=_0x1e7981();while(!![]){try{const _0x4726e1=-parseInt(_0x4a49cb(0x23f))/0x1*(parseInt(_0x4a49cb(0x252))/0x2)+parseInt(_0x4a49cb(0x15c))/0x3*(-parseInt(_0x4a49cb(0x10a))/0x4)+parseInt(_0x4a49cb(0xf3))/0x5+parseInt(_0x4a49cb(0x11e))/0x6*(parseInt(_0x4a49cb(0x288))/0x7)+parseInt(_0x4a49cb(0x1aa))/0x8+-parseInt(_0x4a49cb(0x1f3))/0x9+-parseInt(_0x4a49cb(0x21f))/0xa*(-parseInt(_0x4a49cb(0x20c))/0xb);if(_0x4726e1===_0x1ba2e8)break;else _0x1fddf0['push'](_0x1fddf0['shift']());}catch(_0x5bdaf9){_0x1fddf0['push'](_0x1fddf0['shift']());}}}(_0x1f2d,0x2ecd5));Object[_0x2201aa(0x15f)](exports,Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)});const st=require(_0x2201aa(0x12a)),A=require('@univerjs/core'),it=require(_0x2201aa(0x1fd)),V=require('rxjs'),nt=require('events'),vt=require(_0x2201aa(0x10f)),ot=require('http'),St=require('net'),Et=require(_0x2201aa(0x1ad)),Le=require(_0x2201aa(0x1f5)),oe=require(_0x2201aa(0x284)),xt=require(_0x2201aa(0x132)),bt=require(_0x2201aa(0x219)),wt=require(_0x2201aa(0x259)),Ot=require(_0x2201aa(0x199)),fe=_0x2201aa(0x173),Ct={'customHeaders':{}};function Tt(_0x4934a9){const _0x3778ce=_0x2201aa;return _0x4934a9&&_0x4934a9[_0x3778ce(0x210)]&&Object[_0x3778ce(0x25e)]['hasOwnProperty'][_0x3778ce(0x124)](_0x4934a9,_0x3778ce(0xea))?_0x4934a9[_0x3778ce(0xea)]:_0x4934a9;}function at(_0x4d3790){const _0x1e51ca=_0x2201aa;if(Object[_0x1e51ca(0x25e)]['hasOwnProperty'][_0x1e51ca(0x124)](_0x4d3790,_0x1e51ca(0x210)))return _0x4d3790;var _0x24ae8f=_0x4d3790[_0x1e51ca(0xea)];if(typeof _0x24ae8f=='function'){var _0x5b73a4=function _0x4f303a(){const _0x446b9d=_0x1e51ca;return this instanceof _0x4f303a?Reflect[_0x446b9d(0x21e)](_0x24ae8f,arguments,this[_0x446b9d(0x138)]):_0x24ae8f[_0x446b9d(0x1ed)](this,arguments);};_0x5b73a4[_0x1e51ca(0x25e)]=_0x24ae8f['prototype'];}else _0x5b73a4={};return Object[_0x1e51ca(0x15f)](_0x5b73a4,_0x1e51ca(0x210),{'value':!0x0}),Object['keys'](_0x4d3790)[_0x1e51ca(0x223)](function(_0x59a8bd){const _0x5c3d20=_0x1e51ca;var _0x4e165a=Object['getOwnPropertyDescriptor'](_0x4d3790,_0x59a8bd);Object[_0x5c3d20(0x15f)](_0x5b73a4,_0x59a8bd,_0x4e165a['get']?_0x4e165a:{'enumerable':!0x0,'get':function(){return _0x4d3790[_0x59a8bd];}});}),_0x5b73a4;}var se={'exports':{}},ge,Ge;function H(){const _0x3049e8=_0x2201aa;if(Ge)return ge;Ge=0x1;const _0x187169=[_0x3049e8(0x127),'arraybuffer','fragments'],_0x2be0e9=typeof Blob<'u';return _0x2be0e9&&_0x187169[_0x3049e8(0x100)](_0x3049e8(0x1b7)),ge={'BINARY_TYPES':_0x187169,'EMPTY_BUFFER':Buffer[_0x3049e8(0x19b)](0x0),'GUID':_0x3049e8(0x2ad),'hasBlob':_0x2be0e9,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3049e8(0x240)),'kStatusCode':Symbol(_0x3049e8(0x2ae)),'kWebSocket':Symbol(_0x3049e8(0x250)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2201aa(0x27a)](Object[_0x2201aa(0x15f)]({'__proto__':null,'default':Nt},Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)})),Lt=at(kt);var Ve;function ce(){const _0xb0b3=_0x2201aa;if(Ve)return se[_0xb0b3(0x1e5)];Ve=0x1;const {EMPTY_BUFFER:_0x177a00}=H(),_0x5c6d08=Buffer[Symbol[_0xb0b3(0x27e)]];function _0x1191f9(_0x27961c,_0x259dbc){const _0x40c70e=_0xb0b3;if(_0x27961c[_0x40c70e(0x2a6)]===0x0)return _0x177a00;if(_0x27961c[_0x40c70e(0x2a6)]===0x1)return _0x27961c[0x0];const _0x436700=Buffer[_0x40c70e(0x174)](_0x259dbc);let _0x1d1641=0x0;for(let _0x46af04=0x0;_0x46af04<_0x27961c[_0x40c70e(0x2a6)];_0x46af04++){const _0x350e27=_0x27961c[_0x46af04];_0x436700[_0x40c70e(0x181)](_0x350e27,_0x1d1641),_0x1d1641+=_0x350e27[_0x40c70e(0x2a6)];}return _0x1d1641<_0x259dbc?new _0x5c6d08(_0x436700[_0x40c70e(0x259)],_0x436700[_0x40c70e(0x1a0)],_0x1d1641):_0x436700;}function _0x278837(_0x30da96,_0x36dc3d,_0x4929ac,_0x31fd22,_0x23de66){for(let _0x4af5a9=0x0;_0x4af5a9<_0x23de66;_0x4af5a9++)_0x4929ac[_0x31fd22+_0x4af5a9]=_0x30da96[_0x4af5a9]^_0x36dc3d[_0x4af5a9&0x3];}function _0x2544e8(_0x20a6d0,_0x34826a){for(let _0x10ea8d=0x0;_0x10ea8d<_0x20a6d0['length'];_0x10ea8d++)_0x20a6d0[_0x10ea8d]^=_0x34826a[_0x10ea8d&0x3];}function _0x11c743(_0x4f651c){const _0x3e1f39=_0xb0b3;return _0x4f651c[_0x3e1f39(0x2a6)]===_0x4f651c[_0x3e1f39(0x259)]['byteLength']?_0x4f651c[_0x3e1f39(0x259)]:_0x4f651c[_0x3e1f39(0x259)][_0x3e1f39(0x193)](_0x4f651c[_0x3e1f39(0x1a0)],_0x4f651c[_0x3e1f39(0x1a0)]+_0x4f651c['length']);}function _0x3f03c6(_0x9e83c3){const _0x3dd406=_0xb0b3;if(_0x3f03c6['readOnly']=!0x0,Buffer[_0x3dd406(0x1cb)](_0x9e83c3))return _0x9e83c3;let _0x2fabe3;return _0x9e83c3 instanceof ArrayBuffer?_0x2fabe3=new _0x5c6d08(_0x9e83c3):ArrayBuffer[_0x3dd406(0x122)](_0x9e83c3)?_0x2fabe3=new _0x5c6d08(_0x9e83c3[_0x3dd406(0x259)],_0x9e83c3['byteOffset'],_0x9e83c3[_0x3dd406(0x1c7)]):(_0x2fabe3=Buffer['from'](_0x9e83c3),_0x3f03c6[_0x3dd406(0x191)]=!0x1),_0x2fabe3;}if(se[_0xb0b3(0x1e5)]={'concat':_0x1191f9,'mask':_0x278837,'toArrayBuffer':_0x11c743,'toBuffer':_0x3f03c6,'unmask':_0x2544e8},!process[_0xb0b3(0x1d3)][_0xb0b3(0xe8)])try{const _0x4a465c=Lt;se[_0xb0b3(0x1e5)][_0xb0b3(0x19d)]=function(_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158){const _0x527641=_0xb0b3;_0x589158<0x30?_0x278837(_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158):_0x4a465c[_0x527641(0x19d)](_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158);},se[_0xb0b3(0x1e5)][_0xb0b3(0x1a8)]=function(_0x357036,_0x5cb772){const _0xddbf02=_0xb0b3;_0x357036[_0xddbf02(0x2a6)]<0x20?_0x2544e8(_0x357036,_0x5cb772):_0x4a465c[_0xddbf02(0x1a8)](_0x357036,_0x5cb772);};}catch{}return se[_0xb0b3(0x1e5)];}var ye,He;function Pt(){const _0x21cc76=_0x2201aa;if(He)return ye;He=0x1;const _0x2b03c6=Symbol('kDone'),_0xbec026=Symbol(_0x21cc76(0x1c4));class _0x18fc4d{constructor(_0x552bd7){const _0x177c0c=_0x21cc76;this[_0x2b03c6]=()=>{const _0x1663fe=_0xce54;this[_0x1663fe(0x153)]--,this[_0xbec026]();},this[_0x177c0c(0x1bf)]=_0x552bd7||0x1/0x0,this[_0x177c0c(0x182)]=[],this['pending']=0x0;}[_0x21cc76(0x295)](_0x976d88){const _0x581138=_0x21cc76;this['jobs'][_0x581138(0x100)](_0x976d88),this[_0xbec026]();}[_0xbec026](){const _0x1942f4=_0x21cc76;if(this[_0x1942f4(0x153)]!==this[_0x1942f4(0x1bf)]&&this[_0x1942f4(0x182)][_0x1942f4(0x2a6)]){const _0x2b7a60=this[_0x1942f4(0x182)][_0x1942f4(0x1af)]();this['pending']++,_0x2b7a60(this[_0x2b03c6]);}}}return ye=_0x18fc4d,ye;}var ve,ze;function he(){const _0x1bc691=_0x2201aa;if(ze)return ve;ze=0x1;const _0x18d29e=bt,_0x2e90bd=ce(),_0x9f0dfc=Pt(),{kStatusCode:_0x567850}=H(),_0x8d4ea4=Buffer[Symbol['species']],_0x59f784=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3d71a7=Symbol(_0x1bc691(0x206)),_0x3caf7a=Symbol(_0x1bc691(0xf9)),_0x35dfc3=Symbol(_0x1bc691(0x11c)),_0x496253=Symbol(_0x1bc691(0x1bc)),_0x2bd826=Symbol('error');let _0x4b2a46;class _0x212765{constructor(_0x533498,_0x25cfee,_0x25a38a){const _0x2000e5=_0x1bc691;if(this[_0x2000e5(0x1a6)]=_0x25a38a|0x0,this[_0x2000e5(0x137)]=_0x533498||{},this[_0x2000e5(0x16a)]=this[_0x2000e5(0x137)][_0x2000e5(0x139)]!==void 0x0?this[_0x2000e5(0x137)][_0x2000e5(0x139)]:0x400,this[_0x2000e5(0x280)]=!!_0x25cfee,this[_0x2000e5(0x169)]=null,this[_0x2000e5(0x183)]=null,this['params']=null,!_0x4b2a46){const _0x9a15ed=this[_0x2000e5(0x137)][_0x2000e5(0x26d)]!==void 0x0?this['_options'][_0x2000e5(0x26d)]:0xa;_0x4b2a46=new _0x9f0dfc(_0x9a15ed);}}static get[_0x1bc691(0x143)](){const _0x32f6a4=_0x1bc691;return _0x32f6a4(0x206);}[_0x1bc691(0x272)](){const _0x327965=_0x1bc691,_0x4e03da={};return this[_0x327965(0x137)][_0x327965(0x227)]&&(_0x4e03da[_0x327965(0x289)]=!0x0),this[_0x327965(0x137)]['clientNoContextTakeover']&&(_0x4e03da['client_no_context_takeover']=!0x0),this[_0x327965(0x137)][_0x327965(0x29d)]&&(_0x4e03da[_0x327965(0x1ce)]=this['_options'][_0x327965(0x29d)]),this['_options'][_0x327965(0x161)]?_0x4e03da['client_max_window_bits']=this[_0x327965(0x137)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x4e03da[_0x327965(0x263)]=!0x0),_0x4e03da;}[_0x1bc691(0x217)](_0x4fa70f){const _0x2f9986=_0x1bc691;return _0x4fa70f=this[_0x2f9986(0x1d9)](_0x4fa70f),this[_0x2f9986(0x186)]=this['_isServer']?this[_0x2f9986(0x1d1)](_0x4fa70f):this[_0x2f9986(0x247)](_0x4fa70f),this[_0x2f9986(0x186)];}[_0x1bc691(0x152)](){const _0x4d53e3=_0x1bc691;if(this[_0x4d53e3(0x183)]&&(this[_0x4d53e3(0x183)][_0x4d53e3(0x28c)](),this[_0x4d53e3(0x183)]=null),this[_0x4d53e3(0x169)]){const _0x2108f4=this['_deflate'][_0x35dfc3];this[_0x4d53e3(0x169)][_0x4d53e3(0x28c)](),this['_deflate']=null,_0x2108f4&&_0x2108f4(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1bc691(0x1d1)](_0x5d476d){const _0x51de03=_0x1bc691,_0xa7eff2=this[_0x51de03(0x137)],_0x4b7bae=_0x5d476d[_0x51de03(0x216)](_0x183f37=>!(_0xa7eff2[_0x51de03(0x227)]===!0x1&&_0x183f37[_0x51de03(0x289)]||_0x183f37[_0x51de03(0x1ce)]&&(_0xa7eff2['serverMaxWindowBits']===!0x1||typeof _0xa7eff2[_0x51de03(0x29d)]==_0x51de03(0x125)&&_0xa7eff2[_0x51de03(0x29d)]>_0x183f37[_0x51de03(0x1ce)])||typeof _0xa7eff2['clientMaxWindowBits']=='number'&&!_0x183f37[_0x51de03(0x263)]));if(!_0x4b7bae)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xa7eff2[_0x51de03(0x227)]&&(_0x4b7bae[_0x51de03(0x289)]=!0x0),_0xa7eff2[_0x51de03(0x190)]&&(_0x4b7bae[_0x51de03(0xe9)]=!0x0),typeof _0xa7eff2[_0x51de03(0x29d)]==_0x51de03(0x125)&&(_0x4b7bae[_0x51de03(0x1ce)]=_0xa7eff2['serverMaxWindowBits']),typeof _0xa7eff2['clientMaxWindowBits']==_0x51de03(0x125)?_0x4b7bae[_0x51de03(0x263)]=_0xa7eff2[_0x51de03(0x161)]:(_0x4b7bae[_0x51de03(0x263)]===!0x0||_0xa7eff2[_0x51de03(0x161)]===!0x1)&&delete _0x4b7bae[_0x51de03(0x263)],_0x4b7bae;}[_0x1bc691(0x247)](_0x3bbf92){const _0x1bb2f2=_0x1bc691,_0x1b41a3=_0x3bbf92[0x0];if(this[_0x1bb2f2(0x137)][_0x1bb2f2(0x190)]===!0x1&&_0x1b41a3['client_no_context_takeover'])throw new Error(_0x1bb2f2(0x26a));if(!_0x1b41a3[_0x1bb2f2(0x263)])typeof this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]==_0x1bb2f2(0x125)&&(_0x1b41a3[_0x1bb2f2(0x263)]=this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]);else{if(this[_0x1bb2f2(0x137)]['clientMaxWindowBits']===!0x1||typeof this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]==_0x1bb2f2(0x125)&&_0x1b41a3[_0x1bb2f2(0x263)]>this[_0x1bb2f2(0x137)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1b41a3;}[_0x1bc691(0x1d9)](_0x27b0d8){return _0x27b0d8['forEach'](_0x27f225=>{const _0x1a7957=_0xce54;Object[_0x1a7957(0x185)](_0x27f225)[_0x1a7957(0x223)](_0x465542=>{const _0x10142f=_0x1a7957;let _0x55a5eb=_0x27f225[_0x465542];if(_0x55a5eb[_0x10142f(0x2a6)]>0x1)throw new Error(_0x10142f(0x149)+_0x465542+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x55a5eb=_0x55a5eb[0x0],_0x465542===_0x10142f(0x263)){if(_0x55a5eb!==!0x0){const _0x189874=+_0x55a5eb;if(!Number[_0x10142f(0x277)](_0x189874)||_0x189874<0x8||_0x189874>0xf)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);_0x55a5eb=_0x189874;}else{if(!this[_0x10142f(0x280)])throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);}}else{if(_0x465542==='server_max_window_bits'){const _0x2c3e6e=+_0x55a5eb;if(!Number[_0x10142f(0x277)](_0x2c3e6e)||_0x2c3e6e<0x8||_0x2c3e6e>0xf)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);_0x55a5eb=_0x2c3e6e;}else{if(_0x465542===_0x10142f(0xe9)||_0x465542===_0x10142f(0x289)){if(_0x55a5eb!==!0x0)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);}else throw new Error(_0x10142f(0x12d)+_0x465542+'\x22');}}_0x27f225[_0x465542]=_0x55a5eb;});}),_0x27b0d8;}['decompress'](_0x20aa2a,_0x1e94a4,_0x5e4c59){_0x4b2a46['add'](_0x177d60=>{this['_decompress'](_0x20aa2a,_0x1e94a4,(_0x3c031c,_0x472230)=>{_0x177d60(),_0x5e4c59(_0x3c031c,_0x472230);});});}[_0x1bc691(0x126)](_0x3a7d8e,_0x3d9267,_0x21b180){const _0x2f8487=_0x1bc691;_0x4b2a46[_0x2f8487(0x295)](_0x5f3851=>{const _0x4eff55=_0x2f8487;this[_0x4eff55(0x264)](_0x3a7d8e,_0x3d9267,(_0x11a6f5,_0xeeb65b)=>{_0x5f3851(),_0x21b180(_0x11a6f5,_0xeeb65b);});});}[_0x1bc691(0x18d)](_0x32980d,_0xb3476f,_0x37a917){const _0x437609=_0x1bc691,_0x23fa55=this[_0x437609(0x280)]?_0x437609(0x1db):_0x437609(0x11d);if(!this[_0x437609(0x183)]){const _0x1e7d2f=_0x23fa55+_0x437609(0x146),_0x2e149b=typeof this['params'][_0x1e7d2f]!=_0x437609(0x125)?_0x18d29e['Z_DEFAULT_WINDOWBITS']:this[_0x437609(0x186)][_0x1e7d2f];this['_inflate']=_0x18d29e[_0x437609(0x29e)]({...this[_0x437609(0x137)]['zlibInflateOptions'],'windowBits':_0x2e149b}),this[_0x437609(0x183)][_0x3d71a7]=this,this[_0x437609(0x183)][_0x3caf7a]=0x0,this['_inflate'][_0x496253]=[],this[_0x437609(0x183)]['on'](_0x437609(0x1d0),_0x5e690c),this['_inflate']['on']('data',_0x4b2f4a);}this['_inflate'][_0x35dfc3]=_0x37a917,this[_0x437609(0x183)][_0x437609(0x1e6)](_0x32980d),_0xb3476f&&this[_0x437609(0x183)][_0x437609(0x1e6)](_0x59f784),this[_0x437609(0x183)][_0x437609(0x245)](()=>{const _0x208a38=_0x437609,_0x340cff=this[_0x208a38(0x183)][_0x2bd826];if(_0x340cff){this[_0x208a38(0x183)][_0x208a38(0x28c)](),this[_0x208a38(0x183)]=null,_0x37a917(_0x340cff);return;}const _0x550380=_0x2e90bd[_0x208a38(0x24e)](this[_0x208a38(0x183)][_0x496253],this[_0x208a38(0x183)][_0x3caf7a]);this[_0x208a38(0x183)][_0x208a38(0x113)]['endEmitted']?(this[_0x208a38(0x183)][_0x208a38(0x28c)](),this[_0x208a38(0x183)]=null):(this[_0x208a38(0x183)][_0x3caf7a]=0x0,this[_0x208a38(0x183)][_0x496253]=[],_0xb3476f&&this[_0x208a38(0x186)][_0x23fa55+_0x208a38(0x297)]&&this[_0x208a38(0x183)][_0x208a38(0x1b3)]()),_0x37a917(null,_0x550380);});}[_0x1bc691(0x264)](_0x54d8df,_0x34c4a9,_0x3d4dba){const _0x4ec6fc=_0x1bc691,_0x2d1446=this[_0x4ec6fc(0x280)]?_0x4ec6fc(0x11d):_0x4ec6fc(0x1db);if(!this[_0x4ec6fc(0x169)]){const _0x54b027=_0x2d1446+'_max_window_bits',_0x31166d=typeof this[_0x4ec6fc(0x186)][_0x54b027]!='number'?_0x18d29e[_0x4ec6fc(0x23b)]:this[_0x4ec6fc(0x186)][_0x54b027];this['_deflate']=_0x18d29e['createDeflateRaw']({...this[_0x4ec6fc(0x137)][_0x4ec6fc(0x1a4)],'windowBits':_0x31166d}),this[_0x4ec6fc(0x169)][_0x3caf7a]=0x0,this[_0x4ec6fc(0x169)][_0x496253]=[],this[_0x4ec6fc(0x169)]['on']('data',_0x5deb91);}this[_0x4ec6fc(0x169)][_0x35dfc3]=_0x3d4dba,this['_deflate']['write'](_0x54d8df),this[_0x4ec6fc(0x169)][_0x4ec6fc(0x245)](_0x18d29e[_0x4ec6fc(0x27b)],()=>{const _0x1812ef=_0x4ec6fc;if(!this['_deflate'])return;let _0x1885f2=_0x2e90bd[_0x1812ef(0x24e)](this[_0x1812ef(0x169)][_0x496253],this[_0x1812ef(0x169)][_0x3caf7a]);_0x34c4a9&&(_0x1885f2=new _0x8d4ea4(_0x1885f2[_0x1812ef(0x259)],_0x1885f2[_0x1812ef(0x1a0)],_0x1885f2['length']-0x4)),this[_0x1812ef(0x169)][_0x35dfc3]=null,this[_0x1812ef(0x169)][_0x3caf7a]=0x0,this[_0x1812ef(0x169)][_0x496253]=[],_0x34c4a9&&this['params'][_0x2d1446+_0x1812ef(0x297)]&&this['_deflate'][_0x1812ef(0x1b3)](),_0x3d4dba(null,_0x1885f2);});}}ve=_0x212765;function _0x5deb91(_0x400cd3){const _0x1516ca=_0x1bc691;this[_0x496253][_0x1516ca(0x100)](_0x400cd3),this[_0x3caf7a]+=_0x400cd3[_0x1516ca(0x2a6)];}function _0x4b2f4a(_0x388fe6){const _0x4f1ceb=_0x1bc691;if(this[_0x3caf7a]+=_0x388fe6[_0x4f1ceb(0x2a6)],this[_0x3d71a7][_0x4f1ceb(0x1a6)]<0x1||this[_0x3caf7a]<=this[_0x3d71a7][_0x4f1ceb(0x1a6)]){this[_0x496253][_0x4f1ceb(0x100)](_0x388fe6);return;}this[_0x2bd826]=new RangeError(_0x4f1ceb(0x29a)),this[_0x2bd826]['code']=_0x4f1ceb(0x16f),this[_0x2bd826][_0x567850]=0x3f1,this[_0x4f1ceb(0x134)](_0x4f1ceb(0x130),_0x4b2f4a),this[_0x4f1ceb(0x1b3)]();}function _0x5e690c(_0x5bffb4){const _0x8aa755=_0x1bc691;if(this[_0x3d71a7][_0x8aa755(0x183)]=null,this[_0x2bd826]){this[_0x35dfc3](this[_0x2bd826]);return;}_0x5bffb4[_0x567850]=0x3ef,this[_0x35dfc3](_0x5bffb4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)})),Bt=at(Rt);var Ye;function ae(){const _0x245791=_0x2201aa;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1db246}=wt,{hasBlob:_0x3e327b}=H(),_0x51d722=[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 _0x1abc2b(_0x5b2a53){return _0x5b2a53>=0x3e8&&_0x5b2a53<=0x3f6&&_0x5b2a53!==0x3ec&&_0x5b2a53!==0x3ed&&_0x5b2a53!==0x3ee||_0x5b2a53>=0xbb8&&_0x5b2a53<=0x1387;}function _0x167b47(_0x22e22f){const _0x5a1589=_0x22e22f['length'];let _0x24da47=0x0;for(;_0x24da47<_0x5a1589;)if((_0x22e22f[_0x24da47]&0x80)===0x0)_0x24da47++;else{if((_0x22e22f[_0x24da47]&0xe0)===0xc0){if(_0x24da47+0x1===_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47]&0xfe)===0xc0)return!0x1;_0x24da47+=0x2;}else{if((_0x22e22f[_0x24da47]&0xf0)===0xe0){if(_0x24da47+0x2>=_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x2]&0xc0)!==0x80||_0x22e22f[_0x24da47]===0xe0&&(_0x22e22f[_0x24da47+0x1]&0xe0)===0x80||_0x22e22f[_0x24da47]===0xed&&(_0x22e22f[_0x24da47+0x1]&0xe0)===0xa0)return!0x1;_0x24da47+=0x3;}else{if((_0x22e22f[_0x24da47]&0xf8)===0xf0){if(_0x24da47+0x3>=_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x2]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x3]&0xc0)!==0x80||_0x22e22f[_0x24da47]===0xf0&&(_0x22e22f[_0x24da47+0x1]&0xf0)===0x80||_0x22e22f[_0x24da47]===0xf4&&_0x22e22f[_0x24da47+0x1]>0x8f||_0x22e22f[_0x24da47]>0xf4)return!0x1;_0x24da47+=0x4;}else return!0x1;}}}return!0x0;}function _0x5a2b33(_0xab7c96){const _0x24772f=_0xce54;return _0x3e327b&&typeof _0xab7c96==_0x24772f(0x212)&&typeof _0xab7c96[_0x24772f(0xf8)]==_0x24772f(0x29f)&&typeof _0xab7c96[_0x24772f(0x1a1)]==_0x24772f(0x25f)&&typeof _0xab7c96[_0x24772f(0x284)]==_0x24772f(0x29f)&&(_0xab7c96[Symbol[_0x24772f(0x12e)]]==='Blob'||_0xab7c96[Symbol[_0x24772f(0x12e)]]===_0x24772f(0x19c));}if(ie[_0x245791(0x1e5)]={'isBlob':_0x5a2b33,'isValidStatusCode':_0x1abc2b,'isValidUTF8':_0x167b47,'tokenChars':_0x51d722},_0x1db246)ie['exports']['isValidUTF8']=function(_0x5dc8a2){const _0x2b2127=_0x245791;return _0x5dc8a2[_0x2b2127(0x2a6)]<0x18?_0x167b47(_0x5dc8a2):_0x1db246(_0x5dc8a2);};else{if(!process[_0x245791(0x1d3)]['WS_NO_UTF_8_VALIDATE'])try{const _0x44c67f=Bt;ie['exports'][_0x245791(0x26e)]=function(_0x30cad6){const _0x348e76=_0x245791;return _0x30cad6[_0x348e76(0x2a6)]<0x20?_0x167b47(_0x30cad6):_0x44c67f(_0x30cad6);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x49ed48=_0x2201aa;if(Ke)return Se;Ke=0x1;const {Writable:_0x54b4fc}=oe,_0x51377b=he(),{BINARY_TYPES:_0x2deadf,EMPTY_BUFFER:_0x13d257,kStatusCode:_0x9e8702,kWebSocket:_0x4b5e32}=H(),{concat:_0x3f9f3f,toArrayBuffer:_0x4d2ce5,unmask:_0x4e3bbe}=ce(),{isValidStatusCode:_0x5a247b,isValidUTF8:_0x12fde6}=ae(),_0xc3970e=Buffer[Symbol[_0x49ed48(0x27e)]],_0x149b22=0x0,_0x52b08c=0x1,_0x3132f8=0x2,_0x1bfdf5=0x3,_0xbaf34b=0x4,_0x5e5c50=0x5,_0x269c69=0x6;class _0x479cf0 extends _0x54b4fc{constructor(_0x351193={}){const _0x1475eb=_0x49ed48;super(),this[_0x1475eb(0x157)]=_0x351193['allowSynchronousEvents']!==void 0x0?_0x351193[_0x1475eb(0x17c)]:!0x0,this[_0x1475eb(0xee)]=_0x351193[_0x1475eb(0x1cf)]||_0x2deadf[0x0],this[_0x1475eb(0x21d)]=_0x351193[_0x1475eb(0xef)]||{},this[_0x1475eb(0x280)]=!!_0x351193[_0x1475eb(0x268)],this[_0x1475eb(0x1a6)]=_0x351193[_0x1475eb(0x296)]|0x0,this[_0x1475eb(0x195)]=!!_0x351193[_0x1475eb(0x102)],this[_0x4b5e32]=void 0x0,this[_0x1475eb(0x278)]=0x0,this[_0x1475eb(0x12c)]=[],this[_0x1475eb(0x211)]=!0x1,this['_payloadLength']=0x0,this[_0x1475eb(0x258)]=void 0x0,this[_0x1475eb(0x1ba)]=0x0,this[_0x1475eb(0x220)]=!0x1,this['_fin']=!0x1,this[_0x1475eb(0x1f1)]=0x0,this[_0x1475eb(0x175)]=0x0,this[_0x1475eb(0x154)]=0x0,this[_0x1475eb(0x1f4)]=[],this[_0x1475eb(0x214)]=!0x1,this[_0x1475eb(0x24a)]=!0x1,this['_state']=_0x149b22;}['_write'](_0x36a54a,_0x51a987,_0x3b3a64){const _0x2ae9e4=_0x49ed48;if(this['_opcode']===0x8&&this[_0x2ae9e4(0x275)]==_0x149b22)return _0x3b3a64();this['_bufferedBytes']+=_0x36a54a['length'],this[_0x2ae9e4(0x12c)]['push'](_0x36a54a),this[_0x2ae9e4(0x1cd)](_0x3b3a64);}[_0x49ed48(0x24d)](_0x21c18f){const _0x354ad7=_0x49ed48;if(this[_0x354ad7(0x278)]-=_0x21c18f,_0x21c18f===this['_buffers'][0x0]['length'])return this[_0x354ad7(0x12c)][_0x354ad7(0x1af)]();if(_0x21c18f<this['_buffers'][0x0][_0x354ad7(0x2a6)]){const _0x5129f8=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0xc3970e(_0x5129f8[_0x354ad7(0x259)],_0x5129f8['byteOffset']+_0x21c18f,_0x5129f8[_0x354ad7(0x2a6)]-_0x21c18f),new _0xc3970e(_0x5129f8['buffer'],_0x5129f8['byteOffset'],_0x21c18f);}const _0x25ba44=Buffer[_0x354ad7(0x174)](_0x21c18f);do{const _0x19c755=this['_buffers'][0x0],_0x377264=_0x25ba44[_0x354ad7(0x2a6)]-_0x21c18f;_0x21c18f>=_0x19c755['length']?_0x25ba44['set'](this[_0x354ad7(0x12c)]['shift'](),_0x377264):(_0x25ba44[_0x354ad7(0x181)](new Uint8Array(_0x19c755[_0x354ad7(0x259)],_0x19c755[_0x354ad7(0x1a0)],_0x21c18f),_0x377264),this[_0x354ad7(0x12c)][0x0]=new _0xc3970e(_0x19c755[_0x354ad7(0x259)],_0x19c755[_0x354ad7(0x1a0)]+_0x21c18f,_0x19c755['length']-_0x21c18f)),_0x21c18f-=_0x19c755[_0x354ad7(0x2a6)];}while(_0x21c18f>0x0);return _0x25ba44;}[_0x49ed48(0x1cd)](_0xfc7799){const _0x22b32d=_0x49ed48;this['_loop']=!0x0;do switch(this[_0x22b32d(0x275)]){case _0x149b22:this[_0x22b32d(0x1ca)](_0xfc7799);break;case _0x52b08c:this[_0x22b32d(0xf6)](_0xfc7799);break;case _0x3132f8:this[_0x22b32d(0x162)](_0xfc7799);break;case _0x1bfdf5:this[_0x22b32d(0x13d)]();break;case _0xbaf34b:this[_0x22b32d(0x246)](_0xfc7799);break;case _0x5e5c50:case _0x269c69:this[_0x22b32d(0x24a)]=!0x1;return;}while(this['_loop']);this[_0x22b32d(0x214)]||_0xfc7799();}[_0x49ed48(0x1ca)](_0x4f4e3b){const _0x4e9adf=_0x49ed48;if(this['_bufferedBytes']<0x2){this[_0x4e9adf(0x24a)]=!0x1;return;}const _0x265a16=this[_0x4e9adf(0x24d)](0x2);if((_0x265a16[0x0]&0x30)!==0x0){const _0x5ab11b=this['createError'](RangeError,_0x4e9adf(0x254),!0x0,0x3ea,_0x4e9adf(0x17f));_0x4f4e3b(_0x5ab11b);return;}const _0x11e982=(_0x265a16[0x0]&0x40)===0x40;if(_0x11e982&&!this['_extensions'][_0x51377b[_0x4e9adf(0x143)]]){const _0x17794e=this[_0x4e9adf(0x213)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e9adf(0x1bd));_0x4f4e3b(_0x17794e);return;}if(this[_0x4e9adf(0x23e)]=(_0x265a16[0x0]&0x80)===0x80,this[_0x4e9adf(0x1f1)]=_0x265a16[0x0]&0xf,this['_payloadLength']=_0x265a16[0x1]&0x7f,this['_opcode']===0x0){if(_0x11e982){const _0x103b6b=this[_0x4e9adf(0x213)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e9adf(0x1bd));_0x4f4e3b(_0x103b6b);return;}if(!this['_fragmented']){const _0x3a2452=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x3a2452);return;}this[_0x4e9adf(0x1f1)]=this['_fragmented'];}else{if(this[_0x4e9adf(0x1f1)]===0x1||this[_0x4e9adf(0x1f1)]===0x2){if(this['_fragmented']){const _0x1efc00=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x299)+this[_0x4e9adf(0x1f1)],!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x1efc00);return;}this['_compressed']=_0x11e982;}else{if(this[_0x4e9adf(0x1f1)]>0x7&&this['_opcode']<0xb){if(!this[_0x4e9adf(0x23e)]){const _0x4dcbd7=this['createError'](RangeError,_0x4e9adf(0x202),!0x0,0x3ea,_0x4e9adf(0x2a1));_0x4f4e3b(_0x4dcbd7);return;}if(_0x11e982){const _0x2e3226=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4f4e3b(_0x2e3226);return;}if(this[_0x4e9adf(0x15a)]>0x7d||this[_0x4e9adf(0x1f1)]===0x8&&this[_0x4e9adf(0x15a)]===0x1){const _0x33d259=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x225)+this[_0x4e9adf(0x15a)],!0x0,0x3ea,_0x4e9adf(0x232));_0x4f4e3b(_0x33d259);return;}}else{const _0x4ea92f=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x299)+this['_opcode'],!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x4ea92f);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x4e9adf(0x1ba)]=this[_0x4e9adf(0x1f1)]),this[_0x4e9adf(0x220)]=(_0x265a16[0x1]&0x80)===0x80,this[_0x4e9adf(0x280)]){if(!this[_0x4e9adf(0x220)]){const _0x227dca=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x110),!0x0,0x3ea,_0x4e9adf(0x12b));_0x4f4e3b(_0x227dca);return;}}else{if(this['_masked']){const _0x4595e3=this['createError'](RangeError,_0x4e9adf(0x123),!0x0,0x3ea,_0x4e9adf(0x119));_0x4f4e3b(_0x4595e3);return;}}this[_0x4e9adf(0x15a)]===0x7e?this[_0x4e9adf(0x275)]=_0x52b08c:this[_0x4e9adf(0x15a)]===0x7f?this[_0x4e9adf(0x275)]=_0x3132f8:this['haveLength'](_0x4f4e3b);}[_0x49ed48(0xf6)](_0x4cef1d){const _0x5bd766=_0x49ed48;if(this[_0x5bd766(0x278)]<0x2){this['_loop']=!0x1;return;}this[_0x5bd766(0x15a)]=this[_0x5bd766(0x24d)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4cef1d);}[_0x49ed48(0x162)](_0x315486){const _0x2d17b6=_0x49ed48;if(this['_bufferedBytes']<0x8){this[_0x2d17b6(0x24a)]=!0x1;return;}const _0x34a5d7=this[_0x2d17b6(0x24d)](0x8),_0x48dc8e=_0x34a5d7[_0x2d17b6(0x1a2)](0x0);if(_0x48dc8e>Math[_0x2d17b6(0xeb)](0x2,0x15)-0x1){const _0x5df176=this['createError'](RangeError,_0x2d17b6(0x298),!0x1,0x3f1,_0x2d17b6(0x25a));_0x315486(_0x5df176);return;}this[_0x2d17b6(0x15a)]=_0x48dc8e*Math[_0x2d17b6(0xeb)](0x2,0x20)+_0x34a5d7[_0x2d17b6(0x1a2)](0x4),this['haveLength'](_0x315486);}[_0x49ed48(0x1f0)](_0x667e7b){const _0x2ad85d=_0x49ed48;if(this[_0x2ad85d(0x15a)]&&this[_0x2ad85d(0x1f1)]<0x8&&(this[_0x2ad85d(0x175)]+=this[_0x2ad85d(0x15a)],this['_totalPayloadLength']>this[_0x2ad85d(0x1a6)]&&this[_0x2ad85d(0x1a6)]>0x0)){const _0x2bc5bb=this[_0x2ad85d(0x213)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2ad85d(0x16f));_0x667e7b(_0x2bc5bb);return;}this['_masked']?this['_state']=_0x1bfdf5:this[_0x2ad85d(0x275)]=_0xbaf34b;}[_0x49ed48(0x13d)](){const _0x49b61c=_0x49ed48;if(this[_0x49b61c(0x278)]<0x4){this[_0x49b61c(0x24a)]=!0x1;return;}this['_mask']=this[_0x49b61c(0x24d)](0x4),this['_state']=_0xbaf34b;}['getData'](_0x55dbdf){const _0xdb2055=_0x49ed48;let _0x289e1f=_0x13d257;if(this['_payloadLength']){if(this[_0xdb2055(0x278)]<this['_payloadLength']){this[_0xdb2055(0x24a)]=!0x1;return;}_0x289e1f=this[_0xdb2055(0x24d)](this[_0xdb2055(0x15a)]),this[_0xdb2055(0x220)]&&(this[_0xdb2055(0x258)][0x0]|this[_0xdb2055(0x258)][0x1]|this[_0xdb2055(0x258)][0x2]|this['_mask'][0x3])!==0x0&&_0x4e3bbe(_0x289e1f,this[_0xdb2055(0x258)]);}if(this['_opcode']>0x7){this[_0xdb2055(0x25b)](_0x289e1f,_0x55dbdf);return;}if(this[_0xdb2055(0x211)]){this[_0xdb2055(0x275)]=_0x5e5c50,this[_0xdb2055(0x260)](_0x289e1f,_0x55dbdf);return;}_0x289e1f[_0xdb2055(0x2a6)]&&(this['_messageLength']=this[_0xdb2055(0x175)],this[_0xdb2055(0x1f4)][_0xdb2055(0x100)](_0x289e1f)),this['dataMessage'](_0x55dbdf);}[_0x49ed48(0x260)](_0x216fb2,_0x154102){const _0x770e41=_0x49ed48;this['_extensions'][_0x51377b[_0x770e41(0x143)]][_0x770e41(0x260)](_0x216fb2,this[_0x770e41(0x23e)],(_0x1c823c,_0x5fcac5)=>{const _0x4e91e7=_0x770e41;if(_0x1c823c)return _0x154102(_0x1c823c);if(_0x5fcac5[_0x4e91e7(0x2a6)]){if(this['_messageLength']+=_0x5fcac5[_0x4e91e7(0x2a6)],this[_0x4e91e7(0x154)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x26c47d=this[_0x4e91e7(0x213)](RangeError,_0x4e91e7(0x29a),!0x1,0x3f1,_0x4e91e7(0x16f));_0x154102(_0x26c47d);return;}this[_0x4e91e7(0x1f4)]['push'](_0x5fcac5);}this[_0x4e91e7(0x285)](_0x154102),this[_0x4e91e7(0x275)]===_0x149b22&&this['startLoop'](_0x154102);});}[_0x49ed48(0x285)](_0x1f68a3){const _0x5cc5bb=_0x49ed48;if(!this[_0x5cc5bb(0x23e)]){this['_state']=_0x149b22;return;}const _0x45787b=this['_messageLength'],_0x3132f3=this[_0x5cc5bb(0x1f4)];if(this[_0x5cc5bb(0x175)]=0x0,this[_0x5cc5bb(0x154)]=0x0,this['_fragmented']=0x0,this[_0x5cc5bb(0x1f4)]=[],this[_0x5cc5bb(0x1f1)]===0x2){let _0x399f01;this[_0x5cc5bb(0xee)]===_0x5cc5bb(0x127)?_0x399f01=_0x3f9f3f(_0x3132f3,_0x45787b):this['_binaryType']===_0x5cc5bb(0x207)?_0x399f01=_0x4d2ce5(_0x3f9f3f(_0x3132f3,_0x45787b)):this[_0x5cc5bb(0xee)]===_0x5cc5bb(0x1b7)?_0x399f01=new Blob(_0x3132f3):_0x399f01=_0x3132f3,this[_0x5cc5bb(0x157)]?(this[_0x5cc5bb(0x166)](_0x5cc5bb(0x270),_0x399f01,!0x0),this[_0x5cc5bb(0x275)]=_0x149b22):(this[_0x5cc5bb(0x275)]=_0x269c69,setImmediate(()=>{const _0x1e9b03=_0x5cc5bb;this[_0x1e9b03(0x166)](_0x1e9b03(0x270),_0x399f01,!0x0),this['_state']=_0x149b22,this[_0x1e9b03(0x1cd)](_0x1f68a3);}));}else{const _0x73d282=_0x3f9f3f(_0x3132f3,_0x45787b);if(!this['_skipUTF8Validation']&&!_0x12fde6(_0x73d282)){const _0x51303e=this[_0x5cc5bb(0x213)](Error,_0x5cc5bb(0x1e9),!0x0,0x3ef,_0x5cc5bb(0x20e));_0x1f68a3(_0x51303e);return;}this['_state']===_0x5e5c50||this[_0x5cc5bb(0x157)]?(this[_0x5cc5bb(0x166)]('message',_0x73d282,!0x1),this[_0x5cc5bb(0x275)]=_0x149b22):(this[_0x5cc5bb(0x275)]=_0x269c69,setImmediate(()=>{const _0x2d519a=_0x5cc5bb;this['emit']('message',_0x73d282,!0x1),this['_state']=_0x149b22,this[_0x2d519a(0x1cd)](_0x1f68a3);}));}}[_0x49ed48(0x25b)](_0x13dbf1,_0x3a4c83){const _0x24555b=_0x49ed48;if(this[_0x24555b(0x1f1)]===0x8){if(_0x13dbf1[_0x24555b(0x2a6)]===0x0)this['_loop']=!0x1,this[_0x24555b(0x166)](_0x24555b(0x12f),0x3ed,_0x13d257),this['end']();else{const _0x118c0b=_0x13dbf1[_0x24555b(0x256)](0x0);if(!_0x5a247b(_0x118c0b)){const _0x29ab90=this[_0x24555b(0x213)](RangeError,_0x24555b(0x267)+_0x118c0b,!0x0,0x3ea,_0x24555b(0x179));_0x3a4c83(_0x29ab90);return;}const _0x54c318=new _0xc3970e(_0x13dbf1[_0x24555b(0x259)],_0x13dbf1[_0x24555b(0x1a0)]+0x2,_0x13dbf1[_0x24555b(0x2a6)]-0x2);if(!this[_0x24555b(0x195)]&&!_0x12fde6(_0x54c318)){const _0x5555d1=this['createError'](Error,_0x24555b(0x1e9),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3a4c83(_0x5555d1);return;}this['_loop']=!0x1,this['emit'](_0x24555b(0x12f),_0x118c0b,_0x54c318),this[_0x24555b(0x1bb)]();}this['_state']=_0x149b22;return;}this[_0x24555b(0x157)]?(this[_0x24555b(0x166)](this[_0x24555b(0x1f1)]===0x9?_0x24555b(0x237):_0x24555b(0x2b0),_0x13dbf1),this[_0x24555b(0x275)]=_0x149b22):(this[_0x24555b(0x275)]=_0x269c69,setImmediate(()=>{const _0x574464=_0x24555b;this[_0x574464(0x166)](this[_0x574464(0x1f1)]===0x9?_0x574464(0x237):'pong',_0x13dbf1),this[_0x574464(0x275)]=_0x149b22,this[_0x574464(0x1cd)](_0x3a4c83);}));}['createError'](_0x4fb1dc,_0x4e0748,_0x3bc970,_0x4814a6,_0x2eef1a){const _0x32ca32=_0x49ed48;this[_0x32ca32(0x24a)]=!0x1,this[_0x32ca32(0x214)]=!0x0;const _0x29fc2a=new _0x4fb1dc(_0x3bc970?_0x32ca32(0x20b)+_0x4e0748:_0x4e0748);return Error[_0x32ca32(0x2a2)](_0x29fc2a,this[_0x32ca32(0x213)]),_0x29fc2a['code']=_0x2eef1a,_0x29fc2a[_0x9e8702]=_0x4814a6,_0x29fc2a;}}return Se=_0x479cf0,Se;}var Ee,Xe;function ft(){const _0x7dee60=_0x2201aa;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x91c9c8}=oe,{randomFillSync:_0x4f93b7}=Le,_0x4dc1c5=he(),{EMPTY_BUFFER:_0x5525d1,kWebSocket:_0x21e97e,NOOP:_0x19a806}=H(),{isBlob:_0x540977,isValidStatusCode:_0x26be47}=ae(),{mask:_0x20f55f,toBuffer:_0x524f63}=ce(),_0x3706f3=Symbol('kByteLength'),_0x295075=Buffer['alloc'](0x4),_0x132c60=0x8*0x400;let _0x322714,_0x1b7661=_0x132c60;const _0x5ce105=0x0,_0x4538af=0x1,_0x248118=0x2;class _0x4ae71e{constructor(_0x4a416e,_0x471ba0,_0x1e2737){const _0x33f81d=_0xce54;this[_0x33f81d(0x21d)]=_0x471ba0||{},_0x1e2737&&(this['_generateMask']=_0x1e2737,this['_maskBuffer']=Buffer[_0x33f81d(0x19b)](0x4)),this[_0x33f81d(0x163)]=_0x4a416e,this[_0x33f81d(0x188)]=!0x0,this['_compress']=!0x1,this[_0x33f81d(0x278)]=0x0,this['_queue']=[],this[_0x33f81d(0x275)]=_0x5ce105,this[_0x33f81d(0x19e)]=_0x19a806,this[_0x21e97e]=void 0x0;}static[_0x7dee60(0xfc)](_0x461c83,_0x4d5386){const _0xb4cc50=_0x7dee60;let _0x3c4363,_0x445086=!0x1,_0x886853=0x2,_0x983bd1=!0x1;_0x4d5386[_0xb4cc50(0x19d)]&&(_0x3c4363=_0x4d5386[_0xb4cc50(0x1c1)]||_0x295075,_0x4d5386[_0xb4cc50(0x194)]?_0x4d5386[_0xb4cc50(0x194)](_0x3c4363):(_0x1b7661===_0x132c60&&(_0x322714===void 0x0&&(_0x322714=Buffer[_0xb4cc50(0x19b)](_0x132c60)),_0x4f93b7(_0x322714,0x0,_0x132c60),_0x1b7661=0x0),_0x3c4363[0x0]=_0x322714[_0x1b7661++],_0x3c4363[0x1]=_0x322714[_0x1b7661++],_0x3c4363[0x2]=_0x322714[_0x1b7661++],_0x3c4363[0x3]=_0x322714[_0x1b7661++]),_0x983bd1=(_0x3c4363[0x0]|_0x3c4363[0x1]|_0x3c4363[0x2]|_0x3c4363[0x3])===0x0,_0x886853=0x6);let _0x52ebab;typeof _0x461c83=='string'?(!_0x4d5386[_0xb4cc50(0x19d)]||_0x983bd1)&&_0x4d5386[_0x3706f3]!==void 0x0?_0x52ebab=_0x4d5386[_0x3706f3]:(_0x461c83=Buffer['from'](_0x461c83),_0x52ebab=_0x461c83[_0xb4cc50(0x2a6)]):(_0x52ebab=_0x461c83['length'],_0x445086=_0x4d5386[_0xb4cc50(0x19d)]&&_0x4d5386[_0xb4cc50(0x191)]&&!_0x983bd1);let _0x162e6b=_0x52ebab;_0x52ebab>=0x10000?(_0x886853+=0x8,_0x162e6b=0x7f):_0x52ebab>0x7d&&(_0x886853+=0x2,_0x162e6b=0x7e);const _0x292c3b=Buffer['allocUnsafe'](_0x445086?_0x52ebab+_0x886853:_0x886853);return _0x292c3b[0x0]=_0x4d5386['fin']?_0x4d5386['opcode']|0x80:_0x4d5386[_0xb4cc50(0x13b)],_0x4d5386[_0xb4cc50(0x22a)]&&(_0x292c3b[0x0]|=0x40),_0x292c3b[0x1]=_0x162e6b,_0x162e6b===0x7e?_0x292c3b[_0xb4cc50(0x271)](_0x52ebab,0x2):_0x162e6b===0x7f&&(_0x292c3b[0x2]=_0x292c3b[0x3]=0x0,_0x292c3b['writeUIntBE'](_0x52ebab,0x4,0x6)),_0x4d5386[_0xb4cc50(0x19d)]?(_0x292c3b[0x1]|=0x80,_0x292c3b[_0x886853-0x4]=_0x3c4363[0x0],_0x292c3b[_0x886853-0x3]=_0x3c4363[0x1],_0x292c3b[_0x886853-0x2]=_0x3c4363[0x2],_0x292c3b[_0x886853-0x1]=_0x3c4363[0x3],_0x983bd1?[_0x292c3b,_0x461c83]:_0x445086?(_0x20f55f(_0x461c83,_0x3c4363,_0x292c3b,_0x886853,_0x52ebab),[_0x292c3b]):(_0x20f55f(_0x461c83,_0x3c4363,_0x461c83,0x0,_0x52ebab),[_0x292c3b,_0x461c83])):[_0x292c3b,_0x461c83];}[_0x7dee60(0x28c)](_0x147a5c,_0x39eb5b,_0x105eae,_0x3192f5){const _0x3930de=_0x7dee60;let _0x37c848;if(_0x147a5c===void 0x0)_0x37c848=_0x5525d1;else{if(typeof _0x147a5c!=_0x3930de(0x125)||!_0x26be47(_0x147a5c))throw new TypeError(_0x3930de(0x25d));if(_0x39eb5b===void 0x0||!_0x39eb5b['length'])_0x37c848=Buffer[_0x3930de(0x174)](0x2),_0x37c848[_0x3930de(0x271)](_0x147a5c,0x0);else{const _0x1a9cc5=Buffer['byteLength'](_0x39eb5b);if(_0x1a9cc5>0x7b)throw new RangeError(_0x3930de(0x255));_0x37c848=Buffer[_0x3930de(0x174)](0x2+_0x1a9cc5),_0x37c848[_0x3930de(0x271)](_0x147a5c,0x0),typeof _0x39eb5b==_0x3930de(0x25f)?_0x37c848[_0x3930de(0x1e6)](_0x39eb5b,0x2):_0x37c848[_0x3930de(0x181)](_0x39eb5b,0x2);}}const _0xd66c6f={[_0x3706f3]:_0x37c848[_0x3930de(0x2a6)],'fin':!0x0,'generateMask':this[_0x3930de(0x112)],'mask':_0x105eae,'maskBuffer':this[_0x3930de(0x197)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3930de(0x275)]!==_0x5ce105?this['enqueue']([this['dispatch'],_0x37c848,!0x1,_0xd66c6f,_0x3192f5]):this[_0x3930de(0x1b0)](_0x4ae71e[_0x3930de(0xfc)](_0x37c848,_0xd66c6f),_0x3192f5);}[_0x7dee60(0x237)](_0x2f2040,_0x94f130,_0x56eef7){const _0x2e1247=_0x7dee60;let _0x5e0561,_0x275391;if(typeof _0x2f2040==_0x2e1247(0x25f)?(_0x5e0561=Buffer[_0x2e1247(0x1c7)](_0x2f2040),_0x275391=!0x1):_0x540977(_0x2f2040)?(_0x5e0561=_0x2f2040[_0x2e1247(0x1e1)],_0x275391=!0x1):(_0x2f2040=_0x524f63(_0x2f2040),_0x5e0561=_0x2f2040[_0x2e1247(0x2a6)],_0x275391=_0x524f63[_0x2e1247(0x191)]),_0x5e0561>0x7d)throw new RangeError(_0x2e1247(0x13c));const _0x321c0a={[_0x3706f3]:_0x5e0561,'fin':!0x0,'generateMask':this[_0x2e1247(0x112)],'mask':_0x94f130,'maskBuffer':this[_0x2e1247(0x197)],'opcode':0x9,'readOnly':_0x275391,'rsv1':!0x1};_0x540977(_0x2f2040)?this[_0x2e1247(0x275)]!==_0x5ce105?this['enqueue']([this[_0x2e1247(0x14d)],_0x2f2040,!0x1,_0x321c0a,_0x56eef7]):this[_0x2e1247(0x14d)](_0x2f2040,!0x1,_0x321c0a,_0x56eef7):this[_0x2e1247(0x275)]!==_0x5ce105?this[_0x2e1247(0x23c)]([this[_0x2e1247(0x230)],_0x2f2040,!0x1,_0x321c0a,_0x56eef7]):this[_0x2e1247(0x1b0)](_0x4ae71e[_0x2e1247(0xfc)](_0x2f2040,_0x321c0a),_0x56eef7);}[_0x7dee60(0x2b0)](_0x5d086b,_0x23f4ba,_0x4e08f5){const _0x33102c=_0x7dee60;let _0x2074ed,_0x1dec6;if(typeof _0x5d086b==_0x33102c(0x25f)?(_0x2074ed=Buffer[_0x33102c(0x1c7)](_0x5d086b),_0x1dec6=!0x1):_0x540977(_0x5d086b)?(_0x2074ed=_0x5d086b[_0x33102c(0x1e1)],_0x1dec6=!0x1):(_0x5d086b=_0x524f63(_0x5d086b),_0x2074ed=_0x5d086b[_0x33102c(0x2a6)],_0x1dec6=_0x524f63[_0x33102c(0x191)]),_0x2074ed>0x7d)throw new RangeError(_0x33102c(0x13c));const _0x4ae97e={[_0x3706f3]:_0x2074ed,'fin':!0x0,'generateMask':this[_0x33102c(0x112)],'mask':_0x23f4ba,'maskBuffer':this[_0x33102c(0x197)],'opcode':0xa,'readOnly':_0x1dec6,'rsv1':!0x1};_0x540977(_0x5d086b)?this[_0x33102c(0x275)]!==_0x5ce105?this[_0x33102c(0x23c)]([this[_0x33102c(0x14d)],_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5]):this[_0x33102c(0x14d)](_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5):this[_0x33102c(0x275)]!==_0x5ce105?this[_0x33102c(0x23c)]([this[_0x33102c(0x230)],_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5]):this[_0x33102c(0x1b0)](_0x4ae71e[_0x33102c(0xfc)](_0x5d086b,_0x4ae97e),_0x4e08f5);}[_0x7dee60(0x155)](_0x2582f8,_0x23fd23,_0x31ff5d){const _0x587682=_0x7dee60,_0x8d2dd7=this['_extensions'][_0x4dc1c5[_0x587682(0x143)]];let _0x50504d=_0x23fd23[_0x587682(0x1d6)]?0x2:0x1,_0x241cf0=_0x23fd23[_0x587682(0x126)],_0x52adfd,_0x3e6028;typeof _0x2582f8==_0x587682(0x25f)?(_0x52adfd=Buffer[_0x587682(0x1c7)](_0x2582f8),_0x3e6028=!0x1):_0x540977(_0x2582f8)?(_0x52adfd=_0x2582f8[_0x587682(0x1e1)],_0x3e6028=!0x1):(_0x2582f8=_0x524f63(_0x2582f8),_0x52adfd=_0x2582f8[_0x587682(0x2a6)],_0x3e6028=_0x524f63[_0x587682(0x191)]),this[_0x587682(0x188)]?(this['_firstFragment']=!0x1,_0x241cf0&&_0x8d2dd7&&_0x8d2dd7[_0x587682(0x186)][_0x8d2dd7[_0x587682(0x280)]?_0x587682(0x289):_0x587682(0xe9)]&&(_0x241cf0=_0x52adfd>=_0x8d2dd7[_0x587682(0x16a)]),this[_0x587682(0x264)]=_0x241cf0):(_0x241cf0=!0x1,_0x50504d=0x0),_0x23fd23[_0x587682(0x262)]&&(this[_0x587682(0x188)]=!0x0);const _0xc861fc={[_0x3706f3]:_0x52adfd,'fin':_0x23fd23['fin'],'generateMask':this['_generateMask'],'mask':_0x23fd23[_0x587682(0x19d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x50504d,'readOnly':_0x3e6028,'rsv1':_0x241cf0};_0x540977(_0x2582f8)?this['_state']!==_0x5ce105?this['enqueue']([this['getBlobData'],_0x2582f8,this['_compress'],_0xc861fc,_0x31ff5d]):this['getBlobData'](_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d):this[_0x587682(0x275)]!==_0x5ce105?this[_0x587682(0x23c)]([this[_0x587682(0x230)],_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d]):this['dispatch'](_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d);}['getBlobData'](_0x642e6,_0x38e9f0,_0x221176,_0x176798){const _0x18908b=_0x7dee60;this[_0x18908b(0x278)]+=_0x221176[_0x3706f3],this[_0x18908b(0x275)]=_0x248118,_0x642e6[_0x18908b(0xf8)]()[_0x18908b(0xf0)](_0x57ca5e=>{const _0x424760=_0x18908b;if(this[_0x424760(0x163)][_0x424760(0xec)]){const _0x24fc5c=new Error(_0x424760(0x292));process['nextTick'](_0x25073c,this,_0x24fc5c,_0x176798);return;}this[_0x424760(0x278)]-=_0x221176[_0x3706f3];const _0x5990af=_0x524f63(_0x57ca5e);_0x38e9f0?this['dispatch'](_0x5990af,_0x38e9f0,_0x221176,_0x176798):(this[_0x424760(0x275)]=_0x5ce105,this[_0x424760(0x1b0)](_0x4ae71e[_0x424760(0xfc)](_0x5990af,_0x221176),_0x176798),this[_0x424760(0x11a)]());})[_0x18908b(0x1d5)](_0xebc26c=>{const _0x4403c5=_0x18908b;process[_0x4403c5(0x1c5)](_0x3f7eb7,this,_0xebc26c,_0x176798);});}[_0x7dee60(0x230)](_0x401bd2,_0x51bd1b,_0x1e8235,_0x4fdd8f){const _0x4bf761=_0x7dee60;if(!_0x51bd1b){this[_0x4bf761(0x1b0)](_0x4ae71e[_0x4bf761(0xfc)](_0x401bd2,_0x1e8235),_0x4fdd8f);return;}const _0x180540=this[_0x4bf761(0x21d)][_0x4dc1c5[_0x4bf761(0x143)]];this[_0x4bf761(0x278)]+=_0x1e8235[_0x3706f3],this[_0x4bf761(0x275)]=_0x4538af,_0x180540['compress'](_0x401bd2,_0x1e8235['fin'],(_0x165cdf,_0x50e228)=>{const _0x4742be=_0x4bf761;if(this[_0x4742be(0x163)][_0x4742be(0xec)]){const _0x4008ed=new Error(_0x4742be(0x1eb));_0x25073c(this,_0x4008ed,_0x4fdd8f);return;}this[_0x4742be(0x278)]-=_0x1e8235[_0x3706f3],this[_0x4742be(0x275)]=_0x5ce105,_0x1e8235[_0x4742be(0x191)]=!0x1,this['sendFrame'](_0x4ae71e[_0x4742be(0xfc)](_0x50e228,_0x1e8235),_0x4fdd8f),this[_0x4742be(0x11a)]();});}[_0x7dee60(0x11a)](){const _0x37dfa1=_0x7dee60;for(;this[_0x37dfa1(0x275)]===_0x5ce105&&this[_0x37dfa1(0x248)][_0x37dfa1(0x2a6)];){const _0x21f048=this[_0x37dfa1(0x248)][_0x37dfa1(0x1af)]();this['_bufferedBytes']-=_0x21f048[0x3][_0x3706f3],Reflect[_0x37dfa1(0x1ed)](_0x21f048[0x0],this,_0x21f048[_0x37dfa1(0x193)](0x1));}}[_0x7dee60(0x23c)](_0x4be08f){const _0x207f33=_0x7dee60;this[_0x207f33(0x278)]+=_0x4be08f[0x3][_0x3706f3],this[_0x207f33(0x248)]['push'](_0x4be08f);}[_0x7dee60(0x1b0)](_0x5b853e,_0x4b70f3){const _0x2c5dbc=_0x7dee60;_0x5b853e[_0x2c5dbc(0x2a6)]===0x2?(this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1c6)](),this['_socket'][_0x2c5dbc(0x1e6)](_0x5b853e[0x0]),this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1e6)](_0x5b853e[0x1],_0x4b70f3),this[_0x2c5dbc(0x163)][_0x2c5dbc(0x109)]()):this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1e6)](_0x5b853e[0x0],_0x4b70f3);}}Ee=_0x4ae71e;function _0x25073c(_0x4d4b06,_0x2f226a,_0x420adc){const _0x551f76=_0x7dee60;typeof _0x420adc==_0x551f76(0x29f)&&_0x420adc(_0x2f226a);for(let _0x1e7a0c=0x0;_0x1e7a0c<_0x4d4b06['_queue'][_0x551f76(0x2a6)];_0x1e7a0c++){const _0x1e8783=_0x4d4b06['_queue'][_0x1e7a0c],_0x4b04af=_0x1e8783[_0x1e8783['length']-0x1];typeof _0x4b04af==_0x551f76(0x29f)&&_0x4b04af(_0x2f226a);}}function _0x3f7eb7(_0x5d2f6c,_0x29ae5f,_0x15f66d){_0x25073c(_0x5d2f6c,_0x29ae5f,_0x15f66d),_0x5d2f6c['onerror'](_0x29ae5f);}return Ee;}var xe,Ze;function It(){const _0x2b81ff=_0x2201aa;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x498e1e,kListener:_0xaea7c1}=H(),_0x4372f3=Symbol('kCode'),_0x54d77f=Symbol(_0x2b81ff(0x15d)),_0x55a49c=Symbol(_0x2b81ff(0x200)),_0x1bd133=Symbol(_0x2b81ff(0x104)),_0x1abbc3=Symbol(_0x2b81ff(0x150)),_0x5be624=Symbol('kTarget'),_0x5bb3d7=Symbol(_0x2b81ff(0x180)),_0x19cf44=Symbol(_0x2b81ff(0x24c));class _0x31ac06{constructor(_0x12b5d){this[_0x5be624]=null,this[_0x5bb3d7]=_0x12b5d;}get['target'](){return this[_0x5be624];}get['type'](){return this[_0x5bb3d7];}}Object[_0x2b81ff(0x15f)](_0x31ac06['prototype'],_0x2b81ff(0x26b),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x31ac06[_0x2b81ff(0x25e)],_0x2b81ff(0x1a1),{'enumerable':!0x0});class _0x1f79b9 extends _0x31ac06{constructor(_0x3f1b08,_0x33ab3d={}){const _0x2e9101=_0x2b81ff;super(_0x3f1b08),this[_0x4372f3]=_0x33ab3d['code']===void 0x0?0x0:_0x33ab3d[_0x2e9101(0x1e7)],this[_0x1abbc3]=_0x33ab3d[_0x2e9101(0x1e0)]===void 0x0?'':_0x33ab3d[_0x2e9101(0x1e0)],this[_0x19cf44]=_0x33ab3d[_0x2e9101(0x27f)]===void 0x0?!0x1:_0x33ab3d[_0x2e9101(0x27f)];}get[_0x2b81ff(0x1e7)](){return this[_0x4372f3];}get[_0x2b81ff(0x1e0)](){return this[_0x1abbc3];}get[_0x2b81ff(0x27f)](){return this[_0x19cf44];}}Object[_0x2b81ff(0x15f)](_0x1f79b9[_0x2b81ff(0x25e)],_0x2b81ff(0x1e7),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x1f79b9['prototype'],'reason',{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x1f79b9[_0x2b81ff(0x25e)],_0x2b81ff(0x27f),{'enumerable':!0x0});class _0x535d76 extends _0x31ac06{constructor(_0x949642,_0x5c42e6={}){const _0x131d42=_0x2b81ff;super(_0x949642),this[_0x55a49c]=_0x5c42e6['error']===void 0x0?null:_0x5c42e6[_0x131d42(0x1d0)],this[_0x1bd133]=_0x5c42e6['message']===void 0x0?'':_0x5c42e6['message'];}get['error'](){return this[_0x55a49c];}get[_0x2b81ff(0x270)](){return this[_0x1bd133];}}Object['defineProperty'](_0x535d76['prototype'],_0x2b81ff(0x1d0),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x535d76[_0x2b81ff(0x25e)],_0x2b81ff(0x270),{'enumerable':!0x0});class _0x3113f6 extends _0x31ac06{constructor(_0x4ff12c,_0x16d525={}){const _0x477d41=_0x2b81ff;super(_0x4ff12c),this[_0x54d77f]=_0x16d525[_0x477d41(0x130)]===void 0x0?null:_0x16d525[_0x477d41(0x130)];}get[_0x2b81ff(0x130)](){return this[_0x54d77f];}}Object[_0x2b81ff(0x15f)](_0x3113f6['prototype'],_0x2b81ff(0x130),{'enumerable':!0x0}),xe={'CloseEvent':_0x1f79b9,'ErrorEvent':_0x535d76,'Event':_0x31ac06,'EventTarget':{'addEventListener'(_0x13a69a,_0x74cdaa,_0x582fdd={}){const _0x2a9d5c=_0x2b81ff;for(const _0x4edb2d of this['listeners'](_0x13a69a))if(!_0x582fdd[_0x498e1e]&&_0x4edb2d[_0xaea7c1]===_0x74cdaa&&!_0x4edb2d[_0x498e1e])return;let _0x168c05;if(_0x13a69a===_0x2a9d5c(0x270))_0x168c05=function(_0x15a056,_0x13cf8a){const _0x5359e3=_0x2a9d5c,_0x2e9983=new _0x3113f6('message',{'data':_0x13cf8a?_0x15a056:_0x15a056[_0x5359e3(0x144)]()});_0x2e9983[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x2e9983);};else{if(_0x13a69a===_0x2a9d5c(0x28c))_0x168c05=function(_0x31043,_0x3ffb63){const _0x31efe0=_0x2a9d5c,_0x234435=new _0x1f79b9(_0x31efe0(0x28c),{'code':_0x31043,'reason':_0x3ffb63['toString'](),'wasClean':this[_0x31efe0(0x28f)]&&this['_closeFrameSent']});_0x234435[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x234435);};else{if(_0x13a69a===_0x2a9d5c(0x1d0))_0x168c05=function(_0x4fe03c){const _0x2c88de=_0x2a9d5c,_0x498b1a=new _0x535d76(_0x2c88de(0x1d0),{'error':_0x4fe03c,'message':_0x4fe03c[_0x2c88de(0x270)]});_0x498b1a[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x498b1a);};else{if(_0x13a69a===_0x2a9d5c(0x16e))_0x168c05=function(){const _0x42c9e9=new _0x31ac06('open');_0x42c9e9[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x42c9e9);};else return;}}}_0x168c05[_0x498e1e]=!!_0x582fdd[_0x498e1e],_0x168c05[_0xaea7c1]=_0x74cdaa,_0x582fdd['once']?this[_0x2a9d5c(0x15b)](_0x13a69a,_0x168c05):this['on'](_0x13a69a,_0x168c05);},'removeEventListener'(_0x904040,_0x4d9911){const _0x203205=_0x2b81ff;for(const _0x31cc5f of this[_0x203205(0x2a0)](_0x904040))if(_0x31cc5f[_0xaea7c1]===_0x4d9911&&!_0x31cc5f[_0x498e1e]){this['removeListener'](_0x904040,_0x31cc5f);break;}}},'MessageEvent':_0x3113f6};function _0x352b3f(_0x3a3dae,_0x37e164,_0x3684f1){const _0xad1125=_0x2b81ff;typeof _0x3a3dae==_0xad1125(0x212)&&_0x3a3dae[_0xad1125(0x273)]?_0x3a3dae['handleEvent'][_0xad1125(0x124)](_0x3a3dae,_0x3684f1):_0x3a3dae[_0xad1125(0x124)](_0x37e164,_0x3684f1);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5165be}=ae();function _0x138a70(_0x4d3627,_0x4d837e,_0x38f634){const _0x3288f6=_0xce54;_0x4d3627[_0x4d837e]===void 0x0?_0x4d3627[_0x4d837e]=[_0x38f634]:_0x4d3627[_0x4d837e][_0x3288f6(0x100)](_0x38f634);}function _0x34443e(_0x546cca){const _0x496c0c=_0xce54,_0x4421a2=Object[_0x496c0c(0x1fb)](null);let _0x1eabcc=Object[_0x496c0c(0x1fb)](null),_0x3ca50b=!0x1,_0x3c5b3c=!0x1,_0x41011e=!0x1,_0xc17c0c,_0x5e60f7,_0x438376=-0x1,_0x4ded0d=-0x1,_0x3bb334=-0x1,_0x301ac9=0x0;for(;_0x301ac9<_0x546cca[_0x496c0c(0x2a6)];_0x301ac9++)if(_0x4ded0d=_0x546cca['charCodeAt'](_0x301ac9),_0xc17c0c===void 0x0){if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x301ac9!==0x0&&(_0x4ded0d===0x20||_0x4ded0d===0x9))_0x3bb334===-0x1&&_0x438376!==-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);const _0xa0bac5=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);_0x4ded0d===0x2c?(_0x138a70(_0x4421a2,_0xa0bac5,_0x1eabcc),_0x1eabcc=Object[_0x496c0c(0x1fb)](null)):_0xc17c0c=_0xa0bac5,_0x438376=_0x3bb334=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}else{if(_0x5e60f7===void 0x0){if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x4ded0d===0x20||_0x4ded0d===0x9)_0x3bb334===-0x1&&_0x438376!==-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9),_0x138a70(_0x1eabcc,_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334),!0x0),_0x4ded0d===0x2c&&(_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc),_0x1eabcc=Object[_0x496c0c(0x1fb)](null),_0xc17c0c=void 0x0),_0x438376=_0x3bb334=-0x1;}else{if(_0x4ded0d===0x3d&&_0x438376!==-0x1&&_0x3bb334===-0x1)_0x5e60f7=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x301ac9),_0x438376=_0x3bb334=-0x1;else throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);}}}}else{if(_0x3c5b3c){if(_0x5165be[_0x4ded0d]!==0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x438376===-0x1?_0x438376=_0x301ac9:_0x3ca50b||(_0x3ca50b=!0x0),_0x3c5b3c=!0x1;}else{if(_0x41011e){if(_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x4ded0d===0x22&&_0x438376!==-0x1)_0x41011e=!0x1,_0x3bb334=_0x301ac9;else{if(_0x4ded0d===0x5c)_0x3c5b3c=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}else{if(_0x4ded0d===0x22&&_0x546cca['charCodeAt'](_0x301ac9-0x1)===0x3d)_0x41011e=!0x0;else{if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x438376!==-0x1&&(_0x4ded0d===0x20||_0x4ded0d===0x9))_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);let _0x1d26fd=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);_0x3ca50b&&(_0x1d26fd=_0x1d26fd[_0x496c0c(0x1ec)](/\\/g,''),_0x3ca50b=!0x1),_0x138a70(_0x1eabcc,_0x5e60f7,_0x1d26fd),_0x4ded0d===0x2c&&(_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc),_0x1eabcc=Object['create'](null),_0xc17c0c=void 0x0),_0x5e60f7=void 0x0,_0x438376=_0x3bb334=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}}}}}if(_0x438376===-0x1||_0x41011e||_0x4ded0d===0x20||_0x4ded0d===0x9)throw new SyntaxError(_0x496c0c(0x203));_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);const _0xfaee11=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);return _0xc17c0c===void 0x0?_0x138a70(_0x4421a2,_0xfaee11,_0x1eabcc):(_0x5e60f7===void 0x0?_0x138a70(_0x1eabcc,_0xfaee11,!0x0):_0x3ca50b?_0x138a70(_0x1eabcc,_0x5e60f7,_0xfaee11[_0x496c0c(0x1ec)](/\\/g,'')):_0x138a70(_0x1eabcc,_0x5e60f7,_0xfaee11),_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc)),_0x4421a2;}function _0x3b0ce1(_0x550b6f){const _0xc662ba=_0xce54;return Object[_0xc662ba(0x185)](_0x550b6f)[_0xc662ba(0x16b)](_0x2c4075=>{const _0x13dc67=_0xc662ba;let _0x3308d1=_0x550b6f[_0x2c4075];return Array['isArray'](_0x3308d1)||(_0x3308d1=[_0x3308d1]),_0x3308d1[_0x13dc67(0x16b)](_0x435ff5=>[_0x2c4075]['concat'](Object[_0x13dc67(0x185)](_0x435ff5)[_0x13dc67(0x16b)](_0x10c523=>{const _0x1c1b9d=_0x13dc67;let _0x3b8a15=_0x435ff5[_0x10c523];return Array[_0x1c1b9d(0x2a5)](_0x3b8a15)||(_0x3b8a15=[_0x3b8a15]),_0x3b8a15[_0x1c1b9d(0x16b)](_0x1f2eb1=>_0x1f2eb1===!0x0?_0x10c523:_0x10c523+'='+_0x1f2eb1)['join'](';\x20');}))[_0x13dc67(0x205)](';\x20'))[_0x13dc67(0x205)](',\x20');})[_0xc662ba(0x205)](',\x20');}return be={'format':_0x3b0ce1,'parse':_0x34443e},be;}function _0x1f2d(){const _0x58ef8b=['mask','onerror','CONNECTING','byteOffset','type','readUInt32BE','share','zlibDeflateOptions','createSocket','_maxPayload','Sec-WebSocket-Extensions','unmask','username','2738480OJbNZp','listening','_errorEmitted','tls','The\x20server\x20is\x20not\x20running','shift','sendFrame','readyState','OPEN','reset','hostname','_sender','\x22\x20subprotocol\x20is\x20duplicated','blob','Module','auth','_fragmented','end','buffers','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','concurrency','_doCreateSocket','maskBuffer','socketPath','backlog','kRun','nextTick','cork','byteLength','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_final','getInfo','isBuffer','Invalid\x20URL:\x20','startLoop','server_max_window_bits','binaryType','error','acceptAsServer','CLOSED','env','WebSocket','catch','binary','isPaused','timeout','normalizeParams','indexOf','client','autoPong','_closeCode','toLowerCase','setTimeout','reason','size','addEventListener','address','value','exports','write','code','bind','invalid\x20UTF-8\x20sequence','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','replace','apply','perMessageDeflate','clientTracking','haveLength','_opcode','setNoDelay','1225953WtaSuC','_fragments','crypto','handleUpgrade','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ws:','_closeMessage','Sec-WebSocket-Accept:\x20','create','_registerDependencies','@univerjs/network','parse','password','kError','_url','FIN\x20must\x20be\x20set','Unexpected\x20end\x20of\x20input','port','join','permessage-deflate','arraybuffer','Sec-WebSocket-Protocol:\x20','base64','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Invalid\x20WebSocket\x20frame:\x20','44KVxAhe','WS_ERR_INVALID_OPCODE','WS_ERR_INVALID_UTF8','destroy','__esModule','_compressed','object','createError','_errored','finished','find','accept','HTTPService','zlib','_removeListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x20','https:','_extensions','construct','51610CoWNHN','_masked','emitClose','_originalIpc','forEach','defaultPort','invalid\x20payload\x20length\x20','clients','serverNoContextTakeover','pipe','UniverCollaborationClientNodePlugin','rsv1','wss:','protocol','terminate','writable','dispose','dispatch','ISnapshotServerService','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','http:','kAborted','charCodeAt','Injector','ping','errorEmitted','getOwnPropertyDescriptor','_closeFrameSent','Z_DEFAULT_WINDOWBITS','enqueue','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','_fin','1798UCCIgc','kListener','_req','wsClientError','connection','NodeCollaborationSocketService','flush','getData','acceptAsClient','_queue','Inject','_loop','Opening\x20handshake\x20has\x20timed\x20out','kWasClean','consume','concat','onopen','websocket','digest','218mvwwTy','sec-websocket-extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','readUInt16BE','objectMode','_mask','buffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','controlMessage','resume','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','prototype','string','decompress','registerDependencies','fin','client_max_window_bits','_compress','drain','setConfig','invalid\x20status\x20code\x20','isServer','sec-websocket-key','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','target','onmessage','concurrencyLimit','isValidUTF8','removeAllListeners','message','writeUInt16BE','offer','handleEvent','IConfigService','_state','_injector','isInteger','_bufferedBytes','authorization','freeze','Z_SYNC_FLUSH','next','_redirects','species','wasClean','_isServer','setSocket','sha1','_httpService','stream','dataMessage','shouldHandle','delete','21DZuncE','server_no_context_takeover','handleProtocols','path','close','servername','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_closeFrameReceived','search','test','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x0d\x0a\x0d\x0a','verifyClient','add','maxPayload','_no_context_takeover','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','invalid\x20opcode\x20','Max\x20payload\x20size\x20exceeded','_read','sec-websocket-accept','serverMaxWindowBits','createInflateRaw','function','listeners','WS_ERR_EXPECTED_FIN','captureStackTrace','HTTP/1.1\x20','protocolVersion','isArray','length','_destroy','_shouldEmitClose','toDisposable','\x22:\x20','_writableState','response','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','status-code','hash','pong','options','isIP','WS_NO_BUFFER_UTIL','client_no_context_takeover','default','pow','destroyed','Sec-WebSocket-Protocol','_binaryType','extensions','then','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_bufferedAmount','1250050Dykaub','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Observable','getPayloadLength16','bufferedAmount','arrayBuffer','total-length','noServer','update','frame','includes','_originalHostOrSocketPath','pathname','push','Cookie','skipUTF8Validation','Origin','kMessage','redirect','followRedirects','headers','unexpected-response','uncork','8868YmncyJ','_receiver','createConnection','has','needDrain','https','MASK\x20must\x20be\x20set','_protocol','_generateMask','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','authorized','GET','_readyState','registerHTTPInterceptor','WS_ERR_UNEXPECTED_MASK','dequeue','endEmitted','callback','server','376122ERKkVr','The\x20URL\x20contains\x20a\x20fragment\x20identifier','pause','STATUS_CODES','isView','MASK\x20must\x20be\x20clear','call','number','compress','nodebuffer','_configService','Invalid\x20Sec-WebSocket-Protocol\x20header','@univerjs-pro/collaboration-client','WS_ERR_EXPECTED_MASK','_buffers','Unknown\x20parameter\x20\x22','toStringTag','conclude','data','text/plain','url','removeEventListener','removeListener','Unexpected\x20character\x20at\x20index\x20','_paused','_options','constructor','threshold','_write','opcode','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getMask','\x20(supported\x20versions:\x20','_closeTimer','href','writeHead','Plugin','extensionName','toString','location','_max_window_bits','format','split','Parameter\x20\x22','customHeaders','finish','abort','getBlobData','Upgrade:\x20websocket','method','kReason','handshakeTimeout','cleanup','pending','_messageLength','send','Invalid\x20value\x20for\x20parameter\x20\x22','_allowSynchronousEvents','encrypted','connect','_payloadLength','once','375WfZvHe','kData','RSV1\x20must\x20be\x20clear','defineProperty','cookie','clientMaxWindowBits','getPayloadLength64','_socket','warn','origin','emit','ws+unix:','_autoPong','_deflate','_threshold','map','CollaborationSocketService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','open','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20Upgrade\x20header','_server','getConfig','collaboration-client-node.config','allocUnsafe','_totalPayloadLength','upgrade','maxRedirects','completeUpgrade','WS_ERR_INVALID_CLOSE_CODE','createServer','Basic\x20','allowSynchronousEvents','finishRequest','ILogService','WS_ERR_UNEXPECTED_RSV_2_3','kType','set','jobs','_inflate','UniverCollaborationClientPlugin','keys','params','ISocketService','_firstFragment','host','request','The\x20\x22','socket','_decompress','DependentOn','statusCode','clientNoContextTakeover','readOnly','listenerCount','slice','generateMask','_skipUTF8Validation','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_maskBuffer','startsWith','@univerjs-pro/collaboration','CLOSING','alloc','File'];_0x1f2d=function(){return _0x58ef8b;};return _0x1f2d();}var we,Je;function Pe(){const _0x2b0a61=_0x2201aa;if(Je)return we;Je=0x1;const _0x439473=nt,_0x2931a1=vt,_0xfb9cef=ot,_0x488c65=St,_0x4efc37=Et,{randomBytes:_0x9536ba,createHash:_0x21c424}=Le,{Duplex:_0x2a33af,Readable:_0x20fbd1}=oe,{URL:_0x2dd469}=xt,_0x594141=he(),_0x5b824e=lt(),_0x2b656b=ft(),{isBlob:_0x1f7ca7}=ae(),{BINARY_TYPES:_0x24b71c,EMPTY_BUFFER:_0x437d88,GUID:_0x162579,kForOnEventAttribute:_0xf1b1cd,kListener:_0x7386f0,kStatusCode:_0x2988b1,kWebSocket:_0xeed0b8,NOOP:_0x31df33}=H(),{EventTarget:{addEventListener:_0x481657,removeEventListener:_0x37c37c}}=It(),{format:_0x40c390,parse:_0x4a330b}=ct(),{toBuffer:_0x168b55}=ce(),_0x1482ad=0x1e*0x3e8,_0xf04389=Symbol(_0x2b0a61(0x234)),_0x5dca9b=[0x8,0xd],_0x4ae0c0=[_0x2b0a61(0x19f),'OPEN',_0x2b0a61(0x19a),_0x2b0a61(0x1d2)],_0x2a5545=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4c20d9 extends _0x439473{constructor(_0x5af9ce,_0x21a70c,_0x3ed3bc){const _0x135c57=_0x2b0a61;super(),this[_0x135c57(0xee)]=_0x24b71c[0x0],this[_0x135c57(0x1dd)]=0x3ee,this[_0x135c57(0x28f)]=!0x1,this[_0x135c57(0x23a)]=!0x1,this[_0x135c57(0x1f9)]=_0x437d88,this[_0x135c57(0x13f)]=null,this['_errorEmitted']=!0x1,this[_0x135c57(0x21d)]={},this[_0x135c57(0x136)]=!0x1,this[_0x135c57(0x111)]='',this[_0x135c57(0x117)]=_0x4c20d9[_0x135c57(0x19f)],this[_0x135c57(0x10b)]=null,this['_sender']=null,this['_socket']=null,_0x5af9ce!==null?(this[_0x135c57(0xf2)]=0x0,this[_0x135c57(0x280)]=!0x1,this[_0x135c57(0x27d)]=0x0,_0x21a70c===void 0x0?_0x21a70c=[]:Array[_0x135c57(0x2a5)](_0x21a70c)||(typeof _0x21a70c==_0x135c57(0x212)&&_0x21a70c!==null?(_0x3ed3bc=_0x21a70c,_0x21a70c=[]):_0x21a70c=[_0x21a70c]),_0x3ddf5c(this,_0x5af9ce,_0x21a70c,_0x3ed3bc)):(this[_0x135c57(0x168)]=_0x3ed3bc[_0x135c57(0x1dc)],this['_isServer']=!0x0);}get[_0x2b0a61(0x1cf)](){const _0x55633a=_0x2b0a61;return this[_0x55633a(0xee)];}set[_0x2b0a61(0x1cf)](_0x392e37){const _0x3be0e0=_0x2b0a61;_0x24b71c[_0x3be0e0(0xfd)](_0x392e37)&&(this[_0x3be0e0(0xee)]=_0x392e37,this[_0x3be0e0(0x10b)]&&(this[_0x3be0e0(0x10b)]['_binaryType']=_0x392e37));}get[_0x2b0a61(0xf7)](){const _0x358a55=_0x2b0a61;return this[_0x358a55(0x163)]?this[_0x358a55(0x163)][_0x358a55(0x2ab)][_0x358a55(0x2a6)]+this[_0x358a55(0x1b5)]['_bufferedBytes']:this[_0x358a55(0xf2)];}get[_0x2b0a61(0xef)](){const _0x5c73ba=_0x2b0a61;return Object[_0x5c73ba(0x185)](this[_0x5c73ba(0x21d)])[_0x5c73ba(0x205)]();}get[_0x2b0a61(0x1d7)](){const _0x372f70=_0x2b0a61;return this[_0x372f70(0x136)];}get['onclose'](){return null;}get[_0x2b0a61(0x19e)](){return null;}get[_0x2b0a61(0x24f)](){return null;}get[_0x2b0a61(0x26c)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x2b0a61(0x1b1)](){const _0x32a19a=_0x2b0a61;return this[_0x32a19a(0x117)];}get[_0x2b0a61(0x132)](){const _0x19a463=_0x2b0a61;return this[_0x19a463(0x201)];}[_0x2b0a61(0x281)](_0x3a4423,_0x4ca993,_0x48fc53){const _0x4e53a0=_0x2b0a61,_0x514ce8=new _0x5b824e({'allowSynchronousEvents':_0x48fc53[_0x4e53a0(0x17c)],'binaryType':this[_0x4e53a0(0x1cf)],'extensions':this[_0x4e53a0(0x21d)],'isServer':this[_0x4e53a0(0x280)],'maxPayload':_0x48fc53['maxPayload'],'skipUTF8Validation':_0x48fc53[_0x4e53a0(0x102)]}),_0x4b388e=new _0x2b656b(_0x3a4423,this[_0x4e53a0(0x21d)],_0x48fc53[_0x4e53a0(0x194)]);this[_0x4e53a0(0x10b)]=_0x514ce8,this[_0x4e53a0(0x1b5)]=_0x4b388e,this[_0x4e53a0(0x163)]=_0x3a4423,_0x514ce8[_0xeed0b8]=this,_0x4b388e[_0xeed0b8]=this,_0x3a4423[_0xeed0b8]=this,_0x514ce8['on'](_0x4e53a0(0x12f),_0x45955f),_0x514ce8['on'](_0x4e53a0(0x265),_0x54b14e),_0x514ce8['on']('error',_0x298002),_0x514ce8['on'](_0x4e53a0(0x270),_0x3a9404),_0x514ce8['on'](_0x4e53a0(0x237),_0x17a30c),_0x514ce8['on']('pong',_0x3bd68e),_0x4b388e[_0x4e53a0(0x19e)]=_0x514e43,_0x3a4423[_0x4e53a0(0x1df)]&&_0x3a4423[_0x4e53a0(0x1df)](0x0),_0x3a4423[_0x4e53a0(0x1f2)]&&_0x3a4423[_0x4e53a0(0x1f2)](),_0x4ca993[_0x4e53a0(0x2a6)]>0x0&&_0x3a4423['unshift'](_0x4ca993),_0x3a4423['on']('close',_0x5f502c),_0x3a4423['on']('data',_0x3ea678),_0x3a4423['on'](_0x4e53a0(0x1bb),_0x3cc270),_0x3a4423['on']('error',_0x30223c),this[_0x4e53a0(0x117)]=_0x4c20d9[_0x4e53a0(0x1b2)],this[_0x4e53a0(0x166)](_0x4e53a0(0x16e));}['emitClose'](){const _0x44bb67=_0x2b0a61;if(!this[_0x44bb67(0x163)]){this[_0x44bb67(0x117)]=_0x4c20d9['CLOSED'],this[_0x44bb67(0x166)](_0x44bb67(0x28c),this[_0x44bb67(0x1dd)],this['_closeMessage']);return;}this[_0x44bb67(0x21d)][_0x594141[_0x44bb67(0x143)]]&&this[_0x44bb67(0x21d)][_0x594141['extensionName']][_0x44bb67(0x152)](),this[_0x44bb67(0x10b)][_0x44bb67(0x26f)](),this[_0x44bb67(0x117)]=_0x4c20d9[_0x44bb67(0x1d2)],this[_0x44bb67(0x166)](_0x44bb67(0x28c),this[_0x44bb67(0x1dd)],this['_closeMessage']);}[_0x2b0a61(0x28c)](_0x582100,_0x3de14a){const _0x5009a6=_0x2b0a61;if(this[_0x5009a6(0x1b1)]!==_0x4c20d9[_0x5009a6(0x1d2)]){if(this['readyState']===_0x4c20d9[_0x5009a6(0x19f)]){_0x30a307(this,this[_0x5009a6(0x241)],_0x5009a6(0x16d));return;}if(this[_0x5009a6(0x1b1)]===_0x4c20d9[_0x5009a6(0x19a)]){this[_0x5009a6(0x23a)]&&(this[_0x5009a6(0x28f)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x5009a6(0x163)][_0x5009a6(0x1bb)]();return;}this['_readyState']=_0x4c20d9['CLOSING'],this[_0x5009a6(0x1b5)][_0x5009a6(0x28c)](_0x582100,_0x3de14a,!this['_isServer'],_0x265bb9=>{const _0x312cd5=_0x5009a6;_0x265bb9||(this[_0x312cd5(0x23a)]=!0x0,(this[_0x312cd5(0x28f)]||this['_receiver'][_0x312cd5(0x2ab)]['errorEmitted'])&&this['_socket'][_0x312cd5(0x1bb)]());}),_0x49f730(this);}}[_0x2b0a61(0x120)](){const _0x52b227=_0x2b0a61;this['readyState']===_0x4c20d9[_0x52b227(0x19f)]||this[_0x52b227(0x1b1)]===_0x4c20d9[_0x52b227(0x1d2)]||(this[_0x52b227(0x136)]=!0x0,this[_0x52b227(0x163)]['pause']());}[_0x2b0a61(0x237)](_0x47f450,_0x58b1c0,_0x254327){const _0x99ab33=_0x2b0a61;if(this[_0x99ab33(0x1b1)]===_0x4c20d9[_0x99ab33(0x19f)])throw new Error(_0x99ab33(0xf1));if(typeof _0x47f450==_0x99ab33(0x29f)?(_0x254327=_0x47f450,_0x47f450=_0x58b1c0=void 0x0):typeof _0x58b1c0==_0x99ab33(0x29f)&&(_0x254327=_0x58b1c0,_0x58b1c0=void 0x0),typeof _0x47f450==_0x99ab33(0x125)&&(_0x47f450=_0x47f450[_0x99ab33(0x144)]()),this[_0x99ab33(0x1b1)]!==_0x4c20d9[_0x99ab33(0x1b2)]){_0xf74e49(this,_0x47f450,_0x254327);return;}_0x58b1c0===void 0x0&&(_0x58b1c0=!this[_0x99ab33(0x280)]),this['_sender']['ping'](_0x47f450||_0x437d88,_0x58b1c0,_0x254327);}['pong'](_0x19900d,_0x324d4d,_0x32ce91){const _0x164e65=_0x2b0a61;if(this[_0x164e65(0x1b1)]===_0x4c20d9[_0x164e65(0x19f)])throw new Error(_0x164e65(0xf1));if(typeof _0x19900d==_0x164e65(0x29f)?(_0x32ce91=_0x19900d,_0x19900d=_0x324d4d=void 0x0):typeof _0x324d4d==_0x164e65(0x29f)&&(_0x32ce91=_0x324d4d,_0x324d4d=void 0x0),typeof _0x19900d=='number'&&(_0x19900d=_0x19900d['toString']()),this[_0x164e65(0x1b1)]!==_0x4c20d9[_0x164e65(0x1b2)]){_0xf74e49(this,_0x19900d,_0x32ce91);return;}_0x324d4d===void 0x0&&(_0x324d4d=!this[_0x164e65(0x280)]),this[_0x164e65(0x1b5)][_0x164e65(0x2b0)](_0x19900d||_0x437d88,_0x324d4d,_0x32ce91);}['resume'](){const _0x42282f=_0x2b0a61;this['readyState']===_0x4c20d9[_0x42282f(0x19f)]||this[_0x42282f(0x1b1)]===_0x4c20d9[_0x42282f(0x1d2)]||(this[_0x42282f(0x136)]=!0x1,this[_0x42282f(0x10b)]['_writableState'][_0x42282f(0x10e)]||this['_socket']['resume']());}['send'](_0x46602c,_0x19f70c,_0x408074){const _0x5e390f=_0x2b0a61;if(this[_0x5e390f(0x1b1)]===_0x4c20d9['CONNECTING'])throw new Error(_0x5e390f(0xf1));if(typeof _0x19f70c=='function'&&(_0x408074=_0x19f70c,_0x19f70c={}),typeof _0x46602c==_0x5e390f(0x125)&&(_0x46602c=_0x46602c[_0x5e390f(0x144)]()),this[_0x5e390f(0x1b1)]!==_0x4c20d9[_0x5e390f(0x1b2)]){_0xf74e49(this,_0x46602c,_0x408074);return;}const _0x514d32={'binary':typeof _0x46602c!=_0x5e390f(0x25f),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x19f70c};this[_0x5e390f(0x21d)][_0x594141[_0x5e390f(0x143)]]||(_0x514d32['compress']=!0x1),this[_0x5e390f(0x1b5)][_0x5e390f(0x155)](_0x46602c||_0x437d88,_0x514d32,_0x408074);}[_0x2b0a61(0x22d)](){const _0x129be5=_0x2b0a61;if(this[_0x129be5(0x1b1)]!==_0x4c20d9[_0x129be5(0x1d2)]){if(this[_0x129be5(0x1b1)]===_0x4c20d9['CONNECTING']){_0x30a307(this,this['_req'],_0x129be5(0x16d));return;}this[_0x129be5(0x163)]&&(this[_0x129be5(0x117)]=_0x4c20d9[_0x129be5(0x19a)],this[_0x129be5(0x163)]['destroy']());}}}Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x19f),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)]('CONNECTING')}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x19f),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x19f))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x1b2),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x1b2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x1b2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x1b2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x19a),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x19a))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x19a),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x19a))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x1d2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x1d2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x1d2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)]('CLOSED')}),['binaryType',_0x2b0a61(0xf7),_0x2b0a61(0xef),_0x2b0a61(0x1d7),_0x2b0a61(0x22c),_0x2b0a61(0x1b1),_0x2b0a61(0x132)][_0x2b0a61(0x223)](_0x49c490=>{const _0x5af87f=_0x2b0a61;Object[_0x5af87f(0x15f)](_0x4c20d9[_0x5af87f(0x25e)],_0x49c490,{'enumerable':!0x0});}),[_0x2b0a61(0x16e),'error',_0x2b0a61(0x28c),_0x2b0a61(0x270)][_0x2b0a61(0x223)](_0xc7040=>{const _0x2c336c=_0x2b0a61;Object[_0x2c336c(0x15f)](_0x4c20d9[_0x2c336c(0x25e)],'on'+_0xc7040,{'enumerable':!0x0,'get'(){const _0x39fb13=_0x2c336c;for(const _0xfb92e8 of this[_0x39fb13(0x2a0)](_0xc7040))if(_0xfb92e8[_0xf1b1cd])return _0xfb92e8[_0x7386f0];return null;},'set'(_0x862e72){const _0x499478=_0x2c336c;for(const _0x1d9acd of this[_0x499478(0x2a0)](_0xc7040))if(_0x1d9acd[_0xf1b1cd]){this['removeListener'](_0xc7040,_0x1d9acd);break;}typeof _0x862e72==_0x499478(0x29f)&&this[_0x499478(0x1e2)](_0xc7040,_0x862e72,{[_0xf1b1cd]:!0x0});}});}),_0x4c20d9['prototype'][_0x2b0a61(0x1e2)]=_0x481657,_0x4c20d9[_0x2b0a61(0x25e)][_0x2b0a61(0x133)]=_0x37c37c,we=_0x4c20d9;function _0x3ddf5c(_0x3f2a76,_0xd4aed2,_0x243066,_0x39f182){const _0x1bee47=_0x2b0a61,_0x379589={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5dca9b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39f182,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1bee47(0x116),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3f2a76['_autoPong']=_0x379589[_0x1bee47(0x1dc)],!_0x5dca9b[_0x1bee47(0xfd)](_0x379589['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x379589['protocolVersion']+_0x1bee47(0x13e)+_0x5dca9b[_0x1bee47(0x205)](',\x20')+')');let _0x18ee31;if(_0xd4aed2 instanceof _0x2dd469)_0x18ee31=_0xd4aed2;else try{_0x18ee31=new _0x2dd469(_0xd4aed2);}catch{throw new SyntaxError(_0x1bee47(0x1cc)+_0xd4aed2);}_0x18ee31[_0x1bee47(0x22c)]===_0x1bee47(0x233)?_0x18ee31['protocol']=_0x1bee47(0x1f8):_0x18ee31[_0x1bee47(0x22c)]===_0x1bee47(0x21c)&&(_0x18ee31[_0x1bee47(0x22c)]='wss:'),_0x3f2a76[_0x1bee47(0x201)]=_0x18ee31[_0x1bee47(0x140)];const _0x600342=_0x18ee31['protocol']===_0x1bee47(0x22b),_0x1fc58c=_0x18ee31['protocol']===_0x1bee47(0x167);let _0x28d5c4;if(_0x18ee31[_0x1bee47(0x22c)]!==_0x1bee47(0x1f8)&&!_0x600342&&!_0x1fc58c?_0x28d5c4=_0x1bee47(0x23d):_0x1fc58c&&!_0x18ee31[_0x1bee47(0xff)]?_0x28d5c4='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x18ee31[_0x1bee47(0x2af)]&&(_0x28d5c4=_0x1bee47(0x11f)),_0x28d5c4){const _0xa6f294=new SyntaxError(_0x28d5c4);if(_0x3f2a76[_0x1bee47(0x27d)]===0x0)throw _0xa6f294;_0x13e85a(_0x3f2a76,_0xa6f294);return;}const _0x559ea7=_0x600342?0x1bb:0x50,_0xd3f7e8=_0x9536ba(0x10)[_0x1bee47(0x144)](_0x1bee47(0x209)),_0x5042e6=_0x600342?_0x2931a1['request']:_0xfb9cef[_0x1bee47(0x18a)],_0x39ca6f=new Set();let _0x59e86b;if(_0x379589['createConnection']=_0x379589[_0x1bee47(0x10c)]||(_0x600342?_0x58bc60:_0x3f14cd),_0x379589[_0x1bee47(0x224)]=_0x379589[_0x1bee47(0x224)]||_0x559ea7,_0x379589[_0x1bee47(0x204)]=_0x18ee31[_0x1bee47(0x204)]||_0x559ea7,_0x379589[_0x1bee47(0x189)]=_0x18ee31[_0x1bee47(0x1b4)][_0x1bee47(0x198)]('[')?_0x18ee31[_0x1bee47(0x1b4)][_0x1bee47(0x193)](0x1,-0x1):_0x18ee31[_0x1bee47(0x1b4)],_0x379589[_0x1bee47(0x107)]={..._0x379589[_0x1bee47(0x107)],'Sec-WebSocket-Version':_0x379589['protocolVersion'],'Sec-WebSocket-Key':_0xd3f7e8,'Connection':'Upgrade','Upgrade':'websocket'},_0x379589[_0x1bee47(0x28b)]=_0x18ee31[_0x1bee47(0xff)]+_0x18ee31[_0x1bee47(0x290)],_0x379589[_0x1bee47(0x1d8)]=_0x379589[_0x1bee47(0x151)],_0x379589[_0x1bee47(0x1ee)]&&(_0x59e86b=new _0x594141(_0x379589[_0x1bee47(0x1ee)]!==!0x0?_0x379589[_0x1bee47(0x1ee)]:{},!0x1,_0x379589['maxPayload']),_0x379589[_0x1bee47(0x107)][_0x1bee47(0x1a7)]=_0x40c390({[_0x594141[_0x1bee47(0x143)]]:_0x59e86b[_0x1bee47(0x272)]()})),_0x243066[_0x1bee47(0x2a6)]){for(const _0x555aa3 of _0x243066){if(typeof _0x555aa3!=_0x1bee47(0x25f)||!_0x2a5545[_0x1bee47(0x291)](_0x555aa3)||_0x39ca6f[_0x1bee47(0x10d)](_0x555aa3))throw new SyntaxError(_0x1bee47(0x20a));_0x39ca6f[_0x1bee47(0x295)](_0x555aa3);}_0x379589[_0x1bee47(0x107)][_0x1bee47(0xed)]=_0x243066[_0x1bee47(0x205)](',');}if(_0x379589[_0x1bee47(0x165)]&&(_0x379589[_0x1bee47(0x2a4)]<0xd?_0x379589['headers']['Sec-WebSocket-Origin']=_0x379589['origin']:_0x379589['headers'][_0x1bee47(0x103)]=_0x379589['origin']),(_0x18ee31[_0x1bee47(0x1a9)]||_0x18ee31['password'])&&(_0x379589[_0x1bee47(0x1b9)]=_0x18ee31[_0x1bee47(0x1a9)]+':'+_0x18ee31[_0x1bee47(0x1ff)]),_0x1fc58c){const _0x275bee=_0x379589[_0x1bee47(0x28b)][_0x1bee47(0x148)](':');_0x379589[_0x1bee47(0x1c2)]=_0x275bee[0x0],_0x379589[_0x1bee47(0x28b)]=_0x275bee[0x1];}let _0x331f84;if(_0x379589[_0x1bee47(0x106)]){if(_0x3f2a76[_0x1bee47(0x27d)]===0x0){_0x3f2a76[_0x1bee47(0x222)]=_0x1fc58c,_0x3f2a76['_originalSecure']=_0x600342,_0x3f2a76['_originalHostOrSocketPath']=_0x1fc58c?_0x379589[_0x1bee47(0x1c2)]:_0x18ee31[_0x1bee47(0x189)];const _0x35a422=_0x39f182&&_0x39f182['headers'];if(_0x39f182={..._0x39f182,'headers':{}},_0x35a422){for(const [_0xae6e7a,_0xea9e82]of Object['entries'](_0x35a422))_0x39f182['headers'][_0xae6e7a[_0x1bee47(0x1de)]()]=_0xea9e82;}}else{if(_0x3f2a76['listenerCount'](_0x1bee47(0x105))===0x0){const _0x5e5f4e=_0x1fc58c?_0x3f2a76[_0x1bee47(0x222)]?_0x379589[_0x1bee47(0x1c2)]===_0x3f2a76[_0x1bee47(0xfe)]:!0x1:_0x3f2a76[_0x1bee47(0x222)]?!0x1:_0x18ee31[_0x1bee47(0x189)]===_0x3f2a76[_0x1bee47(0xfe)];(!_0x5e5f4e||_0x3f2a76['_originalSecure']&&!_0x600342)&&(delete _0x379589[_0x1bee47(0x107)][_0x1bee47(0x279)],delete _0x379589['headers'][_0x1bee47(0x160)],_0x5e5f4e||delete _0x379589[_0x1bee47(0x107)][_0x1bee47(0x189)],_0x379589[_0x1bee47(0x1b9)]=void 0x0);}}_0x379589[_0x1bee47(0x1b9)]&&!_0x39f182[_0x1bee47(0x107)][_0x1bee47(0x279)]&&(_0x39f182[_0x1bee47(0x107)][_0x1bee47(0x279)]=_0x1bee47(0x17b)+Buffer['from'](_0x379589[_0x1bee47(0x1b9)])[_0x1bee47(0x144)](_0x1bee47(0x209))),_0x331f84=_0x3f2a76[_0x1bee47(0x241)]=_0x5042e6(_0x379589),_0x3f2a76[_0x1bee47(0x27d)]&&_0x3f2a76['emit'](_0x1bee47(0x105),_0x3f2a76['url'],_0x331f84);}else _0x331f84=_0x3f2a76['_req']=_0x5042e6(_0x379589);_0x379589[_0x1bee47(0x1d8)]&&_0x331f84['on']('timeout',()=>{const _0x371118=_0x1bee47;_0x30a307(_0x3f2a76,_0x331f84,_0x371118(0x24b));}),_0x331f84['on']('error',_0x4bb189=>{const _0x5467e8=_0x1bee47;_0x331f84===null||_0x331f84[_0xf04389]||(_0x331f84=_0x3f2a76[_0x5467e8(0x241)]=null,_0x13e85a(_0x3f2a76,_0x4bb189));}),_0x331f84['on'](_0x1bee47(0x2ac),_0x227b83=>{const _0x11040a=_0x1bee47,_0x4921c8=_0x227b83['headers'][_0x11040a(0x145)],_0x43bc9a=_0x227b83[_0x11040a(0x18f)];if(_0x4921c8&&_0x379589[_0x11040a(0x106)]&&_0x43bc9a>=0x12c&&_0x43bc9a<0x190){if(++_0x3f2a76[_0x11040a(0x27d)]>_0x379589[_0x11040a(0x177)]){_0x30a307(_0x3f2a76,_0x331f84,'Maximum\x20redirects\x20exceeded');return;}_0x331f84['abort']();let _0x5be74b;try{_0x5be74b=new _0x2dd469(_0x4921c8,_0xd4aed2);}catch{const _0x3d613c=new SyntaxError(_0x11040a(0x1cc)+_0x4921c8);_0x13e85a(_0x3f2a76,_0x3d613c);return;}_0x3ddf5c(_0x3f2a76,_0x5be74b,_0x243066,_0x39f182);}else _0x3f2a76['emit'](_0x11040a(0x108),_0x331f84,_0x227b83)||_0x30a307(_0x3f2a76,_0x331f84,'Unexpected\x20server\x20response:\x20'+_0x227b83['statusCode']);}),_0x331f84['on']('upgrade',(_0x4a9fba,_0x35e215,_0xc284d)=>{const _0x50ea1d=_0x1bee47;if(_0x3f2a76[_0x50ea1d(0x166)]('upgrade',_0x4a9fba),_0x3f2a76[_0x50ea1d(0x1b1)]!==_0x4c20d9['CONNECTING'])return;_0x331f84=_0x3f2a76[_0x50ea1d(0x241)]=null;const _0x48a2cd=_0x4a9fba[_0x50ea1d(0x107)]['upgrade'];if(_0x48a2cd===void 0x0||_0x48a2cd[_0x50ea1d(0x1de)]()!==_0x50ea1d(0x250)){_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Upgrade\x20header');return;}const _0x2d06b4=_0x21c424(_0x50ea1d(0x282))[_0x50ea1d(0xfb)](_0xd3f7e8+_0x162579)[_0x50ea1d(0x251)](_0x50ea1d(0x209));if(_0x4a9fba[_0x50ea1d(0x107)][_0x50ea1d(0x29c)]!==_0x2d06b4){_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x1331ad=_0x4a9fba[_0x50ea1d(0x107)]['sec-websocket-protocol'];let _0x40c3b0;if(_0x1331ad!==void 0x0?_0x39ca6f[_0x50ea1d(0x1e1)]?_0x39ca6f[_0x50ea1d(0x10d)](_0x1331ad)||(_0x40c3b0='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x40c3b0='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x39ca6f[_0x50ea1d(0x1e1)]&&(_0x40c3b0='Server\x20sent\x20no\x20subprotocol'),_0x40c3b0){_0x30a307(_0x3f2a76,_0x35e215,_0x40c3b0);return;}_0x1331ad&&(_0x3f2a76[_0x50ea1d(0x111)]=_0x1331ad);const _0x5a62db=_0x4a9fba[_0x50ea1d(0x107)][_0x50ea1d(0x253)];if(_0x5a62db!==void 0x0){if(!_0x59e86b){_0x30a307(_0x3f2a76,_0x35e215,_0x50ea1d(0x1be));return;}let _0x5e2852;try{_0x5e2852=_0x4a330b(_0x5a62db);}catch{_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x55c604=Object['keys'](_0x5e2852);if(_0x55c604[_0x50ea1d(0x2a6)]!==0x1||_0x55c604[0x0]!==_0x594141['extensionName']){_0x30a307(_0x3f2a76,_0x35e215,_0x50ea1d(0x196));return;}try{_0x59e86b[_0x50ea1d(0x217)](_0x5e2852[_0x594141[_0x50ea1d(0x143)]]);}catch{_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3f2a76[_0x50ea1d(0x21d)][_0x594141['extensionName']]=_0x59e86b;}_0x3f2a76[_0x50ea1d(0x281)](_0x35e215,_0xc284d,{'allowSynchronousEvents':_0x379589['allowSynchronousEvents'],'generateMask':_0x379589['generateMask'],'maxPayload':_0x379589['maxPayload'],'skipUTF8Validation':_0x379589[_0x50ea1d(0x102)]});}),_0x379589[_0x1bee47(0x17d)]?_0x379589['finishRequest'](_0x331f84,_0x3f2a76):_0x331f84[_0x1bee47(0x1bb)]();}function _0x13e85a(_0x28f189,_0x14d494){const _0x24673a=_0x2b0a61;_0x28f189[_0x24673a(0x117)]=_0x4c20d9[_0x24673a(0x19a)],_0x28f189['_errorEmitted']=!0x0,_0x28f189[_0x24673a(0x166)]('error',_0x14d494),_0x28f189[_0x24673a(0x221)]();}function _0x3f14cd(_0x49bb8c){const _0x3ff874=_0x2b0a61;return _0x49bb8c['path']=_0x49bb8c[_0x3ff874(0x1c2)],_0x488c65[_0x3ff874(0x159)](_0x49bb8c);}function _0x58bc60(_0xdfc504){const _0x296ba8=_0x2b0a61;return _0xdfc504[_0x296ba8(0x28b)]=void 0x0,!_0xdfc504['servername']&&_0xdfc504[_0x296ba8(0x28d)]!==''&&(_0xdfc504[_0x296ba8(0x28d)]=_0x488c65[_0x296ba8(0xe7)](_0xdfc504[_0x296ba8(0x189)])?'':_0xdfc504[_0x296ba8(0x189)]),_0x4efc37['connect'](_0xdfc504);}function _0x30a307(_0x356a5a,_0x182fd6,_0x4ff4e3){const _0x23cb22=_0x2b0a61;_0x356a5a[_0x23cb22(0x117)]=_0x4c20d9['CLOSING'];const _0x34f851=new Error(_0x4ff4e3);Error['captureStackTrace'](_0x34f851,_0x30a307),_0x182fd6['setHeader']?(_0x182fd6[_0xf04389]=!0x0,_0x182fd6[_0x23cb22(0x14c)](),_0x182fd6['socket']&&!_0x182fd6[_0x23cb22(0x18c)][_0x23cb22(0xec)]&&_0x182fd6[_0x23cb22(0x18c)][_0x23cb22(0x20f)](),process[_0x23cb22(0x1c5)](_0x13e85a,_0x356a5a,_0x34f851)):(_0x182fd6[_0x23cb22(0x20f)](_0x34f851),_0x182fd6[_0x23cb22(0x15b)](_0x23cb22(0x1d0),_0x356a5a['emit'][_0x23cb22(0x1e8)](_0x356a5a,'error')),_0x182fd6['once'](_0x23cb22(0x28c),_0x356a5a[_0x23cb22(0x221)][_0x23cb22(0x1e8)](_0x356a5a)));}function _0xf74e49(_0x281369,_0x4d3df3,_0x24a838){const _0x353174=_0x2b0a61;if(_0x4d3df3){const _0x5ab8b3=_0x1f7ca7(_0x4d3df3)?_0x4d3df3[_0x353174(0x1e1)]:_0x168b55(_0x4d3df3)['length'];_0x281369[_0x353174(0x163)]?_0x281369[_0x353174(0x1b5)]['_bufferedBytes']+=_0x5ab8b3:_0x281369['_bufferedAmount']+=_0x5ab8b3;}if(_0x24a838){const _0x4aea63=new Error(_0x353174(0x21b)+_0x281369[_0x353174(0x1b1)]+'\x20('+_0x4ae0c0[_0x281369[_0x353174(0x1b1)]]+')');process[_0x353174(0x1c5)](_0x24a838,_0x4aea63);}}function _0x45955f(_0x310a4f,_0x4f80f9){const _0x358053=_0x2b0a61,_0xab1c69=this[_0xeed0b8];_0xab1c69['_closeFrameReceived']=!0x0,_0xab1c69['_closeMessage']=_0x4f80f9,_0xab1c69['_closeCode']=_0x310a4f,_0xab1c69['_socket'][_0xeed0b8]!==void 0x0&&(_0xab1c69[_0x358053(0x163)][_0x358053(0x134)]('data',_0x3ea678),process[_0x358053(0x1c5)](_0x2dd6f9,_0xab1c69[_0x358053(0x163)]),_0x310a4f===0x3ed?_0xab1c69[_0x358053(0x28c)]():_0xab1c69['close'](_0x310a4f,_0x4f80f9));}function _0x54b14e(){const _0x278330=_0x2b0a61,_0x18abbc=this[_0xeed0b8];_0x18abbc[_0x278330(0x1d7)]||_0x18abbc[_0x278330(0x163)][_0x278330(0x25c)]();}function _0x298002(_0x47c1a2){const _0x134944=_0x2b0a61,_0x2cc194=this[_0xeed0b8];_0x2cc194[_0x134944(0x163)][_0xeed0b8]!==void 0x0&&(_0x2cc194[_0x134944(0x163)]['removeListener'](_0x134944(0x130),_0x3ea678),process[_0x134944(0x1c5)](_0x2dd6f9,_0x2cc194[_0x134944(0x163)]),_0x2cc194[_0x134944(0x28c)](_0x47c1a2[_0x2988b1])),_0x2cc194[_0x134944(0x1ac)]||(_0x2cc194[_0x134944(0x1ac)]=!0x0,_0x2cc194['emit'](_0x134944(0x1d0),_0x47c1a2));}function _0x40fd99(){const _0x11ad67=_0x2b0a61;this[_0xeed0b8][_0x11ad67(0x221)]();}function _0x3a9404(_0x5adc98,_0x50a67d){const _0x21e18e=_0x2b0a61;this[_0xeed0b8][_0x21e18e(0x166)](_0x21e18e(0x270),_0x5adc98,_0x50a67d);}function _0x17a30c(_0x423e6e){const _0x21189e=_0x2b0a61,_0x2fcd17=this[_0xeed0b8];_0x2fcd17[_0x21189e(0x168)]&&_0x2fcd17['pong'](_0x423e6e,!this[_0x21189e(0x280)],_0x31df33),_0x2fcd17[_0x21189e(0x166)](_0x21189e(0x237),_0x423e6e);}function _0x3bd68e(_0x42d994){const _0x4a1187=_0x2b0a61;this[_0xeed0b8][_0x4a1187(0x166)]('pong',_0x42d994);}function _0x2dd6f9(_0x176c56){const _0x53db90=_0x2b0a61;_0x176c56[_0x53db90(0x25c)]();}function _0x514e43(_0x29f460){const _0x65d115=_0x2b0a61,_0xb388a=this[_0xeed0b8];_0xb388a[_0x65d115(0x1b1)]!==_0x4c20d9['CLOSED']&&(_0xb388a[_0x65d115(0x1b1)]===_0x4c20d9['OPEN']&&(_0xb388a[_0x65d115(0x117)]=_0x4c20d9[_0x65d115(0x19a)],_0x49f730(_0xb388a)),this[_0x65d115(0x163)]['end'](),_0xb388a[_0x65d115(0x1ac)]||(_0xb388a['_errorEmitted']=!0x0,_0xb388a['emit'](_0x65d115(0x1d0),_0x29f460)));}function _0x49f730(_0x19bdda){const _0x4311ee=_0x2b0a61;_0x19bdda['_closeTimer']=setTimeout(_0x19bdda[_0x4311ee(0x163)][_0x4311ee(0x20f)][_0x4311ee(0x1e8)](_0x19bdda[_0x4311ee(0x163)]),_0x1482ad);}function _0x5f502c(){const _0x3acb0b=_0x2b0a61,_0x4d75fd=this[_0xeed0b8];this[_0x3acb0b(0x134)]('close',_0x5f502c),this[_0x3acb0b(0x134)]('data',_0x3ea678),this['removeListener'](_0x3acb0b(0x1bb),_0x3cc270),_0x4d75fd[_0x3acb0b(0x117)]=_0x4c20d9[_0x3acb0b(0x19a)];let _0x373dec;!this[_0x3acb0b(0x113)][_0x3acb0b(0x11b)]&&!_0x4d75fd[_0x3acb0b(0x28f)]&&!_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x2ab)]['errorEmitted']&&(_0x373dec=_0x4d75fd['_socket']['read']())!==null&&_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x1e6)](_0x373dec),_0x4d75fd['_receiver']['end'](),this[_0xeed0b8]=void 0x0,clearTimeout(_0x4d75fd['_closeTimer']),_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x2ab)]['finished']||_0x4d75fd[_0x3acb0b(0x10b)]['_writableState'][_0x3acb0b(0x238)]?_0x4d75fd[_0x3acb0b(0x221)]():(_0x4d75fd[_0x3acb0b(0x10b)]['on'](_0x3acb0b(0x1d0),_0x40fd99),_0x4d75fd[_0x3acb0b(0x10b)]['on'](_0x3acb0b(0x14b),_0x40fd99));}function _0x3ea678(_0x3ecff0){const _0x53d550=_0x2b0a61;this[_0xeed0b8][_0x53d550(0x10b)]['write'](_0x3ecff0)||this[_0x53d550(0x120)]();}function _0x3cc270(){const _0x2473c4=_0x2b0a61,_0x1349e6=this[_0xeed0b8];_0x1349e6[_0x2473c4(0x117)]=_0x4c20d9[_0x2473c4(0x19a)],_0x1349e6[_0x2473c4(0x10b)][_0x2473c4(0x1bb)](),this[_0x2473c4(0x1bb)]();}function _0x30223c(){const _0x302564=_0x2b0a61,_0x4f75ae=this[_0xeed0b8];this[_0x302564(0x134)](_0x302564(0x1d0),_0x30223c),this['on'](_0x302564(0x1d0),_0x31df33),_0x4f75ae&&(_0x4f75ae[_0x302564(0x117)]=_0x4c20d9[_0x302564(0x19a)],this[_0x302564(0x20f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1b7d41}=oe;function _0x1fdb70(_0x3e5c34){const _0x9fc31c=_0xce54;_0x3e5c34[_0x9fc31c(0x166)](_0x9fc31c(0x28c));}function _0x46bd60(){const _0x48304a=_0xce54;!this[_0x48304a(0xec)]&&this[_0x48304a(0x2ab)]['finished']&&this[_0x48304a(0x20f)]();}function _0x33399a(_0x2de629){const _0x3a0148=_0xce54;this[_0x3a0148(0x134)](_0x3a0148(0x1d0),_0x33399a),this[_0x3a0148(0x20f)](),this[_0x3a0148(0x192)](_0x3a0148(0x1d0))===0x0&&this['emit'](_0x3a0148(0x1d0),_0x2de629);}function _0x369d78(_0x560103,_0x4028fe){const _0x4f510f=_0xce54;let _0x296270=!0x0;const _0x53ebaf=new _0x1b7d41({..._0x4028fe,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x560103['on'](_0x4f510f(0x270),function(_0x11c848,_0x36e0bd){const _0x3d260b=_0x4f510f,_0x43f485=!_0x36e0bd&&_0x53ebaf[_0x3d260b(0x113)][_0x3d260b(0x257)]?_0x11c848[_0x3d260b(0x144)]():_0x11c848;_0x53ebaf[_0x3d260b(0x100)](_0x43f485)||_0x560103[_0x3d260b(0x120)]();}),_0x560103[_0x4f510f(0x15b)]('error',function(_0x1871f0){const _0x1c8d92=_0x4f510f;_0x53ebaf[_0x1c8d92(0xec)]||(_0x296270=!0x1,_0x53ebaf[_0x1c8d92(0x20f)](_0x1871f0));}),_0x560103[_0x4f510f(0x15b)](_0x4f510f(0x28c),function(){const _0x1f9afb=_0x4f510f;_0x53ebaf['destroyed']||_0x53ebaf[_0x1f9afb(0x100)](null);}),_0x53ebaf[_0x4f510f(0x2a7)]=function(_0xc3e70e,_0xb67f8){const _0x4f3a8b=_0x4f510f;if(_0x560103[_0x4f3a8b(0x1b1)]===_0x560103[_0x4f3a8b(0x1d2)]){_0xb67f8(_0xc3e70e),process['nextTick'](_0x1fdb70,_0x53ebaf);return;}let _0x511710=!0x1;_0x560103[_0x4f3a8b(0x15b)](_0x4f3a8b(0x1d0),function(_0x124124){_0x511710=!0x0,_0xb67f8(_0x124124);}),_0x560103[_0x4f3a8b(0x15b)]('close',function(){const _0x4e0abc=_0x4f3a8b;_0x511710||_0xb67f8(_0xc3e70e),process[_0x4e0abc(0x1c5)](_0x1fdb70,_0x53ebaf);}),_0x296270&&_0x560103[_0x4f3a8b(0x22d)]();},_0x53ebaf[_0x4f510f(0x1c9)]=function(_0x139b05){const _0x5bba92=_0x4f510f;if(_0x560103[_0x5bba92(0x1b1)]===_0x560103['CONNECTING']){_0x560103[_0x5bba92(0x15b)](_0x5bba92(0x16e),function(){const _0x32b762=_0x5bba92;_0x53ebaf[_0x32b762(0x1c9)](_0x139b05);});return;}_0x560103[_0x5bba92(0x163)]!==null&&(_0x560103['_socket'][_0x5bba92(0x2ab)][_0x5bba92(0x215)]?(_0x139b05(),_0x53ebaf[_0x5bba92(0x113)][_0x5bba92(0x11b)]&&_0x53ebaf[_0x5bba92(0x20f)]()):(_0x560103[_0x5bba92(0x163)][_0x5bba92(0x15b)](_0x5bba92(0x14b),function(){_0x139b05();}),_0x560103[_0x5bba92(0x28c)]()));},_0x53ebaf[_0x4f510f(0x29b)]=function(){const _0x8e8e0c=_0x4f510f;_0x560103[_0x8e8e0c(0x1d7)]&&_0x560103['resume']();},_0x53ebaf[_0x4f510f(0x13a)]=function(_0x2c1848,_0x326ffb,_0x36403d){const _0x2c9cc5=_0x4f510f;if(_0x560103[_0x2c9cc5(0x1b1)]===_0x560103[_0x2c9cc5(0x19f)]){_0x560103['once'](_0x2c9cc5(0x16e),function(){_0x53ebaf['_write'](_0x2c1848,_0x326ffb,_0x36403d);});return;}_0x560103[_0x2c9cc5(0x155)](_0x2c1848,_0x36403d);},_0x53ebaf['on'](_0x4f510f(0x1bb),_0x46bd60),_0x53ebaf['on'](_0x4f510f(0x1d0),_0x33399a),_0x53ebaf;}return Oe=_0x369d78,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2621ea}=ae();function _0x1b4843(_0x36fb97){const _0x1c66ba=_0xce54,_0x39ba7c=new Set();let _0x304b16=-0x1,_0x37eb41=-0x1,_0x8bcfcc=0x0;for(_0x8bcfcc;_0x8bcfcc<_0x36fb97[_0x1c66ba(0x2a6)];_0x8bcfcc++){const _0x22adfc=_0x36fb97[_0x1c66ba(0x235)](_0x8bcfcc);if(_0x37eb41===-0x1&&_0x2621ea[_0x22adfc]===0x1)_0x304b16===-0x1&&(_0x304b16=_0x8bcfcc);else{if(_0x8bcfcc!==0x0&&(_0x22adfc===0x20||_0x22adfc===0x9))_0x37eb41===-0x1&&_0x304b16!==-0x1&&(_0x37eb41=_0x8bcfcc);else{if(_0x22adfc===0x2c){if(_0x304b16===-0x1)throw new SyntaxError(_0x1c66ba(0x135)+_0x8bcfcc);_0x37eb41===-0x1&&(_0x37eb41=_0x8bcfcc);const _0x35ee85=_0x36fb97[_0x1c66ba(0x193)](_0x304b16,_0x37eb41);if(_0x39ba7c['has'](_0x35ee85))throw new SyntaxError(_0x1c66ba(0x18b)+_0x35ee85+_0x1c66ba(0x1b6));_0x39ba7c[_0x1c66ba(0x295)](_0x35ee85),_0x304b16=_0x37eb41=-0x1;}else throw new SyntaxError(_0x1c66ba(0x135)+_0x8bcfcc);}}}if(_0x304b16===-0x1||_0x37eb41!==-0x1)throw new SyntaxError(_0x1c66ba(0x203));const _0x33a73d=_0x36fb97[_0x1c66ba(0x193)](_0x304b16,_0x8bcfcc);if(_0x39ba7c[_0x1c66ba(0x10d)](_0x33a73d))throw new SyntaxError(_0x1c66ba(0x18b)+_0x33a73d+_0x1c66ba(0x1b6));return _0x39ba7c[_0x1c66ba(0x295)](_0x33a73d),_0x39ba7c;}return Ce={'parse':_0x1b4843},Ce;}var Te,rt;function _0xce54(_0xfbbe8a,_0xb77ad9){const _0x1f2dce=_0x1f2d();return _0xce54=function(_0xce5412,_0x974cad){_0xce5412=_0xce5412-0xe7;let _0x314aa9=_0x1f2dce[_0xce5412];return _0x314aa9;},_0xce54(_0xfbbe8a,_0xb77ad9);}function Ft(){const _0x1056a1=_0x2201aa;if(rt)return Te;rt=0x1;const _0x294998=nt,_0xb4c9d6=ot,{Duplex:_0x20b73b}=oe,{createHash:_0x37eeb1}=Le,_0x36214f=ct(),_0x50c084=he(),_0x4d1909=At(),_0x36a780=Pe(),{GUID:_0xaf86b9,kWebSocket:_0x108205}=H(),_0x4bd46f=/^[+/0-9A-Za-z]{22}==$/,_0x254e1d=0x0,_0x5b9670=0x1,_0x4e75db=0x2;class _0xd4b6f extends _0x294998{constructor(_0x5234a7,_0x2d25f1){const _0xe9fabd=_0xce54;if(super(),_0x5234a7={'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':_0x36a780,..._0x5234a7},_0x5234a7[_0xe9fabd(0x204)]==null&&!_0x5234a7[_0xe9fabd(0x11d)]&&!_0x5234a7['noServer']||_0x5234a7[_0xe9fabd(0x204)]!=null&&(_0x5234a7[_0xe9fabd(0x11d)]||_0x5234a7[_0xe9fabd(0xfa)])||_0x5234a7[_0xe9fabd(0x11d)]&&_0x5234a7[_0xe9fabd(0xfa)])throw new TypeError(_0xe9fabd(0xf4));if(_0x5234a7['port']!=null?(this['_server']=_0xb4c9d6[_0xe9fabd(0x17a)]((_0x4ed218,_0x34ff78)=>{const _0x62de5b=_0xe9fabd,_0x57aeb8=_0xb4c9d6[_0x62de5b(0x121)][0x1aa];_0x34ff78[_0x62de5b(0x141)](0x1aa,{'Content-Length':_0x57aeb8['length'],'Content-Type':_0x62de5b(0x131)}),_0x34ff78[_0x62de5b(0x1bb)](_0x57aeb8);}),this['_server']['listen'](_0x5234a7['port'],_0x5234a7[_0xe9fabd(0x189)],_0x5234a7[_0xe9fabd(0x1c3)],_0x2d25f1)):_0x5234a7['server']&&(this[_0xe9fabd(0x171)]=_0x5234a7[_0xe9fabd(0x11d)]),this[_0xe9fabd(0x171)]){const _0x3bc756=this['emit'][_0xe9fabd(0x1e8)](this,_0xe9fabd(0x243));this[_0xe9fabd(0x21a)]=_0x5be8cb(this[_0xe9fabd(0x171)],{'listening':this[_0xe9fabd(0x166)][_0xe9fabd(0x1e8)](this,_0xe9fabd(0x1ab)),'error':this[_0xe9fabd(0x166)]['bind'](this,_0xe9fabd(0x1d0)),'upgrade':(_0xfc6564,_0x5d62b7,_0x290b08)=>{const _0x1031a2=_0xe9fabd;this[_0x1031a2(0x1f6)](_0xfc6564,_0x5d62b7,_0x290b08,_0x3bc756);}});}_0x5234a7[_0xe9fabd(0x1ee)]===!0x0&&(_0x5234a7[_0xe9fabd(0x1ee)]={}),_0x5234a7[_0xe9fabd(0x1ef)]&&(this[_0xe9fabd(0x226)]=new Set(),this[_0xe9fabd(0x2a8)]=!0x1),this['options']=_0x5234a7,this['_state']=_0x254e1d;}[_0x1056a1(0x1e3)](){const _0x3d95d0=_0x1056a1;if(this[_0x3d95d0(0x2b1)][_0x3d95d0(0xfa)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x3d95d0(0x171)][_0x3d95d0(0x1e3)]():null;}[_0x1056a1(0x28c)](_0x1b28f9){const _0x51c6ce=_0x1056a1;if(this[_0x51c6ce(0x275)]===_0x4e75db){_0x1b28f9&&this['once']('close',()=>{const _0x144e21=_0x51c6ce;_0x1b28f9(new Error(_0x144e21(0x1ae)));}),process[_0x51c6ce(0x1c5)](_0x197482,this);return;}if(_0x1b28f9&&this[_0x51c6ce(0x15b)](_0x51c6ce(0x28c),_0x1b28f9),this['_state']!==_0x5b9670){if(this['_state']=_0x5b9670,this[_0x51c6ce(0x2b1)]['noServer']||this[_0x51c6ce(0x2b1)][_0x51c6ce(0x11d)])this[_0x51c6ce(0x171)]&&(this['_removeListeners'](),this[_0x51c6ce(0x21a)]=this[_0x51c6ce(0x171)]=null),this['clients']?this[_0x51c6ce(0x226)][_0x51c6ce(0x1e1)]?this['_shouldEmitClose']=!0x0:process[_0x51c6ce(0x1c5)](_0x197482,this):process['nextTick'](_0x197482,this);else{const _0x2437d6=this[_0x51c6ce(0x171)];this['_removeListeners'](),this[_0x51c6ce(0x21a)]=this[_0x51c6ce(0x171)]=null,_0x2437d6[_0x51c6ce(0x28c)](()=>{_0x197482(this);});}}}[_0x1056a1(0x286)](_0x325dca){const _0x14e9b9=_0x1056a1;if(this['options']['path']){const _0x259b96=_0x325dca[_0x14e9b9(0x132)]['indexOf']('?');if((_0x259b96!==-0x1?_0x325dca[_0x14e9b9(0x132)][_0x14e9b9(0x193)](0x0,_0x259b96):_0x325dca[_0x14e9b9(0x132)])!==this[_0x14e9b9(0x2b1)][_0x14e9b9(0x28b)])return!0x1;}return!0x0;}[_0x1056a1(0x1f6)](_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4){const _0x333d8b=_0x1056a1;_0x3aa591['on'](_0x333d8b(0x1d0),_0x45221e);const _0xad1cff=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x269)],_0x47439c=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x176)],_0x3957c7=+_0x4c0f20[_0x333d8b(0x107)]['sec-websocket-version'];if(_0x4c0f20[_0x333d8b(0x14f)]!=='GET'){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x47439c===void 0x0||_0x47439c[_0x333d8b(0x1de)]()!==_0x333d8b(0x250)){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x170));return;}if(_0xad1cff===void 0x0||!_0x4bd46f['test'](_0xad1cff)){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x1f7));return;}if(_0x3957c7!==0x8&&_0x3957c7!==0xd){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x1ea));return;}if(!this[_0x333d8b(0x286)](_0x4c0f20)){_0x55bb01(_0x3aa591,0x190);return;}const _0x31d3fb=_0x4c0f20['headers']['sec-websocket-protocol'];let _0x1eac00=new Set();if(_0x31d3fb!==void 0x0)try{_0x1eac00=_0x4d1909[_0x333d8b(0x1fe)](_0x31d3fb);}catch{_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x129));return;}const _0x314744=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x253)],_0x2f58b0={};if(this['options']['perMessageDeflate']&&_0x314744!==void 0x0){const _0xd857b4=new _0x50c084(this[_0x333d8b(0x2b1)][_0x333d8b(0x1ee)],!0x0,this['options'][_0x333d8b(0x296)]);try{const _0x48dc00=_0x36214f[_0x333d8b(0x1fe)](_0x314744);_0x48dc00[_0x50c084[_0x333d8b(0x143)]]&&(_0xd857b4[_0x333d8b(0x217)](_0x48dc00[_0x50c084[_0x333d8b(0x143)]]),_0x2f58b0[_0x50c084[_0x333d8b(0x143)]]=_0xd857b4);}catch{_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x333d8b(0x294)]){const _0x44b8c0={'origin':_0x4c0f20[_0x333d8b(0x107)][''+(_0x3957c7===0x8?'sec-websocket-origin':_0x333d8b(0x165))],'secure':!!(_0x4c0f20['socket'][_0x333d8b(0x115)]||_0x4c0f20[_0x333d8b(0x18c)][_0x333d8b(0x158)]),'req':_0x4c0f20};if(this['options'][_0x333d8b(0x294)][_0x333d8b(0x2a6)]===0x2){this[_0x333d8b(0x2b1)][_0x333d8b(0x294)](_0x44b8c0,(_0x4e7890,_0x30eb93,_0x252c4e,_0x1c7893)=>{const _0x31ec5a=_0x333d8b;if(!_0x4e7890)return _0x55bb01(_0x3aa591,_0x30eb93||0x191,_0x252c4e,_0x1c7893);this[_0x31ec5a(0x178)](_0x2f58b0,_0xad1cff,_0x1eac00,_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4);});return;}if(!this[_0x333d8b(0x2b1)][_0x333d8b(0x294)](_0x44b8c0))return _0x55bb01(_0x3aa591,0x191);}this['completeUpgrade'](_0x2f58b0,_0xad1cff,_0x1eac00,_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4);}[_0x1056a1(0x178)](_0x427112,_0x230925,_0x31e428,_0x3969d7,_0x1743a6,_0x982d62,_0x983ebc){const _0x1e8b20=_0x1056a1;if(!_0x1743a6['readable']||!_0x1743a6[_0x1e8b20(0x22e)])return _0x1743a6['destroy']();if(_0x1743a6[_0x108205])throw new Error(_0x1e8b20(0x1c8));if(this[_0x1e8b20(0x275)]>_0x254e1d)return _0x55bb01(_0x1743a6,0x1f7);const _0x155ba5=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1e8b20(0x14e),'Connection:\x20Upgrade',_0x1e8b20(0x1fa)+_0x37eeb1(_0x1e8b20(0x282))[_0x1e8b20(0xfb)](_0x230925+_0xaf86b9)['digest'](_0x1e8b20(0x209))],_0x1ec879=new this[(_0x1e8b20(0x2b1))][(_0x1e8b20(0x1d4))](null,void 0x0,this[_0x1e8b20(0x2b1)]);if(_0x31e428[_0x1e8b20(0x1e1)]){const _0x5b6ece=this['options'][_0x1e8b20(0x28a)]?this[_0x1e8b20(0x2b1)][_0x1e8b20(0x28a)](_0x31e428,_0x3969d7):_0x31e428['values']()[_0x1e8b20(0x27c)]()[_0x1e8b20(0x1e4)];_0x5b6ece&&(_0x155ba5[_0x1e8b20(0x100)](_0x1e8b20(0x208)+_0x5b6ece),_0x1ec879[_0x1e8b20(0x111)]=_0x5b6ece);}if(_0x427112[_0x50c084[_0x1e8b20(0x143)]]){const _0x966a3c=_0x427112[_0x50c084[_0x1e8b20(0x143)]][_0x1e8b20(0x186)],_0x412d71=_0x36214f[_0x1e8b20(0x147)]({[_0x50c084[_0x1e8b20(0x143)]]:[_0x966a3c]});_0x155ba5[_0x1e8b20(0x100)]('Sec-WebSocket-Extensions:\x20'+_0x412d71),_0x1ec879[_0x1e8b20(0x21d)]=_0x427112;}this[_0x1e8b20(0x166)](_0x1e8b20(0x107),_0x155ba5,_0x3969d7),_0x1743a6['write'](_0x155ba5[_0x1e8b20(0x24e)]('\x0d\x0a')[_0x1e8b20(0x205)]('\x0d\x0a')),_0x1743a6['removeListener'](_0x1e8b20(0x1d0),_0x45221e),_0x1ec879[_0x1e8b20(0x281)](_0x1743a6,_0x982d62,{'allowSynchronousEvents':this[_0x1e8b20(0x2b1)][_0x1e8b20(0x17c)],'maxPayload':this[_0x1e8b20(0x2b1)]['maxPayload'],'skipUTF8Validation':this[_0x1e8b20(0x2b1)][_0x1e8b20(0x102)]}),this['clients']&&(this[_0x1e8b20(0x226)][_0x1e8b20(0x295)](_0x1ec879),_0x1ec879['on'](_0x1e8b20(0x28c),()=>{const _0x32760d=_0x1e8b20;this[_0x32760d(0x226)][_0x32760d(0x287)](_0x1ec879),this[_0x32760d(0x2a8)]&&!this['clients'][_0x32760d(0x1e1)]&&process[_0x32760d(0x1c5)](_0x197482,this);})),_0x983ebc(_0x1ec879,_0x3969d7);}}Te=_0xd4b6f;function _0x5be8cb(_0x4b7f62,_0x461ddc){const _0x573414=_0x1056a1;for(const _0x4baccd of Object[_0x573414(0x185)](_0x461ddc))_0x4b7f62['on'](_0x4baccd,_0x461ddc[_0x4baccd]);return function(){const _0x235040=_0x573414;for(const _0x39a266 of Object[_0x235040(0x185)](_0x461ddc))_0x4b7f62['removeListener'](_0x39a266,_0x461ddc[_0x39a266]);};}function _0x197482(_0x2e8bf7){const _0x57e87e=_0x1056a1;_0x2e8bf7[_0x57e87e(0x275)]=_0x4e75db,_0x2e8bf7[_0x57e87e(0x166)]('close');}function _0x45221e(){this['destroy']();}function _0x55bb01(_0x5ecc3d,_0x4932d2,_0x4c96ed,_0x172218){const _0x2cec8a=_0x1056a1;_0x4c96ed=_0x4c96ed||_0xb4c9d6[_0x2cec8a(0x121)][_0x4932d2],_0x172218={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x2cec8a(0x1c7)](_0x4c96ed),..._0x172218},_0x5ecc3d['once'](_0x2cec8a(0x14b),_0x5ecc3d[_0x2cec8a(0x20f)]),_0x5ecc3d[_0x2cec8a(0x1bb)](_0x2cec8a(0x2a3)+_0x4932d2+'\x20'+_0xb4c9d6[_0x2cec8a(0x121)][_0x4932d2]+'\x0d\x0a'+Object['keys'](_0x172218)['map'](_0x170c82=>_0x170c82+':\x20'+_0x172218[_0x170c82])[_0x2cec8a(0x205)]('\x0d\x0a')+_0x2cec8a(0x293)+_0x4c96ed);}function _0x4b09f9(_0x4b7d64,_0x598c90,_0x48fc4c,_0x40bcf8,_0x53f8b9){const _0x544183=_0x1056a1;if(_0x4b7d64[_0x544183(0x192)](_0x544183(0x242))){const _0x1d91fd=new Error(_0x53f8b9);Error[_0x544183(0x2a2)](_0x1d91fd,_0x4b09f9),_0x4b7d64[_0x544183(0x166)](_0x544183(0x242),_0x1d91fd,_0x48fc4c,_0x598c90);}else _0x55bb01(_0x48fc4c,_0x40bcf8,_0x53f8b9);}return Te;}Ft();var jt=Object[_0x2201aa(0x239)],Wt=(_0x3c9b86,_0x586b7c,_0x23c758,_0x481ff0)=>{for(var _0x309ae6=_0x481ff0>0x1?void 0x0:_0x481ff0?jt(_0x586b7c,_0x23c758):_0x586b7c,_0x2eaa22=_0x3c9b86['length']-0x1,_0x52a6ea;_0x2eaa22>=0x0;_0x2eaa22--)(_0x52a6ea=_0x3c9b86[_0x2eaa22])&&(_0x309ae6=_0x52a6ea(_0x309ae6)||_0x309ae6);return _0x309ae6;},qt=(_0x19d359,_0xd81cb)=>(_0xa7c1e7,_0x506243)=>_0xd81cb(_0xa7c1e7,_0x506243,_0x19d359);let ke=class extends A['Disposable']{constructor(_0x53f6ee){const _0x1ae131=_0x2201aa;super(),this[_0x1ae131(0x128)]=_0x53f6ee;}[_0x2201aa(0x1a5)](_0x36cb28){const _0x2604fa=_0x2201aa;var _0xe9529d;const _0x38f694=(_0xe9529d=this[_0x2604fa(0x128)][_0x2604fa(0x172)](fe))==null?void 0x0:_0xe9529d[_0x2604fa(0x14a)];try{const _0x4d2d8e=new $t(_0x36cb28,{'headers':{..._0x38f694}}),_0x47f37a=new A['DisposableCollection']();return{'URL':_0x36cb28,'close':(_0x5d073a,_0x47c72e)=>{const _0x2b543a=_0x2604fa;_0x4d2d8e[_0x2b543a(0x28c)](_0x5d073a,_0x47c72e),_0x47f37a[_0x2b543a(0x22f)]();},'send':_0x1ae869=>{const _0x1d985c=_0x2604fa;_0x4d2d8e[_0x1d985c(0x155)](_0x1ae869);},'open$':new V[(_0x2604fa(0xf5))](_0x363985=>{const _0x3790c1=_0x2604fa,_0x3a94ae=_0x3ee690=>_0x363985[_0x3790c1(0x27c)](_0x3ee690);_0x4d2d8e[_0x3790c1(0x1e2)]('open',_0x3a94ae),_0x47f37a[_0x3790c1(0x295)](A[_0x3790c1(0x2a9)](()=>_0x4d2d8e['removeEventListener']('open',_0x3a94ae)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'close$':new V[(_0x2604fa(0xf5))](_0x3ee3ac=>{const _0x326fb6=_0x2604fa,_0x4c023b=_0x15dfdc=>_0x3ee3ac[_0x326fb6(0x27c)](_0x15dfdc);_0x4d2d8e[_0x326fb6(0x1e2)]('close',_0x4c023b),_0x47f37a['add'](A['toDisposable'](()=>_0x4d2d8e[_0x326fb6(0x133)](_0x326fb6(0x28c),_0x4c023b)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'error$':new V[(_0x2604fa(0xf5))](_0x3451fe=>{const _0x32264e=_0x2604fa,_0x51311d=_0x1fd227=>_0x3451fe[_0x32264e(0x27c)](_0x1fd227);_0x4d2d8e[_0x32264e(0x1e2)](_0x32264e(0x1d0),_0x51311d),_0x47f37a[_0x32264e(0x295)](A[_0x32264e(0x2a9)](()=>_0x4d2d8e[_0x32264e(0x133)](_0x32264e(0x1d0),_0x51311d)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'message$':new V[(_0x2604fa(0xf5))](_0x51c339=>{const _0x401635=_0x2604fa,_0x557168=_0x47bd44=>_0x51c339[_0x401635(0x27c)](_0x47bd44);_0x4d2d8e['addEventListener'](_0x401635(0x270),_0x557168),_0x47f37a[_0x401635(0x295)](A[_0x401635(0x2a9)](()=>_0x4d2d8e[_0x401635(0x133)](_0x401635(0x270),_0x557168)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]())};}catch(_0x34c61f){return console['error'](_0x34c61f),null;}}};ke=Wt([qt(0x0,A[_0x2201aa(0x274)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x2201aa(0x239)],Ht=(_0x25e66d,_0x1fd070,_0x44c259)=>_0x1fd070 in _0x25e66d?Gt(_0x25e66d,_0x1fd070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44c259}):_0x25e66d[_0x1fd070]=_0x44c259,zt=(_0x52aef2,_0x567e92,_0x436810,_0x3c0547)=>{for(var _0x271145=_0x3c0547>0x1?void 0x0:_0x3c0547?Vt(_0x567e92,_0x436810):_0x567e92,_0x3150e0=_0x52aef2['length']-0x1,_0xc84439;_0x3150e0>=0x0;_0x3150e0--)(_0xc84439=_0x52aef2[_0x3150e0])&&(_0x271145=_0xc84439(_0x271145)||_0x271145);return _0x271145;},Ne=(_0x302d8b,_0x54559c)=>(_0xe00d1c,_0x41df99)=>_0x54559c(_0xe00d1c,_0x41df99,_0x302d8b),Yt=(_0xa734b5,_0x2f5e85,_0xef814b)=>Ht(_0xa734b5,_0x2f5e85+'',_0xef814b);exports[_0x2201aa(0x229)]=class extends A[_0x2201aa(0x142)]{constructor(_0xb6db5f=Ct,_0x12e8bf,_0x26bacc,_0x1a686f){const _0x3feb91=_0x2201aa;_0xb6db5f[_0x3feb91(0x14a)]||_0x12e8bf[_0x3feb91(0x164)](_0x3feb91(0x114)),super(),this[_0x3feb91(0x128)]=_0x26bacc,this[_0x3feb91(0x276)]=_0x1a686f,this[_0x3feb91(0x128)][_0x3feb91(0x266)](fe,_0xb6db5f);}['onStarting'](){const _0x4faa4d=_0x2201aa;this[_0x4faa4d(0x1fc)]();}[_0x2201aa(0x1fc)](){const _0x244ac8=_0x2201aa;A[_0x244ac8(0x261)](this[_0x244ac8(0x276)],[[it[_0x244ac8(0x187)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x2201aa(0x18e)](st[_0x2201aa(0x184)]),Ne(0x1,A[_0x2201aa(0x17e)]),Ne(0x2,A[_0x2201aa(0x274)]),Ne(0x3,A['Inject'](A[_0x2201aa(0x236)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x2201aa(0x239)],Xt=(_0x3cfd40,_0x3c2f63,_0x40d1d2,_0xe50e2)=>{const _0x500ae8=_0x2201aa;for(var _0x4cbaaf=_0xe50e2>0x1?void 0x0:_0xe50e2?Kt(_0x3c2f63,_0x40d1d2):_0x3c2f63,_0x1fd910=_0x3cfd40[_0x500ae8(0x2a6)]-0x1,_0x33a858;_0x1fd910>=0x0;_0x1fd910--)(_0x33a858=_0x3cfd40[_0x1fd910])&&(_0x4cbaaf=_0x33a858(_0x4cbaaf)||_0x4cbaaf);return _0x4cbaaf;},ne=(_0x4257ef,_0x43804f)=>(_0xb99d0b,_0xb4d1ff)=>_0x43804f(_0xb99d0b,_0xb4d1ff,_0x4257ef);exports[_0x2201aa(0x244)]=class extends st[_0x2201aa(0x16c)]{constructor(_0x54c034,_0x525792,_0x5596c5,_0x4b6cc9,_0x3db870){const _0x2995dd=_0x2201aa;super(_0x54c034,_0x525792,_0x5596c5,_0x4b6cc9,_0x3db870);const _0x487ccc=this[_0x2995dd(0x128)][_0x2995dd(0x172)](fe);this[_0x2995dd(0x283)][_0x2995dd(0x118)]({'interceptor':(_0x3a041d,_0x277a58)=>{const _0x3f9fe0=_0x2995dd;var _0x5c3c91;const _0x471e9c=_0x3a041d['headers'];return(_0x5c3c91=_0x487ccc==null?void 0x0:_0x487ccc['customHeaders'])!=null&&_0x5c3c91['cookie']&&_0x471e9c[_0x3f9fe0(0x181)](_0x3f9fe0(0x101),_0x487ccc[_0x3f9fe0(0x14a)][_0x3f9fe0(0x160)]),_0x277a58(_0x3a041d);}});}async['createSocket'](_0xe8cd){const _0x1e4f95=_0x2201aa;return this[_0x1e4f95(0x1c0)](_0xe8cd);}},exports[_0x2201aa(0x244)]=Xt([ne(0x0,A[_0x2201aa(0x249)](A['Injector'])),ne(0x1,A[_0x2201aa(0x249)](it[_0x2201aa(0x218)])),ne(0x2,A[_0x2201aa(0x274)]),ne(0x3,A[_0x2201aa(0x17e)]),ne(0x4,Ot[_0x2201aa(0x231)])],exports[_0x2201aa(0x244)]),exports[_0x2201aa(0x28e)]=fe;