@univerjs-pro/collaboration-client-node 0.10.12 → 0.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x51270a=_0x22a9;function _0x22a9(_0x38d129,_0x48696d){const _0x1e7a7c=_0x1e7a();return _0x22a9=function(_0x22a9a3,_0x13891d){_0x22a9a3=_0x22a9a3-0x173;let _0x58939a=_0x1e7a7c[_0x22a9a3];return _0x58939a;},_0x22a9(_0x38d129,_0x48696d);}(function(_0x5d3c13,_0x48b719){const _0x4fea5d=_0x22a9,_0x538680=_0x5d3c13();while(!![]){try{const _0x197b1e=-parseInt(_0x4fea5d(0x1f9))/0x1*(-parseInt(_0x4fea5d(0x28c))/0x2)+-parseInt(_0x4fea5d(0x196))/0x3*(parseInt(_0x4fea5d(0x1d3))/0x4)+-parseInt(_0x4fea5d(0x19d))/0x5+parseInt(_0x4fea5d(0x1f6))/0x6+parseInt(_0x4fea5d(0x1db))/0x7*(-parseInt(_0x4fea5d(0x227))/0x8)+parseInt(_0x4fea5d(0x2fa))/0x9+parseInt(_0x4fea5d(0x2a6))/0xa;if(_0x197b1e===_0x48b719)break;else _0x538680['push'](_0x538680['shift']());}catch(_0x59c2dc){_0x538680['push'](_0x538680['shift']());}}}(_0x1e7a,0xd1bd4));Object[_0x51270a(0x27d)](exports,Symbol['toStringTag'],{'value':_0x51270a(0x20d)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x54de26){const _0x4d1184=_0x51270a;return _0x54de26&&_0x54de26[_0x4d1184(0x1a6)]&&Object[_0x4d1184(0x24a)][_0x4d1184(0x178)][_0x4d1184(0x1ac)](_0x54de26,_0x4d1184(0x312))?_0x54de26[_0x4d1184(0x312)]:_0x54de26;}function at(_0x2c7e7a){const _0x2f9080=_0x51270a;if(Object[_0x2f9080(0x24a)]['hasOwnProperty'][_0x2f9080(0x1ac)](_0x2c7e7a,_0x2f9080(0x1a6)))return _0x2c7e7a;var _0x1e276d=_0x2c7e7a[_0x2f9080(0x312)];if(typeof _0x1e276d==_0x2f9080(0x2b3)){var _0x4ec7f6=function _0x3fa313(){const _0x11436b=_0x2f9080;var _0x9f999e=!0x1;try{_0x9f999e=this instanceof _0x3fa313;}catch{}return _0x9f999e?Reflect[_0x11436b(0x2ce)](_0x1e276d,arguments,this['constructor']):_0x1e276d[_0x11436b(0x24b)](this,arguments);};_0x4ec7f6[_0x2f9080(0x24a)]=_0x1e276d['prototype'];}else _0x4ec7f6={};return Object['defineProperty'](_0x4ec7f6,_0x2f9080(0x1a6),{'value':!0x0}),Object[_0x2f9080(0x2ad)](_0x2c7e7a)[_0x2f9080(0x2cc)](function(_0x5a6385){const _0x4b1d46=_0x2f9080;var _0x1e2325=Object[_0x4b1d46(0x23e)](_0x2c7e7a,_0x5a6385);Object[_0x4b1d46(0x27d)](_0x4ec7f6,_0x5a6385,_0x1e2325['get']?_0x1e2325:{'enumerable':!0x0,'get':function(){return _0x2c7e7a[_0x5a6385];}});}),_0x4ec7f6;}var se={'exports':{}},ge,Ge;function H(){const _0xd1c0b=_0x51270a;if(Ge)return ge;Ge=0x1;const _0x2e7e2d=[_0xd1c0b(0x191),_0xd1c0b(0x2a8),_0xd1c0b(0x253)],_0x3af0d7=typeof Blob<'u';return _0x3af0d7&&_0x2e7e2d[_0xd1c0b(0x241)](_0xd1c0b(0x1e3)),ge={'BINARY_TYPES':_0x2e7e2d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xd1c0b(0x31c),'hasBlob':_0x3af0d7,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xd1c0b(0x257)),'kStatusCode':Symbol(_0xd1c0b(0x1f3)),'kWebSocket':Symbol(_0xd1c0b(0x186)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x51270a(0x27d)]({'__proto__':null,'default':Nt},Symbol[_0x51270a(0x336)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5bb696=_0x51270a;if(Ve)return se[_0x5bb696(0x25e)];Ve=0x1;const {EMPTY_BUFFER:_0x3c8a91}=H(),_0x4b8bf2=Buffer[Symbol[_0x5bb696(0x2ea)]];function _0x2624fb(_0x48bb46,_0x268756){const _0x465a6f=_0x5bb696;if(_0x48bb46['length']===0x0)return _0x3c8a91;if(_0x48bb46[_0x465a6f(0x1b2)]===0x1)return _0x48bb46[0x0];const _0x5dfa9e=Buffer[_0x465a6f(0x1fb)](_0x268756);let _0x144d92=0x0;for(let _0x2ea85d=0x0;_0x2ea85d<_0x48bb46[_0x465a6f(0x1b2)];_0x2ea85d++){const _0x254d9a=_0x48bb46[_0x2ea85d];_0x5dfa9e[_0x465a6f(0x1b3)](_0x254d9a,_0x144d92),_0x144d92+=_0x254d9a[_0x465a6f(0x1b2)];}return _0x144d92<_0x268756?new _0x4b8bf2(_0x5dfa9e[_0x465a6f(0x1b7)],_0x5dfa9e[_0x465a6f(0x318)],_0x144d92):_0x5dfa9e;}function _0x2ce6c0(_0x1da2bd,_0x3c6932,_0x3081fb,_0x140bbe,_0x1b98b2){for(let _0x14b5b2=0x0;_0x14b5b2<_0x1b98b2;_0x14b5b2++)_0x3081fb[_0x140bbe+_0x14b5b2]=_0x1da2bd[_0x14b5b2]^_0x3c6932[_0x14b5b2&0x3];}function _0x541352(_0x31483e,_0x5388a6){const _0x4e93f9=_0x5bb696;for(let _0x5b5690=0x0;_0x5b5690<_0x31483e[_0x4e93f9(0x1b2)];_0x5b5690++)_0x31483e[_0x5b5690]^=_0x5388a6[_0x5b5690&0x3];}function _0x2a0499(_0x27682b){const _0x13cf6e=_0x5bb696;return _0x27682b[_0x13cf6e(0x1b2)]===_0x27682b[_0x13cf6e(0x1b7)][_0x13cf6e(0x2be)]?_0x27682b[_0x13cf6e(0x1b7)]:_0x27682b['buffer']['slice'](_0x27682b['byteOffset'],_0x27682b['byteOffset']+_0x27682b['length']);}function _0x45aedc(_0x2c913d){const _0x58309d=_0x5bb696;if(_0x45aedc['readOnly']=!0x0,Buffer[_0x58309d(0x2c7)](_0x2c913d))return _0x2c913d;let _0x4a2758;return _0x2c913d instanceof ArrayBuffer?_0x4a2758=new _0x4b8bf2(_0x2c913d):ArrayBuffer[_0x58309d(0x277)](_0x2c913d)?_0x4a2758=new _0x4b8bf2(_0x2c913d[_0x58309d(0x1b7)],_0x2c913d[_0x58309d(0x318)],_0x2c913d['byteLength']):(_0x4a2758=Buffer[_0x58309d(0x2c3)](_0x2c913d),_0x45aedc[_0x58309d(0x326)]=!0x1),_0x4a2758;}if(se[_0x5bb696(0x25e)]={'concat':_0x2624fb,'mask':_0x2ce6c0,'toArrayBuffer':_0x2a0499,'toBuffer':_0x45aedc,'unmask':_0x541352},!process[_0x5bb696(0x251)][_0x5bb696(0x1fd)])try{const _0x4094e8=Lt;se[_0x5bb696(0x25e)][_0x5bb696(0x276)]=function(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d){_0xaede9d<0x30?_0x2ce6c0(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d):_0x4094e8['mask'](_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d);},se['exports'][_0x5bb696(0x2bc)]=function(_0x290590,_0x9ab764){const _0x30a9a4=_0x5bb696;_0x290590[_0x30a9a4(0x1b2)]<0x20?_0x541352(_0x290590,_0x9ab764):_0x4094e8[_0x30a9a4(0x2bc)](_0x290590,_0x9ab764);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16b276=_0x51270a;if(He)return ye;He=0x1;const _0x27a958=Symbol(_0x16b276(0x18d)),_0x37af12=Symbol(_0x16b276(0x21b));class _0x27aecf{constructor(_0x1a5083){const _0x190bf0=_0x16b276;this[_0x27a958]=()=>{this['pending']--,this[_0x37af12]();},this[_0x190bf0(0x29e)]=_0x1a5083||0x1/0x0,this[_0x190bf0(0x23a)]=[],this[_0x190bf0(0x2af)]=0x0;}[_0x16b276(0x1d5)](_0xd10ec2){const _0x240a82=_0x16b276;this['jobs'][_0x240a82(0x241)](_0xd10ec2),this[_0x37af12]();}[_0x37af12](){const _0x1c2265=_0x16b276;if(this[_0x1c2265(0x2af)]!==this[_0x1c2265(0x29e)]&&this[_0x1c2265(0x23a)][_0x1c2265(0x1b2)]){const _0x3d3378=this[_0x1c2265(0x23a)][_0x1c2265(0x182)]();this[_0x1c2265(0x2af)]++,_0x3d3378(this[_0x27a958]);}}}return ye=_0x27aecf,ye;}var ve,ze;function _0x1e7a(){const _0x55c32a=['_read','_removeListeners','readOnly','_write','_decompress','http:','errorEmitted','listenerCount','close','Invalid\x20value\x20for\x20parameter\x20\x22','authorization','_doCreateSocket','client','Sec-WebSocket-Protocol:\x20','bind','WS_ERR_UNEXPECTED_MASK','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toStringTag','_bufferedBytes','consume','Sec-WebSocket-Extensions:\x20','ws+unix:','Connection:\x20Upgrade','terminate','href','_writableState','hasOwnProperty','sha1','setHeader','invalid\x20UTF-8\x20sequence','map','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','IConfigService','_errored','method','maxPayload','shift','_req','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','zlibInflateOptions','websocket','replace','Max\x20payload\x20size\x20exceeded','resume','protocol','drain','getPayloadLength64','kDone','readyState','slice','warn','nodebuffer','clients','format','isIP','auth','3FZgTfr','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','catch','writeUInt16BE','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_registerDependencies','7863895Aurvqy','_receiver','flush','_bufferedAmount','needDrain','Origin','_autoPong','dequeue','_inflate','__esModule','redirect','createSocket','_mask','callback','onerror','call','_fragmented','reason','\x20(supported\x20versions:\x20','RSV1\x20must\x20be\x20clear','listen','length','set','WS_ERR_UNEXPECTED_RSV_2_3','server','13,\x208','buffer','_sender','path','destroy','_shouldEmitClose','Invalid\x20Sec-WebSocket-Protocol\x20header','setTimeout','_firstFragment','_skipUTF8Validation','pipe','createDeflateRaw','response','compress','_paused','_options','pathname','readUInt16BE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CollaborationSocketService','isInteger','Upgrade','location','The\x20\x22','sec-websocket-version','wasClean','_deflate','Sec-WebSocket-Origin','sec-websocket-protocol','3466220BGoFRs','acceptAsServer','add','_extensions','onopen','Observable','Basic\x20','registerDependencies','316442HFMGVB','Disposable','clientTracking','_isServer','_generateMask','WS_ERR_INVALID_OPCODE','text/plain','kByteLength','blob','DisposableCollection','hostname','_masked','dispatch','total-length','_readableState','toLowerCase','wss:','toString','number','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open','share','_closeFrameReceived','Invalid\x20URL:\x20','status-code','haveLength','_loop','1702656ZAhRgX','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','server_max_window_bits','396919yvcZEG','_socket','allocUnsafe','error','WS_NO_BUFFER_UTIL','CONNECTING','conclude','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_UNEXPECTED_RSV_1','cork','_originalIpc','once','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','_compress','_errorEmitted','kData','unshift','\x0d\x0a\x0d\x0a','autoPong','Module','startsWith','MASK\x20must\x20be\x20clear','\x22:\x20','kCode','request','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','File','OPEN','object','Unknown\x20parameter\x20\x22','getData','WS_ERR_INVALID_UTF8','kRun','destroyed','indexOf','setConfig','isPaused','Blob','listeners','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','handleEvent','Z_DEFAULT_WINDOWBITS','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','96pAzBcc','authorized','decompress','Z_SYNC_FLUSH','_queue','offer','invalid\x20opcode\x200','emit','_injector','join','data','dataMessage','_messageLength','statusCode','followRedirects','acceptAsClient','next','UniverCollaborationClientNodePlugin','noServer','jobs','username','digest','socket','getOwnPropertyDescriptor','\x22\x20subprotocol\x20is\x20duplicated','clientMaxWindowBits','push','The\x20URL\x27s\x20pathname\x20is\x20empty','_protocol','Cookie','upgrade','generateMask','Plugin','_compressed','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','prototype','apply','getMask','CLOSED','search','writeUIntBE','_maskBuffer','env','concat','fragments','kMessage','_closeFrameSent','removeListener','kListener','nextTick','Injector','pong','pause','_allowSynchronousEvents','_originalHostOrSocketPath','exports','HTTPService','alloc','_readyState','listening','timeout','WS_NO_UTF_8_VALIDATE','Unsupported\x20protocol\x20version:\x20','reset','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','connect','stream','setSocket','perMessageDeflate','_fin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kAborted','client_no_context_takeover','createConnection','UniverCollaborationClientPlugin','GET','test','password','mask','isView','pow','maskBuffer','WebSocket','abort','controlMessage','defineProperty','CLOSING','backlog','completeUpgrade','Maximum\x20redirects\x20exceeded','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','getBlobData','defaultPort','_server','Server\x20sent\x20no\x20subprotocol','captureStackTrace','frame','client_max_window_bits','server_no_context_takeover','createError','8MkOYSL','getPayloadLength16','_configService','origin','isValidUTF8','concurrencyLimit','has','charCodeAt','parse','handleProtocols','extensionName','permessage-deflate','FIN\x20must\x20be\x20set','toDisposable','uncork','Unexpected\x20server\x20response:\x20','_max_window_bits','_buffers','concurrency','HTTP/1.1\x20101\x20Switching\x20Protocols','verifyClient','_closeCode','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','sec-websocket-extensions','kError','17583770tdCKQU','message','arraybuffer','createInflateRaw','_closeMessage','accept','_redirects','keys','emitClose','pending','size','kReason','Parameter\x20\x22','function','readUInt32BE','port','type','customHeaders','maxRedirects','params','send','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','extensions','byteLength','STATUS_CODES','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','wsClientError','from','setNoDelay','enqueue','_no_context_takeover','isBuffer','fin','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shouldHandle','forEach','getInfo','construct','bufferedAmount','skipUTF8Validation','threshold','then','onmessage','create','end','_state','serverNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeTimer','_url','getConfig','socketPath','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sendFrame','The\x20URL\x20contains\x20a\x20fragment\x20identifier','invalid\x20opcode\x20','entries','write','connection','protocolVersion','address','Invalid\x20Sec-WebSocket-Accept\x20header','_fragments','objectMode','species','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','binaryType','read','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','startLoop','code','servername','_payloadLength','_opcode','text/html','addEventListener','hash','serverMaxWindowBits','options','headers','1899621fnBIch','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','base64','target','_final','Inject','find','removeAllListeners','The\x20server\x20is\x20not\x20running','readable','isArray','NodeCollaborationSocketService','HTTP/1.1\x20','encrypted','allowSynchronousEvents','handleUpgrade','arrayBuffer','finish','delete','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','url','endEmitted','default','string','_threshold','ping','Invalid\x20Upgrade\x20header','includes','byteOffset','_destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','clientNoContextTakeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_binaryType','sec-websocket-origin','buffers','writeHead','DependentOn','MASK\x20must\x20be\x20set','finished'];_0x1e7a=function(){return _0x55c32a;};return _0x1e7a();}function he(){const _0x15c066=_0x51270a;if(ze)return ve;ze=0x1;const _0x456813=bt,_0x4a54dd=ce(),_0x56fb19=Pt(),{kStatusCode:_0x3c44b1}=H(),_0x24a787=Buffer[Symbol['species']],_0x5ebb2b=Buffer[_0x15c066(0x2c3)]([0x0,0x0,0xff,0xff]),_0x77f940=Symbol(_0x15c066(0x297)),_0x28af08=Symbol(_0x15c066(0x1e8)),_0x51a176=Symbol(_0x15c066(0x1aa)),_0x4b845a=Symbol(_0x15c066(0x31f)),_0x213db7=Symbol('error');let _0x5028cd;class _0x3dd467{constructor(_0x56fa5b,_0x5eba84,_0xf32627){const _0x424121=_0x15c066;if(this[_0x424121(0x2a2)]=_0xf32627|0x0,this[_0x424121(0x1c5)]=_0x56fa5b||{},this['_threshold']=this[_0x424121(0x1c5)][_0x424121(0x2d1)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x2d1)]:0x400,this['_isServer']=!!_0x5eba84,this[_0x424121(0x1d0)]=null,this[_0x424121(0x1a5)]=null,this['params']=null,!_0x5028cd){const _0x14cf5c=this['_options'][_0x424121(0x291)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x291)]:0xa;_0x5028cd=new _0x56fb19(_0x14cf5c);}}static get[_0x15c066(0x296)](){const _0x3d5515=_0x15c066;return _0x3d5515(0x297);}['offer'](){const _0x5424a1=_0x15c066,_0x2e4130={};return this['_options'][_0x5424a1(0x2d7)]&&(_0x2e4130[_0x5424a1(0x28a)]=!0x0),this[_0x5424a1(0x1c5)][_0x5424a1(0x31b)]&&(_0x2e4130['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2e4130[_0x5424a1(0x1f8)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x2f7)]),this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]?_0x2e4130[_0x5424a1(0x289)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]:this['_options']['clientMaxWindowBits']==null&&(_0x2e4130['client_max_window_bits']=!0x0),_0x2e4130;}[_0x15c066(0x2ab)](_0x2f7f25){const _0x1082d2=_0x15c066;return _0x2f7f25=this[_0x1082d2(0x2c0)](_0x2f7f25),this[_0x1082d2(0x2b9)]=this[_0x1082d2(0x1de)]?this[_0x1082d2(0x1d4)](_0x2f7f25):this[_0x1082d2(0x236)](_0x2f7f25),this[_0x1082d2(0x2b9)];}[_0x15c066(0x2dd)](){const _0xfe8d68=_0x15c066;if(this['_inflate']&&(this[_0xfe8d68(0x1a5)][_0xfe8d68(0x32c)](),this[_0xfe8d68(0x1a5)]=null),this[_0xfe8d68(0x1d0)]){const _0x24503f=this['_deflate'][_0x51a176];this['_deflate'][_0xfe8d68(0x32c)](),this['_deflate']=null,_0x24503f&&_0x24503f(new Error(_0xfe8d68(0x184)));}}[_0x15c066(0x1d4)](_0x5e0e63){const _0x213c42=_0x15c066,_0xbece69=this[_0x213c42(0x1c5)],_0x2ea48b=_0x5e0e63[_0x213c42(0x301)](_0x346f54=>!(_0xbece69[_0x213c42(0x2d7)]===!0x1&&_0x346f54['server_no_context_takeover']||_0x346f54['server_max_window_bits']&&(_0xbece69['serverMaxWindowBits']===!0x1||typeof _0xbece69['serverMaxWindowBits']==_0x213c42(0x1ed)&&_0xbece69[_0x213c42(0x2f7)]>_0x346f54[_0x213c42(0x1f8)])||typeof _0xbece69[_0x213c42(0x240)]==_0x213c42(0x1ed)&&!_0x346f54[_0x213c42(0x289)]));if(!_0x2ea48b)throw new Error(_0x213c42(0x197));return _0xbece69[_0x213c42(0x2d7)]&&(_0x2ea48b[_0x213c42(0x28a)]=!0x0),_0xbece69[_0x213c42(0x31b)]&&(_0x2ea48b[_0x213c42(0x270)]=!0x0),typeof _0xbece69[_0x213c42(0x2f7)]==_0x213c42(0x1ed)&&(_0x2ea48b[_0x213c42(0x1f8)]=_0xbece69[_0x213c42(0x2f7)]),typeof _0xbece69[_0x213c42(0x240)]=='number'?_0x2ea48b[_0x213c42(0x289)]=_0xbece69['clientMaxWindowBits']:(_0x2ea48b[_0x213c42(0x289)]===!0x0||_0xbece69[_0x213c42(0x240)]===!0x1)&&delete _0x2ea48b['client_max_window_bits'],_0x2ea48b;}['acceptAsClient'](_0x31416f){const _0x4aa0b9=_0x15c066,_0x14b86f=_0x31416f[0x0];if(this[_0x4aa0b9(0x1c5)]['clientNoContextTakeover']===!0x1&&_0x14b86f[_0x4aa0b9(0x270)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x14b86f[_0x4aa0b9(0x289)])typeof this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']=='number'&&(_0x14b86f[_0x4aa0b9(0x289)]=this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]);else{if(this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']===!0x1||typeof this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]==_0x4aa0b9(0x1ed)&&_0x14b86f[_0x4aa0b9(0x289)]>this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits'])throw new Error(_0x4aa0b9(0x2ca));}return _0x14b86f;}[_0x15c066(0x2c0)](_0x26b4d7){const _0x117826=_0x15c066;return _0x26b4d7[_0x117826(0x2cc)](_0xf9785f=>{const _0x39f05f=_0x117826;Object[_0x39f05f(0x2ad)](_0xf9785f)[_0x39f05f(0x2cc)](_0x37c5b3=>{const _0x118c01=_0x39f05f;let _0x3dd88e=_0xf9785f[_0x37c5b3];if(_0x3dd88e[_0x118c01(0x1b2)]>0x1)throw new Error(_0x118c01(0x2b2)+_0x37c5b3+_0x118c01(0x2a3));if(_0x3dd88e=_0x3dd88e[0x0],_0x37c5b3==='client_max_window_bits'){if(_0x3dd88e!==!0x0){const _0x1bed11=+_0x3dd88e;if(!Number[_0x118c01(0x1ca)](_0x1bed11)||_0x1bed11<0x8||_0x1bed11>0xf)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x1bed11;}else{if(!this['_isServer'])throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}}else{if(_0x37c5b3==='server_max_window_bits'){const _0x423a93=+_0x3dd88e;if(!Number['isInteger'](_0x423a93)||_0x423a93<0x8||_0x423a93>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x423a93;}else{if(_0x37c5b3===_0x118c01(0x270)||_0x37c5b3==='server_no_context_takeover'){if(_0x3dd88e!==!0x0)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}else throw new Error(_0x118c01(0x218)+_0x37c5b3+'\x22');}}_0xf9785f[_0x37c5b3]=_0x3dd88e;});}),_0x26b4d7;}[_0x15c066(0x229)](_0x1daa3d,_0x1ad668,_0x38f34f){const _0x471e4f=_0x15c066;_0x5028cd[_0x471e4f(0x1d5)](_0xccc34e=>{this['_decompress'](_0x1daa3d,_0x1ad668,(_0x590ea2,_0x3e1bad)=>{_0xccc34e(),_0x38f34f(_0x590ea2,_0x3e1bad);});});}[_0x15c066(0x1c3)](_0x171f20,_0x8a15b3,_0x33df6f){_0x5028cd['add'](_0x4ebd8d=>{const _0x2c67c9=_0x22a9;this[_0x2c67c9(0x207)](_0x171f20,_0x8a15b3,(_0x2e1edd,_0x2d37e5)=>{_0x4ebd8d(),_0x33df6f(_0x2e1edd,_0x2d37e5);});});}[_0x15c066(0x328)](_0x2e2246,_0x1d167c,_0x5e6ed6){const _0x29dba8=_0x15c066,_0x4db733=this['_isServer']?'client':_0x29dba8(0x1b5);if(!this[_0x29dba8(0x1a5)]){const _0x258ba9=_0x4db733+'_max_window_bits',_0x1f6640=typeof this['params'][_0x258ba9]!=_0x29dba8(0x1ed)?_0x456813[_0x29dba8(0x224)]:this[_0x29dba8(0x2b9)][_0x258ba9];this[_0x29dba8(0x1a5)]=_0x456813[_0x29dba8(0x2a9)]({...this[_0x29dba8(0x1c5)][_0x29dba8(0x185)],'windowBits':_0x1f6640}),this['_inflate'][_0x77f940]=this,this['_inflate'][_0x28af08]=0x0,this[_0x29dba8(0x1a5)][_0x4b845a]=[],this[_0x29dba8(0x1a5)]['on']('error',_0x2060c5),this[_0x29dba8(0x1a5)]['on'](_0x29dba8(0x231),_0x4ff07f);}this['_inflate'][_0x51a176]=_0x5e6ed6,this[_0x29dba8(0x1a5)][_0x29dba8(0x2e3)](_0x2e2246),_0x1d167c&&this['_inflate'][_0x29dba8(0x2e3)](_0x5ebb2b),this[_0x29dba8(0x1a5)][_0x29dba8(0x19f)](()=>{const _0x2511f2=_0x29dba8,_0x50f8c3=this[_0x2511f2(0x1a5)][_0x213db7];if(_0x50f8c3){this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this[_0x2511f2(0x1a5)]=null,_0x5e6ed6(_0x50f8c3);return;}const _0x3e9f82=_0x4a54dd['concat'](this[_0x2511f2(0x1a5)][_0x4b845a],this[_0x2511f2(0x1a5)][_0x28af08]);this['_inflate']['_readableState'][_0x2511f2(0x311)]?(this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this['_inflate']=null):(this[_0x2511f2(0x1a5)][_0x28af08]=0x0,this[_0x2511f2(0x1a5)][_0x4b845a]=[],_0x1d167c&&this[_0x2511f2(0x2b9)][_0x4db733+_0x2511f2(0x2c6)]&&this['_inflate'][_0x2511f2(0x266)]()),_0x5e6ed6(null,_0x3e9f82);});}['_compress'](_0x39c32a,_0x525688,_0x2bb021){const _0x40a408=_0x15c066,_0xe8cfd1=this[_0x40a408(0x1de)]?_0x40a408(0x1b5):_0x40a408(0x330);if(!this[_0x40a408(0x1d0)]){const _0x5cf436=_0xe8cfd1+_0x40a408(0x29c),_0x155cbc=typeof this[_0x40a408(0x2b9)][_0x5cf436]!=_0x40a408(0x1ed)?_0x456813[_0x40a408(0x224)]:this[_0x40a408(0x2b9)][_0x5cf436];this[_0x40a408(0x1d0)]=_0x456813[_0x40a408(0x1c1)]({...this[_0x40a408(0x1c5)]['zlibDeflateOptions'],'windowBits':_0x155cbc}),this['_deflate'][_0x28af08]=0x0,this['_deflate'][_0x4b845a]=[],this[_0x40a408(0x1d0)]['on'](_0x40a408(0x231),_0x3d1abf);}this['_deflate'][_0x51a176]=_0x2bb021,this[_0x40a408(0x1d0)][_0x40a408(0x2e3)](_0x39c32a),this[_0x40a408(0x1d0)][_0x40a408(0x19f)](_0x456813[_0x40a408(0x22a)],()=>{const _0x9869c9=_0x40a408;if(!this[_0x9869c9(0x1d0)])return;let _0x270bea=_0x4a54dd[_0x9869c9(0x252)](this[_0x9869c9(0x1d0)][_0x4b845a],this[_0x9869c9(0x1d0)][_0x28af08]);_0x525688&&(_0x270bea=new _0x24a787(_0x270bea[_0x9869c9(0x1b7)],_0x270bea[_0x9869c9(0x318)],_0x270bea['length']-0x4)),this[_0x9869c9(0x1d0)][_0x51a176]=null,this['_deflate'][_0x28af08]=0x0,this[_0x9869c9(0x1d0)][_0x4b845a]=[],_0x525688&&this[_0x9869c9(0x2b9)][_0xe8cfd1+_0x9869c9(0x2c6)]&&this[_0x9869c9(0x1d0)][_0x9869c9(0x266)](),_0x2bb021(null,_0x270bea);});}}ve=_0x3dd467;function _0x3d1abf(_0x3a5deb){const _0x533524=_0x15c066;this[_0x4b845a][_0x533524(0x241)](_0x3a5deb),this[_0x28af08]+=_0x3a5deb[_0x533524(0x1b2)];}function _0x4ff07f(_0x1ccbe6){const _0x4a3af1=_0x15c066;if(this[_0x28af08]+=_0x1ccbe6['length'],this[_0x77f940][_0x4a3af1(0x2a2)]<0x1||this[_0x28af08]<=this[_0x77f940][_0x4a3af1(0x2a2)]){this[_0x4b845a]['push'](_0x1ccbe6);return;}this[_0x213db7]=new RangeError(_0x4a3af1(0x188)),this[_0x213db7]['code']=_0x4a3af1(0x19b),this[_0x213db7][_0x3c44b1]=0x3f1,this[_0x4a3af1(0x256)](_0x4a3af1(0x231),_0x4ff07f),this['reset']();}function _0x2060c5(_0x5ed2fe){const _0x174c97=_0x15c066;if(this[_0x77f940][_0x174c97(0x1a5)]=null,this[_0x213db7]){this[_0x51a176](this[_0x213db7]);return;}_0x5ed2fe[_0x3c44b1]=0x3ef,this[_0x51a176](_0x5ed2fe);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x51270a(0x336)],{'value':_0x51270a(0x20d)})),Bt=at(Rt);var Ye;function ae(){const _0x532f51=_0x51270a;if(Ye)return ie[_0x532f51(0x25e)];Ye=0x1;const {isUtf8:_0x2aad44}=wt,{hasBlob:_0x137e65}=H(),_0x2c312f=[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 _0x34060a(_0x2749a5){return _0x2749a5>=0x3e8&&_0x2749a5<=0x3f6&&_0x2749a5!==0x3ec&&_0x2749a5!==0x3ed&&_0x2749a5!==0x3ee||_0x2749a5>=0xbb8&&_0x2749a5<=0x1387;}function _0x25b9ec(_0x5572c4){const _0x576b50=_0x532f51,_0xfcfc55=_0x5572c4[_0x576b50(0x1b2)];let _0x1fc71c=0x0;for(;_0x1fc71c<_0xfcfc55;)if((_0x5572c4[_0x1fc71c]&0x80)===0x0)_0x1fc71c++;else{if((_0x5572c4[_0x1fc71c]&0xe0)===0xc0){if(_0x1fc71c+0x1===_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c]&0xfe)===0xc0)return!0x1;_0x1fc71c+=0x2;}else{if((_0x5572c4[_0x1fc71c]&0xf0)===0xe0){if(_0x1fc71c+0x2>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xe0&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0x80||_0x5572c4[_0x1fc71c]===0xed&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0xa0)return!0x1;_0x1fc71c+=0x3;}else{if((_0x5572c4[_0x1fc71c]&0xf8)===0xf0){if(_0x1fc71c+0x3>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x3]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xf0&&(_0x5572c4[_0x1fc71c+0x1]&0xf0)===0x80||_0x5572c4[_0x1fc71c]===0xf4&&_0x5572c4[_0x1fc71c+0x1]>0x8f||_0x5572c4[_0x1fc71c]>0xf4)return!0x1;_0x1fc71c+=0x4;}else return!0x1;}}}return!0x0;}function _0x358f42(_0x224f12){const _0x216620=_0x532f51;return _0x137e65&&typeof _0x224f12==_0x216620(0x217)&&typeof _0x224f12['arrayBuffer']=='function'&&typeof _0x224f12[_0x216620(0x2b6)]==_0x216620(0x313)&&typeof _0x224f12[_0x216620(0x26a)]=='function'&&(_0x224f12[Symbol['toStringTag']]===_0x216620(0x220)||_0x224f12[Symbol[_0x216620(0x336)]]===_0x216620(0x215));}if(ie[_0x532f51(0x25e)]={'isBlob':_0x358f42,'isValidStatusCode':_0x34060a,'isValidUTF8':_0x25b9ec,'tokenChars':_0x2c312f},_0x2aad44)ie[_0x532f51(0x25e)]['isValidUTF8']=function(_0x534ea8){return _0x534ea8['length']<0x18?_0x25b9ec(_0x534ea8):_0x2aad44(_0x534ea8);};else{if(!process[_0x532f51(0x251)][_0x532f51(0x264)])try{const _0x57c5c5=Bt;ie['exports'][_0x532f51(0x290)]=function(_0x1d17af){const _0x365f54=_0x532f51;return _0x1d17af[_0x365f54(0x1b2)]<0x20?_0x25b9ec(_0x1d17af):_0x57c5c5(_0x1d17af);};}catch{}}return ie[_0x532f51(0x25e)];}var Se,Ke;function lt(){const _0x15daf8=_0x51270a;if(Ke)return Se;Ke=0x1;const {Writable:_0x12750a}=oe,_0x1001af=he(),{BINARY_TYPES:_0x5be05a,EMPTY_BUFFER:_0x3f8ae0,kStatusCode:_0x531700,kWebSocket:_0x4b3ca3}=H(),{concat:_0x3bf982,toArrayBuffer:_0x39cd05,unmask:_0x381e18}=ce(),{isValidStatusCode:_0x34458a,isValidUTF8:_0xe6e3b6}=ae(),_0x495678=Buffer[Symbol[_0x15daf8(0x2ea)]],_0x548391=0x0,_0x23329e=0x1,_0x149e25=0x2,_0x4966af=0x3,_0x2091dc=0x4,_0x34871d=0x5,_0x17bcba=0x6;class _0x1db027 extends _0x12750a{constructor(_0x577dc2={}){const _0x51584e=_0x15daf8;super(),this[_0x51584e(0x25c)]=_0x577dc2[_0x51584e(0x309)]!==void 0x0?_0x577dc2[_0x51584e(0x309)]:!0x0,this[_0x51584e(0x31d)]=_0x577dc2[_0x51584e(0x2ec)]||_0x5be05a[0x0],this['_extensions']=_0x577dc2['extensions']||{},this[_0x51584e(0x1de)]=!!_0x577dc2['isServer'],this[_0x51584e(0x2a2)]=_0x577dc2[_0x51584e(0x181)]|0x0,this[_0x51584e(0x1bf)]=!!_0x577dc2['skipUTF8Validation'],this[_0x4b3ca3]=void 0x0,this[_0x51584e(0x337)]=0x0,this['_buffers']=[],this[_0x51584e(0x248)]=!0x1,this[_0x51584e(0x2f2)]=0x0,this[_0x51584e(0x1a9)]=void 0x0,this[_0x51584e(0x1ad)]=0x0,this['_masked']=!0x1,this[_0x51584e(0x26d)]=!0x1,this[_0x51584e(0x2f3)]=0x0,this[_0x51584e(0x206)]=0x0,this[_0x51584e(0x233)]=0x0,this[_0x51584e(0x2e8)]=[],this[_0x51584e(0x17f)]=!0x1,this[_0x51584e(0x1f5)]=!0x1,this['_state']=_0x548391;}[_0x15daf8(0x327)](_0x5d05ee,_0x28e220,_0x5362fe){const _0x132a61=_0x15daf8;if(this['_opcode']===0x8&&this[_0x132a61(0x2d6)]==_0x548391)return _0x5362fe();this[_0x132a61(0x337)]+=_0x5d05ee[_0x132a61(0x1b2)],this['_buffers'][_0x132a61(0x241)](_0x5d05ee),this[_0x132a61(0x2ef)](_0x5362fe);}[_0x15daf8(0x338)](_0x187388){const _0x348003=_0x15daf8;if(this[_0x348003(0x337)]-=_0x187388,_0x187388===this[_0x348003(0x29d)][0x0][_0x348003(0x1b2)])return this[_0x348003(0x29d)][_0x348003(0x182)]();if(_0x187388<this[_0x348003(0x29d)][0x0]['length']){const _0x26de2e=this['_buffers'][0x0];return this[_0x348003(0x29d)][0x0]=new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e[_0x348003(0x318)]+_0x187388,_0x26de2e[_0x348003(0x1b2)]-_0x187388),new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e['byteOffset'],_0x187388);}const _0x1560f7=Buffer[_0x348003(0x1fb)](_0x187388);do{const _0x42f24a=this[_0x348003(0x29d)][0x0],_0x2ac24e=_0x1560f7[_0x348003(0x1b2)]-_0x187388;_0x187388>=_0x42f24a[_0x348003(0x1b2)]?_0x1560f7[_0x348003(0x1b3)](this[_0x348003(0x29d)]['shift'](),_0x2ac24e):(_0x1560f7['set'](new Uint8Array(_0x42f24a[_0x348003(0x1b7)],_0x42f24a['byteOffset'],_0x187388),_0x2ac24e),this[_0x348003(0x29d)][0x0]=new _0x495678(_0x42f24a['buffer'],_0x42f24a[_0x348003(0x318)]+_0x187388,_0x42f24a[_0x348003(0x1b2)]-_0x187388)),_0x187388-=_0x42f24a[_0x348003(0x1b2)];}while(_0x187388>0x0);return _0x1560f7;}[_0x15daf8(0x2ef)](_0xb1fee7){const _0x4f908a=_0x15daf8;this['_loop']=!0x0;do switch(this[_0x4f908a(0x2d6)]){case _0x548391:this['getInfo'](_0xb1fee7);break;case _0x23329e:this[_0x4f908a(0x28d)](_0xb1fee7);break;case _0x149e25:this[_0x4f908a(0x18c)](_0xb1fee7);break;case _0x4966af:this[_0x4f908a(0x24c)]();break;case _0x2091dc:this[_0x4f908a(0x219)](_0xb1fee7);break;case _0x34871d:case _0x17bcba:this[_0x4f908a(0x1f5)]=!0x1;return;}while(this[_0x4f908a(0x1f5)]);this[_0x4f908a(0x17f)]||_0xb1fee7();}[_0x15daf8(0x2cd)](_0x4a230e){const _0x4e46f2=_0x15daf8;if(this[_0x4e46f2(0x337)]<0x2){this[_0x4e46f2(0x1f5)]=!0x1;return;}const _0x4673a9=this[_0x4e46f2(0x338)](0x2);if((_0x4673a9[0x0]&0x30)!==0x0){const _0x2cf2b4=this[_0x4e46f2(0x28b)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e46f2(0x1b4));_0x4a230e(_0x2cf2b4);return;}const _0x28e0f2=(_0x4673a9[0x0]&0x40)===0x40;if(_0x28e0f2&&!this[_0x4e46f2(0x1d6)][_0x1001af[_0x4e46f2(0x296)]]){const _0x239b33=this['createError'](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x239b33);return;}if(this[_0x4e46f2(0x26d)]=(_0x4673a9[0x0]&0x80)===0x80,this['_opcode']=_0x4673a9[0x0]&0xf,this[_0x4e46f2(0x2f2)]=_0x4673a9[0x1]&0x7f,this['_opcode']===0x0){if(_0x28e0f2){const _0x373002=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,_0x4e46f2(0x201));_0x4a230e(_0x373002);return;}if(!this[_0x4e46f2(0x1ad)]){const _0x554b3b=this['createError'](RangeError,_0x4e46f2(0x22d),!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x554b3b);return;}this[_0x4e46f2(0x2f3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4e46f2(0x2f3)]===0x2){if(this[_0x4e46f2(0x1ad)]){const _0x42e245=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x2e1)+this[_0x4e46f2(0x2f3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a230e(_0x42e245);return;}this['_compressed']=_0x28e0f2;}else{if(this[_0x4e46f2(0x2f3)]>0x7&&this[_0x4e46f2(0x2f3)]<0xb){if(!this['_fin']){const _0x5aa12d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a230e(_0x5aa12d);return;}if(_0x28e0f2){const _0x28b863=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x28b863);return;}if(this[_0x4e46f2(0x2f2)]>0x7d||this['_opcode']===0x8&&this[_0x4e46f2(0x2f2)]===0x1){const _0x52dc1f=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x268)+this[_0x4e46f2(0x2f2)],!0x0,0x3ea,_0x4e46f2(0x30f));_0x4a230e(_0x52dc1f);return;}}else{const _0x74c63a=this['createError'](RangeError,_0x4e46f2(0x2e1)+this['_opcode'],!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x74c63a);return;}}}if(!this[_0x4e46f2(0x26d)]&&!this[_0x4e46f2(0x1ad)]&&(this[_0x4e46f2(0x1ad)]=this[_0x4e46f2(0x2f3)]),this[_0x4e46f2(0x1e6)]=(_0x4673a9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0xe0732d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x322),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a230e(_0xe0732d);return;}}else{if(this[_0x4e46f2(0x1e6)]){const _0x5a4561=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x20f),!0x0,0x3ea,_0x4e46f2(0x333));_0x4a230e(_0x5a4561);return;}}this[_0x4e46f2(0x2f2)]===0x7e?this['_state']=_0x23329e:this['_payloadLength']===0x7f?this[_0x4e46f2(0x2d6)]=_0x149e25:this[_0x4e46f2(0x1f4)](_0x4a230e);}['getPayloadLength16'](_0x1ed3a6){const _0x2d38d0=_0x15daf8;if(this[_0x2d38d0(0x337)]<0x2){this['_loop']=!0x1;return;}this[_0x2d38d0(0x2f2)]=this['consume'](0x2)[_0x2d38d0(0x1c7)](0x0),this[_0x2d38d0(0x1f4)](_0x1ed3a6);}[_0x15daf8(0x18c)](_0x321275){const _0xb18a24=_0x15daf8;if(this[_0xb18a24(0x337)]<0x8){this[_0xb18a24(0x1f5)]=!0x1;return;}const _0x2ac34d=this['consume'](0x8),_0x3885fb=_0x2ac34d[_0xb18a24(0x2b4)](0x0);if(_0x3885fb>Math[_0xb18a24(0x278)](0x2,0x15)-0x1){const _0x171289=this['createError'](RangeError,_0xb18a24(0x214),!0x1,0x3f1,_0xb18a24(0x200));_0x321275(_0x171289);return;}this[_0xb18a24(0x2f2)]=_0x3885fb*Math['pow'](0x2,0x20)+_0x2ac34d[_0xb18a24(0x2b4)](0x4),this[_0xb18a24(0x1f4)](_0x321275);}[_0x15daf8(0x1f4)](_0x2e7eea){const _0x573650=_0x15daf8;if(this[_0x573650(0x2f2)]&&this[_0x573650(0x2f3)]<0x8&&(this['_totalPayloadLength']+=this[_0x573650(0x2f2)],this[_0x573650(0x206)]>this[_0x573650(0x2a2)]&&this[_0x573650(0x2a2)]>0x0)){const _0x26d58e=this[_0x573650(0x28b)](RangeError,_0x573650(0x188),!0x1,0x3f1,_0x573650(0x19b));_0x2e7eea(_0x26d58e);return;}this[_0x573650(0x1e6)]?this[_0x573650(0x2d6)]=_0x4966af:this[_0x573650(0x2d6)]=_0x2091dc;}[_0x15daf8(0x24c)](){const _0x3615a0=_0x15daf8;if(this[_0x3615a0(0x337)]<0x4){this[_0x3615a0(0x1f5)]=!0x1;return;}this[_0x3615a0(0x1a9)]=this[_0x3615a0(0x338)](0x4),this[_0x3615a0(0x2d6)]=_0x2091dc;}[_0x15daf8(0x219)](_0x141325){const _0x8c4470=_0x15daf8;let _0x54b362=_0x3f8ae0;if(this['_payloadLength']){if(this[_0x8c4470(0x337)]<this[_0x8c4470(0x2f2)]){this['_loop']=!0x1;return;}_0x54b362=this[_0x8c4470(0x338)](this[_0x8c4470(0x2f2)]),this['_masked']&&(this[_0x8c4470(0x1a9)][0x0]|this[_0x8c4470(0x1a9)][0x1]|this[_0x8c4470(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x381e18(_0x54b362,this['_mask']);}if(this['_opcode']>0x7){this[_0x8c4470(0x27c)](_0x54b362,_0x141325);return;}if(this['_compressed']){this[_0x8c4470(0x2d6)]=_0x34871d,this[_0x8c4470(0x229)](_0x54b362,_0x141325);return;}_0x54b362[_0x8c4470(0x1b2)]&&(this['_messageLength']=this[_0x8c4470(0x206)],this['_fragments'][_0x8c4470(0x241)](_0x54b362)),this[_0x8c4470(0x232)](_0x141325);}[_0x15daf8(0x229)](_0x5020ac,_0x20ce1b){const _0x2f0aeb=_0x15daf8;this[_0x2f0aeb(0x1d6)][_0x1001af[_0x2f0aeb(0x296)]][_0x2f0aeb(0x229)](_0x5020ac,this[_0x2f0aeb(0x26d)],(_0x5e06ec,_0xcfc692)=>{const _0x3dcd14=_0x2f0aeb;if(_0x5e06ec)return _0x20ce1b(_0x5e06ec);if(_0xcfc692[_0x3dcd14(0x1b2)]){if(this[_0x3dcd14(0x233)]+=_0xcfc692[_0x3dcd14(0x1b2)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x10f5c5=this[_0x3dcd14(0x28b)](RangeError,_0x3dcd14(0x188),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x20ce1b(_0x10f5c5);return;}this[_0x3dcd14(0x2e8)][_0x3dcd14(0x241)](_0xcfc692);}this[_0x3dcd14(0x232)](_0x20ce1b),this[_0x3dcd14(0x2d6)]===_0x548391&&this[_0x3dcd14(0x2ef)](_0x20ce1b);});}['dataMessage'](_0x5488cc){const _0x175d62=_0x15daf8;if(!this[_0x175d62(0x26d)]){this[_0x175d62(0x2d6)]=_0x548391;return;}const _0x4713e5=this[_0x175d62(0x233)],_0x5659c0=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x175d62(0x233)]=0x0,this[_0x175d62(0x1ad)]=0x0,this[_0x175d62(0x2e8)]=[],this[_0x175d62(0x2f3)]===0x2){let _0x3c400a;this['_binaryType']===_0x175d62(0x191)?_0x3c400a=_0x3bf982(_0x5659c0,_0x4713e5):this[_0x175d62(0x31d)]===_0x175d62(0x2a8)?_0x3c400a=_0x39cd05(_0x3bf982(_0x5659c0,_0x4713e5)):this['_binaryType']===_0x175d62(0x1e3)?_0x3c400a=new Blob(_0x5659c0):_0x3c400a=_0x5659c0,this['_allowSynchronousEvents']?(this[_0x175d62(0x22e)](_0x175d62(0x2a7),_0x3c400a,!0x0),this[_0x175d62(0x2d6)]=_0x548391):(this[_0x175d62(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x2b9ba3=_0x175d62;this[_0x2b9ba3(0x22e)](_0x2b9ba3(0x2a7),_0x3c400a,!0x0),this[_0x2b9ba3(0x2d6)]=_0x548391,this[_0x2b9ba3(0x2ef)](_0x5488cc);}));}else{const _0x335392=_0x3bf982(_0x5659c0,_0x4713e5);if(!this[_0x175d62(0x1bf)]&&!_0xe6e3b6(_0x335392)){const _0x35f966=this[_0x175d62(0x28b)](Error,_0x175d62(0x17b),!0x0,0x3ef,_0x175d62(0x21a));_0x5488cc(_0x35f966);return;}this[_0x175d62(0x2d6)]===_0x34871d||this[_0x175d62(0x25c)]?(this['emit']('message',_0x335392,!0x1),this['_state']=_0x548391):(this['_state']=_0x17bcba,setImmediate(()=>{const _0x15180b=_0x175d62;this[_0x15180b(0x22e)](_0x15180b(0x2a7),_0x335392,!0x1),this[_0x15180b(0x2d6)]=_0x548391,this[_0x15180b(0x2ef)](_0x5488cc);}));}}['controlMessage'](_0x440e4c,_0x1645dd){const _0x53c4e6=_0x15daf8;if(this[_0x53c4e6(0x2f3)]===0x8){if(_0x440e4c[_0x53c4e6(0x1b2)]===0x0)this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),0x3ed,_0x3f8ae0),this['end']();else{const _0x5b8785=_0x440e4c[_0x53c4e6(0x1c7)](0x0);if(!_0x34458a(_0x5b8785)){const _0x3c713e=this[_0x53c4e6(0x28b)](RangeError,_0x53c4e6(0x267)+_0x5b8785,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1645dd(_0x3c713e);return;}const _0x432eb0=new _0x495678(_0x440e4c[_0x53c4e6(0x1b7)],_0x440e4c[_0x53c4e6(0x318)]+0x2,_0x440e4c[_0x53c4e6(0x1b2)]-0x2);if(!this[_0x53c4e6(0x1bf)]&&!_0xe6e3b6(_0x432eb0)){const _0x15c84e=this[_0x53c4e6(0x28b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53c4e6(0x21a));_0x1645dd(_0x15c84e);return;}this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),_0x5b8785,_0x432eb0),this[_0x53c4e6(0x2d5)]();}this['_state']=_0x548391;return;}this[_0x53c4e6(0x25c)]?(this['emit'](this[_0x53c4e6(0x2f3)]===0x9?_0x53c4e6(0x315):_0x53c4e6(0x25a),_0x440e4c),this[_0x53c4e6(0x2d6)]=_0x548391):(this[_0x53c4e6(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x8a0be7=_0x53c4e6;this[_0x8a0be7(0x22e)](this[_0x8a0be7(0x2f3)]===0x9?'ping':'pong',_0x440e4c),this[_0x8a0be7(0x2d6)]=_0x548391,this[_0x8a0be7(0x2ef)](_0x1645dd);}));}[_0x15daf8(0x28b)](_0x144973,_0x1a9647,_0x198864,_0x1ebd12,_0x48483a){const _0x311237=_0x15daf8;this[_0x311237(0x1f5)]=!0x1,this[_0x311237(0x17f)]=!0x0;const _0x27b8b2=new _0x144973(_0x198864?'Invalid\x20WebSocket\x20frame:\x20'+_0x1a9647:_0x1a9647);return Error['captureStackTrace'](_0x27b8b2,this[_0x311237(0x28b)]),_0x27b8b2['code']=_0x48483a,_0x27b8b2[_0x531700]=_0x1ebd12,_0x27b8b2;}}return Se=_0x1db027,Se;}var Ee,Xe;function ft(){const _0x5e83af=_0x51270a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x296977}=oe,{randomFillSync:_0x3f4c4f}=Le,_0x4ceb31=he(),{EMPTY_BUFFER:_0x576cc3,kWebSocket:_0x5b91e8,NOOP:_0x15c189}=H(),{isBlob:_0x1e9481,isValidStatusCode:_0x496892}=ae(),{mask:_0x135bd9,toBuffer:_0x719f96}=ce(),_0x4e936f=Symbol(_0x5e83af(0x1e2)),_0x46770a=Buffer[_0x5e83af(0x260)](0x4),_0x587965=0x8*0x400;let _0x1352b5,_0x181cd4=_0x587965;const _0x4b0bfa=0x0,_0x679e1a=0x1,_0x26d0ae=0x2;class _0x3592fe{constructor(_0x121734,_0x19f0e5,_0x2bb486){const _0x4d9097=_0x5e83af;this[_0x4d9097(0x1d6)]=_0x19f0e5||{},_0x2bb486&&(this[_0x4d9097(0x1df)]=_0x2bb486,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4d9097(0x1fa)]=_0x121734,this[_0x4d9097(0x1be)]=!0x0,this[_0x4d9097(0x207)]=!0x1,this[_0x4d9097(0x337)]=0x0,this[_0x4d9097(0x22b)]=[],this['_state']=_0x4b0bfa,this[_0x4d9097(0x1ab)]=_0x15c189,this[_0x5b91e8]=void 0x0;}static[_0x5e83af(0x288)](_0x1fab8c,_0x4f2152){const _0x58b294=_0x5e83af;let _0x16c24d,_0x3688ef=!0x1,_0x4e6028=0x2,_0x4529bf=!0x1;_0x4f2152[_0x58b294(0x276)]&&(_0x16c24d=_0x4f2152[_0x58b294(0x279)]||_0x46770a,_0x4f2152[_0x58b294(0x246)]?_0x4f2152[_0x58b294(0x246)](_0x16c24d):(_0x181cd4===_0x587965&&(_0x1352b5===void 0x0&&(_0x1352b5=Buffer[_0x58b294(0x260)](_0x587965)),_0x3f4c4f(_0x1352b5,0x0,_0x587965),_0x181cd4=0x0),_0x16c24d[0x0]=_0x1352b5[_0x181cd4++],_0x16c24d[0x1]=_0x1352b5[_0x181cd4++],_0x16c24d[0x2]=_0x1352b5[_0x181cd4++],_0x16c24d[0x3]=_0x1352b5[_0x181cd4++]),_0x4529bf=(_0x16c24d[0x0]|_0x16c24d[0x1]|_0x16c24d[0x2]|_0x16c24d[0x3])===0x0,_0x4e6028=0x6);let _0x595c5b;typeof _0x1fab8c==_0x58b294(0x313)?(!_0x4f2152[_0x58b294(0x276)]||_0x4529bf)&&_0x4f2152[_0x4e936f]!==void 0x0?_0x595c5b=_0x4f2152[_0x4e936f]:(_0x1fab8c=Buffer[_0x58b294(0x2c3)](_0x1fab8c),_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)]):(_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)],_0x3688ef=_0x4f2152[_0x58b294(0x276)]&&_0x4f2152[_0x58b294(0x326)]&&!_0x4529bf);let _0x4b2e25=_0x595c5b;_0x595c5b>=0x10000?(_0x4e6028+=0x8,_0x4b2e25=0x7f):_0x595c5b>0x7d&&(_0x4e6028+=0x2,_0x4b2e25=0x7e);const _0x2b1fa0=Buffer[_0x58b294(0x1fb)](_0x3688ef?_0x595c5b+_0x4e6028:_0x4e6028);return _0x2b1fa0[0x0]=_0x4f2152[_0x58b294(0x2c8)]?_0x4f2152['opcode']|0x80:_0x4f2152['opcode'],_0x4f2152['rsv1']&&(_0x2b1fa0[0x0]|=0x40),_0x2b1fa0[0x1]=_0x4b2e25,_0x4b2e25===0x7e?_0x2b1fa0[_0x58b294(0x199)](_0x595c5b,0x2):_0x4b2e25===0x7f&&(_0x2b1fa0[0x2]=_0x2b1fa0[0x3]=0x0,_0x2b1fa0[_0x58b294(0x24f)](_0x595c5b,0x4,0x6)),_0x4f2152[_0x58b294(0x276)]?(_0x2b1fa0[0x1]|=0x80,_0x2b1fa0[_0x4e6028-0x4]=_0x16c24d[0x0],_0x2b1fa0[_0x4e6028-0x3]=_0x16c24d[0x1],_0x2b1fa0[_0x4e6028-0x2]=_0x16c24d[0x2],_0x2b1fa0[_0x4e6028-0x1]=_0x16c24d[0x3],_0x4529bf?[_0x2b1fa0,_0x1fab8c]:_0x3688ef?(_0x135bd9(_0x1fab8c,_0x16c24d,_0x2b1fa0,_0x4e6028,_0x595c5b),[_0x2b1fa0]):(_0x135bd9(_0x1fab8c,_0x16c24d,_0x1fab8c,0x0,_0x595c5b),[_0x2b1fa0,_0x1fab8c])):[_0x2b1fa0,_0x1fab8c];}[_0x5e83af(0x32c)](_0x2c9101,_0x2a2a74,_0x4c5a95,_0x4d1ce1){const _0x1ba070=_0x5e83af;let _0x2821a5;if(_0x2c9101===void 0x0)_0x2821a5=_0x576cc3;else{if(typeof _0x2c9101!=_0x1ba070(0x1ed)||!_0x496892(_0x2c9101))throw new TypeError(_0x1ba070(0x31a));if(_0x2a2a74===void 0x0||!_0x2a2a74['length'])_0x2821a5=Buffer[_0x1ba070(0x1fb)](0x2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0);else{const _0x3d0eb2=Buffer[_0x1ba070(0x2be)](_0x2a2a74);if(_0x3d0eb2>0x7b)throw new RangeError(_0x1ba070(0x26e));_0x2821a5=Buffer['allocUnsafe'](0x2+_0x3d0eb2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0),typeof _0x2a2a74==_0x1ba070(0x313)?_0x2821a5[_0x1ba070(0x2e3)](_0x2a2a74,0x2):_0x2821a5[_0x1ba070(0x1b3)](_0x2a2a74,0x2);}}const _0x153635={[_0x4e936f]:_0x2821a5[_0x1ba070(0x1b2)],'fin':!0x0,'generateMask':this[_0x1ba070(0x1df)],'mask':_0x4c5a95,'maskBuffer':this[_0x1ba070(0x250)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ba070(0x2d6)]!==_0x4b0bfa?this[_0x1ba070(0x2c5)]([this[_0x1ba070(0x1e7)],_0x2821a5,!0x1,_0x153635,_0x4d1ce1]):this[_0x1ba070(0x2df)](_0x3592fe['frame'](_0x2821a5,_0x153635),_0x4d1ce1);}[_0x5e83af(0x315)](_0x5efda7,_0x27483f,_0x329a0e){const _0x3c825e=_0x5e83af;let _0x36d595,_0x46f952;if(typeof _0x5efda7=='string'?(_0x36d595=Buffer['byteLength'](_0x5efda7),_0x46f952=!0x1):_0x1e9481(_0x5efda7)?(_0x36d595=_0x5efda7[_0x3c825e(0x2b0)],_0x46f952=!0x1):(_0x5efda7=_0x719f96(_0x5efda7),_0x36d595=_0x5efda7[_0x3c825e(0x1b2)],_0x46f952=_0x719f96[_0x3c825e(0x326)]),_0x36d595>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x511589={[_0x4e936f]:_0x36d595,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x27483f,'maskBuffer':this[_0x3c825e(0x250)],'opcode':0x9,'readOnly':_0x46f952,'rsv1':!0x1};_0x1e9481(_0x5efda7)?this[_0x3c825e(0x2d6)]!==_0x4b0bfa?this['enqueue']([this['getBlobData'],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['getBlobData'](_0x5efda7,!0x1,_0x511589,_0x329a0e):this['_state']!==_0x4b0bfa?this[_0x3c825e(0x2c5)]([this[_0x3c825e(0x1e7)],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['sendFrame'](_0x3592fe['frame'](_0x5efda7,_0x511589),_0x329a0e);}[_0x5e83af(0x25a)](_0x21a5a4,_0x2b235d,_0x186a03){const _0x482ff1=_0x5e83af;let _0x2b3f33,_0x8d3b1d;if(typeof _0x21a5a4=='string'?(_0x2b3f33=Buffer['byteLength'](_0x21a5a4),_0x8d3b1d=!0x1):_0x1e9481(_0x21a5a4)?(_0x2b3f33=_0x21a5a4['size'],_0x8d3b1d=!0x1):(_0x21a5a4=_0x719f96(_0x21a5a4),_0x2b3f33=_0x21a5a4[_0x482ff1(0x1b2)],_0x8d3b1d=_0x719f96[_0x482ff1(0x326)]),_0x2b3f33>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4ed54c={[_0x4e936f]:_0x2b3f33,'fin':!0x0,'generateMask':this[_0x482ff1(0x1df)],'mask':_0x2b235d,'maskBuffer':this[_0x482ff1(0x250)],'opcode':0xa,'readOnly':_0x8d3b1d,'rsv1':!0x1};_0x1e9481(_0x21a5a4)?this[_0x482ff1(0x2d6)]!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this[_0x482ff1(0x283)],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this[_0x482ff1(0x283)](_0x21a5a4,!0x1,_0x4ed54c,_0x186a03):this['_state']!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this['dispatch'],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this['sendFrame'](_0x3592fe[_0x482ff1(0x288)](_0x21a5a4,_0x4ed54c),_0x186a03);}[_0x5e83af(0x2ba)](_0x4d4293,_0x49efb7,_0x3c3e4f){const _0x59a8e7=_0x5e83af,_0x4fe989=this[_0x59a8e7(0x1d6)][_0x4ceb31[_0x59a8e7(0x296)]];let _0x57de76=_0x49efb7['binary']?0x2:0x1,_0x64ae08=_0x49efb7[_0x59a8e7(0x1c3)],_0x30ea09,_0x4935f0;typeof _0x4d4293==_0x59a8e7(0x313)?(_0x30ea09=Buffer[_0x59a8e7(0x2be)](_0x4d4293),_0x4935f0=!0x1):_0x1e9481(_0x4d4293)?(_0x30ea09=_0x4d4293[_0x59a8e7(0x2b0)],_0x4935f0=!0x1):(_0x4d4293=_0x719f96(_0x4d4293),_0x30ea09=_0x4d4293[_0x59a8e7(0x1b2)],_0x4935f0=_0x719f96[_0x59a8e7(0x326)]),this[_0x59a8e7(0x1be)]?(this[_0x59a8e7(0x1be)]=!0x1,_0x64ae08&&_0x4fe989&&_0x4fe989[_0x59a8e7(0x2b9)][_0x4fe989['_isServer']?_0x59a8e7(0x28a):_0x59a8e7(0x270)]&&(_0x64ae08=_0x30ea09>=_0x4fe989[_0x59a8e7(0x314)]),this['_compress']=_0x64ae08):(_0x64ae08=!0x1,_0x57de76=0x0),_0x49efb7[_0x59a8e7(0x2c8)]&&(this[_0x59a8e7(0x1be)]=!0x0);const _0xc2c6c6={[_0x4e936f]:_0x30ea09,'fin':_0x49efb7[_0x59a8e7(0x2c8)],'generateMask':this[_0x59a8e7(0x1df)],'mask':_0x49efb7['mask'],'maskBuffer':this[_0x59a8e7(0x250)],'opcode':_0x57de76,'readOnly':_0x4935f0,'rsv1':_0x64ae08};_0x1e9481(_0x4d4293)?this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this[_0x59a8e7(0x283)],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this[_0x59a8e7(0x283)](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f):this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this['dispatch'],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this['dispatch'](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f);}[_0x5e83af(0x283)](_0xff2f5c,_0x89b378,_0x3f2801,_0x4c335e){const _0x5b9de8=_0x5e83af;this[_0x5b9de8(0x337)]+=_0x3f2801[_0x4e936f],this['_state']=_0x26d0ae,_0xff2f5c[_0x5b9de8(0x30b)]()[_0x5b9de8(0x2d2)](_0x5b4f02=>{const _0x4a12a5=_0x5b9de8;if(this['_socket'][_0x4a12a5(0x21c)]){const _0x5bef01=new Error(_0x4a12a5(0x2fb));process[_0x4a12a5(0x258)](_0x34cf26,this,_0x5bef01,_0x4c335e);return;}this['_bufferedBytes']-=_0x3f2801[_0x4e936f];const _0xdfbbdf=_0x719f96(_0x5b4f02);_0x89b378?this[_0x4a12a5(0x1e7)](_0xdfbbdf,_0x89b378,_0x3f2801,_0x4c335e):(this[_0x4a12a5(0x2d6)]=_0x4b0bfa,this[_0x4a12a5(0x2df)](_0x3592fe[_0x4a12a5(0x288)](_0xdfbbdf,_0x3f2801),_0x4c335e),this['dequeue']());})[_0x5b9de8(0x198)](_0xd3e699=>{process['nextTick'](_0x4d670d,this,_0xd3e699,_0x4c335e);});}[_0x5e83af(0x1e7)](_0x4e86fa,_0x53b99b,_0x24c5ff,_0x1f6de4){const _0x17de61=_0x5e83af;if(!_0x53b99b){this['sendFrame'](_0x3592fe[_0x17de61(0x288)](_0x4e86fa,_0x24c5ff),_0x1f6de4);return;}const _0x125897=this['_extensions'][_0x4ceb31[_0x17de61(0x296)]];this[_0x17de61(0x337)]+=_0x24c5ff[_0x4e936f],this[_0x17de61(0x2d6)]=_0x679e1a,_0x125897[_0x17de61(0x1c3)](_0x4e86fa,_0x24c5ff['fin'],(_0x2bfd8b,_0x1c4560)=>{const _0xbcf31a=_0x17de61;if(this['_socket'][_0xbcf31a(0x21c)]){const _0x310522=new Error(_0xbcf31a(0x335));_0x34cf26(this,_0x310522,_0x1f6de4);return;}this[_0xbcf31a(0x337)]-=_0x24c5ff[_0x4e936f],this[_0xbcf31a(0x2d6)]=_0x4b0bfa,_0x24c5ff[_0xbcf31a(0x326)]=!0x1,this[_0xbcf31a(0x2df)](_0x3592fe[_0xbcf31a(0x288)](_0x1c4560,_0x24c5ff),_0x1f6de4),this[_0xbcf31a(0x1a4)]();});}[_0x5e83af(0x1a4)](){const _0x499fcd=_0x5e83af;for(;this[_0x499fcd(0x2d6)]===_0x4b0bfa&&this[_0x499fcd(0x22b)][_0x499fcd(0x1b2)];){const _0x2fe1e1=this[_0x499fcd(0x22b)]['shift']();this['_bufferedBytes']-=_0x2fe1e1[0x3][_0x4e936f],Reflect[_0x499fcd(0x24b)](_0x2fe1e1[0x0],this,_0x2fe1e1[_0x499fcd(0x18f)](0x1));}}[_0x5e83af(0x2c5)](_0x8450a2){const _0x2f2122=_0x5e83af;this['_bufferedBytes']+=_0x8450a2[0x3][_0x4e936f],this[_0x2f2122(0x22b)]['push'](_0x8450a2);}[_0x5e83af(0x2df)](_0x477966,_0x32ae17){const _0x4b1c61=_0x5e83af;_0x477966[_0x4b1c61(0x1b2)]===0x2?(this[_0x4b1c61(0x1fa)][_0x4b1c61(0x202)](),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0]),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x1],_0x32ae17),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x29a)]()):this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0],_0x32ae17);}}Ee=_0x3592fe;function _0x34cf26(_0x345032,_0x103054,_0x83534f){const _0x168237=_0x5e83af;typeof _0x83534f=='function'&&_0x83534f(_0x103054);for(let _0x4ecc30=0x0;_0x4ecc30<_0x345032[_0x168237(0x22b)][_0x168237(0x1b2)];_0x4ecc30++){const _0x272d21=_0x345032[_0x168237(0x22b)][_0x4ecc30],_0x15add3=_0x272d21[_0x272d21[_0x168237(0x1b2)]-0x1];typeof _0x15add3==_0x168237(0x2b3)&&_0x15add3(_0x103054);}}function _0x4d670d(_0x5d93d1,_0x1c2ff9,_0x4a6cac){const _0x403af8=_0x5e83af;_0x34cf26(_0x5d93d1,_0x1c2ff9,_0x4a6cac),_0x5d93d1[_0x403af8(0x1ab)](_0x1c2ff9);}return Ee;}var xe,Ze;function It(){const _0x3e4a49=_0x51270a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x272b74,kListener:_0x9466c8}=H(),_0x4730aa=Symbol(_0x3e4a49(0x211)),_0x211b30=Symbol(_0x3e4a49(0x209)),_0xf51e97=Symbol(_0x3e4a49(0x2a5)),_0x3f4e97=Symbol(_0x3e4a49(0x254)),_0x3b8aa5=Symbol(_0x3e4a49(0x2b1)),_0x343ef5=Symbol(_0x3e4a49(0x2fc)),_0x5e9302=Symbol('kType'),_0x40b6f4=Symbol(_0x3e4a49(0x334));class _0x14c0b6{constructor(_0x1f0a96){this[_0x343ef5]=null,this[_0x5e9302]=_0x1f0a96;}get[_0x3e4a49(0x2fe)](){return this[_0x343ef5];}get[_0x3e4a49(0x2b6)](){return this[_0x5e9302];}}Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2fe),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2b6),{'enumerable':!0x0});class _0x816087 extends _0x14c0b6{constructor(_0x262b7a,_0x20ba3c={}){const _0x4935d7=_0x3e4a49;super(_0x262b7a),this[_0x4730aa]=_0x20ba3c[_0x4935d7(0x2f0)]===void 0x0?0x0:_0x20ba3c[_0x4935d7(0x2f0)],this[_0x3b8aa5]=_0x20ba3c[_0x4935d7(0x1ae)]===void 0x0?'':_0x20ba3c['reason'],this[_0x40b6f4]=_0x20ba3c[_0x4935d7(0x1cf)]===void 0x0?!0x1:_0x20ba3c[_0x4935d7(0x1cf)];}get[_0x3e4a49(0x2f0)](){return this[_0x4730aa];}get[_0x3e4a49(0x1ae)](){return this[_0x3b8aa5];}get[_0x3e4a49(0x1cf)](){return this[_0x40b6f4];}}Object['defineProperty'](_0x816087['prototype'],_0x3e4a49(0x2f0),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1ae),{'enumerable':!0x0}),Object['defineProperty'](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1cf),{'enumerable':!0x0});class _0x81704d extends _0x14c0b6{constructor(_0x4d5481,_0x2c380a={}){const _0x49a83e=_0x3e4a49;super(_0x4d5481),this[_0xf51e97]=_0x2c380a[_0x49a83e(0x1fc)]===void 0x0?null:_0x2c380a[_0x49a83e(0x1fc)],this[_0x3f4e97]=_0x2c380a[_0x49a83e(0x2a7)]===void 0x0?'':_0x2c380a['message'];}get[_0x3e4a49(0x1fc)](){return this[_0xf51e97];}get[_0x3e4a49(0x2a7)](){return this[_0x3f4e97];}}Object[_0x3e4a49(0x27d)](_0x81704d[_0x3e4a49(0x24a)],_0x3e4a49(0x1fc),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x81704d['prototype'],_0x3e4a49(0x2a7),{'enumerable':!0x0});class _0x35f55c extends _0x14c0b6{constructor(_0x5bccb5,_0x236ab2={}){const _0x450880=_0x3e4a49;super(_0x5bccb5),this[_0x211b30]=_0x236ab2[_0x450880(0x231)]===void 0x0?null:_0x236ab2[_0x450880(0x231)];}get[_0x3e4a49(0x231)](){return this[_0x211b30];}}Object['defineProperty'](_0x35f55c[_0x3e4a49(0x24a)],_0x3e4a49(0x231),{'enumerable':!0x0}),xe={'CloseEvent':_0x816087,'ErrorEvent':_0x81704d,'Event':_0x14c0b6,'EventTarget':{'addEventListener'(_0x34e24d,_0x4f0406,_0x3f1d14={}){const _0x59f36c=_0x3e4a49;for(const _0x29fd56 of this[_0x59f36c(0x221)](_0x34e24d))if(!_0x3f1d14[_0x272b74]&&_0x29fd56[_0x9466c8]===_0x4f0406&&!_0x29fd56[_0x272b74])return;let _0x9e1232;if(_0x34e24d===_0x59f36c(0x2a7))_0x9e1232=function(_0x39b9a5,_0x123761){const _0x565666=_0x59f36c,_0x3ce3cb=new _0x35f55c(_0x565666(0x2a7),{'data':_0x123761?_0x39b9a5:_0x39b9a5['toString']()});_0x3ce3cb[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x3ce3cb);};else{if(_0x34e24d===_0x59f36c(0x32c))_0x9e1232=function(_0x534338,_0x42b364){const _0x1d6824=_0x59f36c,_0x5ea3c5=new _0x816087('close',{'code':_0x534338,'reason':_0x42b364[_0x1d6824(0x1ec)](),'wasClean':this[_0x1d6824(0x1f1)]&&this[_0x1d6824(0x255)]});_0x5ea3c5[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x5ea3c5);};else{if(_0x34e24d===_0x59f36c(0x1fc))_0x9e1232=function(_0x3d6255){const _0x4e10b4=_0x59f36c,_0x37ad00=new _0x81704d(_0x4e10b4(0x1fc),{'error':_0x3d6255,'message':_0x3d6255[_0x4e10b4(0x2a7)]});_0x37ad00[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x37ad00);};else{if(_0x34e24d===_0x59f36c(0x1ef))_0x9e1232=function(){const _0x476c8e=new _0x14c0b6('open');_0x476c8e[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x476c8e);};else return;}}}_0x9e1232[_0x272b74]=!!_0x3f1d14[_0x272b74],_0x9e1232[_0x9466c8]=_0x4f0406,_0x3f1d14[_0x59f36c(0x204)]?this['once'](_0x34e24d,_0x9e1232):this['on'](_0x34e24d,_0x9e1232);},'removeEventListener'(_0x512a9a,_0x152ca3){const _0x323b7a=_0x3e4a49;for(const _0x8c9057 of this[_0x323b7a(0x221)](_0x512a9a))if(_0x8c9057[_0x9466c8]===_0x152ca3&&!_0x8c9057[_0x272b74]){this[_0x323b7a(0x256)](_0x512a9a,_0x8c9057);break;}}},'MessageEvent':_0x35f55c};function _0x3c49a5(_0x13f8ea,_0x3acc19,_0x4eb528){const _0x3c8704=_0x3e4a49;typeof _0x13f8ea==_0x3c8704(0x217)&&_0x13f8ea[_0x3c8704(0x223)]?_0x13f8ea[_0x3c8704(0x223)][_0x3c8704(0x1ac)](_0x13f8ea,_0x4eb528):_0x13f8ea[_0x3c8704(0x1ac)](_0x3acc19,_0x4eb528);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x222f98}=ae();function _0x5d8b0b(_0x24d34c,_0x41fa32,_0x373bd4){const _0x5f4b94=_0x22a9;_0x24d34c[_0x41fa32]===void 0x0?_0x24d34c[_0x41fa32]=[_0x373bd4]:_0x24d34c[_0x41fa32][_0x5f4b94(0x241)](_0x373bd4);}function _0x478e78(_0x4c135e){const _0x185300=_0x22a9,_0x14473b=Object[_0x185300(0x2d4)](null);let _0x529f49=Object[_0x185300(0x2d4)](null),_0x19b154=!0x1,_0x2d86c6=!0x1,_0x5aac4e=!0x1,_0x2533cb,_0x47ceb3,_0x2db090=-0x1,_0x5af79c=-0x1,_0x39a8fb=-0x1,_0x30048c=0x0;for(;_0x30048c<_0x4c135e['length'];_0x30048c++)if(_0x5af79c=_0x4c135e[_0x185300(0x293)](_0x30048c),_0x2533cb===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x30048c!==0x0&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x295365=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x5af79c===0x2c?(_0x5d8b0b(_0x14473b,_0x295365,_0x529f49),_0x529f49=Object[_0x185300(0x2d4)](null)):_0x2533cb=_0x295365,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x47ceb3===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x20||_0x5af79c===0x9)_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c),_0x5d8b0b(_0x529f49,_0x4c135e['slice'](_0x2db090,_0x39a8fb),!0x0),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x2db090=_0x39a8fb=-0x1;}else{if(_0x5af79c===0x3d&&_0x2db090!==-0x1&&_0x39a8fb===-0x1)_0x47ceb3=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x30048c),_0x2db090=_0x39a8fb=-0x1;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}else{if(_0x2d86c6){if(_0x222f98[_0x5af79c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x2db090===-0x1?_0x2db090=_0x30048c:_0x19b154||(_0x19b154=!0x0),_0x2d86c6=!0x1;}else{if(_0x5aac4e){if(_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x22&&_0x2db090!==-0x1)_0x5aac4e=!0x1,_0x39a8fb=_0x30048c;else{if(_0x5af79c===0x5c)_0x2d86c6=!0x0;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x5af79c===0x22&&_0x4c135e[_0x185300(0x293)](_0x30048c-0x1)===0x3d)_0x5aac4e=!0x0;else{if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x2db090!==-0x1&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);let _0x55145f=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x19b154&&(_0x55145f=_0x55145f[_0x185300(0x187)](/\\/g,''),_0x19b154=!0x1),_0x5d8b0b(_0x529f49,_0x47ceb3,_0x55145f),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x47ceb3=void 0x0,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}}}}if(_0x2db090===-0x1||_0x5aac4e||_0x5af79c===0x20||_0x5af79c===0x9)throw new SyntaxError(_0x185300(0x19a));_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x2361d0=_0x4c135e['slice'](_0x2db090,_0x39a8fb);return _0x2533cb===void 0x0?_0x5d8b0b(_0x14473b,_0x2361d0,_0x529f49):(_0x47ceb3===void 0x0?_0x5d8b0b(_0x529f49,_0x2361d0,!0x0):_0x19b154?_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0[_0x185300(0x187)](/\\/g,'')):_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0),_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49)),_0x14473b;}function _0x3034f6(_0x234cd0){const _0x27abe4=_0x22a9;return Object[_0x27abe4(0x2ad)](_0x234cd0)[_0x27abe4(0x17c)](_0x148c51=>{const _0x238a4d=_0x27abe4;let _0x3fe902=_0x234cd0[_0x148c51];return Array['isArray'](_0x3fe902)||(_0x3fe902=[_0x3fe902]),_0x3fe902[_0x238a4d(0x17c)](_0x3a8e50=>[_0x148c51]['concat'](Object['keys'](_0x3a8e50)[_0x238a4d(0x17c)](_0x3ca3c2=>{const _0x6ce399=_0x238a4d;let _0x2f38b6=_0x3a8e50[_0x3ca3c2];return Array['isArray'](_0x2f38b6)||(_0x2f38b6=[_0x2f38b6]),_0x2f38b6[_0x6ce399(0x17c)](_0x4d226c=>_0x4d226c===!0x0?_0x3ca3c2:_0x3ca3c2+'='+_0x4d226c)[_0x6ce399(0x230)](';\x20');}))[_0x238a4d(0x230)](';\x20'))[_0x238a4d(0x230)](',\x20');})[_0x27abe4(0x230)](',\x20');}return be={'format':_0x3034f6,'parse':_0x478e78},be;}var we,Je;function Pe(){const _0x921c42=_0x51270a;if(Je)return we;Je=0x1;const _0x5b0804=nt,_0x329860=vt,_0x41afe7=ot,_0xacd019=St,_0x3933e9=Et,{randomBytes:_0x552dee,createHash:_0xd57c82}=Le,{Duplex:_0x1c975f,Readable:_0x3f2990}=oe,{URL:_0x1234ab}=xt,_0xab697b=he(),_0x55f15e=lt(),_0x30e018=ft(),{isBlob:_0x512a16}=ae(),{BINARY_TYPES:_0x322fca,EMPTY_BUFFER:_0x28dcb5,GUID:_0x49f23c,kForOnEventAttribute:_0x30fe2e,kListener:_0x5bedd6,kStatusCode:_0x138ab3,kWebSocket:_0x4f2815,NOOP:_0x3c5e93}=H(),{EventTarget:{addEventListener:_0x21f1f5,removeEventListener:_0x226c86}}=It(),{format:_0x1e6366,parse:_0x11f6e9}=ct(),{toBuffer:_0x30a6c0}=ce(),_0x4f297f=0x1e*0x3e8,_0xfaf311=Symbol(_0x921c42(0x26f)),_0x1f0ad0=[0x8,0xd],_0x25a73a=['CONNECTING',_0x921c42(0x216),'CLOSING','CLOSED'],_0x229d03=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xbabdc extends _0x5b0804{constructor(_0x33718d,_0x5118e7,_0x56a09c){const _0x3454c8=_0x921c42;super(),this[_0x3454c8(0x31d)]=_0x322fca[0x0],this[_0x3454c8(0x2a1)]=0x3ee,this[_0x3454c8(0x1f1)]=!0x1,this[_0x3454c8(0x255)]=!0x1,this[_0x3454c8(0x2aa)]=_0x28dcb5,this[_0x3454c8(0x2d9)]=null,this[_0x3454c8(0x208)]=!0x1,this[_0x3454c8(0x1d6)]={},this[_0x3454c8(0x1c4)]=!0x1,this[_0x3454c8(0x243)]='',this[_0x3454c8(0x261)]=_0xbabdc[_0x3454c8(0x1fe)],this['_receiver']=null,this['_sender']=null,this[_0x3454c8(0x1fa)]=null,_0x33718d!==null?(this['_bufferedAmount']=0x0,this[_0x3454c8(0x1de)]=!0x1,this['_redirects']=0x0,_0x5118e7===void 0x0?_0x5118e7=[]:Array[_0x3454c8(0x305)](_0x5118e7)||(typeof _0x5118e7==_0x3454c8(0x217)&&_0x5118e7!==null?(_0x56a09c=_0x5118e7,_0x5118e7=[]):_0x5118e7=[_0x5118e7]),_0xafa29c(this,_0x33718d,_0x5118e7,_0x56a09c)):(this[_0x3454c8(0x1a3)]=_0x56a09c[_0x3454c8(0x20c)],this[_0x3454c8(0x1de)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x921c42(0x2ec)](_0x82f12e){const _0x2eed3e=_0x921c42;_0x322fca[_0x2eed3e(0x317)](_0x82f12e)&&(this['_binaryType']=_0x82f12e,this[_0x2eed3e(0x19e)]&&(this[_0x2eed3e(0x19e)][_0x2eed3e(0x31d)]=_0x82f12e));}get[_0x921c42(0x2cf)](){const _0x52fd90=_0x921c42;return this[_0x52fd90(0x1fa)]?this[_0x52fd90(0x1fa)][_0x52fd90(0x177)][_0x52fd90(0x1b2)]+this[_0x52fd90(0x1b8)][_0x52fd90(0x337)]:this[_0x52fd90(0x1a0)];}get[_0x921c42(0x2bd)](){const _0x4917c7=_0x921c42;return Object[_0x4917c7(0x2ad)](this[_0x4917c7(0x1d6)])[_0x4917c7(0x230)]();}get[_0x921c42(0x21f)](){const _0x4e5b32=_0x921c42;return this[_0x4e5b32(0x1c4)];}get['onclose'](){return null;}get[_0x921c42(0x1ab)](){return null;}get[_0x921c42(0x1d7)](){return null;}get[_0x921c42(0x2d3)](){return null;}get[_0x921c42(0x18a)](){const _0x59c04e=_0x921c42;return this[_0x59c04e(0x243)];}get[_0x921c42(0x18e)](){const _0x3d4a1e=_0x921c42;return this[_0x3d4a1e(0x261)];}get['url'](){const _0x5118c1=_0x921c42;return this[_0x5118c1(0x2da)];}[_0x921c42(0x26b)](_0x5a87a5,_0x561e42,_0x48269d){const _0x452a1b=_0x921c42,_0xe63e70=new _0x55f15e({'allowSynchronousEvents':_0x48269d[_0x452a1b(0x309)],'binaryType':this[_0x452a1b(0x2ec)],'extensions':this[_0x452a1b(0x1d6)],'isServer':this[_0x452a1b(0x1de)],'maxPayload':_0x48269d[_0x452a1b(0x181)],'skipUTF8Validation':_0x48269d[_0x452a1b(0x2d0)]}),_0x4b0743=new _0x30e018(_0x5a87a5,this[_0x452a1b(0x1d6)],_0x48269d[_0x452a1b(0x246)]);this[_0x452a1b(0x19e)]=_0xe63e70,this['_sender']=_0x4b0743,this[_0x452a1b(0x1fa)]=_0x5a87a5,_0xe63e70[_0x4f2815]=this,_0x4b0743[_0x4f2815]=this,_0x5a87a5[_0x4f2815]=this,_0xe63e70['on'](_0x452a1b(0x1ff),_0x4f7e55),_0xe63e70['on'](_0x452a1b(0x18b),_0x4cb3b2),_0xe63e70['on'](_0x452a1b(0x1fc),_0x2b0490),_0xe63e70['on']('message',_0xd758d5),_0xe63e70['on'](_0x452a1b(0x315),_0x995894),_0xe63e70['on'](_0x452a1b(0x25a),_0x4ca5a2),_0x4b0743['onerror']=_0x16628c,_0x5a87a5[_0x452a1b(0x1bd)]&&_0x5a87a5['setTimeout'](0x0),_0x5a87a5['setNoDelay']&&_0x5a87a5[_0x452a1b(0x2c4)](),_0x561e42[_0x452a1b(0x1b2)]>0x0&&_0x5a87a5[_0x452a1b(0x20a)](_0x561e42),_0x5a87a5['on'](_0x452a1b(0x32c),_0x4d28c6),_0x5a87a5['on'](_0x452a1b(0x231),_0x2ec1db),_0x5a87a5['on'](_0x452a1b(0x2d5),_0xb4d3d3),_0x5a87a5['on'](_0x452a1b(0x1fc),_0x5252cc),this[_0x452a1b(0x261)]=_0xbabdc[_0x452a1b(0x216)],this[_0x452a1b(0x22e)](_0x452a1b(0x1ef));}[_0x921c42(0x2ae)](){const _0x590fca=_0x921c42;if(!this['_socket']){this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this['emit']('close',this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);return;}this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]]&&this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]][_0x590fca(0x2dd)](),this[_0x590fca(0x19e)][_0x590fca(0x302)](),this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this[_0x590fca(0x22e)](_0x590fca(0x32c),this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);}[_0x921c42(0x32c)](_0x2c756c,_0x55bcbf){const _0x3dfb11=_0x921c42;if(this['readyState']!==_0xbabdc[_0x3dfb11(0x24d)]){if(this['readyState']===_0xbabdc[_0x3dfb11(0x1fe)]){_0x3c09fa(this,this[_0x3dfb11(0x183)],_0x3dfb11(0x1c8));return;}if(this['readyState']===_0xbabdc[_0x3dfb11(0x27e)]){this[_0x3dfb11(0x255)]&&(this[_0x3dfb11(0x1f1)]||this[_0x3dfb11(0x19e)][_0x3dfb11(0x177)][_0x3dfb11(0x32a)])&&this['_socket'][_0x3dfb11(0x2d5)]();return;}this[_0x3dfb11(0x261)]=_0xbabdc[_0x3dfb11(0x27e)],this[_0x3dfb11(0x1b8)][_0x3dfb11(0x32c)](_0x2c756c,_0x55bcbf,!this[_0x3dfb11(0x1de)],_0x42f858=>{const _0x2a29a7=_0x3dfb11;_0x42f858||(this[_0x2a29a7(0x255)]=!0x0,(this[_0x2a29a7(0x1f1)]||this['_receiver'][_0x2a29a7(0x177)][_0x2a29a7(0x32a)])&&this[_0x2a29a7(0x1fa)]['end']());}),_0x35020b(this);}}[_0x921c42(0x25b)](){const _0x1a6c77=_0x921c42;this['readyState']===_0xbabdc[_0x1a6c77(0x1fe)]||this[_0x1a6c77(0x18e)]===_0xbabdc['CLOSED']||(this[_0x1a6c77(0x1c4)]=!0x0,this[_0x1a6c77(0x1fa)]['pause']());}[_0x921c42(0x315)](_0x58e3b9,_0x14db62,_0x5b4ac3){const _0x3b076d=_0x921c42;if(this[_0x3b076d(0x18e)]===_0xbabdc['CONNECTING'])throw new Error(_0x3b076d(0x17d));if(typeof _0x58e3b9==_0x3b076d(0x2b3)?(_0x5b4ac3=_0x58e3b9,_0x58e3b9=_0x14db62=void 0x0):typeof _0x14db62==_0x3b076d(0x2b3)&&(_0x5b4ac3=_0x14db62,_0x14db62=void 0x0),typeof _0x58e3b9=='number'&&(_0x58e3b9=_0x58e3b9[_0x3b076d(0x1ec)]()),this[_0x3b076d(0x18e)]!==_0xbabdc[_0x3b076d(0x216)]){_0x29bc95(this,_0x58e3b9,_0x5b4ac3);return;}_0x14db62===void 0x0&&(_0x14db62=!this[_0x3b076d(0x1de)]),this[_0x3b076d(0x1b8)]['ping'](_0x58e3b9||_0x28dcb5,_0x14db62,_0x5b4ac3);}[_0x921c42(0x25a)](_0x94cf42,_0x261427,_0x57554c){const _0x4b6bae=_0x921c42;if(this[_0x4b6bae(0x18e)]===_0xbabdc[_0x4b6bae(0x1fe)])throw new Error(_0x4b6bae(0x17d));if(typeof _0x94cf42==_0x4b6bae(0x2b3)?(_0x57554c=_0x94cf42,_0x94cf42=_0x261427=void 0x0):typeof _0x261427==_0x4b6bae(0x2b3)&&(_0x57554c=_0x261427,_0x261427=void 0x0),typeof _0x94cf42=='number'&&(_0x94cf42=_0x94cf42[_0x4b6bae(0x1ec)]()),this[_0x4b6bae(0x18e)]!==_0xbabdc[_0x4b6bae(0x216)]){_0x29bc95(this,_0x94cf42,_0x57554c);return;}_0x261427===void 0x0&&(_0x261427=!this[_0x4b6bae(0x1de)]),this[_0x4b6bae(0x1b8)]['pong'](_0x94cf42||_0x28dcb5,_0x261427,_0x57554c);}[_0x921c42(0x189)](){const _0x463406=_0x921c42;this['readyState']===_0xbabdc[_0x463406(0x1fe)]||this[_0x463406(0x18e)]===_0xbabdc[_0x463406(0x24d)]||(this[_0x463406(0x1c4)]=!0x1,this[_0x463406(0x19e)][_0x463406(0x177)][_0x463406(0x1a1)]||this[_0x463406(0x1fa)][_0x463406(0x189)]());}[_0x921c42(0x2ba)](_0x1bfc87,_0x38af0b,_0x33be64){const _0x4bc20d=_0x921c42;if(this['readyState']===_0xbabdc[_0x4bc20d(0x1fe)])throw new Error(_0x4bc20d(0x17d));if(typeof _0x38af0b=='function'&&(_0x33be64=_0x38af0b,_0x38af0b={}),typeof _0x1bfc87==_0x4bc20d(0x1ed)&&(_0x1bfc87=_0x1bfc87[_0x4bc20d(0x1ec)]()),this[_0x4bc20d(0x18e)]!==_0xbabdc[_0x4bc20d(0x216)]){_0x29bc95(this,_0x1bfc87,_0x33be64);return;}const _0x162bc7={'binary':typeof _0x1bfc87!=_0x4bc20d(0x313),'mask':!this[_0x4bc20d(0x1de)],'compress':!0x0,'fin':!0x0,..._0x38af0b};this[_0x4bc20d(0x1d6)][_0xab697b[_0x4bc20d(0x296)]]||(_0x162bc7[_0x4bc20d(0x1c3)]=!0x1),this[_0x4bc20d(0x1b8)][_0x4bc20d(0x2ba)](_0x1bfc87||_0x28dcb5,_0x162bc7,_0x33be64);}[_0x921c42(0x175)](){const _0x11359c=_0x921c42;if(this[_0x11359c(0x18e)]!==_0xbabdc[_0x11359c(0x24d)]){if(this[_0x11359c(0x18e)]===_0xbabdc['CONNECTING']){_0x3c09fa(this,this[_0x11359c(0x183)],_0x11359c(0x1c8));return;}this[_0x11359c(0x1fa)]&&(this[_0x11359c(0x261)]=_0xbabdc[_0x11359c(0x27e)],this['_socket'][_0x11359c(0x1ba)]());}}}Object[_0x921c42(0x27d)](_0xbabdc,'CONNECTING',{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x1fe))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x1fe),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CONNECTING')}),Object['defineProperty'](_0xbabdc,_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x27e))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CLOSING')}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x24d))}),Object['defineProperty'](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x24d))}),['binaryType',_0x921c42(0x2cf),_0x921c42(0x2bd),_0x921c42(0x21f),_0x921c42(0x18a),_0x921c42(0x18e),_0x921c42(0x310)][_0x921c42(0x2cc)](_0x52daa0=>{const _0x1b31a8=_0x921c42;Object[_0x1b31a8(0x27d)](_0xbabdc['prototype'],_0x52daa0,{'enumerable':!0x0});}),[_0x921c42(0x1ef),_0x921c42(0x1fc),'close',_0x921c42(0x2a7)][_0x921c42(0x2cc)](_0x42c3fa=>{const _0x196ab6=_0x921c42;Object['defineProperty'](_0xbabdc[_0x196ab6(0x24a)],'on'+_0x42c3fa,{'enumerable':!0x0,'get'(){for(const _0x42da99 of this['listeners'](_0x42c3fa))if(_0x42da99[_0x30fe2e])return _0x42da99[_0x5bedd6];return null;},'set'(_0x1dd02a){const _0x2c835e=_0x196ab6;for(const _0x29c89a of this[_0x2c835e(0x221)](_0x42c3fa))if(_0x29c89a[_0x30fe2e]){this[_0x2c835e(0x256)](_0x42c3fa,_0x29c89a);break;}typeof _0x1dd02a=='function'&&this[_0x2c835e(0x2f5)](_0x42c3fa,_0x1dd02a,{[_0x30fe2e]:!0x0});}});}),_0xbabdc[_0x921c42(0x24a)][_0x921c42(0x2f5)]=_0x21f1f5,_0xbabdc['prototype'][_0x921c42(0x225)]=_0x226c86,we=_0xbabdc;function _0xafa29c(_0x511f81,_0x28e153,_0x154e92,_0xe948e7){const _0xb469e2=_0x921c42,_0x26a286={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f0ad0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xe948e7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb469e2(0x273),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x511f81['_autoPong']=_0x26a286[_0xb469e2(0x20c)],!_0x1f0ad0[_0xb469e2(0x317)](_0x26a286['protocolVersion']))throw new RangeError(_0xb469e2(0x265)+_0x26a286[_0xb469e2(0x2e5)]+_0xb469e2(0x1af)+_0x1f0ad0['join'](',\x20')+')');let _0x462413;if(_0x28e153 instanceof _0x1234ab)_0x462413=_0x28e153;else try{_0x462413=new _0x1234ab(_0x28e153);}catch{throw new SyntaxError(_0xb469e2(0x1f2)+_0x28e153);}_0x462413[_0xb469e2(0x18a)]===_0xb469e2(0x329)?_0x462413[_0xb469e2(0x18a)]='ws:':_0x462413[_0xb469e2(0x18a)]==='https:'&&(_0x462413[_0xb469e2(0x18a)]=_0xb469e2(0x1eb)),_0x511f81['_url']=_0x462413[_0xb469e2(0x176)];const _0x28500e=_0x462413['protocol']===_0xb469e2(0x1eb),_0xf143f9=_0x462413['protocol']===_0xb469e2(0x173);let _0x30dd35;if(_0x462413[_0xb469e2(0x18a)]!=='ws:'&&!_0x28500e&&!_0xf143f9?_0x30dd35=_0xb469e2(0x249):_0xf143f9&&!_0x462413[_0xb469e2(0x1c6)]?_0x30dd35=_0xb469e2(0x242):_0x462413[_0xb469e2(0x2f6)]&&(_0x30dd35=_0xb469e2(0x2e0)),_0x30dd35){const _0x150327=new SyntaxError(_0x30dd35);if(_0x511f81['_redirects']===0x0)throw _0x150327;_0x1672ec(_0x511f81,_0x150327);return;}const _0x1757d7=_0x28500e?0x1bb:0x50,_0x50fe9d=_0x552dee(0x10)[_0xb469e2(0x1ec)](_0xb469e2(0x2fd)),_0x552d0f=_0x28500e?_0x329860[_0xb469e2(0x212)]:_0x41afe7[_0xb469e2(0x212)],_0x57ad32=new Set();let _0x29b076;if(_0x26a286[_0xb469e2(0x271)]=_0x26a286[_0xb469e2(0x271)]||(_0x28500e?_0x4726dd:_0x2c085e),_0x26a286[_0xb469e2(0x284)]=_0x26a286[_0xb469e2(0x284)]||_0x1757d7,_0x26a286['port']=_0x462413[_0xb469e2(0x2b5)]||_0x1757d7,_0x26a286[_0xb469e2(0x213)]=_0x462413['hostname'][_0xb469e2(0x20e)]('[')?_0x462413[_0xb469e2(0x1e5)][_0xb469e2(0x18f)](0x1,-0x1):_0x462413[_0xb469e2(0x1e5)],_0x26a286[_0xb469e2(0x2f9)]={..._0x26a286[_0xb469e2(0x2f9)],'Sec-WebSocket-Version':_0x26a286[_0xb469e2(0x2e5)],'Sec-WebSocket-Key':_0x50fe9d,'Connection':_0xb469e2(0x1cb),'Upgrade':_0xb469e2(0x186)},_0x26a286['path']=_0x462413[_0xb469e2(0x1c6)]+_0x462413[_0xb469e2(0x24e)],_0x26a286[_0xb469e2(0x263)]=_0x26a286['handshakeTimeout'],_0x26a286[_0xb469e2(0x26c)]&&(_0x29b076=new _0xab697b(_0x26a286[_0xb469e2(0x26c)]!==!0x0?_0x26a286[_0xb469e2(0x26c)]:{},!0x1,_0x26a286[_0xb469e2(0x181)]),_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Extensions']=_0x1e6366({[_0xab697b['extensionName']]:_0x29b076[_0xb469e2(0x22c)]()})),_0x154e92[_0xb469e2(0x1b2)]){for(const _0x4afe27 of _0x154e92){if(typeof _0x4afe27!='string'||!_0x229d03[_0xb469e2(0x274)](_0x4afe27)||_0x57ad32[_0xb469e2(0x292)](_0x4afe27))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x57ad32[_0xb469e2(0x1d5)](_0x4afe27);}_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Protocol']=_0x154e92['join'](',');}if(_0x26a286[_0xb469e2(0x28f)]&&(_0x26a286[_0xb469e2(0x2e5)]<0xd?_0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x1d1)]=_0x26a286['origin']:_0x26a286['headers'][_0xb469e2(0x1a2)]=_0x26a286[_0xb469e2(0x28f)]),(_0x462413[_0xb469e2(0x23b)]||_0x462413[_0xb469e2(0x275)])&&(_0x26a286['auth']=_0x462413[_0xb469e2(0x23b)]+':'+_0x462413[_0xb469e2(0x275)]),_0xf143f9){const _0x23cbcd=_0x26a286[_0xb469e2(0x1b9)]['split'](':');_0x26a286[_0xb469e2(0x2dc)]=_0x23cbcd[0x0],_0x26a286[_0xb469e2(0x1b9)]=_0x23cbcd[0x1];}let _0x33874c;if(_0x26a286[_0xb469e2(0x235)]){if(_0x511f81[_0xb469e2(0x2ac)]===0x0){_0x511f81['_originalIpc']=_0xf143f9,_0x511f81['_originalSecure']=_0x28500e,_0x511f81[_0xb469e2(0x25d)]=_0xf143f9?_0x26a286['socketPath']:_0x462413[_0xb469e2(0x213)];const _0x4761ec=_0xe948e7&&_0xe948e7[_0xb469e2(0x2f9)];if(_0xe948e7={..._0xe948e7,'headers':{}},_0x4761ec){for(const [_0x57159d,_0x45dd81]of Object[_0xb469e2(0x2e2)](_0x4761ec))_0xe948e7['headers'][_0x57159d[_0xb469e2(0x1ea)]()]=_0x45dd81;}}else{if(_0x511f81[_0xb469e2(0x32b)](_0xb469e2(0x1a7))===0x0){const _0x5216c0=_0xf143f9?_0x511f81[_0xb469e2(0x203)]?_0x26a286['socketPath']===_0x511f81[_0xb469e2(0x25d)]:!0x1:_0x511f81[_0xb469e2(0x203)]?!0x1:_0x462413[_0xb469e2(0x213)]===_0x511f81[_0xb469e2(0x25d)];(!_0x5216c0||_0x511f81['_originalSecure']&&!_0x28500e)&&(delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x32e)],delete _0x26a286[_0xb469e2(0x2f9)]['cookie'],_0x5216c0||delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x213)],_0x26a286[_0xb469e2(0x195)]=void 0x0);}}_0x26a286[_0xb469e2(0x195)]&&!_0xe948e7[_0xb469e2(0x2f9)][_0xb469e2(0x32e)]&&(_0xe948e7['headers']['authorization']=_0xb469e2(0x1d9)+Buffer[_0xb469e2(0x2c3)](_0x26a286[_0xb469e2(0x195)])[_0xb469e2(0x1ec)](_0xb469e2(0x2fd))),_0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286),_0x511f81[_0xb469e2(0x2ac)]&&_0x511f81['emit'](_0xb469e2(0x1a7),_0x511f81[_0xb469e2(0x310)],_0x33874c);}else _0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286);_0x26a286['timeout']&&_0x33874c['on'](_0xb469e2(0x263),()=>{_0x3c09fa(_0x511f81,_0x33874c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x33874c['on'](_0xb469e2(0x1fc),_0x1afaf1=>{const _0x189901=_0xb469e2;_0x33874c===null||_0x33874c[_0xfaf311]||(_0x33874c=_0x511f81[_0x189901(0x183)]=null,_0x1672ec(_0x511f81,_0x1afaf1));}),_0x33874c['on'](_0xb469e2(0x1c2),_0x4a8b5f=>{const _0x2a2b06=_0xb469e2,_0x28833d=_0x4a8b5f[_0x2a2b06(0x2f9)][_0x2a2b06(0x1cc)],_0x2d628b=_0x4a8b5f['statusCode'];if(_0x28833d&&_0x26a286[_0x2a2b06(0x235)]&&_0x2d628b>=0x12c&&_0x2d628b<0x190){if(++_0x511f81[_0x2a2b06(0x2ac)]>_0x26a286[_0x2a2b06(0x2b8)]){_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x281));return;}_0x33874c[_0x2a2b06(0x27b)]();let _0x5c9b66;try{_0x5c9b66=new _0x1234ab(_0x28833d,_0x28e153);}catch{const _0x15982d=new SyntaxError('Invalid\x20URL:\x20'+_0x28833d);_0x1672ec(_0x511f81,_0x15982d);return;}_0xafa29c(_0x511f81,_0x5c9b66,_0x154e92,_0xe948e7);}else _0x511f81[_0x2a2b06(0x22e)]('unexpected-response',_0x33874c,_0x4a8b5f)||_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x29b)+_0x4a8b5f[_0x2a2b06(0x234)]);}),_0x33874c['on'](_0xb469e2(0x245),(_0x20cf1c,_0x261317,_0x558a60)=>{const _0x31a505=_0xb469e2;if(_0x511f81[_0x31a505(0x22e)](_0x31a505(0x245),_0x20cf1c),_0x511f81[_0x31a505(0x18e)]!==_0xbabdc['CONNECTING'])return;_0x33874c=_0x511f81[_0x31a505(0x183)]=null;const _0x47eb33=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x245)];if(_0x47eb33===void 0x0||_0x47eb33['toLowerCase']()!==_0x31a505(0x186)){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x316));return;}const _0x3984c9=_0xd57c82('sha1')['update'](_0x50fe9d+_0x49f23c)[_0x31a505(0x23c)](_0x31a505(0x2fd));if(_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-accept']!==_0x3984c9){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2e7));return;}const _0x2e10c1=_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-protocol'];let _0x3fac57;if(_0x2e10c1!==void 0x0?_0x57ad32[_0x31a505(0x2b0)]?_0x57ad32[_0x31a505(0x292)](_0x2e10c1)||(_0x3fac57=_0x31a505(0x226)):_0x3fac57=_0x31a505(0x2ee):_0x57ad32[_0x31a505(0x2b0)]&&(_0x3fac57=_0x31a505(0x286)),_0x3fac57){_0x3c09fa(_0x511f81,_0x261317,_0x3fac57);return;}_0x2e10c1&&(_0x511f81[_0x31a505(0x243)]=_0x2e10c1);const _0x1fa052=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x2a4)];if(_0x1fa052!==void 0x0){if(!_0x29b076){_0x3c09fa(_0x511f81,_0x261317,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4aac7d;try{_0x4aac7d=_0x11f6e9(_0x1fa052);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}const _0x4f7685=Object[_0x31a505(0x2ad)](_0x4aac7d);if(_0x4f7685[_0x31a505(0x1b2)]!==0x1||_0x4f7685[0x0]!==_0xab697b[_0x31a505(0x296)]){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x222));return;}try{_0x29b076['accept'](_0x4aac7d[_0xab697b[_0x31a505(0x296)]]);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}_0x511f81[_0x31a505(0x1d6)][_0xab697b['extensionName']]=_0x29b076;}_0x511f81[_0x31a505(0x26b)](_0x261317,_0x558a60,{'allowSynchronousEvents':_0x26a286['allowSynchronousEvents'],'generateMask':_0x26a286[_0x31a505(0x246)],'maxPayload':_0x26a286[_0x31a505(0x181)],'skipUTF8Validation':_0x26a286[_0x31a505(0x2d0)]});}),_0x26a286['finishRequest']?_0x26a286['finishRequest'](_0x33874c,_0x511f81):_0x33874c[_0xb469e2(0x2d5)]();}function _0x1672ec(_0x5cb8fb,_0x4b530a){const _0x44b2c2=_0x921c42;_0x5cb8fb['_readyState']=_0xbabdc[_0x44b2c2(0x27e)],_0x5cb8fb[_0x44b2c2(0x208)]=!0x0,_0x5cb8fb['emit']('error',_0x4b530a),_0x5cb8fb[_0x44b2c2(0x2ae)]();}function _0x2c085e(_0x42db28){const _0x597e34=_0x921c42;return _0x42db28[_0x597e34(0x1b9)]=_0x42db28['socketPath'],_0xacd019[_0x597e34(0x269)](_0x42db28);}function _0x4726dd(_0x558abd){const _0x5921df=_0x921c42;return _0x558abd['path']=void 0x0,!_0x558abd['servername']&&_0x558abd[_0x5921df(0x2f1)]!==''&&(_0x558abd['servername']=_0xacd019[_0x5921df(0x194)](_0x558abd[_0x5921df(0x213)])?'':_0x558abd['host']),_0x3933e9['connect'](_0x558abd);}function _0x3c09fa(_0x139920,_0x49ba99,_0x11edd1){const _0x4675fb=_0x921c42;_0x139920[_0x4675fb(0x261)]=_0xbabdc['CLOSING'];const _0xc568c1=new Error(_0x11edd1);Error[_0x4675fb(0x287)](_0xc568c1,_0x3c09fa),_0x49ba99[_0x4675fb(0x17a)]?(_0x49ba99[_0xfaf311]=!0x0,_0x49ba99[_0x4675fb(0x27b)](),_0x49ba99[_0x4675fb(0x23d)]&&!_0x49ba99['socket'][_0x4675fb(0x21c)]&&_0x49ba99['socket'][_0x4675fb(0x1ba)](),process[_0x4675fb(0x258)](_0x1672ec,_0x139920,_0xc568c1)):(_0x49ba99[_0x4675fb(0x1ba)](_0xc568c1),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x1fc),_0x139920['emit'][_0x4675fb(0x332)](_0x139920,'error')),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x32c),_0x139920[_0x4675fb(0x2ae)][_0x4675fb(0x332)](_0x139920)));}function _0x29bc95(_0x6b425d,_0x2613c0,_0x28efc9){const _0x4f59c6=_0x921c42;if(_0x2613c0){const _0x475868=_0x512a16(_0x2613c0)?_0x2613c0[_0x4f59c6(0x2b0)]:_0x30a6c0(_0x2613c0)[_0x4f59c6(0x1b2)];_0x6b425d['_socket']?_0x6b425d[_0x4f59c6(0x1b8)]['_bufferedBytes']+=_0x475868:_0x6b425d[_0x4f59c6(0x1a0)]+=_0x475868;}if(_0x28efc9){const _0x2a6d8c=new Error(_0x4f59c6(0x2de)+_0x6b425d['readyState']+'\x20('+_0x25a73a[_0x6b425d[_0x4f59c6(0x18e)]]+')');process[_0x4f59c6(0x258)](_0x28efc9,_0x2a6d8c);}}function _0x4f7e55(_0x5a51e1,_0x4b03ab){const _0x52979e=_0x921c42,_0xfefcf1=this[_0x4f2815];_0xfefcf1[_0x52979e(0x1f1)]=!0x0,_0xfefcf1['_closeMessage']=_0x4b03ab,_0xfefcf1[_0x52979e(0x2a1)]=_0x5a51e1,_0xfefcf1[_0x52979e(0x1fa)][_0x4f2815]!==void 0x0&&(_0xfefcf1['_socket'][_0x52979e(0x256)](_0x52979e(0x231),_0x2ec1db),process[_0x52979e(0x258)](_0x266737,_0xfefcf1[_0x52979e(0x1fa)]),_0x5a51e1===0x3ed?_0xfefcf1['close']():_0xfefcf1[_0x52979e(0x32c)](_0x5a51e1,_0x4b03ab));}function _0x4cb3b2(){const _0x455ef4=_0x921c42,_0x4e76ed=this[_0x4f2815];_0x4e76ed[_0x455ef4(0x21f)]||_0x4e76ed['_socket'][_0x455ef4(0x189)]();}function _0x2b0490(_0x5e81a6){const _0x3f1da0=_0x921c42,_0xdcb479=this[_0x4f2815];_0xdcb479[_0x3f1da0(0x1fa)][_0x4f2815]!==void 0x0&&(_0xdcb479[_0x3f1da0(0x1fa)][_0x3f1da0(0x256)](_0x3f1da0(0x231),_0x2ec1db),process[_0x3f1da0(0x258)](_0x266737,_0xdcb479[_0x3f1da0(0x1fa)]),_0xdcb479[_0x3f1da0(0x32c)](_0x5e81a6[_0x138ab3])),_0xdcb479[_0x3f1da0(0x208)]||(_0xdcb479[_0x3f1da0(0x208)]=!0x0,_0xdcb479['emit'](_0x3f1da0(0x1fc),_0x5e81a6));}function _0xd092f7(){const _0x33d54e=_0x921c42;this[_0x4f2815][_0x33d54e(0x2ae)]();}function _0xd758d5(_0x4b758c,_0x191946){const _0x677d2d=_0x921c42;this[_0x4f2815][_0x677d2d(0x22e)](_0x677d2d(0x2a7),_0x4b758c,_0x191946);}function _0x995894(_0xfcd5b1){const _0x2983b0=_0x921c42,_0x2aa948=this[_0x4f2815];_0x2aa948['_autoPong']&&_0x2aa948['pong'](_0xfcd5b1,!this['_isServer'],_0x3c5e93),_0x2aa948[_0x2983b0(0x22e)](_0x2983b0(0x315),_0xfcd5b1);}function _0x4ca5a2(_0x2f0c8e){const _0x3bd469=_0x921c42;this[_0x4f2815][_0x3bd469(0x22e)](_0x3bd469(0x25a),_0x2f0c8e);}function _0x266737(_0x23ff7b){const _0x54579d=_0x921c42;_0x23ff7b[_0x54579d(0x189)]();}function _0x16628c(_0x47c38b){const _0x5ea257=_0x921c42,_0x280ecf=this[_0x4f2815];_0x280ecf[_0x5ea257(0x18e)]!==_0xbabdc['CLOSED']&&(_0x280ecf[_0x5ea257(0x18e)]===_0xbabdc[_0x5ea257(0x216)]&&(_0x280ecf[_0x5ea257(0x261)]=_0xbabdc['CLOSING'],_0x35020b(_0x280ecf)),this['_socket'][_0x5ea257(0x2d5)](),_0x280ecf[_0x5ea257(0x208)]||(_0x280ecf[_0x5ea257(0x208)]=!0x0,_0x280ecf['emit'](_0x5ea257(0x1fc),_0x47c38b)));}function _0x35020b(_0xf34109){const _0x4bf5d6=_0x921c42;_0xf34109[_0x4bf5d6(0x2d9)]=setTimeout(_0xf34109[_0x4bf5d6(0x1fa)]['destroy'][_0x4bf5d6(0x332)](_0xf34109[_0x4bf5d6(0x1fa)]),_0x4f297f);}function _0x4d28c6(){const _0x48c633=_0x921c42,_0x2463c1=this[_0x4f2815];this[_0x48c633(0x256)]('close',_0x4d28c6),this[_0x48c633(0x256)](_0x48c633(0x231),_0x2ec1db),this['removeListener'](_0x48c633(0x2d5),_0xb4d3d3),_0x2463c1[_0x48c633(0x261)]=_0xbabdc[_0x48c633(0x27e)];let _0x1ca514;!this[_0x48c633(0x1e9)][_0x48c633(0x311)]&&!_0x2463c1[_0x48c633(0x1f1)]&&!_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]&&(_0x1ca514=_0x2463c1['_socket'][_0x48c633(0x2ed)]())!==null&&_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x2e3)](_0x1ca514),_0x2463c1['_receiver'][_0x48c633(0x2d5)](),this[_0x4f2815]=void 0x0,clearTimeout(_0x2463c1['_closeTimer']),_0x2463c1[_0x48c633(0x19e)]['_writableState'][_0x48c633(0x323)]||_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]?_0x2463c1[_0x48c633(0x2ae)]():(_0x2463c1['_receiver']['on'](_0x48c633(0x1fc),_0xd092f7),_0x2463c1[_0x48c633(0x19e)]['on']('finish',_0xd092f7));}function _0x2ec1db(_0x5cb475){const _0x3d8459=_0x921c42;this[_0x4f2815][_0x3d8459(0x19e)][_0x3d8459(0x2e3)](_0x5cb475)||this[_0x3d8459(0x25b)]();}function _0xb4d3d3(){const _0x1ce15a=_0x921c42,_0x3c6dd8=this[_0x4f2815];_0x3c6dd8[_0x1ce15a(0x261)]=_0xbabdc[_0x1ce15a(0x27e)],_0x3c6dd8[_0x1ce15a(0x19e)][_0x1ce15a(0x2d5)](),this[_0x1ce15a(0x2d5)]();}function _0x5252cc(){const _0x509c52=_0x921c42,_0x5ed65c=this[_0x4f2815];this[_0x509c52(0x256)]('error',_0x5252cc),this['on'](_0x509c52(0x1fc),_0x3c5e93),_0x5ed65c&&(_0x5ed65c[_0x509c52(0x261)]=_0xbabdc[_0x509c52(0x27e)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1ffb01}=oe;function _0x312f2e(_0x4ad839){_0x4ad839['emit']('close');}function _0x206ff4(){const _0x51e080=_0x22a9;!this[_0x51e080(0x21c)]&&this[_0x51e080(0x177)][_0x51e080(0x323)]&&this['destroy']();}function _0x4bd806(_0x3f652b){const _0x23d04d=_0x22a9;this['removeListener'](_0x23d04d(0x1fc),_0x4bd806),this['destroy'](),this[_0x23d04d(0x32b)](_0x23d04d(0x1fc))===0x0&&this[_0x23d04d(0x22e)]('error',_0x3f652b);}function _0x23c5cb(_0x8beb20,_0x373e95){const _0x44b2cf=_0x22a9;let _0x11f806=!0x0;const _0x452e80=new _0x1ffb01({..._0x373e95,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x8beb20['on'](_0x44b2cf(0x2a7),function(_0x3763a5,_0x54e9ef){const _0x192675=_0x44b2cf,_0x4e8c43=!_0x54e9ef&&_0x452e80[_0x192675(0x1e9)][_0x192675(0x2e9)]?_0x3763a5[_0x192675(0x1ec)]():_0x3763a5;_0x452e80[_0x192675(0x241)](_0x4e8c43)||_0x8beb20[_0x192675(0x25b)]();}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x1fc),function(_0x507c70){const _0xcb5eac=_0x44b2cf;_0x452e80[_0xcb5eac(0x21c)]||(_0x11f806=!0x1,_0x452e80[_0xcb5eac(0x1ba)](_0x507c70));}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x32c),function(){const _0x3a283f=_0x44b2cf;_0x452e80[_0x3a283f(0x21c)]||_0x452e80['push'](null);}),_0x452e80[_0x44b2cf(0x319)]=function(_0x1d9deb,_0x5e67d9){const _0x223361=_0x44b2cf;if(_0x8beb20[_0x223361(0x18e)]===_0x8beb20[_0x223361(0x24d)]){_0x5e67d9(_0x1d9deb),process[_0x223361(0x258)](_0x312f2e,_0x452e80);return;}let _0x2692b1=!0x1;_0x8beb20[_0x223361(0x204)]('error',function(_0x519904){_0x2692b1=!0x0,_0x5e67d9(_0x519904);}),_0x8beb20[_0x223361(0x204)](_0x223361(0x32c),function(){const _0x5ca0c3=_0x223361;_0x2692b1||_0x5e67d9(_0x1d9deb),process[_0x5ca0c3(0x258)](_0x312f2e,_0x452e80);}),_0x11f806&&_0x8beb20[_0x223361(0x175)]();},_0x452e80[_0x44b2cf(0x2ff)]=function(_0x42ed4e){const _0x1fe652=_0x44b2cf;if(_0x8beb20[_0x1fe652(0x18e)]===_0x8beb20[_0x1fe652(0x1fe)]){_0x8beb20[_0x1fe652(0x204)](_0x1fe652(0x1ef),function(){const _0x368db4=_0x1fe652;_0x452e80[_0x368db4(0x2ff)](_0x42ed4e);});return;}_0x8beb20[_0x1fe652(0x1fa)]!==null&&(_0x8beb20[_0x1fe652(0x1fa)]['_writableState']['finished']?(_0x42ed4e(),_0x452e80[_0x1fe652(0x1e9)][_0x1fe652(0x311)]&&_0x452e80[_0x1fe652(0x1ba)]()):(_0x8beb20[_0x1fe652(0x1fa)][_0x1fe652(0x204)](_0x1fe652(0x30c),function(){_0x42ed4e();}),_0x8beb20[_0x1fe652(0x32c)]()));},_0x452e80[_0x44b2cf(0x324)]=function(){const _0x433a3a=_0x44b2cf;_0x8beb20[_0x433a3a(0x21f)]&&_0x8beb20[_0x433a3a(0x189)]();},_0x452e80[_0x44b2cf(0x327)]=function(_0x5a6f01,_0x5824e4,_0x102db1){const _0x6980e1=_0x44b2cf;if(_0x8beb20['readyState']===_0x8beb20['CONNECTING']){_0x8beb20['once'](_0x6980e1(0x1ef),function(){const _0x453b23=_0x6980e1;_0x452e80[_0x453b23(0x327)](_0x5a6f01,_0x5824e4,_0x102db1);});return;}_0x8beb20[_0x6980e1(0x2ba)](_0x5a6f01,_0x102db1);},_0x452e80['on']('end',_0x206ff4),_0x452e80['on']('error',_0x4bd806),_0x452e80;}return Oe=_0x23c5cb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x256a42}=ae();function _0x4116b9(_0x5a6be5){const _0x5e9a63=_0x22a9,_0x3e5dee=new Set();let _0x4cdf20=-0x1,_0x140b9a=-0x1,_0x208eaf=0x0;for(_0x208eaf;_0x208eaf<_0x5a6be5[_0x5e9a63(0x1b2)];_0x208eaf++){const _0x2aafec=_0x5a6be5[_0x5e9a63(0x293)](_0x208eaf);if(_0x140b9a===-0x1&&_0x256a42[_0x2aafec]===0x1)_0x4cdf20===-0x1&&(_0x4cdf20=_0x208eaf);else{if(_0x208eaf!==0x0&&(_0x2aafec===0x20||_0x2aafec===0x9))_0x140b9a===-0x1&&_0x4cdf20!==-0x1&&(_0x140b9a=_0x208eaf);else{if(_0x2aafec===0x2c){if(_0x4cdf20===-0x1)throw new SyntaxError(_0x5e9a63(0x205)+_0x208eaf);_0x140b9a===-0x1&&(_0x140b9a=_0x208eaf);const _0x4e936b=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x140b9a);if(_0x3e5dee['has'](_0x4e936b))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x4e936b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e5dee[_0x5e9a63(0x1d5)](_0x4e936b),_0x4cdf20=_0x140b9a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x208eaf);}}}if(_0x4cdf20===-0x1||_0x140b9a!==-0x1)throw new SyntaxError(_0x5e9a63(0x19a));const _0x35a8c2=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x208eaf);if(_0x3e5dee[_0x5e9a63(0x292)](_0x35a8c2))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x35a8c2+_0x5e9a63(0x23f));return _0x3e5dee[_0x5e9a63(0x1d5)](_0x35a8c2),_0x3e5dee;}return Ce={'parse':_0x4116b9},Ce;}var Te,rt;function Ft(){const _0x197e77=_0x51270a;if(rt)return Te;rt=0x1;const _0x275cc3=nt,_0x3395a2=ot,{Duplex:_0x1c1f0d}=oe,{createHash:_0x4e3247}=Le,_0x57e83a=ct(),_0x45de34=he(),_0x3e4f3f=At(),_0x36b74c=Pe(),{GUID:_0x3e4403,kWebSocket:_0x24dec1}=H(),_0x526d94=/^[+/0-9A-Za-z]{22}==$/,_0x5c83bf=0x0,_0x5f4e0f=0x1,_0x3bfcaa=0x2;class _0x4ccccc extends _0x275cc3{constructor(_0x32d0a2,_0x3d9dd8){const _0x29b69a=_0x22a9;if(super(),_0x32d0a2={'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':_0x36b74c,..._0x32d0a2},_0x32d0a2[_0x29b69a(0x2b5)]==null&&!_0x32d0a2[_0x29b69a(0x1b5)]&&!_0x32d0a2[_0x29b69a(0x239)]||_0x32d0a2[_0x29b69a(0x2b5)]!=null&&(_0x32d0a2['server']||_0x32d0a2[_0x29b69a(0x239)])||_0x32d0a2['server']&&_0x32d0a2[_0x29b69a(0x239)])throw new TypeError(_0x29b69a(0x2eb));if(_0x32d0a2['port']!=null?(this[_0x29b69a(0x285)]=_0x3395a2['createServer']((_0x5b4bcd,_0x5cab37)=>{const _0x147cfb=_0x29b69a,_0x415190=_0x3395a2[_0x147cfb(0x2bf)][0x1aa];_0x5cab37[_0x147cfb(0x320)](0x1aa,{'Content-Length':_0x415190[_0x147cfb(0x1b2)],'Content-Type':_0x147cfb(0x1e1)}),_0x5cab37[_0x147cfb(0x2d5)](_0x415190);}),this[_0x29b69a(0x285)][_0x29b69a(0x1b1)](_0x32d0a2['port'],_0x32d0a2[_0x29b69a(0x213)],_0x32d0a2[_0x29b69a(0x27f)],_0x3d9dd8)):_0x32d0a2[_0x29b69a(0x1b5)]&&(this[_0x29b69a(0x285)]=_0x32d0a2[_0x29b69a(0x1b5)]),this[_0x29b69a(0x285)]){const _0xd2c3e8=this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x2e4));this[_0x29b69a(0x325)]=_0x4e8594(this[_0x29b69a(0x285)],{'listening':this[_0x29b69a(0x22e)][_0x29b69a(0x332)](this,_0x29b69a(0x262)),'error':this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x1fc)),'upgrade':(_0x2fc282,_0x2854fc,_0x2024b9)=>{const _0x1eec06=_0x29b69a;this[_0x1eec06(0x30a)](_0x2fc282,_0x2854fc,_0x2024b9,_0xd2c3e8);}});}_0x32d0a2[_0x29b69a(0x26c)]===!0x0&&(_0x32d0a2[_0x29b69a(0x26c)]={}),_0x32d0a2[_0x29b69a(0x1dd)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x29b69a(0x2f8)]=_0x32d0a2,this[_0x29b69a(0x2d6)]=_0x5c83bf;}[_0x197e77(0x2e6)](){const _0x288f47=_0x197e77;if(this[_0x288f47(0x2f8)][_0x288f47(0x239)])throw new Error(_0x288f47(0x2d8));return this[_0x288f47(0x285)]?this[_0x288f47(0x285)][_0x288f47(0x2e6)]():null;}['close'](_0x205785){const _0x238e44=_0x197e77;if(this[_0x238e44(0x2d6)]===_0x3bfcaa){_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),()=>{const _0x1bb101=_0x238e44;_0x205785(new Error(_0x1bb101(0x303)));}),process['nextTick'](_0x5396fe,this);return;}if(_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),_0x205785),this['_state']!==_0x5f4e0f){if(this[_0x238e44(0x2d6)]=_0x5f4e0f,this['options']['noServer']||this['options']['server'])this[_0x238e44(0x285)]&&(this['_removeListeners'](),this[_0x238e44(0x325)]=this[_0x238e44(0x285)]=null),this['clients']?this[_0x238e44(0x192)]['size']?this[_0x238e44(0x1bb)]=!0x0:process[_0x238e44(0x258)](_0x5396fe,this):process[_0x238e44(0x258)](_0x5396fe,this);else{const _0x16a3ac=this[_0x238e44(0x285)];this[_0x238e44(0x325)](),this['_removeListeners']=this[_0x238e44(0x285)]=null,_0x16a3ac[_0x238e44(0x32c)](()=>{_0x5396fe(this);});}}}[_0x197e77(0x2cb)](_0x4415b5){const _0x3390a0=_0x197e77;if(this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)]){const _0x280cde=_0x4415b5[_0x3390a0(0x310)][_0x3390a0(0x21d)]('?');if((_0x280cde!==-0x1?_0x4415b5['url']['slice'](0x0,_0x280cde):_0x4415b5['url'])!==this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)])return!0x1;}return!0x0;}[_0x197e77(0x30a)](_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81){const _0x159a8c=_0x197e77;_0x37c968['on'](_0x159a8c(0x1fc),_0x59308d);const _0x14a88c=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-key'],_0x36d934=_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x245)],_0x40bf2f=+_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x1ce)];if(_0x3a704a[_0x159a8c(0x180)]!==_0x159a8c(0x273)){_0x182875(this,_0x3a704a,_0x37c968,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x36d934===void 0x0||_0x36d934['toLowerCase']()!==_0x159a8c(0x186)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x14a88c===void 0x0||!_0x526d94[_0x159a8c(0x274)](_0x14a88c)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x40bf2f!==0xd&&_0x40bf2f!==0x8){_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x2bb),{'Sec-WebSocket-Version':_0x159a8c(0x1b6)});return;}if(!this[_0x159a8c(0x2cb)](_0x3a704a)){_0x49166c(_0x37c968,0x190);return;}const _0x26cbd6=_0x3a704a['headers'][_0x159a8c(0x1d2)];let _0x4012c1=new Set();if(_0x26cbd6!==void 0x0)try{_0x4012c1=_0x3e4f3f[_0x159a8c(0x294)](_0x26cbd6);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x1bc));return;}const _0x55568e=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-extensions'],_0x4bf337={};if(this[_0x159a8c(0x2f8)][_0x159a8c(0x26c)]&&_0x55568e!==void 0x0){const _0x492a70=new _0x45de34(this['options'][_0x159a8c(0x26c)],!0x0,this[_0x159a8c(0x2f8)][_0x159a8c(0x181)]);try{const _0x33dbf2=_0x57e83a[_0x159a8c(0x294)](_0x55568e);_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]&&(_0x492a70['accept'](_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]),_0x4bf337[_0x45de34[_0x159a8c(0x296)]]=_0x492a70);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x282));return;}}if(this[_0x159a8c(0x2f8)]['verifyClient']){const _0x40458e={'origin':_0x3a704a[_0x159a8c(0x2f9)][''+(_0x40bf2f===0x8?_0x159a8c(0x31e):_0x159a8c(0x28f))],'secure':!!(_0x3a704a['socket'][_0x159a8c(0x228)]||_0x3a704a[_0x159a8c(0x23d)][_0x159a8c(0x308)]),'req':_0x3a704a};if(this['options']['verifyClient'][_0x159a8c(0x1b2)]===0x2){this[_0x159a8c(0x2f8)][_0x159a8c(0x2a0)](_0x40458e,(_0x1d3009,_0x4c81b1,_0x3c816d,_0x427801)=>{const _0x2257c3=_0x159a8c;if(!_0x1d3009)return _0x49166c(_0x37c968,_0x4c81b1||0x191,_0x3c816d,_0x427801);this[_0x2257c3(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);});return;}if(!this['options']['verifyClient'](_0x40458e))return _0x49166c(_0x37c968,0x191);}this[_0x159a8c(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);}['completeUpgrade'](_0x1b81bb,_0x358d0b,_0x198f0d,_0x43eca2,_0x28697e,_0x3cb760,_0x4bc7aa){const _0x3d4095=_0x197e77;if(!_0x28697e[_0x3d4095(0x304)]||!_0x28697e['writable'])return _0x28697e['destroy']();if(_0x28697e[_0x24dec1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3d4095(0x2d6)]>_0x5c83bf)return _0x49166c(_0x28697e,0x1f7);const _0x26501d=[_0x3d4095(0x29f),'Upgrade:\x20websocket',_0x3d4095(0x174),'Sec-WebSocket-Accept:\x20'+_0x4e3247(_0x3d4095(0x179))['update'](_0x358d0b+_0x3e4403)['digest'](_0x3d4095(0x2fd))],_0xa4b968=new this[(_0x3d4095(0x2f8))][(_0x3d4095(0x27a))](null,void 0x0,this['options']);if(_0x198f0d[_0x3d4095(0x2b0)]){const _0x5d4e7c=this[_0x3d4095(0x2f8)][_0x3d4095(0x295)]?this['options'][_0x3d4095(0x295)](_0x198f0d,_0x43eca2):_0x198f0d['values']()['next']()['value'];_0x5d4e7c&&(_0x26501d['push'](_0x3d4095(0x331)+_0x5d4e7c),_0xa4b968[_0x3d4095(0x243)]=_0x5d4e7c);}if(_0x1b81bb[_0x45de34[_0x3d4095(0x296)]]){const _0x2d969b=_0x1b81bb[_0x45de34['extensionName']][_0x3d4095(0x2b9)],_0x1faf2f=_0x57e83a[_0x3d4095(0x193)]({[_0x45de34[_0x3d4095(0x296)]]:[_0x2d969b]});_0x26501d[_0x3d4095(0x241)](_0x3d4095(0x339)+_0x1faf2f),_0xa4b968[_0x3d4095(0x1d6)]=_0x1b81bb;}this[_0x3d4095(0x22e)](_0x3d4095(0x2f9),_0x26501d,_0x43eca2),_0x28697e['write'](_0x26501d[_0x3d4095(0x252)]('\x0d\x0a')['join']('\x0d\x0a')),_0x28697e[_0x3d4095(0x256)](_0x3d4095(0x1fc),_0x59308d),_0xa4b968['setSocket'](_0x28697e,_0x3cb760,{'allowSynchronousEvents':this[_0x3d4095(0x2f8)][_0x3d4095(0x309)],'maxPayload':this['options'][_0x3d4095(0x181)],'skipUTF8Validation':this[_0x3d4095(0x2f8)][_0x3d4095(0x2d0)]}),this[_0x3d4095(0x192)]&&(this[_0x3d4095(0x192)][_0x3d4095(0x1d5)](_0xa4b968),_0xa4b968['on']('close',()=>{const _0x2a7a91=_0x3d4095;this[_0x2a7a91(0x192)][_0x2a7a91(0x30d)](_0xa4b968),this[_0x2a7a91(0x1bb)]&&!this[_0x2a7a91(0x192)][_0x2a7a91(0x2b0)]&&process[_0x2a7a91(0x258)](_0x5396fe,this);})),_0x4bc7aa(_0xa4b968,_0x43eca2);}}Te=_0x4ccccc;function _0x4e8594(_0x54c465,_0xa91dba){const _0x514dd2=_0x197e77;for(const _0x2695d7 of Object[_0x514dd2(0x2ad)](_0xa91dba))_0x54c465['on'](_0x2695d7,_0xa91dba[_0x2695d7]);return function(){const _0x3b750c=_0x514dd2;for(const _0x329747 of Object[_0x3b750c(0x2ad)](_0xa91dba))_0x54c465[_0x3b750c(0x256)](_0x329747,_0xa91dba[_0x329747]);};}function _0x5396fe(_0x57d070){const _0x2f8189=_0x197e77;_0x57d070[_0x2f8189(0x2d6)]=_0x3bfcaa,_0x57d070[_0x2f8189(0x22e)]('close');}function _0x59308d(){const _0xd11c50=_0x197e77;this[_0xd11c50(0x1ba)]();}function _0x49166c(_0x45ecb0,_0x274047,_0x5e509f,_0x1ad16f){const _0x27c9d3=_0x197e77;_0x5e509f=_0x5e509f||_0x3395a2[_0x27c9d3(0x2bf)][_0x274047],_0x1ad16f={'Connection':_0x27c9d3(0x32c),'Content-Type':_0x27c9d3(0x2f4),'Content-Length':Buffer[_0x27c9d3(0x2be)](_0x5e509f),..._0x1ad16f},_0x45ecb0[_0x27c9d3(0x204)](_0x27c9d3(0x30c),_0x45ecb0[_0x27c9d3(0x1ba)]),_0x45ecb0[_0x27c9d3(0x2d5)](_0x27c9d3(0x307)+_0x274047+'\x20'+_0x3395a2['STATUS_CODES'][_0x274047]+'\x0d\x0a'+Object[_0x27c9d3(0x2ad)](_0x1ad16f)[_0x27c9d3(0x17c)](_0x10b6d0=>_0x10b6d0+':\x20'+_0x1ad16f[_0x10b6d0])[_0x27c9d3(0x230)]('\x0d\x0a')+_0x27c9d3(0x20b)+_0x5e509f);}function _0x182875(_0x29ede3,_0x5c8f59,_0x4c978b,_0x237829,_0x4b2aa4,_0x158397){const _0x1aecda=_0x197e77;if(_0x29ede3[_0x1aecda(0x32b)](_0x1aecda(0x2c2))){const _0x5298b0=new Error(_0x4b2aa4);Error[_0x1aecda(0x287)](_0x5298b0,_0x182875),_0x29ede3[_0x1aecda(0x22e)](_0x1aecda(0x2c2),_0x5298b0,_0x4c978b,_0x5c8f59);}else _0x49166c(_0x4c978b,_0x237829,_0x4b2aa4,_0x158397);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3e1aa7,_0x431dc6,_0x1fa412,_0x24d221)=>{const _0xe8c90c=_0x51270a;for(var _0x5c7854=_0x24d221>0x1?void 0x0:_0x24d221?jt(_0x431dc6,_0x1fa412):_0x431dc6,_0x3aafad=_0x3e1aa7[_0xe8c90c(0x1b2)]-0x1,_0x4f93fd;_0x3aafad>=0x0;_0x3aafad--)(_0x4f93fd=_0x3e1aa7[_0x3aafad])&&(_0x5c7854=_0x4f93fd(_0x5c7854)||_0x5c7854);return _0x5c7854;},qt=(_0x282550,_0x1549d4)=>(_0x5ad723,_0x51d8be)=>_0x1549d4(_0x5ad723,_0x51d8be,_0x282550);let ke=class extends A[_0x51270a(0x1dc)]{constructor(_0x481cbe){super(),this['_configService']=_0x481cbe;}['createSocket'](_0x3e9a35){const _0x4b4453=_0x51270a;var _0xa75b67;const _0x2fd846=(_0xa75b67=this['_configService'][_0x4b4453(0x2db)](fe))==null?void 0x0:_0xa75b67[_0x4b4453(0x2b7)];try{const _0x11110e=new $t(_0x3e9a35,{'headers':{..._0x2fd846}}),_0x2dcc5b=new A[(_0x4b4453(0x1e4))]();return{'URL':_0x3e9a35,'close':(_0x2b6fa2,_0x599e11)=>{const _0x5969f4=_0x4b4453;_0x11110e[_0x5969f4(0x32c)](_0x2b6fa2,_0x599e11),_0x2dcc5b[_0x5969f4(0x30e)]();},'send':_0x15b453=>{const _0xac9cea=_0x4b4453;_0x11110e[_0xac9cea(0x2ba)](_0x15b453);},'open$':new V['Observable'](_0x2f1c23=>{const _0x653017=_0x4b4453,_0x11cbd0=_0x348454=>_0x2f1c23[_0x653017(0x237)](_0x348454);_0x11110e[_0x653017(0x2f5)](_0x653017(0x1ef),_0x11cbd0),_0x2dcc5b[_0x653017(0x1d5)](A[_0x653017(0x299)](()=>_0x11110e['removeEventListener'](_0x653017(0x1ef),_0x11cbd0)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'close$':new V[(_0x4b4453(0x1d8))](_0x373c99=>{const _0x657ced=_0x4b4453,_0x294ace=_0x183a9a=>_0x373c99[_0x657ced(0x237)](_0x183a9a);_0x11110e['addEventListener']('close',_0x294ace),_0x2dcc5b[_0x657ced(0x1d5)](A[_0x657ced(0x299)](()=>_0x11110e[_0x657ced(0x225)]('close',_0x294ace)));})['pipe'](V[_0x4b4453(0x1f0)]()),'error$':new V['Observable'](_0x2905aa=>{const _0x2fe0b3=_0x4b4453,_0x4b8c4c=_0x19262c=>_0x2905aa[_0x2fe0b3(0x237)](_0x19262c);_0x11110e['addEventListener'](_0x2fe0b3(0x1fc),_0x4b8c4c),_0x2dcc5b[_0x2fe0b3(0x1d5)](A[_0x2fe0b3(0x299)](()=>_0x11110e[_0x2fe0b3(0x225)](_0x2fe0b3(0x1fc),_0x4b8c4c)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'message$':new V[(_0x4b4453(0x1d8))](_0x8045d7=>{const _0x35fd68=_0x4b4453,_0x4766ac=_0x1e752d=>_0x8045d7['next'](_0x1e752d);_0x11110e[_0x35fd68(0x2f5)]('message',_0x4766ac),_0x2dcc5b[_0x35fd68(0x1d5)](A[_0x35fd68(0x299)](()=>_0x11110e['removeEventListener']('message',_0x4766ac)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]())};}catch(_0x275d05){return console[_0x4b4453(0x1fc)](_0x275d05),null;}}};ke=Wt([qt(0x0,A[_0x51270a(0x17e)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x51270a(0x23e)],Ht=(_0x49d816,_0x364497,_0x3890f2)=>_0x364497 in _0x49d816?Gt(_0x49d816,_0x364497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3890f2}):_0x49d816[_0x364497]=_0x3890f2,zt=(_0x4b810f,_0x4eb7bb,_0x3c584c,_0x3e8f55)=>{const _0x4a98e8=_0x51270a;for(var _0x1e6a7=_0x3e8f55>0x1?void 0x0:_0x3e8f55?Vt(_0x4eb7bb,_0x3c584c):_0x4eb7bb,_0xd66e1a=_0x4b810f[_0x4a98e8(0x1b2)]-0x1,_0x2beb53;_0xd66e1a>=0x0;_0xd66e1a--)(_0x2beb53=_0x4b810f[_0xd66e1a])&&(_0x1e6a7=_0x2beb53(_0x1e6a7)||_0x1e6a7);return _0x1e6a7;},Ne=(_0x4f6eb6,_0x41fd30)=>(_0x26c13c,_0x506cb7)=>_0x41fd30(_0x26c13c,_0x506cb7,_0x4f6eb6),Yt=(_0x508d6c,_0x4057f7,_0xfc7e4c)=>Ht(_0x508d6c,_0x4057f7+'',_0xfc7e4c);exports[_0x51270a(0x238)]=class extends A[_0x51270a(0x247)]{constructor(_0x2a36d1=Ct,_0x29b893,_0x1f9af3,_0x30091a){const _0x33f083=_0x51270a;_0x2a36d1[_0x33f083(0x2b7)]||_0x29b893[_0x33f083(0x190)](_0x33f083(0x1f7)),super(),this['_configService']=_0x1f9af3,this[_0x33f083(0x22f)]=_0x30091a,this[_0x33f083(0x28e)][_0x33f083(0x21e)](fe,_0x2a36d1);}['onStarting'](){const _0x26c1a2=_0x51270a;this[_0x26c1a2(0x19c)]();}['_registerDependencies'](){const _0x250d0a=_0x51270a;A[_0x250d0a(0x1da)](this[_0x250d0a(0x22f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x51270a(0x238)],'pluginName',_0x51270a(0x1ee)),exports[_0x51270a(0x238)]=zt([A[_0x51270a(0x321)](st[_0x51270a(0x272)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x51270a(0x17e)]),Ne(0x3,A[_0x51270a(0x300)](A[_0x51270a(0x259)]))],exports[_0x51270a(0x238)]);var Kt=Object[_0x51270a(0x23e)],Xt=(_0x466f9d,_0x5e56c9,_0x221106,_0x306cf3)=>{for(var _0x525bd4=_0x306cf3>0x1?void 0x0:_0x306cf3?Kt(_0x5e56c9,_0x221106):_0x5e56c9,_0x1bc395=_0x466f9d['length']-0x1,_0xe364eb;_0x1bc395>=0x0;_0x1bc395--)(_0xe364eb=_0x466f9d[_0x1bc395])&&(_0x525bd4=_0xe364eb(_0x525bd4)||_0x525bd4);return _0x525bd4;},ne=(_0x30c666,_0x1ded40)=>(_0x1c824d,_0x49d641)=>_0x1ded40(_0x1c824d,_0x49d641,_0x30c666);exports[_0x51270a(0x306)]=class extends st[_0x51270a(0x1c9)]{constructor(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5){const _0x351e20=_0x51270a;super(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5);const _0x3f811c=this[_0x351e20(0x28e)][_0x351e20(0x2db)](fe);this['_httpService'][_0x351e20(0x2c9)]({'interceptor':(_0x440fa9,_0x446411)=>{const _0x21f360=_0x351e20;var _0x88b8b0;const _0x2246a2=_0x440fa9[_0x21f360(0x2f9)];return(_0x88b8b0=_0x3f811c==null?void 0x0:_0x3f811c[_0x21f360(0x2b7)])!=null&&_0x88b8b0['cookie']&&_0x2246a2[_0x21f360(0x1b3)](_0x21f360(0x244),_0x3f811c[_0x21f360(0x2b7)]['cookie']),_0x446411(_0x440fa9);}});}async[_0x51270a(0x1a8)](_0x3cef58){const _0x3c467a=_0x51270a;return this[_0x3c467a(0x32f)](_0x3cef58);}},exports[_0x51270a(0x306)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x51270a(0x25f)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x195cc0=_0x146b;(function(_0x41c9d7,_0x267eb5){const _0x325628=_0x146b,_0x57a75e=_0x41c9d7();while(!![]){try{const _0x59b5c5=-parseInt(_0x325628(0x16f))/0x1*(-parseInt(_0x325628(0x2b0))/0x2)+-parseInt(_0x325628(0x1c5))/0x3*(-parseInt(_0x325628(0x258))/0x4)+-parseInt(_0x325628(0x23f))/0x5+-parseInt(_0x325628(0x1e8))/0x6+parseInt(_0x325628(0x1e6))/0x7*(-parseInt(_0x325628(0x298))/0x8)+parseInt(_0x325628(0x16c))/0x9*(-parseInt(_0x325628(0x25f))/0xa)+parseInt(_0x325628(0x2d2))/0xb;if(_0x59b5c5===_0x267eb5)break;else _0x57a75e['push'](_0x57a75e['shift']());}catch(_0x4a2acd){_0x57a75e['push'](_0x57a75e['shift']());}}}(_0x3534,0x8eefc));function _0x146b(_0x3150b1,_0x3380d8){const _0x35349b=_0x3534();return _0x146b=function(_0x146b65,_0x5c81fd){_0x146b65=_0x146b65-0x165;let _0x33ee90=_0x35349b[_0x146b65];return _0x33ee90;},_0x146b(_0x3150b1,_0x3380d8);}Object[_0x195cc0(0x292)](exports,Symbol[_0x195cc0(0x2ce)],{'value':_0x195cc0(0x2f7)});function _0x3534(){const _0xd85726=['kIsForOnEventAttribute','onclose','acceptAsServer','Inject','password','DependentOn','NodeCollaborationSocketService','protocol','type','join','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setConfig','nextTick','shift','ILogService','_queue','cleanup','_state','Sec-WebSocket-Accept:\x20','Invalid\x20Sec-WebSocket-Accept\x20header','_autoPong','timeout','text/plain','handleUpgrade','verifyClient','WS_ERR_UNEXPECTED_RSV_1','rsv1','path','digest','_req','listeners','delete','createConnection','_deflate','_protocol','readUInt16BE','accept','hostname','_totalPayloadLength','socketPath','The\x20URL\x20contains\x20a\x20fragment\x20identifier','destroyed','Observable','WS_ERR_EXPECTED_FIN','_maskBuffer','addEventListener','_decompress','readyState','defineProperty','replace','createSocket','ping','CLOSING','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','8hbYtOL','isArray','size','customHeaders','Cookie','getBlobData','number','_generateMask','_closeFrameReceived','generateMask','Blob','location','_options','writable','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','buffer','test','sec-websocket-extensions','_skipUTF8Validation','apply','13,\x208','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','end','reason','314228SngKFF','_doCreateSocket','request','\x20(supported\x20versions:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unexpected\x20server\x20response:\x20','websocket','concurrency','_httpService','_opcode','servername','_redirects','maxPayload','bufferedAmount','sec-websocket-key','COLLABORATION_CLIENT_NODE_CONFIG_KEY','writeUIntBE','skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','_errored','https:','toDisposable','Disposable','target','CLOSED','_compressed','IConfigService','exports','pow','_originalSecure','toStringTag','perMessageDeflate','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','jobs','569459fILxoF','The\x20\x22','_bufferedAmount','allocUnsafe','headers','emit','pluginName','handleEvent','unmask','cork','frame','cookie','WS_ERR_INVALID_UTF8','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','WS_ERR_EXPECTED_MASK','close','_final','kType','kRun','_destroy','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','message','_socket','kCode','Sec-WebSocket-Protocol','ISocketService','_closeTimer','wss:','noServer','_masked','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','push','allowSynchronousEvents','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','open','_isServer','Z_DEFAULT_WINDOWBITS','Module','onStarting','_binaryType','_maxPayload','bind','permessage-deflate','_allowSynchronousEvents','keys','has','Invalid\x20Sec-WebSocket-Protocol\x20header','ws:','pending','DisposableCollection','_bufferedBytes','data','Injector','\x22:\x20','options','File','Invalid\x20URL:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dispatch','concat','WS_ERR_INVALID_OPCODE','status-code','server','onerror','_read','_no_context_takeover','_firstFragment','setTimeout','host','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','includes','auth','_readyState','terminate','GET','UniverCollaborationClientPlugin','zlibDeflateOptions','invalid\x20UTF-8\x20sequence','_configService','extensionName','abort','_extensions','forEach','pathname','listening','create','STATUS_CODES','getMask','774bdoymw','getPayloadLength64','Invalid\x20Upgrade\x20header','6rdDomu','origin','values','map','alloc','unexpected-response','The\x20URL\x27s\x20pathname\x20is\x20empty','_paused','startsWith','threshold','CollaborationSocketService','HTTP/1.1\x20','finishRequest','split','connect','The\x20server\x20is\x20not\x20running','Parameter\x20\x22','setSocket','charCodeAt','hash','serverMaxWindowBits','acceptAsClient','readable','concurrencyLimit','enqueue','OPEN','connection','client_max_window_bits','sec-websocket-origin','total-length','socket','shouldHandle','send','username','redirect','getConfig','next','_url','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','needDrain','_buffers','normalizeParams','Invalid\x20WebSocket\x20frame:\x20','call','fin','constructor','setNoDelay','blob','invalid\x20opcode\x20','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_inflate','extensions','getData','error','removeListener','conclude','http:','compress','isValidUTF8','isIP','port','entries','handleProtocols','followRedirects','listenerCount','find','_mask','prototype','pong','\x0d\x0a\x0d\x0a','Origin','authorized','slice','Invalid\x20HTTP\x20method','getOwnPropertyDescriptor','url','isView','haveLength','_fragmented','drain','errorEmitted','binaryType','invalid\x20payload\x20length\x20','code','_writableState','Max\x20payload\x20size\x20exceeded','8394eWKwWb','onmessage','_originalIpc','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Z_SYNC_FLUSH','sec-websocket-protocol','invalid\x20opcode\x200','sec-websocket-version','env','default','server_max_window_bits','registerHTTPInterceptor','maskBuffer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','string','consume','CONNECTING','Upgrade','_threshold','statusCode','finish','reset','from','createError','_closeMessage','base64','arrayBuffer','pipe','_shouldEmitClose','wasClean','controlMessage','_closeFrameSent','MASK\x20must\x20be\x20set','1191491FGCnxX','Basic\x20','1739862swKMRp','_closeCode','Invalid\x20Sec-WebSocket-Extensions\x20header','byteOffset','emitClose','onopen','client_no_context_takeover','readOnly','upgrade','clientNoContextTakeover','server_no_context_takeover','destroy','once','_sender','kDone','writeHead','autoPong','getInfo','HTTP/1.1\x20101\x20Switching\x20Protocols','share','set','kByteLength','arraybuffer','format','hasOwnProperty','species','_receiver','writeUInt16BE','flush','_max_window_bits','invalid\x20status\x20code\x20','WebSocket','href','clientTracking','zlibInflateOptions','get','_messageLength','byteLength','_fragments','function','captureStackTrace','sec-websocket-accept','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_loop','Invalid\x20value\x20for\x20parameter\x20\x22','Unknown\x20parameter\x20\x22','createServer','defaultPort','_originalHostOrSocketPath','toString','getPayloadLength16','add','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sendFrame','_errorEmitted','read','isInteger','_fin','parse','objectMode','completeUpgrade','_compress','ISnapshotServerService','authorization','finished','toLowerCase','serverNoContextTakeover','_removeListeners','search','params','kListener','nodebuffer','Unexpected\x20character\x20at\x20index\x20','_readableState','write','sha1','dispose','clientMaxWindowBits','ws+unix:','WS_NO_UTF_8_VALIDATE','_payloadLength','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','readUInt32BE','setHeader','indexOf','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','object','2093265tHSLhM','UniverCollaborationClientNodePlugin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeEventListener','dequeue','opcode','encrypted','isBuffer','protocolVersion','pause','_write','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isPaused','endEmitted','offer','length','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','mask','_server','startLoop','address','Upgrade:\x20websocket','RSV1\x20must\x20be\x20clear','update','WebSocket\x20is\x20not\x20open:\x20readyState\x20','856lRayEs','catch','WS_ERR_UNEXPECTED_MASK','decompress','Opening\x20handshake\x20has\x20timed\x20out','resume','dataMessage','14990FVYWlZ','__esModule','clients'];_0x3534=function(){return _0xd85726;};return _0x3534();}const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x581921){const _0x58cb2b=_0x195cc0;return _0x581921&&_0x581921[_0x58cb2b(0x260)]&&Object[_0x58cb2b(0x1b2)][_0x58cb2b(0x200)][_0x58cb2b(0x19a)](_0x581921,_0x58cb2b(0x1ce))?_0x581921['default']:_0x581921;}function at(_0x520102){const _0x2c7756=_0x195cc0;if(Object['prototype'][_0x2c7756(0x200)]['call'](_0x520102,_0x2c7756(0x260)))return _0x520102;var _0x5ad663=_0x520102[_0x2c7756(0x1ce)];if(typeof _0x5ad663==_0x2c7756(0x20f)){var _0x462eef=function _0x2e661e(){const _0x5b7dd6=_0x2c7756;var _0x3b5fb0=!0x1;try{_0x3b5fb0=this instanceof _0x2e661e;}catch{}return _0x3b5fb0?Reflect['construct'](_0x5ad663,arguments,this[_0x5b7dd6(0x19c)]):_0x5ad663['apply'](this,arguments);};_0x462eef[_0x2c7756(0x1b2)]=_0x5ad663['prototype'];}else _0x462eef={};return Object[_0x2c7756(0x292)](_0x462eef,_0x2c7756(0x260),{'value':!0x0}),Object[_0x2c7756(0x2fe)](_0x520102)[_0x2c7756(0x166)](function(_0x43d627){const _0x34dd53=_0x2c7756;var _0x48c4b6=Object['getOwnPropertyDescriptor'](_0x520102,_0x43d627);Object[_0x34dd53(0x292)](_0x462eef,_0x43d627,_0x48c4b6[_0x34dd53(0x20b)]?_0x48c4b6:{'enumerable':!0x0,'get':function(){return _0x520102[_0x43d627];}});}),_0x462eef;}var se={'exports':{}},ge,Ge;function H(){const _0x5c33cf=_0x195cc0;if(Ge)return ge;Ge=0x1;const _0x31cc36=[_0x5c33cf(0x22f),_0x5c33cf(0x1fe),'fragments'],_0x4606c5=typeof Blob<'u';return _0x4606c5&&_0x31cc36[_0x5c33cf(0x2f1)](_0x5c33cf(0x19e)),ge={'BINARY_TYPES':_0x31cc36,'EMPTY_BUFFER':Buffer[_0x5c33cf(0x173)](0x0),'GUID':_0x5c33cf(0x2e6),'hasBlob':_0x4606c5,'kForOnEventAttribute':Symbol(_0x5c33cf(0x262)),'kListener':Symbol(_0x5c33cf(0x22e)),'kStatusCode':Symbol(_0x5c33cf(0x30f)),'kWebSocket':Symbol(_0x5c33cf(0x2b6)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x195cc0(0x292)]({'__proto__':null,'default':Nt},Symbol[_0x195cc0(0x2ce)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0xb30377=_0x195cc0;if(Ve)return se[_0xb30377(0x2cb)];Ve=0x1;const {EMPTY_BUFFER:_0x417050}=H(),_0x17c28d=Buffer[Symbol[_0xb30377(0x201)]];function _0x3f8f88(_0x36a216,_0x4e179d){const _0x92d1a=_0xb30377;if(_0x36a216[_0x92d1a(0x24e)]===0x0)return _0x417050;if(_0x36a216['length']===0x1)return _0x36a216[0x0];const _0x1eb95a=Buffer[_0x92d1a(0x2d5)](_0x4e179d);let _0x265807=0x0;for(let _0x2a9896=0x0;_0x2a9896<_0x36a216['length'];_0x2a9896++){const _0x12acbb=_0x36a216[_0x2a9896];_0x1eb95a['set'](_0x12acbb,_0x265807),_0x265807+=_0x12acbb[_0x92d1a(0x24e)];}return _0x265807<_0x4e179d?new _0x17c28d(_0x1eb95a['buffer'],_0x1eb95a[_0x92d1a(0x1eb)],_0x265807):_0x1eb95a;}function _0x227244(_0x49b2be,_0x2f2f0b,_0x253c49,_0x572a60,_0x145143){for(let _0x123793=0x0;_0x123793<_0x145143;_0x123793++)_0x253c49[_0x572a60+_0x123793]=_0x49b2be[_0x123793]^_0x2f2f0b[_0x123793&0x3];}function _0x92b1e7(_0x3a5513,_0x583f65){const _0x58beeb=_0xb30377;for(let _0x319e25=0x0;_0x319e25<_0x3a5513[_0x58beeb(0x24e)];_0x319e25++)_0x3a5513[_0x319e25]^=_0x583f65[_0x319e25&0x3];}function _0x2568c3(_0x488ff8){const _0x345834=_0xb30377;return _0x488ff8[_0x345834(0x24e)]===_0x488ff8['buffer'][_0x345834(0x20d)]?_0x488ff8[_0x345834(0x2a7)]:_0x488ff8['buffer'][_0x345834(0x1b7)](_0x488ff8[_0x345834(0x1eb)],_0x488ff8[_0x345834(0x1eb)]+_0x488ff8[_0x345834(0x24e)]);}function _0x50da1f(_0x2738e7){const _0x5cfb49=_0xb30377;if(_0x50da1f['readOnly']=!0x0,Buffer[_0x5cfb49(0x246)](_0x2738e7))return _0x2738e7;let _0x33eee3;return _0x2738e7 instanceof ArrayBuffer?_0x33eee3=new _0x17c28d(_0x2738e7):ArrayBuffer[_0x5cfb49(0x1bb)](_0x2738e7)?_0x33eee3=new _0x17c28d(_0x2738e7[_0x5cfb49(0x2a7)],_0x2738e7[_0x5cfb49(0x1eb)],_0x2738e7[_0x5cfb49(0x20d)]):(_0x33eee3=Buffer[_0x5cfb49(0x1db)](_0x2738e7),_0x50da1f[_0x5cfb49(0x1ef)]=!0x1),_0x33eee3;}if(se[_0xb30377(0x2cb)]={'concat':_0x3f8f88,'mask':_0x227244,'toArrayBuffer':_0x2568c3,'toBuffer':_0x50da1f,'unmask':_0x92b1e7},!process[_0xb30377(0x1cd)]['WS_NO_BUFFER_UTIL'])try{const _0x535368=Lt;se[_0xb30377(0x2cb)][_0xb30377(0x250)]=function(_0x5299e8,_0x10c8e0,_0x5dbaae,_0x376aa2,_0x2e241f){const _0x1867d9=_0xb30377;_0x2e241f<0x30?_0x227244(_0x5299e8,_0x10c8e0,_0x5dbaae,_0x376aa2,_0x2e241f):_0x535368[_0x1867d9(0x250)](_0x5299e8,_0x10c8e0,_0x5dbaae,_0x376aa2,_0x2e241f);},se[_0xb30377(0x2cb)][_0xb30377(0x2da)]=function(_0x123ee1,_0x492cfb){const _0xd9d384=_0xb30377;_0x123ee1[_0xd9d384(0x24e)]<0x20?_0x92b1e7(_0x123ee1,_0x492cfb):_0x535368[_0xd9d384(0x2da)](_0x123ee1,_0x492cfb);};}catch{}return se[_0xb30377(0x2cb)];}var ye,He;function Pt(){const _0x3ccf90=_0x195cc0;if(He)return ye;He=0x1;const _0xb67dd8=Symbol(_0x3ccf90(0x1f6)),_0x240ccf=Symbol(_0x3ccf90(0x2e4));class _0x51dd70{constructor(_0x5ef05c){const _0x2ff580=_0x3ccf90;this[_0xb67dd8]=()=>{const _0x451983=_0x146b;this[_0x451983(0x302)]--,this[_0x240ccf]();},this[_0x2ff580(0x2b7)]=_0x5ef05c||0x1/0x0,this[_0x2ff580(0x2d1)]=[],this['pending']=0x0;}[_0x3ccf90(0x21b)](_0x3789a6){const _0x59f711=_0x3ccf90;this[_0x59f711(0x2d1)][_0x59f711(0x2f1)](_0x3789a6),this[_0x240ccf]();}[_0x240ccf](){const _0x27eefa=_0x3ccf90;if(this[_0x27eefa(0x302)]!==this[_0x27eefa(0x2b7)]&&this[_0x27eefa(0x2d1)][_0x27eefa(0x24e)]){const _0x2fdb9f=this[_0x27eefa(0x2d1)][_0x27eefa(0x26f)]();this[_0x27eefa(0x302)]++,_0x2fdb9f(this[_0xb67dd8]);}}}return ye=_0x51dd70,ye;}var ve,ze;function he(){const _0x55cb0e=_0x195cc0;if(ze)return ve;ze=0x1;const _0x1b466d=bt,_0x267739=ce(),_0x34fa8c=Pt(),{kStatusCode:_0x126721}=H(),_0x4096a7=Buffer[Symbol[_0x55cb0e(0x201)]],_0x2524af=Buffer[_0x55cb0e(0x1db)]([0x0,0x0,0xff,0xff]),_0x4a6df7=Symbol(_0x55cb0e(0x2fc)),_0x12d13f=Symbol(_0x55cb0e(0x18c)),_0x3eccb2=Symbol('callback'),_0x44ff19=Symbol('buffers'),_0x462249=Symbol(_0x55cb0e(0x1a4));let _0x16e6f5;class _0x527813{constructor(_0x3fde1d,_0x2588a4,_0xae6161){const _0x408a83=_0x55cb0e;if(this['_maxPayload']=_0xae6161|0x0,this[_0x408a83(0x2a4)]=_0x3fde1d||{},this[_0x408a83(0x1d7)]=this[_0x408a83(0x2a4)]['threshold']!==void 0x0?this[_0x408a83(0x2a4)][_0x408a83(0x178)]:0x400,this[_0x408a83(0x2f5)]=!!_0x2588a4,this[_0x408a83(0x283)]=null,this[_0x408a83(0x1a1)]=null,this[_0x408a83(0x22d)]=null,!_0x16e6f5){const _0x328b31=this[_0x408a83(0x2a4)][_0x408a83(0x186)]!==void 0x0?this[_0x408a83(0x2a4)][_0x408a83(0x186)]:0xa;_0x16e6f5=new _0x34fa8c(_0x328b31);}}static get[_0x55cb0e(0x321)](){const _0x218741=_0x55cb0e;return _0x218741(0x2fc);}[_0x55cb0e(0x24d)](){const _0x4ee308=_0x55cb0e,_0x152259={};return this['_options'][_0x4ee308(0x22a)]&&(_0x152259[_0x4ee308(0x1f2)]=!0x0),this[_0x4ee308(0x2a4)][_0x4ee308(0x1f1)]&&(_0x152259[_0x4ee308(0x1ee)]=!0x0),this['_options'][_0x4ee308(0x183)]&&(_0x152259[_0x4ee308(0x1cf)]=this[_0x4ee308(0x2a4)][_0x4ee308(0x183)]),this[_0x4ee308(0x2a4)][_0x4ee308(0x235)]?_0x152259[_0x4ee308(0x18a)]=this[_0x4ee308(0x2a4)][_0x4ee308(0x235)]:this[_0x4ee308(0x2a4)][_0x4ee308(0x235)]==null&&(_0x152259['client_max_window_bits']=!0x0),_0x152259;}[_0x55cb0e(0x286)](_0x1cca4a){const _0x57e631=_0x55cb0e;return _0x1cca4a=this[_0x57e631(0x198)](_0x1cca4a),this[_0x57e631(0x22d)]=this[_0x57e631(0x2f5)]?this['acceptAsServer'](_0x1cca4a):this['acceptAsClient'](_0x1cca4a),this[_0x57e631(0x22d)];}[_0x55cb0e(0x272)](){const _0x229226=_0x55cb0e;if(this['_inflate']&&(this['_inflate'][_0x229226(0x2e1)](),this[_0x229226(0x1a1)]=null),this[_0x229226(0x283)]){const _0x51c4aa=this[_0x229226(0x283)][_0x3eccb2];this[_0x229226(0x283)]['close'](),this[_0x229226(0x283)]=null,_0x51c4aa&&_0x51c4aa(new Error(_0x229226(0x24f)));}}[_0x55cb0e(0x264)](_0x2a562b){const _0x5b64c0=_0x55cb0e,_0xfd572f=this[_0x5b64c0(0x2a4)],_0x2404e7=_0x2a562b[_0x5b64c0(0x1b0)](_0x530a3=>!(_0xfd572f['serverNoContextTakeover']===!0x1&&_0x530a3[_0x5b64c0(0x1f2)]||_0x530a3['server_max_window_bits']&&(_0xfd572f['serverMaxWindowBits']===!0x1||typeof _0xfd572f[_0x5b64c0(0x183)]==_0x5b64c0(0x29e)&&_0xfd572f[_0x5b64c0(0x183)]>_0x530a3[_0x5b64c0(0x1cf)])||typeof _0xfd572f['clientMaxWindowBits']==_0x5b64c0(0x29e)&&!_0x530a3[_0x5b64c0(0x18a)]));if(!_0x2404e7)throw new Error(_0x5b64c0(0x2df));return _0xfd572f[_0x5b64c0(0x22a)]&&(_0x2404e7[_0x5b64c0(0x1f2)]=!0x0),_0xfd572f[_0x5b64c0(0x1f1)]&&(_0x2404e7['client_no_context_takeover']=!0x0),typeof _0xfd572f['serverMaxWindowBits']==_0x5b64c0(0x29e)&&(_0x2404e7[_0x5b64c0(0x1cf)]=_0xfd572f[_0x5b64c0(0x183)]),typeof _0xfd572f[_0x5b64c0(0x235)]==_0x5b64c0(0x29e)?_0x2404e7[_0x5b64c0(0x18a)]=_0xfd572f[_0x5b64c0(0x235)]:(_0x2404e7['client_max_window_bits']===!0x0||_0xfd572f[_0x5b64c0(0x235)]===!0x1)&&delete _0x2404e7[_0x5b64c0(0x18a)],_0x2404e7;}[_0x55cb0e(0x184)](_0x13d76a){const _0x46cf9f=_0x55cb0e,_0x292e58=_0x13d76a[0x0];if(this[_0x46cf9f(0x2a4)][_0x46cf9f(0x1f1)]===!0x1&&_0x292e58[_0x46cf9f(0x1ee)])throw new Error(_0x46cf9f(0x195));if(!_0x292e58[_0x46cf9f(0x18a)])typeof this['_options'][_0x46cf9f(0x235)]==_0x46cf9f(0x29e)&&(_0x292e58[_0x46cf9f(0x18a)]=this[_0x46cf9f(0x2a4)][_0x46cf9f(0x235)]);else{if(this[_0x46cf9f(0x2a4)][_0x46cf9f(0x235)]===!0x1||typeof this[_0x46cf9f(0x2a4)][_0x46cf9f(0x235)]==_0x46cf9f(0x29e)&&_0x292e58['client_max_window_bits']>this[_0x46cf9f(0x2a4)]['clientMaxWindowBits'])throw new Error(_0x46cf9f(0x1d2));}return _0x292e58;}[_0x55cb0e(0x198)](_0x50459a){return _0x50459a['forEach'](_0x38d69a=>{const _0x858003=_0x146b;Object['keys'](_0x38d69a)[_0x858003(0x166)](_0x40be4d=>{const _0x4beeaf=_0x858003;let _0x230848=_0x38d69a[_0x40be4d];if(_0x230848[_0x4beeaf(0x24e)]>0x1)throw new Error(_0x4beeaf(0x17f)+_0x40be4d+_0x4beeaf(0x1a0));if(_0x230848=_0x230848[0x0],_0x40be4d===_0x4beeaf(0x18a)){if(_0x230848!==!0x0){const _0x454ee7=+_0x230848;if(!Number[_0x4beeaf(0x220)](_0x454ee7)||_0x454ee7<0x8||_0x454ee7>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x40be4d+_0x4beeaf(0x307)+_0x230848);_0x230848=_0x454ee7;}else{if(!this[_0x4beeaf(0x2f5)])throw new TypeError(_0x4beeaf(0x214)+_0x40be4d+'\x22:\x20'+_0x230848);}}else{if(_0x40be4d===_0x4beeaf(0x1cf)){const _0x3e25dd=+_0x230848;if(!Number[_0x4beeaf(0x220)](_0x3e25dd)||_0x3e25dd<0x8||_0x3e25dd>0xf)throw new TypeError(_0x4beeaf(0x214)+_0x40be4d+'\x22:\x20'+_0x230848);_0x230848=_0x3e25dd;}else{if(_0x40be4d==='client_no_context_takeover'||_0x40be4d===_0x4beeaf(0x1f2)){if(_0x230848!==!0x0)throw new TypeError(_0x4beeaf(0x214)+_0x40be4d+_0x4beeaf(0x307)+_0x230848);}else throw new Error(_0x4beeaf(0x215)+_0x40be4d+'\x22');}}_0x38d69a[_0x40be4d]=_0x230848;});}),_0x50459a;}['decompress'](_0xeb3143,_0x2154c3,_0x325bbf){const _0x19d960=_0x55cb0e;_0x16e6f5[_0x19d960(0x21b)](_0x3aca9c=>{this['_decompress'](_0xeb3143,_0x2154c3,(_0x531393,_0x5eafcb)=>{_0x3aca9c(),_0x325bbf(_0x531393,_0x5eafcb);});});}['compress'](_0x5e12f3,_0x448480,_0x469bd5){const _0x7c3a02=_0x55cb0e;_0x16e6f5[_0x7c3a02(0x21b)](_0x3830e9=>{const _0x518c48=_0x7c3a02;this[_0x518c48(0x225)](_0x5e12f3,_0x448480,(_0x19ef83,_0x53a197)=>{_0x3830e9(),_0x469bd5(_0x19ef83,_0x53a197);});});}[_0x55cb0e(0x290)](_0x30c9a2,_0x3cf2d4,_0x4b4571){const _0x8b7866=_0x55cb0e,_0x13e395=this[_0x8b7866(0x2f5)]?'client':'server';if(!this[_0x8b7866(0x1a1)]){const _0xbd0744=_0x13e395+'_max_window_bits',_0x5404cd=typeof this[_0x8b7866(0x22d)][_0xbd0744]!=_0x8b7866(0x29e)?_0x1b466d['Z_DEFAULT_WINDOWBITS']:this['params'][_0xbd0744];this[_0x8b7866(0x1a1)]=_0x1b466d['createInflateRaw']({...this[_0x8b7866(0x2a4)][_0x8b7866(0x20a)],'windowBits':_0x5404cd}),this['_inflate'][_0x4a6df7]=this,this[_0x8b7866(0x1a1)][_0x12d13f]=0x0,this[_0x8b7866(0x1a1)][_0x44ff19]=[],this[_0x8b7866(0x1a1)]['on'](_0x8b7866(0x1a4),_0x45a8ec),this['_inflate']['on'](_0x8b7866(0x305),_0x156e7c);}this[_0x8b7866(0x1a1)][_0x3eccb2]=_0x4b4571,this[_0x8b7866(0x1a1)]['write'](_0x30c9a2),_0x3cf2d4&&this[_0x8b7866(0x1a1)]['write'](_0x2524af),this[_0x8b7866(0x1a1)][_0x8b7866(0x204)](()=>{const _0x327bec=_0x8b7866,_0x3cb2e5=this[_0x327bec(0x1a1)][_0x462249];if(_0x3cb2e5){this['_inflate']['close'](),this[_0x327bec(0x1a1)]=null,_0x4b4571(_0x3cb2e5);return;}const _0x2ca175=_0x267739[_0x327bec(0x30d)](this[_0x327bec(0x1a1)][_0x44ff19],this[_0x327bec(0x1a1)][_0x12d13f]);this[_0x327bec(0x1a1)][_0x327bec(0x231)]['endEmitted']?(this[_0x327bec(0x1a1)][_0x327bec(0x2e1)](),this[_0x327bec(0x1a1)]=null):(this[_0x327bec(0x1a1)][_0x12d13f]=0x0,this[_0x327bec(0x1a1)][_0x44ff19]=[],_0x3cf2d4&&this[_0x327bec(0x22d)][_0x13e395+_0x327bec(0x313)]&&this[_0x327bec(0x1a1)][_0x327bec(0x1da)]()),_0x4b4571(null,_0x2ca175);});}[_0x55cb0e(0x225)](_0x3a8c8d,_0x537549,_0x101ce5){const _0x17586c=_0x55cb0e,_0x28564e=this[_0x17586c(0x2f5)]?'server':'client';if(!this['_deflate']){const _0x4cd009=_0x28564e+_0x17586c(0x205),_0x30a003=typeof this['params'][_0x4cd009]!='number'?_0x1b466d[_0x17586c(0x2f6)]:this[_0x17586c(0x22d)][_0x4cd009];this['_deflate']=_0x1b466d['createDeflateRaw']({...this[_0x17586c(0x2a4)][_0x17586c(0x31e)],'windowBits':_0x30a003}),this['_deflate'][_0x12d13f]=0x0,this['_deflate'][_0x44ff19]=[],this[_0x17586c(0x283)]['on'](_0x17586c(0x305),_0x1ab757);}this[_0x17586c(0x283)][_0x3eccb2]=_0x101ce5,this[_0x17586c(0x283)][_0x17586c(0x232)](_0x3a8c8d),this[_0x17586c(0x283)]['flush'](_0x1b466d[_0x17586c(0x1c9)],()=>{const _0x38c29a=_0x17586c;if(!this['_deflate'])return;let _0x17b3a7=_0x267739['concat'](this[_0x38c29a(0x283)][_0x44ff19],this[_0x38c29a(0x283)][_0x12d13f]);_0x537549&&(_0x17b3a7=new _0x4096a7(_0x17b3a7[_0x38c29a(0x2a7)],_0x17b3a7[_0x38c29a(0x1eb)],_0x17b3a7['length']-0x4)),this[_0x38c29a(0x283)][_0x3eccb2]=null,this[_0x38c29a(0x283)][_0x12d13f]=0x0,this[_0x38c29a(0x283)][_0x44ff19]=[],_0x537549&&this[_0x38c29a(0x22d)][_0x28564e+_0x38c29a(0x313)]&&this[_0x38c29a(0x283)][_0x38c29a(0x1da)](),_0x101ce5(null,_0x17b3a7);});}}ve=_0x527813;function _0x1ab757(_0x42ec6d){const _0x2bf8f7=_0x55cb0e;this[_0x44ff19][_0x2bf8f7(0x2f1)](_0x42ec6d),this[_0x12d13f]+=_0x42ec6d['length'];}function _0x156e7c(_0x3ee209){const _0x4c4da9=_0x55cb0e;if(this[_0x12d13f]+=_0x3ee209[_0x4c4da9(0x24e)],this[_0x4a6df7][_0x4c4da9(0x2fa)]<0x1||this[_0x12d13f]<=this[_0x4a6df7]['_maxPayload']){this[_0x44ff19][_0x4c4da9(0x2f1)](_0x3ee209);return;}this[_0x462249]=new RangeError(_0x4c4da9(0x1c4)),this[_0x462249]['code']=_0x4c4da9(0x241),this[_0x462249][_0x126721]=0x3f1,this[_0x4c4da9(0x1a5)](_0x4c4da9(0x305),_0x156e7c),this['reset']();}function _0x45a8ec(_0x263fa4){const _0x40565e=_0x55cb0e;if(this[_0x4a6df7][_0x40565e(0x1a1)]=null,this[_0x462249]){this[_0x3eccb2](this[_0x462249]);return;}_0x263fa4[_0x126721]=0x3ef,this[_0x3eccb2](_0x263fa4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x195cc0(0x292)]({'__proto__':null,'default':Dt},Symbol[_0x195cc0(0x2ce)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5b07f8=_0x195cc0;if(Ye)return ie[_0x5b07f8(0x2cb)];Ye=0x1;const {isUtf8:_0x76ae6f}=wt,{hasBlob:_0x5c8d62}=H(),_0xfbae=[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 _0x2a2523(_0x30a220){return _0x30a220>=0x3e8&&_0x30a220<=0x3f6&&_0x30a220!==0x3ec&&_0x30a220!==0x3ed&&_0x30a220!==0x3ee||_0x30a220>=0xbb8&&_0x30a220<=0x1387;}function _0x3214c8(_0x4e17ba){const _0x3095bd=_0x5b07f8,_0x46581f=_0x4e17ba[_0x3095bd(0x24e)];let _0x730044=0x0;for(;_0x730044<_0x46581f;)if((_0x4e17ba[_0x730044]&0x80)===0x0)_0x730044++;else{if((_0x4e17ba[_0x730044]&0xe0)===0xc0){if(_0x730044+0x1===_0x46581f||(_0x4e17ba[_0x730044+0x1]&0xc0)!==0x80||(_0x4e17ba[_0x730044]&0xfe)===0xc0)return!0x1;_0x730044+=0x2;}else{if((_0x4e17ba[_0x730044]&0xf0)===0xe0){if(_0x730044+0x2>=_0x46581f||(_0x4e17ba[_0x730044+0x1]&0xc0)!==0x80||(_0x4e17ba[_0x730044+0x2]&0xc0)!==0x80||_0x4e17ba[_0x730044]===0xe0&&(_0x4e17ba[_0x730044+0x1]&0xe0)===0x80||_0x4e17ba[_0x730044]===0xed&&(_0x4e17ba[_0x730044+0x1]&0xe0)===0xa0)return!0x1;_0x730044+=0x3;}else{if((_0x4e17ba[_0x730044]&0xf8)===0xf0){if(_0x730044+0x3>=_0x46581f||(_0x4e17ba[_0x730044+0x1]&0xc0)!==0x80||(_0x4e17ba[_0x730044+0x2]&0xc0)!==0x80||(_0x4e17ba[_0x730044+0x3]&0xc0)!==0x80||_0x4e17ba[_0x730044]===0xf0&&(_0x4e17ba[_0x730044+0x1]&0xf0)===0x80||_0x4e17ba[_0x730044]===0xf4&&_0x4e17ba[_0x730044+0x1]>0x8f||_0x4e17ba[_0x730044]>0xf4)return!0x1;_0x730044+=0x4;}else return!0x1;}}}return!0x0;}function _0xd59f2b(_0x444d43){const _0x2a04ff=_0x5b07f8;return _0x5c8d62&&typeof _0x444d43==_0x2a04ff(0x23e)&&typeof _0x444d43[_0x2a04ff(0x1df)]==_0x2a04ff(0x20f)&&typeof _0x444d43['type']=='string'&&typeof _0x444d43['stream']==_0x2a04ff(0x20f)&&(_0x444d43[Symbol[_0x2a04ff(0x2ce)]]===_0x2a04ff(0x2a2)||_0x444d43[Symbol['toStringTag']]===_0x2a04ff(0x309));}if(ie[_0x5b07f8(0x2cb)]={'isBlob':_0xd59f2b,'isValidStatusCode':_0x2a2523,'isValidUTF8':_0x3214c8,'tokenChars':_0xfbae},_0x76ae6f)ie[_0x5b07f8(0x2cb)][_0x5b07f8(0x1a9)]=function(_0x387797){const _0x2818f9=_0x5b07f8;return _0x387797[_0x2818f9(0x24e)]<0x18?_0x3214c8(_0x387797):_0x76ae6f(_0x387797);};else{if(!process[_0x5b07f8(0x1cd)][_0x5b07f8(0x237)])try{const _0x38a383=Bt;ie[_0x5b07f8(0x2cb)][_0x5b07f8(0x1a9)]=function(_0x740ebc){const _0x451a7c=_0x5b07f8;return _0x740ebc[_0x451a7c(0x24e)]<0x20?_0x3214c8(_0x740ebc):_0x38a383(_0x740ebc);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x54ad06=_0x195cc0;if(Ke)return Se;Ke=0x1;const {Writable:_0x579b13}=oe,_0x39334f=he(),{BINARY_TYPES:_0x16403f,EMPTY_BUFFER:_0x187b4a,kStatusCode:_0x1357ed,kWebSocket:_0xb3d4c}=H(),{concat:_0x43c7fc,toArrayBuffer:_0x43b215,unmask:_0x3c7f3c}=ce(),{isValidStatusCode:_0x489eec,isValidUTF8:_0x336d87}=ae(),_0x6d3e15=Buffer[Symbol['species']],_0xfc35cf=0x0,_0xcca0ca=0x1,_0x2ea536=0x2,_0x56f214=0x3,_0x5e7b47=0x4,_0x1e9e14=0x5,_0x16171e=0x6;class _0xf59da9 extends _0x579b13{constructor(_0x4fa9ff={}){const _0x194536=_0x146b;super(),this['_allowSynchronousEvents']=_0x4fa9ff['allowSynchronousEvents']!==void 0x0?_0x4fa9ff['allowSynchronousEvents']:!0x0,this[_0x194536(0x2f9)]=_0x4fa9ff[_0x194536(0x1c0)]||_0x16403f[0x0],this[_0x194536(0x165)]=_0x4fa9ff[_0x194536(0x1a2)]||{},this[_0x194536(0x2f5)]=!!_0x4fa9ff['isServer'],this['_maxPayload']=_0x4fa9ff[_0x194536(0x2bc)]|0x0,this[_0x194536(0x2aa)]=!!_0x4fa9ff[_0x194536(0x2c1)],this[_0xb3d4c]=void 0x0,this[_0x194536(0x304)]=0x0,this[_0x194536(0x197)]=[],this['_compressed']=!0x1,this[_0x194536(0x238)]=0x0,this[_0x194536(0x1b1)]=void 0x0,this[_0x194536(0x1bd)]=0x0,this[_0x194536(0x2ef)]=!0x1,this[_0x194536(0x221)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x194536(0x20e)]=[],this[_0x194536(0x2c3)]=!0x1,this[_0x194536(0x213)]=!0x1,this[_0x194536(0x273)]=_0xfc35cf;}[_0x54ad06(0x249)](_0xbce96a,_0x4bbee6,_0x627e01){const _0x25427a=_0x54ad06;if(this[_0x25427a(0x2b9)]===0x8&&this[_0x25427a(0x273)]==_0xfc35cf)return _0x627e01();this[_0x25427a(0x304)]+=_0xbce96a[_0x25427a(0x24e)],this['_buffers']['push'](_0xbce96a),this[_0x25427a(0x252)](_0x627e01);}[_0x54ad06(0x1d4)](_0x15a945){const _0x1d376a=_0x54ad06;if(this[_0x1d376a(0x304)]-=_0x15a945,_0x15a945===this['_buffers'][0x0]['length'])return this['_buffers'][_0x1d376a(0x26f)]();if(_0x15a945<this[_0x1d376a(0x197)][0x0][_0x1d376a(0x24e)]){const _0x42012c=this[_0x1d376a(0x197)][0x0];return this[_0x1d376a(0x197)][0x0]=new _0x6d3e15(_0x42012c[_0x1d376a(0x2a7)],_0x42012c['byteOffset']+_0x15a945,_0x42012c[_0x1d376a(0x24e)]-_0x15a945),new _0x6d3e15(_0x42012c[_0x1d376a(0x2a7)],_0x42012c[_0x1d376a(0x1eb)],_0x15a945);}const _0x131519=Buffer[_0x1d376a(0x2d5)](_0x15a945);do{const _0x370197=this[_0x1d376a(0x197)][0x0],_0x48a267=_0x131519[_0x1d376a(0x24e)]-_0x15a945;_0x15a945>=_0x370197['length']?_0x131519[_0x1d376a(0x1fc)](this[_0x1d376a(0x197)][_0x1d376a(0x26f)](),_0x48a267):(_0x131519[_0x1d376a(0x1fc)](new Uint8Array(_0x370197[_0x1d376a(0x2a7)],_0x370197[_0x1d376a(0x1eb)],_0x15a945),_0x48a267),this[_0x1d376a(0x197)][0x0]=new _0x6d3e15(_0x370197['buffer'],_0x370197['byteOffset']+_0x15a945,_0x370197[_0x1d376a(0x24e)]-_0x15a945)),_0x15a945-=_0x370197['length'];}while(_0x15a945>0x0);return _0x131519;}[_0x54ad06(0x252)](_0x7587a9){const _0x5e11da=_0x54ad06;this[_0x5e11da(0x213)]=!0x0;do switch(this[_0x5e11da(0x273)]){case _0xfc35cf:this[_0x5e11da(0x1f9)](_0x7587a9);break;case _0xcca0ca:this[_0x5e11da(0x21a)](_0x7587a9);break;case _0x2ea536:this[_0x5e11da(0x16d)](_0x7587a9);break;case _0x56f214:this[_0x5e11da(0x16b)]();break;case _0x5e7b47:this['getData'](_0x7587a9);break;case _0x1e9e14:case _0x16171e:this['_loop']=!0x1;return;}while(this[_0x5e11da(0x213)]);this['_errored']||_0x7587a9();}[_0x54ad06(0x1f9)](_0x591edb){const _0x277d20=_0x54ad06;if(this[_0x277d20(0x304)]<0x2){this[_0x277d20(0x213)]=!0x1;return;}const _0x3da56d=this['consume'](0x2);if((_0x3da56d[0x0]&0x30)!==0x0){const _0x5ea9d7=this[_0x277d20(0x1dc)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x591edb(_0x5ea9d7);return;}const _0x499123=(_0x3da56d[0x0]&0x40)===0x40;if(_0x499123&&!this['_extensions'][_0x39334f[_0x277d20(0x321)]]){const _0xa4e14=this[_0x277d20(0x1dc)](RangeError,_0x277d20(0x255),!0x0,0x3ea,_0x277d20(0x27b));_0x591edb(_0xa4e14);return;}if(this[_0x277d20(0x221)]=(_0x3da56d[0x0]&0x80)===0x80,this[_0x277d20(0x2b9)]=_0x3da56d[0x0]&0xf,this[_0x277d20(0x238)]=_0x3da56d[0x1]&0x7f,this['_opcode']===0x0){if(_0x499123){const _0x4648ee=this['createError'](RangeError,_0x277d20(0x255),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x591edb(_0x4648ee);return;}if(!this[_0x277d20(0x1bd)]){const _0x3e364d=this['createError'](RangeError,_0x277d20(0x1cb),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x591edb(_0x3e364d);return;}this[_0x277d20(0x2b9)]=this[_0x277d20(0x1bd)];}else{if(this['_opcode']===0x1||this[_0x277d20(0x2b9)]===0x2){if(this[_0x277d20(0x1bd)]){const _0x228fac=this['createError'](RangeError,_0x277d20(0x19f)+this[_0x277d20(0x2b9)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x591edb(_0x228fac);return;}this['_compressed']=_0x499123;}else{if(this['_opcode']>0x7&&this[_0x277d20(0x2b9)]<0xb){if(!this['_fin']){const _0x3ddfb9=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x277d20(0x28d));_0x591edb(_0x3ddfb9);return;}if(_0x499123){const _0x5c4e24=this[_0x277d20(0x1dc)](RangeError,_0x277d20(0x255),!0x0,0x3ea,_0x277d20(0x27b));_0x591edb(_0x5c4e24);return;}if(this[_0x277d20(0x238)]>0x7d||this[_0x277d20(0x2b9)]===0x8&&this[_0x277d20(0x238)]===0x1){const _0x1a26c5=this[_0x277d20(0x1dc)](RangeError,_0x277d20(0x1c1)+this[_0x277d20(0x238)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x591edb(_0x1a26c5);return;}}else{const _0x3db43c=this[_0x277d20(0x1dc)](RangeError,'invalid\x20opcode\x20'+this[_0x277d20(0x2b9)],!0x0,0x3ea,_0x277d20(0x30e));_0x591edb(_0x3db43c);return;}}}if(!this[_0x277d20(0x221)]&&!this['_fragmented']&&(this[_0x277d20(0x1bd)]=this[_0x277d20(0x2b9)]),this[_0x277d20(0x2ef)]=(_0x3da56d[0x1]&0x80)===0x80,this[_0x277d20(0x2f5)]){if(!this[_0x277d20(0x2ef)]){const _0x2bee48=this[_0x277d20(0x1dc)](RangeError,_0x277d20(0x1e5),!0x0,0x3ea,_0x277d20(0x2e0));_0x591edb(_0x2bee48);return;}}else{if(this[_0x277d20(0x2ef)]){const _0x44a56c=this[_0x277d20(0x1dc)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x277d20(0x25a));_0x591edb(_0x44a56c);return;}}this[_0x277d20(0x238)]===0x7e?this['_state']=_0xcca0ca:this[_0x277d20(0x238)]===0x7f?this[_0x277d20(0x273)]=_0x2ea536:this[_0x277d20(0x1bc)](_0x591edb);}[_0x54ad06(0x21a)](_0x2465c8){const _0x1ba277=_0x54ad06;if(this[_0x1ba277(0x304)]<0x2){this[_0x1ba277(0x213)]=!0x1;return;}this[_0x1ba277(0x238)]=this[_0x1ba277(0x1d4)](0x2)['readUInt16BE'](0x0),this[_0x1ba277(0x1bc)](_0x2465c8);}[_0x54ad06(0x16d)](_0x57271b){const _0x493ac6=_0x54ad06;if(this[_0x493ac6(0x304)]<0x8){this[_0x493ac6(0x213)]=!0x1;return;}const _0x306051=this[_0x493ac6(0x1d4)](0x8),_0x3a68da=_0x306051[_0x493ac6(0x23a)](0x0);if(_0x3a68da>Math[_0x493ac6(0x2cc)](0x2,0x15)-0x1){const _0xe5741c=this[_0x493ac6(0x1dc)](RangeError,_0x493ac6(0x297),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x57271b(_0xe5741c);return;}this[_0x493ac6(0x238)]=_0x3a68da*Math[_0x493ac6(0x2cc)](0x2,0x20)+_0x306051['readUInt32BE'](0x4),this[_0x493ac6(0x1bc)](_0x57271b);}['haveLength'](_0x266194){const _0x227e90=_0x54ad06;if(this[_0x227e90(0x238)]&&this['_opcode']<0x8&&(this[_0x227e90(0x288)]+=this['_payloadLength'],this[_0x227e90(0x288)]>this['_maxPayload']&&this[_0x227e90(0x2fa)]>0x0)){const _0x6c8251=this[_0x227e90(0x1dc)](RangeError,_0x227e90(0x1c4),!0x1,0x3f1,_0x227e90(0x241));_0x266194(_0x6c8251);return;}this['_masked']?this[_0x227e90(0x273)]=_0x56f214:this['_state']=_0x5e7b47;}[_0x54ad06(0x16b)](){const _0x445dd6=_0x54ad06;if(this[_0x445dd6(0x304)]<0x4){this[_0x445dd6(0x213)]=!0x1;return;}this[_0x445dd6(0x1b1)]=this[_0x445dd6(0x1d4)](0x4),this[_0x445dd6(0x273)]=_0x5e7b47;}[_0x54ad06(0x1a3)](_0x141155){const _0x1b42dc=_0x54ad06;let _0x3ecce6=_0x187b4a;if(this[_0x1b42dc(0x238)]){if(this['_bufferedBytes']<this[_0x1b42dc(0x238)]){this[_0x1b42dc(0x213)]=!0x1;return;}_0x3ecce6=this[_0x1b42dc(0x1d4)](this[_0x1b42dc(0x238)]),this[_0x1b42dc(0x2ef)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x3c7f3c(_0x3ecce6,this[_0x1b42dc(0x1b1)]);}if(this[_0x1b42dc(0x2b9)]>0x7){this['controlMessage'](_0x3ecce6,_0x141155);return;}if(this[_0x1b42dc(0x2c9)]){this['_state']=_0x1e9e14,this[_0x1b42dc(0x25b)](_0x3ecce6,_0x141155);return;}_0x3ecce6[_0x1b42dc(0x24e)]&&(this[_0x1b42dc(0x20c)]=this['_totalPayloadLength'],this[_0x1b42dc(0x20e)]['push'](_0x3ecce6)),this[_0x1b42dc(0x25e)](_0x141155);}[_0x54ad06(0x25b)](_0x5c3807,_0x2ef769){const _0x5009e3=_0x54ad06;this[_0x5009e3(0x165)][_0x39334f[_0x5009e3(0x321)]][_0x5009e3(0x25b)](_0x5c3807,this[_0x5009e3(0x221)],(_0x263fcf,_0x1e592c)=>{const _0x14e2b1=_0x5009e3;if(_0x263fcf)return _0x2ef769(_0x263fcf);if(_0x1e592c[_0x14e2b1(0x24e)]){if(this[_0x14e2b1(0x20c)]+=_0x1e592c[_0x14e2b1(0x24e)],this[_0x14e2b1(0x20c)]>this[_0x14e2b1(0x2fa)]&&this[_0x14e2b1(0x2fa)]>0x0){const _0x19f164=this[_0x14e2b1(0x1dc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x14e2b1(0x241));_0x2ef769(_0x19f164);return;}this[_0x14e2b1(0x20e)][_0x14e2b1(0x2f1)](_0x1e592c);}this[_0x14e2b1(0x25e)](_0x2ef769),this[_0x14e2b1(0x273)]===_0xfc35cf&&this['startLoop'](_0x2ef769);});}[_0x54ad06(0x25e)](_0x352447){const _0x2ee0dc=_0x54ad06;if(!this[_0x2ee0dc(0x221)]){this[_0x2ee0dc(0x273)]=_0xfc35cf;return;}const _0x107e0c=this[_0x2ee0dc(0x20c)],_0x1618d1=this[_0x2ee0dc(0x20e)];if(this[_0x2ee0dc(0x288)]=0x0,this[_0x2ee0dc(0x20c)]=0x0,this['_fragmented']=0x0,this[_0x2ee0dc(0x20e)]=[],this[_0x2ee0dc(0x2b9)]===0x2){let _0x3d1dc4;this['_binaryType']==='nodebuffer'?_0x3d1dc4=_0x43c7fc(_0x1618d1,_0x107e0c):this[_0x2ee0dc(0x2f9)]===_0x2ee0dc(0x1fe)?_0x3d1dc4=_0x43b215(_0x43c7fc(_0x1618d1,_0x107e0c)):this[_0x2ee0dc(0x2f9)]===_0x2ee0dc(0x19e)?_0x3d1dc4=new Blob(_0x1618d1):_0x3d1dc4=_0x1618d1,this[_0x2ee0dc(0x2fd)]?(this['emit']('message',_0x3d1dc4,!0x0),this[_0x2ee0dc(0x273)]=_0xfc35cf):(this[_0x2ee0dc(0x273)]=_0x16171e,setImmediate(()=>{const _0x2b7ad5=_0x2ee0dc;this[_0x2b7ad5(0x2d7)](_0x2b7ad5(0x2e7),_0x3d1dc4,!0x0),this['_state']=_0xfc35cf,this['startLoop'](_0x352447);}));}else{const _0x3f3961=_0x43c7fc(_0x1618d1,_0x107e0c);if(!this[_0x2ee0dc(0x2aa)]&&!_0x336d87(_0x3f3961)){const _0x3d5ac7=this[_0x2ee0dc(0x1dc)](Error,_0x2ee0dc(0x31f),!0x0,0x3ef,_0x2ee0dc(0x2de));_0x352447(_0x3d5ac7);return;}this[_0x2ee0dc(0x273)]===_0x1e9e14||this[_0x2ee0dc(0x2fd)]?(this[_0x2ee0dc(0x2d7)](_0x2ee0dc(0x2e7),_0x3f3961,!0x1),this[_0x2ee0dc(0x273)]=_0xfc35cf):(this[_0x2ee0dc(0x273)]=_0x16171e,setImmediate(()=>{const _0x935ff=_0x2ee0dc;this['emit'](_0x935ff(0x2e7),_0x3f3961,!0x1),this[_0x935ff(0x273)]=_0xfc35cf,this[_0x935ff(0x252)](_0x352447);}));}}[_0x54ad06(0x1e3)](_0x1ae9db,_0x5ef832){const _0x5a08a8=_0x54ad06;if(this[_0x5a08a8(0x2b9)]===0x8){if(_0x1ae9db['length']===0x0)this[_0x5a08a8(0x213)]=!0x1,this[_0x5a08a8(0x2d7)](_0x5a08a8(0x1a6),0x3ed,_0x187b4a),this[_0x5a08a8(0x2ae)]();else{const _0x5dd16f=_0x1ae9db[_0x5a08a8(0x285)](0x0);if(!_0x489eec(_0x5dd16f)){const _0x16a6bb=this[_0x5a08a8(0x1dc)](RangeError,_0x5a08a8(0x206)+_0x5dd16f,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5ef832(_0x16a6bb);return;}const _0x2d96ef=new _0x6d3e15(_0x1ae9db[_0x5a08a8(0x2a7)],_0x1ae9db[_0x5a08a8(0x1eb)]+0x2,_0x1ae9db['length']-0x2);if(!this[_0x5a08a8(0x2aa)]&&!_0x336d87(_0x2d96ef)){const _0x706b3a=this[_0x5a08a8(0x1dc)](Error,_0x5a08a8(0x31f),!0x0,0x3ef,_0x5a08a8(0x2de));_0x5ef832(_0x706b3a);return;}this[_0x5a08a8(0x213)]=!0x1,this['emit'](_0x5a08a8(0x1a6),_0x5dd16f,_0x2d96ef),this['end']();}this[_0x5a08a8(0x273)]=_0xfc35cf;return;}this[_0x5a08a8(0x2fd)]?(this['emit'](this[_0x5a08a8(0x2b9)]===0x9?_0x5a08a8(0x295):_0x5a08a8(0x1b3),_0x1ae9db),this[_0x5a08a8(0x273)]=_0xfc35cf):(this['_state']=_0x16171e,setImmediate(()=>{const _0x1e0463=_0x5a08a8;this[_0x1e0463(0x2d7)](this[_0x1e0463(0x2b9)]===0x9?'ping':_0x1e0463(0x1b3),_0x1ae9db),this[_0x1e0463(0x273)]=_0xfc35cf,this['startLoop'](_0x5ef832);}));}['createError'](_0x387e25,_0x6950be,_0x5ef88a,_0x5e1eb0,_0x2bb08b){const _0x1f6918=_0x54ad06;this[_0x1f6918(0x213)]=!0x1,this['_errored']=!0x0;const _0x26df20=new _0x387e25(_0x5ef88a?_0x1f6918(0x199)+_0x6950be:_0x6950be);return Error[_0x1f6918(0x210)](_0x26df20,this[_0x1f6918(0x1dc)]),_0x26df20['code']=_0x2bb08b,_0x26df20[_0x1357ed]=_0x5e1eb0,_0x26df20;}}return Se=_0xf59da9,Se;}var Ee,Xe;function ft(){const _0x258881=_0x195cc0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2d64e9}=oe,{randomFillSync:_0xe72ef4}=Le,_0x3b5ca2=he(),{EMPTY_BUFFER:_0xc43439,kWebSocket:_0x29dc21,NOOP:_0x40aa3e}=H(),{isBlob:_0xa8b485,isValidStatusCode:_0x2801ef}=ae(),{mask:_0x520671,toBuffer:_0x5eb174}=ce(),_0x5aa114=Symbol(_0x258881(0x1fd)),_0x1938f5=Buffer[_0x258881(0x173)](0x4),_0x52b2fb=0x8*0x400;let _0x25f637,_0x3d1dc6=_0x52b2fb;const _0x69f52=0x0,_0xabb570=0x1,_0x220e11=0x2;class _0x5da9af{constructor(_0x3c8f73,_0x25aba7,_0x773207){const _0x5aa947=_0x258881;this[_0x5aa947(0x165)]=_0x25aba7||{},_0x773207&&(this['_generateMask']=_0x773207,this['_maskBuffer']=Buffer[_0x5aa947(0x173)](0x4)),this[_0x5aa947(0x2e8)]=_0x3c8f73,this[_0x5aa947(0x314)]=!0x0,this['_compress']=!0x1,this[_0x5aa947(0x304)]=0x0,this[_0x5aa947(0x271)]=[],this[_0x5aa947(0x273)]=_0x69f52,this[_0x5aa947(0x311)]=_0x40aa3e,this[_0x29dc21]=void 0x0;}static['frame'](_0x441563,_0x49e494){const _0x2843e8=_0x258881;let _0x768d86,_0x595741=!0x1,_0x6daa3a=0x2,_0x293b4e=!0x1;_0x49e494['mask']&&(_0x768d86=_0x49e494[_0x2843e8(0x1d1)]||_0x1938f5,_0x49e494['generateMask']?_0x49e494[_0x2843e8(0x2a1)](_0x768d86):(_0x3d1dc6===_0x52b2fb&&(_0x25f637===void 0x0&&(_0x25f637=Buffer['alloc'](_0x52b2fb)),_0xe72ef4(_0x25f637,0x0,_0x52b2fb),_0x3d1dc6=0x0),_0x768d86[0x0]=_0x25f637[_0x3d1dc6++],_0x768d86[0x1]=_0x25f637[_0x3d1dc6++],_0x768d86[0x2]=_0x25f637[_0x3d1dc6++],_0x768d86[0x3]=_0x25f637[_0x3d1dc6++]),_0x293b4e=(_0x768d86[0x0]|_0x768d86[0x1]|_0x768d86[0x2]|_0x768d86[0x3])===0x0,_0x6daa3a=0x6);let _0x21e4b9;typeof _0x441563==_0x2843e8(0x1d3)?(!_0x49e494['mask']||_0x293b4e)&&_0x49e494[_0x5aa114]!==void 0x0?_0x21e4b9=_0x49e494[_0x5aa114]:(_0x441563=Buffer[_0x2843e8(0x1db)](_0x441563),_0x21e4b9=_0x441563['length']):(_0x21e4b9=_0x441563['length'],_0x595741=_0x49e494[_0x2843e8(0x250)]&&_0x49e494[_0x2843e8(0x1ef)]&&!_0x293b4e);let _0xb191ca=_0x21e4b9;_0x21e4b9>=0x10000?(_0x6daa3a+=0x8,_0xb191ca=0x7f):_0x21e4b9>0x7d&&(_0x6daa3a+=0x2,_0xb191ca=0x7e);const _0x27e9d2=Buffer[_0x2843e8(0x2d5)](_0x595741?_0x21e4b9+_0x6daa3a:_0x6daa3a);return _0x27e9d2[0x0]=_0x49e494['fin']?_0x49e494[_0x2843e8(0x244)]|0x80:_0x49e494[_0x2843e8(0x244)],_0x49e494[_0x2843e8(0x27c)]&&(_0x27e9d2[0x0]|=0x40),_0x27e9d2[0x1]=_0xb191ca,_0xb191ca===0x7e?_0x27e9d2[_0x2843e8(0x203)](_0x21e4b9,0x2):_0xb191ca===0x7f&&(_0x27e9d2[0x2]=_0x27e9d2[0x3]=0x0,_0x27e9d2[_0x2843e8(0x2c0)](_0x21e4b9,0x4,0x6)),_0x49e494['mask']?(_0x27e9d2[0x1]|=0x80,_0x27e9d2[_0x6daa3a-0x4]=_0x768d86[0x0],_0x27e9d2[_0x6daa3a-0x3]=_0x768d86[0x1],_0x27e9d2[_0x6daa3a-0x2]=_0x768d86[0x2],_0x27e9d2[_0x6daa3a-0x1]=_0x768d86[0x3],_0x293b4e?[_0x27e9d2,_0x441563]:_0x595741?(_0x520671(_0x441563,_0x768d86,_0x27e9d2,_0x6daa3a,_0x21e4b9),[_0x27e9d2]):(_0x520671(_0x441563,_0x768d86,_0x441563,0x0,_0x21e4b9),[_0x27e9d2,_0x441563])):[_0x27e9d2,_0x441563];}[_0x258881(0x2e1)](_0x465150,_0x531e25,_0x38d411,_0x12ceb8){const _0x589e52=_0x258881;let _0x4acc5e;if(_0x465150===void 0x0)_0x4acc5e=_0xc43439;else{if(typeof _0x465150!=_0x589e52(0x29e)||!_0x2801ef(_0x465150))throw new TypeError(_0x589e52(0x21c));if(_0x531e25===void 0x0||!_0x531e25[_0x589e52(0x24e)])_0x4acc5e=Buffer[_0x589e52(0x2d5)](0x2),_0x4acc5e[_0x589e52(0x203)](_0x465150,0x0);else{const _0x552c1a=Buffer[_0x589e52(0x20d)](_0x531e25);if(_0x552c1a>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4acc5e=Buffer[_0x589e52(0x2d5)](0x2+_0x552c1a),_0x4acc5e['writeUInt16BE'](_0x465150,0x0),typeof _0x531e25==_0x589e52(0x1d3)?_0x4acc5e['write'](_0x531e25,0x2):_0x4acc5e[_0x589e52(0x1fc)](_0x531e25,0x2);}}const _0x2cdcdd={[_0x5aa114]:_0x4acc5e[_0x589e52(0x24e)],'fin':!0x0,'generateMask':this[_0x589e52(0x29f)],'mask':_0x38d411,'maskBuffer':this[_0x589e52(0x28e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x589e52(0x273)]!==_0x69f52?this[_0x589e52(0x187)]([this[_0x589e52(0x30c)],_0x4acc5e,!0x1,_0x2cdcdd,_0x12ceb8]):this[_0x589e52(0x21d)](_0x5da9af[_0x589e52(0x2dc)](_0x4acc5e,_0x2cdcdd),_0x12ceb8);}[_0x258881(0x295)](_0x1f7bec,_0x9fc3bd,_0x1005cc){const _0x34093b=_0x258881;let _0x3fdc26,_0x54fdc7;if(typeof _0x1f7bec==_0x34093b(0x1d3)?(_0x3fdc26=Buffer[_0x34093b(0x20d)](_0x1f7bec),_0x54fdc7=!0x1):_0xa8b485(_0x1f7bec)?(_0x3fdc26=_0x1f7bec['size'],_0x54fdc7=!0x1):(_0x1f7bec=_0x5eb174(_0x1f7bec),_0x3fdc26=_0x1f7bec['length'],_0x54fdc7=_0x5eb174[_0x34093b(0x1ef)]),_0x3fdc26>0x7d)throw new RangeError(_0x34093b(0x24a));const _0x344ead={[_0x5aa114]:_0x3fdc26,'fin':!0x0,'generateMask':this[_0x34093b(0x29f)],'mask':_0x9fc3bd,'maskBuffer':this[_0x34093b(0x28e)],'opcode':0x9,'readOnly':_0x54fdc7,'rsv1':!0x1};_0xa8b485(_0x1f7bec)?this[_0x34093b(0x273)]!==_0x69f52?this[_0x34093b(0x187)]([this[_0x34093b(0x29d)],_0x1f7bec,!0x1,_0x344ead,_0x1005cc]):this['getBlobData'](_0x1f7bec,!0x1,_0x344ead,_0x1005cc):this[_0x34093b(0x273)]!==_0x69f52?this[_0x34093b(0x187)]([this[_0x34093b(0x30c)],_0x1f7bec,!0x1,_0x344ead,_0x1005cc]):this[_0x34093b(0x21d)](_0x5da9af[_0x34093b(0x2dc)](_0x1f7bec,_0x344ead),_0x1005cc);}[_0x258881(0x1b3)](_0x2963b9,_0x336299,_0x25015e){const _0x3b7286=_0x258881;let _0xe0b183,_0x529d03;if(typeof _0x2963b9==_0x3b7286(0x1d3)?(_0xe0b183=Buffer['byteLength'](_0x2963b9),_0x529d03=!0x1):_0xa8b485(_0x2963b9)?(_0xe0b183=_0x2963b9[_0x3b7286(0x29a)],_0x529d03=!0x1):(_0x2963b9=_0x5eb174(_0x2963b9),_0xe0b183=_0x2963b9[_0x3b7286(0x24e)],_0x529d03=_0x5eb174[_0x3b7286(0x1ef)]),_0xe0b183>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3e2ddc={[_0x5aa114]:_0xe0b183,'fin':!0x0,'generateMask':this[_0x3b7286(0x29f)],'mask':_0x336299,'maskBuffer':this[_0x3b7286(0x28e)],'opcode':0xa,'readOnly':_0x529d03,'rsv1':!0x1};_0xa8b485(_0x2963b9)?this[_0x3b7286(0x273)]!==_0x69f52?this[_0x3b7286(0x187)]([this[_0x3b7286(0x29d)],_0x2963b9,!0x1,_0x3e2ddc,_0x25015e]):this[_0x3b7286(0x29d)](_0x2963b9,!0x1,_0x3e2ddc,_0x25015e):this['_state']!==_0x69f52?this[_0x3b7286(0x187)]([this[_0x3b7286(0x30c)],_0x2963b9,!0x1,_0x3e2ddc,_0x25015e]):this[_0x3b7286(0x21d)](_0x5da9af[_0x3b7286(0x2dc)](_0x2963b9,_0x3e2ddc),_0x25015e);}[_0x258881(0x18f)](_0x304584,_0x4f196e,_0x5e07cd){const _0x367450=_0x258881,_0x293521=this[_0x367450(0x165)][_0x3b5ca2['extensionName']];let _0x1dc100=_0x4f196e['binary']?0x2:0x1,_0x640855=_0x4f196e[_0x367450(0x1a8)],_0xfbe5,_0x18a8af;typeof _0x304584==_0x367450(0x1d3)?(_0xfbe5=Buffer[_0x367450(0x20d)](_0x304584),_0x18a8af=!0x1):_0xa8b485(_0x304584)?(_0xfbe5=_0x304584[_0x367450(0x29a)],_0x18a8af=!0x1):(_0x304584=_0x5eb174(_0x304584),_0xfbe5=_0x304584[_0x367450(0x24e)],_0x18a8af=_0x5eb174[_0x367450(0x1ef)]),this[_0x367450(0x314)]?(this[_0x367450(0x314)]=!0x1,_0x640855&&_0x293521&&_0x293521[_0x367450(0x22d)][_0x293521[_0x367450(0x2f5)]?_0x367450(0x1f2):'client_no_context_takeover']&&(_0x640855=_0xfbe5>=_0x293521[_0x367450(0x1d7)]),this[_0x367450(0x225)]=_0x640855):(_0x640855=!0x1,_0x1dc100=0x0),_0x4f196e[_0x367450(0x19b)]&&(this[_0x367450(0x314)]=!0x0);const _0x5cd8f9={[_0x5aa114]:_0xfbe5,'fin':_0x4f196e['fin'],'generateMask':this[_0x367450(0x29f)],'mask':_0x4f196e[_0x367450(0x250)],'maskBuffer':this[_0x367450(0x28e)],'opcode':_0x1dc100,'readOnly':_0x18a8af,'rsv1':_0x640855};_0xa8b485(_0x304584)?this['_state']!==_0x69f52?this[_0x367450(0x187)]([this['getBlobData'],_0x304584,this['_compress'],_0x5cd8f9,_0x5e07cd]):this[_0x367450(0x29d)](_0x304584,this[_0x367450(0x225)],_0x5cd8f9,_0x5e07cd):this['_state']!==_0x69f52?this[_0x367450(0x187)]([this['dispatch'],_0x304584,this[_0x367450(0x225)],_0x5cd8f9,_0x5e07cd]):this[_0x367450(0x30c)](_0x304584,this['_compress'],_0x5cd8f9,_0x5e07cd);}[_0x258881(0x29d)](_0x12828d,_0x4f823f,_0x43ab39,_0x418ec6){const _0x548837=_0x258881;this[_0x548837(0x304)]+=_0x43ab39[_0x5aa114],this[_0x548837(0x273)]=_0x220e11,_0x12828d['arrayBuffer']()['then'](_0x116fa3=>{const _0x1d7b4e=_0x548837;if(this[_0x1d7b4e(0x2e8)][_0x1d7b4e(0x28b)]){const _0x1d0da3=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1d7b4e(0x26e)](_0x55c83d,this,_0x1d0da3,_0x418ec6);return;}this[_0x1d7b4e(0x304)]-=_0x43ab39[_0x5aa114];const _0x17fa16=_0x5eb174(_0x116fa3);_0x4f823f?this['dispatch'](_0x17fa16,_0x4f823f,_0x43ab39,_0x418ec6):(this[_0x1d7b4e(0x273)]=_0x69f52,this[_0x1d7b4e(0x21d)](_0x5da9af[_0x1d7b4e(0x2dc)](_0x17fa16,_0x43ab39),_0x418ec6),this['dequeue']());})[_0x548837(0x259)](_0x304786=>{const _0x5aebfb=_0x548837;process[_0x5aebfb(0x26e)](_0x143bf0,this,_0x304786,_0x418ec6);});}['dispatch'](_0x590f77,_0x4b4a73,_0x3510ef,_0x5c5cb6){const _0x265129=_0x258881;if(!_0x4b4a73){this['sendFrame'](_0x5da9af[_0x265129(0x2dc)](_0x590f77,_0x3510ef),_0x5c5cb6);return;}const _0x8ec7da=this['_extensions'][_0x3b5ca2[_0x265129(0x321)]];this[_0x265129(0x304)]+=_0x3510ef[_0x5aa114],this[_0x265129(0x273)]=_0xabb570,_0x8ec7da[_0x265129(0x1a8)](_0x590f77,_0x3510ef['fin'],(_0x1edaf9,_0xef2898)=>{const _0x38f2de=_0x265129;if(this[_0x38f2de(0x2e8)][_0x38f2de(0x28b)]){const _0x2a9ef8=new Error(_0x38f2de(0x2ad));_0x55c83d(this,_0x2a9ef8,_0x5c5cb6);return;}this['_bufferedBytes']-=_0x3510ef[_0x5aa114],this[_0x38f2de(0x273)]=_0x69f52,_0x3510ef[_0x38f2de(0x1ef)]=!0x1,this['sendFrame'](_0x5da9af['frame'](_0xef2898,_0x3510ef),_0x5c5cb6),this['dequeue']();});}[_0x258881(0x243)](){const _0x77fd0b=_0x258881;for(;this['_state']===_0x69f52&&this[_0x77fd0b(0x271)][_0x77fd0b(0x24e)];){const _0x27d48c=this[_0x77fd0b(0x271)][_0x77fd0b(0x26f)]();this[_0x77fd0b(0x304)]-=_0x27d48c[0x3][_0x5aa114],Reflect[_0x77fd0b(0x2ab)](_0x27d48c[0x0],this,_0x27d48c[_0x77fd0b(0x1b7)](0x1));}}[_0x258881(0x187)](_0x3e5382){const _0xef06c9=_0x258881;this['_bufferedBytes']+=_0x3e5382[0x3][_0x5aa114],this[_0xef06c9(0x271)][_0xef06c9(0x2f1)](_0x3e5382);}[_0x258881(0x21d)](_0x63ebec,_0x79db59){const _0x1e40e9=_0x258881;_0x63ebec[_0x1e40e9(0x24e)]===0x2?(this[_0x1e40e9(0x2e8)][_0x1e40e9(0x2db)](),this[_0x1e40e9(0x2e8)][_0x1e40e9(0x232)](_0x63ebec[0x0]),this[_0x1e40e9(0x2e8)][_0x1e40e9(0x232)](_0x63ebec[0x1],_0x79db59),this[_0x1e40e9(0x2e8)]['uncork']()):this[_0x1e40e9(0x2e8)][_0x1e40e9(0x232)](_0x63ebec[0x0],_0x79db59);}}Ee=_0x5da9af;function _0x55c83d(_0x48d5a0,_0x5bbeff,_0x5ca6da){const _0x334acc=_0x258881;typeof _0x5ca6da=='function'&&_0x5ca6da(_0x5bbeff);for(let _0xd96a22=0x0;_0xd96a22<_0x48d5a0[_0x334acc(0x271)][_0x334acc(0x24e)];_0xd96a22++){const _0x58e431=_0x48d5a0[_0x334acc(0x271)][_0xd96a22],_0x3824a8=_0x58e431[_0x58e431['length']-0x1];typeof _0x3824a8==_0x334acc(0x20f)&&_0x3824a8(_0x5bbeff);}}function _0x143bf0(_0x3f51c4,_0x51f6f9,_0x534500){_0x55c83d(_0x3f51c4,_0x51f6f9,_0x534500),_0x3f51c4['onerror'](_0x51f6f9);}return Ee;}var xe,Ze;function It(){const _0x320cdd=_0x195cc0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5d1348,kListener:_0x3e823d}=H(),_0x277785=Symbol(_0x320cdd(0x2e9)),_0x5b2558=Symbol('kData'),_0x504928=Symbol('kError'),_0x33735f=Symbol('kMessage'),_0x203447=Symbol('kReason'),_0x52703e=Symbol('kTarget'),_0xfbface=Symbol(_0x320cdd(0x2e3)),_0x450d0b=Symbol('kWasClean');class _0x4acbad{constructor(_0x5f15d6){this[_0x52703e]=null,this[_0xfbface]=_0x5f15d6;}get[_0x320cdd(0x2c7)](){return this[_0x52703e];}get[_0x320cdd(0x26a)](){return this[_0xfbface];}}Object[_0x320cdd(0x292)](_0x4acbad['prototype'],'target',{'enumerable':!0x0}),Object[_0x320cdd(0x292)](_0x4acbad[_0x320cdd(0x1b2)],_0x320cdd(0x26a),{'enumerable':!0x0});class _0x348949 extends _0x4acbad{constructor(_0x582ae7,_0x33c1b5={}){const _0x40ed2c=_0x320cdd;super(_0x582ae7),this[_0x277785]=_0x33c1b5[_0x40ed2c(0x1c2)]===void 0x0?0x0:_0x33c1b5[_0x40ed2c(0x1c2)],this[_0x203447]=_0x33c1b5[_0x40ed2c(0x2af)]===void 0x0?'':_0x33c1b5['reason'],this[_0x450d0b]=_0x33c1b5[_0x40ed2c(0x1e2)]===void 0x0?!0x1:_0x33c1b5[_0x40ed2c(0x1e2)];}get[_0x320cdd(0x1c2)](){return this[_0x277785];}get['reason'](){return this[_0x203447];}get[_0x320cdd(0x1e2)](){return this[_0x450d0b];}}Object[_0x320cdd(0x292)](_0x348949[_0x320cdd(0x1b2)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x348949[_0x320cdd(0x1b2)],'reason',{'enumerable':!0x0}),Object[_0x320cdd(0x292)](_0x348949[_0x320cdd(0x1b2)],_0x320cdd(0x1e2),{'enumerable':!0x0});class _0x37fa3a extends _0x4acbad{constructor(_0x1ec3f7,_0x27b31c={}){const _0x5cf174=_0x320cdd;super(_0x1ec3f7),this[_0x504928]=_0x27b31c[_0x5cf174(0x1a4)]===void 0x0?null:_0x27b31c[_0x5cf174(0x1a4)],this[_0x33735f]=_0x27b31c[_0x5cf174(0x2e7)]===void 0x0?'':_0x27b31c[_0x5cf174(0x2e7)];}get[_0x320cdd(0x1a4)](){return this[_0x504928];}get[_0x320cdd(0x2e7)](){return this[_0x33735f];}}Object[_0x320cdd(0x292)](_0x37fa3a['prototype'],_0x320cdd(0x1a4),{'enumerable':!0x0}),Object[_0x320cdd(0x292)](_0x37fa3a['prototype'],'message',{'enumerable':!0x0});class _0x44e2d9 extends _0x4acbad{constructor(_0x3a92dd,_0x2e0ba8={}){const _0x42c44a=_0x320cdd;super(_0x3a92dd),this[_0x5b2558]=_0x2e0ba8[_0x42c44a(0x305)]===void 0x0?null:_0x2e0ba8[_0x42c44a(0x305)];}get[_0x320cdd(0x305)](){return this[_0x5b2558];}}Object['defineProperty'](_0x44e2d9[_0x320cdd(0x1b2)],_0x320cdd(0x305),{'enumerable':!0x0}),xe={'CloseEvent':_0x348949,'ErrorEvent':_0x37fa3a,'Event':_0x4acbad,'EventTarget':{'addEventListener'(_0x4efc16,_0x20ddb5,_0x6389cd={}){const _0x59d649=_0x320cdd;for(const _0x3201b4 of this['listeners'](_0x4efc16))if(!_0x6389cd[_0x5d1348]&&_0x3201b4[_0x3e823d]===_0x20ddb5&&!_0x3201b4[_0x5d1348])return;let _0x55294f;if(_0x4efc16===_0x59d649(0x2e7))_0x55294f=function(_0x385ba6,_0x4f4ca1){const _0x208a9d=_0x59d649,_0x5ad9ab=new _0x44e2d9(_0x208a9d(0x2e7),{'data':_0x4f4ca1?_0x385ba6:_0x385ba6[_0x208a9d(0x219)]()});_0x5ad9ab[_0x52703e]=this,_0x2ed0ac(_0x20ddb5,this,_0x5ad9ab);};else{if(_0x4efc16==='close')_0x55294f=function(_0xae2fee,_0x5f51a6){const _0x157939=_0x59d649,_0x2fcb3c=new _0x348949(_0x157939(0x2e1),{'code':_0xae2fee,'reason':_0x5f51a6[_0x157939(0x219)](),'wasClean':this[_0x157939(0x2a0)]&&this['_closeFrameSent']});_0x2fcb3c[_0x52703e]=this,_0x2ed0ac(_0x20ddb5,this,_0x2fcb3c);};else{if(_0x4efc16===_0x59d649(0x1a4))_0x55294f=function(_0xd14188){const _0x8614ca=_0x59d649,_0x16cd22=new _0x37fa3a(_0x8614ca(0x1a4),{'error':_0xd14188,'message':_0xd14188['message']});_0x16cd22[_0x52703e]=this,_0x2ed0ac(_0x20ddb5,this,_0x16cd22);};else{if(_0x4efc16===_0x59d649(0x2f4))_0x55294f=function(){const _0x2140c2=_0x59d649,_0x26cdeb=new _0x4acbad(_0x2140c2(0x2f4));_0x26cdeb[_0x52703e]=this,_0x2ed0ac(_0x20ddb5,this,_0x26cdeb);};else return;}}}_0x55294f[_0x5d1348]=!!_0x6389cd[_0x5d1348],_0x55294f[_0x3e823d]=_0x20ddb5,_0x6389cd[_0x59d649(0x1f4)]?this[_0x59d649(0x1f4)](_0x4efc16,_0x55294f):this['on'](_0x4efc16,_0x55294f);},'removeEventListener'(_0x2fdaaa,_0x366d40){const _0x8e402a=_0x320cdd;for(const _0x564bca of this[_0x8e402a(0x280)](_0x2fdaaa))if(_0x564bca[_0x3e823d]===_0x366d40&&!_0x564bca[_0x5d1348]){this[_0x8e402a(0x1a5)](_0x2fdaaa,_0x564bca);break;}}},'MessageEvent':_0x44e2d9};function _0x2ed0ac(_0x1c4916,_0x56f163,_0x29d545){const _0x3026b6=_0x320cdd;typeof _0x1c4916==_0x3026b6(0x23e)&&_0x1c4916[_0x3026b6(0x2d9)]?_0x1c4916[_0x3026b6(0x2d9)][_0x3026b6(0x19a)](_0x1c4916,_0x29d545):_0x1c4916[_0x3026b6(0x19a)](_0x56f163,_0x29d545);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2270c8}=ae();function _0x3547fc(_0x1670c4,_0x5021ed,_0xf0d79b){const _0x2a8e02=_0x146b;_0x1670c4[_0x5021ed]===void 0x0?_0x1670c4[_0x5021ed]=[_0xf0d79b]:_0x1670c4[_0x5021ed][_0x2a8e02(0x2f1)](_0xf0d79b);}function _0x27d983(_0x488ee5){const _0x3050eb=_0x146b,_0x2cff01=Object['create'](null);let _0x49d5ea=Object[_0x3050eb(0x169)](null),_0xf9a5b7=!0x1,_0x54fd3e=!0x1,_0x5bedfc=!0x1,_0x7302bf,_0x439f33,_0x630cb8=-0x1,_0x470fa1=-0x1,_0x2c9e5f=-0x1,_0x10fb6a=0x0;for(;_0x10fb6a<_0x488ee5['length'];_0x10fb6a++)if(_0x470fa1=_0x488ee5[_0x3050eb(0x181)](_0x10fb6a),_0x7302bf===void 0x0){if(_0x2c9e5f===-0x1&&_0x2270c8[_0x470fa1]===0x1)_0x630cb8===-0x1&&(_0x630cb8=_0x10fb6a);else{if(_0x10fb6a!==0x0&&(_0x470fa1===0x20||_0x470fa1===0x9))_0x2c9e5f===-0x1&&_0x630cb8!==-0x1&&(_0x2c9e5f=_0x10fb6a);else{if(_0x470fa1===0x3b||_0x470fa1===0x2c){if(_0x630cb8===-0x1)throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);_0x2c9e5f===-0x1&&(_0x2c9e5f=_0x10fb6a);const _0x2948a1=_0x488ee5[_0x3050eb(0x1b7)](_0x630cb8,_0x2c9e5f);_0x470fa1===0x2c?(_0x3547fc(_0x2cff01,_0x2948a1,_0x49d5ea),_0x49d5ea=Object['create'](null)):_0x7302bf=_0x2948a1,_0x630cb8=_0x2c9e5f=-0x1;}else throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);}}}else{if(_0x439f33===void 0x0){if(_0x2c9e5f===-0x1&&_0x2270c8[_0x470fa1]===0x1)_0x630cb8===-0x1&&(_0x630cb8=_0x10fb6a);else{if(_0x470fa1===0x20||_0x470fa1===0x9)_0x2c9e5f===-0x1&&_0x630cb8!==-0x1&&(_0x2c9e5f=_0x10fb6a);else{if(_0x470fa1===0x3b||_0x470fa1===0x2c){if(_0x630cb8===-0x1)throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);_0x2c9e5f===-0x1&&(_0x2c9e5f=_0x10fb6a),_0x3547fc(_0x49d5ea,_0x488ee5[_0x3050eb(0x1b7)](_0x630cb8,_0x2c9e5f),!0x0),_0x470fa1===0x2c&&(_0x3547fc(_0x2cff01,_0x7302bf,_0x49d5ea),_0x49d5ea=Object[_0x3050eb(0x169)](null),_0x7302bf=void 0x0),_0x630cb8=_0x2c9e5f=-0x1;}else{if(_0x470fa1===0x3d&&_0x630cb8!==-0x1&&_0x2c9e5f===-0x1)_0x439f33=_0x488ee5[_0x3050eb(0x1b7)](_0x630cb8,_0x10fb6a),_0x630cb8=_0x2c9e5f=-0x1;else throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);}}}}else{if(_0x54fd3e){if(_0x2270c8[_0x470fa1]!==0x1)throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);_0x630cb8===-0x1?_0x630cb8=_0x10fb6a:_0xf9a5b7||(_0xf9a5b7=!0x0),_0x54fd3e=!0x1;}else{if(_0x5bedfc){if(_0x2270c8[_0x470fa1]===0x1)_0x630cb8===-0x1&&(_0x630cb8=_0x10fb6a);else{if(_0x470fa1===0x22&&_0x630cb8!==-0x1)_0x5bedfc=!0x1,_0x2c9e5f=_0x10fb6a;else{if(_0x470fa1===0x5c)_0x54fd3e=!0x0;else throw new SyntaxError(_0x3050eb(0x230)+_0x10fb6a);}}}else{if(_0x470fa1===0x22&&_0x488ee5['charCodeAt'](_0x10fb6a-0x1)===0x3d)_0x5bedfc=!0x0;else{if(_0x2c9e5f===-0x1&&_0x2270c8[_0x470fa1]===0x1)_0x630cb8===-0x1&&(_0x630cb8=_0x10fb6a);else{if(_0x630cb8!==-0x1&&(_0x470fa1===0x20||_0x470fa1===0x9))_0x2c9e5f===-0x1&&(_0x2c9e5f=_0x10fb6a);else{if(_0x470fa1===0x3b||_0x470fa1===0x2c){if(_0x630cb8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x10fb6a);_0x2c9e5f===-0x1&&(_0x2c9e5f=_0x10fb6a);let _0x5f1b16=_0x488ee5[_0x3050eb(0x1b7)](_0x630cb8,_0x2c9e5f);_0xf9a5b7&&(_0x5f1b16=_0x5f1b16[_0x3050eb(0x293)](/\\/g,''),_0xf9a5b7=!0x1),_0x3547fc(_0x49d5ea,_0x439f33,_0x5f1b16),_0x470fa1===0x2c&&(_0x3547fc(_0x2cff01,_0x7302bf,_0x49d5ea),_0x49d5ea=Object[_0x3050eb(0x169)](null),_0x7302bf=void 0x0),_0x439f33=void 0x0,_0x630cb8=_0x2c9e5f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x10fb6a);}}}}}}}if(_0x630cb8===-0x1||_0x5bedfc||_0x470fa1===0x20||_0x470fa1===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2c9e5f===-0x1&&(_0x2c9e5f=_0x10fb6a);const _0x30cb94=_0x488ee5[_0x3050eb(0x1b7)](_0x630cb8,_0x2c9e5f);return _0x7302bf===void 0x0?_0x3547fc(_0x2cff01,_0x30cb94,_0x49d5ea):(_0x439f33===void 0x0?_0x3547fc(_0x49d5ea,_0x30cb94,!0x0):_0xf9a5b7?_0x3547fc(_0x49d5ea,_0x439f33,_0x30cb94[_0x3050eb(0x293)](/\\/g,'')):_0x3547fc(_0x49d5ea,_0x439f33,_0x30cb94),_0x3547fc(_0x2cff01,_0x7302bf,_0x49d5ea)),_0x2cff01;}function _0x364730(_0x43ffe0){const _0x40da71=_0x146b;return Object[_0x40da71(0x2fe)](_0x43ffe0)[_0x40da71(0x172)](_0xe94f11=>{const _0x3aef84=_0x40da71;let _0x288be2=_0x43ffe0[_0xe94f11];return Array[_0x3aef84(0x299)](_0x288be2)||(_0x288be2=[_0x288be2]),_0x288be2[_0x3aef84(0x172)](_0x565941=>[_0xe94f11][_0x3aef84(0x30d)](Object[_0x3aef84(0x2fe)](_0x565941)[_0x3aef84(0x172)](_0x385e64=>{const _0x4f14d7=_0x3aef84;let _0x591f89=_0x565941[_0x385e64];return Array['isArray'](_0x591f89)||(_0x591f89=[_0x591f89]),_0x591f89[_0x4f14d7(0x172)](_0x4d3333=>_0x4d3333===!0x0?_0x385e64:_0x385e64+'='+_0x4d3333)[_0x4f14d7(0x26b)](';\x20');}))[_0x3aef84(0x26b)](';\x20'))['join'](',\x20');})[_0x40da71(0x26b)](',\x20');}return be={'format':_0x364730,'parse':_0x27d983},be;}var we,Je;function Pe(){const _0x509c43=_0x195cc0;if(Je)return we;Je=0x1;const _0x57460b=nt,_0x53c092=vt,_0x119f21=ot,_0x6fe7d=St,_0x98b138=Et,{randomBytes:_0x7a4c64,createHash:_0x45207c}=Le,{Duplex:_0x169d45,Readable:_0x553132}=oe,{URL:_0x1e011f}=xt,_0x53af88=he(),_0x2d2bb7=lt(),_0x5ecdcc=ft(),{isBlob:_0x271101}=ae(),{BINARY_TYPES:_0x1120ff,EMPTY_BUFFER:_0x18e30b,GUID:_0x58c1d0,kForOnEventAttribute:_0x2a5a04,kListener:_0x5c99ea,kStatusCode:_0x5dcebc,kWebSocket:_0x3cfbf9,NOOP:_0xe285c3}=H(),{EventTarget:{addEventListener:_0x4a1aa0,removeEventListener:_0x1ea2f3}}=It(),{format:_0x3d6cf6,parse:_0x5ed765}=ct(),{toBuffer:_0x38306c}=ce(),_0x5306d2=0x1e*0x3e8,_0x37e4dc=Symbol('kAborted'),_0x126f44=[0x8,0xd],_0x2ea70b=['CONNECTING',_0x509c43(0x188),_0x509c43(0x296),_0x509c43(0x2c8)],_0x15f1ad=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x83830b extends _0x57460b{constructor(_0xef0d27,_0x4e44fa,_0x5c2a03){const _0x34f486=_0x509c43;super(),this[_0x34f486(0x2f9)]=_0x1120ff[0x0],this[_0x34f486(0x1e9)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x18e30b,this[_0x34f486(0x2ec)]=null,this[_0x34f486(0x21e)]=!0x1,this['_extensions']={},this[_0x34f486(0x176)]=!0x1,this[_0x34f486(0x284)]='',this[_0x34f486(0x31a)]=_0x83830b[_0x34f486(0x1d5)],this[_0x34f486(0x202)]=null,this[_0x34f486(0x1f5)]=null,this[_0x34f486(0x2e8)]=null,_0xef0d27!==null?(this[_0x34f486(0x2d4)]=0x0,this[_0x34f486(0x2f5)]=!0x1,this[_0x34f486(0x2bb)]=0x0,_0x4e44fa===void 0x0?_0x4e44fa=[]:Array['isArray'](_0x4e44fa)||(typeof _0x4e44fa==_0x34f486(0x23e)&&_0x4e44fa!==null?(_0x5c2a03=_0x4e44fa,_0x4e44fa=[]):_0x4e44fa=[_0x4e44fa]),_0x57708e(this,_0xef0d27,_0x4e44fa,_0x5c2a03)):(this['_autoPong']=_0x5c2a03[_0x34f486(0x1f8)],this[_0x34f486(0x2f5)]=!0x0);}get[_0x509c43(0x1c0)](){return this['_binaryType'];}set['binaryType'](_0xcc9699){const _0x3b5d3e=_0x509c43;_0x1120ff[_0x3b5d3e(0x318)](_0xcc9699)&&(this[_0x3b5d3e(0x2f9)]=_0xcc9699,this['_receiver']&&(this['_receiver']['_binaryType']=_0xcc9699));}get[_0x509c43(0x2bd)](){const _0x27b0fc=_0x509c43;return this[_0x27b0fc(0x2e8)]?this[_0x27b0fc(0x2e8)][_0x27b0fc(0x1c3)][_0x27b0fc(0x24e)]+this[_0x27b0fc(0x1f5)][_0x27b0fc(0x304)]:this[_0x27b0fc(0x2d4)];}get[_0x509c43(0x1a2)](){const _0x22bf24=_0x509c43;return Object[_0x22bf24(0x2fe)](this[_0x22bf24(0x165)])[_0x22bf24(0x26b)]();}get['isPaused'](){return this['_paused'];}get[_0x509c43(0x263)](){return null;}get[_0x509c43(0x311)](){return null;}get[_0x509c43(0x1ed)](){return null;}get[_0x509c43(0x1c6)](){return null;}get[_0x509c43(0x269)](){const _0x4019a0=_0x509c43;return this[_0x4019a0(0x284)];}get[_0x509c43(0x291)](){const _0x33bac1=_0x509c43;return this[_0x33bac1(0x31a)];}get['url'](){const _0x31dc58=_0x509c43;return this[_0x31dc58(0x194)];}['setSocket'](_0x1af65e,_0xaebce5,_0x3d723f){const _0x46eab4=_0x509c43,_0x5717c2=new _0x2d2bb7({'allowSynchronousEvents':_0x3d723f[_0x46eab4(0x2f2)],'binaryType':this[_0x46eab4(0x1c0)],'extensions':this[_0x46eab4(0x165)],'isServer':this['_isServer'],'maxPayload':_0x3d723f['maxPayload'],'skipUTF8Validation':_0x3d723f[_0x46eab4(0x2c1)]}),_0x4773c1=new _0x5ecdcc(_0x1af65e,this['_extensions'],_0x3d723f['generateMask']);this['_receiver']=_0x5717c2,this['_sender']=_0x4773c1,this[_0x46eab4(0x2e8)]=_0x1af65e,_0x5717c2[_0x3cfbf9]=this,_0x4773c1[_0x3cfbf9]=this,_0x1af65e[_0x3cfbf9]=this,_0x5717c2['on'](_0x46eab4(0x1a6),_0x144861),_0x5717c2['on'](_0x46eab4(0x1be),_0x497b52),_0x5717c2['on'](_0x46eab4(0x1a4),_0x1b46df),_0x5717c2['on'](_0x46eab4(0x2e7),_0x32af5b),_0x5717c2['on']('ping',_0x14a5ee),_0x5717c2['on'](_0x46eab4(0x1b3),_0x461334),_0x4773c1[_0x46eab4(0x311)]=_0x592d57,_0x1af65e['setTimeout']&&_0x1af65e[_0x46eab4(0x315)](0x0),_0x1af65e['setNoDelay']&&_0x1af65e[_0x46eab4(0x19d)](),_0xaebce5[_0x46eab4(0x24e)]>0x0&&_0x1af65e['unshift'](_0xaebce5),_0x1af65e['on'](_0x46eab4(0x2e1),_0x27ef8c),_0x1af65e['on'](_0x46eab4(0x305),_0x193e0f),_0x1af65e['on'](_0x46eab4(0x2ae),_0x54a8c9),_0x1af65e['on'](_0x46eab4(0x1a4),_0x24ffa4),this[_0x46eab4(0x31a)]=_0x83830b['OPEN'],this[_0x46eab4(0x2d7)](_0x46eab4(0x2f4));}['emitClose'](){const _0x71a757=_0x509c43;if(!this['_socket']){this[_0x71a757(0x31a)]=_0x83830b[_0x71a757(0x2c8)],this[_0x71a757(0x2d7)](_0x71a757(0x2e1),this[_0x71a757(0x1e9)],this[_0x71a757(0x1dd)]);return;}this[_0x71a757(0x165)][_0x53af88[_0x71a757(0x321)]]&&this[_0x71a757(0x165)][_0x53af88['extensionName']][_0x71a757(0x272)](),this['_receiver']['removeAllListeners'](),this[_0x71a757(0x31a)]=_0x83830b[_0x71a757(0x2c8)],this['emit']('close',this[_0x71a757(0x1e9)],this['_closeMessage']);}['close'](_0x69e216,_0x46346e){const _0x5347bf=_0x509c43;if(this[_0x5347bf(0x291)]!==_0x83830b[_0x5347bf(0x2c8)]){if(this[_0x5347bf(0x291)]===_0x83830b[_0x5347bf(0x1d5)]){_0x5d491d(this,this[_0x5347bf(0x27f)],_0x5347bf(0x317));return;}if(this[_0x5347bf(0x291)]===_0x83830b[_0x5347bf(0x296)]){this[_0x5347bf(0x1e4)]&&(this[_0x5347bf(0x2a0)]||this['_receiver'][_0x5347bf(0x1c3)][_0x5347bf(0x1bf)])&&this['_socket'][_0x5347bf(0x2ae)]();return;}this['_readyState']=_0x83830b[_0x5347bf(0x296)],this[_0x5347bf(0x1f5)][_0x5347bf(0x2e1)](_0x69e216,_0x46346e,!this[_0x5347bf(0x2f5)],_0x1e1998=>{const _0x2b9eae=_0x5347bf;_0x1e1998||(this[_0x2b9eae(0x1e4)]=!0x0,(this['_closeFrameReceived']||this[_0x2b9eae(0x202)][_0x2b9eae(0x1c3)][_0x2b9eae(0x1bf)])&&this[_0x2b9eae(0x2e8)]['end']());}),_0x3b9c6c(this);}}[_0x509c43(0x248)](){const _0x314626=_0x509c43;this[_0x314626(0x291)]===_0x83830b['CONNECTING']||this['readyState']===_0x83830b[_0x314626(0x2c8)]||(this[_0x314626(0x176)]=!0x0,this[_0x314626(0x2e8)]['pause']());}['ping'](_0x34de77,_0x87d71,_0x1ae6e4){const _0x95d7cb=_0x509c43;if(this[_0x95d7cb(0x291)]===_0x83830b[_0x95d7cb(0x1d5)])throw new Error(_0x95d7cb(0x23d));if(typeof _0x34de77=='function'?(_0x1ae6e4=_0x34de77,_0x34de77=_0x87d71=void 0x0):typeof _0x87d71==_0x95d7cb(0x20f)&&(_0x1ae6e4=_0x87d71,_0x87d71=void 0x0),typeof _0x34de77=='number'&&(_0x34de77=_0x34de77[_0x95d7cb(0x219)]()),this['readyState']!==_0x83830b[_0x95d7cb(0x188)]){_0x47f4e6(this,_0x34de77,_0x1ae6e4);return;}_0x87d71===void 0x0&&(_0x87d71=!this[_0x95d7cb(0x2f5)]),this['_sender']['ping'](_0x34de77||_0x18e30b,_0x87d71,_0x1ae6e4);}[_0x509c43(0x1b3)](_0x141302,_0x8b63bc,_0x3d8044){const _0x3df9ac=_0x509c43;if(this['readyState']===_0x83830b['CONNECTING'])throw new Error(_0x3df9ac(0x23d));if(typeof _0x141302==_0x3df9ac(0x20f)?(_0x3d8044=_0x141302,_0x141302=_0x8b63bc=void 0x0):typeof _0x8b63bc==_0x3df9ac(0x20f)&&(_0x3d8044=_0x8b63bc,_0x8b63bc=void 0x0),typeof _0x141302==_0x3df9ac(0x29e)&&(_0x141302=_0x141302[_0x3df9ac(0x219)]()),this['readyState']!==_0x83830b[_0x3df9ac(0x188)]){_0x47f4e6(this,_0x141302,_0x3d8044);return;}_0x8b63bc===void 0x0&&(_0x8b63bc=!this[_0x3df9ac(0x2f5)]),this[_0x3df9ac(0x1f5)][_0x3df9ac(0x1b3)](_0x141302||_0x18e30b,_0x8b63bc,_0x3d8044);}['resume'](){const _0x2a0c60=_0x509c43;this['readyState']===_0x83830b[_0x2a0c60(0x1d5)]||this[_0x2a0c60(0x291)]===_0x83830b[_0x2a0c60(0x2c8)]||(this['_paused']=!0x1,this[_0x2a0c60(0x202)][_0x2a0c60(0x1c3)][_0x2a0c60(0x196)]||this[_0x2a0c60(0x2e8)]['resume']());}[_0x509c43(0x18f)](_0x7716b2,_0x4f0fc1,_0x466540){const _0x15ab88=_0x509c43;if(this['readyState']===_0x83830b[_0x15ab88(0x1d5)])throw new Error(_0x15ab88(0x23d));if(typeof _0x4f0fc1=='function'&&(_0x466540=_0x4f0fc1,_0x4f0fc1={}),typeof _0x7716b2==_0x15ab88(0x29e)&&(_0x7716b2=_0x7716b2[_0x15ab88(0x219)]()),this['readyState']!==_0x83830b['OPEN']){_0x47f4e6(this,_0x7716b2,_0x466540);return;}const _0x3bd687={'binary':typeof _0x7716b2!=_0x15ab88(0x1d3),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4f0fc1};this[_0x15ab88(0x165)][_0x53af88[_0x15ab88(0x321)]]||(_0x3bd687[_0x15ab88(0x1a8)]=!0x1),this['_sender'][_0x15ab88(0x18f)](_0x7716b2||_0x18e30b,_0x3bd687,_0x466540);}[_0x509c43(0x31b)](){const _0x51d0a6=_0x509c43;if(this[_0x51d0a6(0x291)]!==_0x83830b[_0x51d0a6(0x2c8)]){if(this[_0x51d0a6(0x291)]===_0x83830b['CONNECTING']){_0x5d491d(this,this[_0x51d0a6(0x27f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x51d0a6(0x31a)]=_0x83830b[_0x51d0a6(0x296)],this['_socket'][_0x51d0a6(0x1f3)]());}}}Object[_0x509c43(0x292)](_0x83830b,'CONNECTING',{'enumerable':!0x0,'value':_0x2ea70b['indexOf']('CONNECTING')}),Object[_0x509c43(0x292)](_0x83830b[_0x509c43(0x1b2)],'CONNECTING',{'enumerable':!0x0,'value':_0x2ea70b[_0x509c43(0x23c)](_0x509c43(0x1d5))}),Object[_0x509c43(0x292)](_0x83830b,_0x509c43(0x188),{'enumerable':!0x0,'value':_0x2ea70b[_0x509c43(0x23c)](_0x509c43(0x188))}),Object[_0x509c43(0x292)](_0x83830b[_0x509c43(0x1b2)],_0x509c43(0x188),{'enumerable':!0x0,'value':_0x2ea70b['indexOf']('OPEN')}),Object[_0x509c43(0x292)](_0x83830b,_0x509c43(0x296),{'enumerable':!0x0,'value':_0x2ea70b['indexOf']('CLOSING')}),Object[_0x509c43(0x292)](_0x83830b[_0x509c43(0x1b2)],_0x509c43(0x296),{'enumerable':!0x0,'value':_0x2ea70b[_0x509c43(0x23c)](_0x509c43(0x296))}),Object[_0x509c43(0x292)](_0x83830b,'CLOSED',{'enumerable':!0x0,'value':_0x2ea70b[_0x509c43(0x23c)](_0x509c43(0x2c8))}),Object[_0x509c43(0x292)](_0x83830b['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x2ea70b[_0x509c43(0x23c)](_0x509c43(0x2c8))}),[_0x509c43(0x1c0),_0x509c43(0x2bd),_0x509c43(0x1a2),_0x509c43(0x24b),'protocol',_0x509c43(0x291),_0x509c43(0x1ba)][_0x509c43(0x166)](_0xb4ec8d=>{Object['defineProperty'](_0x83830b['prototype'],_0xb4ec8d,{'enumerable':!0x0});}),[_0x509c43(0x2f4),_0x509c43(0x1a4),'close','message'][_0x509c43(0x166)](_0xe496=>{const _0x489f3d=_0x509c43;Object[_0x489f3d(0x292)](_0x83830b['prototype'],'on'+_0xe496,{'enumerable':!0x0,'get'(){const _0x5d6abe=_0x489f3d;for(const _0x2eb33e of this[_0x5d6abe(0x280)](_0xe496))if(_0x2eb33e[_0x2a5a04])return _0x2eb33e[_0x5c99ea];return null;},'set'(_0x4164a7){const _0x51d262=_0x489f3d;for(const _0xfb85dd of this[_0x51d262(0x280)](_0xe496))if(_0xfb85dd[_0x2a5a04]){this[_0x51d262(0x1a5)](_0xe496,_0xfb85dd);break;}typeof _0x4164a7==_0x51d262(0x20f)&&this[_0x51d262(0x28f)](_0xe496,_0x4164a7,{[_0x2a5a04]:!0x0});}});}),_0x83830b[_0x509c43(0x1b2)]['addEventListener']=_0x4a1aa0,_0x83830b[_0x509c43(0x1b2)][_0x509c43(0x242)]=_0x1ea2f3,we=_0x83830b;function _0x57708e(_0x443fd7,_0xb69f2,_0x6ece5c,_0x3deed6){const _0x2e962c=_0x509c43,_0x1d3a9f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x126f44[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3deed6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2e962c(0x31c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x443fd7[_0x2e962c(0x276)]=_0x1d3a9f[_0x2e962c(0x1f8)],!_0x126f44[_0x2e962c(0x318)](_0x1d3a9f[_0x2e962c(0x247)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x1d3a9f[_0x2e962c(0x247)]+_0x2e962c(0x2b3)+_0x126f44[_0x2e962c(0x26b)](',\x20')+')');let _0xe796b9;if(_0xb69f2 instanceof _0x1e011f)_0xe796b9=_0xb69f2;else try{_0xe796b9=new _0x1e011f(_0xb69f2);}catch{throw new SyntaxError(_0x2e962c(0x30a)+_0xb69f2);}_0xe796b9['protocol']===_0x2e962c(0x1a7)?_0xe796b9['protocol']=_0x2e962c(0x301):_0xe796b9['protocol']===_0x2e962c(0x2c4)&&(_0xe796b9[_0x2e962c(0x269)]=_0x2e962c(0x2ed)),_0x443fd7[_0x2e962c(0x194)]=_0xe796b9[_0x2e962c(0x208)];const _0x51e2a5=_0xe796b9['protocol']==='wss:',_0x5cc695=_0xe796b9[_0x2e962c(0x269)]===_0x2e962c(0x236);let _0x528eed;if(_0xe796b9[_0x2e962c(0x269)]!==_0x2e962c(0x301)&&!_0x51e2a5&&!_0x5cc695?_0x528eed=_0x2e962c(0x239):_0x5cc695&&!_0xe796b9[_0x2e962c(0x167)]?_0x528eed=_0x2e962c(0x175):_0xe796b9[_0x2e962c(0x182)]&&(_0x528eed=_0x2e962c(0x28a)),_0x528eed){const _0x107c39=new SyntaxError(_0x528eed);if(_0x443fd7['_redirects']===0x0)throw _0x107c39;_0x1f17c5(_0x443fd7,_0x107c39);return;}const _0x2d005a=_0x51e2a5?0x1bb:0x50,_0x39747f=_0x7a4c64(0x10)[_0x2e962c(0x219)](_0x2e962c(0x1de)),_0x14d20e=_0x51e2a5?_0x53c092[_0x2e962c(0x2b2)]:_0x119f21['request'],_0x526060=new Set();let _0x1ac130;if(_0x1d3a9f[_0x2e962c(0x282)]=_0x1d3a9f[_0x2e962c(0x282)]||(_0x51e2a5?_0x5b2a05:_0x44ea37),_0x1d3a9f[_0x2e962c(0x217)]=_0x1d3a9f[_0x2e962c(0x217)]||_0x2d005a,_0x1d3a9f['port']=_0xe796b9[_0x2e962c(0x1ab)]||_0x2d005a,_0x1d3a9f[_0x2e962c(0x316)]=_0xe796b9[_0x2e962c(0x287)][_0x2e962c(0x177)]('[')?_0xe796b9[_0x2e962c(0x287)][_0x2e962c(0x1b7)](0x1,-0x1):_0xe796b9[_0x2e962c(0x287)],_0x1d3a9f[_0x2e962c(0x2d6)]={..._0x1d3a9f[_0x2e962c(0x2d6)],'Sec-WebSocket-Version':_0x1d3a9f['protocolVersion'],'Sec-WebSocket-Key':_0x39747f,'Connection':_0x2e962c(0x1d6),'Upgrade':_0x2e962c(0x2b6)},_0x1d3a9f[_0x2e962c(0x27d)]=_0xe796b9[_0x2e962c(0x167)]+_0xe796b9[_0x2e962c(0x22c)],_0x1d3a9f[_0x2e962c(0x277)]=_0x1d3a9f['handshakeTimeout'],_0x1d3a9f[_0x2e962c(0x2cf)]&&(_0x1ac130=new _0x53af88(_0x1d3a9f[_0x2e962c(0x2cf)]!==!0x0?_0x1d3a9f[_0x2e962c(0x2cf)]:{},!0x1,_0x1d3a9f[_0x2e962c(0x2bc)]),_0x1d3a9f['headers']['Sec-WebSocket-Extensions']=_0x3d6cf6({[_0x53af88['extensionName']]:_0x1ac130[_0x2e962c(0x24d)]()})),_0x6ece5c[_0x2e962c(0x24e)]){for(const _0x226562 of _0x6ece5c){if(typeof _0x226562!=_0x2e962c(0x1d3)||!_0x15f1ad[_0x2e962c(0x2a8)](_0x226562)||_0x526060[_0x2e962c(0x2ff)](_0x226562))throw new SyntaxError(_0x2e962c(0x2f3));_0x526060['add'](_0x226562);}_0x1d3a9f[_0x2e962c(0x2d6)][_0x2e962c(0x2ea)]=_0x6ece5c[_0x2e962c(0x26b)](',');}if(_0x1d3a9f[_0x2e962c(0x170)]&&(_0x1d3a9f['protocolVersion']<0xd?_0x1d3a9f[_0x2e962c(0x2d6)]['Sec-WebSocket-Origin']=_0x1d3a9f[_0x2e962c(0x170)]:_0x1d3a9f[_0x2e962c(0x2d6)][_0x2e962c(0x1b5)]=_0x1d3a9f[_0x2e962c(0x170)]),(_0xe796b9[_0x2e962c(0x190)]||_0xe796b9[_0x2e962c(0x266)])&&(_0x1d3a9f[_0x2e962c(0x319)]=_0xe796b9[_0x2e962c(0x190)]+':'+_0xe796b9[_0x2e962c(0x266)]),_0x5cc695){const _0x41f7d9=_0x1d3a9f[_0x2e962c(0x27d)][_0x2e962c(0x17c)](':');_0x1d3a9f['socketPath']=_0x41f7d9[0x0],_0x1d3a9f[_0x2e962c(0x27d)]=_0x41f7d9[0x1];}let _0x4ddd88;if(_0x1d3a9f[_0x2e962c(0x1ae)]){if(_0x443fd7[_0x2e962c(0x2bb)]===0x0){_0x443fd7[_0x2e962c(0x1c7)]=_0x5cc695,_0x443fd7[_0x2e962c(0x2cd)]=_0x51e2a5,_0x443fd7[_0x2e962c(0x218)]=_0x5cc695?_0x1d3a9f[_0x2e962c(0x289)]:_0xe796b9['host'];const _0xf550fc=_0x3deed6&&_0x3deed6[_0x2e962c(0x2d6)];if(_0x3deed6={..._0x3deed6,'headers':{}},_0xf550fc){for(const [_0x33f5bd,_0x2216c0]of Object[_0x2e962c(0x1ac)](_0xf550fc))_0x3deed6['headers'][_0x33f5bd['toLowerCase']()]=_0x2216c0;}}else{if(_0x443fd7[_0x2e962c(0x1af)](_0x2e962c(0x191))===0x0){const _0x386ead=_0x5cc695?_0x443fd7[_0x2e962c(0x1c7)]?_0x1d3a9f[_0x2e962c(0x289)]===_0x443fd7[_0x2e962c(0x218)]:!0x1:_0x443fd7['_originalIpc']?!0x1:_0xe796b9[_0x2e962c(0x316)]===_0x443fd7['_originalHostOrSocketPath'];(!_0x386ead||_0x443fd7[_0x2e962c(0x2cd)]&&!_0x51e2a5)&&(delete _0x1d3a9f[_0x2e962c(0x2d6)][_0x2e962c(0x227)],delete _0x1d3a9f[_0x2e962c(0x2d6)]['cookie'],_0x386ead||delete _0x1d3a9f['headers'][_0x2e962c(0x316)],_0x1d3a9f['auth']=void 0x0);}}_0x1d3a9f['auth']&&!_0x3deed6[_0x2e962c(0x2d6)][_0x2e962c(0x227)]&&(_0x3deed6[_0x2e962c(0x2d6)][_0x2e962c(0x227)]=_0x2e962c(0x1e7)+Buffer[_0x2e962c(0x1db)](_0x1d3a9f['auth'])[_0x2e962c(0x219)]('base64')),_0x4ddd88=_0x443fd7['_req']=_0x14d20e(_0x1d3a9f),_0x443fd7[_0x2e962c(0x2bb)]&&_0x443fd7['emit'](_0x2e962c(0x191),_0x443fd7[_0x2e962c(0x1ba)],_0x4ddd88);}else _0x4ddd88=_0x443fd7['_req']=_0x14d20e(_0x1d3a9f);_0x1d3a9f[_0x2e962c(0x277)]&&_0x4ddd88['on']('timeout',()=>{const _0x5ea628=_0x2e962c;_0x5d491d(_0x443fd7,_0x4ddd88,_0x5ea628(0x25c));}),_0x4ddd88['on'](_0x2e962c(0x1a4),_0x50d889=>{const _0x3441fd=_0x2e962c;_0x4ddd88===null||_0x4ddd88[_0x37e4dc]||(_0x4ddd88=_0x443fd7[_0x3441fd(0x27f)]=null,_0x1f17c5(_0x443fd7,_0x50d889));}),_0x4ddd88['on']('response',_0x502fd9=>{const _0x2c5237=_0x2e962c,_0x5aed38=_0x502fd9[_0x2c5237(0x2d6)][_0x2c5237(0x2a3)],_0x192229=_0x502fd9[_0x2c5237(0x1d8)];if(_0x5aed38&&_0x1d3a9f['followRedirects']&&_0x192229>=0x12c&&_0x192229<0x190){if(++_0x443fd7[_0x2c5237(0x2bb)]>_0x1d3a9f['maxRedirects']){_0x5d491d(_0x443fd7,_0x4ddd88,'Maximum\x20redirects\x20exceeded');return;}_0x4ddd88[_0x2c5237(0x322)]();let _0x1128d2;try{_0x1128d2=new _0x1e011f(_0x5aed38,_0xb69f2);}catch{const _0x380492=new SyntaxError(_0x2c5237(0x30a)+_0x5aed38);_0x1f17c5(_0x443fd7,_0x380492);return;}_0x57708e(_0x443fd7,_0x1128d2,_0x6ece5c,_0x3deed6);}else _0x443fd7[_0x2c5237(0x2d7)](_0x2c5237(0x174),_0x4ddd88,_0x502fd9)||_0x5d491d(_0x443fd7,_0x4ddd88,_0x2c5237(0x2b5)+_0x502fd9[_0x2c5237(0x1d8)]);}),_0x4ddd88['on'](_0x2e962c(0x1f0),(_0x2114ae,_0x26af10,_0x3cb9d7)=>{const _0x38829a=_0x2e962c;if(_0x443fd7[_0x38829a(0x2d7)]('upgrade',_0x2114ae),_0x443fd7[_0x38829a(0x291)]!==_0x83830b['CONNECTING'])return;_0x4ddd88=_0x443fd7[_0x38829a(0x27f)]=null;const _0x4c65e6=_0x2114ae[_0x38829a(0x2d6)][_0x38829a(0x1f0)];if(_0x4c65e6===void 0x0||_0x4c65e6[_0x38829a(0x229)]()!==_0x38829a(0x2b6)){_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x16e));return;}const _0x2aa159=_0x45207c(_0x38829a(0x233))[_0x38829a(0x256)](_0x39747f+_0x58c1d0)[_0x38829a(0x27e)](_0x38829a(0x1de));if(_0x2114ae[_0x38829a(0x2d6)][_0x38829a(0x211)]!==_0x2aa159){_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x275));return;}const _0x3f46c2=_0x2114ae[_0x38829a(0x2d6)][_0x38829a(0x1ca)];let _0x2f40d3;if(_0x3f46c2!==void 0x0?_0x526060[_0x38829a(0x29a)]?_0x526060[_0x38829a(0x2ff)](_0x3f46c2)||(_0x2f40d3='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2f40d3=_0x38829a(0x1c8):_0x526060[_0x38829a(0x29a)]&&(_0x2f40d3='Server\x20sent\x20no\x20subprotocol'),_0x2f40d3){_0x5d491d(_0x443fd7,_0x26af10,_0x2f40d3);return;}_0x3f46c2&&(_0x443fd7[_0x38829a(0x284)]=_0x3f46c2);const _0x2f889e=_0x2114ae[_0x38829a(0x2d6)][_0x38829a(0x2a9)];if(_0x2f889e!==void 0x0){if(!_0x1ac130){_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x212));return;}let _0x52ea59;try{_0x52ea59=_0x5ed765(_0x2f889e);}catch{_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x1ea));return;}const _0x49a73c=Object['keys'](_0x52ea59);if(_0x49a73c['length']!==0x1||_0x49a73c[0x0]!==_0x53af88[_0x38829a(0x321)]){_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x2d0));return;}try{_0x1ac130[_0x38829a(0x286)](_0x52ea59[_0x53af88[_0x38829a(0x321)]]);}catch{_0x5d491d(_0x443fd7,_0x26af10,_0x38829a(0x1ea));return;}_0x443fd7[_0x38829a(0x165)][_0x53af88[_0x38829a(0x321)]]=_0x1ac130;}_0x443fd7[_0x38829a(0x180)](_0x26af10,_0x3cb9d7,{'allowSynchronousEvents':_0x1d3a9f[_0x38829a(0x2f2)],'generateMask':_0x1d3a9f['generateMask'],'maxPayload':_0x1d3a9f['maxPayload'],'skipUTF8Validation':_0x1d3a9f[_0x38829a(0x2c1)]});}),_0x1d3a9f[_0x2e962c(0x17b)]?_0x1d3a9f['finishRequest'](_0x4ddd88,_0x443fd7):_0x4ddd88['end']();}function _0x1f17c5(_0x151260,_0xbb37f4){const _0x46882f=_0x509c43;_0x151260[_0x46882f(0x31a)]=_0x83830b[_0x46882f(0x296)],_0x151260[_0x46882f(0x21e)]=!0x0,_0x151260[_0x46882f(0x2d7)](_0x46882f(0x1a4),_0xbb37f4),_0x151260['emitClose']();}function _0x44ea37(_0x4d0a3e){const _0x38125a=_0x509c43;return _0x4d0a3e[_0x38125a(0x27d)]=_0x4d0a3e['socketPath'],_0x6fe7d[_0x38125a(0x17d)](_0x4d0a3e);}function _0x5b2a05(_0x4214b7){const _0x9271b4=_0x509c43;return _0x4214b7['path']=void 0x0,!_0x4214b7[_0x9271b4(0x2ba)]&&_0x4214b7['servername']!==''&&(_0x4214b7[_0x9271b4(0x2ba)]=_0x6fe7d[_0x9271b4(0x1aa)](_0x4214b7['host'])?'':_0x4214b7[_0x9271b4(0x316)]),_0x98b138[_0x9271b4(0x17d)](_0x4214b7);}function _0x5d491d(_0x268660,_0x7a15e1,_0x1b0d00){const _0x470799=_0x509c43;_0x268660[_0x470799(0x31a)]=_0x83830b[_0x470799(0x296)];const _0x51833c=new Error(_0x1b0d00);Error[_0x470799(0x210)](_0x51833c,_0x5d491d),_0x7a15e1[_0x470799(0x23b)]?(_0x7a15e1[_0x37e4dc]=!0x0,_0x7a15e1[_0x470799(0x322)](),_0x7a15e1[_0x470799(0x18d)]&&!_0x7a15e1[_0x470799(0x18d)][_0x470799(0x28b)]&&_0x7a15e1['socket']['destroy'](),process['nextTick'](_0x1f17c5,_0x268660,_0x51833c)):(_0x7a15e1['destroy'](_0x51833c),_0x7a15e1[_0x470799(0x1f4)](_0x470799(0x1a4),_0x268660[_0x470799(0x2d7)][_0x470799(0x2fb)](_0x268660,_0x470799(0x1a4))),_0x7a15e1[_0x470799(0x1f4)](_0x470799(0x2e1),_0x268660[_0x470799(0x1ec)][_0x470799(0x2fb)](_0x268660)));}function _0x47f4e6(_0x23c642,_0x2e2c75,_0x2d7c33){const _0x2f4c6e=_0x509c43;if(_0x2e2c75){const _0x28716b=_0x271101(_0x2e2c75)?_0x2e2c75[_0x2f4c6e(0x29a)]:_0x38306c(_0x2e2c75)[_0x2f4c6e(0x24e)];_0x23c642[_0x2f4c6e(0x2e8)]?_0x23c642['_sender'][_0x2f4c6e(0x304)]+=_0x28716b:_0x23c642[_0x2f4c6e(0x2d4)]+=_0x28716b;}if(_0x2d7c33){const _0x1ef1cb=new Error(_0x2f4c6e(0x257)+_0x23c642[_0x2f4c6e(0x291)]+'\x20('+_0x2ea70b[_0x23c642['readyState']]+')');process[_0x2f4c6e(0x26e)](_0x2d7c33,_0x1ef1cb);}}function _0x144861(_0x232aad,_0x4d3c4d){const _0x3d1b81=_0x509c43,_0xbd32fd=this[_0x3cfbf9];_0xbd32fd['_closeFrameReceived']=!0x0,_0xbd32fd[_0x3d1b81(0x1dd)]=_0x4d3c4d,_0xbd32fd[_0x3d1b81(0x1e9)]=_0x232aad,_0xbd32fd[_0x3d1b81(0x2e8)][_0x3cfbf9]!==void 0x0&&(_0xbd32fd[_0x3d1b81(0x2e8)]['removeListener'](_0x3d1b81(0x305),_0x193e0f),process[_0x3d1b81(0x26e)](_0x3bfbf2,_0xbd32fd['_socket']),_0x232aad===0x3ed?_0xbd32fd[_0x3d1b81(0x2e1)]():_0xbd32fd[_0x3d1b81(0x2e1)](_0x232aad,_0x4d3c4d));}function _0x497b52(){const _0x240493=_0x509c43,_0x4cfa9f=this[_0x3cfbf9];_0x4cfa9f['isPaused']||_0x4cfa9f[_0x240493(0x2e8)][_0x240493(0x25d)]();}function _0x1b46df(_0x27b540){const _0x8808b4=_0x509c43,_0x2d660f=this[_0x3cfbf9];_0x2d660f[_0x8808b4(0x2e8)][_0x3cfbf9]!==void 0x0&&(_0x2d660f[_0x8808b4(0x2e8)][_0x8808b4(0x1a5)](_0x8808b4(0x305),_0x193e0f),process[_0x8808b4(0x26e)](_0x3bfbf2,_0x2d660f[_0x8808b4(0x2e8)]),_0x2d660f[_0x8808b4(0x2e1)](_0x27b540[_0x5dcebc])),_0x2d660f[_0x8808b4(0x21e)]||(_0x2d660f[_0x8808b4(0x21e)]=!0x0,_0x2d660f[_0x8808b4(0x2d7)](_0x8808b4(0x1a4),_0x27b540));}function _0x53ace1(){const _0x7c4a05=_0x509c43;this[_0x3cfbf9][_0x7c4a05(0x1ec)]();}function _0x32af5b(_0x383957,_0x4b85a9){const _0x20c6ee=_0x509c43;this[_0x3cfbf9]['emit'](_0x20c6ee(0x2e7),_0x383957,_0x4b85a9);}function _0x14a5ee(_0x4ecbbe){const _0xb2c100=_0x509c43,_0x3faf86=this[_0x3cfbf9];_0x3faf86['_autoPong']&&_0x3faf86[_0xb2c100(0x1b3)](_0x4ecbbe,!this[_0xb2c100(0x2f5)],_0xe285c3),_0x3faf86[_0xb2c100(0x2d7)](_0xb2c100(0x295),_0x4ecbbe);}function _0x461334(_0x93c975){const _0x1b8121=_0x509c43;this[_0x3cfbf9]['emit'](_0x1b8121(0x1b3),_0x93c975);}function _0x3bfbf2(_0x2f0932){const _0x556610=_0x509c43;_0x2f0932[_0x556610(0x25d)]();}function _0x592d57(_0xf1f741){const _0x429b0f=_0x509c43,_0x739c62=this[_0x3cfbf9];_0x739c62[_0x429b0f(0x291)]!==_0x83830b[_0x429b0f(0x2c8)]&&(_0x739c62[_0x429b0f(0x291)]===_0x83830b[_0x429b0f(0x188)]&&(_0x739c62[_0x429b0f(0x31a)]=_0x83830b[_0x429b0f(0x296)],_0x3b9c6c(_0x739c62)),this[_0x429b0f(0x2e8)]['end'](),_0x739c62[_0x429b0f(0x21e)]||(_0x739c62[_0x429b0f(0x21e)]=!0x0,_0x739c62['emit'](_0x429b0f(0x1a4),_0xf1f741)));}function _0x3b9c6c(_0x218698){const _0x3a38df=_0x509c43;_0x218698['_closeTimer']=setTimeout(_0x218698[_0x3a38df(0x2e8)][_0x3a38df(0x1f3)][_0x3a38df(0x2fb)](_0x218698[_0x3a38df(0x2e8)]),_0x5306d2);}function _0x27ef8c(){const _0x44cd9e=_0x509c43,_0x13dd7a=this[_0x3cfbf9];this[_0x44cd9e(0x1a5)](_0x44cd9e(0x2e1),_0x27ef8c),this[_0x44cd9e(0x1a5)](_0x44cd9e(0x305),_0x193e0f),this[_0x44cd9e(0x1a5)](_0x44cd9e(0x2ae),_0x54a8c9),_0x13dd7a[_0x44cd9e(0x31a)]=_0x83830b[_0x44cd9e(0x296)];let _0x163f64;!this[_0x44cd9e(0x231)][_0x44cd9e(0x24c)]&&!_0x13dd7a[_0x44cd9e(0x2a0)]&&!_0x13dd7a['_receiver']['_writableState'][_0x44cd9e(0x1bf)]&&(_0x163f64=_0x13dd7a[_0x44cd9e(0x2e8)][_0x44cd9e(0x21f)]())!==null&&_0x13dd7a[_0x44cd9e(0x202)][_0x44cd9e(0x232)](_0x163f64),_0x13dd7a['_receiver'][_0x44cd9e(0x2ae)](),this[_0x3cfbf9]=void 0x0,clearTimeout(_0x13dd7a[_0x44cd9e(0x2ec)]),_0x13dd7a[_0x44cd9e(0x202)]['_writableState'][_0x44cd9e(0x228)]||_0x13dd7a['_receiver'][_0x44cd9e(0x1c3)][_0x44cd9e(0x1bf)]?_0x13dd7a[_0x44cd9e(0x1ec)]():(_0x13dd7a[_0x44cd9e(0x202)]['on'](_0x44cd9e(0x1a4),_0x53ace1),_0x13dd7a['_receiver']['on'](_0x44cd9e(0x1d9),_0x53ace1));}function _0x193e0f(_0x59f474){this[_0x3cfbf9]['_receiver']['write'](_0x59f474)||this['pause']();}function _0x54a8c9(){const _0x1ac343=_0x509c43,_0xfc5743=this[_0x3cfbf9];_0xfc5743[_0x1ac343(0x31a)]=_0x83830b[_0x1ac343(0x296)],_0xfc5743[_0x1ac343(0x202)][_0x1ac343(0x2ae)](),this[_0x1ac343(0x2ae)]();}function _0x24ffa4(){const _0x29daf7=_0x509c43,_0x194dd5=this[_0x3cfbf9];this[_0x29daf7(0x1a5)](_0x29daf7(0x1a4),_0x24ffa4),this['on'](_0x29daf7(0x1a4),_0xe285c3),_0x194dd5&&(_0x194dd5[_0x29daf7(0x31a)]=_0x83830b['CLOSING'],this[_0x29daf7(0x1f3)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x37a136}=oe;function _0x37ee10(_0x4a49ea){const _0x55f3d1=_0x146b;_0x4a49ea[_0x55f3d1(0x2d7)]('close');}function _0x4efb3a(){const _0x58a740=_0x146b;!this[_0x58a740(0x28b)]&&this[_0x58a740(0x1c3)][_0x58a740(0x228)]&&this[_0x58a740(0x1f3)]();}function _0x22ce77(_0x1a1bf4){const _0x20d96a=_0x146b;this['removeListener'](_0x20d96a(0x1a4),_0x22ce77),this[_0x20d96a(0x1f3)](),this[_0x20d96a(0x1af)](_0x20d96a(0x1a4))===0x0&&this[_0x20d96a(0x2d7)]('error',_0x1a1bf4);}function _0x2eb78e(_0x2db777,_0x359ea7){const _0x3ccb1b=_0x146b;let _0x3d7cc4=!0x0;const _0x51bda3=new _0x37a136({..._0x359ea7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2db777['on'](_0x3ccb1b(0x2e7),function(_0x585f86,_0x2455b2){const _0x293734=_0x3ccb1b,_0x23595d=!_0x2455b2&&_0x51bda3[_0x293734(0x231)][_0x293734(0x223)]?_0x585f86[_0x293734(0x219)]():_0x585f86;_0x51bda3[_0x293734(0x2f1)](_0x23595d)||_0x2db777[_0x293734(0x248)]();}),_0x2db777[_0x3ccb1b(0x1f4)]('error',function(_0x465b9b){const _0x5abe9d=_0x3ccb1b;_0x51bda3[_0x5abe9d(0x28b)]||(_0x3d7cc4=!0x1,_0x51bda3[_0x5abe9d(0x1f3)](_0x465b9b));}),_0x2db777['once'](_0x3ccb1b(0x2e1),function(){const _0x57654f=_0x3ccb1b;_0x51bda3[_0x57654f(0x28b)]||_0x51bda3[_0x57654f(0x2f1)](null);}),_0x51bda3[_0x3ccb1b(0x2e5)]=function(_0x78614d,_0x468762){const _0x18b8ed=_0x3ccb1b;if(_0x2db777[_0x18b8ed(0x291)]===_0x2db777[_0x18b8ed(0x2c8)]){_0x468762(_0x78614d),process[_0x18b8ed(0x26e)](_0x37ee10,_0x51bda3);return;}let _0x15febf=!0x1;_0x2db777['once'](_0x18b8ed(0x1a4),function(_0xf89210){_0x15febf=!0x0,_0x468762(_0xf89210);}),_0x2db777['once'](_0x18b8ed(0x2e1),function(){_0x15febf||_0x468762(_0x78614d),process['nextTick'](_0x37ee10,_0x51bda3);}),_0x3d7cc4&&_0x2db777[_0x18b8ed(0x31b)]();},_0x51bda3[_0x3ccb1b(0x2e2)]=function(_0x291a97){const _0x9347df=_0x3ccb1b;if(_0x2db777[_0x9347df(0x291)]===_0x2db777[_0x9347df(0x1d5)]){_0x2db777['once'](_0x9347df(0x2f4),function(){const _0x1320ac=_0x9347df;_0x51bda3[_0x1320ac(0x2e2)](_0x291a97);});return;}_0x2db777[_0x9347df(0x2e8)]!==null&&(_0x2db777[_0x9347df(0x2e8)][_0x9347df(0x1c3)][_0x9347df(0x228)]?(_0x291a97(),_0x51bda3['_readableState'][_0x9347df(0x24c)]&&_0x51bda3[_0x9347df(0x1f3)]()):(_0x2db777[_0x9347df(0x2e8)]['once']('finish',function(){_0x291a97();}),_0x2db777[_0x9347df(0x2e1)]()));},_0x51bda3[_0x3ccb1b(0x312)]=function(){const _0x29eafe=_0x3ccb1b;_0x2db777[_0x29eafe(0x24b)]&&_0x2db777[_0x29eafe(0x25d)]();},_0x51bda3['_write']=function(_0x4cd207,_0x5dc333,_0x177615){const _0x39f1d3=_0x3ccb1b;if(_0x2db777[_0x39f1d3(0x291)]===_0x2db777[_0x39f1d3(0x1d5)]){_0x2db777[_0x39f1d3(0x1f4)]('open',function(){const _0x3f4f9b=_0x39f1d3;_0x51bda3[_0x3f4f9b(0x249)](_0x4cd207,_0x5dc333,_0x177615);});return;}_0x2db777[_0x39f1d3(0x18f)](_0x4cd207,_0x177615);},_0x51bda3['on'](_0x3ccb1b(0x2ae),_0x4efb3a),_0x51bda3['on'](_0x3ccb1b(0x1a4),_0x22ce77),_0x51bda3;}return Oe=_0x2eb78e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x593ab2}=ae();function _0x1f0641(_0x43ef18){const _0x55506a=_0x146b,_0x3dd0bd=new Set();let _0x14eaf4=-0x1,_0x3bce9c=-0x1,_0x9e31e9=0x0;for(_0x9e31e9;_0x9e31e9<_0x43ef18[_0x55506a(0x24e)];_0x9e31e9++){const _0x5dd847=_0x43ef18[_0x55506a(0x181)](_0x9e31e9);if(_0x3bce9c===-0x1&&_0x593ab2[_0x5dd847]===0x1)_0x14eaf4===-0x1&&(_0x14eaf4=_0x9e31e9);else{if(_0x9e31e9!==0x0&&(_0x5dd847===0x20||_0x5dd847===0x9))_0x3bce9c===-0x1&&_0x14eaf4!==-0x1&&(_0x3bce9c=_0x9e31e9);else{if(_0x5dd847===0x2c){if(_0x14eaf4===-0x1)throw new SyntaxError(_0x55506a(0x230)+_0x9e31e9);_0x3bce9c===-0x1&&(_0x3bce9c=_0x9e31e9);const _0x2a097f=_0x43ef18[_0x55506a(0x1b7)](_0x14eaf4,_0x3bce9c);if(_0x3dd0bd['has'](_0x2a097f))throw new SyntaxError(_0x55506a(0x2d3)+_0x2a097f+'\x22\x20subprotocol\x20is\x20duplicated');_0x3dd0bd[_0x55506a(0x21b)](_0x2a097f),_0x14eaf4=_0x3bce9c=-0x1;}else throw new SyntaxError(_0x55506a(0x230)+_0x9e31e9);}}}if(_0x14eaf4===-0x1||_0x3bce9c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x17627b=_0x43ef18[_0x55506a(0x1b7)](_0x14eaf4,_0x9e31e9);if(_0x3dd0bd[_0x55506a(0x2ff)](_0x17627b))throw new SyntaxError('The\x20\x22'+_0x17627b+_0x55506a(0x2c2));return _0x3dd0bd['add'](_0x17627b),_0x3dd0bd;}return Ce={'parse':_0x1f0641},Ce;}var Te,rt;function Ft(){const _0x2d3e2d=_0x195cc0;if(rt)return Te;rt=0x1;const _0x58b969=nt,_0x16507a=ot,{Duplex:_0xdc2019}=oe,{createHash:_0x5a77d6}=Le,_0x183457=ct(),_0x4d5e39=he(),_0x14ed57=At(),_0x4a0c6d=Pe(),{GUID:_0x1b1440,kWebSocket:_0x5d1eea}=H(),_0x1c55ad=/^[+/0-9A-Za-z]{22}==$/,_0x1437f0=0x0,_0x336a16=0x1,_0x38a55d=0x2;class _0x726b4d extends _0x58b969{constructor(_0x374b57,_0xd8abad){const _0x47addc=_0x146b;if(super(),_0x374b57={'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':_0x4a0c6d,..._0x374b57},_0x374b57[_0x47addc(0x1ab)]==null&&!_0x374b57[_0x47addc(0x310)]&&!_0x374b57[_0x47addc(0x2ee)]||_0x374b57[_0x47addc(0x1ab)]!=null&&(_0x374b57[_0x47addc(0x310)]||_0x374b57[_0x47addc(0x2ee)])||_0x374b57['server']&&_0x374b57[_0x47addc(0x2ee)])throw new TypeError(_0x47addc(0x2a6));if(_0x374b57['port']!=null?(this[_0x47addc(0x251)]=_0x16507a[_0x47addc(0x216)]((_0x4b9571,_0x25c4cd)=>{const _0x1c904e=_0x47addc,_0x4acba0=_0x16507a['STATUS_CODES'][0x1aa];_0x25c4cd[_0x1c904e(0x1f7)](0x1aa,{'Content-Length':_0x4acba0['length'],'Content-Type':_0x1c904e(0x278)}),_0x25c4cd[_0x1c904e(0x2ae)](_0x4acba0);}),this[_0x47addc(0x251)]['listen'](_0x374b57[_0x47addc(0x1ab)],_0x374b57[_0x47addc(0x316)],_0x374b57['backlog'],_0xd8abad)):_0x374b57[_0x47addc(0x310)]&&(this[_0x47addc(0x251)]=_0x374b57['server']),this['_server']){const _0x3143d4=this[_0x47addc(0x2d7)][_0x47addc(0x2fb)](this,_0x47addc(0x189));this[_0x47addc(0x22b)]=_0x266129(this[_0x47addc(0x251)],{'listening':this[_0x47addc(0x2d7)][_0x47addc(0x2fb)](this,_0x47addc(0x168)),'error':this[_0x47addc(0x2d7)][_0x47addc(0x2fb)](this,'error'),'upgrade':(_0x209126,_0x1991f3,_0x3e8e37)=>{const _0x44c084=_0x47addc;this[_0x44c084(0x279)](_0x209126,_0x1991f3,_0x3e8e37,_0x3143d4);}});}_0x374b57[_0x47addc(0x2cf)]===!0x0&&(_0x374b57['perMessageDeflate']={}),_0x374b57[_0x47addc(0x209)]&&(this[_0x47addc(0x261)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x374b57,this[_0x47addc(0x273)]=_0x1437f0;}[_0x2d3e2d(0x253)](){const _0x394034=_0x2d3e2d;if(this[_0x394034(0x308)]['noServer'])throw new Error(_0x394034(0x2b4));return this['_server']?this[_0x394034(0x251)][_0x394034(0x253)]():null;}['close'](_0x24518c){const _0x4e7863=_0x2d3e2d;if(this[_0x4e7863(0x273)]===_0x38a55d){_0x24518c&&this[_0x4e7863(0x1f4)](_0x4e7863(0x2e1),()=>{const _0x15ceaa=_0x4e7863;_0x24518c(new Error(_0x15ceaa(0x17e)));}),process[_0x4e7863(0x26e)](_0x20ac76,this);return;}if(_0x24518c&&this['once']('close',_0x24518c),this[_0x4e7863(0x273)]!==_0x336a16){if(this['_state']=_0x336a16,this['options'][_0x4e7863(0x2ee)]||this[_0x4e7863(0x308)]['server'])this[_0x4e7863(0x251)]&&(this['_removeListeners'](),this[_0x4e7863(0x22b)]=this[_0x4e7863(0x251)]=null),this['clients']?this[_0x4e7863(0x261)][_0x4e7863(0x29a)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x20ac76,this):process[_0x4e7863(0x26e)](_0x20ac76,this);else{const _0x10c6d5=this[_0x4e7863(0x251)];this[_0x4e7863(0x22b)](),this[_0x4e7863(0x22b)]=this['_server']=null,_0x10c6d5[_0x4e7863(0x2e1)](()=>{_0x20ac76(this);});}}}[_0x2d3e2d(0x18e)](_0x11b40d){const _0x4b2f62=_0x2d3e2d;if(this[_0x4b2f62(0x308)][_0x4b2f62(0x27d)]){const _0x346328=_0x11b40d[_0x4b2f62(0x1ba)]['indexOf']('?');if((_0x346328!==-0x1?_0x11b40d['url'][_0x4b2f62(0x1b7)](0x0,_0x346328):_0x11b40d[_0x4b2f62(0x1ba)])!==this[_0x4b2f62(0x308)][_0x4b2f62(0x27d)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3f792b,_0x270bbb,_0xe8f22e,_0x28ac41){const _0x3964b8=_0x2d3e2d;_0x270bbb['on'](_0x3964b8(0x1a4),_0x5edc91);const _0x17417=_0x3f792b[_0x3964b8(0x2d6)][_0x3964b8(0x2be)],_0xaf7bfe=_0x3f792b[_0x3964b8(0x2d6)][_0x3964b8(0x1f0)],_0x25fa36=+_0x3f792b[_0x3964b8(0x2d6)][_0x3964b8(0x1cc)];if(_0x3f792b['method']!==_0x3964b8(0x31c)){_0x34b442(this,_0x3f792b,_0x270bbb,0x195,_0x3964b8(0x1b8));return;}if(_0xaf7bfe===void 0x0||_0xaf7bfe['toLowerCase']()!==_0x3964b8(0x2b6)){_0x34b442(this,_0x3f792b,_0x270bbb,0x190,_0x3964b8(0x16e));return;}if(_0x17417===void 0x0||!_0x1c55ad[_0x3964b8(0x2a8)](_0x17417)){_0x34b442(this,_0x3f792b,_0x270bbb,0x190,_0x3964b8(0x26c));return;}if(_0x25fa36!==0xd&&_0x25fa36!==0x8){_0x34b442(this,_0x3f792b,_0x270bbb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x3964b8(0x2ac)});return;}if(!this[_0x3964b8(0x18e)](_0x3f792b)){_0x3a91fb(_0x270bbb,0x190);return;}const _0x10f52f=_0x3f792b[_0x3964b8(0x2d6)]['sec-websocket-protocol'];let _0x421e53=new Set();if(_0x10f52f!==void 0x0)try{_0x421e53=_0x14ed57['parse'](_0x10f52f);}catch{_0x34b442(this,_0x3f792b,_0x270bbb,0x190,_0x3964b8(0x300));return;}const _0xf67b9=_0x3f792b['headers'][_0x3964b8(0x2a9)],_0x40ec3f={};if(this[_0x3964b8(0x308)][_0x3964b8(0x2cf)]&&_0xf67b9!==void 0x0){const _0x4f53f0=new _0x4d5e39(this[_0x3964b8(0x308)]['perMessageDeflate'],!0x0,this[_0x3964b8(0x308)][_0x3964b8(0x2bc)]);try{const _0x1695fe=_0x183457[_0x3964b8(0x222)](_0xf67b9);_0x1695fe[_0x4d5e39['extensionName']]&&(_0x4f53f0['accept'](_0x1695fe[_0x4d5e39[_0x3964b8(0x321)]]),_0x40ec3f[_0x4d5e39[_0x3964b8(0x321)]]=_0x4f53f0);}catch{_0x34b442(this,_0x3f792b,_0x270bbb,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x3964b8(0x27a)]){const _0x5089bb={'origin':_0x3f792b[_0x3964b8(0x2d6)][''+(_0x25fa36===0x8?_0x3964b8(0x18b):_0x3964b8(0x170))],'secure':!!(_0x3f792b[_0x3964b8(0x18d)][_0x3964b8(0x1b6)]||_0x3f792b[_0x3964b8(0x18d)][_0x3964b8(0x245)]),'req':_0x3f792b};if(this[_0x3964b8(0x308)][_0x3964b8(0x27a)]['length']===0x2){this[_0x3964b8(0x308)][_0x3964b8(0x27a)](_0x5089bb,(_0x4eecc8,_0x96225a,_0xaff907,_0x29c164)=>{const _0x38e63a=_0x3964b8;if(!_0x4eecc8)return _0x3a91fb(_0x270bbb,_0x96225a||0x191,_0xaff907,_0x29c164);this[_0x38e63a(0x224)](_0x40ec3f,_0x17417,_0x421e53,_0x3f792b,_0x270bbb,_0xe8f22e,_0x28ac41);});return;}if(!this[_0x3964b8(0x308)][_0x3964b8(0x27a)](_0x5089bb))return _0x3a91fb(_0x270bbb,0x191);}this[_0x3964b8(0x224)](_0x40ec3f,_0x17417,_0x421e53,_0x3f792b,_0x270bbb,_0xe8f22e,_0x28ac41);}[_0x2d3e2d(0x224)](_0x2705a9,_0x37cd11,_0x49e5b6,_0x19bcf4,_0x4ba575,_0x2555e0,_0x2e4ac4){const _0x56e668=_0x2d3e2d;if(!_0x4ba575[_0x56e668(0x185)]||!_0x4ba575[_0x56e668(0x2a5)])return _0x4ba575[_0x56e668(0x1f3)]();if(_0x4ba575[_0x5d1eea])throw new Error(_0x56e668(0x2f0));if(this[_0x56e668(0x273)]>_0x1437f0)return _0x3a91fb(_0x4ba575,0x1f7);const _0x399b77=[_0x56e668(0x1fa),_0x56e668(0x254),'Connection:\x20Upgrade',_0x56e668(0x274)+_0x5a77d6(_0x56e668(0x233))['update'](_0x37cd11+_0x1b1440)[_0x56e668(0x27e)](_0x56e668(0x1de))],_0x33dcc5=new this[(_0x56e668(0x308))][(_0x56e668(0x207))](null,void 0x0,this['options']);if(_0x49e5b6[_0x56e668(0x29a)]){const _0x18af87=this[_0x56e668(0x308)][_0x56e668(0x1ad)]?this[_0x56e668(0x308)]['handleProtocols'](_0x49e5b6,_0x19bcf4):_0x49e5b6[_0x56e668(0x171)]()['next']()['value'];_0x18af87&&(_0x399b77['push']('Sec-WebSocket-Protocol:\x20'+_0x18af87),_0x33dcc5['_protocol']=_0x18af87);}if(_0x2705a9[_0x4d5e39[_0x56e668(0x321)]]){const _0x408f1e=_0x2705a9[_0x4d5e39['extensionName']][_0x56e668(0x22d)],_0x30425a=_0x183457[_0x56e668(0x1ff)]({[_0x4d5e39[_0x56e668(0x321)]]:[_0x408f1e]});_0x399b77[_0x56e668(0x2f1)]('Sec-WebSocket-Extensions:\x20'+_0x30425a),_0x33dcc5[_0x56e668(0x165)]=_0x2705a9;}this[_0x56e668(0x2d7)](_0x56e668(0x2d6),_0x399b77,_0x19bcf4),_0x4ba575['write'](_0x399b77[_0x56e668(0x30d)]('\x0d\x0a')[_0x56e668(0x26b)]('\x0d\x0a')),_0x4ba575[_0x56e668(0x1a5)](_0x56e668(0x1a4),_0x5edc91),_0x33dcc5[_0x56e668(0x180)](_0x4ba575,_0x2555e0,{'allowSynchronousEvents':this['options'][_0x56e668(0x2f2)],'maxPayload':this['options'][_0x56e668(0x2bc)],'skipUTF8Validation':this[_0x56e668(0x308)][_0x56e668(0x2c1)]}),this['clients']&&(this['clients'][_0x56e668(0x21b)](_0x33dcc5),_0x33dcc5['on']('close',()=>{const _0x5e1952=_0x56e668;this[_0x5e1952(0x261)][_0x5e1952(0x281)](_0x33dcc5),this[_0x5e1952(0x1e1)]&&!this[_0x5e1952(0x261)][_0x5e1952(0x29a)]&&process[_0x5e1952(0x26e)](_0x20ac76,this);})),_0x2e4ac4(_0x33dcc5,_0x19bcf4);}}Te=_0x726b4d;function _0x266129(_0xa0f3c1,_0x73bac8){const _0x4ebd09=_0x2d3e2d;for(const _0x19ddaa of Object[_0x4ebd09(0x2fe)](_0x73bac8))_0xa0f3c1['on'](_0x19ddaa,_0x73bac8[_0x19ddaa]);return function(){const _0x1cbaf4=_0x4ebd09;for(const _0x21d21b of Object['keys'](_0x73bac8))_0xa0f3c1[_0x1cbaf4(0x1a5)](_0x21d21b,_0x73bac8[_0x21d21b]);};}function _0x20ac76(_0x4b272b){const _0x58722c=_0x2d3e2d;_0x4b272b[_0x58722c(0x273)]=_0x38a55d,_0x4b272b[_0x58722c(0x2d7)]('close');}function _0x5edc91(){const _0x38c141=_0x2d3e2d;this[_0x38c141(0x1f3)]();}function _0x3a91fb(_0x3e6918,_0x26c324,_0x39d121,_0x17a1ee){const _0x56cf8c=_0x2d3e2d;_0x39d121=_0x39d121||_0x16507a[_0x56cf8c(0x16a)][_0x26c324],_0x17a1ee={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x56cf8c(0x20d)](_0x39d121),..._0x17a1ee},_0x3e6918[_0x56cf8c(0x1f4)](_0x56cf8c(0x1d9),_0x3e6918['destroy']),_0x3e6918[_0x56cf8c(0x2ae)](_0x56cf8c(0x17a)+_0x26c324+'\x20'+_0x16507a[_0x56cf8c(0x16a)][_0x26c324]+'\x0d\x0a'+Object[_0x56cf8c(0x2fe)](_0x17a1ee)[_0x56cf8c(0x172)](_0x56ca94=>_0x56ca94+':\x20'+_0x17a1ee[_0x56ca94])[_0x56cf8c(0x26b)]('\x0d\x0a')+_0x56cf8c(0x1b4)+_0x39d121);}function _0x34b442(_0xcc399e,_0x40fcd2,_0x450025,_0x4a2d3d,_0x18c3c0,_0x28aa3f){const _0x312757=_0x2d3e2d;if(_0xcc399e['listenerCount']('wsClientError')){const _0x3e86bb=new Error(_0x18c3c0);Error[_0x312757(0x210)](_0x3e86bb,_0x34b442),_0xcc399e[_0x312757(0x2d7)]('wsClientError',_0x3e86bb,_0x450025,_0x40fcd2);}else _0x3a91fb(_0x450025,_0x4a2d3d,_0x18c3c0,_0x28aa3f);}return Te;}Ft();var jt=Object[_0x195cc0(0x1b9)],Wt=(_0xd529e4,_0x4c968f,_0x301b2d,_0x5c63fe)=>{const _0x204b80=_0x195cc0;for(var _0x13faec=_0x5c63fe>0x1?void 0x0:_0x5c63fe?jt(_0x4c968f,_0x301b2d):_0x4c968f,_0x5e3010=_0xd529e4[_0x204b80(0x24e)]-0x1,_0x3b0cd6;_0x5e3010>=0x0;_0x5e3010--)(_0x3b0cd6=_0xd529e4[_0x5e3010])&&(_0x13faec=_0x3b0cd6(_0x13faec)||_0x13faec);return _0x13faec;},qt=(_0x3dca65,_0xd37cf7)=>(_0x993dae,_0x4cdef4)=>_0xd37cf7(_0x993dae,_0x4cdef4,_0x3dca65);let ke=class extends A[_0x195cc0(0x2c6)]{constructor(_0x4da688){const _0x38259a=_0x195cc0;super(),this[_0x38259a(0x320)]=_0x4da688;}[_0x195cc0(0x294)](_0x3dd460){const _0x4d06d0=_0x195cc0;var _0x5434d7;const _0x21a1c0=(_0x5434d7=this[_0x4d06d0(0x320)][_0x4d06d0(0x192)](fe))==null?void 0x0:_0x5434d7[_0x4d06d0(0x29b)];try{const _0x570444=new $t(_0x3dd460,{'headers':{..._0x21a1c0}}),_0x494044=new A[(_0x4d06d0(0x303))]();return{'URL':_0x3dd460,'close':(_0x40363b,_0x2abd16)=>{const _0x466cf4=_0x4d06d0;_0x570444['close'](_0x40363b,_0x2abd16),_0x494044[_0x466cf4(0x234)]();},'send':_0x3a4e6e=>{const _0x3d96dc=_0x4d06d0;_0x570444[_0x3d96dc(0x18f)](_0x3a4e6e);},'open$':new V['Observable'](_0x2c9471=>{const _0x1580fe=_0x4d06d0,_0x5a197b=_0x3df1fa=>_0x2c9471[_0x1580fe(0x193)](_0x3df1fa);_0x570444[_0x1580fe(0x28f)](_0x1580fe(0x2f4),_0x5a197b),_0x494044[_0x1580fe(0x21b)](A[_0x1580fe(0x2c5)](()=>_0x570444[_0x1580fe(0x242)](_0x1580fe(0x2f4),_0x5a197b)));})['pipe'](V['share']()),'close$':new V[(_0x4d06d0(0x28c))](_0xf4d2a6=>{const _0xc7143f=_0x4d06d0,_0x1d8c4a=_0x279ab0=>_0xf4d2a6[_0xc7143f(0x193)](_0x279ab0);_0x570444['addEventListener'](_0xc7143f(0x2e1),_0x1d8c4a),_0x494044[_0xc7143f(0x21b)](A[_0xc7143f(0x2c5)](()=>_0x570444[_0xc7143f(0x242)]('close',_0x1d8c4a)));})[_0x4d06d0(0x1e0)](V[_0x4d06d0(0x1fb)]()),'error$':new V[(_0x4d06d0(0x28c))](_0x5ba607=>{const _0x5c6b52=_0x4d06d0,_0x319e84=_0x33d91f=>_0x5ba607[_0x5c6b52(0x193)](_0x33d91f);_0x570444['addEventListener']('error',_0x319e84),_0x494044[_0x5c6b52(0x21b)](A[_0x5c6b52(0x2c5)](()=>_0x570444[_0x5c6b52(0x242)](_0x5c6b52(0x1a4),_0x319e84)));})[_0x4d06d0(0x1e0)](V['share']()),'message$':new V['Observable'](_0x49467d=>{const _0x4fd4c4=_0x4d06d0,_0x5bebd2=_0x38160b=>_0x49467d[_0x4fd4c4(0x193)](_0x38160b);_0x570444['addEventListener'](_0x4fd4c4(0x2e7),_0x5bebd2),_0x494044['add'](A[_0x4fd4c4(0x2c5)](()=>_0x570444[_0x4fd4c4(0x242)]('message',_0x5bebd2)));})['pipe'](V[_0x4d06d0(0x1fb)]())};}catch(_0x217c70){return console['error'](_0x217c70),null;}}};ke=Wt([qt(0x0,A[_0x195cc0(0x2ca)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x195cc0(0x1b9)],Ht=(_0x5f4209,_0x463284,_0x1f00a2)=>_0x463284 in _0x5f4209?Gt(_0x5f4209,_0x463284,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f00a2}):_0x5f4209[_0x463284]=_0x1f00a2,zt=(_0x2e7fd9,_0x598350,_0x36a268,_0x4a8861)=>{const _0x14e049=_0x195cc0;for(var _0x325f4b=_0x4a8861>0x1?void 0x0:_0x4a8861?Vt(_0x598350,_0x36a268):_0x598350,_0x49c5a1=_0x2e7fd9[_0x14e049(0x24e)]-0x1,_0x58b374;_0x49c5a1>=0x0;_0x49c5a1--)(_0x58b374=_0x2e7fd9[_0x49c5a1])&&(_0x325f4b=_0x58b374(_0x325f4b)||_0x325f4b);return _0x325f4b;},Ne=(_0x3ae26b,_0x3c26c8)=>(_0x1d9d21,_0x21941f)=>_0x3c26c8(_0x1d9d21,_0x21941f,_0x3ae26b),Yt=(_0x59b3de,_0x9769de,_0x1b115a)=>Ht(_0x59b3de,_0x9769de+'',_0x1b115a);exports[_0x195cc0(0x240)]=class extends A['Plugin']{constructor(_0x47eff5=Ct,_0x5774ee,_0x56c383,_0x114ca1){const _0x38b835=_0x195cc0;_0x47eff5[_0x38b835(0x29b)]||_0x5774ee['warn'](_0x38b835(0x30b)),super(),this[_0x38b835(0x320)]=_0x56c383,this['_injector']=_0x114ca1,this[_0x38b835(0x320)][_0x38b835(0x26d)](fe,_0x47eff5);}[_0x195cc0(0x2f8)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x497061=_0x195cc0;A['registerDependencies'](this['_injector'],[[it[_0x497061(0x2eb)],{'useClass':ke}]]);}},Yt(exports[_0x195cc0(0x240)],_0x195cc0(0x2d8),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x195cc0(0x240)]=zt([A[_0x195cc0(0x267)](st[_0x195cc0(0x31d)]),Ne(0x1,A[_0x195cc0(0x270)]),Ne(0x2,A[_0x195cc0(0x2ca)]),Ne(0x3,A[_0x195cc0(0x265)](A[_0x195cc0(0x306)]))],exports[_0x195cc0(0x240)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0xe9f098,_0x85c33e,_0x78dcc4,_0x2b8c1c)=>{for(var _0x249f86=_0x2b8c1c>0x1?void 0x0:_0x2b8c1c?Kt(_0x85c33e,_0x78dcc4):_0x85c33e,_0x57c2a7=_0xe9f098['length']-0x1,_0x4f2c87;_0x57c2a7>=0x0;_0x57c2a7--)(_0x4f2c87=_0xe9f098[_0x57c2a7])&&(_0x249f86=_0x4f2c87(_0x249f86)||_0x249f86);return _0x249f86;},ne=(_0x139e56,_0xabd3df)=>(_0x4778b8,_0x2f9f85)=>_0xabd3df(_0x4778b8,_0x2f9f85,_0x139e56);exports['NodeCollaborationSocketService']=class extends st[_0x195cc0(0x179)]{constructor(_0x248219,_0x2f0052,_0x1dc55e,_0x5d55be,_0x3fc1ec){const _0x49a88d=_0x195cc0;super(_0x248219,_0x2f0052,_0x1dc55e,_0x5d55be,_0x3fc1ec);const _0x14bb02=this[_0x49a88d(0x320)][_0x49a88d(0x192)](fe);this[_0x49a88d(0x2b8)][_0x49a88d(0x1d0)]({'interceptor':(_0x4a48ae,_0x11d196)=>{const _0x34b421=_0x49a88d;var _0x1cdb46;const _0x28e1b4=_0x4a48ae['headers'];return(_0x1cdb46=_0x14bb02==null?void 0x0:_0x14bb02['customHeaders'])!=null&&_0x1cdb46[_0x34b421(0x2dd)]&&_0x28e1b4[_0x34b421(0x1fc)](_0x34b421(0x29c),_0x14bb02[_0x34b421(0x29b)][_0x34b421(0x2dd)]),_0x11d196(_0x4a48ae);}});}async[_0x195cc0(0x294)](_0x2ecd45){const _0x41c0fc=_0x195cc0;return this[_0x41c0fc(0x2b1)](_0x2ecd45);}},exports[_0x195cc0(0x268)]=Xt([ne(0x0,A[_0x195cc0(0x265)](A[_0x195cc0(0x306)])),ne(0x1,A[_0x195cc0(0x265)](it['HTTPService'])),ne(0x2,A[_0x195cc0(0x2ca)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x195cc0(0x226)])],exports[_0x195cc0(0x268)]),exports[_0x195cc0(0x2bf)]=fe;