@univerjs-pro/collaboration-client-node 0.6.9 → 0.6.10-alpha.0

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3d72a4=_0x1936;(function(_0x2d622f,_0x3df8d6){const _0x3076b5=_0x1936,_0x300506=_0x2d622f();while(!![]){try{const _0x13bd00=-parseInt(_0x3076b5(0x113))/0x1+-parseInt(_0x3076b5(0x295))/0x2*(parseInt(_0x3076b5(0x1ce))/0x3)+-parseInt(_0x3076b5(0x1d1))/0x4+parseInt(_0x3076b5(0x256))/0x5+-parseInt(_0x3076b5(0x231))/0x6+parseInt(_0x3076b5(0x19d))/0x7*(parseInt(_0x3076b5(0x289))/0x8)+-parseInt(_0x3076b5(0x142))/0x9*(-parseInt(_0x3076b5(0x20d))/0xa);if(_0x13bd00===_0x3df8d6)break;else _0x300506['push'](_0x300506['shift']());}catch(_0x4e46ee){_0x300506['push'](_0x300506['shift']());}}}(_0x9d89,0xac227));import{UniverCollaborationClientPlugin as _0x60d295,CollaborationSocketService as _0x4cda74}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2eea3c,DisposableCollection as _0x51fa6b,toDisposable as _0x291a13,IConfigService as _0x16db79,DependentOn as _0x1adaff,ILogService as _0x1d04d4,Inject as _0x302347,Injector as _0x3595c3,Plugin as _0x2ca593,registerDependencies as _0x34b9fc}from'@univerjs/core';import{ISocketService as _0x44f3db,HTTPService as _0x48bd27}from'@univerjs/network';function _0x9d89(){const _0x2d42ba=['UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_masked','Sec-WebSocket-Extensions:\x20','WS_NO_BUFFER_UTIL','HTTP/1.1\x20101\x20Switching\x20Protocols','Unsupported\x20protocol\x20version:\x20','error','invalid\x20opcode\x20','_socket','reason','defineProperty','_compressed','_removeListeners','listening','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dispose','map','normalizeParams','Unexpected\x20server\x20response:\x20','_closeCode','authorization','servername','Upgrade','_allowSynchronousEvents','https:','_bufferedBytes','size','endEmitted','arraybuffer','update','send','Sec-WebSocket-Accept:\x20','string','consume','abort','serverMaxWindowBits','createError','getConfig','emitClose','customHeaders','kError','followRedirects','kTarget','wss:','nextTick','total-length','backlog','sec-websocket-protocol','7dWjSGK','Sec-WebSocket-Protocol','object','Unexpected\x20end\x20of\x20input','_final','env','_writableState','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','\x0d\x0a\x0d\x0a','getMask','sec-websocket-origin','removeEventListener','WebSocket','handshakeTimeout','skipUTF8Validation','readyState','hasOwnProperty','get','_originalIpc','_totalPayloadLength','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_readyState','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','toString','clientNoContextTakeover','_opcode','_fragments','_registerDependencies','_injector','isPaused','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_messageLength','indexOf','unmask','concat','kWasClean','finish','_doCreateSocket','default','The\x20\x22','_fin','dataMessage','defaultPort','conclude','invalid\x20status\x20code\x20','_url','socket','WS_ERR_INVALID_OPCODE','compress','27DcKrYp','OPEN','allowSynchronousEvents','3801348lUftOV','number','Z_DEFAULT_WINDOWBITS','WS_ERR_INVALID_UTF8','upgrade','sec-websocket-key','Opening\x20handshake\x20has\x20timed\x20out','listen','byteOffset','hostname','onerror','href','kRun','apply','write','freeze','add','File','entries','zlibDeflateOptions','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_options','Unknown\x20parameter\x20\x22','setNoDelay','controlMessage','setTimeout','readUInt16BE','fin','alloc','verifyClient','unshift','Module','Parameter\x20\x22','protocol','_payloadLength','split','_state','parse','getData','http:','hash','keys','Maximum\x20redirects\x20exceeded','join','binaryType','mask','clients','response','open','getOwnPropertyDescriptor','websocket','arrayBuffer','accept','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','wsClientError','onopen','pong','wasClean','encrypted','_binaryType','60ZfNmLF','has','server_no_context_takeover','statusCode','FIN\x20must\x20be\x20set','from','bind','WS_ERR_UNEXPECTED_RSV_1','concurrencyLimit','serverNoContextTakeover','blob','WS_ERR_UNEXPECTED_RSV_2_3','_mask','offer','onStarting','createConnection','pluginName','Invalid\x20HTTP\x20method','needDrain','buffer','Sec-WebSocket-Origin','isIP','redirect','_decompress','isArray','_read','request','_firstFragment','Upgrade:\x20websocket','Sec-WebSocket-Protocol:\x20','readUInt32BE','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_INVALID_CLOSE_CODE','enqueue','maskBuffer','_req','990258jioUKy','rsv1','create','handleProtocols','toLowerCase','WS_ERR_EXPECTED_MASK','handleEvent','destroy','kType','data','buffers','errorEmitted','Connection:\x20Upgrade','shift','finished','species','isValidUTF8','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','writeUInt16BE','clientTracking','Cookie','_shouldEmitClose','onmessage','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','password','_deflate','_fragmented','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','base64','text/plain','sha1','startsWith','perMessageDeflate','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','exports','emit','_maxPayload','6833120AmenPP','startLoop','isServer','threshold','createInflateRaw','readable','charCodeAt','haveLength','_generateMask','timeout','sec-websocket-version','_queue','_max_window_bits','Invalid\x20URL:\x20','authorized','includes','_inflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','HTTP/1.1\x20','cleanup','setSocket','port','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_skipUTF8Validation','drain','extensions','nodebuffer','concurrency','kByteLength','frame','CONNECTING','_receiver','length','writeHead','once','invalid\x20UTF-8\x20sequence','_compress','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','resume','options','shouldHandle','_closeMessage','destroyed','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','readOnly','_no_context_takeover','reset','generateMask','GET','CLOSING','ws:','9160720ZklDTg','sec-websocket-accept','Server\x20sent\x20an\x20invalid\x20subprotocol','construct','close','constructor','socketPath','acceptAsServer','_extensions','kIsForOnEventAttribute','then','end','256556wLLNZx','decompress','WS_ERR_EXPECTED_FIN','host','_write','function','permessage-deflate','CLOSED','\x20(supported\x20versions:\x20','uncork','server_max_window_bits','removeListener','find','_originalHostOrSocketPath','extensionName','_loop','_bufferedAmount','Z_SYNC_FLUSH','pending','listeners','_sender','collaboration-client-node.config','Invalid\x20value\x20for\x20parameter\x20\x22','opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_autoPong','__esModule','completeUpgrade','toStringTag','type','addEventListener','fragments','autoPong','ping','test','params','\x22\x20subprotocol\x20is\x20duplicated','_paused','MASK\x20must\x20be\x20clear','listenerCount','flush','createSocket','WS_ERR_UNEXPECTED_MASK','finishRequest','_maskBuffer','_closeFrameSent','byteLength','registerHTTPInterceptor','Invalid\x20Sec-WebSocket-Accept\x20header','688439ZIAodF','isInteger','cookie','terminate','noServer','MASK\x20must\x20be\x20set','sec-websocket-extensions','catch','STATUS_CODES','_errorEmitted','client','_protocol','_closeFrameReceived','getBlobData','connect','RSV1\x20must\x20be\x20clear','kMessage','pow','allocUnsafe','callback','dequeue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','connection','Sec-WebSocket-Extensions','sendFrame','pathname','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','next','headers','jobs','delete','push','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','digest','forEach','client_max_window_bits','_threshold','objectMode','server','kCode','onclose','_buffers','kReason','username','bufferedAmount','WS_NO_UTF_8_VALIDATE','_server','1727505MvJvaY','_configService','getInfo','auth','set','code','createDeflateRaw','format','Max\x20payload\x20size\x20exceeded','acceptAsClient','_redirects','client_no_context_takeover','handleUpgrade','prototype','pause','Invalid\x20Sec-WebSocket-Extensions\x20header','getPayloadLength16','Unexpected\x20character\x20at\x20index\x20','slice','call','_destroy','cork','_errored','_isServer','Invalid\x20Upgrade\x20header','_closeTimer','dispatch','url','pipe','origin','address','protocolVersion','maxRedirects','path','clientMaxWindowBits','Invalid\x20Sec-WebSocket-Protocol\x20header','setConfig','value','\x22:\x20','maxPayload','message'];_0x9d89=function(){return _0x2d42ba;};return _0x9d89();}import{Observable as _0x556061,share as _0x4fe541}from'rxjs';import _0x268bbd from'events';import _0x3d52ba from'https';import _0x3896f7 from'http';import _0x123a29 from'net';import _0x132984 from'tls';import _0x4426fe from'crypto';import _0x148c11 from'stream';import _0x3435c0 from'url';import _0x4c125b from'zlib';import _0x485b16 from'buffer';import{ISnapshotServerService as _0x17190c}from'@univerjs-pro/collaboration';const Be=_0x3d72a4(0xf7),Ft={'customHeaders':{}};function jt(_0x28e17a){const _0x211b2c=_0x3d72a4;return _0x28e17a&&_0x28e17a['__esModule']&&Object[_0x211b2c(0x14f)][_0x211b2c(0x1ad)][_0x211b2c(0x155)](_0x28e17a,'default')?_0x28e17a['default']:_0x28e17a;}function ut(_0x5d2802){const _0x3d205f=_0x3d72a4;if(Object[_0x3d205f(0x14f)][_0x3d205f(0x1ad)][_0x3d205f(0x155)](_0x5d2802,_0x3d205f(0xfc)))return _0x5d2802;var _0x1fbbdf=_0x5d2802[_0x3d205f(0x1c3)];if(typeof _0x1fbbdf==_0x3d205f(0x29a)){var _0x22028a=function _0x5b85bf(){const _0x1542e6=_0x3d205f;return this instanceof _0x5b85bf?Reflect[_0x1542e6(0x28c)](_0x1fbbdf,arguments,this[_0x1542e6(0x28e)]):_0x1fbbdf[_0x1542e6(0x1de)](this,arguments);};_0x22028a[_0x3d205f(0x14f)]=_0x1fbbdf['prototype'];}else _0x22028a={};return Object[_0x3d205f(0x175)](_0x22028a,_0x3d205f(0xfc),{'value':!0x0}),Object[_0x3d205f(0x1fa)](_0x5d2802)[_0x3d205f(0x135)](function(_0x40ab3e){const _0x3fb14f=_0x3d205f;var _0x26e923=Object[_0x3fb14f(0x202)](_0x5d2802,_0x40ab3e);Object['defineProperty'](_0x22028a,_0x40ab3e,_0x26e923[_0x3fb14f(0x1ae)]?_0x26e923:{'enumerable':!0x0,'get':function(){return _0x5d2802[_0x40ab3e];}});}),_0x22028a;}var te={'exports':{}},ge,Ye;function V(){const _0x2c62b0=_0x3d72a4;if(Ye)return ge;Ye=0x1;const _0xfa419a=[_0x2c62b0(0x270),'arraybuffer',_0x2c62b0(0x101)],_0x2c4285=typeof Blob<'u';return _0x2c4285&&_0xfa419a[_0x2c62b0(0x132)]('blob'),ge={'BINARY_TYPES':_0xfa419a,'EMPTY_BUFFER':Buffer[_0x2c62b0(0x1ed)](0x0),'GUID':_0x2c62b0(0x248),'hasBlob':_0x2c4285,'kForOnEventAttribute':Symbol(_0x2c62b0(0x292)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x3d72a4(0x1e0)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x3d72a4(0xfe)],{'value':_0x3d72a4(0x1f0)})),Vt=ut(Gt);var Ke;function ce(){const _0x2c473f=_0x3d72a4;if(Ke)return te[_0x2c473f(0x253)];Ke=0x1;const {EMPTY_BUFFER:_0x5078b1}=V(),_0x301450=Buffer[Symbol[_0x2c473f(0x240)]];function _0x20034f(_0x15f6d0,_0x2b4676){const _0x569621=_0x2c473f;if(_0x15f6d0[_0x569621(0x276)]===0x0)return _0x5078b1;if(_0x15f6d0['length']===0x1)return _0x15f6d0[0x0];const _0x4efd69=Buffer[_0x569621(0x125)](_0x2b4676);let _0x19b75c=0x0;for(let _0x43f09b=0x0;_0x43f09b<_0x15f6d0[_0x569621(0x276)];_0x43f09b++){const _0x11c561=_0x15f6d0[_0x43f09b];_0x4efd69[_0x569621(0x146)](_0x11c561,_0x19b75c),_0x19b75c+=_0x11c561[_0x569621(0x276)];}return _0x19b75c<_0x2b4676?new _0x301450(_0x4efd69[_0x569621(0x220)],_0x4efd69[_0x569621(0x1d9)],_0x19b75c):_0x4efd69;}function _0x3d90c3(_0xc6f31d,_0x1d5c50,_0x3fd7e2,_0x4179e8,_0x15002b){for(let _0x2feb86=0x0;_0x2feb86<_0x15002b;_0x2feb86++)_0x3fd7e2[_0x4179e8+_0x2feb86]=_0xc6f31d[_0x2feb86]^_0x1d5c50[_0x2feb86&0x3];}function _0x5bee83(_0x14163d,_0x1af556){const _0x5ab6eb=_0x2c473f;for(let _0x253dd2=0x0;_0x253dd2<_0x14163d[_0x5ab6eb(0x276)];_0x253dd2++)_0x14163d[_0x253dd2]^=_0x1af556[_0x253dd2&0x3];}function _0x285fcb(_0x319438){const _0x4657aa=_0x2c473f;return _0x319438[_0x4657aa(0x276)]===_0x319438[_0x4657aa(0x220)][_0x4657aa(0x110)]?_0x319438['buffer']:_0x319438[_0x4657aa(0x220)][_0x4657aa(0x154)](_0x319438[_0x4657aa(0x1d9)],_0x319438[_0x4657aa(0x1d9)]+_0x319438['length']);}function _0x551ca4(_0x48e4de){const _0x202ad2=_0x2c473f;if(_0x551ca4[_0x202ad2(0x282)]=!0x0,Buffer['isBuffer'](_0x48e4de))return _0x48e4de;let _0x575c8c;return _0x48e4de instanceof ArrayBuffer?_0x575c8c=new _0x301450(_0x48e4de):ArrayBuffer['isView'](_0x48e4de)?_0x575c8c=new _0x301450(_0x48e4de[_0x202ad2(0x220)],_0x48e4de[_0x202ad2(0x1d9)],_0x48e4de[_0x202ad2(0x110)]):(_0x575c8c=Buffer[_0x202ad2(0x212)](_0x48e4de),_0x551ca4['readOnly']=!0x1),_0x575c8c;}if(te['exports']={'concat':_0x20034f,'mask':_0x3d90c3,'toArrayBuffer':_0x285fcb,'toBuffer':_0x551ca4,'unmask':_0x5bee83},!process['env'][_0x2c473f(0x16e)])try{const _0x2423d1=Vt;te['exports'][_0x2c473f(0x1fe)]=function(_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f){_0x28b59f<0x30?_0x3d90c3(_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f):_0x2423d1['mask'](_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f);},te[_0x2c473f(0x253)]['unmask']=function(_0x37cdbe,_0x12a578){const _0x324b61=_0x2c473f;_0x37cdbe[_0x324b61(0x276)]<0x20?_0x5bee83(_0x37cdbe,_0x12a578):_0x2423d1[_0x324b61(0x1be)](_0x37cdbe,_0x12a578);};}catch{}return te[_0x2c473f(0x253)];}var ye,Xe;function qt(){const _0x4e11f2=_0x3d72a4;if(Xe)return ye;Xe=0x1;const _0x587c23=Symbol('kDone'),_0x594e8f=Symbol(_0x4e11f2(0x1dd));class _0x373e2c{constructor(_0xb46def){const _0x5d3248=_0x4e11f2;this[_0x587c23]=()=>{const _0x423fe0=_0x1936;this[_0x423fe0(0xf4)]--,this[_0x594e8f]();},this[_0x5d3248(0x271)]=_0xb46def||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x4e11f2(0x1e1)](_0x18b56e){const _0x1f7216=_0x4e11f2;this[_0x1f7216(0x130)][_0x1f7216(0x132)](_0x18b56e),this[_0x594e8f]();}[_0x594e8f](){const _0x1b33b1=_0x4e11f2;if(this[_0x1b33b1(0xf4)]!==this['concurrency']&&this[_0x1b33b1(0x130)]['length']){const _0x1432f9=this[_0x1b33b1(0x130)][_0x1b33b1(0x23e)]();this[_0x1b33b1(0xf4)]++,_0x1432f9(this[_0x587c23]);}}}return ye=_0x373e2c,ye;}var ve,Ze;function he(){const _0x16f592=_0x3d72a4;if(Ze)return ve;Ze=0x1;const _0x18b9e4=_0x4c125b,_0x49e1d4=ce(),_0xc5d45c=qt(),{kStatusCode:_0x512788}=V(),_0x14229b=Buffer[Symbol[_0x16f592(0x240)]],_0x2e4d5f=Buffer[_0x16f592(0x212)]([0x0,0x0,0xff,0xff]),_0x23be80=Symbol(_0x16f592(0x29b)),_0x5721ab=Symbol(_0x16f592(0x19a)),_0x1d583d=Symbol(_0x16f592(0x126)),_0x2ce54e=Symbol(_0x16f592(0x23b)),_0x59ef1a=Symbol(_0x16f592(0x171));let _0x5ccc5f;class _0x5458be{constructor(_0x307d6f,_0x1bcc5f,_0x504e0b){const _0x599c7c=_0x16f592;if(this[_0x599c7c(0x255)]=_0x504e0b|0x0,this[_0x599c7c(0x1e6)]=_0x307d6f||{},this[_0x599c7c(0x137)]=this[_0x599c7c(0x1e6)]['threshold']!==void 0x0?this['_options'][_0x599c7c(0x259)]:0x400,this[_0x599c7c(0x159)]=!!_0x1bcc5f,this[_0x599c7c(0x24a)]=null,this['_inflate']=null,this[_0x599c7c(0x105)]=null,!_0x5ccc5f){const _0x5465af=this[_0x599c7c(0x1e6)][_0x599c7c(0x215)]!==void 0x0?this[_0x599c7c(0x1e6)][_0x599c7c(0x215)]:0xa;_0x5ccc5f=new _0xc5d45c(_0x5465af);}}static get[_0x16f592(0x2a3)](){const _0x512c8e=_0x16f592;return _0x512c8e(0x29b);}[_0x16f592(0x21a)](){const _0x130da3=_0x16f592,_0x1051a0={};return this['_options']['serverNoContextTakeover']&&(_0x1051a0[_0x130da3(0x20f)]=!0x0),this['_options'][_0x130da3(0x1b5)]&&(_0x1051a0[_0x130da3(0x14d)]=!0x0),this[_0x130da3(0x1e6)][_0x130da3(0x190)]&&(_0x1051a0[_0x130da3(0x29f)]=this[_0x130da3(0x1e6)][_0x130da3(0x190)]),this[_0x130da3(0x1e6)][_0x130da3(0x164)]?_0x1051a0[_0x130da3(0x136)]=this[_0x130da3(0x1e6)][_0x130da3(0x164)]:this[_0x130da3(0x1e6)][_0x130da3(0x164)]==null&&(_0x1051a0['client_max_window_bits']=!0x0),_0x1051a0;}[_0x16f592(0x205)](_0x2606a5){const _0x2d4dd9=_0x16f592;return _0x2606a5=this[_0x2d4dd9(0x17e)](_0x2606a5),this[_0x2d4dd9(0x105)]=this[_0x2d4dd9(0x159)]?this[_0x2d4dd9(0x290)](_0x2606a5):this['acceptAsClient'](_0x2606a5),this['params'];}[_0x16f592(0x269)](){const _0x3d3dfc=_0x16f592;if(this[_0x3d3dfc(0x266)]&&(this[_0x3d3dfc(0x266)][_0x3d3dfc(0x28d)](),this[_0x3d3dfc(0x266)]=null),this[_0x3d3dfc(0x24a)]){const _0x5acf6b=this[_0x3d3dfc(0x24a)][_0x1d583d];this[_0x3d3dfc(0x24a)][_0x3d3dfc(0x28d)](),this[_0x3d3dfc(0x24a)]=null,_0x5acf6b&&_0x5acf6b(new Error(_0x3d3dfc(0x1b1)));}}[_0x16f592(0x290)](_0x55adf2){const _0x21c2f4=_0x16f592,_0x4faaa0=this[_0x21c2f4(0x1e6)],_0x3fdced=_0x55adf2[_0x21c2f4(0x2a1)](_0x3864c8=>!(_0x4faaa0[_0x21c2f4(0x216)]===!0x1&&_0x3864c8['server_no_context_takeover']||_0x3864c8[_0x21c2f4(0x29f)]&&(_0x4faaa0[_0x21c2f4(0x190)]===!0x1||typeof _0x4faaa0[_0x21c2f4(0x190)]==_0x21c2f4(0x1d2)&&_0x4faaa0[_0x21c2f4(0x190)]>_0x3864c8[_0x21c2f4(0x29f)])||typeof _0x4faaa0[_0x21c2f4(0x164)]==_0x21c2f4(0x1d2)&&!_0x3864c8[_0x21c2f4(0x136)]));if(!_0x3fdced)throw new Error(_0x21c2f4(0x1b3));return _0x4faaa0[_0x21c2f4(0x216)]&&(_0x3fdced[_0x21c2f4(0x20f)]=!0x0),_0x4faaa0[_0x21c2f4(0x1b5)]&&(_0x3fdced[_0x21c2f4(0x14d)]=!0x0),typeof _0x4faaa0[_0x21c2f4(0x190)]==_0x21c2f4(0x1d2)&&(_0x3fdced[_0x21c2f4(0x29f)]=_0x4faaa0[_0x21c2f4(0x190)]),typeof _0x4faaa0[_0x21c2f4(0x164)]==_0x21c2f4(0x1d2)?_0x3fdced[_0x21c2f4(0x136)]=_0x4faaa0[_0x21c2f4(0x164)]:(_0x3fdced['client_max_window_bits']===!0x0||_0x4faaa0[_0x21c2f4(0x164)]===!0x1)&&delete _0x3fdced[_0x21c2f4(0x136)],_0x3fdced;}[_0x16f592(0x14b)](_0x571c1b){const _0x273082=_0x16f592,_0x38239a=_0x571c1b[0x0];if(this[_0x273082(0x1e6)][_0x273082(0x1b5)]===!0x1&&_0x38239a['client_no_context_takeover'])throw new Error(_0x273082(0x242));if(!_0x38239a[_0x273082(0x136)])typeof this[_0x273082(0x1e6)][_0x273082(0x164)]==_0x273082(0x1d2)&&(_0x38239a[_0x273082(0x136)]=this[_0x273082(0x1e6)][_0x273082(0x164)]);else{if(this[_0x273082(0x1e6)]['clientMaxWindowBits']===!0x1||typeof this[_0x273082(0x1e6)][_0x273082(0x164)]==_0x273082(0x1d2)&&_0x38239a[_0x273082(0x136)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x38239a;}['normalizeParams'](_0x179f85){const _0x191a2d=_0x16f592;return _0x179f85[_0x191a2d(0x135)](_0x49df66=>{const _0x38d637=_0x191a2d;Object[_0x38d637(0x1fa)](_0x49df66)[_0x38d637(0x135)](_0xd48377=>{const _0x288796=_0x38d637;let _0x4e0fc4=_0x49df66[_0xd48377];if(_0x4e0fc4[_0x288796(0x276)]>0x1)throw new Error(_0x288796(0x1f1)+_0xd48377+_0x288796(0x128));if(_0x4e0fc4=_0x4e0fc4[0x0],_0xd48377===_0x288796(0x136)){if(_0x4e0fc4!==!0x0){const _0x37f81b=+_0x4e0fc4;if(!Number[_0x288796(0x114)](_0x37f81b)||_0x37f81b<0x8||_0x37f81b>0xf)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);_0x4e0fc4=_0x37f81b;}else{if(!this[_0x288796(0x159)])throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);}}else{if(_0xd48377===_0x288796(0x29f)){const _0x24cab4=+_0x4e0fc4;if(!Number['isInteger'](_0x24cab4)||_0x24cab4<0x8||_0x24cab4>0xf)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);_0x4e0fc4=_0x24cab4;}else{if(_0xd48377==='client_no_context_takeover'||_0xd48377===_0x288796(0x20f)){if(_0x4e0fc4!==!0x0)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);}else throw new Error(_0x288796(0x1e7)+_0xd48377+'\x22');}}_0x49df66[_0xd48377]=_0x4e0fc4;});}),_0x179f85;}[_0x16f592(0x296)](_0x401b1a,_0x39da6f,_0x255691){const _0x3355e4=_0x16f592;_0x5ccc5f[_0x3355e4(0x1e1)](_0x103dd3=>{const _0x47c519=_0x3355e4;this[_0x47c519(0x224)](_0x401b1a,_0x39da6f,(_0x364940,_0x56c706)=>{_0x103dd3(),_0x255691(_0x364940,_0x56c706);});});}['compress'](_0x588b72,_0x51b29d,_0x5b44fa){const _0xd210a5=_0x16f592;_0x5ccc5f[_0xd210a5(0x1e1)](_0x5936ed=>{const _0x12a8b8=_0xd210a5;this[_0x12a8b8(0x27a)](_0x588b72,_0x51b29d,(_0x4139b1,_0x3a9271)=>{_0x5936ed(),_0x5b44fa(_0x4139b1,_0x3a9271);});});}[_0x16f592(0x224)](_0x58e1ab,_0xad6b4,_0x57ba1f){const _0xbf60a2=_0x16f592,_0x1c9300=this[_0xbf60a2(0x159)]?_0xbf60a2(0x11d):_0xbf60a2(0x139);if(!this[_0xbf60a2(0x266)]){const _0x2dcc0b=_0x1c9300+'_max_window_bits',_0x4919c5=typeof this[_0xbf60a2(0x105)][_0x2dcc0b]!=_0xbf60a2(0x1d2)?_0x18b9e4[_0xbf60a2(0x1d3)]:this[_0xbf60a2(0x105)][_0x2dcc0b];this[_0xbf60a2(0x266)]=_0x18b9e4[_0xbf60a2(0x25a)]({...this[_0xbf60a2(0x1e6)]['zlibInflateOptions'],'windowBits':_0x4919c5}),this[_0xbf60a2(0x266)][_0x23be80]=this,this['_inflate'][_0x5721ab]=0x0,this[_0xbf60a2(0x266)][_0x2ce54e]=[],this[_0xbf60a2(0x266)]['on'](_0xbf60a2(0x171),_0x5f2455),this[_0xbf60a2(0x266)]['on'](_0xbf60a2(0x23a),_0x51d2c8);}this[_0xbf60a2(0x266)][_0x1d583d]=_0x57ba1f,this['_inflate']['write'](_0x58e1ab),_0xad6b4&&this[_0xbf60a2(0x266)][_0xbf60a2(0x1df)](_0x2e4d5f),this['_inflate'][_0xbf60a2(0x10a)](()=>{const _0x1a0bb0=_0xbf60a2,_0x35385c=this[_0x1a0bb0(0x266)][_0x59ef1a];if(_0x35385c){this[_0x1a0bb0(0x266)][_0x1a0bb0(0x28d)](),this[_0x1a0bb0(0x266)]=null,_0x57ba1f(_0x35385c);return;}const _0x1b0459=_0x49e1d4[_0x1a0bb0(0x1bf)](this[_0x1a0bb0(0x266)][_0x2ce54e],this[_0x1a0bb0(0x266)][_0x5721ab]);this['_inflate'][_0x1a0bb0(0x17a)][_0x1a0bb0(0x188)]?(this['_inflate']['close'](),this[_0x1a0bb0(0x266)]=null):(this[_0x1a0bb0(0x266)][_0x5721ab]=0x0,this[_0x1a0bb0(0x266)][_0x2ce54e]=[],_0xad6b4&&this[_0x1a0bb0(0x105)][_0x1c9300+_0x1a0bb0(0x283)]&&this['_inflate'][_0x1a0bb0(0x284)]()),_0x57ba1f(null,_0x1b0459);});}[_0x16f592(0x27a)](_0xf10ed7,_0x337dd0,_0x52df7c){const _0x1b66a6=_0x16f592,_0xd9ea38=this[_0x1b66a6(0x159)]?_0x1b66a6(0x139):_0x1b66a6(0x11d);if(!this[_0x1b66a6(0x24a)]){const _0x615d51=_0xd9ea38+_0x1b66a6(0x262),_0x3b73bf=typeof this[_0x1b66a6(0x105)][_0x615d51]!=_0x1b66a6(0x1d2)?_0x18b9e4['Z_DEFAULT_WINDOWBITS']:this[_0x1b66a6(0x105)][_0x615d51];this['_deflate']=_0x18b9e4[_0x1b66a6(0x148)]({...this[_0x1b66a6(0x1e6)][_0x1b66a6(0x1e4)],'windowBits':_0x3b73bf}),this[_0x1b66a6(0x24a)][_0x5721ab]=0x0,this[_0x1b66a6(0x24a)][_0x2ce54e]=[],this[_0x1b66a6(0x24a)]['on']('data',_0x53d5be);}this[_0x1b66a6(0x24a)][_0x1d583d]=_0x52df7c,this[_0x1b66a6(0x24a)]['write'](_0xf10ed7),this['_deflate'][_0x1b66a6(0x10a)](_0x18b9e4[_0x1b66a6(0xf3)],()=>{const _0x3b349b=_0x1b66a6;if(!this[_0x3b349b(0x24a)])return;let _0x1b7c84=_0x49e1d4[_0x3b349b(0x1bf)](this[_0x3b349b(0x24a)][_0x2ce54e],this[_0x3b349b(0x24a)][_0x5721ab]);_0x337dd0&&(_0x1b7c84=new _0x14229b(_0x1b7c84[_0x3b349b(0x220)],_0x1b7c84['byteOffset'],_0x1b7c84[_0x3b349b(0x276)]-0x4)),this[_0x3b349b(0x24a)][_0x1d583d]=null,this['_deflate'][_0x5721ab]=0x0,this['_deflate'][_0x2ce54e]=[],_0x337dd0&&this[_0x3b349b(0x105)][_0xd9ea38+'_no_context_takeover']&&this[_0x3b349b(0x24a)][_0x3b349b(0x284)](),_0x52df7c(null,_0x1b7c84);});}}ve=_0x5458be;function _0x53d5be(_0x2d19cd){const _0x489f35=_0x16f592;this[_0x2ce54e]['push'](_0x2d19cd),this[_0x5721ab]+=_0x2d19cd[_0x489f35(0x276)];}function _0x51d2c8(_0x522e79){const _0x10cb95=_0x16f592;if(this[_0x5721ab]+=_0x522e79['length'],this[_0x23be80][_0x10cb95(0x255)]<0x1||this[_0x5721ab]<=this[_0x23be80]['_maxPayload']){this[_0x2ce54e][_0x10cb95(0x132)](_0x522e79);return;}this[_0x59ef1a]=new RangeError(_0x10cb95(0x14a)),this[_0x59ef1a][_0x10cb95(0x147)]=_0x10cb95(0x179),this[_0x59ef1a][_0x512788]=0x3f1,this['removeListener'](_0x10cb95(0x23a),_0x51d2c8),this[_0x10cb95(0x284)]();}function _0x5f2455(_0x57e6e0){const _0x59d16b=_0x16f592;this[_0x23be80][_0x59d16b(0x266)]=null,_0x57e6e0[_0x512788]=0x3ef,this[_0x1d583d](_0x57e6e0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3d72a4(0x1e0)](Object[_0x3d72a4(0x175)]({'__proto__':null,'default':Ht},Symbol[_0x3d72a4(0xfe)],{'value':_0x3d72a4(0x1f0)})),Yt=ut(zt);var Qe;function _0x1936(_0x353f62,_0x29617a){const _0x9d895c=_0x9d89();return _0x1936=function(_0x1936ed,_0x3bb85b){_0x1936ed=_0x1936ed-0xf2;let _0x2fd340=_0x9d895c[_0x1936ed];return _0x2fd340;},_0x1936(_0x353f62,_0x29617a);}function ne(){const _0x2c7a11=_0x3d72a4;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x576056}=_0x485b16,{hasBlob:_0x543c95}=V(),_0x3f11ca=[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 _0xa8fee8(_0x591282){return _0x591282>=0x3e8&&_0x591282<=0x3f6&&_0x591282!==0x3ec&&_0x591282!==0x3ed&&_0x591282!==0x3ee||_0x591282>=0xbb8&&_0x591282<=0x1387;}function _0x464f15(_0x137167){const _0x42e867=_0x1936,_0x102ec3=_0x137167[_0x42e867(0x276)];let _0x41a8ba=0x0;for(;_0x41a8ba<_0x102ec3;)if((_0x137167[_0x41a8ba]&0x80)===0x0)_0x41a8ba++;else{if((_0x137167[_0x41a8ba]&0xe0)===0xc0){if(_0x41a8ba+0x1===_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba]&0xfe)===0xc0)return!0x1;_0x41a8ba+=0x2;}else{if((_0x137167[_0x41a8ba]&0xf0)===0xe0){if(_0x41a8ba+0x2>=_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x2]&0xc0)!==0x80||_0x137167[_0x41a8ba]===0xe0&&(_0x137167[_0x41a8ba+0x1]&0xe0)===0x80||_0x137167[_0x41a8ba]===0xed&&(_0x137167[_0x41a8ba+0x1]&0xe0)===0xa0)return!0x1;_0x41a8ba+=0x3;}else{if((_0x137167[_0x41a8ba]&0xf8)===0xf0){if(_0x41a8ba+0x3>=_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x2]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x3]&0xc0)!==0x80||_0x137167[_0x41a8ba]===0xf0&&(_0x137167[_0x41a8ba+0x1]&0xf0)===0x80||_0x137167[_0x41a8ba]===0xf4&&_0x137167[_0x41a8ba+0x1]>0x8f||_0x137167[_0x41a8ba]>0xf4)return!0x1;_0x41a8ba+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a8f25(_0x184182){const _0x28681c=_0x1936;return _0x543c95&&typeof _0x184182=='object'&&typeof _0x184182['arrayBuffer']=='function'&&typeof _0x184182[_0x28681c(0xff)]==_0x28681c(0x18d)&&typeof _0x184182['stream']==_0x28681c(0x29a)&&(_0x184182[Symbol[_0x28681c(0xfe)]]==='Blob'||_0x184182[Symbol[_0x28681c(0xfe)]]===_0x28681c(0x1e2));}if(re['exports']={'isBlob':_0x1a8f25,'isValidStatusCode':_0xa8fee8,'isValidUTF8':_0x464f15,'tokenChars':_0x3f11ca},_0x576056)re[_0x2c7a11(0x253)]['isValidUTF8']=function(_0x29af90){const _0x3bf881=_0x2c7a11;return _0x29af90[_0x3bf881(0x276)]<0x18?_0x464f15(_0x29af90):_0x576056(_0x29af90);};else{if(!process[_0x2c7a11(0x1a2)][_0x2c7a11(0x140)])try{const _0x18b61f=Yt;re[_0x2c7a11(0x253)][_0x2c7a11(0x241)]=function(_0xa49b5e){const _0x14937a=_0x2c7a11;return _0xa49b5e[_0x14937a(0x276)]<0x20?_0x464f15(_0xa49b5e):_0x18b61f(_0xa49b5e);};}catch{}}return re[_0x2c7a11(0x253)];}var Se,Je;function dt(){const _0x22bd18=_0x3d72a4;if(Je)return Se;Je=0x1;const {Writable:_0x248e0a}=_0x148c11,_0x45e423=he(),{BINARY_TYPES:_0x2f33b8,EMPTY_BUFFER:_0x4a53be,kStatusCode:_0x79685e,kWebSocket:_0x286900}=V(),{concat:_0x44e4f0,toArrayBuffer:_0x3729ad,unmask:_0xbafc00}=ce(),{isValidStatusCode:_0x5cc707,isValidUTF8:_0x34654b}=ne(),_0x3a7daa=Buffer[Symbol[_0x22bd18(0x240)]],_0x424152=0x0,_0x4ab9a7=0x1,_0x400bfb=0x2,_0x20cdce=0x3,_0x22df11=0x4,_0x4d1816=0x5,_0x33e106=0x6;class _0x41b8ca extends _0x248e0a{constructor(_0x8d9760={}){const _0x3d90f7=_0x22bd18;super(),this[_0x3d90f7(0x184)]=_0x8d9760[_0x3d90f7(0x1d0)]!==void 0x0?_0x8d9760[_0x3d90f7(0x1d0)]:!0x0,this[_0x3d90f7(0x20c)]=_0x8d9760[_0x3d90f7(0x1fd)]||_0x2f33b8[0x0],this[_0x3d90f7(0x291)]=_0x8d9760[_0x3d90f7(0x26f)]||{},this[_0x3d90f7(0x159)]=!!_0x8d9760[_0x3d90f7(0x258)],this[_0x3d90f7(0x255)]=_0x8d9760[_0x3d90f7(0x169)]|0x0,this['_skipUTF8Validation']=!!_0x8d9760['skipUTF8Validation'],this[_0x286900]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x3d90f7(0x1f3)]=0x0,this[_0x3d90f7(0x219)]=void 0x0,this[_0x3d90f7(0x24b)]=0x0,this[_0x3d90f7(0x16c)]=!0x1,this['_fin']=!0x1,this[_0x3d90f7(0x1b6)]=0x0,this[_0x3d90f7(0x1b0)]=0x0,this[_0x3d90f7(0x1bc)]=0x0,this[_0x3d90f7(0x1b7)]=[],this[_0x3d90f7(0x158)]=!0x1,this['_loop']=!0x1,this['_state']=_0x424152;}['_write'](_0x41737c,_0x28396b,_0x25bdf5){const _0x4c7ed3=_0x22bd18;if(this[_0x4c7ed3(0x1b6)]===0x8&&this[_0x4c7ed3(0x1f5)]==_0x424152)return _0x25bdf5();this[_0x4c7ed3(0x186)]+=_0x41737c[_0x4c7ed3(0x276)],this[_0x4c7ed3(0x13c)][_0x4c7ed3(0x132)](_0x41737c),this[_0x4c7ed3(0x257)](_0x25bdf5);}[_0x22bd18(0x18e)](_0x5d7d65){const _0x1c1db1=_0x22bd18;if(this[_0x1c1db1(0x186)]-=_0x5d7d65,_0x5d7d65===this[_0x1c1db1(0x13c)][0x0][_0x1c1db1(0x276)])return this[_0x1c1db1(0x13c)]['shift']();if(_0x5d7d65<this[_0x1c1db1(0x13c)][0x0][_0x1c1db1(0x276)]){const _0x48c54a=this['_buffers'][0x0];return this[_0x1c1db1(0x13c)][0x0]=new _0x3a7daa(_0x48c54a[_0x1c1db1(0x220)],_0x48c54a['byteOffset']+_0x5d7d65,_0x48c54a[_0x1c1db1(0x276)]-_0x5d7d65),new _0x3a7daa(_0x48c54a['buffer'],_0x48c54a[_0x1c1db1(0x1d9)],_0x5d7d65);}const _0x564099=Buffer[_0x1c1db1(0x125)](_0x5d7d65);do{const _0x36b485=this[_0x1c1db1(0x13c)][0x0],_0x53a045=_0x564099[_0x1c1db1(0x276)]-_0x5d7d65;_0x5d7d65>=_0x36b485['length']?_0x564099['set'](this['_buffers'][_0x1c1db1(0x23e)](),_0x53a045):(_0x564099[_0x1c1db1(0x146)](new Uint8Array(_0x36b485[_0x1c1db1(0x220)],_0x36b485[_0x1c1db1(0x1d9)],_0x5d7d65),_0x53a045),this['_buffers'][0x0]=new _0x3a7daa(_0x36b485['buffer'],_0x36b485['byteOffset']+_0x5d7d65,_0x36b485[_0x1c1db1(0x276)]-_0x5d7d65)),_0x5d7d65-=_0x36b485[_0x1c1db1(0x276)];}while(_0x5d7d65>0x0);return _0x564099;}[_0x22bd18(0x257)](_0x159b17){const _0xf7bfdf=_0x22bd18;this[_0xf7bfdf(0x2a4)]=!0x0;do switch(this[_0xf7bfdf(0x1f5)]){case _0x424152:this['getInfo'](_0x159b17);break;case _0x4ab9a7:this[_0xf7bfdf(0x152)](_0x159b17);break;case _0x400bfb:this['getPayloadLength64'](_0x159b17);break;case _0x20cdce:this['getMask']();break;case _0x22df11:this[_0xf7bfdf(0x1f7)](_0x159b17);break;case _0x4d1816:case _0x33e106:this[_0xf7bfdf(0x2a4)]=!0x1;return;}while(this[_0xf7bfdf(0x2a4)]);this['_errored']||_0x159b17();}[_0x22bd18(0x144)](_0x207dec){const _0x5d02a9=_0x22bd18;if(this[_0x5d02a9(0x186)]<0x2){this[_0x5d02a9(0x2a4)]=!0x1;return;}const _0x20ba37=this[_0x5d02a9(0x18e)](0x2);if((_0x20ba37[0x0]&0x30)!==0x0){const _0x5a37bb=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x133),!0x0,0x3ea,_0x5d02a9(0x218));_0x207dec(_0x5a37bb);return;}const _0x393809=(_0x20ba37[0x0]&0x40)===0x40;if(_0x393809&&!this[_0x5d02a9(0x291)][_0x45e423[_0x5d02a9(0x2a3)]]){const _0x3eab7a=this[_0x5d02a9(0x191)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x207dec(_0x3eab7a);return;}if(this[_0x5d02a9(0x1c5)]=(_0x20ba37[0x0]&0x80)===0x80,this[_0x5d02a9(0x1b6)]=_0x20ba37[0x0]&0xf,this[_0x5d02a9(0x1f3)]=_0x20ba37[0x1]&0x7f,this['_opcode']===0x0){if(_0x393809){const _0xa18c93=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x122),!0x0,0x3ea,_0x5d02a9(0x214));_0x207dec(_0xa18c93);return;}if(!this[_0x5d02a9(0x24b)]){const _0x1b6ae3=this[_0x5d02a9(0x191)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x5d02a9(0x1cc));_0x207dec(_0x1b6ae3);return;}this[_0x5d02a9(0x1b6)]=this['_fragmented'];}else{if(this[_0x5d02a9(0x1b6)]===0x1||this[_0x5d02a9(0x1b6)]===0x2){if(this[_0x5d02a9(0x24b)]){const _0x12e2f4=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x172)+this['_opcode'],!0x0,0x3ea,_0x5d02a9(0x1cc));_0x207dec(_0x12e2f4);return;}this[_0x5d02a9(0x176)]=_0x393809;}else{if(this[_0x5d02a9(0x1b6)]>0x7&&this[_0x5d02a9(0x1b6)]<0xb){if(!this[_0x5d02a9(0x1c5)]){const _0x3f5058=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x211),!0x0,0x3ea,_0x5d02a9(0x297));_0x207dec(_0x3f5058);return;}if(_0x393809){const _0x154a94=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x122),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x207dec(_0x154a94);return;}if(this['_payloadLength']>0x7d||this[_0x5d02a9(0x1b6)]===0x8&&this[_0x5d02a9(0x1f3)]===0x1){const _0x5a5f48=this[_0x5d02a9(0x191)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x5d02a9(0x252));_0x207dec(_0x5a5f48);return;}}else{const _0x4282e0=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x172)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x207dec(_0x4282e0);return;}}}if(!this[_0x5d02a9(0x1c5)]&&!this['_fragmented']&&(this[_0x5d02a9(0x24b)]=this['_opcode']),this[_0x5d02a9(0x16c)]=(_0x20ba37[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5d02a9(0x16c)]){const _0x2501b6=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x118),!0x0,0x3ea,_0x5d02a9(0x236));_0x207dec(_0x2501b6);return;}}else{if(this['_masked']){const _0x140e4a=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x108),!0x0,0x3ea,_0x5d02a9(0x10c));_0x207dec(_0x140e4a);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4ab9a7:this[_0x5d02a9(0x1f3)]===0x7f?this[_0x5d02a9(0x1f5)]=_0x400bfb:this['haveLength'](_0x207dec);}[_0x22bd18(0x152)](_0x2bfec7){const _0x4c229b=_0x22bd18;if(this[_0x4c229b(0x186)]<0x2){this[_0x4c229b(0x2a4)]=!0x1;return;}this[_0x4c229b(0x1f3)]=this[_0x4c229b(0x18e)](0x2)[_0x4c229b(0x1eb)](0x0),this[_0x4c229b(0x25d)](_0x2bfec7);}['getPayloadLength64'](_0x337d60){const _0x152407=_0x22bd18;if(this[_0x152407(0x186)]<0x8){this['_loop']=!0x1;return;}const _0x1b7d5a=this[_0x152407(0x18e)](0x8),_0x2884c3=_0x1b7d5a[_0x152407(0x22b)](0x0);if(_0x2884c3>Math[_0x152407(0x124)](0x2,0x15)-0x1){const _0x58217e=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x337d60(_0x58217e);return;}this[_0x152407(0x1f3)]=_0x2884c3*Math[_0x152407(0x124)](0x2,0x20)+_0x1b7d5a[_0x152407(0x22b)](0x4),this['haveLength'](_0x337d60);}[_0x22bd18(0x25d)](_0x1e621e){const _0xa69baf=_0x22bd18;if(this[_0xa69baf(0x1f3)]&&this[_0xa69baf(0x1b6)]<0x8&&(this['_totalPayloadLength']+=this[_0xa69baf(0x1f3)],this[_0xa69baf(0x1b0)]>this[_0xa69baf(0x255)]&&this[_0xa69baf(0x255)]>0x0)){const _0x44a4b6=this[_0xa69baf(0x191)](RangeError,_0xa69baf(0x14a),!0x1,0x3f1,_0xa69baf(0x179));_0x1e621e(_0x44a4b6);return;}this[_0xa69baf(0x16c)]?this['_state']=_0x20cdce:this[_0xa69baf(0x1f5)]=_0x22df11;}[_0x22bd18(0x1a6)](){const _0x23ba4d=_0x22bd18;if(this[_0x23ba4d(0x186)]<0x4){this[_0x23ba4d(0x2a4)]=!0x1;return;}this['_mask']=this[_0x23ba4d(0x18e)](0x4),this[_0x23ba4d(0x1f5)]=_0x22df11;}[_0x22bd18(0x1f7)](_0x93598f){const _0x5cb97b=_0x22bd18;let _0x22c254=_0x4a53be;if(this[_0x5cb97b(0x1f3)]){if(this[_0x5cb97b(0x186)]<this[_0x5cb97b(0x1f3)]){this['_loop']=!0x1;return;}_0x22c254=this[_0x5cb97b(0x18e)](this[_0x5cb97b(0x1f3)]),this[_0x5cb97b(0x16c)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5cb97b(0x219)][0x2]|this[_0x5cb97b(0x219)][0x3])!==0x0&&_0xbafc00(_0x22c254,this[_0x5cb97b(0x219)]);}if(this[_0x5cb97b(0x1b6)]>0x7){this[_0x5cb97b(0x1e9)](_0x22c254,_0x93598f);return;}if(this[_0x5cb97b(0x176)]){this[_0x5cb97b(0x1f5)]=_0x4d1816,this[_0x5cb97b(0x296)](_0x22c254,_0x93598f);return;}_0x22c254[_0x5cb97b(0x276)]&&(this[_0x5cb97b(0x1bc)]=this[_0x5cb97b(0x1b0)],this[_0x5cb97b(0x1b7)][_0x5cb97b(0x132)](_0x22c254)),this['dataMessage'](_0x93598f);}[_0x22bd18(0x296)](_0x257aa1,_0xc67d57){const _0x50f44f=_0x22bd18;this[_0x50f44f(0x291)][_0x45e423[_0x50f44f(0x2a3)]][_0x50f44f(0x296)](_0x257aa1,this[_0x50f44f(0x1c5)],(_0x2a59c6,_0x16f1ea)=>{const _0x5f43c7=_0x50f44f;if(_0x2a59c6)return _0xc67d57(_0x2a59c6);if(_0x16f1ea[_0x5f43c7(0x276)]){if(this['_messageLength']+=_0x16f1ea[_0x5f43c7(0x276)],this['_messageLength']>this[_0x5f43c7(0x255)]&&this[_0x5f43c7(0x255)]>0x0){const _0x14d2d7=this[_0x5f43c7(0x191)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5f43c7(0x179));_0xc67d57(_0x14d2d7);return;}this[_0x5f43c7(0x1b7)][_0x5f43c7(0x132)](_0x16f1ea);}this[_0x5f43c7(0x1c6)](_0xc67d57),this['_state']===_0x424152&&this['startLoop'](_0xc67d57);});}[_0x22bd18(0x1c6)](_0x2f696d){const _0x516f33=_0x22bd18;if(!this[_0x516f33(0x1c5)]){this['_state']=_0x424152;return;}const _0x4f2835=this['_messageLength'],_0x27df0a=this[_0x516f33(0x1b7)];if(this['_totalPayloadLength']=0x0,this[_0x516f33(0x1bc)]=0x0,this[_0x516f33(0x24b)]=0x0,this['_fragments']=[],this[_0x516f33(0x1b6)]===0x2){let _0x3eb325;this[_0x516f33(0x20c)]===_0x516f33(0x270)?_0x3eb325=_0x44e4f0(_0x27df0a,_0x4f2835):this[_0x516f33(0x20c)]===_0x516f33(0x189)?_0x3eb325=_0x3729ad(_0x44e4f0(_0x27df0a,_0x4f2835)):this[_0x516f33(0x20c)]===_0x516f33(0x217)?_0x3eb325=new Blob(_0x27df0a):_0x3eb325=_0x27df0a,this[_0x516f33(0x184)]?(this['emit']('message',_0x3eb325,!0x0),this[_0x516f33(0x1f5)]=_0x424152):(this[_0x516f33(0x1f5)]=_0x33e106,setImmediate(()=>{const _0x1c1419=_0x516f33;this['emit'](_0x1c1419(0x16a),_0x3eb325,!0x0),this[_0x1c1419(0x1f5)]=_0x424152,this['startLoop'](_0x2f696d);}));}else{const _0x56b5a2=_0x44e4f0(_0x27df0a,_0x4f2835);if(!this[_0x516f33(0x26d)]&&!_0x34654b(_0x56b5a2)){const _0x1e4c04=this[_0x516f33(0x191)](Error,_0x516f33(0x279),!0x0,0x3ef,_0x516f33(0x1d4));_0x2f696d(_0x1e4c04);return;}this[_0x516f33(0x1f5)]===_0x4d1816||this[_0x516f33(0x184)]?(this[_0x516f33(0x254)](_0x516f33(0x16a),_0x56b5a2,!0x1),this[_0x516f33(0x1f5)]=_0x424152):(this['_state']=_0x33e106,setImmediate(()=>{const _0x130a2e=_0x516f33;this[_0x130a2e(0x254)](_0x130a2e(0x16a),_0x56b5a2,!0x1),this[_0x130a2e(0x1f5)]=_0x424152,this[_0x130a2e(0x257)](_0x2f696d);}));}}['controlMessage'](_0x1c69da,_0x553af7){const _0x44ca68=_0x22bd18;if(this[_0x44ca68(0x1b6)]===0x8){if(_0x1c69da[_0x44ca68(0x276)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x4a53be),this[_0x44ca68(0x294)]();else{const _0x83b82c=_0x1c69da['readUInt16BE'](0x0);if(!_0x5cc707(_0x83b82c)){const _0x5d3b2b=this[_0x44ca68(0x191)](RangeError,_0x44ca68(0x1c9)+_0x83b82c,!0x0,0x3ea,_0x44ca68(0x22d));_0x553af7(_0x5d3b2b);return;}const _0x938fd2=new _0x3a7daa(_0x1c69da[_0x44ca68(0x220)],_0x1c69da[_0x44ca68(0x1d9)]+0x2,_0x1c69da[_0x44ca68(0x276)]-0x2);if(!this[_0x44ca68(0x26d)]&&!_0x34654b(_0x938fd2)){const _0x34bbdb=this[_0x44ca68(0x191)](Error,_0x44ca68(0x279),!0x0,0x3ef,_0x44ca68(0x1d4));_0x553af7(_0x34bbdb);return;}this[_0x44ca68(0x2a4)]=!0x1,this[_0x44ca68(0x254)]('conclude',_0x83b82c,_0x938fd2),this[_0x44ca68(0x294)]();}this['_state']=_0x424152;return;}this[_0x44ca68(0x184)]?(this[_0x44ca68(0x254)](this[_0x44ca68(0x1b6)]===0x9?_0x44ca68(0x103):'pong',_0x1c69da),this[_0x44ca68(0x1f5)]=_0x424152):(this[_0x44ca68(0x1f5)]=_0x33e106,setImmediate(()=>{const _0x53fcf3=_0x44ca68;this['emit'](this['_opcode']===0x9?'ping':_0x53fcf3(0x209),_0x1c69da),this[_0x53fcf3(0x1f5)]=_0x424152,this['startLoop'](_0x553af7);}));}['createError'](_0x48bb76,_0x7e480d,_0x5d824d,_0x2f7c42,_0x308afa){const _0x583cf9=_0x22bd18;this[_0x583cf9(0x2a4)]=!0x1,this[_0x583cf9(0x158)]=!0x0;const _0x487030=new _0x48bb76(_0x5d824d?'Invalid\x20WebSocket\x20frame:\x20'+_0x7e480d:_0x7e480d);return Error['captureStackTrace'](_0x487030,this['createError']),_0x487030['code']=_0x308afa,_0x487030[_0x79685e]=_0x2f7c42,_0x487030;}}return Se=_0x41b8ca,Se;}var Ee,et;function _t(){const _0x92ce01=_0x3d72a4;if(et)return Ee;et=0x1;const {Duplex:_0x17064a}=_0x148c11,{randomFillSync:_0x348c5c}=_0x4426fe,_0x399856=he(),{EMPTY_BUFFER:_0x12beca,kWebSocket:_0x230bd7,NOOP:_0x55e0e1}=V(),{isBlob:_0x50cb7d,isValidStatusCode:_0x1f2b59}=ne(),{mask:_0x2d4923,toBuffer:_0x57ef3}=ce(),_0x17663b=Symbol(_0x92ce01(0x272)),_0x15fc66=Buffer['alloc'](0x4),_0x355c19=0x8*0x400;let _0x518011,_0x59dfd1=_0x355c19;const _0x5ec423=0x0,_0x5d027e=0x1,_0xd325d9=0x2;class _0x4a970a{constructor(_0x147b59,_0x2fdb83,_0x489ee2){const _0x57a082=_0x92ce01;this[_0x57a082(0x291)]=_0x2fdb83||{},_0x489ee2&&(this[_0x57a082(0x25e)]=_0x489ee2,this[_0x57a082(0x10e)]=Buffer[_0x57a082(0x1ed)](0x4)),this[_0x57a082(0x173)]=_0x147b59,this[_0x57a082(0x228)]=!0x0,this[_0x57a082(0x27a)]=!0x1,this[_0x57a082(0x186)]=0x0,this[_0x57a082(0x261)]=[],this[_0x57a082(0x1f5)]=_0x5ec423,this[_0x57a082(0x1db)]=_0x55e0e1,this[_0x230bd7]=void 0x0;}static[_0x92ce01(0x273)](_0x100401,_0x5b266d){const _0x1a9c24=_0x92ce01;let _0x4db4c6,_0x3562c8=!0x1,_0x457b03=0x2,_0x3753a5=!0x1;_0x5b266d['mask']&&(_0x4db4c6=_0x5b266d[_0x1a9c24(0x22f)]||_0x15fc66,_0x5b266d['generateMask']?_0x5b266d[_0x1a9c24(0x285)](_0x4db4c6):(_0x59dfd1===_0x355c19&&(_0x518011===void 0x0&&(_0x518011=Buffer[_0x1a9c24(0x1ed)](_0x355c19)),_0x348c5c(_0x518011,0x0,_0x355c19),_0x59dfd1=0x0),_0x4db4c6[0x0]=_0x518011[_0x59dfd1++],_0x4db4c6[0x1]=_0x518011[_0x59dfd1++],_0x4db4c6[0x2]=_0x518011[_0x59dfd1++],_0x4db4c6[0x3]=_0x518011[_0x59dfd1++]),_0x3753a5=(_0x4db4c6[0x0]|_0x4db4c6[0x1]|_0x4db4c6[0x2]|_0x4db4c6[0x3])===0x0,_0x457b03=0x6);let _0x15c944;typeof _0x100401=='string'?(!_0x5b266d['mask']||_0x3753a5)&&_0x5b266d[_0x17663b]!==void 0x0?_0x15c944=_0x5b266d[_0x17663b]:(_0x100401=Buffer[_0x1a9c24(0x212)](_0x100401),_0x15c944=_0x100401[_0x1a9c24(0x276)]):(_0x15c944=_0x100401[_0x1a9c24(0x276)],_0x3562c8=_0x5b266d[_0x1a9c24(0x1fe)]&&_0x5b266d[_0x1a9c24(0x282)]&&!_0x3753a5);let _0x516f4f=_0x15c944;_0x15c944>=0x10000?(_0x457b03+=0x8,_0x516f4f=0x7f):_0x15c944>0x7d&&(_0x457b03+=0x2,_0x516f4f=0x7e);const _0x3e44ca=Buffer[_0x1a9c24(0x125)](_0x3562c8?_0x15c944+_0x457b03:_0x457b03);return _0x3e44ca[0x0]=_0x5b266d[_0x1a9c24(0x1ec)]?_0x5b266d[_0x1a9c24(0xf9)]|0x80:_0x5b266d[_0x1a9c24(0xf9)],_0x5b266d[_0x1a9c24(0x232)]&&(_0x3e44ca[0x0]|=0x40),_0x3e44ca[0x1]=_0x516f4f,_0x516f4f===0x7e?_0x3e44ca[_0x1a9c24(0x243)](_0x15c944,0x2):_0x516f4f===0x7f&&(_0x3e44ca[0x2]=_0x3e44ca[0x3]=0x0,_0x3e44ca['writeUIntBE'](_0x15c944,0x4,0x6)),_0x5b266d[_0x1a9c24(0x1fe)]?(_0x3e44ca[0x1]|=0x80,_0x3e44ca[_0x457b03-0x4]=_0x4db4c6[0x0],_0x3e44ca[_0x457b03-0x3]=_0x4db4c6[0x1],_0x3e44ca[_0x457b03-0x2]=_0x4db4c6[0x2],_0x3e44ca[_0x457b03-0x1]=_0x4db4c6[0x3],_0x3753a5?[_0x3e44ca,_0x100401]:_0x3562c8?(_0x2d4923(_0x100401,_0x4db4c6,_0x3e44ca,_0x457b03,_0x15c944),[_0x3e44ca]):(_0x2d4923(_0x100401,_0x4db4c6,_0x100401,0x0,_0x15c944),[_0x3e44ca,_0x100401])):[_0x3e44ca,_0x100401];}[_0x92ce01(0x28d)](_0x555771,_0x3be91b,_0x52a755,_0xc69424){const _0x1cddd5=_0x92ce01;let _0x186060;if(_0x555771===void 0x0)_0x186060=_0x12beca;else{if(typeof _0x555771!='number'||!_0x1f2b59(_0x555771))throw new TypeError(_0x1cddd5(0x27b));if(_0x3be91b===void 0x0||!_0x3be91b[_0x1cddd5(0x276)])_0x186060=Buffer[_0x1cddd5(0x125)](0x2),_0x186060[_0x1cddd5(0x243)](_0x555771,0x0);else{const _0x8d8c43=Buffer[_0x1cddd5(0x110)](_0x3be91b);if(_0x8d8c43>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x186060=Buffer[_0x1cddd5(0x125)](0x2+_0x8d8c43),_0x186060[_0x1cddd5(0x243)](_0x555771,0x0),typeof _0x3be91b==_0x1cddd5(0x18d)?_0x186060[_0x1cddd5(0x1df)](_0x3be91b,0x2):_0x186060[_0x1cddd5(0x146)](_0x3be91b,0x2);}}const _0x571dd3={[_0x17663b]:_0x186060[_0x1cddd5(0x276)],'fin':!0x0,'generateMask':this[_0x1cddd5(0x25e)],'mask':_0x52a755,'maskBuffer':this[_0x1cddd5(0x10e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1cddd5(0x1f5)]!==_0x5ec423?this[_0x1cddd5(0x22e)]([this[_0x1cddd5(0x15c)],_0x186060,!0x1,_0x571dd3,_0xc69424]):this[_0x1cddd5(0x12b)](_0x4a970a['frame'](_0x186060,_0x571dd3),_0xc69424);}[_0x92ce01(0x103)](_0x437df7,_0x2c5873,_0x1fa6c2){const _0x248158=_0x92ce01;let _0x385672,_0x4a6542;if(typeof _0x437df7=='string'?(_0x385672=Buffer['byteLength'](_0x437df7),_0x4a6542=!0x1):_0x50cb7d(_0x437df7)?(_0x385672=_0x437df7[_0x248158(0x187)],_0x4a6542=!0x1):(_0x437df7=_0x57ef3(_0x437df7),_0x385672=_0x437df7[_0x248158(0x276)],_0x4a6542=_0x57ef3['readOnly']),_0x385672>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x892d59={[_0x17663b]:_0x385672,'fin':!0x0,'generateMask':this[_0x248158(0x25e)],'mask':_0x2c5873,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4a6542,'rsv1':!0x1};_0x50cb7d(_0x437df7)?this[_0x248158(0x1f5)]!==_0x5ec423?this['enqueue']([this[_0x248158(0x120)],_0x437df7,!0x1,_0x892d59,_0x1fa6c2]):this[_0x248158(0x120)](_0x437df7,!0x1,_0x892d59,_0x1fa6c2):this[_0x248158(0x1f5)]!==_0x5ec423?this[_0x248158(0x22e)]([this[_0x248158(0x15c)],_0x437df7,!0x1,_0x892d59,_0x1fa6c2]):this[_0x248158(0x12b)](_0x4a970a[_0x248158(0x273)](_0x437df7,_0x892d59),_0x1fa6c2);}[_0x92ce01(0x209)](_0x2f3954,_0x35cf5a,_0x1c0088){const _0x27dd81=_0x92ce01;let _0x2e9710,_0x445ecf;if(typeof _0x2f3954==_0x27dd81(0x18d)?(_0x2e9710=Buffer[_0x27dd81(0x110)](_0x2f3954),_0x445ecf=!0x1):_0x50cb7d(_0x2f3954)?(_0x2e9710=_0x2f3954['size'],_0x445ecf=!0x1):(_0x2f3954=_0x57ef3(_0x2f3954),_0x2e9710=_0x2f3954[_0x27dd81(0x276)],_0x445ecf=_0x57ef3['readOnly']),_0x2e9710>0x7d)throw new RangeError(_0x27dd81(0x22c));const _0x3c5929={[_0x17663b]:_0x2e9710,'fin':!0x0,'generateMask':this[_0x27dd81(0x25e)],'mask':_0x35cf5a,'maskBuffer':this[_0x27dd81(0x10e)],'opcode':0xa,'readOnly':_0x445ecf,'rsv1':!0x1};_0x50cb7d(_0x2f3954)?this[_0x27dd81(0x1f5)]!==_0x5ec423?this['enqueue']([this[_0x27dd81(0x120)],_0x2f3954,!0x1,_0x3c5929,_0x1c0088]):this[_0x27dd81(0x120)](_0x2f3954,!0x1,_0x3c5929,_0x1c0088):this['_state']!==_0x5ec423?this[_0x27dd81(0x22e)]([this['dispatch'],_0x2f3954,!0x1,_0x3c5929,_0x1c0088]):this[_0x27dd81(0x12b)](_0x4a970a['frame'](_0x2f3954,_0x3c5929),_0x1c0088);}[_0x92ce01(0x18b)](_0x5f519c,_0x1e384d,_0x178015){const _0x5429a4=_0x92ce01,_0x181358=this[_0x5429a4(0x291)][_0x399856[_0x5429a4(0x2a3)]];let _0x276fd8=_0x1e384d['binary']?0x2:0x1,_0xb7ec36=_0x1e384d['compress'],_0x5f01c1,_0x4fe2e3;typeof _0x5f519c=='string'?(_0x5f01c1=Buffer[_0x5429a4(0x110)](_0x5f519c),_0x4fe2e3=!0x1):_0x50cb7d(_0x5f519c)?(_0x5f01c1=_0x5f519c['size'],_0x4fe2e3=!0x1):(_0x5f519c=_0x57ef3(_0x5f519c),_0x5f01c1=_0x5f519c[_0x5429a4(0x276)],_0x4fe2e3=_0x57ef3[_0x5429a4(0x282)]),this[_0x5429a4(0x228)]?(this['_firstFragment']=!0x1,_0xb7ec36&&_0x181358&&_0x181358[_0x5429a4(0x105)][_0x181358['_isServer']?_0x5429a4(0x20f):'client_no_context_takeover']&&(_0xb7ec36=_0x5f01c1>=_0x181358[_0x5429a4(0x137)]),this[_0x5429a4(0x27a)]=_0xb7ec36):(_0xb7ec36=!0x1,_0x276fd8=0x0),_0x1e384d[_0x5429a4(0x1ec)]&&(this['_firstFragment']=!0x0);const _0xa94006={[_0x17663b]:_0x5f01c1,'fin':_0x1e384d['fin'],'generateMask':this[_0x5429a4(0x25e)],'mask':_0x1e384d['mask'],'maskBuffer':this[_0x5429a4(0x10e)],'opcode':_0x276fd8,'readOnly':_0x4fe2e3,'rsv1':_0xb7ec36};_0x50cb7d(_0x5f519c)?this[_0x5429a4(0x1f5)]!==_0x5ec423?this[_0x5429a4(0x22e)]([this[_0x5429a4(0x120)],_0x5f519c,this[_0x5429a4(0x27a)],_0xa94006,_0x178015]):this[_0x5429a4(0x120)](_0x5f519c,this[_0x5429a4(0x27a)],_0xa94006,_0x178015):this[_0x5429a4(0x1f5)]!==_0x5ec423?this[_0x5429a4(0x22e)]([this['dispatch'],_0x5f519c,this['_compress'],_0xa94006,_0x178015]):this[_0x5429a4(0x15c)](_0x5f519c,this['_compress'],_0xa94006,_0x178015);}['getBlobData'](_0x57722b,_0x4dd774,_0x280425,_0xb3e875){const _0x22b0c3=_0x92ce01;this[_0x22b0c3(0x186)]+=_0x280425[_0x17663b],this[_0x22b0c3(0x1f5)]=_0xd325d9,_0x57722b[_0x22b0c3(0x204)]()[_0x22b0c3(0x293)](_0x698e86=>{const _0x227eb6=_0x22b0c3;if(this['_socket']['destroyed']){const _0x319420=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x227eb6(0x199)](_0x317235,this,_0x319420,_0xb3e875);return;}this[_0x227eb6(0x186)]-=_0x280425[_0x17663b];const _0x2a7359=_0x57ef3(_0x698e86);_0x4dd774?this['dispatch'](_0x2a7359,_0x4dd774,_0x280425,_0xb3e875):(this['_state']=_0x5ec423,this['sendFrame'](_0x4a970a['frame'](_0x2a7359,_0x280425),_0xb3e875),this[_0x227eb6(0x127)]());})[_0x22b0c3(0x11a)](_0x295a03=>{process['nextTick'](_0x398c3c,this,_0x295a03,_0xb3e875);});}[_0x92ce01(0x15c)](_0x4543c5,_0x4746c3,_0x58166a,_0x1009d2){const _0x4f53e4=_0x92ce01;if(!_0x4746c3){this['sendFrame'](_0x4a970a[_0x4f53e4(0x273)](_0x4543c5,_0x58166a),_0x1009d2);return;}const _0x51f7ea=this[_0x4f53e4(0x291)][_0x399856[_0x4f53e4(0x2a3)]];this['_bufferedBytes']+=_0x58166a[_0x17663b],this['_state']=_0x5d027e,_0x51f7ea[_0x4f53e4(0x1cd)](_0x4543c5,_0x58166a[_0x4f53e4(0x1ec)],(_0x41626a,_0x3196ce)=>{const _0x56a5e7=_0x4f53e4;if(this[_0x56a5e7(0x173)][_0x56a5e7(0x280)]){const _0x576a49=new Error(_0x56a5e7(0x1e5));_0x317235(this,_0x576a49,_0x1009d2);return;}this[_0x56a5e7(0x186)]-=_0x58166a[_0x17663b],this['_state']=_0x5ec423,_0x58166a[_0x56a5e7(0x282)]=!0x1,this[_0x56a5e7(0x12b)](_0x4a970a[_0x56a5e7(0x273)](_0x3196ce,_0x58166a),_0x1009d2),this['dequeue']();});}['dequeue'](){const _0x3f26f3=_0x92ce01;for(;this[_0x3f26f3(0x1f5)]===_0x5ec423&&this[_0x3f26f3(0x261)][_0x3f26f3(0x276)];){const _0x7c92f8=this['_queue']['shift']();this['_bufferedBytes']-=_0x7c92f8[0x3][_0x17663b],Reflect['apply'](_0x7c92f8[0x0],this,_0x7c92f8[_0x3f26f3(0x154)](0x1));}}[_0x92ce01(0x22e)](_0xddece1){const _0x57bc0d=_0x92ce01;this[_0x57bc0d(0x186)]+=_0xddece1[0x3][_0x17663b],this['_queue'][_0x57bc0d(0x132)](_0xddece1);}['sendFrame'](_0x35e4aa,_0x5538ef){const _0x3e47a7=_0x92ce01;_0x35e4aa['length']===0x2?(this[_0x3e47a7(0x173)][_0x3e47a7(0x157)](),this['_socket']['write'](_0x35e4aa[0x0]),this[_0x3e47a7(0x173)]['write'](_0x35e4aa[0x1],_0x5538ef),this[_0x3e47a7(0x173)][_0x3e47a7(0x29e)]()):this['_socket'][_0x3e47a7(0x1df)](_0x35e4aa[0x0],_0x5538ef);}}Ee=_0x4a970a;function _0x317235(_0x24f615,_0xd94a38,_0x49e076){const _0x1b07e2=_0x92ce01;typeof _0x49e076==_0x1b07e2(0x29a)&&_0x49e076(_0xd94a38);for(let _0x4aec7f=0x0;_0x4aec7f<_0x24f615['_queue'][_0x1b07e2(0x276)];_0x4aec7f++){const _0x5d7208=_0x24f615[_0x1b07e2(0x261)][_0x4aec7f],_0x1b540c=_0x5d7208[_0x5d7208[_0x1b07e2(0x276)]-0x1];typeof _0x1b540c==_0x1b07e2(0x29a)&&_0x1b540c(_0xd94a38);}}function _0x398c3c(_0x521f97,_0x315278,_0x25a75e){const _0x1d6f09=_0x92ce01;_0x317235(_0x521f97,_0x315278,_0x25a75e),_0x521f97[_0x1d6f09(0x1db)](_0x315278);}return Ee;}var xe,tt;function Kt(){const _0x258787=_0x3d72a4;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x337ad7,kListener:_0x5c0b76}=V(),_0x264acb=Symbol(_0x258787(0x13a)),_0x61e7b2=Symbol('kData'),_0xd823cb=Symbol(_0x258787(0x195)),_0xf6c131=Symbol(_0x258787(0x123)),_0x50e086=Symbol(_0x258787(0x13d)),_0x90e5c8=Symbol(_0x258787(0x197)),_0x389e8d=Symbol(_0x258787(0x239)),_0x6b4339=Symbol(_0x258787(0x1c0));class _0x46b288{constructor(_0xb5c77a){this[_0x90e5c8]=null,this[_0x389e8d]=_0xb5c77a;}get['target'](){return this[_0x90e5c8];}get['type'](){return this[_0x389e8d];}}Object[_0x258787(0x175)](_0x46b288['prototype'],'target',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0x46b288['prototype'],'type',{'enumerable':!0x0});class _0xd62125 extends _0x46b288{constructor(_0x593591,_0x2f54b1={}){const _0x3a7a2a=_0x258787;super(_0x593591),this[_0x264acb]=_0x2f54b1[_0x3a7a2a(0x147)]===void 0x0?0x0:_0x2f54b1[_0x3a7a2a(0x147)],this[_0x50e086]=_0x2f54b1[_0x3a7a2a(0x174)]===void 0x0?'':_0x2f54b1[_0x3a7a2a(0x174)],this[_0x6b4339]=_0x2f54b1[_0x3a7a2a(0x20a)]===void 0x0?!0x1:_0x2f54b1[_0x3a7a2a(0x20a)];}get['code'](){return this[_0x264acb];}get[_0x258787(0x174)](){return this[_0x50e086];}get[_0x258787(0x20a)](){return this[_0x6b4339];}}Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],'code',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],'reason',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],_0x258787(0x20a),{'enumerable':!0x0});class _0x334b8a extends _0x46b288{constructor(_0x263958,_0x4434c2={}){const _0x36841f=_0x258787;super(_0x263958),this[_0xd823cb]=_0x4434c2[_0x36841f(0x171)]===void 0x0?null:_0x4434c2[_0x36841f(0x171)],this[_0xf6c131]=_0x4434c2[_0x36841f(0x16a)]===void 0x0?'':_0x4434c2[_0x36841f(0x16a)];}get[_0x258787(0x171)](){return this[_0xd823cb];}get['message'](){return this[_0xf6c131];}}Object[_0x258787(0x175)](_0x334b8a[_0x258787(0x14f)],_0x258787(0x171),{'enumerable':!0x0}),Object[_0x258787(0x175)](_0x334b8a[_0x258787(0x14f)],_0x258787(0x16a),{'enumerable':!0x0});class _0x259cc6 extends _0x46b288{constructor(_0x590b37,_0x3ddc00={}){const _0x4035b3=_0x258787;super(_0x590b37),this[_0x61e7b2]=_0x3ddc00[_0x4035b3(0x23a)]===void 0x0?null:_0x3ddc00['data'];}get[_0x258787(0x23a)](){return this[_0x61e7b2];}}Object['defineProperty'](_0x259cc6[_0x258787(0x14f)],_0x258787(0x23a),{'enumerable':!0x0}),xe={'CloseEvent':_0xd62125,'ErrorEvent':_0x334b8a,'Event':_0x46b288,'EventTarget':{'addEventListener'(_0x57d673,_0xc5c5d2,_0x3d33e0={}){const _0x15aa5f=_0x258787;for(const _0x35a89a of this[_0x15aa5f(0xf5)](_0x57d673))if(!_0x3d33e0[_0x337ad7]&&_0x35a89a[_0x5c0b76]===_0xc5c5d2&&!_0x35a89a[_0x337ad7])return;let _0x5af852;if(_0x57d673==='message')_0x5af852=function(_0x5995d5,_0x267079){const _0x52c809=_0x15aa5f,_0x746e9f=new _0x259cc6(_0x52c809(0x16a),{'data':_0x267079?_0x5995d5:_0x5995d5['toString']()});_0x746e9f[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x746e9f);};else{if(_0x57d673===_0x15aa5f(0x28d))_0x5af852=function(_0x299128,_0x44c13b){const _0x3746e9=_0x15aa5f,_0x220408=new _0xd62125(_0x3746e9(0x28d),{'code':_0x299128,'reason':_0x44c13b[_0x3746e9(0x1b4)](),'wasClean':this[_0x3746e9(0x11f)]&&this['_closeFrameSent']});_0x220408[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x220408);};else{if(_0x57d673==='error')_0x5af852=function(_0x227ef6){const _0x316f21=_0x15aa5f,_0x4632c3=new _0x334b8a(_0x316f21(0x171),{'error':_0x227ef6,'message':_0x227ef6[_0x316f21(0x16a)]});_0x4632c3[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x4632c3);};else{if(_0x57d673===_0x15aa5f(0x201))_0x5af852=function(){const _0x4df49a=new _0x46b288('open');_0x4df49a[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x4df49a);};else return;}}}_0x5af852[_0x337ad7]=!!_0x3d33e0[_0x337ad7],_0x5af852[_0x5c0b76]=_0xc5c5d2,_0x3d33e0[_0x15aa5f(0x278)]?this[_0x15aa5f(0x278)](_0x57d673,_0x5af852):this['on'](_0x57d673,_0x5af852);},'removeEventListener'(_0x4e942c,_0x16e9fb){const _0x30c5fe=_0x258787;for(const _0x4c350e of this[_0x30c5fe(0xf5)](_0x4e942c))if(_0x4c350e[_0x5c0b76]===_0x16e9fb&&!_0x4c350e[_0x337ad7]){this[_0x30c5fe(0x2a0)](_0x4e942c,_0x4c350e);break;}}},'MessageEvent':_0x259cc6};function _0xc19823(_0xdaab3c,_0x2824f0,_0x5b0a14){const _0x4631f4=_0x258787;typeof _0xdaab3c=='object'&&_0xdaab3c['handleEvent']?_0xdaab3c[_0x4631f4(0x237)]['call'](_0xdaab3c,_0x5b0a14):_0xdaab3c['call'](_0x2824f0,_0x5b0a14);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4dc3ac}=ne();function _0x1009d1(_0x52503a,_0x4ea7a8,_0x51a35e){const _0x53b2e0=_0x1936;_0x52503a[_0x4ea7a8]===void 0x0?_0x52503a[_0x4ea7a8]=[_0x51a35e]:_0x52503a[_0x4ea7a8][_0x53b2e0(0x132)](_0x51a35e);}function _0x216554(_0x2e54aa){const _0x9bc807=_0x1936,_0x3f13c5=Object[_0x9bc807(0x233)](null);let _0x3abe53=Object[_0x9bc807(0x233)](null),_0x26992d=!0x1,_0x486a17=!0x1,_0x433442=!0x1,_0x575b11,_0xa532d,_0x9e2d42=-0x1,_0x28ffef=-0x1,_0x5ce55b=-0x1,_0x4a74d4=0x0;for(;_0x4a74d4<_0x2e54aa[_0x9bc807(0x276)];_0x4a74d4++)if(_0x28ffef=_0x2e54aa[_0x9bc807(0x25c)](_0x4a74d4),_0x575b11===void 0x0){if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x4a74d4!==0x0&&(_0x28ffef===0x20||_0x28ffef===0x9))_0x5ce55b===-0x1&&_0x9e2d42!==-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);const _0x251341=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x5ce55b);_0x28ffef===0x2c?(_0x1009d1(_0x3f13c5,_0x251341,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null)):_0x575b11=_0x251341,_0x9e2d42=_0x5ce55b=-0x1;}else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}else{if(_0xa532d===void 0x0){if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x28ffef===0x20||_0x28ffef===0x9)_0x5ce55b===-0x1&&_0x9e2d42!==-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4),_0x1009d1(_0x3abe53,_0x2e54aa['slice'](_0x9e2d42,_0x5ce55b),!0x0),_0x28ffef===0x2c&&(_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null),_0x575b11=void 0x0),_0x9e2d42=_0x5ce55b=-0x1;}else{if(_0x28ffef===0x3d&&_0x9e2d42!==-0x1&&_0x5ce55b===-0x1)_0xa532d=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x4a74d4),_0x9e2d42=_0x5ce55b=-0x1;else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}}else{if(_0x486a17){if(_0x4dc3ac[_0x28ffef]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a74d4);_0x9e2d42===-0x1?_0x9e2d42=_0x4a74d4:_0x26992d||(_0x26992d=!0x0),_0x486a17=!0x1;}else{if(_0x433442){if(_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x28ffef===0x22&&_0x9e2d42!==-0x1)_0x433442=!0x1,_0x5ce55b=_0x4a74d4;else{if(_0x28ffef===0x5c)_0x486a17=!0x0;else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}else{if(_0x28ffef===0x22&&_0x2e54aa[_0x9bc807(0x25c)](_0x4a74d4-0x1)===0x3d)_0x433442=!0x0;else{if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x9e2d42!==-0x1&&(_0x28ffef===0x20||_0x28ffef===0x9))_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);let _0x121c3f=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x5ce55b);_0x26992d&&(_0x121c3f=_0x121c3f['replace'](/\\/g,''),_0x26992d=!0x1),_0x1009d1(_0x3abe53,_0xa532d,_0x121c3f),_0x28ffef===0x2c&&(_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null),_0x575b11=void 0x0),_0xa532d=void 0x0,_0x9e2d42=_0x5ce55b=-0x1;}else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}}}}}if(_0x9e2d42===-0x1||_0x433442||_0x28ffef===0x20||_0x28ffef===0x9)throw new SyntaxError(_0x9bc807(0x1a0));_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);const _0x2d60c9=_0x2e54aa['slice'](_0x9e2d42,_0x5ce55b);return _0x575b11===void 0x0?_0x1009d1(_0x3f13c5,_0x2d60c9,_0x3abe53):(_0xa532d===void 0x0?_0x1009d1(_0x3abe53,_0x2d60c9,!0x0):_0x26992d?_0x1009d1(_0x3abe53,_0xa532d,_0x2d60c9['replace'](/\\/g,'')):_0x1009d1(_0x3abe53,_0xa532d,_0x2d60c9),_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53)),_0x3f13c5;}function _0x4fee05(_0x1f7d92){const _0x428fa1=_0x1936;return Object[_0x428fa1(0x1fa)](_0x1f7d92)[_0x428fa1(0x17d)](_0x5cf690=>{const _0x38b1db=_0x428fa1;let _0x42c3f3=_0x1f7d92[_0x5cf690];return Array[_0x38b1db(0x225)](_0x42c3f3)||(_0x42c3f3=[_0x42c3f3]),_0x42c3f3['map'](_0x4d293e=>[_0x5cf690][_0x38b1db(0x1bf)](Object['keys'](_0x4d293e)[_0x38b1db(0x17d)](_0x38e569=>{const _0x22fa42=_0x38b1db;let _0x115fc6=_0x4d293e[_0x38e569];return Array[_0x22fa42(0x225)](_0x115fc6)||(_0x115fc6=[_0x115fc6]),_0x115fc6[_0x22fa42(0x17d)](_0x4e406c=>_0x4e406c===!0x0?_0x38e569:_0x38e569+'='+_0x4e406c)[_0x22fa42(0x1fc)](';\x20');}))[_0x38b1db(0x1fc)](';\x20'))[_0x38b1db(0x1fc)](',\x20');})['join'](',\x20');}return be={'format':_0x4fee05,'parse':_0x216554},be;}var we,st;function Ie(){const _0x268043=_0x3d72a4;if(st)return we;st=0x1;const _0x261b3a=_0x268bbd,_0x5a0a92=_0x3d52ba,_0x3629f8=_0x3896f7,_0x730561=_0x123a29,_0x194af6=_0x132984,{randomBytes:_0x442d99,createHash:_0x9b1b11}=_0x4426fe,{Duplex:_0x515267,Readable:_0x2be6ae}=_0x148c11,{URL:_0x383144}=_0x3435c0,_0x151b4d=he(),_0x3280de=dt(),_0x5a43d9=_t(),{isBlob:_0x5417e5}=ne(),{BINARY_TYPES:_0x491ab9,EMPTY_BUFFER:_0x8b3c68,GUID:_0x44a1c2,kForOnEventAttribute:_0x3c8e4e,kListener:_0x2ab286,kStatusCode:_0x3041d3,kWebSocket:_0x505062,NOOP:_0x5ce3e3}=V(),{EventTarget:{addEventListener:_0x3090b6,removeEventListener:_0x4e7476}}=Kt(),{format:_0x56dd86,parse:_0x42aeb9}=pt(),{toBuffer:_0x4d2555}=ce(),_0x2d60f8=0x1e*0x3e8,_0xd0019c=Symbol('kAborted'),_0x2837a7=[0x8,0xd],_0x253407=['CONNECTING','OPEN',_0x268043(0x287),_0x268043(0x29c)],_0x45157d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f79c3 extends _0x261b3a{constructor(_0x4ea7f3,_0x551b9f,_0x123a65){const _0xf3aba6=_0x268043;super(),this[_0xf3aba6(0x20c)]=_0x491ab9[0x0],this[_0xf3aba6(0x180)]=0x3ee,this[_0xf3aba6(0x11f)]=!0x1,this[_0xf3aba6(0x10f)]=!0x1,this[_0xf3aba6(0x27f)]=_0x8b3c68,this['_closeTimer']=null,this[_0xf3aba6(0x11c)]=!0x1,this[_0xf3aba6(0x291)]={},this['_paused']=!0x1,this[_0xf3aba6(0x11e)]='',this[_0xf3aba6(0x1b2)]=_0x1f79c3[_0xf3aba6(0x274)],this[_0xf3aba6(0x275)]=null,this[_0xf3aba6(0xf6)]=null,this['_socket']=null,_0x4ea7f3!==null?(this[_0xf3aba6(0xf2)]=0x0,this[_0xf3aba6(0x159)]=!0x1,this[_0xf3aba6(0x14c)]=0x0,_0x551b9f===void 0x0?_0x551b9f=[]:Array[_0xf3aba6(0x225)](_0x551b9f)||(typeof _0x551b9f==_0xf3aba6(0x19f)&&_0x551b9f!==null?(_0x123a65=_0x551b9f,_0x551b9f=[]):_0x551b9f=[_0x551b9f]),_0x2938f0(this,_0x4ea7f3,_0x551b9f,_0x123a65)):(this[_0xf3aba6(0xfb)]=_0x123a65[_0xf3aba6(0x102)],this[_0xf3aba6(0x159)]=!0x0);}get[_0x268043(0x1fd)](){const _0x507f4f=_0x268043;return this[_0x507f4f(0x20c)];}set[_0x268043(0x1fd)](_0x584fd1){const _0x4ed94e=_0x268043;_0x491ab9[_0x4ed94e(0x265)](_0x584fd1)&&(this[_0x4ed94e(0x20c)]=_0x584fd1,this[_0x4ed94e(0x275)]&&(this['_receiver'][_0x4ed94e(0x20c)]=_0x584fd1));}get['bufferedAmount'](){const _0x3267fd=_0x268043;return this[_0x3267fd(0x173)]?this[_0x3267fd(0x173)][_0x3267fd(0x1a3)][_0x3267fd(0x276)]+this[_0x3267fd(0xf6)][_0x3267fd(0x186)]:this[_0x3267fd(0xf2)];}get[_0x268043(0x26f)](){const _0x2f0ed9=_0x268043;return Object['keys'](this[_0x2f0ed9(0x291)])[_0x2f0ed9(0x1fc)]();}get['isPaused'](){const _0x1f290e=_0x268043;return this[_0x1f290e(0x107)];}get[_0x268043(0x13b)](){return null;}get[_0x268043(0x1db)](){return null;}get[_0x268043(0x208)](){return null;}get[_0x268043(0x247)](){return null;}get[_0x268043(0x1f2)](){const _0x1cf660=_0x268043;return this[_0x1cf660(0x11e)];}get[_0x268043(0x1ac)](){const _0x1c9c55=_0x268043;return this[_0x1c9c55(0x1b2)];}get[_0x268043(0x15d)](){const _0x36febe=_0x268043;return this[_0x36febe(0x1ca)];}[_0x268043(0x26a)](_0x232216,_0x1c6ad2,_0x562266){const _0x29adfc=_0x268043,_0x1c8894=new _0x3280de({'allowSynchronousEvents':_0x562266[_0x29adfc(0x1d0)],'binaryType':this[_0x29adfc(0x1fd)],'extensions':this[_0x29adfc(0x291)],'isServer':this['_isServer'],'maxPayload':_0x562266[_0x29adfc(0x169)],'skipUTF8Validation':_0x562266[_0x29adfc(0x1ab)]}),_0x383134=new _0x5a43d9(_0x232216,this['_extensions'],_0x562266[_0x29adfc(0x285)]);this[_0x29adfc(0x275)]=_0x1c8894,this[_0x29adfc(0xf6)]=_0x383134,this[_0x29adfc(0x173)]=_0x232216,_0x1c8894[_0x505062]=this,_0x383134[_0x505062]=this,_0x232216[_0x505062]=this,_0x1c8894['on'](_0x29adfc(0x1c8),_0x20fd77),_0x1c8894['on'](_0x29adfc(0x26e),_0x2c543a),_0x1c8894['on'](_0x29adfc(0x171),_0xbac3fb),_0x1c8894['on'](_0x29adfc(0x16a),_0xe7a077),_0x1c8894['on'](_0x29adfc(0x103),_0x2446ac),_0x1c8894['on'](_0x29adfc(0x209),_0x560453),_0x383134[_0x29adfc(0x1db)]=_0x10a80e,_0x232216['setTimeout']&&_0x232216[_0x29adfc(0x1ea)](0x0),_0x232216[_0x29adfc(0x1e8)]&&_0x232216[_0x29adfc(0x1e8)](),_0x1c6ad2['length']>0x0&&_0x232216[_0x29adfc(0x1ef)](_0x1c6ad2),_0x232216['on'](_0x29adfc(0x28d),_0x4487c4),_0x232216['on']('data',_0x2d46e0),_0x232216['on'](_0x29adfc(0x294),_0x485510),_0x232216['on'](_0x29adfc(0x171),_0x4f5ba6),this['_readyState']=_0x1f79c3['OPEN'],this['emit']('open');}[_0x268043(0x193)](){const _0x1c0e85=_0x268043;if(!this[_0x1c0e85(0x173)]){this[_0x1c0e85(0x1b2)]=_0x1f79c3['CLOSED'],this[_0x1c0e85(0x254)]('close',this['_closeCode'],this[_0x1c0e85(0x27f)]);return;}this[_0x1c0e85(0x291)][_0x151b4d[_0x1c0e85(0x2a3)]]&&this[_0x1c0e85(0x291)][_0x151b4d[_0x1c0e85(0x2a3)]][_0x1c0e85(0x269)](),this[_0x1c0e85(0x275)]['removeAllListeners'](),this[_0x1c0e85(0x1b2)]=_0x1f79c3[_0x1c0e85(0x29c)],this[_0x1c0e85(0x254)](_0x1c0e85(0x28d),this[_0x1c0e85(0x180)],this['_closeMessage']);}[_0x268043(0x28d)](_0x27bde2,_0x31db89){const _0x1e769c=_0x268043;if(this[_0x1e769c(0x1ac)]!==_0x1f79c3[_0x1e769c(0x29c)]){if(this[_0x1e769c(0x1ac)]===_0x1f79c3[_0x1e769c(0x274)]){_0x1cb01f(this,this[_0x1e769c(0x230)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x1f79c3[_0x1e769c(0x287)]){this[_0x1e769c(0x10f)]&&(this[_0x1e769c(0x11f)]||this['_receiver'][_0x1e769c(0x1a3)]['errorEmitted'])&&this[_0x1e769c(0x173)][_0x1e769c(0x294)]();return;}this['_readyState']=_0x1f79c3['CLOSING'],this[_0x1e769c(0xf6)][_0x1e769c(0x28d)](_0x27bde2,_0x31db89,!this[_0x1e769c(0x159)],_0x1e7e9b=>{const _0x28bd7d=_0x1e769c;_0x1e7e9b||(this['_closeFrameSent']=!0x0,(this[_0x28bd7d(0x11f)]||this[_0x28bd7d(0x275)]['_writableState'][_0x28bd7d(0x23c)])&&this[_0x28bd7d(0x173)][_0x28bd7d(0x294)]());}),_0x13785b(this);}}[_0x268043(0x150)](){const _0x7c8590=_0x268043;this['readyState']===_0x1f79c3[_0x7c8590(0x274)]||this[_0x7c8590(0x1ac)]===_0x1f79c3[_0x7c8590(0x29c)]||(this[_0x7c8590(0x107)]=!0x0,this[_0x7c8590(0x173)][_0x7c8590(0x150)]());}['ping'](_0x1886da,_0x52a353,_0x29fc65){const _0x1ae346=_0x268043;if(this['readyState']===_0x1f79c3[_0x1ae346(0x274)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1886da==_0x1ae346(0x29a)?(_0x29fc65=_0x1886da,_0x1886da=_0x52a353=void 0x0):typeof _0x52a353==_0x1ae346(0x29a)&&(_0x29fc65=_0x52a353,_0x52a353=void 0x0),typeof _0x1886da==_0x1ae346(0x1d2)&&(_0x1886da=_0x1886da['toString']()),this[_0x1ae346(0x1ac)]!==_0x1f79c3[_0x1ae346(0x1cf)]){_0x20293a(this,_0x1886da,_0x29fc65);return;}_0x52a353===void 0x0&&(_0x52a353=!this[_0x1ae346(0x159)]),this[_0x1ae346(0xf6)][_0x1ae346(0x103)](_0x1886da||_0x8b3c68,_0x52a353,_0x29fc65);}[_0x268043(0x209)](_0x1786a9,_0x580a17,_0x401bc4){const _0x230aa3=_0x268043;if(this[_0x230aa3(0x1ac)]===_0x1f79c3['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1786a9==_0x230aa3(0x29a)?(_0x401bc4=_0x1786a9,_0x1786a9=_0x580a17=void 0x0):typeof _0x580a17=='function'&&(_0x401bc4=_0x580a17,_0x580a17=void 0x0),typeof _0x1786a9=='number'&&(_0x1786a9=_0x1786a9[_0x230aa3(0x1b4)]()),this[_0x230aa3(0x1ac)]!==_0x1f79c3['OPEN']){_0x20293a(this,_0x1786a9,_0x401bc4);return;}_0x580a17===void 0x0&&(_0x580a17=!this['_isServer']),this[_0x230aa3(0xf6)][_0x230aa3(0x209)](_0x1786a9||_0x8b3c68,_0x580a17,_0x401bc4);}['resume'](){const _0x14f819=_0x268043;this[_0x14f819(0x1ac)]===_0x1f79c3[_0x14f819(0x274)]||this[_0x14f819(0x1ac)]===_0x1f79c3[_0x14f819(0x29c)]||(this[_0x14f819(0x107)]=!0x1,this[_0x14f819(0x275)]['_writableState'][_0x14f819(0x21f)]||this['_socket'][_0x14f819(0x27c)]());}['send'](_0x564d2a,_0x350a5e,_0xc24677){const _0x25faf9=_0x268043;if(this[_0x25faf9(0x1ac)]===_0x1f79c3[_0x25faf9(0x274)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x350a5e==_0x25faf9(0x29a)&&(_0xc24677=_0x350a5e,_0x350a5e={}),typeof _0x564d2a==_0x25faf9(0x1d2)&&(_0x564d2a=_0x564d2a[_0x25faf9(0x1b4)]()),this['readyState']!==_0x1f79c3[_0x25faf9(0x1cf)]){_0x20293a(this,_0x564d2a,_0xc24677);return;}const _0x48acbd={'binary':typeof _0x564d2a!='string','mask':!this[_0x25faf9(0x159)],'compress':!0x0,'fin':!0x0,..._0x350a5e};this[_0x25faf9(0x291)][_0x151b4d[_0x25faf9(0x2a3)]]||(_0x48acbd[_0x25faf9(0x1cd)]=!0x1),this['_sender'][_0x25faf9(0x18b)](_0x564d2a||_0x8b3c68,_0x48acbd,_0xc24677);}[_0x268043(0x116)](){const _0x3b0fd0=_0x268043;if(this[_0x3b0fd0(0x1ac)]!==_0x1f79c3['CLOSED']){if(this[_0x3b0fd0(0x1ac)]===_0x1f79c3['CONNECTING']){_0x1cb01f(this,this['_req'],_0x3b0fd0(0x12d));return;}this['_socket']&&(this[_0x3b0fd0(0x1b2)]=_0x1f79c3['CLOSING'],this[_0x3b0fd0(0x173)][_0x3b0fd0(0x238)]());}}}Object['defineProperty'](_0x1f79c3,_0x268043(0x274),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)]('CONNECTING')}),Object[_0x268043(0x175)](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x274),{'enumerable':!0x0,'value':_0x253407['indexOf'](_0x268043(0x274))}),Object[_0x268043(0x175)](_0x1f79c3,'OPEN',{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x1cf))}),Object[_0x268043(0x175)](_0x1f79c3['prototype'],_0x268043(0x1cf),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x1cf))}),Object[_0x268043(0x175)](_0x1f79c3,_0x268043(0x287),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x287))}),Object['defineProperty'](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x287),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x287))}),Object[_0x268043(0x175)](_0x1f79c3,_0x268043(0x29c),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x29c))}),Object[_0x268043(0x175)](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x29c),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x29c))}),[_0x268043(0x1fd),_0x268043(0x13f),_0x268043(0x26f),_0x268043(0x1ba),'protocol',_0x268043(0x1ac),'url']['forEach'](_0x5cae70=>{const _0xd9ed98=_0x268043;Object[_0xd9ed98(0x175)](_0x1f79c3['prototype'],_0x5cae70,{'enumerable':!0x0});}),[_0x268043(0x201),'error',_0x268043(0x28d),'message'][_0x268043(0x135)](_0x2f0349=>{const _0x19afd7=_0x268043;Object['defineProperty'](_0x1f79c3[_0x19afd7(0x14f)],'on'+_0x2f0349,{'enumerable':!0x0,'get'(){for(const _0x5c09e3 of this['listeners'](_0x2f0349))if(_0x5c09e3[_0x3c8e4e])return _0x5c09e3[_0x2ab286];return null;},'set'(_0x4b3402){const _0x31f987=_0x19afd7;for(const _0x35c532 of this[_0x31f987(0xf5)](_0x2f0349))if(_0x35c532[_0x3c8e4e]){this[_0x31f987(0x2a0)](_0x2f0349,_0x35c532);break;}typeof _0x4b3402=='function'&&this[_0x31f987(0x100)](_0x2f0349,_0x4b3402,{[_0x3c8e4e]:!0x0});}});}),_0x1f79c3[_0x268043(0x14f)][_0x268043(0x100)]=_0x3090b6,_0x1f79c3[_0x268043(0x14f)]['removeEventListener']=_0x4e7476,we=_0x1f79c3;function _0x2938f0(_0x3e46e3,_0x384a05,_0x58526f,_0x3bf62d){const _0x1b47f9=_0x268043,_0x5b6bf6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2837a7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3bf62d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e46e3[_0x1b47f9(0xfb)]=_0x5b6bf6[_0x1b47f9(0x102)],!_0x2837a7[_0x1b47f9(0x265)](_0x5b6bf6[_0x1b47f9(0x161)]))throw new RangeError(_0x1b47f9(0x170)+_0x5b6bf6['protocolVersion']+_0x1b47f9(0x29d)+_0x2837a7[_0x1b47f9(0x1fc)](',\x20')+')');let _0x58fb62;if(_0x384a05 instanceof _0x383144)_0x58fb62=_0x384a05;else try{_0x58fb62=new _0x383144(_0x384a05);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x384a05);}_0x58fb62[_0x1b47f9(0x1f2)]===_0x1b47f9(0x1f8)?_0x58fb62['protocol']=_0x1b47f9(0x288):_0x58fb62['protocol']===_0x1b47f9(0x185)&&(_0x58fb62[_0x1b47f9(0x1f2)]=_0x1b47f9(0x198)),_0x3e46e3['_url']=_0x58fb62[_0x1b47f9(0x1dc)];const _0xfbe7a6=_0x58fb62['protocol']===_0x1b47f9(0x198),_0x2e7c38=_0x58fb62['protocol']==='ws+unix:';let _0x104ccf;if(_0x58fb62['protocol']!==_0x1b47f9(0x288)&&!_0xfbe7a6&&!_0x2e7c38?_0x104ccf='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':_0x2e7c38&&!_0x58fb62[_0x1b47f9(0x12c)]?_0x104ccf='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x58fb62[_0x1b47f9(0x1f9)]&&(_0x104ccf='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x104ccf){const _0x574c45=new SyntaxError(_0x104ccf);if(_0x3e46e3[_0x1b47f9(0x14c)]===0x0)throw _0x574c45;_0x2470f3(_0x3e46e3,_0x574c45);return;}const _0x402d7a=_0xfbe7a6?0x1bb:0x50,_0x46c1c0=_0x442d99(0x10)[_0x1b47f9(0x1b4)](_0x1b47f9(0x24d)),_0x33d326=_0xfbe7a6?_0x5a0a92[_0x1b47f9(0x227)]:_0x3629f8[_0x1b47f9(0x227)],_0x4d6709=new Set();let _0xabd5cc;if(_0x5b6bf6['createConnection']=_0x5b6bf6[_0x1b47f9(0x21c)]||(_0xfbe7a6?_0x236f54:_0x52857a),_0x5b6bf6[_0x1b47f9(0x1c7)]=_0x5b6bf6[_0x1b47f9(0x1c7)]||_0x402d7a,_0x5b6bf6['port']=_0x58fb62[_0x1b47f9(0x26b)]||_0x402d7a,_0x5b6bf6[_0x1b47f9(0x298)]=_0x58fb62[_0x1b47f9(0x1da)][_0x1b47f9(0x250)]('[')?_0x58fb62[_0x1b47f9(0x1da)][_0x1b47f9(0x154)](0x1,-0x1):_0x58fb62[_0x1b47f9(0x1da)],_0x5b6bf6[_0x1b47f9(0x12f)]={..._0x5b6bf6['headers'],'Sec-WebSocket-Version':_0x5b6bf6['protocolVersion'],'Sec-WebSocket-Key':_0x46c1c0,'Connection':_0x1b47f9(0x183),'Upgrade':_0x1b47f9(0x203)},_0x5b6bf6['path']=_0x58fb62[_0x1b47f9(0x12c)]+_0x58fb62['search'],_0x5b6bf6[_0x1b47f9(0x25f)]=_0x5b6bf6[_0x1b47f9(0x1aa)],_0x5b6bf6[_0x1b47f9(0x251)]&&(_0xabd5cc=new _0x151b4d(_0x5b6bf6[_0x1b47f9(0x251)]!==!0x0?_0x5b6bf6[_0x1b47f9(0x251)]:{},!0x1,_0x5b6bf6['maxPayload']),_0x5b6bf6['headers'][_0x1b47f9(0x12a)]=_0x56dd86({[_0x151b4d['extensionName']]:_0xabd5cc['offer']()})),_0x58526f['length']){for(const _0x569614 of _0x58526f){if(typeof _0x569614!='string'||!_0x45157d[_0x1b47f9(0x104)](_0x569614)||_0x4d6709['has'](_0x569614))throw new SyntaxError(_0x1b47f9(0x281));_0x4d6709[_0x1b47f9(0x1e1)](_0x569614);}_0x5b6bf6['headers'][_0x1b47f9(0x19e)]=_0x58526f[_0x1b47f9(0x1fc)](',');}if(_0x5b6bf6[_0x1b47f9(0x15f)]&&(_0x5b6bf6[_0x1b47f9(0x161)]<0xd?_0x5b6bf6['headers'][_0x1b47f9(0x221)]=_0x5b6bf6['origin']:_0x5b6bf6[_0x1b47f9(0x12f)]['Origin']=_0x5b6bf6[_0x1b47f9(0x15f)]),(_0x58fb62['username']||_0x58fb62[_0x1b47f9(0x249)])&&(_0x5b6bf6[_0x1b47f9(0x145)]=_0x58fb62[_0x1b47f9(0x13e)]+':'+_0x58fb62[_0x1b47f9(0x249)]),_0x2e7c38){const _0x117e49=_0x5b6bf6[_0x1b47f9(0x163)][_0x1b47f9(0x1f4)](':');_0x5b6bf6[_0x1b47f9(0x28f)]=_0x117e49[0x0],_0x5b6bf6[_0x1b47f9(0x163)]=_0x117e49[0x1];}let _0x4ef6a4;if(_0x5b6bf6[_0x1b47f9(0x196)]){if(_0x3e46e3['_redirects']===0x0){_0x3e46e3[_0x1b47f9(0x1af)]=_0x2e7c38,_0x3e46e3['_originalSecure']=_0xfbe7a6,_0x3e46e3[_0x1b47f9(0x2a2)]=_0x2e7c38?_0x5b6bf6['socketPath']:_0x58fb62[_0x1b47f9(0x298)];const _0x2a1878=_0x3bf62d&&_0x3bf62d[_0x1b47f9(0x12f)];if(_0x3bf62d={..._0x3bf62d,'headers':{}},_0x2a1878){for(const [_0x35f412,_0x3c41f2]of Object[_0x1b47f9(0x1e3)](_0x2a1878))_0x3bf62d[_0x1b47f9(0x12f)][_0x35f412[_0x1b47f9(0x235)]()]=_0x3c41f2;}}else{if(_0x3e46e3['listenerCount'](_0x1b47f9(0x223))===0x0){const _0x1d811c=_0x2e7c38?_0x3e46e3[_0x1b47f9(0x1af)]?_0x5b6bf6['socketPath']===_0x3e46e3[_0x1b47f9(0x2a2)]:!0x1:_0x3e46e3[_0x1b47f9(0x1af)]?!0x1:_0x58fb62['host']===_0x3e46e3[_0x1b47f9(0x2a2)];(!_0x1d811c||_0x3e46e3['_originalSecure']&&!_0xfbe7a6)&&(delete _0x5b6bf6[_0x1b47f9(0x12f)]['authorization'],delete _0x5b6bf6[_0x1b47f9(0x12f)][_0x1b47f9(0x115)],_0x1d811c||delete _0x5b6bf6[_0x1b47f9(0x12f)][_0x1b47f9(0x298)],_0x5b6bf6[_0x1b47f9(0x145)]=void 0x0);}}_0x5b6bf6['auth']&&!_0x3bf62d[_0x1b47f9(0x12f)][_0x1b47f9(0x181)]&&(_0x3bf62d['headers'][_0x1b47f9(0x181)]='Basic\x20'+Buffer[_0x1b47f9(0x212)](_0x5b6bf6[_0x1b47f9(0x145)])[_0x1b47f9(0x1b4)](_0x1b47f9(0x24d))),_0x4ef6a4=_0x3e46e3[_0x1b47f9(0x230)]=_0x33d326(_0x5b6bf6),_0x3e46e3[_0x1b47f9(0x14c)]&&_0x3e46e3[_0x1b47f9(0x254)]('redirect',_0x3e46e3[_0x1b47f9(0x15d)],_0x4ef6a4);}else _0x4ef6a4=_0x3e46e3[_0x1b47f9(0x230)]=_0x33d326(_0x5b6bf6);_0x5b6bf6[_0x1b47f9(0x25f)]&&_0x4ef6a4['on'](_0x1b47f9(0x25f),()=>{const _0x1bf140=_0x1b47f9;_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x1bf140(0x1d7));}),_0x4ef6a4['on']('error',_0x32e0d0=>{_0x4ef6a4===null||_0x4ef6a4[_0xd0019c]||(_0x4ef6a4=_0x3e46e3['_req']=null,_0x2470f3(_0x3e46e3,_0x32e0d0));}),_0x4ef6a4['on'](_0x1b47f9(0x200),_0x30131b=>{const _0x370b1a=_0x1b47f9,_0x38de2c=_0x30131b['headers']['location'],_0x55c2a5=_0x30131b[_0x370b1a(0x210)];if(_0x38de2c&&_0x5b6bf6[_0x370b1a(0x196)]&&_0x55c2a5>=0x12c&&_0x55c2a5<0x190){if(++_0x3e46e3[_0x370b1a(0x14c)]>_0x5b6bf6[_0x370b1a(0x162)]){_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x370b1a(0x1fb));return;}_0x4ef6a4['abort']();let _0x1dc28a;try{_0x1dc28a=new _0x383144(_0x38de2c,_0x384a05);}catch{const _0x1762ad=new SyntaxError(_0x370b1a(0x263)+_0x38de2c);_0x2470f3(_0x3e46e3,_0x1762ad);return;}_0x2938f0(_0x3e46e3,_0x1dc28a,_0x58526f,_0x3bf62d);}else _0x3e46e3['emit']('unexpected-response',_0x4ef6a4,_0x30131b)||_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x370b1a(0x17f)+_0x30131b[_0x370b1a(0x210)]);}),_0x4ef6a4['on'](_0x1b47f9(0x1d5),(_0x895789,_0xba73c3,_0x565bdb)=>{const _0x48a85e=_0x1b47f9;if(_0x3e46e3[_0x48a85e(0x254)](_0x48a85e(0x1d5),_0x895789),_0x3e46e3[_0x48a85e(0x1ac)]!==_0x1f79c3['CONNECTING'])return;_0x4ef6a4=_0x3e46e3[_0x48a85e(0x230)]=null;const _0x4ebf1e=_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x1d5)];if(_0x4ebf1e===void 0x0||_0x4ebf1e[_0x48a85e(0x235)]()!==_0x48a85e(0x203)){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x15a));return;}const _0x2d2edc=_0x9b1b11('sha1')[_0x48a85e(0x18a)](_0x46c1c0+_0x44a1c2)[_0x48a85e(0x134)](_0x48a85e(0x24d));if(_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x28a)]!==_0x2d2edc){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x112));return;}const _0x2fc567=_0x895789['headers'][_0x48a85e(0x19c)];let _0x489dbd;if(_0x2fc567!==void 0x0?_0x4d6709[_0x48a85e(0x187)]?_0x4d6709[_0x48a85e(0x20e)](_0x2fc567)||(_0x489dbd=_0x48a85e(0x28b)):_0x489dbd='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4d6709[_0x48a85e(0x187)]&&(_0x489dbd='Server\x20sent\x20no\x20subprotocol'),_0x489dbd){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x489dbd);return;}_0x2fc567&&(_0x3e46e3[_0x48a85e(0x11e)]=_0x2fc567);const _0x13aa3c=_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x119)];if(_0x13aa3c!==void 0x0){if(!_0xabd5cc){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x267));return;}let _0x5bf4cd;try{_0x5bf4cd=_0x42aeb9(_0x13aa3c);}catch{_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x151));return;}const _0x3b27b1=Object[_0x48a85e(0x1fa)](_0x5bf4cd);if(_0x3b27b1['length']!==0x1||_0x3b27b1[0x0]!==_0x151b4d[_0x48a85e(0x2a3)]){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x24c));return;}try{_0xabd5cc[_0x48a85e(0x205)](_0x5bf4cd[_0x151b4d[_0x48a85e(0x2a3)]]);}catch{_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x151));return;}_0x3e46e3[_0x48a85e(0x291)][_0x151b4d[_0x48a85e(0x2a3)]]=_0xabd5cc;}_0x3e46e3[_0x48a85e(0x26a)](_0xba73c3,_0x565bdb,{'allowSynchronousEvents':_0x5b6bf6[_0x48a85e(0x1d0)],'generateMask':_0x5b6bf6['generateMask'],'maxPayload':_0x5b6bf6[_0x48a85e(0x169)],'skipUTF8Validation':_0x5b6bf6['skipUTF8Validation']});}),_0x5b6bf6[_0x1b47f9(0x10d)]?_0x5b6bf6[_0x1b47f9(0x10d)](_0x4ef6a4,_0x3e46e3):_0x4ef6a4[_0x1b47f9(0x294)]();}function _0x2470f3(_0x4f8a4d,_0x4ac4f1){const _0x407f2d=_0x268043;_0x4f8a4d[_0x407f2d(0x1b2)]=_0x1f79c3[_0x407f2d(0x287)],_0x4f8a4d[_0x407f2d(0x11c)]=!0x0,_0x4f8a4d[_0x407f2d(0x254)](_0x407f2d(0x171),_0x4ac4f1),_0x4f8a4d[_0x407f2d(0x193)]();}function _0x52857a(_0x5c7ccf){const _0x307567=_0x268043;return _0x5c7ccf[_0x307567(0x163)]=_0x5c7ccf['socketPath'],_0x730561[_0x307567(0x121)](_0x5c7ccf);}function _0x236f54(_0x4ba0ea){const _0x1c8569=_0x268043;return _0x4ba0ea['path']=void 0x0,!_0x4ba0ea[_0x1c8569(0x182)]&&_0x4ba0ea[_0x1c8569(0x182)]!==''&&(_0x4ba0ea[_0x1c8569(0x182)]=_0x730561[_0x1c8569(0x222)](_0x4ba0ea[_0x1c8569(0x298)])?'':_0x4ba0ea[_0x1c8569(0x298)]),_0x194af6[_0x1c8569(0x121)](_0x4ba0ea);}function _0x1cb01f(_0x5577d3,_0x3f5744,_0x39ce40){const _0x30b3f3=_0x268043;_0x5577d3[_0x30b3f3(0x1b2)]=_0x1f79c3[_0x30b3f3(0x287)];const _0x2c9d44=new Error(_0x39ce40);Error['captureStackTrace'](_0x2c9d44,_0x1cb01f),_0x3f5744['setHeader']?(_0x3f5744[_0xd0019c]=!0x0,_0x3f5744[_0x30b3f3(0x18f)](),_0x3f5744[_0x30b3f3(0x1cb)]&&!_0x3f5744['socket'][_0x30b3f3(0x280)]&&_0x3f5744[_0x30b3f3(0x1cb)][_0x30b3f3(0x238)](),process[_0x30b3f3(0x199)](_0x2470f3,_0x5577d3,_0x2c9d44)):(_0x3f5744[_0x30b3f3(0x238)](_0x2c9d44),_0x3f5744[_0x30b3f3(0x278)](_0x30b3f3(0x171),_0x5577d3[_0x30b3f3(0x254)][_0x30b3f3(0x213)](_0x5577d3,_0x30b3f3(0x171))),_0x3f5744[_0x30b3f3(0x278)](_0x30b3f3(0x28d),_0x5577d3['emitClose']['bind'](_0x5577d3)));}function _0x20293a(_0x1cc922,_0xb13780,_0x4f6db7){const _0x5442c2=_0x268043;if(_0xb13780){const _0x675294=_0x5417e5(_0xb13780)?_0xb13780[_0x5442c2(0x187)]:_0x4d2555(_0xb13780)[_0x5442c2(0x276)];_0x1cc922[_0x5442c2(0x173)]?_0x1cc922[_0x5442c2(0xf6)]['_bufferedBytes']+=_0x675294:_0x1cc922[_0x5442c2(0xf2)]+=_0x675294;}if(_0x4f6db7){const _0x23919a=new Error(_0x5442c2(0xfa)+_0x1cc922['readyState']+'\x20('+_0x253407[_0x1cc922['readyState']]+')');process[_0x5442c2(0x199)](_0x4f6db7,_0x23919a);}}function _0x20fd77(_0x1dad99,_0x108cec){const _0x59964a=_0x268043,_0x5d5c9d=this[_0x505062];_0x5d5c9d[_0x59964a(0x11f)]=!0x0,_0x5d5c9d['_closeMessage']=_0x108cec,_0x5d5c9d[_0x59964a(0x180)]=_0x1dad99,_0x5d5c9d[_0x59964a(0x173)][_0x505062]!==void 0x0&&(_0x5d5c9d[_0x59964a(0x173)]['removeListener'](_0x59964a(0x23a),_0x2d46e0),process[_0x59964a(0x199)](_0x4a104b,_0x5d5c9d[_0x59964a(0x173)]),_0x1dad99===0x3ed?_0x5d5c9d[_0x59964a(0x28d)]():_0x5d5c9d[_0x59964a(0x28d)](_0x1dad99,_0x108cec));}function _0x2c543a(){const _0x2461d2=_0x268043,_0x4ecda9=this[_0x505062];_0x4ecda9['isPaused']||_0x4ecda9['_socket'][_0x2461d2(0x27c)]();}function _0xbac3fb(_0x2aa43a){const _0x3b3e33=_0x268043,_0x163d4e=this[_0x505062];_0x163d4e['_socket'][_0x505062]!==void 0x0&&(_0x163d4e[_0x3b3e33(0x173)][_0x3b3e33(0x2a0)]('data',_0x2d46e0),process['nextTick'](_0x4a104b,_0x163d4e[_0x3b3e33(0x173)]),_0x163d4e['close'](_0x2aa43a[_0x3041d3])),_0x163d4e['_errorEmitted']||(_0x163d4e[_0x3b3e33(0x11c)]=!0x0,_0x163d4e[_0x3b3e33(0x254)]('error',_0x2aa43a));}function _0x4514d5(){const _0x1e1607=_0x268043;this[_0x505062][_0x1e1607(0x193)]();}function _0xe7a077(_0x5abc7f,_0x298abf){const _0x52c8a2=_0x268043;this[_0x505062][_0x52c8a2(0x254)](_0x52c8a2(0x16a),_0x5abc7f,_0x298abf);}function _0x2446ac(_0x178521){const _0x597d6e=_0x268043,_0x2cf755=this[_0x505062];_0x2cf755[_0x597d6e(0xfb)]&&_0x2cf755[_0x597d6e(0x209)](_0x178521,!this[_0x597d6e(0x159)],_0x5ce3e3),_0x2cf755[_0x597d6e(0x254)](_0x597d6e(0x103),_0x178521);}function _0x560453(_0xed9b26){this[_0x505062]['emit']('pong',_0xed9b26);}function _0x4a104b(_0x1bbf69){const _0x343e41=_0x268043;_0x1bbf69[_0x343e41(0x27c)]();}function _0x10a80e(_0x5321db){const _0x2b00b5=_0x268043,_0x34d904=this[_0x505062];_0x34d904['readyState']!==_0x1f79c3[_0x2b00b5(0x29c)]&&(_0x34d904['readyState']===_0x1f79c3[_0x2b00b5(0x1cf)]&&(_0x34d904[_0x2b00b5(0x1b2)]=_0x1f79c3['CLOSING'],_0x13785b(_0x34d904)),this[_0x2b00b5(0x173)][_0x2b00b5(0x294)](),_0x34d904[_0x2b00b5(0x11c)]||(_0x34d904[_0x2b00b5(0x11c)]=!0x0,_0x34d904['emit'](_0x2b00b5(0x171),_0x5321db)));}function _0x13785b(_0x524381){const _0x1ea957=_0x268043;_0x524381[_0x1ea957(0x15b)]=setTimeout(_0x524381[_0x1ea957(0x173)][_0x1ea957(0x238)][_0x1ea957(0x213)](_0x524381[_0x1ea957(0x173)]),_0x2d60f8);}function _0x4487c4(){const _0x53be25=_0x268043,_0x4965da=this[_0x505062];this[_0x53be25(0x2a0)](_0x53be25(0x28d),_0x4487c4),this[_0x53be25(0x2a0)]('data',_0x2d46e0),this[_0x53be25(0x2a0)](_0x53be25(0x294),_0x485510),_0x4965da[_0x53be25(0x1b2)]=_0x1f79c3['CLOSING'];let _0x128ac3;!this[_0x53be25(0x17a)][_0x53be25(0x188)]&&!_0x4965da[_0x53be25(0x11f)]&&!_0x4965da['_receiver']['_writableState'][_0x53be25(0x23c)]&&(_0x128ac3=_0x4965da['_socket']['read']())!==null&&_0x4965da['_receiver'][_0x53be25(0x1df)](_0x128ac3),_0x4965da['_receiver'][_0x53be25(0x294)](),this[_0x505062]=void 0x0,clearTimeout(_0x4965da[_0x53be25(0x15b)]),_0x4965da[_0x53be25(0x275)]['_writableState'][_0x53be25(0x23f)]||_0x4965da['_receiver'][_0x53be25(0x1a3)]['errorEmitted']?_0x4965da[_0x53be25(0x193)]():(_0x4965da[_0x53be25(0x275)]['on']('error',_0x4514d5),_0x4965da[_0x53be25(0x275)]['on']('finish',_0x4514d5));}function _0x2d46e0(_0x4d6f10){const _0x1642a9=_0x268043;this[_0x505062]['_receiver'][_0x1642a9(0x1df)](_0x4d6f10)||this[_0x1642a9(0x150)]();}function _0x485510(){const _0x3481a6=_0x268043,_0xcf5c39=this[_0x505062];_0xcf5c39[_0x3481a6(0x1b2)]=_0x1f79c3['CLOSING'],_0xcf5c39[_0x3481a6(0x275)]['end'](),this[_0x3481a6(0x294)]();}function _0x4f5ba6(){const _0x18617c=_0x268043,_0x2865a6=this[_0x505062];this[_0x18617c(0x2a0)]('error',_0x4f5ba6),this['on'](_0x18617c(0x171),_0x5ce3e3),_0x2865a6&&(_0x2865a6['_readyState']=_0x1f79c3[_0x18617c(0x287)],this[_0x18617c(0x238)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5590b4}=_0x148c11;function _0xee391f(_0xad1112){const _0x567d5a=_0x1936;_0xad1112[_0x567d5a(0x254)](_0x567d5a(0x28d));}function _0x510976(){const _0x301e4d=_0x1936;!this['destroyed']&&this['_writableState'][_0x301e4d(0x23f)]&&this[_0x301e4d(0x238)]();}function _0x124a02(_0xf8c8b4){const _0x387d44=_0x1936;this['removeListener'](_0x387d44(0x171),_0x124a02),this[_0x387d44(0x238)](),this[_0x387d44(0x109)](_0x387d44(0x171))===0x0&&this[_0x387d44(0x254)]('error',_0xf8c8b4);}function _0x1244c6(_0xe4deba,_0x34a103){const _0x1250fb=_0x1936;let _0x1cf5ab=!0x0;const _0x5457c5=new _0x5590b4({..._0x34a103,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xe4deba['on']('message',function(_0x51dd14,_0x3c1a7){const _0x2e45ac=_0x1936,_0x450290=!_0x3c1a7&&_0x5457c5[_0x2e45ac(0x17a)][_0x2e45ac(0x138)]?_0x51dd14[_0x2e45ac(0x1b4)]():_0x51dd14;_0x5457c5[_0x2e45ac(0x132)](_0x450290)||_0xe4deba['pause']();}),_0xe4deba[_0x1250fb(0x278)](_0x1250fb(0x171),function(_0x4a5ec3){const _0x164402=_0x1250fb;_0x5457c5['destroyed']||(_0x1cf5ab=!0x1,_0x5457c5[_0x164402(0x238)](_0x4a5ec3));}),_0xe4deba[_0x1250fb(0x278)](_0x1250fb(0x28d),function(){_0x5457c5['destroyed']||_0x5457c5['push'](null);}),_0x5457c5[_0x1250fb(0x156)]=function(_0x4c4af6,_0x323615){const _0x121286=_0x1250fb;if(_0xe4deba[_0x121286(0x1ac)]===_0xe4deba[_0x121286(0x29c)]){_0x323615(_0x4c4af6),process['nextTick'](_0xee391f,_0x5457c5);return;}let _0x59c0d5=!0x1;_0xe4deba['once'](_0x121286(0x171),function(_0x1d1ce4){_0x59c0d5=!0x0,_0x323615(_0x1d1ce4);}),_0xe4deba[_0x121286(0x278)]('close',function(){const _0x5e02a9=_0x121286;_0x59c0d5||_0x323615(_0x4c4af6),process[_0x5e02a9(0x199)](_0xee391f,_0x5457c5);}),_0x1cf5ab&&_0xe4deba[_0x121286(0x116)]();},_0x5457c5[_0x1250fb(0x1a1)]=function(_0xae4c60){const _0x2002f9=_0x1250fb;if(_0xe4deba[_0x2002f9(0x1ac)]===_0xe4deba['CONNECTING']){_0xe4deba[_0x2002f9(0x278)]('open',function(){_0x5457c5['_final'](_0xae4c60);});return;}_0xe4deba[_0x2002f9(0x173)]!==null&&(_0xe4deba[_0x2002f9(0x173)][_0x2002f9(0x1a3)]['finished']?(_0xae4c60(),_0x5457c5[_0x2002f9(0x17a)][_0x2002f9(0x188)]&&_0x5457c5[_0x2002f9(0x238)]()):(_0xe4deba['_socket']['once'](_0x2002f9(0x1c1),function(){_0xae4c60();}),_0xe4deba[_0x2002f9(0x28d)]()));},_0x5457c5[_0x1250fb(0x226)]=function(){const _0x46810d=_0x1250fb;_0xe4deba['isPaused']&&_0xe4deba[_0x46810d(0x27c)]();},_0x5457c5[_0x1250fb(0x299)]=function(_0x1042e0,_0x26ffde,_0x19bf8b){const _0x4051f0=_0x1250fb;if(_0xe4deba[_0x4051f0(0x1ac)]===_0xe4deba[_0x4051f0(0x274)]){_0xe4deba[_0x4051f0(0x278)](_0x4051f0(0x201),function(){const _0x1ab111=_0x4051f0;_0x5457c5[_0x1ab111(0x299)](_0x1042e0,_0x26ffde,_0x19bf8b);});return;}_0xe4deba[_0x4051f0(0x18b)](_0x1042e0,_0x19bf8b);},_0x5457c5['on']('end',_0x510976),_0x5457c5['on']('error',_0x124a02),_0x5457c5;}return Oe=_0x1244c6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1ca11f}=ne();function _0x4edfbc(_0x5afd30){const _0x17f703=_0x1936,_0x20e8c2=new Set();let _0x106548=-0x1,_0x407ffb=-0x1,_0x1f798c=0x0;for(_0x1f798c;_0x1f798c<_0x5afd30['length'];_0x1f798c++){const _0x254756=_0x5afd30[_0x17f703(0x25c)](_0x1f798c);if(_0x407ffb===-0x1&&_0x1ca11f[_0x254756]===0x1)_0x106548===-0x1&&(_0x106548=_0x1f798c);else{if(_0x1f798c!==0x0&&(_0x254756===0x20||_0x254756===0x9))_0x407ffb===-0x1&&_0x106548!==-0x1&&(_0x407ffb=_0x1f798c);else{if(_0x254756===0x2c){if(_0x106548===-0x1)throw new SyntaxError(_0x17f703(0x153)+_0x1f798c);_0x407ffb===-0x1&&(_0x407ffb=_0x1f798c);const _0x45a517=_0x5afd30[_0x17f703(0x154)](_0x106548,_0x407ffb);if(_0x20e8c2[_0x17f703(0x20e)](_0x45a517))throw new SyntaxError(_0x17f703(0x1c4)+_0x45a517+_0x17f703(0x106));_0x20e8c2[_0x17f703(0x1e1)](_0x45a517),_0x106548=_0x407ffb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f798c);}}}if(_0x106548===-0x1||_0x407ffb!==-0x1)throw new SyntaxError(_0x17f703(0x1a0));const _0x520cec=_0x5afd30[_0x17f703(0x154)](_0x106548,_0x1f798c);if(_0x20e8c2[_0x17f703(0x20e)](_0x520cec))throw new SyntaxError(_0x17f703(0x1c4)+_0x520cec+_0x17f703(0x106));return _0x20e8c2[_0x17f703(0x1e1)](_0x520cec),_0x20e8c2;}return Ce={'parse':_0x4edfbc},Ce;}var Te,ot;function er(){const _0x4c2171=_0x3d72a4;if(ot)return Te;ot=0x1;const _0x2bf2dc=_0x268bbd,_0x542cbb=_0x3896f7,{Duplex:_0x523ab5}=_0x148c11,{createHash:_0x1c0362}=_0x4426fe,_0xd2cd2c=pt(),_0xc5ab=he(),_0x335281=Jt(),_0x404128=Ie(),{GUID:_0x3cbe59,kWebSocket:_0x5a8f8c}=V(),_0x3ce59f=/^[+/0-9A-Za-z]{22}==$/,_0x3bc4d7=0x0,_0x69b136=0x1,_0x33f596=0x2;class _0x3e8c69 extends _0x2bf2dc{constructor(_0x5bdcf8,_0x506072){const _0x28ca1b=_0x1936;if(super(),_0x5bdcf8={'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':_0x404128,..._0x5bdcf8},_0x5bdcf8[_0x28ca1b(0x26b)]==null&&!_0x5bdcf8[_0x28ca1b(0x139)]&&!_0x5bdcf8['noServer']||_0x5bdcf8[_0x28ca1b(0x26b)]!=null&&(_0x5bdcf8[_0x28ca1b(0x139)]||_0x5bdcf8[_0x28ca1b(0x117)])||_0x5bdcf8[_0x28ca1b(0x139)]&&_0x5bdcf8[_0x28ca1b(0x117)])throw new TypeError(_0x28ca1b(0x1bb));if(_0x5bdcf8['port']!=null?(this[_0x28ca1b(0x141)]=_0x542cbb['createServer']((_0x55fbbc,_0x4131f1)=>{const _0x5a3322=_0x28ca1b,_0x18407e=_0x542cbb['STATUS_CODES'][0x1aa];_0x4131f1[_0x5a3322(0x277)](0x1aa,{'Content-Length':_0x18407e['length'],'Content-Type':_0x5a3322(0x24e)}),_0x4131f1[_0x5a3322(0x294)](_0x18407e);}),this['_server'][_0x28ca1b(0x1d8)](_0x5bdcf8[_0x28ca1b(0x26b)],_0x5bdcf8[_0x28ca1b(0x298)],_0x5bdcf8[_0x28ca1b(0x19b)],_0x506072)):_0x5bdcf8[_0x28ca1b(0x139)]&&(this['_server']=_0x5bdcf8[_0x28ca1b(0x139)]),this['_server']){const _0x570501=this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x129));this['_removeListeners']=_0x303e0f(this[_0x28ca1b(0x141)],{'listening':this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x178)),'error':this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x171)),'upgrade':(_0x506c6f,_0x2ed208,_0x228c33)=>{this['handleUpgrade'](_0x506c6f,_0x2ed208,_0x228c33,_0x570501);}});}_0x5bdcf8[_0x28ca1b(0x251)]===!0x0&&(_0x5bdcf8[_0x28ca1b(0x251)]={}),_0x5bdcf8[_0x28ca1b(0x244)]&&(this[_0x28ca1b(0x1ff)]=new Set(),this[_0x28ca1b(0x246)]=!0x1),this['options']=_0x5bdcf8,this[_0x28ca1b(0x1f5)]=_0x3bc4d7;}[_0x4c2171(0x160)](){const _0x497fbf=_0x4c2171;if(this[_0x497fbf(0x27d)][_0x497fbf(0x117)])throw new Error(_0x497fbf(0x1a4));return this['_server']?this[_0x497fbf(0x141)][_0x497fbf(0x160)]():null;}[_0x4c2171(0x28d)](_0x4771f4){const _0x10217f=_0x4c2171;if(this['_state']===_0x33f596){_0x4771f4&&this[_0x10217f(0x278)](_0x10217f(0x28d),()=>{_0x4771f4(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x10217f(0x199)](_0x3c8f02,this);return;}if(_0x4771f4&&this['once']('close',_0x4771f4),this[_0x10217f(0x1f5)]!==_0x69b136){if(this[_0x10217f(0x1f5)]=_0x69b136,this[_0x10217f(0x27d)][_0x10217f(0x117)]||this[_0x10217f(0x27d)][_0x10217f(0x139)])this[_0x10217f(0x141)]&&(this[_0x10217f(0x177)](),this[_0x10217f(0x177)]=this[_0x10217f(0x141)]=null),this[_0x10217f(0x1ff)]?this[_0x10217f(0x1ff)][_0x10217f(0x187)]?this[_0x10217f(0x246)]=!0x0:process['nextTick'](_0x3c8f02,this):process[_0x10217f(0x199)](_0x3c8f02,this);else{const _0x3de5dc=this[_0x10217f(0x141)];this[_0x10217f(0x177)](),this[_0x10217f(0x177)]=this['_server']=null,_0x3de5dc[_0x10217f(0x28d)](()=>{_0x3c8f02(this);});}}}[_0x4c2171(0x27e)](_0x988cc5){const _0x40dd7e=_0x4c2171;if(this[_0x40dd7e(0x27d)][_0x40dd7e(0x163)]){const _0x28f44d=_0x988cc5[_0x40dd7e(0x15d)][_0x40dd7e(0x1bd)]('?');if((_0x28f44d!==-0x1?_0x988cc5[_0x40dd7e(0x15d)][_0x40dd7e(0x154)](0x0,_0x28f44d):_0x988cc5[_0x40dd7e(0x15d)])!==this[_0x40dd7e(0x27d)]['path'])return!0x1;}return!0x0;}[_0x4c2171(0x14e)](_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4){const _0xd591cf=_0x4c2171;_0x19fe7a['on'](_0xd591cf(0x171),_0x33b836);const _0x2ef312=_0xfc18a1['headers'][_0xd591cf(0x1d6)],_0xb73182=_0xfc18a1['headers']['upgrade'],_0x40f472=+_0xfc18a1[_0xd591cf(0x12f)][_0xd591cf(0x260)];if(_0xfc18a1['method']!==_0xd591cf(0x286)){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x195,_0xd591cf(0x21e));return;}if(_0xb73182===void 0x0||_0xb73182[_0xd591cf(0x235)]()!=='websocket'){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2ef312===void 0x0||!_0x3ce59f[_0xd591cf(0x104)](_0x2ef312)){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,_0xd591cf(0x26c));return;}if(_0x40f472!==0x8&&_0x40f472!==0xd){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xd591cf(0x27e)](_0xfc18a1)){_0x2be19(_0x19fe7a,0x190);return;}const _0x347f58=_0xfc18a1[_0xd591cf(0x12f)][_0xd591cf(0x19c)];let _0x7a84bb=new Set();if(_0x347f58!==void 0x0)try{_0x7a84bb=_0x335281[_0xd591cf(0x1f6)](_0x347f58);}catch{_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,_0xd591cf(0x165));return;}const _0x3441c2=_0xfc18a1[_0xd591cf(0x12f)]['sec-websocket-extensions'],_0x1a56ea={};if(this[_0xd591cf(0x27d)][_0xd591cf(0x251)]&&_0x3441c2!==void 0x0){const _0x51b979=new _0xc5ab(this['options'][_0xd591cf(0x251)],!0x0,this[_0xd591cf(0x27d)][_0xd591cf(0x169)]);try{const _0x312b74=_0xd2cd2c[_0xd591cf(0x1f6)](_0x3441c2);_0x312b74[_0xc5ab[_0xd591cf(0x2a3)]]&&(_0x51b979[_0xd591cf(0x205)](_0x312b74[_0xc5ab[_0xd591cf(0x2a3)]]),_0x1a56ea[_0xc5ab[_0xd591cf(0x2a3)]]=_0x51b979);}catch{_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xd591cf(0x27d)]['verifyClient']){const _0x407577={'origin':_0xfc18a1[_0xd591cf(0x12f)][''+(_0x40f472===0x8?_0xd591cf(0x1a7):_0xd591cf(0x15f))],'secure':!!(_0xfc18a1[_0xd591cf(0x1cb)][_0xd591cf(0x264)]||_0xfc18a1['socket'][_0xd591cf(0x20b)]),'req':_0xfc18a1};if(this[_0xd591cf(0x27d)][_0xd591cf(0x1ee)][_0xd591cf(0x276)]===0x2){this[_0xd591cf(0x27d)][_0xd591cf(0x1ee)](_0x407577,(_0x20cdec,_0x222229,_0x2a4113,_0x456f54)=>{if(!_0x20cdec)return _0x2be19(_0x19fe7a,_0x222229||0x191,_0x2a4113,_0x456f54);this['completeUpgrade'](_0x1a56ea,_0x2ef312,_0x7a84bb,_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4);});return;}if(!this['options'][_0xd591cf(0x1ee)](_0x407577))return _0x2be19(_0x19fe7a,0x191);}this[_0xd591cf(0xfd)](_0x1a56ea,_0x2ef312,_0x7a84bb,_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4);}['completeUpgrade'](_0x2747e4,_0x11c26d,_0x52d24f,_0x36d169,_0x55358e,_0x1c3bb7,_0x198f7f){const _0x54941d=_0x4c2171;if(!_0x55358e[_0x54941d(0x25b)]||!_0x55358e['writable'])return _0x55358e[_0x54941d(0x238)]();if(_0x55358e[_0x5a8f8c])throw new Error(_0x54941d(0x206));if(this[_0x54941d(0x1f5)]>_0x3bc4d7)return _0x2be19(_0x55358e,0x1f7);const _0x5f264e=[_0x54941d(0x16f),_0x54941d(0x229),_0x54941d(0x23d),_0x54941d(0x18c)+_0x1c0362(_0x54941d(0x24f))['update'](_0x11c26d+_0x3cbe59)[_0x54941d(0x134)]('base64')],_0x2e8082=new this['options'][(_0x54941d(0x1a9))](null,void 0x0,this[_0x54941d(0x27d)]);if(_0x52d24f[_0x54941d(0x187)]){const _0x534b95=this['options'][_0x54941d(0x234)]?this[_0x54941d(0x27d)][_0x54941d(0x234)](_0x52d24f,_0x36d169):_0x52d24f['values']()['next']()[_0x54941d(0x167)];_0x534b95&&(_0x5f264e[_0x54941d(0x132)](_0x54941d(0x22a)+_0x534b95),_0x2e8082[_0x54941d(0x11e)]=_0x534b95);}if(_0x2747e4[_0xc5ab[_0x54941d(0x2a3)]]){const _0x447062=_0x2747e4[_0xc5ab[_0x54941d(0x2a3)]][_0x54941d(0x105)],_0x509734=_0xd2cd2c[_0x54941d(0x149)]({[_0xc5ab[_0x54941d(0x2a3)]]:[_0x447062]});_0x5f264e['push'](_0x54941d(0x16d)+_0x509734),_0x2e8082[_0x54941d(0x291)]=_0x2747e4;}this[_0x54941d(0x254)](_0x54941d(0x12f),_0x5f264e,_0x36d169),_0x55358e[_0x54941d(0x1df)](_0x5f264e[_0x54941d(0x1bf)]('\x0d\x0a')['join']('\x0d\x0a')),_0x55358e[_0x54941d(0x2a0)](_0x54941d(0x171),_0x33b836),_0x2e8082[_0x54941d(0x26a)](_0x55358e,_0x1c3bb7,{'allowSynchronousEvents':this[_0x54941d(0x27d)][_0x54941d(0x1d0)],'maxPayload':this['options'][_0x54941d(0x169)],'skipUTF8Validation':this['options'][_0x54941d(0x1ab)]}),this['clients']&&(this[_0x54941d(0x1ff)]['add'](_0x2e8082),_0x2e8082['on'](_0x54941d(0x28d),()=>{const _0x2dbb27=_0x54941d;this[_0x2dbb27(0x1ff)][_0x2dbb27(0x131)](_0x2e8082),this[_0x2dbb27(0x246)]&&!this[_0x2dbb27(0x1ff)][_0x2dbb27(0x187)]&&process[_0x2dbb27(0x199)](_0x3c8f02,this);})),_0x198f7f(_0x2e8082,_0x36d169);}}Te=_0x3e8c69;function _0x303e0f(_0x5f0ce2,_0x15e412){const _0x306f3d=_0x4c2171;for(const _0x59c30a of Object[_0x306f3d(0x1fa)](_0x15e412))_0x5f0ce2['on'](_0x59c30a,_0x15e412[_0x59c30a]);return function(){const _0x53e2dd=_0x306f3d;for(const _0x2b7320 of Object[_0x53e2dd(0x1fa)](_0x15e412))_0x5f0ce2[_0x53e2dd(0x2a0)](_0x2b7320,_0x15e412[_0x2b7320]);};}function _0x3c8f02(_0xfdaadc){const _0x4552ea=_0x4c2171;_0xfdaadc[_0x4552ea(0x1f5)]=_0x33f596,_0xfdaadc[_0x4552ea(0x254)](_0x4552ea(0x28d));}function _0x33b836(){const _0x53d6bd=_0x4c2171;this[_0x53d6bd(0x238)]();}function _0x2be19(_0x2e616c,_0x1663a3,_0xfa5315,_0x41db93){const _0x2edf42=_0x4c2171;_0xfa5315=_0xfa5315||_0x542cbb[_0x2edf42(0x11b)][_0x1663a3],_0x41db93={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x2edf42(0x110)](_0xfa5315),..._0x41db93},_0x2e616c[_0x2edf42(0x278)](_0x2edf42(0x1c1),_0x2e616c[_0x2edf42(0x238)]),_0x2e616c['end'](_0x2edf42(0x268)+_0x1663a3+'\x20'+_0x542cbb['STATUS_CODES'][_0x1663a3]+'\x0d\x0a'+Object[_0x2edf42(0x1fa)](_0x41db93)[_0x2edf42(0x17d)](_0x15fc8a=>_0x15fc8a+':\x20'+_0x41db93[_0x15fc8a])[_0x2edf42(0x1fc)]('\x0d\x0a')+_0x2edf42(0x1a5)+_0xfa5315);}function _0x241cee(_0x4cd0d5,_0x32d7c8,_0x298756,_0x398ebf,_0x2559e8){const _0x6e7b15=_0x4c2171;if(_0x4cd0d5['listenerCount'](_0x6e7b15(0x207))){const _0x3348ee=new Error(_0x2559e8);Error['captureStackTrace'](_0x3348ee,_0x241cee),_0x4cd0d5[_0x6e7b15(0x254)](_0x6e7b15(0x207),_0x3348ee,_0x298756,_0x32d7c8);}else _0x2be19(_0x298756,_0x398ebf,_0x2559e8);}return Te;}er();var tr=Object[_0x3d72a4(0x202)],rr=(_0x5ad562,_0x2698eb,_0x2e2033,_0x2c4dfa)=>{const _0x54bd2a=_0x3d72a4;for(var _0x1bed8e=_0x2c4dfa>0x1?void 0x0:_0x2c4dfa?tr(_0x2698eb,_0x2e2033):_0x2698eb,_0x351f13=_0x5ad562[_0x54bd2a(0x276)]-0x1,_0x4ba0e9;_0x351f13>=0x0;_0x351f13--)(_0x4ba0e9=_0x5ad562[_0x351f13])&&(_0x1bed8e=_0x4ba0e9(_0x1bed8e)||_0x1bed8e);return _0x1bed8e;},sr=(_0x4d09b2,_0x8dcce5)=>(_0x3d2d78,_0x31f189)=>_0x8dcce5(_0x3d2d78,_0x31f189,_0x4d09b2);let Ne=class extends _0x2eea3c{constructor(_0x1be274){super(),this['_configService']=_0x1be274;}[_0x3d72a4(0x10b)](_0x113d6e){const _0x40e9a5=_0x3d72a4;var _0x44ecb7;const _0x5cdd1d=(_0x44ecb7=this[_0x40e9a5(0x143)][_0x40e9a5(0x192)](Be))==null?void 0x0:_0x44ecb7[_0x40e9a5(0x194)];try{const _0x215c8d=new Qt(_0x113d6e,{'headers':{..._0x5cdd1d}}),_0x40b576=new _0x51fa6b();return{'URL':_0x113d6e,'close':(_0x481e08,_0x5202f8)=>{const _0xc1866=_0x40e9a5;_0x215c8d['close'](_0x481e08,_0x5202f8),_0x40b576[_0xc1866(0x17c)]();},'send':_0x2680d2=>{const _0x581e3b=_0x40e9a5;_0x215c8d[_0x581e3b(0x18b)](_0x2680d2);},'open$':new _0x556061(_0x4defea=>{const _0x2cbc2e=_0x40e9a5,_0x50356e=_0x3ea41b=>_0x4defea[_0x2cbc2e(0x12e)](_0x3ea41b);_0x215c8d[_0x2cbc2e(0x100)](_0x2cbc2e(0x201),_0x50356e),_0x40b576['add'](_0x291a13(()=>_0x215c8d[_0x2cbc2e(0x1a8)]('open',_0x50356e)));})['pipe'](_0x4fe541()),'close$':new _0x556061(_0x39a9e7=>{const _0x44daba=_0x40e9a5,_0x547d5a=_0x51448b=>_0x39a9e7[_0x44daba(0x12e)](_0x51448b);_0x215c8d[_0x44daba(0x100)]('close',_0x547d5a),_0x40b576[_0x44daba(0x1e1)](_0x291a13(()=>_0x215c8d[_0x44daba(0x1a8)](_0x44daba(0x28d),_0x547d5a)));})[_0x40e9a5(0x15e)](_0x4fe541()),'error$':new _0x556061(_0x469cac=>{const _0x1e76c9=_0x40e9a5,_0x10667c=_0x209a57=>_0x469cac[_0x1e76c9(0x12e)](_0x209a57);_0x215c8d['addEventListener'](_0x1e76c9(0x171),_0x10667c),_0x40b576[_0x1e76c9(0x1e1)](_0x291a13(()=>_0x215c8d[_0x1e76c9(0x1a8)](_0x1e76c9(0x171),_0x10667c)));})[_0x40e9a5(0x15e)](_0x4fe541()),'message$':new _0x556061(_0x1e69c0=>{const _0x97b0d4=_0x40e9a5,_0x47a573=_0x559065=>_0x1e69c0[_0x97b0d4(0x12e)](_0x559065);_0x215c8d[_0x97b0d4(0x100)]('message',_0x47a573),_0x40b576[_0x97b0d4(0x1e1)](_0x291a13(()=>_0x215c8d[_0x97b0d4(0x1a8)](_0x97b0d4(0x16a),_0x47a573)));})['pipe'](_0x4fe541())};}catch(_0x3ff720){return console[_0x40e9a5(0x171)](_0x3ff720),null;}}};Ne=rr([sr(0x0,_0x16db79)],Ne);var ir=Object[_0x3d72a4(0x175)],nr=Object[_0x3d72a4(0x202)],or=(_0x1bff38,_0xd4555e,_0x4e4912)=>_0xd4555e in _0x1bff38?ir(_0x1bff38,_0xd4555e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e4912}):_0x1bff38[_0xd4555e]=_0x4e4912,ar=(_0x387638,_0x296762,_0x4fa7c4,_0x31c04d)=>{for(var _0x50706e=_0x31c04d>0x1?void 0x0:_0x31c04d?nr(_0x296762,_0x4fa7c4):_0x296762,_0x1f5397=_0x387638['length']-0x1,_0x2468b3;_0x1f5397>=0x0;_0x1f5397--)(_0x2468b3=_0x387638[_0x1f5397])&&(_0x50706e=_0x2468b3(_0x50706e)||_0x50706e);return _0x50706e;},ke=(_0x33a1c7,_0x289cac)=>(_0xf9a52c,_0x155c8a)=>_0x289cac(_0xf9a52c,_0x155c8a,_0x33a1c7),lr=(_0x4ad999,_0x163c25,_0x3d7974)=>or(_0x4ad999,_0x163c25+'',_0x3d7974);let Pe=class extends _0x2ca593{constructor(_0x41e5d1=Ft,_0x147b94,_0x5784c4,_0x401b36){const _0x4aba06=_0x3d72a4;_0x41e5d1[_0x4aba06(0x194)]||_0x147b94['warn'](_0x4aba06(0x17b)),super(),this['_configService']=_0x5784c4,this['_injector']=_0x401b36,this[_0x4aba06(0x143)][_0x4aba06(0x166)](Be,_0x41e5d1);}[_0x3d72a4(0x21b)](){const _0x2b7f0a=_0x3d72a4;this[_0x2b7f0a(0x1b8)]();}[_0x3d72a4(0x1b8)](){const _0x2be493=_0x3d72a4;_0x34b9fc(this[_0x2be493(0x1b9)],[[_0x44f3db,{'useClass':Ne}]]);}};lr(Pe,_0x3d72a4(0x21d),_0x3d72a4(0x16b)),Pe=ar([_0x1adaff(_0x60d295),ke(0x1,_0x1d04d4),ke(0x2,_0x16db79),ke(0x3,_0x302347(_0x3595c3))],Pe);var fr=Object[_0x3d72a4(0x202)],cr=(_0xd9ae0d,_0x300f8a,_0xb03e34,_0x31075d)=>{const _0x167dbe=_0x3d72a4;for(var _0x165ad1=_0x31075d>0x1?void 0x0:_0x31075d?fr(_0x300f8a,_0xb03e34):_0x300f8a,_0x5dcbc2=_0xd9ae0d[_0x167dbe(0x276)]-0x1,_0x2d6194;_0x5dcbc2>=0x0;_0x5dcbc2--)(_0x2d6194=_0xd9ae0d[_0x5dcbc2])&&(_0x165ad1=_0x2d6194(_0x165ad1)||_0x165ad1);return _0x165ad1;},se=(_0x192172,_0xabd0f4)=>(_0x226f3b,_0x26245c)=>_0xabd0f4(_0x226f3b,_0x26245c,_0x192172);let at=class extends _0x4cda74{constructor(_0x5cb120,_0x16dafa,_0x168ed5,_0x3e432d,_0x14d2b3){const _0x3a5abd=_0x3d72a4;super(_0x5cb120,_0x16dafa,_0x168ed5,_0x3e432d,_0x14d2b3);const _0xc11748=this[_0x3a5abd(0x143)]['getConfig'](Be);this['_httpService'][_0x3a5abd(0x111)]({'interceptor':(_0x1ec7c3,_0x533e48)=>{const _0x12aa68=_0x3a5abd;var _0x4d2d0a;const _0x4e7746=_0x1ec7c3[_0x12aa68(0x12f)];return(_0x4d2d0a=_0xc11748==null?void 0x0:_0xc11748[_0x12aa68(0x194)])!=null&&_0x4d2d0a[_0x12aa68(0x115)]&&_0x4e7746['set'](_0x12aa68(0x245),_0xc11748[_0x12aa68(0x194)][_0x12aa68(0x115)]),_0x533e48(_0x1ec7c3);}});}async[_0x3d72a4(0x10b)](_0x2a209e){const _0xc82e87=_0x3d72a4;return this[_0xc82e87(0x1c2)](_0x2a209e);}};at=cr([se(0x0,_0x302347(_0x3595c3)),se(0x1,_0x302347(_0x48bd27)),se(0x2,_0x16db79),se(0x3,_0x1d04d4),se(0x4,_0x17190c)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x3cab51=_0x4292;(function(_0x35b3a3,_0x6fcd16){const _0x292af3=_0x4292,_0x42335f=_0x35b3a3();while(!![]){try{const _0x21ef2e=-parseInt(_0x292af3(0x159))/0x1*(parseInt(_0x292af3(0x1ef))/0x2)+-parseInt(_0x292af3(0x1ab))/0x3*(-parseInt(_0x292af3(0x1d3))/0x4)+-parseInt(_0x292af3(0x239))/0x5*(parseInt(_0x292af3(0xe4))/0x6)+parseInt(_0x292af3(0x173))/0x7*(-parseInt(_0x292af3(0x26b))/0x8)+parseInt(_0x292af3(0x1f4))/0x9*(parseInt(_0x292af3(0x21a))/0xa)+-parseInt(_0x292af3(0x1f8))/0xb+parseInt(_0x292af3(0x260))/0xc;if(_0x21ef2e===_0x6fcd16)break;else _0x42335f['push'](_0x42335f['shift']());}catch(_0xa58633){_0x42335f['push'](_0x42335f['shift']());}}}(_0x52d4,0x47cc4));import{UniverCollaborationClientPlugin as _0x2f844f,CollaborationSocketService as _0x9dd51a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x11d90a,DisposableCollection as _0x3efe54,toDisposable as _0x421ec1,IConfigService as _0x3bfa4b,DependentOn as _0x44bfa0,ILogService as _0x2b93ee,Inject as _0x5bfe26,Injector as _0x579a2a,Plugin as _0x247cb7,registerDependencies as _0x2fca59}from'@univerjs/core';import{ISocketService as _0x321e8b,HTTPService as _0x218b7e}from'@univerjs/network';import{Observable as _0x45afbb,share as _0x491fec}from'rxjs';import _0x5e46e9 from'events';import _0x15e436 from'https';import _0x56e0b3 from'http';import _0x4f8d8c from'net';import _0x299e57 from'tls';import _0x33eb47 from'crypto';import _0x5288a5 from'stream';import _0x392803 from'url';import _0x586e7c from'zlib';function _0x52d4(){const _0x41b3a0=['invalid\x20opcode\x200','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','listeners','opcode','captureStackTrace','binaryType','_buffers','kType','kByteLength','uncork','value','reset','http:','from','headers','open','acceptAsServer','server_max_window_bits','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Z_SYNC_FLUSH','consume','_masked','\x0d\x0a\x0d\x0a','isBuffer','164301aoOuIp','replace','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','decompress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','options','_fin','pow','arrayBuffer','kData','controlMessage','WS_ERR_UNEXPECTED_MASK','needDrain','customHeaders','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kCode','clientTracking','clientNoContextTakeover','_queue','_bufferedBytes','conclude','client','perMessageDeflate','Unexpected\x20server\x20response:\x20','extensionName','skipUTF8Validation','encrypted','setNoDelay','_generateMask','CONNECTING','Basic\x20','_protocol','_options','Max\x20payload\x20size\x20exceeded','host','readyState','WS_ERR_EXPECTED_MASK','_maskBuffer','createSocket','stream','12vYRCjp','Opening\x20handshake\x20has\x20timed\x20out','Cookie','wsClientError','callback','sec-websocket-protocol','CLOSING','invalid\x20status\x20code\x20','ping','binary','__esModule','readOnly','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','\x20(supported\x20versions:\x20','socket','WS_ERR_INVALID_CLOSE_CODE','invalid\x20opcode\x20','data','haveLength','maxRedirects','_url','removeListener','digest','kWasClean','OPEN','prototype','abort','Upgrade','232692jCoGcU','url','backlog','Module','drain','27LKTAXM','warn','unmask','username','2725030aJmIcn','emitClose','File','writeUIntBE','_extensions','toString','function','RSV1\x20must\x20be\x20clear','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','slice','fin','split','_no_context_takeover','listenerCount','Parameter\x20\x22','serverMaxWindowBits','_closeMessage','isArray','protocolVersion','clients','forEach','dequeue','_fragmented','target','parse','handleProtocols','concurrencyLimit','code','destroy','statusCode','sec-websocket-origin','server_no_context_takeover','addEventListener','join','1736210jrucQO','_req','noServer','endEmitted','finishRequest','toLowerCase','fragments','alloc','_final','nextTick','end','startLoop','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Upgrade:\x20websocket','_sender','errorEmitted','compress','_deflate','_readyState','concat','_payloadLength','charCodeAt','defaultPort','_destroy','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','entries','MASK\x20must\x20be\x20set','_compressed','defineProperty','nodebuffer','_autoPong','25MylRND','The\x20server\x20is\x20not\x20running','listen','onerror','map','_originalHostOrSocketPath','_paused','websocket','setHeader','_isServer','number','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_configService','_server','_originalSecure','_errorEmitted','_totalPayloadLength','_write','Origin','getBlobData','hostname','accept','timeout','finish','clientMaxWindowBits','_opcode','_state','terminate','call','blob','createServer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Blob','getOwnPropertyDescriptor','type','protocol','acceptAsClient','Invalid\x20URL:\x20','update','9258444mQixBB','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','size','password','invalid\x20payload\x20length\x20','includes','collaboration-client-node.config','reason','createConnection','_closeFrameSent','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','48zlgSux','_redirects','connection','status-code','values','_decompress','Server\x20sent\x20an\x20invalid\x20subprotocol','address','resume','frame','apply','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-accept','Sec-WebSocket-Extensions','base64','zlibInflateOptions','followRedirects','https:','createError','dispatch','create','total-length','Invalid\x20Sec-WebSocket-Protocol\x20header','cork','href','writeUInt16BE','pending','bind','serverNoContextTakeover','_receiver','Invalid\x20value\x20for\x20parameter\x20\x22','_shouldEmitClose','_originalIpc','finished','destroyed','jobs','kRun','handleEvent','zlibDeflateOptions','default','WebSocket\x20is\x20not\x20open:\x20readyState\x20','add','682302ciIcss','authorization','onopen','servername','wasClean','client_max_window_bits','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','setSocket','next','Sec-WebSocket-Origin','getInfo','_injector','WS_ERR_UNEXPECTED_RSV_2_3','_max_window_bits','port','_messageLength','_compress','\x22\x20subprotocol\x20is\x20duplicated','readUInt16BE','mask','getData','hash','maskBuffer','method','_firstFragment','HTTP/1.1\x20','connect','_maxPayload','_httpService','handleUpgrade','Sec-WebSocket-Extensions:\x20','Sec-WebSocket-Protocol','_socket','bufferedAmount','readUInt32BE','species','The\x20URL\x27s\x20pathname\x20is\x20empty','indexOf','emit','byteLength','close','_doCreateSocket','pathname','_threshold','auth','WS_ERR_INVALID_UTF8','Unexpected\x20character\x20at\x20index\x20','_readableState','createDeflateRaw','GET','length','kAborted','isValidUTF8','push','getPayloadLength16','kTarget','kDone','normalizeParams','Invalid\x20HTTP\x20method','autoPong','Sec-WebSocket-Protocol:\x20','object','then','isIP','pong','_loop','params','enqueue','has','onclose','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','invalid\x20UTF-8\x20sequence','setConfig','shouldHandle','allowSynchronousEvents','pipe','_writableState','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','catch','FIN\x20must\x20be\x20set','_fragments','sendFrame','objectMode','client_no_context_takeover','setTimeout','_errored','completeUpgrade','redirect','freeze','_registerDependencies','env','isInteger','getConfig','WS_ERR_INVALID_OPCODE','verifyClient','Sec-WebSocket-Accept:\x20','CLOSED','set','_binaryType','socketPath','flush','cleanup','concurrency','origin','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20no\x20subprotocol','getPayloadLength64','arraybuffer','allocUnsafe','buffers','_allowSynchronousEvents','extensions','pause','keys','construct','once','1yHRXWH','message','isPaused','Invalid\x20Upgrade\x20header','path','server','removeEventListener','write','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','text/html','Z_DEFAULT_WINDOWBITS','upgrade','_mask','shift','find','\x22\x20must\x20have\x20only\x20a\x20single\x20value','permessage-deflate','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','sec-websocket-extensions','startsWith','The\x20\x22','search','MASK\x20must\x20be\x20clear','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_closeFrameReceived','_closeCode','268282KWLHef','kError','_read','send','toStringTag','hasOwnProperty','The\x20URL\x20contains\x20a\x20fragment\x20identifier','exports','kReason','_bufferedAmount','Invalid\x20Sec-WebSocket-Extensions\x20header','maxPayload','\x22:\x20','_skipUTF8Validation','offer','read','readable','cookie','kIsForOnEventAttribute','error','string','_closeTimer','Maximum\x20redirects\x20exceeded','_inflate','ws+unix:','wss:','_removeListeners','dataMessage','buffer','byteOffset','generateMask'];_0x52d4=function(){return _0x41b3a0;};return _0x52d4();}import _0x5e1ae5 from'buffer';import{ISnapshotServerService as _0x2cdd8c}from'@univerjs-pro/collaboration';const Be=_0x3cab51(0x266),Ft={'customHeaders':{}};function jt(_0x1f8a85){const _0x276c6b=_0x3cab51;return _0x1f8a85&&_0x1f8a85[_0x276c6b(0x1dd)]&&Object[_0x276c6b(0x1ec)][_0x276c6b(0x178)][_0x276c6b(0x255)](_0x1f8a85,_0x276c6b(0xe1))?_0x1f8a85[_0x276c6b(0xe1)]:_0x1f8a85;}function ut(_0x4d63a){const _0x7beaab=_0x3cab51;if(Object[_0x7beaab(0x1ec)][_0x7beaab(0x178)][_0x7beaab(0x255)](_0x4d63a,'__esModule'))return _0x4d63a;var _0x517d86=_0x4d63a['default'];if(typeof _0x517d86==_0x7beaab(0x1fe)){var _0x439761=function _0x5315e5(){const _0xaab571=_0x7beaab;return this instanceof _0x5315e5?Reflect[_0xaab571(0x157)](_0x517d86,arguments,this['constructor']):_0x517d86[_0xaab571(0x275)](this,arguments);};_0x439761[_0x7beaab(0x1ec)]=_0x517d86[_0x7beaab(0x1ec)];}else _0x439761={};return Object[_0x7beaab(0x236)](_0x439761,_0x7beaab(0x1dd),{'value':!0x0}),Object[_0x7beaab(0x156)](_0x4d63a)['forEach'](function(_0x5b5703){const _0x155f73=_0x7beaab;var _0xef5d79=Object[_0x155f73(0x25a)](_0x4d63a,_0x5b5703);Object[_0x155f73(0x236)](_0x439761,_0x5b5703,_0xef5d79['get']?_0xef5d79:{'enumerable':!0x0,'get':function(){return _0x4d63a[_0x5b5703];}});}),_0x439761;}var te={'exports':{}},ge,Ye;function V(){const _0x2cb713=_0x3cab51;if(Ye)return ge;Ye=0x1;const _0x9f24d2=[_0x2cb713(0x237),_0x2cb713(0x150),_0x2cb713(0x220)],_0x19058b=typeof Blob<'u';return _0x19058b&&_0x9f24d2[_0x2cb713(0x119)](_0x2cb713(0x256)),ge={'BINARY_TYPES':_0x9f24d2,'EMPTY_BUFFER':Buffer[_0x2cb713(0x221)](0x0),'GUID':_0x2cb713(0x1a5),'hasBlob':_0x19058b,'kForOnEventAttribute':Symbol(_0x2cb713(0x185)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x2cb713(0x26e)),'kWebSocket':Symbol(_0x2cb713(0x240)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x5b36c1=_0x3cab51;if(Ke)return te[_0x5b36c1(0x17a)];Ke=0x1;const {EMPTY_BUFFER:_0x5b03eb}=V(),_0x36a9c4=Buffer[Symbol[_0x5b36c1(0x107)]];function _0x5d1b66(_0x3a5cf6,_0x3b074d){const _0x79a12e=_0x5b36c1;if(_0x3a5cf6['length']===0x0)return _0x5b03eb;if(_0x3a5cf6[_0x79a12e(0x116)]===0x1)return _0x3a5cf6[0x0];const _0x2d1431=Buffer[_0x79a12e(0x151)](_0x3b074d);let _0xaad8e4=0x0;for(let _0x2f8929=0x0;_0x2f8929<_0x3a5cf6[_0x79a12e(0x116)];_0x2f8929++){const _0x456e94=_0x3a5cf6[_0x2f8929];_0x2d1431[_0x79a12e(0x145)](_0x456e94,_0xaad8e4),_0xaad8e4+=_0x456e94[_0x79a12e(0x116)];}return _0xaad8e4<_0x3b074d?new _0x36a9c4(_0x2d1431[_0x79a12e(0x18f)],_0x2d1431[_0x79a12e(0x190)],_0xaad8e4):_0x2d1431;}function _0xf7f48d(_0x5a91ce,_0x1cffd3,_0x21027b,_0x2b42f8,_0x27d9a5){for(let _0x56e0f2=0x0;_0x56e0f2<_0x27d9a5;_0x56e0f2++)_0x21027b[_0x2b42f8+_0x56e0f2]=_0x5a91ce[_0x56e0f2]^_0x1cffd3[_0x56e0f2&0x3];}function _0x1b54dd(_0x49420e,_0xe9c69f){for(let _0x3b71be=0x0;_0x3b71be<_0x49420e['length'];_0x3b71be++)_0x49420e[_0x3b71be]^=_0xe9c69f[_0x3b71be&0x3];}function _0x29cd17(_0x592376){const _0x29bf99=_0x5b36c1;return _0x592376[_0x29bf99(0x116)]===_0x592376[_0x29bf99(0x18f)][_0x29bf99(0x10b)]?_0x592376[_0x29bf99(0x18f)]:_0x592376[_0x29bf99(0x18f)][_0x29bf99(0x201)](_0x592376[_0x29bf99(0x190)],_0x592376['byteOffset']+_0x592376[_0x29bf99(0x116)]);}function _0x3ce7b9(_0x105398){const _0x47819e=_0x5b36c1;if(_0x3ce7b9[_0x47819e(0x1de)]=!0x0,Buffer[_0x47819e(0x1aa)](_0x105398))return _0x105398;let _0x3a3dda;return _0x105398 instanceof ArrayBuffer?_0x3a3dda=new _0x36a9c4(_0x105398):ArrayBuffer['isView'](_0x105398)?_0x3a3dda=new _0x36a9c4(_0x105398['buffer'],_0x105398[_0x47819e(0x190)],_0x105398[_0x47819e(0x10b)]):(_0x3a3dda=Buffer[_0x47819e(0x1a0)](_0x105398),_0x3ce7b9['readOnly']=!0x1),_0x3a3dda;}if(te[_0x5b36c1(0x17a)]={'concat':_0x5d1b66,'mask':_0xf7f48d,'toArrayBuffer':_0x29cd17,'toBuffer':_0x3ce7b9,'unmask':_0x1b54dd},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x24f60d=Vt;te['exports'][_0x5b36c1(0xf7)]=function(_0x4d277e,_0x5c1e5d,_0x3097b9,_0x15392e,_0x2fed5c){const _0x1b4600=_0x5b36c1;_0x2fed5c<0x30?_0xf7f48d(_0x4d277e,_0x5c1e5d,_0x3097b9,_0x15392e,_0x2fed5c):_0x24f60d[_0x1b4600(0xf7)](_0x4d277e,_0x5c1e5d,_0x3097b9,_0x15392e,_0x2fed5c);},te[_0x5b36c1(0x17a)][_0x5b36c1(0x1f6)]=function(_0x307cf6,_0x8e5f98){const _0x5b772a=_0x5b36c1;_0x307cf6[_0x5b772a(0x116)]<0x20?_0x1b54dd(_0x307cf6,_0x8e5f98):_0x24f60d[_0x5b772a(0x1f6)](_0x307cf6,_0x8e5f98);};}catch{}return te[_0x5b36c1(0x17a)];}var ye,Xe;function qt(){const _0x5bbeed=_0x3cab51;if(Xe)return ye;Xe=0x1;const _0x246149=Symbol(_0x5bbeed(0x11c)),_0x1b85d5=Symbol(_0x5bbeed(0xde));class _0x1d0233{constructor(_0x25c358){const _0x3f3356=_0x5bbeed;this[_0x246149]=()=>{this['pending']--,this[_0x1b85d5]();},this[_0x3f3356(0x14a)]=_0x25c358||0x1/0x0,this[_0x3f3356(0xdd)]=[],this[_0x3f3356(0xd4)]=0x0;}['add'](_0x12ee79){const _0x199653=_0x5bbeed;this[_0x199653(0xdd)][_0x199653(0x119)](_0x12ee79),this[_0x1b85d5]();}[_0x1b85d5](){const _0x435889=_0x5bbeed;if(this['pending']!==this[_0x435889(0x14a)]&&this[_0x435889(0xdd)][_0x435889(0x116)]){const _0x4d8200=this['jobs'][_0x435889(0x166)]();this[_0x435889(0xd4)]++,_0x4d8200(this[_0x246149]);}}}return ye=_0x1d0233,ye;}var ve,Ze;function he(){const _0x37f294=_0x3cab51;if(Ze)return ve;Ze=0x1;const _0x3baefd=_0x586e7c,_0x2f01fe=ce(),_0x515480=qt(),{kStatusCode:_0x2ff1fc}=V(),_0x232b5d=Buffer[Symbol['species']],_0x2e8e64=Buffer[_0x37f294(0x1a0)]([0x0,0x0,0xff,0xff]),_0x4f601b=Symbol(_0x37f294(0x169)),_0xfe1e4=Symbol(_0x37f294(0xcf)),_0x41004a=Symbol(_0x37f294(0x1d7)),_0x51a60f=Symbol(_0x37f294(0x152)),_0xb4a88b=Symbol(_0x37f294(0x186));let _0x4be4e2;class _0x5dfffd{constructor(_0x365679,_0x2660d7,_0x1344ba){const _0x12e444=_0x37f294;if(this[_0x12e444(0xff)]=_0x1344ba|0x0,this[_0x12e444(0x1cb)]=_0x365679||{},this['_threshold']=this[_0x12e444(0x1cb)]['threshold']!==void 0x0?this[_0x12e444(0x1cb)]['threshold']:0x400,this['_isServer']=!!_0x2660d7,this[_0x12e444(0x22b)]=null,this['_inflate']=null,this['params']=null,!_0x4be4e2){const _0x58a338=this[_0x12e444(0x1cb)][_0x12e444(0x212)]!==void 0x0?this[_0x12e444(0x1cb)]['concurrencyLimit']:0xa;_0x4be4e2=new _0x515480(_0x58a338);}}static get['extensionName'](){const _0x1383d9=_0x37f294;return _0x1383d9(0x169);}[_0x37f294(0x181)](){const _0x15e89c=_0x37f294,_0x15906c={};return this[_0x15e89c(0x1cb)][_0x15e89c(0xd6)]&&(_0x15906c['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x15906c[_0x15e89c(0x137)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x15906c['server_max_window_bits']=this[_0x15e89c(0x1cb)]['serverMaxWindowBits']),this[_0x15e89c(0x1cb)][_0x15e89c(0x251)]?_0x15906c[_0x15e89c(0xe9)]=this[_0x15e89c(0x1cb)][_0x15e89c(0x251)]:this['_options'][_0x15e89c(0x251)]==null&&(_0x15906c[_0x15e89c(0xe9)]=!0x0),_0x15906c;}[_0x37f294(0x24e)](_0x1e9897){const _0x1888aa=_0x37f294;return _0x1e9897=this[_0x1888aa(0x11d)](_0x1e9897),this['params']=this['_isServer']?this[_0x1888aa(0x1a3)](_0x1e9897):this[_0x1888aa(0x25d)](_0x1e9897),this['params'];}[_0x37f294(0x149)](){const _0x34db83=_0x37f294;if(this['_inflate']&&(this[_0x34db83(0x18a)]['close'](),this[_0x34db83(0x18a)]=null),this['_deflate']){const _0x45beab=this[_0x34db83(0x22b)][_0x41004a];this[_0x34db83(0x22b)]['close'](),this[_0x34db83(0x22b)]=null,_0x45beab&&_0x45beab(new Error(_0x34db83(0x16a)));}}[_0x37f294(0x1a3)](_0x45f194){const _0x11bcad=_0x37f294,_0x56d75a=this['_options'],_0x5690dd=_0x45f194[_0x11bcad(0x167)](_0x40a830=>!(_0x56d75a[_0x11bcad(0xd6)]===!0x1&&_0x40a830[_0x11bcad(0x217)]||_0x40a830[_0x11bcad(0x1a4)]&&(_0x56d75a['serverMaxWindowBits']===!0x1||typeof _0x56d75a[_0x11bcad(0x207)]==_0x11bcad(0x243)&&_0x56d75a[_0x11bcad(0x207)]>_0x40a830[_0x11bcad(0x1a4)])||typeof _0x56d75a[_0x11bcad(0x251)]==_0x11bcad(0x243)&&!_0x40a830[_0x11bcad(0xe9)]));if(!_0x5690dd)throw new Error(_0x11bcad(0x261));return _0x56d75a[_0x11bcad(0xd6)]&&(_0x5690dd[_0x11bcad(0x217)]=!0x0),_0x56d75a[_0x11bcad(0x1bc)]&&(_0x5690dd[_0x11bcad(0x137)]=!0x0),typeof _0x56d75a[_0x11bcad(0x207)]=='number'&&(_0x5690dd[_0x11bcad(0x1a4)]=_0x56d75a[_0x11bcad(0x207)]),typeof _0x56d75a['clientMaxWindowBits']==_0x11bcad(0x243)?_0x5690dd['client_max_window_bits']=_0x56d75a[_0x11bcad(0x251)]:(_0x5690dd[_0x11bcad(0xe9)]===!0x0||_0x56d75a[_0x11bcad(0x251)]===!0x1)&&delete _0x5690dd[_0x11bcad(0xe9)],_0x5690dd;}[_0x37f294(0x25d)](_0x1ef5b1){const _0xc96e9a=_0x37f294,_0xda4203=_0x1ef5b1[0x0];if(this[_0xc96e9a(0x1cb)][_0xc96e9a(0x1bc)]===!0x1&&_0xda4203[_0xc96e9a(0x137)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xda4203[_0xc96e9a(0xe9)])typeof this[_0xc96e9a(0x1cb)][_0xc96e9a(0x251)]==_0xc96e9a(0x243)&&(_0xda4203[_0xc96e9a(0xe9)]=this[_0xc96e9a(0x1cb)][_0xc96e9a(0x251)]);else{if(this['_options'][_0xc96e9a(0x251)]===!0x1||typeof this['_options']['clientMaxWindowBits']=='number'&&_0xda4203[_0xc96e9a(0xe9)]>this[_0xc96e9a(0x1cb)][_0xc96e9a(0x251)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xda4203;}[_0x37f294(0x11d)](_0x79dd6b){const _0xbb5acf=_0x37f294;return _0x79dd6b[_0xbb5acf(0x20c)](_0x16b000=>{const _0x484538=_0xbb5acf;Object[_0x484538(0x156)](_0x16b000)[_0x484538(0x20c)](_0x469f8f=>{const _0x1ec1a4=_0x484538;let _0x514a7a=_0x16b000[_0x469f8f];if(_0x514a7a[_0x1ec1a4(0x116)]>0x1)throw new Error(_0x1ec1a4(0x206)+_0x469f8f+_0x1ec1a4(0x168));if(_0x514a7a=_0x514a7a[0x0],_0x469f8f==='client_max_window_bits'){if(_0x514a7a!==!0x0){const _0x10d86b=+_0x514a7a;if(!Number[_0x1ec1a4(0x13f)](_0x10d86b)||_0x10d86b<0x8||_0x10d86b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x469f8f+'\x22:\x20'+_0x514a7a);_0x514a7a=_0x10d86b;}else{if(!this[_0x1ec1a4(0x242)])throw new TypeError(_0x1ec1a4(0xd8)+_0x469f8f+'\x22:\x20'+_0x514a7a);}}else{if(_0x469f8f==='server_max_window_bits'){const _0x11c0dd=+_0x514a7a;if(!Number[_0x1ec1a4(0x13f)](_0x11c0dd)||_0x11c0dd<0x8||_0x11c0dd>0xf)throw new TypeError(_0x1ec1a4(0xd8)+_0x469f8f+_0x1ec1a4(0x17f)+_0x514a7a);_0x514a7a=_0x11c0dd;}else{if(_0x469f8f===_0x1ec1a4(0x137)||_0x469f8f==='server_no_context_takeover'){if(_0x514a7a!==!0x0)throw new TypeError(_0x1ec1a4(0xd8)+_0x469f8f+'\x22:\x20'+_0x514a7a);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x469f8f+'\x22');}}_0x16b000[_0x469f8f]=_0x514a7a;});}),_0x79dd6b;}['decompress'](_0xc49f68,_0x8d90cc,_0x7bb66f){const _0x16c64a=_0x37f294;_0x4be4e2[_0x16c64a(0xe3)](_0x277279=>{const _0x426f99=_0x16c64a;this[_0x426f99(0x270)](_0xc49f68,_0x8d90cc,(_0x32fb87,_0x82be8c)=>{_0x277279(),_0x7bb66f(_0x32fb87,_0x82be8c);});});}[_0x37f294(0x22a)](_0x63f236,_0x1d2c05,_0x4a66f7){const _0x82be6=_0x37f294;_0x4be4e2[_0x82be6(0xe3)](_0xed5c1=>{const _0x15fac1=_0x82be6;this[_0x15fac1(0xf4)](_0x63f236,_0x1d2c05,(_0x3c4d9e,_0x1f853c)=>{_0xed5c1(),_0x4a66f7(_0x3c4d9e,_0x1f853c);});});}[_0x37f294(0x270)](_0x38124e,_0x5ae4ed,_0x431370){const _0x1721cb=_0x37f294,_0xcdbc47=this[_0x1721cb(0x242)]?'client':_0x1721cb(0x15e);if(!this[_0x1721cb(0x18a)]){const _0x15ea5a=_0xcdbc47+_0x1721cb(0xf1),_0x53765f=typeof this[_0x1721cb(0x126)][_0x15ea5a]!=_0x1721cb(0x243)?_0x3baefd[_0x1721cb(0x163)]:this[_0x1721cb(0x126)][_0x15ea5a];this[_0x1721cb(0x18a)]=_0x3baefd['createInflateRaw']({...this[_0x1721cb(0x1cb)][_0x1721cb(0x27a)],'windowBits':_0x53765f}),this[_0x1721cb(0x18a)][_0x4f601b]=this,this[_0x1721cb(0x18a)][_0xfe1e4]=0x0,this[_0x1721cb(0x18a)][_0x51a60f]=[],this[_0x1721cb(0x18a)]['on'](_0x1721cb(0x186),_0x2f01c1),this[_0x1721cb(0x18a)]['on'](_0x1721cb(0x1e4),_0x48bb51);}this[_0x1721cb(0x18a)][_0x41004a]=_0x431370,this[_0x1721cb(0x18a)][_0x1721cb(0x160)](_0x38124e),_0x5ae4ed&&this[_0x1721cb(0x18a)]['write'](_0x2e8e64),this['_inflate'][_0x1721cb(0x148)](()=>{const _0x275b6e=_0x1721cb,_0x1ebbf8=this[_0x275b6e(0x18a)][_0xb4a88b];if(_0x1ebbf8){this[_0x275b6e(0x18a)][_0x275b6e(0x10c)](),this[_0x275b6e(0x18a)]=null,_0x431370(_0x1ebbf8);return;}const _0xcc3761=_0x2f01fe[_0x275b6e(0x22d)](this['_inflate'][_0x51a60f],this[_0x275b6e(0x18a)][_0xfe1e4]);this[_0x275b6e(0x18a)][_0x275b6e(0x113)][_0x275b6e(0x21d)]?(this[_0x275b6e(0x18a)][_0x275b6e(0x10c)](),this['_inflate']=null):(this['_inflate'][_0xfe1e4]=0x0,this[_0x275b6e(0x18a)][_0x51a60f]=[],_0x5ae4ed&&this[_0x275b6e(0x126)][_0xcdbc47+_0x275b6e(0x204)]&&this['_inflate'][_0x275b6e(0x19e)]()),_0x431370(null,_0xcc3761);});}['_compress'](_0x5ee9b4,_0x3a69fc,_0x1dba82){const _0x6ccf9a=_0x37f294,_0xff14c7=this['_isServer']?_0x6ccf9a(0x15e):_0x6ccf9a(0x1c0);if(!this['_deflate']){const _0x2a4357=_0xff14c7+_0x6ccf9a(0xf1),_0x330404=typeof this['params'][_0x2a4357]!=_0x6ccf9a(0x243)?_0x3baefd['Z_DEFAULT_WINDOWBITS']:this[_0x6ccf9a(0x126)][_0x2a4357];this[_0x6ccf9a(0x22b)]=_0x3baefd[_0x6ccf9a(0x114)]({...this['_options'][_0x6ccf9a(0xe0)],'windowBits':_0x330404}),this[_0x6ccf9a(0x22b)][_0xfe1e4]=0x0,this[_0x6ccf9a(0x22b)][_0x51a60f]=[],this[_0x6ccf9a(0x22b)]['on'](_0x6ccf9a(0x1e4),_0x10ebec);}this[_0x6ccf9a(0x22b)][_0x41004a]=_0x1dba82,this[_0x6ccf9a(0x22b)][_0x6ccf9a(0x160)](_0x5ee9b4),this[_0x6ccf9a(0x22b)][_0x6ccf9a(0x148)](_0x3baefd[_0x6ccf9a(0x1a6)],()=>{const _0xa5a1e8=_0x6ccf9a;if(!this[_0xa5a1e8(0x22b)])return;let _0x73a2a5=_0x2f01fe['concat'](this[_0xa5a1e8(0x22b)][_0x51a60f],this[_0xa5a1e8(0x22b)][_0xfe1e4]);_0x3a69fc&&(_0x73a2a5=new _0x232b5d(_0x73a2a5[_0xa5a1e8(0x18f)],_0x73a2a5[_0xa5a1e8(0x190)],_0x73a2a5['length']-0x4)),this['_deflate'][_0x41004a]=null,this[_0xa5a1e8(0x22b)][_0xfe1e4]=0x0,this['_deflate'][_0x51a60f]=[],_0x3a69fc&&this['params'][_0xff14c7+_0xa5a1e8(0x204)]&&this['_deflate'][_0xa5a1e8(0x19e)](),_0x1dba82(null,_0x73a2a5);});}}ve=_0x5dfffd;function _0x10ebec(_0x574a3a){const _0x2c33a3=_0x37f294;this[_0x51a60f][_0x2c33a3(0x119)](_0x574a3a),this[_0xfe1e4]+=_0x574a3a[_0x2c33a3(0x116)];}function _0x48bb51(_0x427da7){const _0x4eec44=_0x37f294;if(this[_0xfe1e4]+=_0x427da7[_0x4eec44(0x116)],this[_0x4f601b]['_maxPayload']<0x1||this[_0xfe1e4]<=this[_0x4f601b][_0x4eec44(0xff)]){this[_0x51a60f][_0x4eec44(0x119)](_0x427da7);return;}this[_0xb4a88b]=new RangeError(_0x4eec44(0x1cc)),this[_0xb4a88b]['code']=_0x4eec44(0x244),this[_0xb4a88b][_0x2ff1fc]=0x3f1,this['removeListener']('data',_0x48bb51),this[_0x4eec44(0x19e)]();}function _0x2f01c1(_0x5bf08d){const _0x1d24b6=_0x37f294;this[_0x4f601b][_0x1d24b6(0x18a)]=null,_0x5bf08d[_0x2ff1fc]=0x3ef,this[_0x41004a](_0x5bf08d);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3cab51(0x13c)](Object[_0x3cab51(0x236)]({'__proto__':null,'default':Ht},Symbol[_0x3cab51(0x177)],{'value':_0x3cab51(0x1f2)})),Yt=ut(zt);var Qe;function ne(){const _0x2ca200=_0x3cab51;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x3d78e8}=_0x5e1ae5,{hasBlob:_0x1ce42c}=V(),_0x4d7f5d=[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 _0x457387(_0x465ac6){return _0x465ac6>=0x3e8&&_0x465ac6<=0x3f6&&_0x465ac6!==0x3ec&&_0x465ac6!==0x3ed&&_0x465ac6!==0x3ee||_0x465ac6>=0xbb8&&_0x465ac6<=0x1387;}function _0xc7ad81(_0x2c6f08){const _0x54e134=_0x4292,_0x32bc92=_0x2c6f08[_0x54e134(0x116)];let _0x484e3c=0x0;for(;_0x484e3c<_0x32bc92;)if((_0x2c6f08[_0x484e3c]&0x80)===0x0)_0x484e3c++;else{if((_0x2c6f08[_0x484e3c]&0xe0)===0xc0){if(_0x484e3c+0x1===_0x32bc92||(_0x2c6f08[_0x484e3c+0x1]&0xc0)!==0x80||(_0x2c6f08[_0x484e3c]&0xfe)===0xc0)return!0x1;_0x484e3c+=0x2;}else{if((_0x2c6f08[_0x484e3c]&0xf0)===0xe0){if(_0x484e3c+0x2>=_0x32bc92||(_0x2c6f08[_0x484e3c+0x1]&0xc0)!==0x80||(_0x2c6f08[_0x484e3c+0x2]&0xc0)!==0x80||_0x2c6f08[_0x484e3c]===0xe0&&(_0x2c6f08[_0x484e3c+0x1]&0xe0)===0x80||_0x2c6f08[_0x484e3c]===0xed&&(_0x2c6f08[_0x484e3c+0x1]&0xe0)===0xa0)return!0x1;_0x484e3c+=0x3;}else{if((_0x2c6f08[_0x484e3c]&0xf8)===0xf0){if(_0x484e3c+0x3>=_0x32bc92||(_0x2c6f08[_0x484e3c+0x1]&0xc0)!==0x80||(_0x2c6f08[_0x484e3c+0x2]&0xc0)!==0x80||(_0x2c6f08[_0x484e3c+0x3]&0xc0)!==0x80||_0x2c6f08[_0x484e3c]===0xf0&&(_0x2c6f08[_0x484e3c+0x1]&0xf0)===0x80||_0x2c6f08[_0x484e3c]===0xf4&&_0x2c6f08[_0x484e3c+0x1]>0x8f||_0x2c6f08[_0x484e3c]>0xf4)return!0x1;_0x484e3c+=0x4;}else return!0x1;}}}return!0x0;}function _0x4a067a(_0x248df0){const _0x5e34ed=_0x4292;return _0x1ce42c&&typeof _0x248df0==_0x5e34ed(0x121)&&typeof _0x248df0[_0x5e34ed(0x1b3)]==_0x5e34ed(0x1fe)&&typeof _0x248df0['type']=='string'&&typeof _0x248df0[_0x5e34ed(0x1d2)]=='function'&&(_0x248df0[Symbol[_0x5e34ed(0x177)]]===_0x5e34ed(0x259)||_0x248df0[Symbol[_0x5e34ed(0x177)]]===_0x5e34ed(0x1fa));}if(re[_0x2ca200(0x17a)]={'isBlob':_0x4a067a,'isValidStatusCode':_0x457387,'isValidUTF8':_0xc7ad81,'tokenChars':_0x4d7f5d},_0x3d78e8)re[_0x2ca200(0x17a)][_0x2ca200(0x118)]=function(_0x203dad){const _0x469c61=_0x2ca200;return _0x203dad[_0x469c61(0x116)]<0x18?_0xc7ad81(_0x203dad):_0x3d78e8(_0x203dad);};else{if(!process[_0x2ca200(0x13e)]['WS_NO_UTF_8_VALIDATE'])try{const _0x125b5b=Yt;re[_0x2ca200(0x17a)][_0x2ca200(0x118)]=function(_0x4139e9){const _0xd7e5c6=_0x2ca200;return _0x4139e9[_0xd7e5c6(0x116)]<0x20?_0xc7ad81(_0x4139e9):_0x125b5b(_0x4139e9);};}catch{}}return re[_0x2ca200(0x17a)];}var Se,Je;function dt(){const _0x5c8cf5=_0x3cab51;if(Je)return Se;Je=0x1;const {Writable:_0x5c3966}=_0x5288a5,_0xeedd89=he(),{BINARY_TYPES:_0xc59067,EMPTY_BUFFER:_0xbea882,kStatusCode:_0x2bccc3,kWebSocket:_0x298c6a}=V(),{concat:_0x2d5a91,toArrayBuffer:_0x5ae4ee,unmask:_0x48341e}=ce(),{isValidStatusCode:_0x7eed02,isValidUTF8:_0x3d4737}=ne(),_0x172a8b=Buffer[Symbol[_0x5c8cf5(0x107)]],_0xdf4f6d=0x0,_0x2c143b=0x1,_0x1a981b=0x2,_0x240467=0x3,_0x3a76b9=0x4,_0x5af9e0=0x5,_0x1425f2=0x6;class _0x4d83a3 extends _0x5c3966{constructor(_0x57a131={}){const _0x44105d=_0x5c8cf5;super(),this[_0x44105d(0x153)]=_0x57a131[_0x44105d(0x12e)]!==void 0x0?_0x57a131['allowSynchronousEvents']:!0x0,this[_0x44105d(0x146)]=_0x57a131[_0x44105d(0x198)]||_0xc59067[0x0],this['_extensions']=_0x57a131[_0x44105d(0x154)]||{},this[_0x44105d(0x242)]=!!_0x57a131['isServer'],this[_0x44105d(0xff)]=_0x57a131['maxPayload']|0x0,this[_0x44105d(0x180)]=!!_0x57a131['skipUTF8Validation'],this[_0x298c6a]=void 0x0,this[_0x44105d(0x1be)]=0x0,this[_0x44105d(0x199)]=[],this[_0x44105d(0x235)]=!0x1,this[_0x44105d(0x22e)]=0x0,this[_0x44105d(0x165)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x44105d(0x1b1)]=!0x1,this[_0x44105d(0x252)]=0x0,this['_totalPayloadLength']=0x0,this[_0x44105d(0xf3)]=0x0,this[_0x44105d(0x134)]=[],this[_0x44105d(0x139)]=!0x1,this['_loop']=!0x1,this[_0x44105d(0x253)]=_0xdf4f6d;}['_write'](_0x2395be,_0x21561f,_0x2c82e6){const _0x599332=_0x5c8cf5;if(this[_0x599332(0x252)]===0x8&&this[_0x599332(0x253)]==_0xdf4f6d)return _0x2c82e6();this[_0x599332(0x1be)]+=_0x2395be[_0x599332(0x116)],this[_0x599332(0x199)][_0x599332(0x119)](_0x2395be),this[_0x599332(0x225)](_0x2c82e6);}[_0x5c8cf5(0x1a7)](_0x32fbaa){const _0x5ce2cb=_0x5c8cf5;if(this[_0x5ce2cb(0x1be)]-=_0x32fbaa,_0x32fbaa===this[_0x5ce2cb(0x199)][0x0][_0x5ce2cb(0x116)])return this['_buffers'][_0x5ce2cb(0x166)]();if(_0x32fbaa<this[_0x5ce2cb(0x199)][0x0][_0x5ce2cb(0x116)]){const _0x1ab308=this[_0x5ce2cb(0x199)][0x0];return this[_0x5ce2cb(0x199)][0x0]=new _0x172a8b(_0x1ab308[_0x5ce2cb(0x18f)],_0x1ab308['byteOffset']+_0x32fbaa,_0x1ab308['length']-_0x32fbaa),new _0x172a8b(_0x1ab308['buffer'],_0x1ab308['byteOffset'],_0x32fbaa);}const _0x1b96c8=Buffer['allocUnsafe'](_0x32fbaa);do{const _0x46fcfc=this[_0x5ce2cb(0x199)][0x0],_0x567288=_0x1b96c8['length']-_0x32fbaa;_0x32fbaa>=_0x46fcfc[_0x5ce2cb(0x116)]?_0x1b96c8[_0x5ce2cb(0x145)](this[_0x5ce2cb(0x199)]['shift'](),_0x567288):(_0x1b96c8[_0x5ce2cb(0x145)](new Uint8Array(_0x46fcfc[_0x5ce2cb(0x18f)],_0x46fcfc[_0x5ce2cb(0x190)],_0x32fbaa),_0x567288),this[_0x5ce2cb(0x199)][0x0]=new _0x172a8b(_0x46fcfc[_0x5ce2cb(0x18f)],_0x46fcfc[_0x5ce2cb(0x190)]+_0x32fbaa,_0x46fcfc['length']-_0x32fbaa)),_0x32fbaa-=_0x46fcfc['length'];}while(_0x32fbaa>0x0);return _0x1b96c8;}['startLoop'](_0x278d2b){const _0xd8cd40=_0x5c8cf5;this['_loop']=!0x0;do switch(this[_0xd8cd40(0x253)]){case _0xdf4f6d:this[_0xd8cd40(0xee)](_0x278d2b);break;case _0x2c143b:this[_0xd8cd40(0x11a)](_0x278d2b);break;case _0x1a981b:this[_0xd8cd40(0x14f)](_0x278d2b);break;case _0x240467:this['getMask']();break;case _0x3a76b9:this['getData'](_0x278d2b);break;case _0x5af9e0:case _0x1425f2:this[_0xd8cd40(0x125)]=!0x1;return;}while(this[_0xd8cd40(0x125)]);this[_0xd8cd40(0x139)]||_0x278d2b();}[_0x5c8cf5(0xee)](_0x285a51){const _0x39e93a=_0x5c8cf5;if(this['_bufferedBytes']<0x2){this[_0x39e93a(0x125)]=!0x1;return;}const _0x23627a=this[_0x39e93a(0x1a7)](0x2);if((_0x23627a[0x0]&0x30)!==0x0){const _0x39fb66=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x170),!0x0,0x3ea,_0x39e93a(0xf0));_0x285a51(_0x39fb66);return;}const _0x6706a0=(_0x23627a[0x0]&0x40)===0x40;if(_0x6706a0&&!this[_0x39e93a(0x1fc)][_0xeedd89[_0x39e93a(0x1c3)]]){const _0x1e03b4=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x1ff),!0x0,0x3ea,_0x39e93a(0x276));_0x285a51(_0x1e03b4);return;}if(this[_0x39e93a(0x1b1)]=(_0x23627a[0x0]&0x80)===0x80,this[_0x39e93a(0x252)]=_0x23627a[0x0]&0xf,this[_0x39e93a(0x22e)]=_0x23627a[0x1]&0x7f,this['_opcode']===0x0){if(_0x6706a0){const _0x441520=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x1ff),!0x0,0x3ea,_0x39e93a(0x276));_0x285a51(_0x441520);return;}if(!this[_0x39e93a(0x20e)]){const _0x4ec5dd=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x192),!0x0,0x3ea,_0x39e93a(0x141));_0x285a51(_0x4ec5dd);return;}this[_0x39e93a(0x252)]=this[_0x39e93a(0x20e)];}else{if(this[_0x39e93a(0x252)]===0x1||this[_0x39e93a(0x252)]===0x2){if(this[_0x39e93a(0x20e)]){const _0x5a3a20=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x1e3)+this[_0x39e93a(0x252)],!0x0,0x3ea,_0x39e93a(0x141));_0x285a51(_0x5a3a20);return;}this[_0x39e93a(0x235)]=_0x6706a0;}else{if(this[_0x39e93a(0x252)]>0x7&&this[_0x39e93a(0x252)]<0xb){if(!this['_fin']){const _0xace64=this['createError'](RangeError,_0x39e93a(0x133),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x285a51(_0xace64);return;}if(_0x6706a0){const _0x29b94b=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x1ff),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x285a51(_0x29b94b);return;}if(this[_0x39e93a(0x22e)]>0x7d||this[_0x39e93a(0x252)]===0x8&&this[_0x39e93a(0x22e)]===0x1){const _0x1b186f=this['createError'](RangeError,_0x39e93a(0x264)+this[_0x39e93a(0x22e)],!0x0,0x3ea,_0x39e93a(0x1df));_0x285a51(_0x1b186f);return;}}else{const _0x1875cf=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x1e3)+this[_0x39e93a(0x252)],!0x0,0x3ea,_0x39e93a(0x141));_0x285a51(_0x1875cf);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x39e93a(0x20e)]=this[_0x39e93a(0x252)]),this['_masked']=(_0x23627a[0x1]&0x80)===0x80,this[_0x39e93a(0x242)]){if(!this['_masked']){const _0x1ba666=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x234),!0x0,0x3ea,_0x39e93a(0x1cf));_0x285a51(_0x1ba666);return;}}else{if(this[_0x39e93a(0x1a8)]){const _0x4207b1=this[_0x39e93a(0xcc)](RangeError,_0x39e93a(0x16f),!0x0,0x3ea,_0x39e93a(0x1b6));_0x285a51(_0x4207b1);return;}}this[_0x39e93a(0x22e)]===0x7e?this[_0x39e93a(0x253)]=_0x2c143b:this['_payloadLength']===0x7f?this[_0x39e93a(0x253)]=_0x1a981b:this['haveLength'](_0x285a51);}[_0x5c8cf5(0x11a)](_0x2d395b){const _0x316e10=_0x5c8cf5;if(this[_0x316e10(0x1be)]<0x2){this[_0x316e10(0x125)]=!0x1;return;}this[_0x316e10(0x22e)]=this['consume'](0x2)[_0x316e10(0xf6)](0x0),this['haveLength'](_0x2d395b);}[_0x5c8cf5(0x14f)](_0x48dc27){const _0x15fc43=_0x5c8cf5;if(this['_bufferedBytes']<0x8){this[_0x15fc43(0x125)]=!0x1;return;}const _0x3e0291=this[_0x15fc43(0x1a7)](0x8),_0x686345=_0x3e0291[_0x15fc43(0x106)](0x0);if(_0x686345>Math[_0x15fc43(0x1b2)](0x2,0x15)-0x1){const _0x284384=this['createError'](RangeError,_0x15fc43(0x258),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x48dc27(_0x284384);return;}this['_payloadLength']=_0x686345*Math[_0x15fc43(0x1b2)](0x2,0x20)+_0x3e0291[_0x15fc43(0x106)](0x4),this[_0x15fc43(0x1e5)](_0x48dc27);}[_0x5c8cf5(0x1e5)](_0x29eaa8){const _0x474282=_0x5c8cf5;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x474282(0x249)]+=this[_0x474282(0x22e)],this[_0x474282(0x249)]>this[_0x474282(0xff)]&&this[_0x474282(0xff)]>0x0)){const _0x3cfc0d=this['createError'](RangeError,_0x474282(0x1cc),!0x1,0x3f1,_0x474282(0x244));_0x29eaa8(_0x3cfc0d);return;}this[_0x474282(0x1a8)]?this[_0x474282(0x253)]=_0x240467:this[_0x474282(0x253)]=_0x3a76b9;}['getMask'](){const _0xc3b86c=_0x5c8cf5;if(this[_0xc3b86c(0x1be)]<0x4){this['_loop']=!0x1;return;}this[_0xc3b86c(0x165)]=this[_0xc3b86c(0x1a7)](0x4),this[_0xc3b86c(0x253)]=_0x3a76b9;}[_0x5c8cf5(0xf8)](_0x3c1618){const _0x3dc80c=_0x5c8cf5;let _0x5b05d5=_0xbea882;if(this[_0x3dc80c(0x22e)]){if(this['_bufferedBytes']<this[_0x3dc80c(0x22e)]){this['_loop']=!0x1;return;}_0x5b05d5=this[_0x3dc80c(0x1a7)](this[_0x3dc80c(0x22e)]),this['_masked']&&(this[_0x3dc80c(0x165)][0x0]|this['_mask'][0x1]|this[_0x3dc80c(0x165)][0x2]|this[_0x3dc80c(0x165)][0x3])!==0x0&&_0x48341e(_0x5b05d5,this[_0x3dc80c(0x165)]);}if(this[_0x3dc80c(0x252)]>0x7){this[_0x3dc80c(0x1b5)](_0x5b05d5,_0x3c1618);return;}if(this[_0x3dc80c(0x235)]){this[_0x3dc80c(0x253)]=_0x5af9e0,this[_0x3dc80c(0x1ae)](_0x5b05d5,_0x3c1618);return;}_0x5b05d5['length']&&(this['_messageLength']=this[_0x3dc80c(0x249)],this[_0x3dc80c(0x134)][_0x3dc80c(0x119)](_0x5b05d5)),this[_0x3dc80c(0x18e)](_0x3c1618);}['decompress'](_0x53e88a,_0x5d0373){const _0x3bff42=_0x5c8cf5;this[_0x3bff42(0x1fc)][_0xeedd89['extensionName']][_0x3bff42(0x1ae)](_0x53e88a,this[_0x3bff42(0x1b1)],(_0xf49500,_0x5669a9)=>{const _0x5c8298=_0x3bff42;if(_0xf49500)return _0x5d0373(_0xf49500);if(_0x5669a9['length']){if(this[_0x5c8298(0xf3)]+=_0x5669a9[_0x5c8298(0x116)],this[_0x5c8298(0xf3)]>this[_0x5c8298(0xff)]&&this['_maxPayload']>0x0){const _0x21b24f=this[_0x5c8298(0xcc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5d0373(_0x21b24f);return;}this[_0x5c8298(0x134)][_0x5c8298(0x119)](_0x5669a9);}this[_0x5c8298(0x18e)](_0x5d0373),this[_0x5c8298(0x253)]===_0xdf4f6d&&this['startLoop'](_0x5d0373);});}[_0x5c8cf5(0x18e)](_0x37efcd){const _0xd625d8=_0x5c8cf5;if(!this[_0xd625d8(0x1b1)]){this[_0xd625d8(0x253)]=_0xdf4f6d;return;}const _0x4ffcde=this[_0xd625d8(0xf3)],_0x2d4717=this[_0xd625d8(0x134)];if(this['_totalPayloadLength']=0x0,this[_0xd625d8(0xf3)]=0x0,this[_0xd625d8(0x20e)]=0x0,this[_0xd625d8(0x134)]=[],this[_0xd625d8(0x252)]===0x2){let _0x4ed64e;this['_binaryType']===_0xd625d8(0x237)?_0x4ed64e=_0x2d5a91(_0x2d4717,_0x4ffcde):this[_0xd625d8(0x146)]===_0xd625d8(0x150)?_0x4ed64e=_0x5ae4ee(_0x2d5a91(_0x2d4717,_0x4ffcde)):this['_binaryType']==='blob'?_0x4ed64e=new Blob(_0x2d4717):_0x4ed64e=_0x2d4717,this[_0xd625d8(0x153)]?(this[_0xd625d8(0x10a)](_0xd625d8(0x15a),_0x4ed64e,!0x0),this[_0xd625d8(0x253)]=_0xdf4f6d):(this[_0xd625d8(0x253)]=_0x1425f2,setImmediate(()=>{const _0x20d82f=_0xd625d8;this[_0x20d82f(0x10a)](_0x20d82f(0x15a),_0x4ed64e,!0x0),this[_0x20d82f(0x253)]=_0xdf4f6d,this['startLoop'](_0x37efcd);}));}else{const _0x44c898=_0x2d5a91(_0x2d4717,_0x4ffcde);if(!this['_skipUTF8Validation']&&!_0x3d4737(_0x44c898)){const _0x31282c=this['createError'](Error,_0xd625d8(0x12b),!0x0,0x3ef,_0xd625d8(0x111));_0x37efcd(_0x31282c);return;}this[_0xd625d8(0x253)]===_0x5af9e0||this['_allowSynchronousEvents']?(this[_0xd625d8(0x10a)](_0xd625d8(0x15a),_0x44c898,!0x1),this[_0xd625d8(0x253)]=_0xdf4f6d):(this[_0xd625d8(0x253)]=_0x1425f2,setImmediate(()=>{const _0x5847d0=_0xd625d8;this[_0x5847d0(0x10a)](_0x5847d0(0x15a),_0x44c898,!0x1),this[_0x5847d0(0x253)]=_0xdf4f6d,this[_0x5847d0(0x225)](_0x37efcd);}));}}[_0x5c8cf5(0x1b5)](_0x152326,_0x1da60e){const _0x821ef7=_0x5c8cf5;if(this[_0x821ef7(0x252)]===0x8){if(_0x152326[_0x821ef7(0x116)]===0x0)this['_loop']=!0x1,this[_0x821ef7(0x10a)](_0x821ef7(0x1bf),0x3ed,_0xbea882),this[_0x821ef7(0x224)]();else{const _0x1587bc=_0x152326[_0x821ef7(0xf6)](0x0);if(!_0x7eed02(_0x1587bc)){const _0x258334=this[_0x821ef7(0xcc)](RangeError,_0x821ef7(0x1da)+_0x1587bc,!0x0,0x3ea,_0x821ef7(0x1e2));_0x1da60e(_0x258334);return;}const _0x18d8fe=new _0x172a8b(_0x152326[_0x821ef7(0x18f)],_0x152326[_0x821ef7(0x190)]+0x2,_0x152326[_0x821ef7(0x116)]-0x2);if(!this[_0x821ef7(0x180)]&&!_0x3d4737(_0x18d8fe)){const _0x293de3=this[_0x821ef7(0xcc)](Error,_0x821ef7(0x12b),!0x0,0x3ef,_0x821ef7(0x111));_0x1da60e(_0x293de3);return;}this[_0x821ef7(0x125)]=!0x1,this['emit'](_0x821ef7(0x1bf),_0x1587bc,_0x18d8fe),this[_0x821ef7(0x224)]();}this['_state']=_0xdf4f6d;return;}this[_0x821ef7(0x153)]?(this[_0x821ef7(0x10a)](this[_0x821ef7(0x252)]===0x9?_0x821ef7(0x1db):_0x821ef7(0x124),_0x152326),this[_0x821ef7(0x253)]=_0xdf4f6d):(this[_0x821ef7(0x253)]=_0x1425f2,setImmediate(()=>{const _0x569957=_0x821ef7;this[_0x569957(0x10a)](this[_0x569957(0x252)]===0x9?_0x569957(0x1db):_0x569957(0x124),_0x152326),this[_0x569957(0x253)]=_0xdf4f6d,this[_0x569957(0x225)](_0x1da60e);}));}['createError'](_0x5c1805,_0x2a606c,_0x1dec93,_0x4efc49,_0x60fa6a){const _0x681cd2=_0x5c8cf5;this[_0x681cd2(0x125)]=!0x1,this['_errored']=!0x0;const _0x1acf50=new _0x5c1805(_0x1dec93?'Invalid\x20WebSocket\x20frame:\x20'+_0x2a606c:_0x2a606c);return Error[_0x681cd2(0x197)](_0x1acf50,this['createError']),_0x1acf50[_0x681cd2(0x213)]=_0x60fa6a,_0x1acf50[_0x2bccc3]=_0x4efc49,_0x1acf50;}}return Se=_0x4d83a3,Se;}var Ee,et;function _t(){const _0x445a7e=_0x3cab51;if(et)return Ee;et=0x1;const {Duplex:_0x130dad}=_0x5288a5,{randomFillSync:_0x3d5cdd}=_0x33eb47,_0x9c25d3=he(),{EMPTY_BUFFER:_0xaea260,kWebSocket:_0x5ac987,NOOP:_0x1c63a3}=V(),{isBlob:_0x3078a1,isValidStatusCode:_0x446aff}=ne(),{mask:_0x4f7f40,toBuffer:_0x31e4bf}=ce(),_0x4dbad9=Symbol(_0x445a7e(0x19b)),_0x4862ef=Buffer[_0x445a7e(0x221)](0x4),_0x1fe262=0x8*0x400;let _0x454415,_0x43fbb7=_0x1fe262;const _0x5bf884=0x0,_0x4d805d=0x1,_0x5af493=0x2;class _0x287662{constructor(_0x4f1556,_0x37114d,_0x52e103){const _0x5536a6=_0x445a7e;this[_0x5536a6(0x1fc)]=_0x37114d||{},_0x52e103&&(this[_0x5536a6(0x1c7)]=_0x52e103,this[_0x5536a6(0x1d0)]=Buffer[_0x5536a6(0x221)](0x4)),this['_socket']=_0x4f1556,this[_0x5536a6(0xfc)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x5536a6(0x1bd)]=[],this[_0x5536a6(0x253)]=_0x5bf884,this[_0x5536a6(0x23c)]=_0x1c63a3,this[_0x5ac987]=void 0x0;}static['frame'](_0x1f4eae,_0x3c4b5c){const _0x38d150=_0x445a7e;let _0x509df5,_0x4f34a8=!0x1,_0x51384b=0x2,_0x39d746=!0x1;_0x3c4b5c[_0x38d150(0xf7)]&&(_0x509df5=_0x3c4b5c[_0x38d150(0xfa)]||_0x4862ef,_0x3c4b5c[_0x38d150(0x191)]?_0x3c4b5c[_0x38d150(0x191)](_0x509df5):(_0x43fbb7===_0x1fe262&&(_0x454415===void 0x0&&(_0x454415=Buffer['alloc'](_0x1fe262)),_0x3d5cdd(_0x454415,0x0,_0x1fe262),_0x43fbb7=0x0),_0x509df5[0x0]=_0x454415[_0x43fbb7++],_0x509df5[0x1]=_0x454415[_0x43fbb7++],_0x509df5[0x2]=_0x454415[_0x43fbb7++],_0x509df5[0x3]=_0x454415[_0x43fbb7++]),_0x39d746=(_0x509df5[0x0]|_0x509df5[0x1]|_0x509df5[0x2]|_0x509df5[0x3])===0x0,_0x51384b=0x6);let _0x15b212;typeof _0x1f4eae=='string'?(!_0x3c4b5c[_0x38d150(0xf7)]||_0x39d746)&&_0x3c4b5c[_0x4dbad9]!==void 0x0?_0x15b212=_0x3c4b5c[_0x4dbad9]:(_0x1f4eae=Buffer[_0x38d150(0x1a0)](_0x1f4eae),_0x15b212=_0x1f4eae[_0x38d150(0x116)]):(_0x15b212=_0x1f4eae[_0x38d150(0x116)],_0x4f34a8=_0x3c4b5c['mask']&&_0x3c4b5c[_0x38d150(0x1de)]&&!_0x39d746);let _0x3c6249=_0x15b212;_0x15b212>=0x10000?(_0x51384b+=0x8,_0x3c6249=0x7f):_0x15b212>0x7d&&(_0x51384b+=0x2,_0x3c6249=0x7e);const _0x2b14b7=Buffer[_0x38d150(0x151)](_0x4f34a8?_0x15b212+_0x51384b:_0x51384b);return _0x2b14b7[0x0]=_0x3c4b5c[_0x38d150(0x202)]?_0x3c4b5c[_0x38d150(0x196)]|0x80:_0x3c4b5c['opcode'],_0x3c4b5c['rsv1']&&(_0x2b14b7[0x0]|=0x40),_0x2b14b7[0x1]=_0x3c6249,_0x3c6249===0x7e?_0x2b14b7['writeUInt16BE'](_0x15b212,0x2):_0x3c6249===0x7f&&(_0x2b14b7[0x2]=_0x2b14b7[0x3]=0x0,_0x2b14b7[_0x38d150(0x1fb)](_0x15b212,0x4,0x6)),_0x3c4b5c[_0x38d150(0xf7)]?(_0x2b14b7[0x1]|=0x80,_0x2b14b7[_0x51384b-0x4]=_0x509df5[0x0],_0x2b14b7[_0x51384b-0x3]=_0x509df5[0x1],_0x2b14b7[_0x51384b-0x2]=_0x509df5[0x2],_0x2b14b7[_0x51384b-0x1]=_0x509df5[0x3],_0x39d746?[_0x2b14b7,_0x1f4eae]:_0x4f34a8?(_0x4f7f40(_0x1f4eae,_0x509df5,_0x2b14b7,_0x51384b,_0x15b212),[_0x2b14b7]):(_0x4f7f40(_0x1f4eae,_0x509df5,_0x1f4eae,0x0,_0x15b212),[_0x2b14b7,_0x1f4eae])):[_0x2b14b7,_0x1f4eae];}[_0x445a7e(0x10c)](_0x335ca6,_0x2a15fc,_0x5033f3,_0x3c3069){const _0x20ca88=_0x445a7e;let _0x3810c9;if(_0x335ca6===void 0x0)_0x3810c9=_0xaea260;else{if(typeof _0x335ca6!=_0x20ca88(0x243)||!_0x446aff(_0x335ca6))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2a15fc===void 0x0||!_0x2a15fc[_0x20ca88(0x116)])_0x3810c9=Buffer[_0x20ca88(0x151)](0x2),_0x3810c9[_0x20ca88(0xd3)](_0x335ca6,0x0);else{const _0x31f50a=Buffer[_0x20ca88(0x10b)](_0x2a15fc);if(_0x31f50a>0x7b)throw new RangeError(_0x20ca88(0x193));_0x3810c9=Buffer['allocUnsafe'](0x2+_0x31f50a),_0x3810c9[_0x20ca88(0xd3)](_0x335ca6,0x0),typeof _0x2a15fc==_0x20ca88(0x187)?_0x3810c9[_0x20ca88(0x160)](_0x2a15fc,0x2):_0x3810c9[_0x20ca88(0x145)](_0x2a15fc,0x2);}}const _0xaf85d4={[_0x4dbad9]:_0x3810c9['length'],'fin':!0x0,'generateMask':this[_0x20ca88(0x1c7)],'mask':_0x5033f3,'maskBuffer':this[_0x20ca88(0x1d0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x20ca88(0x253)]!==_0x5bf884?this['enqueue']([this['dispatch'],_0x3810c9,!0x1,_0xaf85d4,_0x3c3069]):this[_0x20ca88(0x135)](_0x287662[_0x20ca88(0x274)](_0x3810c9,_0xaf85d4),_0x3c3069);}['ping'](_0x12696b,_0x267e48,_0x33c9aa){const _0x1c69b8=_0x445a7e;let _0x42659c,_0x43ef36;if(typeof _0x12696b=='string'?(_0x42659c=Buffer[_0x1c69b8(0x10b)](_0x12696b),_0x43ef36=!0x1):_0x3078a1(_0x12696b)?(_0x42659c=_0x12696b[_0x1c69b8(0x262)],_0x43ef36=!0x1):(_0x12696b=_0x31e4bf(_0x12696b),_0x42659c=_0x12696b[_0x1c69b8(0x116)],_0x43ef36=_0x31e4bf[_0x1c69b8(0x1de)]),_0x42659c>0x7d)throw new RangeError(_0x1c69b8(0x14d));const _0x5a4c87={[_0x4dbad9]:_0x42659c,'fin':!0x0,'generateMask':this[_0x1c69b8(0x1c7)],'mask':_0x267e48,'maskBuffer':this[_0x1c69b8(0x1d0)],'opcode':0x9,'readOnly':_0x43ef36,'rsv1':!0x1};_0x3078a1(_0x12696b)?this[_0x1c69b8(0x253)]!==_0x5bf884?this[_0x1c69b8(0x127)]([this[_0x1c69b8(0x24c)],_0x12696b,!0x1,_0x5a4c87,_0x33c9aa]):this[_0x1c69b8(0x24c)](_0x12696b,!0x1,_0x5a4c87,_0x33c9aa):this[_0x1c69b8(0x253)]!==_0x5bf884?this[_0x1c69b8(0x127)]([this[_0x1c69b8(0xcd)],_0x12696b,!0x1,_0x5a4c87,_0x33c9aa]):this[_0x1c69b8(0x135)](_0x287662[_0x1c69b8(0x274)](_0x12696b,_0x5a4c87),_0x33c9aa);}[_0x445a7e(0x124)](_0x42c3e6,_0x11f7bf,_0x464e5a){const _0x3efb1e=_0x445a7e;let _0x1f835a,_0x1b4aab;if(typeof _0x42c3e6==_0x3efb1e(0x187)?(_0x1f835a=Buffer[_0x3efb1e(0x10b)](_0x42c3e6),_0x1b4aab=!0x1):_0x3078a1(_0x42c3e6)?(_0x1f835a=_0x42c3e6[_0x3efb1e(0x262)],_0x1b4aab=!0x1):(_0x42c3e6=_0x31e4bf(_0x42c3e6),_0x1f835a=_0x42c3e6[_0x3efb1e(0x116)],_0x1b4aab=_0x31e4bf[_0x3efb1e(0x1de)]),_0x1f835a>0x7d)throw new RangeError(_0x3efb1e(0x14d));const _0x332877={[_0x4dbad9]:_0x1f835a,'fin':!0x0,'generateMask':this[_0x3efb1e(0x1c7)],'mask':_0x11f7bf,'maskBuffer':this[_0x3efb1e(0x1d0)],'opcode':0xa,'readOnly':_0x1b4aab,'rsv1':!0x1};_0x3078a1(_0x42c3e6)?this[_0x3efb1e(0x253)]!==_0x5bf884?this[_0x3efb1e(0x127)]([this[_0x3efb1e(0x24c)],_0x42c3e6,!0x1,_0x332877,_0x464e5a]):this[_0x3efb1e(0x24c)](_0x42c3e6,!0x1,_0x332877,_0x464e5a):this[_0x3efb1e(0x253)]!==_0x5bf884?this['enqueue']([this['dispatch'],_0x42c3e6,!0x1,_0x332877,_0x464e5a]):this[_0x3efb1e(0x135)](_0x287662['frame'](_0x42c3e6,_0x332877),_0x464e5a);}[_0x445a7e(0x176)](_0x2124da,_0x380d7d,_0x3f597f){const _0x15d6df=_0x445a7e,_0x34ad60=this[_0x15d6df(0x1fc)][_0x9c25d3[_0x15d6df(0x1c3)]];let _0x444b90=_0x380d7d[_0x15d6df(0x1dc)]?0x2:0x1,_0x1e9703=_0x380d7d[_0x15d6df(0x22a)],_0x1cf6ce,_0x7d0e8c;typeof _0x2124da=='string'?(_0x1cf6ce=Buffer[_0x15d6df(0x10b)](_0x2124da),_0x7d0e8c=!0x1):_0x3078a1(_0x2124da)?(_0x1cf6ce=_0x2124da['size'],_0x7d0e8c=!0x1):(_0x2124da=_0x31e4bf(_0x2124da),_0x1cf6ce=_0x2124da['length'],_0x7d0e8c=_0x31e4bf[_0x15d6df(0x1de)]),this[_0x15d6df(0xfc)]?(this['_firstFragment']=!0x1,_0x1e9703&&_0x34ad60&&_0x34ad60[_0x15d6df(0x126)][_0x34ad60['_isServer']?_0x15d6df(0x217):_0x15d6df(0x137)]&&(_0x1e9703=_0x1cf6ce>=_0x34ad60[_0x15d6df(0x10f)]),this['_compress']=_0x1e9703):(_0x1e9703=!0x1,_0x444b90=0x0),_0x380d7d[_0x15d6df(0x202)]&&(this['_firstFragment']=!0x0);const _0x217592={[_0x4dbad9]:_0x1cf6ce,'fin':_0x380d7d[_0x15d6df(0x202)],'generateMask':this[_0x15d6df(0x1c7)],'mask':_0x380d7d[_0x15d6df(0xf7)],'maskBuffer':this[_0x15d6df(0x1d0)],'opcode':_0x444b90,'readOnly':_0x7d0e8c,'rsv1':_0x1e9703};_0x3078a1(_0x2124da)?this[_0x15d6df(0x253)]!==_0x5bf884?this[_0x15d6df(0x127)]([this['getBlobData'],_0x2124da,this[_0x15d6df(0xf4)],_0x217592,_0x3f597f]):this[_0x15d6df(0x24c)](_0x2124da,this[_0x15d6df(0xf4)],_0x217592,_0x3f597f):this[_0x15d6df(0x253)]!==_0x5bf884?this['enqueue']([this[_0x15d6df(0xcd)],_0x2124da,this[_0x15d6df(0xf4)],_0x217592,_0x3f597f]):this[_0x15d6df(0xcd)](_0x2124da,this[_0x15d6df(0xf4)],_0x217592,_0x3f597f);}[_0x445a7e(0x24c)](_0x53b0e3,_0x38915f,_0x282176,_0x5bd112){const _0x578b07=_0x445a7e;this[_0x578b07(0x1be)]+=_0x282176[_0x4dbad9],this[_0x578b07(0x253)]=_0x5af493,_0x53b0e3['arrayBuffer']()[_0x578b07(0x122)](_0x33919c=>{const _0x5d0427=_0x578b07;if(this[_0x5d0427(0x104)]['destroyed']){const _0x2cecdd=new Error(_0x5d0427(0x161));process[_0x5d0427(0x223)](_0x510fe3,this,_0x2cecdd,_0x5bd112);return;}this[_0x5d0427(0x1be)]-=_0x282176[_0x4dbad9];const _0xf5ad7d=_0x31e4bf(_0x33919c);_0x38915f?this['dispatch'](_0xf5ad7d,_0x38915f,_0x282176,_0x5bd112):(this[_0x5d0427(0x253)]=_0x5bf884,this[_0x5d0427(0x135)](_0x287662[_0x5d0427(0x274)](_0xf5ad7d,_0x282176),_0x5bd112),this['dequeue']());})[_0x578b07(0x132)](_0x5baf0d=>{const _0x31d31d=_0x578b07;process[_0x31d31d(0x223)](_0x1c17b1,this,_0x5baf0d,_0x5bd112);});}[_0x445a7e(0xcd)](_0x2577cd,_0x3b73a7,_0x449ef0,_0x35cd76){const _0x12d170=_0x445a7e;if(!_0x3b73a7){this[_0x12d170(0x135)](_0x287662[_0x12d170(0x274)](_0x2577cd,_0x449ef0),_0x35cd76);return;}const _0x2550f2=this[_0x12d170(0x1fc)][_0x9c25d3['extensionName']];this[_0x12d170(0x1be)]+=_0x449ef0[_0x4dbad9],this[_0x12d170(0x253)]=_0x4d805d,_0x2550f2[_0x12d170(0x22a)](_0x2577cd,_0x449ef0['fin'],(_0x305e15,_0x1565c3)=>{const _0x21710a=_0x12d170;if(this[_0x21710a(0x104)]['destroyed']){const _0x36503e=new Error(_0x21710a(0x1ad));_0x510fe3(this,_0x36503e,_0x35cd76);return;}this[_0x21710a(0x1be)]-=_0x449ef0[_0x4dbad9],this[_0x21710a(0x253)]=_0x5bf884,_0x449ef0[_0x21710a(0x1de)]=!0x1,this[_0x21710a(0x135)](_0x287662[_0x21710a(0x274)](_0x1565c3,_0x449ef0),_0x35cd76),this[_0x21710a(0x20d)]();});}[_0x445a7e(0x20d)](){const _0x558822=_0x445a7e;for(;this[_0x558822(0x253)]===_0x5bf884&&this[_0x558822(0x1bd)][_0x558822(0x116)];){const _0x500f89=this[_0x558822(0x1bd)][_0x558822(0x166)]();this['_bufferedBytes']-=_0x500f89[0x3][_0x4dbad9],Reflect[_0x558822(0x275)](_0x500f89[0x0],this,_0x500f89['slice'](0x1));}}[_0x445a7e(0x127)](_0x5b4963){const _0xbc9784=_0x445a7e;this[_0xbc9784(0x1be)]+=_0x5b4963[0x3][_0x4dbad9],this[_0xbc9784(0x1bd)]['push'](_0x5b4963);}[_0x445a7e(0x135)](_0x54bf56,_0x548337){const _0x177bf2=_0x445a7e;_0x54bf56[_0x177bf2(0x116)]===0x2?(this[_0x177bf2(0x104)][_0x177bf2(0xd1)](),this['_socket'][_0x177bf2(0x160)](_0x54bf56[0x0]),this['_socket'][_0x177bf2(0x160)](_0x54bf56[0x1],_0x548337),this[_0x177bf2(0x104)][_0x177bf2(0x19c)]()):this[_0x177bf2(0x104)]['write'](_0x54bf56[0x0],_0x548337);}}Ee=_0x287662;function _0x510fe3(_0x358b78,_0x11dcff,_0x2d91e4){const _0x4f6eec=_0x445a7e;typeof _0x2d91e4=='function'&&_0x2d91e4(_0x11dcff);for(let _0x2a00cb=0x0;_0x2a00cb<_0x358b78[_0x4f6eec(0x1bd)][_0x4f6eec(0x116)];_0x2a00cb++){const _0x1f3376=_0x358b78[_0x4f6eec(0x1bd)][_0x2a00cb],_0x27221b=_0x1f3376[_0x1f3376[_0x4f6eec(0x116)]-0x1];typeof _0x27221b=='function'&&_0x27221b(_0x11dcff);}}function _0x1c17b1(_0x5649a2,_0x81c226,_0xef18ec){_0x510fe3(_0x5649a2,_0x81c226,_0xef18ec),_0x5649a2['onerror'](_0x81c226);}return Ee;}var xe,tt;function _0x4292(_0x2f30cf,_0x1f1c8c){const _0x52d409=_0x52d4();return _0x4292=function(_0x42928d,_0x12b94d){_0x42928d=_0x42928d-0xcc;let _0x4866bf=_0x52d409[_0x42928d];return _0x4866bf;},_0x4292(_0x2f30cf,_0x1f1c8c);}function Kt(){const _0x589ba7=_0x3cab51;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4e5ce2,kListener:_0x264fec}=V(),_0xeca65c=Symbol(_0x589ba7(0x1ba)),_0x14c9ab=Symbol(_0x589ba7(0x1b4)),_0x3e6e76=Symbol(_0x589ba7(0x174)),_0x1b33b1=Symbol('kMessage'),_0x1a0f2c=Symbol(_0x589ba7(0x17b)),_0x4d61c2=Symbol(_0x589ba7(0x11b)),_0x1f8b86=Symbol(_0x589ba7(0x19a)),_0xddda60=Symbol(_0x589ba7(0x1ea));class _0x46d79c{constructor(_0x16114a){this[_0x4d61c2]=null,this[_0x1f8b86]=_0x16114a;}get['target'](){return this[_0x4d61c2];}get[_0x589ba7(0x25b)](){return this[_0x1f8b86];}}Object[_0x589ba7(0x236)](_0x46d79c[_0x589ba7(0x1ec)],_0x589ba7(0x20f),{'enumerable':!0x0}),Object['defineProperty'](_0x46d79c[_0x589ba7(0x1ec)],'type',{'enumerable':!0x0});class _0x105f7a extends _0x46d79c{constructor(_0x187947,_0x2736e1={}){const _0xf50ffb=_0x589ba7;super(_0x187947),this[_0xeca65c]=_0x2736e1[_0xf50ffb(0x213)]===void 0x0?0x0:_0x2736e1[_0xf50ffb(0x213)],this[_0x1a0f2c]=_0x2736e1[_0xf50ffb(0x267)]===void 0x0?'':_0x2736e1['reason'],this[_0xddda60]=_0x2736e1[_0xf50ffb(0xe8)]===void 0x0?!0x1:_0x2736e1['wasClean'];}get[_0x589ba7(0x213)](){return this[_0xeca65c];}get[_0x589ba7(0x267)](){return this[_0x1a0f2c];}get['wasClean'](){return this[_0xddda60];}}Object['defineProperty'](_0x105f7a[_0x589ba7(0x1ec)],'code',{'enumerable':!0x0}),Object[_0x589ba7(0x236)](_0x105f7a[_0x589ba7(0x1ec)],_0x589ba7(0x267),{'enumerable':!0x0}),Object[_0x589ba7(0x236)](_0x105f7a['prototype'],_0x589ba7(0xe8),{'enumerable':!0x0});class _0x4c9b04 extends _0x46d79c{constructor(_0x51e3fa,_0xe7e0c={}){const _0xa8529d=_0x589ba7;super(_0x51e3fa),this[_0x3e6e76]=_0xe7e0c['error']===void 0x0?null:_0xe7e0c[_0xa8529d(0x186)],this[_0x1b33b1]=_0xe7e0c[_0xa8529d(0x15a)]===void 0x0?'':_0xe7e0c[_0xa8529d(0x15a)];}get[_0x589ba7(0x186)](){return this[_0x3e6e76];}get['message'](){return this[_0x1b33b1];}}Object[_0x589ba7(0x236)](_0x4c9b04[_0x589ba7(0x1ec)],_0x589ba7(0x186),{'enumerable':!0x0}),Object[_0x589ba7(0x236)](_0x4c9b04['prototype'],_0x589ba7(0x15a),{'enumerable':!0x0});class _0x190fb6 extends _0x46d79c{constructor(_0x589118,_0x86efe4={}){const _0x315de7=_0x589ba7;super(_0x589118),this[_0x14c9ab]=_0x86efe4[_0x315de7(0x1e4)]===void 0x0?null:_0x86efe4[_0x315de7(0x1e4)];}get['data'](){return this[_0x14c9ab];}}Object[_0x589ba7(0x236)](_0x190fb6['prototype'],_0x589ba7(0x1e4),{'enumerable':!0x0}),xe={'CloseEvent':_0x105f7a,'ErrorEvent':_0x4c9b04,'Event':_0x46d79c,'EventTarget':{'addEventListener'(_0x1e9d49,_0x1b18f4,_0x10ce2d={}){const _0x4a5885=_0x589ba7;for(const _0x54e8a4 of this[_0x4a5885(0x195)](_0x1e9d49))if(!_0x10ce2d[_0x4e5ce2]&&_0x54e8a4[_0x264fec]===_0x1b18f4&&!_0x54e8a4[_0x4e5ce2])return;let _0x4106e;if(_0x1e9d49===_0x4a5885(0x15a))_0x4106e=function(_0x21e3d2,_0x358b06){const _0x1b93a1=_0x4a5885,_0x5dc64e=new _0x190fb6(_0x1b93a1(0x15a),{'data':_0x358b06?_0x21e3d2:_0x21e3d2[_0x1b93a1(0x1fd)]()});_0x5dc64e[_0x4d61c2]=this,_0xb2e1e2(_0x1b18f4,this,_0x5dc64e);};else{if(_0x1e9d49===_0x4a5885(0x10c))_0x4106e=function(_0x58771d,_0x54866d){const _0x2fa38b=_0x4a5885,_0x2e2206=new _0x105f7a('close',{'code':_0x58771d,'reason':_0x54866d[_0x2fa38b(0x1fd)](),'wasClean':this['_closeFrameReceived']&&this[_0x2fa38b(0x269)]});_0x2e2206[_0x4d61c2]=this,_0xb2e1e2(_0x1b18f4,this,_0x2e2206);};else{if(_0x1e9d49===_0x4a5885(0x186))_0x4106e=function(_0x2bc61d){const _0x5e1904=_0x4a5885,_0x429593=new _0x4c9b04(_0x5e1904(0x186),{'error':_0x2bc61d,'message':_0x2bc61d['message']});_0x429593[_0x4d61c2]=this,_0xb2e1e2(_0x1b18f4,this,_0x429593);};else{if(_0x1e9d49==='open')_0x4106e=function(){const _0x247cc4=_0x4a5885,_0x288a38=new _0x46d79c(_0x247cc4(0x1a2));_0x288a38[_0x4d61c2]=this,_0xb2e1e2(_0x1b18f4,this,_0x288a38);};else return;}}}_0x4106e[_0x4e5ce2]=!!_0x10ce2d[_0x4e5ce2],_0x4106e[_0x264fec]=_0x1b18f4,_0x10ce2d[_0x4a5885(0x158)]?this[_0x4a5885(0x158)](_0x1e9d49,_0x4106e):this['on'](_0x1e9d49,_0x4106e);},'removeEventListener'(_0x19bba3,_0x1b08d2){const _0xd379de=_0x589ba7;for(const _0x375f94 of this['listeners'](_0x19bba3))if(_0x375f94[_0x264fec]===_0x1b08d2&&!_0x375f94[_0x4e5ce2]){this[_0xd379de(0x1e8)](_0x19bba3,_0x375f94);break;}}},'MessageEvent':_0x190fb6};function _0xb2e1e2(_0x3380d4,_0x2d37d2,_0x5d59d3){const _0x258543=_0x589ba7;typeof _0x3380d4==_0x258543(0x121)&&_0x3380d4[_0x258543(0xdf)]?_0x3380d4['handleEvent'][_0x258543(0x255)](_0x3380d4,_0x5d59d3):_0x3380d4['call'](_0x2d37d2,_0x5d59d3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x225c62}=ne();function _0x38a7e4(_0xd594c6,_0x5e4c33,_0x1f2703){const _0x1cee50=_0x4292;_0xd594c6[_0x5e4c33]===void 0x0?_0xd594c6[_0x5e4c33]=[_0x1f2703]:_0xd594c6[_0x5e4c33][_0x1cee50(0x119)](_0x1f2703);}function _0x38e4ed(_0x479031){const _0x293d14=_0x4292,_0x82c050=Object[_0x293d14(0xce)](null);let _0x430683=Object[_0x293d14(0xce)](null),_0x5e7a6c=!0x1,_0x317e1f=!0x1,_0x3c4e6b=!0x1,_0x6d56e7,_0x254a00,_0x523870=-0x1,_0x637bb=-0x1,_0x3ad596=-0x1,_0x4e85cb=0x0;for(;_0x4e85cb<_0x479031[_0x293d14(0x116)];_0x4e85cb++)if(_0x637bb=_0x479031[_0x293d14(0x22f)](_0x4e85cb),_0x6d56e7===void 0x0){if(_0x3ad596===-0x1&&_0x225c62[_0x637bb]===0x1)_0x523870===-0x1&&(_0x523870=_0x4e85cb);else{if(_0x4e85cb!==0x0&&(_0x637bb===0x20||_0x637bb===0x9))_0x3ad596===-0x1&&_0x523870!==-0x1&&(_0x3ad596=_0x4e85cb);else{if(_0x637bb===0x3b||_0x637bb===0x2c){if(_0x523870===-0x1)throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);_0x3ad596===-0x1&&(_0x3ad596=_0x4e85cb);const _0x424a0e=_0x479031[_0x293d14(0x201)](_0x523870,_0x3ad596);_0x637bb===0x2c?(_0x38a7e4(_0x82c050,_0x424a0e,_0x430683),_0x430683=Object[_0x293d14(0xce)](null)):_0x6d56e7=_0x424a0e,_0x523870=_0x3ad596=-0x1;}else throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);}}}else{if(_0x254a00===void 0x0){if(_0x3ad596===-0x1&&_0x225c62[_0x637bb]===0x1)_0x523870===-0x1&&(_0x523870=_0x4e85cb);else{if(_0x637bb===0x20||_0x637bb===0x9)_0x3ad596===-0x1&&_0x523870!==-0x1&&(_0x3ad596=_0x4e85cb);else{if(_0x637bb===0x3b||_0x637bb===0x2c){if(_0x523870===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e85cb);_0x3ad596===-0x1&&(_0x3ad596=_0x4e85cb),_0x38a7e4(_0x430683,_0x479031[_0x293d14(0x201)](_0x523870,_0x3ad596),!0x0),_0x637bb===0x2c&&(_0x38a7e4(_0x82c050,_0x6d56e7,_0x430683),_0x430683=Object[_0x293d14(0xce)](null),_0x6d56e7=void 0x0),_0x523870=_0x3ad596=-0x1;}else{if(_0x637bb===0x3d&&_0x523870!==-0x1&&_0x3ad596===-0x1)_0x254a00=_0x479031[_0x293d14(0x201)](_0x523870,_0x4e85cb),_0x523870=_0x3ad596=-0x1;else throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);}}}}else{if(_0x317e1f){if(_0x225c62[_0x637bb]!==0x1)throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);_0x523870===-0x1?_0x523870=_0x4e85cb:_0x5e7a6c||(_0x5e7a6c=!0x0),_0x317e1f=!0x1;}else{if(_0x3c4e6b){if(_0x225c62[_0x637bb]===0x1)_0x523870===-0x1&&(_0x523870=_0x4e85cb);else{if(_0x637bb===0x22&&_0x523870!==-0x1)_0x3c4e6b=!0x1,_0x3ad596=_0x4e85cb;else{if(_0x637bb===0x5c)_0x317e1f=!0x0;else throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);}}}else{if(_0x637bb===0x22&&_0x479031[_0x293d14(0x22f)](_0x4e85cb-0x1)===0x3d)_0x3c4e6b=!0x0;else{if(_0x3ad596===-0x1&&_0x225c62[_0x637bb]===0x1)_0x523870===-0x1&&(_0x523870=_0x4e85cb);else{if(_0x523870!==-0x1&&(_0x637bb===0x20||_0x637bb===0x9))_0x3ad596===-0x1&&(_0x3ad596=_0x4e85cb);else{if(_0x637bb===0x3b||_0x637bb===0x2c){if(_0x523870===-0x1)throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);_0x3ad596===-0x1&&(_0x3ad596=_0x4e85cb);let _0x3c1116=_0x479031[_0x293d14(0x201)](_0x523870,_0x3ad596);_0x5e7a6c&&(_0x3c1116=_0x3c1116['replace'](/\\/g,''),_0x5e7a6c=!0x1),_0x38a7e4(_0x430683,_0x254a00,_0x3c1116),_0x637bb===0x2c&&(_0x38a7e4(_0x82c050,_0x6d56e7,_0x430683),_0x430683=Object[_0x293d14(0xce)](null),_0x6d56e7=void 0x0),_0x254a00=void 0x0,_0x523870=_0x3ad596=-0x1;}else throw new SyntaxError(_0x293d14(0x112)+_0x4e85cb);}}}}}}}if(_0x523870===-0x1||_0x3c4e6b||_0x637bb===0x20||_0x637bb===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x3ad596===-0x1&&(_0x3ad596=_0x4e85cb);const _0x1fb48c=_0x479031[_0x293d14(0x201)](_0x523870,_0x3ad596);return _0x6d56e7===void 0x0?_0x38a7e4(_0x82c050,_0x1fb48c,_0x430683):(_0x254a00===void 0x0?_0x38a7e4(_0x430683,_0x1fb48c,!0x0):_0x5e7a6c?_0x38a7e4(_0x430683,_0x254a00,_0x1fb48c[_0x293d14(0x1ac)](/\\/g,'')):_0x38a7e4(_0x430683,_0x254a00,_0x1fb48c),_0x38a7e4(_0x82c050,_0x6d56e7,_0x430683)),_0x82c050;}function _0x552276(_0x23f076){const _0x23f655=_0x4292;return Object[_0x23f655(0x156)](_0x23f076)[_0x23f655(0x23d)](_0x1e82f5=>{const _0x2f4d40=_0x23f655;let _0x48346b=_0x23f076[_0x1e82f5];return Array[_0x2f4d40(0x209)](_0x48346b)||(_0x48346b=[_0x48346b]),_0x48346b[_0x2f4d40(0x23d)](_0x165a21=>[_0x1e82f5]['concat'](Object[_0x2f4d40(0x156)](_0x165a21)['map'](_0x1e54b2=>{const _0x59a3e5=_0x2f4d40;let _0x395b51=_0x165a21[_0x1e54b2];return Array[_0x59a3e5(0x209)](_0x395b51)||(_0x395b51=[_0x395b51]),_0x395b51['map'](_0x315e8c=>_0x315e8c===!0x0?_0x1e54b2:_0x1e54b2+'='+_0x315e8c)[_0x59a3e5(0x219)](';\x20');}))[_0x2f4d40(0x219)](';\x20'))[_0x2f4d40(0x219)](',\x20');})['join'](',\x20');}return be={'format':_0x552276,'parse':_0x38e4ed},be;}var we,st;function Ie(){const _0x5389aa=_0x3cab51;if(st)return we;st=0x1;const _0x3b3c1f=_0x5e46e9,_0x2f1cf1=_0x15e436,_0x16ccf3=_0x56e0b3,_0x1f7e2b=_0x4f8d8c,_0x2cf287=_0x299e57,{randomBytes:_0x900908,createHash:_0x5a2370}=_0x33eb47,{Duplex:_0x35aff7,Readable:_0x5c2c51}=_0x5288a5,{URL:_0x2761cb}=_0x392803,_0x53ba59=he(),_0x51cec8=dt(),_0x5a2f99=_t(),{isBlob:_0x42a8e7}=ne(),{BINARY_TYPES:_0x2ebad7,EMPTY_BUFFER:_0x39179f,GUID:_0x4cd408,kForOnEventAttribute:_0x3d8b3e,kListener:_0x203f76,kStatusCode:_0x570d2a,kWebSocket:_0x2dd548,NOOP:_0xd20a11}=V(),{EventTarget:{addEventListener:_0x2b52af,removeEventListener:_0x2fd832}}=Kt(),{format:_0x20f6fd,parse:_0x11e86a}=pt(),{toBuffer:_0x74f77}=ce(),_0xf23b7f=0x1e*0x3e8,_0x1947a4=Symbol(_0x5389aa(0x117)),_0x5e77b5=[0x8,0xd],_0xf2d31f=['CONNECTING',_0x5389aa(0x1eb),_0x5389aa(0x1d9),'CLOSED'],_0x3042be=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x228501 extends _0x3b3c1f{constructor(_0x16b6b3,_0x491767,_0x2aded0){const _0x227899=_0x5389aa;super(),this['_binaryType']=_0x2ebad7[0x0],this[_0x227899(0x172)]=0x3ee,this[_0x227899(0x171)]=!0x1,this[_0x227899(0x269)]=!0x1,this['_closeMessage']=_0x39179f,this[_0x227899(0x188)]=null,this[_0x227899(0x248)]=!0x1,this[_0x227899(0x1fc)]={},this[_0x227899(0x23f)]=!0x1,this[_0x227899(0x1ca)]='',this[_0x227899(0x22c)]=_0x228501[_0x227899(0x1c8)],this[_0x227899(0xd7)]=null,this[_0x227899(0x228)]=null,this[_0x227899(0x104)]=null,_0x16b6b3!==null?(this[_0x227899(0x17c)]=0x0,this[_0x227899(0x242)]=!0x1,this[_0x227899(0x26c)]=0x0,_0x491767===void 0x0?_0x491767=[]:Array[_0x227899(0x209)](_0x491767)||(typeof _0x491767==_0x227899(0x121)&&_0x491767!==null?(_0x2aded0=_0x491767,_0x491767=[]):_0x491767=[_0x491767]),_0xf281e4(this,_0x16b6b3,_0x491767,_0x2aded0)):(this[_0x227899(0x238)]=_0x2aded0[_0x227899(0x11f)],this[_0x227899(0x242)]=!0x0);}get[_0x5389aa(0x198)](){const _0x10b3ce=_0x5389aa;return this[_0x10b3ce(0x146)];}set[_0x5389aa(0x198)](_0xc858d5){const _0xad4da0=_0x5389aa;_0x2ebad7['includes'](_0xc858d5)&&(this[_0xad4da0(0x146)]=_0xc858d5,this[_0xad4da0(0xd7)]&&(this[_0xad4da0(0xd7)]['_binaryType']=_0xc858d5));}get[_0x5389aa(0x105)](){const _0x346756=_0x5389aa;return this[_0x346756(0x104)]?this[_0x346756(0x104)][_0x346756(0x130)]['length']+this[_0x346756(0x228)][_0x346756(0x1be)]:this[_0x346756(0x17c)];}get[_0x5389aa(0x154)](){const _0x1911d4=_0x5389aa;return Object['keys'](this['_extensions'])[_0x1911d4(0x219)]();}get[_0x5389aa(0x15b)](){const _0x40def5=_0x5389aa;return this[_0x40def5(0x23f)];}get[_0x5389aa(0x129)](){return null;}get[_0x5389aa(0x23c)](){return null;}get[_0x5389aa(0xe6)](){return null;}get['onmessage'](){return null;}get[_0x5389aa(0x25c)](){return this['_protocol'];}get[_0x5389aa(0x1ce)](){const _0x12167a=_0x5389aa;return this[_0x12167a(0x22c)];}get[_0x5389aa(0x1f0)](){const _0x575fc3=_0x5389aa;return this[_0x575fc3(0x1e7)];}['setSocket'](_0x458332,_0x234392,_0x9dc4e9){const _0x54c22d=_0x5389aa,_0x2d3b15=new _0x51cec8({'allowSynchronousEvents':_0x9dc4e9['allowSynchronousEvents'],'binaryType':this[_0x54c22d(0x198)],'extensions':this[_0x54c22d(0x1fc)],'isServer':this['_isServer'],'maxPayload':_0x9dc4e9[_0x54c22d(0x17e)],'skipUTF8Validation':_0x9dc4e9[_0x54c22d(0x1c4)]}),_0x17bee8=new _0x5a2f99(_0x458332,this[_0x54c22d(0x1fc)],_0x9dc4e9['generateMask']);this['_receiver']=_0x2d3b15,this[_0x54c22d(0x228)]=_0x17bee8,this[_0x54c22d(0x104)]=_0x458332,_0x2d3b15[_0x2dd548]=this,_0x17bee8[_0x2dd548]=this,_0x458332[_0x2dd548]=this,_0x2d3b15['on'](_0x54c22d(0x1bf),_0x25626c),_0x2d3b15['on'](_0x54c22d(0x1f3),_0x2f142f),_0x2d3b15['on'](_0x54c22d(0x186),_0x2a06f7),_0x2d3b15['on'](_0x54c22d(0x15a),_0x1a9e14),_0x2d3b15['on'](_0x54c22d(0x1db),_0x1a12c2),_0x2d3b15['on'](_0x54c22d(0x124),_0x33aea7),_0x17bee8['onerror']=_0x154762,_0x458332[_0x54c22d(0x138)]&&_0x458332[_0x54c22d(0x138)](0x0),_0x458332['setNoDelay']&&_0x458332[_0x54c22d(0x1c6)](),_0x234392[_0x54c22d(0x116)]>0x0&&_0x458332['unshift'](_0x234392),_0x458332['on'](_0x54c22d(0x10c),_0x20a5c8),_0x458332['on'](_0x54c22d(0x1e4),_0x2e90b8),_0x458332['on'](_0x54c22d(0x224),_0x5898e0),_0x458332['on'](_0x54c22d(0x186),_0x4bc2e7),this[_0x54c22d(0x22c)]=_0x228501[_0x54c22d(0x1eb)],this[_0x54c22d(0x10a)](_0x54c22d(0x1a2));}[_0x5389aa(0x1f9)](){const _0xb993fd=_0x5389aa;if(!this['_socket']){this['_readyState']=_0x228501[_0xb993fd(0x144)],this[_0xb993fd(0x10a)](_0xb993fd(0x10c),this[_0xb993fd(0x172)],this[_0xb993fd(0x208)]);return;}this['_extensions'][_0x53ba59[_0xb993fd(0x1c3)]]&&this['_extensions'][_0x53ba59[_0xb993fd(0x1c3)]][_0xb993fd(0x149)](),this['_receiver']['removeAllListeners'](),this[_0xb993fd(0x22c)]=_0x228501[_0xb993fd(0x144)],this[_0xb993fd(0x10a)](_0xb993fd(0x10c),this['_closeCode'],this['_closeMessage']);}[_0x5389aa(0x10c)](_0x3bec96,_0x185389){const _0x19fb9d=_0x5389aa;if(this[_0x19fb9d(0x1ce)]!==_0x228501[_0x19fb9d(0x144)]){if(this[_0x19fb9d(0x1ce)]===_0x228501[_0x19fb9d(0x1c8)]){_0x124a0d(this,this[_0x19fb9d(0x21b)],_0x19fb9d(0x26a));return;}if(this[_0x19fb9d(0x1ce)]===_0x228501[_0x19fb9d(0x1d9)]){this[_0x19fb9d(0x269)]&&(this[_0x19fb9d(0x171)]||this['_receiver'][_0x19fb9d(0x130)]['errorEmitted'])&&this[_0x19fb9d(0x104)][_0x19fb9d(0x224)]();return;}this[_0x19fb9d(0x22c)]=_0x228501[_0x19fb9d(0x1d9)],this[_0x19fb9d(0x228)][_0x19fb9d(0x10c)](_0x3bec96,_0x185389,!this[_0x19fb9d(0x242)],_0x8de563=>{const _0x3ee1cd=_0x19fb9d;_0x8de563||(this[_0x3ee1cd(0x269)]=!0x0,(this[_0x3ee1cd(0x171)]||this[_0x3ee1cd(0xd7)]['_writableState'][_0x3ee1cd(0x229)])&&this[_0x3ee1cd(0x104)][_0x3ee1cd(0x224)]());}),_0x42fd3b(this);}}['pause'](){const _0x3bc6bd=_0x5389aa;this['readyState']===_0x228501['CONNECTING']||this['readyState']===_0x228501[_0x3bc6bd(0x144)]||(this[_0x3bc6bd(0x23f)]=!0x0,this[_0x3bc6bd(0x104)]['pause']());}[_0x5389aa(0x1db)](_0x3c8656,_0x35ebdb,_0x507447){const _0x374e6e=_0x5389aa;if(this[_0x374e6e(0x1ce)]===_0x228501[_0x374e6e(0x1c8)])throw new Error(_0x374e6e(0x1b9));if(typeof _0x3c8656==_0x374e6e(0x1fe)?(_0x507447=_0x3c8656,_0x3c8656=_0x35ebdb=void 0x0):typeof _0x35ebdb=='function'&&(_0x507447=_0x35ebdb,_0x35ebdb=void 0x0),typeof _0x3c8656==_0x374e6e(0x243)&&(_0x3c8656=_0x3c8656['toString']()),this[_0x374e6e(0x1ce)]!==_0x228501[_0x374e6e(0x1eb)]){_0x508165(this,_0x3c8656,_0x507447);return;}_0x35ebdb===void 0x0&&(_0x35ebdb=!this[_0x374e6e(0x242)]),this[_0x374e6e(0x228)][_0x374e6e(0x1db)](_0x3c8656||_0x39179f,_0x35ebdb,_0x507447);}[_0x5389aa(0x124)](_0x150b51,_0x301e1b,_0x387c19){const _0x417f54=_0x5389aa;if(this['readyState']===_0x228501[_0x417f54(0x1c8)])throw new Error(_0x417f54(0x1b9));if(typeof _0x150b51==_0x417f54(0x1fe)?(_0x387c19=_0x150b51,_0x150b51=_0x301e1b=void 0x0):typeof _0x301e1b==_0x417f54(0x1fe)&&(_0x387c19=_0x301e1b,_0x301e1b=void 0x0),typeof _0x150b51==_0x417f54(0x243)&&(_0x150b51=_0x150b51[_0x417f54(0x1fd)]()),this[_0x417f54(0x1ce)]!==_0x228501['OPEN']){_0x508165(this,_0x150b51,_0x387c19);return;}_0x301e1b===void 0x0&&(_0x301e1b=!this[_0x417f54(0x242)]),this['_sender'][_0x417f54(0x124)](_0x150b51||_0x39179f,_0x301e1b,_0x387c19);}['resume'](){const _0x5c9a4c=_0x5389aa;this[_0x5c9a4c(0x1ce)]===_0x228501[_0x5c9a4c(0x1c8)]||this['readyState']===_0x228501[_0x5c9a4c(0x144)]||(this[_0x5c9a4c(0x23f)]=!0x1,this[_0x5c9a4c(0xd7)]['_writableState'][_0x5c9a4c(0x1b7)]||this[_0x5c9a4c(0x104)]['resume']());}[_0x5389aa(0x176)](_0x15fcba,_0x39c77a,_0x3b53b0){const _0x49f57c=_0x5389aa;if(this[_0x49f57c(0x1ce)]===_0x228501[_0x49f57c(0x1c8)])throw new Error(_0x49f57c(0x1b9));if(typeof _0x39c77a==_0x49f57c(0x1fe)&&(_0x3b53b0=_0x39c77a,_0x39c77a={}),typeof _0x15fcba==_0x49f57c(0x243)&&(_0x15fcba=_0x15fcba[_0x49f57c(0x1fd)]()),this['readyState']!==_0x228501['OPEN']){_0x508165(this,_0x15fcba,_0x3b53b0);return;}const _0x367d38={'binary':typeof _0x15fcba!='string','mask':!this[_0x49f57c(0x242)],'compress':!0x0,'fin':!0x0,..._0x39c77a};this['_extensions'][_0x53ba59[_0x49f57c(0x1c3)]]||(_0x367d38[_0x49f57c(0x22a)]=!0x1),this[_0x49f57c(0x228)][_0x49f57c(0x176)](_0x15fcba||_0x39179f,_0x367d38,_0x3b53b0);}['terminate'](){const _0x6ba5ad=_0x5389aa;if(this[_0x6ba5ad(0x1ce)]!==_0x228501[_0x6ba5ad(0x144)]){if(this[_0x6ba5ad(0x1ce)]===_0x228501[_0x6ba5ad(0x1c8)]){_0x124a0d(this,this[_0x6ba5ad(0x21b)],_0x6ba5ad(0x26a));return;}this[_0x6ba5ad(0x104)]&&(this[_0x6ba5ad(0x22c)]=_0x228501[_0x6ba5ad(0x1d9)],this[_0x6ba5ad(0x104)]['destroy']());}}}Object[_0x5389aa(0x236)](_0x228501,_0x5389aa(0x1c8),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)]('CONNECTING')}),Object[_0x5389aa(0x236)](_0x228501[_0x5389aa(0x1ec)],_0x5389aa(0x1c8),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)](_0x5389aa(0x1c8))}),Object[_0x5389aa(0x236)](_0x228501,_0x5389aa(0x1eb),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)]('OPEN')}),Object['defineProperty'](_0x228501[_0x5389aa(0x1ec)],_0x5389aa(0x1eb),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)](_0x5389aa(0x1eb))}),Object['defineProperty'](_0x228501,_0x5389aa(0x1d9),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)](_0x5389aa(0x1d9))}),Object[_0x5389aa(0x236)](_0x228501[_0x5389aa(0x1ec)],'CLOSING',{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)]('CLOSING')}),Object[_0x5389aa(0x236)](_0x228501,_0x5389aa(0x144),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)](_0x5389aa(0x144))}),Object[_0x5389aa(0x236)](_0x228501[_0x5389aa(0x1ec)],_0x5389aa(0x144),{'enumerable':!0x0,'value':_0xf2d31f[_0x5389aa(0x109)](_0x5389aa(0x144))}),[_0x5389aa(0x198),'bufferedAmount','extensions',_0x5389aa(0x15b),_0x5389aa(0x25c),_0x5389aa(0x1ce),'url'][_0x5389aa(0x20c)](_0x2a5981=>{const _0x2d560f=_0x5389aa;Object[_0x2d560f(0x236)](_0x228501[_0x2d560f(0x1ec)],_0x2a5981,{'enumerable':!0x0});}),[_0x5389aa(0x1a2),_0x5389aa(0x186),_0x5389aa(0x10c),'message'][_0x5389aa(0x20c)](_0x39f7fd=>{const _0x558090=_0x5389aa;Object[_0x558090(0x236)](_0x228501[_0x558090(0x1ec)],'on'+_0x39f7fd,{'enumerable':!0x0,'get'(){const _0x20f243=_0x558090;for(const _0x4e4ccf of this[_0x20f243(0x195)](_0x39f7fd))if(_0x4e4ccf[_0x3d8b3e])return _0x4e4ccf[_0x203f76];return null;},'set'(_0x3ec3d0){const _0x5a5d13=_0x558090;for(const _0x2e5c41 of this[_0x5a5d13(0x195)](_0x39f7fd))if(_0x2e5c41[_0x3d8b3e]){this[_0x5a5d13(0x1e8)](_0x39f7fd,_0x2e5c41);break;}typeof _0x3ec3d0==_0x5a5d13(0x1fe)&&this[_0x5a5d13(0x218)](_0x39f7fd,_0x3ec3d0,{[_0x3d8b3e]:!0x0});}});}),_0x228501[_0x5389aa(0x1ec)]['addEventListener']=_0x2b52af,_0x228501[_0x5389aa(0x1ec)][_0x5389aa(0x15f)]=_0x2fd832,we=_0x228501;function _0xf281e4(_0x5c2935,_0x588e28,_0x38de79,_0x3bf81e){const _0x4512df=_0x5389aa,_0x2c4486={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5e77b5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3bf81e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4512df(0x115),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5c2935[_0x4512df(0x238)]=_0x2c4486[_0x4512df(0x11f)],!_0x5e77b5[_0x4512df(0x265)](_0x2c4486[_0x4512df(0x20a)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2c4486[_0x4512df(0x20a)]+_0x4512df(0x1e0)+_0x5e77b5[_0x4512df(0x219)](',\x20')+')');let _0x286685;if(_0x588e28 instanceof _0x2761cb)_0x286685=_0x588e28;else try{_0x286685=new _0x2761cb(_0x588e28);}catch{throw new SyntaxError(_0x4512df(0x25e)+_0x588e28);}_0x286685[_0x4512df(0x25c)]===_0x4512df(0x19f)?_0x286685['protocol']='ws:':_0x286685[_0x4512df(0x25c)]===_0x4512df(0x27c)&&(_0x286685['protocol']=_0x4512df(0x18c)),_0x5c2935[_0x4512df(0x1e7)]=_0x286685[_0x4512df(0xd2)];const _0x30507c=_0x286685[_0x4512df(0x25c)]===_0x4512df(0x18c),_0x433e30=_0x286685[_0x4512df(0x25c)]===_0x4512df(0x18b);let _0x33ef10;if(_0x286685[_0x4512df(0x25c)]!=='ws:'&&!_0x30507c&&!_0x433e30?_0x33ef10='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':_0x433e30&&!_0x286685[_0x4512df(0x10e)]?_0x33ef10=_0x4512df(0x108):_0x286685[_0x4512df(0xf9)]&&(_0x33ef10=_0x4512df(0x179)),_0x33ef10){const _0x3e9576=new SyntaxError(_0x33ef10);if(_0x5c2935['_redirects']===0x0)throw _0x3e9576;_0x5cd034(_0x5c2935,_0x3e9576);return;}const _0x2fb5d2=_0x30507c?0x1bb:0x50,_0x24b842=_0x900908(0x10)[_0x4512df(0x1fd)]('base64'),_0x31fc42=_0x30507c?_0x2f1cf1['request']:_0x16ccf3['request'],_0x11e52f=new Set();let _0x4d0295;if(_0x2c4486[_0x4512df(0x268)]=_0x2c4486[_0x4512df(0x268)]||(_0x30507c?_0x589b09:_0x34befb),_0x2c4486[_0x4512df(0x230)]=_0x2c4486['defaultPort']||_0x2fb5d2,_0x2c4486['port']=_0x286685[_0x4512df(0xf2)]||_0x2fb5d2,_0x2c4486[_0x4512df(0x1cd)]=_0x286685[_0x4512df(0x24d)][_0x4512df(0x16c)]('[')?_0x286685['hostname'][_0x4512df(0x201)](0x1,-0x1):_0x286685[_0x4512df(0x24d)],_0x2c4486[_0x4512df(0x1a1)]={..._0x2c4486[_0x4512df(0x1a1)],'Sec-WebSocket-Version':_0x2c4486[_0x4512df(0x20a)],'Sec-WebSocket-Key':_0x24b842,'Connection':_0x4512df(0x1ee),'Upgrade':_0x4512df(0x240)},_0x2c4486[_0x4512df(0x15d)]=_0x286685[_0x4512df(0x10e)]+_0x286685[_0x4512df(0x16e)],_0x2c4486[_0x4512df(0x24f)]=_0x2c4486['handshakeTimeout'],_0x2c4486[_0x4512df(0x1c1)]&&(_0x4d0295=new _0x53ba59(_0x2c4486[_0x4512df(0x1c1)]!==!0x0?_0x2c4486[_0x4512df(0x1c1)]:{},!0x1,_0x2c4486['maxPayload']),_0x2c4486[_0x4512df(0x1a1)][_0x4512df(0x278)]=_0x20f6fd({[_0x53ba59[_0x4512df(0x1c3)]]:_0x4d0295[_0x4512df(0x181)]()})),_0x38de79[_0x4512df(0x116)]){for(const _0x4851fb of _0x38de79){if(typeof _0x4851fb!=_0x4512df(0x187)||!_0x3042be['test'](_0x4851fb)||_0x11e52f[_0x4512df(0x128)](_0x4851fb))throw new SyntaxError(_0x4512df(0x14c));_0x11e52f[_0x4512df(0xe3)](_0x4851fb);}_0x2c4486[_0x4512df(0x1a1)][_0x4512df(0x103)]=_0x38de79[_0x4512df(0x219)](',');}if(_0x2c4486[_0x4512df(0x14b)]&&(_0x2c4486[_0x4512df(0x20a)]<0xd?_0x2c4486[_0x4512df(0x1a1)][_0x4512df(0xed)]=_0x2c4486[_0x4512df(0x14b)]:_0x2c4486[_0x4512df(0x1a1)][_0x4512df(0x24b)]=_0x2c4486['origin']),(_0x286685[_0x4512df(0x1f7)]||_0x286685[_0x4512df(0x263)])&&(_0x2c4486[_0x4512df(0x110)]=_0x286685[_0x4512df(0x1f7)]+':'+_0x286685[_0x4512df(0x263)]),_0x433e30){const _0x1907b5=_0x2c4486[_0x4512df(0x15d)][_0x4512df(0x203)](':');_0x2c4486[_0x4512df(0x147)]=_0x1907b5[0x0],_0x2c4486[_0x4512df(0x15d)]=_0x1907b5[0x1];}let _0x5e8469;if(_0x2c4486['followRedirects']){if(_0x5c2935[_0x4512df(0x26c)]===0x0){_0x5c2935[_0x4512df(0xda)]=_0x433e30,_0x5c2935[_0x4512df(0x247)]=_0x30507c,_0x5c2935['_originalHostOrSocketPath']=_0x433e30?_0x2c4486[_0x4512df(0x147)]:_0x286685[_0x4512df(0x1cd)];const _0x5577c2=_0x3bf81e&&_0x3bf81e[_0x4512df(0x1a1)];if(_0x3bf81e={..._0x3bf81e,'headers':{}},_0x5577c2){for(const [_0xec29b1,_0x32e772]of Object[_0x4512df(0x233)](_0x5577c2))_0x3bf81e[_0x4512df(0x1a1)][_0xec29b1[_0x4512df(0x21f)]()]=_0x32e772;}}else{if(_0x5c2935[_0x4512df(0x205)](_0x4512df(0x13b))===0x0){const _0x10357e=_0x433e30?_0x5c2935[_0x4512df(0xda)]?_0x2c4486[_0x4512df(0x147)]===_0x5c2935[_0x4512df(0x23e)]:!0x1:_0x5c2935[_0x4512df(0xda)]?!0x1:_0x286685[_0x4512df(0x1cd)]===_0x5c2935[_0x4512df(0x23e)];(!_0x10357e||_0x5c2935[_0x4512df(0x247)]&&!_0x30507c)&&(delete _0x2c4486[_0x4512df(0x1a1)][_0x4512df(0xe5)],delete _0x2c4486[_0x4512df(0x1a1)][_0x4512df(0x184)],_0x10357e||delete _0x2c4486[_0x4512df(0x1a1)][_0x4512df(0x1cd)],_0x2c4486['auth']=void 0x0);}}_0x2c4486[_0x4512df(0x110)]&&!_0x3bf81e[_0x4512df(0x1a1)][_0x4512df(0xe5)]&&(_0x3bf81e[_0x4512df(0x1a1)]['authorization']=_0x4512df(0x1c9)+Buffer[_0x4512df(0x1a0)](_0x2c4486['auth'])[_0x4512df(0x1fd)](_0x4512df(0x279))),_0x5e8469=_0x5c2935[_0x4512df(0x21b)]=_0x31fc42(_0x2c4486),_0x5c2935[_0x4512df(0x26c)]&&_0x5c2935['emit'](_0x4512df(0x13b),_0x5c2935['url'],_0x5e8469);}else _0x5e8469=_0x5c2935[_0x4512df(0x21b)]=_0x31fc42(_0x2c4486);_0x2c4486['timeout']&&_0x5e8469['on'](_0x4512df(0x24f),()=>{const _0x2cc6a4=_0x4512df;_0x124a0d(_0x5c2935,_0x5e8469,_0x2cc6a4(0x1d4));}),_0x5e8469['on']('error',_0x5d5516=>{const _0x4cfb79=_0x4512df;_0x5e8469===null||_0x5e8469[_0x1947a4]||(_0x5e8469=_0x5c2935[_0x4cfb79(0x21b)]=null,_0x5cd034(_0x5c2935,_0x5d5516));}),_0x5e8469['on']('response',_0x48b830=>{const _0xb5aff3=_0x4512df,_0x298de7=_0x48b830[_0xb5aff3(0x1a1)]['location'],_0x11caf1=_0x48b830[_0xb5aff3(0x215)];if(_0x298de7&&_0x2c4486[_0xb5aff3(0x27b)]&&_0x11caf1>=0x12c&&_0x11caf1<0x190){if(++_0x5c2935[_0xb5aff3(0x26c)]>_0x2c4486[_0xb5aff3(0x1e6)]){_0x124a0d(_0x5c2935,_0x5e8469,_0xb5aff3(0x189));return;}_0x5e8469[_0xb5aff3(0x1ed)]();let _0x2b9fec;try{_0x2b9fec=new _0x2761cb(_0x298de7,_0x588e28);}catch{const _0x4267ad=new SyntaxError(_0xb5aff3(0x25e)+_0x298de7);_0x5cd034(_0x5c2935,_0x4267ad);return;}_0xf281e4(_0x5c2935,_0x2b9fec,_0x38de79,_0x3bf81e);}else _0x5c2935['emit']('unexpected-response',_0x5e8469,_0x48b830)||_0x124a0d(_0x5c2935,_0x5e8469,_0xb5aff3(0x1c2)+_0x48b830['statusCode']);}),_0x5e8469['on']('upgrade',(_0x5d94f9,_0x79d6cc,_0x12fb13)=>{const _0x16698e=_0x4512df;if(_0x5c2935['emit'](_0x16698e(0x164),_0x5d94f9),_0x5c2935['readyState']!==_0x228501[_0x16698e(0x1c8)])return;_0x5e8469=_0x5c2935[_0x16698e(0x21b)]=null;const _0x1db7c2=_0x5d94f9['headers'][_0x16698e(0x164)];if(_0x1db7c2===void 0x0||_0x1db7c2[_0x16698e(0x21f)]()!==_0x16698e(0x240)){_0x124a0d(_0x5c2935,_0x79d6cc,_0x16698e(0x15c));return;}const _0x164103=_0x5a2370('sha1')[_0x16698e(0x25f)](_0x24b842+_0x4cd408)[_0x16698e(0x1e9)](_0x16698e(0x279));if(_0x5d94f9[_0x16698e(0x1a1)][_0x16698e(0x277)]!==_0x164103){_0x124a0d(_0x5c2935,_0x79d6cc,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x5796a2=_0x5d94f9[_0x16698e(0x1a1)]['sec-websocket-protocol'];let _0x494d20;if(_0x5796a2!==void 0x0?_0x11e52f[_0x16698e(0x262)]?_0x11e52f[_0x16698e(0x128)](_0x5796a2)||(_0x494d20=_0x16698e(0x271)):_0x494d20='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x11e52f[_0x16698e(0x262)]&&(_0x494d20=_0x16698e(0x14e)),_0x494d20){_0x124a0d(_0x5c2935,_0x79d6cc,_0x494d20);return;}_0x5796a2&&(_0x5c2935[_0x16698e(0x1ca)]=_0x5796a2);const _0x2e6333=_0x5d94f9[_0x16698e(0x1a1)][_0x16698e(0x16b)];if(_0x2e6333!==void 0x0){if(!_0x4d0295){_0x124a0d(_0x5c2935,_0x79d6cc,_0x16698e(0x131));return;}let _0x269641;try{_0x269641=_0x11e86a(_0x2e6333);}catch{_0x124a0d(_0x5c2935,_0x79d6cc,_0x16698e(0x17d));return;}const _0xde190f=Object[_0x16698e(0x156)](_0x269641);if(_0xde190f[_0x16698e(0x116)]!==0x1||_0xde190f[0x0]!==_0x53ba59[_0x16698e(0x1c3)]){_0x124a0d(_0x5c2935,_0x79d6cc,_0x16698e(0x226));return;}try{_0x4d0295[_0x16698e(0x24e)](_0x269641[_0x53ba59[_0x16698e(0x1c3)]]);}catch{_0x124a0d(_0x5c2935,_0x79d6cc,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x5c2935[_0x16698e(0x1fc)][_0x53ba59['extensionName']]=_0x4d0295;}_0x5c2935[_0x16698e(0xeb)](_0x79d6cc,_0x12fb13,{'allowSynchronousEvents':_0x2c4486[_0x16698e(0x12e)],'generateMask':_0x2c4486[_0x16698e(0x191)],'maxPayload':_0x2c4486[_0x16698e(0x17e)],'skipUTF8Validation':_0x2c4486[_0x16698e(0x1c4)]});}),_0x2c4486[_0x4512df(0x21e)]?_0x2c4486[_0x4512df(0x21e)](_0x5e8469,_0x5c2935):_0x5e8469[_0x4512df(0x224)]();}function _0x5cd034(_0x13b101,_0x4e5381){const _0x31958a=_0x5389aa;_0x13b101['_readyState']=_0x228501[_0x31958a(0x1d9)],_0x13b101[_0x31958a(0x248)]=!0x0,_0x13b101[_0x31958a(0x10a)](_0x31958a(0x186),_0x4e5381),_0x13b101['emitClose']();}function _0x34befb(_0x1c1854){const _0x424eb1=_0x5389aa;return _0x1c1854[_0x424eb1(0x15d)]=_0x1c1854[_0x424eb1(0x147)],_0x1f7e2b[_0x424eb1(0xfe)](_0x1c1854);}function _0x589b09(_0x432766){const _0x21b5f0=_0x5389aa;return _0x432766['path']=void 0x0,!_0x432766['servername']&&_0x432766[_0x21b5f0(0xe7)]!==''&&(_0x432766[_0x21b5f0(0xe7)]=_0x1f7e2b[_0x21b5f0(0x123)](_0x432766[_0x21b5f0(0x1cd)])?'':_0x432766[_0x21b5f0(0x1cd)]),_0x2cf287[_0x21b5f0(0xfe)](_0x432766);}function _0x124a0d(_0x190f95,_0x164b8b,_0x561cd7){const _0x15d885=_0x5389aa;_0x190f95[_0x15d885(0x22c)]=_0x228501[_0x15d885(0x1d9)];const _0x3dea57=new Error(_0x561cd7);Error['captureStackTrace'](_0x3dea57,_0x124a0d),_0x164b8b[_0x15d885(0x241)]?(_0x164b8b[_0x1947a4]=!0x0,_0x164b8b[_0x15d885(0x1ed)](),_0x164b8b[_0x15d885(0x1e1)]&&!_0x164b8b[_0x15d885(0x1e1)][_0x15d885(0xdc)]&&_0x164b8b['socket'][_0x15d885(0x214)](),process[_0x15d885(0x223)](_0x5cd034,_0x190f95,_0x3dea57)):(_0x164b8b[_0x15d885(0x214)](_0x3dea57),_0x164b8b[_0x15d885(0x158)]('error',_0x190f95['emit']['bind'](_0x190f95,_0x15d885(0x186))),_0x164b8b[_0x15d885(0x158)]('close',_0x190f95[_0x15d885(0x1f9)][_0x15d885(0xd5)](_0x190f95)));}function _0x508165(_0x120160,_0x53b905,_0x24bb2a){const _0x4f8f08=_0x5389aa;if(_0x53b905){const _0x42b1c7=_0x42a8e7(_0x53b905)?_0x53b905[_0x4f8f08(0x262)]:_0x74f77(_0x53b905)[_0x4f8f08(0x116)];_0x120160['_socket']?_0x120160[_0x4f8f08(0x228)][_0x4f8f08(0x1be)]+=_0x42b1c7:_0x120160[_0x4f8f08(0x17c)]+=_0x42b1c7;}if(_0x24bb2a){const _0x2ce304=new Error(_0x4f8f08(0xe2)+_0x120160[_0x4f8f08(0x1ce)]+'\x20('+_0xf2d31f[_0x120160[_0x4f8f08(0x1ce)]]+')');process['nextTick'](_0x24bb2a,_0x2ce304);}}function _0x25626c(_0xfc6e8f,_0x2e5a59){const _0x270c80=_0x5389aa,_0x395841=this[_0x2dd548];_0x395841[_0x270c80(0x171)]=!0x0,_0x395841[_0x270c80(0x208)]=_0x2e5a59,_0x395841[_0x270c80(0x172)]=_0xfc6e8f,_0x395841[_0x270c80(0x104)][_0x2dd548]!==void 0x0&&(_0x395841[_0x270c80(0x104)][_0x270c80(0x1e8)]('data',_0x2e90b8),process[_0x270c80(0x223)](_0x313f66,_0x395841[_0x270c80(0x104)]),_0xfc6e8f===0x3ed?_0x395841[_0x270c80(0x10c)]():_0x395841[_0x270c80(0x10c)](_0xfc6e8f,_0x2e5a59));}function _0x2f142f(){const _0x5c7123=_0x5389aa,_0x128f1c=this[_0x2dd548];_0x128f1c[_0x5c7123(0x15b)]||_0x128f1c[_0x5c7123(0x104)][_0x5c7123(0x273)]();}function _0x2a06f7(_0xf86b91){const _0x101a24=_0x5389aa,_0x89dc3c=this[_0x2dd548];_0x89dc3c['_socket'][_0x2dd548]!==void 0x0&&(_0x89dc3c[_0x101a24(0x104)][_0x101a24(0x1e8)](_0x101a24(0x1e4),_0x2e90b8),process[_0x101a24(0x223)](_0x313f66,_0x89dc3c[_0x101a24(0x104)]),_0x89dc3c[_0x101a24(0x10c)](_0xf86b91[_0x570d2a])),_0x89dc3c[_0x101a24(0x248)]||(_0x89dc3c['_errorEmitted']=!0x0,_0x89dc3c[_0x101a24(0x10a)](_0x101a24(0x186),_0xf86b91));}function _0x400185(){const _0x5d692d=_0x5389aa;this[_0x2dd548][_0x5d692d(0x1f9)]();}function _0x1a9e14(_0x57aa14,_0x3b82ba){const _0x5ae80a=_0x5389aa;this[_0x2dd548][_0x5ae80a(0x10a)](_0x5ae80a(0x15a),_0x57aa14,_0x3b82ba);}function _0x1a12c2(_0x12b640){const _0x5a16d2=_0x5389aa,_0x5073ea=this[_0x2dd548];_0x5073ea['_autoPong']&&_0x5073ea[_0x5a16d2(0x124)](_0x12b640,!this['_isServer'],_0xd20a11),_0x5073ea[_0x5a16d2(0x10a)](_0x5a16d2(0x1db),_0x12b640);}function _0x33aea7(_0x331bd5){const _0x1bd153=_0x5389aa;this[_0x2dd548]['emit'](_0x1bd153(0x124),_0x331bd5);}function _0x313f66(_0x403264){const _0xab3bfe=_0x5389aa;_0x403264[_0xab3bfe(0x273)]();}function _0x154762(_0x545d7c){const _0x266850=_0x5389aa,_0x3ab0eb=this[_0x2dd548];_0x3ab0eb[_0x266850(0x1ce)]!==_0x228501['CLOSED']&&(_0x3ab0eb['readyState']===_0x228501['OPEN']&&(_0x3ab0eb[_0x266850(0x22c)]=_0x228501[_0x266850(0x1d9)],_0x42fd3b(_0x3ab0eb)),this[_0x266850(0x104)][_0x266850(0x224)](),_0x3ab0eb[_0x266850(0x248)]||(_0x3ab0eb[_0x266850(0x248)]=!0x0,_0x3ab0eb[_0x266850(0x10a)](_0x266850(0x186),_0x545d7c)));}function _0x42fd3b(_0x386c75){const _0x24f535=_0x5389aa;_0x386c75[_0x24f535(0x188)]=setTimeout(_0x386c75[_0x24f535(0x104)][_0x24f535(0x214)]['bind'](_0x386c75[_0x24f535(0x104)]),_0xf23b7f);}function _0x20a5c8(){const _0x5cccf4=_0x5389aa,_0x1898a0=this[_0x2dd548];this['removeListener'](_0x5cccf4(0x10c),_0x20a5c8),this[_0x5cccf4(0x1e8)](_0x5cccf4(0x1e4),_0x2e90b8),this[_0x5cccf4(0x1e8)](_0x5cccf4(0x224),_0x5898e0),_0x1898a0[_0x5cccf4(0x22c)]=_0x228501[_0x5cccf4(0x1d9)];let _0x36fe92;!this[_0x5cccf4(0x113)][_0x5cccf4(0x21d)]&&!_0x1898a0['_closeFrameReceived']&&!_0x1898a0[_0x5cccf4(0xd7)][_0x5cccf4(0x130)][_0x5cccf4(0x229)]&&(_0x36fe92=_0x1898a0[_0x5cccf4(0x104)][_0x5cccf4(0x182)]())!==null&&_0x1898a0[_0x5cccf4(0xd7)]['write'](_0x36fe92),_0x1898a0[_0x5cccf4(0xd7)][_0x5cccf4(0x224)](),this[_0x2dd548]=void 0x0,clearTimeout(_0x1898a0[_0x5cccf4(0x188)]),_0x1898a0[_0x5cccf4(0xd7)]['_writableState'][_0x5cccf4(0xdb)]||_0x1898a0[_0x5cccf4(0xd7)][_0x5cccf4(0x130)]['errorEmitted']?_0x1898a0[_0x5cccf4(0x1f9)]():(_0x1898a0[_0x5cccf4(0xd7)]['on']('error',_0x400185),_0x1898a0[_0x5cccf4(0xd7)]['on']('finish',_0x400185));}function _0x2e90b8(_0x541647){const _0x4d0286=_0x5389aa;this[_0x2dd548][_0x4d0286(0xd7)][_0x4d0286(0x160)](_0x541647)||this[_0x4d0286(0x155)]();}function _0x5898e0(){const _0x110bbf=_0x5389aa,_0x49702d=this[_0x2dd548];_0x49702d[_0x110bbf(0x22c)]=_0x228501[_0x110bbf(0x1d9)],_0x49702d[_0x110bbf(0xd7)][_0x110bbf(0x224)](),this[_0x110bbf(0x224)]();}function _0x4bc2e7(){const _0x1367e6=_0x5389aa,_0x12457f=this[_0x2dd548];this['removeListener'](_0x1367e6(0x186),_0x4bc2e7),this['on'](_0x1367e6(0x186),_0xd20a11),_0x12457f&&(_0x12457f[_0x1367e6(0x22c)]=_0x228501[_0x1367e6(0x1d9)],this[_0x1367e6(0x214)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2065f7}=_0x5288a5;function _0x2d65f3(_0x56782f){const _0x3e8407=_0x4292;_0x56782f[_0x3e8407(0x10a)](_0x3e8407(0x10c));}function _0x3383ae(){const _0x7db3f9=_0x4292;!this[_0x7db3f9(0xdc)]&&this[_0x7db3f9(0x130)]['finished']&&this[_0x7db3f9(0x214)]();}function _0x30ccf0(_0x5489cf){const _0x4b7afc=_0x4292;this[_0x4b7afc(0x1e8)]('error',_0x30ccf0),this[_0x4b7afc(0x214)](),this[_0x4b7afc(0x205)](_0x4b7afc(0x186))===0x0&&this[_0x4b7afc(0x10a)](_0x4b7afc(0x186),_0x5489cf);}function _0x587fba(_0x475bf3,_0x46c04d){const _0x4942b5=_0x4292;let _0x266a2a=!0x0;const _0x1a5fe5=new _0x2065f7({..._0x46c04d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x475bf3['on'](_0x4942b5(0x15a),function(_0x152737,_0x339940){const _0x5a0cfd=_0x4942b5,_0x5f23a3=!_0x339940&&_0x1a5fe5[_0x5a0cfd(0x113)][_0x5a0cfd(0x136)]?_0x152737[_0x5a0cfd(0x1fd)]():_0x152737;_0x1a5fe5[_0x5a0cfd(0x119)](_0x5f23a3)||_0x475bf3[_0x5a0cfd(0x155)]();}),_0x475bf3[_0x4942b5(0x158)]('error',function(_0x2843ec){const _0x2ac566=_0x4942b5;_0x1a5fe5['destroyed']||(_0x266a2a=!0x1,_0x1a5fe5[_0x2ac566(0x214)](_0x2843ec));}),_0x475bf3[_0x4942b5(0x158)](_0x4942b5(0x10c),function(){const _0x3b0d47=_0x4942b5;_0x1a5fe5[_0x3b0d47(0xdc)]||_0x1a5fe5['push'](null);}),_0x1a5fe5[_0x4942b5(0x231)]=function(_0xd3e69d,_0xbb4611){const _0x3adc19=_0x4942b5;if(_0x475bf3['readyState']===_0x475bf3['CLOSED']){_0xbb4611(_0xd3e69d),process[_0x3adc19(0x223)](_0x2d65f3,_0x1a5fe5);return;}let _0x5ded86=!0x1;_0x475bf3[_0x3adc19(0x158)](_0x3adc19(0x186),function(_0x5deb1a){_0x5ded86=!0x0,_0xbb4611(_0x5deb1a);}),_0x475bf3['once'](_0x3adc19(0x10c),function(){const _0x46b0ed=_0x3adc19;_0x5ded86||_0xbb4611(_0xd3e69d),process[_0x46b0ed(0x223)](_0x2d65f3,_0x1a5fe5);}),_0x266a2a&&_0x475bf3[_0x3adc19(0x254)]();},_0x1a5fe5[_0x4942b5(0x222)]=function(_0x3ef828){const _0x5d616e=_0x4942b5;if(_0x475bf3['readyState']===_0x475bf3[_0x5d616e(0x1c8)]){_0x475bf3[_0x5d616e(0x158)]('open',function(){const _0x184fca=_0x5d616e;_0x1a5fe5[_0x184fca(0x222)](_0x3ef828);});return;}_0x475bf3[_0x5d616e(0x104)]!==null&&(_0x475bf3[_0x5d616e(0x104)]['_writableState'][_0x5d616e(0xdb)]?(_0x3ef828(),_0x1a5fe5['_readableState']['endEmitted']&&_0x1a5fe5[_0x5d616e(0x214)]()):(_0x475bf3['_socket']['once']('finish',function(){_0x3ef828();}),_0x475bf3['close']()));},_0x1a5fe5[_0x4942b5(0x175)]=function(){const _0x1e6b58=_0x4942b5;_0x475bf3[_0x1e6b58(0x15b)]&&_0x475bf3[_0x1e6b58(0x273)]();},_0x1a5fe5[_0x4942b5(0x24a)]=function(_0x17fce2,_0x58f90b,_0x3d2a5a){const _0xd6cbdd=_0x4942b5;if(_0x475bf3[_0xd6cbdd(0x1ce)]===_0x475bf3[_0xd6cbdd(0x1c8)]){_0x475bf3['once']('open',function(){const _0x4e8c2c=_0xd6cbdd;_0x1a5fe5[_0x4e8c2c(0x24a)](_0x17fce2,_0x58f90b,_0x3d2a5a);});return;}_0x475bf3[_0xd6cbdd(0x176)](_0x17fce2,_0x3d2a5a);},_0x1a5fe5['on'](_0x4942b5(0x224),_0x3383ae),_0x1a5fe5['on'](_0x4942b5(0x186),_0x30ccf0),_0x1a5fe5;}return Oe=_0x587fba,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x357240}=ne();function _0x4d8dd9(_0xbe8b52){const _0x2881c1=_0x4292,_0x2d94da=new Set();let _0x3958a5=-0x1,_0x13fe17=-0x1,_0x319ff7=0x0;for(_0x319ff7;_0x319ff7<_0xbe8b52[_0x2881c1(0x116)];_0x319ff7++){const _0x1cf9ba=_0xbe8b52['charCodeAt'](_0x319ff7);if(_0x13fe17===-0x1&&_0x357240[_0x1cf9ba]===0x1)_0x3958a5===-0x1&&(_0x3958a5=_0x319ff7);else{if(_0x319ff7!==0x0&&(_0x1cf9ba===0x20||_0x1cf9ba===0x9))_0x13fe17===-0x1&&_0x3958a5!==-0x1&&(_0x13fe17=_0x319ff7);else{if(_0x1cf9ba===0x2c){if(_0x3958a5===-0x1)throw new SyntaxError(_0x2881c1(0x112)+_0x319ff7);_0x13fe17===-0x1&&(_0x13fe17=_0x319ff7);const _0x73b7a2=_0xbe8b52[_0x2881c1(0x201)](_0x3958a5,_0x13fe17);if(_0x2d94da[_0x2881c1(0x128)](_0x73b7a2))throw new SyntaxError(_0x2881c1(0x16d)+_0x73b7a2+_0x2881c1(0xf5));_0x2d94da['add'](_0x73b7a2),_0x3958a5=_0x13fe17=-0x1;}else throw new SyntaxError(_0x2881c1(0x112)+_0x319ff7);}}}if(_0x3958a5===-0x1||_0x13fe17!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x4c52e2=_0xbe8b52[_0x2881c1(0x201)](_0x3958a5,_0x319ff7);if(_0x2d94da[_0x2881c1(0x128)](_0x4c52e2))throw new SyntaxError(_0x2881c1(0x16d)+_0x4c52e2+_0x2881c1(0xf5));return _0x2d94da[_0x2881c1(0xe3)](_0x4c52e2),_0x2d94da;}return Ce={'parse':_0x4d8dd9},Ce;}var Te,ot;function er(){const _0x6187b5=_0x3cab51;if(ot)return Te;ot=0x1;const _0x590071=_0x5e46e9,_0x19c7bb=_0x56e0b3,{Duplex:_0x39b23e}=_0x5288a5,{createHash:_0x572584}=_0x33eb47,_0xb2a639=pt(),_0x509cbf=he(),_0x3646dc=Jt(),_0x3a3217=Ie(),{GUID:_0x1f4c0f,kWebSocket:_0x246822}=V(),_0x3a961a=/^[+/0-9A-Za-z]{22}==$/,_0x20fddd=0x0,_0x2d06da=0x1,_0x4046f0=0x2;class _0x146b6f extends _0x590071{constructor(_0x443972,_0x27c05d){const _0xc49930=_0x4292;if(super(),_0x443972={'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':_0x3a3217,..._0x443972},_0x443972[_0xc49930(0xf2)]==null&&!_0x443972[_0xc49930(0x15e)]&&!_0x443972[_0xc49930(0x21c)]||_0x443972[_0xc49930(0xf2)]!=null&&(_0x443972[_0xc49930(0x15e)]||_0x443972[_0xc49930(0x21c)])||_0x443972['server']&&_0x443972[_0xc49930(0x21c)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x443972[_0xc49930(0xf2)]!=null?(this[_0xc49930(0x246)]=_0x19c7bb[_0xc49930(0x257)]((_0x1ce575,_0x41ca03)=>{const _0x3c93dd=_0xc49930,_0xf4f932=_0x19c7bb['STATUS_CODES'][0x1aa];_0x41ca03['writeHead'](0x1aa,{'Content-Length':_0xf4f932[_0x3c93dd(0x116)],'Content-Type':'text/plain'}),_0x41ca03[_0x3c93dd(0x224)](_0xf4f932);}),this[_0xc49930(0x246)][_0xc49930(0x23b)](_0x443972[_0xc49930(0xf2)],_0x443972['host'],_0x443972[_0xc49930(0x1f1)],_0x27c05d)):_0x443972[_0xc49930(0x15e)]&&(this[_0xc49930(0x246)]=_0x443972[_0xc49930(0x15e)]),this['_server']){const _0x299d24=this[_0xc49930(0x10a)][_0xc49930(0xd5)](this,_0xc49930(0x26d));this[_0xc49930(0x18d)]=_0x2619ff(this['_server'],{'listening':this[_0xc49930(0x10a)][_0xc49930(0xd5)](this,'listening'),'error':this[_0xc49930(0x10a)][_0xc49930(0xd5)](this,_0xc49930(0x186)),'upgrade':(_0x356f1d,_0x3937dd,_0x3a3bd1)=>{this['handleUpgrade'](_0x356f1d,_0x3937dd,_0x3a3bd1,_0x299d24);}});}_0x443972[_0xc49930(0x1c1)]===!0x0&&(_0x443972[_0xc49930(0x1c1)]={}),_0x443972[_0xc49930(0x1bb)]&&(this[_0xc49930(0x20b)]=new Set(),this[_0xc49930(0xd9)]=!0x1),this['options']=_0x443972,this[_0xc49930(0x253)]=_0x20fddd;}[_0x6187b5(0x272)](){const _0x316fe1=_0x6187b5;if(this[_0x316fe1(0x1b0)][_0x316fe1(0x21c)])throw new Error(_0x316fe1(0x1af));return this[_0x316fe1(0x246)]?this[_0x316fe1(0x246)][_0x316fe1(0x272)]():null;}['close'](_0x3ceb27){const _0x299863=_0x6187b5;if(this[_0x299863(0x253)]===_0x4046f0){_0x3ceb27&&this[_0x299863(0x158)](_0x299863(0x10c),()=>{const _0x65f74e=_0x299863;_0x3ceb27(new Error(_0x65f74e(0x23a)));}),process['nextTick'](_0x22a4f5,this);return;}if(_0x3ceb27&&this['once'](_0x299863(0x10c),_0x3ceb27),this['_state']!==_0x2d06da){if(this['_state']=_0x2d06da,this[_0x299863(0x1b0)][_0x299863(0x21c)]||this['options']['server'])this[_0x299863(0x246)]&&(this[_0x299863(0x18d)](),this[_0x299863(0x18d)]=this[_0x299863(0x246)]=null),this[_0x299863(0x20b)]?this[_0x299863(0x20b)]['size']?this[_0x299863(0xd9)]=!0x0:process[_0x299863(0x223)](_0x22a4f5,this):process[_0x299863(0x223)](_0x22a4f5,this);else{const _0x1cddd1=this[_0x299863(0x246)];this[_0x299863(0x18d)](),this[_0x299863(0x18d)]=this[_0x299863(0x246)]=null,_0x1cddd1['close'](()=>{_0x22a4f5(this);});}}}[_0x6187b5(0x12d)](_0x22a481){const _0x4efaff=_0x6187b5;if(this[_0x4efaff(0x1b0)]['path']){const _0x43cafc=_0x22a481[_0x4efaff(0x1f0)][_0x4efaff(0x109)]('?');if((_0x43cafc!==-0x1?_0x22a481[_0x4efaff(0x1f0)][_0x4efaff(0x201)](0x0,_0x43cafc):_0x22a481[_0x4efaff(0x1f0)])!==this[_0x4efaff(0x1b0)][_0x4efaff(0x15d)])return!0x1;}return!0x0;}[_0x6187b5(0x101)](_0x4e662e,_0x13ee80,_0x127ec2,_0x54530c){const _0xff8116=_0x6187b5;_0x13ee80['on'](_0xff8116(0x186),_0x4fcf2c);const _0x16b511=_0x4e662e[_0xff8116(0x1a1)]['sec-websocket-key'],_0x1adcc8=_0x4e662e['headers']['upgrade'],_0x2b81ac=+_0x4e662e['headers']['sec-websocket-version'];if(_0x4e662e[_0xff8116(0xfb)]!==_0xff8116(0x115)){_0x1127bb(this,_0x4e662e,_0x13ee80,0x195,_0xff8116(0x11e));return;}if(_0x1adcc8===void 0x0||_0x1adcc8[_0xff8116(0x21f)]()!==_0xff8116(0x240)){_0x1127bb(this,_0x4e662e,_0x13ee80,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x16b511===void 0x0||!_0x3a961a['test'](_0x16b511)){_0x1127bb(this,_0x4e662e,_0x13ee80,0x190,_0xff8116(0x200));return;}if(_0x2b81ac!==0x8&&_0x2b81ac!==0xd){_0x1127bb(this,_0x4e662e,_0x13ee80,0x190,_0xff8116(0x12a));return;}if(!this['shouldHandle'](_0x4e662e)){_0x388957(_0x13ee80,0x190);return;}const _0x5ad83b=_0x4e662e['headers'][_0xff8116(0x1d8)];let _0x185480=new Set();if(_0x5ad83b!==void 0x0)try{_0x185480=_0x3646dc[_0xff8116(0x210)](_0x5ad83b);}catch{_0x1127bb(this,_0x4e662e,_0x13ee80,0x190,_0xff8116(0xd0));return;}const _0x34f354=_0x4e662e[_0xff8116(0x1a1)]['sec-websocket-extensions'],_0x45e0e6={};if(this[_0xff8116(0x1b0)][_0xff8116(0x1c1)]&&_0x34f354!==void 0x0){const _0xe2aade=new _0x509cbf(this[_0xff8116(0x1b0)]['perMessageDeflate'],!0x0,this[_0xff8116(0x1b0)][_0xff8116(0x17e)]);try{const _0x54f242=_0xb2a639[_0xff8116(0x210)](_0x34f354);_0x54f242[_0x509cbf[_0xff8116(0x1c3)]]&&(_0xe2aade[_0xff8116(0x24e)](_0x54f242[_0x509cbf[_0xff8116(0x1c3)]]),_0x45e0e6[_0x509cbf[_0xff8116(0x1c3)]]=_0xe2aade);}catch{_0x1127bb(this,_0x4e662e,_0x13ee80,0x190,_0xff8116(0x232));return;}}if(this[_0xff8116(0x1b0)][_0xff8116(0x142)]){const _0xa5437e={'origin':_0x4e662e[_0xff8116(0x1a1)][''+(_0x2b81ac===0x8?_0xff8116(0x216):_0xff8116(0x14b))],'secure':!!(_0x4e662e[_0xff8116(0x1e1)]['authorized']||_0x4e662e[_0xff8116(0x1e1)][_0xff8116(0x1c5)]),'req':_0x4e662e};if(this['options'][_0xff8116(0x142)]['length']===0x2){this[_0xff8116(0x1b0)][_0xff8116(0x142)](_0xa5437e,(_0x2bd67c,_0x43ea6f,_0x296daa,_0x1e125c)=>{const _0x20be6c=_0xff8116;if(!_0x2bd67c)return _0x388957(_0x13ee80,_0x43ea6f||0x191,_0x296daa,_0x1e125c);this[_0x20be6c(0x13a)](_0x45e0e6,_0x16b511,_0x185480,_0x4e662e,_0x13ee80,_0x127ec2,_0x54530c);});return;}if(!this['options'][_0xff8116(0x142)](_0xa5437e))return _0x388957(_0x13ee80,0x191);}this[_0xff8116(0x13a)](_0x45e0e6,_0x16b511,_0x185480,_0x4e662e,_0x13ee80,_0x127ec2,_0x54530c);}[_0x6187b5(0x13a)](_0x477444,_0x17f070,_0x9e3511,_0x4bad84,_0x1013a3,_0x238264,_0x1343bc){const _0x487584=_0x6187b5;if(!_0x1013a3[_0x487584(0x183)]||!_0x1013a3['writable'])return _0x1013a3[_0x487584(0x214)]();if(_0x1013a3[_0x246822])throw new Error(_0x487584(0x194));if(this[_0x487584(0x253)]>_0x20fddd)return _0x388957(_0x1013a3,0x1f7);const _0x161cc9=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x487584(0x227),'Connection:\x20Upgrade',_0x487584(0x143)+_0x572584('sha1')[_0x487584(0x25f)](_0x17f070+_0x1f4c0f)[_0x487584(0x1e9)](_0x487584(0x279))],_0x3e9775=new this[(_0x487584(0x1b0))]['WebSocket'](null,void 0x0,this[_0x487584(0x1b0)]);if(_0x9e3511[_0x487584(0x262)]){const _0x3d6476=this['options']['handleProtocols']?this[_0x487584(0x1b0)][_0x487584(0x211)](_0x9e3511,_0x4bad84):_0x9e3511[_0x487584(0x26f)]()[_0x487584(0xec)]()[_0x487584(0x19d)];_0x3d6476&&(_0x161cc9[_0x487584(0x119)](_0x487584(0x120)+_0x3d6476),_0x3e9775[_0x487584(0x1ca)]=_0x3d6476);}if(_0x477444[_0x509cbf[_0x487584(0x1c3)]]){const _0xcc58fd=_0x477444[_0x509cbf[_0x487584(0x1c3)]]['params'],_0x307811=_0xb2a639['format']({[_0x509cbf[_0x487584(0x1c3)]]:[_0xcc58fd]});_0x161cc9[_0x487584(0x119)](_0x487584(0x102)+_0x307811),_0x3e9775['_extensions']=_0x477444;}this['emit'](_0x487584(0x1a1),_0x161cc9,_0x4bad84),_0x1013a3[_0x487584(0x160)](_0x161cc9[_0x487584(0x22d)]('\x0d\x0a')[_0x487584(0x219)]('\x0d\x0a')),_0x1013a3['removeListener']('error',_0x4fcf2c),_0x3e9775['setSocket'](_0x1013a3,_0x238264,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x487584(0x1b0)][_0x487584(0x17e)],'skipUTF8Validation':this[_0x487584(0x1b0)][_0x487584(0x1c4)]}),this[_0x487584(0x20b)]&&(this[_0x487584(0x20b)]['add'](_0x3e9775),_0x3e9775['on'](_0x487584(0x10c),()=>{const _0x39a779=_0x487584;this[_0x39a779(0x20b)]['delete'](_0x3e9775),this[_0x39a779(0xd9)]&&!this[_0x39a779(0x20b)][_0x39a779(0x262)]&&process[_0x39a779(0x223)](_0x22a4f5,this);})),_0x1343bc(_0x3e9775,_0x4bad84);}}Te=_0x146b6f;function _0x2619ff(_0x56c543,_0x13433a){const _0x1c89b1=_0x6187b5;for(const _0x126b35 of Object[_0x1c89b1(0x156)](_0x13433a))_0x56c543['on'](_0x126b35,_0x13433a[_0x126b35]);return function(){const _0x1b9ebd=_0x1c89b1;for(const _0x3c9817 of Object[_0x1b9ebd(0x156)](_0x13433a))_0x56c543['removeListener'](_0x3c9817,_0x13433a[_0x3c9817]);};}function _0x22a4f5(_0x217f92){const _0x4fd1eb=_0x6187b5;_0x217f92[_0x4fd1eb(0x253)]=_0x4046f0,_0x217f92[_0x4fd1eb(0x10a)](_0x4fd1eb(0x10c));}function _0x4fcf2c(){const _0x2d067f=_0x6187b5;this[_0x2d067f(0x214)]();}function _0x388957(_0x38333d,_0x5a702b,_0x948f99,_0x5bfaad){const _0x8838a8=_0x6187b5;_0x948f99=_0x948f99||_0x19c7bb['STATUS_CODES'][_0x5a702b],_0x5bfaad={'Connection':_0x8838a8(0x10c),'Content-Type':_0x8838a8(0x162),'Content-Length':Buffer[_0x8838a8(0x10b)](_0x948f99),..._0x5bfaad},_0x38333d['once'](_0x8838a8(0x250),_0x38333d[_0x8838a8(0x214)]),_0x38333d[_0x8838a8(0x224)](_0x8838a8(0xfd)+_0x5a702b+'\x20'+_0x19c7bb['STATUS_CODES'][_0x5a702b]+'\x0d\x0a'+Object['keys'](_0x5bfaad)[_0x8838a8(0x23d)](_0x320a46=>_0x320a46+':\x20'+_0x5bfaad[_0x320a46])[_0x8838a8(0x219)]('\x0d\x0a')+_0x8838a8(0x1a9)+_0x948f99);}function _0x1127bb(_0x42802e,_0x3d40e5,_0x554319,_0x278637,_0x1b5bee){const _0x54f033=_0x6187b5;if(_0x42802e[_0x54f033(0x205)](_0x54f033(0x1d6))){const _0x440bbb=new Error(_0x1b5bee);Error[_0x54f033(0x197)](_0x440bbb,_0x1127bb),_0x42802e[_0x54f033(0x10a)](_0x54f033(0x1d6),_0x440bbb,_0x554319,_0x3d40e5);}else _0x388957(_0x554319,_0x278637,_0x1b5bee);}return Te;}er();var tr=Object[_0x3cab51(0x25a)],rr=(_0x246f0f,_0xc878ff,_0x2289d1,_0x26e7da)=>{const _0x4ea627=_0x3cab51;for(var _0x38ed8d=_0x26e7da>0x1?void 0x0:_0x26e7da?tr(_0xc878ff,_0x2289d1):_0xc878ff,_0x2ec498=_0x246f0f[_0x4ea627(0x116)]-0x1,_0x17e31d;_0x2ec498>=0x0;_0x2ec498--)(_0x17e31d=_0x246f0f[_0x2ec498])&&(_0x38ed8d=_0x17e31d(_0x38ed8d)||_0x38ed8d);return _0x38ed8d;},sr=(_0x539ee3,_0x26822a)=>(_0x5cb520,_0x3f1320)=>_0x26822a(_0x5cb520,_0x3f1320,_0x539ee3);let Ne=class extends _0x11d90a{constructor(_0x151c94){const _0x403b68=_0x3cab51;super(),this[_0x403b68(0x245)]=_0x151c94;}[_0x3cab51(0x1d1)](_0x12a2c9){const _0x410679=_0x3cab51;var _0xeb98c1;const _0x4704de=(_0xeb98c1=this[_0x410679(0x245)][_0x410679(0x140)](Be))==null?void 0x0:_0xeb98c1[_0x410679(0x1b8)];try{const _0x2512fd=new Qt(_0x12a2c9,{'headers':{..._0x4704de}}),_0x5a2135=new _0x3efe54();return{'URL':_0x12a2c9,'close':(_0x2d9f65,_0x16033f)=>{const _0x52c0ba=_0x410679;_0x2512fd[_0x52c0ba(0x10c)](_0x2d9f65,_0x16033f),_0x5a2135['dispose']();},'send':_0xa47698=>{const _0x269c49=_0x410679;_0x2512fd[_0x269c49(0x176)](_0xa47698);},'open$':new _0x45afbb(_0x2f6427=>{const _0x2575d0=_0x410679,_0x4ea773=_0x3f3c30=>_0x2f6427[_0x2575d0(0xec)](_0x3f3c30);_0x2512fd[_0x2575d0(0x218)](_0x2575d0(0x1a2),_0x4ea773),_0x5a2135[_0x2575d0(0xe3)](_0x421ec1(()=>_0x2512fd['removeEventListener'](_0x2575d0(0x1a2),_0x4ea773)));})[_0x410679(0x12f)](_0x491fec()),'close$':new _0x45afbb(_0x2d6e74=>{const _0x1b1361=_0x410679,_0x10cd71=_0x7038fd=>_0x2d6e74[_0x1b1361(0xec)](_0x7038fd);_0x2512fd['addEventListener'](_0x1b1361(0x10c),_0x10cd71),_0x5a2135[_0x1b1361(0xe3)](_0x421ec1(()=>_0x2512fd['removeEventListener'](_0x1b1361(0x10c),_0x10cd71)));})[_0x410679(0x12f)](_0x491fec()),'error$':new _0x45afbb(_0x3dc341=>{const _0x1e51d6=_0x410679,_0x2b4020=_0x58118a=>_0x3dc341[_0x1e51d6(0xec)](_0x58118a);_0x2512fd[_0x1e51d6(0x218)](_0x1e51d6(0x186),_0x2b4020),_0x5a2135[_0x1e51d6(0xe3)](_0x421ec1(()=>_0x2512fd[_0x1e51d6(0x15f)]('error',_0x2b4020)));})[_0x410679(0x12f)](_0x491fec()),'message$':new _0x45afbb(_0x46be42=>{const _0x542b33=_0x410679,_0x5e01fe=_0x4764d4=>_0x46be42[_0x542b33(0xec)](_0x4764d4);_0x2512fd[_0x542b33(0x218)](_0x542b33(0x15a),_0x5e01fe),_0x5a2135[_0x542b33(0xe3)](_0x421ec1(()=>_0x2512fd[_0x542b33(0x15f)](_0x542b33(0x15a),_0x5e01fe)));})[_0x410679(0x12f)](_0x491fec())};}catch(_0x1b8553){return console[_0x410679(0x186)](_0x1b8553),null;}}};Ne=rr([sr(0x0,_0x3bfa4b)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x23d886,_0x5892f4,_0x3257bf)=>_0x5892f4 in _0x23d886?ir(_0x23d886,_0x5892f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3257bf}):_0x23d886[_0x5892f4]=_0x3257bf,ar=(_0x41d6b2,_0x2f5b00,_0x11d62d,_0xae99)=>{const _0x3b82b8=_0x3cab51;for(var _0x288990=_0xae99>0x1?void 0x0:_0xae99?nr(_0x2f5b00,_0x11d62d):_0x2f5b00,_0x1cf43c=_0x41d6b2[_0x3b82b8(0x116)]-0x1,_0x4d8e32;_0x1cf43c>=0x0;_0x1cf43c--)(_0x4d8e32=_0x41d6b2[_0x1cf43c])&&(_0x288990=_0x4d8e32(_0x288990)||_0x288990);return _0x288990;},ke=(_0x58df47,_0x3389ab)=>(_0x244bd6,_0x33d03b)=>_0x3389ab(_0x244bd6,_0x33d03b,_0x58df47),lr=(_0x7ca519,_0x517033,_0x1eb5f8)=>or(_0x7ca519,_0x517033+'',_0x1eb5f8);let Pe=class extends _0x247cb7{constructor(_0x16370b=Ft,_0x398e86,_0x8ab375,_0x2a7caf){const _0xe56b5a=_0x3cab51;_0x16370b[_0xe56b5a(0x1b8)]||_0x398e86[_0xe56b5a(0x1f5)](_0xe56b5a(0xea)),super(),this[_0xe56b5a(0x245)]=_0x8ab375,this[_0xe56b5a(0xef)]=_0x2a7caf,this[_0xe56b5a(0x245)][_0xe56b5a(0x12c)](Be,_0x16370b);}['onStarting'](){this['_registerDependencies']();}[_0x3cab51(0x13d)](){_0x2fca59(this['_injector'],[[_0x321e8b,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x44bfa0(_0x2f844f),ke(0x1,_0x2b93ee),ke(0x2,_0x3bfa4b),ke(0x3,_0x5bfe26(_0x579a2a))],Pe);var fr=Object[_0x3cab51(0x25a)],cr=(_0x173fc2,_0x530797,_0x405936,_0x3b7ea4)=>{for(var _0x546d11=_0x3b7ea4>0x1?void 0x0:_0x3b7ea4?fr(_0x530797,_0x405936):_0x530797,_0x1b806c=_0x173fc2['length']-0x1,_0x36768c;_0x1b806c>=0x0;_0x1b806c--)(_0x36768c=_0x173fc2[_0x1b806c])&&(_0x546d11=_0x36768c(_0x546d11)||_0x546d11);return _0x546d11;},se=(_0x26c219,_0x57e566)=>(_0x3bbbd4,_0x4e3398)=>_0x57e566(_0x3bbbd4,_0x4e3398,_0x26c219);let at=class extends _0x9dd51a{constructor(_0x161ef2,_0x59467b,_0x347ee6,_0x198030,_0x3f762e){const _0x2c7a1d=_0x3cab51;super(_0x161ef2,_0x59467b,_0x347ee6,_0x198030,_0x3f762e);const _0x2e1909=this[_0x2c7a1d(0x245)][_0x2c7a1d(0x140)](Be);this[_0x2c7a1d(0x100)]['registerHTTPInterceptor']({'interceptor':(_0x2dfbc6,_0x3d71c8)=>{const _0x44eeb1=_0x2c7a1d;var _0x2c4378;const _0x23f709=_0x2dfbc6[_0x44eeb1(0x1a1)];return(_0x2c4378=_0x2e1909==null?void 0x0:_0x2e1909[_0x44eeb1(0x1b8)])!=null&&_0x2c4378[_0x44eeb1(0x184)]&&_0x23f709[_0x44eeb1(0x145)](_0x44eeb1(0x1d5),_0x2e1909['customHeaders'][_0x44eeb1(0x184)]),_0x3d71c8(_0x2dfbc6);}});}async['createSocket'](_0x35a833){const _0x16f313=_0x3cab51;return this[_0x16f313(0x10d)](_0x35a833);}};at=cr([se(0x0,_0x5bfe26(_0x579a2a)),se(0x1,_0x5bfe26(_0x218b7e)),se(0x2,_0x3bfa4b),se(0x3,_0x2b93ee),se(0x4,_0x2cdd8c)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};