@univerjs-pro/collaboration-client-node 0.10.5 → 0.10.6-experimental.20250903-f52e3bf

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 _0x230e5d=_0x571c;(function(_0x222b60,_0x46f06f){const _0x2ee6f3=_0x571c,_0x4216b5=_0x222b60();while(!![]){try{const _0x2f199f=parseInt(_0x2ee6f3(0x2fe))/0x1+-parseInt(_0x2ee6f3(0x213))/0x2+parseInt(_0x2ee6f3(0x179))/0x3+-parseInt(_0x2ee6f3(0x1c7))/0x4+-parseInt(_0x2ee6f3(0x2ed))/0x5+-parseInt(_0x2ee6f3(0x2e7))/0x6*(parseInt(_0x2ee6f3(0x1b0))/0x7)+parseInt(_0x2ee6f3(0x2ae))/0x8*(parseInt(_0x2ee6f3(0x305))/0x9);if(_0x2f199f===_0x46f06f)break;else _0x4216b5['push'](_0x4216b5['shift']());}catch(_0xba09a9){_0x4216b5['push'](_0x4216b5['shift']());}}}(_0x8247,0xdebcb));Object[_0x230e5d(0x2a5)](exports,Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)});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=_0x230e5d(0x231),Ct={'customHeaders':{}};function Tt(_0x4ee639){const _0x1334c4=_0x230e5d;return _0x4ee639&&_0x4ee639[_0x1334c4(0x235)]&&Object['prototype'][_0x1334c4(0x1fa)][_0x1334c4(0x1d0)](_0x4ee639,'default')?_0x4ee639[_0x1334c4(0x1a2)]:_0x4ee639;}function at(_0x39729a){const _0x33b9b=_0x230e5d;if(Object['prototype'][_0x33b9b(0x1fa)][_0x33b9b(0x1d0)](_0x39729a,_0x33b9b(0x235)))return _0x39729a;var _0x1f4bb=_0x39729a[_0x33b9b(0x1a2)];if(typeof _0x1f4bb==_0x33b9b(0x220)){var _0x584f07=function _0x49775c(){const _0x2fa970=_0x33b9b;var _0x257e15=!0x1;try{_0x257e15=this instanceof _0x49775c;}catch{}return _0x257e15?Reflect[_0x2fa970(0x250)](_0x1f4bb,arguments,this[_0x2fa970(0x1cc)]):_0x1f4bb[_0x2fa970(0x19f)](this,arguments);};_0x584f07[_0x33b9b(0x23d)]=_0x1f4bb[_0x33b9b(0x23d)];}else _0x584f07={};return Object[_0x33b9b(0x2a5)](_0x584f07,'__esModule',{'value':!0x0}),Object[_0x33b9b(0x161)](_0x39729a)[_0x33b9b(0x271)](function(_0x2d5b6a){const _0x123ab9=_0x33b9b;var _0x4dbef2=Object[_0x123ab9(0x261)](_0x39729a,_0x2d5b6a);Object[_0x123ab9(0x2a5)](_0x584f07,_0x2d5b6a,_0x4dbef2['get']?_0x4dbef2:{'enumerable':!0x0,'get':function(){return _0x39729a[_0x2d5b6a];}});}),_0x584f07;}function _0x571c(_0x3cc063,_0x22dcb6){const _0x824713=_0x8247();return _0x571c=function(_0x571c36,_0x51db1d){_0x571c36=_0x571c36-0x160;let _0x296e0f=_0x824713[_0x571c36];return _0x296e0f;},_0x571c(_0x3cc063,_0x22dcb6);}var se={'exports':{}},ge,Ge;function H(){const _0x41211b=_0x230e5d;if(Ge)return ge;Ge=0x1;const _0x2c5916=[_0x41211b(0x214),_0x41211b(0x197),'fragments'],_0x1d30df=typeof Blob<'u';return _0x1d30df&&_0x2c5916[_0x41211b(0x303)]('blob'),ge={'BINARY_TYPES':_0x2c5916,'EMPTY_BUFFER':Buffer[_0x41211b(0x30f)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x1d30df,'kForOnEventAttribute':Symbol(_0x41211b(0x2a7)),'kListener':Symbol(_0x41211b(0x224)),'kStatusCode':Symbol(_0x41211b(0x298)),'kWebSocket':Symbol(_0x41211b(0x187)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Nt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Lt=at(kt);var Ve;function ce(){const _0x17f831=_0x230e5d;if(Ve)return se[_0x17f831(0x1ad)];Ve=0x1;const {EMPTY_BUFFER:_0x24570a}=H(),_0x1be110=Buffer[Symbol['species']];function _0xe165ab(_0x36eecf,_0x378277){const _0xfc1ccf=_0x17f831;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x0)return _0x24570a;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x1)return _0x36eecf[0x0];const _0x110add=Buffer[_0xfc1ccf(0x199)](_0x378277);let _0x5c35a3=0x0;for(let _0x3104fb=0x0;_0x3104fb<_0x36eecf['length'];_0x3104fb++){const _0x10590b=_0x36eecf[_0x3104fb];_0x110add[_0xfc1ccf(0x275)](_0x10590b,_0x5c35a3),_0x5c35a3+=_0x10590b[_0xfc1ccf(0x2d0)];}return _0x5c35a3<_0x378277?new _0x1be110(_0x110add[_0xfc1ccf(0x2bd)],_0x110add['byteOffset'],_0x5c35a3):_0x110add;}function _0x5d64cb(_0x17b6f4,_0xdd8a,_0x106a30,_0x483992,_0x289216){for(let _0x10eb68=0x0;_0x10eb68<_0x289216;_0x10eb68++)_0x106a30[_0x483992+_0x10eb68]=_0x17b6f4[_0x10eb68]^_0xdd8a[_0x10eb68&0x3];}function _0x250a8b(_0x53c3c1,_0x1e6509){for(let _0x348d73=0x0;_0x348d73<_0x53c3c1['length'];_0x348d73++)_0x53c3c1[_0x348d73]^=_0x1e6509[_0x348d73&0x3];}function _0x134289(_0x52112b){const _0x46856f=_0x17f831;return _0x52112b[_0x46856f(0x2d0)]===_0x52112b[_0x46856f(0x2bd)]['byteLength']?_0x52112b['buffer']:_0x52112b[_0x46856f(0x2bd)][_0x46856f(0x26d)](_0x52112b[_0x46856f(0x295)],_0x52112b[_0x46856f(0x295)]+_0x52112b['length']);}function _0x4cecac(_0x234200){const _0x3044db=_0x17f831;if(_0x4cecac[_0x3044db(0x219)]=!0x0,Buffer['isBuffer'](_0x234200))return _0x234200;let _0x3cff62;return _0x234200 instanceof ArrayBuffer?_0x3cff62=new _0x1be110(_0x234200):ArrayBuffer[_0x3044db(0x2cb)](_0x234200)?_0x3cff62=new _0x1be110(_0x234200[_0x3044db(0x2bd)],_0x234200[_0x3044db(0x295)],_0x234200[_0x3044db(0x23e)]):(_0x3cff62=Buffer[_0x3044db(0x316)](_0x234200),_0x4cecac[_0x3044db(0x219)]=!0x1),_0x3cff62;}if(se[_0x17f831(0x1ad)]={'concat':_0xe165ab,'mask':_0x5d64cb,'toArrayBuffer':_0x134289,'toBuffer':_0x4cecac,'unmask':_0x250a8b},!process[_0x17f831(0x2dd)][_0x17f831(0x246)])try{const _0x337eca=Lt;se['exports'][_0x17f831(0x1ea)]=function(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01){const _0x1d6d60=_0x17f831;_0x2d0d01<0x30?_0x5d64cb(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01):_0x337eca[_0x1d6d60(0x1ea)](_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01);},se[_0x17f831(0x1ad)][_0x17f831(0x183)]=function(_0x214af2,_0x2ba993){const _0x3265be=_0x17f831;_0x214af2['length']<0x20?_0x250a8b(_0x214af2,_0x2ba993):_0x337eca[_0x3265be(0x183)](_0x214af2,_0x2ba993);};}catch{}return se[_0x17f831(0x1ad)];}function _0x8247(){const _0x3fbe0f=['createError','kDone','154MKqOBt','isValidUTF8','Server\x20sent\x20an\x20invalid\x20subprotocol','threshold','removeListener','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_binaryType','indexOf','_errorEmitted','hostname','conclude','decompress','error','auth','invalid\x20opcode\x20','_paused','split','redirect','_compress','_readyState','_isServer','concurrencyLimit','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','868972FkRIAa','The\x20server\x20is\x20not\x20running','setTimeout','then','addEventListener','constructor','customHeaders','followRedirects','HTTP/1.1\x20101\x20Switching\x20Protocols','call','errorEmitted','has','\x22:\x20','parse','response','handshakeTimeout','pong','finishRequest','charCodeAt','pipe','Z_SYNC_FLUSH','freeze','toStringTag','File','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','headers','_skipUTF8Validation','once','maxRedirects','string','Parameter\x20\x22','createConnection','_originalIpc','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Inject','mask','concurrency','Invalid\x20Sec-WebSocket-Accept\x20header','completeUpgrade','sec-websocket-protocol','destroyed','sec-websocket-accept','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Opening\x20handshake\x20has\x20timed\x20out','createDeflateRaw','_no_context_takeover','emitClose','bind','getBlobData','_masked','test','hasOwnProperty','socket','number','_closeTimer','createServer','setNoDelay','getPayloadLength16','binaryType','pathname','socketPath','_closeFrameReceived','Max\x20payload\x20size\x20exceeded','statusCode','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isArray','code','_shouldEmitClose','target','toString','_messageLength','values','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','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x200','3367748jxGPtg','nodebuffer','encrypted','13,\x208','onmessage','sec-websocket-origin','readOnly','createInflateRaw','Disposable','isInteger','finished','find','extensions','function','client_no_context_takeover','cork','Upgrade','kListener','_buffers','Invalid\x20URL:\x20','arrayBuffer','sha1','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','accept','object','clients','Invalid\x20value\x20for\x20parameter\x20\x22','setSocket','maskBuffer','collaboration-client-node.config','client_max_window_bits','generateMask','emit','__esModule','startLoop','handleEvent','cookie','nextTick','unexpected-response','handleUpgrade','url','prototype','byteLength','noServer','sendFrame','Z_DEFAULT_WINDOWBITS','share','serverNoContextTakeover','join','_protocol','WS_NO_BUFFER_UTIL','acceptAsServer','getConfig','uncork','_injector','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getData','CONNECTING','end','defaultPort','construct','_totalPayloadLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20UTF-8\x20sequence','_url','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_allowSynchronousEvents','extensionName','upgrade','_decompress','_writableState','options','_fin','_receiver','digest','_originalSecure','Sec-WebSocket-Protocol:\x20','getOwnPropertyDescriptor','_mask','next','_compressed','_generateMask','address','readyState','_removeListeners','serverMaxWindowBits','base64','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','shouldHandle','slice','wasClean','Plugin','WS_ERR_INVALID_OPCODE','forEach','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kMessage','wss:','set','format','getMask','search','text/plain','write','Connection:\x20Upgrade','href','_req','Observable','UniverCollaborationClientNodePlugin','https:','concat','setHeader','allowSynchronousEvents','WS_ERR_INVALID_UTF8','kError','send','kType','zlibDeflateOptions','timeout','skipUTF8Validation','verifyClient','WebSocket','terminate','wsClientError','WS_ERR_UNEXPECTED_MASK','server_no_context_takeover','CLOSED','_registerDependencies','Invalid\x20WebSocket\x20frame:\x20','protocolVersion','byteOffset','finish','_max_window_bits','status-code','port','listenerCount','_destroy','data','origin','_deflate','Blob','_loop','_read','close','total-length','captureStackTrace','defineProperty','MASK\x20must\x20be\x20set','kIsForOnEventAttribute','getInfo','_sender','Module','jobs','path','_final','528EXpwVB','dispatch','map','listen','createSocket','perMessageDeflate','\x20(supported\x20versions:\x20','kTarget','cleanup','update','authorized','params','Maximum\x20redirects\x20exceeded','Upgrade:\x20websocket','reset','buffer','value','reason','_closeMessage','pluginName','type','Sec-WebSocket-Origin','message','acceptAsClient','_bufferedAmount','_readableState','_server','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','create','isView','_errored','protocol','listeners','_redirects','length','WS_ERR_EXPECTED_MASK','DisposableCollection','_socket','_state','registerDependencies','enqueue','flush','rsv1','isPaused','pending','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','OPEN','env','offer','abort','sec-websocket-extensions','haveLength','WS_NO_UTF_8_VALIDATE','maxPayload','WS_ERR_UNEXPECTED_RSV_1','The\x20\x22','read','21498vZmPzM','destroy','Origin','isIP','objectMode','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','8856830VXwNqa','CLOSING','_inflate','server_max_window_bits','_closeFrameSent','COLLABORATION_CLIENT_NODE_CONFIG_KEY','startsWith','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','onStarting','\x22\x20subprotocol\x20is\x20duplicated','handleProtocols','consume','kCode','CollaborationSocketService','pause','shift','toLowerCase','1069419xBaXgR','Unknown\x20parameter\x20\x22','removeEventListener','host','server','push','pow','344151rWYTwu','resume','readUInt32BE','_payloadLength','callback','dispose','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','HTTPService','WS_ERR_EXPECTED_FIN','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','alloc','onopen','_opcode','method','request','_write','onclose','from','catch','clientMaxWindowBits','username','keys','Invalid\x20HTTP\x20method','add','STATUS_CODES','frame','NodeCollaborationSocketService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','ping','Unexpected\x20server\x20response:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeCode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_options','IConfigService','readUInt16BE','endEmitted','species','ILogService','replace','_fragments','invalid\x20payload\x20length\x20','_doCreateSocket','3211341ZjrTtP','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','toDisposable','_extensions','dataMessage','_maskBuffer','WS_ERR_INVALID_CLOSE_CODE','ws:','zlibInflateOptions','kAborted','unmask','_queue','open','onerror','websocket','Injector','password','unshift','autoPong','connection','fin','clientNoContextTakeover','writeHead','Sec-WebSocket-Extensions:\x20','Sec-WebSocket-Accept:\x20','binary','_maxPayload','HTTP/1.1\x20','_bufferedBytes','Sec-WebSocket-Protocol','arraybuffer','compress','allocUnsafe','_configService','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20Upgrade\x20header','kWasClean','kReason','apply','client','Unexpected\x20character\x20at\x20index\x20','default','_fragmented','isServer','_firstFragment','servername','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_threshold','WS_ERR_UNEXPECTED_RSV_2_3','ISnapshotServerService','dequeue','size','exports'];_0x8247=function(){return _0x3fbe0f;};return _0x8247();}var ye,He;function Pt(){const _0x2f7967=_0x230e5d;if(He)return ye;He=0x1;const _0x26efcd=Symbol(_0x2f7967(0x1af)),_0x504816=Symbol('kRun');class _0x15bbac{constructor(_0x1a17b2){const _0x27222e=_0x2f7967;this[_0x26efcd]=()=>{const _0x7cc4fe=_0x571c;this[_0x7cc4fe(0x2da)]--,this[_0x504816]();},this[_0x27222e(0x1eb)]=_0x1a17b2||0x1/0x0,this[_0x27222e(0x2ab)]=[],this[_0x27222e(0x2da)]=0x0;}[_0x2f7967(0x163)](_0x563e20){const _0x5618ca=_0x2f7967;this[_0x5618ca(0x2ab)][_0x5618ca(0x303)](_0x563e20),this[_0x504816]();}[_0x504816](){const _0x19938b=_0x2f7967;if(this[_0x19938b(0x2da)]!==this[_0x19938b(0x1eb)]&&this[_0x19938b(0x2ab)][_0x19938b(0x2d0)]){const _0x4464b1=this[_0x19938b(0x2ab)][_0x19938b(0x2fc)]();this[_0x19938b(0x2da)]++,_0x4464b1(this[_0x26efcd]);}}}return ye=_0x15bbac,ye;}var ve,ze;function he(){const _0x3062d9=_0x230e5d;if(ze)return ve;ze=0x1;const _0x5432fa=bt,_0x38d305=ce(),_0x359698=Pt(),{kStatusCode:_0x2b303c}=H(),_0x4d3b94=Buffer[Symbol[_0x3062d9(0x173)]],_0x103b07=Buffer[_0x3062d9(0x316)]([0x0,0x0,0xff,0xff]),_0x503abd=Symbol('permessage-deflate'),_0xe57ee1=Symbol(_0x3062d9(0x2a3)),_0x54fa83=Symbol(_0x3062d9(0x309)),_0x2d54dc=Symbol('buffers'),_0x3ef0c4=Symbol('error');let _0x503dde;class _0xed9628{constructor(_0x1e8ae6,_0x1e9b18,_0x3ff5c8){const _0x218b80=_0x3062d9;if(this['_maxPayload']=_0x3ff5c8|0x0,this[_0x218b80(0x16f)]=_0x1e8ae6||{},this[_0x218b80(0x1a8)]=this[_0x218b80(0x16f)][_0x218b80(0x1b3)]!==void 0x0?this[_0x218b80(0x16f)][_0x218b80(0x1b3)]:0x400,this[_0x218b80(0x1c4)]=!!_0x1e9b18,this['_deflate']=null,this[_0x218b80(0x2ef)]=null,this[_0x218b80(0x2b9)]=null,!_0x503dde){const _0x315857=this[_0x218b80(0x16f)][_0x218b80(0x1c5)]!==void 0x0?this['_options'][_0x218b80(0x1c5)]:0xa;_0x503dde=new _0x359698(_0x315857);}}static get[_0x3062d9(0x257)](){return'permessage-deflate';}[_0x3062d9(0x2de)](){const _0x415866=_0x3062d9,_0x204715={};return this[_0x415866(0x16f)][_0x415866(0x243)]&&(_0x204715[_0x415866(0x290)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x18e)]&&(_0x204715[_0x415866(0x221)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x269)]&&(_0x204715[_0x415866(0x2f0)]=this['_options']['serverMaxWindowBits']),this[_0x415866(0x16f)][_0x415866(0x318)]?_0x204715[_0x415866(0x232)]=this['_options'][_0x415866(0x318)]:this[_0x415866(0x16f)][_0x415866(0x318)]==null&&(_0x204715[_0x415866(0x232)]=!0x0),_0x204715;}['accept'](_0x4777fc){const _0x259e9e=_0x3062d9;return _0x4777fc=this['normalizeParams'](_0x4777fc),this[_0x259e9e(0x2b9)]=this[_0x259e9e(0x1c4)]?this['acceptAsServer'](_0x4777fc):this['acceptAsClient'](_0x4777fc),this['params'];}['cleanup'](){const _0x30e6cf=_0x3062d9;if(this[_0x30e6cf(0x2ef)]&&(this['_inflate'][_0x30e6cf(0x2a2)](),this[_0x30e6cf(0x2ef)]=null),this[_0x30e6cf(0x29e)]){const _0x3dcdfc=this[_0x30e6cf(0x29e)][_0x54fa83];this[_0x30e6cf(0x29e)]['close'](),this[_0x30e6cf(0x29e)]=null,_0x3dcdfc&&_0x3dcdfc(new Error(_0x30e6cf(0x2db)));}}[_0x3062d9(0x247)](_0x4642f7){const _0x2844e6=_0x3062d9,_0x5459b7=this['_options'],_0x51d5f0=_0x4642f7[_0x2844e6(0x21e)](_0x1b2df0=>!(_0x5459b7[_0x2844e6(0x243)]===!0x1&&_0x1b2df0[_0x2844e6(0x290)]||_0x1b2df0[_0x2844e6(0x2f0)]&&(_0x5459b7['serverMaxWindowBits']===!0x1||typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&_0x5459b7[_0x2844e6(0x269)]>_0x1b2df0[_0x2844e6(0x2f0)])||typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)&&!_0x1b2df0['client_max_window_bits']));if(!_0x51d5f0)throw new Error(_0x2844e6(0x1b5));return _0x5459b7[_0x2844e6(0x243)]&&(_0x51d5f0[_0x2844e6(0x290)]=!0x0),_0x5459b7[_0x2844e6(0x18e)]&&(_0x51d5f0[_0x2844e6(0x221)]=!0x0),typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&(_0x51d5f0[_0x2844e6(0x2f0)]=_0x5459b7['serverMaxWindowBits']),typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)?_0x51d5f0[_0x2844e6(0x232)]=_0x5459b7[_0x2844e6(0x318)]:(_0x51d5f0[_0x2844e6(0x232)]===!0x0||_0x5459b7[_0x2844e6(0x318)]===!0x1)&&delete _0x51d5f0['client_max_window_bits'],_0x51d5f0;}[_0x3062d9(0x2c5)](_0x4f648f){const _0x2f9340=_0x3062d9,_0x181910=_0x4f648f[0x0];if(this[_0x2f9340(0x16f)][_0x2f9340(0x18e)]===!0x1&&_0x181910[_0x2f9340(0x221)])throw new Error(_0x2f9340(0x208));if(!_0x181910[_0x2f9340(0x232)])typeof this[_0x2f9340(0x16f)]['clientMaxWindowBits']==_0x2f9340(0x1fc)&&(_0x181910[_0x2f9340(0x232)]=this[_0x2f9340(0x16f)][_0x2f9340(0x318)]);else{if(this[_0x2f9340(0x16f)]['clientMaxWindowBits']===!0x1||typeof this[_0x2f9340(0x16f)][_0x2f9340(0x318)]=='number'&&_0x181910[_0x2f9340(0x232)]>this[_0x2f9340(0x16f)][_0x2f9340(0x318)])throw new Error(_0x2f9340(0x252));}return _0x181910;}['normalizeParams'](_0x2792d2){const _0x32b978=_0x3062d9;return _0x2792d2[_0x32b978(0x271)](_0x284a02=>{const _0x3c9067=_0x32b978;Object[_0x3c9067(0x161)](_0x284a02)[_0x3c9067(0x271)](_0x5339b4=>{const _0x17fe85=_0x3c9067;let _0x1868b9=_0x284a02[_0x5339b4];if(_0x1868b9[_0x17fe85(0x2d0)]>0x1)throw new Error(_0x17fe85(0x1e5)+_0x5339b4+_0x17fe85(0x167));if(_0x1868b9=_0x1868b9[0x0],_0x5339b4==='client_max_window_bits'){if(_0x1868b9!==!0x0){const _0x1ff0b5=+_0x1868b9;if(!Number['isInteger'](_0x1ff0b5)||_0x1ff0b5<0x8||_0x1ff0b5>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x1ff0b5;}else{if(!this['_isServer'])throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}}else{if(_0x5339b4===_0x17fe85(0x2f0)){const _0x288eba=+_0x1868b9;if(!Number[_0x17fe85(0x21c)](_0x288eba)||_0x288eba<0x8||_0x288eba>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x288eba;}else{if(_0x5339b4==='client_no_context_takeover'||_0x5339b4==='server_no_context_takeover'){if(_0x1868b9!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}else throw new Error(_0x17fe85(0x2ff)+_0x5339b4+'\x22');}}_0x284a02[_0x5339b4]=_0x1868b9;});}),_0x2792d2;}[_0x3062d9(0x1bb)](_0x43f0c3,_0x299a77,_0x3045cd){const _0x3a26e3=_0x3062d9;_0x503dde[_0x3a26e3(0x163)](_0x347f6c=>{const _0x194419=_0x3a26e3;this[_0x194419(0x259)](_0x43f0c3,_0x299a77,(_0x1bd73c,_0x4f1edb)=>{_0x347f6c(),_0x3045cd(_0x1bd73c,_0x4f1edb);});});}['compress'](_0x2b34a4,_0x1ac910,_0x44d5a9){const _0x1bf52c=_0x3062d9;_0x503dde[_0x1bf52c(0x163)](_0x2af60d=>{this['_compress'](_0x2b34a4,_0x1ac910,(_0x2d18b9,_0x491334)=>{_0x2af60d(),_0x44d5a9(_0x2d18b9,_0x491334);});});}['_decompress'](_0x5b4119,_0x249bce,_0x1208e4){const _0x43eb95=_0x3062d9,_0x787b0b=this['_isServer']?_0x43eb95(0x1a0):_0x43eb95(0x302);if(!this[_0x43eb95(0x2ef)]){const _0x3b0324=_0x787b0b+_0x43eb95(0x297),_0x544c99=typeof this[_0x43eb95(0x2b9)][_0x3b0324]!='number'?_0x5432fa[_0x43eb95(0x241)]:this[_0x43eb95(0x2b9)][_0x3b0324];this[_0x43eb95(0x2ef)]=_0x5432fa[_0x43eb95(0x21a)]({...this[_0x43eb95(0x16f)][_0x43eb95(0x181)],'windowBits':_0x544c99}),this[_0x43eb95(0x2ef)][_0x503abd]=this,this[_0x43eb95(0x2ef)][_0xe57ee1]=0x0,this[_0x43eb95(0x2ef)][_0x2d54dc]=[],this[_0x43eb95(0x2ef)]['on']('error',_0x31b66c),this[_0x43eb95(0x2ef)]['on']('data',_0x392ec9);}this[_0x43eb95(0x2ef)][_0x54fa83]=_0x1208e4,this[_0x43eb95(0x2ef)][_0x43eb95(0x27a)](_0x5b4119),_0x249bce&&this[_0x43eb95(0x2ef)]['write'](_0x103b07),this[_0x43eb95(0x2ef)][_0x43eb95(0x2d7)](()=>{const _0x320f82=_0x43eb95,_0x5486b8=this['_inflate'][_0x3ef0c4];if(_0x5486b8){this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null,_0x1208e4(_0x5486b8);return;}const _0x2a8858=_0x38d305[_0x320f82(0x281)](this[_0x320f82(0x2ef)][_0x2d54dc],this[_0x320f82(0x2ef)][_0xe57ee1]);this[_0x320f82(0x2ef)][_0x320f82(0x2c7)][_0x320f82(0x172)]?(this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null):(this[_0x320f82(0x2ef)][_0xe57ee1]=0x0,this[_0x320f82(0x2ef)][_0x2d54dc]=[],_0x249bce&&this[_0x320f82(0x2b9)][_0x787b0b+'_no_context_takeover']&&this['_inflate'][_0x320f82(0x2bc)]()),_0x1208e4(null,_0x2a8858);});}[_0x3062d9(0x1c2)](_0x577ad5,_0x2ea38d,_0x21c0c0){const _0x31b4a4=_0x3062d9,_0x10f28b=this[_0x31b4a4(0x1c4)]?'server':_0x31b4a4(0x1a0);if(!this['_deflate']){const _0x415c4b=_0x10f28b+_0x31b4a4(0x297),_0x2b978b=typeof this[_0x31b4a4(0x2b9)][_0x415c4b]!=_0x31b4a4(0x1fc)?_0x5432fa[_0x31b4a4(0x241)]:this['params'][_0x415c4b];this[_0x31b4a4(0x29e)]=_0x5432fa[_0x31b4a4(0x1f3)]({...this[_0x31b4a4(0x16f)][_0x31b4a4(0x288)],'windowBits':_0x2b978b}),this[_0x31b4a4(0x29e)][_0xe57ee1]=0x0,this[_0x31b4a4(0x29e)][_0x2d54dc]=[],this[_0x31b4a4(0x29e)]['on'](_0x31b4a4(0x29c),_0xc10e19);}this[_0x31b4a4(0x29e)][_0x54fa83]=_0x21c0c0,this[_0x31b4a4(0x29e)][_0x31b4a4(0x27a)](_0x577ad5),this[_0x31b4a4(0x29e)]['flush'](_0x5432fa[_0x31b4a4(0x1db)],()=>{const _0x2968dc=_0x31b4a4;if(!this['_deflate'])return;let _0x2a2a5c=_0x38d305[_0x2968dc(0x281)](this[_0x2968dc(0x29e)][_0x2d54dc],this[_0x2968dc(0x29e)][_0xe57ee1]);_0x2ea38d&&(_0x2a2a5c=new _0x4d3b94(_0x2a2a5c['buffer'],_0x2a2a5c[_0x2968dc(0x295)],_0x2a2a5c[_0x2968dc(0x2d0)]-0x4)),this[_0x2968dc(0x29e)][_0x54fa83]=null,this[_0x2968dc(0x29e)][_0xe57ee1]=0x0,this['_deflate'][_0x2d54dc]=[],_0x2ea38d&&this[_0x2968dc(0x2b9)][_0x10f28b+_0x2968dc(0x1f4)]&&this[_0x2968dc(0x29e)]['reset'](),_0x21c0c0(null,_0x2a2a5c);});}}ve=_0xed9628;function _0xc10e19(_0xf6ed9a){const _0x216643=_0x3062d9;this[_0x2d54dc][_0x216643(0x303)](_0xf6ed9a),this[_0xe57ee1]+=_0xf6ed9a[_0x216643(0x2d0)];}function _0x392ec9(_0x37abec){const _0x5b1098=_0x3062d9;if(this[_0xe57ee1]+=_0x37abec[_0x5b1098(0x2d0)],this[_0x503abd]['_maxPayload']<0x1||this[_0xe57ee1]<=this[_0x503abd][_0x5b1098(0x193)]){this[_0x2d54dc][_0x5b1098(0x303)](_0x37abec);return;}this[_0x3ef0c4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3ef0c4][_0x5b1098(0x20a)]=_0x5b1098(0x24b),this[_0x3ef0c4][_0x2b303c]=0x3f1,this['removeListener'](_0x5b1098(0x29c),_0x392ec9),this[_0x5b1098(0x2bc)]();}function _0x31b66c(_0x39adda){if(this[_0x503abd]['_inflate']=null,this[_0x3ef0c4]){this[_0x54fa83](this[_0x3ef0c4]);return;}_0x39adda[_0x2b303c]=0x3ef,this[_0x54fa83](_0x39adda);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x230e5d(0x1dc)](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Dt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Bt=at(Rt);var Ye;function ae(){const _0xd47b63=_0x230e5d;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x254431}=wt,{hasBlob:_0x5260bb}=H(),_0x1223da=[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 _0x287c74(_0x349ccd){return _0x349ccd>=0x3e8&&_0x349ccd<=0x3f6&&_0x349ccd!==0x3ec&&_0x349ccd!==0x3ed&&_0x349ccd!==0x3ee||_0x349ccd>=0xbb8&&_0x349ccd<=0x1387;}function _0x57cbce(_0x266c73){const _0x1d25c7=_0x266c73['length'];let _0xed9cb6=0x0;for(;_0xed9cb6<_0x1d25c7;)if((_0x266c73[_0xed9cb6]&0x80)===0x0)_0xed9cb6++;else{if((_0x266c73[_0xed9cb6]&0xe0)===0xc0){if(_0xed9cb6+0x1===_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6]&0xfe)===0xc0)return!0x1;_0xed9cb6+=0x2;}else{if((_0x266c73[_0xed9cb6]&0xf0)===0xe0){if(_0xed9cb6+0x2>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xe0&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0x80||_0x266c73[_0xed9cb6]===0xed&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0xa0)return!0x1;_0xed9cb6+=0x3;}else{if((_0x266c73[_0xed9cb6]&0xf8)===0xf0){if(_0xed9cb6+0x3>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x3]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xf0&&(_0x266c73[_0xed9cb6+0x1]&0xf0)===0x80||_0x266c73[_0xed9cb6]===0xf4&&_0x266c73[_0xed9cb6+0x1]>0x8f||_0x266c73[_0xed9cb6]>0xf4)return!0x1;_0xed9cb6+=0x4;}else return!0x1;}}}return!0x0;}function _0x4ef574(_0x271538){const _0x3c3282=_0x571c;return _0x5260bb&&typeof _0x271538==_0x3c3282(0x22c)&&typeof _0x271538[_0x3c3282(0x227)]=='function'&&typeof _0x271538['type']==_0x3c3282(0x1e4)&&typeof _0x271538['stream']=='function'&&(_0x271538[Symbol['toStringTag']]===_0x3c3282(0x29f)||_0x271538[Symbol[_0x3c3282(0x1dd)]]===_0x3c3282(0x1de));}if(ie[_0xd47b63(0x1ad)]={'isBlob':_0x4ef574,'isValidStatusCode':_0x287c74,'isValidUTF8':_0x57cbce,'tokenChars':_0x1223da},_0x254431)ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x383bdf){const _0x23d964=_0xd47b63;return _0x383bdf[_0x23d964(0x2d0)]<0x18?_0x57cbce(_0x383bdf):_0x254431(_0x383bdf);};else{if(!process[_0xd47b63(0x2dd)][_0xd47b63(0x2e2)])try{const _0x11d955=Bt;ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x786892){const _0x411086=_0xd47b63;return _0x786892[_0x411086(0x2d0)]<0x20?_0x57cbce(_0x786892):_0x11d955(_0x786892);};}catch{}}return ie[_0xd47b63(0x1ad)];}var Se,Ke;function lt(){const _0x2c1281=_0x230e5d;if(Ke)return Se;Ke=0x1;const {Writable:_0x228fab}=oe,_0x436e9d=he(),{BINARY_TYPES:_0x4dd350,EMPTY_BUFFER:_0x2b9c0c,kStatusCode:_0x6c3753,kWebSocket:_0x29fd92}=H(),{concat:_0x3a6cd2,toArrayBuffer:_0x5729c4,unmask:_0x14eabd}=ce(),{isValidStatusCode:_0x432ae2,isValidUTF8:_0x312bb9}=ae(),_0x461a2f=Buffer[Symbol[_0x2c1281(0x173)]],_0x3275df=0x0,_0x52e687=0x1,_0x1b2892=0x2,_0x33bc5e=0x3,_0x59e7c7=0x4,_0x2a7e81=0x5,_0x385425=0x6;class _0x11569d extends _0x228fab{constructor(_0x41ff16={}){const _0x2387f7=_0x2c1281;super(),this['_allowSynchronousEvents']=_0x41ff16[_0x2387f7(0x283)]!==void 0x0?_0x41ff16[_0x2387f7(0x283)]:!0x0,this[_0x2387f7(0x1b6)]=_0x41ff16[_0x2387f7(0x201)]||_0x4dd350[0x0],this[_0x2387f7(0x17c)]=_0x41ff16[_0x2387f7(0x21f)]||{},this[_0x2387f7(0x1c4)]=!!_0x41ff16[_0x2387f7(0x1a4)],this['_maxPayload']=_0x41ff16[_0x2387f7(0x2e3)]|0x0,this['_skipUTF8Validation']=!!_0x41ff16[_0x2387f7(0x28a)],this[_0x29fd92]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2387f7(0x225)]=[],this[_0x2387f7(0x264)]=!0x1,this[_0x2387f7(0x308)]=0x0,this[_0x2387f7(0x262)]=void 0x0,this[_0x2387f7(0x1a3)]=0x0,this[_0x2387f7(0x1f8)]=!0x1,this[_0x2387f7(0x25c)]=!0x1,this[_0x2387f7(0x311)]=0x0,this[_0x2387f7(0x251)]=0x0,this[_0x2387f7(0x20e)]=0x0,this[_0x2387f7(0x176)]=[],this[_0x2387f7(0x2cc)]=!0x1,this['_loop']=!0x1,this['_state']=_0x3275df;}[_0x2c1281(0x314)](_0x570401,_0x3da345,_0x2e9181){const _0x359e01=_0x2c1281;if(this[_0x359e01(0x311)]===0x8&&this[_0x359e01(0x2d4)]==_0x3275df)return _0x2e9181();this[_0x359e01(0x195)]+=_0x570401[_0x359e01(0x2d0)],this['_buffers'][_0x359e01(0x303)](_0x570401),this[_0x359e01(0x236)](_0x2e9181);}['consume'](_0x7da0b9){const _0x5ae556=_0x2c1281;if(this[_0x5ae556(0x195)]-=_0x7da0b9,_0x7da0b9===this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)])return this[_0x5ae556(0x225)][_0x5ae556(0x2fc)]();if(_0x7da0b9<this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)]){const _0x2d1e9b=this[_0x5ae556(0x225)][0x0];return this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x2d1e9b['buffer'],_0x2d1e9b['byteOffset']+_0x7da0b9,_0x2d1e9b[_0x5ae556(0x2d0)]-_0x7da0b9),new _0x461a2f(_0x2d1e9b[_0x5ae556(0x2bd)],_0x2d1e9b[_0x5ae556(0x295)],_0x7da0b9);}const _0x2a03ce=Buffer['allocUnsafe'](_0x7da0b9);do{const _0x283a9c=this[_0x5ae556(0x225)][0x0],_0x40a2d2=_0x2a03ce[_0x5ae556(0x2d0)]-_0x7da0b9;_0x7da0b9>=_0x283a9c[_0x5ae556(0x2d0)]?_0x2a03ce[_0x5ae556(0x275)](this[_0x5ae556(0x225)][_0x5ae556(0x2fc)](),_0x40a2d2):(_0x2a03ce[_0x5ae556(0x275)](new Uint8Array(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset'],_0x7da0b9),_0x40a2d2),this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset']+_0x7da0b9,_0x283a9c[_0x5ae556(0x2d0)]-_0x7da0b9)),_0x7da0b9-=_0x283a9c[_0x5ae556(0x2d0)];}while(_0x7da0b9>0x0);return _0x2a03ce;}[_0x2c1281(0x236)](_0x8d6725){const _0x4cb87c=_0x2c1281;this[_0x4cb87c(0x2a0)]=!0x0;do switch(this['_state']){case _0x3275df:this[_0x4cb87c(0x2a8)](_0x8d6725);break;case _0x52e687:this[_0x4cb87c(0x200)](_0x8d6725);break;case _0x1b2892:this['getPayloadLength64'](_0x8d6725);break;case _0x33bc5e:this[_0x4cb87c(0x277)]();break;case _0x59e7c7:this['getData'](_0x8d6725);break;case _0x2a7e81:case _0x385425:this[_0x4cb87c(0x2a0)]=!0x1;return;}while(this['_loop']);this[_0x4cb87c(0x2cc)]||_0x8d6725();}[_0x2c1281(0x2a8)](_0x2f3239){const _0x3023a5=_0x2c1281;if(this[_0x3023a5(0x195)]<0x2){this[_0x3023a5(0x2a0)]=!0x1;return;}const _0xb9080c=this[_0x3023a5(0x2f8)](0x2);if((_0xb9080c[0x0]&0x30)!==0x0){const _0x5d6572=this[_0x3023a5(0x1ae)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x1a9));_0x2f3239(_0x5d6572);return;}const _0x46e903=(_0xb9080c[0x0]&0x40)===0x40;if(_0x46e903&&!this[_0x3023a5(0x17c)][_0x436e9d[_0x3023a5(0x257)]]){const _0x27b747=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x27b747);return;}if(this[_0x3023a5(0x25c)]=(_0xb9080c[0x0]&0x80)===0x80,this[_0x3023a5(0x311)]=_0xb9080c[0x0]&0xf,this[_0x3023a5(0x308)]=_0xb9080c[0x1]&0x7f,this[_0x3023a5(0x311)]===0x0){if(_0x46e903){const _0x48c1e7=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x48c1e7);return;}if(!this[_0x3023a5(0x1a3)]){const _0x47f87f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x212),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2f3239(_0x47f87f);return;}this[_0x3023a5(0x311)]=this['_fragmented'];}else{if(this[_0x3023a5(0x311)]===0x1||this[_0x3023a5(0x311)]===0x2){if(this['_fragmented']){const _0x36fa99=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x36fa99);return;}this[_0x3023a5(0x264)]=_0x46e903;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3023a5(0x25c)]){const _0x578cc6=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3023a5(0x30d));_0x2f3239(_0x578cc6);return;}if(_0x46e903){const _0x39aaf3=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x211),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2f3239(_0x39aaf3);return;}if(this[_0x3023a5(0x308)]>0x7d||this[_0x3023a5(0x311)]===0x8&&this[_0x3023a5(0x308)]===0x1){const _0x1d8e26=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x177)+this[_0x3023a5(0x308)],!0x0,0x3ea,_0x3023a5(0x229));_0x2f3239(_0x1d8e26);return;}}else{const _0x3ebf3a=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x3ebf3a);return;}}}if(!this[_0x3023a5(0x25c)]&&!this[_0x3023a5(0x1a3)]&&(this[_0x3023a5(0x1a3)]=this[_0x3023a5(0x311)]),this[_0x3023a5(0x1f8)]=(_0xb9080c[0x1]&0x80)===0x80,this[_0x3023a5(0x1c4)]){if(!this[_0x3023a5(0x1f8)]){const _0x22545f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x2a6),!0x0,0x3ea,_0x3023a5(0x2d1));_0x2f3239(_0x22545f);return;}}else{if(this[_0x3023a5(0x1f8)]){const _0x57acfe=this[_0x3023a5(0x1ae)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x28f));_0x2f3239(_0x57acfe);return;}}this[_0x3023a5(0x308)]===0x7e?this['_state']=_0x52e687:this['_payloadLength']===0x7f?this[_0x3023a5(0x2d4)]=_0x1b2892:this[_0x3023a5(0x2e1)](_0x2f3239);}[_0x2c1281(0x200)](_0x41dc4d){const _0x7808f9=_0x2c1281;if(this[_0x7808f9(0x195)]<0x2){this['_loop']=!0x1;return;}this[_0x7808f9(0x308)]=this[_0x7808f9(0x2f8)](0x2)[_0x7808f9(0x171)](0x0),this[_0x7808f9(0x2e1)](_0x41dc4d);}['getPayloadLength64'](_0x3886fc){const _0x410ef9=_0x2c1281;if(this[_0x410ef9(0x195)]<0x8){this[_0x410ef9(0x2a0)]=!0x1;return;}const _0xff6247=this[_0x410ef9(0x2f8)](0x8),_0x1f20d8=_0xff6247[_0x410ef9(0x307)](0x0);if(_0x1f20d8>Math[_0x410ef9(0x304)](0x2,0x15)-0x1){const _0x1edf0a=this[_0x410ef9(0x1ae)](RangeError,_0x410ef9(0x26b),!0x1,0x3f1,_0x410ef9(0x17a));_0x3886fc(_0x1edf0a);return;}this[_0x410ef9(0x308)]=_0x1f20d8*Math[_0x410ef9(0x304)](0x2,0x20)+_0xff6247[_0x410ef9(0x307)](0x4),this[_0x410ef9(0x2e1)](_0x3886fc);}[_0x2c1281(0x2e1)](_0x4ad50d){const _0x1aec86=_0x2c1281;if(this[_0x1aec86(0x308)]&&this['_opcode']<0x8&&(this[_0x1aec86(0x251)]+=this[_0x1aec86(0x308)],this[_0x1aec86(0x251)]>this['_maxPayload']&&this[_0x1aec86(0x193)]>0x0)){const _0x3999b8=this[_0x1aec86(0x1ae)](RangeError,_0x1aec86(0x205),!0x1,0x3f1,_0x1aec86(0x24b));_0x4ad50d(_0x3999b8);return;}this[_0x1aec86(0x1f8)]?this['_state']=_0x33bc5e:this[_0x1aec86(0x2d4)]=_0x59e7c7;}[_0x2c1281(0x277)](){const _0xb0f732=_0x2c1281;if(this[_0xb0f732(0x195)]<0x4){this[_0xb0f732(0x2a0)]=!0x1;return;}this[_0xb0f732(0x262)]=this[_0xb0f732(0x2f8)](0x4),this['_state']=_0x59e7c7;}[_0x2c1281(0x24c)](_0xe5ced){const _0x5e48f9=_0x2c1281;let _0x193294=_0x2b9c0c;if(this['_payloadLength']){if(this[_0x5e48f9(0x195)]<this['_payloadLength']){this[_0x5e48f9(0x2a0)]=!0x1;return;}_0x193294=this[_0x5e48f9(0x2f8)](this[_0x5e48f9(0x308)]),this[_0x5e48f9(0x1f8)]&&(this[_0x5e48f9(0x262)][0x0]|this[_0x5e48f9(0x262)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x14eabd(_0x193294,this[_0x5e48f9(0x262)]);}if(this[_0x5e48f9(0x311)]>0x7){this['controlMessage'](_0x193294,_0xe5ced);return;}if(this[_0x5e48f9(0x264)]){this[_0x5e48f9(0x2d4)]=_0x2a7e81,this[_0x5e48f9(0x1bb)](_0x193294,_0xe5ced);return;}_0x193294[_0x5e48f9(0x2d0)]&&(this[_0x5e48f9(0x20e)]=this[_0x5e48f9(0x251)],this[_0x5e48f9(0x176)][_0x5e48f9(0x303)](_0x193294)),this[_0x5e48f9(0x17d)](_0xe5ced);}[_0x2c1281(0x1bb)](_0x22fd73,_0x59d95f){const _0x548882=_0x2c1281;this[_0x548882(0x17c)][_0x436e9d[_0x548882(0x257)]][_0x548882(0x1bb)](_0x22fd73,this[_0x548882(0x25c)],(_0x28edea,_0x4981dd)=>{const _0x46b1c4=_0x548882;if(_0x28edea)return _0x59d95f(_0x28edea);if(_0x4981dd[_0x46b1c4(0x2d0)]){if(this[_0x46b1c4(0x20e)]+=_0x4981dd[_0x46b1c4(0x2d0)],this['_messageLength']>this[_0x46b1c4(0x193)]&&this[_0x46b1c4(0x193)]>0x0){const _0x38b484=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x59d95f(_0x38b484);return;}this[_0x46b1c4(0x176)][_0x46b1c4(0x303)](_0x4981dd);}this['dataMessage'](_0x59d95f),this[_0x46b1c4(0x2d4)]===_0x3275df&&this['startLoop'](_0x59d95f);});}[_0x2c1281(0x17d)](_0x16eb47){const _0x1c47cd=_0x2c1281;if(!this[_0x1c47cd(0x25c)]){this[_0x1c47cd(0x2d4)]=_0x3275df;return;}const _0x2acd5b=this['_messageLength'],_0x340be3=this[_0x1c47cd(0x176)];if(this[_0x1c47cd(0x251)]=0x0,this[_0x1c47cd(0x20e)]=0x0,this[_0x1c47cd(0x1a3)]=0x0,this[_0x1c47cd(0x176)]=[],this[_0x1c47cd(0x311)]===0x2){let _0x1db953;this['_binaryType']===_0x1c47cd(0x214)?_0x1db953=_0x3a6cd2(_0x340be3,_0x2acd5b):this[_0x1c47cd(0x1b6)]===_0x1c47cd(0x197)?_0x1db953=_0x5729c4(_0x3a6cd2(_0x340be3,_0x2acd5b)):this[_0x1c47cd(0x1b6)]==='blob'?_0x1db953=new Blob(_0x340be3):_0x1db953=_0x340be3,this[_0x1c47cd(0x256)]?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0x1db953,!0x0),this[_0x1c47cd(0x2d4)]=_0x3275df):(this['_state']=_0x385425,setImmediate(()=>{const _0x577f13=_0x1c47cd;this['emit'](_0x577f13(0x2c4),_0x1db953,!0x0),this[_0x577f13(0x2d4)]=_0x3275df,this[_0x577f13(0x236)](_0x16eb47);}));}else{const _0xedf578=_0x3a6cd2(_0x340be3,_0x2acd5b);if(!this[_0x1c47cd(0x1e1)]&&!_0x312bb9(_0xedf578)){const _0x307250=this[_0x1c47cd(0x1ae)](Error,_0x1c47cd(0x253),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x16eb47(_0x307250);return;}this[_0x1c47cd(0x2d4)]===_0x2a7e81||this['_allowSynchronousEvents']?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0xedf578,!0x1),this[_0x1c47cd(0x2d4)]=_0x3275df):(this[_0x1c47cd(0x2d4)]=_0x385425,setImmediate(()=>{const _0x4f79a1=_0x1c47cd;this['emit'](_0x4f79a1(0x2c4),_0xedf578,!0x1),this[_0x4f79a1(0x2d4)]=_0x3275df,this[_0x4f79a1(0x236)](_0x16eb47);}));}}['controlMessage'](_0x4a849f,_0x903cbd){const _0x33a63c=_0x2c1281;if(this[_0x33a63c(0x311)]===0x8){if(_0x4a849f[_0x33a63c(0x2d0)]===0x0)this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)]('conclude',0x3ed,_0x2b9c0c),this[_0x33a63c(0x24e)]();else{const _0x503b02=_0x4a849f[_0x33a63c(0x171)](0x0);if(!_0x432ae2(_0x503b02)){const _0x1af834=this[_0x33a63c(0x1ae)](RangeError,'invalid\x20status\x20code\x20'+_0x503b02,!0x0,0x3ea,_0x33a63c(0x17f));_0x903cbd(_0x1af834);return;}const _0x203e60=new _0x461a2f(_0x4a849f['buffer'],_0x4a849f['byteOffset']+0x2,_0x4a849f[_0x33a63c(0x2d0)]-0x2);if(!this[_0x33a63c(0x1e1)]&&!_0x312bb9(_0x203e60)){const _0x18f2fc=this[_0x33a63c(0x1ae)](Error,_0x33a63c(0x253),!0x0,0x3ef,_0x33a63c(0x284));_0x903cbd(_0x18f2fc);return;}this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)](_0x33a63c(0x1ba),_0x503b02,_0x203e60),this['end']();}this[_0x33a63c(0x2d4)]=_0x3275df;return;}this['_allowSynchronousEvents']?(this[_0x33a63c(0x234)](this[_0x33a63c(0x311)]===0x9?'ping':_0x33a63c(0x1d7),_0x4a849f),this[_0x33a63c(0x2d4)]=_0x3275df):(this[_0x33a63c(0x2d4)]=_0x385425,setImmediate(()=>{const _0x1389dc=_0x33a63c;this[_0x1389dc(0x234)](this[_0x1389dc(0x311)]===0x9?_0x1389dc(0x168):_0x1389dc(0x1d7),_0x4a849f),this[_0x1389dc(0x2d4)]=_0x3275df,this[_0x1389dc(0x236)](_0x903cbd);}));}[_0x2c1281(0x1ae)](_0x4bed91,_0x840d93,_0x16e7de,_0x736509,_0x9b85b3){const _0x36a191=_0x2c1281;this['_loop']=!0x1,this['_errored']=!0x0;const _0x21405b=new _0x4bed91(_0x16e7de?_0x36a191(0x293)+_0x840d93:_0x840d93);return Error[_0x36a191(0x2a4)](_0x21405b,this[_0x36a191(0x1ae)]),_0x21405b[_0x36a191(0x20a)]=_0x9b85b3,_0x21405b[_0x6c3753]=_0x736509,_0x21405b;}}return Se=_0x11569d,Se;}var Ee,Xe;function ft(){const _0x5e0c9a=_0x230e5d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5269db}=oe,{randomFillSync:_0x1945ca}=Le,_0x5ea97c=he(),{EMPTY_BUFFER:_0x2a1603,kWebSocket:_0x1bcf97,NOOP:_0x1b89c8}=H(),{isBlob:_0x5a4c3f,isValidStatusCode:_0x33cbaa}=ae(),{mask:_0x52c589,toBuffer:_0x2d8b0e}=ce(),_0xff5192=Symbol('kByteLength'),_0x2692f6=Buffer[_0x5e0c9a(0x30f)](0x4),_0x10034b=0x8*0x400;let _0x424b81,_0x580858=_0x10034b;const _0x231ae5=0x0,_0x45ab81=0x1,_0x3af430=0x2;class _0x38a648{constructor(_0x32c2bc,_0x115b08,_0x32a496){const _0xd1a4c=_0x5e0c9a;this['_extensions']=_0x115b08||{},_0x32a496&&(this[_0xd1a4c(0x265)]=_0x32a496,this[_0xd1a4c(0x17e)]=Buffer[_0xd1a4c(0x30f)](0x4)),this[_0xd1a4c(0x2d3)]=_0x32c2bc,this['_firstFragment']=!0x0,this[_0xd1a4c(0x1c2)]=!0x1,this[_0xd1a4c(0x195)]=0x0,this['_queue']=[],this[_0xd1a4c(0x2d4)]=_0x231ae5,this[_0xd1a4c(0x186)]=_0x1b89c8,this[_0x1bcf97]=void 0x0;}static[_0x5e0c9a(0x165)](_0x5fed8b,_0x20a4e9){const _0x2e85e9=_0x5e0c9a;let _0x4cdf1f,_0x3905d3=!0x1,_0x1909d7=0x2,_0x378f1b=!0x1;_0x20a4e9['mask']&&(_0x4cdf1f=_0x20a4e9[_0x2e85e9(0x230)]||_0x2692f6,_0x20a4e9[_0x2e85e9(0x233)]?_0x20a4e9[_0x2e85e9(0x233)](_0x4cdf1f):(_0x580858===_0x10034b&&(_0x424b81===void 0x0&&(_0x424b81=Buffer['alloc'](_0x10034b)),_0x1945ca(_0x424b81,0x0,_0x10034b),_0x580858=0x0),_0x4cdf1f[0x0]=_0x424b81[_0x580858++],_0x4cdf1f[0x1]=_0x424b81[_0x580858++],_0x4cdf1f[0x2]=_0x424b81[_0x580858++],_0x4cdf1f[0x3]=_0x424b81[_0x580858++]),_0x378f1b=(_0x4cdf1f[0x0]|_0x4cdf1f[0x1]|_0x4cdf1f[0x2]|_0x4cdf1f[0x3])===0x0,_0x1909d7=0x6);let _0x3476c2;typeof _0x5fed8b==_0x2e85e9(0x1e4)?(!_0x20a4e9[_0x2e85e9(0x1ea)]||_0x378f1b)&&_0x20a4e9[_0xff5192]!==void 0x0?_0x3476c2=_0x20a4e9[_0xff5192]:(_0x5fed8b=Buffer['from'](_0x5fed8b),_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)]):(_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)],_0x3905d3=_0x20a4e9['mask']&&_0x20a4e9[_0x2e85e9(0x219)]&&!_0x378f1b);let _0x2c814e=_0x3476c2;_0x3476c2>=0x10000?(_0x1909d7+=0x8,_0x2c814e=0x7f):_0x3476c2>0x7d&&(_0x1909d7+=0x2,_0x2c814e=0x7e);const _0x2a709c=Buffer[_0x2e85e9(0x199)](_0x3905d3?_0x3476c2+_0x1909d7:_0x1909d7);return _0x2a709c[0x0]=_0x20a4e9[_0x2e85e9(0x18d)]?_0x20a4e9['opcode']|0x80:_0x20a4e9['opcode'],_0x20a4e9[_0x2e85e9(0x2d8)]&&(_0x2a709c[0x0]|=0x40),_0x2a709c[0x1]=_0x2c814e,_0x2c814e===0x7e?_0x2a709c['writeUInt16BE'](_0x3476c2,0x2):_0x2c814e===0x7f&&(_0x2a709c[0x2]=_0x2a709c[0x3]=0x0,_0x2a709c['writeUIntBE'](_0x3476c2,0x4,0x6)),_0x20a4e9['mask']?(_0x2a709c[0x1]|=0x80,_0x2a709c[_0x1909d7-0x4]=_0x4cdf1f[0x0],_0x2a709c[_0x1909d7-0x3]=_0x4cdf1f[0x1],_0x2a709c[_0x1909d7-0x2]=_0x4cdf1f[0x2],_0x2a709c[_0x1909d7-0x1]=_0x4cdf1f[0x3],_0x378f1b?[_0x2a709c,_0x5fed8b]:_0x3905d3?(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x2a709c,_0x1909d7,_0x3476c2),[_0x2a709c]):(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x5fed8b,0x0,_0x3476c2),[_0x2a709c,_0x5fed8b])):[_0x2a709c,_0x5fed8b];}[_0x5e0c9a(0x2a2)](_0x50a9d3,_0x2b160e,_0x18d00d,_0x2b1a85){const _0xd2806f=_0x5e0c9a;let _0x33d8a9;if(_0x50a9d3===void 0x0)_0x33d8a9=_0x2a1603;else{if(typeof _0x50a9d3!='number'||!_0x33cbaa(_0x50a9d3))throw new TypeError(_0xd2806f(0x30b));if(_0x2b160e===void 0x0||!_0x2b160e[_0xd2806f(0x2d0)])_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0);else{const _0x5aac27=Buffer[_0xd2806f(0x23e)](_0x2b160e);if(_0x5aac27>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2+_0x5aac27),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0),typeof _0x2b160e==_0xd2806f(0x1e4)?_0x33d8a9[_0xd2806f(0x27a)](_0x2b160e,0x2):_0x33d8a9[_0xd2806f(0x275)](_0x2b160e,0x2);}}const _0x4b0199={[_0xff5192]:_0x33d8a9[_0xd2806f(0x2d0)],'fin':!0x0,'generateMask':this[_0xd2806f(0x265)],'mask':_0x18d00d,'maskBuffer':this[_0xd2806f(0x17e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xd2806f(0x2d4)]!==_0x231ae5?this[_0xd2806f(0x2d6)]([this[_0xd2806f(0x2af)],_0x33d8a9,!0x1,_0x4b0199,_0x2b1a85]):this['sendFrame'](_0x38a648[_0xd2806f(0x165)](_0x33d8a9,_0x4b0199),_0x2b1a85);}['ping'](_0x240a62,_0x46412a,_0x374a4e){const _0x1ce838=_0x5e0c9a;let _0x4d2037,_0x22b877;if(typeof _0x240a62==_0x1ce838(0x1e4)?(_0x4d2037=Buffer['byteLength'](_0x240a62),_0x22b877=!0x1):_0x5a4c3f(_0x240a62)?(_0x4d2037=_0x240a62[_0x1ce838(0x1ac)],_0x22b877=!0x1):(_0x240a62=_0x2d8b0e(_0x240a62),_0x4d2037=_0x240a62[_0x1ce838(0x2d0)],_0x22b877=_0x2d8b0e[_0x1ce838(0x219)]),_0x4d2037>0x7d)throw new RangeError(_0x1ce838(0x30e));const _0x6e3f7a={[_0xff5192]:_0x4d2037,'fin':!0x0,'generateMask':this[_0x1ce838(0x265)],'mask':_0x46412a,'maskBuffer':this[_0x1ce838(0x17e)],'opcode':0x9,'readOnly':_0x22b877,'rsv1':!0x1};_0x5a4c3f(_0x240a62)?this[_0x1ce838(0x2d4)]!==_0x231ae5?this[_0x1ce838(0x2d6)]([this[_0x1ce838(0x1f7)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x1f7)](_0x240a62,!0x1,_0x6e3f7a,_0x374a4e):this[_0x1ce838(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x1ce838(0x2af)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x240)](_0x38a648['frame'](_0x240a62,_0x6e3f7a),_0x374a4e);}[_0x5e0c9a(0x1d7)](_0x43aca3,_0x4444f5,_0x296c77){const _0xd8cc32=_0x5e0c9a;let _0x408ef9,_0x35ea5d;if(typeof _0x43aca3==_0xd8cc32(0x1e4)?(_0x408ef9=Buffer[_0xd8cc32(0x23e)](_0x43aca3),_0x35ea5d=!0x1):_0x5a4c3f(_0x43aca3)?(_0x408ef9=_0x43aca3['size'],_0x35ea5d=!0x1):(_0x43aca3=_0x2d8b0e(_0x43aca3),_0x408ef9=_0x43aca3[_0xd8cc32(0x2d0)],_0x35ea5d=_0x2d8b0e[_0xd8cc32(0x219)]),_0x408ef9>0x7d)throw new RangeError(_0xd8cc32(0x30e));const _0x23c23b={[_0xff5192]:_0x408ef9,'fin':!0x0,'generateMask':this[_0xd8cc32(0x265)],'mask':_0x4444f5,'maskBuffer':this[_0xd8cc32(0x17e)],'opcode':0xa,'readOnly':_0x35ea5d,'rsv1':!0x1};_0x5a4c3f(_0x43aca3)?this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['getBlobData'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['getBlobData'](_0x43aca3,!0x1,_0x23c23b,_0x296c77):this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['dispatch'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['sendFrame'](_0x38a648[_0xd8cc32(0x165)](_0x43aca3,_0x23c23b),_0x296c77);}['send'](_0x3b35fc,_0x314a65,_0x146674){const _0x560348=_0x5e0c9a,_0x377f91=this[_0x560348(0x17c)][_0x5ea97c[_0x560348(0x257)]];let _0x38f41c=_0x314a65[_0x560348(0x192)]?0x2:0x1,_0x48987b=_0x314a65['compress'],_0x31c34f,_0x3fcdf2;typeof _0x3b35fc=='string'?(_0x31c34f=Buffer[_0x560348(0x23e)](_0x3b35fc),_0x3fcdf2=!0x1):_0x5a4c3f(_0x3b35fc)?(_0x31c34f=_0x3b35fc['size'],_0x3fcdf2=!0x1):(_0x3b35fc=_0x2d8b0e(_0x3b35fc),_0x31c34f=_0x3b35fc['length'],_0x3fcdf2=_0x2d8b0e[_0x560348(0x219)]),this[_0x560348(0x1a5)]?(this[_0x560348(0x1a5)]=!0x1,_0x48987b&&_0x377f91&&_0x377f91[_0x560348(0x2b9)][_0x377f91[_0x560348(0x1c4)]?_0x560348(0x290):_0x560348(0x221)]&&(_0x48987b=_0x31c34f>=_0x377f91[_0x560348(0x1a8)]),this[_0x560348(0x1c2)]=_0x48987b):(_0x48987b=!0x1,_0x38f41c=0x0),_0x314a65['fin']&&(this['_firstFragment']=!0x0);const _0x60ae92={[_0xff5192]:_0x31c34f,'fin':_0x314a65[_0x560348(0x18d)],'generateMask':this[_0x560348(0x265)],'mask':_0x314a65['mask'],'maskBuffer':this[_0x560348(0x17e)],'opcode':_0x38f41c,'readOnly':_0x3fcdf2,'rsv1':_0x48987b};_0x5a4c3f(_0x3b35fc)?this[_0x560348(0x2d4)]!==_0x231ae5?this[_0x560348(0x2d6)]([this[_0x560348(0x1f7)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x1f7)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674):this[_0x560348(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x560348(0x2af)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x2af)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674);}[_0x5e0c9a(0x1f7)](_0x36c681,_0x6a1899,_0x1b127b,_0x221b86){const _0x426838=_0x5e0c9a;this[_0x426838(0x195)]+=_0x1b127b[_0xff5192],this[_0x426838(0x2d4)]=_0x3af430,_0x36c681['arrayBuffer']()[_0x426838(0x1ca)](_0xd9fca6=>{const _0x5bfdf7=_0x426838;if(this[_0x5bfdf7(0x2d3)][_0x5bfdf7(0x1ef)]){const _0x58d48a=new Error(_0x5bfdf7(0x16a));process[_0x5bfdf7(0x239)](_0x3c2ff7,this,_0x58d48a,_0x221b86);return;}this[_0x5bfdf7(0x195)]-=_0x1b127b[_0xff5192];const _0x249be7=_0x2d8b0e(_0xd9fca6);_0x6a1899?this[_0x5bfdf7(0x2af)](_0x249be7,_0x6a1899,_0x1b127b,_0x221b86):(this[_0x5bfdf7(0x2d4)]=_0x231ae5,this[_0x5bfdf7(0x240)](_0x38a648[_0x5bfdf7(0x165)](_0x249be7,_0x1b127b),_0x221b86),this[_0x5bfdf7(0x1ab)]());})[_0x426838(0x317)](_0x16b210=>{const _0x593541=_0x426838;process[_0x593541(0x239)](_0x5d822f,this,_0x16b210,_0x221b86);});}['dispatch'](_0x41e8b9,_0x3f08c5,_0x36504a,_0x4ac90b){const _0x12dbd3=_0x5e0c9a;if(!_0x3f08c5){this[_0x12dbd3(0x240)](_0x38a648[_0x12dbd3(0x165)](_0x41e8b9,_0x36504a),_0x4ac90b);return;}const _0x7aa02d=this['_extensions'][_0x5ea97c[_0x12dbd3(0x257)]];this['_bufferedBytes']+=_0x36504a[_0xff5192],this[_0x12dbd3(0x2d4)]=_0x45ab81,_0x7aa02d['compress'](_0x41e8b9,_0x36504a[_0x12dbd3(0x18d)],(_0x208298,_0x5bcf46)=>{const _0x1d663f=_0x12dbd3;if(this[_0x1d663f(0x2d3)][_0x1d663f(0x1ef)]){const _0x552b06=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3c2ff7(this,_0x552b06,_0x4ac90b);return;}this['_bufferedBytes']-=_0x36504a[_0xff5192],this[_0x1d663f(0x2d4)]=_0x231ae5,_0x36504a[_0x1d663f(0x219)]=!0x1,this['sendFrame'](_0x38a648['frame'](_0x5bcf46,_0x36504a),_0x4ac90b),this[_0x1d663f(0x1ab)]();});}[_0x5e0c9a(0x1ab)](){const _0x500ed8=_0x5e0c9a;for(;this[_0x500ed8(0x2d4)]===_0x231ae5&&this['_queue'][_0x500ed8(0x2d0)];){const _0x47a798=this[_0x500ed8(0x184)][_0x500ed8(0x2fc)]();this[_0x500ed8(0x195)]-=_0x47a798[0x3][_0xff5192],Reflect[_0x500ed8(0x19f)](_0x47a798[0x0],this,_0x47a798[_0x500ed8(0x26d)](0x1));}}[_0x5e0c9a(0x2d6)](_0x27513c){const _0x5a3678=_0x5e0c9a;this[_0x5a3678(0x195)]+=_0x27513c[0x3][_0xff5192],this['_queue'][_0x5a3678(0x303)](_0x27513c);}[_0x5e0c9a(0x240)](_0x2b80ef,_0x490593){const _0x180b17=_0x5e0c9a;_0x2b80ef[_0x180b17(0x2d0)]===0x2?(this['_socket'][_0x180b17(0x222)](),this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0]),this[_0x180b17(0x2d3)]['write'](_0x2b80ef[0x1],_0x490593),this[_0x180b17(0x2d3)][_0x180b17(0x249)]()):this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0],_0x490593);}}Ee=_0x38a648;function _0x3c2ff7(_0x5ac250,_0x222dd4,_0x1fd75e){const _0x31fe14=_0x5e0c9a;typeof _0x1fd75e==_0x31fe14(0x220)&&_0x1fd75e(_0x222dd4);for(let _0x323e4f=0x0;_0x323e4f<_0x5ac250[_0x31fe14(0x184)][_0x31fe14(0x2d0)];_0x323e4f++){const _0x3df260=_0x5ac250['_queue'][_0x323e4f],_0x1bc6af=_0x3df260[_0x3df260[_0x31fe14(0x2d0)]-0x1];typeof _0x1bc6af==_0x31fe14(0x220)&&_0x1bc6af(_0x222dd4);}}function _0x5d822f(_0x3cfe4e,_0x3edd66,_0x59e4c1){const _0x4a6c58=_0x5e0c9a;_0x3c2ff7(_0x3cfe4e,_0x3edd66,_0x59e4c1),_0x3cfe4e[_0x4a6c58(0x186)](_0x3edd66);}return Ee;}var xe,Ze;function It(){const _0x2c8303=_0x230e5d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x23368d,kListener:_0x3e3b52}=H(),_0x329286=Symbol(_0x2c8303(0x2f9)),_0x115d3c=Symbol('kData'),_0x30a53d=Symbol(_0x2c8303(0x285)),_0x4c66df=Symbol(_0x2c8303(0x273)),_0x133931=Symbol(_0x2c8303(0x19e)),_0x5e72be=Symbol(_0x2c8303(0x2b5)),_0x3e9131=Symbol(_0x2c8303(0x287)),_0x5a39fd=Symbol(_0x2c8303(0x19d));class _0xb05729{constructor(_0x30091b){this[_0x5e72be]=null,this[_0x3e9131]=_0x30091b;}get[_0x2c8303(0x20c)](){return this[_0x5e72be];}get[_0x2c8303(0x2c2)](){return this[_0x3e9131];}}Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x20c),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x2c2),{'enumerable':!0x0});class _0x1b00bd extends _0xb05729{constructor(_0xbcc6ad,_0x3da2c2={}){const _0x4fb7f8=_0x2c8303;super(_0xbcc6ad),this[_0x329286]=_0x3da2c2[_0x4fb7f8(0x20a)]===void 0x0?0x0:_0x3da2c2[_0x4fb7f8(0x20a)],this[_0x133931]=_0x3da2c2[_0x4fb7f8(0x2bf)]===void 0x0?'':_0x3da2c2[_0x4fb7f8(0x2bf)],this[_0x5a39fd]=_0x3da2c2[_0x4fb7f8(0x26e)]===void 0x0?!0x1:_0x3da2c2[_0x4fb7f8(0x26e)];}get[_0x2c8303(0x20a)](){return this[_0x329286];}get['reason'](){return this[_0x133931];}get[_0x2c8303(0x26e)](){return this[_0x5a39fd];}}Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'code',{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],_0x2c8303(0x2bf),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'wasClean',{'enumerable':!0x0});class _0x33f99d extends _0xb05729{constructor(_0x2b8c44,_0x3284b9={}){const _0x486e65=_0x2c8303;super(_0x2b8c44),this[_0x30a53d]=_0x3284b9[_0x486e65(0x1bc)]===void 0x0?null:_0x3284b9[_0x486e65(0x1bc)],this[_0x4c66df]=_0x3284b9[_0x486e65(0x2c4)]===void 0x0?'':_0x3284b9[_0x486e65(0x2c4)];}get[_0x2c8303(0x1bc)](){return this[_0x30a53d];}get[_0x2c8303(0x2c4)](){return this[_0x4c66df];}}Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],_0x2c8303(0x1bc),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],'message',{'enumerable':!0x0});class _0x51daeb extends _0xb05729{constructor(_0x2a5ccf,_0x7e1a66={}){const _0x4be3bf=_0x2c8303;super(_0x2a5ccf),this[_0x115d3c]=_0x7e1a66[_0x4be3bf(0x29c)]===void 0x0?null:_0x7e1a66[_0x4be3bf(0x29c)];}get[_0x2c8303(0x29c)](){return this[_0x115d3c];}}Object['defineProperty'](_0x51daeb['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1b00bd,'ErrorEvent':_0x33f99d,'Event':_0xb05729,'EventTarget':{'addEventListener'(_0x93e47b,_0x813c61,_0x3f1497={}){const _0x25ab5e=_0x2c8303;for(const _0x5aa336 of this[_0x25ab5e(0x2ce)](_0x93e47b))if(!_0x3f1497[_0x23368d]&&_0x5aa336[_0x3e3b52]===_0x813c61&&!_0x5aa336[_0x23368d])return;let _0x297974;if(_0x93e47b===_0x25ab5e(0x2c4))_0x297974=function(_0x1ecdef,_0x5ab7a5){const _0xcc0f41=new _0x51daeb('message',{'data':_0x5ab7a5?_0x1ecdef:_0x1ecdef['toString']()});_0xcc0f41[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xcc0f41);};else{if(_0x93e47b==='close')_0x297974=function(_0x2a2a67,_0xb2e206){const _0x40bdd5=_0x25ab5e,_0xebd365=new _0x1b00bd(_0x40bdd5(0x2a2),{'code':_0x2a2a67,'reason':_0xb2e206[_0x40bdd5(0x20d)](),'wasClean':this[_0x40bdd5(0x204)]&&this[_0x40bdd5(0x2f1)]});_0xebd365[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xebd365);};else{if(_0x93e47b===_0x25ab5e(0x1bc))_0x297974=function(_0x4d026f){const _0x2ff64=_0x25ab5e,_0x1a76df=new _0x33f99d(_0x2ff64(0x1bc),{'error':_0x4d026f,'message':_0x4d026f[_0x2ff64(0x2c4)]});_0x1a76df[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x1a76df);};else{if(_0x93e47b===_0x25ab5e(0x185))_0x297974=function(){const _0x2d185f=_0x25ab5e,_0x487c68=new _0xb05729(_0x2d185f(0x185));_0x487c68[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x487c68);};else return;}}}_0x297974[_0x23368d]=!!_0x3f1497[_0x23368d],_0x297974[_0x3e3b52]=_0x813c61,_0x3f1497['once']?this['once'](_0x93e47b,_0x297974):this['on'](_0x93e47b,_0x297974);},'removeEventListener'(_0x57f685,_0x28f44e){const _0x5e6b0f=_0x2c8303;for(const _0x188a8a of this[_0x5e6b0f(0x2ce)](_0x57f685))if(_0x188a8a[_0x3e3b52]===_0x28f44e&&!_0x188a8a[_0x23368d]){this[_0x5e6b0f(0x1b4)](_0x57f685,_0x188a8a);break;}}},'MessageEvent':_0x51daeb};function _0x5499ff(_0x5081c8,_0x4f1310,_0x67b2cf){const _0x4544b1=_0x2c8303;typeof _0x5081c8==_0x4544b1(0x22c)&&_0x5081c8[_0x4544b1(0x237)]?_0x5081c8['handleEvent'][_0x4544b1(0x1d0)](_0x5081c8,_0x67b2cf):_0x5081c8[_0x4544b1(0x1d0)](_0x4f1310,_0x67b2cf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x42da60}=ae();function _0x28a83f(_0x307c96,_0x266605,_0x18caff){const _0x2a574e=_0x571c;_0x307c96[_0x266605]===void 0x0?_0x307c96[_0x266605]=[_0x18caff]:_0x307c96[_0x266605][_0x2a574e(0x303)](_0x18caff);}function _0x5811a5(_0x4a4137){const _0x2a82b3=_0x571c,_0x54ef40=Object[_0x2a82b3(0x2ca)](null);let _0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x193b93=!0x1,_0x37a5f2=!0x1,_0x2cc50f=!0x1,_0x143267,_0x1c3b72,_0x21181e=-0x1,_0x4ae45d=-0x1,_0x3df4c8=-0x1,_0x3bd310=0x0;for(;_0x3bd310<_0x4a4137[_0x2a82b3(0x2d0)];_0x3bd310++)if(_0x4ae45d=_0x4a4137['charCodeAt'](_0x3bd310),_0x143267===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x3bd310!==0x0&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x310e9f=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);_0x4ae45d===0x2c?(_0x28a83f(_0x54ef40,_0x310e9f,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null)):_0x143267=_0x310e9f,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}else{if(_0x1c3b72===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x20||_0x4ae45d===0x9)_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310),_0x28a83f(_0x7ea7d8,_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8),!0x0),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x143267=void 0x0),_0x21181e=_0x3df4c8=-0x1;}else{if(_0x4ae45d===0x3d&&_0x21181e!==-0x1&&_0x3df4c8===-0x1)_0x1c3b72=_0x4a4137['slice'](_0x21181e,_0x3bd310),_0x21181e=_0x3df4c8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}}else{if(_0x37a5f2){if(_0x42da60[_0x4ae45d]!==0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x21181e===-0x1?_0x21181e=_0x3bd310:_0x193b93||(_0x193b93=!0x0),_0x37a5f2=!0x1;}else{if(_0x2cc50f){if(_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x22&&_0x21181e!==-0x1)_0x2cc50f=!0x1,_0x3df4c8=_0x3bd310;else{if(_0x4ae45d===0x5c)_0x37a5f2=!0x0;else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}else{if(_0x4ae45d===0x22&&_0x4a4137[_0x2a82b3(0x1d9)](_0x3bd310-0x1)===0x3d)_0x2cc50f=!0x0;else{if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x21181e!==-0x1&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);let _0x3216dd=_0x4a4137['slice'](_0x21181e,_0x3df4c8);_0x193b93&&(_0x3216dd=_0x3216dd['replace'](/\\/g,''),_0x193b93=!0x1),_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x3216dd),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object['create'](null),_0x143267=void 0x0),_0x1c3b72=void 0x0,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}}}}}if(_0x21181e===-0x1||_0x2cc50f||_0x4ae45d===0x20||_0x4ae45d===0x9)throw new SyntaxError(_0x2a82b3(0x207));_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x335f7b=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);return _0x143267===void 0x0?_0x28a83f(_0x54ef40,_0x335f7b,_0x7ea7d8):(_0x1c3b72===void 0x0?_0x28a83f(_0x7ea7d8,_0x335f7b,!0x0):_0x193b93?_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b[_0x2a82b3(0x175)](/\\/g,'')):_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b),_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8)),_0x54ef40;}function _0x308d10(_0x46b12e){const _0xab87ab=_0x571c;return Object['keys'](_0x46b12e)[_0xab87ab(0x2b0)](_0x5a0687=>{const _0x2518d9=_0xab87ab;let _0x15de9f=_0x46b12e[_0x5a0687];return Array[_0x2518d9(0x209)](_0x15de9f)||(_0x15de9f=[_0x15de9f]),_0x15de9f[_0x2518d9(0x2b0)](_0x39b5d0=>[_0x5a0687]['concat'](Object['keys'](_0x39b5d0)['map'](_0x56f1fa=>{const _0x70c5b8=_0x2518d9;let _0xfdfbe4=_0x39b5d0[_0x56f1fa];return Array[_0x70c5b8(0x209)](_0xfdfbe4)||(_0xfdfbe4=[_0xfdfbe4]),_0xfdfbe4['map'](_0x1362fe=>_0x1362fe===!0x0?_0x56f1fa:_0x56f1fa+'='+_0x1362fe)[_0x70c5b8(0x244)](';\x20');}))['join'](';\x20'))[_0x2518d9(0x244)](',\x20');})['join'](',\x20');}return be={'format':_0x308d10,'parse':_0x5811a5},be;}var we,Je;function Pe(){const _0x2eaa38=_0x230e5d;if(Je)return we;Je=0x1;const _0x43742a=nt,_0x1c8219=vt,_0x2681cc=ot,_0x483330=St,_0xeb631c=Et,{randomBytes:_0x580461,createHash:_0x26526c}=Le,{Duplex:_0x161805,Readable:_0x503f21}=oe,{URL:_0x58dfdb}=xt,_0x276475=he(),_0x7b24c0=lt(),_0x23a003=ft(),{isBlob:_0x4de29b}=ae(),{BINARY_TYPES:_0x3c1f83,EMPTY_BUFFER:_0x21bb3f,GUID:_0x5e860,kForOnEventAttribute:_0x4eee06,kListener:_0x2b7352,kStatusCode:_0x1a6a60,kWebSocket:_0x5b12fc,NOOP:_0x24a645}=H(),{EventTarget:{addEventListener:_0x1ad304,removeEventListener:_0x1c4a52}}=It(),{format:_0x18404a,parse:_0x53de83}=ct(),{toBuffer:_0x25e651}=ce(),_0xd46a73=0x1e*0x3e8,_0x4054fc=Symbol(_0x2eaa38(0x182)),_0x36cdad=[0x8,0xd],_0x10f294=[_0x2eaa38(0x24d),_0x2eaa38(0x2dc),'CLOSING','CLOSED'],_0x4b2b78=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e5c7f extends _0x43742a{constructor(_0x562b27,_0x686478,_0x4774e6){const _0x31f357=_0x2eaa38;super(),this[_0x31f357(0x1b6)]=_0x3c1f83[0x0],this[_0x31f357(0x16d)]=0x3ee,this[_0x31f357(0x204)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x31f357(0x2c0)]=_0x21bb3f,this['_closeTimer']=null,this[_0x31f357(0x1b8)]=!0x1,this['_extensions']={},this[_0x31f357(0x1bf)]=!0x1,this[_0x31f357(0x245)]='',this[_0x31f357(0x1c3)]=_0x3e5c7f['CONNECTING'],this[_0x31f357(0x25d)]=null,this['_sender']=null,this[_0x31f357(0x2d3)]=null,_0x562b27!==null?(this[_0x31f357(0x2c6)]=0x0,this[_0x31f357(0x1c4)]=!0x1,this[_0x31f357(0x2cf)]=0x0,_0x686478===void 0x0?_0x686478=[]:Array['isArray'](_0x686478)||(typeof _0x686478==_0x31f357(0x22c)&&_0x686478!==null?(_0x4774e6=_0x686478,_0x686478=[]):_0x686478=[_0x686478]),_0x1362a3(this,_0x562b27,_0x686478,_0x4774e6)):(this['_autoPong']=_0x4774e6[_0x31f357(0x18b)],this['_isServer']=!0x0);}get['binaryType'](){const _0x5cbd96=_0x2eaa38;return this[_0x5cbd96(0x1b6)];}set[_0x2eaa38(0x201)](_0x33058b){const _0x131dbc=_0x2eaa38;_0x3c1f83['includes'](_0x33058b)&&(this[_0x131dbc(0x1b6)]=_0x33058b,this['_receiver']&&(this[_0x131dbc(0x25d)][_0x131dbc(0x1b6)]=_0x33058b));}get['bufferedAmount'](){const _0x2b5ffc=_0x2eaa38;return this[_0x2b5ffc(0x2d3)]?this[_0x2b5ffc(0x2d3)][_0x2b5ffc(0x25a)]['length']+this[_0x2b5ffc(0x2a9)][_0x2b5ffc(0x195)]:this[_0x2b5ffc(0x2c6)];}get[_0x2eaa38(0x21f)](){const _0x128611=_0x2eaa38;return Object[_0x128611(0x161)](this[_0x128611(0x17c)])[_0x128611(0x244)]();}get['isPaused'](){const _0x12813f=_0x2eaa38;return this[_0x12813f(0x1bf)];}get[_0x2eaa38(0x315)](){return null;}get[_0x2eaa38(0x186)](){return null;}get[_0x2eaa38(0x310)](){return null;}get[_0x2eaa38(0x217)](){return null;}get[_0x2eaa38(0x2cd)](){const _0x1c5d3f=_0x2eaa38;return this[_0x1c5d3f(0x245)];}get['readyState'](){const _0x4f96f4=_0x2eaa38;return this[_0x4f96f4(0x1c3)];}get[_0x2eaa38(0x23c)](){const _0x27a2e7=_0x2eaa38;return this[_0x27a2e7(0x254)];}['setSocket'](_0x5a0917,_0xe1ccb0,_0x360926){const _0x466312=_0x2eaa38,_0x273fad=new _0x7b24c0({'allowSynchronousEvents':_0x360926[_0x466312(0x283)],'binaryType':this[_0x466312(0x201)],'extensions':this[_0x466312(0x17c)],'isServer':this[_0x466312(0x1c4)],'maxPayload':_0x360926['maxPayload'],'skipUTF8Validation':_0x360926[_0x466312(0x28a)]}),_0x2d0122=new _0x23a003(_0x5a0917,this[_0x466312(0x17c)],_0x360926[_0x466312(0x233)]);this[_0x466312(0x25d)]=_0x273fad,this[_0x466312(0x2a9)]=_0x2d0122,this[_0x466312(0x2d3)]=_0x5a0917,_0x273fad[_0x5b12fc]=this,_0x2d0122[_0x5b12fc]=this,_0x5a0917[_0x5b12fc]=this,_0x273fad['on'](_0x466312(0x1ba),_0x5525be),_0x273fad['on']('drain',_0x47522c),_0x273fad['on'](_0x466312(0x1bc),_0x56964c),_0x273fad['on'](_0x466312(0x2c4),_0x5a7f90),_0x273fad['on'](_0x466312(0x168),_0x5081ea),_0x273fad['on'](_0x466312(0x1d7),_0x51a1a7),_0x2d0122['onerror']=_0x394fe1,_0x5a0917[_0x466312(0x1c9)]&&_0x5a0917[_0x466312(0x1c9)](0x0),_0x5a0917[_0x466312(0x1ff)]&&_0x5a0917[_0x466312(0x1ff)](),_0xe1ccb0[_0x466312(0x2d0)]>0x0&&_0x5a0917[_0x466312(0x18a)](_0xe1ccb0),_0x5a0917['on'](_0x466312(0x2a2),_0x4fea84),_0x5a0917['on']('data',_0x106090),_0x5a0917['on'](_0x466312(0x24e),_0x55304e),_0x5a0917['on'](_0x466312(0x1bc),_0x2e9d4a),this['_readyState']=_0x3e5c7f[_0x466312(0x2dc)],this[_0x466312(0x234)](_0x466312(0x185));}[_0x2eaa38(0x1f5)](){const _0x2a4c31=_0x2eaa38;if(!this[_0x2a4c31(0x2d3)]){this[_0x2a4c31(0x1c3)]=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this['_closeCode'],this['_closeMessage']);return;}this[_0x2a4c31(0x17c)][_0x276475[_0x2a4c31(0x257)]]&&this[_0x2a4c31(0x17c)][_0x276475['extensionName']][_0x2a4c31(0x2b6)](),this[_0x2a4c31(0x25d)]['removeAllListeners'](),this['_readyState']=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this[_0x2a4c31(0x16d)],this[_0x2a4c31(0x2c0)]);}[_0x2eaa38(0x2a2)](_0x3156ad,_0x56e493){const _0x4246c9=_0x2eaa38;if(this[_0x4246c9(0x267)]!==_0x3e5c7f[_0x4246c9(0x291)]){if(this['readyState']===_0x3e5c7f[_0x4246c9(0x24d)]){_0x3581a4(this,this['_req'],_0x4246c9(0x1df));return;}if(this['readyState']===_0x3e5c7f['CLOSING']){this[_0x4246c9(0x2f1)]&&(this['_closeFrameReceived']||this['_receiver'][_0x4246c9(0x25a)][_0x4246c9(0x1d1)])&&this[_0x4246c9(0x2d3)][_0x4246c9(0x24e)]();return;}this[_0x4246c9(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x4246c9(0x2a9)][_0x4246c9(0x2a2)](_0x3156ad,_0x56e493,!this[_0x4246c9(0x1c4)],_0x54f7c7=>{const _0x12443e=_0x4246c9;_0x54f7c7||(this[_0x12443e(0x2f1)]=!0x0,(this[_0x12443e(0x204)]||this['_receiver'][_0x12443e(0x25a)][_0x12443e(0x1d1)])&&this['_socket']['end']());}),_0x2780d5(this);}}[_0x2eaa38(0x2fb)](){const _0x5c0b48=_0x2eaa38;this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x24d)]||this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x291)]||(this[_0x5c0b48(0x1bf)]=!0x0,this[_0x5c0b48(0x2d3)][_0x5c0b48(0x2fb)]());}['ping'](_0x49689f,_0x4ec217,_0x144e29){const _0x100e24=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0x100e24(0x24d)])throw new Error(_0x100e24(0x272));if(typeof _0x49689f=='function'?(_0x144e29=_0x49689f,_0x49689f=_0x4ec217=void 0x0):typeof _0x4ec217==_0x100e24(0x220)&&(_0x144e29=_0x4ec217,_0x4ec217=void 0x0),typeof _0x49689f==_0x100e24(0x1fc)&&(_0x49689f=_0x49689f['toString']()),this['readyState']!==_0x3e5c7f[_0x100e24(0x2dc)]){_0x513a9c(this,_0x49689f,_0x144e29);return;}_0x4ec217===void 0x0&&(_0x4ec217=!this['_isServer']),this[_0x100e24(0x2a9)]['ping'](_0x49689f||_0x21bb3f,_0x4ec217,_0x144e29);}[_0x2eaa38(0x1d7)](_0x3e2cd1,_0x45acba,_0x37adb2){const _0xd36db5=_0x2eaa38;if(this[_0xd36db5(0x267)]===_0x3e5c7f[_0xd36db5(0x24d)])throw new Error(_0xd36db5(0x272));if(typeof _0x3e2cd1=='function'?(_0x37adb2=_0x3e2cd1,_0x3e2cd1=_0x45acba=void 0x0):typeof _0x45acba==_0xd36db5(0x220)&&(_0x37adb2=_0x45acba,_0x45acba=void 0x0),typeof _0x3e2cd1==_0xd36db5(0x1fc)&&(_0x3e2cd1=_0x3e2cd1[_0xd36db5(0x20d)]()),this[_0xd36db5(0x267)]!==_0x3e5c7f[_0xd36db5(0x2dc)]){_0x513a9c(this,_0x3e2cd1,_0x37adb2);return;}_0x45acba===void 0x0&&(_0x45acba=!this[_0xd36db5(0x1c4)]),this[_0xd36db5(0x2a9)][_0xd36db5(0x1d7)](_0x3e2cd1||_0x21bb3f,_0x45acba,_0x37adb2);}['resume'](){const _0x1c8751=_0x2eaa38;this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x24d)]||this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x291)]||(this[_0x1c8751(0x1bf)]=!0x1,this['_receiver'][_0x1c8751(0x25a)]['needDrain']||this[_0x1c8751(0x2d3)][_0x1c8751(0x306)]());}['send'](_0x202b3c,_0x3c82cf,_0x2928d0){const _0xe9bc08=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0xe9bc08(0x24d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3c82cf==_0xe9bc08(0x220)&&(_0x2928d0=_0x3c82cf,_0x3c82cf={}),typeof _0x202b3c==_0xe9bc08(0x1fc)&&(_0x202b3c=_0x202b3c[_0xe9bc08(0x20d)]()),this[_0xe9bc08(0x267)]!==_0x3e5c7f[_0xe9bc08(0x2dc)]){_0x513a9c(this,_0x202b3c,_0x2928d0);return;}const _0x324d1a={'binary':typeof _0x202b3c!=_0xe9bc08(0x1e4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3c82cf};this[_0xe9bc08(0x17c)][_0x276475['extensionName']]||(_0x324d1a[_0xe9bc08(0x198)]=!0x1),this[_0xe9bc08(0x2a9)]['send'](_0x202b3c||_0x21bb3f,_0x324d1a,_0x2928d0);}[_0x2eaa38(0x28d)](){const _0x272978=_0x2eaa38;if(this[_0x272978(0x267)]!==_0x3e5c7f['CLOSED']){if(this[_0x272978(0x267)]===_0x3e5c7f[_0x272978(0x24d)]){_0x3581a4(this,this[_0x272978(0x27d)],_0x272978(0x1df));return;}this[_0x272978(0x2d3)]&&(this[_0x272978(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x272978(0x2d3)][_0x272978(0x2e8)]());}}}Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)]('CONNECTING')}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x24d))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2dc))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f['prototype'],_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x2dc))}),Object['defineProperty'](_0x3e5c7f,_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x291),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x291))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],'CLOSED',{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x291))}),['binaryType','bufferedAmount',_0x2eaa38(0x21f),'isPaused','protocol',_0x2eaa38(0x267),_0x2eaa38(0x23c)][_0x2eaa38(0x271)](_0x5a8f5a=>{const _0x30976c=_0x2eaa38;Object[_0x30976c(0x2a5)](_0x3e5c7f[_0x30976c(0x23d)],_0x5a8f5a,{'enumerable':!0x0});}),[_0x2eaa38(0x185),_0x2eaa38(0x1bc),_0x2eaa38(0x2a2),_0x2eaa38(0x2c4)][_0x2eaa38(0x271)](_0x177cea=>{Object['defineProperty'](_0x3e5c7f['prototype'],'on'+_0x177cea,{'enumerable':!0x0,'get'(){const _0xad2f4f=_0x571c;for(const _0x2877ac of this[_0xad2f4f(0x2ce)](_0x177cea))if(_0x2877ac[_0x4eee06])return _0x2877ac[_0x2b7352];return null;},'set'(_0x33dd06){const _0x17371b=_0x571c;for(const _0xe7f7c7 of this[_0x17371b(0x2ce)](_0x177cea))if(_0xe7f7c7[_0x4eee06]){this['removeListener'](_0x177cea,_0xe7f7c7);break;}typeof _0x33dd06=='function'&&this[_0x17371b(0x1cb)](_0x177cea,_0x33dd06,{[_0x4eee06]:!0x0});}});}),_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x1cb)]=_0x1ad304,_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x300)]=_0x1c4a52,we=_0x3e5c7f;function _0x1362a3(_0x574e11,_0x2ee5b8,_0x47914f,_0x24aaaf){const _0x1bc0f2=_0x2eaa38,_0x932570={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x36cdad[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24aaaf,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x574e11[_0x1bc0f2(0x16b)]=_0x932570[_0x1bc0f2(0x18b)],!_0x36cdad['includes'](_0x932570[_0x1bc0f2(0x294)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x932570[_0x1bc0f2(0x294)]+_0x1bc0f2(0x2b4)+_0x36cdad[_0x1bc0f2(0x244)](',\x20')+')');let _0x4009ac;if(_0x2ee5b8 instanceof _0x58dfdb)_0x4009ac=_0x2ee5b8;else try{_0x4009ac=new _0x58dfdb(_0x2ee5b8);}catch{throw new SyntaxError(_0x1bc0f2(0x226)+_0x2ee5b8);}_0x4009ac[_0x1bc0f2(0x2cd)]==='http:'?_0x4009ac[_0x1bc0f2(0x2cd)]=_0x1bc0f2(0x180):_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x280)&&(_0x4009ac['protocol']=_0x1bc0f2(0x274)),_0x574e11['_url']=_0x4009ac[_0x1bc0f2(0x27c)];const _0x3c06fd=_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x274),_0x213c34=_0x4009ac['protocol']==='ws+unix:';let _0x2346d0;if(_0x4009ac[_0x1bc0f2(0x2cd)]!=='ws:'&&!_0x3c06fd&&!_0x213c34?_0x2346d0=_0x1bc0f2(0x210):_0x213c34&&!_0x4009ac[_0x1bc0f2(0x202)]?_0x2346d0=_0x1bc0f2(0x16c):_0x4009ac['hash']&&(_0x2346d0='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x2346d0){const _0x506a96=new SyntaxError(_0x2346d0);if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0)throw _0x506a96;_0x2f031d(_0x574e11,_0x506a96);return;}const _0x24f43d=_0x3c06fd?0x1bb:0x50,_0x53b03e=_0x580461(0x10)[_0x1bc0f2(0x20d)](_0x1bc0f2(0x26a)),_0x5da9b1=_0x3c06fd?_0x1c8219[_0x1bc0f2(0x313)]:_0x2681cc[_0x1bc0f2(0x313)],_0x445ff3=new Set();let _0x23ce18;if(_0x932570[_0x1bc0f2(0x1e6)]=_0x932570['createConnection']||(_0x3c06fd?_0x2d507d:_0x2c318a),_0x932570[_0x1bc0f2(0x24f)]=_0x932570[_0x1bc0f2(0x24f)]||_0x24f43d,_0x932570[_0x1bc0f2(0x299)]=_0x4009ac[_0x1bc0f2(0x299)]||_0x24f43d,_0x932570[_0x1bc0f2(0x301)]=_0x4009ac['hostname'][_0x1bc0f2(0x2f3)]('[')?_0x4009ac[_0x1bc0f2(0x1b9)]['slice'](0x1,-0x1):_0x4009ac[_0x1bc0f2(0x1b9)],_0x932570[_0x1bc0f2(0x1e0)]={..._0x932570[_0x1bc0f2(0x1e0)],'Sec-WebSocket-Version':_0x932570['protocolVersion'],'Sec-WebSocket-Key':_0x53b03e,'Connection':_0x1bc0f2(0x223),'Upgrade':'websocket'},_0x932570[_0x1bc0f2(0x2ac)]=_0x4009ac['pathname']+_0x4009ac[_0x1bc0f2(0x278)],_0x932570[_0x1bc0f2(0x289)]=_0x932570[_0x1bc0f2(0x1d6)],_0x932570[_0x1bc0f2(0x2b3)]&&(_0x23ce18=new _0x276475(_0x932570['perMessageDeflate']!==!0x0?_0x932570['perMessageDeflate']:{},!0x1,_0x932570[_0x1bc0f2(0x2e3)]),_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x22a)]=_0x18404a({[_0x276475['extensionName']]:_0x23ce18[_0x1bc0f2(0x2de)]()})),_0x47914f[_0x1bc0f2(0x2d0)]){for(const _0x3f90a5 of _0x47914f){if(typeof _0x3f90a5!=_0x1bc0f2(0x1e4)||!_0x4b2b78[_0x1bc0f2(0x1f9)](_0x3f90a5)||_0x445ff3[_0x1bc0f2(0x1d2)](_0x3f90a5))throw new SyntaxError(_0x1bc0f2(0x1e8));_0x445ff3[_0x1bc0f2(0x163)](_0x3f90a5);}_0x932570['headers'][_0x1bc0f2(0x196)]=_0x47914f[_0x1bc0f2(0x244)](',');}if(_0x932570[_0x1bc0f2(0x29d)]&&(_0x932570['protocolVersion']<0xd?_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2c3)]=_0x932570[_0x1bc0f2(0x29d)]:_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2e9)]=_0x932570[_0x1bc0f2(0x29d)]),(_0x4009ac[_0x1bc0f2(0x160)]||_0x4009ac['password'])&&(_0x932570['auth']=_0x4009ac[_0x1bc0f2(0x160)]+':'+_0x4009ac[_0x1bc0f2(0x189)]),_0x213c34){const _0x14477a=_0x932570['path'][_0x1bc0f2(0x1c0)](':');_0x932570[_0x1bc0f2(0x203)]=_0x14477a[0x0],_0x932570['path']=_0x14477a[0x1];}let _0x3d742f;if(_0x932570[_0x1bc0f2(0x1ce)]){if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0){_0x574e11[_0x1bc0f2(0x1e7)]=_0x213c34,_0x574e11[_0x1bc0f2(0x25f)]=_0x3c06fd,_0x574e11['_originalHostOrSocketPath']=_0x213c34?_0x932570[_0x1bc0f2(0x203)]:_0x4009ac[_0x1bc0f2(0x301)];const _0x5e49c1=_0x24aaaf&&_0x24aaaf[_0x1bc0f2(0x1e0)];if(_0x24aaaf={..._0x24aaaf,'headers':{}},_0x5e49c1){for(const [_0x194f9d,_0x129cdd]of Object['entries'](_0x5e49c1))_0x24aaaf[_0x1bc0f2(0x1e0)][_0x194f9d['toLowerCase']()]=_0x129cdd;}}else{if(_0x574e11['listenerCount'](_0x1bc0f2(0x1c1))===0x0){const _0xcd5030=_0x213c34?_0x574e11[_0x1bc0f2(0x1e7)]?_0x932570[_0x1bc0f2(0x203)]===_0x574e11['_originalHostOrSocketPath']:!0x1:_0x574e11[_0x1bc0f2(0x1e7)]?!0x1:_0x4009ac[_0x1bc0f2(0x301)]===_0x574e11['_originalHostOrSocketPath'];(!_0xcd5030||_0x574e11[_0x1bc0f2(0x25f)]&&!_0x3c06fd)&&(delete _0x932570[_0x1bc0f2(0x1e0)]['authorization'],delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x238)],_0xcd5030||delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x301)],_0x932570['auth']=void 0x0);}}_0x932570[_0x1bc0f2(0x1bd)]&&!_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']&&(_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']='Basic\x20'+Buffer[_0x1bc0f2(0x316)](_0x932570[_0x1bc0f2(0x1bd)])['toString']('base64')),_0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570),_0x574e11['_redirects']&&_0x574e11[_0x1bc0f2(0x234)](_0x1bc0f2(0x1c1),_0x574e11[_0x1bc0f2(0x23c)],_0x3d742f);}else _0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570);_0x932570[_0x1bc0f2(0x289)]&&_0x3d742f['on'](_0x1bc0f2(0x289),()=>{const _0x212b84=_0x1bc0f2;_0x3581a4(_0x574e11,_0x3d742f,_0x212b84(0x1f2));}),_0x3d742f['on'](_0x1bc0f2(0x1bc),_0x31d37e=>{const _0x5dce04=_0x1bc0f2;_0x3d742f===null||_0x3d742f[_0x4054fc]||(_0x3d742f=_0x574e11[_0x5dce04(0x27d)]=null,_0x2f031d(_0x574e11,_0x31d37e));}),_0x3d742f['on'](_0x1bc0f2(0x1d5),_0x256476=>{const _0x5c7ba5=_0x1bc0f2,_0x505af3=_0x256476[_0x5c7ba5(0x1e0)]['location'],_0x3427cc=_0x256476[_0x5c7ba5(0x206)];if(_0x505af3&&_0x932570[_0x5c7ba5(0x1ce)]&&_0x3427cc>=0x12c&&_0x3427cc<0x190){if(++_0x574e11[_0x5c7ba5(0x2cf)]>_0x932570[_0x5c7ba5(0x1e3)]){_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x2ba));return;}_0x3d742f[_0x5c7ba5(0x2df)]();let _0x17525e;try{_0x17525e=new _0x58dfdb(_0x505af3,_0x2ee5b8);}catch{const _0x309c4d=new SyntaxError(_0x5c7ba5(0x226)+_0x505af3);_0x2f031d(_0x574e11,_0x309c4d);return;}_0x1362a3(_0x574e11,_0x17525e,_0x47914f,_0x24aaaf);}else _0x574e11[_0x5c7ba5(0x234)](_0x5c7ba5(0x23a),_0x3d742f,_0x256476)||_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x169)+_0x256476[_0x5c7ba5(0x206)]);}),_0x3d742f['on']('upgrade',(_0x47111d,_0x92fc30,_0x19c676)=>{const _0x958bd6=_0x1bc0f2;if(_0x574e11['emit'](_0x958bd6(0x258),_0x47111d),_0x574e11['readyState']!==_0x3e5c7f['CONNECTING'])return;_0x3d742f=_0x574e11['_req']=null;const _0x5b3bee=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x258)];if(_0x5b3bee===void 0x0||_0x5b3bee[_0x958bd6(0x2fd)]()!==_0x958bd6(0x187)){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x19c));return;}const _0x1b2343=_0x26526c('sha1')[_0x958bd6(0x2b7)](_0x53b03e+_0x5e860)[_0x958bd6(0x25e)](_0x958bd6(0x26a));if(_0x47111d['headers'][_0x958bd6(0x1f0)]!==_0x1b2343){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1ec));return;}const _0x28ecf7=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x1ee)];let _0x12d7db;if(_0x28ecf7!==void 0x0?_0x445ff3[_0x958bd6(0x1ac)]?_0x445ff3[_0x958bd6(0x1d2)](_0x28ecf7)||(_0x12d7db=_0x958bd6(0x1b2)):_0x12d7db=_0x958bd6(0x2ec):_0x445ff3[_0x958bd6(0x1ac)]&&(_0x12d7db='Server\x20sent\x20no\x20subprotocol'),_0x12d7db){_0x3581a4(_0x574e11,_0x92fc30,_0x12d7db);return;}_0x28ecf7&&(_0x574e11[_0x958bd6(0x245)]=_0x28ecf7);const _0x46ad21=_0x47111d['headers'][_0x958bd6(0x2e0)];if(_0x46ad21!==void 0x0){if(!_0x23ce18){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1f1));return;}let _0x496a80;try{_0x496a80=_0x53de83(_0x46ad21);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1d881a=Object['keys'](_0x496a80);if(_0x1d881a[_0x958bd6(0x2d0)]!==0x1||_0x1d881a[0x0]!==_0x276475['extensionName']){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x2c9));return;}try{_0x23ce18[_0x958bd6(0x22b)](_0x496a80[_0x276475[_0x958bd6(0x257)]]);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x574e11[_0x958bd6(0x17c)][_0x276475[_0x958bd6(0x257)]]=_0x23ce18;}_0x574e11[_0x958bd6(0x22f)](_0x92fc30,_0x19c676,{'allowSynchronousEvents':_0x932570[_0x958bd6(0x283)],'generateMask':_0x932570['generateMask'],'maxPayload':_0x932570[_0x958bd6(0x2e3)],'skipUTF8Validation':_0x932570[_0x958bd6(0x28a)]});}),_0x932570[_0x1bc0f2(0x1d8)]?_0x932570[_0x1bc0f2(0x1d8)](_0x3d742f,_0x574e11):_0x3d742f['end']();}function _0x2f031d(_0x9f2976,_0x3c6066){const _0x4fe1ee=_0x2eaa38;_0x9f2976[_0x4fe1ee(0x1c3)]=_0x3e5c7f[_0x4fe1ee(0x2ee)],_0x9f2976[_0x4fe1ee(0x1b8)]=!0x0,_0x9f2976[_0x4fe1ee(0x234)](_0x4fe1ee(0x1bc),_0x3c6066),_0x9f2976[_0x4fe1ee(0x1f5)]();}function _0x2c318a(_0x3ae10f){const _0x1da490=_0x2eaa38;return _0x3ae10f[_0x1da490(0x2ac)]=_0x3ae10f[_0x1da490(0x203)],_0x483330['connect'](_0x3ae10f);}function _0x2d507d(_0x3c0d67){const _0x11e88b=_0x2eaa38;return _0x3c0d67[_0x11e88b(0x2ac)]=void 0x0,!_0x3c0d67[_0x11e88b(0x1a6)]&&_0x3c0d67[_0x11e88b(0x1a6)]!==''&&(_0x3c0d67[_0x11e88b(0x1a6)]=_0x483330[_0x11e88b(0x2ea)](_0x3c0d67[_0x11e88b(0x301)])?'':_0x3c0d67[_0x11e88b(0x301)]),_0xeb631c['connect'](_0x3c0d67);}function _0x3581a4(_0x1bddf4,_0x4a3053,_0x35cfdd){const _0x176f57=_0x2eaa38;_0x1bddf4[_0x176f57(0x1c3)]=_0x3e5c7f[_0x176f57(0x2ee)];const _0xa28047=new Error(_0x35cfdd);Error[_0x176f57(0x2a4)](_0xa28047,_0x3581a4),_0x4a3053[_0x176f57(0x282)]?(_0x4a3053[_0x4054fc]=!0x0,_0x4a3053[_0x176f57(0x2df)](),_0x4a3053[_0x176f57(0x1fb)]&&!_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x1ef)]&&_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x2e8)](),process['nextTick'](_0x2f031d,_0x1bddf4,_0xa28047)):(_0x4a3053[_0x176f57(0x2e8)](_0xa28047),_0x4a3053[_0x176f57(0x1e2)](_0x176f57(0x1bc),_0x1bddf4['emit']['bind'](_0x1bddf4,_0x176f57(0x1bc))),_0x4a3053[_0x176f57(0x1e2)]('close',_0x1bddf4[_0x176f57(0x1f5)]['bind'](_0x1bddf4)));}function _0x513a9c(_0x279e86,_0x4a9828,_0x4cf840){const _0x450a45=_0x2eaa38;if(_0x4a9828){const _0x1f431d=_0x4de29b(_0x4a9828)?_0x4a9828['size']:_0x25e651(_0x4a9828)[_0x450a45(0x2d0)];_0x279e86[_0x450a45(0x2d3)]?_0x279e86['_sender'][_0x450a45(0x195)]+=_0x1f431d:_0x279e86[_0x450a45(0x2c6)]+=_0x1f431d;}if(_0x4cf840){const _0x22a36f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x279e86[_0x450a45(0x267)]+'\x20('+_0x10f294[_0x279e86[_0x450a45(0x267)]]+')');process[_0x450a45(0x239)](_0x4cf840,_0x22a36f);}}function _0x5525be(_0x4bd057,_0x4cea49){const _0x42b8bb=_0x2eaa38,_0x4862be=this[_0x5b12fc];_0x4862be[_0x42b8bb(0x204)]=!0x0,_0x4862be[_0x42b8bb(0x2c0)]=_0x4cea49,_0x4862be[_0x42b8bb(0x16d)]=_0x4bd057,_0x4862be[_0x42b8bb(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x4862be['_socket'][_0x42b8bb(0x1b4)](_0x42b8bb(0x29c),_0x106090),process['nextTick'](_0x31e2c3,_0x4862be[_0x42b8bb(0x2d3)]),_0x4bd057===0x3ed?_0x4862be[_0x42b8bb(0x2a2)]():_0x4862be[_0x42b8bb(0x2a2)](_0x4bd057,_0x4cea49));}function _0x47522c(){const _0x119d18=_0x2eaa38,_0x456564=this[_0x5b12fc];_0x456564[_0x119d18(0x2d9)]||_0x456564[_0x119d18(0x2d3)][_0x119d18(0x306)]();}function _0x56964c(_0x2444ac){const _0x10cfe3=_0x2eaa38,_0x1478fa=this[_0x5b12fc];_0x1478fa[_0x10cfe3(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x1478fa[_0x10cfe3(0x2d3)][_0x10cfe3(0x1b4)](_0x10cfe3(0x29c),_0x106090),process[_0x10cfe3(0x239)](_0x31e2c3,_0x1478fa[_0x10cfe3(0x2d3)]),_0x1478fa[_0x10cfe3(0x2a2)](_0x2444ac[_0x1a6a60])),_0x1478fa[_0x10cfe3(0x1b8)]||(_0x1478fa[_0x10cfe3(0x1b8)]=!0x0,_0x1478fa[_0x10cfe3(0x234)](_0x10cfe3(0x1bc),_0x2444ac));}function _0x6f2de4(){const _0x2d0d47=_0x2eaa38;this[_0x5b12fc][_0x2d0d47(0x1f5)]();}function _0x5a7f90(_0x22f2d8,_0x422b12){const _0x6983f7=_0x2eaa38;this[_0x5b12fc][_0x6983f7(0x234)]('message',_0x22f2d8,_0x422b12);}function _0x5081ea(_0x10ce6c){const _0x47e39b=_0x2eaa38,_0x19307f=this[_0x5b12fc];_0x19307f[_0x47e39b(0x16b)]&&_0x19307f[_0x47e39b(0x1d7)](_0x10ce6c,!this[_0x47e39b(0x1c4)],_0x24a645),_0x19307f['emit'](_0x47e39b(0x168),_0x10ce6c);}function _0x51a1a7(_0x478fb6){const _0x1e521a=_0x2eaa38;this[_0x5b12fc][_0x1e521a(0x234)](_0x1e521a(0x1d7),_0x478fb6);}function _0x31e2c3(_0x161464){const _0x5ac9b3=_0x2eaa38;_0x161464[_0x5ac9b3(0x306)]();}function _0x394fe1(_0x4aea85){const _0x48b689=_0x2eaa38,_0x2a2d88=this[_0x5b12fc];_0x2a2d88[_0x48b689(0x267)]!==_0x3e5c7f['CLOSED']&&(_0x2a2d88[_0x48b689(0x267)]===_0x3e5c7f[_0x48b689(0x2dc)]&&(_0x2a2d88[_0x48b689(0x1c3)]=_0x3e5c7f[_0x48b689(0x2ee)],_0x2780d5(_0x2a2d88)),this[_0x48b689(0x2d3)]['end'](),_0x2a2d88[_0x48b689(0x1b8)]||(_0x2a2d88[_0x48b689(0x1b8)]=!0x0,_0x2a2d88['emit'](_0x48b689(0x1bc),_0x4aea85)));}function _0x2780d5(_0x79dacc){const _0x41292a=_0x2eaa38;_0x79dacc[_0x41292a(0x1fd)]=setTimeout(_0x79dacc[_0x41292a(0x2d3)][_0x41292a(0x2e8)][_0x41292a(0x1f6)](_0x79dacc[_0x41292a(0x2d3)]),_0xd46a73);}function _0x4fea84(){const _0x404005=_0x2eaa38,_0x58c463=this[_0x5b12fc];this[_0x404005(0x1b4)]('close',_0x4fea84),this[_0x404005(0x1b4)](_0x404005(0x29c),_0x106090),this[_0x404005(0x1b4)]('end',_0x55304e),_0x58c463[_0x404005(0x1c3)]=_0x3e5c7f[_0x404005(0x2ee)];let _0x36e4f3;!this[_0x404005(0x2c7)]['endEmitted']&&!_0x58c463[_0x404005(0x204)]&&!_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]&&(_0x36e4f3=_0x58c463[_0x404005(0x2d3)][_0x404005(0x2e6)]())!==null&&_0x58c463[_0x404005(0x25d)][_0x404005(0x27a)](_0x36e4f3),_0x58c463['_receiver'][_0x404005(0x24e)](),this[_0x5b12fc]=void 0x0,clearTimeout(_0x58c463[_0x404005(0x1fd)]),_0x58c463['_receiver'][_0x404005(0x25a)][_0x404005(0x21d)]||_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]?_0x58c463[_0x404005(0x1f5)]():(_0x58c463['_receiver']['on'](_0x404005(0x1bc),_0x6f2de4),_0x58c463[_0x404005(0x25d)]['on'](_0x404005(0x296),_0x6f2de4));}function _0x106090(_0x180995){const _0x1c4195=_0x2eaa38;this[_0x5b12fc]['_receiver'][_0x1c4195(0x27a)](_0x180995)||this[_0x1c4195(0x2fb)]();}function _0x55304e(){const _0x34ec75=_0x2eaa38,_0x413ca9=this[_0x5b12fc];_0x413ca9[_0x34ec75(0x1c3)]=_0x3e5c7f[_0x34ec75(0x2ee)],_0x413ca9[_0x34ec75(0x25d)][_0x34ec75(0x24e)](),this[_0x34ec75(0x24e)]();}function _0x2e9d4a(){const _0x3c8e0a=_0x2eaa38,_0x527b0d=this[_0x5b12fc];this['removeListener']('error',_0x2e9d4a),this['on'](_0x3c8e0a(0x1bc),_0x24a645),_0x527b0d&&(_0x527b0d[_0x3c8e0a(0x1c3)]=_0x3e5c7f[_0x3c8e0a(0x2ee)],this[_0x3c8e0a(0x2e8)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1c9ccc}=oe;function _0x2c58cb(_0x5e24a2){const _0x662e98=_0x571c;_0x5e24a2[_0x662e98(0x234)](_0x662e98(0x2a2));}function _0x476aa2(){const _0x12c157=_0x571c;!this[_0x12c157(0x1ef)]&&this[_0x12c157(0x25a)][_0x12c157(0x21d)]&&this[_0x12c157(0x2e8)]();}function _0x2addce(_0x10a779){const _0x4a9920=_0x571c;this[_0x4a9920(0x1b4)](_0x4a9920(0x1bc),_0x2addce),this[_0x4a9920(0x2e8)](),this[_0x4a9920(0x29a)](_0x4a9920(0x1bc))===0x0&&this[_0x4a9920(0x234)]('error',_0x10a779);}function _0x356c19(_0x599a83,_0x57d294){const _0x541f12=_0x571c;let _0x4d17f8=!0x0;const _0x571094=new _0x1c9ccc({..._0x57d294,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x599a83['on'](_0x541f12(0x2c4),function(_0x24b9a1,_0x5d6fef){const _0x10c4e0=_0x541f12,_0x34b6ac=!_0x5d6fef&&_0x571094[_0x10c4e0(0x2c7)][_0x10c4e0(0x2eb)]?_0x24b9a1[_0x10c4e0(0x20d)]():_0x24b9a1;_0x571094[_0x10c4e0(0x303)](_0x34b6ac)||_0x599a83[_0x10c4e0(0x2fb)]();}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x1bc),function(_0x5cbcd8){const _0x4840f6=_0x541f12;_0x571094[_0x4840f6(0x1ef)]||(_0x4d17f8=!0x1,_0x571094[_0x4840f6(0x2e8)](_0x5cbcd8));}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x2a2),function(){const _0x5982eb=_0x541f12;_0x571094['destroyed']||_0x571094[_0x5982eb(0x303)](null);}),_0x571094[_0x541f12(0x29b)]=function(_0x3cafba,_0x2991d1){const _0x85492a=_0x541f12;if(_0x599a83[_0x85492a(0x267)]===_0x599a83[_0x85492a(0x291)]){_0x2991d1(_0x3cafba),process[_0x85492a(0x239)](_0x2c58cb,_0x571094);return;}let _0x33137a=!0x1;_0x599a83[_0x85492a(0x1e2)](_0x85492a(0x1bc),function(_0x31bf16){_0x33137a=!0x0,_0x2991d1(_0x31bf16);}),_0x599a83['once'](_0x85492a(0x2a2),function(){_0x33137a||_0x2991d1(_0x3cafba),process['nextTick'](_0x2c58cb,_0x571094);}),_0x4d17f8&&_0x599a83[_0x85492a(0x28d)]();},_0x571094[_0x541f12(0x2ad)]=function(_0x42b888){const _0xfa85fc=_0x541f12;if(_0x599a83[_0xfa85fc(0x267)]===_0x599a83[_0xfa85fc(0x24d)]){_0x599a83[_0xfa85fc(0x1e2)]('open',function(){_0x571094['_final'](_0x42b888);});return;}_0x599a83[_0xfa85fc(0x2d3)]!==null&&(_0x599a83['_socket']['_writableState'][_0xfa85fc(0x21d)]?(_0x42b888(),_0x571094['_readableState'][_0xfa85fc(0x172)]&&_0x571094[_0xfa85fc(0x2e8)]()):(_0x599a83[_0xfa85fc(0x2d3)][_0xfa85fc(0x1e2)](_0xfa85fc(0x296),function(){_0x42b888();}),_0x599a83[_0xfa85fc(0x2a2)]()));},_0x571094[_0x541f12(0x2a1)]=function(){const _0x58847f=_0x541f12;_0x599a83[_0x58847f(0x2d9)]&&_0x599a83['resume']();},_0x571094['_write']=function(_0x43d58e,_0x35fe03,_0x514e5b){const _0x1bce2c=_0x541f12;if(_0x599a83[_0x1bce2c(0x267)]===_0x599a83[_0x1bce2c(0x24d)]){_0x599a83[_0x1bce2c(0x1e2)](_0x1bce2c(0x185),function(){_0x571094['_write'](_0x43d58e,_0x35fe03,_0x514e5b);});return;}_0x599a83[_0x1bce2c(0x286)](_0x43d58e,_0x514e5b);},_0x571094['on'](_0x541f12(0x24e),_0x476aa2),_0x571094['on'](_0x541f12(0x1bc),_0x2addce),_0x571094;}return Oe=_0x356c19,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x56f6d8}=ae();function _0x1b74b7(_0x5cdb8a){const _0x576730=_0x571c,_0x1465bb=new Set();let _0x2a9152=-0x1,_0x4a0439=-0x1,_0x5a14fe=0x0;for(_0x5a14fe;_0x5a14fe<_0x5cdb8a[_0x576730(0x2d0)];_0x5a14fe++){const _0x2a7e31=_0x5cdb8a[_0x576730(0x1d9)](_0x5a14fe);if(_0x4a0439===-0x1&&_0x56f6d8[_0x2a7e31]===0x1)_0x2a9152===-0x1&&(_0x2a9152=_0x5a14fe);else{if(_0x5a14fe!==0x0&&(_0x2a7e31===0x20||_0x2a7e31===0x9))_0x4a0439===-0x1&&_0x2a9152!==-0x1&&(_0x4a0439=_0x5a14fe);else{if(_0x2a7e31===0x2c){if(_0x2a9152===-0x1)throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);_0x4a0439===-0x1&&(_0x4a0439=_0x5a14fe);const _0x408262=_0x5cdb8a['slice'](_0x2a9152,_0x4a0439);if(_0x1465bb[_0x576730(0x1d2)](_0x408262))throw new SyntaxError(_0x576730(0x2e5)+_0x408262+_0x576730(0x2f6));_0x1465bb[_0x576730(0x163)](_0x408262),_0x2a9152=_0x4a0439=-0x1;}else throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);}}}if(_0x2a9152===-0x1||_0x4a0439!==-0x1)throw new SyntaxError(_0x576730(0x207));const _0x211a25=_0x5cdb8a['slice'](_0x2a9152,_0x5a14fe);if(_0x1465bb['has'](_0x211a25))throw new SyntaxError('The\x20\x22'+_0x211a25+_0x576730(0x2f6));return _0x1465bb[_0x576730(0x163)](_0x211a25),_0x1465bb;}return Ce={'parse':_0x1b74b7},Ce;}var Te,rt;function Ft(){const _0x5d5d2d=_0x230e5d;if(rt)return Te;rt=0x1;const _0xc4d3f5=nt,_0x5e8e3e=ot,{Duplex:_0x5e3bb2}=oe,{createHash:_0x690a}=Le,_0x36ea42=ct(),_0x1a1103=he(),_0x5069a4=At(),_0x234eb2=Pe(),{GUID:_0xcdbcd1,kWebSocket:_0x204246}=H(),_0x1e76b0=/^[+/0-9A-Za-z]{22}==$/,_0x49f4b9=0x0,_0x269be9=0x1,_0x2f18cf=0x2;class _0x338bc9 extends _0xc4d3f5{constructor(_0x4b9558,_0x41adae){const _0x104280=_0x571c;if(super(),_0x4b9558={'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':_0x234eb2,..._0x4b9558},_0x4b9558[_0x104280(0x299)]==null&&!_0x4b9558['server']&&!_0x4b9558[_0x104280(0x23f)]||_0x4b9558[_0x104280(0x299)]!=null&&(_0x4b9558[_0x104280(0x302)]||_0x4b9558[_0x104280(0x23f)])||_0x4b9558[_0x104280(0x302)]&&_0x4b9558[_0x104280(0x23f)])throw new TypeError(_0x104280(0x16e));if(_0x4b9558[_0x104280(0x299)]!=null?(this[_0x104280(0x2c8)]=_0x5e8e3e[_0x104280(0x1fe)]((_0x1ff7d6,_0x2607a0)=>{const _0x30edcb=_0x104280,_0x1cf456=_0x5e8e3e[_0x30edcb(0x164)][0x1aa];_0x2607a0[_0x30edcb(0x18f)](0x1aa,{'Content-Length':_0x1cf456[_0x30edcb(0x2d0)],'Content-Type':_0x30edcb(0x279)}),_0x2607a0[_0x30edcb(0x24e)](_0x1cf456);}),this[_0x104280(0x2c8)][_0x104280(0x2b1)](_0x4b9558[_0x104280(0x299)],_0x4b9558[_0x104280(0x301)],_0x4b9558['backlog'],_0x41adae)):_0x4b9558[_0x104280(0x302)]&&(this['_server']=_0x4b9558[_0x104280(0x302)]),this[_0x104280(0x2c8)]){const _0x153b89=this[_0x104280(0x234)]['bind'](this,_0x104280(0x18c));this[_0x104280(0x268)]=_0x4e5a8c(this[_0x104280(0x2c8)],{'listening':this[_0x104280(0x234)][_0x104280(0x1f6)](this,'listening'),'error':this[_0x104280(0x234)]['bind'](this,'error'),'upgrade':(_0x292c29,_0x54c056,_0xc99ed2)=>{const _0x94fb7c=_0x104280;this[_0x94fb7c(0x23b)](_0x292c29,_0x54c056,_0xc99ed2,_0x153b89);}});}_0x4b9558[_0x104280(0x2b3)]===!0x0&&(_0x4b9558[_0x104280(0x2b3)]={}),_0x4b9558['clientTracking']&&(this[_0x104280(0x22d)]=new Set(),this[_0x104280(0x20b)]=!0x1),this[_0x104280(0x25b)]=_0x4b9558,this[_0x104280(0x2d4)]=_0x49f4b9;}[_0x5d5d2d(0x266)](){const _0xb5ac3f=_0x5d5d2d;if(this[_0xb5ac3f(0x25b)][_0xb5ac3f(0x23f)])throw new Error(_0xb5ac3f(0x1a7));return this['_server']?this[_0xb5ac3f(0x2c8)][_0xb5ac3f(0x266)]():null;}[_0x5d5d2d(0x2a2)](_0x815141){const _0x1a8ce6=_0x5d5d2d;if(this[_0x1a8ce6(0x2d4)]===_0x2f18cf){_0x815141&&this[_0x1a8ce6(0x1e2)](_0x1a8ce6(0x2a2),()=>{const _0x2ed18b=_0x1a8ce6;_0x815141(new Error(_0x2ed18b(0x1c8)));}),process[_0x1a8ce6(0x239)](_0x51ae07,this);return;}if(_0x815141&&this['once'](_0x1a8ce6(0x2a2),_0x815141),this[_0x1a8ce6(0x2d4)]!==_0x269be9){if(this[_0x1a8ce6(0x2d4)]=_0x269be9,this[_0x1a8ce6(0x25b)][_0x1a8ce6(0x23f)]||this['options'][_0x1a8ce6(0x302)])this[_0x1a8ce6(0x2c8)]&&(this[_0x1a8ce6(0x268)](),this['_removeListeners']=this['_server']=null),this[_0x1a8ce6(0x22d)]?this[_0x1a8ce6(0x22d)][_0x1a8ce6(0x1ac)]?this[_0x1a8ce6(0x20b)]=!0x0:process[_0x1a8ce6(0x239)](_0x51ae07,this):process[_0x1a8ce6(0x239)](_0x51ae07,this);else{const _0x32c33d=this[_0x1a8ce6(0x2c8)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x32c33d['close'](()=>{_0x51ae07(this);});}}}[_0x5d5d2d(0x26c)](_0x2aa863){const _0x1755d1=_0x5d5d2d;if(this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)]){const _0x3d551a=_0x2aa863[_0x1755d1(0x23c)][_0x1755d1(0x1b7)]('?');if((_0x3d551a!==-0x1?_0x2aa863[_0x1755d1(0x23c)]['slice'](0x0,_0x3d551a):_0x2aa863[_0x1755d1(0x23c)])!==this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)])return!0x1;}return!0x0;}[_0x5d5d2d(0x23b)](_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0){const _0x392bde=_0x5d5d2d;_0x281087['on'](_0x392bde(0x1bc),_0x1a9f95);const _0x16251f=_0x3a23f2['headers']['sec-websocket-key'],_0xf15c6e=_0x3a23f2['headers'][_0x392bde(0x258)],_0x254c79=+_0x3a23f2[_0x392bde(0x1e0)]['sec-websocket-version'];if(_0x3a23f2[_0x392bde(0x312)]!=='GET'){_0x5e72a7(this,_0x3a23f2,_0x281087,0x195,_0x392bde(0x162));return;}if(_0xf15c6e===void 0x0||_0xf15c6e['toLowerCase']()!==_0x392bde(0x187)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19c));return;}if(_0x16251f===void 0x0||!_0x1e76b0[_0x392bde(0x1f9)](_0x16251f)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x254c79!==0xd&&_0x254c79!==0x8){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x1c6),{'Sec-WebSocket-Version':_0x392bde(0x216)});return;}if(!this[_0x392bde(0x26c)](_0x3a23f2)){_0x219847(_0x281087,0x190);return;}const _0x2e3bca=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x1ee)];let _0x77086f=new Set();if(_0x2e3bca!==void 0x0)try{_0x77086f=_0x5069a4[_0x392bde(0x1d4)](_0x2e3bca);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19b));return;}const _0x49e6e7=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x2e0)],_0x34aeb8={};if(this[_0x392bde(0x25b)][_0x392bde(0x2b3)]&&_0x49e6e7!==void 0x0){const _0x5b0ebb=new _0x1a1103(this['options'][_0x392bde(0x2b3)],!0x0,this['options']['maxPayload']);try{const _0x33b8ae=_0x36ea42[_0x392bde(0x1d4)](_0x49e6e7);_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]&&(_0x5b0ebb[_0x392bde(0x22b)](_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]),_0x34aeb8[_0x1a1103['extensionName']]=_0x5b0ebb);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x255));return;}}if(this['options'][_0x392bde(0x28b)]){const _0x18dbac={'origin':_0x3a23f2[_0x392bde(0x1e0)][''+(_0x254c79===0x8?_0x392bde(0x218):_0x392bde(0x29d))],'secure':!!(_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x2b8)]||_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x215)]),'req':_0x3a23f2};if(this['options']['verifyClient'][_0x392bde(0x2d0)]===0x2){this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac,(_0x59799c,_0x23feb8,_0x5647d0,_0x3b308b)=>{const _0x26ca09=_0x392bde;if(!_0x59799c)return _0x219847(_0x281087,_0x23feb8||0x191,_0x5647d0,_0x3b308b);this[_0x26ca09(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);});return;}if(!this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac))return _0x219847(_0x281087,0x191);}this[_0x392bde(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);}[_0x5d5d2d(0x1ed)](_0x11f0ea,_0x31cbea,_0x4bb9ea,_0x13c528,_0x46e260,_0x1e5272,_0x53914e){const _0x4632a0=_0x5d5d2d;if(!_0x46e260['readable']||!_0x46e260['writable'])return _0x46e260[_0x4632a0(0x2e8)]();if(_0x46e260[_0x204246])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x49f4b9)return _0x219847(_0x46e260,0x1f7);const _0x117b7b=[_0x4632a0(0x1cf),_0x4632a0(0x2bb),_0x4632a0(0x27b),_0x4632a0(0x191)+_0x690a(_0x4632a0(0x228))[_0x4632a0(0x2b7)](_0x31cbea+_0xcdbcd1)['digest'](_0x4632a0(0x26a))],_0x4516e7=new this[(_0x4632a0(0x25b))][(_0x4632a0(0x28c))](null,void 0x0,this[_0x4632a0(0x25b)]);if(_0x4bb9ea['size']){const _0x21a1ab=this['options'][_0x4632a0(0x2f7)]?this[_0x4632a0(0x25b)][_0x4632a0(0x2f7)](_0x4bb9ea,_0x13c528):_0x4bb9ea[_0x4632a0(0x20f)]()[_0x4632a0(0x263)]()[_0x4632a0(0x2be)];_0x21a1ab&&(_0x117b7b['push'](_0x4632a0(0x260)+_0x21a1ab),_0x4516e7[_0x4632a0(0x245)]=_0x21a1ab);}if(_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]]){const _0x2f8860=_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]][_0x4632a0(0x2b9)],_0x1d1daf=_0x36ea42[_0x4632a0(0x276)]({[_0x1a1103[_0x4632a0(0x257)]]:[_0x2f8860]});_0x117b7b['push'](_0x4632a0(0x190)+_0x1d1daf),_0x4516e7[_0x4632a0(0x17c)]=_0x11f0ea;}this[_0x4632a0(0x234)](_0x4632a0(0x1e0),_0x117b7b,_0x13c528),_0x46e260[_0x4632a0(0x27a)](_0x117b7b[_0x4632a0(0x281)]('\x0d\x0a')[_0x4632a0(0x244)]('\x0d\x0a')),_0x46e260['removeListener'](_0x4632a0(0x1bc),_0x1a9f95),_0x4516e7[_0x4632a0(0x22f)](_0x46e260,_0x1e5272,{'allowSynchronousEvents':this[_0x4632a0(0x25b)][_0x4632a0(0x283)],'maxPayload':this[_0x4632a0(0x25b)][_0x4632a0(0x2e3)],'skipUTF8Validation':this['options'][_0x4632a0(0x28a)]}),this[_0x4632a0(0x22d)]&&(this[_0x4632a0(0x22d)][_0x4632a0(0x163)](_0x4516e7),_0x4516e7['on']('close',()=>{const _0x56a805=_0x4632a0;this['clients']['delete'](_0x4516e7),this['_shouldEmitClose']&&!this[_0x56a805(0x22d)]['size']&&process[_0x56a805(0x239)](_0x51ae07,this);})),_0x53914e(_0x4516e7,_0x13c528);}}Te=_0x338bc9;function _0x4e5a8c(_0x4a0416,_0x15f729){for(const _0xc98e2b of Object['keys'](_0x15f729))_0x4a0416['on'](_0xc98e2b,_0x15f729[_0xc98e2b]);return function(){const _0x37507d=_0x571c;for(const _0x124e91 of Object[_0x37507d(0x161)](_0x15f729))_0x4a0416[_0x37507d(0x1b4)](_0x124e91,_0x15f729[_0x124e91]);};}function _0x51ae07(_0x5a379e){const _0x5caf11=_0x5d5d2d;_0x5a379e[_0x5caf11(0x2d4)]=_0x2f18cf,_0x5a379e[_0x5caf11(0x234)](_0x5caf11(0x2a2));}function _0x1a9f95(){const _0x16ddf5=_0x5d5d2d;this[_0x16ddf5(0x2e8)]();}function _0x219847(_0x172037,_0x1ca743,_0x2bf510,_0x16a069){const _0x58931a=_0x5d5d2d;_0x2bf510=_0x2bf510||_0x5e8e3e[_0x58931a(0x164)][_0x1ca743],_0x16a069={'Connection':_0x58931a(0x2a2),'Content-Type':'text/html','Content-Length':Buffer[_0x58931a(0x23e)](_0x2bf510),..._0x16a069},_0x172037[_0x58931a(0x1e2)](_0x58931a(0x296),_0x172037['destroy']),_0x172037[_0x58931a(0x24e)](_0x58931a(0x194)+_0x1ca743+'\x20'+_0x5e8e3e['STATUS_CODES'][_0x1ca743]+'\x0d\x0a'+Object[_0x58931a(0x161)](_0x16a069)[_0x58931a(0x2b0)](_0x19a035=>_0x19a035+':\x20'+_0x16a069[_0x19a035])[_0x58931a(0x244)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2bf510);}function _0x5e72a7(_0x52846d,_0x5668a3,_0x14921f,_0x2054ae,_0x248a40,_0x46ca72){const _0x3a3481=_0x5d5d2d;if(_0x52846d[_0x3a3481(0x29a)](_0x3a3481(0x28e))){const _0x175e3b=new Error(_0x248a40);Error[_0x3a3481(0x2a4)](_0x175e3b,_0x5e72a7),_0x52846d[_0x3a3481(0x234)](_0x3a3481(0x28e),_0x175e3b,_0x14921f,_0x5668a3);}else _0x219847(_0x14921f,_0x2054ae,_0x248a40,_0x46ca72);}return Te;}Ft();var jt=Object[_0x230e5d(0x261)],Wt=(_0x410f6e,_0x46a3f3,_0x12a7b2,_0x2b453b)=>{const _0x101ad0=_0x230e5d;for(var _0x3e542e=_0x2b453b>0x1?void 0x0:_0x2b453b?jt(_0x46a3f3,_0x12a7b2):_0x46a3f3,_0xdfe03d=_0x410f6e[_0x101ad0(0x2d0)]-0x1,_0x582742;_0xdfe03d>=0x0;_0xdfe03d--)(_0x582742=_0x410f6e[_0xdfe03d])&&(_0x3e542e=_0x582742(_0x3e542e)||_0x3e542e);return _0x3e542e;},qt=(_0xd0ddd5,_0x56f53f)=>(_0x3cea56,_0x1f7a6f)=>_0x56f53f(_0x3cea56,_0x1f7a6f,_0xd0ddd5);let ke=class extends A[_0x230e5d(0x21b)]{constructor(_0x3e3c59){const _0x625a38=_0x230e5d;super(),this[_0x625a38(0x19a)]=_0x3e3c59;}[_0x230e5d(0x2b2)](_0x3d293e){const _0x505742=_0x230e5d;var _0x13421c;const _0x438730=(_0x13421c=this[_0x505742(0x19a)][_0x505742(0x248)](fe))==null?void 0x0:_0x13421c['customHeaders'];try{const _0x386b0c=new $t(_0x3d293e,{'headers':{..._0x438730}}),_0x297601=new A[(_0x505742(0x2d2))]();return{'URL':_0x3d293e,'close':(_0xb64c6d,_0xbe472)=>{const _0x48f3de=_0x505742;_0x386b0c[_0x48f3de(0x2a2)](_0xb64c6d,_0xbe472),_0x297601[_0x48f3de(0x30a)]();},'send':_0x5b27d8=>{const _0x4029b9=_0x505742;_0x386b0c[_0x4029b9(0x286)](_0x5b27d8);},'open$':new V[(_0x505742(0x27e))](_0x4e438a=>{const _0x4fbb69=_0x505742,_0x54d30e=_0x5c179a=>_0x4e438a[_0x4fbb69(0x263)](_0x5c179a);_0x386b0c[_0x4fbb69(0x1cb)](_0x4fbb69(0x185),_0x54d30e),_0x297601[_0x4fbb69(0x163)](A[_0x4fbb69(0x17b)](()=>_0x386b0c[_0x4fbb69(0x300)](_0x4fbb69(0x185),_0x54d30e)));})['pipe'](V[_0x505742(0x242)]()),'close$':new V[(_0x505742(0x27e))](_0x519c9e=>{const _0x4bf103=_0x505742,_0x28c736=_0x424f9b=>_0x519c9e['next'](_0x424f9b);_0x386b0c['addEventListener'](_0x4bf103(0x2a2),_0x28c736),_0x297601['add'](A['toDisposable'](()=>_0x386b0c[_0x4bf103(0x300)]('close',_0x28c736)));})['pipe'](V[_0x505742(0x242)]()),'error$':new V['Observable'](_0x3bfba5=>{const _0x25f0d8=_0x505742,_0x2c67e5=_0x16d6a9=>_0x3bfba5[_0x25f0d8(0x263)](_0x16d6a9);_0x386b0c[_0x25f0d8(0x1cb)]('error',_0x2c67e5),_0x297601[_0x25f0d8(0x163)](A['toDisposable'](()=>_0x386b0c[_0x25f0d8(0x300)]('error',_0x2c67e5)));})['pipe'](V['share']()),'message$':new V[(_0x505742(0x27e))](_0x16d7af=>{const _0x29aaf6=_0x505742,_0x4f6924=_0xe09e44=>_0x16d7af[_0x29aaf6(0x263)](_0xe09e44);_0x386b0c[_0x29aaf6(0x1cb)]('message',_0x4f6924),_0x297601[_0x29aaf6(0x163)](A[_0x29aaf6(0x17b)](()=>_0x386b0c[_0x29aaf6(0x300)](_0x29aaf6(0x2c4),_0x4f6924)));})[_0x505742(0x1da)](V['share']())};}catch(_0x14ead0){return console[_0x505742(0x1bc)](_0x14ead0),null;}}};ke=Wt([qt(0x0,A[_0x230e5d(0x170)])],ke);var Gt=Object[_0x230e5d(0x2a5)],Vt=Object[_0x230e5d(0x261)],Ht=(_0x480a1a,_0x2629d9,_0x1ace34)=>_0x2629d9 in _0x480a1a?Gt(_0x480a1a,_0x2629d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ace34}):_0x480a1a[_0x2629d9]=_0x1ace34,zt=(_0x513631,_0x10a3b9,_0x54aff2,_0x5f51af)=>{for(var _0x2bdab0=_0x5f51af>0x1?void 0x0:_0x5f51af?Vt(_0x10a3b9,_0x54aff2):_0x10a3b9,_0x136bb4=_0x513631['length']-0x1,_0x25562a;_0x136bb4>=0x0;_0x136bb4--)(_0x25562a=_0x513631[_0x136bb4])&&(_0x2bdab0=_0x25562a(_0x2bdab0)||_0x2bdab0);return _0x2bdab0;},Ne=(_0x58492c,_0x4ed8b5)=>(_0x2b2ef9,_0x3ebe66)=>_0x4ed8b5(_0x2b2ef9,_0x3ebe66,_0x58492c),Yt=(_0x301f8d,_0x46a022,_0x4e4883)=>Ht(_0x301f8d,_0x46a022+'',_0x4e4883);exports[_0x230e5d(0x27f)]=class extends A[_0x230e5d(0x26f)]{constructor(_0x401970=Ct,_0x517f56,_0x147df6,_0x3b6861){const _0x346230=_0x230e5d;_0x401970[_0x346230(0x1cd)]||_0x517f56['warn'](_0x346230(0x2f4)),super(),this[_0x346230(0x19a)]=_0x147df6,this['_injector']=_0x3b6861,this['_configService']['setConfig'](fe,_0x401970);}[_0x230e5d(0x2f5)](){const _0x3dcdb6=_0x230e5d;this[_0x3dcdb6(0x292)]();}[_0x230e5d(0x292)](){const _0x4aaa40=_0x230e5d;A[_0x4aaa40(0x2d5)](this[_0x4aaa40(0x24a)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x230e5d(0x27f)],_0x230e5d(0x2c1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x230e5d(0x27f)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x230e5d(0x174)]),Ne(0x2,A[_0x230e5d(0x170)]),Ne(0x3,A[_0x230e5d(0x1e9)](A[_0x230e5d(0x188)]))],exports[_0x230e5d(0x27f)]);var Kt=Object[_0x230e5d(0x261)],Xt=(_0x5b775d,_0x508ea2,_0x5b88de,_0xd81493)=>{const _0x4c6780=_0x230e5d;for(var _0x44bf1b=_0xd81493>0x1?void 0x0:_0xd81493?Kt(_0x508ea2,_0x5b88de):_0x508ea2,_0x3338e2=_0x5b775d[_0x4c6780(0x2d0)]-0x1,_0x398945;_0x3338e2>=0x0;_0x3338e2--)(_0x398945=_0x5b775d[_0x3338e2])&&(_0x44bf1b=_0x398945(_0x44bf1b)||_0x44bf1b);return _0x44bf1b;},ne=(_0x21005e,_0x12eb1b)=>(_0x5d539d,_0x55661a)=>_0x12eb1b(_0x5d539d,_0x55661a,_0x21005e);exports['NodeCollaborationSocketService']=class extends st[_0x230e5d(0x2fa)]{constructor(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed){const _0xa7f70c=_0x230e5d;super(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed);const _0x2b82e9=this[_0xa7f70c(0x19a)]['getConfig'](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x565f20,_0x5958a2)=>{const _0x1372f9=_0xa7f70c;var _0x5bdffa;const _0x559f4f=_0x565f20['headers'];return(_0x5bdffa=_0x2b82e9==null?void 0x0:_0x2b82e9['customHeaders'])!=null&&_0x5bdffa[_0x1372f9(0x238)]&&_0x559f4f[_0x1372f9(0x275)]('Cookie',_0x2b82e9[_0x1372f9(0x1cd)][_0x1372f9(0x238)]),_0x5958a2(_0x565f20);}});}async[_0x230e5d(0x2b2)](_0x47c952){const _0x394d7f=_0x230e5d;return this[_0x394d7f(0x178)](_0x47c952);}},exports[_0x230e5d(0x166)]=Xt([ne(0x0,A['Inject'](A[_0x230e5d(0x188)])),ne(0x1,A['Inject'](it[_0x230e5d(0x30c)])),ne(0x2,A[_0x230e5d(0x170)]),ne(0x3,A[_0x230e5d(0x174)]),ne(0x4,Ot[_0x230e5d(0x1aa)])],exports[_0x230e5d(0x166)]),exports[_0x230e5d(0x2f2)]=fe;
1
+ 'use strict';const _0x30f6f8=_0x228c;(function(_0x58c078,_0x16f7c3){const _0x483907=_0x228c,_0x53694f=_0x58c078();while(!![]){try{const _0x54cf03=-parseInt(_0x483907(0x319))/0x1*(parseInt(_0x483907(0x219))/0x2)+parseInt(_0x483907(0x1e0))/0x3*(parseInt(_0x483907(0x304))/0x4)+parseInt(_0x483907(0x22c))/0x5*(parseInt(_0x483907(0x32e))/0x6)+parseInt(_0x483907(0x2ea))/0x7+parseInt(_0x483907(0x202))/0x8+-parseInt(_0x483907(0x1d3))/0x9*(-parseInt(_0x483907(0x28f))/0xa)+-parseInt(_0x483907(0x254))/0xb;if(_0x54cf03===_0x16f7c3)break;else _0x53694f['push'](_0x53694f['shift']());}catch(_0x41af2b){_0x53694f['push'](_0x53694f['shift']());}}}(_0x5f39,0xb17fd));function _0x228c(_0x1c9963,_0x40fca2){const _0x5f3932=_0x5f39();return _0x228c=function(_0x228c62,_0x514f31){_0x228c62=_0x228c62-0x1bc;let _0x1bc27f=_0x5f3932[_0x228c62];return _0x1bc27f;},_0x228c(_0x1c9963,_0x40fca2);}Object[_0x30f6f8(0x22f)](exports,Symbol['toStringTag'],{'value':_0x30f6f8(0x1fe)});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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x41fc69){const _0x491764=_0x30f6f8;return _0x41fc69&&_0x41fc69['__esModule']&&Object[_0x491764(0x334)][_0x491764(0x24d)][_0x491764(0x2e0)](_0x41fc69,_0x491764(0x323))?_0x41fc69[_0x491764(0x323)]:_0x41fc69;}function at(_0x2b9ff6){const _0x537ec8=_0x30f6f8;if(Object[_0x537ec8(0x334)][_0x537ec8(0x24d)][_0x537ec8(0x2e0)](_0x2b9ff6,_0x537ec8(0x2d3)))return _0x2b9ff6;var _0x1c5e6b=_0x2b9ff6[_0x537ec8(0x323)];if(typeof _0x1c5e6b==_0x537ec8(0x354)){var _0x4885b6=function _0x596337(){const _0x4f51ed=_0x537ec8;var _0x2e5196=!0x1;try{_0x2e5196=this instanceof _0x596337;}catch{}return _0x2e5196?Reflect[_0x4f51ed(0x33e)](_0x1c5e6b,arguments,this[_0x4f51ed(0x331)]):_0x1c5e6b['apply'](this,arguments);};_0x4885b6[_0x537ec8(0x334)]=_0x1c5e6b['prototype'];}else _0x4885b6={};return Object[_0x537ec8(0x22f)](_0x4885b6,_0x537ec8(0x2d3),{'value':!0x0}),Object['keys'](_0x2b9ff6)[_0x537ec8(0x2fe)](function(_0x4cda2a){const _0xd7f9b3=_0x537ec8;var _0x5662e2=Object['getOwnPropertyDescriptor'](_0x2b9ff6,_0x4cda2a);Object[_0xd7f9b3(0x22f)](_0x4885b6,_0x4cda2a,_0x5662e2[_0xd7f9b3(0x2c9)]?_0x5662e2:{'enumerable':!0x0,'get':function(){return _0x2b9ff6[_0x4cda2a];}});}),_0x4885b6;}var se={'exports':{}},ge,Ge;function H(){const _0x111b25=_0x30f6f8;if(Ge)return ge;Ge=0x1;const _0xa701fc=[_0x111b25(0x1dc),_0x111b25(0x255),_0x111b25(0x26e)],_0x2d38ae=typeof Blob<'u';return _0x2d38ae&&_0xa701fc[_0x111b25(0x1d8)]('blob'),ge={'BINARY_TYPES':_0xa701fc,'EMPTY_BUFFER':Buffer[_0x111b25(0x23a)](0x0),'GUID':_0x111b25(0x208),'hasBlob':_0x2d38ae,'kForOnEventAttribute':Symbol(_0x111b25(0x330)),'kListener':Symbol(_0x111b25(0x23f)),'kStatusCode':Symbol(_0x111b25(0x269)),'kWebSocket':Symbol(_0x111b25(0x344)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x30f6f8(0x22f)]({'__proto__':null,'default':Nt},Symbol[_0x30f6f8(0x2ae)],{'value':_0x30f6f8(0x1fe)})),Lt=at(kt);var Ve;function ce(){const _0x3642d0=_0x30f6f8;if(Ve)return se[_0x3642d0(0x2cd)];Ve=0x1;const {EMPTY_BUFFER:_0x20eb5a}=H(),_0x4012a=Buffer[Symbol[_0x3642d0(0x360)]];function _0xc18c65(_0x4bbcb5,_0x50826b){const _0xbeb07c=_0x3642d0;if(_0x4bbcb5['length']===0x0)return _0x20eb5a;if(_0x4bbcb5[_0xbeb07c(0x1f9)]===0x1)return _0x4bbcb5[0x0];const _0x224c27=Buffer['allocUnsafe'](_0x50826b);let _0x1e0a51=0x0;for(let _0x30ae4e=0x0;_0x30ae4e<_0x4bbcb5[_0xbeb07c(0x1f9)];_0x30ae4e++){const _0x5a2464=_0x4bbcb5[_0x30ae4e];_0x224c27[_0xbeb07c(0x1df)](_0x5a2464,_0x1e0a51),_0x1e0a51+=_0x5a2464[_0xbeb07c(0x1f9)];}return _0x1e0a51<_0x50826b?new _0x4012a(_0x224c27[_0xbeb07c(0x1f3)],_0x224c27[_0xbeb07c(0x32b)],_0x1e0a51):_0x224c27;}function _0x2b1f0b(_0x21932c,_0x56c5e8,_0x363df6,_0x3e4e2a,_0x2f083a){for(let _0x439fdc=0x0;_0x439fdc<_0x2f083a;_0x439fdc++)_0x363df6[_0x3e4e2a+_0x439fdc]=_0x21932c[_0x439fdc]^_0x56c5e8[_0x439fdc&0x3];}function _0x56db26(_0x172d9c,_0x5e9793){const _0x592fcd=_0x3642d0;for(let _0x36e0c2=0x0;_0x36e0c2<_0x172d9c[_0x592fcd(0x1f9)];_0x36e0c2++)_0x172d9c[_0x36e0c2]^=_0x5e9793[_0x36e0c2&0x3];}function _0x205f9b(_0x5467ea){const _0x207b86=_0x3642d0;return _0x5467ea['length']===_0x5467ea[_0x207b86(0x1f3)][_0x207b86(0x314)]?_0x5467ea['buffer']:_0x5467ea[_0x207b86(0x1f3)][_0x207b86(0x26b)](_0x5467ea[_0x207b86(0x32b)],_0x5467ea[_0x207b86(0x32b)]+_0x5467ea[_0x207b86(0x1f9)]);}function _0x81e80b(_0xcd03e){const _0x5a8a54=_0x3642d0;if(_0x81e80b['readOnly']=!0x0,Buffer['isBuffer'](_0xcd03e))return _0xcd03e;let _0x242baf;return _0xcd03e instanceof ArrayBuffer?_0x242baf=new _0x4012a(_0xcd03e):ArrayBuffer[_0x5a8a54(0x1ed)](_0xcd03e)?_0x242baf=new _0x4012a(_0xcd03e[_0x5a8a54(0x1f3)],_0xcd03e[_0x5a8a54(0x32b)],_0xcd03e[_0x5a8a54(0x314)]):(_0x242baf=Buffer['from'](_0xcd03e),_0x81e80b[_0x5a8a54(0x20f)]=!0x1),_0x242baf;}if(se['exports']={'concat':_0xc18c65,'mask':_0x2b1f0b,'toArrayBuffer':_0x205f9b,'toBuffer':_0x81e80b,'unmask':_0x56db26},!process[_0x3642d0(0x204)]['WS_NO_BUFFER_UTIL'])try{const _0x3d896e=Lt;se['exports'][_0x3642d0(0x25f)]=function(_0x50989c,_0x128a9a,_0xc86054,_0x2b3053,_0x501e62){_0x501e62<0x30?_0x2b1f0b(_0x50989c,_0x128a9a,_0xc86054,_0x2b3053,_0x501e62):_0x3d896e['mask'](_0x50989c,_0x128a9a,_0xc86054,_0x2b3053,_0x501e62);},se[_0x3642d0(0x2cd)][_0x3642d0(0x23e)]=function(_0x454eff,_0x4ed3b3){const _0x479c80=_0x3642d0;_0x454eff['length']<0x20?_0x56db26(_0x454eff,_0x4ed3b3):_0x3d896e[_0x479c80(0x23e)](_0x454eff,_0x4ed3b3);};}catch{}return se[_0x3642d0(0x2cd)];}var ye,He;function Pt(){const _0x5a3ab6=_0x30f6f8;if(He)return ye;He=0x1;const _0x234df6=Symbol('kDone'),_0x5c3971=Symbol(_0x5a3ab6(0x326));class _0x1c9943{constructor(_0xe08a51){const _0x55fd92=_0x5a3ab6;this[_0x234df6]=()=>{const _0x39ab87=_0x228c;this[_0x39ab87(0x1d6)]--,this[_0x5c3971]();},this[_0x55fd92(0x259)]=_0xe08a51||0x1/0x0,this[_0x55fd92(0x272)]=[],this[_0x55fd92(0x1d6)]=0x0;}[_0x5a3ab6(0x2f8)](_0x2f2fb0){const _0xf28a12=_0x5a3ab6;this['jobs'][_0xf28a12(0x1d8)](_0x2f2fb0),this[_0x5c3971]();}[_0x5c3971](){const _0x5ada68=_0x5a3ab6;if(this['pending']!==this[_0x5ada68(0x259)]&&this[_0x5ada68(0x272)][_0x5ada68(0x1f9)]){const _0x4f348e=this[_0x5ada68(0x272)][_0x5ada68(0x2fa)]();this[_0x5ada68(0x1d6)]++,_0x4f348e(this[_0x234df6]);}}}return ye=_0x1c9943,ye;}var ve,ze;function he(){const _0x25e26e=_0x30f6f8;if(ze)return ve;ze=0x1;const _0x1defbb=bt,_0xf3f6e7=ce(),_0x11136b=Pt(),{kStatusCode:_0x343347}=H(),_0x408fe8=Buffer[Symbol[_0x25e26e(0x360)]],_0x30d667=Buffer[_0x25e26e(0x286)]([0x0,0x0,0xff,0xff]),_0x3bd799=Symbol(_0x25e26e(0x1f0)),_0xa162d1=Symbol('total-length'),_0x408e16=Symbol(_0x25e26e(0x21b)),_0x4cd67b=Symbol(_0x25e26e(0x29d)),_0x19afa9=Symbol(_0x25e26e(0x2c6));let _0x13af51;class _0x3b0ae2{constructor(_0x46f932,_0x1662ed,_0x354f47){const _0x29da32=_0x25e26e;if(this['_maxPayload']=_0x354f47|0x0,this[_0x29da32(0x298)]=_0x46f932||{},this['_threshold']=this[_0x29da32(0x298)]['threshold']!==void 0x0?this[_0x29da32(0x298)][_0x29da32(0x338)]:0x400,this[_0x29da32(0x31d)]=!!_0x1662ed,this[_0x29da32(0x31e)]=null,this[_0x29da32(0x345)]=null,this[_0x29da32(0x258)]=null,!_0x13af51){const _0x233563=this['_options'][_0x29da32(0x297)]!==void 0x0?this['_options'][_0x29da32(0x297)]:0xa;_0x13af51=new _0x11136b(_0x233563);}}static get['extensionName'](){return'permessage-deflate';}[_0x25e26e(0x20c)](){const _0x102b48=_0x25e26e,_0x9a5d42={};return this[_0x102b48(0x298)]['serverNoContextTakeover']&&(_0x9a5d42[_0x102b48(0x343)]=!0x0),this[_0x102b48(0x298)][_0x102b48(0x2e7)]&&(_0x9a5d42[_0x102b48(0x247)]=!0x0),this[_0x102b48(0x298)]['serverMaxWindowBits']&&(_0x9a5d42[_0x102b48(0x241)]=this[_0x102b48(0x298)][_0x102b48(0x209)]),this[_0x102b48(0x298)]['clientMaxWindowBits']?_0x9a5d42[_0x102b48(0x2d0)]=this['_options'][_0x102b48(0x37a)]:this[_0x102b48(0x298)][_0x102b48(0x37a)]==null&&(_0x9a5d42[_0x102b48(0x2d0)]=!0x0),_0x9a5d42;}['accept'](_0x5d436e){const _0x14693d=_0x25e26e;return _0x5d436e=this[_0x14693d(0x21a)](_0x5d436e),this[_0x14693d(0x258)]=this['_isServer']?this['acceptAsServer'](_0x5d436e):this[_0x14693d(0x328)](_0x5d436e),this[_0x14693d(0x258)];}[_0x25e26e(0x324)](){const _0x882ad8=_0x25e26e;if(this['_inflate']&&(this[_0x882ad8(0x345)][_0x882ad8(0x2eb)](),this[_0x882ad8(0x345)]=null),this[_0x882ad8(0x31e)]){const _0x433be6=this['_deflate'][_0x408e16];this[_0x882ad8(0x31e)][_0x882ad8(0x2eb)](),this['_deflate']=null,_0x433be6&&_0x433be6(new Error(_0x882ad8(0x1e9)));}}[_0x25e26e(0x303)](_0xc2ff75){const _0x108e9e=_0x25e26e,_0x319040=this[_0x108e9e(0x298)],_0x42dddc=_0xc2ff75[_0x108e9e(0x365)](_0x317f11=>!(_0x319040[_0x108e9e(0x32f)]===!0x1&&_0x317f11['server_no_context_takeover']||_0x317f11['server_max_window_bits']&&(_0x319040[_0x108e9e(0x209)]===!0x1||typeof _0x319040[_0x108e9e(0x209)]=='number'&&_0x319040[_0x108e9e(0x209)]>_0x317f11['server_max_window_bits'])||typeof _0x319040[_0x108e9e(0x37a)]==_0x108e9e(0x263)&&!_0x317f11[_0x108e9e(0x2d0)]));if(!_0x42dddc)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x319040[_0x108e9e(0x32f)]&&(_0x42dddc['server_no_context_takeover']=!0x0),_0x319040[_0x108e9e(0x2e7)]&&(_0x42dddc[_0x108e9e(0x247)]=!0x0),typeof _0x319040['serverMaxWindowBits']==_0x108e9e(0x263)&&(_0x42dddc['server_max_window_bits']=_0x319040[_0x108e9e(0x209)]),typeof _0x319040[_0x108e9e(0x37a)]==_0x108e9e(0x263)?_0x42dddc['client_max_window_bits']=_0x319040['clientMaxWindowBits']:(_0x42dddc[_0x108e9e(0x2d0)]===!0x0||_0x319040[_0x108e9e(0x37a)]===!0x1)&&delete _0x42dddc[_0x108e9e(0x2d0)],_0x42dddc;}[_0x25e26e(0x328)](_0x10b227){const _0x5753c0=_0x25e26e,_0x5d571c=_0x10b227[0x0];if(this[_0x5753c0(0x298)][_0x5753c0(0x2e7)]===!0x1&&_0x5d571c[_0x5753c0(0x247)])throw new Error(_0x5753c0(0x1fc));if(!_0x5d571c[_0x5753c0(0x2d0)])typeof this[_0x5753c0(0x298)][_0x5753c0(0x37a)]=='number'&&(_0x5d571c[_0x5753c0(0x2d0)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x5753c0(0x298)][_0x5753c0(0x37a)]===!0x1||typeof this[_0x5753c0(0x298)][_0x5753c0(0x37a)]==_0x5753c0(0x263)&&_0x5d571c[_0x5753c0(0x2d0)]>this[_0x5753c0(0x298)][_0x5753c0(0x37a)])throw new Error(_0x5753c0(0x201));}return _0x5d571c;}[_0x25e26e(0x21a)](_0x50af5e){const _0x432e74=_0x25e26e;return _0x50af5e[_0x432e74(0x2fe)](_0x966966=>{Object['keys'](_0x966966)['forEach'](_0x4da28d=>{const _0x14566d=_0x228c;let _0x1a0fb3=_0x966966[_0x4da28d];if(_0x1a0fb3[_0x14566d(0x1f9)]>0x1)throw new Error(_0x14566d(0x1c6)+_0x4da28d+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x1a0fb3=_0x1a0fb3[0x0],_0x4da28d===_0x14566d(0x2d0)){if(_0x1a0fb3!==!0x0){const _0x478225=+_0x1a0fb3;if(!Number[_0x14566d(0x34c)](_0x478225)||_0x478225<0x8||_0x478225>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4da28d+_0x14566d(0x242)+_0x1a0fb3);_0x1a0fb3=_0x478225;}else{if(!this[_0x14566d(0x31d)])throw new TypeError(_0x14566d(0x216)+_0x4da28d+_0x14566d(0x242)+_0x1a0fb3);}}else{if(_0x4da28d===_0x14566d(0x241)){const _0x26e438=+_0x1a0fb3;if(!Number[_0x14566d(0x34c)](_0x26e438)||_0x26e438<0x8||_0x26e438>0xf)throw new TypeError(_0x14566d(0x216)+_0x4da28d+_0x14566d(0x242)+_0x1a0fb3);_0x1a0fb3=_0x26e438;}else{if(_0x4da28d==='client_no_context_takeover'||_0x4da28d===_0x14566d(0x343)){if(_0x1a0fb3!==!0x0)throw new TypeError(_0x14566d(0x216)+_0x4da28d+_0x14566d(0x242)+_0x1a0fb3);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4da28d+'\x22');}}_0x966966[_0x4da28d]=_0x1a0fb3;});}),_0x50af5e;}['decompress'](_0x51f114,_0x4763f9,_0x413278){const _0xc57463=_0x25e26e;_0x13af51[_0xc57463(0x2f8)](_0x53baa2=>{const _0x20ad61=_0xc57463;this[_0x20ad61(0x2c5)](_0x51f114,_0x4763f9,(_0x5e050e,_0x126c3f)=>{_0x53baa2(),_0x413278(_0x5e050e,_0x126c3f);});});}[_0x25e26e(0x2d1)](_0x370ee6,_0x55b138,_0x59989a){const _0x45ec63=_0x25e26e;_0x13af51[_0x45ec63(0x2f8)](_0x577730=>{const _0x269bec=_0x45ec63;this[_0x269bec(0x26d)](_0x370ee6,_0x55b138,(_0x81ef70,_0x4cb55a)=>{_0x577730(),_0x59989a(_0x81ef70,_0x4cb55a);});});}[_0x25e26e(0x2c5)](_0x5d2d41,_0x5ea27e,_0x5b78b4){const _0x2e980e=_0x25e26e,_0x21d976=this[_0x2e980e(0x31d)]?_0x2e980e(0x1f6):_0x2e980e(0x1c0);if(!this[_0x2e980e(0x345)]){const _0x4b4cec=_0x21d976+_0x2e980e(0x21f),_0x36cc9b=typeof this[_0x2e980e(0x258)][_0x4b4cec]!='number'?_0x1defbb['Z_DEFAULT_WINDOWBITS']:this[_0x2e980e(0x258)][_0x4b4cec];this[_0x2e980e(0x345)]=_0x1defbb[_0x2e980e(0x322)]({...this['_options'][_0x2e980e(0x26c)],'windowBits':_0x36cc9b}),this['_inflate'][_0x3bd799]=this,this[_0x2e980e(0x345)][_0xa162d1]=0x0,this[_0x2e980e(0x345)][_0x4cd67b]=[],this[_0x2e980e(0x345)]['on'](_0x2e980e(0x2c6),_0x21bb1d),this[_0x2e980e(0x345)]['on']('data',_0x44c6fa);}this['_inflate'][_0x408e16]=_0x5b78b4,this[_0x2e980e(0x345)][_0x2e980e(0x1d2)](_0x5d2d41),_0x5ea27e&&this['_inflate'][_0x2e980e(0x1d2)](_0x30d667),this['_inflate'][_0x2e980e(0x369)](()=>{const _0x1e7caa=_0x2e980e,_0x5cc055=this[_0x1e7caa(0x345)][_0x19afa9];if(_0x5cc055){this['_inflate'][_0x1e7caa(0x2eb)](),this[_0x1e7caa(0x345)]=null,_0x5b78b4(_0x5cc055);return;}const _0x236921=_0xf3f6e7[_0x1e7caa(0x283)](this[_0x1e7caa(0x345)][_0x4cd67b],this['_inflate'][_0xa162d1]);this[_0x1e7caa(0x345)][_0x1e7caa(0x1f4)][_0x1e7caa(0x2e4)]?(this[_0x1e7caa(0x345)]['close'](),this[_0x1e7caa(0x345)]=null):(this[_0x1e7caa(0x345)][_0xa162d1]=0x0,this[_0x1e7caa(0x345)][_0x4cd67b]=[],_0x5ea27e&&this[_0x1e7caa(0x258)][_0x21d976+_0x1e7caa(0x280)]&&this[_0x1e7caa(0x345)][_0x1e7caa(0x321)]()),_0x5b78b4(null,_0x236921);});}['_compress'](_0x327782,_0xe87caf,_0x624d70){const _0x185f54=_0x25e26e,_0x2dabd9=this[_0x185f54(0x31d)]?'server':_0x185f54(0x1f6);if(!this['_deflate']){const _0x2f7a97=_0x2dabd9+_0x185f54(0x21f),_0x471173=typeof this['params'][_0x2f7a97]!=_0x185f54(0x263)?_0x1defbb[_0x185f54(0x1d7)]:this['params'][_0x2f7a97];this[_0x185f54(0x31e)]=_0x1defbb[_0x185f54(0x293)]({...this[_0x185f54(0x298)][_0x185f54(0x376)],'windowBits':_0x471173}),this['_deflate'][_0xa162d1]=0x0,this[_0x185f54(0x31e)][_0x4cd67b]=[],this['_deflate']['on'](_0x185f54(0x2e1),_0x4502bc);}this[_0x185f54(0x31e)][_0x408e16]=_0x624d70,this[_0x185f54(0x31e)][_0x185f54(0x1d2)](_0x327782),this[_0x185f54(0x31e)][_0x185f54(0x369)](_0x1defbb[_0x185f54(0x1e5)],()=>{const _0x143078=_0x185f54;if(!this[_0x143078(0x31e)])return;let _0x306814=_0xf3f6e7[_0x143078(0x283)](this[_0x143078(0x31e)][_0x4cd67b],this['_deflate'][_0xa162d1]);_0xe87caf&&(_0x306814=new _0x408fe8(_0x306814[_0x143078(0x1f3)],_0x306814[_0x143078(0x32b)],_0x306814['length']-0x4)),this[_0x143078(0x31e)][_0x408e16]=null,this[_0x143078(0x31e)][_0xa162d1]=0x0,this[_0x143078(0x31e)][_0x4cd67b]=[],_0xe87caf&&this['params'][_0x2dabd9+_0x143078(0x280)]&&this[_0x143078(0x31e)][_0x143078(0x321)](),_0x624d70(null,_0x306814);});}}ve=_0x3b0ae2;function _0x4502bc(_0x29fdec){const _0x295c8e=_0x25e26e;this[_0x4cd67b][_0x295c8e(0x1d8)](_0x29fdec),this[_0xa162d1]+=_0x29fdec['length'];}function _0x44c6fa(_0x9d4f0f){const _0x1a4675=_0x25e26e;if(this[_0xa162d1]+=_0x9d4f0f[_0x1a4675(0x1f9)],this[_0x3bd799][_0x1a4675(0x233)]<0x1||this[_0xa162d1]<=this[_0x3bd799][_0x1a4675(0x233)]){this[_0x4cd67b][_0x1a4675(0x1d8)](_0x9d4f0f);return;}this[_0x19afa9]=new RangeError(_0x1a4675(0x27e)),this[_0x19afa9][_0x1a4675(0x352)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x19afa9][_0x343347]=0x3f1,this[_0x1a4675(0x368)](_0x1a4675(0x2e1),_0x44c6fa),this[_0x1a4675(0x321)]();}function _0x21bb1d(_0x12519f){const _0x462b3c=_0x25e26e;if(this[_0x3bd799][_0x462b3c(0x345)]=null,this[_0x19afa9]){this[_0x408e16](this[_0x19afa9]);return;}_0x12519f[_0x343347]=0x3ef,this[_0x408e16](_0x12519f);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x30f6f8(0x22f)]({'__proto__':null,'default':Dt},Symbol[_0x30f6f8(0x2ae)],{'value':_0x30f6f8(0x1fe)})),Bt=at(Rt);var Ye;function _0x5f39(){const _0x194e23=['includes','authorization','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','3185496UTvypX','_loop','env','getConfig','WS_NO_UTF_8_VALIDATE','Invalid\x20HTTP\x20method','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','serverMaxWindowBits','kError','WS_ERR_INVALID_CLOSE_CODE','offer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','destroyed','readOnly','_doCreateSocket','ISnapshotServerService','isPaused','The\x20\x22','http:','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Invalid\x20value\x20for\x20parameter\x20\x22','Disposable','allowSynchronousEvents','166othflm','normalizeParams','callback','protocol','_req','url','_max_window_bits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','enqueue','isIP','\x22\x20subprotocol\x20is\x20duplicated','then','IConfigService','warn','protocolVersion','parse','_configService','WS_ERR_INVALID_UTF8','path','5qpIKVY','WS_ERR_UNEXPECTED_MASK','dataMessage','defineProperty','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sendFrame','_autoPong','_maxPayload','_generateMask','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','kByteLength','Origin','listen','_url','alloc','timeout','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','addEventListener','unmask','kListener','pipe','server_max_window_bits','\x22:\x20','getInfo','_buffers','startsWith','pathname','client_no_context_takeover','blob','finish','File','Injector','handleEvent','hasOwnProperty','open','abort','Sec-WebSocket-Origin','keys','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','21677821rCiqmj','arraybuffer','Blob','_fragmented','params','concurrency','binary','\x20(supported\x20versions:\x20','invalid\x20status\x20code\x20','createServer','readUInt16BE','mask','createError','ping','setConfig','number','objectMode','kMessage','getPayloadLength16','Unexpected\x20end\x20of\x20input','HTTP/1.1\x20','status-code','autoPong','slice','zlibInflateOptions','_compress','fragments','createConnection','noServer','CONNECTING','jobs','delete','setHeader','kReason','WS_ERR_INVALID_OPCODE','wsClientError','errorEmitted','STATUS_CODES','WS_ERR_UNEXPECTED_RSV_2_3','_payloadLength','dispose','startLoop','Max\x20payload\x20size\x20exceeded','emitClose','_no_context_takeover','Invalid\x20Sec-WebSocket-Extensions\x20header','haveLength','concat','pong','_final','from','removeAllListeners','string','WebSocket','allocUnsafe','socket','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','once','_fin','576850yvnZAv','registerDependencies','rsv1','uncork','createDeflateRaw','wss:','dispatch','sha1','concurrencyLimit','_options','_sender','toDisposable','invalid\x20opcode\x200','FIN\x20must\x20be\x20set','buffers','HTTP/1.1\x20101\x20Switching\x20Protocols','_errorEmitted','address','Unexpected\x20character\x20at\x20index\x20','join','_closeMessage','controlMessage','UniverCollaborationClientNodePlugin','setSocket','_skipUTF8Validation','sec-websocket-protocol','setTimeout','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','test','listenerCount','binaryType','toStringTag','_extensions','_originalHostOrSocketPath','NodeCollaborationSocketService','redirect','_firstFragment','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','invalid\x20opcode\x20','statusCode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','toLowerCase','WS_ERR_EXPECTED_MASK','Observable','_shouldEmitClose','kWasClean','text/plain','Upgrade','_closeTimer','next','setNoDelay','Unsupported\x20protocol\x20version:\x20','MASK\x20must\x20be\x20clear','_server','_decompress','error','_allowSynchronousEvents','_opcode','get','listeners','_closeFrameSent','_removeListeners','exports','_readyState','href','client_max_window_bits','compress','upgrade','__esModule','_errored','writable','replace','clientTracking','_originalIpc','digest','getOwnPropertyDescriptor','conclude','needDrain','pow','Server\x20sent\x20no\x20subprotocol','maskBuffer','call','data','destroy','split','endEmitted','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','reason','clientNoContextTakeover','fin','Invalid\x20WebSocket\x20frame:\x20','1955177uSqQSa','close','Sec-WebSocket-Extensions:\x20','request','_fragments','kType','toString','handleUpgrade','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','cookie','_redirects','ILogService','socketPath','_injector','add','emit','shift','_socket','object','Sec-WebSocket-Extensions','forEach','_state','cork','terminate','writeUIntBE','acceptAsServer','13012nSddwm','sec-websocket-extensions','DependentOn','arrayBuffer','_receiver','_writableState','share','invalid\x20UTF-8\x20sequence','handleProtocols','RSV1\x20must\x20be\x20clear','MASK\x20must\x20be\x20set','createSocket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','opcode','generateMask','_binaryType','byteLength','_mask','dequeue','writeUInt16BE','finished','16479uWVkVE','defaultPort','onopen','connect','_isServer','_deflate','Invalid\x20Sec-WebSocket-Accept\x20header','_messageLength','reset','createInflateRaw','default','cleanup','Inject','kRun','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','acceptAsClient','UniverCollaborationClientPlugin','charCodeAt','byteOffset','_write','response','4423686IhOWfY','serverNoContextTakeover','kIsForOnEventAttribute','constructor','onStarting','nextTick','prototype','onerror','Invalid\x20Upgrade\x20header','pause','threshold','kAborted','drain','search','hostname','extensionName','construct','DisposableCollection','port','decompress','ws:','server_no_context_takeover','websocket','_inflate','followRedirects','servername','_protocol','_paused','method','CollaborationSocketService','isInteger','customHeaders','update','bind','send','_closeCode','code','_maskBuffer','function','getData','has','unexpected-response','headers','create','maxRedirects','consume','authorized','_totalPayloadLength','completeUpgrade','ws+unix:','species','frame','format','username','skipUTF8Validation','find','HTTPService','onclose','removeListener','flush','Plugin','readyState','origin','getBlobData','The\x20URL\x27s\x20pathname\x20is\x20empty','Server\x20sent\x20an\x20invalid\x20subprotocol','CLOSING','ISocketService','getPayloadLength64','accept','_bufferedAmount','_read','zlibDeflateOptions','stream','options','size','clientMaxWindowBits','_compressed','indexOf','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','server','_closeFrameReceived','GET','onmessage','resume','CLOSED','Parameter\x20\x22','wasClean','handshakeTimeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-accept','listening','getMask','removeEventListener','sec-websocket-origin','extensions','clients','write','207Qhskvx','Unexpected\x20server\x20response:\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','pending','Z_DEFAULT_WINDOWBITS','push','bufferedAmount','verifyClient','end','nodebuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_queue','set','1221ClCfRy','maxPayload','type','isValidUTF8','readUInt32BE','Z_SYNC_FLUSH','host','perMessageDeflate','map','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','message','_originalSecure','Sec-WebSocket-Accept:\x20','isView','read','writeHead','permessage-deflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','OPEN','buffer','_readableState','_bufferedBytes','client','isArray','base64','length','Invalid\x20URL:\x20','_masked','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','auth','Module'];_0x5f39=function(){return _0x194e23;};return _0x5f39();}function ae(){const _0x2e3be8=_0x30f6f8;if(Ye)return ie[_0x2e3be8(0x2cd)];Ye=0x1;const {isUtf8:_0x3e4ab0}=wt,{hasBlob:_0x36689b}=H(),_0x2a911e=[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 _0x3cfcb6(_0x1e69f7){return _0x1e69f7>=0x3e8&&_0x1e69f7<=0x3f6&&_0x1e69f7!==0x3ec&&_0x1e69f7!==0x3ed&&_0x1e69f7!==0x3ee||_0x1e69f7>=0xbb8&&_0x1e69f7<=0x1387;}function _0x10b663(_0x16980){const _0x475e98=_0x16980['length'];let _0x69a1e=0x0;for(;_0x69a1e<_0x475e98;)if((_0x16980[_0x69a1e]&0x80)===0x0)_0x69a1e++;else{if((_0x16980[_0x69a1e]&0xe0)===0xc0){if(_0x69a1e+0x1===_0x475e98||(_0x16980[_0x69a1e+0x1]&0xc0)!==0x80||(_0x16980[_0x69a1e]&0xfe)===0xc0)return!0x1;_0x69a1e+=0x2;}else{if((_0x16980[_0x69a1e]&0xf0)===0xe0){if(_0x69a1e+0x2>=_0x475e98||(_0x16980[_0x69a1e+0x1]&0xc0)!==0x80||(_0x16980[_0x69a1e+0x2]&0xc0)!==0x80||_0x16980[_0x69a1e]===0xe0&&(_0x16980[_0x69a1e+0x1]&0xe0)===0x80||_0x16980[_0x69a1e]===0xed&&(_0x16980[_0x69a1e+0x1]&0xe0)===0xa0)return!0x1;_0x69a1e+=0x3;}else{if((_0x16980[_0x69a1e]&0xf8)===0xf0){if(_0x69a1e+0x3>=_0x475e98||(_0x16980[_0x69a1e+0x1]&0xc0)!==0x80||(_0x16980[_0x69a1e+0x2]&0xc0)!==0x80||(_0x16980[_0x69a1e+0x3]&0xc0)!==0x80||_0x16980[_0x69a1e]===0xf0&&(_0x16980[_0x69a1e+0x1]&0xf0)===0x80||_0x16980[_0x69a1e]===0xf4&&_0x16980[_0x69a1e+0x1]>0x8f||_0x16980[_0x69a1e]>0xf4)return!0x1;_0x69a1e+=0x4;}else return!0x1;}}}return!0x0;}function _0x1cc1d8(_0x5c3359){const _0x683c19=_0x2e3be8;return _0x36689b&&typeof _0x5c3359=='object'&&typeof _0x5c3359[_0x683c19(0x307)]==_0x683c19(0x354)&&typeof _0x5c3359[_0x683c19(0x1e2)]=='string'&&typeof _0x5c3359[_0x683c19(0x377)]=='function'&&(_0x5c3359[Symbol[_0x683c19(0x2ae)]]===_0x683c19(0x256)||_0x5c3359[Symbol[_0x683c19(0x2ae)]]===_0x683c19(0x24a));}if(ie['exports']={'isBlob':_0x1cc1d8,'isValidStatusCode':_0x3cfcb6,'isValidUTF8':_0x10b663,'tokenChars':_0x2a911e},_0x3e4ab0)ie[_0x2e3be8(0x2cd)][_0x2e3be8(0x1e3)]=function(_0x206feb){const _0x44e9be=_0x2e3be8;return _0x206feb[_0x44e9be(0x1f9)]<0x18?_0x10b663(_0x206feb):_0x3e4ab0(_0x206feb);};else{if(!process['env'][_0x2e3be8(0x206)])try{const _0x26a90e=Bt;ie[_0x2e3be8(0x2cd)]['isValidUTF8']=function(_0x2ca13d){const _0x1bdb57=_0x2e3be8;return _0x2ca13d[_0x1bdb57(0x1f9)]<0x20?_0x10b663(_0x2ca13d):_0x26a90e(_0x2ca13d);};}catch{}}return ie[_0x2e3be8(0x2cd)];}var Se,Ke;function lt(){const _0x2a46e0=_0x30f6f8;if(Ke)return Se;Ke=0x1;const {Writable:_0x4b268e}=oe,_0x3dd10d=he(),{BINARY_TYPES:_0x27a60a,EMPTY_BUFFER:_0x3ce2bf,kStatusCode:_0x33294c,kWebSocket:_0x3b4c71}=H(),{concat:_0x2ac986,toArrayBuffer:_0x9ab7a2,unmask:_0x48783a}=ce(),{isValidStatusCode:_0x21efbe,isValidUTF8:_0x4573ed}=ae(),_0x424fd5=Buffer[Symbol[_0x2a46e0(0x360)]],_0x4dc9b8=0x0,_0xab382c=0x1,_0x5d1d7e=0x2,_0x390513=0x3,_0x3275bf=0x4,_0x4044b2=0x5,_0x3fced9=0x6;class _0x231782 extends _0x4b268e{constructor(_0xd3f0d7={}){const _0x2ddb35=_0x2a46e0;super(),this[_0x2ddb35(0x2c7)]=_0xd3f0d7[_0x2ddb35(0x218)]!==void 0x0?_0xd3f0d7[_0x2ddb35(0x218)]:!0x0,this[_0x2ddb35(0x313)]=_0xd3f0d7[_0x2ddb35(0x2ad)]||_0x27a60a[0x0],this[_0x2ddb35(0x2af)]=_0xd3f0d7[_0x2ddb35(0x1d0)]||{},this['_isServer']=!!_0xd3f0d7['isServer'],this[_0x2ddb35(0x233)]=_0xd3f0d7['maxPayload']|0x0,this[_0x2ddb35(0x2a7)]=!!_0xd3f0d7[_0x2ddb35(0x364)],this[_0x3b4c71]=void 0x0,this[_0x2ddb35(0x1f5)]=0x0,this[_0x2ddb35(0x244)]=[],this[_0x2ddb35(0x1bc)]=!0x1,this[_0x2ddb35(0x27b)]=0x0,this[_0x2ddb35(0x315)]=void 0x0,this['_fragmented']=0x0,this[_0x2ddb35(0x1fb)]=!0x1,this[_0x2ddb35(0x28e)]=!0x1,this[_0x2ddb35(0x2c8)]=0x0,this[_0x2ddb35(0x35d)]=0x0,this[_0x2ddb35(0x320)]=0x0,this['_fragments']=[],this[_0x2ddb35(0x2d4)]=!0x1,this[_0x2ddb35(0x203)]=!0x1,this[_0x2ddb35(0x2ff)]=_0x4dc9b8;}[_0x2a46e0(0x32c)](_0x5f2cac,_0x1d818e,_0x41024b){const _0xcdeb23=_0x2a46e0;if(this[_0xcdeb23(0x2c8)]===0x8&&this['_state']==_0x4dc9b8)return _0x41024b();this[_0xcdeb23(0x1f5)]+=_0x5f2cac[_0xcdeb23(0x1f9)],this[_0xcdeb23(0x244)][_0xcdeb23(0x1d8)](_0x5f2cac),this[_0xcdeb23(0x27d)](_0x41024b);}[_0x2a46e0(0x35b)](_0x312e03){const _0x43369a=_0x2a46e0;if(this[_0x43369a(0x1f5)]-=_0x312e03,_0x312e03===this[_0x43369a(0x244)][0x0][_0x43369a(0x1f9)])return this[_0x43369a(0x244)][_0x43369a(0x2fa)]();if(_0x312e03<this[_0x43369a(0x244)][0x0][_0x43369a(0x1f9)]){const _0xc09163=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x424fd5(_0xc09163[_0x43369a(0x1f3)],_0xc09163[_0x43369a(0x32b)]+_0x312e03,_0xc09163['length']-_0x312e03),new _0x424fd5(_0xc09163[_0x43369a(0x1f3)],_0xc09163[_0x43369a(0x32b)],_0x312e03);}const _0x11b577=Buffer['allocUnsafe'](_0x312e03);do{const _0x53e37c=this['_buffers'][0x0],_0xdf93c3=_0x11b577[_0x43369a(0x1f9)]-_0x312e03;_0x312e03>=_0x53e37c[_0x43369a(0x1f9)]?_0x11b577['set'](this[_0x43369a(0x244)]['shift'](),_0xdf93c3):(_0x11b577[_0x43369a(0x1df)](new Uint8Array(_0x53e37c[_0x43369a(0x1f3)],_0x53e37c[_0x43369a(0x32b)],_0x312e03),_0xdf93c3),this['_buffers'][0x0]=new _0x424fd5(_0x53e37c['buffer'],_0x53e37c[_0x43369a(0x32b)]+_0x312e03,_0x53e37c['length']-_0x312e03)),_0x312e03-=_0x53e37c[_0x43369a(0x1f9)];}while(_0x312e03>0x0);return _0x11b577;}[_0x2a46e0(0x27d)](_0x6f1723){const _0x4f76c6=_0x2a46e0;this[_0x4f76c6(0x203)]=!0x0;do switch(this[_0x4f76c6(0x2ff)]){case _0x4dc9b8:this[_0x4f76c6(0x243)](_0x6f1723);break;case _0xab382c:this['getPayloadLength16'](_0x6f1723);break;case _0x5d1d7e:this[_0x4f76c6(0x372)](_0x6f1723);break;case _0x390513:this[_0x4f76c6(0x1cd)]();break;case _0x3275bf:this[_0x4f76c6(0x355)](_0x6f1723);break;case _0x4044b2:case _0x3fced9:this[_0x4f76c6(0x203)]=!0x1;return;}while(this[_0x4f76c6(0x203)]);this['_errored']||_0x6f1723();}['getInfo'](_0x27d809){const _0x11eec5=_0x2a46e0;if(this[_0x11eec5(0x1f5)]<0x2){this['_loop']=!0x1;return;}const _0x18c224=this['consume'](0x2);if((_0x18c224[0x0]&0x30)!==0x0){const _0x16002d=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x1be),!0x0,0x3ea,_0x11eec5(0x27a));_0x27d809(_0x16002d);return;}const _0x5019b3=(_0x18c224[0x0]&0x40)===0x40;if(_0x5019b3&&!this['_extensions'][_0x3dd10d[_0x11eec5(0x33d)]]){const _0xa2061b=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x30d),!0x0,0x3ea,_0x11eec5(0x1ca));_0x27d809(_0xa2061b);return;}if(this[_0x11eec5(0x28e)]=(_0x18c224[0x0]&0x80)===0x80,this[_0x11eec5(0x2c8)]=_0x18c224[0x0]&0xf,this['_payloadLength']=_0x18c224[0x1]&0x7f,this[_0x11eec5(0x2c8)]===0x0){if(_0x5019b3){const _0x5dc73d=this['createError'](RangeError,_0x11eec5(0x30d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x27d809(_0x5dc73d);return;}if(!this['_fragmented']){const _0x326f52=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x29b),!0x0,0x3ea,_0x11eec5(0x276));_0x27d809(_0x326f52);return;}this['_opcode']=this[_0x11eec5(0x257)];}else{if(this['_opcode']===0x1||this[_0x11eec5(0x2c8)]===0x2){if(this[_0x11eec5(0x257)]){const _0x105db=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x2b5)+this['_opcode'],!0x0,0x3ea,_0x11eec5(0x276));_0x27d809(_0x105db);return;}this[_0x11eec5(0x1bc)]=_0x5019b3;}else{if(this[_0x11eec5(0x2c8)]>0x7&&this[_0x11eec5(0x2c8)]<0xb){if(!this[_0x11eec5(0x28e)]){const _0x2c4036=this['createError'](RangeError,_0x11eec5(0x29c),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x27d809(_0x2c4036);return;}if(_0x5019b3){const _0x1b0650=this['createError'](RangeError,_0x11eec5(0x30d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x27d809(_0x1b0650);return;}if(this[_0x11eec5(0x27b)]>0x7d||this[_0x11eec5(0x2c8)]===0x8&&this[_0x11eec5(0x27b)]===0x1){const _0x5860e3=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x11eec5(0x27b)],!0x0,0x3ea,_0x11eec5(0x1dd));_0x27d809(_0x5860e3);return;}}else{const _0x3a7433=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x2b5)+this[_0x11eec5(0x2c8)],!0x0,0x3ea,_0x11eec5(0x276));_0x27d809(_0x3a7433);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x11eec5(0x257)]=this[_0x11eec5(0x2c8)]),this[_0x11eec5(0x1fb)]=(_0x18c224[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x11eec5(0x1fb)]){const _0x1c8217=this['createError'](RangeError,_0x11eec5(0x30e),!0x0,0x3ea,_0x11eec5(0x2b9));_0x27d809(_0x1c8217);return;}}else{if(this[_0x11eec5(0x1fb)]){const _0x3dc135=this[_0x11eec5(0x260)](RangeError,_0x11eec5(0x2c3),!0x0,0x3ea,_0x11eec5(0x22d));_0x27d809(_0x3dc135);return;}}this[_0x11eec5(0x27b)]===0x7e?this[_0x11eec5(0x2ff)]=_0xab382c:this['_payloadLength']===0x7f?this['_state']=_0x5d1d7e:this[_0x11eec5(0x282)](_0x27d809);}[_0x2a46e0(0x266)](_0x561f70){const _0x191364=_0x2a46e0;if(this[_0x191364(0x1f5)]<0x2){this[_0x191364(0x203)]=!0x1;return;}this[_0x191364(0x27b)]=this['consume'](0x2)[_0x191364(0x25e)](0x0),this[_0x191364(0x282)](_0x561f70);}[_0x2a46e0(0x372)](_0x1e4233){const _0x7d6086=_0x2a46e0;if(this[_0x7d6086(0x1f5)]<0x8){this[_0x7d6086(0x203)]=!0x1;return;}const _0x36f55f=this[_0x7d6086(0x35b)](0x8),_0x5f59ec=_0x36f55f[_0x7d6086(0x1e4)](0x0);if(_0x5f59ec>Math['pow'](0x2,0x15)-0x1){const _0x22971f=this[_0x7d6086(0x260)](RangeError,_0x7d6086(0x253),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1e4233(_0x22971f);return;}this['_payloadLength']=_0x5f59ec*Math[_0x7d6086(0x2dd)](0x2,0x20)+_0x36f55f[_0x7d6086(0x1e4)](0x4),this[_0x7d6086(0x282)](_0x1e4233);}[_0x2a46e0(0x282)](_0x4f8e6e){const _0x5a2bd8=_0x2a46e0;if(this['_payloadLength']&&this[_0x5a2bd8(0x2c8)]<0x8&&(this[_0x5a2bd8(0x35d)]+=this['_payloadLength'],this[_0x5a2bd8(0x35d)]>this[_0x5a2bd8(0x233)]&&this[_0x5a2bd8(0x233)]>0x0)){const _0xd104da=this[_0x5a2bd8(0x260)](RangeError,_0x5a2bd8(0x27e),!0x1,0x3f1,_0x5a2bd8(0x1d5));_0x4f8e6e(_0xd104da);return;}this[_0x5a2bd8(0x1fb)]?this['_state']=_0x390513:this[_0x5a2bd8(0x2ff)]=_0x3275bf;}['getMask'](){const _0x358d8b=_0x2a46e0;if(this[_0x358d8b(0x1f5)]<0x4){this[_0x358d8b(0x203)]=!0x1;return;}this[_0x358d8b(0x315)]=this[_0x358d8b(0x35b)](0x4),this[_0x358d8b(0x2ff)]=_0x3275bf;}[_0x2a46e0(0x355)](_0x444d74){const _0x112773=_0x2a46e0;let _0x1b1c4c=_0x3ce2bf;if(this['_payloadLength']){if(this[_0x112773(0x1f5)]<this[_0x112773(0x27b)]){this[_0x112773(0x203)]=!0x1;return;}_0x1b1c4c=this[_0x112773(0x35b)](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x112773(0x315)][0x1]|this[_0x112773(0x315)][0x2]|this['_mask'][0x3])!==0x0&&_0x48783a(_0x1b1c4c,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x1b1c4c,_0x444d74);return;}if(this[_0x112773(0x1bc)]){this['_state']=_0x4044b2,this[_0x112773(0x341)](_0x1b1c4c,_0x444d74);return;}_0x1b1c4c[_0x112773(0x1f9)]&&(this[_0x112773(0x320)]=this['_totalPayloadLength'],this[_0x112773(0x2ee)][_0x112773(0x1d8)](_0x1b1c4c)),this['dataMessage'](_0x444d74);}[_0x2a46e0(0x341)](_0x2da9a4,_0x5f1f8e){const _0x298a91=_0x2a46e0;this[_0x298a91(0x2af)][_0x3dd10d[_0x298a91(0x33d)]][_0x298a91(0x341)](_0x2da9a4,this[_0x298a91(0x28e)],(_0x5519b8,_0x36ffda)=>{const _0x22b3e2=_0x298a91;if(_0x5519b8)return _0x5f1f8e(_0x5519b8);if(_0x36ffda[_0x22b3e2(0x1f9)]){if(this[_0x22b3e2(0x320)]+=_0x36ffda[_0x22b3e2(0x1f9)],this[_0x22b3e2(0x320)]>this[_0x22b3e2(0x233)]&&this[_0x22b3e2(0x233)]>0x0){const _0x544373=this[_0x22b3e2(0x260)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5f1f8e(_0x544373);return;}this[_0x22b3e2(0x2ee)]['push'](_0x36ffda);}this[_0x22b3e2(0x22e)](_0x5f1f8e),this[_0x22b3e2(0x2ff)]===_0x4dc9b8&&this['startLoop'](_0x5f1f8e);});}[_0x2a46e0(0x22e)](_0x8a41ef){const _0x8e298b=_0x2a46e0;if(!this[_0x8e298b(0x28e)]){this[_0x8e298b(0x2ff)]=_0x4dc9b8;return;}const _0x223abd=this[_0x8e298b(0x320)],_0x2e62b0=this['_fragments'];if(this[_0x8e298b(0x35d)]=0x0,this[_0x8e298b(0x320)]=0x0,this[_0x8e298b(0x257)]=0x0,this['_fragments']=[],this[_0x8e298b(0x2c8)]===0x2){let _0x3df012;this['_binaryType']===_0x8e298b(0x1dc)?_0x3df012=_0x2ac986(_0x2e62b0,_0x223abd):this[_0x8e298b(0x313)]===_0x8e298b(0x255)?_0x3df012=_0x9ab7a2(_0x2ac986(_0x2e62b0,_0x223abd)):this[_0x8e298b(0x313)]===_0x8e298b(0x248)?_0x3df012=new Blob(_0x2e62b0):_0x3df012=_0x2e62b0,this[_0x8e298b(0x2c7)]?(this[_0x8e298b(0x2f9)](_0x8e298b(0x1ea),_0x3df012,!0x0),this[_0x8e298b(0x2ff)]=_0x4dc9b8):(this['_state']=_0x3fced9,setImmediate(()=>{const _0x59ceb8=_0x8e298b;this[_0x59ceb8(0x2f9)](_0x59ceb8(0x1ea),_0x3df012,!0x0),this[_0x59ceb8(0x2ff)]=_0x4dc9b8,this[_0x59ceb8(0x27d)](_0x8a41ef);}));}else{const _0x17d402=_0x2ac986(_0x2e62b0,_0x223abd);if(!this[_0x8e298b(0x2a7)]&&!_0x4573ed(_0x17d402)){const _0x1d36bd=this[_0x8e298b(0x260)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x8e298b(0x22a));_0x8a41ef(_0x1d36bd);return;}this[_0x8e298b(0x2ff)]===_0x4044b2||this['_allowSynchronousEvents']?(this[_0x8e298b(0x2f9)](_0x8e298b(0x1ea),_0x17d402,!0x1),this[_0x8e298b(0x2ff)]=_0x4dc9b8):(this[_0x8e298b(0x2ff)]=_0x3fced9,setImmediate(()=>{const _0x4d04d5=_0x8e298b;this[_0x4d04d5(0x2f9)](_0x4d04d5(0x1ea),_0x17d402,!0x1),this['_state']=_0x4dc9b8,this[_0x4d04d5(0x27d)](_0x8a41ef);}));}}[_0x2a46e0(0x2a4)](_0x54cf0c,_0x566913){const _0x53e861=_0x2a46e0;if(this[_0x53e861(0x2c8)]===0x8){if(_0x54cf0c[_0x53e861(0x1f9)]===0x0)this[_0x53e861(0x203)]=!0x1,this[_0x53e861(0x2f9)](_0x53e861(0x2db),0x3ed,_0x3ce2bf),this[_0x53e861(0x1db)]();else{const _0x194065=_0x54cf0c[_0x53e861(0x25e)](0x0);if(!_0x21efbe(_0x194065)){const _0x49ac85=this['createError'](RangeError,_0x53e861(0x25c)+_0x194065,!0x0,0x3ea,_0x53e861(0x20b));_0x566913(_0x49ac85);return;}const _0x2cac21=new _0x424fd5(_0x54cf0c[_0x53e861(0x1f3)],_0x54cf0c['byteOffset']+0x2,_0x54cf0c[_0x53e861(0x1f9)]-0x2);if(!this[_0x53e861(0x2a7)]&&!_0x4573ed(_0x2cac21)){const _0x485d82=this[_0x53e861(0x260)](Error,_0x53e861(0x30b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x566913(_0x485d82);return;}this['_loop']=!0x1,this[_0x53e861(0x2f9)](_0x53e861(0x2db),_0x194065,_0x2cac21),this['end']();}this['_state']=_0x4dc9b8;return;}this[_0x53e861(0x2c7)]?(this[_0x53e861(0x2f9)](this[_0x53e861(0x2c8)]===0x9?_0x53e861(0x261):_0x53e861(0x284),_0x54cf0c),this[_0x53e861(0x2ff)]=_0x4dc9b8):(this[_0x53e861(0x2ff)]=_0x3fced9,setImmediate(()=>{const _0x254d99=_0x53e861;this[_0x254d99(0x2f9)](this['_opcode']===0x9?_0x254d99(0x261):_0x254d99(0x284),_0x54cf0c),this['_state']=_0x4dc9b8,this[_0x254d99(0x27d)](_0x566913);}));}[_0x2a46e0(0x260)](_0x8cbba3,_0xc697d3,_0x44e430,_0x16d557,_0x1afef8){const _0x920872=_0x2a46e0;this['_loop']=!0x1,this['_errored']=!0x0;const _0x13b2c7=new _0x8cbba3(_0x44e430?_0x920872(0x2e9)+_0xc697d3:_0xc697d3);return Error['captureStackTrace'](_0x13b2c7,this[_0x920872(0x260)]),_0x13b2c7[_0x920872(0x352)]=_0x1afef8,_0x13b2c7[_0x33294c]=_0x16d557,_0x13b2c7;}}return Se=_0x231782,Se;}var Ee,Xe;function ft(){const _0x504b9d=_0x30f6f8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x588492}=oe,{randomFillSync:_0x4b02ca}=Le,_0x21d87a=he(),{EMPTY_BUFFER:_0x51349e,kWebSocket:_0x133dbd,NOOP:_0x1ca8c2}=H(),{isBlob:_0x1db2b2,isValidStatusCode:_0x51e394}=ae(),{mask:_0x199fc7,toBuffer:_0x4b6e75}=ce(),_0x43afdc=Symbol(_0x504b9d(0x236)),_0x54a827=Buffer[_0x504b9d(0x23a)](0x4),_0x22cbd=0x8*0x400;let _0x599c67,_0x4781a8=_0x22cbd;const _0x4009b6=0x0,_0x4f9cd1=0x1,_0x17bbb9=0x2;class _0x33a445{constructor(_0x402584,_0x206f1a,_0x5172f7){const _0x469ac3=_0x504b9d;this[_0x469ac3(0x2af)]=_0x206f1a||{},_0x5172f7&&(this[_0x469ac3(0x234)]=_0x5172f7,this[_0x469ac3(0x353)]=Buffer[_0x469ac3(0x23a)](0x4)),this['_socket']=_0x402584,this[_0x469ac3(0x2b3)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x469ac3(0x1de)]=[],this[_0x469ac3(0x2ff)]=_0x4009b6,this[_0x469ac3(0x335)]=_0x1ca8c2,this[_0x133dbd]=void 0x0;}static['frame'](_0x5f4246,_0x201008){const _0x28de63=_0x504b9d;let _0x2e4811,_0x1d20cc=!0x1,_0x234428=0x2,_0x5b85dc=!0x1;_0x201008[_0x28de63(0x25f)]&&(_0x2e4811=_0x201008[_0x28de63(0x2df)]||_0x54a827,_0x201008['generateMask']?_0x201008[_0x28de63(0x312)](_0x2e4811):(_0x4781a8===_0x22cbd&&(_0x599c67===void 0x0&&(_0x599c67=Buffer[_0x28de63(0x23a)](_0x22cbd)),_0x4b02ca(_0x599c67,0x0,_0x22cbd),_0x4781a8=0x0),_0x2e4811[0x0]=_0x599c67[_0x4781a8++],_0x2e4811[0x1]=_0x599c67[_0x4781a8++],_0x2e4811[0x2]=_0x599c67[_0x4781a8++],_0x2e4811[0x3]=_0x599c67[_0x4781a8++]),_0x5b85dc=(_0x2e4811[0x0]|_0x2e4811[0x1]|_0x2e4811[0x2]|_0x2e4811[0x3])===0x0,_0x234428=0x6);let _0x28dd45;typeof _0x5f4246==_0x28de63(0x288)?(!_0x201008[_0x28de63(0x25f)]||_0x5b85dc)&&_0x201008[_0x43afdc]!==void 0x0?_0x28dd45=_0x201008[_0x43afdc]:(_0x5f4246=Buffer[_0x28de63(0x286)](_0x5f4246),_0x28dd45=_0x5f4246[_0x28de63(0x1f9)]):(_0x28dd45=_0x5f4246['length'],_0x1d20cc=_0x201008[_0x28de63(0x25f)]&&_0x201008[_0x28de63(0x20f)]&&!_0x5b85dc);let _0x165ac4=_0x28dd45;_0x28dd45>=0x10000?(_0x234428+=0x8,_0x165ac4=0x7f):_0x28dd45>0x7d&&(_0x234428+=0x2,_0x165ac4=0x7e);const _0x23c5b6=Buffer['allocUnsafe'](_0x1d20cc?_0x28dd45+_0x234428:_0x234428);return _0x23c5b6[0x0]=_0x201008[_0x28de63(0x2e8)]?_0x201008['opcode']|0x80:_0x201008[_0x28de63(0x311)],_0x201008[_0x28de63(0x291)]&&(_0x23c5b6[0x0]|=0x40),_0x23c5b6[0x1]=_0x165ac4,_0x165ac4===0x7e?_0x23c5b6['writeUInt16BE'](_0x28dd45,0x2):_0x165ac4===0x7f&&(_0x23c5b6[0x2]=_0x23c5b6[0x3]=0x0,_0x23c5b6[_0x28de63(0x302)](_0x28dd45,0x4,0x6)),_0x201008['mask']?(_0x23c5b6[0x1]|=0x80,_0x23c5b6[_0x234428-0x4]=_0x2e4811[0x0],_0x23c5b6[_0x234428-0x3]=_0x2e4811[0x1],_0x23c5b6[_0x234428-0x2]=_0x2e4811[0x2],_0x23c5b6[_0x234428-0x1]=_0x2e4811[0x3],_0x5b85dc?[_0x23c5b6,_0x5f4246]:_0x1d20cc?(_0x199fc7(_0x5f4246,_0x2e4811,_0x23c5b6,_0x234428,_0x28dd45),[_0x23c5b6]):(_0x199fc7(_0x5f4246,_0x2e4811,_0x5f4246,0x0,_0x28dd45),[_0x23c5b6,_0x5f4246])):[_0x23c5b6,_0x5f4246];}[_0x504b9d(0x2eb)](_0x582ccf,_0x151124,_0x3c2b26,_0x336cca){const _0x325d89=_0x504b9d;let _0x5d6f5a;if(_0x582ccf===void 0x0)_0x5d6f5a=_0x51349e;else{if(typeof _0x582ccf!=_0x325d89(0x263)||!_0x51e394(_0x582ccf))throw new TypeError(_0x325d89(0x2b4));if(_0x151124===void 0x0||!_0x151124['length'])_0x5d6f5a=Buffer[_0x325d89(0x28a)](0x2),_0x5d6f5a['writeUInt16BE'](_0x582ccf,0x0);else{const _0x164805=Buffer[_0x325d89(0x314)](_0x151124);if(_0x164805>0x7b)throw new RangeError(_0x325d89(0x327));_0x5d6f5a=Buffer[_0x325d89(0x28a)](0x2+_0x164805),_0x5d6f5a[_0x325d89(0x317)](_0x582ccf,0x0),typeof _0x151124=='string'?_0x5d6f5a[_0x325d89(0x1d2)](_0x151124,0x2):_0x5d6f5a[_0x325d89(0x1df)](_0x151124,0x2);}}const _0x387827={[_0x43afdc]:_0x5d6f5a[_0x325d89(0x1f9)],'fin':!0x0,'generateMask':this[_0x325d89(0x234)],'mask':_0x3c2b26,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x325d89(0x2ff)]!==_0x4009b6?this[_0x325d89(0x221)]([this['dispatch'],_0x5d6f5a,!0x1,_0x387827,_0x336cca]):this[_0x325d89(0x231)](_0x33a445['frame'](_0x5d6f5a,_0x387827),_0x336cca);}[_0x504b9d(0x261)](_0x3fb297,_0x1a60df,_0xd64bed){const _0x545506=_0x504b9d;let _0x2dc126,_0x3b1939;if(typeof _0x3fb297==_0x545506(0x288)?(_0x2dc126=Buffer[_0x545506(0x314)](_0x3fb297),_0x3b1939=!0x1):_0x1db2b2(_0x3fb297)?(_0x2dc126=_0x3fb297[_0x545506(0x379)],_0x3b1939=!0x1):(_0x3fb297=_0x4b6e75(_0x3fb297),_0x2dc126=_0x3fb297[_0x545506(0x1f9)],_0x3b1939=_0x4b6e75['readOnly']),_0x2dc126>0x7d)throw new RangeError(_0x545506(0x1f1));const _0x1a2fce={[_0x43afdc]:_0x2dc126,'fin':!0x0,'generateMask':this[_0x545506(0x234)],'mask':_0x1a60df,'maskBuffer':this[_0x545506(0x353)],'opcode':0x9,'readOnly':_0x3b1939,'rsv1':!0x1};_0x1db2b2(_0x3fb297)?this[_0x545506(0x2ff)]!==_0x4009b6?this[_0x545506(0x221)]([this[_0x545506(0x36d)],_0x3fb297,!0x1,_0x1a2fce,_0xd64bed]):this[_0x545506(0x36d)](_0x3fb297,!0x1,_0x1a2fce,_0xd64bed):this[_0x545506(0x2ff)]!==_0x4009b6?this['enqueue']([this[_0x545506(0x295)],_0x3fb297,!0x1,_0x1a2fce,_0xd64bed]):this[_0x545506(0x231)](_0x33a445[_0x545506(0x361)](_0x3fb297,_0x1a2fce),_0xd64bed);}[_0x504b9d(0x284)](_0x337e44,_0x530514,_0x1bb6d6){const _0x4c2a79=_0x504b9d;let _0x3d6d14,_0x3f9e0b;if(typeof _0x337e44=='string'?(_0x3d6d14=Buffer['byteLength'](_0x337e44),_0x3f9e0b=!0x1):_0x1db2b2(_0x337e44)?(_0x3d6d14=_0x337e44[_0x4c2a79(0x379)],_0x3f9e0b=!0x1):(_0x337e44=_0x4b6e75(_0x337e44),_0x3d6d14=_0x337e44['length'],_0x3f9e0b=_0x4b6e75[_0x4c2a79(0x20f)]),_0x3d6d14>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x48a728={[_0x43afdc]:_0x3d6d14,'fin':!0x0,'generateMask':this[_0x4c2a79(0x234)],'mask':_0x530514,'maskBuffer':this[_0x4c2a79(0x353)],'opcode':0xa,'readOnly':_0x3f9e0b,'rsv1':!0x1};_0x1db2b2(_0x337e44)?this['_state']!==_0x4009b6?this[_0x4c2a79(0x221)]([this[_0x4c2a79(0x36d)],_0x337e44,!0x1,_0x48a728,_0x1bb6d6]):this['getBlobData'](_0x337e44,!0x1,_0x48a728,_0x1bb6d6):this[_0x4c2a79(0x2ff)]!==_0x4009b6?this[_0x4c2a79(0x221)]([this[_0x4c2a79(0x295)],_0x337e44,!0x1,_0x48a728,_0x1bb6d6]):this[_0x4c2a79(0x231)](_0x33a445[_0x4c2a79(0x361)](_0x337e44,_0x48a728),_0x1bb6d6);}['send'](_0x2dc985,_0x3e63a,_0x1a9b56){const _0x4912b7=_0x504b9d,_0x357400=this[_0x4912b7(0x2af)][_0x21d87a['extensionName']];let _0xdf5e46=_0x3e63a[_0x4912b7(0x25a)]?0x2:0x1,_0x46acc7=_0x3e63a['compress'],_0x575689,_0x10205a;typeof _0x2dc985=='string'?(_0x575689=Buffer['byteLength'](_0x2dc985),_0x10205a=!0x1):_0x1db2b2(_0x2dc985)?(_0x575689=_0x2dc985[_0x4912b7(0x379)],_0x10205a=!0x1):(_0x2dc985=_0x4b6e75(_0x2dc985),_0x575689=_0x2dc985['length'],_0x10205a=_0x4b6e75[_0x4912b7(0x20f)]),this[_0x4912b7(0x2b3)]?(this[_0x4912b7(0x2b3)]=!0x1,_0x46acc7&&_0x357400&&_0x357400['params'][_0x357400['_isServer']?_0x4912b7(0x343):'client_no_context_takeover']&&(_0x46acc7=_0x575689>=_0x357400['_threshold']),this[_0x4912b7(0x26d)]=_0x46acc7):(_0x46acc7=!0x1,_0xdf5e46=0x0),_0x3e63a[_0x4912b7(0x2e8)]&&(this[_0x4912b7(0x2b3)]=!0x0);const _0x4dbc23={[_0x43afdc]:_0x575689,'fin':_0x3e63a[_0x4912b7(0x2e8)],'generateMask':this['_generateMask'],'mask':_0x3e63a['mask'],'maskBuffer':this[_0x4912b7(0x353)],'opcode':_0xdf5e46,'readOnly':_0x10205a,'rsv1':_0x46acc7};_0x1db2b2(_0x2dc985)?this[_0x4912b7(0x2ff)]!==_0x4009b6?this[_0x4912b7(0x221)]([this[_0x4912b7(0x36d)],_0x2dc985,this[_0x4912b7(0x26d)],_0x4dbc23,_0x1a9b56]):this['getBlobData'](_0x2dc985,this[_0x4912b7(0x26d)],_0x4dbc23,_0x1a9b56):this[_0x4912b7(0x2ff)]!==_0x4009b6?this[_0x4912b7(0x221)]([this[_0x4912b7(0x295)],_0x2dc985,this[_0x4912b7(0x26d)],_0x4dbc23,_0x1a9b56]):this[_0x4912b7(0x295)](_0x2dc985,this['_compress'],_0x4dbc23,_0x1a9b56);}[_0x504b9d(0x36d)](_0x171747,_0x16b710,_0x122365,_0x4e75fd){const _0x4fec88=_0x504b9d;this[_0x4fec88(0x1f5)]+=_0x122365[_0x43afdc],this[_0x4fec88(0x2ff)]=_0x17bbb9,_0x171747['arrayBuffer']()[_0x4fec88(0x224)](_0x3658ef=>{const _0x3371c4=_0x4fec88;if(this['_socket'][_0x3371c4(0x20e)]){const _0x30ff9d=new Error(_0x3371c4(0x2f2));process[_0x3371c4(0x333)](_0x5a8031,this,_0x30ff9d,_0x4e75fd);return;}this[_0x3371c4(0x1f5)]-=_0x122365[_0x43afdc];const _0x3d330a=_0x4b6e75(_0x3658ef);_0x16b710?this['dispatch'](_0x3d330a,_0x16b710,_0x122365,_0x4e75fd):(this[_0x3371c4(0x2ff)]=_0x4009b6,this[_0x3371c4(0x231)](_0x33a445[_0x3371c4(0x361)](_0x3d330a,_0x122365),_0x4e75fd),this['dequeue']());})['catch'](_0x3527af=>{const _0x35518d=_0x4fec88;process[_0x35518d(0x333)](_0x3e70a0,this,_0x3527af,_0x4e75fd);});}[_0x504b9d(0x295)](_0x446383,_0x5e650b,_0x4dbe4d,_0x46777b){const _0x34b1a7=_0x504b9d;if(!_0x5e650b){this[_0x34b1a7(0x231)](_0x33a445['frame'](_0x446383,_0x4dbe4d),_0x46777b);return;}const _0x507add=this['_extensions'][_0x21d87a['extensionName']];this[_0x34b1a7(0x1f5)]+=_0x4dbe4d[_0x43afdc],this[_0x34b1a7(0x2ff)]=_0x4f9cd1,_0x507add[_0x34b1a7(0x2d1)](_0x446383,_0x4dbe4d['fin'],(_0x3f9a70,_0x22f475)=>{const _0x51038b=_0x34b1a7;if(this['_socket'][_0x51038b(0x20e)]){const _0xd317e7=new Error(_0x51038b(0x235));_0x5a8031(this,_0xd317e7,_0x46777b);return;}this[_0x51038b(0x1f5)]-=_0x4dbe4d[_0x43afdc],this[_0x51038b(0x2ff)]=_0x4009b6,_0x4dbe4d[_0x51038b(0x20f)]=!0x1,this[_0x51038b(0x231)](_0x33a445['frame'](_0x22f475,_0x4dbe4d),_0x46777b),this[_0x51038b(0x316)]();});}[_0x504b9d(0x316)](){const _0x29db72=_0x504b9d;for(;this[_0x29db72(0x2ff)]===_0x4009b6&&this[_0x29db72(0x1de)][_0x29db72(0x1f9)];){const _0x25f9cc=this['_queue']['shift']();this[_0x29db72(0x1f5)]-=_0x25f9cc[0x3][_0x43afdc],Reflect['apply'](_0x25f9cc[0x0],this,_0x25f9cc['slice'](0x1));}}[_0x504b9d(0x221)](_0x326975){const _0x10a6a4=_0x504b9d;this['_bufferedBytes']+=_0x326975[0x3][_0x43afdc],this[_0x10a6a4(0x1de)][_0x10a6a4(0x1d8)](_0x326975);}[_0x504b9d(0x231)](_0x4cd352,_0x25f443){const _0x24098b=_0x504b9d;_0x4cd352[_0x24098b(0x1f9)]===0x2?(this[_0x24098b(0x2fb)][_0x24098b(0x300)](),this[_0x24098b(0x2fb)][_0x24098b(0x1d2)](_0x4cd352[0x0]),this[_0x24098b(0x2fb)]['write'](_0x4cd352[0x1],_0x25f443),this[_0x24098b(0x2fb)][_0x24098b(0x292)]()):this[_0x24098b(0x2fb)][_0x24098b(0x1d2)](_0x4cd352[0x0],_0x25f443);}}Ee=_0x33a445;function _0x5a8031(_0xb9c940,_0x39b3c3,_0x455f59){const _0x912426=_0x504b9d;typeof _0x455f59==_0x912426(0x354)&&_0x455f59(_0x39b3c3);for(let _0x3051f6=0x0;_0x3051f6<_0xb9c940[_0x912426(0x1de)][_0x912426(0x1f9)];_0x3051f6++){const _0x4fdc8c=_0xb9c940[_0x912426(0x1de)][_0x3051f6],_0x443340=_0x4fdc8c[_0x4fdc8c[_0x912426(0x1f9)]-0x1];typeof _0x443340==_0x912426(0x354)&&_0x443340(_0x39b3c3);}}function _0x3e70a0(_0x2d0e68,_0x39ac17,_0x34143e){_0x5a8031(_0x2d0e68,_0x39ac17,_0x34143e),_0x2d0e68['onerror'](_0x39ac17);}return Ee;}var xe,Ze;function It(){const _0x4806e4=_0x30f6f8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x80619,kListener:_0x95cbc9}=H(),_0x551df8=Symbol('kCode'),_0x302867=Symbol('kData'),_0x541471=Symbol(_0x4806e4(0x20a)),_0x5f3b06=Symbol(_0x4806e4(0x265)),_0x55f524=Symbol(_0x4806e4(0x275)),_0x4b79ff=Symbol('kTarget'),_0x4a4ba1=Symbol(_0x4806e4(0x2ef)),_0x3287d2=Symbol(_0x4806e4(0x2bc));class _0x8f7601{constructor(_0x584a96){this[_0x4b79ff]=null,this[_0x4a4ba1]=_0x584a96;}get['target'](){return this[_0x4b79ff];}get[_0x4806e4(0x1e2)](){return this[_0x4a4ba1];}}Object[_0x4806e4(0x22f)](_0x8f7601[_0x4806e4(0x334)],'target',{'enumerable':!0x0}),Object[_0x4806e4(0x22f)](_0x8f7601['prototype'],_0x4806e4(0x1e2),{'enumerable':!0x0});class _0x78bc19 extends _0x8f7601{constructor(_0x1dfa53,_0xed6cc9={}){const _0x1581b1=_0x4806e4;super(_0x1dfa53),this[_0x551df8]=_0xed6cc9['code']===void 0x0?0x0:_0xed6cc9[_0x1581b1(0x352)],this[_0x55f524]=_0xed6cc9['reason']===void 0x0?'':_0xed6cc9[_0x1581b1(0x2e6)],this[_0x3287d2]=_0xed6cc9[_0x1581b1(0x1c7)]===void 0x0?!0x1:_0xed6cc9['wasClean'];}get[_0x4806e4(0x352)](){return this[_0x551df8];}get[_0x4806e4(0x2e6)](){return this[_0x55f524];}get[_0x4806e4(0x1c7)](){return this[_0x3287d2];}}Object[_0x4806e4(0x22f)](_0x78bc19[_0x4806e4(0x334)],_0x4806e4(0x352),{'enumerable':!0x0}),Object[_0x4806e4(0x22f)](_0x78bc19[_0x4806e4(0x334)],_0x4806e4(0x2e6),{'enumerable':!0x0}),Object[_0x4806e4(0x22f)](_0x78bc19[_0x4806e4(0x334)],'wasClean',{'enumerable':!0x0});class _0x5250f7 extends _0x8f7601{constructor(_0x1c75d9,_0x4f68b0={}){const _0x9a99df=_0x4806e4;super(_0x1c75d9),this[_0x541471]=_0x4f68b0[_0x9a99df(0x2c6)]===void 0x0?null:_0x4f68b0[_0x9a99df(0x2c6)],this[_0x5f3b06]=_0x4f68b0['message']===void 0x0?'':_0x4f68b0[_0x9a99df(0x1ea)];}get[_0x4806e4(0x2c6)](){return this[_0x541471];}get[_0x4806e4(0x1ea)](){return this[_0x5f3b06];}}Object[_0x4806e4(0x22f)](_0x5250f7[_0x4806e4(0x334)],_0x4806e4(0x2c6),{'enumerable':!0x0}),Object[_0x4806e4(0x22f)](_0x5250f7[_0x4806e4(0x334)],_0x4806e4(0x1ea),{'enumerable':!0x0});class _0x1915d5 extends _0x8f7601{constructor(_0x21f3dc,_0x1b7672={}){const _0x31b4ff=_0x4806e4;super(_0x21f3dc),this[_0x302867]=_0x1b7672[_0x31b4ff(0x2e1)]===void 0x0?null:_0x1b7672['data'];}get[_0x4806e4(0x2e1)](){return this[_0x302867];}}Object[_0x4806e4(0x22f)](_0x1915d5[_0x4806e4(0x334)],_0x4806e4(0x2e1),{'enumerable':!0x0}),xe={'CloseEvent':_0x78bc19,'ErrorEvent':_0x5250f7,'Event':_0x8f7601,'EventTarget':{'addEventListener'(_0x1cd8a5,_0x1eaeb7,_0x20baaa={}){const _0x2c49b6=_0x4806e4;for(const _0x4bcb4c of this[_0x2c49b6(0x2ca)](_0x1cd8a5))if(!_0x20baaa[_0x80619]&&_0x4bcb4c[_0x95cbc9]===_0x1eaeb7&&!_0x4bcb4c[_0x80619])return;let _0x12c25c;if(_0x1cd8a5==='message')_0x12c25c=function(_0x230705,_0x59ce60){const _0x10e213=_0x2c49b6,_0x4578f8=new _0x1915d5(_0x10e213(0x1ea),{'data':_0x59ce60?_0x230705:_0x230705['toString']()});_0x4578f8[_0x4b79ff]=this,_0x3ae814(_0x1eaeb7,this,_0x4578f8);};else{if(_0x1cd8a5===_0x2c49b6(0x2eb))_0x12c25c=function(_0x5ceaf7,_0xe4e3e4){const _0x5539a3=_0x2c49b6,_0x583d6b=new _0x78bc19(_0x5539a3(0x2eb),{'code':_0x5ceaf7,'reason':_0xe4e3e4[_0x5539a3(0x2f0)](),'wasClean':this[_0x5539a3(0x1c1)]&&this[_0x5539a3(0x2cb)]});_0x583d6b[_0x4b79ff]=this,_0x3ae814(_0x1eaeb7,this,_0x583d6b);};else{if(_0x1cd8a5===_0x2c49b6(0x2c6))_0x12c25c=function(_0xa6c3c){const _0x5949d1=_0x2c49b6,_0x423036=new _0x5250f7(_0x5949d1(0x2c6),{'error':_0xa6c3c,'message':_0xa6c3c['message']});_0x423036[_0x4b79ff]=this,_0x3ae814(_0x1eaeb7,this,_0x423036);};else{if(_0x1cd8a5==='open')_0x12c25c=function(){const _0x46f6a4=new _0x8f7601('open');_0x46f6a4[_0x4b79ff]=this,_0x3ae814(_0x1eaeb7,this,_0x46f6a4);};else return;}}}_0x12c25c[_0x80619]=!!_0x20baaa[_0x80619],_0x12c25c[_0x95cbc9]=_0x1eaeb7,_0x20baaa[_0x2c49b6(0x28d)]?this[_0x2c49b6(0x28d)](_0x1cd8a5,_0x12c25c):this['on'](_0x1cd8a5,_0x12c25c);},'removeEventListener'(_0x2379b0,_0x378b99){const _0xba5e53=_0x4806e4;for(const _0x165372 of this[_0xba5e53(0x2ca)](_0x2379b0))if(_0x165372[_0x95cbc9]===_0x378b99&&!_0x165372[_0x80619]){this[_0xba5e53(0x368)](_0x2379b0,_0x165372);break;}}},'MessageEvent':_0x1915d5};function _0x3ae814(_0x350394,_0x148d5f,_0x4d17b7){const _0x35b1ee=_0x4806e4;typeof _0x350394==_0x35b1ee(0x2fc)&&_0x350394[_0x35b1ee(0x24c)]?_0x350394[_0x35b1ee(0x24c)]['call'](_0x350394,_0x4d17b7):_0x350394[_0x35b1ee(0x2e0)](_0x148d5f,_0x4d17b7);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x506ed8}=ae();function _0x26435b(_0x4361d0,_0x2aa29d,_0x3dd672){_0x4361d0[_0x2aa29d]===void 0x0?_0x4361d0[_0x2aa29d]=[_0x3dd672]:_0x4361d0[_0x2aa29d]['push'](_0x3dd672);}function _0x3600a5(_0xb86b37){const _0x142ab1=_0x228c,_0x493730=Object[_0x142ab1(0x359)](null);let _0x3b0dc0=Object[_0x142ab1(0x359)](null),_0x3ec023=!0x1,_0x16e3e1=!0x1,_0xd4a9a=!0x1,_0x26160b,_0x1871e9,_0xb76647=-0x1,_0x4ca84a=-0x1,_0x3d1b5a=-0x1,_0x3c4fe1=0x0;for(;_0x3c4fe1<_0xb86b37[_0x142ab1(0x1f9)];_0x3c4fe1++)if(_0x4ca84a=_0xb86b37[_0x142ab1(0x32a)](_0x3c4fe1),_0x26160b===void 0x0){if(_0x3d1b5a===-0x1&&_0x506ed8[_0x4ca84a]===0x1)_0xb76647===-0x1&&(_0xb76647=_0x3c4fe1);else{if(_0x3c4fe1!==0x0&&(_0x4ca84a===0x20||_0x4ca84a===0x9))_0x3d1b5a===-0x1&&_0xb76647!==-0x1&&(_0x3d1b5a=_0x3c4fe1);else{if(_0x4ca84a===0x3b||_0x4ca84a===0x2c){if(_0xb76647===-0x1)throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);_0x3d1b5a===-0x1&&(_0x3d1b5a=_0x3c4fe1);const _0x5a2038=_0xb86b37[_0x142ab1(0x26b)](_0xb76647,_0x3d1b5a);_0x4ca84a===0x2c?(_0x26435b(_0x493730,_0x5a2038,_0x3b0dc0),_0x3b0dc0=Object[_0x142ab1(0x359)](null)):_0x26160b=_0x5a2038,_0xb76647=_0x3d1b5a=-0x1;}else throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);}}}else{if(_0x1871e9===void 0x0){if(_0x3d1b5a===-0x1&&_0x506ed8[_0x4ca84a]===0x1)_0xb76647===-0x1&&(_0xb76647=_0x3c4fe1);else{if(_0x4ca84a===0x20||_0x4ca84a===0x9)_0x3d1b5a===-0x1&&_0xb76647!==-0x1&&(_0x3d1b5a=_0x3c4fe1);else{if(_0x4ca84a===0x3b||_0x4ca84a===0x2c){if(_0xb76647===-0x1)throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);_0x3d1b5a===-0x1&&(_0x3d1b5a=_0x3c4fe1),_0x26435b(_0x3b0dc0,_0xb86b37[_0x142ab1(0x26b)](_0xb76647,_0x3d1b5a),!0x0),_0x4ca84a===0x2c&&(_0x26435b(_0x493730,_0x26160b,_0x3b0dc0),_0x3b0dc0=Object[_0x142ab1(0x359)](null),_0x26160b=void 0x0),_0xb76647=_0x3d1b5a=-0x1;}else{if(_0x4ca84a===0x3d&&_0xb76647!==-0x1&&_0x3d1b5a===-0x1)_0x1871e9=_0xb86b37[_0x142ab1(0x26b)](_0xb76647,_0x3c4fe1),_0xb76647=_0x3d1b5a=-0x1;else throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);}}}}else{if(_0x16e3e1){if(_0x506ed8[_0x4ca84a]!==0x1)throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);_0xb76647===-0x1?_0xb76647=_0x3c4fe1:_0x3ec023||(_0x3ec023=!0x0),_0x16e3e1=!0x1;}else{if(_0xd4a9a){if(_0x506ed8[_0x4ca84a]===0x1)_0xb76647===-0x1&&(_0xb76647=_0x3c4fe1);else{if(_0x4ca84a===0x22&&_0xb76647!==-0x1)_0xd4a9a=!0x1,_0x3d1b5a=_0x3c4fe1;else{if(_0x4ca84a===0x5c)_0x16e3e1=!0x0;else throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);}}}else{if(_0x4ca84a===0x22&&_0xb86b37[_0x142ab1(0x32a)](_0x3c4fe1-0x1)===0x3d)_0xd4a9a=!0x0;else{if(_0x3d1b5a===-0x1&&_0x506ed8[_0x4ca84a]===0x1)_0xb76647===-0x1&&(_0xb76647=_0x3c4fe1);else{if(_0xb76647!==-0x1&&(_0x4ca84a===0x20||_0x4ca84a===0x9))_0x3d1b5a===-0x1&&(_0x3d1b5a=_0x3c4fe1);else{if(_0x4ca84a===0x3b||_0x4ca84a===0x2c){if(_0xb76647===-0x1)throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);_0x3d1b5a===-0x1&&(_0x3d1b5a=_0x3c4fe1);let _0x3b3257=_0xb86b37[_0x142ab1(0x26b)](_0xb76647,_0x3d1b5a);_0x3ec023&&(_0x3b3257=_0x3b3257['replace'](/\\/g,''),_0x3ec023=!0x1),_0x26435b(_0x3b0dc0,_0x1871e9,_0x3b3257),_0x4ca84a===0x2c&&(_0x26435b(_0x493730,_0x26160b,_0x3b0dc0),_0x3b0dc0=Object[_0x142ab1(0x359)](null),_0x26160b=void 0x0),_0x1871e9=void 0x0,_0xb76647=_0x3d1b5a=-0x1;}else throw new SyntaxError(_0x142ab1(0x2a1)+_0x3c4fe1);}}}}}}}if(_0xb76647===-0x1||_0xd4a9a||_0x4ca84a===0x20||_0x4ca84a===0x9)throw new SyntaxError(_0x142ab1(0x267));_0x3d1b5a===-0x1&&(_0x3d1b5a=_0x3c4fe1);const _0x412efa=_0xb86b37[_0x142ab1(0x26b)](_0xb76647,_0x3d1b5a);return _0x26160b===void 0x0?_0x26435b(_0x493730,_0x412efa,_0x3b0dc0):(_0x1871e9===void 0x0?_0x26435b(_0x3b0dc0,_0x412efa,!0x0):_0x3ec023?_0x26435b(_0x3b0dc0,_0x1871e9,_0x412efa[_0x142ab1(0x2d6)](/\\/g,'')):_0x26435b(_0x3b0dc0,_0x1871e9,_0x412efa),_0x26435b(_0x493730,_0x26160b,_0x3b0dc0)),_0x493730;}function _0x35334c(_0x168963){const _0x39cf03=_0x228c;return Object[_0x39cf03(0x251)](_0x168963)[_0x39cf03(0x1e8)](_0x1f3abc=>{const _0x3e3162=_0x39cf03;let _0x1a66cf=_0x168963[_0x1f3abc];return Array['isArray'](_0x1a66cf)||(_0x1a66cf=[_0x1a66cf]),_0x1a66cf[_0x3e3162(0x1e8)](_0x5c5532=>[_0x1f3abc][_0x3e3162(0x283)](Object[_0x3e3162(0x251)](_0x5c5532)['map'](_0x5113bc=>{const _0x3ea96b=_0x3e3162;let _0x344486=_0x5c5532[_0x5113bc];return Array[_0x3ea96b(0x1f7)](_0x344486)||(_0x344486=[_0x344486]),_0x344486[_0x3ea96b(0x1e8)](_0xe06477=>_0xe06477===!0x0?_0x5113bc:_0x5113bc+'='+_0xe06477)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x39cf03(0x2a2)](',\x20');}return be={'format':_0x35334c,'parse':_0x3600a5},be;}var we,Je;function Pe(){const _0x232e26=_0x30f6f8;if(Je)return we;Je=0x1;const _0x45d95d=nt,_0x4e6077=vt,_0xba4924=ot,_0x28e15b=St,_0x1de294=Et,{randomBytes:_0xef3710,createHash:_0x19d71b}=Le,{Duplex:_0x9a26e4,Readable:_0x537f04}=oe,{URL:_0x45dd94}=xt,_0x3a1146=he(),_0x3946ba=lt(),_0xa53619=ft(),{isBlob:_0xba0c62}=ae(),{BINARY_TYPES:_0xc46e96,EMPTY_BUFFER:_0x27576f,GUID:_0x3e40e4,kForOnEventAttribute:_0x32975b,kListener:_0x1e43b8,kStatusCode:_0x161fe6,kWebSocket:_0x29e371,NOOP:_0x191507}=H(),{EventTarget:{addEventListener:_0x37c3a1,removeEventListener:_0x4d8d9c}}=It(),{format:_0x4704ce,parse:_0x3cbefc}=ct(),{toBuffer:_0x56b9f1}=ce(),_0x411d03=0x1e*0x3e8,_0x1669bf=Symbol(_0x232e26(0x339)),_0x7710bd=[0x8,0xd],_0x99422b=[_0x232e26(0x271),_0x232e26(0x1f2),_0x232e26(0x370),_0x232e26(0x1c5)],_0x3bd253=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5993af extends _0x45d95d{constructor(_0x592955,_0x5a6f2f,_0x295451){const _0x3b779f=_0x232e26;super(),this[_0x3b779f(0x313)]=_0xc46e96[0x0],this[_0x3b779f(0x351)]=0x3ee,this[_0x3b779f(0x1c1)]=!0x1,this[_0x3b779f(0x2cb)]=!0x1,this[_0x3b779f(0x2a3)]=_0x27576f,this[_0x3b779f(0x2bf)]=null,this[_0x3b779f(0x29f)]=!0x1,this[_0x3b779f(0x2af)]={},this[_0x3b779f(0x349)]=!0x1,this['_protocol']='',this[_0x3b779f(0x2ce)]=_0x5993af['CONNECTING'],this['_receiver']=null,this[_0x3b779f(0x299)]=null,this[_0x3b779f(0x2fb)]=null,_0x592955!==null?(this[_0x3b779f(0x374)]=0x0,this[_0x3b779f(0x31d)]=!0x1,this[_0x3b779f(0x2f4)]=0x0,_0x5a6f2f===void 0x0?_0x5a6f2f=[]:Array[_0x3b779f(0x1f7)](_0x5a6f2f)||(typeof _0x5a6f2f==_0x3b779f(0x2fc)&&_0x5a6f2f!==null?(_0x295451=_0x5a6f2f,_0x5a6f2f=[]):_0x5a6f2f=[_0x5a6f2f]),_0x5401d6(this,_0x592955,_0x5a6f2f,_0x295451)):(this[_0x3b779f(0x232)]=_0x295451[_0x3b779f(0x26a)],this[_0x3b779f(0x31d)]=!0x0);}get[_0x232e26(0x2ad)](){const _0x5867f8=_0x232e26;return this[_0x5867f8(0x313)];}set[_0x232e26(0x2ad)](_0x4362f7){const _0x28bf1c=_0x232e26;_0xc46e96['includes'](_0x4362f7)&&(this[_0x28bf1c(0x313)]=_0x4362f7,this[_0x28bf1c(0x308)]&&(this[_0x28bf1c(0x308)][_0x28bf1c(0x313)]=_0x4362f7));}get[_0x232e26(0x1d9)](){const _0xef0414=_0x232e26;return this[_0xef0414(0x2fb)]?this[_0xef0414(0x2fb)][_0xef0414(0x309)]['length']+this[_0xef0414(0x299)][_0xef0414(0x1f5)]:this[_0xef0414(0x374)];}get['extensions'](){const _0x551478=_0x232e26;return Object[_0x551478(0x251)](this[_0x551478(0x2af)])[_0x551478(0x2a2)]();}get['isPaused'](){const _0x598db2=_0x232e26;return this[_0x598db2(0x349)];}get[_0x232e26(0x367)](){return null;}get[_0x232e26(0x335)](){return null;}get[_0x232e26(0x31b)](){return null;}get[_0x232e26(0x1c3)](){return null;}get['protocol'](){const _0x426b14=_0x232e26;return this[_0x426b14(0x348)];}get[_0x232e26(0x36b)](){const _0x14df8b=_0x232e26;return this[_0x14df8b(0x2ce)];}get[_0x232e26(0x21e)](){const _0x17a958=_0x232e26;return this[_0x17a958(0x239)];}[_0x232e26(0x2a6)](_0x129ec7,_0x1a2d3d,_0x1654b7){const _0x57cf00=_0x232e26,_0x31a6d5=new _0x3946ba({'allowSynchronousEvents':_0x1654b7[_0x57cf00(0x218)],'binaryType':this['binaryType'],'extensions':this[_0x57cf00(0x2af)],'isServer':this[_0x57cf00(0x31d)],'maxPayload':_0x1654b7[_0x57cf00(0x1e1)],'skipUTF8Validation':_0x1654b7[_0x57cf00(0x364)]}),_0x17891c=new _0xa53619(_0x129ec7,this[_0x57cf00(0x2af)],_0x1654b7[_0x57cf00(0x312)]);this[_0x57cf00(0x308)]=_0x31a6d5,this[_0x57cf00(0x299)]=_0x17891c,this['_socket']=_0x129ec7,_0x31a6d5[_0x29e371]=this,_0x17891c[_0x29e371]=this,_0x129ec7[_0x29e371]=this,_0x31a6d5['on']('conclude',_0x2d2056),_0x31a6d5['on'](_0x57cf00(0x33a),_0x49ff59),_0x31a6d5['on'](_0x57cf00(0x2c6),_0x2c004a),_0x31a6d5['on']('message',_0x5cb75d),_0x31a6d5['on']('ping',_0x2277fa),_0x31a6d5['on'](_0x57cf00(0x284),_0x100665),_0x17891c['onerror']=_0x496034,_0x129ec7[_0x57cf00(0x2a9)]&&_0x129ec7[_0x57cf00(0x2a9)](0x0),_0x129ec7['setNoDelay']&&_0x129ec7[_0x57cf00(0x2c1)](),_0x1a2d3d['length']>0x0&&_0x129ec7['unshift'](_0x1a2d3d),_0x129ec7['on'](_0x57cf00(0x2eb),_0x3948d2),_0x129ec7['on'](_0x57cf00(0x2e1),_0x1aecdf),_0x129ec7['on'](_0x57cf00(0x1db),_0x29628d),_0x129ec7['on']('error',_0x26e3e2),this[_0x57cf00(0x2ce)]=_0x5993af[_0x57cf00(0x1f2)],this['emit'](_0x57cf00(0x24e));}[_0x232e26(0x27f)](){const _0x74ce9c=_0x232e26;if(!this[_0x74ce9c(0x2fb)]){this[_0x74ce9c(0x2ce)]=_0x5993af[_0x74ce9c(0x1c5)],this[_0x74ce9c(0x2f9)](_0x74ce9c(0x2eb),this['_closeCode'],this[_0x74ce9c(0x2a3)]);return;}this[_0x74ce9c(0x2af)][_0x3a1146[_0x74ce9c(0x33d)]]&&this[_0x74ce9c(0x2af)][_0x3a1146[_0x74ce9c(0x33d)]][_0x74ce9c(0x324)](),this[_0x74ce9c(0x308)][_0x74ce9c(0x287)](),this[_0x74ce9c(0x2ce)]=_0x5993af['CLOSED'],this['emit'](_0x74ce9c(0x2eb),this[_0x74ce9c(0x351)],this[_0x74ce9c(0x2a3)]);}[_0x232e26(0x2eb)](_0x1a7cb8,_0x4b59b8){const _0x59922c=_0x232e26;if(this[_0x59922c(0x36b)]!==_0x5993af[_0x59922c(0x1c5)]){if(this[_0x59922c(0x36b)]===_0x5993af[_0x59922c(0x271)]){_0x548840(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x59922c(0x36b)]===_0x5993af['CLOSING']){this[_0x59922c(0x2cb)]&&(this['_closeFrameReceived']||this[_0x59922c(0x308)]['_writableState'][_0x59922c(0x278)])&&this['_socket'][_0x59922c(0x1db)]();return;}this[_0x59922c(0x2ce)]=_0x5993af[_0x59922c(0x370)],this[_0x59922c(0x299)][_0x59922c(0x2eb)](_0x1a7cb8,_0x4b59b8,!this[_0x59922c(0x31d)],_0x3d1e3a=>{const _0x12ebb8=_0x59922c;_0x3d1e3a||(this[_0x12ebb8(0x2cb)]=!0x0,(this[_0x12ebb8(0x1c1)]||this[_0x12ebb8(0x308)]['_writableState'][_0x12ebb8(0x278)])&&this['_socket'][_0x12ebb8(0x1db)]());}),_0x2ebee9(this);}}[_0x232e26(0x337)](){const _0xa6f1e5=_0x232e26;this[_0xa6f1e5(0x36b)]===_0x5993af['CONNECTING']||this[_0xa6f1e5(0x36b)]===_0x5993af[_0xa6f1e5(0x1c5)]||(this[_0xa6f1e5(0x349)]=!0x0,this[_0xa6f1e5(0x2fb)]['pause']());}[_0x232e26(0x261)](_0x102e3e,_0x5c6a46,_0x4235de){const _0xff4a04=_0x232e26;if(this['readyState']===_0x5993af[_0xff4a04(0x271)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x102e3e==_0xff4a04(0x354)?(_0x4235de=_0x102e3e,_0x102e3e=_0x5c6a46=void 0x0):typeof _0x5c6a46==_0xff4a04(0x354)&&(_0x4235de=_0x5c6a46,_0x5c6a46=void 0x0),typeof _0x102e3e==_0xff4a04(0x263)&&(_0x102e3e=_0x102e3e[_0xff4a04(0x2f0)]()),this[_0xff4a04(0x36b)]!==_0x5993af[_0xff4a04(0x1f2)]){_0x2c9b8b(this,_0x102e3e,_0x4235de);return;}_0x5c6a46===void 0x0&&(_0x5c6a46=!this[_0xff4a04(0x31d)]),this[_0xff4a04(0x299)]['ping'](_0x102e3e||_0x27576f,_0x5c6a46,_0x4235de);}[_0x232e26(0x284)](_0x5732fd,_0x3d6e4c,_0x4f3a9e){const _0x294dc2=_0x232e26;if(this['readyState']===_0x5993af[_0x294dc2(0x271)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5732fd==_0x294dc2(0x354)?(_0x4f3a9e=_0x5732fd,_0x5732fd=_0x3d6e4c=void 0x0):typeof _0x3d6e4c==_0x294dc2(0x354)&&(_0x4f3a9e=_0x3d6e4c,_0x3d6e4c=void 0x0),typeof _0x5732fd==_0x294dc2(0x263)&&(_0x5732fd=_0x5732fd[_0x294dc2(0x2f0)]()),this[_0x294dc2(0x36b)]!==_0x5993af[_0x294dc2(0x1f2)]){_0x2c9b8b(this,_0x5732fd,_0x4f3a9e);return;}_0x3d6e4c===void 0x0&&(_0x3d6e4c=!this['_isServer']),this[_0x294dc2(0x299)][_0x294dc2(0x284)](_0x5732fd||_0x27576f,_0x3d6e4c,_0x4f3a9e);}['resume'](){const _0x53dd8b=_0x232e26;this[_0x53dd8b(0x36b)]===_0x5993af[_0x53dd8b(0x271)]||this[_0x53dd8b(0x36b)]===_0x5993af[_0x53dd8b(0x1c5)]||(this[_0x53dd8b(0x349)]=!0x1,this['_receiver'][_0x53dd8b(0x309)][_0x53dd8b(0x2dc)]||this['_socket'][_0x53dd8b(0x1c4)]());}['send'](_0x2afe4c,_0x28031a,_0x3608e5){const _0x48a976=_0x232e26;if(this[_0x48a976(0x36b)]===_0x5993af[_0x48a976(0x271)])throw new Error(_0x48a976(0x2b7));if(typeof _0x28031a==_0x48a976(0x354)&&(_0x3608e5=_0x28031a,_0x28031a={}),typeof _0x2afe4c==_0x48a976(0x263)&&(_0x2afe4c=_0x2afe4c[_0x48a976(0x2f0)]()),this[_0x48a976(0x36b)]!==_0x5993af[_0x48a976(0x1f2)]){_0x2c9b8b(this,_0x2afe4c,_0x3608e5);return;}const _0x467f30={'binary':typeof _0x2afe4c!=_0x48a976(0x288),'mask':!this[_0x48a976(0x31d)],'compress':!0x0,'fin':!0x0,..._0x28031a};this[_0x48a976(0x2af)][_0x3a1146['extensionName']]||(_0x467f30[_0x48a976(0x2d1)]=!0x1),this[_0x48a976(0x299)]['send'](_0x2afe4c||_0x27576f,_0x467f30,_0x3608e5);}[_0x232e26(0x301)](){const _0x14fb91=_0x232e26;if(this[_0x14fb91(0x36b)]!==_0x5993af['CLOSED']){if(this[_0x14fb91(0x36b)]===_0x5993af[_0x14fb91(0x271)]){_0x548840(this,this[_0x14fb91(0x21d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this['_readyState']=_0x5993af[_0x14fb91(0x370)],this[_0x14fb91(0x2fb)][_0x14fb91(0x2e2)]());}}}Object[_0x232e26(0x22f)](_0x5993af,_0x232e26(0x271),{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)](_0x232e26(0x271))}),Object[_0x232e26(0x22f)](_0x5993af[_0x232e26(0x334)],_0x232e26(0x271),{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)]('CONNECTING')}),Object[_0x232e26(0x22f)](_0x5993af,_0x232e26(0x1f2),{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)](_0x232e26(0x1f2))}),Object['defineProperty'](_0x5993af[_0x232e26(0x334)],'OPEN',{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)]('OPEN')}),Object['defineProperty'](_0x5993af,_0x232e26(0x370),{'enumerable':!0x0,'value':_0x99422b['indexOf'](_0x232e26(0x370))}),Object[_0x232e26(0x22f)](_0x5993af[_0x232e26(0x334)],_0x232e26(0x370),{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)](_0x232e26(0x370))}),Object[_0x232e26(0x22f)](_0x5993af,_0x232e26(0x1c5),{'enumerable':!0x0,'value':_0x99422b['indexOf'](_0x232e26(0x1c5))}),Object[_0x232e26(0x22f)](_0x5993af['prototype'],_0x232e26(0x1c5),{'enumerable':!0x0,'value':_0x99422b[_0x232e26(0x1bd)](_0x232e26(0x1c5))}),[_0x232e26(0x2ad),_0x232e26(0x1d9),'extensions',_0x232e26(0x212),_0x232e26(0x21c),_0x232e26(0x36b),_0x232e26(0x21e)][_0x232e26(0x2fe)](_0x321a96=>{const _0x4c9eb3=_0x232e26;Object[_0x4c9eb3(0x22f)](_0x5993af[_0x4c9eb3(0x334)],_0x321a96,{'enumerable':!0x0});}),['open',_0x232e26(0x2c6),'close',_0x232e26(0x1ea)]['forEach'](_0x142b4b=>{const _0x34b782=_0x232e26;Object[_0x34b782(0x22f)](_0x5993af[_0x34b782(0x334)],'on'+_0x142b4b,{'enumerable':!0x0,'get'(){for(const _0x2a6239 of this['listeners'](_0x142b4b))if(_0x2a6239[_0x32975b])return _0x2a6239[_0x1e43b8];return null;},'set'(_0x27a1de){const _0xd8e0b5=_0x34b782;for(const _0xf0c7a9 of this[_0xd8e0b5(0x2ca)](_0x142b4b))if(_0xf0c7a9[_0x32975b]){this[_0xd8e0b5(0x368)](_0x142b4b,_0xf0c7a9);break;}typeof _0x27a1de=='function'&&this[_0xd8e0b5(0x23d)](_0x142b4b,_0x27a1de,{[_0x32975b]:!0x0});}});}),_0x5993af[_0x232e26(0x334)]['addEventListener']=_0x37c3a1,_0x5993af[_0x232e26(0x334)][_0x232e26(0x1ce)]=_0x4d8d9c,we=_0x5993af;function _0x5401d6(_0x478c95,_0x15f3ee,_0x2cd923,_0x4029b1){const _0x3217b7=_0x232e26,_0x4aa66d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x7710bd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4029b1,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x478c95[_0x3217b7(0x232)]=_0x4aa66d[_0x3217b7(0x26a)],!_0x7710bd[_0x3217b7(0x1ff)](_0x4aa66d['protocolVersion']))throw new RangeError(_0x3217b7(0x2c2)+_0x4aa66d[_0x3217b7(0x227)]+_0x3217b7(0x25b)+_0x7710bd[_0x3217b7(0x2a2)](',\x20')+')');let _0x1c6f0b;if(_0x15f3ee instanceof _0x45dd94)_0x1c6f0b=_0x15f3ee;else try{_0x1c6f0b=new _0x45dd94(_0x15f3ee);}catch{throw new SyntaxError(_0x3217b7(0x1fa)+_0x15f3ee);}_0x1c6f0b[_0x3217b7(0x21c)]===_0x3217b7(0x214)?_0x1c6f0b[_0x3217b7(0x21c)]=_0x3217b7(0x342):_0x1c6f0b[_0x3217b7(0x21c)]==='https:'&&(_0x1c6f0b[_0x3217b7(0x21c)]=_0x3217b7(0x294)),_0x478c95[_0x3217b7(0x239)]=_0x1c6f0b[_0x3217b7(0x2cf)];const _0x2d23d5=_0x1c6f0b['protocol']===_0x3217b7(0x294),_0x4f53fa=_0x1c6f0b['protocol']===_0x3217b7(0x35f);let _0x252ed6;if(_0x1c6f0b[_0x3217b7(0x21c)]!=='ws:'&&!_0x2d23d5&&!_0x4f53fa?_0x252ed6=_0x3217b7(0x23c):_0x4f53fa&&!_0x1c6f0b[_0x3217b7(0x246)]?_0x252ed6=_0x3217b7(0x36e):_0x1c6f0b['hash']&&(_0x252ed6='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x252ed6){const _0x19116f=new SyntaxError(_0x252ed6);if(_0x478c95[_0x3217b7(0x2f4)]===0x0)throw _0x19116f;_0x45e5bb(_0x478c95,_0x19116f);return;}const _0x43da55=_0x2d23d5?0x1bb:0x50,_0x4cc7ee=_0xef3710(0x10)['toString']('base64'),_0x2e5565=_0x2d23d5?_0x4e6077[_0x3217b7(0x2ed)]:_0xba4924[_0x3217b7(0x2ed)],_0x4f302e=new Set();let _0x537e38;if(_0x4aa66d[_0x3217b7(0x26f)]=_0x4aa66d[_0x3217b7(0x26f)]||(_0x2d23d5?_0xe09599:_0x21c0ba),_0x4aa66d[_0x3217b7(0x31a)]=_0x4aa66d[_0x3217b7(0x31a)]||_0x43da55,_0x4aa66d[_0x3217b7(0x340)]=_0x1c6f0b[_0x3217b7(0x340)]||_0x43da55,_0x4aa66d['host']=_0x1c6f0b[_0x3217b7(0x33c)][_0x3217b7(0x245)]('[')?_0x1c6f0b['hostname']['slice'](0x1,-0x1):_0x1c6f0b[_0x3217b7(0x33c)],_0x4aa66d[_0x3217b7(0x358)]={..._0x4aa66d['headers'],'Sec-WebSocket-Version':_0x4aa66d[_0x3217b7(0x227)],'Sec-WebSocket-Key':_0x4cc7ee,'Connection':_0x3217b7(0x2be),'Upgrade':_0x3217b7(0x344)},_0x4aa66d[_0x3217b7(0x22b)]=_0x1c6f0b[_0x3217b7(0x246)]+_0x1c6f0b[_0x3217b7(0x33b)],_0x4aa66d[_0x3217b7(0x23b)]=_0x4aa66d[_0x3217b7(0x1c8)],_0x4aa66d[_0x3217b7(0x1e7)]&&(_0x537e38=new _0x3a1146(_0x4aa66d[_0x3217b7(0x1e7)]!==!0x0?_0x4aa66d[_0x3217b7(0x1e7)]:{},!0x1,_0x4aa66d[_0x3217b7(0x1e1)]),_0x4aa66d[_0x3217b7(0x358)][_0x3217b7(0x2fd)]=_0x4704ce({[_0x3a1146[_0x3217b7(0x33d)]]:_0x537e38[_0x3217b7(0x20c)]()})),_0x2cd923[_0x3217b7(0x1f9)]){for(const _0x558c87 of _0x2cd923){if(typeof _0x558c87!=_0x3217b7(0x288)||!_0x3bd253[_0x3217b7(0x2ab)](_0x558c87)||_0x4f302e['has'](_0x558c87))throw new SyntaxError(_0x3217b7(0x310));_0x4f302e['add'](_0x558c87);}_0x4aa66d[_0x3217b7(0x358)]['Sec-WebSocket-Protocol']=_0x2cd923[_0x3217b7(0x2a2)](',');}if(_0x4aa66d['origin']&&(_0x4aa66d['protocolVersion']<0xd?_0x4aa66d['headers'][_0x3217b7(0x250)]=_0x4aa66d[_0x3217b7(0x36c)]:_0x4aa66d[_0x3217b7(0x358)][_0x3217b7(0x237)]=_0x4aa66d[_0x3217b7(0x36c)]),(_0x1c6f0b[_0x3217b7(0x363)]||_0x1c6f0b['password'])&&(_0x4aa66d[_0x3217b7(0x1fd)]=_0x1c6f0b[_0x3217b7(0x363)]+':'+_0x1c6f0b['password']),_0x4f53fa){const _0x419381=_0x4aa66d['path'][_0x3217b7(0x2e3)](':');_0x4aa66d['socketPath']=_0x419381[0x0],_0x4aa66d[_0x3217b7(0x22b)]=_0x419381[0x1];}let _0x285e50;if(_0x4aa66d[_0x3217b7(0x346)]){if(_0x478c95['_redirects']===0x0){_0x478c95[_0x3217b7(0x2d8)]=_0x4f53fa,_0x478c95[_0x3217b7(0x1eb)]=_0x2d23d5,_0x478c95['_originalHostOrSocketPath']=_0x4f53fa?_0x4aa66d[_0x3217b7(0x2f6)]:_0x1c6f0b[_0x3217b7(0x1e6)];const _0x58610d=_0x4029b1&&_0x4029b1[_0x3217b7(0x358)];if(_0x4029b1={..._0x4029b1,'headers':{}},_0x58610d){for(const [_0x32649c,_0x28743f]of Object['entries'](_0x58610d))_0x4029b1[_0x3217b7(0x358)][_0x32649c[_0x3217b7(0x2b8)]()]=_0x28743f;}}else{if(_0x478c95[_0x3217b7(0x2ac)](_0x3217b7(0x2b2))===0x0){const _0x1009f3=_0x4f53fa?_0x478c95['_originalIpc']?_0x4aa66d[_0x3217b7(0x2f6)]===_0x478c95[_0x3217b7(0x2b0)]:!0x1:_0x478c95['_originalIpc']?!0x1:_0x1c6f0b[_0x3217b7(0x1e6)]===_0x478c95[_0x3217b7(0x2b0)];(!_0x1009f3||_0x478c95['_originalSecure']&&!_0x2d23d5)&&(delete _0x4aa66d[_0x3217b7(0x358)][_0x3217b7(0x200)],delete _0x4aa66d[_0x3217b7(0x358)][_0x3217b7(0x2f3)],_0x1009f3||delete _0x4aa66d['headers'][_0x3217b7(0x1e6)],_0x4aa66d[_0x3217b7(0x1fd)]=void 0x0);}}_0x4aa66d[_0x3217b7(0x1fd)]&&!_0x4029b1[_0x3217b7(0x358)][_0x3217b7(0x200)]&&(_0x4029b1['headers'][_0x3217b7(0x200)]='Basic\x20'+Buffer[_0x3217b7(0x286)](_0x4aa66d['auth'])[_0x3217b7(0x2f0)](_0x3217b7(0x1f8))),_0x285e50=_0x478c95[_0x3217b7(0x21d)]=_0x2e5565(_0x4aa66d),_0x478c95[_0x3217b7(0x2f4)]&&_0x478c95[_0x3217b7(0x2f9)](_0x3217b7(0x2b2),_0x478c95[_0x3217b7(0x21e)],_0x285e50);}else _0x285e50=_0x478c95[_0x3217b7(0x21d)]=_0x2e5565(_0x4aa66d);_0x4aa66d['timeout']&&_0x285e50['on'](_0x3217b7(0x23b),()=>{_0x548840(_0x478c95,_0x285e50,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x285e50['on'](_0x3217b7(0x2c6),_0x498383=>{const _0x127d79=_0x3217b7;_0x285e50===null||_0x285e50[_0x1669bf]||(_0x285e50=_0x478c95[_0x127d79(0x21d)]=null,_0x45e5bb(_0x478c95,_0x498383));}),_0x285e50['on'](_0x3217b7(0x32d),_0x2f14bb=>{const _0x94b251=_0x3217b7,_0x4ab85e=_0x2f14bb[_0x94b251(0x358)]['location'],_0x17181e=_0x2f14bb['statusCode'];if(_0x4ab85e&&_0x4aa66d[_0x94b251(0x346)]&&_0x17181e>=0x12c&&_0x17181e<0x190){if(++_0x478c95[_0x94b251(0x2f4)]>_0x4aa66d[_0x94b251(0x35a)]){_0x548840(_0x478c95,_0x285e50,'Maximum\x20redirects\x20exceeded');return;}_0x285e50[_0x94b251(0x24f)]();let _0x2fec13;try{_0x2fec13=new _0x45dd94(_0x4ab85e,_0x15f3ee);}catch{const _0x25d8e7=new SyntaxError(_0x94b251(0x1fa)+_0x4ab85e);_0x45e5bb(_0x478c95,_0x25d8e7);return;}_0x5401d6(_0x478c95,_0x2fec13,_0x2cd923,_0x4029b1);}else _0x478c95[_0x94b251(0x2f9)](_0x94b251(0x357),_0x285e50,_0x2f14bb)||_0x548840(_0x478c95,_0x285e50,_0x94b251(0x1d4)+_0x2f14bb[_0x94b251(0x2b6)]);}),_0x285e50['on'](_0x3217b7(0x2d2),(_0x4ddbcb,_0x21758b,_0x56d3a3)=>{const _0x1275ad=_0x3217b7;if(_0x478c95['emit']('upgrade',_0x4ddbcb),_0x478c95[_0x1275ad(0x36b)]!==_0x5993af[_0x1275ad(0x271)])return;_0x285e50=_0x478c95[_0x1275ad(0x21d)]=null;const _0x8fa700=_0x4ddbcb[_0x1275ad(0x358)]['upgrade'];if(_0x8fa700===void 0x0||_0x8fa700[_0x1275ad(0x2b8)]()!==_0x1275ad(0x344)){_0x548840(_0x478c95,_0x21758b,'Invalid\x20Upgrade\x20header');return;}const _0x50a6ae=_0x19d71b('sha1')[_0x1275ad(0x34e)](_0x4cc7ee+_0x3e40e4)[_0x1275ad(0x2d9)](_0x1275ad(0x1f8));if(_0x4ddbcb['headers'][_0x1275ad(0x1cb)]!==_0x50a6ae){_0x548840(_0x478c95,_0x21758b,_0x1275ad(0x31f));return;}const _0x27d0e5=_0x4ddbcb['headers']['sec-websocket-protocol'];let _0x16760e;if(_0x27d0e5!==void 0x0?_0x4f302e[_0x1275ad(0x379)]?_0x4f302e['has'](_0x27d0e5)||(_0x16760e=_0x1275ad(0x36f)):_0x16760e=_0x1275ad(0x1bf):_0x4f302e[_0x1275ad(0x379)]&&(_0x16760e=_0x1275ad(0x2de)),_0x16760e){_0x548840(_0x478c95,_0x21758b,_0x16760e);return;}_0x27d0e5&&(_0x478c95[_0x1275ad(0x348)]=_0x27d0e5);const _0x4e4096=_0x4ddbcb[_0x1275ad(0x358)][_0x1275ad(0x305)];if(_0x4e4096!==void 0x0){if(!_0x537e38){_0x548840(_0x478c95,_0x21758b,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1fcc52;try{_0x1fcc52=_0x3cbefc(_0x4e4096);}catch{_0x548840(_0x478c95,_0x21758b,_0x1275ad(0x281));return;}const _0x28a120=Object['keys'](_0x1fcc52);if(_0x28a120[_0x1275ad(0x1f9)]!==0x1||_0x28a120[0x0]!==_0x3a1146[_0x1275ad(0x33d)]){_0x548840(_0x478c95,_0x21758b,_0x1275ad(0x2aa));return;}try{_0x537e38[_0x1275ad(0x373)](_0x1fcc52[_0x3a1146[_0x1275ad(0x33d)]]);}catch{_0x548840(_0x478c95,_0x21758b,_0x1275ad(0x281));return;}_0x478c95[_0x1275ad(0x2af)][_0x3a1146['extensionName']]=_0x537e38;}_0x478c95['setSocket'](_0x21758b,_0x56d3a3,{'allowSynchronousEvents':_0x4aa66d[_0x1275ad(0x218)],'generateMask':_0x4aa66d[_0x1275ad(0x312)],'maxPayload':_0x4aa66d[_0x1275ad(0x1e1)],'skipUTF8Validation':_0x4aa66d['skipUTF8Validation']});}),_0x4aa66d['finishRequest']?_0x4aa66d['finishRequest'](_0x285e50,_0x478c95):_0x285e50[_0x3217b7(0x1db)]();}function _0x45e5bb(_0x19cfd2,_0x2cbe9d){const _0x455f8b=_0x232e26;_0x19cfd2[_0x455f8b(0x2ce)]=_0x5993af[_0x455f8b(0x370)],_0x19cfd2['_errorEmitted']=!0x0,_0x19cfd2[_0x455f8b(0x2f9)]('error',_0x2cbe9d),_0x19cfd2['emitClose']();}function _0x21c0ba(_0x3c3272){const _0x4ab4c5=_0x232e26;return _0x3c3272[_0x4ab4c5(0x22b)]=_0x3c3272[_0x4ab4c5(0x2f6)],_0x28e15b['connect'](_0x3c3272);}function _0xe09599(_0x2dffcc){const _0x1d8365=_0x232e26;return _0x2dffcc[_0x1d8365(0x22b)]=void 0x0,!_0x2dffcc[_0x1d8365(0x347)]&&_0x2dffcc[_0x1d8365(0x347)]!==''&&(_0x2dffcc['servername']=_0x28e15b[_0x1d8365(0x222)](_0x2dffcc[_0x1d8365(0x1e6)])?'':_0x2dffcc['host']),_0x1de294[_0x1d8365(0x31c)](_0x2dffcc);}function _0x548840(_0x2806ea,_0x24caf8,_0xe77593){const _0xf6ef45=_0x232e26;_0x2806ea[_0xf6ef45(0x2ce)]=_0x5993af[_0xf6ef45(0x370)];const _0x26f566=new Error(_0xe77593);Error['captureStackTrace'](_0x26f566,_0x548840),_0x24caf8[_0xf6ef45(0x274)]?(_0x24caf8[_0x1669bf]=!0x0,_0x24caf8[_0xf6ef45(0x24f)](),_0x24caf8[_0xf6ef45(0x28b)]&&!_0x24caf8[_0xf6ef45(0x28b)][_0xf6ef45(0x20e)]&&_0x24caf8[_0xf6ef45(0x28b)][_0xf6ef45(0x2e2)](),process[_0xf6ef45(0x333)](_0x45e5bb,_0x2806ea,_0x26f566)):(_0x24caf8[_0xf6ef45(0x2e2)](_0x26f566),_0x24caf8[_0xf6ef45(0x28d)]('error',_0x2806ea['emit'][_0xf6ef45(0x34f)](_0x2806ea,_0xf6ef45(0x2c6))),_0x24caf8['once']('close',_0x2806ea['emitClose']['bind'](_0x2806ea)));}function _0x2c9b8b(_0x4c2506,_0x37c0b6,_0x45cdb7){const _0x2ba889=_0x232e26;if(_0x37c0b6){const _0x22d65b=_0xba0c62(_0x37c0b6)?_0x37c0b6['size']:_0x56b9f1(_0x37c0b6)[_0x2ba889(0x1f9)];_0x4c2506[_0x2ba889(0x2fb)]?_0x4c2506[_0x2ba889(0x299)][_0x2ba889(0x1f5)]+=_0x22d65b:_0x4c2506['_bufferedAmount']+=_0x22d65b;}if(_0x45cdb7){const _0x1fcbac=new Error(_0x2ba889(0x220)+_0x4c2506['readyState']+'\x20('+_0x99422b[_0x4c2506['readyState']]+')');process[_0x2ba889(0x333)](_0x45cdb7,_0x1fcbac);}}function _0x2d2056(_0x18b4bc,_0x49f3c3){const _0x437dd9=_0x232e26,_0x327e88=this[_0x29e371];_0x327e88[_0x437dd9(0x1c1)]=!0x0,_0x327e88[_0x437dd9(0x2a3)]=_0x49f3c3,_0x327e88[_0x437dd9(0x351)]=_0x18b4bc,_0x327e88[_0x437dd9(0x2fb)][_0x29e371]!==void 0x0&&(_0x327e88['_socket']['removeListener']('data',_0x1aecdf),process['nextTick'](_0x206810,_0x327e88[_0x437dd9(0x2fb)]),_0x18b4bc===0x3ed?_0x327e88[_0x437dd9(0x2eb)]():_0x327e88['close'](_0x18b4bc,_0x49f3c3));}function _0x49ff59(){const _0x1b9115=_0x232e26,_0x587082=this[_0x29e371];_0x587082[_0x1b9115(0x212)]||_0x587082[_0x1b9115(0x2fb)][_0x1b9115(0x1c4)]();}function _0x2c004a(_0x340638){const _0x4413fb=_0x232e26,_0x4115db=this[_0x29e371];_0x4115db[_0x4413fb(0x2fb)][_0x29e371]!==void 0x0&&(_0x4115db['_socket'][_0x4413fb(0x368)]('data',_0x1aecdf),process[_0x4413fb(0x333)](_0x206810,_0x4115db[_0x4413fb(0x2fb)]),_0x4115db[_0x4413fb(0x2eb)](_0x340638[_0x161fe6])),_0x4115db[_0x4413fb(0x29f)]||(_0x4115db[_0x4413fb(0x29f)]=!0x0,_0x4115db[_0x4413fb(0x2f9)](_0x4413fb(0x2c6),_0x340638));}function _0x376b4a(){const _0x24d8c=_0x232e26;this[_0x29e371][_0x24d8c(0x27f)]();}function _0x5cb75d(_0x2b0d23,_0xed17de){const _0x33eb43=_0x232e26;this[_0x29e371][_0x33eb43(0x2f9)]('message',_0x2b0d23,_0xed17de);}function _0x2277fa(_0x2cdaa9){const _0x41a35e=_0x232e26,_0x47e5a1=this[_0x29e371];_0x47e5a1[_0x41a35e(0x232)]&&_0x47e5a1['pong'](_0x2cdaa9,!this[_0x41a35e(0x31d)],_0x191507),_0x47e5a1[_0x41a35e(0x2f9)]('ping',_0x2cdaa9);}function _0x100665(_0x1059cb){const _0x20d120=_0x232e26;this[_0x29e371][_0x20d120(0x2f9)](_0x20d120(0x284),_0x1059cb);}function _0x206810(_0x9c8da0){const _0x13243c=_0x232e26;_0x9c8da0[_0x13243c(0x1c4)]();}function _0x496034(_0xc19795){const _0x442f81=_0x232e26,_0x5cfa90=this[_0x29e371];_0x5cfa90[_0x442f81(0x36b)]!==_0x5993af[_0x442f81(0x1c5)]&&(_0x5cfa90['readyState']===_0x5993af['OPEN']&&(_0x5cfa90[_0x442f81(0x2ce)]=_0x5993af['CLOSING'],_0x2ebee9(_0x5cfa90)),this[_0x442f81(0x2fb)][_0x442f81(0x1db)](),_0x5cfa90[_0x442f81(0x29f)]||(_0x5cfa90[_0x442f81(0x29f)]=!0x0,_0x5cfa90[_0x442f81(0x2f9)](_0x442f81(0x2c6),_0xc19795)));}function _0x2ebee9(_0x268203){const _0xc4948b=_0x232e26;_0x268203[_0xc4948b(0x2bf)]=setTimeout(_0x268203[_0xc4948b(0x2fb)]['destroy'][_0xc4948b(0x34f)](_0x268203[_0xc4948b(0x2fb)]),_0x411d03);}function _0x3948d2(){const _0x34b3f8=_0x232e26,_0x4de33e=this[_0x29e371];this[_0x34b3f8(0x368)](_0x34b3f8(0x2eb),_0x3948d2),this['removeListener'](_0x34b3f8(0x2e1),_0x1aecdf),this[_0x34b3f8(0x368)](_0x34b3f8(0x1db),_0x29628d),_0x4de33e['_readyState']=_0x5993af[_0x34b3f8(0x370)];let _0x543941;!this[_0x34b3f8(0x1f4)][_0x34b3f8(0x2e4)]&&!_0x4de33e['_closeFrameReceived']&&!_0x4de33e[_0x34b3f8(0x308)][_0x34b3f8(0x309)][_0x34b3f8(0x278)]&&(_0x543941=_0x4de33e[_0x34b3f8(0x2fb)][_0x34b3f8(0x1ee)]())!==null&&_0x4de33e['_receiver'][_0x34b3f8(0x1d2)](_0x543941),_0x4de33e[_0x34b3f8(0x308)][_0x34b3f8(0x1db)](),this[_0x29e371]=void 0x0,clearTimeout(_0x4de33e['_closeTimer']),_0x4de33e[_0x34b3f8(0x308)][_0x34b3f8(0x309)][_0x34b3f8(0x318)]||_0x4de33e[_0x34b3f8(0x308)][_0x34b3f8(0x309)][_0x34b3f8(0x278)]?_0x4de33e['emitClose']():(_0x4de33e['_receiver']['on'](_0x34b3f8(0x2c6),_0x376b4a),_0x4de33e[_0x34b3f8(0x308)]['on']('finish',_0x376b4a));}function _0x1aecdf(_0x47df40){const _0x2a7ca4=_0x232e26;this[_0x29e371][_0x2a7ca4(0x308)][_0x2a7ca4(0x1d2)](_0x47df40)||this[_0x2a7ca4(0x337)]();}function _0x29628d(){const _0x5ba075=_0x232e26,_0x494448=this[_0x29e371];_0x494448[_0x5ba075(0x2ce)]=_0x5993af[_0x5ba075(0x370)],_0x494448['_receiver'][_0x5ba075(0x1db)](),this[_0x5ba075(0x1db)]();}function _0x26e3e2(){const _0x339a82=_0x232e26,_0x483e0a=this[_0x29e371];this[_0x339a82(0x368)](_0x339a82(0x2c6),_0x26e3e2),this['on'](_0x339a82(0x2c6),_0x191507),_0x483e0a&&(_0x483e0a[_0x339a82(0x2ce)]=_0x5993af[_0x339a82(0x370)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x176b20}=oe;function _0x295181(_0xf20e03){const _0xfdcb73=_0x228c;_0xf20e03[_0xfdcb73(0x2f9)](_0xfdcb73(0x2eb));}function _0x58bd37(){const _0x119d20=_0x228c;!this[_0x119d20(0x20e)]&&this[_0x119d20(0x309)]['finished']&&this[_0x119d20(0x2e2)]();}function _0x26a4b7(_0x3702d4){const _0x5c0c2a=_0x228c;this[_0x5c0c2a(0x368)]('error',_0x26a4b7),this[_0x5c0c2a(0x2e2)](),this[_0x5c0c2a(0x2ac)](_0x5c0c2a(0x2c6))===0x0&&this[_0x5c0c2a(0x2f9)](_0x5c0c2a(0x2c6),_0x3702d4);}function _0x2e7bca(_0x2a869c,_0x39b8cc){const _0x340fa5=_0x228c;let _0x1ea6b9=!0x0;const _0x22a431=new _0x176b20({..._0x39b8cc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2a869c['on'](_0x340fa5(0x1ea),function(_0x262635,_0x3ac2ee){const _0x58f2d3=_0x340fa5,_0x5a6d12=!_0x3ac2ee&&_0x22a431[_0x58f2d3(0x1f4)][_0x58f2d3(0x264)]?_0x262635['toString']():_0x262635;_0x22a431[_0x58f2d3(0x1d8)](_0x5a6d12)||_0x2a869c[_0x58f2d3(0x337)]();}),_0x2a869c[_0x340fa5(0x28d)]('error',function(_0x173724){const _0x11e102=_0x340fa5;_0x22a431[_0x11e102(0x20e)]||(_0x1ea6b9=!0x1,_0x22a431['destroy'](_0x173724));}),_0x2a869c['once'](_0x340fa5(0x2eb),function(){const _0x420d9a=_0x340fa5;_0x22a431[_0x420d9a(0x20e)]||_0x22a431['push'](null);}),_0x22a431['_destroy']=function(_0x5c195a,_0x587ad0){const _0x65b256=_0x340fa5;if(_0x2a869c[_0x65b256(0x36b)]===_0x2a869c[_0x65b256(0x1c5)]){_0x587ad0(_0x5c195a),process[_0x65b256(0x333)](_0x295181,_0x22a431);return;}let _0x48a4ac=!0x1;_0x2a869c[_0x65b256(0x28d)]('error',function(_0x42f853){_0x48a4ac=!0x0,_0x587ad0(_0x42f853);}),_0x2a869c[_0x65b256(0x28d)](_0x65b256(0x2eb),function(){_0x48a4ac||_0x587ad0(_0x5c195a),process['nextTick'](_0x295181,_0x22a431);}),_0x1ea6b9&&_0x2a869c[_0x65b256(0x301)]();},_0x22a431[_0x340fa5(0x285)]=function(_0x1efab9){const _0x571e53=_0x340fa5;if(_0x2a869c['readyState']===_0x2a869c[_0x571e53(0x271)]){_0x2a869c[_0x571e53(0x28d)](_0x571e53(0x24e),function(){_0x22a431['_final'](_0x1efab9);});return;}_0x2a869c[_0x571e53(0x2fb)]!==null&&(_0x2a869c[_0x571e53(0x2fb)][_0x571e53(0x309)]['finished']?(_0x1efab9(),_0x22a431[_0x571e53(0x1f4)][_0x571e53(0x2e4)]&&_0x22a431[_0x571e53(0x2e2)]()):(_0x2a869c[_0x571e53(0x2fb)]['once'](_0x571e53(0x249),function(){_0x1efab9();}),_0x2a869c[_0x571e53(0x2eb)]()));},_0x22a431[_0x340fa5(0x375)]=function(){const _0x2b0a9b=_0x340fa5;_0x2a869c[_0x2b0a9b(0x212)]&&_0x2a869c[_0x2b0a9b(0x1c4)]();},_0x22a431[_0x340fa5(0x32c)]=function(_0x4d790d,_0x126cc8,_0x538e56){const _0x186af0=_0x340fa5;if(_0x2a869c[_0x186af0(0x36b)]===_0x2a869c['CONNECTING']){_0x2a869c[_0x186af0(0x28d)]('open',function(){_0x22a431['_write'](_0x4d790d,_0x126cc8,_0x538e56);});return;}_0x2a869c[_0x186af0(0x350)](_0x4d790d,_0x538e56);},_0x22a431['on'](_0x340fa5(0x1db),_0x58bd37),_0x22a431['on'](_0x340fa5(0x2c6),_0x26a4b7),_0x22a431;}return Oe=_0x2e7bca,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2034e8}=ae();function _0xa4466b(_0x243b1f){const _0x280454=_0x228c,_0x34206f=new Set();let _0x3acc70=-0x1,_0x300bbc=-0x1,_0x405306=0x0;for(_0x405306;_0x405306<_0x243b1f[_0x280454(0x1f9)];_0x405306++){const _0xc5ee95=_0x243b1f[_0x280454(0x32a)](_0x405306);if(_0x300bbc===-0x1&&_0x2034e8[_0xc5ee95]===0x1)_0x3acc70===-0x1&&(_0x3acc70=_0x405306);else{if(_0x405306!==0x0&&(_0xc5ee95===0x20||_0xc5ee95===0x9))_0x300bbc===-0x1&&_0x3acc70!==-0x1&&(_0x300bbc=_0x405306);else{if(_0xc5ee95===0x2c){if(_0x3acc70===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405306);_0x300bbc===-0x1&&(_0x300bbc=_0x405306);const _0x395439=_0x243b1f['slice'](_0x3acc70,_0x300bbc);if(_0x34206f[_0x280454(0x356)](_0x395439))throw new SyntaxError(_0x280454(0x213)+_0x395439+_0x280454(0x223));_0x34206f['add'](_0x395439),_0x3acc70=_0x300bbc=-0x1;}else throw new SyntaxError(_0x280454(0x2a1)+_0x405306);}}}if(_0x3acc70===-0x1||_0x300bbc!==-0x1)throw new SyntaxError(_0x280454(0x267));const _0x4c1c1a=_0x243b1f[_0x280454(0x26b)](_0x3acc70,_0x405306);if(_0x34206f[_0x280454(0x356)](_0x4c1c1a))throw new SyntaxError('The\x20\x22'+_0x4c1c1a+_0x280454(0x223));return _0x34206f['add'](_0x4c1c1a),_0x34206f;}return Ce={'parse':_0xa4466b},Ce;}var Te,rt;function Ft(){const _0x2355dd=_0x30f6f8;if(rt)return Te;rt=0x1;const _0x57c646=nt,_0x28b692=ot,{Duplex:_0x4cc082}=oe,{createHash:_0x3fcb0e}=Le,_0x4efa8b=ct(),_0x48dbdc=he(),_0x1593ad=At(),_0x317786=Pe(),{GUID:_0x411c0f,kWebSocket:_0x11d5e6}=H(),_0x1e1a07=/^[+/0-9A-Za-z]{22}==$/,_0x315427=0x0,_0x1d42e8=0x1,_0x9f54db=0x2;class _0x12f850 extends _0x57c646{constructor(_0x44c49a,_0x21397d){const _0x30643c=_0x228c;if(super(),_0x44c49a={'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':_0x317786,..._0x44c49a},_0x44c49a['port']==null&&!_0x44c49a[_0x30643c(0x1c0)]&&!_0x44c49a[_0x30643c(0x270)]||_0x44c49a[_0x30643c(0x340)]!=null&&(_0x44c49a['server']||_0x44c49a[_0x30643c(0x270)])||_0x44c49a['server']&&_0x44c49a[_0x30643c(0x270)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x44c49a[_0x30643c(0x340)]!=null?(this[_0x30643c(0x2c4)]=_0x28b692[_0x30643c(0x25d)]((_0xefc9d6,_0x46ad10)=>{const _0x5860ea=_0x30643c,_0x11c68c=_0x28b692[_0x5860ea(0x279)][0x1aa];_0x46ad10[_0x5860ea(0x1ef)](0x1aa,{'Content-Length':_0x11c68c[_0x5860ea(0x1f9)],'Content-Type':_0x5860ea(0x2bd)}),_0x46ad10[_0x5860ea(0x1db)](_0x11c68c);}),this[_0x30643c(0x2c4)][_0x30643c(0x238)](_0x44c49a[_0x30643c(0x340)],_0x44c49a[_0x30643c(0x1e6)],_0x44c49a['backlog'],_0x21397d)):_0x44c49a[_0x30643c(0x1c0)]&&(this[_0x30643c(0x2c4)]=_0x44c49a[_0x30643c(0x1c0)]),this[_0x30643c(0x2c4)]){const _0x1c2f55=this[_0x30643c(0x2f9)][_0x30643c(0x34f)](this,'connection');this[_0x30643c(0x2cc)]=_0x522bcc(this[_0x30643c(0x2c4)],{'listening':this[_0x30643c(0x2f9)][_0x30643c(0x34f)](this,_0x30643c(0x1cc)),'error':this[_0x30643c(0x2f9)]['bind'](this,_0x30643c(0x2c6)),'upgrade':(_0x16e175,_0x50045e,_0x63daf)=>{this['handleUpgrade'](_0x16e175,_0x50045e,_0x63daf,_0x1c2f55);}});}_0x44c49a[_0x30643c(0x1e7)]===!0x0&&(_0x44c49a[_0x30643c(0x1e7)]={}),_0x44c49a[_0x30643c(0x2d7)]&&(this[_0x30643c(0x1d1)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x30643c(0x378)]=_0x44c49a,this[_0x30643c(0x2ff)]=_0x315427;}[_0x2355dd(0x2a0)](){const _0x13f512=_0x2355dd;if(this[_0x13f512(0x378)]['noServer'])throw new Error(_0x13f512(0x28c));return this['_server']?this[_0x13f512(0x2c4)][_0x13f512(0x2a0)]():null;}[_0x2355dd(0x2eb)](_0x16943b){const _0x4e5a78=_0x2355dd;if(this[_0x4e5a78(0x2ff)]===_0x9f54db){_0x16943b&&this[_0x4e5a78(0x28d)](_0x4e5a78(0x2eb),()=>{_0x16943b(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x2035d6,this);return;}if(_0x16943b&&this[_0x4e5a78(0x28d)](_0x4e5a78(0x2eb),_0x16943b),this[_0x4e5a78(0x2ff)]!==_0x1d42e8){if(this['_state']=_0x1d42e8,this[_0x4e5a78(0x378)]['noServer']||this['options'][_0x4e5a78(0x1c0)])this[_0x4e5a78(0x2c4)]&&(this['_removeListeners'](),this[_0x4e5a78(0x2cc)]=this[_0x4e5a78(0x2c4)]=null),this['clients']?this[_0x4e5a78(0x1d1)][_0x4e5a78(0x379)]?this[_0x4e5a78(0x2bb)]=!0x0:process[_0x4e5a78(0x333)](_0x2035d6,this):process[_0x4e5a78(0x333)](_0x2035d6,this);else{const _0xcc583f=this[_0x4e5a78(0x2c4)];this[_0x4e5a78(0x2cc)](),this['_removeListeners']=this[_0x4e5a78(0x2c4)]=null,_0xcc583f[_0x4e5a78(0x2eb)](()=>{_0x2035d6(this);});}}}['shouldHandle'](_0x68adf6){const _0x2dcf31=_0x2355dd;if(this[_0x2dcf31(0x378)][_0x2dcf31(0x22b)]){const _0x14843f=_0x68adf6['url'][_0x2dcf31(0x1bd)]('?');if((_0x14843f!==-0x1?_0x68adf6[_0x2dcf31(0x21e)]['slice'](0x0,_0x14843f):_0x68adf6[_0x2dcf31(0x21e)])!==this['options'][_0x2dcf31(0x22b)])return!0x1;}return!0x0;}[_0x2355dd(0x2f1)](_0x18468a,_0x4d0a50,_0x10a20e,_0x2dce9f){const _0x395066=_0x2355dd;_0x4d0a50['on'](_0x395066(0x2c6),_0x26c2ad);const _0x3b308f=_0x18468a['headers']['sec-websocket-key'],_0x5f472f=_0x18468a[_0x395066(0x358)][_0x395066(0x2d2)],_0x5916e0=+_0x18468a[_0x395066(0x358)]['sec-websocket-version'];if(_0x18468a[_0x395066(0x34a)]!==_0x395066(0x1c2)){_0x38220b(this,_0x18468a,_0x4d0a50,0x195,_0x395066(0x207));return;}if(_0x5f472f===void 0x0||_0x5f472f[_0x395066(0x2b8)]()!==_0x395066(0x344)){_0x38220b(this,_0x18468a,_0x4d0a50,0x190,_0x395066(0x336));return;}if(_0x3b308f===void 0x0||!_0x1e1a07[_0x395066(0x2ab)](_0x3b308f)){_0x38220b(this,_0x18468a,_0x4d0a50,0x190,_0x395066(0x1c9));return;}if(_0x5916e0!==0xd&&_0x5916e0!==0x8){_0x38220b(this,_0x18468a,_0x4d0a50,0x190,_0x395066(0x2e5),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x18468a)){_0x3a30fc(_0x4d0a50,0x190);return;}const _0x19057f=_0x18468a[_0x395066(0x358)][_0x395066(0x2a8)];let _0x3736ed=new Set();if(_0x19057f!==void 0x0)try{_0x3736ed=_0x1593ad[_0x395066(0x228)](_0x19057f);}catch{_0x38220b(this,_0x18468a,_0x4d0a50,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x49fe7c=_0x18468a[_0x395066(0x358)][_0x395066(0x305)],_0x2fb08b={};if(this[_0x395066(0x378)][_0x395066(0x1e7)]&&_0x49fe7c!==void 0x0){const _0x140f0c=new _0x48dbdc(this['options'][_0x395066(0x1e7)],!0x0,this['options'][_0x395066(0x1e1)]);try{const _0x35d283=_0x4efa8b[_0x395066(0x228)](_0x49fe7c);_0x35d283[_0x48dbdc[_0x395066(0x33d)]]&&(_0x140f0c['accept'](_0x35d283[_0x48dbdc[_0x395066(0x33d)]]),_0x2fb08b[_0x48dbdc[_0x395066(0x33d)]]=_0x140f0c);}catch{_0x38220b(this,_0x18468a,_0x4d0a50,0x190,_0x395066(0x230));return;}}if(this[_0x395066(0x378)]['verifyClient']){const _0x1b06e4={'origin':_0x18468a[_0x395066(0x358)][''+(_0x5916e0===0x8?_0x395066(0x1cf):_0x395066(0x36c))],'secure':!!(_0x18468a['socket'][_0x395066(0x35c)]||_0x18468a['socket']['encrypted']),'req':_0x18468a};if(this[_0x395066(0x378)][_0x395066(0x1da)][_0x395066(0x1f9)]===0x2){this[_0x395066(0x378)][_0x395066(0x1da)](_0x1b06e4,(_0x569517,_0x46a9f0,_0xd26ca2,_0x544f85)=>{const _0x36b9be=_0x395066;if(!_0x569517)return _0x3a30fc(_0x4d0a50,_0x46a9f0||0x191,_0xd26ca2,_0x544f85);this[_0x36b9be(0x35e)](_0x2fb08b,_0x3b308f,_0x3736ed,_0x18468a,_0x4d0a50,_0x10a20e,_0x2dce9f);});return;}if(!this['options'][_0x395066(0x1da)](_0x1b06e4))return _0x3a30fc(_0x4d0a50,0x191);}this[_0x395066(0x35e)](_0x2fb08b,_0x3b308f,_0x3736ed,_0x18468a,_0x4d0a50,_0x10a20e,_0x2dce9f);}[_0x2355dd(0x35e)](_0x1bed8a,_0x4cda29,_0x2d1555,_0x3c4e05,_0x3faee9,_0x131e6b,_0x591d34){const _0x3df230=_0x2355dd;if(!_0x3faee9['readable']||!_0x3faee9[_0x3df230(0x2d5)])return _0x3faee9[_0x3df230(0x2e2)]();if(_0x3faee9[_0x11d5e6])throw new Error(_0x3df230(0x20d));if(this[_0x3df230(0x2ff)]>_0x315427)return _0x3a30fc(_0x3faee9,0x1f7);const _0x5775b0=[_0x3df230(0x29e),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x3df230(0x1ec)+_0x3fcb0e(_0x3df230(0x296))[_0x3df230(0x34e)](_0x4cda29+_0x411c0f)[_0x3df230(0x2d9)](_0x3df230(0x1f8))],_0x1bf8c8=new this[(_0x3df230(0x378))][(_0x3df230(0x289))](null,void 0x0,this[_0x3df230(0x378)]);if(_0x2d1555[_0x3df230(0x379)]){const _0x34f56b=this[_0x3df230(0x378)][_0x3df230(0x30c)]?this['options'][_0x3df230(0x30c)](_0x2d1555,_0x3c4e05):_0x2d1555['values']()[_0x3df230(0x2c0)]()['value'];_0x34f56b&&(_0x5775b0['push']('Sec-WebSocket-Protocol:\x20'+_0x34f56b),_0x1bf8c8[_0x3df230(0x348)]=_0x34f56b);}if(_0x1bed8a[_0x48dbdc[_0x3df230(0x33d)]]){const _0x350e33=_0x1bed8a[_0x48dbdc[_0x3df230(0x33d)]][_0x3df230(0x258)],_0x3ede6c=_0x4efa8b[_0x3df230(0x362)]({[_0x48dbdc[_0x3df230(0x33d)]]:[_0x350e33]});_0x5775b0[_0x3df230(0x1d8)](_0x3df230(0x2ec)+_0x3ede6c),_0x1bf8c8['_extensions']=_0x1bed8a;}this[_0x3df230(0x2f9)](_0x3df230(0x358),_0x5775b0,_0x3c4e05),_0x3faee9[_0x3df230(0x1d2)](_0x5775b0['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x3faee9[_0x3df230(0x368)](_0x3df230(0x2c6),_0x26c2ad),_0x1bf8c8[_0x3df230(0x2a6)](_0x3faee9,_0x131e6b,{'allowSynchronousEvents':this[_0x3df230(0x378)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x3df230(0x1e1)],'skipUTF8Validation':this[_0x3df230(0x378)][_0x3df230(0x364)]}),this['clients']&&(this[_0x3df230(0x1d1)][_0x3df230(0x2f8)](_0x1bf8c8),_0x1bf8c8['on'](_0x3df230(0x2eb),()=>{const _0x1fa93c=_0x3df230;this[_0x1fa93c(0x1d1)][_0x1fa93c(0x273)](_0x1bf8c8),this[_0x1fa93c(0x2bb)]&&!this[_0x1fa93c(0x1d1)]['size']&&process['nextTick'](_0x2035d6,this);})),_0x591d34(_0x1bf8c8,_0x3c4e05);}}Te=_0x12f850;function _0x522bcc(_0xbe723b,_0x2581fc){const _0x33a424=_0x2355dd;for(const _0x1ae4e6 of Object[_0x33a424(0x251)](_0x2581fc))_0xbe723b['on'](_0x1ae4e6,_0x2581fc[_0x1ae4e6]);return function(){const _0xe99e03=_0x33a424;for(const _0x5f3c49 of Object[_0xe99e03(0x251)](_0x2581fc))_0xbe723b['removeListener'](_0x5f3c49,_0x2581fc[_0x5f3c49]);};}function _0x2035d6(_0x48ac63){const _0x614dfc=_0x2355dd;_0x48ac63[_0x614dfc(0x2ff)]=_0x9f54db,_0x48ac63['emit'](_0x614dfc(0x2eb));}function _0x26c2ad(){const _0x32bb3d=_0x2355dd;this[_0x32bb3d(0x2e2)]();}function _0x3a30fc(_0x4c7a79,_0x4d656b,_0xfdfa23,_0x56e0eb){const _0x466e35=_0x2355dd;_0xfdfa23=_0xfdfa23||_0x28b692[_0x466e35(0x279)][_0x4d656b],_0x56e0eb={'Connection':_0x466e35(0x2eb),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0xfdfa23),..._0x56e0eb},_0x4c7a79[_0x466e35(0x28d)](_0x466e35(0x249),_0x4c7a79[_0x466e35(0x2e2)]),_0x4c7a79[_0x466e35(0x1db)](_0x466e35(0x268)+_0x4d656b+'\x20'+_0x28b692[_0x466e35(0x279)][_0x4d656b]+'\x0d\x0a'+Object[_0x466e35(0x251)](_0x56e0eb)[_0x466e35(0x1e8)](_0x3d1b6e=>_0x3d1b6e+':\x20'+_0x56e0eb[_0x3d1b6e])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xfdfa23);}function _0x38220b(_0x14628a,_0x35b53f,_0x4c8f59,_0x46fc7f,_0x28f648,_0x473a7f){const _0x4080b3=_0x2355dd;if(_0x14628a['listenerCount'](_0x4080b3(0x277))){const _0xd7d96c=new Error(_0x28f648);Error['captureStackTrace'](_0xd7d96c,_0x38220b),_0x14628a['emit']('wsClientError',_0xd7d96c,_0x4c8f59,_0x35b53f);}else _0x3a30fc(_0x4c8f59,_0x46fc7f,_0x28f648,_0x473a7f);}return Te;}Ft();var jt=Object[_0x30f6f8(0x2da)],Wt=(_0x44a696,_0x1c2273,_0x208a3b,_0x2faeaa)=>{const _0x2fa989=_0x30f6f8;for(var _0x7ab165=_0x2faeaa>0x1?void 0x0:_0x2faeaa?jt(_0x1c2273,_0x208a3b):_0x1c2273,_0x410501=_0x44a696[_0x2fa989(0x1f9)]-0x1,_0x4c349a;_0x410501>=0x0;_0x410501--)(_0x4c349a=_0x44a696[_0x410501])&&(_0x7ab165=_0x4c349a(_0x7ab165)||_0x7ab165);return _0x7ab165;},qt=(_0x2dc746,_0x27fa18)=>(_0x2ef428,_0x4c0ace)=>_0x27fa18(_0x2ef428,_0x4c0ace,_0x2dc746);let ke=class extends A[_0x30f6f8(0x217)]{constructor(_0x1fb701){super(),this['_configService']=_0x1fb701;}[_0x30f6f8(0x30f)](_0x6376c1){const _0x2dc216=_0x30f6f8;var _0x1c0e47;const _0x6fe10=(_0x1c0e47=this['_configService'][_0x2dc216(0x205)](fe))==null?void 0x0:_0x1c0e47['customHeaders'];try{const _0xc4d873=new $t(_0x6376c1,{'headers':{..._0x6fe10}}),_0x353a11=new A[(_0x2dc216(0x33f))]();return{'URL':_0x6376c1,'close':(_0x2f7d53,_0x11a5bf)=>{const _0x27299a=_0x2dc216;_0xc4d873[_0x27299a(0x2eb)](_0x2f7d53,_0x11a5bf),_0x353a11[_0x27299a(0x27c)]();},'send':_0x700a90=>{_0xc4d873['send'](_0x700a90);},'open$':new V[(_0x2dc216(0x2ba))](_0x4d770a=>{const _0x4a9cbb=_0x2dc216,_0x19d8fa=_0x5ec499=>_0x4d770a[_0x4a9cbb(0x2c0)](_0x5ec499);_0xc4d873['addEventListener'](_0x4a9cbb(0x24e),_0x19d8fa),_0x353a11[_0x4a9cbb(0x2f8)](A['toDisposable'](()=>_0xc4d873[_0x4a9cbb(0x1ce)](_0x4a9cbb(0x24e),_0x19d8fa)));})[_0x2dc216(0x240)](V[_0x2dc216(0x30a)]()),'close$':new V[(_0x2dc216(0x2ba))](_0x5269b0=>{const _0x2d8214=_0x2dc216,_0x54c69b=_0x376479=>_0x5269b0[_0x2d8214(0x2c0)](_0x376479);_0xc4d873[_0x2d8214(0x23d)](_0x2d8214(0x2eb),_0x54c69b),_0x353a11[_0x2d8214(0x2f8)](A[_0x2d8214(0x29a)](()=>_0xc4d873[_0x2d8214(0x1ce)]('close',_0x54c69b)));})[_0x2dc216(0x240)](V['share']()),'error$':new V[(_0x2dc216(0x2ba))](_0x45072d=>{const _0x383f62=_0x2dc216,_0x6b4b61=_0x290dce=>_0x45072d['next'](_0x290dce);_0xc4d873[_0x383f62(0x23d)](_0x383f62(0x2c6),_0x6b4b61),_0x353a11[_0x383f62(0x2f8)](A[_0x383f62(0x29a)](()=>_0xc4d873[_0x383f62(0x1ce)](_0x383f62(0x2c6),_0x6b4b61)));})[_0x2dc216(0x240)](V[_0x2dc216(0x30a)]()),'message$':new V[(_0x2dc216(0x2ba))](_0x318563=>{const _0xe6fa3e=_0x2dc216,_0x30a57f=_0x5706b2=>_0x318563[_0xe6fa3e(0x2c0)](_0x5706b2);_0xc4d873['addEventListener'](_0xe6fa3e(0x1ea),_0x30a57f),_0x353a11[_0xe6fa3e(0x2f8)](A[_0xe6fa3e(0x29a)](()=>_0xc4d873[_0xe6fa3e(0x1ce)](_0xe6fa3e(0x1ea),_0x30a57f)));})['pipe'](V['share']())};}catch(_0x170ecb){return console[_0x2dc216(0x2c6)](_0x170ecb),null;}}};ke=Wt([qt(0x0,A[_0x30f6f8(0x225)])],ke);var Gt=Object[_0x30f6f8(0x22f)],Vt=Object[_0x30f6f8(0x2da)],Ht=(_0x45514b,_0xc04f9f,_0x5cee04)=>_0xc04f9f in _0x45514b?Gt(_0x45514b,_0xc04f9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cee04}):_0x45514b[_0xc04f9f]=_0x5cee04,zt=(_0x3684de,_0x4d12f0,_0x20812d,_0x5a1b58)=>{for(var _0x508b76=_0x5a1b58>0x1?void 0x0:_0x5a1b58?Vt(_0x4d12f0,_0x20812d):_0x4d12f0,_0x58b0b2=_0x3684de['length']-0x1,_0x1b859d;_0x58b0b2>=0x0;_0x58b0b2--)(_0x1b859d=_0x3684de[_0x58b0b2])&&(_0x508b76=_0x1b859d(_0x508b76)||_0x508b76);return _0x508b76;},Ne=(_0x1d74c9,_0x429310)=>(_0x23f844,_0x3b1b74)=>_0x429310(_0x23f844,_0x3b1b74,_0x1d74c9),Yt=(_0x1831ec,_0x46f1bf,_0x1c5f48)=>Ht(_0x1831ec,_0x46f1bf+'',_0x1c5f48);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x30f6f8(0x36a)]{constructor(_0x4ffa8b=Ct,_0x4f35b7,_0x480b41,_0x1e9e6c){const _0x5629d9=_0x30f6f8;_0x4ffa8b['customHeaders']||_0x4f35b7[_0x5629d9(0x226)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5629d9(0x229)]=_0x480b41,this[_0x5629d9(0x2f7)]=_0x1e9e6c,this['_configService'][_0x5629d9(0x262)](fe,_0x4ffa8b);}[_0x30f6f8(0x332)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x5eb228=_0x30f6f8;A[_0x5eb228(0x290)](this[_0x5eb228(0x2f7)],[[it[_0x5eb228(0x371)],{'useClass':ke}]]);}},Yt(exports[_0x30f6f8(0x2a5)],'pluginName',_0x30f6f8(0x252)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x30f6f8(0x306)](st[_0x30f6f8(0x329)]),Ne(0x1,A[_0x30f6f8(0x2f5)]),Ne(0x2,A[_0x30f6f8(0x225)]),Ne(0x3,A[_0x30f6f8(0x325)](A[_0x30f6f8(0x24b)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x30f6f8(0x2da)],Xt=(_0x5e5918,_0x1a89bb,_0x30efe8,_0x1f9d57)=>{const _0x46d701=_0x30f6f8;for(var _0x1e5685=_0x1f9d57>0x1?void 0x0:_0x1f9d57?Kt(_0x1a89bb,_0x30efe8):_0x1a89bb,_0x4a3fb8=_0x5e5918[_0x46d701(0x1f9)]-0x1,_0xf111d6;_0x4a3fb8>=0x0;_0x4a3fb8--)(_0xf111d6=_0x5e5918[_0x4a3fb8])&&(_0x1e5685=_0xf111d6(_0x1e5685)||_0x1e5685);return _0x1e5685;},ne=(_0x4f12d4,_0x25d557)=>(_0x3be2b6,_0x23f6d4)=>_0x25d557(_0x3be2b6,_0x23f6d4,_0x4f12d4);exports[_0x30f6f8(0x2b1)]=class extends st[_0x30f6f8(0x34b)]{constructor(_0x18011c,_0x402390,_0x341246,_0xc9331f,_0x51e6b2){const _0x331aeb=_0x30f6f8;super(_0x18011c,_0x402390,_0x341246,_0xc9331f,_0x51e6b2);const _0x28e448=this[_0x331aeb(0x229)][_0x331aeb(0x205)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2aba49,_0x314334)=>{const _0x2bbf5c=_0x331aeb;var _0x26a3af;const _0x2110f6=_0x2aba49['headers'];return(_0x26a3af=_0x28e448==null?void 0x0:_0x28e448['customHeaders'])!=null&&_0x26a3af[_0x2bbf5c(0x2f3)]&&_0x2110f6[_0x2bbf5c(0x1df)]('Cookie',_0x28e448[_0x2bbf5c(0x34d)][_0x2bbf5c(0x2f3)]),_0x314334(_0x2aba49);}});}async['createSocket'](_0x16e29d){const _0x4081b1=_0x30f6f8;return this[_0x4081b1(0x210)](_0x16e29d);}},exports[_0x30f6f8(0x2b1)]=Xt([ne(0x0,A[_0x30f6f8(0x325)](A['Injector'])),ne(0x1,A[_0x30f6f8(0x325)](it[_0x30f6f8(0x366)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x30f6f8(0x211)])],exports[_0x30f6f8(0x2b1)]),exports[_0x30f6f8(0x215)]=fe;