@univerjs-pro/collaboration-client-node 0.10.8 → 0.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x41e9f5=_0x4406;(function(_0x3f4a9f,_0x1258a9){const _0x31027c=_0x4406,_0xc3ed3a=_0x3f4a9f();while(!![]){try{const _0x221cdb=-parseInt(_0x31027c(0x193))/0x1+parseInt(_0x31027c(0x2fe))/0x2*(parseInt(_0x31027c(0x1e7))/0x3)+parseInt(_0x31027c(0x19f))/0x4+parseInt(_0x31027c(0x2aa))/0x5*(parseInt(_0x31027c(0x23d))/0x6)+parseInt(_0x31027c(0x2cb))/0x7+parseInt(_0x31027c(0x17d))/0x8*(-parseInt(_0x31027c(0x216))/0x9)+parseInt(_0x31027c(0x1d4))/0xa;if(_0x221cdb===_0x1258a9)break;else _0xc3ed3a['push'](_0xc3ed3a['shift']());}catch(_0xcc8871){_0xc3ed3a['push'](_0xc3ed3a['shift']());}}}(_0x2a28,0xddb27));Object['defineProperty'](exports,Symbol[_0x41e9f5(0x2eb)],{'value':_0x41e9f5(0x1c9)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x41e9f5(0x16b),Ct={'customHeaders':{}};function Tt(_0xf4658e){const _0x4fe464=_0x41e9f5;return _0xf4658e&&_0xf4658e['__esModule']&&Object[_0x4fe464(0x179)][_0x4fe464(0x2d6)][_0x4fe464(0x1a0)](_0xf4658e,_0x4fe464(0x25b))?_0xf4658e[_0x4fe464(0x25b)]:_0xf4658e;}function at(_0x473a4d){const _0x2f48ee=_0x41e9f5;if(Object[_0x2f48ee(0x179)][_0x2f48ee(0x2d6)][_0x2f48ee(0x1a0)](_0x473a4d,'__esModule'))return _0x473a4d;var _0x3b1776=_0x473a4d[_0x2f48ee(0x25b)];if(typeof _0x3b1776==_0x2f48ee(0x291)){var _0x16ce78=function _0x55c3f(){const _0x1c614a=_0x2f48ee;var _0x1c0468=!0x1;try{_0x1c0468=this instanceof _0x55c3f;}catch{}return _0x1c0468?Reflect[_0x1c614a(0x295)](_0x3b1776,arguments,this['constructor']):_0x3b1776[_0x1c614a(0x1e6)](this,arguments);};_0x16ce78[_0x2f48ee(0x179)]=_0x3b1776[_0x2f48ee(0x179)];}else _0x16ce78={};return Object[_0x2f48ee(0x217)](_0x16ce78,_0x2f48ee(0x28f),{'value':!0x0}),Object['keys'](_0x473a4d)[_0x2f48ee(0x202)](function(_0x121749){const _0x18d796=_0x2f48ee;var _0x4e84fa=Object[_0x18d796(0x308)](_0x473a4d,_0x121749);Object['defineProperty'](_0x16ce78,_0x121749,_0x4e84fa[_0x18d796(0x237)]?_0x4e84fa:{'enumerable':!0x0,'get':function(){return _0x473a4d[_0x121749];}});}),_0x16ce78;}var se={'exports':{}},ge,Ge;function H(){const _0x105ffc=_0x41e9f5;if(Ge)return ge;Ge=0x1;const _0x350d31=['nodebuffer',_0x105ffc(0x16c),_0x105ffc(0x298)],_0x218d33=typeof Blob<'u';return _0x218d33&&_0x350d31[_0x105ffc(0x18a)](_0x105ffc(0x226)),ge={'BINARY_TYPES':_0x350d31,'EMPTY_BUFFER':Buffer[_0x105ffc(0x1e0)](0x0),'GUID':_0x105ffc(0x1a5),'hasBlob':_0x218d33,'kForOnEventAttribute':Symbol(_0x105ffc(0x289)),'kListener':Symbol(_0x105ffc(0x2f8)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x105ffc(0x285)),'NOOP':()=>{}},ge;}function _0x4406(_0x1dfb06,_0x164a29){const _0x2a2854=_0x2a28();return _0x4406=function(_0x440664,_0x2cb4a0){_0x440664=_0x440664-0x145;let _0xe716fc=_0x2a2854[_0x440664];return _0xe716fc;},_0x4406(_0x1dfb06,_0x164a29);}const Nt={},kt=Object[_0x41e9f5(0x149)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x41e9f5(0x1c9)})),Lt=at(kt);var Ve;function ce(){const _0x25ef9c=_0x41e9f5;if(Ve)return se[_0x25ef9c(0x2b4)];Ve=0x1;const {EMPTY_BUFFER:_0x6fa3dd}=H(),_0x401cae=Buffer[Symbol['species']];function _0x3a5259(_0x18b3d6,_0x3e1133){const _0x237769=_0x25ef9c;if(_0x18b3d6[_0x237769(0x28a)]===0x0)return _0x6fa3dd;if(_0x18b3d6[_0x237769(0x28a)]===0x1)return _0x18b3d6[0x0];const _0x12697f=Buffer[_0x237769(0x1d1)](_0x3e1133);let _0x378d2b=0x0;for(let _0x4ea2c9=0x0;_0x4ea2c9<_0x18b3d6[_0x237769(0x28a)];_0x4ea2c9++){const _0x2501e1=_0x18b3d6[_0x4ea2c9];_0x12697f['set'](_0x2501e1,_0x378d2b),_0x378d2b+=_0x2501e1[_0x237769(0x28a)];}return _0x378d2b<_0x3e1133?new _0x401cae(_0x12697f[_0x237769(0x16d)],_0x12697f[_0x237769(0x157)],_0x378d2b):_0x12697f;}function _0x41584e(_0x5828cd,_0x5a5483,_0x9bc310,_0x26fdb6,_0x1ffeb5){for(let _0x2f656c=0x0;_0x2f656c<_0x1ffeb5;_0x2f656c++)_0x9bc310[_0x26fdb6+_0x2f656c]=_0x5828cd[_0x2f656c]^_0x5a5483[_0x2f656c&0x3];}function _0x179bc6(_0x324bd3,_0x16a37b){const _0x5d9703=_0x25ef9c;for(let _0x14db89=0x0;_0x14db89<_0x324bd3[_0x5d9703(0x28a)];_0x14db89++)_0x324bd3[_0x14db89]^=_0x16a37b[_0x14db89&0x3];}function _0x17fdb1(_0x37745b){const _0x4072ba=_0x25ef9c;return _0x37745b[_0x4072ba(0x28a)]===_0x37745b[_0x4072ba(0x16d)][_0x4072ba(0x2a4)]?_0x37745b[_0x4072ba(0x16d)]:_0x37745b[_0x4072ba(0x16d)]['slice'](_0x37745b['byteOffset'],_0x37745b[_0x4072ba(0x157)]+_0x37745b[_0x4072ba(0x28a)]);}function _0x50cda9(_0x2f8e5c){const _0x1ee0f0=_0x25ef9c;if(_0x50cda9[_0x1ee0f0(0x1cf)]=!0x0,Buffer['isBuffer'](_0x2f8e5c))return _0x2f8e5c;let _0x503f63;return _0x2f8e5c instanceof ArrayBuffer?_0x503f63=new _0x401cae(_0x2f8e5c):ArrayBuffer[_0x1ee0f0(0x2bf)](_0x2f8e5c)?_0x503f63=new _0x401cae(_0x2f8e5c[_0x1ee0f0(0x16d)],_0x2f8e5c['byteOffset'],_0x2f8e5c[_0x1ee0f0(0x2a4)]):(_0x503f63=Buffer[_0x1ee0f0(0x171)](_0x2f8e5c),_0x50cda9['readOnly']=!0x1),_0x503f63;}if(se[_0x25ef9c(0x2b4)]={'concat':_0x3a5259,'mask':_0x41584e,'toArrayBuffer':_0x17fdb1,'toBuffer':_0x50cda9,'unmask':_0x179bc6},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ab1d1=Lt;se['exports'][_0x25ef9c(0x207)]=function(_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889){const _0x4a97fc=_0x25ef9c;_0x1ac889<0x30?_0x41584e(_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889):_0x1ab1d1[_0x4a97fc(0x207)](_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889);},se[_0x25ef9c(0x2b4)][_0x25ef9c(0x288)]=function(_0x5a8af4,_0x1c736d){const _0x36cdd3=_0x25ef9c;_0x5a8af4[_0x36cdd3(0x28a)]<0x20?_0x179bc6(_0x5a8af4,_0x1c736d):_0x1ab1d1[_0x36cdd3(0x288)](_0x5a8af4,_0x1c736d);};}catch{}return se[_0x25ef9c(0x2b4)];}var ye,He;function Pt(){const _0xae32f5=_0x41e9f5;if(He)return ye;He=0x1;const _0x297ce1=Symbol(_0xae32f5(0x175)),_0x517be4=Symbol(_0xae32f5(0x1af));class _0xb1c4c4{constructor(_0x2c29f0){const _0x85e563=_0xae32f5;this[_0x297ce1]=()=>{this['pending']--,this[_0x517be4]();},this[_0x85e563(0x1f7)]=_0x2c29f0||0x1/0x0,this[_0x85e563(0x259)]=[],this[_0x85e563(0x22d)]=0x0;}[_0xae32f5(0x2bb)](_0x44a830){const _0x584ddb=_0xae32f5;this[_0x584ddb(0x259)][_0x584ddb(0x18a)](_0x44a830),this[_0x517be4]();}[_0x517be4](){const _0x172404=_0xae32f5;if(this[_0x172404(0x22d)]!==this[_0x172404(0x1f7)]&&this[_0x172404(0x259)][_0x172404(0x28a)]){const _0x2dcc61=this['jobs'][_0x172404(0x23c)]();this['pending']++,_0x2dcc61(this[_0x297ce1]);}}}return ye=_0xb1c4c4,ye;}var ve,ze;function _0x2a28(){const _0x2aca6a=['unshift','_buffers','_max_window_bits','frame','Unexpected\x20end\x20of\x20input','end','_socket','jobs','consume','default','\x20(supported\x20versions:\x20','socketPath','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','search','clientNoContextTakeover','RSV1\x20must\x20be\x20clear','client','parse','params','Cookie','_loop','_compress','invalid\x20payload\x20length\x20','13,\x208','_closeCode','compress','indexOf','generateMask','_firstFragment','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','redirect','kCode','Z_DEFAULT_WINDOWBITS','getPayloadLength16','removeListener','CLOSING','connect','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','ILogService','Server\x20sent\x20no\x20subprotocol','_originalSecure','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','onStarting','writeUIntBE','Parameter\x20\x22','_sender','reset','maxPayload','websocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Sec-WebSocket-Extensions:\x20','unmask','kIsForOnEventAttribute','length','_autoPong','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','createConnection','target','__esModule','kByteLength','function','setSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','Sec-WebSocket-Protocol','construct','has','entries','fragments','getBlobData','_options','data','message','kTarget','Unknown\x20parameter\x20\x22','upgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','ISocketService','pong','kWasClean','byteLength','encrypted','maxRedirects','CollaborationSocketService','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Observable','5EFjvYZ','_messageLength','createSocket','options','once','Disposable','location','createDeflateRaw','haveLength','_receiver','exports','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Protocol:\x20','_decompress','response','_server','invalid\x20UTF-8\x20sequence','add','_inflate','connection','Plugin','isView','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_req','total-length','buffers','Unexpected\x20character\x20at\x20index\x20','WS_ERR_INVALID_OPCODE','_skipUTF8Validation','auth','_originalHostOrSocketPath','client_no_context_takeover','type','6693953GcyEVb','clients','server_no_context_takeover','href','extensionName','emit','charCodeAt','finish','bind','_mask','_errored','hasOwnProperty','writable','_threshold','setNoDelay','keys','_no_context_takeover','maskBuffer','handshakeTimeout','The\x20\x22','invalid\x20opcode\x200','fin','FIN\x20must\x20be\x20set','next','pow','_bufferedAmount','getData','handleProtocols','_originalIpc','string','handleEvent','close','toStringTag','url','wss:','_closeFrameSent','isInteger','resume','binaryType','DependentOn','_isServer','setHeader','writeHead','pause','number','kListener','write','_protocol','sec-websocket-extensions','WebSocket','sec-websocket-origin','6Ycnswt','Invalid\x20Upgrade\x20header','path','join','Invalid\x20value\x20for\x20parameter\x20\x22','replace','dispatch','_queue','sha1','Unsupported\x20protocol\x20version:\x20','getOwnPropertyDescriptor','_readableState','includes','read','timeout','Invalid\x20Sec-WebSocket-Accept\x20header','freeze','server','socket','_payloadLength','NodeCollaborationSocketService','acceptAsClient','digest','skipUTF8Validation','Max\x20payload\x20size\x20exceeded','ws:','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','onerror','serverMaxWindowBits','hash','byteOffset','writeUInt16BE','statusCode','protocol','text/plain','slice','_destroy','accept','_extensions','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','extensions','ping','sec-websocket-accept','concat','readable','offer','CONNECTING','_registerDependencies','WS_ERR_EXPECTED_FIN','CLOSED','collaboration-client-node.config','arraybuffer','buffer','noServer','Unexpected\x20server\x20response:\x20','_closeTimer','from','GET','ISnapshotServerService','Invalid\x20URL:\x20','kDone','dequeue','kError','normalizeParams','prototype','COLLABORATION_CLIENT_NODE_CONFIG_KEY','clientTracking','reason','2072YSiDWK','Invalid\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Origin','isServer','endEmitted','object','_fragments','removeAllListeners','controlMessage','client_max_window_bits','_generateMask','unexpected-response','base64','push','WS_NO_UTF_8_VALIDATE','setTimeout','port','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','wsClientError','nextTick','_url','isPaused','1638924czJLYm','_errorEmitted','handleUpgrade','isValidUTF8','finished','_shouldEmitClose','WS_ERR_UNEXPECTED_RSV_1','_paused','WS_ERR_INVALID_UTF8','_fragmented','getPayloadLength64','bufferedAmount','5459976Udwnbl','call','headers','captureStackTrace','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','HTTPService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_closeMessage','addEventListener','WS_ERR_UNEXPECTED_MASK','clientMaxWindowBits','objectMode','getInfo','values','_removeListeners','_deflate','kRun','destroy','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','origin','_configService','autoPong','needDrain','Injector','createError','invalid\x20status\x20code\x20','_fin','address','WS_ERR_UNEXPECTED_RSV_2_3','MASK\x20must\x20be\x20set','listenerCount','removeEventListener','env','servername','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','error','send','isArray','_bufferedBytes','authorization','Module','serverNoContextTakeover','verifyClient','startLoop','_injector','map','readOnly','Sec-WebSocket-Accept:\x20','allocUnsafe','\x22:\x20','Origin','566960xOsRKh','getConfig','_allowSynchronousEvents','find','_binaryType','readyState','terminate','test','cork','DisposableCollection','errorEmitted','shouldHandle','alloc','value','_read','Blob','Invalid\x20Sec-WebSocket-Protocol\x20header','_opcode','apply','644121uPJAPL','readUInt16BE','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_state','protocolVersion','request','server_max_window_bits','getMask','listeners','_totalPayloadLength','_redirects','_maskBuffer','Upgrade:\x20websocket','cookie','username','open','concurrency','MASK\x20must\x20be\x20clear','host','code','WS_ERR_EXPECTED_MASK','https:','WS_ERR_INVALID_CLOSE_CODE','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','zlibInflateOptions','create','Maximum\x20redirects\x20exceeded','forEach','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','hostname','size','species','mask','threshold','format','enqueue','registerDependencies','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','UniverCollaborationClientNodePlugin','_closeFrameReceived','File','sendFrame','backlog','toDisposable','listen','allowSynchronousEvents','sec-websocket-protocol','56034rcVxnd','defineProperty','set','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','password','cleanup','text/html','permessage-deflate','emitClose','The\x20server\x20is\x20not\x20running','customHeaders','IConfigService','finishRequest','update','Inject','onopen','blob','nodebuffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','completeUpgrade','setConfig','concurrencyLimit','perMessageDeflate','pending','pluginName','STATUS_CODES','invalid\x20opcode\x20','toString','_masked','defaultPort','toLowerCase','_final','\x0d\x0a\x0d\x0a','get','_readyState','OPEN','sec-websocket-key','_httpService','shift','6824634DtoCHA','_compressed','acceptAsServer','followRedirects','abort','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','share','dataMessage','catch','flush','pipe','conclude','http:','destroyed','_doCreateSocket','opcode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','wasClean','_writableState','registerHTTPInterceptor','decompress'];_0x2a28=function(){return _0x2aca6a;};return _0x2a28();}function he(){const _0x3e2b87=_0x41e9f5;if(ze)return ve;ze=0x1;const _0x26a14c=bt,_0x668794=ce(),_0x246a51=Pt(),{kStatusCode:_0x52010b}=H(),_0x145edf=Buffer[Symbol['species']],_0x359c53=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3f9c2e=Symbol(_0x3e2b87(0x21d)),_0x12a980=Symbol(_0x3e2b87(0x2c2)),_0x287b9e=Symbol('callback'),_0x33e827=Symbol(_0x3e2b87(0x2c3)),_0xd4869c=Symbol(_0x3e2b87(0x1c4));let _0x2e5da1;class _0x3707a4{constructor(_0x37c07d,_0x3b6b1a,_0x6667a5){const _0xa607db=_0x3e2b87;if(this[_0xa607db(0x25e)]=_0x6667a5|0x0,this['_options']=_0x37c07d||{},this[_0xa607db(0x2d8)]=this[_0xa607db(0x29a)][_0xa607db(0x208)]!==void 0x0?this[_0xa607db(0x29a)]['threshold']:0x400,this[_0xa607db(0x2f3)]=!!_0x3b6b1a,this[_0xa607db(0x1ae)]=null,this[_0xa607db(0x2bc)]=null,this['params']=null,!_0x2e5da1){const _0x1c598c=this['_options'][_0xa607db(0x22b)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x2e5da1=new _0x246a51(_0x1c598c);}}static get['extensionName'](){return'permessage-deflate';}[_0x3e2b87(0x166)](){const _0x4bee28=_0x3e2b87,_0x1a3897={};return this[_0x4bee28(0x29a)]['serverNoContextTakeover']&&(_0x1a3897[_0x4bee28(0x2cd)]=!0x0),this['_options'][_0x4bee28(0x263)]&&(_0x1a3897[_0x4bee28(0x2c9)]=!0x0),this[_0x4bee28(0x29a)][_0x4bee28(0x155)]&&(_0x1a3897['server_max_window_bits']=this['_options']['serverMaxWindowBits']),this[_0x4bee28(0x29a)]['clientMaxWindowBits']?_0x1a3897['client_max_window_bits']=this[_0x4bee28(0x29a)]['clientMaxWindowBits']:this[_0x4bee28(0x29a)][_0x4bee28(0x1a9)]==null&&(_0x1a3897['client_max_window_bits']=!0x0),_0x1a3897;}[_0x3e2b87(0x15e)](_0x3c30d7){const _0x2e1819=_0x3e2b87;return _0x3c30d7=this[_0x2e1819(0x178)](_0x3c30d7),this[_0x2e1819(0x267)]=this[_0x2e1819(0x2f3)]?this[_0x2e1819(0x23f)](_0x3c30d7):this[_0x2e1819(0x14e)](_0x3c30d7),this[_0x2e1819(0x267)];}[_0x3e2b87(0x21b)](){const _0x25acd2=_0x3e2b87;if(this[_0x25acd2(0x2bc)]&&(this['_inflate']['close'](),this[_0x25acd2(0x2bc)]=null),this['_deflate']){const _0x2fda65=this['_deflate'][_0x287b9e];this[_0x25acd2(0x1ae)][_0x25acd2(0x2ea)](),this['_deflate']=null,_0x2fda65&&_0x2fda65(new Error(_0x25acd2(0x28c)));}}[_0x3e2b87(0x23f)](_0x212d74){const _0x1bea30=_0x3e2b87,_0x3b7a30=this['_options'],_0x273d5f=_0x212d74[_0x1bea30(0x1d7)](_0xcdb135=>!(_0x3b7a30[_0x1bea30(0x1ca)]===!0x1&&_0xcdb135[_0x1bea30(0x2cd)]||_0xcdb135[_0x1bea30(0x1ed)]&&(_0x3b7a30[_0x1bea30(0x155)]===!0x1||typeof _0x3b7a30['serverMaxWindowBits']==_0x1bea30(0x2f7)&&_0x3b7a30[_0x1bea30(0x155)]>_0xcdb135[_0x1bea30(0x1ed)])||typeof _0x3b7a30[_0x1bea30(0x1a9)]==_0x1bea30(0x2f7)&&!_0xcdb135[_0x1bea30(0x186)]));if(!_0x273d5f)throw new Error(_0x1bea30(0x1b1));return _0x3b7a30[_0x1bea30(0x1ca)]&&(_0x273d5f[_0x1bea30(0x2cd)]=!0x0),_0x3b7a30['clientNoContextTakeover']&&(_0x273d5f[_0x1bea30(0x2c9)]=!0x0),typeof _0x3b7a30['serverMaxWindowBits']==_0x1bea30(0x2f7)&&(_0x273d5f[_0x1bea30(0x1ed)]=_0x3b7a30[_0x1bea30(0x155)]),typeof _0x3b7a30[_0x1bea30(0x1a9)]==_0x1bea30(0x2f7)?_0x273d5f[_0x1bea30(0x186)]=_0x3b7a30['clientMaxWindowBits']:(_0x273d5f['client_max_window_bits']===!0x0||_0x3b7a30['clientMaxWindowBits']===!0x1)&&delete _0x273d5f[_0x1bea30(0x186)],_0x273d5f;}[_0x3e2b87(0x14e)](_0x312465){const _0x26e50e=_0x3e2b87,_0xd588=_0x312465[0x0];if(this[_0x26e50e(0x29a)][_0x26e50e(0x263)]===!0x1&&_0xd588['client_no_context_takeover'])throw new Error(_0x26e50e(0x261));if(!_0xd588[_0x26e50e(0x186)])typeof this[_0x26e50e(0x29a)]['clientMaxWindowBits']==_0x26e50e(0x2f7)&&(_0xd588[_0x26e50e(0x186)]=this['_options'][_0x26e50e(0x1a9)]);else{if(this[_0x26e50e(0x29a)][_0x26e50e(0x1a9)]===!0x1||typeof this[_0x26e50e(0x29a)][_0x26e50e(0x1a9)]==_0x26e50e(0x2f7)&&_0xd588[_0x26e50e(0x186)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xd588;}['normalizeParams'](_0x589423){const _0xc5fe88=_0x3e2b87;return _0x589423[_0xc5fe88(0x202)](_0x57dd13=>{const _0x4d7ce9=_0xc5fe88;Object['keys'](_0x57dd13)[_0x4d7ce9(0x202)](_0x2f8c50=>{const _0x2ae01b=_0x4d7ce9;let _0x2b11f3=_0x57dd13[_0x2f8c50];if(_0x2b11f3[_0x2ae01b(0x28a)]>0x1)throw new Error(_0x2ae01b(0x281)+_0x2f8c50+_0x2ae01b(0x25f));if(_0x2b11f3=_0x2b11f3[0x0],_0x2f8c50===_0x2ae01b(0x186)){if(_0x2b11f3!==!0x0){const _0x318875=+_0x2b11f3;if(!Number['isInteger'](_0x318875)||_0x318875<0x8||_0x318875>0xf)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+'\x22:\x20'+_0x2b11f3);_0x2b11f3=_0x318875;}else{if(!this[_0x2ae01b(0x2f3)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2f8c50+_0x2ae01b(0x1d2)+_0x2b11f3);}}else{if(_0x2f8c50===_0x2ae01b(0x1ed)){const _0x41815e=+_0x2b11f3;if(!Number[_0x2ae01b(0x2ef)](_0x41815e)||_0x41815e<0x8||_0x41815e>0xf)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+'\x22:\x20'+_0x2b11f3);_0x2b11f3=_0x41815e;}else{if(_0x2f8c50===_0x2ae01b(0x2c9)||_0x2f8c50===_0x2ae01b(0x2cd)){if(_0x2b11f3!==!0x0)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+_0x2ae01b(0x1d2)+_0x2b11f3);}else throw new Error(_0x2ae01b(0x29e)+_0x2f8c50+'\x22');}}_0x57dd13[_0x2f8c50]=_0x2b11f3;});}),_0x589423;}[_0x3e2b87(0x251)](_0x5f1639,_0x5319c3,_0x54d523){const _0x294f9c=_0x3e2b87;_0x2e5da1[_0x294f9c(0x2bb)](_0x3f90b8=>{const _0x21cff9=_0x294f9c;this[_0x21cff9(0x2b7)](_0x5f1639,_0x5319c3,(_0x226bd3,_0x4696e9)=>{_0x3f90b8(),_0x54d523(_0x226bd3,_0x4696e9);});});}[_0x3e2b87(0x26e)](_0x135e5e,_0x11e8c6,_0x4116f4){_0x2e5da1['add'](_0x3f6a26=>{this['_compress'](_0x135e5e,_0x11e8c6,(_0x3c986a,_0x5831b6)=>{_0x3f6a26(),_0x4116f4(_0x3c986a,_0x5831b6);});});}['_decompress'](_0x2a08d3,_0x3bb39b,_0x514412){const _0x392af3=_0x3e2b87,_0x4a4328=this[_0x392af3(0x2f3)]?_0x392af3(0x265):_0x392af3(0x14a);if(!this[_0x392af3(0x2bc)]){const _0x2d4ec1=_0x4a4328+_0x392af3(0x254),_0x5d5d6d=typeof this[_0x392af3(0x267)][_0x2d4ec1]!=_0x392af3(0x2f7)?_0x26a14c[_0x392af3(0x275)]:this[_0x392af3(0x267)][_0x2d4ec1];this[_0x392af3(0x2bc)]=_0x26a14c['createInflateRaw']({...this['_options'][_0x392af3(0x1ff)],'windowBits':_0x5d5d6d}),this['_inflate'][_0x3f9c2e]=this,this[_0x392af3(0x2bc)][_0x12a980]=0x0,this['_inflate'][_0x33e827]=[],this[_0x392af3(0x2bc)]['on'](_0x392af3(0x1c4),_0x1592b7),this['_inflate']['on'](_0x392af3(0x29b),_0x17fb92);}this[_0x392af3(0x2bc)][_0x287b9e]=_0x514412,this['_inflate'][_0x392af3(0x2f9)](_0x2a08d3),_0x3bb39b&&this[_0x392af3(0x2bc)]['write'](_0x359c53),this['_inflate']['flush'](()=>{const _0x15d69c=_0x392af3,_0x44a36b=this[_0x15d69c(0x2bc)][_0xd4869c];if(_0x44a36b){this['_inflate'][_0x15d69c(0x2ea)](),this[_0x15d69c(0x2bc)]=null,_0x514412(_0x44a36b);return;}const _0x4b826f=_0x668794[_0x15d69c(0x164)](this['_inflate'][_0x33e827],this[_0x15d69c(0x2bc)][_0x12a980]);this['_inflate']['_readableState'][_0x15d69c(0x181)]?(this['_inflate'][_0x15d69c(0x2ea)](),this[_0x15d69c(0x2bc)]=null):(this[_0x15d69c(0x2bc)][_0x12a980]=0x0,this[_0x15d69c(0x2bc)][_0x33e827]=[],_0x3bb39b&&this['params'][_0x4a4328+_0x15d69c(0x2db)]&&this[_0x15d69c(0x2bc)][_0x15d69c(0x283)]()),_0x514412(null,_0x4b826f);});}[_0x3e2b87(0x26a)](_0x568c26,_0x50f9e9,_0x4b6242){const _0x27a42e=_0x3e2b87,_0x4c4ce4=this['_isServer']?_0x27a42e(0x14a):_0x27a42e(0x265);if(!this[_0x27a42e(0x1ae)]){const _0x4ee3dc=_0x4c4ce4+_0x27a42e(0x254),_0x2e04d1=typeof this['params'][_0x4ee3dc]!=_0x27a42e(0x2f7)?_0x26a14c['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4ee3dc];this[_0x27a42e(0x1ae)]=_0x26a14c[_0x27a42e(0x2b1)]({...this[_0x27a42e(0x29a)]['zlibDeflateOptions'],'windowBits':_0x2e04d1}),this['_deflate'][_0x12a980]=0x0,this['_deflate'][_0x33e827]=[],this[_0x27a42e(0x1ae)]['on'](_0x27a42e(0x29b),_0x2054dc);}this[_0x27a42e(0x1ae)][_0x287b9e]=_0x4b6242,this[_0x27a42e(0x1ae)]['write'](_0x568c26),this[_0x27a42e(0x1ae)][_0x27a42e(0x246)](_0x26a14c['Z_SYNC_FLUSH'],()=>{const _0x493d00=_0x27a42e;if(!this['_deflate'])return;let _0x1f8ae5=_0x668794['concat'](this['_deflate'][_0x33e827],this[_0x493d00(0x1ae)][_0x12a980]);_0x50f9e9&&(_0x1f8ae5=new _0x145edf(_0x1f8ae5[_0x493d00(0x16d)],_0x1f8ae5[_0x493d00(0x157)],_0x1f8ae5['length']-0x4)),this[_0x493d00(0x1ae)][_0x287b9e]=null,this['_deflate'][_0x12a980]=0x0,this['_deflate'][_0x33e827]=[],_0x50f9e9&&this[_0x493d00(0x267)][_0x4c4ce4+_0x493d00(0x2db)]&&this[_0x493d00(0x1ae)][_0x493d00(0x283)](),_0x4b6242(null,_0x1f8ae5);});}}ve=_0x3707a4;function _0x2054dc(_0x4b15cb){const _0x8610f0=_0x3e2b87;this[_0x33e827][_0x8610f0(0x18a)](_0x4b15cb),this[_0x12a980]+=_0x4b15cb[_0x8610f0(0x28a)];}function _0x17fb92(_0x2cdfa6){const _0x4f545f=_0x3e2b87;if(this[_0x12a980]+=_0x2cdfa6['length'],this[_0x3f9c2e][_0x4f545f(0x25e)]<0x1||this[_0x12a980]<=this[_0x3f9c2e][_0x4f545f(0x25e)]){this[_0x33e827][_0x4f545f(0x18a)](_0x2cdfa6);return;}this[_0xd4869c]=new RangeError(_0x4f545f(0x151)),this[_0xd4869c]['code']=_0x4f545f(0x228),this[_0xd4869c][_0x52010b]=0x3f1,this[_0x4f545f(0x277)](_0x4f545f(0x29b),_0x17fb92),this[_0x4f545f(0x283)]();}function _0x1592b7(_0x111e08){const _0x53da46=_0x3e2b87;if(this[_0x3f9c2e][_0x53da46(0x2bc)]=null,this[_0xd4869c]){this[_0x287b9e](this[_0xd4869c]);return;}_0x111e08[_0x52010b]=0x3ef,this[_0x287b9e](_0x111e08);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x41e9f5(0x217)]({'__proto__':null,'default':Dt},Symbol[_0x41e9f5(0x2eb)],{'value':_0x41e9f5(0x1c9)})),Bt=at(Rt);var Ye;function ae(){const _0x141d7a=_0x41e9f5;if(Ye)return ie[_0x141d7a(0x2b4)];Ye=0x1;const {isUtf8:_0x18f2e9}=wt,{hasBlob:_0x149f1a}=H(),_0xc5fb7c=[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 _0x5c24ed(_0xc394b7){return _0xc394b7>=0x3e8&&_0xc394b7<=0x3f6&&_0xc394b7!==0x3ec&&_0xc394b7!==0x3ed&&_0xc394b7!==0x3ee||_0xc394b7>=0xbb8&&_0xc394b7<=0x1387;}function _0x4e029f(_0x57bd14){const _0x57c1d7=_0x141d7a,_0x5a3f59=_0x57bd14[_0x57c1d7(0x28a)];let _0xfcd66=0x0;for(;_0xfcd66<_0x5a3f59;)if((_0x57bd14[_0xfcd66]&0x80)===0x0)_0xfcd66++;else{if((_0x57bd14[_0xfcd66]&0xe0)===0xc0){if(_0xfcd66+0x1===_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66]&0xfe)===0xc0)return!0x1;_0xfcd66+=0x2;}else{if((_0x57bd14[_0xfcd66]&0xf0)===0xe0){if(_0xfcd66+0x2>=_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x2]&0xc0)!==0x80||_0x57bd14[_0xfcd66]===0xe0&&(_0x57bd14[_0xfcd66+0x1]&0xe0)===0x80||_0x57bd14[_0xfcd66]===0xed&&(_0x57bd14[_0xfcd66+0x1]&0xe0)===0xa0)return!0x1;_0xfcd66+=0x3;}else{if((_0x57bd14[_0xfcd66]&0xf8)===0xf0){if(_0xfcd66+0x3>=_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x2]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x3]&0xc0)!==0x80||_0x57bd14[_0xfcd66]===0xf0&&(_0x57bd14[_0xfcd66+0x1]&0xf0)===0x80||_0x57bd14[_0xfcd66]===0xf4&&_0x57bd14[_0xfcd66+0x1]>0x8f||_0x57bd14[_0xfcd66]>0xf4)return!0x1;_0xfcd66+=0x4;}else return!0x1;}}}return!0x0;}function _0x3bab43(_0x46cdbe){const _0x3ea0d8=_0x141d7a;return _0x149f1a&&typeof _0x46cdbe==_0x3ea0d8(0x182)&&typeof _0x46cdbe['arrayBuffer']==_0x3ea0d8(0x291)&&typeof _0x46cdbe[_0x3ea0d8(0x2ca)]==_0x3ea0d8(0x2e8)&&typeof _0x46cdbe['stream']==_0x3ea0d8(0x291)&&(_0x46cdbe[Symbol[_0x3ea0d8(0x2eb)]]===_0x3ea0d8(0x1e3)||_0x46cdbe[Symbol['toStringTag']]===_0x3ea0d8(0x20f));}if(ie[_0x141d7a(0x2b4)]={'isBlob':_0x3bab43,'isValidStatusCode':_0x5c24ed,'isValidUTF8':_0x4e029f,'tokenChars':_0xc5fb7c},_0x18f2e9)ie[_0x141d7a(0x2b4)][_0x141d7a(0x196)]=function(_0x3e4517){const _0x290162=_0x141d7a;return _0x3e4517[_0x290162(0x28a)]<0x18?_0x4e029f(_0x3e4517):_0x18f2e9(_0x3e4517);};else{if(!process[_0x141d7a(0x1c0)][_0x141d7a(0x18b)])try{const _0x1b27a4=Bt;ie['exports'][_0x141d7a(0x196)]=function(_0x37f233){const _0x306a27=_0x141d7a;return _0x37f233[_0x306a27(0x28a)]<0x20?_0x4e029f(_0x37f233):_0x1b27a4(_0x37f233);};}catch{}}return ie[_0x141d7a(0x2b4)];}var Se,Ke;function lt(){const _0x199e37=_0x41e9f5;if(Ke)return Se;Ke=0x1;const {Writable:_0x361fc8}=oe,_0x140f94=he(),{BINARY_TYPES:_0x35c18e,EMPTY_BUFFER:_0x98be91,kStatusCode:_0x2676dd,kWebSocket:_0x20dbe3}=H(),{concat:_0x4d2cd6,toArrayBuffer:_0x4b7988,unmask:_0x5452f2}=ce(),{isValidStatusCode:_0x4d968,isValidUTF8:_0x1ef87b}=ae(),_0x1cbee7=Buffer[Symbol[_0x199e37(0x206)]],_0x3700b2=0x0,_0x3ac1c1=0x1,_0x359fab=0x2,_0x2f6c00=0x3,_0x19710d=0x4,_0x185dbc=0x5,_0x3c4a59=0x6;class _0x3cb6fd extends _0x361fc8{constructor(_0xea9f93={}){const _0x8b2463=_0x199e37;super(),this['_allowSynchronousEvents']=_0xea9f93[_0x8b2463(0x214)]!==void 0x0?_0xea9f93[_0x8b2463(0x214)]:!0x0,this['_binaryType']=_0xea9f93['binaryType']||_0x35c18e[0x0],this[_0x8b2463(0x15f)]=_0xea9f93['extensions']||{},this[_0x8b2463(0x2f3)]=!!_0xea9f93[_0x8b2463(0x180)],this[_0x8b2463(0x25e)]=_0xea9f93[_0x8b2463(0x284)]|0x0,this[_0x8b2463(0x2c6)]=!!_0xea9f93[_0x8b2463(0x150)],this[_0x20dbe3]=void 0x0,this[_0x8b2463(0x1c7)]=0x0,this[_0x8b2463(0x253)]=[],this[_0x8b2463(0x23e)]=!0x1,this[_0x8b2463(0x14c)]=0x0,this[_0x8b2463(0x2d4)]=void 0x0,this[_0x8b2463(0x19c)]=0x0,this[_0x8b2463(0x232)]=!0x1,this[_0x8b2463(0x1ba)]=!0x1,this[_0x8b2463(0x1e5)]=0x0,this[_0x8b2463(0x1f0)]=0x0,this[_0x8b2463(0x2ab)]=0x0,this['_fragments']=[],this[_0x8b2463(0x2d5)]=!0x1,this['_loop']=!0x1,this[_0x8b2463(0x1ea)]=_0x3700b2;}['_write'](_0x552c71,_0x4156d9,_0x352310){const _0x1e7a7e=_0x199e37;if(this[_0x1e7a7e(0x1e5)]===0x8&&this['_state']==_0x3700b2)return _0x352310();this[_0x1e7a7e(0x1c7)]+=_0x552c71['length'],this[_0x1e7a7e(0x253)][_0x1e7a7e(0x18a)](_0x552c71),this['startLoop'](_0x352310);}[_0x199e37(0x25a)](_0x4174ff){const _0x1e9596=_0x199e37;if(this[_0x1e9596(0x1c7)]-=_0x4174ff,_0x4174ff===this['_buffers'][0x0][_0x1e9596(0x28a)])return this[_0x1e9596(0x253)][_0x1e9596(0x23c)]();if(_0x4174ff<this[_0x1e9596(0x253)][0x0][_0x1e9596(0x28a)]){const _0x22771e=this[_0x1e9596(0x253)][0x0];return this[_0x1e9596(0x253)][0x0]=new _0x1cbee7(_0x22771e['buffer'],_0x22771e['byteOffset']+_0x4174ff,_0x22771e[_0x1e9596(0x28a)]-_0x4174ff),new _0x1cbee7(_0x22771e['buffer'],_0x22771e[_0x1e9596(0x157)],_0x4174ff);}const _0x6b1b2c=Buffer[_0x1e9596(0x1d1)](_0x4174ff);do{const _0x2c48ec=this[_0x1e9596(0x253)][0x0],_0x3174c8=_0x6b1b2c[_0x1e9596(0x28a)]-_0x4174ff;_0x4174ff>=_0x2c48ec['length']?_0x6b1b2c[_0x1e9596(0x218)](this[_0x1e9596(0x253)][_0x1e9596(0x23c)](),_0x3174c8):(_0x6b1b2c['set'](new Uint8Array(_0x2c48ec['buffer'],_0x2c48ec[_0x1e9596(0x157)],_0x4174ff),_0x3174c8),this[_0x1e9596(0x253)][0x0]=new _0x1cbee7(_0x2c48ec['buffer'],_0x2c48ec[_0x1e9596(0x157)]+_0x4174ff,_0x2c48ec[_0x1e9596(0x28a)]-_0x4174ff)),_0x4174ff-=_0x2c48ec['length'];}while(_0x4174ff>0x0);return _0x6b1b2c;}[_0x199e37(0x1cc)](_0x36502a){const _0x39b6be=_0x199e37;this['_loop']=!0x0;do switch(this['_state']){case _0x3700b2:this['getInfo'](_0x36502a);break;case _0x3ac1c1:this[_0x39b6be(0x276)](_0x36502a);break;case _0x359fab:this['getPayloadLength64'](_0x36502a);break;case _0x2f6c00:this['getMask']();break;case _0x19710d:this[_0x39b6be(0x2e5)](_0x36502a);break;case _0x185dbc:case _0x3c4a59:this['_loop']=!0x1;return;}while(this[_0x39b6be(0x269)]);this[_0x39b6be(0x2d5)]||_0x36502a();}[_0x199e37(0x1ab)](_0x1884aa){const _0x4fe39c=_0x199e37;if(this[_0x4fe39c(0x1c7)]<0x2){this[_0x4fe39c(0x269)]=!0x1;return;}const _0x2106e7=this[_0x4fe39c(0x25a)](0x2);if((_0x2106e7[0x0]&0x30)!==0x0){const _0x50854e=this['createError'](RangeError,_0x4fe39c(0x203),!0x0,0x3ea,_0x4fe39c(0x1bc));_0x1884aa(_0x50854e);return;}const _0x42c15e=(_0x2106e7[0x0]&0x40)===0x40;if(_0x42c15e&&!this[_0x4fe39c(0x15f)][_0x140f94[_0x4fe39c(0x2cf)]]){const _0x4c50e6=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x4c50e6);return;}if(this['_fin']=(_0x2106e7[0x0]&0x80)===0x80,this['_opcode']=_0x2106e7[0x0]&0xf,this[_0x4fe39c(0x14c)]=_0x2106e7[0x1]&0x7f,this[_0x4fe39c(0x1e5)]===0x0){if(_0x42c15e){const _0x26f55f=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x26f55f);return;}if(!this[_0x4fe39c(0x19c)]){const _0x169e16=this['createError'](RangeError,_0x4fe39c(0x2df),!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x169e16);return;}this[_0x4fe39c(0x1e5)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4fe39c(0x1e5)]===0x2){if(this[_0x4fe39c(0x19c)]){const _0x1449e1=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x230)+this[_0x4fe39c(0x1e5)],!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x1449e1);return;}this['_compressed']=_0x42c15e;}else{if(this[_0x4fe39c(0x1e5)]>0x7&&this[_0x4fe39c(0x1e5)]<0xb){if(!this[_0x4fe39c(0x1ba)]){const _0x5f0fef=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x2e1),!0x0,0x3ea,_0x4fe39c(0x169));_0x1884aa(_0x5f0fef);return;}if(_0x42c15e){const _0x3f6951=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x3f6951);return;}if(this[_0x4fe39c(0x14c)]>0x7d||this[_0x4fe39c(0x1e5)]===0x8&&this[_0x4fe39c(0x14c)]===0x1){const _0x301042=this['createError'](RangeError,_0x4fe39c(0x26b)+this[_0x4fe39c(0x14c)],!0x0,0x3ea,_0x4fe39c(0x153));_0x1884aa(_0x301042);return;}}else{const _0x467a32=this[_0x4fe39c(0x1b8)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x467a32);return;}}}if(!this[_0x4fe39c(0x1ba)]&&!this[_0x4fe39c(0x19c)]&&(this[_0x4fe39c(0x19c)]=this['_opcode']),this[_0x4fe39c(0x232)]=(_0x2106e7[0x1]&0x80)===0x80,this[_0x4fe39c(0x2f3)]){if(!this[_0x4fe39c(0x232)]){const _0x4476e9=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x1bd),!0x0,0x3ea,_0x4fe39c(0x1fb));_0x1884aa(_0x4476e9);return;}}else{if(this['_masked']){const _0x125e53=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x1f8),!0x0,0x3ea,_0x4fe39c(0x1a8));_0x1884aa(_0x125e53);return;}}this[_0x4fe39c(0x14c)]===0x7e?this[_0x4fe39c(0x1ea)]=_0x3ac1c1:this[_0x4fe39c(0x14c)]===0x7f?this[_0x4fe39c(0x1ea)]=_0x359fab:this[_0x4fe39c(0x2b2)](_0x1884aa);}[_0x199e37(0x276)](_0x518c22){const _0x59fe58=_0x199e37;if(this[_0x59fe58(0x1c7)]<0x2){this[_0x59fe58(0x269)]=!0x1;return;}this[_0x59fe58(0x14c)]=this[_0x59fe58(0x25a)](0x2)[_0x59fe58(0x1e8)](0x0),this[_0x59fe58(0x2b2)](_0x518c22);}[_0x199e37(0x19d)](_0x53a90e){const _0x5dbc40=_0x199e37;if(this[_0x5dbc40(0x1c7)]<0x8){this[_0x5dbc40(0x269)]=!0x1;return;}const _0x3560f0=this[_0x5dbc40(0x25a)](0x8),_0x6e6624=_0x3560f0['readUInt32BE'](0x0);if(_0x6e6624>Math['pow'](0x2,0x15)-0x1){const _0x39b2d5=this['createError'](RangeError,_0x5dbc40(0x1c3),!0x1,0x3f1,_0x5dbc40(0x219));_0x53a90e(_0x39b2d5);return;}this[_0x5dbc40(0x14c)]=_0x6e6624*Math[_0x5dbc40(0x2e3)](0x2,0x20)+_0x3560f0['readUInt32BE'](0x4),this[_0x5dbc40(0x2b2)](_0x53a90e);}['haveLength'](_0x25b7af){const _0x59725e=_0x199e37;if(this[_0x59725e(0x14c)]&&this[_0x59725e(0x1e5)]<0x8&&(this['_totalPayloadLength']+=this[_0x59725e(0x14c)],this[_0x59725e(0x1f0)]>this['_maxPayload']&&this[_0x59725e(0x25e)]>0x0)){const _0x57fcb7=this[_0x59725e(0x1b8)](RangeError,_0x59725e(0x151),!0x1,0x3f1,_0x59725e(0x228));_0x25b7af(_0x57fcb7);return;}this[_0x59725e(0x232)]?this[_0x59725e(0x1ea)]=_0x2f6c00:this[_0x59725e(0x1ea)]=_0x19710d;}[_0x199e37(0x1ee)](){const _0xca9411=_0x199e37;if(this[_0xca9411(0x1c7)]<0x4){this[_0xca9411(0x269)]=!0x1;return;}this[_0xca9411(0x2d4)]=this[_0xca9411(0x25a)](0x4),this[_0xca9411(0x1ea)]=_0x19710d;}[_0x199e37(0x2e5)](_0x2f74cd){const _0x598922=_0x199e37;let _0x7d32ec=_0x98be91;if(this[_0x598922(0x14c)]){if(this['_bufferedBytes']<this[_0x598922(0x14c)]){this[_0x598922(0x269)]=!0x1;return;}_0x7d32ec=this[_0x598922(0x25a)](this['_payloadLength']),this['_masked']&&(this[_0x598922(0x2d4)][0x0]|this['_mask'][0x1]|this[_0x598922(0x2d4)][0x2]|this['_mask'][0x3])!==0x0&&_0x5452f2(_0x7d32ec,this[_0x598922(0x2d4)]);}if(this[_0x598922(0x1e5)]>0x7){this[_0x598922(0x185)](_0x7d32ec,_0x2f74cd);return;}if(this[_0x598922(0x23e)]){this[_0x598922(0x1ea)]=_0x185dbc,this['decompress'](_0x7d32ec,_0x2f74cd);return;}_0x7d32ec['length']&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments']['push'](_0x7d32ec)),this[_0x598922(0x244)](_0x2f74cd);}['decompress'](_0x149356,_0x155ce2){const _0x3cb5ff=_0x199e37;this[_0x3cb5ff(0x15f)][_0x140f94[_0x3cb5ff(0x2cf)]][_0x3cb5ff(0x251)](_0x149356,this[_0x3cb5ff(0x1ba)],(_0x516156,_0x71b30e)=>{const _0xb49769=_0x3cb5ff;if(_0x516156)return _0x155ce2(_0x516156);if(_0x71b30e[_0xb49769(0x28a)]){if(this['_messageLength']+=_0x71b30e[_0xb49769(0x28a)],this[_0xb49769(0x2ab)]>this[_0xb49769(0x25e)]&&this[_0xb49769(0x25e)]>0x0){const _0x5ebe3e=this[_0xb49769(0x1b8)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xb49769(0x228));_0x155ce2(_0x5ebe3e);return;}this[_0xb49769(0x183)][_0xb49769(0x18a)](_0x71b30e);}this[_0xb49769(0x244)](_0x155ce2),this['_state']===_0x3700b2&&this['startLoop'](_0x155ce2);});}[_0x199e37(0x244)](_0x42a14c){const _0x611a1d=_0x199e37;if(!this['_fin']){this[_0x611a1d(0x1ea)]=_0x3700b2;return;}const _0x2939da=this[_0x611a1d(0x2ab)],_0x58db39=this[_0x611a1d(0x183)];if(this[_0x611a1d(0x1f0)]=0x0,this[_0x611a1d(0x2ab)]=0x0,this[_0x611a1d(0x19c)]=0x0,this[_0x611a1d(0x183)]=[],this[_0x611a1d(0x1e5)]===0x2){let _0x440e00;this[_0x611a1d(0x1d8)]===_0x611a1d(0x227)?_0x440e00=_0x4d2cd6(_0x58db39,_0x2939da):this[_0x611a1d(0x1d8)]===_0x611a1d(0x16c)?_0x440e00=_0x4b7988(_0x4d2cd6(_0x58db39,_0x2939da)):this['_binaryType']==='blob'?_0x440e00=new Blob(_0x58db39):_0x440e00=_0x58db39,this[_0x611a1d(0x1d6)]?(this[_0x611a1d(0x2d0)]('message',_0x440e00,!0x0),this[_0x611a1d(0x1ea)]=_0x3700b2):(this[_0x611a1d(0x1ea)]=_0x3c4a59,setImmediate(()=>{const _0x2f449e=_0x611a1d;this[_0x2f449e(0x2d0)](_0x2f449e(0x29c),_0x440e00,!0x0),this['_state']=_0x3700b2,this['startLoop'](_0x42a14c);}));}else{const _0x244853=_0x4d2cd6(_0x58db39,_0x2939da);if(!this[_0x611a1d(0x2c6)]&&!_0x1ef87b(_0x244853)){const _0x1c7813=this[_0x611a1d(0x1b8)](Error,_0x611a1d(0x2ba),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x42a14c(_0x1c7813);return;}this[_0x611a1d(0x1ea)]===_0x185dbc||this['_allowSynchronousEvents']?(this['emit'](_0x611a1d(0x29c),_0x244853,!0x1),this['_state']=_0x3700b2):(this[_0x611a1d(0x1ea)]=_0x3c4a59,setImmediate(()=>{const _0x42aa8c=_0x611a1d;this[_0x42aa8c(0x2d0)](_0x42aa8c(0x29c),_0x244853,!0x1),this[_0x42aa8c(0x1ea)]=_0x3700b2,this[_0x42aa8c(0x1cc)](_0x42a14c);}));}}[_0x199e37(0x185)](_0x253029,_0x30110c){const _0x42888c=_0x199e37;if(this['_opcode']===0x8){if(_0x253029[_0x42888c(0x28a)]===0x0)this['_loop']=!0x1,this[_0x42888c(0x2d0)](_0x42888c(0x248),0x3ed,_0x98be91),this['end']();else{const _0x275116=_0x253029[_0x42888c(0x1e8)](0x0);if(!_0x4d968(_0x275116)){const _0x51c1ac=this['createError'](RangeError,_0x42888c(0x1b9)+_0x275116,!0x0,0x3ea,_0x42888c(0x1fd));_0x30110c(_0x51c1ac);return;}const _0xeace7d=new _0x1cbee7(_0x253029[_0x42888c(0x16d)],_0x253029[_0x42888c(0x157)]+0x2,_0x253029[_0x42888c(0x28a)]-0x2);if(!this[_0x42888c(0x2c6)]&&!_0x1ef87b(_0xeace7d)){const _0x4623b1=this[_0x42888c(0x1b8)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x42888c(0x19b));_0x30110c(_0x4623b1);return;}this[_0x42888c(0x269)]=!0x1,this[_0x42888c(0x2d0)](_0x42888c(0x248),_0x275116,_0xeace7d),this[_0x42888c(0x257)]();}this[_0x42888c(0x1ea)]=_0x3700b2;return;}this['_allowSynchronousEvents']?(this[_0x42888c(0x2d0)](this[_0x42888c(0x1e5)]===0x9?_0x42888c(0x162):'pong',_0x253029),this[_0x42888c(0x1ea)]=_0x3700b2):(this['_state']=_0x3c4a59,setImmediate(()=>{const _0x5a1eaf=_0x42888c;this[_0x5a1eaf(0x2d0)](this[_0x5a1eaf(0x1e5)]===0x9?_0x5a1eaf(0x162):'pong',_0x253029),this[_0x5a1eaf(0x1ea)]=_0x3700b2,this[_0x5a1eaf(0x1cc)](_0x30110c);}));}['createError'](_0x49177f,_0x205a97,_0x270376,_0x52a669,_0x1467d3){const _0x7736f=_0x199e37;this[_0x7736f(0x269)]=!0x1,this[_0x7736f(0x2d5)]=!0x0;const _0x182346=new _0x49177f(_0x270376?'Invalid\x20WebSocket\x20frame:\x20'+_0x205a97:_0x205a97);return Error[_0x7736f(0x1a2)](_0x182346,this[_0x7736f(0x1b8)]),_0x182346[_0x7736f(0x1fa)]=_0x1467d3,_0x182346[_0x2676dd]=_0x52a669,_0x182346;}}return Se=_0x3cb6fd,Se;}var Ee,Xe;function ft(){const _0x2c938a=_0x41e9f5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4a903a}=oe,{randomFillSync:_0x56ba2a}=Le,_0x5805b2=he(),{EMPTY_BUFFER:_0x27e903,kWebSocket:_0x19eba0,NOOP:_0x932f71}=H(),{isBlob:_0x121445,isValidStatusCode:_0x7d86f9}=ae(),{mask:_0x3951ad,toBuffer:_0x1d226f}=ce(),_0x59986a=Symbol(_0x2c938a(0x290)),_0x3d3341=Buffer[_0x2c938a(0x1e0)](0x4),_0x551794=0x8*0x400;let _0x4f4f48,_0x5dc7ca=_0x551794;const _0xf23c36=0x0,_0x557384=0x1,_0x5d4ef3=0x2;class _0x3d1f3b{constructor(_0x13908c,_0x1c23de,_0x4f5a2c){const _0x4c6aae=_0x2c938a;this[_0x4c6aae(0x15f)]=_0x1c23de||{},_0x4f5a2c&&(this['_generateMask']=_0x4f5a2c,this[_0x4c6aae(0x1f2)]=Buffer['alloc'](0x4)),this[_0x4c6aae(0x258)]=_0x13908c,this[_0x4c6aae(0x271)]=!0x0,this[_0x4c6aae(0x26a)]=!0x1,this['_bufferedBytes']=0x0,this[_0x4c6aae(0x305)]=[],this[_0x4c6aae(0x1ea)]=_0xf23c36,this[_0x4c6aae(0x154)]=_0x932f71,this[_0x19eba0]=void 0x0;}static[_0x2c938a(0x255)](_0x3994ca,_0x9bdb7a){const _0x554b7c=_0x2c938a;let _0x15b472,_0x1a0c21=!0x1,_0x1e0628=0x2,_0x3d4f74=!0x1;_0x9bdb7a[_0x554b7c(0x207)]&&(_0x15b472=_0x9bdb7a[_0x554b7c(0x2dc)]||_0x3d3341,_0x9bdb7a[_0x554b7c(0x270)]?_0x9bdb7a[_0x554b7c(0x270)](_0x15b472):(_0x5dc7ca===_0x551794&&(_0x4f4f48===void 0x0&&(_0x4f4f48=Buffer[_0x554b7c(0x1e0)](_0x551794)),_0x56ba2a(_0x4f4f48,0x0,_0x551794),_0x5dc7ca=0x0),_0x15b472[0x0]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x1]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x2]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x3]=_0x4f4f48[_0x5dc7ca++]),_0x3d4f74=(_0x15b472[0x0]|_0x15b472[0x1]|_0x15b472[0x2]|_0x15b472[0x3])===0x0,_0x1e0628=0x6);let _0x388c89;typeof _0x3994ca==_0x554b7c(0x2e8)?(!_0x9bdb7a[_0x554b7c(0x207)]||_0x3d4f74)&&_0x9bdb7a[_0x59986a]!==void 0x0?_0x388c89=_0x9bdb7a[_0x59986a]:(_0x3994ca=Buffer[_0x554b7c(0x171)](_0x3994ca),_0x388c89=_0x3994ca[_0x554b7c(0x28a)]):(_0x388c89=_0x3994ca['length'],_0x1a0c21=_0x9bdb7a[_0x554b7c(0x207)]&&_0x9bdb7a['readOnly']&&!_0x3d4f74);let _0x38944c=_0x388c89;_0x388c89>=0x10000?(_0x1e0628+=0x8,_0x38944c=0x7f):_0x388c89>0x7d&&(_0x1e0628+=0x2,_0x38944c=0x7e);const _0x5c9984=Buffer[_0x554b7c(0x1d1)](_0x1a0c21?_0x388c89+_0x1e0628:_0x1e0628);return _0x5c9984[0x0]=_0x9bdb7a[_0x554b7c(0x2e0)]?_0x9bdb7a[_0x554b7c(0x24c)]|0x80:_0x9bdb7a[_0x554b7c(0x24c)],_0x9bdb7a['rsv1']&&(_0x5c9984[0x0]|=0x40),_0x5c9984[0x1]=_0x38944c,_0x38944c===0x7e?_0x5c9984[_0x554b7c(0x158)](_0x388c89,0x2):_0x38944c===0x7f&&(_0x5c9984[0x2]=_0x5c9984[0x3]=0x0,_0x5c9984[_0x554b7c(0x280)](_0x388c89,0x4,0x6)),_0x9bdb7a['mask']?(_0x5c9984[0x1]|=0x80,_0x5c9984[_0x1e0628-0x4]=_0x15b472[0x0],_0x5c9984[_0x1e0628-0x3]=_0x15b472[0x1],_0x5c9984[_0x1e0628-0x2]=_0x15b472[0x2],_0x5c9984[_0x1e0628-0x1]=_0x15b472[0x3],_0x3d4f74?[_0x5c9984,_0x3994ca]:_0x1a0c21?(_0x3951ad(_0x3994ca,_0x15b472,_0x5c9984,_0x1e0628,_0x388c89),[_0x5c9984]):(_0x3951ad(_0x3994ca,_0x15b472,_0x3994ca,0x0,_0x388c89),[_0x5c9984,_0x3994ca])):[_0x5c9984,_0x3994ca];}[_0x2c938a(0x2ea)](_0x53cae8,_0x43ff32,_0x1b88ad,_0x1aae90){const _0x5b1b73=_0x2c938a;let _0x400c6c;if(_0x53cae8===void 0x0)_0x400c6c=_0x27e903;else{if(typeof _0x53cae8!=_0x5b1b73(0x2f7)||!_0x7d86f9(_0x53cae8))throw new TypeError(_0x5b1b73(0x1a3));if(_0x43ff32===void 0x0||!_0x43ff32[_0x5b1b73(0x28a)])_0x400c6c=Buffer[_0x5b1b73(0x1d1)](0x2),_0x400c6c[_0x5b1b73(0x158)](_0x53cae8,0x0);else{const _0x3ecc9e=Buffer[_0x5b1b73(0x2a4)](_0x43ff32);if(_0x3ecc9e>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x400c6c=Buffer[_0x5b1b73(0x1d1)](0x2+_0x3ecc9e),_0x400c6c['writeUInt16BE'](_0x53cae8,0x0),typeof _0x43ff32==_0x5b1b73(0x2e8)?_0x400c6c[_0x5b1b73(0x2f9)](_0x43ff32,0x2):_0x400c6c[_0x5b1b73(0x218)](_0x43ff32,0x2);}}const _0x550395={[_0x59986a]:_0x400c6c[_0x5b1b73(0x28a)],'fin':!0x0,'generateMask':this[_0x5b1b73(0x187)],'mask':_0x1b88ad,'maskBuffer':this[_0x5b1b73(0x1f2)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xf23c36?this[_0x5b1b73(0x20a)]([this[_0x5b1b73(0x304)],_0x400c6c,!0x1,_0x550395,_0x1aae90]):this['sendFrame'](_0x3d1f3b['frame'](_0x400c6c,_0x550395),_0x1aae90);}['ping'](_0x1699c1,_0x38c0a1,_0x18a9f5){const _0x556f1e=_0x2c938a;let _0x1c04c4,_0x143473;if(typeof _0x1699c1=='string'?(_0x1c04c4=Buffer['byteLength'](_0x1699c1),_0x143473=!0x1):_0x121445(_0x1699c1)?(_0x1c04c4=_0x1699c1[_0x556f1e(0x205)],_0x143473=!0x1):(_0x1699c1=_0x1d226f(_0x1699c1),_0x1c04c4=_0x1699c1['length'],_0x143473=_0x1d226f['readOnly']),_0x1c04c4>0x7d)throw new RangeError(_0x556f1e(0x1b2));const _0x5e72c6={[_0x59986a]:_0x1c04c4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x38c0a1,'maskBuffer':this[_0x556f1e(0x1f2)],'opcode':0x9,'readOnly':_0x143473,'rsv1':!0x1};_0x121445(_0x1699c1)?this[_0x556f1e(0x1ea)]!==_0xf23c36?this['enqueue']([this[_0x556f1e(0x299)],_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5]):this[_0x556f1e(0x299)](_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5):this['_state']!==_0xf23c36?this[_0x556f1e(0x20a)]([this[_0x556f1e(0x304)],_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5]):this[_0x556f1e(0x210)](_0x3d1f3b[_0x556f1e(0x255)](_0x1699c1,_0x5e72c6),_0x18a9f5);}[_0x2c938a(0x2a2)](_0x27c605,_0x381492,_0xc3dd8b){const _0x1850ab=_0x2c938a;let _0x4f80ab,_0x547c4b;if(typeof _0x27c605==_0x1850ab(0x2e8)?(_0x4f80ab=Buffer[_0x1850ab(0x2a4)](_0x27c605),_0x547c4b=!0x1):_0x121445(_0x27c605)?(_0x4f80ab=_0x27c605['size'],_0x547c4b=!0x1):(_0x27c605=_0x1d226f(_0x27c605),_0x4f80ab=_0x27c605[_0x1850ab(0x28a)],_0x547c4b=_0x1d226f[_0x1850ab(0x1cf)]),_0x4f80ab>0x7d)throw new RangeError(_0x1850ab(0x1b2));const _0x2441e7={[_0x59986a]:_0x4f80ab,'fin':!0x0,'generateMask':this[_0x1850ab(0x187)],'mask':_0x381492,'maskBuffer':this[_0x1850ab(0x1f2)],'opcode':0xa,'readOnly':_0x547c4b,'rsv1':!0x1};_0x121445(_0x27c605)?this[_0x1850ab(0x1ea)]!==_0xf23c36?this[_0x1850ab(0x20a)]([this['getBlobData'],_0x27c605,!0x1,_0x2441e7,_0xc3dd8b]):this[_0x1850ab(0x299)](_0x27c605,!0x1,_0x2441e7,_0xc3dd8b):this[_0x1850ab(0x1ea)]!==_0xf23c36?this[_0x1850ab(0x20a)]([this[_0x1850ab(0x304)],_0x27c605,!0x1,_0x2441e7,_0xc3dd8b]):this[_0x1850ab(0x210)](_0x3d1f3b[_0x1850ab(0x255)](_0x27c605,_0x2441e7),_0xc3dd8b);}[_0x2c938a(0x1c5)](_0x341909,_0x43aad4,_0x1d1449){const _0x4f24c2=_0x2c938a,_0x6d99ca=this[_0x4f24c2(0x15f)][_0x5805b2[_0x4f24c2(0x2cf)]];let _0x1bb746=_0x43aad4['binary']?0x2:0x1,_0x34e275=_0x43aad4['compress'],_0x453735,_0x2b37c3;typeof _0x341909=='string'?(_0x453735=Buffer[_0x4f24c2(0x2a4)](_0x341909),_0x2b37c3=!0x1):_0x121445(_0x341909)?(_0x453735=_0x341909[_0x4f24c2(0x205)],_0x2b37c3=!0x1):(_0x341909=_0x1d226f(_0x341909),_0x453735=_0x341909[_0x4f24c2(0x28a)],_0x2b37c3=_0x1d226f[_0x4f24c2(0x1cf)]),this[_0x4f24c2(0x271)]?(this[_0x4f24c2(0x271)]=!0x1,_0x34e275&&_0x6d99ca&&_0x6d99ca[_0x4f24c2(0x267)][_0x6d99ca['_isServer']?_0x4f24c2(0x2cd):_0x4f24c2(0x2c9)]&&(_0x34e275=_0x453735>=_0x6d99ca[_0x4f24c2(0x2d8)]),this[_0x4f24c2(0x26a)]=_0x34e275):(_0x34e275=!0x1,_0x1bb746=0x0),_0x43aad4[_0x4f24c2(0x2e0)]&&(this[_0x4f24c2(0x271)]=!0x0);const _0x5ec29b={[_0x59986a]:_0x453735,'fin':_0x43aad4[_0x4f24c2(0x2e0)],'generateMask':this[_0x4f24c2(0x187)],'mask':_0x43aad4[_0x4f24c2(0x207)],'maskBuffer':this[_0x4f24c2(0x1f2)],'opcode':_0x1bb746,'readOnly':_0x2b37c3,'rsv1':_0x34e275};_0x121445(_0x341909)?this['_state']!==_0xf23c36?this[_0x4f24c2(0x20a)]([this[_0x4f24c2(0x299)],_0x341909,this['_compress'],_0x5ec29b,_0x1d1449]):this[_0x4f24c2(0x299)](_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449):this['_state']!==_0xf23c36?this['enqueue']([this[_0x4f24c2(0x304)],_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449]):this['dispatch'](_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449);}[_0x2c938a(0x299)](_0x13db56,_0x17a2c4,_0x52be1d,_0x3baa59){const _0x1ecdb4=_0x2c938a;this[_0x1ecdb4(0x1c7)]+=_0x52be1d[_0x59986a],this[_0x1ecdb4(0x1ea)]=_0x5d4ef3,_0x13db56['arrayBuffer']()['then'](_0x8420ec=>{const _0x33f777=_0x1ecdb4;if(this[_0x33f777(0x258)][_0x33f777(0x24a)]){const _0xb2d91b=new Error(_0x33f777(0x1fe));process[_0x33f777(0x190)](_0x510d3c,this,_0xb2d91b,_0x3baa59);return;}this['_bufferedBytes']-=_0x52be1d[_0x59986a];const _0x7c23cb=_0x1d226f(_0x8420ec);_0x17a2c4?this['dispatch'](_0x7c23cb,_0x17a2c4,_0x52be1d,_0x3baa59):(this[_0x33f777(0x1ea)]=_0xf23c36,this[_0x33f777(0x210)](_0x3d1f3b[_0x33f777(0x255)](_0x7c23cb,_0x52be1d),_0x3baa59),this['dequeue']());})[_0x1ecdb4(0x245)](_0x3b516f=>{const _0x25609c=_0x1ecdb4;process[_0x25609c(0x190)](_0x3d2547,this,_0x3b516f,_0x3baa59);});}[_0x2c938a(0x304)](_0x3b4fd7,_0x4f9a80,_0x333df4,_0x15d09f){const _0x16e361=_0x2c938a;if(!_0x4f9a80){this[_0x16e361(0x210)](_0x3d1f3b[_0x16e361(0x255)](_0x3b4fd7,_0x333df4),_0x15d09f);return;}const _0x51d081=this['_extensions'][_0x5805b2['extensionName']];this[_0x16e361(0x1c7)]+=_0x333df4[_0x59986a],this[_0x16e361(0x1ea)]=_0x557384,_0x51d081[_0x16e361(0x26e)](_0x3b4fd7,_0x333df4[_0x16e361(0x2e0)],(_0x503aa2,_0x165151)=>{const _0x2ece8c=_0x16e361;if(this[_0x2ece8c(0x258)]['destroyed']){const _0x26c679=new Error(_0x2ece8c(0x24d));_0x510d3c(this,_0x26c679,_0x15d09f);return;}this[_0x2ece8c(0x1c7)]-=_0x333df4[_0x59986a],this[_0x2ece8c(0x1ea)]=_0xf23c36,_0x333df4['readOnly']=!0x1,this['sendFrame'](_0x3d1f3b[_0x2ece8c(0x255)](_0x165151,_0x333df4),_0x15d09f),this[_0x2ece8c(0x176)]();});}[_0x2c938a(0x176)](){const _0x3b2f4a=_0x2c938a;for(;this[_0x3b2f4a(0x1ea)]===_0xf23c36&&this[_0x3b2f4a(0x305)][_0x3b2f4a(0x28a)];){const _0xa377b0=this[_0x3b2f4a(0x305)][_0x3b2f4a(0x23c)]();this[_0x3b2f4a(0x1c7)]-=_0xa377b0[0x3][_0x59986a],Reflect[_0x3b2f4a(0x1e6)](_0xa377b0[0x0],this,_0xa377b0[_0x3b2f4a(0x15c)](0x1));}}[_0x2c938a(0x20a)](_0x37da42){const _0x1a0fe7=_0x2c938a;this[_0x1a0fe7(0x1c7)]+=_0x37da42[0x3][_0x59986a],this[_0x1a0fe7(0x305)][_0x1a0fe7(0x18a)](_0x37da42);}[_0x2c938a(0x210)](_0x47e4a2,_0x37c0d7){const _0x1c407a=_0x2c938a;_0x47e4a2[_0x1c407a(0x28a)]===0x2?(this[_0x1c407a(0x258)][_0x1c407a(0x1dc)](),this[_0x1c407a(0x258)][_0x1c407a(0x2f9)](_0x47e4a2[0x0]),this[_0x1c407a(0x258)][_0x1c407a(0x2f9)](_0x47e4a2[0x1],_0x37c0d7),this[_0x1c407a(0x258)]['uncork']()):this[_0x1c407a(0x258)]['write'](_0x47e4a2[0x0],_0x37c0d7);}}Ee=_0x3d1f3b;function _0x510d3c(_0x39a744,_0x1ef59c,_0x521796){const _0x5cdbcc=_0x2c938a;typeof _0x521796=='function'&&_0x521796(_0x1ef59c);for(let _0x3217b3=0x0;_0x3217b3<_0x39a744[_0x5cdbcc(0x305)]['length'];_0x3217b3++){const _0x58b383=_0x39a744[_0x5cdbcc(0x305)][_0x3217b3],_0x3db11c=_0x58b383[_0x58b383[_0x5cdbcc(0x28a)]-0x1];typeof _0x3db11c=='function'&&_0x3db11c(_0x1ef59c);}}function _0x3d2547(_0x1b806c,_0x1450e1,_0x1ec7cf){const _0x5b9619=_0x2c938a;_0x510d3c(_0x1b806c,_0x1450e1,_0x1ec7cf),_0x1b806c[_0x5b9619(0x154)](_0x1450e1);}return Ee;}var xe,Ze;function It(){const _0x554ba4=_0x41e9f5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4a27a2,kListener:_0x4dde5d}=H(),_0xd26263=Symbol(_0x554ba4(0x274)),_0x3fc2bc=Symbol('kData'),_0x140bda=Symbol(_0x554ba4(0x177)),_0x66e9d2=Symbol('kMessage'),_0x1ce61f=Symbol('kReason'),_0x525e58=Symbol(_0x554ba4(0x29d)),_0x437a12=Symbol('kType'),_0x4e3df9=Symbol(_0x554ba4(0x2a3));class _0x1889f4{constructor(_0x3b6104){this[_0x525e58]=null,this[_0x437a12]=_0x3b6104;}get[_0x554ba4(0x28e)](){return this[_0x525e58];}get[_0x554ba4(0x2ca)](){return this[_0x437a12];}}Object['defineProperty'](_0x1889f4[_0x554ba4(0x179)],'target',{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x1889f4['prototype'],_0x554ba4(0x2ca),{'enumerable':!0x0});class _0x33425b extends _0x1889f4{constructor(_0x22f9e8,_0x4539fd={}){const _0x3ac7d7=_0x554ba4;super(_0x22f9e8),this[_0xd26263]=_0x4539fd[_0x3ac7d7(0x1fa)]===void 0x0?0x0:_0x4539fd[_0x3ac7d7(0x1fa)],this[_0x1ce61f]=_0x4539fd[_0x3ac7d7(0x17c)]===void 0x0?'':_0x4539fd[_0x3ac7d7(0x17c)],this[_0x4e3df9]=_0x4539fd['wasClean']===void 0x0?!0x1:_0x4539fd[_0x3ac7d7(0x24e)];}get['code'](){return this[_0xd26263];}get['reason'](){return this[_0x1ce61f];}get[_0x554ba4(0x24e)](){return this[_0x4e3df9];}}Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],_0x554ba4(0x1fa),{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],_0x554ba4(0x17c),{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],'wasClean',{'enumerable':!0x0});class _0x1bc1ed extends _0x1889f4{constructor(_0x3e903d,_0x38e37f={}){const _0x1ec721=_0x554ba4;super(_0x3e903d),this[_0x140bda]=_0x38e37f[_0x1ec721(0x1c4)]===void 0x0?null:_0x38e37f[_0x1ec721(0x1c4)],this[_0x66e9d2]=_0x38e37f['message']===void 0x0?'':_0x38e37f[_0x1ec721(0x29c)];}get[_0x554ba4(0x1c4)](){return this[_0x140bda];}get['message'](){return this[_0x66e9d2];}}Object['defineProperty'](_0x1bc1ed[_0x554ba4(0x179)],_0x554ba4(0x1c4),{'enumerable':!0x0}),Object['defineProperty'](_0x1bc1ed[_0x554ba4(0x179)],_0x554ba4(0x29c),{'enumerable':!0x0});class _0x41c199 extends _0x1889f4{constructor(_0x8a960,_0x146df9={}){const _0x5afd08=_0x554ba4;super(_0x8a960),this[_0x3fc2bc]=_0x146df9[_0x5afd08(0x29b)]===void 0x0?null:_0x146df9[_0x5afd08(0x29b)];}get[_0x554ba4(0x29b)](){return this[_0x3fc2bc];}}Object[_0x554ba4(0x217)](_0x41c199[_0x554ba4(0x179)],_0x554ba4(0x29b),{'enumerable':!0x0}),xe={'CloseEvent':_0x33425b,'ErrorEvent':_0x1bc1ed,'Event':_0x1889f4,'EventTarget':{'addEventListener'(_0x4d2d5c,_0x4f9937,_0x188188={}){const _0x4dac42=_0x554ba4;for(const _0x2b94e5 of this['listeners'](_0x4d2d5c))if(!_0x188188[_0x4a27a2]&&_0x2b94e5[_0x4dde5d]===_0x4f9937&&!_0x2b94e5[_0x4a27a2])return;let _0xff81d0;if(_0x4d2d5c===_0x4dac42(0x29c))_0xff81d0=function(_0x49d2ea,_0x3082c0){const _0xaac2f7=_0x4dac42,_0x3ad2d7=new _0x41c199(_0xaac2f7(0x29c),{'data':_0x3082c0?_0x49d2ea:_0x49d2ea['toString']()});_0x3ad2d7[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x3ad2d7);};else{if(_0x4d2d5c===_0x4dac42(0x2ea))_0xff81d0=function(_0x29f8ac,_0x49758e){const _0x5d4238=_0x4dac42,_0x54cb04=new _0x33425b(_0x5d4238(0x2ea),{'code':_0x29f8ac,'reason':_0x49758e[_0x5d4238(0x231)](),'wasClean':this[_0x5d4238(0x20e)]&&this[_0x5d4238(0x2ee)]});_0x54cb04[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x54cb04);};else{if(_0x4d2d5c===_0x4dac42(0x1c4))_0xff81d0=function(_0x40fecc){const _0x384198=_0x4dac42,_0x3a89af=new _0x1bc1ed(_0x384198(0x1c4),{'error':_0x40fecc,'message':_0x40fecc['message']});_0x3a89af[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x3a89af);};else{if(_0x4d2d5c==='open')_0xff81d0=function(){const _0x1d419b=_0x4dac42,_0x274e3b=new _0x1889f4(_0x1d419b(0x1f6));_0x274e3b[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x274e3b);};else return;}}}_0xff81d0[_0x4a27a2]=!!_0x188188[_0x4a27a2],_0xff81d0[_0x4dde5d]=_0x4f9937,_0x188188['once']?this['once'](_0x4d2d5c,_0xff81d0):this['on'](_0x4d2d5c,_0xff81d0);},'removeEventListener'(_0x578416,_0x53b3d6){const _0x172deb=_0x554ba4;for(const _0x2b2a6f of this[_0x172deb(0x1ef)](_0x578416))if(_0x2b2a6f[_0x4dde5d]===_0x53b3d6&&!_0x2b2a6f[_0x4a27a2]){this[_0x172deb(0x277)](_0x578416,_0x2b2a6f);break;}}},'MessageEvent':_0x41c199};function _0xd0634e(_0x5d0952,_0x4c5fdf,_0x1c5be6){const _0xed9e9c=_0x554ba4;typeof _0x5d0952==_0xed9e9c(0x182)&&_0x5d0952[_0xed9e9c(0x2e9)]?_0x5d0952['handleEvent'][_0xed9e9c(0x1a0)](_0x5d0952,_0x1c5be6):_0x5d0952[_0xed9e9c(0x1a0)](_0x4c5fdf,_0x1c5be6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x11518b}=ae();function _0x4b5ddd(_0x354a38,_0x36692d,_0xf5df12){const _0x3e741b=_0x4406;_0x354a38[_0x36692d]===void 0x0?_0x354a38[_0x36692d]=[_0xf5df12]:_0x354a38[_0x36692d][_0x3e741b(0x18a)](_0xf5df12);}function _0x7c72b2(_0x2452e2){const _0x46bfe8=_0x4406,_0x1aa140=Object[_0x46bfe8(0x200)](null);let _0x2450f6=Object[_0x46bfe8(0x200)](null),_0x2706de=!0x1,_0x897e57=!0x1,_0x2d40e2=!0x1,_0x494134,_0x46b724,_0x25174a=-0x1,_0x89198b=-0x1,_0xcf92ce=-0x1,_0x3410ff=0x0;for(;_0x3410ff<_0x2452e2[_0x46bfe8(0x28a)];_0x3410ff++)if(_0x89198b=_0x2452e2['charCodeAt'](_0x3410ff),_0x494134===void 0x0){if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x3410ff!==0x0&&(_0x89198b===0x20||_0x89198b===0x9))_0xcf92ce===-0x1&&_0x25174a!==-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);const _0x4b2f17=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);_0x89198b===0x2c?(_0x4b5ddd(_0x1aa140,_0x4b2f17,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null)):_0x494134=_0x4b2f17,_0x25174a=_0xcf92ce=-0x1;}else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}else{if(_0x46b724===void 0x0){if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x89198b===0x20||_0x89198b===0x9)_0xcf92ce===-0x1&&_0x25174a!==-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff),_0x4b5ddd(_0x2450f6,_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce),!0x0),_0x89198b===0x2c&&(_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null),_0x494134=void 0x0),_0x25174a=_0xcf92ce=-0x1;}else{if(_0x89198b===0x3d&&_0x25174a!==-0x1&&_0xcf92ce===-0x1)_0x46b724=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0x3410ff),_0x25174a=_0xcf92ce=-0x1;else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}}else{if(_0x897e57){if(_0x11518b[_0x89198b]!==0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0x25174a===-0x1?_0x25174a=_0x3410ff:_0x2706de||(_0x2706de=!0x0),_0x897e57=!0x1;}else{if(_0x2d40e2){if(_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x89198b===0x22&&_0x25174a!==-0x1)_0x2d40e2=!0x1,_0xcf92ce=_0x3410ff;else{if(_0x89198b===0x5c)_0x897e57=!0x0;else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}else{if(_0x89198b===0x22&&_0x2452e2[_0x46bfe8(0x2d1)](_0x3410ff-0x1)===0x3d)_0x2d40e2=!0x0;else{if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x25174a!==-0x1&&(_0x89198b===0x20||_0x89198b===0x9))_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);let _0x3dfba5=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);_0x2706de&&(_0x3dfba5=_0x3dfba5[_0x46bfe8(0x303)](/\\/g,''),_0x2706de=!0x1),_0x4b5ddd(_0x2450f6,_0x46b724,_0x3dfba5),_0x89198b===0x2c&&(_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null),_0x494134=void 0x0),_0x46b724=void 0x0,_0x25174a=_0xcf92ce=-0x1;}else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}}}}}if(_0x25174a===-0x1||_0x2d40e2||_0x89198b===0x20||_0x89198b===0x9)throw new SyntaxError(_0x46bfe8(0x256));_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);const _0x58ad63=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);return _0x494134===void 0x0?_0x4b5ddd(_0x1aa140,_0x58ad63,_0x2450f6):(_0x46b724===void 0x0?_0x4b5ddd(_0x2450f6,_0x58ad63,!0x0):_0x2706de?_0x4b5ddd(_0x2450f6,_0x46b724,_0x58ad63[_0x46bfe8(0x303)](/\\/g,'')):_0x4b5ddd(_0x2450f6,_0x46b724,_0x58ad63),_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6)),_0x1aa140;}function _0x2f6365(_0x1288ed){const _0x2d4294=_0x4406;return Object['keys'](_0x1288ed)[_0x2d4294(0x1ce)](_0x5c13aa=>{const _0x4d4ef5=_0x2d4294;let _0x4ccd92=_0x1288ed[_0x5c13aa];return Array[_0x4d4ef5(0x1c6)](_0x4ccd92)||(_0x4ccd92=[_0x4ccd92]),_0x4ccd92['map'](_0x123c7d=>[_0x5c13aa]['concat'](Object[_0x4d4ef5(0x2da)](_0x123c7d)[_0x4d4ef5(0x1ce)](_0x5043f7=>{const _0x814e22=_0x4d4ef5;let _0x4b40ad=_0x123c7d[_0x5043f7];return Array['isArray'](_0x4b40ad)||(_0x4b40ad=[_0x4b40ad]),_0x4b40ad[_0x814e22(0x1ce)](_0xbe2279=>_0xbe2279===!0x0?_0x5043f7:_0x5043f7+'='+_0xbe2279)[_0x814e22(0x301)](';\x20');}))[_0x4d4ef5(0x301)](';\x20'))['join'](',\x20');})[_0x2d4294(0x301)](',\x20');}return be={'format':_0x2f6365,'parse':_0x7c72b2},be;}var we,Je;function Pe(){const _0xa39512=_0x41e9f5;if(Je)return we;Je=0x1;const _0x5b8acf=nt,_0x2fcd43=vt,_0x4a4229=ot,_0x4ff410=St,_0xe6dbc7=Et,{randomBytes:_0x27a796,createHash:_0x1413e0}=Le,{Duplex:_0x45b46b,Readable:_0x37687c}=oe,{URL:_0xb46c6c}=xt,_0xc31a8c=he(),_0x2f489f=lt(),_0x4004a5=ft(),{isBlob:_0x1cf6ea}=ae(),{BINARY_TYPES:_0x915787,EMPTY_BUFFER:_0x1e5363,GUID:_0x2a89a9,kForOnEventAttribute:_0x11bdad,kListener:_0x47449,kStatusCode:_0x352149,kWebSocket:_0x5d1295,NOOP:_0x1d5d28}=H(),{EventTarget:{addEventListener:_0x13e2de,removeEventListener:_0x435512}}=It(),{format:_0x27b610,parse:_0x387cd9}=ct(),{toBuffer:_0x2e6c2e}=ce(),_0x2e3fdb=0x1e*0x3e8,_0x4806b0=Symbol('kAborted'),_0x71b6f=[0x8,0xd],_0x3fddda=[_0xa39512(0x167),_0xa39512(0x239),_0xa39512(0x278),_0xa39512(0x16a)],_0x1e511f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1d4ca0 extends _0x5b8acf{constructor(_0x4d8456,_0x5d5484,_0x498619){const _0x1d6e4d=_0xa39512;super(),this[_0x1d6e4d(0x1d8)]=_0x915787[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1d6e4d(0x2ee)]=!0x1,this[_0x1d6e4d(0x1a6)]=_0x1e5363,this['_closeTimer']=null,this[_0x1d6e4d(0x194)]=!0x1,this[_0x1d6e4d(0x15f)]={},this[_0x1d6e4d(0x19a)]=!0x1,this[_0x1d6e4d(0x2fa)]='',this[_0x1d6e4d(0x238)]=_0x1d4ca0[_0x1d6e4d(0x167)],this[_0x1d6e4d(0x2b3)]=null,this[_0x1d6e4d(0x282)]=null,this[_0x1d6e4d(0x258)]=null,_0x4d8456!==null?(this[_0x1d6e4d(0x2e4)]=0x0,this[_0x1d6e4d(0x2f3)]=!0x1,this[_0x1d6e4d(0x1f1)]=0x0,_0x5d5484===void 0x0?_0x5d5484=[]:Array[_0x1d6e4d(0x1c6)](_0x5d5484)||(typeof _0x5d5484=='object'&&_0x5d5484!==null?(_0x498619=_0x5d5484,_0x5d5484=[]):_0x5d5484=[_0x5d5484]),_0x230ceb(this,_0x4d8456,_0x5d5484,_0x498619)):(this[_0x1d6e4d(0x28b)]=_0x498619[_0x1d6e4d(0x1b5)],this['_isServer']=!0x0);}get[_0xa39512(0x2f1)](){return this['_binaryType'];}set[_0xa39512(0x2f1)](_0x392a9e){const _0x49fd75=_0xa39512;_0x915787[_0x49fd75(0x145)](_0x392a9e)&&(this[_0x49fd75(0x1d8)]=_0x392a9e,this['_receiver']&&(this[_0x49fd75(0x2b3)][_0x49fd75(0x1d8)]=_0x392a9e));}get[_0xa39512(0x19e)](){const _0x2ad462=_0xa39512;return this[_0x2ad462(0x258)]?this[_0x2ad462(0x258)][_0x2ad462(0x24f)]['length']+this[_0x2ad462(0x282)][_0x2ad462(0x1c7)]:this[_0x2ad462(0x2e4)];}get[_0xa39512(0x161)](){const _0x4888ee=_0xa39512;return Object[_0x4888ee(0x2da)](this[_0x4888ee(0x15f)])[_0x4888ee(0x301)]();}get[_0xa39512(0x192)](){const _0x1eba06=_0xa39512;return this[_0x1eba06(0x19a)];}get['onclose'](){return null;}get[_0xa39512(0x154)](){return null;}get[_0xa39512(0x225)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x2c1bc5=_0xa39512;return this[_0x2c1bc5(0x2fa)];}get[_0xa39512(0x1d9)](){const _0xa646a5=_0xa39512;return this[_0xa646a5(0x238)];}get[_0xa39512(0x2ec)](){const _0x2f687a=_0xa39512;return this[_0x2f687a(0x191)];}['setSocket'](_0x2f3acf,_0xf44dd0,_0x5de4c8){const _0x128a41=_0xa39512,_0xc997ec=new _0x2f489f({'allowSynchronousEvents':_0x5de4c8['allowSynchronousEvents'],'binaryType':this[_0x128a41(0x2f1)],'extensions':this[_0x128a41(0x15f)],'isServer':this[_0x128a41(0x2f3)],'maxPayload':_0x5de4c8[_0x128a41(0x284)],'skipUTF8Validation':_0x5de4c8[_0x128a41(0x150)]}),_0x21ce8a=new _0x4004a5(_0x2f3acf,this['_extensions'],_0x5de4c8['generateMask']);this[_0x128a41(0x2b3)]=_0xc997ec,this['_sender']=_0x21ce8a,this['_socket']=_0x2f3acf,_0xc997ec[_0x5d1295]=this,_0x21ce8a[_0x5d1295]=this,_0x2f3acf[_0x5d1295]=this,_0xc997ec['on']('conclude',_0x124454),_0xc997ec['on']('drain',_0x4cea48),_0xc997ec['on'](_0x128a41(0x1c4),_0x9479a8),_0xc997ec['on'](_0x128a41(0x29c),_0x1fe7a5),_0xc997ec['on'](_0x128a41(0x162),_0x10cee3),_0xc997ec['on'](_0x128a41(0x2a2),_0xd68e08),_0x21ce8a[_0x128a41(0x154)]=_0x5405c7,_0x2f3acf[_0x128a41(0x18c)]&&_0x2f3acf[_0x128a41(0x18c)](0x0),_0x2f3acf[_0x128a41(0x2d9)]&&_0x2f3acf['setNoDelay'](),_0xf44dd0[_0x128a41(0x28a)]>0x0&&_0x2f3acf[_0x128a41(0x252)](_0xf44dd0),_0x2f3acf['on'](_0x128a41(0x2ea),_0x1e2023),_0x2f3acf['on'](_0x128a41(0x29b),_0x3c020d),_0x2f3acf['on'](_0x128a41(0x257),_0x1c5d30),_0x2f3acf['on']('error',_0x4575ed),this[_0x128a41(0x238)]=_0x1d4ca0[_0x128a41(0x239)],this[_0x128a41(0x2d0)]('open');}[_0xa39512(0x21e)](){const _0x2f92c2=_0xa39512;if(!this[_0x2f92c2(0x258)]){this[_0x2f92c2(0x238)]=_0x1d4ca0[_0x2f92c2(0x16a)],this[_0x2f92c2(0x2d0)](_0x2f92c2(0x2ea),this[_0x2f92c2(0x26d)],this[_0x2f92c2(0x1a6)]);return;}this[_0x2f92c2(0x15f)][_0xc31a8c[_0x2f92c2(0x2cf)]]&&this['_extensions'][_0xc31a8c[_0x2f92c2(0x2cf)]]['cleanup'](),this['_receiver'][_0x2f92c2(0x184)](),this['_readyState']=_0x1d4ca0['CLOSED'],this[_0x2f92c2(0x2d0)](_0x2f92c2(0x2ea),this[_0x2f92c2(0x26d)],this['_closeMessage']);}[_0xa39512(0x2ea)](_0x1f7341,_0x17ccbb){const _0x3ce2cb=_0xa39512;if(this[_0x3ce2cb(0x1d9)]!==_0x1d4ca0[_0x3ce2cb(0x16a)]){if(this[_0x3ce2cb(0x1d9)]===_0x1d4ca0[_0x3ce2cb(0x167)]){_0x21dc05(this,this[_0x3ce2cb(0x2c1)],_0x3ce2cb(0x242));return;}if(this[_0x3ce2cb(0x1d9)]===_0x1d4ca0[_0x3ce2cb(0x278)]){this[_0x3ce2cb(0x2ee)]&&(this[_0x3ce2cb(0x20e)]||this[_0x3ce2cb(0x2b3)][_0x3ce2cb(0x24f)][_0x3ce2cb(0x1de)])&&this[_0x3ce2cb(0x258)][_0x3ce2cb(0x257)]();return;}this['_readyState']=_0x1d4ca0[_0x3ce2cb(0x278)],this['_sender']['close'](_0x1f7341,_0x17ccbb,!this['_isServer'],_0x7b34=>{const _0x2ed216=_0x3ce2cb;_0x7b34||(this[_0x2ed216(0x2ee)]=!0x0,(this['_closeFrameReceived']||this[_0x2ed216(0x2b3)]['_writableState'][_0x2ed216(0x1de)])&&this['_socket'][_0x2ed216(0x257)]());}),_0xb62dcd(this);}}[_0xa39512(0x2f6)](){const _0xf8852d=_0xa39512;this[_0xf8852d(0x1d9)]===_0x1d4ca0['CONNECTING']||this['readyState']===_0x1d4ca0[_0xf8852d(0x16a)]||(this['_paused']=!0x0,this[_0xf8852d(0x258)]['pause']());}[_0xa39512(0x162)](_0x14bdd3,_0x171b21,_0x45dabf){const _0x12a4e4=_0xa39512;if(this[_0x12a4e4(0x1d9)]===_0x1d4ca0['CONNECTING'])throw new Error(_0x12a4e4(0x27e));if(typeof _0x14bdd3==_0x12a4e4(0x291)?(_0x45dabf=_0x14bdd3,_0x14bdd3=_0x171b21=void 0x0):typeof _0x171b21==_0x12a4e4(0x291)&&(_0x45dabf=_0x171b21,_0x171b21=void 0x0),typeof _0x14bdd3==_0x12a4e4(0x2f7)&&(_0x14bdd3=_0x14bdd3[_0x12a4e4(0x231)]()),this[_0x12a4e4(0x1d9)]!==_0x1d4ca0['OPEN']){_0x4f3a2f(this,_0x14bdd3,_0x45dabf);return;}_0x171b21===void 0x0&&(_0x171b21=!this[_0x12a4e4(0x2f3)]),this['_sender']['ping'](_0x14bdd3||_0x1e5363,_0x171b21,_0x45dabf);}[_0xa39512(0x2a2)](_0x51cbff,_0x5b5cfe,_0x21d4ab){const _0x33ea60=_0xa39512;if(this[_0x33ea60(0x1d9)]===_0x1d4ca0[_0x33ea60(0x167)])throw new Error(_0x33ea60(0x27e));if(typeof _0x51cbff==_0x33ea60(0x291)?(_0x21d4ab=_0x51cbff,_0x51cbff=_0x5b5cfe=void 0x0):typeof _0x5b5cfe=='function'&&(_0x21d4ab=_0x5b5cfe,_0x5b5cfe=void 0x0),typeof _0x51cbff==_0x33ea60(0x2f7)&&(_0x51cbff=_0x51cbff[_0x33ea60(0x231)]()),this[_0x33ea60(0x1d9)]!==_0x1d4ca0[_0x33ea60(0x239)]){_0x4f3a2f(this,_0x51cbff,_0x21d4ab);return;}_0x5b5cfe===void 0x0&&(_0x5b5cfe=!this[_0x33ea60(0x2f3)]),this[_0x33ea60(0x282)][_0x33ea60(0x2a2)](_0x51cbff||_0x1e5363,_0x5b5cfe,_0x21d4ab);}[_0xa39512(0x2f0)](){const _0x3c0414=_0xa39512;this[_0x3c0414(0x1d9)]===_0x1d4ca0['CONNECTING']||this[_0x3c0414(0x1d9)]===_0x1d4ca0['CLOSED']||(this[_0x3c0414(0x19a)]=!0x1,this[_0x3c0414(0x2b3)][_0x3c0414(0x24f)][_0x3c0414(0x1b6)]||this['_socket']['resume']());}[_0xa39512(0x1c5)](_0x2aec0e,_0x54f682,_0x2650ac){const _0x1a03e8=_0xa39512;if(this[_0x1a03e8(0x1d9)]===_0x1d4ca0[_0x1a03e8(0x167)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54f682=='function'&&(_0x2650ac=_0x54f682,_0x54f682={}),typeof _0x2aec0e==_0x1a03e8(0x2f7)&&(_0x2aec0e=_0x2aec0e[_0x1a03e8(0x231)]()),this[_0x1a03e8(0x1d9)]!==_0x1d4ca0[_0x1a03e8(0x239)]){_0x4f3a2f(this,_0x2aec0e,_0x2650ac);return;}const _0x56d76b={'binary':typeof _0x2aec0e!=_0x1a03e8(0x2e8),'mask':!this[_0x1a03e8(0x2f3)],'compress':!0x0,'fin':!0x0,..._0x54f682};this[_0x1a03e8(0x15f)][_0xc31a8c[_0x1a03e8(0x2cf)]]||(_0x56d76b[_0x1a03e8(0x26e)]=!0x1),this['_sender'][_0x1a03e8(0x1c5)](_0x2aec0e||_0x1e5363,_0x56d76b,_0x2650ac);}[_0xa39512(0x1da)](){const _0x3719ba=_0xa39512;if(this['readyState']!==_0x1d4ca0[_0x3719ba(0x16a)]){if(this[_0x3719ba(0x1d9)]===_0x1d4ca0[_0x3719ba(0x167)]){_0x21dc05(this,this['_req'],_0x3719ba(0x242));return;}this['_socket']&&(this[_0x3719ba(0x238)]=_0x1d4ca0['CLOSING'],this[_0x3719ba(0x258)]['destroy']());}}}Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x167),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x167))}),Object[_0xa39512(0x217)](_0x1d4ca0[_0xa39512(0x179)],_0xa39512(0x167),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x167))}),Object['defineProperty'](_0x1d4ca0,_0xa39512(0x239),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x239))}),Object['defineProperty'](_0x1d4ca0[_0xa39512(0x179)],_0xa39512(0x239),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x239))}),Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x278),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x278))}),Object[_0xa39512(0x217)](_0x1d4ca0[_0xa39512(0x179)],'CLOSING',{'enumerable':!0x0,'value':_0x3fddda[_0xa39512(0x26f)](_0xa39512(0x278))}),Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x16a),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x16a))}),Object[_0xa39512(0x217)](_0x1d4ca0['prototype'],_0xa39512(0x16a),{'enumerable':!0x0,'value':_0x3fddda[_0xa39512(0x26f)](_0xa39512(0x16a))}),[_0xa39512(0x2f1),_0xa39512(0x19e),_0xa39512(0x161),'isPaused',_0xa39512(0x15a),'readyState',_0xa39512(0x2ec)][_0xa39512(0x202)](_0x46d116=>{Object['defineProperty'](_0x1d4ca0['prototype'],_0x46d116,{'enumerable':!0x0});}),[_0xa39512(0x1f6),_0xa39512(0x1c4),'close',_0xa39512(0x29c)][_0xa39512(0x202)](_0x58c2a3=>{const _0x4c0e99=_0xa39512;Object[_0x4c0e99(0x217)](_0x1d4ca0['prototype'],'on'+_0x58c2a3,{'enumerable':!0x0,'get'(){const _0x646b88=_0x4c0e99;for(const _0x3964aa of this[_0x646b88(0x1ef)](_0x58c2a3))if(_0x3964aa[_0x11bdad])return _0x3964aa[_0x47449];return null;},'set'(_0x19c357){const _0xd72b3=_0x4c0e99;for(const _0x35dde3 of this[_0xd72b3(0x1ef)](_0x58c2a3))if(_0x35dde3[_0x11bdad]){this['removeListener'](_0x58c2a3,_0x35dde3);break;}typeof _0x19c357=='function'&&this['addEventListener'](_0x58c2a3,_0x19c357,{[_0x11bdad]:!0x0});}});}),_0x1d4ca0[_0xa39512(0x179)][_0xa39512(0x1a7)]=_0x13e2de,_0x1d4ca0[_0xa39512(0x179)]['removeEventListener']=_0x435512,we=_0x1d4ca0;function _0x230ceb(_0x1042ed,_0x114c83,_0x28e3e2,_0x509dba){const _0x549bc6=_0xa39512,_0x1cb86f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x71b6f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x509dba,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x549bc6(0x172),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1042ed[_0x549bc6(0x28b)]=_0x1cb86f[_0x549bc6(0x1b5)],!_0x71b6f[_0x549bc6(0x145)](_0x1cb86f[_0x549bc6(0x1eb)]))throw new RangeError(_0x549bc6(0x307)+_0x1cb86f[_0x549bc6(0x1eb)]+_0x549bc6(0x25c)+_0x71b6f[_0x549bc6(0x301)](',\x20')+')');let _0x4c192a;if(_0x114c83 instanceof _0xb46c6c)_0x4c192a=_0x114c83;else try{_0x4c192a=new _0xb46c6c(_0x114c83);}catch{throw new SyntaxError(_0x549bc6(0x174)+_0x114c83);}_0x4c192a['protocol']===_0x549bc6(0x249)?_0x4c192a['protocol']='ws:':_0x4c192a[_0x549bc6(0x15a)]===_0x549bc6(0x1fc)&&(_0x4c192a['protocol']=_0x549bc6(0x2ed)),_0x1042ed['_url']=_0x4c192a[_0x549bc6(0x2ce)];const _0x2c4ab9=_0x4c192a[_0x549bc6(0x15a)]===_0x549bc6(0x2ed),_0x24a708=_0x4c192a['protocol']==='ws+unix:';let _0xcc4e5b;if(_0x4c192a[_0x549bc6(0x15a)]!==_0x549bc6(0x152)&&!_0x2c4ab9&&!_0x24a708?_0xcc4e5b=_0x549bc6(0x20c):_0x24a708&&!_0x4c192a['pathname']?_0xcc4e5b=_0x549bc6(0x293):_0x4c192a[_0x549bc6(0x156)]&&(_0xcc4e5b=_0x549bc6(0x1c2)),_0xcc4e5b){const _0x49af04=new SyntaxError(_0xcc4e5b);if(_0x1042ed['_redirects']===0x0)throw _0x49af04;_0x52f408(_0x1042ed,_0x49af04);return;}const _0x167f40=_0x2c4ab9?0x1bb:0x50,_0x79e7e1=_0x27a796(0x10)[_0x549bc6(0x231)](_0x549bc6(0x189)),_0x2d3196=_0x2c4ab9?_0x2fcd43[_0x549bc6(0x1ec)]:_0x4a4229[_0x549bc6(0x1ec)],_0xf10d73=new Set();let _0x3bc066;if(_0x1cb86f[_0x549bc6(0x28d)]=_0x1cb86f['createConnection']||(_0x2c4ab9?_0x32dce3:_0x460129),_0x1cb86f[_0x549bc6(0x233)]=_0x1cb86f[_0x549bc6(0x233)]||_0x167f40,_0x1cb86f['port']=_0x4c192a[_0x549bc6(0x18d)]||_0x167f40,_0x1cb86f['host']=_0x4c192a['hostname']['startsWith']('[')?_0x4c192a[_0x549bc6(0x204)]['slice'](0x1,-0x1):_0x4c192a[_0x549bc6(0x204)],_0x1cb86f['headers']={..._0x1cb86f[_0x549bc6(0x1a1)],'Sec-WebSocket-Version':_0x1cb86f[_0x549bc6(0x1eb)],'Sec-WebSocket-Key':_0x79e7e1,'Connection':'Upgrade','Upgrade':'websocket'},_0x1cb86f[_0x549bc6(0x300)]=_0x4c192a['pathname']+_0x4c192a[_0x549bc6(0x262)],_0x1cb86f[_0x549bc6(0x147)]=_0x1cb86f[_0x549bc6(0x2dd)],_0x1cb86f[_0x549bc6(0x22c)]&&(_0x3bc066=new _0xc31a8c(_0x1cb86f[_0x549bc6(0x22c)]!==!0x0?_0x1cb86f['perMessageDeflate']:{},!0x1,_0x1cb86f[_0x549bc6(0x284)]),_0x1cb86f['headers']['Sec-WebSocket-Extensions']=_0x27b610({[_0xc31a8c[_0x549bc6(0x2cf)]]:_0x3bc066[_0x549bc6(0x166)]()})),_0x28e3e2[_0x549bc6(0x28a)]){for(const _0x4fad0b of _0x28e3e2){if(typeof _0x4fad0b!='string'||!_0x1e511f['test'](_0x4fad0b)||_0xf10d73[_0x549bc6(0x296)](_0x4fad0b))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xf10d73[_0x549bc6(0x2bb)](_0x4fad0b);}_0x1cb86f['headers'][_0x549bc6(0x294)]=_0x28e3e2[_0x549bc6(0x301)](',');}if(_0x1cb86f[_0x549bc6(0x1b3)]&&(_0x1cb86f[_0x549bc6(0x1eb)]<0xd?_0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x17f)]=_0x1cb86f['origin']:_0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1d3)]=_0x1cb86f[_0x549bc6(0x1b3)]),(_0x4c192a[_0x549bc6(0x1f5)]||_0x4c192a[_0x549bc6(0x21a)])&&(_0x1cb86f[_0x549bc6(0x2c7)]=_0x4c192a['username']+':'+_0x4c192a[_0x549bc6(0x21a)]),_0x24a708){const _0x3a6839=_0x1cb86f['path']['split'](':');_0x1cb86f[_0x549bc6(0x25d)]=_0x3a6839[0x0],_0x1cb86f[_0x549bc6(0x300)]=_0x3a6839[0x1];}let _0x362868;if(_0x1cb86f[_0x549bc6(0x240)]){if(_0x1042ed['_redirects']===0x0){_0x1042ed[_0x549bc6(0x2e7)]=_0x24a708,_0x1042ed[_0x549bc6(0x27d)]=_0x2c4ab9,_0x1042ed[_0x549bc6(0x2c8)]=_0x24a708?_0x1cb86f['socketPath']:_0x4c192a[_0x549bc6(0x1f9)];const _0x465abf=_0x509dba&&_0x509dba[_0x549bc6(0x1a1)];if(_0x509dba={..._0x509dba,'headers':{}},_0x465abf){for(const [_0x534187,_0x54e3ee]of Object[_0x549bc6(0x297)](_0x465abf))_0x509dba[_0x549bc6(0x1a1)][_0x534187['toLowerCase']()]=_0x54e3ee;}}else{if(_0x1042ed[_0x549bc6(0x1be)](_0x549bc6(0x273))===0x0){const _0x25f565=_0x24a708?_0x1042ed[_0x549bc6(0x2e7)]?_0x1cb86f[_0x549bc6(0x25d)]===_0x1042ed[_0x549bc6(0x2c8)]:!0x1:_0x1042ed[_0x549bc6(0x2e7)]?!0x1:_0x4c192a['host']===_0x1042ed[_0x549bc6(0x2c8)];(!_0x25f565||_0x1042ed[_0x549bc6(0x27d)]&&!_0x2c4ab9)&&(delete _0x1cb86f['headers'][_0x549bc6(0x1c8)],delete _0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1f4)],_0x25f565||delete _0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1f9)],_0x1cb86f[_0x549bc6(0x2c7)]=void 0x0);}}_0x1cb86f[_0x549bc6(0x2c7)]&&!_0x509dba[_0x549bc6(0x1a1)][_0x549bc6(0x1c8)]&&(_0x509dba[_0x549bc6(0x1a1)][_0x549bc6(0x1c8)]='Basic\x20'+Buffer[_0x549bc6(0x171)](_0x1cb86f['auth'])[_0x549bc6(0x231)](_0x549bc6(0x189))),_0x362868=_0x1042ed[_0x549bc6(0x2c1)]=_0x2d3196(_0x1cb86f),_0x1042ed[_0x549bc6(0x1f1)]&&_0x1042ed[_0x549bc6(0x2d0)](_0x549bc6(0x273),_0x1042ed[_0x549bc6(0x2ec)],_0x362868);}else _0x362868=_0x1042ed[_0x549bc6(0x2c1)]=_0x2d3196(_0x1cb86f);_0x1cb86f['timeout']&&_0x362868['on'](_0x549bc6(0x147),()=>{_0x21dc05(_0x1042ed,_0x362868,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x362868['on'](_0x549bc6(0x1c4),_0x53e155=>{const _0x37ca23=_0x549bc6;_0x362868===null||_0x362868[_0x4806b0]||(_0x362868=_0x1042ed[_0x37ca23(0x2c1)]=null,_0x52f408(_0x1042ed,_0x53e155));}),_0x362868['on'](_0x549bc6(0x2b8),_0x519104=>{const _0x1c0ab5=_0x549bc6,_0x3d782c=_0x519104[_0x1c0ab5(0x1a1)][_0x1c0ab5(0x2b0)],_0x8e2dab=_0x519104[_0x1c0ab5(0x159)];if(_0x3d782c&&_0x1cb86f[_0x1c0ab5(0x240)]&&_0x8e2dab>=0x12c&&_0x8e2dab<0x190){if(++_0x1042ed['_redirects']>_0x1cb86f[_0x1c0ab5(0x2a6)]){_0x21dc05(_0x1042ed,_0x362868,_0x1c0ab5(0x201));return;}_0x362868[_0x1c0ab5(0x241)]();let _0xbcf9fa;try{_0xbcf9fa=new _0xb46c6c(_0x3d782c,_0x114c83);}catch{const _0x44fdf5=new SyntaxError(_0x1c0ab5(0x174)+_0x3d782c);_0x52f408(_0x1042ed,_0x44fdf5);return;}_0x230ceb(_0x1042ed,_0xbcf9fa,_0x28e3e2,_0x509dba);}else _0x1042ed[_0x1c0ab5(0x2d0)](_0x1c0ab5(0x188),_0x362868,_0x519104)||_0x21dc05(_0x1042ed,_0x362868,_0x1c0ab5(0x16f)+_0x519104[_0x1c0ab5(0x159)]);}),_0x362868['on'](_0x549bc6(0x29f),(_0x4d5de1,_0x16ed52,_0x2896a7)=>{const _0x3634a7=_0x549bc6;if(_0x1042ed[_0x3634a7(0x2d0)](_0x3634a7(0x29f),_0x4d5de1),_0x1042ed[_0x3634a7(0x1d9)]!==_0x1d4ca0['CONNECTING'])return;_0x362868=_0x1042ed[_0x3634a7(0x2c1)]=null;const _0x1d4367=_0x4d5de1['headers'][_0x3634a7(0x29f)];if(_0x1d4367===void 0x0||_0x1d4367[_0x3634a7(0x234)]()!=='websocket'){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x2ff));return;}const _0x7ba99f=_0x1413e0(_0x3634a7(0x306))[_0x3634a7(0x223)](_0x79e7e1+_0x2a89a9)['digest'](_0x3634a7(0x189));if(_0x4d5de1[_0x3634a7(0x1a1)][_0x3634a7(0x163)]!==_0x7ba99f){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x148));return;}const _0x3702d4=_0x4d5de1['headers'][_0x3634a7(0x215)];let _0x10381e;if(_0x3702d4!==void 0x0?_0xf10d73['size']?_0xf10d73[_0x3634a7(0x296)](_0x3702d4)||(_0x10381e=_0x3634a7(0x2a0)):_0x10381e=_0x3634a7(0x1e9):_0xf10d73[_0x3634a7(0x205)]&&(_0x10381e=_0x3634a7(0x27c)),_0x10381e){_0x21dc05(_0x1042ed,_0x16ed52,_0x10381e);return;}_0x3702d4&&(_0x1042ed['_protocol']=_0x3702d4);const _0x1c550d=_0x4d5de1['headers'][_0x3634a7(0x2fb)];if(_0x1c550d!==void 0x0){if(!_0x3bc066){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x2a8));return;}let _0x21ee62;try{_0x21ee62=_0x387cd9(_0x1c550d);}catch{_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x17e));return;}const _0x4518d2=Object['keys'](_0x21ee62);if(_0x4518d2[_0x3634a7(0x28a)]!==0x1||_0x4518d2[0x0]!==_0xc31a8c['extensionName']){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x27a));return;}try{_0x3bc066[_0x3634a7(0x15e)](_0x21ee62[_0xc31a8c['extensionName']]);}catch{_0x21dc05(_0x1042ed,_0x16ed52,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1042ed[_0x3634a7(0x15f)][_0xc31a8c['extensionName']]=_0x3bc066;}_0x1042ed[_0x3634a7(0x292)](_0x16ed52,_0x2896a7,{'allowSynchronousEvents':_0x1cb86f[_0x3634a7(0x214)],'generateMask':_0x1cb86f[_0x3634a7(0x270)],'maxPayload':_0x1cb86f['maxPayload'],'skipUTF8Validation':_0x1cb86f['skipUTF8Validation']});}),_0x1cb86f[_0x549bc6(0x222)]?_0x1cb86f[_0x549bc6(0x222)](_0x362868,_0x1042ed):_0x362868[_0x549bc6(0x257)]();}function _0x52f408(_0x322e09,_0x480040){const _0x1e5443=_0xa39512;_0x322e09[_0x1e5443(0x238)]=_0x1d4ca0[_0x1e5443(0x278)],_0x322e09[_0x1e5443(0x194)]=!0x0,_0x322e09[_0x1e5443(0x2d0)](_0x1e5443(0x1c4),_0x480040),_0x322e09[_0x1e5443(0x21e)]();}function _0x460129(_0x28c621){const _0x17cb7d=_0xa39512;return _0x28c621[_0x17cb7d(0x300)]=_0x28c621[_0x17cb7d(0x25d)],_0x4ff410[_0x17cb7d(0x279)](_0x28c621);}function _0x32dce3(_0x4c6f7a){const _0x5cc94c=_0xa39512;return _0x4c6f7a[_0x5cc94c(0x300)]=void 0x0,!_0x4c6f7a['servername']&&_0x4c6f7a[_0x5cc94c(0x1c1)]!==''&&(_0x4c6f7a[_0x5cc94c(0x1c1)]=_0x4ff410['isIP'](_0x4c6f7a[_0x5cc94c(0x1f9)])?'':_0x4c6f7a[_0x5cc94c(0x1f9)]),_0xe6dbc7[_0x5cc94c(0x279)](_0x4c6f7a);}function _0x21dc05(_0x51c726,_0x2e8fea,_0x1afe85){const _0x4cd1a1=_0xa39512;_0x51c726[_0x4cd1a1(0x238)]=_0x1d4ca0['CLOSING'];const _0x38ea14=new Error(_0x1afe85);Error['captureStackTrace'](_0x38ea14,_0x21dc05),_0x2e8fea[_0x4cd1a1(0x2f4)]?(_0x2e8fea[_0x4806b0]=!0x0,_0x2e8fea[_0x4cd1a1(0x241)](),_0x2e8fea['socket']&&!_0x2e8fea[_0x4cd1a1(0x14b)][_0x4cd1a1(0x24a)]&&_0x2e8fea[_0x4cd1a1(0x14b)]['destroy'](),process[_0x4cd1a1(0x190)](_0x52f408,_0x51c726,_0x38ea14)):(_0x2e8fea['destroy'](_0x38ea14),_0x2e8fea['once'](_0x4cd1a1(0x1c4),_0x51c726['emit'][_0x4cd1a1(0x2d3)](_0x51c726,_0x4cd1a1(0x1c4))),_0x2e8fea[_0x4cd1a1(0x2ae)](_0x4cd1a1(0x2ea),_0x51c726[_0x4cd1a1(0x21e)][_0x4cd1a1(0x2d3)](_0x51c726)));}function _0x4f3a2f(_0x6edb79,_0x302e1a,_0x2ec744){const _0x33353b=_0xa39512;if(_0x302e1a){const _0x1b5ba9=_0x1cf6ea(_0x302e1a)?_0x302e1a[_0x33353b(0x205)]:_0x2e6c2e(_0x302e1a)[_0x33353b(0x28a)];_0x6edb79[_0x33353b(0x258)]?_0x6edb79[_0x33353b(0x282)][_0x33353b(0x1c7)]+=_0x1b5ba9:_0x6edb79['_bufferedAmount']+=_0x1b5ba9;}if(_0x2ec744){const _0x48dcd3=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x6edb79[_0x33353b(0x1d9)]+'\x20('+_0x3fddda[_0x6edb79[_0x33353b(0x1d9)]]+')');process[_0x33353b(0x190)](_0x2ec744,_0x48dcd3);}}function _0x124454(_0x3fcee1,_0x1e4236){const _0x1340d8=_0xa39512,_0x54cca7=this[_0x5d1295];_0x54cca7[_0x1340d8(0x20e)]=!0x0,_0x54cca7['_closeMessage']=_0x1e4236,_0x54cca7[_0x1340d8(0x26d)]=_0x3fcee1,_0x54cca7[_0x1340d8(0x258)][_0x5d1295]!==void 0x0&&(_0x54cca7[_0x1340d8(0x258)][_0x1340d8(0x277)]('data',_0x3c020d),process[_0x1340d8(0x190)](_0x460aee,_0x54cca7[_0x1340d8(0x258)]),_0x3fcee1===0x3ed?_0x54cca7[_0x1340d8(0x2ea)]():_0x54cca7[_0x1340d8(0x2ea)](_0x3fcee1,_0x1e4236));}function _0x4cea48(){const _0x2956bf=_0xa39512,_0xec840d=this[_0x5d1295];_0xec840d[_0x2956bf(0x192)]||_0xec840d['_socket']['resume']();}function _0x9479a8(_0x2c9bc6){const _0x26ab1e=_0xa39512,_0x5a2282=this[_0x5d1295];_0x5a2282[_0x26ab1e(0x258)][_0x5d1295]!==void 0x0&&(_0x5a2282[_0x26ab1e(0x258)][_0x26ab1e(0x277)](_0x26ab1e(0x29b),_0x3c020d),process[_0x26ab1e(0x190)](_0x460aee,_0x5a2282[_0x26ab1e(0x258)]),_0x5a2282[_0x26ab1e(0x2ea)](_0x2c9bc6[_0x352149])),_0x5a2282['_errorEmitted']||(_0x5a2282['_errorEmitted']=!0x0,_0x5a2282['emit'](_0x26ab1e(0x1c4),_0x2c9bc6));}function _0x482e69(){const _0x58613c=_0xa39512;this[_0x5d1295][_0x58613c(0x21e)]();}function _0x1fe7a5(_0x227bc0,_0x6bfd96){const _0x44a059=_0xa39512;this[_0x5d1295]['emit'](_0x44a059(0x29c),_0x227bc0,_0x6bfd96);}function _0x10cee3(_0x42cd9a){const _0x8a6784=_0xa39512,_0x3ff247=this[_0x5d1295];_0x3ff247['_autoPong']&&_0x3ff247[_0x8a6784(0x2a2)](_0x42cd9a,!this['_isServer'],_0x1d5d28),_0x3ff247[_0x8a6784(0x2d0)](_0x8a6784(0x162),_0x42cd9a);}function _0xd68e08(_0x1e5208){const _0x5c9867=_0xa39512;this[_0x5d1295]['emit'](_0x5c9867(0x2a2),_0x1e5208);}function _0x460aee(_0x444a76){const _0x5c1784=_0xa39512;_0x444a76[_0x5c1784(0x2f0)]();}function _0x5405c7(_0x5b49fd){const _0x2c2a55=_0xa39512,_0x4cea36=this[_0x5d1295];_0x4cea36[_0x2c2a55(0x1d9)]!==_0x1d4ca0[_0x2c2a55(0x16a)]&&(_0x4cea36[_0x2c2a55(0x1d9)]===_0x1d4ca0[_0x2c2a55(0x239)]&&(_0x4cea36[_0x2c2a55(0x238)]=_0x1d4ca0[_0x2c2a55(0x278)],_0xb62dcd(_0x4cea36)),this[_0x2c2a55(0x258)][_0x2c2a55(0x257)](),_0x4cea36[_0x2c2a55(0x194)]||(_0x4cea36[_0x2c2a55(0x194)]=!0x0,_0x4cea36['emit']('error',_0x5b49fd)));}function _0xb62dcd(_0x4a9487){const _0x1fe18b=_0xa39512;_0x4a9487[_0x1fe18b(0x170)]=setTimeout(_0x4a9487['_socket']['destroy'][_0x1fe18b(0x2d3)](_0x4a9487[_0x1fe18b(0x258)]),_0x2e3fdb);}function _0x1e2023(){const _0x126b99=_0xa39512,_0x21ac17=this[_0x5d1295];this['removeListener'](_0x126b99(0x2ea),_0x1e2023),this[_0x126b99(0x277)](_0x126b99(0x29b),_0x3c020d),this['removeListener'](_0x126b99(0x257),_0x1c5d30),_0x21ac17['_readyState']=_0x1d4ca0['CLOSING'];let _0x4bbd75;!this[_0x126b99(0x309)][_0x126b99(0x181)]&&!_0x21ac17[_0x126b99(0x20e)]&&!_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x24f)][_0x126b99(0x1de)]&&(_0x4bbd75=_0x21ac17[_0x126b99(0x258)][_0x126b99(0x146)]())!==null&&_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x2f9)](_0x4bbd75),_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x257)](),this[_0x5d1295]=void 0x0,clearTimeout(_0x21ac17[_0x126b99(0x170)]),_0x21ac17['_receiver'][_0x126b99(0x24f)][_0x126b99(0x197)]||_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x24f)][_0x126b99(0x1de)]?_0x21ac17[_0x126b99(0x21e)]():(_0x21ac17['_receiver']['on'](_0x126b99(0x1c4),_0x482e69),_0x21ac17[_0x126b99(0x2b3)]['on'](_0x126b99(0x2d2),_0x482e69));}function _0x3c020d(_0x57af18){const _0x38474a=_0xa39512;this[_0x5d1295]['_receiver'][_0x38474a(0x2f9)](_0x57af18)||this['pause']();}function _0x1c5d30(){const _0x519fa1=_0xa39512,_0x2dc01f=this[_0x5d1295];_0x2dc01f[_0x519fa1(0x238)]=_0x1d4ca0[_0x519fa1(0x278)],_0x2dc01f[_0x519fa1(0x2b3)][_0x519fa1(0x257)](),this[_0x519fa1(0x257)]();}function _0x4575ed(){const _0xb398e1=_0xa39512,_0x547efd=this[_0x5d1295];this[_0xb398e1(0x277)](_0xb398e1(0x1c4),_0x4575ed),this['on'](_0xb398e1(0x1c4),_0x1d5d28),_0x547efd&&(_0x547efd[_0xb398e1(0x238)]=_0x1d4ca0[_0xb398e1(0x278)],this[_0xb398e1(0x1b0)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3ae8a2}=oe;function _0x1f807a(_0x15868d){const _0x373fb8=_0x4406;_0x15868d[_0x373fb8(0x2d0)](_0x373fb8(0x2ea));}function _0x33b087(){const _0x4637f1=_0x4406;!this[_0x4637f1(0x24a)]&&this[_0x4637f1(0x24f)][_0x4637f1(0x197)]&&this[_0x4637f1(0x1b0)]();}function _0x4a340d(_0x24dec4){const _0x26792a=_0x4406;this[_0x26792a(0x277)](_0x26792a(0x1c4),_0x4a340d),this[_0x26792a(0x1b0)](),this['listenerCount']('error')===0x0&&this[_0x26792a(0x2d0)](_0x26792a(0x1c4),_0x24dec4);}function _0x11814c(_0x2e2b47,_0x219fa3){const _0x53b8ad=_0x4406;let _0x354b3d=!0x0;const _0x5c3da7=new _0x3ae8a2({..._0x219fa3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2e2b47['on'](_0x53b8ad(0x29c),function(_0x4c5c3c,_0x5159e9){const _0x244ba=_0x53b8ad,_0x53e15f=!_0x5159e9&&_0x5c3da7[_0x244ba(0x309)][_0x244ba(0x1aa)]?_0x4c5c3c[_0x244ba(0x231)]():_0x4c5c3c;_0x5c3da7[_0x244ba(0x18a)](_0x53e15f)||_0x2e2b47[_0x244ba(0x2f6)]();}),_0x2e2b47['once'](_0x53b8ad(0x1c4),function(_0xc90ea3){const _0x343d9c=_0x53b8ad;_0x5c3da7[_0x343d9c(0x24a)]||(_0x354b3d=!0x1,_0x5c3da7['destroy'](_0xc90ea3));}),_0x2e2b47[_0x53b8ad(0x2ae)](_0x53b8ad(0x2ea),function(){const _0x2e0014=_0x53b8ad;_0x5c3da7[_0x2e0014(0x24a)]||_0x5c3da7[_0x2e0014(0x18a)](null);}),_0x5c3da7[_0x53b8ad(0x15d)]=function(_0x20996b,_0x1941c8){const _0x5ef94c=_0x53b8ad;if(_0x2e2b47['readyState']===_0x2e2b47[_0x5ef94c(0x16a)]){_0x1941c8(_0x20996b),process[_0x5ef94c(0x190)](_0x1f807a,_0x5c3da7);return;}let _0x22afd7=!0x1;_0x2e2b47[_0x5ef94c(0x2ae)]('error',function(_0x11736c){_0x22afd7=!0x0,_0x1941c8(_0x11736c);}),_0x2e2b47[_0x5ef94c(0x2ae)](_0x5ef94c(0x2ea),function(){_0x22afd7||_0x1941c8(_0x20996b),process['nextTick'](_0x1f807a,_0x5c3da7);}),_0x354b3d&&_0x2e2b47[_0x5ef94c(0x1da)]();},_0x5c3da7[_0x53b8ad(0x235)]=function(_0x31fee7){const _0x268352=_0x53b8ad;if(_0x2e2b47[_0x268352(0x1d9)]===_0x2e2b47[_0x268352(0x167)]){_0x2e2b47[_0x268352(0x2ae)](_0x268352(0x1f6),function(){const _0x304b1d=_0x268352;_0x5c3da7[_0x304b1d(0x235)](_0x31fee7);});return;}_0x2e2b47[_0x268352(0x258)]!==null&&(_0x2e2b47[_0x268352(0x258)][_0x268352(0x24f)][_0x268352(0x197)]?(_0x31fee7(),_0x5c3da7[_0x268352(0x309)][_0x268352(0x181)]&&_0x5c3da7['destroy']()):(_0x2e2b47[_0x268352(0x258)][_0x268352(0x2ae)](_0x268352(0x2d2),function(){_0x31fee7();}),_0x2e2b47['close']()));},_0x5c3da7[_0x53b8ad(0x1e2)]=function(){const _0x14b031=_0x53b8ad;_0x2e2b47['isPaused']&&_0x2e2b47[_0x14b031(0x2f0)]();},_0x5c3da7['_write']=function(_0x52a14e,_0x295707,_0x28bb24){const _0x29e5c9=_0x53b8ad;if(_0x2e2b47['readyState']===_0x2e2b47['CONNECTING']){_0x2e2b47['once'](_0x29e5c9(0x1f6),function(){_0x5c3da7['_write'](_0x52a14e,_0x295707,_0x28bb24);});return;}_0x2e2b47[_0x29e5c9(0x1c5)](_0x52a14e,_0x28bb24);},_0x5c3da7['on'](_0x53b8ad(0x257),_0x33b087),_0x5c3da7['on'](_0x53b8ad(0x1c4),_0x4a340d),_0x5c3da7;}return Oe=_0x11814c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4e0a19}=ae();function _0x1284b3(_0x1ebd1d){const _0x5dc98e=_0x4406,_0x4dda6c=new Set();let _0x352b16=-0x1,_0x5b4142=-0x1,_0xea68bd=0x0;for(_0xea68bd;_0xea68bd<_0x1ebd1d[_0x5dc98e(0x28a)];_0xea68bd++){const _0x916f66=_0x1ebd1d[_0x5dc98e(0x2d1)](_0xea68bd);if(_0x5b4142===-0x1&&_0x4e0a19[_0x916f66]===0x1)_0x352b16===-0x1&&(_0x352b16=_0xea68bd);else{if(_0xea68bd!==0x0&&(_0x916f66===0x20||_0x916f66===0x9))_0x5b4142===-0x1&&_0x352b16!==-0x1&&(_0x5b4142=_0xea68bd);else{if(_0x916f66===0x2c){if(_0x352b16===-0x1)throw new SyntaxError(_0x5dc98e(0x2c4)+_0xea68bd);_0x5b4142===-0x1&&(_0x5b4142=_0xea68bd);const _0x5531ca=_0x1ebd1d[_0x5dc98e(0x15c)](_0x352b16,_0x5b4142);if(_0x4dda6c[_0x5dc98e(0x296)](_0x5531ca))throw new SyntaxError(_0x5dc98e(0x2de)+_0x5531ca+_0x5dc98e(0x2b5));_0x4dda6c[_0x5dc98e(0x2bb)](_0x5531ca),_0x352b16=_0x5b4142=-0x1;}else throw new SyntaxError(_0x5dc98e(0x2c4)+_0xea68bd);}}}if(_0x352b16===-0x1||_0x5b4142!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3af743=_0x1ebd1d[_0x5dc98e(0x15c)](_0x352b16,_0xea68bd);if(_0x4dda6c[_0x5dc98e(0x296)](_0x3af743))throw new SyntaxError(_0x5dc98e(0x2de)+_0x3af743+'\x22\x20subprotocol\x20is\x20duplicated');return _0x4dda6c[_0x5dc98e(0x2bb)](_0x3af743),_0x4dda6c;}return Ce={'parse':_0x1284b3},Ce;}var Te,rt;function Ft(){const _0xdc484b=_0x41e9f5;if(rt)return Te;rt=0x1;const _0x66b0dc=nt,_0x4d2f4f=ot,{Duplex:_0x13e41a}=oe,{createHash:_0x4596d6}=Le,_0x1abe78=ct(),_0x1aab97=he(),_0x283381=At(),_0x561f8f=Pe(),{GUID:_0x239ee7,kWebSocket:_0x2fb2d9}=H(),_0x1cdb07=/^[+/0-9A-Za-z]{22}==$/,_0x44c496=0x0,_0x3c9c38=0x1,_0x1963c6=0x2;class _0x207a46 extends _0x66b0dc{constructor(_0x38f855,_0x48732a){const _0x56628b=_0x4406;if(super(),_0x38f855={'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':_0x561f8f,..._0x38f855},_0x38f855[_0x56628b(0x18d)]==null&&!_0x38f855[_0x56628b(0x14a)]&&!_0x38f855[_0x56628b(0x16e)]||_0x38f855[_0x56628b(0x18d)]!=null&&(_0x38f855[_0x56628b(0x14a)]||_0x38f855[_0x56628b(0x16e)])||_0x38f855[_0x56628b(0x14a)]&&_0x38f855[_0x56628b(0x16e)])throw new TypeError(_0x56628b(0x286));if(_0x38f855[_0x56628b(0x18d)]!=null?(this[_0x56628b(0x2b9)]=_0x4d2f4f['createServer']((_0x4f2b9f,_0x49fb2f)=>{const _0x1032da=_0x56628b,_0x5a74ee=_0x4d2f4f[_0x1032da(0x22f)][0x1aa];_0x49fb2f[_0x1032da(0x2f5)](0x1aa,{'Content-Length':_0x5a74ee[_0x1032da(0x28a)],'Content-Type':_0x1032da(0x15b)}),_0x49fb2f[_0x1032da(0x257)](_0x5a74ee);}),this[_0x56628b(0x2b9)][_0x56628b(0x213)](_0x38f855[_0x56628b(0x18d)],_0x38f855[_0x56628b(0x1f9)],_0x38f855[_0x56628b(0x211)],_0x48732a)):_0x38f855[_0x56628b(0x14a)]&&(this[_0x56628b(0x2b9)]=_0x38f855[_0x56628b(0x14a)]),this[_0x56628b(0x2b9)]){const _0x1c0ced=this['emit']['bind'](this,_0x56628b(0x2bd));this[_0x56628b(0x1ad)]=_0x3a02fe(this[_0x56628b(0x2b9)],{'listening':this[_0x56628b(0x2d0)][_0x56628b(0x2d3)](this,'listening'),'error':this['emit'][_0x56628b(0x2d3)](this,_0x56628b(0x1c4)),'upgrade':(_0x58fe58,_0x176d68,_0x10da60)=>{const _0xacf7b5=_0x56628b;this[_0xacf7b5(0x195)](_0x58fe58,_0x176d68,_0x10da60,_0x1c0ced);}});}_0x38f855['perMessageDeflate']===!0x0&&(_0x38f855[_0x56628b(0x22c)]={}),_0x38f855[_0x56628b(0x17b)]&&(this[_0x56628b(0x2cc)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x56628b(0x2ad)]=_0x38f855,this[_0x56628b(0x1ea)]=_0x44c496;}[_0xdc484b(0x1bb)](){const _0x299992=_0xdc484b;if(this[_0x299992(0x2ad)][_0x299992(0x16e)])throw new Error(_0x299992(0x272));return this['_server']?this[_0x299992(0x2b9)]['address']():null;}[_0xdc484b(0x2ea)](_0x23a972){const _0x107187=_0xdc484b;if(this[_0x107187(0x1ea)]===_0x1963c6){_0x23a972&&this[_0x107187(0x2ae)](_0x107187(0x2ea),()=>{const _0x6b4e7d=_0x107187;_0x23a972(new Error(_0x6b4e7d(0x21f)));}),process[_0x107187(0x190)](_0x5a62c3,this);return;}if(_0x23a972&&this[_0x107187(0x2ae)](_0x107187(0x2ea),_0x23a972),this['_state']!==_0x3c9c38){if(this['_state']=_0x3c9c38,this[_0x107187(0x2ad)][_0x107187(0x16e)]||this['options'][_0x107187(0x14a)])this[_0x107187(0x2b9)]&&(this[_0x107187(0x1ad)](),this[_0x107187(0x1ad)]=this[_0x107187(0x2b9)]=null),this['clients']?this[_0x107187(0x2cc)]['size']?this[_0x107187(0x198)]=!0x0:process[_0x107187(0x190)](_0x5a62c3,this):process[_0x107187(0x190)](_0x5a62c3,this);else{const _0x4264c9=this[_0x107187(0x2b9)];this['_removeListeners'](),this[_0x107187(0x1ad)]=this[_0x107187(0x2b9)]=null,_0x4264c9[_0x107187(0x2ea)](()=>{_0x5a62c3(this);});}}}[_0xdc484b(0x1df)](_0x4825ab){const _0x34c5fb=_0xdc484b;if(this[_0x34c5fb(0x2ad)][_0x34c5fb(0x300)]){const _0x34ccfb=_0x4825ab[_0x34c5fb(0x2ec)][_0x34c5fb(0x26f)]('?');if((_0x34ccfb!==-0x1?_0x4825ab[_0x34c5fb(0x2ec)]['slice'](0x0,_0x34ccfb):_0x4825ab[_0x34c5fb(0x2ec)])!==this[_0x34c5fb(0x2ad)][_0x34c5fb(0x300)])return!0x1;}return!0x0;}['handleUpgrade'](_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e){const _0x5a7738=_0xdc484b;_0x429377['on'](_0x5a7738(0x1c4),_0x146a59);const _0x491a72=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x23a)],_0x1413c2=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x29f)],_0x167498=+_0x33840d[_0x5a7738(0x1a1)]['sec-websocket-version'];if(_0x33840d['method']!==_0x5a7738(0x172)){_0x5e51fa(this,_0x33840d,_0x429377,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1413c2===void 0x0||_0x1413c2['toLowerCase']()!=='websocket'){_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x2ff));return;}if(_0x491a72===void 0x0||!_0x1cdb07[_0x5a7738(0x1db)](_0x491a72)){_0x5e51fa(this,_0x33840d,_0x429377,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x167498!==0xd&&_0x167498!==0x8){_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x260),{'Sec-WebSocket-Version':_0x5a7738(0x26c)});return;}if(!this[_0x5a7738(0x1df)](_0x33840d)){_0x4d9aa6(_0x429377,0x190);return;}const _0x4b9e66=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x215)];let _0x5a2b8a=new Set();if(_0x4b9e66!==void 0x0)try{_0x5a2b8a=_0x283381[_0x5a7738(0x266)](_0x4b9e66);}catch{_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x1e4));return;}const _0x1dcbc1=_0x33840d['headers'][_0x5a7738(0x2fb)],_0x4613a0={};if(this['options'][_0x5a7738(0x22c)]&&_0x1dcbc1!==void 0x0){const _0x2e26c8=new _0x1aab97(this[_0x5a7738(0x2ad)][_0x5a7738(0x22c)],!0x0,this[_0x5a7738(0x2ad)][_0x5a7738(0x284)]);try{const _0x5ba200=_0x1abe78[_0x5a7738(0x266)](_0x1dcbc1);_0x5ba200[_0x1aab97['extensionName']]&&(_0x2e26c8['accept'](_0x5ba200[_0x1aab97[_0x5a7738(0x2cf)]]),_0x4613a0[_0x1aab97[_0x5a7738(0x2cf)]]=_0x2e26c8);}catch{_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x2c0));return;}}if(this['options'][_0x5a7738(0x1cb)]){const _0x2ddbb9={'origin':_0x33840d[_0x5a7738(0x1a1)][''+(_0x167498===0x8?_0x5a7738(0x2fd):_0x5a7738(0x1b3))],'secure':!!(_0x33840d[_0x5a7738(0x14b)]['authorized']||_0x33840d[_0x5a7738(0x14b)][_0x5a7738(0x2a5)]),'req':_0x33840d};if(this['options']['verifyClient']['length']===0x2){this['options'][_0x5a7738(0x1cb)](_0x2ddbb9,(_0x1b5477,_0x147226,_0x247c6e,_0x35aef0)=>{const _0x3658e2=_0x5a7738;if(!_0x1b5477)return _0x4d9aa6(_0x429377,_0x147226||0x191,_0x247c6e,_0x35aef0);this[_0x3658e2(0x229)](_0x4613a0,_0x491a72,_0x5a2b8a,_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e);});return;}if(!this['options']['verifyClient'](_0x2ddbb9))return _0x4d9aa6(_0x429377,0x191);}this[_0x5a7738(0x229)](_0x4613a0,_0x491a72,_0x5a2b8a,_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e);}[_0xdc484b(0x229)](_0x21f034,_0x2b6e2a,_0x5e7917,_0x2a9772,_0x46d2c2,_0x33d481,_0x15b3a9){const _0x15c465=_0xdc484b;if(!_0x46d2c2[_0x15c465(0x165)]||!_0x46d2c2[_0x15c465(0x2d7)])return _0x46d2c2[_0x15c465(0x1b0)]();if(_0x46d2c2[_0x2fb2d9])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x15c465(0x1ea)]>_0x44c496)return _0x4d9aa6(_0x46d2c2,0x1f7);const _0x5dcaa9=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x15c465(0x1f3),'Connection:\x20Upgrade',_0x15c465(0x1d0)+_0x4596d6('sha1')[_0x15c465(0x223)](_0x2b6e2a+_0x239ee7)[_0x15c465(0x14f)](_0x15c465(0x189))],_0x4002e7=new this[(_0x15c465(0x2ad))][(_0x15c465(0x2fc))](null,void 0x0,this[_0x15c465(0x2ad)]);if(_0x5e7917[_0x15c465(0x205)]){const _0x319934=this['options']['handleProtocols']?this[_0x15c465(0x2ad)][_0x15c465(0x2e6)](_0x5e7917,_0x2a9772):_0x5e7917[_0x15c465(0x1ac)]()[_0x15c465(0x2e2)]()[_0x15c465(0x1e1)];_0x319934&&(_0x5dcaa9[_0x15c465(0x18a)](_0x15c465(0x2b6)+_0x319934),_0x4002e7[_0x15c465(0x2fa)]=_0x319934);}if(_0x21f034[_0x1aab97[_0x15c465(0x2cf)]]){const _0x91c3a1=_0x21f034[_0x1aab97[_0x15c465(0x2cf)]]['params'],_0x3bd0c9=_0x1abe78[_0x15c465(0x209)]({[_0x1aab97[_0x15c465(0x2cf)]]:[_0x91c3a1]});_0x5dcaa9[_0x15c465(0x18a)](_0x15c465(0x287)+_0x3bd0c9),_0x4002e7[_0x15c465(0x15f)]=_0x21f034;}this[_0x15c465(0x2d0)](_0x15c465(0x1a1),_0x5dcaa9,_0x2a9772),_0x46d2c2['write'](_0x5dcaa9[_0x15c465(0x164)]('\x0d\x0a')['join']('\x0d\x0a')),_0x46d2c2[_0x15c465(0x277)](_0x15c465(0x1c4),_0x146a59),_0x4002e7['setSocket'](_0x46d2c2,_0x33d481,{'allowSynchronousEvents':this[_0x15c465(0x2ad)]['allowSynchronousEvents'],'maxPayload':this[_0x15c465(0x2ad)][_0x15c465(0x284)],'skipUTF8Validation':this[_0x15c465(0x2ad)][_0x15c465(0x150)]}),this[_0x15c465(0x2cc)]&&(this[_0x15c465(0x2cc)][_0x15c465(0x2bb)](_0x4002e7),_0x4002e7['on'](_0x15c465(0x2ea),()=>{const _0x2a7dfb=_0x15c465;this[_0x2a7dfb(0x2cc)]['delete'](_0x4002e7),this[_0x2a7dfb(0x198)]&&!this['clients'][_0x2a7dfb(0x205)]&&process[_0x2a7dfb(0x190)](_0x5a62c3,this);})),_0x15b3a9(_0x4002e7,_0x2a9772);}}Te=_0x207a46;function _0x3a02fe(_0x36302b,_0x36ba0f){const _0x44b3e0=_0xdc484b;for(const _0x4a17c9 of Object[_0x44b3e0(0x2da)](_0x36ba0f))_0x36302b['on'](_0x4a17c9,_0x36ba0f[_0x4a17c9]);return function(){const _0x25224a=_0x44b3e0;for(const _0x4fa9ca of Object[_0x25224a(0x2da)](_0x36ba0f))_0x36302b[_0x25224a(0x277)](_0x4fa9ca,_0x36ba0f[_0x4fa9ca]);};}function _0x5a62c3(_0x267299){const _0x3f12c1=_0xdc484b;_0x267299[_0x3f12c1(0x1ea)]=_0x1963c6,_0x267299['emit']('close');}function _0x146a59(){this['destroy']();}function _0x4d9aa6(_0x1f8549,_0x2d7966,_0x7c4253,_0x5e8883){const _0x3c1ac3=_0xdc484b;_0x7c4253=_0x7c4253||_0x4d2f4f[_0x3c1ac3(0x22f)][_0x2d7966],_0x5e8883={'Connection':_0x3c1ac3(0x2ea),'Content-Type':_0x3c1ac3(0x21c),'Content-Length':Buffer['byteLength'](_0x7c4253),..._0x5e8883},_0x1f8549[_0x3c1ac3(0x2ae)](_0x3c1ac3(0x2d2),_0x1f8549[_0x3c1ac3(0x1b0)]),_0x1f8549[_0x3c1ac3(0x257)]('HTTP/1.1\x20'+_0x2d7966+'\x20'+_0x4d2f4f[_0x3c1ac3(0x22f)][_0x2d7966]+'\x0d\x0a'+Object[_0x3c1ac3(0x2da)](_0x5e8883)[_0x3c1ac3(0x1ce)](_0x41cb06=>_0x41cb06+':\x20'+_0x5e8883[_0x41cb06])['join']('\x0d\x0a')+_0x3c1ac3(0x236)+_0x7c4253);}function _0x5e51fa(_0x3d9aaa,_0x264861,_0x4ab901,_0x124ea2,_0x2c39ef,_0x7dbe0e){const _0x26983c=_0xdc484b;if(_0x3d9aaa[_0x26983c(0x1be)](_0x26983c(0x18f))){const _0x2936c6=new Error(_0x2c39ef);Error['captureStackTrace'](_0x2936c6,_0x5e51fa),_0x3d9aaa[_0x26983c(0x2d0)](_0x26983c(0x18f),_0x2936c6,_0x4ab901,_0x264861);}else _0x4d9aa6(_0x4ab901,_0x124ea2,_0x2c39ef,_0x7dbe0e);}return Te;}Ft();var jt=Object[_0x41e9f5(0x308)],Wt=(_0x454775,_0x1c440a,_0x255623,_0x18d1aa)=>{for(var _0x4aca06=_0x18d1aa>0x1?void 0x0:_0x18d1aa?jt(_0x1c440a,_0x255623):_0x1c440a,_0x803000=_0x454775['length']-0x1,_0x478cf3;_0x803000>=0x0;_0x803000--)(_0x478cf3=_0x454775[_0x803000])&&(_0x4aca06=_0x478cf3(_0x4aca06)||_0x4aca06);return _0x4aca06;},qt=(_0x4a22be,_0x428b0c)=>(_0x539d11,_0x754728)=>_0x428b0c(_0x539d11,_0x754728,_0x4a22be);let ke=class extends A[_0x41e9f5(0x2af)]{constructor(_0x26e1d1){const _0xea7fd2=_0x41e9f5;super(),this[_0xea7fd2(0x1b4)]=_0x26e1d1;}[_0x41e9f5(0x2ac)](_0x52abc7){const _0x1bb83b=_0x41e9f5;var _0x3f5a3a;const _0x44dae7=(_0x3f5a3a=this['_configService'][_0x1bb83b(0x1d5)](fe))==null?void 0x0:_0x3f5a3a[_0x1bb83b(0x220)];try{const _0x304581=new $t(_0x52abc7,{'headers':{..._0x44dae7}}),_0x923fb1=new A[(_0x1bb83b(0x1dd))]();return{'URL':_0x52abc7,'close':(_0x5a607b,_0x18f28e)=>{const _0x5e7b76=_0x1bb83b;_0x304581[_0x5e7b76(0x2ea)](_0x5a607b,_0x18f28e),_0x923fb1['dispose']();},'send':_0x423c77=>{_0x304581['send'](_0x423c77);},'open$':new V['Observable'](_0x12989c=>{const _0x1431ce=_0x1bb83b,_0xa8b9b4=_0x4f9190=>_0x12989c[_0x1431ce(0x2e2)](_0x4f9190);_0x304581[_0x1431ce(0x1a7)](_0x1431ce(0x1f6),_0xa8b9b4),_0x923fb1['add'](A[_0x1431ce(0x212)](()=>_0x304581[_0x1431ce(0x1bf)]('open',_0xa8b9b4)));})[_0x1bb83b(0x247)](V['share']()),'close$':new V[(_0x1bb83b(0x2a9))](_0x3b0b2b=>{const _0xa3f1aa=_0x1bb83b,_0x29b656=_0xdeab17=>_0x3b0b2b['next'](_0xdeab17);_0x304581[_0xa3f1aa(0x1a7)](_0xa3f1aa(0x2ea),_0x29b656),_0x923fb1[_0xa3f1aa(0x2bb)](A[_0xa3f1aa(0x212)](()=>_0x304581[_0xa3f1aa(0x1bf)]('close',_0x29b656)));})['pipe'](V[_0x1bb83b(0x243)]()),'error$':new V[(_0x1bb83b(0x2a9))](_0x559c05=>{const _0x5b4bee=_0x1bb83b,_0x5a5812=_0x41d175=>_0x559c05[_0x5b4bee(0x2e2)](_0x41d175);_0x304581['addEventListener'](_0x5b4bee(0x1c4),_0x5a5812),_0x923fb1[_0x5b4bee(0x2bb)](A[_0x5b4bee(0x212)](()=>_0x304581[_0x5b4bee(0x1bf)]('error',_0x5a5812)));})['pipe'](V[_0x1bb83b(0x243)]()),'message$':new V[(_0x1bb83b(0x2a9))](_0x4b7e42=>{const _0x36d3a2=_0x1bb83b,_0x8306e6=_0x149fb6=>_0x4b7e42[_0x36d3a2(0x2e2)](_0x149fb6);_0x304581[_0x36d3a2(0x1a7)](_0x36d3a2(0x29c),_0x8306e6),_0x923fb1[_0x36d3a2(0x2bb)](A['toDisposable'](()=>_0x304581['removeEventListener']('message',_0x8306e6)));})[_0x1bb83b(0x247)](V[_0x1bb83b(0x243)]())};}catch(_0x326a96){return console[_0x1bb83b(0x1c4)](_0x326a96),null;}}};ke=Wt([qt(0x0,A[_0x41e9f5(0x221)])],ke);var Gt=Object[_0x41e9f5(0x217)],Vt=Object[_0x41e9f5(0x308)],Ht=(_0x5eb8dd,_0x59fb21,_0x3f57b8)=>_0x59fb21 in _0x5eb8dd?Gt(_0x5eb8dd,_0x59fb21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f57b8}):_0x5eb8dd[_0x59fb21]=_0x3f57b8,zt=(_0x335255,_0x304161,_0x3140ae,_0x39a4e1)=>{for(var _0x3daedd=_0x39a4e1>0x1?void 0x0:_0x39a4e1?Vt(_0x304161,_0x3140ae):_0x304161,_0x282cd5=_0x335255['length']-0x1,_0x462fcc;_0x282cd5>=0x0;_0x282cd5--)(_0x462fcc=_0x335255[_0x282cd5])&&(_0x3daedd=_0x462fcc(_0x3daedd)||_0x3daedd);return _0x3daedd;},Ne=(_0x36d349,_0x2b410c)=>(_0x26d22a,_0x3e2268)=>_0x2b410c(_0x26d22a,_0x3e2268,_0x36d349),Yt=(_0x575492,_0x376b7f,_0x2fa104)=>Ht(_0x575492,_0x376b7f+'',_0x2fa104);exports[_0x41e9f5(0x20d)]=class extends A[_0x41e9f5(0x2be)]{constructor(_0x44a022=Ct,_0x4bdccb,_0x638cdb,_0x3350a1){const _0x101d9c=_0x41e9f5;_0x44a022[_0x101d9c(0x220)]||_0x4bdccb['warn'](_0x101d9c(0x18e)),super(),this['_configService']=_0x638cdb,this[_0x101d9c(0x1cd)]=_0x3350a1,this['_configService'][_0x101d9c(0x22a)](fe,_0x44a022);}[_0x41e9f5(0x27f)](){this['_registerDependencies']();}[_0x41e9f5(0x168)](){const _0x115746=_0x41e9f5;A[_0x115746(0x20b)](this[_0x115746(0x1cd)],[[it[_0x115746(0x2a1)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x41e9f5(0x22e),_0x41e9f5(0x160)),exports[_0x41e9f5(0x20d)]=zt([A[_0x41e9f5(0x2f2)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x41e9f5(0x27b)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x41e9f5(0x224)](A[_0x41e9f5(0x1b7)]))],exports[_0x41e9f5(0x20d)]);var Kt=Object[_0x41e9f5(0x308)],Xt=(_0x38848f,_0xcd44dd,_0x4ac79c,_0x2094bf)=>{const _0x1a6c9a=_0x41e9f5;for(var _0x4f711e=_0x2094bf>0x1?void 0x0:_0x2094bf?Kt(_0xcd44dd,_0x4ac79c):_0xcd44dd,_0x5e125b=_0x38848f[_0x1a6c9a(0x28a)]-0x1,_0x231691;_0x5e125b>=0x0;_0x5e125b--)(_0x231691=_0x38848f[_0x5e125b])&&(_0x4f711e=_0x231691(_0x4f711e)||_0x4f711e);return _0x4f711e;},ne=(_0x2a1d1f,_0x5842d2)=>(_0x41c06c,_0x177b17)=>_0x5842d2(_0x41c06c,_0x177b17,_0x2a1d1f);exports['NodeCollaborationSocketService']=class extends st[_0x41e9f5(0x2a7)]{constructor(_0x20aa54,_0x1f8a49,_0x12ebc0,_0x4f6322,_0x49ac32){const _0x50ab62=_0x41e9f5;super(_0x20aa54,_0x1f8a49,_0x12ebc0,_0x4f6322,_0x49ac32);const _0xb801c3=this['_configService']['getConfig'](fe);this[_0x50ab62(0x23b)][_0x50ab62(0x250)]({'interceptor':(_0x574022,_0xdb2863)=>{const _0xc51f80=_0x50ab62;var _0x24b769;const _0x4d486f=_0x574022[_0xc51f80(0x1a1)];return(_0x24b769=_0xb801c3==null?void 0x0:_0xb801c3['customHeaders'])!=null&&_0x24b769[_0xc51f80(0x1f4)]&&_0x4d486f[_0xc51f80(0x218)](_0xc51f80(0x268),_0xb801c3[_0xc51f80(0x220)][_0xc51f80(0x1f4)]),_0xdb2863(_0x574022);}});}async['createSocket'](_0x470d88){const _0x241ab8=_0x41e9f5;return this[_0x241ab8(0x24b)](_0x470d88);}},exports[_0x41e9f5(0x14d)]=Xt([ne(0x0,A[_0x41e9f5(0x224)](A['Injector'])),ne(0x1,A['Inject'](it[_0x41e9f5(0x1a4)])),ne(0x2,A[_0x41e9f5(0x221)]),ne(0x3,A[_0x41e9f5(0x27b)]),ne(0x4,Ot[_0x41e9f5(0x173)])],exports[_0x41e9f5(0x14d)]),exports[_0x41e9f5(0x17a)]=fe;
1
+ 'use strict';const _0x421888=_0x2b98;(function(_0x22788f,_0x3e6142){const _0x2559f4=_0x2b98,_0x546d6b=_0x22788f();while(!![]){try{const _0x31f76e=parseInt(_0x2559f4(0x297))/0x1*(-parseInt(_0x2559f4(0x1cd))/0x2)+parseInt(_0x2559f4(0xf9))/0x3+-parseInt(_0x2559f4(0x1af))/0x4*(parseInt(_0x2559f4(0x22c))/0x5)+-parseInt(_0x2559f4(0x258))/0x6+-parseInt(_0x2559f4(0x19f))/0x7+parseInt(_0x2559f4(0x10d))/0x8+-parseInt(_0x2559f4(0x1a4))/0x9*(-parseInt(_0x2559f4(0x28a))/0xa);if(_0x31f76e===_0x3e6142)break;else _0x546d6b['push'](_0x546d6b['shift']());}catch(_0x3ba628){_0x546d6b['push'](_0x546d6b['shift']());}}}(_0x5831,0x94585));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x421888(0x1e7)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x421888(0x283),Ct={'customHeaders':{}};function Tt(_0x5959e4){const _0x505127=_0x421888;return _0x5959e4&&_0x5959e4[_0x505127(0x1d3)]&&Object[_0x505127(0x28d)][_0x505127(0x25e)][_0x505127(0x26b)](_0x5959e4,'default')?_0x5959e4[_0x505127(0x1bd)]:_0x5959e4;}function at(_0x4d57c6){const _0xb88847=_0x421888;if(Object[_0xb88847(0x28d)][_0xb88847(0x25e)]['call'](_0x4d57c6,'__esModule'))return _0x4d57c6;var _0x16477c=_0x4d57c6[_0xb88847(0x1bd)];if(typeof _0x16477c==_0xb88847(0x2af)){var _0x3cad5b=function _0x8b3c49(){const _0xf50e90=_0xb88847;var _0x585e79=!0x1;try{_0x585e79=this instanceof _0x8b3c49;}catch{}return _0x585e79?Reflect[_0xf50e90(0x2c2)](_0x16477c,arguments,this['constructor']):_0x16477c[_0xf50e90(0x280)](this,arguments);};_0x3cad5b['prototype']=_0x16477c['prototype'];}else _0x3cad5b={};return Object[_0xb88847(0x16f)](_0x3cad5b,'__esModule',{'value':!0x0}),Object[_0xb88847(0x174)](_0x4d57c6)[_0xb88847(0x2b3)](function(_0x34b28f){const _0x2faa12=_0xb88847;var _0x53e94e=Object[_0x2faa12(0x146)](_0x4d57c6,_0x34b28f);Object[_0x2faa12(0x16f)](_0x3cad5b,_0x34b28f,_0x53e94e[_0x2faa12(0x217)]?_0x53e94e:{'enumerable':!0x0,'get':function(){return _0x4d57c6[_0x34b28f];}});}),_0x3cad5b;}var se={'exports':{}},ge,Ge;function _0x5831(){const _0x213bc3=['frame','isPaused','_skipUTF8Validation','_errorEmitted','base64','_compress','host','string','digest','startLoop','shift','kRun','CollaborationSocketService','_options','_paused','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_EXPECTED_MASK','listeners','resume','13,\x208','_sender','kListener','bind','offer','_fragmented','format','invalid\x20opcode\x20','createConnection','handleUpgrade','https:','listen','concurrency','isArray','ws+unix:','handshakeTimeout','invalid\x20opcode\x200','sec-websocket-accept','getInfo','DependentOn','client','authorized','Sec-WebSocket-Accept:\x20','finishRequest','pause','onopen','_inflate','autoPong','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','createDeflateRaw','_allowSynchronousEvents','Invalid\x20URL:\x20','pow','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','readyState','getOwnPropertyDescriptor','normalizeParams','allocUnsafe','setConfig','captureStackTrace','_closeFrameSent','_queue','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','ping','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isBuffer','_readyState','skipUTF8Validation','Sec-WebSocket-Extensions','drain','reset','binary','enqueue','backlog','headers','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','stream','_autoPong','kError','data','_maskBuffer','IConfigService','hostname','_bufferedBytes','Origin','WS_NO_BUFFER_UTIL','exports','maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','ISnapshotServerService','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','message','unmask','_receiver','Invalid\x20Sec-WebSocket-Protocol\x20header','objectMode','defineProperty','cork','ILogService','_originalHostOrSocketPath','createError','keys','getConfig','alloc','_payloadLength','\x22:\x20','allowSynchronousEvents','end','acceptAsClient','_firstFragment','isInteger','text/plain','wasClean','client_max_window_bits','Upgrade','_write','type','kWasClean','_registerDependencies','registerDependencies','total-length','dataMessage','reason','concat','toLowerCase','MASK\x20must\x20be\x20set','GET','_fin','CONNECTING','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','addEventListener','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','completeUpgrade','_shouldEmitClose','_readableState','split','WS_ERR_UNEXPECTED_RSV_1','Unknown\x20parameter\x20\x22','wss:','concurrencyLimit','ISocketService','replace','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_threshold','3507959yZuLOE','then','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','acceptAsServer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','19118601IRSqwh','jobs','error','species','address','_redirects','_maxPayload','pending','toString','bufferedAmount','test','754556THFXWX','server_no_context_takeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','catch','socketPath','_binaryType','Z_SYNC_FLUSH','removeEventListener','_doCreateSocket','COLLABORATION_CLIENT_NODE_CONFIG_KEY','authorization','RSV1\x20must\x20be\x20clear','extensionName','next','default','removeAllListeners','_generateMask','WebSocket\x20is\x20not\x20open:\x20readyState\x20','readUInt32BE','set','kByteLength','clientNoContextTakeover','request','statusCode','_url','handleProtocols','clients','href','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_originalIpc','1791718AqUOiY','slice','serverMaxWindowBits','handleEvent','createServer','username','__esModule','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Origin','CLOSING','nextTick','The\x20\x22','_loop','_errored','serverNoContextTakeover','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Connection:\x20Upgrade','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','onStarting','getBlobData','blob','password','_max_window_bits','_socket','_writableState','errorEmitted','Module','setNoDelay','listenerCount','_state','flush','Unexpected\x20end\x20of\x20input','length','_isServer','noServer','generateMask','map','sendFrame','HTTPService','The\x20server\x20is\x20not\x20running','abort','WebSocket','_closeTimer','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','createInflateRaw','onmessage','charCodeAt','WS_ERR_INVALID_UTF8','zlibDeflateOptions','rsv1','Basic\x20','UniverCollaborationClientPlugin','join','terminate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','maxPayload','Max\x20payload\x20size\x20exceeded','server_max_window_bits','followRedirects','arraybuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','writeHead','buffers','pluginName','wsClientError','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20no\x20subprotocol','includes','Unexpected\x20server\x20response:\x20','_compressed','_messageLength','kReason','Invalid\x20HTTP\x20method','get','The\x20URL\x27s\x20pathname\x20is\x20empty','_server','finished','sec-websocket-version','STATUS_CODES','kAborted','value','status-code','\x20(supported\x20versions:\x20','binaryType','permessage-deflate','port','onclose','_closeFrameReceived','haveLength','servername','FIN\x20must\x20be\x20set','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getMask','_protocol','15HPvPnL','UniverCollaborationClientNodePlugin','close','kCode','pathname','_closeMessage','params','listening','Z_DEFAULT_WINDOWBITS','clientTracking','writeUIntBE','DisposableCollection','endEmitted','_decompress','_mask','createSocket','HTTP/1.1\x20','isIP','Invalid\x20Sec-WebSocket-Accept\x20header','_httpService','read','unshift','kMessage','Unsupported\x20protocol\x20version:\x20','writeUInt16BE','compress','NodeCollaborationSocketService','\x0d\x0a\x0d\x0a','Unexpected\x20character\x20at\x20index\x20','Cookie','url','has','needDrain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','customHeaders','sha1','indexOf','Sec-WebSocket-Protocol','Sec-WebSocket-Protocol:\x20','_injector','isValidUTF8','_deflate','env','_totalPayloadLength','5959500FYNDUg','encrypted','sec-websocket-origin','delete','Server\x20sent\x20an\x20invalid\x20subprotocol','cleanup','hasOwnProperty','mask','Injector','options','isView','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','getPayloadLength16','protocol','CLOSED','toStringTag','Sec-WebSocket-Extensions:\x20','origin','invalid\x20UTF-8\x20sequence','call','add','_no_context_takeover','_originalSecure','_opcode','auth','opcode','onerror','response','create','verifyClient','readOnly','update','_buffers','zlibInflateOptions','File','WS_NO_UTF_8_VALIDATE','from','MASK\x20must\x20be\x20clear','protocolVersion','Parameter\x20\x22','apply','uncork','number','collaboration-client-node.config','_masked','emitClose','WS_ERR_UNEXPECTED_MASK','share','_extensions','sec-websocket-key','10iwdhCI','once','search','prototype','upgrade','find','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','connect','_final','finish','sec-websocket-extensions','byteLength','clientMaxWindowBits','1vZisgV','_fragments','_req','defaultPort','invalid\x20payload\x20length\x20','redirect','setHeader','Observable','threshold','decompress','controlMessage','_removeListeners','client_no_context_takeover','open','unexpected-response','kIsForOnEventAttribute','removeListener','timeout','pipe','WS_ERR_INVALID_CLOSE_CODE','readable','extensions','freeze','object','function','accept','fin','http:','forEach','shouldHandle','buffer','WS_ERR_EXPECTED_FIN','OPEN','_closeCode','Plugin','text/html','path','WS_ERR_INVALID_OPCODE','destroy','isServer','emit','perMessageDeflate','destroyed','construct','getData','toDisposable','kData','push','_bufferedAmount','Blob','_destroy','setTimeout','Invalid\x20Upgrade\x20header','Inject','getPayloadLength64','parse','dispatch','send','_configService','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','2267160nXofnc','cookie','size','consume','method','write','Upgrade:\x20websocket','values','readUInt16BE','byteOffset','pong','arrayBuffer','conclude','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Maximum\x20redirects\x20exceeded','server','code','startsWith','websocket','socket','5470200dGyOkt','dispose','setSocket'];_0x5831=function(){return _0x213bc3;};return _0x5831();}function H(){const _0x32ae13=_0x421888;if(Ge)return ge;Ge=0x1;const _0x3bd6ec=['nodebuffer',_0x32ae13(0x209),'fragments'],_0x59faec=typeof Blob<'u';return _0x59faec&&_0x3bd6ec[_0x32ae13(0xec)]('blob'),ge={'BINARY_TYPES':_0x3bd6ec,'EMPTY_BUFFER':Buffer[_0x32ae13(0x176)](0x0),'GUID':_0x32ae13(0x190),'hasBlob':_0x59faec,'kForOnEventAttribute':Symbol(_0x32ae13(0x2a6)),'kListener':Symbol(_0x32ae13(0x125)),'kStatusCode':Symbol(_0x32ae13(0x21f)),'kWebSocket':Symbol(_0x32ae13(0x10b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x421888(0x2ad)](Object[_0x421888(0x16f)]({'__proto__':null,'default':Nt},Symbol[_0x421888(0x267)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x9dae4f=_0x421888;if(Ve)return se[_0x9dae4f(0x165)];Ve=0x1;const {EMPTY_BUFFER:_0x8ccdef}=H(),_0x2a1bda=Buffer[Symbol[_0x9dae4f(0x1a7)]];function _0x2d8377(_0x529bca,_0xb48147){const _0x183273=_0x9dae4f;if(_0x529bca['length']===0x0)return _0x8ccdef;if(_0x529bca[_0x183273(0x1ed)]===0x1)return _0x529bca[0x0];const _0x21c9c6=Buffer['allocUnsafe'](_0xb48147);let _0x5c2171=0x0;for(let _0x37af1e=0x0;_0x37af1e<_0x529bca[_0x183273(0x1ed)];_0x37af1e++){const _0x21ddc1=_0x529bca[_0x37af1e];_0x21c9c6[_0x183273(0x1c2)](_0x21ddc1,_0x5c2171),_0x5c2171+=_0x21ddc1[_0x183273(0x1ed)];}return _0x5c2171<_0xb48147?new _0x2a1bda(_0x21c9c6[_0x183273(0x2b5)],_0x21c9c6[_0x183273(0x102)],_0x5c2171):_0x21c9c6;}function _0x6a3183(_0x5edd81,_0x479ba7,_0x160950,_0x299f74,_0x59df87){for(let _0x5cc762=0x0;_0x5cc762<_0x59df87;_0x5cc762++)_0x160950[_0x299f74+_0x5cc762]=_0x5edd81[_0x5cc762]^_0x479ba7[_0x5cc762&0x3];}function _0x6d7785(_0x5d92f3,_0x1187ae){for(let _0x29a33f=0x0;_0x29a33f<_0x5d92f3['length'];_0x29a33f++)_0x5d92f3[_0x29a33f]^=_0x1187ae[_0x29a33f&0x3];}function _0x527399(_0x52c46c){const _0x293494=_0x9dae4f;return _0x52c46c[_0x293494(0x1ed)]===_0x52c46c[_0x293494(0x2b5)][_0x293494(0x295)]?_0x52c46c[_0x293494(0x2b5)]:_0x52c46c[_0x293494(0x2b5)][_0x293494(0x1ce)](_0x52c46c[_0x293494(0x102)],_0x52c46c[_0x293494(0x102)]+_0x52c46c[_0x293494(0x1ed)]);}function _0x28d52a(_0x245994){const _0xe7417a=_0x9dae4f;if(_0x28d52a[_0xe7417a(0x276)]=!0x0,Buffer[_0xe7417a(0x150)](_0x245994))return _0x245994;let _0x353fc0;return _0x245994 instanceof ArrayBuffer?_0x353fc0=new _0x2a1bda(_0x245994):ArrayBuffer[_0xe7417a(0x262)](_0x245994)?_0x353fc0=new _0x2a1bda(_0x245994['buffer'],_0x245994[_0xe7417a(0x102)],_0x245994[_0xe7417a(0x295)]):(_0x353fc0=Buffer['from'](_0x245994),_0x28d52a[_0xe7417a(0x276)]=!0x1),_0x353fc0;}if(se['exports']={'concat':_0x2d8377,'mask':_0x6a3183,'toArrayBuffer':_0x527399,'toBuffer':_0x28d52a,'unmask':_0x6d7785},!process['env'][_0x9dae4f(0x164)])try{const _0x149036=Lt;se[_0x9dae4f(0x165)][_0x9dae4f(0x25f)]=function(_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780){const _0x4594ab=_0x9dae4f;_0x2f9780<0x30?_0x6a3183(_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780):_0x149036[_0x4594ab(0x25f)](_0x5c7c48,_0x5c16a8,_0x46e0fb,_0x3833c3,_0x2f9780);},se[_0x9dae4f(0x165)][_0x9dae4f(0x16b)]=function(_0x12e8cd,_0x2e224f){const _0xdd2f1e=_0x9dae4f;_0x12e8cd[_0xdd2f1e(0x1ed)]<0x20?_0x6d7785(_0x12e8cd,_0x2e224f):_0x149036[_0xdd2f1e(0x16b)](_0x12e8cd,_0x2e224f);};}catch{}return se[_0x9dae4f(0x165)];}var ye,He;function Pt(){const _0x54c26d=_0x421888;if(He)return ye;He=0x1;const _0x30cbbc=Symbol('kDone'),_0x5df12f=Symbol(_0x54c26d(0x11b));class _0x53414c{constructor(_0x5872df){const _0xf1c707=_0x54c26d;this[_0x30cbbc]=()=>{const _0xf5498a=_0x2b98;this[_0xf5498a(0x1ab)]--,this[_0x5df12f]();},this[_0xf1c707(0x12f)]=_0x5872df||0x1/0x0,this[_0xf1c707(0x1a5)]=[],this['pending']=0x0;}['add'](_0x481b74){this['jobs']['push'](_0x481b74),this[_0x5df12f]();}[_0x5df12f](){const _0x3a5ed3=_0x54c26d;if(this[_0x3a5ed3(0x1ab)]!==this[_0x3a5ed3(0x12f)]&&this[_0x3a5ed3(0x1a5)][_0x3a5ed3(0x1ed)]){const _0x20ff77=this[_0x3a5ed3(0x1a5)][_0x3a5ed3(0x11a)]();this[_0x3a5ed3(0x1ab)]++,_0x20ff77(this[_0x30cbbc]);}}}return ye=_0x53414c,ye;}var ve,ze;function _0x2b98(_0x18c95c,_0x1a2986){const _0x58316c=_0x5831();return _0x2b98=function(_0x2b9873,_0x3d1257){_0x2b9873=_0x2b9873-0xec;let _0x36edd7=_0x58316c[_0x2b9873];return _0x36edd7;},_0x2b98(_0x18c95c,_0x1a2986);}function he(){const _0x26ef9d=_0x421888;if(ze)return ve;ze=0x1;const _0x773d7a=bt,_0x2ae05f=ce(),_0x234686=Pt(),{kStatusCode:_0x3a7af6}=H(),_0x21c9e4=Buffer[Symbol[_0x26ef9d(0x1a7)]],_0x481ab1=Buffer['from']([0x0,0x0,0xff,0xff]),_0x4fe652=Symbol(_0x26ef9d(0x222)),_0x70541f=Symbol(_0x26ef9d(0x187)),_0x452a15=Symbol('callback'),_0x576e1b=Symbol(_0x26ef9d(0x20c)),_0x56e082=Symbol(_0x26ef9d(0x1a6));let _0x26f93d;class _0x57858f{constructor(_0xf66b86,_0x15771a,_0x757b39){const _0x4b604d=_0x26ef9d;if(this[_0x4b604d(0x1aa)]=_0x757b39|0x0,this['_options']=_0xf66b86||{},this[_0x4b604d(0x19e)]=this['_options'][_0x4b604d(0x29f)]!==void 0x0?this['_options'][_0x4b604d(0x29f)]:0x400,this['_isServer']=!!_0x15771a,this[_0x4b604d(0x255)]=null,this[_0x4b604d(0x13d)]=null,this[_0x4b604d(0x232)]=null,!_0x26f93d){const _0x4b3b27=this['_options'][_0x4b604d(0x19a)]!==void 0x0?this[_0x4b604d(0x11d)][_0x4b604d(0x19a)]:0xa;_0x26f93d=new _0x234686(_0x4b3b27);}}static get['extensionName'](){return'permessage-deflate';}[_0x26ef9d(0x127)](){const _0x5511f3=_0x26ef9d,_0x2015ff={};return this[_0x5511f3(0x11d)][_0x5511f3(0x1db)]&&(_0x2015ff['server_no_context_takeover']=!0x0),this[_0x5511f3(0x11d)][_0x5511f3(0x1c4)]&&(_0x2015ff[_0x5511f3(0x2a3)]=!0x0),this[_0x5511f3(0x11d)][_0x5511f3(0x1cf)]&&(_0x2015ff[_0x5511f3(0x207)]=this[_0x5511f3(0x11d)][_0x5511f3(0x1cf)]),this[_0x5511f3(0x11d)][_0x5511f3(0x296)]?_0x2015ff['client_max_window_bits']=this[_0x5511f3(0x11d)]['clientMaxWindowBits']:this[_0x5511f3(0x11d)][_0x5511f3(0x296)]==null&&(_0x2015ff['client_max_window_bits']=!0x0),_0x2015ff;}[_0x26ef9d(0x2b0)](_0x4d63a4){const _0x29f224=_0x26ef9d;return _0x4d63a4=this[_0x29f224(0x147)](_0x4d63a4),this['params']=this[_0x29f224(0x1ee)]?this[_0x29f224(0x1a2)](_0x4d63a4):this[_0x29f224(0x17b)](_0x4d63a4),this[_0x29f224(0x232)];}[_0x26ef9d(0x25d)](){const _0x3916ac=_0x26ef9d;if(this['_inflate']&&(this[_0x3916ac(0x13d)][_0x3916ac(0x22e)](),this[_0x3916ac(0x13d)]=null),this[_0x3916ac(0x255)]){const _0x10ab24=this[_0x3916ac(0x255)][_0x452a15];this[_0x3916ac(0x255)][_0x3916ac(0x22e)](),this[_0x3916ac(0x255)]=null,_0x10ab24&&_0x10ab24(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x26ef9d(0x1a2)](_0x452573){const _0x2e865a=_0x26ef9d,_0x189995=this[_0x2e865a(0x11d)],_0x3486e5=_0x452573[_0x2e865a(0x28f)](_0x186b7f=>!(_0x189995[_0x2e865a(0x1db)]===!0x1&&_0x186b7f[_0x2e865a(0x1b0)]||_0x186b7f[_0x2e865a(0x207)]&&(_0x189995[_0x2e865a(0x1cf)]===!0x1||typeof _0x189995[_0x2e865a(0x1cf)]==_0x2e865a(0x282)&&_0x189995[_0x2e865a(0x1cf)]>_0x186b7f['server_max_window_bits'])||typeof _0x189995[_0x2e865a(0x296)]==_0x2e865a(0x282)&&!_0x186b7f[_0x2e865a(0x180)]));if(!_0x3486e5)throw new Error(_0x2e865a(0x1f8));return _0x189995['serverNoContextTakeover']&&(_0x3486e5[_0x2e865a(0x1b0)]=!0x0),_0x189995[_0x2e865a(0x1c4)]&&(_0x3486e5[_0x2e865a(0x2a3)]=!0x0),typeof _0x189995[_0x2e865a(0x1cf)]==_0x2e865a(0x282)&&(_0x3486e5[_0x2e865a(0x207)]=_0x189995[_0x2e865a(0x1cf)]),typeof _0x189995[_0x2e865a(0x296)]==_0x2e865a(0x282)?_0x3486e5[_0x2e865a(0x180)]=_0x189995['clientMaxWindowBits']:(_0x3486e5[_0x2e865a(0x180)]===!0x0||_0x189995[_0x2e865a(0x296)]===!0x1)&&delete _0x3486e5[_0x2e865a(0x180)],_0x3486e5;}[_0x26ef9d(0x17b)](_0x340be0){const _0x127a4e=_0x26ef9d,_0x2c0494=_0x340be0[0x0];if(this[_0x127a4e(0x11d)][_0x127a4e(0x1c4)]===!0x1&&_0x2c0494[_0x127a4e(0x2a3)])throw new Error(_0x127a4e(0x263));if(!_0x2c0494[_0x127a4e(0x180)])typeof this[_0x127a4e(0x11d)][_0x127a4e(0x296)]==_0x127a4e(0x282)&&(_0x2c0494[_0x127a4e(0x180)]=this[_0x127a4e(0x11d)][_0x127a4e(0x296)]);else{if(this[_0x127a4e(0x11d)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x127a4e(0x296)]=='number'&&_0x2c0494[_0x127a4e(0x180)]>this['_options'][_0x127a4e(0x296)])throw new Error(_0x127a4e(0x106));}return _0x2c0494;}['normalizeParams'](_0x46fd36){return _0x46fd36['forEach'](_0x585582=>{const _0x4ec105=_0x2b98;Object[_0x4ec105(0x174)](_0x585582)[_0x4ec105(0x2b3)](_0x4f96b1=>{const _0x16a748=_0x4ec105;let _0x38117c=_0x585582[_0x4f96b1];if(_0x38117c['length']>0x1)throw new Error(_0x16a748(0x27f)+_0x4f96b1+_0x16a748(0x11f));if(_0x38117c=_0x38117c[0x0],_0x4f96b1===_0x16a748(0x180)){if(_0x38117c!==!0x0){const _0x50f2d6=+_0x38117c;if(!Number[_0x16a748(0x17d)](_0x50f2d6)||_0x50f2d6<0x8||_0x50f2d6>0xf)throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);_0x38117c=_0x50f2d6;}else{if(!this['_isServer'])throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);}}else{if(_0x4f96b1===_0x16a748(0x207)){const _0x24a65f=+_0x38117c;if(!Number['isInteger'](_0x24a65f)||_0x24a65f<0x8||_0x24a65f>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4f96b1+_0x16a748(0x178)+_0x38117c);_0x38117c=_0x24a65f;}else{if(_0x4f96b1===_0x16a748(0x2a3)||_0x4f96b1===_0x16a748(0x1b0)){if(_0x38117c!==!0x0)throw new TypeError(_0x16a748(0x167)+_0x4f96b1+_0x16a748(0x178)+_0x38117c);}else throw new Error(_0x16a748(0x198)+_0x4f96b1+'\x22');}}_0x585582[_0x4f96b1]=_0x38117c;});}),_0x46fd36;}[_0x26ef9d(0x2a0)](_0x20af87,_0x3423d2,_0x21f88e){const _0x5622c6=_0x26ef9d;_0x26f93d[_0x5622c6(0x26c)](_0x4eb731=>{const _0x5671a0=_0x5622c6;this[_0x5671a0(0x239)](_0x20af87,_0x3423d2,(_0x5e9c93,_0x849deb)=>{_0x4eb731(),_0x21f88e(_0x5e9c93,_0x849deb);});});}['compress'](_0x2cdbd,_0x11d137,_0x5156b0){const _0x5890fa=_0x26ef9d;_0x26f93d[_0x5890fa(0x26c)](_0x54bd58=>{this['_compress'](_0x2cdbd,_0x11d137,(_0x1137bf,_0x54cae6)=>{_0x54bd58(),_0x5156b0(_0x1137bf,_0x54cae6);});});}[_0x26ef9d(0x239)](_0xb96ed4,_0x1c64dc,_0x4192c5){const _0x524265=_0x26ef9d,_0x274428=this[_0x524265(0x1ee)]?_0x524265(0x137):_0x524265(0x108);if(!this[_0x524265(0x13d)]){const _0x11fc7b=_0x274428+_0x524265(0x1e3),_0x4e79ed=typeof this['params'][_0x11fc7b]!=_0x524265(0x282)?_0x773d7a[_0x524265(0x234)]:this['params'][_0x11fc7b];this[_0x524265(0x13d)]=_0x773d7a[_0x524265(0x1f9)]({...this[_0x524265(0x11d)][_0x524265(0x279)],'windowBits':_0x4e79ed}),this[_0x524265(0x13d)][_0x4fe652]=this,this['_inflate'][_0x70541f]=0x0,this[_0x524265(0x13d)][_0x576e1b]=[],this['_inflate']['on']('error',_0x52b64c),this[_0x524265(0x13d)]['on']('data',_0x2350e8);}this[_0x524265(0x13d)][_0x452a15]=_0x4192c5,this['_inflate'][_0x524265(0xfe)](_0xb96ed4),_0x1c64dc&&this[_0x524265(0x13d)][_0x524265(0xfe)](_0x481ab1),this['_inflate'][_0x524265(0x1eb)](()=>{const _0x531a3d=_0x524265,_0x75fbb7=this['_inflate'][_0x56e082];if(_0x75fbb7){this[_0x531a3d(0x13d)][_0x531a3d(0x22e)](),this[_0x531a3d(0x13d)]=null,_0x4192c5(_0x75fbb7);return;}const _0x2c8966=_0x2ae05f['concat'](this[_0x531a3d(0x13d)][_0x576e1b],this[_0x531a3d(0x13d)][_0x70541f]);this[_0x531a3d(0x13d)][_0x531a3d(0x195)][_0x531a3d(0x238)]?(this[_0x531a3d(0x13d)][_0x531a3d(0x22e)](),this[_0x531a3d(0x13d)]=null):(this[_0x531a3d(0x13d)][_0x70541f]=0x0,this[_0x531a3d(0x13d)][_0x576e1b]=[],_0x1c64dc&&this[_0x531a3d(0x232)][_0x274428+_0x531a3d(0x26d)]&&this[_0x531a3d(0x13d)][_0x531a3d(0x155)]()),_0x4192c5(null,_0x2c8966);});}[_0x26ef9d(0x115)](_0x5e550f,_0x51dd1d,_0x4480b2){const _0x1f386e=_0x26ef9d,_0xb80ed6=this[_0x1f386e(0x1ee)]?_0x1f386e(0x108):_0x1f386e(0x137);if(!this[_0x1f386e(0x255)]){const _0x17da1c=_0xb80ed6+_0x1f386e(0x1e3),_0xa5ef95=typeof this[_0x1f386e(0x232)][_0x17da1c]!='number'?_0x773d7a['Z_DEFAULT_WINDOWBITS']:this['params'][_0x17da1c];this[_0x1f386e(0x255)]=_0x773d7a[_0x1f386e(0x140)]({...this[_0x1f386e(0x11d)][_0x1f386e(0x1fd)],'windowBits':_0xa5ef95}),this[_0x1f386e(0x255)][_0x70541f]=0x0,this[_0x1f386e(0x255)][_0x576e1b]=[],this[_0x1f386e(0x255)]['on'](_0x1f386e(0x15e),_0x4c3756);}this[_0x1f386e(0x255)][_0x452a15]=_0x4480b2,this[_0x1f386e(0x255)][_0x1f386e(0xfe)](_0x5e550f),this[_0x1f386e(0x255)]['flush'](_0x773d7a[_0x1f386e(0x1b5)],()=>{const _0xc5e8b2=_0x1f386e;if(!this[_0xc5e8b2(0x255)])return;let _0xec42b=_0x2ae05f[_0xc5e8b2(0x18a)](this[_0xc5e8b2(0x255)][_0x576e1b],this[_0xc5e8b2(0x255)][_0x70541f]);_0x51dd1d&&(_0xec42b=new _0x21c9e4(_0xec42b[_0xc5e8b2(0x2b5)],_0xec42b['byteOffset'],_0xec42b[_0xc5e8b2(0x1ed)]-0x4)),this[_0xc5e8b2(0x255)][_0x452a15]=null,this[_0xc5e8b2(0x255)][_0x70541f]=0x0,this[_0xc5e8b2(0x255)][_0x576e1b]=[],_0x51dd1d&&this['params'][_0xb80ed6+_0xc5e8b2(0x26d)]&&this[_0xc5e8b2(0x255)][_0xc5e8b2(0x155)](),_0x4480b2(null,_0xec42b);});}}ve=_0x57858f;function _0x4c3756(_0x40050d){const _0x2cae27=_0x26ef9d;this[_0x576e1b][_0x2cae27(0xec)](_0x40050d),this[_0x70541f]+=_0x40050d['length'];}function _0x2350e8(_0x5831c5){const _0x309553=_0x26ef9d;if(this[_0x70541f]+=_0x5831c5['length'],this[_0x4fe652][_0x309553(0x1aa)]<0x1||this[_0x70541f]<=this[_0x4fe652]['_maxPayload']){this[_0x576e1b][_0x309553(0xec)](_0x5831c5);return;}this[_0x56e082]=new RangeError(_0x309553(0x206)),this[_0x56e082][_0x309553(0x109)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x56e082][_0x3a7af6]=0x3f1,this['removeListener'](_0x309553(0x15e),_0x2350e8),this[_0x309553(0x155)]();}function _0x52b64c(_0x4a93cc){if(this[_0x4fe652]['_inflate']=null,this[_0x56e082]){this[_0x452a15](this[_0x56e082]);return;}_0x4a93cc[_0x3a7af6]=0x3ef,this[_0x452a15](_0x4a93cc);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x421888(0x2ad)](Object[_0x421888(0x16f)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x421888(0x1e7)})),Bt=at(Rt);var Ye;function ae(){const _0x10ef85=_0x421888;if(Ye)return ie[_0x10ef85(0x165)];Ye=0x1;const {isUtf8:_0x3e1400}=wt,{hasBlob:_0x1bf25c}=H(),_0x2b7b36=[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 _0x12016a(_0x5bf239){return _0x5bf239>=0x3e8&&_0x5bf239<=0x3f6&&_0x5bf239!==0x3ec&&_0x5bf239!==0x3ed&&_0x5bf239!==0x3ee||_0x5bf239>=0xbb8&&_0x5bf239<=0x1387;}function _0x1079bd(_0x5675b7){const _0x2bd422=_0x10ef85,_0x4153c9=_0x5675b7[_0x2bd422(0x1ed)];let _0x229713=0x0;for(;_0x229713<_0x4153c9;)if((_0x5675b7[_0x229713]&0x80)===0x0)_0x229713++;else{if((_0x5675b7[_0x229713]&0xe0)===0xc0){if(_0x229713+0x1===_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713]&0xfe)===0xc0)return!0x1;_0x229713+=0x2;}else{if((_0x5675b7[_0x229713]&0xf0)===0xe0){if(_0x229713+0x2>=_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x2]&0xc0)!==0x80||_0x5675b7[_0x229713]===0xe0&&(_0x5675b7[_0x229713+0x1]&0xe0)===0x80||_0x5675b7[_0x229713]===0xed&&(_0x5675b7[_0x229713+0x1]&0xe0)===0xa0)return!0x1;_0x229713+=0x3;}else{if((_0x5675b7[_0x229713]&0xf8)===0xf0){if(_0x229713+0x3>=_0x4153c9||(_0x5675b7[_0x229713+0x1]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x2]&0xc0)!==0x80||(_0x5675b7[_0x229713+0x3]&0xc0)!==0x80||_0x5675b7[_0x229713]===0xf0&&(_0x5675b7[_0x229713+0x1]&0xf0)===0x80||_0x5675b7[_0x229713]===0xf4&&_0x5675b7[_0x229713+0x1]>0x8f||_0x5675b7[_0x229713]>0xf4)return!0x1;_0x229713+=0x4;}else return!0x1;}}}return!0x0;}function _0x5f2ccc(_0x45a25d){const _0x2d075f=_0x10ef85;return _0x1bf25c&&typeof _0x45a25d==_0x2d075f(0x2ae)&&typeof _0x45a25d[_0x2d075f(0x104)]==_0x2d075f(0x2af)&&typeof _0x45a25d[_0x2d075f(0x183)]==_0x2d075f(0x117)&&typeof _0x45a25d[_0x2d075f(0x15b)]==_0x2d075f(0x2af)&&(_0x45a25d[Symbol[_0x2d075f(0x267)]]===_0x2d075f(0xee)||_0x45a25d[Symbol[_0x2d075f(0x267)]]===_0x2d075f(0x27a));}if(ie[_0x10ef85(0x165)]={'isBlob':_0x5f2ccc,'isValidStatusCode':_0x12016a,'isValidUTF8':_0x1079bd,'tokenChars':_0x2b7b36},_0x3e1400)ie[_0x10ef85(0x165)]['isValidUTF8']=function(_0x23cd07){const _0x9dd5d5=_0x10ef85;return _0x23cd07[_0x9dd5d5(0x1ed)]<0x18?_0x1079bd(_0x23cd07):_0x3e1400(_0x23cd07);};else{if(!process[_0x10ef85(0x256)][_0x10ef85(0x27b)])try{const _0x1ec476=Bt;ie[_0x10ef85(0x165)][_0x10ef85(0x254)]=function(_0x1266cb){const _0x2ccd9d=_0x10ef85;return _0x1266cb[_0x2ccd9d(0x1ed)]<0x20?_0x1079bd(_0x1266cb):_0x1ec476(_0x1266cb);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0xe3e555=_0x421888;if(Ke)return Se;Ke=0x1;const {Writable:_0x2f9137}=oe,_0x68b774=he(),{BINARY_TYPES:_0x3012ff,EMPTY_BUFFER:_0x5e24ad,kStatusCode:_0x116dc4,kWebSocket:_0x54d7e5}=H(),{concat:_0x10ae56,toArrayBuffer:_0x2c788d,unmask:_0x43f27d}=ce(),{isValidStatusCode:_0xfd239d,isValidUTF8:_0x43336e}=ae(),_0x5ebae1=Buffer[Symbol[_0xe3e555(0x1a7)]],_0xa6fec2=0x0,_0x114ab9=0x1,_0x45144c=0x2,_0x4942c3=0x3,_0x3bcaa0=0x4,_0xfcb872=0x5,_0x3c3c7f=0x6;class _0x108b01 extends _0x2f9137{constructor(_0x213841={}){const _0x12ccf1=_0xe3e555;super(),this['_allowSynchronousEvents']=_0x213841[_0x12ccf1(0x179)]!==void 0x0?_0x213841['allowSynchronousEvents']:!0x0,this[_0x12ccf1(0x1b4)]=_0x213841[_0x12ccf1(0x221)]||_0x3012ff[0x0],this[_0x12ccf1(0x288)]=_0x213841['extensions']||{},this[_0x12ccf1(0x1ee)]=!!_0x213841[_0x12ccf1(0x2be)],this[_0x12ccf1(0x1aa)]=_0x213841[_0x12ccf1(0x205)]|0x0,this[_0x12ccf1(0x112)]=!!_0x213841['skipUTF8Validation'],this[_0x54d7e5]=void 0x0,this[_0x12ccf1(0x162)]=0x0,this[_0x12ccf1(0x278)]=[],this['_compressed']=!0x1,this[_0x12ccf1(0x177)]=0x0,this[_0x12ccf1(0x23a)]=void 0x0,this[_0x12ccf1(0x128)]=0x0,this[_0x12ccf1(0x284)]=!0x1,this[_0x12ccf1(0x18e)]=!0x1,this[_0x12ccf1(0x26f)]=0x0,this[_0x12ccf1(0x257)]=0x0,this[_0x12ccf1(0x214)]=0x0,this['_fragments']=[],this[_0x12ccf1(0x1da)]=!0x1,this['_loop']=!0x1,this[_0x12ccf1(0x1ea)]=_0xa6fec2;}[_0xe3e555(0x182)](_0x4dbe2a,_0x50afda,_0x33547d){const _0x39f8d8=_0xe3e555;if(this[_0x39f8d8(0x26f)]===0x8&&this['_state']==_0xa6fec2)return _0x33547d();this[_0x39f8d8(0x162)]+=_0x4dbe2a['length'],this[_0x39f8d8(0x278)]['push'](_0x4dbe2a),this[_0x39f8d8(0x119)](_0x33547d);}[_0xe3e555(0xfc)](_0x3e5714){const _0x5700af=_0xe3e555;if(this[_0x5700af(0x162)]-=_0x3e5714,_0x3e5714===this[_0x5700af(0x278)][0x0][_0x5700af(0x1ed)])return this[_0x5700af(0x278)][_0x5700af(0x11a)]();if(_0x3e5714<this[_0x5700af(0x278)][0x0][_0x5700af(0x1ed)]){const _0x243d0d=this[_0x5700af(0x278)][0x0];return this[_0x5700af(0x278)][0x0]=new _0x5ebae1(_0x243d0d[_0x5700af(0x2b5)],_0x243d0d[_0x5700af(0x102)]+_0x3e5714,_0x243d0d[_0x5700af(0x1ed)]-_0x3e5714),new _0x5ebae1(_0x243d0d[_0x5700af(0x2b5)],_0x243d0d[_0x5700af(0x102)],_0x3e5714);}const _0x2f10f2=Buffer[_0x5700af(0x148)](_0x3e5714);do{const _0x50fdd5=this['_buffers'][0x0],_0x5be226=_0x2f10f2[_0x5700af(0x1ed)]-_0x3e5714;_0x3e5714>=_0x50fdd5[_0x5700af(0x1ed)]?_0x2f10f2[_0x5700af(0x1c2)](this[_0x5700af(0x278)][_0x5700af(0x11a)](),_0x5be226):(_0x2f10f2[_0x5700af(0x1c2)](new Uint8Array(_0x50fdd5[_0x5700af(0x2b5)],_0x50fdd5[_0x5700af(0x102)],_0x3e5714),_0x5be226),this['_buffers'][0x0]=new _0x5ebae1(_0x50fdd5['buffer'],_0x50fdd5[_0x5700af(0x102)]+_0x3e5714,_0x50fdd5[_0x5700af(0x1ed)]-_0x3e5714)),_0x3e5714-=_0x50fdd5[_0x5700af(0x1ed)];}while(_0x3e5714>0x0);return _0x2f10f2;}['startLoop'](_0x131507){const _0x2ecce0=_0xe3e555;this[_0x2ecce0(0x1d9)]=!0x0;do switch(this[_0x2ecce0(0x1ea)]){case _0xa6fec2:this[_0x2ecce0(0x135)](_0x131507);break;case _0x114ab9:this[_0x2ecce0(0x264)](_0x131507);break;case _0x45144c:this[_0x2ecce0(0xf3)](_0x131507);break;case _0x4942c3:this['getMask']();break;case _0x3bcaa0:this[_0x2ecce0(0x2c3)](_0x131507);break;case _0xfcb872:case _0x3c3c7f:this[_0x2ecce0(0x1d9)]=!0x1;return;}while(this[_0x2ecce0(0x1d9)]);this[_0x2ecce0(0x1da)]||_0x131507();}['getInfo'](_0x22406f){const _0x285e35=_0xe3e555;if(this['_bufferedBytes']<0x2){this[_0x285e35(0x1d9)]=!0x1;return;}const _0x192004=this[_0x285e35(0xfc)](0x2);if((_0x192004[0x0]&0x30)!==0x0){const _0x1a8985=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x22406f(_0x1a8985);return;}const _0x36cf8f=(_0x192004[0x0]&0x40)===0x40;if(_0x36cf8f&&!this[_0x285e35(0x288)][_0x68b774[_0x285e35(0x1bb)]]){const _0x18495=this[_0x285e35(0x173)](RangeError,_0x285e35(0x1ba),!0x0,0x3ea,_0x285e35(0x197));_0x22406f(_0x18495);return;}if(this[_0x285e35(0x18e)]=(_0x192004[0x0]&0x80)===0x80,this[_0x285e35(0x26f)]=_0x192004[0x0]&0xf,this[_0x285e35(0x177)]=_0x192004[0x1]&0x7f,this[_0x285e35(0x26f)]===0x0){if(_0x36cf8f){const _0x28dddb=this[_0x285e35(0x173)](RangeError,_0x285e35(0x1ba),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22406f(_0x28dddb);return;}if(!this[_0x285e35(0x128)]){const _0x429b96=this[_0x285e35(0x173)](RangeError,_0x285e35(0x133),!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x429b96);return;}this[_0x285e35(0x26f)]=this[_0x285e35(0x128)];}else{if(this['_opcode']===0x1||this[_0x285e35(0x26f)]===0x2){if(this['_fragmented']){const _0x116f61=this[_0x285e35(0x173)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x116f61);return;}this[_0x285e35(0x213)]=_0x36cf8f;}else{if(this[_0x285e35(0x26f)]>0x7&&this['_opcode']<0xb){if(!this[_0x285e35(0x18e)]){const _0x40ee50=this[_0x285e35(0x173)](RangeError,_0x285e35(0x228),!0x0,0x3ea,_0x285e35(0x2b6));_0x22406f(_0x40ee50);return;}if(_0x36cf8f){const _0x1d9e0c=this[_0x285e35(0x173)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22406f(_0x1d9e0c);return;}if(this[_0x285e35(0x177)]>0x7d||this[_0x285e35(0x26f)]===0x8&&this[_0x285e35(0x177)]===0x1){const _0x1157f1=this[_0x285e35(0x173)](RangeError,_0x285e35(0x29b)+this[_0x285e35(0x177)],!0x0,0x3ea,_0x285e35(0x290));_0x22406f(_0x1157f1);return;}}else{const _0x1efe1e=this[_0x285e35(0x173)](RangeError,_0x285e35(0x12a)+this[_0x285e35(0x26f)],!0x0,0x3ea,_0x285e35(0x2bc));_0x22406f(_0x1efe1e);return;}}}if(!this[_0x285e35(0x18e)]&&!this[_0x285e35(0x128)]&&(this['_fragmented']=this[_0x285e35(0x26f)]),this[_0x285e35(0x284)]=(_0x192004[0x1]&0x80)===0x80,this[_0x285e35(0x1ee)]){if(!this[_0x285e35(0x284)]){const _0x3ce7d1=this[_0x285e35(0x173)](RangeError,_0x285e35(0x18c),!0x0,0x3ea,_0x285e35(0x120));_0x22406f(_0x3ce7d1);return;}}else{if(this[_0x285e35(0x284)]){const _0x22e8e2=this['createError'](RangeError,_0x285e35(0x27d),!0x0,0x3ea,_0x285e35(0x286));_0x22406f(_0x22e8e2);return;}}this[_0x285e35(0x177)]===0x7e?this[_0x285e35(0x1ea)]=_0x114ab9:this['_payloadLength']===0x7f?this[_0x285e35(0x1ea)]=_0x45144c:this[_0x285e35(0x226)](_0x22406f);}[_0xe3e555(0x264)](_0x3637a7){const _0x461185=_0xe3e555;if(this[_0x461185(0x162)]<0x2){this[_0x461185(0x1d9)]=!0x1;return;}this['_payloadLength']=this[_0x461185(0xfc)](0x2)[_0x461185(0x101)](0x0),this[_0x461185(0x226)](_0x3637a7);}[_0xe3e555(0xf3)](_0x46172f){const _0x70d25f=_0xe3e555;if(this[_0x70d25f(0x162)]<0x8){this['_loop']=!0x1;return;}const _0x28da6c=this[_0x70d25f(0xfc)](0x8),_0x2f4f20=_0x28da6c[_0x70d25f(0x1c1)](0x0);if(_0x2f4f20>Math[_0x70d25f(0x143)](0x2,0x15)-0x1){const _0x18ad2c=this['createError'](RangeError,_0x70d25f(0x144),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x46172f(_0x18ad2c);return;}this[_0x70d25f(0x177)]=_0x2f4f20*Math['pow'](0x2,0x20)+_0x28da6c[_0x70d25f(0x1c1)](0x4),this[_0x70d25f(0x226)](_0x46172f);}['haveLength'](_0x5c4320){const _0x37dd33=_0xe3e555;if(this[_0x37dd33(0x177)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x37dd33(0x177)],this['_totalPayloadLength']>this[_0x37dd33(0x1aa)]&&this['_maxPayload']>0x0)){const _0x43aaac=this['createError'](RangeError,_0x37dd33(0x206),!0x1,0x3f1,_0x37dd33(0x14f));_0x5c4320(_0x43aaac);return;}this[_0x37dd33(0x284)]?this[_0x37dd33(0x1ea)]=_0x4942c3:this[_0x37dd33(0x1ea)]=_0x3bcaa0;}[_0xe3e555(0x22a)](){const _0xc83f37=_0xe3e555;if(this[_0xc83f37(0x162)]<0x4){this['_loop']=!0x1;return;}this[_0xc83f37(0x23a)]=this[_0xc83f37(0xfc)](0x4),this['_state']=_0x3bcaa0;}[_0xe3e555(0x2c3)](_0x3dddf2){const _0x1a508b=_0xe3e555;let _0x47a81e=_0x5e24ad;if(this[_0x1a508b(0x177)]){if(this[_0x1a508b(0x162)]<this[_0x1a508b(0x177)]){this[_0x1a508b(0x1d9)]=!0x1;return;}_0x47a81e=this[_0x1a508b(0xfc)](this['_payloadLength']),this['_masked']&&(this[_0x1a508b(0x23a)][0x0]|this[_0x1a508b(0x23a)][0x1]|this[_0x1a508b(0x23a)][0x2]|this[_0x1a508b(0x23a)][0x3])!==0x0&&_0x43f27d(_0x47a81e,this[_0x1a508b(0x23a)]);}if(this[_0x1a508b(0x26f)]>0x7){this[_0x1a508b(0x2a1)](_0x47a81e,_0x3dddf2);return;}if(this[_0x1a508b(0x213)]){this[_0x1a508b(0x1ea)]=_0xfcb872,this['decompress'](_0x47a81e,_0x3dddf2);return;}_0x47a81e[_0x1a508b(0x1ed)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x1a508b(0x298)][_0x1a508b(0xec)](_0x47a81e)),this[_0x1a508b(0x188)](_0x3dddf2);}['decompress'](_0x44a7b9,_0x1a81a6){const _0x1e3198=_0xe3e555;this[_0x1e3198(0x288)][_0x68b774[_0x1e3198(0x1bb)]][_0x1e3198(0x2a0)](_0x44a7b9,this[_0x1e3198(0x18e)],(_0xf6fdd9,_0x36832d)=>{const _0x132028=_0x1e3198;if(_0xf6fdd9)return _0x1a81a6(_0xf6fdd9);if(_0x36832d['length']){if(this[_0x132028(0x214)]+=_0x36832d[_0x132028(0x1ed)],this[_0x132028(0x214)]>this['_maxPayload']&&this[_0x132028(0x1aa)]>0x0){const _0x2e0bc0=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x132028(0x14f));_0x1a81a6(_0x2e0bc0);return;}this[_0x132028(0x298)][_0x132028(0xec)](_0x36832d);}this[_0x132028(0x188)](_0x1a81a6),this['_state']===_0xa6fec2&&this[_0x132028(0x119)](_0x1a81a6);});}[_0xe3e555(0x188)](_0x4c5c5a){const _0x5b4e6d=_0xe3e555;if(!this[_0x5b4e6d(0x18e)]){this[_0x5b4e6d(0x1ea)]=_0xa6fec2;return;}const _0x2624ab=this[_0x5b4e6d(0x214)],_0xf8a420=this[_0x5b4e6d(0x298)];if(this[_0x5b4e6d(0x257)]=0x0,this[_0x5b4e6d(0x214)]=0x0,this[_0x5b4e6d(0x128)]=0x0,this[_0x5b4e6d(0x298)]=[],this[_0x5b4e6d(0x26f)]===0x2){let _0x50f9c3;this[_0x5b4e6d(0x1b4)]==='nodebuffer'?_0x50f9c3=_0x10ae56(_0xf8a420,_0x2624ab):this[_0x5b4e6d(0x1b4)]===_0x5b4e6d(0x209)?_0x50f9c3=_0x2c788d(_0x10ae56(_0xf8a420,_0x2624ab)):this[_0x5b4e6d(0x1b4)]===_0x5b4e6d(0x1e1)?_0x50f9c3=new Blob(_0xf8a420):_0x50f9c3=_0xf8a420,this[_0x5b4e6d(0x141)]?(this['emit'](_0x5b4e6d(0x16a),_0x50f9c3,!0x0),this['_state']=_0xa6fec2):(this[_0x5b4e6d(0x1ea)]=_0x3c3c7f,setImmediate(()=>{const _0x3236c3=_0x5b4e6d;this[_0x3236c3(0x2bf)](_0x3236c3(0x16a),_0x50f9c3,!0x0),this['_state']=_0xa6fec2,this['startLoop'](_0x4c5c5a);}));}else{const _0x3eee14=_0x10ae56(_0xf8a420,_0x2624ab);if(!this[_0x5b4e6d(0x112)]&&!_0x43336e(_0x3eee14)){const _0x3eca21=this[_0x5b4e6d(0x173)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5b4e6d(0x1fc));_0x4c5c5a(_0x3eca21);return;}this['_state']===_0xfcb872||this[_0x5b4e6d(0x141)]?(this['emit'](_0x5b4e6d(0x16a),_0x3eee14,!0x1),this[_0x5b4e6d(0x1ea)]=_0xa6fec2):(this[_0x5b4e6d(0x1ea)]=_0x3c3c7f,setImmediate(()=>{const _0x32c2b8=_0x5b4e6d;this[_0x32c2b8(0x2bf)](_0x32c2b8(0x16a),_0x3eee14,!0x1),this[_0x32c2b8(0x1ea)]=_0xa6fec2,this[_0x32c2b8(0x119)](_0x4c5c5a);}));}}['controlMessage'](_0x28f21c,_0x383ee4){const _0x3dca53=_0xe3e555;if(this[_0x3dca53(0x26f)]===0x8){if(_0x28f21c['length']===0x0)this[_0x3dca53(0x1d9)]=!0x1,this['emit'](_0x3dca53(0x105),0x3ed,_0x5e24ad),this[_0x3dca53(0x17a)]();else{const _0x5b89f8=_0x28f21c['readUInt16BE'](0x0);if(!_0xfd239d(_0x5b89f8)){const _0x314c1a=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x5b89f8,!0x0,0x3ea,_0x3dca53(0x2aa));_0x383ee4(_0x314c1a);return;}const _0x3cc540=new _0x5ebae1(_0x28f21c[_0x3dca53(0x2b5)],_0x28f21c['byteOffset']+0x2,_0x28f21c[_0x3dca53(0x1ed)]-0x2);if(!this['_skipUTF8Validation']&&!_0x43336e(_0x3cc540)){const _0x21e2b7=this[_0x3dca53(0x173)](Error,_0x3dca53(0x26a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x383ee4(_0x21e2b7);return;}this[_0x3dca53(0x1d9)]=!0x1,this[_0x3dca53(0x2bf)]('conclude',_0x5b89f8,_0x3cc540),this['end']();}this[_0x3dca53(0x1ea)]=_0xa6fec2;return;}this[_0x3dca53(0x141)]?(this[_0x3dca53(0x2bf)](this['_opcode']===0x9?_0x3dca53(0x14e):_0x3dca53(0x103),_0x28f21c),this[_0x3dca53(0x1ea)]=_0xa6fec2):(this['_state']=_0x3c3c7f,setImmediate(()=>{const _0x3fdbba=_0x3dca53;this[_0x3fdbba(0x2bf)](this[_0x3fdbba(0x26f)]===0x9?'ping':'pong',_0x28f21c),this[_0x3fdbba(0x1ea)]=_0xa6fec2,this['startLoop'](_0x383ee4);}));}[_0xe3e555(0x173)](_0x35b8a0,_0x3b9cab,_0xaef4ca,_0x32e66b,_0x488281){const _0x35e4e9=_0xe3e555;this['_loop']=!0x1,this[_0x35e4e9(0x1da)]=!0x0;const _0x4deb4e=new _0x35b8a0(_0xaef4ca?'Invalid\x20WebSocket\x20frame:\x20'+_0x3b9cab:_0x3b9cab);return Error[_0x35e4e9(0x14a)](_0x4deb4e,this[_0x35e4e9(0x173)]),_0x4deb4e[_0x35e4e9(0x109)]=_0x488281,_0x4deb4e[_0x116dc4]=_0x32e66b,_0x4deb4e;}}return Se=_0x108b01,Se;}var Ee,Xe;function ft(){const _0x337c98=_0x421888;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3ab556}=oe,{randomFillSync:_0x40f75c}=Le,_0x272198=he(),{EMPTY_BUFFER:_0x2e9e8b,kWebSocket:_0x1f384a,NOOP:_0x2b20e3}=H(),{isBlob:_0x1cbb67,isValidStatusCode:_0x56f606}=ae(),{mask:_0x3c1e0c,toBuffer:_0x2dd51d}=ce(),_0x1d5f3d=Symbol(_0x337c98(0x1c3)),_0x1a6d0c=Buffer[_0x337c98(0x176)](0x4),_0x5d13b1=0x8*0x400;let _0x2faddb,_0x4c44d9=_0x5d13b1;const _0x15f7a4=0x0,_0x255b25=0x1,_0x1c9769=0x2;class _0x1e3a13{constructor(_0x245cf4,_0x29dde7,_0xc3b24d){const _0x3cabe8=_0x337c98;this[_0x3cabe8(0x288)]=_0x29dde7||{},_0xc3b24d&&(this[_0x3cabe8(0x1bf)]=_0xc3b24d,this[_0x3cabe8(0x15f)]=Buffer[_0x3cabe8(0x176)](0x4)),this[_0x3cabe8(0x1e4)]=_0x245cf4,this[_0x3cabe8(0x17c)]=!0x0,this[_0x3cabe8(0x115)]=!0x1,this[_0x3cabe8(0x162)]=0x0,this[_0x3cabe8(0x14c)]=[],this[_0x3cabe8(0x1ea)]=_0x15f7a4,this[_0x3cabe8(0x272)]=_0x2b20e3,this[_0x1f384a]=void 0x0;}static[_0x337c98(0x110)](_0x164408,_0x6de9b5){const _0x4ef514=_0x337c98;let _0xe5bd41,_0x40d3ec=!0x1,_0x4d8507=0x2,_0x2e90e9=!0x1;_0x6de9b5[_0x4ef514(0x25f)]&&(_0xe5bd41=_0x6de9b5[_0x4ef514(0x166)]||_0x1a6d0c,_0x6de9b5[_0x4ef514(0x1f0)]?_0x6de9b5[_0x4ef514(0x1f0)](_0xe5bd41):(_0x4c44d9===_0x5d13b1&&(_0x2faddb===void 0x0&&(_0x2faddb=Buffer[_0x4ef514(0x176)](_0x5d13b1)),_0x40f75c(_0x2faddb,0x0,_0x5d13b1),_0x4c44d9=0x0),_0xe5bd41[0x0]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x1]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x2]=_0x2faddb[_0x4c44d9++],_0xe5bd41[0x3]=_0x2faddb[_0x4c44d9++]),_0x2e90e9=(_0xe5bd41[0x0]|_0xe5bd41[0x1]|_0xe5bd41[0x2]|_0xe5bd41[0x3])===0x0,_0x4d8507=0x6);let _0x3af28e;typeof _0x164408==_0x4ef514(0x117)?(!_0x6de9b5[_0x4ef514(0x25f)]||_0x2e90e9)&&_0x6de9b5[_0x1d5f3d]!==void 0x0?_0x3af28e=_0x6de9b5[_0x1d5f3d]:(_0x164408=Buffer['from'](_0x164408),_0x3af28e=_0x164408[_0x4ef514(0x1ed)]):(_0x3af28e=_0x164408[_0x4ef514(0x1ed)],_0x40d3ec=_0x6de9b5[_0x4ef514(0x25f)]&&_0x6de9b5[_0x4ef514(0x276)]&&!_0x2e90e9);let _0xb9ecf7=_0x3af28e;_0x3af28e>=0x10000?(_0x4d8507+=0x8,_0xb9ecf7=0x7f):_0x3af28e>0x7d&&(_0x4d8507+=0x2,_0xb9ecf7=0x7e);const _0x32c5e8=Buffer['allocUnsafe'](_0x40d3ec?_0x3af28e+_0x4d8507:_0x4d8507);return _0x32c5e8[0x0]=_0x6de9b5[_0x4ef514(0x2b1)]?_0x6de9b5[_0x4ef514(0x271)]|0x80:_0x6de9b5[_0x4ef514(0x271)],_0x6de9b5[_0x4ef514(0x1fe)]&&(_0x32c5e8[0x0]|=0x40),_0x32c5e8[0x1]=_0xb9ecf7,_0xb9ecf7===0x7e?_0x32c5e8[_0x4ef514(0x244)](_0x3af28e,0x2):_0xb9ecf7===0x7f&&(_0x32c5e8[0x2]=_0x32c5e8[0x3]=0x0,_0x32c5e8[_0x4ef514(0x236)](_0x3af28e,0x4,0x6)),_0x6de9b5[_0x4ef514(0x25f)]?(_0x32c5e8[0x1]|=0x80,_0x32c5e8[_0x4d8507-0x4]=_0xe5bd41[0x0],_0x32c5e8[_0x4d8507-0x3]=_0xe5bd41[0x1],_0x32c5e8[_0x4d8507-0x2]=_0xe5bd41[0x2],_0x32c5e8[_0x4d8507-0x1]=_0xe5bd41[0x3],_0x2e90e9?[_0x32c5e8,_0x164408]:_0x40d3ec?(_0x3c1e0c(_0x164408,_0xe5bd41,_0x32c5e8,_0x4d8507,_0x3af28e),[_0x32c5e8]):(_0x3c1e0c(_0x164408,_0xe5bd41,_0x164408,0x0,_0x3af28e),[_0x32c5e8,_0x164408])):[_0x32c5e8,_0x164408];}[_0x337c98(0x22e)](_0x1d44d1,_0x4845d3,_0x16b00b,_0x578699){const _0x2f7609=_0x337c98;let _0x1297df;if(_0x1d44d1===void 0x0)_0x1297df=_0x2e9e8b;else{if(typeof _0x1d44d1!=_0x2f7609(0x282)||!_0x56f606(_0x1d44d1))throw new TypeError(_0x2f7609(0x14d));if(_0x4845d3===void 0x0||!_0x4845d3['length'])_0x1297df=Buffer['allocUnsafe'](0x2),_0x1297df[_0x2f7609(0x244)](_0x1d44d1,0x0);else{const _0x528b25=Buffer['byteLength'](_0x4845d3);if(_0x528b25>0x7b)throw new RangeError(_0x2f7609(0x1dc));_0x1297df=Buffer[_0x2f7609(0x148)](0x2+_0x528b25),_0x1297df[_0x2f7609(0x244)](_0x1d44d1,0x0),typeof _0x4845d3==_0x2f7609(0x117)?_0x1297df[_0x2f7609(0xfe)](_0x4845d3,0x2):_0x1297df[_0x2f7609(0x1c2)](_0x4845d3,0x2);}}const _0x2c6b37={[_0x1d5f3d]:_0x1297df[_0x2f7609(0x1ed)],'fin':!0x0,'generateMask':this[_0x2f7609(0x1bf)],'mask':_0x16b00b,'maskBuffer':this[_0x2f7609(0x15f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f7609(0x1ea)]!==_0x15f7a4?this[_0x2f7609(0x157)]([this[_0x2f7609(0xf5)],_0x1297df,!0x1,_0x2c6b37,_0x578699]):this[_0x2f7609(0x1f2)](_0x1e3a13[_0x2f7609(0x110)](_0x1297df,_0x2c6b37),_0x578699);}[_0x337c98(0x14e)](_0x2b877e,_0x15b13a,_0x398431){const _0x47d34f=_0x337c98;let _0x399dca,_0x1a25d9;if(typeof _0x2b877e==_0x47d34f(0x117)?(_0x399dca=Buffer['byteLength'](_0x2b877e),_0x1a25d9=!0x1):_0x1cbb67(_0x2b877e)?(_0x399dca=_0x2b877e[_0x47d34f(0xfb)],_0x1a25d9=!0x1):(_0x2b877e=_0x2dd51d(_0x2b877e),_0x399dca=_0x2b877e[_0x47d34f(0x1ed)],_0x1a25d9=_0x2dd51d[_0x47d34f(0x276)]),_0x399dca>0x7d)throw new RangeError(_0x47d34f(0x20f));const _0x5b19a5={[_0x1d5f3d]:_0x399dca,'fin':!0x0,'generateMask':this[_0x47d34f(0x1bf)],'mask':_0x15b13a,'maskBuffer':this[_0x47d34f(0x15f)],'opcode':0x9,'readOnly':_0x1a25d9,'rsv1':!0x1};_0x1cbb67(_0x2b877e)?this[_0x47d34f(0x1ea)]!==_0x15f7a4?this['enqueue']([this['getBlobData'],_0x2b877e,!0x1,_0x5b19a5,_0x398431]):this[_0x47d34f(0x1e0)](_0x2b877e,!0x1,_0x5b19a5,_0x398431):this[_0x47d34f(0x1ea)]!==_0x15f7a4?this[_0x47d34f(0x157)]([this[_0x47d34f(0xf5)],_0x2b877e,!0x1,_0x5b19a5,_0x398431]):this[_0x47d34f(0x1f2)](_0x1e3a13[_0x47d34f(0x110)](_0x2b877e,_0x5b19a5),_0x398431);}[_0x337c98(0x103)](_0x281d92,_0x1fdeb2,_0x33a07f){const _0x471262=_0x337c98;let _0xd04896,_0x1e1f0c;if(typeof _0x281d92==_0x471262(0x117)?(_0xd04896=Buffer['byteLength'](_0x281d92),_0x1e1f0c=!0x1):_0x1cbb67(_0x281d92)?(_0xd04896=_0x281d92[_0x471262(0xfb)],_0x1e1f0c=!0x1):(_0x281d92=_0x2dd51d(_0x281d92),_0xd04896=_0x281d92[_0x471262(0x1ed)],_0x1e1f0c=_0x2dd51d[_0x471262(0x276)]),_0xd04896>0x7d)throw new RangeError(_0x471262(0x20f));const _0x51f6ad={[_0x1d5f3d]:_0xd04896,'fin':!0x0,'generateMask':this[_0x471262(0x1bf)],'mask':_0x1fdeb2,'maskBuffer':this[_0x471262(0x15f)],'opcode':0xa,'readOnly':_0x1e1f0c,'rsv1':!0x1};_0x1cbb67(_0x281d92)?this['_state']!==_0x15f7a4?this[_0x471262(0x157)]([this[_0x471262(0x1e0)],_0x281d92,!0x1,_0x51f6ad,_0x33a07f]):this[_0x471262(0x1e0)](_0x281d92,!0x1,_0x51f6ad,_0x33a07f):this[_0x471262(0x1ea)]!==_0x15f7a4?this[_0x471262(0x157)]([this[_0x471262(0xf5)],_0x281d92,!0x1,_0x51f6ad,_0x33a07f]):this[_0x471262(0x1f2)](_0x1e3a13[_0x471262(0x110)](_0x281d92,_0x51f6ad),_0x33a07f);}[_0x337c98(0xf6)](_0x2fb6c3,_0x556430,_0x41bed4){const _0x3d9b01=_0x337c98,_0x256085=this['_extensions'][_0x272198['extensionName']];let _0x4fcdd4=_0x556430[_0x3d9b01(0x156)]?0x2:0x1,_0x4f245b=_0x556430[_0x3d9b01(0x245)],_0x60f33e,_0x3897d0;typeof _0x2fb6c3==_0x3d9b01(0x117)?(_0x60f33e=Buffer[_0x3d9b01(0x295)](_0x2fb6c3),_0x3897d0=!0x1):_0x1cbb67(_0x2fb6c3)?(_0x60f33e=_0x2fb6c3[_0x3d9b01(0xfb)],_0x3897d0=!0x1):(_0x2fb6c3=_0x2dd51d(_0x2fb6c3),_0x60f33e=_0x2fb6c3[_0x3d9b01(0x1ed)],_0x3897d0=_0x2dd51d[_0x3d9b01(0x276)]),this['_firstFragment']?(this[_0x3d9b01(0x17c)]=!0x1,_0x4f245b&&_0x256085&&_0x256085[_0x3d9b01(0x232)][_0x256085[_0x3d9b01(0x1ee)]?_0x3d9b01(0x1b0):_0x3d9b01(0x2a3)]&&(_0x4f245b=_0x60f33e>=_0x256085['_threshold']),this[_0x3d9b01(0x115)]=_0x4f245b):(_0x4f245b=!0x1,_0x4fcdd4=0x0),_0x556430['fin']&&(this[_0x3d9b01(0x17c)]=!0x0);const _0x3fbb9c={[_0x1d5f3d]:_0x60f33e,'fin':_0x556430[_0x3d9b01(0x2b1)],'generateMask':this[_0x3d9b01(0x1bf)],'mask':_0x556430[_0x3d9b01(0x25f)],'maskBuffer':this[_0x3d9b01(0x15f)],'opcode':_0x4fcdd4,'readOnly':_0x3897d0,'rsv1':_0x4f245b};_0x1cbb67(_0x2fb6c3)?this[_0x3d9b01(0x1ea)]!==_0x15f7a4?this[_0x3d9b01(0x157)]([this['getBlobData'],_0x2fb6c3,this['_compress'],_0x3fbb9c,_0x41bed4]):this[_0x3d9b01(0x1e0)](_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4):this[_0x3d9b01(0x1ea)]!==_0x15f7a4?this['enqueue']([this[_0x3d9b01(0xf5)],_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4]):this[_0x3d9b01(0xf5)](_0x2fb6c3,this[_0x3d9b01(0x115)],_0x3fbb9c,_0x41bed4);}[_0x337c98(0x1e0)](_0x4a7dae,_0xdb31a6,_0x5e44ca,_0x4a2240){const _0x48c85f=_0x337c98;this[_0x48c85f(0x162)]+=_0x5e44ca[_0x1d5f3d],this[_0x48c85f(0x1ea)]=_0x1c9769,_0x4a7dae['arrayBuffer']()[_0x48c85f(0x1a0)](_0x49b767=>{const _0x289bbf=_0x48c85f;if(this[_0x289bbf(0x1e4)][_0x289bbf(0x2c1)]){const _0x3124d2=new Error(_0x289bbf(0x1de));process[_0x289bbf(0x1d7)](_0x53b0fe,this,_0x3124d2,_0x4a2240);return;}this['_bufferedBytes']-=_0x5e44ca[_0x1d5f3d];const _0x414f3a=_0x2dd51d(_0x49b767);_0xdb31a6?this[_0x289bbf(0xf5)](_0x414f3a,_0xdb31a6,_0x5e44ca,_0x4a2240):(this[_0x289bbf(0x1ea)]=_0x15f7a4,this['sendFrame'](_0x1e3a13['frame'](_0x414f3a,_0x5e44ca),_0x4a2240),this['dequeue']());})[_0x48c85f(0x1b2)](_0x2053c8=>{const _0x3dde8f=_0x48c85f;process[_0x3dde8f(0x1d7)](_0xaab0a2,this,_0x2053c8,_0x4a2240);});}[_0x337c98(0xf5)](_0x19c74f,_0x486f8d,_0x1ca9a5,_0x3bfbd2){const _0x49eb71=_0x337c98;if(!_0x486f8d){this[_0x49eb71(0x1f2)](_0x1e3a13[_0x49eb71(0x110)](_0x19c74f,_0x1ca9a5),_0x3bfbd2);return;}const _0xa684e1=this[_0x49eb71(0x288)][_0x272198['extensionName']];this[_0x49eb71(0x162)]+=_0x1ca9a5[_0x1d5f3d],this[_0x49eb71(0x1ea)]=_0x255b25,_0xa684e1['compress'](_0x19c74f,_0x1ca9a5[_0x49eb71(0x2b1)],(_0x10c821,_0x101d02)=>{const _0xc79c55=_0x49eb71;if(this[_0xc79c55(0x1e4)][_0xc79c55(0x2c1)]){const _0x1245bf=new Error(_0xc79c55(0x1a1));_0x53b0fe(this,_0x1245bf,_0x3bfbd2);return;}this[_0xc79c55(0x162)]-=_0x1ca9a5[_0x1d5f3d],this[_0xc79c55(0x1ea)]=_0x15f7a4,_0x1ca9a5[_0xc79c55(0x276)]=!0x1,this[_0xc79c55(0x1f2)](_0x1e3a13['frame'](_0x101d02,_0x1ca9a5),_0x3bfbd2),this['dequeue']();});}['dequeue'](){const _0x2eef35=_0x337c98;for(;this[_0x2eef35(0x1ea)]===_0x15f7a4&&this[_0x2eef35(0x14c)][_0x2eef35(0x1ed)];){const _0x490463=this['_queue'][_0x2eef35(0x11a)]();this[_0x2eef35(0x162)]-=_0x490463[0x3][_0x1d5f3d],Reflect['apply'](_0x490463[0x0],this,_0x490463['slice'](0x1));}}[_0x337c98(0x157)](_0x5f027f){const _0x2ef9b6=_0x337c98;this[_0x2ef9b6(0x162)]+=_0x5f027f[0x3][_0x1d5f3d],this['_queue']['push'](_0x5f027f);}[_0x337c98(0x1f2)](_0x922be,_0x2ededd){const _0x2a0baa=_0x337c98;_0x922be['length']===0x2?(this['_socket'][_0x2a0baa(0x170)](),this['_socket'][_0x2a0baa(0xfe)](_0x922be[0x0]),this['_socket'][_0x2a0baa(0xfe)](_0x922be[0x1],_0x2ededd),this[_0x2a0baa(0x1e4)][_0x2a0baa(0x281)]()):this[_0x2a0baa(0x1e4)][_0x2a0baa(0xfe)](_0x922be[0x0],_0x2ededd);}}Ee=_0x1e3a13;function _0x53b0fe(_0x4d1605,_0x4170fc,_0x2bacc7){const _0x2aa3ce=_0x337c98;typeof _0x2bacc7==_0x2aa3ce(0x2af)&&_0x2bacc7(_0x4170fc);for(let _0x5a9daa=0x0;_0x5a9daa<_0x4d1605[_0x2aa3ce(0x14c)][_0x2aa3ce(0x1ed)];_0x5a9daa++){const _0x5bc18a=_0x4d1605['_queue'][_0x5a9daa],_0x1bec3a=_0x5bc18a[_0x5bc18a[_0x2aa3ce(0x1ed)]-0x1];typeof _0x1bec3a==_0x2aa3ce(0x2af)&&_0x1bec3a(_0x4170fc);}}function _0xaab0a2(_0x5ef402,_0x10a474,_0x57e6e2){const _0x12eeb4=_0x337c98;_0x53b0fe(_0x5ef402,_0x10a474,_0x57e6e2),_0x5ef402[_0x12eeb4(0x272)](_0x10a474);}return Ee;}var xe,Ze;function It(){const _0x276391=_0x421888;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x46ae6a,kListener:_0x5c349c}=H(),_0x1dfa3f=Symbol(_0x276391(0x22f)),_0x2c058a=Symbol(_0x276391(0x2c5)),_0x459a03=Symbol(_0x276391(0x15d)),_0x136cd6=Symbol(_0x276391(0x242)),_0x17829f=Symbol(_0x276391(0x215)),_0xb50252=Symbol('kTarget'),_0x286607=Symbol('kType'),_0x598b9c=Symbol(_0x276391(0x184));class _0x20d681{constructor(_0x1b1ff9){this[_0xb50252]=null,this[_0x286607]=_0x1b1ff9;}get['target'](){return this[_0xb50252];}get[_0x276391(0x183)](){return this[_0x286607];}}Object['defineProperty'](_0x20d681[_0x276391(0x28d)],'target',{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x20d681[_0x276391(0x28d)],_0x276391(0x183),{'enumerable':!0x0});class _0x2d83bf extends _0x20d681{constructor(_0x1168b9,_0x2198bb={}){const _0x841c9a=_0x276391;super(_0x1168b9),this[_0x1dfa3f]=_0x2198bb[_0x841c9a(0x109)]===void 0x0?0x0:_0x2198bb[_0x841c9a(0x109)],this[_0x17829f]=_0x2198bb['reason']===void 0x0?'':_0x2198bb[_0x841c9a(0x189)],this[_0x598b9c]=_0x2198bb[_0x841c9a(0x17f)]===void 0x0?!0x1:_0x2198bb['wasClean'];}get[_0x276391(0x109)](){return this[_0x1dfa3f];}get[_0x276391(0x189)](){return this[_0x17829f];}get[_0x276391(0x17f)](){return this[_0x598b9c];}}Object['defineProperty'](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x109),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x189),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x2d83bf[_0x276391(0x28d)],_0x276391(0x17f),{'enumerable':!0x0});class _0x22c47c extends _0x20d681{constructor(_0x3adf29,_0x5733e5={}){const _0xf88e6f=_0x276391;super(_0x3adf29),this[_0x459a03]=_0x5733e5[_0xf88e6f(0x1a6)]===void 0x0?null:_0x5733e5['error'],this[_0x136cd6]=_0x5733e5[_0xf88e6f(0x16a)]===void 0x0?'':_0x5733e5['message'];}get[_0x276391(0x1a6)](){return this[_0x459a03];}get[_0x276391(0x16a)](){return this[_0x136cd6];}}Object[_0x276391(0x16f)](_0x22c47c['prototype'],_0x276391(0x1a6),{'enumerable':!0x0}),Object[_0x276391(0x16f)](_0x22c47c[_0x276391(0x28d)],_0x276391(0x16a),{'enumerable':!0x0});class _0x567797 extends _0x20d681{constructor(_0x506159,_0x399e0f={}){const _0x39a159=_0x276391;super(_0x506159),this[_0x2c058a]=_0x399e0f['data']===void 0x0?null:_0x399e0f[_0x39a159(0x15e)];}get[_0x276391(0x15e)](){return this[_0x2c058a];}}Object[_0x276391(0x16f)](_0x567797[_0x276391(0x28d)],_0x276391(0x15e),{'enumerable':!0x0}),xe={'CloseEvent':_0x2d83bf,'ErrorEvent':_0x22c47c,'Event':_0x20d681,'EventTarget':{'addEventListener'(_0x18bc54,_0x533484,_0x5368b7={}){const _0x5e2bce=_0x276391;for(const _0x138044 of this[_0x5e2bce(0x121)](_0x18bc54))if(!_0x5368b7[_0x46ae6a]&&_0x138044[_0x5c349c]===_0x533484&&!_0x138044[_0x46ae6a])return;let _0x58e02e;if(_0x18bc54==='message')_0x58e02e=function(_0x4fe358,_0x5d56f9){const _0x480581=_0x5e2bce,_0x2b16de=new _0x567797(_0x480581(0x16a),{'data':_0x5d56f9?_0x4fe358:_0x4fe358[_0x480581(0x1ac)]()});_0x2b16de[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x2b16de);};else{if(_0x18bc54===_0x5e2bce(0x22e))_0x58e02e=function(_0x148117,_0x5aca75){const _0x4a861f=_0x5e2bce,_0x388735=new _0x2d83bf('close',{'code':_0x148117,'reason':_0x5aca75['toString'](),'wasClean':this[_0x4a861f(0x225)]&&this[_0x4a861f(0x14b)]});_0x388735[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x388735);};else{if(_0x18bc54===_0x5e2bce(0x1a6))_0x58e02e=function(_0x105182){const _0x1594b6=_0x5e2bce,_0x399f65=new _0x22c47c(_0x1594b6(0x1a6),{'error':_0x105182,'message':_0x105182['message']});_0x399f65[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x399f65);};else{if(_0x18bc54===_0x5e2bce(0x2a4))_0x58e02e=function(){const _0x5058cb=_0x5e2bce,_0x50a9f1=new _0x20d681(_0x5058cb(0x2a4));_0x50a9f1[_0xb50252]=this,_0x1f0e6f(_0x533484,this,_0x50a9f1);};else return;}}}_0x58e02e[_0x46ae6a]=!!_0x5368b7[_0x46ae6a],_0x58e02e[_0x5c349c]=_0x533484,_0x5368b7['once']?this[_0x5e2bce(0x28b)](_0x18bc54,_0x58e02e):this['on'](_0x18bc54,_0x58e02e);},'removeEventListener'(_0x5b3d66,_0x3cda64){const _0x49a976=_0x276391;for(const _0x5efc90 of this[_0x49a976(0x121)](_0x5b3d66))if(_0x5efc90[_0x5c349c]===_0x3cda64&&!_0x5efc90[_0x46ae6a]){this[_0x49a976(0x2a7)](_0x5b3d66,_0x5efc90);break;}}},'MessageEvent':_0x567797};function _0x1f0e6f(_0x2ba7dc,_0x135598,_0xc43091){const _0x439bad=_0x276391;typeof _0x2ba7dc==_0x439bad(0x2ae)&&_0x2ba7dc[_0x439bad(0x1d0)]?_0x2ba7dc[_0x439bad(0x1d0)][_0x439bad(0x26b)](_0x2ba7dc,_0xc43091):_0x2ba7dc[_0x439bad(0x26b)](_0x135598,_0xc43091);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x874648}=ae();function _0x300d77(_0x2fc2ed,_0x2ded35,_0x3356f0){const _0x5a50f9=_0x2b98;_0x2fc2ed[_0x2ded35]===void 0x0?_0x2fc2ed[_0x2ded35]=[_0x3356f0]:_0x2fc2ed[_0x2ded35][_0x5a50f9(0xec)](_0x3356f0);}function _0x36b006(_0x59bd3d){const _0x416eb4=_0x2b98,_0x4d9662=Object['create'](null);let _0x394caf=Object[_0x416eb4(0x274)](null),_0x2580e3=!0x1,_0x307e00=!0x1,_0x285dec=!0x1,_0x1f24e2,_0x46ad73,_0x41944d=-0x1,_0x416cd7=-0x1,_0x32042c=-0x1,_0x3fc3ad=0x0;for(;_0x3fc3ad<_0x59bd3d[_0x416eb4(0x1ed)];_0x3fc3ad++)if(_0x416cd7=_0x59bd3d['charCodeAt'](_0x3fc3ad),_0x1f24e2===void 0x0){if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x3fc3ad!==0x0&&(_0x416cd7===0x20||_0x416cd7===0x9))_0x32042c===-0x1&&_0x41944d!==-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);const _0x4f5855=_0x59bd3d['slice'](_0x41944d,_0x32042c);_0x416cd7===0x2c?(_0x300d77(_0x4d9662,_0x4f5855,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null)):_0x1f24e2=_0x4f5855,_0x41944d=_0x32042c=-0x1;}else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}else{if(_0x46ad73===void 0x0){if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x416cd7===0x20||_0x416cd7===0x9)_0x32042c===-0x1&&_0x41944d!==-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad),_0x300d77(_0x394caf,_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c),!0x0),_0x416cd7===0x2c&&(_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null),_0x1f24e2=void 0x0),_0x41944d=_0x32042c=-0x1;}else{if(_0x416cd7===0x3d&&_0x41944d!==-0x1&&_0x32042c===-0x1)_0x46ad73=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x3fc3ad),_0x41944d=_0x32042c=-0x1;else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}}else{if(_0x307e00){if(_0x874648[_0x416cd7]!==0x1)throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);_0x41944d===-0x1?_0x41944d=_0x3fc3ad:_0x2580e3||(_0x2580e3=!0x0),_0x307e00=!0x1;}else{if(_0x285dec){if(_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x416cd7===0x22&&_0x41944d!==-0x1)_0x285dec=!0x1,_0x32042c=_0x3fc3ad;else{if(_0x416cd7===0x5c)_0x307e00=!0x0;else throw new SyntaxError(_0x416eb4(0x248)+_0x3fc3ad);}}}else{if(_0x416cd7===0x22&&_0x59bd3d[_0x416eb4(0x1fb)](_0x3fc3ad-0x1)===0x3d)_0x285dec=!0x0;else{if(_0x32042c===-0x1&&_0x874648[_0x416cd7]===0x1)_0x41944d===-0x1&&(_0x41944d=_0x3fc3ad);else{if(_0x41944d!==-0x1&&(_0x416cd7===0x20||_0x416cd7===0x9))_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);else{if(_0x416cd7===0x3b||_0x416cd7===0x2c){if(_0x41944d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fc3ad);_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);let _0x1db042=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c);_0x2580e3&&(_0x1db042=_0x1db042[_0x416eb4(0x19c)](/\\/g,''),_0x2580e3=!0x1),_0x300d77(_0x394caf,_0x46ad73,_0x1db042),_0x416cd7===0x2c&&(_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf),_0x394caf=Object[_0x416eb4(0x274)](null),_0x1f24e2=void 0x0),_0x46ad73=void 0x0,_0x41944d=_0x32042c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fc3ad);}}}}}}}if(_0x41944d===-0x1||_0x285dec||_0x416cd7===0x20||_0x416cd7===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x32042c===-0x1&&(_0x32042c=_0x3fc3ad);const _0x427fb5=_0x59bd3d[_0x416eb4(0x1ce)](_0x41944d,_0x32042c);return _0x1f24e2===void 0x0?_0x300d77(_0x4d9662,_0x427fb5,_0x394caf):(_0x46ad73===void 0x0?_0x300d77(_0x394caf,_0x427fb5,!0x0):_0x2580e3?_0x300d77(_0x394caf,_0x46ad73,_0x427fb5[_0x416eb4(0x19c)](/\\/g,'')):_0x300d77(_0x394caf,_0x46ad73,_0x427fb5),_0x300d77(_0x4d9662,_0x1f24e2,_0x394caf)),_0x4d9662;}function _0x276709(_0x4a3bc7){const _0x1f8711=_0x2b98;return Object[_0x1f8711(0x174)](_0x4a3bc7)[_0x1f8711(0x1f1)](_0x16d27f=>{const _0x3b3dd0=_0x1f8711;let _0xc34387=_0x4a3bc7[_0x16d27f];return Array[_0x3b3dd0(0x130)](_0xc34387)||(_0xc34387=[_0xc34387]),_0xc34387[_0x3b3dd0(0x1f1)](_0x1c04cc=>[_0x16d27f]['concat'](Object['keys'](_0x1c04cc)[_0x3b3dd0(0x1f1)](_0x412551=>{const _0x50ef25=_0x3b3dd0;let _0x2fd352=_0x1c04cc[_0x412551];return Array[_0x50ef25(0x130)](_0x2fd352)||(_0x2fd352=[_0x2fd352]),_0x2fd352[_0x50ef25(0x1f1)](_0x1285ca=>_0x1285ca===!0x0?_0x412551:_0x412551+'='+_0x1285ca)[_0x50ef25(0x201)](';\x20');}))[_0x3b3dd0(0x201)](';\x20'))[_0x3b3dd0(0x201)](',\x20');})[_0x1f8711(0x201)](',\x20');}return be={'format':_0x276709,'parse':_0x36b006},be;}var we,Je;function Pe(){const _0x1181b6=_0x421888;if(Je)return we;Je=0x1;const _0x213ccb=nt,_0x5ae5ea=vt,_0x3eacd2=ot,_0x1f289f=St,_0x55ec16=Et,{randomBytes:_0x2c3b50,createHash:_0x34c81f}=Le,{Duplex:_0x25826a,Readable:_0x5878cc}=oe,{URL:_0x42439c}=xt,_0xfccb46=he(),_0x10c4a9=lt(),_0x30cf5a=ft(),{isBlob:_0x5af5e5}=ae(),{BINARY_TYPES:_0x2366f6,EMPTY_BUFFER:_0x17f051,GUID:_0x47f739,kForOnEventAttribute:_0x128c4a,kListener:_0x4db151,kStatusCode:_0x401460,kWebSocket:_0x5a1c59,NOOP:_0x14d2fd}=H(),{EventTarget:{addEventListener:_0x517aff,removeEventListener:_0x1459e6}}=It(),{format:_0x4b7ceb,parse:_0x52c8c8}=ct(),{toBuffer:_0x2015ae}=ce(),_0x31f747=0x1e*0x3e8,_0x204e4f=Symbol(_0x1181b6(0x21d)),_0x31c720=[0x8,0xd],_0x54ed77=[_0x1181b6(0x18f),_0x1181b6(0x2b7),_0x1181b6(0x1d6),'CLOSED'],_0xabc0a6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x93f1fe extends _0x213ccb{constructor(_0x34ecd3,_0x6303a0,_0x1ec7de){const _0x5d62cc=_0x1181b6;super(),this[_0x5d62cc(0x1b4)]=_0x2366f6[0x0],this[_0x5d62cc(0x2b8)]=0x3ee,this[_0x5d62cc(0x225)]=!0x1,this[_0x5d62cc(0x14b)]=!0x1,this[_0x5d62cc(0x231)]=_0x17f051,this[_0x5d62cc(0x1f7)]=null,this[_0x5d62cc(0x113)]=!0x1,this[_0x5d62cc(0x288)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x5d62cc(0x151)]=_0x93f1fe['CONNECTING'],this['_receiver']=null,this[_0x5d62cc(0x124)]=null,this[_0x5d62cc(0x1e4)]=null,_0x34ecd3!==null?(this[_0x5d62cc(0xed)]=0x0,this['_isServer']=!0x1,this[_0x5d62cc(0x1a9)]=0x0,_0x6303a0===void 0x0?_0x6303a0=[]:Array[_0x5d62cc(0x130)](_0x6303a0)||(typeof _0x6303a0=='object'&&_0x6303a0!==null?(_0x1ec7de=_0x6303a0,_0x6303a0=[]):_0x6303a0=[_0x6303a0]),_0x18cc00(this,_0x34ecd3,_0x6303a0,_0x1ec7de)):(this[_0x5d62cc(0x15c)]=_0x1ec7de[_0x5d62cc(0x13e)],this[_0x5d62cc(0x1ee)]=!0x0);}get[_0x1181b6(0x221)](){const _0x12e5e7=_0x1181b6;return this[_0x12e5e7(0x1b4)];}set['binaryType'](_0x2f520a){const _0x1029e2=_0x1181b6;_0x2366f6[_0x1029e2(0x211)](_0x2f520a)&&(this[_0x1029e2(0x1b4)]=_0x2f520a,this[_0x1029e2(0x16c)]&&(this[_0x1029e2(0x16c)][_0x1029e2(0x1b4)]=_0x2f520a));}get[_0x1181b6(0x1ad)](){const _0x2bf25b=_0x1181b6;return this[_0x2bf25b(0x1e4)]?this['_socket']['_writableState']['length']+this[_0x2bf25b(0x124)][_0x2bf25b(0x162)]:this[_0x2bf25b(0xed)];}get[_0x1181b6(0x2ac)](){const _0x195230=_0x1181b6;return Object[_0x195230(0x174)](this['_extensions'])['join']();}get['isPaused'](){const _0x1f8f89=_0x1181b6;return this[_0x1f8f89(0x11e)];}get[_0x1181b6(0x224)](){return null;}get['onerror'](){return null;}get[_0x1181b6(0x13c)](){return null;}get[_0x1181b6(0x1fa)](){return null;}get[_0x1181b6(0x265)](){const _0x5b1e3f=_0x1181b6;return this[_0x5b1e3f(0x22b)];}get[_0x1181b6(0x145)](){return this['_readyState'];}get[_0x1181b6(0x24a)](){return this['_url'];}['setSocket'](_0x52fd52,_0x4295c9,_0x361be4){const _0x5f07d0=_0x1181b6,_0x264752=new _0x10c4a9({'allowSynchronousEvents':_0x361be4[_0x5f07d0(0x179)],'binaryType':this[_0x5f07d0(0x221)],'extensions':this[_0x5f07d0(0x288)],'isServer':this['_isServer'],'maxPayload':_0x361be4[_0x5f07d0(0x205)],'skipUTF8Validation':_0x361be4[_0x5f07d0(0x152)]}),_0x33919a=new _0x30cf5a(_0x52fd52,this[_0x5f07d0(0x288)],_0x361be4[_0x5f07d0(0x1f0)]);this[_0x5f07d0(0x16c)]=_0x264752,this[_0x5f07d0(0x124)]=_0x33919a,this[_0x5f07d0(0x1e4)]=_0x52fd52,_0x264752[_0x5a1c59]=this,_0x33919a[_0x5a1c59]=this,_0x52fd52[_0x5a1c59]=this,_0x264752['on'](_0x5f07d0(0x105),_0x4a0217),_0x264752['on'](_0x5f07d0(0x154),_0x189892),_0x264752['on']('error',_0x53c608),_0x264752['on'](_0x5f07d0(0x16a),_0x59f777),_0x264752['on']('ping',_0x5c8284),_0x264752['on']('pong',_0x375320),_0x33919a[_0x5f07d0(0x272)]=_0x4a0a54,_0x52fd52[_0x5f07d0(0xf0)]&&_0x52fd52[_0x5f07d0(0xf0)](0x0),_0x52fd52[_0x5f07d0(0x1e8)]&&_0x52fd52[_0x5f07d0(0x1e8)](),_0x4295c9['length']>0x0&&_0x52fd52[_0x5f07d0(0x241)](_0x4295c9),_0x52fd52['on'](_0x5f07d0(0x22e),_0x4a1c15),_0x52fd52['on'](_0x5f07d0(0x15e),_0xfbcc0f),_0x52fd52['on'](_0x5f07d0(0x17a),_0x1f7a28),_0x52fd52['on'](_0x5f07d0(0x1a6),_0x486337),this[_0x5f07d0(0x151)]=_0x93f1fe[_0x5f07d0(0x2b7)],this[_0x5f07d0(0x2bf)]('open');}[_0x1181b6(0x285)](){const _0x266d75=_0x1181b6;if(!this[_0x266d75(0x1e4)]){this['_readyState']=_0x93f1fe[_0x266d75(0x266)],this['emit'](_0x266d75(0x22e),this['_closeCode'],this[_0x266d75(0x231)]);return;}this['_extensions'][_0xfccb46[_0x266d75(0x1bb)]]&&this[_0x266d75(0x288)][_0xfccb46['extensionName']]['cleanup'](),this[_0x266d75(0x16c)][_0x266d75(0x1be)](),this[_0x266d75(0x151)]=_0x93f1fe[_0x266d75(0x266)],this[_0x266d75(0x2bf)](_0x266d75(0x22e),this['_closeCode'],this[_0x266d75(0x231)]);}['close'](_0x56dff5,_0x115a10){const _0xacfff4=_0x1181b6;if(this[_0xacfff4(0x145)]!==_0x93f1fe[_0xacfff4(0x266)]){if(this[_0xacfff4(0x145)]===_0x93f1fe[_0xacfff4(0x18f)]){_0x262c76(this,this['_req'],_0xacfff4(0x1b1));return;}if(this['readyState']===_0x93f1fe[_0xacfff4(0x1d6)]){this['_closeFrameSent']&&(this[_0xacfff4(0x225)]||this[_0xacfff4(0x16c)][_0xacfff4(0x1e5)][_0xacfff4(0x1e6)])&&this[_0xacfff4(0x1e4)][_0xacfff4(0x17a)]();return;}this['_readyState']=_0x93f1fe[_0xacfff4(0x1d6)],this[_0xacfff4(0x124)][_0xacfff4(0x22e)](_0x56dff5,_0x115a10,!this[_0xacfff4(0x1ee)],_0x5e3a21=>{const _0x43d4f5=_0xacfff4;_0x5e3a21||(this[_0x43d4f5(0x14b)]=!0x0,(this[_0x43d4f5(0x225)]||this[_0x43d4f5(0x16c)][_0x43d4f5(0x1e5)]['errorEmitted'])&&this[_0x43d4f5(0x1e4)][_0x43d4f5(0x17a)]());}),_0x20e372(this);}}[_0x1181b6(0x13b)](){const _0x213ce0=_0x1181b6;this[_0x213ce0(0x145)]===_0x93f1fe['CONNECTING']||this[_0x213ce0(0x145)]===_0x93f1fe[_0x213ce0(0x266)]||(this[_0x213ce0(0x11e)]=!0x0,this[_0x213ce0(0x1e4)][_0x213ce0(0x13b)]());}[_0x1181b6(0x14e)](_0x2481e9,_0xc8b944,_0x1c7fec){const _0x2c9e53=_0x1181b6;if(this[_0x2c9e53(0x145)]===_0x93f1fe[_0x2c9e53(0x18f)])throw new Error(_0x2c9e53(0x192));if(typeof _0x2481e9==_0x2c9e53(0x2af)?(_0x1c7fec=_0x2481e9,_0x2481e9=_0xc8b944=void 0x0):typeof _0xc8b944==_0x2c9e53(0x2af)&&(_0x1c7fec=_0xc8b944,_0xc8b944=void 0x0),typeof _0x2481e9==_0x2c9e53(0x282)&&(_0x2481e9=_0x2481e9['toString']()),this['readyState']!==_0x93f1fe['OPEN']){_0x26cbf6(this,_0x2481e9,_0x1c7fec);return;}_0xc8b944===void 0x0&&(_0xc8b944=!this[_0x2c9e53(0x1ee)]),this[_0x2c9e53(0x124)][_0x2c9e53(0x14e)](_0x2481e9||_0x17f051,_0xc8b944,_0x1c7fec);}[_0x1181b6(0x103)](_0x455ed7,_0x129439,_0x4f5235){const _0x1327cb=_0x1181b6;if(this[_0x1327cb(0x145)]===_0x93f1fe[_0x1327cb(0x18f)])throw new Error(_0x1327cb(0x192));if(typeof _0x455ed7==_0x1327cb(0x2af)?(_0x4f5235=_0x455ed7,_0x455ed7=_0x129439=void 0x0):typeof _0x129439==_0x1327cb(0x2af)&&(_0x4f5235=_0x129439,_0x129439=void 0x0),typeof _0x455ed7=='number'&&(_0x455ed7=_0x455ed7['toString']()),this[_0x1327cb(0x145)]!==_0x93f1fe[_0x1327cb(0x2b7)]){_0x26cbf6(this,_0x455ed7,_0x4f5235);return;}_0x129439===void 0x0&&(_0x129439=!this[_0x1327cb(0x1ee)]),this[_0x1327cb(0x124)][_0x1327cb(0x103)](_0x455ed7||_0x17f051,_0x129439,_0x4f5235);}[_0x1181b6(0x122)](){const _0x1674ac=_0x1181b6;this[_0x1674ac(0x145)]===_0x93f1fe[_0x1674ac(0x18f)]||this[_0x1674ac(0x145)]===_0x93f1fe[_0x1674ac(0x266)]||(this['_paused']=!0x1,this[_0x1674ac(0x16c)]['_writableState'][_0x1674ac(0x24c)]||this[_0x1674ac(0x1e4)][_0x1674ac(0x122)]());}[_0x1181b6(0xf6)](_0x3afb82,_0x10eaff,_0x12b32c){const _0x39f8c3=_0x1181b6;if(this[_0x39f8c3(0x145)]===_0x93f1fe['CONNECTING'])throw new Error(_0x39f8c3(0x192));if(typeof _0x10eaff=='function'&&(_0x12b32c=_0x10eaff,_0x10eaff={}),typeof _0x3afb82==_0x39f8c3(0x282)&&(_0x3afb82=_0x3afb82[_0x39f8c3(0x1ac)]()),this[_0x39f8c3(0x145)]!==_0x93f1fe[_0x39f8c3(0x2b7)]){_0x26cbf6(this,_0x3afb82,_0x12b32c);return;}const _0x2fa861={'binary':typeof _0x3afb82!=_0x39f8c3(0x117),'mask':!this[_0x39f8c3(0x1ee)],'compress':!0x0,'fin':!0x0,..._0x10eaff};this['_extensions'][_0xfccb46[_0x39f8c3(0x1bb)]]||(_0x2fa861[_0x39f8c3(0x245)]=!0x1),this[_0x39f8c3(0x124)][_0x39f8c3(0xf6)](_0x3afb82||_0x17f051,_0x2fa861,_0x12b32c);}['terminate'](){const _0x4d3f48=_0x1181b6;if(this['readyState']!==_0x93f1fe['CLOSED']){if(this[_0x4d3f48(0x145)]===_0x93f1fe['CONNECTING']){_0x262c76(this,this[_0x4d3f48(0x299)],_0x4d3f48(0x1b1));return;}this['_socket']&&(this['_readyState']=_0x93f1fe['CLOSING'],this[_0x4d3f48(0x1e4)][_0x4d3f48(0x2bd)]());}}}Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x18f),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x18f))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],'CONNECTING',{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x18f))}),Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x2b7),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x2b7))}),Object['defineProperty'](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x2b7),{'enumerable':!0x0,'value':_0x54ed77['indexOf'](_0x1181b6(0x2b7))}),Object['defineProperty'](_0x93f1fe,_0x1181b6(0x1d6),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x1d6))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x1d6),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x1d6))}),Object[_0x1181b6(0x16f)](_0x93f1fe,_0x1181b6(0x266),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x266))}),Object[_0x1181b6(0x16f)](_0x93f1fe[_0x1181b6(0x28d)],_0x1181b6(0x266),{'enumerable':!0x0,'value':_0x54ed77[_0x1181b6(0x250)](_0x1181b6(0x266))}),[_0x1181b6(0x221),_0x1181b6(0x1ad),_0x1181b6(0x2ac),_0x1181b6(0x111),_0x1181b6(0x265),'readyState','url'][_0x1181b6(0x2b3)](_0x4ee320=>{const _0x5743e2=_0x1181b6;Object[_0x5743e2(0x16f)](_0x93f1fe[_0x5743e2(0x28d)],_0x4ee320,{'enumerable':!0x0});}),[_0x1181b6(0x2a4),_0x1181b6(0x1a6),_0x1181b6(0x22e),_0x1181b6(0x16a)][_0x1181b6(0x2b3)](_0x46682d=>{const _0x3d370f=_0x1181b6;Object[_0x3d370f(0x16f)](_0x93f1fe[_0x3d370f(0x28d)],'on'+_0x46682d,{'enumerable':!0x0,'get'(){const _0x4583c6=_0x3d370f;for(const _0xbcc172 of this[_0x4583c6(0x121)](_0x46682d))if(_0xbcc172[_0x128c4a])return _0xbcc172[_0x4db151];return null;},'set'(_0x917a9b){const _0x10de3f=_0x3d370f;for(const _0x1f2a88 of this['listeners'](_0x46682d))if(_0x1f2a88[_0x128c4a]){this[_0x10de3f(0x2a7)](_0x46682d,_0x1f2a88);break;}typeof _0x917a9b==_0x10de3f(0x2af)&&this[_0x10de3f(0x191)](_0x46682d,_0x917a9b,{[_0x128c4a]:!0x0});}});}),_0x93f1fe[_0x1181b6(0x28d)]['addEventListener']=_0x517aff,_0x93f1fe[_0x1181b6(0x28d)][_0x1181b6(0x1b6)]=_0x1459e6,we=_0x93f1fe;function _0x18cc00(_0x1eee93,_0xa1f79,_0x3a9658,_0x2fe48c){const _0x208a01=_0x1181b6,_0x31c165={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x31c720[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2fe48c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1eee93[_0x208a01(0x15c)]=_0x31c165['autoPong'],!_0x31c720[_0x208a01(0x211)](_0x31c165[_0x208a01(0x27e)]))throw new RangeError(_0x208a01(0x243)+_0x31c165[_0x208a01(0x27e)]+_0x208a01(0x220)+_0x31c720[_0x208a01(0x201)](',\x20')+')');let _0x3bde6d;if(_0xa1f79 instanceof _0x42439c)_0x3bde6d=_0xa1f79;else try{_0x3bde6d=new _0x42439c(_0xa1f79);}catch{throw new SyntaxError(_0x208a01(0x142)+_0xa1f79);}_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x2b2)?_0x3bde6d[_0x208a01(0x265)]='ws:':_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x12d)&&(_0x3bde6d['protocol']='wss:'),_0x1eee93[_0x208a01(0x1c7)]=_0x3bde6d[_0x208a01(0x1ca)];const _0x297f46=_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x199),_0x30e7b7=_0x3bde6d[_0x208a01(0x265)]===_0x208a01(0x131);let _0x351f2f;if(_0x3bde6d[_0x208a01(0x265)]!=='ws:'&&!_0x297f46&&!_0x30e7b7?_0x351f2f=_0x208a01(0x169):_0x30e7b7&&!_0x3bde6d[_0x208a01(0x230)]?_0x351f2f=_0x208a01(0x218):_0x3bde6d['hash']&&(_0x351f2f=_0x208a01(0x1cb)),_0x351f2f){const _0x111035=new SyntaxError(_0x351f2f);if(_0x1eee93['_redirects']===0x0)throw _0x111035;_0x2ec948(_0x1eee93,_0x111035);return;}const _0x5281bb=_0x297f46?0x1bb:0x50,_0x5a0261=_0x2c3b50(0x10)[_0x208a01(0x1ac)](_0x208a01(0x114)),_0x34a510=_0x297f46?_0x5ae5ea['request']:_0x3eacd2[_0x208a01(0x1c5)],_0xe29056=new Set();let _0x5504ce;if(_0x31c165[_0x208a01(0x12b)]=_0x31c165[_0x208a01(0x12b)]||(_0x297f46?_0x19b668:_0x276a78),_0x31c165[_0x208a01(0x29a)]=_0x31c165[_0x208a01(0x29a)]||_0x5281bb,_0x31c165['port']=_0x3bde6d['port']||_0x5281bb,_0x31c165[_0x208a01(0x116)]=_0x3bde6d[_0x208a01(0x161)][_0x208a01(0x10a)]('[')?_0x3bde6d[_0x208a01(0x161)][_0x208a01(0x1ce)](0x1,-0x1):_0x3bde6d[_0x208a01(0x161)],_0x31c165[_0x208a01(0x159)]={..._0x31c165[_0x208a01(0x159)],'Sec-WebSocket-Version':_0x31c165[_0x208a01(0x27e)],'Sec-WebSocket-Key':_0x5a0261,'Connection':_0x208a01(0x181),'Upgrade':_0x208a01(0x10b)},_0x31c165[_0x208a01(0x2bb)]=_0x3bde6d[_0x208a01(0x230)]+_0x3bde6d[_0x208a01(0x28c)],_0x31c165[_0x208a01(0x2a8)]=_0x31c165[_0x208a01(0x132)],_0x31c165[_0x208a01(0x2c0)]&&(_0x5504ce=new _0xfccb46(_0x31c165[_0x208a01(0x2c0)]!==!0x0?_0x31c165[_0x208a01(0x2c0)]:{},!0x1,_0x31c165['maxPayload']),_0x31c165[_0x208a01(0x159)][_0x208a01(0x153)]=_0x4b7ceb({[_0xfccb46[_0x208a01(0x1bb)]]:_0x5504ce[_0x208a01(0x127)]()})),_0x3a9658['length']){for(const _0x396f52 of _0x3a9658){if(typeof _0x396f52!='string'||!_0xabc0a6[_0x208a01(0x1ae)](_0x396f52)||_0xe29056[_0x208a01(0x24b)](_0x396f52))throw new SyntaxError(_0x208a01(0x13f));_0xe29056[_0x208a01(0x26c)](_0x396f52);}_0x31c165['headers'][_0x208a01(0x251)]=_0x3a9658['join'](',');}if(_0x31c165[_0x208a01(0x269)]&&(_0x31c165[_0x208a01(0x27e)]<0xd?_0x31c165[_0x208a01(0x159)][_0x208a01(0x1d5)]=_0x31c165[_0x208a01(0x269)]:_0x31c165['headers'][_0x208a01(0x163)]=_0x31c165['origin']),(_0x3bde6d['username']||_0x3bde6d[_0x208a01(0x1e2)])&&(_0x31c165[_0x208a01(0x270)]=_0x3bde6d[_0x208a01(0x1d2)]+':'+_0x3bde6d[_0x208a01(0x1e2)]),_0x30e7b7){const _0x83671b=_0x31c165[_0x208a01(0x2bb)][_0x208a01(0x196)](':');_0x31c165['socketPath']=_0x83671b[0x0],_0x31c165[_0x208a01(0x2bb)]=_0x83671b[0x1];}let _0xbba1ce;if(_0x31c165[_0x208a01(0x208)]){if(_0x1eee93[_0x208a01(0x1a9)]===0x0){_0x1eee93['_originalIpc']=_0x30e7b7,_0x1eee93[_0x208a01(0x26e)]=_0x297f46,_0x1eee93[_0x208a01(0x172)]=_0x30e7b7?_0x31c165['socketPath']:_0x3bde6d[_0x208a01(0x116)];const _0x1b26ed=_0x2fe48c&&_0x2fe48c[_0x208a01(0x159)];if(_0x2fe48c={..._0x2fe48c,'headers':{}},_0x1b26ed){for(const [_0x19f191,_0x5b876c]of Object['entries'](_0x1b26ed))_0x2fe48c[_0x208a01(0x159)][_0x19f191[_0x208a01(0x18b)]()]=_0x5b876c;}}else{if(_0x1eee93['listenerCount'](_0x208a01(0x29c))===0x0){const _0x145eca=_0x30e7b7?_0x1eee93[_0x208a01(0x1cc)]?_0x31c165[_0x208a01(0x1b3)]===_0x1eee93[_0x208a01(0x172)]:!0x1:_0x1eee93[_0x208a01(0x1cc)]?!0x1:_0x3bde6d['host']===_0x1eee93[_0x208a01(0x172)];(!_0x145eca||_0x1eee93[_0x208a01(0x26e)]&&!_0x297f46)&&(delete _0x31c165[_0x208a01(0x159)][_0x208a01(0x1b9)],delete _0x31c165['headers']['cookie'],_0x145eca||delete _0x31c165[_0x208a01(0x159)]['host'],_0x31c165[_0x208a01(0x270)]=void 0x0);}}_0x31c165[_0x208a01(0x270)]&&!_0x2fe48c[_0x208a01(0x159)][_0x208a01(0x1b9)]&&(_0x2fe48c['headers'][_0x208a01(0x1b9)]=_0x208a01(0x1ff)+Buffer[_0x208a01(0x27c)](_0x31c165['auth'])['toString'](_0x208a01(0x114))),_0xbba1ce=_0x1eee93[_0x208a01(0x299)]=_0x34a510(_0x31c165),_0x1eee93['_redirects']&&_0x1eee93[_0x208a01(0x2bf)]('redirect',_0x1eee93[_0x208a01(0x24a)],_0xbba1ce);}else _0xbba1ce=_0x1eee93['_req']=_0x34a510(_0x31c165);_0x31c165[_0x208a01(0x2a8)]&&_0xbba1ce['on'](_0x208a01(0x2a8),()=>{_0x262c76(_0x1eee93,_0xbba1ce,'Opening\x20handshake\x20has\x20timed\x20out');}),_0xbba1ce['on'](_0x208a01(0x1a6),_0x2a10ab=>{_0xbba1ce===null||_0xbba1ce[_0x204e4f]||(_0xbba1ce=_0x1eee93['_req']=null,_0x2ec948(_0x1eee93,_0x2a10ab));}),_0xbba1ce['on'](_0x208a01(0x273),_0x801cb0=>{const _0x33d5dc=_0x208a01,_0x58bd7a=_0x801cb0[_0x33d5dc(0x159)]['location'],_0x3d18dc=_0x801cb0[_0x33d5dc(0x1c6)];if(_0x58bd7a&&_0x31c165[_0x33d5dc(0x208)]&&_0x3d18dc>=0x12c&&_0x3d18dc<0x190){if(++_0x1eee93[_0x33d5dc(0x1a9)]>_0x31c165['maxRedirects']){_0x262c76(_0x1eee93,_0xbba1ce,_0x33d5dc(0x107));return;}_0xbba1ce[_0x33d5dc(0x1f5)]();let _0x5e9324;try{_0x5e9324=new _0x42439c(_0x58bd7a,_0xa1f79);}catch{const _0x50114f=new SyntaxError('Invalid\x20URL:\x20'+_0x58bd7a);_0x2ec948(_0x1eee93,_0x50114f);return;}_0x18cc00(_0x1eee93,_0x5e9324,_0x3a9658,_0x2fe48c);}else _0x1eee93['emit'](_0x33d5dc(0x2a5),_0xbba1ce,_0x801cb0)||_0x262c76(_0x1eee93,_0xbba1ce,_0x33d5dc(0x212)+_0x801cb0[_0x33d5dc(0x1c6)]);}),_0xbba1ce['on'](_0x208a01(0x28e),(_0x262e2c,_0xe1515c,_0x518ab5)=>{const _0x93d287=_0x208a01;if(_0x1eee93[_0x93d287(0x2bf)](_0x93d287(0x28e),_0x262e2c),_0x1eee93[_0x93d287(0x145)]!==_0x93f1fe[_0x93d287(0x18f)])return;_0xbba1ce=_0x1eee93['_req']=null;const _0x4426c2=_0x262e2c[_0x93d287(0x159)][_0x93d287(0x28e)];if(_0x4426c2===void 0x0||_0x4426c2[_0x93d287(0x18b)]()!==_0x93d287(0x10b)){_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Upgrade\x20header');return;}const _0x49b60b=_0x34c81f(_0x93d287(0x24f))[_0x93d287(0x277)](_0x5a0261+_0x47f739)[_0x93d287(0x118)](_0x93d287(0x114));if(_0x262e2c[_0x93d287(0x159)][_0x93d287(0x134)]!==_0x49b60b){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x23e));return;}const _0x4830ba=_0x262e2c[_0x93d287(0x159)]['sec-websocket-protocol'];let _0x5c96b5;if(_0x4830ba!==void 0x0?_0xe29056[_0x93d287(0xfb)]?_0xe29056[_0x93d287(0x24b)](_0x4830ba)||(_0x5c96b5=_0x93d287(0x25c)):_0x5c96b5=_0x93d287(0x19d):_0xe29056[_0x93d287(0xfb)]&&(_0x5c96b5=_0x93d287(0x210)),_0x5c96b5){_0x262c76(_0x1eee93,_0xe1515c,_0x5c96b5);return;}_0x4830ba&&(_0x1eee93['_protocol']=_0x4830ba);const _0x5dd0b6=_0x262e2c[_0x93d287(0x159)][_0x93d287(0x294)];if(_0x5dd0b6!==void 0x0){if(!_0x5504ce){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x1a3));return;}let _0x33d0b5;try{_0x33d0b5=_0x52c8c8(_0x5dd0b6);}catch{_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xe85385=Object[_0x93d287(0x174)](_0x33d0b5);if(_0xe85385['length']!==0x1||_0xe85385[0x0]!==_0xfccb46['extensionName']){_0x262c76(_0x1eee93,_0xe1515c,_0x93d287(0x1d4));return;}try{_0x5504ce[_0x93d287(0x2b0)](_0x33d0b5[_0xfccb46[_0x93d287(0x1bb)]]);}catch{_0x262c76(_0x1eee93,_0xe1515c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1eee93['_extensions'][_0xfccb46[_0x93d287(0x1bb)]]=_0x5504ce;}_0x1eee93[_0x93d287(0x10f)](_0xe1515c,_0x518ab5,{'allowSynchronousEvents':_0x31c165['allowSynchronousEvents'],'generateMask':_0x31c165[_0x93d287(0x1f0)],'maxPayload':_0x31c165['maxPayload'],'skipUTF8Validation':_0x31c165[_0x93d287(0x152)]});}),_0x31c165[_0x208a01(0x13a)]?_0x31c165['finishRequest'](_0xbba1ce,_0x1eee93):_0xbba1ce[_0x208a01(0x17a)]();}function _0x2ec948(_0x2460da,_0xb2a718){const _0x3e33bc=_0x1181b6;_0x2460da[_0x3e33bc(0x151)]=_0x93f1fe['CLOSING'],_0x2460da[_0x3e33bc(0x113)]=!0x0,_0x2460da[_0x3e33bc(0x2bf)]('error',_0xb2a718),_0x2460da[_0x3e33bc(0x285)]();}function _0x276a78(_0x149b9e){const _0x270262=_0x1181b6;return _0x149b9e[_0x270262(0x2bb)]=_0x149b9e[_0x270262(0x1b3)],_0x1f289f[_0x270262(0x291)](_0x149b9e);}function _0x19b668(_0x354c25){const _0x120a4c=_0x1181b6;return _0x354c25[_0x120a4c(0x2bb)]=void 0x0,!_0x354c25[_0x120a4c(0x227)]&&_0x354c25[_0x120a4c(0x227)]!==''&&(_0x354c25[_0x120a4c(0x227)]=_0x1f289f[_0x120a4c(0x23d)](_0x354c25['host'])?'':_0x354c25[_0x120a4c(0x116)]),_0x55ec16['connect'](_0x354c25);}function _0x262c76(_0x1ed9c3,_0x4847a0,_0x459f50){const _0x4a7466=_0x1181b6;_0x1ed9c3[_0x4a7466(0x151)]=_0x93f1fe['CLOSING'];const _0x387e4f=new Error(_0x459f50);Error['captureStackTrace'](_0x387e4f,_0x262c76),_0x4847a0[_0x4a7466(0x29d)]?(_0x4847a0[_0x204e4f]=!0x0,_0x4847a0[_0x4a7466(0x1f5)](),_0x4847a0['socket']&&!_0x4847a0[_0x4a7466(0x10c)][_0x4a7466(0x2c1)]&&_0x4847a0[_0x4a7466(0x10c)]['destroy'](),process[_0x4a7466(0x1d7)](_0x2ec948,_0x1ed9c3,_0x387e4f)):(_0x4847a0[_0x4a7466(0x2bd)](_0x387e4f),_0x4847a0[_0x4a7466(0x28b)](_0x4a7466(0x1a6),_0x1ed9c3['emit']['bind'](_0x1ed9c3,_0x4a7466(0x1a6))),_0x4847a0['once'](_0x4a7466(0x22e),_0x1ed9c3[_0x4a7466(0x285)]['bind'](_0x1ed9c3)));}function _0x26cbf6(_0x3ae94a,_0xae41f5,_0x5a103a){const _0xc9bf63=_0x1181b6;if(_0xae41f5){const _0x3c97bf=_0x5af5e5(_0xae41f5)?_0xae41f5[_0xc9bf63(0xfb)]:_0x2015ae(_0xae41f5)[_0xc9bf63(0x1ed)];_0x3ae94a['_socket']?_0x3ae94a[_0xc9bf63(0x124)][_0xc9bf63(0x162)]+=_0x3c97bf:_0x3ae94a[_0xc9bf63(0xed)]+=_0x3c97bf;}if(_0x5a103a){const _0x38a7fb=new Error(_0xc9bf63(0x1c0)+_0x3ae94a[_0xc9bf63(0x145)]+'\x20('+_0x54ed77[_0x3ae94a['readyState']]+')');process[_0xc9bf63(0x1d7)](_0x5a103a,_0x38a7fb);}}function _0x4a0217(_0x5f0bd6,_0xdc5ba6){const _0x53cfc9=_0x1181b6,_0x5d4bbb=this[_0x5a1c59];_0x5d4bbb[_0x53cfc9(0x225)]=!0x0,_0x5d4bbb[_0x53cfc9(0x231)]=_0xdc5ba6,_0x5d4bbb[_0x53cfc9(0x2b8)]=_0x5f0bd6,_0x5d4bbb['_socket'][_0x5a1c59]!==void 0x0&&(_0x5d4bbb[_0x53cfc9(0x1e4)][_0x53cfc9(0x2a7)]('data',_0xfbcc0f),process[_0x53cfc9(0x1d7)](_0xf9cf3f,_0x5d4bbb[_0x53cfc9(0x1e4)]),_0x5f0bd6===0x3ed?_0x5d4bbb['close']():_0x5d4bbb[_0x53cfc9(0x22e)](_0x5f0bd6,_0xdc5ba6));}function _0x189892(){const _0x48c053=_0x1181b6,_0x4a363f=this[_0x5a1c59];_0x4a363f[_0x48c053(0x111)]||_0x4a363f[_0x48c053(0x1e4)][_0x48c053(0x122)]();}function _0x53c608(_0x49a602){const _0x254f0c=_0x1181b6,_0x4d30e9=this[_0x5a1c59];_0x4d30e9['_socket'][_0x5a1c59]!==void 0x0&&(_0x4d30e9['_socket'][_0x254f0c(0x2a7)]('data',_0xfbcc0f),process[_0x254f0c(0x1d7)](_0xf9cf3f,_0x4d30e9['_socket']),_0x4d30e9[_0x254f0c(0x22e)](_0x49a602[_0x401460])),_0x4d30e9[_0x254f0c(0x113)]||(_0x4d30e9[_0x254f0c(0x113)]=!0x0,_0x4d30e9[_0x254f0c(0x2bf)]('error',_0x49a602));}function _0x98fe1c(){const _0x4175e9=_0x1181b6;this[_0x5a1c59][_0x4175e9(0x285)]();}function _0x59f777(_0x17a816,_0x34e74c){const _0x4a32f0=_0x1181b6;this[_0x5a1c59][_0x4a32f0(0x2bf)](_0x4a32f0(0x16a),_0x17a816,_0x34e74c);}function _0x5c8284(_0x2d3dae){const _0x5071da=_0x1181b6,_0x183685=this[_0x5a1c59];_0x183685[_0x5071da(0x15c)]&&_0x183685[_0x5071da(0x103)](_0x2d3dae,!this[_0x5071da(0x1ee)],_0x14d2fd),_0x183685[_0x5071da(0x2bf)](_0x5071da(0x14e),_0x2d3dae);}function _0x375320(_0x1e2f32){const _0xdfb3cb=_0x1181b6;this[_0x5a1c59][_0xdfb3cb(0x2bf)](_0xdfb3cb(0x103),_0x1e2f32);}function _0xf9cf3f(_0x1e1568){const _0x29b058=_0x1181b6;_0x1e1568[_0x29b058(0x122)]();}function _0x4a0a54(_0x270729){const _0x27f763=_0x1181b6,_0x499247=this[_0x5a1c59];_0x499247['readyState']!==_0x93f1fe['CLOSED']&&(_0x499247[_0x27f763(0x145)]===_0x93f1fe[_0x27f763(0x2b7)]&&(_0x499247['_readyState']=_0x93f1fe['CLOSING'],_0x20e372(_0x499247)),this[_0x27f763(0x1e4)][_0x27f763(0x17a)](),_0x499247['_errorEmitted']||(_0x499247[_0x27f763(0x113)]=!0x0,_0x499247[_0x27f763(0x2bf)]('error',_0x270729)));}function _0x20e372(_0x3f3c80){const _0x3db6ec=_0x1181b6;_0x3f3c80[_0x3db6ec(0x1f7)]=setTimeout(_0x3f3c80[_0x3db6ec(0x1e4)][_0x3db6ec(0x2bd)]['bind'](_0x3f3c80[_0x3db6ec(0x1e4)]),_0x31f747);}function _0x4a1c15(){const _0x2d0680=_0x1181b6,_0x150e80=this[_0x5a1c59];this[_0x2d0680(0x2a7)](_0x2d0680(0x22e),_0x4a1c15),this[_0x2d0680(0x2a7)](_0x2d0680(0x15e),_0xfbcc0f),this[_0x2d0680(0x2a7)](_0x2d0680(0x17a),_0x1f7a28),_0x150e80[_0x2d0680(0x151)]=_0x93f1fe[_0x2d0680(0x1d6)];let _0x205365;!this[_0x2d0680(0x195)][_0x2d0680(0x238)]&&!_0x150e80[_0x2d0680(0x225)]&&!_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)]['errorEmitted']&&(_0x205365=_0x150e80[_0x2d0680(0x1e4)][_0x2d0680(0x240)]())!==null&&_0x150e80[_0x2d0680(0x16c)]['write'](_0x205365),_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x17a)](),this[_0x5a1c59]=void 0x0,clearTimeout(_0x150e80[_0x2d0680(0x1f7)]),_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)][_0x2d0680(0x21a)]||_0x150e80[_0x2d0680(0x16c)][_0x2d0680(0x1e5)][_0x2d0680(0x1e6)]?_0x150e80[_0x2d0680(0x285)]():(_0x150e80[_0x2d0680(0x16c)]['on']('error',_0x98fe1c),_0x150e80[_0x2d0680(0x16c)]['on'](_0x2d0680(0x293),_0x98fe1c));}function _0xfbcc0f(_0x378953){const _0x4dcc0f=_0x1181b6;this[_0x5a1c59][_0x4dcc0f(0x16c)]['write'](_0x378953)||this[_0x4dcc0f(0x13b)]();}function _0x1f7a28(){const _0xc7d030=_0x1181b6,_0x443b1f=this[_0x5a1c59];_0x443b1f[_0xc7d030(0x151)]=_0x93f1fe['CLOSING'],_0x443b1f[_0xc7d030(0x16c)][_0xc7d030(0x17a)](),this[_0xc7d030(0x17a)]();}function _0x486337(){const _0x8d6173=_0x1181b6,_0x48af70=this[_0x5a1c59];this[_0x8d6173(0x2a7)](_0x8d6173(0x1a6),_0x486337),this['on'](_0x8d6173(0x1a6),_0x14d2fd),_0x48af70&&(_0x48af70[_0x8d6173(0x151)]=_0x93f1fe[_0x8d6173(0x1d6)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3d3bc4}=oe;function _0x46e92c(_0x2f15fd){const _0x522596=_0x2b98;_0x2f15fd[_0x522596(0x2bf)](_0x522596(0x22e));}function _0x5a2b54(){const _0x468037=_0x2b98;!this[_0x468037(0x2c1)]&&this[_0x468037(0x1e5)][_0x468037(0x21a)]&&this[_0x468037(0x2bd)]();}function _0x3fc0ff(_0x22382c){const _0x149c15=_0x2b98;this[_0x149c15(0x2a7)](_0x149c15(0x1a6),_0x3fc0ff),this[_0x149c15(0x2bd)](),this[_0x149c15(0x1e9)](_0x149c15(0x1a6))===0x0&&this[_0x149c15(0x2bf)](_0x149c15(0x1a6),_0x22382c);}function _0x1a7444(_0x218cbd,_0x37a9bc){const _0x2b90a6=_0x2b98;let _0x59682b=!0x0;const _0x9a772e=new _0x3d3bc4({..._0x37a9bc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x218cbd['on'](_0x2b90a6(0x16a),function(_0x2f9e70,_0x125580){const _0x5d4777=_0x2b90a6,_0x394ecb=!_0x125580&&_0x9a772e[_0x5d4777(0x195)][_0x5d4777(0x16e)]?_0x2f9e70[_0x5d4777(0x1ac)]():_0x2f9e70;_0x9a772e[_0x5d4777(0xec)](_0x394ecb)||_0x218cbd['pause']();}),_0x218cbd[_0x2b90a6(0x28b)](_0x2b90a6(0x1a6),function(_0x323147){const _0x52451f=_0x2b90a6;_0x9a772e[_0x52451f(0x2c1)]||(_0x59682b=!0x1,_0x9a772e[_0x52451f(0x2bd)](_0x323147));}),_0x218cbd['once'](_0x2b90a6(0x22e),function(){const _0x1a7dc9=_0x2b90a6;_0x9a772e[_0x1a7dc9(0x2c1)]||_0x9a772e[_0x1a7dc9(0xec)](null);}),_0x9a772e[_0x2b90a6(0xef)]=function(_0x33006d,_0x3bf212){const _0x329ec9=_0x2b90a6;if(_0x218cbd[_0x329ec9(0x145)]===_0x218cbd[_0x329ec9(0x266)]){_0x3bf212(_0x33006d),process[_0x329ec9(0x1d7)](_0x46e92c,_0x9a772e);return;}let _0x32ce2b=!0x1;_0x218cbd[_0x329ec9(0x28b)](_0x329ec9(0x1a6),function(_0x42ad29){_0x32ce2b=!0x0,_0x3bf212(_0x42ad29);}),_0x218cbd[_0x329ec9(0x28b)](_0x329ec9(0x22e),function(){const _0x3318cc=_0x329ec9;_0x32ce2b||_0x3bf212(_0x33006d),process[_0x3318cc(0x1d7)](_0x46e92c,_0x9a772e);}),_0x59682b&&_0x218cbd[_0x329ec9(0x202)]();},_0x9a772e[_0x2b90a6(0x292)]=function(_0x13b4ee){const _0x18de75=_0x2b90a6;if(_0x218cbd[_0x18de75(0x145)]===_0x218cbd[_0x18de75(0x18f)]){_0x218cbd[_0x18de75(0x28b)](_0x18de75(0x2a4),function(){const _0x2daabd=_0x18de75;_0x9a772e[_0x2daabd(0x292)](_0x13b4ee);});return;}_0x218cbd[_0x18de75(0x1e4)]!==null&&(_0x218cbd[_0x18de75(0x1e4)][_0x18de75(0x1e5)][_0x18de75(0x21a)]?(_0x13b4ee(),_0x9a772e['_readableState']['endEmitted']&&_0x9a772e[_0x18de75(0x2bd)]()):(_0x218cbd['_socket'][_0x18de75(0x28b)](_0x18de75(0x293),function(){_0x13b4ee();}),_0x218cbd['close']()));},_0x9a772e['_read']=function(){const _0x3b94a8=_0x2b90a6;_0x218cbd[_0x3b94a8(0x111)]&&_0x218cbd[_0x3b94a8(0x122)]();},_0x9a772e[_0x2b90a6(0x182)]=function(_0x29e220,_0x2e22da,_0x37c82e){const _0x218751=_0x2b90a6;if(_0x218cbd[_0x218751(0x145)]===_0x218cbd[_0x218751(0x18f)]){_0x218cbd['once']('open',function(){const _0x57207f=_0x218751;_0x9a772e[_0x57207f(0x182)](_0x29e220,_0x2e22da,_0x37c82e);});return;}_0x218cbd[_0x218751(0xf6)](_0x29e220,_0x37c82e);},_0x9a772e['on'](_0x2b90a6(0x17a),_0x5a2b54),_0x9a772e['on']('error',_0x3fc0ff),_0x9a772e;}return Oe=_0x1a7444,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3c4c59}=ae();function _0x34a996(_0xd94134){const _0x2a1db5=_0x2b98,_0x3ef3a6=new Set();let _0x536680=-0x1,_0x1d1f7c=-0x1,_0x263331=0x0;for(_0x263331;_0x263331<_0xd94134[_0x2a1db5(0x1ed)];_0x263331++){const _0x46fc19=_0xd94134[_0x2a1db5(0x1fb)](_0x263331);if(_0x1d1f7c===-0x1&&_0x3c4c59[_0x46fc19]===0x1)_0x536680===-0x1&&(_0x536680=_0x263331);else{if(_0x263331!==0x0&&(_0x46fc19===0x20||_0x46fc19===0x9))_0x1d1f7c===-0x1&&_0x536680!==-0x1&&(_0x1d1f7c=_0x263331);else{if(_0x46fc19===0x2c){if(_0x536680===-0x1)throw new SyntaxError(_0x2a1db5(0x248)+_0x263331);_0x1d1f7c===-0x1&&(_0x1d1f7c=_0x263331);const _0x2d1d9b=_0xd94134[_0x2a1db5(0x1ce)](_0x536680,_0x1d1f7c);if(_0x3ef3a6[_0x2a1db5(0x24b)](_0x2d1d9b))throw new SyntaxError(_0x2a1db5(0x1d8)+_0x2d1d9b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3ef3a6['add'](_0x2d1d9b),_0x536680=_0x1d1f7c=-0x1;}else throw new SyntaxError(_0x2a1db5(0x248)+_0x263331);}}}if(_0x536680===-0x1||_0x1d1f7c!==-0x1)throw new SyntaxError(_0x2a1db5(0x1ec));const _0x90bf12=_0xd94134[_0x2a1db5(0x1ce)](_0x536680,_0x263331);if(_0x3ef3a6['has'](_0x90bf12))throw new SyntaxError('The\x20\x22'+_0x90bf12+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3ef3a6[_0x2a1db5(0x26c)](_0x90bf12),_0x3ef3a6;}return Ce={'parse':_0x34a996},Ce;}var Te,rt;function Ft(){const _0x10fde0=_0x421888;if(rt)return Te;rt=0x1;const _0x4a1b95=nt,_0x1a04d0=ot,{Duplex:_0x450519}=oe,{createHash:_0x5e55fe}=Le,_0x31e098=ct(),_0x15081a=he(),_0x236704=At(),_0x2b3d69=Pe(),{GUID:_0x4e5ba5,kWebSocket:_0xd63083}=H(),_0x4deed6=/^[+/0-9A-Za-z]{22}==$/,_0x28a1b1=0x0,_0x17a132=0x1,_0x3b448b=0x2;class _0x179ce9 extends _0x4a1b95{constructor(_0x5f1767,_0x2f9ae1){const _0x57ab43=_0x2b98;if(super(),_0x5f1767={'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':_0x2b3d69,..._0x5f1767},_0x5f1767[_0x57ab43(0x223)]==null&&!_0x5f1767['server']&&!_0x5f1767['noServer']||_0x5f1767[_0x57ab43(0x223)]!=null&&(_0x5f1767[_0x57ab43(0x108)]||_0x5f1767[_0x57ab43(0x1ef)])||_0x5f1767[_0x57ab43(0x108)]&&_0x5f1767[_0x57ab43(0x1ef)])throw new TypeError(_0x57ab43(0x204));if(_0x5f1767['port']!=null?(this['_server']=_0x1a04d0[_0x57ab43(0x1d1)]((_0x5dda68,_0x501e54)=>{const _0x54b583=_0x57ab43,_0x4efba5=_0x1a04d0[_0x54b583(0x21c)][0x1aa];_0x501e54[_0x54b583(0x20b)](0x1aa,{'Content-Length':_0x4efba5[_0x54b583(0x1ed)],'Content-Type':_0x54b583(0x17e)}),_0x501e54[_0x54b583(0x17a)](_0x4efba5);}),this[_0x57ab43(0x219)][_0x57ab43(0x12e)](_0x5f1767[_0x57ab43(0x223)],_0x5f1767[_0x57ab43(0x116)],_0x5f1767[_0x57ab43(0x158)],_0x2f9ae1)):_0x5f1767[_0x57ab43(0x108)]&&(this[_0x57ab43(0x219)]=_0x5f1767[_0x57ab43(0x108)]),this['_server']){const _0x2ac3b9=this[_0x57ab43(0x2bf)][_0x57ab43(0x126)](this,'connection');this[_0x57ab43(0x2a2)]=_0x4476e4(this[_0x57ab43(0x219)],{'listening':this['emit']['bind'](this,_0x57ab43(0x233)),'error':this[_0x57ab43(0x2bf)][_0x57ab43(0x126)](this,_0x57ab43(0x1a6)),'upgrade':(_0xd9f270,_0x43e591,_0x2f0695)=>{const _0x5539a2=_0x57ab43;this[_0x5539a2(0x12c)](_0xd9f270,_0x43e591,_0x2f0695,_0x2ac3b9);}});}_0x5f1767[_0x57ab43(0x2c0)]===!0x0&&(_0x5f1767[_0x57ab43(0x2c0)]={}),_0x5f1767[_0x57ab43(0x235)]&&(this[_0x57ab43(0x1c9)]=new Set(),this[_0x57ab43(0x194)]=!0x1),this[_0x57ab43(0x261)]=_0x5f1767,this[_0x57ab43(0x1ea)]=_0x28a1b1;}[_0x10fde0(0x1a8)](){const _0x44627e=_0x10fde0;if(this[_0x44627e(0x261)]['noServer'])throw new Error(_0x44627e(0x24d));return this[_0x44627e(0x219)]?this['_server'][_0x44627e(0x1a8)]():null;}[_0x10fde0(0x22e)](_0x112d89){const _0x1ba464=_0x10fde0;if(this[_0x1ba464(0x1ea)]===_0x3b448b){_0x112d89&&this[_0x1ba464(0x28b)](_0x1ba464(0x22e),()=>{const _0x4c6e01=_0x1ba464;_0x112d89(new Error(_0x4c6e01(0x1f4)));}),process[_0x1ba464(0x1d7)](_0x1fb9d3,this);return;}if(_0x112d89&&this[_0x1ba464(0x28b)]('close',_0x112d89),this['_state']!==_0x17a132){if(this[_0x1ba464(0x1ea)]=_0x17a132,this[_0x1ba464(0x261)][_0x1ba464(0x1ef)]||this[_0x1ba464(0x261)][_0x1ba464(0x108)])this[_0x1ba464(0x219)]&&(this['_removeListeners'](),this[_0x1ba464(0x2a2)]=this[_0x1ba464(0x219)]=null),this[_0x1ba464(0x1c9)]?this['clients'][_0x1ba464(0xfb)]?this[_0x1ba464(0x194)]=!0x0:process['nextTick'](_0x1fb9d3,this):process[_0x1ba464(0x1d7)](_0x1fb9d3,this);else{const _0x5dd28d=this[_0x1ba464(0x219)];this[_0x1ba464(0x2a2)](),this[_0x1ba464(0x2a2)]=this['_server']=null,_0x5dd28d[_0x1ba464(0x22e)](()=>{_0x1fb9d3(this);});}}}[_0x10fde0(0x2b4)](_0x210b00){const _0x124b5c=_0x10fde0;if(this[_0x124b5c(0x261)][_0x124b5c(0x2bb)]){const _0x4f4be6=_0x210b00['url']['indexOf']('?');if((_0x4f4be6!==-0x1?_0x210b00['url']['slice'](0x0,_0x4f4be6):_0x210b00['url'])!==this[_0x124b5c(0x261)][_0x124b5c(0x2bb)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303){const _0x269f2c=_0x10fde0;_0x1a6a8c['on'](_0x269f2c(0x1a6),_0x23a2e4);const _0x5d1181=_0x3c3285[_0x269f2c(0x159)][_0x269f2c(0x289)],_0x4f3e85=_0x3c3285[_0x269f2c(0x159)]['upgrade'],_0x1c8c2f=+_0x3c3285[_0x269f2c(0x159)][_0x269f2c(0x21b)];if(_0x3c3285[_0x269f2c(0xfd)]!==_0x269f2c(0x18d)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x195,_0x269f2c(0x216));return;}if(_0x4f3e85===void 0x0||_0x4f3e85[_0x269f2c(0x18b)]()!==_0x269f2c(0x10b)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0xf1));return;}if(_0x5d1181===void 0x0||!_0x4deed6[_0x269f2c(0x1ae)](_0x5d1181)){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x229));return;}if(_0x1c8c2f!==0xd&&_0x1c8c2f!==0x8){_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x15a),{'Sec-WebSocket-Version':_0x269f2c(0x123)});return;}if(!this[_0x269f2c(0x2b4)](_0x3c3285)){_0x2fc421(_0x1a6a8c,0x190);return;}const _0x5dc0bd=_0x3c3285['headers']['sec-websocket-protocol'];let _0x3bc159=new Set();if(_0x5dc0bd!==void 0x0)try{_0x3bc159=_0x236704['parse'](_0x5dc0bd);}catch{_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x16d));return;}const _0x1221c9=_0x3c3285['headers'][_0x269f2c(0x294)],_0x4483f6={};if(this[_0x269f2c(0x261)][_0x269f2c(0x2c0)]&&_0x1221c9!==void 0x0){const _0x15cab8=new _0x15081a(this[_0x269f2c(0x261)][_0x269f2c(0x2c0)],!0x0,this[_0x269f2c(0x261)][_0x269f2c(0x205)]);try{const _0x443599=_0x31e098[_0x269f2c(0xf4)](_0x1221c9);_0x443599[_0x15081a['extensionName']]&&(_0x15cab8[_0x269f2c(0x2b0)](_0x443599[_0x15081a['extensionName']]),_0x4483f6[_0x15081a[_0x269f2c(0x1bb)]]=_0x15cab8);}catch{_0x5b2fb4(this,_0x3c3285,_0x1a6a8c,0x190,_0x269f2c(0x20a));return;}}if(this[_0x269f2c(0x261)]['verifyClient']){const _0x47aa1d={'origin':_0x3c3285[_0x269f2c(0x159)][''+(_0x1c8c2f===0x8?_0x269f2c(0x25a):_0x269f2c(0x269))],'secure':!!(_0x3c3285['socket'][_0x269f2c(0x138)]||_0x3c3285['socket'][_0x269f2c(0x259)]),'req':_0x3c3285};if(this[_0x269f2c(0x261)][_0x269f2c(0x275)][_0x269f2c(0x1ed)]===0x2){this[_0x269f2c(0x261)][_0x269f2c(0x275)](_0x47aa1d,(_0xc3f101,_0x235554,_0x13241c,_0x3e0b05)=>{if(!_0xc3f101)return _0x2fc421(_0x1a6a8c,_0x235554||0x191,_0x13241c,_0x3e0b05);this['completeUpgrade'](_0x4483f6,_0x5d1181,_0x3bc159,_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303);});return;}if(!this['options'][_0x269f2c(0x275)](_0x47aa1d))return _0x2fc421(_0x1a6a8c,0x191);}this[_0x269f2c(0x193)](_0x4483f6,_0x5d1181,_0x3bc159,_0x3c3285,_0x1a6a8c,_0x6de8d4,_0x3d8303);}[_0x10fde0(0x193)](_0x4fce7d,_0x1f4d47,_0x1055fa,_0x2066bb,_0x2b225a,_0x258e9e,_0x394805){const _0x32fb4b=_0x10fde0;if(!_0x2b225a[_0x32fb4b(0x2ab)]||!_0x2b225a['writable'])return _0x2b225a[_0x32fb4b(0x2bd)]();if(_0x2b225a[_0xd63083])throw new Error(_0x32fb4b(0xf8));if(this[_0x32fb4b(0x1ea)]>_0x28a1b1)return _0x2fc421(_0x2b225a,0x1f7);const _0x57b6c3=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x32fb4b(0xff),_0x32fb4b(0x1dd),_0x32fb4b(0x139)+_0x5e55fe(_0x32fb4b(0x24f))[_0x32fb4b(0x277)](_0x1f4d47+_0x4e5ba5)[_0x32fb4b(0x118)](_0x32fb4b(0x114))],_0x3d3f3d=new this['options'][(_0x32fb4b(0x1f6))](null,void 0x0,this[_0x32fb4b(0x261)]);if(_0x1055fa['size']){const _0x4aed5a=this[_0x32fb4b(0x261)][_0x32fb4b(0x1c8)]?this[_0x32fb4b(0x261)][_0x32fb4b(0x1c8)](_0x1055fa,_0x2066bb):_0x1055fa[_0x32fb4b(0x100)]()[_0x32fb4b(0x1bc)]()[_0x32fb4b(0x21e)];_0x4aed5a&&(_0x57b6c3[_0x32fb4b(0xec)](_0x32fb4b(0x252)+_0x4aed5a),_0x3d3f3d[_0x32fb4b(0x22b)]=_0x4aed5a);}if(_0x4fce7d[_0x15081a['extensionName']]){const _0x556e4b=_0x4fce7d[_0x15081a[_0x32fb4b(0x1bb)]][_0x32fb4b(0x232)],_0x53083b=_0x31e098[_0x32fb4b(0x129)]({[_0x15081a[_0x32fb4b(0x1bb)]]:[_0x556e4b]});_0x57b6c3[_0x32fb4b(0xec)](_0x32fb4b(0x268)+_0x53083b),_0x3d3f3d['_extensions']=_0x4fce7d;}this[_0x32fb4b(0x2bf)](_0x32fb4b(0x159),_0x57b6c3,_0x2066bb),_0x2b225a['write'](_0x57b6c3[_0x32fb4b(0x18a)]('\x0d\x0a')[_0x32fb4b(0x201)]('\x0d\x0a')),_0x2b225a[_0x32fb4b(0x2a7)](_0x32fb4b(0x1a6),_0x23a2e4),_0x3d3f3d[_0x32fb4b(0x10f)](_0x2b225a,_0x258e9e,{'allowSynchronousEvents':this[_0x32fb4b(0x261)]['allowSynchronousEvents'],'maxPayload':this[_0x32fb4b(0x261)][_0x32fb4b(0x205)],'skipUTF8Validation':this['options'][_0x32fb4b(0x152)]}),this[_0x32fb4b(0x1c9)]&&(this[_0x32fb4b(0x1c9)][_0x32fb4b(0x26c)](_0x3d3f3d),_0x3d3f3d['on'](_0x32fb4b(0x22e),()=>{const _0x402f07=_0x32fb4b;this[_0x402f07(0x1c9)][_0x402f07(0x25b)](_0x3d3f3d),this[_0x402f07(0x194)]&&!this[_0x402f07(0x1c9)][_0x402f07(0xfb)]&&process[_0x402f07(0x1d7)](_0x1fb9d3,this);})),_0x394805(_0x3d3f3d,_0x2066bb);}}Te=_0x179ce9;function _0x4476e4(_0x3c09e9,_0x45d414){const _0x2ff7e3=_0x10fde0;for(const _0x4c8b80 of Object[_0x2ff7e3(0x174)](_0x45d414))_0x3c09e9['on'](_0x4c8b80,_0x45d414[_0x4c8b80]);return function(){const _0x371b74=_0x2ff7e3;for(const _0xd0354f of Object[_0x371b74(0x174)](_0x45d414))_0x3c09e9[_0x371b74(0x2a7)](_0xd0354f,_0x45d414[_0xd0354f]);};}function _0x1fb9d3(_0x546585){const _0xa1509e=_0x10fde0;_0x546585[_0xa1509e(0x1ea)]=_0x3b448b,_0x546585[_0xa1509e(0x2bf)](_0xa1509e(0x22e));}function _0x23a2e4(){const _0x65d86f=_0x10fde0;this[_0x65d86f(0x2bd)]();}function _0x2fc421(_0x4e43a2,_0x4ed3f6,_0x11fd3a,_0x3c089f){const _0x335de2=_0x10fde0;_0x11fd3a=_0x11fd3a||_0x1a04d0[_0x335de2(0x21c)][_0x4ed3f6],_0x3c089f={'Connection':_0x335de2(0x22e),'Content-Type':_0x335de2(0x2ba),'Content-Length':Buffer[_0x335de2(0x295)](_0x11fd3a),..._0x3c089f},_0x4e43a2['once'](_0x335de2(0x293),_0x4e43a2[_0x335de2(0x2bd)]),_0x4e43a2[_0x335de2(0x17a)](_0x335de2(0x23c)+_0x4ed3f6+'\x20'+_0x1a04d0['STATUS_CODES'][_0x4ed3f6]+'\x0d\x0a'+Object[_0x335de2(0x174)](_0x3c089f)[_0x335de2(0x1f1)](_0x3679f1=>_0x3679f1+':\x20'+_0x3c089f[_0x3679f1])[_0x335de2(0x201)]('\x0d\x0a')+_0x335de2(0x247)+_0x11fd3a);}function _0x5b2fb4(_0x418774,_0x4e6a99,_0x4f6f4b,_0x5e9911,_0x50365f,_0x1cd4ef){const _0x364616=_0x10fde0;if(_0x418774[_0x364616(0x1e9)](_0x364616(0x20e))){const _0xeceaf5=new Error(_0x50365f);Error[_0x364616(0x14a)](_0xeceaf5,_0x5b2fb4),_0x418774[_0x364616(0x2bf)](_0x364616(0x20e),_0xeceaf5,_0x4f6f4b,_0x4e6a99);}else _0x2fc421(_0x4f6f4b,_0x5e9911,_0x50365f,_0x1cd4ef);}return Te;}Ft();var jt=Object[_0x421888(0x146)],Wt=(_0x168a5d,_0x2a3648,_0x4b6004,_0x3f0746)=>{const _0x349587=_0x421888;for(var _0x59547e=_0x3f0746>0x1?void 0x0:_0x3f0746?jt(_0x2a3648,_0x4b6004):_0x2a3648,_0x30912d=_0x168a5d[_0x349587(0x1ed)]-0x1,_0xe7c4f2;_0x30912d>=0x0;_0x30912d--)(_0xe7c4f2=_0x168a5d[_0x30912d])&&(_0x59547e=_0xe7c4f2(_0x59547e)||_0x59547e);return _0x59547e;},qt=(_0x18bff4,_0x1d560f)=>(_0x125ce9,_0x1ff630)=>_0x1d560f(_0x125ce9,_0x1ff630,_0x18bff4);let ke=class extends A['Disposable']{constructor(_0x30d7d5){const _0x5407ab=_0x421888;super(),this[_0x5407ab(0xf7)]=_0x30d7d5;}[_0x421888(0x23b)](_0x466f2f){const _0x639534=_0x421888;var _0x586b9e;const _0x682dae=(_0x586b9e=this[_0x639534(0xf7)][_0x639534(0x175)](fe))==null?void 0x0:_0x586b9e['customHeaders'];try{const _0x1853a7=new $t(_0x466f2f,{'headers':{..._0x682dae}}),_0x11cdc2=new A[(_0x639534(0x237))]();return{'URL':_0x466f2f,'close':(_0x3110ea,_0x5a04c2)=>{const _0x553710=_0x639534;_0x1853a7[_0x553710(0x22e)](_0x3110ea,_0x5a04c2),_0x11cdc2[_0x553710(0x10e)]();},'send':_0x2b70da=>{const _0x1036ad=_0x639534;_0x1853a7[_0x1036ad(0xf6)](_0x2b70da);},'open$':new V[(_0x639534(0x29e))](_0x4c4455=>{const _0x45112c=_0x639534,_0x118174=_0x114c9d=>_0x4c4455[_0x45112c(0x1bc)](_0x114c9d);_0x1853a7[_0x45112c(0x191)](_0x45112c(0x2a4),_0x118174),_0x11cdc2['add'](A[_0x45112c(0x2c4)](()=>_0x1853a7[_0x45112c(0x1b6)](_0x45112c(0x2a4),_0x118174)));})[_0x639534(0x2a9)](V['share']()),'close$':new V['Observable'](_0x47c5da=>{const _0x4fbba5=_0x639534,_0x3295a3=_0x4a6765=>_0x47c5da[_0x4fbba5(0x1bc)](_0x4a6765);_0x1853a7['addEventListener'](_0x4fbba5(0x22e),_0x3295a3),_0x11cdc2[_0x4fbba5(0x26c)](A[_0x4fbba5(0x2c4)](()=>_0x1853a7[_0x4fbba5(0x1b6)](_0x4fbba5(0x22e),_0x3295a3)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]()),'error$':new V['Observable'](_0x19ec99=>{const _0x35a01b=_0x639534,_0x4ecc13=_0x4fbac7=>_0x19ec99['next'](_0x4fbac7);_0x1853a7['addEventListener'](_0x35a01b(0x1a6),_0x4ecc13),_0x11cdc2[_0x35a01b(0x26c)](A['toDisposable'](()=>_0x1853a7[_0x35a01b(0x1b6)]('error',_0x4ecc13)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]()),'message$':new V[(_0x639534(0x29e))](_0x4eadee=>{const _0x20cf09=_0x639534,_0x3a4573=_0x58a44b=>_0x4eadee[_0x20cf09(0x1bc)](_0x58a44b);_0x1853a7[_0x20cf09(0x191)](_0x20cf09(0x16a),_0x3a4573),_0x11cdc2[_0x20cf09(0x26c)](A['toDisposable'](()=>_0x1853a7[_0x20cf09(0x1b6)](_0x20cf09(0x16a),_0x3a4573)));})[_0x639534(0x2a9)](V[_0x639534(0x287)]())};}catch(_0x50cd3d){return console['error'](_0x50cd3d),null;}}};ke=Wt([qt(0x0,A[_0x421888(0x160)])],ke);var Gt=Object[_0x421888(0x16f)],Vt=Object[_0x421888(0x146)],Ht=(_0x1ff248,_0x347d12,_0x4d9424)=>_0x347d12 in _0x1ff248?Gt(_0x1ff248,_0x347d12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d9424}):_0x1ff248[_0x347d12]=_0x4d9424,zt=(_0x5e30ba,_0x1a4031,_0x48af01,_0x522a30)=>{const _0x52084e=_0x421888;for(var _0x30a741=_0x522a30>0x1?void 0x0:_0x522a30?Vt(_0x1a4031,_0x48af01):_0x1a4031,_0x2c0b56=_0x5e30ba[_0x52084e(0x1ed)]-0x1,_0x34b683;_0x2c0b56>=0x0;_0x2c0b56--)(_0x34b683=_0x5e30ba[_0x2c0b56])&&(_0x30a741=_0x34b683(_0x30a741)||_0x30a741);return _0x30a741;},Ne=(_0x36293b,_0x5c78d6)=>(_0x4d0f5e,_0x2b425a)=>_0x5c78d6(_0x4d0f5e,_0x2b425a,_0x36293b),Yt=(_0x5ab2c2,_0x50bf29,_0x918ab7)=>Ht(_0x5ab2c2,_0x50bf29+'',_0x918ab7);exports[_0x421888(0x22d)]=class extends A[_0x421888(0x2b9)]{constructor(_0xec995c=Ct,_0x3a1492,_0x4645f1,_0x5ce9e3){const _0x29b899=_0x421888;_0xec995c[_0x29b899(0x24e)]||_0x3a1492['warn'](_0x29b899(0x203)),super(),this[_0x29b899(0xf7)]=_0x4645f1,this[_0x29b899(0x253)]=_0x5ce9e3,this[_0x29b899(0xf7)][_0x29b899(0x149)](fe,_0xec995c);}[_0x421888(0x1df)](){const _0x1069a3=_0x421888;this[_0x1069a3(0x185)]();}[_0x421888(0x185)](){const _0x1949a4=_0x421888;A[_0x1949a4(0x186)](this[_0x1949a4(0x253)],[[it[_0x1949a4(0x19b)],{'useClass':ke}]]);}},Yt(exports[_0x421888(0x22d)],_0x421888(0x20d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x421888(0x22d)]=zt([A[_0x421888(0x136)](st[_0x421888(0x200)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x421888(0xf2)](A[_0x421888(0x260)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0xc3ec4b,_0x52ffe3,_0x110242,_0x370d2f)=>{const _0x462520=_0x421888;for(var _0x22518c=_0x370d2f>0x1?void 0x0:_0x370d2f?Kt(_0x52ffe3,_0x110242):_0x52ffe3,_0x2616f7=_0xc3ec4b[_0x462520(0x1ed)]-0x1,_0x4f8066;_0x2616f7>=0x0;_0x2616f7--)(_0x4f8066=_0xc3ec4b[_0x2616f7])&&(_0x22518c=_0x4f8066(_0x22518c)||_0x22518c);return _0x22518c;},ne=(_0x51cf76,_0xea9e4e)=>(_0x23dc6c,_0x394b26)=>_0xea9e4e(_0x23dc6c,_0x394b26,_0x51cf76);exports[_0x421888(0x246)]=class extends st[_0x421888(0x11c)]{constructor(_0x1c1324,_0xbec32c,_0x2cafa6,_0x4472eb,_0x53d183){const _0x24f136=_0x421888;super(_0x1c1324,_0xbec32c,_0x2cafa6,_0x4472eb,_0x53d183);const _0x20493b=this[_0x24f136(0xf7)]['getConfig'](fe);this[_0x24f136(0x23f)]['registerHTTPInterceptor']({'interceptor':(_0x142c0a,_0x18a554)=>{const _0x46358b=_0x24f136;var _0xee86f1;const _0x3c3046=_0x142c0a[_0x46358b(0x159)];return(_0xee86f1=_0x20493b==null?void 0x0:_0x20493b[_0x46358b(0x24e)])!=null&&_0xee86f1['cookie']&&_0x3c3046['set'](_0x46358b(0x249),_0x20493b[_0x46358b(0x24e)][_0x46358b(0xfa)]),_0x18a554(_0x142c0a);}});}async[_0x421888(0x23b)](_0x37d0f4){const _0x25e1dd=_0x421888;return this[_0x25e1dd(0x1b7)](_0x37d0f4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x421888(0xf2)](A[_0x421888(0x260)])),ne(0x1,A['Inject'](it[_0x421888(0x1f3)])),ne(0x2,A[_0x421888(0x160)]),ne(0x3,A[_0x421888(0x171)]),ne(0x4,Ot[_0x421888(0x168)])],exports['NodeCollaborationSocketService']),exports[_0x421888(0x1b8)]=fe;