@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506061607 → 0.8.0-nightly.202506081606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1bbdf8=_0x507a;(function(_0x3df5b4,_0x16b16a){const _0x5de457=_0x507a,_0x5f277f=_0x3df5b4();while(!![]){try{const _0x5c10ee=parseInt(_0x5de457(0x198))/0x1+-parseInt(_0x5de457(0x246))/0x2+-parseInt(_0x5de457(0x26f))/0x3+parseInt(_0x5de457(0x1ff))/0x4+-parseInt(_0x5de457(0x151))/0x5+-parseInt(_0x5de457(0x21c))/0x6*(parseInt(_0x5de457(0x2c1))/0x7)+parseInt(_0x5de457(0x217))/0x8;if(_0x5c10ee===_0x16b16a)break;else _0x5f277f['push'](_0x5f277f['shift']());}catch(_0x345011){_0x5f277f['push'](_0x5f277f['shift']());}}}(_0x5a3f,0x672ef));Object[_0x1bbdf8(0x259)](exports,Symbol[_0x1bbdf8(0x1c3)],{'value':_0x1bbdf8(0x214)});const st=require(_0x1bbdf8(0x11a)),A=require('@univerjs/core'),it=require(_0x1bbdf8(0x19d)),V=require(_0x1bbdf8(0x273)),nt=require(_0x1bbdf8(0x252)),vt=require('https'),ot=require(_0x1bbdf8(0x14f)),St=require(_0x1bbdf8(0x264)),Et=require(_0x1bbdf8(0x28e)),Le=require(_0x1bbdf8(0x117)),oe=require('stream'),xt=require(_0x1bbdf8(0x19b)),bt=require(_0x1bbdf8(0x1f8)),wt=require(_0x1bbdf8(0x113)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x31127d){const _0x4d7da2=_0x1bbdf8;return _0x31127d&&_0x31127d[_0x4d7da2(0x236)]&&Object[_0x4d7da2(0x1b6)][_0x4d7da2(0x1ce)]['call'](_0x31127d,_0x4d7da2(0x179))?_0x31127d[_0x4d7da2(0x179)]:_0x31127d;}function at(_0xdc524d){const _0x3edfca=_0x1bbdf8;if(Object['prototype'][_0x3edfca(0x1ce)][_0x3edfca(0x1d3)](_0xdc524d,_0x3edfca(0x236)))return _0xdc524d;var _0xdd61=_0xdc524d[_0x3edfca(0x179)];if(typeof _0xdd61==_0x3edfca(0x247)){var _0x41005c=function _0x4ae285(){const _0x2259fb=_0x3edfca;return this instanceof _0x4ae285?Reflect[_0x2259fb(0x286)](_0xdd61,arguments,this[_0x2259fb(0x2a9)]):_0xdd61[_0x2259fb(0x26c)](this,arguments);};_0x41005c[_0x3edfca(0x1b6)]=_0xdd61[_0x3edfca(0x1b6)];}else _0x41005c={};return Object[_0x3edfca(0x259)](_0x41005c,_0x3edfca(0x236),{'value':!0x0}),Object[_0x3edfca(0x104)](_0xdc524d)[_0x3edfca(0x14b)](function(_0xdefba){const _0xf0e8b4=_0x3edfca;var _0x274ab5=Object[_0xf0e8b4(0x16f)](_0xdc524d,_0xdefba);Object['defineProperty'](_0x41005c,_0xdefba,_0x274ab5[_0xf0e8b4(0x23c)]?_0x274ab5:{'enumerable':!0x0,'get':function(){return _0xdc524d[_0xdefba];}});}),_0x41005c;}function _0x5a3f(){const _0x2ccbeb=['end','reason','status-code','clientNoContextTakeover','_totalPayloadLength','permessage-deflate','invalid\x20status\x20code\x20','_removeListeners','freeze','websocket','code','onclose','removeEventListener','startLoop','write','7TYOQTe','zlibDeflateOptions','servername','readable','WS_ERR_INVALID_OPCODE','protocolVersion','request','registerHTTPInterceptor','type','toLowerCase','size','hostname','normalizeParams','emitClose','method','headers','socket','binary','noServer','_errorEmitted','finishRequest','keys','allowSynchronousEvents','_fragments','WebSocket','accept','mask','CollaborationSocketService','_bufferedBytes','customHeaders','consume','_options','_shouldEmitClose','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','listenerCount','zlibInflateOptions','buffer','emit','onerror','_fin','crypto','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','@univerjs-pro/collaboration-client','UniverCollaborationClientNodePlugin','options','kType','cork','wss:','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','File','format','message','Unexpected\x20end\x20of\x20input','_httpService','OPEN','isIP','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_skipUTF8Validation','_redirects','arrayBuffer','kIsForOnEventAttribute','dequeue','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','binaryType','ILogService','Invalid\x20Upgrade\x20header','writeHead','autoPong','jobs','unexpected-response','offer','_loop','_readyState','ws+unix:','Connection:\x20Upgrade','digest','server_max_window_bits','buffers','_closeCode','_url','handleEvent','setTimeout','_closeFrameReceived','UniverCollaborationClientPlugin','readOnly','addEventListener','finished','_maxPayload','setSocket','handleProtocols','\x22:\x20','forEach','createConnection','Sec-WebSocket-Extensions:\x20','WS_NO_UTF_8_VALIDATE','http','_read','2616975cOeCTq','sha1','Sec-WebSocket-Protocol:\x20','value','\x22\x20must\x20have\x20only\x20a\x20single\x20value','nodebuffer','kListener','\x22\x20subprotocol\x20is\x20duplicated','acceptAsClient','upgrade','dataMessage','kRun','_allowSynchronousEvents','terminate','port','sec-websocket-version','_inflate','includes','haveLength','client_no_context_takeover','env','Injector','Server\x20sent\x20no\x20subprotocol','listening','number','slice','_maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','data','kError','getOwnPropertyDescriptor','_originalHostOrSocketPath','byteLength','readUInt16BE','socketPath','startsWith','unmask','verifyClient','getPayloadLength16','Plugin','default','wasClean','dispatch','catch','https:','add','nextTick','Basic\x20','_messageLength','Invalid\x20Sec-WebSocket-Accept\x20header','invalid\x20UTF-8\x20sequence','values','onmessage','join','\x0d\x0a\x0d\x0a','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','once','_destroy','replace','redirect','setNoDelay','shift','http:','isValidUTF8','_extensions','client','kTarget','concurrency','_payloadLength','server','CONNECTING','141456RhkDvX','protocol','indexOf','url','skipUTF8Validation','@univerjs/network','FIN\x20must\x20be\x20set','compress','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_readableState','_firstFragment','Max\x20payload\x20size\x20exceeded','HTTP/1.1\x20','WS_ERR_UNEXPECTED_RSV_2_3','set','writeUInt16BE','The\x20server\x20is\x20not\x20running','clientTracking','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','map','resume','connect','send','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','maxPayload','isPaused','invalid\x20opcode\x20','removeListener','WS_ERR_INVALID_UTF8','Invalid\x20value\x20for\x20parameter\x20\x22','prototype','listeners','opcode','isView','createError','_configService','password','_masked','getData','error','serverNoContextTakeover','Invalid\x20WebSocket\x20frame:\x20','getConfig','toStringTag','createSocket','_closeFrameSent','arraybuffer','test','connection','blob','ws:','invalid\x20opcode\x200','_decompress','_originalSecure','hasOwnProperty','pending','clients','host','COLLABORATION_CLIENT_NODE_CONFIG_KEY','call','_autoPong','sendFrame','alloc','createInflateRaw','The\x20\x22','Unexpected\x20character\x20at\x20index\x20','removeAllListeners','delete','authorization','_generateMask','maskBuffer','_injector','Observable','unshift','readyState','target','allocUnsafe','_protocol','_closeMessage','server_no_context_takeover','timeout','path','_binaryType','location','pause','Z_DEFAULT_WINDOWBITS','_compress','registerDependencies','GET','_server','_socket','acceptAsServer','WS_ERR_INVALID_CLOSE_CODE','_write','WS_ERR_EXPECTED_FIN','origin','zlib','handleUpgrade','auth','followRedirects','Invalid\x20HTTP\x20method','Unsupported\x20protocol\x20version:\x20','_threshold','804136CJvJzN','base64','Opening\x20handshake\x20has\x20timed\x20out','toString','STATUS_CODES','_req','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sec-websocket-extensions','writeUIntBE','CLOSED','read','isBuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','sec-websocket-accept','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','bind','Invalid\x20URL:\x20','Z_SYNC_FLUSH','_no_context_takeover','_writableState','Module','has','errorEmitted','22820424HwoGrQ','Blob','then','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','create','4280616nIpgXC','_paused','abort','readUInt32BE','update','ISocketService','_sender','completeUpgrade','_queue','perMessageDeflate','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','close','pong','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','entries','finish','text/html','length','_isServer','_state','concat','_fragmented','username','Sec-WebSocket-Protocol','endEmitted','toDisposable','__esModule','parse','share','callback','maxRedirects','ping','get','dispose','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','fragments','warn','clientMaxWindowBits','uncork','onopen','rsv1','charCodeAt','1631078ZXrmhm','function','getPayloadLength64','Upgrade:\x20websocket','flush','controlMessage','_receiver','DisposableCollection','_originalIpc','kAborted','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','RSV1\x20must\x20be\x20clear','events','fin','Unexpected\x20server\x20response:\x20','concurrencyLimit','pluginName','createServer','kData','defineProperty','HTTP/1.1\x20101\x20Switching\x20Protocols','_errored','setConfig','Sec-WebSocket-Extensions','response','sec-websocket-protocol','threshold','stream','kCode','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','net','pipe','generateMask','next','isArray','extensionName','NodeCollaborationSocketService','_opcode','apply','pow','getMask','2160102iMXVFv','_mask','shouldHandle','pathname','rxjs','_closeTimer','defaultPort','cookie','_buffers','wsClientError','setHeader','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','IConfigService','_deflate','captureStackTrace','Inject','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','object','isServer','decompress','push','enqueue','getInfo','construct','authorized','sec-websocket-key','_bufferedAmount','exports','open','cleanup','getBlobData','tls','from','createDeflateRaw','needDrain','species','bufferedAmount','kMessage','handshakeTimeout','WS_ERR_UNEXPECTED_MASK','frame','kDone','destroy','_final','address','CLOSING','Disposable','reset','string','Unknown\x20parameter\x20\x22','destroyed','serverMaxWindowBits','client_max_window_bits','total-length','WS_ERR_UNEXPECTED_RSV_1','MASK\x20must\x20be\x20clear','_max_window_bits','Sec-WebSocket-Accept:\x20','constructor','The\x20URL\x27s\x20pathname\x20is\x20empty','extensions','sec-websocket-origin','params','byteOffset','conclude','_registerDependencies','_compressed'];_0x5a3f=function(){return _0x2ccbeb;};return _0x5a3f();}var se={'exports':{}},ge,Ge;function H(){const _0x38cac7=_0x1bbdf8;if(Ge)return ge;Ge=0x1;const _0x2abff8=[_0x38cac7(0x156),'arraybuffer',_0x38cac7(0x23f)],_0x320c97=typeof Blob<'u';return _0x320c97&&_0x2abff8[_0x38cac7(0x283)]('blob'),ge={'BINARY_TYPES':_0x2abff8,'EMPTY_BUFFER':Buffer[_0x38cac7(0x1d6)](0x0),'GUID':_0x38cac7(0x20e),'hasBlob':_0x320c97,'kForOnEventAttribute':Symbol(_0x38cac7(0x12c)),'kListener':Symbol(_0x38cac7(0x157)),'kStatusCode':Symbol(_0x38cac7(0x2b4)),'kWebSocket':Symbol(_0x38cac7(0x2bb)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x1bbdf8(0x259)]({'__proto__':null,'default':Nt},Symbol[_0x1bbdf8(0x1c3)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x3bfbf6=_0x1bbdf8;if(Ve)return se[_0x3bfbf6(0x28a)];Ve=0x1;const {EMPTY_BUFFER:_0x10c591}=H(),_0x416416=Buffer[Symbol['species']];function _0x47fc34(_0x2e2252,_0x14cea3){const _0x503616=_0x3bfbf6;if(_0x2e2252[_0x503616(0x22d)]===0x0)return _0x10c591;if(_0x2e2252[_0x503616(0x22d)]===0x1)return _0x2e2252[0x0];const _0x4dd08d=Buffer[_0x503616(0x1e4)](_0x14cea3);let _0x419d1f=0x0;for(let _0x4342b5=0x0;_0x4342b5<_0x2e2252[_0x503616(0x22d)];_0x4342b5++){const _0x53e708=_0x2e2252[_0x4342b5];_0x4dd08d[_0x503616(0x1a6)](_0x53e708,_0x419d1f),_0x419d1f+=_0x53e708[_0x503616(0x22d)];}return _0x419d1f<_0x14cea3?new _0x416416(_0x4dd08d[_0x503616(0x113)],_0x4dd08d[_0x503616(0x2ae)],_0x419d1f):_0x4dd08d;}function _0x39f57d(_0x44cafc,_0x4fdc77,_0x1da348,_0x4d906a,_0x6f0abd){for(let _0x3ff53a=0x0;_0x3ff53a<_0x6f0abd;_0x3ff53a++)_0x1da348[_0x4d906a+_0x3ff53a]=_0x44cafc[_0x3ff53a]^_0x4fdc77[_0x3ff53a&0x3];}function _0x1b1dbd(_0x4ac86b,_0x307c5a){const _0xd60e78=_0x3bfbf6;for(let _0x28b26e=0x0;_0x28b26e<_0x4ac86b[_0xd60e78(0x22d)];_0x28b26e++)_0x4ac86b[_0x28b26e]^=_0x307c5a[_0x28b26e&0x3];}function _0x2c8937(_0x40d82e){const _0x2df801=_0x3bfbf6;return _0x40d82e[_0x2df801(0x22d)]===_0x40d82e['buffer']['byteLength']?_0x40d82e[_0x2df801(0x113)]:_0x40d82e['buffer'][_0x2df801(0x16a)](_0x40d82e[_0x2df801(0x2ae)],_0x40d82e[_0x2df801(0x2ae)]+_0x40d82e[_0x2df801(0x22d)]);}function _0x5e1c76(_0x3e53f1){const _0x396688=_0x3bfbf6;if(_0x5e1c76[_0x396688(0x144)]=!0x0,Buffer[_0x396688(0x20a)](_0x3e53f1))return _0x3e53f1;let _0x18ccc1;return _0x3e53f1 instanceof ArrayBuffer?_0x18ccc1=new _0x416416(_0x3e53f1):ArrayBuffer[_0x396688(0x1b9)](_0x3e53f1)?_0x18ccc1=new _0x416416(_0x3e53f1['buffer'],_0x3e53f1[_0x396688(0x2ae)],_0x3e53f1['byteLength']):(_0x18ccc1=Buffer[_0x396688(0x28f)](_0x3e53f1),_0x5e1c76[_0x396688(0x144)]=!0x1),_0x18ccc1;}if(se['exports']={'concat':_0x47fc34,'mask':_0x39f57d,'toArrayBuffer':_0x2c8937,'toBuffer':_0x5e1c76,'unmask':_0x1b1dbd},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x5b7e41=Lt;se[_0x3bfbf6(0x28a)]['mask']=function(_0x3ec515,_0x391b9a,_0x7a0e6c,_0x226202,_0x150dd0){const _0x4f4a64=_0x3bfbf6;_0x150dd0<0x30?_0x39f57d(_0x3ec515,_0x391b9a,_0x7a0e6c,_0x226202,_0x150dd0):_0x5b7e41[_0x4f4a64(0x109)](_0x3ec515,_0x391b9a,_0x7a0e6c,_0x226202,_0x150dd0);},se['exports'][_0x3bfbf6(0x175)]=function(_0x3aa2bb,_0x5e87f2){const _0x47097f=_0x3bfbf6;_0x3aa2bb[_0x47097f(0x22d)]<0x20?_0x1b1dbd(_0x3aa2bb,_0x5e87f2):_0x5b7e41['unmask'](_0x3aa2bb,_0x5e87f2);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2d9278=_0x1bbdf8;if(He)return ye;He=0x1;const _0x3a9150=Symbol(_0x2d9278(0x298)),_0x5e9112=Symbol(_0x2d9278(0x15c));class _0x1c553b{constructor(_0x13003c){const _0x452633=_0x2d9278;this[_0x3a9150]=()=>{const _0x5aebd5=_0x507a;this[_0x5aebd5(0x1cf)]--,this[_0x5e9112]();},this[_0x452633(0x194)]=_0x13003c||0x1/0x0,this[_0x452633(0x134)]=[],this[_0x452633(0x1cf)]=0x0;}[_0x2d9278(0x17e)](_0x5e9bf4){const _0x44670b=_0x2d9278;this[_0x44670b(0x134)][_0x44670b(0x283)](_0x5e9bf4),this[_0x5e9112]();}[_0x5e9112](){const _0x3859ea=_0x2d9278;if(this[_0x3859ea(0x1cf)]!==this['concurrency']&&this[_0x3859ea(0x134)][_0x3859ea(0x22d)]){const _0x830094=this['jobs'][_0x3859ea(0x18e)]();this[_0x3859ea(0x1cf)]++,_0x830094(this[_0x3a9150]);}}}return ye=_0x1c553b,ye;}var ve,ze;function he(){const _0x49a4ae=_0x1bbdf8;if(ze)return ve;ze=0x1;const _0x3e6013=bt,_0x11e0b6=ce(),_0x274a5e=Pt(),{kStatusCode:_0x350679}=H(),_0x517bb5=Buffer[Symbol[_0x49a4ae(0x292)]],_0xbc8dd3=Buffer[_0x49a4ae(0x28f)]([0x0,0x0,0xff,0xff]),_0x565f60=Symbol(_0x49a4ae(0x2b7)),_0x2a6bb7=Symbol(_0x49a4ae(0x2a4)),_0x5e2768=Symbol(_0x49a4ae(0x239)),_0x20ab71=Symbol(_0x49a4ae(0x13d)),_0x166e3d=Symbol(_0x49a4ae(0x1bf));let _0x50bdc8;class _0x5067be{constructor(_0x30bc87,_0x301502,_0x3591d6){const _0x2b69a1=_0x49a4ae;if(this[_0x2b69a1(0x147)]=_0x3591d6|0x0,this[_0x2b69a1(0x10e)]=_0x30bc87||{},this[_0x2b69a1(0x1fe)]=this[_0x2b69a1(0x10e)][_0x2b69a1(0x260)]!==void 0x0?this[_0x2b69a1(0x10e)][_0x2b69a1(0x260)]:0x400,this[_0x2b69a1(0x22e)]=!!_0x301502,this[_0x2b69a1(0x27c)]=null,this[_0x2b69a1(0x161)]=null,this[_0x2b69a1(0x2ad)]=null,!_0x50bdc8){const _0x5d2330=this[_0x2b69a1(0x10e)]['concurrencyLimit']!==void 0x0?this[_0x2b69a1(0x10e)][_0x2b69a1(0x255)]:0xa;_0x50bdc8=new _0x274a5e(_0x5d2330);}}static get[_0x49a4ae(0x269)](){const _0x46a62b=_0x49a4ae;return _0x46a62b(0x2b7);}[_0x49a4ae(0x136)](){const _0x36af21=_0x49a4ae,_0x59e70a={};return this['_options'][_0x36af21(0x1c0)]&&(_0x59e70a[_0x36af21(0x1e7)]=!0x0),this[_0x36af21(0x10e)][_0x36af21(0x2b5)]&&(_0x59e70a[_0x36af21(0x164)]=!0x0),this[_0x36af21(0x10e)][_0x36af21(0x2a2)]&&(_0x59e70a['server_max_window_bits']=this[_0x36af21(0x10e)][_0x36af21(0x2a2)]),this[_0x36af21(0x10e)][_0x36af21(0x241)]?_0x59e70a[_0x36af21(0x2a3)]=this[_0x36af21(0x10e)][_0x36af21(0x241)]:this[_0x36af21(0x10e)][_0x36af21(0x241)]==null&&(_0x59e70a[_0x36af21(0x2a3)]=!0x0),_0x59e70a;}[_0x49a4ae(0x108)](_0x406679){const _0x33fb03=_0x49a4ae;return _0x406679=this[_0x33fb03(0xfb)](_0x406679),this['params']=this[_0x33fb03(0x22e)]?this[_0x33fb03(0x1f3)](_0x406679):this[_0x33fb03(0x159)](_0x406679),this['params'];}[_0x49a4ae(0x28c)](){const _0x1ce6c7=_0x49a4ae;if(this[_0x1ce6c7(0x161)]&&(this[_0x1ce6c7(0x161)][_0x1ce6c7(0x227)](),this[_0x1ce6c7(0x161)]=null),this[_0x1ce6c7(0x27c)]){const _0x52d2eb=this[_0x1ce6c7(0x27c)][_0x5e2768];this[_0x1ce6c7(0x27c)][_0x1ce6c7(0x227)](),this[_0x1ce6c7(0x27c)]=null,_0x52d2eb&&_0x52d2eb(new Error(_0x1ce6c7(0x21a)));}}[_0x49a4ae(0x1f3)](_0x35c67c){const _0x508fbe=_0x49a4ae,_0x10c19e=this[_0x508fbe(0x10e)],_0x82c695=_0x35c67c['find'](_0xf77aa7=>!(_0x10c19e[_0x508fbe(0x1c0)]===!0x1&&_0xf77aa7[_0x508fbe(0x1e7)]||_0xf77aa7[_0x508fbe(0x13c)]&&(_0x10c19e[_0x508fbe(0x2a2)]===!0x1||typeof _0x10c19e[_0x508fbe(0x2a2)]==_0x508fbe(0x169)&&_0x10c19e[_0x508fbe(0x2a2)]>_0xf77aa7['server_max_window_bits'])||typeof _0x10c19e[_0x508fbe(0x241)]==_0x508fbe(0x169)&&!_0xf77aa7['client_max_window_bits']));if(!_0x82c695)throw new Error(_0x508fbe(0x119));return _0x10c19e['serverNoContextTakeover']&&(_0x82c695[_0x508fbe(0x1e7)]=!0x0),_0x10c19e[_0x508fbe(0x2b5)]&&(_0x82c695[_0x508fbe(0x164)]=!0x0),typeof _0x10c19e[_0x508fbe(0x2a2)]==_0x508fbe(0x169)&&(_0x82c695['server_max_window_bits']=_0x10c19e[_0x508fbe(0x2a2)]),typeof _0x10c19e[_0x508fbe(0x241)]=='number'?_0x82c695[_0x508fbe(0x2a3)]=_0x10c19e[_0x508fbe(0x241)]:(_0x82c695['client_max_window_bits']===!0x0||_0x10c19e[_0x508fbe(0x241)]===!0x1)&&delete _0x82c695['client_max_window_bits'],_0x82c695;}[_0x49a4ae(0x159)](_0x46db0f){const _0xaab94b=_0x49a4ae,_0x288694=_0x46db0f[0x0];if(this[_0xaab94b(0x10e)][_0xaab94b(0x2b5)]===!0x1&&_0x288694[_0xaab94b(0x164)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x288694['client_max_window_bits'])typeof this[_0xaab94b(0x10e)][_0xaab94b(0x241)]==_0xaab94b(0x169)&&(_0x288694[_0xaab94b(0x2a3)]=this[_0xaab94b(0x10e)][_0xaab94b(0x241)]);else{if(this[_0xaab94b(0x10e)][_0xaab94b(0x241)]===!0x1||typeof this[_0xaab94b(0x10e)][_0xaab94b(0x241)]==_0xaab94b(0x169)&&_0x288694['client_max_window_bits']>this['_options']['clientMaxWindowBits'])throw new Error(_0xaab94b(0x205));}return _0x288694;}[_0x49a4ae(0xfb)](_0x513dc2){return _0x513dc2['forEach'](_0x39e570=>{const _0x13ba0a=_0x507a;Object['keys'](_0x39e570)[_0x13ba0a(0x14b)](_0x35f078=>{const _0x1b4dc6=_0x13ba0a;let _0x4dfbe9=_0x39e570[_0x35f078];if(_0x4dfbe9[_0x1b4dc6(0x22d)]>0x1)throw new Error('Parameter\x20\x22'+_0x35f078+_0x1b4dc6(0x155));if(_0x4dfbe9=_0x4dfbe9[0x0],_0x35f078===_0x1b4dc6(0x2a3)){if(_0x4dfbe9!==!0x0){const _0x4c16cf=+_0x4dfbe9;if(!Number['isInteger'](_0x4c16cf)||_0x4c16cf<0x8||_0x4c16cf>0xf)throw new TypeError(_0x1b4dc6(0x1b5)+_0x35f078+_0x1b4dc6(0x14a)+_0x4dfbe9);_0x4dfbe9=_0x4c16cf;}else{if(!this[_0x1b4dc6(0x22e)])throw new TypeError(_0x1b4dc6(0x1b5)+_0x35f078+'\x22:\x20'+_0x4dfbe9);}}else{if(_0x35f078==='server_max_window_bits'){const _0x130e96=+_0x4dfbe9;if(!Number['isInteger'](_0x130e96)||_0x130e96<0x8||_0x130e96>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35f078+_0x1b4dc6(0x14a)+_0x4dfbe9);_0x4dfbe9=_0x130e96;}else{if(_0x35f078===_0x1b4dc6(0x164)||_0x35f078===_0x1b4dc6(0x1e7)){if(_0x4dfbe9!==!0x0)throw new TypeError(_0x1b4dc6(0x1b5)+_0x35f078+_0x1b4dc6(0x14a)+_0x4dfbe9);}else throw new Error(_0x1b4dc6(0x2a0)+_0x35f078+'\x22');}}_0x39e570[_0x35f078]=_0x4dfbe9;});}),_0x513dc2;}[_0x49a4ae(0x282)](_0xaf2a22,_0x366391,_0x3fc9e1){const _0xf33405=_0x49a4ae;_0x50bdc8[_0xf33405(0x17e)](_0x545ef8=>{const _0x377ce6=_0xf33405;this[_0x377ce6(0x1cc)](_0xaf2a22,_0x366391,(_0x3e34c2,_0x580624)=>{_0x545ef8(),_0x3fc9e1(_0x3e34c2,_0x580624);});});}[_0x49a4ae(0x19f)](_0x5855b2,_0x234480,_0x5d4851){const _0x31ba8f=_0x49a4ae;_0x50bdc8[_0x31ba8f(0x17e)](_0x29b7fc=>{this['_compress'](_0x5855b2,_0x234480,(_0x63508a,_0x370332)=>{_0x29b7fc(),_0x5d4851(_0x63508a,_0x370332);});});}['_decompress'](_0x1917c5,_0x3aa1b8,_0x1783e0){const _0x4df7b6=_0x49a4ae,_0xb76be1=this[_0x4df7b6(0x22e)]?_0x4df7b6(0x192):'server';if(!this[_0x4df7b6(0x161)]){const _0x4b4495=_0xb76be1+_0x4df7b6(0x2a7),_0x3f53aa=typeof this[_0x4df7b6(0x2ad)][_0x4b4495]!=_0x4df7b6(0x169)?_0x3e6013[_0x4df7b6(0x1ed)]:this[_0x4df7b6(0x2ad)][_0x4b4495];this[_0x4df7b6(0x161)]=_0x3e6013[_0x4df7b6(0x1d7)]({...this[_0x4df7b6(0x10e)][_0x4df7b6(0x112)],'windowBits':_0x3f53aa}),this['_inflate'][_0x565f60]=this,this[_0x4df7b6(0x161)][_0x2a6bb7]=0x0,this[_0x4df7b6(0x161)][_0x20ab71]=[],this[_0x4df7b6(0x161)]['on'](_0x4df7b6(0x1bf),_0x426b54),this[_0x4df7b6(0x161)]['on']('data',_0x56f2d4);}this[_0x4df7b6(0x161)][_0x5e2768]=_0x1783e0,this[_0x4df7b6(0x161)][_0x4df7b6(0x2c0)](_0x1917c5),_0x3aa1b8&&this[_0x4df7b6(0x161)]['write'](_0xbc8dd3),this[_0x4df7b6(0x161)][_0x4df7b6(0x24a)](()=>{const _0x2a4e60=_0x4df7b6,_0x5c3405=this[_0x2a4e60(0x161)][_0x166e3d];if(_0x5c3405){this['_inflate'][_0x2a4e60(0x227)](),this[_0x2a4e60(0x161)]=null,_0x1783e0(_0x5c3405);return;}const _0xaa5f35=_0x11e0b6[_0x2a4e60(0x230)](this[_0x2a4e60(0x161)][_0x20ab71],this['_inflate'][_0x2a6bb7]);this[_0x2a4e60(0x161)][_0x2a4e60(0x1a1)][_0x2a4e60(0x234)]?(this[_0x2a4e60(0x161)][_0x2a4e60(0x227)](),this[_0x2a4e60(0x161)]=null):(this[_0x2a4e60(0x161)][_0x2a6bb7]=0x0,this[_0x2a4e60(0x161)][_0x20ab71]=[],_0x3aa1b8&&this[_0x2a4e60(0x2ad)][_0xb76be1+_0x2a4e60(0x212)]&&this['_inflate']['reset']()),_0x1783e0(null,_0xaa5f35);});}['_compress'](_0x19417f,_0x17d0c1,_0x51bb85){const _0xf3b91d=_0x49a4ae,_0x37fa2e=this[_0xf3b91d(0x22e)]?_0xf3b91d(0x196):_0xf3b91d(0x192);if(!this[_0xf3b91d(0x27c)]){const _0x1fcf31=_0x37fa2e+_0xf3b91d(0x2a7),_0x3cc7a6=typeof this[_0xf3b91d(0x2ad)][_0x1fcf31]!=_0xf3b91d(0x169)?_0x3e6013[_0xf3b91d(0x1ed)]:this[_0xf3b91d(0x2ad)][_0x1fcf31];this[_0xf3b91d(0x27c)]=_0x3e6013[_0xf3b91d(0x290)]({...this[_0xf3b91d(0x10e)][_0xf3b91d(0x2c2)],'windowBits':_0x3cc7a6}),this[_0xf3b91d(0x27c)][_0x2a6bb7]=0x0,this['_deflate'][_0x20ab71]=[],this[_0xf3b91d(0x27c)]['on'](_0xf3b91d(0x16d),_0x3dbbcb);}this[_0xf3b91d(0x27c)][_0x5e2768]=_0x51bb85,this[_0xf3b91d(0x27c)]['write'](_0x19417f),this[_0xf3b91d(0x27c)]['flush'](_0x3e6013[_0xf3b91d(0x211)],()=>{const _0x473908=_0xf3b91d;if(!this[_0x473908(0x27c)])return;let _0x10f189=_0x11e0b6['concat'](this[_0x473908(0x27c)][_0x20ab71],this[_0x473908(0x27c)][_0x2a6bb7]);_0x17d0c1&&(_0x10f189=new _0x517bb5(_0x10f189[_0x473908(0x113)],_0x10f189[_0x473908(0x2ae)],_0x10f189[_0x473908(0x22d)]-0x4)),this[_0x473908(0x27c)][_0x5e2768]=null,this[_0x473908(0x27c)][_0x2a6bb7]=0x0,this[_0x473908(0x27c)][_0x20ab71]=[],_0x17d0c1&&this['params'][_0x37fa2e+_0x473908(0x212)]&&this[_0x473908(0x27c)][_0x473908(0x29e)](),_0x51bb85(null,_0x10f189);});}}ve=_0x5067be;function _0x3dbbcb(_0x5dda88){const _0x1104a4=_0x49a4ae;this[_0x20ab71]['push'](_0x5dda88),this[_0x2a6bb7]+=_0x5dda88[_0x1104a4(0x22d)];}function _0x56f2d4(_0x544cd1){const _0x383850=_0x49a4ae;if(this[_0x2a6bb7]+=_0x544cd1[_0x383850(0x22d)],this[_0x565f60][_0x383850(0x147)]<0x1||this[_0x2a6bb7]<=this[_0x565f60][_0x383850(0x147)]){this[_0x20ab71][_0x383850(0x283)](_0x544cd1);return;}this[_0x166e3d]=new RangeError(_0x383850(0x1a3)),this[_0x166e3d][_0x383850(0x2bc)]=_0x383850(0x23e),this[_0x166e3d][_0x350679]=0x3f1,this[_0x383850(0x1b3)]('data',_0x56f2d4),this[_0x383850(0x29e)]();}function _0x426b54(_0x40c33f){const _0x5b4fe5=_0x49a4ae;if(this[_0x565f60][_0x5b4fe5(0x161)]=null,this[_0x166e3d]){this[_0x5e2768](this[_0x166e3d]);return;}_0x40c33f[_0x350679]=0x3ef,this[_0x5e2768](_0x40c33f);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1bbdf8(0x2ba)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x1bbdf8(0x1c3)],{'value':_0x1bbdf8(0x214)})),Bt=at(Rt);var Ye;function _0x507a(_0x1ba891,_0xc5318f){const _0x5a3fd7=_0x5a3f();return _0x507a=function(_0x507a6a,_0x8219e9){_0x507a6a=_0x507a6a-0xf5;let _0x1fad31=_0x5a3fd7[_0x507a6a];return _0x1fad31;},_0x507a(_0x1ba891,_0xc5318f);}function ae(){const _0x32e689=_0x1bbdf8;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x5edb8a}=wt,{hasBlob:_0x404fb2}=H(),_0x4065f5=[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 _0x29a6f5(_0x209e1b){return _0x209e1b>=0x3e8&&_0x209e1b<=0x3f6&&_0x209e1b!==0x3ec&&_0x209e1b!==0x3ed&&_0x209e1b!==0x3ee||_0x209e1b>=0xbb8&&_0x209e1b<=0x1387;}function _0x1232e8(_0x2f3479){const _0xe6bd9d=_0x507a,_0x4cf08b=_0x2f3479[_0xe6bd9d(0x22d)];let _0x1d3f18=0x0;for(;_0x1d3f18<_0x4cf08b;)if((_0x2f3479[_0x1d3f18]&0x80)===0x0)_0x1d3f18++;else{if((_0x2f3479[_0x1d3f18]&0xe0)===0xc0){if(_0x1d3f18+0x1===_0x4cf08b||(_0x2f3479[_0x1d3f18+0x1]&0xc0)!==0x80||(_0x2f3479[_0x1d3f18]&0xfe)===0xc0)return!0x1;_0x1d3f18+=0x2;}else{if((_0x2f3479[_0x1d3f18]&0xf0)===0xe0){if(_0x1d3f18+0x2>=_0x4cf08b||(_0x2f3479[_0x1d3f18+0x1]&0xc0)!==0x80||(_0x2f3479[_0x1d3f18+0x2]&0xc0)!==0x80||_0x2f3479[_0x1d3f18]===0xe0&&(_0x2f3479[_0x1d3f18+0x1]&0xe0)===0x80||_0x2f3479[_0x1d3f18]===0xed&&(_0x2f3479[_0x1d3f18+0x1]&0xe0)===0xa0)return!0x1;_0x1d3f18+=0x3;}else{if((_0x2f3479[_0x1d3f18]&0xf8)===0xf0){if(_0x1d3f18+0x3>=_0x4cf08b||(_0x2f3479[_0x1d3f18+0x1]&0xc0)!==0x80||(_0x2f3479[_0x1d3f18+0x2]&0xc0)!==0x80||(_0x2f3479[_0x1d3f18+0x3]&0xc0)!==0x80||_0x2f3479[_0x1d3f18]===0xf0&&(_0x2f3479[_0x1d3f18+0x1]&0xf0)===0x80||_0x2f3479[_0x1d3f18]===0xf4&&_0x2f3479[_0x1d3f18+0x1]>0x8f||_0x2f3479[_0x1d3f18]>0xf4)return!0x1;_0x1d3f18+=0x4;}else return!0x1;}}}return!0x0;}function _0x194feb(_0x1bba76){const _0x193714=_0x507a;return _0x404fb2&&typeof _0x1bba76==_0x193714(0x280)&&typeof _0x1bba76[_0x193714(0x12b)]=='function'&&typeof _0x1bba76[_0x193714(0xf7)]==_0x193714(0x29f)&&typeof _0x1bba76[_0x193714(0x261)]=='function'&&(_0x1bba76[Symbol[_0x193714(0x1c3)]]===_0x193714(0x218)||_0x1bba76[Symbol[_0x193714(0x1c3)]]===_0x193714(0x121));}if(ie[_0x32e689(0x28a)]={'isBlob':_0x194feb,'isValidStatusCode':_0x29a6f5,'isValidUTF8':_0x1232e8,'tokenChars':_0x4065f5},_0x5edb8a)ie[_0x32e689(0x28a)]['isValidUTF8']=function(_0x313c57){const _0x56f051=_0x32e689;return _0x313c57[_0x56f051(0x22d)]<0x18?_0x1232e8(_0x313c57):_0x5edb8a(_0x313c57);};else{if(!process[_0x32e689(0x165)][_0x32e689(0x14e)])try{const _0x1b5883=Bt;ie[_0x32e689(0x28a)][_0x32e689(0x190)]=function(_0x21b798){const _0x35a33b=_0x32e689;return _0x21b798[_0x35a33b(0x22d)]<0x20?_0x1232e8(_0x21b798):_0x1b5883(_0x21b798);};}catch{}}return ie[_0x32e689(0x28a)];}var Se,Ke;function lt(){const _0x559430=_0x1bbdf8;if(Ke)return Se;Ke=0x1;const {Writable:_0x171c8d}=oe,_0x4131a6=he(),{BINARY_TYPES:_0x79563c,EMPTY_BUFFER:_0x1bfcc4,kStatusCode:_0x5afd75,kWebSocket:_0x2c7b0e}=H(),{concat:_0x2024e7,toArrayBuffer:_0x4b2a9d,unmask:_0x25ecb8}=ce(),{isValidStatusCode:_0x264cab,isValidUTF8:_0x28dd5e}=ae(),_0x36f6b8=Buffer[Symbol[_0x559430(0x292)]],_0x3b3cca=0x0,_0x1582a4=0x1,_0x58fb1f=0x2,_0x124689=0x3,_0x57c18f=0x4,_0x199dcf=0x5,_0x11067b=0x6;class _0x3e72df extends _0x171c8d{constructor(_0x1f2ea1={}){const _0x2101c6=_0x559430;super(),this['_allowSynchronousEvents']=_0x1f2ea1['allowSynchronousEvents']!==void 0x0?_0x1f2ea1[_0x2101c6(0x105)]:!0x0,this[_0x2101c6(0x1ea)]=_0x1f2ea1[_0x2101c6(0x12f)]||_0x79563c[0x0],this['_extensions']=_0x1f2ea1[_0x2101c6(0x2ab)]||{},this[_0x2101c6(0x22e)]=!!_0x1f2ea1[_0x2101c6(0x281)],this[_0x2101c6(0x147)]=_0x1f2ea1['maxPayload']|0x0,this[_0x2101c6(0x129)]=!!_0x1f2ea1['skipUTF8Validation'],this[_0x2c7b0e]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2101c6(0x277)]=[],this[_0x2101c6(0x2b1)]=!0x1,this[_0x2101c6(0x195)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x2101c6(0x1bd)]=!0x1,this[_0x2101c6(0x116)]=!0x1,this[_0x2101c6(0x26b)]=0x0,this[_0x2101c6(0x2b6)]=0x0,this['_messageLength']=0x0,this[_0x2101c6(0x106)]=[],this[_0x2101c6(0x25b)]=!0x1,this[_0x2101c6(0x137)]=!0x1,this[_0x2101c6(0x22f)]=_0x3b3cca;}[_0x559430(0x1f5)](_0x516abe,_0xc7f4b2,_0x173217){const _0x44cb31=_0x559430;if(this[_0x44cb31(0x26b)]===0x8&&this[_0x44cb31(0x22f)]==_0x3b3cca)return _0x173217();this[_0x44cb31(0x10b)]+=_0x516abe[_0x44cb31(0x22d)],this[_0x44cb31(0x277)][_0x44cb31(0x283)](_0x516abe),this[_0x44cb31(0x2bf)](_0x173217);}[_0x559430(0x10d)](_0x227edc){const _0x15f964=_0x559430;if(this[_0x15f964(0x10b)]-=_0x227edc,_0x227edc===this[_0x15f964(0x277)][0x0]['length'])return this[_0x15f964(0x277)][_0x15f964(0x18e)]();if(_0x227edc<this[_0x15f964(0x277)][0x0][_0x15f964(0x22d)]){const _0x2d7fa2=this[_0x15f964(0x277)][0x0];return this[_0x15f964(0x277)][0x0]=new _0x36f6b8(_0x2d7fa2['buffer'],_0x2d7fa2[_0x15f964(0x2ae)]+_0x227edc,_0x2d7fa2[_0x15f964(0x22d)]-_0x227edc),new _0x36f6b8(_0x2d7fa2[_0x15f964(0x113)],_0x2d7fa2[_0x15f964(0x2ae)],_0x227edc);}const _0x5e0181=Buffer['allocUnsafe'](_0x227edc);do{const _0xa8f02a=this[_0x15f964(0x277)][0x0],_0x1ef6d1=_0x5e0181[_0x15f964(0x22d)]-_0x227edc;_0x227edc>=_0xa8f02a[_0x15f964(0x22d)]?_0x5e0181[_0x15f964(0x1a6)](this[_0x15f964(0x277)][_0x15f964(0x18e)](),_0x1ef6d1):(_0x5e0181[_0x15f964(0x1a6)](new Uint8Array(_0xa8f02a[_0x15f964(0x113)],_0xa8f02a['byteOffset'],_0x227edc),_0x1ef6d1),this[_0x15f964(0x277)][0x0]=new _0x36f6b8(_0xa8f02a['buffer'],_0xa8f02a['byteOffset']+_0x227edc,_0xa8f02a['length']-_0x227edc)),_0x227edc-=_0xa8f02a[_0x15f964(0x22d)];}while(_0x227edc>0x0);return _0x5e0181;}['startLoop'](_0x4c5505){const _0x161a4b=_0x559430;this[_0x161a4b(0x137)]=!0x0;do switch(this[_0x161a4b(0x22f)]){case _0x3b3cca:this[_0x161a4b(0x285)](_0x4c5505);break;case _0x1582a4:this['getPayloadLength16'](_0x4c5505);break;case _0x58fb1f:this[_0x161a4b(0x248)](_0x4c5505);break;case _0x124689:this['getMask']();break;case _0x57c18f:this[_0x161a4b(0x1be)](_0x4c5505);break;case _0x199dcf:case _0x11067b:this[_0x161a4b(0x137)]=!0x1;return;}while(this[_0x161a4b(0x137)]);this['_errored']||_0x4c5505();}[_0x559430(0x285)](_0x4a0d8b){const _0x509ff0=_0x559430;if(this[_0x509ff0(0x10b)]<0x2){this[_0x509ff0(0x137)]=!0x1;return;}const _0x1cc665=this[_0x509ff0(0x10d)](0x2);if((_0x1cc665[0x0]&0x30)!==0x0){const _0x1f7606=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x27f),!0x0,0x3ea,_0x509ff0(0x1a5));_0x4a0d8b(_0x1f7606);return;}const _0x4e9644=(_0x1cc665[0x0]&0x40)===0x40;if(_0x4e9644&&!this['_extensions'][_0x4131a6[_0x509ff0(0x269)]]){const _0x238173=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x251),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a0d8b(_0x238173);return;}if(this[_0x509ff0(0x116)]=(_0x1cc665[0x0]&0x80)===0x80,this[_0x509ff0(0x26b)]=_0x1cc665[0x0]&0xf,this[_0x509ff0(0x195)]=_0x1cc665[0x1]&0x7f,this['_opcode']===0x0){if(_0x4e9644){const _0x4d4c05=this['createError'](RangeError,_0x509ff0(0x251),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a0d8b(_0x4d4c05);return;}if(!this['_fragmented']){const _0x24e112=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x1cb),!0x0,0x3ea,_0x509ff0(0x2c5));_0x4a0d8b(_0x24e112);return;}this[_0x509ff0(0x26b)]=this[_0x509ff0(0x231)];}else{if(this[_0x509ff0(0x26b)]===0x1||this['_opcode']===0x2){if(this[_0x509ff0(0x231)]){const _0x78f21e=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x1b2)+this['_opcode'],!0x0,0x3ea,_0x509ff0(0x2c5));_0x4a0d8b(_0x78f21e);return;}this[_0x509ff0(0x2b1)]=_0x4e9644;}else{if(this[_0x509ff0(0x26b)]>0x7&&this[_0x509ff0(0x26b)]<0xb){if(!this[_0x509ff0(0x116)]){const _0x1043d2=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x19e),!0x0,0x3ea,_0x509ff0(0x1f6));_0x4a0d8b(_0x1043d2);return;}if(_0x4e9644){const _0x30b835=this['createError'](RangeError,_0x509ff0(0x251),!0x0,0x3ea,_0x509ff0(0x2a5));_0x4a0d8b(_0x30b835);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x509ff0(0x195)]===0x1){const _0xeea706=this[_0x509ff0(0x1ba)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4a0d8b(_0xeea706);return;}}else{const _0x296ed9=this[_0x509ff0(0x1ba)](RangeError,_0x509ff0(0x1b2)+this['_opcode'],!0x0,0x3ea,_0x509ff0(0x2c5));_0x4a0d8b(_0x296ed9);return;}}}if(!this[_0x509ff0(0x116)]&&!this[_0x509ff0(0x231)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x1cc665[0x1]&0x80)===0x80,this[_0x509ff0(0x22e)]){if(!this['_masked']){const _0x29d459=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a0d8b(_0x29d459);return;}}else{if(this[_0x509ff0(0x1bd)]){const _0x4b8061=this['createError'](RangeError,_0x509ff0(0x2a6),!0x0,0x3ea,_0x509ff0(0x296));_0x4a0d8b(_0x4b8061);return;}}this[_0x509ff0(0x195)]===0x7e?this['_state']=_0x1582a4:this[_0x509ff0(0x195)]===0x7f?this['_state']=_0x58fb1f:this[_0x509ff0(0x163)](_0x4a0d8b);}[_0x559430(0x177)](_0x4f3a71){const _0x1a2482=_0x559430;if(this[_0x1a2482(0x10b)]<0x2){this[_0x1a2482(0x137)]=!0x1;return;}this[_0x1a2482(0x195)]=this[_0x1a2482(0x10d)](0x2)[_0x1a2482(0x172)](0x0),this[_0x1a2482(0x163)](_0x4f3a71);}[_0x559430(0x248)](_0x5a0da6){const _0x1108f8=_0x559430;if(this[_0x1108f8(0x10b)]<0x8){this[_0x1108f8(0x137)]=!0x1;return;}const _0x35e14c=this['consume'](0x8),_0x3c900b=_0x35e14c[_0x1108f8(0x21f)](0x0);if(_0x3c900b>Math['pow'](0x2,0x15)-0x1){const _0x355a1e=this[_0x1108f8(0x1ba)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5a0da6(_0x355a1e);return;}this[_0x1108f8(0x195)]=_0x3c900b*Math[_0x1108f8(0x26d)](0x2,0x20)+_0x35e14c['readUInt32BE'](0x4),this[_0x1108f8(0x163)](_0x5a0da6);}[_0x559430(0x163)](_0x48cb38){const _0xfb2089=_0x559430;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0xfb2089(0x2b6)]+=this[_0xfb2089(0x195)],this['_totalPayloadLength']>this[_0xfb2089(0x147)]&&this[_0xfb2089(0x147)]>0x0)){const _0x4a5b21=this[_0xfb2089(0x1ba)](RangeError,_0xfb2089(0x1a3),!0x1,0x3f1,_0xfb2089(0x23e));_0x48cb38(_0x4a5b21);return;}this[_0xfb2089(0x1bd)]?this[_0xfb2089(0x22f)]=_0x124689:this[_0xfb2089(0x22f)]=_0x57c18f;}[_0x559430(0x26e)](){const _0x157040=_0x559430;if(this[_0x157040(0x10b)]<0x4){this[_0x157040(0x137)]=!0x1;return;}this[_0x157040(0x270)]=this[_0x157040(0x10d)](0x4),this[_0x157040(0x22f)]=_0x57c18f;}[_0x559430(0x1be)](_0x17b75d){const _0x4c9864=_0x559430;let _0xd8f5d5=_0x1bfcc4;if(this[_0x4c9864(0x195)]){if(this[_0x4c9864(0x10b)]<this['_payloadLength']){this[_0x4c9864(0x137)]=!0x1;return;}_0xd8f5d5=this[_0x4c9864(0x10d)](this['_payloadLength']),this[_0x4c9864(0x1bd)]&&(this[_0x4c9864(0x270)][0x0]|this[_0x4c9864(0x270)][0x1]|this[_0x4c9864(0x270)][0x2]|this[_0x4c9864(0x270)][0x3])!==0x0&&_0x25ecb8(_0xd8f5d5,this[_0x4c9864(0x270)]);}if(this[_0x4c9864(0x26b)]>0x7){this['controlMessage'](_0xd8f5d5,_0x17b75d);return;}if(this[_0x4c9864(0x2b1)]){this[_0x4c9864(0x22f)]=_0x199dcf,this[_0x4c9864(0x282)](_0xd8f5d5,_0x17b75d);return;}_0xd8f5d5[_0x4c9864(0x22d)]&&(this[_0x4c9864(0x181)]=this[_0x4c9864(0x2b6)],this[_0x4c9864(0x106)]['push'](_0xd8f5d5)),this['dataMessage'](_0x17b75d);}['decompress'](_0x553103,_0x34fb22){const _0x2f6dd6=_0x559430;this['_extensions'][_0x4131a6[_0x2f6dd6(0x269)]][_0x2f6dd6(0x282)](_0x553103,this[_0x2f6dd6(0x116)],(_0x5f3cc7,_0x5741bf)=>{const _0x1cde64=_0x2f6dd6;if(_0x5f3cc7)return _0x34fb22(_0x5f3cc7);if(_0x5741bf['length']){if(this[_0x1cde64(0x181)]+=_0x5741bf['length'],this[_0x1cde64(0x181)]>this[_0x1cde64(0x147)]&&this['_maxPayload']>0x0){const _0x2a9a11=this['createError'](RangeError,_0x1cde64(0x1a3),!0x1,0x3f1,_0x1cde64(0x23e));_0x34fb22(_0x2a9a11);return;}this[_0x1cde64(0x106)][_0x1cde64(0x283)](_0x5741bf);}this[_0x1cde64(0x15b)](_0x34fb22),this[_0x1cde64(0x22f)]===_0x3b3cca&&this[_0x1cde64(0x2bf)](_0x34fb22);});}[_0x559430(0x15b)](_0xb6a3dc){const _0x313a15=_0x559430;if(!this[_0x313a15(0x116)]){this[_0x313a15(0x22f)]=_0x3b3cca;return;}const _0x215533=this[_0x313a15(0x181)],_0x5d18ea=this[_0x313a15(0x106)];if(this[_0x313a15(0x2b6)]=0x0,this[_0x313a15(0x181)]=0x0,this[_0x313a15(0x231)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x318e2b;this[_0x313a15(0x1ea)]==='nodebuffer'?_0x318e2b=_0x2024e7(_0x5d18ea,_0x215533):this[_0x313a15(0x1ea)]===_0x313a15(0x1c6)?_0x318e2b=_0x4b2a9d(_0x2024e7(_0x5d18ea,_0x215533)):this[_0x313a15(0x1ea)]===_0x313a15(0x1c9)?_0x318e2b=new Blob(_0x5d18ea):_0x318e2b=_0x5d18ea,this[_0x313a15(0x15d)]?(this['emit'](_0x313a15(0x123),_0x318e2b,!0x0),this[_0x313a15(0x22f)]=_0x3b3cca):(this['_state']=_0x11067b,setImmediate(()=>{const _0x4b3bc9=_0x313a15;this[_0x4b3bc9(0x114)](_0x4b3bc9(0x123),_0x318e2b,!0x0),this['_state']=_0x3b3cca,this[_0x4b3bc9(0x2bf)](_0xb6a3dc);}));}else{const _0x3d8827=_0x2024e7(_0x5d18ea,_0x215533);if(!this[_0x313a15(0x129)]&&!_0x28dd5e(_0x3d8827)){const _0x2c5744=this[_0x313a15(0x1ba)](Error,_0x313a15(0x183),!0x0,0x3ef,_0x313a15(0x1b4));_0xb6a3dc(_0x2c5744);return;}this[_0x313a15(0x22f)]===_0x199dcf||this['_allowSynchronousEvents']?(this[_0x313a15(0x114)]('message',_0x3d8827,!0x1),this[_0x313a15(0x22f)]=_0x3b3cca):(this[_0x313a15(0x22f)]=_0x11067b,setImmediate(()=>{const _0x445a19=_0x313a15;this[_0x445a19(0x114)](_0x445a19(0x123),_0x3d8827,!0x1),this['_state']=_0x3b3cca,this['startLoop'](_0xb6a3dc);}));}}[_0x559430(0x24b)](_0x478f01,_0xc0574d){const _0x25abfb=_0x559430;if(this[_0x25abfb(0x26b)]===0x8){if(_0x478f01[_0x25abfb(0x22d)]===0x0)this['_loop']=!0x1,this['emit'](_0x25abfb(0x2af),0x3ed,_0x1bfcc4),this['end']();else{const _0x1c856e=_0x478f01['readUInt16BE'](0x0);if(!_0x264cab(_0x1c856e)){const _0x3eb088=this[_0x25abfb(0x1ba)](RangeError,_0x25abfb(0x2b8)+_0x1c856e,!0x0,0x3ea,_0x25abfb(0x1f4));_0xc0574d(_0x3eb088);return;}const _0x16e9ab=new _0x36f6b8(_0x478f01['buffer'],_0x478f01[_0x25abfb(0x2ae)]+0x2,_0x478f01[_0x25abfb(0x22d)]-0x2);if(!this[_0x25abfb(0x129)]&&!_0x28dd5e(_0x16e9ab)){const _0x259c9f=this['createError'](Error,_0x25abfb(0x183),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xc0574d(_0x259c9f);return;}this[_0x25abfb(0x137)]=!0x1,this[_0x25abfb(0x114)](_0x25abfb(0x2af),_0x1c856e,_0x16e9ab),this[_0x25abfb(0x2b2)]();}this['_state']=_0x3b3cca;return;}this['_allowSynchronousEvents']?(this['emit'](this['_opcode']===0x9?'ping':_0x25abfb(0x228),_0x478f01),this[_0x25abfb(0x22f)]=_0x3b3cca):(this[_0x25abfb(0x22f)]=_0x11067b,setImmediate(()=>{const _0x3f03b4=_0x25abfb;this['emit'](this[_0x3f03b4(0x26b)]===0x9?'ping':_0x3f03b4(0x228),_0x478f01),this['_state']=_0x3b3cca,this[_0x3f03b4(0x2bf)](_0xc0574d);}));}[_0x559430(0x1ba)](_0x12c557,_0x17db86,_0x41e0da,_0x297dbb,_0x29060b){const _0x4c81f0=_0x559430;this[_0x4c81f0(0x137)]=!0x1,this[_0x4c81f0(0x25b)]=!0x0;const _0x23d06c=new _0x12c557(_0x41e0da?_0x4c81f0(0x1c1)+_0x17db86:_0x17db86);return Error[_0x4c81f0(0x27d)](_0x23d06c,this['createError']),_0x23d06c[_0x4c81f0(0x2bc)]=_0x29060b,_0x23d06c[_0x5afd75]=_0x297dbb,_0x23d06c;}}return Se=_0x3e72df,Se;}var Ee,Xe;function ft(){const _0x4482b7=_0x1bbdf8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x26657d}=oe,{randomFillSync:_0x4cce41}=Le,_0x24befb=he(),{EMPTY_BUFFER:_0x33ad6a,kWebSocket:_0x3767d9,NOOP:_0x3cbb45}=H(),{isBlob:_0x221d7c,isValidStatusCode:_0x66dfdb}=ae(),{mask:_0x13f36f,toBuffer:_0x951c7e}=ce(),_0x558153=Symbol('kByteLength'),_0x1fdfb1=Buffer['alloc'](0x4),_0x56a6c2=0x8*0x400;let _0x19ae6c,_0x1b54c9=_0x56a6c2;const _0x433e66=0x0,_0x1ba8b3=0x1,_0x3eb53e=0x2;class _0x4293d3{constructor(_0x185363,_0x5deb54,_0x53c26c){const _0x31dfc1=_0x507a;this['_extensions']=_0x5deb54||{},_0x53c26c&&(this[_0x31dfc1(0x1dd)]=_0x53c26c,this[_0x31dfc1(0x16b)]=Buffer[_0x31dfc1(0x1d6)](0x4)),this[_0x31dfc1(0x1f2)]=_0x185363,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x31dfc1(0x10b)]=0x0,this[_0x31dfc1(0x224)]=[],this[_0x31dfc1(0x22f)]=_0x433e66,this['onerror']=_0x3cbb45,this[_0x3767d9]=void 0x0;}static[_0x4482b7(0x297)](_0x494e4e,_0x120930){const _0x1e4fdf=_0x4482b7;let _0x4dc2c5,_0x2ea619=!0x1,_0x500945=0x2,_0xe4f24b=!0x1;_0x120930[_0x1e4fdf(0x109)]&&(_0x4dc2c5=_0x120930[_0x1e4fdf(0x1de)]||_0x1fdfb1,_0x120930['generateMask']?_0x120930[_0x1e4fdf(0x266)](_0x4dc2c5):(_0x1b54c9===_0x56a6c2&&(_0x19ae6c===void 0x0&&(_0x19ae6c=Buffer[_0x1e4fdf(0x1d6)](_0x56a6c2)),_0x4cce41(_0x19ae6c,0x0,_0x56a6c2),_0x1b54c9=0x0),_0x4dc2c5[0x0]=_0x19ae6c[_0x1b54c9++],_0x4dc2c5[0x1]=_0x19ae6c[_0x1b54c9++],_0x4dc2c5[0x2]=_0x19ae6c[_0x1b54c9++],_0x4dc2c5[0x3]=_0x19ae6c[_0x1b54c9++]),_0xe4f24b=(_0x4dc2c5[0x0]|_0x4dc2c5[0x1]|_0x4dc2c5[0x2]|_0x4dc2c5[0x3])===0x0,_0x500945=0x6);let _0x2091ed;typeof _0x494e4e==_0x1e4fdf(0x29f)?(!_0x120930['mask']||_0xe4f24b)&&_0x120930[_0x558153]!==void 0x0?_0x2091ed=_0x120930[_0x558153]:(_0x494e4e=Buffer['from'](_0x494e4e),_0x2091ed=_0x494e4e['length']):(_0x2091ed=_0x494e4e['length'],_0x2ea619=_0x120930[_0x1e4fdf(0x109)]&&_0x120930[_0x1e4fdf(0x144)]&&!_0xe4f24b);let _0x9c2c59=_0x2091ed;_0x2091ed>=0x10000?(_0x500945+=0x8,_0x9c2c59=0x7f):_0x2091ed>0x7d&&(_0x500945+=0x2,_0x9c2c59=0x7e);const _0x21b41c=Buffer[_0x1e4fdf(0x1e4)](_0x2ea619?_0x2091ed+_0x500945:_0x500945);return _0x21b41c[0x0]=_0x120930[_0x1e4fdf(0x253)]?_0x120930[_0x1e4fdf(0x1b8)]|0x80:_0x120930[_0x1e4fdf(0x1b8)],_0x120930[_0x1e4fdf(0x244)]&&(_0x21b41c[0x0]|=0x40),_0x21b41c[0x1]=_0x9c2c59,_0x9c2c59===0x7e?_0x21b41c[_0x1e4fdf(0x1a7)](_0x2091ed,0x2):_0x9c2c59===0x7f&&(_0x21b41c[0x2]=_0x21b41c[0x3]=0x0,_0x21b41c[_0x1e4fdf(0x207)](_0x2091ed,0x4,0x6)),_0x120930[_0x1e4fdf(0x109)]?(_0x21b41c[0x1]|=0x80,_0x21b41c[_0x500945-0x4]=_0x4dc2c5[0x0],_0x21b41c[_0x500945-0x3]=_0x4dc2c5[0x1],_0x21b41c[_0x500945-0x2]=_0x4dc2c5[0x2],_0x21b41c[_0x500945-0x1]=_0x4dc2c5[0x3],_0xe4f24b?[_0x21b41c,_0x494e4e]:_0x2ea619?(_0x13f36f(_0x494e4e,_0x4dc2c5,_0x21b41c,_0x500945,_0x2091ed),[_0x21b41c]):(_0x13f36f(_0x494e4e,_0x4dc2c5,_0x494e4e,0x0,_0x2091ed),[_0x21b41c,_0x494e4e])):[_0x21b41c,_0x494e4e];}['close'](_0x46dfa2,_0x2d15a4,_0x152bab,_0x21ea0e){const _0x38dcf4=_0x4482b7;let _0x2add9a;if(_0x46dfa2===void 0x0)_0x2add9a=_0x33ad6a;else{if(typeof _0x46dfa2!=_0x38dcf4(0x169)||!_0x66dfdb(_0x46dfa2))throw new TypeError(_0x38dcf4(0x128));if(_0x2d15a4===void 0x0||!_0x2d15a4['length'])_0x2add9a=Buffer[_0x38dcf4(0x1e4)](0x2),_0x2add9a[_0x38dcf4(0x1a7)](_0x46dfa2,0x0);else{const _0x326e62=Buffer['byteLength'](_0x2d15a4);if(_0x326e62>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2add9a=Buffer[_0x38dcf4(0x1e4)](0x2+_0x326e62),_0x2add9a[_0x38dcf4(0x1a7)](_0x46dfa2,0x0),typeof _0x2d15a4==_0x38dcf4(0x29f)?_0x2add9a[_0x38dcf4(0x2c0)](_0x2d15a4,0x2):_0x2add9a[_0x38dcf4(0x1a6)](_0x2d15a4,0x2);}}const _0x3adcf9={[_0x558153]:_0x2add9a[_0x38dcf4(0x22d)],'fin':!0x0,'generateMask':this[_0x38dcf4(0x1dd)],'mask':_0x152bab,'maskBuffer':this[_0x38dcf4(0x16b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x38dcf4(0x22f)]!==_0x433e66?this['enqueue']([this[_0x38dcf4(0x17b)],_0x2add9a,!0x1,_0x3adcf9,_0x21ea0e]):this[_0x38dcf4(0x1d5)](_0x4293d3[_0x38dcf4(0x297)](_0x2add9a,_0x3adcf9),_0x21ea0e);}['ping'](_0xea4d1e,_0x35f736,_0x423526){const _0x1b1cc2=_0x4482b7;let _0x36fa23,_0x2eabac;if(typeof _0xea4d1e==_0x1b1cc2(0x29f)?(_0x36fa23=Buffer[_0x1b1cc2(0x171)](_0xea4d1e),_0x2eabac=!0x1):_0x221d7c(_0xea4d1e)?(_0x36fa23=_0xea4d1e[_0x1b1cc2(0xf9)],_0x2eabac=!0x1):(_0xea4d1e=_0x951c7e(_0xea4d1e),_0x36fa23=_0xea4d1e[_0x1b1cc2(0x22d)],_0x2eabac=_0x951c7e[_0x1b1cc2(0x144)]),_0x36fa23>0x7d)throw new RangeError(_0x1b1cc2(0x1af));const _0x35257={[_0x558153]:_0x36fa23,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x35f736,'maskBuffer':this[_0x1b1cc2(0x16b)],'opcode':0x9,'readOnly':_0x2eabac,'rsv1':!0x1};_0x221d7c(_0xea4d1e)?this[_0x1b1cc2(0x22f)]!==_0x433e66?this['enqueue']([this[_0x1b1cc2(0x28d)],_0xea4d1e,!0x1,_0x35257,_0x423526]):this[_0x1b1cc2(0x28d)](_0xea4d1e,!0x1,_0x35257,_0x423526):this['_state']!==_0x433e66?this[_0x1b1cc2(0x284)]([this[_0x1b1cc2(0x17b)],_0xea4d1e,!0x1,_0x35257,_0x423526]):this[_0x1b1cc2(0x1d5)](_0x4293d3['frame'](_0xea4d1e,_0x35257),_0x423526);}[_0x4482b7(0x228)](_0xf8d13b,_0x2b8a52,_0xd3559d){const _0x5a7284=_0x4482b7;let _0x3048e7,_0x18db89;if(typeof _0xf8d13b==_0x5a7284(0x29f)?(_0x3048e7=Buffer[_0x5a7284(0x171)](_0xf8d13b),_0x18db89=!0x1):_0x221d7c(_0xf8d13b)?(_0x3048e7=_0xf8d13b['size'],_0x18db89=!0x1):(_0xf8d13b=_0x951c7e(_0xf8d13b),_0x3048e7=_0xf8d13b[_0x5a7284(0x22d)],_0x18db89=_0x951c7e['readOnly']),_0x3048e7>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5754f7={[_0x558153]:_0x3048e7,'fin':!0x0,'generateMask':this[_0x5a7284(0x1dd)],'mask':_0x2b8a52,'maskBuffer':this[_0x5a7284(0x16b)],'opcode':0xa,'readOnly':_0x18db89,'rsv1':!0x1};_0x221d7c(_0xf8d13b)?this['_state']!==_0x433e66?this[_0x5a7284(0x284)]([this[_0x5a7284(0x28d)],_0xf8d13b,!0x1,_0x5754f7,_0xd3559d]):this[_0x5a7284(0x28d)](_0xf8d13b,!0x1,_0x5754f7,_0xd3559d):this[_0x5a7284(0x22f)]!==_0x433e66?this[_0x5a7284(0x284)]([this[_0x5a7284(0x17b)],_0xf8d13b,!0x1,_0x5754f7,_0xd3559d]):this[_0x5a7284(0x1d5)](_0x4293d3[_0x5a7284(0x297)](_0xf8d13b,_0x5754f7),_0xd3559d);}[_0x4482b7(0x1ae)](_0x108937,_0x5716f6,_0x4ecd25){const _0x37ef85=_0x4482b7,_0x44067f=this['_extensions'][_0x24befb[_0x37ef85(0x269)]];let _0x44bbe8=_0x5716f6[_0x37ef85(0x100)]?0x2:0x1,_0x4fdc54=_0x5716f6[_0x37ef85(0x19f)],_0x3287cf,_0x5719d0;typeof _0x108937==_0x37ef85(0x29f)?(_0x3287cf=Buffer[_0x37ef85(0x171)](_0x108937),_0x5719d0=!0x1):_0x221d7c(_0x108937)?(_0x3287cf=_0x108937[_0x37ef85(0xf9)],_0x5719d0=!0x1):(_0x108937=_0x951c7e(_0x108937),_0x3287cf=_0x108937['length'],_0x5719d0=_0x951c7e[_0x37ef85(0x144)]),this['_firstFragment']?(this[_0x37ef85(0x1a2)]=!0x1,_0x4fdc54&&_0x44067f&&_0x44067f['params'][_0x44067f[_0x37ef85(0x22e)]?_0x37ef85(0x1e7):'client_no_context_takeover']&&(_0x4fdc54=_0x3287cf>=_0x44067f[_0x37ef85(0x1fe)]),this[_0x37ef85(0x1ee)]=_0x4fdc54):(_0x4fdc54=!0x1,_0x44bbe8=0x0),_0x5716f6['fin']&&(this[_0x37ef85(0x1a2)]=!0x0);const _0x361035={[_0x558153]:_0x3287cf,'fin':_0x5716f6[_0x37ef85(0x253)],'generateMask':this[_0x37ef85(0x1dd)],'mask':_0x5716f6[_0x37ef85(0x109)],'maskBuffer':this['_maskBuffer'],'opcode':_0x44bbe8,'readOnly':_0x5719d0,'rsv1':_0x4fdc54};_0x221d7c(_0x108937)?this[_0x37ef85(0x22f)]!==_0x433e66?this[_0x37ef85(0x284)]([this[_0x37ef85(0x28d)],_0x108937,this[_0x37ef85(0x1ee)],_0x361035,_0x4ecd25]):this[_0x37ef85(0x28d)](_0x108937,this['_compress'],_0x361035,_0x4ecd25):this[_0x37ef85(0x22f)]!==_0x433e66?this[_0x37ef85(0x284)]([this[_0x37ef85(0x17b)],_0x108937,this[_0x37ef85(0x1ee)],_0x361035,_0x4ecd25]):this[_0x37ef85(0x17b)](_0x108937,this['_compress'],_0x361035,_0x4ecd25);}[_0x4482b7(0x28d)](_0x38f343,_0x26bec4,_0x395b00,_0x34ba41){const _0x392722=_0x4482b7;this[_0x392722(0x10b)]+=_0x395b00[_0x558153],this['_state']=_0x3eb53e,_0x38f343[_0x392722(0x12b)]()[_0x392722(0x219)](_0x3f1bee=>{const _0x4cbda4=_0x392722;if(this[_0x4cbda4(0x1f2)]['destroyed']){const _0xb84f05=new Error(_0x4cbda4(0x263));process[_0x4cbda4(0x17f)](_0x28ffe0,this,_0xb84f05,_0x34ba41);return;}this[_0x4cbda4(0x10b)]-=_0x395b00[_0x558153];const _0x4c3137=_0x951c7e(_0x3f1bee);_0x26bec4?this['dispatch'](_0x4c3137,_0x26bec4,_0x395b00,_0x34ba41):(this[_0x4cbda4(0x22f)]=_0x433e66,this['sendFrame'](_0x4293d3[_0x4cbda4(0x297)](_0x4c3137,_0x395b00),_0x34ba41),this[_0x4cbda4(0x12d)]());})[_0x392722(0x17c)](_0x533e18=>{process['nextTick'](_0x510f6c,this,_0x533e18,_0x34ba41);});}['dispatch'](_0x430b44,_0x402d74,_0x1a5421,_0xf202dd){const _0x5e000c=_0x4482b7;if(!_0x402d74){this[_0x5e000c(0x1d5)](_0x4293d3['frame'](_0x430b44,_0x1a5421),_0xf202dd);return;}const _0x1577ef=this[_0x5e000c(0x191)][_0x24befb[_0x5e000c(0x269)]];this['_bufferedBytes']+=_0x1a5421[_0x558153],this[_0x5e000c(0x22f)]=_0x1ba8b3,_0x1577ef[_0x5e000c(0x19f)](_0x430b44,_0x1a5421[_0x5e000c(0x253)],(_0x582a8e,_0x22f0f7)=>{const _0x48f211=_0x5e000c;if(this[_0x48f211(0x1f2)][_0x48f211(0x2a1)]){const _0xed92c=new Error(_0x48f211(0x120));_0x28ffe0(this,_0xed92c,_0xf202dd);return;}this[_0x48f211(0x10b)]-=_0x1a5421[_0x558153],this[_0x48f211(0x22f)]=_0x433e66,_0x1a5421['readOnly']=!0x1,this[_0x48f211(0x1d5)](_0x4293d3[_0x48f211(0x297)](_0x22f0f7,_0x1a5421),_0xf202dd),this[_0x48f211(0x12d)]();});}[_0x4482b7(0x12d)](){const _0x881533=_0x4482b7;for(;this[_0x881533(0x22f)]===_0x433e66&&this[_0x881533(0x224)][_0x881533(0x22d)];){const _0x144f9a=this[_0x881533(0x224)][_0x881533(0x18e)]();this[_0x881533(0x10b)]-=_0x144f9a[0x3][_0x558153],Reflect[_0x881533(0x26c)](_0x144f9a[0x0],this,_0x144f9a['slice'](0x1));}}['enqueue'](_0x2897d1){const _0x179a68=_0x4482b7;this['_bufferedBytes']+=_0x2897d1[0x3][_0x558153],this[_0x179a68(0x224)][_0x179a68(0x283)](_0x2897d1);}[_0x4482b7(0x1d5)](_0x5428a4,_0x1ecb70){const _0x2fddb6=_0x4482b7;_0x5428a4[_0x2fddb6(0x22d)]===0x2?(this[_0x2fddb6(0x1f2)][_0x2fddb6(0x11e)](),this[_0x2fddb6(0x1f2)][_0x2fddb6(0x2c0)](_0x5428a4[0x0]),this['_socket'][_0x2fddb6(0x2c0)](_0x5428a4[0x1],_0x1ecb70),this[_0x2fddb6(0x1f2)][_0x2fddb6(0x242)]()):this[_0x2fddb6(0x1f2)]['write'](_0x5428a4[0x0],_0x1ecb70);}}Ee=_0x4293d3;function _0x28ffe0(_0x4f2db5,_0x3146ca,_0x151ab0){const _0x273b95=_0x4482b7;typeof _0x151ab0==_0x273b95(0x247)&&_0x151ab0(_0x3146ca);for(let _0x7b931b=0x0;_0x7b931b<_0x4f2db5[_0x273b95(0x224)]['length'];_0x7b931b++){const _0x3d5f67=_0x4f2db5['_queue'][_0x7b931b],_0x361370=_0x3d5f67[_0x3d5f67[_0x273b95(0x22d)]-0x1];typeof _0x361370==_0x273b95(0x247)&&_0x361370(_0x3146ca);}}function _0x510f6c(_0x2f8feb,_0x461543,_0x89d458){const _0x175fe9=_0x4482b7;_0x28ffe0(_0x2f8feb,_0x461543,_0x89d458),_0x2f8feb[_0x175fe9(0x115)](_0x461543);}return Ee;}var xe,Ze;function It(){const _0x12808d=_0x1bbdf8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x554404,kListener:_0x130c8e}=H(),_0x5b831b=Symbol(_0x12808d(0x262)),_0x2ccc62=Symbol(_0x12808d(0x258)),_0x5b4506=Symbol(_0x12808d(0x16e)),_0x47f39a=Symbol(_0x12808d(0x294)),_0x50b63c=Symbol('kReason'),_0xed8980=Symbol(_0x12808d(0x193)),_0x27d73b=Symbol(_0x12808d(0x11d)),_0x28d1c0=Symbol('kWasClean');class _0x3304a3{constructor(_0x6d1cc3){this[_0xed8980]=null,this[_0x27d73b]=_0x6d1cc3;}get['target'](){return this[_0xed8980];}get['type'](){return this[_0x27d73b];}}Object[_0x12808d(0x259)](_0x3304a3[_0x12808d(0x1b6)],_0x12808d(0x1e3),{'enumerable':!0x0}),Object[_0x12808d(0x259)](_0x3304a3[_0x12808d(0x1b6)],_0x12808d(0xf7),{'enumerable':!0x0});class _0x1e0918 extends _0x3304a3{constructor(_0x5214a0,_0x129884={}){const _0x2be3dd=_0x12808d;super(_0x5214a0),this[_0x5b831b]=_0x129884[_0x2be3dd(0x2bc)]===void 0x0?0x0:_0x129884['code'],this[_0x50b63c]=_0x129884[_0x2be3dd(0x2b3)]===void 0x0?'':_0x129884[_0x2be3dd(0x2b3)],this[_0x28d1c0]=_0x129884['wasClean']===void 0x0?!0x1:_0x129884[_0x2be3dd(0x17a)];}get['code'](){return this[_0x5b831b];}get[_0x12808d(0x2b3)](){return this[_0x50b63c];}get[_0x12808d(0x17a)](){return this[_0x28d1c0];}}Object[_0x12808d(0x259)](_0x1e0918[_0x12808d(0x1b6)],_0x12808d(0x2bc),{'enumerable':!0x0}),Object[_0x12808d(0x259)](_0x1e0918[_0x12808d(0x1b6)],'reason',{'enumerable':!0x0}),Object[_0x12808d(0x259)](_0x1e0918[_0x12808d(0x1b6)],_0x12808d(0x17a),{'enumerable':!0x0});class _0x29434e extends _0x3304a3{constructor(_0x3f2b37,_0x19f97e={}){const _0x40a375=_0x12808d;super(_0x3f2b37),this[_0x5b4506]=_0x19f97e[_0x40a375(0x1bf)]===void 0x0?null:_0x19f97e['error'],this[_0x47f39a]=_0x19f97e[_0x40a375(0x123)]===void 0x0?'':_0x19f97e[_0x40a375(0x123)];}get[_0x12808d(0x1bf)](){return this[_0x5b4506];}get['message'](){return this[_0x47f39a];}}Object[_0x12808d(0x259)](_0x29434e['prototype'],_0x12808d(0x1bf),{'enumerable':!0x0}),Object[_0x12808d(0x259)](_0x29434e[_0x12808d(0x1b6)],_0x12808d(0x123),{'enumerable':!0x0});class _0x31a6d7 extends _0x3304a3{constructor(_0x11c647,_0x591186={}){const _0x3630db=_0x12808d;super(_0x11c647),this[_0x2ccc62]=_0x591186[_0x3630db(0x16d)]===void 0x0?null:_0x591186['data'];}get['data'](){return this[_0x2ccc62];}}Object['defineProperty'](_0x31a6d7['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1e0918,'ErrorEvent':_0x29434e,'Event':_0x3304a3,'EventTarget':{'addEventListener'(_0x11ef9c,_0x567cf6,_0x1be9ef={}){const _0x5b751f=_0x12808d;for(const _0x292fae of this[_0x5b751f(0x1b7)](_0x11ef9c))if(!_0x1be9ef[_0x554404]&&_0x292fae[_0x130c8e]===_0x567cf6&&!_0x292fae[_0x554404])return;let _0xb3c252;if(_0x11ef9c===_0x5b751f(0x123))_0xb3c252=function(_0x1f9df5,_0x514717){const _0x421f90=_0x5b751f,_0x14fb57=new _0x31a6d7('message',{'data':_0x514717?_0x1f9df5:_0x1f9df5[_0x421f90(0x202)]()});_0x14fb57[_0xed8980]=this,_0x13c532(_0x567cf6,this,_0x14fb57);};else{if(_0x11ef9c===_0x5b751f(0x227))_0xb3c252=function(_0x3b6db5,_0x512073){const _0x3e1984=_0x5b751f,_0x58863f=new _0x1e0918(_0x3e1984(0x227),{'code':_0x3b6db5,'reason':_0x512073[_0x3e1984(0x202)](),'wasClean':this[_0x3e1984(0x142)]&&this['_closeFrameSent']});_0x58863f[_0xed8980]=this,_0x13c532(_0x567cf6,this,_0x58863f);};else{if(_0x11ef9c===_0x5b751f(0x1bf))_0xb3c252=function(_0x4ab1d1){const _0x3c9b9d=_0x5b751f,_0x24cefa=new _0x29434e(_0x3c9b9d(0x1bf),{'error':_0x4ab1d1,'message':_0x4ab1d1[_0x3c9b9d(0x123)]});_0x24cefa[_0xed8980]=this,_0x13c532(_0x567cf6,this,_0x24cefa);};else{if(_0x11ef9c===_0x5b751f(0x28b))_0xb3c252=function(){const _0x47ff7d=_0x5b751f,_0x15e56b=new _0x3304a3(_0x47ff7d(0x28b));_0x15e56b[_0xed8980]=this,_0x13c532(_0x567cf6,this,_0x15e56b);};else return;}}}_0xb3c252[_0x554404]=!!_0x1be9ef[_0x554404],_0xb3c252[_0x130c8e]=_0x567cf6,_0x1be9ef[_0x5b751f(0x189)]?this[_0x5b751f(0x189)](_0x11ef9c,_0xb3c252):this['on'](_0x11ef9c,_0xb3c252);},'removeEventListener'(_0x302a1c,_0x9b9065){const _0x2218a0=_0x12808d;for(const _0x13dab7 of this[_0x2218a0(0x1b7)](_0x302a1c))if(_0x13dab7[_0x130c8e]===_0x9b9065&&!_0x13dab7[_0x554404]){this[_0x2218a0(0x1b3)](_0x302a1c,_0x13dab7);break;}}},'MessageEvent':_0x31a6d7};function _0x13c532(_0x2875d4,_0x50720c,_0x1f47ca){const _0x3c06f=_0x12808d;typeof _0x2875d4=='object'&&_0x2875d4[_0x3c06f(0x140)]?_0x2875d4[_0x3c06f(0x140)][_0x3c06f(0x1d3)](_0x2875d4,_0x1f47ca):_0x2875d4['call'](_0x50720c,_0x1f47ca);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x206ab5}=ae();function _0x1e2785(_0xb9f183,_0x3346ed,_0x516b38){const _0x325c50=_0x507a;_0xb9f183[_0x3346ed]===void 0x0?_0xb9f183[_0x3346ed]=[_0x516b38]:_0xb9f183[_0x3346ed][_0x325c50(0x283)](_0x516b38);}function _0x42e7da(_0x3c5502){const _0x2fe0e3=_0x507a,_0x2fb771=Object[_0x2fe0e3(0x21b)](null);let _0x48ca84=Object[_0x2fe0e3(0x21b)](null),_0x5b7b7a=!0x1,_0x1a09ec=!0x1,_0x3171c1=!0x1,_0x313263,_0x5a88e8,_0x4a0ab4=-0x1,_0x1d19e6=-0x1,_0x19551e=-0x1,_0x29de95=0x0;for(;_0x29de95<_0x3c5502['length'];_0x29de95++)if(_0x1d19e6=_0x3c5502[_0x2fe0e3(0x245)](_0x29de95),_0x313263===void 0x0){if(_0x19551e===-0x1&&_0x206ab5[_0x1d19e6]===0x1)_0x4a0ab4===-0x1&&(_0x4a0ab4=_0x29de95);else{if(_0x29de95!==0x0&&(_0x1d19e6===0x20||_0x1d19e6===0x9))_0x19551e===-0x1&&_0x4a0ab4!==-0x1&&(_0x19551e=_0x29de95);else{if(_0x1d19e6===0x3b||_0x1d19e6===0x2c){if(_0x4a0ab4===-0x1)throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);_0x19551e===-0x1&&(_0x19551e=_0x29de95);const _0x385dcd=_0x3c5502[_0x2fe0e3(0x16a)](_0x4a0ab4,_0x19551e);_0x1d19e6===0x2c?(_0x1e2785(_0x2fb771,_0x385dcd,_0x48ca84),_0x48ca84=Object[_0x2fe0e3(0x21b)](null)):_0x313263=_0x385dcd,_0x4a0ab4=_0x19551e=-0x1;}else throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);}}}else{if(_0x5a88e8===void 0x0){if(_0x19551e===-0x1&&_0x206ab5[_0x1d19e6]===0x1)_0x4a0ab4===-0x1&&(_0x4a0ab4=_0x29de95);else{if(_0x1d19e6===0x20||_0x1d19e6===0x9)_0x19551e===-0x1&&_0x4a0ab4!==-0x1&&(_0x19551e=_0x29de95);else{if(_0x1d19e6===0x3b||_0x1d19e6===0x2c){if(_0x4a0ab4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x29de95);_0x19551e===-0x1&&(_0x19551e=_0x29de95),_0x1e2785(_0x48ca84,_0x3c5502[_0x2fe0e3(0x16a)](_0x4a0ab4,_0x19551e),!0x0),_0x1d19e6===0x2c&&(_0x1e2785(_0x2fb771,_0x313263,_0x48ca84),_0x48ca84=Object[_0x2fe0e3(0x21b)](null),_0x313263=void 0x0),_0x4a0ab4=_0x19551e=-0x1;}else{if(_0x1d19e6===0x3d&&_0x4a0ab4!==-0x1&&_0x19551e===-0x1)_0x5a88e8=_0x3c5502[_0x2fe0e3(0x16a)](_0x4a0ab4,_0x29de95),_0x4a0ab4=_0x19551e=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x29de95);}}}}else{if(_0x1a09ec){if(_0x206ab5[_0x1d19e6]!==0x1)throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);_0x4a0ab4===-0x1?_0x4a0ab4=_0x29de95:_0x5b7b7a||(_0x5b7b7a=!0x0),_0x1a09ec=!0x1;}else{if(_0x3171c1){if(_0x206ab5[_0x1d19e6]===0x1)_0x4a0ab4===-0x1&&(_0x4a0ab4=_0x29de95);else{if(_0x1d19e6===0x22&&_0x4a0ab4!==-0x1)_0x3171c1=!0x1,_0x19551e=_0x29de95;else{if(_0x1d19e6===0x5c)_0x1a09ec=!0x0;else throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);}}}else{if(_0x1d19e6===0x22&&_0x3c5502[_0x2fe0e3(0x245)](_0x29de95-0x1)===0x3d)_0x3171c1=!0x0;else{if(_0x19551e===-0x1&&_0x206ab5[_0x1d19e6]===0x1)_0x4a0ab4===-0x1&&(_0x4a0ab4=_0x29de95);else{if(_0x4a0ab4!==-0x1&&(_0x1d19e6===0x20||_0x1d19e6===0x9))_0x19551e===-0x1&&(_0x19551e=_0x29de95);else{if(_0x1d19e6===0x3b||_0x1d19e6===0x2c){if(_0x4a0ab4===-0x1)throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);_0x19551e===-0x1&&(_0x19551e=_0x29de95);let _0x30cb7d=_0x3c5502[_0x2fe0e3(0x16a)](_0x4a0ab4,_0x19551e);_0x5b7b7a&&(_0x30cb7d=_0x30cb7d[_0x2fe0e3(0x18b)](/\\/g,''),_0x5b7b7a=!0x1),_0x1e2785(_0x48ca84,_0x5a88e8,_0x30cb7d),_0x1d19e6===0x2c&&(_0x1e2785(_0x2fb771,_0x313263,_0x48ca84),_0x48ca84=Object[_0x2fe0e3(0x21b)](null),_0x313263=void 0x0),_0x5a88e8=void 0x0,_0x4a0ab4=_0x19551e=-0x1;}else throw new SyntaxError(_0x2fe0e3(0x1d9)+_0x29de95);}}}}}}}if(_0x4a0ab4===-0x1||_0x3171c1||_0x1d19e6===0x20||_0x1d19e6===0x9)throw new SyntaxError(_0x2fe0e3(0x124));_0x19551e===-0x1&&(_0x19551e=_0x29de95);const _0x116ec1=_0x3c5502['slice'](_0x4a0ab4,_0x19551e);return _0x313263===void 0x0?_0x1e2785(_0x2fb771,_0x116ec1,_0x48ca84):(_0x5a88e8===void 0x0?_0x1e2785(_0x48ca84,_0x116ec1,!0x0):_0x5b7b7a?_0x1e2785(_0x48ca84,_0x5a88e8,_0x116ec1['replace'](/\\/g,'')):_0x1e2785(_0x48ca84,_0x5a88e8,_0x116ec1),_0x1e2785(_0x2fb771,_0x313263,_0x48ca84)),_0x2fb771;}function _0x22b747(_0x4fa039){return Object['keys'](_0x4fa039)['map'](_0x4d29c5=>{const _0x39c80b=_0x507a;let _0x38666c=_0x4fa039[_0x4d29c5];return Array[_0x39c80b(0x268)](_0x38666c)||(_0x38666c=[_0x38666c]),_0x38666c[_0x39c80b(0x1ab)](_0x14e82b=>[_0x4d29c5][_0x39c80b(0x230)](Object[_0x39c80b(0x104)](_0x14e82b)[_0x39c80b(0x1ab)](_0x4dd181=>{const _0x45cadb=_0x39c80b;let _0x4dd53b=_0x14e82b[_0x4dd181];return Array[_0x45cadb(0x268)](_0x4dd53b)||(_0x4dd53b=[_0x4dd53b]),_0x4dd53b['map'](_0xbf74d0=>_0xbf74d0===!0x0?_0x4dd181:_0x4dd181+'='+_0xbf74d0)['join'](';\x20');}))[_0x39c80b(0x186)](';\x20'))[_0x39c80b(0x186)](',\x20');})['join'](',\x20');}return be={'format':_0x22b747,'parse':_0x42e7da},be;}var we,Je;function Pe(){const _0x4f05a1=_0x1bbdf8;if(Je)return we;Je=0x1;const _0x2ff083=nt,_0x2b8b19=vt,_0x1e09cc=ot,_0x4e34e2=St,_0x2bd38a=Et,{randomBytes:_0x4104b2,createHash:_0x2b3095}=Le,{Duplex:_0x11e527,Readable:_0x26f05f}=oe,{URL:_0x5e59bc}=xt,_0x43240d=he(),_0x304760=lt(),_0x374efa=ft(),{isBlob:_0x60633d}=ae(),{BINARY_TYPES:_0x38a4ed,EMPTY_BUFFER:_0x281e38,GUID:_0x44b355,kForOnEventAttribute:_0xf5a19d,kListener:_0x1e9015,kStatusCode:_0x3bc588,kWebSocket:_0x52b1c7,NOOP:_0x56f544}=H(),{EventTarget:{addEventListener:_0x214879,removeEventListener:_0x11ccc8}}=It(),{format:_0x247996,parse:_0x1a2f40}=ct(),{toBuffer:_0x52fb99}=ce(),_0x171247=0x1e*0x3e8,_0x54b49f=Symbol(_0x4f05a1(0x24f)),_0x57d7ff=[0x8,0xd],_0x18e88a=[_0x4f05a1(0x197),_0x4f05a1(0x126),_0x4f05a1(0x29c),_0x4f05a1(0x208)],_0x53ccb2=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5edfae extends _0x2ff083{constructor(_0x444689,_0x594167,_0x98b7dd){const _0x4e3a72=_0x4f05a1;super(),this['_binaryType']=_0x38a4ed[0x0],this[_0x4e3a72(0x13e)]=0x3ee,this[_0x4e3a72(0x142)]=!0x1,this[_0x4e3a72(0x1c5)]=!0x1,this[_0x4e3a72(0x1e6)]=_0x281e38,this[_0x4e3a72(0x274)]=null,this[_0x4e3a72(0x102)]=!0x1,this[_0x4e3a72(0x191)]={},this[_0x4e3a72(0x21d)]=!0x1,this[_0x4e3a72(0x1e5)]='',this[_0x4e3a72(0x138)]=_0x5edfae['CONNECTING'],this[_0x4e3a72(0x24c)]=null,this[_0x4e3a72(0x222)]=null,this['_socket']=null,_0x444689!==null?(this[_0x4e3a72(0x289)]=0x0,this['_isServer']=!0x1,this[_0x4e3a72(0x12a)]=0x0,_0x594167===void 0x0?_0x594167=[]:Array[_0x4e3a72(0x268)](_0x594167)||(typeof _0x594167==_0x4e3a72(0x280)&&_0x594167!==null?(_0x98b7dd=_0x594167,_0x594167=[]):_0x594167=[_0x594167]),_0x2564f6(this,_0x444689,_0x594167,_0x98b7dd)):(this[_0x4e3a72(0x1d4)]=_0x98b7dd[_0x4e3a72(0x133)],this[_0x4e3a72(0x22e)]=!0x0);}get[_0x4f05a1(0x12f)](){const _0x17f00=_0x4f05a1;return this[_0x17f00(0x1ea)];}set[_0x4f05a1(0x12f)](_0xeb554){const _0xae9ab6=_0x4f05a1;_0x38a4ed['includes'](_0xeb554)&&(this[_0xae9ab6(0x1ea)]=_0xeb554,this[_0xae9ab6(0x24c)]&&(this[_0xae9ab6(0x24c)][_0xae9ab6(0x1ea)]=_0xeb554));}get['bufferedAmount'](){const _0x21fba2=_0x4f05a1;return this['_socket']?this[_0x21fba2(0x1f2)]['_writableState'][_0x21fba2(0x22d)]+this[_0x21fba2(0x222)]['_bufferedBytes']:this[_0x21fba2(0x289)];}get[_0x4f05a1(0x2ab)](){const _0x3a93a0=_0x4f05a1;return Object[_0x3a93a0(0x104)](this['_extensions'])[_0x3a93a0(0x186)]();}get[_0x4f05a1(0x1b1)](){const _0x107a2b=_0x4f05a1;return this[_0x107a2b(0x21d)];}get[_0x4f05a1(0x2bd)](){return null;}get[_0x4f05a1(0x115)](){return null;}get[_0x4f05a1(0x243)](){return null;}get[_0x4f05a1(0x185)](){return null;}get[_0x4f05a1(0x199)](){const _0x557f04=_0x4f05a1;return this[_0x557f04(0x1e5)];}get[_0x4f05a1(0x1e2)](){const _0x3440b0=_0x4f05a1;return this[_0x3440b0(0x138)];}get[_0x4f05a1(0x19b)](){const _0x3dc455=_0x4f05a1;return this[_0x3dc455(0x13f)];}['setSocket'](_0xb1431d,_0x2f117d,_0x90eddb){const _0x4b8277=_0x4f05a1,_0x5070bb=new _0x304760({'allowSynchronousEvents':_0x90eddb[_0x4b8277(0x105)],'binaryType':this['binaryType'],'extensions':this[_0x4b8277(0x191)],'isServer':this[_0x4b8277(0x22e)],'maxPayload':_0x90eddb[_0x4b8277(0x1b0)],'skipUTF8Validation':_0x90eddb[_0x4b8277(0x19c)]}),_0x4af0bb=new _0x374efa(_0xb1431d,this[_0x4b8277(0x191)],_0x90eddb[_0x4b8277(0x266)]);this[_0x4b8277(0x24c)]=_0x5070bb,this[_0x4b8277(0x222)]=_0x4af0bb,this[_0x4b8277(0x1f2)]=_0xb1431d,_0x5070bb[_0x52b1c7]=this,_0x4af0bb[_0x52b1c7]=this,_0xb1431d[_0x52b1c7]=this,_0x5070bb['on'](_0x4b8277(0x2af),_0x187777),_0x5070bb['on']('drain',_0x11cf69),_0x5070bb['on'](_0x4b8277(0x1bf),_0x33e42b),_0x5070bb['on'](_0x4b8277(0x123),_0x2c665f),_0x5070bb['on']('ping',_0x301b49),_0x5070bb['on'](_0x4b8277(0x228),_0x211e88),_0x4af0bb[_0x4b8277(0x115)]=_0x1c761f,_0xb1431d[_0x4b8277(0x141)]&&_0xb1431d['setTimeout'](0x0),_0xb1431d['setNoDelay']&&_0xb1431d[_0x4b8277(0x18d)](),_0x2f117d[_0x4b8277(0x22d)]>0x0&&_0xb1431d[_0x4b8277(0x1e1)](_0x2f117d),_0xb1431d['on'](_0x4b8277(0x227),_0x1c6991),_0xb1431d['on'](_0x4b8277(0x16d),_0x102006),_0xb1431d['on'](_0x4b8277(0x2b2),_0x47ac7a),_0xb1431d['on'](_0x4b8277(0x1bf),_0x1b55a7),this[_0x4b8277(0x138)]=_0x5edfae[_0x4b8277(0x126)],this['emit']('open');}[_0x4f05a1(0xfc)](){const _0x434b09=_0x4f05a1;if(!this[_0x434b09(0x1f2)]){this[_0x434b09(0x138)]=_0x5edfae[_0x434b09(0x208)],this[_0x434b09(0x114)](_0x434b09(0x227),this['_closeCode'],this[_0x434b09(0x1e6)]);return;}this[_0x434b09(0x191)][_0x43240d[_0x434b09(0x269)]]&&this[_0x434b09(0x191)][_0x43240d['extensionName']][_0x434b09(0x28c)](),this['_receiver'][_0x434b09(0x1da)](),this['_readyState']=_0x5edfae[_0x434b09(0x208)],this['emit']('close',this[_0x434b09(0x13e)],this['_closeMessage']);}[_0x4f05a1(0x227)](_0x1bf6fd,_0x80c915){const _0x4d78d7=_0x4f05a1;if(this[_0x4d78d7(0x1e2)]!==_0x5edfae[_0x4d78d7(0x208)]){if(this[_0x4d78d7(0x1e2)]===_0x5edfae[_0x4d78d7(0x197)]){_0x2f5594(this,this['_req'],_0x4d78d7(0x188));return;}if(this[_0x4d78d7(0x1e2)]===_0x5edfae[_0x4d78d7(0x29c)]){this[_0x4d78d7(0x1c5)]&&(this[_0x4d78d7(0x142)]||this[_0x4d78d7(0x24c)][_0x4d78d7(0x213)][_0x4d78d7(0x216)])&&this[_0x4d78d7(0x1f2)][_0x4d78d7(0x2b2)]();return;}this['_readyState']=_0x5edfae[_0x4d78d7(0x29c)],this[_0x4d78d7(0x222)][_0x4d78d7(0x227)](_0x1bf6fd,_0x80c915,!this['_isServer'],_0x4394c9=>{const _0x4ebcd4=_0x4d78d7;_0x4394c9||(this[_0x4ebcd4(0x1c5)]=!0x0,(this[_0x4ebcd4(0x142)]||this['_receiver'][_0x4ebcd4(0x213)]['errorEmitted'])&&this[_0x4ebcd4(0x1f2)][_0x4ebcd4(0x2b2)]());}),_0x1211ae(this);}}[_0x4f05a1(0x1ec)](){const _0x4afb71=_0x4f05a1;this[_0x4afb71(0x1e2)]===_0x5edfae['CONNECTING']||this[_0x4afb71(0x1e2)]===_0x5edfae[_0x4afb71(0x208)]||(this[_0x4afb71(0x21d)]=!0x0,this[_0x4afb71(0x1f2)][_0x4afb71(0x1ec)]());}[_0x4f05a1(0x23b)](_0x4a676d,_0x142e7c,_0x13564e){const _0x3d04e6=_0x4f05a1;if(this[_0x3d04e6(0x1e2)]===_0x5edfae['CONNECTING'])throw new Error(_0x3d04e6(0x118));if(typeof _0x4a676d=='function'?(_0x13564e=_0x4a676d,_0x4a676d=_0x142e7c=void 0x0):typeof _0x142e7c==_0x3d04e6(0x247)&&(_0x13564e=_0x142e7c,_0x142e7c=void 0x0),typeof _0x4a676d==_0x3d04e6(0x169)&&(_0x4a676d=_0x4a676d['toString']()),this['readyState']!==_0x5edfae['OPEN']){_0x5093e5(this,_0x4a676d,_0x13564e);return;}_0x142e7c===void 0x0&&(_0x142e7c=!this['_isServer']),this[_0x3d04e6(0x222)][_0x3d04e6(0x23b)](_0x4a676d||_0x281e38,_0x142e7c,_0x13564e);}[_0x4f05a1(0x228)](_0x3eb101,_0x4535e2,_0x500e5a){const _0x29b247=_0x4f05a1;if(this['readyState']===_0x5edfae[_0x29b247(0x197)])throw new Error(_0x29b247(0x118));if(typeof _0x3eb101==_0x29b247(0x247)?(_0x500e5a=_0x3eb101,_0x3eb101=_0x4535e2=void 0x0):typeof _0x4535e2==_0x29b247(0x247)&&(_0x500e5a=_0x4535e2,_0x4535e2=void 0x0),typeof _0x3eb101=='number'&&(_0x3eb101=_0x3eb101[_0x29b247(0x202)]()),this[_0x29b247(0x1e2)]!==_0x5edfae[_0x29b247(0x126)]){_0x5093e5(this,_0x3eb101,_0x500e5a);return;}_0x4535e2===void 0x0&&(_0x4535e2=!this[_0x29b247(0x22e)]),this[_0x29b247(0x222)][_0x29b247(0x228)](_0x3eb101||_0x281e38,_0x4535e2,_0x500e5a);}[_0x4f05a1(0x1ac)](){const _0x429257=_0x4f05a1;this[_0x429257(0x1e2)]===_0x5edfae['CONNECTING']||this[_0x429257(0x1e2)]===_0x5edfae[_0x429257(0x208)]||(this[_0x429257(0x21d)]=!0x1,this[_0x429257(0x24c)]['_writableState'][_0x429257(0x291)]||this['_socket']['resume']());}['send'](_0x4a4ad8,_0x482770,_0x4aa338){const _0x1ede31=_0x4f05a1;if(this[_0x1ede31(0x1e2)]===_0x5edfae[_0x1ede31(0x197)])throw new Error(_0x1ede31(0x118));if(typeof _0x482770=='function'&&(_0x4aa338=_0x482770,_0x482770={}),typeof _0x4a4ad8==_0x1ede31(0x169)&&(_0x4a4ad8=_0x4a4ad8[_0x1ede31(0x202)]()),this[_0x1ede31(0x1e2)]!==_0x5edfae[_0x1ede31(0x126)]){_0x5093e5(this,_0x4a4ad8,_0x4aa338);return;}const _0xfa597a={'binary':typeof _0x4a4ad8!='string','mask':!this[_0x1ede31(0x22e)],'compress':!0x0,'fin':!0x0,..._0x482770};this[_0x1ede31(0x191)][_0x43240d[_0x1ede31(0x269)]]||(_0xfa597a[_0x1ede31(0x19f)]=!0x1),this['_sender'][_0x1ede31(0x1ae)](_0x4a4ad8||_0x281e38,_0xfa597a,_0x4aa338);}['terminate'](){const _0xbd84b1=_0x4f05a1;if(this[_0xbd84b1(0x1e2)]!==_0x5edfae[_0xbd84b1(0x208)]){if(this[_0xbd84b1(0x1e2)]===_0x5edfae['CONNECTING']){_0x2f5594(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xbd84b1(0x1f2)]&&(this[_0xbd84b1(0x138)]=_0x5edfae['CLOSING'],this[_0xbd84b1(0x1f2)][_0xbd84b1(0x299)]());}}}Object['defineProperty'](_0x5edfae,_0x4f05a1(0x197),{'enumerable':!0x0,'value':_0x18e88a[_0x4f05a1(0x19a)](_0x4f05a1(0x197))}),Object[_0x4f05a1(0x259)](_0x5edfae[_0x4f05a1(0x1b6)],_0x4f05a1(0x197),{'enumerable':!0x0,'value':_0x18e88a[_0x4f05a1(0x19a)](_0x4f05a1(0x197))}),Object[_0x4f05a1(0x259)](_0x5edfae,_0x4f05a1(0x126),{'enumerable':!0x0,'value':_0x18e88a['indexOf']('OPEN')}),Object[_0x4f05a1(0x259)](_0x5edfae[_0x4f05a1(0x1b6)],_0x4f05a1(0x126),{'enumerable':!0x0,'value':_0x18e88a[_0x4f05a1(0x19a)](_0x4f05a1(0x126))}),Object['defineProperty'](_0x5edfae,_0x4f05a1(0x29c),{'enumerable':!0x0,'value':_0x18e88a['indexOf']('CLOSING')}),Object['defineProperty'](_0x5edfae[_0x4f05a1(0x1b6)],_0x4f05a1(0x29c),{'enumerable':!0x0,'value':_0x18e88a['indexOf'](_0x4f05a1(0x29c))}),Object[_0x4f05a1(0x259)](_0x5edfae,_0x4f05a1(0x208),{'enumerable':!0x0,'value':_0x18e88a[_0x4f05a1(0x19a)](_0x4f05a1(0x208))}),Object[_0x4f05a1(0x259)](_0x5edfae[_0x4f05a1(0x1b6)],_0x4f05a1(0x208),{'enumerable':!0x0,'value':_0x18e88a[_0x4f05a1(0x19a)](_0x4f05a1(0x208))}),[_0x4f05a1(0x12f),_0x4f05a1(0x293),'extensions','isPaused',_0x4f05a1(0x199),_0x4f05a1(0x1e2),_0x4f05a1(0x19b)][_0x4f05a1(0x14b)](_0x3e0a72=>{const _0x5b3159=_0x4f05a1;Object['defineProperty'](_0x5edfae[_0x5b3159(0x1b6)],_0x3e0a72,{'enumerable':!0x0});}),[_0x4f05a1(0x28b),_0x4f05a1(0x1bf),_0x4f05a1(0x227),_0x4f05a1(0x123)][_0x4f05a1(0x14b)](_0x3a871b=>{const _0x2aa618=_0x4f05a1;Object['defineProperty'](_0x5edfae[_0x2aa618(0x1b6)],'on'+_0x3a871b,{'enumerable':!0x0,'get'(){const _0x3ef38a=_0x2aa618;for(const _0x2fb0ab of this[_0x3ef38a(0x1b7)](_0x3a871b))if(_0x2fb0ab[_0xf5a19d])return _0x2fb0ab[_0x1e9015];return null;},'set'(_0x54f22a){const _0x9d2a1a=_0x2aa618;for(const _0x37dfaa of this[_0x9d2a1a(0x1b7)](_0x3a871b))if(_0x37dfaa[_0xf5a19d]){this[_0x9d2a1a(0x1b3)](_0x3a871b,_0x37dfaa);break;}typeof _0x54f22a=='function'&&this[_0x9d2a1a(0x145)](_0x3a871b,_0x54f22a,{[_0xf5a19d]:!0x0});}});}),_0x5edfae[_0x4f05a1(0x1b6)][_0x4f05a1(0x145)]=_0x214879,_0x5edfae[_0x4f05a1(0x1b6)][_0x4f05a1(0x2be)]=_0x11ccc8,we=_0x5edfae;function _0x2564f6(_0x4957da,_0x35fa27,_0x17643a,_0x3c9416){const _0x149bdb=_0x4f05a1,_0x29771b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x57d7ff[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3c9416,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x149bdb(0x1f0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4957da[_0x149bdb(0x1d4)]=_0x29771b[_0x149bdb(0x133)],!_0x57d7ff[_0x149bdb(0x162)](_0x29771b['protocolVersion']))throw new RangeError(_0x149bdb(0x1fd)+_0x29771b['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x57d7ff[_0x149bdb(0x186)](',\x20')+')');let _0x1107e5;if(_0x35fa27 instanceof _0x5e59bc)_0x1107e5=_0x35fa27;else try{_0x1107e5=new _0x5e59bc(_0x35fa27);}catch{throw new SyntaxError(_0x149bdb(0x210)+_0x35fa27);}_0x1107e5[_0x149bdb(0x199)]===_0x149bdb(0x18f)?_0x1107e5[_0x149bdb(0x199)]=_0x149bdb(0x1ca):_0x1107e5['protocol']===_0x149bdb(0x17d)&&(_0x1107e5[_0x149bdb(0x199)]=_0x149bdb(0x11f)),_0x4957da[_0x149bdb(0x13f)]=_0x1107e5['href'];const _0x4428c3=_0x1107e5[_0x149bdb(0x199)]==='wss:',_0x1d0717=_0x1107e5[_0x149bdb(0x199)]===_0x149bdb(0x139);let _0x192ed8;if(_0x1107e5['protocol']!==_0x149bdb(0x1ca)&&!_0x4428c3&&!_0x1d0717?_0x192ed8='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':_0x1d0717&&!_0x1107e5['pathname']?_0x192ed8=_0x149bdb(0x2aa):_0x1107e5['hash']&&(_0x192ed8='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x192ed8){const _0x3c2fa9=new SyntaxError(_0x192ed8);if(_0x4957da['_redirects']===0x0)throw _0x3c2fa9;_0x31c8d4(_0x4957da,_0x3c2fa9);return;}const _0x65ad60=_0x4428c3?0x1bb:0x50,_0x36a861=_0x4104b2(0x10)[_0x149bdb(0x202)](_0x149bdb(0x200)),_0x4d7cba=_0x4428c3?_0x2b8b19[_0x149bdb(0xf5)]:_0x1e09cc[_0x149bdb(0xf5)],_0x8c2406=new Set();let _0x1296e;if(_0x29771b[_0x149bdb(0x14c)]=_0x29771b[_0x149bdb(0x14c)]||(_0x4428c3?_0x2ffac5:_0x2e7851),_0x29771b[_0x149bdb(0x275)]=_0x29771b['defaultPort']||_0x65ad60,_0x29771b['port']=_0x1107e5[_0x149bdb(0x15f)]||_0x65ad60,_0x29771b['host']=_0x1107e5['hostname'][_0x149bdb(0x174)]('[')?_0x1107e5[_0x149bdb(0xfa)][_0x149bdb(0x16a)](0x1,-0x1):_0x1107e5[_0x149bdb(0xfa)],_0x29771b[_0x149bdb(0xfe)]={..._0x29771b[_0x149bdb(0xfe)],'Sec-WebSocket-Version':_0x29771b[_0x149bdb(0x2c6)],'Sec-WebSocket-Key':_0x36a861,'Connection':'Upgrade','Upgrade':'websocket'},_0x29771b[_0x149bdb(0x1e9)]=_0x1107e5[_0x149bdb(0x272)]+_0x1107e5['search'],_0x29771b[_0x149bdb(0x1e8)]=_0x29771b[_0x149bdb(0x295)],_0x29771b[_0x149bdb(0x225)]&&(_0x1296e=new _0x43240d(_0x29771b[_0x149bdb(0x225)]!==!0x0?_0x29771b['perMessageDeflate']:{},!0x1,_0x29771b['maxPayload']),_0x29771b[_0x149bdb(0xfe)][_0x149bdb(0x25d)]=_0x247996({[_0x43240d[_0x149bdb(0x269)]]:_0x1296e['offer']()})),_0x17643a[_0x149bdb(0x22d)]){for(const _0x5e0ffa of _0x17643a){if(typeof _0x5e0ffa!='string'||!_0x53ccb2['test'](_0x5e0ffa)||_0x8c2406[_0x149bdb(0x215)](_0x5e0ffa))throw new SyntaxError(_0x149bdb(0x1aa));_0x8c2406[_0x149bdb(0x17e)](_0x5e0ffa);}_0x29771b[_0x149bdb(0xfe)][_0x149bdb(0x233)]=_0x17643a[_0x149bdb(0x186)](',');}if(_0x29771b[_0x149bdb(0x1f7)]&&(_0x29771b[_0x149bdb(0x2c6)]<0xd?_0x29771b[_0x149bdb(0xfe)]['Sec-WebSocket-Origin']=_0x29771b[_0x149bdb(0x1f7)]:_0x29771b[_0x149bdb(0xfe)]['Origin']=_0x29771b[_0x149bdb(0x1f7)]),(_0x1107e5[_0x149bdb(0x232)]||_0x1107e5[_0x149bdb(0x1bc)])&&(_0x29771b[_0x149bdb(0x1fa)]=_0x1107e5['username']+':'+_0x1107e5[_0x149bdb(0x1bc)]),_0x1d0717){const _0x307fce=_0x29771b[_0x149bdb(0x1e9)]['split'](':');_0x29771b[_0x149bdb(0x173)]=_0x307fce[0x0],_0x29771b[_0x149bdb(0x1e9)]=_0x307fce[0x1];}let _0x2f0123;if(_0x29771b[_0x149bdb(0x1fb)]){if(_0x4957da['_redirects']===0x0){_0x4957da[_0x149bdb(0x24e)]=_0x1d0717,_0x4957da[_0x149bdb(0x1cd)]=_0x4428c3,_0x4957da[_0x149bdb(0x170)]=_0x1d0717?_0x29771b['socketPath']:_0x1107e5['host'];const _0x259256=_0x3c9416&&_0x3c9416['headers'];if(_0x3c9416={..._0x3c9416,'headers':{}},_0x259256){for(const [_0x320879,_0x5c8bf9]of Object[_0x149bdb(0x22a)](_0x259256))_0x3c9416['headers'][_0x320879[_0x149bdb(0xf8)]()]=_0x5c8bf9;}}else{if(_0x4957da[_0x149bdb(0x111)](_0x149bdb(0x18c))===0x0){const _0x1b2fe3=_0x1d0717?_0x4957da['_originalIpc']?_0x29771b[_0x149bdb(0x173)]===_0x4957da[_0x149bdb(0x170)]:!0x1:_0x4957da['_originalIpc']?!0x1:_0x1107e5[_0x149bdb(0x1d1)]===_0x4957da[_0x149bdb(0x170)];(!_0x1b2fe3||_0x4957da[_0x149bdb(0x1cd)]&&!_0x4428c3)&&(delete _0x29771b[_0x149bdb(0xfe)][_0x149bdb(0x1dc)],delete _0x29771b[_0x149bdb(0xfe)][_0x149bdb(0x276)],_0x1b2fe3||delete _0x29771b[_0x149bdb(0xfe)][_0x149bdb(0x1d1)],_0x29771b[_0x149bdb(0x1fa)]=void 0x0);}}_0x29771b['auth']&&!_0x3c9416[_0x149bdb(0xfe)][_0x149bdb(0x1dc)]&&(_0x3c9416[_0x149bdb(0xfe)][_0x149bdb(0x1dc)]=_0x149bdb(0x180)+Buffer[_0x149bdb(0x28f)](_0x29771b[_0x149bdb(0x1fa)])[_0x149bdb(0x202)](_0x149bdb(0x200))),_0x2f0123=_0x4957da[_0x149bdb(0x204)]=_0x4d7cba(_0x29771b),_0x4957da[_0x149bdb(0x12a)]&&_0x4957da[_0x149bdb(0x114)]('redirect',_0x4957da['url'],_0x2f0123);}else _0x2f0123=_0x4957da[_0x149bdb(0x204)]=_0x4d7cba(_0x29771b);_0x29771b['timeout']&&_0x2f0123['on']('timeout',()=>{const _0x2db300=_0x149bdb;_0x2f5594(_0x4957da,_0x2f0123,_0x2db300(0x201));}),_0x2f0123['on'](_0x149bdb(0x1bf),_0x33fab2=>{const _0x5a1df1=_0x149bdb;_0x2f0123===null||_0x2f0123[_0x54b49f]||(_0x2f0123=_0x4957da[_0x5a1df1(0x204)]=null,_0x31c8d4(_0x4957da,_0x33fab2));}),_0x2f0123['on'](_0x149bdb(0x25e),_0x7cc38e=>{const _0x186677=_0x149bdb,_0x5ef2fc=_0x7cc38e[_0x186677(0xfe)][_0x186677(0x1eb)],_0x2f38dc=_0x7cc38e['statusCode'];if(_0x5ef2fc&&_0x29771b[_0x186677(0x1fb)]&&_0x2f38dc>=0x12c&&_0x2f38dc<0x190){if(++_0x4957da[_0x186677(0x12a)]>_0x29771b[_0x186677(0x23a)]){_0x2f5594(_0x4957da,_0x2f0123,'Maximum\x20redirects\x20exceeded');return;}_0x2f0123[_0x186677(0x21e)]();let _0x48a926;try{_0x48a926=new _0x5e59bc(_0x5ef2fc,_0x35fa27);}catch{const _0x53b3fe=new SyntaxError(_0x186677(0x210)+_0x5ef2fc);_0x31c8d4(_0x4957da,_0x53b3fe);return;}_0x2564f6(_0x4957da,_0x48a926,_0x17643a,_0x3c9416);}else _0x4957da[_0x186677(0x114)](_0x186677(0x135),_0x2f0123,_0x7cc38e)||_0x2f5594(_0x4957da,_0x2f0123,_0x186677(0x254)+_0x7cc38e['statusCode']);}),_0x2f0123['on'](_0x149bdb(0x15a),(_0x3f7369,_0x44f605,_0x5521f8)=>{const _0xc9832d=_0x149bdb;if(_0x4957da[_0xc9832d(0x114)](_0xc9832d(0x15a),_0x3f7369),_0x4957da[_0xc9832d(0x1e2)]!==_0x5edfae['CONNECTING'])return;_0x2f0123=_0x4957da['_req']=null;const _0xa33e8c=_0x3f7369['headers'][_0xc9832d(0x15a)];if(_0xa33e8c===void 0x0||_0xa33e8c[_0xc9832d(0xf8)]()!==_0xc9832d(0x2bb)){_0x2f5594(_0x4957da,_0x44f605,_0xc9832d(0x131));return;}const _0x462865=_0x2b3095('sha1')['update'](_0x36a861+_0x44b355)[_0xc9832d(0x13b)](_0xc9832d(0x200));if(_0x3f7369[_0xc9832d(0xfe)][_0xc9832d(0x20d)]!==_0x462865){_0x2f5594(_0x4957da,_0x44f605,_0xc9832d(0x182));return;}const _0x4b60c6=_0x3f7369['headers'][_0xc9832d(0x25f)];let _0x53fe0d;if(_0x4b60c6!==void 0x0?_0x8c2406[_0xc9832d(0xf9)]?_0x8c2406[_0xc9832d(0x215)](_0x4b60c6)||(_0x53fe0d='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x53fe0d=_0xc9832d(0x110):_0x8c2406['size']&&(_0x53fe0d=_0xc9832d(0x167)),_0x53fe0d){_0x2f5594(_0x4957da,_0x44f605,_0x53fe0d);return;}_0x4b60c6&&(_0x4957da['_protocol']=_0x4b60c6);const _0x184e33=_0x3f7369['headers'][_0xc9832d(0x206)];if(_0x184e33!==void 0x0){if(!_0x1296e){_0x2f5594(_0x4957da,_0x44f605,_0xc9832d(0x229));return;}let _0x5c4a0d;try{_0x5c4a0d=_0x1a2f40(_0x184e33);}catch{_0x2f5594(_0x4957da,_0x44f605,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x853f85=Object[_0xc9832d(0x104)](_0x5c4a0d);if(_0x853f85['length']!==0x1||_0x853f85[0x0]!==_0x43240d['extensionName']){_0x2f5594(_0x4957da,_0x44f605,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1296e[_0xc9832d(0x108)](_0x5c4a0d[_0x43240d[_0xc9832d(0x269)]]);}catch{_0x2f5594(_0x4957da,_0x44f605,_0xc9832d(0x20b));return;}_0x4957da[_0xc9832d(0x191)][_0x43240d[_0xc9832d(0x269)]]=_0x1296e;}_0x4957da[_0xc9832d(0x148)](_0x44f605,_0x5521f8,{'allowSynchronousEvents':_0x29771b[_0xc9832d(0x105)],'generateMask':_0x29771b[_0xc9832d(0x266)],'maxPayload':_0x29771b[_0xc9832d(0x1b0)],'skipUTF8Validation':_0x29771b[_0xc9832d(0x19c)]});}),_0x29771b[_0x149bdb(0x103)]?_0x29771b[_0x149bdb(0x103)](_0x2f0123,_0x4957da):_0x2f0123[_0x149bdb(0x2b2)]();}function _0x31c8d4(_0x522e67,_0x109ce3){const _0x1f1d6a=_0x4f05a1;_0x522e67[_0x1f1d6a(0x138)]=_0x5edfae[_0x1f1d6a(0x29c)],_0x522e67[_0x1f1d6a(0x102)]=!0x0,_0x522e67['emit'](_0x1f1d6a(0x1bf),_0x109ce3),_0x522e67[_0x1f1d6a(0xfc)]();}function _0x2e7851(_0x201afd){const _0x115587=_0x4f05a1;return _0x201afd[_0x115587(0x1e9)]=_0x201afd['socketPath'],_0x4e34e2[_0x115587(0x1ad)](_0x201afd);}function _0x2ffac5(_0x14bf5c){const _0x539948=_0x4f05a1;return _0x14bf5c['path']=void 0x0,!_0x14bf5c['servername']&&_0x14bf5c[_0x539948(0x2c3)]!==''&&(_0x14bf5c[_0x539948(0x2c3)]=_0x4e34e2[_0x539948(0x127)](_0x14bf5c[_0x539948(0x1d1)])?'':_0x14bf5c['host']),_0x2bd38a[_0x539948(0x1ad)](_0x14bf5c);}function _0x2f5594(_0x8f325e,_0x5a0acf,_0x4a66d8){const _0x4bbaf7=_0x4f05a1;_0x8f325e[_0x4bbaf7(0x138)]=_0x5edfae['CLOSING'];const _0x433ac5=new Error(_0x4a66d8);Error['captureStackTrace'](_0x433ac5,_0x2f5594),_0x5a0acf[_0x4bbaf7(0x279)]?(_0x5a0acf[_0x54b49f]=!0x0,_0x5a0acf['abort'](),_0x5a0acf[_0x4bbaf7(0xff)]&&!_0x5a0acf[_0x4bbaf7(0xff)][_0x4bbaf7(0x2a1)]&&_0x5a0acf[_0x4bbaf7(0xff)][_0x4bbaf7(0x299)](),process[_0x4bbaf7(0x17f)](_0x31c8d4,_0x8f325e,_0x433ac5)):(_0x5a0acf[_0x4bbaf7(0x299)](_0x433ac5),_0x5a0acf['once']('error',_0x8f325e[_0x4bbaf7(0x114)][_0x4bbaf7(0x20f)](_0x8f325e,_0x4bbaf7(0x1bf))),_0x5a0acf['once']('close',_0x8f325e[_0x4bbaf7(0xfc)][_0x4bbaf7(0x20f)](_0x8f325e)));}function _0x5093e5(_0x218015,_0x2c45fa,_0x406ba2){const _0x2a4b83=_0x4f05a1;if(_0x2c45fa){const _0x5efe05=_0x60633d(_0x2c45fa)?_0x2c45fa[_0x2a4b83(0xf9)]:_0x52fb99(_0x2c45fa)[_0x2a4b83(0x22d)];_0x218015['_socket']?_0x218015[_0x2a4b83(0x222)]['_bufferedBytes']+=_0x5efe05:_0x218015[_0x2a4b83(0x289)]+=_0x5efe05;}if(_0x406ba2){const _0xf3f739=new Error(_0x2a4b83(0x1a0)+_0x218015[_0x2a4b83(0x1e2)]+'\x20('+_0x18e88a[_0x218015['readyState']]+')');process[_0x2a4b83(0x17f)](_0x406ba2,_0xf3f739);}}function _0x187777(_0x43be2a,_0x10e624){const _0x3cb45e=_0x4f05a1,_0x4275a6=this[_0x52b1c7];_0x4275a6[_0x3cb45e(0x142)]=!0x0,_0x4275a6[_0x3cb45e(0x1e6)]=_0x10e624,_0x4275a6[_0x3cb45e(0x13e)]=_0x43be2a,_0x4275a6['_socket'][_0x52b1c7]!==void 0x0&&(_0x4275a6['_socket'][_0x3cb45e(0x1b3)](_0x3cb45e(0x16d),_0x102006),process[_0x3cb45e(0x17f)](_0x38630b,_0x4275a6[_0x3cb45e(0x1f2)]),_0x43be2a===0x3ed?_0x4275a6['close']():_0x4275a6['close'](_0x43be2a,_0x10e624));}function _0x11cf69(){const _0x52756d=_0x4f05a1,_0x206046=this[_0x52b1c7];_0x206046[_0x52756d(0x1b1)]||_0x206046[_0x52756d(0x1f2)][_0x52756d(0x1ac)]();}function _0x33e42b(_0x3ba5c3){const _0x40e5e1=_0x4f05a1,_0x32110e=this[_0x52b1c7];_0x32110e[_0x40e5e1(0x1f2)][_0x52b1c7]!==void 0x0&&(_0x32110e[_0x40e5e1(0x1f2)]['removeListener'](_0x40e5e1(0x16d),_0x102006),process['nextTick'](_0x38630b,_0x32110e[_0x40e5e1(0x1f2)]),_0x32110e[_0x40e5e1(0x227)](_0x3ba5c3[_0x3bc588])),_0x32110e[_0x40e5e1(0x102)]||(_0x32110e[_0x40e5e1(0x102)]=!0x0,_0x32110e[_0x40e5e1(0x114)](_0x40e5e1(0x1bf),_0x3ba5c3));}function _0x2558fa(){const _0x28568b=_0x4f05a1;this[_0x52b1c7][_0x28568b(0xfc)]();}function _0x2c665f(_0x53e1d4,_0x1e9e1a){const _0x1a5269=_0x4f05a1;this[_0x52b1c7][_0x1a5269(0x114)](_0x1a5269(0x123),_0x53e1d4,_0x1e9e1a);}function _0x301b49(_0x201285){const _0x4c5d02=_0x4f05a1,_0x58558=this[_0x52b1c7];_0x58558[_0x4c5d02(0x1d4)]&&_0x58558[_0x4c5d02(0x228)](_0x201285,!this[_0x4c5d02(0x22e)],_0x56f544),_0x58558[_0x4c5d02(0x114)](_0x4c5d02(0x23b),_0x201285);}function _0x211e88(_0x36733f){const _0x1af2f6=_0x4f05a1;this[_0x52b1c7]['emit'](_0x1af2f6(0x228),_0x36733f);}function _0x38630b(_0x51dde4){const _0x546c16=_0x4f05a1;_0x51dde4[_0x546c16(0x1ac)]();}function _0x1c761f(_0x28e7d8){const _0x1b1ff1=_0x4f05a1,_0x1b42d2=this[_0x52b1c7];_0x1b42d2['readyState']!==_0x5edfae['CLOSED']&&(_0x1b42d2[_0x1b1ff1(0x1e2)]===_0x5edfae['OPEN']&&(_0x1b42d2[_0x1b1ff1(0x138)]=_0x5edfae[_0x1b1ff1(0x29c)],_0x1211ae(_0x1b42d2)),this[_0x1b1ff1(0x1f2)][_0x1b1ff1(0x2b2)](),_0x1b42d2[_0x1b1ff1(0x102)]||(_0x1b42d2[_0x1b1ff1(0x102)]=!0x0,_0x1b42d2[_0x1b1ff1(0x114)](_0x1b1ff1(0x1bf),_0x28e7d8)));}function _0x1211ae(_0x32e16e){const _0x216575=_0x4f05a1;_0x32e16e[_0x216575(0x274)]=setTimeout(_0x32e16e['_socket']['destroy']['bind'](_0x32e16e[_0x216575(0x1f2)]),_0x171247);}function _0x1c6991(){const _0x1bf80f=_0x4f05a1,_0x1418e2=this[_0x52b1c7];this[_0x1bf80f(0x1b3)]('close',_0x1c6991),this['removeListener']('data',_0x102006),this[_0x1bf80f(0x1b3)](_0x1bf80f(0x2b2),_0x47ac7a),_0x1418e2[_0x1bf80f(0x138)]=_0x5edfae[_0x1bf80f(0x29c)];let _0x5a89b;!this[_0x1bf80f(0x1a1)][_0x1bf80f(0x234)]&&!_0x1418e2['_closeFrameReceived']&&!_0x1418e2[_0x1bf80f(0x24c)]['_writableState']['errorEmitted']&&(_0x5a89b=_0x1418e2['_socket'][_0x1bf80f(0x209)]())!==null&&_0x1418e2['_receiver'][_0x1bf80f(0x2c0)](_0x5a89b),_0x1418e2[_0x1bf80f(0x24c)]['end'](),this[_0x52b1c7]=void 0x0,clearTimeout(_0x1418e2['_closeTimer']),_0x1418e2[_0x1bf80f(0x24c)][_0x1bf80f(0x213)][_0x1bf80f(0x146)]||_0x1418e2[_0x1bf80f(0x24c)][_0x1bf80f(0x213)][_0x1bf80f(0x216)]?_0x1418e2[_0x1bf80f(0xfc)]():(_0x1418e2[_0x1bf80f(0x24c)]['on'](_0x1bf80f(0x1bf),_0x2558fa),_0x1418e2[_0x1bf80f(0x24c)]['on']('finish',_0x2558fa));}function _0x102006(_0x681992){const _0x5f360b=_0x4f05a1;this[_0x52b1c7][_0x5f360b(0x24c)][_0x5f360b(0x2c0)](_0x681992)||this[_0x5f360b(0x1ec)]();}function _0x47ac7a(){const _0x1c3d30=_0x4f05a1,_0x176dae=this[_0x52b1c7];_0x176dae[_0x1c3d30(0x138)]=_0x5edfae[_0x1c3d30(0x29c)],_0x176dae[_0x1c3d30(0x24c)][_0x1c3d30(0x2b2)](),this[_0x1c3d30(0x2b2)]();}function _0x1b55a7(){const _0x4f499a=_0x4f05a1,_0x1843aa=this[_0x52b1c7];this['removeListener'](_0x4f499a(0x1bf),_0x1b55a7),this['on'](_0x4f499a(0x1bf),_0x56f544),_0x1843aa&&(_0x1843aa['_readyState']=_0x5edfae[_0x4f499a(0x29c)],this[_0x4f499a(0x299)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3c2a73}=oe;function _0x25087f(_0x32be68){const _0x1cf2cc=_0x507a;_0x32be68[_0x1cf2cc(0x114)](_0x1cf2cc(0x227));}function _0x1a4904(){const _0xe77544=_0x507a;!this[_0xe77544(0x2a1)]&&this['_writableState'][_0xe77544(0x146)]&&this[_0xe77544(0x299)]();}function _0x4f2efb(_0x4e97f2){const _0x43b750=_0x507a;this[_0x43b750(0x1b3)](_0x43b750(0x1bf),_0x4f2efb),this[_0x43b750(0x299)](),this[_0x43b750(0x111)](_0x43b750(0x1bf))===0x0&&this[_0x43b750(0x114)]('error',_0x4e97f2);}function _0x519f70(_0x11f072,_0x54d6e7){const _0x1cf47f=_0x507a;let _0x20294=!0x0;const _0x3823f0=new _0x3c2a73({..._0x54d6e7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x11f072['on'](_0x1cf47f(0x123),function(_0x3f37f6,_0x26c656){const _0x45404c=_0x1cf47f,_0xd87c45=!_0x26c656&&_0x3823f0['_readableState']['objectMode']?_0x3f37f6['toString']():_0x3f37f6;_0x3823f0[_0x45404c(0x283)](_0xd87c45)||_0x11f072[_0x45404c(0x1ec)]();}),_0x11f072[_0x1cf47f(0x189)](_0x1cf47f(0x1bf),function(_0x441460){const _0x23a782=_0x1cf47f;_0x3823f0[_0x23a782(0x2a1)]||(_0x20294=!0x1,_0x3823f0[_0x23a782(0x299)](_0x441460));}),_0x11f072['once'](_0x1cf47f(0x227),function(){const _0x2bc96c=_0x1cf47f;_0x3823f0[_0x2bc96c(0x2a1)]||_0x3823f0['push'](null);}),_0x3823f0[_0x1cf47f(0x18a)]=function(_0x30ac11,_0x5317fe){const _0x39ec60=_0x1cf47f;if(_0x11f072['readyState']===_0x11f072[_0x39ec60(0x208)]){_0x5317fe(_0x30ac11),process[_0x39ec60(0x17f)](_0x25087f,_0x3823f0);return;}let _0x446a79=!0x1;_0x11f072[_0x39ec60(0x189)]('error',function(_0x6514f0){_0x446a79=!0x0,_0x5317fe(_0x6514f0);}),_0x11f072['once']('close',function(){const _0x1ce4f7=_0x39ec60;_0x446a79||_0x5317fe(_0x30ac11),process[_0x1ce4f7(0x17f)](_0x25087f,_0x3823f0);}),_0x20294&&_0x11f072[_0x39ec60(0x15e)]();},_0x3823f0[_0x1cf47f(0x29a)]=function(_0x3b0bb9){const _0x2b16dd=_0x1cf47f;if(_0x11f072['readyState']===_0x11f072['CONNECTING']){_0x11f072['once'](_0x2b16dd(0x28b),function(){const _0x470804=_0x2b16dd;_0x3823f0[_0x470804(0x29a)](_0x3b0bb9);});return;}_0x11f072[_0x2b16dd(0x1f2)]!==null&&(_0x11f072[_0x2b16dd(0x1f2)][_0x2b16dd(0x213)][_0x2b16dd(0x146)]?(_0x3b0bb9(),_0x3823f0[_0x2b16dd(0x1a1)][_0x2b16dd(0x234)]&&_0x3823f0[_0x2b16dd(0x299)]()):(_0x11f072[_0x2b16dd(0x1f2)][_0x2b16dd(0x189)](_0x2b16dd(0x22b),function(){_0x3b0bb9();}),_0x11f072[_0x2b16dd(0x227)]()));},_0x3823f0[_0x1cf47f(0x150)]=function(){const _0x4fceed=_0x1cf47f;_0x11f072[_0x4fceed(0x1b1)]&&_0x11f072[_0x4fceed(0x1ac)]();},_0x3823f0[_0x1cf47f(0x1f5)]=function(_0x1e02ce,_0xa24485,_0x178670){const _0xec84ad=_0x1cf47f;if(_0x11f072[_0xec84ad(0x1e2)]===_0x11f072['CONNECTING']){_0x11f072[_0xec84ad(0x189)](_0xec84ad(0x28b),function(){const _0x33f547=_0xec84ad;_0x3823f0[_0x33f547(0x1f5)](_0x1e02ce,_0xa24485,_0x178670);});return;}_0x11f072['send'](_0x1e02ce,_0x178670);},_0x3823f0['on'](_0x1cf47f(0x2b2),_0x1a4904),_0x3823f0['on']('error',_0x4f2efb),_0x3823f0;}return Oe=_0x519f70,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1bbeb8}=ae();function _0xaba7de(_0x2a3a7c){const _0x168c44=_0x507a,_0x3d2421=new Set();let _0x50e94c=-0x1,_0x384bc1=-0x1,_0x4e0ea6=0x0;for(_0x4e0ea6;_0x4e0ea6<_0x2a3a7c[_0x168c44(0x22d)];_0x4e0ea6++){const _0x56972a=_0x2a3a7c[_0x168c44(0x245)](_0x4e0ea6);if(_0x384bc1===-0x1&&_0x1bbeb8[_0x56972a]===0x1)_0x50e94c===-0x1&&(_0x50e94c=_0x4e0ea6);else{if(_0x4e0ea6!==0x0&&(_0x56972a===0x20||_0x56972a===0x9))_0x384bc1===-0x1&&_0x50e94c!==-0x1&&(_0x384bc1=_0x4e0ea6);else{if(_0x56972a===0x2c){if(_0x50e94c===-0x1)throw new SyntaxError(_0x168c44(0x1d9)+_0x4e0ea6);_0x384bc1===-0x1&&(_0x384bc1=_0x4e0ea6);const _0x2eb965=_0x2a3a7c[_0x168c44(0x16a)](_0x50e94c,_0x384bc1);if(_0x3d2421['has'](_0x2eb965))throw new SyntaxError(_0x168c44(0x1d8)+_0x2eb965+_0x168c44(0x158));_0x3d2421[_0x168c44(0x17e)](_0x2eb965),_0x50e94c=_0x384bc1=-0x1;}else throw new SyntaxError(_0x168c44(0x1d9)+_0x4e0ea6);}}}if(_0x50e94c===-0x1||_0x384bc1!==-0x1)throw new SyntaxError(_0x168c44(0x124));const _0x11bad5=_0x2a3a7c[_0x168c44(0x16a)](_0x50e94c,_0x4e0ea6);if(_0x3d2421[_0x168c44(0x215)](_0x11bad5))throw new SyntaxError(_0x168c44(0x1d8)+_0x11bad5+_0x168c44(0x158));return _0x3d2421['add'](_0x11bad5),_0x3d2421;}return Ce={'parse':_0xaba7de},Ce;}var Te,rt;function Ft(){const _0x228537=_0x1bbdf8;if(rt)return Te;rt=0x1;const _0x29d975=nt,_0x40a350=ot,{Duplex:_0x4ebd87}=oe,{createHash:_0x1350dd}=Le,_0x2505c7=ct(),_0x577f60=he(),_0x119476=At(),_0x3f7642=Pe(),{GUID:_0x5289f0,kWebSocket:_0x59da22}=H(),_0x1fc58d=/^[+/0-9A-Za-z]{22}==$/,_0x516ba2=0x0,_0x2297c3=0x1,_0x48d3d1=0x2;class _0x527219 extends _0x29d975{constructor(_0x3360b4,_0x37de11){const _0x4471e6=_0x507a;if(super(),_0x3360b4={'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':_0x3f7642,..._0x3360b4},_0x3360b4['port']==null&&!_0x3360b4[_0x4471e6(0x196)]&&!_0x3360b4['noServer']||_0x3360b4[_0x4471e6(0x15f)]!=null&&(_0x3360b4[_0x4471e6(0x196)]||_0x3360b4['noServer'])||_0x3360b4['server']&&_0x3360b4[_0x4471e6(0x101)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3360b4['port']!=null?(this[_0x4471e6(0x1f1)]=_0x40a350[_0x4471e6(0x257)]((_0x7453a0,_0x54b1c8)=>{const _0x33902f=_0x4471e6,_0x571197=_0x40a350['STATUS_CODES'][0x1aa];_0x54b1c8[_0x33902f(0x132)](0x1aa,{'Content-Length':_0x571197['length'],'Content-Type':'text/plain'}),_0x54b1c8[_0x33902f(0x2b2)](_0x571197);}),this[_0x4471e6(0x1f1)]['listen'](_0x3360b4[_0x4471e6(0x15f)],_0x3360b4[_0x4471e6(0x1d1)],_0x3360b4['backlog'],_0x37de11)):_0x3360b4['server']&&(this[_0x4471e6(0x1f1)]=_0x3360b4[_0x4471e6(0x196)]),this['_server']){const _0x106a89=this[_0x4471e6(0x114)][_0x4471e6(0x20f)](this,_0x4471e6(0x1c8));this['_removeListeners']=_0x13eeaf(this[_0x4471e6(0x1f1)],{'listening':this['emit'][_0x4471e6(0x20f)](this,_0x4471e6(0x168)),'error':this[_0x4471e6(0x114)][_0x4471e6(0x20f)](this,_0x4471e6(0x1bf)),'upgrade':(_0x1a60c2,_0x4df081,_0x556193)=>{const _0x3b819c=_0x4471e6;this[_0x3b819c(0x1f9)](_0x1a60c2,_0x4df081,_0x556193,_0x106a89);}});}_0x3360b4[_0x4471e6(0x225)]===!0x0&&(_0x3360b4[_0x4471e6(0x225)]={}),_0x3360b4[_0x4471e6(0x1a9)]&&(this[_0x4471e6(0x1d0)]=new Set(),this[_0x4471e6(0x10f)]=!0x1),this[_0x4471e6(0x11c)]=_0x3360b4,this[_0x4471e6(0x22f)]=_0x516ba2;}[_0x228537(0x29b)](){const _0x3f7c76=_0x228537;if(this[_0x3f7c76(0x11c)][_0x3f7c76(0x101)])throw new Error(_0x3f7c76(0x226));return this[_0x3f7c76(0x1f1)]?this['_server'][_0x3f7c76(0x29b)]():null;}[_0x228537(0x227)](_0x427c5f){const _0xe29f99=_0x228537;if(this[_0xe29f99(0x22f)]===_0x48d3d1){_0x427c5f&&this[_0xe29f99(0x189)](_0xe29f99(0x227),()=>{const _0x577b0b=_0xe29f99;_0x427c5f(new Error(_0x577b0b(0x1a8)));}),process[_0xe29f99(0x17f)](_0x4c9bd7,this);return;}if(_0x427c5f&&this[_0xe29f99(0x189)](_0xe29f99(0x227),_0x427c5f),this['_state']!==_0x2297c3){if(this['_state']=_0x2297c3,this[_0xe29f99(0x11c)][_0xe29f99(0x101)]||this[_0xe29f99(0x11c)][_0xe29f99(0x196)])this[_0xe29f99(0x1f1)]&&(this['_removeListeners'](),this[_0xe29f99(0x2b9)]=this[_0xe29f99(0x1f1)]=null),this[_0xe29f99(0x1d0)]?this[_0xe29f99(0x1d0)][_0xe29f99(0xf9)]?this[_0xe29f99(0x10f)]=!0x0:process[_0xe29f99(0x17f)](_0x4c9bd7,this):process[_0xe29f99(0x17f)](_0x4c9bd7,this);else{const _0xb4bbb0=this[_0xe29f99(0x1f1)];this[_0xe29f99(0x2b9)](),this[_0xe29f99(0x2b9)]=this[_0xe29f99(0x1f1)]=null,_0xb4bbb0['close'](()=>{_0x4c9bd7(this);});}}}[_0x228537(0x271)](_0x3cc44e){const _0x25c50d=_0x228537;if(this[_0x25c50d(0x11c)][_0x25c50d(0x1e9)]){const _0x3fe590=_0x3cc44e['url'][_0x25c50d(0x19a)]('?');if((_0x3fe590!==-0x1?_0x3cc44e[_0x25c50d(0x19b)][_0x25c50d(0x16a)](0x0,_0x3fe590):_0x3cc44e[_0x25c50d(0x19b)])!==this[_0x25c50d(0x11c)][_0x25c50d(0x1e9)])return!0x1;}return!0x0;}[_0x228537(0x1f9)](_0x37c86e,_0x8f81f1,_0x58e326,_0x239ed4){const _0x586624=_0x228537;_0x8f81f1['on']('error',_0x27349c);const _0x5ae8f3=_0x37c86e[_0x586624(0xfe)][_0x586624(0x288)],_0x559e30=_0x37c86e[_0x586624(0xfe)][_0x586624(0x15a)],_0x32cc4f=+_0x37c86e[_0x586624(0xfe)][_0x586624(0x160)];if(_0x37c86e[_0x586624(0xfd)]!==_0x586624(0x1f0)){_0x339667(this,_0x37c86e,_0x8f81f1,0x195,_0x586624(0x1fc));return;}if(_0x559e30===void 0x0||_0x559e30[_0x586624(0xf8)]()!==_0x586624(0x2bb)){_0x339667(this,_0x37c86e,_0x8f81f1,0x190,_0x586624(0x131));return;}if(_0x5ae8f3===void 0x0||!_0x1fc58d[_0x586624(0x1c7)](_0x5ae8f3)){_0x339667(this,_0x37c86e,_0x8f81f1,0x190,_0x586624(0x27a));return;}if(_0x32cc4f!==0x8&&_0x32cc4f!==0xd){_0x339667(this,_0x37c86e,_0x8f81f1,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x586624(0x271)](_0x37c86e)){_0x9fcc5d(_0x8f81f1,0x190);return;}const _0xb98238=_0x37c86e[_0x586624(0xfe)][_0x586624(0x25f)];let _0x44adb7=new Set();if(_0xb98238!==void 0x0)try{_0x44adb7=_0x119476[_0x586624(0x237)](_0xb98238);}catch{_0x339667(this,_0x37c86e,_0x8f81f1,0x190,_0x586624(0x16c));return;}const _0x4b7973=_0x37c86e[_0x586624(0xfe)][_0x586624(0x206)],_0x3a1d32={};if(this[_0x586624(0x11c)][_0x586624(0x225)]&&_0x4b7973!==void 0x0){const _0x14a562=new _0x577f60(this[_0x586624(0x11c)][_0x586624(0x225)],!0x0,this['options'][_0x586624(0x1b0)]);try{const _0x21c49=_0x2505c7[_0x586624(0x237)](_0x4b7973);_0x21c49[_0x577f60[_0x586624(0x269)]]&&(_0x14a562['accept'](_0x21c49[_0x577f60[_0x586624(0x269)]]),_0x3a1d32[_0x577f60[_0x586624(0x269)]]=_0x14a562);}catch{_0x339667(this,_0x37c86e,_0x8f81f1,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x586624(0x11c)][_0x586624(0x176)]){const _0x32c096={'origin':_0x37c86e[_0x586624(0xfe)][''+(_0x32cc4f===0x8?_0x586624(0x2ac):_0x586624(0x1f7))],'secure':!!(_0x37c86e[_0x586624(0xff)][_0x586624(0x287)]||_0x37c86e[_0x586624(0xff)]['encrypted']),'req':_0x37c86e};if(this[_0x586624(0x11c)][_0x586624(0x176)][_0x586624(0x22d)]===0x2){this[_0x586624(0x11c)][_0x586624(0x176)](_0x32c096,(_0x49e28b,_0x5c5922,_0xb009b,_0x1fbd77)=>{const _0x3aa90e=_0x586624;if(!_0x49e28b)return _0x9fcc5d(_0x8f81f1,_0x5c5922||0x191,_0xb009b,_0x1fbd77);this[_0x3aa90e(0x223)](_0x3a1d32,_0x5ae8f3,_0x44adb7,_0x37c86e,_0x8f81f1,_0x58e326,_0x239ed4);});return;}if(!this[_0x586624(0x11c)][_0x586624(0x176)](_0x32c096))return _0x9fcc5d(_0x8f81f1,0x191);}this[_0x586624(0x223)](_0x3a1d32,_0x5ae8f3,_0x44adb7,_0x37c86e,_0x8f81f1,_0x58e326,_0x239ed4);}[_0x228537(0x223)](_0x43b8e6,_0x497891,_0x1e0fb2,_0x2a905b,_0x410f13,_0x25435b,_0x19d66c){const _0x4f5c64=_0x228537;if(!_0x410f13[_0x4f5c64(0x2c4)]||!_0x410f13['writable'])return _0x410f13['destroy']();if(_0x410f13[_0x59da22])throw new Error(_0x4f5c64(0x12e));if(this[_0x4f5c64(0x22f)]>_0x516ba2)return _0x9fcc5d(_0x410f13,0x1f7);const _0x3334c5=[_0x4f5c64(0x25a),_0x4f5c64(0x249),_0x4f5c64(0x13a),_0x4f5c64(0x2a8)+_0x1350dd(_0x4f5c64(0x152))[_0x4f5c64(0x220)](_0x497891+_0x5289f0)['digest'](_0x4f5c64(0x200))],_0x3ce7dc=new this['options'][(_0x4f5c64(0x107))](null,void 0x0,this[_0x4f5c64(0x11c)]);if(_0x1e0fb2[_0x4f5c64(0xf9)]){const _0x5d912f=this[_0x4f5c64(0x11c)][_0x4f5c64(0x149)]?this['options'][_0x4f5c64(0x149)](_0x1e0fb2,_0x2a905b):_0x1e0fb2[_0x4f5c64(0x184)]()[_0x4f5c64(0x267)]()[_0x4f5c64(0x154)];_0x5d912f&&(_0x3334c5[_0x4f5c64(0x283)](_0x4f5c64(0x153)+_0x5d912f),_0x3ce7dc[_0x4f5c64(0x1e5)]=_0x5d912f);}if(_0x43b8e6[_0x577f60[_0x4f5c64(0x269)]]){const _0x2ae19f=_0x43b8e6[_0x577f60[_0x4f5c64(0x269)]][_0x4f5c64(0x2ad)],_0x3d470f=_0x2505c7[_0x4f5c64(0x122)]({[_0x577f60[_0x4f5c64(0x269)]]:[_0x2ae19f]});_0x3334c5[_0x4f5c64(0x283)](_0x4f5c64(0x14d)+_0x3d470f),_0x3ce7dc[_0x4f5c64(0x191)]=_0x43b8e6;}this[_0x4f5c64(0x114)](_0x4f5c64(0xfe),_0x3334c5,_0x2a905b),_0x410f13[_0x4f5c64(0x2c0)](_0x3334c5[_0x4f5c64(0x230)]('\x0d\x0a')[_0x4f5c64(0x186)]('\x0d\x0a')),_0x410f13[_0x4f5c64(0x1b3)]('error',_0x27349c),_0x3ce7dc[_0x4f5c64(0x148)](_0x410f13,_0x25435b,{'allowSynchronousEvents':this[_0x4f5c64(0x11c)]['allowSynchronousEvents'],'maxPayload':this[_0x4f5c64(0x11c)][_0x4f5c64(0x1b0)],'skipUTF8Validation':this[_0x4f5c64(0x11c)][_0x4f5c64(0x19c)]}),this[_0x4f5c64(0x1d0)]&&(this[_0x4f5c64(0x1d0)][_0x4f5c64(0x17e)](_0x3ce7dc),_0x3ce7dc['on'](_0x4f5c64(0x227),()=>{const _0x44d3bc=_0x4f5c64;this['clients'][_0x44d3bc(0x1db)](_0x3ce7dc),this[_0x44d3bc(0x10f)]&&!this['clients'][_0x44d3bc(0xf9)]&&process[_0x44d3bc(0x17f)](_0x4c9bd7,this);})),_0x19d66c(_0x3ce7dc,_0x2a905b);}}Te=_0x527219;function _0x13eeaf(_0x2ef6cc,_0x16419f){const _0x3d9e0f=_0x228537;for(const _0x3cdd34 of Object[_0x3d9e0f(0x104)](_0x16419f))_0x2ef6cc['on'](_0x3cdd34,_0x16419f[_0x3cdd34]);return function(){const _0x1992d2=_0x3d9e0f;for(const _0x41479b of Object[_0x1992d2(0x104)](_0x16419f))_0x2ef6cc['removeListener'](_0x41479b,_0x16419f[_0x41479b]);};}function _0x4c9bd7(_0x30c0ce){const _0x374663=_0x228537;_0x30c0ce[_0x374663(0x22f)]=_0x48d3d1,_0x30c0ce[_0x374663(0x114)](_0x374663(0x227));}function _0x27349c(){const _0x18d387=_0x228537;this[_0x18d387(0x299)]();}function _0x9fcc5d(_0x28b21e,_0x52132f,_0x2f75a9,_0x4cdfba){const _0x575f52=_0x228537;_0x2f75a9=_0x2f75a9||_0x40a350[_0x575f52(0x203)][_0x52132f],_0x4cdfba={'Connection':_0x575f52(0x227),'Content-Type':_0x575f52(0x22c),'Content-Length':Buffer[_0x575f52(0x171)](_0x2f75a9),..._0x4cdfba},_0x28b21e['once'](_0x575f52(0x22b),_0x28b21e[_0x575f52(0x299)]),_0x28b21e['end'](_0x575f52(0x1a4)+_0x52132f+'\x20'+_0x40a350[_0x575f52(0x203)][_0x52132f]+'\x0d\x0a'+Object[_0x575f52(0x104)](_0x4cdfba)[_0x575f52(0x1ab)](_0x1eecf6=>_0x1eecf6+':\x20'+_0x4cdfba[_0x1eecf6])[_0x575f52(0x186)]('\x0d\x0a')+_0x575f52(0x187)+_0x2f75a9);}function _0x339667(_0x38cef3,_0x39067f,_0x5623d4,_0x298e35,_0x2399b1){const _0x35c185=_0x228537;if(_0x38cef3[_0x35c185(0x111)](_0x35c185(0x278))){const _0x34e211=new Error(_0x2399b1);Error['captureStackTrace'](_0x34e211,_0x339667),_0x38cef3[_0x35c185(0x114)](_0x35c185(0x278),_0x34e211,_0x5623d4,_0x39067f);}else _0x9fcc5d(_0x5623d4,_0x298e35,_0x2399b1);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x497243,_0x4837df,_0x28a7d6,_0x493c5f)=>{const _0x575a63=_0x1bbdf8;for(var _0xd22ab8=_0x493c5f>0x1?void 0x0:_0x493c5f?jt(_0x4837df,_0x28a7d6):_0x4837df,_0x34eba5=_0x497243[_0x575a63(0x22d)]-0x1,_0x167b9d;_0x34eba5>=0x0;_0x34eba5--)(_0x167b9d=_0x497243[_0x34eba5])&&(_0xd22ab8=_0x167b9d(_0xd22ab8)||_0xd22ab8);return _0xd22ab8;},qt=(_0x53c860,_0x2a8499)=>(_0x3e8d1e,_0x5a96d2)=>_0x2a8499(_0x3e8d1e,_0x5a96d2,_0x53c860);let ke=class extends A[_0x1bbdf8(0x29d)]{constructor(_0x442466){const _0x45811c=_0x1bbdf8;super(),this[_0x45811c(0x1bb)]=_0x442466;}['createSocket'](_0x510fb5){const _0x4eee30=_0x1bbdf8;var _0x3db2f0;const _0x519f0d=(_0x3db2f0=this[_0x4eee30(0x1bb)]['getConfig'](fe))==null?void 0x0:_0x3db2f0[_0x4eee30(0x10c)];try{const _0x13e573=new $t(_0x510fb5,{'headers':{..._0x519f0d}}),_0x389444=new A[(_0x4eee30(0x24d))]();return{'URL':_0x510fb5,'close':(_0x57334c,_0x28ef49)=>{const _0x35b09c=_0x4eee30;_0x13e573[_0x35b09c(0x227)](_0x57334c,_0x28ef49),_0x389444[_0x35b09c(0x23d)]();},'send':_0x1d994c=>{_0x13e573['send'](_0x1d994c);},'open$':new V[(_0x4eee30(0x1e0))](_0xffbe92=>{const _0x4cbdb4=_0x4eee30,_0x405628=_0x475708=>_0xffbe92[_0x4cbdb4(0x267)](_0x475708);_0x13e573[_0x4cbdb4(0x145)](_0x4cbdb4(0x28b),_0x405628),_0x389444[_0x4cbdb4(0x17e)](A[_0x4cbdb4(0x235)](()=>_0x13e573[_0x4cbdb4(0x2be)]('open',_0x405628)));})[_0x4eee30(0x265)](V[_0x4eee30(0x238)]()),'close$':new V[(_0x4eee30(0x1e0))](_0x5b7d82=>{const _0x1b0fbc=_0x4eee30,_0x2f3410=_0x2484a3=>_0x5b7d82[_0x1b0fbc(0x267)](_0x2484a3);_0x13e573[_0x1b0fbc(0x145)]('close',_0x2f3410),_0x389444[_0x1b0fbc(0x17e)](A[_0x1b0fbc(0x235)](()=>_0x13e573[_0x1b0fbc(0x2be)]('close',_0x2f3410)));})[_0x4eee30(0x265)](V['share']()),'error$':new V[(_0x4eee30(0x1e0))](_0x2c59cb=>{const _0x565230=_0x4eee30,_0x5a0b70=_0x26fded=>_0x2c59cb[_0x565230(0x267)](_0x26fded);_0x13e573['addEventListener'](_0x565230(0x1bf),_0x5a0b70),_0x389444[_0x565230(0x17e)](A['toDisposable'](()=>_0x13e573['removeEventListener'](_0x565230(0x1bf),_0x5a0b70)));})[_0x4eee30(0x265)](V[_0x4eee30(0x238)]()),'message$':new V['Observable'](_0x18bc8f=>{const _0x436ab8=_0x4eee30,_0x3eaa43=_0x24ecde=>_0x18bc8f[_0x436ab8(0x267)](_0x24ecde);_0x13e573[_0x436ab8(0x145)](_0x436ab8(0x123),_0x3eaa43),_0x389444['add'](A[_0x436ab8(0x235)](()=>_0x13e573['removeEventListener']('message',_0x3eaa43)));})[_0x4eee30(0x265)](V[_0x4eee30(0x238)]())};}catch(_0x375d48){return console[_0x4eee30(0x1bf)](_0x375d48),null;}}};ke=Wt([qt(0x0,A[_0x1bbdf8(0x27b)])],ke);var Gt=Object[_0x1bbdf8(0x259)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3f08ea,_0x3969db,_0x443622)=>_0x3969db in _0x3f08ea?Gt(_0x3f08ea,_0x3969db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x443622}):_0x3f08ea[_0x3969db]=_0x443622,zt=(_0x298737,_0x2d98a7,_0xfba469,_0x42da7b)=>{const _0x4c9171=_0x1bbdf8;for(var _0xecf1d7=_0x42da7b>0x1?void 0x0:_0x42da7b?Vt(_0x2d98a7,_0xfba469):_0x2d98a7,_0x34ae6d=_0x298737[_0x4c9171(0x22d)]-0x1,_0x23f835;_0x34ae6d>=0x0;_0x34ae6d--)(_0x23f835=_0x298737[_0x34ae6d])&&(_0xecf1d7=_0x23f835(_0xecf1d7)||_0xecf1d7);return _0xecf1d7;},Ne=(_0x1402a6,_0x4da35a)=>(_0x34841d,_0x3d2c78)=>_0x4da35a(_0x34841d,_0x3d2c78,_0x1402a6),Yt=(_0x392892,_0x353e35,_0x365fde)=>Ht(_0x392892,_0x353e35+'',_0x365fde);exports[_0x1bbdf8(0x11b)]=class extends A[_0x1bbdf8(0x178)]{constructor(_0x31e2ad=Ct,_0x2c8605,_0x2936b1,_0x10da02){const _0x1a8fb9=_0x1bbdf8;_0x31e2ad[_0x1a8fb9(0x10c)]||_0x2c8605[_0x1a8fb9(0x240)](_0x1a8fb9(0x20c)),super(),this[_0x1a8fb9(0x1bb)]=_0x2936b1,this[_0x1a8fb9(0x1df)]=_0x10da02,this[_0x1a8fb9(0x1bb)][_0x1a8fb9(0x25c)](fe,_0x31e2ad);}['onStarting'](){const _0x378e90=_0x1bbdf8;this[_0x378e90(0x2b0)]();}[_0x1bbdf8(0x2b0)](){const _0x528f5a=_0x1bbdf8;A[_0x528f5a(0x1ef)](this['_injector'],[[it[_0x528f5a(0x221)],{'useClass':ke}]]);}},Yt(exports[_0x1bbdf8(0x11b)],_0x1bbdf8(0x256),_0x1bbdf8(0x250)),exports[_0x1bbdf8(0x11b)]=zt([A['DependentOn'](st[_0x1bbdf8(0x143)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x1bbdf8(0x27e)](A[_0x1bbdf8(0x166)]))],exports[_0x1bbdf8(0x11b)]);var Kt=Object[_0x1bbdf8(0x16f)],Xt=(_0x528f65,_0x4fe110,_0x2cd5df,_0x40d1be)=>{for(var _0x529b77=_0x40d1be>0x1?void 0x0:_0x40d1be?Kt(_0x4fe110,_0x2cd5df):_0x4fe110,_0x51a48b=_0x528f65['length']-0x1,_0x439b34;_0x51a48b>=0x0;_0x51a48b--)(_0x439b34=_0x528f65[_0x51a48b])&&(_0x529b77=_0x439b34(_0x529b77)||_0x529b77);return _0x529b77;},ne=(_0x338d8c,_0x574750)=>(_0x45b253,_0x26df83)=>_0x574750(_0x45b253,_0x26df83,_0x338d8c);exports[_0x1bbdf8(0x26a)]=class extends st[_0x1bbdf8(0x10a)]{constructor(_0x4db79b,_0x12a990,_0x45039d,_0x1b6652,_0x51ba00){const _0xdc8bc=_0x1bbdf8;super(_0x4db79b,_0x12a990,_0x45039d,_0x1b6652,_0x51ba00);const _0x463491=this[_0xdc8bc(0x1bb)][_0xdc8bc(0x1c2)](fe);this[_0xdc8bc(0x125)][_0xdc8bc(0xf6)]({'interceptor':(_0x327131,_0xeefd65)=>{const _0x214610=_0xdc8bc;var _0x13a564;const _0x15109e=_0x327131[_0x214610(0xfe)];return(_0x13a564=_0x463491==null?void 0x0:_0x463491[_0x214610(0x10c)])!=null&&_0x13a564[_0x214610(0x276)]&&_0x15109e['set']('Cookie',_0x463491['customHeaders'][_0x214610(0x276)]),_0xeefd65(_0x327131);}});}async[_0x1bbdf8(0x1c4)](_0x356294){return this['_doCreateSocket'](_0x356294);}},exports[_0x1bbdf8(0x26a)]=Xt([ne(0x0,A[_0x1bbdf8(0x27e)](A[_0x1bbdf8(0x166)])),ne(0x1,A[_0x1bbdf8(0x27e)](it['HTTPService'])),ne(0x2,A[_0x1bbdf8(0x27b)]),ne(0x3,A[_0x1bbdf8(0x130)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x1bbdf8(0x26a)]),exports[_0x1bbdf8(0x1d2)]=fe;
|
|
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;
|