@univerjs-pro/collaboration-client-node 0.6.7 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js ADDED
@@ -0,0 +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};