@univerjs-pro/collaboration-client-node 0.10.14 → 0.11.0-nightly.202511151013

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x10fc00=_0x315a;(function(_0x1547cc,_0x228e6b){const _0x4ccbc2=_0x315a,_0x231abd=_0x1547cc();while(!![]){try{const _0x25d704=-parseInt(_0x4ccbc2(0x2fe))/0x1*(parseInt(_0x4ccbc2(0x1be))/0x2)+parseInt(_0x4ccbc2(0x236))/0x3+parseInt(_0x4ccbc2(0x227))/0x4+parseInt(_0x4ccbc2(0x1d0))/0x5+parseInt(_0x4ccbc2(0x265))/0x6*(parseInt(_0x4ccbc2(0x2e6))/0x7)+-parseInt(_0x4ccbc2(0x204))/0x8+-parseInt(_0x4ccbc2(0x337))/0x9;if(_0x25d704===_0x228e6b)break;else _0x231abd['push'](_0x231abd['shift']());}catch(_0xb4bd57){_0x231abd['push'](_0x231abd['shift']());}}}(_0x4031,0x2470f));import{UniverCollaborationClientPlugin as _0x55d7ad,CollaborationSocketService as _0x2d1e80}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2c5f6f,DisposableCollection as _0x3fff8a,toDisposable as _0x24d215,IConfigService as _0x21cc3a,DependentOn as _0x590359,ILogService as _0x5401a7,Inject as _0x31d314,Injector as _0x1d955c,Plugin as _0x1b7c72,registerDependencies as _0x42b41d}from'@univerjs/core';import{ISocketService as _0x132b3b,HTTPService as _0x2ff3d2}from'@univerjs/network';import{Observable as _0x5d2673,share as _0x48124f}from'rxjs';import _0xd5d56b from'events';import _0x4a05e2 from'https';import _0x2a4a4d from'http';import _0x4d839b from'net';import _0x5688c2 from'tls';import _0x2f069a from'crypto';import _0x3a313f from'stream';import _0x4e1661 from'url';import _0x2aab01 from'zlib';import _0x33d481 from'buffer';import{ISnapshotServerService as _0x4941bd}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0x4031(){const _0x17671f=['shift','callback','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','objectMode','kError','http:','close','haveLength','maskBuffer','Sec-WebSocket-Protocol:\x20','species','_configService','https:','_maskBuffer','find','default','number','clientNoContextTakeover','_url','Z_DEFAULT_WINDOWBITS','dataMessage','366PFlYzx','_errored','WebSocket\x20is\x20not\x20open:\x20readyState\x20','captureStackTrace','errorEmitted','getOwnPropertyDescriptor','isInteger','_protocol','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeTimer','dispose','_socket','options','location','redirect','resume','_write','\x22\x20subprotocol\x20is\x20duplicated','933180PVAKsL','cork','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_INVALID_CLOSE_CODE','listenerCount','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_destroy','sendFrame','Invalid\x20URL:\x20','pathname','_originalIpc','skipUTF8Validation','ping','_extensions','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','threshold','_inflate','next','getInfo','\x22:\x20','_server','toLowerCase','allocUnsafe','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_fragmented','get','value','socketPath','byteLength','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_UNEXPECTED_RSV_1','headers','fin','mask','toStringTag','set','params','pending','nextTick','sec-websocket-extensions','message','Parameter\x20\x22','isServer','buffer','_options','string','WS_ERR_INVALID_OPCODE','wsClientError','handleEvent','The\x20server\x20is\x20not\x20running','apply','decompress','1048704JahxbT','_shouldEmitClose','onerror','destroy','_readableState','enqueue','parse','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','write','connection','_decompress','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','endEmitted','kCode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Unexpected\x20end\x20of\x20input','controlMessage','Maximum\x20redirects\x20exceeded','_state','pluginName','object','verifyClient','removeEventListener','maxRedirects','_final','_registerDependencies','offer','_doCreateSocket','warn','clients','kRun','Invalid\x20Sec-WebSocket-Extensions\x20header','flush','13,\x208','_skipUTF8Validation','427820TtNvHk','address','invalid\x20payload\x20length\x20','host','setNoDelay','_mask','acceptAsServer','_receiver','createInflateRaw','_compressed','getData','emitClose','password','statusCode','Unexpected\x20server\x20response:\x20','122607xQXuqR','removeListener','ws:','server_max_window_bits','_read','kType','getMask','size','_payloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_INVALID_UTF8','invalid\x20opcode\x200','_bufferedBytes','client_no_context_takeover','MASK\x20must\x20be\x20set','createError','createDeflateRaw','writeUIntBE','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','frame','finished','upgrade','hasOwnProperty','Upgrade:\x20websocket','WS_NO_UTF_8_VALIDATE','kWasClean','reset','socket','dispatch','isView','byteOffset','indexOf','_closeFrameSent','handleProtocols','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','end','getConfig','emit','WS_ERR_EXPECTED_MASK','STATUS_CODES','total-length','prototype','forEach','GET','consume','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','The\x20\x22','13212yUIFcj','stream','Invalid\x20Upgrade\x20header','isIP','listeners','kDone','sha1','text/plain','_redirects','_injector','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','terminate','startLoop','isArray','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','servername','send','removeAllListeners','timeout','extensions','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','readOnly','type','split','replace','port','ws+unix:','Opening\x20handshake\x20has\x20timed\x20out','getPayloadLength16','isPaused','authorization','uncork','target','CLOSED','maxPayload','_compress','isValidUTF8','reason','startsWith','onmessage','pow','HTTP/1.1\x20','Invalid\x20value\x20for\x20parameter\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_fin','unexpected-response','client_max_window_bits','getPayloadLength64','writeHead','has','server_no_context_takeover','_req','pipe','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Unsupported\x20protocol\x20version:\x20','_maxPayload','_threshold','handleUpgrade','concat','WS_ERR_EXPECTED_FIN','unmask','nodebuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','allowSynchronousEvents','writeUInt16BE','fragments','websocket','RSV1\x20must\x20be\x20clear','WebSocket','createConnection','alloc','pause','join','freeze','wasClean','completeUpgrade','_errorEmitted','concurrencyLimit','path','_removeListeners','auth','zlibInflateOptions','hostname','Basic\x20','create','invalid\x20opcode\x20','zlibDeflateOptions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','accept','finish','kData','Cookie','_writableState','entries','status-code','_generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','destroyed','buffers','bind','test','OPEN','protocol','client','Module','_fragments','serverNoContextTakeover','normalizeParams','_allowSynchronousEvents','followRedirects','readUInt32BE','username','permessage-deflate','onStarting','perMessageDeflate','data','digest','writable','binaryType','clientTracking','The\x20URL\x27s\x20pathname\x20is\x20empty','sec-websocket-accept','extensionName','abort','WS_NO_BUFFER_UTIL','read','encrypted','request','format','861PBIpZz','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_closeFrameReceived','wss:','defaultPort','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','FIN\x20must\x20be\x20set','once','Unknown\x20parameter\x20\x22','isBuffer','Unexpected\x20character\x20at\x20index\x20','invalid\x20UTF-8\x20sequence','_no_context_takeover','kAborted','_opcode','createSocket','generateMask','_messageLength','kTarget','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','length','pong','Sec-WebSocket-Origin','137DSpKIk','arrayBuffer','push','__esModule','concurrency','kListener','includes','from','Invalid\x20Sec-WebSocket-Accept\x20header','_totalPayloadLength','Z_SYNC_FLUSH','listen','CLOSING','authorized','_closeCode','map','_originalSecure','error','listening','createServer','_sender','_loop','delete','_readyState','\x20(supported\x20versions:\x20','open','cleanup','_binaryType','bufferedAmount','then','shouldHandle','_masked','WS_ERR_UNEXPECTED_RSV_2_3','getBlobData','_autoPong','values','code','conclude','exports','slice','drain','construct','call','invalid\x20status\x20code\x20','kByteLength','charCodeAt','CONNECTING','blob','readUInt16BE','dequeue','sec-websocket-protocol','_bufferedAmount','handshakeTimeout','_deflate','unshift','_buffers','server','2698956axYHrd','_isServer','url','function','_firstFragment','noServer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','toString','backlog','env','setTimeout','kReason','protocolVersion','Server\x20sent\x20an\x20invalid\x20subprotocol','readyState','cookie','add','customHeaders','onclose','_max_window_bits','_paused','rsv1','kMessage','Sec-WebSocket-Accept:\x20','clientMaxWindowBits','_closeMessage','addEventListener','WS_ERR_UNEXPECTED_MASK','Max\x20payload\x20size\x20exceeded','base64','Origin','defineProperty','origin','serverMaxWindowBits','setSocket','autoPong','\x0d\x0a\x0d\x0a','arraybuffer','update','connect','Invalid\x20HTTP\x20method','readable','keys','opcode','constructor','_originalHostOrSocketPath','jobs','sec-websocket-version','compress'];_0x4031=function(){return _0x17671f;};return _0x4031();}function Wt(_0x521268){const _0x2a70e6=_0x315a;return _0x521268&&_0x521268[_0x2a70e6(0x301)]&&Object[_0x2a70e6(0x25f)][_0x2a70e6(0x24c)][_0x2a70e6(0x328)](_0x521268,_0x2a70e6(0x1b8))?_0x521268[_0x2a70e6(0x1b8)]:_0x521268;}function ut(_0x54b1f5){const _0xca7ac8=_0x315a;if(Object[_0xca7ac8(0x25f)]['hasOwnProperty']['call'](_0x54b1f5,'__esModule'))return _0x54b1f5;var _0x409363=_0x54b1f5[_0xca7ac8(0x1b8)];if(typeof _0x409363=='function'){var _0x44dd61=function _0x4ac2a8(){const _0x450550=_0xca7ac8;var _0xbdcf45=!0x1;try{_0xbdcf45=this instanceof _0x4ac2a8;}catch{}return _0xbdcf45?Reflect[_0x450550(0x327)](_0x409363,arguments,this[_0x450550(0x1a4)]):_0x409363[_0x450550(0x202)](this,arguments);};_0x44dd61[_0xca7ac8(0x25f)]=_0x409363['prototype'];}else _0x44dd61={};return Object[_0xca7ac8(0x356)](_0x44dd61,_0xca7ac8(0x301),{'value':!0x0}),Object[_0xca7ac8(0x1a2)](_0x54b1f5)[_0xca7ac8(0x260)](function(_0x168ab9){const _0xfdf9d9=_0xca7ac8;var _0xc0b60f=Object['getOwnPropertyDescriptor'](_0x54b1f5,_0x168ab9);Object['defineProperty'](_0x44dd61,_0x168ab9,_0xc0b60f[_0xfdf9d9(0x1e9)]?_0xc0b60f:{'enumerable':!0x0,'get':function(){return _0x54b1f5[_0x168ab9];}});}),_0x44dd61;}var te={'exports':{}},ge,Ye;function V(){const _0x42dc43=_0x315a;if(Ye)return ge;Ye=0x1;const _0x279d44=[_0x42dc43(0x2a2),'arraybuffer',_0x42dc43(0x2a6)],_0x315de0=typeof Blob<'u';return _0x315de0&&_0x279d44[_0x42dc43(0x300)](_0x42dc43(0x32d)),ge={'BINARY_TYPES':_0x279d44,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x42dc43(0x1d5),'hasBlob':_0x315de0,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x42dc43(0x303)),'kStatusCode':Symbol(_0x42dc43(0x2c3)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x10fc00(0x2cd)})),Vt=ut(Gt);var Ke;function ce(){const _0x1221c9=_0x10fc00;if(Ke)return te[_0x1221c9(0x324)];Ke=0x1;const {EMPTY_BUFFER:_0x46d782}=V(),_0xeae9fc=Buffer[Symbol[_0x1221c9(0x1b3)]];function _0x359e99(_0x31652b,_0x179cc0){const _0x34f16d=_0x1221c9;if(_0x31652b['length']===0x0)return _0x46d782;if(_0x31652b[_0x34f16d(0x2fb)]===0x1)return _0x31652b[0x0];const _0x45fd23=Buffer[_0x34f16d(0x1e6)](_0x179cc0);let _0x281ef5=0x0;for(let _0x57f5d3=0x0;_0x57f5d3<_0x31652b[_0x34f16d(0x2fb)];_0x57f5d3++){const _0x4a66f6=_0x31652b[_0x57f5d3];_0x45fd23[_0x34f16d(0x1f3)](_0x4a66f6,_0x281ef5),_0x281ef5+=_0x4a66f6[_0x34f16d(0x2fb)];}return _0x281ef5<_0x179cc0?new _0xeae9fc(_0x45fd23[_0x34f16d(0x1fb)],_0x45fd23['byteOffset'],_0x281ef5):_0x45fd23;}function _0x1a5bad(_0x31047d,_0x306e33,_0x328377,_0x21adce,_0x155d95){for(let _0x1eca4f=0x0;_0x1eca4f<_0x155d95;_0x1eca4f++)_0x328377[_0x21adce+_0x1eca4f]=_0x31047d[_0x1eca4f]^_0x306e33[_0x1eca4f&0x3];}function _0x1f4df7(_0x319673,_0x4a71da){const _0xb24f84=_0x1221c9;for(let _0x3e8089=0x0;_0x3e8089<_0x319673[_0xb24f84(0x2fb)];_0x3e8089++)_0x319673[_0x3e8089]^=_0x4a71da[_0x3e8089&0x3];}function _0x3b4d94(_0x2ec47d){const _0x3a47cb=_0x1221c9;return _0x2ec47d['length']===_0x2ec47d[_0x3a47cb(0x1fb)][_0x3a47cb(0x1ec)]?_0x2ec47d[_0x3a47cb(0x1fb)]:_0x2ec47d[_0x3a47cb(0x1fb)]['slice'](_0x2ec47d[_0x3a47cb(0x254)],_0x2ec47d[_0x3a47cb(0x254)]+_0x2ec47d[_0x3a47cb(0x2fb)]);}function _0x4283b7(_0xfeb16){const _0x222723=_0x1221c9;if(_0x4283b7['readOnly']=!0x0,Buffer[_0x222723(0x2f0)](_0xfeb16))return _0xfeb16;let _0x1bc874;return _0xfeb16 instanceof ArrayBuffer?_0x1bc874=new _0xeae9fc(_0xfeb16):ArrayBuffer[_0x222723(0x253)](_0xfeb16)?_0x1bc874=new _0xeae9fc(_0xfeb16[_0x222723(0x1fb)],_0xfeb16['byteOffset'],_0xfeb16[_0x222723(0x1ec)]):(_0x1bc874=Buffer['from'](_0xfeb16),_0x4283b7[_0x222723(0x27a)]=!0x1),_0x1bc874;}if(te['exports']={'concat':_0x359e99,'mask':_0x1a5bad,'toArrayBuffer':_0x3b4d94,'toBuffer':_0x4283b7,'unmask':_0x1f4df7},!process[_0x1221c9(0x340)][_0x1221c9(0x2e1)])try{const _0x174a6b=Vt;te[_0x1221c9(0x324)][_0x1221c9(0x1f1)]=function(_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761){_0x56b761<0x30?_0x1a5bad(_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761):_0x174a6b['mask'](_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761);},te[_0x1221c9(0x324)][_0x1221c9(0x2a1)]=function(_0x25ee65,_0x284599){const _0x39e532=_0x1221c9;_0x25ee65[_0x39e532(0x2fb)]<0x20?_0x1f4df7(_0x25ee65,_0x284599):_0x174a6b[_0x39e532(0x2a1)](_0x25ee65,_0x284599);};}catch{}return te[_0x1221c9(0x324)];}var ye,Xe;function qt(){const _0x2af353=_0x10fc00;if(Xe)return ye;Xe=0x1;const _0x4c1e0a=Symbol(_0x2af353(0x26a)),_0x577746=Symbol(_0x2af353(0x222));class _0x59b80b{constructor(_0x305bb4){const _0x569c80=_0x2af353;this[_0x4c1e0a]=()=>{const _0x172491=_0x315a;this[_0x172491(0x1f5)]--,this[_0x577746]();},this[_0x569c80(0x302)]=_0x305bb4||0x1/0x0,this[_0x569c80(0x1a6)]=[],this['pending']=0x0;}[_0x2af353(0x347)](_0x429aa0){const _0x1e88f4=_0x2af353;this[_0x1e88f4(0x1a6)][_0x1e88f4(0x300)](_0x429aa0),this[_0x577746]();}[_0x577746](){const _0x38402f=_0x2af353;if(this['pending']!==this['concurrency']&&this[_0x38402f(0x1a6)]['length']){const _0x13ec64=this[_0x38402f(0x1a6)][_0x38402f(0x1a9)]();this[_0x38402f(0x1f5)]++,_0x13ec64(this[_0x4c1e0a]);}}}return ye=_0x59b80b,ye;}var ve,Ze;function he(){const _0x32dfd5=_0x10fc00;if(Ze)return ve;Ze=0x1;const _0x5a2696=_0x2aab01,_0x44d6d2=ce(),_0x2ab529=qt(),{kStatusCode:_0x395db0}=V(),_0x4f37f8=Buffer[Symbol['species']],_0x323575=Buffer[_0x32dfd5(0x305)]([0x0,0x0,0xff,0xff]),_0x3e6afe=Symbol(_0x32dfd5(0x2d5)),_0x2254d6=Symbol(_0x32dfd5(0x25e)),_0x310ff2=Symbol(_0x32dfd5(0x1aa)),_0x4d0664=Symbol(_0x32dfd5(0x2c7)),_0x19d293=Symbol(_0x32dfd5(0x30f));let _0x43b609;class _0x1161cb{constructor(_0x431991,_0x45459f,_0x2f09e7){const _0x38be9c=_0x32dfd5;if(this[_0x38be9c(0x29c)]=_0x2f09e7|0x0,this['_options']=_0x431991||{},this[_0x38be9c(0x29d)]=this['_options'][_0x38be9c(0x1df)]!==void 0x0?this[_0x38be9c(0x1fc)][_0x38be9c(0x1df)]:0x400,this[_0x38be9c(0x338)]=!!_0x45459f,this['_deflate']=null,this[_0x38be9c(0x1e0)]=null,this[_0x38be9c(0x1f4)]=null,!_0x43b609){const _0x209699=this[_0x38be9c(0x1fc)][_0x38be9c(0x2b2)]!==void 0x0?this[_0x38be9c(0x1fc)][_0x38be9c(0x2b2)]:0xa;_0x43b609=new _0x2ab529(_0x209699);}}static get[_0x32dfd5(0x2df)](){return'permessage-deflate';}[_0x32dfd5(0x21e)](){const _0x37808a=_0x32dfd5,_0x47008f={};return this[_0x37808a(0x1fc)][_0x37808a(0x2cf)]&&(_0x47008f[_0x37808a(0x297)]=!0x0),this[_0x37808a(0x1fc)][_0x37808a(0x1ba)]&&(_0x47008f[_0x37808a(0x243)]=!0x0),this[_0x37808a(0x1fc)][_0x37808a(0x358)]&&(_0x47008f['server_max_window_bits']=this['_options'][_0x37808a(0x358)]),this['_options']['clientMaxWindowBits']?_0x47008f[_0x37808a(0x293)]=this[_0x37808a(0x1fc)]['clientMaxWindowBits']:this[_0x37808a(0x1fc)][_0x37808a(0x34f)]==null&&(_0x47008f['client_max_window_bits']=!0x0),_0x47008f;}[_0x32dfd5(0x2bd)](_0x4c3fb8){const _0x3c0ca2=_0x32dfd5;return _0x4c3fb8=this[_0x3c0ca2(0x2d0)](_0x4c3fb8),this[_0x3c0ca2(0x1f4)]=this['_isServer']?this[_0x3c0ca2(0x22d)](_0x4c3fb8):this['acceptAsClient'](_0x4c3fb8),this[_0x3c0ca2(0x1f4)];}[_0x32dfd5(0x318)](){const _0x49c93d=_0x32dfd5;if(this[_0x49c93d(0x1e0)]&&(this[_0x49c93d(0x1e0)][_0x49c93d(0x1af)](),this[_0x49c93d(0x1e0)]=null),this[_0x49c93d(0x333)]){const _0x3071cd=this[_0x49c93d(0x333)][_0x310ff2];this[_0x49c93d(0x333)]['close'](),this['_deflate']=null,_0x3071cd&&_0x3071cd(new Error(_0x49c93d(0x279)));}}[_0x32dfd5(0x22d)](_0x1252e7){const _0x394df0=_0x32dfd5,_0x5c25d4=this[_0x394df0(0x1fc)],_0x140c00=_0x1252e7[_0x394df0(0x1b7)](_0x33313c=>!(_0x5c25d4[_0x394df0(0x2cf)]===!0x1&&_0x33313c['server_no_context_takeover']||_0x33313c['server_max_window_bits']&&(_0x5c25d4[_0x394df0(0x358)]===!0x1||typeof _0x5c25d4[_0x394df0(0x358)]==_0x394df0(0x1b9)&&_0x5c25d4[_0x394df0(0x358)]>_0x33313c[_0x394df0(0x239)])||typeof _0x5c25d4[_0x394df0(0x34f)]==_0x394df0(0x1b9)&&!_0x33313c['client_max_window_bits']));if(!_0x140c00)throw new Error(_0x394df0(0x2bc));return _0x5c25d4[_0x394df0(0x2cf)]&&(_0x140c00[_0x394df0(0x297)]=!0x0),_0x5c25d4['clientNoContextTakeover']&&(_0x140c00[_0x394df0(0x243)]=!0x0),typeof _0x5c25d4['serverMaxWindowBits']==_0x394df0(0x1b9)&&(_0x140c00[_0x394df0(0x239)]=_0x5c25d4[_0x394df0(0x358)]),typeof _0x5c25d4[_0x394df0(0x34f)]==_0x394df0(0x1b9)?_0x140c00[_0x394df0(0x293)]=_0x5c25d4['clientMaxWindowBits']:(_0x140c00[_0x394df0(0x293)]===!0x0||_0x5c25d4[_0x394df0(0x34f)]===!0x1)&&delete _0x140c00[_0x394df0(0x293)],_0x140c00;}['acceptAsClient'](_0x2c076c){const _0x43d531=_0x32dfd5,_0x52eb7f=_0x2c076c[0x0];if(this['_options'][_0x43d531(0x1ba)]===!0x1&&_0x52eb7f[_0x43d531(0x243)])throw new Error(_0x43d531(0x1e7));if(!_0x52eb7f[_0x43d531(0x293)])typeof this[_0x43d531(0x1fc)][_0x43d531(0x34f)]==_0x43d531(0x1b9)&&(_0x52eb7f['client_max_window_bits']=this['_options'][_0x43d531(0x34f)]);else{if(this[_0x43d531(0x1fc)]['clientMaxWindowBits']===!0x1||typeof this[_0x43d531(0x1fc)][_0x43d531(0x34f)]==_0x43d531(0x1b9)&&_0x52eb7f[_0x43d531(0x293)]>this[_0x43d531(0x1fc)][_0x43d531(0x34f)])throw new Error(_0x43d531(0x1c6));}return _0x52eb7f;}[_0x32dfd5(0x2d0)](_0x2a7c15){const _0x17b358=_0x32dfd5;return _0x2a7c15[_0x17b358(0x260)](_0x3bad31=>{const _0x567da8=_0x17b358;Object[_0x567da8(0x1a2)](_0x3bad31)[_0x567da8(0x260)](_0x45e65e=>{const _0x41bab9=_0x567da8;let _0x170a88=_0x3bad31[_0x45e65e];if(_0x170a88['length']>0x1)throw new Error(_0x41bab9(0x1f9)+_0x45e65e+_0x41bab9(0x290));if(_0x170a88=_0x170a88[0x0],_0x45e65e===_0x41bab9(0x293)){if(_0x170a88!==!0x0){const _0x218840=+_0x170a88;if(!Number[_0x41bab9(0x1c4)](_0x218840)||_0x218840<0x8||_0x218840>0xf)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);_0x170a88=_0x218840;}else{if(!this[_0x41bab9(0x338)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);}}else{if(_0x45e65e===_0x41bab9(0x239)){const _0x4d70c5=+_0x170a88;if(!Number[_0x41bab9(0x1c4)](_0x4d70c5)||_0x4d70c5<0x8||_0x4d70c5>0xf)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+'\x22:\x20'+_0x170a88);_0x170a88=_0x4d70c5;}else{if(_0x45e65e==='client_no_context_takeover'||_0x45e65e===_0x41bab9(0x297)){if(_0x170a88!==!0x0)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);}else throw new Error(_0x41bab9(0x2ef)+_0x45e65e+'\x22');}}_0x3bad31[_0x45e65e]=_0x170a88;});}),_0x2a7c15;}[_0x32dfd5(0x203)](_0x5588f4,_0x3f7d22,_0x5bbb8f){const _0x183b30=_0x32dfd5;_0x43b609[_0x183b30(0x347)](_0x16077a=>{const _0x4e5ed7=_0x183b30;this[_0x4e5ed7(0x20e)](_0x5588f4,_0x3f7d22,(_0x2f98bd,_0x1af2b8)=>{_0x16077a(),_0x5bbb8f(_0x2f98bd,_0x1af2b8);});});}['compress'](_0x37a00b,_0x26178f,_0x45f9cf){const _0x3caacb=_0x32dfd5;_0x43b609[_0x3caacb(0x347)](_0x3fcea1=>{const _0x377c6b=_0x3caacb;this[_0x377c6b(0x288)](_0x37a00b,_0x26178f,(_0x22c918,_0x236738)=>{_0x3fcea1(),_0x45f9cf(_0x22c918,_0x236738);});});}[_0x32dfd5(0x20e)](_0x114777,_0x4a6584,_0x5c4099){const _0x240083=_0x32dfd5,_0x1fa05b=this[_0x240083(0x338)]?_0x240083(0x2cc):_0x240083(0x336);if(!this['_inflate']){const _0xfce781=_0x1fa05b+_0x240083(0x34a),_0x34665=typeof this['params'][_0xfce781]!=_0x240083(0x1b9)?_0x5a2696['Z_DEFAULT_WINDOWBITS']:this[_0x240083(0x1f4)][_0xfce781];this['_inflate']=_0x5a2696[_0x240083(0x22f)]({...this[_0x240083(0x1fc)][_0x240083(0x2b6)],'windowBits':_0x34665}),this[_0x240083(0x1e0)][_0x3e6afe]=this,this['_inflate'][_0x2254d6]=0x0,this[_0x240083(0x1e0)][_0x4d0664]=[],this['_inflate']['on'](_0x240083(0x30f),_0x5d1572),this[_0x240083(0x1e0)]['on'](_0x240083(0x2d8),_0x24e455);}this[_0x240083(0x1e0)][_0x310ff2]=_0x5c4099,this[_0x240083(0x1e0)][_0x240083(0x20c)](_0x114777),_0x4a6584&&this[_0x240083(0x1e0)]['write'](_0x323575),this[_0x240083(0x1e0)]['flush'](()=>{const _0x4ee6ec=_0x240083,_0x411fdd=this[_0x4ee6ec(0x1e0)][_0x19d293];if(_0x411fdd){this['_inflate'][_0x4ee6ec(0x1af)](),this['_inflate']=null,_0x5c4099(_0x411fdd);return;}const _0x317458=_0x44d6d2[_0x4ee6ec(0x29f)](this[_0x4ee6ec(0x1e0)][_0x4d0664],this[_0x4ee6ec(0x1e0)][_0x2254d6]);this['_inflate'][_0x4ee6ec(0x208)]['endEmitted']?(this[_0x4ee6ec(0x1e0)][_0x4ee6ec(0x1af)](),this[_0x4ee6ec(0x1e0)]=null):(this[_0x4ee6ec(0x1e0)][_0x2254d6]=0x0,this[_0x4ee6ec(0x1e0)][_0x4d0664]=[],_0x4a6584&&this[_0x4ee6ec(0x1f4)][_0x1fa05b+_0x4ee6ec(0x2f3)]&&this[_0x4ee6ec(0x1e0)][_0x4ee6ec(0x250)]()),_0x5c4099(null,_0x317458);});}[_0x32dfd5(0x288)](_0x3181d1,_0x531b64,_0x3f8f2b){const _0x14d5f3=_0x32dfd5,_0x5744d2=this[_0x14d5f3(0x338)]?_0x14d5f3(0x336):_0x14d5f3(0x2cc);if(!this[_0x14d5f3(0x333)]){const _0x510429=_0x5744d2+_0x14d5f3(0x34a),_0x157afb=typeof this[_0x14d5f3(0x1f4)][_0x510429]!='number'?_0x5a2696[_0x14d5f3(0x1bc)]:this[_0x14d5f3(0x1f4)][_0x510429];this[_0x14d5f3(0x333)]=_0x5a2696[_0x14d5f3(0x246)]({...this[_0x14d5f3(0x1fc)][_0x14d5f3(0x2bb)],'windowBits':_0x157afb}),this[_0x14d5f3(0x333)][_0x2254d6]=0x0,this[_0x14d5f3(0x333)][_0x4d0664]=[],this[_0x14d5f3(0x333)]['on'](_0x14d5f3(0x2d8),_0xa32101);}this[_0x14d5f3(0x333)][_0x310ff2]=_0x3f8f2b,this[_0x14d5f3(0x333)][_0x14d5f3(0x20c)](_0x3181d1),this['_deflate'][_0x14d5f3(0x224)](_0x5a2696[_0x14d5f3(0x308)],()=>{const _0x3cd635=_0x14d5f3;if(!this[_0x3cd635(0x333)])return;let _0x3706e5=_0x44d6d2[_0x3cd635(0x29f)](this[_0x3cd635(0x333)][_0x4d0664],this['_deflate'][_0x2254d6]);_0x531b64&&(_0x3706e5=new _0x4f37f8(_0x3706e5[_0x3cd635(0x1fb)],_0x3706e5['byteOffset'],_0x3706e5['length']-0x4)),this['_deflate'][_0x310ff2]=null,this[_0x3cd635(0x333)][_0x2254d6]=0x0,this[_0x3cd635(0x333)][_0x4d0664]=[],_0x531b64&&this[_0x3cd635(0x1f4)][_0x5744d2+_0x3cd635(0x2f3)]&&this[_0x3cd635(0x333)][_0x3cd635(0x250)](),_0x3f8f2b(null,_0x3706e5);});}}ve=_0x1161cb;function _0xa32101(_0x24c5a2){const _0x3d4337=_0x32dfd5;this[_0x4d0664]['push'](_0x24c5a2),this[_0x2254d6]+=_0x24c5a2[_0x3d4337(0x2fb)];}function _0x24e455(_0x528163){const _0x2a0539=_0x32dfd5;if(this[_0x2254d6]+=_0x528163[_0x2a0539(0x2fb)],this[_0x3e6afe]['_maxPayload']<0x1||this[_0x2254d6]<=this[_0x3e6afe][_0x2a0539(0x29c)]){this[_0x4d0664]['push'](_0x528163);return;}this[_0x19d293]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x19d293][_0x2a0539(0x322)]=_0x2a0539(0x26f),this[_0x19d293][_0x395db0]=0x3f1,this[_0x2a0539(0x237)](_0x2a0539(0x2d8),_0x24e455),this[_0x2a0539(0x250)]();}function _0x5d1572(_0x452f6c){if(this[_0x3e6afe]['_inflate']=null,this[_0x19d293]){this[_0x310ff2](this[_0x19d293]);return;}_0x452f6c[_0x395db0]=0x3ef,this[_0x310ff2](_0x452f6c);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x10fc00(0x2ae)](Object[_0x10fc00(0x356)]({'__proto__':null,'default':Ht},Symbol[_0x10fc00(0x1f2)],{'value':_0x10fc00(0x2cd)})),Yt=ut(zt);var Qe;function ne(){const _0x49c881=_0x10fc00;if(Qe)return re[_0x49c881(0x324)];Qe=0x1;const {isUtf8:_0x2d3be5}=_0x33d481,{hasBlob:_0x5bc027}=V(),_0x348c0f=[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 _0x5abbd9(_0x40cc24){return _0x40cc24>=0x3e8&&_0x40cc24<=0x3f6&&_0x40cc24!==0x3ec&&_0x40cc24!==0x3ed&&_0x40cc24!==0x3ee||_0x40cc24>=0xbb8&&_0x40cc24<=0x1387;}function _0x3a54af(_0x36a454){const _0x3304a7=_0x36a454['length'];let _0x5ee475=0x0;for(;_0x5ee475<_0x3304a7;)if((_0x36a454[_0x5ee475]&0x80)===0x0)_0x5ee475++;else{if((_0x36a454[_0x5ee475]&0xe0)===0xc0){if(_0x5ee475+0x1===_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475]&0xfe)===0xc0)return!0x1;_0x5ee475+=0x2;}else{if((_0x36a454[_0x5ee475]&0xf0)===0xe0){if(_0x5ee475+0x2>=_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x2]&0xc0)!==0x80||_0x36a454[_0x5ee475]===0xe0&&(_0x36a454[_0x5ee475+0x1]&0xe0)===0x80||_0x36a454[_0x5ee475]===0xed&&(_0x36a454[_0x5ee475+0x1]&0xe0)===0xa0)return!0x1;_0x5ee475+=0x3;}else{if((_0x36a454[_0x5ee475]&0xf8)===0xf0){if(_0x5ee475+0x3>=_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x2]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x3]&0xc0)!==0x80||_0x36a454[_0x5ee475]===0xf0&&(_0x36a454[_0x5ee475+0x1]&0xf0)===0x80||_0x36a454[_0x5ee475]===0xf4&&_0x36a454[_0x5ee475+0x1]>0x8f||_0x36a454[_0x5ee475]>0xf4)return!0x1;_0x5ee475+=0x4;}else return!0x1;}}}return!0x0;}function _0x21d0dd(_0x32e640){const _0x53a1f2=_0x49c881;return _0x5bc027&&typeof _0x32e640==_0x53a1f2(0x218)&&typeof _0x32e640[_0x53a1f2(0x2ff)]==_0x53a1f2(0x33a)&&typeof _0x32e640[_0x53a1f2(0x27b)]==_0x53a1f2(0x1fd)&&typeof _0x32e640[_0x53a1f2(0x266)]==_0x53a1f2(0x33a)&&(_0x32e640[Symbol['toStringTag']]==='Blob'||_0x32e640[Symbol[_0x53a1f2(0x1f2)]]==='File');}if(re['exports']={'isBlob':_0x21d0dd,'isValidStatusCode':_0x5abbd9,'isValidUTF8':_0x3a54af,'tokenChars':_0x348c0f},_0x2d3be5)re[_0x49c881(0x324)][_0x49c881(0x289)]=function(_0x56c7be){const _0x4884fe=_0x49c881;return _0x56c7be[_0x4884fe(0x2fb)]<0x18?_0x3a54af(_0x56c7be):_0x2d3be5(_0x56c7be);};else{if(!process[_0x49c881(0x340)][_0x49c881(0x24e)])try{const _0x2952b4=Yt;re[_0x49c881(0x324)][_0x49c881(0x289)]=function(_0x4eb441){const _0x3fee71=_0x49c881;return _0x4eb441[_0x3fee71(0x2fb)]<0x20?_0x3a54af(_0x4eb441):_0x2952b4(_0x4eb441);};}catch{}}return re[_0x49c881(0x324)];}var Se,Je;function dt(){const _0x2436be=_0x10fc00;if(Je)return Se;Je=0x1;const {Writable:_0x37fdec}=_0x3a313f,_0x2096ed=he(),{BINARY_TYPES:_0x43a073,EMPTY_BUFFER:_0x4fbe57,kStatusCode:_0x50d4c9,kWebSocket:_0x4f02c9}=V(),{concat:_0x10563d,toArrayBuffer:_0x2e180a,unmask:_0x3d92f7}=ce(),{isValidStatusCode:_0x305a7a,isValidUTF8:_0x44c1e2}=ne(),_0x226fec=Buffer[Symbol[_0x2436be(0x1b3)]],_0xa27113=0x0,_0x46d26f=0x1,_0x427a48=0x2,_0x19fb91=0x3,_0xa9036e=0x4,_0x543a9f=0x5,_0x4d2705=0x6;class _0x507fd3 extends _0x37fdec{constructor(_0x33264f={}){const _0x1e594e=_0x2436be;super(),this[_0x1e594e(0x2d1)]=_0x33264f[_0x1e594e(0x2a4)]!==void 0x0?_0x33264f[_0x1e594e(0x2a4)]:!0x0,this['_binaryType']=_0x33264f[_0x1e594e(0x2db)]||_0x43a073[0x0],this['_extensions']=_0x33264f[_0x1e594e(0x278)]||{},this[_0x1e594e(0x338)]=!!_0x33264f[_0x1e594e(0x1fa)],this[_0x1e594e(0x29c)]=_0x33264f[_0x1e594e(0x287)]|0x0,this[_0x1e594e(0x226)]=!!_0x33264f[_0x1e594e(0x1db)],this[_0x4f02c9]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1e594e(0x335)]=[],this[_0x1e594e(0x230)]=!0x1,this[_0x1e594e(0x23e)]=0x0,this[_0x1e594e(0x22c)]=void 0x0,this[_0x1e594e(0x1e8)]=0x0,this[_0x1e594e(0x31d)]=!0x1,this[_0x1e594e(0x291)]=!0x1,this[_0x1e594e(0x2f5)]=0x0,this[_0x1e594e(0x307)]=0x0,this[_0x1e594e(0x2f8)]=0x0,this[_0x1e594e(0x2ce)]=[],this['_errored']=!0x1,this[_0x1e594e(0x313)]=!0x1,this[_0x1e594e(0x216)]=_0xa27113;}['_write'](_0x5d75fc,_0xb560ff,_0x5bb7b0){const _0x2556a1=_0x2436be;if(this['_opcode']===0x8&&this[_0x2556a1(0x216)]==_0xa27113)return _0x5bb7b0();this[_0x2556a1(0x242)]+=_0x5d75fc['length'],this[_0x2556a1(0x335)][_0x2556a1(0x300)](_0x5d75fc),this[_0x2556a1(0x271)](_0x5bb7b0);}[_0x2436be(0x262)](_0x2cfdce){const _0x5e4388=_0x2436be;if(this['_bufferedBytes']-=_0x2cfdce,_0x2cfdce===this['_buffers'][0x0][_0x5e4388(0x2fb)])return this[_0x5e4388(0x335)]['shift']();if(_0x2cfdce<this['_buffers'][0x0][_0x5e4388(0x2fb)]){const _0x58d3c5=this[_0x5e4388(0x335)][0x0];return this[_0x5e4388(0x335)][0x0]=new _0x226fec(_0x58d3c5[_0x5e4388(0x1fb)],_0x58d3c5['byteOffset']+_0x2cfdce,_0x58d3c5['length']-_0x2cfdce),new _0x226fec(_0x58d3c5[_0x5e4388(0x1fb)],_0x58d3c5[_0x5e4388(0x254)],_0x2cfdce);}const _0x3c90fb=Buffer['allocUnsafe'](_0x2cfdce);do{const _0x26e716=this[_0x5e4388(0x335)][0x0],_0x44a1d0=_0x3c90fb[_0x5e4388(0x2fb)]-_0x2cfdce;_0x2cfdce>=_0x26e716[_0x5e4388(0x2fb)]?_0x3c90fb[_0x5e4388(0x1f3)](this[_0x5e4388(0x335)][_0x5e4388(0x1a9)](),_0x44a1d0):(_0x3c90fb[_0x5e4388(0x1f3)](new Uint8Array(_0x26e716['buffer'],_0x26e716['byteOffset'],_0x2cfdce),_0x44a1d0),this[_0x5e4388(0x335)][0x0]=new _0x226fec(_0x26e716[_0x5e4388(0x1fb)],_0x26e716[_0x5e4388(0x254)]+_0x2cfdce,_0x26e716[_0x5e4388(0x2fb)]-_0x2cfdce)),_0x2cfdce-=_0x26e716[_0x5e4388(0x2fb)];}while(_0x2cfdce>0x0);return _0x3c90fb;}[_0x2436be(0x271)](_0x332b42){const _0x5225c1=_0x2436be;this[_0x5225c1(0x313)]=!0x0;do switch(this[_0x5225c1(0x216)]){case _0xa27113:this[_0x5225c1(0x1e2)](_0x332b42);break;case _0x46d26f:this[_0x5225c1(0x281)](_0x332b42);break;case _0x427a48:this['getPayloadLength64'](_0x332b42);break;case _0x19fb91:this[_0x5225c1(0x23c)]();break;case _0xa9036e:this[_0x5225c1(0x231)](_0x332b42);break;case _0x543a9f:case _0x4d2705:this[_0x5225c1(0x313)]=!0x1;return;}while(this[_0x5225c1(0x313)]);this['_errored']||_0x332b42();}[_0x2436be(0x1e2)](_0xf5d0a4){const _0x52d65e=_0x2436be;if(this[_0x52d65e(0x242)]<0x2){this[_0x52d65e(0x313)]=!0x1;return;}const _0x33cff1=this[_0x52d65e(0x262)](0x2);if((_0x33cff1[0x0]&0x30)!==0x0){const _0x28114c=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x20f),!0x0,0x3ea,_0x52d65e(0x31e));_0xf5d0a4(_0x28114c);return;}const _0x103dd5=(_0x33cff1[0x0]&0x40)===0x40;if(_0x103dd5&&!this[_0x52d65e(0x1dd)][_0x2096ed[_0x52d65e(0x2df)]]){const _0x49f733=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x2a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xf5d0a4(_0x49f733);return;}if(this['_fin']=(_0x33cff1[0x0]&0x80)===0x80,this[_0x52d65e(0x2f5)]=_0x33cff1[0x0]&0xf,this[_0x52d65e(0x23e)]=_0x33cff1[0x1]&0x7f,this['_opcode']===0x0){if(_0x103dd5){const _0x231142=this[_0x52d65e(0x245)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x1ee));_0xf5d0a4(_0x231142);return;}if(!this[_0x52d65e(0x1e8)]){const _0x1fe452=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x241),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf5d0a4(_0x1fe452);return;}this['_opcode']=this[_0x52d65e(0x1e8)];}else{if(this[_0x52d65e(0x2f5)]===0x1||this[_0x52d65e(0x2f5)]===0x2){if(this['_fragmented']){const _0x4b4d6f=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x2ba)+this[_0x52d65e(0x2f5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf5d0a4(_0x4b4d6f);return;}this[_0x52d65e(0x230)]=_0x103dd5;}else{if(this[_0x52d65e(0x2f5)]>0x7&&this[_0x52d65e(0x2f5)]<0xb){if(!this[_0x52d65e(0x291)]){const _0x3b4542=this['createError'](RangeError,_0x52d65e(0x2ed),!0x0,0x3ea,_0x52d65e(0x2a0));_0xf5d0a4(_0x3b4542);return;}if(_0x103dd5){const _0x4375c9=this[_0x52d65e(0x245)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x1ee));_0xf5d0a4(_0x4375c9);return;}if(this['_payloadLength']>0x7d||this[_0x52d65e(0x2f5)]===0x8&&this[_0x52d65e(0x23e)]===0x1){const _0x2ab451=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x229)+this[_0x52d65e(0x23e)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xf5d0a4(_0x2ab451);return;}}else{const _0x571fa7=this['createError'](RangeError,_0x52d65e(0x2ba)+this['_opcode'],!0x0,0x3ea,_0x52d65e(0x1fe));_0xf5d0a4(_0x571fa7);return;}}}if(!this[_0x52d65e(0x291)]&&!this[_0x52d65e(0x1e8)]&&(this[_0x52d65e(0x1e8)]=this[_0x52d65e(0x2f5)]),this[_0x52d65e(0x31d)]=(_0x33cff1[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x52d65e(0x31d)]){const _0x1c15ab=this['createError'](RangeError,_0x52d65e(0x244),!0x0,0x3ea,_0x52d65e(0x25c));_0xf5d0a4(_0x1c15ab);return;}}else{if(this[_0x52d65e(0x31d)]){const _0x58dfcf=this[_0x52d65e(0x245)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x352));_0xf5d0a4(_0x58dfcf);return;}}this[_0x52d65e(0x23e)]===0x7e?this[_0x52d65e(0x216)]=_0x46d26f:this[_0x52d65e(0x23e)]===0x7f?this[_0x52d65e(0x216)]=_0x427a48:this['haveLength'](_0xf5d0a4);}['getPayloadLength16'](_0x514db8){const _0xbec48b=_0x2436be;if(this['_bufferedBytes']<0x2){this[_0xbec48b(0x313)]=!0x1;return;}this[_0xbec48b(0x23e)]=this[_0xbec48b(0x262)](0x2)[_0xbec48b(0x32e)](0x0),this[_0xbec48b(0x1b0)](_0x514db8);}[_0x2436be(0x294)](_0x2d8278){const _0x31f638=_0x2436be;if(this[_0x31f638(0x242)]<0x8){this['_loop']=!0x1;return;}const _0x4b4743=this['consume'](0x8),_0x946751=_0x4b4743['readUInt32BE'](0x0);if(_0x946751>Math[_0x31f638(0x28d)](0x2,0x15)-0x1){const _0x582764=this[_0x31f638(0x245)](RangeError,_0x31f638(0x258),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x2d8278(_0x582764);return;}this[_0x31f638(0x23e)]=_0x946751*Math[_0x31f638(0x28d)](0x2,0x20)+_0x4b4743[_0x31f638(0x2d3)](0x4),this['haveLength'](_0x2d8278);}['haveLength'](_0x3b12f2){const _0x1ccbd3=_0x2436be;if(this[_0x1ccbd3(0x23e)]&&this['_opcode']<0x8&&(this[_0x1ccbd3(0x307)]+=this[_0x1ccbd3(0x23e)],this[_0x1ccbd3(0x307)]>this[_0x1ccbd3(0x29c)]&&this['_maxPayload']>0x0)){const _0x5ebb39=this[_0x1ccbd3(0x245)](RangeError,_0x1ccbd3(0x353),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3b12f2(_0x5ebb39);return;}this[_0x1ccbd3(0x31d)]?this['_state']=_0x19fb91:this['_state']=_0xa9036e;}[_0x2436be(0x23c)](){const _0x538aa8=_0x2436be;if(this[_0x538aa8(0x242)]<0x4){this['_loop']=!0x1;return;}this[_0x538aa8(0x22c)]=this[_0x538aa8(0x262)](0x4),this[_0x538aa8(0x216)]=_0xa9036e;}[_0x2436be(0x231)](_0x298490){const _0x13666e=_0x2436be;let _0x10c1cb=_0x4fbe57;if(this[_0x13666e(0x23e)]){if(this[_0x13666e(0x242)]<this['_payloadLength']){this[_0x13666e(0x313)]=!0x1;return;}_0x10c1cb=this[_0x13666e(0x262)](this[_0x13666e(0x23e)]),this[_0x13666e(0x31d)]&&(this[_0x13666e(0x22c)][0x0]|this[_0x13666e(0x22c)][0x1]|this['_mask'][0x2]|this[_0x13666e(0x22c)][0x3])!==0x0&&_0x3d92f7(_0x10c1cb,this[_0x13666e(0x22c)]);}if(this[_0x13666e(0x2f5)]>0x7){this[_0x13666e(0x214)](_0x10c1cb,_0x298490);return;}if(this[_0x13666e(0x230)]){this[_0x13666e(0x216)]=_0x543a9f,this[_0x13666e(0x203)](_0x10c1cb,_0x298490);return;}_0x10c1cb[_0x13666e(0x2fb)]&&(this[_0x13666e(0x2f8)]=this[_0x13666e(0x307)],this[_0x13666e(0x2ce)][_0x13666e(0x300)](_0x10c1cb)),this[_0x13666e(0x1bd)](_0x298490);}[_0x2436be(0x203)](_0x55b15e,_0x3582cd){const _0x5807ae=_0x2436be;this['_extensions'][_0x2096ed[_0x5807ae(0x2df)]][_0x5807ae(0x203)](_0x55b15e,this[_0x5807ae(0x291)],(_0x114e0f,_0x27c655)=>{const _0x31bd03=_0x5807ae;if(_0x114e0f)return _0x3582cd(_0x114e0f);if(_0x27c655[_0x31bd03(0x2fb)]){if(this['_messageLength']+=_0x27c655[_0x31bd03(0x2fb)],this[_0x31bd03(0x2f8)]>this[_0x31bd03(0x29c)]&&this[_0x31bd03(0x29c)]>0x0){const _0x1b4c75=this['createError'](RangeError,_0x31bd03(0x353),!0x1,0x3f1,_0x31bd03(0x26f));_0x3582cd(_0x1b4c75);return;}this[_0x31bd03(0x2ce)][_0x31bd03(0x300)](_0x27c655);}this[_0x31bd03(0x1bd)](_0x3582cd),this['_state']===_0xa27113&&this['startLoop'](_0x3582cd);});}[_0x2436be(0x1bd)](_0x290fb5){const _0x2db25d=_0x2436be;if(!this[_0x2db25d(0x291)]){this[_0x2db25d(0x216)]=_0xa27113;return;}const _0x228760=this[_0x2db25d(0x2f8)],_0x1273d2=this[_0x2db25d(0x2ce)];if(this[_0x2db25d(0x307)]=0x0,this[_0x2db25d(0x2f8)]=0x0,this[_0x2db25d(0x1e8)]=0x0,this[_0x2db25d(0x2ce)]=[],this[_0x2db25d(0x2f5)]===0x2){let _0x58f016;this[_0x2db25d(0x319)]===_0x2db25d(0x2a2)?_0x58f016=_0x10563d(_0x1273d2,_0x228760):this['_binaryType']===_0x2db25d(0x35c)?_0x58f016=_0x2e180a(_0x10563d(_0x1273d2,_0x228760)):this[_0x2db25d(0x319)]==='blob'?_0x58f016=new Blob(_0x1273d2):_0x58f016=_0x1273d2,this['_allowSynchronousEvents']?(this[_0x2db25d(0x25b)](_0x2db25d(0x1f8),_0x58f016,!0x0),this[_0x2db25d(0x216)]=_0xa27113):(this[_0x2db25d(0x216)]=_0x4d2705,setImmediate(()=>{const _0x35ec46=_0x2db25d;this[_0x35ec46(0x25b)](_0x35ec46(0x1f8),_0x58f016,!0x0),this[_0x35ec46(0x216)]=_0xa27113,this['startLoop'](_0x290fb5);}));}else{const _0x37be4e=_0x10563d(_0x1273d2,_0x228760);if(!this[_0x2db25d(0x226)]&&!_0x44c1e2(_0x37be4e)){const _0x4c1f61=this[_0x2db25d(0x245)](Error,_0x2db25d(0x2f2),!0x0,0x3ef,_0x2db25d(0x240));_0x290fb5(_0x4c1f61);return;}this[_0x2db25d(0x216)]===_0x543a9f||this['_allowSynchronousEvents']?(this[_0x2db25d(0x25b)](_0x2db25d(0x1f8),_0x37be4e,!0x1),this['_state']=_0xa27113):(this[_0x2db25d(0x216)]=_0x4d2705,setImmediate(()=>{const _0x1142f5=_0x2db25d;this['emit']('message',_0x37be4e,!0x1),this[_0x1142f5(0x216)]=_0xa27113,this['startLoop'](_0x290fb5);}));}}[_0x2436be(0x214)](_0x3336a0,_0x82c8b0){const _0x393ac2=_0x2436be;if(this[_0x393ac2(0x2f5)]===0x8){if(_0x3336a0['length']===0x0)this['_loop']=!0x1,this[_0x393ac2(0x25b)](_0x393ac2(0x323),0x3ed,_0x4fbe57),this[_0x393ac2(0x259)]();else{const _0x12362b=_0x3336a0[_0x393ac2(0x32e)](0x0);if(!_0x305a7a(_0x12362b)){const _0xb04328=this[_0x393ac2(0x245)](RangeError,_0x393ac2(0x329)+_0x12362b,!0x0,0x3ea,_0x393ac2(0x1d3));_0x82c8b0(_0xb04328);return;}const _0x5685c6=new _0x226fec(_0x3336a0['buffer'],_0x3336a0[_0x393ac2(0x254)]+0x2,_0x3336a0[_0x393ac2(0x2fb)]-0x2);if(!this[_0x393ac2(0x226)]&&!_0x44c1e2(_0x5685c6)){const _0x5b5eb6=this[_0x393ac2(0x245)](Error,_0x393ac2(0x2f2),!0x0,0x3ef,_0x393ac2(0x240));_0x82c8b0(_0x5b5eb6);return;}this[_0x393ac2(0x313)]=!0x1,this[_0x393ac2(0x25b)]('conclude',_0x12362b,_0x5685c6),this['end']();}this['_state']=_0xa27113;return;}this[_0x393ac2(0x2d1)]?(this['emit'](this[_0x393ac2(0x2f5)]===0x9?_0x393ac2(0x1dc):'pong',_0x3336a0),this[_0x393ac2(0x216)]=_0xa27113):(this['_state']=_0x4d2705,setImmediate(()=>{const _0x3e7b48=_0x393ac2;this[_0x3e7b48(0x25b)](this[_0x3e7b48(0x2f5)]===0x9?_0x3e7b48(0x1dc):'pong',_0x3336a0),this[_0x3e7b48(0x216)]=_0xa27113,this['startLoop'](_0x82c8b0);}));}[_0x2436be(0x245)](_0x1e2122,_0x4021c0,_0x1e73df,_0x17f5b5,_0x31c23d){const _0x271218=_0x2436be;this[_0x271218(0x313)]=!0x1,this[_0x271218(0x1bf)]=!0x0;const _0x5f46ae=new _0x1e2122(_0x1e73df?'Invalid\x20WebSocket\x20frame:\x20'+_0x4021c0:_0x4021c0);return Error[_0x271218(0x1c1)](_0x5f46ae,this[_0x271218(0x245)]),_0x5f46ae[_0x271218(0x322)]=_0x31c23d,_0x5f46ae[_0x50d4c9]=_0x17f5b5,_0x5f46ae;}}return Se=_0x507fd3,Se;}var Ee,et;function _t(){const _0x489853=_0x10fc00;if(et)return Ee;et=0x1;const {Duplex:_0x1d8487}=_0x3a313f,{randomFillSync:_0xea9f1}=_0x2f069a,_0x5e5acd=he(),{EMPTY_BUFFER:_0x22327c,kWebSocket:_0x3fe8d3,NOOP:_0x45a39f}=V(),{isBlob:_0x3903b5,isValidStatusCode:_0x1d9a13}=ne(),{mask:_0x5de659,toBuffer:_0x1547a1}=ce(),_0x14f652=Symbol(_0x489853(0x32a)),_0x4f2269=Buffer[_0x489853(0x2ab)](0x4),_0x277881=0x8*0x400;let _0x3d5fa4,_0x34a8be=_0x277881;const _0x58fbed=0x0,_0x379698=0x1,_0x2ce2fb=0x2;class _0x1ca94f{constructor(_0x5af8e7,_0x283043,_0x28b5d9){const _0x25eca1=_0x489853;this['_extensions']=_0x283043||{},_0x28b5d9&&(this[_0x25eca1(0x2c4)]=_0x28b5d9,this['_maskBuffer']=Buffer[_0x25eca1(0x2ab)](0x4)),this['_socket']=_0x5af8e7,this['_firstFragment']=!0x0,this[_0x25eca1(0x288)]=!0x1,this[_0x25eca1(0x242)]=0x0,this[_0x25eca1(0x2e7)]=[],this['_state']=_0x58fbed,this[_0x25eca1(0x206)]=_0x45a39f,this[_0x3fe8d3]=void 0x0;}static[_0x489853(0x249)](_0x577d97,_0x376238){const _0x2d54fe=_0x489853;let _0x4799de,_0x31d20f=!0x1,_0x15c090=0x2,_0x398d38=!0x1;_0x376238[_0x2d54fe(0x1f1)]&&(_0x4799de=_0x376238[_0x2d54fe(0x1b1)]||_0x4f2269,_0x376238['generateMask']?_0x376238[_0x2d54fe(0x2f7)](_0x4799de):(_0x34a8be===_0x277881&&(_0x3d5fa4===void 0x0&&(_0x3d5fa4=Buffer['alloc'](_0x277881)),_0xea9f1(_0x3d5fa4,0x0,_0x277881),_0x34a8be=0x0),_0x4799de[0x0]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x1]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x2]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x3]=_0x3d5fa4[_0x34a8be++]),_0x398d38=(_0x4799de[0x0]|_0x4799de[0x1]|_0x4799de[0x2]|_0x4799de[0x3])===0x0,_0x15c090=0x6);let _0xc47b59;typeof _0x577d97==_0x2d54fe(0x1fd)?(!_0x376238[_0x2d54fe(0x1f1)]||_0x398d38)&&_0x376238[_0x14f652]!==void 0x0?_0xc47b59=_0x376238[_0x14f652]:(_0x577d97=Buffer[_0x2d54fe(0x305)](_0x577d97),_0xc47b59=_0x577d97[_0x2d54fe(0x2fb)]):(_0xc47b59=_0x577d97[_0x2d54fe(0x2fb)],_0x31d20f=_0x376238[_0x2d54fe(0x1f1)]&&_0x376238[_0x2d54fe(0x27a)]&&!_0x398d38);let _0x33e813=_0xc47b59;_0xc47b59>=0x10000?(_0x15c090+=0x8,_0x33e813=0x7f):_0xc47b59>0x7d&&(_0x15c090+=0x2,_0x33e813=0x7e);const _0x2a6c44=Buffer[_0x2d54fe(0x1e6)](_0x31d20f?_0xc47b59+_0x15c090:_0x15c090);return _0x2a6c44[0x0]=_0x376238['fin']?_0x376238[_0x2d54fe(0x1a3)]|0x80:_0x376238[_0x2d54fe(0x1a3)],_0x376238[_0x2d54fe(0x34c)]&&(_0x2a6c44[0x0]|=0x40),_0x2a6c44[0x1]=_0x33e813,_0x33e813===0x7e?_0x2a6c44[_0x2d54fe(0x2a5)](_0xc47b59,0x2):_0x33e813===0x7f&&(_0x2a6c44[0x2]=_0x2a6c44[0x3]=0x0,_0x2a6c44[_0x2d54fe(0x247)](_0xc47b59,0x4,0x6)),_0x376238['mask']?(_0x2a6c44[0x1]|=0x80,_0x2a6c44[_0x15c090-0x4]=_0x4799de[0x0],_0x2a6c44[_0x15c090-0x3]=_0x4799de[0x1],_0x2a6c44[_0x15c090-0x2]=_0x4799de[0x2],_0x2a6c44[_0x15c090-0x1]=_0x4799de[0x3],_0x398d38?[_0x2a6c44,_0x577d97]:_0x31d20f?(_0x5de659(_0x577d97,_0x4799de,_0x2a6c44,_0x15c090,_0xc47b59),[_0x2a6c44]):(_0x5de659(_0x577d97,_0x4799de,_0x577d97,0x0,_0xc47b59),[_0x2a6c44,_0x577d97])):[_0x2a6c44,_0x577d97];}['close'](_0x1269ef,_0x1ef1b5,_0x3e3f7c,_0x59dbac){const _0x2f173b=_0x489853;let _0x207310;if(_0x1269ef===void 0x0)_0x207310=_0x22327c;else{if(typeof _0x1269ef!=_0x2f173b(0x1b9)||!_0x1d9a13(_0x1269ef))throw new TypeError(_0x2f173b(0x2ec));if(_0x1ef1b5===void 0x0||!_0x1ef1b5[_0x2f173b(0x2fb)])_0x207310=Buffer['allocUnsafe'](0x2),_0x207310[_0x2f173b(0x2a5)](_0x1269ef,0x0);else{const _0x5bc531=Buffer[_0x2f173b(0x1ec)](_0x1ef1b5);if(_0x5bc531>0x7b)throw new RangeError(_0x2f173b(0x29a));_0x207310=Buffer[_0x2f173b(0x1e6)](0x2+_0x5bc531),_0x207310[_0x2f173b(0x2a5)](_0x1269ef,0x0),typeof _0x1ef1b5==_0x2f173b(0x1fd)?_0x207310[_0x2f173b(0x20c)](_0x1ef1b5,0x2):_0x207310['set'](_0x1ef1b5,0x2);}}const _0x408be7={[_0x14f652]:_0x207310['length'],'fin':!0x0,'generateMask':this[_0x2f173b(0x2c4)],'mask':_0x3e3f7c,'maskBuffer':this[_0x2f173b(0x1b6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f173b(0x216)]!==_0x58fbed?this[_0x2f173b(0x209)]([this[_0x2f173b(0x252)],_0x207310,!0x1,_0x408be7,_0x59dbac]):this[_0x2f173b(0x1d7)](_0x1ca94f[_0x2f173b(0x249)](_0x207310,_0x408be7),_0x59dbac);}[_0x489853(0x1dc)](_0x36802d,_0x37aa17,_0x4bea19){const _0xd835e4=_0x489853;let _0x3679ec,_0x5c6335;if(typeof _0x36802d==_0xd835e4(0x1fd)?(_0x3679ec=Buffer[_0xd835e4(0x1ec)](_0x36802d),_0x5c6335=!0x1):_0x3903b5(_0x36802d)?(_0x3679ec=_0x36802d[_0xd835e4(0x23d)],_0x5c6335=!0x1):(_0x36802d=_0x1547a1(_0x36802d),_0x3679ec=_0x36802d[_0xd835e4(0x2fb)],_0x5c6335=_0x1547a1[_0xd835e4(0x27a)]),_0x3679ec>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4a1048={[_0x14f652]:_0x3679ec,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37aa17,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5c6335,'rsv1':!0x1};_0x3903b5(_0x36802d)?this[_0xd835e4(0x216)]!==_0x58fbed?this[_0xd835e4(0x209)]([this[_0xd835e4(0x31f)],_0x36802d,!0x1,_0x4a1048,_0x4bea19]):this[_0xd835e4(0x31f)](_0x36802d,!0x1,_0x4a1048,_0x4bea19):this['_state']!==_0x58fbed?this[_0xd835e4(0x209)]([this[_0xd835e4(0x252)],_0x36802d,!0x1,_0x4a1048,_0x4bea19]):this[_0xd835e4(0x1d7)](_0x1ca94f['frame'](_0x36802d,_0x4a1048),_0x4bea19);}['pong'](_0xcda793,_0x4ed8d8,_0x22b090){const _0x2b0bc9=_0x489853;let _0x584608,_0x2266c1;if(typeof _0xcda793==_0x2b0bc9(0x1fd)?(_0x584608=Buffer[_0x2b0bc9(0x1ec)](_0xcda793),_0x2266c1=!0x1):_0x3903b5(_0xcda793)?(_0x584608=_0xcda793[_0x2b0bc9(0x23d)],_0x2266c1=!0x1):(_0xcda793=_0x1547a1(_0xcda793),_0x584608=_0xcda793['length'],_0x2266c1=_0x1547a1[_0x2b0bc9(0x27a)]),_0x584608>0x7d)throw new RangeError(_0x2b0bc9(0x1d2));const _0x121194={[_0x14f652]:_0x584608,'fin':!0x0,'generateMask':this[_0x2b0bc9(0x2c4)],'mask':_0x4ed8d8,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2266c1,'rsv1':!0x1};_0x3903b5(_0xcda793)?this[_0x2b0bc9(0x216)]!==_0x58fbed?this[_0x2b0bc9(0x209)]([this['getBlobData'],_0xcda793,!0x1,_0x121194,_0x22b090]):this[_0x2b0bc9(0x31f)](_0xcda793,!0x1,_0x121194,_0x22b090):this[_0x2b0bc9(0x216)]!==_0x58fbed?this['enqueue']([this['dispatch'],_0xcda793,!0x1,_0x121194,_0x22b090]):this[_0x2b0bc9(0x1d7)](_0x1ca94f[_0x2b0bc9(0x249)](_0xcda793,_0x121194),_0x22b090);}['send'](_0xa6f494,_0x58d13e,_0x45ecfd){const _0x47a706=_0x489853,_0x14438b=this[_0x47a706(0x1dd)][_0x5e5acd[_0x47a706(0x2df)]];let _0x4bafb1=_0x58d13e['binary']?0x2:0x1,_0x9dd59=_0x58d13e['compress'],_0x5dec2c,_0xef0b5c;typeof _0xa6f494==_0x47a706(0x1fd)?(_0x5dec2c=Buffer[_0x47a706(0x1ec)](_0xa6f494),_0xef0b5c=!0x1):_0x3903b5(_0xa6f494)?(_0x5dec2c=_0xa6f494[_0x47a706(0x23d)],_0xef0b5c=!0x1):(_0xa6f494=_0x1547a1(_0xa6f494),_0x5dec2c=_0xa6f494[_0x47a706(0x2fb)],_0xef0b5c=_0x1547a1['readOnly']),this['_firstFragment']?(this[_0x47a706(0x33b)]=!0x1,_0x9dd59&&_0x14438b&&_0x14438b[_0x47a706(0x1f4)][_0x14438b[_0x47a706(0x338)]?_0x47a706(0x297):_0x47a706(0x243)]&&(_0x9dd59=_0x5dec2c>=_0x14438b['_threshold']),this[_0x47a706(0x288)]=_0x9dd59):(_0x9dd59=!0x1,_0x4bafb1=0x0),_0x58d13e['fin']&&(this[_0x47a706(0x33b)]=!0x0);const _0x212b38={[_0x14f652]:_0x5dec2c,'fin':_0x58d13e[_0x47a706(0x1f0)],'generateMask':this['_generateMask'],'mask':_0x58d13e['mask'],'maskBuffer':this[_0x47a706(0x1b6)],'opcode':_0x4bafb1,'readOnly':_0xef0b5c,'rsv1':_0x9dd59};_0x3903b5(_0xa6f494)?this[_0x47a706(0x216)]!==_0x58fbed?this[_0x47a706(0x209)]([this['getBlobData'],_0xa6f494,this[_0x47a706(0x288)],_0x212b38,_0x45ecfd]):this[_0x47a706(0x31f)](_0xa6f494,this['_compress'],_0x212b38,_0x45ecfd):this[_0x47a706(0x216)]!==_0x58fbed?this[_0x47a706(0x209)]([this[_0x47a706(0x252)],_0xa6f494,this['_compress'],_0x212b38,_0x45ecfd]):this[_0x47a706(0x252)](_0xa6f494,this[_0x47a706(0x288)],_0x212b38,_0x45ecfd);}[_0x489853(0x31f)](_0x41f537,_0x4b5778,_0x3e1de7,_0x14a625){const _0x189a6f=_0x489853;this['_bufferedBytes']+=_0x3e1de7[_0x14f652],this[_0x189a6f(0x216)]=_0x2ce2fb,_0x41f537[_0x189a6f(0x2ff)]()[_0x189a6f(0x31b)](_0x37e5ef=>{const _0x2b9e72=_0x189a6f;if(this[_0x2b9e72(0x1c9)][_0x2b9e72(0x2c6)]){const _0x2f4cc1=new Error(_0x2b9e72(0x263));process[_0x2b9e72(0x1f6)](_0x1497de,this,_0x2f4cc1,_0x14a625);return;}this[_0x2b9e72(0x242)]-=_0x3e1de7[_0x14f652];const _0x51c2c5=_0x1547a1(_0x37e5ef);_0x4b5778?this[_0x2b9e72(0x252)](_0x51c2c5,_0x4b5778,_0x3e1de7,_0x14a625):(this[_0x2b9e72(0x216)]=_0x58fbed,this['sendFrame'](_0x1ca94f[_0x2b9e72(0x249)](_0x51c2c5,_0x3e1de7),_0x14a625),this[_0x2b9e72(0x32f)]());})['catch'](_0x5ecc85=>{process['nextTick'](_0x1c3170,this,_0x5ecc85,_0x14a625);});}['dispatch'](_0x39e822,_0x42c03e,_0xfd7274,_0x31cb56){const _0x957077=_0x489853;if(!_0x42c03e){this['sendFrame'](_0x1ca94f[_0x957077(0x249)](_0x39e822,_0xfd7274),_0x31cb56);return;}const _0x220444=this['_extensions'][_0x5e5acd['extensionName']];this[_0x957077(0x242)]+=_0xfd7274[_0x14f652],this[_0x957077(0x216)]=_0x379698,_0x220444['compress'](_0x39e822,_0xfd7274[_0x957077(0x1f0)],(_0x9c9548,_0x551d8f)=>{const _0x2f822f=_0x957077;if(this['_socket'][_0x2f822f(0x2c6)]){const _0x4a891e=new Error(_0x2f822f(0x212));_0x1497de(this,_0x4a891e,_0x31cb56);return;}this[_0x2f822f(0x242)]-=_0xfd7274[_0x14f652],this[_0x2f822f(0x216)]=_0x58fbed,_0xfd7274[_0x2f822f(0x27a)]=!0x1,this[_0x2f822f(0x1d7)](_0x1ca94f[_0x2f822f(0x249)](_0x551d8f,_0xfd7274),_0x31cb56),this[_0x2f822f(0x32f)]();});}[_0x489853(0x32f)](){const _0x372d9b=_0x489853;for(;this[_0x372d9b(0x216)]===_0x58fbed&&this[_0x372d9b(0x2e7)][_0x372d9b(0x2fb)];){const _0x322bdf=this['_queue']['shift']();this[_0x372d9b(0x242)]-=_0x322bdf[0x3][_0x14f652],Reflect[_0x372d9b(0x202)](_0x322bdf[0x0],this,_0x322bdf[_0x372d9b(0x325)](0x1));}}['enqueue'](_0x4f2e13){const _0x14482b=_0x489853;this[_0x14482b(0x242)]+=_0x4f2e13[0x3][_0x14f652],this[_0x14482b(0x2e7)][_0x14482b(0x300)](_0x4f2e13);}[_0x489853(0x1d7)](_0x55164d,_0x210150){const _0x418f72=_0x489853;_0x55164d[_0x418f72(0x2fb)]===0x2?(this[_0x418f72(0x1c9)][_0x418f72(0x1d1)](),this[_0x418f72(0x1c9)]['write'](_0x55164d[0x0]),this[_0x418f72(0x1c9)]['write'](_0x55164d[0x1],_0x210150),this[_0x418f72(0x1c9)][_0x418f72(0x284)]()):this[_0x418f72(0x1c9)][_0x418f72(0x20c)](_0x55164d[0x0],_0x210150);}}Ee=_0x1ca94f;function _0x1497de(_0x5f39b0,_0x2d9318,_0x45964d){const _0x59a211=_0x489853;typeof _0x45964d==_0x59a211(0x33a)&&_0x45964d(_0x2d9318);for(let _0x14ad53=0x0;_0x14ad53<_0x5f39b0[_0x59a211(0x2e7)]['length'];_0x14ad53++){const _0x13f010=_0x5f39b0['_queue'][_0x14ad53],_0x5051e1=_0x13f010[_0x13f010[_0x59a211(0x2fb)]-0x1];typeof _0x5051e1=='function'&&_0x5051e1(_0x2d9318);}}function _0x1c3170(_0x134c6c,_0x3d2cae,_0xd32469){_0x1497de(_0x134c6c,_0x3d2cae,_0xd32469),_0x134c6c['onerror'](_0x3d2cae);}return Ee;}var xe,tt;function Kt(){const _0x522b8b=_0x10fc00;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x19cb92,kListener:_0x588f5c}=V(),_0x1b5c20=Symbol(_0x522b8b(0x211)),_0x4b3a74=Symbol(_0x522b8b(0x2bf)),_0x206c84=Symbol(_0x522b8b(0x1ad)),_0x46b1c7=Symbol(_0x522b8b(0x34d)),_0x2a411a=Symbol(_0x522b8b(0x342)),_0x28657f=Symbol(_0x522b8b(0x2f9)),_0x313189=Symbol(_0x522b8b(0x23b)),_0x5b3ee0=Symbol(_0x522b8b(0x24f));class _0x17d3ac{constructor(_0x1395c6){this[_0x28657f]=null,this[_0x313189]=_0x1395c6;}get[_0x522b8b(0x285)](){return this[_0x28657f];}get[_0x522b8b(0x27b)](){return this[_0x313189];}}Object[_0x522b8b(0x356)](_0x17d3ac[_0x522b8b(0x25f)],'target',{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x17d3ac['prototype'],'type',{'enumerable':!0x0});class _0x23a8ad extends _0x17d3ac{constructor(_0x926180,_0x19edd2={}){const _0x44663d=_0x522b8b;super(_0x926180),this[_0x1b5c20]=_0x19edd2[_0x44663d(0x322)]===void 0x0?0x0:_0x19edd2[_0x44663d(0x322)],this[_0x2a411a]=_0x19edd2[_0x44663d(0x28a)]===void 0x0?'':_0x19edd2['reason'],this[_0x5b3ee0]=_0x19edd2[_0x44663d(0x2af)]===void 0x0?!0x1:_0x19edd2[_0x44663d(0x2af)];}get[_0x522b8b(0x322)](){return this[_0x1b5c20];}get['reason'](){return this[_0x2a411a];}get[_0x522b8b(0x2af)](){return this[_0x5b3ee0];}}Object['defineProperty'](_0x23a8ad[_0x522b8b(0x25f)],_0x522b8b(0x322),{'enumerable':!0x0}),Object['defineProperty'](_0x23a8ad[_0x522b8b(0x25f)],_0x522b8b(0x28a),{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x23a8ad['prototype'],'wasClean',{'enumerable':!0x0});class _0x583722 extends _0x17d3ac{constructor(_0x19944e,_0x2a1a88={}){const _0x43758d=_0x522b8b;super(_0x19944e),this[_0x206c84]=_0x2a1a88['error']===void 0x0?null:_0x2a1a88[_0x43758d(0x30f)],this[_0x46b1c7]=_0x2a1a88[_0x43758d(0x1f8)]===void 0x0?'':_0x2a1a88[_0x43758d(0x1f8)];}get[_0x522b8b(0x30f)](){return this[_0x206c84];}get[_0x522b8b(0x1f8)](){return this[_0x46b1c7];}}Object[_0x522b8b(0x356)](_0x583722[_0x522b8b(0x25f)],_0x522b8b(0x30f),{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x583722['prototype'],'message',{'enumerable':!0x0});class _0x1edbd5 extends _0x17d3ac{constructor(_0x5e3a41,_0x498d33={}){const _0x2583a5=_0x522b8b;super(_0x5e3a41),this[_0x4b3a74]=_0x498d33[_0x2583a5(0x2d8)]===void 0x0?null:_0x498d33['data'];}get[_0x522b8b(0x2d8)](){return this[_0x4b3a74];}}Object[_0x522b8b(0x356)](_0x1edbd5[_0x522b8b(0x25f)],_0x522b8b(0x2d8),{'enumerable':!0x0}),xe={'CloseEvent':_0x23a8ad,'ErrorEvent':_0x583722,'Event':_0x17d3ac,'EventTarget':{'addEventListener'(_0x391ff2,_0x4b69c0,_0x40c92e={}){const _0x14832=_0x522b8b;for(const _0xa18531 of this[_0x14832(0x269)](_0x391ff2))if(!_0x40c92e[_0x19cb92]&&_0xa18531[_0x588f5c]===_0x4b69c0&&!_0xa18531[_0x19cb92])return;let _0x1a4719;if(_0x391ff2===_0x14832(0x1f8))_0x1a4719=function(_0x57d634,_0x286681){const _0x2509e8=_0x14832,_0x5ec5bf=new _0x1edbd5(_0x2509e8(0x1f8),{'data':_0x286681?_0x57d634:_0x57d634['toString']()});_0x5ec5bf[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x5ec5bf);};else{if(_0x391ff2===_0x14832(0x1af))_0x1a4719=function(_0x36bb18,_0x4daf67){const _0x2f800d=_0x14832,_0x2d3c40=new _0x23a8ad(_0x2f800d(0x1af),{'code':_0x36bb18,'reason':_0x4daf67[_0x2f800d(0x33e)](),'wasClean':this['_closeFrameReceived']&&this[_0x2f800d(0x256)]});_0x2d3c40[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x2d3c40);};else{if(_0x391ff2===_0x14832(0x30f))_0x1a4719=function(_0x1c0471){const _0x102dc6=_0x14832,_0x364e11=new _0x583722(_0x102dc6(0x30f),{'error':_0x1c0471,'message':_0x1c0471[_0x102dc6(0x1f8)]});_0x364e11[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x364e11);};else{if(_0x391ff2===_0x14832(0x317))_0x1a4719=function(){const _0x4dc7bd=new _0x17d3ac('open');_0x4dc7bd[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x4dc7bd);};else return;}}}_0x1a4719[_0x19cb92]=!!_0x40c92e[_0x19cb92],_0x1a4719[_0x588f5c]=_0x4b69c0,_0x40c92e[_0x14832(0x2ee)]?this['once'](_0x391ff2,_0x1a4719):this['on'](_0x391ff2,_0x1a4719);},'removeEventListener'(_0x55eac2,_0x186a07){const _0x1e9971=_0x522b8b;for(const _0x5a9dd1 of this[_0x1e9971(0x269)](_0x55eac2))if(_0x5a9dd1[_0x588f5c]===_0x186a07&&!_0x5a9dd1[_0x19cb92]){this['removeListener'](_0x55eac2,_0x5a9dd1);break;}}},'MessageEvent':_0x1edbd5};function _0x36a43f(_0x14f5e6,_0x66bfb5,_0x5daaa8){const _0x3c8902=_0x522b8b;typeof _0x14f5e6=='object'&&_0x14f5e6['handleEvent']?_0x14f5e6[_0x3c8902(0x200)][_0x3c8902(0x328)](_0x14f5e6,_0x5daaa8):_0x14f5e6[_0x3c8902(0x328)](_0x66bfb5,_0x5daaa8);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2800a7}=ne();function _0x20ad4c(_0x351ec8,_0x2b17bb,_0x46860f){const _0x555e6e=_0x315a;_0x351ec8[_0x2b17bb]===void 0x0?_0x351ec8[_0x2b17bb]=[_0x46860f]:_0x351ec8[_0x2b17bb][_0x555e6e(0x300)](_0x46860f);}function _0x2a375b(_0x740c33){const _0x31e45b=_0x315a,_0x7d4226=Object[_0x31e45b(0x2b9)](null);let _0x15d25b=Object[_0x31e45b(0x2b9)](null),_0x226c09=!0x1,_0x15b396=!0x1,_0x47cde6=!0x1,_0x15b509,_0x3f5e89,_0x2a066c=-0x1,_0x3b187f=-0x1,_0x3337df=-0x1,_0x387306=0x0;for(;_0x387306<_0x740c33[_0x31e45b(0x2fb)];_0x387306++)if(_0x3b187f=_0x740c33[_0x31e45b(0x32b)](_0x387306),_0x15b509===void 0x0){if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x387306!==0x0&&(_0x3b187f===0x20||_0x3b187f===0x9))_0x3337df===-0x1&&_0x2a066c!==-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306);const _0x26081d=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);_0x3b187f===0x2c?(_0x20ad4c(_0x7d4226,_0x26081d,_0x15d25b),_0x15d25b=Object['create'](null)):_0x15b509=_0x26081d,_0x2a066c=_0x3337df=-0x1;}else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}else{if(_0x3f5e89===void 0x0){if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x3b187f===0x20||_0x3b187f===0x9)_0x3337df===-0x1&&_0x2a066c!==-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306),_0x20ad4c(_0x15d25b,_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df),!0x0),_0x3b187f===0x2c&&(_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b),_0x15d25b=Object[_0x31e45b(0x2b9)](null),_0x15b509=void 0x0),_0x2a066c=_0x3337df=-0x1;}else{if(_0x3b187f===0x3d&&_0x2a066c!==-0x1&&_0x3337df===-0x1)_0x3f5e89=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x387306),_0x2a066c=_0x3337df=-0x1;else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}}else{if(_0x15b396){if(_0x2800a7[_0x3b187f]!==0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x2a066c===-0x1?_0x2a066c=_0x387306:_0x226c09||(_0x226c09=!0x0),_0x15b396=!0x1;}else{if(_0x47cde6){if(_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x3b187f===0x22&&_0x2a066c!==-0x1)_0x47cde6=!0x1,_0x3337df=_0x387306;else{if(_0x3b187f===0x5c)_0x15b396=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x387306);}}}else{if(_0x3b187f===0x22&&_0x740c33[_0x31e45b(0x32b)](_0x387306-0x1)===0x3d)_0x47cde6=!0x0;else{if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x2a066c!==-0x1&&(_0x3b187f===0x20||_0x3b187f===0x9))_0x3337df===-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306);let _0x2b8f73=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);_0x226c09&&(_0x2b8f73=_0x2b8f73[_0x31e45b(0x27d)](/\\/g,''),_0x226c09=!0x1),_0x20ad4c(_0x15d25b,_0x3f5e89,_0x2b8f73),_0x3b187f===0x2c&&(_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b),_0x15d25b=Object['create'](null),_0x15b509=void 0x0),_0x3f5e89=void 0x0,_0x2a066c=_0x3337df=-0x1;}else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}}}}}if(_0x2a066c===-0x1||_0x47cde6||_0x3b187f===0x20||_0x3b187f===0x9)throw new SyntaxError(_0x31e45b(0x213));_0x3337df===-0x1&&(_0x3337df=_0x387306);const _0x1cc056=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);return _0x15b509===void 0x0?_0x20ad4c(_0x7d4226,_0x1cc056,_0x15d25b):(_0x3f5e89===void 0x0?_0x20ad4c(_0x15d25b,_0x1cc056,!0x0):_0x226c09?_0x20ad4c(_0x15d25b,_0x3f5e89,_0x1cc056[_0x31e45b(0x27d)](/\\/g,'')):_0x20ad4c(_0x15d25b,_0x3f5e89,_0x1cc056),_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b)),_0x7d4226;}function _0x4372e6(_0x144399){const _0x40c626=_0x315a;return Object[_0x40c626(0x1a2)](_0x144399)['map'](_0x265d33=>{const _0x346b8d=_0x40c626;let _0xa55877=_0x144399[_0x265d33];return Array[_0x346b8d(0x272)](_0xa55877)||(_0xa55877=[_0xa55877]),_0xa55877['map'](_0x5c66c5=>[_0x265d33][_0x346b8d(0x29f)](Object[_0x346b8d(0x1a2)](_0x5c66c5)[_0x346b8d(0x30d)](_0x850446=>{const _0x21100a=_0x346b8d;let _0x367437=_0x5c66c5[_0x850446];return Array[_0x21100a(0x272)](_0x367437)||(_0x367437=[_0x367437]),_0x367437['map'](_0x5bd55f=>_0x5bd55f===!0x0?_0x850446:_0x850446+'='+_0x5bd55f)['join'](';\x20');}))[_0x346b8d(0x2ad)](';\x20'))['join'](',\x20');})[_0x40c626(0x2ad)](',\x20');}return be={'format':_0x4372e6,'parse':_0x2a375b},be;}var we,st;function Ie(){const _0x257464=_0x10fc00;if(st)return we;st=0x1;const _0x290fe0=_0xd5d56b,_0x119c8f=_0x4a05e2,_0x508719=_0x2a4a4d,_0x8226e9=_0x4d839b,_0x46ddc7=_0x5688c2,{randomBytes:_0x4f1dc4,createHash:_0x295495}=_0x2f069a,{Duplex:_0x30e929,Readable:_0x2fa552}=_0x3a313f,{URL:_0x4c9115}=_0x4e1661,_0x4fb7cb=he(),_0x342c31=dt(),_0x1d2820=_t(),{isBlob:_0x399a3b}=ne(),{BINARY_TYPES:_0x325936,EMPTY_BUFFER:_0x3dbf8f,GUID:_0x45ed69,kForOnEventAttribute:_0x526900,kListener:_0x45eae4,kStatusCode:_0x1cc9af,kWebSocket:_0x358242,NOOP:_0x80f3ea}=V(),{EventTarget:{addEventListener:_0x443a0b,removeEventListener:_0x2cf745}}=Kt(),{format:_0x52ee3f,parse:_0x3d9e80}=pt(),{toBuffer:_0x40f70e}=ce(),_0x4a968a=0x1e*0x3e8,_0x2e6c22=Symbol(_0x257464(0x2f4)),_0x555426=[0x8,0xd],_0x182bf4=['CONNECTING',_0x257464(0x2ca),_0x257464(0x30a),_0x257464(0x286)],_0x9bf612=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x16a032 extends _0x290fe0{constructor(_0x2a50ee,_0x307e00,_0x28db18){const _0x50d67d=_0x257464;super(),this['_binaryType']=_0x325936[0x0],this[_0x50d67d(0x30c)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x50d67d(0x256)]=!0x1,this[_0x50d67d(0x350)]=_0x3dbf8f,this[_0x50d67d(0x1c7)]=null,this[_0x50d67d(0x2b1)]=!0x1,this[_0x50d67d(0x1dd)]={},this[_0x50d67d(0x34b)]=!0x1,this['_protocol']='',this[_0x50d67d(0x315)]=_0x16a032[_0x50d67d(0x32c)],this[_0x50d67d(0x22e)]=null,this['_sender']=null,this[_0x50d67d(0x1c9)]=null,_0x2a50ee!==null?(this[_0x50d67d(0x331)]=0x0,this[_0x50d67d(0x338)]=!0x1,this[_0x50d67d(0x26d)]=0x0,_0x307e00===void 0x0?_0x307e00=[]:Array[_0x50d67d(0x272)](_0x307e00)||(typeof _0x307e00=='object'&&_0x307e00!==null?(_0x28db18=_0x307e00,_0x307e00=[]):_0x307e00=[_0x307e00]),_0x2270e7(this,_0x2a50ee,_0x307e00,_0x28db18)):(this[_0x50d67d(0x320)]=_0x28db18[_0x50d67d(0x35a)],this[_0x50d67d(0x338)]=!0x0);}get[_0x257464(0x2db)](){const _0x47c246=_0x257464;return this[_0x47c246(0x319)];}set[_0x257464(0x2db)](_0x191696){const _0x4abca4=_0x257464;_0x325936[_0x4abca4(0x304)](_0x191696)&&(this['_binaryType']=_0x191696,this[_0x4abca4(0x22e)]&&(this[_0x4abca4(0x22e)][_0x4abca4(0x319)]=_0x191696));}get[_0x257464(0x31a)](){const _0x57ef9e=_0x257464;return this[_0x57ef9e(0x1c9)]?this['_socket'][_0x57ef9e(0x2c1)][_0x57ef9e(0x2fb)]+this[_0x57ef9e(0x312)]['_bufferedBytes']:this[_0x57ef9e(0x331)];}get[_0x257464(0x278)](){const _0x1f8a0f=_0x257464;return Object[_0x1f8a0f(0x1a2)](this[_0x1f8a0f(0x1dd)])[_0x1f8a0f(0x2ad)]();}get[_0x257464(0x282)](){const _0x31e602=_0x257464;return this[_0x31e602(0x34b)];}get[_0x257464(0x349)](){return null;}get[_0x257464(0x206)](){return null;}get['onopen'](){return null;}get[_0x257464(0x28c)](){return null;}get['protocol'](){const _0x1af0ab=_0x257464;return this[_0x1af0ab(0x1c5)];}get['readyState'](){const _0x55ffad=_0x257464;return this[_0x55ffad(0x315)];}get[_0x257464(0x339)](){const _0x2d4541=_0x257464;return this[_0x2d4541(0x1bb)];}['setSocket'](_0x3ec662,_0x2ac9d1,_0x593541){const _0x25f294=_0x257464,_0x460d8d=new _0x342c31({'allowSynchronousEvents':_0x593541[_0x25f294(0x2a4)],'binaryType':this[_0x25f294(0x2db)],'extensions':this['_extensions'],'isServer':this[_0x25f294(0x338)],'maxPayload':_0x593541[_0x25f294(0x287)],'skipUTF8Validation':_0x593541[_0x25f294(0x1db)]}),_0x11abb5=new _0x1d2820(_0x3ec662,this['_extensions'],_0x593541['generateMask']);this[_0x25f294(0x22e)]=_0x460d8d,this[_0x25f294(0x312)]=_0x11abb5,this[_0x25f294(0x1c9)]=_0x3ec662,_0x460d8d[_0x358242]=this,_0x11abb5[_0x358242]=this,_0x3ec662[_0x358242]=this,_0x460d8d['on']('conclude',_0x1972ab),_0x460d8d['on'](_0x25f294(0x326),_0x1339c6),_0x460d8d['on'](_0x25f294(0x30f),_0xd817a6),_0x460d8d['on']('message',_0x31a3bc),_0x460d8d['on'](_0x25f294(0x1dc),_0x422daa),_0x460d8d['on'](_0x25f294(0x2fc),_0x141916),_0x11abb5['onerror']=_0x3fbf41,_0x3ec662[_0x25f294(0x341)]&&_0x3ec662['setTimeout'](0x0),_0x3ec662[_0x25f294(0x22b)]&&_0x3ec662[_0x25f294(0x22b)](),_0x2ac9d1[_0x25f294(0x2fb)]>0x0&&_0x3ec662[_0x25f294(0x334)](_0x2ac9d1),_0x3ec662['on'](_0x25f294(0x1af),_0xb84849),_0x3ec662['on'](_0x25f294(0x2d8),_0x4490bf),_0x3ec662['on'](_0x25f294(0x259),_0x308e74),_0x3ec662['on']('error',_0x11c0bb),this[_0x25f294(0x315)]=_0x16a032[_0x25f294(0x2ca)],this[_0x25f294(0x25b)](_0x25f294(0x317));}[_0x257464(0x232)](){const _0x33667d=_0x257464;if(!this[_0x33667d(0x1c9)]){this[_0x33667d(0x315)]=_0x16a032[_0x33667d(0x286)],this['emit'](_0x33667d(0x1af),this[_0x33667d(0x30c)],this[_0x33667d(0x350)]);return;}this['_extensions'][_0x4fb7cb['extensionName']]&&this[_0x33667d(0x1dd)][_0x4fb7cb[_0x33667d(0x2df)]][_0x33667d(0x318)](),this[_0x33667d(0x22e)][_0x33667d(0x276)](),this[_0x33667d(0x315)]=_0x16a032[_0x33667d(0x286)],this[_0x33667d(0x25b)](_0x33667d(0x1af),this[_0x33667d(0x30c)],this[_0x33667d(0x350)]);}[_0x257464(0x1af)](_0x5304e3,_0xe9db41){const _0x37712a=_0x257464;if(this[_0x37712a(0x345)]!==_0x16a032['CLOSED']){if(this['readyState']===_0x16a032['CONNECTING']){_0x308b90(this,this[_0x37712a(0x298)],_0x37712a(0x20b));return;}if(this[_0x37712a(0x345)]===_0x16a032[_0x37712a(0x30a)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this['_receiver'][_0x37712a(0x2c1)]['errorEmitted'])&&this[_0x37712a(0x1c9)][_0x37712a(0x259)]();return;}this[_0x37712a(0x315)]=_0x16a032['CLOSING'],this['_sender'][_0x37712a(0x1af)](_0x5304e3,_0xe9db41,!this['_isServer'],_0x28fa7f=>{const _0x195312=_0x37712a;_0x28fa7f||(this[_0x195312(0x256)]=!0x0,(this[_0x195312(0x2e9)]||this[_0x195312(0x22e)][_0x195312(0x2c1)]['errorEmitted'])&&this[_0x195312(0x1c9)]['end']());}),_0x530898(this);}}[_0x257464(0x2ac)](){const _0x249eb5=_0x257464;this[_0x249eb5(0x345)]===_0x16a032[_0x249eb5(0x32c)]||this[_0x249eb5(0x345)]===_0x16a032['CLOSED']||(this[_0x249eb5(0x34b)]=!0x0,this[_0x249eb5(0x1c9)][_0x249eb5(0x2ac)]());}[_0x257464(0x1dc)](_0x47c14a,_0x1ed15f,_0x3ba219){const _0x169046=_0x257464;if(this['readyState']===_0x16a032[_0x169046(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47c14a==_0x169046(0x33a)?(_0x3ba219=_0x47c14a,_0x47c14a=_0x1ed15f=void 0x0):typeof _0x1ed15f=='function'&&(_0x3ba219=_0x1ed15f,_0x1ed15f=void 0x0),typeof _0x47c14a==_0x169046(0x1b9)&&(_0x47c14a=_0x47c14a[_0x169046(0x33e)]()),this[_0x169046(0x345)]!==_0x16a032['OPEN']){_0x3c31a8(this,_0x47c14a,_0x3ba219);return;}_0x1ed15f===void 0x0&&(_0x1ed15f=!this['_isServer']),this[_0x169046(0x312)]['ping'](_0x47c14a||_0x3dbf8f,_0x1ed15f,_0x3ba219);}['pong'](_0x4a35b5,_0x1cec67,_0x41e3e1){const _0x396b5d=_0x257464;if(this['readyState']===_0x16a032[_0x396b5d(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a35b5==_0x396b5d(0x33a)?(_0x41e3e1=_0x4a35b5,_0x4a35b5=_0x1cec67=void 0x0):typeof _0x1cec67==_0x396b5d(0x33a)&&(_0x41e3e1=_0x1cec67,_0x1cec67=void 0x0),typeof _0x4a35b5==_0x396b5d(0x1b9)&&(_0x4a35b5=_0x4a35b5[_0x396b5d(0x33e)]()),this['readyState']!==_0x16a032[_0x396b5d(0x2ca)]){_0x3c31a8(this,_0x4a35b5,_0x41e3e1);return;}_0x1cec67===void 0x0&&(_0x1cec67=!this[_0x396b5d(0x338)]),this['_sender'][_0x396b5d(0x2fc)](_0x4a35b5||_0x3dbf8f,_0x1cec67,_0x41e3e1);}[_0x257464(0x1cd)](){const _0x5a9be0=_0x257464;this['readyState']===_0x16a032[_0x5a9be0(0x32c)]||this[_0x5a9be0(0x345)]===_0x16a032[_0x5a9be0(0x286)]||(this['_paused']=!0x1,this['_receiver'][_0x5a9be0(0x2c1)]['needDrain']||this[_0x5a9be0(0x1c9)][_0x5a9be0(0x1cd)]());}[_0x257464(0x275)](_0x18b6a4,_0x479b8a,_0x4c3d49){const _0x1a3ffe=_0x257464;if(this[_0x1a3ffe(0x345)]===_0x16a032[_0x1a3ffe(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x479b8a=='function'&&(_0x4c3d49=_0x479b8a,_0x479b8a={}),typeof _0x18b6a4==_0x1a3ffe(0x1b9)&&(_0x18b6a4=_0x18b6a4[_0x1a3ffe(0x33e)]()),this[_0x1a3ffe(0x345)]!==_0x16a032[_0x1a3ffe(0x2ca)]){_0x3c31a8(this,_0x18b6a4,_0x4c3d49);return;}const _0x198feb={'binary':typeof _0x18b6a4!=_0x1a3ffe(0x1fd),'mask':!this[_0x1a3ffe(0x338)],'compress':!0x0,'fin':!0x0,..._0x479b8a};this[_0x1a3ffe(0x1dd)][_0x4fb7cb['extensionName']]||(_0x198feb[_0x1a3ffe(0x1a8)]=!0x1),this[_0x1a3ffe(0x312)][_0x1a3ffe(0x275)](_0x18b6a4||_0x3dbf8f,_0x198feb,_0x4c3d49);}[_0x257464(0x270)](){const _0x5e5fa4=_0x257464;if(this[_0x5e5fa4(0x345)]!==_0x16a032[_0x5e5fa4(0x286)]){if(this[_0x5e5fa4(0x345)]===_0x16a032[_0x5e5fa4(0x32c)]){_0x308b90(this,this[_0x5e5fa4(0x298)],_0x5e5fa4(0x20b));return;}this['_socket']&&(this['_readyState']=_0x16a032['CLOSING'],this['_socket'][_0x5e5fa4(0x207)]());}}}Object[_0x257464(0x356)](_0x16a032,_0x257464(0x32c),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x32c))}),Object[_0x257464(0x356)](_0x16a032[_0x257464(0x25f)],_0x257464(0x32c),{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x32c))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x2ca),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x2ca))}),Object[_0x257464(0x356)](_0x16a032[_0x257464(0x25f)],_0x257464(0x2ca),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x2ca))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x30a),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x30a))}),Object[_0x257464(0x356)](_0x16a032['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x30a))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x286),{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x286))}),Object['defineProperty'](_0x16a032[_0x257464(0x25f)],_0x257464(0x286),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x286))}),[_0x257464(0x2db),_0x257464(0x31a),_0x257464(0x278),'isPaused',_0x257464(0x2cb),'readyState',_0x257464(0x339)]['forEach'](_0x15d1a3=>{const _0x619c67=_0x257464;Object[_0x619c67(0x356)](_0x16a032[_0x619c67(0x25f)],_0x15d1a3,{'enumerable':!0x0});}),[_0x257464(0x317),_0x257464(0x30f),'close','message'][_0x257464(0x260)](_0x5c833b=>{const _0x1e6c2c=_0x257464;Object[_0x1e6c2c(0x356)](_0x16a032[_0x1e6c2c(0x25f)],'on'+_0x5c833b,{'enumerable':!0x0,'get'(){const _0x2b8da8=_0x1e6c2c;for(const _0x54fb81 of this[_0x2b8da8(0x269)](_0x5c833b))if(_0x54fb81[_0x526900])return _0x54fb81[_0x45eae4];return null;},'set'(_0x54a90b){const _0x4b4742=_0x1e6c2c;for(const _0x559dd7 of this[_0x4b4742(0x269)](_0x5c833b))if(_0x559dd7[_0x526900]){this['removeListener'](_0x5c833b,_0x559dd7);break;}typeof _0x54a90b==_0x4b4742(0x33a)&&this[_0x4b4742(0x351)](_0x5c833b,_0x54a90b,{[_0x526900]:!0x0});}});}),_0x16a032[_0x257464(0x25f)][_0x257464(0x351)]=_0x443a0b,_0x16a032[_0x257464(0x25f)]['removeEventListener']=_0x2cf745,we=_0x16a032;function _0x2270e7(_0x1696b9,_0x54dd91,_0x4fc053,_0x5c3b2c){const _0x61620d=_0x257464,_0x2100c4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x555426[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c3b2c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x61620d(0x261),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1696b9[_0x61620d(0x320)]=_0x2100c4[_0x61620d(0x35a)],!_0x555426[_0x61620d(0x304)](_0x2100c4[_0x61620d(0x343)]))throw new RangeError(_0x61620d(0x29b)+_0x2100c4[_0x61620d(0x343)]+_0x61620d(0x316)+_0x555426[_0x61620d(0x2ad)](',\x20')+')');let _0x3ad470;if(_0x54dd91 instanceof _0x4c9115)_0x3ad470=_0x54dd91;else try{_0x3ad470=new _0x4c9115(_0x54dd91);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x54dd91);}_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x1ae)?_0x3ad470[_0x61620d(0x2cb)]='ws:':_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x1b5)&&(_0x3ad470[_0x61620d(0x2cb)]=_0x61620d(0x2ea)),_0x1696b9[_0x61620d(0x1bb)]=_0x3ad470['href'];const _0x3241b5=_0x3ad470['protocol']==='wss:',_0x46b52d=_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x27f);let _0xa7bf37;if(_0x3ad470[_0x61620d(0x2cb)]!==_0x61620d(0x238)&&!_0x3241b5&&!_0x46b52d?_0xa7bf37='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':_0x46b52d&&!_0x3ad470[_0x61620d(0x1d9)]?_0xa7bf37=_0x61620d(0x2dd):_0x3ad470['hash']&&(_0xa7bf37=_0x61620d(0x2c5)),_0xa7bf37){const _0x29e986=new SyntaxError(_0xa7bf37);if(_0x1696b9[_0x61620d(0x26d)]===0x0)throw _0x29e986;_0x2b47ec(_0x1696b9,_0x29e986);return;}const _0xcbdb26=_0x3241b5?0x1bb:0x50,_0xd26509=_0x4f1dc4(0x10)[_0x61620d(0x33e)]('base64'),_0x28e4b2=_0x3241b5?_0x119c8f[_0x61620d(0x2e4)]:_0x508719[_0x61620d(0x2e4)],_0x220297=new Set();let _0x3a5e51;if(_0x2100c4[_0x61620d(0x2aa)]=_0x2100c4[_0x61620d(0x2aa)]||(_0x3241b5?_0x435bc9:_0x244812),_0x2100c4[_0x61620d(0x2eb)]=_0x2100c4[_0x61620d(0x2eb)]||_0xcbdb26,_0x2100c4[_0x61620d(0x27e)]=_0x3ad470[_0x61620d(0x27e)]||_0xcbdb26,_0x2100c4['host']=_0x3ad470[_0x61620d(0x2b7)][_0x61620d(0x28b)]('[')?_0x3ad470[_0x61620d(0x2b7)][_0x61620d(0x325)](0x1,-0x1):_0x3ad470[_0x61620d(0x2b7)],_0x2100c4[_0x61620d(0x1ef)]={..._0x2100c4['headers'],'Sec-WebSocket-Version':_0x2100c4[_0x61620d(0x343)],'Sec-WebSocket-Key':_0xd26509,'Connection':'Upgrade','Upgrade':_0x61620d(0x2a7)},_0x2100c4[_0x61620d(0x2b3)]=_0x3ad470[_0x61620d(0x1d9)]+_0x3ad470['search'],_0x2100c4['timeout']=_0x2100c4[_0x61620d(0x332)],_0x2100c4[_0x61620d(0x2d7)]&&(_0x3a5e51=new _0x4fb7cb(_0x2100c4[_0x61620d(0x2d7)]!==!0x0?_0x2100c4[_0x61620d(0x2d7)]:{},!0x1,_0x2100c4[_0x61620d(0x287)]),_0x2100c4[_0x61620d(0x1ef)]['Sec-WebSocket-Extensions']=_0x52ee3f({[_0x4fb7cb[_0x61620d(0x2df)]]:_0x3a5e51[_0x61620d(0x21e)]()})),_0x4fc053[_0x61620d(0x2fb)]){for(const _0xb7b9c8 of _0x4fc053){if(typeof _0xb7b9c8!=_0x61620d(0x1fd)||!_0x9bf612[_0x61620d(0x2c9)](_0xb7b9c8)||_0x220297[_0x61620d(0x296)](_0xb7b9c8))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x220297[_0x61620d(0x347)](_0xb7b9c8);}_0x2100c4[_0x61620d(0x1ef)]['Sec-WebSocket-Protocol']=_0x4fc053[_0x61620d(0x2ad)](',');}if(_0x2100c4[_0x61620d(0x357)]&&(_0x2100c4[_0x61620d(0x343)]<0xd?_0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x2fd)]=_0x2100c4['origin']:_0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x355)]=_0x2100c4['origin']),(_0x3ad470['username']||_0x3ad470[_0x61620d(0x233)])&&(_0x2100c4[_0x61620d(0x2b5)]=_0x3ad470[_0x61620d(0x2d4)]+':'+_0x3ad470[_0x61620d(0x233)]),_0x46b52d){const _0x230d5f=_0x2100c4[_0x61620d(0x2b3)][_0x61620d(0x27c)](':');_0x2100c4[_0x61620d(0x1eb)]=_0x230d5f[0x0],_0x2100c4[_0x61620d(0x2b3)]=_0x230d5f[0x1];}let _0x1b506a;if(_0x2100c4[_0x61620d(0x2d2)]){if(_0x1696b9[_0x61620d(0x26d)]===0x0){_0x1696b9['_originalIpc']=_0x46b52d,_0x1696b9['_originalSecure']=_0x3241b5,_0x1696b9[_0x61620d(0x1a5)]=_0x46b52d?_0x2100c4[_0x61620d(0x1eb)]:_0x3ad470['host'];const _0x460994=_0x5c3b2c&&_0x5c3b2c['headers'];if(_0x5c3b2c={..._0x5c3b2c,'headers':{}},_0x460994){for(const [_0x89240a,_0x5a4679]of Object[_0x61620d(0x2c2)](_0x460994))_0x5c3b2c[_0x61620d(0x1ef)][_0x89240a[_0x61620d(0x1e5)]()]=_0x5a4679;}}else{if(_0x1696b9[_0x61620d(0x1d4)](_0x61620d(0x1cc))===0x0){const _0x12cf41=_0x46b52d?_0x1696b9[_0x61620d(0x1da)]?_0x2100c4['socketPath']===_0x1696b9[_0x61620d(0x1a5)]:!0x1:_0x1696b9[_0x61620d(0x1da)]?!0x1:_0x3ad470[_0x61620d(0x22a)]===_0x1696b9[_0x61620d(0x1a5)];(!_0x12cf41||_0x1696b9[_0x61620d(0x30e)]&&!_0x3241b5)&&(delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x283)],delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x346)],_0x12cf41||delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x22a)],_0x2100c4['auth']=void 0x0);}}_0x2100c4[_0x61620d(0x2b5)]&&!_0x5c3b2c[_0x61620d(0x1ef)]['authorization']&&(_0x5c3b2c[_0x61620d(0x1ef)]['authorization']=_0x61620d(0x2b8)+Buffer['from'](_0x2100c4['auth'])[_0x61620d(0x33e)](_0x61620d(0x354))),_0x1b506a=_0x1696b9[_0x61620d(0x298)]=_0x28e4b2(_0x2100c4),_0x1696b9['_redirects']&&_0x1696b9[_0x61620d(0x25b)]('redirect',_0x1696b9[_0x61620d(0x339)],_0x1b506a);}else _0x1b506a=_0x1696b9[_0x61620d(0x298)]=_0x28e4b2(_0x2100c4);_0x2100c4[_0x61620d(0x277)]&&_0x1b506a['on'](_0x61620d(0x277),()=>{const _0x576909=_0x61620d;_0x308b90(_0x1696b9,_0x1b506a,_0x576909(0x280));}),_0x1b506a['on'](_0x61620d(0x30f),_0x4547cb=>{const _0x2d8e4b=_0x61620d;_0x1b506a===null||_0x1b506a[_0x2e6c22]||(_0x1b506a=_0x1696b9[_0x2d8e4b(0x298)]=null,_0x2b47ec(_0x1696b9,_0x4547cb));}),_0x1b506a['on']('response',_0x453351=>{const _0x2def80=_0x61620d,_0x4468d6=_0x453351[_0x2def80(0x1ef)][_0x2def80(0x1cb)],_0x4a6ebd=_0x453351[_0x2def80(0x234)];if(_0x4468d6&&_0x2100c4[_0x2def80(0x2d2)]&&_0x4a6ebd>=0x12c&&_0x4a6ebd<0x190){if(++_0x1696b9[_0x2def80(0x26d)]>_0x2100c4[_0x2def80(0x21b)]){_0x308b90(_0x1696b9,_0x1b506a,_0x2def80(0x215));return;}_0x1b506a['abort']();let _0x2d4f91;try{_0x2d4f91=new _0x4c9115(_0x4468d6,_0x54dd91);}catch{const _0x1e06be=new SyntaxError(_0x2def80(0x1d8)+_0x4468d6);_0x2b47ec(_0x1696b9,_0x1e06be);return;}_0x2270e7(_0x1696b9,_0x2d4f91,_0x4fc053,_0x5c3b2c);}else _0x1696b9[_0x2def80(0x25b)](_0x2def80(0x292),_0x1b506a,_0x453351)||_0x308b90(_0x1696b9,_0x1b506a,_0x2def80(0x235)+_0x453351['statusCode']);}),_0x1b506a['on']('upgrade',(_0x3e2653,_0x219e14,_0x20aa2c)=>{const _0x2116ab=_0x61620d;if(_0x1696b9['emit']('upgrade',_0x3e2653),_0x1696b9[_0x2116ab(0x345)]!==_0x16a032['CONNECTING'])return;_0x1b506a=_0x1696b9[_0x2116ab(0x298)]=null;const _0x1c5d12=_0x3e2653[_0x2116ab(0x1ef)][_0x2116ab(0x24b)];if(_0x1c5d12===void 0x0||_0x1c5d12['toLowerCase']()!==_0x2116ab(0x2a7)){_0x308b90(_0x1696b9,_0x219e14,'Invalid\x20Upgrade\x20header');return;}const _0xbd4efb=_0x295495(_0x2116ab(0x26b))[_0x2116ab(0x35d)](_0xd26509+_0x45ed69)[_0x2116ab(0x2d9)]('base64');if(_0x3e2653[_0x2116ab(0x1ef)][_0x2116ab(0x2de)]!==_0xbd4efb){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x306));return;}const _0x526325=_0x3e2653['headers'][_0x2116ab(0x330)];let _0x1de194;if(_0x526325!==void 0x0?_0x220297[_0x2116ab(0x23d)]?_0x220297['has'](_0x526325)||(_0x1de194=_0x2116ab(0x344)):_0x1de194='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x220297[_0x2116ab(0x23d)]&&(_0x1de194='Server\x20sent\x20no\x20subprotocol'),_0x1de194){_0x308b90(_0x1696b9,_0x219e14,_0x1de194);return;}_0x526325&&(_0x1696b9[_0x2116ab(0x1c5)]=_0x526325);const _0x3a58d4=_0x3e2653[_0x2116ab(0x1ef)]['sec-websocket-extensions'];if(_0x3a58d4!==void 0x0){if(!_0x3a5e51){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x1ab));return;}let _0x5870dd;try{_0x5870dd=_0x3d9e80(_0x3a58d4);}catch{_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x223));return;}const _0x2a0828=Object['keys'](_0x5870dd);if(_0x2a0828['length']!==0x1||_0x2a0828[0x0]!==_0x4fb7cb[_0x2116ab(0x2df)]){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x1de));return;}try{_0x3a5e51[_0x2116ab(0x2bd)](_0x5870dd[_0x4fb7cb[_0x2116ab(0x2df)]]);}catch{_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x223));return;}_0x1696b9[_0x2116ab(0x1dd)][_0x4fb7cb[_0x2116ab(0x2df)]]=_0x3a5e51;}_0x1696b9[_0x2116ab(0x359)](_0x219e14,_0x20aa2c,{'allowSynchronousEvents':_0x2100c4[_0x2116ab(0x2a4)],'generateMask':_0x2100c4[_0x2116ab(0x2f7)],'maxPayload':_0x2100c4[_0x2116ab(0x287)],'skipUTF8Validation':_0x2100c4[_0x2116ab(0x1db)]});}),_0x2100c4['finishRequest']?_0x2100c4['finishRequest'](_0x1b506a,_0x1696b9):_0x1b506a['end']();}function _0x2b47ec(_0x23f900,_0x3848f4){const _0x2d6f8f=_0x257464;_0x23f900[_0x2d6f8f(0x315)]=_0x16a032[_0x2d6f8f(0x30a)],_0x23f900[_0x2d6f8f(0x2b1)]=!0x0,_0x23f900[_0x2d6f8f(0x25b)]('error',_0x3848f4),_0x23f900['emitClose']();}function _0x244812(_0x47f0ec){const _0x1dad56=_0x257464;return _0x47f0ec[_0x1dad56(0x2b3)]=_0x47f0ec[_0x1dad56(0x1eb)],_0x8226e9[_0x1dad56(0x35e)](_0x47f0ec);}function _0x435bc9(_0x40cc1c){const _0x1c17bc=_0x257464;return _0x40cc1c['path']=void 0x0,!_0x40cc1c['servername']&&_0x40cc1c[_0x1c17bc(0x274)]!==''&&(_0x40cc1c['servername']=_0x8226e9[_0x1c17bc(0x268)](_0x40cc1c['host'])?'':_0x40cc1c['host']),_0x46ddc7[_0x1c17bc(0x35e)](_0x40cc1c);}function _0x308b90(_0x486638,_0x11c8bb,_0x460f27){const _0x82bd74=_0x257464;_0x486638[_0x82bd74(0x315)]=_0x16a032[_0x82bd74(0x30a)];const _0x3b881c=new Error(_0x460f27);Error['captureStackTrace'](_0x3b881c,_0x308b90),_0x11c8bb['setHeader']?(_0x11c8bb[_0x2e6c22]=!0x0,_0x11c8bb[_0x82bd74(0x2e0)](),_0x11c8bb[_0x82bd74(0x251)]&&!_0x11c8bb[_0x82bd74(0x251)][_0x82bd74(0x2c6)]&&_0x11c8bb[_0x82bd74(0x251)]['destroy'](),process[_0x82bd74(0x1f6)](_0x2b47ec,_0x486638,_0x3b881c)):(_0x11c8bb[_0x82bd74(0x207)](_0x3b881c),_0x11c8bb[_0x82bd74(0x2ee)](_0x82bd74(0x30f),_0x486638[_0x82bd74(0x25b)]['bind'](_0x486638,'error')),_0x11c8bb[_0x82bd74(0x2ee)](_0x82bd74(0x1af),_0x486638[_0x82bd74(0x232)]['bind'](_0x486638)));}function _0x3c31a8(_0x473198,_0x23775c,_0x2dacf4){const _0xe34699=_0x257464;if(_0x23775c){const _0x46b244=_0x399a3b(_0x23775c)?_0x23775c[_0xe34699(0x23d)]:_0x40f70e(_0x23775c)[_0xe34699(0x2fb)];_0x473198[_0xe34699(0x1c9)]?_0x473198[_0xe34699(0x312)][_0xe34699(0x242)]+=_0x46b244:_0x473198[_0xe34699(0x331)]+=_0x46b244;}if(_0x2dacf4){const _0x4988bd=new Error(_0xe34699(0x1c0)+_0x473198[_0xe34699(0x345)]+'\x20('+_0x182bf4[_0x473198[_0xe34699(0x345)]]+')');process[_0xe34699(0x1f6)](_0x2dacf4,_0x4988bd);}}function _0x1972ab(_0x1a7c75,_0x22225c){const _0x121a18=_0x257464,_0x45a372=this[_0x358242];_0x45a372[_0x121a18(0x2e9)]=!0x0,_0x45a372[_0x121a18(0x350)]=_0x22225c,_0x45a372[_0x121a18(0x30c)]=_0x1a7c75,_0x45a372[_0x121a18(0x1c9)][_0x358242]!==void 0x0&&(_0x45a372[_0x121a18(0x1c9)][_0x121a18(0x237)](_0x121a18(0x2d8),_0x4490bf),process[_0x121a18(0x1f6)](_0x5c0d0c,_0x45a372['_socket']),_0x1a7c75===0x3ed?_0x45a372[_0x121a18(0x1af)]():_0x45a372['close'](_0x1a7c75,_0x22225c));}function _0x1339c6(){const _0x685deb=_0x257464,_0x4ddf64=this[_0x358242];_0x4ddf64[_0x685deb(0x282)]||_0x4ddf64[_0x685deb(0x1c9)][_0x685deb(0x1cd)]();}function _0xd817a6(_0x354942){const _0x1bc144=_0x257464,_0x594c20=this[_0x358242];_0x594c20[_0x1bc144(0x1c9)][_0x358242]!==void 0x0&&(_0x594c20[_0x1bc144(0x1c9)][_0x1bc144(0x237)](_0x1bc144(0x2d8),_0x4490bf),process[_0x1bc144(0x1f6)](_0x5c0d0c,_0x594c20['_socket']),_0x594c20['close'](_0x354942[_0x1cc9af])),_0x594c20[_0x1bc144(0x2b1)]||(_0x594c20[_0x1bc144(0x2b1)]=!0x0,_0x594c20[_0x1bc144(0x25b)](_0x1bc144(0x30f),_0x354942));}function _0x3cfc80(){const _0x1ec7d3=_0x257464;this[_0x358242][_0x1ec7d3(0x232)]();}function _0x31a3bc(_0x2aa5f2,_0x58589c){const _0xa394ab=_0x257464;this[_0x358242][_0xa394ab(0x25b)]('message',_0x2aa5f2,_0x58589c);}function _0x422daa(_0x4383a8){const _0x4b57ef=_0x257464,_0x5534fe=this[_0x358242];_0x5534fe['_autoPong']&&_0x5534fe[_0x4b57ef(0x2fc)](_0x4383a8,!this[_0x4b57ef(0x338)],_0x80f3ea),_0x5534fe[_0x4b57ef(0x25b)](_0x4b57ef(0x1dc),_0x4383a8);}function _0x141916(_0x248569){const _0x5e164d=_0x257464;this[_0x358242][_0x5e164d(0x25b)](_0x5e164d(0x2fc),_0x248569);}function _0x5c0d0c(_0x1a0a91){const _0x2dc891=_0x257464;_0x1a0a91[_0x2dc891(0x1cd)]();}function _0x3fbf41(_0x1a6df4){const _0x544d8d=_0x257464,_0x401115=this[_0x358242];_0x401115[_0x544d8d(0x345)]!==_0x16a032[_0x544d8d(0x286)]&&(_0x401115['readyState']===_0x16a032[_0x544d8d(0x2ca)]&&(_0x401115[_0x544d8d(0x315)]=_0x16a032[_0x544d8d(0x30a)],_0x530898(_0x401115)),this[_0x544d8d(0x1c9)][_0x544d8d(0x259)](),_0x401115['_errorEmitted']||(_0x401115[_0x544d8d(0x2b1)]=!0x0,_0x401115['emit'](_0x544d8d(0x30f),_0x1a6df4)));}function _0x530898(_0x1ab63f){const _0x434940=_0x257464;_0x1ab63f[_0x434940(0x1c7)]=setTimeout(_0x1ab63f[_0x434940(0x1c9)][_0x434940(0x207)][_0x434940(0x2c8)](_0x1ab63f['_socket']),_0x4a968a);}function _0xb84849(){const _0x235a42=_0x257464,_0x208165=this[_0x358242];this[_0x235a42(0x237)](_0x235a42(0x1af),_0xb84849),this['removeListener'](_0x235a42(0x2d8),_0x4490bf),this[_0x235a42(0x237)]('end',_0x308e74),_0x208165['_readyState']=_0x16a032['CLOSING'];let _0x45bc2e;!this[_0x235a42(0x208)][_0x235a42(0x210)]&&!_0x208165[_0x235a42(0x2e9)]&&!_0x208165[_0x235a42(0x22e)]['_writableState']['errorEmitted']&&(_0x45bc2e=_0x208165['_socket'][_0x235a42(0x2e2)]())!==null&&_0x208165[_0x235a42(0x22e)][_0x235a42(0x20c)](_0x45bc2e),_0x208165['_receiver']['end'](),this[_0x358242]=void 0x0,clearTimeout(_0x208165['_closeTimer']),_0x208165['_receiver'][_0x235a42(0x2c1)][_0x235a42(0x24a)]||_0x208165['_receiver'][_0x235a42(0x2c1)][_0x235a42(0x1c2)]?_0x208165[_0x235a42(0x232)]():(_0x208165[_0x235a42(0x22e)]['on'](_0x235a42(0x30f),_0x3cfc80),_0x208165[_0x235a42(0x22e)]['on'](_0x235a42(0x2be),_0x3cfc80));}function _0x4490bf(_0x83896e){const _0x295120=_0x257464;this[_0x358242][_0x295120(0x22e)][_0x295120(0x20c)](_0x83896e)||this[_0x295120(0x2ac)]();}function _0x308e74(){const _0x93c917=_0x257464,_0x18be6b=this[_0x358242];_0x18be6b[_0x93c917(0x315)]=_0x16a032[_0x93c917(0x30a)],_0x18be6b[_0x93c917(0x22e)]['end'](),this[_0x93c917(0x259)]();}function _0x11c0bb(){const _0x38a64c=_0x257464,_0x2fb234=this[_0x358242];this['removeListener']('error',_0x11c0bb),this['on'](_0x38a64c(0x30f),_0x80f3ea),_0x2fb234&&(_0x2fb234[_0x38a64c(0x315)]=_0x16a032[_0x38a64c(0x30a)],this[_0x38a64c(0x207)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5f1f76}=_0x3a313f;function _0x5b3b22(_0x273da0){const _0x2071ca=_0x315a;_0x273da0['emit'](_0x2071ca(0x1af));}function _0x42db04(){const _0x345d40=_0x315a;!this[_0x345d40(0x2c6)]&&this['_writableState'][_0x345d40(0x24a)]&&this[_0x345d40(0x207)]();}function _0x59d329(_0x4a1b8f){const _0x410c75=_0x315a;this[_0x410c75(0x237)](_0x410c75(0x30f),_0x59d329),this['destroy'](),this['listenerCount']('error')===0x0&&this['emit'](_0x410c75(0x30f),_0x4a1b8f);}function _0x3b365b(_0x90a9,_0x5b34f5){const _0x5e0361=_0x315a;let _0x6f6f98=!0x0;const _0x3c9196=new _0x5f1f76({..._0x5b34f5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x90a9['on'](_0x5e0361(0x1f8),function(_0x566629,_0x529b12){const _0x4e82e5=_0x5e0361,_0x2459dc=!_0x529b12&&_0x3c9196[_0x4e82e5(0x208)][_0x4e82e5(0x1ac)]?_0x566629[_0x4e82e5(0x33e)]():_0x566629;_0x3c9196[_0x4e82e5(0x300)](_0x2459dc)||_0x90a9[_0x4e82e5(0x2ac)]();}),_0x90a9['once'](_0x5e0361(0x30f),function(_0x2c5666){const _0x5429d3=_0x5e0361;_0x3c9196[_0x5429d3(0x2c6)]||(_0x6f6f98=!0x1,_0x3c9196['destroy'](_0x2c5666));}),_0x90a9[_0x5e0361(0x2ee)](_0x5e0361(0x1af),function(){const _0x47ea9c=_0x5e0361;_0x3c9196['destroyed']||_0x3c9196[_0x47ea9c(0x300)](null);}),_0x3c9196[_0x5e0361(0x1d6)]=function(_0x21cb22,_0xc369c0){const _0x5e10cd=_0x5e0361;if(_0x90a9['readyState']===_0x90a9[_0x5e10cd(0x286)]){_0xc369c0(_0x21cb22),process[_0x5e10cd(0x1f6)](_0x5b3b22,_0x3c9196);return;}let _0x333313=!0x1;_0x90a9[_0x5e10cd(0x2ee)](_0x5e10cd(0x30f),function(_0x4a3733){_0x333313=!0x0,_0xc369c0(_0x4a3733);}),_0x90a9[_0x5e10cd(0x2ee)](_0x5e10cd(0x1af),function(){const _0x1fef2d=_0x5e10cd;_0x333313||_0xc369c0(_0x21cb22),process[_0x1fef2d(0x1f6)](_0x5b3b22,_0x3c9196);}),_0x6f6f98&&_0x90a9[_0x5e10cd(0x270)]();},_0x3c9196[_0x5e0361(0x21c)]=function(_0x364406){const _0x3df012=_0x5e0361;if(_0x90a9[_0x3df012(0x345)]===_0x90a9['CONNECTING']){_0x90a9['once'](_0x3df012(0x317),function(){const _0x21db3c=_0x3df012;_0x3c9196[_0x21db3c(0x21c)](_0x364406);});return;}_0x90a9[_0x3df012(0x1c9)]!==null&&(_0x90a9[_0x3df012(0x1c9)][_0x3df012(0x2c1)][_0x3df012(0x24a)]?(_0x364406(),_0x3c9196[_0x3df012(0x208)][_0x3df012(0x210)]&&_0x3c9196[_0x3df012(0x207)]()):(_0x90a9['_socket']['once'](_0x3df012(0x2be),function(){_0x364406();}),_0x90a9['close']()));},_0x3c9196[_0x5e0361(0x23a)]=function(){const _0xd4db5=_0x5e0361;_0x90a9[_0xd4db5(0x282)]&&_0x90a9['resume']();},_0x3c9196[_0x5e0361(0x1ce)]=function(_0x55ee66,_0x1fcebd,_0x169518){const _0x163964=_0x5e0361;if(_0x90a9[_0x163964(0x345)]===_0x90a9[_0x163964(0x32c)]){_0x90a9[_0x163964(0x2ee)](_0x163964(0x317),function(){_0x3c9196['_write'](_0x55ee66,_0x1fcebd,_0x169518);});return;}_0x90a9[_0x163964(0x275)](_0x55ee66,_0x169518);},_0x3c9196['on'](_0x5e0361(0x259),_0x42db04),_0x3c9196['on'](_0x5e0361(0x30f),_0x59d329),_0x3c9196;}return Oe=_0x3b365b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x28ea21}=ne();function _0x197df0(_0x1cbe86){const _0x548971=_0x315a,_0x1dcb7e=new Set();let _0x9683af=-0x1,_0x2bd6f8=-0x1,_0x3f11ae=0x0;for(_0x3f11ae;_0x3f11ae<_0x1cbe86['length'];_0x3f11ae++){const _0x12e5ce=_0x1cbe86[_0x548971(0x32b)](_0x3f11ae);if(_0x2bd6f8===-0x1&&_0x28ea21[_0x12e5ce]===0x1)_0x9683af===-0x1&&(_0x9683af=_0x3f11ae);else{if(_0x3f11ae!==0x0&&(_0x12e5ce===0x20||_0x12e5ce===0x9))_0x2bd6f8===-0x1&&_0x9683af!==-0x1&&(_0x2bd6f8=_0x3f11ae);else{if(_0x12e5ce===0x2c){if(_0x9683af===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f11ae);_0x2bd6f8===-0x1&&(_0x2bd6f8=_0x3f11ae);const _0x578823=_0x1cbe86['slice'](_0x9683af,_0x2bd6f8);if(_0x1dcb7e[_0x548971(0x296)](_0x578823))throw new SyntaxError(_0x548971(0x264)+_0x578823+_0x548971(0x1cf));_0x1dcb7e[_0x548971(0x347)](_0x578823),_0x9683af=_0x2bd6f8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f11ae);}}}if(_0x9683af===-0x1||_0x2bd6f8!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x209128=_0x1cbe86[_0x548971(0x325)](_0x9683af,_0x3f11ae);if(_0x1dcb7e[_0x548971(0x296)](_0x209128))throw new SyntaxError(_0x548971(0x264)+_0x209128+_0x548971(0x1cf));return _0x1dcb7e[_0x548971(0x347)](_0x209128),_0x1dcb7e;}return Ce={'parse':_0x197df0},Ce;}var Te,ot;function er(){const _0x2be3d7=_0x10fc00;if(ot)return Te;ot=0x1;const _0x11f3f4=_0xd5d56b,_0x5c9c81=_0x2a4a4d,{Duplex:_0xbb61a7}=_0x3a313f,{createHash:_0x13784e}=_0x2f069a,_0x4a1319=pt(),_0xa8e9fb=he(),_0x2792a3=Jt(),_0xf22c5c=Ie(),{GUID:_0x19b426,kWebSocket:_0x4206ab}=V(),_0x42775b=/^[+/0-9A-Za-z]{22}==$/,_0x5db3dd=0x0,_0x393477=0x1,_0x3c55c4=0x2;class _0x42f20a extends _0x11f3f4{constructor(_0x274584,_0x320734){const _0x3a2ffa=_0x315a;if(super(),_0x274584={'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':_0xf22c5c,..._0x274584},_0x274584[_0x3a2ffa(0x27e)]==null&&!_0x274584[_0x3a2ffa(0x336)]&&!_0x274584['noServer']||_0x274584[_0x3a2ffa(0x27e)]!=null&&(_0x274584[_0x3a2ffa(0x336)]||_0x274584[_0x3a2ffa(0x33c)])||_0x274584[_0x3a2ffa(0x336)]&&_0x274584[_0x3a2ffa(0x33c)])throw new TypeError(_0x3a2ffa(0x23f));if(_0x274584['port']!=null?(this[_0x3a2ffa(0x1e4)]=_0x5c9c81[_0x3a2ffa(0x311)]((_0x3c5973,_0x38338d)=>{const _0x36a38e=_0x3a2ffa,_0x53bd89=_0x5c9c81[_0x36a38e(0x25d)][0x1aa];_0x38338d[_0x36a38e(0x295)](0x1aa,{'Content-Length':_0x53bd89[_0x36a38e(0x2fb)],'Content-Type':_0x36a38e(0x26c)}),_0x38338d[_0x36a38e(0x259)](_0x53bd89);}),this['_server'][_0x3a2ffa(0x309)](_0x274584['port'],_0x274584['host'],_0x274584[_0x3a2ffa(0x33f)],_0x320734)):_0x274584[_0x3a2ffa(0x336)]&&(this[_0x3a2ffa(0x1e4)]=_0x274584[_0x3a2ffa(0x336)]),this[_0x3a2ffa(0x1e4)]){const _0x550cf2=this[_0x3a2ffa(0x25b)][_0x3a2ffa(0x2c8)](this,_0x3a2ffa(0x20d));this[_0x3a2ffa(0x2b4)]=_0xdba86a(this[_0x3a2ffa(0x1e4)],{'listening':this[_0x3a2ffa(0x25b)][_0x3a2ffa(0x2c8)](this,_0x3a2ffa(0x310)),'error':this[_0x3a2ffa(0x25b)]['bind'](this,_0x3a2ffa(0x30f)),'upgrade':(_0x2d1710,_0x1ef94a,_0x13575a)=>{const _0x25230b=_0x3a2ffa;this[_0x25230b(0x29e)](_0x2d1710,_0x1ef94a,_0x13575a,_0x550cf2);}});}_0x274584[_0x3a2ffa(0x2d7)]===!0x0&&(_0x274584[_0x3a2ffa(0x2d7)]={}),_0x274584[_0x3a2ffa(0x2dc)]&&(this[_0x3a2ffa(0x221)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x274584,this[_0x3a2ffa(0x216)]=_0x5db3dd;}[_0x2be3d7(0x228)](){const _0x5d41d5=_0x2be3d7;if(this['options'][_0x5d41d5(0x33c)])throw new Error(_0x5d41d5(0x1ed));return this[_0x5d41d5(0x1e4)]?this[_0x5d41d5(0x1e4)][_0x5d41d5(0x228)]():null;}['close'](_0x5224a3){const _0x166ce3=_0x2be3d7;if(this[_0x166ce3(0x216)]===_0x3c55c4){_0x5224a3&&this['once']('close',()=>{const _0x587201=_0x166ce3;_0x5224a3(new Error(_0x587201(0x201)));}),process[_0x166ce3(0x1f6)](_0x2cda61,this);return;}if(_0x5224a3&&this['once']('close',_0x5224a3),this[_0x166ce3(0x216)]!==_0x393477){if(this[_0x166ce3(0x216)]=_0x393477,this[_0x166ce3(0x1ca)]['noServer']||this[_0x166ce3(0x1ca)]['server'])this[_0x166ce3(0x1e4)]&&(this[_0x166ce3(0x2b4)](),this['_removeListeners']=this[_0x166ce3(0x1e4)]=null),this[_0x166ce3(0x221)]?this[_0x166ce3(0x221)][_0x166ce3(0x23d)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x2cda61,this):process[_0x166ce3(0x1f6)](_0x2cda61,this);else{const _0x120d06=this[_0x166ce3(0x1e4)];this[_0x166ce3(0x2b4)](),this[_0x166ce3(0x2b4)]=this[_0x166ce3(0x1e4)]=null,_0x120d06[_0x166ce3(0x1af)](()=>{_0x2cda61(this);});}}}[_0x2be3d7(0x31c)](_0x3fc683){const _0x213e96=_0x2be3d7;if(this['options']['path']){const _0xea5a65=_0x3fc683[_0x213e96(0x339)]['indexOf']('?');if((_0xea5a65!==-0x1?_0x3fc683['url'][_0x213e96(0x325)](0x0,_0xea5a65):_0x3fc683[_0x213e96(0x339)])!==this[_0x213e96(0x1ca)][_0x213e96(0x2b3)])return!0x1;}return!0x0;}[_0x2be3d7(0x29e)](_0x528d55,_0xa707a6,_0x16d329,_0x297f76){const _0x3f6169=_0x2be3d7;_0xa707a6['on'](_0x3f6169(0x30f),_0x193d25);const _0x3609be=_0x528d55[_0x3f6169(0x1ef)]['sec-websocket-key'],_0x3d091a=_0x528d55['headers'][_0x3f6169(0x24b)],_0x3eaed2=+_0x528d55[_0x3f6169(0x1ef)][_0x3f6169(0x1a7)];if(_0x528d55['method']!==_0x3f6169(0x261)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x195,_0x3f6169(0x1a0));return;}if(_0x3d091a===void 0x0||_0x3d091a['toLowerCase']()!==_0x3f6169(0x2a7)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x267));return;}if(_0x3609be===void 0x0||!_0x42775b[_0x3f6169(0x2c9)](_0x3609be)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2fa));return;}if(_0x3eaed2!==0xd&&_0x3eaed2!==0x8){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2e8),{'Sec-WebSocket-Version':_0x3f6169(0x225)});return;}if(!this[_0x3f6169(0x31c)](_0x528d55)){_0x4a7608(_0xa707a6,0x190);return;}const _0x1be69b=_0x528d55[_0x3f6169(0x1ef)]['sec-websocket-protocol'];let _0x4af33e=new Set();if(_0x1be69b!==void 0x0)try{_0x4af33e=_0x2792a3['parse'](_0x1be69b);}catch{_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xc93d7d=_0x528d55[_0x3f6169(0x1ef)][_0x3f6169(0x1f7)],_0x3a2fd9={};if(this['options'][_0x3f6169(0x2d7)]&&_0xc93d7d!==void 0x0){const _0x585a13=new _0xa8e9fb(this[_0x3f6169(0x1ca)][_0x3f6169(0x2d7)],!0x0,this[_0x3f6169(0x1ca)][_0x3f6169(0x287)]);try{const _0x20c56e=_0x4a1319[_0x3f6169(0x20a)](_0xc93d7d);_0x20c56e[_0xa8e9fb['extensionName']]&&(_0x585a13[_0x3f6169(0x2bd)](_0x20c56e[_0xa8e9fb[_0x3f6169(0x2df)]]),_0x3a2fd9[_0xa8e9fb[_0x3f6169(0x2df)]]=_0x585a13);}catch{_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2a3));return;}}if(this[_0x3f6169(0x1ca)]['verifyClient']){const _0x1700a8={'origin':_0x528d55[_0x3f6169(0x1ef)][''+(_0x3eaed2===0x8?'sec-websocket-origin':_0x3f6169(0x357))],'secure':!!(_0x528d55['socket'][_0x3f6169(0x30b)]||_0x528d55['socket'][_0x3f6169(0x2e3)]),'req':_0x528d55};if(this[_0x3f6169(0x1ca)][_0x3f6169(0x219)]['length']===0x2){this[_0x3f6169(0x1ca)][_0x3f6169(0x219)](_0x1700a8,(_0x1cc2c7,_0x2a65b9,_0x49c764,_0x5863be)=>{const _0x2bab43=_0x3f6169;if(!_0x1cc2c7)return _0x4a7608(_0xa707a6,_0x2a65b9||0x191,_0x49c764,_0x5863be);this[_0x2bab43(0x2b0)](_0x3a2fd9,_0x3609be,_0x4af33e,_0x528d55,_0xa707a6,_0x16d329,_0x297f76);});return;}if(!this[_0x3f6169(0x1ca)][_0x3f6169(0x219)](_0x1700a8))return _0x4a7608(_0xa707a6,0x191);}this['completeUpgrade'](_0x3a2fd9,_0x3609be,_0x4af33e,_0x528d55,_0xa707a6,_0x16d329,_0x297f76);}[_0x2be3d7(0x2b0)](_0x540218,_0x1e0a55,_0x4be2fa,_0x5615a8,_0x1bee73,_0x6f8032,_0x2cc743){const _0x2b8cfe=_0x2be3d7;if(!_0x1bee73[_0x2b8cfe(0x1a1)]||!_0x1bee73[_0x2b8cfe(0x2da)])return _0x1bee73[_0x2b8cfe(0x207)]();if(_0x1bee73[_0x4206ab])throw new Error(_0x2b8cfe(0x248));if(this['_state']>_0x5db3dd)return _0x4a7608(_0x1bee73,0x1f7);const _0x131221=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2b8cfe(0x24d),'Connection:\x20Upgrade',_0x2b8cfe(0x34e)+_0x13784e(_0x2b8cfe(0x26b))[_0x2b8cfe(0x35d)](_0x1e0a55+_0x19b426)[_0x2b8cfe(0x2d9)](_0x2b8cfe(0x354))],_0x408de7=new this[(_0x2b8cfe(0x1ca))][(_0x2b8cfe(0x2a9))](null,void 0x0,this[_0x2b8cfe(0x1ca)]);if(_0x4be2fa[_0x2b8cfe(0x23d)]){const _0x56a47d=this[_0x2b8cfe(0x1ca)][_0x2b8cfe(0x257)]?this[_0x2b8cfe(0x1ca)]['handleProtocols'](_0x4be2fa,_0x5615a8):_0x4be2fa[_0x2b8cfe(0x321)]()['next']()[_0x2b8cfe(0x1ea)];_0x56a47d&&(_0x131221['push'](_0x2b8cfe(0x1b2)+_0x56a47d),_0x408de7[_0x2b8cfe(0x1c5)]=_0x56a47d);}if(_0x540218[_0xa8e9fb[_0x2b8cfe(0x2df)]]){const _0x468e9e=_0x540218[_0xa8e9fb[_0x2b8cfe(0x2df)]][_0x2b8cfe(0x1f4)],_0xf85764=_0x4a1319[_0x2b8cfe(0x2e5)]({[_0xa8e9fb[_0x2b8cfe(0x2df)]]:[_0x468e9e]});_0x131221[_0x2b8cfe(0x300)]('Sec-WebSocket-Extensions:\x20'+_0xf85764),_0x408de7[_0x2b8cfe(0x1dd)]=_0x540218;}this['emit'](_0x2b8cfe(0x1ef),_0x131221,_0x5615a8),_0x1bee73['write'](_0x131221[_0x2b8cfe(0x29f)]('\x0d\x0a')[_0x2b8cfe(0x2ad)]('\x0d\x0a')),_0x1bee73['removeListener']('error',_0x193d25),_0x408de7['setSocket'](_0x1bee73,_0x6f8032,{'allowSynchronousEvents':this['options'][_0x2b8cfe(0x2a4)],'maxPayload':this[_0x2b8cfe(0x1ca)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x2b8cfe(0x221)]&&(this[_0x2b8cfe(0x221)][_0x2b8cfe(0x347)](_0x408de7),_0x408de7['on'](_0x2b8cfe(0x1af),()=>{const _0x408d40=_0x2b8cfe;this[_0x408d40(0x221)][_0x408d40(0x314)](_0x408de7),this[_0x408d40(0x205)]&&!this[_0x408d40(0x221)]['size']&&process[_0x408d40(0x1f6)](_0x2cda61,this);})),_0x2cc743(_0x408de7,_0x5615a8);}}Te=_0x42f20a;function _0xdba86a(_0x21f647,_0x259ed9){const _0xfc90f8=_0x2be3d7;for(const _0xabf0a3 of Object[_0xfc90f8(0x1a2)](_0x259ed9))_0x21f647['on'](_0xabf0a3,_0x259ed9[_0xabf0a3]);return function(){const _0x404e31=_0xfc90f8;for(const _0xe1f9e0 of Object['keys'](_0x259ed9))_0x21f647[_0x404e31(0x237)](_0xe1f9e0,_0x259ed9[_0xe1f9e0]);};}function _0x2cda61(_0x451f18){const _0x47f48d=_0x2be3d7;_0x451f18[_0x47f48d(0x216)]=_0x3c55c4,_0x451f18[_0x47f48d(0x25b)]('close');}function _0x193d25(){const _0x152ce8=_0x2be3d7;this[_0x152ce8(0x207)]();}function _0x4a7608(_0x7150df,_0x1c2fee,_0x54734c,_0x597c02){const _0x44f57e=_0x2be3d7;_0x54734c=_0x54734c||_0x5c9c81[_0x44f57e(0x25d)][_0x1c2fee],_0x597c02={'Connection':_0x44f57e(0x1af),'Content-Type':'text/html','Content-Length':Buffer[_0x44f57e(0x1ec)](_0x54734c),..._0x597c02},_0x7150df[_0x44f57e(0x2ee)]('finish',_0x7150df[_0x44f57e(0x207)]),_0x7150df['end'](_0x44f57e(0x28e)+_0x1c2fee+'\x20'+_0x5c9c81[_0x44f57e(0x25d)][_0x1c2fee]+'\x0d\x0a'+Object[_0x44f57e(0x1a2)](_0x597c02)[_0x44f57e(0x30d)](_0x3b46b5=>_0x3b46b5+':\x20'+_0x597c02[_0x3b46b5])['join']('\x0d\x0a')+_0x44f57e(0x35b)+_0x54734c);}function _0x5cfa76(_0xefd570,_0x3a2aa8,_0x47ced6,_0x435cf1,_0x598da2,_0x306d8f){const _0xe0d2b=_0x2be3d7;if(_0xefd570[_0xe0d2b(0x1d4)](_0xe0d2b(0x1ff))){const _0x10f3e4=new Error(_0x598da2);Error['captureStackTrace'](_0x10f3e4,_0x5cfa76),_0xefd570['emit'](_0xe0d2b(0x1ff),_0x10f3e4,_0x47ced6,_0x3a2aa8);}else _0x4a7608(_0x47ced6,_0x435cf1,_0x598da2,_0x306d8f);}return Te;}er();var tr=Object[_0x10fc00(0x1c3)],rr=(_0x62c943,_0xff6a32,_0x15d0d7,_0x4fbe3e)=>{const _0x1c78ba=_0x10fc00;for(var _0x35c130=_0x4fbe3e>0x1?void 0x0:_0x4fbe3e?tr(_0xff6a32,_0x15d0d7):_0xff6a32,_0xad1554=_0x62c943[_0x1c78ba(0x2fb)]-0x1,_0x5908cc;_0xad1554>=0x0;_0xad1554--)(_0x5908cc=_0x62c943[_0xad1554])&&(_0x35c130=_0x5908cc(_0x35c130)||_0x35c130);return _0x35c130;},sr=(_0x33123b,_0x2b6cf0)=>(_0x127a26,_0x3adace)=>_0x2b6cf0(_0x127a26,_0x3adace,_0x33123b);let Ne=class extends _0x2c5f6f{constructor(_0x20d3c5){super(),this['_configService']=_0x20d3c5;}['createSocket'](_0x37bc36){const _0x259450=_0x10fc00;var _0x3eb3f8;const _0x2a12a7=(_0x3eb3f8=this[_0x259450(0x1b4)][_0x259450(0x25a)](Be))==null?void 0x0:_0x3eb3f8[_0x259450(0x348)];try{const _0x3cd675=new Qt(_0x37bc36,{'headers':{..._0x2a12a7}}),_0x114dc1=new _0x3fff8a();return{'URL':_0x37bc36,'close':(_0x294750,_0x7bba48)=>{const _0x4e9db3=_0x259450;_0x3cd675[_0x4e9db3(0x1af)](_0x294750,_0x7bba48),_0x114dc1[_0x4e9db3(0x1c8)]();},'send':_0x19d325=>{const _0x523ce0=_0x259450;_0x3cd675[_0x523ce0(0x275)](_0x19d325);},'open$':new _0x5d2673(_0x4d551a=>{const _0x5be361=_0x259450,_0x5c5584=_0x547a8f=>_0x4d551a[_0x5be361(0x1e1)](_0x547a8f);_0x3cd675[_0x5be361(0x351)](_0x5be361(0x317),_0x5c5584),_0x114dc1[_0x5be361(0x347)](_0x24d215(()=>_0x3cd675['removeEventListener'](_0x5be361(0x317),_0x5c5584)));})[_0x259450(0x299)](_0x48124f()),'close$':new _0x5d2673(_0x430a00=>{const _0x3e6bf2=_0x259450,_0x3b94d3=_0x7abdc9=>_0x430a00[_0x3e6bf2(0x1e1)](_0x7abdc9);_0x3cd675[_0x3e6bf2(0x351)](_0x3e6bf2(0x1af),_0x3b94d3),_0x114dc1[_0x3e6bf2(0x347)](_0x24d215(()=>_0x3cd675[_0x3e6bf2(0x21a)](_0x3e6bf2(0x1af),_0x3b94d3)));})[_0x259450(0x299)](_0x48124f()),'error$':new _0x5d2673(_0x1e54db=>{const _0x24bed6=_0x259450,_0x394a25=_0x511bb5=>_0x1e54db['next'](_0x511bb5);_0x3cd675[_0x24bed6(0x351)](_0x24bed6(0x30f),_0x394a25),_0x114dc1[_0x24bed6(0x347)](_0x24d215(()=>_0x3cd675[_0x24bed6(0x21a)](_0x24bed6(0x30f),_0x394a25)));})['pipe'](_0x48124f()),'message$':new _0x5d2673(_0x58b976=>{const _0xc2adcc=_0x259450,_0xbae1d7=_0x7f2651=>_0x58b976[_0xc2adcc(0x1e1)](_0x7f2651);_0x3cd675[_0xc2adcc(0x351)](_0xc2adcc(0x1f8),_0xbae1d7),_0x114dc1[_0xc2adcc(0x347)](_0x24d215(()=>_0x3cd675[_0xc2adcc(0x21a)](_0xc2adcc(0x1f8),_0xbae1d7)));})['pipe'](_0x48124f())};}catch(_0x57db30){return console['error'](_0x57db30),null;}}};Ne=rr([sr(0x0,_0x21cc3a)],Ne);var ir=Object[_0x10fc00(0x356)],nr=Object[_0x10fc00(0x1c3)],or=(_0x4e80ac,_0x1c7f6e,_0x25615d)=>_0x1c7f6e in _0x4e80ac?ir(_0x4e80ac,_0x1c7f6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25615d}):_0x4e80ac[_0x1c7f6e]=_0x25615d,ar=(_0x5949c3,_0x1cab43,_0x59b23f,_0x3fd6b9)=>{const _0x55f889=_0x10fc00;for(var _0x193751=_0x3fd6b9>0x1?void 0x0:_0x3fd6b9?nr(_0x1cab43,_0x59b23f):_0x1cab43,_0x53cc99=_0x5949c3[_0x55f889(0x2fb)]-0x1,_0x4f06c1;_0x53cc99>=0x0;_0x53cc99--)(_0x4f06c1=_0x5949c3[_0x53cc99])&&(_0x193751=_0x4f06c1(_0x193751)||_0x193751);return _0x193751;},ke=(_0x2b5b23,_0x3b4c35)=>(_0x522adb,_0x33afc3)=>_0x3b4c35(_0x522adb,_0x33afc3,_0x2b5b23),lr=(_0x30342d,_0x1a3fd5,_0x56772d)=>or(_0x30342d,_0x1a3fd5+'',_0x56772d);let Pe=class extends _0x1b7c72{constructor(_0x4510be=Ft,_0x43fb76,_0x8eb792,_0x27fd30){const _0x24c78c=_0x10fc00;_0x4510be[_0x24c78c(0x348)]||_0x43fb76[_0x24c78c(0x220)](_0x24c78c(0x33d)),super(),this['_configService']=_0x8eb792,this[_0x24c78c(0x26e)]=_0x27fd30,this[_0x24c78c(0x1b4)]['setConfig'](Be,_0x4510be);}[_0x10fc00(0x2d6)](){const _0xd2cbbe=_0x10fc00;this[_0xd2cbbe(0x21d)]();}[_0x10fc00(0x21d)](){_0x42b41d(this['_injector'],[[_0x132b3b,{'useClass':Ne}]]);}};function _0x315a(_0x195426,_0xb7df07){const _0x40318c=_0x4031();return _0x315a=function(_0x315a11,_0x35f102){_0x315a11=_0x315a11-0x1a0;let _0x58c097=_0x40318c[_0x315a11];return _0x58c097;},_0x315a(_0x195426,_0xb7df07);}lr(Pe,_0x10fc00(0x217),_0x10fc00(0x273)),Pe=ar([_0x590359(_0x55d7ad),ke(0x1,_0x5401a7),ke(0x2,_0x21cc3a),ke(0x3,_0x31d314(_0x1d955c))],Pe);var fr=Object[_0x10fc00(0x1c3)],cr=(_0x357baf,_0x556df4,_0xc3f237,_0x2bc33e)=>{for(var _0x4a0716=_0x2bc33e>0x1?void 0x0:_0x2bc33e?fr(_0x556df4,_0xc3f237):_0x556df4,_0x1a2dfe=_0x357baf['length']-0x1,_0x27bc79;_0x1a2dfe>=0x0;_0x1a2dfe--)(_0x27bc79=_0x357baf[_0x1a2dfe])&&(_0x4a0716=_0x27bc79(_0x4a0716)||_0x4a0716);return _0x4a0716;},se=(_0x3e024f,_0x1d7e8d)=>(_0x40af61,_0x228e42)=>_0x1d7e8d(_0x40af61,_0x228e42,_0x3e024f);let at=class extends _0x2d1e80{constructor(_0x575edc,_0x5c5dba,_0x327746,_0x5106f3,_0x511a8){const _0x25a469=_0x10fc00;super(_0x575edc,_0x5c5dba,_0x327746,_0x5106f3,_0x511a8);const _0x4b3146=this[_0x25a469(0x1b4)][_0x25a469(0x25a)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4ce3ac,_0xd9a6b)=>{const _0xb19db5=_0x25a469;var _0x853334;const _0x4f2974=_0x4ce3ac[_0xb19db5(0x1ef)];return(_0x853334=_0x4b3146==null?void 0x0:_0x4b3146[_0xb19db5(0x348)])!=null&&_0x853334['cookie']&&_0x4f2974[_0xb19db5(0x1f3)](_0xb19db5(0x2c0),_0x4b3146[_0xb19db5(0x348)]['cookie']),_0xd9a6b(_0x4ce3ac);}});}async[_0x10fc00(0x2f6)](_0x1a8993){const _0x8f5ad4=_0x10fc00;return this[_0x8f5ad4(0x21f)](_0x1a8993);}};at=cr([se(0x0,_0x31d314(_0x1d955c)),se(0x1,_0x31d314(_0x2ff3d2)),se(0x2,_0x21cc3a),se(0x3,_0x5401a7),se(0x4,_0x4941bd)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x30692b=_0x378b;(function(_0x59a132,_0x1d39ba){const _0x2c265d=_0x378b,_0x23c888=_0x59a132();while(!![]){try{const _0x161686=-parseInt(_0x2c265d(0x1c1))/0x1+-parseInt(_0x2c265d(0x1d3))/0x2+parseInt(_0x2c265d(0x114))/0x3*(parseInt(_0x2c265d(0x256))/0x4)+-parseInt(_0x2c265d(0x271))/0x5*(parseInt(_0x2c265d(0x20b))/0x6)+-parseInt(_0x2c265d(0x1c3))/0x7+-parseInt(_0x2c265d(0x171))/0x8*(parseInt(_0x2c265d(0x139))/0x9)+parseInt(_0x2c265d(0x19c))/0xa;if(_0x161686===_0x1d39ba)break;else _0x23c888['push'](_0x23c888['shift']());}catch(_0x152a65){_0x23c888['push'](_0x23c888['shift']());}}}(_0x19ac,0xadb72));import{UniverCollaborationClientPlugin as _0x536f07,CollaborationSocketService as _0x13110e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x22526d,DisposableCollection as _0x4fc2df,toDisposable as _0x51c42d,IConfigService as _0xf30a36,DependentOn as _0x195fdb,ILogService as _0x11a0bf,Inject as _0x19d570,Injector as _0x1dd633,Plugin as _0x24823c,registerDependencies as _0x31f6d6}from'@univerjs/core';import{ISocketService as _0x3607a5,HTTPService as _0x27c8ca}from'@univerjs/network';import{Observable as _0x44338b,share as _0x340d2f}from'rxjs';import _0x290843 from'events';function _0x19ac(){const _0x3bc00d=['decompress','handleProtocols','test','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','values','pong','Origin','13,\x208','_firstFragment','Cookie','_skipUTF8Validation','Module','wasClean','response','__esModule','The\x20\x22','clientMaxWindowBits','STATUS_CODES','setNoDelay','dispose','_deflate','create','toString','sha1','mask','RSV1\x20must\x20be\x20clear','_allowSynchronousEvents','serverMaxWindowBits','sec-websocket-version','finishRequest','_mask','getConfig','conclude','Unexpected\x20server\x20response:\x20','add','then','clientNoContextTakeover','upgrade','object','replace','149196EHNHkh','invalid\x20payload\x20length\x20','_read','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_autoPong','blob','forEach','_closeMessage','isServer','defaultPort','consume','username','enqueue','call','_receiver','defineProperty','ping','\x22\x20subprotocol\x20is\x20duplicated','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sendFrame','backlog','prototype','followRedirects','_no_context_takeover','digest','target','readyState','275lSBsAU','https:','threshold','isBuffer','objectMode','addEventListener','websocket','readOnly','_fin','dataMessage','CLOSED','_socket','_closeFrameReceived','concurrencyLimit','warn','concurrency','nextTick','push','_sender','_errorEmitted','search','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','hostname','catch','generateMask','dequeue','timeout','hasOwnProperty','_options','_fragmented','onclose','writeUIntBE','frame','maxPayload','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_MASK','nodebuffer','serverNoContextTakeover','pow','_fragments','message','encrypted','reset','normalizeParams','kError','unexpected-response','Basic\x20','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','join','address','_closeCode','jobs','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_inflate','get','invalid\x20opcode\x200','port','send','Unexpected\x20character\x20at\x20index\x20','keys','apply','_write','_removeListeners','text/plain','WS_ERR_INVALID_UTF8','readUInt32BE','freeze','invalid\x20UTF-8\x20sequence','extensions','pathname','client','auth','dispatch','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_masked','resume','_closeFrameSent','destroy','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_readyState','slice','78VbxNjs','WS_ERR_UNEXPECTED_RSV_2_3','_max_window_bits','base64','_maskBuffer','HTTP/1.1\x20','number','haveLength','unmask','split','collaboration-client-node.config','The\x20URL\x20contains\x20a\x20fragment\x20identifier','createDeflateRaw','Invalid\x20URL:\x20','\x20(supported\x20versions:\x20','_url','url','offer','pipe','removeEventListener','redirect','setConfig','CONNECTING','\x22\x20must\x20have\x20only\x20a\x20single\x20value','cork','connect','createError','finish','_buffers','server_max_window_bits','onerror','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','allowSynchronousEvents','completeUpgrade','alloc','customHeaders','fragments','1047339zndRre','authorized','invalid\x20opcode\x20','next','data','Server\x20sent\x20an\x20invalid\x20subprotocol','_totalPayloadLength','connection','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_extensions','isValidUTF8','autoPong','buffers','reason','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','\x22:\x20','_isServer','indexOf','MASK\x20must\x20be\x20set','Z_DEFAULT_WINDOWBITS','kData','_server','shift','readUInt16BE','errorEmitted','ws+unix:','The\x20URL\x27s\x20pathname\x20is\x20empty','default','arrayBuffer','_shouldEmitClose','href','startsWith','close','permessage-deflate','_registerDependencies','getMask','stream','getData','server','WS_ERR_EXPECTED_FIN','servername','buffer','_threshold','path','binary','captureStackTrace','find','CLOSING','handleUpgrade','drain','from','_maxPayload','listenerCount','statusCode','Invalid\x20Sec-WebSocket-Extensions\x20header','wss:','24RtxXno','pause','abort','_payloadLength','fin','Sec-WebSocket-Protocol','options','socket','Max\x20payload\x20size\x20exceeded','callback','end','_httpService','has','exports','length','OPEN','clients','once','isInteger','getOwnPropertyDescriptor','_protocol','_req','wsClientError','sec-websocket-extensions','kRun','isArray','read','authorization','The\x20server\x20is\x20not\x20running','code','extensionName','Opening\x20handshake\x20has\x20timed\x20out','zlibInflateOptions','terminate','startLoop','registerHTTPInterceptor','_originalIpc','pending','_writableState','cleanup','GET','\x0d\x0a\x0d\x0a','bind','34827940boJtaz','set','origin','getInfo','Z_SYNC_FLUSH','open','_queue','map','handshakeTimeout','size','verifyClient','kDone','File','entries','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','rsv1','emitClose','client_max_window_bits','handleEvent','_opcode','error','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','delete','setSocket','_generateMask','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','cookie','construct','_errored','species','hash','noServer','uncork','WS_ERR_UNEXPECTED_RSV_1','http:','byteOffset','862619Nzxkrb','opcode','4481253oasrBg','env','emit','total-length','accept','toStringTag','binaryType','finished','_messageLength','client_no_context_takeover','sec-websocket-key','server_no_context_takeover','write','charCodeAt','writeUInt16BE','_compressed','1287288xIywim','kWasClean','_state','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Accept:\x20','kTarget','unshift','type','protocolVersion','endEmitted','_binaryType','socketPath','isView','Invalid\x20Sec-WebSocket-Protocol\x20header','function','Invalid\x20Upgrade\x20header','_redirects','isIP','Invalid\x20WebSocket\x20frame:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','allocUnsafe','getPayloadLength64','request','string','sec-websocket-origin','HTTP/1.1\x20101\x20Switching\x20Protocols','_originalHostOrSocketPath','readable','listening','byteLength','params','sec-websocket-accept','_bufferedBytes','text/html','value','protocol','ws:','writable','setTimeout','shouldHandle','skipUTF8Validation','isPaused','password','compress','acceptAsClient','acceptAsServer','listeners','WS_ERR_INVALID_CLOSE_CODE','format','kListener','constructor','Invalid\x20HTTP\x20method','_configService','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','maxRedirects','135870tTlfSd','_final','perMessageDeflate','_destroy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concat','Invalid\x20Sec-WebSocket-Accept\x20header','_injector','_bufferedAmount','clientTracking','writeHead','Invalid\x20value\x20for\x20parameter\x20\x22','_compress','Connection:\x20Upgrade','headers','destroyed','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','includes','_loop','sec-websocket-protocol','_paused','getBlobData','host','kReason','_readableState','kAborted','_originalSecure','createInflateRaw','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_closeTimer','removeListener','parse','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','controlMessage','toLowerCase'];_0x19ac=function(){return _0x3bc00d;};return _0x19ac();}import _0x55249a from'https';import _0x2c702b from'http';import _0x1265e1 from'net';import _0x12c9de from'tls';import _0x31909c from'crypto';import _0xa3b750 from'stream';import _0x337ca0 from'url';import _0x54742f from'zlib';import _0x3cbe05 from'buffer';import{ISnapshotServerService as _0x1003ab}from'@univerjs-pro/collaboration';const Be=_0x30692b(0x11e),Ft={'customHeaders':{}};function Wt(_0x1cd9c9){const _0x213d7e=_0x30692b;return _0x1cd9c9&&_0x1cd9c9[_0x213d7e(0x23c)]&&Object[_0x213d7e(0x26b)][_0x213d7e(0x28c)]['call'](_0x1cd9c9,_0x213d7e(0x154))?_0x1cd9c9['default']:_0x1cd9c9;}function _0x378b(_0x3fe2bc,_0x2ee464){const _0x19ac7e=_0x19ac();return _0x378b=function(_0x378b1f,_0xf3d11){_0x378b1f=_0x378b1f-0xef;let _0x2d262c=_0x19ac7e[_0x378b1f];return _0x2d262c;},_0x378b(_0x3fe2bc,_0x2ee464);}function ut(_0x534dfe){const _0x4b6af1=_0x30692b;if(Object['prototype'][_0x4b6af1(0x28c)]['call'](_0x534dfe,_0x4b6af1(0x23c)))return _0x534dfe;var _0x25d226=_0x534dfe[_0x4b6af1(0x154)];if(typeof _0x25d226==_0x4b6af1(0x1e1)){var _0x22151d=function _0x3363c2(){const _0x49430a=_0x4b6af1;var _0x1a2a37=!0x1;try{_0x1a2a37=this instanceof _0x3363c2;}catch{}return _0x1a2a37?Reflect[_0x49430a(0x1b8)](_0x25d226,arguments,this[_0x49430a(0x206)]):_0x25d226[_0x49430a(0xff)](this,arguments);};_0x22151d[_0x4b6af1(0x26b)]=_0x25d226['prototype'];}else _0x22151d={};return Object[_0x4b6af1(0x265)](_0x22151d,_0x4b6af1(0x23c),{'value':!0x0}),Object['keys'](_0x534dfe)[_0x4b6af1(0x25c)](function(_0xc59f33){const _0x1caadf=_0x4b6af1;var _0x509e20=Object[_0x1caadf(0x184)](_0x534dfe,_0xc59f33);Object[_0x1caadf(0x265)](_0x22151d,_0xc59f33,_0x509e20[_0x1caadf(0xf9)]?_0x509e20:{'enumerable':!0x0,'get':function(){return _0x534dfe[_0xc59f33];}});}),_0x22151d;}var te={'exports':{}},ge,Ye;function V(){const _0x160d95=_0x30692b;if(Ye)return ge;Ye=0x1;const _0x47a48a=[_0x160d95(0x295),'arraybuffer',_0x160d95(0x138)],_0x46e79a=typeof Blob<'u';return _0x46e79a&&_0x47a48a['push']('blob'),ge={'BINARY_TYPES':_0x47a48a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x160d95(0x259),'hasBlob':_0x46e79a,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x160d95(0x205)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x30692b(0x105)](Object[_0x30692b(0x265)]({'__proto__':null,'default':jt},Symbol[_0x30692b(0x1c8)],{'value':_0x30692b(0x239)})),Vt=ut(Gt);var Ke;function ce(){const _0x2cccdf=_0x30692b;if(Ke)return te[_0x2cccdf(0x17e)];Ke=0x1;const {EMPTY_BUFFER:_0x53831c}=V(),_0x56cbbb=Buffer[Symbol['species']];function _0x33f00b(_0x3ddacb,_0x32221c){const _0xd38a36=_0x2cccdf;if(_0x3ddacb[_0xd38a36(0x17f)]===0x0)return _0x53831c;if(_0x3ddacb[_0xd38a36(0x17f)]===0x1)return _0x3ddacb[0x0];const _0x37c4a2=Buffer[_0xd38a36(0x1e8)](_0x32221c);let _0x522d8e=0x0;for(let _0x37b259=0x0;_0x37b259<_0x3ddacb[_0xd38a36(0x17f)];_0x37b259++){const _0x5626cc=_0x3ddacb[_0x37b259];_0x37c4a2[_0xd38a36(0x19d)](_0x5626cc,_0x522d8e),_0x522d8e+=_0x5626cc[_0xd38a36(0x17f)];}return _0x522d8e<_0x32221c?new _0x56cbbb(_0x37c4a2[_0xd38a36(0x162)],_0x37c4a2['byteOffset'],_0x522d8e):_0x37c4a2;}function _0x343671(_0x424a92,_0x1de3e6,_0x149dfe,_0x299e47,_0x1a6d39){for(let _0x233f22=0x0;_0x233f22<_0x1a6d39;_0x233f22++)_0x149dfe[_0x299e47+_0x233f22]=_0x424a92[_0x233f22]^_0x1de3e6[_0x233f22&0x3];}function _0x2bef5b(_0x5619e5,_0x33c879){const _0x11d0eb=_0x2cccdf;for(let _0x48f309=0x0;_0x48f309<_0x5619e5[_0x11d0eb(0x17f)];_0x48f309++)_0x5619e5[_0x48f309]^=_0x33c879[_0x48f309&0x3];}function _0x13eaae(_0x49844e){const _0x3ee7b2=_0x2cccdf;return _0x49844e['length']===_0x49844e[_0x3ee7b2(0x162)]['byteLength']?_0x49844e['buffer']:_0x49844e[_0x3ee7b2(0x162)][_0x3ee7b2(0x113)](_0x49844e['byteOffset'],_0x49844e[_0x3ee7b2(0x1c0)]+_0x49844e['length']);}function _0x578a88(_0x1c991b){const _0x55269e=_0x2cccdf;if(_0x578a88['readOnly']=!0x0,Buffer[_0x55269e(0x274)](_0x1c991b))return _0x1c991b;let _0xd4ebf4;return _0x1c991b instanceof ArrayBuffer?_0xd4ebf4=new _0x56cbbb(_0x1c991b):ArrayBuffer[_0x55269e(0x1df)](_0x1c991b)?_0xd4ebf4=new _0x56cbbb(_0x1c991b[_0x55269e(0x162)],_0x1c991b[_0x55269e(0x1c0)],_0x1c991b[_0x55269e(0x1f1)]):(_0xd4ebf4=Buffer[_0x55269e(0x16b)](_0x1c991b),_0x578a88['readOnly']=!0x1),_0xd4ebf4;}if(te[_0x2cccdf(0x17e)]={'concat':_0x33f00b,'mask':_0x343671,'toArrayBuffer':_0x13eaae,'toBuffer':_0x578a88,'unmask':_0x2bef5b},!process[_0x2cccdf(0x1c4)]['WS_NO_BUFFER_UTIL'])try{const _0x45b055=Vt;te['exports'][_0x2cccdf(0x246)]=function(_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81){const _0x16ab10=_0x2cccdf;_0x444f81<0x30?_0x343671(_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81):_0x45b055[_0x16ab10(0x246)](_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81);},te['exports'][_0x2cccdf(0x11c)]=function(_0x574e77,_0x34c079){const _0x28101c=_0x2cccdf;_0x574e77[_0x28101c(0x17f)]<0x20?_0x2bef5b(_0x574e77,_0x34c079):_0x45b055['unmask'](_0x574e77,_0x34c079);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x79f991=_0x30692b;if(Xe)return ye;Xe=0x1;const _0x4c0dc3=Symbol(_0x79f991(0x1a7)),_0x328a58=Symbol(_0x79f991(0x189));class _0x7f59d8{constructor(_0x4bda2d){const _0x366644=_0x79f991;this[_0x4c0dc3]=()=>{const _0x166b0b=_0x378b;this[_0x166b0b(0x196)]--,this[_0x328a58]();},this[_0x366644(0x280)]=_0x4bda2d||0x1/0x0,this[_0x366644(0xf6)]=[],this[_0x366644(0x196)]=0x0;}[_0x79f991(0x250)](_0x3a3d26){const _0x3a76a4=_0x79f991;this['jobs'][_0x3a76a4(0x282)](_0x3a3d26),this[_0x328a58]();}[_0x328a58](){const _0xf49180=_0x79f991;if(this[_0xf49180(0x196)]!==this['concurrency']&&this[_0xf49180(0xf6)][_0xf49180(0x17f)]){const _0x221eb5=this[_0xf49180(0xf6)][_0xf49180(0x14f)]();this[_0xf49180(0x196)]++,_0x221eb5(this[_0x4c0dc3]);}}}return ye=_0x7f59d8,ye;}var ve,Ze;function he(){const _0x322159=_0x30692b;if(Ze)return ve;Ze=0x1;const _0x56a77e=_0x54742f,_0x1b65ba=ce(),_0x409fb4=qt(),{kStatusCode:_0x5062fd}=V(),_0x1c2d37=Buffer[Symbol[_0x322159(0x1ba)]],_0x308b91=Buffer['from']([0x0,0x0,0xff,0xff]),_0x58c8ca=Symbol('permessage-deflate'),_0x3a3c79=Symbol(_0x322159(0x1c6)),_0xbd74e=Symbol(_0x322159(0x17a)),_0x257c3e=Symbol(_0x322159(0x145)),_0x125cf6=Symbol(_0x322159(0x1b0));let _0x132d5b;class _0x41a0d7{constructor(_0x14d2ae,_0x1f6f16,_0x4b7796){const _0x3486f0=_0x322159;if(this[_0x3486f0(0x16c)]=_0x4b7796|0x0,this[_0x3486f0(0x28d)]=_0x14d2ae||{},this[_0x3486f0(0x163)]=this[_0x3486f0(0x28d)][_0x3486f0(0x273)]!==void 0x0?this[_0x3486f0(0x28d)][_0x3486f0(0x273)]:0x400,this[_0x3486f0(0x149)]=!!_0x1f6f16,this['_deflate']=null,this[_0x3486f0(0xf8)]=null,this['params']=null,!_0x132d5b){const _0x66a7a2=this['_options'][_0x3486f0(0x27e)]!==void 0x0?this['_options'][_0x3486f0(0x27e)]:0xa;_0x132d5b=new _0x409fb4(_0x66a7a2);}}static get[_0x322159(0x18f)](){const _0x4caa4c=_0x322159;return _0x4caa4c(0x15a);}['offer'](){const _0x3cd50f=_0x322159,_0x36e69f={};return this['_options'][_0x3cd50f(0x296)]&&(_0x36e69f[_0x3cd50f(0x1ce)]=!0x0),this[_0x3cd50f(0x28d)]['clientNoContextTakeover']&&(_0x36e69f['client_no_context_takeover']=!0x0),this['_options'][_0x3cd50f(0x249)]&&(_0x36e69f[_0x3cd50f(0x131)]=this[_0x3cd50f(0x28d)][_0x3cd50f(0x249)]),this[_0x3cd50f(0x28d)][_0x3cd50f(0x23e)]?_0x36e69f[_0x3cd50f(0x1ad)]=this[_0x3cd50f(0x28d)][_0x3cd50f(0x23e)]:this['_options'][_0x3cd50f(0x23e)]==null&&(_0x36e69f[_0x3cd50f(0x1ad)]=!0x0),_0x36e69f;}[_0x322159(0x1c7)](_0xc5b35b){const _0x58cc39=_0x322159;return _0xc5b35b=this['normalizeParams'](_0xc5b35b),this['params']=this['_isServer']?this[_0x58cc39(0x201)](_0xc5b35b):this[_0x58cc39(0x200)](_0xc5b35b),this[_0x58cc39(0x1f2)];}[_0x322159(0x198)](){const _0x46d295=_0x322159;if(this[_0x46d295(0xf8)]&&(this[_0x46d295(0xf8)]['close'](),this['_inflate']=null),this[_0x46d295(0x242)]){const _0x2784ed=this[_0x46d295(0x242)][_0xbd74e];this[_0x46d295(0x242)][_0x46d295(0x159)](),this[_0x46d295(0x242)]=null,_0x2784ed&&_0x2784ed(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x322159(0x201)](_0x18f4f5){const _0xeb8fc2=_0x322159,_0x275d16=this[_0xeb8fc2(0x28d)],_0x2b6c44=_0x18f4f5[_0xeb8fc2(0x167)](_0x1b8f5d=>!(_0x275d16[_0xeb8fc2(0x296)]===!0x1&&_0x1b8f5d[_0xeb8fc2(0x1ce)]||_0x1b8f5d[_0xeb8fc2(0x131)]&&(_0x275d16[_0xeb8fc2(0x249)]===!0x1||typeof _0x275d16[_0xeb8fc2(0x249)]=='number'&&_0x275d16[_0xeb8fc2(0x249)]>_0x1b8f5d[_0xeb8fc2(0x131)])||typeof _0x275d16['clientMaxWindowBits']==_0xeb8fc2(0x11a)&&!_0x1b8f5d['client_max_window_bits']));if(!_0x2b6c44)throw new Error(_0xeb8fc2(0x22b));return _0x275d16['serverNoContextTakeover']&&(_0x2b6c44['server_no_context_takeover']=!0x0),_0x275d16[_0xeb8fc2(0x252)]&&(_0x2b6c44[_0xeb8fc2(0x1cc)]=!0x0),typeof _0x275d16['serverMaxWindowBits']==_0xeb8fc2(0x11a)&&(_0x2b6c44[_0xeb8fc2(0x131)]=_0x275d16['serverMaxWindowBits']),typeof _0x275d16['clientMaxWindowBits']==_0xeb8fc2(0x11a)?_0x2b6c44[_0xeb8fc2(0x1ad)]=_0x275d16[_0xeb8fc2(0x23e)]:(_0x2b6c44[_0xeb8fc2(0x1ad)]===!0x0||_0x275d16['clientMaxWindowBits']===!0x1)&&delete _0x2b6c44[_0xeb8fc2(0x1ad)],_0x2b6c44;}['acceptAsClient'](_0x200352){const _0x5c0b13=_0x322159,_0xc9d879=_0x200352[0x0];if(this[_0x5c0b13(0x28d)]['clientNoContextTakeover']===!0x1&&_0xc9d879['client_no_context_takeover'])throw new Error(_0x5c0b13(0x286));if(!_0xc9d879[_0x5c0b13(0x1ad)])typeof this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]==_0x5c0b13(0x11a)&&(_0xc9d879[_0x5c0b13(0x1ad)]=this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]);else{if(this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]===!0x1||typeof this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]==_0x5c0b13(0x11a)&&_0xc9d879[_0x5c0b13(0x1ad)]>this[_0x5c0b13(0x28d)]['clientMaxWindowBits'])throw new Error(_0x5c0b13(0x111));}return _0xc9d879;}[_0x322159(0x29c)](_0x189256){const _0x1b1c22=_0x322159;return _0x189256[_0x1b1c22(0x25c)](_0x32f0a4=>{const _0x278c08=_0x1b1c22;Object[_0x278c08(0xfe)](_0x32f0a4)[_0x278c08(0x25c)](_0xa13cb1=>{const _0x536b83=_0x278c08;let _0x251c03=_0x32f0a4[_0xa13cb1];if(_0x251c03['length']>0x1)throw new Error('Parameter\x20\x22'+_0xa13cb1+_0x536b83(0x12b));if(_0x251c03=_0x251c03[0x0],_0xa13cb1==='client_max_window_bits'){if(_0x251c03!==!0x0){const _0x1d0784=+_0x251c03;if(!Number[_0x536b83(0x183)](_0x1d0784)||_0x1d0784<0x8||_0x1d0784>0xf)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);_0x251c03=_0x1d0784;}else{if(!this[_0x536b83(0x149)])throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);}}else{if(_0xa13cb1===_0x536b83(0x131)){const _0x4d9d16=+_0x251c03;if(!Number[_0x536b83(0x183)](_0x4d9d16)||_0x4d9d16<0x8||_0x4d9d16>0xf)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+'\x22:\x20'+_0x251c03);_0x251c03=_0x4d9d16;}else{if(_0xa13cb1==='client_no_context_takeover'||_0xa13cb1===_0x536b83(0x1ce)){if(_0x251c03!==!0x0)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xa13cb1+'\x22');}}_0x32f0a4[_0xa13cb1]=_0x251c03;});}),_0x189256;}[_0x322159(0x22e)](_0x403f4c,_0x2c4fde,_0x265fa3){const _0x1d78d6=_0x322159;_0x132d5b[_0x1d78d6(0x250)](_0x38a6fd=>{this['_decompress'](_0x403f4c,_0x2c4fde,(_0x5aaecc,_0x2f7dd2)=>{_0x38a6fd(),_0x265fa3(_0x5aaecc,_0x2f7dd2);});});}['compress'](_0x4e8963,_0xb89a10,_0x465ad9){const _0xf32a94=_0x322159;_0x132d5b[_0xf32a94(0x250)](_0xdb650f=>{const _0x2bbf2f=_0xf32a94;this[_0x2bbf2f(0x217)](_0x4e8963,_0xb89a10,(_0x181b54,_0x5d505a)=>{_0xdb650f(),_0x465ad9(_0x181b54,_0x5d505a);});});}['_decompress'](_0x3e0d13,_0x4c822b,_0xe0661a){const _0x5818de=_0x322159,_0x161f51=this[_0x5818de(0x149)]?_0x5818de(0x109):_0x5818de(0x15f);if(!this['_inflate']){const _0x3a4525=_0x161f51+_0x5818de(0x116),_0x4cafe0=typeof this[_0x5818de(0x1f2)][_0x3a4525]!=_0x5818de(0x11a)?_0x56a77e['Z_DEFAULT_WINDOWBITS']:this['params'][_0x3a4525];this[_0x5818de(0xf8)]=_0x56a77e[_0x5818de(0x226)]({...this[_0x5818de(0x28d)][_0x5818de(0x191)],'windowBits':_0x4cafe0}),this['_inflate'][_0x58c8ca]=this,this[_0x5818de(0xf8)][_0x3a3c79]=0x0,this[_0x5818de(0xf8)][_0x257c3e]=[],this[_0x5818de(0xf8)]['on'](_0x5818de(0x1b0),_0x1b8b4c),this[_0x5818de(0xf8)]['on']('data',_0x69b612);}this['_inflate'][_0xbd74e]=_0xe0661a,this[_0x5818de(0xf8)][_0x5818de(0x1cf)](_0x3e0d13),_0x4c822b&&this[_0x5818de(0xf8)][_0x5818de(0x1cf)](_0x308b91),this['_inflate']['flush'](()=>{const _0x18a814=_0x5818de,_0x12c031=this[_0x18a814(0xf8)][_0x125cf6];if(_0x12c031){this[_0x18a814(0xf8)][_0x18a814(0x159)](),this[_0x18a814(0xf8)]=null,_0xe0661a(_0x12c031);return;}const _0x289144=_0x1b65ba[_0x18a814(0x210)](this[_0x18a814(0xf8)][_0x257c3e],this[_0x18a814(0xf8)][_0x3a3c79]);this[_0x18a814(0xf8)][_0x18a814(0x223)][_0x18a814(0x1dc)]?(this[_0x18a814(0xf8)][_0x18a814(0x159)](),this[_0x18a814(0xf8)]=null):(this[_0x18a814(0xf8)][_0x3a3c79]=0x0,this['_inflate'][_0x257c3e]=[],_0x4c822b&&this['params'][_0x161f51+'_no_context_takeover']&&this['_inflate'][_0x18a814(0x29b)]()),_0xe0661a(null,_0x289144);});}[_0x322159(0x217)](_0x5b81bf,_0x21c128,_0x17209f){const _0xabc4ef=_0x322159,_0x485a89=this[_0xabc4ef(0x149)]?_0xabc4ef(0x15f):'client';if(!this[_0xabc4ef(0x242)]){const _0x1623e9=_0x485a89+'_max_window_bits',_0x43f076=typeof this[_0xabc4ef(0x1f2)][_0x1623e9]!=_0xabc4ef(0x11a)?_0x56a77e[_0xabc4ef(0x14c)]:this[_0xabc4ef(0x1f2)][_0x1623e9];this[_0xabc4ef(0x242)]=_0x56a77e[_0xabc4ef(0x120)]({...this[_0xabc4ef(0x28d)]['zlibDeflateOptions'],'windowBits':_0x43f076}),this[_0xabc4ef(0x242)][_0x3a3c79]=0x0,this[_0xabc4ef(0x242)][_0x257c3e]=[],this[_0xabc4ef(0x242)]['on'](_0xabc4ef(0x13d),_0x2b232f);}this[_0xabc4ef(0x242)][_0xbd74e]=_0x17209f,this[_0xabc4ef(0x242)][_0xabc4ef(0x1cf)](_0x5b81bf),this[_0xabc4ef(0x242)]['flush'](_0x56a77e[_0xabc4ef(0x1a0)],()=>{const _0x4206e8=_0xabc4ef;if(!this[_0x4206e8(0x242)])return;let _0x399f2e=_0x1b65ba[_0x4206e8(0x210)](this[_0x4206e8(0x242)][_0x257c3e],this[_0x4206e8(0x242)][_0x3a3c79]);_0x21c128&&(_0x399f2e=new _0x1c2d37(_0x399f2e[_0x4206e8(0x162)],_0x399f2e[_0x4206e8(0x1c0)],_0x399f2e[_0x4206e8(0x17f)]-0x4)),this['_deflate'][_0xbd74e]=null,this['_deflate'][_0x3a3c79]=0x0,this[_0x4206e8(0x242)][_0x257c3e]=[],_0x21c128&&this['params'][_0x485a89+_0x4206e8(0x26d)]&&this['_deflate'][_0x4206e8(0x29b)](),_0x17209f(null,_0x399f2e);});}}ve=_0x41a0d7;function _0x2b232f(_0x3fe399){const _0x1a5a8c=_0x322159;this[_0x257c3e][_0x1a5a8c(0x282)](_0x3fe399),this[_0x3a3c79]+=_0x3fe399['length'];}function _0x69b612(_0x5b7c48){const _0x470857=_0x322159;if(this[_0x3a3c79]+=_0x5b7c48['length'],this[_0x58c8ca]['_maxPayload']<0x1||this[_0x3a3c79]<=this[_0x58c8ca][_0x470857(0x16c)]){this[_0x257c3e][_0x470857(0x282)](_0x5b7c48);return;}this[_0x125cf6]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x125cf6][_0x470857(0x18e)]=_0x470857(0x1b2),this[_0x125cf6][_0x5062fd]=0x3f1,this[_0x470857(0x229)](_0x470857(0x13d),_0x69b612),this[_0x470857(0x29b)]();}function _0x1b8b4c(_0x1adcc5){const _0xfcfc9b=_0x322159;if(this[_0x58c8ca][_0xfcfc9b(0xf8)]=null,this[_0x125cf6]){this[_0xbd74e](this[_0x125cf6]);return;}_0x1adcc5[_0x5062fd]=0x3ef,this[_0xbd74e](_0x1adcc5);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x30692b(0x105)](Object[_0x30692b(0x265)]({'__proto__':null,'default':Ht},Symbol[_0x30692b(0x1c8)],{'value':_0x30692b(0x239)})),Yt=ut(zt);var Qe;function ne(){const _0x40da28=_0x30692b;if(Qe)return re[_0x40da28(0x17e)];Qe=0x1;const {isUtf8:_0x328a43}=_0x3cbe05,{hasBlob:_0x4873f3}=V(),_0xbb6312=[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 _0x519052(_0x26f97a){return _0x26f97a>=0x3e8&&_0x26f97a<=0x3f6&&_0x26f97a!==0x3ec&&_0x26f97a!==0x3ed&&_0x26f97a!==0x3ee||_0x26f97a>=0xbb8&&_0x26f97a<=0x1387;}function _0x5d0ba9(_0x542bb5){const _0x256af2=_0x40da28,_0x21be23=_0x542bb5[_0x256af2(0x17f)];let _0x2acf87=0x0;for(;_0x2acf87<_0x21be23;)if((_0x542bb5[_0x2acf87]&0x80)===0x0)_0x2acf87++;else{if((_0x542bb5[_0x2acf87]&0xe0)===0xc0){if(_0x2acf87+0x1===_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87]&0xfe)===0xc0)return!0x1;_0x2acf87+=0x2;}else{if((_0x542bb5[_0x2acf87]&0xf0)===0xe0){if(_0x2acf87+0x2>=_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x2]&0xc0)!==0x80||_0x542bb5[_0x2acf87]===0xe0&&(_0x542bb5[_0x2acf87+0x1]&0xe0)===0x80||_0x542bb5[_0x2acf87]===0xed&&(_0x542bb5[_0x2acf87+0x1]&0xe0)===0xa0)return!0x1;_0x2acf87+=0x3;}else{if((_0x542bb5[_0x2acf87]&0xf8)===0xf0){if(_0x2acf87+0x3>=_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x2]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x3]&0xc0)!==0x80||_0x542bb5[_0x2acf87]===0xf0&&(_0x542bb5[_0x2acf87+0x1]&0xf0)===0x80||_0x542bb5[_0x2acf87]===0xf4&&_0x542bb5[_0x2acf87+0x1]>0x8f||_0x542bb5[_0x2acf87]>0xf4)return!0x1;_0x2acf87+=0x4;}else return!0x1;}}}return!0x0;}function _0x5014af(_0x558f52){const _0x17ed97=_0x40da28;return _0x4873f3&&typeof _0x558f52==_0x17ed97(0x254)&&typeof _0x558f52[_0x17ed97(0x155)]==_0x17ed97(0x1e1)&&typeof _0x558f52[_0x17ed97(0x1da)]==_0x17ed97(0x1eb)&&typeof _0x558f52[_0x17ed97(0x15d)]==_0x17ed97(0x1e1)&&(_0x558f52[Symbol[_0x17ed97(0x1c8)]]==='Blob'||_0x558f52[Symbol[_0x17ed97(0x1c8)]]===_0x17ed97(0x1a8));}if(re[_0x40da28(0x17e)]={'isBlob':_0x5014af,'isValidStatusCode':_0x519052,'isValidUTF8':_0x5d0ba9,'tokenChars':_0xbb6312},_0x328a43)re['exports']['isValidUTF8']=function(_0x5e370f){return _0x5e370f['length']<0x18?_0x5d0ba9(_0x5e370f):_0x328a43(_0x5e370f);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x1d4833=Yt;re[_0x40da28(0x17e)][_0x40da28(0x143)]=function(_0x1f8002){return _0x1f8002['length']<0x20?_0x5d0ba9(_0x1f8002):_0x1d4833(_0x1f8002);};}catch{}}return re[_0x40da28(0x17e)];}var Se,Je;function dt(){const _0x4e66fb=_0x30692b;if(Je)return Se;Je=0x1;const {Writable:_0x2b384e}=_0xa3b750,_0x421dfb=he(),{BINARY_TYPES:_0x4d6e02,EMPTY_BUFFER:_0x54826f,kStatusCode:_0x438028,kWebSocket:_0x476b63}=V(),{concat:_0x4b95b0,toArrayBuffer:_0x379a42,unmask:_0x130ba3}=ce(),{isValidStatusCode:_0xd72ec5,isValidUTF8:_0x3a6849}=ne(),_0x2e9da5=Buffer[Symbol[_0x4e66fb(0x1ba)]],_0x372ef9=0x0,_0x45aba7=0x1,_0x4450c7=0x2,_0x64c2a0=0x3,_0x558e60=0x4,_0xfd3a83=0x5,_0x2135d4=0x6;class _0x51519b extends _0x2b384e{constructor(_0x3a960b={}){const _0x3611b0=_0x4e66fb;super(),this['_allowSynchronousEvents']=_0x3a960b[_0x3611b0(0x134)]!==void 0x0?_0x3a960b['allowSynchronousEvents']:!0x0,this[_0x3611b0(0x1dd)]=_0x3a960b[_0x3611b0(0x1c9)]||_0x4d6e02[0x0],this[_0x3611b0(0x142)]=_0x3a960b[_0x3611b0(0x107)]||{},this[_0x3611b0(0x149)]=!!_0x3a960b[_0x3611b0(0x25e)],this[_0x3611b0(0x16c)]=_0x3a960b[_0x3611b0(0x292)]|0x0,this[_0x3611b0(0x238)]=!!_0x3a960b[_0x3611b0(0x1fc)],this[_0x476b63]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3611b0(0x130)]=[],this[_0x3611b0(0x1d2)]=!0x1,this[_0x3611b0(0x174)]=0x0,this[_0x3611b0(0x24c)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x3611b0(0x279)]=!0x1,this[_0x3611b0(0x1af)]=0x0,this[_0x3611b0(0x13f)]=0x0,this[_0x3611b0(0x1cb)]=0x0,this['_fragments']=[],this[_0x3611b0(0x1b9)]=!0x1,this[_0x3611b0(0x21d)]=!0x1,this[_0x3611b0(0x1d5)]=_0x372ef9;}['_write'](_0x2edc59,_0xe6fff7,_0x3f95f2){const _0x26573b=_0x4e66fb;if(this[_0x26573b(0x1af)]===0x8&&this[_0x26573b(0x1d5)]==_0x372ef9)return _0x3f95f2();this[_0x26573b(0x1f4)]+=_0x2edc59[_0x26573b(0x17f)],this[_0x26573b(0x130)]['push'](_0x2edc59),this[_0x26573b(0x193)](_0x3f95f2);}[_0x4e66fb(0x260)](_0x1a05bc){const _0x3ea39b=_0x4e66fb;if(this['_bufferedBytes']-=_0x1a05bc,_0x1a05bc===this[_0x3ea39b(0x130)][0x0]['length'])return this[_0x3ea39b(0x130)][_0x3ea39b(0x14f)]();if(_0x1a05bc<this['_buffers'][0x0]['length']){const _0x3f4c7e=this[_0x3ea39b(0x130)][0x0];return this['_buffers'][0x0]=new _0x2e9da5(_0x3f4c7e['buffer'],_0x3f4c7e[_0x3ea39b(0x1c0)]+_0x1a05bc,_0x3f4c7e[_0x3ea39b(0x17f)]-_0x1a05bc),new _0x2e9da5(_0x3f4c7e[_0x3ea39b(0x162)],_0x3f4c7e[_0x3ea39b(0x1c0)],_0x1a05bc);}const _0x567cca=Buffer[_0x3ea39b(0x1e8)](_0x1a05bc);do{const _0x324004=this['_buffers'][0x0],_0x1b60c1=_0x567cca['length']-_0x1a05bc;_0x1a05bc>=_0x324004[_0x3ea39b(0x17f)]?_0x567cca[_0x3ea39b(0x19d)](this['_buffers'][_0x3ea39b(0x14f)](),_0x1b60c1):(_0x567cca[_0x3ea39b(0x19d)](new Uint8Array(_0x324004[_0x3ea39b(0x162)],_0x324004[_0x3ea39b(0x1c0)],_0x1a05bc),_0x1b60c1),this[_0x3ea39b(0x130)][0x0]=new _0x2e9da5(_0x324004[_0x3ea39b(0x162)],_0x324004[_0x3ea39b(0x1c0)]+_0x1a05bc,_0x324004[_0x3ea39b(0x17f)]-_0x1a05bc)),_0x1a05bc-=_0x324004['length'];}while(_0x1a05bc>0x0);return _0x567cca;}[_0x4e66fb(0x193)](_0x22b396){const _0x412833=_0x4e66fb;this[_0x412833(0x21d)]=!0x0;do switch(this['_state']){case _0x372ef9:this[_0x412833(0x19f)](_0x22b396);break;case _0x45aba7:this['getPayloadLength16'](_0x22b396);break;case _0x4450c7:this[_0x412833(0x1e9)](_0x22b396);break;case _0x64c2a0:this[_0x412833(0x15c)]();break;case _0x558e60:this['getData'](_0x22b396);break;case _0xfd3a83:case _0x2135d4:this[_0x412833(0x21d)]=!0x1;return;}while(this[_0x412833(0x21d)]);this[_0x412833(0x1b9)]||_0x22b396();}[_0x4e66fb(0x19f)](_0xd15159){const _0x20d214=_0x4e66fb;if(this[_0x20d214(0x1f4)]<0x2){this['_loop']=!0x1;return;}const _0x1d2bd9=this[_0x20d214(0x260)](0x2);if((_0x1d2bd9[0x0]&0x30)!==0x0){const _0x1f71de=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x1aa),!0x0,0x3ea,_0x20d214(0x115));_0xd15159(_0x1f71de);return;}const _0x2d2990=(_0x1d2bd9[0x0]&0x40)===0x40;if(_0x2d2990&&!this['_extensions'][_0x421dfb[_0x20d214(0x18f)]]){const _0x51ce19=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x51ce19);return;}if(this[_0x20d214(0x279)]=(_0x1d2bd9[0x0]&0x80)===0x80,this[_0x20d214(0x1af)]=_0x1d2bd9[0x0]&0xf,this[_0x20d214(0x174)]=_0x1d2bd9[0x1]&0x7f,this['_opcode']===0x0){if(_0x2d2990){const _0x34fc97=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x34fc97);return;}if(!this[_0x20d214(0x28e)]){const _0x3b2a39=this[_0x20d214(0x12e)](RangeError,_0x20d214(0xfa),!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x3b2a39);return;}this[_0x20d214(0x1af)]=this[_0x20d214(0x28e)];}else{if(this[_0x20d214(0x1af)]===0x1||this['_opcode']===0x2){if(this[_0x20d214(0x28e)]){const _0x1c6223=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x13b)+this[_0x20d214(0x1af)],!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x1c6223);return;}this[_0x20d214(0x1d2)]=_0x2d2990;}else{if(this['_opcode']>0x7&&this[_0x20d214(0x1af)]<0xb){if(!this[_0x20d214(0x279)]){const _0x45b575=this[_0x20d214(0x12e)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x20d214(0x160));_0xd15159(_0x45b575);return;}if(_0x2d2990){const _0x24f98c=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x24f98c);return;}if(this['_payloadLength']>0x7d||this[_0x20d214(0x1af)]===0x8&&this[_0x20d214(0x174)]===0x1){const _0x36a81d=this['createError'](RangeError,_0x20d214(0x257)+this[_0x20d214(0x174)],!0x0,0x3ea,_0x20d214(0xf2));_0xd15159(_0x36a81d);return;}}else{const _0x51be26=this['createError'](RangeError,_0x20d214(0x13b)+this[_0x20d214(0x1af)],!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x51be26);return;}}}if(!this[_0x20d214(0x279)]&&!this[_0x20d214(0x28e)]&&(this[_0x20d214(0x28e)]=this[_0x20d214(0x1af)]),this[_0x20d214(0x10d)]=(_0x1d2bd9[0x1]&0x80)===0x80,this[_0x20d214(0x149)]){if(!this['_masked']){const _0x5db95=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x14b),!0x0,0x3ea,_0x20d214(0x294));_0xd15159(_0x5db95);return;}}else{if(this[_0x20d214(0x10d)]){const _0x2539be=this[_0x20d214(0x12e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xd15159(_0x2539be);return;}}this[_0x20d214(0x174)]===0x7e?this['_state']=_0x45aba7:this['_payloadLength']===0x7f?this[_0x20d214(0x1d5)]=_0x4450c7:this[_0x20d214(0x11b)](_0xd15159);}['getPayloadLength16'](_0x490fa2){const _0x14431d=_0x4e66fb;if(this[_0x14431d(0x1f4)]<0x2){this[_0x14431d(0x21d)]=!0x1;return;}this[_0x14431d(0x174)]=this[_0x14431d(0x260)](0x2)[_0x14431d(0x150)](0x0),this[_0x14431d(0x11b)](_0x490fa2);}[_0x4e66fb(0x1e9)](_0x18719a){const _0x138178=_0x4e66fb;if(this[_0x138178(0x1f4)]<0x8){this[_0x138178(0x21d)]=!0x1;return;}const _0xb992d8=this[_0x138178(0x260)](0x8),_0x1dcaeb=_0xb992d8['readUInt32BE'](0x0);if(_0x1dcaeb>Math['pow'](0x2,0x15)-0x1){const _0x1a9d92=this[_0x138178(0x12e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x138178(0x147));_0x18719a(_0x1a9d92);return;}this[_0x138178(0x174)]=_0x1dcaeb*Math[_0x138178(0x297)](0x2,0x20)+_0xb992d8[_0x138178(0x104)](0x4),this[_0x138178(0x11b)](_0x18719a);}['haveLength'](_0x345527){const _0x257a9f=_0x4e66fb;if(this[_0x257a9f(0x174)]&&this[_0x257a9f(0x1af)]<0x8&&(this[_0x257a9f(0x13f)]+=this[_0x257a9f(0x174)],this[_0x257a9f(0x13f)]>this[_0x257a9f(0x16c)]&&this[_0x257a9f(0x16c)]>0x0)){const _0x2e7246=this[_0x257a9f(0x12e)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x257a9f(0x1b2));_0x345527(_0x2e7246);return;}this[_0x257a9f(0x10d)]?this[_0x257a9f(0x1d5)]=_0x64c2a0:this[_0x257a9f(0x1d5)]=_0x558e60;}['getMask'](){const _0x3a9fb6=_0x4e66fb;if(this[_0x3a9fb6(0x1f4)]<0x4){this[_0x3a9fb6(0x21d)]=!0x1;return;}this[_0x3a9fb6(0x24c)]=this[_0x3a9fb6(0x260)](0x4),this['_state']=_0x558e60;}[_0x4e66fb(0x15e)](_0x55dc3d){const _0x3c7947=_0x4e66fb;let _0x24ec12=_0x54826f;if(this[_0x3c7947(0x174)]){if(this[_0x3c7947(0x1f4)]<this['_payloadLength']){this[_0x3c7947(0x21d)]=!0x1;return;}_0x24ec12=this[_0x3c7947(0x260)](this[_0x3c7947(0x174)]),this['_masked']&&(this[_0x3c7947(0x24c)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x3c7947(0x24c)][0x3])!==0x0&&_0x130ba3(_0x24ec12,this[_0x3c7947(0x24c)]);}if(this[_0x3c7947(0x1af)]>0x7){this[_0x3c7947(0x22c)](_0x24ec12,_0x55dc3d);return;}if(this[_0x3c7947(0x1d2)]){this[_0x3c7947(0x1d5)]=_0xfd3a83,this[_0x3c7947(0x22e)](_0x24ec12,_0x55dc3d);return;}_0x24ec12[_0x3c7947(0x17f)]&&(this[_0x3c7947(0x1cb)]=this['_totalPayloadLength'],this[_0x3c7947(0x298)][_0x3c7947(0x282)](_0x24ec12)),this['dataMessage'](_0x55dc3d);}[_0x4e66fb(0x22e)](_0x48121d,_0x5b8323){const _0x441001=_0x4e66fb;this[_0x441001(0x142)][_0x421dfb['extensionName']][_0x441001(0x22e)](_0x48121d,this[_0x441001(0x279)],(_0x20ff51,_0x3f5c27)=>{const _0x50b47e=_0x441001;if(_0x20ff51)return _0x5b8323(_0x20ff51);if(_0x3f5c27[_0x50b47e(0x17f)]){if(this[_0x50b47e(0x1cb)]+=_0x3f5c27[_0x50b47e(0x17f)],this[_0x50b47e(0x1cb)]>this[_0x50b47e(0x16c)]&&this[_0x50b47e(0x16c)]>0x0){const _0x3fa066=this[_0x50b47e(0x12e)](RangeError,_0x50b47e(0x179),!0x1,0x3f1,_0x50b47e(0x1b2));_0x5b8323(_0x3fa066);return;}this[_0x50b47e(0x298)][_0x50b47e(0x282)](_0x3f5c27);}this[_0x50b47e(0x27a)](_0x5b8323),this['_state']===_0x372ef9&&this[_0x50b47e(0x193)](_0x5b8323);});}[_0x4e66fb(0x27a)](_0x534041){const _0xde2230=_0x4e66fb;if(!this['_fin']){this[_0xde2230(0x1d5)]=_0x372ef9;return;}const _0x14f846=this[_0xde2230(0x1cb)],_0x584ead=this[_0xde2230(0x298)];if(this['_totalPayloadLength']=0x0,this[_0xde2230(0x1cb)]=0x0,this[_0xde2230(0x28e)]=0x0,this['_fragments']=[],this[_0xde2230(0x1af)]===0x2){let _0x1d523c;this[_0xde2230(0x1dd)]==='nodebuffer'?_0x1d523c=_0x4b95b0(_0x584ead,_0x14f846):this[_0xde2230(0x1dd)]==='arraybuffer'?_0x1d523c=_0x379a42(_0x4b95b0(_0x584ead,_0x14f846)):this[_0xde2230(0x1dd)]===_0xde2230(0x25b)?_0x1d523c=new Blob(_0x584ead):_0x1d523c=_0x584ead,this[_0xde2230(0x248)]?(this[_0xde2230(0x1c5)](_0xde2230(0x299),_0x1d523c,!0x0),this[_0xde2230(0x1d5)]=_0x372ef9):(this[_0xde2230(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x35c402=_0xde2230;this[_0x35c402(0x1c5)]('message',_0x1d523c,!0x0),this[_0x35c402(0x1d5)]=_0x372ef9,this[_0x35c402(0x193)](_0x534041);}));}else{const _0x11ecb9=_0x4b95b0(_0x584ead,_0x14f846);if(!this[_0xde2230(0x238)]&&!_0x3a6849(_0x11ecb9)){const _0xa90a6e=this[_0xde2230(0x12e)](Error,_0xde2230(0x106),!0x0,0x3ef,_0xde2230(0x103));_0x534041(_0xa90a6e);return;}this[_0xde2230(0x1d5)]===_0xfd3a83||this['_allowSynchronousEvents']?(this['emit'](_0xde2230(0x299),_0x11ecb9,!0x1),this[_0xde2230(0x1d5)]=_0x372ef9):(this[_0xde2230(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x21c2df=_0xde2230;this['emit'](_0x21c2df(0x299),_0x11ecb9,!0x1),this[_0x21c2df(0x1d5)]=_0x372ef9,this['startLoop'](_0x534041);}));}}['controlMessage'](_0x5d86aa,_0x4a2bf0){const _0x4c5e57=_0x4e66fb;if(this[_0x4c5e57(0x1af)]===0x8){if(_0x5d86aa[_0x4c5e57(0x17f)]===0x0)this['_loop']=!0x1,this[_0x4c5e57(0x1c5)](_0x4c5e57(0x24e),0x3ed,_0x54826f),this[_0x4c5e57(0x17b)]();else{const _0x52bfcd=_0x5d86aa['readUInt16BE'](0x0);if(!_0xd72ec5(_0x52bfcd)){const _0x1e754a=this[_0x4c5e57(0x12e)](RangeError,'invalid\x20status\x20code\x20'+_0x52bfcd,!0x0,0x3ea,_0x4c5e57(0x203));_0x4a2bf0(_0x1e754a);return;}const _0x3c2cd5=new _0x2e9da5(_0x5d86aa[_0x4c5e57(0x162)],_0x5d86aa[_0x4c5e57(0x1c0)]+0x2,_0x5d86aa[_0x4c5e57(0x17f)]-0x2);if(!this[_0x4c5e57(0x238)]&&!_0x3a6849(_0x3c2cd5)){const _0x123478=this[_0x4c5e57(0x12e)](Error,_0x4c5e57(0x106),!0x0,0x3ef,_0x4c5e57(0x103));_0x4a2bf0(_0x123478);return;}this[_0x4c5e57(0x21d)]=!0x1,this[_0x4c5e57(0x1c5)](_0x4c5e57(0x24e),_0x52bfcd,_0x3c2cd5),this[_0x4c5e57(0x17b)]();}this[_0x4c5e57(0x1d5)]=_0x372ef9;return;}this[_0x4c5e57(0x248)]?(this[_0x4c5e57(0x1c5)](this[_0x4c5e57(0x1af)]===0x9?'ping':_0x4c5e57(0x233),_0x5d86aa),this[_0x4c5e57(0x1d5)]=_0x372ef9):(this[_0x4c5e57(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x138c1d=_0x4c5e57;this['emit'](this[_0x138c1d(0x1af)]===0x9?_0x138c1d(0x266):_0x138c1d(0x233),_0x5d86aa),this[_0x138c1d(0x1d5)]=_0x372ef9,this['startLoop'](_0x4a2bf0);}));}[_0x4e66fb(0x12e)](_0x3404a3,_0x275dc0,_0x231a6f,_0x493bac,_0x58236b){const _0x231a9e=_0x4e66fb;this['_loop']=!0x1,this[_0x231a9e(0x1b9)]=!0x0;const _0x39eaa8=new _0x3404a3(_0x231a6f?_0x231a9e(0x1e5)+_0x275dc0:_0x275dc0);return Error['captureStackTrace'](_0x39eaa8,this[_0x231a9e(0x12e)]),_0x39eaa8[_0x231a9e(0x18e)]=_0x58236b,_0x39eaa8[_0x438028]=_0x493bac,_0x39eaa8;}}return Se=_0x51519b,Se;}var Ee,et;function _t(){const _0x340de5=_0x30692b;if(et)return Ee;et=0x1;const {Duplex:_0x10d2ec}=_0xa3b750,{randomFillSync:_0x350a59}=_0x31909c,_0x3c3263=he(),{EMPTY_BUFFER:_0x1b6801,kWebSocket:_0x4bc1b0,NOOP:_0x2268f3}=V(),{isBlob:_0x29eddb,isValidStatusCode:_0x3c3449}=ne(),{mask:_0xfdfba2,toBuffer:_0x1666b5}=ce(),_0x44ec2f=Symbol('kByteLength'),_0x1fdac5=Buffer[_0x340de5(0x136)](0x4),_0x5fb0df=0x8*0x400;let _0x4b7fa4,_0x24a78c=_0x5fb0df;const _0x52e21e=0x0,_0x5e2bb4=0x1,_0x155129=0x2;class _0x33a799{constructor(_0x366c88,_0x79ba76,_0x13594e){const _0x5bd987=_0x340de5;this[_0x5bd987(0x142)]=_0x79ba76||{},_0x13594e&&(this[_0x5bd987(0x1b5)]=_0x13594e,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x366c88,this[_0x5bd987(0x236)]=!0x0,this['_compress']=!0x1,this[_0x5bd987(0x1f4)]=0x0,this[_0x5bd987(0x1a2)]=[],this['_state']=_0x52e21e,this[_0x5bd987(0x132)]=_0x2268f3,this[_0x4bc1b0]=void 0x0;}static[_0x340de5(0x291)](_0x153744,_0x1ba37a){const _0x2c5de4=_0x340de5;let _0xc2b886,_0x4be476=!0x1,_0x4f53e8=0x2,_0x52fdb4=!0x1;_0x1ba37a[_0x2c5de4(0x246)]&&(_0xc2b886=_0x1ba37a['maskBuffer']||_0x1fdac5,_0x1ba37a['generateMask']?_0x1ba37a[_0x2c5de4(0x289)](_0xc2b886):(_0x24a78c===_0x5fb0df&&(_0x4b7fa4===void 0x0&&(_0x4b7fa4=Buffer[_0x2c5de4(0x136)](_0x5fb0df)),_0x350a59(_0x4b7fa4,0x0,_0x5fb0df),_0x24a78c=0x0),_0xc2b886[0x0]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x1]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x2]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x3]=_0x4b7fa4[_0x24a78c++]),_0x52fdb4=(_0xc2b886[0x0]|_0xc2b886[0x1]|_0xc2b886[0x2]|_0xc2b886[0x3])===0x0,_0x4f53e8=0x6);let _0x3684ef;typeof _0x153744==_0x2c5de4(0x1eb)?(!_0x1ba37a[_0x2c5de4(0x246)]||_0x52fdb4)&&_0x1ba37a[_0x44ec2f]!==void 0x0?_0x3684ef=_0x1ba37a[_0x44ec2f]:(_0x153744=Buffer[_0x2c5de4(0x16b)](_0x153744),_0x3684ef=_0x153744[_0x2c5de4(0x17f)]):(_0x3684ef=_0x153744['length'],_0x4be476=_0x1ba37a['mask']&&_0x1ba37a['readOnly']&&!_0x52fdb4);let _0x4ce903=_0x3684ef;_0x3684ef>=0x10000?(_0x4f53e8+=0x8,_0x4ce903=0x7f):_0x3684ef>0x7d&&(_0x4f53e8+=0x2,_0x4ce903=0x7e);const _0x3410c7=Buffer[_0x2c5de4(0x1e8)](_0x4be476?_0x3684ef+_0x4f53e8:_0x4f53e8);return _0x3410c7[0x0]=_0x1ba37a[_0x2c5de4(0x175)]?_0x1ba37a[_0x2c5de4(0x1c2)]|0x80:_0x1ba37a[_0x2c5de4(0x1c2)],_0x1ba37a[_0x2c5de4(0x1ab)]&&(_0x3410c7[0x0]|=0x40),_0x3410c7[0x1]=_0x4ce903,_0x4ce903===0x7e?_0x3410c7['writeUInt16BE'](_0x3684ef,0x2):_0x4ce903===0x7f&&(_0x3410c7[0x2]=_0x3410c7[0x3]=0x0,_0x3410c7[_0x2c5de4(0x290)](_0x3684ef,0x4,0x6)),_0x1ba37a['mask']?(_0x3410c7[0x1]|=0x80,_0x3410c7[_0x4f53e8-0x4]=_0xc2b886[0x0],_0x3410c7[_0x4f53e8-0x3]=_0xc2b886[0x1],_0x3410c7[_0x4f53e8-0x2]=_0xc2b886[0x2],_0x3410c7[_0x4f53e8-0x1]=_0xc2b886[0x3],_0x52fdb4?[_0x3410c7,_0x153744]:_0x4be476?(_0xfdfba2(_0x153744,_0xc2b886,_0x3410c7,_0x4f53e8,_0x3684ef),[_0x3410c7]):(_0xfdfba2(_0x153744,_0xc2b886,_0x153744,0x0,_0x3684ef),[_0x3410c7,_0x153744])):[_0x3410c7,_0x153744];}[_0x340de5(0x159)](_0x2e7117,_0x47e284,_0x634cd0,_0x54febe){const _0x31bb37=_0x340de5;let _0x165746;if(_0x2e7117===void 0x0)_0x165746=_0x1b6801;else{if(typeof _0x2e7117!='number'||!_0x3c3449(_0x2e7117))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x47e284===void 0x0||!_0x47e284[_0x31bb37(0x17f)])_0x165746=Buffer['allocUnsafe'](0x2),_0x165746[_0x31bb37(0x1d1)](_0x2e7117,0x0);else{const _0x2bb691=Buffer[_0x31bb37(0x1f1)](_0x47e284);if(_0x2bb691>0x7b)throw new RangeError(_0x31bb37(0x1e7));_0x165746=Buffer[_0x31bb37(0x1e8)](0x2+_0x2bb691),_0x165746[_0x31bb37(0x1d1)](_0x2e7117,0x0),typeof _0x47e284==_0x31bb37(0x1eb)?_0x165746[_0x31bb37(0x1cf)](_0x47e284,0x2):_0x165746[_0x31bb37(0x19d)](_0x47e284,0x2);}}const _0x2c8854={[_0x44ec2f]:_0x165746[_0x31bb37(0x17f)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x634cd0,'maskBuffer':this[_0x31bb37(0x118)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x31bb37(0x1d5)]!==_0x52e21e?this['enqueue']([this[_0x31bb37(0x10b)],_0x165746,!0x1,_0x2c8854,_0x54febe]):this[_0x31bb37(0x269)](_0x33a799['frame'](_0x165746,_0x2c8854),_0x54febe);}['ping'](_0x45b246,_0xf07b9b,_0x188854){const _0x460c6c=_0x340de5;let _0x2b5182,_0x2cedd0;if(typeof _0x45b246==_0x460c6c(0x1eb)?(_0x2b5182=Buffer[_0x460c6c(0x1f1)](_0x45b246),_0x2cedd0=!0x1):_0x29eddb(_0x45b246)?(_0x2b5182=_0x45b246[_0x460c6c(0x1a5)],_0x2cedd0=!0x1):(_0x45b246=_0x1666b5(_0x45b246),_0x2b5182=_0x45b246[_0x460c6c(0x17f)],_0x2cedd0=_0x1666b5[_0x460c6c(0x278)]),_0x2b5182>0x7d)throw new RangeError(_0x460c6c(0x1b6));const _0x5a026a={[_0x44ec2f]:_0x2b5182,'fin':!0x0,'generateMask':this[_0x460c6c(0x1b5)],'mask':_0xf07b9b,'maskBuffer':this[_0x460c6c(0x118)],'opcode':0x9,'readOnly':_0x2cedd0,'rsv1':!0x1};_0x29eddb(_0x45b246)?this[_0x460c6c(0x1d5)]!==_0x52e21e?this[_0x460c6c(0x262)]([this[_0x460c6c(0x220)],_0x45b246,!0x1,_0x5a026a,_0x188854]):this[_0x460c6c(0x220)](_0x45b246,!0x1,_0x5a026a,_0x188854):this[_0x460c6c(0x1d5)]!==_0x52e21e?this[_0x460c6c(0x262)]([this[_0x460c6c(0x10b)],_0x45b246,!0x1,_0x5a026a,_0x188854]):this['sendFrame'](_0x33a799[_0x460c6c(0x291)](_0x45b246,_0x5a026a),_0x188854);}[_0x340de5(0x233)](_0x4311ba,_0x2b0359,_0x187b1c){const _0x1f7ef0=_0x340de5;let _0x3bf92a,_0x521025;if(typeof _0x4311ba==_0x1f7ef0(0x1eb)?(_0x3bf92a=Buffer['byteLength'](_0x4311ba),_0x521025=!0x1):_0x29eddb(_0x4311ba)?(_0x3bf92a=_0x4311ba['size'],_0x521025=!0x1):(_0x4311ba=_0x1666b5(_0x4311ba),_0x3bf92a=_0x4311ba['length'],_0x521025=_0x1666b5[_0x1f7ef0(0x278)]),_0x3bf92a>0x7d)throw new RangeError(_0x1f7ef0(0x1b6));const _0x38eb84={[_0x44ec2f]:_0x3bf92a,'fin':!0x0,'generateMask':this[_0x1f7ef0(0x1b5)],'mask':_0x2b0359,'maskBuffer':this[_0x1f7ef0(0x118)],'opcode':0xa,'readOnly':_0x521025,'rsv1':!0x1};_0x29eddb(_0x4311ba)?this['_state']!==_0x52e21e?this['enqueue']([this[_0x1f7ef0(0x220)],_0x4311ba,!0x1,_0x38eb84,_0x187b1c]):this[_0x1f7ef0(0x220)](_0x4311ba,!0x1,_0x38eb84,_0x187b1c):this[_0x1f7ef0(0x1d5)]!==_0x52e21e?this[_0x1f7ef0(0x262)]([this[_0x1f7ef0(0x10b)],_0x4311ba,!0x1,_0x38eb84,_0x187b1c]):this[_0x1f7ef0(0x269)](_0x33a799[_0x1f7ef0(0x291)](_0x4311ba,_0x38eb84),_0x187b1c);}[_0x340de5(0xfc)](_0x44ddcb,_0x4b116a,_0x34c1dc){const _0x5207da=_0x340de5,_0x5b6d30=this['_extensions'][_0x3c3263[_0x5207da(0x18f)]];let _0x4a326f=_0x4b116a[_0x5207da(0x165)]?0x2:0x1,_0x40247c=_0x4b116a['compress'],_0x36893e,_0x56f678;typeof _0x44ddcb==_0x5207da(0x1eb)?(_0x36893e=Buffer[_0x5207da(0x1f1)](_0x44ddcb),_0x56f678=!0x1):_0x29eddb(_0x44ddcb)?(_0x36893e=_0x44ddcb['size'],_0x56f678=!0x1):(_0x44ddcb=_0x1666b5(_0x44ddcb),_0x36893e=_0x44ddcb[_0x5207da(0x17f)],_0x56f678=_0x1666b5[_0x5207da(0x278)]),this[_0x5207da(0x236)]?(this[_0x5207da(0x236)]=!0x1,_0x40247c&&_0x5b6d30&&_0x5b6d30[_0x5207da(0x1f2)][_0x5b6d30['_isServer']?'server_no_context_takeover':_0x5207da(0x1cc)]&&(_0x40247c=_0x36893e>=_0x5b6d30[_0x5207da(0x163)]),this['_compress']=_0x40247c):(_0x40247c=!0x1,_0x4a326f=0x0),_0x4b116a[_0x5207da(0x175)]&&(this[_0x5207da(0x236)]=!0x0);const _0x503851={[_0x44ec2f]:_0x36893e,'fin':_0x4b116a[_0x5207da(0x175)],'generateMask':this[_0x5207da(0x1b5)],'mask':_0x4b116a[_0x5207da(0x246)],'maskBuffer':this[_0x5207da(0x118)],'opcode':_0x4a326f,'readOnly':_0x56f678,'rsv1':_0x40247c};_0x29eddb(_0x44ddcb)?this['_state']!==_0x52e21e?this[_0x5207da(0x262)]([this['getBlobData'],_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc]):this[_0x5207da(0x220)](_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc):this[_0x5207da(0x1d5)]!==_0x52e21e?this[_0x5207da(0x262)]([this['dispatch'],_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc]):this[_0x5207da(0x10b)](_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc);}[_0x340de5(0x220)](_0x4013e7,_0x35e6d0,_0x175ee3,_0x5d6136){const _0x88fcbb=_0x340de5;this[_0x88fcbb(0x1f4)]+=_0x175ee3[_0x44ec2f],this[_0x88fcbb(0x1d5)]=_0x155129,_0x4013e7[_0x88fcbb(0x155)]()[_0x88fcbb(0x251)](_0x1e5106=>{const _0x3211ca=_0x88fcbb;if(this[_0x3211ca(0x27c)][_0x3211ca(0x21a)]){const _0x4aac0d=new Error(_0x3211ca(0x21b));process[_0x3211ca(0x281)](_0x5429b8,this,_0x4aac0d,_0x5d6136);return;}this[_0x3211ca(0x1f4)]-=_0x175ee3[_0x44ec2f];const _0x117891=_0x1666b5(_0x1e5106);_0x35e6d0?this[_0x3211ca(0x10b)](_0x117891,_0x35e6d0,_0x175ee3,_0x5d6136):(this[_0x3211ca(0x1d5)]=_0x52e21e,this[_0x3211ca(0x269)](_0x33a799[_0x3211ca(0x291)](_0x117891,_0x175ee3),_0x5d6136),this[_0x3211ca(0x28a)]());})[_0x88fcbb(0x288)](_0x321d4c=>{const _0x6caf77=_0x88fcbb;process[_0x6caf77(0x281)](_0x42b3dd,this,_0x321d4c,_0x5d6136);});}[_0x340de5(0x10b)](_0x59e97c,_0x20742a,_0x4827f1,_0x2e5f64){const _0x3726ec=_0x340de5;if(!_0x20742a){this[_0x3726ec(0x269)](_0x33a799[_0x3726ec(0x291)](_0x59e97c,_0x4827f1),_0x2e5f64);return;}const _0x538af6=this[_0x3726ec(0x142)][_0x3c3263[_0x3726ec(0x18f)]];this[_0x3726ec(0x1f4)]+=_0x4827f1[_0x44ec2f],this[_0x3726ec(0x1d5)]=_0x5e2bb4,_0x538af6[_0x3726ec(0x1ff)](_0x59e97c,_0x4827f1[_0x3726ec(0x175)],(_0x33bed8,_0x190f15)=>{const _0x8ec182=_0x3726ec;if(this[_0x8ec182(0x27c)][_0x8ec182(0x21a)]){const _0xd5a2bf=new Error(_0x8ec182(0xf7));_0x5429b8(this,_0xd5a2bf,_0x2e5f64);return;}this[_0x8ec182(0x1f4)]-=_0x4827f1[_0x44ec2f],this['_state']=_0x52e21e,_0x4827f1[_0x8ec182(0x278)]=!0x1,this['sendFrame'](_0x33a799[_0x8ec182(0x291)](_0x190f15,_0x4827f1),_0x2e5f64),this[_0x8ec182(0x28a)]();});}[_0x340de5(0x28a)](){const _0x243b29=_0x340de5;for(;this[_0x243b29(0x1d5)]===_0x52e21e&&this[_0x243b29(0x1a2)][_0x243b29(0x17f)];){const _0x1c1f7b=this[_0x243b29(0x1a2)][_0x243b29(0x14f)]();this[_0x243b29(0x1f4)]-=_0x1c1f7b[0x3][_0x44ec2f],Reflect[_0x243b29(0xff)](_0x1c1f7b[0x0],this,_0x1c1f7b[_0x243b29(0x113)](0x1));}}[_0x340de5(0x262)](_0x242d15){const _0x34fe7d=_0x340de5;this['_bufferedBytes']+=_0x242d15[0x3][_0x44ec2f],this[_0x34fe7d(0x1a2)][_0x34fe7d(0x282)](_0x242d15);}[_0x340de5(0x269)](_0x1cd50e,_0x2d505c){const _0x36c49a=_0x340de5;_0x1cd50e[_0x36c49a(0x17f)]===0x2?(this[_0x36c49a(0x27c)][_0x36c49a(0x12c)](),this[_0x36c49a(0x27c)]['write'](_0x1cd50e[0x0]),this['_socket']['write'](_0x1cd50e[0x1],_0x2d505c),this['_socket'][_0x36c49a(0x1bd)]()):this[_0x36c49a(0x27c)][_0x36c49a(0x1cf)](_0x1cd50e[0x0],_0x2d505c);}}Ee=_0x33a799;function _0x5429b8(_0x37cfd9,_0x4b41ff,_0x3af9e3){const _0x28d450=_0x340de5;typeof _0x3af9e3=='function'&&_0x3af9e3(_0x4b41ff);for(let _0xc7051f=0x0;_0xc7051f<_0x37cfd9['_queue'][_0x28d450(0x17f)];_0xc7051f++){const _0x4606f7=_0x37cfd9[_0x28d450(0x1a2)][_0xc7051f],_0x1e047d=_0x4606f7[_0x4606f7[_0x28d450(0x17f)]-0x1];typeof _0x1e047d==_0x28d450(0x1e1)&&_0x1e047d(_0x4b41ff);}}function _0x42b3dd(_0x52cdae,_0x18671d,_0xb81de){const _0xfd0125=_0x340de5;_0x5429b8(_0x52cdae,_0x18671d,_0xb81de),_0x52cdae[_0xfd0125(0x132)](_0x18671d);}return Ee;}var xe,tt;function Kt(){const _0x46bd0c=_0x30692b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xda02e2,kListener:_0x52ef03}=V(),_0x5c6bb1=Symbol('kCode'),_0x2051bf=Symbol(_0x46bd0c(0x14d)),_0x1d0060=Symbol(_0x46bd0c(0xef)),_0x1a0bf4=Symbol('kMessage'),_0x316a17=Symbol(_0x46bd0c(0x222)),_0x2cb590=Symbol(_0x46bd0c(0x1d8)),_0x286333=Symbol('kType'),_0x3c482f=Symbol(_0x46bd0c(0x1d4));class _0x22e085{constructor(_0x56276a){this[_0x2cb590]=null,this[_0x286333]=_0x56276a;}get[_0x46bd0c(0x26f)](){return this[_0x2cb590];}get['type'](){return this[_0x286333];}}Object['defineProperty'](_0x22e085[_0x46bd0c(0x26b)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x22e085[_0x46bd0c(0x26b)],_0x46bd0c(0x1da),{'enumerable':!0x0});class _0x39d0d8 extends _0x22e085{constructor(_0x15bd28,_0x5cd73e={}){const _0x1f50a8=_0x46bd0c;super(_0x15bd28),this[_0x5c6bb1]=_0x5cd73e[_0x1f50a8(0x18e)]===void 0x0?0x0:_0x5cd73e[_0x1f50a8(0x18e)],this[_0x316a17]=_0x5cd73e[_0x1f50a8(0x146)]===void 0x0?'':_0x5cd73e[_0x1f50a8(0x146)],this[_0x3c482f]=_0x5cd73e[_0x1f50a8(0x23a)]===void 0x0?!0x1:_0x5cd73e[_0x1f50a8(0x23a)];}get[_0x46bd0c(0x18e)](){return this[_0x5c6bb1];}get['reason'](){return this[_0x316a17];}get[_0x46bd0c(0x23a)](){return this[_0x3c482f];}}Object[_0x46bd0c(0x265)](_0x39d0d8['prototype'],_0x46bd0c(0x18e),{'enumerable':!0x0}),Object['defineProperty'](_0x39d0d8[_0x46bd0c(0x26b)],_0x46bd0c(0x146),{'enumerable':!0x0}),Object[_0x46bd0c(0x265)](_0x39d0d8[_0x46bd0c(0x26b)],'wasClean',{'enumerable':!0x0});class _0x33e000 extends _0x22e085{constructor(_0x5cfe17,_0x2ce3b1={}){const _0x1e0376=_0x46bd0c;super(_0x5cfe17),this[_0x1d0060]=_0x2ce3b1[_0x1e0376(0x1b0)]===void 0x0?null:_0x2ce3b1[_0x1e0376(0x1b0)],this[_0x1a0bf4]=_0x2ce3b1[_0x1e0376(0x299)]===void 0x0?'':_0x2ce3b1[_0x1e0376(0x299)];}get['error'](){return this[_0x1d0060];}get[_0x46bd0c(0x299)](){return this[_0x1a0bf4];}}Object[_0x46bd0c(0x265)](_0x33e000[_0x46bd0c(0x26b)],_0x46bd0c(0x1b0),{'enumerable':!0x0}),Object[_0x46bd0c(0x265)](_0x33e000['prototype'],'message',{'enumerable':!0x0});class _0x4139b5 extends _0x22e085{constructor(_0xca3e8d,_0x33636c={}){const _0x58b8b6=_0x46bd0c;super(_0xca3e8d),this[_0x2051bf]=_0x33636c[_0x58b8b6(0x13d)]===void 0x0?null:_0x33636c[_0x58b8b6(0x13d)];}get[_0x46bd0c(0x13d)](){return this[_0x2051bf];}}Object[_0x46bd0c(0x265)](_0x4139b5['prototype'],_0x46bd0c(0x13d),{'enumerable':!0x0}),xe={'CloseEvent':_0x39d0d8,'ErrorEvent':_0x33e000,'Event':_0x22e085,'EventTarget':{'addEventListener'(_0x18b9ad,_0x1d7eca,_0xb56bbd={}){const _0x964a90=_0x46bd0c;for(const _0x2dc529 of this['listeners'](_0x18b9ad))if(!_0xb56bbd[_0xda02e2]&&_0x2dc529[_0x52ef03]===_0x1d7eca&&!_0x2dc529[_0xda02e2])return;let _0x3e5782;if(_0x18b9ad==='message')_0x3e5782=function(_0x4a5278,_0x8b9654){const _0x215a9c=_0x378b,_0x65b6af=new _0x4139b5(_0x215a9c(0x299),{'data':_0x8b9654?_0x4a5278:_0x4a5278[_0x215a9c(0x244)]()});_0x65b6af[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x65b6af);};else{if(_0x18b9ad==='close')_0x3e5782=function(_0xf18d92,_0x22c73d){const _0x29dcfc=_0x378b,_0x35ad80=new _0x39d0d8(_0x29dcfc(0x159),{'code':_0xf18d92,'reason':_0x22c73d[_0x29dcfc(0x244)](),'wasClean':this[_0x29dcfc(0x27d)]&&this['_closeFrameSent']});_0x35ad80[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x35ad80);};else{if(_0x18b9ad===_0x964a90(0x1b0))_0x3e5782=function(_0x3418ae){const _0x513a1c=new _0x33e000('error',{'error':_0x3418ae,'message':_0x3418ae['message']});_0x513a1c[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x513a1c);};else{if(_0x18b9ad===_0x964a90(0x1a1))_0x3e5782=function(){const _0x5172a1=_0x964a90,_0x2ef02c=new _0x22e085(_0x5172a1(0x1a1));_0x2ef02c[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x2ef02c);};else return;}}}_0x3e5782[_0xda02e2]=!!_0xb56bbd[_0xda02e2],_0x3e5782[_0x52ef03]=_0x1d7eca,_0xb56bbd[_0x964a90(0x182)]?this[_0x964a90(0x182)](_0x18b9ad,_0x3e5782):this['on'](_0x18b9ad,_0x3e5782);},'removeEventListener'(_0x2cf614,_0xbdd882){const _0x609b98=_0x46bd0c;for(const _0x482ff8 of this[_0x609b98(0x202)](_0x2cf614))if(_0x482ff8[_0x52ef03]===_0xbdd882&&!_0x482ff8[_0xda02e2]){this[_0x609b98(0x229)](_0x2cf614,_0x482ff8);break;}}},'MessageEvent':_0x4139b5};function _0x1782fe(_0x37c541,_0xc709ec,_0x3e1e64){const _0x1609c3=_0x46bd0c;typeof _0x37c541=='object'&&_0x37c541['handleEvent']?_0x37c541[_0x1609c3(0x1ae)]['call'](_0x37c541,_0x3e1e64):_0x37c541[_0x1609c3(0x263)](_0xc709ec,_0x3e1e64);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x143229}=ne();function _0x3befec(_0x1a437b,_0x300639,_0x891eea){const _0x9ebd3d=_0x378b;_0x1a437b[_0x300639]===void 0x0?_0x1a437b[_0x300639]=[_0x891eea]:_0x1a437b[_0x300639][_0x9ebd3d(0x282)](_0x891eea);}function _0x1c8029(_0xaab9b8){const _0x5bc61f=_0x378b,_0x4714c7=Object[_0x5bc61f(0x243)](null);let _0x281fb1=Object[_0x5bc61f(0x243)](null),_0x322ad9=!0x1,_0x5eb63d=!0x1,_0x2f8a95=!0x1,_0x555c2b,_0x24dec6,_0x440c42=-0x1,_0xcdef3c=-0x1,_0x2417b1=-0x1,_0x3a1520=0x0;for(;_0x3a1520<_0xaab9b8[_0x5bc61f(0x17f)];_0x3a1520++)if(_0xcdef3c=_0xaab9b8['charCodeAt'](_0x3a1520),_0x555c2b===void 0x0){if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0x3a1520!==0x0&&(_0xcdef3c===0x20||_0xcdef3c===0x9))_0x2417b1===-0x1&&_0x440c42!==-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);const _0x44d156=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);_0xcdef3c===0x2c?(_0x3befec(_0x4714c7,_0x44d156,_0x281fb1),_0x281fb1=Object[_0x5bc61f(0x243)](null)):_0x555c2b=_0x44d156,_0x440c42=_0x2417b1=-0x1;}else throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);}}}else{if(_0x24dec6===void 0x0){if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0xcdef3c===0x20||_0xcdef3c===0x9)_0x2417b1===-0x1&&_0x440c42!==-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520),_0x3befec(_0x281fb1,_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1),!0x0),_0xcdef3c===0x2c&&(_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1),_0x281fb1=Object['create'](null),_0x555c2b=void 0x0),_0x440c42=_0x2417b1=-0x1;}else{if(_0xcdef3c===0x3d&&_0x440c42!==-0x1&&_0x2417b1===-0x1)_0x24dec6=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x3a1520),_0x440c42=_0x2417b1=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);}}}}else{if(_0x5eb63d){if(_0x143229[_0xcdef3c]!==0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x440c42===-0x1?_0x440c42=_0x3a1520:_0x322ad9||(_0x322ad9=!0x0),_0x5eb63d=!0x1;}else{if(_0x2f8a95){if(_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0xcdef3c===0x22&&_0x440c42!==-0x1)_0x2f8a95=!0x1,_0x2417b1=_0x3a1520;else{if(_0xcdef3c===0x5c)_0x5eb63d=!0x0;else throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);}}}else{if(_0xcdef3c===0x22&&_0xaab9b8[_0x5bc61f(0x1d0)](_0x3a1520-0x1)===0x3d)_0x2f8a95=!0x0;else{if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0x440c42!==-0x1&&(_0xcdef3c===0x20||_0xcdef3c===0x9))_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);let _0x47ee77=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);_0x322ad9&&(_0x47ee77=_0x47ee77[_0x5bc61f(0x255)](/\\/g,''),_0x322ad9=!0x1),_0x3befec(_0x281fb1,_0x24dec6,_0x47ee77),_0xcdef3c===0x2c&&(_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1),_0x281fb1=Object[_0x5bc61f(0x243)](null),_0x555c2b=void 0x0),_0x24dec6=void 0x0,_0x440c42=_0x2417b1=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);}}}}}}}if(_0x440c42===-0x1||_0x2f8a95||_0xcdef3c===0x20||_0xcdef3c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);const _0x4fdf92=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);return _0x555c2b===void 0x0?_0x3befec(_0x4714c7,_0x4fdf92,_0x281fb1):(_0x24dec6===void 0x0?_0x3befec(_0x281fb1,_0x4fdf92,!0x0):_0x322ad9?_0x3befec(_0x281fb1,_0x24dec6,_0x4fdf92[_0x5bc61f(0x255)](/\\/g,'')):_0x3befec(_0x281fb1,_0x24dec6,_0x4fdf92),_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1)),_0x4714c7;}function _0xf27ee(_0x280dd7){const _0x44bc98=_0x378b;return Object[_0x44bc98(0xfe)](_0x280dd7)[_0x44bc98(0x1a3)](_0xe09e01=>{const _0x26a5ff=_0x44bc98;let _0x2477c6=_0x280dd7[_0xe09e01];return Array[_0x26a5ff(0x18a)](_0x2477c6)||(_0x2477c6=[_0x2477c6]),_0x2477c6[_0x26a5ff(0x1a3)](_0x45c80b=>[_0xe09e01][_0x26a5ff(0x210)](Object[_0x26a5ff(0xfe)](_0x45c80b)[_0x26a5ff(0x1a3)](_0x54d5f6=>{const _0x278d16=_0x26a5ff;let _0xf943af=_0x45c80b[_0x54d5f6];return Array[_0x278d16(0x18a)](_0xf943af)||(_0xf943af=[_0xf943af]),_0xf943af[_0x278d16(0x1a3)](_0x4d194d=>_0x4d194d===!0x0?_0x54d5f6:_0x54d5f6+'='+_0x4d194d)[_0x278d16(0xf3)](';\x20');}))[_0x26a5ff(0xf3)](';\x20'))[_0x26a5ff(0xf3)](',\x20');})[_0x44bc98(0xf3)](',\x20');}return be={'format':_0xf27ee,'parse':_0x1c8029},be;}var we,st;function Ie(){const _0x558fff=_0x30692b;if(st)return we;st=0x1;const _0xde76a8=_0x290843,_0x12291c=_0x55249a,_0x538e9d=_0x2c702b,_0x4254f2=_0x1265e1,_0x59d1e0=_0x12c9de,{randomBytes:_0x2251de,createHash:_0x21ea34}=_0x31909c,{Duplex:_0x567857,Readable:_0x2bc23f}=_0xa3b750,{URL:_0x5a3cf1}=_0x337ca0,_0x47c04f=he(),_0x1dd501=dt(),_0x59dd75=_t(),{isBlob:_0x258914}=ne(),{BINARY_TYPES:_0x2039b5,EMPTY_BUFFER:_0x493525,GUID:_0x2eb5a3,kForOnEventAttribute:_0x51c322,kListener:_0x17a97e,kStatusCode:_0x3ae65e,kWebSocket:_0x45b322,NOOP:_0x15d3af}=V(),{EventTarget:{addEventListener:_0xe24221,removeEventListener:_0x96ef89}}=Kt(),{format:_0x52bf6b,parse:_0xde70aa}=pt(),{toBuffer:_0x349429}=ce(),_0x3006fd=0x1e*0x3e8,_0x124712=Symbol(_0x558fff(0x224)),_0x29ed74=[0x8,0xd],_0x2269f0=[_0x558fff(0x12a),_0x558fff(0x180),'CLOSING',_0x558fff(0x27b)],_0x42c24d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x34757b extends _0xde76a8{constructor(_0x35131c,_0x3c0274,_0x3b31d6){const _0x262d4a=_0x558fff;super(),this[_0x262d4a(0x1dd)]=_0x2039b5[0x0],this[_0x262d4a(0xf5)]=0x3ee,this[_0x262d4a(0x27d)]=!0x1,this[_0x262d4a(0x10f)]=!0x1,this[_0x262d4a(0x25d)]=_0x493525,this[_0x262d4a(0x228)]=null,this[_0x262d4a(0x284)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x262d4a(0x185)]='',this[_0x262d4a(0x112)]=_0x34757b['CONNECTING'],this[_0x262d4a(0x264)]=null,this['_sender']=null,this[_0x262d4a(0x27c)]=null,_0x35131c!==null?(this[_0x262d4a(0x213)]=0x0,this[_0x262d4a(0x149)]=!0x1,this[_0x262d4a(0x1e3)]=0x0,_0x3c0274===void 0x0?_0x3c0274=[]:Array['isArray'](_0x3c0274)||(typeof _0x3c0274==_0x262d4a(0x254)&&_0x3c0274!==null?(_0x3b31d6=_0x3c0274,_0x3c0274=[]):_0x3c0274=[_0x3c0274]),_0x27f491(this,_0x35131c,_0x3c0274,_0x3b31d6)):(this[_0x262d4a(0x25a)]=_0x3b31d6[_0x262d4a(0x144)],this['_isServer']=!0x0);}get['binaryType'](){const _0x310d97=_0x558fff;return this[_0x310d97(0x1dd)];}set[_0x558fff(0x1c9)](_0xedbd6b){const _0x50aefa=_0x558fff;_0x2039b5[_0x50aefa(0x21c)](_0xedbd6b)&&(this['_binaryType']=_0xedbd6b,this[_0x50aefa(0x264)]&&(this['_receiver']['_binaryType']=_0xedbd6b));}get['bufferedAmount'](){const _0x1ee24f=_0x558fff;return this[_0x1ee24f(0x27c)]?this[_0x1ee24f(0x27c)]['_writableState']['length']+this[_0x1ee24f(0x283)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x558fff(0x107)](){const _0x4ecb11=_0x558fff;return Object[_0x4ecb11(0xfe)](this[_0x4ecb11(0x142)])['join']();}get[_0x558fff(0x1fd)](){const _0x2cc41d=_0x558fff;return this[_0x2cc41d(0x21f)];}get[_0x558fff(0x28f)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x558fff(0x270)](){const _0x3076f=_0x558fff;return this[_0x3076f(0x112)];}get[_0x558fff(0x124)](){const _0x37c30a=_0x558fff;return this[_0x37c30a(0x123)];}[_0x558fff(0x1b4)](_0x4b9fbb,_0x352c6b,_0x406f29){const _0x5b84d4=_0x558fff,_0x2e7c6d=new _0x1dd501({'allowSynchronousEvents':_0x406f29['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5b84d4(0x149)],'maxPayload':_0x406f29[_0x5b84d4(0x292)],'skipUTF8Validation':_0x406f29[_0x5b84d4(0x1fc)]}),_0xf6cdb4=new _0x59dd75(_0x4b9fbb,this[_0x5b84d4(0x142)],_0x406f29['generateMask']);this[_0x5b84d4(0x264)]=_0x2e7c6d,this[_0x5b84d4(0x283)]=_0xf6cdb4,this[_0x5b84d4(0x27c)]=_0x4b9fbb,_0x2e7c6d[_0x45b322]=this,_0xf6cdb4[_0x45b322]=this,_0x4b9fbb[_0x45b322]=this,_0x2e7c6d['on'](_0x5b84d4(0x24e),_0x1d3cbb),_0x2e7c6d['on'](_0x5b84d4(0x16a),_0x3c8cb6),_0x2e7c6d['on']('error',_0x494a7e),_0x2e7c6d['on'](_0x5b84d4(0x299),_0xf31324),_0x2e7c6d['on'](_0x5b84d4(0x266),_0x21fc63),_0x2e7c6d['on'](_0x5b84d4(0x233),_0x3acfbe),_0xf6cdb4['onerror']=_0x1d7754,_0x4b9fbb['setTimeout']&&_0x4b9fbb[_0x5b84d4(0x1fa)](0x0),_0x4b9fbb['setNoDelay']&&_0x4b9fbb[_0x5b84d4(0x240)](),_0x352c6b[_0x5b84d4(0x17f)]>0x0&&_0x4b9fbb[_0x5b84d4(0x1d9)](_0x352c6b),_0x4b9fbb['on'](_0x5b84d4(0x159),_0x5451f5),_0x4b9fbb['on']('data',_0x1856ea),_0x4b9fbb['on'](_0x5b84d4(0x17b),_0x12dcaa),_0x4b9fbb['on'](_0x5b84d4(0x1b0),_0x5c1490),this[_0x5b84d4(0x112)]=_0x34757b['OPEN'],this['emit'](_0x5b84d4(0x1a1));}[_0x558fff(0x1ac)](){const _0x3ee2b9=_0x558fff;if(!this[_0x3ee2b9(0x27c)]){this['_readyState']=_0x34757b[_0x3ee2b9(0x27b)],this[_0x3ee2b9(0x1c5)]('close',this[_0x3ee2b9(0xf5)],this[_0x3ee2b9(0x25d)]);return;}this[_0x3ee2b9(0x142)][_0x47c04f[_0x3ee2b9(0x18f)]]&&this[_0x3ee2b9(0x142)][_0x47c04f[_0x3ee2b9(0x18f)]][_0x3ee2b9(0x198)](),this[_0x3ee2b9(0x264)]['removeAllListeners'](),this[_0x3ee2b9(0x112)]=_0x34757b[_0x3ee2b9(0x27b)],this[_0x3ee2b9(0x1c5)](_0x3ee2b9(0x159),this[_0x3ee2b9(0xf5)],this[_0x3ee2b9(0x25d)]);}[_0x558fff(0x159)](_0x56f21e,_0x3d0d7e){const _0x1ed5b2=_0x558fff;if(this[_0x1ed5b2(0x270)]!==_0x34757b[_0x1ed5b2(0x27b)]){if(this[_0x1ed5b2(0x270)]===_0x34757b['CONNECTING']){_0x22460d(this,this[_0x1ed5b2(0x186)],_0x1ed5b2(0x227));return;}if(this[_0x1ed5b2(0x270)]===_0x34757b['CLOSING']){this[_0x1ed5b2(0x10f)]&&(this[_0x1ed5b2(0x27d)]||this[_0x1ed5b2(0x264)][_0x1ed5b2(0x197)][_0x1ed5b2(0x151)])&&this[_0x1ed5b2(0x27c)][_0x1ed5b2(0x17b)]();return;}this['_readyState']=_0x34757b['CLOSING'],this[_0x1ed5b2(0x283)][_0x1ed5b2(0x159)](_0x56f21e,_0x3d0d7e,!this[_0x1ed5b2(0x149)],_0x806804=>{const _0x30e299=_0x1ed5b2;_0x806804||(this[_0x30e299(0x10f)]=!0x0,(this[_0x30e299(0x27d)]||this[_0x30e299(0x264)]['_writableState'][_0x30e299(0x151)])&&this[_0x30e299(0x27c)]['end']());}),_0x1000ac(this);}}['pause'](){const _0x5873e7=_0x558fff;this['readyState']===_0x34757b[_0x5873e7(0x12a)]||this[_0x5873e7(0x270)]===_0x34757b[_0x5873e7(0x27b)]||(this[_0x5873e7(0x21f)]=!0x0,this[_0x5873e7(0x27c)][_0x5873e7(0x172)]());}[_0x558fff(0x266)](_0x24a8fe,_0x2b045a,_0x5844f7){const _0x2e991f=_0x558fff;if(this[_0x2e991f(0x270)]===_0x34757b[_0x2e991f(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24a8fe=='function'?(_0x5844f7=_0x24a8fe,_0x24a8fe=_0x2b045a=void 0x0):typeof _0x2b045a==_0x2e991f(0x1e1)&&(_0x5844f7=_0x2b045a,_0x2b045a=void 0x0),typeof _0x24a8fe==_0x2e991f(0x11a)&&(_0x24a8fe=_0x24a8fe[_0x2e991f(0x244)]()),this[_0x2e991f(0x270)]!==_0x34757b[_0x2e991f(0x180)]){_0x125cae(this,_0x24a8fe,_0x5844f7);return;}_0x2b045a===void 0x0&&(_0x2b045a=!this[_0x2e991f(0x149)]),this[_0x2e991f(0x283)][_0x2e991f(0x266)](_0x24a8fe||_0x493525,_0x2b045a,_0x5844f7);}[_0x558fff(0x233)](_0x461389,_0x1acb20,_0x3340a2){const _0x3ae61f=_0x558fff;if(this[_0x3ae61f(0x270)]===_0x34757b[_0x3ae61f(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x461389==_0x3ae61f(0x1e1)?(_0x3340a2=_0x461389,_0x461389=_0x1acb20=void 0x0):typeof _0x1acb20==_0x3ae61f(0x1e1)&&(_0x3340a2=_0x1acb20,_0x1acb20=void 0x0),typeof _0x461389==_0x3ae61f(0x11a)&&(_0x461389=_0x461389['toString']()),this[_0x3ae61f(0x270)]!==_0x34757b[_0x3ae61f(0x180)]){_0x125cae(this,_0x461389,_0x3340a2);return;}_0x1acb20===void 0x0&&(_0x1acb20=!this['_isServer']),this[_0x3ae61f(0x283)][_0x3ae61f(0x233)](_0x461389||_0x493525,_0x1acb20,_0x3340a2);}[_0x558fff(0x10e)](){const _0x51fc38=_0x558fff;this['readyState']===_0x34757b[_0x51fc38(0x12a)]||this['readyState']===_0x34757b[_0x51fc38(0x27b)]||(this[_0x51fc38(0x21f)]=!0x1,this[_0x51fc38(0x264)][_0x51fc38(0x197)]['needDrain']||this[_0x51fc38(0x27c)][_0x51fc38(0x10e)]());}[_0x558fff(0xfc)](_0xf94801,_0x5b861d,_0x445d87){const _0x5e7367=_0x558fff;if(this['readyState']===_0x34757b[_0x5e7367(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5b861d==_0x5e7367(0x1e1)&&(_0x445d87=_0x5b861d,_0x5b861d={}),typeof _0xf94801==_0x5e7367(0x11a)&&(_0xf94801=_0xf94801[_0x5e7367(0x244)]()),this[_0x5e7367(0x270)]!==_0x34757b[_0x5e7367(0x180)]){_0x125cae(this,_0xf94801,_0x445d87);return;}const _0x52fa57={'binary':typeof _0xf94801!=_0x5e7367(0x1eb),'mask':!this[_0x5e7367(0x149)],'compress':!0x0,'fin':!0x0,..._0x5b861d};this['_extensions'][_0x47c04f[_0x5e7367(0x18f)]]||(_0x52fa57[_0x5e7367(0x1ff)]=!0x1),this[_0x5e7367(0x283)][_0x5e7367(0xfc)](_0xf94801||_0x493525,_0x52fa57,_0x445d87);}[_0x558fff(0x192)](){const _0x527d5d=_0x558fff;if(this[_0x527d5d(0x270)]!==_0x34757b[_0x527d5d(0x27b)]){if(this[_0x527d5d(0x270)]===_0x34757b[_0x527d5d(0x12a)]){_0x22460d(this,this['_req'],_0x527d5d(0x227));return;}this[_0x527d5d(0x27c)]&&(this['_readyState']=_0x34757b['CLOSING'],this[_0x527d5d(0x27c)][_0x527d5d(0x110)]());}}}Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x12a),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x12a))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],'CONNECTING',{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x12a))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x180),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x180))}),Object[_0x558fff(0x265)](_0x34757b['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x180))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x168),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x168))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],_0x558fff(0x168),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x168))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x27b),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x27b))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],_0x558fff(0x27b),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x27b))}),['binaryType','bufferedAmount',_0x558fff(0x107),_0x558fff(0x1fd),_0x558fff(0x1f7),_0x558fff(0x270),'url']['forEach'](_0x26c3dd=>{const _0x239cf1=_0x558fff;Object['defineProperty'](_0x34757b[_0x239cf1(0x26b)],_0x26c3dd,{'enumerable':!0x0});}),[_0x558fff(0x1a1),_0x558fff(0x1b0),'close','message'][_0x558fff(0x25c)](_0x1fd1ea=>{const _0x59f4a8=_0x558fff;Object[_0x59f4a8(0x265)](_0x34757b[_0x59f4a8(0x26b)],'on'+_0x1fd1ea,{'enumerable':!0x0,'get'(){const _0x23b9b7=_0x59f4a8;for(const _0x5623a3 of this[_0x23b9b7(0x202)](_0x1fd1ea))if(_0x5623a3[_0x51c322])return _0x5623a3[_0x17a97e];return null;},'set'(_0x5c0e7d){const _0x8f9ce=_0x59f4a8;for(const _0x1fe67d of this['listeners'](_0x1fd1ea))if(_0x1fe67d[_0x51c322]){this[_0x8f9ce(0x229)](_0x1fd1ea,_0x1fe67d);break;}typeof _0x5c0e7d=='function'&&this[_0x8f9ce(0x276)](_0x1fd1ea,_0x5c0e7d,{[_0x51c322]:!0x0});}});}),_0x34757b[_0x558fff(0x26b)][_0x558fff(0x276)]=_0xe24221,_0x34757b[_0x558fff(0x26b)][_0x558fff(0x127)]=_0x96ef89,we=_0x34757b;function _0x27f491(_0xcbeb99,_0xe60c55,_0x5cb975,_0x2483a6){const _0xf60608=_0x558fff,_0x13fbc3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x29ed74[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2483a6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xf60608(0x199),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xcbeb99[_0xf60608(0x25a)]=_0x13fbc3[_0xf60608(0x144)],!_0x29ed74[_0xf60608(0x21c)](_0x13fbc3[_0xf60608(0x1db)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x13fbc3[_0xf60608(0x1db)]+_0xf60608(0x122)+_0x29ed74[_0xf60608(0xf3)](',\x20')+')');let _0x1da031;if(_0xe60c55 instanceof _0x5a3cf1)_0x1da031=_0xe60c55;else try{_0x1da031=new _0x5a3cf1(_0xe60c55);}catch{throw new SyntaxError(_0xf60608(0x121)+_0xe60c55);}_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x1bf)?_0x1da031[_0xf60608(0x1f7)]=_0xf60608(0x1f8):_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x272)&&(_0x1da031[_0xf60608(0x1f7)]='wss:'),_0xcbeb99['_url']=_0x1da031[_0xf60608(0x157)];const _0x57a91b=_0x1da031['protocol']===_0xf60608(0x170),_0x1c1683=_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x152);let _0xb6febf;if(_0x1da031[_0xf60608(0x1f7)]!==_0xf60608(0x1f8)&&!_0x57a91b&&!_0x1c1683?_0xb6febf='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':_0x1c1683&&!_0x1da031[_0xf60608(0x108)]?_0xb6febf=_0xf60608(0x153):_0x1da031[_0xf60608(0x1bb)]&&(_0xb6febf=_0xf60608(0x11f)),_0xb6febf){const _0xf8f7d7=new SyntaxError(_0xb6febf);if(_0xcbeb99['_redirects']===0x0)throw _0xf8f7d7;_0x1f75b4(_0xcbeb99,_0xf8f7d7);return;}const _0x43b3ea=_0x57a91b?0x1bb:0x50,_0x2cd5a3=_0x2251de(0x10)[_0xf60608(0x244)](_0xf60608(0x117)),_0x58b8d3=_0x57a91b?_0x12291c[_0xf60608(0x1ea)]:_0x538e9d[_0xf60608(0x1ea)],_0x4d9b9d=new Set();let _0x30ae27;if(_0x13fbc3['createConnection']=_0x13fbc3['createConnection']||(_0x57a91b?_0x47d3c0:_0x5a5a7f),_0x13fbc3[_0xf60608(0x25f)]=_0x13fbc3['defaultPort']||_0x43b3ea,_0x13fbc3[_0xf60608(0xfb)]=_0x1da031[_0xf60608(0xfb)]||_0x43b3ea,_0x13fbc3[_0xf60608(0x221)]=_0x1da031['hostname'][_0xf60608(0x158)]('[')?_0x1da031[_0xf60608(0x287)]['slice'](0x1,-0x1):_0x1da031[_0xf60608(0x287)],_0x13fbc3[_0xf60608(0x219)]={..._0x13fbc3[_0xf60608(0x219)],'Sec-WebSocket-Version':_0x13fbc3[_0xf60608(0x1db)],'Sec-WebSocket-Key':_0x2cd5a3,'Connection':'Upgrade','Upgrade':_0xf60608(0x277)},_0x13fbc3[_0xf60608(0x164)]=_0x1da031['pathname']+_0x1da031[_0xf60608(0x285)],_0x13fbc3[_0xf60608(0x28b)]=_0x13fbc3[_0xf60608(0x1a4)],_0x13fbc3[_0xf60608(0x20d)]&&(_0x30ae27=new _0x47c04f(_0x13fbc3[_0xf60608(0x20d)]!==!0x0?_0x13fbc3[_0xf60608(0x20d)]:{},!0x1,_0x13fbc3[_0xf60608(0x292)]),_0x13fbc3[_0xf60608(0x219)]['Sec-WebSocket-Extensions']=_0x52bf6b({[_0x47c04f[_0xf60608(0x18f)]]:_0x30ae27[_0xf60608(0x125)]()})),_0x5cb975[_0xf60608(0x17f)]){for(const _0x398ac2 of _0x5cb975){if(typeof _0x398ac2!=_0xf60608(0x1eb)||!_0x42c24d['test'](_0x398ac2)||_0x4d9b9d[_0xf60608(0x17d)](_0x398ac2))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4d9b9d[_0xf60608(0x250)](_0x398ac2);}_0x13fbc3[_0xf60608(0x219)][_0xf60608(0x176)]=_0x5cb975[_0xf60608(0xf3)](',');}if(_0x13fbc3[_0xf60608(0x19e)]&&(_0x13fbc3['protocolVersion']<0xd?_0x13fbc3[_0xf60608(0x219)]['Sec-WebSocket-Origin']=_0x13fbc3['origin']:_0x13fbc3[_0xf60608(0x219)][_0xf60608(0x234)]=_0x13fbc3[_0xf60608(0x19e)]),(_0x1da031[_0xf60608(0x261)]||_0x1da031[_0xf60608(0x1fe)])&&(_0x13fbc3['auth']=_0x1da031['username']+':'+_0x1da031['password']),_0x1c1683){const _0x130d94=_0x13fbc3['path'][_0xf60608(0x11d)](':');_0x13fbc3[_0xf60608(0x1de)]=_0x130d94[0x0],_0x13fbc3[_0xf60608(0x164)]=_0x130d94[0x1];}let _0x339a5d;if(_0x13fbc3[_0xf60608(0x26c)]){if(_0xcbeb99['_redirects']===0x0){_0xcbeb99[_0xf60608(0x195)]=_0x1c1683,_0xcbeb99[_0xf60608(0x225)]=_0x57a91b,_0xcbeb99[_0xf60608(0x1ee)]=_0x1c1683?_0x13fbc3[_0xf60608(0x1de)]:_0x1da031[_0xf60608(0x221)];const _0x19bd38=_0x2483a6&&_0x2483a6[_0xf60608(0x219)];if(_0x2483a6={..._0x2483a6,'headers':{}},_0x19bd38){for(const [_0x49cdfe,_0x3a75b7]of Object[_0xf60608(0x1a9)](_0x19bd38))_0x2483a6[_0xf60608(0x219)][_0x49cdfe[_0xf60608(0x22d)]()]=_0x3a75b7;}}else{if(_0xcbeb99[_0xf60608(0x16d)](_0xf60608(0x128))===0x0){const _0x533c21=_0x1c1683?_0xcbeb99[_0xf60608(0x195)]?_0x13fbc3[_0xf60608(0x1de)]===_0xcbeb99[_0xf60608(0x1ee)]:!0x1:_0xcbeb99[_0xf60608(0x195)]?!0x1:_0x1da031[_0xf60608(0x221)]===_0xcbeb99[_0xf60608(0x1ee)];(!_0x533c21||_0xcbeb99['_originalSecure']&&!_0x57a91b)&&(delete _0x13fbc3[_0xf60608(0x219)]['authorization'],delete _0x13fbc3[_0xf60608(0x219)][_0xf60608(0x1b7)],_0x533c21||delete _0x13fbc3['headers'][_0xf60608(0x221)],_0x13fbc3[_0xf60608(0x10a)]=void 0x0);}}_0x13fbc3[_0xf60608(0x10a)]&&!_0x2483a6['headers'][_0xf60608(0x18c)]&&(_0x2483a6[_0xf60608(0x219)]['authorization']=_0xf60608(0xf1)+Buffer['from'](_0x13fbc3[_0xf60608(0x10a)])[_0xf60608(0x244)](_0xf60608(0x117))),_0x339a5d=_0xcbeb99['_req']=_0x58b8d3(_0x13fbc3),_0xcbeb99[_0xf60608(0x1e3)]&&_0xcbeb99[_0xf60608(0x1c5)](_0xf60608(0x128),_0xcbeb99[_0xf60608(0x124)],_0x339a5d);}else _0x339a5d=_0xcbeb99[_0xf60608(0x186)]=_0x58b8d3(_0x13fbc3);_0x13fbc3[_0xf60608(0x28b)]&&_0x339a5d['on'](_0xf60608(0x28b),()=>{const _0x11a53a=_0xf60608;_0x22460d(_0xcbeb99,_0x339a5d,_0x11a53a(0x190));}),_0x339a5d['on']('error',_0x2a7949=>{const _0x233c9a=_0xf60608;_0x339a5d===null||_0x339a5d[_0x124712]||(_0x339a5d=_0xcbeb99[_0x233c9a(0x186)]=null,_0x1f75b4(_0xcbeb99,_0x2a7949));}),_0x339a5d['on'](_0xf60608(0x23b),_0x54a830=>{const _0x5b0c1f=_0xf60608,_0x126665=_0x54a830['headers']['location'],_0x2a4dbd=_0x54a830[_0x5b0c1f(0x16e)];if(_0x126665&&_0x13fbc3[_0x5b0c1f(0x26c)]&&_0x2a4dbd>=0x12c&&_0x2a4dbd<0x190){if(++_0xcbeb99[_0x5b0c1f(0x1e3)]>_0x13fbc3[_0x5b0c1f(0x20a)]){_0x22460d(_0xcbeb99,_0x339a5d,'Maximum\x20redirects\x20exceeded');return;}_0x339a5d[_0x5b0c1f(0x173)]();let _0xd9c755;try{_0xd9c755=new _0x5a3cf1(_0x126665,_0xe60c55);}catch{const _0x2be42b=new SyntaxError(_0x5b0c1f(0x121)+_0x126665);_0x1f75b4(_0xcbeb99,_0x2be42b);return;}_0x27f491(_0xcbeb99,_0xd9c755,_0x5cb975,_0x2483a6);}else _0xcbeb99[_0x5b0c1f(0x1c5)](_0x5b0c1f(0xf0),_0x339a5d,_0x54a830)||_0x22460d(_0xcbeb99,_0x339a5d,_0x5b0c1f(0x24f)+_0x54a830[_0x5b0c1f(0x16e)]);}),_0x339a5d['on'](_0xf60608(0x253),(_0x14c2f4,_0x3b60d6,_0x23faa1)=>{const _0x108a73=_0xf60608;if(_0xcbeb99[_0x108a73(0x1c5)]('upgrade',_0x14c2f4),_0xcbeb99[_0x108a73(0x270)]!==_0x34757b[_0x108a73(0x12a)])return;_0x339a5d=_0xcbeb99['_req']=null;const _0x5a9840=_0x14c2f4[_0x108a73(0x219)]['upgrade'];if(_0x5a9840===void 0x0||_0x5a9840[_0x108a73(0x22d)]()!==_0x108a73(0x277)){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x1e2));return;}const _0x5c2126=_0x21ea34(_0x108a73(0x245))['update'](_0x2cd5a3+_0x2eb5a3)[_0x108a73(0x26e)](_0x108a73(0x117));if(_0x14c2f4[_0x108a73(0x219)][_0x108a73(0x1f3)]!==_0x5c2126){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x211));return;}const _0x5686a4=_0x14c2f4['headers'][_0x108a73(0x21e)];let _0x35b22d;if(_0x5686a4!==void 0x0?_0x4d9b9d[_0x108a73(0x1a5)]?_0x4d9b9d[_0x108a73(0x17d)](_0x5686a4)||(_0x35b22d=_0x108a73(0x13e)):_0x35b22d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4d9b9d[_0x108a73(0x1a5)]&&(_0x35b22d='Server\x20sent\x20no\x20subprotocol'),_0x35b22d){_0x22460d(_0xcbeb99,_0x3b60d6,_0x35b22d);return;}_0x5686a4&&(_0xcbeb99['_protocol']=_0x5686a4);const _0x38988c=_0x14c2f4[_0x108a73(0x219)][_0x108a73(0x188)];if(_0x38988c!==void 0x0){if(!_0x30ae27){_0x22460d(_0xcbeb99,_0x3b60d6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x337099;try{_0x337099=_0xde70aa(_0x38988c);}catch{_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x16f));return;}const _0x3bf333=Object[_0x108a73(0xfe)](_0x337099);if(_0x3bf333['length']!==0x1||_0x3bf333[0x0]!==_0x47c04f[_0x108a73(0x18f)]){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x1e6));return;}try{_0x30ae27[_0x108a73(0x1c7)](_0x337099[_0x47c04f[_0x108a73(0x18f)]]);}catch{_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x16f));return;}_0xcbeb99['_extensions'][_0x47c04f[_0x108a73(0x18f)]]=_0x30ae27;}_0xcbeb99[_0x108a73(0x1b4)](_0x3b60d6,_0x23faa1,{'allowSynchronousEvents':_0x13fbc3[_0x108a73(0x134)],'generateMask':_0x13fbc3[_0x108a73(0x289)],'maxPayload':_0x13fbc3[_0x108a73(0x292)],'skipUTF8Validation':_0x13fbc3[_0x108a73(0x1fc)]});}),_0x13fbc3[_0xf60608(0x24b)]?_0x13fbc3['finishRequest'](_0x339a5d,_0xcbeb99):_0x339a5d[_0xf60608(0x17b)]();}function _0x1f75b4(_0x295102,_0x3b8785){const _0x4c277c=_0x558fff;_0x295102['_readyState']=_0x34757b['CLOSING'],_0x295102[_0x4c277c(0x284)]=!0x0,_0x295102['emit'](_0x4c277c(0x1b0),_0x3b8785),_0x295102[_0x4c277c(0x1ac)]();}function _0x5a5a7f(_0x4fa12f){const _0x34b196=_0x558fff;return _0x4fa12f[_0x34b196(0x164)]=_0x4fa12f[_0x34b196(0x1de)],_0x4254f2['connect'](_0x4fa12f);}function _0x47d3c0(_0xdc74c0){const _0x263a59=_0x558fff;return _0xdc74c0['path']=void 0x0,!_0xdc74c0[_0x263a59(0x161)]&&_0xdc74c0[_0x263a59(0x161)]!==''&&(_0xdc74c0[_0x263a59(0x161)]=_0x4254f2[_0x263a59(0x1e4)](_0xdc74c0['host'])?'':_0xdc74c0['host']),_0x59d1e0[_0x263a59(0x12d)](_0xdc74c0);}function _0x22460d(_0x1255ed,_0x216b3e,_0x357503){const _0x2cf37a=_0x558fff;_0x1255ed['_readyState']=_0x34757b[_0x2cf37a(0x168)];const _0x37f53a=new Error(_0x357503);Error['captureStackTrace'](_0x37f53a,_0x22460d),_0x216b3e['setHeader']?(_0x216b3e[_0x124712]=!0x0,_0x216b3e[_0x2cf37a(0x173)](),_0x216b3e[_0x2cf37a(0x178)]&&!_0x216b3e['socket']['destroyed']&&_0x216b3e[_0x2cf37a(0x178)][_0x2cf37a(0x110)](),process[_0x2cf37a(0x281)](_0x1f75b4,_0x1255ed,_0x37f53a)):(_0x216b3e[_0x2cf37a(0x110)](_0x37f53a),_0x216b3e[_0x2cf37a(0x182)](_0x2cf37a(0x1b0),_0x1255ed['emit'][_0x2cf37a(0x19b)](_0x1255ed,_0x2cf37a(0x1b0))),_0x216b3e[_0x2cf37a(0x182)](_0x2cf37a(0x159),_0x1255ed[_0x2cf37a(0x1ac)][_0x2cf37a(0x19b)](_0x1255ed)));}function _0x125cae(_0x2caaaf,_0x4b0476,_0x393eb4){const _0x25a391=_0x558fff;if(_0x4b0476){const _0x418fa0=_0x258914(_0x4b0476)?_0x4b0476[_0x25a391(0x1a5)]:_0x349429(_0x4b0476)[_0x25a391(0x17f)];_0x2caaaf[_0x25a391(0x27c)]?_0x2caaaf[_0x25a391(0x283)]['_bufferedBytes']+=_0x418fa0:_0x2caaaf[_0x25a391(0x213)]+=_0x418fa0;}if(_0x393eb4){const _0x513ead=new Error(_0x25a391(0x1b1)+_0x2caaaf['readyState']+'\x20('+_0x2269f0[_0x2caaaf[_0x25a391(0x270)]]+')');process[_0x25a391(0x281)](_0x393eb4,_0x513ead);}}function _0x1d3cbb(_0x29b33c,_0x496e00){const _0x326d88=_0x558fff,_0x16d411=this[_0x45b322];_0x16d411[_0x326d88(0x27d)]=!0x0,_0x16d411['_closeMessage']=_0x496e00,_0x16d411[_0x326d88(0xf5)]=_0x29b33c,_0x16d411[_0x326d88(0x27c)][_0x45b322]!==void 0x0&&(_0x16d411[_0x326d88(0x27c)][_0x326d88(0x229)](_0x326d88(0x13d),_0x1856ea),process['nextTick'](_0x4e7448,_0x16d411[_0x326d88(0x27c)]),_0x29b33c===0x3ed?_0x16d411[_0x326d88(0x159)]():_0x16d411[_0x326d88(0x159)](_0x29b33c,_0x496e00));}function _0x3c8cb6(){const _0x104fe0=_0x558fff,_0x56af93=this[_0x45b322];_0x56af93[_0x104fe0(0x1fd)]||_0x56af93['_socket']['resume']();}function _0x494a7e(_0x42a48c){const _0x4ef7bd=_0x558fff,_0x4854e4=this[_0x45b322];_0x4854e4[_0x4ef7bd(0x27c)][_0x45b322]!==void 0x0&&(_0x4854e4[_0x4ef7bd(0x27c)][_0x4ef7bd(0x229)](_0x4ef7bd(0x13d),_0x1856ea),process[_0x4ef7bd(0x281)](_0x4e7448,_0x4854e4[_0x4ef7bd(0x27c)]),_0x4854e4[_0x4ef7bd(0x159)](_0x42a48c[_0x3ae65e])),_0x4854e4[_0x4ef7bd(0x284)]||(_0x4854e4[_0x4ef7bd(0x284)]=!0x0,_0x4854e4['emit'](_0x4ef7bd(0x1b0),_0x42a48c));}function _0xca781(){this[_0x45b322]['emitClose']();}function _0xf31324(_0x45d1ca,_0x22c0ce){const _0x4fa0b7=_0x558fff;this[_0x45b322][_0x4fa0b7(0x1c5)](_0x4fa0b7(0x299),_0x45d1ca,_0x22c0ce);}function _0x21fc63(_0x914f27){const _0x257849=_0x558fff,_0x109256=this[_0x45b322];_0x109256[_0x257849(0x25a)]&&_0x109256[_0x257849(0x233)](_0x914f27,!this[_0x257849(0x149)],_0x15d3af),_0x109256[_0x257849(0x1c5)](_0x257849(0x266),_0x914f27);}function _0x3acfbe(_0x280eac){const _0x4a4157=_0x558fff;this[_0x45b322][_0x4a4157(0x1c5)](_0x4a4157(0x233),_0x280eac);}function _0x4e7448(_0x1cd173){const _0x2e7938=_0x558fff;_0x1cd173[_0x2e7938(0x10e)]();}function _0x1d7754(_0x470377){const _0x25df1c=_0x558fff,_0x31d295=this[_0x45b322];_0x31d295[_0x25df1c(0x270)]!==_0x34757b[_0x25df1c(0x27b)]&&(_0x31d295[_0x25df1c(0x270)]===_0x34757b['OPEN']&&(_0x31d295[_0x25df1c(0x112)]=_0x34757b[_0x25df1c(0x168)],_0x1000ac(_0x31d295)),this[_0x25df1c(0x27c)][_0x25df1c(0x17b)](),_0x31d295[_0x25df1c(0x284)]||(_0x31d295[_0x25df1c(0x284)]=!0x0,_0x31d295[_0x25df1c(0x1c5)](_0x25df1c(0x1b0),_0x470377)));}function _0x1000ac(_0x13a423){const _0x3b3895=_0x558fff;_0x13a423[_0x3b3895(0x228)]=setTimeout(_0x13a423[_0x3b3895(0x27c)][_0x3b3895(0x110)][_0x3b3895(0x19b)](_0x13a423[_0x3b3895(0x27c)]),_0x3006fd);}function _0x5451f5(){const _0x38ed86=_0x558fff,_0xc69cb0=this[_0x45b322];this[_0x38ed86(0x229)](_0x38ed86(0x159),_0x5451f5),this[_0x38ed86(0x229)](_0x38ed86(0x13d),_0x1856ea),this[_0x38ed86(0x229)](_0x38ed86(0x17b),_0x12dcaa),_0xc69cb0[_0x38ed86(0x112)]=_0x34757b['CLOSING'];let _0x545d75;!this[_0x38ed86(0x223)][_0x38ed86(0x1dc)]&&!_0xc69cb0[_0x38ed86(0x27d)]&&!_0xc69cb0[_0x38ed86(0x264)][_0x38ed86(0x197)][_0x38ed86(0x151)]&&(_0x545d75=_0xc69cb0[_0x38ed86(0x27c)][_0x38ed86(0x18b)]())!==null&&_0xc69cb0['_receiver'][_0x38ed86(0x1cf)](_0x545d75),_0xc69cb0['_receiver'][_0x38ed86(0x17b)](),this[_0x45b322]=void 0x0,clearTimeout(_0xc69cb0[_0x38ed86(0x228)]),_0xc69cb0[_0x38ed86(0x264)]['_writableState'][_0x38ed86(0x1ca)]||_0xc69cb0['_receiver']['_writableState'][_0x38ed86(0x151)]?_0xc69cb0[_0x38ed86(0x1ac)]():(_0xc69cb0['_receiver']['on'](_0x38ed86(0x1b0),_0xca781),_0xc69cb0['_receiver']['on'](_0x38ed86(0x12f),_0xca781));}function _0x1856ea(_0x4841a8){const _0x573426=_0x558fff;this[_0x45b322][_0x573426(0x264)]['write'](_0x4841a8)||this['pause']();}function _0x12dcaa(){const _0x115ea5=_0x558fff,_0x4997bb=this[_0x45b322];_0x4997bb['_readyState']=_0x34757b[_0x115ea5(0x168)],_0x4997bb[_0x115ea5(0x264)][_0x115ea5(0x17b)](),this['end']();}function _0x5c1490(){const _0xb88095=_0x558fff,_0x1bac6a=this[_0x45b322];this[_0xb88095(0x229)]('error',_0x5c1490),this['on']('error',_0x15d3af),_0x1bac6a&&(_0x1bac6a[_0xb88095(0x112)]=_0x34757b[_0xb88095(0x168)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xd3940f}=_0xa3b750;function _0x19465f(_0x53e5af){const _0x34846b=_0x378b;_0x53e5af[_0x34846b(0x1c5)](_0x34846b(0x159));}function _0x454bb8(){const _0x44d2e7=_0x378b;!this[_0x44d2e7(0x21a)]&&this[_0x44d2e7(0x197)][_0x44d2e7(0x1ca)]&&this['destroy']();}function _0x4ea662(_0x29c2a1){const _0x35a1d9=_0x378b;this[_0x35a1d9(0x229)](_0x35a1d9(0x1b0),_0x4ea662),this[_0x35a1d9(0x110)](),this['listenerCount'](_0x35a1d9(0x1b0))===0x0&&this[_0x35a1d9(0x1c5)](_0x35a1d9(0x1b0),_0x29c2a1);}function _0x147e86(_0x1395b1,_0x5467f3){const _0xa2f070=_0x378b;let _0x2c26d5=!0x0;const _0x456641=new _0xd3940f({..._0x5467f3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1395b1['on'](_0xa2f070(0x299),function(_0x24df2d,_0x1a6c59){const _0xa28506=_0xa2f070,_0x518246=!_0x1a6c59&&_0x456641[_0xa28506(0x223)][_0xa28506(0x275)]?_0x24df2d[_0xa28506(0x244)]():_0x24df2d;_0x456641[_0xa28506(0x282)](_0x518246)||_0x1395b1['pause']();}),_0x1395b1[_0xa2f070(0x182)](_0xa2f070(0x1b0),function(_0x4a39da){const _0xd9bfc4=_0xa2f070;_0x456641[_0xd9bfc4(0x21a)]||(_0x2c26d5=!0x1,_0x456641[_0xd9bfc4(0x110)](_0x4a39da));}),_0x1395b1[_0xa2f070(0x182)]('close',function(){const _0x524dd9=_0xa2f070;_0x456641[_0x524dd9(0x21a)]||_0x456641[_0x524dd9(0x282)](null);}),_0x456641[_0xa2f070(0x20e)]=function(_0x16dc4b,_0x3805f3){const _0x4a8146=_0xa2f070;if(_0x1395b1[_0x4a8146(0x270)]===_0x1395b1[_0x4a8146(0x27b)]){_0x3805f3(_0x16dc4b),process[_0x4a8146(0x281)](_0x19465f,_0x456641);return;}let _0xf63f0=!0x1;_0x1395b1['once'](_0x4a8146(0x1b0),function(_0x8b1d4a){_0xf63f0=!0x0,_0x3805f3(_0x8b1d4a);}),_0x1395b1[_0x4a8146(0x182)]('close',function(){const _0x39fd04=_0x4a8146;_0xf63f0||_0x3805f3(_0x16dc4b),process[_0x39fd04(0x281)](_0x19465f,_0x456641);}),_0x2c26d5&&_0x1395b1[_0x4a8146(0x192)]();},_0x456641[_0xa2f070(0x20c)]=function(_0x238bda){const _0x11b07a=_0xa2f070;if(_0x1395b1[_0x11b07a(0x270)]===_0x1395b1[_0x11b07a(0x12a)]){_0x1395b1[_0x11b07a(0x182)]('open',function(){const _0xc077fe=_0x11b07a;_0x456641[_0xc077fe(0x20c)](_0x238bda);});return;}_0x1395b1[_0x11b07a(0x27c)]!==null&&(_0x1395b1['_socket']['_writableState'][_0x11b07a(0x1ca)]?(_0x238bda(),_0x456641[_0x11b07a(0x223)][_0x11b07a(0x1dc)]&&_0x456641['destroy']()):(_0x1395b1[_0x11b07a(0x27c)][_0x11b07a(0x182)](_0x11b07a(0x12f),function(){_0x238bda();}),_0x1395b1[_0x11b07a(0x159)]()));},_0x456641[_0xa2f070(0x258)]=function(){const _0x4b3636=_0xa2f070;_0x1395b1[_0x4b3636(0x1fd)]&&_0x1395b1[_0x4b3636(0x10e)]();},_0x456641[_0xa2f070(0x100)]=function(_0x109c92,_0x16aa5d,_0xb800a3){const _0x47fa33=_0xa2f070;if(_0x1395b1[_0x47fa33(0x270)]===_0x1395b1[_0x47fa33(0x12a)]){_0x1395b1[_0x47fa33(0x182)]('open',function(){const _0x1db8fd=_0x47fa33;_0x456641[_0x1db8fd(0x100)](_0x109c92,_0x16aa5d,_0xb800a3);});return;}_0x1395b1[_0x47fa33(0xfc)](_0x109c92,_0xb800a3);},_0x456641['on'](_0xa2f070(0x17b),_0x454bb8),_0x456641['on']('error',_0x4ea662),_0x456641;}return Oe=_0x147e86,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x466140}=ne();function _0x4bcb09(_0x57cf88){const _0xaa8b5c=_0x378b,_0x5d24c8=new Set();let _0x447f11=-0x1,_0x449ebc=-0x1,_0x5874bd=0x0;for(_0x5874bd;_0x5874bd<_0x57cf88['length'];_0x5874bd++){const _0x30b667=_0x57cf88['charCodeAt'](_0x5874bd);if(_0x449ebc===-0x1&&_0x466140[_0x30b667]===0x1)_0x447f11===-0x1&&(_0x447f11=_0x5874bd);else{if(_0x5874bd!==0x0&&(_0x30b667===0x20||_0x30b667===0x9))_0x449ebc===-0x1&&_0x447f11!==-0x1&&(_0x449ebc=_0x5874bd);else{if(_0x30b667===0x2c){if(_0x447f11===-0x1)throw new SyntaxError(_0xaa8b5c(0xfd)+_0x5874bd);_0x449ebc===-0x1&&(_0x449ebc=_0x5874bd);const _0x34102b=_0x57cf88['slice'](_0x447f11,_0x449ebc);if(_0x5d24c8[_0xaa8b5c(0x17d)](_0x34102b))throw new SyntaxError(_0xaa8b5c(0x23d)+_0x34102b+_0xaa8b5c(0x267));_0x5d24c8[_0xaa8b5c(0x250)](_0x34102b),_0x447f11=_0x449ebc=-0x1;}else throw new SyntaxError(_0xaa8b5c(0xfd)+_0x5874bd);}}}if(_0x447f11===-0x1||_0x449ebc!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1c0982=_0x57cf88[_0xaa8b5c(0x113)](_0x447f11,_0x5874bd);if(_0x5d24c8[_0xaa8b5c(0x17d)](_0x1c0982))throw new SyntaxError(_0xaa8b5c(0x23d)+_0x1c0982+_0xaa8b5c(0x267));return _0x5d24c8[_0xaa8b5c(0x250)](_0x1c0982),_0x5d24c8;}return Ce={'parse':_0x4bcb09},Ce;}var Te,ot;function er(){const _0x4ec2b0=_0x30692b;if(ot)return Te;ot=0x1;const _0x2ca941=_0x290843,_0x3993ec=_0x2c702b,{Duplex:_0x211ff9}=_0xa3b750,{createHash:_0x22a38d}=_0x31909c,_0x55ed18=pt(),_0x94e7c4=he(),_0x5d3292=Jt(),_0x59fbd5=Ie(),{GUID:_0x1e0ae4,kWebSocket:_0x2ea280}=V(),_0xb10af8=/^[+/0-9A-Za-z]{22}==$/,_0x31147d=0x0,_0x2018cc=0x1,_0x59c4ac=0x2;class _0x3e7665 extends _0x2ca941{constructor(_0x46327f,_0x27057a){const _0x626df9=_0x378b;if(super(),_0x46327f={'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':_0x59fbd5,..._0x46327f},_0x46327f[_0x626df9(0xfb)]==null&&!_0x46327f['server']&&!_0x46327f[_0x626df9(0x1bc)]||_0x46327f[_0x626df9(0xfb)]!=null&&(_0x46327f['server']||_0x46327f['noServer'])||_0x46327f[_0x626df9(0x15f)]&&_0x46327f[_0x626df9(0x1bc)])throw new TypeError(_0x626df9(0x231));if(_0x46327f[_0x626df9(0xfb)]!=null?(this['_server']=_0x3993ec['createServer']((_0x1baf8e,_0x374919)=>{const _0x2903c5=_0x626df9,_0x3019ba=_0x3993ec[_0x2903c5(0x23f)][0x1aa];_0x374919[_0x2903c5(0x215)](0x1aa,{'Content-Length':_0x3019ba['length'],'Content-Type':_0x2903c5(0x102)}),_0x374919[_0x2903c5(0x17b)](_0x3019ba);}),this['_server']['listen'](_0x46327f[_0x626df9(0xfb)],_0x46327f[_0x626df9(0x221)],_0x46327f[_0x626df9(0x26a)],_0x27057a)):_0x46327f[_0x626df9(0x15f)]&&(this[_0x626df9(0x14e)]=_0x46327f[_0x626df9(0x15f)]),this[_0x626df9(0x14e)]){const _0x308b24=this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x140));this[_0x626df9(0x101)]=_0x1d475d(this[_0x626df9(0x14e)],{'listening':this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x1f0)),'error':this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x1b0)),'upgrade':(_0x4e9bc4,_0x435df5,_0x477b09)=>{this['handleUpgrade'](_0x4e9bc4,_0x435df5,_0x477b09,_0x308b24);}});}_0x46327f['perMessageDeflate']===!0x0&&(_0x46327f[_0x626df9(0x20d)]={}),_0x46327f[_0x626df9(0x214)]&&(this['clients']=new Set(),this[_0x626df9(0x156)]=!0x1),this['options']=_0x46327f,this[_0x626df9(0x1d5)]=_0x31147d;}[_0x4ec2b0(0xf4)](){const _0x46022e=_0x4ec2b0;if(this['options'][_0x46022e(0x1bc)])throw new Error(_0x46022e(0x1d6));return this[_0x46022e(0x14e)]?this[_0x46022e(0x14e)][_0x46022e(0xf4)]():null;}['close'](_0x5ed2ff){const _0x35c784=_0x4ec2b0;if(this['_state']===_0x59c4ac){_0x5ed2ff&&this['once'](_0x35c784(0x159),()=>{const _0x2e7fbb=_0x35c784;_0x5ed2ff(new Error(_0x2e7fbb(0x18d)));}),process[_0x35c784(0x281)](_0x25bb0a,this);return;}if(_0x5ed2ff&&this[_0x35c784(0x182)]('close',_0x5ed2ff),this[_0x35c784(0x1d5)]!==_0x2018cc){if(this['_state']=_0x2018cc,this[_0x35c784(0x177)][_0x35c784(0x1bc)]||this['options'][_0x35c784(0x15f)])this['_server']&&(this[_0x35c784(0x101)](),this[_0x35c784(0x101)]=this[_0x35c784(0x14e)]=null),this[_0x35c784(0x181)]?this[_0x35c784(0x181)][_0x35c784(0x1a5)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x25bb0a,this):process['nextTick'](_0x25bb0a,this);else{const _0x51ac2b=this[_0x35c784(0x14e)];this[_0x35c784(0x101)](),this[_0x35c784(0x101)]=this[_0x35c784(0x14e)]=null,_0x51ac2b[_0x35c784(0x159)](()=>{_0x25bb0a(this);});}}}[_0x4ec2b0(0x1fb)](_0x1e009f){const _0xa02fc3=_0x4ec2b0;if(this[_0xa02fc3(0x177)][_0xa02fc3(0x164)]){const _0x3b7e34=_0x1e009f[_0xa02fc3(0x124)][_0xa02fc3(0x14a)]('?');if((_0x3b7e34!==-0x1?_0x1e009f[_0xa02fc3(0x124)][_0xa02fc3(0x113)](0x0,_0x3b7e34):_0x1e009f[_0xa02fc3(0x124)])!==this['options'][_0xa02fc3(0x164)])return!0x1;}return!0x0;}[_0x4ec2b0(0x169)](_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b){const _0x9f3fce=_0x4ec2b0;_0x1650a3['on'](_0x9f3fce(0x1b0),_0x242033);const _0x17df33=_0x367ae3['headers'][_0x9f3fce(0x1cd)],_0x417c88=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x253)],_0x285b6e=+_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x24a)];if(_0x367ae3['method']!==_0x9f3fce(0x199)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x195,_0x9f3fce(0x207));return;}if(_0x417c88===void 0x0||_0x417c88['toLowerCase']()!==_0x9f3fce(0x277)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x1e2));return;}if(_0x17df33===void 0x0||!_0xb10af8[_0x9f3fce(0x230)](_0x17df33)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x268));return;}if(_0x285b6e!==0xd&&_0x285b6e!==0x8){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x209),{'Sec-WebSocket-Version':_0x9f3fce(0x235)});return;}if(!this[_0x9f3fce(0x1fb)](_0x367ae3)){_0x1876fb(_0x1650a3,0x190);return;}const _0x5d8cf4=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x21e)];let _0x405eae=new Set();if(_0x5d8cf4!==void 0x0)try{_0x405eae=_0x5d3292[_0x9f3fce(0x22a)](_0x5d8cf4);}catch{_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x1e0));return;}const _0xb399ec=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x188)],_0x3db2e4={};if(this[_0x9f3fce(0x177)][_0x9f3fce(0x20d)]&&_0xb399ec!==void 0x0){const _0x542aff=new _0x94e7c4(this[_0x9f3fce(0x177)]['perMessageDeflate'],!0x0,this[_0x9f3fce(0x177)][_0x9f3fce(0x292)]);try{const _0x246912=_0x55ed18['parse'](_0xb399ec);_0x246912[_0x94e7c4['extensionName']]&&(_0x542aff['accept'](_0x246912[_0x94e7c4['extensionName']]),_0x3db2e4[_0x94e7c4[_0x9f3fce(0x18f)]]=_0x542aff);}catch{_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x10c));return;}}if(this[_0x9f3fce(0x177)]['verifyClient']){const _0x226ffe={'origin':_0x367ae3[_0x9f3fce(0x219)][''+(_0x285b6e===0x8?_0x9f3fce(0x1ec):_0x9f3fce(0x19e))],'secure':!!(_0x367ae3[_0x9f3fce(0x178)][_0x9f3fce(0x13a)]||_0x367ae3[_0x9f3fce(0x178)][_0x9f3fce(0x29a)]),'req':_0x367ae3};if(this['options'][_0x9f3fce(0x1a6)][_0x9f3fce(0x17f)]===0x2){this['options'][_0x9f3fce(0x1a6)](_0x226ffe,(_0x140a5f,_0x3da875,_0xf4d663,_0xa47828)=>{const _0x58b18f=_0x9f3fce;if(!_0x140a5f)return _0x1876fb(_0x1650a3,_0x3da875||0x191,_0xf4d663,_0xa47828);this[_0x58b18f(0x135)](_0x3db2e4,_0x17df33,_0x405eae,_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b);});return;}if(!this[_0x9f3fce(0x177)][_0x9f3fce(0x1a6)](_0x226ffe))return _0x1876fb(_0x1650a3,0x191);}this['completeUpgrade'](_0x3db2e4,_0x17df33,_0x405eae,_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b);}[_0x4ec2b0(0x135)](_0x491ef9,_0x478140,_0x1dace1,_0x469ad3,_0x230f14,_0x44f2a7,_0x38e1ce){const _0x507832=_0x4ec2b0;if(!_0x230f14[_0x507832(0x1ef)]||!_0x230f14[_0x507832(0x1f9)])return _0x230f14['destroy']();if(_0x230f14[_0x2ea280])throw new Error(_0x507832(0x141));if(this[_0x507832(0x1d5)]>_0x31147d)return _0x1876fb(_0x230f14,0x1f7);const _0x3c8d15=[_0x507832(0x1ed),'Upgrade:\x20websocket',_0x507832(0x218),_0x507832(0x1d7)+_0x22a38d(_0x507832(0x245))['update'](_0x478140+_0x1e0ae4)[_0x507832(0x26e)](_0x507832(0x117))],_0x1d3eb1=new this[(_0x507832(0x177))]['WebSocket'](null,void 0x0,this[_0x507832(0x177)]);if(_0x1dace1['size']){const _0x17a9d8=this[_0x507832(0x177)]['handleProtocols']?this['options'][_0x507832(0x22f)](_0x1dace1,_0x469ad3):_0x1dace1[_0x507832(0x232)]()[_0x507832(0x13c)]()[_0x507832(0x1f6)];_0x17a9d8&&(_0x3c8d15[_0x507832(0x282)]('Sec-WebSocket-Protocol:\x20'+_0x17a9d8),_0x1d3eb1[_0x507832(0x185)]=_0x17a9d8);}if(_0x491ef9[_0x94e7c4[_0x507832(0x18f)]]){const _0x24f819=_0x491ef9[_0x94e7c4[_0x507832(0x18f)]][_0x507832(0x1f2)],_0x55376c=_0x55ed18[_0x507832(0x204)]({[_0x94e7c4[_0x507832(0x18f)]]:[_0x24f819]});_0x3c8d15[_0x507832(0x282)]('Sec-WebSocket-Extensions:\x20'+_0x55376c),_0x1d3eb1[_0x507832(0x142)]=_0x491ef9;}this[_0x507832(0x1c5)]('headers',_0x3c8d15,_0x469ad3),_0x230f14[_0x507832(0x1cf)](_0x3c8d15['concat']('\x0d\x0a')[_0x507832(0xf3)]('\x0d\x0a')),_0x230f14[_0x507832(0x229)]('error',_0x242033),_0x1d3eb1['setSocket'](_0x230f14,_0x44f2a7,{'allowSynchronousEvents':this[_0x507832(0x177)][_0x507832(0x134)],'maxPayload':this[_0x507832(0x177)][_0x507832(0x292)],'skipUTF8Validation':this[_0x507832(0x177)]['skipUTF8Validation']}),this[_0x507832(0x181)]&&(this[_0x507832(0x181)]['add'](_0x1d3eb1),_0x1d3eb1['on'](_0x507832(0x159),()=>{const _0x5a7c1c=_0x507832;this[_0x5a7c1c(0x181)][_0x5a7c1c(0x1b3)](_0x1d3eb1),this['_shouldEmitClose']&&!this[_0x5a7c1c(0x181)]['size']&&process[_0x5a7c1c(0x281)](_0x25bb0a,this);})),_0x38e1ce(_0x1d3eb1,_0x469ad3);}}Te=_0x3e7665;function _0x1d475d(_0x1054a6,_0x18bea2){const _0x1dd8ac=_0x4ec2b0;for(const _0x36ba71 of Object[_0x1dd8ac(0xfe)](_0x18bea2))_0x1054a6['on'](_0x36ba71,_0x18bea2[_0x36ba71]);return function(){const _0x5164ef=_0x1dd8ac;for(const _0x4bba86 of Object[_0x5164ef(0xfe)](_0x18bea2))_0x1054a6[_0x5164ef(0x229)](_0x4bba86,_0x18bea2[_0x4bba86]);};}function _0x25bb0a(_0x4684b1){const _0x10e3e2=_0x4ec2b0;_0x4684b1[_0x10e3e2(0x1d5)]=_0x59c4ac,_0x4684b1[_0x10e3e2(0x1c5)](_0x10e3e2(0x159));}function _0x242033(){const _0x11b035=_0x4ec2b0;this[_0x11b035(0x110)]();}function _0x1876fb(_0x45dbd7,_0x4ddd42,_0x2678b7,_0x496916){const _0x31651d=_0x4ec2b0;_0x2678b7=_0x2678b7||_0x3993ec[_0x31651d(0x23f)][_0x4ddd42],_0x496916={'Connection':'close','Content-Type':_0x31651d(0x1f5),'Content-Length':Buffer['byteLength'](_0x2678b7),..._0x496916},_0x45dbd7[_0x31651d(0x182)](_0x31651d(0x12f),_0x45dbd7['destroy']),_0x45dbd7[_0x31651d(0x17b)](_0x31651d(0x119)+_0x4ddd42+'\x20'+_0x3993ec['STATUS_CODES'][_0x4ddd42]+'\x0d\x0a'+Object[_0x31651d(0xfe)](_0x496916)['map'](_0x4d35b5=>_0x4d35b5+':\x20'+_0x496916[_0x4d35b5])[_0x31651d(0xf3)]('\x0d\x0a')+_0x31651d(0x19a)+_0x2678b7);}function _0xdb9edb(_0x336dc8,_0x1024a5,_0x2c948a,_0x2f8eea,_0x3dc0cd,_0x3c8c4a){const _0x84afe1=_0x4ec2b0;if(_0x336dc8[_0x84afe1(0x16d)](_0x84afe1(0x187))){const _0xf2218d=new Error(_0x3dc0cd);Error[_0x84afe1(0x166)](_0xf2218d,_0xdb9edb),_0x336dc8[_0x84afe1(0x1c5)](_0x84afe1(0x187),_0xf2218d,_0x2c948a,_0x1024a5);}else _0x1876fb(_0x2c948a,_0x2f8eea,_0x3dc0cd,_0x3c8c4a);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0xcac463,_0x3e1e9e,_0x30cb5c,_0x5b5156)=>{const _0x4c047f=_0x30692b;for(var _0x30b3cf=_0x5b5156>0x1?void 0x0:_0x5b5156?tr(_0x3e1e9e,_0x30cb5c):_0x3e1e9e,_0x22c8a7=_0xcac463[_0x4c047f(0x17f)]-0x1,_0x5e994c;_0x22c8a7>=0x0;_0x22c8a7--)(_0x5e994c=_0xcac463[_0x22c8a7])&&(_0x30b3cf=_0x5e994c(_0x30b3cf)||_0x30b3cf);return _0x30b3cf;},sr=(_0x2169f2,_0x379cee)=>(_0x109d71,_0x5bf32c)=>_0x379cee(_0x109d71,_0x5bf32c,_0x2169f2);let Ne=class extends _0x22526d{constructor(_0x34db85){const _0x213e43=_0x30692b;super(),this[_0x213e43(0x208)]=_0x34db85;}['createSocket'](_0x484016){const _0x12c8f1=_0x30692b;var _0x18cf55;const _0x5eb45b=(_0x18cf55=this[_0x12c8f1(0x208)][_0x12c8f1(0x24d)](Be))==null?void 0x0:_0x18cf55[_0x12c8f1(0x137)];try{const _0x2e20b=new Qt(_0x484016,{'headers':{..._0x5eb45b}}),_0x565795=new _0x4fc2df();return{'URL':_0x484016,'close':(_0x26e127,_0x324623)=>{const _0x43ec60=_0x12c8f1;_0x2e20b[_0x43ec60(0x159)](_0x26e127,_0x324623),_0x565795[_0x43ec60(0x241)]();},'send':_0x441e74=>{const _0x2b6733=_0x12c8f1;_0x2e20b[_0x2b6733(0xfc)](_0x441e74);},'open$':new _0x44338b(_0x156685=>{const _0x463f4d=_0x12c8f1,_0x374d8a=_0x5ab6ef=>_0x156685[_0x463f4d(0x13c)](_0x5ab6ef);_0x2e20b[_0x463f4d(0x276)]('open',_0x374d8a),_0x565795[_0x463f4d(0x250)](_0x51c42d(()=>_0x2e20b[_0x463f4d(0x127)]('open',_0x374d8a)));})[_0x12c8f1(0x126)](_0x340d2f()),'close$':new _0x44338b(_0x2f41d5=>{const _0x171fd8=_0x12c8f1,_0x266418=_0x352b44=>_0x2f41d5[_0x171fd8(0x13c)](_0x352b44);_0x2e20b[_0x171fd8(0x276)](_0x171fd8(0x159),_0x266418),_0x565795[_0x171fd8(0x250)](_0x51c42d(()=>_0x2e20b[_0x171fd8(0x127)](_0x171fd8(0x159),_0x266418)));})[_0x12c8f1(0x126)](_0x340d2f()),'error$':new _0x44338b(_0x51604f=>{const _0x3d801c=_0x12c8f1,_0x55c3f7=_0x565c2e=>_0x51604f[_0x3d801c(0x13c)](_0x565c2e);_0x2e20b['addEventListener']('error',_0x55c3f7),_0x565795[_0x3d801c(0x250)](_0x51c42d(()=>_0x2e20b[_0x3d801c(0x127)](_0x3d801c(0x1b0),_0x55c3f7)));})[_0x12c8f1(0x126)](_0x340d2f()),'message$':new _0x44338b(_0x30655c=>{const _0x22d60e=_0x12c8f1,_0x2a1cab=_0x4cc5df=>_0x30655c[_0x22d60e(0x13c)](_0x4cc5df);_0x2e20b['addEventListener']('message',_0x2a1cab),_0x565795[_0x22d60e(0x250)](_0x51c42d(()=>_0x2e20b[_0x22d60e(0x127)](_0x22d60e(0x299),_0x2a1cab)));})[_0x12c8f1(0x126)](_0x340d2f())};}catch(_0x5ce78e){return console[_0x12c8f1(0x1b0)](_0x5ce78e),null;}}};Ne=rr([sr(0x0,_0xf30a36)],Ne);var ir=Object[_0x30692b(0x265)],nr=Object[_0x30692b(0x184)],or=(_0x547566,_0x286ea1,_0x457b85)=>_0x286ea1 in _0x547566?ir(_0x547566,_0x286ea1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x457b85}):_0x547566[_0x286ea1]=_0x457b85,ar=(_0x8ff1a5,_0x45448a,_0x5ae0ba,_0x13d93a)=>{const _0x4d6c8a=_0x30692b;for(var _0x2757f1=_0x13d93a>0x1?void 0x0:_0x13d93a?nr(_0x45448a,_0x5ae0ba):_0x45448a,_0x184444=_0x8ff1a5[_0x4d6c8a(0x17f)]-0x1,_0x1147c3;_0x184444>=0x0;_0x184444--)(_0x1147c3=_0x8ff1a5[_0x184444])&&(_0x2757f1=_0x1147c3(_0x2757f1)||_0x2757f1);return _0x2757f1;},ke=(_0x56fb42,_0x54334f)=>(_0xc6af2e,_0x4078c4)=>_0x54334f(_0xc6af2e,_0x4078c4,_0x56fb42),lr=(_0x15ee0a,_0x24b7bd,_0x5ea34c)=>or(_0x15ee0a,_0x24b7bd+'',_0x5ea34c);let Pe=class extends _0x24823c{constructor(_0x1288ac=Ft,_0x37c0e9,_0x4daa9f,_0x41f072){const _0x5ee404=_0x30692b;_0x1288ac[_0x5ee404(0x137)]||_0x37c0e9[_0x5ee404(0x27f)](_0x5ee404(0x20f)),super(),this[_0x5ee404(0x208)]=_0x4daa9f,this[_0x5ee404(0x212)]=_0x41f072,this['_configService'][_0x5ee404(0x129)](Be,_0x1288ac);}['onStarting'](){const _0xa59e91=_0x30692b;this[_0xa59e91(0x15b)]();}[_0x30692b(0x15b)](){const _0x57bf88=_0x30692b;_0x31f6d6(this[_0x57bf88(0x212)],[[_0x3607a5,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x30692b(0x133)),Pe=ar([_0x195fdb(_0x536f07),ke(0x1,_0x11a0bf),ke(0x2,_0xf30a36),ke(0x3,_0x19d570(_0x1dd633))],Pe);var fr=Object[_0x30692b(0x184)],cr=(_0x4d966f,_0x250f55,_0x5430a3,_0x719912)=>{const _0x3f51d6=_0x30692b;for(var _0x12c4cc=_0x719912>0x1?void 0x0:_0x719912?fr(_0x250f55,_0x5430a3):_0x250f55,_0x1ae6f6=_0x4d966f[_0x3f51d6(0x17f)]-0x1,_0x531298;_0x1ae6f6>=0x0;_0x1ae6f6--)(_0x531298=_0x4d966f[_0x1ae6f6])&&(_0x12c4cc=_0x531298(_0x12c4cc)||_0x12c4cc);return _0x12c4cc;},se=(_0x39111f,_0x429ed0)=>(_0x1fd984,_0x4c4b1c)=>_0x429ed0(_0x1fd984,_0x4c4b1c,_0x39111f);let at=class extends _0x13110e{constructor(_0x343bde,_0x58c6f8,_0x4ae183,_0x1398ad,_0x66c1d5){const _0x42995b=_0x30692b;super(_0x343bde,_0x58c6f8,_0x4ae183,_0x1398ad,_0x66c1d5);const _0x46fa15=this[_0x42995b(0x208)][_0x42995b(0x24d)](Be);this[_0x42995b(0x17c)][_0x42995b(0x194)]({'interceptor':(_0x1f607f,_0x5d4854)=>{const _0x27cb0c=_0x42995b;var _0x369b27;const _0x812c73=_0x1f607f['headers'];return(_0x369b27=_0x46fa15==null?void 0x0:_0x46fa15[_0x27cb0c(0x137)])!=null&&_0x369b27[_0x27cb0c(0x1b7)]&&_0x812c73[_0x27cb0c(0x19d)](_0x27cb0c(0x237),_0x46fa15[_0x27cb0c(0x137)][_0x27cb0c(0x1b7)]),_0x5d4854(_0x1f607f);}});}async['createSocket'](_0xf9d835){return this['_doCreateSocket'](_0xf9d835);}};at=cr([se(0x0,_0x19d570(_0x1dd633)),se(0x1,_0x19d570(_0x27c8ca)),se(0x2,_0xf30a36),se(0x3,_0x11a0bf),se(0x4,_0x1003ab)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};