@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506081606 → 0.8.0-nightly.202506101607

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 _0x433db5=_0x26f8;(function(_0x7fa098,_0x2aa019){const _0x495d6c=_0x26f8,_0x5da98f=_0x7fa098();while(!![]){try{const _0x57ea95=parseInt(_0x495d6c(0x2ba))/0x1*(-parseInt(_0x495d6c(0x30b))/0x2)+parseInt(_0x495d6c(0x235))/0x3*(parseInt(_0x495d6c(0x2b0))/0x4)+-parseInt(_0x495d6c(0x2ed))/0x5*(-parseInt(_0x495d6c(0x27b))/0x6)+parseInt(_0x495d6c(0x276))/0x7*(parseInt(_0x495d6c(0x176))/0x8)+-parseInt(_0x495d6c(0x2aa))/0x9+parseInt(_0x495d6c(0x2f8))/0xa*(-parseInt(_0x495d6c(0x1ca))/0xb)+-parseInt(_0x495d6c(0x19d))/0xc*(-parseInt(_0x495d6c(0x20f))/0xd);if(_0x57ea95===_0x2aa019)break;else _0x5da98f['push'](_0x5da98f['shift']());}catch(_0x4b008f){_0x5da98f['push'](_0x5da98f['shift']());}}}(_0x4f56,0xa3d6a));Object[_0x433db5(0x20c)](exports,Symbol['toStringTag'],{'value':_0x433db5(0x185)});const st=require(_0x433db5(0x318)),A=require(_0x433db5(0x2d6)),it=require(_0x433db5(0x2b6)),V=require(_0x433db5(0x2bd)),nt=require('events'),vt=require(_0x433db5(0x2be)),ot=require(_0x433db5(0x286)),St=require(_0x433db5(0x316)),Et=require(_0x433db5(0x20d)),Le=require(_0x433db5(0x1da)),oe=require(_0x433db5(0x1d5)),xt=require(_0x433db5(0x283)),bt=require(_0x433db5(0x19a)),wt=require(_0x433db5(0x2c2)),Ot=require('@univerjs-pro/collaboration'),fe=_0x433db5(0x246),Ct={'customHeaders':{}};function Tt(_0x4c5dc6){const _0x688c00=_0x433db5;return _0x4c5dc6&&_0x4c5dc6[_0x688c00(0x1e7)]&&Object[_0x688c00(0x14a)]['hasOwnProperty'][_0x688c00(0x236)](_0x4c5dc6,_0x688c00(0x239))?_0x4c5dc6[_0x688c00(0x239)]:_0x4c5dc6;}function at(_0x16419c){const _0x3d4ae3=_0x433db5;if(Object[_0x3d4ae3(0x14a)][_0x3d4ae3(0x281)][_0x3d4ae3(0x236)](_0x16419c,_0x3d4ae3(0x1e7)))return _0x16419c;var _0xa3c630=_0x16419c[_0x3d4ae3(0x239)];if(typeof _0xa3c630==_0x3d4ae3(0x17c)){var _0x40d9f7=function _0x1728d9(){const _0x4f94ab=_0x3d4ae3;return this instanceof _0x1728d9?Reflect['construct'](_0xa3c630,arguments,this[_0x4f94ab(0x27a)]):_0xa3c630[_0x4f94ab(0x150)](this,arguments);};_0x40d9f7[_0x3d4ae3(0x14a)]=_0xa3c630['prototype'];}else _0x40d9f7={};return Object[_0x3d4ae3(0x20c)](_0x40d9f7,_0x3d4ae3(0x1e7),{'value':!0x0}),Object[_0x3d4ae3(0x148)](_0x16419c)[_0x3d4ae3(0x1a1)](function(_0x22424d){const _0x523d9f=_0x3d4ae3;var _0x4eb612=Object[_0x523d9f(0x1b3)](_0x16419c,_0x22424d);Object[_0x523d9f(0x20c)](_0x40d9f7,_0x22424d,_0x4eb612[_0x523d9f(0x157)]?_0x4eb612:{'enumerable':!0x0,'get':function(){return _0x16419c[_0x22424d];}});}),_0x40d9f7;}var se={'exports':{}},ge,Ge;function H(){const _0x186924=_0x433db5;if(Ge)return ge;Ge=0x1;const _0x2c4ef6=['nodebuffer','arraybuffer',_0x186924(0x155)],_0x14f9f7=typeof Blob<'u';return _0x14f9f7&&_0x2c4ef6[_0x186924(0x30f)](_0x186924(0x18e)),ge={'BINARY_TYPES':_0x2c4ef6,'EMPTY_BUFFER':Buffer[_0x186924(0x15b)](0x0),'GUID':_0x186924(0x28e),'hasBlob':_0x14f9f7,'kForOnEventAttribute':Symbol(_0x186924(0x292)),'kListener':Symbol(_0x186924(0x27c)),'kStatusCode':Symbol(_0x186924(0x24d)),'kWebSocket':Symbol(_0x186924(0x23b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x433db5(0x266)](Object[_0x433db5(0x20c)]({'__proto__':null,'default':Nt},Symbol[_0x433db5(0x24b)],{'value':_0x433db5(0x185)})),Lt=at(kt);var Ve;function ce(){const _0x4f1b26=_0x433db5;if(Ve)return se[_0x4f1b26(0x199)];Ve=0x1;const {EMPTY_BUFFER:_0x4ba295}=H(),_0x4cfcf8=Buffer[Symbol['species']];function _0x10548c(_0x4ba511,_0x4418a7){const _0x3cf375=_0x4f1b26;if(_0x4ba511['length']===0x0)return _0x4ba295;if(_0x4ba511[_0x3cf375(0x1f1)]===0x1)return _0x4ba511[0x0];const _0x336a5e=Buffer['allocUnsafe'](_0x4418a7);let _0x374052=0x0;for(let _0x49e0fe=0x0;_0x49e0fe<_0x4ba511[_0x3cf375(0x1f1)];_0x49e0fe++){const _0x41e93f=_0x4ba511[_0x49e0fe];_0x336a5e[_0x3cf375(0x244)](_0x41e93f,_0x374052),_0x374052+=_0x41e93f[_0x3cf375(0x1f1)];}return _0x374052<_0x4418a7?new _0x4cfcf8(_0x336a5e[_0x3cf375(0x2c2)],_0x336a5e[_0x3cf375(0x1f9)],_0x374052):_0x336a5e;}function _0x548bba(_0x2d6af1,_0x1cc75e,_0x9543e6,_0xf876fa,_0x4a3406){for(let _0x44a7ae=0x0;_0x44a7ae<_0x4a3406;_0x44a7ae++)_0x9543e6[_0xf876fa+_0x44a7ae]=_0x2d6af1[_0x44a7ae]^_0x1cc75e[_0x44a7ae&0x3];}function _0x35bd01(_0x2a20d3,_0x17f529){const _0x9d9d05=_0x4f1b26;for(let _0x692830=0x0;_0x692830<_0x2a20d3[_0x9d9d05(0x1f1)];_0x692830++)_0x2a20d3[_0x692830]^=_0x17f529[_0x692830&0x3];}function _0x1934cd(_0x2e0c4){const _0x10226e=_0x4f1b26;return _0x2e0c4[_0x10226e(0x1f1)]===_0x2e0c4[_0x10226e(0x2c2)][_0x10226e(0x2a7)]?_0x2e0c4[_0x10226e(0x2c2)]:_0x2e0c4['buffer'][_0x10226e(0x238)](_0x2e0c4[_0x10226e(0x1f9)],_0x2e0c4['byteOffset']+_0x2e0c4[_0x10226e(0x1f1)]);}function _0x2588b8(_0x57bd13){const _0x3b5359=_0x4f1b26;if(_0x2588b8[_0x3b5359(0x18d)]=!0x0,Buffer[_0x3b5359(0x2e3)](_0x57bd13))return _0x57bd13;let _0x3a7144;return _0x57bd13 instanceof ArrayBuffer?_0x3a7144=new _0x4cfcf8(_0x57bd13):ArrayBuffer[_0x3b5359(0x1d6)](_0x57bd13)?_0x3a7144=new _0x4cfcf8(_0x57bd13[_0x3b5359(0x2c2)],_0x57bd13['byteOffset'],_0x57bd13['byteLength']):(_0x3a7144=Buffer[_0x3b5359(0x161)](_0x57bd13),_0x2588b8[_0x3b5359(0x18d)]=!0x1),_0x3a7144;}if(se['exports']={'concat':_0x10548c,'mask':_0x548bba,'toArrayBuffer':_0x1934cd,'toBuffer':_0x2588b8,'unmask':_0x35bd01},!process[_0x4f1b26(0x2a4)][_0x4f1b26(0x2ee)])try{const _0x10897b=Lt;se[_0x4f1b26(0x199)][_0x4f1b26(0x1dc)]=function(_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524){const _0x46e288=_0x4f1b26;_0x487524<0x30?_0x548bba(_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524):_0x10897b[_0x46e288(0x1dc)](_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524);},se[_0x4f1b26(0x199)][_0x4f1b26(0x2e9)]=function(_0x5d10b7,_0x3c7a45){const _0x17deba=_0x4f1b26;_0x5d10b7[_0x17deba(0x1f1)]<0x20?_0x35bd01(_0x5d10b7,_0x3c7a45):_0x10897b[_0x17deba(0x2e9)](_0x5d10b7,_0x3c7a45);};}catch{}return se[_0x4f1b26(0x199)];}var ye,He;function Pt(){const _0x567694=_0x433db5;if(He)return ye;He=0x1;const _0x574994=Symbol(_0x567694(0x1a2)),_0x515cf6=Symbol(_0x567694(0x300));class _0x42ced9{constructor(_0x5b6847){const _0x410e85=_0x567694;this[_0x574994]=()=>{const _0xced059=_0x26f8;this[_0xced059(0x25d)]--,this[_0x515cf6]();},this[_0x410e85(0x1d1)]=_0x5b6847||0x1/0x0,this[_0x410e85(0x2d3)]=[],this[_0x410e85(0x25d)]=0x0;}['add'](_0x1549cf){const _0x2058a8=_0x567694;this[_0x2058a8(0x2d3)]['push'](_0x1549cf),this[_0x515cf6]();}[_0x515cf6](){const _0x6ffbae=_0x567694;if(this[_0x6ffbae(0x25d)]!==this['concurrency']&&this[_0x6ffbae(0x2d3)]['length']){const _0x3b00d6=this[_0x6ffbae(0x2d3)][_0x6ffbae(0x29b)]();this['pending']++,_0x3b00d6(this[_0x574994]);}}}return ye=_0x42ced9,ye;}var ve,ze;function _0x4f56(){const _0x525c9c=['Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','endEmitted','decompress','removeAllListeners','from','onopen','_errorEmitted','_autoPong','_deflate','resume','opcode','socket','catch','Unexpected\x20character\x20at\x20index\x20','binaryType','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getMask','\x22:\x20','_socket','once','data','completeUpgrade','total-length','captureStackTrace','finished','2858528GiOSGC','Maximum\x20redirects\x20exceeded','wsClientError','concat','create','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','function','GET','Connection:\x20Upgrade','includes','_closeFrameReceived','split','add','_configService','writeUInt16BE','Module','_generateMask','_bufferedAmount','addEventListener','cookie','abort','invalid\x20payload\x20length\x20','Sec-WebSocket-Extensions','readOnly','blob','client_no_context_takeover','readUInt32BE','_opcode','hash','Invalid\x20Sec-WebSocket-Accept\x20header','kCode','_destroy','_final','setHeader','_compress','exports','zlib','ws:','backlog','132YOGNJR','authorized','createSocket','pluginName','forEach','kDone','emit','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','CollaborationSocketService','text/html','toLowerCase','acceptAsClient','_maxPayload','_httpService','getBlobData','_closeCode','emitClose','Disposable','finish','Z_DEFAULT_WINDOWBITS','isInteger','kType','getOwnPropertyDescriptor','_compressed','serverNoContextTakeover','_errored','_loop','ISnapshotServerService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_max_window_bits','\x22\x20subprotocol\x20is\x20duplicated','request','_url','wasClean','setNoDelay','_server','WS_ERR_UNEXPECTED_MASK','OPEN','destroyed','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','UniverCollaborationClientPlugin','dataMessage','_buffers','setConfig','_redirects','3405556hAYkOx','ws+unix:','readyState','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Upgrade','rsv1','Blob','concurrency','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-origin','FIN\x20must\x20be\x20set','stream','isView','Sec-WebSocket-Accept:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','DisposableCollection','crypto','createConnection','mask','writeUIntBE','WS_ERR_UNEXPECTED_RSV_2_3','isPaused','normalizeParams','origin','permessage-deflate','pause','client_max_window_bits','frame','arraybuffer','__esModule','The\x20URL\x27s\x20pathname\x20is\x20empty','createDeflateRaw','_fragments','reason','consume','_removeListeners','_receiver','Inject','delete','length','toString','dequeue','conclude','onclose','username','Invalid\x20URL:\x20','File','byteOffset','nextTick','reset','timeout','charCodeAt','UniverCollaborationClientNodePlugin','size','bufferedAmount','string','Basic\x20','onStarting','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-protocol','servername','response','destroy','port','uncork','_fragmented','defineProperty','tls','setTimeout','439283evTxuW','compress','allowSynchronousEvents','wss:','_inflate','haveLength','removeListener','\x20(supported\x20versions:\x20','NodeCollaborationSocketService','HTTP/1.1\x20','_options','sec-websocket-version','terminate','_state','WS_ERR_INVALID_UTF8','server_max_window_bits','customHeaders','kWasClean','onmessage','_protocol','The\x20\x22','_isServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_readyState','arrayBuffer','listeners','_decompress','socketPath','defaultPort','isServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','close','setSocket','HTTP/1.1\x20101\x20Switching\x20Protocols','Unknown\x20parameter\x20\x22','replace','_doCreateSocket','52758dMTRfd','call','readUInt16BE','slice','default','nodebuffer','websocket','startsWith','end','ping','_closeTimer','indexOf','auth','onerror','maxPayload','set','buffers','collaboration-client-node.config','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','fin','kData','_read','toStringTag','errorEmitted','status-code','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','next','search','_binaryType','_payloadLength','listenerCount','threshold','CLOSING','Cookie','species','extensionName','_mask','_originalSecure','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','redirect','pending','protocolVersion','enqueue','getPayloadLength16','join','text/plain','sec-websocket-accept','protocol','offer','freeze','connect','invalid\x20opcode\x200','_masked','digest','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_maskBuffer','createError','Invalid\x20value\x20for\x20parameter\x20\x22','writeHead','verifyClient','_write','The\x20URL\x20contains\x20a\x20fragment\x20identifier','handleEvent','clients','_skipUTF8Validation','21CKULRM','WebSocket\x20is\x20not\x20open:\x20readyState\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','dispatch','constructor','6kqnYjP','kListener','createInflateRaw','test','Sec-WebSocket-Protocol:\x20','cleanup','hasOwnProperty','pong','url','createServer','callback','http','maxRedirects','map','_totalPayloadLength','statusCode','message','_closeFrameSent','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','write','sec-websocket-extensions','bind','kIsForOnEventAttribute','host','_writableState','_injector','MASK\x20must\x20be\x20set','server_no_context_takeover','_sender','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','then','shift','_req','address','location','has','Unexpected\x20end\x20of\x20input','zlibDeflateOptions','skipUTF8Validation','Unexpected\x20server\x20response:\x20','env','cork','getData','byteLength','acceptAsServer','allocUnsafe','6562845MiGrfB','ILogService','_paused','Observable','_no_context_takeover','password','268MPidJQ','method','_fin','needDrain','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','registerDependencies','@univerjs/network','finishRequest','object','serverMaxWindowBits','95731QSaZqB','target','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','rxjs','https','authorization','removeEventListener','path','buffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','perMessageDeflate','getPayloadLength64','flush','_messageLength','values','type','binary','upgrade','code','hostname','noServer','options','number','Unsupported\x20protocol\x20version:\x20','WS_ERR_UNEXPECTED_RSV_1','jobs','controlMessage','sha1','@univerjs/core','entries','startLoop','IConfigService','kTarget','Max\x20payload\x20size\x20exceeded','DependentOn','sendFrame','\x0d\x0a\x0d\x0a','The\x20server\x20is\x20not\x20running','href','Sec-WebSocket-Protocol','readable','isBuffer','http:','registerHTTPInterceptor','_queue','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','open','unmask','getConfig','clientTracking','Invalid\x20WebSocket\x20frame:\x20','4391695lAWjIf','WS_NO_BUFFER_UTIL','clientNoContextTakeover','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x20','generateMask','WS_ERR_INVALID_OPCODE','find','send','handleProtocols','_firstFragment','40apEnGA','shouldHandle','drain','extensions','pow','params','Z_SYNC_FLUSH','followRedirects','kRun','WS_ERR_EXPECTED_MASK','_allowSynchronousEvents','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','warn','concurrencyLimit','CONNECTING','Invalid\x20Sec-WebSocket-Extensions\x20header','encrypted','listen','_registerDependencies','18BIJxKy','Injector','clientMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','push','kAborted','STATUS_CODES','_shouldEmitClose','isValidUTF8','ISocketService','headers','net','CLOSED','@univerjs-pro/collaboration-client','toDisposable','handleUpgrade','_bufferedBytes','error','update','keys','pipe','prototype','share','parse','Parameter\x20\x22','Invalid\x20Upgrade\x20header','connection','apply','server','WS_ERR_EXPECTED_FIN','isArray','COLLABORATION_CLIENT_NODE_CONFIG_KEY','fragments','_extensions','get','base64','accept','_readableState','alloc','_closeMessage'];_0x4f56=function(){return _0x525c9c;};return _0x4f56();}function he(){const _0x39b753=_0x433db5;if(ze)return ve;ze=0x1;const _0x4e509c=bt,_0xc8bdc=ce(),_0x46d39e=Pt(),{kStatusCode:_0x24ed84}=H(),_0x28571d=Buffer[Symbol[_0x39b753(0x257)]],_0x3a8e46=Buffer['from']([0x0,0x0,0xff,0xff]),_0x36874f=Symbol('permessage-deflate'),_0x1f4dee=Symbol(_0x39b753(0x173)),_0x2d8403=Symbol(_0x39b753(0x285)),_0x19fca5=Symbol(_0x39b753(0x245)),_0x7f820c=Symbol(_0x39b753(0x146));let _0x33a950;class _0x5a1808{constructor(_0x919253,_0x1909e0,_0x56491c){const _0x3070c9=_0x39b753;if(this[_0x3070c9(0x1a9)]=_0x56491c|0x0,this['_options']=_0x919253||{},this['_threshold']=this['_options'][_0x3070c9(0x254)]!==void 0x0?this['_options'][_0x3070c9(0x254)]:0x400,this['_isServer']=!!_0x1909e0,this[_0x3070c9(0x165)]=null,this[_0x3070c9(0x213)]=null,this[_0x3070c9(0x2fd)]=null,!_0x33a950){const _0x13b25a=this['_options'][_0x3070c9(0x305)]!==void 0x0?this[_0x3070c9(0x219)][_0x3070c9(0x305)]:0xa;_0x33a950=new _0x46d39e(_0x13b25a);}}static get[_0x39b753(0x258)](){const _0x494fbc=_0x39b753;return _0x494fbc(0x1e2);}[_0x39b753(0x265)](){const _0x27a56e=_0x39b753,_0x811933={};return this['_options']['serverNoContextTakeover']&&(_0x811933[_0x27a56e(0x297)]=!0x0),this[_0x27a56e(0x219)]['clientNoContextTakeover']&&(_0x811933['client_no_context_takeover']=!0x0),this[_0x27a56e(0x219)][_0x27a56e(0x2b9)]&&(_0x811933[_0x27a56e(0x21e)]=this[_0x27a56e(0x219)][_0x27a56e(0x2b9)]),this['_options']['clientMaxWindowBits']?_0x811933[_0x27a56e(0x1e4)]=this['_options']['clientMaxWindowBits']:this[_0x27a56e(0x219)][_0x27a56e(0x30d)]==null&&(_0x811933['client_max_window_bits']=!0x0),_0x811933;}[_0x39b753(0x159)](_0x1a5a0e){const _0x290054=_0x39b753;return _0x1a5a0e=this[_0x290054(0x1e0)](_0x1a5a0e),this[_0x290054(0x2fd)]=this[_0x290054(0x224)]?this[_0x290054(0x2a8)](_0x1a5a0e):this[_0x290054(0x1a8)](_0x1a5a0e),this[_0x290054(0x2fd)];}[_0x39b753(0x280)](){const _0x55cffa=_0x39b753;if(this[_0x55cffa(0x213)]&&(this[_0x55cffa(0x213)]['close'](),this[_0x55cffa(0x213)]=null),this[_0x55cffa(0x165)]){const _0x8466e4=this[_0x55cffa(0x165)][_0x2d8403];this[_0x55cffa(0x165)]['close'](),this[_0x55cffa(0x165)]=null,_0x8466e4&&_0x8466e4(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x39b753(0x2a8)](_0x5d3077){const _0x314399=_0x39b753,_0x1c86af=this[_0x314399(0x219)],_0x1f506f=_0x5d3077[_0x314399(0x2f4)](_0x29a155=>!(_0x1c86af[_0x314399(0x1b5)]===!0x1&&_0x29a155[_0x314399(0x297)]||_0x29a155['server_max_window_bits']&&(_0x1c86af[_0x314399(0x2b9)]===!0x1||typeof _0x1c86af[_0x314399(0x2b9)]=='number'&&_0x1c86af['serverMaxWindowBits']>_0x29a155[_0x314399(0x21e)])||typeof _0x1c86af['clientMaxWindowBits']==_0x314399(0x2d0)&&!_0x29a155[_0x314399(0x1e4)]));if(!_0x1f506f)throw new Error(_0x314399(0x278));return _0x1c86af[_0x314399(0x1b5)]&&(_0x1f506f[_0x314399(0x297)]=!0x0),_0x1c86af['clientNoContextTakeover']&&(_0x1f506f[_0x314399(0x18f)]=!0x0),typeof _0x1c86af['serverMaxWindowBits']==_0x314399(0x2d0)&&(_0x1f506f['server_max_window_bits']=_0x1c86af['serverMaxWindowBits']),typeof _0x1c86af[_0x314399(0x30d)]==_0x314399(0x2d0)?_0x1f506f[_0x314399(0x1e4)]=_0x1c86af['clientMaxWindowBits']:(_0x1f506f[_0x314399(0x1e4)]===!0x0||_0x1c86af[_0x314399(0x30d)]===!0x1)&&delete _0x1f506f[_0x314399(0x1e4)],_0x1f506f;}[_0x39b753(0x1a8)](_0x2e365a){const _0xa98458=_0x39b753,_0x56c2b7=_0x2e365a[0x0];if(this['_options'][_0xa98458(0x2ef)]===!0x1&&_0x56c2b7[_0xa98458(0x18f)])throw new Error(_0xa98458(0x15d));if(!_0x56c2b7[_0xa98458(0x1e4)])typeof this['_options'][_0xa98458(0x30d)]==_0xa98458(0x2d0)&&(_0x56c2b7['client_max_window_bits']=this[_0xa98458(0x219)][_0xa98458(0x30d)]);else{if(this[_0xa98458(0x219)][_0xa98458(0x30d)]===!0x1||typeof this['_options'][_0xa98458(0x30d)]==_0xa98458(0x2d0)&&_0x56c2b7[_0xa98458(0x1e4)]>this[_0xa98458(0x219)]['clientMaxWindowBits'])throw new Error(_0xa98458(0x303));}return _0x56c2b7;}[_0x39b753(0x1e0)](_0x348541){const _0x3f1cd2=_0x39b753;return _0x348541[_0x3f1cd2(0x1a1)](_0x853070=>{const _0x2df436=_0x3f1cd2;Object[_0x2df436(0x148)](_0x853070)['forEach'](_0x19469a=>{const _0x493e4b=_0x2df436;let _0x4571ce=_0x853070[_0x19469a];if(_0x4571ce[_0x493e4b(0x1f1)]>0x1)throw new Error(_0x493e4b(0x14d)+_0x19469a+_0x493e4b(0x1cd));if(_0x4571ce=_0x4571ce[0x0],_0x19469a===_0x493e4b(0x1e4)){if(_0x4571ce!==!0x0){const _0x1bcbb7=+_0x4571ce;if(!Number[_0x493e4b(0x1b1)](_0x1bcbb7)||_0x1bcbb7<0x8||_0x1bcbb7>0xf)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);_0x4571ce=_0x1bcbb7;}else{if(!this[_0x493e4b(0x224)])throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);}}else{if(_0x19469a===_0x493e4b(0x21e)){const _0x155ff2=+_0x4571ce;if(!Number[_0x493e4b(0x1b1)](_0x155ff2)||_0x155ff2<0x8||_0x155ff2>0xf)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+'\x22:\x20'+_0x4571ce);_0x4571ce=_0x155ff2;}else{if(_0x19469a==='client_no_context_takeover'||_0x19469a===_0x493e4b(0x297)){if(_0x4571ce!==!0x0)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);}else throw new Error(_0x493e4b(0x232)+_0x19469a+'\x22');}}_0x853070[_0x19469a]=_0x4571ce;});}),_0x348541;}[_0x39b753(0x15f)](_0x385910,_0x3d6686,_0x1f7267){const _0x1b630c=_0x39b753;_0x33a950[_0x1b630c(0x182)](_0x3d9bbb=>{const _0x2645ff=_0x1b630c;this[_0x2645ff(0x229)](_0x385910,_0x3d6686,(_0x251672,_0x488f4b)=>{_0x3d9bbb(),_0x1f7267(_0x251672,_0x488f4b);});});}['compress'](_0x169f84,_0x2e9a53,_0x32f47b){_0x33a950['add'](_0x5b1000=>{const _0xe4b2ce=_0x26f8;this[_0xe4b2ce(0x198)](_0x169f84,_0x2e9a53,(_0x37a080,_0x3b4996)=>{_0x5b1000(),_0x32f47b(_0x37a080,_0x3b4996);});});}[_0x39b753(0x229)](_0x42298b,_0x5b02fd,_0x230444){const _0x3a289c=_0x39b753,_0x820c58=this['_isServer']?'client':_0x3a289c(0x151);if(!this[_0x3a289c(0x213)]){const _0x55043f=_0x820c58+_0x3a289c(0x1ba),_0x284aee=typeof this[_0x3a289c(0x2fd)][_0x55043f]!=_0x3a289c(0x2d0)?_0x4e509c[_0x3a289c(0x1b0)]:this[_0x3a289c(0x2fd)][_0x55043f];this['_inflate']=_0x4e509c[_0x3a289c(0x27d)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x284aee}),this[_0x3a289c(0x213)][_0x36874f]=this,this[_0x3a289c(0x213)][_0x1f4dee]=0x0,this[_0x3a289c(0x213)][_0x19fca5]=[],this[_0x3a289c(0x213)]['on'](_0x3a289c(0x146),_0x2d2355),this[_0x3a289c(0x213)]['on'](_0x3a289c(0x171),_0x657395);}this[_0x3a289c(0x213)][_0x2d8403]=_0x230444,this[_0x3a289c(0x213)]['write'](_0x42298b),_0x5b02fd&&this[_0x3a289c(0x213)][_0x3a289c(0x28f)](_0x3a8e46),this[_0x3a289c(0x213)][_0x3a289c(0x2c6)](()=>{const _0x1def79=_0x3a289c,_0x6fa5ab=this[_0x1def79(0x213)][_0x7f820c];if(_0x6fa5ab){this[_0x1def79(0x213)][_0x1def79(0x22f)](),this[_0x1def79(0x213)]=null,_0x230444(_0x6fa5ab);return;}const _0x306b7c=_0xc8bdc[_0x1def79(0x179)](this[_0x1def79(0x213)][_0x19fca5],this[_0x1def79(0x213)][_0x1f4dee]);this['_inflate'][_0x1def79(0x15a)]['endEmitted']?(this[_0x1def79(0x213)][_0x1def79(0x22f)](),this[_0x1def79(0x213)]=null):(this[_0x1def79(0x213)][_0x1f4dee]=0x0,this['_inflate'][_0x19fca5]=[],_0x5b02fd&&this[_0x1def79(0x2fd)][_0x820c58+_0x1def79(0x2ae)]&&this['_inflate'][_0x1def79(0x1fb)]()),_0x230444(null,_0x306b7c);});}[_0x39b753(0x198)](_0x749031,_0x2e1155,_0x499dff){const _0x4456e9=_0x39b753,_0x2e1c0a=this[_0x4456e9(0x224)]?_0x4456e9(0x151):'client';if(!this[_0x4456e9(0x165)]){const _0x59c918=_0x2e1c0a+_0x4456e9(0x1ba),_0xb3ef8f=typeof this[_0x4456e9(0x2fd)][_0x59c918]!=_0x4456e9(0x2d0)?_0x4e509c['Z_DEFAULT_WINDOWBITS']:this[_0x4456e9(0x2fd)][_0x59c918];this[_0x4456e9(0x165)]=_0x4e509c[_0x4456e9(0x1e9)]({...this[_0x4456e9(0x219)][_0x4456e9(0x2a1)],'windowBits':_0xb3ef8f}),this['_deflate'][_0x1f4dee]=0x0,this['_deflate'][_0x19fca5]=[],this[_0x4456e9(0x165)]['on'](_0x4456e9(0x171),_0x36c996);}this['_deflate'][_0x2d8403]=_0x499dff,this[_0x4456e9(0x165)][_0x4456e9(0x28f)](_0x749031),this[_0x4456e9(0x165)]['flush'](_0x4e509c[_0x4456e9(0x2fe)],()=>{const _0x4f0333=_0x4456e9;if(!this[_0x4f0333(0x165)])return;let _0x517f2f=_0xc8bdc[_0x4f0333(0x179)](this[_0x4f0333(0x165)][_0x19fca5],this[_0x4f0333(0x165)][_0x1f4dee]);_0x2e1155&&(_0x517f2f=new _0x28571d(_0x517f2f['buffer'],_0x517f2f['byteOffset'],_0x517f2f[_0x4f0333(0x1f1)]-0x4)),this[_0x4f0333(0x165)][_0x2d8403]=null,this[_0x4f0333(0x165)][_0x1f4dee]=0x0,this['_deflate'][_0x19fca5]=[],_0x2e1155&&this[_0x4f0333(0x2fd)][_0x2e1c0a+_0x4f0333(0x2ae)]&&this['_deflate'][_0x4f0333(0x1fb)](),_0x499dff(null,_0x517f2f);});}}ve=_0x5a1808;function _0x36c996(_0x3531ce){const _0x141e29=_0x39b753;this[_0x19fca5][_0x141e29(0x30f)](_0x3531ce),this[_0x1f4dee]+=_0x3531ce[_0x141e29(0x1f1)];}function _0x657395(_0x42e9b6){const _0x4ff9f1=_0x39b753;if(this[_0x1f4dee]+=_0x42e9b6[_0x4ff9f1(0x1f1)],this[_0x36874f][_0x4ff9f1(0x1a9)]<0x1||this[_0x1f4dee]<=this[_0x36874f][_0x4ff9f1(0x1a9)]){this[_0x19fca5][_0x4ff9f1(0x30f)](_0x42e9b6);return;}this[_0x7f820c]=new RangeError(_0x4ff9f1(0x2db)),this[_0x7f820c][_0x4ff9f1(0x2cc)]=_0x4ff9f1(0x2c3),this[_0x7f820c][_0x24ed84]=0x3f1,this[_0x4ff9f1(0x215)]('data',_0x657395),this[_0x4ff9f1(0x1fb)]();}function _0x2d2355(_0x2dd616){if(this[_0x36874f]['_inflate']=null,this[_0x7f820c]){this[_0x2d8403](this[_0x7f820c]);return;}_0x2dd616[_0x24ed84]=0x3ef,this[_0x2d8403](_0x2dd616);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x433db5(0x266)](Object[_0x433db5(0x20c)]({'__proto__':null,'default':Dt},Symbol[_0x433db5(0x24b)],{'value':_0x433db5(0x185)})),Bt=at(Rt);var Ye;function ae(){const _0x40e299=_0x433db5;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x3a8ace}=wt,{hasBlob:_0x33da14}=H(),_0x483409=[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 _0x2c5d0e(_0x3de897){return _0x3de897>=0x3e8&&_0x3de897<=0x3f6&&_0x3de897!==0x3ec&&_0x3de897!==0x3ed&&_0x3de897!==0x3ee||_0x3de897>=0xbb8&&_0x3de897<=0x1387;}function _0x1f1975(_0x55b10b){const _0x29a6bd=_0x26f8,_0x311b17=_0x55b10b[_0x29a6bd(0x1f1)];let _0x46b947=0x0;for(;_0x46b947<_0x311b17;)if((_0x55b10b[_0x46b947]&0x80)===0x0)_0x46b947++;else{if((_0x55b10b[_0x46b947]&0xe0)===0xc0){if(_0x46b947+0x1===_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947]&0xfe)===0xc0)return!0x1;_0x46b947+=0x2;}else{if((_0x55b10b[_0x46b947]&0xf0)===0xe0){if(_0x46b947+0x2>=_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x2]&0xc0)!==0x80||_0x55b10b[_0x46b947]===0xe0&&(_0x55b10b[_0x46b947+0x1]&0xe0)===0x80||_0x55b10b[_0x46b947]===0xed&&(_0x55b10b[_0x46b947+0x1]&0xe0)===0xa0)return!0x1;_0x46b947+=0x3;}else{if((_0x55b10b[_0x46b947]&0xf8)===0xf0){if(_0x46b947+0x3>=_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x2]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x3]&0xc0)!==0x80||_0x55b10b[_0x46b947]===0xf0&&(_0x55b10b[_0x46b947+0x1]&0xf0)===0x80||_0x55b10b[_0x46b947]===0xf4&&_0x55b10b[_0x46b947+0x1]>0x8f||_0x55b10b[_0x46b947]>0xf4)return!0x1;_0x46b947+=0x4;}else return!0x1;}}}return!0x0;}function _0x3bf0a3(_0xd44fc0){const _0x4f2ed1=_0x26f8;return _0x33da14&&typeof _0xd44fc0=='object'&&typeof _0xd44fc0['arrayBuffer']==_0x4f2ed1(0x17c)&&typeof _0xd44fc0[_0x4f2ed1(0x2c9)]==_0x4f2ed1(0x201)&&typeof _0xd44fc0[_0x4f2ed1(0x1d5)]==_0x4f2ed1(0x17c)&&(_0xd44fc0[Symbol[_0x4f2ed1(0x24b)]]===_0x4f2ed1(0x1d0)||_0xd44fc0[Symbol[_0x4f2ed1(0x24b)]]===_0x4f2ed1(0x1f8));}if(ie[_0x40e299(0x199)]={'isBlob':_0x3bf0a3,'isValidStatusCode':_0x2c5d0e,'isValidUTF8':_0x1f1975,'tokenChars':_0x483409},_0x3a8ace)ie['exports']['isValidUTF8']=function(_0x508096){const _0x18f8c0=_0x40e299;return _0x508096[_0x18f8c0(0x1f1)]<0x18?_0x1f1975(_0x508096):_0x3a8ace(_0x508096);};else{if(!process[_0x40e299(0x2a4)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5982b2=Bt;ie['exports'][_0x40e299(0x313)]=function(_0x2a3e92){const _0x26b8c1=_0x40e299;return _0x2a3e92[_0x26b8c1(0x1f1)]<0x20?_0x1f1975(_0x2a3e92):_0x5982b2(_0x2a3e92);};}catch{}}return ie[_0x40e299(0x199)];}var Se,Ke;function lt(){const _0x3a269d=_0x433db5;if(Ke)return Se;Ke=0x1;const {Writable:_0x20e7a4}=oe,_0x3d4dc9=he(),{BINARY_TYPES:_0x638ac9,EMPTY_BUFFER:_0x289a13,kStatusCode:_0x1107dd,kWebSocket:_0x39ee9e}=H(),{concat:_0x4b618c,toArrayBuffer:_0x43ef7f,unmask:_0x4f5877}=ce(),{isValidStatusCode:_0x4ade20,isValidUTF8:_0x9db1ae}=ae(),_0x35bcd8=Buffer[Symbol['species']],_0x45657b=0x0,_0x39481c=0x1,_0x3cb698=0x2,_0x1eddbd=0x3,_0x5186b7=0x4,_0x545194=0x5,_0x2709c0=0x6;class _0x1957b6 extends _0x20e7a4{constructor(_0x505104={}){const _0xe4ef6f=_0x26f8;super(),this[_0xe4ef6f(0x302)]=_0x505104[_0xe4ef6f(0x211)]!==void 0x0?_0x505104[_0xe4ef6f(0x211)]:!0x0,this['_binaryType']=_0x505104[_0xe4ef6f(0x16b)]||_0x638ac9[0x0],this['_extensions']=_0x505104[_0xe4ef6f(0x2fb)]||{},this['_isServer']=!!_0x505104[_0xe4ef6f(0x22c)],this['_maxPayload']=_0x505104[_0xe4ef6f(0x243)]|0x0,this[_0xe4ef6f(0x275)]=!!_0x505104[_0xe4ef6f(0x2a2)],this[_0x39ee9e]=void 0x0,this['_bufferedBytes']=0x0,this[_0xe4ef6f(0x1c7)]=[],this[_0xe4ef6f(0x1b4)]=!0x1,this['_payloadLength']=0x0,this[_0xe4ef6f(0x259)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0xe4ef6f(0x191)]=0x0,this[_0xe4ef6f(0x289)]=0x0,this[_0xe4ef6f(0x2c7)]=0x0,this[_0xe4ef6f(0x1ea)]=[],this['_errored']=!0x1,this[_0xe4ef6f(0x1b7)]=!0x1,this[_0xe4ef6f(0x21c)]=_0x45657b;}[_0x3a269d(0x271)](_0x88e120,_0x43bb4e,_0x23d87c){const _0x1b7463=_0x3a269d;if(this[_0x1b7463(0x191)]===0x8&&this['_state']==_0x45657b)return _0x23d87c();this[_0x1b7463(0x145)]+=_0x88e120['length'],this[_0x1b7463(0x1c7)][_0x1b7463(0x30f)](_0x88e120),this[_0x1b7463(0x2d8)](_0x23d87c);}[_0x3a269d(0x1ec)](_0xbb6fc2){const _0x566877=_0x3a269d;if(this['_bufferedBytes']-=_0xbb6fc2,_0xbb6fc2===this['_buffers'][0x0][_0x566877(0x1f1)])return this['_buffers'][_0x566877(0x29b)]();if(_0xbb6fc2<this['_buffers'][0x0][_0x566877(0x1f1)]){const _0x2dcb81=this[_0x566877(0x1c7)][0x0];return this[_0x566877(0x1c7)][0x0]=new _0x35bcd8(_0x2dcb81[_0x566877(0x2c2)],_0x2dcb81[_0x566877(0x1f9)]+_0xbb6fc2,_0x2dcb81[_0x566877(0x1f1)]-_0xbb6fc2),new _0x35bcd8(_0x2dcb81[_0x566877(0x2c2)],_0x2dcb81[_0x566877(0x1f9)],_0xbb6fc2);}const _0x41438c=Buffer[_0x566877(0x2a9)](_0xbb6fc2);do{const _0x17cf70=this[_0x566877(0x1c7)][0x0],_0x506f97=_0x41438c[_0x566877(0x1f1)]-_0xbb6fc2;_0xbb6fc2>=_0x17cf70['length']?_0x41438c[_0x566877(0x244)](this['_buffers'][_0x566877(0x29b)](),_0x506f97):(_0x41438c[_0x566877(0x244)](new Uint8Array(_0x17cf70[_0x566877(0x2c2)],_0x17cf70[_0x566877(0x1f9)],_0xbb6fc2),_0x506f97),this[_0x566877(0x1c7)][0x0]=new _0x35bcd8(_0x17cf70[_0x566877(0x2c2)],_0x17cf70[_0x566877(0x1f9)]+_0xbb6fc2,_0x17cf70[_0x566877(0x1f1)]-_0xbb6fc2)),_0xbb6fc2-=_0x17cf70[_0x566877(0x1f1)];}while(_0xbb6fc2>0x0);return _0x41438c;}[_0x3a269d(0x2d8)](_0x39aa68){const _0x369c95=_0x3a269d;this[_0x369c95(0x1b7)]=!0x0;do switch(this[_0x369c95(0x21c)]){case _0x45657b:this['getInfo'](_0x39aa68);break;case _0x39481c:this['getPayloadLength16'](_0x39aa68);break;case _0x3cb698:this[_0x369c95(0x2c5)](_0x39aa68);break;case _0x1eddbd:this[_0x369c95(0x16d)]();break;case _0x5186b7:this['getData'](_0x39aa68);break;case _0x545194:case _0x2709c0:this[_0x369c95(0x1b7)]=!0x1;return;}while(this[_0x369c95(0x1b7)]);this[_0x369c95(0x1b6)]||_0x39aa68();}['getInfo'](_0xa49b74){const _0x24a1cd=_0x3a269d;if(this[_0x24a1cd(0x145)]<0x2){this[_0x24a1cd(0x1b7)]=!0x1;return;}const _0x444015=this[_0x24a1cd(0x1ec)](0x2);if((_0x444015[0x0]&0x30)!==0x0){const _0x23d0bb=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x225),!0x0,0x3ea,_0x24a1cd(0x1de));_0xa49b74(_0x23d0bb);return;}const _0xe3259d=(_0x444015[0x0]&0x40)===0x40;if(_0xe3259d&&!this[_0x24a1cd(0x156)][_0x3d4dc9['extensionName']]){const _0x3cd7f7=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,_0x24a1cd(0x2d2));_0xa49b74(_0x3cd7f7);return;}if(this[_0x24a1cd(0x2b2)]=(_0x444015[0x0]&0x80)===0x80,this[_0x24a1cd(0x191)]=_0x444015[0x0]&0xf,this[_0x24a1cd(0x252)]=_0x444015[0x1]&0x7f,this[_0x24a1cd(0x191)]===0x0){if(_0xe3259d){const _0x4b6386=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa49b74(_0x4b6386);return;}if(!this['_fragmented']){const _0x114c06=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x268),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa49b74(_0x114c06);return;}this[_0x24a1cd(0x191)]=this[_0x24a1cd(0x20b)];}else{if(this[_0x24a1cd(0x191)]===0x1||this[_0x24a1cd(0x191)]===0x2){if(this[_0x24a1cd(0x20b)]){const _0x5031d9=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f1)+this[_0x24a1cd(0x191)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa49b74(_0x5031d9);return;}this[_0x24a1cd(0x1b4)]=_0xe3259d;}else{if(this[_0x24a1cd(0x191)]>0x7&&this[_0x24a1cd(0x191)]<0xb){if(!this[_0x24a1cd(0x2b2)]){const _0x279d8d=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x1d4),!0x0,0x3ea,_0x24a1cd(0x152));_0xa49b74(_0x279d8d);return;}if(_0xe3259d){const _0x4c8ecb=this['createError'](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa49b74(_0x4c8ecb);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x24a1cd(0x252)]===0x1){const _0x571b2f=this['createError'](RangeError,_0x24a1cd(0x18b)+this['_payloadLength'],!0x0,0x3ea,_0x24a1cd(0x1c4));_0xa49b74(_0x571b2f);return;}}else{const _0x152db6=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f1)+this['_opcode'],!0x0,0x3ea,_0x24a1cd(0x2f3));_0xa49b74(_0x152db6);return;}}}if(!this[_0x24a1cd(0x2b2)]&&!this[_0x24a1cd(0x20b)]&&(this[_0x24a1cd(0x20b)]=this['_opcode']),this[_0x24a1cd(0x269)]=(_0x444015[0x1]&0x80)===0x80,this[_0x24a1cd(0x224)]){if(!this[_0x24a1cd(0x269)]){const _0x1fe27d=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x296),!0x0,0x3ea,_0x24a1cd(0x301));_0xa49b74(_0x1fe27d);return;}}else{if(this[_0x24a1cd(0x269)]){const _0x314cf0=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x24a1cd(0x1c1));_0xa49b74(_0x314cf0);return;}}this[_0x24a1cd(0x252)]===0x7e?this[_0x24a1cd(0x21c)]=_0x39481c:this['_payloadLength']===0x7f?this[_0x24a1cd(0x21c)]=_0x3cb698:this['haveLength'](_0xa49b74);}[_0x3a269d(0x260)](_0x3d14e2){const _0x2fdc61=_0x3a269d;if(this['_bufferedBytes']<0x2){this[_0x2fdc61(0x1b7)]=!0x1;return;}this[_0x2fdc61(0x252)]=this[_0x2fdc61(0x1ec)](0x2)['readUInt16BE'](0x0),this[_0x2fdc61(0x214)](_0x3d14e2);}[_0x3a269d(0x2c5)](_0x1bea7f){const _0x3e8ed0=_0x3a269d;if(this['_bufferedBytes']<0x8){this[_0x3e8ed0(0x1b7)]=!0x1;return;}const _0x3071c1=this[_0x3e8ed0(0x1ec)](0x8),_0xf74a3a=_0x3071c1[_0x3e8ed0(0x190)](0x0);if(_0xf74a3a>Math[_0x3e8ed0(0x2fc)](0x2,0x15)-0x1){const _0xaa7e8=this[_0x3e8ed0(0x26d)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3e8ed0(0x2bc));_0x1bea7f(_0xaa7e8);return;}this[_0x3e8ed0(0x252)]=_0xf74a3a*Math[_0x3e8ed0(0x2fc)](0x2,0x20)+_0x3071c1['readUInt32BE'](0x4),this['haveLength'](_0x1bea7f);}[_0x3a269d(0x214)](_0x1bf61a){const _0x54d0d6=_0x3a269d;if(this[_0x54d0d6(0x252)]&&this[_0x54d0d6(0x191)]<0x8&&(this[_0x54d0d6(0x289)]+=this[_0x54d0d6(0x252)],this[_0x54d0d6(0x289)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x5193cd=this[_0x54d0d6(0x26d)](RangeError,_0x54d0d6(0x2db),!0x1,0x3f1,_0x54d0d6(0x2c3));_0x1bf61a(_0x5193cd);return;}this[_0x54d0d6(0x269)]?this[_0x54d0d6(0x21c)]=_0x1eddbd:this['_state']=_0x5186b7;}[_0x3a269d(0x16d)](){const _0x5dc302=_0x3a269d;if(this[_0x5dc302(0x145)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x5dc302(0x1ec)](0x4),this[_0x5dc302(0x21c)]=_0x5186b7;}[_0x3a269d(0x2a6)](_0x58ba61){const _0x25b166=_0x3a269d;let _0x470270=_0x289a13;if(this['_payloadLength']){if(this[_0x25b166(0x145)]<this[_0x25b166(0x252)]){this[_0x25b166(0x1b7)]=!0x1;return;}_0x470270=this[_0x25b166(0x1ec)](this['_payloadLength']),this[_0x25b166(0x269)]&&(this['_mask'][0x0]|this[_0x25b166(0x259)][0x1]|this[_0x25b166(0x259)][0x2]|this[_0x25b166(0x259)][0x3])!==0x0&&_0x4f5877(_0x470270,this['_mask']);}if(this[_0x25b166(0x191)]>0x7){this[_0x25b166(0x2d4)](_0x470270,_0x58ba61);return;}if(this[_0x25b166(0x1b4)]){this[_0x25b166(0x21c)]=_0x545194,this['decompress'](_0x470270,_0x58ba61);return;}_0x470270[_0x25b166(0x1f1)]&&(this[_0x25b166(0x2c7)]=this[_0x25b166(0x289)],this[_0x25b166(0x1ea)]['push'](_0x470270)),this[_0x25b166(0x1c6)](_0x58ba61);}['decompress'](_0x286a7b,_0xc4e68){const _0x35a911=_0x3a269d;this[_0x35a911(0x156)][_0x3d4dc9[_0x35a911(0x258)]][_0x35a911(0x15f)](_0x286a7b,this['_fin'],(_0x3914cb,_0x52064d)=>{const _0x55ebe3=_0x35a911;if(_0x3914cb)return _0xc4e68(_0x3914cb);if(_0x52064d[_0x55ebe3(0x1f1)]){if(this[_0x55ebe3(0x2c7)]+=_0x52064d[_0x55ebe3(0x1f1)],this[_0x55ebe3(0x2c7)]>this[_0x55ebe3(0x1a9)]&&this[_0x55ebe3(0x1a9)]>0x0){const _0x380526=this[_0x55ebe3(0x26d)](RangeError,_0x55ebe3(0x2db),!0x1,0x3f1,_0x55ebe3(0x2c3));_0xc4e68(_0x380526);return;}this[_0x55ebe3(0x1ea)]['push'](_0x52064d);}this[_0x55ebe3(0x1c6)](_0xc4e68),this[_0x55ebe3(0x21c)]===_0x45657b&&this['startLoop'](_0xc4e68);});}[_0x3a269d(0x1c6)](_0x25f3f4){const _0x240478=_0x3a269d;if(!this[_0x240478(0x2b2)]){this['_state']=_0x45657b;return;}const _0xaeeaa1=this[_0x240478(0x2c7)],_0x1571de=this[_0x240478(0x1ea)];if(this[_0x240478(0x289)]=0x0,this[_0x240478(0x2c7)]=0x0,this[_0x240478(0x20b)]=0x0,this['_fragments']=[],this[_0x240478(0x191)]===0x2){let _0x1e1b27;this[_0x240478(0x251)]===_0x240478(0x23a)?_0x1e1b27=_0x4b618c(_0x1571de,_0xaeeaa1):this[_0x240478(0x251)]===_0x240478(0x1e6)?_0x1e1b27=_0x43ef7f(_0x4b618c(_0x1571de,_0xaeeaa1)):this[_0x240478(0x251)]===_0x240478(0x18e)?_0x1e1b27=new Blob(_0x1571de):_0x1e1b27=_0x1571de,this[_0x240478(0x302)]?(this[_0x240478(0x1a3)](_0x240478(0x28b),_0x1e1b27,!0x0),this['_state']=_0x45657b):(this[_0x240478(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x2f3df6=_0x240478;this[_0x2f3df6(0x1a3)](_0x2f3df6(0x28b),_0x1e1b27,!0x0),this[_0x2f3df6(0x21c)]=_0x45657b,this[_0x2f3df6(0x2d8)](_0x25f3f4);}));}else{const _0x318ef1=_0x4b618c(_0x1571de,_0xaeeaa1);if(!this[_0x240478(0x275)]&&!_0x9db1ae(_0x318ef1)){const _0x311ee1=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x240478(0x21d));_0x25f3f4(_0x311ee1);return;}this[_0x240478(0x21c)]===_0x545194||this[_0x240478(0x302)]?(this['emit']('message',_0x318ef1,!0x1),this[_0x240478(0x21c)]=_0x45657b):(this[_0x240478(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x12c1fd=_0x240478;this[_0x12c1fd(0x1a3)](_0x12c1fd(0x28b),_0x318ef1,!0x1),this[_0x12c1fd(0x21c)]=_0x45657b,this[_0x12c1fd(0x2d8)](_0x25f3f4);}));}}[_0x3a269d(0x2d4)](_0x2f2fee,_0x32d986){const _0x4b8f7d=_0x3a269d;if(this[_0x4b8f7d(0x191)]===0x8){if(_0x2f2fee[_0x4b8f7d(0x1f1)]===0x0)this[_0x4b8f7d(0x1b7)]=!0x1,this[_0x4b8f7d(0x1a3)]('conclude',0x3ed,_0x289a13),this[_0x4b8f7d(0x23d)]();else{const _0x425b82=_0x2f2fee[_0x4b8f7d(0x237)](0x0);if(!_0x4ade20(_0x425b82)){const _0xc218d3=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x425b82,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x32d986(_0xc218d3);return;}const _0xc8bce=new _0x35bcd8(_0x2f2fee[_0x4b8f7d(0x2c2)],_0x2f2fee[_0x4b8f7d(0x1f9)]+0x2,_0x2f2fee[_0x4b8f7d(0x1f1)]-0x2);if(!this[_0x4b8f7d(0x275)]&&!_0x9db1ae(_0xc8bce)){const _0x4ace23=this[_0x4b8f7d(0x26d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x32d986(_0x4ace23);return;}this[_0x4b8f7d(0x1b7)]=!0x1,this[_0x4b8f7d(0x1a3)](_0x4b8f7d(0x1f4),_0x425b82,_0xc8bce),this[_0x4b8f7d(0x23d)]();}this[_0x4b8f7d(0x21c)]=_0x45657b;return;}this[_0x4b8f7d(0x302)]?(this[_0x4b8f7d(0x1a3)](this['_opcode']===0x9?_0x4b8f7d(0x23e):_0x4b8f7d(0x282),_0x2f2fee),this[_0x4b8f7d(0x21c)]=_0x45657b):(this[_0x4b8f7d(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x1df83a=_0x4b8f7d;this[_0x1df83a(0x1a3)](this[_0x1df83a(0x191)]===0x9?_0x1df83a(0x23e):_0x1df83a(0x282),_0x2f2fee),this[_0x1df83a(0x21c)]=_0x45657b,this[_0x1df83a(0x2d8)](_0x32d986);}));}['createError'](_0x19a5c7,_0x77e609,_0x484f01,_0x158039,_0x1d801d){const _0x32786d=_0x3a269d;this[_0x32786d(0x1b7)]=!0x1,this[_0x32786d(0x1b6)]=!0x0;const _0x410cee=new _0x19a5c7(_0x484f01?_0x32786d(0x2ec)+_0x77e609:_0x77e609);return Error['captureStackTrace'](_0x410cee,this[_0x32786d(0x26d)]),_0x410cee[_0x32786d(0x2cc)]=_0x1d801d,_0x410cee[_0x1107dd]=_0x158039,_0x410cee;}}return Se=_0x1957b6,Se;}var Ee,Xe;function ft(){const _0xe8f4b=_0x433db5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x48fdc4}=oe,{randomFillSync:_0x21ae08}=Le,_0x231ff8=he(),{EMPTY_BUFFER:_0x674b96,kWebSocket:_0x5c3e33,NOOP:_0x2f4eae}=H(),{isBlob:_0x292d87,isValidStatusCode:_0x2d6cda}=ae(),{mask:_0x48ecc9,toBuffer:_0x227ebd}=ce(),_0x57ba08=Symbol('kByteLength'),_0x35f129=Buffer[_0xe8f4b(0x15b)](0x4),_0x285160=0x8*0x400;let _0x4e61f3,_0x4be664=_0x285160;const _0x47e1c5=0x0,_0x427710=0x1,_0x3577fc=0x2;class _0xa5d470{constructor(_0x2e6df9,_0x18f1f0,_0x31650f){const _0x3b6200=_0xe8f4b;this['_extensions']=_0x18f1f0||{},_0x31650f&&(this[_0x3b6200(0x186)]=_0x31650f,this[_0x3b6200(0x26c)]=Buffer[_0x3b6200(0x15b)](0x4)),this[_0x3b6200(0x16f)]=_0x2e6df9,this[_0x3b6200(0x2f7)]=!0x0,this[_0x3b6200(0x198)]=!0x1,this[_0x3b6200(0x145)]=0x0,this[_0x3b6200(0x2e6)]=[],this[_0x3b6200(0x21c)]=_0x47e1c5,this[_0x3b6200(0x242)]=_0x2f4eae,this[_0x5c3e33]=void 0x0;}static[_0xe8f4b(0x1e5)](_0x278908,_0xae9fd1){const _0x217cd2=_0xe8f4b;let _0x4a0dda,_0x555b7d=!0x1,_0x4fcfb7=0x2,_0x35bf73=!0x1;_0xae9fd1['mask']&&(_0x4a0dda=_0xae9fd1['maskBuffer']||_0x35f129,_0xae9fd1['generateMask']?_0xae9fd1[_0x217cd2(0x2f2)](_0x4a0dda):(_0x4be664===_0x285160&&(_0x4e61f3===void 0x0&&(_0x4e61f3=Buffer[_0x217cd2(0x15b)](_0x285160)),_0x21ae08(_0x4e61f3,0x0,_0x285160),_0x4be664=0x0),_0x4a0dda[0x0]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x1]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x2]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x3]=_0x4e61f3[_0x4be664++]),_0x35bf73=(_0x4a0dda[0x0]|_0x4a0dda[0x1]|_0x4a0dda[0x2]|_0x4a0dda[0x3])===0x0,_0x4fcfb7=0x6);let _0x6045ab;typeof _0x278908==_0x217cd2(0x201)?(!_0xae9fd1[_0x217cd2(0x1dc)]||_0x35bf73)&&_0xae9fd1[_0x57ba08]!==void 0x0?_0x6045ab=_0xae9fd1[_0x57ba08]:(_0x278908=Buffer[_0x217cd2(0x161)](_0x278908),_0x6045ab=_0x278908[_0x217cd2(0x1f1)]):(_0x6045ab=_0x278908[_0x217cd2(0x1f1)],_0x555b7d=_0xae9fd1[_0x217cd2(0x1dc)]&&_0xae9fd1['readOnly']&&!_0x35bf73);let _0x4167ff=_0x6045ab;_0x6045ab>=0x10000?(_0x4fcfb7+=0x8,_0x4167ff=0x7f):_0x6045ab>0x7d&&(_0x4fcfb7+=0x2,_0x4167ff=0x7e);const _0x355b64=Buffer[_0x217cd2(0x2a9)](_0x555b7d?_0x6045ab+_0x4fcfb7:_0x4fcfb7);return _0x355b64[0x0]=_0xae9fd1[_0x217cd2(0x248)]?_0xae9fd1[_0x217cd2(0x167)]|0x80:_0xae9fd1[_0x217cd2(0x167)],_0xae9fd1[_0x217cd2(0x1cf)]&&(_0x355b64[0x0]|=0x40),_0x355b64[0x1]=_0x4167ff,_0x4167ff===0x7e?_0x355b64['writeUInt16BE'](_0x6045ab,0x2):_0x4167ff===0x7f&&(_0x355b64[0x2]=_0x355b64[0x3]=0x0,_0x355b64[_0x217cd2(0x1dd)](_0x6045ab,0x4,0x6)),_0xae9fd1[_0x217cd2(0x1dc)]?(_0x355b64[0x1]|=0x80,_0x355b64[_0x4fcfb7-0x4]=_0x4a0dda[0x0],_0x355b64[_0x4fcfb7-0x3]=_0x4a0dda[0x1],_0x355b64[_0x4fcfb7-0x2]=_0x4a0dda[0x2],_0x355b64[_0x4fcfb7-0x1]=_0x4a0dda[0x3],_0x35bf73?[_0x355b64,_0x278908]:_0x555b7d?(_0x48ecc9(_0x278908,_0x4a0dda,_0x355b64,_0x4fcfb7,_0x6045ab),[_0x355b64]):(_0x48ecc9(_0x278908,_0x4a0dda,_0x278908,0x0,_0x6045ab),[_0x355b64,_0x278908])):[_0x355b64,_0x278908];}[_0xe8f4b(0x22f)](_0x35629e,_0x103a39,_0x376dec,_0xf1c806){const _0x5b0486=_0xe8f4b;let _0x5b306e;if(_0x35629e===void 0x0)_0x5b306e=_0x674b96;else{if(typeof _0x35629e!=_0x5b0486(0x2d0)||!_0x2d6cda(_0x35629e))throw new TypeError(_0x5b0486(0x22d));if(_0x103a39===void 0x0||!_0x103a39['length'])_0x5b306e=Buffer['allocUnsafe'](0x2),_0x5b306e[_0x5b0486(0x184)](_0x35629e,0x0);else{const _0x1507c4=Buffer[_0x5b0486(0x2a7)](_0x103a39);if(_0x1507c4>0x7b)throw new RangeError(_0x5b0486(0x16c));_0x5b306e=Buffer[_0x5b0486(0x2a9)](0x2+_0x1507c4),_0x5b306e['writeUInt16BE'](_0x35629e,0x0),typeof _0x103a39==_0x5b0486(0x201)?_0x5b306e[_0x5b0486(0x28f)](_0x103a39,0x2):_0x5b306e[_0x5b0486(0x244)](_0x103a39,0x2);}}const _0x25bc15={[_0x57ba08]:_0x5b306e[_0x5b0486(0x1f1)],'fin':!0x0,'generateMask':this[_0x5b0486(0x186)],'mask':_0x376dec,'maskBuffer':this[_0x5b0486(0x26c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5b0486(0x21c)]!==_0x47e1c5?this[_0x5b0486(0x25f)]([this[_0x5b0486(0x279)],_0x5b306e,!0x1,_0x25bc15,_0xf1c806]):this[_0x5b0486(0x2dd)](_0xa5d470['frame'](_0x5b306e,_0x25bc15),_0xf1c806);}['ping'](_0x3c0862,_0x514b55,_0x2c1990){const _0x519deb=_0xe8f4b;let _0x571195,_0x589481;if(typeof _0x3c0862==_0x519deb(0x201)?(_0x571195=Buffer['byteLength'](_0x3c0862),_0x589481=!0x1):_0x292d87(_0x3c0862)?(_0x571195=_0x3c0862[_0x519deb(0x1ff)],_0x589481=!0x1):(_0x3c0862=_0x227ebd(_0x3c0862),_0x571195=_0x3c0862[_0x519deb(0x1f1)],_0x589481=_0x227ebd[_0x519deb(0x18d)]),_0x571195>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x12c278={[_0x57ba08]:_0x571195,'fin':!0x0,'generateMask':this[_0x519deb(0x186)],'mask':_0x514b55,'maskBuffer':this[_0x519deb(0x26c)],'opcode':0x9,'readOnly':_0x589481,'rsv1':!0x1};_0x292d87(_0x3c0862)?this[_0x519deb(0x21c)]!==_0x47e1c5?this['enqueue']([this['getBlobData'],_0x3c0862,!0x1,_0x12c278,_0x2c1990]):this[_0x519deb(0x1ab)](_0x3c0862,!0x1,_0x12c278,_0x2c1990):this[_0x519deb(0x21c)]!==_0x47e1c5?this['enqueue']([this[_0x519deb(0x279)],_0x3c0862,!0x1,_0x12c278,_0x2c1990]):this[_0x519deb(0x2dd)](_0xa5d470[_0x519deb(0x1e5)](_0x3c0862,_0x12c278),_0x2c1990);}['pong'](_0x67c7c3,_0x1c90af,_0x11035b){const _0x2ae213=_0xe8f4b;let _0x595330,_0x9ec47f;if(typeof _0x67c7c3==_0x2ae213(0x201)?(_0x595330=Buffer[_0x2ae213(0x2a7)](_0x67c7c3),_0x9ec47f=!0x1):_0x292d87(_0x67c7c3)?(_0x595330=_0x67c7c3[_0x2ae213(0x1ff)],_0x9ec47f=!0x1):(_0x67c7c3=_0x227ebd(_0x67c7c3),_0x595330=_0x67c7c3[_0x2ae213(0x1f1)],_0x9ec47f=_0x227ebd[_0x2ae213(0x18d)]),_0x595330>0x7d)throw new RangeError(_0x2ae213(0x2e7));const _0x36f76d={[_0x57ba08]:_0x595330,'fin':!0x0,'generateMask':this[_0x2ae213(0x186)],'mask':_0x1c90af,'maskBuffer':this[_0x2ae213(0x26c)],'opcode':0xa,'readOnly':_0x9ec47f,'rsv1':!0x1};_0x292d87(_0x67c7c3)?this[_0x2ae213(0x21c)]!==_0x47e1c5?this[_0x2ae213(0x25f)]([this['getBlobData'],_0x67c7c3,!0x1,_0x36f76d,_0x11035b]):this['getBlobData'](_0x67c7c3,!0x1,_0x36f76d,_0x11035b):this['_state']!==_0x47e1c5?this['enqueue']([this[_0x2ae213(0x279)],_0x67c7c3,!0x1,_0x36f76d,_0x11035b]):this[_0x2ae213(0x2dd)](_0xa5d470['frame'](_0x67c7c3,_0x36f76d),_0x11035b);}[_0xe8f4b(0x2f5)](_0x4a09c5,_0x500fa5,_0x2a8613){const _0x33c67b=_0xe8f4b,_0x327f9a=this[_0x33c67b(0x156)][_0x231ff8[_0x33c67b(0x258)]];let _0x5a4c3b=_0x500fa5[_0x33c67b(0x2ca)]?0x2:0x1,_0x498a64=_0x500fa5['compress'],_0x1a615e,_0x415d48;typeof _0x4a09c5=='string'?(_0x1a615e=Buffer[_0x33c67b(0x2a7)](_0x4a09c5),_0x415d48=!0x1):_0x292d87(_0x4a09c5)?(_0x1a615e=_0x4a09c5[_0x33c67b(0x1ff)],_0x415d48=!0x1):(_0x4a09c5=_0x227ebd(_0x4a09c5),_0x1a615e=_0x4a09c5['length'],_0x415d48=_0x227ebd[_0x33c67b(0x18d)]),this[_0x33c67b(0x2f7)]?(this[_0x33c67b(0x2f7)]=!0x1,_0x498a64&&_0x327f9a&&_0x327f9a[_0x33c67b(0x2fd)][_0x327f9a[_0x33c67b(0x224)]?_0x33c67b(0x297):_0x33c67b(0x18f)]&&(_0x498a64=_0x1a615e>=_0x327f9a['_threshold']),this[_0x33c67b(0x198)]=_0x498a64):(_0x498a64=!0x1,_0x5a4c3b=0x0),_0x500fa5[_0x33c67b(0x248)]&&(this['_firstFragment']=!0x0);const _0x540917={[_0x57ba08]:_0x1a615e,'fin':_0x500fa5[_0x33c67b(0x248)],'generateMask':this[_0x33c67b(0x186)],'mask':_0x500fa5[_0x33c67b(0x1dc)],'maskBuffer':this['_maskBuffer'],'opcode':_0x5a4c3b,'readOnly':_0x415d48,'rsv1':_0x498a64};_0x292d87(_0x4a09c5)?this[_0x33c67b(0x21c)]!==_0x47e1c5?this[_0x33c67b(0x25f)]([this[_0x33c67b(0x1ab)],_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613]):this['getBlobData'](_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613):this[_0x33c67b(0x21c)]!==_0x47e1c5?this[_0x33c67b(0x25f)]([this[_0x33c67b(0x279)],_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613]):this['dispatch'](_0x4a09c5,this['_compress'],_0x540917,_0x2a8613);}[_0xe8f4b(0x1ab)](_0x2756dc,_0x319d34,_0x5ee8e1,_0x4bc717){const _0x302aff=_0xe8f4b;this[_0x302aff(0x145)]+=_0x5ee8e1[_0x57ba08],this[_0x302aff(0x21c)]=_0x3577fc,_0x2756dc[_0x302aff(0x227)]()[_0x302aff(0x29a)](_0x1f124c=>{const _0x219c7b=_0x302aff;if(this['_socket']['destroyed']){const _0x28cb65=new Error(_0x219c7b(0x24e));process[_0x219c7b(0x1fa)](_0xcff0e8,this,_0x28cb65,_0x4bc717);return;}this['_bufferedBytes']-=_0x5ee8e1[_0x57ba08];const _0x444ad2=_0x227ebd(_0x1f124c);_0x319d34?this[_0x219c7b(0x279)](_0x444ad2,_0x319d34,_0x5ee8e1,_0x4bc717):(this[_0x219c7b(0x21c)]=_0x47e1c5,this[_0x219c7b(0x2dd)](_0xa5d470[_0x219c7b(0x1e5)](_0x444ad2,_0x5ee8e1),_0x4bc717),this['dequeue']());})[_0x302aff(0x169)](_0xdc8bbe=>{const _0x330b9d=_0x302aff;process[_0x330b9d(0x1fa)](_0x1f2c07,this,_0xdc8bbe,_0x4bc717);});}[_0xe8f4b(0x279)](_0x3b2abc,_0x192989,_0x20f9a3,_0x31fa96){const _0xe04100=_0xe8f4b;if(!_0x192989){this[_0xe04100(0x2dd)](_0xa5d470['frame'](_0x3b2abc,_0x20f9a3),_0x31fa96);return;}const _0x23eb6a=this[_0xe04100(0x156)][_0x231ff8[_0xe04100(0x258)]];this[_0xe04100(0x145)]+=_0x20f9a3[_0x57ba08],this[_0xe04100(0x21c)]=_0x427710,_0x23eb6a[_0xe04100(0x210)](_0x3b2abc,_0x20f9a3[_0xe04100(0x248)],(_0xf06f55,_0x238ee3)=>{const _0x3c4fff=_0xe04100;if(this[_0x3c4fff(0x16f)]['destroyed']){const _0x15b01d=new Error(_0x3c4fff(0x1d8));_0xcff0e8(this,_0x15b01d,_0x31fa96);return;}this[_0x3c4fff(0x145)]-=_0x20f9a3[_0x57ba08],this['_state']=_0x47e1c5,_0x20f9a3[_0x3c4fff(0x18d)]=!0x1,this[_0x3c4fff(0x2dd)](_0xa5d470['frame'](_0x238ee3,_0x20f9a3),_0x31fa96),this[_0x3c4fff(0x1f3)]();});}[_0xe8f4b(0x1f3)](){const _0x17236a=_0xe8f4b;for(;this[_0x17236a(0x21c)]===_0x47e1c5&&this['_queue'][_0x17236a(0x1f1)];){const _0x2a30be=this[_0x17236a(0x2e6)][_0x17236a(0x29b)]();this[_0x17236a(0x145)]-=_0x2a30be[0x3][_0x57ba08],Reflect[_0x17236a(0x150)](_0x2a30be[0x0],this,_0x2a30be['slice'](0x1));}}[_0xe8f4b(0x25f)](_0x3bae7d){const _0x5ca9a1=_0xe8f4b;this[_0x5ca9a1(0x145)]+=_0x3bae7d[0x3][_0x57ba08],this[_0x5ca9a1(0x2e6)]['push'](_0x3bae7d);}[_0xe8f4b(0x2dd)](_0xd96243,_0x20aac1){const _0x506eb2=_0xe8f4b;_0xd96243[_0x506eb2(0x1f1)]===0x2?(this[_0x506eb2(0x16f)][_0x506eb2(0x2a5)](),this[_0x506eb2(0x16f)][_0x506eb2(0x28f)](_0xd96243[0x0]),this['_socket']['write'](_0xd96243[0x1],_0x20aac1),this[_0x506eb2(0x16f)][_0x506eb2(0x20a)]()):this[_0x506eb2(0x16f)][_0x506eb2(0x28f)](_0xd96243[0x0],_0x20aac1);}}Ee=_0xa5d470;function _0xcff0e8(_0x388f53,_0x52145c,_0x45c715){const _0x4c265c=_0xe8f4b;typeof _0x45c715==_0x4c265c(0x17c)&&_0x45c715(_0x52145c);for(let _0x12c11b=0x0;_0x12c11b<_0x388f53['_queue']['length'];_0x12c11b++){const _0x2af5d7=_0x388f53[_0x4c265c(0x2e6)][_0x12c11b],_0x3bfe20=_0x2af5d7[_0x2af5d7['length']-0x1];typeof _0x3bfe20==_0x4c265c(0x17c)&&_0x3bfe20(_0x52145c);}}function _0x1f2c07(_0x2a0a4a,_0x4b46e0,_0x41e3cd){const _0x1831ae=_0xe8f4b;_0xcff0e8(_0x2a0a4a,_0x4b46e0,_0x41e3cd),_0x2a0a4a[_0x1831ae(0x242)](_0x4b46e0);}return Ee;}var xe,Ze;function It(){const _0x196e7f=_0x433db5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xecfde4,kListener:_0x51d014}=H(),_0x59e34b=Symbol(_0x196e7f(0x194)),_0xd98295=Symbol(_0x196e7f(0x249)),_0x34994a=Symbol('kError'),_0x2b44fa=Symbol('kMessage'),_0xca6241=Symbol('kReason'),_0x4f9fab=Symbol(_0x196e7f(0x2da)),_0x1c7922=Symbol(_0x196e7f(0x1b2)),_0xf9e3a2=Symbol(_0x196e7f(0x220));class _0x167f19{constructor(_0x2ab54e){this[_0x4f9fab]=null,this[_0x1c7922]=_0x2ab54e;}get['target'](){return this[_0x4f9fab];}get[_0x196e7f(0x2c9)](){return this[_0x1c7922];}}Object[_0x196e7f(0x20c)](_0x167f19[_0x196e7f(0x14a)],_0x196e7f(0x2bb),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x167f19[_0x196e7f(0x14a)],_0x196e7f(0x2c9),{'enumerable':!0x0});class _0x1608f0 extends _0x167f19{constructor(_0x10051e,_0x183cfd={}){const _0x35d80e=_0x196e7f;super(_0x10051e),this[_0x59e34b]=_0x183cfd[_0x35d80e(0x2cc)]===void 0x0?0x0:_0x183cfd[_0x35d80e(0x2cc)],this[_0xca6241]=_0x183cfd[_0x35d80e(0x1eb)]===void 0x0?'':_0x183cfd[_0x35d80e(0x1eb)],this[_0xf9e3a2]=_0x183cfd['wasClean']===void 0x0?!0x1:_0x183cfd[_0x35d80e(0x1be)];}get[_0x196e7f(0x2cc)](){return this[_0x59e34b];}get[_0x196e7f(0x1eb)](){return this[_0xca6241];}get[_0x196e7f(0x1be)](){return this[_0xf9e3a2];}}Object[_0x196e7f(0x20c)](_0x1608f0[_0x196e7f(0x14a)],_0x196e7f(0x2cc),{'enumerable':!0x0}),Object['defineProperty'](_0x1608f0[_0x196e7f(0x14a)],_0x196e7f(0x1eb),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x1608f0['prototype'],_0x196e7f(0x1be),{'enumerable':!0x0});class _0x5c34c7 extends _0x167f19{constructor(_0x32bed5,_0xf45063={}){const _0x520d4b=_0x196e7f;super(_0x32bed5),this[_0x34994a]=_0xf45063['error']===void 0x0?null:_0xf45063[_0x520d4b(0x146)],this[_0x2b44fa]=_0xf45063['message']===void 0x0?'':_0xf45063[_0x520d4b(0x28b)];}get[_0x196e7f(0x146)](){return this[_0x34994a];}get[_0x196e7f(0x28b)](){return this[_0x2b44fa];}}Object[_0x196e7f(0x20c)](_0x5c34c7[_0x196e7f(0x14a)],_0x196e7f(0x146),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x5c34c7[_0x196e7f(0x14a)],_0x196e7f(0x28b),{'enumerable':!0x0});class _0x9150de extends _0x167f19{constructor(_0x1012a2,_0x5f350f={}){const _0x35e7ac=_0x196e7f;super(_0x1012a2),this[_0xd98295]=_0x5f350f[_0x35e7ac(0x171)]===void 0x0?null:_0x5f350f[_0x35e7ac(0x171)];}get[_0x196e7f(0x171)](){return this[_0xd98295];}}Object[_0x196e7f(0x20c)](_0x9150de[_0x196e7f(0x14a)],_0x196e7f(0x171),{'enumerable':!0x0}),xe={'CloseEvent':_0x1608f0,'ErrorEvent':_0x5c34c7,'Event':_0x167f19,'EventTarget':{'addEventListener'(_0x4d0a8d,_0x51b52a,_0x5c1660={}){const _0x2496c5=_0x196e7f;for(const _0x4dde0b of this[_0x2496c5(0x228)](_0x4d0a8d))if(!_0x5c1660[_0xecfde4]&&_0x4dde0b[_0x51d014]===_0x51b52a&&!_0x4dde0b[_0xecfde4])return;let _0x2d94dc;if(_0x4d0a8d===_0x2496c5(0x28b))_0x2d94dc=function(_0x1e6707,_0x332f6a){const _0x20aafd=new _0x9150de('message',{'data':_0x332f6a?_0x1e6707:_0x1e6707['toString']()});_0x20aafd[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x20aafd);};else{if(_0x4d0a8d===_0x2496c5(0x22f))_0x2d94dc=function(_0x2b1134,_0x37ec1c){const _0x1c5b60=_0x2496c5,_0x47f41f=new _0x1608f0('close',{'code':_0x2b1134,'reason':_0x37ec1c[_0x1c5b60(0x1f2)](),'wasClean':this[_0x1c5b60(0x180)]&&this[_0x1c5b60(0x28c)]});_0x47f41f[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x47f41f);};else{if(_0x4d0a8d==='error')_0x2d94dc=function(_0x2f4d67){const _0x184b72=_0x2496c5,_0x53c821=new _0x5c34c7(_0x184b72(0x146),{'error':_0x2f4d67,'message':_0x2f4d67['message']});_0x53c821[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x53c821);};else{if(_0x4d0a8d===_0x2496c5(0x2e8))_0x2d94dc=function(){const _0x1ea947=new _0x167f19('open');_0x1ea947[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x1ea947);};else return;}}}_0x2d94dc[_0xecfde4]=!!_0x5c1660[_0xecfde4],_0x2d94dc[_0x51d014]=_0x51b52a,_0x5c1660['once']?this[_0x2496c5(0x170)](_0x4d0a8d,_0x2d94dc):this['on'](_0x4d0a8d,_0x2d94dc);},'removeEventListener'(_0x1ad848,_0x3f89f3){const _0x5781cd=_0x196e7f;for(const _0x541438 of this[_0x5781cd(0x228)](_0x1ad848))if(_0x541438[_0x51d014]===_0x3f89f3&&!_0x541438[_0xecfde4]){this['removeListener'](_0x1ad848,_0x541438);break;}}},'MessageEvent':_0x9150de};function _0x4da232(_0x1c2243,_0xe72943,_0x3734b3){const _0x12bbb2=_0x196e7f;typeof _0x1c2243==_0x12bbb2(0x2b8)&&_0x1c2243[_0x12bbb2(0x273)]?_0x1c2243[_0x12bbb2(0x273)]['call'](_0x1c2243,_0x3734b3):_0x1c2243['call'](_0xe72943,_0x3734b3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2d8af2}=ae();function _0x29ba91(_0x5286be,_0x2892c4,_0x47f207){_0x5286be[_0x2892c4]===void 0x0?_0x5286be[_0x2892c4]=[_0x47f207]:_0x5286be[_0x2892c4]['push'](_0x47f207);}function _0x3607ae(_0x5a380d){const _0x5bf70a=_0x26f8,_0x4dd65e=Object['create'](null);let _0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x58b119=!0x1,_0x1473a6=!0x1,_0xb22c9f=!0x1,_0x17d38e,_0x2a6895,_0xd6906e=-0x1,_0x500f0b=-0x1,_0x4aabd5=-0x1,_0x1b5730=0x0;for(;_0x1b5730<_0x5a380d[_0x5bf70a(0x1f1)];_0x1b5730++)if(_0x500f0b=_0x5a380d[_0x5bf70a(0x1fd)](_0x1b5730),_0x17d38e===void 0x0){if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x1b5730!==0x0&&(_0x500f0b===0x20||_0x500f0b===0x9))_0x4aabd5===-0x1&&_0xd6906e!==-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);const _0x419c00=_0x5a380d[_0x5bf70a(0x238)](_0xd6906e,_0x4aabd5);_0x500f0b===0x2c?(_0x29ba91(_0x4dd65e,_0x419c00,_0x12fe83),_0x12fe83=Object['create'](null)):_0x17d38e=_0x419c00,_0xd6906e=_0x4aabd5=-0x1;}else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}else{if(_0x2a6895===void 0x0){if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x500f0b===0x20||_0x500f0b===0x9)_0x4aabd5===-0x1&&_0xd6906e!==-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730),_0x29ba91(_0x12fe83,_0x5a380d['slice'](_0xd6906e,_0x4aabd5),!0x0),_0x500f0b===0x2c&&(_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83),_0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x17d38e=void 0x0),_0xd6906e=_0x4aabd5=-0x1;}else{if(_0x500f0b===0x3d&&_0xd6906e!==-0x1&&_0x4aabd5===-0x1)_0x2a6895=_0x5a380d['slice'](_0xd6906e,_0x1b5730),_0xd6906e=_0x4aabd5=-0x1;else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}}else{if(_0x1473a6){if(_0x2d8af2[_0x500f0b]!==0x1)throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);_0xd6906e===-0x1?_0xd6906e=_0x1b5730:_0x58b119||(_0x58b119=!0x0),_0x1473a6=!0x1;}else{if(_0xb22c9f){if(_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x500f0b===0x22&&_0xd6906e!==-0x1)_0xb22c9f=!0x1,_0x4aabd5=_0x1b5730;else{if(_0x500f0b===0x5c)_0x1473a6=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);}}}else{if(_0x500f0b===0x22&&_0x5a380d[_0x5bf70a(0x1fd)](_0x1b5730-0x1)===0x3d)_0xb22c9f=!0x0;else{if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0xd6906e!==-0x1&&(_0x500f0b===0x20||_0x500f0b===0x9))_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);let _0x51da3e=_0x5a380d[_0x5bf70a(0x238)](_0xd6906e,_0x4aabd5);_0x58b119&&(_0x51da3e=_0x51da3e[_0x5bf70a(0x233)](/\\/g,''),_0x58b119=!0x1),_0x29ba91(_0x12fe83,_0x2a6895,_0x51da3e),_0x500f0b===0x2c&&(_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83),_0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x17d38e=void 0x0),_0x2a6895=void 0x0,_0xd6906e=_0x4aabd5=-0x1;}else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}}}}}if(_0xd6906e===-0x1||_0xb22c9f||_0x500f0b===0x20||_0x500f0b===0x9)throw new SyntaxError(_0x5bf70a(0x2a0));_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);const _0xe6ec74=_0x5a380d['slice'](_0xd6906e,_0x4aabd5);return _0x17d38e===void 0x0?_0x29ba91(_0x4dd65e,_0xe6ec74,_0x12fe83):(_0x2a6895===void 0x0?_0x29ba91(_0x12fe83,_0xe6ec74,!0x0):_0x58b119?_0x29ba91(_0x12fe83,_0x2a6895,_0xe6ec74['replace'](/\\/g,'')):_0x29ba91(_0x12fe83,_0x2a6895,_0xe6ec74),_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83)),_0x4dd65e;}function _0x3ec5b6(_0x2fc58b){const _0x39ce25=_0x26f8;return Object['keys'](_0x2fc58b)[_0x39ce25(0x288)](_0x378d5b=>{const _0x3bca4b=_0x39ce25;let _0x59941d=_0x2fc58b[_0x378d5b];return Array['isArray'](_0x59941d)||(_0x59941d=[_0x59941d]),_0x59941d[_0x3bca4b(0x288)](_0xfa13d0=>[_0x378d5b]['concat'](Object['keys'](_0xfa13d0)['map'](_0x3e91de=>{const _0xb7acd9=_0x3bca4b;let _0x123840=_0xfa13d0[_0x3e91de];return Array['isArray'](_0x123840)||(_0x123840=[_0x123840]),_0x123840[_0xb7acd9(0x288)](_0x3822ab=>_0x3822ab===!0x0?_0x3e91de:_0x3e91de+'='+_0x3822ab)['join'](';\x20');}))[_0x3bca4b(0x261)](';\x20'))['join'](',\x20');})[_0x39ce25(0x261)](',\x20');}return be={'format':_0x3ec5b6,'parse':_0x3607ae},be;}function _0x26f8(_0x2e6db1,_0x5c441b){const _0x4f5668=_0x4f56();return _0x26f8=function(_0x26f894,_0x5a6834){_0x26f894=_0x26f894-0x145;let _0x5651ca=_0x4f5668[_0x26f894];return _0x5651ca;},_0x26f8(_0x2e6db1,_0x5c441b);}var we,Je;function Pe(){const _0x55b2fc=_0x433db5;if(Je)return we;Je=0x1;const _0x492322=nt,_0x33f94b=vt,_0x3a2b19=ot,_0x141abf=St,_0xeb4bad=Et,{randomBytes:_0x108f54,createHash:_0x4e2f44}=Le,{Duplex:_0x169256,Readable:_0x5c1fd9}=oe,{URL:_0x241d13}=xt,_0x20c973=he(),_0x4ae5ad=lt(),_0x16a121=ft(),{isBlob:_0x150e63}=ae(),{BINARY_TYPES:_0x424dd3,EMPTY_BUFFER:_0x5dc3c3,GUID:_0x259c12,kForOnEventAttribute:_0xa5f111,kListener:_0x3889c3,kStatusCode:_0x3bfe14,kWebSocket:_0x59eec6,NOOP:_0x42411c}=H(),{EventTarget:{addEventListener:_0x96a4b2,removeEventListener:_0x15675c}}=It(),{format:_0x477229,parse:_0x51a543}=ct(),{toBuffer:_0x5d0a9d}=ce(),_0x5951bc=0x1e*0x3e8,_0x43d2b9=Symbol(_0x55b2fc(0x310)),_0x1b3fcb=[0x8,0xd],_0x1222cd=[_0x55b2fc(0x306),_0x55b2fc(0x1c2),_0x55b2fc(0x255),'CLOSED'],_0x5ba9b7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5548aa extends _0x492322{constructor(_0x47a012,_0xb4659f,_0x238461){const _0x27a150=_0x55b2fc;super(),this[_0x27a150(0x251)]=_0x424dd3[0x0],this[_0x27a150(0x1ac)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x27a150(0x28c)]=!0x1,this[_0x27a150(0x15c)]=_0x5dc3c3,this[_0x27a150(0x23f)]=null,this[_0x27a150(0x163)]=!0x1,this[_0x27a150(0x156)]={},this[_0x27a150(0x2ac)]=!0x1,this[_0x27a150(0x222)]='',this[_0x27a150(0x226)]=_0x5548aa[_0x27a150(0x306)],this[_0x27a150(0x1ee)]=null,this[_0x27a150(0x298)]=null,this[_0x27a150(0x16f)]=null,_0x47a012!==null?(this['_bufferedAmount']=0x0,this[_0x27a150(0x224)]=!0x1,this[_0x27a150(0x1c9)]=0x0,_0xb4659f===void 0x0?_0xb4659f=[]:Array[_0x27a150(0x153)](_0xb4659f)||(typeof _0xb4659f==_0x27a150(0x2b8)&&_0xb4659f!==null?(_0x238461=_0xb4659f,_0xb4659f=[]):_0xb4659f=[_0xb4659f]),_0x11a135(this,_0x47a012,_0xb4659f,_0x238461)):(this[_0x27a150(0x164)]=_0x238461['autoPong'],this[_0x27a150(0x224)]=!0x0);}get[_0x55b2fc(0x16b)](){const _0x37e9ac=_0x55b2fc;return this[_0x37e9ac(0x251)];}set['binaryType'](_0x3e50e5){const _0x51ac6a=_0x55b2fc;_0x424dd3[_0x51ac6a(0x17f)](_0x3e50e5)&&(this[_0x51ac6a(0x251)]=_0x3e50e5,this['_receiver']&&(this[_0x51ac6a(0x1ee)][_0x51ac6a(0x251)]=_0x3e50e5));}get[_0x55b2fc(0x200)](){const _0x42967b=_0x55b2fc;return this[_0x42967b(0x16f)]?this['_socket'][_0x42967b(0x294)]['length']+this[_0x42967b(0x298)][_0x42967b(0x145)]:this[_0x42967b(0x187)];}get[_0x55b2fc(0x2fb)](){const _0x5a4d84=_0x55b2fc;return Object[_0x5a4d84(0x148)](this['_extensions'])['join']();}get[_0x55b2fc(0x1df)](){const _0x291dc6=_0x55b2fc;return this[_0x291dc6(0x2ac)];}get[_0x55b2fc(0x1f5)](){return null;}get['onerror'](){return null;}get[_0x55b2fc(0x162)](){return null;}get[_0x55b2fc(0x221)](){return null;}get[_0x55b2fc(0x264)](){const _0x5b6025=_0x55b2fc;return this[_0x5b6025(0x222)];}get[_0x55b2fc(0x1cc)](){const _0x401efc=_0x55b2fc;return this[_0x401efc(0x226)];}get[_0x55b2fc(0x283)](){const _0x5c7f01=_0x55b2fc;return this[_0x5c7f01(0x1bd)];}['setSocket'](_0xf29e0b,_0x4c28bf,_0x4548e6){const _0x405585=_0x55b2fc,_0x11137c=new _0x4ae5ad({'allowSynchronousEvents':_0x4548e6['allowSynchronousEvents'],'binaryType':this[_0x405585(0x16b)],'extensions':this[_0x405585(0x156)],'isServer':this[_0x405585(0x224)],'maxPayload':_0x4548e6[_0x405585(0x243)],'skipUTF8Validation':_0x4548e6['skipUTF8Validation']}),_0x47237e=new _0x16a121(_0xf29e0b,this[_0x405585(0x156)],_0x4548e6[_0x405585(0x2f2)]);this[_0x405585(0x1ee)]=_0x11137c,this[_0x405585(0x298)]=_0x47237e,this[_0x405585(0x16f)]=_0xf29e0b,_0x11137c[_0x59eec6]=this,_0x47237e[_0x59eec6]=this,_0xf29e0b[_0x59eec6]=this,_0x11137c['on'](_0x405585(0x1f4),_0x4ba5a6),_0x11137c['on'](_0x405585(0x2fa),_0x2e15cb),_0x11137c['on'](_0x405585(0x146),_0x55eae5),_0x11137c['on'](_0x405585(0x28b),_0x5919cc),_0x11137c['on'](_0x405585(0x23e),_0x5482cf),_0x11137c['on']('pong',_0x22160f),_0x47237e[_0x405585(0x242)]=_0x5b7d39,_0xf29e0b['setTimeout']&&_0xf29e0b[_0x405585(0x20e)](0x0),_0xf29e0b[_0x405585(0x1bf)]&&_0xf29e0b[_0x405585(0x1bf)](),_0x4c28bf[_0x405585(0x1f1)]>0x0&&_0xf29e0b['unshift'](_0x4c28bf),_0xf29e0b['on'](_0x405585(0x22f),_0x215e5f),_0xf29e0b['on'](_0x405585(0x171),_0xe68f23),_0xf29e0b['on'](_0x405585(0x23d),_0x337b4b),_0xf29e0b['on']('error',_0x418fe6),this[_0x405585(0x226)]=_0x5548aa['OPEN'],this[_0x405585(0x1a3)](_0x405585(0x2e8));}['emitClose'](){const _0x4eab6a=_0x55b2fc;if(!this[_0x4eab6a(0x16f)]){this['_readyState']=_0x5548aa[_0x4eab6a(0x317)],this[_0x4eab6a(0x1a3)]('close',this[_0x4eab6a(0x1ac)],this[_0x4eab6a(0x15c)]);return;}this['_extensions'][_0x20c973[_0x4eab6a(0x258)]]&&this[_0x4eab6a(0x156)][_0x20c973[_0x4eab6a(0x258)]][_0x4eab6a(0x280)](),this[_0x4eab6a(0x1ee)][_0x4eab6a(0x160)](),this[_0x4eab6a(0x226)]=_0x5548aa[_0x4eab6a(0x317)],this[_0x4eab6a(0x1a3)](_0x4eab6a(0x22f),this[_0x4eab6a(0x1ac)],this[_0x4eab6a(0x15c)]);}['close'](_0x29eb4c,_0xa67c80){const _0x239c1c=_0x55b2fc;if(this[_0x239c1c(0x1cc)]!==_0x5548aa[_0x239c1c(0x317)]){if(this[_0x239c1c(0x1cc)]===_0x5548aa['CONNECTING']){_0x1dced4(this,this[_0x239c1c(0x29c)],_0x239c1c(0x1b9));return;}if(this[_0x239c1c(0x1cc)]===_0x5548aa[_0x239c1c(0x255)]){this['_closeFrameSent']&&(this[_0x239c1c(0x180)]||this[_0x239c1c(0x1ee)]['_writableState']['errorEmitted'])&&this[_0x239c1c(0x16f)][_0x239c1c(0x23d)]();return;}this[_0x239c1c(0x226)]=_0x5548aa[_0x239c1c(0x255)],this[_0x239c1c(0x298)][_0x239c1c(0x22f)](_0x29eb4c,_0xa67c80,!this['_isServer'],_0x5e55ed=>{const _0x1b7a49=_0x239c1c;_0x5e55ed||(this[_0x1b7a49(0x28c)]=!0x0,(this[_0x1b7a49(0x180)]||this[_0x1b7a49(0x1ee)][_0x1b7a49(0x294)][_0x1b7a49(0x24c)])&&this[_0x1b7a49(0x16f)][_0x1b7a49(0x23d)]());}),_0xa2f7fa(this);}}[_0x55b2fc(0x1e3)](){const _0x4f9fbe=_0x55b2fc;this[_0x4f9fbe(0x1cc)]===_0x5548aa[_0x4f9fbe(0x306)]||this[_0x4f9fbe(0x1cc)]===_0x5548aa[_0x4f9fbe(0x317)]||(this[_0x4f9fbe(0x2ac)]=!0x0,this[_0x4f9fbe(0x16f)]['pause']());}['ping'](_0x3bb4dd,_0x94d1c9,_0x1a4196){const _0x52bf49=_0x55b2fc;if(this[_0x52bf49(0x1cc)]===_0x5548aa[_0x52bf49(0x306)])throw new Error(_0x52bf49(0x25b));if(typeof _0x3bb4dd=='function'?(_0x1a4196=_0x3bb4dd,_0x3bb4dd=_0x94d1c9=void 0x0):typeof _0x94d1c9==_0x52bf49(0x17c)&&(_0x1a4196=_0x94d1c9,_0x94d1c9=void 0x0),typeof _0x3bb4dd==_0x52bf49(0x2d0)&&(_0x3bb4dd=_0x3bb4dd[_0x52bf49(0x1f2)]()),this[_0x52bf49(0x1cc)]!==_0x5548aa['OPEN']){_0x58af15(this,_0x3bb4dd,_0x1a4196);return;}_0x94d1c9===void 0x0&&(_0x94d1c9=!this[_0x52bf49(0x224)]),this[_0x52bf49(0x298)][_0x52bf49(0x23e)](_0x3bb4dd||_0x5dc3c3,_0x94d1c9,_0x1a4196);}[_0x55b2fc(0x282)](_0x234e80,_0x36df7b,_0x363d1c){const _0x51bb02=_0x55b2fc;if(this[_0x51bb02(0x1cc)]===_0x5548aa[_0x51bb02(0x306)])throw new Error(_0x51bb02(0x25b));if(typeof _0x234e80==_0x51bb02(0x17c)?(_0x363d1c=_0x234e80,_0x234e80=_0x36df7b=void 0x0):typeof _0x36df7b=='function'&&(_0x363d1c=_0x36df7b,_0x36df7b=void 0x0),typeof _0x234e80==_0x51bb02(0x2d0)&&(_0x234e80=_0x234e80[_0x51bb02(0x1f2)]()),this[_0x51bb02(0x1cc)]!==_0x5548aa[_0x51bb02(0x1c2)]){_0x58af15(this,_0x234e80,_0x363d1c);return;}_0x36df7b===void 0x0&&(_0x36df7b=!this[_0x51bb02(0x224)]),this[_0x51bb02(0x298)][_0x51bb02(0x282)](_0x234e80||_0x5dc3c3,_0x36df7b,_0x363d1c);}['resume'](){const _0x2885fd=_0x55b2fc;this[_0x2885fd(0x1cc)]===_0x5548aa[_0x2885fd(0x306)]||this[_0x2885fd(0x1cc)]===_0x5548aa[_0x2885fd(0x317)]||(this[_0x2885fd(0x2ac)]=!0x1,this[_0x2885fd(0x1ee)]['_writableState'][_0x2885fd(0x2b3)]||this['_socket'][_0x2885fd(0x166)]());}[_0x55b2fc(0x2f5)](_0x594e82,_0x5c6943,_0x42558d){const _0x1bc8bd=_0x55b2fc;if(this[_0x1bc8bd(0x1cc)]===_0x5548aa[_0x1bc8bd(0x306)])throw new Error(_0x1bc8bd(0x25b));if(typeof _0x5c6943==_0x1bc8bd(0x17c)&&(_0x42558d=_0x5c6943,_0x5c6943={}),typeof _0x594e82=='number'&&(_0x594e82=_0x594e82[_0x1bc8bd(0x1f2)]()),this[_0x1bc8bd(0x1cc)]!==_0x5548aa[_0x1bc8bd(0x1c2)]){_0x58af15(this,_0x594e82,_0x42558d);return;}const _0xccbd5d={'binary':typeof _0x594e82!=_0x1bc8bd(0x201),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x5c6943};this[_0x1bc8bd(0x156)][_0x20c973[_0x1bc8bd(0x258)]]||(_0xccbd5d['compress']=!0x1),this[_0x1bc8bd(0x298)][_0x1bc8bd(0x2f5)](_0x594e82||_0x5dc3c3,_0xccbd5d,_0x42558d);}[_0x55b2fc(0x21b)](){const _0x4ac000=_0x55b2fc;if(this[_0x4ac000(0x1cc)]!==_0x5548aa[_0x4ac000(0x317)]){if(this[_0x4ac000(0x1cc)]===_0x5548aa[_0x4ac000(0x306)]){_0x1dced4(this,this[_0x4ac000(0x29c)],_0x4ac000(0x1b9));return;}this[_0x4ac000(0x16f)]&&(this[_0x4ac000(0x226)]=_0x5548aa['CLOSING'],this['_socket'][_0x4ac000(0x208)]());}}}Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x306),{'enumerable':!0x0,'value':_0x1222cd['indexOf'](_0x55b2fc(0x306))}),Object[_0x55b2fc(0x20c)](_0x5548aa[_0x55b2fc(0x14a)],_0x55b2fc(0x306),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x306))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x1c2),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x1c2))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],_0x55b2fc(0x1c2),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x1c2))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x255),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x255))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x255))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x317),{'enumerable':!0x0,'value':_0x1222cd['indexOf'](_0x55b2fc(0x317))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],_0x55b2fc(0x317),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x317))}),[_0x55b2fc(0x16b),_0x55b2fc(0x200),_0x55b2fc(0x2fb),_0x55b2fc(0x1df),_0x55b2fc(0x264),_0x55b2fc(0x1cc),_0x55b2fc(0x283)]['forEach'](_0x7d6a1a=>{const _0x6da18a=_0x55b2fc;Object[_0x6da18a(0x20c)](_0x5548aa['prototype'],_0x7d6a1a,{'enumerable':!0x0});}),[_0x55b2fc(0x2e8),_0x55b2fc(0x146),_0x55b2fc(0x22f),_0x55b2fc(0x28b)][_0x55b2fc(0x1a1)](_0x413dff=>{const _0x148aa2=_0x55b2fc;Object['defineProperty'](_0x5548aa[_0x148aa2(0x14a)],'on'+_0x413dff,{'enumerable':!0x0,'get'(){const _0x36c726=_0x148aa2;for(const _0x577b52 of this[_0x36c726(0x228)](_0x413dff))if(_0x577b52[_0xa5f111])return _0x577b52[_0x3889c3];return null;},'set'(_0x34abb5){const _0x138b3c=_0x148aa2;for(const _0x58defc of this['listeners'](_0x413dff))if(_0x58defc[_0xa5f111]){this['removeListener'](_0x413dff,_0x58defc);break;}typeof _0x34abb5=='function'&&this[_0x138b3c(0x188)](_0x413dff,_0x34abb5,{[_0xa5f111]:!0x0});}});}),_0x5548aa['prototype'][_0x55b2fc(0x188)]=_0x96a4b2,_0x5548aa[_0x55b2fc(0x14a)][_0x55b2fc(0x2c0)]=_0x15675c,we=_0x5548aa;function _0x11a135(_0x113646,_0x65da66,_0x28bf0a,_0x4a1c21){const _0x42465e=_0x55b2fc,_0x596ce9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b3fcb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4a1c21,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x42465e(0x17d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x113646[_0x42465e(0x164)]=_0x596ce9['autoPong'],!_0x1b3fcb[_0x42465e(0x17f)](_0x596ce9[_0x42465e(0x25e)]))throw new RangeError(_0x42465e(0x2d1)+_0x596ce9[_0x42465e(0x25e)]+_0x42465e(0x216)+_0x1b3fcb['join'](',\x20')+')');let _0x3fe438;if(_0x65da66 instanceof _0x241d13)_0x3fe438=_0x65da66;else try{_0x3fe438=new _0x241d13(_0x65da66);}catch{throw new SyntaxError(_0x42465e(0x1f7)+_0x65da66);}_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x2e4)?_0x3fe438[_0x42465e(0x264)]=_0x42465e(0x19b):_0x3fe438[_0x42465e(0x264)]==='https:'&&(_0x3fe438[_0x42465e(0x264)]=_0x42465e(0x212)),_0x113646[_0x42465e(0x1bd)]=_0x3fe438[_0x42465e(0x2e0)];const _0xdec73a=_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x212),_0x34d242=_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x1cb);let _0x5a9961;if(_0x3fe438[_0x42465e(0x264)]!==_0x42465e(0x19b)&&!_0xdec73a&&!_0x34d242?_0x5a9961='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':_0x34d242&&!_0x3fe438['pathname']?_0x5a9961=_0x42465e(0x1e8):_0x3fe438[_0x42465e(0x192)]&&(_0x5a9961=_0x42465e(0x272)),_0x5a9961){const _0x49261d=new SyntaxError(_0x5a9961);if(_0x113646[_0x42465e(0x1c9)]===0x0)throw _0x49261d;_0x431aa1(_0x113646,_0x49261d);return;}const _0x21670d=_0xdec73a?0x1bb:0x50,_0x39235c=_0x108f54(0x10)['toString'](_0x42465e(0x158)),_0x4bfd46=_0xdec73a?_0x33f94b[_0x42465e(0x1bc)]:_0x3a2b19['request'],_0x72b3ad=new Set();let _0x41166d;if(_0x596ce9[_0x42465e(0x1db)]=_0x596ce9[_0x42465e(0x1db)]||(_0xdec73a?_0x40a077:_0x319be4),_0x596ce9['defaultPort']=_0x596ce9[_0x42465e(0x22b)]||_0x21670d,_0x596ce9[_0x42465e(0x209)]=_0x3fe438[_0x42465e(0x209)]||_0x21670d,_0x596ce9[_0x42465e(0x293)]=_0x3fe438['hostname'][_0x42465e(0x23c)]('[')?_0x3fe438['hostname']['slice'](0x1,-0x1):_0x3fe438[_0x42465e(0x2cd)],_0x596ce9[_0x42465e(0x315)]={..._0x596ce9['headers'],'Sec-WebSocket-Version':_0x596ce9[_0x42465e(0x25e)],'Sec-WebSocket-Key':_0x39235c,'Connection':_0x42465e(0x1ce),'Upgrade':_0x42465e(0x23b)},_0x596ce9['path']=_0x3fe438['pathname']+_0x3fe438[_0x42465e(0x250)],_0x596ce9[_0x42465e(0x1fc)]=_0x596ce9['handshakeTimeout'],_0x596ce9[_0x42465e(0x2c4)]&&(_0x41166d=new _0x20c973(_0x596ce9['perMessageDeflate']!==!0x0?_0x596ce9[_0x42465e(0x2c4)]:{},!0x1,_0x596ce9[_0x42465e(0x243)]),_0x596ce9[_0x42465e(0x315)][_0x42465e(0x18c)]=_0x477229({[_0x20c973[_0x42465e(0x258)]]:_0x41166d[_0x42465e(0x265)]()})),_0x28bf0a['length']){for(const _0x294b5e of _0x28bf0a){if(typeof _0x294b5e!='string'||!_0x5ba9b7[_0x42465e(0x27e)](_0x294b5e)||_0x72b3ad[_0x42465e(0x29f)](_0x294b5e))throw new SyntaxError(_0x42465e(0x1a4));_0x72b3ad[_0x42465e(0x182)](_0x294b5e);}_0x596ce9[_0x42465e(0x315)][_0x42465e(0x2e1)]=_0x28bf0a['join'](',');}if(_0x596ce9[_0x42465e(0x1e1)]&&(_0x596ce9[_0x42465e(0x25e)]<0xd?_0x596ce9[_0x42465e(0x315)]['Sec-WebSocket-Origin']=_0x596ce9[_0x42465e(0x1e1)]:_0x596ce9['headers']['Origin']=_0x596ce9[_0x42465e(0x1e1)]),(_0x3fe438[_0x42465e(0x1f6)]||_0x3fe438[_0x42465e(0x2af)])&&(_0x596ce9[_0x42465e(0x241)]=_0x3fe438[_0x42465e(0x1f6)]+':'+_0x3fe438[_0x42465e(0x2af)]),_0x34d242){const _0x444c52=_0x596ce9[_0x42465e(0x2c1)][_0x42465e(0x181)](':');_0x596ce9[_0x42465e(0x22a)]=_0x444c52[0x0],_0x596ce9['path']=_0x444c52[0x1];}let _0x48e6ab;if(_0x596ce9[_0x42465e(0x2ff)]){if(_0x113646['_redirects']===0x0){_0x113646['_originalIpc']=_0x34d242,_0x113646[_0x42465e(0x25a)]=_0xdec73a,_0x113646['_originalHostOrSocketPath']=_0x34d242?_0x596ce9[_0x42465e(0x22a)]:_0x3fe438[_0x42465e(0x293)];const _0x558b45=_0x4a1c21&&_0x4a1c21[_0x42465e(0x315)];if(_0x4a1c21={..._0x4a1c21,'headers':{}},_0x558b45){for(const [_0x5ddb11,_0x313f49]of Object[_0x42465e(0x2d7)](_0x558b45))_0x4a1c21[_0x42465e(0x315)][_0x5ddb11[_0x42465e(0x1a7)]()]=_0x313f49;}}else{if(_0x113646[_0x42465e(0x253)](_0x42465e(0x25c))===0x0){const _0x46ee84=_0x34d242?_0x113646['_originalIpc']?_0x596ce9[_0x42465e(0x22a)]===_0x113646['_originalHostOrSocketPath']:!0x1:_0x113646['_originalIpc']?!0x1:_0x3fe438[_0x42465e(0x293)]===_0x113646['_originalHostOrSocketPath'];(!_0x46ee84||_0x113646['_originalSecure']&&!_0xdec73a)&&(delete _0x596ce9[_0x42465e(0x315)][_0x42465e(0x2bf)],delete _0x596ce9[_0x42465e(0x315)]['cookie'],_0x46ee84||delete _0x596ce9['headers'][_0x42465e(0x293)],_0x596ce9[_0x42465e(0x241)]=void 0x0);}}_0x596ce9[_0x42465e(0x241)]&&!_0x4a1c21[_0x42465e(0x315)][_0x42465e(0x2bf)]&&(_0x4a1c21[_0x42465e(0x315)][_0x42465e(0x2bf)]=_0x42465e(0x202)+Buffer[_0x42465e(0x161)](_0x596ce9[_0x42465e(0x241)])[_0x42465e(0x1f2)](_0x42465e(0x158))),_0x48e6ab=_0x113646['_req']=_0x4bfd46(_0x596ce9),_0x113646[_0x42465e(0x1c9)]&&_0x113646[_0x42465e(0x1a3)](_0x42465e(0x25c),_0x113646['url'],_0x48e6ab);}else _0x48e6ab=_0x113646[_0x42465e(0x29c)]=_0x4bfd46(_0x596ce9);_0x596ce9['timeout']&&_0x48e6ab['on'](_0x42465e(0x1fc),()=>{const _0x126952=_0x42465e;_0x1dced4(_0x113646,_0x48e6ab,_0x126952(0x204));}),_0x48e6ab['on'](_0x42465e(0x146),_0x5a7a03=>{const _0x1ccbea=_0x42465e;_0x48e6ab===null||_0x48e6ab[_0x43d2b9]||(_0x48e6ab=_0x113646[_0x1ccbea(0x29c)]=null,_0x431aa1(_0x113646,_0x5a7a03));}),_0x48e6ab['on'](_0x42465e(0x207),_0x539da6=>{const _0x5e71f2=_0x42465e,_0x275676=_0x539da6[_0x5e71f2(0x315)][_0x5e71f2(0x29e)],_0x32a7cc=_0x539da6[_0x5e71f2(0x28a)];if(_0x275676&&_0x596ce9[_0x5e71f2(0x2ff)]&&_0x32a7cc>=0x12c&&_0x32a7cc<0x190){if(++_0x113646[_0x5e71f2(0x1c9)]>_0x596ce9[_0x5e71f2(0x287)]){_0x1dced4(_0x113646,_0x48e6ab,_0x5e71f2(0x177));return;}_0x48e6ab[_0x5e71f2(0x18a)]();let _0x546252;try{_0x546252=new _0x241d13(_0x275676,_0x65da66);}catch{const _0x586cd8=new SyntaxError('Invalid\x20URL:\x20'+_0x275676);_0x431aa1(_0x113646,_0x586cd8);return;}_0x11a135(_0x113646,_0x546252,_0x28bf0a,_0x4a1c21);}else _0x113646['emit']('unexpected-response',_0x48e6ab,_0x539da6)||_0x1dced4(_0x113646,_0x48e6ab,_0x5e71f2(0x2a3)+_0x539da6[_0x5e71f2(0x28a)]);}),_0x48e6ab['on'](_0x42465e(0x2cb),(_0x444b3f,_0x477765,_0x2fe4f1)=>{const _0x309dc3=_0x42465e;if(_0x113646[_0x309dc3(0x1a3)](_0x309dc3(0x2cb),_0x444b3f),_0x113646[_0x309dc3(0x1cc)]!==_0x5548aa[_0x309dc3(0x306)])return;_0x48e6ab=_0x113646[_0x309dc3(0x29c)]=null;const _0xdf765f=_0x444b3f[_0x309dc3(0x315)]['upgrade'];if(_0xdf765f===void 0x0||_0xdf765f[_0x309dc3(0x1a7)]()!==_0x309dc3(0x23b)){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x14e));return;}const _0x6de998=_0x4e2f44(_0x309dc3(0x2d5))[_0x309dc3(0x147)](_0x39235c+_0x259c12)[_0x309dc3(0x26a)](_0x309dc3(0x158));if(_0x444b3f[_0x309dc3(0x315)][_0x309dc3(0x263)]!==_0x6de998){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x193));return;}const _0x20fcfe=_0x444b3f[_0x309dc3(0x315)][_0x309dc3(0x205)];let _0x4ef890;if(_0x20fcfe!==void 0x0?_0x72b3ad[_0x309dc3(0x1ff)]?_0x72b3ad[_0x309dc3(0x29f)](_0x20fcfe)||(_0x4ef890='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4ef890=_0x309dc3(0x22e):_0x72b3ad[_0x309dc3(0x1ff)]&&(_0x4ef890='Server\x20sent\x20no\x20subprotocol'),_0x4ef890){_0x1dced4(_0x113646,_0x477765,_0x4ef890);return;}_0x20fcfe&&(_0x113646[_0x309dc3(0x222)]=_0x20fcfe);const _0x5ae07f=_0x444b3f['headers'][_0x309dc3(0x290)];if(_0x5ae07f!==void 0x0){if(!_0x41166d){_0x1dced4(_0x113646,_0x477765,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4f4ea9;try{_0x4f4ea9=_0x51a543(_0x5ae07f);}catch{_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x307));return;}const _0x4ac0dc=Object[_0x309dc3(0x148)](_0x4f4ea9);if(_0x4ac0dc[_0x309dc3(0x1f1)]!==0x1||_0x4ac0dc[0x0]!==_0x20c973[_0x309dc3(0x258)]){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x30e));return;}try{_0x41166d[_0x309dc3(0x159)](_0x4f4ea9[_0x20c973['extensionName']]);}catch{_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x307));return;}_0x113646[_0x309dc3(0x156)][_0x20c973[_0x309dc3(0x258)]]=_0x41166d;}_0x113646['setSocket'](_0x477765,_0x2fe4f1,{'allowSynchronousEvents':_0x596ce9['allowSynchronousEvents'],'generateMask':_0x596ce9[_0x309dc3(0x2f2)],'maxPayload':_0x596ce9['maxPayload'],'skipUTF8Validation':_0x596ce9[_0x309dc3(0x2a2)]});}),_0x596ce9['finishRequest']?_0x596ce9[_0x42465e(0x2b7)](_0x48e6ab,_0x113646):_0x48e6ab[_0x42465e(0x23d)]();}function _0x431aa1(_0x170a14,_0x26fb76){const _0x1fb939=_0x55b2fc;_0x170a14['_readyState']=_0x5548aa[_0x1fb939(0x255)],_0x170a14['_errorEmitted']=!0x0,_0x170a14[_0x1fb939(0x1a3)](_0x1fb939(0x146),_0x26fb76),_0x170a14['emitClose']();}function _0x319be4(_0x444848){const _0x25b2a4=_0x55b2fc;return _0x444848['path']=_0x444848['socketPath'],_0x141abf[_0x25b2a4(0x267)](_0x444848);}function _0x40a077(_0x377139){const _0x8a529c=_0x55b2fc;return _0x377139[_0x8a529c(0x2c1)]=void 0x0,!_0x377139[_0x8a529c(0x206)]&&_0x377139[_0x8a529c(0x206)]!==''&&(_0x377139[_0x8a529c(0x206)]=_0x141abf['isIP'](_0x377139['host'])?'':_0x377139[_0x8a529c(0x293)]),_0xeb4bad[_0x8a529c(0x267)](_0x377139);}function _0x1dced4(_0x25f8e2,_0x29188c,_0x6d881b){const _0x4f7d29=_0x55b2fc;_0x25f8e2[_0x4f7d29(0x226)]=_0x5548aa[_0x4f7d29(0x255)];const _0x3df655=new Error(_0x6d881b);Error[_0x4f7d29(0x174)](_0x3df655,_0x1dced4),_0x29188c[_0x4f7d29(0x197)]?(_0x29188c[_0x43d2b9]=!0x0,_0x29188c[_0x4f7d29(0x18a)](),_0x29188c[_0x4f7d29(0x168)]&&!_0x29188c['socket'][_0x4f7d29(0x1c3)]&&_0x29188c[_0x4f7d29(0x168)][_0x4f7d29(0x208)](),process[_0x4f7d29(0x1fa)](_0x431aa1,_0x25f8e2,_0x3df655)):(_0x29188c[_0x4f7d29(0x208)](_0x3df655),_0x29188c[_0x4f7d29(0x170)]('error',_0x25f8e2[_0x4f7d29(0x1a3)][_0x4f7d29(0x291)](_0x25f8e2,'error')),_0x29188c[_0x4f7d29(0x170)](_0x4f7d29(0x22f),_0x25f8e2['emitClose'][_0x4f7d29(0x291)](_0x25f8e2)));}function _0x58af15(_0x39b8f6,_0x3cfa35,_0x5cf6d1){const _0x460313=_0x55b2fc;if(_0x3cfa35){const _0x1f219e=_0x150e63(_0x3cfa35)?_0x3cfa35[_0x460313(0x1ff)]:_0x5d0a9d(_0x3cfa35)[_0x460313(0x1f1)];_0x39b8f6[_0x460313(0x16f)]?_0x39b8f6[_0x460313(0x298)][_0x460313(0x145)]+=_0x1f219e:_0x39b8f6[_0x460313(0x187)]+=_0x1f219e;}if(_0x5cf6d1){const _0x345e7e=new Error(_0x460313(0x277)+_0x39b8f6[_0x460313(0x1cc)]+'\x20('+_0x1222cd[_0x39b8f6[_0x460313(0x1cc)]]+')');process[_0x460313(0x1fa)](_0x5cf6d1,_0x345e7e);}}function _0x4ba5a6(_0x23641e,_0x2c467a){const _0x48d7a7=_0x55b2fc,_0x2ab71a=this[_0x59eec6];_0x2ab71a[_0x48d7a7(0x180)]=!0x0,_0x2ab71a['_closeMessage']=_0x2c467a,_0x2ab71a[_0x48d7a7(0x1ac)]=_0x23641e,_0x2ab71a[_0x48d7a7(0x16f)][_0x59eec6]!==void 0x0&&(_0x2ab71a[_0x48d7a7(0x16f)]['removeListener'](_0x48d7a7(0x171),_0xe68f23),process[_0x48d7a7(0x1fa)](_0x597cfd,_0x2ab71a['_socket']),_0x23641e===0x3ed?_0x2ab71a[_0x48d7a7(0x22f)]():_0x2ab71a[_0x48d7a7(0x22f)](_0x23641e,_0x2c467a));}function _0x2e15cb(){const _0x4e90a2=_0x55b2fc,_0x23592e=this[_0x59eec6];_0x23592e['isPaused']||_0x23592e[_0x4e90a2(0x16f)]['resume']();}function _0x55eae5(_0xdecc31){const _0x518a22=_0x55b2fc,_0x37be01=this[_0x59eec6];_0x37be01['_socket'][_0x59eec6]!==void 0x0&&(_0x37be01[_0x518a22(0x16f)][_0x518a22(0x215)](_0x518a22(0x171),_0xe68f23),process[_0x518a22(0x1fa)](_0x597cfd,_0x37be01[_0x518a22(0x16f)]),_0x37be01[_0x518a22(0x22f)](_0xdecc31[_0x3bfe14])),_0x37be01[_0x518a22(0x163)]||(_0x37be01['_errorEmitted']=!0x0,_0x37be01[_0x518a22(0x1a3)](_0x518a22(0x146),_0xdecc31));}function _0x40e725(){const _0xfcde7b=_0x55b2fc;this[_0x59eec6][_0xfcde7b(0x1ad)]();}function _0x5919cc(_0x245ebe,_0x116df1){const _0x2788c7=_0x55b2fc;this[_0x59eec6][_0x2788c7(0x1a3)](_0x2788c7(0x28b),_0x245ebe,_0x116df1);}function _0x5482cf(_0x42c8d3){const _0x14de3f=_0x55b2fc,_0x56f86d=this[_0x59eec6];_0x56f86d[_0x14de3f(0x164)]&&_0x56f86d[_0x14de3f(0x282)](_0x42c8d3,!this[_0x14de3f(0x224)],_0x42411c),_0x56f86d[_0x14de3f(0x1a3)](_0x14de3f(0x23e),_0x42c8d3);}function _0x22160f(_0x3960b3){const _0x4de1b=_0x55b2fc;this[_0x59eec6][_0x4de1b(0x1a3)](_0x4de1b(0x282),_0x3960b3);}function _0x597cfd(_0x3aa137){const _0x232936=_0x55b2fc;_0x3aa137[_0x232936(0x166)]();}function _0x5b7d39(_0x3185af){const _0x31b388=_0x55b2fc,_0x5d32fb=this[_0x59eec6];_0x5d32fb[_0x31b388(0x1cc)]!==_0x5548aa['CLOSED']&&(_0x5d32fb[_0x31b388(0x1cc)]===_0x5548aa[_0x31b388(0x1c2)]&&(_0x5d32fb['_readyState']=_0x5548aa[_0x31b388(0x255)],_0xa2f7fa(_0x5d32fb)),this[_0x31b388(0x16f)][_0x31b388(0x23d)](),_0x5d32fb[_0x31b388(0x163)]||(_0x5d32fb[_0x31b388(0x163)]=!0x0,_0x5d32fb[_0x31b388(0x1a3)](_0x31b388(0x146),_0x3185af)));}function _0xa2f7fa(_0x5e4c35){const _0x6b2f49=_0x55b2fc;_0x5e4c35[_0x6b2f49(0x23f)]=setTimeout(_0x5e4c35[_0x6b2f49(0x16f)][_0x6b2f49(0x208)][_0x6b2f49(0x291)](_0x5e4c35['_socket']),_0x5951bc);}function _0x215e5f(){const _0x4d77b4=_0x55b2fc,_0x3138ba=this[_0x59eec6];this['removeListener']('close',_0x215e5f),this[_0x4d77b4(0x215)](_0x4d77b4(0x171),_0xe68f23),this[_0x4d77b4(0x215)](_0x4d77b4(0x23d),_0x337b4b),_0x3138ba[_0x4d77b4(0x226)]=_0x5548aa[_0x4d77b4(0x255)];let _0x2d59ca;!this[_0x4d77b4(0x15a)][_0x4d77b4(0x15e)]&&!_0x3138ba['_closeFrameReceived']&&!_0x3138ba[_0x4d77b4(0x1ee)]['_writableState'][_0x4d77b4(0x24c)]&&(_0x2d59ca=_0x3138ba[_0x4d77b4(0x16f)]['read']())!==null&&_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x28f)](_0x2d59ca),_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x23d)](),this[_0x59eec6]=void 0x0,clearTimeout(_0x3138ba[_0x4d77b4(0x23f)]),_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x294)]['finished']||_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x294)][_0x4d77b4(0x24c)]?_0x3138ba[_0x4d77b4(0x1ad)]():(_0x3138ba['_receiver']['on'](_0x4d77b4(0x146),_0x40e725),_0x3138ba['_receiver']['on']('finish',_0x40e725));}function _0xe68f23(_0x5a85f0){const _0x1ab905=_0x55b2fc;this[_0x59eec6][_0x1ab905(0x1ee)][_0x1ab905(0x28f)](_0x5a85f0)||this[_0x1ab905(0x1e3)]();}function _0x337b4b(){const _0x419e94=_0x55b2fc,_0x2212ec=this[_0x59eec6];_0x2212ec[_0x419e94(0x226)]=_0x5548aa[_0x419e94(0x255)],_0x2212ec[_0x419e94(0x1ee)][_0x419e94(0x23d)](),this[_0x419e94(0x23d)]();}function _0x418fe6(){const _0x3b3d5d=_0x55b2fc,_0x1a3a2c=this[_0x59eec6];this[_0x3b3d5d(0x215)](_0x3b3d5d(0x146),_0x418fe6),this['on'](_0x3b3d5d(0x146),_0x42411c),_0x1a3a2c&&(_0x1a3a2c['_readyState']=_0x5548aa[_0x3b3d5d(0x255)],this[_0x3b3d5d(0x208)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2f00f8}=oe;function _0x20caf5(_0x533398){const _0x3b443b=_0x26f8;_0x533398[_0x3b443b(0x1a3)](_0x3b443b(0x22f));}function _0x36ff5d(){const _0x1c626f=_0x26f8;!this[_0x1c626f(0x1c3)]&&this[_0x1c626f(0x294)]['finished']&&this['destroy']();}function _0x1dc926(_0x28ac22){const _0x1d2176=_0x26f8;this['removeListener'](_0x1d2176(0x146),_0x1dc926),this['destroy'](),this[_0x1d2176(0x253)]('error')===0x0&&this[_0x1d2176(0x1a3)](_0x1d2176(0x146),_0x28ac22);}function _0x1f6def(_0x510dfc,_0x1a24c2){const _0x37ee4e=_0x26f8;let _0x3292ae=!0x0;const _0x16fafc=new _0x2f00f8({..._0x1a24c2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x510dfc['on'](_0x37ee4e(0x28b),function(_0x1c4d0c,_0xcf2623){const _0x376a16=_0x37ee4e,_0xec10c1=!_0xcf2623&&_0x16fafc[_0x376a16(0x15a)]['objectMode']?_0x1c4d0c['toString']():_0x1c4d0c;_0x16fafc[_0x376a16(0x30f)](_0xec10c1)||_0x510dfc['pause']();}),_0x510dfc['once']('error',function(_0x1a372e){const _0x1acdf8=_0x37ee4e;_0x16fafc[_0x1acdf8(0x1c3)]||(_0x3292ae=!0x1,_0x16fafc[_0x1acdf8(0x208)](_0x1a372e));}),_0x510dfc[_0x37ee4e(0x170)](_0x37ee4e(0x22f),function(){const _0x20e114=_0x37ee4e;_0x16fafc[_0x20e114(0x1c3)]||_0x16fafc[_0x20e114(0x30f)](null);}),_0x16fafc[_0x37ee4e(0x195)]=function(_0x448901,_0x3d07c0){const _0x8a4ca=_0x37ee4e;if(_0x510dfc[_0x8a4ca(0x1cc)]===_0x510dfc['CLOSED']){_0x3d07c0(_0x448901),process[_0x8a4ca(0x1fa)](_0x20caf5,_0x16fafc);return;}let _0x58ae26=!0x1;_0x510dfc['once']('error',function(_0x15b870){_0x58ae26=!0x0,_0x3d07c0(_0x15b870);}),_0x510dfc[_0x8a4ca(0x170)]('close',function(){const _0x5da2f4=_0x8a4ca;_0x58ae26||_0x3d07c0(_0x448901),process[_0x5da2f4(0x1fa)](_0x20caf5,_0x16fafc);}),_0x3292ae&&_0x510dfc[_0x8a4ca(0x21b)]();},_0x16fafc[_0x37ee4e(0x196)]=function(_0x4e7a4f){const _0x204beb=_0x37ee4e;if(_0x510dfc[_0x204beb(0x1cc)]===_0x510dfc[_0x204beb(0x306)]){_0x510dfc['once'](_0x204beb(0x2e8),function(){_0x16fafc['_final'](_0x4e7a4f);});return;}_0x510dfc['_socket']!==null&&(_0x510dfc[_0x204beb(0x16f)]['_writableState'][_0x204beb(0x175)]?(_0x4e7a4f(),_0x16fafc['_readableState'][_0x204beb(0x15e)]&&_0x16fafc[_0x204beb(0x208)]()):(_0x510dfc[_0x204beb(0x16f)]['once'](_0x204beb(0x1af),function(){_0x4e7a4f();}),_0x510dfc[_0x204beb(0x22f)]()));},_0x16fafc[_0x37ee4e(0x24a)]=function(){const _0x3b9644=_0x37ee4e;_0x510dfc[_0x3b9644(0x1df)]&&_0x510dfc[_0x3b9644(0x166)]();},_0x16fafc['_write']=function(_0x2e75f4,_0x4d0df4,_0x5d9727){const _0x33e533=_0x37ee4e;if(_0x510dfc[_0x33e533(0x1cc)]===_0x510dfc[_0x33e533(0x306)]){_0x510dfc[_0x33e533(0x170)]('open',function(){const _0x3ad734=_0x33e533;_0x16fafc[_0x3ad734(0x271)](_0x2e75f4,_0x4d0df4,_0x5d9727);});return;}_0x510dfc[_0x33e533(0x2f5)](_0x2e75f4,_0x5d9727);},_0x16fafc['on']('end',_0x36ff5d),_0x16fafc['on']('error',_0x1dc926),_0x16fafc;}return Oe=_0x1f6def,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x545843}=ae();function _0x3909a5(_0x404dab){const _0x2e6511=_0x26f8,_0x414b14=new Set();let _0x5e0c9f=-0x1,_0x1719d8=-0x1,_0x462a36=0x0;for(_0x462a36;_0x462a36<_0x404dab[_0x2e6511(0x1f1)];_0x462a36++){const _0x4cbc1e=_0x404dab[_0x2e6511(0x1fd)](_0x462a36);if(_0x1719d8===-0x1&&_0x545843[_0x4cbc1e]===0x1)_0x5e0c9f===-0x1&&(_0x5e0c9f=_0x462a36);else{if(_0x462a36!==0x0&&(_0x4cbc1e===0x20||_0x4cbc1e===0x9))_0x1719d8===-0x1&&_0x5e0c9f!==-0x1&&(_0x1719d8=_0x462a36);else{if(_0x4cbc1e===0x2c){if(_0x5e0c9f===-0x1)throw new SyntaxError(_0x2e6511(0x16a)+_0x462a36);_0x1719d8===-0x1&&(_0x1719d8=_0x462a36);const _0x416fbf=_0x404dab['slice'](_0x5e0c9f,_0x1719d8);if(_0x414b14[_0x2e6511(0x29f)](_0x416fbf))throw new SyntaxError('The\x20\x22'+_0x416fbf+'\x22\x20subprotocol\x20is\x20duplicated');_0x414b14[_0x2e6511(0x182)](_0x416fbf),_0x5e0c9f=_0x1719d8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x462a36);}}}if(_0x5e0c9f===-0x1||_0x1719d8!==-0x1)throw new SyntaxError(_0x2e6511(0x2a0));const _0x53dea6=_0x404dab[_0x2e6511(0x238)](_0x5e0c9f,_0x462a36);if(_0x414b14[_0x2e6511(0x29f)](_0x53dea6))throw new SyntaxError(_0x2e6511(0x223)+_0x53dea6+_0x2e6511(0x1bb));return _0x414b14['add'](_0x53dea6),_0x414b14;}return Ce={'parse':_0x3909a5},Ce;}var Te,rt;function Ft(){const _0x30d1f4=_0x433db5;if(rt)return Te;rt=0x1;const _0x42e42f=nt,_0x4818e2=ot,{Duplex:_0x20314f}=oe,{createHash:_0x5a8284}=Le,_0x4f2934=ct(),_0x57ae6d=he(),_0x4e7248=At(),_0x29b11a=Pe(),{GUID:_0x1196a4,kWebSocket:_0xc7589d}=H(),_0x512b3b=/^[+/0-9A-Za-z]{22}==$/,_0x5716da=0x0,_0x1c9bf1=0x1,_0x284607=0x2;class _0x84de1e extends _0x42e42f{constructor(_0x3be63b,_0x5d2c9d){const _0x50dd7e=_0x26f8;if(super(),_0x3be63b={'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':_0x29b11a,..._0x3be63b},_0x3be63b['port']==null&&!_0x3be63b[_0x50dd7e(0x151)]&&!_0x3be63b[_0x50dd7e(0x2ce)]||_0x3be63b[_0x50dd7e(0x209)]!=null&&(_0x3be63b[_0x50dd7e(0x151)]||_0x3be63b[_0x50dd7e(0x2ce)])||_0x3be63b[_0x50dd7e(0x151)]&&_0x3be63b[_0x50dd7e(0x2ce)])throw new TypeError(_0x50dd7e(0x2b4));if(_0x3be63b[_0x50dd7e(0x209)]!=null?(this[_0x50dd7e(0x1c0)]=_0x4818e2[_0x50dd7e(0x284)]((_0x7bad0e,_0x43777f)=>{const _0x3246b0=_0x50dd7e,_0x53a9c9=_0x4818e2[_0x3246b0(0x311)][0x1aa];_0x43777f[_0x3246b0(0x26f)](0x1aa,{'Content-Length':_0x53a9c9['length'],'Content-Type':_0x3246b0(0x262)}),_0x43777f[_0x3246b0(0x23d)](_0x53a9c9);}),this['_server'][_0x50dd7e(0x309)](_0x3be63b['port'],_0x3be63b[_0x50dd7e(0x293)],_0x3be63b[_0x50dd7e(0x19c)],_0x5d2c9d)):_0x3be63b[_0x50dd7e(0x151)]&&(this[_0x50dd7e(0x1c0)]=_0x3be63b[_0x50dd7e(0x151)]),this[_0x50dd7e(0x1c0)]){const _0xa12627=this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,_0x50dd7e(0x14f));this[_0x50dd7e(0x1ed)]=_0x5771d5(this[_0x50dd7e(0x1c0)],{'listening':this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,'listening'),'error':this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,_0x50dd7e(0x146)),'upgrade':(_0x2631dc,_0x5bc3d4,_0x1f4be1)=>{const _0x1e8282=_0x50dd7e;this[_0x1e8282(0x31a)](_0x2631dc,_0x5bc3d4,_0x1f4be1,_0xa12627);}});}_0x3be63b[_0x50dd7e(0x2c4)]===!0x0&&(_0x3be63b[_0x50dd7e(0x2c4)]={}),_0x3be63b[_0x50dd7e(0x2eb)]&&(this[_0x50dd7e(0x274)]=new Set(),this[_0x50dd7e(0x312)]=!0x1),this[_0x50dd7e(0x2cf)]=_0x3be63b,this[_0x50dd7e(0x21c)]=_0x5716da;}[_0x30d1f4(0x29d)](){const _0x4ecb00=_0x30d1f4;if(this[_0x4ecb00(0x2cf)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4ecb00(0x1c0)]?this[_0x4ecb00(0x1c0)]['address']():null;}[_0x30d1f4(0x22f)](_0x4e937d){const _0x39e5db=_0x30d1f4;if(this[_0x39e5db(0x21c)]===_0x284607){_0x4e937d&&this[_0x39e5db(0x170)](_0x39e5db(0x22f),()=>{const _0x91e63c=_0x39e5db;_0x4e937d(new Error(_0x91e63c(0x2df)));}),process[_0x39e5db(0x1fa)](_0x136d22,this);return;}if(_0x4e937d&&this[_0x39e5db(0x170)](_0x39e5db(0x22f),_0x4e937d),this['_state']!==_0x1c9bf1){if(this[_0x39e5db(0x21c)]=_0x1c9bf1,this[_0x39e5db(0x2cf)][_0x39e5db(0x2ce)]||this[_0x39e5db(0x2cf)]['server'])this[_0x39e5db(0x1c0)]&&(this[_0x39e5db(0x1ed)](),this[_0x39e5db(0x1ed)]=this[_0x39e5db(0x1c0)]=null),this[_0x39e5db(0x274)]?this[_0x39e5db(0x274)][_0x39e5db(0x1ff)]?this[_0x39e5db(0x312)]=!0x0:process[_0x39e5db(0x1fa)](_0x136d22,this):process[_0x39e5db(0x1fa)](_0x136d22,this);else{const _0x3a736d=this[_0x39e5db(0x1c0)];this['_removeListeners'](),this[_0x39e5db(0x1ed)]=this[_0x39e5db(0x1c0)]=null,_0x3a736d[_0x39e5db(0x22f)](()=>{_0x136d22(this);});}}}[_0x30d1f4(0x2f9)](_0x20f49b){const _0x5be428=_0x30d1f4;if(this['options']['path']){const _0x39efbe=_0x20f49b['url'][_0x5be428(0x240)]('?');if((_0x39efbe!==-0x1?_0x20f49b[_0x5be428(0x283)][_0x5be428(0x238)](0x0,_0x39efbe):_0x20f49b[_0x5be428(0x283)])!==this[_0x5be428(0x2cf)][_0x5be428(0x2c1)])return!0x1;}return!0x0;}[_0x30d1f4(0x31a)](_0x13273b,_0x21f1de,_0x3fad11,_0x32914f){const _0xf43b58=_0x30d1f4;_0x21f1de['on']('error',_0x4cb224);const _0x2c0532=_0x13273b['headers']['sec-websocket-key'],_0x5abf76=_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x2cb)],_0x53decb=+_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x21a)];if(_0x13273b[_0xf43b58(0x2b1)]!=='GET'){_0x112594(this,_0x13273b,_0x21f1de,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5abf76===void 0x0||_0x5abf76[_0xf43b58(0x1a7)]()!==_0xf43b58(0x23b)){_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x14e));return;}if(_0x2c0532===void 0x0||!_0x512b3b[_0xf43b58(0x27e)](_0x2c0532)){_0x112594(this,_0x13273b,_0x21f1de,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x53decb!==0x8&&_0x53decb!==0xd){_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x28d));return;}if(!this[_0xf43b58(0x2f9)](_0x13273b)){_0x20359c(_0x21f1de,0x190);return;}const _0x1dd9f1=_0x13273b['headers'][_0xf43b58(0x205)];let _0x1935ab=new Set();if(_0x1dd9f1!==void 0x0)try{_0x1935ab=_0x4e7248[_0xf43b58(0x14c)](_0x1dd9f1);}catch{_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x1d2));return;}const _0x3addc1=_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x290)],_0x31466a={};if(this['options'][_0xf43b58(0x2c4)]&&_0x3addc1!==void 0x0){const _0x5c1439=new _0x57ae6d(this[_0xf43b58(0x2cf)][_0xf43b58(0x2c4)],!0x0,this[_0xf43b58(0x2cf)]['maxPayload']);try{const _0x557443=_0x4f2934['parse'](_0x3addc1);_0x557443[_0x57ae6d[_0xf43b58(0x258)]]&&(_0x5c1439[_0xf43b58(0x159)](_0x557443[_0x57ae6d[_0xf43b58(0x258)]]),_0x31466a[_0x57ae6d[_0xf43b58(0x258)]]=_0x5c1439);}catch{_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x247));return;}}if(this['options']['verifyClient']){const _0x2a83a3={'origin':_0x13273b[_0xf43b58(0x315)][''+(_0x53decb===0x8?_0xf43b58(0x1d3):_0xf43b58(0x1e1))],'secure':!!(_0x13273b[_0xf43b58(0x168)][_0xf43b58(0x19e)]||_0x13273b['socket'][_0xf43b58(0x308)]),'req':_0x13273b};if(this[_0xf43b58(0x2cf)][_0xf43b58(0x270)][_0xf43b58(0x1f1)]===0x2){this[_0xf43b58(0x2cf)][_0xf43b58(0x270)](_0x2a83a3,(_0x32fd3d,_0xbb864a,_0xab83ac,_0x33e082)=>{if(!_0x32fd3d)return _0x20359c(_0x21f1de,_0xbb864a||0x191,_0xab83ac,_0x33e082);this['completeUpgrade'](_0x31466a,_0x2c0532,_0x1935ab,_0x13273b,_0x21f1de,_0x3fad11,_0x32914f);});return;}if(!this[_0xf43b58(0x2cf)][_0xf43b58(0x270)](_0x2a83a3))return _0x20359c(_0x21f1de,0x191);}this[_0xf43b58(0x172)](_0x31466a,_0x2c0532,_0x1935ab,_0x13273b,_0x21f1de,_0x3fad11,_0x32914f);}[_0x30d1f4(0x172)](_0x44b188,_0x36457d,_0x43c77e,_0x1a0337,_0x414ec9,_0x246c57,_0x224234){const _0xfc5bb5=_0x30d1f4;if(!_0x414ec9[_0xfc5bb5(0x2e2)]||!_0x414ec9['writable'])return _0x414ec9[_0xfc5bb5(0x208)]();if(_0x414ec9[_0xc7589d])throw new Error(_0xfc5bb5(0x17b));if(this[_0xfc5bb5(0x21c)]>_0x5716da)return _0x20359c(_0x414ec9,0x1f7);const _0x3e8220=[_0xfc5bb5(0x231),'Upgrade:\x20websocket',_0xfc5bb5(0x17e),_0xfc5bb5(0x1d7)+_0x5a8284('sha1')[_0xfc5bb5(0x147)](_0x36457d+_0x1196a4)['digest'](_0xfc5bb5(0x158))],_0x922ed7=new this['options']['WebSocket'](null,void 0x0,this[_0xfc5bb5(0x2cf)]);if(_0x43c77e[_0xfc5bb5(0x1ff)]){const _0x4a2e0a=this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2f6)]?this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2f6)](_0x43c77e,_0x1a0337):_0x43c77e[_0xfc5bb5(0x2c8)]()[_0xfc5bb5(0x24f)]()['value'];_0x4a2e0a&&(_0x3e8220[_0xfc5bb5(0x30f)](_0xfc5bb5(0x27f)+_0x4a2e0a),_0x922ed7['_protocol']=_0x4a2e0a);}if(_0x44b188[_0x57ae6d[_0xfc5bb5(0x258)]]){const _0x102526=_0x44b188[_0x57ae6d[_0xfc5bb5(0x258)]][_0xfc5bb5(0x2fd)],_0x4af4a0=_0x4f2934['format']({[_0x57ae6d[_0xfc5bb5(0x258)]]:[_0x102526]});_0x3e8220[_0xfc5bb5(0x30f)]('Sec-WebSocket-Extensions:\x20'+_0x4af4a0),_0x922ed7['_extensions']=_0x44b188;}this[_0xfc5bb5(0x1a3)]('headers',_0x3e8220,_0x1a0337),_0x414ec9[_0xfc5bb5(0x28f)](_0x3e8220[_0xfc5bb5(0x179)]('\x0d\x0a')[_0xfc5bb5(0x261)]('\x0d\x0a')),_0x414ec9[_0xfc5bb5(0x215)](_0xfc5bb5(0x146),_0x4cb224),_0x922ed7[_0xfc5bb5(0x230)](_0x414ec9,_0x246c57,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this['options'][_0xfc5bb5(0x243)],'skipUTF8Validation':this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2a2)]}),this[_0xfc5bb5(0x274)]&&(this[_0xfc5bb5(0x274)][_0xfc5bb5(0x182)](_0x922ed7),_0x922ed7['on'](_0xfc5bb5(0x22f),()=>{const _0x57c2e3=_0xfc5bb5;this[_0x57c2e3(0x274)][_0x57c2e3(0x1f0)](_0x922ed7),this[_0x57c2e3(0x312)]&&!this[_0x57c2e3(0x274)][_0x57c2e3(0x1ff)]&&process[_0x57c2e3(0x1fa)](_0x136d22,this);})),_0x224234(_0x922ed7,_0x1a0337);}}Te=_0x84de1e;function _0x5771d5(_0x5e570d,_0x3a0541){const _0x3351db=_0x30d1f4;for(const _0x1b0941 of Object[_0x3351db(0x148)](_0x3a0541))_0x5e570d['on'](_0x1b0941,_0x3a0541[_0x1b0941]);return function(){const _0x2b16d7=_0x3351db;for(const _0x257cdf of Object['keys'](_0x3a0541))_0x5e570d[_0x2b16d7(0x215)](_0x257cdf,_0x3a0541[_0x257cdf]);};}function _0x136d22(_0x21ef19){const _0x3babf3=_0x30d1f4;_0x21ef19[_0x3babf3(0x21c)]=_0x284607,_0x21ef19[_0x3babf3(0x1a3)]('close');}function _0x4cb224(){const _0x5c99f2=_0x30d1f4;this[_0x5c99f2(0x208)]();}function _0x20359c(_0x20981c,_0x21264d,_0x369e82,_0x123cc4){const _0x398a0d=_0x30d1f4;_0x369e82=_0x369e82||_0x4818e2[_0x398a0d(0x311)][_0x21264d],_0x123cc4={'Connection':_0x398a0d(0x22f),'Content-Type':_0x398a0d(0x1a6),'Content-Length':Buffer[_0x398a0d(0x2a7)](_0x369e82),..._0x123cc4},_0x20981c[_0x398a0d(0x170)](_0x398a0d(0x1af),_0x20981c[_0x398a0d(0x208)]),_0x20981c['end'](_0x398a0d(0x218)+_0x21264d+'\x20'+_0x4818e2[_0x398a0d(0x311)][_0x21264d]+'\x0d\x0a'+Object[_0x398a0d(0x148)](_0x123cc4)['map'](_0x48a5dd=>_0x48a5dd+':\x20'+_0x123cc4[_0x48a5dd])[_0x398a0d(0x261)]('\x0d\x0a')+_0x398a0d(0x2de)+_0x369e82);}function _0x112594(_0x58d1f8,_0x75c133,_0x334b66,_0x58d813,_0x349098){const _0x32c2bf=_0x30d1f4;if(_0x58d1f8[_0x32c2bf(0x253)](_0x32c2bf(0x178))){const _0x5f5178=new Error(_0x349098);Error[_0x32c2bf(0x174)](_0x5f5178,_0x112594),_0x58d1f8[_0x32c2bf(0x1a3)](_0x32c2bf(0x178),_0x5f5178,_0x334b66,_0x75c133);}else _0x20359c(_0x334b66,_0x58d813,_0x349098);}return Te;}Ft();var jt=Object[_0x433db5(0x1b3)],Wt=(_0x70fb61,_0x274617,_0x1feb53,_0x679136)=>{for(var _0x18409e=_0x679136>0x1?void 0x0:_0x679136?jt(_0x274617,_0x1feb53):_0x274617,_0x4ab3ff=_0x70fb61['length']-0x1,_0x3e5a2d;_0x4ab3ff>=0x0;_0x4ab3ff--)(_0x3e5a2d=_0x70fb61[_0x4ab3ff])&&(_0x18409e=_0x3e5a2d(_0x18409e)||_0x18409e);return _0x18409e;},qt=(_0x215b37,_0x1f4342)=>(_0x4b3c3a,_0x569482)=>_0x1f4342(_0x4b3c3a,_0x569482,_0x215b37);let ke=class extends A[_0x433db5(0x1ae)]{constructor(_0x2b5257){const _0x11a92f=_0x433db5;super(),this[_0x11a92f(0x183)]=_0x2b5257;}['createSocket'](_0x5ff342){const _0x57cb36=_0x433db5;var _0x5e79b0;const _0xb9a581=(_0x5e79b0=this[_0x57cb36(0x183)][_0x57cb36(0x2ea)](fe))==null?void 0x0:_0x5e79b0['customHeaders'];try{const _0x4da178=new $t(_0x5ff342,{'headers':{..._0xb9a581}}),_0x5925c9=new A[(_0x57cb36(0x1d9))]();return{'URL':_0x5ff342,'close':(_0x189a83,_0x2ceb1e)=>{const _0xdd1eb9=_0x57cb36;_0x4da178[_0xdd1eb9(0x22f)](_0x189a83,_0x2ceb1e),_0x5925c9['dispose']();},'send':_0x42a1be=>{const _0x53790d=_0x57cb36;_0x4da178[_0x53790d(0x2f5)](_0x42a1be);},'open$':new V[(_0x57cb36(0x2ad))](_0x3a23fb=>{const _0x5a1d4c=_0x57cb36,_0x523e86=_0x10de51=>_0x3a23fb[_0x5a1d4c(0x24f)](_0x10de51);_0x4da178[_0x5a1d4c(0x188)](_0x5a1d4c(0x2e8),_0x523e86),_0x5925c9[_0x5a1d4c(0x182)](A[_0x5a1d4c(0x319)](()=>_0x4da178[_0x5a1d4c(0x2c0)](_0x5a1d4c(0x2e8),_0x523e86)));})['pipe'](V['share']()),'close$':new V[(_0x57cb36(0x2ad))](_0x29c616=>{const _0x209dea=_0x57cb36,_0x471d9d=_0x331f0a=>_0x29c616[_0x209dea(0x24f)](_0x331f0a);_0x4da178['addEventListener']('close',_0x471d9d),_0x5925c9['add'](A[_0x209dea(0x319)](()=>_0x4da178[_0x209dea(0x2c0)](_0x209dea(0x22f),_0x471d9d)));})[_0x57cb36(0x149)](V[_0x57cb36(0x14b)]()),'error$':new V[(_0x57cb36(0x2ad))](_0x5eba57=>{const _0x2a6f0f=_0x57cb36,_0x2085a8=_0x11f4dd=>_0x5eba57[_0x2a6f0f(0x24f)](_0x11f4dd);_0x4da178[_0x2a6f0f(0x188)](_0x2a6f0f(0x146),_0x2085a8),_0x5925c9[_0x2a6f0f(0x182)](A['toDisposable'](()=>_0x4da178['removeEventListener'](_0x2a6f0f(0x146),_0x2085a8)));})['pipe'](V[_0x57cb36(0x14b)]()),'message$':new V[(_0x57cb36(0x2ad))](_0x30bb30=>{const _0x5aca0c=_0x57cb36,_0x485201=_0x2f5e69=>_0x30bb30[_0x5aca0c(0x24f)](_0x2f5e69);_0x4da178[_0x5aca0c(0x188)]('message',_0x485201),_0x5925c9['add'](A[_0x5aca0c(0x319)](()=>_0x4da178['removeEventListener'](_0x5aca0c(0x28b),_0x485201)));})[_0x57cb36(0x149)](V[_0x57cb36(0x14b)]())};}catch(_0x35f929){return console[_0x57cb36(0x146)](_0x35f929),null;}}};ke=Wt([qt(0x0,A[_0x433db5(0x2d9)])],ke);var Gt=Object[_0x433db5(0x20c)],Vt=Object[_0x433db5(0x1b3)],Ht=(_0x14026f,_0x3f05dc,_0x3b78ce)=>_0x3f05dc in _0x14026f?Gt(_0x14026f,_0x3f05dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b78ce}):_0x14026f[_0x3f05dc]=_0x3b78ce,zt=(_0x4bc73c,_0x200102,_0x1e5291,_0x512b28)=>{for(var _0x46e1a9=_0x512b28>0x1?void 0x0:_0x512b28?Vt(_0x200102,_0x1e5291):_0x200102,_0x529b77=_0x4bc73c['length']-0x1,_0x3fc445;_0x529b77>=0x0;_0x529b77--)(_0x3fc445=_0x4bc73c[_0x529b77])&&(_0x46e1a9=_0x3fc445(_0x46e1a9)||_0x46e1a9);return _0x46e1a9;},Ne=(_0x29b81e,_0x1c3497)=>(_0x5712c1,_0x840ff3)=>_0x1c3497(_0x5712c1,_0x840ff3,_0x29b81e),Yt=(_0x130d4d,_0x108277,_0x2e506c)=>Ht(_0x130d4d,_0x108277+'',_0x2e506c);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x2be0db=Ct,_0x3fb0d4,_0x483792,_0x184676){const _0xd09a6b=_0x433db5;_0x2be0db[_0xd09a6b(0x21f)]||_0x3fb0d4[_0xd09a6b(0x304)](_0xd09a6b(0x299)),super(),this[_0xd09a6b(0x183)]=_0x483792,this[_0xd09a6b(0x295)]=_0x184676,this[_0xd09a6b(0x183)][_0xd09a6b(0x1c8)](fe,_0x2be0db);}[_0x433db5(0x203)](){const _0x37abe5=_0x433db5;this[_0x37abe5(0x30a)]();}[_0x433db5(0x30a)](){const _0x156bcd=_0x433db5;A[_0x156bcd(0x2b5)](this[_0x156bcd(0x295)],[[it[_0x156bcd(0x314)],{'useClass':ke}]]);}},Yt(exports[_0x433db5(0x1fe)],_0x433db5(0x1a0),_0x433db5(0x26b)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x433db5(0x2dc)](st[_0x433db5(0x1c5)]),Ne(0x1,A[_0x433db5(0x2ab)]),Ne(0x2,A[_0x433db5(0x2d9)]),Ne(0x3,A['Inject'](A[_0x433db5(0x30c)]))],exports[_0x433db5(0x1fe)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x183b1d,_0x463d6f,_0x1a8654,_0x34a81d)=>{const _0x1f84bd=_0x433db5;for(var _0x2a71b9=_0x34a81d>0x1?void 0x0:_0x34a81d?Kt(_0x463d6f,_0x1a8654):_0x463d6f,_0x576003=_0x183b1d[_0x1f84bd(0x1f1)]-0x1,_0x4b295f;_0x576003>=0x0;_0x576003--)(_0x4b295f=_0x183b1d[_0x576003])&&(_0x2a71b9=_0x4b295f(_0x2a71b9)||_0x2a71b9);return _0x2a71b9;},ne=(_0x11d628,_0x2b611c)=>(_0x5f4b41,_0x2ff029)=>_0x2b611c(_0x5f4b41,_0x2ff029,_0x11d628);exports['NodeCollaborationSocketService']=class extends st[_0x433db5(0x1a5)]{constructor(_0x48ea5c,_0x1793da,_0x37a123,_0x14d2fa,_0x3ed39c){const _0x4db8a9=_0x433db5;super(_0x48ea5c,_0x1793da,_0x37a123,_0x14d2fa,_0x3ed39c);const _0x113d07=this[_0x4db8a9(0x183)][_0x4db8a9(0x2ea)](fe);this[_0x4db8a9(0x1aa)][_0x4db8a9(0x2e5)]({'interceptor':(_0x1e198e,_0x45151b)=>{const _0x4342a8=_0x4db8a9;var _0x4edc46;const _0x2bbb2d=_0x1e198e[_0x4342a8(0x315)];return(_0x4edc46=_0x113d07==null?void 0x0:_0x113d07[_0x4342a8(0x21f)])!=null&&_0x4edc46['cookie']&&_0x2bbb2d[_0x4342a8(0x244)](_0x4342a8(0x256),_0x113d07[_0x4342a8(0x21f)][_0x4342a8(0x189)]),_0x45151b(_0x1e198e);}});}async[_0x433db5(0x19f)](_0x2dd586){const _0x1a9b94=_0x433db5;return this[_0x1a9b94(0x234)](_0x2dd586);}},exports[_0x433db5(0x217)]=Xt([ne(0x0,A[_0x433db5(0x1ef)](A[_0x433db5(0x30c)])),ne(0x1,A[_0x433db5(0x1ef)](it['HTTPService'])),ne(0x2,A[_0x433db5(0x2d9)]),ne(0x3,A[_0x433db5(0x2ab)]),ne(0x4,Ot[_0x433db5(0x1b8)])],exports[_0x433db5(0x217)]),exports[_0x433db5(0x154)]=fe;
1
+ 'use strict';const _0x49d410=_0x80da;(function(_0x3ede5d,_0x4e9735){const _0x27cef3=_0x80da,_0x466ba1=_0x3ede5d();while(!![]){try{const _0x9d960b=-parseInt(_0x27cef3(0x1f5))/0x1+-parseInt(_0x27cef3(0x285))/0x2*(-parseInt(_0x27cef3(0x283))/0x3)+parseInt(_0x27cef3(0x2af))/0x4+parseInt(_0x27cef3(0x23a))/0x5+parseInt(_0x27cef3(0x2ba))/0x6+-parseInt(_0x27cef3(0x244))/0x7*(-parseInt(_0x27cef3(0x2b9))/0x8)+-parseInt(_0x27cef3(0x276))/0x9*(parseInt(_0x27cef3(0x248))/0xa);if(_0x9d960b===_0x4e9735)break;else _0x466ba1['push'](_0x466ba1['shift']());}catch(_0x47677c){_0x466ba1['push'](_0x466ba1['shift']());}}}(_0x458f,0xd1585));Object[_0x49d410(0x35e)](exports,Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x49d410(0x29e)),it=require('@univerjs/network'),V=require(_0x49d410(0x294)),nt=require('events'),vt=require(_0x49d410(0x23e)),ot=require(_0x49d410(0x270)),St=require(_0x49d410(0x238)),Et=require(_0x49d410(0x1f2)),Le=require(_0x49d410(0x25d)),oe=require(_0x49d410(0x331)),xt=require(_0x49d410(0x23f)),bt=require(_0x49d410(0x370)),wt=require(_0x49d410(0x25e)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x33679e){const _0x3f78e4=_0x49d410;return _0x33679e&&_0x33679e[_0x3f78e4(0x246)]&&Object[_0x3f78e4(0x241)]['hasOwnProperty'][_0x3f78e4(0x1ec)](_0x33679e,'default')?_0x33679e[_0x3f78e4(0x28d)]:_0x33679e;}function at(_0x13a4a6){const _0x5a4865=_0x49d410;if(Object[_0x5a4865(0x241)][_0x5a4865(0x233)][_0x5a4865(0x1ec)](_0x13a4a6,'__esModule'))return _0x13a4a6;var _0x25c221=_0x13a4a6['default'];if(typeof _0x25c221==_0x5a4865(0x223)){var _0x4e7044=function _0x35ea9f(){const _0x426c73=_0x5a4865;return this instanceof _0x35ea9f?Reflect[_0x426c73(0x23d)](_0x25c221,arguments,this['constructor']):_0x25c221[_0x426c73(0x259)](this,arguments);};_0x4e7044['prototype']=_0x25c221[_0x5a4865(0x241)];}else _0x4e7044={};return Object['defineProperty'](_0x4e7044,_0x5a4865(0x246),{'value':!0x0}),Object[_0x5a4865(0x1ed)](_0x13a4a6)[_0x5a4865(0x289)](function(_0x53be8c){const _0xdccdcf=_0x5a4865;var _0x3e753f=Object[_0xdccdcf(0x2ec)](_0x13a4a6,_0x53be8c);Object[_0xdccdcf(0x35e)](_0x4e7044,_0x53be8c,_0x3e753f['get']?_0x3e753f:{'enumerable':!0x0,'get':function(){return _0x13a4a6[_0x53be8c];}});}),_0x4e7044;}var se={'exports':{}},ge,Ge;function H(){const _0x139108=_0x49d410;if(Ge)return ge;Ge=0x1;const _0x24a045=[_0x139108(0x22c),_0x139108(0x1b8),_0x139108(0x29a)],_0x6c021c=typeof Blob<'u';return _0x6c021c&&_0x24a045[_0x139108(0x293)](_0x139108(0x352)),ge={'BINARY_TYPES':_0x24a045,'EMPTY_BUFFER':Buffer[_0x139108(0x27d)](0x0),'GUID':_0x139108(0x2ef),'hasBlob':_0x6c021c,'kForOnEventAttribute':Symbol(_0x139108(0x328)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x139108(0x30b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Nt},Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)})),Lt=at(kt);var Ve;function ce(){const _0xdee44e=_0x49d410;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x27d591}=H(),_0x2c7ad0=Buffer[Symbol['species']];function _0x421a2f(_0x3c1f41,_0x415026){const _0x373e3d=_0x80da;if(_0x3c1f41['length']===0x0)return _0x27d591;if(_0x3c1f41[_0x373e3d(0x240)]===0x1)return _0x3c1f41[0x0];const _0x56efc7=Buffer[_0x373e3d(0x377)](_0x415026);let _0x2eaa70=0x0;for(let _0x37d402=0x0;_0x37d402<_0x3c1f41['length'];_0x37d402++){const _0x5d97ae=_0x3c1f41[_0x37d402];_0x56efc7[_0x373e3d(0x1e7)](_0x5d97ae,_0x2eaa70),_0x2eaa70+=_0x5d97ae[_0x373e3d(0x240)];}return _0x2eaa70<_0x415026?new _0x2c7ad0(_0x56efc7[_0x373e3d(0x25e)],_0x56efc7[_0x373e3d(0x1bc)],_0x2eaa70):_0x56efc7;}function _0x59b739(_0x52b0ab,_0x3acf87,_0x1c64ca,_0xfc9b78,_0x15aa21){for(let _0x1397de=0x0;_0x1397de<_0x15aa21;_0x1397de++)_0x1c64ca[_0xfc9b78+_0x1397de]=_0x52b0ab[_0x1397de]^_0x3acf87[_0x1397de&0x3];}function _0x4b5025(_0x35841b,_0x110c56){const _0x471d52=_0x80da;for(let _0x2364e4=0x0;_0x2364e4<_0x35841b[_0x471d52(0x240)];_0x2364e4++)_0x35841b[_0x2364e4]^=_0x110c56[_0x2364e4&0x3];}function _0x2910e4(_0x64ce60){const _0x4e055e=_0x80da;return _0x64ce60[_0x4e055e(0x240)]===_0x64ce60[_0x4e055e(0x25e)][_0x4e055e(0x1e1)]?_0x64ce60[_0x4e055e(0x25e)]:_0x64ce60['buffer'][_0x4e055e(0x2ad)](_0x64ce60[_0x4e055e(0x1bc)],_0x64ce60[_0x4e055e(0x1bc)]+_0x64ce60[_0x4e055e(0x240)]);}function _0x3ca141(_0x19ef8f){const _0x3de347=_0x80da;if(_0x3ca141[_0x3de347(0x2fb)]=!0x0,Buffer['isBuffer'](_0x19ef8f))return _0x19ef8f;let _0x2f9a68;return _0x19ef8f instanceof ArrayBuffer?_0x2f9a68=new _0x2c7ad0(_0x19ef8f):ArrayBuffer['isView'](_0x19ef8f)?_0x2f9a68=new _0x2c7ad0(_0x19ef8f[_0x3de347(0x25e)],_0x19ef8f['byteOffset'],_0x19ef8f[_0x3de347(0x1e1)]):(_0x2f9a68=Buffer['from'](_0x19ef8f),_0x3ca141[_0x3de347(0x2fb)]=!0x1),_0x2f9a68;}if(se[_0xdee44e(0x21e)]={'concat':_0x421a2f,'mask':_0x59b739,'toArrayBuffer':_0x2910e4,'toBuffer':_0x3ca141,'unmask':_0x4b5025},!process['env'][_0xdee44e(0x21a)])try{const _0x2a4571=Lt;se[_0xdee44e(0x21e)][_0xdee44e(0x1ef)]=function(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a){const _0x46fa73=_0xdee44e;_0x493a5a<0x30?_0x59b739(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a):_0x2a4571[_0x46fa73(0x1ef)](_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a);},se[_0xdee44e(0x21e)][_0xdee44e(0x2d9)]=function(_0x3daa96,_0x15018f){const _0x2a5561=_0xdee44e;_0x3daa96[_0x2a5561(0x240)]<0x20?_0x4b5025(_0x3daa96,_0x15018f):_0x2a4571[_0x2a5561(0x2d9)](_0x3daa96,_0x15018f);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16676c=_0x49d410;if(He)return ye;He=0x1;const _0x55010f=Symbol(_0x16676c(0x1cc)),_0x509543=Symbol(_0x16676c(0x1fd));class _0x45f4a7{constructor(_0xe92a02){const _0x2ca3e1=_0x16676c;this[_0x55010f]=()=>{const _0x3fc8c4=_0x80da;this[_0x3fc8c4(0x206)]--,this[_0x509543]();},this[_0x2ca3e1(0x2ca)]=_0xe92a02||0x1/0x0,this[_0x2ca3e1(0x22f)]=[],this['pending']=0x0;}['add'](_0x1b975b){const _0x3f7025=_0x16676c;this[_0x3f7025(0x22f)][_0x3f7025(0x293)](_0x1b975b),this[_0x509543]();}[_0x509543](){const _0x38cb48=_0x16676c;if(this['pending']!==this[_0x38cb48(0x2ca)]&&this[_0x38cb48(0x22f)][_0x38cb48(0x240)]){const _0x4dd60a=this[_0x38cb48(0x22f)][_0x38cb48(0x344)]();this[_0x38cb48(0x206)]++,_0x4dd60a(this[_0x55010f]);}}}return ye=_0x45f4a7,ye;}var ve,ze;function he(){const _0x1a43ed=_0x49d410;if(ze)return ve;ze=0x1;const _0xbffc26=bt,_0x1db1c0=ce(),_0x4e93fc=Pt(),{kStatusCode:_0x365407}=H(),_0x64111a=Buffer[Symbol[_0x1a43ed(0x26e)]],_0x353570=Buffer[_0x1a43ed(0x34a)]([0x0,0x0,0xff,0xff]),_0x119159=Symbol('permessage-deflate'),_0x2b1bcf=Symbol(_0x1a43ed(0x234)),_0x88312e=Symbol(_0x1a43ed(0x2d7)),_0x56bdcc=Symbol(_0x1a43ed(0x242)),_0x5323e1=Symbol(_0x1a43ed(0x219));let _0x1a9d00;class _0x208d93{constructor(_0x253ffe,_0x25b06a,_0x4117a5){const _0x1e9be3=_0x1a43ed;if(this[_0x1e9be3(0x275)]=_0x4117a5|0x0,this[_0x1e9be3(0x27f)]=_0x253ffe||{},this[_0x1e9be3(0x204)]=this[_0x1e9be3(0x27f)]['threshold']!==void 0x0?this['_options'][_0x1e9be3(0x340)]:0x400,this[_0x1e9be3(0x358)]=!!_0x25b06a,this[_0x1e9be3(0x281)]=null,this['_inflate']=null,this['params']=null,!_0x1a9d00){const _0x4fb485=this[_0x1e9be3(0x27f)][_0x1e9be3(0x1cf)]!==void 0x0?this[_0x1e9be3(0x27f)]['concurrencyLimit']:0xa;_0x1a9d00=new _0x4e93fc(_0x4fb485);}}static get['extensionName'](){return'permessage-deflate';}[_0x1a43ed(0x346)](){const _0x5e1a1b=_0x1a43ed,_0x40d806={};return this['_options'][_0x5e1a1b(0x284)]&&(_0x40d806[_0x5e1a1b(0x2a0)]=!0x0),this[_0x5e1a1b(0x27f)]['clientNoContextTakeover']&&(_0x40d806[_0x5e1a1b(0x2a8)]=!0x0),this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]&&(_0x40d806[_0x5e1a1b(0x287)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]),this['_options'][_0x5e1a1b(0x216)]?_0x40d806[_0x5e1a1b(0x1c0)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]:this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]==null&&(_0x40d806['client_max_window_bits']=!0x0),_0x40d806;}[_0x1a43ed(0x376)](_0x525e74){const _0x259a96=_0x1a43ed;return _0x525e74=this[_0x259a96(0x2c2)](_0x525e74),this[_0x259a96(0x1b7)]=this[_0x259a96(0x358)]?this[_0x259a96(0x26b)](_0x525e74):this[_0x259a96(0x1d4)](_0x525e74),this['params'];}[_0x1a43ed(0x2e8)](){const _0x66577c=_0x1a43ed;if(this['_inflate']&&(this[_0x66577c(0x323)]['close'](),this[_0x66577c(0x323)]=null),this['_deflate']){const _0x5b2e78=this['_deflate'][_0x88312e];this[_0x66577c(0x281)]['close'](),this[_0x66577c(0x281)]=null,_0x5b2e78&&_0x5b2e78(new Error(_0x66577c(0x2c7)));}}['acceptAsServer'](_0x5d66e8){const _0x497b2e=_0x1a43ed,_0x35fe5f=this['_options'],_0x34561f=_0x5d66e8[_0x497b2e(0x34c)](_0x32bcd5=>!(_0x35fe5f[_0x497b2e(0x284)]===!0x1&&_0x32bcd5[_0x497b2e(0x2a0)]||_0x32bcd5[_0x497b2e(0x287)]&&(_0x35fe5f['serverMaxWindowBits']===!0x1||typeof _0x35fe5f[_0x497b2e(0x355)]=='number'&&_0x35fe5f[_0x497b2e(0x355)]>_0x32bcd5[_0x497b2e(0x287)])||typeof _0x35fe5f[_0x497b2e(0x216)]==_0x497b2e(0x2db)&&!_0x32bcd5['client_max_window_bits']));if(!_0x34561f)throw new Error(_0x497b2e(0x1d9));return _0x35fe5f['serverNoContextTakeover']&&(_0x34561f['server_no_context_takeover']=!0x0),_0x35fe5f[_0x497b2e(0x29b)]&&(_0x34561f['client_no_context_takeover']=!0x0),typeof _0x35fe5f[_0x497b2e(0x355)]==_0x497b2e(0x2db)&&(_0x34561f[_0x497b2e(0x287)]=_0x35fe5f[_0x497b2e(0x355)]),typeof _0x35fe5f['clientMaxWindowBits']==_0x497b2e(0x2db)?_0x34561f[_0x497b2e(0x1c0)]=_0x35fe5f['clientMaxWindowBits']:(_0x34561f[_0x497b2e(0x1c0)]===!0x0||_0x35fe5f['clientMaxWindowBits']===!0x1)&&delete _0x34561f['client_max_window_bits'],_0x34561f;}[_0x1a43ed(0x1d4)](_0x317877){const _0x54470d=_0x1a43ed,_0x1b50d1=_0x317877[0x0];if(this[_0x54470d(0x27f)][_0x54470d(0x29b)]===!0x1&&_0x1b50d1['client_no_context_takeover'])throw new Error(_0x54470d(0x1da));if(!_0x1b50d1[_0x54470d(0x1c0)])typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&(_0x1b50d1[_0x54470d(0x1c0)]=this['_options'][_0x54470d(0x216)]);else{if(this['_options'][_0x54470d(0x216)]===!0x1||typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&_0x1b50d1[_0x54470d(0x1c0)]>this[_0x54470d(0x27f)][_0x54470d(0x216)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1b50d1;}[_0x1a43ed(0x2c2)](_0x546fae){return _0x546fae['forEach'](_0x439322=>{const _0x148d28=_0x80da;Object['keys'](_0x439322)[_0x148d28(0x289)](_0x38d370=>{const _0x251e7b=_0x148d28;let _0x511f5b=_0x439322[_0x38d370];if(_0x511f5b['length']>0x1)throw new Error('Parameter\x20\x22'+_0x38d370+_0x251e7b(0x349));if(_0x511f5b=_0x511f5b[0x0],_0x38d370===_0x251e7b(0x1c0)){if(_0x511f5b!==!0x0){const _0x388a1b=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x388a1b)||_0x388a1b<0x8||_0x388a1b>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+'\x22:\x20'+_0x511f5b);_0x511f5b=_0x388a1b;}else{if(!this['_isServer'])throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}}else{if(_0x38d370===_0x251e7b(0x287)){const _0x53a50f=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x53a50f)||_0x53a50f<0x8||_0x53a50f>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);_0x511f5b=_0x53a50f;}else{if(_0x38d370===_0x251e7b(0x2a8)||_0x38d370===_0x251e7b(0x2a0)){if(_0x511f5b!==!0x0)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}else throw new Error(_0x251e7b(0x2f2)+_0x38d370+'\x22');}}_0x439322[_0x38d370]=_0x511f5b;});}),_0x546fae;}[_0x1a43ed(0x253)](_0x3b4d82,_0x212108,_0x302e95){const _0xa80c=_0x1a43ed;_0x1a9d00[_0xa80c(0x343)](_0x8a1939=>{const _0x2fd886=_0xa80c;this[_0x2fd886(0x329)](_0x3b4d82,_0x212108,(_0x41c0b0,_0x36b452)=>{_0x8a1939(),_0x302e95(_0x41c0b0,_0x36b452);});});}[_0x1a43ed(0x2eb)](_0x4ca9b7,_0x51b544,_0x303a78){const _0x3f1047=_0x1a43ed;_0x1a9d00[_0x3f1047(0x343)](_0x3f53c7=>{this['_compress'](_0x4ca9b7,_0x51b544,(_0x196c29,_0x21634a)=>{_0x3f53c7(),_0x303a78(_0x196c29,_0x21634a);});});}[_0x1a43ed(0x329)](_0x4497d8,_0x3c923b,_0x56f0cb){const _0x52e278=_0x1a43ed,_0x53bbd5=this[_0x52e278(0x358)]?_0x52e278(0x2b7):'server';if(!this['_inflate']){const _0x4db491=_0x53bbd5+_0x52e278(0x25b),_0x46dc15=typeof this[_0x52e278(0x1b7)][_0x4db491]!=_0x52e278(0x2db)?_0xbffc26[_0x52e278(0x261)]:this['params'][_0x4db491];this[_0x52e278(0x323)]=_0xbffc26[_0x52e278(0x326)]({...this[_0x52e278(0x27f)][_0x52e278(0x274)],'windowBits':_0x46dc15}),this[_0x52e278(0x323)][_0x119159]=this,this[_0x52e278(0x323)][_0x2b1bcf]=0x0,this[_0x52e278(0x323)][_0x56bdcc]=[],this[_0x52e278(0x323)]['on'](_0x52e278(0x219),_0x2b64cf),this['_inflate']['on'](_0x52e278(0x26c),_0x9aa71);}this[_0x52e278(0x323)][_0x88312e]=_0x56f0cb,this[_0x52e278(0x323)]['write'](_0x4497d8),_0x3c923b&&this[_0x52e278(0x323)][_0x52e278(0x36b)](_0x353570),this[_0x52e278(0x323)]['flush'](()=>{const _0xa49890=_0x52e278,_0x4745c5=this['_inflate'][_0x5323e1];if(_0x4745c5){this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null,_0x56f0cb(_0x4745c5);return;}const _0x353a11=_0x1db1c0['concat'](this['_inflate'][_0x56bdcc],this['_inflate'][_0x2b1bcf]);this[_0xa49890(0x323)][_0xa49890(0x269)][_0xa49890(0x2e9)]?(this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null):(this[_0xa49890(0x323)][_0x2b1bcf]=0x0,this[_0xa49890(0x323)][_0x56bdcc]=[],_0x3c923b&&this[_0xa49890(0x1b7)][_0x53bbd5+'_no_context_takeover']&&this['_inflate']['reset']()),_0x56f0cb(null,_0x353a11);});}[_0x1a43ed(0x1d8)](_0x3776ea,_0x3cb4b0,_0x15ad5d){const _0x219916=_0x1a43ed,_0x5cfe12=this[_0x219916(0x358)]?_0x219916(0x35d):_0x219916(0x2b7);if(!this['_deflate']){const _0x19cae5=_0x5cfe12+'_max_window_bits',_0xb1f4=typeof this['params'][_0x19cae5]!=_0x219916(0x2db)?_0xbffc26[_0x219916(0x261)]:this[_0x219916(0x1b7)][_0x19cae5];this['_deflate']=_0xbffc26[_0x219916(0x267)]({...this[_0x219916(0x27f)][_0x219916(0x290)],'windowBits':_0xb1f4}),this['_deflate'][_0x2b1bcf]=0x0,this[_0x219916(0x281)][_0x56bdcc]=[],this['_deflate']['on'](_0x219916(0x26c),_0x4636f1);}this[_0x219916(0x281)][_0x88312e]=_0x15ad5d,this[_0x219916(0x281)][_0x219916(0x36b)](_0x3776ea),this['_deflate'][_0x219916(0x33c)](_0xbffc26['Z_SYNC_FLUSH'],()=>{const _0x47b9a1=_0x219916;if(!this['_deflate'])return;let _0x4b48a3=_0x1db1c0[_0x47b9a1(0x20f)](this[_0x47b9a1(0x281)][_0x56bdcc],this[_0x47b9a1(0x281)][_0x2b1bcf]);_0x3cb4b0&&(_0x4b48a3=new _0x64111a(_0x4b48a3[_0x47b9a1(0x25e)],_0x4b48a3[_0x47b9a1(0x1bc)],_0x4b48a3[_0x47b9a1(0x240)]-0x4)),this[_0x47b9a1(0x281)][_0x88312e]=null,this[_0x47b9a1(0x281)][_0x2b1bcf]=0x0,this['_deflate'][_0x56bdcc]=[],_0x3cb4b0&&this['params'][_0x5cfe12+'_no_context_takeover']&&this['_deflate'][_0x47b9a1(0x2ea)](),_0x15ad5d(null,_0x4b48a3);});}}ve=_0x208d93;function _0x4636f1(_0xe350f9){this[_0x56bdcc]['push'](_0xe350f9),this[_0x2b1bcf]+=_0xe350f9['length'];}function _0x9aa71(_0x31baa8){const _0x169b17=_0x1a43ed;if(this[_0x2b1bcf]+=_0x31baa8[_0x169b17(0x240)],this[_0x119159][_0x169b17(0x275)]<0x1||this[_0x2b1bcf]<=this[_0x119159][_0x169b17(0x275)]){this[_0x56bdcc][_0x169b17(0x293)](_0x31baa8);return;}this[_0x5323e1]=new RangeError(_0x169b17(0x2de)),this[_0x5323e1][_0x169b17(0x2d8)]=_0x169b17(0x2f4),this[_0x5323e1][_0x365407]=0x3f1,this[_0x169b17(0x374)](_0x169b17(0x26c),_0x9aa71),this[_0x169b17(0x2ea)]();}function _0x2b64cf(_0x135fec){const _0x3582d9=_0x1a43ed;if(this[_0x119159][_0x3582d9(0x323)]=null,this[_0x5323e1]){this[_0x88312e](this[_0x5323e1]);return;}_0x135fec[_0x365407]=0x3ef,this[_0x88312e](_0x135fec);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Dt},Symbol[_0x49d410(0x1d7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5afaa9=_0x49d410;if(Ye)return ie[_0x5afaa9(0x21e)];Ye=0x1;const {isUtf8:_0x1cf0d0}=wt,{hasBlob:_0x3215a9}=H(),_0x42457f=[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 _0xa454c3(_0x309688){return _0x309688>=0x3e8&&_0x309688<=0x3f6&&_0x309688!==0x3ec&&_0x309688!==0x3ed&&_0x309688!==0x3ee||_0x309688>=0xbb8&&_0x309688<=0x1387;}function _0x5e829d(_0x43f588){const _0x57b980=_0x43f588['length'];let _0x15d257=0x0;for(;_0x15d257<_0x57b980;)if((_0x43f588[_0x15d257]&0x80)===0x0)_0x15d257++;else{if((_0x43f588[_0x15d257]&0xe0)===0xc0){if(_0x15d257+0x1===_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257]&0xfe)===0xc0)return!0x1;_0x15d257+=0x2;}else{if((_0x43f588[_0x15d257]&0xf0)===0xe0){if(_0x15d257+0x2>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xe0&&(_0x43f588[_0x15d257+0x1]&0xe0)===0x80||_0x43f588[_0x15d257]===0xed&&(_0x43f588[_0x15d257+0x1]&0xe0)===0xa0)return!0x1;_0x15d257+=0x3;}else{if((_0x43f588[_0x15d257]&0xf8)===0xf0){if(_0x15d257+0x3>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x3]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xf0&&(_0x43f588[_0x15d257+0x1]&0xf0)===0x80||_0x43f588[_0x15d257]===0xf4&&_0x43f588[_0x15d257+0x1]>0x8f||_0x43f588[_0x15d257]>0xf4)return!0x1;_0x15d257+=0x4;}else return!0x1;}}}return!0x0;}function _0x40d941(_0x249064){const _0x3cae01=_0x5afaa9;return _0x3215a9&&typeof _0x249064==_0x3cae01(0x34d)&&typeof _0x249064[_0x3cae01(0x226)]=='function'&&typeof _0x249064['type']==_0x3cae01(0x22b)&&typeof _0x249064[_0x3cae01(0x331)]==_0x3cae01(0x223)&&(_0x249064[Symbol['toStringTag']]==='Blob'||_0x249064[Symbol[_0x3cae01(0x1d7)]]===_0x3cae01(0x21f));}if(ie[_0x5afaa9(0x21e)]={'isBlob':_0x40d941,'isValidStatusCode':_0xa454c3,'isValidUTF8':_0x5e829d,'tokenChars':_0x42457f},_0x1cf0d0)ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x1e5bf){return _0x1e5bf['length']<0x18?_0x5e829d(_0x1e5bf):_0x1cf0d0(_0x1e5bf);};else{if(!process[_0x5afaa9(0x2bb)][_0x5afaa9(0x2ab)])try{const _0x404c4b=Bt;ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x4e31f0){const _0x351fa5=_0x5afaa9;return _0x4e31f0[_0x351fa5(0x240)]<0x20?_0x5e829d(_0x4e31f0):_0x404c4b(_0x4e31f0);};}catch{}}return ie[_0x5afaa9(0x21e)];}var Se,Ke;function lt(){const _0x29c6bb=_0x49d410;if(Ke)return Se;Ke=0x1;const {Writable:_0x5849c3}=oe,_0x4b23fe=he(),{BINARY_TYPES:_0x5a6dd8,EMPTY_BUFFER:_0x3b2de3,kStatusCode:_0x1469c2,kWebSocket:_0x2cfa7d}=H(),{concat:_0xb6ae98,toArrayBuffer:_0x116a95,unmask:_0x4a73b9}=ce(),{isValidStatusCode:_0x4e5d22,isValidUTF8:_0x4d6d11}=ae(),_0x4aa556=Buffer[Symbol[_0x29c6bb(0x26e)]],_0x37fa13=0x0,_0x230759=0x1,_0x4c8e5c=0x2,_0x3654ea=0x3,_0xf552d7=0x4,_0x2782f1=0x5,_0x2a8bda=0x6;class _0x1ff522 extends _0x5849c3{constructor(_0x480ab2={}){const _0x31bc0a=_0x29c6bb;super(),this[_0x31bc0a(0x2bd)]=_0x480ab2[_0x31bc0a(0x1e2)]!==void 0x0?_0x480ab2['allowSynchronousEvents']:!0x0,this[_0x31bc0a(0x228)]=_0x480ab2['binaryType']||_0x5a6dd8[0x0],this['_extensions']=_0x480ab2['extensions']||{},this[_0x31bc0a(0x358)]=!!_0x480ab2[_0x31bc0a(0x363)],this[_0x31bc0a(0x275)]=_0x480ab2[_0x31bc0a(0x1b3)]|0x0,this[_0x31bc0a(0x1db)]=!!_0x480ab2['skipUTF8Validation'],this[_0x2cfa7d]=void 0x0,this[_0x31bc0a(0x271)]=0x0,this[_0x31bc0a(0x1b1)]=[],this[_0x31bc0a(0x327)]=!0x1,this[_0x31bc0a(0x31f)]=0x0,this[_0x31bc0a(0x33d)]=void 0x0,this[_0x31bc0a(0x308)]=0x0,this[_0x31bc0a(0x371)]=!0x1,this['_fin']=!0x1,this[_0x31bc0a(0x2be)]=0x0,this[_0x31bc0a(0x339)]=0x0,this[_0x31bc0a(0x254)]=0x0,this[_0x31bc0a(0x1bd)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x31bc0a(0x26a)]=_0x37fa13;}[_0x29c6bb(0x273)](_0x2b46bd,_0x465133,_0x34057b){const _0x2c9e6d=_0x29c6bb;if(this['_opcode']===0x8&&this[_0x2c9e6d(0x26a)]==_0x37fa13)return _0x34057b();this[_0x2c9e6d(0x271)]+=_0x2b46bd['length'],this[_0x2c9e6d(0x1b1)][_0x2c9e6d(0x293)](_0x2b46bd),this[_0x2c9e6d(0x252)](_0x34057b);}[_0x29c6bb(0x2d6)](_0x5dc718){const _0x2eb2a8=_0x29c6bb;if(this[_0x2eb2a8(0x271)]-=_0x5dc718,_0x5dc718===this['_buffers'][0x0]['length'])return this[_0x2eb2a8(0x1b1)][_0x2eb2a8(0x344)]();if(_0x5dc718<this[_0x2eb2a8(0x1b1)][0x0][_0x2eb2a8(0x240)]){const _0x445fd3=this[_0x2eb2a8(0x1b1)][0x0];return this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x445fd3['length']-_0x5dc718),new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)],_0x5dc718);}const _0x50b784=Buffer[_0x2eb2a8(0x377)](_0x5dc718);do{const _0x1d9a41=this[_0x2eb2a8(0x1b1)][0x0],_0x3fd70d=_0x50b784[_0x2eb2a8(0x240)]-_0x5dc718;_0x5dc718>=_0x1d9a41[_0x2eb2a8(0x240)]?_0x50b784[_0x2eb2a8(0x1e7)](this['_buffers'][_0x2eb2a8(0x344)](),_0x3fd70d):(_0x50b784[_0x2eb2a8(0x1e7)](new Uint8Array(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41['byteOffset'],_0x5dc718),_0x3fd70d),this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x1d9a41['length']-_0x5dc718)),_0x5dc718-=_0x1d9a41[_0x2eb2a8(0x240)];}while(_0x5dc718>0x0);return _0x50b784;}['startLoop'](_0x127899){const _0xefee1f=_0x29c6bb;this[_0xefee1f(0x2f6)]=!0x0;do switch(this['_state']){case _0x37fa13:this[_0xefee1f(0x1c3)](_0x127899);break;case _0x230759:this[_0xefee1f(0x36c)](_0x127899);break;case _0x4c8e5c:this[_0xefee1f(0x372)](_0x127899);break;case _0x3654ea:this['getMask']();break;case _0xf552d7:this[_0xefee1f(0x1df)](_0x127899);break;case _0x2782f1:case _0x2a8bda:this[_0xefee1f(0x2f6)]=!0x1;return;}while(this[_0xefee1f(0x2f6)]);this[_0xefee1f(0x31e)]||_0x127899();}['getInfo'](_0x4e63d0){const _0x28f264=_0x29c6bb;if(this[_0x28f264(0x271)]<0x2){this[_0x28f264(0x2f6)]=!0x1;return;}const _0x2cfd7b=this['consume'](0x2);if((_0x2cfd7b[0x0]&0x30)!==0x0){const _0x10ddd6=this[_0x28f264(0x239)](RangeError,_0x28f264(0x341),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4e63d0(_0x10ddd6);return;}const _0x246027=(_0x2cfd7b[0x0]&0x40)===0x40;if(_0x246027&&!this[_0x28f264(0x245)][_0x4b23fe['extensionName']]){const _0x43e235=this[_0x28f264(0x239)](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x43e235);return;}if(this[_0x28f264(0x1de)]=(_0x2cfd7b[0x0]&0x80)===0x80,this[_0x28f264(0x2be)]=_0x2cfd7b[0x0]&0xf,this['_payloadLength']=_0x2cfd7b[0x1]&0x7f,this[_0x28f264(0x2be)]===0x0){if(_0x246027){const _0x244d34=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x244d34);return;}if(!this[_0x28f264(0x308)]){const _0x216e15=this[_0x28f264(0x239)](RangeError,_0x28f264(0x32e),!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x216e15);return;}this['_opcode']=this[_0x28f264(0x308)];}else{if(this[_0x28f264(0x2be)]===0x1||this[_0x28f264(0x2be)]===0x2){if(this[_0x28f264(0x308)]){const _0x58dce0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4e63d0(_0x58dce0);return;}this[_0x28f264(0x327)]=_0x246027;}else{if(this[_0x28f264(0x2be)]>0x7&&this[_0x28f264(0x2be)]<0xb){if(!this[_0x28f264(0x1de)]){const _0x1ca656=this[_0x28f264(0x239)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4e63d0(_0x1ca656);return;}if(_0x246027){const _0x55b8c0=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x55b8c0);return;}if(this['_payloadLength']>0x7d||this[_0x28f264(0x2be)]===0x8&&this[_0x28f264(0x31f)]===0x1){const _0x1093e0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x2c6)+this[_0x28f264(0x31f)],!0x0,0x3ea,_0x28f264(0x24b));_0x4e63d0(_0x1093e0);return;}}else{const _0x47e99d=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x47e99d);return;}}}if(!this[_0x28f264(0x1de)]&&!this[_0x28f264(0x308)]&&(this[_0x28f264(0x308)]=this['_opcode']),this[_0x28f264(0x371)]=(_0x2cfd7b[0x1]&0x80)===0x80,this[_0x28f264(0x358)]){if(!this[_0x28f264(0x371)]){const _0x4a331c=this[_0x28f264(0x239)](RangeError,_0x28f264(0x202),!0x0,0x3ea,_0x28f264(0x209));_0x4e63d0(_0x4a331c);return;}}else{if(this[_0x28f264(0x371)]){const _0xdbb34c=this[_0x28f264(0x239)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x28f264(0x237));_0x4e63d0(_0xdbb34c);return;}}this[_0x28f264(0x31f)]===0x7e?this[_0x28f264(0x26a)]=_0x230759:this['_payloadLength']===0x7f?this[_0x28f264(0x26a)]=_0x4c8e5c:this['haveLength'](_0x4e63d0);}[_0x29c6bb(0x36c)](_0x1e7692){const _0x2f4ef4=_0x29c6bb;if(this[_0x2f4ef4(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x2f4ef4(0x31f)]=this[_0x2f4ef4(0x2d6)](0x2)[_0x2f4ef4(0x2b6)](0x0),this['haveLength'](_0x1e7692);}[_0x29c6bb(0x372)](_0x5cab8d){const _0x492def=_0x29c6bb;if(this[_0x492def(0x271)]<0x8){this['_loop']=!0x1;return;}const _0x458c8a=this[_0x492def(0x2d6)](0x8),_0x453f55=_0x458c8a[_0x492def(0x295)](0x0);if(_0x453f55>Math[_0x492def(0x20a)](0x2,0x15)-0x1){const _0x515804=this[_0x492def(0x239)](RangeError,_0x492def(0x2e7),!0x1,0x3f1,_0x492def(0x2d0));_0x5cab8d(_0x515804);return;}this[_0x492def(0x31f)]=_0x453f55*Math[_0x492def(0x20a)](0x2,0x20)+_0x458c8a[_0x492def(0x295)](0x4),this['haveLength'](_0x5cab8d);}[_0x29c6bb(0x27b)](_0x883e0){const _0x2b7143=_0x29c6bb;if(this[_0x2b7143(0x31f)]&&this[_0x2b7143(0x2be)]<0x8&&(this[_0x2b7143(0x339)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2b7143(0x275)]&&this['_maxPayload']>0x0)){const _0x1d84cd=this[_0x2b7143(0x239)](RangeError,_0x2b7143(0x2de),!0x1,0x3f1,_0x2b7143(0x2f4));_0x883e0(_0x1d84cd);return;}this[_0x2b7143(0x371)]?this[_0x2b7143(0x26a)]=_0x3654ea:this[_0x2b7143(0x26a)]=_0xf552d7;}[_0x29c6bb(0x318)](){const _0x2dedba=_0x29c6bb;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x2dedba(0x33d)]=this[_0x2dedba(0x2d6)](0x4),this['_state']=_0xf552d7;}[_0x29c6bb(0x1df)](_0x5607d8){const _0x392b06=_0x29c6bb;let _0x546ba4=_0x3b2de3;if(this[_0x392b06(0x31f)]){if(this[_0x392b06(0x271)]<this[_0x392b06(0x31f)]){this['_loop']=!0x1;return;}_0x546ba4=this[_0x392b06(0x2d6)](this[_0x392b06(0x31f)]),this[_0x392b06(0x371)]&&(this[_0x392b06(0x33d)][0x0]|this[_0x392b06(0x33d)][0x1]|this[_0x392b06(0x33d)][0x2]|this['_mask'][0x3])!==0x0&&_0x4a73b9(_0x546ba4,this[_0x392b06(0x33d)]);}if(this['_opcode']>0x7){this[_0x392b06(0x27e)](_0x546ba4,_0x5607d8);return;}if(this[_0x392b06(0x327)]){this[_0x392b06(0x26a)]=_0x2782f1,this[_0x392b06(0x253)](_0x546ba4,_0x5607d8);return;}_0x546ba4[_0x392b06(0x240)]&&(this[_0x392b06(0x254)]=this['_totalPayloadLength'],this['_fragments'][_0x392b06(0x293)](_0x546ba4)),this['dataMessage'](_0x5607d8);}[_0x29c6bb(0x253)](_0x3974b2,_0x425d5a){const _0x3000ac=_0x29c6bb;this[_0x3000ac(0x245)][_0x4b23fe[_0x3000ac(0x212)]][_0x3000ac(0x253)](_0x3974b2,this['_fin'],(_0x4f23ec,_0x1a2afe)=>{const _0x5a0f71=_0x3000ac;if(_0x4f23ec)return _0x425d5a(_0x4f23ec);if(_0x1a2afe['length']){if(this[_0x5a0f71(0x254)]+=_0x1a2afe[_0x5a0f71(0x240)],this[_0x5a0f71(0x254)]>this[_0x5a0f71(0x275)]&&this[_0x5a0f71(0x275)]>0x0){const _0x3c2732=this['createError'](RangeError,_0x5a0f71(0x2de),!0x1,0x3f1,_0x5a0f71(0x2f4));_0x425d5a(_0x3c2732);return;}this['_fragments'][_0x5a0f71(0x293)](_0x1a2afe);}this[_0x5a0f71(0x21c)](_0x425d5a),this[_0x5a0f71(0x26a)]===_0x37fa13&&this[_0x5a0f71(0x252)](_0x425d5a);});}['dataMessage'](_0x33b57f){const _0x3b9d00=_0x29c6bb;if(!this[_0x3b9d00(0x1de)]){this[_0x3b9d00(0x26a)]=_0x37fa13;return;}const _0x1d4de6=this['_messageLength'],_0xef31a7=this['_fragments'];if(this[_0x3b9d00(0x339)]=0x0,this['_messageLength']=0x0,this[_0x3b9d00(0x308)]=0x0,this['_fragments']=[],this[_0x3b9d00(0x2be)]===0x2){let _0x1bfa75;this[_0x3b9d00(0x228)]===_0x3b9d00(0x22c)?_0x1bfa75=_0xb6ae98(_0xef31a7,_0x1d4de6):this[_0x3b9d00(0x228)]===_0x3b9d00(0x1b8)?_0x1bfa75=_0x116a95(_0xb6ae98(_0xef31a7,_0x1d4de6)):this[_0x3b9d00(0x228)]===_0x3b9d00(0x352)?_0x1bfa75=new Blob(_0xef31a7):_0x1bfa75=_0xef31a7,this[_0x3b9d00(0x2bd)]?(this[_0x3b9d00(0x205)](_0x3b9d00(0x1b9),_0x1bfa75,!0x0),this['_state']=_0x37fa13):(this['_state']=_0x2a8bda,setImmediate(()=>{const _0x30cda5=_0x3b9d00;this[_0x30cda5(0x205)](_0x30cda5(0x1b9),_0x1bfa75,!0x0),this[_0x30cda5(0x26a)]=_0x37fa13,this[_0x30cda5(0x252)](_0x33b57f);}));}else{const _0x42b958=_0xb6ae98(_0xef31a7,_0x1d4de6);if(!this[_0x3b9d00(0x1db)]&&!_0x4d6d11(_0x42b958)){const _0x4003c4=this[_0x3b9d00(0x239)](Error,_0x3b9d00(0x2c1),!0x0,0x3ef,_0x3b9d00(0x334));_0x33b57f(_0x4003c4);return;}this[_0x3b9d00(0x26a)]===_0x2782f1||this['_allowSynchronousEvents']?(this['emit'](_0x3b9d00(0x1b9),_0x42b958,!0x1),this['_state']=_0x37fa13):(this[_0x3b9d00(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0xc688c5=_0x3b9d00;this[_0xc688c5(0x205)]('message',_0x42b958,!0x1),this['_state']=_0x37fa13,this[_0xc688c5(0x252)](_0x33b57f);}));}}[_0x29c6bb(0x27e)](_0x37169d,_0xfe923){const _0x1c23e3=_0x29c6bb;if(this[_0x1c23e3(0x2be)]===0x8){if(_0x37169d[_0x1c23e3(0x240)]===0x0)this[_0x1c23e3(0x2f6)]=!0x1,this['emit'](_0x1c23e3(0x21d),0x3ed,_0x3b2de3),this['end']();else{const _0x20f756=_0x37169d[_0x1c23e3(0x2b6)](0x0);if(!_0x4e5d22(_0x20f756)){const _0x5b959b=this[_0x1c23e3(0x239)](RangeError,'invalid\x20status\x20code\x20'+_0x20f756,!0x0,0x3ea,_0x1c23e3(0x208));_0xfe923(_0x5b959b);return;}const _0x29e014=new _0x4aa556(_0x37169d[_0x1c23e3(0x25e)],_0x37169d[_0x1c23e3(0x1bc)]+0x2,_0x37169d[_0x1c23e3(0x240)]-0x2);if(!this[_0x1c23e3(0x1db)]&&!_0x4d6d11(_0x29e014)){const _0x35b0e3=this[_0x1c23e3(0x239)](Error,_0x1c23e3(0x2c1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xfe923(_0x35b0e3);return;}this[_0x1c23e3(0x2f6)]=!0x1,this[_0x1c23e3(0x205)]('conclude',_0x20f756,_0x29e014),this[_0x1c23e3(0x263)]();}this[_0x1c23e3(0x26a)]=_0x37fa13;return;}this['_allowSynchronousEvents']?(this[_0x1c23e3(0x205)](this[_0x1c23e3(0x2be)]===0x9?_0x1c23e3(0x277):'pong',_0x37169d),this['_state']=_0x37fa13):(this[_0x1c23e3(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0x24d4d=_0x1c23e3;this['emit'](this['_opcode']===0x9?_0x24d4d(0x277):_0x24d4d(0x350),_0x37169d),this[_0x24d4d(0x26a)]=_0x37fa13,this[_0x24d4d(0x252)](_0xfe923);}));}[_0x29c6bb(0x239)](_0x18d525,_0x561938,_0x548e9b,_0xa81d1f,_0x10b30a){const _0x4f7b09=_0x29c6bb;this[_0x4f7b09(0x2f6)]=!0x1,this[_0x4f7b09(0x31e)]=!0x0;const _0x386adf=new _0x18d525(_0x548e9b?'Invalid\x20WebSocket\x20frame:\x20'+_0x561938:_0x561938);return Error[_0x4f7b09(0x278)](_0x386adf,this[_0x4f7b09(0x239)]),_0x386adf[_0x4f7b09(0x2d8)]=_0x10b30a,_0x386adf[_0x1469c2]=_0xa81d1f,_0x386adf;}}return Se=_0x1ff522,Se;}var Ee,Xe;function ft(){const _0x28b823=_0x49d410;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b3052}=oe,{randomFillSync:_0x289b6a}=Le,_0x6e255=he(),{EMPTY_BUFFER:_0x312518,kWebSocket:_0x129878,NOOP:_0x1ededf}=H(),{isBlob:_0x5effee,isValidStatusCode:_0x208ac3}=ae(),{mask:_0x13b6ac,toBuffer:_0x19ba74}=ce(),_0x3c1ca2=Symbol('kByteLength'),_0xda388f=Buffer[_0x28b823(0x27d)](0x4),_0x57c83f=0x8*0x400;let _0x2b0828,_0x5b1f4a=_0x57c83f;const _0x473168=0x0,_0x4f057f=0x1,_0x362caa=0x2;class _0x10ddf7{constructor(_0x31fa2d,_0x3cc916,_0x3b030c){const _0x35a9a3=_0x28b823;this[_0x35a9a3(0x245)]=_0x3cc916||{},_0x3b030c&&(this[_0x35a9a3(0x2b8)]=_0x3b030c,this[_0x35a9a3(0x22d)]=Buffer['alloc'](0x4)),this['_socket']=_0x31fa2d,this[_0x35a9a3(0x230)]=!0x0,this['_compress']=!0x1,this[_0x35a9a3(0x271)]=0x0,this[_0x35a9a3(0x28c)]=[],this['_state']=_0x473168,this[_0x35a9a3(0x264)]=_0x1ededf,this[_0x129878]=void 0x0;}static[_0x28b823(0x2b3)](_0x24bc58,_0x12ed7f){const _0x41db96=_0x28b823;let _0x110fce,_0x57db98=!0x1,_0x2f3e4b=0x2,_0x5e984a=!0x1;_0x12ed7f[_0x41db96(0x1ef)]&&(_0x110fce=_0x12ed7f[_0x41db96(0x36e)]||_0xda388f,_0x12ed7f[_0x41db96(0x348)]?_0x12ed7f[_0x41db96(0x348)](_0x110fce):(_0x5b1f4a===_0x57c83f&&(_0x2b0828===void 0x0&&(_0x2b0828=Buffer[_0x41db96(0x27d)](_0x57c83f)),_0x289b6a(_0x2b0828,0x0,_0x57c83f),_0x5b1f4a=0x0),_0x110fce[0x0]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x1]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x2]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x3]=_0x2b0828[_0x5b1f4a++]),_0x5e984a=(_0x110fce[0x0]|_0x110fce[0x1]|_0x110fce[0x2]|_0x110fce[0x3])===0x0,_0x2f3e4b=0x6);let _0xf059d7;typeof _0x24bc58==_0x41db96(0x22b)?(!_0x12ed7f[_0x41db96(0x1ef)]||_0x5e984a)&&_0x12ed7f[_0x3c1ca2]!==void 0x0?_0xf059d7=_0x12ed7f[_0x3c1ca2]:(_0x24bc58=Buffer[_0x41db96(0x34a)](_0x24bc58),_0xf059d7=_0x24bc58[_0x41db96(0x240)]):(_0xf059d7=_0x24bc58[_0x41db96(0x240)],_0x57db98=_0x12ed7f['mask']&&_0x12ed7f[_0x41db96(0x2fb)]&&!_0x5e984a);let _0x1419d3=_0xf059d7;_0xf059d7>=0x10000?(_0x2f3e4b+=0x8,_0x1419d3=0x7f):_0xf059d7>0x7d&&(_0x2f3e4b+=0x2,_0x1419d3=0x7e);const _0x40232d=Buffer[_0x41db96(0x377)](_0x57db98?_0xf059d7+_0x2f3e4b:_0x2f3e4b);return _0x40232d[0x0]=_0x12ed7f[_0x41db96(0x1bf)]?_0x12ed7f[_0x41db96(0x322)]|0x80:_0x12ed7f[_0x41db96(0x322)],_0x12ed7f[_0x41db96(0x247)]&&(_0x40232d[0x0]|=0x40),_0x40232d[0x1]=_0x1419d3,_0x1419d3===0x7e?_0x40232d[_0x41db96(0x369)](_0xf059d7,0x2):_0x1419d3===0x7f&&(_0x40232d[0x2]=_0x40232d[0x3]=0x0,_0x40232d[_0x41db96(0x1fb)](_0xf059d7,0x4,0x6)),_0x12ed7f['mask']?(_0x40232d[0x1]|=0x80,_0x40232d[_0x2f3e4b-0x4]=_0x110fce[0x0],_0x40232d[_0x2f3e4b-0x3]=_0x110fce[0x1],_0x40232d[_0x2f3e4b-0x2]=_0x110fce[0x2],_0x40232d[_0x2f3e4b-0x1]=_0x110fce[0x3],_0x5e984a?[_0x40232d,_0x24bc58]:_0x57db98?(_0x13b6ac(_0x24bc58,_0x110fce,_0x40232d,_0x2f3e4b,_0xf059d7),[_0x40232d]):(_0x13b6ac(_0x24bc58,_0x110fce,_0x24bc58,0x0,_0xf059d7),[_0x40232d,_0x24bc58])):[_0x40232d,_0x24bc58];}[_0x28b823(0x1dd)](_0x371845,_0x4ea459,_0x30d5bd,_0x553f46){const _0x44e772=_0x28b823;let _0x3d0b6c;if(_0x371845===void 0x0)_0x3d0b6c=_0x312518;else{if(typeof _0x371845!=_0x44e772(0x2db)||!_0x208ac3(_0x371845))throw new TypeError(_0x44e772(0x359));if(_0x4ea459===void 0x0||!_0x4ea459[_0x44e772(0x240)])_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0);else{const _0x39682d=Buffer[_0x44e772(0x1e1)](_0x4ea459);if(_0x39682d>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2+_0x39682d),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0),typeof _0x4ea459==_0x44e772(0x22b)?_0x3d0b6c[_0x44e772(0x36b)](_0x4ea459,0x2):_0x3d0b6c[_0x44e772(0x1e7)](_0x4ea459,0x2);}}const _0x328e5e={[_0x3c1ca2]:_0x3d0b6c[_0x44e772(0x240)],'fin':!0x0,'generateMask':this[_0x44e772(0x2b8)],'mask':_0x30d5bd,'maskBuffer':this[_0x44e772(0x22d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x44e772(0x26a)]!==_0x473168?this[_0x44e772(0x214)]([this[_0x44e772(0x224)],_0x3d0b6c,!0x1,_0x328e5e,_0x553f46]):this[_0x44e772(0x36d)](_0x10ddf7['frame'](_0x3d0b6c,_0x328e5e),_0x553f46);}[_0x28b823(0x277)](_0x4bb319,_0x466002,_0x5a16de){const _0x4f87c4=_0x28b823;let _0x540523,_0x4cb46e;if(typeof _0x4bb319==_0x4f87c4(0x22b)?(_0x540523=Buffer[_0x4f87c4(0x1e1)](_0x4bb319),_0x4cb46e=!0x1):_0x5effee(_0x4bb319)?(_0x540523=_0x4bb319[_0x4f87c4(0x2c9)],_0x4cb46e=!0x1):(_0x4bb319=_0x19ba74(_0x4bb319),_0x540523=_0x4bb319[_0x4f87c4(0x240)],_0x4cb46e=_0x19ba74[_0x4f87c4(0x2fb)]),_0x540523>0x7d)throw new RangeError(_0x4f87c4(0x1e9));const _0x5dc26f={[_0x3c1ca2]:_0x540523,'fin':!0x0,'generateMask':this[_0x4f87c4(0x2b8)],'mask':_0x466002,'maskBuffer':this[_0x4f87c4(0x22d)],'opcode':0x9,'readOnly':_0x4cb46e,'rsv1':!0x1};_0x5effee(_0x4bb319)?this['_state']!==_0x473168?this[_0x4f87c4(0x214)]([this[_0x4f87c4(0x1ea)],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this[_0x4f87c4(0x1ea)](_0x4bb319,!0x1,_0x5dc26f,_0x5a16de):this[_0x4f87c4(0x26a)]!==_0x473168?this[_0x4f87c4(0x214)]([this['dispatch'],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this['sendFrame'](_0x10ddf7[_0x4f87c4(0x2b3)](_0x4bb319,_0x5dc26f),_0x5a16de);}['pong'](_0x12a32c,_0x165938,_0x542f81){const _0x3f5a2f=_0x28b823;let _0x2ee147,_0x4636f7;if(typeof _0x12a32c==_0x3f5a2f(0x22b)?(_0x2ee147=Buffer[_0x3f5a2f(0x1e1)](_0x12a32c),_0x4636f7=!0x1):_0x5effee(_0x12a32c)?(_0x2ee147=_0x12a32c[_0x3f5a2f(0x2c9)],_0x4636f7=!0x1):(_0x12a32c=_0x19ba74(_0x12a32c),_0x2ee147=_0x12a32c['length'],_0x4636f7=_0x19ba74[_0x3f5a2f(0x2fb)]),_0x2ee147>0x7d)throw new RangeError(_0x3f5a2f(0x1e9));const _0xf8c0={[_0x3c1ca2]:_0x2ee147,'fin':!0x0,'generateMask':this[_0x3f5a2f(0x2b8)],'mask':_0x165938,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4636f7,'rsv1':!0x1};_0x5effee(_0x12a32c)?this['_state']!==_0x473168?this[_0x3f5a2f(0x214)]([this['getBlobData'],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this['getBlobData'](_0x12a32c,!0x1,_0xf8c0,_0x542f81):this[_0x3f5a2f(0x26a)]!==_0x473168?this[_0x3f5a2f(0x214)]([this[_0x3f5a2f(0x224)],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this[_0x3f5a2f(0x36d)](_0x10ddf7[_0x3f5a2f(0x2b3)](_0x12a32c,_0xf8c0),_0x542f81);}[_0x28b823(0x2fe)](_0x3f423a,_0x5a1755,_0x13491a){const _0x5e7424=_0x28b823,_0x1b6bde=this['_extensions'][_0x6e255[_0x5e7424(0x212)]];let _0x56d6ba=_0x5a1755[_0x5e7424(0x2e6)]?0x2:0x1,_0x1e584c=_0x5a1755['compress'],_0x28d0f6,_0xa4591c;typeof _0x3f423a==_0x5e7424(0x22b)?(_0x28d0f6=Buffer[_0x5e7424(0x1e1)](_0x3f423a),_0xa4591c=!0x1):_0x5effee(_0x3f423a)?(_0x28d0f6=_0x3f423a[_0x5e7424(0x2c9)],_0xa4591c=!0x1):(_0x3f423a=_0x19ba74(_0x3f423a),_0x28d0f6=_0x3f423a[_0x5e7424(0x240)],_0xa4591c=_0x19ba74['readOnly']),this[_0x5e7424(0x230)]?(this[_0x5e7424(0x230)]=!0x1,_0x1e584c&&_0x1b6bde&&_0x1b6bde[_0x5e7424(0x1b7)][_0x1b6bde['_isServer']?_0x5e7424(0x2a0):_0x5e7424(0x2a8)]&&(_0x1e584c=_0x28d0f6>=_0x1b6bde[_0x5e7424(0x204)]),this[_0x5e7424(0x1d8)]=_0x1e584c):(_0x1e584c=!0x1,_0x56d6ba=0x0),_0x5a1755[_0x5e7424(0x1bf)]&&(this[_0x5e7424(0x230)]=!0x0);const _0x4fffe8={[_0x3c1ca2]:_0x28d0f6,'fin':_0x5a1755['fin'],'generateMask':this[_0x5e7424(0x2b8)],'mask':_0x5a1755['mask'],'maskBuffer':this[_0x5e7424(0x22d)],'opcode':_0x56d6ba,'readOnly':_0xa4591c,'rsv1':_0x1e584c};_0x5effee(_0x3f423a)?this[_0x5e7424(0x26a)]!==_0x473168?this[_0x5e7424(0x214)]([this['getBlobData'],_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a]):this['getBlobData'](_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a):this[_0x5e7424(0x26a)]!==_0x473168?this['enqueue']([this['dispatch'],_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a]):this[_0x5e7424(0x224)](_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a);}[_0x28b823(0x1ea)](_0x17c118,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f){const _0x5429aa=_0x28b823;this[_0x5429aa(0x271)]+=_0x2c1ea4[_0x3c1ca2],this[_0x5429aa(0x26a)]=_0x362caa,_0x17c118[_0x5429aa(0x226)]()['then'](_0xbbe8d4=>{const _0x5d05ae=_0x5429aa;if(this[_0x5d05ae(0x23b)][_0x5d05ae(0x2e1)]){const _0x3bca02=new Error(_0x5d05ae(0x353));process[_0x5d05ae(0x2cb)](_0x1b2d3b,this,_0x3bca02,_0x2c3d3f);return;}this['_bufferedBytes']-=_0x2c1ea4[_0x3c1ca2];const _0x292d99=_0x19ba74(_0xbbe8d4);_0x4ac2f1?this['dispatch'](_0x292d99,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f):(this['_state']=_0x473168,this['sendFrame'](_0x10ddf7[_0x5d05ae(0x2b3)](_0x292d99,_0x2c1ea4),_0x2c3d3f),this[_0x5d05ae(0x1d6)]());})['catch'](_0x2da220=>{const _0x2ec9b3=_0x5429aa;process[_0x2ec9b3(0x2cb)](_0x2add90,this,_0x2da220,_0x2c3d3f);});}['dispatch'](_0x2b9773,_0x3263fc,_0x13dc0e,_0x167a91){const _0x45bc80=_0x28b823;if(!_0x3263fc){this['sendFrame'](_0x10ddf7[_0x45bc80(0x2b3)](_0x2b9773,_0x13dc0e),_0x167a91);return;}const _0x5379c0=this[_0x45bc80(0x245)][_0x6e255['extensionName']];this['_bufferedBytes']+=_0x13dc0e[_0x3c1ca2],this[_0x45bc80(0x26a)]=_0x4f057f,_0x5379c0[_0x45bc80(0x2eb)](_0x2b9773,_0x13dc0e['fin'],(_0x50a4e2,_0x57bfdc)=>{const _0x22b47e=_0x45bc80;if(this['_socket'][_0x22b47e(0x2e1)]){const _0x1aefaa=new Error(_0x22b47e(0x298));_0x1b2d3b(this,_0x1aefaa,_0x167a91);return;}this[_0x22b47e(0x271)]-=_0x13dc0e[_0x3c1ca2],this[_0x22b47e(0x26a)]=_0x473168,_0x13dc0e[_0x22b47e(0x2fb)]=!0x1,this[_0x22b47e(0x36d)](_0x10ddf7[_0x22b47e(0x2b3)](_0x57bfdc,_0x13dc0e),_0x167a91),this[_0x22b47e(0x1d6)]();});}[_0x28b823(0x1d6)](){const _0x342a6e=_0x28b823;for(;this[_0x342a6e(0x26a)]===_0x473168&&this['_queue']['length'];){const _0x476e4e=this['_queue'][_0x342a6e(0x344)]();this[_0x342a6e(0x271)]-=_0x476e4e[0x3][_0x3c1ca2],Reflect['apply'](_0x476e4e[0x0],this,_0x476e4e[_0x342a6e(0x2ad)](0x1));}}['enqueue'](_0x477144){const _0x112086=_0x28b823;this[_0x112086(0x271)]+=_0x477144[0x3][_0x3c1ca2],this[_0x112086(0x28c)][_0x112086(0x293)](_0x477144);}[_0x28b823(0x36d)](_0x1ccea7,_0x29e257){const _0x2e0ef7=_0x28b823;_0x1ccea7[_0x2e0ef7(0x240)]===0x2?(this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x260)](),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x0]),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x1],_0x29e257),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x361)]()):this[_0x2e0ef7(0x23b)]['write'](_0x1ccea7[0x0],_0x29e257);}}Ee=_0x10ddf7;function _0x1b2d3b(_0x355745,_0x4d13ff,_0x535473){const _0x3fdde9=_0x28b823;typeof _0x535473==_0x3fdde9(0x223)&&_0x535473(_0x4d13ff);for(let _0x15645e=0x0;_0x15645e<_0x355745['_queue'][_0x3fdde9(0x240)];_0x15645e++){const _0xc8eaa5=_0x355745['_queue'][_0x15645e],_0x44e3a8=_0xc8eaa5[_0xc8eaa5['length']-0x1];typeof _0x44e3a8=='function'&&_0x44e3a8(_0x4d13ff);}}function _0x2add90(_0x56f8a8,_0x3f1b0b,_0x14941f){const _0x36545b=_0x28b823;_0x1b2d3b(_0x56f8a8,_0x3f1b0b,_0x14941f),_0x56f8a8[_0x36545b(0x264)](_0x3f1b0b);}return Ee;}var xe,Ze;function It(){const _0x4f5062=_0x49d410;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3e2b64,kListener:_0x4867b4}=H(),_0x1d6e08=Symbol('kCode'),_0x44a041=Symbol('kData'),_0x2dde6a=Symbol(_0x4f5062(0x201)),_0x32132a=Symbol(_0x4f5062(0x1d0)),_0x6c1ddc=Symbol('kReason'),_0x552d81=Symbol(_0x4f5062(0x222)),_0x4f52b0=Symbol(_0x4f5062(0x354)),_0x19f5a2=Symbol(_0x4f5062(0x24a));class _0x19e542{constructor(_0x4cb540){this[_0x552d81]=null,this[_0x4f52b0]=_0x4cb540;}get[_0x4f5062(0x200)](){return this[_0x552d81];}get[_0x4f5062(0x2d5)](){return this[_0x4f52b0];}}Object[_0x4f5062(0x35e)](_0x19e542[_0x4f5062(0x241)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x19e542[_0x4f5062(0x241)],_0x4f5062(0x2d5),{'enumerable':!0x0});class _0x108437 extends _0x19e542{constructor(_0x19f697,_0x2eaf4e={}){const _0x5dc882=_0x4f5062;super(_0x19f697),this[_0x1d6e08]=_0x2eaf4e[_0x5dc882(0x2d8)]===void 0x0?0x0:_0x2eaf4e[_0x5dc882(0x2d8)],this[_0x6c1ddc]=_0x2eaf4e[_0x5dc882(0x1cd)]===void 0x0?'':_0x2eaf4e[_0x5dc882(0x1cd)],this[_0x19f5a2]=_0x2eaf4e[_0x5dc882(0x2dd)]===void 0x0?!0x1:_0x2eaf4e['wasClean'];}get[_0x4f5062(0x2d8)](){return this[_0x1d6e08];}get[_0x4f5062(0x1cd)](){return this[_0x6c1ddc];}get[_0x4f5062(0x2dd)](){return this[_0x19f5a2];}}Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2d8),{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x1cd),{'enumerable':!0x0}),Object['defineProperty'](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2dd),{'enumerable':!0x0});class _0x6aad87 extends _0x19e542{constructor(_0x1ffdcb,_0x5154cf={}){const _0x464ada=_0x4f5062;super(_0x1ffdcb),this[_0x2dde6a]=_0x5154cf[_0x464ada(0x219)]===void 0x0?null:_0x5154cf['error'],this[_0x32132a]=_0x5154cf[_0x464ada(0x1b9)]===void 0x0?'':_0x5154cf[_0x464ada(0x1b9)];}get['error'](){return this[_0x2dde6a];}get['message'](){return this[_0x32132a];}}Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],'error',{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],_0x4f5062(0x1b9),{'enumerable':!0x0});class _0x3e4ed1 extends _0x19e542{constructor(_0x458b15,_0x2b4d29={}){const _0x5c6c7a=_0x4f5062;super(_0x458b15),this[_0x44a041]=_0x2b4d29[_0x5c6c7a(0x26c)]===void 0x0?null:_0x2b4d29[_0x5c6c7a(0x26c)];}get[_0x4f5062(0x26c)](){return this[_0x44a041];}}Object[_0x4f5062(0x35e)](_0x3e4ed1[_0x4f5062(0x241)],_0x4f5062(0x26c),{'enumerable':!0x0}),xe={'CloseEvent':_0x108437,'ErrorEvent':_0x6aad87,'Event':_0x19e542,'EventTarget':{'addEventListener'(_0x2a8302,_0x448f14,_0x25a2af={}){const _0x1b2794=_0x4f5062;for(const _0x144586 of this[_0x1b2794(0x306)](_0x2a8302))if(!_0x25a2af[_0x3e2b64]&&_0x144586[_0x4867b4]===_0x448f14&&!_0x144586[_0x3e2b64])return;let _0x48e2f3;if(_0x2a8302==='message')_0x48e2f3=function(_0x4828e2,_0x52d13e){const _0x18f3fd=_0x1b2794,_0x1e981a=new _0x3e4ed1(_0x18f3fd(0x1b9),{'data':_0x52d13e?_0x4828e2:_0x4828e2['toString']()});_0x1e981a[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x1e981a);};else{if(_0x2a8302===_0x1b2794(0x1dd))_0x48e2f3=function(_0x465d5c,_0x103493){const _0x57e4a8=_0x1b2794,_0x5aa07e=new _0x108437(_0x57e4a8(0x1dd),{'code':_0x465d5c,'reason':_0x103493[_0x57e4a8(0x33f)](),'wasClean':this[_0x57e4a8(0x21b)]&&this[_0x57e4a8(0x215)]});_0x5aa07e[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x5aa07e);};else{if(_0x2a8302===_0x1b2794(0x219))_0x48e2f3=function(_0x42933d){const _0x2b1f2c=_0x1b2794,_0x519802=new _0x6aad87('error',{'error':_0x42933d,'message':_0x42933d[_0x2b1f2c(0x1b9)]});_0x519802[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x519802);};else{if(_0x2a8302===_0x1b2794(0x309))_0x48e2f3=function(){const _0x2f4c40=new _0x19e542('open');_0x2f4c40[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x2f4c40);};else return;}}}_0x48e2f3[_0x3e2b64]=!!_0x25a2af[_0x3e2b64],_0x48e2f3[_0x4867b4]=_0x448f14,_0x25a2af[_0x1b2794(0x262)]?this['once'](_0x2a8302,_0x48e2f3):this['on'](_0x2a8302,_0x48e2f3);},'removeEventListener'(_0x145ae5,_0x332a85){const _0x310110=_0x4f5062;for(const _0x42ccab of this['listeners'](_0x145ae5))if(_0x42ccab[_0x4867b4]===_0x332a85&&!_0x42ccab[_0x3e2b64]){this[_0x310110(0x374)](_0x145ae5,_0x42ccab);break;}}},'MessageEvent':_0x3e4ed1};function _0x60bbca(_0x1d6a1c,_0x40d441,_0x347788){const _0x2bf80d=_0x4f5062;typeof _0x1d6a1c==_0x2bf80d(0x34d)&&_0x1d6a1c[_0x2bf80d(0x2d4)]?_0x1d6a1c[_0x2bf80d(0x2d4)]['call'](_0x1d6a1c,_0x347788):_0x1d6a1c[_0x2bf80d(0x1ec)](_0x40d441,_0x347788);}return xe;}var be,Qe;function _0x458f(){const _0x27fe87=['code','unmask','origin','number','pause','wasClean','Max\x20payload\x20size\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','has','destroyed','isValidUTF8','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Accept:\x20','Unexpected\x20end\x20of\x20input','binary','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','cleanup','endEmitted','reset','compress','getOwnPropertyDescriptor','objectMode','socket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','IConfigService','removeAllListeners','Unknown\x20parameter\x20\x22','sec-websocket-origin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','binaryType','_loop','_read','handleProtocols','readable','setNoDelay','readOnly','isInteger','CONNECTING','send','\x22\x20subprotocol\x20is\x20duplicated','removeEventListener','share','authorization','extensions','values','The\x20URL\x20contains\x20a\x20fragment\x20identifier','listeners','onclose','_fragmented','open','ISnapshotServerService','websocket','search','location','defaultPort','pipe','backlog','\x0d\x0a\x0d\x0a','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','DisposableCollection','Opening\x20handshake\x20has\x20timed\x20out','errorEmitted','customHeaders','pathname','getMask','setConfig','WS_ERR_UNEXPECTED_RSV_1','hostname','bind','warn','_errored','_payloadLength','password','protocol','opcode','_inflate','handleUpgrade','https:','createInflateRaw','_compressed','kIsForOnEventAttribute','_decompress','resume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','method','invalid\x20opcode\x200','sec-websocket-protocol','Sec-WebSocket-Protocol:\x20','stream','\x22:\x20','redirect','WS_ERR_INVALID_UTF8','clients','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','protocolVersion','connection','_totalPayloadLength','_httpService','servername','flush','_mask','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','toString','threshold','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','delete','add','shift','_closeMessage','offer','Invalid\x20HTTP\x20method','generateMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','from','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','object','clientTracking','ws:','pong','toDisposable','blob','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kType','serverMaxWindowBits','includes','The\x20server\x20is\x20not\x20running','_isServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-version','Invalid\x20value\x20for\x20parameter\x20\x22','map','server','defineProperty','isPaused','\x20(supported\x20versions:\x20','uncork','Upgrade:\x20websocket','isServer','Invalid\x20Sec-WebSocket-Protocol\x20header','_url','invalid\x20opcode\x20','handshakeTimeout','getConfig','writeUInt16BE','writeHead','write','getPayloadLength16','sendFrame','maskBuffer','terminate','zlib','_masked','getPayloadLength64','Unexpected\x20character\x20at\x20index\x20','removeListener','NodeCollaborationSocketService','accept','allocUnsafe','href','_buffers','unexpected-response','maxPayload','startsWith','The\x20\x22','onopen','params','arraybuffer','message','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','unshift','byteOffset','_fragments','Sec-WebSocket-Extensions','fin','client_max_window_bits','maxRedirects','Injector','getInfo','_readyState','_registerDependencies','toLowerCase','Plugin','Maximum\x20redirects\x20exceeded','verifyClient','Unexpected\x20server\x20response:\x20','format','kDone','reason','text/html','concurrencyLimit','kMessage','_closeTimer','Invalid\x20Upgrade\x20header','_redirects','acceptAsClient','abort','dequeue','toStringTag','_compress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','close','_fin','getData','CLOSED','byteLength','allowSynchronousEvents','createConnection','listening','setTimeout','Sec-WebSocket-Extensions:\x20','set','autoPong','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getBlobData','_paused','call','keys','GET','mask','_errorEmitted','split','tls','_bufferedAmount','createSocket','250609XzWAmB','upgrade','kAborted','completeUpgrade','address','emitClose','writeUIntBE','sec-websocket-accept','kRun','http:','_originalHostOrSocketPath','target','kError','MASK\x20must\x20be\x20set','_final','_threshold','emit','pending','Sec-WebSocket-Origin','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_EXPECTED_MASK','pow','CLOSING','onmessage','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Observable','concat','ws+unix:','digest','extensionName','path','enqueue','_closeFrameSent','clientMaxWindowBits','OPEN','bufferedAmount','error','WS_NO_BUFFER_UTIL','_closeFrameReceived','dataMessage','conclude','exports','File','Sec-WebSocket-Protocol','registerHTTPInterceptor','kTarget','function','dispatch','Server\x20sent\x20no\x20subprotocol','arrayBuffer','Module','_binaryType','noServer','base64','string','nodebuffer','_maskBuffer','username','jobs','_firstFragment','skipUTF8Validation','STATUS_CODES','hasOwnProperty','total-length','setSocket','_autoPong','WS_ERR_UNEXPECTED_MASK','net','createError','5018180ddMTlU','_socket','ILogService','construct','https','url','length','prototype','buffers','readyState','6965SiwrrR','_extensions','__esModule','rsv1','3970YvnCCO','indexOf','kWasClean','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_server','Basic\x20','Invalid\x20URL:\x20','parse','shouldHandle','request','startLoop','decompress','_messageLength','perMessageDeflate','timeout','wss:','destroy','apply','WebSocket','_max_window_bits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','crypto','buffer','value','cork','Z_DEFAULT_WINDOWBITS','once','end','onerror','createServer','connect','createDeflateRaw','Inject','_readableState','_state','acceptAsServer','data','entries','species','RSV1\x20must\x20be\x20clear','http','_bufferedBytes','sec-websocket-extensions','_write','zlibInflateOptions','_maxPayload','55053rEwlye','ping','captureStackTrace','setHeader','followRedirects','haveLength','listen','alloc','controlMessage','_options','socketPath','_deflate','_destroy','957ygjVLW','serverNoContextTakeover','1450NGZapz','next','server_max_window_bits','COLLABORATION_CLIENT_NODE_CONFIG_KEY','forEach','DependentOn','response','_queue','default','_writableState','encrypted','zlibDeflateOptions','UniverCollaborationClientNodePlugin','_originalSecure','push','rxjs','readUInt32BE','_sender','join','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','finishRequest','fragments','clientNoContextTakeover','finished','listenerCount','@univerjs/core','_receiver','server_no_context_takeover','Disposable','WS_ERR_INVALID_OPCODE','statusCode','HTTPService','auth','isArray','options','client_no_context_takeover','_injector','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_NO_UTF_8_VALIDATE','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','create','5637432youhJi','sha1','_protocol','wsClientError','frame','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','hash','readUInt16BE','client','_generateMask','4568wtBvew','1944726PVeZZP','env','_configService','_allowSynchronousEvents','_opcode','cookie','_shouldEmitClose','invalid\x20UTF-8\x20sequence','normalizeParams','host','headers','HTTP/1.1\x20101\x20Switching\x20Protocols','invalid\x20payload\x20length\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','size','concurrency','nextTick','_removeListeners','_closeCode','writable','addEventListener','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_req','port','finish','handleEvent','type','consume','callback'];_0x458f=function(){return _0x27fe87;};return _0x458f();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x290084}=ae();function _0x36664b(_0x3598a8,_0x3a1dd9,_0x28a52d){const _0x14a4c9=_0x80da;_0x3598a8[_0x3a1dd9]===void 0x0?_0x3598a8[_0x3a1dd9]=[_0x28a52d]:_0x3598a8[_0x3a1dd9][_0x14a4c9(0x293)](_0x28a52d);}function _0x3ae913(_0x274af8){const _0x154c70=_0x80da,_0x32ff88=Object['create'](null);let _0x10016b=Object['create'](null),_0x561d80=!0x1,_0x38d6f9=!0x1,_0x347d34=!0x1,_0x24bfeb,_0x4ec858,_0xff8a82=-0x1,_0x4847c0=-0x1,_0x20af9b=-0x1,_0x111a83=0x0;for(;_0x111a83<_0x274af8[_0x154c70(0x240)];_0x111a83++)if(_0x4847c0=_0x274af8['charCodeAt'](_0x111a83),_0x24bfeb===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x111a83!==0x0&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x2fab38=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x4847c0===0x2c?(_0x36664b(_0x32ff88,_0x2fab38,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null)):_0x24bfeb=_0x2fab38,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}else{if(_0x4ec858===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x20||_0x4847c0===0x9)_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83),_0x36664b(_0x10016b,_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b),!0x0),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0xff8a82=_0x20af9b=-0x1;}else{if(_0x4847c0===0x3d&&_0xff8a82!==-0x1&&_0x20af9b===-0x1)_0x4ec858=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x111a83),_0xff8a82=_0x20af9b=-0x1;else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}}else{if(_0x38d6f9){if(_0x290084[_0x4847c0]!==0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0xff8a82===-0x1?_0xff8a82=_0x111a83:_0x561d80||(_0x561d80=!0x0),_0x38d6f9=!0x1;}else{if(_0x347d34){if(_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x22&&_0xff8a82!==-0x1)_0x347d34=!0x1,_0x20af9b=_0x111a83;else{if(_0x4847c0===0x5c)_0x38d6f9=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}else{if(_0x4847c0===0x22&&_0x274af8['charCodeAt'](_0x111a83-0x1)===0x3d)_0x347d34=!0x0;else{if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0xff8a82!==-0x1&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);let _0x34bd96=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x561d80&&(_0x34bd96=_0x34bd96['replace'](/\\/g,''),_0x561d80=!0x1),_0x36664b(_0x10016b,_0x4ec858,_0x34bd96),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0x4ec858=void 0x0,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}}}}}if(_0xff8a82===-0x1||_0x347d34||_0x4847c0===0x20||_0x4847c0===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x30aa62=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);return _0x24bfeb===void 0x0?_0x36664b(_0x32ff88,_0x30aa62,_0x10016b):(_0x4ec858===void 0x0?_0x36664b(_0x10016b,_0x30aa62,!0x0):_0x561d80?_0x36664b(_0x10016b,_0x4ec858,_0x30aa62['replace'](/\\/g,'')):_0x36664b(_0x10016b,_0x4ec858,_0x30aa62),_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b)),_0x32ff88;}function _0xad15d0(_0x2e7bb2){const _0x18b157=_0x80da;return Object[_0x18b157(0x1ed)](_0x2e7bb2)[_0x18b157(0x35c)](_0x34aa1c=>{const _0x29c663=_0x18b157;let _0x2fe447=_0x2e7bb2[_0x34aa1c];return Array[_0x29c663(0x2a6)](_0x2fe447)||(_0x2fe447=[_0x2fe447]),_0x2fe447[_0x29c663(0x35c)](_0x221e38=>[_0x34aa1c][_0x29c663(0x20f)](Object[_0x29c663(0x1ed)](_0x221e38)[_0x29c663(0x35c)](_0x11de1a=>{const _0x1e2023=_0x29c663;let _0xf34085=_0x221e38[_0x11de1a];return Array[_0x1e2023(0x2a6)](_0xf34085)||(_0xf34085=[_0xf34085]),_0xf34085[_0x1e2023(0x35c)](_0x56537d=>_0x56537d===!0x0?_0x11de1a:_0x11de1a+'='+_0x56537d)[_0x1e2023(0x297)](';\x20');}))[_0x29c663(0x297)](';\x20'))[_0x29c663(0x297)](',\x20');})[_0x18b157(0x297)](',\x20');}return be={'format':_0xad15d0,'parse':_0x3ae913},be;}var we,Je;function Pe(){const _0x267e0c=_0x49d410;if(Je)return we;Je=0x1;const _0x22af69=nt,_0x4ea4f4=vt,_0x13c001=ot,_0x197962=St,_0x2d7d21=Et,{randomBytes:_0x48a684,createHash:_0x75b2cc}=Le,{Duplex:_0x4a2e07,Readable:_0x2c215c}=oe,{URL:_0x1dd613}=xt,_0x3c19ff=he(),_0x3cfe9f=lt(),_0x57d1f8=ft(),{isBlob:_0x4f50bf}=ae(),{BINARY_TYPES:_0x3d6a60,EMPTY_BUFFER:_0xf4f29d,GUID:_0x55ceb1,kForOnEventAttribute:_0x40800d,kListener:_0x58b8e5,kStatusCode:_0x2c8232,kWebSocket:_0x7a20b9,NOOP:_0x22399d}=H(),{EventTarget:{addEventListener:_0x23bba4,removeEventListener:_0x3b41be}}=It(),{format:_0x2acbff,parse:_0x2e23fb}=ct(),{toBuffer:_0x3537f5}=ce(),_0x40c5f3=0x1e*0x3e8,_0x222974=Symbol(_0x267e0c(0x1f7)),_0x277486=[0x8,0xd],_0x253413=[_0x267e0c(0x2fd),'OPEN','CLOSING',_0x267e0c(0x1e0)],_0x5c8bbd=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2de10c extends _0x22af69{constructor(_0x5dfdb1,_0x316a56,_0x57d45a){const _0x45ef2b=_0x267e0c;super(),this[_0x45ef2b(0x228)]=_0x3d6a60[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x45ef2b(0x215)]=!0x1,this[_0x45ef2b(0x345)]=_0xf4f29d,this['_closeTimer']=null,this[_0x45ef2b(0x1f0)]=!0x1,this[_0x45ef2b(0x245)]={},this[_0x45ef2b(0x1eb)]=!0x1,this['_protocol']='',this[_0x45ef2b(0x1c4)]=_0x2de10c[_0x45ef2b(0x2fd)],this['_receiver']=null,this[_0x45ef2b(0x296)]=null,this['_socket']=null,_0x5dfdb1!==null?(this[_0x45ef2b(0x1f3)]=0x0,this['_isServer']=!0x1,this[_0x45ef2b(0x1d3)]=0x0,_0x316a56===void 0x0?_0x316a56=[]:Array[_0x45ef2b(0x2a6)](_0x316a56)||(typeof _0x316a56==_0x45ef2b(0x34d)&&_0x316a56!==null?(_0x57d45a=_0x316a56,_0x316a56=[]):_0x316a56=[_0x316a56]),_0x1bd26c(this,_0x5dfdb1,_0x316a56,_0x57d45a)):(this[_0x45ef2b(0x236)]=_0x57d45a[_0x45ef2b(0x1e8)],this[_0x45ef2b(0x358)]=!0x0);}get['binaryType'](){const _0x1ae330=_0x267e0c;return this[_0x1ae330(0x228)];}set[_0x267e0c(0x2f5)](_0x20ac71){const _0x163d1c=_0x267e0c;_0x3d6a60[_0x163d1c(0x356)](_0x20ac71)&&(this[_0x163d1c(0x228)]=_0x20ac71,this['_receiver']&&(this[_0x163d1c(0x29f)][_0x163d1c(0x228)]=_0x20ac71));}get['bufferedAmount'](){const _0x384753=_0x267e0c;return this[_0x384753(0x23b)]?this[_0x384753(0x23b)][_0x384753(0x28e)][_0x384753(0x240)]+this[_0x384753(0x296)][_0x384753(0x271)]:this[_0x384753(0x1f3)];}get[_0x267e0c(0x303)](){const _0x5bcb92=_0x267e0c;return Object['keys'](this[_0x5bcb92(0x245)])[_0x5bcb92(0x297)]();}get[_0x267e0c(0x35f)](){const _0x414d4f=_0x267e0c;return this[_0x414d4f(0x1eb)];}get[_0x267e0c(0x307)](){return null;}get['onerror'](){return null;}get[_0x267e0c(0x1b6)](){return null;}get[_0x267e0c(0x20c)](){return null;}get['protocol'](){const _0x5a8bfb=_0x267e0c;return this[_0x5a8bfb(0x2b1)];}get[_0x267e0c(0x243)](){const _0x48695e=_0x267e0c;return this[_0x48695e(0x1c4)];}get[_0x267e0c(0x23f)](){const _0x3e0017=_0x267e0c;return this[_0x3e0017(0x365)];}[_0x267e0c(0x235)](_0x51416b,_0x1b7abb,_0x3aa9bb){const _0x1335a2=_0x267e0c,_0xe2a29c=new _0x3cfe9f({'allowSynchronousEvents':_0x3aa9bb[_0x1335a2(0x1e2)],'binaryType':this[_0x1335a2(0x2f5)],'extensions':this[_0x1335a2(0x245)],'isServer':this[_0x1335a2(0x358)],'maxPayload':_0x3aa9bb[_0x1335a2(0x1b3)],'skipUTF8Validation':_0x3aa9bb[_0x1335a2(0x231)]}),_0x5d7b83=new _0x57d1f8(_0x51416b,this[_0x1335a2(0x245)],_0x3aa9bb[_0x1335a2(0x348)]);this[_0x1335a2(0x29f)]=_0xe2a29c,this[_0x1335a2(0x296)]=_0x5d7b83,this[_0x1335a2(0x23b)]=_0x51416b,_0xe2a29c[_0x7a20b9]=this,_0x5d7b83[_0x7a20b9]=this,_0x51416b[_0x7a20b9]=this,_0xe2a29c['on'](_0x1335a2(0x21d),_0x3742c3),_0xe2a29c['on']('drain',_0x460b3b),_0xe2a29c['on'](_0x1335a2(0x219),_0x127d8a),_0xe2a29c['on']('message',_0x3f10a6),_0xe2a29c['on'](_0x1335a2(0x277),_0xa036cb),_0xe2a29c['on'](_0x1335a2(0x350),_0x5e5000),_0x5d7b83['onerror']=_0x112cbd,_0x51416b[_0x1335a2(0x1e5)]&&_0x51416b[_0x1335a2(0x1e5)](0x0),_0x51416b[_0x1335a2(0x2fa)]&&_0x51416b[_0x1335a2(0x2fa)](),_0x1b7abb[_0x1335a2(0x240)]>0x0&&_0x51416b[_0x1335a2(0x1bb)](_0x1b7abb),_0x51416b['on'](_0x1335a2(0x1dd),_0x3ccb53),_0x51416b['on'](_0x1335a2(0x26c),_0x39d47a),_0x51416b['on'](_0x1335a2(0x263),_0x2bb55a),_0x51416b['on']('error',_0x4bf30f),this[_0x1335a2(0x1c4)]=_0x2de10c[_0x1335a2(0x217)],this['emit'](_0x1335a2(0x309));}[_0x267e0c(0x1fa)](){const _0xd185d7=_0x267e0c;if(!this['_socket']){this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this['emit']('close',this[_0xd185d7(0x2cd)],this['_closeMessage']);return;}this[_0xd185d7(0x245)][_0x3c19ff[_0xd185d7(0x212)]]&&this[_0xd185d7(0x245)][_0x3c19ff['extensionName']][_0xd185d7(0x2e8)](),this[_0xd185d7(0x29f)][_0xd185d7(0x2f1)](),this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this[_0xd185d7(0x205)](_0xd185d7(0x1dd),this[_0xd185d7(0x2cd)],this['_closeMessage']);}[_0x267e0c(0x1dd)](_0xd307ab,_0x11cd03){const _0x10babd=_0x267e0c;if(this['readyState']!==_0x2de10c['CLOSED']){if(this[_0x10babd(0x243)]===_0x2de10c[_0x10babd(0x2fd)]){_0x1bcfba(this,this['_req'],_0x10babd(0x2aa));return;}if(this[_0x10babd(0x243)]===_0x2de10c['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x10babd(0x29f)][_0x10babd(0x28e)][_0x10babd(0x315)])&&this['_socket']['end']();return;}this[_0x10babd(0x1c4)]=_0x2de10c[_0x10babd(0x20b)],this['_sender'][_0x10babd(0x1dd)](_0xd307ab,_0x11cd03,!this[_0x10babd(0x358)],_0x5ec8be=>{const _0x494b9c=_0x10babd;_0x5ec8be||(this[_0x494b9c(0x215)]=!0x0,(this[_0x494b9c(0x21b)]||this[_0x494b9c(0x29f)]['_writableState'][_0x494b9c(0x315)])&&this[_0x494b9c(0x23b)][_0x494b9c(0x263)]());}),_0x4f10d9(this);}}[_0x267e0c(0x2dc)](){const _0x53aa7b=_0x267e0c;this['readyState']===_0x2de10c[_0x53aa7b(0x2fd)]||this[_0x53aa7b(0x243)]===_0x2de10c['CLOSED']||(this['_paused']=!0x0,this[_0x53aa7b(0x23b)][_0x53aa7b(0x2dc)]());}['ping'](_0x246635,_0x1526e5,_0x4c4998){const _0x3c6ed9=_0x267e0c;if(this[_0x3c6ed9(0x243)]===_0x2de10c[_0x3c6ed9(0x2fd)])throw new Error(_0x3c6ed9(0x312));if(typeof _0x246635=='function'?(_0x4c4998=_0x246635,_0x246635=_0x1526e5=void 0x0):typeof _0x1526e5=='function'&&(_0x4c4998=_0x1526e5,_0x1526e5=void 0x0),typeof _0x246635==_0x3c6ed9(0x2db)&&(_0x246635=_0x246635['toString']()),this[_0x3c6ed9(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0x246635,_0x4c4998);return;}_0x1526e5===void 0x0&&(_0x1526e5=!this['_isServer']),this[_0x3c6ed9(0x296)][_0x3c6ed9(0x277)](_0x246635||_0xf4f29d,_0x1526e5,_0x4c4998);}[_0x267e0c(0x350)](_0x261723,_0x1ef602,_0x32f36e){const _0x312a2b=_0x267e0c;if(this[_0x312a2b(0x243)]===_0x2de10c[_0x312a2b(0x2fd)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x261723==_0x312a2b(0x223)?(_0x32f36e=_0x261723,_0x261723=_0x1ef602=void 0x0):typeof _0x1ef602==_0x312a2b(0x223)&&(_0x32f36e=_0x1ef602,_0x1ef602=void 0x0),typeof _0x261723==_0x312a2b(0x2db)&&(_0x261723=_0x261723[_0x312a2b(0x33f)]()),this[_0x312a2b(0x243)]!==_0x2de10c[_0x312a2b(0x217)]){_0x38f984(this,_0x261723,_0x32f36e);return;}_0x1ef602===void 0x0&&(_0x1ef602=!this[_0x312a2b(0x358)]),this[_0x312a2b(0x296)][_0x312a2b(0x350)](_0x261723||_0xf4f29d,_0x1ef602,_0x32f36e);}[_0x267e0c(0x32a)](){const _0x5993cb=_0x267e0c;this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x2fd)]||this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x1e0)]||(this[_0x5993cb(0x1eb)]=!0x1,this[_0x5993cb(0x29f)]['_writableState']['needDrain']||this[_0x5993cb(0x23b)][_0x5993cb(0x32a)]());}[_0x267e0c(0x2fe)](_0xf34575,_0x310fd8,_0x29f9e7){const _0x41b8ea=_0x267e0c;if(this[_0x41b8ea(0x243)]===_0x2de10c[_0x41b8ea(0x2fd)])throw new Error(_0x41b8ea(0x312));if(typeof _0x310fd8==_0x41b8ea(0x223)&&(_0x29f9e7=_0x310fd8,_0x310fd8={}),typeof _0xf34575==_0x41b8ea(0x2db)&&(_0xf34575=_0xf34575[_0x41b8ea(0x33f)]()),this[_0x41b8ea(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0xf34575,_0x29f9e7);return;}const _0xb248d4={'binary':typeof _0xf34575!=_0x41b8ea(0x22b),'mask':!this[_0x41b8ea(0x358)],'compress':!0x0,'fin':!0x0,..._0x310fd8};this[_0x41b8ea(0x245)][_0x3c19ff[_0x41b8ea(0x212)]]||(_0xb248d4['compress']=!0x1),this[_0x41b8ea(0x296)][_0x41b8ea(0x2fe)](_0xf34575||_0xf4f29d,_0xb248d4,_0x29f9e7);}[_0x267e0c(0x36f)](){const _0x1cb428=_0x267e0c;if(this['readyState']!==_0x2de10c[_0x1cb428(0x1e0)]){if(this[_0x1cb428(0x243)]===_0x2de10c[_0x1cb428(0x2fd)]){_0x1bcfba(this,this['_req'],_0x1cb428(0x2aa));return;}this[_0x1cb428(0x23b)]&&(this[_0x1cb428(0x1c4)]=_0x2de10c[_0x1cb428(0x20b)],this[_0x1cb428(0x23b)][_0x1cb428(0x258)]());}}}Object[_0x267e0c(0x35e)](_0x2de10c,_0x267e0c(0x2fd),{'enumerable':!0x0,'value':_0x253413['indexOf'](_0x267e0c(0x2fd))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],'CONNECTING',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CONNECTING')}),Object[_0x267e0c(0x35e)](_0x2de10c,'OPEN',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x217),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CLOSED')}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x1e0))}),[_0x267e0c(0x2f5),_0x267e0c(0x218),'extensions',_0x267e0c(0x35f),'protocol',_0x267e0c(0x243),_0x267e0c(0x23f)][_0x267e0c(0x289)](_0xb6d441=>{const _0x1d7329=_0x267e0c;Object[_0x1d7329(0x35e)](_0x2de10c[_0x1d7329(0x241)],_0xb6d441,{'enumerable':!0x0});}),[_0x267e0c(0x309),_0x267e0c(0x219),'close','message'][_0x267e0c(0x289)](_0x7c3834=>{const _0x5dcae5=_0x267e0c;Object[_0x5dcae5(0x35e)](_0x2de10c[_0x5dcae5(0x241)],'on'+_0x7c3834,{'enumerable':!0x0,'get'(){const _0x49f6c6=_0x5dcae5;for(const _0x2e2292 of this[_0x49f6c6(0x306)](_0x7c3834))if(_0x2e2292[_0x40800d])return _0x2e2292[_0x58b8e5];return null;},'set'(_0x20d377){const _0x310770=_0x5dcae5;for(const _0x438920 of this['listeners'](_0x7c3834))if(_0x438920[_0x40800d]){this[_0x310770(0x374)](_0x7c3834,_0x438920);break;}typeof _0x20d377==_0x310770(0x223)&&this[_0x310770(0x2cf)](_0x7c3834,_0x20d377,{[_0x40800d]:!0x0});}});}),_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x2cf)]=_0x23bba4,_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x300)]=_0x3b41be,we=_0x2de10c;function _0x1bd26c(_0x209ee5,_0x39fe9a,_0x24b8e8,_0x1b84cc){const _0x161408=_0x267e0c,_0x4c94e6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x277486[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1b84cc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x161408(0x1ee),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x209ee5[_0x161408(0x236)]=_0x4c94e6[_0x161408(0x1e8)],!_0x277486['includes'](_0x4c94e6[_0x161408(0x337)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4c94e6[_0x161408(0x337)]+_0x161408(0x360)+_0x277486[_0x161408(0x297)](',\x20')+')');let _0x298219;if(_0x39fe9a instanceof _0x1dd613)_0x298219=_0x39fe9a;else try{_0x298219=new _0x1dd613(_0x39fe9a);}catch{throw new SyntaxError(_0x161408(0x24e)+_0x39fe9a);}_0x298219['protocol']===_0x161408(0x1fe)?_0x298219[_0x161408(0x321)]='ws:':_0x298219[_0x161408(0x321)]===_0x161408(0x325)&&(_0x298219[_0x161408(0x321)]=_0x161408(0x257)),_0x209ee5[_0x161408(0x365)]=_0x298219[_0x161408(0x1b0)];const _0x13327f=_0x298219[_0x161408(0x321)]===_0x161408(0x257),_0x511ce3=_0x298219['protocol']===_0x161408(0x210);let _0x222fd0;if(_0x298219[_0x161408(0x321)]!==_0x161408(0x34f)&&!_0x13327f&&!_0x511ce3?_0x222fd0=_0x161408(0x1ba):_0x511ce3&&!_0x298219[_0x161408(0x317)]?_0x222fd0='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x298219[_0x161408(0x2b5)]&&(_0x222fd0=_0x161408(0x305)),_0x222fd0){const _0x1e2344=new SyntaxError(_0x222fd0);if(_0x209ee5[_0x161408(0x1d3)]===0x0)throw _0x1e2344;_0x361526(_0x209ee5,_0x1e2344);return;}const _0x54e9ef=_0x13327f?0x1bb:0x50,_0x3419e6=_0x48a684(0x10)[_0x161408(0x33f)]('base64'),_0x7c48f2=_0x13327f?_0x4ea4f4[_0x161408(0x251)]:_0x13c001[_0x161408(0x251)],_0x13cfa6=new Set();let _0x9b5113;if(_0x4c94e6[_0x161408(0x1e3)]=_0x4c94e6[_0x161408(0x1e3)]||(_0x13327f?_0x4a4800:_0xb69056),_0x4c94e6[_0x161408(0x30e)]=_0x4c94e6[_0x161408(0x30e)]||_0x54e9ef,_0x4c94e6[_0x161408(0x2d2)]=_0x298219[_0x161408(0x2d2)]||_0x54e9ef,_0x4c94e6['host']=_0x298219[_0x161408(0x31b)][_0x161408(0x1b4)]('[')?_0x298219[_0x161408(0x31b)][_0x161408(0x2ad)](0x1,-0x1):_0x298219[_0x161408(0x31b)],_0x4c94e6[_0x161408(0x2c4)]={..._0x4c94e6['headers'],'Sec-WebSocket-Version':_0x4c94e6[_0x161408(0x337)],'Sec-WebSocket-Key':_0x3419e6,'Connection':'Upgrade','Upgrade':'websocket'},_0x4c94e6[_0x161408(0x213)]=_0x298219[_0x161408(0x317)]+_0x298219[_0x161408(0x30c)],_0x4c94e6[_0x161408(0x256)]=_0x4c94e6[_0x161408(0x367)],_0x4c94e6[_0x161408(0x255)]&&(_0x9b5113=new _0x3c19ff(_0x4c94e6['perMessageDeflate']!==!0x0?_0x4c94e6[_0x161408(0x255)]:{},!0x1,_0x4c94e6[_0x161408(0x1b3)]),_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x1be)]=_0x2acbff({[_0x3c19ff[_0x161408(0x212)]]:_0x9b5113[_0x161408(0x346)]()})),_0x24b8e8[_0x161408(0x240)]){for(const _0x4c6249 of _0x24b8e8){if(typeof _0x4c6249!=_0x161408(0x22b)||!_0x5c8bbd['test'](_0x4c6249)||_0x13cfa6['has'](_0x4c6249))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x13cfa6[_0x161408(0x343)](_0x4c6249);}_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x220)]=_0x24b8e8['join'](',');}if(_0x4c94e6[_0x161408(0x2da)]&&(_0x4c94e6[_0x161408(0x337)]<0xd?_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x207)]=_0x4c94e6[_0x161408(0x2da)]:_0x4c94e6[_0x161408(0x2c4)]['Origin']=_0x4c94e6[_0x161408(0x2da)]),(_0x298219['username']||_0x298219['password'])&&(_0x4c94e6[_0x161408(0x2a5)]=_0x298219[_0x161408(0x22e)]+':'+_0x298219[_0x161408(0x320)]),_0x511ce3){const _0x101c70=_0x4c94e6[_0x161408(0x213)][_0x161408(0x1f1)](':');_0x4c94e6[_0x161408(0x280)]=_0x101c70[0x0],_0x4c94e6[_0x161408(0x213)]=_0x101c70[0x1];}let _0x20aa1b;if(_0x4c94e6['followRedirects']){if(_0x209ee5[_0x161408(0x1d3)]===0x0){_0x209ee5['_originalIpc']=_0x511ce3,_0x209ee5[_0x161408(0x292)]=_0x13327f,_0x209ee5[_0x161408(0x1ff)]=_0x511ce3?_0x4c94e6['socketPath']:_0x298219[_0x161408(0x2c3)];const _0x29f510=_0x1b84cc&&_0x1b84cc[_0x161408(0x2c4)];if(_0x1b84cc={..._0x1b84cc,'headers':{}},_0x29f510){for(const [_0x325551,_0x3994db]of Object[_0x161408(0x26d)](_0x29f510))_0x1b84cc['headers'][_0x325551[_0x161408(0x1c6)]()]=_0x3994db;}}else{if(_0x209ee5[_0x161408(0x29d)](_0x161408(0x333))===0x0){const _0x50d9ad=_0x511ce3?_0x209ee5['_originalIpc']?_0x4c94e6['socketPath']===_0x209ee5['_originalHostOrSocketPath']:!0x1:_0x209ee5['_originalIpc']?!0x1:_0x298219[_0x161408(0x2c3)]===_0x209ee5['_originalHostOrSocketPath'];(!_0x50d9ad||_0x209ee5[_0x161408(0x292)]&&!_0x13327f)&&(delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x302)],delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x2bf)],_0x50d9ad||delete _0x4c94e6[_0x161408(0x2c4)]['host'],_0x4c94e6[_0x161408(0x2a5)]=void 0x0);}}_0x4c94e6[_0x161408(0x2a5)]&&!_0x1b84cc['headers'][_0x161408(0x302)]&&(_0x1b84cc[_0x161408(0x2c4)][_0x161408(0x302)]=_0x161408(0x24d)+Buffer[_0x161408(0x34a)](_0x4c94e6[_0x161408(0x2a5)])['toString'](_0x161408(0x22a))),_0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6),_0x209ee5[_0x161408(0x1d3)]&&_0x209ee5[_0x161408(0x205)](_0x161408(0x333),_0x209ee5['url'],_0x20aa1b);}else _0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6);_0x4c94e6['timeout']&&_0x20aa1b['on']('timeout',()=>{const _0x42af54=_0x161408;_0x1bcfba(_0x209ee5,_0x20aa1b,_0x42af54(0x314));}),_0x20aa1b['on'](_0x161408(0x219),_0x37257b=>{_0x20aa1b===null||_0x20aa1b[_0x222974]||(_0x20aa1b=_0x209ee5['_req']=null,_0x361526(_0x209ee5,_0x37257b));}),_0x20aa1b['on'](_0x161408(0x28b),_0x196b65=>{const _0x5662a0=_0x161408,_0x35d82a=_0x196b65[_0x5662a0(0x2c4)][_0x5662a0(0x30d)],_0x3f7be3=_0x196b65[_0x5662a0(0x2a3)];if(_0x35d82a&&_0x4c94e6[_0x5662a0(0x27a)]&&_0x3f7be3>=0x12c&&_0x3f7be3<0x190){if(++_0x209ee5[_0x5662a0(0x1d3)]>_0x4c94e6[_0x5662a0(0x1c1)]){_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1c8));return;}_0x20aa1b[_0x5662a0(0x1d5)]();let _0x1838f6;try{_0x1838f6=new _0x1dd613(_0x35d82a,_0x39fe9a);}catch{const _0x1e9a26=new SyntaxError(_0x5662a0(0x24e)+_0x35d82a);_0x361526(_0x209ee5,_0x1e9a26);return;}_0x1bd26c(_0x209ee5,_0x1838f6,_0x24b8e8,_0x1b84cc);}else _0x209ee5[_0x5662a0(0x205)](_0x5662a0(0x1b2),_0x20aa1b,_0x196b65)||_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1ca)+_0x196b65[_0x5662a0(0x2a3)]);}),_0x20aa1b['on'](_0x161408(0x1f6),(_0x2ebb15,_0xdba3d,_0x2ffa60)=>{const _0x587b51=_0x161408;if(_0x209ee5[_0x587b51(0x205)](_0x587b51(0x1f6),_0x2ebb15),_0x209ee5[_0x587b51(0x243)]!==_0x2de10c['CONNECTING'])return;_0x20aa1b=_0x209ee5[_0x587b51(0x2d1)]=null;const _0x19b890=_0x2ebb15['headers']['upgrade'];if(_0x19b890===void 0x0||_0x19b890[_0x587b51(0x1c6)]()!==_0x587b51(0x30b)){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x1d2));return;}const _0x4fe987=_0x75b2cc('sha1')['update'](_0x3419e6+_0x55ceb1)[_0x587b51(0x211)](_0x587b51(0x22a));if(_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x1fc)]!==_0x4fe987){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2df));return;}const _0x5964c8=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x32f)];let _0x3b4bcb;if(_0x5964c8!==void 0x0?_0x13cfa6['size']?_0x13cfa6['has'](_0x5964c8)||(_0x3b4bcb=_0x587b51(0x1dc)):_0x3b4bcb=_0x587b51(0x32c):_0x13cfa6[_0x587b51(0x2c9)]&&(_0x3b4bcb=_0x587b51(0x225)),_0x3b4bcb){_0x1bcfba(_0x209ee5,_0xdba3d,_0x3b4bcb);return;}_0x5964c8&&(_0x209ee5['_protocol']=_0x5964c8);const _0x4252bc=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x272)];if(_0x4252bc!==void 0x0){if(!_0x9b5113){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x336));return;}let _0x486680;try{_0x486680=_0x2e23fb(_0x4252bc);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}const _0x16c7d8=Object[_0x587b51(0x1ed)](_0x486680);if(_0x16c7d8[_0x587b51(0x240)]!==0x1||_0x16c7d8[0x0]!==_0x3c19ff['extensionName']){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2e3));return;}try{_0x9b5113[_0x587b51(0x376)](_0x486680[_0x3c19ff[_0x587b51(0x212)]]);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}_0x209ee5[_0x587b51(0x245)][_0x3c19ff[_0x587b51(0x212)]]=_0x9b5113;}_0x209ee5[_0x587b51(0x235)](_0xdba3d,_0x2ffa60,{'allowSynchronousEvents':_0x4c94e6[_0x587b51(0x1e2)],'generateMask':_0x4c94e6['generateMask'],'maxPayload':_0x4c94e6['maxPayload'],'skipUTF8Validation':_0x4c94e6[_0x587b51(0x231)]});}),_0x4c94e6['finishRequest']?_0x4c94e6[_0x161408(0x299)](_0x20aa1b,_0x209ee5):_0x20aa1b[_0x161408(0x263)]();}function _0x361526(_0x25737b,_0x2918cc){const _0x27177b=_0x267e0c;_0x25737b[_0x27177b(0x1c4)]=_0x2de10c[_0x27177b(0x20b)],_0x25737b[_0x27177b(0x1f0)]=!0x0,_0x25737b[_0x27177b(0x205)](_0x27177b(0x219),_0x2918cc),_0x25737b['emitClose']();}function _0xb69056(_0x2b32c4){const _0x44786d=_0x267e0c;return _0x2b32c4['path']=_0x2b32c4[_0x44786d(0x280)],_0x197962[_0x44786d(0x266)](_0x2b32c4);}function _0x4a4800(_0x1caee4){const _0x5de0a7=_0x267e0c;return _0x1caee4['path']=void 0x0,!_0x1caee4[_0x5de0a7(0x33b)]&&_0x1caee4[_0x5de0a7(0x33b)]!==''&&(_0x1caee4[_0x5de0a7(0x33b)]=_0x197962['isIP'](_0x1caee4[_0x5de0a7(0x2c3)])?'':_0x1caee4[_0x5de0a7(0x2c3)]),_0x2d7d21[_0x5de0a7(0x266)](_0x1caee4);}function _0x1bcfba(_0x630195,_0x45ae7d,_0x4da84a){const _0x4edffc=_0x267e0c;_0x630195[_0x4edffc(0x1c4)]=_0x2de10c['CLOSING'];const _0x57c10=new Error(_0x4da84a);Error[_0x4edffc(0x278)](_0x57c10,_0x1bcfba),_0x45ae7d[_0x4edffc(0x279)]?(_0x45ae7d[_0x222974]=!0x0,_0x45ae7d['abort'](),_0x45ae7d[_0x4edffc(0x2ee)]&&!_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x2e1)]&&_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x258)](),process['nextTick'](_0x361526,_0x630195,_0x57c10)):(_0x45ae7d['destroy'](_0x57c10),_0x45ae7d[_0x4edffc(0x262)]('error',_0x630195['emit'][_0x4edffc(0x31c)](_0x630195,_0x4edffc(0x219))),_0x45ae7d[_0x4edffc(0x262)]('close',_0x630195[_0x4edffc(0x1fa)][_0x4edffc(0x31c)](_0x630195)));}function _0x38f984(_0x995e7c,_0x3611b5,_0x2fe991){const _0x38a8a5=_0x267e0c;if(_0x3611b5){const _0x3ace2e=_0x4f50bf(_0x3611b5)?_0x3611b5[_0x38a8a5(0x2c9)]:_0x3537f5(_0x3611b5)[_0x38a8a5(0x240)];_0x995e7c[_0x38a8a5(0x23b)]?_0x995e7c['_sender'][_0x38a8a5(0x271)]+=_0x3ace2e:_0x995e7c[_0x38a8a5(0x1f3)]+=_0x3ace2e;}if(_0x2fe991){const _0x4d5572=new Error(_0x38a8a5(0x32b)+_0x995e7c[_0x38a8a5(0x243)]+'\x20('+_0x253413[_0x995e7c[_0x38a8a5(0x243)]]+')');process['nextTick'](_0x2fe991,_0x4d5572);}}function _0x3742c3(_0x201765,_0x1e8cd8){const _0x3f3b5c=_0x267e0c,_0x45308f=this[_0x7a20b9];_0x45308f['_closeFrameReceived']=!0x0,_0x45308f[_0x3f3b5c(0x345)]=_0x1e8cd8,_0x45308f[_0x3f3b5c(0x2cd)]=_0x201765,_0x45308f[_0x3f3b5c(0x23b)][_0x7a20b9]!==void 0x0&&(_0x45308f[_0x3f3b5c(0x23b)]['removeListener'](_0x3f3b5c(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x45308f[_0x3f3b5c(0x23b)]),_0x201765===0x3ed?_0x45308f[_0x3f3b5c(0x1dd)]():_0x45308f[_0x3f3b5c(0x1dd)](_0x201765,_0x1e8cd8));}function _0x460b3b(){const _0x2667c1=_0x267e0c,_0x4b6b47=this[_0x7a20b9];_0x4b6b47[_0x2667c1(0x35f)]||_0x4b6b47[_0x2667c1(0x23b)][_0x2667c1(0x32a)]();}function _0x127d8a(_0x108abc){const _0x4cc2f3=_0x267e0c,_0x5eb9a7=this[_0x7a20b9];_0x5eb9a7[_0x4cc2f3(0x23b)][_0x7a20b9]!==void 0x0&&(_0x5eb9a7[_0x4cc2f3(0x23b)][_0x4cc2f3(0x374)](_0x4cc2f3(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x5eb9a7['_socket']),_0x5eb9a7['close'](_0x108abc[_0x2c8232])),_0x5eb9a7['_errorEmitted']||(_0x5eb9a7[_0x4cc2f3(0x1f0)]=!0x0,_0x5eb9a7['emit'](_0x4cc2f3(0x219),_0x108abc));}function _0x27ebd9(){const _0x2d1fd5=_0x267e0c;this[_0x7a20b9][_0x2d1fd5(0x1fa)]();}function _0x3f10a6(_0x455285,_0x213c88){const _0x19951e=_0x267e0c;this[_0x7a20b9][_0x19951e(0x205)](_0x19951e(0x1b9),_0x455285,_0x213c88);}function _0xa036cb(_0x50619b){const _0x22f212=_0x267e0c,_0x3ffff0=this[_0x7a20b9];_0x3ffff0['_autoPong']&&_0x3ffff0[_0x22f212(0x350)](_0x50619b,!this[_0x22f212(0x358)],_0x22399d),_0x3ffff0['emit'](_0x22f212(0x277),_0x50619b);}function _0x5e5000(_0x1a7682){const _0x4589e7=_0x267e0c;this[_0x7a20b9][_0x4589e7(0x205)](_0x4589e7(0x350),_0x1a7682);}function _0x5a38e3(_0x4144eb){const _0x4d60cc=_0x267e0c;_0x4144eb[_0x4d60cc(0x32a)]();}function _0x112cbd(_0x2addc3){const _0x23003d=_0x267e0c,_0x4f808f=this[_0x7a20b9];_0x4f808f[_0x23003d(0x243)]!==_0x2de10c[_0x23003d(0x1e0)]&&(_0x4f808f[_0x23003d(0x243)]===_0x2de10c['OPEN']&&(_0x4f808f[_0x23003d(0x1c4)]=_0x2de10c[_0x23003d(0x20b)],_0x4f10d9(_0x4f808f)),this[_0x23003d(0x23b)][_0x23003d(0x263)](),_0x4f808f[_0x23003d(0x1f0)]||(_0x4f808f[_0x23003d(0x1f0)]=!0x0,_0x4f808f[_0x23003d(0x205)]('error',_0x2addc3)));}function _0x4f10d9(_0x45796b){const _0xb51cd2=_0x267e0c;_0x45796b[_0xb51cd2(0x1d1)]=setTimeout(_0x45796b[_0xb51cd2(0x23b)][_0xb51cd2(0x258)]['bind'](_0x45796b['_socket']),_0x40c5f3);}function _0x3ccb53(){const _0x4237c0=_0x267e0c,_0x1270de=this[_0x7a20b9];this[_0x4237c0(0x374)]('close',_0x3ccb53),this[_0x4237c0(0x374)]('data',_0x39d47a),this[_0x4237c0(0x374)](_0x4237c0(0x263),_0x2bb55a),_0x1270de[_0x4237c0(0x1c4)]=_0x2de10c['CLOSING'];let _0x587039;!this[_0x4237c0(0x269)]['endEmitted']&&!_0x1270de[_0x4237c0(0x21b)]&&!_0x1270de[_0x4237c0(0x29f)]['_writableState']['errorEmitted']&&(_0x587039=_0x1270de[_0x4237c0(0x23b)]['read']())!==null&&_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x36b)](_0x587039),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x263)](),this[_0x7a20b9]=void 0x0,clearTimeout(_0x1270de['_closeTimer']),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)]['finished']||_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)][_0x4237c0(0x315)]?_0x1270de[_0x4237c0(0x1fa)]():(_0x1270de['_receiver']['on'](_0x4237c0(0x219),_0x27ebd9),_0x1270de[_0x4237c0(0x29f)]['on'](_0x4237c0(0x2d3),_0x27ebd9));}function _0x39d47a(_0x112014){const _0x39b873=_0x267e0c;this[_0x7a20b9][_0x39b873(0x29f)]['write'](_0x112014)||this[_0x39b873(0x2dc)]();}function _0x2bb55a(){const _0x5e1861=_0x267e0c,_0x41b87b=this[_0x7a20b9];_0x41b87b[_0x5e1861(0x1c4)]=_0x2de10c[_0x5e1861(0x20b)],_0x41b87b['_receiver'][_0x5e1861(0x263)](),this[_0x5e1861(0x263)]();}function _0x4bf30f(){const _0xc1ec22=_0x267e0c,_0x794bae=this[_0x7a20b9];this[_0xc1ec22(0x374)](_0xc1ec22(0x219),_0x4bf30f),this['on']('error',_0x22399d),_0x794bae&&(_0x794bae[_0xc1ec22(0x1c4)]=_0x2de10c['CLOSING'],this[_0xc1ec22(0x258)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x36126c}=oe;function _0x4905ea(_0x5991c8){const _0x5cdb95=_0x80da;_0x5991c8[_0x5cdb95(0x205)]('close');}function _0x2cb747(){const _0x505f15=_0x80da;!this[_0x505f15(0x2e1)]&&this['_writableState'][_0x505f15(0x29c)]&&this[_0x505f15(0x258)]();}function _0x25ed41(_0x385178){const _0x13e763=_0x80da;this[_0x13e763(0x374)](_0x13e763(0x219),_0x25ed41),this[_0x13e763(0x258)](),this[_0x13e763(0x29d)](_0x13e763(0x219))===0x0&&this[_0x13e763(0x205)]('error',_0x385178);}function _0xec9527(_0x3e93cb,_0x479f49){const _0x492487=_0x80da;let _0x3ff287=!0x0;const _0x3672c8=new _0x36126c({..._0x479f49,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e93cb['on'](_0x492487(0x1b9),function(_0x33b790,_0x1500da){const _0x34ea1b=_0x492487,_0x37b57f=!_0x1500da&&_0x3672c8[_0x34ea1b(0x269)][_0x34ea1b(0x2ed)]?_0x33b790[_0x34ea1b(0x33f)]():_0x33b790;_0x3672c8[_0x34ea1b(0x293)](_0x37b57f)||_0x3e93cb[_0x34ea1b(0x2dc)]();}),_0x3e93cb[_0x492487(0x262)](_0x492487(0x219),function(_0x6f69e0){const _0x149854=_0x492487;_0x3672c8[_0x149854(0x2e1)]||(_0x3ff287=!0x1,_0x3672c8[_0x149854(0x258)](_0x6f69e0));}),_0x3e93cb[_0x492487(0x262)]('close',function(){const _0x232dab=_0x492487;_0x3672c8[_0x232dab(0x2e1)]||_0x3672c8[_0x232dab(0x293)](null);}),_0x3672c8[_0x492487(0x282)]=function(_0x10b626,_0x4fc4b4){const _0x164d94=_0x492487;if(_0x3e93cb[_0x164d94(0x243)]===_0x3e93cb[_0x164d94(0x1e0)]){_0x4fc4b4(_0x10b626),process[_0x164d94(0x2cb)](_0x4905ea,_0x3672c8);return;}let _0x258601=!0x1;_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x219),function(_0x454acc){_0x258601=!0x0,_0x4fc4b4(_0x454acc);}),_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x1dd),function(){const _0x2310e8=_0x164d94;_0x258601||_0x4fc4b4(_0x10b626),process[_0x2310e8(0x2cb)](_0x4905ea,_0x3672c8);}),_0x3ff287&&_0x3e93cb[_0x164d94(0x36f)]();},_0x3672c8[_0x492487(0x203)]=function(_0x4d95fc){const _0x88d767=_0x492487;if(_0x3e93cb[_0x88d767(0x243)]===_0x3e93cb[_0x88d767(0x2fd)]){_0x3e93cb[_0x88d767(0x262)](_0x88d767(0x309),function(){const _0x1c647a=_0x88d767;_0x3672c8[_0x1c647a(0x203)](_0x4d95fc);});return;}_0x3e93cb['_socket']!==null&&(_0x3e93cb[_0x88d767(0x23b)][_0x88d767(0x28e)][_0x88d767(0x29c)]?(_0x4d95fc(),_0x3672c8[_0x88d767(0x269)][_0x88d767(0x2e9)]&&_0x3672c8['destroy']()):(_0x3e93cb['_socket'][_0x88d767(0x262)]('finish',function(){_0x4d95fc();}),_0x3e93cb[_0x88d767(0x1dd)]()));},_0x3672c8[_0x492487(0x2f7)]=function(){const _0x37c713=_0x492487;_0x3e93cb['isPaused']&&_0x3e93cb[_0x37c713(0x32a)]();},_0x3672c8['_write']=function(_0x5dca81,_0x4b1c2c,_0x3af66b){const _0x5d283c=_0x492487;if(_0x3e93cb['readyState']===_0x3e93cb['CONNECTING']){_0x3e93cb[_0x5d283c(0x262)](_0x5d283c(0x309),function(){const _0x5b7799=_0x5d283c;_0x3672c8[_0x5b7799(0x273)](_0x5dca81,_0x4b1c2c,_0x3af66b);});return;}_0x3e93cb[_0x5d283c(0x2fe)](_0x5dca81,_0x3af66b);},_0x3672c8['on']('end',_0x2cb747),_0x3672c8['on'](_0x492487(0x219),_0x25ed41),_0x3672c8;}return Oe=_0xec9527,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x21356c}=ae();function _0xe80862(_0x204837){const _0x795545=_0x80da,_0x239cbf=new Set();let _0x465fbf=-0x1,_0x13466f=-0x1,_0x168766=0x0;for(_0x168766;_0x168766<_0x204837['length'];_0x168766++){const _0x52712f=_0x204837['charCodeAt'](_0x168766);if(_0x13466f===-0x1&&_0x21356c[_0x52712f]===0x1)_0x465fbf===-0x1&&(_0x465fbf=_0x168766);else{if(_0x168766!==0x0&&(_0x52712f===0x20||_0x52712f===0x9))_0x13466f===-0x1&&_0x465fbf!==-0x1&&(_0x13466f=_0x168766);else{if(_0x52712f===0x2c){if(_0x465fbf===-0x1)throw new SyntaxError(_0x795545(0x373)+_0x168766);_0x13466f===-0x1&&(_0x13466f=_0x168766);const _0x302301=_0x204837[_0x795545(0x2ad)](_0x465fbf,_0x13466f);if(_0x239cbf[_0x795545(0x2e0)](_0x302301))throw new SyntaxError(_0x795545(0x1b5)+_0x302301+_0x795545(0x2ff));_0x239cbf['add'](_0x302301),_0x465fbf=_0x13466f=-0x1;}else throw new SyntaxError(_0x795545(0x373)+_0x168766);}}}if(_0x465fbf===-0x1||_0x13466f!==-0x1)throw new SyntaxError(_0x795545(0x2e5));const _0x38015a=_0x204837['slice'](_0x465fbf,_0x168766);if(_0x239cbf['has'](_0x38015a))throw new SyntaxError(_0x795545(0x1b5)+_0x38015a+_0x795545(0x2ff));return _0x239cbf[_0x795545(0x343)](_0x38015a),_0x239cbf;}return Ce={'parse':_0xe80862},Ce;}var Te,rt;function _0x80da(_0x5274e3,_0x39a856){const _0x458ffc=_0x458f();return _0x80da=function(_0x80dacf,_0x4dd4e7){_0x80dacf=_0x80dacf-0x1b0;let _0x55f643=_0x458ffc[_0x80dacf];return _0x55f643;},_0x80da(_0x5274e3,_0x39a856);}function Ft(){const _0x57a95a=_0x49d410;if(rt)return Te;rt=0x1;const _0x52fbc2=nt,_0x591d49=ot,{Duplex:_0x19f840}=oe,{createHash:_0x3d5361}=Le,_0x586dc9=ct(),_0x9dd0d4=he(),_0x65bea0=At(),_0x2e71ca=Pe(),{GUID:_0x341fe8,kWebSocket:_0x48c84c}=H(),_0x2642e3=/^[+/0-9A-Za-z]{22}==$/,_0x2ac52d=0x0,_0x279b45=0x1,_0x399649=0x2;class _0x4e33ae extends _0x52fbc2{constructor(_0x5877f4,_0x2795ad){const _0x1e6303=_0x80da;if(super(),_0x5877f4={'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':_0x2e71ca,..._0x5877f4},_0x5877f4[_0x1e6303(0x2d2)]==null&&!_0x5877f4[_0x1e6303(0x35d)]&&!_0x5877f4[_0x1e6303(0x229)]||_0x5877f4['port']!=null&&(_0x5877f4[_0x1e6303(0x35d)]||_0x5877f4['noServer'])||_0x5877f4[_0x1e6303(0x35d)]&&_0x5877f4[_0x1e6303(0x229)])throw new TypeError(_0x1e6303(0x2c8));if(_0x5877f4[_0x1e6303(0x2d2)]!=null?(this[_0x1e6303(0x24c)]=_0x591d49[_0x1e6303(0x265)]((_0x5aa1f2,_0x1e4a52)=>{const _0x2a4eeb=_0x1e6303,_0x53485b=_0x591d49[_0x2a4eeb(0x232)][0x1aa];_0x1e4a52[_0x2a4eeb(0x36a)](0x1aa,{'Content-Length':_0x53485b[_0x2a4eeb(0x240)],'Content-Type':'text/plain'}),_0x1e4a52['end'](_0x53485b);}),this['_server'][_0x1e6303(0x27c)](_0x5877f4[_0x1e6303(0x2d2)],_0x5877f4[_0x1e6303(0x2c3)],_0x5877f4[_0x1e6303(0x310)],_0x2795ad)):_0x5877f4[_0x1e6303(0x35d)]&&(this['_server']=_0x5877f4['server']),this[_0x1e6303(0x24c)]){const _0x11ac0e=this[_0x1e6303(0x205)]['bind'](this,_0x1e6303(0x338));this[_0x1e6303(0x2cc)]=_0x1dea4b(this[_0x1e6303(0x24c)],{'listening':this['emit'][_0x1e6303(0x31c)](this,_0x1e6303(0x1e4)),'error':this[_0x1e6303(0x205)][_0x1e6303(0x31c)](this,'error'),'upgrade':(_0x2b7351,_0x111786,_0x3c3823)=>{this['handleUpgrade'](_0x2b7351,_0x111786,_0x3c3823,_0x11ac0e);}});}_0x5877f4['perMessageDeflate']===!0x0&&(_0x5877f4['perMessageDeflate']={}),_0x5877f4[_0x1e6303(0x34e)]&&(this[_0x1e6303(0x335)]=new Set(),this[_0x1e6303(0x2c0)]=!0x1),this[_0x1e6303(0x2a7)]=_0x5877f4,this[_0x1e6303(0x26a)]=_0x2ac52d;}['address'](){const _0x561857=_0x80da;if(this['options'][_0x561857(0x229)])throw new Error(_0x561857(0x20d));return this['_server']?this[_0x561857(0x24c)][_0x561857(0x1f9)]():null;}['close'](_0x37c677){const _0x317bf8=_0x80da;if(this['_state']===_0x399649){_0x37c677&&this['once']('close',()=>{const _0x130cc7=_0x80da;_0x37c677(new Error(_0x130cc7(0x357)));}),process[_0x317bf8(0x2cb)](_0x4bfdac,this);return;}if(_0x37c677&&this[_0x317bf8(0x262)](_0x317bf8(0x1dd),_0x37c677),this[_0x317bf8(0x26a)]!==_0x279b45){if(this[_0x317bf8(0x26a)]=_0x279b45,this[_0x317bf8(0x2a7)][_0x317bf8(0x229)]||this[_0x317bf8(0x2a7)][_0x317bf8(0x35d)])this[_0x317bf8(0x24c)]&&(this[_0x317bf8(0x2cc)](),this[_0x317bf8(0x2cc)]=this['_server']=null),this[_0x317bf8(0x335)]?this[_0x317bf8(0x335)][_0x317bf8(0x2c9)]?this['_shouldEmitClose']=!0x0:process[_0x317bf8(0x2cb)](_0x4bfdac,this):process[_0x317bf8(0x2cb)](_0x4bfdac,this);else{const _0x1b0491=this[_0x317bf8(0x24c)];this['_removeListeners'](),this['_removeListeners']=this[_0x317bf8(0x24c)]=null,_0x1b0491[_0x317bf8(0x1dd)](()=>{_0x4bfdac(this);});}}}[_0x57a95a(0x250)](_0x5f4a8a){const _0x1345fe=_0x57a95a;if(this[_0x1345fe(0x2a7)][_0x1345fe(0x213)]){const _0x4e7110=_0x5f4a8a[_0x1345fe(0x23f)]['indexOf']('?');if((_0x4e7110!==-0x1?_0x5f4a8a['url'][_0x1345fe(0x2ad)](0x0,_0x4e7110):_0x5f4a8a[_0x1345fe(0x23f)])!==this['options'][_0x1345fe(0x213)])return!0x1;}return!0x0;}[_0x57a95a(0x324)](_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788){const _0x61734d=_0x57a95a;_0x45b59f['on'](_0x61734d(0x219),_0x53f814);const _0x3cd555=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-key'],_0xb827d6=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x1f6)],_0x18d2da=+_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x35a)];if(_0xc04d22[_0x61734d(0x32d)]!==_0x61734d(0x1ee)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x195,_0x61734d(0x347));return;}if(_0xb827d6===void 0x0||_0xb827d6['toLowerCase']()!==_0x61734d(0x30b)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x1d2));return;}if(_0x3cd555===void 0x0||!_0x2642e3['test'](_0x3cd555)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x25c));return;}if(_0x18d2da!==0x8&&_0x18d2da!==0xd){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0xc04d22)){_0x4fa8b6(_0x45b59f,0x190);return;}const _0x2223ba=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x32f)];let _0x2f0d1b=new Set();if(_0x2223ba!==void 0x0)try{_0x2f0d1b=_0x65bea0[_0x61734d(0x24f)](_0x2223ba);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x364));return;}const _0x1c032e=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-extensions'],_0x85062e={};if(this['options'][_0x61734d(0x255)]&&_0x1c032e!==void 0x0){const _0x48da19=new _0x9dd0d4(this[_0x61734d(0x2a7)][_0x61734d(0x255)],!0x0,this[_0x61734d(0x2a7)]['maxPayload']);try{const _0x41dad7=_0x586dc9[_0x61734d(0x24f)](_0x1c032e);_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]&&(_0x48da19['accept'](_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]),_0x85062e[_0x9dd0d4[_0x61734d(0x212)]]=_0x48da19);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x33e));return;}}if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)]){const _0x216485={'origin':_0xc04d22[_0x61734d(0x2c4)][''+(_0x18d2da===0x8?_0x61734d(0x2f3):_0x61734d(0x2da))],'secure':!!(_0xc04d22[_0x61734d(0x2ee)]['authorized']||_0xc04d22[_0x61734d(0x2ee)][_0x61734d(0x28f)]),'req':_0xc04d22};if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)][_0x61734d(0x240)]===0x2){this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485,(_0x1ce87a,_0x279f90,_0x41a718,_0x51266f)=>{if(!_0x1ce87a)return _0x4fa8b6(_0x45b59f,_0x279f90||0x191,_0x41a718,_0x51266f);this['completeUpgrade'](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);});return;}if(!this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485))return _0x4fa8b6(_0x45b59f,0x191);}this[_0x61734d(0x1f8)](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);}['completeUpgrade'](_0x41f5ab,_0x2efecc,_0x1463a4,_0x17e404,_0x4c1deb,_0x42f85b,_0x3ba32e){const _0x44304e=_0x57a95a;if(!_0x4c1deb[_0x44304e(0x2f9)]||!_0x4c1deb[_0x44304e(0x2ce)])return _0x4c1deb[_0x44304e(0x258)]();if(_0x4c1deb[_0x48c84c])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x2ac52d)return _0x4fa8b6(_0x4c1deb,0x1f7);const _0x26a038=[_0x44304e(0x2c5),_0x44304e(0x362),'Connection:\x20Upgrade',_0x44304e(0x2e4)+_0x3d5361(_0x44304e(0x2b0))['update'](_0x2efecc+_0x341fe8)[_0x44304e(0x211)](_0x44304e(0x22a))],_0x1cc2c9=new this[(_0x44304e(0x2a7))][(_0x44304e(0x25a))](null,void 0x0,this['options']);if(_0x1463a4['size']){const _0x281cd6=this[_0x44304e(0x2a7)]['handleProtocols']?this[_0x44304e(0x2a7)][_0x44304e(0x2f8)](_0x1463a4,_0x17e404):_0x1463a4[_0x44304e(0x304)]()[_0x44304e(0x286)]()[_0x44304e(0x25f)];_0x281cd6&&(_0x26a038['push'](_0x44304e(0x330)+_0x281cd6),_0x1cc2c9[_0x44304e(0x2b1)]=_0x281cd6);}if(_0x41f5ab[_0x9dd0d4['extensionName']]){const _0x25de72=_0x41f5ab[_0x9dd0d4[_0x44304e(0x212)]][_0x44304e(0x1b7)],_0x540351=_0x586dc9[_0x44304e(0x1cb)]({[_0x9dd0d4[_0x44304e(0x212)]]:[_0x25de72]});_0x26a038[_0x44304e(0x293)](_0x44304e(0x1e6)+_0x540351),_0x1cc2c9['_extensions']=_0x41f5ab;}this[_0x44304e(0x205)](_0x44304e(0x2c4),_0x26a038,_0x17e404),_0x4c1deb[_0x44304e(0x36b)](_0x26a038[_0x44304e(0x20f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4c1deb[_0x44304e(0x374)](_0x44304e(0x219),_0x53f814),_0x1cc2c9[_0x44304e(0x235)](_0x4c1deb,_0x42f85b,{'allowSynchronousEvents':this[_0x44304e(0x2a7)][_0x44304e(0x1e2)],'maxPayload':this[_0x44304e(0x2a7)]['maxPayload'],'skipUTF8Validation':this[_0x44304e(0x2a7)][_0x44304e(0x231)]}),this[_0x44304e(0x335)]&&(this[_0x44304e(0x335)][_0x44304e(0x343)](_0x1cc2c9),_0x1cc2c9['on'](_0x44304e(0x1dd),()=>{const _0x540683=_0x44304e;this[_0x540683(0x335)][_0x540683(0x342)](_0x1cc2c9),this[_0x540683(0x2c0)]&&!this[_0x540683(0x335)][_0x540683(0x2c9)]&&process[_0x540683(0x2cb)](_0x4bfdac,this);})),_0x3ba32e(_0x1cc2c9,_0x17e404);}}Te=_0x4e33ae;function _0x1dea4b(_0x3bd49e,_0x222f4e){const _0x332d88=_0x57a95a;for(const _0x398ae3 of Object[_0x332d88(0x1ed)](_0x222f4e))_0x3bd49e['on'](_0x398ae3,_0x222f4e[_0x398ae3]);return function(){const _0x5ccb9f=_0x332d88;for(const _0x348d86 of Object['keys'](_0x222f4e))_0x3bd49e[_0x5ccb9f(0x374)](_0x348d86,_0x222f4e[_0x348d86]);};}function _0x4bfdac(_0x58f394){const _0xc1ebaa=_0x57a95a;_0x58f394[_0xc1ebaa(0x26a)]=_0x399649,_0x58f394[_0xc1ebaa(0x205)]('close');}function _0x53f814(){const _0x562543=_0x57a95a;this[_0x562543(0x258)]();}function _0x4fa8b6(_0x39e630,_0x3a58b0,_0x28c795,_0x15026c){const _0x2083c4=_0x57a95a;_0x28c795=_0x28c795||_0x591d49[_0x2083c4(0x232)][_0x3a58b0],_0x15026c={'Connection':_0x2083c4(0x1dd),'Content-Type':_0x2083c4(0x1ce),'Content-Length':Buffer[_0x2083c4(0x1e1)](_0x28c795),..._0x15026c},_0x39e630[_0x2083c4(0x262)](_0x2083c4(0x2d3),_0x39e630[_0x2083c4(0x258)]),_0x39e630[_0x2083c4(0x263)]('HTTP/1.1\x20'+_0x3a58b0+'\x20'+_0x591d49['STATUS_CODES'][_0x3a58b0]+'\x0d\x0a'+Object[_0x2083c4(0x1ed)](_0x15026c)[_0x2083c4(0x35c)](_0x53b2a7=>_0x53b2a7+':\x20'+_0x15026c[_0x53b2a7])[_0x2083c4(0x297)]('\x0d\x0a')+_0x2083c4(0x311)+_0x28c795);}function _0x58f2bf(_0x1c26ef,_0x3600e4,_0x3469ef,_0x48fc00,_0x4a4031){const _0x3a5b08=_0x57a95a;if(_0x1c26ef[_0x3a5b08(0x29d)](_0x3a5b08(0x2b2))){const _0x20aa47=new Error(_0x4a4031);Error[_0x3a5b08(0x278)](_0x20aa47,_0x58f2bf),_0x1c26ef[_0x3a5b08(0x205)]('wsClientError',_0x20aa47,_0x3469ef,_0x3600e4);}else _0x4fa8b6(_0x3469ef,_0x48fc00,_0x4a4031);}return Te;}Ft();var jt=Object[_0x49d410(0x2ec)],Wt=(_0x4d3e05,_0x358776,_0x3b95d6,_0x941ca4)=>{for(var _0x4cdb05=_0x941ca4>0x1?void 0x0:_0x941ca4?jt(_0x358776,_0x3b95d6):_0x358776,_0x529e37=_0x4d3e05['length']-0x1,_0x301c29;_0x529e37>=0x0;_0x529e37--)(_0x301c29=_0x4d3e05[_0x529e37])&&(_0x4cdb05=_0x301c29(_0x4cdb05)||_0x4cdb05);return _0x4cdb05;},qt=(_0x2e39ed,_0x4f0b03)=>(_0x27b564,_0x5451b3)=>_0x4f0b03(_0x27b564,_0x5451b3,_0x2e39ed);let ke=class extends A[_0x49d410(0x2a1)]{constructor(_0x538c82){const _0x38c802=_0x49d410;super(),this[_0x38c802(0x2bc)]=_0x538c82;}[_0x49d410(0x1f4)](_0x235740){const _0x2e897a=_0x49d410;var _0x1d6138;const _0x388b00=(_0x1d6138=this['_configService'][_0x2e897a(0x368)](fe))==null?void 0x0:_0x1d6138[_0x2e897a(0x316)];try{const _0xb74ead=new $t(_0x235740,{'headers':{..._0x388b00}}),_0x49fc90=new A[(_0x2e897a(0x313))]();return{'URL':_0x235740,'close':(_0x4b335f,_0x4e5701)=>{const _0x5ed1eb=_0x2e897a;_0xb74ead[_0x5ed1eb(0x1dd)](_0x4b335f,_0x4e5701),_0x49fc90['dispose']();},'send':_0xe038b9=>{_0xb74ead['send'](_0xe038b9);},'open$':new V[(_0x2e897a(0x20e))](_0x1b14b9=>{const _0x5ad052=_0x2e897a,_0x19ed7a=_0x2cbe69=>_0x1b14b9[_0x5ad052(0x286)](_0x2cbe69);_0xb74ead['addEventListener'](_0x5ad052(0x309),_0x19ed7a),_0x49fc90[_0x5ad052(0x343)](A[_0x5ad052(0x351)](()=>_0xb74ead['removeEventListener'](_0x5ad052(0x309),_0x19ed7a)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'close$':new V[(_0x2e897a(0x20e))](_0x3e052b=>{const _0xf4baf1=_0x2e897a,_0x1666de=_0x9604d0=>_0x3e052b[_0xf4baf1(0x286)](_0x9604d0);_0xb74ead[_0xf4baf1(0x2cf)](_0xf4baf1(0x1dd),_0x1666de),_0x49fc90[_0xf4baf1(0x343)](A[_0xf4baf1(0x351)](()=>_0xb74ead[_0xf4baf1(0x300)](_0xf4baf1(0x1dd),_0x1666de)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'error$':new V[(_0x2e897a(0x20e))](_0x4e1aee=>{const _0x29836b=_0x2e897a,_0x3de8ee=_0x401d71=>_0x4e1aee['next'](_0x401d71);_0xb74ead[_0x29836b(0x2cf)](_0x29836b(0x219),_0x3de8ee),_0x49fc90['add'](A[_0x29836b(0x351)](()=>_0xb74ead[_0x29836b(0x300)](_0x29836b(0x219),_0x3de8ee)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'message$':new V[(_0x2e897a(0x20e))](_0x22b118=>{const _0x52718c=_0x2e897a,_0x5f3028=_0x4a3ea7=>_0x22b118[_0x52718c(0x286)](_0x4a3ea7);_0xb74ead[_0x52718c(0x2cf)](_0x52718c(0x1b9),_0x5f3028),_0x49fc90[_0x52718c(0x343)](A['toDisposable'](()=>_0xb74ead['removeEventListener'](_0x52718c(0x1b9),_0x5f3028)));})[_0x2e897a(0x30f)](V['share']())};}catch(_0x3311bf){return console[_0x2e897a(0x219)](_0x3311bf),null;}}};ke=Wt([qt(0x0,A[_0x49d410(0x2f0)])],ke);var Gt=Object[_0x49d410(0x35e)],Vt=Object[_0x49d410(0x2ec)],Ht=(_0x514bfe,_0x5d7938,_0x2341a0)=>_0x5d7938 in _0x514bfe?Gt(_0x514bfe,_0x5d7938,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2341a0}):_0x514bfe[_0x5d7938]=_0x2341a0,zt=(_0x12aaad,_0x5afa99,_0x1f0589,_0x35cf6c)=>{const _0x5df05e=_0x49d410;for(var _0x4be5f7=_0x35cf6c>0x1?void 0x0:_0x35cf6c?Vt(_0x5afa99,_0x1f0589):_0x5afa99,_0x54ef1d=_0x12aaad[_0x5df05e(0x240)]-0x1,_0xa822cb;_0x54ef1d>=0x0;_0x54ef1d--)(_0xa822cb=_0x12aaad[_0x54ef1d])&&(_0x4be5f7=_0xa822cb(_0x4be5f7)||_0x4be5f7);return _0x4be5f7;},Ne=(_0x864fd,_0x39ea56)=>(_0x549ea3,_0x4559f5)=>_0x39ea56(_0x549ea3,_0x4559f5,_0x864fd),Yt=(_0x4f6d14,_0x3fe87f,_0x5f16b2)=>Ht(_0x4f6d14,_0x3fe87f+'',_0x5f16b2);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x49d410(0x1c7)]{constructor(_0x454429=Ct,_0x681a23,_0x4fa593,_0x35fb41){const _0x1d3a46=_0x49d410;_0x454429[_0x1d3a46(0x316)]||_0x681a23[_0x1d3a46(0x31d)](_0x1d3a46(0x34b)),super(),this[_0x1d3a46(0x2bc)]=_0x4fa593,this[_0x1d3a46(0x2a9)]=_0x35fb41,this[_0x1d3a46(0x2bc)][_0x1d3a46(0x319)](fe,_0x454429);}['onStarting'](){this['_registerDependencies']();}[_0x49d410(0x1c5)](){const _0x247462=_0x49d410;A['registerDependencies'](this[_0x247462(0x2a9)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x49d410(0x2b4)),exports[_0x49d410(0x291)]=zt([A[_0x49d410(0x28a)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x49d410(0x23c)]),Ne(0x2,A[_0x49d410(0x2f0)]),Ne(0x3,A['Inject'](A[_0x49d410(0x1c2)]))],exports[_0x49d410(0x291)]);var Kt=Object[_0x49d410(0x2ec)],Xt=(_0x3043c4,_0x580d07,_0x182387,_0x28287d)=>{for(var _0x2ff843=_0x28287d>0x1?void 0x0:_0x28287d?Kt(_0x580d07,_0x182387):_0x580d07,_0x441468=_0x3043c4['length']-0x1,_0x7c4eef;_0x441468>=0x0;_0x441468--)(_0x7c4eef=_0x3043c4[_0x441468])&&(_0x2ff843=_0x7c4eef(_0x2ff843)||_0x2ff843);return _0x2ff843;},ne=(_0x31964c,_0x460f00)=>(_0x2c3b99,_0x77842d)=>_0x460f00(_0x2c3b99,_0x77842d,_0x31964c);exports[_0x49d410(0x375)]=class extends st['CollaborationSocketService']{constructor(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee){const _0xfeebe4=_0x49d410;super(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee);const _0x2a2bfd=this['_configService'][_0xfeebe4(0x368)](fe);this[_0xfeebe4(0x33a)][_0xfeebe4(0x221)]({'interceptor':(_0x4f4467,_0x5d8d25)=>{const _0x1bd35f=_0xfeebe4;var _0x571cd1;const _0x1446b5=_0x4f4467[_0x1bd35f(0x2c4)];return(_0x571cd1=_0x2a2bfd==null?void 0x0:_0x2a2bfd[_0x1bd35f(0x316)])!=null&&_0x571cd1[_0x1bd35f(0x2bf)]&&_0x1446b5[_0x1bd35f(0x1e7)]('Cookie',_0x2a2bfd['customHeaders'][_0x1bd35f(0x2bf)]),_0x5d8d25(_0x4f4467);}});}async[_0x49d410(0x1f4)](_0x4df929){return this['_doCreateSocket'](_0x4df929);}},exports[_0x49d410(0x375)]=Xt([ne(0x0,A[_0x49d410(0x268)](A['Injector'])),ne(0x1,A[_0x49d410(0x268)](it[_0x49d410(0x2a4)])),ne(0x2,A[_0x49d410(0x2f0)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x49d410(0x30a)])],exports[_0x49d410(0x375)]),exports[_0x49d410(0x288)]=fe;