@univerjs-pro/collaboration-client-node 0.9.2-nightly.202507121606 → 0.9.2-nightly.202507141607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2a4dc6=_0x43e6;(function(_0x26d0fc,_0x10ead6){const _0x49cbf1=_0x43e6,_0x5e8e8c=_0x26d0fc();while(!![]){try{const _0x5cf1d5=parseInt(_0x49cbf1(0x1e8))/0x1*(-parseInt(_0x49cbf1(0x1ec))/0x2)+-parseInt(_0x49cbf1(0x25a))/0x3*(parseInt(_0x49cbf1(0x309))/0x4)+-parseInt(_0x49cbf1(0x1e3))/0x5*(parseInt(_0x49cbf1(0x247))/0x6)+-parseInt(_0x49cbf1(0x282))/0x7*(-parseInt(_0x49cbf1(0x267))/0x8)+parseInt(_0x49cbf1(0x272))/0x9+-parseInt(_0x49cbf1(0x1d3))/0xa+parseInt(_0x49cbf1(0x314))/0xb;if(_0x5cf1d5===_0x10ead6)break;else _0x5e8e8c['push'](_0x5e8e8c['shift']());}catch(_0x5508d6){_0x5e8e8c['push'](_0x5e8e8c['shift']());}}}(_0xb7f4,0x8fccc));import{UniverCollaborationClientPlugin as _0x1282a3,CollaborationSocketService as _0x304b29}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3d72b5,DisposableCollection as _0x17a0e5,toDisposable as _0x5a2055,IConfigService as _0x6b1f42,DependentOn as _0x29d2b4,ILogService as _0x382688,Inject as _0x59aad3,Injector as _0x1e1c33,Plugin as _0x44fd93,registerDependencies as _0x42ca71}from'@univerjs/core';import{ISocketService as _0x51f561,HTTPService as _0x451de5}from'@univerjs/network';import{Observable as _0x1d4229,share as _0x4331c1}from'rxjs';function _0xb7f4(){const _0x3a634c=['defineProperty','pong','autoPong','_readyState','next','_max_window_bits','_httpService','emitClose','serverNoContextTakeover','toString','env','number','jobs','isArray','serverMaxWindowBits','warn','client','isInteger','WS_ERR_UNEXPECTED_RSV_1','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_fragments','66512EZOAop','Invalid\x20URL:\x20','isPaused','authorization','server_max_window_bits','authorized','timeout','clientTracking','RSV1\x20must\x20be\x20clear','removeEventListener','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','23391082rBuCfS','sec-websocket-extensions','onopen','_bufferedAmount','WS_ERR_INVALID_OPCODE','set','_payloadLength','dataMessage','kDone','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Z_DEFAULT_WINDOWBITS','consume','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','url','connect','maxPayload','_allowSynchronousEvents','getData','Server\x20sent\x20an\x20invalid\x20subprotocol','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20Upgrade\x20header','finished','captureStackTrace','pending','getInfo','concurrency','onerror','\x20(supported\x20versions:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_protocol','_buffers','ws+unix:','isIP','setTimeout','_skipUTF8Validation','code','wsClientError','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','invalid\x20status\x20code\x20','socket','then','href','endEmitted','_fin','clientNoContextTakeover','_closeTimer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','handshakeTimeout','origin','objectMode','kCode','isBuffer','Unexpected\x20character\x20at\x20index\x20','_inflate','delete','encrypted','call','slice','completeUpgrade','kMessage','protocol','pause','startLoop','isView','prototype','destroyed','setConfig','Invalid\x20WebSocket\x20frame:\x20','backlog','flush','Invalid\x20Sec-WebSocket-Protocol\x20header','_socket','ping','push','_compressed','generateMask','onclose','charCodeAt','_generateMask','_binaryType','parse','concat','kReason','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','arraybuffer','get','listeners','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_write','finishRequest','\x22:\x20','update','nodebuffer','_bufferedBytes','forEach','values','_configService','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeFrameSent','allowSynchronousEvents','handleProtocols','WS_ERR_INVALID_CLOSE_CODE','_read','createInflateRaw','\x0d\x0a\x0d\x0a','FIN\x20must\x20be\x20set','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','verifyClient','server_no_context_takeover','writeUInt16BE','Sec-WebSocket-Protocol','perMessageDeflate','construct','close','byteLength','The\x20server\x20is\x20not\x20running','1498650MtkTGA','has','onStarting','_readableState','dequeue','compress','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','concurrencyLimit','removeListener','clients','data','location','_closeFrameReceived','kByteLength','_redirects','getOwnPropertyDescriptor','4241215KTqQzj','size','species','STATUS_CODES','enqueue','87877aOcqJc','haveLength','write','readOnly','2CxctTi','controlMessage','kData','socketPath','writable','host','sendFrame','getPayloadLength16','WebSocket','_state','_url','alloc','frame','finish','nextTick','handleUpgrade','default','_maxPayload','options','_messageLength','errorEmitted','kTarget','pow','_firstFragment','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','websocket','apply','total-length','_no_context_takeover','end','collaboration-client-node.config','type','isValidUTF8','emit','create','kWasClean','sec-websocket-origin','_mask','maskBuffer','add','_server','customHeaders','listening','includes','pathname','cork','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_queue','unexpected-response','upgrade','getConfig','zlibInflateOptions','_errorEmitted','_isServer','replace','wss:','_decompress','server','Invalid\x20Sec-WebSocket-Extensions\x20header','skipUTF8Validation','_errored','isServer','arrayBuffer','send','cleanup','WS_ERR_UNEXPECTED_MASK','target','redirect','buffer','Invalid\x20value\x20for\x20parameter\x20\x22','request','invalid\x20opcode\x200','error','Sec-WebSocket-Extensions','path','MASK\x20must\x20be\x20clear','Max\x20payload\x20size\x20exceeded','noServer','_shouldEmitClose','response','acceptAsServer','hasOwnProperty','reset','_deflate','_loop','kError','kType','extensionName','terminate','startsWith','unmask','6ABwTJd','allocUnsafe','_originalSecure','read','once','bind','_totalPayloadLength','toStringTag','accept','open','reason','setSocket','getBlobData','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','setHeader','byteOffset','createSocket','sha1','protocolVersion','156chuGms','pipe','handleEvent','sec-websocket-key','invalid\x20opcode\x20','decompress','value','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_no_context_takeover','invalid\x20payload\x20length\x20','__esModule','Sec-WebSocket-Accept:\x20','88664kJyMDp','Invalid\x20HTTP\x20method','function','hash','resume','https:','digest','kRun','constructor','_receiver','CONNECTING','3020418XUnOEG','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','port','binaryType','exports','_threshold','_registerDependencies','opcode','getMask','auth','ws:','_final','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_closeMessage','_compress','49YkPQym','The\x20\x22','hostname','setNoDelay','conclude','_injector','WebSocket\x20is\x20not\x20open:\x20readyState\x20','\x22\x20subprotocol\x20is\x20duplicated','message','_opcode','_originalHostOrSocketPath','_paused','uncork','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','username','Unexpected\x20end\x20of\x20input','listenerCount','statusCode','addEventListener','Z_SYNC_FLUSH','_sender','client_max_window_bits','createError','normalizeParams','threshold','_writableState','Sec-WebSocket-Protocol:\x20','Opening\x20handshake\x20has\x20timed\x20out','shift','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','dispose','length','bufferedAmount','File','readUInt16BE','sec-websocket-protocol','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Invalid\x20Sec-WebSocket-Accept\x20header','from','acceptAsClient','_originalIpc','listen','CLOSING','WS_NO_BUFFER_UTIL','address','_removeListeners','keys','drain','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','onmessage','permessage-deflate','servername','toLowerCase','_masked','Maximum\x20redirects\x20exceeded','freeze','writeHead','Upgrade:\x20websocket','indexOf','callback','followRedirects','_maskBuffer','removeAllListeners','map','params','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','text/html','zlibDeflateOptions','Connection:\x20Upgrade','unshift','shouldHandle','GET','_req','getPayloadLength64','OPEN','destroy','_doCreateSocket','WS_NO_UTF_8_VALIDATE','clientMaxWindowBits','cookie','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Parameter\x20\x22','Module','base64','join','string','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_fragmented','object','MASK\x20must\x20be\x20set','format','fin','Unknown\x20parameter\x20\x22','mask','_extensions','status-code','_closeCode','_autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Basic\x20','catch','headers','text/plain','extensions','password','blob','dispatch','test','WS_ERR_INVALID_UTF8','_options','wasClean','readyState','pluginName','readable'];_0xb7f4=function(){return _0x3a634c;};return _0xb7f4();}import _0x1ddafa from'events';import _0x55267a from'https';import _0x2b8417 from'http';import _0x1f99e9 from'net';import _0x254774 from'tls';import _0x8054d from'crypto';import _0xd79b6f from'stream';import _0xbebf65 from'url';import _0x454c80 from'zlib';import _0x124b5e from'buffer';import{ISnapshotServerService as _0x28af94}from'@univerjs-pro/collaboration';const Be=_0x2a4dc6(0x20a),Ft={'customHeaders':{}};function jt(_0x495a64){const _0x359706=_0x2a4dc6;return _0x495a64&&_0x495a64[_0x359706(0x265)]&&Object[_0x359706(0x355)][_0x359706(0x23d)][_0x359706(0x34d)](_0x495a64,_0x359706(0x1fc))?_0x495a64[_0x359706(0x1fc)]:_0x495a64;}function ut(_0x5d161d){const _0x3a996f=_0x2a4dc6;if(Object[_0x3a996f(0x355)][_0x3a996f(0x23d)][_0x3a996f(0x34d)](_0x5d161d,_0x3a996f(0x265)))return _0x5d161d;var _0x4e3cd1=_0x5d161d['default'];if(typeof _0x4e3cd1==_0x3a996f(0x269)){var _0x219284=function _0x4e3c89(){const _0x506f6a=_0x3a996f;return this instanceof _0x4e3c89?Reflect[_0x506f6a(0x1cf)](_0x4e3cd1,arguments,this[_0x506f6a(0x26f)]):_0x4e3cd1['apply'](this,arguments);};_0x219284['prototype']=_0x4e3cd1[_0x3a996f(0x355)];}else _0x219284={};return Object[_0x3a996f(0x2f4)](_0x219284,_0x3a996f(0x265),{'value':!0x0}),Object[_0x3a996f(0x2b0)](_0x5d161d)[_0x3a996f(0x1bd)](function(_0x2726fa){const _0x1349c4=_0x3a996f;var _0x33a70c=Object[_0x1349c4(0x1e2)](_0x5d161d,_0x2726fa);Object[_0x1349c4(0x2f4)](_0x219284,_0x2726fa,_0x33a70c[_0x1349c4(0x36a)]?_0x33a70c:{'enumerable':!0x0,'get':function(){return _0x5d161d[_0x2726fa];}});}),_0x219284;}var te={'exports':{}},ge,Ye;function V(){const _0x28f274=_0x2a4dc6;if(Ye)return ge;Ye=0x1;const _0x2b1fde=[_0x28f274(0x1bb),_0x28f274(0x369),'fragments'],_0x20719a=typeof Blob<'u';return _0x20719a&&_0x2b1fde[_0x28f274(0x35e)](_0x28f274(0x2eb)),ge={'BINARY_TYPES':_0x2b1fde,'EMPTY_BUFFER':Buffer[_0x28f274(0x1f7)](0x0),'GUID':_0x28f274(0x204),'hasBlob':_0x20719a,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x28f274(0x2e1)),'kWebSocket':Symbol(_0x28f274(0x205)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2a4dc6(0x2b9)](Object[_0x2a4dc6(0x2f4)]({'__proto__':null,'default':Wt},Symbol[_0x2a4dc6(0x24e)],{'value':_0x2a4dc6(0x2d4)})),Vt=ut(Gt);var Ke;function _0x43e6(_0x4c99c5,_0x4c6dd7){const _0xb7f461=_0xb7f4();return _0x43e6=function(_0x43e64b,_0x26be6f){_0x43e64b=_0x43e64b-0x1b7;let _0x54b175=_0xb7f461[_0x43e64b];return _0x54b175;},_0x43e6(_0x4c99c5,_0x4c6dd7);}function ce(){const _0x3f609b=_0x2a4dc6;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x5560be}=V(),_0x4bbe59=Buffer[Symbol[_0x3f609b(0x1e5)]];function _0x550b32(_0x364c0b,_0x522fb8){const _0x51b7ec=_0x3f609b;if(_0x364c0b[_0x51b7ec(0x2a1)]===0x0)return _0x5560be;if(_0x364c0b[_0x51b7ec(0x2a1)]===0x1)return _0x364c0b[0x0];const _0x1041b3=Buffer[_0x51b7ec(0x248)](_0x522fb8);let _0x1e6d1b=0x0;for(let _0xf26e72=0x0;_0xf26e72<_0x364c0b[_0x51b7ec(0x2a1)];_0xf26e72++){const _0x3a1950=_0x364c0b[_0xf26e72];_0x1041b3[_0x51b7ec(0x319)](_0x3a1950,_0x1e6d1b),_0x1e6d1b+=_0x3a1950[_0x51b7ec(0x2a1)];}return _0x1e6d1b<_0x522fb8?new _0x4bbe59(_0x1041b3[_0x51b7ec(0x230)],_0x1041b3['byteOffset'],_0x1e6d1b):_0x1041b3;}function _0x47c0d7(_0x39245a,_0x1b0e46,_0x4b0bee,_0x5c05b1,_0x2e1401){for(let _0x53ae72=0x0;_0x53ae72<_0x2e1401;_0x53ae72++)_0x4b0bee[_0x5c05b1+_0x53ae72]=_0x39245a[_0x53ae72]^_0x1b0e46[_0x53ae72&0x3];}function _0x4f01be(_0x48b76b,_0x136c05){const _0x4698f5=_0x3f609b;for(let _0x182b39=0x0;_0x182b39<_0x48b76b[_0x4698f5(0x2a1)];_0x182b39++)_0x48b76b[_0x182b39]^=_0x136c05[_0x182b39&0x3];}function _0x159469(_0x5be46d){const _0x25d6af=_0x3f609b;return _0x5be46d[_0x25d6af(0x2a1)]===_0x5be46d[_0x25d6af(0x230)]['byteLength']?_0x5be46d[_0x25d6af(0x230)]:_0x5be46d[_0x25d6af(0x230)]['slice'](_0x5be46d[_0x25d6af(0x256)],_0x5be46d[_0x25d6af(0x256)]+_0x5be46d[_0x25d6af(0x2a1)]);}function _0x19fcd1(_0x48de50){const _0x336503=_0x3f609b;if(_0x19fcd1[_0x336503(0x1eb)]=!0x0,Buffer[_0x336503(0x348)](_0x48de50))return _0x48de50;let _0x16c8b3;return _0x48de50 instanceof ArrayBuffer?_0x16c8b3=new _0x4bbe59(_0x48de50):ArrayBuffer[_0x336503(0x354)](_0x48de50)?_0x16c8b3=new _0x4bbe59(_0x48de50[_0x336503(0x230)],_0x48de50[_0x336503(0x256)],_0x48de50[_0x336503(0x1d1)]):(_0x16c8b3=Buffer[_0x336503(0x2a8)](_0x48de50),_0x19fcd1['readOnly']=!0x1),_0x16c8b3;}if(te['exports']={'concat':_0x550b32,'mask':_0x47c0d7,'toArrayBuffer':_0x159469,'toBuffer':_0x19fcd1,'unmask':_0x4f01be},!process[_0x3f609b(0x2fe)][_0x3f609b(0x2ad)])try{const _0x413976=Vt;te[_0x3f609b(0x277)][_0x3f609b(0x2df)]=function(_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661){const _0x270279=_0x3f609b;_0x21f661<0x30?_0x47c0d7(_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661):_0x413976[_0x270279(0x2df)](_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661);},te[_0x3f609b(0x277)][_0x3f609b(0x246)]=function(_0x54103e,_0x401aee){const _0x379252=_0x3f609b;_0x54103e[_0x379252(0x2a1)]<0x20?_0x4f01be(_0x54103e,_0x401aee):_0x413976[_0x379252(0x246)](_0x54103e,_0x401aee);};}catch{}return te[_0x3f609b(0x277)];}var ye,Xe;function qt(){const _0x58ae5b=_0x2a4dc6;if(Xe)return ye;Xe=0x1;const _0x2e0622=Symbol(_0x58ae5b(0x31c)),_0x2908a7=Symbol(_0x58ae5b(0x26e));class _0x20e793{constructor(_0x5a87df){const _0x560d0f=_0x58ae5b;this[_0x2e0622]=()=>{const _0xea489e=_0x43e6;this[_0xea489e(0x32c)]--,this[_0x2908a7]();},this[_0x560d0f(0x32e)]=_0x5a87df||0x1/0x0,this[_0x560d0f(0x300)]=[],this[_0x560d0f(0x32c)]=0x0;}['add'](_0x4a92c2){const _0x2c15c0=_0x58ae5b;this[_0x2c15c0(0x300)][_0x2c15c0(0x35e)](_0x4a92c2),this[_0x2908a7]();}[_0x2908a7](){const _0x40aeff=_0x58ae5b;if(this[_0x40aeff(0x32c)]!==this[_0x40aeff(0x32e)]&&this[_0x40aeff(0x300)][_0x40aeff(0x2a1)]){const _0x17a8d7=this['jobs']['shift']();this[_0x40aeff(0x32c)]++,_0x17a8d7(this[_0x2e0622]);}}}return ye=_0x20e793,ye;}var ve,Ze;function he(){const _0x401e66=_0x2a4dc6;if(Ze)return ve;Ze=0x1;const _0x28f9e6=_0x454c80,_0x287158=ce(),_0x2af011=qt(),{kStatusCode:_0x5e52ea}=V(),_0x3999f7=Buffer[Symbol['species']],_0x5be23b=Buffer[_0x401e66(0x2a8)]([0x0,0x0,0xff,0xff]),_0xcdafca=Symbol(_0x401e66(0x2b4)),_0x394ac5=Symbol(_0x401e66(0x207)),_0x341228=Symbol(_0x401e66(0x2bd)),_0x8e9de2=Symbol('buffers'),_0xdde06c=Symbol('error');let _0x49f059;class _0x318e34{constructor(_0x1fa45f,_0x466373,_0x52da5e){const _0x10d006=_0x401e66;if(this['_maxPayload']=_0x52da5e|0x0,this[_0x10d006(0x2ef)]=_0x1fa45f||{},this['_threshold']=this[_0x10d006(0x2ef)]['threshold']!==void 0x0?this[_0x10d006(0x2ef)][_0x10d006(0x29a)]:0x400,this[_0x10d006(0x221)]=!!_0x466373,this[_0x10d006(0x23f)]=null,this['_inflate']=null,this[_0x10d006(0x2c2)]=null,!_0x49f059){const _0x11fdad=this[_0x10d006(0x2ef)][_0x10d006(0x1da)]!==void 0x0?this[_0x10d006(0x2ef)][_0x10d006(0x1da)]:0xa;_0x49f059=new _0x2af011(_0x11fdad);}}static get[_0x401e66(0x243)](){const _0x2e8613=_0x401e66;return _0x2e8613(0x2b4);}['offer'](){const _0x193446=_0x401e66,_0x12badb={};return this['_options'][_0x193446(0x2fc)]&&(_0x12badb[_0x193446(0x1cb)]=!0x0),this['_options'][_0x193446(0x341)]&&(_0x12badb[_0x193446(0x263)]=!0x0),this[_0x193446(0x2ef)]['serverMaxWindowBits']&&(_0x12badb[_0x193446(0x30d)]=this[_0x193446(0x2ef)][_0x193446(0x302)]),this[_0x193446(0x2ef)]['clientMaxWindowBits']?_0x12badb[_0x193446(0x297)]=this[_0x193446(0x2ef)]['clientMaxWindowBits']:this[_0x193446(0x2ef)][_0x193446(0x2d0)]==null&&(_0x12badb['client_max_window_bits']=!0x0),_0x12badb;}['accept'](_0x6ec97a){const _0x1b3267=_0x401e66;return _0x6ec97a=this['normalizeParams'](_0x6ec97a),this[_0x1b3267(0x2c2)]=this[_0x1b3267(0x221)]?this[_0x1b3267(0x23c)](_0x6ec97a):this['acceptAsClient'](_0x6ec97a),this[_0x1b3267(0x2c2)];}[_0x401e66(0x22c)](){const _0x4f31d6=_0x401e66;if(this['_inflate']&&(this[_0x4f31d6(0x34a)][_0x4f31d6(0x1d0)](),this[_0x4f31d6(0x34a)]=null),this[_0x4f31d6(0x23f)]){const _0x1024aa=this[_0x4f31d6(0x23f)][_0x341228];this[_0x4f31d6(0x23f)]['close'](),this['_deflate']=null,_0x1024aa&&_0x1024aa(new Error(_0x4f31d6(0x28f)));}}[_0x401e66(0x23c)](_0x5373d1){const _0x4a560e=_0x401e66,_0x40ffa2=this[_0x4a560e(0x2ef)],_0x10dd3f=_0x5373d1['find'](_0x3d8680=>!(_0x40ffa2[_0x4a560e(0x2fc)]===!0x1&&_0x3d8680[_0x4a560e(0x1cb)]||_0x3d8680[_0x4a560e(0x30d)]&&(_0x40ffa2['serverMaxWindowBits']===!0x1||typeof _0x40ffa2[_0x4a560e(0x302)]==_0x4a560e(0x2ff)&&_0x40ffa2[_0x4a560e(0x302)]>_0x3d8680[_0x4a560e(0x30d)])||typeof _0x40ffa2[_0x4a560e(0x2d0)]=='number'&&!_0x3d8680[_0x4a560e(0x297)]));if(!_0x10dd3f)throw new Error(_0x4a560e(0x262));return _0x40ffa2[_0x4a560e(0x2fc)]&&(_0x10dd3f[_0x4a560e(0x1cb)]=!0x0),_0x40ffa2[_0x4a560e(0x341)]&&(_0x10dd3f[_0x4a560e(0x263)]=!0x0),typeof _0x40ffa2[_0x4a560e(0x302)]==_0x4a560e(0x2ff)&&(_0x10dd3f['server_max_window_bits']=_0x40ffa2[_0x4a560e(0x302)]),typeof _0x40ffa2[_0x4a560e(0x2d0)]==_0x4a560e(0x2ff)?_0x10dd3f[_0x4a560e(0x297)]=_0x40ffa2[_0x4a560e(0x2d0)]:(_0x10dd3f[_0x4a560e(0x297)]===!0x0||_0x40ffa2[_0x4a560e(0x2d0)]===!0x1)&&delete _0x10dd3f[_0x4a560e(0x297)],_0x10dd3f;}[_0x401e66(0x2a9)](_0x507b75){const _0x47211a=_0x401e66,_0x49951c=_0x507b75[0x0];if(this[_0x47211a(0x2ef)][_0x47211a(0x341)]===!0x1&&_0x49951c['client_no_context_takeover'])throw new Error(_0x47211a(0x2e4));if(!_0x49951c[_0x47211a(0x297)])typeof this[_0x47211a(0x2ef)][_0x47211a(0x2d0)]==_0x47211a(0x2ff)&&(_0x49951c['client_max_window_bits']=this[_0x47211a(0x2ef)]['clientMaxWindowBits']);else{if(this[_0x47211a(0x2ef)][_0x47211a(0x2d0)]===!0x1||typeof this[_0x47211a(0x2ef)]['clientMaxWindowBits']=='number'&&_0x49951c[_0x47211a(0x297)]>this[_0x47211a(0x2ef)]['clientMaxWindowBits'])throw new Error(_0x47211a(0x1c0));}return _0x49951c;}[_0x401e66(0x299)](_0x499075){return _0x499075['forEach'](_0x43e707=>{const _0xe5e5b9=_0x43e6;Object[_0xe5e5b9(0x2b0)](_0x43e707)[_0xe5e5b9(0x1bd)](_0x145344=>{const _0x30f7b0=_0xe5e5b9;let _0x36db00=_0x43e707[_0x145344];if(_0x36db00[_0x30f7b0(0x2a1)]>0x1)throw new Error(_0x30f7b0(0x2d3)+_0x145344+_0x30f7b0(0x21a));if(_0x36db00=_0x36db00[0x0],_0x145344===_0x30f7b0(0x297)){if(_0x36db00!==!0x0){const _0x1720ef=+_0x36db00;if(!Number[_0x30f7b0(0x305)](_0x1720ef)||_0x1720ef<0x8||_0x1720ef>0xf)throw new TypeError(_0x30f7b0(0x231)+_0x145344+'\x22:\x20'+_0x36db00);_0x36db00=_0x1720ef;}else{if(!this[_0x30f7b0(0x221)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);}}else{if(_0x145344==='server_max_window_bits'){const _0x2e7b96=+_0x36db00;if(!Number[_0x30f7b0(0x305)](_0x2e7b96)||_0x2e7b96<0x8||_0x2e7b96>0xf)throw new TypeError(_0x30f7b0(0x231)+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);_0x36db00=_0x2e7b96;}else{if(_0x145344===_0x30f7b0(0x263)||_0x145344===_0x30f7b0(0x1cb)){if(_0x36db00!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);}else throw new Error(_0x30f7b0(0x2de)+_0x145344+'\x22');}}_0x43e707[_0x145344]=_0x36db00;});}),_0x499075;}[_0x401e66(0x25f)](_0x35a693,_0x3d9aff,_0x10e48){const _0x22a9f0=_0x401e66;_0x49f059[_0x22a9f0(0x213)](_0xe3fb12=>{const _0x88bef2=_0x22a9f0;this[_0x88bef2(0x224)](_0x35a693,_0x3d9aff,(_0x214427,_0x1a3b49)=>{_0xe3fb12(),_0x10e48(_0x214427,_0x1a3b49);});});}['compress'](_0x4d25e5,_0x131d93,_0x923a2b){const _0x509878=_0x401e66;_0x49f059[_0x509878(0x213)](_0x4afa04=>{this['_compress'](_0x4d25e5,_0x131d93,(_0xd89b7d,_0x483273)=>{_0x4afa04(),_0x923a2b(_0xd89b7d,_0x483273);});});}[_0x401e66(0x224)](_0x5845b2,_0x491b10,_0x39fa2f){const _0x43fad1=_0x401e66,_0x5e3df1=this[_0x43fad1(0x221)]?_0x43fad1(0x304):'server';if(!this[_0x43fad1(0x34a)]){const _0x1674dc=_0x5e3df1+'_max_window_bits',_0x26e938=typeof this[_0x43fad1(0x2c2)][_0x1674dc]!=_0x43fad1(0x2ff)?_0x28f9e6[_0x43fad1(0x31f)]:this[_0x43fad1(0x2c2)][_0x1674dc];this[_0x43fad1(0x34a)]=_0x28f9e6[_0x43fad1(0x1c6)]({...this['_options'][_0x43fad1(0x21f)],'windowBits':_0x26e938}),this[_0x43fad1(0x34a)][_0xcdafca]=this,this[_0x43fad1(0x34a)][_0x394ac5]=0x0,this[_0x43fad1(0x34a)][_0x8e9de2]=[],this[_0x43fad1(0x34a)]['on'](_0x43fad1(0x234),_0x38615c),this[_0x43fad1(0x34a)]['on']('data',_0xf22c0a);}this[_0x43fad1(0x34a)][_0x341228]=_0x39fa2f,this[_0x43fad1(0x34a)][_0x43fad1(0x1ea)](_0x5845b2),_0x491b10&&this[_0x43fad1(0x34a)][_0x43fad1(0x1ea)](_0x5be23b),this[_0x43fad1(0x34a)][_0x43fad1(0x35a)](()=>{const _0x52c0c2=_0x43fad1,_0x4d5a8c=this['_inflate'][_0xdde06c];if(_0x4d5a8c){this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d0)](),this[_0x52c0c2(0x34a)]=null,_0x39fa2f(_0x4d5a8c);return;}const _0x3dc64d=_0x287158[_0x52c0c2(0x366)](this[_0x52c0c2(0x34a)][_0x8e9de2],this[_0x52c0c2(0x34a)][_0x394ac5]);this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d6)][_0x52c0c2(0x33f)]?(this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d0)](),this[_0x52c0c2(0x34a)]=null):(this[_0x52c0c2(0x34a)][_0x394ac5]=0x0,this[_0x52c0c2(0x34a)][_0x8e9de2]=[],_0x491b10&&this[_0x52c0c2(0x2c2)][_0x5e3df1+_0x52c0c2(0x208)]&&this[_0x52c0c2(0x34a)]['reset']()),_0x39fa2f(null,_0x3dc64d);});}[_0x401e66(0x281)](_0x39de8b,_0x17764a,_0x494e34){const _0x19a678=_0x401e66,_0x177a23=this[_0x19a678(0x221)]?_0x19a678(0x225):'client';if(!this['_deflate']){const _0x1e026d=_0x177a23+_0x19a678(0x2f9),_0x5675bb=typeof this[_0x19a678(0x2c2)][_0x1e026d]!=_0x19a678(0x2ff)?_0x28f9e6['Z_DEFAULT_WINDOWBITS']:this[_0x19a678(0x2c2)][_0x1e026d];this[_0x19a678(0x23f)]=_0x28f9e6['createDeflateRaw']({...this[_0x19a678(0x2ef)][_0x19a678(0x2c5)],'windowBits':_0x5675bb}),this[_0x19a678(0x23f)][_0x394ac5]=0x0,this[_0x19a678(0x23f)][_0x8e9de2]=[],this[_0x19a678(0x23f)]['on'](_0x19a678(0x1dd),_0x55ad1e);}this[_0x19a678(0x23f)][_0x341228]=_0x494e34,this[_0x19a678(0x23f)][_0x19a678(0x1ea)](_0x39de8b),this['_deflate'][_0x19a678(0x35a)](_0x28f9e6[_0x19a678(0x295)],()=>{const _0x48b6b1=_0x19a678;if(!this[_0x48b6b1(0x23f)])return;let _0x3efee3=_0x287158[_0x48b6b1(0x366)](this['_deflate'][_0x8e9de2],this['_deflate'][_0x394ac5]);_0x17764a&&(_0x3efee3=new _0x3999f7(_0x3efee3[_0x48b6b1(0x230)],_0x3efee3[_0x48b6b1(0x256)],_0x3efee3[_0x48b6b1(0x2a1)]-0x4)),this['_deflate'][_0x341228]=null,this[_0x48b6b1(0x23f)][_0x394ac5]=0x0,this[_0x48b6b1(0x23f)][_0x8e9de2]=[],_0x17764a&&this[_0x48b6b1(0x2c2)][_0x177a23+_0x48b6b1(0x208)]&&this[_0x48b6b1(0x23f)][_0x48b6b1(0x23e)](),_0x494e34(null,_0x3efee3);});}}ve=_0x318e34;function _0x55ad1e(_0x42fe27){const _0x348094=_0x401e66;this[_0x8e9de2]['push'](_0x42fe27),this[_0x394ac5]+=_0x42fe27[_0x348094(0x2a1)];}function _0xf22c0a(_0x5980f4){const _0x2ea227=_0x401e66;if(this[_0x394ac5]+=_0x5980f4['length'],this[_0xcdafca][_0x2ea227(0x1fd)]<0x1||this[_0x394ac5]<=this[_0xcdafca]['_maxPayload']){this[_0x8e9de2][_0x2ea227(0x35e)](_0x5980f4);return;}this[_0xdde06c]=new RangeError(_0x2ea227(0x238)),this[_0xdde06c][_0x2ea227(0x338)]=_0x2ea227(0x321),this[_0xdde06c][_0x5e52ea]=0x3f1,this[_0x2ea227(0x1db)]('data',_0xf22c0a),this[_0x2ea227(0x23e)]();}function _0x38615c(_0x102d42){const _0xbcbb57=_0x401e66;if(this[_0xcdafca][_0xbcbb57(0x34a)]=null,this[_0xdde06c]){this[_0x341228](this[_0xdde06c]);return;}_0x102d42[_0x5e52ea]=0x3ef,this[_0x341228](_0x102d42);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2a4dc6(0x2b9)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2a4dc6(0x2d4)})),Yt=ut(zt);var Qe;function ne(){const _0x1c1bc8=_0x2a4dc6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x467dab}=_0x124b5e,{hasBlob:_0x36d5b3}=V(),_0x149c2f=[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 _0x2c6e29(_0x1fcc3d){return _0x1fcc3d>=0x3e8&&_0x1fcc3d<=0x3f6&&_0x1fcc3d!==0x3ec&&_0x1fcc3d!==0x3ed&&_0x1fcc3d!==0x3ee||_0x1fcc3d>=0xbb8&&_0x1fcc3d<=0x1387;}function _0x4ccb0a(_0x4324b9){const _0x2956ff=_0x43e6,_0x100040=_0x4324b9[_0x2956ff(0x2a1)];let _0x30f815=0x0;for(;_0x30f815<_0x100040;)if((_0x4324b9[_0x30f815]&0x80)===0x0)_0x30f815++;else{if((_0x4324b9[_0x30f815]&0xe0)===0xc0){if(_0x30f815+0x1===_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815]&0xfe)===0xc0)return!0x1;_0x30f815+=0x2;}else{if((_0x4324b9[_0x30f815]&0xf0)===0xe0){if(_0x30f815+0x2>=_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x2]&0xc0)!==0x80||_0x4324b9[_0x30f815]===0xe0&&(_0x4324b9[_0x30f815+0x1]&0xe0)===0x80||_0x4324b9[_0x30f815]===0xed&&(_0x4324b9[_0x30f815+0x1]&0xe0)===0xa0)return!0x1;_0x30f815+=0x3;}else{if((_0x4324b9[_0x30f815]&0xf8)===0xf0){if(_0x30f815+0x3>=_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x2]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x3]&0xc0)!==0x80||_0x4324b9[_0x30f815]===0xf0&&(_0x4324b9[_0x30f815+0x1]&0xf0)===0x80||_0x4324b9[_0x30f815]===0xf4&&_0x4324b9[_0x30f815+0x1]>0x8f||_0x4324b9[_0x30f815]>0xf4)return!0x1;_0x30f815+=0x4;}else return!0x1;}}}return!0x0;}function _0x5bf08c(_0x39537c){const _0x54cadc=_0x43e6;return _0x36d5b3&&typeof _0x39537c==_0x54cadc(0x2da)&&typeof _0x39537c[_0x54cadc(0x22a)]==_0x54cadc(0x269)&&typeof _0x39537c['type']==_0x54cadc(0x2d7)&&typeof _0x39537c['stream']=='function'&&(_0x39537c[Symbol[_0x54cadc(0x24e)]]==='Blob'||_0x39537c[Symbol['toStringTag']]===_0x54cadc(0x2a3));}if(re[_0x1c1bc8(0x277)]={'isBlob':_0x5bf08c,'isValidStatusCode':_0x2c6e29,'isValidUTF8':_0x4ccb0a,'tokenChars':_0x149c2f},_0x467dab)re[_0x1c1bc8(0x277)][_0x1c1bc8(0x20c)]=function(_0x18d018){const _0x3b67c0=_0x1c1bc8;return _0x18d018[_0x3b67c0(0x2a1)]<0x18?_0x4ccb0a(_0x18d018):_0x467dab(_0x18d018);};else{if(!process[_0x1c1bc8(0x2fe)][_0x1c1bc8(0x2cf)])try{const _0x2560e2=Yt;re[_0x1c1bc8(0x277)][_0x1c1bc8(0x20c)]=function(_0x3bf219){const _0x326d9e=_0x1c1bc8;return _0x3bf219[_0x326d9e(0x2a1)]<0x20?_0x4ccb0a(_0x3bf219):_0x2560e2(_0x3bf219);};}catch{}}return re[_0x1c1bc8(0x277)];}var Se,Je;function dt(){const _0x346605=_0x2a4dc6;if(Je)return Se;Je=0x1;const {Writable:_0x18269a}=_0xd79b6f,_0x1d1515=he(),{BINARY_TYPES:_0x38fc25,EMPTY_BUFFER:_0x20b9a2,kStatusCode:_0x56deb5,kWebSocket:_0x2a6020}=V(),{concat:_0xe36729,toArrayBuffer:_0x2bf62a,unmask:_0x177bff}=ce(),{isValidStatusCode:_0x5a3ca4,isValidUTF8:_0x190725}=ne(),_0x5648b5=Buffer[Symbol['species']],_0x156515=0x0,_0x1624d2=0x1,_0x5ff483=0x2,_0x5ea063=0x3,_0x58c8ef=0x4,_0x434ed0=0x5,_0xee4ab2=0x6;class _0x296be6 extends _0x18269a{constructor(_0x438308={}){const _0x26e906=_0x43e6;super(),this['_allowSynchronousEvents']=_0x438308[_0x26e906(0x1c2)]!==void 0x0?_0x438308[_0x26e906(0x1c2)]:!0x0,this[_0x26e906(0x364)]=_0x438308['binaryType']||_0x38fc25[0x0],this[_0x26e906(0x2e0)]=_0x438308[_0x26e906(0x2e9)]||{},this['_isServer']=!!_0x438308[_0x26e906(0x229)],this[_0x26e906(0x1fd)]=_0x438308[_0x26e906(0x324)]|0x0,this[_0x26e906(0x337)]=!!_0x438308[_0x26e906(0x227)],this[_0x2a6020]=void 0x0,this['_bufferedBytes']=0x0,this[_0x26e906(0x333)]=[],this[_0x26e906(0x35f)]=!0x1,this[_0x26e906(0x31a)]=0x0,this[_0x26e906(0x211)]=void 0x0,this[_0x26e906(0x2d9)]=0x0,this[_0x26e906(0x2b7)]=!0x1,this['_fin']=!0x1,this[_0x26e906(0x28b)]=0x0,this[_0x26e906(0x24d)]=0x0,this[_0x26e906(0x1ff)]=0x0,this['_fragments']=[],this[_0x26e906(0x228)]=!0x1,this[_0x26e906(0x240)]=!0x1,this[_0x26e906(0x1f5)]=_0x156515;}[_0x346605(0x1b7)](_0x54f364,_0x4b9f2a,_0x4a8b80){const _0x50243e=_0x346605;if(this[_0x50243e(0x28b)]===0x8&&this[_0x50243e(0x1f5)]==_0x156515)return _0x4a8b80();this[_0x50243e(0x1bc)]+=_0x54f364['length'],this[_0x50243e(0x333)][_0x50243e(0x35e)](_0x54f364),this[_0x50243e(0x353)](_0x4a8b80);}[_0x346605(0x320)](_0x3ea0fc){const _0x3e4952=_0x346605;if(this[_0x3e4952(0x1bc)]-=_0x3ea0fc,_0x3ea0fc===this[_0x3e4952(0x333)][0x0][_0x3e4952(0x2a1)])return this[_0x3e4952(0x333)][_0x3e4952(0x29e)]();if(_0x3ea0fc<this[_0x3e4952(0x333)][0x0][_0x3e4952(0x2a1)]){const _0x19a7cf=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x5648b5(_0x19a7cf[_0x3e4952(0x230)],_0x19a7cf[_0x3e4952(0x256)]+_0x3ea0fc,_0x19a7cf['length']-_0x3ea0fc),new _0x5648b5(_0x19a7cf[_0x3e4952(0x230)],_0x19a7cf[_0x3e4952(0x256)],_0x3ea0fc);}const _0xedb842=Buffer[_0x3e4952(0x248)](_0x3ea0fc);do{const _0x12c5eb=this[_0x3e4952(0x333)][0x0],_0x525673=_0xedb842[_0x3e4952(0x2a1)]-_0x3ea0fc;_0x3ea0fc>=_0x12c5eb[_0x3e4952(0x2a1)]?_0xedb842['set'](this[_0x3e4952(0x333)]['shift'](),_0x525673):(_0xedb842['set'](new Uint8Array(_0x12c5eb['buffer'],_0x12c5eb[_0x3e4952(0x256)],_0x3ea0fc),_0x525673),this[_0x3e4952(0x333)][0x0]=new _0x5648b5(_0x12c5eb[_0x3e4952(0x230)],_0x12c5eb[_0x3e4952(0x256)]+_0x3ea0fc,_0x12c5eb[_0x3e4952(0x2a1)]-_0x3ea0fc)),_0x3ea0fc-=_0x12c5eb[_0x3e4952(0x2a1)];}while(_0x3ea0fc>0x0);return _0xedb842;}['startLoop'](_0x3e0fad){const _0x4f2f3e=_0x346605;this[_0x4f2f3e(0x240)]=!0x0;do switch(this[_0x4f2f3e(0x1f5)]){case _0x156515:this[_0x4f2f3e(0x32d)](_0x3e0fad);break;case _0x1624d2:this[_0x4f2f3e(0x1f3)](_0x3e0fad);break;case _0x5ff483:this[_0x4f2f3e(0x2cb)](_0x3e0fad);break;case _0x5ea063:this['getMask']();break;case _0x58c8ef:this['getData'](_0x3e0fad);break;case _0x434ed0:case _0xee4ab2:this[_0x4f2f3e(0x240)]=!0x1;return;}while(this[_0x4f2f3e(0x240)]);this['_errored']||_0x3e0fad();}[_0x346605(0x32d)](_0x2b0fe8){const _0x2d2a9d=_0x346605;if(this[_0x2d2a9d(0x1bc)]<0x2){this[_0x2d2a9d(0x240)]=!0x1;return;}const _0x3ce3d9=this['consume'](0x2);if((_0x3ce3d9[0x0]&0x30)!==0x0){const _0x58969d=this[_0x2d2a9d(0x298)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2b0fe8(_0x58969d);return;}const _0x528c58=(_0x3ce3d9[0x0]&0x40)===0x40;if(_0x528c58&&!this['_extensions'][_0x1d1515[_0x2d2a9d(0x243)]]){const _0x23ea10=this[_0x2d2a9d(0x298)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2d2a9d(0x306));_0x2b0fe8(_0x23ea10);return;}if(this[_0x2d2a9d(0x340)]=(_0x3ce3d9[0x0]&0x80)===0x80,this[_0x2d2a9d(0x28b)]=_0x3ce3d9[0x0]&0xf,this['_payloadLength']=_0x3ce3d9[0x1]&0x7f,this['_opcode']===0x0){if(_0x528c58){const _0x14e064=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x311),!0x0,0x3ea,_0x2d2a9d(0x306));_0x2b0fe8(_0x14e064);return;}if(!this[_0x2d2a9d(0x2d9)]){const _0x26ee6c=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x233),!0x0,0x3ea,_0x2d2a9d(0x318));_0x2b0fe8(_0x26ee6c);return;}this['_opcode']=this[_0x2d2a9d(0x2d9)];}else{if(this[_0x2d2a9d(0x28b)]===0x1||this[_0x2d2a9d(0x28b)]===0x2){if(this[_0x2d2a9d(0x2d9)]){const _0x27d39f=this[_0x2d2a9d(0x298)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x2d2a9d(0x318));_0x2b0fe8(_0x27d39f);return;}this[_0x2d2a9d(0x35f)]=_0x528c58;}else{if(this[_0x2d2a9d(0x28b)]>0x7&&this[_0x2d2a9d(0x28b)]<0xb){if(!this[_0x2d2a9d(0x340)]){const _0x53fdf0=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x1c8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2b0fe8(_0x53fdf0);return;}if(_0x528c58){const _0xfee0ca=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x311),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2b0fe8(_0xfee0ca);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x2d2a9d(0x31a)]===0x1){const _0x4bf24a=this['createError'](RangeError,_0x2d2a9d(0x264)+this[_0x2d2a9d(0x31a)],!0x0,0x3ea,_0x2d2a9d(0x261));_0x2b0fe8(_0x4bf24a);return;}}else{const _0x2687a3=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x25e)+this[_0x2d2a9d(0x28b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2b0fe8(_0x2687a3);return;}}}if(!this[_0x2d2a9d(0x340)]&&!this[_0x2d2a9d(0x2d9)]&&(this['_fragmented']=this[_0x2d2a9d(0x28b)]),this['_masked']=(_0x3ce3d9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x54e930=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x2db),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2b0fe8(_0x54e930);return;}}else{if(this[_0x2d2a9d(0x2b7)]){const _0x598b1e=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x237),!0x0,0x3ea,_0x2d2a9d(0x22d));_0x2b0fe8(_0x598b1e);return;}}this['_payloadLength']===0x7e?this[_0x2d2a9d(0x1f5)]=_0x1624d2:this[_0x2d2a9d(0x31a)]===0x7f?this['_state']=_0x5ff483:this['haveLength'](_0x2b0fe8);}[_0x346605(0x1f3)](_0xaa8a81){const _0x55ab72=_0x346605;if(this[_0x55ab72(0x1bc)]<0x2){this['_loop']=!0x1;return;}this[_0x55ab72(0x31a)]=this[_0x55ab72(0x320)](0x2)[_0x55ab72(0x2a4)](0x0),this[_0x55ab72(0x1e9)](_0xaa8a81);}['getPayloadLength64'](_0xe06ca7){const _0x34d83d=_0x346605;if(this[_0x34d83d(0x1bc)]<0x8){this[_0x34d83d(0x240)]=!0x1;return;}const _0xbea88a=this['consume'](0x8),_0x1a2f7d=_0xbea88a['readUInt32BE'](0x0);if(_0x1a2f7d>Math[_0x34d83d(0x202)](0x2,0x15)-0x1){const _0x4b9189=this[_0x34d83d(0x298)](RangeError,_0x34d83d(0x2b2),!0x1,0x3f1,_0x34d83d(0x1c9));_0xe06ca7(_0x4b9189);return;}this['_payloadLength']=_0x1a2f7d*Math[_0x34d83d(0x202)](0x2,0x20)+_0xbea88a['readUInt32BE'](0x4),this[_0x34d83d(0x1e9)](_0xe06ca7);}['haveLength'](_0x162f90){const _0x21039d=_0x346605;if(this[_0x21039d(0x31a)]&&this[_0x21039d(0x28b)]<0x8&&(this[_0x21039d(0x24d)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x21039d(0x1fd)]&&this['_maxPayload']>0x0)){const _0x1ab131=this[_0x21039d(0x298)](RangeError,_0x21039d(0x238),!0x1,0x3f1,_0x21039d(0x321));_0x162f90(_0x1ab131);return;}this['_masked']?this['_state']=_0x5ea063:this[_0x21039d(0x1f5)]=_0x58c8ef;}[_0x346605(0x27b)](){const _0x3a0c5c=_0x346605;if(this[_0x3a0c5c(0x1bc)]<0x4){this[_0x3a0c5c(0x240)]=!0x1;return;}this[_0x3a0c5c(0x211)]=this[_0x3a0c5c(0x320)](0x4),this[_0x3a0c5c(0x1f5)]=_0x58c8ef;}[_0x346605(0x326)](_0x55f1fc){const _0x4ce865=_0x346605;let _0x195ef0=_0x20b9a2;if(this['_payloadLength']){if(this[_0x4ce865(0x1bc)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x195ef0=this[_0x4ce865(0x320)](this[_0x4ce865(0x31a)]),this['_masked']&&(this[_0x4ce865(0x211)][0x0]|this['_mask'][0x1]|this[_0x4ce865(0x211)][0x2]|this['_mask'][0x3])!==0x0&&_0x177bff(_0x195ef0,this[_0x4ce865(0x211)]);}if(this[_0x4ce865(0x28b)]>0x7){this[_0x4ce865(0x1ed)](_0x195ef0,_0x55f1fc);return;}if(this['_compressed']){this[_0x4ce865(0x1f5)]=_0x434ed0,this['decompress'](_0x195ef0,_0x55f1fc);return;}_0x195ef0[_0x4ce865(0x2a1)]&&(this[_0x4ce865(0x1ff)]=this[_0x4ce865(0x24d)],this[_0x4ce865(0x308)][_0x4ce865(0x35e)](_0x195ef0)),this[_0x4ce865(0x31b)](_0x55f1fc);}[_0x346605(0x25f)](_0x3bd9c4,_0x4dbf7c){const _0x17ea8a=_0x346605;this['_extensions'][_0x1d1515[_0x17ea8a(0x243)]][_0x17ea8a(0x25f)](_0x3bd9c4,this['_fin'],(_0x1bf429,_0x266b45)=>{const _0x54b4c0=_0x17ea8a;if(_0x1bf429)return _0x4dbf7c(_0x1bf429);if(_0x266b45[_0x54b4c0(0x2a1)]){if(this['_messageLength']+=_0x266b45[_0x54b4c0(0x2a1)],this[_0x54b4c0(0x1ff)]>this[_0x54b4c0(0x1fd)]&&this[_0x54b4c0(0x1fd)]>0x0){const _0x489e67=this[_0x54b4c0(0x298)](RangeError,_0x54b4c0(0x238),!0x1,0x3f1,_0x54b4c0(0x321));_0x4dbf7c(_0x489e67);return;}this[_0x54b4c0(0x308)][_0x54b4c0(0x35e)](_0x266b45);}this[_0x54b4c0(0x31b)](_0x4dbf7c),this[_0x54b4c0(0x1f5)]===_0x156515&&this[_0x54b4c0(0x353)](_0x4dbf7c);});}[_0x346605(0x31b)](_0x13a638){const _0xf791c0=_0x346605;if(!this[_0xf791c0(0x340)]){this[_0xf791c0(0x1f5)]=_0x156515;return;}const _0x4e4ad1=this['_messageLength'],_0xe0b24d=this['_fragments'];if(this[_0xf791c0(0x24d)]=0x0,this[_0xf791c0(0x1ff)]=0x0,this['_fragmented']=0x0,this[_0xf791c0(0x308)]=[],this[_0xf791c0(0x28b)]===0x2){let _0x28ae09;this[_0xf791c0(0x364)]===_0xf791c0(0x1bb)?_0x28ae09=_0xe36729(_0xe0b24d,_0x4e4ad1):this['_binaryType']===_0xf791c0(0x369)?_0x28ae09=_0x2bf62a(_0xe36729(_0xe0b24d,_0x4e4ad1)):this[_0xf791c0(0x364)]==='blob'?_0x28ae09=new Blob(_0xe0b24d):_0x28ae09=_0xe0b24d,this[_0xf791c0(0x325)]?(this[_0xf791c0(0x20d)]('message',_0x28ae09,!0x0),this['_state']=_0x156515):(this['_state']=_0xee4ab2,setImmediate(()=>{const _0x5a1629=_0xf791c0;this[_0x5a1629(0x20d)](_0x5a1629(0x28a),_0x28ae09,!0x0),this['_state']=_0x156515,this[_0x5a1629(0x353)](_0x13a638);}));}else{const _0x43e167=_0xe36729(_0xe0b24d,_0x4e4ad1);if(!this[_0xf791c0(0x337)]&&!_0x190725(_0x43e167)){const _0x242bca=this[_0xf791c0(0x298)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xf791c0(0x2ee));_0x13a638(_0x242bca);return;}this[_0xf791c0(0x1f5)]===_0x434ed0||this[_0xf791c0(0x325)]?(this[_0xf791c0(0x20d)](_0xf791c0(0x28a),_0x43e167,!0x1),this['_state']=_0x156515):(this[_0xf791c0(0x1f5)]=_0xee4ab2,setImmediate(()=>{const _0x1c14d0=_0xf791c0;this[_0x1c14d0(0x20d)](_0x1c14d0(0x28a),_0x43e167,!0x1),this[_0x1c14d0(0x1f5)]=_0x156515,this[_0x1c14d0(0x353)](_0x13a638);}));}}[_0x346605(0x1ed)](_0xa2f74f,_0x4de20d){const _0x26264f=_0x346605;if(this['_opcode']===0x8){if(_0xa2f74f['length']===0x0)this[_0x26264f(0x240)]=!0x1,this[_0x26264f(0x20d)](_0x26264f(0x286),0x3ed,_0x20b9a2),this['end']();else{const _0x3d16c1=_0xa2f74f[_0x26264f(0x2a4)](0x0);if(!_0x5a3ca4(_0x3d16c1)){const _0xfe9117=this[_0x26264f(0x298)](RangeError,_0x26264f(0x33b)+_0x3d16c1,!0x0,0x3ea,_0x26264f(0x1c4));_0x4de20d(_0xfe9117);return;}const _0x3cbf85=new _0x5648b5(_0xa2f74f['buffer'],_0xa2f74f[_0x26264f(0x256)]+0x2,_0xa2f74f[_0x26264f(0x2a1)]-0x2);if(!this[_0x26264f(0x337)]&&!_0x190725(_0x3cbf85)){const _0x317354=this[_0x26264f(0x298)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x26264f(0x2ee));_0x4de20d(_0x317354);return;}this[_0x26264f(0x240)]=!0x1,this[_0x26264f(0x20d)](_0x26264f(0x286),_0x3d16c1,_0x3cbf85),this[_0x26264f(0x209)]();}this[_0x26264f(0x1f5)]=_0x156515;return;}this[_0x26264f(0x325)]?(this['emit'](this[_0x26264f(0x28b)]===0x9?_0x26264f(0x35d):_0x26264f(0x2f5),_0xa2f74f),this['_state']=_0x156515):(this[_0x26264f(0x1f5)]=_0xee4ab2,setImmediate(()=>{const _0x2f4da7=_0x26264f;this[_0x2f4da7(0x20d)](this[_0x2f4da7(0x28b)]===0x9?_0x2f4da7(0x35d):_0x2f4da7(0x2f5),_0xa2f74f),this[_0x2f4da7(0x1f5)]=_0x156515,this[_0x2f4da7(0x353)](_0x4de20d);}));}[_0x346605(0x298)](_0x61835d,_0x48879c,_0x2f2e55,_0x115325,_0xa9bdf8){const _0x7f7d4c=_0x346605;this[_0x7f7d4c(0x240)]=!0x1,this[_0x7f7d4c(0x228)]=!0x0;const _0x32ba66=new _0x61835d(_0x2f2e55?_0x7f7d4c(0x358)+_0x48879c:_0x48879c);return Error['captureStackTrace'](_0x32ba66,this[_0x7f7d4c(0x298)]),_0x32ba66[_0x7f7d4c(0x338)]=_0xa9bdf8,_0x32ba66[_0x56deb5]=_0x115325,_0x32ba66;}}return Se=_0x296be6,Se;}var Ee,et;function _t(){const _0x208c9d=_0x2a4dc6;if(et)return Ee;et=0x1;const {Duplex:_0x204f8c}=_0xd79b6f,{randomFillSync:_0xdb2d55}=_0x8054d,_0x40136f=he(),{EMPTY_BUFFER:_0x516b5b,kWebSocket:_0x95cde1,NOOP:_0x42da7f}=V(),{isBlob:_0x3a65aa,isValidStatusCode:_0x1a2ad3}=ne(),{mask:_0x52eea0,toBuffer:_0x266627}=ce(),_0x46cf31=Symbol(_0x208c9d(0x1e0)),_0x3af23b=Buffer[_0x208c9d(0x1f7)](0x4),_0x50f82f=0x8*0x400;let _0x336f15,_0x20aa78=_0x50f82f;const _0x576153=0x0,_0x4d7bc7=0x1,_0x1b4868=0x2;class _0x2bb41b{constructor(_0x2bbe92,_0x3dc07b,_0x125ac9){const _0x34bef3=_0x208c9d;this['_extensions']=_0x3dc07b||{},_0x125ac9&&(this[_0x34bef3(0x363)]=_0x125ac9,this[_0x34bef3(0x2bf)]=Buffer['alloc'](0x4)),this[_0x34bef3(0x35c)]=_0x2bbe92,this[_0x34bef3(0x203)]=!0x0,this[_0x34bef3(0x281)]=!0x1,this[_0x34bef3(0x1bc)]=0x0,this[_0x34bef3(0x21b)]=[],this[_0x34bef3(0x1f5)]=_0x576153,this[_0x34bef3(0x32f)]=_0x42da7f,this[_0x95cde1]=void 0x0;}static[_0x208c9d(0x1f8)](_0xedc141,_0x3a4709){const _0x529cef=_0x208c9d;let _0x4f24a5,_0x5d1d35=!0x1,_0x2e5e56=0x2,_0x244db7=!0x1;_0x3a4709[_0x529cef(0x2df)]&&(_0x4f24a5=_0x3a4709[_0x529cef(0x212)]||_0x3af23b,_0x3a4709[_0x529cef(0x360)]?_0x3a4709[_0x529cef(0x360)](_0x4f24a5):(_0x20aa78===_0x50f82f&&(_0x336f15===void 0x0&&(_0x336f15=Buffer[_0x529cef(0x1f7)](_0x50f82f)),_0xdb2d55(_0x336f15,0x0,_0x50f82f),_0x20aa78=0x0),_0x4f24a5[0x0]=_0x336f15[_0x20aa78++],_0x4f24a5[0x1]=_0x336f15[_0x20aa78++],_0x4f24a5[0x2]=_0x336f15[_0x20aa78++],_0x4f24a5[0x3]=_0x336f15[_0x20aa78++]),_0x244db7=(_0x4f24a5[0x0]|_0x4f24a5[0x1]|_0x4f24a5[0x2]|_0x4f24a5[0x3])===0x0,_0x2e5e56=0x6);let _0x5b31db;typeof _0xedc141==_0x529cef(0x2d7)?(!_0x3a4709[_0x529cef(0x2df)]||_0x244db7)&&_0x3a4709[_0x46cf31]!==void 0x0?_0x5b31db=_0x3a4709[_0x46cf31]:(_0xedc141=Buffer[_0x529cef(0x2a8)](_0xedc141),_0x5b31db=_0xedc141[_0x529cef(0x2a1)]):(_0x5b31db=_0xedc141[_0x529cef(0x2a1)],_0x5d1d35=_0x3a4709[_0x529cef(0x2df)]&&_0x3a4709[_0x529cef(0x1eb)]&&!_0x244db7);let _0x5d0516=_0x5b31db;_0x5b31db>=0x10000?(_0x2e5e56+=0x8,_0x5d0516=0x7f):_0x5b31db>0x7d&&(_0x2e5e56+=0x2,_0x5d0516=0x7e);const _0x3792b5=Buffer[_0x529cef(0x248)](_0x5d1d35?_0x5b31db+_0x2e5e56:_0x2e5e56);return _0x3792b5[0x0]=_0x3a4709[_0x529cef(0x2dd)]?_0x3a4709[_0x529cef(0x27a)]|0x80:_0x3a4709[_0x529cef(0x27a)],_0x3a4709['rsv1']&&(_0x3792b5[0x0]|=0x40),_0x3792b5[0x1]=_0x5d0516,_0x5d0516===0x7e?_0x3792b5[_0x529cef(0x1cc)](_0x5b31db,0x2):_0x5d0516===0x7f&&(_0x3792b5[0x2]=_0x3792b5[0x3]=0x0,_0x3792b5['writeUIntBE'](_0x5b31db,0x4,0x6)),_0x3a4709[_0x529cef(0x2df)]?(_0x3792b5[0x1]|=0x80,_0x3792b5[_0x2e5e56-0x4]=_0x4f24a5[0x0],_0x3792b5[_0x2e5e56-0x3]=_0x4f24a5[0x1],_0x3792b5[_0x2e5e56-0x2]=_0x4f24a5[0x2],_0x3792b5[_0x2e5e56-0x1]=_0x4f24a5[0x3],_0x244db7?[_0x3792b5,_0xedc141]:_0x5d1d35?(_0x52eea0(_0xedc141,_0x4f24a5,_0x3792b5,_0x2e5e56,_0x5b31db),[_0x3792b5]):(_0x52eea0(_0xedc141,_0x4f24a5,_0xedc141,0x0,_0x5b31db),[_0x3792b5,_0xedc141])):[_0x3792b5,_0xedc141];}['close'](_0xc870dd,_0x41576e,_0x2c4b9a,_0x598064){const _0x783059=_0x208c9d;let _0x116991;if(_0xc870dd===void 0x0)_0x116991=_0x516b5b;else{if(typeof _0xc870dd!=_0x783059(0x2ff)||!_0x1a2ad3(_0xc870dd))throw new TypeError(_0x783059(0x307));if(_0x41576e===void 0x0||!_0x41576e['length'])_0x116991=Buffer[_0x783059(0x248)](0x2),_0x116991[_0x783059(0x1cc)](_0xc870dd,0x0);else{const _0x52d887=Buffer['byteLength'](_0x41576e);if(_0x52d887>0x7b)throw new RangeError(_0x783059(0x368));_0x116991=Buffer[_0x783059(0x248)](0x2+_0x52d887),_0x116991['writeUInt16BE'](_0xc870dd,0x0),typeof _0x41576e==_0x783059(0x2d7)?_0x116991[_0x783059(0x1ea)](_0x41576e,0x2):_0x116991['set'](_0x41576e,0x2);}}const _0xf49f64={[_0x46cf31]:_0x116991[_0x783059(0x2a1)],'fin':!0x0,'generateMask':this[_0x783059(0x363)],'mask':_0x2c4b9a,'maskBuffer':this[_0x783059(0x2bf)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x783059(0x1f5)]!==_0x576153?this['enqueue']([this[_0x783059(0x2ec)],_0x116991,!0x1,_0xf49f64,_0x598064]):this[_0x783059(0x1f2)](_0x2bb41b[_0x783059(0x1f8)](_0x116991,_0xf49f64),_0x598064);}[_0x208c9d(0x35d)](_0x31acdb,_0x573ac2,_0x2b1f22){const _0x435de1=_0x208c9d;let _0x3f7279,_0x5da921;if(typeof _0x31acdb==_0x435de1(0x2d7)?(_0x3f7279=Buffer['byteLength'](_0x31acdb),_0x5da921=!0x1):_0x3a65aa(_0x31acdb)?(_0x3f7279=_0x31acdb[_0x435de1(0x1e4)],_0x5da921=!0x1):(_0x31acdb=_0x266627(_0x31acdb),_0x3f7279=_0x31acdb[_0x435de1(0x2a1)],_0x5da921=_0x266627[_0x435de1(0x1eb)]),_0x3f7279>0x7d)throw new RangeError(_0x435de1(0x29f));const _0x1674c0={[_0x46cf31]:_0x3f7279,'fin':!0x0,'generateMask':this[_0x435de1(0x363)],'mask':_0x573ac2,'maskBuffer':this[_0x435de1(0x2bf)],'opcode':0x9,'readOnly':_0x5da921,'rsv1':!0x1};_0x3a65aa(_0x31acdb)?this[_0x435de1(0x1f5)]!==_0x576153?this['enqueue']([this[_0x435de1(0x253)],_0x31acdb,!0x1,_0x1674c0,_0x2b1f22]):this['getBlobData'](_0x31acdb,!0x1,_0x1674c0,_0x2b1f22):this[_0x435de1(0x1f5)]!==_0x576153?this[_0x435de1(0x1e7)]([this['dispatch'],_0x31acdb,!0x1,_0x1674c0,_0x2b1f22]):this['sendFrame'](_0x2bb41b[_0x435de1(0x1f8)](_0x31acdb,_0x1674c0),_0x2b1f22);}[_0x208c9d(0x2f5)](_0x466889,_0x549a76,_0x7c379f){const _0x245974=_0x208c9d;let _0x17a77a,_0x4d1d37;if(typeof _0x466889==_0x245974(0x2d7)?(_0x17a77a=Buffer[_0x245974(0x1d1)](_0x466889),_0x4d1d37=!0x1):_0x3a65aa(_0x466889)?(_0x17a77a=_0x466889[_0x245974(0x1e4)],_0x4d1d37=!0x1):(_0x466889=_0x266627(_0x466889),_0x17a77a=_0x466889[_0x245974(0x2a1)],_0x4d1d37=_0x266627['readOnly']),_0x17a77a>0x7d)throw new RangeError(_0x245974(0x29f));const _0x21b9b9={[_0x46cf31]:_0x17a77a,'fin':!0x0,'generateMask':this[_0x245974(0x363)],'mask':_0x549a76,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4d1d37,'rsv1':!0x1};_0x3a65aa(_0x466889)?this[_0x245974(0x1f5)]!==_0x576153?this[_0x245974(0x1e7)]([this['getBlobData'],_0x466889,!0x1,_0x21b9b9,_0x7c379f]):this[_0x245974(0x253)](_0x466889,!0x1,_0x21b9b9,_0x7c379f):this[_0x245974(0x1f5)]!==_0x576153?this[_0x245974(0x1e7)]([this['dispatch'],_0x466889,!0x1,_0x21b9b9,_0x7c379f]):this['sendFrame'](_0x2bb41b[_0x245974(0x1f8)](_0x466889,_0x21b9b9),_0x7c379f);}['send'](_0x7f3e70,_0x10acde,_0x423fd9){const _0x396a3a=_0x208c9d,_0x3a0e1c=this[_0x396a3a(0x2e0)][_0x40136f[_0x396a3a(0x243)]];let _0x34d75a=_0x10acde['binary']?0x2:0x1,_0x540a05=_0x10acde[_0x396a3a(0x1d8)],_0x4d6b1d,_0xd6d5e3;typeof _0x7f3e70==_0x396a3a(0x2d7)?(_0x4d6b1d=Buffer[_0x396a3a(0x1d1)](_0x7f3e70),_0xd6d5e3=!0x1):_0x3a65aa(_0x7f3e70)?(_0x4d6b1d=_0x7f3e70[_0x396a3a(0x1e4)],_0xd6d5e3=!0x1):(_0x7f3e70=_0x266627(_0x7f3e70),_0x4d6b1d=_0x7f3e70[_0x396a3a(0x2a1)],_0xd6d5e3=_0x266627[_0x396a3a(0x1eb)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x540a05&&_0x3a0e1c&&_0x3a0e1c['params'][_0x3a0e1c[_0x396a3a(0x221)]?_0x396a3a(0x1cb):_0x396a3a(0x263)]&&(_0x540a05=_0x4d6b1d>=_0x3a0e1c[_0x396a3a(0x278)]),this[_0x396a3a(0x281)]=_0x540a05):(_0x540a05=!0x1,_0x34d75a=0x0),_0x10acde[_0x396a3a(0x2dd)]&&(this[_0x396a3a(0x203)]=!0x0);const _0x411346={[_0x46cf31]:_0x4d6b1d,'fin':_0x10acde['fin'],'generateMask':this[_0x396a3a(0x363)],'mask':_0x10acde[_0x396a3a(0x2df)],'maskBuffer':this[_0x396a3a(0x2bf)],'opcode':_0x34d75a,'readOnly':_0xd6d5e3,'rsv1':_0x540a05};_0x3a65aa(_0x7f3e70)?this['_state']!==_0x576153?this['enqueue']([this[_0x396a3a(0x253)],_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9]):this['getBlobData'](_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9):this[_0x396a3a(0x1f5)]!==_0x576153?this[_0x396a3a(0x1e7)]([this[_0x396a3a(0x2ec)],_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9]):this[_0x396a3a(0x2ec)](_0x7f3e70,this['_compress'],_0x411346,_0x423fd9);}[_0x208c9d(0x253)](_0x779323,_0x86b494,_0x596cf8,_0x16878e){const _0x35ac85=_0x208c9d;this[_0x35ac85(0x1bc)]+=_0x596cf8[_0x46cf31],this[_0x35ac85(0x1f5)]=_0x1b4868,_0x779323[_0x35ac85(0x22a)]()[_0x35ac85(0x33d)](_0x45c031=>{const _0x4a2021=_0x35ac85;if(this[_0x4a2021(0x35c)][_0x4a2021(0x356)]){const _0x2603b2=new Error(_0x4a2021(0x36c));process[_0x4a2021(0x1fa)](_0x5c2b8b,this,_0x2603b2,_0x16878e);return;}this[_0x4a2021(0x1bc)]-=_0x596cf8[_0x46cf31];const _0x3ba095=_0x266627(_0x45c031);_0x86b494?this[_0x4a2021(0x2ec)](_0x3ba095,_0x86b494,_0x596cf8,_0x16878e):(this[_0x4a2021(0x1f5)]=_0x576153,this[_0x4a2021(0x1f2)](_0x2bb41b['frame'](_0x3ba095,_0x596cf8),_0x16878e),this[_0x4a2021(0x1d7)]());})[_0x35ac85(0x2e6)](_0x5b4f2f=>{process['nextTick'](_0x33caab,this,_0x5b4f2f,_0x16878e);});}[_0x208c9d(0x2ec)](_0x37297a,_0x43b1ab,_0x1b0715,_0x5f11bf){const _0x4ca972=_0x208c9d;if(!_0x43b1ab){this[_0x4ca972(0x1f2)](_0x2bb41b[_0x4ca972(0x1f8)](_0x37297a,_0x1b0715),_0x5f11bf);return;}const _0x5f23f2=this[_0x4ca972(0x2e0)][_0x40136f['extensionName']];this[_0x4ca972(0x1bc)]+=_0x1b0715[_0x46cf31],this[_0x4ca972(0x1f5)]=_0x4d7bc7,_0x5f23f2['compress'](_0x37297a,_0x1b0715[_0x4ca972(0x2dd)],(_0x11ecd7,_0x3dd9f2)=>{const _0x4ea3f8=_0x4ca972;if(this[_0x4ea3f8(0x35c)][_0x4ea3f8(0x356)]){const _0x237f74=new Error(_0x4ea3f8(0x273));_0x5c2b8b(this,_0x237f74,_0x5f11bf);return;}this[_0x4ea3f8(0x1bc)]-=_0x1b0715[_0x46cf31],this[_0x4ea3f8(0x1f5)]=_0x576153,_0x1b0715[_0x4ea3f8(0x1eb)]=!0x1,this['sendFrame'](_0x2bb41b[_0x4ea3f8(0x1f8)](_0x3dd9f2,_0x1b0715),_0x5f11bf),this[_0x4ea3f8(0x1d7)]();});}[_0x208c9d(0x1d7)](){const _0xbec7c0=_0x208c9d;for(;this[_0xbec7c0(0x1f5)]===_0x576153&&this[_0xbec7c0(0x21b)][_0xbec7c0(0x2a1)];){const _0x20da49=this[_0xbec7c0(0x21b)]['shift']();this[_0xbec7c0(0x1bc)]-=_0x20da49[0x3][_0x46cf31],Reflect[_0xbec7c0(0x206)](_0x20da49[0x0],this,_0x20da49[_0xbec7c0(0x34e)](0x1));}}['enqueue'](_0x3026f4){const _0x265e9a=_0x208c9d;this['_bufferedBytes']+=_0x3026f4[0x3][_0x46cf31],this[_0x265e9a(0x21b)][_0x265e9a(0x35e)](_0x3026f4);}[_0x208c9d(0x1f2)](_0xbae264,_0x16e05f){const _0x3f9f9e=_0x208c9d;_0xbae264[_0x3f9f9e(0x2a1)]===0x2?(this['_socket'][_0x3f9f9e(0x219)](),this['_socket'][_0x3f9f9e(0x1ea)](_0xbae264[0x0]),this[_0x3f9f9e(0x35c)][_0x3f9f9e(0x1ea)](_0xbae264[0x1],_0x16e05f),this[_0x3f9f9e(0x35c)][_0x3f9f9e(0x28e)]()):this['_socket']['write'](_0xbae264[0x0],_0x16e05f);}}Ee=_0x2bb41b;function _0x5c2b8b(_0x39d7fd,_0x2e5dd8,_0x514fb0){const _0x34a0bf=_0x208c9d;typeof _0x514fb0==_0x34a0bf(0x269)&&_0x514fb0(_0x2e5dd8);for(let _0x4bd9ab=0x0;_0x4bd9ab<_0x39d7fd[_0x34a0bf(0x21b)][_0x34a0bf(0x2a1)];_0x4bd9ab++){const _0x38b3e=_0x39d7fd[_0x34a0bf(0x21b)][_0x4bd9ab],_0x2cdcea=_0x38b3e[_0x38b3e[_0x34a0bf(0x2a1)]-0x1];typeof _0x2cdcea==_0x34a0bf(0x269)&&_0x2cdcea(_0x2e5dd8);}}function _0x33caab(_0x2277d7,_0x4019b6,_0x482e0a){const _0x5f38fd=_0x208c9d;_0x5c2b8b(_0x2277d7,_0x4019b6,_0x482e0a),_0x2277d7[_0x5f38fd(0x32f)](_0x4019b6);}return Ee;}var xe,tt;function Kt(){const _0x4555d9=_0x2a4dc6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e3446,kListener:_0x5b8ec7}=V(),_0x360b6f=Symbol(_0x4555d9(0x347)),_0x1b0be0=Symbol(_0x4555d9(0x1ee)),_0x5cf394=Symbol(_0x4555d9(0x241)),_0x5c0021=Symbol(_0x4555d9(0x350)),_0x1b7763=Symbol(_0x4555d9(0x367)),_0x12ec3f=Symbol(_0x4555d9(0x201)),_0x4be274=Symbol(_0x4555d9(0x242)),_0x555142=Symbol(_0x4555d9(0x20f));class _0x1e1abb{constructor(_0x528a7c){this[_0x12ec3f]=null,this[_0x4be274]=_0x528a7c;}get[_0x4555d9(0x22e)](){return this[_0x12ec3f];}get[_0x4555d9(0x20b)](){return this[_0x4be274];}}Object[_0x4555d9(0x2f4)](_0x1e1abb[_0x4555d9(0x355)],_0x4555d9(0x22e),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x1e1abb[_0x4555d9(0x355)],_0x4555d9(0x20b),{'enumerable':!0x0});class _0x18a34e extends _0x1e1abb{constructor(_0x536f2b,_0x17a7c4={}){const _0x458694=_0x4555d9;super(_0x536f2b),this[_0x360b6f]=_0x17a7c4[_0x458694(0x338)]===void 0x0?0x0:_0x17a7c4[_0x458694(0x338)],this[_0x1b7763]=_0x17a7c4['reason']===void 0x0?'':_0x17a7c4[_0x458694(0x251)],this[_0x555142]=_0x17a7c4[_0x458694(0x2f0)]===void 0x0?!0x1:_0x17a7c4['wasClean'];}get[_0x4555d9(0x338)](){return this[_0x360b6f];}get[_0x4555d9(0x251)](){return this[_0x1b7763];}get[_0x4555d9(0x2f0)](){return this[_0x555142];}}Object[_0x4555d9(0x2f4)](_0x18a34e['prototype'],_0x4555d9(0x338),{'enumerable':!0x0}),Object['defineProperty'](_0x18a34e[_0x4555d9(0x355)],_0x4555d9(0x251),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x18a34e[_0x4555d9(0x355)],_0x4555d9(0x2f0),{'enumerable':!0x0});class _0x3b6738 extends _0x1e1abb{constructor(_0x5dda8e,_0x8d861={}){const _0x24b520=_0x4555d9;super(_0x5dda8e),this[_0x5cf394]=_0x8d861[_0x24b520(0x234)]===void 0x0?null:_0x8d861[_0x24b520(0x234)],this[_0x5c0021]=_0x8d861[_0x24b520(0x28a)]===void 0x0?'':_0x8d861['message'];}get['error'](){return this[_0x5cf394];}get[_0x4555d9(0x28a)](){return this[_0x5c0021];}}Object['defineProperty'](_0x3b6738[_0x4555d9(0x355)],_0x4555d9(0x234),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x3b6738[_0x4555d9(0x355)],_0x4555d9(0x28a),{'enumerable':!0x0});class _0x4d95af extends _0x1e1abb{constructor(_0x495671,_0x271abb={}){const _0x56afe5=_0x4555d9;super(_0x495671),this[_0x1b0be0]=_0x271abb[_0x56afe5(0x1dd)]===void 0x0?null:_0x271abb['data'];}get[_0x4555d9(0x1dd)](){return this[_0x1b0be0];}}Object[_0x4555d9(0x2f4)](_0x4d95af[_0x4555d9(0x355)],_0x4555d9(0x1dd),{'enumerable':!0x0}),xe={'CloseEvent':_0x18a34e,'ErrorEvent':_0x3b6738,'Event':_0x1e1abb,'EventTarget':{'addEventListener'(_0x254e26,_0x4107cc,_0x3361c5={}){const _0xe0f72=_0x4555d9;for(const _0x18cb70 of this[_0xe0f72(0x36b)](_0x254e26))if(!_0x3361c5[_0x2e3446]&&_0x18cb70[_0x5b8ec7]===_0x4107cc&&!_0x18cb70[_0x2e3446])return;let _0xc50408;if(_0x254e26==='message')_0xc50408=function(_0x10bd46,_0x2f8784){const _0x32b8d7=_0xe0f72,_0x59b2c6=new _0x4d95af(_0x32b8d7(0x28a),{'data':_0x2f8784?_0x10bd46:_0x10bd46[_0x32b8d7(0x2fd)]()});_0x59b2c6[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x59b2c6);};else{if(_0x254e26===_0xe0f72(0x1d0))_0xc50408=function(_0x31164d,_0x90b9c7){const _0x4e042d=_0xe0f72,_0x3c6156=new _0x18a34e(_0x4e042d(0x1d0),{'code':_0x31164d,'reason':_0x90b9c7['toString'](),'wasClean':this[_0x4e042d(0x1df)]&&this[_0x4e042d(0x1c1)]});_0x3c6156[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x3c6156);};else{if(_0x254e26===_0xe0f72(0x234))_0xc50408=function(_0x365132){const _0x5aacfc=_0xe0f72,_0x24e45a=new _0x3b6738('error',{'error':_0x365132,'message':_0x365132[_0x5aacfc(0x28a)]});_0x24e45a[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x24e45a);};else{if(_0x254e26===_0xe0f72(0x250))_0xc50408=function(){const _0x1ad01f=_0xe0f72,_0x491c58=new _0x1e1abb(_0x1ad01f(0x250));_0x491c58[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x491c58);};else return;}}}_0xc50408[_0x2e3446]=!!_0x3361c5[_0x2e3446],_0xc50408[_0x5b8ec7]=_0x4107cc,_0x3361c5['once']?this[_0xe0f72(0x24b)](_0x254e26,_0xc50408):this['on'](_0x254e26,_0xc50408);},'removeEventListener'(_0x450786,_0x5cefa5){const _0x140be4=_0x4555d9;for(const _0x3c8c27 of this[_0x140be4(0x36b)](_0x450786))if(_0x3c8c27[_0x5b8ec7]===_0x5cefa5&&!_0x3c8c27[_0x2e3446]){this[_0x140be4(0x1db)](_0x450786,_0x3c8c27);break;}}},'MessageEvent':_0x4d95af};function _0x5da48c(_0x145765,_0x1266e0,_0x468a89){const _0x173866=_0x4555d9;typeof _0x145765=='object'&&_0x145765[_0x173866(0x25c)]?_0x145765[_0x173866(0x25c)]['call'](_0x145765,_0x468a89):_0x145765['call'](_0x1266e0,_0x468a89);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x44bce3}=ne();function _0x38f3d8(_0x2dbc7d,_0x4fd7cd,_0x57d4f7){const _0x21f5d0=_0x43e6;_0x2dbc7d[_0x4fd7cd]===void 0x0?_0x2dbc7d[_0x4fd7cd]=[_0x57d4f7]:_0x2dbc7d[_0x4fd7cd][_0x21f5d0(0x35e)](_0x57d4f7);}function _0x3699ad(_0x5e708c){const _0x21e73d=_0x43e6,_0x29e293=Object['create'](null);let _0x59c325=Object[_0x21e73d(0x20e)](null),_0xacafa9=!0x1,_0x1763d5=!0x1,_0x1d1a8a=!0x1,_0x29ba6e,_0x1186bf,_0x461a92=-0x1,_0x2d1583=-0x1,_0x271ff7=-0x1,_0x417cf5=0x0;for(;_0x417cf5<_0x5e708c[_0x21e73d(0x2a1)];_0x417cf5++)if(_0x2d1583=_0x5e708c[_0x21e73d(0x362)](_0x417cf5),_0x29ba6e===void 0x0){if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x417cf5!==0x0&&(_0x2d1583===0x20||_0x2d1583===0x9))_0x271ff7===-0x1&&_0x461a92!==-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);const _0x1f9e43=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7);_0x2d1583===0x2c?(_0x38f3d8(_0x29e293,_0x1f9e43,_0x59c325),_0x59c325=Object['create'](null)):_0x29ba6e=_0x1f9e43,_0x461a92=_0x271ff7=-0x1;}else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}else{if(_0x1186bf===void 0x0){if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x2d1583===0x20||_0x2d1583===0x9)_0x271ff7===-0x1&&_0x461a92!==-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5),_0x38f3d8(_0x59c325,_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7),!0x0),_0x2d1583===0x2c&&(_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325),_0x59c325=Object[_0x21e73d(0x20e)](null),_0x29ba6e=void 0x0),_0x461a92=_0x271ff7=-0x1;}else{if(_0x2d1583===0x3d&&_0x461a92!==-0x1&&_0x271ff7===-0x1)_0x1186bf=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x417cf5),_0x461a92=_0x271ff7=-0x1;else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}}else{if(_0x1763d5){if(_0x44bce3[_0x2d1583]!==0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x461a92===-0x1?_0x461a92=_0x417cf5:_0xacafa9||(_0xacafa9=!0x0),_0x1763d5=!0x1;}else{if(_0x1d1a8a){if(_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x2d1583===0x22&&_0x461a92!==-0x1)_0x1d1a8a=!0x1,_0x271ff7=_0x417cf5;else{if(_0x2d1583===0x5c)_0x1763d5=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x417cf5);}}}else{if(_0x2d1583===0x22&&_0x5e708c['charCodeAt'](_0x417cf5-0x1)===0x3d)_0x1d1a8a=!0x0;else{if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x461a92!==-0x1&&(_0x2d1583===0x20||_0x2d1583===0x9))_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);let _0x56e6c3=_0x5e708c['slice'](_0x461a92,_0x271ff7);_0xacafa9&&(_0x56e6c3=_0x56e6c3[_0x21e73d(0x222)](/\\/g,''),_0xacafa9=!0x1),_0x38f3d8(_0x59c325,_0x1186bf,_0x56e6c3),_0x2d1583===0x2c&&(_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325),_0x59c325=Object['create'](null),_0x29ba6e=void 0x0),_0x1186bf=void 0x0,_0x461a92=_0x271ff7=-0x1;}else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}}}}}if(_0x461a92===-0x1||_0x1d1a8a||_0x2d1583===0x20||_0x2d1583===0x9)throw new SyntaxError(_0x21e73d(0x291));_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);const _0x266d18=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7);return _0x29ba6e===void 0x0?_0x38f3d8(_0x29e293,_0x266d18,_0x59c325):(_0x1186bf===void 0x0?_0x38f3d8(_0x59c325,_0x266d18,!0x0):_0xacafa9?_0x38f3d8(_0x59c325,_0x1186bf,_0x266d18[_0x21e73d(0x222)](/\\/g,'')):_0x38f3d8(_0x59c325,_0x1186bf,_0x266d18),_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325)),_0x29e293;}function _0x21624a(_0x5b89ec){const _0x43dd33=_0x43e6;return Object['keys'](_0x5b89ec)[_0x43dd33(0x2c1)](_0x5ab247=>{const _0x5a1b57=_0x43dd33;let _0x4bff2e=_0x5b89ec[_0x5ab247];return Array[_0x5a1b57(0x301)](_0x4bff2e)||(_0x4bff2e=[_0x4bff2e]),_0x4bff2e[_0x5a1b57(0x2c1)](_0x3dbded=>[_0x5ab247][_0x5a1b57(0x366)](Object['keys'](_0x3dbded)['map'](_0x292207=>{const _0x463622=_0x5a1b57;let _0x59a5e5=_0x3dbded[_0x292207];return Array['isArray'](_0x59a5e5)||(_0x59a5e5=[_0x59a5e5]),_0x59a5e5[_0x463622(0x2c1)](_0x2323ac=>_0x2323ac===!0x0?_0x292207:_0x292207+'='+_0x2323ac)[_0x463622(0x2d6)](';\x20');}))[_0x5a1b57(0x2d6)](';\x20'))[_0x5a1b57(0x2d6)](',\x20');})[_0x43dd33(0x2d6)](',\x20');}return be={'format':_0x21624a,'parse':_0x3699ad},be;}var we,st;function Ie(){const _0x483c32=_0x2a4dc6;if(st)return we;st=0x1;const _0x3f82c8=_0x1ddafa,_0x11bb89=_0x55267a,_0x45b0ae=_0x2b8417,_0x181bb6=_0x1f99e9,_0x382960=_0x254774,{randomBytes:_0x54d2b2,createHash:_0x5ce734}=_0x8054d,{Duplex:_0x3d4408,Readable:_0x2ba4c5}=_0xd79b6f,{URL:_0x441d20}=_0xbebf65,_0x1efef8=he(),_0x2b3cf0=dt(),_0x4593a5=_t(),{isBlob:_0xff996e}=ne(),{BINARY_TYPES:_0x58b7eb,EMPTY_BUFFER:_0x2c5aec,GUID:_0x24d21e,kForOnEventAttribute:_0x171cba,kListener:_0x3ff8e1,kStatusCode:_0xac719b,kWebSocket:_0x362ad4,NOOP:_0x1a49da}=V(),{EventTarget:{addEventListener:_0x445db6,removeEventListener:_0x22da9f}}=Kt(),{format:_0x301d1f,parse:_0x592f34}=pt(),{toBuffer:_0x25807e}=ce(),_0x2f7ee5=0x1e*0x3e8,_0x4370e7=Symbol('kAborted'),_0x5d2816=[0x8,0xd],_0x2c88d2=[_0x483c32(0x271),_0x483c32(0x2cc),'CLOSING',_0x483c32(0x274)],_0x1c2a4b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xc9db8c extends _0x3f82c8{constructor(_0x3d33f3,_0x2eae86,_0x307dcc){const _0x37ec07=_0x483c32;super(),this[_0x37ec07(0x364)]=_0x58b7eb[0x0],this[_0x37ec07(0x2e2)]=0x3ee,this[_0x37ec07(0x1df)]=!0x1,this[_0x37ec07(0x1c1)]=!0x1,this[_0x37ec07(0x280)]=_0x2c5aec,this[_0x37ec07(0x342)]=null,this['_errorEmitted']=!0x1,this[_0x37ec07(0x2e0)]={},this['_paused']=!0x1,this[_0x37ec07(0x332)]='',this[_0x37ec07(0x2f7)]=_0xc9db8c[_0x37ec07(0x271)],this[_0x37ec07(0x270)]=null,this[_0x37ec07(0x296)]=null,this['_socket']=null,_0x3d33f3!==null?(this['_bufferedAmount']=0x0,this[_0x37ec07(0x221)]=!0x1,this['_redirects']=0x0,_0x2eae86===void 0x0?_0x2eae86=[]:Array[_0x37ec07(0x301)](_0x2eae86)||(typeof _0x2eae86=='object'&&_0x2eae86!==null?(_0x307dcc=_0x2eae86,_0x2eae86=[]):_0x2eae86=[_0x2eae86]),_0x5040ba(this,_0x3d33f3,_0x2eae86,_0x307dcc)):(this[_0x37ec07(0x2e3)]=_0x307dcc[_0x37ec07(0x2f6)],this[_0x37ec07(0x221)]=!0x0);}get[_0x483c32(0x276)](){const _0x14cb5d=_0x483c32;return this[_0x14cb5d(0x364)];}set['binaryType'](_0x2243cb){const _0x18e672=_0x483c32;_0x58b7eb[_0x18e672(0x217)](_0x2243cb)&&(this['_binaryType']=_0x2243cb,this[_0x18e672(0x270)]&&(this['_receiver']['_binaryType']=_0x2243cb));}get['bufferedAmount'](){const _0x928e8c=_0x483c32;return this[_0x928e8c(0x35c)]?this[_0x928e8c(0x35c)][_0x928e8c(0x29b)][_0x928e8c(0x2a1)]+this[_0x928e8c(0x296)][_0x928e8c(0x1bc)]:this['_bufferedAmount'];}get[_0x483c32(0x2e9)](){const _0x45e822=_0x483c32;return Object[_0x45e822(0x2b0)](this[_0x45e822(0x2e0)])[_0x45e822(0x2d6)]();}get[_0x483c32(0x30b)](){const _0x323fa2=_0x483c32;return this[_0x323fa2(0x28d)];}get[_0x483c32(0x361)](){return null;}get['onerror'](){return null;}get[_0x483c32(0x316)](){return null;}get[_0x483c32(0x2b3)](){return null;}get[_0x483c32(0x351)](){return this['_protocol'];}get[_0x483c32(0x2f1)](){return this['_readyState'];}get[_0x483c32(0x322)](){const _0xe9ec96=_0x483c32;return this[_0xe9ec96(0x1f6)];}[_0x483c32(0x252)](_0x34ea70,_0x57731e,_0xfbb25){const _0x3a99f3=_0x483c32,_0x55504f=new _0x2b3cf0({'allowSynchronousEvents':_0xfbb25[_0x3a99f3(0x1c2)],'binaryType':this[_0x3a99f3(0x276)],'extensions':this[_0x3a99f3(0x2e0)],'isServer':this[_0x3a99f3(0x221)],'maxPayload':_0xfbb25[_0x3a99f3(0x324)],'skipUTF8Validation':_0xfbb25[_0x3a99f3(0x227)]}),_0x37822a=new _0x4593a5(_0x34ea70,this[_0x3a99f3(0x2e0)],_0xfbb25[_0x3a99f3(0x360)]);this[_0x3a99f3(0x270)]=_0x55504f,this['_sender']=_0x37822a,this[_0x3a99f3(0x35c)]=_0x34ea70,_0x55504f[_0x362ad4]=this,_0x37822a[_0x362ad4]=this,_0x34ea70[_0x362ad4]=this,_0x55504f['on'](_0x3a99f3(0x286),_0x4d1af0),_0x55504f['on'](_0x3a99f3(0x2b1),_0x37ee4d),_0x55504f['on'](_0x3a99f3(0x234),_0x192fed),_0x55504f['on'](_0x3a99f3(0x28a),_0x33d517),_0x55504f['on'](_0x3a99f3(0x35d),_0x4aab0b),_0x55504f['on']('pong',_0x30e543),_0x37822a[_0x3a99f3(0x32f)]=_0x6c2074,_0x34ea70['setTimeout']&&_0x34ea70[_0x3a99f3(0x336)](0x0),_0x34ea70[_0x3a99f3(0x285)]&&_0x34ea70['setNoDelay'](),_0x57731e[_0x3a99f3(0x2a1)]>0x0&&_0x34ea70[_0x3a99f3(0x2c7)](_0x57731e),_0x34ea70['on'](_0x3a99f3(0x1d0),_0x4f5047),_0x34ea70['on'](_0x3a99f3(0x1dd),_0x20a207),_0x34ea70['on']('end',_0x2d989e),_0x34ea70['on']('error',_0x2c5119),this['_readyState']=_0xc9db8c[_0x3a99f3(0x2cc)],this[_0x3a99f3(0x20d)](_0x3a99f3(0x250));}[_0x483c32(0x2fb)](){const _0x5884d7=_0x483c32;if(!this[_0x5884d7(0x35c)]){this['_readyState']=_0xc9db8c[_0x5884d7(0x274)],this[_0x5884d7(0x20d)]('close',this[_0x5884d7(0x2e2)],this['_closeMessage']);return;}this['_extensions'][_0x1efef8[_0x5884d7(0x243)]]&&this[_0x5884d7(0x2e0)][_0x1efef8['extensionName']]['cleanup'](),this['_receiver'][_0x5884d7(0x2c0)](),this[_0x5884d7(0x2f7)]=_0xc9db8c['CLOSED'],this[_0x5884d7(0x20d)](_0x5884d7(0x1d0),this[_0x5884d7(0x2e2)],this[_0x5884d7(0x280)]);}[_0x483c32(0x1d0)](_0x5255c2,_0x4e8fa8){const _0x4a753e=_0x483c32;if(this[_0x4a753e(0x2f1)]!==_0xc9db8c[_0x4a753e(0x274)]){if(this[_0x4a753e(0x2f1)]===_0xc9db8c[_0x4a753e(0x271)]){_0x22ac18(this,this[_0x4a753e(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a753e(0x2f1)]===_0xc9db8c[_0x4a753e(0x2ac)]){this[_0x4a753e(0x1c1)]&&(this[_0x4a753e(0x1df)]||this[_0x4a753e(0x270)][_0x4a753e(0x29b)]['errorEmitted'])&&this[_0x4a753e(0x35c)]['end']();return;}this[_0x4a753e(0x2f7)]=_0xc9db8c[_0x4a753e(0x2ac)],this[_0x4a753e(0x296)][_0x4a753e(0x1d0)](_0x5255c2,_0x4e8fa8,!this[_0x4a753e(0x221)],_0x5cd05d=>{const _0x5f08f0=_0x4a753e;_0x5cd05d||(this[_0x5f08f0(0x1c1)]=!0x0,(this[_0x5f08f0(0x1df)]||this[_0x5f08f0(0x270)][_0x5f08f0(0x29b)][_0x5f08f0(0x200)])&&this[_0x5f08f0(0x35c)]['end']());}),_0x59814d(this);}}[_0x483c32(0x352)](){const _0x3665e4=_0x483c32;this[_0x3665e4(0x2f1)]===_0xc9db8c[_0x3665e4(0x271)]||this[_0x3665e4(0x2f1)]===_0xc9db8c[_0x3665e4(0x274)]||(this['_paused']=!0x0,this[_0x3665e4(0x35c)]['pause']());}[_0x483c32(0x35d)](_0x1b05cf,_0x1b2bf5,_0x3661a5){const _0x29378a=_0x483c32;if(this[_0x29378a(0x2f1)]===_0xc9db8c[_0x29378a(0x271)])throw new Error(_0x29378a(0x343));if(typeof _0x1b05cf=='function'?(_0x3661a5=_0x1b05cf,_0x1b05cf=_0x1b2bf5=void 0x0):typeof _0x1b2bf5=='function'&&(_0x3661a5=_0x1b2bf5,_0x1b2bf5=void 0x0),typeof _0x1b05cf==_0x29378a(0x2ff)&&(_0x1b05cf=_0x1b05cf['toString']()),this['readyState']!==_0xc9db8c['OPEN']){_0x57e7b3(this,_0x1b05cf,_0x3661a5);return;}_0x1b2bf5===void 0x0&&(_0x1b2bf5=!this['_isServer']),this[_0x29378a(0x296)][_0x29378a(0x35d)](_0x1b05cf||_0x2c5aec,_0x1b2bf5,_0x3661a5);}[_0x483c32(0x2f5)](_0xa41f76,_0x2177b1,_0x3b1071){const _0x5dda05=_0x483c32;if(this[_0x5dda05(0x2f1)]===_0xc9db8c['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xa41f76==_0x5dda05(0x269)?(_0x3b1071=_0xa41f76,_0xa41f76=_0x2177b1=void 0x0):typeof _0x2177b1=='function'&&(_0x3b1071=_0x2177b1,_0x2177b1=void 0x0),typeof _0xa41f76==_0x5dda05(0x2ff)&&(_0xa41f76=_0xa41f76[_0x5dda05(0x2fd)]()),this[_0x5dda05(0x2f1)]!==_0xc9db8c[_0x5dda05(0x2cc)]){_0x57e7b3(this,_0xa41f76,_0x3b1071);return;}_0x2177b1===void 0x0&&(_0x2177b1=!this[_0x5dda05(0x221)]),this[_0x5dda05(0x296)]['pong'](_0xa41f76||_0x2c5aec,_0x2177b1,_0x3b1071);}['resume'](){const _0x599664=_0x483c32;this[_0x599664(0x2f1)]===_0xc9db8c['CONNECTING']||this[_0x599664(0x2f1)]===_0xc9db8c[_0x599664(0x274)]||(this['_paused']=!0x1,this['_receiver'][_0x599664(0x29b)]['needDrain']||this[_0x599664(0x35c)]['resume']());}[_0x483c32(0x22b)](_0x1c4a7b,_0x544e88,_0x4c3b3e){const _0x5005ee=_0x483c32;if(this[_0x5005ee(0x2f1)]===_0xc9db8c['CONNECTING'])throw new Error(_0x5005ee(0x343));if(typeof _0x544e88==_0x5005ee(0x269)&&(_0x4c3b3e=_0x544e88,_0x544e88={}),typeof _0x1c4a7b==_0x5005ee(0x2ff)&&(_0x1c4a7b=_0x1c4a7b[_0x5005ee(0x2fd)]()),this['readyState']!==_0xc9db8c[_0x5005ee(0x2cc)]){_0x57e7b3(this,_0x1c4a7b,_0x4c3b3e);return;}const _0x59739c={'binary':typeof _0x1c4a7b!=_0x5005ee(0x2d7),'mask':!this[_0x5005ee(0x221)],'compress':!0x0,'fin':!0x0,..._0x544e88};this[_0x5005ee(0x2e0)][_0x1efef8['extensionName']]||(_0x59739c[_0x5005ee(0x1d8)]=!0x1),this[_0x5005ee(0x296)][_0x5005ee(0x22b)](_0x1c4a7b||_0x2c5aec,_0x59739c,_0x4c3b3e);}[_0x483c32(0x244)](){const _0x59c6c9=_0x483c32;if(this[_0x59c6c9(0x2f1)]!==_0xc9db8c[_0x59c6c9(0x274)]){if(this['readyState']===_0xc9db8c['CONNECTING']){_0x22ac18(this,this[_0x59c6c9(0x2ca)],_0x59c6c9(0x2a6));return;}this['_socket']&&(this[_0x59c6c9(0x2f7)]=_0xc9db8c[_0x59c6c9(0x2ac)],this[_0x59c6c9(0x35c)][_0x59c6c9(0x2cd)]());}}}Object[_0x483c32(0x2f4)](_0xc9db8c,_0x483c32(0x271),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x271))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x271),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x271))}),Object['defineProperty'](_0xc9db8c,_0x483c32(0x2cc),{'enumerable':!0x0,'value':_0x2c88d2['indexOf'](_0x483c32(0x2cc))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x2cc),{'enumerable':!0x0,'value':_0x2c88d2['indexOf'](_0x483c32(0x2cc))}),Object['defineProperty'](_0xc9db8c,_0x483c32(0x2ac),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x2ac))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x2ac),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)]('CLOSING')}),Object[_0x483c32(0x2f4)](_0xc9db8c,'CLOSED',{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)]('CLOSED')}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],'CLOSED',{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x274))}),[_0x483c32(0x276),_0x483c32(0x2a2),_0x483c32(0x2e9),'isPaused','protocol',_0x483c32(0x2f1),_0x483c32(0x322)][_0x483c32(0x1bd)](_0x45a89b=>{Object['defineProperty'](_0xc9db8c['prototype'],_0x45a89b,{'enumerable':!0x0});}),[_0x483c32(0x250),_0x483c32(0x234),_0x483c32(0x1d0),_0x483c32(0x28a)]['forEach'](_0x5dbd5b=>{const _0x570939=_0x483c32;Object[_0x570939(0x2f4)](_0xc9db8c[_0x570939(0x355)],'on'+_0x5dbd5b,{'enumerable':!0x0,'get'(){const _0x4d2602=_0x570939;for(const _0xc159f1 of this[_0x4d2602(0x36b)](_0x5dbd5b))if(_0xc159f1[_0x171cba])return _0xc159f1[_0x3ff8e1];return null;},'set'(_0x36ae81){const _0x686ee3=_0x570939;for(const _0x43ea6f of this['listeners'](_0x5dbd5b))if(_0x43ea6f[_0x171cba]){this[_0x686ee3(0x1db)](_0x5dbd5b,_0x43ea6f);break;}typeof _0x36ae81==_0x686ee3(0x269)&&this[_0x686ee3(0x294)](_0x5dbd5b,_0x36ae81,{[_0x171cba]:!0x0});}});}),_0xc9db8c['prototype'][_0x483c32(0x294)]=_0x445db6,_0xc9db8c[_0x483c32(0x355)]['removeEventListener']=_0x22da9f,we=_0xc9db8c;function _0x5040ba(_0x18c35f,_0x50ff71,_0x3d32d3,_0x392a8a){const _0x4136ec=_0x483c32,_0x2398e8={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5d2816[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x392a8a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x18c35f['_autoPong']=_0x2398e8[_0x4136ec(0x2f6)],!_0x5d2816['includes'](_0x2398e8[_0x4136ec(0x259)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2398e8[_0x4136ec(0x259)]+_0x4136ec(0x330)+_0x5d2816['join'](',\x20')+')');let _0x369d3a;if(_0x50ff71 instanceof _0x441d20)_0x369d3a=_0x50ff71;else try{_0x369d3a=new _0x441d20(_0x50ff71);}catch{throw new SyntaxError(_0x4136ec(0x30a)+_0x50ff71);}_0x369d3a[_0x4136ec(0x351)]==='http:'?_0x369d3a[_0x4136ec(0x351)]=_0x4136ec(0x27d):_0x369d3a[_0x4136ec(0x351)]===_0x4136ec(0x26c)&&(_0x369d3a[_0x4136ec(0x351)]=_0x4136ec(0x223)),_0x18c35f[_0x4136ec(0x1f6)]=_0x369d3a[_0x4136ec(0x33e)];const _0x24b421=_0x369d3a['protocol']===_0x4136ec(0x223),_0x330c08=_0x369d3a[_0x4136ec(0x351)]===_0x4136ec(0x334);let _0x5bd28e;if(_0x369d3a[_0x4136ec(0x351)]!=='ws:'&&!_0x24b421&&!_0x330c08?_0x5bd28e='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':_0x330c08&&!_0x369d3a[_0x4136ec(0x218)]?_0x5bd28e=_0x4136ec(0x328):_0x369d3a[_0x4136ec(0x26a)]&&(_0x5bd28e=_0x4136ec(0x31e)),_0x5bd28e){const _0x531768=new SyntaxError(_0x5bd28e);if(_0x18c35f[_0x4136ec(0x1e1)]===0x0)throw _0x531768;_0x526d04(_0x18c35f,_0x531768);return;}const _0x3bfb8b=_0x24b421?0x1bb:0x50,_0x108b91=_0x54d2b2(0x10)[_0x4136ec(0x2fd)](_0x4136ec(0x2d5)),_0x17f949=_0x24b421?_0x11bb89[_0x4136ec(0x232)]:_0x45b0ae[_0x4136ec(0x232)],_0x4492ac=new Set();let _0x331b03;if(_0x2398e8['createConnection']=_0x2398e8['createConnection']||(_0x24b421?_0xfa5e84:_0x29e428),_0x2398e8['defaultPort']=_0x2398e8['defaultPort']||_0x3bfb8b,_0x2398e8[_0x4136ec(0x275)]=_0x369d3a['port']||_0x3bfb8b,_0x2398e8[_0x4136ec(0x1f1)]=_0x369d3a[_0x4136ec(0x284)][_0x4136ec(0x245)]('[')?_0x369d3a[_0x4136ec(0x284)][_0x4136ec(0x34e)](0x1,-0x1):_0x369d3a[_0x4136ec(0x284)],_0x2398e8[_0x4136ec(0x2e7)]={..._0x2398e8[_0x4136ec(0x2e7)],'Sec-WebSocket-Version':_0x2398e8[_0x4136ec(0x259)],'Sec-WebSocket-Key':_0x108b91,'Connection':'Upgrade','Upgrade':_0x4136ec(0x205)},_0x2398e8[_0x4136ec(0x236)]=_0x369d3a[_0x4136ec(0x218)]+_0x369d3a['search'],_0x2398e8[_0x4136ec(0x30f)]=_0x2398e8[_0x4136ec(0x344)],_0x2398e8[_0x4136ec(0x1ce)]&&(_0x331b03=new _0x1efef8(_0x2398e8[_0x4136ec(0x1ce)]!==!0x0?_0x2398e8[_0x4136ec(0x1ce)]:{},!0x1,_0x2398e8[_0x4136ec(0x324)]),_0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x235)]=_0x301d1f({[_0x1efef8[_0x4136ec(0x243)]]:_0x331b03['offer']()})),_0x3d32d3[_0x4136ec(0x2a1)]){for(const _0x3dc224 of _0x3d32d3){if(typeof _0x3dc224!=_0x4136ec(0x2d7)||!_0x1c2a4b[_0x4136ec(0x2ed)](_0x3dc224)||_0x4492ac['has'](_0x3dc224))throw new SyntaxError(_0x4136ec(0x313));_0x4492ac[_0x4136ec(0x213)](_0x3dc224);}_0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x1cd)]=_0x3d32d3['join'](',');}if(_0x2398e8[_0x4136ec(0x345)]&&(_0x2398e8[_0x4136ec(0x259)]<0xd?_0x2398e8[_0x4136ec(0x2e7)]['Sec-WebSocket-Origin']=_0x2398e8[_0x4136ec(0x345)]:_0x2398e8['headers']['Origin']=_0x2398e8['origin']),(_0x369d3a[_0x4136ec(0x290)]||_0x369d3a[_0x4136ec(0x2ea)])&&(_0x2398e8[_0x4136ec(0x27c)]=_0x369d3a[_0x4136ec(0x290)]+':'+_0x369d3a[_0x4136ec(0x2ea)]),_0x330c08){const _0x487a1f=_0x2398e8[_0x4136ec(0x236)]['split'](':');_0x2398e8[_0x4136ec(0x1ef)]=_0x487a1f[0x0],_0x2398e8['path']=_0x487a1f[0x1];}let _0x55319d;if(_0x2398e8['followRedirects']){if(_0x18c35f[_0x4136ec(0x1e1)]===0x0){_0x18c35f[_0x4136ec(0x2aa)]=_0x330c08,_0x18c35f['_originalSecure']=_0x24b421,_0x18c35f[_0x4136ec(0x28c)]=_0x330c08?_0x2398e8[_0x4136ec(0x1ef)]:_0x369d3a[_0x4136ec(0x1f1)];const _0x56d1d5=_0x392a8a&&_0x392a8a[_0x4136ec(0x2e7)];if(_0x392a8a={..._0x392a8a,'headers':{}},_0x56d1d5){for(const [_0x4f2910,_0x24c2ce]of Object['entries'](_0x56d1d5))_0x392a8a[_0x4136ec(0x2e7)][_0x4f2910[_0x4136ec(0x2b6)]()]=_0x24c2ce;}}else{if(_0x18c35f[_0x4136ec(0x292)](_0x4136ec(0x22f))===0x0){const _0x40ba71=_0x330c08?_0x18c35f['_originalIpc']?_0x2398e8['socketPath']===_0x18c35f[_0x4136ec(0x28c)]:!0x1:_0x18c35f[_0x4136ec(0x2aa)]?!0x1:_0x369d3a[_0x4136ec(0x1f1)]===_0x18c35f[_0x4136ec(0x28c)];(!_0x40ba71||_0x18c35f[_0x4136ec(0x249)]&&!_0x24b421)&&(delete _0x2398e8['headers']['authorization'],delete _0x2398e8['headers'][_0x4136ec(0x2d1)],_0x40ba71||delete _0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x1f1)],_0x2398e8[_0x4136ec(0x27c)]=void 0x0);}}_0x2398e8[_0x4136ec(0x27c)]&&!_0x392a8a[_0x4136ec(0x2e7)][_0x4136ec(0x30c)]&&(_0x392a8a['headers'][_0x4136ec(0x30c)]=_0x4136ec(0x2e5)+Buffer[_0x4136ec(0x2a8)](_0x2398e8['auth'])[_0x4136ec(0x2fd)]('base64')),_0x55319d=_0x18c35f['_req']=_0x17f949(_0x2398e8),_0x18c35f[_0x4136ec(0x1e1)]&&_0x18c35f[_0x4136ec(0x20d)](_0x4136ec(0x22f),_0x18c35f[_0x4136ec(0x322)],_0x55319d);}else _0x55319d=_0x18c35f[_0x4136ec(0x2ca)]=_0x17f949(_0x2398e8);_0x2398e8['timeout']&&_0x55319d['on']('timeout',()=>{const _0x4b3911=_0x4136ec;_0x22ac18(_0x18c35f,_0x55319d,_0x4b3911(0x29d));}),_0x55319d['on'](_0x4136ec(0x234),_0x148a50=>{const _0x26b5a4=_0x4136ec;_0x55319d===null||_0x55319d[_0x4370e7]||(_0x55319d=_0x18c35f[_0x26b5a4(0x2ca)]=null,_0x526d04(_0x18c35f,_0x148a50));}),_0x55319d['on'](_0x4136ec(0x23b),_0x3fa4b9=>{const _0x40d3bb=_0x4136ec,_0x555088=_0x3fa4b9[_0x40d3bb(0x2e7)][_0x40d3bb(0x1de)],_0x20d9c8=_0x3fa4b9[_0x40d3bb(0x293)];if(_0x555088&&_0x2398e8[_0x40d3bb(0x2be)]&&_0x20d9c8>=0x12c&&_0x20d9c8<0x190){if(++_0x18c35f[_0x40d3bb(0x1e1)]>_0x2398e8['maxRedirects']){_0x22ac18(_0x18c35f,_0x55319d,_0x40d3bb(0x2b8));return;}_0x55319d['abort']();let _0xae8c90;try{_0xae8c90=new _0x441d20(_0x555088,_0x50ff71);}catch{const _0x496b2d=new SyntaxError(_0x40d3bb(0x30a)+_0x555088);_0x526d04(_0x18c35f,_0x496b2d);return;}_0x5040ba(_0x18c35f,_0xae8c90,_0x3d32d3,_0x392a8a);}else _0x18c35f[_0x40d3bb(0x20d)](_0x40d3bb(0x21c),_0x55319d,_0x3fa4b9)||_0x22ac18(_0x18c35f,_0x55319d,'Unexpected\x20server\x20response:\x20'+_0x3fa4b9[_0x40d3bb(0x293)]);}),_0x55319d['on'](_0x4136ec(0x21d),(_0x308c92,_0x5bd863,_0x4f5dc2)=>{const _0x8c502d=_0x4136ec;if(_0x18c35f[_0x8c502d(0x20d)](_0x8c502d(0x21d),_0x308c92),_0x18c35f[_0x8c502d(0x2f1)]!==_0xc9db8c['CONNECTING'])return;_0x55319d=_0x18c35f[_0x8c502d(0x2ca)]=null;const _0x5d9776=_0x308c92['headers'][_0x8c502d(0x21d)];if(_0x5d9776===void 0x0||_0x5d9776[_0x8c502d(0x2b6)]()!=='websocket'){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x329));return;}const _0x4dac5d=_0x5ce734(_0x8c502d(0x258))[_0x8c502d(0x1ba)](_0x108b91+_0x24d21e)[_0x8c502d(0x26d)](_0x8c502d(0x2d5));if(_0x308c92['headers']['sec-websocket-accept']!==_0x4dac5d){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x2a7));return;}const _0x5b9d91=_0x308c92[_0x8c502d(0x2e7)][_0x8c502d(0x2a5)];let _0x44a4e7;if(_0x5b9d91!==void 0x0?_0x4492ac[_0x8c502d(0x1e4)]?_0x4492ac[_0x8c502d(0x1d4)](_0x5b9d91)||(_0x44a4e7=_0x8c502d(0x327)):_0x44a4e7=_0x8c502d(0x254):_0x4492ac[_0x8c502d(0x1e4)]&&(_0x44a4e7='Server\x20sent\x20no\x20subprotocol'),_0x44a4e7){_0x22ac18(_0x18c35f,_0x5bd863,_0x44a4e7);return;}_0x5b9d91&&(_0x18c35f[_0x8c502d(0x332)]=_0x5b9d91);const _0x4cbff8=_0x308c92['headers'][_0x8c502d(0x315)];if(_0x4cbff8!==void 0x0){if(!_0x331b03){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x1d9));return;}let _0x1aee3c;try{_0x1aee3c=_0x592f34(_0x4cbff8);}catch{_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x226));return;}const _0x2a40d9=Object[_0x8c502d(0x2b0)](_0x1aee3c);if(_0x2a40d9[_0x8c502d(0x2a1)]!==0x1||_0x2a40d9[0x0]!==_0x1efef8[_0x8c502d(0x243)]){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x27f));return;}try{_0x331b03['accept'](_0x1aee3c[_0x1efef8['extensionName']]);}catch{_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x226));return;}_0x18c35f['_extensions'][_0x1efef8[_0x8c502d(0x243)]]=_0x331b03;}_0x18c35f[_0x8c502d(0x252)](_0x5bd863,_0x4f5dc2,{'allowSynchronousEvents':_0x2398e8[_0x8c502d(0x1c2)],'generateMask':_0x2398e8[_0x8c502d(0x360)],'maxPayload':_0x2398e8[_0x8c502d(0x324)],'skipUTF8Validation':_0x2398e8[_0x8c502d(0x227)]});}),_0x2398e8['finishRequest']?_0x2398e8[_0x4136ec(0x1b8)](_0x55319d,_0x18c35f):_0x55319d[_0x4136ec(0x209)]();}function _0x526d04(_0x154f78,_0x316784){const _0x388757=_0x483c32;_0x154f78[_0x388757(0x2f7)]=_0xc9db8c[_0x388757(0x2ac)],_0x154f78[_0x388757(0x220)]=!0x0,_0x154f78['emit'](_0x388757(0x234),_0x316784),_0x154f78['emitClose']();}function _0x29e428(_0x571030){const _0x13f1c8=_0x483c32;return _0x571030['path']=_0x571030[_0x13f1c8(0x1ef)],_0x181bb6[_0x13f1c8(0x323)](_0x571030);}function _0xfa5e84(_0x595c63){const _0x27d576=_0x483c32;return _0x595c63[_0x27d576(0x236)]=void 0x0,!_0x595c63['servername']&&_0x595c63[_0x27d576(0x2b5)]!==''&&(_0x595c63[_0x27d576(0x2b5)]=_0x181bb6[_0x27d576(0x335)](_0x595c63[_0x27d576(0x1f1)])?'':_0x595c63['host']),_0x382960[_0x27d576(0x323)](_0x595c63);}function _0x22ac18(_0x30512a,_0x1d8493,_0x255252){const _0x6ff121=_0x483c32;_0x30512a['_readyState']=_0xc9db8c[_0x6ff121(0x2ac)];const _0x35d641=new Error(_0x255252);Error[_0x6ff121(0x32b)](_0x35d641,_0x22ac18),_0x1d8493[_0x6ff121(0x255)]?(_0x1d8493[_0x4370e7]=!0x0,_0x1d8493['abort'](),_0x1d8493[_0x6ff121(0x33c)]&&!_0x1d8493['socket'][_0x6ff121(0x356)]&&_0x1d8493[_0x6ff121(0x33c)][_0x6ff121(0x2cd)](),process['nextTick'](_0x526d04,_0x30512a,_0x35d641)):(_0x1d8493[_0x6ff121(0x2cd)](_0x35d641),_0x1d8493[_0x6ff121(0x24b)]('error',_0x30512a[_0x6ff121(0x20d)][_0x6ff121(0x24c)](_0x30512a,_0x6ff121(0x234))),_0x1d8493[_0x6ff121(0x24b)](_0x6ff121(0x1d0),_0x30512a[_0x6ff121(0x2fb)][_0x6ff121(0x24c)](_0x30512a)));}function _0x57e7b3(_0x16e50b,_0x51ae6c,_0x1584ea){const _0x3ba88d=_0x483c32;if(_0x51ae6c){const _0x25abd8=_0xff996e(_0x51ae6c)?_0x51ae6c[_0x3ba88d(0x1e4)]:_0x25807e(_0x51ae6c)['length'];_0x16e50b[_0x3ba88d(0x35c)]?_0x16e50b[_0x3ba88d(0x296)][_0x3ba88d(0x1bc)]+=_0x25abd8:_0x16e50b[_0x3ba88d(0x317)]+=_0x25abd8;}if(_0x1584ea){const _0x1e9105=new Error(_0x3ba88d(0x288)+_0x16e50b['readyState']+'\x20('+_0x2c88d2[_0x16e50b['readyState']]+')');process['nextTick'](_0x1584ea,_0x1e9105);}}function _0x4d1af0(_0x21bd7c,_0x44ca08){const _0x48ee26=_0x483c32,_0x592c45=this[_0x362ad4];_0x592c45[_0x48ee26(0x1df)]=!0x0,_0x592c45[_0x48ee26(0x280)]=_0x44ca08,_0x592c45[_0x48ee26(0x2e2)]=_0x21bd7c,_0x592c45[_0x48ee26(0x35c)][_0x362ad4]!==void 0x0&&(_0x592c45[_0x48ee26(0x35c)][_0x48ee26(0x1db)](_0x48ee26(0x1dd),_0x20a207),process[_0x48ee26(0x1fa)](_0x4f9ea2,_0x592c45[_0x48ee26(0x35c)]),_0x21bd7c===0x3ed?_0x592c45[_0x48ee26(0x1d0)]():_0x592c45['close'](_0x21bd7c,_0x44ca08));}function _0x37ee4d(){const _0x550900=_0x483c32,_0x509310=this[_0x362ad4];_0x509310[_0x550900(0x30b)]||_0x509310['_socket'][_0x550900(0x26b)]();}function _0x192fed(_0x1cc8b6){const _0x13c81e=_0x483c32,_0x5702a3=this[_0x362ad4];_0x5702a3[_0x13c81e(0x35c)][_0x362ad4]!==void 0x0&&(_0x5702a3['_socket']['removeListener'](_0x13c81e(0x1dd),_0x20a207),process['nextTick'](_0x4f9ea2,_0x5702a3[_0x13c81e(0x35c)]),_0x5702a3[_0x13c81e(0x1d0)](_0x1cc8b6[_0xac719b])),_0x5702a3[_0x13c81e(0x220)]||(_0x5702a3['_errorEmitted']=!0x0,_0x5702a3[_0x13c81e(0x20d)](_0x13c81e(0x234),_0x1cc8b6));}function _0x573d36(){this[_0x362ad4]['emitClose']();}function _0x33d517(_0xe7691b,_0x68ece9){const _0xf8c372=_0x483c32;this[_0x362ad4][_0xf8c372(0x20d)](_0xf8c372(0x28a),_0xe7691b,_0x68ece9);}function _0x4aab0b(_0x42928f){const _0x59391f=_0x483c32,_0xdff40e=this[_0x362ad4];_0xdff40e[_0x59391f(0x2e3)]&&_0xdff40e['pong'](_0x42928f,!this['_isServer'],_0x1a49da),_0xdff40e[_0x59391f(0x20d)](_0x59391f(0x35d),_0x42928f);}function _0x30e543(_0x158a5b){const _0x4cc66d=_0x483c32;this[_0x362ad4]['emit'](_0x4cc66d(0x2f5),_0x158a5b);}function _0x4f9ea2(_0x2593d8){const _0xcd53b3=_0x483c32;_0x2593d8[_0xcd53b3(0x26b)]();}function _0x6c2074(_0x4c635f){const _0x36d3c1=_0x483c32,_0x249953=this[_0x362ad4];_0x249953[_0x36d3c1(0x2f1)]!==_0xc9db8c[_0x36d3c1(0x274)]&&(_0x249953['readyState']===_0xc9db8c[_0x36d3c1(0x2cc)]&&(_0x249953[_0x36d3c1(0x2f7)]=_0xc9db8c['CLOSING'],_0x59814d(_0x249953)),this['_socket'][_0x36d3c1(0x209)](),_0x249953['_errorEmitted']||(_0x249953[_0x36d3c1(0x220)]=!0x0,_0x249953[_0x36d3c1(0x20d)](_0x36d3c1(0x234),_0x4c635f)));}function _0x59814d(_0x219d98){const _0x577ef8=_0x483c32;_0x219d98[_0x577ef8(0x342)]=setTimeout(_0x219d98['_socket'][_0x577ef8(0x2cd)][_0x577ef8(0x24c)](_0x219d98[_0x577ef8(0x35c)]),_0x2f7ee5);}function _0x4f5047(){const _0x551921=_0x483c32,_0x160917=this[_0x362ad4];this['removeListener'](_0x551921(0x1d0),_0x4f5047),this[_0x551921(0x1db)](_0x551921(0x1dd),_0x20a207),this[_0x551921(0x1db)](_0x551921(0x209),_0x2d989e),_0x160917[_0x551921(0x2f7)]=_0xc9db8c['CLOSING'];let _0x280a35;!this['_readableState'][_0x551921(0x33f)]&&!_0x160917[_0x551921(0x1df)]&&!_0x160917[_0x551921(0x270)][_0x551921(0x29b)][_0x551921(0x200)]&&(_0x280a35=_0x160917['_socket'][_0x551921(0x24a)]())!==null&&_0x160917[_0x551921(0x270)][_0x551921(0x1ea)](_0x280a35),_0x160917[_0x551921(0x270)][_0x551921(0x209)](),this[_0x362ad4]=void 0x0,clearTimeout(_0x160917[_0x551921(0x342)]),_0x160917[_0x551921(0x270)][_0x551921(0x29b)]['finished']||_0x160917[_0x551921(0x270)]['_writableState']['errorEmitted']?_0x160917[_0x551921(0x2fb)]():(_0x160917['_receiver']['on'](_0x551921(0x234),_0x573d36),_0x160917[_0x551921(0x270)]['on'](_0x551921(0x1f9),_0x573d36));}function _0x20a207(_0x3d232c){const _0x53f6c7=_0x483c32;this[_0x362ad4][_0x53f6c7(0x270)]['write'](_0x3d232c)||this[_0x53f6c7(0x352)]();}function _0x2d989e(){const _0x9fc8e7=_0x483c32,_0x1cfb1e=this[_0x362ad4];_0x1cfb1e[_0x9fc8e7(0x2f7)]=_0xc9db8c['CLOSING'],_0x1cfb1e[_0x9fc8e7(0x270)][_0x9fc8e7(0x209)](),this[_0x9fc8e7(0x209)]();}function _0x2c5119(){const _0xc5eeeb=_0x483c32,_0x29f7ea=this[_0x362ad4];this[_0xc5eeeb(0x1db)]('error',_0x2c5119),this['on'](_0xc5eeeb(0x234),_0x1a49da),_0x29f7ea&&(_0x29f7ea[_0xc5eeeb(0x2f7)]=_0xc9db8c[_0xc5eeeb(0x2ac)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2098d2}=_0xd79b6f;function _0xea90e9(_0x35bf01){const _0x11d0ba=_0x43e6;_0x35bf01[_0x11d0ba(0x20d)](_0x11d0ba(0x1d0));}function _0x541095(){const _0x240778=_0x43e6;!this[_0x240778(0x356)]&&this[_0x240778(0x29b)]['finished']&&this[_0x240778(0x2cd)]();}function _0x4db6ec(_0x2883ac){const _0x275e5e=_0x43e6;this['removeListener'](_0x275e5e(0x234),_0x4db6ec),this[_0x275e5e(0x2cd)](),this[_0x275e5e(0x292)](_0x275e5e(0x234))===0x0&&this[_0x275e5e(0x20d)](_0x275e5e(0x234),_0x2883ac);}function _0x4542fa(_0x4006e,_0x3c8ff4){const _0x2b7d8e=_0x43e6;let _0x602d4e=!0x0;const _0x330c53=new _0x2098d2({..._0x3c8ff4,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4006e['on'](_0x2b7d8e(0x28a),function(_0x18d25b,_0x10148e){const _0xceea3c=_0x2b7d8e,_0x444e1a=!_0x10148e&&_0x330c53[_0xceea3c(0x1d6)][_0xceea3c(0x346)]?_0x18d25b[_0xceea3c(0x2fd)]():_0x18d25b;_0x330c53[_0xceea3c(0x35e)](_0x444e1a)||_0x4006e[_0xceea3c(0x352)]();}),_0x4006e[_0x2b7d8e(0x24b)](_0x2b7d8e(0x234),function(_0x5abff1){_0x330c53['destroyed']||(_0x602d4e=!0x1,_0x330c53['destroy'](_0x5abff1));}),_0x4006e['once']('close',function(){const _0x5a4a6d=_0x2b7d8e;_0x330c53[_0x5a4a6d(0x356)]||_0x330c53[_0x5a4a6d(0x35e)](null);}),_0x330c53['_destroy']=function(_0x533d71,_0x121723){const _0x3a36ef=_0x2b7d8e;if(_0x4006e[_0x3a36ef(0x2f1)]===_0x4006e[_0x3a36ef(0x274)]){_0x121723(_0x533d71),process[_0x3a36ef(0x1fa)](_0xea90e9,_0x330c53);return;}let _0x6a40d5=!0x1;_0x4006e['once']('error',function(_0x2d62ee){_0x6a40d5=!0x0,_0x121723(_0x2d62ee);}),_0x4006e[_0x3a36ef(0x24b)](_0x3a36ef(0x1d0),function(){const _0x1f24e3=_0x3a36ef;_0x6a40d5||_0x121723(_0x533d71),process[_0x1f24e3(0x1fa)](_0xea90e9,_0x330c53);}),_0x602d4e&&_0x4006e['terminate']();},_0x330c53[_0x2b7d8e(0x27e)]=function(_0x47466f){const _0x51d2a7=_0x2b7d8e;if(_0x4006e[_0x51d2a7(0x2f1)]===_0x4006e[_0x51d2a7(0x271)]){_0x4006e['once'](_0x51d2a7(0x250),function(){const _0x277075=_0x51d2a7;_0x330c53[_0x277075(0x27e)](_0x47466f);});return;}_0x4006e['_socket']!==null&&(_0x4006e['_socket'][_0x51d2a7(0x29b)][_0x51d2a7(0x32a)]?(_0x47466f(),_0x330c53['_readableState']['endEmitted']&&_0x330c53[_0x51d2a7(0x2cd)]()):(_0x4006e[_0x51d2a7(0x35c)][_0x51d2a7(0x24b)]('finish',function(){_0x47466f();}),_0x4006e[_0x51d2a7(0x1d0)]()));},_0x330c53[_0x2b7d8e(0x1c5)]=function(){const _0x216f0b=_0x2b7d8e;_0x4006e[_0x216f0b(0x30b)]&&_0x4006e[_0x216f0b(0x26b)]();},_0x330c53[_0x2b7d8e(0x1b7)]=function(_0x3542ca,_0x326a38,_0x358952){const _0x4026eb=_0x2b7d8e;if(_0x4006e[_0x4026eb(0x2f1)]===_0x4006e[_0x4026eb(0x271)]){_0x4006e['once']('open',function(){const _0x5b3605=_0x4026eb;_0x330c53[_0x5b3605(0x1b7)](_0x3542ca,_0x326a38,_0x358952);});return;}_0x4006e[_0x4026eb(0x22b)](_0x3542ca,_0x358952);},_0x330c53['on']('end',_0x541095),_0x330c53['on'](_0x2b7d8e(0x234),_0x4db6ec),_0x330c53;}return Oe=_0x4542fa,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x51b240}=ne();function _0x4cdc61(_0x323fbb){const _0x3e24e1=_0x43e6,_0x2af7aa=new Set();let _0x5df8ad=-0x1,_0x3b04ea=-0x1,_0x26a6f0=0x0;for(_0x26a6f0;_0x26a6f0<_0x323fbb[_0x3e24e1(0x2a1)];_0x26a6f0++){const _0x534699=_0x323fbb[_0x3e24e1(0x362)](_0x26a6f0);if(_0x3b04ea===-0x1&&_0x51b240[_0x534699]===0x1)_0x5df8ad===-0x1&&(_0x5df8ad=_0x26a6f0);else{if(_0x26a6f0!==0x0&&(_0x534699===0x20||_0x534699===0x9))_0x3b04ea===-0x1&&_0x5df8ad!==-0x1&&(_0x3b04ea=_0x26a6f0);else{if(_0x534699===0x2c){if(_0x5df8ad===-0x1)throw new SyntaxError(_0x3e24e1(0x349)+_0x26a6f0);_0x3b04ea===-0x1&&(_0x3b04ea=_0x26a6f0);const _0x1e48cb=_0x323fbb[_0x3e24e1(0x34e)](_0x5df8ad,_0x3b04ea);if(_0x2af7aa['has'](_0x1e48cb))throw new SyntaxError(_0x3e24e1(0x283)+_0x1e48cb+_0x3e24e1(0x289));_0x2af7aa[_0x3e24e1(0x213)](_0x1e48cb),_0x5df8ad=_0x3b04ea=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x26a6f0);}}}if(_0x5df8ad===-0x1||_0x3b04ea!==-0x1)throw new SyntaxError(_0x3e24e1(0x291));const _0x17e74c=_0x323fbb[_0x3e24e1(0x34e)](_0x5df8ad,_0x26a6f0);if(_0x2af7aa[_0x3e24e1(0x1d4)](_0x17e74c))throw new SyntaxError(_0x3e24e1(0x283)+_0x17e74c+_0x3e24e1(0x289));return _0x2af7aa[_0x3e24e1(0x213)](_0x17e74c),_0x2af7aa;}return Ce={'parse':_0x4cdc61},Ce;}var Te,ot;function er(){const _0x47e72e=_0x2a4dc6;if(ot)return Te;ot=0x1;const _0x517500=_0x1ddafa,_0x40f302=_0x2b8417,{Duplex:_0x46d2d7}=_0xd79b6f,{createHash:_0x7f74e0}=_0x8054d,_0x468b64=pt(),_0x2806b0=he(),_0xb9a436=Jt(),_0x1c5225=Ie(),{GUID:_0x40511b,kWebSocket:_0x4f0bfe}=V(),_0x369dbb=/^[+/0-9A-Za-z]{22}==$/,_0x3971a2=0x0,_0x2ee3d0=0x1,_0x277f46=0x2;class _0x2bd19a extends _0x517500{constructor(_0x5f40b0,_0x40a578){const _0x20ebcd=_0x43e6;if(super(),_0x5f40b0={'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':_0x1c5225,..._0x5f40b0},_0x5f40b0[_0x20ebcd(0x275)]==null&&!_0x5f40b0[_0x20ebcd(0x225)]&&!_0x5f40b0[_0x20ebcd(0x239)]||_0x5f40b0['port']!=null&&(_0x5f40b0[_0x20ebcd(0x225)]||_0x5f40b0['noServer'])||_0x5f40b0[_0x20ebcd(0x225)]&&_0x5f40b0[_0x20ebcd(0x239)])throw new TypeError(_0x20ebcd(0x331));if(_0x5f40b0['port']!=null?(this[_0x20ebcd(0x214)]=_0x40f302['createServer']((_0x39fb27,_0x24d05f)=>{const _0x43877e=_0x20ebcd,_0x406ccf=_0x40f302[_0x43877e(0x1e6)][0x1aa];_0x24d05f[_0x43877e(0x2ba)](0x1aa,{'Content-Length':_0x406ccf[_0x43877e(0x2a1)],'Content-Type':_0x43877e(0x2e8)}),_0x24d05f['end'](_0x406ccf);}),this['_server'][_0x20ebcd(0x2ab)](_0x5f40b0[_0x20ebcd(0x275)],_0x5f40b0[_0x20ebcd(0x1f1)],_0x5f40b0[_0x20ebcd(0x359)],_0x40a578)):_0x5f40b0['server']&&(this[_0x20ebcd(0x214)]=_0x5f40b0[_0x20ebcd(0x225)]),this[_0x20ebcd(0x214)]){const _0x518edb=this['emit'][_0x20ebcd(0x24c)](this,'connection');this[_0x20ebcd(0x2af)]=_0x264f38(this['_server'],{'listening':this[_0x20ebcd(0x20d)][_0x20ebcd(0x24c)](this,_0x20ebcd(0x216)),'error':this[_0x20ebcd(0x20d)]['bind'](this,'error'),'upgrade':(_0x441857,_0x42d50d,_0x3d82e7)=>{const _0xb30a59=_0x20ebcd;this[_0xb30a59(0x1fb)](_0x441857,_0x42d50d,_0x3d82e7,_0x518edb);}});}_0x5f40b0['perMessageDeflate']===!0x0&&(_0x5f40b0[_0x20ebcd(0x1ce)]={}),_0x5f40b0[_0x20ebcd(0x310)]&&(this[_0x20ebcd(0x1dc)]=new Set(),this[_0x20ebcd(0x23a)]=!0x1),this['options']=_0x5f40b0,this[_0x20ebcd(0x1f5)]=_0x3971a2;}[_0x47e72e(0x2ae)](){const _0x3f26b7=_0x47e72e;if(this[_0x3f26b7(0x1fe)][_0x3f26b7(0x239)])throw new Error(_0x3f26b7(0x2d2));return this['_server']?this[_0x3f26b7(0x214)][_0x3f26b7(0x2ae)]():null;}[_0x47e72e(0x1d0)](_0x24c674){const _0x3c98ca=_0x47e72e;if(this[_0x3c98ca(0x1f5)]===_0x277f46){_0x24c674&&this[_0x3c98ca(0x24b)](_0x3c98ca(0x1d0),()=>{const _0x5dda94=_0x3c98ca;_0x24c674(new Error(_0x5dda94(0x1d2)));}),process[_0x3c98ca(0x1fa)](_0x397c8c,this);return;}if(_0x24c674&&this[_0x3c98ca(0x24b)]('close',_0x24c674),this[_0x3c98ca(0x1f5)]!==_0x2ee3d0){if(this[_0x3c98ca(0x1f5)]=_0x2ee3d0,this[_0x3c98ca(0x1fe)][_0x3c98ca(0x239)]||this['options'][_0x3c98ca(0x225)])this[_0x3c98ca(0x214)]&&(this['_removeListeners'](),this[_0x3c98ca(0x2af)]=this[_0x3c98ca(0x214)]=null),this[_0x3c98ca(0x1dc)]?this['clients'][_0x3c98ca(0x1e4)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x397c8c,this):process['nextTick'](_0x397c8c,this);else{const _0x289e9a=this[_0x3c98ca(0x214)];this[_0x3c98ca(0x2af)](),this[_0x3c98ca(0x2af)]=this[_0x3c98ca(0x214)]=null,_0x289e9a['close'](()=>{_0x397c8c(this);});}}}[_0x47e72e(0x2c8)](_0x46b58f){const _0x3ec847=_0x47e72e;if(this[_0x3ec847(0x1fe)][_0x3ec847(0x236)]){const _0x26e769=_0x46b58f[_0x3ec847(0x322)][_0x3ec847(0x2bc)]('?');if((_0x26e769!==-0x1?_0x46b58f['url'][_0x3ec847(0x34e)](0x0,_0x26e769):_0x46b58f['url'])!==this[_0x3ec847(0x1fe)]['path'])return!0x1;}return!0x0;}[_0x47e72e(0x1fb)](_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0){const _0x31650e=_0x47e72e;_0x4b753d['on']('error',_0x234451);const _0x2ec3bc=_0x1bdaaa['headers'][_0x31650e(0x25d)],_0x1440d8=_0x1bdaaa[_0x31650e(0x2e7)][_0x31650e(0x21d)],_0x227a00=+_0x1bdaaa[_0x31650e(0x2e7)]['sec-websocket-version'];if(_0x1bdaaa['method']!==_0x31650e(0x2c9)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x195,_0x31650e(0x268));return;}if(_0x1440d8===void 0x0||_0x1440d8[_0x31650e(0x2b6)]()!==_0x31650e(0x205)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x329));return;}if(_0x2ec3bc===void 0x0||!_0x369dbb[_0x31650e(0x2ed)](_0x2ec3bc)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x227a00!==0x8&&_0x227a00!==0xd){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x2d8));return;}if(!this[_0x31650e(0x2c8)](_0x1bdaaa)){_0x50d0c6(_0x4b753d,0x190);return;}const _0x5912ea=_0x1bdaaa[_0x31650e(0x2e7)][_0x31650e(0x2a5)];let _0x2f1572=new Set();if(_0x5912ea!==void 0x0)try{_0x2f1572=_0xb9a436[_0x31650e(0x365)](_0x5912ea);}catch{_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x35b));return;}const _0x23e5f7=_0x1bdaaa['headers'][_0x31650e(0x315)],_0xd8e2e5={};if(this[_0x31650e(0x1fe)][_0x31650e(0x1ce)]&&_0x23e5f7!==void 0x0){const _0x1f30e9=new _0x2806b0(this[_0x31650e(0x1fe)]['perMessageDeflate'],!0x0,this[_0x31650e(0x1fe)][_0x31650e(0x324)]);try{const _0xf8859e=_0x468b64['parse'](_0x23e5f7);_0xf8859e[_0x2806b0[_0x31650e(0x243)]]&&(_0x1f30e9[_0x31650e(0x24f)](_0xf8859e[_0x2806b0['extensionName']]),_0xd8e2e5[_0x2806b0[_0x31650e(0x243)]]=_0x1f30e9);}catch{_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x31650e(0x1ca)]){const _0x3a7e39={'origin':_0x1bdaaa['headers'][''+(_0x227a00===0x8?_0x31650e(0x210):_0x31650e(0x345))],'secure':!!(_0x1bdaaa[_0x31650e(0x33c)][_0x31650e(0x30e)]||_0x1bdaaa['socket'][_0x31650e(0x34c)]),'req':_0x1bdaaa};if(this[_0x31650e(0x1fe)]['verifyClient'][_0x31650e(0x2a1)]===0x2){this[_0x31650e(0x1fe)][_0x31650e(0x1ca)](_0x3a7e39,(_0x337f0c,_0x17d2bd,_0xf9ba14,_0xdff169)=>{const _0x48416b=_0x31650e;if(!_0x337f0c)return _0x50d0c6(_0x4b753d,_0x17d2bd||0x191,_0xf9ba14,_0xdff169);this[_0x48416b(0x34f)](_0xd8e2e5,_0x2ec3bc,_0x2f1572,_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0);});return;}if(!this[_0x31650e(0x1fe)][_0x31650e(0x1ca)](_0x3a7e39))return _0x50d0c6(_0x4b753d,0x191);}this[_0x31650e(0x34f)](_0xd8e2e5,_0x2ec3bc,_0x2f1572,_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0);}[_0x47e72e(0x34f)](_0x1fac3b,_0x4a4276,_0x365636,_0x22f229,_0x3485c1,_0x4f315d,_0x2eb662){const _0x22f150=_0x47e72e;if(!_0x3485c1[_0x22f150(0x2f3)]||!_0x3485c1[_0x22f150(0x1f0)])return _0x3485c1['destroy']();if(_0x3485c1[_0x4f0bfe])throw new Error(_0x22f150(0x33a));if(this['_state']>_0x3971a2)return _0x50d0c6(_0x3485c1,0x1f7);const _0x487d23=[_0x22f150(0x31d),_0x22f150(0x2bb),_0x22f150(0x2c6),_0x22f150(0x266)+_0x7f74e0('sha1')[_0x22f150(0x1ba)](_0x4a4276+_0x40511b)['digest'](_0x22f150(0x2d5))],_0x25e184=new this[(_0x22f150(0x1fe))][(_0x22f150(0x1f4))](null,void 0x0,this[_0x22f150(0x1fe)]);if(_0x365636[_0x22f150(0x1e4)]){const _0x330e68=this['options'][_0x22f150(0x1c3)]?this['options'][_0x22f150(0x1c3)](_0x365636,_0x22f229):_0x365636[_0x22f150(0x1be)]()[_0x22f150(0x2f8)]()[_0x22f150(0x260)];_0x330e68&&(_0x487d23[_0x22f150(0x35e)](_0x22f150(0x29c)+_0x330e68),_0x25e184[_0x22f150(0x332)]=_0x330e68);}if(_0x1fac3b[_0x2806b0[_0x22f150(0x243)]]){const _0x196c42=_0x1fac3b[_0x2806b0[_0x22f150(0x243)]][_0x22f150(0x2c2)],_0x15cdcb=_0x468b64[_0x22f150(0x2dc)]({[_0x2806b0[_0x22f150(0x243)]]:[_0x196c42]});_0x487d23[_0x22f150(0x35e)]('Sec-WebSocket-Extensions:\x20'+_0x15cdcb),_0x25e184[_0x22f150(0x2e0)]=_0x1fac3b;}this['emit'](_0x22f150(0x2e7),_0x487d23,_0x22f229),_0x3485c1[_0x22f150(0x1ea)](_0x487d23[_0x22f150(0x366)]('\x0d\x0a')[_0x22f150(0x2d6)]('\x0d\x0a')),_0x3485c1[_0x22f150(0x1db)]('error',_0x234451),_0x25e184['setSocket'](_0x3485c1,_0x4f315d,{'allowSynchronousEvents':this[_0x22f150(0x1fe)][_0x22f150(0x1c2)],'maxPayload':this[_0x22f150(0x1fe)]['maxPayload'],'skipUTF8Validation':this['options'][_0x22f150(0x227)]}),this[_0x22f150(0x1dc)]&&(this['clients'][_0x22f150(0x213)](_0x25e184),_0x25e184['on'](_0x22f150(0x1d0),()=>{const _0x4a5842=_0x22f150;this['clients'][_0x4a5842(0x34b)](_0x25e184),this[_0x4a5842(0x23a)]&&!this[_0x4a5842(0x1dc)]['size']&&process[_0x4a5842(0x1fa)](_0x397c8c,this);})),_0x2eb662(_0x25e184,_0x22f229);}}Te=_0x2bd19a;function _0x264f38(_0x4458eb,_0x542d8f){for(const _0xf2b102 of Object['keys'](_0x542d8f))_0x4458eb['on'](_0xf2b102,_0x542d8f[_0xf2b102]);return function(){const _0x156bf1=_0x43e6;for(const _0x3371eb of Object['keys'](_0x542d8f))_0x4458eb[_0x156bf1(0x1db)](_0x3371eb,_0x542d8f[_0x3371eb]);};}function _0x397c8c(_0x5bf3b3){const _0x55679a=_0x47e72e;_0x5bf3b3[_0x55679a(0x1f5)]=_0x277f46,_0x5bf3b3[_0x55679a(0x20d)](_0x55679a(0x1d0));}function _0x234451(){const _0x319bda=_0x47e72e;this[_0x319bda(0x2cd)]();}function _0x50d0c6(_0x22edc1,_0x1ef298,_0x8fddb5,_0x4c8b30){const _0x489c6a=_0x47e72e;_0x8fddb5=_0x8fddb5||_0x40f302['STATUS_CODES'][_0x1ef298],_0x4c8b30={'Connection':_0x489c6a(0x1d0),'Content-Type':_0x489c6a(0x2c4),'Content-Length':Buffer[_0x489c6a(0x1d1)](_0x8fddb5),..._0x4c8b30},_0x22edc1['once'](_0x489c6a(0x1f9),_0x22edc1[_0x489c6a(0x2cd)]),_0x22edc1[_0x489c6a(0x209)]('HTTP/1.1\x20'+_0x1ef298+'\x20'+_0x40f302['STATUS_CODES'][_0x1ef298]+'\x0d\x0a'+Object[_0x489c6a(0x2b0)](_0x4c8b30)['map'](_0x394d0f=>_0x394d0f+':\x20'+_0x4c8b30[_0x394d0f])[_0x489c6a(0x2d6)]('\x0d\x0a')+_0x489c6a(0x1c7)+_0x8fddb5);}function _0x3bac05(_0x20a669,_0x408740,_0x5d21de,_0x134122,_0x4724db){const _0x5772c9=_0x47e72e;if(_0x20a669[_0x5772c9(0x292)](_0x5772c9(0x339))){const _0x3beca7=new Error(_0x4724db);Error['captureStackTrace'](_0x3beca7,_0x3bac05),_0x20a669['emit'](_0x5772c9(0x339),_0x3beca7,_0x5d21de,_0x408740);}else _0x50d0c6(_0x5d21de,_0x134122,_0x4724db);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x288194,_0x582ccd,_0x317a76,_0x1936b7)=>{const _0x9be658=_0x2a4dc6;for(var _0x52fce8=_0x1936b7>0x1?void 0x0:_0x1936b7?tr(_0x582ccd,_0x317a76):_0x582ccd,_0x471f8c=_0x288194[_0x9be658(0x2a1)]-0x1,_0x1e788e;_0x471f8c>=0x0;_0x471f8c--)(_0x1e788e=_0x288194[_0x471f8c])&&(_0x52fce8=_0x1e788e(_0x52fce8)||_0x52fce8);return _0x52fce8;},sr=(_0x4aea4d,_0x31e264)=>(_0x25c456,_0xa3842c)=>_0x31e264(_0x25c456,_0xa3842c,_0x4aea4d);let Ne=class extends _0x3d72b5{constructor(_0x2e2391){super(),this['_configService']=_0x2e2391;}[_0x2a4dc6(0x257)](_0x249fa2){const _0x13d784=_0x2a4dc6;var _0x14ffa0;const _0x4b0b35=(_0x14ffa0=this[_0x13d784(0x1bf)][_0x13d784(0x21e)](Be))==null?void 0x0:_0x14ffa0[_0x13d784(0x215)];try{const _0xa94c87=new Qt(_0x249fa2,{'headers':{..._0x4b0b35}}),_0x24ab8f=new _0x17a0e5();return{'URL':_0x249fa2,'close':(_0x158392,_0x199967)=>{const _0x5ee96d=_0x13d784;_0xa94c87[_0x5ee96d(0x1d0)](_0x158392,_0x199967),_0x24ab8f[_0x5ee96d(0x2a0)]();},'send':_0x3640bc=>{_0xa94c87['send'](_0x3640bc);},'open$':new _0x1d4229(_0x7083f=>{const _0x5ef4e7=_0x13d784,_0xd1272d=_0x385c49=>_0x7083f[_0x5ef4e7(0x2f8)](_0x385c49);_0xa94c87['addEventListener']('open',_0xd1272d),_0x24ab8f[_0x5ef4e7(0x213)](_0x5a2055(()=>_0xa94c87[_0x5ef4e7(0x312)]('open',_0xd1272d)));})[_0x13d784(0x25b)](_0x4331c1()),'close$':new _0x1d4229(_0x4d7049=>{const _0x32180e=_0x13d784,_0x52b423=_0x10b49d=>_0x4d7049[_0x32180e(0x2f8)](_0x10b49d);_0xa94c87['addEventListener'](_0x32180e(0x1d0),_0x52b423),_0x24ab8f[_0x32180e(0x213)](_0x5a2055(()=>_0xa94c87[_0x32180e(0x312)]('close',_0x52b423)));})[_0x13d784(0x25b)](_0x4331c1()),'error$':new _0x1d4229(_0x4fe819=>{const _0x16bfae=_0x13d784,_0x463877=_0x2dbda=>_0x4fe819[_0x16bfae(0x2f8)](_0x2dbda);_0xa94c87[_0x16bfae(0x294)](_0x16bfae(0x234),_0x463877),_0x24ab8f['add'](_0x5a2055(()=>_0xa94c87[_0x16bfae(0x312)](_0x16bfae(0x234),_0x463877)));})[_0x13d784(0x25b)](_0x4331c1()),'message$':new _0x1d4229(_0x184cde=>{const _0x566f6e=_0x13d784,_0x357672=_0x49b380=>_0x184cde[_0x566f6e(0x2f8)](_0x49b380);_0xa94c87['addEventListener']('message',_0x357672),_0x24ab8f[_0x566f6e(0x213)](_0x5a2055(()=>_0xa94c87['removeEventListener'](_0x566f6e(0x28a),_0x357672)));})[_0x13d784(0x25b)](_0x4331c1())};}catch(_0x449908){return console['error'](_0x449908),null;}}};Ne=rr([sr(0x0,_0x6b1f42)],Ne);var ir=Object[_0x2a4dc6(0x2f4)],nr=Object[_0x2a4dc6(0x1e2)],or=(_0x5d330b,_0x5a2bd8,_0x566ab5)=>_0x5a2bd8 in _0x5d330b?ir(_0x5d330b,_0x5a2bd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x566ab5}):_0x5d330b[_0x5a2bd8]=_0x566ab5,ar=(_0x477e83,_0x5e39b7,_0x4bd990,_0x3b5219)=>{const _0x340235=_0x2a4dc6;for(var _0x10a0d3=_0x3b5219>0x1?void 0x0:_0x3b5219?nr(_0x5e39b7,_0x4bd990):_0x5e39b7,_0xc496d5=_0x477e83[_0x340235(0x2a1)]-0x1,_0x227f43;_0xc496d5>=0x0;_0xc496d5--)(_0x227f43=_0x477e83[_0xc496d5])&&(_0x10a0d3=_0x227f43(_0x10a0d3)||_0x10a0d3);return _0x10a0d3;},ke=(_0x4c8670,_0x2ff15f)=>(_0x46b50e,_0x215589)=>_0x2ff15f(_0x46b50e,_0x215589,_0x4c8670),lr=(_0x1bcace,_0x477789,_0xba7097)=>or(_0x1bcace,_0x477789+'',_0xba7097);let Pe=class extends _0x44fd93{constructor(_0x3b1f8a=Ft,_0x44111d,_0x116dd1,_0x4428a2){const _0x59fbaa=_0x2a4dc6;_0x3b1f8a[_0x59fbaa(0x215)]||_0x44111d[_0x59fbaa(0x303)](_0x59fbaa(0x2c3)),super(),this[_0x59fbaa(0x1bf)]=_0x116dd1,this[_0x59fbaa(0x287)]=_0x4428a2,this[_0x59fbaa(0x1bf)][_0x59fbaa(0x357)](Be,_0x3b1f8a);}[_0x2a4dc6(0x1d5)](){this['_registerDependencies']();}[_0x2a4dc6(0x279)](){const _0x1ccf8f=_0x2a4dc6;_0x42ca71(this[_0x1ccf8f(0x287)],[[_0x51f561,{'useClass':Ne}]]);}};lr(Pe,_0x2a4dc6(0x2f2),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x29d2b4(_0x1282a3),ke(0x1,_0x382688),ke(0x2,_0x6b1f42),ke(0x3,_0x59aad3(_0x1e1c33))],Pe);var fr=Object[_0x2a4dc6(0x1e2)],cr=(_0x4260be,_0x5f1606,_0xcfde4c,_0x4faf81)=>{const _0x55a7a1=_0x2a4dc6;for(var _0x4f9c62=_0x4faf81>0x1?void 0x0:_0x4faf81?fr(_0x5f1606,_0xcfde4c):_0x5f1606,_0x3ecf61=_0x4260be[_0x55a7a1(0x2a1)]-0x1,_0x127999;_0x3ecf61>=0x0;_0x3ecf61--)(_0x127999=_0x4260be[_0x3ecf61])&&(_0x4f9c62=_0x127999(_0x4f9c62)||_0x4f9c62);return _0x4f9c62;},se=(_0x4a8412,_0xcc9b3f)=>(_0x52aa7f,_0x557caf)=>_0xcc9b3f(_0x52aa7f,_0x557caf,_0x4a8412);let at=class extends _0x304b29{constructor(_0x19c0f4,_0x5cc743,_0x4431c4,_0x436227,_0x8ddc48){const _0xbfb9a=_0x2a4dc6;super(_0x19c0f4,_0x5cc743,_0x4431c4,_0x436227,_0x8ddc48);const _0x59b60e=this['_configService']['getConfig'](Be);this[_0xbfb9a(0x2fa)]['registerHTTPInterceptor']({'interceptor':(_0x48a9a3,_0x3ff57a)=>{const _0x30cb9a=_0xbfb9a;var _0x1a9971;const _0x52af99=_0x48a9a3[_0x30cb9a(0x2e7)];return(_0x1a9971=_0x59b60e==null?void 0x0:_0x59b60e[_0x30cb9a(0x215)])!=null&&_0x1a9971['cookie']&&_0x52af99[_0x30cb9a(0x319)]('Cookie',_0x59b60e['customHeaders'][_0x30cb9a(0x2d1)]),_0x3ff57a(_0x48a9a3);}});}async[_0x2a4dc6(0x257)](_0x4a5225){const _0x1b2c8c=_0x2a4dc6;return this[_0x1b2c8c(0x2ce)](_0x4a5225);}};at=cr([se(0x0,_0x59aad3(_0x1e1c33)),se(0x1,_0x59aad3(_0x451de5)),se(0x2,_0x6b1f42),se(0x3,_0x382688),se(0x4,_0x28af94)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0xccc4b8=_0x10c0;(function(_0x2a5882,_0x5ed6f5){const _0x59fccc=_0x10c0,_0x531908=_0x2a5882();while(!![]){try{const _0x5e5ba3=-parseInt(_0x59fccc(0x266))/0x1+parseInt(_0x59fccc(0x179))/0x2*(parseInt(_0x59fccc(0xf8))/0x3)+parseInt(_0x59fccc(0x21e))/0x4*(-parseInt(_0x59fccc(0x18d))/0x5)+-parseInt(_0x59fccc(0x293))/0x6+-parseInt(_0x59fccc(0x113))/0x7*(parseInt(_0x59fccc(0x21c))/0x8)+parseInt(_0x59fccc(0x1e4))/0x9+parseInt(_0x59fccc(0x159))/0xa;if(_0x5e5ba3===_0x5ed6f5)break;else _0x531908['push'](_0x531908['shift']());}catch(_0x43ac58){_0x531908['push'](_0x531908['shift']());}}}(_0x4e1d,0xce83b));import{UniverCollaborationClientPlugin as _0x5cbe97,CollaborationSocketService as _0x31bae1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5b454b,DisposableCollection as _0x4c0306,toDisposable as _0x194fa8,IConfigService as _0x8ccc90,DependentOn as _0x455085,ILogService as _0x4e6eee,Inject as _0x1583c8,Injector as _0x517f0e,Plugin as _0x3e308d,registerDependencies as _0x45f748}from'@univerjs/core';import{ISocketService as _0x441540,HTTPService as _0x369186}from'@univerjs/network';import{Observable as _0x4c9a48,share as _0x4022af}from'rxjs';import _0x38004c from'events';import _0x4cb412 from'https';import _0x55c002 from'http';import _0x441656 from'net';import _0x189e81 from'tls';import _0x544980 from'crypto';import _0x108647 from'stream';import _0x27bb22 from'url';function _0x10c0(_0x254248,_0x2b0e04){const _0x4e1dc6=_0x4e1d();return _0x10c0=function(_0x10c0d,_0x76b745){_0x10c0d=_0x10c0d-0xf0;let _0x31db45=_0x4e1dc6[_0x10c0d];return _0x31db45;},_0x10c0(_0x254248,_0x2b0e04);}import _0xb5d123 from'zlib';import _0x14bdbd from'buffer';import{ISnapshotServerService as _0x12890b}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x23f1b8){const _0x3e219f=_0x10c0;return _0x23f1b8&&_0x23f1b8[_0x3e219f(0x292)]&&Object[_0x3e219f(0x101)][_0x3e219f(0x1a4)][_0x3e219f(0x1f0)](_0x23f1b8,_0x3e219f(0x1ec))?_0x23f1b8[_0x3e219f(0x1ec)]:_0x23f1b8;}function ut(_0x4d2982){const _0x108be9=_0x10c0;if(Object[_0x108be9(0x101)][_0x108be9(0x1a4)][_0x108be9(0x1f0)](_0x4d2982,'__esModule'))return _0x4d2982;var _0x548168=_0x4d2982[_0x108be9(0x1ec)];if(typeof _0x548168==_0x108be9(0x21a)){var _0x45f9c9=function _0x6d1a6d(){const _0x3b47d9=_0x108be9;return this instanceof _0x6d1a6d?Reflect[_0x3b47d9(0x139)](_0x548168,arguments,this[_0x3b47d9(0x11d)]):_0x548168[_0x3b47d9(0x258)](this,arguments);};_0x45f9c9['prototype']=_0x548168[_0x108be9(0x101)];}else _0x45f9c9={};return Object[_0x108be9(0x1ff)](_0x45f9c9,'__esModule',{'value':!0x0}),Object['keys'](_0x4d2982)[_0x108be9(0x196)](function(_0x57607e){const _0x5e0a1b=_0x108be9;var _0x4bed0f=Object[_0x5e0a1b(0x1c6)](_0x4d2982,_0x57607e);Object[_0x5e0a1b(0x1ff)](_0x45f9c9,_0x57607e,_0x4bed0f[_0x5e0a1b(0x259)]?_0x4bed0f:{'enumerable':!0x0,'get':function(){return _0x4d2982[_0x57607e];}});}),_0x45f9c9;}var te={'exports':{}},ge,Ye;function V(){const _0x17b3d0=_0x10c0;if(Ye)return ge;Ye=0x1;const _0x10be87=['nodebuffer','arraybuffer','fragments'],_0x3be4ab=typeof Blob<'u';return _0x3be4ab&&_0x10be87[_0x17b3d0(0x1a6)](_0x17b3d0(0x1d9)),ge={'BINARY_TYPES':_0x10be87,'EMPTY_BUFFER':Buffer[_0x17b3d0(0x1a3)](0x0),'GUID':_0x17b3d0(0x1e3),'hasBlob':_0x3be4ab,'kForOnEventAttribute':Symbol(_0x17b3d0(0x13e)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x17b3d0(0x115)),'kWebSocket':Symbol(_0x17b3d0(0x14d)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xccc4b8(0x28e)](Object[_0xccc4b8(0x1ff)]({'__proto__':null,'default':Wt},Symbol[_0xccc4b8(0xf2)],{'value':_0xccc4b8(0x18a)})),Vt=ut(Gt);var Ke;function ce(){const _0x2ba875=_0xccc4b8;if(Ke)return te[_0x2ba875(0x10a)];Ke=0x1;const {EMPTY_BUFFER:_0x3282d6}=V(),_0xb85e67=Buffer[Symbol[_0x2ba875(0x1bc)]];function _0x318eb1(_0x20cd5d,_0xaa083a){const _0x1eb6d2=_0x2ba875;if(_0x20cd5d[_0x1eb6d2(0x23a)]===0x0)return _0x3282d6;if(_0x20cd5d['length']===0x1)return _0x20cd5d[0x0];const _0x50056c=Buffer[_0x1eb6d2(0x14b)](_0xaa083a);let _0x39b1b7=0x0;for(let _0xca2be9=0x0;_0xca2be9<_0x20cd5d['length'];_0xca2be9++){const _0x1acfc2=_0x20cd5d[_0xca2be9];_0x50056c[_0x1eb6d2(0x26d)](_0x1acfc2,_0x39b1b7),_0x39b1b7+=_0x1acfc2['length'];}return _0x39b1b7<_0xaa083a?new _0xb85e67(_0x50056c[_0x1eb6d2(0x1ed)],_0x50056c[_0x1eb6d2(0x1d7)],_0x39b1b7):_0x50056c;}function _0x3e7067(_0x311b78,_0x2efc73,_0x4f17c3,_0x2e725a,_0xd402de){for(let _0x24ed26=0x0;_0x24ed26<_0xd402de;_0x24ed26++)_0x4f17c3[_0x2e725a+_0x24ed26]=_0x311b78[_0x24ed26]^_0x2efc73[_0x24ed26&0x3];}function _0x4ab5d2(_0x388c64,_0x31a6e3){for(let _0x44b4f0=0x0;_0x44b4f0<_0x388c64['length'];_0x44b4f0++)_0x388c64[_0x44b4f0]^=_0x31a6e3[_0x44b4f0&0x3];}function _0x89ab20(_0x561393){const _0xc1cdf8=_0x2ba875;return _0x561393[_0xc1cdf8(0x23a)]===_0x561393['buffer'][_0xc1cdf8(0x181)]?_0x561393[_0xc1cdf8(0x1ed)]:_0x561393[_0xc1cdf8(0x1ed)][_0xc1cdf8(0x203)](_0x561393[_0xc1cdf8(0x1d7)],_0x561393[_0xc1cdf8(0x1d7)]+_0x561393[_0xc1cdf8(0x23a)]);}function _0x2dc24b(_0x246d23){const _0x4588f7=_0x2ba875;if(_0x2dc24b['readOnly']=!0x0,Buffer[_0x4588f7(0x112)](_0x246d23))return _0x246d23;let _0x2fd094;return _0x246d23 instanceof ArrayBuffer?_0x2fd094=new _0xb85e67(_0x246d23):ArrayBuffer[_0x4588f7(0x22e)](_0x246d23)?_0x2fd094=new _0xb85e67(_0x246d23[_0x4588f7(0x1ed)],_0x246d23[_0x4588f7(0x1d7)],_0x246d23[_0x4588f7(0x181)]):(_0x2fd094=Buffer[_0x4588f7(0x1ad)](_0x246d23),_0x2dc24b[_0x4588f7(0x1b2)]=!0x1),_0x2fd094;}if(te[_0x2ba875(0x10a)]={'concat':_0x318eb1,'mask':_0x3e7067,'toArrayBuffer':_0x89ab20,'toBuffer':_0x2dc24b,'unmask':_0x4ab5d2},!process['env'][_0x2ba875(0x170)])try{const _0x4c06cc=Vt;te['exports']['mask']=function(_0x3dc13f,_0x2d7689,_0x2d0f55,_0x532ba9,_0x4a324a){const _0x4a3fdd=_0x2ba875;_0x4a324a<0x30?_0x3e7067(_0x3dc13f,_0x2d7689,_0x2d0f55,_0x532ba9,_0x4a324a):_0x4c06cc[_0x4a3fdd(0x1bb)](_0x3dc13f,_0x2d7689,_0x2d0f55,_0x532ba9,_0x4a324a);},te['exports']['unmask']=function(_0x258026,_0x195476){const _0x2f01bb=_0x2ba875;_0x258026[_0x2f01bb(0x23a)]<0x20?_0x4ab5d2(_0x258026,_0x195476):_0x4c06cc[_0x2f01bb(0x17b)](_0x258026,_0x195476);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x830fab=_0xccc4b8;if(Xe)return ye;Xe=0x1;const _0x7dce69=Symbol(_0x830fab(0x194)),_0x3ef651=Symbol('kRun');class _0x10225a{constructor(_0x4288a4){const _0x365d07=_0x830fab;this[_0x7dce69]=()=>{this['pending']--,this[_0x3ef651]();},this[_0x365d07(0x154)]=_0x4288a4||0x1/0x0,this[_0x365d07(0x1f8)]=[],this[_0x365d07(0x18f)]=0x0;}[_0x830fab(0x22b)](_0x14780d){const _0x40f805=_0x830fab;this[_0x40f805(0x1f8)][_0x40f805(0x1a6)](_0x14780d),this[_0x3ef651]();}[_0x3ef651](){const _0x414807=_0x830fab;if(this[_0x414807(0x18f)]!==this[_0x414807(0x154)]&&this['jobs']['length']){const _0xe22995=this['jobs'][_0x414807(0x128)]();this[_0x414807(0x18f)]++,_0xe22995(this[_0x7dce69]);}}}return ye=_0x10225a,ye;}var ve,Ze;function he(){const _0x2f92c3=_0xccc4b8;if(Ze)return ve;Ze=0x1;const _0x4c3f15=_0xb5d123,_0x4c64df=ce(),_0xa4151e=qt(),{kStatusCode:_0x51fe93}=V(),_0x1c5b94=Buffer[Symbol['species']],_0x3493b3=Buffer[_0x2f92c3(0x1ad)]([0x0,0x0,0xff,0xff]),_0x31d08b=Symbol(_0x2f92c3(0x254)),_0x367cef=Symbol('total-length'),_0x406080=Symbol('callback'),_0x3e67db=Symbol('buffers'),_0x471ed1=Symbol(_0x2f92c3(0x1f6));let _0x26e3d1;class _0x29aea9{constructor(_0x31a6fa,_0x31284c,_0x3caa20){const _0x229c18=_0x2f92c3;if(this[_0x229c18(0x1e2)]=_0x3caa20|0x0,this['_options']=_0x31a6fa||{},this[_0x229c18(0x137)]=this[_0x229c18(0x12c)][_0x229c18(0x1df)]!==void 0x0?this[_0x229c18(0x12c)][_0x229c18(0x1df)]:0x400,this[_0x229c18(0x1ef)]=!!_0x31284c,this[_0x229c18(0x277)]=null,this[_0x229c18(0x1c2)]=null,this['params']=null,!_0x26e3d1){const _0x1d1c60=this[_0x229c18(0x12c)][_0x229c18(0x231)]!==void 0x0?this['_options'][_0x229c18(0x231)]:0xa;_0x26e3d1=new _0xa4151e(_0x1d1c60);}}static get['extensionName'](){const _0x2f046c=_0x2f92c3;return _0x2f046c(0x254);}['offer'](){const _0x2e16a0=_0x2f92c3,_0xce8a33={};return this['_options'][_0x2e16a0(0x140)]&&(_0xce8a33['server_no_context_takeover']=!0x0),this[_0x2e16a0(0x12c)]['clientNoContextTakeover']&&(_0xce8a33[_0x2e16a0(0x29a)]=!0x0),this[_0x2e16a0(0x12c)][_0x2e16a0(0x29f)]&&(_0xce8a33['server_max_window_bits']=this[_0x2e16a0(0x12c)][_0x2e16a0(0x29f)]),this[_0x2e16a0(0x12c)][_0x2e16a0(0x222)]?_0xce8a33['client_max_window_bits']=this[_0x2e16a0(0x12c)][_0x2e16a0(0x222)]:this[_0x2e16a0(0x12c)][_0x2e16a0(0x222)]==null&&(_0xce8a33[_0x2e16a0(0x267)]=!0x0),_0xce8a33;}['accept'](_0x39d9a0){const _0x5dbcfd=_0x2f92c3;return _0x39d9a0=this[_0x5dbcfd(0x164)](_0x39d9a0),this[_0x5dbcfd(0x216)]=this[_0x5dbcfd(0x1ef)]?this[_0x5dbcfd(0x16c)](_0x39d9a0):this[_0x5dbcfd(0x289)](_0x39d9a0),this[_0x5dbcfd(0x216)];}[_0x2f92c3(0x1aa)](){const _0x215dcc=_0x2f92c3;if(this[_0x215dcc(0x1c2)]&&(this[_0x215dcc(0x1c2)][_0x215dcc(0x23d)](),this[_0x215dcc(0x1c2)]=null),this[_0x215dcc(0x277)]){const _0x58e089=this['_deflate'][_0x406080];this['_deflate']['close'](),this[_0x215dcc(0x277)]=null,_0x58e089&&_0x58e089(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x2f92c3(0x16c)](_0x13bed0){const _0x320997=_0x2f92c3,_0xbe95a=this[_0x320997(0x12c)],_0x60cef9=_0x13bed0[_0x320997(0x249)](_0xbfd185=>!(_0xbe95a[_0x320997(0x140)]===!0x1&&_0xbfd185[_0x320997(0x124)]||_0xbfd185[_0x320997(0x176)]&&(_0xbe95a[_0x320997(0x29f)]===!0x1||typeof _0xbe95a[_0x320997(0x29f)]==_0x320997(0x273)&&_0xbe95a['serverMaxWindowBits']>_0xbfd185[_0x320997(0x176)])||typeof _0xbe95a[_0x320997(0x222)]==_0x320997(0x273)&&!_0xbfd185[_0x320997(0x267)]));if(!_0x60cef9)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xbe95a[_0x320997(0x140)]&&(_0x60cef9[_0x320997(0x124)]=!0x0),_0xbe95a['clientNoContextTakeover']&&(_0x60cef9[_0x320997(0x29a)]=!0x0),typeof _0xbe95a[_0x320997(0x29f)]==_0x320997(0x273)&&(_0x60cef9[_0x320997(0x176)]=_0xbe95a[_0x320997(0x29f)]),typeof _0xbe95a['clientMaxWindowBits']==_0x320997(0x273)?_0x60cef9[_0x320997(0x267)]=_0xbe95a[_0x320997(0x222)]:(_0x60cef9[_0x320997(0x267)]===!0x0||_0xbe95a[_0x320997(0x222)]===!0x1)&&delete _0x60cef9[_0x320997(0x267)],_0x60cef9;}[_0x2f92c3(0x289)](_0x40740f){const _0x43a421=_0x2f92c3,_0x40a9d5=_0x40740f[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x40a9d5[_0x43a421(0x29a)])throw new Error(_0x43a421(0x145));if(!_0x40a9d5[_0x43a421(0x267)])typeof this['_options'][_0x43a421(0x222)]==_0x43a421(0x273)&&(_0x40a9d5['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x43a421(0x12c)][_0x43a421(0x222)]===!0x1||typeof this[_0x43a421(0x12c)]['clientMaxWindowBits']==_0x43a421(0x273)&&_0x40a9d5['client_max_window_bits']>this[_0x43a421(0x12c)][_0x43a421(0x222)])throw new Error(_0x43a421(0x16d));}return _0x40a9d5;}[_0x2f92c3(0x164)](_0x228431){const _0x311dcb=_0x2f92c3;return _0x228431[_0x311dcb(0x196)](_0x3d51ac=>{const _0x1d49d7=_0x311dcb;Object[_0x1d49d7(0x1d6)](_0x3d51ac)['forEach'](_0x344e1d=>{const _0x3d4446=_0x1d49d7;let _0x41ce75=_0x3d51ac[_0x344e1d];if(_0x41ce75[_0x3d4446(0x23a)]>0x1)throw new Error(_0x3d4446(0x21b)+_0x344e1d+_0x3d4446(0x1fa));if(_0x41ce75=_0x41ce75[0x0],_0x344e1d==='client_max_window_bits'){if(_0x41ce75!==!0x0){const _0x49f471=+_0x41ce75;if(!Number[_0x3d4446(0x1fb)](_0x49f471)||_0x49f471<0x8||_0x49f471>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x344e1d+_0x3d4446(0x198)+_0x41ce75);_0x41ce75=_0x49f471;}else{if(!this[_0x3d4446(0x1ef)])throw new TypeError(_0x3d4446(0xf1)+_0x344e1d+_0x3d4446(0x198)+_0x41ce75);}}else{if(_0x344e1d===_0x3d4446(0x176)){const _0x357cd5=+_0x41ce75;if(!Number[_0x3d4446(0x1fb)](_0x357cd5)||_0x357cd5<0x8||_0x357cd5>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x344e1d+_0x3d4446(0x198)+_0x41ce75);_0x41ce75=_0x357cd5;}else{if(_0x344e1d==='client_no_context_takeover'||_0x344e1d===_0x3d4446(0x124)){if(_0x41ce75!==!0x0)throw new TypeError(_0x3d4446(0xf1)+_0x344e1d+_0x3d4446(0x198)+_0x41ce75);}else throw new Error(_0x3d4446(0x126)+_0x344e1d+'\x22');}}_0x3d51ac[_0x344e1d]=_0x41ce75;});}),_0x228431;}[_0x2f92c3(0x23b)](_0x2dd6fa,_0x40ea43,_0x1c0a07){const _0x40c086=_0x2f92c3;_0x26e3d1[_0x40c086(0x22b)](_0x46d254=>{this['_decompress'](_0x2dd6fa,_0x40ea43,(_0x769f2b,_0x5b55fa)=>{_0x46d254(),_0x1c0a07(_0x769f2b,_0x5b55fa);});});}[_0x2f92c3(0x294)](_0xc18246,_0x4490bb,_0xbfe912){const _0x2d5a15=_0x2f92c3;_0x26e3d1[_0x2d5a15(0x22b)](_0x8f4c70=>{const _0x3a3180=_0x2d5a15;this[_0x3a3180(0x195)](_0xc18246,_0x4490bb,(_0xa2f63,_0x5a135f)=>{_0x8f4c70(),_0xbfe912(_0xa2f63,_0x5a135f);});});}[_0x2f92c3(0x260)](_0x20a65e,_0x3e86a9,_0xd4c898){const _0x5b88e7=_0x2f92c3,_0x518b2a=this['_isServer']?_0x5b88e7(0x192):_0x5b88e7(0x1c0);if(!this[_0x5b88e7(0x1c2)]){const _0x20c5a9=_0x518b2a+'_max_window_bits',_0x44c46d=typeof this[_0x5b88e7(0x216)][_0x20c5a9]!=_0x5b88e7(0x273)?_0x4c3f15[_0x5b88e7(0x253)]:this[_0x5b88e7(0x216)][_0x20c5a9];this[_0x5b88e7(0x1c2)]=_0x4c3f15[_0x5b88e7(0x28a)]({...this[_0x5b88e7(0x12c)]['zlibInflateOptions'],'windowBits':_0x44c46d}),this[_0x5b88e7(0x1c2)][_0x31d08b]=this,this['_inflate'][_0x367cef]=0x0,this[_0x5b88e7(0x1c2)][_0x3e67db]=[],this['_inflate']['on'](_0x5b88e7(0x1f6),_0x50d896),this['_inflate']['on'](_0x5b88e7(0x211),_0x1cfff0);}this[_0x5b88e7(0x1c2)][_0x406080]=_0xd4c898,this[_0x5b88e7(0x1c2)][_0x5b88e7(0x27d)](_0x20a65e),_0x3e86a9&&this[_0x5b88e7(0x1c2)][_0x5b88e7(0x27d)](_0x3493b3),this[_0x5b88e7(0x1c2)][_0x5b88e7(0x1f2)](()=>{const _0x4d1888=_0x5b88e7,_0x222fa3=this[_0x4d1888(0x1c2)][_0x471ed1];if(_0x222fa3){this[_0x4d1888(0x1c2)][_0x4d1888(0x23d)](),this[_0x4d1888(0x1c2)]=null,_0xd4c898(_0x222fa3);return;}const _0x3bbb50=_0x4c64df[_0x4d1888(0x107)](this['_inflate'][_0x3e67db],this['_inflate'][_0x367cef]);this['_inflate'][_0x4d1888(0x125)]['endEmitted']?(this[_0x4d1888(0x1c2)][_0x4d1888(0x23d)](),this['_inflate']=null):(this[_0x4d1888(0x1c2)][_0x367cef]=0x0,this[_0x4d1888(0x1c2)][_0x3e67db]=[],_0x3e86a9&&this[_0x4d1888(0x216)][_0x518b2a+'_no_context_takeover']&&this[_0x4d1888(0x1c2)][_0x4d1888(0x1ea)]()),_0xd4c898(null,_0x3bbb50);});}[_0x2f92c3(0x195)](_0x1d08ea,_0x53af2c,_0x101fe7){const _0xc1f044=_0x2f92c3,_0x49c914=this[_0xc1f044(0x1ef)]?_0xc1f044(0x1c0):_0xc1f044(0x192);if(!this[_0xc1f044(0x277)]){const _0x5269b4=_0x49c914+_0xc1f044(0x202),_0x355caa=typeof this[_0xc1f044(0x216)][_0x5269b4]!='number'?_0x4c3f15[_0xc1f044(0x253)]:this[_0xc1f044(0x216)][_0x5269b4];this[_0xc1f044(0x277)]=_0x4c3f15[_0xc1f044(0x1ac)]({...this[_0xc1f044(0x12c)]['zlibDeflateOptions'],'windowBits':_0x355caa}),this['_deflate'][_0x367cef]=0x0,this['_deflate'][_0x3e67db]=[],this['_deflate']['on']('data',_0x579ab6);}this['_deflate'][_0x406080]=_0x101fe7,this[_0xc1f044(0x277)]['write'](_0x1d08ea),this[_0xc1f044(0x277)][_0xc1f044(0x1f2)](_0x4c3f15['Z_SYNC_FLUSH'],()=>{const _0x3d55cc=_0xc1f044;if(!this[_0x3d55cc(0x277)])return;let _0x54b250=_0x4c64df['concat'](this[_0x3d55cc(0x277)][_0x3e67db],this[_0x3d55cc(0x277)][_0x367cef]);_0x53af2c&&(_0x54b250=new _0x1c5b94(_0x54b250[_0x3d55cc(0x1ed)],_0x54b250['byteOffset'],_0x54b250[_0x3d55cc(0x23a)]-0x4)),this[_0x3d55cc(0x277)][_0x406080]=null,this[_0x3d55cc(0x277)][_0x367cef]=0x0,this[_0x3d55cc(0x277)][_0x3e67db]=[],_0x53af2c&&this[_0x3d55cc(0x216)][_0x49c914+_0x3d55cc(0x23f)]&&this[_0x3d55cc(0x277)]['reset'](),_0x101fe7(null,_0x54b250);});}}ve=_0x29aea9;function _0x579ab6(_0x141c38){const _0x810ae6=_0x2f92c3;this[_0x3e67db][_0x810ae6(0x1a6)](_0x141c38),this[_0x367cef]+=_0x141c38[_0x810ae6(0x23a)];}function _0x1cfff0(_0x374e09){const _0x520db5=_0x2f92c3;if(this[_0x367cef]+=_0x374e09[_0x520db5(0x23a)],this[_0x31d08b][_0x520db5(0x1e2)]<0x1||this[_0x367cef]<=this[_0x31d08b][_0x520db5(0x1e2)]){this[_0x3e67db][_0x520db5(0x1a6)](_0x374e09);return;}this[_0x471ed1]=new RangeError(_0x520db5(0x2a1)),this[_0x471ed1][_0x520db5(0x28d)]=_0x520db5(0x144),this[_0x471ed1][_0x51fe93]=0x3f1,this[_0x520db5(0x281)](_0x520db5(0x211),_0x1cfff0),this[_0x520db5(0x1ea)]();}function _0x50d896(_0x2a114d){const _0x20e68e=_0x2f92c3;if(this[_0x31d08b][_0x20e68e(0x1c2)]=null,this[_0x471ed1]){this[_0x406080](this[_0x471ed1]);return;}_0x2a114d[_0x51fe93]=0x3ef,this[_0x406080](_0x2a114d);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xccc4b8(0x28e)](Object[_0xccc4b8(0x1ff)]({'__proto__':null,'default':Ht},Symbol[_0xccc4b8(0xf2)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x252d1a=_0xccc4b8;if(Qe)return re[_0x252d1a(0x10a)];Qe=0x1;const {isUtf8:_0x190c82}=_0x14bdbd,{hasBlob:_0xf8c4cc}=V(),_0x1a735a=[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 _0x1191ac(_0xa039ab){return _0xa039ab>=0x3e8&&_0xa039ab<=0x3f6&&_0xa039ab!==0x3ec&&_0xa039ab!==0x3ed&&_0xa039ab!==0x3ee||_0xa039ab>=0xbb8&&_0xa039ab<=0x1387;}function _0x1c89d6(_0x41246e){const _0x57d6f3=_0x252d1a,_0xaf9752=_0x41246e[_0x57d6f3(0x23a)];let _0x2d65a4=0x0;for(;_0x2d65a4<_0xaf9752;)if((_0x41246e[_0x2d65a4]&0x80)===0x0)_0x2d65a4++;else{if((_0x41246e[_0x2d65a4]&0xe0)===0xc0){if(_0x2d65a4+0x1===_0xaf9752||(_0x41246e[_0x2d65a4+0x1]&0xc0)!==0x80||(_0x41246e[_0x2d65a4]&0xfe)===0xc0)return!0x1;_0x2d65a4+=0x2;}else{if((_0x41246e[_0x2d65a4]&0xf0)===0xe0){if(_0x2d65a4+0x2>=_0xaf9752||(_0x41246e[_0x2d65a4+0x1]&0xc0)!==0x80||(_0x41246e[_0x2d65a4+0x2]&0xc0)!==0x80||_0x41246e[_0x2d65a4]===0xe0&&(_0x41246e[_0x2d65a4+0x1]&0xe0)===0x80||_0x41246e[_0x2d65a4]===0xed&&(_0x41246e[_0x2d65a4+0x1]&0xe0)===0xa0)return!0x1;_0x2d65a4+=0x3;}else{if((_0x41246e[_0x2d65a4]&0xf8)===0xf0){if(_0x2d65a4+0x3>=_0xaf9752||(_0x41246e[_0x2d65a4+0x1]&0xc0)!==0x80||(_0x41246e[_0x2d65a4+0x2]&0xc0)!==0x80||(_0x41246e[_0x2d65a4+0x3]&0xc0)!==0x80||_0x41246e[_0x2d65a4]===0xf0&&(_0x41246e[_0x2d65a4+0x1]&0xf0)===0x80||_0x41246e[_0x2d65a4]===0xf4&&_0x41246e[_0x2d65a4+0x1]>0x8f||_0x41246e[_0x2d65a4]>0xf4)return!0x1;_0x2d65a4+=0x4;}else return!0x1;}}}return!0x0;}function _0x98657b(_0x37b2b9){const _0x48e0ab=_0x252d1a;return _0xf8c4cc&&typeof _0x37b2b9==_0x48e0ab(0x204)&&typeof _0x37b2b9[_0x48e0ab(0x1c9)]=='function'&&typeof _0x37b2b9[_0x48e0ab(0x2a2)]==_0x48e0ab(0x15e)&&typeof _0x37b2b9[_0x48e0ab(0x296)]==_0x48e0ab(0x21a)&&(_0x37b2b9[Symbol[_0x48e0ab(0xf2)]]==='Blob'||_0x37b2b9[Symbol[_0x48e0ab(0xf2)]]===_0x48e0ab(0x1e7));}if(re[_0x252d1a(0x10a)]={'isBlob':_0x98657b,'isValidStatusCode':_0x1191ac,'isValidUTF8':_0x1c89d6,'tokenChars':_0x1a735a},_0x190c82)re[_0x252d1a(0x10a)][_0x252d1a(0x2a0)]=function(_0xcc623a){const _0x13d341=_0x252d1a;return _0xcc623a[_0x13d341(0x23a)]<0x18?_0x1c89d6(_0xcc623a):_0x190c82(_0xcc623a);};else{if(!process[_0x252d1a(0x1ab)][_0x252d1a(0x280)])try{const _0x4b52c7=Yt;re[_0x252d1a(0x10a)][_0x252d1a(0x2a0)]=function(_0x401c1c){const _0xadaf10=_0x252d1a;return _0x401c1c[_0xadaf10(0x23a)]<0x20?_0x1c89d6(_0x401c1c):_0x4b52c7(_0x401c1c);};}catch{}}return re[_0x252d1a(0x10a)];}var Se,Je;function dt(){const _0x5dd2ef=_0xccc4b8;if(Je)return Se;Je=0x1;const {Writable:_0x2df2bc}=_0x108647,_0x4c81bc=he(),{BINARY_TYPES:_0x501bba,EMPTY_BUFFER:_0x2bfa27,kStatusCode:_0x5a8ca1,kWebSocket:_0x16a607}=V(),{concat:_0x303910,toArrayBuffer:_0x5e2ace,unmask:_0x5ab998}=ce(),{isValidStatusCode:_0x396a14,isValidUTF8:_0x2bf1b2}=ne(),_0x19feca=Buffer[Symbol[_0x5dd2ef(0x1bc)]],_0x1c84fc=0x0,_0x2fc5b9=0x1,_0x5aed51=0x2,_0x2f69e5=0x3,_0x5f2621=0x4,_0x5609ed=0x5,_0x214aa9=0x6;class _0x1e1661 extends _0x2df2bc{constructor(_0x163506={}){const _0x4e26d1=_0x5dd2ef;super(),this[_0x4e26d1(0x23c)]=_0x163506['allowSynchronousEvents']!==void 0x0?_0x163506['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x163506['binaryType']||_0x501bba[0x0],this[_0x4e26d1(0x279)]=_0x163506['extensions']||{},this[_0x4e26d1(0x1ef)]=!!_0x163506['isServer'],this[_0x4e26d1(0x1e2)]=_0x163506[_0x4e26d1(0x11a)]|0x0,this[_0x4e26d1(0x1f7)]=!!_0x163506[_0x4e26d1(0x102)],this[_0x16a607]=void 0x0,this[_0x4e26d1(0x199)]=0x0,this[_0x4e26d1(0x104)]=[],this[_0x4e26d1(0x166)]=!0x1,this[_0x4e26d1(0x20b)]=0x0,this[_0x4e26d1(0x1d5)]=void 0x0,this[_0x4e26d1(0x14c)]=0x0,this[_0x4e26d1(0x1dd)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x4e26d1(0x117)]=0x0,this[_0x4e26d1(0x14e)]=0x0,this[_0x4e26d1(0x18c)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x1c84fc;}[_0x5dd2ef(0x1d0)](_0x39aedf,_0x45e68a,_0x507c6d){const _0x4abbe8=_0x5dd2ef;if(this[_0x4abbe8(0x187)]===0x8&&this[_0x4abbe8(0x22f)]==_0x1c84fc)return _0x507c6d();this[_0x4abbe8(0x199)]+=_0x39aedf[_0x4abbe8(0x23a)],this[_0x4abbe8(0x104)][_0x4abbe8(0x1a6)](_0x39aedf),this[_0x4abbe8(0x1b3)](_0x507c6d);}['consume'](_0x3b63ad){const _0x19a63b=_0x5dd2ef;if(this[_0x19a63b(0x199)]-=_0x3b63ad,_0x3b63ad===this[_0x19a63b(0x104)][0x0][_0x19a63b(0x23a)])return this[_0x19a63b(0x104)]['shift']();if(_0x3b63ad<this[_0x19a63b(0x104)][0x0][_0x19a63b(0x23a)]){const _0x5ac1d6=this[_0x19a63b(0x104)][0x0];return this['_buffers'][0x0]=new _0x19feca(_0x5ac1d6['buffer'],_0x5ac1d6[_0x19a63b(0x1d7)]+_0x3b63ad,_0x5ac1d6[_0x19a63b(0x23a)]-_0x3b63ad),new _0x19feca(_0x5ac1d6[_0x19a63b(0x1ed)],_0x5ac1d6[_0x19a63b(0x1d7)],_0x3b63ad);}const _0x4ceb5b=Buffer['allocUnsafe'](_0x3b63ad);do{const _0x11c693=this['_buffers'][0x0],_0x6f99d9=_0x4ceb5b[_0x19a63b(0x23a)]-_0x3b63ad;_0x3b63ad>=_0x11c693[_0x19a63b(0x23a)]?_0x4ceb5b['set'](this[_0x19a63b(0x104)]['shift'](),_0x6f99d9):(_0x4ceb5b[_0x19a63b(0x26d)](new Uint8Array(_0x11c693[_0x19a63b(0x1ed)],_0x11c693[_0x19a63b(0x1d7)],_0x3b63ad),_0x6f99d9),this['_buffers'][0x0]=new _0x19feca(_0x11c693['buffer'],_0x11c693[_0x19a63b(0x1d7)]+_0x3b63ad,_0x11c693[_0x19a63b(0x23a)]-_0x3b63ad)),_0x3b63ad-=_0x11c693['length'];}while(_0x3b63ad>0x0);return _0x4ceb5b;}[_0x5dd2ef(0x1b3)](_0x1248de){const _0x1c639a=_0x5dd2ef;this['_loop']=!0x0;do switch(this[_0x1c639a(0x22f)]){case _0x1c84fc:this['getInfo'](_0x1248de);break;case _0x2fc5b9:this[_0x1c639a(0xfb)](_0x1248de);break;case _0x5aed51:this[_0x1c639a(0x218)](_0x1248de);break;case _0x2f69e5:this['getMask']();break;case _0x5f2621:this[_0x1c639a(0x12f)](_0x1248de);break;case _0x5609ed:case _0x214aa9:this[_0x1c639a(0xfd)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x1248de();}[_0x5dd2ef(0x162)](_0x1e44b3){const _0x52da5d=_0x5dd2ef;if(this['_bufferedBytes']<0x2){this[_0x52da5d(0xfd)]=!0x1;return;}const _0x5476f4=this[_0x52da5d(0x22a)](0x2);if((_0x5476f4[0x0]&0x30)!==0x0){const _0x349cdf=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x1fe),!0x0,0x3ea,_0x52da5d(0x16a));_0x1e44b3(_0x349cdf);return;}const _0x3000fd=(_0x5476f4[0x0]&0x40)===0x40;if(_0x3000fd&&!this[_0x52da5d(0x279)][_0x4c81bc['extensionName']]){const _0x5a0f1d=this[_0x52da5d(0x1da)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e44b3(_0x5a0f1d);return;}if(this[_0x52da5d(0x283)]=(_0x5476f4[0x0]&0x80)===0x80,this['_opcode']=_0x5476f4[0x0]&0xf,this[_0x52da5d(0x20b)]=_0x5476f4[0x1]&0x7f,this[_0x52da5d(0x187)]===0x0){if(_0x3000fd){const _0x53fa71=this[_0x52da5d(0x1da)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e44b3(_0x53fa71);return;}if(!this[_0x52da5d(0x14c)]){const _0x2577f4=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x255),!0x0,0x3ea,_0x52da5d(0xf3));_0x1e44b3(_0x2577f4);return;}this[_0x52da5d(0x187)]=this[_0x52da5d(0x14c)];}else{if(this[_0x52da5d(0x187)]===0x1||this[_0x52da5d(0x187)]===0x2){if(this['_fragmented']){const _0x526e6b=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x241)+this[_0x52da5d(0x187)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1e44b3(_0x526e6b);return;}this[_0x52da5d(0x166)]=_0x3000fd;}else{if(this[_0x52da5d(0x187)]>0x7&&this[_0x52da5d(0x187)]<0xb){if(!this[_0x52da5d(0x283)]){const _0x485adb=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x168),!0x0,0x3ea,_0x52da5d(0x256));_0x1e44b3(_0x485adb);return;}if(_0x3000fd){const _0x2c1942=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x1a2),!0x0,0x3ea,_0x52da5d(0xf7));_0x1e44b3(_0x2c1942);return;}if(this[_0x52da5d(0x20b)]>0x7d||this[_0x52da5d(0x187)]===0x8&&this[_0x52da5d(0x20b)]===0x1){const _0xf6ff=this[_0x52da5d(0x1da)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x52da5d(0x20b)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1e44b3(_0xf6ff);return;}}else{const _0x3aea24=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x52da5d(0x187)],!0x0,0x3ea,_0x52da5d(0xf3));_0x1e44b3(_0x3aea24);return;}}}if(!this['_fin']&&!this[_0x52da5d(0x14c)]&&(this[_0x52da5d(0x14c)]=this[_0x52da5d(0x187)]),this['_masked']=(_0x5476f4[0x1]&0x80)===0x80,this[_0x52da5d(0x1ef)]){if(!this['_masked']){const _0x4edec7=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x1db),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1e44b3(_0x4edec7);return;}}else{if(this[_0x52da5d(0x1dd)]){const _0x5426d9=this[_0x52da5d(0x1da)](RangeError,_0x52da5d(0x29c),!0x0,0x3ea,_0x52da5d(0x286));_0x1e44b3(_0x5426d9);return;}}this[_0x52da5d(0x20b)]===0x7e?this['_state']=_0x2fc5b9:this['_payloadLength']===0x7f?this[_0x52da5d(0x22f)]=_0x5aed51:this[_0x52da5d(0x178)](_0x1e44b3);}['getPayloadLength16'](_0x16069f){const _0x4ff8d2=_0x5dd2ef;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x4ff8d2(0x20b)]=this[_0x4ff8d2(0x22a)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x16069f);}[_0x5dd2ef(0x218)](_0x35375b){const _0x3653bd=_0x5dd2ef;if(this[_0x3653bd(0x199)]<0x8){this[_0x3653bd(0xfd)]=!0x1;return;}const _0x312108=this[_0x3653bd(0x22a)](0x8),_0x1a2bbf=_0x312108[_0x3653bd(0x171)](0x0);if(_0x1a2bbf>Math[_0x3653bd(0x232)](0x2,0x15)-0x1){const _0x109a92=this[_0x3653bd(0x1da)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3653bd(0x1c8));_0x35375b(_0x109a92);return;}this['_payloadLength']=_0x1a2bbf*Math[_0x3653bd(0x232)](0x2,0x20)+_0x312108[_0x3653bd(0x171)](0x4),this[_0x3653bd(0x178)](_0x35375b);}[_0x5dd2ef(0x178)](_0x445336){const _0x8d3e39=_0x5dd2ef;if(this[_0x8d3e39(0x20b)]&&this[_0x8d3e39(0x187)]<0x8&&(this[_0x8d3e39(0x117)]+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x8d3e39(0x1e2)]>0x0)){const _0x2e0144=this[_0x8d3e39(0x1da)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x445336(_0x2e0144);return;}this[_0x8d3e39(0x1dd)]?this[_0x8d3e39(0x22f)]=_0x2f69e5:this[_0x8d3e39(0x22f)]=_0x5f2621;}[_0x5dd2ef(0x1b7)](){const _0x49beac=_0x5dd2ef;if(this[_0x49beac(0x199)]<0x4){this[_0x49beac(0xfd)]=!0x1;return;}this[_0x49beac(0x1d5)]=this[_0x49beac(0x22a)](0x4),this['_state']=_0x5f2621;}[_0x5dd2ef(0x12f)](_0x121e8a){const _0x3eb1cb=_0x5dd2ef;let _0x2bce4d=_0x2bfa27;if(this[_0x3eb1cb(0x20b)]){if(this[_0x3eb1cb(0x199)]<this[_0x3eb1cb(0x20b)]){this[_0x3eb1cb(0xfd)]=!0x1;return;}_0x2bce4d=this[_0x3eb1cb(0x22a)](this['_payloadLength']),this[_0x3eb1cb(0x1dd)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x3eb1cb(0x1d5)][0x2]|this['_mask'][0x3])!==0x0&&_0x5ab998(_0x2bce4d,this[_0x3eb1cb(0x1d5)]);}if(this[_0x3eb1cb(0x187)]>0x7){this[_0x3eb1cb(0x26f)](_0x2bce4d,_0x121e8a);return;}if(this[_0x3eb1cb(0x166)]){this[_0x3eb1cb(0x22f)]=_0x5609ed,this['decompress'](_0x2bce4d,_0x121e8a);return;}_0x2bce4d[_0x3eb1cb(0x23a)]&&(this[_0x3eb1cb(0x14e)]=this[_0x3eb1cb(0x117)],this[_0x3eb1cb(0x18c)]['push'](_0x2bce4d)),this[_0x3eb1cb(0x155)](_0x121e8a);}[_0x5dd2ef(0x23b)](_0x4a45c8,_0x19073e){const _0x5f2076=_0x5dd2ef;this[_0x5f2076(0x279)][_0x4c81bc[_0x5f2076(0x1ba)]][_0x5f2076(0x23b)](_0x4a45c8,this['_fin'],(_0x480b0b,_0x5847b2)=>{const _0x2e90fb=_0x5f2076;if(_0x480b0b)return _0x19073e(_0x480b0b);if(_0x5847b2[_0x2e90fb(0x23a)]){if(this['_messageLength']+=_0x5847b2[_0x2e90fb(0x23a)],this[_0x2e90fb(0x14e)]>this[_0x2e90fb(0x1e2)]&&this['_maxPayload']>0x0){const _0x1fed62=this[_0x2e90fb(0x1da)](RangeError,_0x2e90fb(0x2a1),!0x1,0x3f1,_0x2e90fb(0x144));_0x19073e(_0x1fed62);return;}this['_fragments'][_0x2e90fb(0x1a6)](_0x5847b2);}this[_0x2e90fb(0x155)](_0x19073e),this['_state']===_0x1c84fc&&this['startLoop'](_0x19073e);});}[_0x5dd2ef(0x155)](_0x136c67){const _0xaf00f6=_0x5dd2ef;if(!this[_0xaf00f6(0x283)]){this[_0xaf00f6(0x22f)]=_0x1c84fc;return;}const _0x536234=this['_messageLength'],_0x5af8ac=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0xaf00f6(0x14e)]=0x0,this['_fragmented']=0x0,this[_0xaf00f6(0x18c)]=[],this[_0xaf00f6(0x187)]===0x2){let _0x25cabd;this[_0xaf00f6(0x17f)]===_0xaf00f6(0x10f)?_0x25cabd=_0x303910(_0x5af8ac,_0x536234):this[_0xaf00f6(0x17f)]===_0xaf00f6(0x27b)?_0x25cabd=_0x5e2ace(_0x303910(_0x5af8ac,_0x536234)):this[_0xaf00f6(0x17f)]===_0xaf00f6(0x1d9)?_0x25cabd=new Blob(_0x5af8ac):_0x25cabd=_0x5af8ac,this[_0xaf00f6(0x23c)]?(this[_0xaf00f6(0x282)](_0xaf00f6(0x28b),_0x25cabd,!0x0),this['_state']=_0x1c84fc):(this[_0xaf00f6(0x22f)]=_0x214aa9,setImmediate(()=>{const _0x932e9d=_0xaf00f6;this['emit']('message',_0x25cabd,!0x0),this[_0x932e9d(0x22f)]=_0x1c84fc,this['startLoop'](_0x136c67);}));}else{const _0x5219c0=_0x303910(_0x5af8ac,_0x536234);if(!this[_0xaf00f6(0x1f7)]&&!_0x2bf1b2(_0x5219c0)){const _0x146422=this[_0xaf00f6(0x1da)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xaf00f6(0x221));_0x136c67(_0x146422);return;}this['_state']===_0x5609ed||this['_allowSynchronousEvents']?(this[_0xaf00f6(0x282)](_0xaf00f6(0x28b),_0x5219c0,!0x1),this[_0xaf00f6(0x22f)]=_0x1c84fc):(this[_0xaf00f6(0x22f)]=_0x214aa9,setImmediate(()=>{const _0x3c640a=_0xaf00f6;this[_0x3c640a(0x282)](_0x3c640a(0x28b),_0x5219c0,!0x1),this[_0x3c640a(0x22f)]=_0x1c84fc,this[_0x3c640a(0x1b3)](_0x136c67);}));}}['controlMessage'](_0x195898,_0x440d83){const _0x23f976=_0x5dd2ef;if(this['_opcode']===0x8){if(_0x195898[_0x23f976(0x23a)]===0x0)this[_0x23f976(0xfd)]=!0x1,this[_0x23f976(0x282)]('conclude',0x3ed,_0x2bfa27),this[_0x23f976(0x1f1)]();else{const _0xfd1b45=_0x195898[_0x23f976(0x19b)](0x0);if(!_0x396a14(_0xfd1b45)){const _0x5139ed=this[_0x23f976(0x1da)](RangeError,_0x23f976(0x183)+_0xfd1b45,!0x0,0x3ea,_0x23f976(0x236));_0x440d83(_0x5139ed);return;}const _0x187b81=new _0x19feca(_0x195898[_0x23f976(0x1ed)],_0x195898[_0x23f976(0x1d7)]+0x2,_0x195898[_0x23f976(0x23a)]-0x2);if(!this[_0x23f976(0x1f7)]&&!_0x2bf1b2(_0x187b81)){const _0x538b6d=this['createError'](Error,_0x23f976(0x172),!0x0,0x3ef,_0x23f976(0x221));_0x440d83(_0x538b6d);return;}this['_loop']=!0x1,this[_0x23f976(0x282)](_0x23f976(0x1a8),_0xfd1b45,_0x187b81),this[_0x23f976(0x1f1)]();}this[_0x23f976(0x22f)]=_0x1c84fc;return;}this[_0x23f976(0x23c)]?(this[_0x23f976(0x282)](this['_opcode']===0x9?'ping':_0x23f976(0x299),_0x195898),this[_0x23f976(0x22f)]=_0x1c84fc):(this[_0x23f976(0x22f)]=_0x214aa9,setImmediate(()=>{const _0x12febf=_0x23f976;this[_0x12febf(0x282)](this[_0x12febf(0x187)]===0x9?_0x12febf(0x29e):_0x12febf(0x299),_0x195898),this[_0x12febf(0x22f)]=_0x1c84fc,this[_0x12febf(0x1b3)](_0x440d83);}));}[_0x5dd2ef(0x1da)](_0x107d49,_0x44974d,_0x28b7d2,_0x3a01be,_0x54774e){const _0xd0bb03=_0x5dd2ef;this[_0xd0bb03(0xfd)]=!0x1,this['_errored']=!0x0;const _0x4dafad=new _0x107d49(_0x28b7d2?_0xd0bb03(0x12a)+_0x44974d:_0x44974d);return Error[_0xd0bb03(0x1e9)](_0x4dafad,this[_0xd0bb03(0x1da)]),_0x4dafad[_0xd0bb03(0x28d)]=_0x54774e,_0x4dafad[_0x5a8ca1]=_0x3a01be,_0x4dafad;}}return Se=_0x1e1661,Se;}var Ee,et;function _t(){const _0x396ce6=_0xccc4b8;if(et)return Ee;et=0x1;const {Duplex:_0x4c0a82}=_0x108647,{randomFillSync:_0x416915}=_0x544980,_0x5de1e0=he(),{EMPTY_BUFFER:_0x27abdd,kWebSocket:_0xe4a009,NOOP:_0x10d195}=V(),{isBlob:_0x383630,isValidStatusCode:_0x197376}=ne(),{mask:_0x5dae70,toBuffer:_0x460469}=ce(),_0x4c4a0d=Symbol(_0x396ce6(0x1ca)),_0x5e658b=Buffer[_0x396ce6(0x1a3)](0x4),_0x1daa6b=0x8*0x400;let _0x2cfb73,_0x30980a=_0x1daa6b;const _0x4b1425=0x0,_0x1d333d=0x1,_0xc40f65=0x2;class _0x529afc{constructor(_0x59d3e1,_0x5db506,_0x25a302){const _0x4eef4a=_0x396ce6;this[_0x4eef4a(0x279)]=_0x5db506||{},_0x25a302&&(this['_generateMask']=_0x25a302,this[_0x4eef4a(0x105)]=Buffer[_0x4eef4a(0x1a3)](0x4)),this[_0x4eef4a(0x127)]=_0x59d3e1,this[_0x4eef4a(0x276)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x4eef4a(0x184)]=[],this[_0x4eef4a(0x22f)]=_0x4b1425,this[_0x4eef4a(0x224)]=_0x10d195,this[_0xe4a009]=void 0x0;}static[_0x396ce6(0x1bd)](_0x46109a,_0x9a97f8){const _0xecd6ed=_0x396ce6;let _0x113fc6,_0x3b9059=!0x1,_0x362833=0x2,_0xf14b99=!0x1;_0x9a97f8['mask']&&(_0x113fc6=_0x9a97f8['maskBuffer']||_0x5e658b,_0x9a97f8['generateMask']?_0x9a97f8[_0xecd6ed(0x275)](_0x113fc6):(_0x30980a===_0x1daa6b&&(_0x2cfb73===void 0x0&&(_0x2cfb73=Buffer[_0xecd6ed(0x1a3)](_0x1daa6b)),_0x416915(_0x2cfb73,0x0,_0x1daa6b),_0x30980a=0x0),_0x113fc6[0x0]=_0x2cfb73[_0x30980a++],_0x113fc6[0x1]=_0x2cfb73[_0x30980a++],_0x113fc6[0x2]=_0x2cfb73[_0x30980a++],_0x113fc6[0x3]=_0x2cfb73[_0x30980a++]),_0xf14b99=(_0x113fc6[0x0]|_0x113fc6[0x1]|_0x113fc6[0x2]|_0x113fc6[0x3])===0x0,_0x362833=0x6);let _0x5dd070;typeof _0x46109a==_0xecd6ed(0x15e)?(!_0x9a97f8['mask']||_0xf14b99)&&_0x9a97f8[_0x4c4a0d]!==void 0x0?_0x5dd070=_0x9a97f8[_0x4c4a0d]:(_0x46109a=Buffer['from'](_0x46109a),_0x5dd070=_0x46109a[_0xecd6ed(0x23a)]):(_0x5dd070=_0x46109a['length'],_0x3b9059=_0x9a97f8[_0xecd6ed(0x1bb)]&&_0x9a97f8[_0xecd6ed(0x1b2)]&&!_0xf14b99);let _0x203f00=_0x5dd070;_0x5dd070>=0x10000?(_0x362833+=0x8,_0x203f00=0x7f):_0x5dd070>0x7d&&(_0x362833+=0x2,_0x203f00=0x7e);const _0x567815=Buffer[_0xecd6ed(0x14b)](_0x3b9059?_0x5dd070+_0x362833:_0x362833);return _0x567815[0x0]=_0x9a97f8[_0xecd6ed(0x1cd)]?_0x9a97f8[_0xecd6ed(0x14f)]|0x80:_0x9a97f8[_0xecd6ed(0x14f)],_0x9a97f8[_0xecd6ed(0x10e)]&&(_0x567815[0x0]|=0x40),_0x567815[0x1]=_0x203f00,_0x203f00===0x7e?_0x567815[_0xecd6ed(0x19d)](_0x5dd070,0x2):_0x203f00===0x7f&&(_0x567815[0x2]=_0x567815[0x3]=0x0,_0x567815['writeUIntBE'](_0x5dd070,0x4,0x6)),_0x9a97f8['mask']?(_0x567815[0x1]|=0x80,_0x567815[_0x362833-0x4]=_0x113fc6[0x0],_0x567815[_0x362833-0x3]=_0x113fc6[0x1],_0x567815[_0x362833-0x2]=_0x113fc6[0x2],_0x567815[_0x362833-0x1]=_0x113fc6[0x3],_0xf14b99?[_0x567815,_0x46109a]:_0x3b9059?(_0x5dae70(_0x46109a,_0x113fc6,_0x567815,_0x362833,_0x5dd070),[_0x567815]):(_0x5dae70(_0x46109a,_0x113fc6,_0x46109a,0x0,_0x5dd070),[_0x567815,_0x46109a])):[_0x567815,_0x46109a];}['close'](_0x412711,_0x1691ec,_0x2fb5e0,_0x3cb9c2){const _0x547d56=_0x396ce6;let _0x2dfe27;if(_0x412711===void 0x0)_0x2dfe27=_0x27abdd;else{if(typeof _0x412711!='number'||!_0x197376(_0x412711))throw new TypeError(_0x547d56(0x18b));if(_0x1691ec===void 0x0||!_0x1691ec[_0x547d56(0x23a)])_0x2dfe27=Buffer[_0x547d56(0x14b)](0x2),_0x2dfe27['writeUInt16BE'](_0x412711,0x0);else{const _0x30c7fc=Buffer[_0x547d56(0x181)](_0x1691ec);if(_0x30c7fc>0x7b)throw new RangeError(_0x547d56(0x121));_0x2dfe27=Buffer[_0x547d56(0x14b)](0x2+_0x30c7fc),_0x2dfe27[_0x547d56(0x19d)](_0x412711,0x0),typeof _0x1691ec==_0x547d56(0x15e)?_0x2dfe27['write'](_0x1691ec,0x2):_0x2dfe27[_0x547d56(0x26d)](_0x1691ec,0x2);}}const _0x3018ce={[_0x4c4a0d]:_0x2dfe27[_0x547d56(0x23a)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2fb5e0,'maskBuffer':this[_0x547d56(0x105)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x547d56(0x22f)]!==_0x4b1425?this['enqueue']([this[_0x547d56(0x25b)],_0x2dfe27,!0x1,_0x3018ce,_0x3cb9c2]):this[_0x547d56(0x165)](_0x529afc[_0x547d56(0x1bd)](_0x2dfe27,_0x3018ce),_0x3cb9c2);}[_0x396ce6(0x29e)](_0x466612,_0x321a08,_0x39e5d3){const _0x95c6bb=_0x396ce6;let _0x10b9e0,_0x1d866b;if(typeof _0x466612==_0x95c6bb(0x15e)?(_0x10b9e0=Buffer[_0x95c6bb(0x181)](_0x466612),_0x1d866b=!0x1):_0x383630(_0x466612)?(_0x10b9e0=_0x466612[_0x95c6bb(0x190)],_0x1d866b=!0x1):(_0x466612=_0x460469(_0x466612),_0x10b9e0=_0x466612[_0x95c6bb(0x23a)],_0x1d866b=_0x460469[_0x95c6bb(0x1b2)]),_0x10b9e0>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5c9ac7={[_0x4c4a0d]:_0x10b9e0,'fin':!0x0,'generateMask':this[_0x95c6bb(0x1e8)],'mask':_0x321a08,'maskBuffer':this[_0x95c6bb(0x105)],'opcode':0x9,'readOnly':_0x1d866b,'rsv1':!0x1};_0x383630(_0x466612)?this[_0x95c6bb(0x22f)]!==_0x4b1425?this['enqueue']([this['getBlobData'],_0x466612,!0x1,_0x5c9ac7,_0x39e5d3]):this[_0x95c6bb(0x243)](_0x466612,!0x1,_0x5c9ac7,_0x39e5d3):this['_state']!==_0x4b1425?this[_0x95c6bb(0x147)]([this['dispatch'],_0x466612,!0x1,_0x5c9ac7,_0x39e5d3]):this[_0x95c6bb(0x165)](_0x529afc[_0x95c6bb(0x1bd)](_0x466612,_0x5c9ac7),_0x39e5d3);}[_0x396ce6(0x299)](_0x46a88a,_0x3c8a49,_0x149917){const _0x3d3d9f=_0x396ce6;let _0x193adf,_0x512ccb;if(typeof _0x46a88a==_0x3d3d9f(0x15e)?(_0x193adf=Buffer['byteLength'](_0x46a88a),_0x512ccb=!0x1):_0x383630(_0x46a88a)?(_0x193adf=_0x46a88a[_0x3d3d9f(0x190)],_0x512ccb=!0x1):(_0x46a88a=_0x460469(_0x46a88a),_0x193adf=_0x46a88a[_0x3d3d9f(0x23a)],_0x512ccb=_0x460469[_0x3d3d9f(0x1b2)]),_0x193adf>0x7d)throw new RangeError(_0x3d3d9f(0x25d));const _0x32ab3e={[_0x4c4a0d]:_0x193adf,'fin':!0x0,'generateMask':this[_0x3d3d9f(0x1e8)],'mask':_0x3c8a49,'maskBuffer':this[_0x3d3d9f(0x105)],'opcode':0xa,'readOnly':_0x512ccb,'rsv1':!0x1};_0x383630(_0x46a88a)?this[_0x3d3d9f(0x22f)]!==_0x4b1425?this[_0x3d3d9f(0x147)]([this[_0x3d3d9f(0x243)],_0x46a88a,!0x1,_0x32ab3e,_0x149917]):this[_0x3d3d9f(0x243)](_0x46a88a,!0x1,_0x32ab3e,_0x149917):this[_0x3d3d9f(0x22f)]!==_0x4b1425?this[_0x3d3d9f(0x147)]([this[_0x3d3d9f(0x25b)],_0x46a88a,!0x1,_0x32ab3e,_0x149917]):this[_0x3d3d9f(0x165)](_0x529afc[_0x3d3d9f(0x1bd)](_0x46a88a,_0x32ab3e),_0x149917);}[_0x396ce6(0x1d3)](_0x2e3446,_0x325473,_0x1f3a8e){const _0x22e05c=_0x396ce6,_0x175a54=this[_0x22e05c(0x279)][_0x5de1e0[_0x22e05c(0x1ba)]];let _0x5cfe6b=_0x325473[_0x22e05c(0x25e)]?0x2:0x1,_0x53df14=_0x325473[_0x22e05c(0x294)],_0x100d4f,_0x3be9db;typeof _0x2e3446==_0x22e05c(0x15e)?(_0x100d4f=Buffer['byteLength'](_0x2e3446),_0x3be9db=!0x1):_0x383630(_0x2e3446)?(_0x100d4f=_0x2e3446['size'],_0x3be9db=!0x1):(_0x2e3446=_0x460469(_0x2e3446),_0x100d4f=_0x2e3446[_0x22e05c(0x23a)],_0x3be9db=_0x460469[_0x22e05c(0x1b2)]),this[_0x22e05c(0x276)]?(this['_firstFragment']=!0x1,_0x53df14&&_0x175a54&&_0x175a54[_0x22e05c(0x216)][_0x175a54['_isServer']?_0x22e05c(0x124):'client_no_context_takeover']&&(_0x53df14=_0x100d4f>=_0x175a54[_0x22e05c(0x137)]),this[_0x22e05c(0x195)]=_0x53df14):(_0x53df14=!0x1,_0x5cfe6b=0x0),_0x325473[_0x22e05c(0x1cd)]&&(this[_0x22e05c(0x276)]=!0x0);const _0x3ce5b6={[_0x4c4a0d]:_0x100d4f,'fin':_0x325473['fin'],'generateMask':this['_generateMask'],'mask':_0x325473['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x5cfe6b,'readOnly':_0x3be9db,'rsv1':_0x53df14};_0x383630(_0x2e3446)?this['_state']!==_0x4b1425?this[_0x22e05c(0x147)]([this[_0x22e05c(0x243)],_0x2e3446,this[_0x22e05c(0x195)],_0x3ce5b6,_0x1f3a8e]):this['getBlobData'](_0x2e3446,this['_compress'],_0x3ce5b6,_0x1f3a8e):this['_state']!==_0x4b1425?this[_0x22e05c(0x147)]([this[_0x22e05c(0x25b)],_0x2e3446,this[_0x22e05c(0x195)],_0x3ce5b6,_0x1f3a8e]):this[_0x22e05c(0x25b)](_0x2e3446,this[_0x22e05c(0x195)],_0x3ce5b6,_0x1f3a8e);}[_0x396ce6(0x243)](_0x17e85b,_0x20d098,_0x3d5573,_0x2b3507){const _0x76c095=_0x396ce6;this[_0x76c095(0x199)]+=_0x3d5573[_0x4c4a0d],this[_0x76c095(0x22f)]=_0xc40f65,_0x17e85b[_0x76c095(0x1c9)]()['then'](_0x55922b=>{const _0x2e4d13=_0x76c095;if(this[_0x2e4d13(0x127)]['destroyed']){const _0x4cf422=new Error(_0x2e4d13(0x149));process[_0x2e4d13(0x297)](_0x4b4ad8,this,_0x4cf422,_0x2b3507);return;}this[_0x2e4d13(0x199)]-=_0x3d5573[_0x4c4a0d];const _0x4d6499=_0x460469(_0x55922b);_0x20d098?this['dispatch'](_0x4d6499,_0x20d098,_0x3d5573,_0x2b3507):(this[_0x2e4d13(0x22f)]=_0x4b1425,this[_0x2e4d13(0x165)](_0x529afc[_0x2e4d13(0x1bd)](_0x4d6499,_0x3d5573),_0x2b3507),this[_0x2e4d13(0x130)]());})[_0x76c095(0x27a)](_0xcf37c4=>{const _0x438d2a=_0x76c095;process[_0x438d2a(0x297)](_0x1e5fe9,this,_0xcf37c4,_0x2b3507);});}[_0x396ce6(0x25b)](_0x393e19,_0x2353c3,_0xa84b42,_0x1e1680){const _0x452247=_0x396ce6;if(!_0x2353c3){this[_0x452247(0x165)](_0x529afc[_0x452247(0x1bd)](_0x393e19,_0xa84b42),_0x1e1680);return;}const _0x4c9f0a=this[_0x452247(0x279)][_0x5de1e0[_0x452247(0x1ba)]];this[_0x452247(0x199)]+=_0xa84b42[_0x4c4a0d],this[_0x452247(0x22f)]=_0x1d333d,_0x4c9f0a['compress'](_0x393e19,_0xa84b42['fin'],(_0x24823c,_0x4001c1)=>{const _0x542b0e=_0x452247;if(this['_socket'][_0x542b0e(0x25c)]){const _0x12da61=new Error(_0x542b0e(0x291));_0x4b4ad8(this,_0x12da61,_0x1e1680);return;}this['_bufferedBytes']-=_0xa84b42[_0x4c4a0d],this[_0x542b0e(0x22f)]=_0x4b1425,_0xa84b42[_0x542b0e(0x1b2)]=!0x1,this[_0x542b0e(0x165)](_0x529afc[_0x542b0e(0x1bd)](_0x4001c1,_0xa84b42),_0x1e1680),this[_0x542b0e(0x130)]();});}[_0x396ce6(0x130)](){const _0x65c737=_0x396ce6;for(;this[_0x65c737(0x22f)]===_0x4b1425&&this['_queue'][_0x65c737(0x23a)];){const _0x2eeea7=this[_0x65c737(0x184)]['shift']();this[_0x65c737(0x199)]-=_0x2eeea7[0x3][_0x4c4a0d],Reflect[_0x65c737(0x258)](_0x2eeea7[0x0],this,_0x2eeea7[_0x65c737(0x203)](0x1));}}[_0x396ce6(0x147)](_0x1f86b1){const _0x4a2681=_0x396ce6;this[_0x4a2681(0x199)]+=_0x1f86b1[0x3][_0x4c4a0d],this[_0x4a2681(0x184)][_0x4a2681(0x1a6)](_0x1f86b1);}['sendFrame'](_0x2a9b26,_0x5bb652){const _0x3f8664=_0x396ce6;_0x2a9b26[_0x3f8664(0x23a)]===0x2?(this[_0x3f8664(0x127)][_0x3f8664(0x119)](),this['_socket'][_0x3f8664(0x27d)](_0x2a9b26[0x0]),this[_0x3f8664(0x127)][_0x3f8664(0x27d)](_0x2a9b26[0x1],_0x5bb652),this[_0x3f8664(0x127)][_0x3f8664(0x272)]()):this[_0x3f8664(0x127)][_0x3f8664(0x27d)](_0x2a9b26[0x0],_0x5bb652);}}Ee=_0x529afc;function _0x4b4ad8(_0x1c5a06,_0x589e36,_0xc9b1f0){const _0x2decd6=_0x396ce6;typeof _0xc9b1f0==_0x2decd6(0x21a)&&_0xc9b1f0(_0x589e36);for(let _0x123ff9=0x0;_0x123ff9<_0x1c5a06[_0x2decd6(0x184)][_0x2decd6(0x23a)];_0x123ff9++){const _0x3d935a=_0x1c5a06[_0x2decd6(0x184)][_0x123ff9],_0x56c16f=_0x3d935a[_0x3d935a[_0x2decd6(0x23a)]-0x1];typeof _0x56c16f==_0x2decd6(0x21a)&&_0x56c16f(_0x589e36);}}function _0x1e5fe9(_0x2158c7,_0x769f85,_0x3745e6){const _0x6a68d=_0x396ce6;_0x4b4ad8(_0x2158c7,_0x769f85,_0x3745e6),_0x2158c7[_0x6a68d(0x224)](_0x769f85);}return Ee;}var xe,tt;function Kt(){const _0x88393d=_0xccc4b8;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3a7b1b,kListener:_0x5f0ff2}=V(),_0xcfc0b2=Symbol('kCode'),_0x369b94=Symbol(_0x88393d(0x16f)),_0x72afe4=Symbol(_0x88393d(0x132)),_0x137288=Symbol(_0x88393d(0x268)),_0x1bbc6d=Symbol(_0x88393d(0x13d)),_0x31ef30=Symbol(_0x88393d(0x1e0)),_0x289c01=Symbol(_0x88393d(0x271)),_0x36b42d=Symbol(_0x88393d(0x167));class _0x298d7a{constructor(_0x3ebaeb){this[_0x31ef30]=null,this[_0x289c01]=_0x3ebaeb;}get[_0x88393d(0x1a0)](){return this[_0x31ef30];}get[_0x88393d(0x2a2)](){return this[_0x289c01];}}Object[_0x88393d(0x1ff)](_0x298d7a[_0x88393d(0x101)],'target',{'enumerable':!0x0}),Object[_0x88393d(0x1ff)](_0x298d7a[_0x88393d(0x101)],'type',{'enumerable':!0x0});class _0x2e2fd3 extends _0x298d7a{constructor(_0x428bd3,_0x8733cb={}){const _0x1119cd=_0x88393d;super(_0x428bd3),this[_0xcfc0b2]=_0x8733cb[_0x1119cd(0x28d)]===void 0x0?0x0:_0x8733cb[_0x1119cd(0x28d)],this[_0x1bbc6d]=_0x8733cb[_0x1119cd(0x133)]===void 0x0?'':_0x8733cb['reason'],this[_0x36b42d]=_0x8733cb[_0x1119cd(0x1ce)]===void 0x0?!0x1:_0x8733cb[_0x1119cd(0x1ce)];}get[_0x88393d(0x28d)](){return this[_0xcfc0b2];}get[_0x88393d(0x133)](){return this[_0x1bbc6d];}get[_0x88393d(0x1ce)](){return this[_0x36b42d];}}Object[_0x88393d(0x1ff)](_0x2e2fd3['prototype'],_0x88393d(0x28d),{'enumerable':!0x0}),Object[_0x88393d(0x1ff)](_0x2e2fd3['prototype'],'reason',{'enumerable':!0x0}),Object[_0x88393d(0x1ff)](_0x2e2fd3[_0x88393d(0x101)],_0x88393d(0x1ce),{'enumerable':!0x0});class _0x275c72 extends _0x298d7a{constructor(_0x1609e2,_0x54256f={}){const _0x18f632=_0x88393d;super(_0x1609e2),this[_0x72afe4]=_0x54256f[_0x18f632(0x1f6)]===void 0x0?null:_0x54256f[_0x18f632(0x1f6)],this[_0x137288]=_0x54256f[_0x18f632(0x28b)]===void 0x0?'':_0x54256f[_0x18f632(0x28b)];}get['error'](){return this[_0x72afe4];}get[_0x88393d(0x28b)](){return this[_0x137288];}}Object[_0x88393d(0x1ff)](_0x275c72[_0x88393d(0x101)],'error',{'enumerable':!0x0}),Object[_0x88393d(0x1ff)](_0x275c72[_0x88393d(0x101)],_0x88393d(0x28b),{'enumerable':!0x0});class _0x78283c extends _0x298d7a{constructor(_0x542236,_0x32f1ba={}){const _0x45c964=_0x88393d;super(_0x542236),this[_0x369b94]=_0x32f1ba[_0x45c964(0x211)]===void 0x0?null:_0x32f1ba[_0x45c964(0x211)];}get['data'](){return this[_0x369b94];}}Object[_0x88393d(0x1ff)](_0x78283c[_0x88393d(0x101)],_0x88393d(0x211),{'enumerable':!0x0}),xe={'CloseEvent':_0x2e2fd3,'ErrorEvent':_0x275c72,'Event':_0x298d7a,'EventTarget':{'addEventListener'(_0x4b88e3,_0x19b786,_0x59f092={}){const _0x452755=_0x88393d;for(const _0x5a0cf5 of this[_0x452755(0x239)](_0x4b88e3))if(!_0x59f092[_0x3a7b1b]&&_0x5a0cf5[_0x5f0ff2]===_0x19b786&&!_0x5a0cf5[_0x3a7b1b])return;let _0x14f813;if(_0x4b88e3===_0x452755(0x28b))_0x14f813=function(_0x227cd7,_0x41e38){const _0xeab5e3=_0x452755,_0x1b2df4=new _0x78283c(_0xeab5e3(0x28b),{'data':_0x41e38?_0x227cd7:_0x227cd7[_0xeab5e3(0x1fd)]()});_0x1b2df4[_0x31ef30]=this,_0x1f1410(_0x19b786,this,_0x1b2df4);};else{if(_0x4b88e3==='close')_0x14f813=function(_0x265560,_0x518346){const _0x92b61f=_0x452755,_0x8c7fc0=new _0x2e2fd3(_0x92b61f(0x23d),{'code':_0x265560,'reason':_0x518346[_0x92b61f(0x1fd)](),'wasClean':this[_0x92b61f(0x174)]&&this[_0x92b61f(0x28c)]});_0x8c7fc0[_0x31ef30]=this,_0x1f1410(_0x19b786,this,_0x8c7fc0);};else{if(_0x4b88e3===_0x452755(0x1f6))_0x14f813=function(_0x59e276){const _0x1da76d=_0x452755,_0x2aad47=new _0x275c72(_0x1da76d(0x1f6),{'error':_0x59e276,'message':_0x59e276['message']});_0x2aad47[_0x31ef30]=this,_0x1f1410(_0x19b786,this,_0x2aad47);};else{if(_0x4b88e3==='open')_0x14f813=function(){const _0x5a349d=new _0x298d7a('open');_0x5a349d[_0x31ef30]=this,_0x1f1410(_0x19b786,this,_0x5a349d);};else return;}}}_0x14f813[_0x3a7b1b]=!!_0x59f092[_0x3a7b1b],_0x14f813[_0x5f0ff2]=_0x19b786,_0x59f092['once']?this[_0x452755(0x1d2)](_0x4b88e3,_0x14f813):this['on'](_0x4b88e3,_0x14f813);},'removeEventListener'(_0x26f66c,_0x200f0d){const _0x2bb272=_0x88393d;for(const _0x1f623e of this[_0x2bb272(0x239)](_0x26f66c))if(_0x1f623e[_0x5f0ff2]===_0x200f0d&&!_0x1f623e[_0x3a7b1b]){this['removeListener'](_0x26f66c,_0x1f623e);break;}}},'MessageEvent':_0x78283c};function _0x1f1410(_0x4512cf,_0x37fe4e,_0x7683ab){const _0x507ed6=_0x88393d;typeof _0x4512cf==_0x507ed6(0x204)&&_0x4512cf[_0x507ed6(0x11f)]?_0x4512cf[_0x507ed6(0x11f)][_0x507ed6(0x1f0)](_0x4512cf,_0x7683ab):_0x4512cf[_0x507ed6(0x1f0)](_0x37fe4e,_0x7683ab);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x30ea95}=ne();function _0x14f293(_0x57b4b6,_0x4b05d5,_0xb728b6){const _0x205927=_0x10c0;_0x57b4b6[_0x4b05d5]===void 0x0?_0x57b4b6[_0x4b05d5]=[_0xb728b6]:_0x57b4b6[_0x4b05d5][_0x205927(0x1a6)](_0xb728b6);}function _0x2c4ffe(_0x3961d8){const _0x23182c=_0x10c0,_0x38acb7=Object[_0x23182c(0x215)](null);let _0x228cde=Object[_0x23182c(0x215)](null),_0x3c155a=!0x1,_0x1f96ec=!0x1,_0x1b19bb=!0x1,_0x189cec,_0x3e4b0a,_0x2eebb8=-0x1,_0x2a97ef=-0x1,_0x8f8c94=-0x1,_0x53aed4=0x0;for(;_0x53aed4<_0x3961d8[_0x23182c(0x23a)];_0x53aed4++)if(_0x2a97ef=_0x3961d8[_0x23182c(0x135)](_0x53aed4),_0x189cec===void 0x0){if(_0x8f8c94===-0x1&&_0x30ea95[_0x2a97ef]===0x1)_0x2eebb8===-0x1&&(_0x2eebb8=_0x53aed4);else{if(_0x53aed4!==0x0&&(_0x2a97ef===0x20||_0x2a97ef===0x9))_0x8f8c94===-0x1&&_0x2eebb8!==-0x1&&(_0x8f8c94=_0x53aed4);else{if(_0x2a97ef===0x3b||_0x2a97ef===0x2c){if(_0x2eebb8===-0x1)throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);_0x8f8c94===-0x1&&(_0x8f8c94=_0x53aed4);const _0x4090a0=_0x3961d8[_0x23182c(0x203)](_0x2eebb8,_0x8f8c94);_0x2a97ef===0x2c?(_0x14f293(_0x38acb7,_0x4090a0,_0x228cde),_0x228cde=Object[_0x23182c(0x215)](null)):_0x189cec=_0x4090a0,_0x2eebb8=_0x8f8c94=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x53aed4);}}}else{if(_0x3e4b0a===void 0x0){if(_0x8f8c94===-0x1&&_0x30ea95[_0x2a97ef]===0x1)_0x2eebb8===-0x1&&(_0x2eebb8=_0x53aed4);else{if(_0x2a97ef===0x20||_0x2a97ef===0x9)_0x8f8c94===-0x1&&_0x2eebb8!==-0x1&&(_0x8f8c94=_0x53aed4);else{if(_0x2a97ef===0x3b||_0x2a97ef===0x2c){if(_0x2eebb8===-0x1)throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);_0x8f8c94===-0x1&&(_0x8f8c94=_0x53aed4),_0x14f293(_0x228cde,_0x3961d8['slice'](_0x2eebb8,_0x8f8c94),!0x0),_0x2a97ef===0x2c&&(_0x14f293(_0x38acb7,_0x189cec,_0x228cde),_0x228cde=Object['create'](null),_0x189cec=void 0x0),_0x2eebb8=_0x8f8c94=-0x1;}else{if(_0x2a97ef===0x3d&&_0x2eebb8!==-0x1&&_0x8f8c94===-0x1)_0x3e4b0a=_0x3961d8[_0x23182c(0x203)](_0x2eebb8,_0x53aed4),_0x2eebb8=_0x8f8c94=-0x1;else throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);}}}}else{if(_0x1f96ec){if(_0x30ea95[_0x2a97ef]!==0x1)throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);_0x2eebb8===-0x1?_0x2eebb8=_0x53aed4:_0x3c155a||(_0x3c155a=!0x0),_0x1f96ec=!0x1;}else{if(_0x1b19bb){if(_0x30ea95[_0x2a97ef]===0x1)_0x2eebb8===-0x1&&(_0x2eebb8=_0x53aed4);else{if(_0x2a97ef===0x22&&_0x2eebb8!==-0x1)_0x1b19bb=!0x1,_0x8f8c94=_0x53aed4;else{if(_0x2a97ef===0x5c)_0x1f96ec=!0x0;else throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);}}}else{if(_0x2a97ef===0x22&&_0x3961d8['charCodeAt'](_0x53aed4-0x1)===0x3d)_0x1b19bb=!0x0;else{if(_0x8f8c94===-0x1&&_0x30ea95[_0x2a97ef]===0x1)_0x2eebb8===-0x1&&(_0x2eebb8=_0x53aed4);else{if(_0x2eebb8!==-0x1&&(_0x2a97ef===0x20||_0x2a97ef===0x9))_0x8f8c94===-0x1&&(_0x8f8c94=_0x53aed4);else{if(_0x2a97ef===0x3b||_0x2a97ef===0x2c){if(_0x2eebb8===-0x1)throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);_0x8f8c94===-0x1&&(_0x8f8c94=_0x53aed4);let _0x3f5863=_0x3961d8['slice'](_0x2eebb8,_0x8f8c94);_0x3c155a&&(_0x3f5863=_0x3f5863['replace'](/\\/g,''),_0x3c155a=!0x1),_0x14f293(_0x228cde,_0x3e4b0a,_0x3f5863),_0x2a97ef===0x2c&&(_0x14f293(_0x38acb7,_0x189cec,_0x228cde),_0x228cde=Object[_0x23182c(0x215)](null),_0x189cec=void 0x0),_0x3e4b0a=void 0x0,_0x2eebb8=_0x8f8c94=-0x1;}else throw new SyntaxError(_0x23182c(0x229)+_0x53aed4);}}}}}}}if(_0x2eebb8===-0x1||_0x1b19bb||_0x2a97ef===0x20||_0x2a97ef===0x9)throw new SyntaxError(_0x23182c(0x1c7));_0x8f8c94===-0x1&&(_0x8f8c94=_0x53aed4);const _0x130160=_0x3961d8[_0x23182c(0x203)](_0x2eebb8,_0x8f8c94);return _0x189cec===void 0x0?_0x14f293(_0x38acb7,_0x130160,_0x228cde):(_0x3e4b0a===void 0x0?_0x14f293(_0x228cde,_0x130160,!0x0):_0x3c155a?_0x14f293(_0x228cde,_0x3e4b0a,_0x130160[_0x23182c(0x14a)](/\\/g,'')):_0x14f293(_0x228cde,_0x3e4b0a,_0x130160),_0x14f293(_0x38acb7,_0x189cec,_0x228cde)),_0x38acb7;}function _0x538cf4(_0xd46791){const _0x4eb16a=_0x10c0;return Object[_0x4eb16a(0x1d6)](_0xd46791)[_0x4eb16a(0x1cb)](_0x1519f5=>{const _0x224df0=_0x4eb16a;let _0x22416a=_0xd46791[_0x1519f5];return Array[_0x224df0(0x156)](_0x22416a)||(_0x22416a=[_0x22416a]),_0x22416a['map'](_0x3b1802=>[_0x1519f5]['concat'](Object[_0x224df0(0x1d6)](_0x3b1802)['map'](_0x14b6c4=>{const _0x50ae84=_0x224df0;let _0xf6b38b=_0x3b1802[_0x14b6c4];return Array[_0x50ae84(0x156)](_0xf6b38b)||(_0xf6b38b=[_0xf6b38b]),_0xf6b38b['map'](_0x57fa67=>_0x57fa67===!0x0?_0x14b6c4:_0x14b6c4+'='+_0x57fa67)['join'](';\x20');}))[_0x224df0(0x225)](';\x20'))[_0x224df0(0x225)](',\x20');})[_0x4eb16a(0x225)](',\x20');}return be={'format':_0x538cf4,'parse':_0x2c4ffe},be;}var we,st;function _0x4e1d(){const _0x3e1d4d=['autoPong','_write','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','once','send','dispose','_mask','keys','byteOffset','connection','blob','createError','MASK\x20must\x20be\x20set','_registerDependencies','_masked','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','threshold','kTarget','Invalid\x20Sec-WebSocket-Extensions\x20header','_maxPayload','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','550782MlJoWs','destroy','includes','File','_generateMask','captureStackTrace','reset','_closeMessage','default','buffer','_httpService','_isServer','call','end','flush','shouldHandle','_redirects','endEmitted','error','_skipUTF8Validation','jobs','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','\x22\x20must\x20have\x20only\x20a\x20single\x20value','isInteger','binaryType','toString','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','defineProperty','_bufferedAmount','followRedirects','_max_window_bits','slice','object','maxRedirects','path','Sec-WebSocket-Protocol:\x20','errorEmitted','\x20(supported\x20versions:\x20','_protocol','_payloadLength','The\x20\x22','_sender','_destroy','address','values','data','_url','clientTracking','verifyClient','create','params','_writableState','getPayloadLength64','upgrade','function','Parameter\x20\x22','8847864igSQpp','finished','181092ociisS','finish','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_INVALID_UTF8','clientMaxWindowBits','servername','onerror','join','defaultPort','text/plain','_autoPong','Unexpected\x20character\x20at\x20index\x20','consume','add','startsWith','Invalid\x20URL:\x20','isView','_state','handleProtocols','concurrencyLimit','pow','url','abort','The\x20server\x20is\x20not\x20running','WS_ERR_INVALID_CLOSE_CODE','pipe','_originalSecure','listeners','length','decompress','_allowSynchronousEvents','close','hash','_no_context_takeover','removeAllListeners','invalid\x20opcode\x20','unshift','getBlobData','_configService','isIP','onclose','open','objectMode','find','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','removeEventListener','username','connect','clients','WebSocket\x20is\x20not\x20open:\x20readyState\x20','registerHTTPInterceptor','_originalIpc','entries','Z_DEFAULT_WINDOWBITS','permessage-deflate','invalid\x20opcode\x200','WS_ERR_EXPECTED_FIN','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','apply','get','options','dispatch','destroyed','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','binary','OPEN','_decompress','noServer','redirect','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Basic\x20','Sec-WebSocket-Extensions','1215764rjfRyL','client_max_window_bits','kMessage','completeUpgrade','customHeaders','setNoDelay','onStarting','set','_originalHostOrSocketPath','controlMessage','_receiver','kType','uncork','number','_closeTimer','generateMask','_firstFragment','_deflate','emitClose','_extensions','catch','arraybuffer','socket','write','location','_closeCode','WS_NO_UTF_8_VALIDATE','removeListener','emit','_fin','digest','response','WS_ERR_UNEXPECTED_MASK','_shouldEmitClose','method','acceptAsClient','createInflateRaw','message','_closeFrameSent','code','freeze','next','delete','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','__esModule','9575922KmWXlb','compress','perMessageDeflate','stream','nextTick','pluginName','pong','client_no_context_takeover','_readyState','MASK\x20must\x20be\x20clear','CLOSED','ping','serverMaxWindowBits','isValidUTF8','Max\x20payload\x20size\x20exceeded','type','Maximum\x20redirects\x20exceeded','Invalid\x20value\x20for\x20parameter\x20\x22','toStringTag','WS_ERR_INVALID_OPCODE','http:','sec-websocket-extensions','sec-websocket-version','WS_ERR_UNEXPECTED_RSV_1','6jWnTZb','statusCode','resume','getPayloadLength16','setTimeout','_loop','sha1','_final','Origin','prototype','skipUTF8Validation','wss:','_buffers','_maskBuffer','protocolVersion','concat','finishRequest','handleUpgrade','exports','CONNECTING','_injector','wsClientError','rsv1','nodebuffer','update','parse','isBuffer','7mAWDOw','Server\x20sent\x20no\x20subprotocol','status-code','_server','_totalPayloadLength','WebSocket','cork','maxPayload','Invalid\x20Upgrade\x20header','createConnection','constructor','terminate','handleEvent','toLowerCase','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','indexOf','has','server_no_context_takeover','_readableState','Unknown\x20parameter\x20\x22','_socket','shift','readable','Invalid\x20WebSocket\x20frame:\x20','host','_options','authorized','href','getData','dequeue','_paused','kError','reason','authorization','charCodeAt','password','_threshold','Sec-WebSocket-Accept:\x20','construct','_req','sec-websocket-protocol','hostname','kReason','kIsForOnEventAttribute','value','serverNoContextTakeover','The\x20URL\x27s\x20pathname\x20is\x20empty','request','getConfig','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','createSocket','enqueue','headers','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','replace','allocUnsafe','_fragmented','websocket','_messageLength','opcode','Sec-WebSocket-Protocol','needDrain','auth','\x22\x20subprotocol\x20is\x20duplicated','concurrency','dataMessage','isArray','writable','cookie','50821760aDfZwF','backlog','readyState','base64','_errorEmitted','string','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','timeout','getInfo','pause','normalizeParams','sendFrame','_compressed','kWasClean','FIN\x20must\x20be\x20set','port','WS_ERR_UNEXPECTED_RSV_2_3','onmessage','acceptAsServer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','allowSynchronousEvents','kData','WS_NO_BUFFER_UTIL','readUInt32BE','invalid\x20UTF-8\x20sequence','GET','_closeFrameReceived','sec-websocket-key','server_max_window_bits','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','haveLength','118246fwKIYU','STATUS_CODES','unmask','pathname','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','bind','_binaryType','onopen','byteLength','protocol','invalid\x20status\x20code\x20','_queue','CLOSING','Connection:\x20Upgrade','_opcode','bufferedAmount','origin','Module','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_fragments','55dCVwhQ','Sec-WebSocket-Extensions:\x20','pending','size','handshakeTimeout','client','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','kDone','_compress','forEach','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','\x22:\x20','_bufferedBytes','Server\x20sent\x20an\x20invalid\x20subprotocol','readUInt16BE','ws:','writeUInt16BE','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','HTTP/1.1\x20','target','socketPath','RSV1\x20must\x20be\x20clear','alloc','hasOwnProperty','writeHead','push','\x0d\x0a\x0d\x0a','conclude','test','cleanup','env','createDeflateRaw','from','https:','setHeader','setConfig','Sec-WebSocket-Origin','readOnly','startLoop','split','accept','sec-websocket-accept','getMask','extensions','listen','extensionName','mask','species','frame','setSocket','addEventListener','server','createServer','_inflate','Opening\x20handshake\x20has\x20timed\x20out','listenerCount','_removeListeners','getOwnPropertyDescriptor','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','arrayBuffer','kByteLength','map','isPaused','fin','wasClean'];_0x4e1d=function(){return _0x3e1d4d;};return _0x4e1d();}function Ie(){const _0x38e69f=_0xccc4b8;if(st)return we;st=0x1;const _0x3d05e0=_0x38004c,_0x48ed7f=_0x4cb412,_0x17c0f2=_0x55c002,_0x186658=_0x441656,_0x15f325=_0x189e81,{randomBytes:_0x3c3a32,createHash:_0x30d0ac}=_0x544980,{Duplex:_0x3c835d,Readable:_0x88db3}=_0x108647,{URL:_0x55e904}=_0x27bb22,_0x3f9464=he(),_0x4306db=dt(),_0x54a71c=_t(),{isBlob:_0x206baa}=ne(),{BINARY_TYPES:_0x42ab9d,EMPTY_BUFFER:_0x180b58,GUID:_0x1ea154,kForOnEventAttribute:_0x482e91,kListener:_0x3213db,kStatusCode:_0x34a74d,kWebSocket:_0xc1f977,NOOP:_0x49193d}=V(),{EventTarget:{addEventListener:_0x5a0e1d,removeEventListener:_0x7b72dc}}=Kt(),{format:_0x13cfa2,parse:_0x55727b}=pt(),{toBuffer:_0x46abb0}=ce(),_0x56a1b7=0x1e*0x3e8,_0x527b46=Symbol('kAborted'),_0x4c00b4=[0x8,0xd],_0x4f02b5=[_0x38e69f(0x10b),_0x38e69f(0x25f),_0x38e69f(0x185),'CLOSED'],_0x130a71=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53223e extends _0x3d05e0{constructor(_0x20d772,_0x5b991c,_0x4c5a1c){const _0x21dbe2=_0x38e69f;super(),this[_0x21dbe2(0x17f)]=_0x42ab9d[0x0],this[_0x21dbe2(0x27f)]=0x3ee,this[_0x21dbe2(0x174)]=!0x1,this[_0x21dbe2(0x28c)]=!0x1,this[_0x21dbe2(0x1eb)]=_0x180b58,this[_0x21dbe2(0x274)]=null,this[_0x21dbe2(0x15d)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x21dbe2(0x20a)]='',this[_0x21dbe2(0x29b)]=_0x53223e[_0x21dbe2(0x10b)],this[_0x21dbe2(0x270)]=null,this[_0x21dbe2(0x20d)]=null,this[_0x21dbe2(0x127)]=null,_0x20d772!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x21dbe2(0x1f4)]=0x0,_0x5b991c===void 0x0?_0x5b991c=[]:Array[_0x21dbe2(0x156)](_0x5b991c)||(typeof _0x5b991c=='object'&&_0x5b991c!==null?(_0x4c5a1c=_0x5b991c,_0x5b991c=[]):_0x5b991c=[_0x5b991c]),_0xde710d(this,_0x20d772,_0x5b991c,_0x4c5a1c)):(this['_autoPong']=_0x4c5a1c[_0x21dbe2(0x1cf)],this[_0x21dbe2(0x1ef)]=!0x0);}get[_0x38e69f(0x1fc)](){const _0x19efbf=_0x38e69f;return this[_0x19efbf(0x17f)];}set[_0x38e69f(0x1fc)](_0x52d313){const _0x3e27c9=_0x38e69f;_0x42ab9d[_0x3e27c9(0x1e6)](_0x52d313)&&(this[_0x3e27c9(0x17f)]=_0x52d313,this[_0x3e27c9(0x270)]&&(this[_0x3e27c9(0x270)][_0x3e27c9(0x17f)]=_0x52d313));}get[_0x38e69f(0x188)](){const _0x49d04a=_0x38e69f;return this[_0x49d04a(0x127)]?this['_socket'][_0x49d04a(0x217)][_0x49d04a(0x23a)]+this[_0x49d04a(0x20d)]['_bufferedBytes']:this[_0x49d04a(0x200)];}get[_0x38e69f(0x1b8)](){const _0x2d1d7b=_0x38e69f;return Object['keys'](this['_extensions'])[_0x2d1d7b(0x225)]();}get[_0x38e69f(0x1cc)](){const _0x1e6882=_0x38e69f;return this[_0x1e6882(0x131)];}get[_0x38e69f(0x246)](){return null;}get[_0x38e69f(0x224)](){return null;}get[_0x38e69f(0x180)](){return null;}get[_0x38e69f(0x16b)](){return null;}get[_0x38e69f(0x182)](){const _0x31a8c3=_0x38e69f;return this[_0x31a8c3(0x20a)];}get[_0x38e69f(0x15b)](){const _0x5c9b51=_0x38e69f;return this[_0x5c9b51(0x29b)];}get[_0x38e69f(0x233)](){const _0x53b706=_0x38e69f;return this[_0x53b706(0x212)];}[_0x38e69f(0x1be)](_0x420cdb,_0x402b34,_0xea48b7){const _0x5b0c15=_0x38e69f,_0x153776=new _0x4306db({'allowSynchronousEvents':_0xea48b7[_0x5b0c15(0x16e)],'binaryType':this[_0x5b0c15(0x1fc)],'extensions':this[_0x5b0c15(0x279)],'isServer':this['_isServer'],'maxPayload':_0xea48b7[_0x5b0c15(0x11a)],'skipUTF8Validation':_0xea48b7[_0x5b0c15(0x102)]}),_0x2d1320=new _0x54a71c(_0x420cdb,this[_0x5b0c15(0x279)],_0xea48b7[_0x5b0c15(0x275)]);this[_0x5b0c15(0x270)]=_0x153776,this[_0x5b0c15(0x20d)]=_0x2d1320,this['_socket']=_0x420cdb,_0x153776[_0xc1f977]=this,_0x2d1320[_0xc1f977]=this,_0x420cdb[_0xc1f977]=this,_0x153776['on'](_0x5b0c15(0x1a8),_0x3efa5b),_0x153776['on']('drain',_0x3beb78),_0x153776['on'](_0x5b0c15(0x1f6),_0x2af038),_0x153776['on'](_0x5b0c15(0x28b),_0x4f2bc9),_0x153776['on'](_0x5b0c15(0x29e),_0x2abe42),_0x153776['on'](_0x5b0c15(0x299),_0x5312a6),_0x2d1320[_0x5b0c15(0x224)]=_0x38560b,_0x420cdb[_0x5b0c15(0xfc)]&&_0x420cdb['setTimeout'](0x0),_0x420cdb[_0x5b0c15(0x26b)]&&_0x420cdb[_0x5b0c15(0x26b)](),_0x402b34['length']>0x0&&_0x420cdb[_0x5b0c15(0x242)](_0x402b34),_0x420cdb['on']('close',_0x13e30a),_0x420cdb['on'](_0x5b0c15(0x211),_0x5d9767),_0x420cdb['on'](_0x5b0c15(0x1f1),_0x3a9bc6),_0x420cdb['on'](_0x5b0c15(0x1f6),_0x123c9b),this['_readyState']=_0x53223e[_0x5b0c15(0x25f)],this[_0x5b0c15(0x282)](_0x5b0c15(0x247));}[_0x38e69f(0x278)](){const _0x277d64=_0x38e69f;if(!this[_0x277d64(0x127)]){this[_0x277d64(0x29b)]=_0x53223e[_0x277d64(0x29d)],this[_0x277d64(0x282)](_0x277d64(0x23d),this[_0x277d64(0x27f)],this[_0x277d64(0x1eb)]);return;}this[_0x277d64(0x279)][_0x3f9464['extensionName']]&&this[_0x277d64(0x279)][_0x3f9464[_0x277d64(0x1ba)]][_0x277d64(0x1aa)](),this['_receiver'][_0x277d64(0x240)](),this[_0x277d64(0x29b)]=_0x53223e['CLOSED'],this[_0x277d64(0x282)](_0x277d64(0x23d),this[_0x277d64(0x27f)],this['_closeMessage']);}[_0x38e69f(0x23d)](_0x46da79,_0x546dc8){const _0x1bb753=_0x38e69f;if(this['readyState']!==_0x53223e[_0x1bb753(0x29d)]){if(this[_0x1bb753(0x15b)]===_0x53223e[_0x1bb753(0x10b)]){_0x5aca00(this,this[_0x1bb753(0x13a)],_0x1bb753(0x15f));return;}if(this[_0x1bb753(0x15b)]===_0x53223e['CLOSING']){this['_closeFrameSent']&&(this[_0x1bb753(0x174)]||this[_0x1bb753(0x270)][_0x1bb753(0x217)][_0x1bb753(0x208)])&&this[_0x1bb753(0x127)][_0x1bb753(0x1f1)]();return;}this['_readyState']=_0x53223e[_0x1bb753(0x185)],this[_0x1bb753(0x20d)][_0x1bb753(0x23d)](_0x46da79,_0x546dc8,!this[_0x1bb753(0x1ef)],_0x5c2191=>{const _0x27409d=_0x1bb753;_0x5c2191||(this[_0x27409d(0x28c)]=!0x0,(this[_0x27409d(0x174)]||this[_0x27409d(0x270)][_0x27409d(0x217)][_0x27409d(0x208)])&&this[_0x27409d(0x127)][_0x27409d(0x1f1)]());}),_0x3d4e53(this);}}[_0x38e69f(0x163)](){const _0x8dbc4a=_0x38e69f;this[_0x8dbc4a(0x15b)]===_0x53223e[_0x8dbc4a(0x10b)]||this[_0x8dbc4a(0x15b)]===_0x53223e[_0x8dbc4a(0x29d)]||(this[_0x8dbc4a(0x131)]=!0x0,this[_0x8dbc4a(0x127)][_0x8dbc4a(0x163)]());}[_0x38e69f(0x29e)](_0x533c51,_0x30c0c3,_0x37ec72){const _0x380b75=_0x38e69f;if(this[_0x380b75(0x15b)]===_0x53223e[_0x380b75(0x10b)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x533c51==_0x380b75(0x21a)?(_0x37ec72=_0x533c51,_0x533c51=_0x30c0c3=void 0x0):typeof _0x30c0c3==_0x380b75(0x21a)&&(_0x37ec72=_0x30c0c3,_0x30c0c3=void 0x0),typeof _0x533c51==_0x380b75(0x273)&&(_0x533c51=_0x533c51[_0x380b75(0x1fd)]()),this[_0x380b75(0x15b)]!==_0x53223e['OPEN']){_0x35d75e(this,_0x533c51,_0x37ec72);return;}_0x30c0c3===void 0x0&&(_0x30c0c3=!this[_0x380b75(0x1ef)]),this[_0x380b75(0x20d)]['ping'](_0x533c51||_0x180b58,_0x30c0c3,_0x37ec72);}[_0x38e69f(0x299)](_0x31138e,_0x18c629,_0x2ab421){const _0xf34d52=_0x38e69f;if(this[_0xf34d52(0x15b)]===_0x53223e[_0xf34d52(0x10b)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x31138e==_0xf34d52(0x21a)?(_0x2ab421=_0x31138e,_0x31138e=_0x18c629=void 0x0):typeof _0x18c629==_0xf34d52(0x21a)&&(_0x2ab421=_0x18c629,_0x18c629=void 0x0),typeof _0x31138e=='number'&&(_0x31138e=_0x31138e[_0xf34d52(0x1fd)]()),this[_0xf34d52(0x15b)]!==_0x53223e['OPEN']){_0x35d75e(this,_0x31138e,_0x2ab421);return;}_0x18c629===void 0x0&&(_0x18c629=!this['_isServer']),this['_sender'][_0xf34d52(0x299)](_0x31138e||_0x180b58,_0x18c629,_0x2ab421);}[_0x38e69f(0xfa)](){const _0x289fad=_0x38e69f;this[_0x289fad(0x15b)]===_0x53223e['CONNECTING']||this[_0x289fad(0x15b)]===_0x53223e[_0x289fad(0x29d)]||(this[_0x289fad(0x131)]=!0x1,this[_0x289fad(0x270)][_0x289fad(0x217)][_0x289fad(0x151)]||this[_0x289fad(0x127)][_0x289fad(0xfa)]());}['send'](_0x5f2912,_0x2cac6d,_0x4820ad){const _0x3783b3=_0x38e69f;if(this[_0x3783b3(0x15b)]===_0x53223e['CONNECTING'])throw new Error(_0x3783b3(0x257));if(typeof _0x2cac6d=='function'&&(_0x4820ad=_0x2cac6d,_0x2cac6d={}),typeof _0x5f2912==_0x3783b3(0x273)&&(_0x5f2912=_0x5f2912[_0x3783b3(0x1fd)]()),this['readyState']!==_0x53223e['OPEN']){_0x35d75e(this,_0x5f2912,_0x4820ad);return;}const _0x5411f5={'binary':typeof _0x5f2912!=_0x3783b3(0x15e),'mask':!this[_0x3783b3(0x1ef)],'compress':!0x0,'fin':!0x0,..._0x2cac6d};this[_0x3783b3(0x279)][_0x3f9464[_0x3783b3(0x1ba)]]||(_0x5411f5[_0x3783b3(0x294)]=!0x1),this[_0x3783b3(0x20d)]['send'](_0x5f2912||_0x180b58,_0x5411f5,_0x4820ad);}[_0x38e69f(0x11e)](){const _0x1bd4b6=_0x38e69f;if(this[_0x1bd4b6(0x15b)]!==_0x53223e['CLOSED']){if(this[_0x1bd4b6(0x15b)]===_0x53223e[_0x1bd4b6(0x10b)]){_0x5aca00(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x1bd4b6(0x29b)]=_0x53223e[_0x1bd4b6(0x185)],this[_0x1bd4b6(0x127)][_0x1bd4b6(0x1e5)]());}}}Object['defineProperty'](_0x53223e,_0x38e69f(0x10b),{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x10b))}),Object[_0x38e69f(0x1ff)](_0x53223e[_0x38e69f(0x101)],'CONNECTING',{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x10b))}),Object[_0x38e69f(0x1ff)](_0x53223e,_0x38e69f(0x25f),{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x25f))}),Object['defineProperty'](_0x53223e[_0x38e69f(0x101)],_0x38e69f(0x25f),{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x25f))}),Object[_0x38e69f(0x1ff)](_0x53223e,'CLOSING',{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)]('CLOSING')}),Object[_0x38e69f(0x1ff)](_0x53223e[_0x38e69f(0x101)],'CLOSING',{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x185))}),Object[_0x38e69f(0x1ff)](_0x53223e,_0x38e69f(0x29d),{'enumerable':!0x0,'value':_0x4f02b5['indexOf'](_0x38e69f(0x29d))}),Object[_0x38e69f(0x1ff)](_0x53223e[_0x38e69f(0x101)],'CLOSED',{'enumerable':!0x0,'value':_0x4f02b5[_0x38e69f(0x122)](_0x38e69f(0x29d))}),['binaryType',_0x38e69f(0x188),_0x38e69f(0x1b8),_0x38e69f(0x1cc),_0x38e69f(0x182),_0x38e69f(0x15b),_0x38e69f(0x233)][_0x38e69f(0x196)](_0x3035b5=>{const _0x3466a5=_0x38e69f;Object[_0x3466a5(0x1ff)](_0x53223e[_0x3466a5(0x101)],_0x3035b5,{'enumerable':!0x0});}),[_0x38e69f(0x247),'error',_0x38e69f(0x23d),_0x38e69f(0x28b)][_0x38e69f(0x196)](_0x3a94df=>{const _0x3531c2=_0x38e69f;Object[_0x3531c2(0x1ff)](_0x53223e[_0x3531c2(0x101)],'on'+_0x3a94df,{'enumerable':!0x0,'get'(){const _0x250391=_0x3531c2;for(const _0x4e48d8 of this[_0x250391(0x239)](_0x3a94df))if(_0x4e48d8[_0x482e91])return _0x4e48d8[_0x3213db];return null;},'set'(_0x4e7014){const _0xdb86e=_0x3531c2;for(const _0xed1d8f of this[_0xdb86e(0x239)](_0x3a94df))if(_0xed1d8f[_0x482e91]){this[_0xdb86e(0x281)](_0x3a94df,_0xed1d8f);break;}typeof _0x4e7014=='function'&&this['addEventListener'](_0x3a94df,_0x4e7014,{[_0x482e91]:!0x0});}});}),_0x53223e[_0x38e69f(0x101)][_0x38e69f(0x1bf)]=_0x5a0e1d,_0x53223e[_0x38e69f(0x101)][_0x38e69f(0x24b)]=_0x7b72dc,we=_0x53223e;function _0xde710d(_0x1b6e7f,_0x28c16f,_0x497b5e,_0x251606){const _0x1aa1bb=_0x38e69f,_0x55122f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4c00b4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x251606,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1b6e7f[_0x1aa1bb(0x228)]=_0x55122f['autoPong'],!_0x4c00b4['includes'](_0x55122f[_0x1aa1bb(0x106)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x55122f[_0x1aa1bb(0x106)]+_0x1aa1bb(0x209)+_0x4c00b4[_0x1aa1bb(0x225)](',\x20')+')');let _0x387cf1;if(_0x28c16f instanceof _0x55e904)_0x387cf1=_0x28c16f;else try{_0x387cf1=new _0x55e904(_0x28c16f);}catch{throw new SyntaxError(_0x1aa1bb(0x22d)+_0x28c16f);}_0x387cf1[_0x1aa1bb(0x182)]===_0x1aa1bb(0xf4)?_0x387cf1['protocol']='ws:':_0x387cf1['protocol']===_0x1aa1bb(0x1ae)&&(_0x387cf1[_0x1aa1bb(0x182)]=_0x1aa1bb(0x103)),_0x1b6e7f[_0x1aa1bb(0x212)]=_0x387cf1[_0x1aa1bb(0x12e)];const _0xe3b291=_0x387cf1[_0x1aa1bb(0x182)]===_0x1aa1bb(0x103),_0x1f06c1=_0x387cf1['protocol']==='ws+unix:';let _0x147405;if(_0x387cf1['protocol']!==_0x1aa1bb(0x19c)&&!_0xe3b291&&!_0x1f06c1?_0x147405=_0x1aa1bb(0x19e):_0x1f06c1&&!_0x387cf1[_0x1aa1bb(0x17c)]?_0x147405=_0x1aa1bb(0x141):_0x387cf1[_0x1aa1bb(0x23e)]&&(_0x147405=_0x1aa1bb(0x263)),_0x147405){const _0x2fe76a=new SyntaxError(_0x147405);if(_0x1b6e7f[_0x1aa1bb(0x1f4)]===0x0)throw _0x2fe76a;_0x1e1832(_0x1b6e7f,_0x2fe76a);return;}const _0x3d50c2=_0xe3b291?0x1bb:0x50,_0x34edd4=_0x3c3a32(0x10)[_0x1aa1bb(0x1fd)]('base64'),_0x16bd37=_0xe3b291?_0x48ed7f[_0x1aa1bb(0x142)]:_0x17c0f2[_0x1aa1bb(0x142)],_0x3e3eb6=new Set();let _0x35758b;if(_0x55122f[_0x1aa1bb(0x11c)]=_0x55122f[_0x1aa1bb(0x11c)]||(_0xe3b291?_0x158101:_0x39c0eb),_0x55122f[_0x1aa1bb(0x226)]=_0x55122f[_0x1aa1bb(0x226)]||_0x3d50c2,_0x55122f[_0x1aa1bb(0x169)]=_0x387cf1['port']||_0x3d50c2,_0x55122f['host']=_0x387cf1[_0x1aa1bb(0x13c)][_0x1aa1bb(0x22c)]('[')?_0x387cf1[_0x1aa1bb(0x13c)]['slice'](0x1,-0x1):_0x387cf1[_0x1aa1bb(0x13c)],_0x55122f[_0x1aa1bb(0x148)]={..._0x55122f[_0x1aa1bb(0x148)],'Sec-WebSocket-Version':_0x55122f[_0x1aa1bb(0x106)],'Sec-WebSocket-Key':_0x34edd4,'Connection':'Upgrade','Upgrade':_0x1aa1bb(0x14d)},_0x55122f['path']=_0x387cf1[_0x1aa1bb(0x17c)]+_0x387cf1['search'],_0x55122f['timeout']=_0x55122f[_0x1aa1bb(0x191)],_0x55122f[_0x1aa1bb(0x295)]&&(_0x35758b=new _0x3f9464(_0x55122f['perMessageDeflate']!==!0x0?_0x55122f[_0x1aa1bb(0x295)]:{},!0x1,_0x55122f[_0x1aa1bb(0x11a)]),_0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x265)]=_0x13cfa2({[_0x3f9464[_0x1aa1bb(0x1ba)]]:_0x35758b['offer']()})),_0x497b5e[_0x1aa1bb(0x23a)]){for(const _0x33daed of _0x497b5e){if(typeof _0x33daed!=_0x1aa1bb(0x15e)||!_0x130a71[_0x1aa1bb(0x1a9)](_0x33daed)||_0x3e3eb6[_0x1aa1bb(0x123)](_0x33daed))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3e3eb6[_0x1aa1bb(0x22b)](_0x33daed);}_0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x150)]=_0x497b5e[_0x1aa1bb(0x225)](',');}if(_0x55122f[_0x1aa1bb(0x189)]&&(_0x55122f[_0x1aa1bb(0x106)]<0xd?_0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x1b1)]=_0x55122f[_0x1aa1bb(0x189)]:_0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x100)]=_0x55122f[_0x1aa1bb(0x189)]),(_0x387cf1[_0x1aa1bb(0x24c)]||_0x387cf1[_0x1aa1bb(0x136)])&&(_0x55122f[_0x1aa1bb(0x152)]=_0x387cf1[_0x1aa1bb(0x24c)]+':'+_0x387cf1[_0x1aa1bb(0x136)]),_0x1f06c1){const _0x55acf4=_0x55122f[_0x1aa1bb(0x206)][_0x1aa1bb(0x1b4)](':');_0x55122f[_0x1aa1bb(0x1a1)]=_0x55acf4[0x0],_0x55122f['path']=_0x55acf4[0x1];}let _0x5d0796;if(_0x55122f[_0x1aa1bb(0x201)]){if(_0x1b6e7f[_0x1aa1bb(0x1f4)]===0x0){_0x1b6e7f[_0x1aa1bb(0x251)]=_0x1f06c1,_0x1b6e7f['_originalSecure']=_0xe3b291,_0x1b6e7f[_0x1aa1bb(0x26e)]=_0x1f06c1?_0x55122f[_0x1aa1bb(0x1a1)]:_0x387cf1[_0x1aa1bb(0x12b)];const _0x51d3cb=_0x251606&&_0x251606[_0x1aa1bb(0x148)];if(_0x251606={..._0x251606,'headers':{}},_0x51d3cb){for(const [_0xa8c67d,_0x208941]of Object[_0x1aa1bb(0x252)](_0x51d3cb))_0x251606['headers'][_0xa8c67d[_0x1aa1bb(0x120)]()]=_0x208941;}}else{if(_0x1b6e7f[_0x1aa1bb(0x1c4)](_0x1aa1bb(0x262))===0x0){const _0x4def6c=_0x1f06c1?_0x1b6e7f[_0x1aa1bb(0x251)]?_0x55122f['socketPath']===_0x1b6e7f[_0x1aa1bb(0x26e)]:!0x1:_0x1b6e7f['_originalIpc']?!0x1:_0x387cf1[_0x1aa1bb(0x12b)]===_0x1b6e7f['_originalHostOrSocketPath'];(!_0x4def6c||_0x1b6e7f[_0x1aa1bb(0x238)]&&!_0xe3b291)&&(delete _0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x134)],delete _0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x158)],_0x4def6c||delete _0x55122f[_0x1aa1bb(0x148)][_0x1aa1bb(0x12b)],_0x55122f[_0x1aa1bb(0x152)]=void 0x0);}}_0x55122f[_0x1aa1bb(0x152)]&&!_0x251606[_0x1aa1bb(0x148)]['authorization']&&(_0x251606[_0x1aa1bb(0x148)][_0x1aa1bb(0x134)]=_0x1aa1bb(0x264)+Buffer[_0x1aa1bb(0x1ad)](_0x55122f[_0x1aa1bb(0x152)])[_0x1aa1bb(0x1fd)](_0x1aa1bb(0x15c))),_0x5d0796=_0x1b6e7f[_0x1aa1bb(0x13a)]=_0x16bd37(_0x55122f),_0x1b6e7f['_redirects']&&_0x1b6e7f[_0x1aa1bb(0x282)](_0x1aa1bb(0x262),_0x1b6e7f[_0x1aa1bb(0x233)],_0x5d0796);}else _0x5d0796=_0x1b6e7f[_0x1aa1bb(0x13a)]=_0x16bd37(_0x55122f);_0x55122f['timeout']&&_0x5d0796['on'](_0x1aa1bb(0x161),()=>{const _0x5b5ec3=_0x1aa1bb;_0x5aca00(_0x1b6e7f,_0x5d0796,_0x5b5ec3(0x1c3));}),_0x5d0796['on']('error',_0x527328=>{const _0xfb3b18=_0x1aa1bb;_0x5d0796===null||_0x5d0796[_0x527b46]||(_0x5d0796=_0x1b6e7f[_0xfb3b18(0x13a)]=null,_0x1e1832(_0x1b6e7f,_0x527328));}),_0x5d0796['on'](_0x1aa1bb(0x285),_0x437903=>{const _0x3ee657=_0x1aa1bb,_0x2b52b9=_0x437903[_0x3ee657(0x148)][_0x3ee657(0x27e)],_0x207061=_0x437903[_0x3ee657(0xf9)];if(_0x2b52b9&&_0x55122f[_0x3ee657(0x201)]&&_0x207061>=0x12c&&_0x207061<0x190){if(++_0x1b6e7f[_0x3ee657(0x1f4)]>_0x55122f[_0x3ee657(0x205)]){_0x5aca00(_0x1b6e7f,_0x5d0796,_0x3ee657(0xf0));return;}_0x5d0796[_0x3ee657(0x234)]();let _0x1357dc;try{_0x1357dc=new _0x55e904(_0x2b52b9,_0x28c16f);}catch{const _0x595f2b=new SyntaxError(_0x3ee657(0x22d)+_0x2b52b9);_0x1e1832(_0x1b6e7f,_0x595f2b);return;}_0xde710d(_0x1b6e7f,_0x1357dc,_0x497b5e,_0x251606);}else _0x1b6e7f[_0x3ee657(0x282)]('unexpected-response',_0x5d0796,_0x437903)||_0x5aca00(_0x1b6e7f,_0x5d0796,'Unexpected\x20server\x20response:\x20'+_0x437903[_0x3ee657(0xf9)]);}),_0x5d0796['on']('upgrade',(_0x484572,_0x3849f,_0x4cd39d)=>{const _0x36907c=_0x1aa1bb;if(_0x1b6e7f[_0x36907c(0x282)](_0x36907c(0x219),_0x484572),_0x1b6e7f[_0x36907c(0x15b)]!==_0x53223e[_0x36907c(0x10b)])return;_0x5d0796=_0x1b6e7f[_0x36907c(0x13a)]=null;const _0x143750=_0x484572[_0x36907c(0x148)][_0x36907c(0x219)];if(_0x143750===void 0x0||_0x143750[_0x36907c(0x120)]()!==_0x36907c(0x14d)){_0x5aca00(_0x1b6e7f,_0x3849f,_0x36907c(0x11b));return;}const _0x1eb7d5=_0x30d0ac(_0x36907c(0xfe))[_0x36907c(0x110)](_0x34edd4+_0x1ea154)[_0x36907c(0x284)]('base64');if(_0x484572[_0x36907c(0x148)][_0x36907c(0x1b6)]!==_0x1eb7d5){_0x5aca00(_0x1b6e7f,_0x3849f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x59a74b=_0x484572['headers'][_0x36907c(0x13b)];let _0xaf54a4;if(_0x59a74b!==void 0x0?_0x3e3eb6['size']?_0x3e3eb6['has'](_0x59a74b)||(_0xaf54a4=_0x36907c(0x19a)):_0xaf54a4=_0x36907c(0x160):_0x3e3eb6['size']&&(_0xaf54a4=_0x36907c(0x114)),_0xaf54a4){_0x5aca00(_0x1b6e7f,_0x3849f,_0xaf54a4);return;}_0x59a74b&&(_0x1b6e7f[_0x36907c(0x20a)]=_0x59a74b);const _0x1fe64a=_0x484572[_0x36907c(0x148)]['sec-websocket-extensions'];if(_0x1fe64a!==void 0x0){if(!_0x35758b){_0x5aca00(_0x1b6e7f,_0x3849f,_0x36907c(0x1f9));return;}let _0x465f55;try{_0x465f55=_0x55727b(_0x1fe64a);}catch{_0x5aca00(_0x1b6e7f,_0x3849f,_0x36907c(0x1e1));return;}const _0x2c991e=Object[_0x36907c(0x1d6)](_0x465f55);if(_0x2c991e['length']!==0x1||_0x2c991e[0x0]!==_0x3f9464[_0x36907c(0x1ba)]){_0x5aca00(_0x1b6e7f,_0x3849f,_0x36907c(0x197));return;}try{_0x35758b[_0x36907c(0x1b5)](_0x465f55[_0x3f9464[_0x36907c(0x1ba)]]);}catch{_0x5aca00(_0x1b6e7f,_0x3849f,_0x36907c(0x1e1));return;}_0x1b6e7f[_0x36907c(0x279)][_0x3f9464['extensionName']]=_0x35758b;}_0x1b6e7f['setSocket'](_0x3849f,_0x4cd39d,{'allowSynchronousEvents':_0x55122f[_0x36907c(0x16e)],'generateMask':_0x55122f['generateMask'],'maxPayload':_0x55122f['maxPayload'],'skipUTF8Validation':_0x55122f[_0x36907c(0x102)]});}),_0x55122f[_0x1aa1bb(0x108)]?_0x55122f[_0x1aa1bb(0x108)](_0x5d0796,_0x1b6e7f):_0x5d0796[_0x1aa1bb(0x1f1)]();}function _0x1e1832(_0x256b04,_0x39d930){const _0x41ef99=_0x38e69f;_0x256b04[_0x41ef99(0x29b)]=_0x53223e[_0x41ef99(0x185)],_0x256b04[_0x41ef99(0x15d)]=!0x0,_0x256b04[_0x41ef99(0x282)](_0x41ef99(0x1f6),_0x39d930),_0x256b04[_0x41ef99(0x278)]();}function _0x39c0eb(_0x388271){const _0x3321d2=_0x38e69f;return _0x388271['path']=_0x388271[_0x3321d2(0x1a1)],_0x186658[_0x3321d2(0x24d)](_0x388271);}function _0x158101(_0x1123a7){const _0x468b33=_0x38e69f;return _0x1123a7[_0x468b33(0x206)]=void 0x0,!_0x1123a7[_0x468b33(0x223)]&&_0x1123a7[_0x468b33(0x223)]!==''&&(_0x1123a7['servername']=_0x186658[_0x468b33(0x245)](_0x1123a7[_0x468b33(0x12b)])?'':_0x1123a7[_0x468b33(0x12b)]),_0x15f325[_0x468b33(0x24d)](_0x1123a7);}function _0x5aca00(_0x50f35b,_0x2f905e,_0x5d3cbc){const _0x2ad9cd=_0x38e69f;_0x50f35b[_0x2ad9cd(0x29b)]=_0x53223e['CLOSING'];const _0x3fb430=new Error(_0x5d3cbc);Error[_0x2ad9cd(0x1e9)](_0x3fb430,_0x5aca00),_0x2f905e[_0x2ad9cd(0x1af)]?(_0x2f905e[_0x527b46]=!0x0,_0x2f905e['abort'](),_0x2f905e[_0x2ad9cd(0x27c)]&&!_0x2f905e[_0x2ad9cd(0x27c)][_0x2ad9cd(0x25c)]&&_0x2f905e[_0x2ad9cd(0x27c)]['destroy'](),process['nextTick'](_0x1e1832,_0x50f35b,_0x3fb430)):(_0x2f905e[_0x2ad9cd(0x1e5)](_0x3fb430),_0x2f905e['once']('error',_0x50f35b['emit'][_0x2ad9cd(0x17e)](_0x50f35b,'error')),_0x2f905e[_0x2ad9cd(0x1d2)]('close',_0x50f35b[_0x2ad9cd(0x278)][_0x2ad9cd(0x17e)](_0x50f35b)));}function _0x35d75e(_0x2ff2e1,_0x125625,_0x427d2c){const _0x2f28f4=_0x38e69f;if(_0x125625){const _0x471213=_0x206baa(_0x125625)?_0x125625[_0x2f28f4(0x190)]:_0x46abb0(_0x125625)[_0x2f28f4(0x23a)];_0x2ff2e1[_0x2f28f4(0x127)]?_0x2ff2e1['_sender'][_0x2f28f4(0x199)]+=_0x471213:_0x2ff2e1[_0x2f28f4(0x200)]+=_0x471213;}if(_0x427d2c){const _0x493945=new Error(_0x2f28f4(0x24f)+_0x2ff2e1[_0x2f28f4(0x15b)]+'\x20('+_0x4f02b5[_0x2ff2e1[_0x2f28f4(0x15b)]]+')');process['nextTick'](_0x427d2c,_0x493945);}}function _0x3efa5b(_0x41d137,_0xb1d24b){const _0x5e14e2=_0x38e69f,_0x262277=this[_0xc1f977];_0x262277[_0x5e14e2(0x174)]=!0x0,_0x262277[_0x5e14e2(0x1eb)]=_0xb1d24b,_0x262277[_0x5e14e2(0x27f)]=_0x41d137,_0x262277[_0x5e14e2(0x127)][_0xc1f977]!==void 0x0&&(_0x262277[_0x5e14e2(0x127)][_0x5e14e2(0x281)](_0x5e14e2(0x211),_0x5d9767),process['nextTick'](_0x2e2cf8,_0x262277[_0x5e14e2(0x127)]),_0x41d137===0x3ed?_0x262277['close']():_0x262277[_0x5e14e2(0x23d)](_0x41d137,_0xb1d24b));}function _0x3beb78(){const _0x42812d=_0x38e69f,_0x160f7c=this[_0xc1f977];_0x160f7c[_0x42812d(0x1cc)]||_0x160f7c[_0x42812d(0x127)][_0x42812d(0xfa)]();}function _0x2af038(_0x17e28a){const _0x448f60=_0x38e69f,_0x1f3ad4=this[_0xc1f977];_0x1f3ad4[_0x448f60(0x127)][_0xc1f977]!==void 0x0&&(_0x1f3ad4[_0x448f60(0x127)][_0x448f60(0x281)](_0x448f60(0x211),_0x5d9767),process['nextTick'](_0x2e2cf8,_0x1f3ad4[_0x448f60(0x127)]),_0x1f3ad4[_0x448f60(0x23d)](_0x17e28a[_0x34a74d])),_0x1f3ad4['_errorEmitted']||(_0x1f3ad4[_0x448f60(0x15d)]=!0x0,_0x1f3ad4[_0x448f60(0x282)](_0x448f60(0x1f6),_0x17e28a));}function _0x18ea71(){const _0x65599d=_0x38e69f;this[_0xc1f977][_0x65599d(0x278)]();}function _0x4f2bc9(_0xd01c06,_0x41a319){const _0x4b68ed=_0x38e69f;this[_0xc1f977][_0x4b68ed(0x282)]('message',_0xd01c06,_0x41a319);}function _0x2abe42(_0x2e3ada){const _0x1d16cb=_0x38e69f,_0x263920=this[_0xc1f977];_0x263920[_0x1d16cb(0x228)]&&_0x263920['pong'](_0x2e3ada,!this[_0x1d16cb(0x1ef)],_0x49193d),_0x263920[_0x1d16cb(0x282)](_0x1d16cb(0x29e),_0x2e3ada);}function _0x5312a6(_0x5478cc){const _0x14f28e=_0x38e69f;this[_0xc1f977][_0x14f28e(0x282)](_0x14f28e(0x299),_0x5478cc);}function _0x2e2cf8(_0x565da2){const _0x26f7dd=_0x38e69f;_0x565da2[_0x26f7dd(0xfa)]();}function _0x38560b(_0x2c90fe){const _0x551319=_0x38e69f,_0x20fbe4=this[_0xc1f977];_0x20fbe4[_0x551319(0x15b)]!==_0x53223e[_0x551319(0x29d)]&&(_0x20fbe4[_0x551319(0x15b)]===_0x53223e['OPEN']&&(_0x20fbe4['_readyState']=_0x53223e[_0x551319(0x185)],_0x3d4e53(_0x20fbe4)),this[_0x551319(0x127)][_0x551319(0x1f1)](),_0x20fbe4[_0x551319(0x15d)]||(_0x20fbe4['_errorEmitted']=!0x0,_0x20fbe4['emit'](_0x551319(0x1f6),_0x2c90fe)));}function _0x3d4e53(_0x41fac6){const _0x569cbf=_0x38e69f;_0x41fac6[_0x569cbf(0x274)]=setTimeout(_0x41fac6[_0x569cbf(0x127)][_0x569cbf(0x1e5)]['bind'](_0x41fac6[_0x569cbf(0x127)]),_0x56a1b7);}function _0x13e30a(){const _0xa637e4=_0x38e69f,_0x4758f2=this[_0xc1f977];this[_0xa637e4(0x281)](_0xa637e4(0x23d),_0x13e30a),this['removeListener']('data',_0x5d9767),this[_0xa637e4(0x281)](_0xa637e4(0x1f1),_0x3a9bc6),_0x4758f2[_0xa637e4(0x29b)]=_0x53223e[_0xa637e4(0x185)];let _0x5bf02b;!this['_readableState'][_0xa637e4(0x1f5)]&&!_0x4758f2[_0xa637e4(0x174)]&&!_0x4758f2[_0xa637e4(0x270)]['_writableState'][_0xa637e4(0x208)]&&(_0x5bf02b=_0x4758f2[_0xa637e4(0x127)]['read']())!==null&&_0x4758f2['_receiver'][_0xa637e4(0x27d)](_0x5bf02b),_0x4758f2[_0xa637e4(0x270)][_0xa637e4(0x1f1)](),this[_0xc1f977]=void 0x0,clearTimeout(_0x4758f2['_closeTimer']),_0x4758f2[_0xa637e4(0x270)][_0xa637e4(0x217)][_0xa637e4(0x21d)]||_0x4758f2[_0xa637e4(0x270)][_0xa637e4(0x217)][_0xa637e4(0x208)]?_0x4758f2[_0xa637e4(0x278)]():(_0x4758f2[_0xa637e4(0x270)]['on'](_0xa637e4(0x1f6),_0x18ea71),_0x4758f2[_0xa637e4(0x270)]['on']('finish',_0x18ea71));}function _0x5d9767(_0x5e82e2){const _0x2f62e9=_0x38e69f;this[_0xc1f977][_0x2f62e9(0x270)][_0x2f62e9(0x27d)](_0x5e82e2)||this[_0x2f62e9(0x163)]();}function _0x3a9bc6(){const _0x2a1f14=_0x38e69f,_0xa209f8=this[_0xc1f977];_0xa209f8[_0x2a1f14(0x29b)]=_0x53223e[_0x2a1f14(0x185)],_0xa209f8['_receiver'][_0x2a1f14(0x1f1)](),this['end']();}function _0x123c9b(){const _0x4eed77=_0x38e69f,_0x4303f9=this[_0xc1f977];this[_0x4eed77(0x281)]('error',_0x123c9b),this['on'](_0x4eed77(0x1f6),_0x49193d),_0x4303f9&&(_0x4303f9[_0x4eed77(0x29b)]=_0x53223e['CLOSING'],this[_0x4eed77(0x1e5)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x18e486}=_0x108647;function _0x144517(_0x4d8395){const _0x96f433=_0x10c0;_0x4d8395[_0x96f433(0x282)](_0x96f433(0x23d));}function _0x4ad496(){const _0x136923=_0x10c0;!this['destroyed']&&this[_0x136923(0x217)][_0x136923(0x21d)]&&this['destroy']();}function _0x522267(_0x556766){const _0x3c7624=_0x10c0;this[_0x3c7624(0x281)](_0x3c7624(0x1f6),_0x522267),this[_0x3c7624(0x1e5)](),this['listenerCount']('error')===0x0&&this['emit']('error',_0x556766);}function _0x212a81(_0x53f2e7,_0x26e317){const _0x1f79ae=_0x10c0;let _0x55f65a=!0x0;const _0xe5f18a=new _0x18e486({..._0x26e317,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x53f2e7['on'](_0x1f79ae(0x28b),function(_0x92dccc,_0x501d43){const _0x2b75d9=_0x1f79ae,_0x3956f7=!_0x501d43&&_0xe5f18a[_0x2b75d9(0x125)][_0x2b75d9(0x248)]?_0x92dccc[_0x2b75d9(0x1fd)]():_0x92dccc;_0xe5f18a['push'](_0x3956f7)||_0x53f2e7[_0x2b75d9(0x163)]();}),_0x53f2e7[_0x1f79ae(0x1d2)](_0x1f79ae(0x1f6),function(_0x21500d){const _0xa08807=_0x1f79ae;_0xe5f18a[_0xa08807(0x25c)]||(_0x55f65a=!0x1,_0xe5f18a[_0xa08807(0x1e5)](_0x21500d));}),_0x53f2e7[_0x1f79ae(0x1d2)](_0x1f79ae(0x23d),function(){const _0x5b6cad=_0x1f79ae;_0xe5f18a[_0x5b6cad(0x25c)]||_0xe5f18a[_0x5b6cad(0x1a6)](null);}),_0xe5f18a[_0x1f79ae(0x20e)]=function(_0xc176b4,_0x21de71){const _0x222774=_0x1f79ae;if(_0x53f2e7[_0x222774(0x15b)]===_0x53f2e7[_0x222774(0x29d)]){_0x21de71(_0xc176b4),process[_0x222774(0x297)](_0x144517,_0xe5f18a);return;}let _0x3230c4=!0x1;_0x53f2e7[_0x222774(0x1d2)](_0x222774(0x1f6),function(_0x2d27d4){_0x3230c4=!0x0,_0x21de71(_0x2d27d4);}),_0x53f2e7[_0x222774(0x1d2)](_0x222774(0x23d),function(){const _0x226cc7=_0x222774;_0x3230c4||_0x21de71(_0xc176b4),process[_0x226cc7(0x297)](_0x144517,_0xe5f18a);}),_0x55f65a&&_0x53f2e7['terminate']();},_0xe5f18a[_0x1f79ae(0xff)]=function(_0x499b24){const _0xdf41fa=_0x1f79ae;if(_0x53f2e7[_0xdf41fa(0x15b)]===_0x53f2e7[_0xdf41fa(0x10b)]){_0x53f2e7['once'](_0xdf41fa(0x247),function(){const _0x464a94=_0xdf41fa;_0xe5f18a[_0x464a94(0xff)](_0x499b24);});return;}_0x53f2e7[_0xdf41fa(0x127)]!==null&&(_0x53f2e7[_0xdf41fa(0x127)]['_writableState'][_0xdf41fa(0x21d)]?(_0x499b24(),_0xe5f18a['_readableState'][_0xdf41fa(0x1f5)]&&_0xe5f18a[_0xdf41fa(0x1e5)]()):(_0x53f2e7[_0xdf41fa(0x127)][_0xdf41fa(0x1d2)](_0xdf41fa(0x21f),function(){_0x499b24();}),_0x53f2e7[_0xdf41fa(0x23d)]()));},_0xe5f18a['_read']=function(){const _0x3cb980=_0x1f79ae;_0x53f2e7['isPaused']&&_0x53f2e7[_0x3cb980(0xfa)]();},_0xe5f18a[_0x1f79ae(0x1d0)]=function(_0x18d701,_0x386003,_0x313655){const _0x195e5c=_0x1f79ae;if(_0x53f2e7['readyState']===_0x53f2e7[_0x195e5c(0x10b)]){_0x53f2e7[_0x195e5c(0x1d2)](_0x195e5c(0x247),function(){const _0x2baf36=_0x195e5c;_0xe5f18a[_0x2baf36(0x1d0)](_0x18d701,_0x386003,_0x313655);});return;}_0x53f2e7['send'](_0x18d701,_0x313655);},_0xe5f18a['on'](_0x1f79ae(0x1f1),_0x4ad496),_0xe5f18a['on'](_0x1f79ae(0x1f6),_0x522267),_0xe5f18a;}return Oe=_0x212a81,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xc10c64}=ne();function _0x1ed2da(_0x2c2b36){const _0x5cec04=_0x10c0,_0x43fbdf=new Set();let _0x65c832=-0x1,_0x1a1690=-0x1,_0x150d19=0x0;for(_0x150d19;_0x150d19<_0x2c2b36[_0x5cec04(0x23a)];_0x150d19++){const _0x1ce885=_0x2c2b36[_0x5cec04(0x135)](_0x150d19);if(_0x1a1690===-0x1&&_0xc10c64[_0x1ce885]===0x1)_0x65c832===-0x1&&(_0x65c832=_0x150d19);else{if(_0x150d19!==0x0&&(_0x1ce885===0x20||_0x1ce885===0x9))_0x1a1690===-0x1&&_0x65c832!==-0x1&&(_0x1a1690=_0x150d19);else{if(_0x1ce885===0x2c){if(_0x65c832===-0x1)throw new SyntaxError(_0x5cec04(0x229)+_0x150d19);_0x1a1690===-0x1&&(_0x1a1690=_0x150d19);const _0xc66a7=_0x2c2b36[_0x5cec04(0x203)](_0x65c832,_0x1a1690);if(_0x43fbdf['has'](_0xc66a7))throw new SyntaxError(_0x5cec04(0x20c)+_0xc66a7+'\x22\x20subprotocol\x20is\x20duplicated');_0x43fbdf[_0x5cec04(0x22b)](_0xc66a7),_0x65c832=_0x1a1690=-0x1;}else throw new SyntaxError(_0x5cec04(0x229)+_0x150d19);}}}if(_0x65c832===-0x1||_0x1a1690!==-0x1)throw new SyntaxError(_0x5cec04(0x1c7));const _0x24d2ad=_0x2c2b36[_0x5cec04(0x203)](_0x65c832,_0x150d19);if(_0x43fbdf[_0x5cec04(0x123)](_0x24d2ad))throw new SyntaxError(_0x5cec04(0x20c)+_0x24d2ad+_0x5cec04(0x153));return _0x43fbdf[_0x5cec04(0x22b)](_0x24d2ad),_0x43fbdf;}return Ce={'parse':_0x1ed2da},Ce;}var Te,ot;function er(){const _0x1a6f5b=_0xccc4b8;if(ot)return Te;ot=0x1;const _0x235aed=_0x38004c,_0x5a4033=_0x55c002,{Duplex:_0x5b665c}=_0x108647,{createHash:_0x4f411c}=_0x544980,_0x28614e=pt(),_0x442968=he(),_0x4fe4ae=Jt(),_0x39db2c=Ie(),{GUID:_0x5da482,kWebSocket:_0x3b859}=V(),_0x85497=/^[+/0-9A-Za-z]{22}==$/,_0x1fdae5=0x0,_0x2362fd=0x1,_0x52bcf9=0x2;class _0x4a4559 extends _0x235aed{constructor(_0x337488,_0xfb24c3){const _0x1f5902=_0x10c0;if(super(),_0x337488={'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':_0x39db2c,..._0x337488},_0x337488[_0x1f5902(0x169)]==null&&!_0x337488[_0x1f5902(0x1c0)]&&!_0x337488[_0x1f5902(0x261)]||_0x337488[_0x1f5902(0x169)]!=null&&(_0x337488[_0x1f5902(0x1c0)]||_0x337488[_0x1f5902(0x261)])||_0x337488[_0x1f5902(0x1c0)]&&_0x337488['noServer'])throw new TypeError(_0x1f5902(0x24a));if(_0x337488[_0x1f5902(0x169)]!=null?(this[_0x1f5902(0x116)]=_0x5a4033[_0x1f5902(0x1c1)]((_0x326fc5,_0x54c5d4)=>{const _0x1a24c2=_0x1f5902,_0x1a19d0=_0x5a4033[_0x1a24c2(0x17a)][0x1aa];_0x54c5d4[_0x1a24c2(0x1a5)](0x1aa,{'Content-Length':_0x1a19d0[_0x1a24c2(0x23a)],'Content-Type':_0x1a24c2(0x227)}),_0x54c5d4[_0x1a24c2(0x1f1)](_0x1a19d0);}),this['_server'][_0x1f5902(0x1b9)](_0x337488[_0x1f5902(0x169)],_0x337488[_0x1f5902(0x12b)],_0x337488[_0x1f5902(0x15a)],_0xfb24c3)):_0x337488[_0x1f5902(0x1c0)]&&(this[_0x1f5902(0x116)]=_0x337488[_0x1f5902(0x1c0)]),this['_server']){const _0x2f2caf=this[_0x1f5902(0x282)][_0x1f5902(0x17e)](this,_0x1f5902(0x1d8));this[_0x1f5902(0x1c5)]=_0x296024(this['_server'],{'listening':this['emit']['bind'](this,'listening'),'error':this[_0x1f5902(0x282)][_0x1f5902(0x17e)](this,'error'),'upgrade':(_0x23d4f1,_0x2b6aa1,_0x59fa2c)=>{const _0x3fa2e7=_0x1f5902;this[_0x3fa2e7(0x109)](_0x23d4f1,_0x2b6aa1,_0x59fa2c,_0x2f2caf);}});}_0x337488[_0x1f5902(0x295)]===!0x0&&(_0x337488[_0x1f5902(0x295)]={}),_0x337488[_0x1f5902(0x213)]&&(this[_0x1f5902(0x24e)]=new Set(),this[_0x1f5902(0x287)]=!0x1),this['options']=_0x337488,this[_0x1f5902(0x22f)]=_0x1fdae5;}[_0x1a6f5b(0x20f)](){const _0x4409ab=_0x1a6f5b;if(this['options'][_0x4409ab(0x261)])throw new Error(_0x4409ab(0x1de));return this[_0x4409ab(0x116)]?this[_0x4409ab(0x116)]['address']():null;}[_0x1a6f5b(0x23d)](_0x232dc0){const _0x34f05a=_0x1a6f5b;if(this[_0x34f05a(0x22f)]===_0x52bcf9){_0x232dc0&&this[_0x34f05a(0x1d2)](_0x34f05a(0x23d),()=>{const _0x33c973=_0x34f05a;_0x232dc0(new Error(_0x33c973(0x235)));}),process['nextTick'](_0x2c1ba9,this);return;}if(_0x232dc0&&this['once'](_0x34f05a(0x23d),_0x232dc0),this[_0x34f05a(0x22f)]!==_0x2362fd){if(this['_state']=_0x2362fd,this[_0x34f05a(0x25a)][_0x34f05a(0x261)]||this[_0x34f05a(0x25a)][_0x34f05a(0x1c0)])this[_0x34f05a(0x116)]&&(this[_0x34f05a(0x1c5)](),this[_0x34f05a(0x1c5)]=this[_0x34f05a(0x116)]=null),this[_0x34f05a(0x24e)]?this[_0x34f05a(0x24e)]['size']?this[_0x34f05a(0x287)]=!0x0:process[_0x34f05a(0x297)](_0x2c1ba9,this):process[_0x34f05a(0x297)](_0x2c1ba9,this);else{const _0x4412e3=this[_0x34f05a(0x116)];this[_0x34f05a(0x1c5)](),this[_0x34f05a(0x1c5)]=this['_server']=null,_0x4412e3['close'](()=>{_0x2c1ba9(this);});}}}[_0x1a6f5b(0x1f3)](_0x3a5adf){const _0x68b4eb=_0x1a6f5b;if(this[_0x68b4eb(0x25a)][_0x68b4eb(0x206)]){const _0x2b308c=_0x3a5adf['url'][_0x68b4eb(0x122)]('?');if((_0x2b308c!==-0x1?_0x3a5adf[_0x68b4eb(0x233)][_0x68b4eb(0x203)](0x0,_0x2b308c):_0x3a5adf[_0x68b4eb(0x233)])!==this['options'][_0x68b4eb(0x206)])return!0x1;}return!0x0;}[_0x1a6f5b(0x109)](_0x5be22d,_0x36ccef,_0x24606a,_0x329ca4){const _0x56fc70=_0x1a6f5b;_0x36ccef['on'](_0x56fc70(0x1f6),_0x4dd034);const _0x212263=_0x5be22d[_0x56fc70(0x148)][_0x56fc70(0x175)],_0x420271=_0x5be22d[_0x56fc70(0x148)][_0x56fc70(0x219)],_0x1db06b=+_0x5be22d[_0x56fc70(0x148)][_0x56fc70(0xf6)];if(_0x5be22d[_0x56fc70(0x288)]!==_0x56fc70(0x173)){_0x2def14(this,_0x5be22d,_0x36ccef,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x420271===void 0x0||_0x420271['toLowerCase']()!==_0x56fc70(0x14d)){_0x2def14(this,_0x5be22d,_0x36ccef,0x190,_0x56fc70(0x11b));return;}if(_0x212263===void 0x0||!_0x85497[_0x56fc70(0x1a9)](_0x212263)){_0x2def14(this,_0x5be22d,_0x36ccef,0x190,_0x56fc70(0x220));return;}if(_0x1db06b!==0x8&&_0x1db06b!==0xd){_0x2def14(this,_0x5be22d,_0x36ccef,0x190,_0x56fc70(0x17d));return;}if(!this[_0x56fc70(0x1f3)](_0x5be22d)){_0x3aefa2(_0x36ccef,0x190);return;}const _0x2d26ca=_0x5be22d[_0x56fc70(0x148)][_0x56fc70(0x13b)];let _0x1ced80=new Set();if(_0x2d26ca!==void 0x0)try{_0x1ced80=_0x4fe4ae[_0x56fc70(0x111)](_0x2d26ca);}catch{_0x2def14(this,_0x5be22d,_0x36ccef,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2cc8dc=_0x5be22d[_0x56fc70(0x148)][_0x56fc70(0xf5)],_0x1d3c8f={};if(this[_0x56fc70(0x25a)][_0x56fc70(0x295)]&&_0x2cc8dc!==void 0x0){const _0x1c613f=new _0x442968(this[_0x56fc70(0x25a)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0xe69696=_0x28614e[_0x56fc70(0x111)](_0x2cc8dc);_0xe69696[_0x442968['extensionName']]&&(_0x1c613f['accept'](_0xe69696[_0x442968['extensionName']]),_0x1d3c8f[_0x442968[_0x56fc70(0x1ba)]]=_0x1c613f);}catch{_0x2def14(this,_0x5be22d,_0x36ccef,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x56fc70(0x25a)]['verifyClient']){const _0x40ec83={'origin':_0x5be22d[_0x56fc70(0x148)][''+(_0x1db06b===0x8?'sec-websocket-origin':_0x56fc70(0x189))],'secure':!!(_0x5be22d[_0x56fc70(0x27c)][_0x56fc70(0x12d)]||_0x5be22d['socket']['encrypted']),'req':_0x5be22d};if(this[_0x56fc70(0x25a)][_0x56fc70(0x214)][_0x56fc70(0x23a)]===0x2){this['options'][_0x56fc70(0x214)](_0x40ec83,(_0x60a7a5,_0xcac6d9,_0x28f817,_0x449b91)=>{const _0x5191e3=_0x56fc70;if(!_0x60a7a5)return _0x3aefa2(_0x36ccef,_0xcac6d9||0x191,_0x28f817,_0x449b91);this[_0x5191e3(0x269)](_0x1d3c8f,_0x212263,_0x1ced80,_0x5be22d,_0x36ccef,_0x24606a,_0x329ca4);});return;}if(!this[_0x56fc70(0x25a)][_0x56fc70(0x214)](_0x40ec83))return _0x3aefa2(_0x36ccef,0x191);}this[_0x56fc70(0x269)](_0x1d3c8f,_0x212263,_0x1ced80,_0x5be22d,_0x36ccef,_0x24606a,_0x329ca4);}['completeUpgrade'](_0x205bfa,_0x296085,_0x1070f7,_0x5c47bd,_0x44a9d4,_0x2b4cfe,_0x4eaefc){const _0x239836=_0x1a6f5b;if(!_0x44a9d4[_0x239836(0x129)]||!_0x44a9d4[_0x239836(0x157)])return _0x44a9d4['destroy']();if(_0x44a9d4[_0x3b859])throw new Error(_0x239836(0x1d1));if(this[_0x239836(0x22f)]>_0x1fdae5)return _0x3aefa2(_0x44a9d4,0x1f7);const _0x142700=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x239836(0x186),_0x239836(0x138)+_0x4f411c(_0x239836(0xfe))['update'](_0x296085+_0x5da482)[_0x239836(0x284)](_0x239836(0x15c))],_0x281fe1=new this['options'][(_0x239836(0x118))](null,void 0x0,this[_0x239836(0x25a)]);if(_0x1070f7[_0x239836(0x190)]){const _0x19076e=this[_0x239836(0x25a)][_0x239836(0x230)]?this['options']['handleProtocols'](_0x1070f7,_0x5c47bd):_0x1070f7[_0x239836(0x210)]()[_0x239836(0x28f)]()[_0x239836(0x13f)];_0x19076e&&(_0x142700[_0x239836(0x1a6)](_0x239836(0x207)+_0x19076e),_0x281fe1[_0x239836(0x20a)]=_0x19076e);}if(_0x205bfa[_0x442968[_0x239836(0x1ba)]]){const _0x49393d=_0x205bfa[_0x442968['extensionName']]['params'],_0xa741c5=_0x28614e['format']({[_0x442968[_0x239836(0x1ba)]]:[_0x49393d]});_0x142700[_0x239836(0x1a6)](_0x239836(0x18e)+_0xa741c5),_0x281fe1[_0x239836(0x279)]=_0x205bfa;}this['emit']('headers',_0x142700,_0x5c47bd),_0x44a9d4['write'](_0x142700[_0x239836(0x107)]('\x0d\x0a')['join']('\x0d\x0a')),_0x44a9d4[_0x239836(0x281)](_0x239836(0x1f6),_0x4dd034),_0x281fe1[_0x239836(0x1be)](_0x44a9d4,_0x2b4cfe,{'allowSynchronousEvents':this[_0x239836(0x25a)][_0x239836(0x16e)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x239836(0x25a)][_0x239836(0x102)]}),this[_0x239836(0x24e)]&&(this[_0x239836(0x24e)][_0x239836(0x22b)](_0x281fe1),_0x281fe1['on'](_0x239836(0x23d),()=>{const _0x2242a9=_0x239836;this[_0x2242a9(0x24e)][_0x2242a9(0x290)](_0x281fe1),this['_shouldEmitClose']&&!this[_0x2242a9(0x24e)][_0x2242a9(0x190)]&&process[_0x2242a9(0x297)](_0x2c1ba9,this);})),_0x4eaefc(_0x281fe1,_0x5c47bd);}}Te=_0x4a4559;function _0x296024(_0xd70247,_0x3a15db){const _0xa0244b=_0x1a6f5b;for(const _0x1c6ac4 of Object[_0xa0244b(0x1d6)](_0x3a15db))_0xd70247['on'](_0x1c6ac4,_0x3a15db[_0x1c6ac4]);return function(){const _0x23140d=_0xa0244b;for(const _0x19b6a1 of Object['keys'](_0x3a15db))_0xd70247[_0x23140d(0x281)](_0x19b6a1,_0x3a15db[_0x19b6a1]);};}function _0x2c1ba9(_0x3e4c18){const _0x4049d3=_0x1a6f5b;_0x3e4c18[_0x4049d3(0x22f)]=_0x52bcf9,_0x3e4c18['emit']('close');}function _0x4dd034(){const _0x585f8e=_0x1a6f5b;this[_0x585f8e(0x1e5)]();}function _0x3aefa2(_0x497613,_0x4a7ad8,_0x4d7d4c,_0x1f3bc1){const _0x5b23e7=_0x1a6f5b;_0x4d7d4c=_0x4d7d4c||_0x5a4033[_0x5b23e7(0x17a)][_0x4a7ad8],_0x1f3bc1={'Connection':_0x5b23e7(0x23d),'Content-Type':'text/html','Content-Length':Buffer[_0x5b23e7(0x181)](_0x4d7d4c),..._0x1f3bc1},_0x497613[_0x5b23e7(0x1d2)](_0x5b23e7(0x21f),_0x497613[_0x5b23e7(0x1e5)]),_0x497613[_0x5b23e7(0x1f1)](_0x5b23e7(0x19f)+_0x4a7ad8+'\x20'+_0x5a4033['STATUS_CODES'][_0x4a7ad8]+'\x0d\x0a'+Object[_0x5b23e7(0x1d6)](_0x1f3bc1)[_0x5b23e7(0x1cb)](_0x24717a=>_0x24717a+':\x20'+_0x1f3bc1[_0x24717a])[_0x5b23e7(0x225)]('\x0d\x0a')+_0x5b23e7(0x1a7)+_0x4d7d4c);}function _0x2def14(_0x513598,_0x442fe2,_0x1c7330,_0x5054c9,_0x128dbe){const _0x46667a=_0x1a6f5b;if(_0x513598['listenerCount'](_0x46667a(0x10d))){const _0x4f4e1b=new Error(_0x128dbe);Error[_0x46667a(0x1e9)](_0x4f4e1b,_0x2def14),_0x513598[_0x46667a(0x282)]('wsClientError',_0x4f4e1b,_0x1c7330,_0x442fe2);}else _0x3aefa2(_0x1c7330,_0x5054c9,_0x128dbe);}return Te;}er();var tr=Object[_0xccc4b8(0x1c6)],rr=(_0x450f9c,_0x1c9c64,_0x32b8c7,_0xfd82d9)=>{const _0x2e371c=_0xccc4b8;for(var _0xfdb605=_0xfd82d9>0x1?void 0x0:_0xfd82d9?tr(_0x1c9c64,_0x32b8c7):_0x1c9c64,_0x106f0e=_0x450f9c[_0x2e371c(0x23a)]-0x1,_0x22bff8;_0x106f0e>=0x0;_0x106f0e--)(_0x22bff8=_0x450f9c[_0x106f0e])&&(_0xfdb605=_0x22bff8(_0xfdb605)||_0xfdb605);return _0xfdb605;},sr=(_0x255ecd,_0x3cb791)=>(_0x2b6497,_0xa55007)=>_0x3cb791(_0x2b6497,_0xa55007,_0x255ecd);let Ne=class extends _0x5b454b{constructor(_0x5622f8){const _0x255c6b=_0xccc4b8;super(),this[_0x255c6b(0x244)]=_0x5622f8;}['createSocket'](_0x25000d){const _0x502585=_0xccc4b8;var _0x40ab96;const _0x4c609f=(_0x40ab96=this[_0x502585(0x244)][_0x502585(0x143)](Be))==null?void 0x0:_0x40ab96[_0x502585(0x26a)];try{const _0x52020b=new Qt(_0x25000d,{'headers':{..._0x4c609f}}),_0x2e2123=new _0x4c0306();return{'URL':_0x25000d,'close':(_0x1ac25e,_0x3a2088)=>{const _0x523e69=_0x502585;_0x52020b[_0x523e69(0x23d)](_0x1ac25e,_0x3a2088),_0x2e2123[_0x523e69(0x1d4)]();},'send':_0x388822=>{const _0x21277b=_0x502585;_0x52020b[_0x21277b(0x1d3)](_0x388822);},'open$':new _0x4c9a48(_0xd74838=>{const _0x3f2b4d=_0x502585,_0x13108e=_0x2b5b43=>_0xd74838[_0x3f2b4d(0x28f)](_0x2b5b43);_0x52020b[_0x3f2b4d(0x1bf)](_0x3f2b4d(0x247),_0x13108e),_0x2e2123[_0x3f2b4d(0x22b)](_0x194fa8(()=>_0x52020b['removeEventListener'](_0x3f2b4d(0x247),_0x13108e)));})[_0x502585(0x237)](_0x4022af()),'close$':new _0x4c9a48(_0xe48aeb=>{const _0xb09a2f=_0x502585,_0x1bd103=_0xe6397f=>_0xe48aeb[_0xb09a2f(0x28f)](_0xe6397f);_0x52020b[_0xb09a2f(0x1bf)](_0xb09a2f(0x23d),_0x1bd103),_0x2e2123[_0xb09a2f(0x22b)](_0x194fa8(()=>_0x52020b['removeEventListener']('close',_0x1bd103)));})[_0x502585(0x237)](_0x4022af()),'error$':new _0x4c9a48(_0x3c10f3=>{const _0x1b1472=_0x502585,_0x24860d=_0x5c2870=>_0x3c10f3[_0x1b1472(0x28f)](_0x5c2870);_0x52020b[_0x1b1472(0x1bf)](_0x1b1472(0x1f6),_0x24860d),_0x2e2123[_0x1b1472(0x22b)](_0x194fa8(()=>_0x52020b[_0x1b1472(0x24b)](_0x1b1472(0x1f6),_0x24860d)));})[_0x502585(0x237)](_0x4022af()),'message$':new _0x4c9a48(_0x52bb89=>{const _0x1cb136=_0x502585,_0x1712c8=_0xd1b094=>_0x52bb89[_0x1cb136(0x28f)](_0xd1b094);_0x52020b['addEventListener'](_0x1cb136(0x28b),_0x1712c8),_0x2e2123['add'](_0x194fa8(()=>_0x52020b[_0x1cb136(0x24b)]('message',_0x1712c8)));})[_0x502585(0x237)](_0x4022af())};}catch(_0x499e9b){return console[_0x502585(0x1f6)](_0x499e9b),null;}}};Ne=rr([sr(0x0,_0x8ccc90)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x56a431,_0x514910,_0x12aac2)=>_0x514910 in _0x56a431?ir(_0x56a431,_0x514910,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12aac2}):_0x56a431[_0x514910]=_0x12aac2,ar=(_0x2b384b,_0x4e5048,_0x5e6cd6,_0x5d5ed7)=>{const _0x30b409=_0xccc4b8;for(var _0xe80d4a=_0x5d5ed7>0x1?void 0x0:_0x5d5ed7?nr(_0x4e5048,_0x5e6cd6):_0x4e5048,_0x59cc11=_0x2b384b[_0x30b409(0x23a)]-0x1,_0x1109c4;_0x59cc11>=0x0;_0x59cc11--)(_0x1109c4=_0x2b384b[_0x59cc11])&&(_0xe80d4a=_0x1109c4(_0xe80d4a)||_0xe80d4a);return _0xe80d4a;},ke=(_0x6fa85a,_0x1b32b8)=>(_0x3398c3,_0xe975f1)=>_0x1b32b8(_0x3398c3,_0xe975f1,_0x6fa85a),lr=(_0x294c28,_0x140890,_0x3a207d)=>or(_0x294c28,_0x140890+'',_0x3a207d);let Pe=class extends _0x3e308d{constructor(_0x375dcb=Ft,_0x77d92c,_0xb71c3c,_0x423bea){const _0x290ad3=_0xccc4b8;_0x375dcb[_0x290ad3(0x26a)]||_0x77d92c['warn'](_0x290ad3(0x177)),super(),this['_configService']=_0xb71c3c,this[_0x290ad3(0x10c)]=_0x423bea,this['_configService'][_0x290ad3(0x1b0)](Be,_0x375dcb);}[_0xccc4b8(0x26c)](){const _0x189e76=_0xccc4b8;this[_0x189e76(0x1dc)]();}[_0xccc4b8(0x1dc)](){const _0x2fa2af=_0xccc4b8;_0x45f748(this[_0x2fa2af(0x10c)],[[_0x441540,{'useClass':Ne}]]);}};lr(Pe,_0xccc4b8(0x298),_0xccc4b8(0x193)),Pe=ar([_0x455085(_0x5cbe97),ke(0x1,_0x4e6eee),ke(0x2,_0x8ccc90),ke(0x3,_0x1583c8(_0x517f0e))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x36fd26,_0xabd453,_0x4e8867,_0x375b10)=>{const _0x3bc032=_0xccc4b8;for(var _0x2e1379=_0x375b10>0x1?void 0x0:_0x375b10?fr(_0xabd453,_0x4e8867):_0xabd453,_0x190dce=_0x36fd26[_0x3bc032(0x23a)]-0x1,_0x188acc;_0x190dce>=0x0;_0x190dce--)(_0x188acc=_0x36fd26[_0x190dce])&&(_0x2e1379=_0x188acc(_0x2e1379)||_0x2e1379);return _0x2e1379;},se=(_0x100a19,_0x543290)=>(_0xeca0e8,_0x46a167)=>_0x543290(_0xeca0e8,_0x46a167,_0x100a19);let at=class extends _0x31bae1{constructor(_0x3841b3,_0x4c029c,_0x2b68cb,_0x368f58,_0xfe31f2){const _0x11809d=_0xccc4b8;super(_0x3841b3,_0x4c029c,_0x2b68cb,_0x368f58,_0xfe31f2);const _0x7a7aeb=this[_0x11809d(0x244)][_0x11809d(0x143)](Be);this[_0x11809d(0x1ee)][_0x11809d(0x250)]({'interceptor':(_0x27be1f,_0x93a2a3)=>{const _0x5615dd=_0x11809d;var _0x4f7741;const _0x2c4f58=_0x27be1f[_0x5615dd(0x148)];return(_0x4f7741=_0x7a7aeb==null?void 0x0:_0x7a7aeb[_0x5615dd(0x26a)])!=null&&_0x4f7741[_0x5615dd(0x158)]&&_0x2c4f58[_0x5615dd(0x26d)]('Cookie',_0x7a7aeb['customHeaders'][_0x5615dd(0x158)]),_0x93a2a3(_0x27be1f);}});}async[_0xccc4b8(0x146)](_0xe6f4e8){return this['_doCreateSocket'](_0xe6f4e8);}};at=cr([se(0x0,_0x1583c8(_0x517f0e)),se(0x1,_0x1583c8(_0x369186)),se(0x2,_0x8ccc90),se(0x3,_0x4e6eee),se(0x4,_0x12890b)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|