@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505121607
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 _0x256248=_0x2b82;(function(_0x3d1d7f,_0x37bb76){const _0x35b94c=_0x2b82,_0x303d75=_0x3d1d7f();while(!![]){try{const _0x33352e=-parseInt(_0x35b94c(0x1d6))/0x1+parseInt(_0x35b94c(0x2e9))/0x2+parseInt(_0x35b94c(0x299))/0x3+-parseInt(_0x35b94c(0x255))/0x4*(-parseInt(_0x35b94c(0x2f8))/0x5)+parseInt(_0x35b94c(0x2e5))/0x6+-parseInt(_0x35b94c(0x1eb))/0x7+parseInt(_0x35b94c(0x162))/0x8;if(_0x33352e===_0x37bb76)break;else _0x303d75['push'](_0x303d75['shift']());}catch(_0x6c9dcd){_0x303d75['push'](_0x303d75['shift']());}}}(_0x3181,0x26870));Object['defineProperty'](exports,Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x256248(0x1c2)),it=require(_0x256248(0x26e)),V=require(_0x256248(0x25a)),nt=require(_0x256248(0x1d1)),vt=require(_0x256248(0x19f)),ot=require(_0x256248(0x1d8)),St=require(_0x256248(0x146)),Et=require(_0x256248(0x168)),Le=require('crypto'),oe=require(_0x256248(0x1f9)),xt=require('url'),bt=require(_0x256248(0x285)),wt=require(_0x256248(0x167)),Ot=require('@univerjs-pro/collaboration'),fe=_0x256248(0x2c4),Ct={'customHeaders':{}};function Tt(_0x250db8){const _0x3aa14a=_0x256248;return _0x250db8&&_0x250db8['__esModule']&&Object['prototype'][_0x3aa14a(0x1ee)][_0x3aa14a(0x229)](_0x250db8,_0x3aa14a(0x303))?_0x250db8[_0x3aa14a(0x303)]:_0x250db8;}function at(_0x57a344){const _0x3ab7ac=_0x256248;if(Object['prototype'][_0x3ab7ac(0x1ee)][_0x3ab7ac(0x229)](_0x57a344,_0x3ab7ac(0x2fc)))return _0x57a344;var _0x2f4bb5=_0x57a344['default'];if(typeof _0x2f4bb5==_0x3ab7ac(0x240)){var _0x436c9d=function _0x3ce7a1(){const _0x3f59c4=_0x3ab7ac;return this instanceof _0x3ce7a1?Reflect[_0x3f59c4(0x21d)](_0x2f4bb5,arguments,this[_0x3f59c4(0x2e4)]):_0x2f4bb5['apply'](this,arguments);};_0x436c9d[_0x3ab7ac(0x2c9)]=_0x2f4bb5[_0x3ab7ac(0x2c9)];}else _0x436c9d={};return Object[_0x3ab7ac(0x269)](_0x436c9d,'__esModule',{'value':!0x0}),Object[_0x3ab7ac(0x268)](_0x57a344)[_0x3ab7ac(0x2d6)](function(_0x54f527){const _0x26c28a=_0x3ab7ac;var _0x1d08c9=Object[_0x26c28a(0x2c0)](_0x57a344,_0x54f527);Object[_0x26c28a(0x269)](_0x436c9d,_0x54f527,_0x1d08c9['get']?_0x1d08c9:{'enumerable':!0x0,'get':function(){return _0x57a344[_0x54f527];}});}),_0x436c9d;}var se={'exports':{}},ge,Ge;function H(){const _0xacecbe=_0x256248;if(Ge)return ge;Ge=0x1;const _0x399574=[_0xacecbe(0x157),_0xacecbe(0x2d3),_0xacecbe(0x26d)],_0x1c870f=typeof Blob<'u';return _0x1c870f&&_0x399574[_0xacecbe(0x23b)](_0xacecbe(0x25d)),ge={'BINARY_TYPES':_0x399574,'EMPTY_BUFFER':Buffer[_0xacecbe(0x27a)](0x0),'GUID':_0xacecbe(0x19b),'hasBlob':_0x1c870f,'kForOnEventAttribute':Symbol(_0xacecbe(0x21c)),'kListener':Symbol(_0xacecbe(0x180)),'kStatusCode':Symbol(_0xacecbe(0x2b2)),'kWebSocket':Symbol(_0xacecbe(0x235)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Nt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Lt=at(kt);var Ve;function _0x3181(){const _0x334815=['_fragments','apply','IConfigService','jobs','delete','writeUInt16BE','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kTarget','set','1987846OMhROF','env','update','hasOwnProperty','threshold','Blob','serverMaxWindowBits','Inject','pow','startsWith','Cookie','_removeListeners','clients','MASK\x20must\x20be\x20set','stream','pluginName','WS_ERR_UNEXPECTED_RSV_1','conclude','captureStackTrace','concurrency','isPaused','createInflateRaw','handleProtocols','CONNECTING','_inflate','sha1','startLoop','href','CollaborationSocketService','options','createServer','OPEN','isBuffer','needDrain','setHeader','MASK\x20must\x20be\x20clear','method','_autoPong','NodeCollaborationSocketService','destroyed','_maskBuffer','total-length','Max\x20payload\x20size\x20exceeded','Unsupported\x20protocol\x20version:\x20','next','byteLength','size','WebSocket','GET','kIsForOnEventAttribute','construct','length','destroy','Unexpected\x20end\x20of\x20input','_doCreateSocket','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pong','_req','readUInt16BE','request','sec-websocket-protocol','allowSynchronousEvents','call','username','terminate','hostname','once','_read','createError','toDisposable','path','HTTP/1.1\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','skipUTF8Validation','websocket','charCodeAt','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','server_no_context_takeover','compress','Invalid\x20URL:\x20','push','autoPong','replace','Z_SYNC_FLUSH','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','function','_injector','UniverCollaborationClientNodePlugin','uncork','_skipUTF8Validation','onmessage','_deflate','Sec-WebSocket-Extensions','Basic\x20','indexOf','ws:','_totalPayloadLength','Parameter\x20\x22','warn','byteOffset','unmask','listening','target','Plugin','finish','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','2396rOaLUp','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','client_no_context_takeover','handleEvent','_maxPayload','rxjs','DependentOn','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','blob','values','auth','decompress','isArray','dequeue','removeAllListeners','url','listenerCount','add','text/plain','keys','defineProperty','pathname','getConfig','dataMessage','fragments','@univerjs/network','invalid\x20opcode\x20','onStarting','wss:','text/html','emit','exports','Injector','kRun','client_max_window_bits','redirect','STATUS_CODES','alloc','Unexpected\x20server\x20response:\x20','servername','registerDependencies','sec-websocket-version','entries','readyState','string','writable','_readyState','kError','zlib','_closeTimer','params','read','Invalid\x20Upgrade\x20header','generateMask','flush','isInteger','acceptAsServer','catch','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_fragmented','_bufferedBytes','kCode','_extensions','invalid\x20UTF-8\x20sequence','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','join','onerror','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','499374TDSqQT','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','shouldHandle','_no_context_takeover','ILogService','HTTP/1.1\x20101\x20Switching\x20Protocols','kAborted','noServer','listeners','createSocket','WS_ERR_EXPECTED_MASK','createConnection','location','serverNoContextTakeover','_compressed','send','finished','has','_loop','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','zlibInflateOptions','connect','cork','CLOSED','_closeCode','status-code','maxPayload','_closeMessage','readUInt32BE','haveLength','emitClose','test','Maximum\x20redirects\x20exceeded','headers','_shouldEmitClose','slice','number','Invalid\x20value\x20for\x20parameter\x20\x22','_max_window_bits','getOwnPropertyDescriptor','_paused','sendFrame','sec-websocket-accept','collaboration-client-node.config','password','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_sender','\x0d\x0a\x0d\x0a','prototype','host','registerHTTPInterceptor','ping','_buffers','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Accept:\x20','pipe','_protocol','_options','arraybuffer','writeHead','Opening\x20handshake\x20has\x20timed\x20out','forEach','unexpected-response','invalid\x20payload\x20length\x20','address','_compress','socketPath','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','drain','map','CLOSING','sec-websocket-key','toLowerCase','https:','\x22\x20must\x20have\x20only\x20a\x20single\x20value','constructor','730884EoYDgA','kReason','search','protocolVersion','35286VsUEYH','ISocketService','sec-websocket-extensions','_originalIpc','WS_ERR_INVALID_OPCODE','socket','perMessageDeflate','code','kDone','\x22:\x20','_closeFrameReceived','_httpService','Unexpected\x20character\x20at\x20index\x20','acceptAsClient','_messageLength','2415owBdct','Sec-WebSocket-Protocol','authorization','type','__esModule','pause','origin','wasClean','DisposableCollection','onopen','\x22\x20subprotocol\x20is\x20duplicated','default','mask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','resume','_firstFragment','object','COLLABORATION_CLIENT_NODE_CONFIG_KEY','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','endEmitted','opcode','rsv1','removeListener','getBlobData','normalizeParams','kByteLength','toStringTag','message','The\x20\x22','Invalid\x20WebSocket\x20frame:\x20','File','readOnly','Upgrade','_generateMask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','from','\x20(supported\x20versions:\x20','addEventListener','end','cleanup','pending','net','split','_url','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_opcode','isValidUTF8','_isServer','ws+unix:','WS_ERR_INVALID_UTF8','Z_DEFAULT_WINDOWBITS','_destroy','Module','_threshold','sec-websocket-origin','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','removeEventListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','nodebuffer','abort','setSocket','setNoDelay','writeUIntBE','close','timeout','client','Invalid\x20Sec-WebSocket-Accept\x20header','write','offer','980040KddhSh','base64','customHeaders','reason','consume','buffer','tls','statusCode','create','Sec-WebSocket-Origin','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','binaryType','The\x20URL\x27s\x20pathname\x20is\x20empty','_errorEmitted','accept','port','bind','RSV1\x20must\x20be\x20clear','_writableState','value','_bufferedAmount','getInfo','FIN\x20must\x20be\x20set','_state','extensions','_masked','getPayloadLength16','verifyClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kListener','_readableState','error','kWasClean','shift','kData','_fin','open','parse','freeze','_final','Disposable','_allowSynchronousEvents','_configService','Invalid\x20HTTP\x20method','Invalid\x20Sec-WebSocket-Extensions\x20header','arrayBuffer','getPayloadLength64','bufferedAmount','invalid\x20opcode\x200','protocol','Origin','connection','reset','_socket','_binaryType','server','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','followRedirects','getMask','errorEmitted','https','onclose','UniverCollaborationClientPlugin','wsClientError','allocUnsafe','nextTick','species','data','defaultPort','objectMode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Sec-WebSocket-Extensions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_originalHostOrSocketPath','Server\x20sent\x20an\x20invalid\x20subprotocol','handleUpgrade','_closeFrameSent','dispose','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','buffers','_server','WS_ERR_UNEXPECTED_RSV_2_3','_originalSecure','Upgrade:\x20websocket','_write','Sec-WebSocket-Protocol:\x20','WS_ERR_EXPECTED_FIN','HTTPService','frame','createDeflateRaw','isView','_redirects','fin','cookie','@univerjs/core','setTimeout','completeUpgrade','hash','_payloadLength','_decompress','_errored','concurrencyLimit','kType','controlMessage','toString','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_registerDependencies','server_max_window_bits','clientMaxWindowBits','events','_receiver','ISnapshotServerService','clientNoContextTakeover','extensionName','275951fCBGrG','digest','http','Observable','format','concat','enqueue','dispatch','upgrade','_mask','share','Server\x20sent\x20no\x20subprotocol'];_0x3181=function(){return _0x334815;};return _0x3181();}function ce(){const _0x1c567c=_0x256248;if(Ve)return se[_0x1c567c(0x274)];Ve=0x1;const {EMPTY_BUFFER:_0xe4fc7a}=H(),_0x2a8ed1=Buffer[Symbol[_0x1c567c(0x1a5)]];function _0x5c925d(_0x315bd4,_0x18a0a7){const _0x25c8ba=_0x1c567c;if(_0x315bd4[_0x25c8ba(0x21e)]===0x0)return _0xe4fc7a;if(_0x315bd4[_0x25c8ba(0x21e)]===0x1)return _0x315bd4[0x0];const _0x263be3=Buffer['allocUnsafe'](_0x18a0a7);let _0x394788=0x0;for(let _0x1bc1e3=0x0;_0x1bc1e3<_0x315bd4[_0x25c8ba(0x21e)];_0x1bc1e3++){const _0x3b9672=_0x315bd4[_0x1bc1e3];_0x263be3[_0x25c8ba(0x1ea)](_0x3b9672,_0x394788),_0x394788+=_0x3b9672[_0x25c8ba(0x21e)];}return _0x394788<_0x18a0a7?new _0x2a8ed1(_0x263be3['buffer'],_0x263be3['byteOffset'],_0x394788):_0x263be3;}function _0x310268(_0x1adfc3,_0x2061fe,_0x112976,_0x955312,_0x1c0f87){for(let _0xb38d55=0x0;_0xb38d55<_0x1c0f87;_0xb38d55++)_0x112976[_0x955312+_0xb38d55]=_0x1adfc3[_0xb38d55]^_0x2061fe[_0xb38d55&0x3];}function _0x45a528(_0x250281,_0x3e0f24){const _0x31e1d0=_0x1c567c;for(let _0x5f6935=0x0;_0x5f6935<_0x250281[_0x31e1d0(0x21e)];_0x5f6935++)_0x250281[_0x5f6935]^=_0x3e0f24[_0x5f6935&0x3];}function _0x170ec7(_0x4386c7){const _0x3893d2=_0x1c567c;return _0x4386c7['length']===_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x218)]?_0x4386c7[_0x3893d2(0x167)]:_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x2bc)](_0x4386c7[_0x3893d2(0x24e)],_0x4386c7[_0x3893d2(0x24e)]+_0x4386c7[_0x3893d2(0x21e)]);}function _0x138d06(_0x210cf3){const _0x5c39b1=_0x1c567c;if(_0x138d06[_0x5c39b1(0x13c)]=!0x0,Buffer[_0x5c39b1(0x20b)](_0x210cf3))return _0x210cf3;let _0x31a8c7;return _0x210cf3 instanceof ArrayBuffer?_0x31a8c7=new _0x2a8ed1(_0x210cf3):ArrayBuffer[_0x5c39b1(0x1be)](_0x210cf3)?_0x31a8c7=new _0x2a8ed1(_0x210cf3['buffer'],_0x210cf3[_0x5c39b1(0x24e)],_0x210cf3['byteLength']):(_0x31a8c7=Buffer[_0x5c39b1(0x140)](_0x210cf3),_0x138d06[_0x5c39b1(0x13c)]=!0x1),_0x31a8c7;}if(se['exports']={'concat':_0x5c925d,'mask':_0x310268,'toArrayBuffer':_0x170ec7,'toBuffer':_0x138d06,'unmask':_0x45a528},!process[_0x1c567c(0x1ec)]['WS_NO_BUFFER_UTIL'])try{const _0x824ee6=Lt;se[_0x1c567c(0x274)][_0x1c567c(0x129)]=function(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec){const _0x566b3e=_0x1c567c;_0xd44eec<0x30?_0x310268(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec):_0x824ee6[_0x566b3e(0x129)](_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec);},se[_0x1c567c(0x274)]['unmask']=function(_0x41c7d2,_0xa87aca){const _0x13ecf1=_0x1c567c;_0x41c7d2[_0x13ecf1(0x21e)]<0x20?_0x45a528(_0x41c7d2,_0xa87aca):_0x824ee6[_0x13ecf1(0x24f)](_0x41c7d2,_0xa87aca);};}catch{}return se[_0x1c567c(0x274)];}var ye,He;function Pt(){const _0x5bb7c4=_0x256248;if(He)return ye;He=0x1;const _0x2d7a23=Symbol(_0x5bb7c4(0x2f1)),_0x576aa2=Symbol(_0x5bb7c4(0x276));class _0x26cd29{constructor(_0x479de6){const _0x3382ff=_0x5bb7c4;this[_0x2d7a23]=()=>{const _0x5462cc=_0x2b82;this[_0x5462cc(0x145)]--,this[_0x576aa2]();},this[_0x3382ff(0x1fe)]=_0x479de6||0x1/0x0,this[_0x3382ff(0x1e5)]=[],this[_0x3382ff(0x145)]=0x0;}[_0x5bb7c4(0x266)](_0x2d99dd){this['jobs']['push'](_0x2d99dd),this[_0x576aa2]();}[_0x576aa2](){const _0xf673a4=_0x5bb7c4;if(this[_0xf673a4(0x145)]!==this[_0xf673a4(0x1fe)]&&this[_0xf673a4(0x1e5)][_0xf673a4(0x21e)]){const _0x195233=this[_0xf673a4(0x1e5)][_0xf673a4(0x184)]();this[_0xf673a4(0x145)]++,_0x195233(this[_0x2d7a23]);}}}return ye=_0x26cd29,ye;}var ve,ze;function he(){const _0x50ebd6=_0x256248;if(ze)return ve;ze=0x1;const _0x274861=bt,_0x4af953=ce(),_0x53d03b=Pt(),{kStatusCode:_0x5804ac}=H(),_0x78bca4=Buffer[Symbol[_0x50ebd6(0x1a5)]],_0x614e3f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x7fcda=Symbol('permessage-deflate'),_0x72a99e=Symbol(_0x50ebd6(0x214)),_0x560572=Symbol('callback'),_0x55f9fa=Symbol(_0x50ebd6(0x1b3)),_0x3111d7=Symbol(_0x50ebd6(0x182));let _0x219b85;class _0x107538{constructor(_0x1c4fc4,_0x3835de,_0x24532a){const _0x3513f8=_0x50ebd6;if(this[_0x3513f8(0x259)]=_0x24532a|0x0,this[_0x3513f8(0x2d2)]=_0x1c4fc4||{},this['_threshold']=this[_0x3513f8(0x2d2)][_0x3513f8(0x1ef)]!==void 0x0?this['_options'][_0x3513f8(0x1ef)]:0x400,this[_0x3513f8(0x14c)]=!!_0x3835de,this[_0x3513f8(0x246)]=null,this[_0x3513f8(0x203)]=null,this[_0x3513f8(0x287)]=null,!_0x219b85){const _0x1c45a1=this['_options'][_0x3513f8(0x1c9)]!==void 0x0?this[_0x3513f8(0x2d2)][_0x3513f8(0x1c9)]:0xa;_0x219b85=new _0x53d03b(_0x1c45a1);}}static get['extensionName'](){return'permessage-deflate';}[_0x50ebd6(0x161)](){const _0x15104e=_0x50ebd6,_0x5825af={};return this[_0x15104e(0x2d2)][_0x15104e(0x2a6)]&&(_0x5825af[_0x15104e(0x238)]=!0x0),this[_0x15104e(0x2d2)]['clientNoContextTakeover']&&(_0x5825af[_0x15104e(0x257)]=!0x0),this[_0x15104e(0x2d2)][_0x15104e(0x1f1)]&&(_0x5825af[_0x15104e(0x1cf)]=this['_options'][_0x15104e(0x1f1)]),this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]?_0x5825af[_0x15104e(0x277)]=this[_0x15104e(0x2d2)]['clientMaxWindowBits']:this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]==null&&(_0x5825af[_0x15104e(0x277)]=!0x0),_0x5825af;}[_0x50ebd6(0x171)](_0x384848){const _0x10f57a=_0x50ebd6;return _0x384848=this['normalizeParams'](_0x384848),this[_0x10f57a(0x287)]=this[_0x10f57a(0x14c)]?this['acceptAsServer'](_0x384848):this['acceptAsClient'](_0x384848),this['params'];}[_0x50ebd6(0x144)](){const _0xf76886=_0x50ebd6;if(this[_0xf76886(0x203)]&&(this[_0xf76886(0x203)][_0xf76886(0x15c)](),this[_0xf76886(0x203)]=null),this[_0xf76886(0x246)]){const _0x215959=this['_deflate'][_0x560572];this[_0xf76886(0x246)][_0xf76886(0x15c)](),this[_0xf76886(0x246)]=null,_0x215959&&_0x215959(new Error(_0xf76886(0x233)));}}[_0x50ebd6(0x28d)](_0x15e7b6){const _0x120cfa=_0x50ebd6,_0xa06d3c=this[_0x120cfa(0x2d2)],_0x456764=_0x15e7b6['find'](_0x5edad0=>!(_0xa06d3c[_0x120cfa(0x2a6)]===!0x1&&_0x5edad0['server_no_context_takeover']||_0x5edad0[_0x120cfa(0x1cf)]&&(_0xa06d3c[_0x120cfa(0x1f1)]===!0x1||typeof _0xa06d3c[_0x120cfa(0x1f1)]==_0x120cfa(0x2bd)&&_0xa06d3c[_0x120cfa(0x1f1)]>_0x5edad0['server_max_window_bits'])||typeof _0xa06d3c['clientMaxWindowBits']==_0x120cfa(0x2bd)&&!_0x5edad0[_0x120cfa(0x277)]));if(!_0x456764)throw new Error(_0x120cfa(0x149));return _0xa06d3c[_0x120cfa(0x2a6)]&&(_0x456764[_0x120cfa(0x238)]=!0x0),_0xa06d3c[_0x120cfa(0x1d4)]&&(_0x456764['client_no_context_takeover']=!0x0),typeof _0xa06d3c[_0x120cfa(0x1f1)]=='number'&&(_0x456764[_0x120cfa(0x1cf)]=_0xa06d3c[_0x120cfa(0x1f1)]),typeof _0xa06d3c[_0x120cfa(0x1d0)]==_0x120cfa(0x2bd)?_0x456764[_0x120cfa(0x277)]=_0xa06d3c[_0x120cfa(0x1d0)]:(_0x456764['client_max_window_bits']===!0x0||_0xa06d3c[_0x120cfa(0x1d0)]===!0x1)&&delete _0x456764['client_max_window_bits'],_0x456764;}[_0x50ebd6(0x2f6)](_0x3aca61){const _0x28c82c=_0x50ebd6,_0x1766e1=_0x3aca61[0x0];if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d4)]===!0x1&&_0x1766e1[_0x28c82c(0x257)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1766e1[_0x28c82c(0x277)])typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&(_0x1766e1[_0x28c82c(0x277)]=this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]);else{if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]===!0x1||typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&_0x1766e1[_0x28c82c(0x277)]>this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)])throw new Error(_0x28c82c(0x295));}return _0x1766e1;}[_0x50ebd6(0x135)](_0x30581a){const _0x1959d1=_0x50ebd6;return _0x30581a[_0x1959d1(0x2d6)](_0x1cf191=>{const _0x2befcc=_0x1959d1;Object['keys'](_0x1cf191)[_0x2befcc(0x2d6)](_0x48efd5=>{const _0x1ea61a=_0x2befcc;let _0x113ad7=_0x1cf191[_0x48efd5];if(_0x113ad7[_0x1ea61a(0x21e)]>0x1)throw new Error(_0x1ea61a(0x24c)+_0x48efd5+_0x1ea61a(0x2e3));if(_0x113ad7=_0x113ad7[0x0],_0x48efd5===_0x1ea61a(0x277)){if(_0x113ad7!==!0x0){const _0x3f57af=+_0x113ad7;if(!Number['isInteger'](_0x3f57af)||_0x3f57af<0x8||_0x3f57af>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+'\x22:\x20'+_0x113ad7);_0x113ad7=_0x3f57af;}else{if(!this[_0x1ea61a(0x14c)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}}else{if(_0x48efd5===_0x1ea61a(0x1cf)){const _0x13e28c=+_0x113ad7;if(!Number[_0x1ea61a(0x28c)](_0x13e28c)||_0x13e28c<0x8||_0x13e28c>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);_0x113ad7=_0x13e28c;}else{if(_0x48efd5==='client_no_context_takeover'||_0x48efd5===_0x1ea61a(0x238)){if(_0x113ad7!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x48efd5+'\x22');}}_0x1cf191[_0x48efd5]=_0x113ad7;});}),_0x30581a;}[_0x50ebd6(0x260)](_0x265a8a,_0x47cea1,_0x335fec){const _0x58651f=_0x50ebd6;_0x219b85[_0x58651f(0x266)](_0x558487=>{const _0x17ba58=_0x58651f;this[_0x17ba58(0x1c7)](_0x265a8a,_0x47cea1,(_0x16db76,_0x17130a)=>{_0x558487(),_0x335fec(_0x16db76,_0x17130a);});});}[_0x50ebd6(0x239)](_0x2bb08b,_0x330e0f,_0x2492a3){const _0x2acbb0=_0x50ebd6;_0x219b85[_0x2acbb0(0x266)](_0x43a6af=>{this['_compress'](_0x2bb08b,_0x330e0f,(_0x215421,_0x4cb4ff)=>{_0x43a6af(),_0x2492a3(_0x215421,_0x4cb4ff);});});}[_0x50ebd6(0x1c7)](_0x21acfc,_0x1044eb,_0x1238ee){const _0x10283f=_0x50ebd6,_0x54fd05=this[_0x10283f(0x14c)]?_0x10283f(0x15e):'server';if(!this[_0x10283f(0x203)]){const _0x4d33e9=_0x54fd05+_0x10283f(0x2bf),_0x2a3041=typeof this[_0x10283f(0x287)][_0x4d33e9]!=_0x10283f(0x2bd)?_0x274861[_0x10283f(0x14f)]:this[_0x10283f(0x287)][_0x4d33e9];this[_0x10283f(0x203)]=_0x274861[_0x10283f(0x200)]({...this[_0x10283f(0x2d2)][_0x10283f(0x2ad)],'windowBits':_0x2a3041}),this[_0x10283f(0x203)][_0x7fcda]=this,this[_0x10283f(0x203)][_0x72a99e]=0x0,this[_0x10283f(0x203)][_0x55f9fa]=[],this[_0x10283f(0x203)]['on'](_0x10283f(0x182),_0x282b65),this[_0x10283f(0x203)]['on'](_0x10283f(0x1a6),_0x4e4888);}this['_inflate'][_0x560572]=_0x1238ee,this[_0x10283f(0x203)][_0x10283f(0x160)](_0x21acfc),_0x1044eb&&this[_0x10283f(0x203)][_0x10283f(0x160)](_0x614e3f),this[_0x10283f(0x203)]['flush'](()=>{const _0x58fdac=_0x10283f,_0x460f35=this[_0x58fdac(0x203)][_0x3111d7];if(_0x460f35){this['_inflate'][_0x58fdac(0x15c)](),this[_0x58fdac(0x203)]=null,_0x1238ee(_0x460f35);return;}const _0x3454b3=_0x4af953[_0x58fdac(0x1db)](this[_0x58fdac(0x203)][_0x55f9fa],this[_0x58fdac(0x203)][_0x72a99e]);this[_0x58fdac(0x203)][_0x58fdac(0x181)]['endEmitted']?(this[_0x58fdac(0x203)][_0x58fdac(0x15c)](),this['_inflate']=null):(this[_0x58fdac(0x203)][_0x72a99e]=0x0,this['_inflate'][_0x55f9fa]=[],_0x1044eb&&this[_0x58fdac(0x287)][_0x54fd05+_0x58fdac(0x29c)]&&this[_0x58fdac(0x203)][_0x58fdac(0x197)]()),_0x1238ee(null,_0x3454b3);});}[_0x50ebd6(0x2da)](_0x37135b,_0x5d6ab6,_0xdbc6d9){const _0x186cf5=_0x50ebd6,_0x35c396=this['_isServer']?'server':_0x186cf5(0x15e);if(!this[_0x186cf5(0x246)]){const _0x29d48f=_0x35c396+_0x186cf5(0x2bf),_0x387ac1=typeof this['params'][_0x29d48f]!=_0x186cf5(0x2bd)?_0x274861['Z_DEFAULT_WINDOWBITS']:this[_0x186cf5(0x287)][_0x29d48f];this[_0x186cf5(0x246)]=_0x274861[_0x186cf5(0x1bd)]({...this[_0x186cf5(0x2d2)]['zlibDeflateOptions'],'windowBits':_0x387ac1}),this[_0x186cf5(0x246)][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],this['_deflate']['on']('data',_0x1e78c8);}this[_0x186cf5(0x246)][_0x560572]=_0xdbc6d9,this[_0x186cf5(0x246)][_0x186cf5(0x160)](_0x37135b),this[_0x186cf5(0x246)][_0x186cf5(0x28b)](_0x274861[_0x186cf5(0x23e)],()=>{const _0x20bdf6=_0x186cf5;if(!this['_deflate'])return;let _0x2154d4=_0x4af953[_0x20bdf6(0x1db)](this[_0x20bdf6(0x246)][_0x55f9fa],this[_0x20bdf6(0x246)][_0x72a99e]);_0x5d6ab6&&(_0x2154d4=new _0x78bca4(_0x2154d4['buffer'],_0x2154d4[_0x20bdf6(0x24e)],_0x2154d4['length']-0x4)),this[_0x20bdf6(0x246)][_0x560572]=null,this['_deflate'][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],_0x5d6ab6&&this[_0x20bdf6(0x287)][_0x35c396+'_no_context_takeover']&&this[_0x20bdf6(0x246)][_0x20bdf6(0x197)](),_0xdbc6d9(null,_0x2154d4);});}}ve=_0x107538;function _0x1e78c8(_0x1edb49){const _0x5aa67a=_0x50ebd6;this[_0x55f9fa][_0x5aa67a(0x23b)](_0x1edb49),this[_0x72a99e]+=_0x1edb49[_0x5aa67a(0x21e)];}function _0x4e4888(_0x37adea){const _0x3898ad=_0x50ebd6;if(this[_0x72a99e]+=_0x37adea[_0x3898ad(0x21e)],this[_0x7fcda][_0x3898ad(0x259)]<0x1||this[_0x72a99e]<=this[_0x7fcda][_0x3898ad(0x259)]){this[_0x55f9fa][_0x3898ad(0x23b)](_0x37adea);return;}this[_0x3111d7]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3111d7][_0x3898ad(0x2f0)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3111d7][_0x5804ac]=0x3f1,this[_0x3898ad(0x133)](_0x3898ad(0x1a6),_0x4e4888),this['reset']();}function _0x282b65(_0x18e726){const _0x3281c5=_0x50ebd6;this[_0x7fcda][_0x3281c5(0x203)]=null,_0x18e726[_0x5804ac]=0x3ef,this[_0x560572](_0x18e726);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Dt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Bt=at(Rt);var Ye;function ae(){const _0x452414=_0x256248;if(Ye)return ie[_0x452414(0x274)];Ye=0x1;const {isUtf8:_0x410401}=wt,{hasBlob:_0x4238e3}=H(),_0x4e703d=[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 _0x2d7cf0(_0x896545){return _0x896545>=0x3e8&&_0x896545<=0x3f6&&_0x896545!==0x3ec&&_0x896545!==0x3ed&&_0x896545!==0x3ee||_0x896545>=0xbb8&&_0x896545<=0x1387;}function _0x24e3b9(_0x19468c){const _0x25c1ea=_0x19468c['length'];let _0x482ec0=0x0;for(;_0x482ec0<_0x25c1ea;)if((_0x19468c[_0x482ec0]&0x80)===0x0)_0x482ec0++;else{if((_0x19468c[_0x482ec0]&0xe0)===0xc0){if(_0x482ec0+0x1===_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0]&0xfe)===0xc0)return!0x1;_0x482ec0+=0x2;}else{if((_0x19468c[_0x482ec0]&0xf0)===0xe0){if(_0x482ec0+0x2>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xe0&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0x80||_0x19468c[_0x482ec0]===0xed&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0xa0)return!0x1;_0x482ec0+=0x3;}else{if((_0x19468c[_0x482ec0]&0xf8)===0xf0){if(_0x482ec0+0x3>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x3]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xf0&&(_0x19468c[_0x482ec0+0x1]&0xf0)===0x80||_0x19468c[_0x482ec0]===0xf4&&_0x19468c[_0x482ec0+0x1]>0x8f||_0x19468c[_0x482ec0]>0xf4)return!0x1;_0x482ec0+=0x4;}else return!0x1;}}}return!0x0;}function _0x23ee0e(_0x12e3ad){const _0x4200f2=_0x452414;return _0x4238e3&&typeof _0x12e3ad==_0x4200f2(0x12d)&&typeof _0x12e3ad[_0x4200f2(0x190)]==_0x4200f2(0x240)&&typeof _0x12e3ad['type']==_0x4200f2(0x281)&&typeof _0x12e3ad[_0x4200f2(0x1f9)]==_0x4200f2(0x240)&&(_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x1f0)||_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x13b));}if(ie['exports']={'isBlob':_0x23ee0e,'isValidStatusCode':_0x2d7cf0,'isValidUTF8':_0x24e3b9,'tokenChars':_0x4e703d},_0x410401)ie['exports'][_0x452414(0x14b)]=function(_0x2b65d){const _0x1d0bd6=_0x452414;return _0x2b65d[_0x1d0bd6(0x21e)]<0x18?_0x24e3b9(_0x2b65d):_0x410401(_0x2b65d);};else{if(!process[_0x452414(0x1ec)]['WS_NO_UTF_8_VALIDATE'])try{const _0x33693a=Bt;ie['exports'][_0x452414(0x14b)]=function(_0x5b24ec){const _0x4bfab7=_0x452414;return _0x5b24ec[_0x4bfab7(0x21e)]<0x20?_0x24e3b9(_0x5b24ec):_0x33693a(_0x5b24ec);};}catch{}}return ie[_0x452414(0x274)];}var Se,Ke;function lt(){const _0x467093=_0x256248;if(Ke)return Se;Ke=0x1;const {Writable:_0x31b4a8}=oe,_0x35f7b4=he(),{BINARY_TYPES:_0x322fe9,EMPTY_BUFFER:_0x127ec1,kStatusCode:_0x375aa9,kWebSocket:_0x3ac6ea}=H(),{concat:_0x3bb535,toArrayBuffer:_0x4fa2d6,unmask:_0xcb3723}=ce(),{isValidStatusCode:_0x74f74a,isValidUTF8:_0x235d7a}=ae(),_0x35ec24=Buffer[Symbol[_0x467093(0x1a5)]],_0x3e2e0e=0x0,_0x2b1f7c=0x1,_0x3401a5=0x2,_0x5d9e15=0x3,_0x2fac7a=0x4,_0x5149c9=0x5,_0x22e3c8=0x6;class _0x13820b extends _0x31b4a8{constructor(_0x45a571={}){const _0x5839fb=_0x467093;super(),this[_0x5839fb(0x18c)]=_0x45a571[_0x5839fb(0x228)]!==void 0x0?_0x45a571[_0x5839fb(0x228)]:!0x0,this[_0x5839fb(0x199)]=_0x45a571[_0x5839fb(0x16e)]||_0x322fe9[0x0],this[_0x5839fb(0x293)]=_0x45a571[_0x5839fb(0x17b)]||{},this[_0x5839fb(0x14c)]=!!_0x45a571['isServer'],this[_0x5839fb(0x259)]=_0x45a571['maxPayload']|0x0,this[_0x5839fb(0x244)]=!!_0x45a571['skipUTF8Validation'],this[_0x3ac6ea]=void 0x0,this[_0x5839fb(0x291)]=0x0,this[_0x5839fb(0x2cd)]=[],this[_0x5839fb(0x2a7)]=!0x1,this[_0x5839fb(0x1c6)]=0x0,this[_0x5839fb(0x1df)]=void 0x0,this[_0x5839fb(0x290)]=0x0,this[_0x5839fb(0x17c)]=!0x1,this[_0x5839fb(0x186)]=!0x1,this[_0x5839fb(0x14a)]=0x0,this[_0x5839fb(0x24b)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x5839fb(0x1c8)]=!0x1,this[_0x5839fb(0x2ab)]=!0x1,this[_0x5839fb(0x17a)]=_0x3e2e0e;}[_0x467093(0x1b8)](_0x11fb43,_0x3d0a88,_0x4d54da){const _0x2e154c=_0x467093;if(this[_0x2e154c(0x14a)]===0x8&&this['_state']==_0x3e2e0e)return _0x4d54da();this[_0x2e154c(0x291)]+=_0x11fb43[_0x2e154c(0x21e)],this[_0x2e154c(0x2cd)]['push'](_0x11fb43),this[_0x2e154c(0x205)](_0x4d54da);}[_0x467093(0x166)](_0x18ee04){const _0x523f13=_0x467093;if(this[_0x523f13(0x291)]-=_0x18ee04,_0x18ee04===this[_0x523f13(0x2cd)][0x0]['length'])return this[_0x523f13(0x2cd)][_0x523f13(0x184)]();if(_0x18ee04<this['_buffers'][0x0][_0x523f13(0x21e)]){const _0x45c0f8=this[_0x523f13(0x2cd)][0x0];return this[_0x523f13(0x2cd)][0x0]=new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8['byteOffset']+_0x18ee04,_0x45c0f8[_0x523f13(0x21e)]-_0x18ee04),new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8[_0x523f13(0x24e)],_0x18ee04);}const _0x4c2cba=Buffer[_0x523f13(0x1a3)](_0x18ee04);do{const _0x3908f1=this[_0x523f13(0x2cd)][0x0],_0x17ca89=_0x4c2cba[_0x523f13(0x21e)]-_0x18ee04;_0x18ee04>=_0x3908f1[_0x523f13(0x21e)]?_0x4c2cba[_0x523f13(0x1ea)](this[_0x523f13(0x2cd)][_0x523f13(0x184)](),_0x17ca89):(_0x4c2cba['set'](new Uint8Array(_0x3908f1[_0x523f13(0x167)],_0x3908f1['byteOffset'],_0x18ee04),_0x17ca89),this['_buffers'][0x0]=new _0x35ec24(_0x3908f1[_0x523f13(0x167)],_0x3908f1[_0x523f13(0x24e)]+_0x18ee04,_0x3908f1[_0x523f13(0x21e)]-_0x18ee04)),_0x18ee04-=_0x3908f1[_0x523f13(0x21e)];}while(_0x18ee04>0x0);return _0x4c2cba;}[_0x467093(0x205)](_0x118d28){const _0xead6b1=_0x467093;this[_0xead6b1(0x2ab)]=!0x0;do switch(this[_0xead6b1(0x17a)]){case _0x3e2e0e:this[_0xead6b1(0x178)](_0x118d28);break;case _0x2b1f7c:this[_0xead6b1(0x17d)](_0x118d28);break;case _0x3401a5:this[_0xead6b1(0x191)](_0x118d28);break;case _0x5d9e15:this['getMask']();break;case _0x2fac7a:this['getData'](_0x118d28);break;case _0x5149c9:case _0x22e3c8:this['_loop']=!0x1;return;}while(this[_0xead6b1(0x2ab)]);this[_0xead6b1(0x1c8)]||_0x118d28();}[_0x467093(0x178)](_0x331e10){const _0x192825=_0x467093;if(this[_0x192825(0x291)]<0x2){this[_0x192825(0x2ab)]=!0x1;return;}const _0x4c43a8=this[_0x192825(0x166)](0x2);if((_0x4c43a8[0x0]&0x30)!==0x0){const _0xe72117=this[_0x192825(0x22f)](RangeError,_0x192825(0x237),!0x0,0x3ea,_0x192825(0x1b5));_0x331e10(_0xe72117);return;}const _0x282c50=(_0x4c43a8[0x0]&0x40)===0x40;if(_0x282c50&&!this[_0x192825(0x293)][_0x35f7b4[_0x192825(0x1d5)]]){const _0xff56aa=this[_0x192825(0x22f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0xff56aa);return;}if(this[_0x192825(0x186)]=(_0x4c43a8[0x0]&0x80)===0x80,this['_opcode']=_0x4c43a8[0x0]&0xf,this[_0x192825(0x1c6)]=_0x4c43a8[0x1]&0x7f,this[_0x192825(0x14a)]===0x0){if(_0x282c50){const _0x3d31f7=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x3d31f7);return;}if(!this['_fragmented']){const _0x1ed748=this['createError'](RangeError,_0x192825(0x193),!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1ed748);return;}this['_opcode']=this[_0x192825(0x290)];}else{if(this[_0x192825(0x14a)]===0x1||this[_0x192825(0x14a)]===0x2){if(this['_fragmented']){const _0x1a1b41=this[_0x192825(0x22f)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1a1b41);return;}this['_compressed']=_0x282c50;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x192825(0x186)]){const _0x30599d=this[_0x192825(0x22f)](RangeError,_0x192825(0x179),!0x0,0x3ea,_0x192825(0x1ba));_0x331e10(_0x30599d);return;}if(_0x282c50){const _0x5b97dd=this['createError'](RangeError,_0x192825(0x174),!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x5b97dd);return;}if(this[_0x192825(0x1c6)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x579380=this['createError'](RangeError,_0x192825(0x2d8)+this[_0x192825(0x1c6)],!0x0,0x3ea,_0x192825(0x254));_0x331e10(_0x579380);return;}}else{const _0xf9254f=this[_0x192825(0x22f)](RangeError,_0x192825(0x26f)+this[_0x192825(0x14a)],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0xf9254f);return;}}}if(!this[_0x192825(0x186)]&&!this[_0x192825(0x290)]&&(this[_0x192825(0x290)]=this[_0x192825(0x14a)]),this['_masked']=(_0x4c43a8[0x1]&0x80)===0x80,this[_0x192825(0x14c)]){if(!this[_0x192825(0x17c)]){const _0x1cb54a=this[_0x192825(0x22f)](RangeError,_0x192825(0x1f8),!0x0,0x3ea,_0x192825(0x2a3));_0x331e10(_0x1cb54a);return;}}else{if(this['_masked']){const _0x3c75eb=this[_0x192825(0x22f)](RangeError,_0x192825(0x20e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x331e10(_0x3c75eb);return;}}this['_payloadLength']===0x7e?this[_0x192825(0x17a)]=_0x2b1f7c:this[_0x192825(0x1c6)]===0x7f?this[_0x192825(0x17a)]=_0x3401a5:this[_0x192825(0x2b6)](_0x331e10);}[_0x467093(0x17d)](_0x4b3bc2){const _0x49a99f=_0x467093;if(this[_0x49a99f(0x291)]<0x2){this[_0x49a99f(0x2ab)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x49a99f(0x225)](0x0),this[_0x49a99f(0x2b6)](_0x4b3bc2);}[_0x467093(0x191)](_0xfc9fee){const _0xe1ffc5=_0x467093;if(this[_0xe1ffc5(0x291)]<0x8){this[_0xe1ffc5(0x2ab)]=!0x1;return;}const _0x4abfe4=this[_0xe1ffc5(0x166)](0x8),_0x118ca2=_0x4abfe4[_0xe1ffc5(0x2b5)](0x0);if(_0x118ca2>Math[_0xe1ffc5(0x1f3)](0x2,0x15)-0x1){const _0x3a1d59=this['createError'](RangeError,_0xe1ffc5(0x13f),!0x1,0x3f1,_0xe1ffc5(0x222));_0xfc9fee(_0x3a1d59);return;}this[_0xe1ffc5(0x1c6)]=_0x118ca2*Math[_0xe1ffc5(0x1f3)](0x2,0x20)+_0x4abfe4[_0xe1ffc5(0x2b5)](0x4),this[_0xe1ffc5(0x2b6)](_0xfc9fee);}['haveLength'](_0x5cb65a){const _0x2e99c4=_0x467093;if(this['_payloadLength']&&this[_0x2e99c4(0x14a)]<0x8&&(this[_0x2e99c4(0x24b)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2e99c4(0x259)]&&this['_maxPayload']>0x0)){const _0x3a084a=this[_0x2e99c4(0x22f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2e99c4(0x29a));_0x5cb65a(_0x3a084a);return;}this['_masked']?this[_0x2e99c4(0x17a)]=_0x5d9e15:this[_0x2e99c4(0x17a)]=_0x2fac7a;}[_0x467093(0x19d)](){const _0x3c581e=_0x467093;if(this[_0x3c581e(0x291)]<0x4){this[_0x3c581e(0x2ab)]=!0x1;return;}this[_0x3c581e(0x1df)]=this[_0x3c581e(0x166)](0x4),this[_0x3c581e(0x17a)]=_0x2fac7a;}['getData'](_0x1a3edd){const _0x535236=_0x467093;let _0x312740=_0x127ec1;if(this[_0x535236(0x1c6)]){if(this[_0x535236(0x291)]<this['_payloadLength']){this[_0x535236(0x2ab)]=!0x1;return;}_0x312740=this['consume'](this[_0x535236(0x1c6)]),this[_0x535236(0x17c)]&&(this[_0x535236(0x1df)][0x0]|this[_0x535236(0x1df)][0x1]|this['_mask'][0x2]|this[_0x535236(0x1df)][0x3])!==0x0&&_0xcb3723(_0x312740,this[_0x535236(0x1df)]);}if(this[_0x535236(0x14a)]>0x7){this[_0x535236(0x1cb)](_0x312740,_0x1a3edd);return;}if(this['_compressed']){this[_0x535236(0x17a)]=_0x5149c9,this[_0x535236(0x260)](_0x312740,_0x1a3edd);return;}_0x312740[_0x535236(0x21e)]&&(this[_0x535236(0x2f7)]=this[_0x535236(0x24b)],this[_0x535236(0x1e2)][_0x535236(0x23b)](_0x312740)),this[_0x535236(0x26c)](_0x1a3edd);}[_0x467093(0x260)](_0x5232ba,_0x5cebaf){const _0x91e9ea=_0x467093;this['_extensions'][_0x35f7b4[_0x91e9ea(0x1d5)]]['decompress'](_0x5232ba,this[_0x91e9ea(0x186)],(_0x547a60,_0x45300f)=>{const _0x3d78c9=_0x91e9ea;if(_0x547a60)return _0x5cebaf(_0x547a60);if(_0x45300f[_0x3d78c9(0x21e)]){if(this[_0x3d78c9(0x2f7)]+=_0x45300f[_0x3d78c9(0x21e)],this[_0x3d78c9(0x2f7)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x26542e=this[_0x3d78c9(0x22f)](RangeError,_0x3d78c9(0x215),!0x1,0x3f1,_0x3d78c9(0x29a));_0x5cebaf(_0x26542e);return;}this[_0x3d78c9(0x1e2)][_0x3d78c9(0x23b)](_0x45300f);}this[_0x3d78c9(0x26c)](_0x5cebaf),this[_0x3d78c9(0x17a)]===_0x3e2e0e&&this[_0x3d78c9(0x205)](_0x5cebaf);});}[_0x467093(0x26c)](_0x450243){const _0x519b6b=_0x467093;if(!this[_0x519b6b(0x186)]){this[_0x519b6b(0x17a)]=_0x3e2e0e;return;}const _0x2253aa=this[_0x519b6b(0x2f7)],_0x575ec2=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x519b6b(0x290)]=0x0,this[_0x519b6b(0x1e2)]=[],this[_0x519b6b(0x14a)]===0x2){let _0x302d63;this[_0x519b6b(0x199)]===_0x519b6b(0x157)?_0x302d63=_0x3bb535(_0x575ec2,_0x2253aa):this[_0x519b6b(0x199)]==='arraybuffer'?_0x302d63=_0x4fa2d6(_0x3bb535(_0x575ec2,_0x2253aa)):this[_0x519b6b(0x199)]===_0x519b6b(0x25d)?_0x302d63=new Blob(_0x575ec2):_0x302d63=_0x575ec2,this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x23e228=_0x519b6b;this[_0x23e228(0x273)](_0x23e228(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e,this[_0x23e228(0x205)](_0x450243);}));}else{const _0x1ce70e=_0x3bb535(_0x575ec2,_0x2253aa);if(!this[_0x519b6b(0x244)]&&!_0x235d7a(_0x1ce70e)){const _0x4a69a9=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x519b6b(0x14e));_0x450243(_0x4a69a9);return;}this['_state']===_0x5149c9||this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x1ce70e,!0x1),this[_0x519b6b(0x17a)]=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x4250ea=_0x519b6b;this['emit'](_0x4250ea(0x138),_0x1ce70e,!0x1),this['_state']=_0x3e2e0e,this[_0x4250ea(0x205)](_0x450243);}));}}[_0x467093(0x1cb)](_0x1fc2b2,_0x545914){const _0x161e82=_0x467093;if(this[_0x161e82(0x14a)]===0x8){if(_0x1fc2b2[_0x161e82(0x21e)]===0x0)this[_0x161e82(0x2ab)]=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),0x3ed,_0x127ec1),this['end']();else{const _0x32fb3f=_0x1fc2b2[_0x161e82(0x225)](0x0);if(!_0x74f74a(_0x32fb3f)){const _0x42931d=this[_0x161e82(0x22f)](RangeError,'invalid\x20status\x20code\x20'+_0x32fb3f,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x545914(_0x42931d);return;}const _0x501050=new _0x35ec24(_0x1fc2b2[_0x161e82(0x167)],_0x1fc2b2[_0x161e82(0x24e)]+0x2,_0x1fc2b2[_0x161e82(0x21e)]-0x2);if(!this[_0x161e82(0x244)]&&!_0x235d7a(_0x501050)){const _0x716532=this[_0x161e82(0x22f)](Error,_0x161e82(0x294),!0x0,0x3ef,_0x161e82(0x14e));_0x545914(_0x716532);return;}this['_loop']=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),_0x32fb3f,_0x501050),this[_0x161e82(0x143)]();}this[_0x161e82(0x17a)]=_0x3e2e0e;return;}this[_0x161e82(0x18c)]?(this[_0x161e82(0x273)](this[_0x161e82(0x14a)]===0x9?_0x161e82(0x2cc):'pong',_0x1fc2b2),this[_0x161e82(0x17a)]=_0x3e2e0e):(this[_0x161e82(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x475d9c=_0x161e82;this[_0x475d9c(0x273)](this[_0x475d9c(0x14a)]===0x9?_0x475d9c(0x2cc):_0x475d9c(0x223),_0x1fc2b2),this[_0x475d9c(0x17a)]=_0x3e2e0e,this[_0x475d9c(0x205)](_0x545914);}));}['createError'](_0x4bd19e,_0x5d291e,_0x19d87e,_0x45b389,_0x1acabe){const _0xcca9cd=_0x467093;this[_0xcca9cd(0x2ab)]=!0x1,this[_0xcca9cd(0x1c8)]=!0x0;const _0x57742b=new _0x4bd19e(_0x19d87e?_0xcca9cd(0x13a)+_0x5d291e:_0x5d291e);return Error['captureStackTrace'](_0x57742b,this[_0xcca9cd(0x22f)]),_0x57742b[_0xcca9cd(0x2f0)]=_0x1acabe,_0x57742b[_0x375aa9]=_0x45b389,_0x57742b;}}return Se=_0x13820b,Se;}var Ee,Xe;function ft(){const _0x14f199=_0x256248;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x341a91}=oe,{randomFillSync:_0x3407b4}=Le,_0x465999=he(),{EMPTY_BUFFER:_0x2f7240,kWebSocket:_0x30d4cb,NOOP:_0xd044e4}=H(),{isBlob:_0xdacc5,isValidStatusCode:_0x55bb78}=ae(),{mask:_0x1f8419,toBuffer:_0x19bd9b}=ce(),_0x4f9c76=Symbol(_0x14f199(0x136)),_0x7c3c68=Buffer[_0x14f199(0x27a)](0x4),_0x45ef95=0x8*0x400;let _0xb7f647,_0xa93fb1=_0x45ef95;const _0x1f0b7f=0x0,_0x318135=0x1,_0xc6d0e8=0x2;class _0x48ff2f{constructor(_0x52019a,_0x388b27,_0x394427){const _0x32388e=_0x14f199;this[_0x32388e(0x293)]=_0x388b27||{},_0x394427&&(this[_0x32388e(0x13e)]=_0x394427,this['_maskBuffer']=Buffer[_0x32388e(0x27a)](0x4)),this[_0x32388e(0x198)]=_0x52019a,this['_firstFragment']=!0x0,this[_0x32388e(0x2da)]=!0x1,this[_0x32388e(0x291)]=0x0,this[_0x32388e(0x16c)]=[],this['_state']=_0x1f0b7f,this[_0x32388e(0x297)]=_0xd044e4,this[_0x30d4cb]=void 0x0;}static['frame'](_0x3e0274,_0x3ceba7){const _0x303312=_0x14f199;let _0x175953,_0x371013=!0x1,_0x2729ea=0x2,_0xdbe63f=!0x1;_0x3ceba7['mask']&&(_0x175953=_0x3ceba7['maskBuffer']||_0x7c3c68,_0x3ceba7['generateMask']?_0x3ceba7[_0x303312(0x28a)](_0x175953):(_0xa93fb1===_0x45ef95&&(_0xb7f647===void 0x0&&(_0xb7f647=Buffer[_0x303312(0x27a)](_0x45ef95)),_0x3407b4(_0xb7f647,0x0,_0x45ef95),_0xa93fb1=0x0),_0x175953[0x0]=_0xb7f647[_0xa93fb1++],_0x175953[0x1]=_0xb7f647[_0xa93fb1++],_0x175953[0x2]=_0xb7f647[_0xa93fb1++],_0x175953[0x3]=_0xb7f647[_0xa93fb1++]),_0xdbe63f=(_0x175953[0x0]|_0x175953[0x1]|_0x175953[0x2]|_0x175953[0x3])===0x0,_0x2729ea=0x6);let _0x26b2bc;typeof _0x3e0274==_0x303312(0x281)?(!_0x3ceba7[_0x303312(0x129)]||_0xdbe63f)&&_0x3ceba7[_0x4f9c76]!==void 0x0?_0x26b2bc=_0x3ceba7[_0x4f9c76]:(_0x3e0274=Buffer[_0x303312(0x140)](_0x3e0274),_0x26b2bc=_0x3e0274['length']):(_0x26b2bc=_0x3e0274[_0x303312(0x21e)],_0x371013=_0x3ceba7[_0x303312(0x129)]&&_0x3ceba7[_0x303312(0x13c)]&&!_0xdbe63f);let _0x90cd7c=_0x26b2bc;_0x26b2bc>=0x10000?(_0x2729ea+=0x8,_0x90cd7c=0x7f):_0x26b2bc>0x7d&&(_0x2729ea+=0x2,_0x90cd7c=0x7e);const _0xdef187=Buffer[_0x303312(0x1a3)](_0x371013?_0x26b2bc+_0x2729ea:_0x2729ea);return _0xdef187[0x0]=_0x3ceba7[_0x303312(0x1c0)]?_0x3ceba7[_0x303312(0x131)]|0x80:_0x3ceba7[_0x303312(0x131)],_0x3ceba7[_0x303312(0x132)]&&(_0xdef187[0x0]|=0x40),_0xdef187[0x1]=_0x90cd7c,_0x90cd7c===0x7e?_0xdef187[_0x303312(0x1e7)](_0x26b2bc,0x2):_0x90cd7c===0x7f&&(_0xdef187[0x2]=_0xdef187[0x3]=0x0,_0xdef187[_0x303312(0x15b)](_0x26b2bc,0x4,0x6)),_0x3ceba7[_0x303312(0x129)]?(_0xdef187[0x1]|=0x80,_0xdef187[_0x2729ea-0x4]=_0x175953[0x0],_0xdef187[_0x2729ea-0x3]=_0x175953[0x1],_0xdef187[_0x2729ea-0x2]=_0x175953[0x2],_0xdef187[_0x2729ea-0x1]=_0x175953[0x3],_0xdbe63f?[_0xdef187,_0x3e0274]:_0x371013?(_0x1f8419(_0x3e0274,_0x175953,_0xdef187,_0x2729ea,_0x26b2bc),[_0xdef187]):(_0x1f8419(_0x3e0274,_0x175953,_0x3e0274,0x0,_0x26b2bc),[_0xdef187,_0x3e0274])):[_0xdef187,_0x3e0274];}['close'](_0x56fbd0,_0x4f1978,_0x56c5cb,_0x10535e){const _0xa7a4cc=_0x14f199;let _0x327ad6;if(_0x56fbd0===void 0x0)_0x327ad6=_0x2f7240;else{if(typeof _0x56fbd0!=_0xa7a4cc(0x2bd)||!_0x55bb78(_0x56fbd0))throw new TypeError(_0xa7a4cc(0x1cd));if(_0x4f1978===void 0x0||!_0x4f1978[_0xa7a4cc(0x21e)])_0x327ad6=Buffer[_0xa7a4cc(0x1a3)](0x2),_0x327ad6['writeUInt16BE'](_0x56fbd0,0x0);else{const _0x2f8d60=Buffer[_0xa7a4cc(0x218)](_0x4f1978);if(_0x2f8d60>0x7b)throw new RangeError(_0xa7a4cc(0x298));_0x327ad6=Buffer['allocUnsafe'](0x2+_0x2f8d60),_0x327ad6[_0xa7a4cc(0x1e7)](_0x56fbd0,0x0),typeof _0x4f1978==_0xa7a4cc(0x281)?_0x327ad6[_0xa7a4cc(0x160)](_0x4f1978,0x2):_0x327ad6[_0xa7a4cc(0x1ea)](_0x4f1978,0x2);}}const _0x913e35={[_0x4f9c76]:_0x327ad6['length'],'fin':!0x0,'generateMask':this[_0xa7a4cc(0x13e)],'mask':_0x56c5cb,'maskBuffer':this[_0xa7a4cc(0x213)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xa7a4cc(0x17a)]!==_0x1f0b7f?this[_0xa7a4cc(0x1dc)]([this[_0xa7a4cc(0x1dd)],_0x327ad6,!0x1,_0x913e35,_0x10535e]):this[_0xa7a4cc(0x2c2)](_0x48ff2f[_0xa7a4cc(0x1bc)](_0x327ad6,_0x913e35),_0x10535e);}[_0x14f199(0x2cc)](_0x25118f,_0x3ee5ef,_0x32a8c9){const _0x213e2a=_0x14f199;let _0x34d17e,_0x2cac87;if(typeof _0x25118f==_0x213e2a(0x281)?(_0x34d17e=Buffer[_0x213e2a(0x218)](_0x25118f),_0x2cac87=!0x1):_0xdacc5(_0x25118f)?(_0x34d17e=_0x25118f[_0x213e2a(0x219)],_0x2cac87=!0x1):(_0x25118f=_0x19bd9b(_0x25118f),_0x34d17e=_0x25118f['length'],_0x2cac87=_0x19bd9b['readOnly']),_0x34d17e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x372f7a={[_0x4f9c76]:_0x34d17e,'fin':!0x0,'generateMask':this[_0x213e2a(0x13e)],'mask':_0x3ee5ef,'maskBuffer':this[_0x213e2a(0x213)],'opcode':0x9,'readOnly':_0x2cac87,'rsv1':!0x1};_0xdacc5(_0x25118f)?this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this['getBlobData'],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x134)](_0x25118f,!0x1,_0x372f7a,_0x32a8c9):this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this[_0x213e2a(0x1dd)],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x2c2)](_0x48ff2f[_0x213e2a(0x1bc)](_0x25118f,_0x372f7a),_0x32a8c9);}[_0x14f199(0x223)](_0x4738a5,_0x5f4b52,_0x5f236a){const _0x2b5025=_0x14f199;let _0x18f8f9,_0x80d6a9;if(typeof _0x4738a5==_0x2b5025(0x281)?(_0x18f8f9=Buffer[_0x2b5025(0x218)](_0x4738a5),_0x80d6a9=!0x1):_0xdacc5(_0x4738a5)?(_0x18f8f9=_0x4738a5[_0x2b5025(0x219)],_0x80d6a9=!0x1):(_0x4738a5=_0x19bd9b(_0x4738a5),_0x18f8f9=_0x4738a5[_0x2b5025(0x21e)],_0x80d6a9=_0x19bd9b[_0x2b5025(0x13c)]),_0x18f8f9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2a9819={[_0x4f9c76]:_0x18f8f9,'fin':!0x0,'generateMask':this[_0x2b5025(0x13e)],'mask':_0x5f4b52,'maskBuffer':this[_0x2b5025(0x213)],'opcode':0xa,'readOnly':_0x80d6a9,'rsv1':!0x1};_0xdacc5(_0x4738a5)?this[_0x2b5025(0x17a)]!==_0x1f0b7f?this[_0x2b5025(0x1dc)]([this[_0x2b5025(0x134)],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x134)](_0x4738a5,!0x1,_0x2a9819,_0x5f236a):this['_state']!==_0x1f0b7f?this['enqueue']([this['dispatch'],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x2c2)](_0x48ff2f[_0x2b5025(0x1bc)](_0x4738a5,_0x2a9819),_0x5f236a);}['send'](_0x4d5c26,_0x344ea0,_0x1f41bd){const _0x56216b=_0x14f199,_0x17f0cd=this['_extensions'][_0x465999[_0x56216b(0x1d5)]];let _0x50838b=_0x344ea0['binary']?0x2:0x1,_0x2cb22a=_0x344ea0['compress'],_0x5a6097,_0xfe192d;typeof _0x4d5c26==_0x56216b(0x281)?(_0x5a6097=Buffer[_0x56216b(0x218)](_0x4d5c26),_0xfe192d=!0x1):_0xdacc5(_0x4d5c26)?(_0x5a6097=_0x4d5c26[_0x56216b(0x219)],_0xfe192d=!0x1):(_0x4d5c26=_0x19bd9b(_0x4d5c26),_0x5a6097=_0x4d5c26[_0x56216b(0x21e)],_0xfe192d=_0x19bd9b['readOnly']),this[_0x56216b(0x12c)]?(this[_0x56216b(0x12c)]=!0x1,_0x2cb22a&&_0x17f0cd&&_0x17f0cd['params'][_0x17f0cd[_0x56216b(0x14c)]?_0x56216b(0x238):'client_no_context_takeover']&&(_0x2cb22a=_0x5a6097>=_0x17f0cd[_0x56216b(0x152)]),this[_0x56216b(0x2da)]=_0x2cb22a):(_0x2cb22a=!0x1,_0x50838b=0x0),_0x344ea0[_0x56216b(0x1c0)]&&(this[_0x56216b(0x12c)]=!0x0);const _0x14d199={[_0x4f9c76]:_0x5a6097,'fin':_0x344ea0[_0x56216b(0x1c0)],'generateMask':this[_0x56216b(0x13e)],'mask':_0x344ea0[_0x56216b(0x129)],'maskBuffer':this[_0x56216b(0x213)],'opcode':_0x50838b,'readOnly':_0xfe192d,'rsv1':_0x2cb22a};_0xdacc5(_0x4d5c26)?this['_state']!==_0x1f0b7f?this['enqueue']([this[_0x56216b(0x134)],_0x4d5c26,this['_compress'],_0x14d199,_0x1f41bd]):this[_0x56216b(0x134)](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd):this[_0x56216b(0x17a)]!==_0x1f0b7f?this[_0x56216b(0x1dc)]([this[_0x56216b(0x1dd)],_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd]):this['dispatch'](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd);}['getBlobData'](_0xc428ee,_0x1e4b9c,_0x56865f,_0x4f92b4){const _0x1c7095=_0x14f199;this[_0x1c7095(0x291)]+=_0x56865f[_0x4f9c76],this[_0x1c7095(0x17a)]=_0xc6d0e8,_0xc428ee[_0x1c7095(0x190)]()['then'](_0x43d1b8=>{const _0x2325d=_0x1c7095;if(this[_0x2325d(0x198)][_0x2325d(0x212)]){const _0x396362=new Error(_0x2325d(0x17f));process[_0x2325d(0x1a4)](_0x4c70e9,this,_0x396362,_0x4f92b4);return;}this[_0x2325d(0x291)]-=_0x56865f[_0x4f9c76];const _0x39e17c=_0x19bd9b(_0x43d1b8);_0x1e4b9c?this[_0x2325d(0x1dd)](_0x39e17c,_0x1e4b9c,_0x56865f,_0x4f92b4):(this[_0x2325d(0x17a)]=_0x1f0b7f,this[_0x2325d(0x2c2)](_0x48ff2f['frame'](_0x39e17c,_0x56865f),_0x4f92b4),this['dequeue']());})[_0x1c7095(0x28e)](_0x6f4653=>{const _0x4a7dec=_0x1c7095;process[_0x4a7dec(0x1a4)](_0x4c26d4,this,_0x6f4653,_0x4f92b4);});}[_0x14f199(0x1dd)](_0x5944ee,_0x4129fe,_0x2f7a44,_0x332439){const _0x2eb58c=_0x14f199;if(!_0x4129fe){this[_0x2eb58c(0x2c2)](_0x48ff2f['frame'](_0x5944ee,_0x2f7a44),_0x332439);return;}const _0x4ee670=this[_0x2eb58c(0x293)][_0x465999[_0x2eb58c(0x1d5)]];this[_0x2eb58c(0x291)]+=_0x2f7a44[_0x4f9c76],this[_0x2eb58c(0x17a)]=_0x318135,_0x4ee670[_0x2eb58c(0x239)](_0x5944ee,_0x2f7a44[_0x2eb58c(0x1c0)],(_0x2bd696,_0x18cc33)=>{const _0x552ce3=_0x2eb58c;if(this[_0x552ce3(0x198)][_0x552ce3(0x212)]){const _0x3cfc5a=new Error(_0x552ce3(0x12f));_0x4c70e9(this,_0x3cfc5a,_0x332439);return;}this[_0x552ce3(0x291)]-=_0x2f7a44[_0x4f9c76],this[_0x552ce3(0x17a)]=_0x1f0b7f,_0x2f7a44[_0x552ce3(0x13c)]=!0x1,this[_0x552ce3(0x2c2)](_0x48ff2f[_0x552ce3(0x1bc)](_0x18cc33,_0x2f7a44),_0x332439),this[_0x552ce3(0x262)]();});}[_0x14f199(0x262)](){const _0x39ec33=_0x14f199;for(;this[_0x39ec33(0x17a)]===_0x1f0b7f&&this[_0x39ec33(0x16c)][_0x39ec33(0x21e)];){const _0x492d38=this[_0x39ec33(0x16c)][_0x39ec33(0x184)]();this['_bufferedBytes']-=_0x492d38[0x3][_0x4f9c76],Reflect[_0x39ec33(0x1e3)](_0x492d38[0x0],this,_0x492d38['slice'](0x1));}}[_0x14f199(0x1dc)](_0xfa20fc){const _0xce56bc=_0x14f199;this[_0xce56bc(0x291)]+=_0xfa20fc[0x3][_0x4f9c76],this[_0xce56bc(0x16c)][_0xce56bc(0x23b)](_0xfa20fc);}['sendFrame'](_0x43448e,_0x5b4d57){const _0x2b15de=_0x14f199;_0x43448e[_0x2b15de(0x21e)]===0x2?(this[_0x2b15de(0x198)][_0x2b15de(0x2af)](),this[_0x2b15de(0x198)][_0x2b15de(0x160)](_0x43448e[0x0]),this[_0x2b15de(0x198)]['write'](_0x43448e[0x1],_0x5b4d57),this[_0x2b15de(0x198)][_0x2b15de(0x243)]()):this['_socket']['write'](_0x43448e[0x0],_0x5b4d57);}}Ee=_0x48ff2f;function _0x4c70e9(_0x23ea1c,_0x6f57d6,_0x2557a4){const _0x455cac=_0x14f199;typeof _0x2557a4=='function'&&_0x2557a4(_0x6f57d6);for(let _0x3348d0=0x0;_0x3348d0<_0x23ea1c[_0x455cac(0x16c)][_0x455cac(0x21e)];_0x3348d0++){const _0xce074f=_0x23ea1c['_queue'][_0x3348d0],_0x233dbd=_0xce074f[_0xce074f[_0x455cac(0x21e)]-0x1];typeof _0x233dbd==_0x455cac(0x240)&&_0x233dbd(_0x6f57d6);}}function _0x4c26d4(_0x133579,_0x4663da,_0x23897b){_0x4c70e9(_0x133579,_0x4663da,_0x23897b),_0x133579['onerror'](_0x4663da);}return Ee;}var xe,Ze;function It(){const _0x1d43eb=_0x256248;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x465b31,kListener:_0x1203f9}=H(),_0x4d3662=Symbol(_0x1d43eb(0x292)),_0x4e7adb=Symbol(_0x1d43eb(0x185)),_0x306efb=Symbol(_0x1d43eb(0x284)),_0x57a69a=Symbol('kMessage'),_0x55c6db=Symbol(_0x1d43eb(0x2e6)),_0xe7f4e4=Symbol(_0x1d43eb(0x1e9)),_0x46e1f6=Symbol(_0x1d43eb(0x1ca)),_0xcc3cd7=Symbol(_0x1d43eb(0x183));class _0x325d75{constructor(_0xd1067f){this[_0xe7f4e4]=null,this[_0x46e1f6]=_0xd1067f;}get['target'](){return this[_0xe7f4e4];}get[_0x1d43eb(0x2fb)](){return this[_0x46e1f6];}}Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x251),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x2fb),{'enumerable':!0x0});class _0x1272a0 extends _0x325d75{constructor(_0x632b44,_0x23fc75={}){const _0x9049f9=_0x1d43eb;super(_0x632b44),this[_0x4d3662]=_0x23fc75[_0x9049f9(0x2f0)]===void 0x0?0x0:_0x23fc75[_0x9049f9(0x2f0)],this[_0x55c6db]=_0x23fc75[_0x9049f9(0x165)]===void 0x0?'':_0x23fc75['reason'],this[_0xcc3cd7]=_0x23fc75[_0x9049f9(0x2ff)]===void 0x0?!0x1:_0x23fc75[_0x9049f9(0x2ff)];}get[_0x1d43eb(0x2f0)](){return this[_0x4d3662];}get[_0x1d43eb(0x165)](){return this[_0x55c6db];}get[_0x1d43eb(0x2ff)](){return this[_0xcc3cd7];}}Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1272a0[_0x1d43eb(0x2c9)],'reason',{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],_0x1d43eb(0x2ff),{'enumerable':!0x0});class _0x3cae25 extends _0x325d75{constructor(_0x1ec025,_0x40067f={}){const _0x79c867=_0x1d43eb;super(_0x1ec025),this[_0x306efb]=_0x40067f[_0x79c867(0x182)]===void 0x0?null:_0x40067f[_0x79c867(0x182)],this[_0x57a69a]=_0x40067f[_0x79c867(0x138)]===void 0x0?'':_0x40067f[_0x79c867(0x138)];}get[_0x1d43eb(0x182)](){return this[_0x306efb];}get[_0x1d43eb(0x138)](){return this[_0x57a69a];}}Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x182),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x138),{'enumerable':!0x0});class _0x32425e extends _0x325d75{constructor(_0x24fd83,_0x415477={}){const _0x2b49ae=_0x1d43eb;super(_0x24fd83),this[_0x4e7adb]=_0x415477[_0x2b49ae(0x1a6)]===void 0x0?null:_0x415477[_0x2b49ae(0x1a6)];}get['data'](){return this[_0x4e7adb];}}Object[_0x1d43eb(0x269)](_0x32425e[_0x1d43eb(0x2c9)],_0x1d43eb(0x1a6),{'enumerable':!0x0}),xe={'CloseEvent':_0x1272a0,'ErrorEvent':_0x3cae25,'Event':_0x325d75,'EventTarget':{'addEventListener'(_0x2384f9,_0x1673f9,_0x2e6d13={}){const _0x55808f=_0x1d43eb;for(const _0x4030ce of this[_0x55808f(0x2a1)](_0x2384f9))if(!_0x2e6d13[_0x465b31]&&_0x4030ce[_0x1203f9]===_0x1673f9&&!_0x4030ce[_0x465b31])return;let _0xd0f125;if(_0x2384f9===_0x55808f(0x138))_0xd0f125=function(_0x52b0c5,_0x1d7f03){const _0x4235ea=_0x55808f,_0x3ea03d=new _0x32425e(_0x4235ea(0x138),{'data':_0x1d7f03?_0x52b0c5:_0x52b0c5[_0x4235ea(0x1cc)]()});_0x3ea03d[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x3ea03d);};else{if(_0x2384f9==='close')_0xd0f125=function(_0x38ab2b,_0x13b81a){const _0x1717f6=_0x55808f,_0x5f2dba=new _0x1272a0(_0x1717f6(0x15c),{'code':_0x38ab2b,'reason':_0x13b81a['toString'](),'wasClean':this[_0x1717f6(0x2f3)]&&this[_0x1717f6(0x1af)]});_0x5f2dba[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x5f2dba);};else{if(_0x2384f9===_0x55808f(0x182))_0xd0f125=function(_0x29592a){const _0x122c3b=_0x55808f,_0x253ba6=new _0x3cae25(_0x122c3b(0x182),{'error':_0x29592a,'message':_0x29592a[_0x122c3b(0x138)]});_0x253ba6[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x253ba6);};else{if(_0x2384f9===_0x55808f(0x187))_0xd0f125=function(){const _0x4aef19=new _0x325d75('open');_0x4aef19[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x4aef19);};else return;}}}_0xd0f125[_0x465b31]=!!_0x2e6d13[_0x465b31],_0xd0f125[_0x1203f9]=_0x1673f9,_0x2e6d13[_0x55808f(0x22d)]?this[_0x55808f(0x22d)](_0x2384f9,_0xd0f125):this['on'](_0x2384f9,_0xd0f125);},'removeEventListener'(_0x37e189,_0x4eee18){const _0x2623c8=_0x1d43eb;for(const _0x3d3986 of this[_0x2623c8(0x2a1)](_0x37e189))if(_0x3d3986[_0x1203f9]===_0x4eee18&&!_0x3d3986[_0x465b31]){this[_0x2623c8(0x133)](_0x37e189,_0x3d3986);break;}}},'MessageEvent':_0x32425e};function _0x20802a(_0x20b09e,_0x5dccbc,_0x2a7a51){const _0x463429=_0x1d43eb;typeof _0x20b09e=='object'&&_0x20b09e[_0x463429(0x258)]?_0x20b09e['handleEvent'][_0x463429(0x229)](_0x20b09e,_0x2a7a51):_0x20b09e[_0x463429(0x229)](_0x5dccbc,_0x2a7a51);}return xe;}function _0x2b82(_0x41fe5a,_0x36b48b){const _0x31815f=_0x3181();return _0x2b82=function(_0x2b826f,_0x589410){_0x2b826f=_0x2b826f-0x129;let _0x12fe21=_0x31815f[_0x2b826f];return _0x12fe21;},_0x2b82(_0x41fe5a,_0x36b48b);}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x383560}=ae();function _0x3323f3(_0x14d9dc,_0x1d6253,_0x2a4967){const _0x5ba110=_0x2b82;_0x14d9dc[_0x1d6253]===void 0x0?_0x14d9dc[_0x1d6253]=[_0x2a4967]:_0x14d9dc[_0x1d6253][_0x5ba110(0x23b)](_0x2a4967);}function _0x1f6830(_0x1ece29){const _0x1d3f63=_0x2b82,_0x502e3d=Object[_0x1d3f63(0x16a)](null);let _0x172e6f=Object['create'](null),_0x30674d=!0x1,_0x5f2312=!0x1,_0x88945f=!0x1,_0x35a2b7,_0x35b289,_0x191271=-0x1,_0xe3947=-0x1,_0x58aa24=-0x1,_0x3ff9d4=0x0;for(;_0x3ff9d4<_0x1ece29[_0x1d3f63(0x21e)];_0x3ff9d4++)if(_0xe3947=_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4),_0x35a2b7===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x3ff9d4!==0x0&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x4cac57=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0xe3947===0x2c?(_0x3323f3(_0x502e3d,_0x4cac57,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null)):_0x35a2b7=_0x4cac57,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);}}}else{if(_0x35b289===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x20||_0xe3947===0x9)_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4),_0x3323f3(_0x172e6f,_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24),!0x0),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x191271=_0x58aa24=-0x1;}else{if(_0xe3947===0x3d&&_0x191271!==-0x1&&_0x58aa24===-0x1)_0x35b289=_0x1ece29['slice'](_0x191271,_0x3ff9d4),_0x191271=_0x58aa24=-0x1;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}else{if(_0x5f2312){if(_0x383560[_0xe3947]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x191271===-0x1?_0x191271=_0x3ff9d4:_0x30674d||(_0x30674d=!0x0),_0x5f2312=!0x1;}else{if(_0x88945f){if(_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x22&&_0x191271!==-0x1)_0x88945f=!0x1,_0x58aa24=_0x3ff9d4;else{if(_0xe3947===0x5c)_0x5f2312=!0x0;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}else{if(_0xe3947===0x22&&_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4-0x1)===0x3d)_0x88945f=!0x0;else{if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x191271!==-0x1&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);let _0x5a2b4a=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0x30674d&&(_0x5a2b4a=_0x5a2b4a[_0x1d3f63(0x23d)](/\\/g,''),_0x30674d=!0x1),_0x3323f3(_0x172e6f,_0x35b289,_0x5a2b4a),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x35b289=void 0x0,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}}}}if(_0x191271===-0x1||_0x88945f||_0xe3947===0x20||_0xe3947===0x9)throw new SyntaxError(_0x1d3f63(0x220));_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x455f7d=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);return _0x35a2b7===void 0x0?_0x3323f3(_0x502e3d,_0x455f7d,_0x172e6f):(_0x35b289===void 0x0?_0x3323f3(_0x172e6f,_0x455f7d,!0x0):_0x30674d?_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d[_0x1d3f63(0x23d)](/\\/g,'')):_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d),_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f)),_0x502e3d;}function _0xc71b68(_0x34a63b){const _0xbe287c=_0x2b82;return Object['keys'](_0x34a63b)[_0xbe287c(0x2de)](_0x48098b=>{const _0xc4ce25=_0xbe287c;let _0x513bbf=_0x34a63b[_0x48098b];return Array[_0xc4ce25(0x261)](_0x513bbf)||(_0x513bbf=[_0x513bbf]),_0x513bbf[_0xc4ce25(0x2de)](_0x51ed91=>[_0x48098b][_0xc4ce25(0x1db)](Object[_0xc4ce25(0x268)](_0x51ed91)[_0xc4ce25(0x2de)](_0x49c34d=>{const _0x21880c=_0xc4ce25;let _0x144d82=_0x51ed91[_0x49c34d];return Array[_0x21880c(0x261)](_0x144d82)||(_0x144d82=[_0x144d82]),_0x144d82[_0x21880c(0x2de)](_0x499e2d=>_0x499e2d===!0x0?_0x49c34d:_0x49c34d+'='+_0x499e2d)[_0x21880c(0x296)](';\x20');}))['join'](';\x20'))[_0xc4ce25(0x296)](',\x20');})['join'](',\x20');}return be={'format':_0xc71b68,'parse':_0x1f6830},be;}var we,Je;function Pe(){const _0x4baa9b=_0x256248;if(Je)return we;Je=0x1;const _0x573f09=nt,_0x1ce674=vt,_0x5d1d20=ot,_0x5df1d9=St,_0xf6b5ea=Et,{randomBytes:_0x2524b1,createHash:_0x368772}=Le,{Duplex:_0x11478e,Readable:_0x2cc158}=oe,{URL:_0x1fbb0a}=xt,_0x166efe=he(),_0x578296=lt(),_0x13d108=ft(),{isBlob:_0x4efec7}=ae(),{BINARY_TYPES:_0x3d5df8,EMPTY_BUFFER:_0x43f1af,GUID:_0x51802a,kForOnEventAttribute:_0x7764cb,kListener:_0x35648a,kStatusCode:_0x122acc,kWebSocket:_0x13d4a7,NOOP:_0x6b8db0}=H(),{EventTarget:{addEventListener:_0x4383a2,removeEventListener:_0x33eb18}}=It(),{format:_0x423da1,parse:_0x40ce19}=ct(),{toBuffer:_0x21a040}=ce(),_0x265d82=0x1e*0x3e8,_0x15e9c8=Symbol(_0x4baa9b(0x29f)),_0x11f4b2=[0x8,0xd],_0x1ac9da=[_0x4baa9b(0x202),_0x4baa9b(0x20a),_0x4baa9b(0x2df),_0x4baa9b(0x2b0)],_0x43e26b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5f4353 extends _0x573f09{constructor(_0x3a5315,_0x43f3ed,_0x4e25d2){const _0x3ecc92=_0x4baa9b;super(),this['_binaryType']=_0x3d5df8[0x0],this[_0x3ecc92(0x2b1)]=0x3ee,this[_0x3ecc92(0x2f3)]=!0x1,this[_0x3ecc92(0x1af)]=!0x1,this[_0x3ecc92(0x2b4)]=_0x43f1af,this[_0x3ecc92(0x286)]=null,this[_0x3ecc92(0x170)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x3ecc92(0x2d1)]='',this[_0x3ecc92(0x283)]=_0x5f4353[_0x3ecc92(0x202)],this[_0x3ecc92(0x1d2)]=null,this['_sender']=null,this[_0x3ecc92(0x198)]=null,_0x3a5315!==null?(this['_bufferedAmount']=0x0,this[_0x3ecc92(0x14c)]=!0x1,this[_0x3ecc92(0x1bf)]=0x0,_0x43f3ed===void 0x0?_0x43f3ed=[]:Array['isArray'](_0x43f3ed)||(typeof _0x43f3ed==_0x3ecc92(0x12d)&&_0x43f3ed!==null?(_0x4e25d2=_0x43f3ed,_0x43f3ed=[]):_0x43f3ed=[_0x43f3ed]),_0x3cdaa7(this,_0x3a5315,_0x43f3ed,_0x4e25d2)):(this[_0x3ecc92(0x210)]=_0x4e25d2['autoPong'],this[_0x3ecc92(0x14c)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4baa9b(0x16e)](_0x13cf9c){const _0x45b158=_0x4baa9b;_0x3d5df8[_0x45b158(0x1b1)](_0x13cf9c)&&(this[_0x45b158(0x199)]=_0x13cf9c,this['_receiver']&&(this[_0x45b158(0x1d2)][_0x45b158(0x199)]=_0x13cf9c));}get[_0x4baa9b(0x192)](){const _0x23f3ed=_0x4baa9b;return this[_0x23f3ed(0x198)]?this[_0x23f3ed(0x198)][_0x23f3ed(0x175)][_0x23f3ed(0x21e)]+this[_0x23f3ed(0x2c7)][_0x23f3ed(0x291)]:this[_0x23f3ed(0x177)];}get[_0x4baa9b(0x17b)](){const _0x32909c=_0x4baa9b;return Object[_0x32909c(0x268)](this[_0x32909c(0x293)])[_0x32909c(0x296)]();}get['isPaused'](){const _0x4861a0=_0x4baa9b;return this[_0x4861a0(0x2c1)];}get[_0x4baa9b(0x1a0)](){return null;}get[_0x4baa9b(0x297)](){return null;}get[_0x4baa9b(0x301)](){return null;}get[_0x4baa9b(0x245)](){return null;}get[_0x4baa9b(0x194)](){const _0x22a6b7=_0x4baa9b;return this[_0x22a6b7(0x2d1)];}get[_0x4baa9b(0x280)](){const _0x131027=_0x4baa9b;return this[_0x131027(0x283)];}get[_0x4baa9b(0x264)](){const _0x4bb415=_0x4baa9b;return this[_0x4bb415(0x148)];}[_0x4baa9b(0x159)](_0x300b40,_0x7096d2,_0x1d6906){const _0x329bc6=_0x4baa9b,_0x9b534a=new _0x578296({'allowSynchronousEvents':_0x1d6906['allowSynchronousEvents'],'binaryType':this[_0x329bc6(0x16e)],'extensions':this[_0x329bc6(0x293)],'isServer':this[_0x329bc6(0x14c)],'maxPayload':_0x1d6906['maxPayload'],'skipUTF8Validation':_0x1d6906[_0x329bc6(0x234)]}),_0xb32125=new _0x13d108(_0x300b40,this[_0x329bc6(0x293)],_0x1d6906[_0x329bc6(0x28a)]);this[_0x329bc6(0x1d2)]=_0x9b534a,this[_0x329bc6(0x2c7)]=_0xb32125,this[_0x329bc6(0x198)]=_0x300b40,_0x9b534a[_0x13d4a7]=this,_0xb32125[_0x13d4a7]=this,_0x300b40[_0x13d4a7]=this,_0x9b534a['on'](_0x329bc6(0x1fc),_0x51686f),_0x9b534a['on'](_0x329bc6(0x2dd),_0x5c3ae7),_0x9b534a['on']('error',_0x52f6ce),_0x9b534a['on'](_0x329bc6(0x138),_0x518c8a),_0x9b534a['on'](_0x329bc6(0x2cc),_0x4cd146),_0x9b534a['on'](_0x329bc6(0x223),_0x209a44),_0xb32125[_0x329bc6(0x297)]=_0x248dbe,_0x300b40['setTimeout']&&_0x300b40[_0x329bc6(0x1c3)](0x0),_0x300b40[_0x329bc6(0x15a)]&&_0x300b40[_0x329bc6(0x15a)](),_0x7096d2[_0x329bc6(0x21e)]>0x0&&_0x300b40['unshift'](_0x7096d2),_0x300b40['on'](_0x329bc6(0x15c),_0x580c45),_0x300b40['on'](_0x329bc6(0x1a6),_0x4f1bcb),_0x300b40['on'](_0x329bc6(0x143),_0x8f84fa),_0x300b40['on']('error',_0x7be166),this[_0x329bc6(0x283)]=_0x5f4353[_0x329bc6(0x20a)],this[_0x329bc6(0x273)](_0x329bc6(0x187));}[_0x4baa9b(0x2b7)](){const _0x180f7b=_0x4baa9b;if(!this[_0x180f7b(0x198)]){this['_readyState']=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)](_0x180f7b(0x15c),this['_closeCode'],this[_0x180f7b(0x2b4)]);return;}this[_0x180f7b(0x293)][_0x166efe['extensionName']]&&this['_extensions'][_0x166efe[_0x180f7b(0x1d5)]][_0x180f7b(0x144)](),this['_receiver'][_0x180f7b(0x263)](),this[_0x180f7b(0x283)]=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)]('close',this[_0x180f7b(0x2b1)],this[_0x180f7b(0x2b4)]);}['close'](_0x6ce3cc,_0x686037){const _0x31fd6b=_0x4baa9b;if(this['readyState']!==_0x5f4353['CLOSED']){if(this[_0x31fd6b(0x280)]===_0x5f4353['CONNECTING']){_0x41ffc4(this,this[_0x31fd6b(0x224)],_0x31fd6b(0x2c6));return;}if(this[_0x31fd6b(0x280)]===_0x5f4353[_0x31fd6b(0x2df)]){this[_0x31fd6b(0x1af)]&&(this[_0x31fd6b(0x2f3)]||this[_0x31fd6b(0x1d2)][_0x31fd6b(0x175)][_0x31fd6b(0x19e)])&&this['_socket']['end']();return;}this[_0x31fd6b(0x283)]=_0x5f4353[_0x31fd6b(0x2df)],this[_0x31fd6b(0x2c7)][_0x31fd6b(0x15c)](_0x6ce3cc,_0x686037,!this['_isServer'],_0x43ea8f=>{const _0x26c66c=_0x31fd6b;_0x43ea8f||(this[_0x26c66c(0x1af)]=!0x0,(this[_0x26c66c(0x2f3)]||this[_0x26c66c(0x1d2)][_0x26c66c(0x175)][_0x26c66c(0x19e)])&&this[_0x26c66c(0x198)][_0x26c66c(0x143)]());}),_0x252060(this);}}[_0x4baa9b(0x2fd)](){const _0x20341e=_0x4baa9b;this['readyState']===_0x5f4353[_0x20341e(0x202)]||this[_0x20341e(0x280)]===_0x5f4353[_0x20341e(0x2b0)]||(this[_0x20341e(0x2c1)]=!0x0,this[_0x20341e(0x198)][_0x20341e(0x2fd)]());}[_0x4baa9b(0x2cc)](_0x15909a,_0x21751e,_0x2efd32){const _0x5d2f8c=_0x4baa9b;if(this[_0x5d2f8c(0x280)]===_0x5f4353['CONNECTING'])throw new Error(_0x5d2f8c(0x256));if(typeof _0x15909a=='function'?(_0x2efd32=_0x15909a,_0x15909a=_0x21751e=void 0x0):typeof _0x21751e==_0x5d2f8c(0x240)&&(_0x2efd32=_0x21751e,_0x21751e=void 0x0),typeof _0x15909a==_0x5d2f8c(0x2bd)&&(_0x15909a=_0x15909a[_0x5d2f8c(0x1cc)]()),this[_0x5d2f8c(0x280)]!==_0x5f4353[_0x5d2f8c(0x20a)]){_0x2ea3c3(this,_0x15909a,_0x2efd32);return;}_0x21751e===void 0x0&&(_0x21751e=!this['_isServer']),this['_sender']['ping'](_0x15909a||_0x43f1af,_0x21751e,_0x2efd32);}[_0x4baa9b(0x223)](_0x3f9b0a,_0x552dcc,_0x1e5f72){const _0xfc02e7=_0x4baa9b;if(this['readyState']===_0x5f4353['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3f9b0a==_0xfc02e7(0x240)?(_0x1e5f72=_0x3f9b0a,_0x3f9b0a=_0x552dcc=void 0x0):typeof _0x552dcc=='function'&&(_0x1e5f72=_0x552dcc,_0x552dcc=void 0x0),typeof _0x3f9b0a==_0xfc02e7(0x2bd)&&(_0x3f9b0a=_0x3f9b0a['toString']()),this[_0xfc02e7(0x280)]!==_0x5f4353[_0xfc02e7(0x20a)]){_0x2ea3c3(this,_0x3f9b0a,_0x1e5f72);return;}_0x552dcc===void 0x0&&(_0x552dcc=!this['_isServer']),this['_sender']['pong'](_0x3f9b0a||_0x43f1af,_0x552dcc,_0x1e5f72);}['resume'](){const _0x4f7abf=_0x4baa9b;this['readyState']===_0x5f4353['CONNECTING']||this['readyState']===_0x5f4353[_0x4f7abf(0x2b0)]||(this[_0x4f7abf(0x2c1)]=!0x1,this[_0x4f7abf(0x1d2)]['_writableState'][_0x4f7abf(0x20c)]||this[_0x4f7abf(0x198)][_0x4f7abf(0x12b)]());}[_0x4baa9b(0x2a8)](_0x14db88,_0x45b3dd,_0x5e6757){const _0xb37d2c=_0x4baa9b;if(this[_0xb37d2c(0x280)]===_0x5f4353[_0xb37d2c(0x202)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x45b3dd=='function'&&(_0x5e6757=_0x45b3dd,_0x45b3dd={}),typeof _0x14db88==_0xb37d2c(0x2bd)&&(_0x14db88=_0x14db88['toString']()),this[_0xb37d2c(0x280)]!==_0x5f4353[_0xb37d2c(0x20a)]){_0x2ea3c3(this,_0x14db88,_0x5e6757);return;}const _0x17e0e9={'binary':typeof _0x14db88!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x45b3dd};this['_extensions'][_0x166efe[_0xb37d2c(0x1d5)]]||(_0x17e0e9[_0xb37d2c(0x239)]=!0x1),this[_0xb37d2c(0x2c7)][_0xb37d2c(0x2a8)](_0x14db88||_0x43f1af,_0x17e0e9,_0x5e6757);}[_0x4baa9b(0x22b)](){const _0x130d76=_0x4baa9b;if(this[_0x130d76(0x280)]!==_0x5f4353[_0x130d76(0x2b0)]){if(this[_0x130d76(0x280)]===_0x5f4353[_0x130d76(0x202)]){_0x41ffc4(this,this[_0x130d76(0x224)],_0x130d76(0x2c6));return;}this[_0x130d76(0x198)]&&(this[_0x130d76(0x283)]=_0x5f4353[_0x130d76(0x2df)],this[_0x130d76(0x198)]['destroy']());}}}Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x20a))}),Object['defineProperty'](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x20a))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353['prototype'],_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353,'CLOSED',{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)]('CLOSED')}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x2b0),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2b0))}),['binaryType',_0x4baa9b(0x192),_0x4baa9b(0x17b),_0x4baa9b(0x1ff),'protocol',_0x4baa9b(0x280),_0x4baa9b(0x264)][_0x4baa9b(0x2d6)](_0x12253e=>{const _0x51588e=_0x4baa9b;Object[_0x51588e(0x269)](_0x5f4353['prototype'],_0x12253e,{'enumerable':!0x0});}),[_0x4baa9b(0x187),'error',_0x4baa9b(0x15c),_0x4baa9b(0x138)]['forEach'](_0x4e1a8d=>{const _0x3dea72=_0x4baa9b;Object[_0x3dea72(0x269)](_0x5f4353['prototype'],'on'+_0x4e1a8d,{'enumerable':!0x0,'get'(){const _0x15f277=_0x3dea72;for(const _0x580010 of this[_0x15f277(0x2a1)](_0x4e1a8d))if(_0x580010[_0x7764cb])return _0x580010[_0x35648a];return null;},'set'(_0x58ff7e){const _0x336c9c=_0x3dea72;for(const _0x148a3d of this[_0x336c9c(0x2a1)](_0x4e1a8d))if(_0x148a3d[_0x7764cb]){this['removeListener'](_0x4e1a8d,_0x148a3d);break;}typeof _0x58ff7e==_0x336c9c(0x240)&&this[_0x336c9c(0x142)](_0x4e1a8d,_0x58ff7e,{[_0x7764cb]:!0x0});}});}),_0x5f4353['prototype'][_0x4baa9b(0x142)]=_0x4383a2,_0x5f4353[_0x4baa9b(0x2c9)][_0x4baa9b(0x155)]=_0x33eb18,we=_0x5f4353;function _0x3cdaa7(_0x12f92b,_0x3a5d70,_0x51e978,_0x5714b8){const _0x2b4014=_0x4baa9b,_0x4b22f0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x11f4b2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5714b8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b4014(0x21b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x12f92b[_0x2b4014(0x210)]=_0x4b22f0[_0x2b4014(0x23c)],!_0x11f4b2[_0x2b4014(0x1b1)](_0x4b22f0['protocolVersion']))throw new RangeError(_0x2b4014(0x216)+_0x4b22f0[_0x2b4014(0x2e8)]+_0x2b4014(0x141)+_0x11f4b2[_0x2b4014(0x296)](',\x20')+')');let _0x5ca204;if(_0x3a5d70 instanceof _0x1fbb0a)_0x5ca204=_0x3a5d70;else try{_0x5ca204=new _0x1fbb0a(_0x3a5d70);}catch{throw new SyntaxError(_0x2b4014(0x23a)+_0x3a5d70);}_0x5ca204[_0x2b4014(0x194)]==='http:'?_0x5ca204[_0x2b4014(0x194)]=_0x2b4014(0x24a):_0x5ca204['protocol']===_0x2b4014(0x2e2)&&(_0x5ca204['protocol']=_0x2b4014(0x271)),_0x12f92b[_0x2b4014(0x148)]=_0x5ca204[_0x2b4014(0x206)];const _0x2fe896=_0x5ca204[_0x2b4014(0x194)]==='wss:',_0x507dfc=_0x5ca204[_0x2b4014(0x194)]===_0x2b4014(0x14d);let _0x12b755;if(_0x5ca204[_0x2b4014(0x194)]!==_0x2b4014(0x24a)&&!_0x2fe896&&!_0x507dfc?_0x12b755=_0x2b4014(0x154):_0x507dfc&&!_0x5ca204[_0x2b4014(0x26a)]?_0x12b755=_0x2b4014(0x16f):_0x5ca204[_0x2b4014(0x1c5)]&&(_0x12b755='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x12b755){const _0x515291=new SyntaxError(_0x12b755);if(_0x12f92b['_redirects']===0x0)throw _0x515291;_0x4dfe80(_0x12f92b,_0x515291);return;}const _0x5dc825=_0x2fe896?0x1bb:0x50,_0x4d5043=_0x2524b1(0x10)['toString'](_0x2b4014(0x163)),_0x3bc761=_0x2fe896?_0x1ce674['request']:_0x5d1d20[_0x2b4014(0x226)],_0x4feacc=new Set();let _0xc894d2;if(_0x4b22f0['createConnection']=_0x4b22f0[_0x2b4014(0x2a4)]||(_0x2fe896?_0x181d6d:_0x30112e),_0x4b22f0[_0x2b4014(0x1a7)]=_0x4b22f0[_0x2b4014(0x1a7)]||_0x5dc825,_0x4b22f0['port']=_0x5ca204[_0x2b4014(0x172)]||_0x5dc825,_0x4b22f0[_0x2b4014(0x2ca)]=_0x5ca204['hostname'][_0x2b4014(0x1f4)]('[')?_0x5ca204[_0x2b4014(0x22c)]['slice'](0x1,-0x1):_0x5ca204[_0x2b4014(0x22c)],_0x4b22f0['headers']={..._0x4b22f0[_0x2b4014(0x2ba)],'Sec-WebSocket-Version':_0x4b22f0[_0x2b4014(0x2e8)],'Sec-WebSocket-Key':_0x4d5043,'Connection':_0x2b4014(0x13d),'Upgrade':_0x2b4014(0x235)},_0x4b22f0[_0x2b4014(0x231)]=_0x5ca204[_0x2b4014(0x26a)]+_0x5ca204[_0x2b4014(0x2e7)],_0x4b22f0[_0x2b4014(0x15d)]=_0x4b22f0['handshakeTimeout'],_0x4b22f0[_0x2b4014(0x2ef)]&&(_0xc894d2=new _0x166efe(_0x4b22f0[_0x2b4014(0x2ef)]!==!0x0?_0x4b22f0[_0x2b4014(0x2ef)]:{},!0x1,_0x4b22f0['maxPayload']),_0x4b22f0['headers'][_0x2b4014(0x247)]=_0x423da1({[_0x166efe[_0x2b4014(0x1d5)]]:_0xc894d2[_0x2b4014(0x161)]()})),_0x51e978[_0x2b4014(0x21e)]){for(const _0x5373eb of _0x51e978){if(typeof _0x5373eb!=_0x2b4014(0x281)||!_0x43e26b[_0x2b4014(0x2b8)](_0x5373eb)||_0x4feacc['has'](_0x5373eb))throw new SyntaxError(_0x2b4014(0x12a));_0x4feacc[_0x2b4014(0x266)](_0x5373eb);}_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2f9)]=_0x51e978[_0x2b4014(0x296)](',');}if(_0x4b22f0[_0x2b4014(0x2fe)]&&(_0x4b22f0[_0x2b4014(0x2e8)]<0xd?_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x16b)]=_0x4b22f0[_0x2b4014(0x2fe)]:_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x195)]=_0x4b22f0[_0x2b4014(0x2fe)]),(_0x5ca204[_0x2b4014(0x22a)]||_0x5ca204[_0x2b4014(0x2c5)])&&(_0x4b22f0[_0x2b4014(0x25f)]=_0x5ca204[_0x2b4014(0x22a)]+':'+_0x5ca204[_0x2b4014(0x2c5)]),_0x507dfc){const _0x21d97b=_0x4b22f0[_0x2b4014(0x231)][_0x2b4014(0x147)](':');_0x4b22f0[_0x2b4014(0x2db)]=_0x21d97b[0x0],_0x4b22f0[_0x2b4014(0x231)]=_0x21d97b[0x1];}let _0x574d7f;if(_0x4b22f0[_0x2b4014(0x19c)]){if(_0x12f92b[_0x2b4014(0x1bf)]===0x0){_0x12f92b[_0x2b4014(0x2ec)]=_0x507dfc,_0x12f92b[_0x2b4014(0x1b6)]=_0x2fe896,_0x12f92b[_0x2b4014(0x1ac)]=_0x507dfc?_0x4b22f0[_0x2b4014(0x2db)]:_0x5ca204[_0x2b4014(0x2ca)];const _0x5e8370=_0x5714b8&&_0x5714b8[_0x2b4014(0x2ba)];if(_0x5714b8={..._0x5714b8,'headers':{}},_0x5e8370){for(const [_0x3cc616,_0x3543bb]of Object[_0x2b4014(0x27f)](_0x5e8370))_0x5714b8[_0x2b4014(0x2ba)][_0x3cc616[_0x2b4014(0x2e1)]()]=_0x3543bb;}}else{if(_0x12f92b[_0x2b4014(0x265)]('redirect')===0x0){const _0x118124=_0x507dfc?_0x12f92b['_originalIpc']?_0x4b22f0[_0x2b4014(0x2db)]===_0x12f92b[_0x2b4014(0x1ac)]:!0x1:_0x12f92b[_0x2b4014(0x2ec)]?!0x1:_0x5ca204[_0x2b4014(0x2ca)]===_0x12f92b[_0x2b4014(0x1ac)];(!_0x118124||_0x12f92b[_0x2b4014(0x1b6)]&&!_0x2fe896)&&(delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2fa)],delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x1c1)],_0x118124||delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2ca)],_0x4b22f0[_0x2b4014(0x25f)]=void 0x0);}}_0x4b22f0[_0x2b4014(0x25f)]&&!_0x5714b8['headers'][_0x2b4014(0x2fa)]&&(_0x5714b8['headers'][_0x2b4014(0x2fa)]=_0x2b4014(0x248)+Buffer[_0x2b4014(0x140)](_0x4b22f0[_0x2b4014(0x25f)])[_0x2b4014(0x1cc)]('base64')),_0x574d7f=_0x12f92b['_req']=_0x3bc761(_0x4b22f0),_0x12f92b[_0x2b4014(0x1bf)]&&_0x12f92b[_0x2b4014(0x273)](_0x2b4014(0x278),_0x12f92b['url'],_0x574d7f);}else _0x574d7f=_0x12f92b[_0x2b4014(0x224)]=_0x3bc761(_0x4b22f0);_0x4b22f0[_0x2b4014(0x15d)]&&_0x574d7f['on']('timeout',()=>{const _0x38122e=_0x2b4014;_0x41ffc4(_0x12f92b,_0x574d7f,_0x38122e(0x2d5));}),_0x574d7f['on'](_0x2b4014(0x182),_0x2b6590=>{const _0x19268d=_0x2b4014;_0x574d7f===null||_0x574d7f[_0x15e9c8]||(_0x574d7f=_0x12f92b[_0x19268d(0x224)]=null,_0x4dfe80(_0x12f92b,_0x2b6590));}),_0x574d7f['on']('response',_0x2e4e3e=>{const _0x5ad4be=_0x2b4014,_0x4f72db=_0x2e4e3e['headers'][_0x5ad4be(0x2a5)],_0x32b6bd=_0x2e4e3e['statusCode'];if(_0x4f72db&&_0x4b22f0[_0x5ad4be(0x19c)]&&_0x32b6bd>=0x12c&&_0x32b6bd<0x190){if(++_0x12f92b[_0x5ad4be(0x1bf)]>_0x4b22f0['maxRedirects']){_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x2b9));return;}_0x574d7f[_0x5ad4be(0x158)]();let _0x4c26a3;try{_0x4c26a3=new _0x1fbb0a(_0x4f72db,_0x3a5d70);}catch{const _0x23a831=new SyntaxError(_0x5ad4be(0x23a)+_0x4f72db);_0x4dfe80(_0x12f92b,_0x23a831);return;}_0x3cdaa7(_0x12f92b,_0x4c26a3,_0x51e978,_0x5714b8);}else _0x12f92b[_0x5ad4be(0x273)](_0x5ad4be(0x2d7),_0x574d7f,_0x2e4e3e)||_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x27b)+_0x2e4e3e[_0x5ad4be(0x169)]);}),_0x574d7f['on']('upgrade',(_0x3c8a67,_0x504c6c,_0x56b615)=>{const _0x417428=_0x2b4014;if(_0x12f92b['emit'](_0x417428(0x1de),_0x3c8a67),_0x12f92b[_0x417428(0x280)]!==_0x5f4353[_0x417428(0x202)])return;_0x574d7f=_0x12f92b['_req']=null;const _0x8b498b=_0x3c8a67['headers']['upgrade'];if(_0x8b498b===void 0x0||_0x8b498b[_0x417428(0x2e1)]()!=='websocket'){_0x41ffc4(_0x12f92b,_0x504c6c,'Invalid\x20Upgrade\x20header');return;}const _0x386700=_0x368772(_0x417428(0x204))[_0x417428(0x1ed)](_0x4d5043+_0x51802a)[_0x417428(0x1d7)]('base64');if(_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2c3)]!==_0x386700){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x15f));return;}const _0x1d6dea=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x227)];let _0x45ff26;if(_0x1d6dea!==void 0x0?_0x4feacc['size']?_0x4feacc['has'](_0x1d6dea)||(_0x45ff26=_0x417428(0x1ad)):_0x45ff26=_0x417428(0x156):_0x4feacc[_0x417428(0x219)]&&(_0x45ff26=_0x417428(0x1e1)),_0x45ff26){_0x41ffc4(_0x12f92b,_0x504c6c,_0x45ff26);return;}_0x1d6dea&&(_0x12f92b['_protocol']=_0x1d6dea);const _0x25f299=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2eb)];if(_0x25f299!==void 0x0){if(!_0xc894d2){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x1a9));return;}let _0x35f935;try{_0x35f935=_0x40ce19(_0x25f299);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}const _0x5721a2=Object[_0x417428(0x268)](_0x35f935);if(_0x5721a2[_0x417428(0x21e)]!==0x1||_0x5721a2[0x0]!==_0x166efe['extensionName']){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x23f));return;}try{_0xc894d2[_0x417428(0x171)](_0x35f935[_0x166efe[_0x417428(0x1d5)]]);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}_0x12f92b[_0x417428(0x293)][_0x166efe['extensionName']]=_0xc894d2;}_0x12f92b[_0x417428(0x159)](_0x504c6c,_0x56b615,{'allowSynchronousEvents':_0x4b22f0[_0x417428(0x228)],'generateMask':_0x4b22f0['generateMask'],'maxPayload':_0x4b22f0[_0x417428(0x2b3)],'skipUTF8Validation':_0x4b22f0[_0x417428(0x234)]});}),_0x4b22f0['finishRequest']?_0x4b22f0['finishRequest'](_0x574d7f,_0x12f92b):_0x574d7f[_0x2b4014(0x143)]();}function _0x4dfe80(_0x22648d,_0x1bf68f){const _0x320a89=_0x4baa9b;_0x22648d[_0x320a89(0x283)]=_0x5f4353[_0x320a89(0x2df)],_0x22648d['_errorEmitted']=!0x0,_0x22648d['emit'](_0x320a89(0x182),_0x1bf68f),_0x22648d[_0x320a89(0x2b7)]();}function _0x30112e(_0x3cd6de){const _0x2294bd=_0x4baa9b;return _0x3cd6de[_0x2294bd(0x231)]=_0x3cd6de['socketPath'],_0x5df1d9['connect'](_0x3cd6de);}function _0x181d6d(_0x49b528){const _0x25f160=_0x4baa9b;return _0x49b528[_0x25f160(0x231)]=void 0x0,!_0x49b528['servername']&&_0x49b528[_0x25f160(0x27c)]!==''&&(_0x49b528[_0x25f160(0x27c)]=_0x5df1d9['isIP'](_0x49b528[_0x25f160(0x2ca)])?'':_0x49b528[_0x25f160(0x2ca)]),_0xf6b5ea[_0x25f160(0x2ae)](_0x49b528);}function _0x41ffc4(_0x5a9cf7,_0x49a0ac,_0x462b02){const _0x4485e4=_0x4baa9b;_0x5a9cf7[_0x4485e4(0x283)]=_0x5f4353[_0x4485e4(0x2df)];const _0x1d7161=new Error(_0x462b02);Error[_0x4485e4(0x1fd)](_0x1d7161,_0x41ffc4),_0x49a0ac[_0x4485e4(0x20d)]?(_0x49a0ac[_0x15e9c8]=!0x0,_0x49a0ac[_0x4485e4(0x158)](),_0x49a0ac[_0x4485e4(0x2ee)]&&!_0x49a0ac[_0x4485e4(0x2ee)]['destroyed']&&_0x49a0ac[_0x4485e4(0x2ee)][_0x4485e4(0x21f)](),process[_0x4485e4(0x1a4)](_0x4dfe80,_0x5a9cf7,_0x1d7161)):(_0x49a0ac[_0x4485e4(0x21f)](_0x1d7161),_0x49a0ac[_0x4485e4(0x22d)](_0x4485e4(0x182),_0x5a9cf7[_0x4485e4(0x273)][_0x4485e4(0x173)](_0x5a9cf7,_0x4485e4(0x182))),_0x49a0ac[_0x4485e4(0x22d)]('close',_0x5a9cf7[_0x4485e4(0x2b7)][_0x4485e4(0x173)](_0x5a9cf7)));}function _0x2ea3c3(_0x47815e,_0xcad019,_0x30c2b9){const _0xaa6b7b=_0x4baa9b;if(_0xcad019){const _0x11ab3c=_0x4efec7(_0xcad019)?_0xcad019[_0xaa6b7b(0x219)]:_0x21a040(_0xcad019)[_0xaa6b7b(0x21e)];_0x47815e[_0xaa6b7b(0x198)]?_0x47815e[_0xaa6b7b(0x2c7)][_0xaa6b7b(0x291)]+=_0x11ab3c:_0x47815e[_0xaa6b7b(0x177)]+=_0x11ab3c;}if(_0x30c2b9){const _0x3798b5=new Error(_0xaa6b7b(0x1ab)+_0x47815e[_0xaa6b7b(0x280)]+'\x20('+_0x1ac9da[_0x47815e[_0xaa6b7b(0x280)]]+')');process[_0xaa6b7b(0x1a4)](_0x30c2b9,_0x3798b5);}}function _0x51686f(_0x4e9fca,_0x5f18ce){const _0x5e0cfb=_0x4baa9b,_0x3269b1=this[_0x13d4a7];_0x3269b1[_0x5e0cfb(0x2f3)]=!0x0,_0x3269b1[_0x5e0cfb(0x2b4)]=_0x5f18ce,_0x3269b1[_0x5e0cfb(0x2b1)]=_0x4e9fca,_0x3269b1[_0x5e0cfb(0x198)][_0x13d4a7]!==void 0x0&&(_0x3269b1[_0x5e0cfb(0x198)][_0x5e0cfb(0x133)](_0x5e0cfb(0x1a6),_0x4f1bcb),process[_0x5e0cfb(0x1a4)](_0x1c2675,_0x3269b1[_0x5e0cfb(0x198)]),_0x4e9fca===0x3ed?_0x3269b1[_0x5e0cfb(0x15c)]():_0x3269b1[_0x5e0cfb(0x15c)](_0x4e9fca,_0x5f18ce));}function _0x5c3ae7(){const _0x634f75=_0x4baa9b,_0x4de58b=this[_0x13d4a7];_0x4de58b[_0x634f75(0x1ff)]||_0x4de58b[_0x634f75(0x198)][_0x634f75(0x12b)]();}function _0x52f6ce(_0x360ace){const _0x1cad16=_0x4baa9b,_0x276699=this[_0x13d4a7];_0x276699[_0x1cad16(0x198)][_0x13d4a7]!==void 0x0&&(_0x276699[_0x1cad16(0x198)][_0x1cad16(0x133)](_0x1cad16(0x1a6),_0x4f1bcb),process['nextTick'](_0x1c2675,_0x276699['_socket']),_0x276699[_0x1cad16(0x15c)](_0x360ace[_0x122acc])),_0x276699[_0x1cad16(0x170)]||(_0x276699[_0x1cad16(0x170)]=!0x0,_0x276699[_0x1cad16(0x273)]('error',_0x360ace));}function _0x1fe7eb(){const _0x43a7da=_0x4baa9b;this[_0x13d4a7][_0x43a7da(0x2b7)]();}function _0x518c8a(_0x4a73ce,_0x3318fc){const _0x132f1f=_0x4baa9b;this[_0x13d4a7][_0x132f1f(0x273)](_0x132f1f(0x138),_0x4a73ce,_0x3318fc);}function _0x4cd146(_0x4ca0d4){const _0x1a089d=_0x4baa9b,_0x15ed80=this[_0x13d4a7];_0x15ed80['_autoPong']&&_0x15ed80['pong'](_0x4ca0d4,!this[_0x1a089d(0x14c)],_0x6b8db0),_0x15ed80[_0x1a089d(0x273)](_0x1a089d(0x2cc),_0x4ca0d4);}function _0x209a44(_0xbef25){const _0x33b414=_0x4baa9b;this[_0x13d4a7][_0x33b414(0x273)](_0x33b414(0x223),_0xbef25);}function _0x1c2675(_0x5471f6){const _0x3911ac=_0x4baa9b;_0x5471f6[_0x3911ac(0x12b)]();}function _0x248dbe(_0x86c4da){const _0xf29973=_0x4baa9b,_0x1d03b9=this[_0x13d4a7];_0x1d03b9[_0xf29973(0x280)]!==_0x5f4353[_0xf29973(0x2b0)]&&(_0x1d03b9[_0xf29973(0x280)]===_0x5f4353[_0xf29973(0x20a)]&&(_0x1d03b9[_0xf29973(0x283)]=_0x5f4353[_0xf29973(0x2df)],_0x252060(_0x1d03b9)),this['_socket'][_0xf29973(0x143)](),_0x1d03b9[_0xf29973(0x170)]||(_0x1d03b9['_errorEmitted']=!0x0,_0x1d03b9['emit'](_0xf29973(0x182),_0x86c4da)));}function _0x252060(_0x58f903){const _0x484d93=_0x4baa9b;_0x58f903[_0x484d93(0x286)]=setTimeout(_0x58f903['_socket'][_0x484d93(0x21f)]['bind'](_0x58f903[_0x484d93(0x198)]),_0x265d82);}function _0x580c45(){const _0x5c7192=_0x4baa9b,_0x2297d4=this[_0x13d4a7];this[_0x5c7192(0x133)](_0x5c7192(0x15c),_0x580c45),this['removeListener']('data',_0x4f1bcb),this[_0x5c7192(0x133)](_0x5c7192(0x143),_0x8f84fa),_0x2297d4['_readyState']=_0x5f4353['CLOSING'];let _0x2eb3b8;!this[_0x5c7192(0x181)][_0x5c7192(0x130)]&&!_0x2297d4[_0x5c7192(0x2f3)]&&!_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x175)][_0x5c7192(0x19e)]&&(_0x2eb3b8=_0x2297d4[_0x5c7192(0x198)][_0x5c7192(0x288)]())!==null&&_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x160)](_0x2eb3b8),_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x143)](),this[_0x13d4a7]=void 0x0,clearTimeout(_0x2297d4[_0x5c7192(0x286)]),_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x2a9)]||_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x19e)]?_0x2297d4['emitClose']():(_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x182),_0x1fe7eb),_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x253),_0x1fe7eb));}function _0x4f1bcb(_0x47bebd){const _0x34dc4b=_0x4baa9b;this[_0x13d4a7][_0x34dc4b(0x1d2)][_0x34dc4b(0x160)](_0x47bebd)||this['pause']();}function _0x8f84fa(){const _0x2191b1=_0x4baa9b,_0x507850=this[_0x13d4a7];_0x507850[_0x2191b1(0x283)]=_0x5f4353[_0x2191b1(0x2df)],_0x507850['_receiver'][_0x2191b1(0x143)](),this[_0x2191b1(0x143)]();}function _0x7be166(){const _0x332014=_0x4baa9b,_0x4915bd=this[_0x13d4a7];this[_0x332014(0x133)](_0x332014(0x182),_0x7be166),this['on'](_0x332014(0x182),_0x6b8db0),_0x4915bd&&(_0x4915bd[_0x332014(0x283)]=_0x5f4353[_0x332014(0x2df)],this[_0x332014(0x21f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1d72f6}=oe;function _0x9f50c9(_0x11df23){const _0x2c1406=_0x2b82;_0x11df23[_0x2c1406(0x273)]('close');}function _0x229c98(){const _0x36f483=_0x2b82;!this[_0x36f483(0x212)]&&this[_0x36f483(0x175)]['finished']&&this[_0x36f483(0x21f)]();}function _0x2fa937(_0x1ba810){const _0x35a775=_0x2b82;this[_0x35a775(0x133)](_0x35a775(0x182),_0x2fa937),this[_0x35a775(0x21f)](),this[_0x35a775(0x265)](_0x35a775(0x182))===0x0&&this['emit']('error',_0x1ba810);}function _0x4ef043(_0x3f7ebc,_0x486180){const _0x48a5ca=_0x2b82;let _0x2b553e=!0x0;const _0x2cdd36=new _0x1d72f6({..._0x486180,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f7ebc['on']('message',function(_0x3b4cbf,_0x10d00b){const _0x1bfc51=_0x2b82,_0x41f727=!_0x10d00b&&_0x2cdd36[_0x1bfc51(0x181)][_0x1bfc51(0x1a8)]?_0x3b4cbf[_0x1bfc51(0x1cc)]():_0x3b4cbf;_0x2cdd36[_0x1bfc51(0x23b)](_0x41f727)||_0x3f7ebc['pause']();}),_0x3f7ebc['once'](_0x48a5ca(0x182),function(_0x409272){_0x2cdd36['destroyed']||(_0x2b553e=!0x1,_0x2cdd36['destroy'](_0x409272));}),_0x3f7ebc[_0x48a5ca(0x22d)](_0x48a5ca(0x15c),function(){const _0x2a4f8e=_0x48a5ca;_0x2cdd36['destroyed']||_0x2cdd36[_0x2a4f8e(0x23b)](null);}),_0x2cdd36[_0x48a5ca(0x150)]=function(_0x4479e9,_0x536703){const _0x5e74f0=_0x48a5ca;if(_0x3f7ebc['readyState']===_0x3f7ebc['CLOSED']){_0x536703(_0x4479e9),process['nextTick'](_0x9f50c9,_0x2cdd36);return;}let _0x3ad42c=!0x1;_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x182),function(_0x165cd5){_0x3ad42c=!0x0,_0x536703(_0x165cd5);}),_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x15c),function(){const _0xb3dada=_0x5e74f0;_0x3ad42c||_0x536703(_0x4479e9),process[_0xb3dada(0x1a4)](_0x9f50c9,_0x2cdd36);}),_0x2b553e&&_0x3f7ebc['terminate']();},_0x2cdd36[_0x48a5ca(0x18a)]=function(_0x3ac609){const _0x7df0ee=_0x48a5ca;if(_0x3f7ebc[_0x7df0ee(0x280)]===_0x3f7ebc[_0x7df0ee(0x202)]){_0x3f7ebc['once']('open',function(){const _0x5ca558=_0x7df0ee;_0x2cdd36[_0x5ca558(0x18a)](_0x3ac609);});return;}_0x3f7ebc[_0x7df0ee(0x198)]!==null&&(_0x3f7ebc[_0x7df0ee(0x198)]['_writableState'][_0x7df0ee(0x2a9)]?(_0x3ac609(),_0x2cdd36[_0x7df0ee(0x181)]['endEmitted']&&_0x2cdd36[_0x7df0ee(0x21f)]()):(_0x3f7ebc['_socket']['once'](_0x7df0ee(0x253),function(){_0x3ac609();}),_0x3f7ebc[_0x7df0ee(0x15c)]()));},_0x2cdd36[_0x48a5ca(0x22e)]=function(){const _0x167ddb=_0x48a5ca;_0x3f7ebc[_0x167ddb(0x1ff)]&&_0x3f7ebc['resume']();},_0x2cdd36[_0x48a5ca(0x1b8)]=function(_0x566036,_0xea9ba4,_0x38f398){const _0x3041d7=_0x48a5ca;if(_0x3f7ebc[_0x3041d7(0x280)]===_0x3f7ebc['CONNECTING']){_0x3f7ebc[_0x3041d7(0x22d)](_0x3041d7(0x187),function(){const _0x11f9bc=_0x3041d7;_0x2cdd36[_0x11f9bc(0x1b8)](_0x566036,_0xea9ba4,_0x38f398);});return;}_0x3f7ebc['send'](_0x566036,_0x38f398);},_0x2cdd36['on'](_0x48a5ca(0x143),_0x229c98),_0x2cdd36['on'](_0x48a5ca(0x182),_0x2fa937),_0x2cdd36;}return Oe=_0x4ef043,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xaf82fc}=ae();function _0x3c8993(_0x69eb0f){const _0x36f521=_0x2b82,_0x4e3084=new Set();let _0x394778=-0x1,_0x1962fd=-0x1,_0x44ce7a=0x0;for(_0x44ce7a;_0x44ce7a<_0x69eb0f[_0x36f521(0x21e)];_0x44ce7a++){const _0x18df72=_0x69eb0f[_0x36f521(0x236)](_0x44ce7a);if(_0x1962fd===-0x1&&_0xaf82fc[_0x18df72]===0x1)_0x394778===-0x1&&(_0x394778=_0x44ce7a);else{if(_0x44ce7a!==0x0&&(_0x18df72===0x20||_0x18df72===0x9))_0x1962fd===-0x1&&_0x394778!==-0x1&&(_0x1962fd=_0x44ce7a);else{if(_0x18df72===0x2c){if(_0x394778===-0x1)throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);_0x1962fd===-0x1&&(_0x1962fd=_0x44ce7a);const _0x15c967=_0x69eb0f['slice'](_0x394778,_0x1962fd);if(_0x4e3084[_0x36f521(0x2aa)](_0x15c967))throw new SyntaxError(_0x36f521(0x139)+_0x15c967+_0x36f521(0x302));_0x4e3084[_0x36f521(0x266)](_0x15c967),_0x394778=_0x1962fd=-0x1;}else throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);}}}if(_0x394778===-0x1||_0x1962fd!==-0x1)throw new SyntaxError(_0x36f521(0x220));const _0x2cf28b=_0x69eb0f[_0x36f521(0x2bc)](_0x394778,_0x44ce7a);if(_0x4e3084[_0x36f521(0x2aa)](_0x2cf28b))throw new SyntaxError(_0x36f521(0x139)+_0x2cf28b+_0x36f521(0x302));return _0x4e3084[_0x36f521(0x266)](_0x2cf28b),_0x4e3084;}return Ce={'parse':_0x3c8993},Ce;}var Te,rt;function Ft(){const _0x522ae0=_0x256248;if(rt)return Te;rt=0x1;const _0x29d232=nt,_0x2c3414=ot,{Duplex:_0x383786}=oe,{createHash:_0x7cb61}=Le,_0x4cc0a4=ct(),_0xb0a92f=he(),_0x303cea=At(),_0x2b0094=Pe(),{GUID:_0x3dd828,kWebSocket:_0x4dc47f}=H(),_0x4df7ce=/^[+/0-9A-Za-z]{22}==$/,_0x48f53c=0x0,_0x332242=0x1,_0x2f5848=0x2;class _0x1c6cd1 extends _0x29d232{constructor(_0x3903d3,_0x3f9c68){const _0x164350=_0x2b82;if(super(),_0x3903d3={'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':_0x2b0094,..._0x3903d3},_0x3903d3[_0x164350(0x172)]==null&&!_0x3903d3['server']&&!_0x3903d3[_0x164350(0x2a0)]||_0x3903d3[_0x164350(0x172)]!=null&&(_0x3903d3['server']||_0x3903d3[_0x164350(0x2a0)])||_0x3903d3['server']&&_0x3903d3[_0x164350(0x2a0)])throw new TypeError(_0x164350(0x28f));if(_0x3903d3[_0x164350(0x172)]!=null?(this[_0x164350(0x1b4)]=_0x2c3414[_0x164350(0x209)]((_0x5a6043,_0x297b07)=>{const _0x2510ed=_0x164350,_0x5a0a70=_0x2c3414['STATUS_CODES'][0x1aa];_0x297b07[_0x2510ed(0x2d4)](0x1aa,{'Content-Length':_0x5a0a70[_0x2510ed(0x21e)],'Content-Type':_0x2510ed(0x267)}),_0x297b07[_0x2510ed(0x143)](_0x5a0a70);}),this[_0x164350(0x1b4)]['listen'](_0x3903d3[_0x164350(0x172)],_0x3903d3[_0x164350(0x2ca)],_0x3903d3['backlog'],_0x3f9c68)):_0x3903d3[_0x164350(0x19a)]&&(this['_server']=_0x3903d3[_0x164350(0x19a)]),this[_0x164350(0x1b4)]){const _0x436711=this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x196));this['_removeListeners']=_0x11f245(this[_0x164350(0x1b4)],{'listening':this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x250)),'error':this['emit'][_0x164350(0x173)](this,_0x164350(0x182)),'upgrade':(_0x51f2c5,_0xfc5d08,_0x421ce4)=>{const _0x5ce96f=_0x164350;this[_0x5ce96f(0x1ae)](_0x51f2c5,_0xfc5d08,_0x421ce4,_0x436711);}});}_0x3903d3[_0x164350(0x2ef)]===!0x0&&(_0x3903d3['perMessageDeflate']={}),_0x3903d3['clientTracking']&&(this[_0x164350(0x1f7)]=new Set(),this[_0x164350(0x2bb)]=!0x1),this[_0x164350(0x208)]=_0x3903d3,this[_0x164350(0x17a)]=_0x48f53c;}['address'](){const _0x1f99f9=_0x2b82;if(this[_0x1f99f9(0x208)][_0x1f99f9(0x2a0)])throw new Error(_0x1f99f9(0x1e8));return this[_0x1f99f9(0x1b4)]?this['_server'][_0x1f99f9(0x2d9)]():null;}[_0x522ae0(0x15c)](_0x2d10c0){const _0x3c117d=_0x522ae0;if(this[_0x3c117d(0x17a)]===_0x2f5848){_0x2d10c0&&this[_0x3c117d(0x22d)](_0x3c117d(0x15c),()=>{_0x2d10c0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3c117d(0x1a4)](_0x33a3e0,this);return;}if(_0x2d10c0&&this[_0x3c117d(0x22d)]('close',_0x2d10c0),this['_state']!==_0x332242){if(this['_state']=_0x332242,this[_0x3c117d(0x208)][_0x3c117d(0x2a0)]||this[_0x3c117d(0x208)]['server'])this[_0x3c117d(0x1b4)]&&(this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null),this[_0x3c117d(0x1f7)]?this[_0x3c117d(0x1f7)][_0x3c117d(0x219)]?this[_0x3c117d(0x2bb)]=!0x0:process[_0x3c117d(0x1a4)](_0x33a3e0,this):process[_0x3c117d(0x1a4)](_0x33a3e0,this);else{const _0x525cd5=this[_0x3c117d(0x1b4)];this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null,_0x525cd5[_0x3c117d(0x15c)](()=>{_0x33a3e0(this);});}}}[_0x522ae0(0x29b)](_0x2f10a0){const _0x503f99=_0x522ae0;if(this['options'][_0x503f99(0x231)]){const _0x103810=_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x249)]('?');if((_0x103810!==-0x1?_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x2bc)](0x0,_0x103810):_0x2f10a0[_0x503f99(0x264)])!==this[_0x503f99(0x208)][_0x503f99(0x231)])return!0x1;}return!0x0;}[_0x522ae0(0x1ae)](_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8){const _0x77caa5=_0x522ae0;_0x1c0c0a['on']('error',_0x1674cd);const _0x3f1b1a=_0x2dffec['headers'][_0x77caa5(0x2e0)],_0xe1c868=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x1de)],_0x505533=+_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x27e)];if(_0x2dffec[_0x77caa5(0x20f)]!==_0x77caa5(0x21b)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x195,_0x77caa5(0x18e));return;}if(_0xe1c868===void 0x0||_0xe1c868[_0x77caa5(0x2e1)]()!==_0x77caa5(0x235)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x289));return;}if(_0x3f1b1a===void 0x0||!_0x4df7ce[_0x77caa5(0x2b8)](_0x3f1b1a)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x16d));return;}if(_0x505533!==0x8&&_0x505533!==0xd){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x1b2));return;}if(!this[_0x77caa5(0x29b)](_0x2dffec)){_0x56c61e(_0x1c0c0a,0x190);return;}const _0x4e29e8=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x227)];let _0x5aa698=new Set();if(_0x4e29e8!==void 0x0)try{_0x5aa698=_0x303cea[_0x77caa5(0x188)](_0x4e29e8);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x2ce));return;}const _0x1de6f5=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x2eb)],_0x4567cf={};if(this['options'][_0x77caa5(0x2ef)]&&_0x1de6f5!==void 0x0){const _0x4f9a42=new _0xb0a92f(this[_0x77caa5(0x208)][_0x77caa5(0x2ef)],!0x0,this[_0x77caa5(0x208)]['maxPayload']);try{const _0x2f92fe=_0x4cc0a4['parse'](_0x1de6f5);_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]&&(_0x4f9a42[_0x77caa5(0x171)](_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]),_0x4567cf[_0xb0a92f[_0x77caa5(0x1d5)]]=_0x4f9a42);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)]){const _0x38bb5b={'origin':_0x2dffec[_0x77caa5(0x2ba)][''+(_0x505533===0x8?_0x77caa5(0x153):_0x77caa5(0x2fe))],'secure':!!(_0x2dffec[_0x77caa5(0x2ee)]['authorized']||_0x2dffec[_0x77caa5(0x2ee)]['encrypted']),'req':_0x2dffec};if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)][_0x77caa5(0x21e)]===0x2){this[_0x77caa5(0x208)][_0x77caa5(0x17e)](_0x38bb5b,(_0x1b8b3e,_0x225848,_0x3472b0,_0x512710)=>{const _0x34d238=_0x77caa5;if(!_0x1b8b3e)return _0x56c61e(_0x1c0c0a,_0x225848||0x191,_0x3472b0,_0x512710);this[_0x34d238(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);});return;}if(!this[_0x77caa5(0x208)]['verifyClient'](_0x38bb5b))return _0x56c61e(_0x1c0c0a,0x191);}this[_0x77caa5(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);}[_0x522ae0(0x1c4)](_0x12d152,_0x33b322,_0x24c9b4,_0x2d972f,_0x20e8fc,_0x5d00cd,_0x5f015d){const _0x194ef9=_0x522ae0;if(!_0x20e8fc['readable']||!_0x20e8fc[_0x194ef9(0x282)])return _0x20e8fc[_0x194ef9(0x21f)]();if(_0x20e8fc[_0x4dc47f])throw new Error(_0x194ef9(0x2dc));if(this['_state']>_0x48f53c)return _0x56c61e(_0x20e8fc,0x1f7);const _0xf91313=[_0x194ef9(0x29e),_0x194ef9(0x1b7),'Connection:\x20Upgrade',_0x194ef9(0x2cf)+_0x7cb61(_0x194ef9(0x204))[_0x194ef9(0x1ed)](_0x33b322+_0x3dd828)[_0x194ef9(0x1d7)](_0x194ef9(0x163))],_0x2e4c82=new this['options'][(_0x194ef9(0x21a))](null,void 0x0,this[_0x194ef9(0x208)]);if(_0x24c9b4[_0x194ef9(0x219)]){const _0x2278fb=this[_0x194ef9(0x208)][_0x194ef9(0x201)]?this['options'][_0x194ef9(0x201)](_0x24c9b4,_0x2d972f):_0x24c9b4[_0x194ef9(0x25e)]()[_0x194ef9(0x217)]()[_0x194ef9(0x176)];_0x2278fb&&(_0xf91313['push'](_0x194ef9(0x1b9)+_0x2278fb),_0x2e4c82[_0x194ef9(0x2d1)]=_0x2278fb);}if(_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]]){const _0x4d6a07=_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]][_0x194ef9(0x287)],_0x10bf0d=_0x4cc0a4[_0x194ef9(0x1da)]({[_0xb0a92f[_0x194ef9(0x1d5)]]:[_0x4d6a07]});_0xf91313['push'](_0x194ef9(0x1aa)+_0x10bf0d),_0x2e4c82['_extensions']=_0x12d152;}this[_0x194ef9(0x273)](_0x194ef9(0x2ba),_0xf91313,_0x2d972f),_0x20e8fc[_0x194ef9(0x160)](_0xf91313[_0x194ef9(0x1db)]('\x0d\x0a')['join']('\x0d\x0a')),_0x20e8fc[_0x194ef9(0x133)](_0x194ef9(0x182),_0x1674cd),_0x2e4c82['setSocket'](_0x20e8fc,_0x5d00cd,{'allowSynchronousEvents':this[_0x194ef9(0x208)][_0x194ef9(0x228)],'maxPayload':this[_0x194ef9(0x208)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x194ef9(0x1f7)]&&(this[_0x194ef9(0x1f7)][_0x194ef9(0x266)](_0x2e4c82),_0x2e4c82['on'](_0x194ef9(0x15c),()=>{const _0x4a086a=_0x194ef9;this[_0x4a086a(0x1f7)][_0x4a086a(0x1e6)](_0x2e4c82),this['_shouldEmitClose']&&!this[_0x4a086a(0x1f7)][_0x4a086a(0x219)]&&process[_0x4a086a(0x1a4)](_0x33a3e0,this);})),_0x5f015d(_0x2e4c82,_0x2d972f);}}Te=_0x1c6cd1;function _0x11f245(_0x380917,_0xf6758){const _0x17d4d6=_0x522ae0;for(const _0x5f07f9 of Object[_0x17d4d6(0x268)](_0xf6758))_0x380917['on'](_0x5f07f9,_0xf6758[_0x5f07f9]);return function(){const _0x304459=_0x17d4d6;for(const _0x4c7855 of Object[_0x304459(0x268)](_0xf6758))_0x380917[_0x304459(0x133)](_0x4c7855,_0xf6758[_0x4c7855]);};}function _0x33a3e0(_0x155c9c){const _0x543468=_0x522ae0;_0x155c9c['_state']=_0x2f5848,_0x155c9c[_0x543468(0x273)]('close');}function _0x1674cd(){this['destroy']();}function _0x56c61e(_0x43b8ee,_0x2d33cb,_0x2ac8f6,_0x27a1ad){const _0x36f26c=_0x522ae0;_0x2ac8f6=_0x2ac8f6||_0x2c3414['STATUS_CODES'][_0x2d33cb],_0x27a1ad={'Connection':'close','Content-Type':_0x36f26c(0x272),'Content-Length':Buffer['byteLength'](_0x2ac8f6),..._0x27a1ad},_0x43b8ee[_0x36f26c(0x22d)](_0x36f26c(0x253),_0x43b8ee['destroy']),_0x43b8ee[_0x36f26c(0x143)](_0x36f26c(0x232)+_0x2d33cb+'\x20'+_0x2c3414[_0x36f26c(0x279)][_0x2d33cb]+'\x0d\x0a'+Object['keys'](_0x27a1ad)[_0x36f26c(0x2de)](_0x418958=>_0x418958+':\x20'+_0x27a1ad[_0x418958])[_0x36f26c(0x296)]('\x0d\x0a')+_0x36f26c(0x2c8)+_0x2ac8f6);}function _0x3d9675(_0x50abe6,_0x20c7f5,_0x1e3f43,_0x1934e7,_0x19c756){const _0xb2954e=_0x522ae0;if(_0x50abe6[_0xb2954e(0x265)](_0xb2954e(0x1a2))){const _0x5c3ca8=new Error(_0x19c756);Error[_0xb2954e(0x1fd)](_0x5c3ca8,_0x3d9675),_0x50abe6[_0xb2954e(0x273)]('wsClientError',_0x5c3ca8,_0x1e3f43,_0x20c7f5);}else _0x56c61e(_0x1e3f43,_0x1934e7,_0x19c756);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xad6723,_0x22983a,_0x14043e,_0x3eca09)=>{for(var _0x49e258=_0x3eca09>0x1?void 0x0:_0x3eca09?jt(_0x22983a,_0x14043e):_0x22983a,_0xb9e377=_0xad6723['length']-0x1,_0xb56b72;_0xb9e377>=0x0;_0xb9e377--)(_0xb56b72=_0xad6723[_0xb9e377])&&(_0x49e258=_0xb56b72(_0x49e258)||_0x49e258);return _0x49e258;},qt=(_0x5eb392,_0x165505)=>(_0x2d6765,_0x2dd698)=>_0x165505(_0x2d6765,_0x2dd698,_0x5eb392);let ke=class extends A[_0x256248(0x18b)]{constructor(_0x440365){super(),this['_configService']=_0x440365;}['createSocket'](_0x466879){const _0x1521b5=_0x256248;var _0x614013;const _0x33f4c9=(_0x614013=this['_configService'][_0x1521b5(0x26b)](fe))==null?void 0x0:_0x614013['customHeaders'];try{const _0x1ab7a7=new $t(_0x466879,{'headers':{..._0x33f4c9}}),_0x223f4c=new A[(_0x1521b5(0x300))]();return{'URL':_0x466879,'close':(_0x2e5241,_0x3788a9)=>{const _0x43034c=_0x1521b5;_0x1ab7a7['close'](_0x2e5241,_0x3788a9),_0x223f4c[_0x43034c(0x1b0)]();},'send':_0x3c6443=>{const _0x2abc18=_0x1521b5;_0x1ab7a7[_0x2abc18(0x2a8)](_0x3c6443);},'open$':new V[(_0x1521b5(0x1d9))](_0x34ae85=>{const _0x373d20=_0x1521b5,_0x4f5626=_0x5636db=>_0x34ae85[_0x373d20(0x217)](_0x5636db);_0x1ab7a7[_0x373d20(0x142)](_0x373d20(0x187),_0x4f5626),_0x223f4c[_0x373d20(0x266)](A[_0x373d20(0x230)](()=>_0x1ab7a7[_0x373d20(0x155)]('open',_0x4f5626)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'close$':new V['Observable'](_0x3a0a1f=>{const _0x36cc96=_0x1521b5,_0x3ad672=_0x4fb20c=>_0x3a0a1f[_0x36cc96(0x217)](_0x4fb20c);_0x1ab7a7['addEventListener']('close',_0x3ad672),_0x223f4c[_0x36cc96(0x266)](A['toDisposable'](()=>_0x1ab7a7['removeEventListener'](_0x36cc96(0x15c),_0x3ad672)));})[_0x1521b5(0x2d0)](V['share']()),'error$':new V[(_0x1521b5(0x1d9))](_0x47932f=>{const _0x1c493f=_0x1521b5,_0x504369=_0x338c57=>_0x47932f[_0x1c493f(0x217)](_0x338c57);_0x1ab7a7[_0x1c493f(0x142)](_0x1c493f(0x182),_0x504369),_0x223f4c[_0x1c493f(0x266)](A[_0x1c493f(0x230)](()=>_0x1ab7a7[_0x1c493f(0x155)](_0x1c493f(0x182),_0x504369)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'message$':new V[(_0x1521b5(0x1d9))](_0x53e713=>{const _0xd700d8=_0x1521b5,_0x43ec93=_0x51140b=>_0x53e713['next'](_0x51140b);_0x1ab7a7[_0xd700d8(0x142)](_0xd700d8(0x138),_0x43ec93),_0x223f4c['add'](A[_0xd700d8(0x230)](()=>_0x1ab7a7['removeEventListener'](_0xd700d8(0x138),_0x43ec93)));})['pipe'](V[_0x1521b5(0x1e0)]())};}catch(_0x16901d){return console[_0x1521b5(0x182)](_0x16901d),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x256248(0x269)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x2e65c3,_0xf8e49f,_0xe14bf3)=>_0xf8e49f in _0x2e65c3?Gt(_0x2e65c3,_0xf8e49f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe14bf3}):_0x2e65c3[_0xf8e49f]=_0xe14bf3,zt=(_0x1460c8,_0x1f2143,_0x3553b4,_0x5c3c21)=>{const _0x1b8707=_0x256248;for(var _0x2b0536=_0x5c3c21>0x1?void 0x0:_0x5c3c21?Vt(_0x1f2143,_0x3553b4):_0x1f2143,_0x166660=_0x1460c8[_0x1b8707(0x21e)]-0x1,_0x423ec5;_0x166660>=0x0;_0x166660--)(_0x423ec5=_0x1460c8[_0x166660])&&(_0x2b0536=_0x423ec5(_0x2b0536)||_0x2b0536);return _0x2b0536;},Ne=(_0x1d8df7,_0x1c0a86)=>(_0x7f3c9f,_0x320706)=>_0x1c0a86(_0x7f3c9f,_0x320706,_0x1d8df7),Yt=(_0x145937,_0x5df19f,_0x3adf84)=>Ht(_0x145937,_0x5df19f+'',_0x3adf84);exports[_0x256248(0x242)]=class extends A[_0x256248(0x252)]{constructor(_0x5c0052=Ct,_0x5c5525,_0x1fe5c9,_0x412aa4){const _0xade654=_0x256248;_0x5c0052[_0xade654(0x164)]||_0x5c5525[_0xade654(0x24d)](_0xade654(0x25c)),super(),this[_0xade654(0x18d)]=_0x1fe5c9,this[_0xade654(0x241)]=_0x412aa4,this[_0xade654(0x18d)]['setConfig'](fe,_0x5c0052);}[_0x256248(0x270)](){const _0x3384f6=_0x256248;this[_0x3384f6(0x1ce)]();}['_registerDependencies'](){const _0x239d85=_0x256248;A[_0x239d85(0x27d)](this[_0x239d85(0x241)],[[it[_0x239d85(0x2ea)],{'useClass':ke}]]);}},Yt(exports[_0x256248(0x242)],_0x256248(0x1fa),_0x256248(0x2ac)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x256248(0x25b)](st[_0x256248(0x1a1)]),Ne(0x1,A[_0x256248(0x29d)]),Ne(0x2,A[_0x256248(0x1e4)]),Ne(0x3,A['Inject'](A[_0x256248(0x275)]))],exports[_0x256248(0x242)]);var Kt=Object[_0x256248(0x2c0)],Xt=(_0x5d1b04,_0x5da140,_0x367636,_0x1cd59c)=>{for(var _0x5cad5=_0x1cd59c>0x1?void 0x0:_0x1cd59c?Kt(_0x5da140,_0x367636):_0x5da140,_0x19f280=_0x5d1b04['length']-0x1,_0x295075;_0x19f280>=0x0;_0x19f280--)(_0x295075=_0x5d1b04[_0x19f280])&&(_0x5cad5=_0x295075(_0x5cad5)||_0x5cad5);return _0x5cad5;},ne=(_0x3ed45a,_0x104412)=>(_0x3fc304,_0x5ade44)=>_0x104412(_0x3fc304,_0x5ade44,_0x3ed45a);exports['NodeCollaborationSocketService']=class extends st[_0x256248(0x207)]{constructor(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c){const _0x413d67=_0x256248;super(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c);const _0x18b703=this[_0x413d67(0x18d)]['getConfig'](fe);this[_0x413d67(0x2f4)][_0x413d67(0x2cb)]({'interceptor':(_0x4bdb54,_0x11b611)=>{const _0x271f5b=_0x413d67;var _0x2caf3a;const _0x44978f=_0x4bdb54[_0x271f5b(0x2ba)];return(_0x2caf3a=_0x18b703==null?void 0x0:_0x18b703[_0x271f5b(0x164)])!=null&&_0x2caf3a[_0x271f5b(0x1c1)]&&_0x44978f[_0x271f5b(0x1ea)](_0x271f5b(0x1f5),_0x18b703['customHeaders'][_0x271f5b(0x1c1)]),_0x11b611(_0x4bdb54);}});}async[_0x256248(0x2a2)](_0x240f0e){const _0x11d1c2=_0x256248;return this[_0x11d1c2(0x221)](_0x240f0e);}},exports[_0x256248(0x211)]=Xt([ne(0x0,A[_0x256248(0x1f2)](A['Injector'])),ne(0x1,A[_0x256248(0x1f2)](it[_0x256248(0x1bb)])),ne(0x2,A[_0x256248(0x1e4)]),ne(0x3,A[_0x256248(0x29d)]),ne(0x4,Ot[_0x256248(0x1d3)])],exports['NodeCollaborationSocketService']),exports[_0x256248(0x12e)]=fe;
|
|
1
|
+
'use strict';const _0x11caf3=_0x272f;function _0xbc0b(){const _0xc4db70=['pong','finish','_messageLength','Z_DEFAULT_WINDOWBITS','OPEN','_binaryType','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','The\x20\x22','toStringTag','Unexpected\x20end\x20of\x20input','wsClientError','IConfigService','https:','freeze','maskBuffer','options','kByteLength','writeHead','allocUnsafe','_protocol','customHeaders','\x22\x20must\x20have\x20only\x20a\x20single\x20value','writeUInt16BE','host','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_state','_write','ws+unix:','wss:','_bufferedBytes','total-length','objectMode','getBlobData','Invalid\x20URL:\x20','2151414EXVQQd','skipUTF8Validation','socket','Connection:\x20Upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','method','catch','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','maxRedirects','text/plain','Invalid\x20Sec-WebSocket-Extensions\x20header','share','perMessageDeflate','forEach','noServer','isArray','toLowerCase','cleanup','has','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_autoPong','readUInt16BE','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isPaused','opcode','includes','_socket','_shouldEmitClose','Sec-WebSocket-Extensions','_paused','listen','server','isValidUTF8','http','_closeFrameReceived','kData','digest','get','response','_removeListeners','completeUpgrade','write','createConnection','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Parameter\x20\x22','_masked','destroyed','abort','isIP','parse','onerror','Invalid\x20Sec-WebSocket-Accept\x20header','entries','terminate','readOnly','drain','replace','CONNECTING','18438FnmIWE','getPayloadLength64','emitClose','species','1834410HwTqLL','href','kMessage','threshold','defineProperty','createSocket','toDisposable','apply','@univerjs/core','_mask','pause','buffers','getData','getPayloadLength16','_originalSecure','Unknown\x20parameter\x20\x22','default','onclose','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_firstFragment','_sender','endEmitted','normalizeParams','invalid\x20opcode\x200','kAborted','_receiver','Observable','isBuffer','events','Inject','sendFrame','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Plugin','Sec-WebSocket-Accept:\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','cookie','isInteger','createInflateRaw','controlMessage','kRun','hostname','pluginName','request','removeAllListeners','pathname','sec-websocket-protocol','extensionName','flush','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','setConfig','allowSynchronousEvents','http:','uncork','indexOf','HTTPService','socketPath','removeListener','_closeFrameSent','Upgrade:\x20websocket','WS_ERR_EXPECTED_MASK','protocolVersion','getInfo','_skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_2_3','WS_ERR_INVALID_UTF8','createDeflateRaw','startLoop','_errored','getMask','warn','stream','update','params','resume','accept','_fragments','clientTracking','kReason','read','UniverCollaborationClientNodePlugin','dispatch','verifyClient','search','_readyState','maxPayload','createError','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_bufferedAmount','kDone','_queue','readyState','authorization','close','MASK\x20must\x20be\x20clear','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','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','decompress','client','Sec-WebSocket-Protocol','_isServer','map','_decompress','ws:','protocol','once','listenerCount','websocket','Injector','construct','unmask','offer','CLOSED','dataMessage','3371781dFjgew','isView','The\x20URL\x20contains\x20a\x20fragment\x20identifier','exports','readUInt32BE','1779600WEyihJ','getConfig','servername','Invalid\x20WebSocket\x20frame:\x20','redirect','@univerjs-pro/collaboration','needDrain','MASK\x20must\x20be\x20set','DisposableCollection','Cookie','from','_maxPayload','encrypted','byteOffset','isServer','Blob','invalid\x20opcode\x20','serverMaxWindowBits','generateMask','open','_injector','nodebuffer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','sha1','emit','Invalid\x20HTTP\x20method','errorEmitted','concurrencyLimit','compress','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_threshold','Unsupported\x20protocol\x20version:\x20','434912RrXRBt','listeners','_compress','_deflate','client_max_window_bits','getOwnPropertyDescriptor','clientNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','create','Sec-WebSocket-Extensions:\x20','handleUpgrade','zlib','NodeCollaborationSocketService','STATUS_CODES','send','status-code','username','charCodeAt','_maskBuffer','constructor','alloc','binaryType','defaultPort','https','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Basic\x20','_allowSynchronousEvents','find','dispose','slice','WS_ERR_INVALID_CLOSE_CODE','origin','byteLength','collaboration-client-node.config','_extensions','crypto','pipe','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','text/html','Sec-WebSocket-Origin','registerDependencies','extensions','buffer','fragments','COLLABORATION_CLIENT_NODE_CONFIG_KEY','number','clients','shift','hasOwnProperty','bind','arrayBuffer','_url','Origin','followRedirects','ILogService','CollaborationSocketService','_configService','kTarget','message','autoPong','code','HTTP/1.1\x20101\x20Switching\x20Protocols','\x20(supported\x20versions:\x20','UniverCollaborationClientPlugin','serverNoContextTakeover','data','@univerjs/network','RSV1\x20must\x20be\x20clear','reason','push','_req','rxjs','next','keys','string','_closeMessage','_originalIpc','kIsForOnEventAttribute','_max_window_bits','_generateMask','connection','wasClean','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','\x22\x20subprotocol\x20is\x20duplicated','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','password','_fragmented','headers','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','error','Module','registerHTTPInterceptor','onStarting','sec-websocket-version','client_no_context_takeover','_redirects','_options','invalid\x20payload\x20length\x20','handleEvent','auth','nextTick','set','3144294NeescW','ISocketService','setNoDelay','ping','finishRequest','length','CLOSING','__esModule','readable','acceptAsServer','conclude','upgrade','clientMaxWindowBits','WS_ERR_INVALID_OPCODE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Maximum\x20redirects\x20exceeded','setSocket','pending','addEventListener','fin','port','blob','The\x20server\x20is\x20not\x20running','haveLength','statusCode','File','connect','finished','_no_context_takeover','add','_closeCode','setTimeout','kCode','Unexpected\x20server\x20response:\x20','_registerDependencies','enqueue','rsv1','timeout','path','url','kType','Invalid\x20value\x20for\x20parameter\x20\x22','Max\x20payload\x20size\x20exceeded','target','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','\x22:\x20','zlibInflateOptions','The\x20URL\x27s\x20pathname\x20is\x20empty','server_max_window_bits','DependentOn','frame','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shouldHandle','_opcode','Sec-WebSocket-Protocol:\x20','end','captureStackTrace','server_no_context_takeover','_compressed','concat','mask','kWasClean','_httpService','size','permessage-deflate','backlog','_writableState','handleProtocols','toString','consume','_closeTimer','setHeader','startsWith','listening','arraybuffer','base64','_fin','binary','_originalHostOrSocketPath','function','dequeue','onmessage','_readableState','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroy','pow','format','_destroy','acceptAsClient','sec-websocket-origin','address','Z_SYNC_FLUSH','value','jobs','_payloadLength','_errorEmitted','_buffers','invalid\x20UTF-8\x20sequence','removeEventListener','_loop','_server','type','WS_ERR_UNEXPECTED_RSV_1','_inflate','join','reset','prototype','createServer','call','bufferedAmount','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','delete'];_0xbc0b=function(){return _0xc4db70;};return _0xbc0b();}(function(_0x450a76,_0x80687d){const _0x9f2e03=_0x272f,_0xcb521b=_0x450a76();while(!![]){try{const _0x3055fa=-parseInt(_0x9f2e03(0x208))/0x1+-parseInt(_0x9f2e03(0x33a))/0x2+parseInt(_0x9f2e03(0x300))/0x3+parseInt(_0x9f2e03(0x1e8))/0x4+-parseInt(_0x9f2e03(0x33e))/0x5+parseInt(_0x9f2e03(0x26e))/0x6+-parseInt(_0x9f2e03(0x1e3))/0x7;if(_0x3055fa===_0x80687d)break;else _0xcb521b['push'](_0xcb521b['shift']());}catch(_0xa1ce68){_0xcb521b['push'](_0xcb521b['shift']());}}}(_0xbc0b,0x600af));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x11caf3(0x262)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x11caf3(0x346)),it=require(_0x11caf3(0x24a)),V=require(_0x11caf3(0x24f)),nt=require(_0x11caf3(0x35a)),vt=require(_0x11caf3(0x21f)),ot=require(_0x11caf3(0x321)),St=require('net'),Et=require('tls'),Le=require(_0x11caf3(0x22b)),oe=require(_0x11caf3(0x1b7)),xt=require(_0x11caf3(0x295)),bt=require(_0x11caf3(0x213)),wt=require(_0x11caf3(0x232)),Ot=require(_0x11caf3(0x1ed)),fe=_0x11caf3(0x229),Ct={'customHeaders':{}};function Tt(_0x2037c7){const _0x168de8=_0x11caf3;return _0x2037c7&&_0x2037c7[_0x168de8(0x275)]&&Object[_0x168de8(0x2d8)][_0x168de8(0x238)][_0x168de8(0x2da)](_0x2037c7,_0x168de8(0x34e))?_0x2037c7['default']:_0x2037c7;}function at(_0x4ccc69){const _0x261170=_0x11caf3;if(Object['prototype'][_0x261170(0x238)][_0x261170(0x2da)](_0x4ccc69,_0x261170(0x275)))return _0x4ccc69;var _0xaf34e1=_0x4ccc69['default'];if(typeof _0xaf34e1==_0x261170(0x2bd)){var _0x2732a5=function _0x151cb9(){const _0x53aeb4=_0x261170;return this instanceof _0x151cb9?Reflect[_0x53aeb4(0x1de)](_0xaf34e1,arguments,this[_0x53aeb4(0x21b)]):_0xaf34e1[_0x53aeb4(0x345)](this,arguments);};_0x2732a5[_0x261170(0x2d8)]=_0xaf34e1[_0x261170(0x2d8)];}else _0x2732a5={};return Object[_0x261170(0x342)](_0x2732a5,_0x261170(0x275),{'value':!0x0}),Object[_0x261170(0x251)](_0x4ccc69)[_0x261170(0x30d)](function(_0x108bcc){const _0x2a8b53=_0x261170;var _0x3692b2=Object[_0x2a8b53(0x20d)](_0x4ccc69,_0x108bcc);Object[_0x2a8b53(0x342)](_0x2732a5,_0x108bcc,_0x3692b2[_0x2a8b53(0x325)]?_0x3692b2:{'enumerable':!0x0,'get':function(){return _0x4ccc69[_0x108bcc];}});}),_0x2732a5;}var se={'exports':{}},ge,Ge;function H(){const _0x16894d=_0x11caf3;if(Ge)return ge;Ge=0x1;const _0x196568=['nodebuffer',_0x16894d(0x2b8),_0x16894d(0x233)],_0x1e7137=typeof Blob<'u';return _0x1e7137&&_0x196568[_0x16894d(0x24d)](_0x16894d(0x283)),ge={'BINARY_TYPES':_0x196568,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x16894d(0x2f6),'hasBlob':_0x1e7137,'kForOnEventAttribute':Symbol(_0x16894d(0x255)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x16894d(0x217)),'kWebSocket':Symbol(_0x16894d(0x1dc)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0xc12822=_0x11caf3;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x1505c9}=H(),_0x2ec5e7=Buffer[Symbol[_0xc12822(0x33d)]];function _0x549727(_0x2a9e6c,_0x186364){const _0xc8c1b2=_0xc12822;if(_0x2a9e6c[_0xc8c1b2(0x273)]===0x0)return _0x1505c9;if(_0x2a9e6c['length']===0x1)return _0x2a9e6c[0x0];const _0x17c58a=Buffer[_0xc8c1b2(0x2f0)](_0x186364);let _0x472d4f=0x0;for(let _0x43f467=0x0;_0x43f467<_0x2a9e6c[_0xc8c1b2(0x273)];_0x43f467++){const _0x2055c8=_0x2a9e6c[_0x43f467];_0x17c58a['set'](_0x2055c8,_0x472d4f),_0x472d4f+=_0x2055c8['length'];}return _0x472d4f<_0x186364?new _0x2ec5e7(_0x17c58a[_0xc8c1b2(0x232)],_0x17c58a[_0xc8c1b2(0x1f5)],_0x472d4f):_0x17c58a;}function _0x33dcc8(_0x2b2701,_0x4d4b0f,_0x3a71b0,_0x4b4f77,_0x3abee9){for(let _0x29e297=0x0;_0x29e297<_0x3abee9;_0x29e297++)_0x3a71b0[_0x4b4f77+_0x29e297]=_0x2b2701[_0x29e297]^_0x4d4b0f[_0x29e297&0x3];}function _0x40ebac(_0x4a2cc4,_0x5c2be){for(let _0x1c5189=0x0;_0x1c5189<_0x4a2cc4['length'];_0x1c5189++)_0x4a2cc4[_0x1c5189]^=_0x5c2be[_0x1c5189&0x3];}function _0x9f407d(_0x5da671){const _0x1dda28=_0xc12822;return _0x5da671[_0x1dda28(0x273)]===_0x5da671[_0x1dda28(0x232)][_0x1dda28(0x228)]?_0x5da671[_0x1dda28(0x232)]:_0x5da671[_0x1dda28(0x232)]['slice'](_0x5da671[_0x1dda28(0x1f5)],_0x5da671[_0x1dda28(0x1f5)]+_0x5da671[_0x1dda28(0x273)]);}function _0x2a38e0(_0x471b13){const _0x4d32bd=_0xc12822;if(_0x2a38e0[_0x4d32bd(0x336)]=!0x0,Buffer[_0x4d32bd(0x359)](_0x471b13))return _0x471b13;let _0x470875;return _0x471b13 instanceof ArrayBuffer?_0x470875=new _0x2ec5e7(_0x471b13):ArrayBuffer[_0x4d32bd(0x1e4)](_0x471b13)?_0x470875=new _0x2ec5e7(_0x471b13[_0x4d32bd(0x232)],_0x471b13[_0x4d32bd(0x1f5)],_0x471b13[_0x4d32bd(0x228)]):(_0x470875=Buffer['from'](_0x471b13),_0x2a38e0[_0x4d32bd(0x336)]=!0x1),_0x470875;}if(se['exports']={'concat':_0x549727,'mask':_0x33dcc8,'toArrayBuffer':_0x9f407d,'toBuffer':_0x2a38e0,'unmask':_0x40ebac},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ddad9=Lt;se[_0xc12822(0x1e6)][_0xc12822(0x2aa)]=function(_0x5e7829,_0x61dc92,_0x2d1f62,_0x2c64d8,_0x1debfb){const _0x5b2ea1=_0xc12822;_0x1debfb<0x30?_0x33dcc8(_0x5e7829,_0x61dc92,_0x2d1f62,_0x2c64d8,_0x1debfb):_0x1ddad9[_0x5b2ea1(0x2aa)](_0x5e7829,_0x61dc92,_0x2d1f62,_0x2c64d8,_0x1debfb);},se[_0xc12822(0x1e6)]['unmask']=function(_0xec35bd,_0x2d3779){const _0x2b7697=_0xc12822;_0xec35bd['length']<0x20?_0x40ebac(_0xec35bd,_0x2d3779):_0x1ddad9[_0x2b7697(0x1df)](_0xec35bd,_0x2d3779);};}catch{}return se[_0xc12822(0x1e6)];}var ye,He;function Pt(){const _0x2bbdfc=_0x11caf3;if(He)return ye;He=0x1;const _0xec292d=Symbol(_0x2bbdfc(0x1ca)),_0x18ab94=Symbol(_0x2bbdfc(0x198));class _0x21c9c4{constructor(_0x4e6dc9){const _0xa7ad1c=_0x2bbdfc;this[_0xec292d]=()=>{const _0x415bf7=_0x272f;this[_0x415bf7(0x27f)]--,this[_0x18ab94]();},this['concurrency']=_0x4e6dc9||0x1/0x0,this[_0xa7ad1c(0x2cb)]=[],this['pending']=0x0;}[_0x2bbdfc(0x28b)](_0x5d9806){const _0xdfddf4=_0x2bbdfc;this[_0xdfddf4(0x2cb)][_0xdfddf4(0x24d)](_0x5d9806),this[_0x18ab94]();}[_0x18ab94](){const _0x33de53=_0x2bbdfc;if(this[_0x33de53(0x27f)]!==this['concurrency']&&this[_0x33de53(0x2cb)]['length']){const _0x4ead2c=this[_0x33de53(0x2cb)][_0x33de53(0x237)]();this[_0x33de53(0x27f)]++,_0x4ead2c(this[_0xec292d]);}}}return ye=_0x21c9c4,ye;}var ve,ze;function he(){const _0x2ec504=_0x11caf3;if(ze)return ve;ze=0x1;const _0x1488d0=bt,_0x576bdd=ce(),_0x5d78e7=Pt(),{kStatusCode:_0x37c0f1}=H(),_0x57bb12=Buffer[Symbol[_0x2ec504(0x33d)]],_0x25a02c=Buffer['from']([0x0,0x0,0xff,0xff]),_0x4942fb=Symbol(_0x2ec504(0x2ae)),_0x52f9b8=Symbol(_0x2ec504(0x2fc)),_0x7329c4=Symbol('callback'),_0x3c4146=Symbol(_0x2ec504(0x349)),_0x6f9bd5=Symbol(_0x2ec504(0x261));let _0x3c7f12;class _0x9d8fa3{constructor(_0x1e48a5,_0xe010bd,_0x2cd277){const _0x2183b5=_0x2ec504;if(this['_maxPayload']=_0x2cd277|0x0,this[_0x2183b5(0x268)]=_0x1e48a5||{},this[_0x2183b5(0x206)]=this[_0x2183b5(0x268)][_0x2183b5(0x341)]!==void 0x0?this['_options'][_0x2183b5(0x341)]:0x400,this['_isServer']=!!_0xe010bd,this[_0x2183b5(0x20b)]=null,this[_0x2183b5(0x2d5)]=null,this[_0x2183b5(0x1b9)]=null,!_0x3c7f12){const _0xb146fd=this['_options'][_0x2183b5(0x203)]!==void 0x0?this[_0x2183b5(0x268)][_0x2183b5(0x203)]:0xa;_0x3c7f12=new _0x5d78e7(_0xb146fd);}}static get[_0x2ec504(0x19f)](){const _0x332bc7=_0x2ec504;return _0x332bc7(0x2ae);}['offer'](){const _0x566876=_0x2ec504,_0x308f20={};return this[_0x566876(0x268)][_0x566876(0x248)]&&(_0x308f20['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x308f20[_0x566876(0x266)]=!0x0),this[_0x566876(0x268)]['serverMaxWindowBits']&&(_0x308f20['server_max_window_bits']=this['_options']['serverMaxWindowBits']),this[_0x566876(0x268)][_0x566876(0x27a)]?_0x308f20[_0x566876(0x20c)]=this[_0x566876(0x268)][_0x566876(0x27a)]:this['_options'][_0x566876(0x27a)]==null&&(_0x308f20['client_max_window_bits']=!0x0),_0x308f20;}['accept'](_0x39e90d){const _0x1bf7ed=_0x2ec504;return _0x39e90d=this['normalizeParams'](_0x39e90d),this['params']=this[_0x1bf7ed(0x1d5)]?this[_0x1bf7ed(0x277)](_0x39e90d):this['acceptAsClient'](_0x39e90d),this['params'];}[_0x2ec504(0x311)](){const _0xfdb06=_0x2ec504;if(this['_inflate']&&(this['_inflate'][_0xfdb06(0x1ce)](),this['_inflate']=null),this[_0xfdb06(0x20b)]){const _0x298dd6=this[_0xfdb06(0x20b)][_0x7329c4];this[_0xfdb06(0x20b)][_0xfdb06(0x1ce)](),this['_deflate']=null,_0x298dd6&&_0x298dd6(new Error(_0xfdb06(0x220)));}}['acceptAsServer'](_0x52ffaf){const _0x245101=_0x2ec504,_0x393dbb=this[_0x245101(0x268)],_0xd679a3=_0x52ffaf[_0x245101(0x223)](_0x130fda=>!(_0x393dbb[_0x245101(0x248)]===!0x1&&_0x130fda[_0x245101(0x2a7)]||_0x130fda[_0x245101(0x29e)]&&(_0x393dbb[_0x245101(0x1f9)]===!0x1||typeof _0x393dbb[_0x245101(0x1f9)]==_0x245101(0x235)&&_0x393dbb[_0x245101(0x1f9)]>_0x130fda[_0x245101(0x29e)])||typeof _0x393dbb[_0x245101(0x27a)]==_0x245101(0x235)&&!_0x130fda[_0x245101(0x20c)]));if(!_0xd679a3)throw new Error(_0x245101(0x29a));return _0x393dbb[_0x245101(0x248)]&&(_0xd679a3[_0x245101(0x2a7)]=!0x0),_0x393dbb[_0x245101(0x20e)]&&(_0xd679a3[_0x245101(0x266)]=!0x0),typeof _0x393dbb[_0x245101(0x1f9)]==_0x245101(0x235)&&(_0xd679a3[_0x245101(0x29e)]=_0x393dbb[_0x245101(0x1f9)]),typeof _0x393dbb[_0x245101(0x27a)]==_0x245101(0x235)?_0xd679a3[_0x245101(0x20c)]=_0x393dbb[_0x245101(0x27a)]:(_0xd679a3[_0x245101(0x20c)]===!0x0||_0x393dbb[_0x245101(0x27a)]===!0x1)&&delete _0xd679a3['client_max_window_bits'],_0xd679a3;}[_0x2ec504(0x2c6)](_0x38aa88){const _0x5e5959=_0x2ec504,_0x3038ae=_0x38aa88[0x0];if(this[_0x5e5959(0x268)][_0x5e5959(0x20e)]===!0x1&&_0x3038ae['client_no_context_takeover'])throw new Error(_0x5e5959(0x1a1));if(!_0x3038ae[_0x5e5959(0x20c)])typeof this['_options'][_0x5e5959(0x27a)]=='number'&&(_0x3038ae[_0x5e5959(0x20c)]=this['_options'][_0x5e5959(0x27a)]);else{if(this[_0x5e5959(0x268)]['clientMaxWindowBits']===!0x1||typeof this[_0x5e5959(0x268)][_0x5e5959(0x27a)]=='number'&&_0x3038ae[_0x5e5959(0x20c)]>this[_0x5e5959(0x268)][_0x5e5959(0x27a)])throw new Error(_0x5e5959(0x2a1));}return _0x3038ae;}[_0x2ec504(0x354)](_0x1b3a71){const _0x6f2e25=_0x2ec504;return _0x1b3a71[_0x6f2e25(0x30d)](_0x3e6a1f=>{const _0x2af9f2=_0x6f2e25;Object[_0x2af9f2(0x251)](_0x3e6a1f)[_0x2af9f2(0x30d)](_0x4b27bc=>{const _0x3ed652=_0x2af9f2;let _0x47b6e3=_0x3e6a1f[_0x4b27bc];if(_0x47b6e3[_0x3ed652(0x273)]>0x1)throw new Error(_0x3ed652(0x32c)+_0x4b27bc+_0x3ed652(0x2f3));if(_0x47b6e3=_0x47b6e3[0x0],_0x4b27bc==='client_max_window_bits'){if(_0x47b6e3!==!0x0){const _0x3c09a8=+_0x47b6e3;if(!Number['isInteger'](_0x3c09a8)||_0x3c09a8<0x8||_0x3c09a8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4b27bc+'\x22:\x20'+_0x47b6e3);_0x47b6e3=_0x3c09a8;}else{if(!this[_0x3ed652(0x1d5)])throw new TypeError(_0x3ed652(0x297)+_0x4b27bc+_0x3ed652(0x29b)+_0x47b6e3);}}else{if(_0x4b27bc===_0x3ed652(0x29e)){const _0x521069=+_0x47b6e3;if(!Number[_0x3ed652(0x195)](_0x521069)||_0x521069<0x8||_0x521069>0xf)throw new TypeError(_0x3ed652(0x297)+_0x4b27bc+_0x3ed652(0x29b)+_0x47b6e3);_0x47b6e3=_0x521069;}else{if(_0x4b27bc===_0x3ed652(0x266)||_0x4b27bc==='server_no_context_takeover'){if(_0x47b6e3!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4b27bc+_0x3ed652(0x29b)+_0x47b6e3);}else throw new Error(_0x3ed652(0x34d)+_0x4b27bc+'\x22');}}_0x3e6a1f[_0x4b27bc]=_0x47b6e3;});}),_0x1b3a71;}[_0x2ec504(0x1d2)](_0x1df0f1,_0x322bbe,_0x13091b){const _0x47be56=_0x2ec504;_0x3c7f12[_0x47be56(0x28b)](_0x3c6020=>{const _0x40f571=_0x47be56;this[_0x40f571(0x1d7)](_0x1df0f1,_0x322bbe,(_0xde0d94,_0x4676ae)=>{_0x3c6020(),_0x13091b(_0xde0d94,_0x4676ae);});});}[_0x2ec504(0x204)](_0x3df03d,_0x3a242a,_0x531af4){const _0x4f856a=_0x2ec504;_0x3c7f12[_0x4f856a(0x28b)](_0xc5004=>{this['_compress'](_0x3df03d,_0x3a242a,(_0x1fc1f8,_0x39cf6f)=>{_0xc5004(),_0x531af4(_0x1fc1f8,_0x39cf6f);});});}[_0x2ec504(0x1d7)](_0x57b570,_0x3a40a8,_0x3ef528){const _0x33e794=_0x2ec504,_0x50deec=this[_0x33e794(0x1d5)]?_0x33e794(0x1d3):_0x33e794(0x31f);if(!this[_0x33e794(0x2d5)]){const _0x446bf9=_0x50deec+'_max_window_bits',_0x48e201=typeof this['params'][_0x446bf9]!=_0x33e794(0x235)?_0x1488d0[_0x33e794(0x2e1)]:this['params'][_0x446bf9];this[_0x33e794(0x2d5)]=_0x1488d0[_0x33e794(0x196)]({...this['_options'][_0x33e794(0x29c)],'windowBits':_0x48e201}),this['_inflate'][_0x4942fb]=this,this['_inflate'][_0x52f9b8]=0x0,this[_0x33e794(0x2d5)][_0x3c4146]=[],this['_inflate']['on'](_0x33e794(0x261),_0x13d7a2),this['_inflate']['on'](_0x33e794(0x249),_0xb8f1cd);}this[_0x33e794(0x2d5)][_0x7329c4]=_0x3ef528,this[_0x33e794(0x2d5)][_0x33e794(0x329)](_0x57b570),_0x3a40a8&&this['_inflate'][_0x33e794(0x329)](_0x25a02c),this[_0x33e794(0x2d5)][_0x33e794(0x1a0)](()=>{const _0x406f8f=_0x33e794,_0x78b252=this[_0x406f8f(0x2d5)][_0x6f9bd5];if(_0x78b252){this[_0x406f8f(0x2d5)][_0x406f8f(0x1ce)](),this[_0x406f8f(0x2d5)]=null,_0x3ef528(_0x78b252);return;}const _0x5627fe=_0x576bdd[_0x406f8f(0x2a9)](this[_0x406f8f(0x2d5)][_0x3c4146],this[_0x406f8f(0x2d5)][_0x52f9b8]);this[_0x406f8f(0x2d5)][_0x406f8f(0x2c0)][_0x406f8f(0x353)]?(this[_0x406f8f(0x2d5)][_0x406f8f(0x1ce)](),this[_0x406f8f(0x2d5)]=null):(this[_0x406f8f(0x2d5)][_0x52f9b8]=0x0,this[_0x406f8f(0x2d5)][_0x3c4146]=[],_0x3a40a8&&this[_0x406f8f(0x1b9)][_0x50deec+_0x406f8f(0x28a)]&&this[_0x406f8f(0x2d5)][_0x406f8f(0x2d7)]()),_0x3ef528(null,_0x5627fe);});}[_0x2ec504(0x20a)](_0x242177,_0x2948e8,_0xb39597){const _0x31b456=_0x2ec504,_0x2a7cfb=this[_0x31b456(0x1d5)]?_0x31b456(0x31f):'client';if(!this[_0x31b456(0x20b)]){const _0x1ca99a=_0x2a7cfb+_0x31b456(0x256),_0x3bd9a7=typeof this['params'][_0x1ca99a]!=_0x31b456(0x235)?_0x1488d0[_0x31b456(0x2e1)]:this[_0x31b456(0x1b9)][_0x1ca99a];this[_0x31b456(0x20b)]=_0x1488d0[_0x31b456(0x1b2)]({...this[_0x31b456(0x268)]['zlibDeflateOptions'],'windowBits':_0x3bd9a7}),this[_0x31b456(0x20b)][_0x52f9b8]=0x0,this[_0x31b456(0x20b)][_0x3c4146]=[],this[_0x31b456(0x20b)]['on'](_0x31b456(0x249),_0x29e44a);}this['_deflate'][_0x7329c4]=_0xb39597,this[_0x31b456(0x20b)][_0x31b456(0x329)](_0x242177),this[_0x31b456(0x20b)][_0x31b456(0x1a0)](_0x1488d0[_0x31b456(0x2c9)],()=>{const _0x525e57=_0x31b456;if(!this['_deflate'])return;let _0x2ff623=_0x576bdd[_0x525e57(0x2a9)](this[_0x525e57(0x20b)][_0x3c4146],this[_0x525e57(0x20b)][_0x52f9b8]);_0x2948e8&&(_0x2ff623=new _0x57bb12(_0x2ff623['buffer'],_0x2ff623[_0x525e57(0x1f5)],_0x2ff623['length']-0x4)),this['_deflate'][_0x7329c4]=null,this['_deflate'][_0x52f9b8]=0x0,this[_0x525e57(0x20b)][_0x3c4146]=[],_0x2948e8&&this[_0x525e57(0x1b9)][_0x2a7cfb+_0x525e57(0x28a)]&&this[_0x525e57(0x20b)]['reset'](),_0xb39597(null,_0x2ff623);});}}ve=_0x9d8fa3;function _0x29e44a(_0x175603){const _0xe32005=_0x2ec504;this[_0x3c4146]['push'](_0x175603),this[_0x52f9b8]+=_0x175603[_0xe32005(0x273)];}function _0xb8f1cd(_0x54c28e){const _0x1feb51=_0x2ec504;if(this[_0x52f9b8]+=_0x54c28e[_0x1feb51(0x273)],this[_0x4942fb][_0x1feb51(0x1f3)]<0x1||this[_0x52f9b8]<=this[_0x4942fb][_0x1feb51(0x1f3)]){this[_0x3c4146][_0x1feb51(0x24d)](_0x54c28e);return;}this[_0x6f9bd5]=new RangeError(_0x1feb51(0x298)),this[_0x6f9bd5][_0x1feb51(0x244)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x6f9bd5][_0x37c0f1]=0x3f1,this[_0x1feb51(0x1a9)]('data',_0xb8f1cd),this['reset']();}function _0x13d7a2(_0x3e59ed){const _0x2731c5=_0x2ec504;this[_0x4942fb][_0x2731c5(0x2d5)]=null,_0x3e59ed[_0x37c0f1]=0x3ef,this[_0x7329c4](_0x3e59ed);}return ve;}function _0x272f(_0x278810,_0x1fc2fb){const _0xbc0b0f=_0xbc0b();return _0x272f=function(_0x272f45,_0x3ec451){_0x272f45=_0x272f45-0x194;let _0x3265e5=_0xbc0b0f[_0x272f45];return _0x3265e5;},_0x272f(_0x278810,_0x1fc2fb);}var ie={'exports':{}};const Dt={},Rt=Object[_0x11caf3(0x2eb)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x11caf3(0x2e6)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x1dc7b1=_0x11caf3;if(Ye)return ie[_0x1dc7b1(0x1e6)];Ye=0x1;const {isUtf8:_0x417d9a}=wt,{hasBlob:_0x151d06}=H(),_0x1cc20c=[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 _0x541f50(_0x5eabdc){return _0x5eabdc>=0x3e8&&_0x5eabdc<=0x3f6&&_0x5eabdc!==0x3ec&&_0x5eabdc!==0x3ed&&_0x5eabdc!==0x3ee||_0x5eabdc>=0xbb8&&_0x5eabdc<=0x1387;}function _0x14dd79(_0x3ac77c){const _0x1806ee=_0x3ac77c['length'];let _0x272ee3=0x0;for(;_0x272ee3<_0x1806ee;)if((_0x3ac77c[_0x272ee3]&0x80)===0x0)_0x272ee3++;else{if((_0x3ac77c[_0x272ee3]&0xe0)===0xc0){if(_0x272ee3+0x1===_0x1806ee||(_0x3ac77c[_0x272ee3+0x1]&0xc0)!==0x80||(_0x3ac77c[_0x272ee3]&0xfe)===0xc0)return!0x1;_0x272ee3+=0x2;}else{if((_0x3ac77c[_0x272ee3]&0xf0)===0xe0){if(_0x272ee3+0x2>=_0x1806ee||(_0x3ac77c[_0x272ee3+0x1]&0xc0)!==0x80||(_0x3ac77c[_0x272ee3+0x2]&0xc0)!==0x80||_0x3ac77c[_0x272ee3]===0xe0&&(_0x3ac77c[_0x272ee3+0x1]&0xe0)===0x80||_0x3ac77c[_0x272ee3]===0xed&&(_0x3ac77c[_0x272ee3+0x1]&0xe0)===0xa0)return!0x1;_0x272ee3+=0x3;}else{if((_0x3ac77c[_0x272ee3]&0xf8)===0xf0){if(_0x272ee3+0x3>=_0x1806ee||(_0x3ac77c[_0x272ee3+0x1]&0xc0)!==0x80||(_0x3ac77c[_0x272ee3+0x2]&0xc0)!==0x80||(_0x3ac77c[_0x272ee3+0x3]&0xc0)!==0x80||_0x3ac77c[_0x272ee3]===0xf0&&(_0x3ac77c[_0x272ee3+0x1]&0xf0)===0x80||_0x3ac77c[_0x272ee3]===0xf4&&_0x3ac77c[_0x272ee3+0x1]>0x8f||_0x3ac77c[_0x272ee3]>0xf4)return!0x1;_0x272ee3+=0x4;}else return!0x1;}}}return!0x0;}function _0x18ee5c(_0x5b2541){const _0x3eaf2c=_0x1dc7b1;return _0x151d06&&typeof _0x5b2541=='object'&&typeof _0x5b2541[_0x3eaf2c(0x23a)]==_0x3eaf2c(0x2bd)&&typeof _0x5b2541[_0x3eaf2c(0x2d3)]=='string'&&typeof _0x5b2541[_0x3eaf2c(0x1b7)]=='function'&&(_0x5b2541[Symbol[_0x3eaf2c(0x2e6)]]===_0x3eaf2c(0x1f7)||_0x5b2541[Symbol['toStringTag']]===_0x3eaf2c(0x287));}if(ie['exports']={'isBlob':_0x18ee5c,'isValidStatusCode':_0x541f50,'isValidUTF8':_0x14dd79,'tokenChars':_0x1cc20c},_0x417d9a)ie[_0x1dc7b1(0x1e6)][_0x1dc7b1(0x320)]=function(_0x1096df){const _0x118238=_0x1dc7b1;return _0x1096df[_0x118238(0x273)]<0x18?_0x14dd79(_0x1096df):_0x417d9a(_0x1096df);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x544a46=Bt;ie[_0x1dc7b1(0x1e6)][_0x1dc7b1(0x320)]=function(_0x1be194){const _0x2678bc=_0x1dc7b1;return _0x1be194[_0x2678bc(0x273)]<0x20?_0x14dd79(_0x1be194):_0x544a46(_0x1be194);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x58e2b2=_0x11caf3;if(Ke)return Se;Ke=0x1;const {Writable:_0x53753a}=oe,_0x3882e7=he(),{BINARY_TYPES:_0x568f1b,EMPTY_BUFFER:_0x1e4229,kStatusCode:_0x21f472,kWebSocket:_0x5a5bbd}=H(),{concat:_0x55394e,toArrayBuffer:_0xdfc4b2,unmask:_0x82c8e3}=ce(),{isValidStatusCode:_0x4a5e37,isValidUTF8:_0x692468}=ae(),_0x1a1e25=Buffer[Symbol[_0x58e2b2(0x33d)]],_0x1817a3=0x0,_0x21dbfa=0x1,_0x131bcc=0x2,_0x3ec564=0x3,_0x51a7a7=0x4,_0x4cefbc=0x5,_0x34caf6=0x6;class _0x437cb9 extends _0x53753a{constructor(_0x4d655d={}){const _0x457845=_0x58e2b2;super(),this[_0x457845(0x222)]=_0x4d655d['allowSynchronousEvents']!==void 0x0?_0x4d655d[_0x457845(0x1a3)]:!0x0,this[_0x457845(0x2e3)]=_0x4d655d[_0x457845(0x21d)]||_0x568f1b[0x0],this[_0x457845(0x22a)]=_0x4d655d['extensions']||{},this[_0x457845(0x1d5)]=!!_0x4d655d[_0x457845(0x1f6)],this[_0x457845(0x1f3)]=_0x4d655d['maxPayload']|0x0,this[_0x457845(0x1af)]=!!_0x4d655d[_0x457845(0x301)],this[_0x5a5bbd]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x457845(0x2a8)]=!0x1,this[_0x457845(0x2cc)]=0x0,this[_0x457845(0x347)]=void 0x0,this[_0x457845(0x25e)]=0x0,this['_masked']=!0x1,this[_0x457845(0x2ba)]=!0x1,this[_0x457845(0x2a3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x457845(0x2e0)]=0x0,this[_0x457845(0x1bc)]=[],this[_0x457845(0x1b4)]=!0x1,this[_0x457845(0x2d1)]=!0x1,this[_0x457845(0x2f7)]=_0x1817a3;}['_write'](_0xf43077,_0xaf00c8,_0x29d94a){const _0x5e5f30=_0x58e2b2;if(this[_0x5e5f30(0x2a3)]===0x8&&this[_0x5e5f30(0x2f7)]==_0x1817a3)return _0x29d94a();this['_bufferedBytes']+=_0xf43077[_0x5e5f30(0x273)],this[_0x5e5f30(0x2ce)]['push'](_0xf43077),this[_0x5e5f30(0x1b3)](_0x29d94a);}[_0x58e2b2(0x2b3)](_0x3c307e){const _0x468fae=_0x58e2b2;if(this['_bufferedBytes']-=_0x3c307e,_0x3c307e===this[_0x468fae(0x2ce)][0x0]['length'])return this[_0x468fae(0x2ce)][_0x468fae(0x237)]();if(_0x3c307e<this[_0x468fae(0x2ce)][0x0][_0x468fae(0x273)]){const _0x5bfb16=this[_0x468fae(0x2ce)][0x0];return this[_0x468fae(0x2ce)][0x0]=new _0x1a1e25(_0x5bfb16[_0x468fae(0x232)],_0x5bfb16['byteOffset']+_0x3c307e,_0x5bfb16[_0x468fae(0x273)]-_0x3c307e),new _0x1a1e25(_0x5bfb16[_0x468fae(0x232)],_0x5bfb16[_0x468fae(0x1f5)],_0x3c307e);}const _0x4b3c6d=Buffer[_0x468fae(0x2f0)](_0x3c307e);do{const _0x1a2b73=this['_buffers'][0x0],_0x46261e=_0x4b3c6d[_0x468fae(0x273)]-_0x3c307e;_0x3c307e>=_0x1a2b73[_0x468fae(0x273)]?_0x4b3c6d[_0x468fae(0x26d)](this[_0x468fae(0x2ce)][_0x468fae(0x237)](),_0x46261e):(_0x4b3c6d[_0x468fae(0x26d)](new Uint8Array(_0x1a2b73['buffer'],_0x1a2b73[_0x468fae(0x1f5)],_0x3c307e),_0x46261e),this['_buffers'][0x0]=new _0x1a1e25(_0x1a2b73[_0x468fae(0x232)],_0x1a2b73[_0x468fae(0x1f5)]+_0x3c307e,_0x1a2b73[_0x468fae(0x273)]-_0x3c307e)),_0x3c307e-=_0x1a2b73['length'];}while(_0x3c307e>0x0);return _0x4b3c6d;}[_0x58e2b2(0x1b3)](_0x51d7de){const _0x20d41d=_0x58e2b2;this[_0x20d41d(0x2d1)]=!0x0;do switch(this[_0x20d41d(0x2f7)]){case _0x1817a3:this[_0x20d41d(0x1ae)](_0x51d7de);break;case _0x21dbfa:this[_0x20d41d(0x34b)](_0x51d7de);break;case _0x131bcc:this[_0x20d41d(0x33b)](_0x51d7de);break;case _0x3ec564:this[_0x20d41d(0x1b5)]();break;case _0x51a7a7:this[_0x20d41d(0x34a)](_0x51d7de);break;case _0x4cefbc:case _0x34caf6:this['_loop']=!0x1;return;}while(this[_0x20d41d(0x2d1)]);this[_0x20d41d(0x1b4)]||_0x51d7de();}[_0x58e2b2(0x1ae)](_0x1d1619){const _0x1c1eb2=_0x58e2b2;if(this[_0x1c1eb2(0x2fb)]<0x2){this[_0x1c1eb2(0x2d1)]=!0x1;return;}const _0x2b40fa=this[_0x1c1eb2(0x2b3)](0x2);if((_0x2b40fa[0x0]&0x30)!==0x0){const _0x2f5729=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x260),!0x0,0x3ea,_0x1c1eb2(0x1b0));_0x1d1619(_0x2f5729);return;}const _0x390c10=(_0x2b40fa[0x0]&0x40)===0x40;if(_0x390c10&&!this[_0x1c1eb2(0x22a)][_0x3882e7['extensionName']]){const _0x59aece=this['createError'](RangeError,_0x1c1eb2(0x24b),!0x0,0x3ea,_0x1c1eb2(0x2d4));_0x1d1619(_0x59aece);return;}if(this[_0x1c1eb2(0x2ba)]=(_0x2b40fa[0x0]&0x80)===0x80,this[_0x1c1eb2(0x2a3)]=_0x2b40fa[0x0]&0xf,this[_0x1c1eb2(0x2cc)]=_0x2b40fa[0x1]&0x7f,this[_0x1c1eb2(0x2a3)]===0x0){if(_0x390c10){const _0x1c3fa9=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1c1eb2(0x2d4));_0x1d1619(_0x1c3fa9);return;}if(!this[_0x1c1eb2(0x25e)]){const _0x5647bb=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x355),!0x0,0x3ea,_0x1c1eb2(0x27b));_0x1d1619(_0x5647bb);return;}this[_0x1c1eb2(0x2a3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x7cd5a8=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x1f8)+this[_0x1c1eb2(0x2a3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1d1619(_0x7cd5a8);return;}this[_0x1c1eb2(0x2a8)]=_0x390c10;}else{if(this[_0x1c1eb2(0x2a3)]>0x7&&this[_0x1c1eb2(0x2a3)]<0xb){if(!this['_fin']){const _0x125573=this[_0x1c1eb2(0x1c6)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1d1619(_0x125573);return;}if(_0x390c10){const _0x2f74ef=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x24b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1d1619(_0x2f74ef);return;}if(this['_payloadLength']>0x7d||this[_0x1c1eb2(0x2a3)]===0x8&&this[_0x1c1eb2(0x2cc)]===0x1){const _0x1279cb=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x269)+this['_payloadLength'],!0x0,0x3ea,_0x1c1eb2(0x1c7));_0x1d1619(_0x1279cb);return;}}else{const _0x21f659=this['createError'](RangeError,_0x1c1eb2(0x1f8)+this['_opcode'],!0x0,0x3ea,_0x1c1eb2(0x27b));_0x1d1619(_0x21f659);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x1c1eb2(0x25e)]=this[_0x1c1eb2(0x2a3)]),this['_masked']=(_0x2b40fa[0x1]&0x80)===0x80,this[_0x1c1eb2(0x1d5)]){if(!this[_0x1c1eb2(0x32d)]){const _0x3e4b01=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x1ef),!0x0,0x3ea,_0x1c1eb2(0x1ac));_0x1d1619(_0x3e4b01);return;}}else{if(this[_0x1c1eb2(0x32d)]){const _0x409a68=this[_0x1c1eb2(0x1c6)](RangeError,_0x1c1eb2(0x1cf),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x1d1619(_0x409a68);return;}}this[_0x1c1eb2(0x2cc)]===0x7e?this[_0x1c1eb2(0x2f7)]=_0x21dbfa:this[_0x1c1eb2(0x2cc)]===0x7f?this[_0x1c1eb2(0x2f7)]=_0x131bcc:this['haveLength'](_0x1d1619);}[_0x58e2b2(0x34b)](_0x11676c){const _0x5932da=_0x58e2b2;if(this[_0x5932da(0x2fb)]<0x2){this[_0x5932da(0x2d1)]=!0x1;return;}this[_0x5932da(0x2cc)]=this['consume'](0x2)[_0x5932da(0x315)](0x0),this[_0x5932da(0x285)](_0x11676c);}[_0x58e2b2(0x33b)](_0x585129){const _0x3733f3=_0x58e2b2;if(this[_0x3733f3(0x2fb)]<0x8){this[_0x3733f3(0x2d1)]=!0x1;return;}const _0x8a8284=this[_0x3733f3(0x2b3)](0x8),_0x33bc51=_0x8a8284['readUInt32BE'](0x0);if(_0x33bc51>Math[_0x3733f3(0x2c3)](0x2,0x15)-0x1){const _0x55273d=this[_0x3733f3(0x1c6)](RangeError,_0x3733f3(0x205),!0x1,0x3f1,_0x3733f3(0x2c1));_0x585129(_0x55273d);return;}this[_0x3733f3(0x2cc)]=_0x33bc51*Math[_0x3733f3(0x2c3)](0x2,0x20)+_0x8a8284[_0x3733f3(0x1e7)](0x4),this[_0x3733f3(0x285)](_0x585129);}[_0x58e2b2(0x285)](_0x240c54){const _0x3d74cf=_0x58e2b2;if(this['_payloadLength']&&this[_0x3d74cf(0x2a3)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x3d74cf(0x1f3)]&&this[_0x3d74cf(0x1f3)]>0x0)){const _0xa05dd2=this[_0x3d74cf(0x1c6)](RangeError,_0x3d74cf(0x298),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x240c54(_0xa05dd2);return;}this[_0x3d74cf(0x32d)]?this[_0x3d74cf(0x2f7)]=_0x3ec564:this[_0x3d74cf(0x2f7)]=_0x51a7a7;}[_0x58e2b2(0x1b5)](){const _0x58992f=_0x58e2b2;if(this[_0x58992f(0x2fb)]<0x4){this[_0x58992f(0x2d1)]=!0x1;return;}this[_0x58992f(0x347)]=this['consume'](0x4),this[_0x58992f(0x2f7)]=_0x51a7a7;}[_0x58e2b2(0x34a)](_0x948ecd){const _0x3c090f=_0x58e2b2;let _0x1b84ec=_0x1e4229;if(this[_0x3c090f(0x2cc)]){if(this[_0x3c090f(0x2fb)]<this[_0x3c090f(0x2cc)]){this['_loop']=!0x1;return;}_0x1b84ec=this[_0x3c090f(0x2b3)](this['_payloadLength']),this[_0x3c090f(0x32d)]&&(this['_mask'][0x0]|this[_0x3c090f(0x347)][0x1]|this['_mask'][0x2]|this[_0x3c090f(0x347)][0x3])!==0x0&&_0x82c8e3(_0x1b84ec,this[_0x3c090f(0x347)]);}if(this[_0x3c090f(0x2a3)]>0x7){this[_0x3c090f(0x197)](_0x1b84ec,_0x948ecd);return;}if(this['_compressed']){this['_state']=_0x4cefbc,this[_0x3c090f(0x1d2)](_0x1b84ec,_0x948ecd);return;}_0x1b84ec[_0x3c090f(0x273)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x3c090f(0x1bc)]['push'](_0x1b84ec)),this['dataMessage'](_0x948ecd);}['decompress'](_0x1bd5f5,_0x26d23e){const _0x41991b=_0x58e2b2;this[_0x41991b(0x22a)][_0x3882e7['extensionName']]['decompress'](_0x1bd5f5,this[_0x41991b(0x2ba)],(_0x43cf7c,_0x2400ef)=>{const _0xd59241=_0x41991b;if(_0x43cf7c)return _0x26d23e(_0x43cf7c);if(_0x2400ef[_0xd59241(0x273)]){if(this['_messageLength']+=_0x2400ef[_0xd59241(0x273)],this['_messageLength']>this[_0xd59241(0x1f3)]&&this[_0xd59241(0x1f3)]>0x0){const _0x40361c=this[_0xd59241(0x1c6)](RangeError,_0xd59241(0x298),!0x1,0x3f1,_0xd59241(0x316));_0x26d23e(_0x40361c);return;}this[_0xd59241(0x1bc)][_0xd59241(0x24d)](_0x2400ef);}this[_0xd59241(0x1e2)](_0x26d23e),this[_0xd59241(0x2f7)]===_0x1817a3&&this[_0xd59241(0x1b3)](_0x26d23e);});}[_0x58e2b2(0x1e2)](_0x54dcb8){const _0xf90134=_0x58e2b2;if(!this['_fin']){this[_0xf90134(0x2f7)]=_0x1817a3;return;}const _0xae0d39=this['_messageLength'],_0x48bf2e=this[_0xf90134(0x1bc)];if(this['_totalPayloadLength']=0x0,this[_0xf90134(0x2e0)]=0x0,this[_0xf90134(0x25e)]=0x0,this[_0xf90134(0x1bc)]=[],this[_0xf90134(0x2a3)]===0x2){let _0x45629a;this[_0xf90134(0x2e3)]===_0xf90134(0x1fd)?_0x45629a=_0x55394e(_0x48bf2e,_0xae0d39):this[_0xf90134(0x2e3)]==='arraybuffer'?_0x45629a=_0xdfc4b2(_0x55394e(_0x48bf2e,_0xae0d39)):this[_0xf90134(0x2e3)]==='blob'?_0x45629a=new Blob(_0x48bf2e):_0x45629a=_0x48bf2e,this[_0xf90134(0x222)]?(this[_0xf90134(0x200)]('message',_0x45629a,!0x0),this['_state']=_0x1817a3):(this[_0xf90134(0x2f7)]=_0x34caf6,setImmediate(()=>{const _0x324e5f=_0xf90134;this[_0x324e5f(0x200)](_0x324e5f(0x242),_0x45629a,!0x0),this[_0x324e5f(0x2f7)]=_0x1817a3,this[_0x324e5f(0x1b3)](_0x54dcb8);}));}else{const _0x4ced9f=_0x55394e(_0x48bf2e,_0xae0d39);if(!this[_0xf90134(0x1af)]&&!_0x692468(_0x4ced9f)){const _0x173550=this[_0xf90134(0x1c6)](Error,_0xf90134(0x2cf),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x54dcb8(_0x173550);return;}this[_0xf90134(0x2f7)]===_0x4cefbc||this[_0xf90134(0x222)]?(this['emit'](_0xf90134(0x242),_0x4ced9f,!0x1),this[_0xf90134(0x2f7)]=_0x1817a3):(this[_0xf90134(0x2f7)]=_0x34caf6,setImmediate(()=>{const _0x760a3c=_0xf90134;this[_0x760a3c(0x200)](_0x760a3c(0x242),_0x4ced9f,!0x1),this[_0x760a3c(0x2f7)]=_0x1817a3,this[_0x760a3c(0x1b3)](_0x54dcb8);}));}}[_0x58e2b2(0x197)](_0x1994f2,_0x346d70){const _0x4eb5cb=_0x58e2b2;if(this['_opcode']===0x8){if(_0x1994f2[_0x4eb5cb(0x273)]===0x0)this[_0x4eb5cb(0x2d1)]=!0x1,this[_0x4eb5cb(0x200)](_0x4eb5cb(0x278),0x3ed,_0x1e4229),this['end']();else{const _0x48a616=_0x1994f2[_0x4eb5cb(0x315)](0x0);if(!_0x4a5e37(_0x48a616)){const _0x3fe86b=this[_0x4eb5cb(0x1c6)](RangeError,'invalid\x20status\x20code\x20'+_0x48a616,!0x0,0x3ea,_0x4eb5cb(0x226));_0x346d70(_0x3fe86b);return;}const _0x25c940=new _0x1a1e25(_0x1994f2[_0x4eb5cb(0x232)],_0x1994f2['byteOffset']+0x2,_0x1994f2[_0x4eb5cb(0x273)]-0x2);if(!this[_0x4eb5cb(0x1af)]&&!_0x692468(_0x25c940)){const _0x5330c5=this[_0x4eb5cb(0x1c6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4eb5cb(0x1b1));_0x346d70(_0x5330c5);return;}this[_0x4eb5cb(0x2d1)]=!0x1,this[_0x4eb5cb(0x200)](_0x4eb5cb(0x278),_0x48a616,_0x25c940),this['end']();}this['_state']=_0x1817a3;return;}this[_0x4eb5cb(0x222)]?(this['emit'](this[_0x4eb5cb(0x2a3)]===0x9?_0x4eb5cb(0x271):_0x4eb5cb(0x2de),_0x1994f2),this[_0x4eb5cb(0x2f7)]=_0x1817a3):(this[_0x4eb5cb(0x2f7)]=_0x34caf6,setImmediate(()=>{const _0x390f3e=_0x4eb5cb;this[_0x390f3e(0x200)](this[_0x390f3e(0x2a3)]===0x9?_0x390f3e(0x271):_0x390f3e(0x2de),_0x1994f2),this[_0x390f3e(0x2f7)]=_0x1817a3,this[_0x390f3e(0x1b3)](_0x346d70);}));}[_0x58e2b2(0x1c6)](_0x1a9533,_0x16bdf4,_0x9a8e0,_0x4e13ee,_0x4d2a23){const _0x2d83dd=_0x58e2b2;this[_0x2d83dd(0x2d1)]=!0x1,this[_0x2d83dd(0x1b4)]=!0x0;const _0x2d7413=new _0x1a9533(_0x9a8e0?_0x2d83dd(0x1eb)+_0x16bdf4:_0x16bdf4);return Error['captureStackTrace'](_0x2d7413,this[_0x2d83dd(0x1c6)]),_0x2d7413[_0x2d83dd(0x244)]=_0x4d2a23,_0x2d7413[_0x21f472]=_0x4e13ee,_0x2d7413;}}return Se=_0x437cb9,Se;}var Ee,Xe;function ft(){const _0x2be31d=_0x11caf3;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5d9a06}=oe,{randomFillSync:_0x5e1cd8}=Le,_0x3d2b84=he(),{EMPTY_BUFFER:_0x75c6c1,kWebSocket:_0x46a6ae,NOOP:_0x106ab4}=H(),{isBlob:_0x322950,isValidStatusCode:_0x1e5309}=ae(),{mask:_0x5c04f,toBuffer:_0x3cc59b}=ce(),_0x2139b2=Symbol(_0x2be31d(0x2ee)),_0xe55e70=Buffer[_0x2be31d(0x21c)](0x4),_0x2cd3e4=0x8*0x400;let _0x3877d0,_0x31acca=_0x2cd3e4;const _0xb9bca5=0x0,_0x527b8d=0x1,_0x180394=0x2;class _0x4ff850{constructor(_0x136110,_0x2e2e8d,_0x15fbe5){const _0x156653=_0x2be31d;this[_0x156653(0x22a)]=_0x2e2e8d||{},_0x15fbe5&&(this['_generateMask']=_0x15fbe5,this[_0x156653(0x21a)]=Buffer[_0x156653(0x21c)](0x4)),this[_0x156653(0x31a)]=_0x136110,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x156653(0x2fb)]=0x0,this[_0x156653(0x1cb)]=[],this['_state']=_0xb9bca5,this[_0x156653(0x332)]=_0x106ab4,this[_0x46a6ae]=void 0x0;}static['frame'](_0x173c2a,_0x4c0ac9){const _0x365543=_0x2be31d;let _0x55064c,_0x1521d8=!0x1,_0x309a26=0x2,_0x1c1727=!0x1;_0x4c0ac9[_0x365543(0x2aa)]&&(_0x55064c=_0x4c0ac9[_0x365543(0x2ec)]||_0xe55e70,_0x4c0ac9['generateMask']?_0x4c0ac9[_0x365543(0x1fa)](_0x55064c):(_0x31acca===_0x2cd3e4&&(_0x3877d0===void 0x0&&(_0x3877d0=Buffer[_0x365543(0x21c)](_0x2cd3e4)),_0x5e1cd8(_0x3877d0,0x0,_0x2cd3e4),_0x31acca=0x0),_0x55064c[0x0]=_0x3877d0[_0x31acca++],_0x55064c[0x1]=_0x3877d0[_0x31acca++],_0x55064c[0x2]=_0x3877d0[_0x31acca++],_0x55064c[0x3]=_0x3877d0[_0x31acca++]),_0x1c1727=(_0x55064c[0x0]|_0x55064c[0x1]|_0x55064c[0x2]|_0x55064c[0x3])===0x0,_0x309a26=0x6);let _0x2a4e56;typeof _0x173c2a==_0x365543(0x252)?(!_0x4c0ac9[_0x365543(0x2aa)]||_0x1c1727)&&_0x4c0ac9[_0x2139b2]!==void 0x0?_0x2a4e56=_0x4c0ac9[_0x2139b2]:(_0x173c2a=Buffer[_0x365543(0x1f2)](_0x173c2a),_0x2a4e56=_0x173c2a[_0x365543(0x273)]):(_0x2a4e56=_0x173c2a['length'],_0x1521d8=_0x4c0ac9['mask']&&_0x4c0ac9[_0x365543(0x336)]&&!_0x1c1727);let _0x17fc4f=_0x2a4e56;_0x2a4e56>=0x10000?(_0x309a26+=0x8,_0x17fc4f=0x7f):_0x2a4e56>0x7d&&(_0x309a26+=0x2,_0x17fc4f=0x7e);const _0x4813de=Buffer[_0x365543(0x2f0)](_0x1521d8?_0x2a4e56+_0x309a26:_0x309a26);return _0x4813de[0x0]=_0x4c0ac9['fin']?_0x4c0ac9[_0x365543(0x318)]|0x80:_0x4c0ac9[_0x365543(0x318)],_0x4c0ac9[_0x365543(0x292)]&&(_0x4813de[0x0]|=0x40),_0x4813de[0x1]=_0x17fc4f,_0x17fc4f===0x7e?_0x4813de[_0x365543(0x2f4)](_0x2a4e56,0x2):_0x17fc4f===0x7f&&(_0x4813de[0x2]=_0x4813de[0x3]=0x0,_0x4813de['writeUIntBE'](_0x2a4e56,0x4,0x6)),_0x4c0ac9['mask']?(_0x4813de[0x1]|=0x80,_0x4813de[_0x309a26-0x4]=_0x55064c[0x0],_0x4813de[_0x309a26-0x3]=_0x55064c[0x1],_0x4813de[_0x309a26-0x2]=_0x55064c[0x2],_0x4813de[_0x309a26-0x1]=_0x55064c[0x3],_0x1c1727?[_0x4813de,_0x173c2a]:_0x1521d8?(_0x5c04f(_0x173c2a,_0x55064c,_0x4813de,_0x309a26,_0x2a4e56),[_0x4813de]):(_0x5c04f(_0x173c2a,_0x55064c,_0x173c2a,0x0,_0x2a4e56),[_0x4813de,_0x173c2a])):[_0x4813de,_0x173c2a];}[_0x2be31d(0x1ce)](_0x2b78b8,_0x47382d,_0x24ce69,_0xd57a03){const _0x4d8e23=_0x2be31d;let _0x1dd0ca;if(_0x2b78b8===void 0x0)_0x1dd0ca=_0x75c6c1;else{if(typeof _0x2b78b8!=_0x4d8e23(0x235)||!_0x1e5309(_0x2b78b8))throw new TypeError(_0x4d8e23(0x360));if(_0x47382d===void 0x0||!_0x47382d[_0x4d8e23(0x273)])_0x1dd0ca=Buffer[_0x4d8e23(0x2f0)](0x2),_0x1dd0ca[_0x4d8e23(0x2f4)](_0x2b78b8,0x0);else{const _0x419452=Buffer[_0x4d8e23(0x228)](_0x47382d);if(_0x419452>0x7b)throw new RangeError(_0x4d8e23(0x313));_0x1dd0ca=Buffer[_0x4d8e23(0x2f0)](0x2+_0x419452),_0x1dd0ca[_0x4d8e23(0x2f4)](_0x2b78b8,0x0),typeof _0x47382d==_0x4d8e23(0x252)?_0x1dd0ca[_0x4d8e23(0x329)](_0x47382d,0x2):_0x1dd0ca[_0x4d8e23(0x26d)](_0x47382d,0x2);}}const _0x36cb6d={[_0x2139b2]:_0x1dd0ca[_0x4d8e23(0x273)],'fin':!0x0,'generateMask':this[_0x4d8e23(0x257)],'mask':_0x24ce69,'maskBuffer':this[_0x4d8e23(0x21a)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4d8e23(0x2f7)]!==_0xb9bca5?this[_0x4d8e23(0x291)]([this[_0x4d8e23(0x1c1)],_0x1dd0ca,!0x1,_0x36cb6d,_0xd57a03]):this[_0x4d8e23(0x35c)](_0x4ff850['frame'](_0x1dd0ca,_0x36cb6d),_0xd57a03);}[_0x2be31d(0x271)](_0x8036b3,_0x5250a4,_0x2721e4){const _0x2ac29d=_0x2be31d;let _0x5f4aaf,_0x4e0af2;if(typeof _0x8036b3==_0x2ac29d(0x252)?(_0x5f4aaf=Buffer['byteLength'](_0x8036b3),_0x4e0af2=!0x1):_0x322950(_0x8036b3)?(_0x5f4aaf=_0x8036b3[_0x2ac29d(0x2ad)],_0x4e0af2=!0x1):(_0x8036b3=_0x3cc59b(_0x8036b3),_0x5f4aaf=_0x8036b3[_0x2ac29d(0x273)],_0x4e0af2=_0x3cc59b[_0x2ac29d(0x336)]),_0x5f4aaf>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x410564={[_0x2139b2]:_0x5f4aaf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5250a4,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4e0af2,'rsv1':!0x1};_0x322950(_0x8036b3)?this['_state']!==_0xb9bca5?this[_0x2ac29d(0x291)]([this[_0x2ac29d(0x2fe)],_0x8036b3,!0x1,_0x410564,_0x2721e4]):this[_0x2ac29d(0x2fe)](_0x8036b3,!0x1,_0x410564,_0x2721e4):this[_0x2ac29d(0x2f7)]!==_0xb9bca5?this[_0x2ac29d(0x291)]([this[_0x2ac29d(0x1c1)],_0x8036b3,!0x1,_0x410564,_0x2721e4]):this[_0x2ac29d(0x35c)](_0x4ff850['frame'](_0x8036b3,_0x410564),_0x2721e4);}[_0x2be31d(0x2de)](_0x435dc9,_0x37e601,_0x54308c){const _0x4b266c=_0x2be31d;let _0x1e70bf,_0x2a7d7e;if(typeof _0x435dc9==_0x4b266c(0x252)?(_0x1e70bf=Buffer[_0x4b266c(0x228)](_0x435dc9),_0x2a7d7e=!0x1):_0x322950(_0x435dc9)?(_0x1e70bf=_0x435dc9['size'],_0x2a7d7e=!0x1):(_0x435dc9=_0x3cc59b(_0x435dc9),_0x1e70bf=_0x435dc9[_0x4b266c(0x273)],_0x2a7d7e=_0x3cc59b[_0x4b266c(0x336)]),_0x1e70bf>0x7d)throw new RangeError(_0x4b266c(0x22d));const _0x2e1d68={[_0x2139b2]:_0x1e70bf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37e601,'maskBuffer':this[_0x4b266c(0x21a)],'opcode':0xa,'readOnly':_0x2a7d7e,'rsv1':!0x1};_0x322950(_0x435dc9)?this['_state']!==_0xb9bca5?this[_0x4b266c(0x291)]([this[_0x4b266c(0x2fe)],_0x435dc9,!0x1,_0x2e1d68,_0x54308c]):this[_0x4b266c(0x2fe)](_0x435dc9,!0x1,_0x2e1d68,_0x54308c):this[_0x4b266c(0x2f7)]!==_0xb9bca5?this[_0x4b266c(0x291)]([this[_0x4b266c(0x1c1)],_0x435dc9,!0x1,_0x2e1d68,_0x54308c]):this[_0x4b266c(0x35c)](_0x4ff850[_0x4b266c(0x2a0)](_0x435dc9,_0x2e1d68),_0x54308c);}[_0x2be31d(0x216)](_0x55c9e2,_0x2b8a45,_0x2e57aa){const _0x3fda2f=_0x2be31d,_0x10a23a=this[_0x3fda2f(0x22a)][_0x3d2b84['extensionName']];let _0x203f86=_0x2b8a45[_0x3fda2f(0x2bb)]?0x2:0x1,_0x3c2708=_0x2b8a45[_0x3fda2f(0x204)],_0x4b49e3,_0x19c91e;typeof _0x55c9e2==_0x3fda2f(0x252)?(_0x4b49e3=Buffer[_0x3fda2f(0x228)](_0x55c9e2),_0x19c91e=!0x1):_0x322950(_0x55c9e2)?(_0x4b49e3=_0x55c9e2[_0x3fda2f(0x2ad)],_0x19c91e=!0x1):(_0x55c9e2=_0x3cc59b(_0x55c9e2),_0x4b49e3=_0x55c9e2[_0x3fda2f(0x273)],_0x19c91e=_0x3cc59b[_0x3fda2f(0x336)]),this['_firstFragment']?(this[_0x3fda2f(0x351)]=!0x1,_0x3c2708&&_0x10a23a&&_0x10a23a[_0x3fda2f(0x1b9)][_0x10a23a[_0x3fda2f(0x1d5)]?'server_no_context_takeover':_0x3fda2f(0x266)]&&(_0x3c2708=_0x4b49e3>=_0x10a23a[_0x3fda2f(0x206)]),this[_0x3fda2f(0x20a)]=_0x3c2708):(_0x3c2708=!0x1,_0x203f86=0x0),_0x2b8a45[_0x3fda2f(0x281)]&&(this[_0x3fda2f(0x351)]=!0x0);const _0x152657={[_0x2139b2]:_0x4b49e3,'fin':_0x2b8a45[_0x3fda2f(0x281)],'generateMask':this[_0x3fda2f(0x257)],'mask':_0x2b8a45[_0x3fda2f(0x2aa)],'maskBuffer':this['_maskBuffer'],'opcode':_0x203f86,'readOnly':_0x19c91e,'rsv1':_0x3c2708};_0x322950(_0x55c9e2)?this[_0x3fda2f(0x2f7)]!==_0xb9bca5?this[_0x3fda2f(0x291)]([this[_0x3fda2f(0x2fe)],_0x55c9e2,this[_0x3fda2f(0x20a)],_0x152657,_0x2e57aa]):this[_0x3fda2f(0x2fe)](_0x55c9e2,this[_0x3fda2f(0x20a)],_0x152657,_0x2e57aa):this[_0x3fda2f(0x2f7)]!==_0xb9bca5?this[_0x3fda2f(0x291)]([this[_0x3fda2f(0x1c1)],_0x55c9e2,this[_0x3fda2f(0x20a)],_0x152657,_0x2e57aa]):this['dispatch'](_0x55c9e2,this['_compress'],_0x152657,_0x2e57aa);}[_0x2be31d(0x2fe)](_0x145980,_0x3cf817,_0x33e7f7,_0x5639fc){const _0xc58d26=_0x2be31d;this[_0xc58d26(0x2fb)]+=_0x33e7f7[_0x2139b2],this['_state']=_0x180394,_0x145980[_0xc58d26(0x23a)]()['then'](_0x33c48b=>{const _0x1a3fc2=_0xc58d26;if(this[_0x1a3fc2(0x31a)][_0x1a3fc2(0x32e)]){const _0x3cf2a9=new Error(_0x1a3fc2(0x1d1));process['nextTick'](_0x41477e,this,_0x3cf2a9,_0x5639fc);return;}this[_0x1a3fc2(0x2fb)]-=_0x33e7f7[_0x2139b2];const _0x576e98=_0x3cc59b(_0x33c48b);_0x3cf817?this['dispatch'](_0x576e98,_0x3cf817,_0x33e7f7,_0x5639fc):(this[_0x1a3fc2(0x2f7)]=_0xb9bca5,this[_0x1a3fc2(0x35c)](_0x4ff850[_0x1a3fc2(0x2a0)](_0x576e98,_0x33e7f7),_0x5639fc),this['dequeue']());})[_0xc58d26(0x306)](_0x4c279b=>{const _0x1a71f=_0xc58d26;process[_0x1a71f(0x26c)](_0x356ebb,this,_0x4c279b,_0x5639fc);});}['dispatch'](_0xfb3d99,_0x5b2bad,_0x5c77d9,_0x4c78ef){const _0x5d94d0=_0x2be31d;if(!_0x5b2bad){this[_0x5d94d0(0x35c)](_0x4ff850['frame'](_0xfb3d99,_0x5c77d9),_0x4c78ef);return;}const _0x8de17d=this[_0x5d94d0(0x22a)][_0x3d2b84[_0x5d94d0(0x19f)]];this[_0x5d94d0(0x2fb)]+=_0x5c77d9[_0x2139b2],this[_0x5d94d0(0x2f7)]=_0x527b8d,_0x8de17d['compress'](_0xfb3d99,_0x5c77d9[_0x5d94d0(0x281)],(_0x14cdeb,_0x541cf3)=>{const _0x561c56=_0x5d94d0;if(this[_0x561c56(0x31a)][_0x561c56(0x32e)]){const _0x14b329=new Error(_0x561c56(0x27c));_0x41477e(this,_0x14b329,_0x4c78ef);return;}this['_bufferedBytes']-=_0x5c77d9[_0x2139b2],this[_0x561c56(0x2f7)]=_0xb9bca5,_0x5c77d9[_0x561c56(0x336)]=!0x1,this['sendFrame'](_0x4ff850[_0x561c56(0x2a0)](_0x541cf3,_0x5c77d9),_0x4c78ef),this[_0x561c56(0x2be)]();});}[_0x2be31d(0x2be)](){const _0x153ba7=_0x2be31d;for(;this[_0x153ba7(0x2f7)]===_0xb9bca5&&this['_queue']['length'];){const _0x575fb0=this[_0x153ba7(0x1cb)][_0x153ba7(0x237)]();this[_0x153ba7(0x2fb)]-=_0x575fb0[0x3][_0x2139b2],Reflect[_0x153ba7(0x345)](_0x575fb0[0x0],this,_0x575fb0['slice'](0x1));}}['enqueue'](_0x355001){const _0x26c417=_0x2be31d;this[_0x26c417(0x2fb)]+=_0x355001[0x3][_0x2139b2],this[_0x26c417(0x1cb)][_0x26c417(0x24d)](_0x355001);}[_0x2be31d(0x35c)](_0x45aa22,_0x29aa1f){const _0x50e0a4=_0x2be31d;_0x45aa22[_0x50e0a4(0x273)]===0x2?(this[_0x50e0a4(0x31a)]['cork'](),this[_0x50e0a4(0x31a)]['write'](_0x45aa22[0x0]),this[_0x50e0a4(0x31a)][_0x50e0a4(0x329)](_0x45aa22[0x1],_0x29aa1f),this['_socket'][_0x50e0a4(0x1a5)]()):this[_0x50e0a4(0x31a)]['write'](_0x45aa22[0x0],_0x29aa1f);}}Ee=_0x4ff850;function _0x41477e(_0x847db3,_0x504bcc,_0x558695){const _0x4c0884=_0x2be31d;typeof _0x558695==_0x4c0884(0x2bd)&&_0x558695(_0x504bcc);for(let _0xc5d93d=0x0;_0xc5d93d<_0x847db3[_0x4c0884(0x1cb)][_0x4c0884(0x273)];_0xc5d93d++){const _0xc00fda=_0x847db3[_0x4c0884(0x1cb)][_0xc5d93d],_0x1419e5=_0xc00fda[_0xc00fda[_0x4c0884(0x273)]-0x1];typeof _0x1419e5=='function'&&_0x1419e5(_0x504bcc);}}function _0x356ebb(_0x222307,_0x79004,_0x20c362){_0x41477e(_0x222307,_0x79004,_0x20c362),_0x222307['onerror'](_0x79004);}return Ee;}var xe,Ze;function It(){const _0x5c7438=_0x11caf3;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3ceb36,kListener:_0x4a42a8}=H(),_0x5cc3f9=Symbol(_0x5c7438(0x28e)),_0x5f369f=Symbol(_0x5c7438(0x323)),_0x118132=Symbol('kError'),_0x2bde6e=Symbol(_0x5c7438(0x340)),_0x413eb1=Symbol(_0x5c7438(0x1be)),_0x4a49ec=Symbol(_0x5c7438(0x241)),_0x51b573=Symbol(_0x5c7438(0x296)),_0x98d57d=Symbol(_0x5c7438(0x2ab));class _0x34cc9a{constructor(_0x5d8311){this[_0x4a49ec]=null,this[_0x51b573]=_0x5d8311;}get[_0x5c7438(0x299)](){return this[_0x4a49ec];}get[_0x5c7438(0x2d3)](){return this[_0x51b573];}}Object[_0x5c7438(0x342)](_0x34cc9a['prototype'],_0x5c7438(0x299),{'enumerable':!0x0}),Object[_0x5c7438(0x342)](_0x34cc9a['prototype'],_0x5c7438(0x2d3),{'enumerable':!0x0});class _0x47392b extends _0x34cc9a{constructor(_0x2c5b4e,_0x121222={}){const _0x7cd79f=_0x5c7438;super(_0x2c5b4e),this[_0x5cc3f9]=_0x121222['code']===void 0x0?0x0:_0x121222[_0x7cd79f(0x244)],this[_0x413eb1]=_0x121222[_0x7cd79f(0x24c)]===void 0x0?'':_0x121222[_0x7cd79f(0x24c)],this[_0x98d57d]=_0x121222['wasClean']===void 0x0?!0x1:_0x121222['wasClean'];}get[_0x5c7438(0x244)](){return this[_0x5cc3f9];}get[_0x5c7438(0x24c)](){return this[_0x413eb1];}get['wasClean'](){return this[_0x98d57d];}}Object['defineProperty'](_0x47392b[_0x5c7438(0x2d8)],_0x5c7438(0x244),{'enumerable':!0x0}),Object['defineProperty'](_0x47392b['prototype'],_0x5c7438(0x24c),{'enumerable':!0x0}),Object[_0x5c7438(0x342)](_0x47392b['prototype'],_0x5c7438(0x259),{'enumerable':!0x0});class _0x2c2457 extends _0x34cc9a{constructor(_0x1e0bb2,_0x4eaa93={}){const _0x563871=_0x5c7438;super(_0x1e0bb2),this[_0x118132]=_0x4eaa93[_0x563871(0x261)]===void 0x0?null:_0x4eaa93['error'],this[_0x2bde6e]=_0x4eaa93['message']===void 0x0?'':_0x4eaa93[_0x563871(0x242)];}get['error'](){return this[_0x118132];}get['message'](){return this[_0x2bde6e];}}Object[_0x5c7438(0x342)](_0x2c2457[_0x5c7438(0x2d8)],_0x5c7438(0x261),{'enumerable':!0x0}),Object[_0x5c7438(0x342)](_0x2c2457['prototype'],_0x5c7438(0x242),{'enumerable':!0x0});class _0x582f09 extends _0x34cc9a{constructor(_0x4e135e,_0x4bbdf8={}){const _0x4c5066=_0x5c7438;super(_0x4e135e),this[_0x5f369f]=_0x4bbdf8[_0x4c5066(0x249)]===void 0x0?null:_0x4bbdf8['data'];}get['data'](){return this[_0x5f369f];}}Object[_0x5c7438(0x342)](_0x582f09['prototype'],_0x5c7438(0x249),{'enumerable':!0x0}),xe={'CloseEvent':_0x47392b,'ErrorEvent':_0x2c2457,'Event':_0x34cc9a,'EventTarget':{'addEventListener'(_0x47c5cd,_0x53bda9,_0xcbf530={}){const _0x34a641=_0x5c7438;for(const _0x503cb of this[_0x34a641(0x209)](_0x47c5cd))if(!_0xcbf530[_0x3ceb36]&&_0x503cb[_0x4a42a8]===_0x53bda9&&!_0x503cb[_0x3ceb36])return;let _0x1a0c78;if(_0x47c5cd===_0x34a641(0x242))_0x1a0c78=function(_0x2c8eee,_0x5ed53a){const _0x5583c9=_0x34a641,_0x66a53d=new _0x582f09('message',{'data':_0x5ed53a?_0x2c8eee:_0x2c8eee[_0x5583c9(0x2b2)]()});_0x66a53d[_0x4a49ec]=this,_0x8ad03f(_0x53bda9,this,_0x66a53d);};else{if(_0x47c5cd===_0x34a641(0x1ce))_0x1a0c78=function(_0x4eb100,_0x176759){const _0x201db8=_0x34a641,_0x3d6e5d=new _0x47392b(_0x201db8(0x1ce),{'code':_0x4eb100,'reason':_0x176759[_0x201db8(0x2b2)](),'wasClean':this[_0x201db8(0x322)]&&this['_closeFrameSent']});_0x3d6e5d[_0x4a49ec]=this,_0x8ad03f(_0x53bda9,this,_0x3d6e5d);};else{if(_0x47c5cd===_0x34a641(0x261))_0x1a0c78=function(_0x2d690c){const _0x16ad0f=_0x34a641,_0x2a4f05=new _0x2c2457(_0x16ad0f(0x261),{'error':_0x2d690c,'message':_0x2d690c[_0x16ad0f(0x242)]});_0x2a4f05[_0x4a49ec]=this,_0x8ad03f(_0x53bda9,this,_0x2a4f05);};else{if(_0x47c5cd==='open')_0x1a0c78=function(){const _0x3f94b8=_0x34a641,_0x54c39d=new _0x34cc9a(_0x3f94b8(0x1fb));_0x54c39d[_0x4a49ec]=this,_0x8ad03f(_0x53bda9,this,_0x54c39d);};else return;}}}_0x1a0c78[_0x3ceb36]=!!_0xcbf530[_0x3ceb36],_0x1a0c78[_0x4a42a8]=_0x53bda9,_0xcbf530['once']?this[_0x34a641(0x1da)](_0x47c5cd,_0x1a0c78):this['on'](_0x47c5cd,_0x1a0c78);},'removeEventListener'(_0x4c5833,_0x55b36a){const _0x2c92dd=_0x5c7438;for(const _0x5d5278 of this[_0x2c92dd(0x209)](_0x4c5833))if(_0x5d5278[_0x4a42a8]===_0x55b36a&&!_0x5d5278[_0x3ceb36]){this['removeListener'](_0x4c5833,_0x5d5278);break;}}},'MessageEvent':_0x582f09};function _0x8ad03f(_0x4623af,_0x39b252,_0x5334e3){const _0x3fc009=_0x5c7438;typeof _0x4623af=='object'&&_0x4623af[_0x3fc009(0x26a)]?_0x4623af[_0x3fc009(0x26a)]['call'](_0x4623af,_0x5334e3):_0x4623af[_0x3fc009(0x2da)](_0x39b252,_0x5334e3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x515a55}=ae();function _0x215171(_0x51bd0d,_0x5e5a0d,_0x4e4c2d){const _0x43aa1e=_0x272f;_0x51bd0d[_0x5e5a0d]===void 0x0?_0x51bd0d[_0x5e5a0d]=[_0x4e4c2d]:_0x51bd0d[_0x5e5a0d][_0x43aa1e(0x24d)](_0x4e4c2d);}function _0x1cacfa(_0x42bace){const _0x12d0c9=_0x272f,_0x52f2ce=Object[_0x12d0c9(0x210)](null);let _0x3c29c7=Object['create'](null),_0x789584=!0x1,_0x959cbd=!0x1,_0x1d9a39=!0x1,_0x17714d,_0x962839,_0x4ced09=-0x1,_0x6515a6=-0x1,_0x5998bd=-0x1,_0x527e79=0x0;for(;_0x527e79<_0x42bace[_0x12d0c9(0x273)];_0x527e79++)if(_0x6515a6=_0x42bace[_0x12d0c9(0x219)](_0x527e79),_0x17714d===void 0x0){if(_0x5998bd===-0x1&&_0x515a55[_0x6515a6]===0x1)_0x4ced09===-0x1&&(_0x4ced09=_0x527e79);else{if(_0x527e79!==0x0&&(_0x6515a6===0x20||_0x6515a6===0x9))_0x5998bd===-0x1&&_0x4ced09!==-0x1&&(_0x5998bd=_0x527e79);else{if(_0x6515a6===0x3b||_0x6515a6===0x2c){if(_0x4ced09===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x527e79);_0x5998bd===-0x1&&(_0x5998bd=_0x527e79);const _0xf1551c=_0x42bace[_0x12d0c9(0x225)](_0x4ced09,_0x5998bd);_0x6515a6===0x2c?(_0x215171(_0x52f2ce,_0xf1551c,_0x3c29c7),_0x3c29c7=Object[_0x12d0c9(0x210)](null)):_0x17714d=_0xf1551c,_0x4ced09=_0x5998bd=-0x1;}else throw new SyntaxError(_0x12d0c9(0x20f)+_0x527e79);}}}else{if(_0x962839===void 0x0){if(_0x5998bd===-0x1&&_0x515a55[_0x6515a6]===0x1)_0x4ced09===-0x1&&(_0x4ced09=_0x527e79);else{if(_0x6515a6===0x20||_0x6515a6===0x9)_0x5998bd===-0x1&&_0x4ced09!==-0x1&&(_0x5998bd=_0x527e79);else{if(_0x6515a6===0x3b||_0x6515a6===0x2c){if(_0x4ced09===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x527e79);_0x5998bd===-0x1&&(_0x5998bd=_0x527e79),_0x215171(_0x3c29c7,_0x42bace[_0x12d0c9(0x225)](_0x4ced09,_0x5998bd),!0x0),_0x6515a6===0x2c&&(_0x215171(_0x52f2ce,_0x17714d,_0x3c29c7),_0x3c29c7=Object[_0x12d0c9(0x210)](null),_0x17714d=void 0x0),_0x4ced09=_0x5998bd=-0x1;}else{if(_0x6515a6===0x3d&&_0x4ced09!==-0x1&&_0x5998bd===-0x1)_0x962839=_0x42bace[_0x12d0c9(0x225)](_0x4ced09,_0x527e79),_0x4ced09=_0x5998bd=-0x1;else throw new SyntaxError(_0x12d0c9(0x20f)+_0x527e79);}}}}else{if(_0x959cbd){if(_0x515a55[_0x6515a6]!==0x1)throw new SyntaxError(_0x12d0c9(0x20f)+_0x527e79);_0x4ced09===-0x1?_0x4ced09=_0x527e79:_0x789584||(_0x789584=!0x0),_0x959cbd=!0x1;}else{if(_0x1d9a39){if(_0x515a55[_0x6515a6]===0x1)_0x4ced09===-0x1&&(_0x4ced09=_0x527e79);else{if(_0x6515a6===0x22&&_0x4ced09!==-0x1)_0x1d9a39=!0x1,_0x5998bd=_0x527e79;else{if(_0x6515a6===0x5c)_0x959cbd=!0x0;else throw new SyntaxError(_0x12d0c9(0x20f)+_0x527e79);}}}else{if(_0x6515a6===0x22&&_0x42bace[_0x12d0c9(0x219)](_0x527e79-0x1)===0x3d)_0x1d9a39=!0x0;else{if(_0x5998bd===-0x1&&_0x515a55[_0x6515a6]===0x1)_0x4ced09===-0x1&&(_0x4ced09=_0x527e79);else{if(_0x4ced09!==-0x1&&(_0x6515a6===0x20||_0x6515a6===0x9))_0x5998bd===-0x1&&(_0x5998bd=_0x527e79);else{if(_0x6515a6===0x3b||_0x6515a6===0x2c){if(_0x4ced09===-0x1)throw new SyntaxError(_0x12d0c9(0x20f)+_0x527e79);_0x5998bd===-0x1&&(_0x5998bd=_0x527e79);let _0x5ecb4b=_0x42bace[_0x12d0c9(0x225)](_0x4ced09,_0x5998bd);_0x789584&&(_0x5ecb4b=_0x5ecb4b[_0x12d0c9(0x338)](/\\/g,''),_0x789584=!0x1),_0x215171(_0x3c29c7,_0x962839,_0x5ecb4b),_0x6515a6===0x2c&&(_0x215171(_0x52f2ce,_0x17714d,_0x3c29c7),_0x3c29c7=Object['create'](null),_0x17714d=void 0x0),_0x962839=void 0x0,_0x4ced09=_0x5998bd=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x527e79);}}}}}}}if(_0x4ced09===-0x1||_0x1d9a39||_0x6515a6===0x20||_0x6515a6===0x9)throw new SyntaxError(_0x12d0c9(0x2e7));_0x5998bd===-0x1&&(_0x5998bd=_0x527e79);const _0x1ada4a=_0x42bace[_0x12d0c9(0x225)](_0x4ced09,_0x5998bd);return _0x17714d===void 0x0?_0x215171(_0x52f2ce,_0x1ada4a,_0x3c29c7):(_0x962839===void 0x0?_0x215171(_0x3c29c7,_0x1ada4a,!0x0):_0x789584?_0x215171(_0x3c29c7,_0x962839,_0x1ada4a[_0x12d0c9(0x338)](/\\/g,'')):_0x215171(_0x3c29c7,_0x962839,_0x1ada4a),_0x215171(_0x52f2ce,_0x17714d,_0x3c29c7)),_0x52f2ce;}function _0x33d678(_0x24f5e3){const _0x3b8f7d=_0x272f;return Object['keys'](_0x24f5e3)[_0x3b8f7d(0x1d6)](_0x5c075e=>{const _0x347871=_0x3b8f7d;let _0x3489ce=_0x24f5e3[_0x5c075e];return Array[_0x347871(0x30f)](_0x3489ce)||(_0x3489ce=[_0x3489ce]),_0x3489ce[_0x347871(0x1d6)](_0x132f8e=>[_0x5c075e][_0x347871(0x2a9)](Object[_0x347871(0x251)](_0x132f8e)[_0x347871(0x1d6)](_0x1dec6a=>{const _0x3290fd=_0x347871;let _0xe2daad=_0x132f8e[_0x1dec6a];return Array['isArray'](_0xe2daad)||(_0xe2daad=[_0xe2daad]),_0xe2daad[_0x3290fd(0x1d6)](_0x2678da=>_0x2678da===!0x0?_0x1dec6a:_0x1dec6a+'='+_0x2678da)[_0x3290fd(0x2d6)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x3b8f7d(0x2d6)](',\x20');}return be={'format':_0x33d678,'parse':_0x1cacfa},be;}var we,Je;function Pe(){const _0x398dbd=_0x11caf3;if(Je)return we;Je=0x1;const _0x7a9300=nt,_0x10ed4e=vt,_0x3b1ab3=ot,_0x338e92=St,_0x5de776=Et,{randomBytes:_0xe70265,createHash:_0x11fc0b}=Le,{Duplex:_0x32082d,Readable:_0x57bbfe}=oe,{URL:_0x284219}=xt,_0x54c076=he(),_0x5d3ce8=lt(),_0x2cdc55=ft(),{isBlob:_0x2c0392}=ae(),{BINARY_TYPES:_0x3f4565,EMPTY_BUFFER:_0x4da5a7,GUID:_0x381692,kForOnEventAttribute:_0x1391dc,kListener:_0x411ac7,kStatusCode:_0xec6a04,kWebSocket:_0x5aa561,NOOP:_0x4ea376}=H(),{EventTarget:{addEventListener:_0x3a5a9,removeEventListener:_0x16a7fa}}=It(),{format:_0x3dc296,parse:_0x1ab465}=ct(),{toBuffer:_0x2dd31a}=ce(),_0x580771=0x1e*0x3e8,_0x11b621=Symbol(_0x398dbd(0x356)),_0x5d8371=[0x8,0xd],_0x53098f=['CONNECTING',_0x398dbd(0x2e2),_0x398dbd(0x274),_0x398dbd(0x1e1)],_0x4cdd79=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5b12f7 extends _0x7a9300{constructor(_0x2a2a08,_0x12c6b0,_0x533416){const _0x16d2a0=_0x398dbd;super(),this[_0x16d2a0(0x2e3)]=_0x3f4565[0x0],this[_0x16d2a0(0x28c)]=0x3ee,this[_0x16d2a0(0x322)]=!0x1,this[_0x16d2a0(0x1aa)]=!0x1,this[_0x16d2a0(0x253)]=_0x4da5a7,this[_0x16d2a0(0x2b4)]=null,this['_errorEmitted']=!0x1,this[_0x16d2a0(0x22a)]={},this[_0x16d2a0(0x31d)]=!0x1,this[_0x16d2a0(0x2f1)]='',this[_0x16d2a0(0x1c4)]=_0x5b12f7[_0x16d2a0(0x339)],this[_0x16d2a0(0x357)]=null,this['_sender']=null,this['_socket']=null,_0x2a2a08!==null?(this['_bufferedAmount']=0x0,this[_0x16d2a0(0x1d5)]=!0x1,this['_redirects']=0x0,_0x12c6b0===void 0x0?_0x12c6b0=[]:Array[_0x16d2a0(0x30f)](_0x12c6b0)||(typeof _0x12c6b0=='object'&&_0x12c6b0!==null?(_0x533416=_0x12c6b0,_0x12c6b0=[]):_0x12c6b0=[_0x12c6b0]),_0x2ab9e4(this,_0x2a2a08,_0x12c6b0,_0x533416)):(this[_0x16d2a0(0x314)]=_0x533416[_0x16d2a0(0x243)],this[_0x16d2a0(0x1d5)]=!0x0);}get[_0x398dbd(0x21d)](){const _0xb9f6fe=_0x398dbd;return this[_0xb9f6fe(0x2e3)];}set[_0x398dbd(0x21d)](_0x4e4108){const _0x5fbe7b=_0x398dbd;_0x3f4565['includes'](_0x4e4108)&&(this[_0x5fbe7b(0x2e3)]=_0x4e4108,this[_0x5fbe7b(0x357)]&&(this[_0x5fbe7b(0x357)][_0x5fbe7b(0x2e3)]=_0x4e4108));}get['bufferedAmount'](){const _0x26ac5d=_0x398dbd;return this['_socket']?this['_socket'][_0x26ac5d(0x2b0)]['length']+this[_0x26ac5d(0x352)][_0x26ac5d(0x2fb)]:this[_0x26ac5d(0x1c9)];}get[_0x398dbd(0x231)](){const _0x6efe12=_0x398dbd;return Object[_0x6efe12(0x251)](this['_extensions'])[_0x6efe12(0x2d6)]();}get['isPaused'](){const _0x46a1e7=_0x398dbd;return this[_0x46a1e7(0x31d)];}get[_0x398dbd(0x34f)](){return null;}get[_0x398dbd(0x332)](){return null;}get['onopen'](){return null;}get[_0x398dbd(0x2bf)](){return null;}get[_0x398dbd(0x1d9)](){const _0x5b93fe=_0x398dbd;return this[_0x5b93fe(0x2f1)];}get[_0x398dbd(0x1cc)](){const _0x3c63f5=_0x398dbd;return this[_0x3c63f5(0x1c4)];}get[_0x398dbd(0x295)](){return this['_url'];}['setSocket'](_0x553426,_0x57622d,_0x16a12b){const _0x11aff5=_0x398dbd,_0x1d3cd3=new _0x5d3ce8({'allowSynchronousEvents':_0x16a12b['allowSynchronousEvents'],'binaryType':this[_0x11aff5(0x21d)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x16a12b[_0x11aff5(0x1c5)],'skipUTF8Validation':_0x16a12b[_0x11aff5(0x301)]}),_0x2711e2=new _0x2cdc55(_0x553426,this[_0x11aff5(0x22a)],_0x16a12b[_0x11aff5(0x1fa)]);this[_0x11aff5(0x357)]=_0x1d3cd3,this[_0x11aff5(0x352)]=_0x2711e2,this[_0x11aff5(0x31a)]=_0x553426,_0x1d3cd3[_0x5aa561]=this,_0x2711e2[_0x5aa561]=this,_0x553426[_0x5aa561]=this,_0x1d3cd3['on']('conclude',_0x4734c0),_0x1d3cd3['on'](_0x11aff5(0x337),_0x3c6930),_0x1d3cd3['on'](_0x11aff5(0x261),_0x4068ea),_0x1d3cd3['on'](_0x11aff5(0x242),_0x449289),_0x1d3cd3['on'](_0x11aff5(0x271),_0x8c474e),_0x1d3cd3['on']('pong',_0x263434),_0x2711e2[_0x11aff5(0x332)]=_0x541a0c,_0x553426[_0x11aff5(0x28d)]&&_0x553426['setTimeout'](0x0),_0x553426[_0x11aff5(0x270)]&&_0x553426['setNoDelay'](),_0x57622d['length']>0x0&&_0x553426['unshift'](_0x57622d),_0x553426['on'](_0x11aff5(0x1ce),_0x2fca3f),_0x553426['on'](_0x11aff5(0x249),_0x1d1c5d),_0x553426['on'](_0x11aff5(0x2a5),_0x1e6407),_0x553426['on'](_0x11aff5(0x261),_0x16b398),this['_readyState']=_0x5b12f7[_0x11aff5(0x2e2)],this[_0x11aff5(0x200)](_0x11aff5(0x1fb));}['emitClose'](){const _0x43ec7b=_0x398dbd;if(!this['_socket']){this['_readyState']=_0x5b12f7['CLOSED'],this[_0x43ec7b(0x200)]('close',this[_0x43ec7b(0x28c)],this[_0x43ec7b(0x253)]);return;}this[_0x43ec7b(0x22a)][_0x54c076[_0x43ec7b(0x19f)]]&&this[_0x43ec7b(0x22a)][_0x54c076['extensionName']][_0x43ec7b(0x311)](),this[_0x43ec7b(0x357)][_0x43ec7b(0x19c)](),this['_readyState']=_0x5b12f7['CLOSED'],this['emit'](_0x43ec7b(0x1ce),this['_closeCode'],this[_0x43ec7b(0x253)]);}['close'](_0x48cda2,_0x3be868){const _0x456df7=_0x398dbd;if(this[_0x456df7(0x1cc)]!==_0x5b12f7[_0x456df7(0x1e1)]){if(this[_0x456df7(0x1cc)]===_0x5b12f7[_0x456df7(0x339)]){_0x37185a(this,this[_0x456df7(0x24e)],_0x456df7(0x35d));return;}if(this[_0x456df7(0x1cc)]===_0x5b12f7[_0x456df7(0x274)]){this[_0x456df7(0x1aa)]&&(this['_closeFrameReceived']||this[_0x456df7(0x357)]['_writableState'][_0x456df7(0x202)])&&this['_socket'][_0x456df7(0x2a5)]();return;}this[_0x456df7(0x1c4)]=_0x5b12f7['CLOSING'],this[_0x456df7(0x352)][_0x456df7(0x1ce)](_0x48cda2,_0x3be868,!this[_0x456df7(0x1d5)],_0x5d533e=>{const _0x5832c9=_0x456df7;_0x5d533e||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x5832c9(0x357)][_0x5832c9(0x2b0)]['errorEmitted'])&&this['_socket'][_0x5832c9(0x2a5)]());}),_0x38cf37(this);}}['pause'](){const _0x5f53d2=_0x398dbd;this[_0x5f53d2(0x1cc)]===_0x5b12f7['CONNECTING']||this['readyState']===_0x5b12f7['CLOSED']||(this[_0x5f53d2(0x31d)]=!0x0,this[_0x5f53d2(0x31a)][_0x5f53d2(0x348)]());}[_0x398dbd(0x271)](_0x5a2849,_0x399b87,_0x5c4030){const _0x44ef6e=_0x398dbd;if(this[_0x44ef6e(0x1cc)]===_0x5b12f7[_0x44ef6e(0x339)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5a2849=='function'?(_0x5c4030=_0x5a2849,_0x5a2849=_0x399b87=void 0x0):typeof _0x399b87==_0x44ef6e(0x2bd)&&(_0x5c4030=_0x399b87,_0x399b87=void 0x0),typeof _0x5a2849==_0x44ef6e(0x235)&&(_0x5a2849=_0x5a2849[_0x44ef6e(0x2b2)]()),this[_0x44ef6e(0x1cc)]!==_0x5b12f7['OPEN']){_0x51ec54(this,_0x5a2849,_0x5c4030);return;}_0x399b87===void 0x0&&(_0x399b87=!this['_isServer']),this[_0x44ef6e(0x352)][_0x44ef6e(0x271)](_0x5a2849||_0x4da5a7,_0x399b87,_0x5c4030);}['pong'](_0x526c97,_0x44cd32,_0x323edf){const _0x58899d=_0x398dbd;if(this[_0x58899d(0x1cc)]===_0x5b12f7[_0x58899d(0x339)])throw new Error(_0x58899d(0x350));if(typeof _0x526c97=='function'?(_0x323edf=_0x526c97,_0x526c97=_0x44cd32=void 0x0):typeof _0x44cd32==_0x58899d(0x2bd)&&(_0x323edf=_0x44cd32,_0x44cd32=void 0x0),typeof _0x526c97==_0x58899d(0x235)&&(_0x526c97=_0x526c97[_0x58899d(0x2b2)]()),this['readyState']!==_0x5b12f7[_0x58899d(0x2e2)]){_0x51ec54(this,_0x526c97,_0x323edf);return;}_0x44cd32===void 0x0&&(_0x44cd32=!this[_0x58899d(0x1d5)]),this[_0x58899d(0x352)]['pong'](_0x526c97||_0x4da5a7,_0x44cd32,_0x323edf);}['resume'](){const _0x120668=_0x398dbd;this[_0x120668(0x1cc)]===_0x5b12f7[_0x120668(0x339)]||this[_0x120668(0x1cc)]===_0x5b12f7['CLOSED']||(this[_0x120668(0x31d)]=!0x1,this['_receiver'][_0x120668(0x2b0)][_0x120668(0x1ee)]||this[_0x120668(0x31a)][_0x120668(0x1ba)]());}[_0x398dbd(0x216)](_0x5f4d7e,_0x32c206,_0x2b1473){const _0x3b2098=_0x398dbd;if(this[_0x3b2098(0x1cc)]===_0x5b12f7[_0x3b2098(0x339)])throw new Error(_0x3b2098(0x350));if(typeof _0x32c206==_0x3b2098(0x2bd)&&(_0x2b1473=_0x32c206,_0x32c206={}),typeof _0x5f4d7e=='number'&&(_0x5f4d7e=_0x5f4d7e[_0x3b2098(0x2b2)]()),this[_0x3b2098(0x1cc)]!==_0x5b12f7['OPEN']){_0x51ec54(this,_0x5f4d7e,_0x2b1473);return;}const _0x11e3d0={'binary':typeof _0x5f4d7e!=_0x3b2098(0x252),'mask':!this[_0x3b2098(0x1d5)],'compress':!0x0,'fin':!0x0,..._0x32c206};this[_0x3b2098(0x22a)][_0x54c076['extensionName']]||(_0x11e3d0[_0x3b2098(0x204)]=!0x1),this[_0x3b2098(0x352)][_0x3b2098(0x216)](_0x5f4d7e||_0x4da5a7,_0x11e3d0,_0x2b1473);}[_0x398dbd(0x335)](){const _0x3266db=_0x398dbd;if(this['readyState']!==_0x5b12f7[_0x3266db(0x1e1)]){if(this[_0x3266db(0x1cc)]===_0x5b12f7[_0x3266db(0x339)]){_0x37185a(this,this[_0x3266db(0x24e)],_0x3266db(0x35d));return;}this[_0x3266db(0x31a)]&&(this[_0x3266db(0x1c4)]=_0x5b12f7['CLOSING'],this[_0x3266db(0x31a)][_0x3266db(0x2c2)]());}}}Object[_0x398dbd(0x342)](_0x5b12f7,_0x398dbd(0x339),{'enumerable':!0x0,'value':_0x53098f[_0x398dbd(0x1a6)](_0x398dbd(0x339))}),Object['defineProperty'](_0x5b12f7[_0x398dbd(0x2d8)],_0x398dbd(0x339),{'enumerable':!0x0,'value':_0x53098f['indexOf']('CONNECTING')}),Object[_0x398dbd(0x342)](_0x5b12f7,_0x398dbd(0x2e2),{'enumerable':!0x0,'value':_0x53098f[_0x398dbd(0x1a6)](_0x398dbd(0x2e2))}),Object[_0x398dbd(0x342)](_0x5b12f7[_0x398dbd(0x2d8)],_0x398dbd(0x2e2),{'enumerable':!0x0,'value':_0x53098f[_0x398dbd(0x1a6)]('OPEN')}),Object['defineProperty'](_0x5b12f7,_0x398dbd(0x274),{'enumerable':!0x0,'value':_0x53098f[_0x398dbd(0x1a6)]('CLOSING')}),Object[_0x398dbd(0x342)](_0x5b12f7['prototype'],_0x398dbd(0x274),{'enumerable':!0x0,'value':_0x53098f[_0x398dbd(0x1a6)](_0x398dbd(0x274))}),Object[_0x398dbd(0x342)](_0x5b12f7,'CLOSED',{'enumerable':!0x0,'value':_0x53098f['indexOf']('CLOSED')}),Object[_0x398dbd(0x342)](_0x5b12f7[_0x398dbd(0x2d8)],_0x398dbd(0x1e1),{'enumerable':!0x0,'value':_0x53098f['indexOf'](_0x398dbd(0x1e1))}),[_0x398dbd(0x21d),_0x398dbd(0x2db),_0x398dbd(0x231),_0x398dbd(0x317),_0x398dbd(0x1d9),'readyState',_0x398dbd(0x295)]['forEach'](_0x6bbee8=>{const _0x5292a0=_0x398dbd;Object[_0x5292a0(0x342)](_0x5b12f7[_0x5292a0(0x2d8)],_0x6bbee8,{'enumerable':!0x0});}),[_0x398dbd(0x1fb),_0x398dbd(0x261),'close',_0x398dbd(0x242)][_0x398dbd(0x30d)](_0x2180be=>{const _0x50a0e2=_0x398dbd;Object[_0x50a0e2(0x342)](_0x5b12f7[_0x50a0e2(0x2d8)],'on'+_0x2180be,{'enumerable':!0x0,'get'(){const _0x1113b5=_0x50a0e2;for(const _0xaa9c3a of this[_0x1113b5(0x209)](_0x2180be))if(_0xaa9c3a[_0x1391dc])return _0xaa9c3a[_0x411ac7];return null;},'set'(_0x246007){const _0x2eb06a=_0x50a0e2;for(const _0x12f331 of this[_0x2eb06a(0x209)](_0x2180be))if(_0x12f331[_0x1391dc]){this['removeListener'](_0x2180be,_0x12f331);break;}typeof _0x246007==_0x2eb06a(0x2bd)&&this[_0x2eb06a(0x280)](_0x2180be,_0x246007,{[_0x1391dc]:!0x0});}});}),_0x5b12f7['prototype'][_0x398dbd(0x280)]=_0x3a5a9,_0x5b12f7[_0x398dbd(0x2d8)][_0x398dbd(0x2d0)]=_0x16a7fa,we=_0x5b12f7;function _0x2ab9e4(_0x5541aa,_0x2e1abe,_0x48518e,_0x48d141){const _0x2ac9f6=_0x398dbd,_0x516a50={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5d8371[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x48d141,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5541aa[_0x2ac9f6(0x314)]=_0x516a50['autoPong'],!_0x5d8371[_0x2ac9f6(0x319)](_0x516a50[_0x2ac9f6(0x1ad)]))throw new RangeError(_0x2ac9f6(0x207)+_0x516a50['protocolVersion']+_0x2ac9f6(0x246)+_0x5d8371['join'](',\x20')+')');let _0x3a820c;if(_0x2e1abe instanceof _0x284219)_0x3a820c=_0x2e1abe;else try{_0x3a820c=new _0x284219(_0x2e1abe);}catch{throw new SyntaxError(_0x2ac9f6(0x2ff)+_0x2e1abe);}_0x3a820c['protocol']===_0x2ac9f6(0x1a4)?_0x3a820c[_0x2ac9f6(0x1d9)]='ws:':_0x3a820c['protocol']===_0x2ac9f6(0x2ea)&&(_0x3a820c['protocol']=_0x2ac9f6(0x2fa)),_0x5541aa[_0x2ac9f6(0x23b)]=_0x3a820c[_0x2ac9f6(0x33f)];const _0x3fcf77=_0x3a820c[_0x2ac9f6(0x1d9)]===_0x2ac9f6(0x2fa),_0x2775cb=_0x3a820c[_0x2ac9f6(0x1d9)]===_0x2ac9f6(0x2f9);let _0x3afc5a;if(_0x3a820c[_0x2ac9f6(0x1d9)]!==_0x2ac9f6(0x1d8)&&!_0x3fcf77&&!_0x2775cb?_0x3afc5a=_0x2ac9f6(0x1d0):_0x2775cb&&!_0x3a820c[_0x2ac9f6(0x19d)]?_0x3afc5a=_0x2ac9f6(0x29d):_0x3a820c['hash']&&(_0x3afc5a=_0x2ac9f6(0x1e5)),_0x3afc5a){const _0x38dc5a=new SyntaxError(_0x3afc5a);if(_0x5541aa[_0x2ac9f6(0x267)]===0x0)throw _0x38dc5a;_0xc39be5(_0x5541aa,_0x38dc5a);return;}const _0x193a7d=_0x3fcf77?0x1bb:0x50,_0x393ea6=_0xe70265(0x10)[_0x2ac9f6(0x2b2)](_0x2ac9f6(0x2b9)),_0x536638=_0x3fcf77?_0x10ed4e[_0x2ac9f6(0x19b)]:_0x3b1ab3[_0x2ac9f6(0x19b)],_0x521e14=new Set();let _0x2c6afb;if(_0x516a50[_0x2ac9f6(0x32a)]=_0x516a50[_0x2ac9f6(0x32a)]||(_0x3fcf77?_0x1cb064:_0x2207a4),_0x516a50[_0x2ac9f6(0x21e)]=_0x516a50['defaultPort']||_0x193a7d,_0x516a50[_0x2ac9f6(0x282)]=_0x3a820c[_0x2ac9f6(0x282)]||_0x193a7d,_0x516a50['host']=_0x3a820c[_0x2ac9f6(0x199)][_0x2ac9f6(0x2b6)]('[')?_0x3a820c[_0x2ac9f6(0x199)]['slice'](0x1,-0x1):_0x3a820c[_0x2ac9f6(0x199)],_0x516a50['headers']={..._0x516a50[_0x2ac9f6(0x25f)],'Sec-WebSocket-Version':_0x516a50[_0x2ac9f6(0x1ad)],'Sec-WebSocket-Key':_0x393ea6,'Connection':'Upgrade','Upgrade':'websocket'},_0x516a50['path']=_0x3a820c[_0x2ac9f6(0x19d)]+_0x3a820c[_0x2ac9f6(0x1c3)],_0x516a50[_0x2ac9f6(0x293)]=_0x516a50['handshakeTimeout'],_0x516a50[_0x2ac9f6(0x30c)]&&(_0x2c6afb=new _0x54c076(_0x516a50['perMessageDeflate']!==!0x0?_0x516a50[_0x2ac9f6(0x30c)]:{},!0x1,_0x516a50[_0x2ac9f6(0x1c5)]),_0x516a50[_0x2ac9f6(0x25f)][_0x2ac9f6(0x31c)]=_0x3dc296({[_0x54c076[_0x2ac9f6(0x19f)]]:_0x2c6afb[_0x2ac9f6(0x1e0)]()})),_0x48518e[_0x2ac9f6(0x273)]){for(const _0x416bfa of _0x48518e){if(typeof _0x416bfa!=_0x2ac9f6(0x252)||!_0x4cdd79['test'](_0x416bfa)||_0x521e14[_0x2ac9f6(0x312)](_0x416bfa))throw new SyntaxError(_0x2ac9f6(0x25c));_0x521e14['add'](_0x416bfa);}_0x516a50['headers'][_0x2ac9f6(0x1d4)]=_0x48518e[_0x2ac9f6(0x2d6)](',');}if(_0x516a50[_0x2ac9f6(0x227)]&&(_0x516a50[_0x2ac9f6(0x1ad)]<0xd?_0x516a50[_0x2ac9f6(0x25f)][_0x2ac9f6(0x22f)]=_0x516a50[_0x2ac9f6(0x227)]:_0x516a50[_0x2ac9f6(0x25f)][_0x2ac9f6(0x23c)]=_0x516a50[_0x2ac9f6(0x227)]),(_0x3a820c[_0x2ac9f6(0x218)]||_0x3a820c[_0x2ac9f6(0x25d)])&&(_0x516a50[_0x2ac9f6(0x26b)]=_0x3a820c[_0x2ac9f6(0x218)]+':'+_0x3a820c['password']),_0x2775cb){const _0x51272a=_0x516a50[_0x2ac9f6(0x294)]['split'](':');_0x516a50[_0x2ac9f6(0x1a8)]=_0x51272a[0x0],_0x516a50['path']=_0x51272a[0x1];}let _0x21ca22;if(_0x516a50[_0x2ac9f6(0x23d)]){if(_0x5541aa['_redirects']===0x0){_0x5541aa['_originalIpc']=_0x2775cb,_0x5541aa[_0x2ac9f6(0x34c)]=_0x3fcf77,_0x5541aa['_originalHostOrSocketPath']=_0x2775cb?_0x516a50['socketPath']:_0x3a820c[_0x2ac9f6(0x2f5)];const _0x1834fe=_0x48d141&&_0x48d141['headers'];if(_0x48d141={..._0x48d141,'headers':{}},_0x1834fe){for(const [_0x277bc9,_0x16f31f]of Object[_0x2ac9f6(0x334)](_0x1834fe))_0x48d141['headers'][_0x277bc9['toLowerCase']()]=_0x16f31f;}}else{if(_0x5541aa[_0x2ac9f6(0x1db)](_0x2ac9f6(0x1ec))===0x0){const _0x17d27b=_0x2775cb?_0x5541aa[_0x2ac9f6(0x254)]?_0x516a50['socketPath']===_0x5541aa[_0x2ac9f6(0x2bc)]:!0x1:_0x5541aa['_originalIpc']?!0x1:_0x3a820c[_0x2ac9f6(0x2f5)]===_0x5541aa[_0x2ac9f6(0x2bc)];(!_0x17d27b||_0x5541aa['_originalSecure']&&!_0x3fcf77)&&(delete _0x516a50[_0x2ac9f6(0x25f)][_0x2ac9f6(0x1cd)],delete _0x516a50[_0x2ac9f6(0x25f)]['cookie'],_0x17d27b||delete _0x516a50['headers'][_0x2ac9f6(0x2f5)],_0x516a50[_0x2ac9f6(0x26b)]=void 0x0);}}_0x516a50[_0x2ac9f6(0x26b)]&&!_0x48d141['headers'][_0x2ac9f6(0x1cd)]&&(_0x48d141['headers'][_0x2ac9f6(0x1cd)]=_0x2ac9f6(0x221)+Buffer[_0x2ac9f6(0x1f2)](_0x516a50[_0x2ac9f6(0x26b)])[_0x2ac9f6(0x2b2)](_0x2ac9f6(0x2b9))),_0x21ca22=_0x5541aa['_req']=_0x536638(_0x516a50),_0x5541aa[_0x2ac9f6(0x267)]&&_0x5541aa[_0x2ac9f6(0x200)]('redirect',_0x5541aa[_0x2ac9f6(0x295)],_0x21ca22);}else _0x21ca22=_0x5541aa[_0x2ac9f6(0x24e)]=_0x536638(_0x516a50);_0x516a50[_0x2ac9f6(0x293)]&&_0x21ca22['on'](_0x2ac9f6(0x293),()=>{_0x37185a(_0x5541aa,_0x21ca22,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x21ca22['on']('error',_0x448534=>{const _0x39eb3e=_0x2ac9f6;_0x21ca22===null||_0x21ca22[_0x11b621]||(_0x21ca22=_0x5541aa[_0x39eb3e(0x24e)]=null,_0xc39be5(_0x5541aa,_0x448534));}),_0x21ca22['on'](_0x2ac9f6(0x326),_0x2941a6=>{const _0x3ec452=_0x2ac9f6,_0x30a1c5=_0x2941a6['headers']['location'],_0x275093=_0x2941a6[_0x3ec452(0x286)];if(_0x30a1c5&&_0x516a50['followRedirects']&&_0x275093>=0x12c&&_0x275093<0x190){if(++_0x5541aa['_redirects']>_0x516a50[_0x3ec452(0x308)]){_0x37185a(_0x5541aa,_0x21ca22,_0x3ec452(0x27d));return;}_0x21ca22[_0x3ec452(0x32f)]();let _0x49d937;try{_0x49d937=new _0x284219(_0x30a1c5,_0x2e1abe);}catch{const _0x42df59=new SyntaxError('Invalid\x20URL:\x20'+_0x30a1c5);_0xc39be5(_0x5541aa,_0x42df59);return;}_0x2ab9e4(_0x5541aa,_0x49d937,_0x48518e,_0x48d141);}else _0x5541aa['emit']('unexpected-response',_0x21ca22,_0x2941a6)||_0x37185a(_0x5541aa,_0x21ca22,_0x3ec452(0x28f)+_0x2941a6[_0x3ec452(0x286)]);}),_0x21ca22['on']('upgrade',(_0x2bc658,_0x2261ca,_0x426ae9)=>{const _0x300538=_0x2ac9f6;if(_0x5541aa[_0x300538(0x200)](_0x300538(0x279),_0x2bc658),_0x5541aa[_0x300538(0x1cc)]!==_0x5b12f7[_0x300538(0x339)])return;_0x21ca22=_0x5541aa[_0x300538(0x24e)]=null;const _0x5731d1=_0x2bc658[_0x300538(0x25f)][_0x300538(0x279)];if(_0x5731d1===void 0x0||_0x5731d1[_0x300538(0x310)]()!==_0x300538(0x1dc)){_0x37185a(_0x5541aa,_0x2261ca,'Invalid\x20Upgrade\x20header');return;}const _0x2ca483=_0x11fc0b(_0x300538(0x1ff))[_0x300538(0x1b8)](_0x393ea6+_0x381692)['digest'](_0x300538(0x2b9));if(_0x2bc658[_0x300538(0x25f)]['sec-websocket-accept']!==_0x2ca483){_0x37185a(_0x5541aa,_0x2261ca,_0x300538(0x333));return;}const _0x2ee6ed=_0x2bc658['headers'][_0x300538(0x19e)];let _0x1ddb14;if(_0x2ee6ed!==void 0x0?_0x521e14[_0x300538(0x2ad)]?_0x521e14[_0x300538(0x312)](_0x2ee6ed)||(_0x1ddb14='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ddb14='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x521e14[_0x300538(0x2ad)]&&(_0x1ddb14='Server\x20sent\x20no\x20subprotocol'),_0x1ddb14){_0x37185a(_0x5541aa,_0x2261ca,_0x1ddb14);return;}_0x2ee6ed&&(_0x5541aa[_0x300538(0x2f1)]=_0x2ee6ed);const _0x4079c9=_0x2bc658[_0x300538(0x25f)]['sec-websocket-extensions'];if(_0x4079c9!==void 0x0){if(!_0x2c6afb){_0x37185a(_0x5541aa,_0x2261ca,_0x300538(0x1fe));return;}let _0x445468;try{_0x445468=_0x1ab465(_0x4079c9);}catch{_0x37185a(_0x5541aa,_0x2261ca,_0x300538(0x30a));return;}const _0x26b2b0=Object[_0x300538(0x251)](_0x445468);if(_0x26b2b0[_0x300538(0x273)]!==0x1||_0x26b2b0[0x0]!==_0x54c076[_0x300538(0x19f)]){_0x37185a(_0x5541aa,_0x2261ca,_0x300538(0x307));return;}try{_0x2c6afb[_0x300538(0x1bb)](_0x445468[_0x54c076['extensionName']]);}catch{_0x37185a(_0x5541aa,_0x2261ca,_0x300538(0x30a));return;}_0x5541aa[_0x300538(0x22a)][_0x54c076[_0x300538(0x19f)]]=_0x2c6afb;}_0x5541aa[_0x300538(0x27e)](_0x2261ca,_0x426ae9,{'allowSynchronousEvents':_0x516a50[_0x300538(0x1a3)],'generateMask':_0x516a50[_0x300538(0x1fa)],'maxPayload':_0x516a50[_0x300538(0x1c5)],'skipUTF8Validation':_0x516a50['skipUTF8Validation']});}),_0x516a50[_0x2ac9f6(0x272)]?_0x516a50[_0x2ac9f6(0x272)](_0x21ca22,_0x5541aa):_0x21ca22[_0x2ac9f6(0x2a5)]();}function _0xc39be5(_0x58a255,_0x5752e9){const _0x54d79f=_0x398dbd;_0x58a255[_0x54d79f(0x1c4)]=_0x5b12f7[_0x54d79f(0x274)],_0x58a255['_errorEmitted']=!0x0,_0x58a255['emit'](_0x54d79f(0x261),_0x5752e9),_0x58a255['emitClose']();}function _0x2207a4(_0x505995){const _0x39caa=_0x398dbd;return _0x505995['path']=_0x505995[_0x39caa(0x1a8)],_0x338e92[_0x39caa(0x288)](_0x505995);}function _0x1cb064(_0x43dc8d){const _0x279396=_0x398dbd;return _0x43dc8d[_0x279396(0x294)]=void 0x0,!_0x43dc8d[_0x279396(0x1ea)]&&_0x43dc8d['servername']!==''&&(_0x43dc8d[_0x279396(0x1ea)]=_0x338e92[_0x279396(0x330)](_0x43dc8d[_0x279396(0x2f5)])?'':_0x43dc8d[_0x279396(0x2f5)]),_0x5de776[_0x279396(0x288)](_0x43dc8d);}function _0x37185a(_0x5c5c95,_0x2683dd,_0x11b85b){const _0x3cb5ce=_0x398dbd;_0x5c5c95[_0x3cb5ce(0x1c4)]=_0x5b12f7[_0x3cb5ce(0x274)];const _0x67e070=new Error(_0x11b85b);Error[_0x3cb5ce(0x2a6)](_0x67e070,_0x37185a),_0x2683dd[_0x3cb5ce(0x2b5)]?(_0x2683dd[_0x11b621]=!0x0,_0x2683dd[_0x3cb5ce(0x32f)](),_0x2683dd[_0x3cb5ce(0x302)]&&!_0x2683dd[_0x3cb5ce(0x302)][_0x3cb5ce(0x32e)]&&_0x2683dd[_0x3cb5ce(0x302)][_0x3cb5ce(0x2c2)](),process['nextTick'](_0xc39be5,_0x5c5c95,_0x67e070)):(_0x2683dd[_0x3cb5ce(0x2c2)](_0x67e070),_0x2683dd['once'](_0x3cb5ce(0x261),_0x5c5c95[_0x3cb5ce(0x200)][_0x3cb5ce(0x239)](_0x5c5c95,'error')),_0x2683dd[_0x3cb5ce(0x1da)]('close',_0x5c5c95['emitClose'][_0x3cb5ce(0x239)](_0x5c5c95)));}function _0x51ec54(_0x2f71e2,_0x1eb959,_0x4c6a54){const _0x9fc7a=_0x398dbd;if(_0x1eb959){const _0x203213=_0x2c0392(_0x1eb959)?_0x1eb959[_0x9fc7a(0x2ad)]:_0x2dd31a(_0x1eb959)[_0x9fc7a(0x273)];_0x2f71e2[_0x9fc7a(0x31a)]?_0x2f71e2[_0x9fc7a(0x352)][_0x9fc7a(0x2fb)]+=_0x203213:_0x2f71e2[_0x9fc7a(0x1c9)]+=_0x203213;}if(_0x4c6a54){const _0x406e7c=new Error(_0x9fc7a(0x304)+_0x2f71e2[_0x9fc7a(0x1cc)]+'\x20('+_0x53098f[_0x2f71e2['readyState']]+')');process[_0x9fc7a(0x26c)](_0x4c6a54,_0x406e7c);}}function _0x4734c0(_0x226600,_0x4fdef2){const _0x32678d=_0x398dbd,_0x34c9e7=this[_0x5aa561];_0x34c9e7[_0x32678d(0x322)]=!0x0,_0x34c9e7[_0x32678d(0x253)]=_0x4fdef2,_0x34c9e7[_0x32678d(0x28c)]=_0x226600,_0x34c9e7[_0x32678d(0x31a)][_0x5aa561]!==void 0x0&&(_0x34c9e7[_0x32678d(0x31a)][_0x32678d(0x1a9)]('data',_0x1d1c5d),process[_0x32678d(0x26c)](_0xfeeee4,_0x34c9e7[_0x32678d(0x31a)]),_0x226600===0x3ed?_0x34c9e7['close']():_0x34c9e7[_0x32678d(0x1ce)](_0x226600,_0x4fdef2));}function _0x3c6930(){const _0x218a71=_0x398dbd,_0x52e719=this[_0x5aa561];_0x52e719[_0x218a71(0x317)]||_0x52e719[_0x218a71(0x31a)][_0x218a71(0x1ba)]();}function _0x4068ea(_0x4a2cdb){const _0x2bf73a=_0x398dbd,_0x328613=this[_0x5aa561];_0x328613['_socket'][_0x5aa561]!==void 0x0&&(_0x328613[_0x2bf73a(0x31a)][_0x2bf73a(0x1a9)](_0x2bf73a(0x249),_0x1d1c5d),process[_0x2bf73a(0x26c)](_0xfeeee4,_0x328613[_0x2bf73a(0x31a)]),_0x328613[_0x2bf73a(0x1ce)](_0x4a2cdb[_0xec6a04])),_0x328613['_errorEmitted']||(_0x328613['_errorEmitted']=!0x0,_0x328613[_0x2bf73a(0x200)]('error',_0x4a2cdb));}function _0x6e0628(){const _0xb64bfc=_0x398dbd;this[_0x5aa561][_0xb64bfc(0x33c)]();}function _0x449289(_0x73cd2,_0x139536){const _0x57f754=_0x398dbd;this[_0x5aa561][_0x57f754(0x200)](_0x57f754(0x242),_0x73cd2,_0x139536);}function _0x8c474e(_0x199eb2){const _0x50cd7a=_0x398dbd,_0x3186d0=this[_0x5aa561];_0x3186d0['_autoPong']&&_0x3186d0['pong'](_0x199eb2,!this['_isServer'],_0x4ea376),_0x3186d0[_0x50cd7a(0x200)](_0x50cd7a(0x271),_0x199eb2);}function _0x263434(_0x333973){const _0x4aaaf8=_0x398dbd;this[_0x5aa561][_0x4aaaf8(0x200)](_0x4aaaf8(0x2de),_0x333973);}function _0xfeeee4(_0x3a7453){_0x3a7453['resume']();}function _0x541a0c(_0x1ac470){const _0x458fe9=_0x398dbd,_0xedf340=this[_0x5aa561];_0xedf340[_0x458fe9(0x1cc)]!==_0x5b12f7[_0x458fe9(0x1e1)]&&(_0xedf340[_0x458fe9(0x1cc)]===_0x5b12f7['OPEN']&&(_0xedf340[_0x458fe9(0x1c4)]=_0x5b12f7[_0x458fe9(0x274)],_0x38cf37(_0xedf340)),this[_0x458fe9(0x31a)][_0x458fe9(0x2a5)](),_0xedf340['_errorEmitted']||(_0xedf340[_0x458fe9(0x2cd)]=!0x0,_0xedf340[_0x458fe9(0x200)](_0x458fe9(0x261),_0x1ac470)));}function _0x38cf37(_0x491f90){const _0x8634ce=_0x398dbd;_0x491f90[_0x8634ce(0x2b4)]=setTimeout(_0x491f90['_socket'][_0x8634ce(0x2c2)][_0x8634ce(0x239)](_0x491f90[_0x8634ce(0x31a)]),_0x580771);}function _0x2fca3f(){const _0x32bec2=_0x398dbd,_0x3b968b=this[_0x5aa561];this[_0x32bec2(0x1a9)](_0x32bec2(0x1ce),_0x2fca3f),this[_0x32bec2(0x1a9)](_0x32bec2(0x249),_0x1d1c5d),this[_0x32bec2(0x1a9)](_0x32bec2(0x2a5),_0x1e6407),_0x3b968b[_0x32bec2(0x1c4)]=_0x5b12f7[_0x32bec2(0x274)];let _0x45fe41;!this['_readableState'][_0x32bec2(0x353)]&&!_0x3b968b[_0x32bec2(0x322)]&&!_0x3b968b['_receiver'][_0x32bec2(0x2b0)][_0x32bec2(0x202)]&&(_0x45fe41=_0x3b968b['_socket'][_0x32bec2(0x1bf)]())!==null&&_0x3b968b[_0x32bec2(0x357)][_0x32bec2(0x329)](_0x45fe41),_0x3b968b['_receiver']['end'](),this[_0x5aa561]=void 0x0,clearTimeout(_0x3b968b[_0x32bec2(0x2b4)]),_0x3b968b[_0x32bec2(0x357)][_0x32bec2(0x2b0)]['finished']||_0x3b968b[_0x32bec2(0x357)][_0x32bec2(0x2b0)][_0x32bec2(0x202)]?_0x3b968b[_0x32bec2(0x33c)]():(_0x3b968b['_receiver']['on'](_0x32bec2(0x261),_0x6e0628),_0x3b968b[_0x32bec2(0x357)]['on'](_0x32bec2(0x2df),_0x6e0628));}function _0x1d1c5d(_0x1b92d4){const _0x346670=_0x398dbd;this[_0x5aa561][_0x346670(0x357)][_0x346670(0x329)](_0x1b92d4)||this[_0x346670(0x348)]();}function _0x1e6407(){const _0x3bd41b=_0x398dbd,_0x4026a2=this[_0x5aa561];_0x4026a2[_0x3bd41b(0x1c4)]=_0x5b12f7[_0x3bd41b(0x274)],_0x4026a2[_0x3bd41b(0x357)]['end'](),this[_0x3bd41b(0x2a5)]();}function _0x16b398(){const _0x29250d=_0x398dbd,_0xb3e95e=this[_0x5aa561];this['removeListener'](_0x29250d(0x261),_0x16b398),this['on'](_0x29250d(0x261),_0x4ea376),_0xb3e95e&&(_0xb3e95e[_0x29250d(0x1c4)]=_0x5b12f7[_0x29250d(0x274)],this[_0x29250d(0x2c2)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x361e16}=oe;function _0x3dcc58(_0x2fe177){const _0xcffe33=_0x272f;_0x2fe177[_0xcffe33(0x200)]('close');}function _0x5f133d(){const _0x516cd6=_0x272f;!this[_0x516cd6(0x32e)]&&this[_0x516cd6(0x2b0)][_0x516cd6(0x289)]&&this[_0x516cd6(0x2c2)]();}function _0x30b141(_0x35729d){const _0x182358=_0x272f;this[_0x182358(0x1a9)](_0x182358(0x261),_0x30b141),this[_0x182358(0x2c2)](),this[_0x182358(0x1db)](_0x182358(0x261))===0x0&&this['emit'](_0x182358(0x261),_0x35729d);}function _0x32bd68(_0x819a66,_0x1bddb8){const _0xa53f9e=_0x272f;let _0x3baf24=!0x0;const _0xf29e8e=new _0x361e16({..._0x1bddb8,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x819a66['on']('message',function(_0x5e26bf,_0x34b539){const _0x1e7a77=_0x272f,_0x413e8b=!_0x34b539&&_0xf29e8e[_0x1e7a77(0x2c0)][_0x1e7a77(0x2fd)]?_0x5e26bf[_0x1e7a77(0x2b2)]():_0x5e26bf;_0xf29e8e[_0x1e7a77(0x24d)](_0x413e8b)||_0x819a66[_0x1e7a77(0x348)]();}),_0x819a66[_0xa53f9e(0x1da)](_0xa53f9e(0x261),function(_0x2f881a){_0xf29e8e['destroyed']||(_0x3baf24=!0x1,_0xf29e8e['destroy'](_0x2f881a));}),_0x819a66[_0xa53f9e(0x1da)]('close',function(){const _0x3b739c=_0xa53f9e;_0xf29e8e[_0x3b739c(0x32e)]||_0xf29e8e[_0x3b739c(0x24d)](null);}),_0xf29e8e[_0xa53f9e(0x2c5)]=function(_0x5990b9,_0x42a777){const _0x189f08=_0xa53f9e;if(_0x819a66['readyState']===_0x819a66[_0x189f08(0x1e1)]){_0x42a777(_0x5990b9),process[_0x189f08(0x26c)](_0x3dcc58,_0xf29e8e);return;}let _0x14e00d=!0x1;_0x819a66[_0x189f08(0x1da)](_0x189f08(0x261),function(_0x4408db){_0x14e00d=!0x0,_0x42a777(_0x4408db);}),_0x819a66['once'](_0x189f08(0x1ce),function(){const _0x396b0b=_0x189f08;_0x14e00d||_0x42a777(_0x5990b9),process[_0x396b0b(0x26c)](_0x3dcc58,_0xf29e8e);}),_0x3baf24&&_0x819a66['terminate']();},_0xf29e8e['_final']=function(_0x539697){const _0x5d0fb2=_0xa53f9e;if(_0x819a66[_0x5d0fb2(0x1cc)]===_0x819a66['CONNECTING']){_0x819a66[_0x5d0fb2(0x1da)](_0x5d0fb2(0x1fb),function(){_0xf29e8e['_final'](_0x539697);});return;}_0x819a66['_socket']!==null&&(_0x819a66[_0x5d0fb2(0x31a)][_0x5d0fb2(0x2b0)][_0x5d0fb2(0x289)]?(_0x539697(),_0xf29e8e[_0x5d0fb2(0x2c0)][_0x5d0fb2(0x353)]&&_0xf29e8e[_0x5d0fb2(0x2c2)]()):(_0x819a66[_0x5d0fb2(0x31a)]['once']('finish',function(){_0x539697();}),_0x819a66[_0x5d0fb2(0x1ce)]()));},_0xf29e8e['_read']=function(){const _0x392a18=_0xa53f9e;_0x819a66[_0x392a18(0x317)]&&_0x819a66[_0x392a18(0x1ba)]();},_0xf29e8e[_0xa53f9e(0x2f8)]=function(_0x431962,_0x20be6a,_0x10a72c){const _0x5335b4=_0xa53f9e;if(_0x819a66['readyState']===_0x819a66['CONNECTING']){_0x819a66[_0x5335b4(0x1da)](_0x5335b4(0x1fb),function(){const _0xc77200=_0x5335b4;_0xf29e8e[_0xc77200(0x2f8)](_0x431962,_0x20be6a,_0x10a72c);});return;}_0x819a66['send'](_0x431962,_0x10a72c);},_0xf29e8e['on']('end',_0x5f133d),_0xf29e8e['on'](_0xa53f9e(0x261),_0x30b141),_0xf29e8e;}return Oe=_0x32bd68,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3b4cbc}=ae();function _0x5f37f8(_0x4eb56a){const _0x1f8362=_0x272f,_0x51c919=new Set();let _0xf35336=-0x1,_0x255878=-0x1,_0x2b6b23=0x0;for(_0x2b6b23;_0x2b6b23<_0x4eb56a['length'];_0x2b6b23++){const _0xdd3cb0=_0x4eb56a[_0x1f8362(0x219)](_0x2b6b23);if(_0x255878===-0x1&&_0x3b4cbc[_0xdd3cb0]===0x1)_0xf35336===-0x1&&(_0xf35336=_0x2b6b23);else{if(_0x2b6b23!==0x0&&(_0xdd3cb0===0x20||_0xdd3cb0===0x9))_0x255878===-0x1&&_0xf35336!==-0x1&&(_0x255878=_0x2b6b23);else{if(_0xdd3cb0===0x2c){if(_0xf35336===-0x1)throw new SyntaxError(_0x1f8362(0x20f)+_0x2b6b23);_0x255878===-0x1&&(_0x255878=_0x2b6b23);const _0x46d8e7=_0x4eb56a['slice'](_0xf35336,_0x255878);if(_0x51c919[_0x1f8362(0x312)](_0x46d8e7))throw new SyntaxError(_0x1f8362(0x2e5)+_0x46d8e7+_0x1f8362(0x25b));_0x51c919[_0x1f8362(0x28b)](_0x46d8e7),_0xf35336=_0x255878=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2b6b23);}}}if(_0xf35336===-0x1||_0x255878!==-0x1)throw new SyntaxError(_0x1f8362(0x2e7));const _0x5c71f9=_0x4eb56a[_0x1f8362(0x225)](_0xf35336,_0x2b6b23);if(_0x51c919[_0x1f8362(0x312)](_0x5c71f9))throw new SyntaxError(_0x1f8362(0x2e5)+_0x5c71f9+_0x1f8362(0x25b));return _0x51c919[_0x1f8362(0x28b)](_0x5c71f9),_0x51c919;}return Ce={'parse':_0x5f37f8},Ce;}var Te,rt;function Ft(){const _0xd79d62=_0x11caf3;if(rt)return Te;rt=0x1;const _0x348ec8=nt,_0xc9c857=ot,{Duplex:_0x444467}=oe,{createHash:_0x2bd895}=Le,_0x37d0f7=ct(),_0x472b37=he(),_0x509abb=At(),_0x31cbeb=Pe(),{GUID:_0xa14d96,kWebSocket:_0x2c6e5c}=H(),_0x20a8d6=/^[+/0-9A-Za-z]{22}==$/,_0x2cb26f=0x0,_0x388459=0x1,_0x52f543=0x2;class _0x43cfe2 extends _0x348ec8{constructor(_0x5f19da,_0xe4b501){const _0x56370a=_0x272f;if(super(),_0x5f19da={'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':_0x31cbeb,..._0x5f19da},_0x5f19da['port']==null&&!_0x5f19da[_0x56370a(0x31f)]&&!_0x5f19da[_0x56370a(0x30e)]||_0x5f19da[_0x56370a(0x282)]!=null&&(_0x5f19da[_0x56370a(0x31f)]||_0x5f19da[_0x56370a(0x30e)])||_0x5f19da[_0x56370a(0x31f)]&&_0x5f19da[_0x56370a(0x30e)])throw new TypeError(_0x56370a(0x32b));if(_0x5f19da[_0x56370a(0x282)]!=null?(this[_0x56370a(0x2d2)]=_0xc9c857[_0x56370a(0x2d9)]((_0x5dce37,_0x32c9ad)=>{const _0x4782e2=_0x56370a,_0x13fa61=_0xc9c857[_0x4782e2(0x215)][0x1aa];_0x32c9ad[_0x4782e2(0x2ef)](0x1aa,{'Content-Length':_0x13fa61['length'],'Content-Type':_0x4782e2(0x309)}),_0x32c9ad[_0x4782e2(0x2a5)](_0x13fa61);}),this['_server'][_0x56370a(0x31e)](_0x5f19da[_0x56370a(0x282)],_0x5f19da[_0x56370a(0x2f5)],_0x5f19da[_0x56370a(0x2af)],_0xe4b501)):_0x5f19da[_0x56370a(0x31f)]&&(this[_0x56370a(0x2d2)]=_0x5f19da[_0x56370a(0x31f)]),this[_0x56370a(0x2d2)]){const _0x5d6365=this[_0x56370a(0x200)][_0x56370a(0x239)](this,_0x56370a(0x258));this[_0x56370a(0x327)]=_0x41ae95(this['_server'],{'listening':this[_0x56370a(0x200)]['bind'](this,_0x56370a(0x2b7)),'error':this[_0x56370a(0x200)][_0x56370a(0x239)](this,'error'),'upgrade':(_0x5c89a2,_0xa36cb2,_0x29bd8e)=>{this['handleUpgrade'](_0x5c89a2,_0xa36cb2,_0x29bd8e,_0x5d6365);}});}_0x5f19da['perMessageDeflate']===!0x0&&(_0x5f19da[_0x56370a(0x30c)]={}),_0x5f19da[_0x56370a(0x1bd)]&&(this['clients']=new Set(),this[_0x56370a(0x31b)]=!0x1),this[_0x56370a(0x2ed)]=_0x5f19da,this[_0x56370a(0x2f7)]=_0x2cb26f;}[_0xd79d62(0x2c8)](){const _0x42b990=_0xd79d62;if(this[_0x42b990(0x2ed)][_0x42b990(0x30e)])throw new Error(_0x42b990(0x2e4));return this[_0x42b990(0x2d2)]?this[_0x42b990(0x2d2)][_0x42b990(0x2c8)]():null;}[_0xd79d62(0x1ce)](_0x215a43){const _0x524087=_0xd79d62;if(this[_0x524087(0x2f7)]===_0x52f543){_0x215a43&&this[_0x524087(0x1da)](_0x524087(0x1ce),()=>{const _0x12603a=_0x524087;_0x215a43(new Error(_0x12603a(0x284)));}),process[_0x524087(0x26c)](_0x4fde6d,this);return;}if(_0x215a43&&this[_0x524087(0x1da)](_0x524087(0x1ce),_0x215a43),this['_state']!==_0x388459){if(this[_0x524087(0x2f7)]=_0x388459,this[_0x524087(0x2ed)][_0x524087(0x30e)]||this[_0x524087(0x2ed)][_0x524087(0x31f)])this[_0x524087(0x2d2)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x524087(0x2d2)]=null),this[_0x524087(0x236)]?this[_0x524087(0x236)]['size']?this[_0x524087(0x31b)]=!0x0:process['nextTick'](_0x4fde6d,this):process[_0x524087(0x26c)](_0x4fde6d,this);else{const _0x3207a8=this[_0x524087(0x2d2)];this[_0x524087(0x327)](),this[_0x524087(0x327)]=this[_0x524087(0x2d2)]=null,_0x3207a8[_0x524087(0x1ce)](()=>{_0x4fde6d(this);});}}}[_0xd79d62(0x2a2)](_0x23ce9e){const _0x4934b9=_0xd79d62;if(this[_0x4934b9(0x2ed)][_0x4934b9(0x294)]){const _0x268965=_0x23ce9e[_0x4934b9(0x295)]['indexOf']('?');if((_0x268965!==-0x1?_0x23ce9e[_0x4934b9(0x295)][_0x4934b9(0x225)](0x0,_0x268965):_0x23ce9e[_0x4934b9(0x295)])!==this[_0x4934b9(0x2ed)]['path'])return!0x1;}return!0x0;}[_0xd79d62(0x212)](_0x1226bc,_0x4cc0f7,_0xffd40d,_0x824bb8){const _0x4639ac=_0xd79d62;_0x4cc0f7['on'](_0x4639ac(0x261),_0x47530e);const _0xfbac6d=_0x1226bc[_0x4639ac(0x25f)]['sec-websocket-key'],_0x4834b3=_0x1226bc[_0x4639ac(0x25f)]['upgrade'],_0x3dd108=+_0x1226bc[_0x4639ac(0x25f)][_0x4639ac(0x265)];if(_0x1226bc[_0x4639ac(0x305)]!=='GET'){_0x308473(this,_0x1226bc,_0x4cc0f7,0x195,_0x4639ac(0x201));return;}if(_0x4834b3===void 0x0||_0x4834b3[_0x4639ac(0x310)]()!==_0x4639ac(0x1dc)){_0x308473(this,_0x1226bc,_0x4cc0f7,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xfbac6d===void 0x0||!_0x20a8d6['test'](_0xfbac6d)){_0x308473(this,_0x1226bc,_0x4cc0f7,0x190,_0x4639ac(0x2dc));return;}if(_0x3dd108!==0x8&&_0x3dd108!==0xd){_0x308473(this,_0x1226bc,_0x4cc0f7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x4639ac(0x2a2)](_0x1226bc)){_0x3a378a(_0x4cc0f7,0x190);return;}const _0x2731e6=_0x1226bc[_0x4639ac(0x25f)][_0x4639ac(0x19e)];let _0x46eea6=new Set();if(_0x2731e6!==void 0x0)try{_0x46eea6=_0x509abb[_0x4639ac(0x331)](_0x2731e6);}catch{_0x308473(this,_0x1226bc,_0x4cc0f7,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x24c94e=_0x1226bc[_0x4639ac(0x25f)]['sec-websocket-extensions'],_0x306026={};if(this[_0x4639ac(0x2ed)]['perMessageDeflate']&&_0x24c94e!==void 0x0){const _0x1d2926=new _0x472b37(this['options'][_0x4639ac(0x30c)],!0x0,this[_0x4639ac(0x2ed)][_0x4639ac(0x1c5)]);try{const _0x319a6b=_0x37d0f7[_0x4639ac(0x331)](_0x24c94e);_0x319a6b[_0x472b37[_0x4639ac(0x19f)]]&&(_0x1d2926[_0x4639ac(0x1bb)](_0x319a6b[_0x472b37[_0x4639ac(0x19f)]]),_0x306026[_0x472b37[_0x4639ac(0x19f)]]=_0x1d2926);}catch{_0x308473(this,_0x1226bc,_0x4cc0f7,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x4639ac(0x1c2)]){const _0x4fa5e1={'origin':_0x1226bc['headers'][''+(_0x3dd108===0x8?_0x4639ac(0x2c7):_0x4639ac(0x227))],'secure':!!(_0x1226bc[_0x4639ac(0x302)]['authorized']||_0x1226bc[_0x4639ac(0x302)][_0x4639ac(0x1f4)]),'req':_0x1226bc};if(this[_0x4639ac(0x2ed)][_0x4639ac(0x1c2)][_0x4639ac(0x273)]===0x2){this[_0x4639ac(0x2ed)][_0x4639ac(0x1c2)](_0x4fa5e1,(_0x46964f,_0x1b1941,_0x4b6466,_0x587e73)=>{const _0x28d3bf=_0x4639ac;if(!_0x46964f)return _0x3a378a(_0x4cc0f7,_0x1b1941||0x191,_0x4b6466,_0x587e73);this[_0x28d3bf(0x328)](_0x306026,_0xfbac6d,_0x46eea6,_0x1226bc,_0x4cc0f7,_0xffd40d,_0x824bb8);});return;}if(!this[_0x4639ac(0x2ed)][_0x4639ac(0x1c2)](_0x4fa5e1))return _0x3a378a(_0x4cc0f7,0x191);}this['completeUpgrade'](_0x306026,_0xfbac6d,_0x46eea6,_0x1226bc,_0x4cc0f7,_0xffd40d,_0x824bb8);}[_0xd79d62(0x328)](_0x4b79ec,_0x1ac407,_0x3a90e8,_0x3da5d3,_0x3b509c,_0x5205ba,_0x1d9b1b){const _0x5152fc=_0xd79d62;if(!_0x3b509c[_0x5152fc(0x276)]||!_0x3b509c['writable'])return _0x3b509c[_0x5152fc(0x2c2)]();if(_0x3b509c[_0x2c6e5c])throw new Error(_0x5152fc(0x1c8));if(this[_0x5152fc(0x2f7)]>_0x2cb26f)return _0x3a378a(_0x3b509c,0x1f7);const _0x3b408e=[_0x5152fc(0x245),_0x5152fc(0x1ab),_0x5152fc(0x303),_0x5152fc(0x35f)+_0x2bd895(_0x5152fc(0x1ff))[_0x5152fc(0x1b8)](_0x1ac407+_0xa14d96)[_0x5152fc(0x324)](_0x5152fc(0x2b9))],_0x4420e7=new this[(_0x5152fc(0x2ed))]['WebSocket'](null,void 0x0,this['options']);if(_0x3a90e8[_0x5152fc(0x2ad)]){const _0x1913b4=this[_0x5152fc(0x2ed)][_0x5152fc(0x2b1)]?this[_0x5152fc(0x2ed)]['handleProtocols'](_0x3a90e8,_0x3da5d3):_0x3a90e8['values']()[_0x5152fc(0x250)]()[_0x5152fc(0x2ca)];_0x1913b4&&(_0x3b408e[_0x5152fc(0x24d)](_0x5152fc(0x2a4)+_0x1913b4),_0x4420e7[_0x5152fc(0x2f1)]=_0x1913b4);}if(_0x4b79ec[_0x472b37['extensionName']]){const _0x2aa922=_0x4b79ec[_0x472b37[_0x5152fc(0x19f)]]['params'],_0xec5d0a=_0x37d0f7[_0x5152fc(0x2c4)]({[_0x472b37['extensionName']]:[_0x2aa922]});_0x3b408e[_0x5152fc(0x24d)](_0x5152fc(0x211)+_0xec5d0a),_0x4420e7[_0x5152fc(0x22a)]=_0x4b79ec;}this[_0x5152fc(0x200)](_0x5152fc(0x25f),_0x3b408e,_0x3da5d3),_0x3b509c['write'](_0x3b408e['concat']('\x0d\x0a')[_0x5152fc(0x2d6)]('\x0d\x0a')),_0x3b509c['removeListener'](_0x5152fc(0x261),_0x47530e),_0x4420e7[_0x5152fc(0x27e)](_0x3b509c,_0x5205ba,{'allowSynchronousEvents':this[_0x5152fc(0x2ed)][_0x5152fc(0x1a3)],'maxPayload':this[_0x5152fc(0x2ed)][_0x5152fc(0x1c5)],'skipUTF8Validation':this['options'][_0x5152fc(0x301)]}),this['clients']&&(this[_0x5152fc(0x236)][_0x5152fc(0x28b)](_0x4420e7),_0x4420e7['on'](_0x5152fc(0x1ce),()=>{const _0x400fdb=_0x5152fc;this[_0x400fdb(0x236)][_0x400fdb(0x2dd)](_0x4420e7),this[_0x400fdb(0x31b)]&&!this['clients'][_0x400fdb(0x2ad)]&&process[_0x400fdb(0x26c)](_0x4fde6d,this);})),_0x1d9b1b(_0x4420e7,_0x3da5d3);}}Te=_0x43cfe2;function _0x41ae95(_0x2422d3,_0x578a28){const _0x312f7c=_0xd79d62;for(const _0x3d024e of Object[_0x312f7c(0x251)](_0x578a28))_0x2422d3['on'](_0x3d024e,_0x578a28[_0x3d024e]);return function(){const _0x20b3d6=_0x312f7c;for(const _0x4cbe5c of Object['keys'](_0x578a28))_0x2422d3[_0x20b3d6(0x1a9)](_0x4cbe5c,_0x578a28[_0x4cbe5c]);};}function _0x4fde6d(_0x50e8bf){const _0x2eff4e=_0xd79d62;_0x50e8bf[_0x2eff4e(0x2f7)]=_0x52f543,_0x50e8bf['emit']('close');}function _0x47530e(){const _0xe75007=_0xd79d62;this[_0xe75007(0x2c2)]();}function _0x3a378a(_0x2aa826,_0xf3c901,_0x4d6366,_0x299d05){const _0xc2d082=_0xd79d62;_0x4d6366=_0x4d6366||_0xc9c857[_0xc2d082(0x215)][_0xf3c901],_0x299d05={'Connection':'close','Content-Type':_0xc2d082(0x22e),'Content-Length':Buffer[_0xc2d082(0x228)](_0x4d6366),..._0x299d05},_0x2aa826[_0xc2d082(0x1da)](_0xc2d082(0x2df),_0x2aa826[_0xc2d082(0x2c2)]),_0x2aa826['end']('HTTP/1.1\x20'+_0xf3c901+'\x20'+_0xc9c857[_0xc2d082(0x215)][_0xf3c901]+'\x0d\x0a'+Object[_0xc2d082(0x251)](_0x299d05)['map'](_0x25ea0f=>_0x25ea0f+':\x20'+_0x299d05[_0x25ea0f])[_0xc2d082(0x2d6)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4d6366);}function _0x308473(_0x2ccfcb,_0x522785,_0x418a45,_0x4bf5db,_0x8b9fae){const _0x2da29f=_0xd79d62;if(_0x2ccfcb['listenerCount'](_0x2da29f(0x2e8))){const _0x5906a0=new Error(_0x8b9fae);Error[_0x2da29f(0x2a6)](_0x5906a0,_0x308473),_0x2ccfcb[_0x2da29f(0x200)]('wsClientError',_0x5906a0,_0x418a45,_0x522785);}else _0x3a378a(_0x418a45,_0x4bf5db,_0x8b9fae);}return Te;}Ft();var jt=Object[_0x11caf3(0x20d)],Wt=(_0x50e4da,_0x2f04d7,_0x1a9dce,_0x27f697)=>{const _0x48dd1b=_0x11caf3;for(var _0x488cd8=_0x27f697>0x1?void 0x0:_0x27f697?jt(_0x2f04d7,_0x1a9dce):_0x2f04d7,_0x34c37a=_0x50e4da[_0x48dd1b(0x273)]-0x1,_0x37c623;_0x34c37a>=0x0;_0x34c37a--)(_0x37c623=_0x50e4da[_0x34c37a])&&(_0x488cd8=_0x37c623(_0x488cd8)||_0x488cd8);return _0x488cd8;},qt=(_0x455d84,_0x4fca6b)=>(_0x46fdbd,_0x17dff9)=>_0x4fca6b(_0x46fdbd,_0x17dff9,_0x455d84);let ke=class extends A['Disposable']{constructor(_0x56e85b){const _0x2f896a=_0x11caf3;super(),this[_0x2f896a(0x240)]=_0x56e85b;}[_0x11caf3(0x343)](_0x4f839d){const _0x4f0756=_0x11caf3;var _0x210e93;const _0x490b78=(_0x210e93=this[_0x4f0756(0x240)][_0x4f0756(0x1e9)](fe))==null?void 0x0:_0x210e93['customHeaders'];try{const _0x2e154d=new $t(_0x4f839d,{'headers':{..._0x490b78}}),_0x3f4a48=new A[(_0x4f0756(0x1f0))]();return{'URL':_0x4f839d,'close':(_0x551c48,_0x26dac5)=>{const _0x2f0222=_0x4f0756;_0x2e154d[_0x2f0222(0x1ce)](_0x551c48,_0x26dac5),_0x3f4a48[_0x2f0222(0x224)]();},'send':_0x56d98f=>{const _0x2a3fa8=_0x4f0756;_0x2e154d[_0x2a3fa8(0x216)](_0x56d98f);},'open$':new V[(_0x4f0756(0x358))](_0x68a5de=>{const _0x14116e=_0x4f0756,_0xfa6b59=_0x20bd5c=>_0x68a5de['next'](_0x20bd5c);_0x2e154d[_0x14116e(0x280)]('open',_0xfa6b59),_0x3f4a48['add'](A[_0x14116e(0x344)](()=>_0x2e154d['removeEventListener'](_0x14116e(0x1fb),_0xfa6b59)));})[_0x4f0756(0x22c)](V[_0x4f0756(0x30b)]()),'close$':new V[(_0x4f0756(0x358))](_0x31f1fe=>{const _0x14aa33=_0x4f0756,_0xe89633=_0x258bf4=>_0x31f1fe[_0x14aa33(0x250)](_0x258bf4);_0x2e154d[_0x14aa33(0x280)](_0x14aa33(0x1ce),_0xe89633),_0x3f4a48[_0x14aa33(0x28b)](A[_0x14aa33(0x344)](()=>_0x2e154d[_0x14aa33(0x2d0)](_0x14aa33(0x1ce),_0xe89633)));})['pipe'](V['share']()),'error$':new V[(_0x4f0756(0x358))](_0x1a92a6=>{const _0x1b8426=_0x4f0756,_0x490d57=_0x18cda0=>_0x1a92a6[_0x1b8426(0x250)](_0x18cda0);_0x2e154d[_0x1b8426(0x280)](_0x1b8426(0x261),_0x490d57),_0x3f4a48[_0x1b8426(0x28b)](A['toDisposable'](()=>_0x2e154d[_0x1b8426(0x2d0)](_0x1b8426(0x261),_0x490d57)));})[_0x4f0756(0x22c)](V[_0x4f0756(0x30b)]()),'message$':new V[(_0x4f0756(0x358))](_0x83f65e=>{const _0x42e13e=_0x4f0756,_0x20b088=_0x4fd072=>_0x83f65e[_0x42e13e(0x250)](_0x4fd072);_0x2e154d['addEventListener'](_0x42e13e(0x242),_0x20b088),_0x3f4a48[_0x42e13e(0x28b)](A[_0x42e13e(0x344)](()=>_0x2e154d['removeEventListener'](_0x42e13e(0x242),_0x20b088)));})[_0x4f0756(0x22c)](V[_0x4f0756(0x30b)]())};}catch(_0x57fb87){return console[_0x4f0756(0x261)](_0x57fb87),null;}}};ke=Wt([qt(0x0,A[_0x11caf3(0x2e9)])],ke);var Gt=Object[_0x11caf3(0x342)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x47c3cb,_0x4c6a66,_0xf5bae2)=>_0x4c6a66 in _0x47c3cb?Gt(_0x47c3cb,_0x4c6a66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf5bae2}):_0x47c3cb[_0x4c6a66]=_0xf5bae2,zt=(_0x33db2d,_0x48baea,_0x18b572,_0x22cd6c)=>{const _0x28337b=_0x11caf3;for(var _0x243c40=_0x22cd6c>0x1?void 0x0:_0x22cd6c?Vt(_0x48baea,_0x18b572):_0x48baea,_0x3eeca9=_0x33db2d[_0x28337b(0x273)]-0x1,_0xa813ec;_0x3eeca9>=0x0;_0x3eeca9--)(_0xa813ec=_0x33db2d[_0x3eeca9])&&(_0x243c40=_0xa813ec(_0x243c40)||_0x243c40);return _0x243c40;},Ne=(_0x370396,_0xe2c7bb)=>(_0x38993d,_0x10861b)=>_0xe2c7bb(_0x38993d,_0x10861b,_0x370396),Yt=(_0x3d04df,_0x3d99c5,_0x5a9e32)=>Ht(_0x3d04df,_0x3d99c5+'',_0x5a9e32);exports[_0x11caf3(0x1c0)]=class extends A[_0x11caf3(0x35e)]{constructor(_0x3656dc=Ct,_0x67bc2c,_0x4b031d,_0x27e981){const _0x2c50ec=_0x11caf3;_0x3656dc[_0x2c50ec(0x2f2)]||_0x67bc2c[_0x2c50ec(0x1b6)](_0x2c50ec(0x25a)),super(),this[_0x2c50ec(0x240)]=_0x4b031d,this[_0x2c50ec(0x1fc)]=_0x27e981,this['_configService'][_0x2c50ec(0x1a2)](fe,_0x3656dc);}[_0x11caf3(0x264)](){const _0x14f4d3=_0x11caf3;this[_0x14f4d3(0x290)]();}[_0x11caf3(0x290)](){const _0x129a0b=_0x11caf3;A[_0x129a0b(0x230)](this['_injector'],[[it[_0x129a0b(0x26f)],{'useClass':ke}]]);}},Yt(exports[_0x11caf3(0x1c0)],_0x11caf3(0x19a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x11caf3(0x29f)](st[_0x11caf3(0x247)]),Ne(0x1,A[_0x11caf3(0x23e)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x11caf3(0x35b)](A[_0x11caf3(0x1dd)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x234b9d,_0x216069,_0x5d2847,_0x145f08)=>{const _0x5f498c=_0x11caf3;for(var _0x40265d=_0x145f08>0x1?void 0x0:_0x145f08?Kt(_0x216069,_0x5d2847):_0x216069,_0x5b7b09=_0x234b9d[_0x5f498c(0x273)]-0x1,_0x36791d;_0x5b7b09>=0x0;_0x5b7b09--)(_0x36791d=_0x234b9d[_0x5b7b09])&&(_0x40265d=_0x36791d(_0x40265d)||_0x40265d);return _0x40265d;},ne=(_0x1eb7e9,_0x2bc971)=>(_0x1cfe75,_0x1a362a)=>_0x2bc971(_0x1cfe75,_0x1a362a,_0x1eb7e9);exports[_0x11caf3(0x214)]=class extends st[_0x11caf3(0x23f)]{constructor(_0x2fbbf7,_0x82b699,_0x411901,_0x60f930,_0x573376){const _0x1caa96=_0x11caf3;super(_0x2fbbf7,_0x82b699,_0x411901,_0x60f930,_0x573376);const _0x129504=this[_0x1caa96(0x240)]['getConfig'](fe);this[_0x1caa96(0x2ac)][_0x1caa96(0x263)]({'interceptor':(_0x37e230,_0x3c4700)=>{const _0xf1f636=_0x1caa96;var _0x4e163a;const _0x319092=_0x37e230['headers'];return(_0x4e163a=_0x129504==null?void 0x0:_0x129504[_0xf1f636(0x2f2)])!=null&&_0x4e163a['cookie']&&_0x319092[_0xf1f636(0x26d)](_0xf1f636(0x1f1),_0x129504[_0xf1f636(0x2f2)][_0xf1f636(0x194)]),_0x3c4700(_0x37e230);}});}async['createSocket'](_0xad5619){return this['_doCreateSocket'](_0xad5619);}},exports[_0x11caf3(0x214)]=Xt([ne(0x0,A[_0x11caf3(0x35b)](A['Injector'])),ne(0x1,A[_0x11caf3(0x35b)](it[_0x11caf3(0x1a7)])),ne(0x2,A[_0x11caf3(0x2e9)]),ne(0x3,A[_0x11caf3(0x23e)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x11caf3(0x214)]),exports[_0x11caf3(0x234)]=fe;
|