@univerjs-pro/collaboration-client-node 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x495098=_0x7a81;function _0x7a81(_0x4b9af0,_0x313810){const _0x56894d=_0x5689();return _0x7a81=function(_0x7a81ef,_0x20f7d4){_0x7a81ef=_0x7a81ef-0x1bc;let _0x2a2a04=_0x56894d[_0x7a81ef];return _0x2a2a04;},_0x7a81(_0x4b9af0,_0x313810);}(function(_0x2cecc8,_0x1023d1){const _0x54641f=_0x7a81,_0x53d645=_0x2cecc8();while(!![]){try{const _0x469430=parseInt(_0x54641f(0x2e6))/0x1+-parseInt(_0x54641f(0x1d6))/0x2*(parseInt(_0x54641f(0x2a5))/0x3)+-parseInt(_0x54641f(0x1cc))/0x4*(-parseInt(_0x54641f(0x20c))/0x5)+parseInt(_0x54641f(0x1ee))/0x6+parseInt(_0x54641f(0x2a6))/0x7*(parseInt(_0x54641f(0x269))/0x8)+parseInt(_0x54641f(0x313))/0x9+parseInt(_0x54641f(0x207))/0xa*(-parseInt(_0x54641f(0x1f8))/0xb);if(_0x469430===_0x1023d1)break;else _0x53d645['push'](_0x53d645['shift']());}catch(_0x555808){_0x53d645['push'](_0x53d645['shift']());}}}(_0x5689,0x9bd07));Object[_0x495098(0x331)](exports,Symbol[_0x495098(0x29d)],{'value':'Module'});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(_0x41b2f6){const _0x52e5b4=_0x495098;return _0x41b2f6&&_0x41b2f6['__esModule']&&Object[_0x52e5b4(0x21b)][_0x52e5b4(0x1d0)]['call'](_0x41b2f6,_0x52e5b4(0x2d8))?_0x41b2f6[_0x52e5b4(0x2d8)]:_0x41b2f6;}function at(_0x5514f9){const _0x5cb388=_0x495098;if(Object[_0x5cb388(0x21b)]['hasOwnProperty'][_0x5cb388(0x26e)](_0x5514f9,'__esModule'))return _0x5514f9;var _0x54c201=_0x5514f9[_0x5cb388(0x2d8)];if(typeof _0x54c201==_0x5cb388(0x308)){var _0x273d5a=function _0x24453f(){const _0x1f01fb=_0x5cb388;var _0x22f425=!0x1;try{_0x22f425=this instanceof _0x24453f;}catch{}return _0x22f425?Reflect[_0x1f01fb(0x320)](_0x54c201,arguments,this[_0x1f01fb(0x2ca)]):_0x54c201[_0x1f01fb(0x23e)](this,arguments);};_0x273d5a[_0x5cb388(0x21b)]=_0x54c201[_0x5cb388(0x21b)];}else _0x273d5a={};return Object[_0x5cb388(0x331)](_0x273d5a,_0x5cb388(0x343),{'value':!0x0}),Object['keys'](_0x5514f9)[_0x5cb388(0x36c)](function(_0x2f39de){const _0x47c410=_0x5cb388;var _0x5f53d8=Object[_0x47c410(0x2b1)](_0x5514f9,_0x2f39de);Object[_0x47c410(0x331)](_0x273d5a,_0x2f39de,_0x5f53d8['get']?_0x5f53d8:{'enumerable':!0x0,'get':function(){return _0x5514f9[_0x2f39de];}});}),_0x273d5a;}var se={'exports':{}},ge,Ge;function H(){const _0x1cd2e4=_0x495098;if(Ge)return ge;Ge=0x1;const _0x3e4ff6=['nodebuffer',_0x1cd2e4(0x2e4),_0x1cd2e4(0x299)],_0x5c3f93=typeof Blob<'u';return _0x5c3f93&&_0x3e4ff6['push']('blob'),ge={'BINARY_TYPES':_0x3e4ff6,'EMPTY_BUFFER':Buffer[_0x1cd2e4(0x213)](0x0),'GUID':_0x1cd2e4(0x2cf),'hasBlob':_0x5c3f93,'kForOnEventAttribute':Symbol(_0x1cd2e4(0x2bf)),'kListener':Symbol(_0x1cd2e4(0x2f0)),'kStatusCode':Symbol(_0x1cd2e4(0x2a1)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x495098(0x2b7)](Object[_0x495098(0x331)]({'__proto__':null,'default':Nt},Symbol[_0x495098(0x29d)],{'value':_0x495098(0x20f)})),Lt=at(kt);var Ve;function ce(){const _0x4c2139=_0x495098;if(Ve)return se[_0x4c2139(0x1ec)];Ve=0x1;const {EMPTY_BUFFER:_0x1e2de1}=H(),_0x56eae6=Buffer[Symbol[_0x4c2139(0x1d7)]];function _0x318259(_0x36722c,_0x41b162){const _0x533fda=_0x4c2139;if(_0x36722c[_0x533fda(0x245)]===0x0)return _0x1e2de1;if(_0x36722c[_0x533fda(0x245)]===0x1)return _0x36722c[0x0];const _0x16084d=Buffer[_0x533fda(0x379)](_0x41b162);let _0x4a1dbd=0x0;for(let _0x4765a8=0x0;_0x4765a8<_0x36722c['length'];_0x4765a8++){const _0x28d090=_0x36722c[_0x4765a8];_0x16084d['set'](_0x28d090,_0x4a1dbd),_0x4a1dbd+=_0x28d090['length'];}return _0x4a1dbd<_0x41b162?new _0x56eae6(_0x16084d['buffer'],_0x16084d[_0x533fda(0x33c)],_0x4a1dbd):_0x16084d;}function _0x55a6b8(_0x5d1aed,_0x4174c1,_0x113ba6,_0x2b0c09,_0x106aae){for(let _0x203ddd=0x0;_0x203ddd<_0x106aae;_0x203ddd++)_0x113ba6[_0x2b0c09+_0x203ddd]=_0x5d1aed[_0x203ddd]^_0x4174c1[_0x203ddd&0x3];}function _0x2edbb0(_0x5dd125,_0x204e34){const _0x38224=_0x4c2139;for(let _0x1c362e=0x0;_0x1c362e<_0x5dd125[_0x38224(0x245)];_0x1c362e++)_0x5dd125[_0x1c362e]^=_0x204e34[_0x1c362e&0x3];}function _0x1ee18f(_0x372448){const _0x2307a9=_0x4c2139;return _0x372448['length']===_0x372448[_0x2307a9(0x2c6)][_0x2307a9(0x27d)]?_0x372448[_0x2307a9(0x2c6)]:_0x372448['buffer'][_0x2307a9(0x287)](_0x372448[_0x2307a9(0x33c)],_0x372448[_0x2307a9(0x33c)]+_0x372448[_0x2307a9(0x245)]);}function _0x3c55da(_0x56a2d9){const _0x5e3c5c=_0x4c2139;if(_0x3c55da[_0x5e3c5c(0x203)]=!0x0,Buffer[_0x5e3c5c(0x35d)](_0x56a2d9))return _0x56a2d9;let _0x11dd3c;return _0x56a2d9 instanceof ArrayBuffer?_0x11dd3c=new _0x56eae6(_0x56a2d9):ArrayBuffer[_0x5e3c5c(0x274)](_0x56a2d9)?_0x11dd3c=new _0x56eae6(_0x56a2d9[_0x5e3c5c(0x2c6)],_0x56a2d9['byteOffset'],_0x56a2d9[_0x5e3c5c(0x27d)]):(_0x11dd3c=Buffer[_0x5e3c5c(0x261)](_0x56a2d9),_0x3c55da['readOnly']=!0x1),_0x11dd3c;}if(se[_0x4c2139(0x1ec)]={'concat':_0x318259,'mask':_0x55a6b8,'toArrayBuffer':_0x1ee18f,'toBuffer':_0x3c55da,'unmask':_0x2edbb0},!process[_0x4c2139(0x32d)][_0x4c2139(0x1e8)])try{const _0x34999a=Lt;se[_0x4c2139(0x1ec)][_0x4c2139(0x342)]=function(_0x1a8a24,_0x5d5a9d,_0x97c047,_0x44b2f6,_0x27b433){_0x27b433<0x30?_0x55a6b8(_0x1a8a24,_0x5d5a9d,_0x97c047,_0x44b2f6,_0x27b433):_0x34999a['mask'](_0x1a8a24,_0x5d5a9d,_0x97c047,_0x44b2f6,_0x27b433);},se['exports']['unmask']=function(_0x4c387d,_0x2127da){const _0x3bd266=_0x4c2139;_0x4c387d[_0x3bd266(0x245)]<0x20?_0x2edbb0(_0x4c387d,_0x2127da):_0x34999a[_0x3bd266(0x1eb)](_0x4c387d,_0x2127da);};}catch{}return se[_0x4c2139(0x1ec)];}function _0x5689(){const _0x10c1de=['alloc','find','shouldHandle','setSocket','includes','_maskBuffer','_write','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','prototype','Connection:\x20Upgrade','then','rsv1','push','url','needDrain','opcode','getPayloadLength16','digest','_final','_bufferedBytes','sha1','isArray','reset','zlibDeflateOptions','unshift','isInteger','Upgrade:\x20websocket','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','pipe','Server\x20sent\x20no\x20subprotocol','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','GET','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','generateMask','CONNECTING','allowSynchronousEvents','_originalIpc','Sec-WebSocket-Protocol','message','indexOf','finishRequest','_allowSynchronousEvents','toLowerCase','apply','kAborted','_receiver','onopen','server','_server','base64','length','data','getBlobData','dataMessage','once','_protocol','acceptAsServer','jobs','objectMode','sendFrame','_originalSecure','wasClean','upgrade','Unexpected\x20server\x20response:\x20','request','_doCreateSocket','resume','CLOSING','unexpected-response','_extensions','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_threshold','concurrencyLimit','Invalid\x20Sec-WebSocket-Accept\x20header','wsClientError','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','IConfigService','Invalid\x20HTTP\x20method','from','WebSocket\x20is\x20not\x20open:\x20readyState\x20','params','defaultPort','nodebuffer','protocolVersion','pluginName','File','4809624PmOTDm','decompress','client_no_context_takeover','The\x20\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','call','total-length','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','authorized','_no_context_takeover','cleanup','isView','haveLength','onmessage','writeUInt16BE','target','href','CLOSED','accept','kRun','byteLength','text/plain','_errorEmitted','type','_binaryType','readUInt32BE','Invalid\x20Sec-WebSocket-Protocol\x20header','wss:','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','dispose','slice','update','skipUTF8Validation','username','finished','isPaused','13,\x208','_masked','_mask','ws:','entries','ILogService','bind','terminate','verifyClient','kType','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20URL:\x20','fragments','kData','_closeMessage','concat','toStringTag','DependentOn','RSV1\x20must\x20be\x20clear','Z_SYNC_FLUSH','status-code','_registerDependencies','controlMessage','invalid\x20opcode\x200','129084CuDvuY','7ZqQvXP','sec-websocket-origin','path','invalid\x20payload\x20length\x20','redirect','compress','_messageLength','flush','websocket','destroy','_injector','getOwnPropertyDescriptor','size','removeListener','getInfo','extensions','consume','freeze','arrayBuffer','_url','fin','options','Upgrade','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getConfig','kIsForOnEventAttribute','ISnapshotServerService','completeUpgrade','callback','setNoDelay','reason','_redirects','buffer','_httpService','writeHead','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','constructor','stream','Invalid\x20value\x20for\x20parameter\x20\x22','_originalHostOrSocketPath','The\x20server\x20is\x20not\x20running','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','add','kError','servername','Origin','concurrency','code','_inflate','address','default','HTTPService','Invalid\x20WebSocket\x20frame:\x20','error','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Observable','cork','object','followRedirects','finish','next','end','arraybuffer','encrypted','892674QLIgFx','onStarting','clients','nextTick','_writableState','sec-websocket-accept','_loop','handleEvent','Max\x20payload\x20size\x20exceeded','_read','kListener','_deflate','listen','client_max_window_bits','createError','ping','http:','_bufferedAmount','enqueue','setTimeout','password','permessage-deflate','acceptAsClient','readable','handshakeTimeout','_maxPayload','serverMaxWindowBits','Sec-WebSocket-Extensions','_fin','kMessage','share','abort','NodeCollaborationSocketService','listeners','function','_configService','Sec-WebSocket-Protocol:\x20','clientMaxWindowBits','connect','Unexpected\x20end\x20of\x20input','_shouldEmitClose','auth','_state','number','host','7186608XkIHyJ','_errored','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_removeListeners','errorEmitted','zlibInflateOptions','readyState','send','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Z_DEFAULT_WINDOWBITS','listenerCount','writeUIntBE','onerror','construct','createSocket','ISocketService','shift','_closeTimer','Sec-WebSocket-Origin','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','open','Plugin','onclose','socketPath','COLLABORATION_CLIENT_NODE_CONFIG_KEY','has','env','perMessageDeflate','The\x20URL\x20contains\x20a\x20fragment\x20identifier','server_max_window_bits','defineProperty','_closeFrameReceived','split','headers','_req','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_readyState','backlog','MASK\x20must\x20be\x20clear','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20opcode\x20','byteOffset','getMask','_paused','cookie','threshold','\x22\x20subprotocol\x20is\x20duplicated','mask','__esModule','replace','keys','Unknown\x20parameter\x20\x22','WebSocket','set','normalizeParams','destroyed','WS_NO_UTF_8_VALIDATE','serverNoContextTakeover','_compress','Inject','offer','startsWith','pathname','MASK\x20must\x20be\x20set','statusCode','kTarget','Maximum\x20redirects\x20exceeded','emitClose','startLoop','port','invalid\x20status\x20code\x20','protocol','maskBuffer','WS_ERR_INVALID_OPCODE','isBuffer','Invalid\x20Upgrade\x20header','location','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Unsupported\x20protocol\x20version:\x20','_queue','_closeCode','_sender','captureStackTrace','customHeaders','toDisposable','timeout','format','pending','kByteLength','forEach','extensionName','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Parameter\x20\x22','createServer','binary','Cookie','STATUS_CODES','getPayloadLength64','_max_window_bits','_isServer','_fragmented','string','allocUnsafe','_skipUTF8Validation','_closeFrameSent','close','_payloadLength','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','create','binaryType','sec-websocket-protocol','writable','_totalPayloadLength','listening','removeEventListener','addEventListener','dispatch','sec-websocket-key','emit','uncork','client','test','conclude','sec-websocket-extensions','isIP','68WDscnL','warn','write','pause','hasOwnProperty','hostname','WS_ERR_EXPECTED_FIN','createDeflateRaw','Disposable','socket','58tRBFFd','species','noServer','setConfig','WS_ERR_UNEXPECTED_RSV_2_3','_generateMask','The\x20URL\x27s\x20pathname\x20is\x20empty','endEmitted','_fragments','origin','registerDependencies','_opcode','maxPayload','_socket','catch','createConnection','frame','map','WS_NO_BUFFER_UTIL','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','maxRedirects','unmask','exports','bufferedAmount','4711488vkWzfm','OPEN','setHeader','_readableState','toString','Unexpected\x20character\x20at\x20index\x20','_options','handleUpgrade','UniverCollaborationClientNodePlugin','_firstFragment','12976744ivVGXa','delete','DisposableCollection','charCodeAt','authorization','invalid\x20UTF-8\x20sequence','_autoPong','Invalid\x20Sec-WebSocket-Extensions\x20header','_buffers','handleProtocols','server_no_context_takeover','readOnly','blob','readUInt16BE','dequeue','20GhSOlS','clientNoContextTakeover','parse','WS_ERR_UNEXPECTED_RSV_1','\x20(supported\x20versions:\x20','343470TDhzJk','\x22:\x20','join','Module','pong','getData','_compressed'];_0x5689=function(){return _0x10c1de;};return _0x5689();}var ye,He;function Pt(){const _0x512d88=_0x495098;if(He)return ye;He=0x1;const _0x4dab25=Symbol('kDone'),_0x29fbf2=Symbol(_0x512d88(0x27c));class _0x2fca04{constructor(_0x4b08e7){const _0x301c94=_0x512d88;this[_0x4dab25]=()=>{const _0x4122a3=_0x7a81;this[_0x4122a3(0x36a)]--,this[_0x29fbf2]();},this[_0x301c94(0x2d4)]=_0x4b08e7||0x1/0x0,this['jobs']=[],this[_0x301c94(0x36a)]=0x0;}[_0x512d88(0x2d0)](_0x48143f){const _0x30cd61=_0x512d88;this[_0x30cd61(0x24c)]['push'](_0x48143f),this[_0x29fbf2]();}[_0x29fbf2](){const _0x1b576b=_0x512d88;if(this['pending']!==this[_0x1b576b(0x2d4)]&&this[_0x1b576b(0x24c)][_0x1b576b(0x245)]){const _0x1c5014=this[_0x1b576b(0x24c)]['shift']();this[_0x1b576b(0x36a)]++,_0x1c5014(this[_0x4dab25]);}}}return ye=_0x2fca04,ye;}var ve,ze;function he(){const _0x6c166f=_0x495098;if(ze)return ve;ze=0x1;const _0x4d0bec=bt,_0x4bfce1=ce(),_0x554fef=Pt(),{kStatusCode:_0x580285}=H(),_0x1f1324=Buffer[Symbol[_0x6c166f(0x1d7)]],_0x3982af=Buffer[_0x6c166f(0x261)]([0x0,0x0,0xff,0xff]),_0x41bc92=Symbol(_0x6c166f(0x2fb)),_0x3b9b9e=Symbol(_0x6c166f(0x26f)),_0x3b48c2=Symbol(_0x6c166f(0x2c2)),_0x283bd2=Symbol('buffers'),_0x29195a=Symbol(_0x6c166f(0x2db));let _0x170fd1;class _0x1aa496{constructor(_0x2c6f23,_0x4c37ad,_0x4cc382){const _0x134bf3=_0x6c166f;if(this[_0x134bf3(0x2ff)]=_0x4cc382|0x0,this[_0x134bf3(0x1f4)]=_0x2c6f23||{},this[_0x134bf3(0x25a)]=this[_0x134bf3(0x1f4)]['threshold']!==void 0x0?this[_0x134bf3(0x1f4)][_0x134bf3(0x340)]:0x400,this[_0x134bf3(0x376)]=!!_0x4c37ad,this[_0x134bf3(0x2f1)]=null,this[_0x134bf3(0x2d6)]=null,this[_0x134bf3(0x263)]=null,!_0x170fd1){const _0x3f3c51=this[_0x134bf3(0x1f4)][_0x134bf3(0x25b)]!==void 0x0?this['_options'][_0x134bf3(0x25b)]:0xa;_0x170fd1=new _0x554fef(_0x3f3c51);}}static get[_0x6c166f(0x36d)](){const _0x40821c=_0x6c166f;return _0x40821c(0x2fb);}[_0x6c166f(0x34f)](){const _0x26c55f=_0x6c166f,_0x464e33={};return this[_0x26c55f(0x1f4)]['serverNoContextTakeover']&&(_0x464e33[_0x26c55f(0x202)]=!0x0),this['_options'][_0x26c55f(0x208)]&&(_0x464e33[_0x26c55f(0x26b)]=!0x0),this[_0x26c55f(0x1f4)][_0x26c55f(0x300)]&&(_0x464e33[_0x26c55f(0x330)]=this[_0x26c55f(0x1f4)][_0x26c55f(0x300)]),this[_0x26c55f(0x1f4)]['clientMaxWindowBits']?_0x464e33[_0x26c55f(0x2f3)]=this[_0x26c55f(0x1f4)][_0x26c55f(0x30b)]:this[_0x26c55f(0x1f4)][_0x26c55f(0x30b)]==null&&(_0x464e33['client_max_window_bits']=!0x0),_0x464e33;}['accept'](_0x2960b5){const _0x461266=_0x6c166f;return _0x2960b5=this['normalizeParams'](_0x2960b5),this[_0x461266(0x263)]=this[_0x461266(0x376)]?this[_0x461266(0x24b)](_0x2960b5):this[_0x461266(0x2fc)](_0x2960b5),this[_0x461266(0x263)];}[_0x6c166f(0x273)](){const _0x455c8d=_0x6c166f;if(this[_0x455c8d(0x2d6)]&&(this['_inflate'][_0x455c8d(0x37c)](),this[_0x455c8d(0x2d6)]=null),this[_0x455c8d(0x2f1)]){const _0x5af3c0=this[_0x455c8d(0x2f1)][_0x3b48c2];this[_0x455c8d(0x2f1)][_0x455c8d(0x37c)](),this[_0x455c8d(0x2f1)]=null,_0x5af3c0&&_0x5af3c0(new Error(_0x455c8d(0x326)));}}['acceptAsServer'](_0x2e0af7){const _0x2c7efd=_0x6c166f,_0x254d52=this[_0x2c7efd(0x1f4)],_0x1cf970=_0x2e0af7[_0x2c7efd(0x214)](_0xde7c93=>!(_0x254d52[_0x2c7efd(0x34c)]===!0x1&&_0xde7c93['server_no_context_takeover']||_0xde7c93['server_max_window_bits']&&(_0x254d52[_0x2c7efd(0x300)]===!0x1||typeof _0x254d52[_0x2c7efd(0x300)]==_0x2c7efd(0x311)&&_0x254d52[_0x2c7efd(0x300)]>_0xde7c93['server_max_window_bits'])||typeof _0x254d52[_0x2c7efd(0x30b)]==_0x2c7efd(0x311)&&!_0xde7c93[_0x2c7efd(0x2f3)]));if(!_0x1cf970)throw new Error(_0x2c7efd(0x37e));return _0x254d52['serverNoContextTakeover']&&(_0x1cf970[_0x2c7efd(0x202)]=!0x0),_0x254d52[_0x2c7efd(0x208)]&&(_0x1cf970[_0x2c7efd(0x26b)]=!0x0),typeof _0x254d52[_0x2c7efd(0x300)]==_0x2c7efd(0x311)&&(_0x1cf970['server_max_window_bits']=_0x254d52[_0x2c7efd(0x300)]),typeof _0x254d52[_0x2c7efd(0x30b)]=='number'?_0x1cf970[_0x2c7efd(0x2f3)]=_0x254d52['clientMaxWindowBits']:(_0x1cf970[_0x2c7efd(0x2f3)]===!0x0||_0x254d52[_0x2c7efd(0x30b)]===!0x1)&&delete _0x1cf970[_0x2c7efd(0x2f3)],_0x1cf970;}['acceptAsClient'](_0x3ecf47){const _0x1ecb55=_0x6c166f,_0x773dd3=_0x3ecf47[0x0];if(this['_options'][_0x1ecb55(0x208)]===!0x1&&_0x773dd3[_0x1ecb55(0x26b)])throw new Error(_0x1ecb55(0x233));if(!_0x773dd3['client_max_window_bits'])typeof this['_options'][_0x1ecb55(0x30b)]==_0x1ecb55(0x311)&&(_0x773dd3[_0x1ecb55(0x2f3)]=this[_0x1ecb55(0x1f4)][_0x1ecb55(0x30b)]);else{if(this[_0x1ecb55(0x1f4)][_0x1ecb55(0x30b)]===!0x1||typeof this[_0x1ecb55(0x1f4)][_0x1ecb55(0x30b)]=='number'&&_0x773dd3[_0x1ecb55(0x2f3)]>this[_0x1ecb55(0x1f4)][_0x1ecb55(0x30b)])throw new Error(_0x1ecb55(0x33a));}return _0x773dd3;}[_0x6c166f(0x349)](_0xaead36){const _0x360705=_0x6c166f;return _0xaead36[_0x360705(0x36c)](_0x241180=>{const _0x5cd363=_0x360705;Object['keys'](_0x241180)[_0x5cd363(0x36c)](_0x1d9d6a=>{const _0x451d56=_0x5cd363;let _0xb5587f=_0x241180[_0x1d9d6a];if(_0xb5587f[_0x451d56(0x245)]>0x1)throw new Error(_0x451d56(0x36f)+_0x1d9d6a+_0x451d56(0x36e));if(_0xb5587f=_0xb5587f[0x0],_0x1d9d6a===_0x451d56(0x2f3)){if(_0xb5587f!==!0x0){const _0x1258a6=+_0xb5587f;if(!Number[_0x451d56(0x22c)](_0x1258a6)||_0x1258a6<0x8||_0x1258a6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1d9d6a+_0x451d56(0x20d)+_0xb5587f);_0xb5587f=_0x1258a6;}else{if(!this[_0x451d56(0x376)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1d9d6a+'\x22:\x20'+_0xb5587f);}}else{if(_0x1d9d6a==='server_max_window_bits'){const _0x4521a3=+_0xb5587f;if(!Number[_0x451d56(0x22c)](_0x4521a3)||_0x4521a3<0x8||_0x4521a3>0xf)throw new TypeError(_0x451d56(0x2cc)+_0x1d9d6a+_0x451d56(0x20d)+_0xb5587f);_0xb5587f=_0x4521a3;}else{if(_0x1d9d6a==='client_no_context_takeover'||_0x1d9d6a===_0x451d56(0x202)){if(_0xb5587f!==!0x0)throw new TypeError(_0x451d56(0x2cc)+_0x1d9d6a+'\x22:\x20'+_0xb5587f);}else throw new Error(_0x451d56(0x346)+_0x1d9d6a+'\x22');}}_0x241180[_0x1d9d6a]=_0xb5587f;});}),_0xaead36;}[_0x6c166f(0x26a)](_0x3c07eb,_0x1c72f5,_0x4582bc){_0x170fd1['add'](_0x295b3a=>{this['_decompress'](_0x3c07eb,_0x1c72f5,(_0x3074f1,_0x253c20)=>{_0x295b3a(),_0x4582bc(_0x3074f1,_0x253c20);});});}[_0x6c166f(0x2ab)](_0x4627d8,_0x35a53c,_0x3ee1ff){const _0x4e636e=_0x6c166f;_0x170fd1[_0x4e636e(0x2d0)](_0x2393ce=>{const _0xd27da5=_0x4e636e;this[_0xd27da5(0x34d)](_0x4627d8,_0x35a53c,(_0x1afdb6,_0xb695f8)=>{_0x2393ce(),_0x3ee1ff(_0x1afdb6,_0xb695f8);});});}['_decompress'](_0x20a42a,_0x40db4f,_0x2cce15){const _0x18d100=_0x6c166f,_0x30ba30=this[_0x18d100(0x376)]?_0x18d100(0x1c7):_0x18d100(0x242);if(!this[_0x18d100(0x2d6)]){const _0x3ffac1=_0x30ba30+'_max_window_bits',_0x5cedf5=typeof this[_0x18d100(0x263)][_0x3ffac1]!=_0x18d100(0x311)?_0x4d0bec[_0x18d100(0x31c)]:this[_0x18d100(0x263)][_0x3ffac1];this[_0x18d100(0x2d6)]=_0x4d0bec['createInflateRaw']({...this[_0x18d100(0x1f4)][_0x18d100(0x318)],'windowBits':_0x5cedf5}),this[_0x18d100(0x2d6)][_0x41bc92]=this,this[_0x18d100(0x2d6)][_0x3b9b9e]=0x0,this[_0x18d100(0x2d6)][_0x283bd2]=[],this[_0x18d100(0x2d6)]['on'](_0x18d100(0x2db),_0x359eeb),this[_0x18d100(0x2d6)]['on'](_0x18d100(0x246),_0x4818c9);}this[_0x18d100(0x2d6)][_0x3b48c2]=_0x2cce15,this[_0x18d100(0x2d6)][_0x18d100(0x1ce)](_0x20a42a),_0x40db4f&&this[_0x18d100(0x2d6)][_0x18d100(0x1ce)](_0x3982af),this[_0x18d100(0x2d6)][_0x18d100(0x2ad)](()=>{const _0x5cbeb8=_0x18d100,_0x22bc0=this[_0x5cbeb8(0x2d6)][_0x29195a];if(_0x22bc0){this[_0x5cbeb8(0x2d6)][_0x5cbeb8(0x37c)](),this[_0x5cbeb8(0x2d6)]=null,_0x2cce15(_0x22bc0);return;}const _0x1278f6=_0x4bfce1[_0x5cbeb8(0x29c)](this[_0x5cbeb8(0x2d6)][_0x283bd2],this[_0x5cbeb8(0x2d6)][_0x3b9b9e]);this[_0x5cbeb8(0x2d6)]['_readableState'][_0x5cbeb8(0x1dd)]?(this[_0x5cbeb8(0x2d6)][_0x5cbeb8(0x37c)](),this['_inflate']=null):(this['_inflate'][_0x3b9b9e]=0x0,this[_0x5cbeb8(0x2d6)][_0x283bd2]=[],_0x40db4f&&this[_0x5cbeb8(0x263)][_0x30ba30+_0x5cbeb8(0x272)]&&this['_inflate'][_0x5cbeb8(0x229)]()),_0x2cce15(null,_0x1278f6);});}[_0x6c166f(0x34d)](_0x252be2,_0x1640b9,_0x1e673b){const _0x467713=_0x6c166f,_0x7016a3=this['_isServer']?_0x467713(0x242):'client';if(!this[_0x467713(0x2f1)]){const _0x10df5f=_0x7016a3+_0x467713(0x375),_0x3043e3=typeof this[_0x467713(0x263)][_0x10df5f]!=_0x467713(0x311)?_0x4d0bec[_0x467713(0x31c)]:this[_0x467713(0x263)][_0x10df5f];this[_0x467713(0x2f1)]=_0x4d0bec[_0x467713(0x1d3)]({...this[_0x467713(0x1f4)][_0x467713(0x22a)],'windowBits':_0x3043e3}),this[_0x467713(0x2f1)][_0x3b9b9e]=0x0,this[_0x467713(0x2f1)][_0x283bd2]=[],this['_deflate']['on']('data',_0x2ad24e);}this[_0x467713(0x2f1)][_0x3b48c2]=_0x1e673b,this['_deflate'][_0x467713(0x1ce)](_0x252be2),this[_0x467713(0x2f1)][_0x467713(0x2ad)](_0x4d0bec[_0x467713(0x2a0)],()=>{const _0x1a167a=_0x467713;if(!this['_deflate'])return;let _0x6e37fb=_0x4bfce1['concat'](this[_0x1a167a(0x2f1)][_0x283bd2],this[_0x1a167a(0x2f1)][_0x3b9b9e]);_0x1640b9&&(_0x6e37fb=new _0x1f1324(_0x6e37fb['buffer'],_0x6e37fb['byteOffset'],_0x6e37fb['length']-0x4)),this['_deflate'][_0x3b48c2]=null,this['_deflate'][_0x3b9b9e]=0x0,this[_0x1a167a(0x2f1)][_0x283bd2]=[],_0x1640b9&&this[_0x1a167a(0x263)][_0x7016a3+_0x1a167a(0x272)]&&this[_0x1a167a(0x2f1)][_0x1a167a(0x229)](),_0x1e673b(null,_0x6e37fb);});}}ve=_0x1aa496;function _0x2ad24e(_0x17518d){const _0x2262c6=_0x6c166f;this[_0x283bd2][_0x2262c6(0x21f)](_0x17518d),this[_0x3b9b9e]+=_0x17518d[_0x2262c6(0x245)];}function _0x4818c9(_0x441554){const _0x46ba81=_0x6c166f;if(this[_0x3b9b9e]+=_0x441554[_0x46ba81(0x245)],this[_0x41bc92][_0x46ba81(0x2ff)]<0x1||this[_0x3b9b9e]<=this[_0x41bc92][_0x46ba81(0x2ff)]){this[_0x283bd2]['push'](_0x441554);return;}this[_0x29195a]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x29195a][_0x46ba81(0x2d5)]=_0x46ba81(0x336),this[_0x29195a][_0x580285]=0x3f1,this[_0x46ba81(0x2b3)](_0x46ba81(0x246),_0x4818c9),this[_0x46ba81(0x229)]();}function _0x359eeb(_0x48e2ad){const _0x532ccd=_0x6c166f;if(this[_0x41bc92][_0x532ccd(0x2d6)]=null,this[_0x29195a]){this[_0x3b48c2](this[_0x29195a]);return;}_0x48e2ad[_0x580285]=0x3ef,this[_0x3b48c2](_0x48e2ad);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x495098(0x2b7)](Object[_0x495098(0x331)]({'__proto__':null,'default':Dt},Symbol[_0x495098(0x29d)],{'value':_0x495098(0x20f)})),Bt=at(Rt);var Ye;function ae(){const _0x3c18ef=_0x495098;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4d22d6}=wt,{hasBlob:_0x58bdf4}=H(),_0x27f2db=[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 _0x2b31fb(_0x4dd79b){return _0x4dd79b>=0x3e8&&_0x4dd79b<=0x3f6&&_0x4dd79b!==0x3ec&&_0x4dd79b!==0x3ed&&_0x4dd79b!==0x3ee||_0x4dd79b>=0xbb8&&_0x4dd79b<=0x1387;}function _0x2ffd9c(_0x53ff85){const _0x213523=_0x7a81,_0x1d5ede=_0x53ff85[_0x213523(0x245)];let _0x33dc7d=0x0;for(;_0x33dc7d<_0x1d5ede;)if((_0x53ff85[_0x33dc7d]&0x80)===0x0)_0x33dc7d++;else{if((_0x53ff85[_0x33dc7d]&0xe0)===0xc0){if(_0x33dc7d+0x1===_0x1d5ede||(_0x53ff85[_0x33dc7d+0x1]&0xc0)!==0x80||(_0x53ff85[_0x33dc7d]&0xfe)===0xc0)return!0x1;_0x33dc7d+=0x2;}else{if((_0x53ff85[_0x33dc7d]&0xf0)===0xe0){if(_0x33dc7d+0x2>=_0x1d5ede||(_0x53ff85[_0x33dc7d+0x1]&0xc0)!==0x80||(_0x53ff85[_0x33dc7d+0x2]&0xc0)!==0x80||_0x53ff85[_0x33dc7d]===0xe0&&(_0x53ff85[_0x33dc7d+0x1]&0xe0)===0x80||_0x53ff85[_0x33dc7d]===0xed&&(_0x53ff85[_0x33dc7d+0x1]&0xe0)===0xa0)return!0x1;_0x33dc7d+=0x3;}else{if((_0x53ff85[_0x33dc7d]&0xf8)===0xf0){if(_0x33dc7d+0x3>=_0x1d5ede||(_0x53ff85[_0x33dc7d+0x1]&0xc0)!==0x80||(_0x53ff85[_0x33dc7d+0x2]&0xc0)!==0x80||(_0x53ff85[_0x33dc7d+0x3]&0xc0)!==0x80||_0x53ff85[_0x33dc7d]===0xf0&&(_0x53ff85[_0x33dc7d+0x1]&0xf0)===0x80||_0x53ff85[_0x33dc7d]===0xf4&&_0x53ff85[_0x33dc7d+0x1]>0x8f||_0x53ff85[_0x33dc7d]>0xf4)return!0x1;_0x33dc7d+=0x4;}else return!0x1;}}}return!0x0;}function _0x571a7f(_0x539173){const _0x494936=_0x7a81;return _0x58bdf4&&typeof _0x539173=='object'&&typeof _0x539173['arrayBuffer']==_0x494936(0x308)&&typeof _0x539173[_0x494936(0x280)]==_0x494936(0x378)&&typeof _0x539173[_0x494936(0x2cb)]=='function'&&(_0x539173[Symbol['toStringTag']]==='Blob'||_0x539173[Symbol[_0x494936(0x29d)]]===_0x494936(0x268));}if(ie[_0x3c18ef(0x1ec)]={'isBlob':_0x571a7f,'isValidStatusCode':_0x2b31fb,'isValidUTF8':_0x2ffd9c,'tokenChars':_0x27f2db},_0x4d22d6)ie[_0x3c18ef(0x1ec)]['isValidUTF8']=function(_0x12e8db){const _0x42c038=_0x3c18ef;return _0x12e8db[_0x42c038(0x245)]<0x18?_0x2ffd9c(_0x12e8db):_0x4d22d6(_0x12e8db);};else{if(!process[_0x3c18ef(0x32d)][_0x3c18ef(0x34b)])try{const _0x16de72=Bt;ie['exports']['isValidUTF8']=function(_0x5b70c9){const _0x1dfda2=_0x3c18ef;return _0x5b70c9[_0x1dfda2(0x245)]<0x20?_0x2ffd9c(_0x5b70c9):_0x16de72(_0x5b70c9);};}catch{}}return ie[_0x3c18ef(0x1ec)];}var Se,Ke;function lt(){const _0x4adb44=_0x495098;if(Ke)return Se;Ke=0x1;const {Writable:_0x28ee73}=oe,_0x2a45be=he(),{BINARY_TYPES:_0x50f493,EMPTY_BUFFER:_0x11dce1,kStatusCode:_0x2fbf17,kWebSocket:_0x3ae45d}=H(),{concat:_0x1d582d,toArrayBuffer:_0x3be558,unmask:_0x109692}=ce(),{isValidStatusCode:_0x4c6e19,isValidUTF8:_0x6ea39a}=ae(),_0x1e2206=Buffer[Symbol[_0x4adb44(0x1d7)]],_0x29a488=0x0,_0x2eaa36=0x1,_0x55456c=0x2,_0x449a50=0x3,_0x55d148=0x4,_0x4cd276=0x5,_0x19dd2a=0x6;class _0x78f7d9 extends _0x28ee73{constructor(_0xce459f={}){const _0x1e05ef=_0x4adb44;super(),this[_0x1e05ef(0x23c)]=_0xce459f[_0x1e05ef(0x236)]!==void 0x0?_0xce459f[_0x1e05ef(0x236)]:!0x0,this['_binaryType']=_0xce459f[_0x1e05ef(0x1bc)]||_0x50f493[0x0],this[_0x1e05ef(0x258)]=_0xce459f['extensions']||{},this[_0x1e05ef(0x376)]=!!_0xce459f['isServer'],this[_0x1e05ef(0x2ff)]=_0xce459f['maxPayload']|0x0,this[_0x1e05ef(0x37a)]=!!_0xce459f[_0x1e05ef(0x289)],this[_0x3ae45d]=void 0x0,this[_0x1e05ef(0x226)]=0x0,this[_0x1e05ef(0x200)]=[],this[_0x1e05ef(0x212)]=!0x1,this[_0x1e05ef(0x37d)]=0x0,this[_0x1e05ef(0x28f)]=void 0x0,this[_0x1e05ef(0x377)]=0x0,this[_0x1e05ef(0x28e)]=!0x1,this[_0x1e05ef(0x302)]=!0x1,this[_0x1e05ef(0x1e1)]=0x0,this[_0x1e05ef(0x1bf)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x1e05ef(0x314)]=!0x1,this[_0x1e05ef(0x2ec)]=!0x1,this[_0x1e05ef(0x310)]=_0x29a488;}['_write'](_0x5c0819,_0x40971f,_0x45631d){const _0x3c1274=_0x4adb44;if(this[_0x3c1274(0x1e1)]===0x8&&this[_0x3c1274(0x310)]==_0x29a488)return _0x45631d();this[_0x3c1274(0x226)]+=_0x5c0819['length'],this['_buffers'][_0x3c1274(0x21f)](_0x5c0819),this[_0x3c1274(0x357)](_0x45631d);}['consume'](_0x3dc013){const _0x26b5fc=_0x4adb44;if(this[_0x26b5fc(0x226)]-=_0x3dc013,_0x3dc013===this[_0x26b5fc(0x200)][0x0]['length'])return this[_0x26b5fc(0x200)]['shift']();if(_0x3dc013<this[_0x26b5fc(0x200)][0x0][_0x26b5fc(0x245)]){const _0x181e4d=this['_buffers'][0x0];return this[_0x26b5fc(0x200)][0x0]=new _0x1e2206(_0x181e4d[_0x26b5fc(0x2c6)],_0x181e4d[_0x26b5fc(0x33c)]+_0x3dc013,_0x181e4d[_0x26b5fc(0x245)]-_0x3dc013),new _0x1e2206(_0x181e4d[_0x26b5fc(0x2c6)],_0x181e4d[_0x26b5fc(0x33c)],_0x3dc013);}const _0x3a273a=Buffer[_0x26b5fc(0x379)](_0x3dc013);do{const _0x146a77=this[_0x26b5fc(0x200)][0x0],_0x57d8d9=_0x3a273a['length']-_0x3dc013;_0x3dc013>=_0x146a77[_0x26b5fc(0x245)]?_0x3a273a[_0x26b5fc(0x348)](this['_buffers'][_0x26b5fc(0x323)](),_0x57d8d9):(_0x3a273a[_0x26b5fc(0x348)](new Uint8Array(_0x146a77[_0x26b5fc(0x2c6)],_0x146a77[_0x26b5fc(0x33c)],_0x3dc013),_0x57d8d9),this[_0x26b5fc(0x200)][0x0]=new _0x1e2206(_0x146a77[_0x26b5fc(0x2c6)],_0x146a77[_0x26b5fc(0x33c)]+_0x3dc013,_0x146a77[_0x26b5fc(0x245)]-_0x3dc013)),_0x3dc013-=_0x146a77[_0x26b5fc(0x245)];}while(_0x3dc013>0x0);return _0x3a273a;}[_0x4adb44(0x357)](_0x31300c){const _0x5edcd9=_0x4adb44;this[_0x5edcd9(0x2ec)]=!0x0;do switch(this[_0x5edcd9(0x310)]){case _0x29a488:this[_0x5edcd9(0x2b4)](_0x31300c);break;case _0x2eaa36:this[_0x5edcd9(0x223)](_0x31300c);break;case _0x55456c:this[_0x5edcd9(0x374)](_0x31300c);break;case _0x449a50:this[_0x5edcd9(0x33d)]();break;case _0x55d148:this[_0x5edcd9(0x211)](_0x31300c);break;case _0x4cd276:case _0x19dd2a:this[_0x5edcd9(0x2ec)]=!0x1;return;}while(this[_0x5edcd9(0x2ec)]);this[_0x5edcd9(0x314)]||_0x31300c();}[_0x4adb44(0x2b4)](_0xefe566){const _0x46a63e=_0x4adb44;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x18f51d=this[_0x46a63e(0x2b6)](0x2);if((_0x18f51d[0x0]&0x30)!==0x0){const _0x10ebf3=this['createError'](RangeError,_0x46a63e(0x231),!0x0,0x3ea,_0x46a63e(0x1da));_0xefe566(_0x10ebf3);return;}const _0x3cb290=(_0x18f51d[0x0]&0x40)===0x40;if(_0x3cb290&&!this[_0x46a63e(0x258)][_0x2a45be[_0x46a63e(0x36d)]]){const _0x562656=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x29f),!0x0,0x3ea,_0x46a63e(0x20a));_0xefe566(_0x562656);return;}if(this['_fin']=(_0x18f51d[0x0]&0x80)===0x80,this['_opcode']=_0x18f51d[0x0]&0xf,this['_payloadLength']=_0x18f51d[0x1]&0x7f,this['_opcode']===0x0){if(_0x3cb290){const _0x2892fd=this['createError'](RangeError,_0x46a63e(0x29f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xefe566(_0x2892fd);return;}if(!this['_fragmented']){const _0x2b1ab2=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x2a4),!0x0,0x3ea,_0x46a63e(0x35c));_0xefe566(_0x2b1ab2);return;}this[_0x46a63e(0x1e1)]=this[_0x46a63e(0x377)];}else{if(this[_0x46a63e(0x1e1)]===0x1||this[_0x46a63e(0x1e1)]===0x2){if(this['_fragmented']){const _0x311b92=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x33b)+this[_0x46a63e(0x1e1)],!0x0,0x3ea,_0x46a63e(0x35c));_0xefe566(_0x311b92);return;}this['_compressed']=_0x3cb290;}else{if(this[_0x46a63e(0x1e1)]>0x7&&this[_0x46a63e(0x1e1)]<0xb){if(!this[_0x46a63e(0x302)]){const _0x39d2e5=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x46a63e(0x1d2));_0xefe566(_0x39d2e5);return;}if(_0x3cb290){const _0x1ac3dc=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x29f),!0x0,0x3ea,_0x46a63e(0x20a));_0xefe566(_0x1ac3dc);return;}if(this[_0x46a63e(0x37d)]>0x7d||this['_opcode']===0x8&&this[_0x46a63e(0x37d)]===0x1){const _0x52cd84=this['createError'](RangeError,_0x46a63e(0x2a9)+this['_payloadLength'],!0x0,0x3ea,_0x46a63e(0x21a));_0xefe566(_0x52cd84);return;}}else{const _0x20519c=this[_0x46a63e(0x2f4)](RangeError,'invalid\x20opcode\x20'+this[_0x46a63e(0x1e1)],!0x0,0x3ea,_0x46a63e(0x35c));_0xefe566(_0x20519c);return;}}}if(!this[_0x46a63e(0x302)]&&!this[_0x46a63e(0x377)]&&(this[_0x46a63e(0x377)]=this[_0x46a63e(0x1e1)]),this[_0x46a63e(0x28e)]=(_0x18f51d[0x1]&0x80)===0x80,this[_0x46a63e(0x376)]){if(!this[_0x46a63e(0x28e)]){const _0x21fbb0=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x352),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xefe566(_0x21fbb0);return;}}else{if(this[_0x46a63e(0x28e)]){const _0x491919=this[_0x46a63e(0x2f4)](RangeError,_0x46a63e(0x339),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xefe566(_0x491919);return;}}this['_payloadLength']===0x7e?this['_state']=_0x2eaa36:this['_payloadLength']===0x7f?this[_0x46a63e(0x310)]=_0x55456c:this[_0x46a63e(0x275)](_0xefe566);}[_0x4adb44(0x223)](_0x36eccf){const _0x13b242=_0x4adb44;if(this[_0x13b242(0x226)]<0x2){this[_0x13b242(0x2ec)]=!0x1;return;}this[_0x13b242(0x37d)]=this[_0x13b242(0x2b6)](0x2)['readUInt16BE'](0x0),this[_0x13b242(0x275)](_0x36eccf);}['getPayloadLength64'](_0x46d9e7){const _0x92e6f4=_0x4adb44;if(this['_bufferedBytes']<0x8){this[_0x92e6f4(0x2ec)]=!0x1;return;}const _0x2c550f=this[_0x92e6f4(0x2b6)](0x8),_0x39acf2=_0x2c550f['readUInt32BE'](0x0);if(_0x39acf2>Math['pow'](0x2,0x15)-0x1){const _0x41812d=this['createError'](RangeError,_0x92e6f4(0x360),!0x1,0x3f1,_0x92e6f4(0x2bd));_0x46d9e7(_0x41812d);return;}this[_0x92e6f4(0x37d)]=_0x39acf2*Math['pow'](0x2,0x20)+_0x2c550f[_0x92e6f4(0x282)](0x4),this[_0x92e6f4(0x275)](_0x46d9e7);}[_0x4adb44(0x275)](_0x1ef663){const _0x52f212=_0x4adb44;if(this[_0x52f212(0x37d)]&&this[_0x52f212(0x1e1)]<0x8&&(this[_0x52f212(0x1bf)]+=this[_0x52f212(0x37d)],this[_0x52f212(0x1bf)]>this[_0x52f212(0x2ff)]&&this['_maxPayload']>0x0)){const _0x27e060=this[_0x52f212(0x2f4)](RangeError,_0x52f212(0x2ee),!0x1,0x3f1,_0x52f212(0x336));_0x1ef663(_0x27e060);return;}this[_0x52f212(0x28e)]?this[_0x52f212(0x310)]=_0x449a50:this[_0x52f212(0x310)]=_0x55d148;}[_0x4adb44(0x33d)](){const _0x41f06f=_0x4adb44;if(this[_0x41f06f(0x226)]<0x4){this['_loop']=!0x1;return;}this[_0x41f06f(0x28f)]=this[_0x41f06f(0x2b6)](0x4),this[_0x41f06f(0x310)]=_0x55d148;}['getData'](_0x55697c){const _0x2310a5=_0x4adb44;let _0x296e14=_0x11dce1;if(this[_0x2310a5(0x37d)]){if(this[_0x2310a5(0x226)]<this[_0x2310a5(0x37d)]){this[_0x2310a5(0x2ec)]=!0x1;return;}_0x296e14=this['consume'](this[_0x2310a5(0x37d)]),this['_masked']&&(this[_0x2310a5(0x28f)][0x0]|this[_0x2310a5(0x28f)][0x1]|this[_0x2310a5(0x28f)][0x2]|this[_0x2310a5(0x28f)][0x3])!==0x0&&_0x109692(_0x296e14,this['_mask']);}if(this[_0x2310a5(0x1e1)]>0x7){this[_0x2310a5(0x2a3)](_0x296e14,_0x55697c);return;}if(this[_0x2310a5(0x212)]){this[_0x2310a5(0x310)]=_0x4cd276,this[_0x2310a5(0x26a)](_0x296e14,_0x55697c);return;}_0x296e14[_0x2310a5(0x245)]&&(this[_0x2310a5(0x2ac)]=this[_0x2310a5(0x1bf)],this[_0x2310a5(0x1de)][_0x2310a5(0x21f)](_0x296e14)),this[_0x2310a5(0x248)](_0x55697c);}['decompress'](_0x45ee0f,_0x51bfd4){const _0x4c8edd=_0x4adb44;this['_extensions'][_0x2a45be[_0x4c8edd(0x36d)]][_0x4c8edd(0x26a)](_0x45ee0f,this[_0x4c8edd(0x302)],(_0x4e0518,_0x4c07e6)=>{const _0x1d843d=_0x4c8edd;if(_0x4e0518)return _0x51bfd4(_0x4e0518);if(_0x4c07e6['length']){if(this[_0x1d843d(0x2ac)]+=_0x4c07e6['length'],this[_0x1d843d(0x2ac)]>this['_maxPayload']&&this[_0x1d843d(0x2ff)]>0x0){const _0x22a0ec=this[_0x1d843d(0x2f4)](RangeError,_0x1d843d(0x2ee),!0x1,0x3f1,_0x1d843d(0x336));_0x51bfd4(_0x22a0ec);return;}this[_0x1d843d(0x1de)][_0x1d843d(0x21f)](_0x4c07e6);}this[_0x1d843d(0x248)](_0x51bfd4),this[_0x1d843d(0x310)]===_0x29a488&&this[_0x1d843d(0x357)](_0x51bfd4);});}[_0x4adb44(0x248)](_0x5942d7){const _0x284ad2=_0x4adb44;if(!this[_0x284ad2(0x302)]){this[_0x284ad2(0x310)]=_0x29a488;return;}const _0x2e1e0f=this[_0x284ad2(0x2ac)],_0x46e9a1=this[_0x284ad2(0x1de)];if(this[_0x284ad2(0x1bf)]=0x0,this[_0x284ad2(0x2ac)]=0x0,this[_0x284ad2(0x377)]=0x0,this[_0x284ad2(0x1de)]=[],this[_0x284ad2(0x1e1)]===0x2){let _0x23609e;this[_0x284ad2(0x281)]===_0x284ad2(0x265)?_0x23609e=_0x1d582d(_0x46e9a1,_0x2e1e0f):this[_0x284ad2(0x281)]==='arraybuffer'?_0x23609e=_0x3be558(_0x1d582d(_0x46e9a1,_0x2e1e0f)):this[_0x284ad2(0x281)]===_0x284ad2(0x204)?_0x23609e=new Blob(_0x46e9a1):_0x23609e=_0x46e9a1,this[_0x284ad2(0x23c)]?(this[_0x284ad2(0x1c5)]('message',_0x23609e,!0x0),this[_0x284ad2(0x310)]=_0x29a488):(this[_0x284ad2(0x310)]=_0x19dd2a,setImmediate(()=>{const _0x56562f=_0x284ad2;this[_0x56562f(0x1c5)](_0x56562f(0x239),_0x23609e,!0x0),this[_0x56562f(0x310)]=_0x29a488,this['startLoop'](_0x5942d7);}));}else{const _0x2efca6=_0x1d582d(_0x46e9a1,_0x2e1e0f);if(!this['_skipUTF8Validation']&&!_0x6ea39a(_0x2efca6)){const _0x7f18d=this[_0x284ad2(0x2f4)](Error,_0x284ad2(0x1fd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5942d7(_0x7f18d);return;}this[_0x284ad2(0x310)]===_0x4cd276||this[_0x284ad2(0x23c)]?(this['emit']('message',_0x2efca6,!0x1),this[_0x284ad2(0x310)]=_0x29a488):(this[_0x284ad2(0x310)]=_0x19dd2a,setImmediate(()=>{const _0x3e5abb=_0x284ad2;this[_0x3e5abb(0x1c5)](_0x3e5abb(0x239),_0x2efca6,!0x1),this[_0x3e5abb(0x310)]=_0x29a488,this[_0x3e5abb(0x357)](_0x5942d7);}));}}[_0x4adb44(0x2a3)](_0x1fe41b,_0x34f7e5){const _0x181b4a=_0x4adb44;if(this[_0x181b4a(0x1e1)]===0x8){if(_0x1fe41b[_0x181b4a(0x245)]===0x0)this[_0x181b4a(0x2ec)]=!0x1,this[_0x181b4a(0x1c5)](_0x181b4a(0x1c9),0x3ed,_0x11dce1),this['end']();else{const _0x4965ee=_0x1fe41b[_0x181b4a(0x205)](0x0);if(!_0x4c6e19(_0x4965ee)){const _0x2901e4=this[_0x181b4a(0x2f4)](RangeError,_0x181b4a(0x359)+_0x4965ee,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x34f7e5(_0x2901e4);return;}const _0x32dc58=new _0x1e2206(_0x1fe41b[_0x181b4a(0x2c6)],_0x1fe41b['byteOffset']+0x2,_0x1fe41b['length']-0x2);if(!this[_0x181b4a(0x37a)]&&!_0x6ea39a(_0x32dc58)){const _0x2a0765=this[_0x181b4a(0x2f4)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x34f7e5(_0x2a0765);return;}this['_loop']=!0x1,this[_0x181b4a(0x1c5)](_0x181b4a(0x1c9),_0x4965ee,_0x32dc58),this['end']();}this[_0x181b4a(0x310)]=_0x29a488;return;}this[_0x181b4a(0x23c)]?(this['emit'](this['_opcode']===0x9?'ping':_0x181b4a(0x210),_0x1fe41b),this[_0x181b4a(0x310)]=_0x29a488):(this['_state']=_0x19dd2a,setImmediate(()=>{const _0x5df0ab=_0x181b4a;this[_0x5df0ab(0x1c5)](this[_0x5df0ab(0x1e1)]===0x9?_0x5df0ab(0x2f5):_0x5df0ab(0x210),_0x1fe41b),this[_0x5df0ab(0x310)]=_0x29a488,this[_0x5df0ab(0x357)](_0x34f7e5);}));}[_0x4adb44(0x2f4)](_0x559b99,_0x2e28e1,_0x4f0119,_0x12147b,_0x1339e9){const _0x4773aa=_0x4adb44;this[_0x4773aa(0x2ec)]=!0x1,this['_errored']=!0x0;const _0x5780f4=new _0x559b99(_0x4f0119?_0x4773aa(0x2da)+_0x2e28e1:_0x2e28e1);return Error[_0x4773aa(0x365)](_0x5780f4,this[_0x4773aa(0x2f4)]),_0x5780f4['code']=_0x1339e9,_0x5780f4[_0x2fbf17]=_0x12147b,_0x5780f4;}}return Se=_0x78f7d9,Se;}var Ee,Xe;function ft(){const _0x2fef9a=_0x495098;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xae9432}=oe,{randomFillSync:_0x3a784e}=Le,_0x208f86=he(),{EMPTY_BUFFER:_0x29d8db,kWebSocket:_0x1b1b93,NOOP:_0x351cb9}=H(),{isBlob:_0x5e0eda,isValidStatusCode:_0x303c2e}=ae(),{mask:_0x4f9a86,toBuffer:_0x58cfff}=ce(),_0x5488a7=Symbol(_0x2fef9a(0x36b)),_0x31d306=Buffer['alloc'](0x4),_0x41f1d8=0x8*0x400;let _0x2cea7b,_0x1f96e4=_0x41f1d8;const _0x2850c0=0x0,_0x17cdbe=0x1,_0x477d59=0x2;class _0x32e6fa{constructor(_0x2aa062,_0x3721cc,_0x552237){const _0x54198a=_0x2fef9a;this[_0x54198a(0x258)]=_0x3721cc||{},_0x552237&&(this[_0x54198a(0x1db)]=_0x552237,this[_0x54198a(0x218)]=Buffer[_0x54198a(0x213)](0x4)),this[_0x54198a(0x1e3)]=_0x2aa062,this['_firstFragment']=!0x0,this[_0x54198a(0x34d)]=!0x1,this[_0x54198a(0x226)]=0x0,this[_0x54198a(0x362)]=[],this['_state']=_0x2850c0,this['onerror']=_0x351cb9,this[_0x1b1b93]=void 0x0;}static[_0x2fef9a(0x1e6)](_0x71e3dc,_0x2c8497){const _0x21619d=_0x2fef9a;let _0x269936,_0x104c7e=!0x1,_0x5d43fc=0x2,_0x2038ec=!0x1;_0x2c8497[_0x21619d(0x342)]&&(_0x269936=_0x2c8497[_0x21619d(0x35b)]||_0x31d306,_0x2c8497['generateMask']?_0x2c8497['generateMask'](_0x269936):(_0x1f96e4===_0x41f1d8&&(_0x2cea7b===void 0x0&&(_0x2cea7b=Buffer['alloc'](_0x41f1d8)),_0x3a784e(_0x2cea7b,0x0,_0x41f1d8),_0x1f96e4=0x0),_0x269936[0x0]=_0x2cea7b[_0x1f96e4++],_0x269936[0x1]=_0x2cea7b[_0x1f96e4++],_0x269936[0x2]=_0x2cea7b[_0x1f96e4++],_0x269936[0x3]=_0x2cea7b[_0x1f96e4++]),_0x2038ec=(_0x269936[0x0]|_0x269936[0x1]|_0x269936[0x2]|_0x269936[0x3])===0x0,_0x5d43fc=0x6);let _0x508aa5;typeof _0x71e3dc==_0x21619d(0x378)?(!_0x2c8497[_0x21619d(0x342)]||_0x2038ec)&&_0x2c8497[_0x5488a7]!==void 0x0?_0x508aa5=_0x2c8497[_0x5488a7]:(_0x71e3dc=Buffer[_0x21619d(0x261)](_0x71e3dc),_0x508aa5=_0x71e3dc[_0x21619d(0x245)]):(_0x508aa5=_0x71e3dc[_0x21619d(0x245)],_0x104c7e=_0x2c8497['mask']&&_0x2c8497[_0x21619d(0x203)]&&!_0x2038ec);let _0x3ccd6e=_0x508aa5;_0x508aa5>=0x10000?(_0x5d43fc+=0x8,_0x3ccd6e=0x7f):_0x508aa5>0x7d&&(_0x5d43fc+=0x2,_0x3ccd6e=0x7e);const _0x23a2dd=Buffer[_0x21619d(0x379)](_0x104c7e?_0x508aa5+_0x5d43fc:_0x5d43fc);return _0x23a2dd[0x0]=_0x2c8497[_0x21619d(0x2ba)]?_0x2c8497[_0x21619d(0x222)]|0x80:_0x2c8497[_0x21619d(0x222)],_0x2c8497[_0x21619d(0x21e)]&&(_0x23a2dd[0x0]|=0x40),_0x23a2dd[0x1]=_0x3ccd6e,_0x3ccd6e===0x7e?_0x23a2dd[_0x21619d(0x277)](_0x508aa5,0x2):_0x3ccd6e===0x7f&&(_0x23a2dd[0x2]=_0x23a2dd[0x3]=0x0,_0x23a2dd[_0x21619d(0x31e)](_0x508aa5,0x4,0x6)),_0x2c8497[_0x21619d(0x342)]?(_0x23a2dd[0x1]|=0x80,_0x23a2dd[_0x5d43fc-0x4]=_0x269936[0x0],_0x23a2dd[_0x5d43fc-0x3]=_0x269936[0x1],_0x23a2dd[_0x5d43fc-0x2]=_0x269936[0x2],_0x23a2dd[_0x5d43fc-0x1]=_0x269936[0x3],_0x2038ec?[_0x23a2dd,_0x71e3dc]:_0x104c7e?(_0x4f9a86(_0x71e3dc,_0x269936,_0x23a2dd,_0x5d43fc,_0x508aa5),[_0x23a2dd]):(_0x4f9a86(_0x71e3dc,_0x269936,_0x71e3dc,0x0,_0x508aa5),[_0x23a2dd,_0x71e3dc])):[_0x23a2dd,_0x71e3dc];}[_0x2fef9a(0x37c)](_0x1daf93,_0x510901,_0x2067f5,_0x4c76ca){const _0x1bcb80=_0x2fef9a;let _0x3f05ac;if(_0x1daf93===void 0x0)_0x3f05ac=_0x29d8db;else{if(typeof _0x1daf93!=_0x1bcb80(0x311)||!_0x303c2e(_0x1daf93))throw new TypeError(_0x1bcb80(0x270));if(_0x510901===void 0x0||!_0x510901[_0x1bcb80(0x245)])_0x3f05ac=Buffer[_0x1bcb80(0x379)](0x2),_0x3f05ac[_0x1bcb80(0x277)](_0x1daf93,0x0);else{const _0x4e05c9=Buffer[_0x1bcb80(0x27d)](_0x510901);if(_0x4e05c9>0x7b)throw new RangeError(_0x1bcb80(0x2dc));_0x3f05ac=Buffer['allocUnsafe'](0x2+_0x4e05c9),_0x3f05ac[_0x1bcb80(0x277)](_0x1daf93,0x0),typeof _0x510901=='string'?_0x3f05ac[_0x1bcb80(0x1ce)](_0x510901,0x2):_0x3f05ac[_0x1bcb80(0x348)](_0x510901,0x2);}}const _0x248486={[_0x5488a7]:_0x3f05ac[_0x1bcb80(0x245)],'fin':!0x0,'generateMask':this[_0x1bcb80(0x1db)],'mask':_0x2067f5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1bcb80(0x310)]!==_0x2850c0?this[_0x1bcb80(0x2f8)]([this[_0x1bcb80(0x1c3)],_0x3f05ac,!0x1,_0x248486,_0x4c76ca]):this[_0x1bcb80(0x24e)](_0x32e6fa[_0x1bcb80(0x1e6)](_0x3f05ac,_0x248486),_0x4c76ca);}[_0x2fef9a(0x2f5)](_0x44999e,_0x28c7fe,_0xaa3a4e){const _0x31b2c1=_0x2fef9a;let _0x53d321,_0x2fb423;if(typeof _0x44999e==_0x31b2c1(0x378)?(_0x53d321=Buffer[_0x31b2c1(0x27d)](_0x44999e),_0x2fb423=!0x1):_0x5e0eda(_0x44999e)?(_0x53d321=_0x44999e[_0x31b2c1(0x2b2)],_0x2fb423=!0x1):(_0x44999e=_0x58cfff(_0x44999e),_0x53d321=_0x44999e['length'],_0x2fb423=_0x58cfff[_0x31b2c1(0x203)]),_0x53d321>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2d24db={[_0x5488a7]:_0x53d321,'fin':!0x0,'generateMask':this[_0x31b2c1(0x1db)],'mask':_0x28c7fe,'maskBuffer':this[_0x31b2c1(0x218)],'opcode':0x9,'readOnly':_0x2fb423,'rsv1':!0x1};_0x5e0eda(_0x44999e)?this[_0x31b2c1(0x310)]!==_0x2850c0?this[_0x31b2c1(0x2f8)]([this[_0x31b2c1(0x247)],_0x44999e,!0x1,_0x2d24db,_0xaa3a4e]):this[_0x31b2c1(0x247)](_0x44999e,!0x1,_0x2d24db,_0xaa3a4e):this['_state']!==_0x2850c0?this['enqueue']([this['dispatch'],_0x44999e,!0x1,_0x2d24db,_0xaa3a4e]):this[_0x31b2c1(0x24e)](_0x32e6fa[_0x31b2c1(0x1e6)](_0x44999e,_0x2d24db),_0xaa3a4e);}['pong'](_0xb65fee,_0x110861,_0x4a6342){const _0x384104=_0x2fef9a;let _0x4e0621,_0x434e69;if(typeof _0xb65fee==_0x384104(0x378)?(_0x4e0621=Buffer[_0x384104(0x27d)](_0xb65fee),_0x434e69=!0x1):_0x5e0eda(_0xb65fee)?(_0x4e0621=_0xb65fee['size'],_0x434e69=!0x1):(_0xb65fee=_0x58cfff(_0xb65fee),_0x4e0621=_0xb65fee[_0x384104(0x245)],_0x434e69=_0x58cfff['readOnly']),_0x4e0621>0x7d)throw new RangeError(_0x384104(0x297));const _0x2e0313={[_0x5488a7]:_0x4e0621,'fin':!0x0,'generateMask':this[_0x384104(0x1db)],'mask':_0x110861,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x434e69,'rsv1':!0x1};_0x5e0eda(_0xb65fee)?this['_state']!==_0x2850c0?this[_0x384104(0x2f8)]([this[_0x384104(0x247)],_0xb65fee,!0x1,_0x2e0313,_0x4a6342]):this[_0x384104(0x247)](_0xb65fee,!0x1,_0x2e0313,_0x4a6342):this[_0x384104(0x310)]!==_0x2850c0?this[_0x384104(0x2f8)]([this['dispatch'],_0xb65fee,!0x1,_0x2e0313,_0x4a6342]):this['sendFrame'](_0x32e6fa[_0x384104(0x1e6)](_0xb65fee,_0x2e0313),_0x4a6342);}['send'](_0x450404,_0x16764e,_0x2e789e){const _0x398431=_0x2fef9a,_0x1ed977=this['_extensions'][_0x208f86[_0x398431(0x36d)]];let _0x321af1=_0x16764e[_0x398431(0x371)]?0x2:0x1,_0x222710=_0x16764e['compress'],_0x33c3b9,_0x4efa6c;typeof _0x450404==_0x398431(0x378)?(_0x33c3b9=Buffer[_0x398431(0x27d)](_0x450404),_0x4efa6c=!0x1):_0x5e0eda(_0x450404)?(_0x33c3b9=_0x450404[_0x398431(0x2b2)],_0x4efa6c=!0x1):(_0x450404=_0x58cfff(_0x450404),_0x33c3b9=_0x450404[_0x398431(0x245)],_0x4efa6c=_0x58cfff[_0x398431(0x203)]),this[_0x398431(0x1f7)]?(this[_0x398431(0x1f7)]=!0x1,_0x222710&&_0x1ed977&&_0x1ed977['params'][_0x1ed977[_0x398431(0x376)]?_0x398431(0x202):_0x398431(0x26b)]&&(_0x222710=_0x33c3b9>=_0x1ed977['_threshold']),this[_0x398431(0x34d)]=_0x222710):(_0x222710=!0x1,_0x321af1=0x0),_0x16764e[_0x398431(0x2ba)]&&(this[_0x398431(0x1f7)]=!0x0);const _0x33ec13={[_0x5488a7]:_0x33c3b9,'fin':_0x16764e[_0x398431(0x2ba)],'generateMask':this[_0x398431(0x1db)],'mask':_0x16764e[_0x398431(0x342)],'maskBuffer':this[_0x398431(0x218)],'opcode':_0x321af1,'readOnly':_0x4efa6c,'rsv1':_0x222710};_0x5e0eda(_0x450404)?this['_state']!==_0x2850c0?this[_0x398431(0x2f8)]([this[_0x398431(0x247)],_0x450404,this['_compress'],_0x33ec13,_0x2e789e]):this['getBlobData'](_0x450404,this[_0x398431(0x34d)],_0x33ec13,_0x2e789e):this['_state']!==_0x2850c0?this['enqueue']([this[_0x398431(0x1c3)],_0x450404,this[_0x398431(0x34d)],_0x33ec13,_0x2e789e]):this[_0x398431(0x1c3)](_0x450404,this[_0x398431(0x34d)],_0x33ec13,_0x2e789e);}['getBlobData'](_0x150708,_0x4e7394,_0x802dda,_0x2c9b2a){const _0x56fcc0=_0x2fef9a;this[_0x56fcc0(0x226)]+=_0x802dda[_0x5488a7],this[_0x56fcc0(0x310)]=_0x477d59,_0x150708[_0x56fcc0(0x2b8)]()[_0x56fcc0(0x21d)](_0x3d7a72=>{const _0x982505=_0x56fcc0;if(this['_socket'][_0x982505(0x34a)]){const _0x208e6e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x982505(0x2e9)](_0x293a64,this,_0x208e6e,_0x2c9b2a);return;}this[_0x982505(0x226)]-=_0x802dda[_0x5488a7];const _0x2058ae=_0x58cfff(_0x3d7a72);_0x4e7394?this['dispatch'](_0x2058ae,_0x4e7394,_0x802dda,_0x2c9b2a):(this[_0x982505(0x310)]=_0x2850c0,this[_0x982505(0x24e)](_0x32e6fa[_0x982505(0x1e6)](_0x2058ae,_0x802dda),_0x2c9b2a),this[_0x982505(0x206)]());})[_0x56fcc0(0x1e4)](_0xaa3946=>{process['nextTick'](_0x1a26e7,this,_0xaa3946,_0x2c9b2a);});}[_0x2fef9a(0x1c3)](_0x121195,_0x460bff,_0x2cb565,_0x3d5969){const _0x2bd5e7=_0x2fef9a;if(!_0x460bff){this['sendFrame'](_0x32e6fa[_0x2bd5e7(0x1e6)](_0x121195,_0x2cb565),_0x3d5969);return;}const _0x3edc28=this[_0x2bd5e7(0x258)][_0x208f86['extensionName']];this[_0x2bd5e7(0x226)]+=_0x2cb565[_0x5488a7],this[_0x2bd5e7(0x310)]=_0x17cdbe,_0x3edc28[_0x2bd5e7(0x2ab)](_0x121195,_0x2cb565[_0x2bd5e7(0x2ba)],(_0x23082d,_0x42fc80)=>{const _0x13a013=_0x2bd5e7;if(this[_0x13a013(0x1e3)][_0x13a013(0x34a)]){const _0x4afb1e=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x293a64(this,_0x4afb1e,_0x3d5969);return;}this[_0x13a013(0x226)]-=_0x2cb565[_0x5488a7],this[_0x13a013(0x310)]=_0x2850c0,_0x2cb565[_0x13a013(0x203)]=!0x1,this[_0x13a013(0x24e)](_0x32e6fa[_0x13a013(0x1e6)](_0x42fc80,_0x2cb565),_0x3d5969),this['dequeue']();});}[_0x2fef9a(0x206)](){const _0x1151dd=_0x2fef9a;for(;this[_0x1151dd(0x310)]===_0x2850c0&&this[_0x1151dd(0x362)]['length'];){const _0x1dc3ae=this[_0x1151dd(0x362)][_0x1151dd(0x323)]();this[_0x1151dd(0x226)]-=_0x1dc3ae[0x3][_0x5488a7],Reflect[_0x1151dd(0x23e)](_0x1dc3ae[0x0],this,_0x1dc3ae[_0x1151dd(0x287)](0x1));}}[_0x2fef9a(0x2f8)](_0x17147b){const _0x571f66=_0x2fef9a;this[_0x571f66(0x226)]+=_0x17147b[0x3][_0x5488a7],this[_0x571f66(0x362)][_0x571f66(0x21f)](_0x17147b);}['sendFrame'](_0x458600,_0x3acf03){const _0x1c8cce=_0x2fef9a;_0x458600['length']===0x2?(this['_socket'][_0x1c8cce(0x2de)](),this[_0x1c8cce(0x1e3)][_0x1c8cce(0x1ce)](_0x458600[0x0]),this[_0x1c8cce(0x1e3)][_0x1c8cce(0x1ce)](_0x458600[0x1],_0x3acf03),this[_0x1c8cce(0x1e3)][_0x1c8cce(0x1c6)]()):this[_0x1c8cce(0x1e3)][_0x1c8cce(0x1ce)](_0x458600[0x0],_0x3acf03);}}Ee=_0x32e6fa;function _0x293a64(_0x2502d2,_0x20f068,_0x36be34){const _0x440068=_0x2fef9a;typeof _0x36be34=='function'&&_0x36be34(_0x20f068);for(let _0x3e1bc1=0x0;_0x3e1bc1<_0x2502d2[_0x440068(0x362)][_0x440068(0x245)];_0x3e1bc1++){const _0x1453b0=_0x2502d2[_0x440068(0x362)][_0x3e1bc1],_0x14fa34=_0x1453b0[_0x1453b0[_0x440068(0x245)]-0x1];typeof _0x14fa34==_0x440068(0x308)&&_0x14fa34(_0x20f068);}}function _0x1a26e7(_0x3ec0f5,_0x50c29b,_0x17974a){_0x293a64(_0x3ec0f5,_0x50c29b,_0x17974a),_0x3ec0f5['onerror'](_0x50c29b);}return Ee;}var xe,Ze;function It(){const _0x30e786=_0x495098;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x30f0d2,kListener:_0xd0508b}=H(),_0x1a2d20=Symbol('kCode'),_0x23c913=Symbol(_0x30e786(0x29a)),_0x7ff1af=Symbol(_0x30e786(0x2d1)),_0x1dd30f=Symbol(_0x30e786(0x303)),_0x1fb100=Symbol('kReason'),_0xba8038=Symbol(_0x30e786(0x354)),_0xbdf5fa=Symbol(_0x30e786(0x296)),_0x2bccd5=Symbol('kWasClean');class _0x17e46a{constructor(_0x50d65e){this[_0xba8038]=null,this[_0xbdf5fa]=_0x50d65e;}get['target'](){return this[_0xba8038];}get[_0x30e786(0x280)](){return this[_0xbdf5fa];}}Object[_0x30e786(0x331)](_0x17e46a[_0x30e786(0x21b)],_0x30e786(0x278),{'enumerable':!0x0}),Object['defineProperty'](_0x17e46a[_0x30e786(0x21b)],'type',{'enumerable':!0x0});class _0x8e80a extends _0x17e46a{constructor(_0x2f97a6,_0x500693={}){const _0x3a808f=_0x30e786;super(_0x2f97a6),this[_0x1a2d20]=_0x500693['code']===void 0x0?0x0:_0x500693['code'],this[_0x1fb100]=_0x500693[_0x3a808f(0x2c4)]===void 0x0?'':_0x500693[_0x3a808f(0x2c4)],this[_0x2bccd5]=_0x500693['wasClean']===void 0x0?!0x1:_0x500693['wasClean'];}get[_0x30e786(0x2d5)](){return this[_0x1a2d20];}get[_0x30e786(0x2c4)](){return this[_0x1fb100];}get[_0x30e786(0x250)](){return this[_0x2bccd5];}}Object[_0x30e786(0x331)](_0x8e80a['prototype'],_0x30e786(0x2d5),{'enumerable':!0x0}),Object[_0x30e786(0x331)](_0x8e80a[_0x30e786(0x21b)],'reason',{'enumerable':!0x0}),Object[_0x30e786(0x331)](_0x8e80a[_0x30e786(0x21b)],_0x30e786(0x250),{'enumerable':!0x0});class _0x37b174 extends _0x17e46a{constructor(_0xd46fc1,_0x29e4f2={}){const _0x2975fe=_0x30e786;super(_0xd46fc1),this[_0x7ff1af]=_0x29e4f2[_0x2975fe(0x2db)]===void 0x0?null:_0x29e4f2['error'],this[_0x1dd30f]=_0x29e4f2['message']===void 0x0?'':_0x29e4f2['message'];}get[_0x30e786(0x2db)](){return this[_0x7ff1af];}get[_0x30e786(0x239)](){return this[_0x1dd30f];}}Object[_0x30e786(0x331)](_0x37b174[_0x30e786(0x21b)],_0x30e786(0x2db),{'enumerable':!0x0}),Object['defineProperty'](_0x37b174[_0x30e786(0x21b)],_0x30e786(0x239),{'enumerable':!0x0});class _0x28496a extends _0x17e46a{constructor(_0x38d1b0,_0x43a31c={}){const _0x4b7ca3=_0x30e786;super(_0x38d1b0),this[_0x23c913]=_0x43a31c['data']===void 0x0?null:_0x43a31c[_0x4b7ca3(0x246)];}get[_0x30e786(0x246)](){return this[_0x23c913];}}Object[_0x30e786(0x331)](_0x28496a[_0x30e786(0x21b)],_0x30e786(0x246),{'enumerable':!0x0}),xe={'CloseEvent':_0x8e80a,'ErrorEvent':_0x37b174,'Event':_0x17e46a,'EventTarget':{'addEventListener'(_0x399f5a,_0x54fc9d,_0x10d4a1={}){const _0x2b981c=_0x30e786;for(const _0x2344dc of this[_0x2b981c(0x307)](_0x399f5a))if(!_0x10d4a1[_0x30f0d2]&&_0x2344dc[_0xd0508b]===_0x54fc9d&&!_0x2344dc[_0x30f0d2])return;let _0x5d8ff4;if(_0x399f5a==='message')_0x5d8ff4=function(_0x9eda17,_0x2d27ff){const _0x577682=_0x2b981c,_0x48f542=new _0x28496a(_0x577682(0x239),{'data':_0x2d27ff?_0x9eda17:_0x9eda17[_0x577682(0x1f2)]()});_0x48f542[_0xba8038]=this,_0x65e27e(_0x54fc9d,this,_0x48f542);};else{if(_0x399f5a===_0x2b981c(0x37c))_0x5d8ff4=function(_0x8588e9,_0x19b9aa){const _0x2b00a1=_0x2b981c,_0x5eda5a=new _0x8e80a(_0x2b00a1(0x37c),{'code':_0x8588e9,'reason':_0x19b9aa[_0x2b00a1(0x1f2)](),'wasClean':this[_0x2b00a1(0x332)]&&this[_0x2b00a1(0x37b)]});_0x5eda5a[_0xba8038]=this,_0x65e27e(_0x54fc9d,this,_0x5eda5a);};else{if(_0x399f5a===_0x2b981c(0x2db))_0x5d8ff4=function(_0x42d515){const _0x4ec1e8=_0x2b981c,_0x1b03c4=new _0x37b174(_0x4ec1e8(0x2db),{'error':_0x42d515,'message':_0x42d515[_0x4ec1e8(0x239)]});_0x1b03c4[_0xba8038]=this,_0x65e27e(_0x54fc9d,this,_0x1b03c4);};else{if(_0x399f5a===_0x2b981c(0x327))_0x5d8ff4=function(){const _0x468754=_0x2b981c,_0x3cb60e=new _0x17e46a(_0x468754(0x327));_0x3cb60e[_0xba8038]=this,_0x65e27e(_0x54fc9d,this,_0x3cb60e);};else return;}}}_0x5d8ff4[_0x30f0d2]=!!_0x10d4a1[_0x30f0d2],_0x5d8ff4[_0xd0508b]=_0x54fc9d,_0x10d4a1[_0x2b981c(0x249)]?this['once'](_0x399f5a,_0x5d8ff4):this['on'](_0x399f5a,_0x5d8ff4);},'removeEventListener'(_0x51cf7b,_0x24df34){const _0xccf984=_0x30e786;for(const _0x47fe68 of this['listeners'](_0x51cf7b))if(_0x47fe68[_0xd0508b]===_0x24df34&&!_0x47fe68[_0x30f0d2]){this[_0xccf984(0x2b3)](_0x51cf7b,_0x47fe68);break;}}},'MessageEvent':_0x28496a};function _0x65e27e(_0x539a6,_0x169e82,_0x550979){const _0x4d3e78=_0x30e786;typeof _0x539a6==_0x4d3e78(0x2df)&&_0x539a6[_0x4d3e78(0x2ed)]?_0x539a6['handleEvent']['call'](_0x539a6,_0x550979):_0x539a6['call'](_0x169e82,_0x550979);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x20d1ae}=ae();function _0x47de01(_0x643a81,_0x31a9c5,_0x3f3e0a){const _0x5af6c4=_0x7a81;_0x643a81[_0x31a9c5]===void 0x0?_0x643a81[_0x31a9c5]=[_0x3f3e0a]:_0x643a81[_0x31a9c5][_0x5af6c4(0x21f)](_0x3f3e0a);}function _0x932933(_0x45c7f9){const _0x540265=_0x7a81,_0x1a363f=Object[_0x540265(0x37f)](null);let _0x50d740=Object['create'](null),_0xcd792b=!0x1,_0x4397d8=!0x1,_0x56338a=!0x1,_0x14dae6,_0x538e65,_0x1a0cf3=-0x1,_0x155155=-0x1,_0x483788=-0x1,_0x1032af=0x0;for(;_0x1032af<_0x45c7f9['length'];_0x1032af++)if(_0x155155=_0x45c7f9[_0x540265(0x1fb)](_0x1032af),_0x14dae6===void 0x0){if(_0x483788===-0x1&&_0x20d1ae[_0x155155]===0x1)_0x1a0cf3===-0x1&&(_0x1a0cf3=_0x1032af);else{if(_0x1032af!==0x0&&(_0x155155===0x20||_0x155155===0x9))_0x483788===-0x1&&_0x1a0cf3!==-0x1&&(_0x483788=_0x1032af);else{if(_0x155155===0x3b||_0x155155===0x2c){if(_0x1a0cf3===-0x1)throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);_0x483788===-0x1&&(_0x483788=_0x1032af);const _0x3ca09a=_0x45c7f9[_0x540265(0x287)](_0x1a0cf3,_0x483788);_0x155155===0x2c?(_0x47de01(_0x1a363f,_0x3ca09a,_0x50d740),_0x50d740=Object[_0x540265(0x37f)](null)):_0x14dae6=_0x3ca09a,_0x1a0cf3=_0x483788=-0x1;}else throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);}}}else{if(_0x538e65===void 0x0){if(_0x483788===-0x1&&_0x20d1ae[_0x155155]===0x1)_0x1a0cf3===-0x1&&(_0x1a0cf3=_0x1032af);else{if(_0x155155===0x20||_0x155155===0x9)_0x483788===-0x1&&_0x1a0cf3!==-0x1&&(_0x483788=_0x1032af);else{if(_0x155155===0x3b||_0x155155===0x2c){if(_0x1a0cf3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1032af);_0x483788===-0x1&&(_0x483788=_0x1032af),_0x47de01(_0x50d740,_0x45c7f9['slice'](_0x1a0cf3,_0x483788),!0x0),_0x155155===0x2c&&(_0x47de01(_0x1a363f,_0x14dae6,_0x50d740),_0x50d740=Object[_0x540265(0x37f)](null),_0x14dae6=void 0x0),_0x1a0cf3=_0x483788=-0x1;}else{if(_0x155155===0x3d&&_0x1a0cf3!==-0x1&&_0x483788===-0x1)_0x538e65=_0x45c7f9[_0x540265(0x287)](_0x1a0cf3,_0x1032af),_0x1a0cf3=_0x483788=-0x1;else throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);}}}}else{if(_0x4397d8){if(_0x20d1ae[_0x155155]!==0x1)throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);_0x1a0cf3===-0x1?_0x1a0cf3=_0x1032af:_0xcd792b||(_0xcd792b=!0x0),_0x4397d8=!0x1;}else{if(_0x56338a){if(_0x20d1ae[_0x155155]===0x1)_0x1a0cf3===-0x1&&(_0x1a0cf3=_0x1032af);else{if(_0x155155===0x22&&_0x1a0cf3!==-0x1)_0x56338a=!0x1,_0x483788=_0x1032af;else{if(_0x155155===0x5c)_0x4397d8=!0x0;else throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);}}}else{if(_0x155155===0x22&&_0x45c7f9[_0x540265(0x1fb)](_0x1032af-0x1)===0x3d)_0x56338a=!0x0;else{if(_0x483788===-0x1&&_0x20d1ae[_0x155155]===0x1)_0x1a0cf3===-0x1&&(_0x1a0cf3=_0x1032af);else{if(_0x1a0cf3!==-0x1&&(_0x155155===0x20||_0x155155===0x9))_0x483788===-0x1&&(_0x483788=_0x1032af);else{if(_0x155155===0x3b||_0x155155===0x2c){if(_0x1a0cf3===-0x1)throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);_0x483788===-0x1&&(_0x483788=_0x1032af);let _0x30efdb=_0x45c7f9[_0x540265(0x287)](_0x1a0cf3,_0x483788);_0xcd792b&&(_0x30efdb=_0x30efdb[_0x540265(0x344)](/\\/g,''),_0xcd792b=!0x1),_0x47de01(_0x50d740,_0x538e65,_0x30efdb),_0x155155===0x2c&&(_0x47de01(_0x1a363f,_0x14dae6,_0x50d740),_0x50d740=Object[_0x540265(0x37f)](null),_0x14dae6=void 0x0),_0x538e65=void 0x0,_0x1a0cf3=_0x483788=-0x1;}else throw new SyntaxError(_0x540265(0x1f3)+_0x1032af);}}}}}}}if(_0x1a0cf3===-0x1||_0x56338a||_0x155155===0x20||_0x155155===0x9)throw new SyntaxError(_0x540265(0x30d));_0x483788===-0x1&&(_0x483788=_0x1032af);const _0x1edf92=_0x45c7f9['slice'](_0x1a0cf3,_0x483788);return _0x14dae6===void 0x0?_0x47de01(_0x1a363f,_0x1edf92,_0x50d740):(_0x538e65===void 0x0?_0x47de01(_0x50d740,_0x1edf92,!0x0):_0xcd792b?_0x47de01(_0x50d740,_0x538e65,_0x1edf92[_0x540265(0x344)](/\\/g,'')):_0x47de01(_0x50d740,_0x538e65,_0x1edf92),_0x47de01(_0x1a363f,_0x14dae6,_0x50d740)),_0x1a363f;}function _0x798f04(_0x4cef48){const _0x33bbfe=_0x7a81;return Object[_0x33bbfe(0x345)](_0x4cef48)[_0x33bbfe(0x1e7)](_0x4ab70c=>{const _0xc3eadb=_0x33bbfe;let _0x4b5c3d=_0x4cef48[_0x4ab70c];return Array['isArray'](_0x4b5c3d)||(_0x4b5c3d=[_0x4b5c3d]),_0x4b5c3d[_0xc3eadb(0x1e7)](_0x1aab32=>[_0x4ab70c]['concat'](Object[_0xc3eadb(0x345)](_0x1aab32)[_0xc3eadb(0x1e7)](_0x1dceea=>{const _0x20505a=_0xc3eadb;let _0x2d90f3=_0x1aab32[_0x1dceea];return Array[_0x20505a(0x228)](_0x2d90f3)||(_0x2d90f3=[_0x2d90f3]),_0x2d90f3[_0x20505a(0x1e7)](_0x533e5e=>_0x533e5e===!0x0?_0x1dceea:_0x1dceea+'='+_0x533e5e)['join'](';\x20');}))[_0xc3eadb(0x20e)](';\x20'))[_0xc3eadb(0x20e)](',\x20');})[_0x33bbfe(0x20e)](',\x20');}return be={'format':_0x798f04,'parse':_0x932933},be;}var we,Je;function Pe(){const _0x3f095a=_0x495098;if(Je)return we;Je=0x1;const _0xc20409=nt,_0x3a6506=vt,_0x4a5486=ot,_0x207d09=St,_0x16b160=Et,{randomBytes:_0x3a8f76,createHash:_0x1244ab}=Le,{Duplex:_0x48577a,Readable:_0x35bbcc}=oe,{URL:_0x59abcd}=xt,_0x2c4d7e=he(),_0x1783e7=lt(),_0x14d31d=ft(),{isBlob:_0x149856}=ae(),{BINARY_TYPES:_0x7e2a91,EMPTY_BUFFER:_0x4bffb3,GUID:_0x725133,kForOnEventAttribute:_0x3ba241,kListener:_0x5a358c,kStatusCode:_0x4a87d0,kWebSocket:_0x478420,NOOP:_0x37c9a9}=H(),{EventTarget:{addEventListener:_0x38b9ee,removeEventListener:_0x322c70}}=It(),{format:_0x5b4e3f,parse:_0x15c9ac}=ct(),{toBuffer:_0x32c757}=ce(),_0x561d27=0x1e*0x3e8,_0x2cf94a=Symbol(_0x3f095a(0x23f)),_0x7a5245=[0x8,0xd],_0xb188c1=['CONNECTING',_0x3f095a(0x1ef),_0x3f095a(0x256),_0x3f095a(0x27a)],_0x3d295b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x701473 extends _0xc20409{constructor(_0xb0345b,_0x1efd3f,_0x9b1a2f){const _0xb8b965=_0x3f095a;super(),this[_0xb8b965(0x281)]=_0x7e2a91[0x0],this['_closeCode']=0x3ee,this[_0xb8b965(0x332)]=!0x1,this[_0xb8b965(0x37b)]=!0x1,this['_closeMessage']=_0x4bffb3,this[_0xb8b965(0x324)]=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0xb8b965(0x33e)]=!0x1,this[_0xb8b965(0x24a)]='',this[_0xb8b965(0x337)]=_0x701473[_0xb8b965(0x235)],this[_0xb8b965(0x240)]=null,this['_sender']=null,this['_socket']=null,_0xb0345b!==null?(this[_0xb8b965(0x2f7)]=0x0,this[_0xb8b965(0x376)]=!0x1,this['_redirects']=0x0,_0x1efd3f===void 0x0?_0x1efd3f=[]:Array[_0xb8b965(0x228)](_0x1efd3f)||(typeof _0x1efd3f==_0xb8b965(0x2df)&&_0x1efd3f!==null?(_0x9b1a2f=_0x1efd3f,_0x1efd3f=[]):_0x1efd3f=[_0x1efd3f]),_0x135b8a(this,_0xb0345b,_0x1efd3f,_0x9b1a2f)):(this[_0xb8b965(0x1fe)]=_0x9b1a2f['autoPong'],this[_0xb8b965(0x376)]=!0x0);}get['binaryType'](){const _0x24ebcc=_0x3f095a;return this[_0x24ebcc(0x281)];}set['binaryType'](_0x3c44eb){const _0x2f4261=_0x3f095a;_0x7e2a91[_0x2f4261(0x217)](_0x3c44eb)&&(this[_0x2f4261(0x281)]=_0x3c44eb,this[_0x2f4261(0x240)]&&(this[_0x2f4261(0x240)][_0x2f4261(0x281)]=_0x3c44eb));}get[_0x3f095a(0x1ed)](){const _0x5379dc=_0x3f095a;return this['_socket']?this[_0x5379dc(0x1e3)][_0x5379dc(0x2ea)][_0x5379dc(0x245)]+this[_0x5379dc(0x364)][_0x5379dc(0x226)]:this[_0x5379dc(0x2f7)];}get[_0x3f095a(0x2b5)](){const _0x3e8c76=_0x3f095a;return Object['keys'](this[_0x3e8c76(0x258)])[_0x3e8c76(0x20e)]();}get['isPaused'](){const _0x218d94=_0x3f095a;return this[_0x218d94(0x33e)];}get[_0x3f095a(0x329)](){return null;}get[_0x3f095a(0x31f)](){return null;}get[_0x3f095a(0x241)](){return null;}get[_0x3f095a(0x276)](){return null;}get[_0x3f095a(0x35a)](){return this['_protocol'];}get[_0x3f095a(0x319)](){const _0x5b8056=_0x3f095a;return this[_0x5b8056(0x337)];}get['url'](){const _0x1cf9c5=_0x3f095a;return this[_0x1cf9c5(0x2b9)];}[_0x3f095a(0x216)](_0x1587bf,_0x50d18c,_0x4cd923){const _0xf9ce61=_0x3f095a,_0x48d994=new _0x1783e7({'allowSynchronousEvents':_0x4cd923[_0xf9ce61(0x236)],'binaryType':this[_0xf9ce61(0x1bc)],'extensions':this['_extensions'],'isServer':this[_0xf9ce61(0x376)],'maxPayload':_0x4cd923[_0xf9ce61(0x1e2)],'skipUTF8Validation':_0x4cd923[_0xf9ce61(0x289)]}),_0x355c70=new _0x14d31d(_0x1587bf,this[_0xf9ce61(0x258)],_0x4cd923[_0xf9ce61(0x234)]);this[_0xf9ce61(0x240)]=_0x48d994,this['_sender']=_0x355c70,this[_0xf9ce61(0x1e3)]=_0x1587bf,_0x48d994[_0x478420]=this,_0x355c70[_0x478420]=this,_0x1587bf[_0x478420]=this,_0x48d994['on'](_0xf9ce61(0x1c9),_0x328fd9),_0x48d994['on']('drain',_0x2050f1),_0x48d994['on'](_0xf9ce61(0x2db),_0x4b5f7b),_0x48d994['on'](_0xf9ce61(0x239),_0x2a683f),_0x48d994['on']('ping',_0x34fbe3),_0x48d994['on']('pong',_0x20b65c),_0x355c70[_0xf9ce61(0x31f)]=_0x50d23f,_0x1587bf[_0xf9ce61(0x2f9)]&&_0x1587bf[_0xf9ce61(0x2f9)](0x0),_0x1587bf['setNoDelay']&&_0x1587bf[_0xf9ce61(0x2c3)](),_0x50d18c['length']>0x0&&_0x1587bf[_0xf9ce61(0x22b)](_0x50d18c),_0x1587bf['on']('close',_0x4bd41f),_0x1587bf['on'](_0xf9ce61(0x246),_0x45f8b9),_0x1587bf['on']('end',_0x326c5c),_0x1587bf['on'](_0xf9ce61(0x2db),_0x2f291d),this[_0xf9ce61(0x337)]=_0x701473[_0xf9ce61(0x1ef)],this[_0xf9ce61(0x1c5)](_0xf9ce61(0x327));}[_0x3f095a(0x356)](){const _0x215936=_0x3f095a;if(!this[_0x215936(0x1e3)]){this['_readyState']=_0x701473[_0x215936(0x27a)],this['emit']('close',this[_0x215936(0x363)],this[_0x215936(0x29b)]);return;}this[_0x215936(0x258)][_0x2c4d7e[_0x215936(0x36d)]]&&this[_0x215936(0x258)][_0x2c4d7e['extensionName']][_0x215936(0x273)](),this['_receiver']['removeAllListeners'](),this[_0x215936(0x337)]=_0x701473[_0x215936(0x27a)],this['emit'](_0x215936(0x37c),this[_0x215936(0x363)],this[_0x215936(0x29b)]);}[_0x3f095a(0x37c)](_0x58aed7,_0x534ec1){const _0x56bd66=_0x3f095a;if(this[_0x56bd66(0x319)]!==_0x701473['CLOSED']){if(this[_0x56bd66(0x319)]===_0x701473['CONNECTING']){_0x2681b7(this,this[_0x56bd66(0x335)],_0x56bd66(0x26d));return;}if(this['readyState']===_0x701473['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x56bd66(0x240)][_0x56bd66(0x2ea)]['errorEmitted'])&&this[_0x56bd66(0x1e3)]['end']();return;}this[_0x56bd66(0x337)]=_0x701473[_0x56bd66(0x256)],this['_sender']['close'](_0x58aed7,_0x534ec1,!this['_isServer'],_0x14ac84=>{const _0x5f3947=_0x56bd66;_0x14ac84||(this[_0x5f3947(0x37b)]=!0x0,(this[_0x5f3947(0x332)]||this[_0x5f3947(0x240)][_0x5f3947(0x2ea)][_0x5f3947(0x317)])&&this[_0x5f3947(0x1e3)][_0x5f3947(0x2e3)]());}),_0x2a483e(this);}}[_0x3f095a(0x1cf)](){const _0xeea146=_0x3f095a;this[_0xeea146(0x319)]===_0x701473[_0xeea146(0x235)]||this['readyState']===_0x701473[_0xeea146(0x27a)]||(this[_0xeea146(0x33e)]=!0x0,this[_0xeea146(0x1e3)]['pause']());}['ping'](_0x4d0678,_0xd04d61,_0x40f375){const _0x4b5b21=_0x3f095a;if(this[_0x4b5b21(0x319)]===_0x701473[_0x4b5b21(0x235)])throw new Error(_0x4b5b21(0x25e));if(typeof _0x4d0678==_0x4b5b21(0x308)?(_0x40f375=_0x4d0678,_0x4d0678=_0xd04d61=void 0x0):typeof _0xd04d61==_0x4b5b21(0x308)&&(_0x40f375=_0xd04d61,_0xd04d61=void 0x0),typeof _0x4d0678==_0x4b5b21(0x311)&&(_0x4d0678=_0x4d0678['toString']()),this[_0x4b5b21(0x319)]!==_0x701473['OPEN']){_0x83517e(this,_0x4d0678,_0x40f375);return;}_0xd04d61===void 0x0&&(_0xd04d61=!this['_isServer']),this[_0x4b5b21(0x364)][_0x4b5b21(0x2f5)](_0x4d0678||_0x4bffb3,_0xd04d61,_0x40f375);}[_0x3f095a(0x210)](_0x3951b0,_0x210da6,_0x1deb25){const _0x589c95=_0x3f095a;if(this[_0x589c95(0x319)]===_0x701473[_0x589c95(0x235)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3951b0=='function'?(_0x1deb25=_0x3951b0,_0x3951b0=_0x210da6=void 0x0):typeof _0x210da6==_0x589c95(0x308)&&(_0x1deb25=_0x210da6,_0x210da6=void 0x0),typeof _0x3951b0==_0x589c95(0x311)&&(_0x3951b0=_0x3951b0[_0x589c95(0x1f2)]()),this['readyState']!==_0x701473['OPEN']){_0x83517e(this,_0x3951b0,_0x1deb25);return;}_0x210da6===void 0x0&&(_0x210da6=!this[_0x589c95(0x376)]),this[_0x589c95(0x364)]['pong'](_0x3951b0||_0x4bffb3,_0x210da6,_0x1deb25);}['resume'](){const _0x118fac=_0x3f095a;this[_0x118fac(0x319)]===_0x701473[_0x118fac(0x235)]||this['readyState']===_0x701473['CLOSED']||(this[_0x118fac(0x33e)]=!0x1,this[_0x118fac(0x240)][_0x118fac(0x2ea)][_0x118fac(0x221)]||this[_0x118fac(0x1e3)][_0x118fac(0x255)]());}['send'](_0x45ec45,_0xd6feb,_0x59fc7e){const _0x2f4465=_0x3f095a;if(this[_0x2f4465(0x319)]===_0x701473[_0x2f4465(0x235)])throw new Error(_0x2f4465(0x25e));if(typeof _0xd6feb==_0x2f4465(0x308)&&(_0x59fc7e=_0xd6feb,_0xd6feb={}),typeof _0x45ec45=='number'&&(_0x45ec45=_0x45ec45[_0x2f4465(0x1f2)]()),this[_0x2f4465(0x319)]!==_0x701473[_0x2f4465(0x1ef)]){_0x83517e(this,_0x45ec45,_0x59fc7e);return;}const _0x219d56={'binary':typeof _0x45ec45!='string','mask':!this[_0x2f4465(0x376)],'compress':!0x0,'fin':!0x0,..._0xd6feb};this['_extensions'][_0x2c4d7e['extensionName']]||(_0x219d56[_0x2f4465(0x2ab)]=!0x1),this[_0x2f4465(0x364)][_0x2f4465(0x31a)](_0x45ec45||_0x4bffb3,_0x219d56,_0x59fc7e);}[_0x3f095a(0x294)](){const _0x42683a=_0x3f095a;if(this[_0x42683a(0x319)]!==_0x701473['CLOSED']){if(this[_0x42683a(0x319)]===_0x701473[_0x42683a(0x235)]){_0x2681b7(this,this[_0x42683a(0x335)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x42683a(0x1e3)]&&(this[_0x42683a(0x337)]=_0x701473[_0x42683a(0x256)],this['_socket'][_0x42683a(0x2af)]());}}}Object['defineProperty'](_0x701473,_0x3f095a(0x235),{'enumerable':!0x0,'value':_0xb188c1[_0x3f095a(0x23a)](_0x3f095a(0x235))}),Object[_0x3f095a(0x331)](_0x701473[_0x3f095a(0x21b)],_0x3f095a(0x235),{'enumerable':!0x0,'value':_0xb188c1[_0x3f095a(0x23a)]('CONNECTING')}),Object['defineProperty'](_0x701473,_0x3f095a(0x1ef),{'enumerable':!0x0,'value':_0xb188c1[_0x3f095a(0x23a)](_0x3f095a(0x1ef))}),Object[_0x3f095a(0x331)](_0x701473[_0x3f095a(0x21b)],_0x3f095a(0x1ef),{'enumerable':!0x0,'value':_0xb188c1[_0x3f095a(0x23a)](_0x3f095a(0x1ef))}),Object[_0x3f095a(0x331)](_0x701473,_0x3f095a(0x256),{'enumerable':!0x0,'value':_0xb188c1['indexOf'](_0x3f095a(0x256))}),Object[_0x3f095a(0x331)](_0x701473[_0x3f095a(0x21b)],_0x3f095a(0x256),{'enumerable':!0x0,'value':_0xb188c1['indexOf'](_0x3f095a(0x256))}),Object[_0x3f095a(0x331)](_0x701473,_0x3f095a(0x27a),{'enumerable':!0x0,'value':_0xb188c1['indexOf']('CLOSED')}),Object['defineProperty'](_0x701473['prototype'],_0x3f095a(0x27a),{'enumerable':!0x0,'value':_0xb188c1[_0x3f095a(0x23a)]('CLOSED')}),['binaryType',_0x3f095a(0x1ed),_0x3f095a(0x2b5),_0x3f095a(0x28c),_0x3f095a(0x35a),'readyState',_0x3f095a(0x220)][_0x3f095a(0x36c)](_0x2d968d=>{const _0x3b5b0f=_0x3f095a;Object[_0x3b5b0f(0x331)](_0x701473[_0x3b5b0f(0x21b)],_0x2d968d,{'enumerable':!0x0});}),['open',_0x3f095a(0x2db),'close',_0x3f095a(0x239)][_0x3f095a(0x36c)](_0x454978=>{const _0x6f9fea=_0x3f095a;Object['defineProperty'](_0x701473[_0x6f9fea(0x21b)],'on'+_0x454978,{'enumerable':!0x0,'get'(){const _0x13b881=_0x6f9fea;for(const _0x57007e of this[_0x13b881(0x307)](_0x454978))if(_0x57007e[_0x3ba241])return _0x57007e[_0x5a358c];return null;},'set'(_0x54c878){const _0x2fd867=_0x6f9fea;for(const _0x550c07 of this[_0x2fd867(0x307)](_0x454978))if(_0x550c07[_0x3ba241]){this['removeListener'](_0x454978,_0x550c07);break;}typeof _0x54c878==_0x2fd867(0x308)&&this[_0x2fd867(0x1c2)](_0x454978,_0x54c878,{[_0x3ba241]:!0x0});}});}),_0x701473[_0x3f095a(0x21b)][_0x3f095a(0x1c2)]=_0x38b9ee,_0x701473[_0x3f095a(0x21b)][_0x3f095a(0x1c1)]=_0x322c70,we=_0x701473;function _0x135b8a(_0x496061,_0x4b1d51,_0x110dbd,_0x12153b){const _0x46c205=_0x3f095a,_0x1feaae={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x7a5245[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x12153b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x46c205(0x232),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x496061[_0x46c205(0x1fe)]=_0x1feaae['autoPong'],!_0x7a5245[_0x46c205(0x217)](_0x1feaae[_0x46c205(0x266)]))throw new RangeError(_0x46c205(0x361)+_0x1feaae[_0x46c205(0x266)]+_0x46c205(0x20b)+_0x7a5245[_0x46c205(0x20e)](',\x20')+')');let _0x2f7594;if(_0x4b1d51 instanceof _0x59abcd)_0x2f7594=_0x4b1d51;else try{_0x2f7594=new _0x59abcd(_0x4b1d51);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x4b1d51);}_0x2f7594[_0x46c205(0x35a)]===_0x46c205(0x2f6)?_0x2f7594[_0x46c205(0x35a)]=_0x46c205(0x290):_0x2f7594[_0x46c205(0x35a)]==='https:'&&(_0x2f7594[_0x46c205(0x35a)]=_0x46c205(0x284)),_0x496061[_0x46c205(0x2b9)]=_0x2f7594[_0x46c205(0x279)];const _0x17d1b3=_0x2f7594[_0x46c205(0x35a)]===_0x46c205(0x284),_0x3f9287=_0x2f7594['protocol']==='ws+unix:';let _0x3ba114;if(_0x2f7594[_0x46c205(0x35a)]!==_0x46c205(0x290)&&!_0x17d1b3&&!_0x3f9287?_0x3ba114='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':_0x3f9287&&!_0x2f7594[_0x46c205(0x351)]?_0x3ba114=_0x46c205(0x1dc):_0x2f7594['hash']&&(_0x3ba114=_0x46c205(0x32f)),_0x3ba114){const _0x21b0c7=new SyntaxError(_0x3ba114);if(_0x496061[_0x46c205(0x2c5)]===0x0)throw _0x21b0c7;_0x414d94(_0x496061,_0x21b0c7);return;}const _0x18dc6c=_0x17d1b3?0x1bb:0x50,_0x2058c0=_0x3a8f76(0x10)[_0x46c205(0x1f2)]('base64'),_0x24b495=_0x17d1b3?_0x3a6506[_0x46c205(0x253)]:_0x4a5486[_0x46c205(0x253)],_0x196932=new Set();let _0x31b3b9;if(_0x1feaae[_0x46c205(0x1e5)]=_0x1feaae['createConnection']||(_0x17d1b3?_0x63b49d:_0x39ae5e),_0x1feaae[_0x46c205(0x264)]=_0x1feaae[_0x46c205(0x264)]||_0x18dc6c,_0x1feaae['port']=_0x2f7594[_0x46c205(0x358)]||_0x18dc6c,_0x1feaae[_0x46c205(0x312)]=_0x2f7594[_0x46c205(0x1d1)][_0x46c205(0x350)]('[')?_0x2f7594[_0x46c205(0x1d1)][_0x46c205(0x287)](0x1,-0x1):_0x2f7594[_0x46c205(0x1d1)],_0x1feaae[_0x46c205(0x334)]={..._0x1feaae[_0x46c205(0x334)],'Sec-WebSocket-Version':_0x1feaae[_0x46c205(0x266)],'Sec-WebSocket-Key':_0x2058c0,'Connection':_0x46c205(0x2bc),'Upgrade':_0x46c205(0x2ae)},_0x1feaae[_0x46c205(0x2a8)]=_0x2f7594[_0x46c205(0x351)]+_0x2f7594['search'],_0x1feaae[_0x46c205(0x368)]=_0x1feaae[_0x46c205(0x2fe)],_0x1feaae[_0x46c205(0x32e)]&&(_0x31b3b9=new _0x2c4d7e(_0x1feaae[_0x46c205(0x32e)]!==!0x0?_0x1feaae['perMessageDeflate']:{},!0x1,_0x1feaae[_0x46c205(0x1e2)]),_0x1feaae[_0x46c205(0x334)][_0x46c205(0x301)]=_0x5b4e3f({[_0x2c4d7e[_0x46c205(0x36d)]]:_0x31b3b9[_0x46c205(0x34f)]()})),_0x110dbd[_0x46c205(0x245)]){for(const _0x102203 of _0x110dbd){if(typeof _0x102203!=_0x46c205(0x378)||!_0x3d295b['test'](_0x102203)||_0x196932[_0x46c205(0x32c)](_0x102203))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x196932[_0x46c205(0x2d0)](_0x102203);}_0x1feaae['headers'][_0x46c205(0x238)]=_0x110dbd['join'](',');}if(_0x1feaae['origin']&&(_0x1feaae['protocolVersion']<0xd?_0x1feaae[_0x46c205(0x334)][_0x46c205(0x325)]=_0x1feaae[_0x46c205(0x1df)]:_0x1feaae[_0x46c205(0x334)][_0x46c205(0x2d3)]=_0x1feaae[_0x46c205(0x1df)]),(_0x2f7594[_0x46c205(0x28a)]||_0x2f7594[_0x46c205(0x2fa)])&&(_0x1feaae['auth']=_0x2f7594['username']+':'+_0x2f7594[_0x46c205(0x2fa)]),_0x3f9287){const _0x675063=_0x1feaae['path'][_0x46c205(0x333)](':');_0x1feaae[_0x46c205(0x32a)]=_0x675063[0x0],_0x1feaae[_0x46c205(0x2a8)]=_0x675063[0x1];}let _0x1d0bf1;if(_0x1feaae[_0x46c205(0x2e0)]){if(_0x496061[_0x46c205(0x2c5)]===0x0){_0x496061[_0x46c205(0x237)]=_0x3f9287,_0x496061[_0x46c205(0x24f)]=_0x17d1b3,_0x496061[_0x46c205(0x2cd)]=_0x3f9287?_0x1feaae[_0x46c205(0x32a)]:_0x2f7594['host'];const _0x25a041=_0x12153b&&_0x12153b[_0x46c205(0x334)];if(_0x12153b={..._0x12153b,'headers':{}},_0x25a041){for(const [_0x458227,_0x490bcb]of Object[_0x46c205(0x291)](_0x25a041))_0x12153b['headers'][_0x458227[_0x46c205(0x23d)]()]=_0x490bcb;}}else{if(_0x496061[_0x46c205(0x31d)](_0x46c205(0x2aa))===0x0){const _0xda4ec4=_0x3f9287?_0x496061[_0x46c205(0x237)]?_0x1feaae[_0x46c205(0x32a)]===_0x496061['_originalHostOrSocketPath']:!0x1:_0x496061[_0x46c205(0x237)]?!0x1:_0x2f7594[_0x46c205(0x312)]===_0x496061[_0x46c205(0x2cd)];(!_0xda4ec4||_0x496061[_0x46c205(0x24f)]&&!_0x17d1b3)&&(delete _0x1feaae[_0x46c205(0x334)]['authorization'],delete _0x1feaae[_0x46c205(0x334)][_0x46c205(0x33f)],_0xda4ec4||delete _0x1feaae['headers'][_0x46c205(0x312)],_0x1feaae[_0x46c205(0x30f)]=void 0x0);}}_0x1feaae[_0x46c205(0x30f)]&&!_0x12153b['headers'][_0x46c205(0x1fc)]&&(_0x12153b[_0x46c205(0x334)]['authorization']='Basic\x20'+Buffer[_0x46c205(0x261)](_0x1feaae[_0x46c205(0x30f)])[_0x46c205(0x1f2)]('base64')),_0x1d0bf1=_0x496061['_req']=_0x24b495(_0x1feaae),_0x496061[_0x46c205(0x2c5)]&&_0x496061[_0x46c205(0x1c5)](_0x46c205(0x2aa),_0x496061['url'],_0x1d0bf1);}else _0x1d0bf1=_0x496061[_0x46c205(0x335)]=_0x24b495(_0x1feaae);_0x1feaae[_0x46c205(0x368)]&&_0x1d0bf1['on'](_0x46c205(0x368),()=>{_0x2681b7(_0x496061,_0x1d0bf1,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1d0bf1['on'](_0x46c205(0x2db),_0x3d3a84=>{const _0x5d5be3=_0x46c205;_0x1d0bf1===null||_0x1d0bf1[_0x2cf94a]||(_0x1d0bf1=_0x496061[_0x5d5be3(0x335)]=null,_0x414d94(_0x496061,_0x3d3a84));}),_0x1d0bf1['on']('response',_0x45b74d=>{const _0x56a4d8=_0x46c205,_0x32b712=_0x45b74d[_0x56a4d8(0x334)][_0x56a4d8(0x35f)],_0x9cd01e=_0x45b74d[_0x56a4d8(0x353)];if(_0x32b712&&_0x1feaae['followRedirects']&&_0x9cd01e>=0x12c&&_0x9cd01e<0x190){if(++_0x496061[_0x56a4d8(0x2c5)]>_0x1feaae[_0x56a4d8(0x1ea)]){_0x2681b7(_0x496061,_0x1d0bf1,_0x56a4d8(0x355));return;}_0x1d0bf1[_0x56a4d8(0x305)]();let _0x202d00;try{_0x202d00=new _0x59abcd(_0x32b712,_0x4b1d51);}catch{const _0x2905cf=new SyntaxError(_0x56a4d8(0x298)+_0x32b712);_0x414d94(_0x496061,_0x2905cf);return;}_0x135b8a(_0x496061,_0x202d00,_0x110dbd,_0x12153b);}else _0x496061[_0x56a4d8(0x1c5)](_0x56a4d8(0x257),_0x1d0bf1,_0x45b74d)||_0x2681b7(_0x496061,_0x1d0bf1,_0x56a4d8(0x252)+_0x45b74d[_0x56a4d8(0x353)]);}),_0x1d0bf1['on']('upgrade',(_0x57dcc9,_0x1374c3,_0x422ecc)=>{const _0x20dd2a=_0x46c205;if(_0x496061['emit'](_0x20dd2a(0x251),_0x57dcc9),_0x496061[_0x20dd2a(0x319)]!==_0x701473[_0x20dd2a(0x235)])return;_0x1d0bf1=_0x496061[_0x20dd2a(0x335)]=null;const _0x310577=_0x57dcc9['headers'][_0x20dd2a(0x251)];if(_0x310577===void 0x0||_0x310577['toLowerCase']()!==_0x20dd2a(0x2ae)){_0x2681b7(_0x496061,_0x1374c3,_0x20dd2a(0x35e));return;}const _0xa855c0=_0x1244ab(_0x20dd2a(0x227))[_0x20dd2a(0x288)](_0x2058c0+_0x725133)[_0x20dd2a(0x224)]('base64');if(_0x57dcc9[_0x20dd2a(0x334)][_0x20dd2a(0x2eb)]!==_0xa855c0){_0x2681b7(_0x496061,_0x1374c3,_0x20dd2a(0x25c));return;}const _0x3bb7f2=_0x57dcc9['headers'][_0x20dd2a(0x1bd)];let _0x6c6970;if(_0x3bb7f2!==void 0x0?_0x196932[_0x20dd2a(0x2b2)]?_0x196932[_0x20dd2a(0x32c)](_0x3bb7f2)||(_0x6c6970='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x6c6970=_0x20dd2a(0x285):_0x196932['size']&&(_0x6c6970=_0x20dd2a(0x230)),_0x6c6970){_0x2681b7(_0x496061,_0x1374c3,_0x6c6970);return;}_0x3bb7f2&&(_0x496061['_protocol']=_0x3bb7f2);const _0x34b276=_0x57dcc9['headers'][_0x20dd2a(0x1ca)];if(_0x34b276!==void 0x0){if(!_0x31b3b9){_0x2681b7(_0x496061,_0x1374c3,_0x20dd2a(0x22e));return;}let _0x1a803f;try{_0x1a803f=_0x15c9ac(_0x34b276);}catch{_0x2681b7(_0x496061,_0x1374c3,_0x20dd2a(0x1ff));return;}const _0x349370=Object[_0x20dd2a(0x345)](_0x1a803f);if(_0x349370['length']!==0x1||_0x349370[0x0]!==_0x2c4d7e[_0x20dd2a(0x36d)]){_0x2681b7(_0x496061,_0x1374c3,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x31b3b9['accept'](_0x1a803f[_0x2c4d7e[_0x20dd2a(0x36d)]]);}catch{_0x2681b7(_0x496061,_0x1374c3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x496061[_0x20dd2a(0x258)][_0x2c4d7e[_0x20dd2a(0x36d)]]=_0x31b3b9;}_0x496061[_0x20dd2a(0x216)](_0x1374c3,_0x422ecc,{'allowSynchronousEvents':_0x1feaae[_0x20dd2a(0x236)],'generateMask':_0x1feaae[_0x20dd2a(0x234)],'maxPayload':_0x1feaae[_0x20dd2a(0x1e2)],'skipUTF8Validation':_0x1feaae[_0x20dd2a(0x289)]});}),_0x1feaae[_0x46c205(0x23b)]?_0x1feaae[_0x46c205(0x23b)](_0x1d0bf1,_0x496061):_0x1d0bf1['end']();}function _0x414d94(_0x3376ac,_0x547e60){const _0x12620b=_0x3f095a;_0x3376ac[_0x12620b(0x337)]=_0x701473[_0x12620b(0x256)],_0x3376ac[_0x12620b(0x27f)]=!0x0,_0x3376ac['emit']('error',_0x547e60),_0x3376ac[_0x12620b(0x356)]();}function _0x39ae5e(_0x46a341){const _0x35b536=_0x3f095a;return _0x46a341[_0x35b536(0x2a8)]=_0x46a341[_0x35b536(0x32a)],_0x207d09[_0x35b536(0x30c)](_0x46a341);}function _0x63b49d(_0x5e188d){const _0x479902=_0x3f095a;return _0x5e188d[_0x479902(0x2a8)]=void 0x0,!_0x5e188d['servername']&&_0x5e188d[_0x479902(0x2d2)]!==''&&(_0x5e188d[_0x479902(0x2d2)]=_0x207d09[_0x479902(0x1cb)](_0x5e188d[_0x479902(0x312)])?'':_0x5e188d['host']),_0x16b160['connect'](_0x5e188d);}function _0x2681b7(_0x35a8d3,_0x1b4cf9,_0x1addba){const _0x1f2556=_0x3f095a;_0x35a8d3[_0x1f2556(0x337)]=_0x701473[_0x1f2556(0x256)];const _0x407d58=new Error(_0x1addba);Error['captureStackTrace'](_0x407d58,_0x2681b7),_0x1b4cf9[_0x1f2556(0x1f0)]?(_0x1b4cf9[_0x2cf94a]=!0x0,_0x1b4cf9[_0x1f2556(0x305)](),_0x1b4cf9[_0x1f2556(0x1d5)]&&!_0x1b4cf9['socket'][_0x1f2556(0x34a)]&&_0x1b4cf9[_0x1f2556(0x1d5)]['destroy'](),process[_0x1f2556(0x2e9)](_0x414d94,_0x35a8d3,_0x407d58)):(_0x1b4cf9[_0x1f2556(0x2af)](_0x407d58),_0x1b4cf9['once'](_0x1f2556(0x2db),_0x35a8d3[_0x1f2556(0x1c5)]['bind'](_0x35a8d3,_0x1f2556(0x2db))),_0x1b4cf9[_0x1f2556(0x249)]('close',_0x35a8d3[_0x1f2556(0x356)][_0x1f2556(0x293)](_0x35a8d3)));}function _0x83517e(_0x2a8c64,_0x5d3b8f,_0x49a4bb){const _0x1be178=_0x3f095a;if(_0x5d3b8f){const _0x481e2b=_0x149856(_0x5d3b8f)?_0x5d3b8f[_0x1be178(0x2b2)]:_0x32c757(_0x5d3b8f)[_0x1be178(0x245)];_0x2a8c64[_0x1be178(0x1e3)]?_0x2a8c64[_0x1be178(0x364)][_0x1be178(0x226)]+=_0x481e2b:_0x2a8c64[_0x1be178(0x2f7)]+=_0x481e2b;}if(_0x49a4bb){const _0x1c9c8d=new Error(_0x1be178(0x262)+_0x2a8c64[_0x1be178(0x319)]+'\x20('+_0xb188c1[_0x2a8c64[_0x1be178(0x319)]]+')');process['nextTick'](_0x49a4bb,_0x1c9c8d);}}function _0x328fd9(_0xd73e86,_0x759395){const _0x2981eb=_0x3f095a,_0x4b88e7=this[_0x478420];_0x4b88e7[_0x2981eb(0x332)]=!0x0,_0x4b88e7[_0x2981eb(0x29b)]=_0x759395,_0x4b88e7[_0x2981eb(0x363)]=_0xd73e86,_0x4b88e7['_socket'][_0x478420]!==void 0x0&&(_0x4b88e7[_0x2981eb(0x1e3)]['removeListener'](_0x2981eb(0x246),_0x45f8b9),process[_0x2981eb(0x2e9)](_0x3e4744,_0x4b88e7[_0x2981eb(0x1e3)]),_0xd73e86===0x3ed?_0x4b88e7[_0x2981eb(0x37c)]():_0x4b88e7[_0x2981eb(0x37c)](_0xd73e86,_0x759395));}function _0x2050f1(){const _0x5f40c3=_0x3f095a,_0x429e60=this[_0x478420];_0x429e60[_0x5f40c3(0x28c)]||_0x429e60[_0x5f40c3(0x1e3)][_0x5f40c3(0x255)]();}function _0x4b5f7b(_0x1dd723){const _0x298ca5=_0x3f095a,_0x4aff97=this[_0x478420];_0x4aff97[_0x298ca5(0x1e3)][_0x478420]!==void 0x0&&(_0x4aff97[_0x298ca5(0x1e3)][_0x298ca5(0x2b3)](_0x298ca5(0x246),_0x45f8b9),process['nextTick'](_0x3e4744,_0x4aff97[_0x298ca5(0x1e3)]),_0x4aff97[_0x298ca5(0x37c)](_0x1dd723[_0x4a87d0])),_0x4aff97[_0x298ca5(0x27f)]||(_0x4aff97[_0x298ca5(0x27f)]=!0x0,_0x4aff97[_0x298ca5(0x1c5)]('error',_0x1dd723));}function _0x4eb0f2(){const _0x17539a=_0x3f095a;this[_0x478420][_0x17539a(0x356)]();}function _0x2a683f(_0x53180b,_0x453f5e){const _0x5905a7=_0x3f095a;this[_0x478420][_0x5905a7(0x1c5)](_0x5905a7(0x239),_0x53180b,_0x453f5e);}function _0x34fbe3(_0xd5f45b){const _0x74e773=_0x3f095a,_0x19b921=this[_0x478420];_0x19b921[_0x74e773(0x1fe)]&&_0x19b921[_0x74e773(0x210)](_0xd5f45b,!this[_0x74e773(0x376)],_0x37c9a9),_0x19b921[_0x74e773(0x1c5)]('ping',_0xd5f45b);}function _0x20b65c(_0x575f2d){const _0x5895db=_0x3f095a;this[_0x478420][_0x5895db(0x1c5)]('pong',_0x575f2d);}function _0x3e4744(_0x35f1c5){const _0x162e4d=_0x3f095a;_0x35f1c5[_0x162e4d(0x255)]();}function _0x50d23f(_0x2c6daf){const _0x409bc2=_0x3f095a,_0x584a47=this[_0x478420];_0x584a47[_0x409bc2(0x319)]!==_0x701473['CLOSED']&&(_0x584a47[_0x409bc2(0x319)]===_0x701473[_0x409bc2(0x1ef)]&&(_0x584a47['_readyState']=_0x701473[_0x409bc2(0x256)],_0x2a483e(_0x584a47)),this['_socket'][_0x409bc2(0x2e3)](),_0x584a47['_errorEmitted']||(_0x584a47[_0x409bc2(0x27f)]=!0x0,_0x584a47[_0x409bc2(0x1c5)](_0x409bc2(0x2db),_0x2c6daf)));}function _0x2a483e(_0x4ef6d2){const _0x4d2781=_0x3f095a;_0x4ef6d2[_0x4d2781(0x324)]=setTimeout(_0x4ef6d2[_0x4d2781(0x1e3)][_0x4d2781(0x2af)][_0x4d2781(0x293)](_0x4ef6d2[_0x4d2781(0x1e3)]),_0x561d27);}function _0x4bd41f(){const _0x11c5b6=_0x3f095a,_0x1ea6a7=this[_0x478420];this[_0x11c5b6(0x2b3)](_0x11c5b6(0x37c),_0x4bd41f),this[_0x11c5b6(0x2b3)]('data',_0x45f8b9),this[_0x11c5b6(0x2b3)](_0x11c5b6(0x2e3),_0x326c5c),_0x1ea6a7[_0x11c5b6(0x337)]=_0x701473[_0x11c5b6(0x256)];let _0x7101d6;!this[_0x11c5b6(0x1f1)][_0x11c5b6(0x1dd)]&&!_0x1ea6a7['_closeFrameReceived']&&!_0x1ea6a7[_0x11c5b6(0x240)]['_writableState']['errorEmitted']&&(_0x7101d6=_0x1ea6a7[_0x11c5b6(0x1e3)]['read']())!==null&&_0x1ea6a7[_0x11c5b6(0x240)][_0x11c5b6(0x1ce)](_0x7101d6),_0x1ea6a7[_0x11c5b6(0x240)][_0x11c5b6(0x2e3)](),this[_0x478420]=void 0x0,clearTimeout(_0x1ea6a7[_0x11c5b6(0x324)]),_0x1ea6a7[_0x11c5b6(0x240)][_0x11c5b6(0x2ea)]['finished']||_0x1ea6a7['_receiver'][_0x11c5b6(0x2ea)]['errorEmitted']?_0x1ea6a7[_0x11c5b6(0x356)]():(_0x1ea6a7[_0x11c5b6(0x240)]['on']('error',_0x4eb0f2),_0x1ea6a7['_receiver']['on'](_0x11c5b6(0x2e1),_0x4eb0f2));}function _0x45f8b9(_0x3caa3b){const _0x3a5c2f=_0x3f095a;this[_0x478420][_0x3a5c2f(0x240)]['write'](_0x3caa3b)||this['pause']();}function _0x326c5c(){const _0x1b5e14=_0x3f095a,_0x4e427a=this[_0x478420];_0x4e427a[_0x1b5e14(0x337)]=_0x701473['CLOSING'],_0x4e427a[_0x1b5e14(0x240)][_0x1b5e14(0x2e3)](),this[_0x1b5e14(0x2e3)]();}function _0x2f291d(){const _0x569f7e=_0x3f095a,_0x1c8031=this[_0x478420];this['removeListener'](_0x569f7e(0x2db),_0x2f291d),this['on'](_0x569f7e(0x2db),_0x37c9a9),_0x1c8031&&(_0x1c8031['_readyState']=_0x701473[_0x569f7e(0x256)],this[_0x569f7e(0x2af)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2b7f77}=oe;function _0x2fe3c6(_0x517b52){const _0x5e3086=_0x7a81;_0x517b52[_0x5e3086(0x1c5)]('close');}function _0x3362fd(){const _0x2ffb27=_0x7a81;!this[_0x2ffb27(0x34a)]&&this['_writableState'][_0x2ffb27(0x28b)]&&this['destroy']();}function _0x2884f8(_0x527649){const _0x42d0ff=_0x7a81;this[_0x42d0ff(0x2b3)]('error',_0x2884f8),this['destroy'](),this[_0x42d0ff(0x31d)](_0x42d0ff(0x2db))===0x0&&this[_0x42d0ff(0x1c5)]('error',_0x527649);}function _0x315514(_0x21a1a6,_0x3e7c80){const _0x191392=_0x7a81;let _0x3d6d77=!0x0;const _0x81883d=new _0x2b7f77({..._0x3e7c80,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x21a1a6['on'](_0x191392(0x239),function(_0x3a4ad5,_0x5e919f){const _0xef328c=_0x191392,_0x334220=!_0x5e919f&&_0x81883d[_0xef328c(0x1f1)][_0xef328c(0x24d)]?_0x3a4ad5['toString']():_0x3a4ad5;_0x81883d[_0xef328c(0x21f)](_0x334220)||_0x21a1a6[_0xef328c(0x1cf)]();}),_0x21a1a6['once'](_0x191392(0x2db),function(_0x4c14f6){const _0x216cc7=_0x191392;_0x81883d[_0x216cc7(0x34a)]||(_0x3d6d77=!0x1,_0x81883d[_0x216cc7(0x2af)](_0x4c14f6));}),_0x21a1a6['once'](_0x191392(0x37c),function(){_0x81883d['destroyed']||_0x81883d['push'](null);}),_0x81883d['_destroy']=function(_0x22e97b,_0x2e55a4){const _0x2933dc=_0x191392;if(_0x21a1a6[_0x2933dc(0x319)]===_0x21a1a6[_0x2933dc(0x27a)]){_0x2e55a4(_0x22e97b),process[_0x2933dc(0x2e9)](_0x2fe3c6,_0x81883d);return;}let _0x47bdd3=!0x1;_0x21a1a6[_0x2933dc(0x249)](_0x2933dc(0x2db),function(_0x6d073){_0x47bdd3=!0x0,_0x2e55a4(_0x6d073);}),_0x21a1a6['once'](_0x2933dc(0x37c),function(){const _0x2b315e=_0x2933dc;_0x47bdd3||_0x2e55a4(_0x22e97b),process[_0x2b315e(0x2e9)](_0x2fe3c6,_0x81883d);}),_0x3d6d77&&_0x21a1a6[_0x2933dc(0x294)]();},_0x81883d[_0x191392(0x225)]=function(_0x177962){const _0x1dded3=_0x191392;if(_0x21a1a6[_0x1dded3(0x319)]===_0x21a1a6['CONNECTING']){_0x21a1a6[_0x1dded3(0x249)](_0x1dded3(0x327),function(){_0x81883d['_final'](_0x177962);});return;}_0x21a1a6[_0x1dded3(0x1e3)]!==null&&(_0x21a1a6[_0x1dded3(0x1e3)][_0x1dded3(0x2ea)][_0x1dded3(0x28b)]?(_0x177962(),_0x81883d[_0x1dded3(0x1f1)][_0x1dded3(0x1dd)]&&_0x81883d[_0x1dded3(0x2af)]()):(_0x21a1a6[_0x1dded3(0x1e3)]['once']('finish',function(){_0x177962();}),_0x21a1a6[_0x1dded3(0x37c)]()));},_0x81883d[_0x191392(0x2ef)]=function(){const _0x4e2470=_0x191392;_0x21a1a6[_0x4e2470(0x28c)]&&_0x21a1a6[_0x4e2470(0x255)]();},_0x81883d[_0x191392(0x219)]=function(_0x33ba73,_0x4e6ab6,_0x45baa9){const _0x56df96=_0x191392;if(_0x21a1a6['readyState']===_0x21a1a6[_0x56df96(0x235)]){_0x21a1a6[_0x56df96(0x249)]('open',function(){const _0x1716c9=_0x56df96;_0x81883d[_0x1716c9(0x219)](_0x33ba73,_0x4e6ab6,_0x45baa9);});return;}_0x21a1a6[_0x56df96(0x31a)](_0x33ba73,_0x45baa9);},_0x81883d['on'](_0x191392(0x2e3),_0x3362fd),_0x81883d['on'](_0x191392(0x2db),_0x2884f8),_0x81883d;}return Oe=_0x315514,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x8d9d67}=ae();function _0xf4135e(_0x110b67){const _0x391af8=_0x7a81,_0xd6f5db=new Set();let _0x2f2dc0=-0x1,_0xa0ea66=-0x1,_0x5156f9=0x0;for(_0x5156f9;_0x5156f9<_0x110b67[_0x391af8(0x245)];_0x5156f9++){const _0xbada9f=_0x110b67[_0x391af8(0x1fb)](_0x5156f9);if(_0xa0ea66===-0x1&&_0x8d9d67[_0xbada9f]===0x1)_0x2f2dc0===-0x1&&(_0x2f2dc0=_0x5156f9);else{if(_0x5156f9!==0x0&&(_0xbada9f===0x20||_0xbada9f===0x9))_0xa0ea66===-0x1&&_0x2f2dc0!==-0x1&&(_0xa0ea66=_0x5156f9);else{if(_0xbada9f===0x2c){if(_0x2f2dc0===-0x1)throw new SyntaxError(_0x391af8(0x1f3)+_0x5156f9);_0xa0ea66===-0x1&&(_0xa0ea66=_0x5156f9);const _0x18c25f=_0x110b67[_0x391af8(0x287)](_0x2f2dc0,_0xa0ea66);if(_0xd6f5db[_0x391af8(0x32c)](_0x18c25f))throw new SyntaxError(_0x391af8(0x26c)+_0x18c25f+'\x22\x20subprotocol\x20is\x20duplicated');_0xd6f5db[_0x391af8(0x2d0)](_0x18c25f),_0x2f2dc0=_0xa0ea66=-0x1;}else throw new SyntaxError(_0x391af8(0x1f3)+_0x5156f9);}}}if(_0x2f2dc0===-0x1||_0xa0ea66!==-0x1)throw new SyntaxError(_0x391af8(0x30d));const _0x5ef572=_0x110b67[_0x391af8(0x287)](_0x2f2dc0,_0x5156f9);if(_0xd6f5db[_0x391af8(0x32c)](_0x5ef572))throw new SyntaxError(_0x391af8(0x26c)+_0x5ef572+_0x391af8(0x341));return _0xd6f5db[_0x391af8(0x2d0)](_0x5ef572),_0xd6f5db;}return Ce={'parse':_0xf4135e},Ce;}var Te,rt;function Ft(){const _0x20a4f2=_0x495098;if(rt)return Te;rt=0x1;const _0x562c71=nt,_0xd368e0=ot,{Duplex:_0x1e1874}=oe,{createHash:_0x102731}=Le,_0x4f5fb7=ct(),_0x10de4e=he(),_0xfe9ea3=At(),_0x2655ab=Pe(),{GUID:_0x45838c,kWebSocket:_0x1a70eb}=H(),_0x40b55b=/^[+/0-9A-Za-z]{22}==$/,_0x48820b=0x0,_0x4dc602=0x1,_0x5944e9=0x2;class _0x2d0a81 extends _0x562c71{constructor(_0x5afd73,_0x550340){const _0x30c61c=_0x7a81;if(super(),_0x5afd73={'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':_0x2655ab,..._0x5afd73},_0x5afd73['port']==null&&!_0x5afd73['server']&&!_0x5afd73['noServer']||_0x5afd73[_0x30c61c(0x358)]!=null&&(_0x5afd73[_0x30c61c(0x242)]||_0x5afd73[_0x30c61c(0x1d8)])||_0x5afd73[_0x30c61c(0x242)]&&_0x5afd73[_0x30c61c(0x1d8)])throw new TypeError(_0x30c61c(0x2c9));if(_0x5afd73[_0x30c61c(0x358)]!=null?(this[_0x30c61c(0x243)]=_0xd368e0[_0x30c61c(0x370)]((_0x20225f,_0x407e9d)=>{const _0x333af2=_0x30c61c,_0xe74c47=_0xd368e0[_0x333af2(0x373)][0x1aa];_0x407e9d[_0x333af2(0x2c8)](0x1aa,{'Content-Length':_0xe74c47[_0x333af2(0x245)],'Content-Type':_0x333af2(0x27e)}),_0x407e9d[_0x333af2(0x2e3)](_0xe74c47);}),this['_server'][_0x30c61c(0x2f2)](_0x5afd73['port'],_0x5afd73['host'],_0x5afd73[_0x30c61c(0x338)],_0x550340)):_0x5afd73[_0x30c61c(0x242)]&&(this[_0x30c61c(0x243)]=_0x5afd73[_0x30c61c(0x242)]),this[_0x30c61c(0x243)]){const _0x4427ff=this[_0x30c61c(0x1c5)]['bind'](this,'connection');this[_0x30c61c(0x316)]=_0x4634d4(this[_0x30c61c(0x243)],{'listening':this[_0x30c61c(0x1c5)]['bind'](this,_0x30c61c(0x1c0)),'error':this['emit'][_0x30c61c(0x293)](this,'error'),'upgrade':(_0x1b437b,_0xa54904,_0x43caf6)=>{const _0xd54494=_0x30c61c;this[_0xd54494(0x1f5)](_0x1b437b,_0xa54904,_0x43caf6,_0x4427ff);}});}_0x5afd73[_0x30c61c(0x32e)]===!0x0&&(_0x5afd73[_0x30c61c(0x32e)]={}),_0x5afd73['clientTracking']&&(this['clients']=new Set(),this[_0x30c61c(0x30e)]=!0x1),this[_0x30c61c(0x2bb)]=_0x5afd73,this[_0x30c61c(0x310)]=_0x48820b;}['address'](){const _0x413cb8=_0x7a81;if(this['options'][_0x413cb8(0x1d8)])throw new Error(_0x413cb8(0x31b));return this['_server']?this[_0x413cb8(0x243)][_0x413cb8(0x2d7)]():null;}[_0x20a4f2(0x37c)](_0x3de1a2){const _0x3d9163=_0x20a4f2;if(this[_0x3d9163(0x310)]===_0x5944e9){_0x3de1a2&&this['once'](_0x3d9163(0x37c),()=>{const _0x1e44cc=_0x3d9163;_0x3de1a2(new Error(_0x1e44cc(0x2ce)));}),process[_0x3d9163(0x2e9)](_0x9e2336,this);return;}if(_0x3de1a2&&this[_0x3d9163(0x249)]('close',_0x3de1a2),this[_0x3d9163(0x310)]!==_0x4dc602){if(this['_state']=_0x4dc602,this[_0x3d9163(0x2bb)][_0x3d9163(0x1d8)]||this[_0x3d9163(0x2bb)][_0x3d9163(0x242)])this[_0x3d9163(0x243)]&&(this[_0x3d9163(0x316)](),this[_0x3d9163(0x316)]=this['_server']=null),this[_0x3d9163(0x2e8)]?this[_0x3d9163(0x2e8)][_0x3d9163(0x2b2)]?this[_0x3d9163(0x30e)]=!0x0:process['nextTick'](_0x9e2336,this):process[_0x3d9163(0x2e9)](_0x9e2336,this);else{const _0x2b2abe=this[_0x3d9163(0x243)];this[_0x3d9163(0x316)](),this[_0x3d9163(0x316)]=this[_0x3d9163(0x243)]=null,_0x2b2abe[_0x3d9163(0x37c)](()=>{_0x9e2336(this);});}}}[_0x20a4f2(0x215)](_0x30088a){const _0x21b743=_0x20a4f2;if(this[_0x21b743(0x2bb)][_0x21b743(0x2a8)]){const _0x340e8f=_0x30088a[_0x21b743(0x220)][_0x21b743(0x23a)]('?');if((_0x340e8f!==-0x1?_0x30088a[_0x21b743(0x220)][_0x21b743(0x287)](0x0,_0x340e8f):_0x30088a['url'])!==this[_0x21b743(0x2bb)][_0x21b743(0x2a8)])return!0x1;}return!0x0;}[_0x20a4f2(0x1f5)](_0x1dc740,_0x199078,_0x6a0c6d,_0x1e1183){const _0x1c044e=_0x20a4f2;_0x199078['on']('error',_0x42d2c1);const _0x382367=_0x1dc740['headers'][_0x1c044e(0x1c4)],_0x8b77d5=_0x1dc740['headers'][_0x1c044e(0x251)],_0xf1faa1=+_0x1dc740['headers']['sec-websocket-version'];if(_0x1dc740['method']!==_0x1c044e(0x232)){_0x550213(this,_0x1dc740,_0x199078,0x195,_0x1c044e(0x260));return;}if(_0x8b77d5===void 0x0||_0x8b77d5[_0x1c044e(0x23d)]()!=='websocket'){_0x550213(this,_0x1dc740,_0x199078,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x382367===void 0x0||!_0x40b55b[_0x1c044e(0x1c8)](_0x382367)){_0x550213(this,_0x1dc740,_0x199078,0x190,_0x1c044e(0x259));return;}if(_0xf1faa1!==0xd&&_0xf1faa1!==0x8){_0x550213(this,_0x1dc740,_0x199078,0x190,_0x1c044e(0x315),{'Sec-WebSocket-Version':_0x1c044e(0x28d)});return;}if(!this[_0x1c044e(0x215)](_0x1dc740)){_0x37676f(_0x199078,0x190);return;}const _0x1f6d95=_0x1dc740[_0x1c044e(0x334)][_0x1c044e(0x1bd)];let _0x25d0b9=new Set();if(_0x1f6d95!==void 0x0)try{_0x25d0b9=_0xfe9ea3[_0x1c044e(0x209)](_0x1f6d95);}catch{_0x550213(this,_0x1dc740,_0x199078,0x190,_0x1c044e(0x283));return;}const _0x2e24e3=_0x1dc740[_0x1c044e(0x334)][_0x1c044e(0x1ca)],_0x91cfc2={};if(this[_0x1c044e(0x2bb)][_0x1c044e(0x32e)]&&_0x2e24e3!==void 0x0){const _0x348251=new _0x10de4e(this[_0x1c044e(0x2bb)]['perMessageDeflate'],!0x0,this[_0x1c044e(0x2bb)]['maxPayload']);try{const _0x40e80e=_0x4f5fb7[_0x1c044e(0x209)](_0x2e24e3);_0x40e80e[_0x10de4e[_0x1c044e(0x36d)]]&&(_0x348251[_0x1c044e(0x27b)](_0x40e80e[_0x10de4e[_0x1c044e(0x36d)]]),_0x91cfc2[_0x10de4e[_0x1c044e(0x36d)]]=_0x348251);}catch{_0x550213(this,_0x1dc740,_0x199078,0x190,_0x1c044e(0x1e9));return;}}if(this[_0x1c044e(0x2bb)][_0x1c044e(0x295)]){const _0x4da87d={'origin':_0x1dc740[_0x1c044e(0x334)][''+(_0xf1faa1===0x8?_0x1c044e(0x2a7):'origin')],'secure':!!(_0x1dc740[_0x1c044e(0x1d5)][_0x1c044e(0x271)]||_0x1dc740[_0x1c044e(0x1d5)][_0x1c044e(0x2e5)]),'req':_0x1dc740};if(this[_0x1c044e(0x2bb)][_0x1c044e(0x295)][_0x1c044e(0x245)]===0x2){this['options'][_0x1c044e(0x295)](_0x4da87d,(_0x548c4b,_0x48e3e8,_0x1db61a,_0x6466c6)=>{const _0x5bcb29=_0x1c044e;if(!_0x548c4b)return _0x37676f(_0x199078,_0x48e3e8||0x191,_0x1db61a,_0x6466c6);this[_0x5bcb29(0x2c1)](_0x91cfc2,_0x382367,_0x25d0b9,_0x1dc740,_0x199078,_0x6a0c6d,_0x1e1183);});return;}if(!this[_0x1c044e(0x2bb)][_0x1c044e(0x295)](_0x4da87d))return _0x37676f(_0x199078,0x191);}this[_0x1c044e(0x2c1)](_0x91cfc2,_0x382367,_0x25d0b9,_0x1dc740,_0x199078,_0x6a0c6d,_0x1e1183);}['completeUpgrade'](_0x165eeb,_0x1536eb,_0x541870,_0x27c7e7,_0x5b916b,_0xe741bf,_0x2caf1d){const _0x25d4ce=_0x20a4f2;if(!_0x5b916b[_0x25d4ce(0x2fd)]||!_0x5b916b[_0x25d4ce(0x1be)])return _0x5b916b[_0x25d4ce(0x2af)]();if(_0x5b916b[_0x1a70eb])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x25d4ce(0x310)]>_0x48820b)return _0x37676f(_0x5b916b,0x1f7);const _0x56e9d1=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x25d4ce(0x22d),_0x25d4ce(0x21c),'Sec-WebSocket-Accept:\x20'+_0x102731(_0x25d4ce(0x227))[_0x25d4ce(0x288)](_0x1536eb+_0x45838c)[_0x25d4ce(0x224)](_0x25d4ce(0x244))],_0x385710=new this[(_0x25d4ce(0x2bb))][(_0x25d4ce(0x347))](null,void 0x0,this[_0x25d4ce(0x2bb)]);if(_0x541870['size']){const _0x69a7a0=this[_0x25d4ce(0x2bb)]['handleProtocols']?this[_0x25d4ce(0x2bb)][_0x25d4ce(0x201)](_0x541870,_0x27c7e7):_0x541870['values']()[_0x25d4ce(0x2e2)]()['value'];_0x69a7a0&&(_0x56e9d1[_0x25d4ce(0x21f)](_0x25d4ce(0x30a)+_0x69a7a0),_0x385710['_protocol']=_0x69a7a0);}if(_0x165eeb[_0x10de4e['extensionName']]){const _0xf8ff09=_0x165eeb[_0x10de4e[_0x25d4ce(0x36d)]][_0x25d4ce(0x263)],_0x3a8aad=_0x4f5fb7[_0x25d4ce(0x369)]({[_0x10de4e[_0x25d4ce(0x36d)]]:[_0xf8ff09]});_0x56e9d1[_0x25d4ce(0x21f)]('Sec-WebSocket-Extensions:\x20'+_0x3a8aad),_0x385710[_0x25d4ce(0x258)]=_0x165eeb;}this[_0x25d4ce(0x1c5)](_0x25d4ce(0x334),_0x56e9d1,_0x27c7e7),_0x5b916b[_0x25d4ce(0x1ce)](_0x56e9d1[_0x25d4ce(0x29c)]('\x0d\x0a')[_0x25d4ce(0x20e)]('\x0d\x0a')),_0x5b916b[_0x25d4ce(0x2b3)](_0x25d4ce(0x2db),_0x42d2c1),_0x385710['setSocket'](_0x5b916b,_0xe741bf,{'allowSynchronousEvents':this[_0x25d4ce(0x2bb)][_0x25d4ce(0x236)],'maxPayload':this[_0x25d4ce(0x2bb)][_0x25d4ce(0x1e2)],'skipUTF8Validation':this[_0x25d4ce(0x2bb)]['skipUTF8Validation']}),this[_0x25d4ce(0x2e8)]&&(this[_0x25d4ce(0x2e8)]['add'](_0x385710),_0x385710['on']('close',()=>{const _0x59caed=_0x25d4ce;this[_0x59caed(0x2e8)][_0x59caed(0x1f9)](_0x385710),this['_shouldEmitClose']&&!this[_0x59caed(0x2e8)][_0x59caed(0x2b2)]&&process[_0x59caed(0x2e9)](_0x9e2336,this);})),_0x2caf1d(_0x385710,_0x27c7e7);}}Te=_0x2d0a81;function _0x4634d4(_0x3ef3cb,_0x3c9bf5){const _0x390c70=_0x20a4f2;for(const _0x44b275 of Object[_0x390c70(0x345)](_0x3c9bf5))_0x3ef3cb['on'](_0x44b275,_0x3c9bf5[_0x44b275]);return function(){const _0x4b06c9=_0x390c70;for(const _0x2f00f3 of Object[_0x4b06c9(0x345)](_0x3c9bf5))_0x3ef3cb['removeListener'](_0x2f00f3,_0x3c9bf5[_0x2f00f3]);};}function _0x9e2336(_0x39081e){const _0x4ffd46=_0x20a4f2;_0x39081e[_0x4ffd46(0x310)]=_0x5944e9,_0x39081e['emit'](_0x4ffd46(0x37c));}function _0x42d2c1(){const _0x24fe03=_0x20a4f2;this[_0x24fe03(0x2af)]();}function _0x37676f(_0x39538f,_0x18388e,_0x36fe2f,_0x39e13e){const _0x4569f9=_0x20a4f2;_0x36fe2f=_0x36fe2f||_0xd368e0[_0x4569f9(0x373)][_0x18388e],_0x39e13e={'Connection':_0x4569f9(0x37c),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x36fe2f),..._0x39e13e},_0x39538f['once'](_0x4569f9(0x2e1),_0x39538f[_0x4569f9(0x2af)]),_0x39538f[_0x4569f9(0x2e3)]('HTTP/1.1\x20'+_0x18388e+'\x20'+_0xd368e0[_0x4569f9(0x373)][_0x18388e]+'\x0d\x0a'+Object[_0x4569f9(0x345)](_0x39e13e)['map'](_0x2e14a5=>_0x2e14a5+':\x20'+_0x39e13e[_0x2e14a5])[_0x4569f9(0x20e)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x36fe2f);}function _0x550213(_0x36de82,_0x37fcbd,_0x42fe5c,_0x4b3861,_0xd0005e,_0xcb0434){const _0x11b04b=_0x20a4f2;if(_0x36de82[_0x11b04b(0x31d)](_0x11b04b(0x25d))){const _0x13c4ab=new Error(_0xd0005e);Error[_0x11b04b(0x365)](_0x13c4ab,_0x550213),_0x36de82[_0x11b04b(0x1c5)]('wsClientError',_0x13c4ab,_0x42fe5c,_0x37fcbd);}else _0x37676f(_0x42fe5c,_0x4b3861,_0xd0005e,_0xcb0434);}return Te;}Ft();var jt=Object[_0x495098(0x2b1)],Wt=(_0x4eace4,_0x2b0c24,_0x2a5f3d,_0x2c9065)=>{const _0x1c07aa=_0x495098;for(var _0x29a064=_0x2c9065>0x1?void 0x0:_0x2c9065?jt(_0x2b0c24,_0x2a5f3d):_0x2b0c24,_0x4e5143=_0x4eace4[_0x1c07aa(0x245)]-0x1,_0x411817;_0x4e5143>=0x0;_0x4e5143--)(_0x411817=_0x4eace4[_0x4e5143])&&(_0x29a064=_0x411817(_0x29a064)||_0x29a064);return _0x29a064;},qt=(_0x3b1db2,_0x149a4b)=>(_0x2949dc,_0x3fa6f3)=>_0x149a4b(_0x2949dc,_0x3fa6f3,_0x3b1db2);let ke=class extends A[_0x495098(0x1d4)]{constructor(_0x43a01f){const _0x4676d8=_0x495098;super(),this[_0x4676d8(0x309)]=_0x43a01f;}[_0x495098(0x321)](_0x32ada5){const _0x412e01=_0x495098;var _0x4a19b0;const _0x505d30=(_0x4a19b0=this[_0x412e01(0x309)][_0x412e01(0x2be)](fe))==null?void 0x0:_0x4a19b0[_0x412e01(0x366)];try{const _0x179da5=new $t(_0x32ada5,{'headers':{..._0x505d30}}),_0x594a0d=new A[(_0x412e01(0x1fa))]();return{'URL':_0x32ada5,'close':(_0x564ced,_0x2da3c0)=>{const _0x2dc91a=_0x412e01;_0x179da5['close'](_0x564ced,_0x2da3c0),_0x594a0d[_0x2dc91a(0x286)]();},'send':_0x5b6ae0=>{const _0x1d213f=_0x412e01;_0x179da5[_0x1d213f(0x31a)](_0x5b6ae0);},'open$':new V[(_0x412e01(0x2dd))](_0x561f22=>{const _0x44947f=_0x412e01,_0x337e77=_0x563845=>_0x561f22[_0x44947f(0x2e2)](_0x563845);_0x179da5[_0x44947f(0x1c2)](_0x44947f(0x327),_0x337e77),_0x594a0d['add'](A['toDisposable'](()=>_0x179da5['removeEventListener'](_0x44947f(0x327),_0x337e77)));})[_0x412e01(0x22f)](V[_0x412e01(0x304)]()),'close$':new V['Observable'](_0x34f538=>{const _0x575166=_0x412e01,_0x2282a1=_0x21c00f=>_0x34f538[_0x575166(0x2e2)](_0x21c00f);_0x179da5[_0x575166(0x1c2)]('close',_0x2282a1),_0x594a0d[_0x575166(0x2d0)](A[_0x575166(0x367)](()=>_0x179da5[_0x575166(0x1c1)]('close',_0x2282a1)));})['pipe'](V[_0x412e01(0x304)]()),'error$':new V['Observable'](_0x5e306f=>{const _0x23a491=_0x412e01,_0x6a05f7=_0x2ee496=>_0x5e306f[_0x23a491(0x2e2)](_0x2ee496);_0x179da5[_0x23a491(0x1c2)](_0x23a491(0x2db),_0x6a05f7),_0x594a0d['add'](A['toDisposable'](()=>_0x179da5['removeEventListener'](_0x23a491(0x2db),_0x6a05f7)));})['pipe'](V[_0x412e01(0x304)]()),'message$':new V[(_0x412e01(0x2dd))](_0x36641c=>{const _0x81cdff=_0x412e01,_0xfece10=_0x539c15=>_0x36641c['next'](_0x539c15);_0x179da5[_0x81cdff(0x1c2)]('message',_0xfece10),_0x594a0d[_0x81cdff(0x2d0)](A['toDisposable'](()=>_0x179da5[_0x81cdff(0x1c1)](_0x81cdff(0x239),_0xfece10)));})[_0x412e01(0x22f)](V['share']())};}catch(_0x396497){return console['error'](_0x396497),null;}}};ke=Wt([qt(0x0,A[_0x495098(0x25f)])],ke);var Gt=Object[_0x495098(0x331)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x2627cc,_0x2f323c,_0x2b41b9)=>_0x2f323c in _0x2627cc?Gt(_0x2627cc,_0x2f323c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b41b9}):_0x2627cc[_0x2f323c]=_0x2b41b9,zt=(_0x1f1148,_0x5e0f6b,_0x45857b,_0x21344d)=>{const _0x191406=_0x495098;for(var _0x3582f0=_0x21344d>0x1?void 0x0:_0x21344d?Vt(_0x5e0f6b,_0x45857b):_0x5e0f6b,_0xef5e57=_0x1f1148[_0x191406(0x245)]-0x1,_0x390e43;_0xef5e57>=0x0;_0xef5e57--)(_0x390e43=_0x1f1148[_0xef5e57])&&(_0x3582f0=_0x390e43(_0x3582f0)||_0x3582f0);return _0x3582f0;},Ne=(_0x5189b5,_0x26d3e3)=>(_0x4fea7d,_0x197027)=>_0x26d3e3(_0x4fea7d,_0x197027,_0x5189b5),Yt=(_0x229bd6,_0x9ed034,_0x446b2b)=>Ht(_0x229bd6,_0x9ed034+'',_0x446b2b);exports[_0x495098(0x1f6)]=class extends A[_0x495098(0x328)]{constructor(_0x37d4af=Ct,_0x1f1faa,_0x31d496,_0x5466cc){const _0x409177=_0x495098;_0x37d4af[_0x409177(0x366)]||_0x1f1faa[_0x409177(0x1cd)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x409177(0x309)]=_0x31d496,this[_0x409177(0x2b0)]=_0x5466cc,this[_0x409177(0x309)][_0x409177(0x1d9)](fe,_0x37d4af);}[_0x495098(0x2e7)](){const _0x29ddaa=_0x495098;this[_0x29ddaa(0x2a2)]();}[_0x495098(0x2a2)](){const _0x231c27=_0x495098;A[_0x231c27(0x1e0)](this[_0x231c27(0x2b0)],[[it[_0x231c27(0x322)],{'useClass':ke}]]);}},Yt(exports[_0x495098(0x1f6)],_0x495098(0x267),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x495098(0x1f6)]=zt([A[_0x495098(0x29e)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x495098(0x292)]),Ne(0x2,A[_0x495098(0x25f)]),Ne(0x3,A['Inject'](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x495098(0x2b1)],Xt=(_0x3a22eb,_0x5ecba1,_0x385d9f,_0x54ad4d)=>{const _0xe7604e=_0x495098;for(var _0x49d56d=_0x54ad4d>0x1?void 0x0:_0x54ad4d?Kt(_0x5ecba1,_0x385d9f):_0x5ecba1,_0x237a0d=_0x3a22eb[_0xe7604e(0x245)]-0x1,_0x26cb91;_0x237a0d>=0x0;_0x237a0d--)(_0x26cb91=_0x3a22eb[_0x237a0d])&&(_0x49d56d=_0x26cb91(_0x49d56d)||_0x49d56d);return _0x49d56d;},ne=(_0x193eda,_0x391462)=>(_0x4af1e2,_0x2598e1)=>_0x391462(_0x4af1e2,_0x2598e1,_0x193eda);exports[_0x495098(0x306)]=class extends st['CollaborationSocketService']{constructor(_0x142dfa,_0x598819,_0x2be852,_0x4179fc,_0x860831){const _0x517703=_0x495098;super(_0x142dfa,_0x598819,_0x2be852,_0x4179fc,_0x860831);const _0x8b749c=this['_configService']['getConfig'](fe);this[_0x517703(0x2c7)]['registerHTTPInterceptor']({'interceptor':(_0x29dfd1,_0x3e909b)=>{const _0x3ea303=_0x517703;var _0xe47a2c;const _0x4e4946=_0x29dfd1[_0x3ea303(0x334)];return(_0xe47a2c=_0x8b749c==null?void 0x0:_0x8b749c[_0x3ea303(0x366)])!=null&&_0xe47a2c[_0x3ea303(0x33f)]&&_0x4e4946[_0x3ea303(0x348)](_0x3ea303(0x372),_0x8b749c[_0x3ea303(0x366)][_0x3ea303(0x33f)]),_0x3e909b(_0x29dfd1);}});}async[_0x495098(0x321)](_0x3e085a){const _0x2ae43a=_0x495098;return this[_0x2ae43a(0x254)](_0x3e085a);}},exports[_0x495098(0x306)]=Xt([ne(0x0,A[_0x495098(0x34e)](A['Injector'])),ne(0x1,A[_0x495098(0x34e)](it[_0x495098(0x2d9)])),ne(0x2,A[_0x495098(0x25f)]),ne(0x3,A[_0x495098(0x292)]),ne(0x4,Ot[_0x495098(0x2c0)])],exports[_0x495098(0x306)]),exports[_0x495098(0x32b)]=fe;
|
|
1
|
+
'use strict';const _0x589a17=_0x3d1f;(function(_0x542d45,_0x5a83c6){const _0x5f2ec0=_0x3d1f,_0x3d2d94=_0x542d45();while(!![]){try{const _0x135c6b=-parseInt(_0x5f2ec0(0x32b))/0x1+-parseInt(_0x5f2ec0(0x318))/0x2+-parseInt(_0x5f2ec0(0x1fb))/0x3+-parseInt(_0x5f2ec0(0x2d4))/0x4*(-parseInt(_0x5f2ec0(0x344))/0x5)+-parseInt(_0x5f2ec0(0x24e))/0x6+parseInt(_0x5f2ec0(0x29b))/0x7*(-parseInt(_0x5f2ec0(0x261))/0x8)+parseInt(_0x5f2ec0(0x23e))/0x9;if(_0x135c6b===_0x5a83c6)break;else _0x3d2d94['push'](_0x3d2d94['shift']());}catch(_0x43f224){_0x3d2d94['push'](_0x3d2d94['shift']());}}}(_0x3965,0xefc8b));Object[_0x589a17(0x198)](exports,Symbol[_0x589a17(0x1ee)],{'value':_0x589a17(0x24c)});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=_0x589a17(0x300),Ct={'customHeaders':{}};function Tt(_0x4d71cb){const _0xceb82f=_0x589a17;return _0x4d71cb&&_0x4d71cb[_0xceb82f(0x1e6)]&&Object[_0xceb82f(0x1f2)][_0xceb82f(0x1b9)][_0xceb82f(0x293)](_0x4d71cb,_0xceb82f(0x1ae))?_0x4d71cb[_0xceb82f(0x1ae)]:_0x4d71cb;}function at(_0x2c7db0){const _0x14757a=_0x589a17;if(Object['prototype'][_0x14757a(0x1b9)][_0x14757a(0x293)](_0x2c7db0,_0x14757a(0x1e6)))return _0x2c7db0;var _0x41d0d4=_0x2c7db0[_0x14757a(0x1ae)];if(typeof _0x41d0d4=='function'){var _0x507f1d=function _0x10e28b(){const _0x179d11=_0x14757a;var _0x36a103=!0x1;try{_0x36a103=this instanceof _0x10e28b;}catch{}return _0x36a103?Reflect[_0x179d11(0x22d)](_0x41d0d4,arguments,this[_0x179d11(0x2ac)]):_0x41d0d4[_0x179d11(0x306)](this,arguments);};_0x507f1d[_0x14757a(0x1f2)]=_0x41d0d4[_0x14757a(0x1f2)];}else _0x507f1d={};return Object[_0x14757a(0x198)](_0x507f1d,_0x14757a(0x1e6),{'value':!0x0}),Object[_0x14757a(0x19e)](_0x2c7db0)[_0x14757a(0x25b)](function(_0x39493f){const _0x3b488f=_0x14757a;var _0x32d52b=Object[_0x3b488f(0x18d)](_0x2c7db0,_0x39493f);Object[_0x3b488f(0x198)](_0x507f1d,_0x39493f,_0x32d52b[_0x3b488f(0x1ef)]?_0x32d52b:{'enumerable':!0x0,'get':function(){return _0x2c7db0[_0x39493f];}});}),_0x507f1d;}var se={'exports':{}},ge,Ge;function H(){const _0x42216d=_0x589a17;if(Ge)return ge;Ge=0x1;const _0x5efcf3=[_0x42216d(0x256),_0x42216d(0x33f),_0x42216d(0x1f8)],_0xdbd17=typeof Blob<'u';return _0xdbd17&&_0x5efcf3['push'](_0x42216d(0x32a)),ge={'BINARY_TYPES':_0x5efcf3,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0xdbd17,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x42216d(0x1ad)),'kStatusCode':Symbol(_0x42216d(0x20b)),'kWebSocket':Symbol(_0x42216d(0x26b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x589a17(0x198)]({'__proto__':null,'default':Nt},Symbol[_0x589a17(0x1ee)],{'value':_0x589a17(0x24c)})),Lt=at(kt);var Ve;function ce(){const _0x180bb2=_0x589a17;if(Ve)return se[_0x180bb2(0x2d5)];Ve=0x1;const {EMPTY_BUFFER:_0x66b87d}=H(),_0x20aeb7=Buffer[Symbol['species']];function _0x49a57d(_0x204f05,_0x38e340){const _0x55c345=_0x180bb2;if(_0x204f05['length']===0x0)return _0x66b87d;if(_0x204f05[_0x55c345(0x209)]===0x1)return _0x204f05[0x0];const _0x31d21e=Buffer[_0x55c345(0x311)](_0x38e340);let _0x2bb68b=0x0;for(let _0x5adb24=0x0;_0x5adb24<_0x204f05[_0x55c345(0x209)];_0x5adb24++){const _0x46d26b=_0x204f05[_0x5adb24];_0x31d21e[_0x55c345(0x299)](_0x46d26b,_0x2bb68b),_0x2bb68b+=_0x46d26b[_0x55c345(0x209)];}return _0x2bb68b<_0x38e340?new _0x20aeb7(_0x31d21e[_0x55c345(0x2da)],_0x31d21e[_0x55c345(0x33c)],_0x2bb68b):_0x31d21e;}function _0x4bb1ac(_0x2db33a,_0x29834f,_0x1f7d3e,_0xc1f00,_0x2b15df){for(let _0x548bbb=0x0;_0x548bbb<_0x2b15df;_0x548bbb++)_0x1f7d3e[_0xc1f00+_0x548bbb]=_0x2db33a[_0x548bbb]^_0x29834f[_0x548bbb&0x3];}function _0x1b8d6f(_0x18ea8c,_0x46ec5a){const _0x31ebc3=_0x180bb2;for(let _0x5eae19=0x0;_0x5eae19<_0x18ea8c[_0x31ebc3(0x209)];_0x5eae19++)_0x18ea8c[_0x5eae19]^=_0x46ec5a[_0x5eae19&0x3];}function _0x195bd5(_0x4c4b61){const _0x443f1f=_0x180bb2;return _0x4c4b61[_0x443f1f(0x209)]===_0x4c4b61[_0x443f1f(0x2da)]['byteLength']?_0x4c4b61[_0x443f1f(0x2da)]:_0x4c4b61[_0x443f1f(0x2da)][_0x443f1f(0x1fc)](_0x4c4b61[_0x443f1f(0x33c)],_0x4c4b61[_0x443f1f(0x33c)]+_0x4c4b61['length']);}function _0xa3fd19(_0x3b369a){const _0x3b1851=_0x180bb2;if(_0xa3fd19[_0x3b1851(0x192)]=!0x0,Buffer[_0x3b1851(0x19a)](_0x3b369a))return _0x3b369a;let _0xdb2af2;return _0x3b369a instanceof ArrayBuffer?_0xdb2af2=new _0x20aeb7(_0x3b369a):ArrayBuffer[_0x3b1851(0x1fd)](_0x3b369a)?_0xdb2af2=new _0x20aeb7(_0x3b369a['buffer'],_0x3b369a[_0x3b1851(0x33c)],_0x3b369a[_0x3b1851(0x348)]):(_0xdb2af2=Buffer[_0x3b1851(0x2c3)](_0x3b369a),_0xa3fd19['readOnly']=!0x1),_0xdb2af2;}if(se[_0x180bb2(0x2d5)]={'concat':_0x49a57d,'mask':_0x4bb1ac,'toArrayBuffer':_0x195bd5,'toBuffer':_0xa3fd19,'unmask':_0x1b8d6f},!process[_0x180bb2(0x2e9)][_0x180bb2(0x23d)])try{const _0x1c80b5=Lt;se[_0x180bb2(0x2d5)]['mask']=function(_0x16851f,_0x262b14,_0x5a2039,_0x2ee76c,_0x3d00bb){const _0x5d29e=_0x180bb2;_0x3d00bb<0x30?_0x4bb1ac(_0x16851f,_0x262b14,_0x5a2039,_0x2ee76c,_0x3d00bb):_0x1c80b5[_0x5d29e(0x194)](_0x16851f,_0x262b14,_0x5a2039,_0x2ee76c,_0x3d00bb);},se[_0x180bb2(0x2d5)][_0x180bb2(0x2ff)]=function(_0x465cc1,_0x28640a){const _0xa6838a=_0x180bb2;_0x465cc1[_0xa6838a(0x209)]<0x20?_0x1b8d6f(_0x465cc1,_0x28640a):_0x1c80b5[_0xa6838a(0x2ff)](_0x465cc1,_0x28640a);};}catch{}return se[_0x180bb2(0x2d5)];}var ye,He;function Pt(){const _0x307ae9=_0x589a17;if(He)return ye;He=0x1;const _0x12719f=Symbol(_0x307ae9(0x235)),_0xc98ef6=Symbol(_0x307ae9(0x23b));class _0x298d90{constructor(_0xabaf26){const _0x261a3d=_0x307ae9;this[_0x12719f]=()=>{const _0x407ea1=_0x3d1f;this[_0x407ea1(0x2a0)]--,this[_0xc98ef6]();},this[_0x261a3d(0x2e2)]=_0xabaf26||0x1/0x0,this[_0x261a3d(0x21f)]=[],this[_0x261a3d(0x2a0)]=0x0;}[_0x307ae9(0x184)](_0x557586){const _0x9cb301=_0x307ae9;this[_0x9cb301(0x21f)][_0x9cb301(0x296)](_0x557586),this[_0xc98ef6]();}[_0xc98ef6](){const _0x4aeae0=_0x307ae9;if(this[_0x4aeae0(0x2a0)]!==this[_0x4aeae0(0x2e2)]&&this[_0x4aeae0(0x21f)][_0x4aeae0(0x209)]){const _0x38e13c=this[_0x4aeae0(0x21f)][_0x4aeae0(0x2b5)]();this[_0x4aeae0(0x2a0)]++,_0x38e13c(this[_0x12719f]);}}}return ye=_0x298d90,ye;}var ve,ze;function he(){const _0xac2af2=_0x589a17;if(ze)return ve;ze=0x1;const _0x24985=bt,_0x80391d=ce(),_0x4809a7=Pt(),{kStatusCode:_0x4b1677}=H(),_0x2de7c6=Buffer[Symbol[_0xac2af2(0x1bc)]],_0xe96965=Buffer['from']([0x0,0x0,0xff,0xff]),_0x88c1d7=Symbol(_0xac2af2(0x2ec)),_0x36e2cd=Symbol(_0xac2af2(0x2f7)),_0xa15232=Symbol('callback'),_0x10459c=Symbol(_0xac2af2(0x1d9)),_0x366e68=Symbol('error');let _0x5945d1;class _0x4e0ceb{constructor(_0xd34835,_0x3efb55,_0x350d04){const _0x2473c4=_0xac2af2;if(this[_0x2473c4(0x21e)]=_0x350d04|0x0,this[_0x2473c4(0x260)]=_0xd34835||{},this[_0x2473c4(0x1b7)]=this['_options'][_0x2473c4(0x1ed)]!==void 0x0?this[_0x2473c4(0x260)][_0x2473c4(0x1ed)]:0x400,this['_isServer']=!!_0x3efb55,this[_0x2473c4(0x1a3)]=null,this['_inflate']=null,this[_0x2473c4(0x319)]=null,!_0x5945d1){const _0x201666=this[_0x2473c4(0x260)][_0x2473c4(0x2c6)]!==void 0x0?this[_0x2473c4(0x260)]['concurrencyLimit']:0xa;_0x5945d1=new _0x4809a7(_0x201666);}}static get[_0xac2af2(0x292)](){const _0x4f76a6=_0xac2af2;return _0x4f76a6(0x2ec);}[_0xac2af2(0x258)](){const _0x534c1a=_0xac2af2,_0x5a8b78={};return this[_0x534c1a(0x260)][_0x534c1a(0x302)]&&(_0x5a8b78[_0x534c1a(0x314)]=!0x0),this[_0x534c1a(0x260)][_0x534c1a(0x237)]&&(_0x5a8b78[_0x534c1a(0x2d0)]=!0x0),this[_0x534c1a(0x260)][_0x534c1a(0x2f3)]&&(_0x5a8b78[_0x534c1a(0x2c1)]=this[_0x534c1a(0x260)][_0x534c1a(0x2f3)]),this[_0x534c1a(0x260)][_0x534c1a(0x270)]?_0x5a8b78['client_max_window_bits']=this[_0x534c1a(0x260)][_0x534c1a(0x270)]:this[_0x534c1a(0x260)][_0x534c1a(0x270)]==null&&(_0x5a8b78[_0x534c1a(0x1f0)]=!0x0),_0x5a8b78;}[_0xac2af2(0x32e)](_0x484fc3){const _0x36d3d4=_0xac2af2;return _0x484fc3=this[_0x36d3d4(0x22e)](_0x484fc3),this[_0x36d3d4(0x319)]=this[_0x36d3d4(0x30e)]?this[_0x36d3d4(0x1c1)](_0x484fc3):this[_0x36d3d4(0x215)](_0x484fc3),this[_0x36d3d4(0x319)];}[_0xac2af2(0x1f6)](){const _0xdce0c5=_0xac2af2;if(this[_0xdce0c5(0x2a3)]&&(this['_inflate']['close'](),this[_0xdce0c5(0x2a3)]=null),this[_0xdce0c5(0x1a3)]){const _0x11c66f=this[_0xdce0c5(0x1a3)][_0xa15232];this[_0xdce0c5(0x1a3)][_0xdce0c5(0x232)](),this[_0xdce0c5(0x1a3)]=null,_0x11c66f&&_0x11c66f(new Error(_0xdce0c5(0x1c4)));}}[_0xac2af2(0x1c1)](_0x4f6a76){const _0x166c43=_0xac2af2,_0x4369fc=this[_0x166c43(0x260)],_0x57a2b2=_0x4f6a76['find'](_0x300c75=>!(_0x4369fc['serverNoContextTakeover']===!0x1&&_0x300c75[_0x166c43(0x314)]||_0x300c75[_0x166c43(0x2c1)]&&(_0x4369fc[_0x166c43(0x2f3)]===!0x1||typeof _0x4369fc['serverMaxWindowBits']=='number'&&_0x4369fc[_0x166c43(0x2f3)]>_0x300c75[_0x166c43(0x2c1)])||typeof _0x4369fc[_0x166c43(0x270)]==_0x166c43(0x242)&&!_0x300c75[_0x166c43(0x1f0)]));if(!_0x57a2b2)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4369fc[_0x166c43(0x302)]&&(_0x57a2b2[_0x166c43(0x314)]=!0x0),_0x4369fc['clientNoContextTakeover']&&(_0x57a2b2[_0x166c43(0x2d0)]=!0x0),typeof _0x4369fc['serverMaxWindowBits']==_0x166c43(0x242)&&(_0x57a2b2[_0x166c43(0x2c1)]=_0x4369fc[_0x166c43(0x2f3)]),typeof _0x4369fc[_0x166c43(0x270)]==_0x166c43(0x242)?_0x57a2b2[_0x166c43(0x1f0)]=_0x4369fc[_0x166c43(0x270)]:(_0x57a2b2[_0x166c43(0x1f0)]===!0x0||_0x4369fc['clientMaxWindowBits']===!0x1)&&delete _0x57a2b2[_0x166c43(0x1f0)],_0x57a2b2;}[_0xac2af2(0x215)](_0x54ebc8){const _0x40d499=_0xac2af2,_0x5cbd29=_0x54ebc8[0x0];if(this[_0x40d499(0x260)][_0x40d499(0x237)]===!0x1&&_0x5cbd29['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5cbd29[_0x40d499(0x1f0)])typeof this['_options']['clientMaxWindowBits']==_0x40d499(0x242)&&(_0x5cbd29[_0x40d499(0x1f0)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x40d499(0x260)][_0x40d499(0x270)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x40d499(0x242)&&_0x5cbd29[_0x40d499(0x1f0)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x40d499(0x290));}return _0x5cbd29;}[_0xac2af2(0x22e)](_0x3d9a6d){const _0xb5ec35=_0xac2af2;return _0x3d9a6d[_0xb5ec35(0x25b)](_0x10e659=>{const _0x49176a=_0xb5ec35;Object[_0x49176a(0x19e)](_0x10e659)[_0x49176a(0x25b)](_0x46ab88=>{const _0x2ca4d5=_0x49176a;let _0x29555f=_0x10e659[_0x46ab88];if(_0x29555f['length']>0x1)throw new Error(_0x2ca4d5(0x2a4)+_0x46ab88+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x29555f=_0x29555f[0x0],_0x46ab88===_0x2ca4d5(0x1f0)){if(_0x29555f!==!0x0){const _0xf4656b=+_0x29555f;if(!Number[_0x2ca4d5(0x18c)](_0xf4656b)||_0xf4656b<0x8||_0xf4656b>0xf)throw new TypeError(_0x2ca4d5(0x2c0)+_0x46ab88+_0x2ca4d5(0x2f8)+_0x29555f);_0x29555f=_0xf4656b;}else{if(!this[_0x2ca4d5(0x30e)])throw new TypeError(_0x2ca4d5(0x2c0)+_0x46ab88+'\x22:\x20'+_0x29555f);}}else{if(_0x46ab88==='server_max_window_bits'){const _0x5d79bc=+_0x29555f;if(!Number[_0x2ca4d5(0x18c)](_0x5d79bc)||_0x5d79bc<0x8||_0x5d79bc>0xf)throw new TypeError(_0x2ca4d5(0x2c0)+_0x46ab88+_0x2ca4d5(0x2f8)+_0x29555f);_0x29555f=_0x5d79bc;}else{if(_0x46ab88===_0x2ca4d5(0x2d0)||_0x46ab88===_0x2ca4d5(0x314)){if(_0x29555f!==!0x0)throw new TypeError(_0x2ca4d5(0x2c0)+_0x46ab88+'\x22:\x20'+_0x29555f);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x46ab88+'\x22');}}_0x10e659[_0x46ab88]=_0x29555f;});}),_0x3d9a6d;}['decompress'](_0x6e2316,_0x52cfad,_0x55b193){const _0x1f19d8=_0xac2af2;_0x5945d1[_0x1f19d8(0x184)](_0x294770=>{const _0x2f7f97=_0x1f19d8;this[_0x2f7f97(0x225)](_0x6e2316,_0x52cfad,(_0x14b80b,_0x13472c)=>{_0x294770(),_0x55b193(_0x14b80b,_0x13472c);});});}[_0xac2af2(0x21c)](_0x3fb2d2,_0x5b645d,_0x245662){const _0x5daf06=_0xac2af2;_0x5945d1[_0x5daf06(0x184)](_0x517bfd=>{const _0x5013a3=_0x5daf06;this[_0x5013a3(0x1a2)](_0x3fb2d2,_0x5b645d,(_0x31f5cc,_0x1e7f86)=>{_0x517bfd(),_0x245662(_0x31f5cc,_0x1e7f86);});});}[_0xac2af2(0x225)](_0x4a0a4a,_0x3b90e9,_0x471db7){const _0x7a87c8=_0xac2af2,_0x332307=this[_0x7a87c8(0x30e)]?_0x7a87c8(0x199):_0x7a87c8(0x1f3);if(!this[_0x7a87c8(0x2a3)]){const _0xfe6345=_0x332307+_0x7a87c8(0x20e),_0x469285=typeof this[_0x7a87c8(0x319)][_0xfe6345]!='number'?_0x24985[_0x7a87c8(0x239)]:this['params'][_0xfe6345];this[_0x7a87c8(0x2a3)]=_0x24985['createInflateRaw']({...this[_0x7a87c8(0x260)][_0x7a87c8(0x2fb)],'windowBits':_0x469285}),this[_0x7a87c8(0x2a3)][_0x88c1d7]=this,this[_0x7a87c8(0x2a3)][_0x36e2cd]=0x0,this[_0x7a87c8(0x2a3)][_0x10459c]=[],this[_0x7a87c8(0x2a3)]['on'](_0x7a87c8(0x19b),_0x3242bb),this[_0x7a87c8(0x2a3)]['on'](_0x7a87c8(0x20f),_0x10b94b);}this[_0x7a87c8(0x2a3)][_0xa15232]=_0x471db7,this[_0x7a87c8(0x2a3)][_0x7a87c8(0x1c0)](_0x4a0a4a),_0x3b90e9&&this['_inflate'][_0x7a87c8(0x1c0)](_0xe96965),this[_0x7a87c8(0x2a3)]['flush'](()=>{const _0x509856=_0x7a87c8,_0x1baa11=this[_0x509856(0x2a3)][_0x366e68];if(_0x1baa11){this[_0x509856(0x2a3)]['close'](),this[_0x509856(0x2a3)]=null,_0x471db7(_0x1baa11);return;}const _0x149980=_0x80391d['concat'](this[_0x509856(0x2a3)][_0x10459c],this[_0x509856(0x2a3)][_0x36e2cd]);this[_0x509856(0x2a3)][_0x509856(0x30d)][_0x509856(0x328)]?(this[_0x509856(0x2a3)]['close'](),this['_inflate']=null):(this[_0x509856(0x2a3)][_0x36e2cd]=0x0,this[_0x509856(0x2a3)][_0x10459c]=[],_0x3b90e9&&this[_0x509856(0x319)][_0x332307+_0x509856(0x1c2)]&&this[_0x509856(0x2a3)]['reset']()),_0x471db7(null,_0x149980);});}['_compress'](_0xf83e98,_0x4b594c,_0x3fe51c){const _0x5dd47b=_0xac2af2,_0x175a42=this[_0x5dd47b(0x30e)]?_0x5dd47b(0x1f3):_0x5dd47b(0x199);if(!this[_0x5dd47b(0x1a3)]){const _0x2d2f23=_0x175a42+_0x5dd47b(0x20e),_0xf4c299=typeof this[_0x5dd47b(0x319)][_0x2d2f23]!=_0x5dd47b(0x242)?_0x24985['Z_DEFAULT_WINDOWBITS']:this[_0x5dd47b(0x319)][_0x2d2f23];this[_0x5dd47b(0x1a3)]=_0x24985[_0x5dd47b(0x31a)]({...this[_0x5dd47b(0x260)][_0x5dd47b(0x30b)],'windowBits':_0xf4c299}),this[_0x5dd47b(0x1a3)][_0x36e2cd]=0x0,this[_0x5dd47b(0x1a3)][_0x10459c]=[],this[_0x5dd47b(0x1a3)]['on'](_0x5dd47b(0x20f),_0x4fae9f);}this[_0x5dd47b(0x1a3)][_0xa15232]=_0x3fe51c,this[_0x5dd47b(0x1a3)][_0x5dd47b(0x1c0)](_0xf83e98),this[_0x5dd47b(0x1a3)][_0x5dd47b(0x1f9)](_0x24985[_0x5dd47b(0x331)],()=>{const _0x19fd6f=_0x5dd47b;if(!this[_0x19fd6f(0x1a3)])return;let _0x49d05d=_0x80391d[_0x19fd6f(0x247)](this[_0x19fd6f(0x1a3)][_0x10459c],this[_0x19fd6f(0x1a3)][_0x36e2cd]);_0x4b594c&&(_0x49d05d=new _0x2de7c6(_0x49d05d[_0x19fd6f(0x2da)],_0x49d05d[_0x19fd6f(0x33c)],_0x49d05d[_0x19fd6f(0x209)]-0x4)),this['_deflate'][_0xa15232]=null,this[_0x19fd6f(0x1a3)][_0x36e2cd]=0x0,this[_0x19fd6f(0x1a3)][_0x10459c]=[],_0x4b594c&&this[_0x19fd6f(0x319)][_0x175a42+_0x19fd6f(0x1c2)]&&this['_deflate'][_0x19fd6f(0x243)](),_0x3fe51c(null,_0x49d05d);});}}ve=_0x4e0ceb;function _0x4fae9f(_0x37921c){const _0x1e5417=_0xac2af2;this[_0x10459c][_0x1e5417(0x296)](_0x37921c),this[_0x36e2cd]+=_0x37921c[_0x1e5417(0x209)];}function _0x10b94b(_0x26dbfc){const _0x8712fe=_0xac2af2;if(this[_0x36e2cd]+=_0x26dbfc[_0x8712fe(0x209)],this[_0x88c1d7][_0x8712fe(0x21e)]<0x1||this[_0x36e2cd]<=this[_0x88c1d7]['_maxPayload']){this[_0x10459c]['push'](_0x26dbfc);return;}this[_0x366e68]=new RangeError(_0x8712fe(0x1eb)),this[_0x366e68][_0x8712fe(0x1a6)]=_0x8712fe(0x1fa),this[_0x366e68][_0x4b1677]=0x3f1,this['removeListener'](_0x8712fe(0x20f),_0x10b94b),this[_0x8712fe(0x243)]();}function _0x3242bb(_0x230779){if(this[_0x88c1d7]['_inflate']=null,this[_0x366e68]){this[_0xa15232](this[_0x366e68]);return;}_0x230779[_0x4b1677]=0x3ef,this[_0xa15232](_0x230779);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x589a17(0x320)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x589a17(0x1ee)],{'value':_0x589a17(0x24c)})),Bt=at(Rt);var Ye;function ae(){const _0x50bbc7=_0x589a17;if(Ye)return ie[_0x50bbc7(0x2d5)];Ye=0x1;const {isUtf8:_0x2518e8}=wt,{hasBlob:_0x32686}=H(),_0x56d43e=[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 _0x4e7239(_0x7c97d6){return _0x7c97d6>=0x3e8&&_0x7c97d6<=0x3f6&&_0x7c97d6!==0x3ec&&_0x7c97d6!==0x3ed&&_0x7c97d6!==0x3ee||_0x7c97d6>=0xbb8&&_0x7c97d6<=0x1387;}function _0x2dfc2d(_0x2381f9){const _0xcd9427=_0x50bbc7,_0x402240=_0x2381f9[_0xcd9427(0x209)];let _0x2954ca=0x0;for(;_0x2954ca<_0x402240;)if((_0x2381f9[_0x2954ca]&0x80)===0x0)_0x2954ca++;else{if((_0x2381f9[_0x2954ca]&0xe0)===0xc0){if(_0x2954ca+0x1===_0x402240||(_0x2381f9[_0x2954ca+0x1]&0xc0)!==0x80||(_0x2381f9[_0x2954ca]&0xfe)===0xc0)return!0x1;_0x2954ca+=0x2;}else{if((_0x2381f9[_0x2954ca]&0xf0)===0xe0){if(_0x2954ca+0x2>=_0x402240||(_0x2381f9[_0x2954ca+0x1]&0xc0)!==0x80||(_0x2381f9[_0x2954ca+0x2]&0xc0)!==0x80||_0x2381f9[_0x2954ca]===0xe0&&(_0x2381f9[_0x2954ca+0x1]&0xe0)===0x80||_0x2381f9[_0x2954ca]===0xed&&(_0x2381f9[_0x2954ca+0x1]&0xe0)===0xa0)return!0x1;_0x2954ca+=0x3;}else{if((_0x2381f9[_0x2954ca]&0xf8)===0xf0){if(_0x2954ca+0x3>=_0x402240||(_0x2381f9[_0x2954ca+0x1]&0xc0)!==0x80||(_0x2381f9[_0x2954ca+0x2]&0xc0)!==0x80||(_0x2381f9[_0x2954ca+0x3]&0xc0)!==0x80||_0x2381f9[_0x2954ca]===0xf0&&(_0x2381f9[_0x2954ca+0x1]&0xf0)===0x80||_0x2381f9[_0x2954ca]===0xf4&&_0x2381f9[_0x2954ca+0x1]>0x8f||_0x2381f9[_0x2954ca]>0xf4)return!0x1;_0x2954ca+=0x4;}else return!0x1;}}}return!0x0;}function _0x512eba(_0x3b5c49){const _0x568a71=_0x50bbc7;return _0x32686&&typeof _0x3b5c49==_0x568a71(0x18e)&&typeof _0x3b5c49[_0x568a71(0x2b3)]==_0x568a71(0x2e8)&&typeof _0x3b5c49[_0x568a71(0x1d6)]==_0x568a71(0x335)&&typeof _0x3b5c49[_0x568a71(0x327)]=='function'&&(_0x3b5c49[Symbol[_0x568a71(0x1ee)]]===_0x568a71(0x32d)||_0x3b5c49[Symbol[_0x568a71(0x1ee)]]==='File');}if(ie['exports']={'isBlob':_0x512eba,'isValidStatusCode':_0x4e7239,'isValidUTF8':_0x2dfc2d,'tokenChars':_0x56d43e},_0x2518e8)ie['exports'][_0x50bbc7(0x2a5)]=function(_0x1ee7d3){const _0xada4d5=_0x50bbc7;return _0x1ee7d3[_0xada4d5(0x209)]<0x18?_0x2dfc2d(_0x1ee7d3):_0x2518e8(_0x1ee7d3);};else{if(!process[_0x50bbc7(0x2e9)]['WS_NO_UTF_8_VALIDATE'])try{const _0x416b33=Bt;ie[_0x50bbc7(0x2d5)][_0x50bbc7(0x2a5)]=function(_0x8cfc8d){const _0x374f65=_0x50bbc7;return _0x8cfc8d[_0x374f65(0x209)]<0x20?_0x2dfc2d(_0x8cfc8d):_0x416b33(_0x8cfc8d);};}catch{}}return ie[_0x50bbc7(0x2d5)];}var Se,Ke;function lt(){const _0xce1cad=_0x589a17;if(Ke)return Se;Ke=0x1;const {Writable:_0x4d3bc8}=oe,_0x4b77e0=he(),{BINARY_TYPES:_0x6a51ee,EMPTY_BUFFER:_0x2200cd,kStatusCode:_0x4f65b8,kWebSocket:_0x223d85}=H(),{concat:_0x5f06fe,toArrayBuffer:_0x1ded0c,unmask:_0x2b18f2}=ce(),{isValidStatusCode:_0x3e28e4,isValidUTF8:_0x24dec0}=ae(),_0x42cec4=Buffer[Symbol['species']],_0x3b29d7=0x0,_0x261de3=0x1,_0x4f7fba=0x2,_0xd267d3=0x3,_0x473592=0x4,_0x1e8815=0x5,_0x2b4858=0x6;class _0x57047f extends _0x4d3bc8{constructor(_0x3fe716={}){const _0x155d88=_0x3d1f;super(),this[_0x155d88(0x2d7)]=_0x3fe716[_0x155d88(0x1f7)]!==void 0x0?_0x3fe716[_0x155d88(0x1f7)]:!0x0,this[_0x155d88(0x1c3)]=_0x3fe716[_0x155d88(0x284)]||_0x6a51ee[0x0],this[_0x155d88(0x321)]=_0x3fe716[_0x155d88(0x238)]||{},this[_0x155d88(0x30e)]=!!_0x3fe716['isServer'],this[_0x155d88(0x21e)]=_0x3fe716[_0x155d88(0x249)]|0x0,this[_0x155d88(0x295)]=!!_0x3fe716[_0x155d88(0x221)],this[_0x223d85]=void 0x0,this[_0x155d88(0x240)]=0x0,this[_0x155d88(0x349)]=[],this[_0x155d88(0x1a4)]=!0x1,this[_0x155d88(0x1cc)]=0x0,this['_mask']=void 0x0,this[_0x155d88(0x2f9)]=0x0,this[_0x155d88(0x259)]=!0x1,this['_fin']=!0x1,this[_0x155d88(0x312)]=0x0,this[_0x155d88(0x1dc)]=0x0,this['_messageLength']=0x0,this[_0x155d88(0x2db)]=[],this['_errored']=!0x1,this[_0x155d88(0x19c)]=!0x1,this[_0x155d88(0x313)]=_0x3b29d7;}['_write'](_0x126365,_0x3f3c3a,_0x2b700d){const _0x5b552b=_0x3d1f;if(this[_0x5b552b(0x312)]===0x8&&this[_0x5b552b(0x313)]==_0x3b29d7)return _0x2b700d();this['_bufferedBytes']+=_0x126365[_0x5b552b(0x209)],this['_buffers'][_0x5b552b(0x296)](_0x126365),this[_0x5b552b(0x2e0)](_0x2b700d);}['consume'](_0x184f9a){const _0x4c1eaa=_0x3d1f;if(this[_0x4c1eaa(0x240)]-=_0x184f9a,_0x184f9a===this['_buffers'][0x0][_0x4c1eaa(0x209)])return this[_0x4c1eaa(0x349)][_0x4c1eaa(0x2b5)]();if(_0x184f9a<this[_0x4c1eaa(0x349)][0x0][_0x4c1eaa(0x209)]){const _0x526232=this[_0x4c1eaa(0x349)][0x0];return this[_0x4c1eaa(0x349)][0x0]=new _0x42cec4(_0x526232[_0x4c1eaa(0x2da)],_0x526232['byteOffset']+_0x184f9a,_0x526232[_0x4c1eaa(0x209)]-_0x184f9a),new _0x42cec4(_0x526232[_0x4c1eaa(0x2da)],_0x526232[_0x4c1eaa(0x33c)],_0x184f9a);}const _0x4b0d8b=Buffer[_0x4c1eaa(0x311)](_0x184f9a);do{const _0x378f18=this[_0x4c1eaa(0x349)][0x0],_0x37ea0f=_0x4b0d8b[_0x4c1eaa(0x209)]-_0x184f9a;_0x184f9a>=_0x378f18[_0x4c1eaa(0x209)]?_0x4b0d8b[_0x4c1eaa(0x299)](this['_buffers'][_0x4c1eaa(0x2b5)](),_0x37ea0f):(_0x4b0d8b[_0x4c1eaa(0x299)](new Uint8Array(_0x378f18[_0x4c1eaa(0x2da)],_0x378f18['byteOffset'],_0x184f9a),_0x37ea0f),this[_0x4c1eaa(0x349)][0x0]=new _0x42cec4(_0x378f18[_0x4c1eaa(0x2da)],_0x378f18[_0x4c1eaa(0x33c)]+_0x184f9a,_0x378f18[_0x4c1eaa(0x209)]-_0x184f9a)),_0x184f9a-=_0x378f18[_0x4c1eaa(0x209)];}while(_0x184f9a>0x0);return _0x4b0d8b;}[_0xce1cad(0x2e0)](_0x3ea767){const _0x57ae01=_0xce1cad;this[_0x57ae01(0x19c)]=!0x0;do switch(this[_0x57ae01(0x313)]){case _0x3b29d7:this[_0x57ae01(0x220)](_0x3ea767);break;case _0x261de3:this[_0x57ae01(0x2c9)](_0x3ea767);break;case _0x4f7fba:this[_0x57ae01(0x2b7)](_0x3ea767);break;case _0xd267d3:this['getMask']();break;case _0x473592:this['getData'](_0x3ea767);break;case _0x1e8815:case _0x2b4858:this[_0x57ae01(0x19c)]=!0x1;return;}while(this[_0x57ae01(0x19c)]);this['_errored']||_0x3ea767();}[_0xce1cad(0x220)](_0x546006){const _0x3fbc23=_0xce1cad;if(this[_0x3fbc23(0x240)]<0x2){this[_0x3fbc23(0x19c)]=!0x1;return;}const _0x425b8c=this[_0x3fbc23(0x22c)](0x2);if((_0x425b8c[0x0]&0x30)!==0x0){const _0x28b551=this[_0x3fbc23(0x2e5)](RangeError,_0x3fbc23(0x278),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x546006(_0x28b551);return;}const _0x3dd3ac=(_0x425b8c[0x0]&0x40)===0x40;if(_0x3dd3ac&&!this['_extensions'][_0x4b77e0[_0x3fbc23(0x292)]]){const _0xee115e=this['createError'](RangeError,_0x3fbc23(0x346),!0x0,0x3ea,_0x3fbc23(0x2f6));_0x546006(_0xee115e);return;}if(this[_0x3fbc23(0x29d)]=(_0x425b8c[0x0]&0x80)===0x80,this[_0x3fbc23(0x312)]=_0x425b8c[0x0]&0xf,this[_0x3fbc23(0x1cc)]=_0x425b8c[0x1]&0x7f,this[_0x3fbc23(0x312)]===0x0){if(_0x3dd3ac){const _0x25c113=this[_0x3fbc23(0x2e5)](RangeError,_0x3fbc23(0x346),!0x0,0x3ea,_0x3fbc23(0x2f6));_0x546006(_0x25c113);return;}if(!this['_fragmented']){const _0x1ee30c=this[_0x3fbc23(0x2e5)](RangeError,_0x3fbc23(0x2b4),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x546006(_0x1ee30c);return;}this['_opcode']=this[_0x3fbc23(0x2f9)];}else{if(this['_opcode']===0x1||this[_0x3fbc23(0x312)]===0x2){if(this[_0x3fbc23(0x2f9)]){const _0x171d9c=this['createError'](RangeError,_0x3fbc23(0x2cf)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x546006(_0x171d9c);return;}this[_0x3fbc23(0x1a4)]=_0x3dd3ac;}else{if(this[_0x3fbc23(0x312)]>0x7&&this[_0x3fbc23(0x312)]<0xb){if(!this[_0x3fbc23(0x29d)]){const _0x185000=this[_0x3fbc23(0x2e5)](RangeError,_0x3fbc23(0x31e),!0x0,0x3ea,_0x3fbc23(0x18f));_0x546006(_0x185000);return;}if(_0x3dd3ac){const _0x3b77be=this[_0x3fbc23(0x2e5)](RangeError,_0x3fbc23(0x346),!0x0,0x3ea,_0x3fbc23(0x2f6));_0x546006(_0x3b77be);return;}if(this['_payloadLength']>0x7d||this[_0x3fbc23(0x312)]===0x8&&this['_payloadLength']===0x1){const _0x2b82d0=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x3fbc23(0x1cc)],!0x0,0x3ea,_0x3fbc23(0x191));_0x546006(_0x2b82d0);return;}}else{const _0x5a38b1=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x3fbc23(0x312)],!0x0,0x3ea,_0x3fbc23(0x27e));_0x546006(_0x5a38b1);return;}}}if(!this['_fin']&&!this[_0x3fbc23(0x2f9)]&&(this[_0x3fbc23(0x2f9)]=this['_opcode']),this['_masked']=(_0x425b8c[0x1]&0x80)===0x80,this[_0x3fbc23(0x30e)]){if(!this[_0x3fbc23(0x259)]){const _0x4144b7=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x3fbc23(0x2dc));_0x546006(_0x4144b7);return;}}else{if(this['_masked']){const _0x5d02c2=this['createError'](RangeError,_0x3fbc23(0x24d),!0x0,0x3ea,_0x3fbc23(0x2ef));_0x546006(_0x5d02c2);return;}}this[_0x3fbc23(0x1cc)]===0x7e?this[_0x3fbc23(0x313)]=_0x261de3:this[_0x3fbc23(0x1cc)]===0x7f?this[_0x3fbc23(0x313)]=_0x4f7fba:this[_0x3fbc23(0x223)](_0x546006);}[_0xce1cad(0x2c9)](_0x4632c7){const _0x1252c6=_0xce1cad;if(this[_0x1252c6(0x240)]<0x2){this[_0x1252c6(0x19c)]=!0x1;return;}this[_0x1252c6(0x1cc)]=this['consume'](0x2)[_0x1252c6(0x2b0)](0x0),this[_0x1252c6(0x223)](_0x4632c7);}[_0xce1cad(0x2b7)](_0x23590e){const _0x57cd9f=_0xce1cad;if(this[_0x57cd9f(0x240)]<0x8){this[_0x57cd9f(0x19c)]=!0x1;return;}const _0x5d49b4=this[_0x57cd9f(0x22c)](0x8),_0x5d8124=_0x5d49b4[_0x57cd9f(0x30f)](0x0);if(_0x5d8124>Math[_0x57cd9f(0x264)](0x2,0x15)-0x1){const _0x4fb8ff=this[_0x57cd9f(0x2e5)](RangeError,_0x57cd9f(0x2c4),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x23590e(_0x4fb8ff);return;}this['_payloadLength']=_0x5d8124*Math[_0x57cd9f(0x264)](0x2,0x20)+_0x5d49b4[_0x57cd9f(0x30f)](0x4),this[_0x57cd9f(0x223)](_0x23590e);}[_0xce1cad(0x223)](_0x4e69a9){const _0x5b9223=_0xce1cad;if(this[_0x5b9223(0x1cc)]&&this[_0x5b9223(0x312)]<0x8&&(this[_0x5b9223(0x1dc)]+=this[_0x5b9223(0x1cc)],this[_0x5b9223(0x1dc)]>this['_maxPayload']&&this[_0x5b9223(0x21e)]>0x0)){const _0x56108b=this[_0x5b9223(0x2e5)](RangeError,_0x5b9223(0x1eb),!0x1,0x3f1,_0x5b9223(0x1fa));_0x4e69a9(_0x56108b);return;}this[_0x5b9223(0x259)]?this[_0x5b9223(0x313)]=_0xd267d3:this[_0x5b9223(0x313)]=_0x473592;}[_0xce1cad(0x1dd)](){const _0x288da3=_0xce1cad;if(this[_0x288da3(0x240)]<0x4){this[_0x288da3(0x19c)]=!0x1;return;}this[_0x288da3(0x2a8)]=this['consume'](0x4),this[_0x288da3(0x313)]=_0x473592;}[_0xce1cad(0x207)](_0x3b5d36){const _0x123ba9=_0xce1cad;let _0x1b9477=_0x2200cd;if(this['_payloadLength']){if(this[_0x123ba9(0x240)]<this['_payloadLength']){this[_0x123ba9(0x19c)]=!0x1;return;}_0x1b9477=this['consume'](this[_0x123ba9(0x1cc)]),this[_0x123ba9(0x259)]&&(this[_0x123ba9(0x2a8)][0x0]|this[_0x123ba9(0x2a8)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x2b18f2(_0x1b9477,this[_0x123ba9(0x2a8)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x1b9477,_0x3b5d36);return;}if(this[_0x123ba9(0x1a4)]){this[_0x123ba9(0x313)]=_0x1e8815,this[_0x123ba9(0x26c)](_0x1b9477,_0x3b5d36);return;}_0x1b9477[_0x123ba9(0x209)]&&(this[_0x123ba9(0x1db)]=this[_0x123ba9(0x1dc)],this['_fragments'][_0x123ba9(0x296)](_0x1b9477)),this[_0x123ba9(0x23f)](_0x3b5d36);}[_0xce1cad(0x26c)](_0x3ffd95,_0x379c43){const _0x2409f3=_0xce1cad;this[_0x2409f3(0x321)][_0x4b77e0[_0x2409f3(0x292)]][_0x2409f3(0x26c)](_0x3ffd95,this[_0x2409f3(0x29d)],(_0x1ee6b8,_0x2e5599)=>{const _0x17806b=_0x2409f3;if(_0x1ee6b8)return _0x379c43(_0x1ee6b8);if(_0x2e5599[_0x17806b(0x209)]){if(this[_0x17806b(0x1db)]+=_0x2e5599[_0x17806b(0x209)],this['_messageLength']>this[_0x17806b(0x21e)]&&this[_0x17806b(0x21e)]>0x0){const _0x7b5bae=this[_0x17806b(0x2e5)](RangeError,_0x17806b(0x1eb),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x379c43(_0x7b5bae);return;}this['_fragments'][_0x17806b(0x296)](_0x2e5599);}this[_0x17806b(0x23f)](_0x379c43),this['_state']===_0x3b29d7&&this[_0x17806b(0x2e0)](_0x379c43);});}[_0xce1cad(0x23f)](_0x5ceac5){const _0x10f79e=_0xce1cad;if(!this[_0x10f79e(0x29d)]){this[_0x10f79e(0x313)]=_0x3b29d7;return;}const _0x3f8a69=this['_messageLength'],_0x157252=this['_fragments'];if(this[_0x10f79e(0x1dc)]=0x0,this[_0x10f79e(0x1db)]=0x0,this[_0x10f79e(0x2f9)]=0x0,this[_0x10f79e(0x2db)]=[],this['_opcode']===0x2){let _0x237f2f;this[_0x10f79e(0x1c3)]===_0x10f79e(0x256)?_0x237f2f=_0x5f06fe(_0x157252,_0x3f8a69):this['_binaryType']==='arraybuffer'?_0x237f2f=_0x1ded0c(_0x5f06fe(_0x157252,_0x3f8a69)):this[_0x10f79e(0x1c3)]===_0x10f79e(0x32a)?_0x237f2f=new Blob(_0x157252):_0x237f2f=_0x157252,this[_0x10f79e(0x2d7)]?(this[_0x10f79e(0x286)]('message',_0x237f2f,!0x0),this[_0x10f79e(0x313)]=_0x3b29d7):(this[_0x10f79e(0x313)]=_0x2b4858,setImmediate(()=>{const _0x271086=_0x10f79e;this[_0x271086(0x286)]('message',_0x237f2f,!0x0),this['_state']=_0x3b29d7,this[_0x271086(0x2e0)](_0x5ceac5);}));}else{const _0x192899=_0x5f06fe(_0x157252,_0x3f8a69);if(!this['_skipUTF8Validation']&&!_0x24dec0(_0x192899)){const _0x163e51=this[_0x10f79e(0x2e5)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5ceac5(_0x163e51);return;}this[_0x10f79e(0x313)]===_0x1e8815||this[_0x10f79e(0x2d7)]?(this['emit'](_0x10f79e(0x2e7),_0x192899,!0x1),this[_0x10f79e(0x313)]=_0x3b29d7):(this[_0x10f79e(0x313)]=_0x2b4858,setImmediate(()=>{const _0x857b31=_0x10f79e;this['emit'](_0x857b31(0x2e7),_0x192899,!0x1),this[_0x857b31(0x313)]=_0x3b29d7,this[_0x857b31(0x2e0)](_0x5ceac5);}));}}[_0xce1cad(0x236)](_0x4e0c02,_0x3362b1){const _0x4330b5=_0xce1cad;if(this[_0x4330b5(0x312)]===0x8){if(_0x4e0c02[_0x4330b5(0x209)]===0x0)this['_loop']=!0x1,this[_0x4330b5(0x286)]('conclude',0x3ed,_0x2200cd),this['end']();else{const _0x1d6390=_0x4e0c02[_0x4330b5(0x2b0)](0x0);if(!_0x3e28e4(_0x1d6390)){const _0xd64b52=this[_0x4330b5(0x2e5)](RangeError,_0x4330b5(0x29e)+_0x1d6390,!0x0,0x3ea,_0x4330b5(0x1c5));_0x3362b1(_0xd64b52);return;}const _0x3ff390=new _0x42cec4(_0x4e0c02['buffer'],_0x4e0c02['byteOffset']+0x2,_0x4e0c02[_0x4330b5(0x209)]-0x2);if(!this[_0x4330b5(0x295)]&&!_0x24dec0(_0x3ff390)){const _0x5557b9=this[_0x4330b5(0x2e5)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3362b1(_0x5557b9);return;}this[_0x4330b5(0x19c)]=!0x1,this[_0x4330b5(0x286)](_0x4330b5(0x189),_0x1d6390,_0x3ff390),this['end']();}this[_0x4330b5(0x313)]=_0x3b29d7;return;}this[_0x4330b5(0x2d7)]?(this[_0x4330b5(0x286)](this[_0x4330b5(0x312)]===0x9?'ping':_0x4330b5(0x229),_0x4e0c02),this[_0x4330b5(0x313)]=_0x3b29d7):(this[_0x4330b5(0x313)]=_0x2b4858,setImmediate(()=>{const _0x58f470=_0x4330b5;this['emit'](this[_0x58f470(0x312)]===0x9?_0x58f470(0x2e1):'pong',_0x4e0c02),this['_state']=_0x3b29d7,this[_0x58f470(0x2e0)](_0x3362b1);}));}[_0xce1cad(0x2e5)](_0x5c5a50,_0x10b568,_0x397654,_0x3e4a95,_0x2248c5){const _0x4c7f65=_0xce1cad;this[_0x4c7f65(0x19c)]=!0x1,this['_errored']=!0x0;const _0x137860=new _0x5c5a50(_0x397654?_0x4c7f65(0x2cb)+_0x10b568:_0x10b568);return Error['captureStackTrace'](_0x137860,this[_0x4c7f65(0x2e5)]),_0x137860[_0x4c7f65(0x1a6)]=_0x2248c5,_0x137860[_0x4f65b8]=_0x3e4a95,_0x137860;}}return Se=_0x57047f,Se;}var Ee,Xe;function ft(){const _0x3b2031=_0x589a17;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2d30ea}=oe,{randomFillSync:_0x18e03f}=Le,_0x245655=he(),{EMPTY_BUFFER:_0x3f12ed,kWebSocket:_0x2b70a6,NOOP:_0x145cd6}=H(),{isBlob:_0x4f2fb6,isValidStatusCode:_0x3c2abd}=ae(),{mask:_0x755e61,toBuffer:_0x3f476c}=ce(),_0x3e382f=Symbol(_0x3b2031(0x227)),_0x5815bc=Buffer[_0x3b2031(0x322)](0x4),_0x3ab45d=0x8*0x400;let _0x469c66,_0x3056de=_0x3ab45d;const _0x359207=0x0,_0x3b7cbd=0x1,_0x565d55=0x2;class _0x452cc8{constructor(_0x5ed87d,_0x297a48,_0x4559d0){const _0x440b74=_0x3b2031;this[_0x440b74(0x321)]=_0x297a48||{},_0x4559d0&&(this[_0x440b74(0x27a)]=_0x4559d0,this[_0x440b74(0x216)]=Buffer['alloc'](0x4)),this[_0x440b74(0x2f0)]=_0x5ed87d,this[_0x440b74(0x28e)]=!0x0,this[_0x440b74(0x1a2)]=!0x1,this[_0x440b74(0x240)]=0x0,this[_0x440b74(0x244)]=[],this[_0x440b74(0x313)]=_0x359207,this[_0x440b74(0x2de)]=_0x145cd6,this[_0x2b70a6]=void 0x0;}static[_0x3b2031(0x245)](_0x6f69c9,_0x341c11){const _0x50102d=_0x3b2031;let _0xe1c5b4,_0x25c5c2=!0x1,_0x549ee2=0x2,_0x5d9a94=!0x1;_0x341c11['mask']&&(_0xe1c5b4=_0x341c11[_0x50102d(0x1bf)]||_0x5815bc,_0x341c11[_0x50102d(0x1b1)]?_0x341c11[_0x50102d(0x1b1)](_0xe1c5b4):(_0x3056de===_0x3ab45d&&(_0x469c66===void 0x0&&(_0x469c66=Buffer[_0x50102d(0x322)](_0x3ab45d)),_0x18e03f(_0x469c66,0x0,_0x3ab45d),_0x3056de=0x0),_0xe1c5b4[0x0]=_0x469c66[_0x3056de++],_0xe1c5b4[0x1]=_0x469c66[_0x3056de++],_0xe1c5b4[0x2]=_0x469c66[_0x3056de++],_0xe1c5b4[0x3]=_0x469c66[_0x3056de++]),_0x5d9a94=(_0xe1c5b4[0x0]|_0xe1c5b4[0x1]|_0xe1c5b4[0x2]|_0xe1c5b4[0x3])===0x0,_0x549ee2=0x6);let _0x1a1871;typeof _0x6f69c9==_0x50102d(0x335)?(!_0x341c11['mask']||_0x5d9a94)&&_0x341c11[_0x3e382f]!==void 0x0?_0x1a1871=_0x341c11[_0x3e382f]:(_0x6f69c9=Buffer['from'](_0x6f69c9),_0x1a1871=_0x6f69c9[_0x50102d(0x209)]):(_0x1a1871=_0x6f69c9[_0x50102d(0x209)],_0x25c5c2=_0x341c11[_0x50102d(0x194)]&&_0x341c11[_0x50102d(0x192)]&&!_0x5d9a94);let _0x571554=_0x1a1871;_0x1a1871>=0x10000?(_0x549ee2+=0x8,_0x571554=0x7f):_0x1a1871>0x7d&&(_0x549ee2+=0x2,_0x571554=0x7e);const _0x20ecdc=Buffer[_0x50102d(0x311)](_0x25c5c2?_0x1a1871+_0x549ee2:_0x549ee2);return _0x20ecdc[0x0]=_0x341c11[_0x50102d(0x2b9)]?_0x341c11[_0x50102d(0x2ea)]|0x80:_0x341c11[_0x50102d(0x2ea)],_0x341c11['rsv1']&&(_0x20ecdc[0x0]|=0x40),_0x20ecdc[0x1]=_0x571554,_0x571554===0x7e?_0x20ecdc['writeUInt16BE'](_0x1a1871,0x2):_0x571554===0x7f&&(_0x20ecdc[0x2]=_0x20ecdc[0x3]=0x0,_0x20ecdc[_0x50102d(0x305)](_0x1a1871,0x4,0x6)),_0x341c11[_0x50102d(0x194)]?(_0x20ecdc[0x1]|=0x80,_0x20ecdc[_0x549ee2-0x4]=_0xe1c5b4[0x0],_0x20ecdc[_0x549ee2-0x3]=_0xe1c5b4[0x1],_0x20ecdc[_0x549ee2-0x2]=_0xe1c5b4[0x2],_0x20ecdc[_0x549ee2-0x1]=_0xe1c5b4[0x3],_0x5d9a94?[_0x20ecdc,_0x6f69c9]:_0x25c5c2?(_0x755e61(_0x6f69c9,_0xe1c5b4,_0x20ecdc,_0x549ee2,_0x1a1871),[_0x20ecdc]):(_0x755e61(_0x6f69c9,_0xe1c5b4,_0x6f69c9,0x0,_0x1a1871),[_0x20ecdc,_0x6f69c9])):[_0x20ecdc,_0x6f69c9];}[_0x3b2031(0x232)](_0x50da6a,_0x38a478,_0x1f5e72,_0x27d059){const _0x3e1544=_0x3b2031;let _0x1e0b91;if(_0x50da6a===void 0x0)_0x1e0b91=_0x3f12ed;else{if(typeof _0x50da6a!='number'||!_0x3c2abd(_0x50da6a))throw new TypeError(_0x3e1544(0x2f4));if(_0x38a478===void 0x0||!_0x38a478[_0x3e1544(0x209)])_0x1e0b91=Buffer[_0x3e1544(0x311)](0x2),_0x1e0b91[_0x3e1544(0x262)](_0x50da6a,0x0);else{const _0x3f98a4=Buffer[_0x3e1544(0x348)](_0x38a478);if(_0x3f98a4>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x1e0b91=Buffer[_0x3e1544(0x311)](0x2+_0x3f98a4),_0x1e0b91['writeUInt16BE'](_0x50da6a,0x0),typeof _0x38a478=='string'?_0x1e0b91[_0x3e1544(0x1c0)](_0x38a478,0x2):_0x1e0b91[_0x3e1544(0x299)](_0x38a478,0x2);}}const _0x403fa3={[_0x3e382f]:_0x1e0b91[_0x3e1544(0x209)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1f5e72,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3e1544(0x313)]!==_0x359207?this[_0x3e1544(0x1e8)]([this[_0x3e1544(0x214)],_0x1e0b91,!0x1,_0x403fa3,_0x27d059]):this['sendFrame'](_0x452cc8[_0x3e1544(0x245)](_0x1e0b91,_0x403fa3),_0x27d059);}[_0x3b2031(0x2e1)](_0x42b926,_0x260b0e,_0xfc4681){const _0x2af9bf=_0x3b2031;let _0xc1bb09,_0x4824bd;if(typeof _0x42b926==_0x2af9bf(0x335)?(_0xc1bb09=Buffer['byteLength'](_0x42b926),_0x4824bd=!0x1):_0x4f2fb6(_0x42b926)?(_0xc1bb09=_0x42b926[_0x2af9bf(0x338)],_0x4824bd=!0x1):(_0x42b926=_0x3f476c(_0x42b926),_0xc1bb09=_0x42b926['length'],_0x4824bd=_0x3f476c[_0x2af9bf(0x192)]),_0xc1bb09>0x7d)throw new RangeError(_0x2af9bf(0x33d));const _0x591140={[_0x3e382f]:_0xc1bb09,'fin':!0x0,'generateMask':this[_0x2af9bf(0x27a)],'mask':_0x260b0e,'maskBuffer':this[_0x2af9bf(0x216)],'opcode':0x9,'readOnly':_0x4824bd,'rsv1':!0x1};_0x4f2fb6(_0x42b926)?this['_state']!==_0x359207?this[_0x2af9bf(0x1e8)]([this[_0x2af9bf(0x185)],_0x42b926,!0x1,_0x591140,_0xfc4681]):this[_0x2af9bf(0x185)](_0x42b926,!0x1,_0x591140,_0xfc4681):this[_0x2af9bf(0x313)]!==_0x359207?this['enqueue']([this[_0x2af9bf(0x214)],_0x42b926,!0x1,_0x591140,_0xfc4681]):this[_0x2af9bf(0x323)](_0x452cc8[_0x2af9bf(0x245)](_0x42b926,_0x591140),_0xfc4681);}[_0x3b2031(0x229)](_0x4ac21e,_0x4d4f1f,_0x3e9630){const _0x49a32b=_0x3b2031;let _0x142984,_0x1ca19b;if(typeof _0x4ac21e=='string'?(_0x142984=Buffer[_0x49a32b(0x348)](_0x4ac21e),_0x1ca19b=!0x1):_0x4f2fb6(_0x4ac21e)?(_0x142984=_0x4ac21e[_0x49a32b(0x338)],_0x1ca19b=!0x1):(_0x4ac21e=_0x3f476c(_0x4ac21e),_0x142984=_0x4ac21e[_0x49a32b(0x209)],_0x1ca19b=_0x3f476c[_0x49a32b(0x192)]),_0x142984>0x7d)throw new RangeError(_0x49a32b(0x33d));const _0x4a263a={[_0x3e382f]:_0x142984,'fin':!0x0,'generateMask':this[_0x49a32b(0x27a)],'mask':_0x4d4f1f,'maskBuffer':this[_0x49a32b(0x216)],'opcode':0xa,'readOnly':_0x1ca19b,'rsv1':!0x1};_0x4f2fb6(_0x4ac21e)?this[_0x49a32b(0x313)]!==_0x359207?this[_0x49a32b(0x1e8)]([this[_0x49a32b(0x185)],_0x4ac21e,!0x1,_0x4a263a,_0x3e9630]):this['getBlobData'](_0x4ac21e,!0x1,_0x4a263a,_0x3e9630):this[_0x49a32b(0x313)]!==_0x359207?this['enqueue']([this[_0x49a32b(0x214)],_0x4ac21e,!0x1,_0x4a263a,_0x3e9630]):this[_0x49a32b(0x323)](_0x452cc8[_0x49a32b(0x245)](_0x4ac21e,_0x4a263a),_0x3e9630);}['send'](_0x1932c1,_0x5a5b12,_0x321fef){const _0x4d80fd=_0x3b2031,_0x54f880=this[_0x4d80fd(0x321)][_0x245655[_0x4d80fd(0x292)]];let _0x192e45=_0x5a5b12[_0x4d80fd(0x271)]?0x2:0x1,_0xb8ae46=_0x5a5b12[_0x4d80fd(0x21c)],_0x58b1e6,_0x7171bc;typeof _0x1932c1==_0x4d80fd(0x335)?(_0x58b1e6=Buffer[_0x4d80fd(0x348)](_0x1932c1),_0x7171bc=!0x1):_0x4f2fb6(_0x1932c1)?(_0x58b1e6=_0x1932c1['size'],_0x7171bc=!0x1):(_0x1932c1=_0x3f476c(_0x1932c1),_0x58b1e6=_0x1932c1[_0x4d80fd(0x209)],_0x7171bc=_0x3f476c['readOnly']),this[_0x4d80fd(0x28e)]?(this[_0x4d80fd(0x28e)]=!0x1,_0xb8ae46&&_0x54f880&&_0x54f880[_0x4d80fd(0x319)][_0x54f880[_0x4d80fd(0x30e)]?_0x4d80fd(0x314):'client_no_context_takeover']&&(_0xb8ae46=_0x58b1e6>=_0x54f880['_threshold']),this['_compress']=_0xb8ae46):(_0xb8ae46=!0x1,_0x192e45=0x0),_0x5a5b12[_0x4d80fd(0x2b9)]&&(this[_0x4d80fd(0x28e)]=!0x0);const _0x44243d={[_0x3e382f]:_0x58b1e6,'fin':_0x5a5b12['fin'],'generateMask':this['_generateMask'],'mask':_0x5a5b12[_0x4d80fd(0x194)],'maskBuffer':this['_maskBuffer'],'opcode':_0x192e45,'readOnly':_0x7171bc,'rsv1':_0xb8ae46};_0x4f2fb6(_0x1932c1)?this['_state']!==_0x359207?this['enqueue']([this[_0x4d80fd(0x185)],_0x1932c1,this[_0x4d80fd(0x1a2)],_0x44243d,_0x321fef]):this[_0x4d80fd(0x185)](_0x1932c1,this['_compress'],_0x44243d,_0x321fef):this[_0x4d80fd(0x313)]!==_0x359207?this[_0x4d80fd(0x1e8)]([this[_0x4d80fd(0x214)],_0x1932c1,this[_0x4d80fd(0x1a2)],_0x44243d,_0x321fef]):this[_0x4d80fd(0x214)](_0x1932c1,this[_0x4d80fd(0x1a2)],_0x44243d,_0x321fef);}[_0x3b2031(0x185)](_0x16cf68,_0x589387,_0x241e45,_0x117544){const _0x4f205d=_0x3b2031;this[_0x4f205d(0x240)]+=_0x241e45[_0x3e382f],this[_0x4f205d(0x313)]=_0x565d55,_0x16cf68[_0x4f205d(0x2b3)]()[_0x4f205d(0x29f)](_0x402fc1=>{const _0x548ee2=_0x4f205d;if(this[_0x548ee2(0x2f0)]['destroyed']){const _0x19653e=new Error(_0x548ee2(0x2c8));process[_0x548ee2(0x2af)](_0x394d67,this,_0x19653e,_0x117544);return;}this['_bufferedBytes']-=_0x241e45[_0x3e382f];const _0x5f5354=_0x3f476c(_0x402fc1);_0x589387?this[_0x548ee2(0x214)](_0x5f5354,_0x589387,_0x241e45,_0x117544):(this[_0x548ee2(0x313)]=_0x359207,this['sendFrame'](_0x452cc8[_0x548ee2(0x245)](_0x5f5354,_0x241e45),_0x117544),this['dequeue']());})[_0x4f205d(0x188)](_0x38fe65=>{const _0x41ec5a=_0x4f205d;process[_0x41ec5a(0x2af)](_0x55c043,this,_0x38fe65,_0x117544);});}[_0x3b2031(0x214)](_0x5d9c77,_0x1e9da6,_0x2f4066,_0x1c2b38){const _0x233dab=_0x3b2031;if(!_0x1e9da6){this['sendFrame'](_0x452cc8[_0x233dab(0x245)](_0x5d9c77,_0x2f4066),_0x1c2b38);return;}const _0x5661c7=this[_0x233dab(0x321)][_0x245655['extensionName']];this[_0x233dab(0x240)]+=_0x2f4066[_0x3e382f],this[_0x233dab(0x313)]=_0x3b7cbd,_0x5661c7[_0x233dab(0x21c)](_0x5d9c77,_0x2f4066['fin'],(_0x3dd43d,_0x35db3a)=>{const _0x24642f=_0x233dab;if(this[_0x24642f(0x2f0)]['destroyed']){const _0x1d9538=new Error(_0x24642f(0x1a9));_0x394d67(this,_0x1d9538,_0x1c2b38);return;}this['_bufferedBytes']-=_0x2f4066[_0x3e382f],this[_0x24642f(0x313)]=_0x359207,_0x2f4066['readOnly']=!0x1,this['sendFrame'](_0x452cc8[_0x24642f(0x245)](_0x35db3a,_0x2f4066),_0x1c2b38),this[_0x24642f(0x2a2)]();});}['dequeue'](){const _0x11c4ca=_0x3b2031;for(;this['_state']===_0x359207&&this[_0x11c4ca(0x244)][_0x11c4ca(0x209)];){const _0x179054=this[_0x11c4ca(0x244)][_0x11c4ca(0x2b5)]();this[_0x11c4ca(0x240)]-=_0x179054[0x3][_0x3e382f],Reflect[_0x11c4ca(0x306)](_0x179054[0x0],this,_0x179054[_0x11c4ca(0x1fc)](0x1));}}[_0x3b2031(0x1e8)](_0x46eb78){const _0x5927ff=_0x3b2031;this[_0x5927ff(0x240)]+=_0x46eb78[0x3][_0x3e382f],this['_queue'][_0x5927ff(0x296)](_0x46eb78);}[_0x3b2031(0x323)](_0x5e53f7,_0x573bba){const _0x2d3c49=_0x3b2031;_0x5e53f7['length']===0x2?(this['_socket']['cork'](),this[_0x2d3c49(0x2f0)][_0x2d3c49(0x1c0)](_0x5e53f7[0x0]),this[_0x2d3c49(0x2f0)][_0x2d3c49(0x1c0)](_0x5e53f7[0x1],_0x573bba),this[_0x2d3c49(0x2f0)]['uncork']()):this[_0x2d3c49(0x2f0)][_0x2d3c49(0x1c0)](_0x5e53f7[0x0],_0x573bba);}}Ee=_0x452cc8;function _0x394d67(_0x5140e6,_0x32541e,_0x15a8a0){const _0x16edf6=_0x3b2031;typeof _0x15a8a0==_0x16edf6(0x2e8)&&_0x15a8a0(_0x32541e);for(let _0x1c3784=0x0;_0x1c3784<_0x5140e6[_0x16edf6(0x244)]['length'];_0x1c3784++){const _0x5a615e=_0x5140e6['_queue'][_0x1c3784],_0x4c3503=_0x5a615e[_0x5a615e[_0x16edf6(0x209)]-0x1];typeof _0x4c3503==_0x16edf6(0x2e8)&&_0x4c3503(_0x32541e);}}function _0x55c043(_0x2c8a88,_0x5ef528,_0x5520fe){const _0x33f92a=_0x3b2031;_0x394d67(_0x2c8a88,_0x5ef528,_0x5520fe),_0x2c8a88[_0x33f92a(0x2de)](_0x5ef528);}return Ee;}var xe,Ze;function It(){const _0x29a61f=_0x589a17;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5723d3,kListener:_0x23e1c4}=H(),_0x49bc1c=Symbol('kCode'),_0x4073c9=Symbol(_0x29a61f(0x309)),_0x114276=Symbol('kError'),_0x452117=Symbol(_0x29a61f(0x2c2)),_0x165286=Symbol(_0x29a61f(0x2ba)),_0x2fd1c7=Symbol(_0x29a61f(0x1d8)),_0x570f2a=Symbol(_0x29a61f(0x324)),_0x7b9476=Symbol(_0x29a61f(0x263));class _0x42b8f8{constructor(_0xcdb8e7){this[_0x2fd1c7]=null,this[_0x570f2a]=_0xcdb8e7;}get[_0x29a61f(0x257)](){return this[_0x2fd1c7];}get[_0x29a61f(0x1d6)](){return this[_0x570f2a];}}Object[_0x29a61f(0x198)](_0x42b8f8[_0x29a61f(0x1f2)],_0x29a61f(0x257),{'enumerable':!0x0}),Object['defineProperty'](_0x42b8f8[_0x29a61f(0x1f2)],_0x29a61f(0x1d6),{'enumerable':!0x0});class _0x1f39d3 extends _0x42b8f8{constructor(_0x52aa01,_0x3906fe={}){const _0x1e1e77=_0x29a61f;super(_0x52aa01),this[_0x49bc1c]=_0x3906fe[_0x1e1e77(0x1a6)]===void 0x0?0x0:_0x3906fe[_0x1e1e77(0x1a6)],this[_0x165286]=_0x3906fe['reason']===void 0x0?'':_0x3906fe[_0x1e1e77(0x2f1)],this[_0x7b9476]=_0x3906fe[_0x1e1e77(0x33b)]===void 0x0?!0x1:_0x3906fe[_0x1e1e77(0x33b)];}get[_0x29a61f(0x1a6)](){return this[_0x49bc1c];}get[_0x29a61f(0x2f1)](){return this[_0x165286];}get[_0x29a61f(0x33b)](){return this[_0x7b9476];}}Object[_0x29a61f(0x198)](_0x1f39d3[_0x29a61f(0x1f2)],'code',{'enumerable':!0x0}),Object[_0x29a61f(0x198)](_0x1f39d3['prototype'],_0x29a61f(0x2f1),{'enumerable':!0x0}),Object[_0x29a61f(0x198)](_0x1f39d3[_0x29a61f(0x1f2)],'wasClean',{'enumerable':!0x0});class _0x38c20c extends _0x42b8f8{constructor(_0x6b7fbf,_0x8f002d={}){const _0x4fd492=_0x29a61f;super(_0x6b7fbf),this[_0x114276]=_0x8f002d['error']===void 0x0?null:_0x8f002d[_0x4fd492(0x19b)],this[_0x452117]=_0x8f002d[_0x4fd492(0x2e7)]===void 0x0?'':_0x8f002d[_0x4fd492(0x2e7)];}get[_0x29a61f(0x19b)](){return this[_0x114276];}get[_0x29a61f(0x2e7)](){return this[_0x452117];}}Object['defineProperty'](_0x38c20c[_0x29a61f(0x1f2)],'error',{'enumerable':!0x0}),Object[_0x29a61f(0x198)](_0x38c20c[_0x29a61f(0x1f2)],'message',{'enumerable':!0x0});class _0x49dbd5 extends _0x42b8f8{constructor(_0x3f6e0c,_0x171c1b={}){const _0x183fc5=_0x29a61f;super(_0x3f6e0c),this[_0x4073c9]=_0x171c1b[_0x183fc5(0x20f)]===void 0x0?null:_0x171c1b[_0x183fc5(0x20f)];}get[_0x29a61f(0x20f)](){return this[_0x4073c9];}}Object[_0x29a61f(0x198)](_0x49dbd5[_0x29a61f(0x1f2)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1f39d3,'ErrorEvent':_0x38c20c,'Event':_0x42b8f8,'EventTarget':{'addEventListener'(_0x146cec,_0x3fd123,_0x85ab21={}){const _0x3211c8=_0x29a61f;for(const _0x370f84 of this[_0x3211c8(0x1d4)](_0x146cec))if(!_0x85ab21[_0x5723d3]&&_0x370f84[_0x23e1c4]===_0x3fd123&&!_0x370f84[_0x5723d3])return;let _0x21a5b6;if(_0x146cec===_0x3211c8(0x2e7))_0x21a5b6=function(_0x193d2e,_0x5a4f01){const _0x5813c4=_0x3211c8,_0x15d1b4=new _0x49dbd5(_0x5813c4(0x2e7),{'data':_0x5a4f01?_0x193d2e:_0x193d2e['toString']()});_0x15d1b4[_0x2fd1c7]=this,_0x203fb7(_0x3fd123,this,_0x15d1b4);};else{if(_0x146cec===_0x3211c8(0x232))_0x21a5b6=function(_0x4c63dc,_0x3332ab){const _0x43ae35=_0x3211c8,_0x24df1d=new _0x1f39d3('close',{'code':_0x4c63dc,'reason':_0x3332ab['toString'](),'wasClean':this[_0x43ae35(0x197)]&&this[_0x43ae35(0x1cb)]});_0x24df1d[_0x2fd1c7]=this,_0x203fb7(_0x3fd123,this,_0x24df1d);};else{if(_0x146cec==='error')_0x21a5b6=function(_0x5af4d9){const _0x330a57=_0x3211c8,_0x51e23e=new _0x38c20c(_0x330a57(0x19b),{'error':_0x5af4d9,'message':_0x5af4d9[_0x330a57(0x2e7)]});_0x51e23e[_0x2fd1c7]=this,_0x203fb7(_0x3fd123,this,_0x51e23e);};else{if(_0x146cec===_0x3211c8(0x283))_0x21a5b6=function(){const _0x12fd14=_0x3211c8,_0x42624c=new _0x42b8f8(_0x12fd14(0x283));_0x42624c[_0x2fd1c7]=this,_0x203fb7(_0x3fd123,this,_0x42624c);};else return;}}}_0x21a5b6[_0x5723d3]=!!_0x85ab21[_0x5723d3],_0x21a5b6[_0x23e1c4]=_0x3fd123,_0x85ab21['once']?this[_0x3211c8(0x304)](_0x146cec,_0x21a5b6):this['on'](_0x146cec,_0x21a5b6);},'removeEventListener'(_0x5dcbad,_0x23e845){const _0x36ee4c=_0x29a61f;for(const _0x5a2ea8 of this[_0x36ee4c(0x1d4)](_0x5dcbad))if(_0x5a2ea8[_0x23e1c4]===_0x23e845&&!_0x5a2ea8[_0x5723d3]){this[_0x36ee4c(0x2b2)](_0x5dcbad,_0x5a2ea8);break;}}},'MessageEvent':_0x49dbd5};function _0x203fb7(_0x116f2f,_0x4e153e,_0x375863){const _0x3da56d=_0x29a61f;typeof _0x116f2f==_0x3da56d(0x18e)&&_0x116f2f[_0x3da56d(0x2cd)]?_0x116f2f['handleEvent'][_0x3da56d(0x293)](_0x116f2f,_0x375863):_0x116f2f['call'](_0x4e153e,_0x375863);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x269a31}=ae();function _0x10bf13(_0x1272b6,_0x4b68d7,_0x5d57ba){_0x1272b6[_0x4b68d7]===void 0x0?_0x1272b6[_0x4b68d7]=[_0x5d57ba]:_0x1272b6[_0x4b68d7]['push'](_0x5d57ba);}function _0x304978(_0x126320){const _0x23af94=_0x3d1f,_0x541ce2=Object[_0x23af94(0x1c6)](null);let _0x31a550=Object[_0x23af94(0x1c6)](null),_0x4da53d=!0x1,_0x4d69a1=!0x1,_0x54bb2d=!0x1,_0x3a10d3,_0x3c69ef,_0x57ad79=-0x1,_0x105ea1=-0x1,_0x1ec737=-0x1,_0x1110c1=0x0;for(;_0x1110c1<_0x126320[_0x23af94(0x209)];_0x1110c1++)if(_0x105ea1=_0x126320[_0x23af94(0x2dd)](_0x1110c1),_0x3a10d3===void 0x0){if(_0x1ec737===-0x1&&_0x269a31[_0x105ea1]===0x1)_0x57ad79===-0x1&&(_0x57ad79=_0x1110c1);else{if(_0x1110c1!==0x0&&(_0x105ea1===0x20||_0x105ea1===0x9))_0x1ec737===-0x1&&_0x57ad79!==-0x1&&(_0x1ec737=_0x1110c1);else{if(_0x105ea1===0x3b||_0x105ea1===0x2c){if(_0x57ad79===-0x1)throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);_0x1ec737===-0x1&&(_0x1ec737=_0x1110c1);const _0x463585=_0x126320[_0x23af94(0x1fc)](_0x57ad79,_0x1ec737);_0x105ea1===0x2c?(_0x10bf13(_0x541ce2,_0x463585,_0x31a550),_0x31a550=Object[_0x23af94(0x1c6)](null)):_0x3a10d3=_0x463585,_0x57ad79=_0x1ec737=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1110c1);}}}else{if(_0x3c69ef===void 0x0){if(_0x1ec737===-0x1&&_0x269a31[_0x105ea1]===0x1)_0x57ad79===-0x1&&(_0x57ad79=_0x1110c1);else{if(_0x105ea1===0x20||_0x105ea1===0x9)_0x1ec737===-0x1&&_0x57ad79!==-0x1&&(_0x1ec737=_0x1110c1);else{if(_0x105ea1===0x3b||_0x105ea1===0x2c){if(_0x57ad79===-0x1)throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);_0x1ec737===-0x1&&(_0x1ec737=_0x1110c1),_0x10bf13(_0x31a550,_0x126320['slice'](_0x57ad79,_0x1ec737),!0x0),_0x105ea1===0x2c&&(_0x10bf13(_0x541ce2,_0x3a10d3,_0x31a550),_0x31a550=Object[_0x23af94(0x1c6)](null),_0x3a10d3=void 0x0),_0x57ad79=_0x1ec737=-0x1;}else{if(_0x105ea1===0x3d&&_0x57ad79!==-0x1&&_0x1ec737===-0x1)_0x3c69ef=_0x126320[_0x23af94(0x1fc)](_0x57ad79,_0x1110c1),_0x57ad79=_0x1ec737=-0x1;else throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);}}}}else{if(_0x4d69a1){if(_0x269a31[_0x105ea1]!==0x1)throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);_0x57ad79===-0x1?_0x57ad79=_0x1110c1:_0x4da53d||(_0x4da53d=!0x0),_0x4d69a1=!0x1;}else{if(_0x54bb2d){if(_0x269a31[_0x105ea1]===0x1)_0x57ad79===-0x1&&(_0x57ad79=_0x1110c1);else{if(_0x105ea1===0x22&&_0x57ad79!==-0x1)_0x54bb2d=!0x1,_0x1ec737=_0x1110c1;else{if(_0x105ea1===0x5c)_0x4d69a1=!0x0;else throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);}}}else{if(_0x105ea1===0x22&&_0x126320[_0x23af94(0x2dd)](_0x1110c1-0x1)===0x3d)_0x54bb2d=!0x0;else{if(_0x1ec737===-0x1&&_0x269a31[_0x105ea1]===0x1)_0x57ad79===-0x1&&(_0x57ad79=_0x1110c1);else{if(_0x57ad79!==-0x1&&(_0x105ea1===0x20||_0x105ea1===0x9))_0x1ec737===-0x1&&(_0x1ec737=_0x1110c1);else{if(_0x105ea1===0x3b||_0x105ea1===0x2c){if(_0x57ad79===-0x1)throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);_0x1ec737===-0x1&&(_0x1ec737=_0x1110c1);let _0x5cc08b=_0x126320[_0x23af94(0x1fc)](_0x57ad79,_0x1ec737);_0x4da53d&&(_0x5cc08b=_0x5cc08b[_0x23af94(0x2ad)](/\\/g,''),_0x4da53d=!0x1),_0x10bf13(_0x31a550,_0x3c69ef,_0x5cc08b),_0x105ea1===0x2c&&(_0x10bf13(_0x541ce2,_0x3a10d3,_0x31a550),_0x31a550=Object[_0x23af94(0x1c6)](null),_0x3a10d3=void 0x0),_0x3c69ef=void 0x0,_0x57ad79=_0x1ec737=-0x1;}else throw new SyntaxError(_0x23af94(0x2df)+_0x1110c1);}}}}}}}if(_0x57ad79===-0x1||_0x54bb2d||_0x105ea1===0x20||_0x105ea1===0x9)throw new SyntaxError(_0x23af94(0x1c8));_0x1ec737===-0x1&&(_0x1ec737=_0x1110c1);const _0x3a7428=_0x126320[_0x23af94(0x1fc)](_0x57ad79,_0x1ec737);return _0x3a10d3===void 0x0?_0x10bf13(_0x541ce2,_0x3a7428,_0x31a550):(_0x3c69ef===void 0x0?_0x10bf13(_0x31a550,_0x3a7428,!0x0):_0x4da53d?_0x10bf13(_0x31a550,_0x3c69ef,_0x3a7428[_0x23af94(0x2ad)](/\\/g,'')):_0x10bf13(_0x31a550,_0x3c69ef,_0x3a7428),_0x10bf13(_0x541ce2,_0x3a10d3,_0x31a550)),_0x541ce2;}function _0xf8e264(_0x3ed964){const _0x47746e=_0x3d1f;return Object[_0x47746e(0x19e)](_0x3ed964)[_0x47746e(0x27b)](_0x5ec4e2=>{const _0xdade1a=_0x47746e;let _0x172477=_0x3ed964[_0x5ec4e2];return Array[_0xdade1a(0x1bd)](_0x172477)||(_0x172477=[_0x172477]),_0x172477['map'](_0x7797d9=>[_0x5ec4e2]['concat'](Object[_0xdade1a(0x19e)](_0x7797d9)[_0xdade1a(0x27b)](_0x3540c0=>{const _0x307859=_0xdade1a;let _0x1e42b8=_0x7797d9[_0x3540c0];return Array['isArray'](_0x1e42b8)||(_0x1e42b8=[_0x1e42b8]),_0x1e42b8[_0x307859(0x27b)](_0x28833f=>_0x28833f===!0x0?_0x3540c0:_0x3540c0+'='+_0x28833f)['join'](';\x20');}))[_0xdade1a(0x32c)](';\x20'))[_0xdade1a(0x32c)](',\x20');})[_0x47746e(0x32c)](',\x20');}return be={'format':_0xf8e264,'parse':_0x304978},be;}var we,Je;function Pe(){const _0x22a016=_0x589a17;if(Je)return we;Je=0x1;const _0x499d42=nt,_0x5abc00=vt,_0xe210a1=ot,_0x16b796=St,_0xd47afd=Et,{randomBytes:_0x4887b5,createHash:_0x24b070}=Le,{Duplex:_0x2c3ac9,Readable:_0x3b3667}=oe,{URL:_0x5bdc16}=xt,_0xeb37b0=he(),_0x791def=lt(),_0x4f6e8c=ft(),{isBlob:_0x3b0c2a}=ae(),{BINARY_TYPES:_0x178534,EMPTY_BUFFER:_0x5d3e01,GUID:_0x1f9454,kForOnEventAttribute:_0x44ec44,kListener:_0x2ac881,kStatusCode:_0x346e72,kWebSocket:_0xd1bed0,NOOP:_0x2dc1c5}=H(),{EventTarget:{addEventListener:_0x4bd4e1,removeEventListener:_0x1fd3de}}=It(),{format:_0x4f6a2e,parse:_0x1a034c}=ct(),{toBuffer:_0x472665}=ce(),_0x4d5c0b=0x1e*0x3e8,_0x2728da=Symbol(_0x22a016(0x1ce)),_0x271cbb=[0x8,0xd],_0x1efeb2=[_0x22a016(0x211),_0x22a016(0x2b8),_0x22a016(0x2fd),_0x22a016(0x1cf)],_0x5e117e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x23dc1c extends _0x499d42{constructor(_0x253c3c,_0x4fd63b,_0x14d287){const _0x480b7b=_0x22a016;super(),this[_0x480b7b(0x1c3)]=_0x178534[0x0],this[_0x480b7b(0x25c)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x480b7b(0x1cb)]=!0x1,this['_closeMessage']=_0x5d3e01,this[_0x480b7b(0x1e5)]=null,this[_0x480b7b(0x1cd)]=!0x1,this[_0x480b7b(0x321)]={},this['_paused']=!0x1,this[_0x480b7b(0x1a1)]='',this['_readyState']=_0x23dc1c['CONNECTING'],this[_0x480b7b(0x266)]=null,this['_sender']=null,this[_0x480b7b(0x2f0)]=null,_0x253c3c!==null?(this[_0x480b7b(0x291)]=0x0,this[_0x480b7b(0x30e)]=!0x1,this[_0x480b7b(0x342)]=0x0,_0x4fd63b===void 0x0?_0x4fd63b=[]:Array[_0x480b7b(0x1bd)](_0x4fd63b)||(typeof _0x4fd63b==_0x480b7b(0x18e)&&_0x4fd63b!==null?(_0x14d287=_0x4fd63b,_0x4fd63b=[]):_0x4fd63b=[_0x4fd63b]),_0x52724c(this,_0x253c3c,_0x4fd63b,_0x14d287)):(this[_0x480b7b(0x1d7)]=_0x14d287[_0x480b7b(0x1b4)],this['_isServer']=!0x0);}get[_0x22a016(0x284)](){const _0x4631c2=_0x22a016;return this[_0x4631c2(0x1c3)];}set[_0x22a016(0x284)](_0x5ced1e){const _0x26631e=_0x22a016;_0x178534[_0x26631e(0x27d)](_0x5ced1e)&&(this[_0x26631e(0x1c3)]=_0x5ced1e,this[_0x26631e(0x266)]&&(this[_0x26631e(0x266)][_0x26631e(0x1c3)]=_0x5ced1e));}get['bufferedAmount'](){const _0x34f14b=_0x22a016;return this['_socket']?this[_0x34f14b(0x2f0)][_0x34f14b(0x204)][_0x34f14b(0x209)]+this[_0x34f14b(0x255)]['_bufferedBytes']:this[_0x34f14b(0x291)];}get[_0x22a016(0x238)](){const _0x4f8c44=_0x22a016;return Object[_0x4f8c44(0x19e)](this[_0x4f8c44(0x321)])[_0x4f8c44(0x32c)]();}get['isPaused'](){const _0x3b7811=_0x22a016;return this[_0x3b7811(0x31c)];}get[_0x22a016(0x2f5)](){return null;}get[_0x22a016(0x2de)](){return null;}get[_0x22a016(0x2bf)](){return null;}get[_0x22a016(0x2aa)](){return null;}get[_0x22a016(0x30a)](){return this['_protocol'];}get[_0x22a016(0x2d8)](){return this['_readyState'];}get[_0x22a016(0x1e1)](){const _0x159186=_0x22a016;return this[_0x159186(0x206)];}['setSocket'](_0x15324e,_0x4d252b,_0x1badf0){const _0x3a0f26=_0x22a016,_0x4c159d=new _0x791def({'allowSynchronousEvents':_0x1badf0[_0x3a0f26(0x1f7)],'binaryType':this[_0x3a0f26(0x284)],'extensions':this[_0x3a0f26(0x321)],'isServer':this[_0x3a0f26(0x30e)],'maxPayload':_0x1badf0[_0x3a0f26(0x249)],'skipUTF8Validation':_0x1badf0[_0x3a0f26(0x221)]}),_0x9fa75e=new _0x4f6e8c(_0x15324e,this[_0x3a0f26(0x321)],_0x1badf0[_0x3a0f26(0x1b1)]);this[_0x3a0f26(0x266)]=_0x4c159d,this[_0x3a0f26(0x255)]=_0x9fa75e,this[_0x3a0f26(0x2f0)]=_0x15324e,_0x4c159d[_0xd1bed0]=this,_0x9fa75e[_0xd1bed0]=this,_0x15324e[_0xd1bed0]=this,_0x4c159d['on']('conclude',_0x11367a),_0x4c159d['on'](_0x3a0f26(0x272),_0x35ab21),_0x4c159d['on'](_0x3a0f26(0x19b),_0x2cbdac),_0x4c159d['on'](_0x3a0f26(0x2e7),_0x2da819),_0x4c159d['on'](_0x3a0f26(0x2e1),_0x3f777c),_0x4c159d['on']('pong',_0x335958),_0x9fa75e['onerror']=_0x169b1e,_0x15324e[_0x3a0f26(0x24f)]&&_0x15324e[_0x3a0f26(0x24f)](0x0),_0x15324e['setNoDelay']&&_0x15324e['setNoDelay'](),_0x4d252b[_0x3a0f26(0x209)]>0x0&&_0x15324e[_0x3a0f26(0x28c)](_0x4d252b),_0x15324e['on'](_0x3a0f26(0x232),_0x5a78ac),_0x15324e['on'](_0x3a0f26(0x20f),_0x2dc79d),_0x15324e['on']('end',_0x16b097),_0x15324e['on']('error',_0x19e234),this[_0x3a0f26(0x28a)]=_0x23dc1c[_0x3a0f26(0x2b8)],this[_0x3a0f26(0x286)](_0x3a0f26(0x283));}['emitClose'](){const _0x191b4a=_0x22a016;if(!this[_0x191b4a(0x2f0)]){this[_0x191b4a(0x28a)]=_0x23dc1c['CLOSED'],this[_0x191b4a(0x286)]('close',this['_closeCode'],this[_0x191b4a(0x334)]);return;}this[_0x191b4a(0x321)][_0xeb37b0[_0x191b4a(0x292)]]&&this['_extensions'][_0xeb37b0[_0x191b4a(0x292)]][_0x191b4a(0x1f6)](),this[_0x191b4a(0x266)]['removeAllListeners'](),this[_0x191b4a(0x28a)]=_0x23dc1c[_0x191b4a(0x1cf)],this[_0x191b4a(0x286)](_0x191b4a(0x232),this['_closeCode'],this['_closeMessage']);}['close'](_0x137257,_0x1d88fc){const _0x540053=_0x22a016;if(this[_0x540053(0x2d8)]!==_0x23dc1c[_0x540053(0x1cf)]){if(this['readyState']===_0x23dc1c[_0x540053(0x211)]){_0x499583(this,this['_req'],_0x540053(0x24a));return;}if(this[_0x540053(0x2d8)]===_0x23dc1c[_0x540053(0x2fd)]){this[_0x540053(0x1cb)]&&(this[_0x540053(0x197)]||this[_0x540053(0x266)][_0x540053(0x204)][_0x540053(0x230)])&&this[_0x540053(0x2f0)]['end']();return;}this[_0x540053(0x28a)]=_0x23dc1c['CLOSING'],this[_0x540053(0x255)][_0x540053(0x232)](_0x137257,_0x1d88fc,!this[_0x540053(0x30e)],_0x1c7194=>{const _0x5f0e04=_0x540053;_0x1c7194||(this['_closeFrameSent']=!0x0,(this[_0x5f0e04(0x197)]||this[_0x5f0e04(0x266)][_0x5f0e04(0x204)][_0x5f0e04(0x230)])&&this[_0x5f0e04(0x2f0)]['end']());}),_0x573c38(this);}}['pause'](){const _0x53808f=_0x22a016;this[_0x53808f(0x2d8)]===_0x23dc1c[_0x53808f(0x211)]||this[_0x53808f(0x2d8)]===_0x23dc1c['CLOSED']||(this[_0x53808f(0x31c)]=!0x0,this[_0x53808f(0x2f0)][_0x53808f(0x1de)]());}['ping'](_0x34c4bf,_0x7f4461,_0x6d9eee){const _0x150718=_0x22a016;if(this[_0x150718(0x2d8)]===_0x23dc1c[_0x150718(0x211)])throw new Error(_0x150718(0x269));if(typeof _0x34c4bf==_0x150718(0x2e8)?(_0x6d9eee=_0x34c4bf,_0x34c4bf=_0x7f4461=void 0x0):typeof _0x7f4461=='function'&&(_0x6d9eee=_0x7f4461,_0x7f4461=void 0x0),typeof _0x34c4bf=='number'&&(_0x34c4bf=_0x34c4bf[_0x150718(0x26d)]()),this[_0x150718(0x2d8)]!==_0x23dc1c[_0x150718(0x2b8)]){_0x2149ea(this,_0x34c4bf,_0x6d9eee);return;}_0x7f4461===void 0x0&&(_0x7f4461=!this[_0x150718(0x30e)]),this[_0x150718(0x255)]['ping'](_0x34c4bf||_0x5d3e01,_0x7f4461,_0x6d9eee);}[_0x22a016(0x229)](_0x4c2e16,_0x29c8dd,_0x3e2afd){const _0x635ef=_0x22a016;if(this[_0x635ef(0x2d8)]===_0x23dc1c[_0x635ef(0x211)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4c2e16==_0x635ef(0x2e8)?(_0x3e2afd=_0x4c2e16,_0x4c2e16=_0x29c8dd=void 0x0):typeof _0x29c8dd=='function'&&(_0x3e2afd=_0x29c8dd,_0x29c8dd=void 0x0),typeof _0x4c2e16==_0x635ef(0x242)&&(_0x4c2e16=_0x4c2e16[_0x635ef(0x26d)]()),this['readyState']!==_0x23dc1c[_0x635ef(0x2b8)]){_0x2149ea(this,_0x4c2e16,_0x3e2afd);return;}_0x29c8dd===void 0x0&&(_0x29c8dd=!this[_0x635ef(0x30e)]),this['_sender'][_0x635ef(0x229)](_0x4c2e16||_0x5d3e01,_0x29c8dd,_0x3e2afd);}[_0x22a016(0x1b2)](){const _0x3fa0cf=_0x22a016;this[_0x3fa0cf(0x2d8)]===_0x23dc1c[_0x3fa0cf(0x211)]||this[_0x3fa0cf(0x2d8)]===_0x23dc1c[_0x3fa0cf(0x1cf)]||(this[_0x3fa0cf(0x31c)]=!0x1,this['_receiver'][_0x3fa0cf(0x204)][_0x3fa0cf(0x2d3)]||this[_0x3fa0cf(0x2f0)]['resume']());}[_0x22a016(0x1ff)](_0x4c34ab,_0x4a6864,_0x451acc){const _0x5d85e1=_0x22a016;if(this[_0x5d85e1(0x2d8)]===_0x23dc1c[_0x5d85e1(0x211)])throw new Error(_0x5d85e1(0x269));if(typeof _0x4a6864=='function'&&(_0x451acc=_0x4a6864,_0x4a6864={}),typeof _0x4c34ab==_0x5d85e1(0x242)&&(_0x4c34ab=_0x4c34ab['toString']()),this['readyState']!==_0x23dc1c[_0x5d85e1(0x2b8)]){_0x2149ea(this,_0x4c34ab,_0x451acc);return;}const _0x589252={'binary':typeof _0x4c34ab!=_0x5d85e1(0x335),'mask':!this[_0x5d85e1(0x30e)],'compress':!0x0,'fin':!0x0,..._0x4a6864};this[_0x5d85e1(0x321)][_0xeb37b0['extensionName']]||(_0x589252[_0x5d85e1(0x21c)]=!0x1),this[_0x5d85e1(0x255)][_0x5d85e1(0x1ff)](_0x4c34ab||_0x5d3e01,_0x589252,_0x451acc);}[_0x22a016(0x281)](){const _0x29db21=_0x22a016;if(this[_0x29db21(0x2d8)]!==_0x23dc1c[_0x29db21(0x1cf)]){if(this[_0x29db21(0x2d8)]===_0x23dc1c[_0x29db21(0x211)]){_0x499583(this,this[_0x29db21(0x22a)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x29db21(0x2f0)]&&(this['_readyState']=_0x23dc1c['CLOSING'],this['_socket'][_0x29db21(0x32f)]());}}}Object[_0x22a016(0x198)](_0x23dc1c,_0x22a016(0x211),{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)](_0x22a016(0x211))}),Object[_0x22a016(0x198)](_0x23dc1c[_0x22a016(0x1f2)],_0x22a016(0x211),{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)](_0x22a016(0x211))}),Object[_0x22a016(0x198)](_0x23dc1c,_0x22a016(0x2b8),{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)]('OPEN')}),Object[_0x22a016(0x198)](_0x23dc1c[_0x22a016(0x1f2)],_0x22a016(0x2b8),{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)](_0x22a016(0x2b8))}),Object[_0x22a016(0x198)](_0x23dc1c,'CLOSING',{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)](_0x22a016(0x2fd))}),Object[_0x22a016(0x198)](_0x23dc1c[_0x22a016(0x1f2)],_0x22a016(0x2fd),{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)](_0x22a016(0x2fd))}),Object[_0x22a016(0x198)](_0x23dc1c,'CLOSED',{'enumerable':!0x0,'value':_0x1efeb2[_0x22a016(0x294)]('CLOSED')}),Object[_0x22a016(0x198)](_0x23dc1c['prototype'],_0x22a016(0x1cf),{'enumerable':!0x0,'value':_0x1efeb2['indexOf'](_0x22a016(0x1cf))}),[_0x22a016(0x284),_0x22a016(0x330),_0x22a016(0x238),_0x22a016(0x1a0),_0x22a016(0x30a),_0x22a016(0x2d8),'url'][_0x22a016(0x25b)](_0xe22d87=>{const _0x1729d3=_0x22a016;Object[_0x1729d3(0x198)](_0x23dc1c[_0x1729d3(0x1f2)],_0xe22d87,{'enumerable':!0x0});}),[_0x22a016(0x283),_0x22a016(0x19b),'close',_0x22a016(0x2e7)][_0x22a016(0x25b)](_0x30326b=>{const _0x207b06=_0x22a016;Object[_0x207b06(0x198)](_0x23dc1c['prototype'],'on'+_0x30326b,{'enumerable':!0x0,'get'(){const _0x3f9840=_0x207b06;for(const _0x564044 of this[_0x3f9840(0x1d4)](_0x30326b))if(_0x564044[_0x44ec44])return _0x564044[_0x2ac881];return null;},'set'(_0x2db1ba){const _0xf36cbc=_0x207b06;for(const _0x4bc8b1 of this[_0xf36cbc(0x1d4)](_0x30326b))if(_0x4bc8b1[_0x44ec44]){this[_0xf36cbc(0x2b2)](_0x30326b,_0x4bc8b1);break;}typeof _0x2db1ba==_0xf36cbc(0x2e8)&&this[_0xf36cbc(0x276)](_0x30326b,_0x2db1ba,{[_0x44ec44]:!0x0});}});}),_0x23dc1c[_0x22a016(0x1f2)]['addEventListener']=_0x4bd4e1,_0x23dc1c[_0x22a016(0x1f2)][_0x22a016(0x1b3)]=_0x1fd3de,we=_0x23dc1c;function _0x52724c(_0x447bf1,_0x41167a,_0x58e763,_0x11c690){const _0x4534ba=_0x22a016,_0x23830b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x271cbb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x11c690,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4534ba(0x28d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x447bf1['_autoPong']=_0x23830b[_0x4534ba(0x1b4)],!_0x271cbb[_0x4534ba(0x27d)](_0x23830b[_0x4534ba(0x2e3)]))throw new RangeError(_0x4534ba(0x1f4)+_0x23830b[_0x4534ba(0x2e3)]+_0x4534ba(0x196)+_0x271cbb[_0x4534ba(0x32c)](',\x20')+')');let _0x5907cc;if(_0x41167a instanceof _0x5bdc16)_0x5907cc=_0x41167a;else try{_0x5907cc=new _0x5bdc16(_0x41167a);}catch{throw new SyntaxError(_0x4534ba(0x297)+_0x41167a);}_0x5907cc[_0x4534ba(0x30a)]===_0x4534ba(0x2a1)?_0x5907cc['protocol']=_0x4534ba(0x2ca):_0x5907cc[_0x4534ba(0x30a)]===_0x4534ba(0x234)&&(_0x5907cc[_0x4534ba(0x30a)]=_0x4534ba(0x1b6)),_0x447bf1[_0x4534ba(0x206)]=_0x5907cc[_0x4534ba(0x213)];const _0x5bffaf=_0x5907cc[_0x4534ba(0x30a)]===_0x4534ba(0x1b6),_0x421d86=_0x5907cc[_0x4534ba(0x30a)]===_0x4534ba(0x303);let _0x2272c5;if(_0x5907cc[_0x4534ba(0x30a)]!==_0x4534ba(0x2ca)&&!_0x5bffaf&&!_0x421d86?_0x2272c5=_0x4534ba(0x345):_0x421d86&&!_0x5907cc['pathname']?_0x2272c5='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x5907cc[_0x4534ba(0x2e4)]&&(_0x2272c5=_0x4534ba(0x195)),_0x2272c5){const _0x265b44=new SyntaxError(_0x2272c5);if(_0x447bf1[_0x4534ba(0x342)]===0x0)throw _0x265b44;_0xd9e266(_0x447bf1,_0x265b44);return;}const _0x28a9b5=_0x5bffaf?0x1bb:0x50,_0x29d12e=_0x4887b5(0x10)['toString'](_0x4534ba(0x19f)),_0x697f9e=_0x5bffaf?_0x5abc00[_0x4534ba(0x329)]:_0xe210a1[_0x4534ba(0x329)],_0x48c970=new Set();let _0x12a922;if(_0x23830b[_0x4534ba(0x333)]=_0x23830b[_0x4534ba(0x333)]||(_0x5bffaf?_0x4938db:_0x71bf9b),_0x23830b[_0x4534ba(0x226)]=_0x23830b['defaultPort']||_0x28a9b5,_0x23830b[_0x4534ba(0x275)]=_0x5907cc['port']||_0x28a9b5,_0x23830b[_0x4534ba(0x2ce)]=_0x5907cc[_0x4534ba(0x18a)][_0x4534ba(0x26f)]('[')?_0x5907cc[_0x4534ba(0x18a)][_0x4534ba(0x1fc)](0x1,-0x1):_0x5907cc[_0x4534ba(0x18a)],_0x23830b[_0x4534ba(0x273)]={..._0x23830b[_0x4534ba(0x273)],'Sec-WebSocket-Version':_0x23830b['protocolVersion'],'Sec-WebSocket-Key':_0x29d12e,'Connection':_0x4534ba(0x332),'Upgrade':'websocket'},_0x23830b[_0x4534ba(0x1b5)]=_0x5907cc['pathname']+_0x5907cc[_0x4534ba(0x2c5)],_0x23830b[_0x4534ba(0x20c)]=_0x23830b[_0x4534ba(0x22b)],_0x23830b['perMessageDeflate']&&(_0x12a922=new _0xeb37b0(_0x23830b['perMessageDeflate']!==!0x0?_0x23830b['perMessageDeflate']:{},!0x1,_0x23830b[_0x4534ba(0x249)]),_0x23830b[_0x4534ba(0x273)][_0x4534ba(0x33e)]=_0x4f6a2e({[_0xeb37b0['extensionName']]:_0x12a922[_0x4534ba(0x258)]()})),_0x58e763[_0x4534ba(0x209)]){for(const _0x393601 of _0x58e763){if(typeof _0x393601!=_0x4534ba(0x335)||!_0x5e117e[_0x4534ba(0x193)](_0x393601)||_0x48c970[_0x4534ba(0x252)](_0x393601))throw new SyntaxError(_0x4534ba(0x21b));_0x48c970[_0x4534ba(0x184)](_0x393601);}_0x23830b[_0x4534ba(0x273)][_0x4534ba(0x253)]=_0x58e763[_0x4534ba(0x32c)](',');}if(_0x23830b['origin']&&(_0x23830b['protocolVersion']<0xd?_0x23830b[_0x4534ba(0x273)][_0x4534ba(0x250)]=_0x23830b[_0x4534ba(0x33a)]:_0x23830b['headers'][_0x4534ba(0x277)]=_0x23830b[_0x4534ba(0x33a)]),(_0x5907cc[_0x4534ba(0x1d1)]||_0x5907cc[_0x4534ba(0x340)])&&(_0x23830b[_0x4534ba(0x2bd)]=_0x5907cc[_0x4534ba(0x1d1)]+':'+_0x5907cc['password']),_0x421d86){const _0x474cb8=_0x23830b[_0x4534ba(0x1b5)]['split'](':');_0x23830b[_0x4534ba(0x2fc)]=_0x474cb8[0x0],_0x23830b['path']=_0x474cb8[0x1];}let _0x2ee0d3;if(_0x23830b[_0x4534ba(0x1d5)]){if(_0x447bf1[_0x4534ba(0x342)]===0x0){_0x447bf1['_originalIpc']=_0x421d86,_0x447bf1[_0x4534ba(0x2fa)]=_0x5bffaf,_0x447bf1[_0x4534ba(0x347)]=_0x421d86?_0x23830b[_0x4534ba(0x2fc)]:_0x5907cc[_0x4534ba(0x2ce)];const _0x18a94a=_0x11c690&&_0x11c690[_0x4534ba(0x273)];if(_0x11c690={..._0x11c690,'headers':{}},_0x18a94a){for(const [_0x1297d0,_0x4ceb0c]of Object[_0x4534ba(0x287)](_0x18a94a))_0x11c690[_0x4534ba(0x273)][_0x1297d0['toLowerCase']()]=_0x4ceb0c;}}else{if(_0x447bf1[_0x4534ba(0x23a)](_0x4534ba(0x251))===0x0){const _0x12f0c5=_0x421d86?_0x447bf1[_0x4534ba(0x20a)]?_0x23830b[_0x4534ba(0x2fc)]===_0x447bf1[_0x4534ba(0x347)]:!0x1:_0x447bf1[_0x4534ba(0x20a)]?!0x1:_0x5907cc[_0x4534ba(0x2ce)]===_0x447bf1['_originalHostOrSocketPath'];(!_0x12f0c5||_0x447bf1['_originalSecure']&&!_0x5bffaf)&&(delete _0x23830b[_0x4534ba(0x273)][_0x4534ba(0x317)],delete _0x23830b[_0x4534ba(0x273)][_0x4534ba(0x1e9)],_0x12f0c5||delete _0x23830b[_0x4534ba(0x273)][_0x4534ba(0x2ce)],_0x23830b['auth']=void 0x0);}}_0x23830b[_0x4534ba(0x2bd)]&&!_0x11c690['headers'][_0x4534ba(0x317)]&&(_0x11c690[_0x4534ba(0x273)][_0x4534ba(0x317)]=_0x4534ba(0x1ba)+Buffer['from'](_0x23830b[_0x4534ba(0x2bd)])[_0x4534ba(0x26d)](_0x4534ba(0x19f))),_0x2ee0d3=_0x447bf1['_req']=_0x697f9e(_0x23830b),_0x447bf1['_redirects']&&_0x447bf1['emit'](_0x4534ba(0x251),_0x447bf1['url'],_0x2ee0d3);}else _0x2ee0d3=_0x447bf1['_req']=_0x697f9e(_0x23830b);_0x23830b['timeout']&&_0x2ee0d3['on']('timeout',()=>{const _0x516340=_0x4534ba;_0x499583(_0x447bf1,_0x2ee0d3,_0x516340(0x228));}),_0x2ee0d3['on'](_0x4534ba(0x19b),_0x16a882=>{const _0x595930=_0x4534ba;_0x2ee0d3===null||_0x2ee0d3[_0x2728da]||(_0x2ee0d3=_0x447bf1[_0x595930(0x22a)]=null,_0xd9e266(_0x447bf1,_0x16a882));}),_0x2ee0d3['on'](_0x4534ba(0x205),_0x47c4a8=>{const _0x393e59=_0x4534ba,_0x141294=_0x47c4a8['headers']['location'],_0x2cf2ca=_0x47c4a8[_0x393e59(0x343)];if(_0x141294&&_0x23830b[_0x393e59(0x1d5)]&&_0x2cf2ca>=0x12c&&_0x2cf2ca<0x190){if(++_0x447bf1[_0x393e59(0x342)]>_0x23830b[_0x393e59(0x28f)]){_0x499583(_0x447bf1,_0x2ee0d3,_0x393e59(0x1ec));return;}_0x2ee0d3[_0x393e59(0x308)]();let _0x3adb5b;try{_0x3adb5b=new _0x5bdc16(_0x141294,_0x41167a);}catch{const _0x3c29f0=new SyntaxError(_0x393e59(0x297)+_0x141294);_0xd9e266(_0x447bf1,_0x3c29f0);return;}_0x52724c(_0x447bf1,_0x3adb5b,_0x58e763,_0x11c690);}else _0x447bf1[_0x393e59(0x286)](_0x393e59(0x27c),_0x2ee0d3,_0x47c4a8)||_0x499583(_0x447bf1,_0x2ee0d3,'Unexpected\x20server\x20response:\x20'+_0x47c4a8[_0x393e59(0x343)]);}),_0x2ee0d3['on']('upgrade',(_0x2532aa,_0x50116b,_0x34226a)=>{const _0x1d50af=_0x4534ba;if(_0x447bf1[_0x1d50af(0x286)](_0x1d50af(0x1e3),_0x2532aa),_0x447bf1['readyState']!==_0x23dc1c[_0x1d50af(0x211)])return;_0x2ee0d3=_0x447bf1['_req']=null;const _0x41df96=_0x2532aa['headers'][_0x1d50af(0x1e3)];if(_0x41df96===void 0x0||_0x41df96[_0x1d50af(0x246)]()!==_0x1d50af(0x26b)){_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x20d));return;}const _0x4b7507=_0x24b070(_0x1d50af(0x316))[_0x1d50af(0x31d)](_0x29d12e+_0x1f9454)[_0x1d50af(0x2a9)](_0x1d50af(0x19f));if(_0x2532aa[_0x1d50af(0x273)][_0x1d50af(0x288)]!==_0x4b7507){_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x202));return;}const _0xf1e4c7=_0x2532aa[_0x1d50af(0x273)][_0x1d50af(0x1f1)];let _0x33b14c;if(_0xf1e4c7!==void 0x0?_0x48c970[_0x1d50af(0x338)]?_0x48c970[_0x1d50af(0x252)](_0xf1e4c7)||(_0x33b14c=_0x1d50af(0x25d)):_0x33b14c=_0x1d50af(0x274):_0x48c970[_0x1d50af(0x338)]&&(_0x33b14c='Server\x20sent\x20no\x20subprotocol'),_0x33b14c){_0x499583(_0x447bf1,_0x50116b,_0x33b14c);return;}_0xf1e4c7&&(_0x447bf1[_0x1d50af(0x1a1)]=_0xf1e4c7);const _0x32db65=_0x2532aa[_0x1d50af(0x273)][_0x1d50af(0x2cc)];if(_0x32db65!==void 0x0){if(!_0x12a922){_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x21a));return;}let _0x2e7621;try{_0x2e7621=_0x1a034c(_0x32db65);}catch{_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x21d));return;}const _0x27ed37=Object[_0x1d50af(0x19e)](_0x2e7621);if(_0x27ed37[_0x1d50af(0x209)]!==0x1||_0x27ed37[0x0]!==_0xeb37b0['extensionName']){_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x2be));return;}try{_0x12a922[_0x1d50af(0x32e)](_0x2e7621[_0xeb37b0[_0x1d50af(0x292)]]);}catch{_0x499583(_0x447bf1,_0x50116b,_0x1d50af(0x21d));return;}_0x447bf1[_0x1d50af(0x321)][_0xeb37b0[_0x1d50af(0x292)]]=_0x12a922;}_0x447bf1['setSocket'](_0x50116b,_0x34226a,{'allowSynchronousEvents':_0x23830b[_0x1d50af(0x1f7)],'generateMask':_0x23830b[_0x1d50af(0x1b1)],'maxPayload':_0x23830b[_0x1d50af(0x249)],'skipUTF8Validation':_0x23830b[_0x1d50af(0x221)]});}),_0x23830b['finishRequest']?_0x23830b[_0x4534ba(0x1df)](_0x2ee0d3,_0x447bf1):_0x2ee0d3['end']();}function _0xd9e266(_0x48c20f,_0x444bc1){const _0x591a9e=_0x22a016;_0x48c20f[_0x591a9e(0x28a)]=_0x23dc1c[_0x591a9e(0x2fd)],_0x48c20f[_0x591a9e(0x1cd)]=!0x0,_0x48c20f[_0x591a9e(0x286)](_0x591a9e(0x19b),_0x444bc1),_0x48c20f[_0x591a9e(0x248)]();}function _0x71bf9b(_0x15392c){const _0x107447=_0x22a016;return _0x15392c[_0x107447(0x1b5)]=_0x15392c[_0x107447(0x2fc)],_0x16b796[_0x107447(0x1e4)](_0x15392c);}function _0x4938db(_0x1b7fe2){const _0x31408d=_0x22a016;return _0x1b7fe2[_0x31408d(0x1b5)]=void 0x0,!_0x1b7fe2['servername']&&_0x1b7fe2[_0x31408d(0x224)]!==''&&(_0x1b7fe2['servername']=_0x16b796[_0x31408d(0x1fe)](_0x1b7fe2[_0x31408d(0x2ce)])?'':_0x1b7fe2[_0x31408d(0x2ce)]),_0xd47afd['connect'](_0x1b7fe2);}function _0x499583(_0x3a6aff,_0x2695e5,_0x59bcf6){const _0x2a7a91=_0x22a016;_0x3a6aff[_0x2a7a91(0x28a)]=_0x23dc1c[_0x2a7a91(0x2fd)];const _0xcbaf07=new Error(_0x59bcf6);Error['captureStackTrace'](_0xcbaf07,_0x499583),_0x2695e5[_0x2a7a91(0x2c7)]?(_0x2695e5[_0x2728da]=!0x0,_0x2695e5[_0x2a7a91(0x308)](),_0x2695e5['socket']&&!_0x2695e5[_0x2a7a91(0x31b)][_0x2a7a91(0x200)]&&_0x2695e5[_0x2a7a91(0x31b)][_0x2a7a91(0x32f)](),process['nextTick'](_0xd9e266,_0x3a6aff,_0xcbaf07)):(_0x2695e5[_0x2a7a91(0x32f)](_0xcbaf07),_0x2695e5[_0x2a7a91(0x304)](_0x2a7a91(0x19b),_0x3a6aff[_0x2a7a91(0x286)][_0x2a7a91(0x2ee)](_0x3a6aff,_0x2a7a91(0x19b))),_0x2695e5['once']('close',_0x3a6aff['emitClose']['bind'](_0x3a6aff)));}function _0x2149ea(_0x19e4df,_0x203750,_0x5caf72){const _0x4e832b=_0x22a016;if(_0x203750){const _0x482420=_0x3b0c2a(_0x203750)?_0x203750['size']:_0x472665(_0x203750)[_0x4e832b(0x209)];_0x19e4df[_0x4e832b(0x2f0)]?_0x19e4df[_0x4e832b(0x255)][_0x4e832b(0x240)]+=_0x482420:_0x19e4df[_0x4e832b(0x291)]+=_0x482420;}if(_0x5caf72){const _0x5d0ac9=new Error(_0x4e832b(0x1e0)+_0x19e4df[_0x4e832b(0x2d8)]+'\x20('+_0x1efeb2[_0x19e4df[_0x4e832b(0x2d8)]]+')');process[_0x4e832b(0x2af)](_0x5caf72,_0x5d0ac9);}}function _0x11367a(_0x9660b7,_0x487bff){const _0x25ba72=_0x22a016,_0x186cee=this[_0xd1bed0];_0x186cee[_0x25ba72(0x197)]=!0x0,_0x186cee[_0x25ba72(0x334)]=_0x487bff,_0x186cee[_0x25ba72(0x25c)]=_0x9660b7,_0x186cee[_0x25ba72(0x2f0)][_0xd1bed0]!==void 0x0&&(_0x186cee[_0x25ba72(0x2f0)]['removeListener'](_0x25ba72(0x20f),_0x2dc79d),process[_0x25ba72(0x2af)](_0x10942d,_0x186cee[_0x25ba72(0x2f0)]),_0x9660b7===0x3ed?_0x186cee[_0x25ba72(0x232)]():_0x186cee[_0x25ba72(0x232)](_0x9660b7,_0x487bff));}function _0x35ab21(){const _0x27e7b1=_0x22a016,_0x11d6e4=this[_0xd1bed0];_0x11d6e4[_0x27e7b1(0x1a0)]||_0x11d6e4['_socket']['resume']();}function _0x2cbdac(_0x3dca6d){const _0x17c0f8=_0x22a016,_0x17e766=this[_0xd1bed0];_0x17e766[_0x17c0f8(0x2f0)][_0xd1bed0]!==void 0x0&&(_0x17e766[_0x17c0f8(0x2f0)][_0x17c0f8(0x2b2)](_0x17c0f8(0x20f),_0x2dc79d),process[_0x17c0f8(0x2af)](_0x10942d,_0x17e766['_socket']),_0x17e766[_0x17c0f8(0x232)](_0x3dca6d[_0x346e72])),_0x17e766['_errorEmitted']||(_0x17e766[_0x17c0f8(0x1cd)]=!0x0,_0x17e766[_0x17c0f8(0x286)](_0x17c0f8(0x19b),_0x3dca6d));}function _0x190f0d(){this[_0xd1bed0]['emitClose']();}function _0x2da819(_0x1ee983,_0x22081c){const _0x27537e=_0x22a016;this[_0xd1bed0][_0x27537e(0x286)](_0x27537e(0x2e7),_0x1ee983,_0x22081c);}function _0x3f777c(_0x37439c){const _0x3bc869=_0x22a016,_0x3dafd8=this[_0xd1bed0];_0x3dafd8['_autoPong']&&_0x3dafd8[_0x3bc869(0x229)](_0x37439c,!this['_isServer'],_0x2dc1c5),_0x3dafd8['emit'](_0x3bc869(0x2e1),_0x37439c);}function _0x335958(_0x4c1841){const _0x38e142=_0x22a016;this[_0xd1bed0][_0x38e142(0x286)](_0x38e142(0x229),_0x4c1841);}function _0x10942d(_0x4f4e1c){const _0x3d64da=_0x22a016;_0x4f4e1c[_0x3d64da(0x1b2)]();}function _0x169b1e(_0x523215){const _0x6697e=_0x22a016,_0x7c63de=this[_0xd1bed0];_0x7c63de[_0x6697e(0x2d8)]!==_0x23dc1c[_0x6697e(0x1cf)]&&(_0x7c63de[_0x6697e(0x2d8)]===_0x23dc1c[_0x6697e(0x2b8)]&&(_0x7c63de[_0x6697e(0x28a)]=_0x23dc1c['CLOSING'],_0x573c38(_0x7c63de)),this[_0x6697e(0x2f0)][_0x6697e(0x1be)](),_0x7c63de[_0x6697e(0x1cd)]||(_0x7c63de[_0x6697e(0x1cd)]=!0x0,_0x7c63de[_0x6697e(0x286)](_0x6697e(0x19b),_0x523215)));}function _0x573c38(_0xeb3e98){const _0x242ca3=_0x22a016;_0xeb3e98['_closeTimer']=setTimeout(_0xeb3e98[_0x242ca3(0x2f0)][_0x242ca3(0x32f)][_0x242ca3(0x2ee)](_0xeb3e98[_0x242ca3(0x2f0)]),_0x4d5c0b);}function _0x5a78ac(){const _0x5124a2=_0x22a016,_0x48570d=this[_0xd1bed0];this[_0x5124a2(0x2b2)](_0x5124a2(0x232),_0x5a78ac),this[_0x5124a2(0x2b2)](_0x5124a2(0x20f),_0x2dc79d),this[_0x5124a2(0x2b2)](_0x5124a2(0x1be),_0x16b097),_0x48570d[_0x5124a2(0x28a)]=_0x23dc1c[_0x5124a2(0x2fd)];let _0x49473a;!this[_0x5124a2(0x30d)][_0x5124a2(0x328)]&&!_0x48570d[_0x5124a2(0x197)]&&!_0x48570d[_0x5124a2(0x266)][_0x5124a2(0x204)][_0x5124a2(0x230)]&&(_0x49473a=_0x48570d['_socket']['read']())!==null&&_0x48570d[_0x5124a2(0x266)]['write'](_0x49473a),_0x48570d[_0x5124a2(0x266)][_0x5124a2(0x1be)](),this[_0xd1bed0]=void 0x0,clearTimeout(_0x48570d[_0x5124a2(0x1e5)]),_0x48570d[_0x5124a2(0x266)]['_writableState']['finished']||_0x48570d[_0x5124a2(0x266)][_0x5124a2(0x204)]['errorEmitted']?_0x48570d[_0x5124a2(0x248)]():(_0x48570d[_0x5124a2(0x266)]['on']('error',_0x190f0d),_0x48570d[_0x5124a2(0x266)]['on']('finish',_0x190f0d));}function _0x2dc79d(_0x2a4653){const _0x1a1ce4=_0x22a016;this[_0xd1bed0]['_receiver']['write'](_0x2a4653)||this[_0x1a1ce4(0x1de)]();}function _0x16b097(){const _0x1c2de1=_0x22a016,_0x401208=this[_0xd1bed0];_0x401208[_0x1c2de1(0x28a)]=_0x23dc1c[_0x1c2de1(0x2fd)],_0x401208[_0x1c2de1(0x266)][_0x1c2de1(0x1be)](),this[_0x1c2de1(0x1be)]();}function _0x19e234(){const _0x3971c8=_0x22a016,_0x3b77bc=this[_0xd1bed0];this['removeListener'](_0x3971c8(0x19b),_0x19e234),this['on'](_0x3971c8(0x19b),_0x2dc1c5),_0x3b77bc&&(_0x3b77bc['_readyState']=_0x23dc1c[_0x3971c8(0x2fd)],this[_0x3971c8(0x32f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xa44572}=oe;function _0x5a537a(_0x597fe8){const _0x447061=_0x3d1f;_0x597fe8[_0x447061(0x286)](_0x447061(0x232));}function _0x58eac8(){const _0x297ed6=_0x3d1f;!this[_0x297ed6(0x200)]&&this[_0x297ed6(0x204)]['finished']&&this[_0x297ed6(0x32f)]();}function _0x54f994(_0x433ebd){const _0x2e01f2=_0x3d1f;this[_0x2e01f2(0x2b2)](_0x2e01f2(0x19b),_0x54f994),this[_0x2e01f2(0x32f)](),this[_0x2e01f2(0x23a)](_0x2e01f2(0x19b))===0x0&&this[_0x2e01f2(0x286)]('error',_0x433ebd);}function _0x42d95d(_0x5c5371,_0x3204c6){const _0x5a523f=_0x3d1f;let _0x3176fd=!0x0;const _0x1b3c6c=new _0xa44572({..._0x3204c6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5c5371['on'](_0x5a523f(0x2e7),function(_0x2bcc1f,_0x19337b){const _0x2a0a38=_0x5a523f,_0x40f804=!_0x19337b&&_0x1b3c6c[_0x2a0a38(0x30d)][_0x2a0a38(0x25e)]?_0x2bcc1f['toString']():_0x2bcc1f;_0x1b3c6c[_0x2a0a38(0x296)](_0x40f804)||_0x5c5371[_0x2a0a38(0x1de)]();}),_0x5c5371[_0x5a523f(0x304)](_0x5a523f(0x19b),function(_0x2c53f1){const _0x2bda69=_0x5a523f;_0x1b3c6c[_0x2bda69(0x200)]||(_0x3176fd=!0x1,_0x1b3c6c['destroy'](_0x2c53f1));}),_0x5c5371[_0x5a523f(0x304)]('close',function(){const _0x2af8af=_0x5a523f;_0x1b3c6c['destroyed']||_0x1b3c6c[_0x2af8af(0x296)](null);}),_0x1b3c6c[_0x5a523f(0x28b)]=function(_0x30e575,_0x2d1057){const _0x3130ad=_0x5a523f;if(_0x5c5371[_0x3130ad(0x2d8)]===_0x5c5371[_0x3130ad(0x1cf)]){_0x2d1057(_0x30e575),process[_0x3130ad(0x2af)](_0x5a537a,_0x1b3c6c);return;}let _0x2f50ae=!0x1;_0x5c5371[_0x3130ad(0x304)]('error',function(_0x46f340){_0x2f50ae=!0x0,_0x2d1057(_0x46f340);}),_0x5c5371[_0x3130ad(0x304)]('close',function(){const _0x3cfcf0=_0x3130ad;_0x2f50ae||_0x2d1057(_0x30e575),process[_0x3cfcf0(0x2af)](_0x5a537a,_0x1b3c6c);}),_0x3176fd&&_0x5c5371[_0x3130ad(0x281)]();},_0x1b3c6c[_0x5a523f(0x1da)]=function(_0x38de74){const _0x2ca84b=_0x5a523f;if(_0x5c5371[_0x2ca84b(0x2d8)]===_0x5c5371[_0x2ca84b(0x211)]){_0x5c5371[_0x2ca84b(0x304)](_0x2ca84b(0x283),function(){const _0x2718ba=_0x2ca84b;_0x1b3c6c[_0x2718ba(0x1da)](_0x38de74);});return;}_0x5c5371[_0x2ca84b(0x2f0)]!==null&&(_0x5c5371[_0x2ca84b(0x2f0)][_0x2ca84b(0x204)][_0x2ca84b(0x18b)]?(_0x38de74(),_0x1b3c6c[_0x2ca84b(0x30d)]['endEmitted']&&_0x1b3c6c[_0x2ca84b(0x32f)]()):(_0x5c5371[_0x2ca84b(0x2f0)]['once'](_0x2ca84b(0x1ea),function(){_0x38de74();}),_0x5c5371[_0x2ca84b(0x232)]()));},_0x1b3c6c[_0x5a523f(0x1e7)]=function(){const _0xc8e33d=_0x5a523f;_0x5c5371[_0xc8e33d(0x1a0)]&&_0x5c5371[_0xc8e33d(0x1b2)]();},_0x1b3c6c[_0x5a523f(0x2eb)]=function(_0x54fb15,_0x513cb2,_0x363460){const _0x25faca=_0x5a523f;if(_0x5c5371[_0x25faca(0x2d8)]===_0x5c5371[_0x25faca(0x211)]){_0x5c5371[_0x25faca(0x304)]('open',function(){_0x1b3c6c['_write'](_0x54fb15,_0x513cb2,_0x363460);});return;}_0x5c5371[_0x25faca(0x1ff)](_0x54fb15,_0x363460);},_0x1b3c6c['on']('end',_0x58eac8),_0x1b3c6c['on'](_0x5a523f(0x19b),_0x54f994),_0x1b3c6c;}return Oe=_0x42d95d,Oe;}function _0x3965(){const _0x2e45eb=['threshold','toStringTag','get','client_max_window_bits','sec-websocket-protocol','prototype','server','Unsupported\x20protocol\x20version:\x20','_server','cleanup','allowSynchronousEvents','fragments','flush','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','1856022JWKMzS','slice','isView','isIP','send','destroyed','writeHead','Invalid\x20Sec-WebSocket-Accept\x20header','The\x20\x22','_writableState','response','_url','getData','Invalid\x20Sec-WebSocket-Protocol\x20header','length','_originalIpc','status-code','timeout','Invalid\x20Upgrade\x20header','_max_window_bits','data','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','CONNECTING','sec-websocket-origin','href','dispatch','acceptAsClient','_maskBuffer','toDisposable','shouldHandle','next','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','compress','Invalid\x20Sec-WebSocket-Extensions\x20header','_maxPayload','jobs','getInfo','skipUTF8Validation','\x0d\x0a\x0d\x0a','haveLength','servername','_decompress','defaultPort','kByteLength','Opening\x20handshake\x20has\x20timed\x20out','pong','_req','handshakeTimeout','consume','construct','normalizeParams','ISocketService','errorEmitted','ILogService','close','address','https:','kDone','controlMessage','clientNoContextTakeover','extensions','Z_DEFAULT_WINDOWBITS','listenerCount','kRun','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_NO_BUFFER_UTIL','54035343GuHdsP','dataMessage','_bufferedBytes','_injector','number','reset','_queue','frame','toLowerCase','concat','emitClose','maxPayload','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','encrypted','Module','MASK\x20must\x20be\x20clear','6219786tSanjM','setTimeout','Sec-WebSocket-Origin','redirect','has','Sec-WebSocket-Protocol','options','_sender','nodebuffer','target','offer','_masked','NodeCollaborationSocketService','forEach','_closeCode','Server\x20sent\x20an\x20invalid\x20subprotocol','objectMode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_options','140312FrTdqy','writeUInt16BE','kWasClean','pow','Injector','_receiver','Inject','UniverCollaborationClientNodePlugin','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','text/plain','websocket','decompress','toString','completeUpgrade','startsWith','clientMaxWindowBits','binary','drain','headers','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','port','addEventListener','Origin','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','value','_generateMask','map','unexpected-response','includes','WS_ERR_INVALID_OPCODE','createSocket','share','terminate','pipe','open','binaryType','backlog','emit','entries','sec-websocket-accept','noServer','_readyState','_destroy','unshift','GET','_firstFragment','maxRedirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_bufferedAmount','extensionName','call','indexOf','_skipUTF8Validation','push','Invalid\x20URL:\x20','Invalid\x20HTTP\x20method','set','Cookie','385YZAtvK','sec-websocket-key','_fin','invalid\x20status\x20code\x20','then','pending','http:','dequeue','_inflate','Parameter\x20\x22','isValidUTF8','sec-websocket-version','wsClientError','_mask','digest','onmessage','\x22\x20subprotocol\x20is\x20duplicated','constructor','replace','Observable','nextTick','readUInt16BE','listen','removeListener','arrayBuffer','invalid\x20opcode\x200','shift','Upgrade:\x20websocket','getPayloadLength64','OPEN','fin','kReason','registerDependencies','readable','auth','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','onopen','Invalid\x20value\x20for\x20parameter\x20\x22','server_max_window_bits','kMessage','from','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','search','concurrencyLimit','setHeader','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','getPayloadLength16','ws:','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-extensions','handleEvent','host','invalid\x20opcode\x20','client_no_context_takeover','warn','handleProtocols','needDrain','13412wDFxXd','exports','method','_allowSynchronousEvents','readyState','setSocket','buffer','_fragments','WS_ERR_EXPECTED_MASK','charCodeAt','onerror','Unexpected\x20character\x20at\x20index\x20','startLoop','ping','concurrency','protocolVersion','hash','createError','DisposableCollection','message','function','env','opcode','_write','permessage-deflate','writable','bind','WS_ERR_UNEXPECTED_MASK','_socket','reason','handleUpgrade','serverMaxWindowBits','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','onclose','WS_ERR_UNEXPECTED_RSV_1','total-length','\x22:\x20','_fragmented','_originalSecure','zlibInflateOptions','socketPath','CLOSING','WebSocket','unmask','collaboration-client-node.config','COLLABORATION_CLIENT_NODE_CONFIG_KEY','serverNoContextTakeover','ws+unix:','once','writeUIntBE','apply','DependentOn','abort','kData','protocol','zlibDeflateOptions','customHeaders','_readableState','_isServer','readUInt32BE','Disposable','allocUnsafe','_opcode','_state','server_no_context_takeover','createServer','sha1','authorization','2440358pDZsmT','params','createDeflateRaw','socket','_paused','update','FIN\x20must\x20be\x20set','_configService','freeze','_extensions','alloc','sendFrame','kType','_removeListeners','ISnapshotServerService','stream','endEmitted','request','blob','1386176FhgIEu','join','Blob','accept','destroy','bufferedAmount','Z_SYNC_FLUSH','Upgrade','createConnection','_closeMessage','string','delete','text/html','size','format','origin','wasClean','byteOffset','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Sec-WebSocket-Extensions','arraybuffer','password','13,\x208','_redirects','statusCode','305sinJxv','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','RSV1\x20must\x20be\x20clear','_originalHostOrSocketPath','byteLength','_buffers','verifyClient','add','getBlobData','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','STATUS_CODES','catch','conclude','hostname','finished','isInteger','getOwnPropertyDescriptor','object','WS_ERR_EXPECTED_FIN','captureStackTrace','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','readOnly','test','mask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','\x20(supported\x20versions:\x20','_closeFrameReceived','defineProperty','client','isBuffer','error','_loop','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','keys','base64','isPaused','_protocol','_compress','_deflate','_compressed','listening','code','setConfig','_shouldEmitClose','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','pluginName','dispose','values','kListener','default','UniverCollaborationClientPlugin','IConfigService','generateMask','resume','removeEventListener','autoPong','path','wss:','_threshold','connection','hasOwnProperty','Basic\x20','parse','species','isArray','end','maskBuffer','write','acceptAsServer','_no_context_takeover','_binaryType','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WS_ERR_INVALID_CLOSE_CODE','create','_registerDependencies','Unexpected\x20end\x20of\x20input','_doCreateSocket','Plugin','_closeFrameSent','_payloadLength','_errorEmitted','kAborted','CLOSED','authorized','username','clients','perMessageDeflate','listeners','followRedirects','type','_autoPong','kTarget','buffers','_final','_messageLength','_totalPayloadLength','getMask','pause','finishRequest','WebSocket\x20is\x20not\x20open:\x20readyState\x20','url','The\x20server\x20is\x20not\x20running','upgrade','connect','_closeTimer','__esModule','_read','enqueue','cookie','finish','Max\x20payload\x20size\x20exceeded','Maximum\x20redirects\x20exceeded'];_0x3965=function(){return _0x2e45eb;};return _0x3965();}Ut(),lt(),ft();var Mt=Pe();function _0x3d1f(_0x5d4af0,_0x364132){const _0x396511=_0x3965();return _0x3d1f=function(_0x3d1f84,_0x1e252a){_0x3d1f84=_0x3d1f84-0x183;let _0x3f82d8=_0x396511[_0x3d1f84];return _0x3f82d8;},_0x3d1f(_0x5d4af0,_0x364132);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3d9833}=ae();function _0xa4405e(_0x592bb4){const _0x2392c5=_0x3d1f,_0x1f62c8=new Set();let _0x64de98=-0x1,_0x121f44=-0x1,_0x58103b=0x0;for(_0x58103b;_0x58103b<_0x592bb4[_0x2392c5(0x209)];_0x58103b++){const _0x4aceea=_0x592bb4[_0x2392c5(0x2dd)](_0x58103b);if(_0x121f44===-0x1&&_0x3d9833[_0x4aceea]===0x1)_0x64de98===-0x1&&(_0x64de98=_0x58103b);else{if(_0x58103b!==0x0&&(_0x4aceea===0x20||_0x4aceea===0x9))_0x121f44===-0x1&&_0x64de98!==-0x1&&(_0x121f44=_0x58103b);else{if(_0x4aceea===0x2c){if(_0x64de98===-0x1)throw new SyntaxError(_0x2392c5(0x2df)+_0x58103b);_0x121f44===-0x1&&(_0x121f44=_0x58103b);const _0x1622f1=_0x592bb4[_0x2392c5(0x1fc)](_0x64de98,_0x121f44);if(_0x1f62c8[_0x2392c5(0x252)](_0x1622f1))throw new SyntaxError('The\x20\x22'+_0x1622f1+'\x22\x20subprotocol\x20is\x20duplicated');_0x1f62c8[_0x2392c5(0x184)](_0x1622f1),_0x64de98=_0x121f44=-0x1;}else throw new SyntaxError(_0x2392c5(0x2df)+_0x58103b);}}}if(_0x64de98===-0x1||_0x121f44!==-0x1)throw new SyntaxError(_0x2392c5(0x1c8));const _0x44fbae=_0x592bb4[_0x2392c5(0x1fc)](_0x64de98,_0x58103b);if(_0x1f62c8[_0x2392c5(0x252)](_0x44fbae))throw new SyntaxError(_0x2392c5(0x203)+_0x44fbae+_0x2392c5(0x2ab));return _0x1f62c8['add'](_0x44fbae),_0x1f62c8;}return Ce={'parse':_0xa4405e},Ce;}var Te,rt;function Ft(){const _0x148e63=_0x589a17;if(rt)return Te;rt=0x1;const _0x13f786=nt,_0x12fd39=ot,{Duplex:_0xa5e1b}=oe,{createHash:_0xd1d546}=Le,_0x582a19=ct(),_0x551e93=he(),_0x4d1bf0=At(),_0x59f043=Pe(),{GUID:_0xe284c3,kWebSocket:_0x105f62}=H(),_0x4fcedf=/^[+/0-9A-Za-z]{22}==$/,_0x2119c6=0x0,_0xe9b0c=0x1,_0x29d9d3=0x2;class _0x475789 extends _0x13f786{constructor(_0x5eb208,_0xa6f107){const _0x3aa4fd=_0x3d1f;if(super(),_0x5eb208={'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':_0x59f043,..._0x5eb208},_0x5eb208['port']==null&&!_0x5eb208['server']&&!_0x5eb208['noServer']||_0x5eb208['port']!=null&&(_0x5eb208['server']||_0x5eb208[_0x3aa4fd(0x289)])||_0x5eb208[_0x3aa4fd(0x1f3)]&&_0x5eb208[_0x3aa4fd(0x289)])throw new TypeError(_0x3aa4fd(0x25f));if(_0x5eb208[_0x3aa4fd(0x275)]!=null?(this[_0x3aa4fd(0x1f5)]=_0x12fd39[_0x3aa4fd(0x315)]((_0x4a5346,_0x58bcca)=>{const _0x1126e8=_0x3aa4fd,_0x14843c=_0x12fd39['STATUS_CODES'][0x1aa];_0x58bcca[_0x1126e8(0x201)](0x1aa,{'Content-Length':_0x14843c['length'],'Content-Type':_0x1126e8(0x26a)}),_0x58bcca['end'](_0x14843c);}),this[_0x3aa4fd(0x1f5)][_0x3aa4fd(0x2b1)](_0x5eb208[_0x3aa4fd(0x275)],_0x5eb208[_0x3aa4fd(0x2ce)],_0x5eb208[_0x3aa4fd(0x285)],_0xa6f107)):_0x5eb208[_0x3aa4fd(0x1f3)]&&(this[_0x3aa4fd(0x1f5)]=_0x5eb208['server']),this[_0x3aa4fd(0x1f5)]){const _0xd1cc69=this[_0x3aa4fd(0x286)][_0x3aa4fd(0x2ee)](this,_0x3aa4fd(0x1b8));this[_0x3aa4fd(0x325)]=_0x5d12cb(this[_0x3aa4fd(0x1f5)],{'listening':this[_0x3aa4fd(0x286)][_0x3aa4fd(0x2ee)](this,_0x3aa4fd(0x1a5)),'error':this[_0x3aa4fd(0x286)][_0x3aa4fd(0x2ee)](this,_0x3aa4fd(0x19b)),'upgrade':(_0x41f1dd,_0x24dcd6,_0x2a00d9)=>{const _0x3a41b5=_0x3aa4fd;this[_0x3a41b5(0x2f2)](_0x41f1dd,_0x24dcd6,_0x2a00d9,_0xd1cc69);}});}_0x5eb208['perMessageDeflate']===!0x0&&(_0x5eb208[_0x3aa4fd(0x1d3)]={}),_0x5eb208['clientTracking']&&(this['clients']=new Set(),this[_0x3aa4fd(0x1a8)]=!0x1),this['options']=_0x5eb208,this[_0x3aa4fd(0x313)]=_0x2119c6;}[_0x148e63(0x233)](){const _0x5595c7=_0x148e63;if(this[_0x5595c7(0x254)][_0x5595c7(0x289)])throw new Error(_0x5595c7(0x23c));return this[_0x5595c7(0x1f5)]?this[_0x5595c7(0x1f5)]['address']():null;}[_0x148e63(0x232)](_0x24cf0f){const _0x3d2a81=_0x148e63;if(this[_0x3d2a81(0x313)]===_0x29d9d3){_0x24cf0f&&this[_0x3d2a81(0x304)](_0x3d2a81(0x232),()=>{const _0x1e9190=_0x3d2a81;_0x24cf0f(new Error(_0x1e9190(0x1e2)));}),process[_0x3d2a81(0x2af)](_0x55ffc1,this);return;}if(_0x24cf0f&&this[_0x3d2a81(0x304)](_0x3d2a81(0x232),_0x24cf0f),this[_0x3d2a81(0x313)]!==_0xe9b0c){if(this['_state']=_0xe9b0c,this[_0x3d2a81(0x254)][_0x3d2a81(0x289)]||this[_0x3d2a81(0x254)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x3d2a81(0x325)]=this['_server']=null),this[_0x3d2a81(0x1d2)]?this['clients'][_0x3d2a81(0x338)]?this[_0x3d2a81(0x1a8)]=!0x0:process[_0x3d2a81(0x2af)](_0x55ffc1,this):process['nextTick'](_0x55ffc1,this);else{const _0x427ef9=this['_server'];this[_0x3d2a81(0x325)](),this[_0x3d2a81(0x325)]=this[_0x3d2a81(0x1f5)]=null,_0x427ef9[_0x3d2a81(0x232)](()=>{_0x55ffc1(this);});}}}[_0x148e63(0x218)](_0x372aa3){const _0x4428c6=_0x148e63;if(this[_0x4428c6(0x254)]['path']){const _0x1ff9c=_0x372aa3[_0x4428c6(0x1e1)]['indexOf']('?');if((_0x1ff9c!==-0x1?_0x372aa3[_0x4428c6(0x1e1)][_0x4428c6(0x1fc)](0x0,_0x1ff9c):_0x372aa3[_0x4428c6(0x1e1)])!==this['options'][_0x4428c6(0x1b5)])return!0x1;}return!0x0;}[_0x148e63(0x2f2)](_0x37a803,_0x18abab,_0x53f3fe,_0x53111e){const _0x66951f=_0x148e63;_0x18abab['on'](_0x66951f(0x19b),_0x92bd);const _0x2d30cf=_0x37a803[_0x66951f(0x273)][_0x66951f(0x29c)],_0x5c223=_0x37a803[_0x66951f(0x273)][_0x66951f(0x1e3)],_0x5d8054=+_0x37a803[_0x66951f(0x273)][_0x66951f(0x2a6)];if(_0x37a803[_0x66951f(0x2d6)]!==_0x66951f(0x28d)){_0x5dae09(this,_0x37a803,_0x18abab,0x195,_0x66951f(0x298));return;}if(_0x5c223===void 0x0||_0x5c223[_0x66951f(0x246)]()!==_0x66951f(0x26b)){_0x5dae09(this,_0x37a803,_0x18abab,0x190,_0x66951f(0x20d));return;}if(_0x2d30cf===void 0x0||!_0x4fcedf[_0x66951f(0x193)](_0x2d30cf)){_0x5dae09(this,_0x37a803,_0x18abab,0x190,_0x66951f(0x19d));return;}if(_0x5d8054!==0xd&&_0x5d8054!==0x8){_0x5dae09(this,_0x37a803,_0x18abab,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x66951f(0x341)});return;}if(!this[_0x66951f(0x218)](_0x37a803)){_0x131241(_0x18abab,0x190);return;}const _0x2fe26d=_0x37a803['headers']['sec-websocket-protocol'];let _0x27e96e=new Set();if(_0x2fe26d!==void 0x0)try{_0x27e96e=_0x4d1bf0['parse'](_0x2fe26d);}catch{_0x5dae09(this,_0x37a803,_0x18abab,0x190,_0x66951f(0x208));return;}const _0x573b73=_0x37a803[_0x66951f(0x273)][_0x66951f(0x2cc)],_0xee35a4={};if(this[_0x66951f(0x254)][_0x66951f(0x1d3)]&&_0x573b73!==void 0x0){const _0x2a7261=new _0x551e93(this[_0x66951f(0x254)]['perMessageDeflate'],!0x0,this[_0x66951f(0x254)]['maxPayload']);try{const _0x489c12=_0x582a19[_0x66951f(0x1bb)](_0x573b73);_0x489c12[_0x551e93[_0x66951f(0x292)]]&&(_0x2a7261[_0x66951f(0x32e)](_0x489c12[_0x551e93[_0x66951f(0x292)]]),_0xee35a4[_0x551e93['extensionName']]=_0x2a7261);}catch{_0x5dae09(this,_0x37a803,_0x18abab,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x66951f(0x254)][_0x66951f(0x183)]){const _0x5aca6b={'origin':_0x37a803[_0x66951f(0x273)][''+(_0x5d8054===0x8?_0x66951f(0x212):_0x66951f(0x33a))],'secure':!!(_0x37a803[_0x66951f(0x31b)][_0x66951f(0x1d0)]||_0x37a803['socket'][_0x66951f(0x24b)]),'req':_0x37a803};if(this[_0x66951f(0x254)][_0x66951f(0x183)][_0x66951f(0x209)]===0x2){this[_0x66951f(0x254)][_0x66951f(0x183)](_0x5aca6b,(_0xc98395,_0x1ad57f,_0x57967d,_0x40a1ff)=>{const _0x48a08b=_0x66951f;if(!_0xc98395)return _0x131241(_0x18abab,_0x1ad57f||0x191,_0x57967d,_0x40a1ff);this[_0x48a08b(0x26e)](_0xee35a4,_0x2d30cf,_0x27e96e,_0x37a803,_0x18abab,_0x53f3fe,_0x53111e);});return;}if(!this[_0x66951f(0x254)][_0x66951f(0x183)](_0x5aca6b))return _0x131241(_0x18abab,0x191);}this['completeUpgrade'](_0xee35a4,_0x2d30cf,_0x27e96e,_0x37a803,_0x18abab,_0x53f3fe,_0x53111e);}[_0x148e63(0x26e)](_0x121b08,_0x462ad3,_0x39728e,_0x17d3b1,_0x50c0f2,_0x103044,_0x5ab86f){const _0x558b4a=_0x148e63;if(!_0x50c0f2[_0x558b4a(0x2bc)]||!_0x50c0f2[_0x558b4a(0x2ed)])return _0x50c0f2['destroy']();if(_0x50c0f2[_0x105f62])throw new Error(_0x558b4a(0x210));if(this[_0x558b4a(0x313)]>_0x2119c6)return _0x131241(_0x50c0f2,0x1f7);const _0x1f2d1d=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x558b4a(0x2b6),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0xd1d546(_0x558b4a(0x316))[_0x558b4a(0x31d)](_0x462ad3+_0xe284c3)['digest'](_0x558b4a(0x19f))],_0x5ea60e=new this['options'][(_0x558b4a(0x2fe))](null,void 0x0,this['options']);if(_0x39728e[_0x558b4a(0x338)]){const _0x5938bb=this['options'][_0x558b4a(0x2d2)]?this[_0x558b4a(0x254)][_0x558b4a(0x2d2)](_0x39728e,_0x17d3b1):_0x39728e[_0x558b4a(0x1ac)]()[_0x558b4a(0x219)]()[_0x558b4a(0x279)];_0x5938bb&&(_0x1f2d1d[_0x558b4a(0x296)]('Sec-WebSocket-Protocol:\x20'+_0x5938bb),_0x5ea60e['_protocol']=_0x5938bb);}if(_0x121b08[_0x551e93['extensionName']]){const _0x36647d=_0x121b08[_0x551e93['extensionName']][_0x558b4a(0x319)],_0x3fa42f=_0x582a19[_0x558b4a(0x339)]({[_0x551e93[_0x558b4a(0x292)]]:[_0x36647d]});_0x1f2d1d[_0x558b4a(0x296)]('Sec-WebSocket-Extensions:\x20'+_0x3fa42f),_0x5ea60e['_extensions']=_0x121b08;}this[_0x558b4a(0x286)]('headers',_0x1f2d1d,_0x17d3b1),_0x50c0f2[_0x558b4a(0x1c0)](_0x1f2d1d[_0x558b4a(0x247)]('\x0d\x0a')[_0x558b4a(0x32c)]('\x0d\x0a')),_0x50c0f2[_0x558b4a(0x2b2)](_0x558b4a(0x19b),_0x92bd),_0x5ea60e[_0x558b4a(0x2d9)](_0x50c0f2,_0x103044,{'allowSynchronousEvents':this[_0x558b4a(0x254)][_0x558b4a(0x1f7)],'maxPayload':this[_0x558b4a(0x254)][_0x558b4a(0x249)],'skipUTF8Validation':this[_0x558b4a(0x254)][_0x558b4a(0x221)]}),this['clients']&&(this[_0x558b4a(0x1d2)][_0x558b4a(0x184)](_0x5ea60e),_0x5ea60e['on'](_0x558b4a(0x232),()=>{const _0x7d84e3=_0x558b4a;this[_0x7d84e3(0x1d2)][_0x7d84e3(0x336)](_0x5ea60e),this[_0x7d84e3(0x1a8)]&&!this[_0x7d84e3(0x1d2)][_0x7d84e3(0x338)]&&process[_0x7d84e3(0x2af)](_0x55ffc1,this);})),_0x5ab86f(_0x5ea60e,_0x17d3b1);}}Te=_0x475789;function _0x5d12cb(_0x1a42a7,_0x2c1c39){for(const _0x211727 of Object['keys'](_0x2c1c39))_0x1a42a7['on'](_0x211727,_0x2c1c39[_0x211727]);return function(){const _0x488d8b=_0x3d1f;for(const _0x39b71f of Object['keys'](_0x2c1c39))_0x1a42a7[_0x488d8b(0x2b2)](_0x39b71f,_0x2c1c39[_0x39b71f]);};}function _0x55ffc1(_0x2d56bc){const _0x43a47d=_0x148e63;_0x2d56bc[_0x43a47d(0x313)]=_0x29d9d3,_0x2d56bc[_0x43a47d(0x286)](_0x43a47d(0x232));}function _0x92bd(){const _0x533b4c=_0x148e63;this[_0x533b4c(0x32f)]();}function _0x131241(_0x4e0d2c,_0x4fbc90,_0xa5d887,_0x43e516){const _0x41dea6=_0x148e63;_0xa5d887=_0xa5d887||_0x12fd39[_0x41dea6(0x187)][_0x4fbc90],_0x43e516={'Connection':'close','Content-Type':_0x41dea6(0x337),'Content-Length':Buffer['byteLength'](_0xa5d887),..._0x43e516},_0x4e0d2c[_0x41dea6(0x304)](_0x41dea6(0x1ea),_0x4e0d2c[_0x41dea6(0x32f)]),_0x4e0d2c['end']('HTTP/1.1\x20'+_0x4fbc90+'\x20'+_0x12fd39[_0x41dea6(0x187)][_0x4fbc90]+'\x0d\x0a'+Object[_0x41dea6(0x19e)](_0x43e516)['map'](_0x36848e=>_0x36848e+':\x20'+_0x43e516[_0x36848e])['join']('\x0d\x0a')+_0x41dea6(0x222)+_0xa5d887);}function _0x5dae09(_0x11b5ae,_0x1496ed,_0x11ea4e,_0x56f346,_0x1eb5e8,_0x16c0fd){const _0x4efadb=_0x148e63;if(_0x11b5ae[_0x4efadb(0x23a)](_0x4efadb(0x2a7))){const _0x39b635=new Error(_0x1eb5e8);Error[_0x4efadb(0x190)](_0x39b635,_0x5dae09),_0x11b5ae['emit'](_0x4efadb(0x2a7),_0x39b635,_0x11ea4e,_0x1496ed);}else _0x131241(_0x11ea4e,_0x56f346,_0x1eb5e8,_0x16c0fd);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xabac76,_0x5353d4,_0x4fe2d2,_0x2bde92)=>{const _0x70d57=_0x589a17;for(var _0x3d04f2=_0x2bde92>0x1?void 0x0:_0x2bde92?jt(_0x5353d4,_0x4fe2d2):_0x5353d4,_0xc5b7ef=_0xabac76[_0x70d57(0x209)]-0x1,_0x985334;_0xc5b7ef>=0x0;_0xc5b7ef--)(_0x985334=_0xabac76[_0xc5b7ef])&&(_0x3d04f2=_0x985334(_0x3d04f2)||_0x3d04f2);return _0x3d04f2;},qt=(_0x3b123d,_0x503304)=>(_0x433d55,_0x171e04)=>_0x503304(_0x433d55,_0x171e04,_0x3b123d);let ke=class extends A[_0x589a17(0x310)]{constructor(_0x50478e){const _0x4f2980=_0x589a17;super(),this[_0x4f2980(0x31f)]=_0x50478e;}[_0x589a17(0x27f)](_0x4f18ea){const _0x471727=_0x589a17;var _0x1a6ee7;const _0x2b8626=(_0x1a6ee7=this['_configService']['getConfig'](fe))==null?void 0x0:_0x1a6ee7[_0x471727(0x30c)];try{const _0x364453=new $t(_0x4f18ea,{'headers':{..._0x2b8626}}),_0x2e6253=new A[(_0x471727(0x2e6))]();return{'URL':_0x4f18ea,'close':(_0x57c6e1,_0x2a2151)=>{const _0x2712ca=_0x471727;_0x364453[_0x2712ca(0x232)](_0x57c6e1,_0x2a2151),_0x2e6253[_0x2712ca(0x1ab)]();},'send':_0xeb8a89=>{_0x364453['send'](_0xeb8a89);},'open$':new V[(_0x471727(0x2ae))](_0x9eaa9e=>{const _0x171a3b=_0x471727,_0x419ac9=_0x2818e0=>_0x9eaa9e[_0x171a3b(0x219)](_0x2818e0);_0x364453[_0x171a3b(0x276)]('open',_0x419ac9),_0x2e6253['add'](A[_0x171a3b(0x217)](()=>_0x364453[_0x171a3b(0x1b3)](_0x171a3b(0x283),_0x419ac9)));})['pipe'](V[_0x471727(0x280)]()),'close$':new V[(_0x471727(0x2ae))](_0x3ca151=>{const _0x3bab7a=_0x471727,_0x1aba91=_0x5e3d55=>_0x3ca151[_0x3bab7a(0x219)](_0x5e3d55);_0x364453[_0x3bab7a(0x276)](_0x3bab7a(0x232),_0x1aba91),_0x2e6253['add'](A['toDisposable'](()=>_0x364453['removeEventListener'](_0x3bab7a(0x232),_0x1aba91)));})[_0x471727(0x282)](V[_0x471727(0x280)]()),'error$':new V['Observable'](_0x3fc419=>{const _0x52c92b=_0x471727,_0x4042d6=_0x2d76a1=>_0x3fc419[_0x52c92b(0x219)](_0x2d76a1);_0x364453[_0x52c92b(0x276)](_0x52c92b(0x19b),_0x4042d6),_0x2e6253[_0x52c92b(0x184)](A[_0x52c92b(0x217)](()=>_0x364453[_0x52c92b(0x1b3)]('error',_0x4042d6)));})['pipe'](V['share']()),'message$':new V[(_0x471727(0x2ae))](_0xb99fe2=>{const _0x52df19=_0x471727,_0x3b4b91=_0x536205=>_0xb99fe2[_0x52df19(0x219)](_0x536205);_0x364453[_0x52df19(0x276)](_0x52df19(0x2e7),_0x3b4b91),_0x2e6253[_0x52df19(0x184)](A[_0x52df19(0x217)](()=>_0x364453[_0x52df19(0x1b3)](_0x52df19(0x2e7),_0x3b4b91)));})[_0x471727(0x282)](V[_0x471727(0x280)]())};}catch(_0x39fc9f){return console[_0x471727(0x19b)](_0x39fc9f),null;}}};ke=Wt([qt(0x0,A[_0x589a17(0x1b0)])],ke);var Gt=Object[_0x589a17(0x198)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x7d867d,_0x3afa84,_0x127191)=>_0x3afa84 in _0x7d867d?Gt(_0x7d867d,_0x3afa84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x127191}):_0x7d867d[_0x3afa84]=_0x127191,zt=(_0x5a5e96,_0x1907b3,_0x6c2c62,_0x3aa72f)=>{for(var _0x4bbc73=_0x3aa72f>0x1?void 0x0:_0x3aa72f?Vt(_0x1907b3,_0x6c2c62):_0x1907b3,_0x259c6e=_0x5a5e96['length']-0x1,_0x1ed471;_0x259c6e>=0x0;_0x259c6e--)(_0x1ed471=_0x5a5e96[_0x259c6e])&&(_0x4bbc73=_0x1ed471(_0x4bbc73)||_0x4bbc73);return _0x4bbc73;},Ne=(_0x45b81f,_0x142701)=>(_0x5d82d5,_0xb39a51)=>_0x142701(_0x5d82d5,_0xb39a51,_0x45b81f),Yt=(_0xf4a055,_0x595d49,_0x26d60b)=>Ht(_0xf4a055,_0x595d49+'',_0x26d60b);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x589a17(0x1ca)]{constructor(_0x2c77b9=Ct,_0x402f61,_0x5f5223,_0x15812d){const _0x2f871b=_0x589a17;_0x2c77b9[_0x2f871b(0x30c)]||_0x402f61[_0x2f871b(0x2d1)](_0x2f871b(0x186)),super(),this[_0x2f871b(0x31f)]=_0x5f5223,this[_0x2f871b(0x241)]=_0x15812d,this[_0x2f871b(0x31f)][_0x2f871b(0x1a7)](fe,_0x2c77b9);}['onStarting'](){const _0x5486e5=_0x589a17;this[_0x5486e5(0x1c7)]();}[_0x589a17(0x1c7)](){const _0x5158a9=_0x589a17;A[_0x5158a9(0x2bb)](this[_0x5158a9(0x241)],[[it[_0x5158a9(0x22f)],{'useClass':ke}]]);}},Yt(exports[_0x589a17(0x268)],_0x589a17(0x1aa),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x589a17(0x268)]=zt([A[_0x589a17(0x307)](st[_0x589a17(0x1af)]),Ne(0x1,A[_0x589a17(0x231)]),Ne(0x2,A[_0x589a17(0x1b0)]),Ne(0x3,A['Inject'](A[_0x589a17(0x265)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x47d8b6,_0x3634aa,_0x538c84,_0x556781)=>{const _0x12790f=_0x589a17;for(var _0x37faa2=_0x556781>0x1?void 0x0:_0x556781?Kt(_0x3634aa,_0x538c84):_0x3634aa,_0x2e3f99=_0x47d8b6[_0x12790f(0x209)]-0x1,_0x405a59;_0x2e3f99>=0x0;_0x2e3f99--)(_0x405a59=_0x47d8b6[_0x2e3f99])&&(_0x37faa2=_0x405a59(_0x37faa2)||_0x37faa2);return _0x37faa2;},ne=(_0xb7b462,_0x5649ca)=>(_0xa5bf6e,_0x2f74e8)=>_0x5649ca(_0xa5bf6e,_0x2f74e8,_0xb7b462);exports[_0x589a17(0x25a)]=class extends st['CollaborationSocketService']{constructor(_0x19a1e6,_0xce5a36,_0x114281,_0x543720,_0x19c28c){const _0x220acb=_0x589a17;super(_0x19a1e6,_0xce5a36,_0x114281,_0x543720,_0x19c28c);const _0x27732f=this[_0x220acb(0x31f)]['getConfig'](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x278293,_0x49e3ce)=>{const _0x39f3c3=_0x220acb;var _0x316bf9;const _0x34e759=_0x278293[_0x39f3c3(0x273)];return(_0x316bf9=_0x27732f==null?void 0x0:_0x27732f[_0x39f3c3(0x30c)])!=null&&_0x316bf9[_0x39f3c3(0x1e9)]&&_0x34e759[_0x39f3c3(0x299)](_0x39f3c3(0x29a),_0x27732f['customHeaders'][_0x39f3c3(0x1e9)]),_0x49e3ce(_0x278293);}});}async[_0x589a17(0x27f)](_0x3a0b3f){const _0x4aa674=_0x589a17;return this[_0x4aa674(0x1c9)](_0x3a0b3f);}},exports[_0x589a17(0x25a)]=Xt([ne(0x0,A['Inject'](A[_0x589a17(0x265)])),ne(0x1,A[_0x589a17(0x267)](it['HTTPService'])),ne(0x2,A[_0x589a17(0x1b0)]),ne(0x3,A[_0x589a17(0x231)]),ne(0x4,Ot[_0x589a17(0x326)])],exports[_0x589a17(0x25a)]),exports[_0x589a17(0x301)]=fe;
|