@univerjs-pro/collaboration-client-node 0.7.0-beta.0 → 0.7.0-beta.1
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 +10 -10
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4a8b65=_0x5911;(function(_0x59494e,_0x1777f2){const _0x49adaf=_0x5911,_0x189704=_0x59494e();while(!![]){try{const _0x110a60=parseInt(_0x49adaf(0x234))/0x1+-parseInt(_0x49adaf(0x11d))/0x2+parseInt(_0x49adaf(0x183))/0x3+-parseInt(_0x49adaf(0x1c5))/0x4*(-parseInt(_0x49adaf(0x1b4))/0x5)+parseInt(_0x49adaf(0x10a))/0x6*(parseInt(_0x49adaf(0x192))/0x7)+parseInt(_0x49adaf(0x190))/0x8+-parseInt(_0x49adaf(0x262))/0x9*(parseInt(_0x49adaf(0x1f2))/0xa);if(_0x110a60===_0x1777f2)break;else _0x189704['push'](_0x189704['shift']());}catch(_0x44eba5){_0x189704['push'](_0x189704['shift']());}}}(_0x391c,0x98966));Object[_0x4a8b65(0xe1)](exports,Symbol['toStringTag'],{'value':_0x4a8b65(0x18a)});function _0x391c(){const _0x22cc71=['Sec-WebSocket-Extensions:\x20','perMessageDeflate','pathname','_bufferedBytes','send','message','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','encrypted','join','addEventListener','base64','map','_queue','WebSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','createError','toString','open','keys','Plugin','setHeader','FIN\x20must\x20be\x20set','reset','setConfig','rxjs','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','object','Invalid\x20Upgrade\x20header','url','compress','\x22:\x20','_binaryType','_opcode','_readyState','protocolVersion','_originalIpc','apply','pending','timeout','kListener','terminate','CONNECTING','events','@univerjs-pro/collaboration-client','shift','sendFrame','invalid\x20UTF-8\x20sequence','MASK\x20must\x20be\x20clear','_generateMask','The\x20URL\x27s\x20pathname\x20is\x20empty','_errored','sec-websocket-accept','extensions','flush','Unknown\x20parameter\x20\x22','extensionName','statusCode','_configService','values','maxRedirects','completeUpgrade','_max_window_bits','handleUpgrade','_sender','Sec-WebSocket-Accept:\x20','_readableState','ping','toDisposable','function','Invalid\x20URL:\x20','onmessage','WS_ERR_EXPECTED_FIN','next','zlibInflateOptions','emitClose','split','748086yeJqvZ','_protocol','WS_ERR_UNEXPECTED_RSV_1','CLOSING','getData','concurrency','_loop','Module','toStringTag','Invalid\x20HTTP\x20method','params','haveLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','5725856RaNofA','authorization','3285877IjnLjs','isBuffer','path','readUInt32BE','_maskBuffer','autoPong','WS_ERR_INVALID_OPCODE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','emit','text/plain','add','endEmitted','HTTP/1.1\x20','_originalSecure','onopen','_injector','sha1','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_write','_registerDependencies','writeUInt16BE','_payloadLength','captureStackTrace','Invalid\x20Sec-WebSocket-Extensions\x20header','setTimeout','customHeaders','isArray','nextTick','pipe','dispatch','target','followRedirects','handshakeTimeout','470VvqnQD','text/html','method','_destroy','setSocket','client_no_context_takeover','ISnapshotServerService','\x20(supported\x20versions:\x20','search','unshift','protocol','_state','cleanup','from','size','getPayloadLength64','destroy','11836bTKYfM','Blob','headers','number','UniverCollaborationClientNodePlugin','ws+unix:','allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','invalid\x20opcode\x20','isIP','Unexpected\x20server\x20response:\x20','sec-websocket-key','_decompress','string','dispose','server','jobs','species','kRun','@univerjs/network','removeListener','_compress','arrayBuffer','env','status-code','MASK\x20must\x20be\x20set','_closeCode','readable','arraybuffer','readyState','Z_DEFAULT_WINDOWBITS','digest','net','abort','tls','startLoop','pluginName','removeEventListener','exports','writeUIntBE','kIsForOnEventAttribute','buffers','_firstFragment','_doCreateSocket','concat','675230VCtonc','fin','kType','length','_fin','kDone','_isServer','getInfo','_shouldEmitClose','offer','startsWith','delete','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Upgrade:\x20websocket','enqueue','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_url','WS_ERR_UNEXPECTED_MASK','collaboration-client-node.config','destroyed','hostname','getMask','defaultPort','hasOwnProperty','wasClean','_receiver','dataMessage','CLOSED','accept','Injector','_buffers','redirect','freeze','total-length','client','opcode','wsClientError','_masked','clients','options','_errorEmitted','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getPayloadLength16','read','type','binaryType','upgrade','auth','_fragments','invalid\x20payload\x20length\x20','Max\x20payload\x20size\x20exceeded','error','sec-websocket-extensions','maskBuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','File','_socket','acceptAsServer','decompress','_closeMessage','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','concurrencyLimit','Sec-WebSocket-Origin','NodeCollaborationSocketService','220984PRUccN','_fragmented','generateMask','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','share','callback','_server','ILogService','address','constructor','password','onclose','allocUnsafe','_options','_final','readUInt16BE','kTarget','pause','kAborted','noServer','parse','pow','client_max_window_bits','normalizeParams','finished','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','skipUTF8Validation','wss:','Basic\x20','UniverCollaborationClientPlugin','HTTPService','_closeFrameSent','serverNoContextTakeover','STATUS_CODES','_deflate','handleProtocols','writeHead','call','setNoDelay','listenerCount','WS_NO_UTF_8_VALIDATE','_compressed','createInflateRaw','_req','servername','Sec-WebSocket-Extensions','63gqrhuQ','location','ISocketService','cookie','Observable','buffer','objectMode','_closeTimer','server_no_context_takeover','Server\x20sent\x20no\x20subprotocol','replace','readOnly','_redirects','byteOffset','https','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Z_SYNC_FLUSH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','construct','warn','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','finish','Unexpected\x20end\x20of\x20input','writable','\x0d\x0a\x0d\x0a','dequeue','verifyClient','errorEmitted','_allowSynchronousEvents','kByteLength','OPEN','blob','includes','WS_ERR_INVALID_UTF8','nodebuffer','createServer','_mask','zlibDeflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getOwnPropertyDescriptor','sec-websocket-version','crypto','https:','Server\x20sent\x20an\x20invalid\x20subprotocol','_autoPong','consume','write','username','response','set','http:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','server_max_window_bits','pong','maxPayload','end','origin','entries','sec-websocket-origin','prototype','Cookie','socket','onerror','getBlobData','listeners','charCodeAt','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','__esModule','has','bufferedAmount','Inject','reason','serverMaxWindowBits','_originalHostOrSocketPath','defineProperty','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createSocket','\x22\x20subprotocol\x20is\x20duplicated','mask','close','create','kMessage','controlMessage','data','resume','Invalid\x20Sec-WebSocket-Protocol\x20header','kReason','alloc','@univerjs/core','_removeListeners','Origin','test','get','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20Sec-WebSocket-Accept\x20header','fragments','registerHTTPInterceptor','listening','isValidUTF8','connect','acceptAsClient','bind','Invalid\x20WebSocket\x20frame:\x20','format','once','isInteger','websocket','_no_context_takeover','IConfigService','isPaused','indexOf','_inflate','ws:','The\x20\x22','forEach','6jUOTlu','frame','_paused','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','unmask','default','isServer','The\x20server\x20is\x20not\x20running','socketPath','Sec-WebSocket-Protocol','connection','kCode','binary','host','GET','permessage-deflate','kError','shouldHandle','_messageLength','1671952sWbpko','_bufferedAmount','_maxPayload','Invalid\x20value\x20for\x20parameter\x20\x22','port','handleEvent','stream','toLowerCase','Unexpected\x20character\x20at\x20index\x20','conclude','push','_closeFrameReceived','_writableState','_threshold','update','Parameter\x20\x22','clientMaxWindowBits','slice','clientNoContextTakeover','DependentOn','code','byteLength','authorized','request','Connection:\x20Upgrade','_extensions'];_0x391c=function(){return _0x22cc71;};return _0x391c();}const st=require(_0x4a8b65(0x162)),A=require(_0x4a8b65(0xef)),it=require(_0x4a8b65(0x1d8)),V=require(_0x4a8b65(0x14f)),nt=require(_0x4a8b65(0x161)),vt=require(_0x4a8b65(0x270)),ot=require('http'),St=require(_0x4a8b65(0x1e5)),Et=require(_0x4a8b65(0x1e7)),Le=require(_0x4a8b65(0xc0)),oe=require('stream'),xt=require(_0x4a8b65(0x153)),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4a8b65(0x206),Ct={'customHeaders':{}};function Tt(_0x13a65b){const _0x1cbf65=_0x4a8b65;return _0x13a65b&&_0x13a65b['__esModule']&&Object['prototype'][_0x1cbf65(0x20b)]['call'](_0x13a65b,'default')?_0x13a65b[_0x1cbf65(0x10f)]:_0x13a65b;}function at(_0x240caf){const _0xa6ed87=_0x4a8b65;if(Object[_0xa6ed87(0xd2)][_0xa6ed87(0x20b)][_0xa6ed87(0x259)](_0x240caf,_0xa6ed87(0xda)))return _0x240caf;var _0x38f16e=_0x240caf['default'];if(typeof _0x38f16e==_0xa6ed87(0x17b)){var _0xdfc9f7=function _0x2d5f0f(){const _0xf84f5e=_0xa6ed87;return this instanceof _0x2d5f0f?Reflect[_0xf84f5e(0x274)](_0x38f16e,arguments,this[_0xf84f5e(0x23d)]):_0x38f16e[_0xf84f5e(0x15b)](this,arguments);};_0xdfc9f7[_0xa6ed87(0xd2)]=_0x38f16e[_0xa6ed87(0xd2)];}else _0xdfc9f7={};return Object[_0xa6ed87(0xe1)](_0xdfc9f7,'__esModule',{'value':!0x0}),Object[_0xa6ed87(0x149)](_0x240caf)[_0xa6ed87(0x109)](function(_0xa9aeaa){const _0x36e17c=_0xa6ed87;var _0x323381=Object[_0x36e17c(0xbe)](_0x240caf,_0xa9aeaa);Object['defineProperty'](_0xdfc9f7,_0xa9aeaa,_0x323381[_0x36e17c(0xf3)]?_0x323381:{'enumerable':!0x0,'get':function(){return _0x240caf[_0xa9aeaa];}});}),_0xdfc9f7;}var se={'exports':{}},ge,Ge;function H(){const _0x57c246=_0x4a8b65;if(Ge)return ge;Ge=0x1;const _0x9f6ae0=[_0x57c246(0x284),'arraybuffer',_0x57c246(0xf6)],_0x2b71b7=typeof Blob<'u';return _0x2b71b7&&_0x9f6ae0[_0x57c246(0x127)](_0x57c246(0x281)),ge={'BINARY_TYPES':_0x9f6ae0,'EMPTY_BUFFER':Buffer[_0x57c246(0xee)](0x0),'GUID':_0x57c246(0x237),'hasBlob':_0x2b71b7,'kForOnEventAttribute':Symbol(_0x57c246(0x1ed)),'kListener':Symbol(_0x57c246(0x15e)),'kStatusCode':Symbol(_0x57c246(0x1dd)),'kWebSocket':Symbol(_0x57c246(0x101)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Nt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Lt=at(kt);var Ve;function ce(){const _0x21ef11=_0x4a8b65;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x54a8e8}=H(),_0x28397e=Buffer[Symbol['species']];function _0x37bf69(_0x7da736,_0x144fe5){const _0x1bf34f=_0x5911;if(_0x7da736[_0x1bf34f(0x1f5)]===0x0)return _0x54a8e8;if(_0x7da736[_0x1bf34f(0x1f5)]===0x1)return _0x7da736[0x0];const _0x35ee71=Buffer[_0x1bf34f(0x240)](_0x144fe5);let _0x3b6b81=0x0;for(let _0x3c4970=0x0;_0x3c4970<_0x7da736[_0x1bf34f(0x1f5)];_0x3c4970++){const _0x1f874c=_0x7da736[_0x3c4970];_0x35ee71['set'](_0x1f874c,_0x3b6b81),_0x3b6b81+=_0x1f874c[_0x1bf34f(0x1f5)];}return _0x3b6b81<_0x144fe5?new _0x28397e(_0x35ee71[_0x1bf34f(0x267)],_0x35ee71[_0x1bf34f(0x26f)],_0x3b6b81):_0x35ee71;}function _0x5d1330(_0x28b578,_0x219b61,_0x2aa091,_0x3cb9c8,_0x44bd3e){for(let _0x50e51d=0x0;_0x50e51d<_0x44bd3e;_0x50e51d++)_0x2aa091[_0x3cb9c8+_0x50e51d]=_0x28b578[_0x50e51d]^_0x219b61[_0x50e51d&0x3];}function _0x2ccde5(_0x56f82f,_0x5862fb){for(let _0x36a43f=0x0;_0x36a43f<_0x56f82f['length'];_0x36a43f++)_0x56f82f[_0x36a43f]^=_0x5862fb[_0x36a43f&0x3];}function _0x3394dc(_0x241185){const _0x161cb6=_0x5911;return _0x241185['length']===_0x241185[_0x161cb6(0x267)]['byteLength']?_0x241185[_0x161cb6(0x267)]:_0x241185[_0x161cb6(0x267)][_0x161cb6(0x12e)](_0x241185[_0x161cb6(0x26f)],_0x241185[_0x161cb6(0x26f)]+_0x241185[_0x161cb6(0x1f5)]);}function _0x56a060(_0x45fe52){const _0x3a70bc=_0x5911;if(_0x56a060[_0x3a70bc(0x26d)]=!0x0,Buffer[_0x3a70bc(0x193)](_0x45fe52))return _0x45fe52;let _0x3389f2;return _0x45fe52 instanceof ArrayBuffer?_0x3389f2=new _0x28397e(_0x45fe52):ArrayBuffer['isView'](_0x45fe52)?_0x3389f2=new _0x28397e(_0x45fe52[_0x3a70bc(0x267)],_0x45fe52[_0x3a70bc(0x26f)],_0x45fe52[_0x3a70bc(0x132)]):(_0x3389f2=Buffer['from'](_0x45fe52),_0x56a060[_0x3a70bc(0x26d)]=!0x1),_0x3389f2;}if(se['exports']={'concat':_0x37bf69,'mask':_0x5d1330,'toArrayBuffer':_0x3394dc,'toBuffer':_0x56a060,'unmask':_0x2ccde5},!process[_0x21ef11(0x1dc)]['WS_NO_BUFFER_UTIL'])try{const _0x3241b3=Lt;se[_0x21ef11(0x1eb)]['mask']=function(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a){const _0x111ee5=_0x21ef11;_0x28b83a<0x30?_0x5d1330(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a):_0x3241b3[_0x111ee5(0xe5)](_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a);},se['exports'][_0x21ef11(0x10e)]=function(_0x1043e8,_0x3b01c9){const _0x389a26=_0x21ef11;_0x1043e8[_0x389a26(0x1f5)]<0x20?_0x2ccde5(_0x1043e8,_0x3b01c9):_0x3241b3[_0x389a26(0x10e)](_0x1043e8,_0x3b01c9);};}catch{}return se[_0x21ef11(0x1eb)];}var ye,He;function Pt(){const _0x40e5d7=_0x4a8b65;if(He)return ye;He=0x1;const _0x3393d0=Symbol(_0x40e5d7(0x1f7)),_0x490a52=Symbol(_0x40e5d7(0x1d7));class _0x7e3afe{constructor(_0x1cd1bf){const _0x507eda=_0x40e5d7;this[_0x3393d0]=()=>{this['pending']--,this[_0x490a52]();},this['concurrency']=_0x1cd1bf||0x1/0x0,this[_0x507eda(0x1d5)]=[],this[_0x507eda(0x15c)]=0x0;}[_0x40e5d7(0x19c)](_0x178527){const _0x66bb17=_0x40e5d7;this[_0x66bb17(0x1d5)][_0x66bb17(0x127)](_0x178527),this[_0x490a52]();}[_0x490a52](){const _0x2c18d9=_0x40e5d7;if(this[_0x2c18d9(0x15c)]!==this[_0x2c18d9(0x188)]&&this[_0x2c18d9(0x1d5)]['length']){const _0x326ea2=this[_0x2c18d9(0x1d5)][_0x2c18d9(0x163)]();this[_0x2c18d9(0x15c)]++,_0x326ea2(this[_0x3393d0]);}}}return ye=_0x7e3afe,ye;}var ve,ze;function he(){const _0x4eccf0=_0x4a8b65;if(ze)return ve;ze=0x1;const _0x2b68e2=bt,_0x36419b=ce(),_0x5c620b=Pt(),{kStatusCode:_0x44cc8f}=H(),_0x174896=Buffer[Symbol[_0x4eccf0(0x1d6)]],_0xa2a1de=Buffer[_0x4eccf0(0x1c1)]([0x0,0x0,0xff,0xff]),_0x445dcf=Symbol(_0x4eccf0(0x119)),_0x26678b=Symbol(_0x4eccf0(0x215)),_0x4b0c19=Symbol(_0x4eccf0(0x239)),_0x23f0ce=Symbol(_0x4eccf0(0x1ee)),_0x31fb1f=Symbol(_0x4eccf0(0x227));let _0x3652e3;class _0x4e9b28{constructor(_0x52c429,_0x5bfd79,_0x393c70){const _0x822d05=_0x4eccf0;if(this[_0x822d05(0x11f)]=_0x393c70|0x0,this[_0x822d05(0x241)]=_0x52c429||{},this[_0x822d05(0x12a)]=this[_0x822d05(0x241)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x822d05(0x1f8)]=!!_0x5bfd79,this[_0x822d05(0x256)]=null,this[_0x822d05(0x106)]=null,this[_0x822d05(0x18d)]=null,!_0x3652e3){const _0x833a99=this[_0x822d05(0x241)][_0x822d05(0x231)]!==void 0x0?this[_0x822d05(0x241)]['concurrencyLimit']:0xa;_0x3652e3=new _0x5c620b(_0x833a99);}}static get[_0x4eccf0(0x16e)](){const _0x6f9350=_0x4eccf0;return _0x6f9350(0x119);}[_0x4eccf0(0x1fb)](){const _0x1cd157=_0x4eccf0,_0x59a3ff={};return this[_0x1cd157(0x241)][_0x1cd157(0x254)]&&(_0x59a3ff['server_no_context_takeover']=!0x0),this['_options'][_0x1cd157(0x12f)]&&(_0x59a3ff['client_no_context_takeover']=!0x0),this[_0x1cd157(0x241)]['serverMaxWindowBits']&&(_0x59a3ff[_0x1cd157(0xcb)]=this[_0x1cd157(0x241)][_0x1cd157(0xdf)]),this[_0x1cd157(0x241)][_0x1cd157(0x12d)]?_0x59a3ff[_0x1cd157(0x24a)]=this['_options'][_0x1cd157(0x12d)]:this[_0x1cd157(0x241)]['clientMaxWindowBits']==null&&(_0x59a3ff[_0x1cd157(0x24a)]=!0x0),_0x59a3ff;}[_0x4eccf0(0x210)](_0xaf66a4){const _0x342634=_0x4eccf0;return _0xaf66a4=this[_0x342634(0x24b)](_0xaf66a4),this['params']=this[_0x342634(0x1f8)]?this[_0x342634(0x22d)](_0xaf66a4):this[_0x342634(0xfb)](_0xaf66a4),this[_0x342634(0x18d)];}[_0x4eccf0(0x1c0)](){const _0x9f3f98=_0x4eccf0;if(this[_0x9f3f98(0x106)]&&(this[_0x9f3f98(0x106)]['close'](),this['_inflate']=null),this[_0x9f3f98(0x256)]){const _0x1a5ce5=this[_0x9f3f98(0x256)][_0x4b0c19];this[_0x9f3f98(0x256)][_0x9f3f98(0xe6)](),this[_0x9f3f98(0x256)]=null,_0x1a5ce5&&_0x1a5ce5(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x4eccf0(0x22d)](_0x2420cc){const _0x467adb=_0x4eccf0,_0x2461f4=this[_0x467adb(0x241)],_0x293981=_0x2420cc['find'](_0x5027b4=>!(_0x2461f4[_0x467adb(0x254)]===!0x1&&_0x5027b4[_0x467adb(0x26a)]||_0x5027b4[_0x467adb(0xcb)]&&(_0x2461f4[_0x467adb(0xdf)]===!0x1||typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&_0x2461f4[_0x467adb(0xdf)]>_0x5027b4['server_max_window_bits'])||typeof _0x2461f4['clientMaxWindowBits']==_0x467adb(0x1c8)&&!_0x5027b4[_0x467adb(0x24a)]));if(!_0x293981)throw new Error(_0x467adb(0x271));return _0x2461f4[_0x467adb(0x254)]&&(_0x293981['server_no_context_takeover']=!0x0),_0x2461f4[_0x467adb(0x12f)]&&(_0x293981[_0x467adb(0x1b9)]=!0x0),typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&(_0x293981[_0x467adb(0xcb)]=_0x2461f4['serverMaxWindowBits']),typeof _0x2461f4[_0x467adb(0x12d)]==_0x467adb(0x1c8)?_0x293981[_0x467adb(0x24a)]=_0x2461f4[_0x467adb(0x12d)]:(_0x293981[_0x467adb(0x24a)]===!0x0||_0x2461f4[_0x467adb(0x12d)]===!0x1)&&delete _0x293981[_0x467adb(0x24a)],_0x293981;}[_0x4eccf0(0xfb)](_0x3b5195){const _0x3ad2a3=_0x4eccf0,_0x56047d=_0x3b5195[0x0];if(this['_options'][_0x3ad2a3(0x12f)]===!0x1&&_0x56047d[_0x3ad2a3(0x1b9)])throw new Error(_0x3ad2a3(0x150));if(!_0x56047d[_0x3ad2a3(0x24a)])typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&(_0x56047d[_0x3ad2a3(0x24a)]=this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]);else{if(this[_0x3ad2a3(0x241)]['clientMaxWindowBits']===!0x1||typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&_0x56047d['client_max_window_bits']>this[_0x3ad2a3(0x241)]['clientMaxWindowBits'])throw new Error(_0x3ad2a3(0x276));}return _0x56047d;}[_0x4eccf0(0x24b)](_0x4f504d){const _0x233ac2=_0x4eccf0;return _0x4f504d[_0x233ac2(0x109)](_0x2d7607=>{const _0x21feae=_0x233ac2;Object[_0x21feae(0x149)](_0x2d7607)['forEach'](_0x35dd55=>{const _0x393188=_0x21feae;let _0x153d42=_0x2d7607[_0x35dd55];if(_0x153d42['length']>0x1)throw new Error(_0x393188(0x12c)+_0x35dd55+_0x393188(0x1fe));if(_0x153d42=_0x153d42[0x0],_0x35dd55==='client_max_window_bits'){if(_0x153d42!==!0x0){const _0x20fd1b=+_0x153d42;if(!Number[_0x393188(0x100)](_0x20fd1b)||_0x20fd1b<0x8||_0x20fd1b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x20fd1b;}else{if(!this['_isServer'])throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}}else{if(_0x35dd55===_0x393188(0xcb)){const _0x1c9ad3=+_0x153d42;if(!Number[_0x393188(0x100)](_0x1c9ad3)||_0x1c9ad3<0x8||_0x1c9ad3>0xf)throw new TypeError(_0x393188(0x120)+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x1c9ad3;}else{if(_0x35dd55==='client_no_context_takeover'||_0x35dd55===_0x393188(0x26a)){if(_0x153d42!==!0x0)throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}else throw new Error(_0x393188(0x16d)+_0x35dd55+'\x22');}}_0x2d7607[_0x35dd55]=_0x153d42;});}),_0x4f504d;}[_0x4eccf0(0x22e)](_0x231ffb,_0x2eeb1e,_0x4cd62b){const _0x45a906=_0x4eccf0;_0x3652e3[_0x45a906(0x19c)](_0x17de65=>{const _0x1899fb=_0x45a906;this[_0x1899fb(0x1d1)](_0x231ffb,_0x2eeb1e,(_0x5d5c2e,_0x1a50cf)=>{_0x17de65(),_0x4cd62b(_0x5d5c2e,_0x1a50cf);});});}[_0x4eccf0(0x154)](_0x49d750,_0x26c7c3,_0x7333f){const _0x4b3222=_0x4eccf0;_0x3652e3[_0x4b3222(0x19c)](_0x7c20dc=>{const _0x5cc5a1=_0x4b3222;this[_0x5cc5a1(0x1da)](_0x49d750,_0x26c7c3,(_0x1c3287,_0x3dd40c)=>{_0x7c20dc(),_0x7333f(_0x1c3287,_0x3dd40c);});});}[_0x4eccf0(0x1d1)](_0x202c66,_0x272785,_0x49e311){const _0x202af0=_0x4eccf0,_0x3c5e1b=this[_0x202af0(0x1f8)]?_0x202af0(0x216):_0x202af0(0x1d4);if(!this[_0x202af0(0x106)]){const _0x4aeef7=_0x3c5e1b+_0x202af0(0x174),_0x3cbdd5=typeof this[_0x202af0(0x18d)][_0x4aeef7]!='number'?_0x2b68e2['Z_DEFAULT_WINDOWBITS']:this[_0x202af0(0x18d)][_0x4aeef7];this[_0x202af0(0x106)]=_0x2b68e2[_0x202af0(0x25e)]({...this['_options'][_0x202af0(0x180)],'windowBits':_0x3cbdd5}),this['_inflate'][_0x445dcf]=this,this['_inflate'][_0x26678b]=0x0,this[_0x202af0(0x106)][_0x23f0ce]=[],this[_0x202af0(0x106)]['on']('error',_0x553ae8),this[_0x202af0(0x106)]['on']('data',_0x102f13);}this[_0x202af0(0x106)][_0x4b0c19]=_0x49e311,this[_0x202af0(0x106)][_0x202af0(0xc5)](_0x202c66),_0x272785&&this[_0x202af0(0x106)]['write'](_0xa2a1de),this[_0x202af0(0x106)]['flush'](()=>{const _0x15efb=_0x202af0,_0x3acf25=this['_inflate'][_0x31fb1f];if(_0x3acf25){this[_0x15efb(0x106)][_0x15efb(0xe6)](),this['_inflate']=null,_0x49e311(_0x3acf25);return;}const _0x355dae=_0x36419b[_0x15efb(0x1f1)](this['_inflate'][_0x23f0ce],this['_inflate'][_0x26678b]);this[_0x15efb(0x106)][_0x15efb(0x178)][_0x15efb(0x19d)]?(this[_0x15efb(0x106)]['close'](),this[_0x15efb(0x106)]=null):(this['_inflate'][_0x26678b]=0x0,this[_0x15efb(0x106)][_0x23f0ce]=[],_0x272785&&this[_0x15efb(0x18d)][_0x3c5e1b+_0x15efb(0x102)]&&this['_inflate'][_0x15efb(0x14d)]()),_0x49e311(null,_0x355dae);});}['_compress'](_0x3ed1c1,_0x523562,_0x59b207){const _0x2750dd=_0x4eccf0,_0x2ea570=this[_0x2750dd(0x1f8)]?_0x2750dd(0x1d4):_0x2750dd(0x216);if(!this[_0x2750dd(0x256)]){const _0x2b6fba=_0x2ea570+_0x2750dd(0x174),_0x2840f0=typeof this['params'][_0x2b6fba]!=_0x2750dd(0x1c8)?_0x2b68e2[_0x2750dd(0x1e3)]:this['params'][_0x2b6fba];this[_0x2750dd(0x256)]=_0x2b68e2['createDeflateRaw']({...this[_0x2750dd(0x241)][_0x2750dd(0xbc)],'windowBits':_0x2840f0}),this[_0x2750dd(0x256)][_0x26678b]=0x0,this['_deflate'][_0x23f0ce]=[],this['_deflate']['on'](_0x2750dd(0xea),_0x2b9b52);}this['_deflate'][_0x4b0c19]=_0x59b207,this['_deflate']['write'](_0x3ed1c1),this['_deflate'][_0x2750dd(0x16c)](_0x2b68e2[_0x2750dd(0x272)],()=>{const _0xce07ff=_0x2750dd;if(!this[_0xce07ff(0x256)])return;let _0x55a4ab=_0x36419b[_0xce07ff(0x1f1)](this[_0xce07ff(0x256)][_0x23f0ce],this[_0xce07ff(0x256)][_0x26678b]);_0x523562&&(_0x55a4ab=new _0x174896(_0x55a4ab['buffer'],_0x55a4ab[_0xce07ff(0x26f)],_0x55a4ab['length']-0x4)),this['_deflate'][_0x4b0c19]=null,this[_0xce07ff(0x256)][_0x26678b]=0x0,this[_0xce07ff(0x256)][_0x23f0ce]=[],_0x523562&&this[_0xce07ff(0x18d)][_0x2ea570+_0xce07ff(0x102)]&&this[_0xce07ff(0x256)][_0xce07ff(0x14d)](),_0x59b207(null,_0x55a4ab);});}}ve=_0x4e9b28;function _0x2b9b52(_0x28ad78){const _0xc71c80=_0x4eccf0;this[_0x23f0ce][_0xc71c80(0x127)](_0x28ad78),this[_0x26678b]+=_0x28ad78[_0xc71c80(0x1f5)];}function _0x102f13(_0x5cd51f){const _0x29eef1=_0x4eccf0;if(this[_0x26678b]+=_0x5cd51f[_0x29eef1(0x1f5)],this[_0x445dcf]['_maxPayload']<0x1||this[_0x26678b]<=this[_0x445dcf][_0x29eef1(0x11f)]){this[_0x23f0ce]['push'](_0x5cd51f);return;}this[_0x31fb1f]=new RangeError(_0x29eef1(0x226)),this[_0x31fb1f]['code']=_0x29eef1(0x203),this[_0x31fb1f][_0x44cc8f]=0x3f1,this[_0x29eef1(0x1d9)](_0x29eef1(0xea),_0x102f13),this[_0x29eef1(0x14d)]();}function _0x553ae8(_0x388863){const _0x175fda=_0x4eccf0;this[_0x445dcf][_0x175fda(0x106)]=null,_0x388863[_0x44cc8f]=0x3ef,this[_0x4b0c19](_0x388863);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Dt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Bt=at(Rt);var Ye;function ae(){const _0x282656=_0x4a8b65;if(Ye)return ie[_0x282656(0x1eb)];Ye=0x1;const {isUtf8:_0x4a3a63}=wt,{hasBlob:_0x12e43a}=H(),_0x5d3760=[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 _0x2b4b26(_0x4c1f95){return _0x4c1f95>=0x3e8&&_0x4c1f95<=0x3f6&&_0x4c1f95!==0x3ec&&_0x4c1f95!==0x3ed&&_0x4c1f95!==0x3ee||_0x4c1f95>=0xbb8&&_0x4c1f95<=0x1387;}function _0x281f2c(_0x3a76c7){const _0x42e5c3=_0x282656,_0x5c633e=_0x3a76c7[_0x42e5c3(0x1f5)];let _0x5a77f1=0x0;for(;_0x5a77f1<_0x5c633e;)if((_0x3a76c7[_0x5a77f1]&0x80)===0x0)_0x5a77f1++;else{if((_0x3a76c7[_0x5a77f1]&0xe0)===0xc0){if(_0x5a77f1+0x1===_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1]&0xfe)===0xc0)return!0x1;_0x5a77f1+=0x2;}else{if((_0x3a76c7[_0x5a77f1]&0xf0)===0xe0){if(_0x5a77f1+0x2>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xe0&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0x80||_0x3a76c7[_0x5a77f1]===0xed&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0xa0)return!0x1;_0x5a77f1+=0x3;}else{if((_0x3a76c7[_0x5a77f1]&0xf8)===0xf0){if(_0x5a77f1+0x3>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x3]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xf0&&(_0x3a76c7[_0x5a77f1+0x1]&0xf0)===0x80||_0x3a76c7[_0x5a77f1]===0xf4&&_0x3a76c7[_0x5a77f1+0x1]>0x8f||_0x3a76c7[_0x5a77f1]>0xf4)return!0x1;_0x5a77f1+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e4758(_0x4b4fd6){const _0x124df7=_0x282656;return _0x12e43a&&typeof _0x4b4fd6==_0x124df7(0x151)&&typeof _0x4b4fd6[_0x124df7(0x1db)]=='function'&&typeof _0x4b4fd6[_0x124df7(0x220)]==_0x124df7(0x1d2)&&typeof _0x4b4fd6[_0x124df7(0x123)]==_0x124df7(0x17b)&&(_0x4b4fd6[Symbol[_0x124df7(0x18b)]]===_0x124df7(0x1c6)||_0x4b4fd6[Symbol['toStringTag']]===_0x124df7(0x22b));}if(ie[_0x282656(0x1eb)]={'isBlob':_0x3e4758,'isValidStatusCode':_0x2b4b26,'isValidUTF8':_0x281f2c,'tokenChars':_0x5d3760},_0x4a3a63)ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x305832){const _0x4a7f2d=_0x282656;return _0x305832[_0x4a7f2d(0x1f5)]<0x18?_0x281f2c(_0x305832):_0x4a3a63(_0x305832);};else{if(!process[_0x282656(0x1dc)][_0x282656(0x25c)])try{const _0x5a42fb=Bt;ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x4439ea){return _0x4439ea['length']<0x20?_0x281f2c(_0x4439ea):_0x5a42fb(_0x4439ea);};}catch{}}return ie[_0x282656(0x1eb)];}var Se,Ke;function lt(){const _0xf9aa6e=_0x4a8b65;if(Ke)return Se;Ke=0x1;const {Writable:_0x5bd1d0}=oe,_0x2528fb=he(),{BINARY_TYPES:_0xb15eb0,EMPTY_BUFFER:_0x39c987,kStatusCode:_0xde1a92,kWebSocket:_0x2f3320}=H(),{concat:_0xee3402,toArrayBuffer:_0x314894,unmask:_0x27169b}=ce(),{isValidStatusCode:_0xbcd8e7,isValidUTF8:_0x19eabd}=ae(),_0x48f26e=Buffer[Symbol[_0xf9aa6e(0x1d6)]],_0x9bf35=0x0,_0x1d7350=0x1,_0x29460a=0x2,_0x262a59=0x3,_0x379128=0x4,_0x1321e5=0x5,_0x1f6f51=0x6;class _0x144e14 extends _0x5bd1d0{constructor(_0x4cd376={}){const _0xc5492a=_0xf9aa6e;super(),this[_0xc5492a(0x27e)]=_0x4cd376[_0xc5492a(0x1cb)]!==void 0x0?_0x4cd376[_0xc5492a(0x1cb)]:!0x0,this[_0xc5492a(0x156)]=_0x4cd376[_0xc5492a(0x221)]||_0xb15eb0[0x0],this[_0xc5492a(0x136)]=_0x4cd376[_0xc5492a(0x16b)]||{},this[_0xc5492a(0x1f8)]=!!_0x4cd376[_0xc5492a(0x110)],this[_0xc5492a(0x11f)]=_0x4cd376[_0xc5492a(0xcd)]|0x0,this['_skipUTF8Validation']=!!_0x4cd376[_0xc5492a(0x24e)],this[_0x2f3320]=void 0x0,this[_0xc5492a(0x13a)]=0x0,this['_buffers']=[],this[_0xc5492a(0x25d)]=!0x1,this[_0xc5492a(0x1a8)]=0x0,this[_0xc5492a(0xbb)]=void 0x0,this['_fragmented']=0x0,this[_0xc5492a(0x219)]=!0x1,this[_0xc5492a(0x1f6)]=!0x1,this[_0xc5492a(0x157)]=0x0,this[_0xc5492a(0x1a3)]=0x0,this[_0xc5492a(0x11c)]=0x0,this[_0xc5492a(0x224)]=[],this[_0xc5492a(0x169)]=!0x1,this[_0xc5492a(0x189)]=!0x1,this[_0xc5492a(0x1bf)]=_0x9bf35;}[_0xf9aa6e(0x1a5)](_0x4d64f9,_0x983d5e,_0x23bd86){const _0x5ca4a9=_0xf9aa6e;if(this['_opcode']===0x8&&this[_0x5ca4a9(0x1bf)]==_0x9bf35)return _0x23bd86();this[_0x5ca4a9(0x13a)]+=_0x4d64f9[_0x5ca4a9(0x1f5)],this[_0x5ca4a9(0x212)][_0x5ca4a9(0x127)](_0x4d64f9),this[_0x5ca4a9(0x1e8)](_0x23bd86);}[_0xf9aa6e(0xc4)](_0x53e709){const _0x272b2f=_0xf9aa6e;if(this[_0x272b2f(0x13a)]-=_0x53e709,_0x53e709===this['_buffers'][0x0]['length'])return this['_buffers']['shift']();if(_0x53e709<this[_0x272b2f(0x212)][0x0][_0x272b2f(0x1f5)]){const _0x202f65=this[_0x272b2f(0x212)][0x0];return this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x202f65[_0x272b2f(0x267)],_0x202f65['byteOffset']+_0x53e709,_0x202f65[_0x272b2f(0x1f5)]-_0x53e709),new _0x48f26e(_0x202f65['buffer'],_0x202f65[_0x272b2f(0x26f)],_0x53e709);}const _0x139b9a=Buffer[_0x272b2f(0x240)](_0x53e709);do{const _0x2c35cd=this[_0x272b2f(0x212)][0x0],_0x361146=_0x139b9a[_0x272b2f(0x1f5)]-_0x53e709;_0x53e709>=_0x2c35cd[_0x272b2f(0x1f5)]?_0x139b9a['set'](this[_0x272b2f(0x212)][_0x272b2f(0x163)](),_0x361146):(_0x139b9a[_0x272b2f(0xc8)](new Uint8Array(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)],_0x53e709),_0x361146),this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)]+_0x53e709,_0x2c35cd[_0x272b2f(0x1f5)]-_0x53e709)),_0x53e709-=_0x2c35cd[_0x272b2f(0x1f5)];}while(_0x53e709>0x0);return _0x139b9a;}[_0xf9aa6e(0x1e8)](_0x2a22ec){const _0x27e00b=_0xf9aa6e;this[_0x27e00b(0x189)]=!0x0;do switch(this[_0x27e00b(0x1bf)]){case _0x9bf35:this[_0x27e00b(0x1f9)](_0x2a22ec);break;case _0x1d7350:this[_0x27e00b(0x21e)](_0x2a22ec);break;case _0x29460a:this[_0x27e00b(0x1c3)](_0x2a22ec);break;case _0x262a59:this[_0x27e00b(0x209)]();break;case _0x379128:this[_0x27e00b(0x187)](_0x2a22ec);break;case _0x1321e5:case _0x1f6f51:this[_0x27e00b(0x189)]=!0x1;return;}while(this[_0x27e00b(0x189)]);this[_0x27e00b(0x169)]||_0x2a22ec();}[_0xf9aa6e(0x1f9)](_0x3fd261){const _0x5afc38=_0xf9aa6e;if(this[_0x5afc38(0x13a)]<0x2){this['_loop']=!0x1;return;}const _0x360dc1=this[_0x5afc38(0xc4)](0x2);if((_0x360dc1[0x0]&0x30)!==0x0){const _0x6fc228=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1a4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3fd261(_0x6fc228);return;}const _0x46b3fa=(_0x360dc1[0x0]&0x40)===0x40;if(_0x46b3fa&&!this[_0x5afc38(0x136)][_0x2528fb[_0x5afc38(0x16e)]]){const _0x166224=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x166224);return;}if(this['_fin']=(_0x360dc1[0x0]&0x80)===0x80,this['_opcode']=_0x360dc1[0x0]&0xf,this['_payloadLength']=_0x360dc1[0x1]&0x7f,this[_0x5afc38(0x157)]===0x0){if(_0x46b3fa){const _0x51d3e2=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x51d3e2);return;}if(!this['_fragmented']){const _0x3395c6=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x3395c6);return;}this[_0x5afc38(0x157)]=this['_fragmented'];}else{if(this[_0x5afc38(0x157)]===0x1||this[_0x5afc38(0x157)]===0x2){if(this['_fragmented']){const _0x4b665c=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1cd)+this[_0x5afc38(0x157)],!0x0,0x3ea,_0x5afc38(0x198));_0x3fd261(_0x4b665c);return;}this[_0x5afc38(0x25d)]=_0x46b3fa;}else{if(this[_0x5afc38(0x157)]>0x7&&this['_opcode']<0xb){if(!this[_0x5afc38(0x1f6)]){const _0x2a94a1=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x14c),!0x0,0x3ea,_0x5afc38(0x17e));_0x3fd261(_0x2a94a1);return;}if(_0x46b3fa){const _0x30913c=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x30913c);return;}if(this[_0x5afc38(0x1a8)]>0x7d||this['_opcode']===0x8&&this[_0x5afc38(0x1a8)]===0x1){const _0x5d6fa2=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x225)+this[_0x5afc38(0x1a8)],!0x0,0x3ea,_0x5afc38(0x24d));_0x3fd261(_0x5d6fa2);return;}}else{const _0x429ebd=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x429ebd);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x5afc38(0x235)]=this[_0x5afc38(0x157)]),this[_0x5afc38(0x219)]=(_0x360dc1[0x1]&0x80)===0x80,this[_0x5afc38(0x1f8)]){if(!this['_masked']){const _0x337177=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1de),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3fd261(_0x337177);return;}}else{if(this[_0x5afc38(0x219)]){const _0xfe3d5e=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x166),!0x0,0x3ea,_0x5afc38(0x205));_0x3fd261(_0xfe3d5e);return;}}this[_0x5afc38(0x1a8)]===0x7e?this[_0x5afc38(0x1bf)]=_0x1d7350:this[_0x5afc38(0x1a8)]===0x7f?this['_state']=_0x29460a:this[_0x5afc38(0x18e)](_0x3fd261);}['getPayloadLength16'](_0x21b1ba){const _0x5b1af9=_0xf9aa6e;if(this[_0x5b1af9(0x13a)]<0x2){this['_loop']=!0x1;return;}this[_0x5b1af9(0x1a8)]=this[_0x5b1af9(0xc4)](0x2)[_0x5b1af9(0x243)](0x0),this[_0x5b1af9(0x18e)](_0x21b1ba);}[_0xf9aa6e(0x1c3)](_0x113b24){const _0x5c7c3d=_0xf9aa6e;if(this[_0x5c7c3d(0x13a)]<0x8){this[_0x5c7c3d(0x189)]=!0x1;return;}const _0x3ba392=this[_0x5c7c3d(0xc4)](0x8),_0x57e3b9=_0x3ba392[_0x5c7c3d(0x195)](0x0);if(_0x57e3b9>Math[_0x5c7c3d(0x249)](0x2,0x15)-0x1){const _0x1c2ec4=this[_0x5c7c3d(0x146)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x5c7c3d(0x22a));_0x113b24(_0x1c2ec4);return;}this[_0x5c7c3d(0x1a8)]=_0x57e3b9*Math[_0x5c7c3d(0x249)](0x2,0x20)+_0x3ba392[_0x5c7c3d(0x195)](0x4),this[_0x5c7c3d(0x18e)](_0x113b24);}['haveLength'](_0x79b219){const _0x362e8c=_0xf9aa6e;if(this[_0x362e8c(0x1a8)]&&this[_0x362e8c(0x157)]<0x8&&(this[_0x362e8c(0x1a3)]+=this[_0x362e8c(0x1a8)],this[_0x362e8c(0x1a3)]>this['_maxPayload']&&this[_0x362e8c(0x11f)]>0x0)){const _0x18e4c6=this[_0x362e8c(0x146)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x362e8c(0x203));_0x79b219(_0x18e4c6);return;}this[_0x362e8c(0x219)]?this['_state']=_0x262a59:this['_state']=_0x379128;}[_0xf9aa6e(0x209)](){const _0x20519f=_0xf9aa6e;if(this[_0x20519f(0x13a)]<0x4){this[_0x20519f(0x189)]=!0x1;return;}this[_0x20519f(0xbb)]=this['consume'](0x4),this[_0x20519f(0x1bf)]=_0x379128;}['getData'](_0x1d73b0){const _0x2c1074=_0xf9aa6e;let _0x40973e=_0x39c987;if(this[_0x2c1074(0x1a8)]){if(this['_bufferedBytes']<this[_0x2c1074(0x1a8)]){this[_0x2c1074(0x189)]=!0x1;return;}_0x40973e=this[_0x2c1074(0xc4)](this['_payloadLength']),this[_0x2c1074(0x219)]&&(this[_0x2c1074(0xbb)][0x0]|this[_0x2c1074(0xbb)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x27169b(_0x40973e,this[_0x2c1074(0xbb)]);}if(this[_0x2c1074(0x157)]>0x7){this[_0x2c1074(0xe9)](_0x40973e,_0x1d73b0);return;}if(this[_0x2c1074(0x25d)]){this[_0x2c1074(0x1bf)]=_0x1321e5,this['decompress'](_0x40973e,_0x1d73b0);return;}_0x40973e[_0x2c1074(0x1f5)]&&(this[_0x2c1074(0x11c)]=this['_totalPayloadLength'],this[_0x2c1074(0x224)][_0x2c1074(0x127)](_0x40973e)),this[_0x2c1074(0x20e)](_0x1d73b0);}[_0xf9aa6e(0x22e)](_0x410012,_0x2f7832){const _0x55bf15=_0xf9aa6e;this[_0x55bf15(0x136)][_0x2528fb['extensionName']]['decompress'](_0x410012,this[_0x55bf15(0x1f6)],(_0xb7c366,_0x9db0da)=>{const _0x55f420=_0x55bf15;if(_0xb7c366)return _0x2f7832(_0xb7c366);if(_0x9db0da[_0x55f420(0x1f5)]){if(this[_0x55f420(0x11c)]+=_0x9db0da['length'],this['_messageLength']>this[_0x55f420(0x11f)]&&this['_maxPayload']>0x0){const _0x44ae39=this['createError'](RangeError,_0x55f420(0x226),!0x1,0x3f1,_0x55f420(0x203));_0x2f7832(_0x44ae39);return;}this[_0x55f420(0x224)][_0x55f420(0x127)](_0x9db0da);}this[_0x55f420(0x20e)](_0x2f7832),this[_0x55f420(0x1bf)]===_0x9bf35&&this[_0x55f420(0x1e8)](_0x2f7832);});}[_0xf9aa6e(0x20e)](_0x3a31f7){const _0x32f266=_0xf9aa6e;if(!this[_0x32f266(0x1f6)]){this[_0x32f266(0x1bf)]=_0x9bf35;return;}const _0x3ac6de=this[_0x32f266(0x11c)],_0x127d2b=this[_0x32f266(0x224)];if(this['_totalPayloadLength']=0x0,this[_0x32f266(0x11c)]=0x0,this[_0x32f266(0x235)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x150533;this[_0x32f266(0x156)]===_0x32f266(0x284)?_0x150533=_0xee3402(_0x127d2b,_0x3ac6de):this[_0x32f266(0x156)]===_0x32f266(0x1e1)?_0x150533=_0x314894(_0xee3402(_0x127d2b,_0x3ac6de)):this[_0x32f266(0x156)]===_0x32f266(0x281)?_0x150533=new Blob(_0x127d2b):_0x150533=_0x127d2b,this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)](_0x32f266(0x13c),_0x150533,!0x0),this[_0x32f266(0x1bf)]=_0x9bf35):(this[_0x32f266(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x356064=_0x32f266;this[_0x356064(0x19a)](_0x356064(0x13c),_0x150533,!0x0),this[_0x356064(0x1bf)]=_0x9bf35,this[_0x356064(0x1e8)](_0x3a31f7);}));}else{const _0x54fd8c=_0xee3402(_0x127d2b,_0x3ac6de);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x54fd8c)){const _0x33129a=this['createError'](Error,_0x32f266(0x165),!0x0,0x3ef,_0x32f266(0x283));_0x3a31f7(_0x33129a);return;}this['_state']===_0x1321e5||this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)]('message',_0x54fd8c,!0x1),this[_0x32f266(0x1bf)]=_0x9bf35):(this['_state']=_0x1f6f51,setImmediate(()=>{const _0x9fbfa8=_0x32f266;this['emit']('message',_0x54fd8c,!0x1),this[_0x9fbfa8(0x1bf)]=_0x9bf35,this[_0x9fbfa8(0x1e8)](_0x3a31f7);}));}}['controlMessage'](_0x1912cb,_0x5583f7){const _0x5517d0=_0xf9aa6e;if(this['_opcode']===0x8){if(_0x1912cb[_0x5517d0(0x1f5)]===0x0)this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),0x3ed,_0x39c987),this[_0x5517d0(0xce)]();else{const _0x5ed50b=_0x1912cb[_0x5517d0(0x243)](0x0);if(!_0xbcd8e7(_0x5ed50b)){const _0x372139=this[_0x5517d0(0x146)](RangeError,'invalid\x20status\x20code\x20'+_0x5ed50b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5583f7(_0x372139);return;}const _0x57ab8c=new _0x48f26e(_0x1912cb[_0x5517d0(0x267)],_0x1912cb[_0x5517d0(0x26f)]+0x2,_0x1912cb[_0x5517d0(0x1f5)]-0x2);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x57ab8c)){const _0x365e16=this[_0x5517d0(0x146)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5517d0(0x283));_0x5583f7(_0x365e16);return;}this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),_0x5ed50b,_0x57ab8c),this[_0x5517d0(0xce)]();}this[_0x5517d0(0x1bf)]=_0x9bf35;return;}this[_0x5517d0(0x27e)]?(this[_0x5517d0(0x19a)](this[_0x5517d0(0x157)]===0x9?_0x5517d0(0x179):_0x5517d0(0xcc),_0x1912cb),this[_0x5517d0(0x1bf)]=_0x9bf35):(this[_0x5517d0(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x5adfa3=_0x5517d0;this['emit'](this[_0x5adfa3(0x157)]===0x9?_0x5adfa3(0x179):_0x5adfa3(0xcc),_0x1912cb),this[_0x5adfa3(0x1bf)]=_0x9bf35,this[_0x5adfa3(0x1e8)](_0x5583f7);}));}[_0xf9aa6e(0x146)](_0x57ec2b,_0x262e02,_0x3b39ff,_0x3850d0,_0x2f8b80){const _0x323826=_0xf9aa6e;this['_loop']=!0x1,this[_0x323826(0x169)]=!0x0;const _0x1dc6bd=new _0x57ec2b(_0x3b39ff?_0x323826(0xfd)+_0x262e02:_0x262e02);return Error[_0x323826(0x1a9)](_0x1dc6bd,this['createError']),_0x1dc6bd[_0x323826(0x131)]=_0x2f8b80,_0x1dc6bd[_0xde1a92]=_0x3850d0,_0x1dc6bd;}}return Se=_0x144e14,Se;}function _0x5911(_0xf66ba2,_0x1368b1){const _0x391c22=_0x391c();return _0x5911=function(_0x591131,_0x377d73){_0x591131=_0x591131-0xba;let _0x560735=_0x391c22[_0x591131];return _0x560735;},_0x5911(_0xf66ba2,_0x1368b1);}var Ee,Xe;function ft(){const _0x56051c=_0x4a8b65;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x32e5df}=oe,{randomFillSync:_0x1bc2be}=Le,_0x4c476d=he(),{EMPTY_BUFFER:_0x1d3649,kWebSocket:_0x2827bb,NOOP:_0x13858a}=H(),{isBlob:_0x431e17,isValidStatusCode:_0x460d7a}=ae(),{mask:_0x3cce31,toBuffer:_0x1e4d43}=ce(),_0x2df1aa=Symbol(_0x56051c(0x27f)),_0x12dddd=Buffer[_0x56051c(0xee)](0x4),_0xb765e6=0x8*0x400;let _0x26103f,_0xb923c1=_0xb765e6;const _0x4d38fe=0x0,_0x4c6b74=0x1,_0x1a28f6=0x2;class _0x11da04{constructor(_0x53b24b,_0xbb6429,_0x32c265){const _0x22c14d=_0x56051c;this[_0x22c14d(0x136)]=_0xbb6429||{},_0x32c265&&(this[_0x22c14d(0x167)]=_0x32c265,this[_0x22c14d(0x196)]=Buffer[_0x22c14d(0xee)](0x4)),this['_socket']=_0x53b24b,this[_0x22c14d(0x1ef)]=!0x0,this['_compress']=!0x1,this[_0x22c14d(0x13a)]=0x0,this['_queue']=[],this[_0x22c14d(0x1bf)]=_0x4d38fe,this[_0x22c14d(0xd5)]=_0x13858a,this[_0x2827bb]=void 0x0;}static[_0x56051c(0x10b)](_0x4abcb4,_0x407474){const _0x385c7a=_0x56051c;let _0x1b8f96,_0x84e7e1=!0x1,_0x919f81=0x2,_0x46dc45=!0x1;_0x407474[_0x385c7a(0xe5)]&&(_0x1b8f96=_0x407474[_0x385c7a(0x229)]||_0x12dddd,_0x407474[_0x385c7a(0x236)]?_0x407474[_0x385c7a(0x236)](_0x1b8f96):(_0xb923c1===_0xb765e6&&(_0x26103f===void 0x0&&(_0x26103f=Buffer[_0x385c7a(0xee)](_0xb765e6)),_0x1bc2be(_0x26103f,0x0,_0xb765e6),_0xb923c1=0x0),_0x1b8f96[0x0]=_0x26103f[_0xb923c1++],_0x1b8f96[0x1]=_0x26103f[_0xb923c1++],_0x1b8f96[0x2]=_0x26103f[_0xb923c1++],_0x1b8f96[0x3]=_0x26103f[_0xb923c1++]),_0x46dc45=(_0x1b8f96[0x0]|_0x1b8f96[0x1]|_0x1b8f96[0x2]|_0x1b8f96[0x3])===0x0,_0x919f81=0x6);let _0x252ceb;typeof _0x4abcb4=='string'?(!_0x407474[_0x385c7a(0xe5)]||_0x46dc45)&&_0x407474[_0x2df1aa]!==void 0x0?_0x252ceb=_0x407474[_0x2df1aa]:(_0x4abcb4=Buffer[_0x385c7a(0x1c1)](_0x4abcb4),_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)]):(_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)],_0x84e7e1=_0x407474[_0x385c7a(0xe5)]&&_0x407474[_0x385c7a(0x26d)]&&!_0x46dc45);let _0x2f578a=_0x252ceb;_0x252ceb>=0x10000?(_0x919f81+=0x8,_0x2f578a=0x7f):_0x252ceb>0x7d&&(_0x919f81+=0x2,_0x2f578a=0x7e);const _0x526606=Buffer['allocUnsafe'](_0x84e7e1?_0x252ceb+_0x919f81:_0x919f81);return _0x526606[0x0]=_0x407474[_0x385c7a(0x1f3)]?_0x407474[_0x385c7a(0x217)]|0x80:_0x407474[_0x385c7a(0x217)],_0x407474['rsv1']&&(_0x526606[0x0]|=0x40),_0x526606[0x1]=_0x2f578a,_0x2f578a===0x7e?_0x526606[_0x385c7a(0x1a7)](_0x252ceb,0x2):_0x2f578a===0x7f&&(_0x526606[0x2]=_0x526606[0x3]=0x0,_0x526606[_0x385c7a(0x1ec)](_0x252ceb,0x4,0x6)),_0x407474['mask']?(_0x526606[0x1]|=0x80,_0x526606[_0x919f81-0x4]=_0x1b8f96[0x0],_0x526606[_0x919f81-0x3]=_0x1b8f96[0x1],_0x526606[_0x919f81-0x2]=_0x1b8f96[0x2],_0x526606[_0x919f81-0x1]=_0x1b8f96[0x3],_0x46dc45?[_0x526606,_0x4abcb4]:_0x84e7e1?(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x526606,_0x919f81,_0x252ceb),[_0x526606]):(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x4abcb4,0x0,_0x252ceb),[_0x526606,_0x4abcb4])):[_0x526606,_0x4abcb4];}[_0x56051c(0xe6)](_0x4f86b7,_0x27efc3,_0x145617,_0x1f09cb){const _0x5a7b24=_0x56051c;let _0x5a5fad;if(_0x4f86b7===void 0x0)_0x5a5fad=_0x1d3649;else{if(typeof _0x4f86b7!=_0x5a7b24(0x1c8)||!_0x460d7a(_0x4f86b7))throw new TypeError(_0x5a7b24(0x21d));if(_0x27efc3===void 0x0||!_0x27efc3[_0x5a7b24(0x1f5)])_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0);else{const _0x5580f6=Buffer['byteLength'](_0x27efc3);if(_0x5580f6>0x7b)throw new RangeError(_0x5a7b24(0x18f));_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2+_0x5580f6),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0),typeof _0x27efc3=='string'?_0x5a5fad[_0x5a7b24(0xc5)](_0x27efc3,0x2):_0x5a5fad[_0x5a7b24(0xc8)](_0x27efc3,0x2);}}const _0x32825={[_0x2df1aa]:_0x5a5fad['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x145617,'maskBuffer':this[_0x5a7b24(0x196)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5a7b24(0x1bf)]!==_0x4d38fe?this[_0x5a7b24(0x201)]([this[_0x5a7b24(0x1b0)],_0x5a5fad,!0x1,_0x32825,_0x1f09cb]):this[_0x5a7b24(0x164)](_0x11da04[_0x5a7b24(0x10b)](_0x5a5fad,_0x32825),_0x1f09cb);}[_0x56051c(0x179)](_0x5a725d,_0xd7501e,_0x9ea95a){const _0x29e1db=_0x56051c;let _0xd4cdfd,_0x573799;if(typeof _0x5a725d==_0x29e1db(0x1d2)?(_0xd4cdfd=Buffer['byteLength'](_0x5a725d),_0x573799=!0x1):_0x431e17(_0x5a725d)?(_0xd4cdfd=_0x5a725d[_0x29e1db(0x1c2)],_0x573799=!0x1):(_0x5a725d=_0x1e4d43(_0x5a725d),_0xd4cdfd=_0x5a725d[_0x29e1db(0x1f5)],_0x573799=_0x1e4d43[_0x29e1db(0x26d)]),_0xd4cdfd>0x7d)throw new RangeError(_0x29e1db(0xf4));const _0x520866={[_0x2df1aa]:_0xd4cdfd,'fin':!0x0,'generateMask':this[_0x29e1db(0x167)],'mask':_0xd7501e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x573799,'rsv1':!0x1};_0x431e17(_0x5a725d)?this[_0x29e1db(0x1bf)]!==_0x4d38fe?this[_0x29e1db(0x201)]([this[_0x29e1db(0xd6)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this['getBlobData'](_0x5a725d,!0x1,_0x520866,_0x9ea95a):this[_0x29e1db(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0x29e1db(0x1b0)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this[_0x29e1db(0x164)](_0x11da04[_0x29e1db(0x10b)](_0x5a725d,_0x520866),_0x9ea95a);}['pong'](_0x39c701,_0x624a3b,_0x37e49a){const _0xe3305e=_0x56051c;let _0x21354f,_0x4db2fb;if(typeof _0x39c701=='string'?(_0x21354f=Buffer['byteLength'](_0x39c701),_0x4db2fb=!0x1):_0x431e17(_0x39c701)?(_0x21354f=_0x39c701[_0xe3305e(0x1c2)],_0x4db2fb=!0x1):(_0x39c701=_0x1e4d43(_0x39c701),_0x21354f=_0x39c701[_0xe3305e(0x1f5)],_0x4db2fb=_0x1e4d43[_0xe3305e(0x26d)]),_0x21354f>0x7d)throw new RangeError(_0xe3305e(0xf4));const _0x43e5ef={[_0x2df1aa]:_0x21354f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x624a3b,'maskBuffer':this[_0xe3305e(0x196)],'opcode':0xa,'readOnly':_0x4db2fb,'rsv1':!0x1};_0x431e17(_0x39c701)?this[_0xe3305e(0x1bf)]!==_0x4d38fe?this[_0xe3305e(0x201)]([this[_0xe3305e(0xd6)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this['getBlobData'](_0x39c701,!0x1,_0x43e5ef,_0x37e49a):this[_0xe3305e(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0xe3305e(0x1b0)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this[_0xe3305e(0x164)](_0x11da04[_0xe3305e(0x10b)](_0x39c701,_0x43e5ef),_0x37e49a);}['send'](_0x45f27a,_0x1d880d,_0x507f04){const _0x3aba96=_0x56051c,_0x4c46dc=this[_0x3aba96(0x136)][_0x4c476d['extensionName']];let _0xf6e0ed=_0x1d880d[_0x3aba96(0x116)]?0x2:0x1,_0x507dba=_0x1d880d[_0x3aba96(0x154)],_0xcbf50e,_0x14d901;typeof _0x45f27a==_0x3aba96(0x1d2)?(_0xcbf50e=Buffer[_0x3aba96(0x132)](_0x45f27a),_0x14d901=!0x1):_0x431e17(_0x45f27a)?(_0xcbf50e=_0x45f27a[_0x3aba96(0x1c2)],_0x14d901=!0x1):(_0x45f27a=_0x1e4d43(_0x45f27a),_0xcbf50e=_0x45f27a[_0x3aba96(0x1f5)],_0x14d901=_0x1e4d43[_0x3aba96(0x26d)]),this[_0x3aba96(0x1ef)]?(this['_firstFragment']=!0x1,_0x507dba&&_0x4c46dc&&_0x4c46dc[_0x3aba96(0x18d)][_0x4c46dc[_0x3aba96(0x1f8)]?'server_no_context_takeover':_0x3aba96(0x1b9)]&&(_0x507dba=_0xcbf50e>=_0x4c46dc['_threshold']),this['_compress']=_0x507dba):(_0x507dba=!0x1,_0xf6e0ed=0x0),_0x1d880d[_0x3aba96(0x1f3)]&&(this[_0x3aba96(0x1ef)]=!0x0);const _0x476b23={[_0x2df1aa]:_0xcbf50e,'fin':_0x1d880d[_0x3aba96(0x1f3)],'generateMask':this[_0x3aba96(0x167)],'mask':_0x1d880d[_0x3aba96(0xe5)],'maskBuffer':this[_0x3aba96(0x196)],'opcode':_0xf6e0ed,'readOnly':_0x14d901,'rsv1':_0x507dba};_0x431e17(_0x45f27a)?this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0xd6)],_0x45f27a,this['_compress'],_0x476b23,_0x507f04]):this[_0x3aba96(0xd6)](_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04):this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0x1b0)],_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04]):this[_0x3aba96(0x1b0)](_0x45f27a,this['_compress'],_0x476b23,_0x507f04);}['getBlobData'](_0x35005a,_0x4ae014,_0x5e1730,_0x853af9){const _0x5e3c5c=_0x56051c;this['_bufferedBytes']+=_0x5e1730[_0x2df1aa],this['_state']=_0x1a28f6,_0x35005a[_0x5e3c5c(0x1db)]()['then'](_0x285300=>{const _0x462ebb=_0x5e3c5c;if(this[_0x462ebb(0x22c)]['destroyed']){const _0x11bac2=new Error(_0x462ebb(0x230));process[_0x462ebb(0x1ae)](_0x1003f1,this,_0x11bac2,_0x853af9);return;}this[_0x462ebb(0x13a)]-=_0x5e1730[_0x2df1aa];const _0x155a5c=_0x1e4d43(_0x285300);_0x4ae014?this[_0x462ebb(0x1b0)](_0x155a5c,_0x4ae014,_0x5e1730,_0x853af9):(this[_0x462ebb(0x1bf)]=_0x4d38fe,this[_0x462ebb(0x164)](_0x11da04[_0x462ebb(0x10b)](_0x155a5c,_0x5e1730),_0x853af9),this[_0x462ebb(0x27b)]());})['catch'](_0x4b3a59=>{const _0x481b4b=_0x5e3c5c;process[_0x481b4b(0x1ae)](_0xae268f,this,_0x4b3a59,_0x853af9);});}[_0x56051c(0x1b0)](_0x1ab666,_0x1c7b4e,_0x4dff4c,_0x4e614e){const _0x3c0570=_0x56051c;if(!_0x1c7b4e){this[_0x3c0570(0x164)](_0x11da04[_0x3c0570(0x10b)](_0x1ab666,_0x4dff4c),_0x4e614e);return;}const _0x157509=this[_0x3c0570(0x136)][_0x4c476d[_0x3c0570(0x16e)]];this[_0x3c0570(0x13a)]+=_0x4dff4c[_0x2df1aa],this['_state']=_0x4c6b74,_0x157509['compress'](_0x1ab666,_0x4dff4c[_0x3c0570(0x1f3)],(_0x384cf,_0x21c094)=>{const _0x5d17ce=_0x3c0570;if(this[_0x5d17ce(0x22c)][_0x5d17ce(0x207)]){const _0x1dbc9f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1003f1(this,_0x1dbc9f,_0x4e614e);return;}this['_bufferedBytes']-=_0x4dff4c[_0x2df1aa],this[_0x5d17ce(0x1bf)]=_0x4d38fe,_0x4dff4c[_0x5d17ce(0x26d)]=!0x1,this[_0x5d17ce(0x164)](_0x11da04[_0x5d17ce(0x10b)](_0x21c094,_0x4dff4c),_0x4e614e),this[_0x5d17ce(0x27b)]();});}[_0x56051c(0x27b)](){const _0x256a70=_0x56051c;for(;this[_0x256a70(0x1bf)]===_0x4d38fe&&this[_0x256a70(0x143)]['length'];){const _0x468292=this['_queue'][_0x256a70(0x163)]();this['_bufferedBytes']-=_0x468292[0x3][_0x2df1aa],Reflect['apply'](_0x468292[0x0],this,_0x468292[_0x256a70(0x12e)](0x1));}}[_0x56051c(0x201)](_0x3bfb73){const _0x4efbf1=_0x56051c;this[_0x4efbf1(0x13a)]+=_0x3bfb73[0x3][_0x2df1aa],this[_0x4efbf1(0x143)][_0x4efbf1(0x127)](_0x3bfb73);}['sendFrame'](_0x5a7e86,_0x4e256a){const _0x707ec1=_0x56051c;_0x5a7e86[_0x707ec1(0x1f5)]===0x2?(this[_0x707ec1(0x22c)]['cork'](),this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0]),this['_socket'][_0x707ec1(0xc5)](_0x5a7e86[0x1],_0x4e256a),this[_0x707ec1(0x22c)]['uncork']()):this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0],_0x4e256a);}}Ee=_0x11da04;function _0x1003f1(_0x3ba265,_0x57cd34,_0xfad9f){const _0x48e987=_0x56051c;typeof _0xfad9f==_0x48e987(0x17b)&&_0xfad9f(_0x57cd34);for(let _0x56c8a6=0x0;_0x56c8a6<_0x3ba265[_0x48e987(0x143)][_0x48e987(0x1f5)];_0x56c8a6++){const _0x2ccfca=_0x3ba265[_0x48e987(0x143)][_0x56c8a6],_0x4fc4eb=_0x2ccfca[_0x2ccfca[_0x48e987(0x1f5)]-0x1];typeof _0x4fc4eb=='function'&&_0x4fc4eb(_0x57cd34);}}function _0xae268f(_0x4ebe81,_0x440361,_0x33b868){const _0x233a9a=_0x56051c;_0x1003f1(_0x4ebe81,_0x440361,_0x33b868),_0x4ebe81[_0x233a9a(0xd5)](_0x440361);}return Ee;}var xe,Ze;function It(){const _0x2368ca=_0x4a8b65;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x130a06,kListener:_0x27623e}=H(),_0x35d5d7=Symbol(_0x2368ca(0x115)),_0x57288c=Symbol('kData'),_0x53959f=Symbol(_0x2368ca(0x11a)),_0x3c952b=Symbol(_0x2368ca(0xe8)),_0x56942e=Symbol(_0x2368ca(0xed)),_0x5c2ca8=Symbol(_0x2368ca(0x244)),_0x4f0620=Symbol(_0x2368ca(0x1f4)),_0x3b9b90=Symbol('kWasClean');class _0x453bd3{constructor(_0x1ee7e8){this[_0x5c2ca8]=null,this[_0x4f0620]=_0x1ee7e8;}get[_0x2368ca(0x1b1)](){return this[_0x5c2ca8];}get['type'](){return this[_0x4f0620];}}Object['defineProperty'](_0x453bd3[_0x2368ca(0xd2)],_0x2368ca(0x1b1),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x453bd3['prototype'],'type',{'enumerable':!0x0});class _0x11333f extends _0x453bd3{constructor(_0x3aef70,_0x3e29e4={}){const _0x42fa0b=_0x2368ca;super(_0x3aef70),this[_0x35d5d7]=_0x3e29e4[_0x42fa0b(0x131)]===void 0x0?0x0:_0x3e29e4['code'],this[_0x56942e]=_0x3e29e4[_0x42fa0b(0xde)]===void 0x0?'':_0x3e29e4[_0x42fa0b(0xde)],this[_0x3b9b90]=_0x3e29e4['wasClean']===void 0x0?!0x1:_0x3e29e4[_0x42fa0b(0x20c)];}get[_0x2368ca(0x131)](){return this[_0x35d5d7];}get[_0x2368ca(0xde)](){return this[_0x56942e];}get['wasClean'](){return this[_0x3b9b90];}}Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x131),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0xde),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x20c),{'enumerable':!0x0});class _0x480e71 extends _0x453bd3{constructor(_0x7c271b,_0x57c067={}){const _0x5f09d2=_0x2368ca;super(_0x7c271b),this[_0x53959f]=_0x57c067[_0x5f09d2(0x227)]===void 0x0?null:_0x57c067[_0x5f09d2(0x227)],this[_0x3c952b]=_0x57c067[_0x5f09d2(0x13c)]===void 0x0?'':_0x57c067[_0x5f09d2(0x13c)];}get['error'](){return this[_0x53959f];}get[_0x2368ca(0x13c)](){return this[_0x3c952b];}}Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x227),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x13c),{'enumerable':!0x0});class _0x5eabbb extends _0x453bd3{constructor(_0x1d1b48,_0x3f9be0={}){const _0x4b6abe=_0x2368ca;super(_0x1d1b48),this[_0x57288c]=_0x3f9be0[_0x4b6abe(0xea)]===void 0x0?null:_0x3f9be0[_0x4b6abe(0xea)];}get['data'](){return this[_0x57288c];}}Object[_0x2368ca(0xe1)](_0x5eabbb[_0x2368ca(0xd2)],_0x2368ca(0xea),{'enumerable':!0x0}),xe={'CloseEvent':_0x11333f,'ErrorEvent':_0x480e71,'Event':_0x453bd3,'EventTarget':{'addEventListener'(_0x2f21d9,_0x295764,_0x4f4afb={}){const _0x1f2760=_0x2368ca;for(const _0x2b2fd2 of this['listeners'](_0x2f21d9))if(!_0x4f4afb[_0x130a06]&&_0x2b2fd2[_0x27623e]===_0x295764&&!_0x2b2fd2[_0x130a06])return;let _0x48587a;if(_0x2f21d9===_0x1f2760(0x13c))_0x48587a=function(_0x3322d5,_0x427966){const _0x377b52=_0x1f2760,_0x14b641=new _0x5eabbb(_0x377b52(0x13c),{'data':_0x427966?_0x3322d5:_0x3322d5[_0x377b52(0x147)]()});_0x14b641[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x14b641);};else{if(_0x2f21d9==='close')_0x48587a=function(_0x1d1ebf,_0x31abfa){const _0x246bd5=_0x1f2760,_0x18026f=new _0x11333f(_0x246bd5(0xe6),{'code':_0x1d1ebf,'reason':_0x31abfa[_0x246bd5(0x147)](),'wasClean':this[_0x246bd5(0x128)]&&this[_0x246bd5(0x253)]});_0x18026f[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x18026f);};else{if(_0x2f21d9===_0x1f2760(0x227))_0x48587a=function(_0x306466){const _0x453a25=_0x1f2760,_0x457295=new _0x480e71(_0x453a25(0x227),{'error':_0x306466,'message':_0x306466['message']});_0x457295[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x457295);};else{if(_0x2f21d9===_0x1f2760(0x148))_0x48587a=function(){const _0xb1ed1b=_0x1f2760,_0xd19e08=new _0x453bd3(_0xb1ed1b(0x148));_0xd19e08[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0xd19e08);};else return;}}}_0x48587a[_0x130a06]=!!_0x4f4afb[_0x130a06],_0x48587a[_0x27623e]=_0x295764,_0x4f4afb['once']?this[_0x1f2760(0xff)](_0x2f21d9,_0x48587a):this['on'](_0x2f21d9,_0x48587a);},'removeEventListener'(_0x11ad77,_0x51f948){const _0x4d1989=_0x2368ca;for(const _0x40f547 of this['listeners'](_0x11ad77))if(_0x40f547[_0x27623e]===_0x51f948&&!_0x40f547[_0x130a06]){this[_0x4d1989(0x1d9)](_0x11ad77,_0x40f547);break;}}},'MessageEvent':_0x5eabbb};function _0x51108b(_0x59884c,_0x22811e,_0x2124d7){const _0x2bb483=_0x2368ca;typeof _0x59884c=='object'&&_0x59884c[_0x2bb483(0x122)]?_0x59884c[_0x2bb483(0x122)][_0x2bb483(0x259)](_0x59884c,_0x2124d7):_0x59884c[_0x2bb483(0x259)](_0x22811e,_0x2124d7);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x566f54}=ae();function _0x4e7c28(_0x153431,_0x218919,_0xc7d41f){_0x153431[_0x218919]===void 0x0?_0x153431[_0x218919]=[_0xc7d41f]:_0x153431[_0x218919]['push'](_0xc7d41f);}function _0x583bcb(_0xdb7f04){const _0xe3b138=_0x5911,_0xdcc11c=Object['create'](null);let _0x420606=Object[_0xe3b138(0xe7)](null),_0x10391f=!0x1,_0x2379ee=!0x1,_0x255fa5=!0x1,_0x5bac7c,_0x9d8e23,_0x47702e=-0x1,_0x21df4c=-0x1,_0x139925=-0x1,_0x2492d7=0x0;for(;_0x2492d7<_0xdb7f04['length'];_0x2492d7++)if(_0x21df4c=_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7),_0x5bac7c===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x2492d7!==0x0&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0x36ec9e=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x21df4c===0x2c?(_0x4e7c28(_0xdcc11c,_0x36ec9e,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null)):_0x5bac7c=_0x36ec9e,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x9d8e23===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x20||_0x21df4c===0x9)_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7),_0x4e7c28(_0x420606,_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925),!0x0),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x47702e=_0x139925=-0x1;}else{if(_0x21df4c===0x3d&&_0x47702e!==-0x1&&_0x139925===-0x1)_0x9d8e23=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x2492d7),_0x47702e=_0x139925=-0x1;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}}else{if(_0x2379ee){if(_0x566f54[_0x21df4c]!==0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x47702e===-0x1?_0x47702e=_0x2492d7:_0x10391f||(_0x10391f=!0x0),_0x2379ee=!0x1;}else{if(_0x255fa5){if(_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x22&&_0x47702e!==-0x1)_0x255fa5=!0x1,_0x139925=_0x2492d7;else{if(_0x21df4c===0x5c)_0x2379ee=!0x0;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x21df4c===0x22&&_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7-0x1)===0x3d)_0x255fa5=!0x0;else{if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x47702e!==-0x1&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);let _0x3bfade=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x10391f&&(_0x3bfade=_0x3bfade[_0xe3b138(0x26c)](/\\/g,''),_0x10391f=!0x1),_0x4e7c28(_0x420606,_0x9d8e23,_0x3bfade),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x9d8e23=void 0x0,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);}}}}}}}if(_0x47702e===-0x1||_0x255fa5||_0x21df4c===0x20||_0x21df4c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0xa8d939=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);return _0x5bac7c===void 0x0?_0x4e7c28(_0xdcc11c,_0xa8d939,_0x420606):(_0x9d8e23===void 0x0?_0x4e7c28(_0x420606,_0xa8d939,!0x0):_0x10391f?_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939[_0xe3b138(0x26c)](/\\/g,'')):_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939),_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606)),_0xdcc11c;}function _0x174a56(_0x4f7529){const _0xa975df=_0x5911;return Object[_0xa975df(0x149)](_0x4f7529)['map'](_0x2e0347=>{const _0x216771=_0xa975df;let _0x514f4b=_0x4f7529[_0x2e0347];return Array[_0x216771(0x1ad)](_0x514f4b)||(_0x514f4b=[_0x514f4b]),_0x514f4b[_0x216771(0x142)](_0xb83401=>[_0x2e0347][_0x216771(0x1f1)](Object[_0x216771(0x149)](_0xb83401)[_0x216771(0x142)](_0x2a397a=>{const _0x3f6e61=_0x216771;let _0x3ccd98=_0xb83401[_0x2a397a];return Array[_0x3f6e61(0x1ad)](_0x3ccd98)||(_0x3ccd98=[_0x3ccd98]),_0x3ccd98[_0x3f6e61(0x142)](_0x31e536=>_0x31e536===!0x0?_0x2a397a:_0x2a397a+'='+_0x31e536)[_0x3f6e61(0x13f)](';\x20');}))[_0x216771(0x13f)](';\x20'))[_0x216771(0x13f)](',\x20');})[_0xa975df(0x13f)](',\x20');}return be={'format':_0x174a56,'parse':_0x583bcb},be;}var we,Je;function Pe(){const _0x8c6faf=_0x4a8b65;if(Je)return we;Je=0x1;const _0x1aae4e=nt,_0x35f6fe=vt,_0x381751=ot,_0x4f12b8=St,_0x44e593=Et,{randomBytes:_0x45a67e,createHash:_0x23e27c}=Le,{Duplex:_0x1169ff,Readable:_0x329865}=oe,{URL:_0x17d8f8}=xt,_0xd5cd18=he(),_0x590664=lt(),_0x31dc90=ft(),{isBlob:_0x5cd20f}=ae(),{BINARY_TYPES:_0x50b73a,EMPTY_BUFFER:_0x2addc0,GUID:_0x39a44e,kForOnEventAttribute:_0x1f51ef,kListener:_0x19c60c,kStatusCode:_0x265e2c,kWebSocket:_0x558789,NOOP:_0x231cbd}=H(),{EventTarget:{addEventListener:_0x1530d0,removeEventListener:_0x23683d}}=It(),{format:_0x184ac8,parse:_0x2b252c}=ct(),{toBuffer:_0x49ed99}=ce(),_0x436869=0x1e*0x3e8,_0x1fcf8f=Symbol(_0x8c6faf(0x246)),_0x1c2a58=[0x8,0xd],_0x42dd4e=['CONNECTING',_0x8c6faf(0x280),_0x8c6faf(0x186),'CLOSED'],_0x47b6d4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2ee91e extends _0x1aae4e{constructor(_0x19d85a,_0xc213fa,_0xc7dd92){const _0x5e9f5c=_0x8c6faf;super(),this[_0x5e9f5c(0x156)]=_0x50b73a[0x0],this[_0x5e9f5c(0x1df)]=0x3ee,this[_0x5e9f5c(0x128)]=!0x1,this[_0x5e9f5c(0x253)]=!0x1,this[_0x5e9f5c(0x22f)]=_0x2addc0,this[_0x5e9f5c(0x269)]=null,this[_0x5e9f5c(0x21c)]=!0x1,this['_extensions']={},this[_0x5e9f5c(0x10c)]=!0x1,this[_0x5e9f5c(0x184)]='',this['_readyState']=_0x2ee91e['CONNECTING'],this[_0x5e9f5c(0x20d)]=null,this[_0x5e9f5c(0x176)]=null,this[_0x5e9f5c(0x22c)]=null,_0x19d85a!==null?(this[_0x5e9f5c(0x11e)]=0x0,this[_0x5e9f5c(0x1f8)]=!0x1,this[_0x5e9f5c(0x26e)]=0x0,_0xc213fa===void 0x0?_0xc213fa=[]:Array[_0x5e9f5c(0x1ad)](_0xc213fa)||(typeof _0xc213fa==_0x5e9f5c(0x151)&&_0xc213fa!==null?(_0xc7dd92=_0xc213fa,_0xc213fa=[]):_0xc213fa=[_0xc213fa]),_0x2f446e(this,_0x19d85a,_0xc213fa,_0xc7dd92)):(this['_autoPong']=_0xc7dd92['autoPong'],this[_0x5e9f5c(0x1f8)]=!0x0);}get['binaryType'](){const _0x3fd5c2=_0x8c6faf;return this[_0x3fd5c2(0x156)];}set[_0x8c6faf(0x221)](_0x2f0f7e){const _0x269535=_0x8c6faf;_0x50b73a[_0x269535(0x282)](_0x2f0f7e)&&(this[_0x269535(0x156)]=_0x2f0f7e,this['_receiver']&&(this[_0x269535(0x20d)][_0x269535(0x156)]=_0x2f0f7e));}get[_0x8c6faf(0xdc)](){const _0x516961=_0x8c6faf;return this[_0x516961(0x22c)]?this[_0x516961(0x22c)][_0x516961(0x129)][_0x516961(0x1f5)]+this['_sender'][_0x516961(0x13a)]:this[_0x516961(0x11e)];}get[_0x8c6faf(0x16b)](){const _0x482966=_0x8c6faf;return Object[_0x482966(0x149)](this[_0x482966(0x136)])[_0x482966(0x13f)]();}get[_0x8c6faf(0x104)](){const _0x2381ca=_0x8c6faf;return this[_0x2381ca(0x10c)];}get[_0x8c6faf(0x23f)](){return null;}get[_0x8c6faf(0xd5)](){return null;}get[_0x8c6faf(0x1a0)](){return null;}get[_0x8c6faf(0x17d)](){return null;}get['protocol'](){const _0x3ea749=_0x8c6faf;return this[_0x3ea749(0x184)];}get['readyState'](){const _0xb650e1=_0x8c6faf;return this[_0xb650e1(0x158)];}get[_0x8c6faf(0x153)](){const _0xa75b43=_0x8c6faf;return this[_0xa75b43(0x204)];}[_0x8c6faf(0x1b8)](_0x449a15,_0x1b5d4c,_0x267290){const _0x16b742=_0x8c6faf,_0x103527=new _0x590664({'allowSynchronousEvents':_0x267290['allowSynchronousEvents'],'binaryType':this[_0x16b742(0x221)],'extensions':this[_0x16b742(0x136)],'isServer':this[_0x16b742(0x1f8)],'maxPayload':_0x267290[_0x16b742(0xcd)],'skipUTF8Validation':_0x267290[_0x16b742(0x24e)]}),_0x30d748=new _0x31dc90(_0x449a15,this[_0x16b742(0x136)],_0x267290[_0x16b742(0x236)]);this[_0x16b742(0x20d)]=_0x103527,this['_sender']=_0x30d748,this['_socket']=_0x449a15,_0x103527[_0x558789]=this,_0x30d748[_0x558789]=this,_0x449a15[_0x558789]=this,_0x103527['on'](_0x16b742(0x126),_0x4f53b6),_0x103527['on']('drain',_0x161874),_0x103527['on'](_0x16b742(0x227),_0x3db5fd),_0x103527['on'](_0x16b742(0x13c),_0x2a1fc8),_0x103527['on']('ping',_0x323699),_0x103527['on'](_0x16b742(0xcc),_0x48ff27),_0x30d748['onerror']=_0x261a52,_0x449a15['setTimeout']&&_0x449a15[_0x16b742(0x1ab)](0x0),_0x449a15[_0x16b742(0x25a)]&&_0x449a15[_0x16b742(0x25a)](),_0x1b5d4c[_0x16b742(0x1f5)]>0x0&&_0x449a15[_0x16b742(0x1bd)](_0x1b5d4c),_0x449a15['on'](_0x16b742(0xe6),_0x16f838),_0x449a15['on']('data',_0x13adf2),_0x449a15['on'](_0x16b742(0xce),_0x26b0ce),_0x449a15['on'](_0x16b742(0x227),_0x373281),this['_readyState']=_0x2ee91e[_0x16b742(0x280)],this[_0x16b742(0x19a)](_0x16b742(0x148));}[_0x8c6faf(0x181)](){const _0x4ff674=_0x8c6faf;if(!this[_0x4ff674(0x22c)]){this['_readyState']=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this[_0x4ff674(0x22f)]);return;}this[_0x4ff674(0x136)][_0xd5cd18[_0x4ff674(0x16e)]]&&this[_0x4ff674(0x136)][_0xd5cd18['extensionName']][_0x4ff674(0x1c0)](),this[_0x4ff674(0x20d)]['removeAllListeners'](),this[_0x4ff674(0x158)]=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this['_closeMessage']);}[_0x8c6faf(0xe6)](_0x5cf033,_0x1f2d48){const _0x587eb7=_0x8c6faf;if(this[_0x587eb7(0x1e2)]!==_0x2ee91e[_0x587eb7(0x20f)]){if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x160)]){_0x115bf3(this,this['_req'],_0x587eb7(0xbd));return;}if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x186)]){this[_0x587eb7(0x253)]&&(this['_closeFrameReceived']||this[_0x587eb7(0x20d)][_0x587eb7(0x129)][_0x587eb7(0x27d)])&&this[_0x587eb7(0x22c)][_0x587eb7(0xce)]();return;}this[_0x587eb7(0x158)]=_0x2ee91e['CLOSING'],this[_0x587eb7(0x176)]['close'](_0x5cf033,_0x1f2d48,!this[_0x587eb7(0x1f8)],_0x16f52c=>{const _0x52e245=_0x587eb7;_0x16f52c||(this[_0x52e245(0x253)]=!0x0,(this[_0x52e245(0x128)]||this[_0x52e245(0x20d)][_0x52e245(0x129)][_0x52e245(0x27d)])&&this[_0x52e245(0x22c)][_0x52e245(0xce)]());}),_0x1f691a(this);}}[_0x8c6faf(0x245)](){const _0x2532a0=_0x8c6faf;this[_0x2532a0(0x1e2)]===_0x2ee91e[_0x2532a0(0x160)]||this[_0x2532a0(0x1e2)]===_0x2ee91e['CLOSED']||(this['_paused']=!0x0,this[_0x2532a0(0x22c)]['pause']());}[_0x8c6faf(0x179)](_0x19122d,_0x212629,_0x476af7){const _0x4b671f=_0x8c6faf;if(this[_0x4b671f(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x4b671f(0x273));if(typeof _0x19122d==_0x4b671f(0x17b)?(_0x476af7=_0x19122d,_0x19122d=_0x212629=void 0x0):typeof _0x212629==_0x4b671f(0x17b)&&(_0x476af7=_0x212629,_0x212629=void 0x0),typeof _0x19122d==_0x4b671f(0x1c8)&&(_0x19122d=_0x19122d['toString']()),this[_0x4b671f(0x1e2)]!==_0x2ee91e[_0x4b671f(0x280)]){_0x169afc(this,_0x19122d,_0x476af7);return;}_0x212629===void 0x0&&(_0x212629=!this[_0x4b671f(0x1f8)]),this[_0x4b671f(0x176)]['ping'](_0x19122d||_0x2addc0,_0x212629,_0x476af7);}[_0x8c6faf(0xcc)](_0x50ca28,_0x548c0b,_0x10e675){const _0x144f51=_0x8c6faf;if(this[_0x144f51(0x1e2)]===_0x2ee91e[_0x144f51(0x160)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x50ca28==_0x144f51(0x17b)?(_0x10e675=_0x50ca28,_0x50ca28=_0x548c0b=void 0x0):typeof _0x548c0b==_0x144f51(0x17b)&&(_0x10e675=_0x548c0b,_0x548c0b=void 0x0),typeof _0x50ca28==_0x144f51(0x1c8)&&(_0x50ca28=_0x50ca28[_0x144f51(0x147)]()),this[_0x144f51(0x1e2)]!==_0x2ee91e[_0x144f51(0x280)]){_0x169afc(this,_0x50ca28,_0x10e675);return;}_0x548c0b===void 0x0&&(_0x548c0b=!this[_0x144f51(0x1f8)]),this['_sender']['pong'](_0x50ca28||_0x2addc0,_0x548c0b,_0x10e675);}['resume'](){const _0x237513=_0x8c6faf;this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x160)]||this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x20f)]||(this[_0x237513(0x10c)]=!0x1,this['_receiver'][_0x237513(0x129)]['needDrain']||this[_0x237513(0x22c)][_0x237513(0xeb)]());}[_0x8c6faf(0x13b)](_0x461b25,_0x4c535c,_0x5c9edb){const _0x412e6b=_0x8c6faf;if(this[_0x412e6b(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x412e6b(0x273));if(typeof _0x4c535c==_0x412e6b(0x17b)&&(_0x5c9edb=_0x4c535c,_0x4c535c={}),typeof _0x461b25==_0x412e6b(0x1c8)&&(_0x461b25=_0x461b25[_0x412e6b(0x147)]()),this['readyState']!==_0x2ee91e[_0x412e6b(0x280)]){_0x169afc(this,_0x461b25,_0x5c9edb);return;}const _0x1bf30b={'binary':typeof _0x461b25!=_0x412e6b(0x1d2),'mask':!this[_0x412e6b(0x1f8)],'compress':!0x0,'fin':!0x0,..._0x4c535c};this[_0x412e6b(0x136)][_0xd5cd18[_0x412e6b(0x16e)]]||(_0x1bf30b['compress']=!0x1),this['_sender'][_0x412e6b(0x13b)](_0x461b25||_0x2addc0,_0x1bf30b,_0x5c9edb);}[_0x8c6faf(0x15f)](){const _0x13fbc6=_0x8c6faf;if(this[_0x13fbc6(0x1e2)]!==_0x2ee91e[_0x13fbc6(0x20f)]){if(this['readyState']===_0x2ee91e['CONNECTING']){_0x115bf3(this,this['_req'],_0x13fbc6(0xbd));return;}this['_socket']&&(this[_0x13fbc6(0x158)]=_0x2ee91e[_0x13fbc6(0x186)],this[_0x13fbc6(0x22c)][_0x13fbc6(0x1c4)]());}}}Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CONNECTING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e['prototype'],_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x160))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('OPEN')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x280))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,'CLOSING',{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x186),{'enumerable':!0x0,'value':_0x42dd4e['indexOf'](_0x8c6faf(0x186))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),[_0x8c6faf(0x221),_0x8c6faf(0xdc),_0x8c6faf(0x16b),_0x8c6faf(0x104),_0x8c6faf(0x1be),_0x8c6faf(0x1e2),'url'][_0x8c6faf(0x109)](_0x417e8d=>{const _0x3218b4=_0x8c6faf;Object[_0x3218b4(0xe1)](_0x2ee91e[_0x3218b4(0xd2)],_0x417e8d,{'enumerable':!0x0});}),[_0x8c6faf(0x148),_0x8c6faf(0x227),'close',_0x8c6faf(0x13c)]['forEach'](_0x886508=>{const _0x2abe39=_0x8c6faf;Object['defineProperty'](_0x2ee91e[_0x2abe39(0xd2)],'on'+_0x886508,{'enumerable':!0x0,'get'(){const _0x5ab0bc=_0x2abe39;for(const _0x3cabc1 of this[_0x5ab0bc(0xd7)](_0x886508))if(_0x3cabc1[_0x1f51ef])return _0x3cabc1[_0x19c60c];return null;},'set'(_0x321073){const _0x11ac65=_0x2abe39;for(const _0x431f27 of this[_0x11ac65(0xd7)](_0x886508))if(_0x431f27[_0x1f51ef]){this['removeListener'](_0x886508,_0x431f27);break;}typeof _0x321073=='function'&&this[_0x11ac65(0x140)](_0x886508,_0x321073,{[_0x1f51ef]:!0x0});}});}),_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x140)]=_0x1530d0,_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x1ea)]=_0x23683d,we=_0x2ee91e;function _0x2f446e(_0x4639ad,_0x486365,_0x49723b,_0x1ca383){const _0x10f1a6=_0x8c6faf,_0xf03b4e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1c2a58[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1ca383,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10f1a6(0x118),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4639ad['_autoPong']=_0xf03b4e[_0x10f1a6(0x197)],!_0x1c2a58[_0x10f1a6(0x282)](_0xf03b4e[_0x10f1a6(0x159)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xf03b4e[_0x10f1a6(0x159)]+_0x10f1a6(0x1bb)+_0x1c2a58[_0x10f1a6(0x13f)](',\x20')+')');let _0x6a5d30;if(_0x486365 instanceof _0x17d8f8)_0x6a5d30=_0x486365;else try{_0x6a5d30=new _0x17d8f8(_0x486365);}catch{throw new SyntaxError(_0x10f1a6(0x17c)+_0x486365);}_0x6a5d30[_0x10f1a6(0x1be)]===_0x10f1a6(0xc9)?_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x107):_0x6a5d30['protocol']===_0x10f1a6(0xc1)&&(_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x24f)),_0x4639ad[_0x10f1a6(0x204)]=_0x6a5d30['href'];const _0x3cc103=_0x6a5d30['protocol']===_0x10f1a6(0x24f),_0x3c41f9=_0x6a5d30['protocol']===_0x10f1a6(0x1ca);let _0x24032b;if(_0x6a5d30['protocol']!==_0x10f1a6(0x107)&&!_0x3cc103&&!_0x3c41f9?_0x24032b='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':_0x3c41f9&&!_0x6a5d30[_0x10f1a6(0x139)]?_0x24032b=_0x10f1a6(0x168):_0x6a5d30['hash']&&(_0x24032b=_0x10f1a6(0xca)),_0x24032b){const _0x2da802=new SyntaxError(_0x24032b);if(_0x4639ad[_0x10f1a6(0x26e)]===0x0)throw _0x2da802;_0x172d47(_0x4639ad,_0x2da802);return;}const _0x53d35f=_0x3cc103?0x1bb:0x50,_0x326347=_0x45a67e(0x10)[_0x10f1a6(0x147)](_0x10f1a6(0x141)),_0x1b23b4=_0x3cc103?_0x35f6fe[_0x10f1a6(0x134)]:_0x381751[_0x10f1a6(0x134)],_0x479e65=new Set();let _0x4352d8;if(_0xf03b4e['createConnection']=_0xf03b4e['createConnection']||(_0x3cc103?_0xd0b5e1:_0x377148),_0xf03b4e[_0x10f1a6(0x20a)]=_0xf03b4e[_0x10f1a6(0x20a)]||_0x53d35f,_0xf03b4e[_0x10f1a6(0x121)]=_0x6a5d30[_0x10f1a6(0x121)]||_0x53d35f,_0xf03b4e['host']=_0x6a5d30['hostname'][_0x10f1a6(0x1fc)]('[')?_0x6a5d30[_0x10f1a6(0x208)][_0x10f1a6(0x12e)](0x1,-0x1):_0x6a5d30[_0x10f1a6(0x208)],_0xf03b4e[_0x10f1a6(0x1c7)]={..._0xf03b4e[_0x10f1a6(0x1c7)],'Sec-WebSocket-Version':_0xf03b4e['protocolVersion'],'Sec-WebSocket-Key':_0x326347,'Connection':'Upgrade','Upgrade':_0x10f1a6(0x101)},_0xf03b4e[_0x10f1a6(0x194)]=_0x6a5d30[_0x10f1a6(0x139)]+_0x6a5d30[_0x10f1a6(0x1bc)],_0xf03b4e[_0x10f1a6(0x15d)]=_0xf03b4e[_0x10f1a6(0x1b3)],_0xf03b4e['perMessageDeflate']&&(_0x4352d8=new _0xd5cd18(_0xf03b4e[_0x10f1a6(0x138)]!==!0x0?_0xf03b4e[_0x10f1a6(0x138)]:{},!0x1,_0xf03b4e[_0x10f1a6(0xcd)]),_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x261)]=_0x184ac8({[_0xd5cd18[_0x10f1a6(0x16e)]]:_0x4352d8[_0x10f1a6(0x1fb)]()})),_0x49723b[_0x10f1a6(0x1f5)]){for(const _0x303133 of _0x49723b){if(typeof _0x303133!=_0x10f1a6(0x1d2)||!_0x47b6d4[_0x10f1a6(0xf2)](_0x303133)||_0x479e65[_0x10f1a6(0xdb)](_0x303133))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x479e65[_0x10f1a6(0x19c)](_0x303133);}_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x113)]=_0x49723b[_0x10f1a6(0x13f)](',');}if(_0xf03b4e[_0x10f1a6(0xcf)]&&(_0xf03b4e['protocolVersion']<0xd?_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x232)]=_0xf03b4e[_0x10f1a6(0xcf)]:_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0xf1)]=_0xf03b4e[_0x10f1a6(0xcf)]),(_0x6a5d30[_0x10f1a6(0xc6)]||_0x6a5d30[_0x10f1a6(0x23e)])&&(_0xf03b4e[_0x10f1a6(0x223)]=_0x6a5d30[_0x10f1a6(0xc6)]+':'+_0x6a5d30[_0x10f1a6(0x23e)]),_0x3c41f9){const _0xb3d88f=_0xf03b4e[_0x10f1a6(0x194)][_0x10f1a6(0x182)](':');_0xf03b4e['socketPath']=_0xb3d88f[0x0],_0xf03b4e[_0x10f1a6(0x194)]=_0xb3d88f[0x1];}let _0x584dbe;if(_0xf03b4e[_0x10f1a6(0x1b2)]){if(_0x4639ad['_redirects']===0x0){_0x4639ad[_0x10f1a6(0x15a)]=_0x3c41f9,_0x4639ad[_0x10f1a6(0x19f)]=_0x3cc103,_0x4639ad[_0x10f1a6(0xe0)]=_0x3c41f9?_0xf03b4e[_0x10f1a6(0x112)]:_0x6a5d30['host'];const _0x4694b2=_0x1ca383&&_0x1ca383[_0x10f1a6(0x1c7)];if(_0x1ca383={..._0x1ca383,'headers':{}},_0x4694b2){for(const [_0x3435de,_0x55828f]of Object[_0x10f1a6(0xd0)](_0x4694b2))_0x1ca383[_0x10f1a6(0x1c7)][_0x3435de['toLowerCase']()]=_0x55828f;}}else{if(_0x4639ad[_0x10f1a6(0x25b)](_0x10f1a6(0x213))===0x0){const _0x30c3e9=_0x3c41f9?_0x4639ad[_0x10f1a6(0x15a)]?_0xf03b4e['socketPath']===_0x4639ad[_0x10f1a6(0xe0)]:!0x1:_0x4639ad['_originalIpc']?!0x1:_0x6a5d30[_0x10f1a6(0x117)]===_0x4639ad[_0x10f1a6(0xe0)];(!_0x30c3e9||_0x4639ad[_0x10f1a6(0x19f)]&&!_0x3cc103)&&(delete _0xf03b4e['headers']['authorization'],delete _0xf03b4e['headers'][_0x10f1a6(0x265)],_0x30c3e9||delete _0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x117)],_0xf03b4e['auth']=void 0x0);}}_0xf03b4e[_0x10f1a6(0x223)]&&!_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]&&(_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]=_0x10f1a6(0x250)+Buffer[_0x10f1a6(0x1c1)](_0xf03b4e[_0x10f1a6(0x223)])[_0x10f1a6(0x147)]('base64')),_0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e),_0x4639ad['_redirects']&&_0x4639ad[_0x10f1a6(0x19a)](_0x10f1a6(0x213),_0x4639ad[_0x10f1a6(0x153)],_0x584dbe);}else _0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e);_0xf03b4e[_0x10f1a6(0x15d)]&&_0x584dbe['on'](_0x10f1a6(0x15d),()=>{_0x115bf3(_0x4639ad,_0x584dbe,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x584dbe['on'](_0x10f1a6(0x227),_0x1da91d=>{const _0x97fd9b=_0x10f1a6;_0x584dbe===null||_0x584dbe[_0x1fcf8f]||(_0x584dbe=_0x4639ad[_0x97fd9b(0x25f)]=null,_0x172d47(_0x4639ad,_0x1da91d));}),_0x584dbe['on'](_0x10f1a6(0xc7),_0x31c602=>{const _0x30e48d=_0x10f1a6,_0x4bc187=_0x31c602['headers'][_0x30e48d(0x263)],_0x202cdc=_0x31c602['statusCode'];if(_0x4bc187&&_0xf03b4e[_0x30e48d(0x1b2)]&&_0x202cdc>=0x12c&&_0x202cdc<0x190){if(++_0x4639ad[_0x30e48d(0x26e)]>_0xf03b4e[_0x30e48d(0x172)]){_0x115bf3(_0x4639ad,_0x584dbe,'Maximum\x20redirects\x20exceeded');return;}_0x584dbe[_0x30e48d(0x1e6)]();let _0x58b166;try{_0x58b166=new _0x17d8f8(_0x4bc187,_0x486365);}catch{const _0x5f15f3=new SyntaxError(_0x30e48d(0x17c)+_0x4bc187);_0x172d47(_0x4639ad,_0x5f15f3);return;}_0x2f446e(_0x4639ad,_0x58b166,_0x49723b,_0x1ca383);}else _0x4639ad[_0x30e48d(0x19a)]('unexpected-response',_0x584dbe,_0x31c602)||_0x115bf3(_0x4639ad,_0x584dbe,_0x30e48d(0x1cf)+_0x31c602[_0x30e48d(0x16f)]);}),_0x584dbe['on'](_0x10f1a6(0x222),(_0x64ac42,_0x151241,_0x3a6a0a)=>{const _0x41a4ed=_0x10f1a6;if(_0x4639ad[_0x41a4ed(0x19a)]('upgrade',_0x64ac42),_0x4639ad['readyState']!==_0x2ee91e[_0x41a4ed(0x160)])return;_0x584dbe=_0x4639ad[_0x41a4ed(0x25f)]=null;const _0x9a183e=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x222)];if(_0x9a183e===void 0x0||_0x9a183e[_0x41a4ed(0x124)]()!=='websocket'){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x152));return;}const _0x242d02=_0x23e27c(_0x41a4ed(0x1a2))['update'](_0x326347+_0x39a44e)['digest'](_0x41a4ed(0x141));if(_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x16a)]!==_0x242d02){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xf5));return;}const _0xd277f0=_0x64ac42['headers']['sec-websocket-protocol'];let _0x80efb3;if(_0xd277f0!==void 0x0?_0x479e65[_0x41a4ed(0x1c2)]?_0x479e65[_0x41a4ed(0xdb)](_0xd277f0)||(_0x80efb3=_0x41a4ed(0xc2)):_0x80efb3='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x479e65[_0x41a4ed(0x1c2)]&&(_0x80efb3=_0x41a4ed(0x26b)),_0x80efb3){_0x115bf3(_0x4639ad,_0x151241,_0x80efb3);return;}_0xd277f0&&(_0x4639ad['_protocol']=_0xd277f0);const _0x23d398=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x228)];if(_0x23d398!==void 0x0){if(!_0x4352d8){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xd9));return;}let _0x536d60;try{_0x536d60=_0x2b252c(_0x23d398);}catch{_0x115bf3(_0x4639ad,_0x151241,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x527998=Object[_0x41a4ed(0x149)](_0x536d60);if(_0x527998[_0x41a4ed(0x1f5)]!==0x1||_0x527998[0x0]!==_0xd5cd18[_0x41a4ed(0x16e)]){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x13d));return;}try{_0x4352d8['accept'](_0x536d60[_0xd5cd18[_0x41a4ed(0x16e)]]);}catch{_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x1aa));return;}_0x4639ad[_0x41a4ed(0x136)][_0xd5cd18[_0x41a4ed(0x16e)]]=_0x4352d8;}_0x4639ad[_0x41a4ed(0x1b8)](_0x151241,_0x3a6a0a,{'allowSynchronousEvents':_0xf03b4e[_0x41a4ed(0x1cb)],'generateMask':_0xf03b4e[_0x41a4ed(0x236)],'maxPayload':_0xf03b4e['maxPayload'],'skipUTF8Validation':_0xf03b4e[_0x41a4ed(0x24e)]});}),_0xf03b4e['finishRequest']?_0xf03b4e['finishRequest'](_0x584dbe,_0x4639ad):_0x584dbe['end']();}function _0x172d47(_0x11d396,_0xb018cc){const _0x5584e6=_0x8c6faf;_0x11d396[_0x5584e6(0x158)]=_0x2ee91e[_0x5584e6(0x186)],_0x11d396['_errorEmitted']=!0x0,_0x11d396[_0x5584e6(0x19a)](_0x5584e6(0x227),_0xb018cc),_0x11d396['emitClose']();}function _0x377148(_0x38c0d7){const _0x5060f2=_0x8c6faf;return _0x38c0d7[_0x5060f2(0x194)]=_0x38c0d7[_0x5060f2(0x112)],_0x4f12b8[_0x5060f2(0xfa)](_0x38c0d7);}function _0xd0b5e1(_0x414890){const _0x126a41=_0x8c6faf;return _0x414890['path']=void 0x0,!_0x414890[_0x126a41(0x260)]&&_0x414890['servername']!==''&&(_0x414890[_0x126a41(0x260)]=_0x4f12b8[_0x126a41(0x1ce)](_0x414890[_0x126a41(0x117)])?'':_0x414890[_0x126a41(0x117)]),_0x44e593['connect'](_0x414890);}function _0x115bf3(_0x3d6a98,_0x351751,_0x1b3424){const _0x148735=_0x8c6faf;_0x3d6a98['_readyState']=_0x2ee91e[_0x148735(0x186)];const _0x32d42a=new Error(_0x1b3424);Error[_0x148735(0x1a9)](_0x32d42a,_0x115bf3),_0x351751[_0x148735(0x14b)]?(_0x351751[_0x1fcf8f]=!0x0,_0x351751['abort'](),_0x351751[_0x148735(0xd4)]&&!_0x351751[_0x148735(0xd4)][_0x148735(0x207)]&&_0x351751['socket'][_0x148735(0x1c4)](),process[_0x148735(0x1ae)](_0x172d47,_0x3d6a98,_0x32d42a)):(_0x351751[_0x148735(0x1c4)](_0x32d42a),_0x351751[_0x148735(0xff)](_0x148735(0x227),_0x3d6a98['emit'][_0x148735(0xfc)](_0x3d6a98,_0x148735(0x227))),_0x351751['once'](_0x148735(0xe6),_0x3d6a98[_0x148735(0x181)][_0x148735(0xfc)](_0x3d6a98)));}function _0x169afc(_0x6fcefd,_0x30c0d1,_0x57ef4b){const _0x1699f2=_0x8c6faf;if(_0x30c0d1){const _0xf92ede=_0x5cd20f(_0x30c0d1)?_0x30c0d1['size']:_0x49ed99(_0x30c0d1)[_0x1699f2(0x1f5)];_0x6fcefd['_socket']?_0x6fcefd['_sender']['_bufferedBytes']+=_0xf92ede:_0x6fcefd[_0x1699f2(0x11e)]+=_0xf92ede;}if(_0x57ef4b){const _0x1a3370=new Error(_0x1699f2(0x202)+_0x6fcefd[_0x1699f2(0x1e2)]+'\x20('+_0x42dd4e[_0x6fcefd[_0x1699f2(0x1e2)]]+')');process[_0x1699f2(0x1ae)](_0x57ef4b,_0x1a3370);}}function _0x4f53b6(_0x3781f0,_0x45a7f4){const _0x436479=_0x8c6faf,_0x2400e3=this[_0x558789];_0x2400e3[_0x436479(0x128)]=!0x0,_0x2400e3[_0x436479(0x22f)]=_0x45a7f4,_0x2400e3[_0x436479(0x1df)]=_0x3781f0,_0x2400e3[_0x436479(0x22c)][_0x558789]!==void 0x0&&(_0x2400e3[_0x436479(0x22c)][_0x436479(0x1d9)](_0x436479(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x2400e3[_0x436479(0x22c)]),_0x3781f0===0x3ed?_0x2400e3[_0x436479(0xe6)]():_0x2400e3[_0x436479(0xe6)](_0x3781f0,_0x45a7f4));}function _0x161874(){const _0x1a4e10=_0x8c6faf,_0x385434=this[_0x558789];_0x385434[_0x1a4e10(0x104)]||_0x385434['_socket'][_0x1a4e10(0xeb)]();}function _0x3db5fd(_0x39557a){const _0x524e53=_0x8c6faf,_0x283c43=this[_0x558789];_0x283c43[_0x524e53(0x22c)][_0x558789]!==void 0x0&&(_0x283c43[_0x524e53(0x22c)][_0x524e53(0x1d9)](_0x524e53(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x283c43[_0x524e53(0x22c)]),_0x283c43[_0x524e53(0xe6)](_0x39557a[_0x265e2c])),_0x283c43[_0x524e53(0x21c)]||(_0x283c43[_0x524e53(0x21c)]=!0x0,_0x283c43[_0x524e53(0x19a)](_0x524e53(0x227),_0x39557a));}function _0x4f0ce3(){const _0x550791=_0x8c6faf;this[_0x558789][_0x550791(0x181)]();}function _0x2a1fc8(_0x15ab6b,_0x243f42){const _0x391cd9=_0x8c6faf;this[_0x558789][_0x391cd9(0x19a)](_0x391cd9(0x13c),_0x15ab6b,_0x243f42);}function _0x323699(_0x3f5e36){const _0x47aa03=_0x8c6faf,_0x37fbd3=this[_0x558789];_0x37fbd3[_0x47aa03(0xc3)]&&_0x37fbd3[_0x47aa03(0xcc)](_0x3f5e36,!this[_0x47aa03(0x1f8)],_0x231cbd),_0x37fbd3[_0x47aa03(0x19a)](_0x47aa03(0x179),_0x3f5e36);}function _0x48ff27(_0x2dedd3){const _0x3d06f1=_0x8c6faf;this[_0x558789]['emit'](_0x3d06f1(0xcc),_0x2dedd3);}function _0x3d368c(_0x1e3c5a){const _0x386c1e=_0x8c6faf;_0x1e3c5a[_0x386c1e(0xeb)]();}function _0x261a52(_0x538d6c){const _0xc2ae46=_0x8c6faf,_0x1bf1bc=this[_0x558789];_0x1bf1bc[_0xc2ae46(0x1e2)]!==_0x2ee91e[_0xc2ae46(0x20f)]&&(_0x1bf1bc['readyState']===_0x2ee91e[_0xc2ae46(0x280)]&&(_0x1bf1bc['_readyState']=_0x2ee91e[_0xc2ae46(0x186)],_0x1f691a(_0x1bf1bc)),this[_0xc2ae46(0x22c)][_0xc2ae46(0xce)](),_0x1bf1bc[_0xc2ae46(0x21c)]||(_0x1bf1bc[_0xc2ae46(0x21c)]=!0x0,_0x1bf1bc['emit']('error',_0x538d6c)));}function _0x1f691a(_0xde0141){const _0x1a0997=_0x8c6faf;_0xde0141[_0x1a0997(0x269)]=setTimeout(_0xde0141[_0x1a0997(0x22c)][_0x1a0997(0x1c4)][_0x1a0997(0xfc)](_0xde0141[_0x1a0997(0x22c)]),_0x436869);}function _0x16f838(){const _0x564074=_0x8c6faf,_0x29df8b=this[_0x558789];this['removeListener'](_0x564074(0xe6),_0x16f838),this[_0x564074(0x1d9)](_0x564074(0xea),_0x13adf2),this[_0x564074(0x1d9)](_0x564074(0xce),_0x26b0ce),_0x29df8b[_0x564074(0x158)]=_0x2ee91e[_0x564074(0x186)];let _0x34ff0d;!this[_0x564074(0x178)][_0x564074(0x19d)]&&!_0x29df8b['_closeFrameReceived']&&!_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]&&(_0x34ff0d=_0x29df8b['_socket'][_0x564074(0x21f)]())!==null&&_0x29df8b[_0x564074(0x20d)][_0x564074(0xc5)](_0x34ff0d),_0x29df8b[_0x564074(0x20d)][_0x564074(0xce)](),this[_0x558789]=void 0x0,clearTimeout(_0x29df8b[_0x564074(0x269)]),_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)]['finished']||_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]?_0x29df8b[_0x564074(0x181)]():(_0x29df8b[_0x564074(0x20d)]['on']('error',_0x4f0ce3),_0x29df8b['_receiver']['on']('finish',_0x4f0ce3));}function _0x13adf2(_0x6cc912){const _0x2f36db=_0x8c6faf;this[_0x558789][_0x2f36db(0x20d)][_0x2f36db(0xc5)](_0x6cc912)||this[_0x2f36db(0x245)]();}function _0x26b0ce(){const _0x52375c=_0x8c6faf,_0xa741f3=this[_0x558789];_0xa741f3[_0x52375c(0x158)]=_0x2ee91e[_0x52375c(0x186)],_0xa741f3['_receiver'][_0x52375c(0xce)](),this[_0x52375c(0xce)]();}function _0x373281(){const _0x588f76=_0x8c6faf,_0x447fd7=this[_0x558789];this[_0x588f76(0x1d9)](_0x588f76(0x227),_0x373281),this['on'](_0x588f76(0x227),_0x231cbd),_0x447fd7&&(_0x447fd7[_0x588f76(0x158)]=_0x2ee91e[_0x588f76(0x186)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4c65d0}=oe;function _0x477035(_0xf7d13){const _0xb2f9b1=_0x5911;_0xf7d13[_0xb2f9b1(0x19a)](_0xb2f9b1(0xe6));}function _0x38415d(){const _0x1d73eb=_0x5911;!this[_0x1d73eb(0x207)]&&this[_0x1d73eb(0x129)][_0x1d73eb(0x24c)]&&this[_0x1d73eb(0x1c4)]();}function _0x160392(_0xafc151){const _0x5aeb32=_0x5911;this[_0x5aeb32(0x1d9)](_0x5aeb32(0x227),_0x160392),this[_0x5aeb32(0x1c4)](),this[_0x5aeb32(0x25b)]('error')===0x0&&this[_0x5aeb32(0x19a)]('error',_0xafc151);}function _0x2934a2(_0x17da27,_0x6d3558){const _0x4d08b2=_0x5911;let _0x82632e=!0x0;const _0x252bf2=new _0x4c65d0({..._0x6d3558,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x17da27['on']('message',function(_0x45b4ee,_0xd62592){const _0x54f5dc=_0x5911,_0x5417f6=!_0xd62592&&_0x252bf2[_0x54f5dc(0x178)][_0x54f5dc(0x268)]?_0x45b4ee['toString']():_0x45b4ee;_0x252bf2[_0x54f5dc(0x127)](_0x5417f6)||_0x17da27['pause']();}),_0x17da27[_0x4d08b2(0xff)](_0x4d08b2(0x227),function(_0x355726){const _0x3698c0=_0x4d08b2;_0x252bf2[_0x3698c0(0x207)]||(_0x82632e=!0x1,_0x252bf2['destroy'](_0x355726));}),_0x17da27['once']('close',function(){const _0x2c2095=_0x4d08b2;_0x252bf2[_0x2c2095(0x207)]||_0x252bf2[_0x2c2095(0x127)](null);}),_0x252bf2[_0x4d08b2(0x1b7)]=function(_0xe4c036,_0x2455f6){const _0x573518=_0x4d08b2;if(_0x17da27['readyState']===_0x17da27[_0x573518(0x20f)]){_0x2455f6(_0xe4c036),process[_0x573518(0x1ae)](_0x477035,_0x252bf2);return;}let _0x59d100=!0x1;_0x17da27[_0x573518(0xff)]('error',function(_0x2341cf){_0x59d100=!0x0,_0x2455f6(_0x2341cf);}),_0x17da27[_0x573518(0xff)]('close',function(){const _0x348d95=_0x573518;_0x59d100||_0x2455f6(_0xe4c036),process[_0x348d95(0x1ae)](_0x477035,_0x252bf2);}),_0x82632e&&_0x17da27['terminate']();},_0x252bf2['_final']=function(_0x3af567){const _0x2f3111=_0x4d08b2;if(_0x17da27[_0x2f3111(0x1e2)]===_0x17da27[_0x2f3111(0x160)]){_0x17da27[_0x2f3111(0xff)](_0x2f3111(0x148),function(){const _0x21fa7d=_0x2f3111;_0x252bf2[_0x21fa7d(0x242)](_0x3af567);});return;}_0x17da27['_socket']!==null&&(_0x17da27['_socket'][_0x2f3111(0x129)]['finished']?(_0x3af567(),_0x252bf2[_0x2f3111(0x178)][_0x2f3111(0x19d)]&&_0x252bf2[_0x2f3111(0x1c4)]()):(_0x17da27[_0x2f3111(0x22c)][_0x2f3111(0xff)](_0x2f3111(0x277),function(){_0x3af567();}),_0x17da27[_0x2f3111(0xe6)]()));},_0x252bf2['_read']=function(){const _0x10135e=_0x4d08b2;_0x17da27[_0x10135e(0x104)]&&_0x17da27['resume']();},_0x252bf2['_write']=function(_0xbe5b8,_0x246f7c,_0x76e90d){const _0x42f17d=_0x4d08b2;if(_0x17da27[_0x42f17d(0x1e2)]===_0x17da27[_0x42f17d(0x160)]){_0x17da27['once'](_0x42f17d(0x148),function(){_0x252bf2['_write'](_0xbe5b8,_0x246f7c,_0x76e90d);});return;}_0x17da27['send'](_0xbe5b8,_0x76e90d);},_0x252bf2['on'](_0x4d08b2(0xce),_0x38415d),_0x252bf2['on'](_0x4d08b2(0x227),_0x160392),_0x252bf2;}return Oe=_0x2934a2,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2186f2}=ae();function _0x373c1e(_0x1103f6){const _0x37bb4c=_0x5911,_0x41a077=new Set();let _0x585395=-0x1,_0x2b01d1=-0x1,_0x175743=0x0;for(_0x175743;_0x175743<_0x1103f6[_0x37bb4c(0x1f5)];_0x175743++){const _0x1f9880=_0x1103f6[_0x37bb4c(0xd8)](_0x175743);if(_0x2b01d1===-0x1&&_0x2186f2[_0x1f9880]===0x1)_0x585395===-0x1&&(_0x585395=_0x175743);else{if(_0x175743!==0x0&&(_0x1f9880===0x20||_0x1f9880===0x9))_0x2b01d1===-0x1&&_0x585395!==-0x1&&(_0x2b01d1=_0x175743);else{if(_0x1f9880===0x2c){if(_0x585395===-0x1)throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);_0x2b01d1===-0x1&&(_0x2b01d1=_0x175743);const _0x157174=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x2b01d1);if(_0x41a077['has'](_0x157174))throw new SyntaxError(_0x37bb4c(0x108)+_0x157174+_0x37bb4c(0xe4));_0x41a077[_0x37bb4c(0x19c)](_0x157174),_0x585395=_0x2b01d1=-0x1;}else throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);}}}if(_0x585395===-0x1||_0x2b01d1!==-0x1)throw new SyntaxError(_0x37bb4c(0x278));const _0x338d8f=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x175743);if(_0x41a077['has'](_0x338d8f))throw new SyntaxError('The\x20\x22'+_0x338d8f+_0x37bb4c(0xe4));return _0x41a077[_0x37bb4c(0x19c)](_0x338d8f),_0x41a077;}return Ce={'parse':_0x373c1e},Ce;}var Te,rt;function Ft(){const _0x2c9a6a=_0x4a8b65;if(rt)return Te;rt=0x1;const _0x4db31b=nt,_0x1745ee=ot,{Duplex:_0x4f0dc7}=oe,{createHash:_0x54418d}=Le,_0xac014d=ct(),_0x19cc52=he(),_0xeec3fb=At(),_0x2845a3=Pe(),{GUID:_0x57313d,kWebSocket:_0x2bd79f}=H(),_0x17c2fb=/^[+/0-9A-Za-z]{22}==$/,_0x433e91=0x0,_0x248eb1=0x1,_0x451594=0x2;class _0xe3773 extends _0x4db31b{constructor(_0x3a56f8,_0x472ecb){const _0x57ff3c=_0x5911;if(super(),_0x3a56f8={'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':_0x2845a3,..._0x3a56f8},_0x3a56f8[_0x57ff3c(0x121)]==null&&!_0x3a56f8['server']&&!_0x3a56f8['noServer']||_0x3a56f8[_0x57ff3c(0x121)]!=null&&(_0x3a56f8['server']||_0x3a56f8[_0x57ff3c(0x247)])||_0x3a56f8[_0x57ff3c(0x1d4)]&&_0x3a56f8[_0x57ff3c(0x247)])throw new TypeError(_0x57ff3c(0x145));if(_0x3a56f8[_0x57ff3c(0x121)]!=null?(this[_0x57ff3c(0x23a)]=_0x1745ee[_0x57ff3c(0xba)]((_0x3a243a,_0xe3d3cd)=>{const _0x3fc44d=_0x57ff3c,_0x4673d4=_0x1745ee[_0x3fc44d(0x255)][0x1aa];_0xe3d3cd[_0x3fc44d(0x258)](0x1aa,{'Content-Length':_0x4673d4[_0x3fc44d(0x1f5)],'Content-Type':_0x3fc44d(0x19b)}),_0xe3d3cd[_0x3fc44d(0xce)](_0x4673d4);}),this['_server']['listen'](_0x3a56f8[_0x57ff3c(0x121)],_0x3a56f8['host'],_0x3a56f8['backlog'],_0x472ecb)):_0x3a56f8[_0x57ff3c(0x1d4)]&&(this['_server']=_0x3a56f8[_0x57ff3c(0x1d4)]),this[_0x57ff3c(0x23a)]){const _0x2c9f19=this['emit'][_0x57ff3c(0xfc)](this,_0x57ff3c(0x114));this[_0x57ff3c(0xf0)]=_0xe4f537(this[_0x57ff3c(0x23a)],{'listening':this[_0x57ff3c(0x19a)]['bind'](this,_0x57ff3c(0xf8)),'error':this[_0x57ff3c(0x19a)][_0x57ff3c(0xfc)](this,_0x57ff3c(0x227)),'upgrade':(_0x3af03f,_0x5ee7b5,_0x1338b4)=>{const _0x400fd6=_0x57ff3c;this[_0x400fd6(0x175)](_0x3af03f,_0x5ee7b5,_0x1338b4,_0x2c9f19);}});}_0x3a56f8[_0x57ff3c(0x138)]===!0x0&&(_0x3a56f8[_0x57ff3c(0x138)]={}),_0x3a56f8['clientTracking']&&(this[_0x57ff3c(0x21a)]=new Set(),this[_0x57ff3c(0x1fa)]=!0x1),this['options']=_0x3a56f8,this[_0x57ff3c(0x1bf)]=_0x433e91;}[_0x2c9a6a(0x23c)](){const _0x23f2ff=_0x2c9a6a;if(this[_0x23f2ff(0x21b)][_0x23f2ff(0x247)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x23f2ff(0x23a)]?this[_0x23f2ff(0x23a)]['address']():null;}[_0x2c9a6a(0xe6)](_0x12dfcf){const _0xbf3228=_0x2c9a6a;if(this['_state']===_0x451594){_0x12dfcf&&this[_0xbf3228(0xff)](_0xbf3228(0xe6),()=>{const _0xf479b8=_0xbf3228;_0x12dfcf(new Error(_0xf479b8(0x111)));}),process[_0xbf3228(0x1ae)](_0x3307e1,this);return;}if(_0x12dfcf&&this['once'](_0xbf3228(0xe6),_0x12dfcf),this[_0xbf3228(0x1bf)]!==_0x248eb1){if(this[_0xbf3228(0x1bf)]=_0x248eb1,this['options'][_0xbf3228(0x247)]||this['options'][_0xbf3228(0x1d4)])this[_0xbf3228(0x23a)]&&(this[_0xbf3228(0xf0)](),this[_0xbf3228(0xf0)]=this[_0xbf3228(0x23a)]=null),this[_0xbf3228(0x21a)]?this['clients'][_0xbf3228(0x1c2)]?this[_0xbf3228(0x1fa)]=!0x0:process['nextTick'](_0x3307e1,this):process[_0xbf3228(0x1ae)](_0x3307e1,this);else{const _0x570b39=this[_0xbf3228(0x23a)];this[_0xbf3228(0xf0)](),this['_removeListeners']=this[_0xbf3228(0x23a)]=null,_0x570b39['close'](()=>{_0x3307e1(this);});}}}[_0x2c9a6a(0x11b)](_0x5a5556){const _0x4cf249=_0x2c9a6a;if(this[_0x4cf249(0x21b)][_0x4cf249(0x194)]){const _0x94521b=_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x105)]('?');if((_0x94521b!==-0x1?_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x12e)](0x0,_0x94521b):_0x5a5556['url'])!==this[_0x4cf249(0x21b)][_0x4cf249(0x194)])return!0x1;}return!0x0;}[_0x2c9a6a(0x175)](_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499){const _0x35244a=_0x2c9a6a;_0x2f4e6a['on']('error',_0x17a3a0);const _0x42aed5=_0x570a6b['headers'][_0x35244a(0x1d0)],_0x580b94=_0x570a6b[_0x35244a(0x1c7)][_0x35244a(0x222)],_0x551947=+_0x570a6b['headers'][_0x35244a(0xbf)];if(_0x570a6b[_0x35244a(0x1b6)]!==_0x35244a(0x118)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x195,_0x35244a(0x18c));return;}if(_0x580b94===void 0x0||_0x580b94[_0x35244a(0x124)]()!==_0x35244a(0x101)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x152));return;}if(_0x42aed5===void 0x0||!_0x17c2fb[_0x35244a(0xf2)](_0x42aed5)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x1ff));return;}if(_0x551947!==0x8&&_0x551947!==0xd){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x570a6b)){_0x5dbdd3(_0x2f4e6a,0x190);return;}const _0x428e79=_0x570a6b[_0x35244a(0x1c7)]['sec-websocket-protocol'];let _0x548327=new Set();if(_0x428e79!==void 0x0)try{_0x548327=_0xeec3fb['parse'](_0x428e79);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0xec));return;}const _0x5d9840=_0x570a6b['headers'][_0x35244a(0x228)],_0x5bc4b1={};if(this[_0x35244a(0x21b)]['perMessageDeflate']&&_0x5d9840!==void 0x0){const _0x1bd0f1=new _0x19cc52(this[_0x35244a(0x21b)][_0x35244a(0x138)],!0x0,this[_0x35244a(0x21b)][_0x35244a(0xcd)]);try{const _0x50488c=_0xac014d[_0x35244a(0x248)](_0x5d9840);_0x50488c[_0x19cc52[_0x35244a(0x16e)]]&&(_0x1bd0f1[_0x35244a(0x210)](_0x50488c[_0x19cc52[_0x35244a(0x16e)]]),_0x5bc4b1[_0x19cc52[_0x35244a(0x16e)]]=_0x1bd0f1);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x199));return;}}if(this[_0x35244a(0x21b)][_0x35244a(0x27c)]){const _0x2a412e={'origin':_0x570a6b[_0x35244a(0x1c7)][''+(_0x551947===0x8?_0x35244a(0xd1):_0x35244a(0xcf))],'secure':!!(_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x133)]||_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x13e)]),'req':_0x570a6b};if(this[_0x35244a(0x21b)][_0x35244a(0x27c)][_0x35244a(0x1f5)]===0x2){this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e,(_0xbc8b4e,_0x2e966f,_0xbd401d,_0x27b0d7)=>{const _0x4c63bf=_0x35244a;if(!_0xbc8b4e)return _0x5dbdd3(_0x2f4e6a,_0x2e966f||0x191,_0xbd401d,_0x27b0d7);this[_0x4c63bf(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);});return;}if(!this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e))return _0x5dbdd3(_0x2f4e6a,0x191);}this[_0x35244a(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);}['completeUpgrade'](_0x59ccbd,_0x211c2c,_0x170f05,_0xe5a376,_0x585298,_0x386d01,_0x26c81d){const _0x29c801=_0x2c9a6a;if(!_0x585298[_0x29c801(0x1e0)]||!_0x585298[_0x29c801(0x279)])return _0x585298[_0x29c801(0x1c4)]();if(_0x585298[_0x2bd79f])throw new Error(_0x29c801(0xe2));if(this['_state']>_0x433e91)return _0x5dbdd3(_0x585298,0x1f7);const _0x1e5123=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x29c801(0x200),_0x29c801(0x135),_0x29c801(0x177)+_0x54418d(_0x29c801(0x1a2))[_0x29c801(0x12b)](_0x211c2c+_0x57313d)[_0x29c801(0x1e4)](_0x29c801(0x141))],_0xb9aa06=new this[(_0x29c801(0x21b))][(_0x29c801(0x144))](null,void 0x0,this['options']);if(_0x170f05[_0x29c801(0x1c2)]){const _0x1beb3c=this[_0x29c801(0x21b)]['handleProtocols']?this['options'][_0x29c801(0x257)](_0x170f05,_0xe5a376):_0x170f05[_0x29c801(0x171)]()[_0x29c801(0x17f)]()['value'];_0x1beb3c&&(_0x1e5123['push'](_0x29c801(0x1cc)+_0x1beb3c),_0xb9aa06[_0x29c801(0x184)]=_0x1beb3c);}if(_0x59ccbd[_0x19cc52['extensionName']]){const _0x5a0600=_0x59ccbd[_0x19cc52[_0x29c801(0x16e)]][_0x29c801(0x18d)],_0x3acb9d=_0xac014d[_0x29c801(0xfe)]({[_0x19cc52[_0x29c801(0x16e)]]:[_0x5a0600]});_0x1e5123[_0x29c801(0x127)](_0x29c801(0x137)+_0x3acb9d),_0xb9aa06[_0x29c801(0x136)]=_0x59ccbd;}this[_0x29c801(0x19a)]('headers',_0x1e5123,_0xe5a376),_0x585298['write'](_0x1e5123[_0x29c801(0x1f1)]('\x0d\x0a')[_0x29c801(0x13f)]('\x0d\x0a')),_0x585298['removeListener'](_0x29c801(0x227),_0x17a3a0),_0xb9aa06[_0x29c801(0x1b8)](_0x585298,_0x386d01,{'allowSynchronousEvents':this[_0x29c801(0x21b)][_0x29c801(0x1cb)],'maxPayload':this[_0x29c801(0x21b)][_0x29c801(0xcd)],'skipUTF8Validation':this[_0x29c801(0x21b)][_0x29c801(0x24e)]}),this[_0x29c801(0x21a)]&&(this[_0x29c801(0x21a)][_0x29c801(0x19c)](_0xb9aa06),_0xb9aa06['on'](_0x29c801(0xe6),()=>{const _0x42e4a7=_0x29c801;this['clients'][_0x42e4a7(0x1fd)](_0xb9aa06),this[_0x42e4a7(0x1fa)]&&!this[_0x42e4a7(0x21a)]['size']&&process[_0x42e4a7(0x1ae)](_0x3307e1,this);})),_0x26c81d(_0xb9aa06,_0xe5a376);}}Te=_0xe3773;function _0xe4f537(_0x199893,_0x16b86a){const _0x2ee239=_0x2c9a6a;for(const _0x58dcb0 of Object[_0x2ee239(0x149)](_0x16b86a))_0x199893['on'](_0x58dcb0,_0x16b86a[_0x58dcb0]);return function(){const _0x2c1abb=_0x2ee239;for(const _0x28e241 of Object['keys'](_0x16b86a))_0x199893[_0x2c1abb(0x1d9)](_0x28e241,_0x16b86a[_0x28e241]);};}function _0x3307e1(_0x434ae3){const _0x20deda=_0x2c9a6a;_0x434ae3[_0x20deda(0x1bf)]=_0x451594,_0x434ae3[_0x20deda(0x19a)](_0x20deda(0xe6));}function _0x17a3a0(){const _0x2ceaff=_0x2c9a6a;this[_0x2ceaff(0x1c4)]();}function _0x5dbdd3(_0x12bf2b,_0x2b0a5a,_0x1fcf60,_0x260070){const _0x4f9697=_0x2c9a6a;_0x1fcf60=_0x1fcf60||_0x1745ee[_0x4f9697(0x255)][_0x2b0a5a],_0x260070={'Connection':_0x4f9697(0xe6),'Content-Type':_0x4f9697(0x1b5),'Content-Length':Buffer[_0x4f9697(0x132)](_0x1fcf60),..._0x260070},_0x12bf2b[_0x4f9697(0xff)](_0x4f9697(0x277),_0x12bf2b[_0x4f9697(0x1c4)]),_0x12bf2b[_0x4f9697(0xce)](_0x4f9697(0x19e)+_0x2b0a5a+'\x20'+_0x1745ee['STATUS_CODES'][_0x2b0a5a]+'\x0d\x0a'+Object[_0x4f9697(0x149)](_0x260070)['map'](_0x1285f9=>_0x1285f9+':\x20'+_0x260070[_0x1285f9])[_0x4f9697(0x13f)]('\x0d\x0a')+_0x4f9697(0x27a)+_0x1fcf60);}function _0x2342c5(_0x332201,_0x12d1d9,_0x460171,_0x53fbb9,_0x46bd87){const _0x4a2124=_0x2c9a6a;if(_0x332201[_0x4a2124(0x25b)](_0x4a2124(0x218))){const _0x51d1de=new Error(_0x46bd87);Error[_0x4a2124(0x1a9)](_0x51d1de,_0x2342c5),_0x332201[_0x4a2124(0x19a)](_0x4a2124(0x218),_0x51d1de,_0x460171,_0x12d1d9);}else _0x5dbdd3(_0x460171,_0x53fbb9,_0x46bd87);}return Te;}Ft();var jt=Object[_0x4a8b65(0xbe)],Wt=(_0x123411,_0x588046,_0x73e425,_0x6d323b)=>{const _0x236833=_0x4a8b65;for(var _0x4928fd=_0x6d323b>0x1?void 0x0:_0x6d323b?jt(_0x588046,_0x73e425):_0x588046,_0x60f1b7=_0x123411[_0x236833(0x1f5)]-0x1,_0x354eb6;_0x60f1b7>=0x0;_0x60f1b7--)(_0x354eb6=_0x123411[_0x60f1b7])&&(_0x4928fd=_0x354eb6(_0x4928fd)||_0x4928fd);return _0x4928fd;},qt=(_0x141b01,_0x3de12c)=>(_0x1a9fde,_0x5343d0)=>_0x3de12c(_0x1a9fde,_0x5343d0,_0x141b01);let ke=class extends A['Disposable']{constructor(_0x3aa1ed){const _0xea2713=_0x4a8b65;super(),this[_0xea2713(0x170)]=_0x3aa1ed;}[_0x4a8b65(0xe3)](_0x3505a9){const _0xec92f9=_0x4a8b65;var _0xb0718f;const _0x275eec=(_0xb0718f=this[_0xec92f9(0x170)]['getConfig'](fe))==null?void 0x0:_0xb0718f[_0xec92f9(0x1ac)];try{const _0x30ae01=new $t(_0x3505a9,{'headers':{..._0x275eec}}),_0x1f5910=new A['DisposableCollection']();return{'URL':_0x3505a9,'close':(_0x3fae31,_0x4a674e)=>{const _0x2ff3aa=_0xec92f9;_0x30ae01[_0x2ff3aa(0xe6)](_0x3fae31,_0x4a674e),_0x1f5910[_0x2ff3aa(0x1d3)]();},'send':_0x353390=>{const _0x27da32=_0xec92f9;_0x30ae01[_0x27da32(0x13b)](_0x353390);},'open$':new V[(_0xec92f9(0x266))](_0x1a2741=>{const _0x14a05b=_0xec92f9,_0x39530b=_0x34c3b4=>_0x1a2741[_0x14a05b(0x17f)](_0x34c3b4);_0x30ae01[_0x14a05b(0x140)](_0x14a05b(0x148),_0x39530b),_0x1f5910[_0x14a05b(0x19c)](A[_0x14a05b(0x17a)](()=>_0x30ae01[_0x14a05b(0x1ea)](_0x14a05b(0x148),_0x39530b)));})['pipe'](V[_0xec92f9(0x238)]()),'close$':new V[(_0xec92f9(0x266))](_0x245083=>{const _0x495def=_0xec92f9,_0x16ce1e=_0x3fa1f7=>_0x245083['next'](_0x3fa1f7);_0x30ae01[_0x495def(0x140)](_0x495def(0xe6),_0x16ce1e),_0x1f5910[_0x495def(0x19c)](A[_0x495def(0x17a)](()=>_0x30ae01['removeEventListener'](_0x495def(0xe6),_0x16ce1e)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'error$':new V[(_0xec92f9(0x266))](_0x138eac=>{const _0x358fab=_0xec92f9,_0x528d6d=_0x44eb04=>_0x138eac[_0x358fab(0x17f)](_0x44eb04);_0x30ae01[_0x358fab(0x140)](_0x358fab(0x227),_0x528d6d),_0x1f5910[_0x358fab(0x19c)](A[_0x358fab(0x17a)](()=>_0x30ae01[_0x358fab(0x1ea)](_0x358fab(0x227),_0x528d6d)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'message$':new V['Observable'](_0x2224a5=>{const _0x3c448d=_0xec92f9,_0x431310=_0x454ccf=>_0x2224a5[_0x3c448d(0x17f)](_0x454ccf);_0x30ae01[_0x3c448d(0x140)](_0x3c448d(0x13c),_0x431310),_0x1f5910[_0x3c448d(0x19c)](A[_0x3c448d(0x17a)](()=>_0x30ae01[_0x3c448d(0x1ea)](_0x3c448d(0x13c),_0x431310)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]())};}catch(_0x240c5a){return console[_0xec92f9(0x227)](_0x240c5a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x4a8b65(0xe1)],Vt=Object[_0x4a8b65(0xbe)],Ht=(_0x21bd87,_0xf77f19,_0x23c87a)=>_0xf77f19 in _0x21bd87?Gt(_0x21bd87,_0xf77f19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c87a}):_0x21bd87[_0xf77f19]=_0x23c87a,zt=(_0x49f340,_0x4c776f,_0x899083,_0xa199a9)=>{for(var _0xe3d207=_0xa199a9>0x1?void 0x0:_0xa199a9?Vt(_0x4c776f,_0x899083):_0x4c776f,_0x526fc1=_0x49f340['length']-0x1,_0x380cfa;_0x526fc1>=0x0;_0x526fc1--)(_0x380cfa=_0x49f340[_0x526fc1])&&(_0xe3d207=_0x380cfa(_0xe3d207)||_0xe3d207);return _0xe3d207;},Ne=(_0xef31ab,_0x2dd306)=>(_0x25b458,_0x4dd493)=>_0x2dd306(_0x25b458,_0x4dd493,_0xef31ab),Yt=(_0x357ee9,_0x5dd627,_0x25a225)=>Ht(_0x357ee9,_0x5dd627+'',_0x25a225);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x4a8b65(0x14a)]{constructor(_0x514e88=Ct,_0x529e93,_0x1eac90,_0x1e7ed8){const _0x206dd9=_0x4a8b65;_0x514e88[_0x206dd9(0x1ac)]||_0x529e93[_0x206dd9(0x275)](_0x206dd9(0x10d)),super(),this[_0x206dd9(0x170)]=_0x1eac90,this['_injector']=_0x1e7ed8,this[_0x206dd9(0x170)][_0x206dd9(0x14e)](fe,_0x514e88);}['onStarting'](){this['_registerDependencies']();}[_0x4a8b65(0x1a6)](){const _0x4e79f1=_0x4a8b65;A['registerDependencies'](this[_0x4e79f1(0x1a1)],[[it[_0x4e79f1(0x264)],{'useClass':ke}]]);}},Yt(exports[_0x4a8b65(0x1c9)],_0x4a8b65(0x1e9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4a8b65(0x130)](st[_0x4a8b65(0x251)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4a8b65(0x103)]),Ne(0x3,A[_0x4a8b65(0xdd)](A['Injector']))],exports[_0x4a8b65(0x1c9)]);var Kt=Object[_0x4a8b65(0xbe)],Xt=(_0x546958,_0xc89def,_0x262906,_0x104a1f)=>{const _0x3043c9=_0x4a8b65;for(var _0x2aa9c2=_0x104a1f>0x1?void 0x0:_0x104a1f?Kt(_0xc89def,_0x262906):_0xc89def,_0xc39440=_0x546958[_0x3043c9(0x1f5)]-0x1,_0x405753;_0xc39440>=0x0;_0xc39440--)(_0x405753=_0x546958[_0xc39440])&&(_0x2aa9c2=_0x405753(_0x2aa9c2)||_0x2aa9c2);return _0x2aa9c2;},ne=(_0x238ff7,_0x15ae73)=>(_0xe1b248,_0x1fff65)=>_0x15ae73(_0xe1b248,_0x1fff65,_0x238ff7);exports[_0x4a8b65(0x233)]=class extends st['CollaborationSocketService']{constructor(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f){const _0x2699fb=_0x4a8b65;super(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f);const _0x5de04d=this[_0x2699fb(0x170)]['getConfig'](fe);this['_httpService'][_0x2699fb(0xf7)]({'interceptor':(_0x7f1b98,_0x1d175f)=>{const _0x3b0f48=_0x2699fb;var _0x51eacb;const _0x33d7c1=_0x7f1b98[_0x3b0f48(0x1c7)];return(_0x51eacb=_0x5de04d==null?void 0x0:_0x5de04d[_0x3b0f48(0x1ac)])!=null&&_0x51eacb[_0x3b0f48(0x265)]&&_0x33d7c1[_0x3b0f48(0xc8)](_0x3b0f48(0xd3),_0x5de04d[_0x3b0f48(0x1ac)][_0x3b0f48(0x265)]),_0x1d175f(_0x7f1b98);}});}async[_0x4a8b65(0xe3)](_0x23d350){const _0x515c72=_0x4a8b65;return this[_0x515c72(0x1f0)](_0x23d350);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x4a8b65(0x211)])),ne(0x1,A[_0x4a8b65(0xdd)](it[_0x4a8b65(0x252)])),ne(0x2,A[_0x4a8b65(0x103)]),ne(0x3,A[_0x4a8b65(0x23b)]),ne(0x4,Ot[_0x4a8b65(0x1ba)])],exports[_0x4a8b65(0x233)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x34a264=_0x1750;(function(_0x4c8811,_0x432eae){const _0x3bbb2e=_0x1750,_0x4b973a=_0x4c8811();while(!![]){try{const _0xed5a4e=-parseInt(_0x3bbb2e(0x1b0))/0x1*(-parseInt(_0x3bbb2e(0x150))/0x2)+-parseInt(_0x3bbb2e(0x211))/0x3+-parseInt(_0x3bbb2e(0x143))/0x4+-parseInt(_0x3bbb2e(0x185))/0x5+parseInt(_0x3bbb2e(0x207))/0x6*(parseInt(_0x3bbb2e(0xca))/0x7)+-parseInt(_0x3bbb2e(0x20a))/0x8+parseInt(_0x3bbb2e(0x177))/0x9;if(_0xed5a4e===_0x432eae)break;else _0x4b973a['push'](_0x4b973a['shift']());}catch(_0x34b1d4){_0x4b973a['push'](_0x4b973a['shift']());}}}(_0x3fa8,0x52ab5));Object[_0x34a264(0x19d)](exports,Symbol[_0x34a264(0x24b)],{'value':'Module'});const st=require(_0x34a264(0x134)),A=require(_0x34a264(0xdf)),it=require(_0x34a264(0x1ba)),V=require(_0x34a264(0x1bb)),nt=require(_0x34a264(0x13e)),vt=require(_0x34a264(0x1df)),ot=require('http'),St=require(_0x34a264(0x16a)),Et=require(_0x34a264(0x164)),Le=require(_0x34a264(0xf8)),oe=require('stream'),xt=require(_0x34a264(0x17d)),bt=require(_0x34a264(0x18c)),wt=require(_0x34a264(0x1a5)),Ot=require(_0x34a264(0x1bc)),fe=_0x34a264(0x128),Ct={'customHeaders':{}};function Tt(_0x20226a){const _0xf992d9=_0x34a264;return _0x20226a&&_0x20226a[_0xf992d9(0x11e)]&&Object[_0xf992d9(0x1d9)][_0xf992d9(0x159)][_0xf992d9(0x27f)](_0x20226a,_0xf992d9(0x20f))?_0x20226a[_0xf992d9(0x20f)]:_0x20226a;}function at(_0x4f656c){const _0x4bee17=_0x34a264;if(Object[_0x4bee17(0x1d9)]['hasOwnProperty']['call'](_0x4f656c,_0x4bee17(0x11e)))return _0x4f656c;var _0x50442d=_0x4f656c[_0x4bee17(0x20f)];if(typeof _0x50442d==_0x4bee17(0x25e)){var _0x2867d6=function _0xaf7af4(){const _0x38f80f=_0x4bee17;return this instanceof _0xaf7af4?Reflect[_0x38f80f(0x230)](_0x50442d,arguments,this[_0x38f80f(0x202)]):_0x50442d[_0x38f80f(0x108)](this,arguments);};_0x2867d6[_0x4bee17(0x1d9)]=_0x50442d['prototype'];}else _0x2867d6={};return Object['defineProperty'](_0x2867d6,_0x4bee17(0x11e),{'value':!0x0}),Object[_0x4bee17(0x260)](_0x4f656c)[_0x4bee17(0x1b2)](function(_0x5b0840){const _0x52161f=_0x4bee17;var _0x589d0e=Object[_0x52161f(0x1e2)](_0x4f656c,_0x5b0840);Object[_0x52161f(0x19d)](_0x2867d6,_0x5b0840,_0x589d0e[_0x52161f(0x220)]?_0x589d0e:{'enumerable':!0x0,'get':function(){return _0x4f656c[_0x5b0840];}});}),_0x2867d6;}var se={'exports':{}},ge,Ge;function H(){const _0x1c1ec8=_0x34a264;if(Ge)return ge;Ge=0x1;const _0x566e2c=[_0x1c1ec8(0x1a2),_0x1c1ec8(0x17b),_0x1c1ec8(0xe2)],_0x419bc5=typeof Blob<'u';return _0x419bc5&&_0x566e2c[_0x1c1ec8(0x180)](_0x1c1ec8(0x190)),ge={'BINARY_TYPES':_0x566e2c,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x419bc5,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x1c1ec8(0x153)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x34a264(0x173)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x34a264(0x24b)],{'value':_0x34a264(0xff)})),Lt=at(kt);var Ve;function ce(){const _0x18b4ec=_0x34a264;if(Ve)return se[_0x18b4ec(0x139)];Ve=0x1;const {EMPTY_BUFFER:_0x29d704}=H(),_0x17ad99=Buffer[Symbol[_0x18b4ec(0x22b)]];function _0x4b8691(_0xaae8d8,_0x19c858){const _0x30ecb2=_0x18b4ec;if(_0xaae8d8['length']===0x0)return _0x29d704;if(_0xaae8d8['length']===0x1)return _0xaae8d8[0x0];const _0x56b8dc=Buffer['allocUnsafe'](_0x19c858);let _0x4b49f7=0x0;for(let _0x506ef2=0x0;_0x506ef2<_0xaae8d8['length'];_0x506ef2++){const _0x39505b=_0xaae8d8[_0x506ef2];_0x56b8dc[_0x30ecb2(0x167)](_0x39505b,_0x4b49f7),_0x4b49f7+=_0x39505b[_0x30ecb2(0x21c)];}return _0x4b49f7<_0x19c858?new _0x17ad99(_0x56b8dc[_0x30ecb2(0x1a5)],_0x56b8dc[_0x30ecb2(0x20c)],_0x4b49f7):_0x56b8dc;}function _0x8c0dd(_0x2ba65d,_0x1932ee,_0x894dca,_0x46d3eb,_0x49fe2a){for(let _0x3229b8=0x0;_0x3229b8<_0x49fe2a;_0x3229b8++)_0x894dca[_0x46d3eb+_0x3229b8]=_0x2ba65d[_0x3229b8]^_0x1932ee[_0x3229b8&0x3];}function _0x4667c4(_0x4080a3,_0x30310a){const _0x43a90f=_0x18b4ec;for(let _0x1395e9=0x0;_0x1395e9<_0x4080a3[_0x43a90f(0x21c)];_0x1395e9++)_0x4080a3[_0x1395e9]^=_0x30310a[_0x1395e9&0x3];}function _0x314fcf(_0x3f158f){const _0x302c15=_0x18b4ec;return _0x3f158f['length']===_0x3f158f[_0x302c15(0x1a5)][_0x302c15(0x1b9)]?_0x3f158f[_0x302c15(0x1a5)]:_0x3f158f['buffer'][_0x302c15(0x1c2)](_0x3f158f[_0x302c15(0x20c)],_0x3f158f['byteOffset']+_0x3f158f[_0x302c15(0x21c)]);}function _0x57400f(_0x4cd775){const _0x5daad8=_0x18b4ec;if(_0x57400f[_0x5daad8(0xe7)]=!0x0,Buffer[_0x5daad8(0x14d)](_0x4cd775))return _0x4cd775;let _0x423fc7;return _0x4cd775 instanceof ArrayBuffer?_0x423fc7=new _0x17ad99(_0x4cd775):ArrayBuffer[_0x5daad8(0x10c)](_0x4cd775)?_0x423fc7=new _0x17ad99(_0x4cd775['buffer'],_0x4cd775[_0x5daad8(0x20c)],_0x4cd775[_0x5daad8(0x1b9)]):(_0x423fc7=Buffer[_0x5daad8(0x22f)](_0x4cd775),_0x57400f[_0x5daad8(0xe7)]=!0x1),_0x423fc7;}if(se[_0x18b4ec(0x139)]={'concat':_0x4b8691,'mask':_0x8c0dd,'toArrayBuffer':_0x314fcf,'toBuffer':_0x57400f,'unmask':_0x4667c4},!process[_0x18b4ec(0x178)][_0x18b4ec(0x21a)])try{const _0xb44cb=Lt;se['exports'][_0x18b4ec(0xd9)]=function(_0x1614d3,_0x2aa89c,_0x19cf06,_0x115e55,_0x2f358e){const _0x307ad9=_0x18b4ec;_0x2f358e<0x30?_0x8c0dd(_0x1614d3,_0x2aa89c,_0x19cf06,_0x115e55,_0x2f358e):_0xb44cb[_0x307ad9(0xd9)](_0x1614d3,_0x2aa89c,_0x19cf06,_0x115e55,_0x2f358e);},se['exports'][_0x18b4ec(0x1c3)]=function(_0x4f8347,_0x3adfe2){const _0x49925d=_0x18b4ec;_0x4f8347[_0x49925d(0x21c)]<0x20?_0x4667c4(_0x4f8347,_0x3adfe2):_0xb44cb[_0x49925d(0x1c3)](_0x4f8347,_0x3adfe2);};}catch{}return se[_0x18b4ec(0x139)];}var ye,He;function Pt(){const _0x3a4676=_0x34a264;if(He)return ye;He=0x1;const _0x2cb37d=Symbol(_0x3a4676(0x249)),_0x13f50a=Symbol('kRun');class _0x49e53f{constructor(_0x1f3125){const _0x153c51=_0x3a4676;this[_0x2cb37d]=()=>{const _0x215b34=_0x1750;this[_0x215b34(0x1ef)]--,this[_0x13f50a]();},this[_0x153c51(0x12d)]=_0x1f3125||0x1/0x0,this[_0x153c51(0xcf)]=[],this[_0x153c51(0x1ef)]=0x0;}[_0x3a4676(0xc3)](_0x26c4cf){const _0x2426df=_0x3a4676;this['jobs'][_0x2426df(0x180)](_0x26c4cf),this[_0x13f50a]();}[_0x13f50a](){const _0x2a7272=_0x3a4676;if(this['pending']!==this[_0x2a7272(0x12d)]&&this[_0x2a7272(0xcf)][_0x2a7272(0x21c)]){const _0x3eeabe=this[_0x2a7272(0xcf)][_0x2a7272(0x16f)]();this[_0x2a7272(0x1ef)]++,_0x3eeabe(this[_0x2cb37d]);}}}return ye=_0x49e53f,ye;}var ve,ze;function he(){const _0x441fdc=_0x34a264;if(ze)return ve;ze=0x1;const _0x17782f=bt,_0x1dcf0e=ce(),_0x53debd=Pt(),{kStatusCode:_0x31d36c}=H(),_0x2a5024=Buffer[Symbol[_0x441fdc(0x22b)]],_0xfc78bb=Buffer[_0x441fdc(0x22f)]([0x0,0x0,0xff,0xff]),_0x5b8f6b=Symbol(_0x441fdc(0x10b)),_0x404c59=Symbol(_0x441fdc(0x24d)),_0x36ead4=Symbol(_0x441fdc(0x1eb)),_0x4d873f=Symbol('buffers'),_0xc1dac6=Symbol(_0x441fdc(0x1c5));let _0x37230e;class _0x2732ac{constructor(_0x8dbabd,_0x2bc4ab,_0x5c5dcb){const _0x109c55=_0x441fdc;if(this['_maxPayload']=_0x5c5dcb|0x0,this['_options']=_0x8dbabd||{},this[_0x109c55(0x1e8)]=this[_0x109c55(0x1fd)][_0x109c55(0x163)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x109c55(0x205)]=!!_0x2bc4ab,this[_0x109c55(0x112)]=null,this['_inflate']=null,this['params']=null,!_0x37230e){const _0x40d51a=this['_options'][_0x109c55(0xc7)]!==void 0x0?this[_0x109c55(0x1fd)]['concurrencyLimit']:0xa;_0x37230e=new _0x53debd(_0x40d51a);}}static get[_0x441fdc(0x107)](){const _0x5e32ce=_0x441fdc;return _0x5e32ce(0x10b);}[_0x441fdc(0x181)](){const _0x59e214=_0x441fdc,_0x133013={};return this[_0x59e214(0x1fd)][_0x59e214(0x140)]&&(_0x133013['server_no_context_takeover']=!0x0),this[_0x59e214(0x1fd)][_0x59e214(0x243)]&&(_0x133013[_0x59e214(0x113)]=!0x0),this[_0x59e214(0x1fd)][_0x59e214(0x22a)]&&(_0x133013[_0x59e214(0x16d)]=this['_options'][_0x59e214(0x22a)]),this[_0x59e214(0x1fd)][_0x59e214(0x23e)]?_0x133013['client_max_window_bits']=this[_0x59e214(0x1fd)][_0x59e214(0x23e)]:this[_0x59e214(0x1fd)][_0x59e214(0x23e)]==null&&(_0x133013['client_max_window_bits']=!0x0),_0x133013;}[_0x441fdc(0x1c4)](_0x441ecc){const _0x4fe4f7=_0x441fdc;return _0x441ecc=this['normalizeParams'](_0x441ecc),this[_0x4fe4f7(0x209)]=this[_0x4fe4f7(0x205)]?this[_0x4fe4f7(0x1e1)](_0x441ecc):this[_0x4fe4f7(0xcc)](_0x441ecc),this['params'];}[_0x441fdc(0x166)](){const _0x116043=_0x441fdc;if(this[_0x116043(0x224)]&&(this[_0x116043(0x224)][_0x116043(0x1a1)](),this['_inflate']=null),this[_0x116043(0x112)]){const _0x126fe5=this[_0x116043(0x112)][_0x36ead4];this[_0x116043(0x112)][_0x116043(0x1a1)](),this['_deflate']=null,_0x126fe5&&_0x126fe5(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x237405){const _0x374d81=_0x441fdc,_0x5c35a4=this['_options'],_0x4b20ad=_0x237405[_0x374d81(0xf0)](_0x171042=>!(_0x5c35a4[_0x374d81(0x140)]===!0x1&&_0x171042[_0x374d81(0x186)]||_0x171042[_0x374d81(0x16d)]&&(_0x5c35a4['serverMaxWindowBits']===!0x1||typeof _0x5c35a4['serverMaxWindowBits']==_0x374d81(0x1cb)&&_0x5c35a4[_0x374d81(0x22a)]>_0x171042[_0x374d81(0x16d)])||typeof _0x5c35a4[_0x374d81(0x23e)]=='number'&&!_0x171042['client_max_window_bits']));if(!_0x4b20ad)throw new Error(_0x374d81(0x12e));return _0x5c35a4[_0x374d81(0x140)]&&(_0x4b20ad[_0x374d81(0x186)]=!0x0),_0x5c35a4[_0x374d81(0x243)]&&(_0x4b20ad[_0x374d81(0x113)]=!0x0),typeof _0x5c35a4[_0x374d81(0x22a)]==_0x374d81(0x1cb)&&(_0x4b20ad['server_max_window_bits']=_0x5c35a4['serverMaxWindowBits']),typeof _0x5c35a4[_0x374d81(0x23e)]==_0x374d81(0x1cb)?_0x4b20ad[_0x374d81(0x215)]=_0x5c35a4[_0x374d81(0x23e)]:(_0x4b20ad[_0x374d81(0x215)]===!0x0||_0x5c35a4[_0x374d81(0x23e)]===!0x1)&&delete _0x4b20ad[_0x374d81(0x215)],_0x4b20ad;}['acceptAsClient'](_0x252974){const _0x197f5f=_0x441fdc,_0x43461c=_0x252974[0x0];if(this[_0x197f5f(0x1fd)][_0x197f5f(0x243)]===!0x1&&_0x43461c[_0x197f5f(0x113)])throw new Error(_0x197f5f(0xfc));if(!_0x43461c['client_max_window_bits'])typeof this[_0x197f5f(0x1fd)][_0x197f5f(0x23e)]==_0x197f5f(0x1cb)&&(_0x43461c[_0x197f5f(0x215)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x197f5f(0x1fd)][_0x197f5f(0x23e)]===!0x1||typeof this[_0x197f5f(0x1fd)][_0x197f5f(0x23e)]==_0x197f5f(0x1cb)&&_0x43461c[_0x197f5f(0x215)]>this[_0x197f5f(0x1fd)][_0x197f5f(0x23e)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x43461c;}[_0x441fdc(0xcb)](_0x236224){return _0x236224['forEach'](_0x2da01c=>{const _0x3ec94e=_0x1750;Object[_0x3ec94e(0x260)](_0x2da01c)[_0x3ec94e(0x1b2)](_0x5bae85=>{const _0x593f75=_0x3ec94e;let _0x5c51ab=_0x2da01c[_0x5bae85];if(_0x5c51ab['length']>0x1)throw new Error('Parameter\x20\x22'+_0x5bae85+_0x593f75(0x203));if(_0x5c51ab=_0x5c51ab[0x0],_0x5bae85===_0x593f75(0x215)){if(_0x5c51ab!==!0x0){const _0x58c3e9=+_0x5c51ab;if(!Number[_0x593f75(0xda)](_0x58c3e9)||_0x58c3e9<0x8||_0x58c3e9>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5bae85+_0x593f75(0x14a)+_0x5c51ab);_0x5c51ab=_0x58c3e9;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5bae85+_0x593f75(0x14a)+_0x5c51ab);}}else{if(_0x5bae85===_0x593f75(0x16d)){const _0x833448=+_0x5c51ab;if(!Number[_0x593f75(0xda)](_0x833448)||_0x833448<0x8||_0x833448>0xf)throw new TypeError(_0x593f75(0xd6)+_0x5bae85+'\x22:\x20'+_0x5c51ab);_0x5c51ab=_0x833448;}else{if(_0x5bae85===_0x593f75(0x113)||_0x5bae85===_0x593f75(0x186)){if(_0x5c51ab!==!0x0)throw new TypeError(_0x593f75(0xd6)+_0x5bae85+_0x593f75(0x14a)+_0x5c51ab);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x5bae85+'\x22');}}_0x2da01c[_0x5bae85]=_0x5c51ab;});}),_0x236224;}['decompress'](_0x2976cb,_0x1d41d3,_0x37fc5a){_0x37230e['add'](_0x1e79fa=>{const _0x28d68f=_0x1750;this[_0x28d68f(0x24f)](_0x2976cb,_0x1d41d3,(_0x58b395,_0x2eb270)=>{_0x1e79fa(),_0x37fc5a(_0x58b395,_0x2eb270);});});}[_0x441fdc(0xf3)](_0xd74f9a,_0x5708d3,_0x456dd9){const _0x3c2f99=_0x441fdc;_0x37230e[_0x3c2f99(0xc3)](_0xa6b2dc=>{const _0x4c133d=_0x3c2f99;this[_0x4c133d(0x196)](_0xd74f9a,_0x5708d3,(_0x4145ba,_0x19f846)=>{_0xa6b2dc(),_0x456dd9(_0x4145ba,_0x19f846);});});}[_0x441fdc(0x24f)](_0x527545,_0x5cb5cd,_0x3fe9cf){const _0x204bb0=_0x441fdc,_0x3521f5=this[_0x204bb0(0x205)]?'client':_0x204bb0(0x1a3);if(!this[_0x204bb0(0x224)]){const _0x54a2b7=_0x3521f5+_0x204bb0(0x272),_0x299e70=typeof this[_0x204bb0(0x209)][_0x54a2b7]!=_0x204bb0(0x1cb)?_0x17782f[_0x204bb0(0x1b6)]:this[_0x204bb0(0x209)][_0x54a2b7];this[_0x204bb0(0x224)]=_0x17782f[_0x204bb0(0x189)]({...this[_0x204bb0(0x1fd)][_0x204bb0(0xe0)],'windowBits':_0x299e70}),this[_0x204bb0(0x224)][_0x5b8f6b]=this,this[_0x204bb0(0x224)][_0x404c59]=0x0,this[_0x204bb0(0x224)][_0x4d873f]=[],this[_0x204bb0(0x224)]['on'](_0x204bb0(0x1c5),_0x283359),this[_0x204bb0(0x224)]['on'](_0x204bb0(0xfb),_0xd28283);}this[_0x204bb0(0x224)][_0x36ead4]=_0x3fe9cf,this[_0x204bb0(0x224)][_0x204bb0(0x152)](_0x527545),_0x5cb5cd&&this[_0x204bb0(0x224)]['write'](_0xfc78bb),this[_0x204bb0(0x224)][_0x204bb0(0x1cd)](()=>{const _0x86baed=_0x204bb0,_0x68cbaa=this[_0x86baed(0x224)][_0xc1dac6];if(_0x68cbaa){this[_0x86baed(0x224)][_0x86baed(0x1a1)](),this[_0x86baed(0x224)]=null,_0x3fe9cf(_0x68cbaa);return;}const _0x4c4491=_0x1dcf0e['concat'](this[_0x86baed(0x224)][_0x4d873f],this['_inflate'][_0x404c59]);this[_0x86baed(0x224)][_0x86baed(0xdd)][_0x86baed(0x1b7)]?(this[_0x86baed(0x224)][_0x86baed(0x1a1)](),this[_0x86baed(0x224)]=null):(this[_0x86baed(0x224)][_0x404c59]=0x0,this['_inflate'][_0x4d873f]=[],_0x5cb5cd&&this[_0x86baed(0x209)][_0x3521f5+_0x86baed(0xf7)]&&this[_0x86baed(0x224)][_0x86baed(0xc6)]()),_0x3fe9cf(null,_0x4c4491);});}[_0x441fdc(0x196)](_0x29dbeb,_0x32a666,_0x5e4397){const _0x19c88f=_0x441fdc,_0x334e60=this[_0x19c88f(0x205)]?_0x19c88f(0x1a3):_0x19c88f(0x24e);if(!this[_0x19c88f(0x112)]){const _0x471900=_0x334e60+_0x19c88f(0x272),_0x2dd891=typeof this[_0x19c88f(0x209)][_0x471900]!=_0x19c88f(0x1cb)?_0x17782f[_0x19c88f(0x1b6)]:this[_0x19c88f(0x209)][_0x471900];this[_0x19c88f(0x112)]=_0x17782f[_0x19c88f(0x19b)]({...this[_0x19c88f(0x1fd)][_0x19c88f(0x1b8)],'windowBits':_0x2dd891}),this[_0x19c88f(0x112)][_0x404c59]=0x0,this[_0x19c88f(0x112)][_0x4d873f]=[],this[_0x19c88f(0x112)]['on'](_0x19c88f(0xfb),_0x26b3cd);}this[_0x19c88f(0x112)][_0x36ead4]=_0x5e4397,this[_0x19c88f(0x112)][_0x19c88f(0x152)](_0x29dbeb),this[_0x19c88f(0x112)]['flush'](_0x17782f['Z_SYNC_FLUSH'],()=>{const _0x9ab764=_0x19c88f;if(!this[_0x9ab764(0x112)])return;let _0x1bbe3c=_0x1dcf0e[_0x9ab764(0x1c9)](this[_0x9ab764(0x112)][_0x4d873f],this['_deflate'][_0x404c59]);_0x32a666&&(_0x1bbe3c=new _0x2a5024(_0x1bbe3c[_0x9ab764(0x1a5)],_0x1bbe3c[_0x9ab764(0x20c)],_0x1bbe3c[_0x9ab764(0x21c)]-0x4)),this[_0x9ab764(0x112)][_0x36ead4]=null,this['_deflate'][_0x404c59]=0x0,this['_deflate'][_0x4d873f]=[],_0x32a666&&this[_0x9ab764(0x209)][_0x334e60+_0x9ab764(0xf7)]&&this[_0x9ab764(0x112)][_0x9ab764(0xc6)](),_0x5e4397(null,_0x1bbe3c);});}}ve=_0x2732ac;function _0x26b3cd(_0x48307e){const _0x14b6dc=_0x441fdc;this[_0x4d873f][_0x14b6dc(0x180)](_0x48307e),this[_0x404c59]+=_0x48307e[_0x14b6dc(0x21c)];}function _0xd28283(_0x16b5ba){const _0x2a223=_0x441fdc;if(this[_0x404c59]+=_0x16b5ba[_0x2a223(0x21c)],this[_0x5b8f6b][_0x2a223(0x1c0)]<0x1||this[_0x404c59]<=this[_0x5b8f6b][_0x2a223(0x1c0)]){this[_0x4d873f][_0x2a223(0x180)](_0x16b5ba);return;}this[_0xc1dac6]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xc1dac6]['code']=_0x2a223(0x1a4),this[_0xc1dac6][_0x31d36c]=0x3f1,this[_0x2a223(0x263)](_0x2a223(0xfb),_0xd28283),this[_0x2a223(0xc6)]();}function _0x283359(_0x24b39f){const _0x73557d=_0x441fdc;this[_0x5b8f6b][_0x73557d(0x224)]=null,_0x24b39f[_0x31d36c]=0x3ef,this[_0x36ead4](_0x24b39f);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x34a264(0x173)](Object[_0x34a264(0x19d)]({'__proto__':null,'default':Dt},Symbol[_0x34a264(0x24b)],{'value':_0x34a264(0xff)})),Bt=at(Rt);var Ye;function ae(){const _0xa4cae6=_0x34a264;if(Ye)return ie[_0xa4cae6(0x139)];Ye=0x1;const {isUtf8:_0x5f2b81}=wt,{hasBlob:_0x3b2ef0}=H(),_0x472108=[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 _0x53012b(_0x221cc0){return _0x221cc0>=0x3e8&&_0x221cc0<=0x3f6&&_0x221cc0!==0x3ec&&_0x221cc0!==0x3ed&&_0x221cc0!==0x3ee||_0x221cc0>=0xbb8&&_0x221cc0<=0x1387;}function _0x57364f(_0x1b1726){const _0x5cd2c7=_0xa4cae6,_0x2ceacc=_0x1b1726[_0x5cd2c7(0x21c)];let _0x1ed0b0=0x0;for(;_0x1ed0b0<_0x2ceacc;)if((_0x1b1726[_0x1ed0b0]&0x80)===0x0)_0x1ed0b0++;else{if((_0x1b1726[_0x1ed0b0]&0xe0)===0xc0){if(_0x1ed0b0+0x1===_0x2ceacc||(_0x1b1726[_0x1ed0b0+0x1]&0xc0)!==0x80||(_0x1b1726[_0x1ed0b0]&0xfe)===0xc0)return!0x1;_0x1ed0b0+=0x2;}else{if((_0x1b1726[_0x1ed0b0]&0xf0)===0xe0){if(_0x1ed0b0+0x2>=_0x2ceacc||(_0x1b1726[_0x1ed0b0+0x1]&0xc0)!==0x80||(_0x1b1726[_0x1ed0b0+0x2]&0xc0)!==0x80||_0x1b1726[_0x1ed0b0]===0xe0&&(_0x1b1726[_0x1ed0b0+0x1]&0xe0)===0x80||_0x1b1726[_0x1ed0b0]===0xed&&(_0x1b1726[_0x1ed0b0+0x1]&0xe0)===0xa0)return!0x1;_0x1ed0b0+=0x3;}else{if((_0x1b1726[_0x1ed0b0]&0xf8)===0xf0){if(_0x1ed0b0+0x3>=_0x2ceacc||(_0x1b1726[_0x1ed0b0+0x1]&0xc0)!==0x80||(_0x1b1726[_0x1ed0b0+0x2]&0xc0)!==0x80||(_0x1b1726[_0x1ed0b0+0x3]&0xc0)!==0x80||_0x1b1726[_0x1ed0b0]===0xf0&&(_0x1b1726[_0x1ed0b0+0x1]&0xf0)===0x80||_0x1b1726[_0x1ed0b0]===0xf4&&_0x1b1726[_0x1ed0b0+0x1]>0x8f||_0x1b1726[_0x1ed0b0]>0xf4)return!0x1;_0x1ed0b0+=0x4;}else return!0x1;}}}return!0x0;}function _0x566d5(_0x22016f){const _0x31eb40=_0xa4cae6;return _0x3b2ef0&&typeof _0x22016f==_0x31eb40(0x266)&&typeof _0x22016f[_0x31eb40(0x1d3)]=='function'&&typeof _0x22016f['type']==_0x31eb40(0x101)&&typeof _0x22016f[_0x31eb40(0x1a9)]=='function'&&(_0x22016f[Symbol[_0x31eb40(0x24b)]]===_0x31eb40(0xce)||_0x22016f[Symbol[_0x31eb40(0x24b)]]===_0x31eb40(0x118));}if(ie['exports']={'isBlob':_0x566d5,'isValidStatusCode':_0x53012b,'isValidUTF8':_0x57364f,'tokenChars':_0x472108},_0x5f2b81)ie[_0xa4cae6(0x139)][_0xa4cae6(0x17c)]=function(_0x57912e){const _0x134814=_0xa4cae6;return _0x57912e[_0x134814(0x21c)]<0x18?_0x57364f(_0x57912e):_0x5f2b81(_0x57912e);};else{if(!process[_0xa4cae6(0x178)][_0xa4cae6(0xe3)])try{const _0x511b1e=Bt;ie[_0xa4cae6(0x139)][_0xa4cae6(0x17c)]=function(_0x52a379){return _0x52a379['length']<0x20?_0x57364f(_0x52a379):_0x511b1e(_0x52a379);};}catch{}}return ie['exports'];}function _0x1750(_0x3fcc6b,_0x28779f){const _0x3fa867=_0x3fa8();return _0x1750=function(_0x175053,_0x44e6fa){_0x175053=_0x175053-0xbf;let _0x269a4e=_0x3fa867[_0x175053];return _0x269a4e;},_0x1750(_0x3fcc6b,_0x28779f);}var Se,Ke;function lt(){const _0x1df5fe=_0x34a264;if(Ke)return Se;Ke=0x1;const {Writable:_0x5d02a4}=oe,_0x51823b=he(),{BINARY_TYPES:_0x40dc70,EMPTY_BUFFER:_0x41c297,kStatusCode:_0x44c331,kWebSocket:_0x17443e}=H(),{concat:_0x5f2e13,toArrayBuffer:_0x2fb62e,unmask:_0x1f1a3a}=ce(),{isValidStatusCode:_0xc899d3,isValidUTF8:_0x52a900}=ae(),_0x2a75b3=Buffer[Symbol[_0x1df5fe(0x22b)]],_0x299292=0x0,_0x1dd9c9=0x1,_0xe75c54=0x2,_0x1347f3=0x3,_0x79e63c=0x4,_0x17d497=0x5,_0x45ed20=0x6;class _0x101b33 extends _0x5d02a4{constructor(_0x3bfe9d={}){const _0x107c75=_0x1df5fe;super(),this[_0x107c75(0x19e)]=_0x3bfe9d[_0x107c75(0x214)]!==void 0x0?_0x3bfe9d[_0x107c75(0x214)]:!0x0,this[_0x107c75(0x110)]=_0x3bfe9d[_0x107c75(0x273)]||_0x40dc70[0x0],this['_extensions']=_0x3bfe9d[_0x107c75(0x27e)]||{},this['_isServer']=!!_0x3bfe9d[_0x107c75(0x102)],this[_0x107c75(0x1c0)]=_0x3bfe9d[_0x107c75(0x206)]|0x0,this[_0x107c75(0x255)]=!!_0x3bfe9d['skipUTF8Validation'],this[_0x17443e]=void 0x0,this[_0x107c75(0x182)]=0x0,this[_0x107c75(0x114)]=[],this[_0x107c75(0x216)]=!0x1,this['_payloadLength']=0x0,this[_0x107c75(0x24a)]=void 0x0,this[_0x107c75(0x21f)]=0x0,this[_0x107c75(0x100)]=!0x1,this[_0x107c75(0x174)]=!0x1,this[_0x107c75(0x17f)]=0x0,this[_0x107c75(0x1ca)]=0x0,this['_messageLength']=0x0,this[_0x107c75(0x130)]=[],this[_0x107c75(0x109)]=!0x1,this[_0x107c75(0xf2)]=!0x1,this[_0x107c75(0x16e)]=_0x299292;}[_0x1df5fe(0x117)](_0x4420bb,_0x40a16a,_0x4d155c){const _0x1a2f66=_0x1df5fe;if(this[_0x1a2f66(0x17f)]===0x8&&this[_0x1a2f66(0x16e)]==_0x299292)return _0x4d155c();this[_0x1a2f66(0x182)]+=_0x4420bb['length'],this['_buffers']['push'](_0x4420bb),this[_0x1a2f66(0xfe)](_0x4d155c);}[_0x1df5fe(0xf9)](_0x32717e){const _0x560cde=_0x1df5fe;if(this[_0x560cde(0x182)]-=_0x32717e,_0x32717e===this[_0x560cde(0x114)][0x0][_0x560cde(0x21c)])return this[_0x560cde(0x114)]['shift']();if(_0x32717e<this[_0x560cde(0x114)][0x0][_0x560cde(0x21c)]){const _0x1be40d=this[_0x560cde(0x114)][0x0];return this[_0x560cde(0x114)][0x0]=new _0x2a75b3(_0x1be40d[_0x560cde(0x1a5)],_0x1be40d[_0x560cde(0x20c)]+_0x32717e,_0x1be40d[_0x560cde(0x21c)]-_0x32717e),new _0x2a75b3(_0x1be40d[_0x560cde(0x1a5)],_0x1be40d[_0x560cde(0x20c)],_0x32717e);}const _0x3fa7b7=Buffer[_0x560cde(0xee)](_0x32717e);do{const _0x1da07d=this[_0x560cde(0x114)][0x0],_0xfd2034=_0x3fa7b7[_0x560cde(0x21c)]-_0x32717e;_0x32717e>=_0x1da07d[_0x560cde(0x21c)]?_0x3fa7b7[_0x560cde(0x167)](this[_0x560cde(0x114)]['shift'](),_0xfd2034):(_0x3fa7b7[_0x560cde(0x167)](new Uint8Array(_0x1da07d[_0x560cde(0x1a5)],_0x1da07d['byteOffset'],_0x32717e),_0xfd2034),this['_buffers'][0x0]=new _0x2a75b3(_0x1da07d[_0x560cde(0x1a5)],_0x1da07d['byteOffset']+_0x32717e,_0x1da07d[_0x560cde(0x21c)]-_0x32717e)),_0x32717e-=_0x1da07d[_0x560cde(0x21c)];}while(_0x32717e>0x0);return _0x3fa7b7;}['startLoop'](_0x17d4a4){const _0x47cefe=_0x1df5fe;this[_0x47cefe(0xf2)]=!0x0;do switch(this['_state']){case _0x299292:this[_0x47cefe(0xe9)](_0x17d4a4);break;case _0x1dd9c9:this[_0x47cefe(0x11c)](_0x17d4a4);break;case _0xe75c54:this[_0x47cefe(0x254)](_0x17d4a4);break;case _0x1347f3:this[_0x47cefe(0x10a)]();break;case _0x79e63c:this[_0x47cefe(0x158)](_0x17d4a4);break;case _0x17d497:case _0x45ed20:this[_0x47cefe(0xf2)]=!0x1;return;}while(this['_loop']);this[_0x47cefe(0x109)]||_0x17d4a4();}['getInfo'](_0x4734be){const _0x4a8a00=_0x1df5fe;if(this[_0x4a8a00(0x182)]<0x2){this[_0x4a8a00(0xf2)]=!0x1;return;}const _0x78bcd9=this['consume'](0x2);if((_0x78bcd9[0x0]&0x30)!==0x0){const _0x511fcd=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x1e7),!0x0,0x3ea,_0x4a8a00(0x1b4));_0x4734be(_0x511fcd);return;}const _0x265ee8=(_0x78bcd9[0x0]&0x40)===0x40;if(_0x265ee8&&!this['_extensions'][_0x51823b[_0x4a8a00(0x107)]]){const _0x5756be=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x269),!0x0,0x3ea,_0x4a8a00(0x261));_0x4734be(_0x5756be);return;}if(this[_0x4a8a00(0x174)]=(_0x78bcd9[0x0]&0x80)===0x80,this['_opcode']=_0x78bcd9[0x0]&0xf,this[_0x4a8a00(0x1d5)]=_0x78bcd9[0x1]&0x7f,this[_0x4a8a00(0x17f)]===0x0){if(_0x265ee8){const _0x532c73=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x269),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4734be(_0x532c73);return;}if(!this[_0x4a8a00(0x21f)]){const _0x44acc2=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x256),!0x0,0x3ea,_0x4a8a00(0x25d));_0x4734be(_0x44acc2);return;}this['_opcode']=this[_0x4a8a00(0x21f)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x4a8a00(0x21f)]){const _0x415123=this[_0x4a8a00(0x201)](RangeError,'invalid\x20opcode\x20'+this[_0x4a8a00(0x17f)],!0x0,0x3ea,_0x4a8a00(0x25d));_0x4734be(_0x415123);return;}this[_0x4a8a00(0x216)]=_0x265ee8;}else{if(this['_opcode']>0x7&&this[_0x4a8a00(0x17f)]<0xb){if(!this['_fin']){const _0x1a7174=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x242),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4734be(_0x1a7174);return;}if(_0x265ee8){const _0x439ea6=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x269),!0x0,0x3ea,_0x4a8a00(0x261));_0x4734be(_0x439ea6);return;}if(this[_0x4a8a00(0x1d5)]>0x7d||this['_opcode']===0x8&&this[_0x4a8a00(0x1d5)]===0x1){const _0x590d3d=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x12c)+this[_0x4a8a00(0x1d5)],!0x0,0x3ea,_0x4a8a00(0x14f));_0x4734be(_0x590d3d);return;}}else{const _0x37c862=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0xd2)+this[_0x4a8a00(0x17f)],!0x0,0x3ea,_0x4a8a00(0x25d));_0x4734be(_0x37c862);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x4a8a00(0x21f)]=this[_0x4a8a00(0x17f)]),this[_0x4a8a00(0x100)]=(_0x78bcd9[0x1]&0x80)===0x80,this[_0x4a8a00(0x205)]){if(!this[_0x4a8a00(0x100)]){const _0x153981=this[_0x4a8a00(0x201)](RangeError,_0x4a8a00(0x1fe),!0x0,0x3ea,_0x4a8a00(0x24c));_0x4734be(_0x153981);return;}}else{if(this[_0x4a8a00(0x100)]){const _0x531abb=this[_0x4a8a00(0x201)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x4a8a00(0x231));_0x4734be(_0x531abb);return;}}this[_0x4a8a00(0x1d5)]===0x7e?this['_state']=_0x1dd9c9:this[_0x4a8a00(0x1d5)]===0x7f?this['_state']=_0xe75c54:this[_0x4a8a00(0x162)](_0x4734be);}['getPayloadLength16'](_0x4c47ae){const _0x1f66d2=_0x1df5fe;if(this[_0x1f66d2(0x182)]<0x2){this['_loop']=!0x1;return;}this[_0x1f66d2(0x1d5)]=this[_0x1f66d2(0xf9)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4c47ae);}['getPayloadLength64'](_0x45847a){const _0x3df8fe=_0x1df5fe;if(this['_bufferedBytes']<0x8){this[_0x3df8fe(0xf2)]=!0x1;return;}const _0x8cdd11=this['consume'](0x8),_0x149ab0=_0x8cdd11['readUInt32BE'](0x0);if(_0x149ab0>Math[_0x3df8fe(0xe6)](0x2,0x15)-0x1){const _0xbc076c=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x45847a(_0xbc076c);return;}this[_0x3df8fe(0x1d5)]=_0x149ab0*Math[_0x3df8fe(0xe6)](0x2,0x20)+_0x8cdd11[_0x3df8fe(0x1ce)](0x4),this['haveLength'](_0x45847a);}[_0x1df5fe(0x162)](_0x205fbf){const _0x2a5812=_0x1df5fe;if(this['_payloadLength']&&this[_0x2a5812(0x17f)]<0x8&&(this['_totalPayloadLength']+=this[_0x2a5812(0x1d5)],this['_totalPayloadLength']>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x375872=this[_0x2a5812(0x201)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x205fbf(_0x375872);return;}this[_0x2a5812(0x100)]?this['_state']=_0x1347f3:this[_0x2a5812(0x16e)]=_0x79e63c;}[_0x1df5fe(0x10a)](){const _0x4efef5=_0x1df5fe;if(this[_0x4efef5(0x182)]<0x4){this['_loop']=!0x1;return;}this[_0x4efef5(0x24a)]=this['consume'](0x4),this[_0x4efef5(0x16e)]=_0x79e63c;}[_0x1df5fe(0x158)](_0x395c48){const _0x210b0b=_0x1df5fe;let _0x300a0a=_0x41c297;if(this['_payloadLength']){if(this[_0x210b0b(0x182)]<this[_0x210b0b(0x1d5)]){this[_0x210b0b(0xf2)]=!0x1;return;}_0x300a0a=this['consume'](this[_0x210b0b(0x1d5)]),this[_0x210b0b(0x100)]&&(this['_mask'][0x0]|this[_0x210b0b(0x24a)][0x1]|this[_0x210b0b(0x24a)][0x2]|this['_mask'][0x3])!==0x0&&_0x1f1a3a(_0x300a0a,this['_mask']);}if(this[_0x210b0b(0x17f)]>0x7){this[_0x210b0b(0x1ed)](_0x300a0a,_0x395c48);return;}if(this[_0x210b0b(0x216)]){this['_state']=_0x17d497,this[_0x210b0b(0x1b5)](_0x300a0a,_0x395c48);return;}_0x300a0a[_0x210b0b(0x21c)]&&(this[_0x210b0b(0x168)]=this[_0x210b0b(0x1ca)],this[_0x210b0b(0x130)][_0x210b0b(0x180)](_0x300a0a)),this[_0x210b0b(0x23a)](_0x395c48);}[_0x1df5fe(0x1b5)](_0x530555,_0x279bf2){const _0x39b35d=_0x1df5fe;this['_extensions'][_0x51823b['extensionName']][_0x39b35d(0x1b5)](_0x530555,this[_0x39b35d(0x174)],(_0x45fc8c,_0x4e6338)=>{const _0x67fa76=_0x39b35d;if(_0x45fc8c)return _0x279bf2(_0x45fc8c);if(_0x4e6338[_0x67fa76(0x21c)]){if(this['_messageLength']+=_0x4e6338[_0x67fa76(0x21c)],this[_0x67fa76(0x168)]>this['_maxPayload']&&this[_0x67fa76(0x1c0)]>0x0){const _0x95a89c=this[_0x67fa76(0x201)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x67fa76(0x1a4));_0x279bf2(_0x95a89c);return;}this[_0x67fa76(0x130)]['push'](_0x4e6338);}this[_0x67fa76(0x23a)](_0x279bf2),this[_0x67fa76(0x16e)]===_0x299292&&this[_0x67fa76(0xfe)](_0x279bf2);});}[_0x1df5fe(0x23a)](_0x17bff4){const _0x334496=_0x1df5fe;if(!this[_0x334496(0x174)]){this['_state']=_0x299292;return;}const _0x10c5b8=this['_messageLength'],_0x7470df=this['_fragments'];if(this[_0x334496(0x1ca)]=0x0,this[_0x334496(0x168)]=0x0,this[_0x334496(0x21f)]=0x0,this[_0x334496(0x130)]=[],this[_0x334496(0x17f)]===0x2){let _0x40bc33;this[_0x334496(0x110)]==='nodebuffer'?_0x40bc33=_0x5f2e13(_0x7470df,_0x10c5b8):this[_0x334496(0x110)]==='arraybuffer'?_0x40bc33=_0x2fb62e(_0x5f2e13(_0x7470df,_0x10c5b8)):this['_binaryType']===_0x334496(0x190)?_0x40bc33=new Blob(_0x7470df):_0x40bc33=_0x7470df,this[_0x334496(0x19e)]?(this[_0x334496(0x1d6)](_0x334496(0x22d),_0x40bc33,!0x0),this['_state']=_0x299292):(this[_0x334496(0x16e)]=_0x45ed20,setImmediate(()=>{const _0x242d05=_0x334496;this['emit']('message',_0x40bc33,!0x0),this[_0x242d05(0x16e)]=_0x299292,this[_0x242d05(0xfe)](_0x17bff4);}));}else{const _0x2a2f03=_0x5f2e13(_0x7470df,_0x10c5b8);if(!this[_0x334496(0x255)]&&!_0x52a900(_0x2a2f03)){const _0x2956ad=this['createError'](Error,_0x334496(0x18d),!0x0,0x3ef,_0x334496(0x161));_0x17bff4(_0x2956ad);return;}this[_0x334496(0x16e)]===_0x17d497||this[_0x334496(0x19e)]?(this[_0x334496(0x1d6)](_0x334496(0x22d),_0x2a2f03,!0x1),this['_state']=_0x299292):(this['_state']=_0x45ed20,setImmediate(()=>{const _0x59556f=_0x334496;this[_0x59556f(0x1d6)](_0x59556f(0x22d),_0x2a2f03,!0x1),this[_0x59556f(0x16e)]=_0x299292,this[_0x59556f(0xfe)](_0x17bff4);}));}}[_0x1df5fe(0x1ed)](_0x2be182,_0x4dd6d1){const _0x478f76=_0x1df5fe;if(this[_0x478f76(0x17f)]===0x8){if(_0x2be182[_0x478f76(0x21c)]===0x0)this[_0x478f76(0xf2)]=!0x1,this[_0x478f76(0x1d6)](_0x478f76(0x20e),0x3ed,_0x41c297),this[_0x478f76(0x148)]();else{const _0x13fae9=_0x2be182[_0x478f76(0x1f7)](0x0);if(!_0xc899d3(_0x13fae9)){const _0x5df142=this[_0x478f76(0x201)](RangeError,_0x478f76(0x116)+_0x13fae9,!0x0,0x3ea,_0x478f76(0x210));_0x4dd6d1(_0x5df142);return;}const _0x502632=new _0x2a75b3(_0x2be182[_0x478f76(0x1a5)],_0x2be182[_0x478f76(0x20c)]+0x2,_0x2be182[_0x478f76(0x21c)]-0x2);if(!this[_0x478f76(0x255)]&&!_0x52a900(_0x502632)){const _0x2e4702=this[_0x478f76(0x201)](Error,_0x478f76(0x18d),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4dd6d1(_0x2e4702);return;}this[_0x478f76(0xf2)]=!0x1,this[_0x478f76(0x1d6)](_0x478f76(0x20e),_0x13fae9,_0x502632),this[_0x478f76(0x148)]();}this['_state']=_0x299292;return;}this[_0x478f76(0x19e)]?(this[_0x478f76(0x1d6)](this['_opcode']===0x9?_0x478f76(0x1a0):_0x478f76(0x144),_0x2be182),this[_0x478f76(0x16e)]=_0x299292):(this[_0x478f76(0x16e)]=_0x45ed20,setImmediate(()=>{const _0x120297=_0x478f76;this[_0x120297(0x1d6)](this[_0x120297(0x17f)]===0x9?_0x120297(0x1a0):_0x120297(0x144),_0x2be182),this['_state']=_0x299292,this[_0x120297(0xfe)](_0x4dd6d1);}));}['createError'](_0x1df164,_0x58d121,_0x3abbaa,_0x292465,_0x3921ef){const _0x48e704=_0x1df5fe;this[_0x48e704(0xf2)]=!0x1,this[_0x48e704(0x109)]=!0x0;const _0x5e5056=new _0x1df164(_0x3abbaa?_0x48e704(0x1f1)+_0x58d121:_0x58d121);return Error[_0x48e704(0x103)](_0x5e5056,this[_0x48e704(0x201)]),_0x5e5056[_0x48e704(0xf1)]=_0x3921ef,_0x5e5056[_0x44c331]=_0x292465,_0x5e5056;}}return Se=_0x101b33,Se;}var Ee,Xe;function ft(){const _0x487597=_0x34a264;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4c4754}=oe,{randomFillSync:_0x3e7a5b}=Le,_0x19878a=he(),{EMPTY_BUFFER:_0x5b49fe,kWebSocket:_0x1bba77,NOOP:_0x396a9b}=H(),{isBlob:_0x4537ea,isValidStatusCode:_0x3b5e45}=ae(),{mask:_0x274303,toBuffer:_0x579297}=ce(),_0x2e1e2c=Symbol(_0x487597(0x22e)),_0x97c573=Buffer['alloc'](0x4),_0x28fe07=0x8*0x400;let _0x50015d,_0x25a527=_0x28fe07;const _0x10ac7b=0x0,_0x19027d=0x1,_0x849e53=0x2;class _0x14c289{constructor(_0x7da099,_0x4d0c68,_0x206e9f){const _0x10c74e=_0x487597;this[_0x10c74e(0x21e)]=_0x4d0c68||{},_0x206e9f&&(this[_0x10c74e(0x274)]=_0x206e9f,this[_0x10c74e(0x131)]=Buffer[_0x10c74e(0x276)](0x4)),this[_0x10c74e(0x122)]=_0x7da099,this['_firstFragment']=!0x0,this[_0x10c74e(0x196)]=!0x1,this[_0x10c74e(0x182)]=0x0,this['_queue']=[],this[_0x10c74e(0x16e)]=_0x10ac7b,this[_0x10c74e(0x1ae)]=_0x396a9b,this[_0x1bba77]=void 0x0;}static['frame'](_0x55ae5f,_0x289b14){const _0xc5250e=_0x487597;let _0x289df4,_0x54ad09=!0x1,_0x1a8f8f=0x2,_0x22dad8=!0x1;_0x289b14['mask']&&(_0x289df4=_0x289b14['maskBuffer']||_0x97c573,_0x289b14['generateMask']?_0x289b14[_0xc5250e(0x27c)](_0x289df4):(_0x25a527===_0x28fe07&&(_0x50015d===void 0x0&&(_0x50015d=Buffer[_0xc5250e(0x276)](_0x28fe07)),_0x3e7a5b(_0x50015d,0x0,_0x28fe07),_0x25a527=0x0),_0x289df4[0x0]=_0x50015d[_0x25a527++],_0x289df4[0x1]=_0x50015d[_0x25a527++],_0x289df4[0x2]=_0x50015d[_0x25a527++],_0x289df4[0x3]=_0x50015d[_0x25a527++]),_0x22dad8=(_0x289df4[0x0]|_0x289df4[0x1]|_0x289df4[0x2]|_0x289df4[0x3])===0x0,_0x1a8f8f=0x6);let _0x3aab92;typeof _0x55ae5f==_0xc5250e(0x101)?(!_0x289b14[_0xc5250e(0xd9)]||_0x22dad8)&&_0x289b14[_0x2e1e2c]!==void 0x0?_0x3aab92=_0x289b14[_0x2e1e2c]:(_0x55ae5f=Buffer['from'](_0x55ae5f),_0x3aab92=_0x55ae5f['length']):(_0x3aab92=_0x55ae5f['length'],_0x54ad09=_0x289b14['mask']&&_0x289b14['readOnly']&&!_0x22dad8);let _0x5653bb=_0x3aab92;_0x3aab92>=0x10000?(_0x1a8f8f+=0x8,_0x5653bb=0x7f):_0x3aab92>0x7d&&(_0x1a8f8f+=0x2,_0x5653bb=0x7e);const _0x46da8d=Buffer['allocUnsafe'](_0x54ad09?_0x3aab92+_0x1a8f8f:_0x1a8f8f);return _0x46da8d[0x0]=_0x289b14[_0xc5250e(0x176)]?_0x289b14[_0xc5250e(0x1d1)]|0x80:_0x289b14[_0xc5250e(0x1d1)],_0x289b14['rsv1']&&(_0x46da8d[0x0]|=0x40),_0x46da8d[0x1]=_0x5653bb,_0x5653bb===0x7e?_0x46da8d[_0xc5250e(0x280)](_0x3aab92,0x2):_0x5653bb===0x7f&&(_0x46da8d[0x2]=_0x46da8d[0x3]=0x0,_0x46da8d[_0xc5250e(0xf5)](_0x3aab92,0x4,0x6)),_0x289b14[_0xc5250e(0xd9)]?(_0x46da8d[0x1]|=0x80,_0x46da8d[_0x1a8f8f-0x4]=_0x289df4[0x0],_0x46da8d[_0x1a8f8f-0x3]=_0x289df4[0x1],_0x46da8d[_0x1a8f8f-0x2]=_0x289df4[0x2],_0x46da8d[_0x1a8f8f-0x1]=_0x289df4[0x3],_0x22dad8?[_0x46da8d,_0x55ae5f]:_0x54ad09?(_0x274303(_0x55ae5f,_0x289df4,_0x46da8d,_0x1a8f8f,_0x3aab92),[_0x46da8d]):(_0x274303(_0x55ae5f,_0x289df4,_0x55ae5f,0x0,_0x3aab92),[_0x46da8d,_0x55ae5f])):[_0x46da8d,_0x55ae5f];}['close'](_0x58df0e,_0x3a91f2,_0x196886,_0x5a7ba0){const _0x28339b=_0x487597;let _0x1fcc11;if(_0x58df0e===void 0x0)_0x1fcc11=_0x5b49fe;else{if(typeof _0x58df0e!='number'||!_0x3b5e45(_0x58df0e))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x3a91f2===void 0x0||!_0x3a91f2[_0x28339b(0x21c)])_0x1fcc11=Buffer[_0x28339b(0xee)](0x2),_0x1fcc11['writeUInt16BE'](_0x58df0e,0x0);else{const _0x3009ea=Buffer[_0x28339b(0x1b9)](_0x3a91f2);if(_0x3009ea>0x7b)throw new RangeError(_0x28339b(0x217));_0x1fcc11=Buffer[_0x28339b(0xee)](0x2+_0x3009ea),_0x1fcc11['writeUInt16BE'](_0x58df0e,0x0),typeof _0x3a91f2=='string'?_0x1fcc11['write'](_0x3a91f2,0x2):_0x1fcc11[_0x28339b(0x167)](_0x3a91f2,0x2);}}const _0x49e29c={[_0x2e1e2c]:_0x1fcc11[_0x28339b(0x21c)],'fin':!0x0,'generateMask':this[_0x28339b(0x274)],'mask':_0x196886,'maskBuffer':this[_0x28339b(0x131)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x10ac7b?this['enqueue']([this[_0x28339b(0xc0)],_0x1fcc11,!0x1,_0x49e29c,_0x5a7ba0]):this[_0x28339b(0x1cf)](_0x14c289[_0x28339b(0x187)](_0x1fcc11,_0x49e29c),_0x5a7ba0);}['ping'](_0x5f9bc0,_0x25ecec,_0x1f28cf){const _0x528f3a=_0x487597;let _0x1476ee,_0x5cf660;if(typeof _0x5f9bc0==_0x528f3a(0x101)?(_0x1476ee=Buffer['byteLength'](_0x5f9bc0),_0x5cf660=!0x1):_0x4537ea(_0x5f9bc0)?(_0x1476ee=_0x5f9bc0['size'],_0x5cf660=!0x1):(_0x5f9bc0=_0x579297(_0x5f9bc0),_0x1476ee=_0x5f9bc0[_0x528f3a(0x21c)],_0x5cf660=_0x579297[_0x528f3a(0xe7)]),_0x1476ee>0x7d)throw new RangeError(_0x528f3a(0x149));const _0x2c3120={[_0x2e1e2c]:_0x1476ee,'fin':!0x0,'generateMask':this[_0x528f3a(0x274)],'mask':_0x25ecec,'maskBuffer':this[_0x528f3a(0x131)],'opcode':0x9,'readOnly':_0x5cf660,'rsv1':!0x1};_0x4537ea(_0x5f9bc0)?this['_state']!==_0x10ac7b?this['enqueue']([this[_0x528f3a(0x1db)],_0x5f9bc0,!0x1,_0x2c3120,_0x1f28cf]):this[_0x528f3a(0x1db)](_0x5f9bc0,!0x1,_0x2c3120,_0x1f28cf):this[_0x528f3a(0x16e)]!==_0x10ac7b?this[_0x528f3a(0x1d0)]([this['dispatch'],_0x5f9bc0,!0x1,_0x2c3120,_0x1f28cf]):this['sendFrame'](_0x14c289['frame'](_0x5f9bc0,_0x2c3120),_0x1f28cf);}[_0x487597(0x144)](_0x380b7f,_0x442ad1,_0x2b95e4){const _0x48c336=_0x487597;let _0x120196,_0x1f61dc;if(typeof _0x380b7f==_0x48c336(0x101)?(_0x120196=Buffer[_0x48c336(0x1b9)](_0x380b7f),_0x1f61dc=!0x1):_0x4537ea(_0x380b7f)?(_0x120196=_0x380b7f[_0x48c336(0x1d2)],_0x1f61dc=!0x1):(_0x380b7f=_0x579297(_0x380b7f),_0x120196=_0x380b7f[_0x48c336(0x21c)],_0x1f61dc=_0x579297[_0x48c336(0xe7)]),_0x120196>0x7d)throw new RangeError(_0x48c336(0x149));const _0x3bb97f={[_0x2e1e2c]:_0x120196,'fin':!0x0,'generateMask':this[_0x48c336(0x274)],'mask':_0x442ad1,'maskBuffer':this[_0x48c336(0x131)],'opcode':0xa,'readOnly':_0x1f61dc,'rsv1':!0x1};_0x4537ea(_0x380b7f)?this[_0x48c336(0x16e)]!==_0x10ac7b?this[_0x48c336(0x1d0)]([this[_0x48c336(0x1db)],_0x380b7f,!0x1,_0x3bb97f,_0x2b95e4]):this[_0x48c336(0x1db)](_0x380b7f,!0x1,_0x3bb97f,_0x2b95e4):this['_state']!==_0x10ac7b?this[_0x48c336(0x1d0)]([this['dispatch'],_0x380b7f,!0x1,_0x3bb97f,_0x2b95e4]):this['sendFrame'](_0x14c289[_0x48c336(0x187)](_0x380b7f,_0x3bb97f),_0x2b95e4);}[_0x487597(0xfa)](_0x4d8585,_0x583161,_0x1c440f){const _0x161640=_0x487597,_0x33fb53=this[_0x161640(0x21e)][_0x19878a[_0x161640(0x107)]];let _0x30bf2e=_0x583161[_0x161640(0xc8)]?0x2:0x1,_0xb8126d=_0x583161[_0x161640(0xf3)],_0x1ee91e,_0x299671;typeof _0x4d8585==_0x161640(0x101)?(_0x1ee91e=Buffer['byteLength'](_0x4d8585),_0x299671=!0x1):_0x4537ea(_0x4d8585)?(_0x1ee91e=_0x4d8585['size'],_0x299671=!0x1):(_0x4d8585=_0x579297(_0x4d8585),_0x1ee91e=_0x4d8585['length'],_0x299671=_0x579297[_0x161640(0xe7)]),this['_firstFragment']?(this[_0x161640(0x18b)]=!0x1,_0xb8126d&&_0x33fb53&&_0x33fb53[_0x161640(0x209)][_0x33fb53[_0x161640(0x205)]?_0x161640(0x186):_0x161640(0x113)]&&(_0xb8126d=_0x1ee91e>=_0x33fb53[_0x161640(0x1e8)]),this['_compress']=_0xb8126d):(_0xb8126d=!0x1,_0x30bf2e=0x0),_0x583161[_0x161640(0x176)]&&(this[_0x161640(0x18b)]=!0x0);const _0x438d3b={[_0x2e1e2c]:_0x1ee91e,'fin':_0x583161['fin'],'generateMask':this['_generateMask'],'mask':_0x583161[_0x161640(0xd9)],'maskBuffer':this[_0x161640(0x131)],'opcode':_0x30bf2e,'readOnly':_0x299671,'rsv1':_0xb8126d};_0x4537ea(_0x4d8585)?this['_state']!==_0x10ac7b?this[_0x161640(0x1d0)]([this['getBlobData'],_0x4d8585,this[_0x161640(0x196)],_0x438d3b,_0x1c440f]):this[_0x161640(0x1db)](_0x4d8585,this[_0x161640(0x196)],_0x438d3b,_0x1c440f):this[_0x161640(0x16e)]!==_0x10ac7b?this[_0x161640(0x1d0)]([this[_0x161640(0xc0)],_0x4d8585,this[_0x161640(0x196)],_0x438d3b,_0x1c440f]):this[_0x161640(0xc0)](_0x4d8585,this[_0x161640(0x196)],_0x438d3b,_0x1c440f);}[_0x487597(0x1db)](_0x249ec5,_0xc7324b,_0x137cb5,_0x42586d){const _0x35b220=_0x487597;this[_0x35b220(0x182)]+=_0x137cb5[_0x2e1e2c],this[_0x35b220(0x16e)]=_0x849e53,_0x249ec5[_0x35b220(0x1d3)]()[_0x35b220(0x12a)](_0x3f80a4=>{const _0x35bc16=_0x35b220;if(this[_0x35bc16(0x122)]['destroyed']){const _0x1ea4a1=new Error(_0x35bc16(0x244));process[_0x35bc16(0x142)](_0x1106e2,this,_0x1ea4a1,_0x42586d);return;}this[_0x35bc16(0x182)]-=_0x137cb5[_0x2e1e2c];const _0x552565=_0x579297(_0x3f80a4);_0xc7324b?this['dispatch'](_0x552565,_0xc7324b,_0x137cb5,_0x42586d):(this[_0x35bc16(0x16e)]=_0x10ac7b,this[_0x35bc16(0x1cf)](_0x14c289['frame'](_0x552565,_0x137cb5),_0x42586d),this[_0x35bc16(0x270)]());})['catch'](_0x5a7c0d=>{const _0x533d2b=_0x35b220;process[_0x533d2b(0x142)](_0x288681,this,_0x5a7c0d,_0x42586d);});}[_0x487597(0xc0)](_0x5dc7c7,_0x33c585,_0x2ac6ee,_0x520fe9){const _0x2dbbb5=_0x487597;if(!_0x33c585){this[_0x2dbbb5(0x1cf)](_0x14c289[_0x2dbbb5(0x187)](_0x5dc7c7,_0x2ac6ee),_0x520fe9);return;}const _0x5ab50d=this[_0x2dbbb5(0x21e)][_0x19878a['extensionName']];this[_0x2dbbb5(0x182)]+=_0x2ac6ee[_0x2e1e2c],this[_0x2dbbb5(0x16e)]=_0x19027d,_0x5ab50d[_0x2dbbb5(0xf3)](_0x5dc7c7,_0x2ac6ee[_0x2dbbb5(0x176)],(_0x48c6de,_0x4deef5)=>{const _0x35c834=_0x2dbbb5;if(this[_0x35c834(0x122)]['destroyed']){const _0x21ab1c=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1106e2(this,_0x21ab1c,_0x520fe9);return;}this[_0x35c834(0x182)]-=_0x2ac6ee[_0x2e1e2c],this[_0x35c834(0x16e)]=_0x10ac7b,_0x2ac6ee[_0x35c834(0xe7)]=!0x1,this[_0x35c834(0x1cf)](_0x14c289[_0x35c834(0x187)](_0x4deef5,_0x2ac6ee),_0x520fe9),this[_0x35c834(0x270)]();});}[_0x487597(0x270)](){const _0x12d13a=_0x487597;for(;this[_0x12d13a(0x16e)]===_0x10ac7b&&this[_0x12d13a(0x1dc)][_0x12d13a(0x21c)];){const _0x3dd374=this['_queue'][_0x12d13a(0x16f)]();this['_bufferedBytes']-=_0x3dd374[0x3][_0x2e1e2c],Reflect['apply'](_0x3dd374[0x0],this,_0x3dd374[_0x12d13a(0x1c2)](0x1));}}['enqueue'](_0x53560f){const _0x2371cb=_0x487597;this[_0x2371cb(0x182)]+=_0x53560f[0x3][_0x2e1e2c],this[_0x2371cb(0x1dc)][_0x2371cb(0x180)](_0x53560f);}[_0x487597(0x1cf)](_0x12bd05,_0x458f50){const _0x5f0ecf=_0x487597;_0x12bd05[_0x5f0ecf(0x21c)]===0x2?(this[_0x5f0ecf(0x122)][_0x5f0ecf(0x16c)](),this[_0x5f0ecf(0x122)][_0x5f0ecf(0x152)](_0x12bd05[0x0]),this[_0x5f0ecf(0x122)][_0x5f0ecf(0x152)](_0x12bd05[0x1],_0x458f50),this[_0x5f0ecf(0x122)][_0x5f0ecf(0x221)]()):this[_0x5f0ecf(0x122)]['write'](_0x12bd05[0x0],_0x458f50);}}Ee=_0x14c289;function _0x1106e2(_0x38268d,_0x1d3d65,_0x175a2a){const _0x239d16=_0x487597;typeof _0x175a2a==_0x239d16(0x25e)&&_0x175a2a(_0x1d3d65);for(let _0x4efe1=0x0;_0x4efe1<_0x38268d[_0x239d16(0x1dc)]['length'];_0x4efe1++){const _0x57ccd0=_0x38268d[_0x239d16(0x1dc)][_0x4efe1],_0x4c6e59=_0x57ccd0[_0x57ccd0['length']-0x1];typeof _0x4c6e59==_0x239d16(0x25e)&&_0x4c6e59(_0x1d3d65);}}function _0x288681(_0xb91556,_0x1d2607,_0x1816ca){const _0x4a9506=_0x487597;_0x1106e2(_0xb91556,_0x1d2607,_0x1816ca),_0xb91556[_0x4a9506(0x1ae)](_0x1d2607);}return Ee;}var xe,Ze;function It(){const _0x2c45c6=_0x34a264;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5422fd,kListener:_0x29e8f4}=H(),_0x3dcde6=Symbol('kCode'),_0x4951f8=Symbol(_0x2c45c6(0x154)),_0x280887=Symbol('kError'),_0x142bd1=Symbol(_0x2c45c6(0x188)),_0x11bffa=Symbol(_0x2c45c6(0x25a)),_0xefd775=Symbol(_0x2c45c6(0x265)),_0x1904b9=Symbol(_0x2c45c6(0x212)),_0x3549e6=Symbol('kWasClean');class _0xa39411{constructor(_0x26723f){this[_0xefd775]=null,this[_0x1904b9]=_0x26723f;}get[_0x2c45c6(0x1da)](){return this[_0xefd775];}get[_0x2c45c6(0x136)](){return this[_0x1904b9];}}Object['defineProperty'](_0xa39411[_0x2c45c6(0x1d9)],'target',{'enumerable':!0x0}),Object[_0x2c45c6(0x19d)](_0xa39411[_0x2c45c6(0x1d9)],'type',{'enumerable':!0x0});class _0x59c719 extends _0xa39411{constructor(_0x2db3ab,_0x3c0e50={}){const _0x2868be=_0x2c45c6;super(_0x2db3ab),this[_0x3dcde6]=_0x3c0e50['code']===void 0x0?0x0:_0x3c0e50[_0x2868be(0xf1)],this[_0x11bffa]=_0x3c0e50[_0x2868be(0x146)]===void 0x0?'':_0x3c0e50['reason'],this[_0x3549e6]=_0x3c0e50['wasClean']===void 0x0?!0x1:_0x3c0e50[_0x2868be(0x141)];}get[_0x2c45c6(0xf1)](){return this[_0x3dcde6];}get[_0x2c45c6(0x146)](){return this[_0x11bffa];}get[_0x2c45c6(0x141)](){return this[_0x3549e6];}}Object['defineProperty'](_0x59c719[_0x2c45c6(0x1d9)],_0x2c45c6(0xf1),{'enumerable':!0x0}),Object[_0x2c45c6(0x19d)](_0x59c719[_0x2c45c6(0x1d9)],_0x2c45c6(0x146),{'enumerable':!0x0}),Object['defineProperty'](_0x59c719['prototype'],'wasClean',{'enumerable':!0x0});class _0xba6819 extends _0xa39411{constructor(_0x29b075,_0x8b3fdf={}){const _0x247338=_0x2c45c6;super(_0x29b075),this[_0x280887]=_0x8b3fdf['error']===void 0x0?null:_0x8b3fdf[_0x247338(0x1c5)],this[_0x142bd1]=_0x8b3fdf[_0x247338(0x22d)]===void 0x0?'':_0x8b3fdf[_0x247338(0x22d)];}get[_0x2c45c6(0x1c5)](){return this[_0x280887];}get[_0x2c45c6(0x22d)](){return this[_0x142bd1];}}Object[_0x2c45c6(0x19d)](_0xba6819[_0x2c45c6(0x1d9)],_0x2c45c6(0x1c5),{'enumerable':!0x0}),Object[_0x2c45c6(0x19d)](_0xba6819['prototype'],'message',{'enumerable':!0x0});class _0x2f4c98 extends _0xa39411{constructor(_0x2df10e,_0x395960={}){const _0x32b349=_0x2c45c6;super(_0x2df10e),this[_0x4951f8]=_0x395960[_0x32b349(0xfb)]===void 0x0?null:_0x395960[_0x32b349(0xfb)];}get[_0x2c45c6(0xfb)](){return this[_0x4951f8];}}Object[_0x2c45c6(0x19d)](_0x2f4c98[_0x2c45c6(0x1d9)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x59c719,'ErrorEvent':_0xba6819,'Event':_0xa39411,'EventTarget':{'addEventListener'(_0xfd5399,_0x3e0434,_0x3238c3={}){const _0xc0a21c=_0x2c45c6;for(const _0x4df96d of this['listeners'](_0xfd5399))if(!_0x3238c3[_0x5422fd]&&_0x4df96d[_0x29e8f4]===_0x3e0434&&!_0x4df96d[_0x5422fd])return;let _0x4a29c7;if(_0xfd5399===_0xc0a21c(0x22d))_0x4a29c7=function(_0x3b0b51,_0x2817d0){const _0x1335a3=_0xc0a21c,_0x1e14bc=new _0x2f4c98(_0x1335a3(0x22d),{'data':_0x2817d0?_0x3b0b51:_0x3b0b51[_0x1335a3(0x25b)]()});_0x1e14bc[_0xefd775]=this,_0x46f84a(_0x3e0434,this,_0x1e14bc);};else{if(_0xfd5399===_0xc0a21c(0x1a1))_0x4a29c7=function(_0x5dd5b8,_0x29b737){const _0x35fa59=_0xc0a21c,_0xf7206f=new _0x59c719('close',{'code':_0x5dd5b8,'reason':_0x29b737[_0x35fa59(0x25b)](),'wasClean':this['_closeFrameReceived']&&this[_0x35fa59(0x1f0)]});_0xf7206f[_0xefd775]=this,_0x46f84a(_0x3e0434,this,_0xf7206f);};else{if(_0xfd5399===_0xc0a21c(0x1c5))_0x4a29c7=function(_0x45ddca){const _0x347f62=_0xc0a21c,_0x113f2b=new _0xba6819('error',{'error':_0x45ddca,'message':_0x45ddca[_0x347f62(0x22d)]});_0x113f2b[_0xefd775]=this,_0x46f84a(_0x3e0434,this,_0x113f2b);};else{if(_0xfd5399==='open')_0x4a29c7=function(){const _0x2e40ae=_0xc0a21c,_0x581253=new _0xa39411(_0x2e40ae(0x240));_0x581253[_0xefd775]=this,_0x46f84a(_0x3e0434,this,_0x581253);};else return;}}}_0x4a29c7[_0x5422fd]=!!_0x3238c3[_0x5422fd],_0x4a29c7[_0x29e8f4]=_0x3e0434,_0x3238c3[_0xc0a21c(0x26c)]?this[_0xc0a21c(0x26c)](_0xfd5399,_0x4a29c7):this['on'](_0xfd5399,_0x4a29c7);},'removeEventListener'(_0x53ac17,_0x782cfe){const _0x32aba0=_0x2c45c6;for(const _0xbcf9b4 of this[_0x32aba0(0x18f)](_0x53ac17))if(_0xbcf9b4[_0x29e8f4]===_0x782cfe&&!_0xbcf9b4[_0x5422fd]){this[_0x32aba0(0x263)](_0x53ac17,_0xbcf9b4);break;}}},'MessageEvent':_0x2f4c98};function _0x46f84a(_0x7f4b74,_0x421520,_0x51ad54){const _0x495289=_0x2c45c6;typeof _0x7f4b74==_0x495289(0x266)&&_0x7f4b74[_0x495289(0x1ab)]?_0x7f4b74[_0x495289(0x1ab)][_0x495289(0x27f)](_0x7f4b74,_0x51ad54):_0x7f4b74['call'](_0x421520,_0x51ad54);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x320121}=ae();function _0xbb092e(_0xb3dd2a,_0x55dcb2,_0x486d61){const _0xf4c784=_0x1750;_0xb3dd2a[_0x55dcb2]===void 0x0?_0xb3dd2a[_0x55dcb2]=[_0x486d61]:_0xb3dd2a[_0x55dcb2][_0xf4c784(0x180)](_0x486d61);}function _0xc39ee0(_0x1ea09a){const _0x1665c1=_0x1750,_0x5d859e=Object[_0x1665c1(0x184)](null);let _0x57ca3f=Object[_0x1665c1(0x184)](null),_0x3f591c=!0x1,_0x30563f=!0x1,_0x50ecc1=!0x1,_0x5e9158,_0xe8c343,_0x55d5d9=-0x1,_0x295390=-0x1,_0x71322=-0x1,_0x103668=0x0;for(;_0x103668<_0x1ea09a[_0x1665c1(0x21c)];_0x103668++)if(_0x295390=_0x1ea09a[_0x1665c1(0x1ea)](_0x103668),_0x5e9158===void 0x0){if(_0x71322===-0x1&&_0x320121[_0x295390]===0x1)_0x55d5d9===-0x1&&(_0x55d5d9=_0x103668);else{if(_0x103668!==0x0&&(_0x295390===0x20||_0x295390===0x9))_0x71322===-0x1&&_0x55d5d9!==-0x1&&(_0x71322=_0x103668);else{if(_0x295390===0x3b||_0x295390===0x2c){if(_0x55d5d9===-0x1)throw new SyntaxError(_0x1665c1(0x1e3)+_0x103668);_0x71322===-0x1&&(_0x71322=_0x103668);const _0x273585=_0x1ea09a[_0x1665c1(0x1c2)](_0x55d5d9,_0x71322);_0x295390===0x2c?(_0xbb092e(_0x5d859e,_0x273585,_0x57ca3f),_0x57ca3f=Object[_0x1665c1(0x184)](null)):_0x5e9158=_0x273585,_0x55d5d9=_0x71322=-0x1;}else throw new SyntaxError(_0x1665c1(0x1e3)+_0x103668);}}}else{if(_0xe8c343===void 0x0){if(_0x71322===-0x1&&_0x320121[_0x295390]===0x1)_0x55d5d9===-0x1&&(_0x55d5d9=_0x103668);else{if(_0x295390===0x20||_0x295390===0x9)_0x71322===-0x1&&_0x55d5d9!==-0x1&&(_0x71322=_0x103668);else{if(_0x295390===0x3b||_0x295390===0x2c){if(_0x55d5d9===-0x1)throw new SyntaxError(_0x1665c1(0x1e3)+_0x103668);_0x71322===-0x1&&(_0x71322=_0x103668),_0xbb092e(_0x57ca3f,_0x1ea09a[_0x1665c1(0x1c2)](_0x55d5d9,_0x71322),!0x0),_0x295390===0x2c&&(_0xbb092e(_0x5d859e,_0x5e9158,_0x57ca3f),_0x57ca3f=Object['create'](null),_0x5e9158=void 0x0),_0x55d5d9=_0x71322=-0x1;}else{if(_0x295390===0x3d&&_0x55d5d9!==-0x1&&_0x71322===-0x1)_0xe8c343=_0x1ea09a[_0x1665c1(0x1c2)](_0x55d5d9,_0x103668),_0x55d5d9=_0x71322=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x103668);}}}}else{if(_0x30563f){if(_0x320121[_0x295390]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x103668);_0x55d5d9===-0x1?_0x55d5d9=_0x103668:_0x3f591c||(_0x3f591c=!0x0),_0x30563f=!0x1;}else{if(_0x50ecc1){if(_0x320121[_0x295390]===0x1)_0x55d5d9===-0x1&&(_0x55d5d9=_0x103668);else{if(_0x295390===0x22&&_0x55d5d9!==-0x1)_0x50ecc1=!0x1,_0x71322=_0x103668;else{if(_0x295390===0x5c)_0x30563f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x103668);}}}else{if(_0x295390===0x22&&_0x1ea09a[_0x1665c1(0x1ea)](_0x103668-0x1)===0x3d)_0x50ecc1=!0x0;else{if(_0x71322===-0x1&&_0x320121[_0x295390]===0x1)_0x55d5d9===-0x1&&(_0x55d5d9=_0x103668);else{if(_0x55d5d9!==-0x1&&(_0x295390===0x20||_0x295390===0x9))_0x71322===-0x1&&(_0x71322=_0x103668);else{if(_0x295390===0x3b||_0x295390===0x2c){if(_0x55d5d9===-0x1)throw new SyntaxError(_0x1665c1(0x1e3)+_0x103668);_0x71322===-0x1&&(_0x71322=_0x103668);let _0x4acca7=_0x1ea09a[_0x1665c1(0x1c2)](_0x55d5d9,_0x71322);_0x3f591c&&(_0x4acca7=_0x4acca7[_0x1665c1(0x26f)](/\\/g,''),_0x3f591c=!0x1),_0xbb092e(_0x57ca3f,_0xe8c343,_0x4acca7),_0x295390===0x2c&&(_0xbb092e(_0x5d859e,_0x5e9158,_0x57ca3f),_0x57ca3f=Object['create'](null),_0x5e9158=void 0x0),_0xe8c343=void 0x0,_0x55d5d9=_0x71322=-0x1;}else throw new SyntaxError(_0x1665c1(0x1e3)+_0x103668);}}}}}}}if(_0x55d5d9===-0x1||_0x50ecc1||_0x295390===0x20||_0x295390===0x9)throw new SyntaxError(_0x1665c1(0x281));_0x71322===-0x1&&(_0x71322=_0x103668);const _0xe8c3eb=_0x1ea09a[_0x1665c1(0x1c2)](_0x55d5d9,_0x71322);return _0x5e9158===void 0x0?_0xbb092e(_0x5d859e,_0xe8c3eb,_0x57ca3f):(_0xe8c343===void 0x0?_0xbb092e(_0x57ca3f,_0xe8c3eb,!0x0):_0x3f591c?_0xbb092e(_0x57ca3f,_0xe8c343,_0xe8c3eb[_0x1665c1(0x26f)](/\\/g,'')):_0xbb092e(_0x57ca3f,_0xe8c343,_0xe8c3eb),_0xbb092e(_0x5d859e,_0x5e9158,_0x57ca3f)),_0x5d859e;}function _0x4eeaf0(_0x1dcd3f){const _0x3ed2d6=_0x1750;return Object[_0x3ed2d6(0x260)](_0x1dcd3f)[_0x3ed2d6(0x179)](_0x3ffd2d=>{const _0x50ba81=_0x3ed2d6;let _0x47976c=_0x1dcd3f[_0x3ffd2d];return Array[_0x50ba81(0x233)](_0x47976c)||(_0x47976c=[_0x47976c]),_0x47976c[_0x50ba81(0x179)](_0x57d25c=>[_0x3ffd2d][_0x50ba81(0x1c9)](Object[_0x50ba81(0x260)](_0x57d25c)[_0x50ba81(0x179)](_0x3cc7ba=>{const _0x37487d=_0x50ba81;let _0x36a382=_0x57d25c[_0x3cc7ba];return Array[_0x37487d(0x233)](_0x36a382)||(_0x36a382=[_0x36a382]),_0x36a382[_0x37487d(0x179)](_0x2041a5=>_0x2041a5===!0x0?_0x3cc7ba:_0x3cc7ba+'='+_0x2041a5)[_0x37487d(0x20b)](';\x20');}))[_0x50ba81(0x20b)](';\x20'))[_0x50ba81(0x20b)](',\x20');})['join'](',\x20');}return be={'format':_0x4eeaf0,'parse':_0xc39ee0},be;}var we,Je;function Pe(){const _0x2d0983=_0x34a264;if(Je)return we;Je=0x1;const _0x3515b2=nt,_0x4a7399=vt,_0x531106=ot,_0x253589=St,_0x1e660b=Et,{randomBytes:_0x2081bc,createHash:_0x1c2ccc}=Le,{Duplex:_0x26544d,Readable:_0xdaeb86}=oe,{URL:_0x7311a6}=xt,_0x2c87ab=he(),_0x12b30c=lt(),_0x26a978=ft(),{isBlob:_0x25b68e}=ae(),{BINARY_TYPES:_0x179f71,EMPTY_BUFFER:_0x579cea,GUID:_0x4e75be,kForOnEventAttribute:_0x1a6a1c,kListener:_0xd8e4f2,kStatusCode:_0x8e507b,kWebSocket:_0x523cbd,NOOP:_0x1ae7c1}=H(),{EventTarget:{addEventListener:_0x2a1726,removeEventListener:_0x78cf9c}}=It(),{format:_0x3c54fd,parse:_0x379246}=ct(),{toBuffer:_0x2a5cec}=ce(),_0x1f2aad=0x1e*0x3e8,_0x39fa65=Symbol(_0x2d0983(0x1ac)),_0x4646d2=[0x8,0xd],_0x1f8c4a=[_0x2d0983(0x1b3),_0x2d0983(0x147),'CLOSING',_0x2d0983(0x1f9)],_0x246d32=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x177c2d extends _0x3515b2{constructor(_0x2db0da,_0x58c3ad,_0x3bf8bb){const _0x75c544=_0x2d0983;super(),this[_0x75c544(0x110)]=_0x179f71[0x0],this[_0x75c544(0x1b1)]=0x3ee,this[_0x75c544(0x1bf)]=!0x1,this[_0x75c544(0x1f0)]=!0x1,this[_0x75c544(0x282)]=_0x579cea,this[_0x75c544(0x26b)]=null,this[_0x75c544(0x1f4)]=!0x1,this['_extensions']={},this[_0x75c544(0x111)]=!0x1,this[_0x75c544(0x123)]='',this[_0x75c544(0x105)]=_0x177c2d[_0x75c544(0x1b3)],this[_0x75c544(0x1f5)]=null,this[_0x75c544(0x1f6)]=null,this[_0x75c544(0x122)]=null,_0x2db0da!==null?(this[_0x75c544(0x104)]=0x0,this[_0x75c544(0x205)]=!0x1,this[_0x75c544(0x21b)]=0x0,_0x58c3ad===void 0x0?_0x58c3ad=[]:Array[_0x75c544(0x233)](_0x58c3ad)||(typeof _0x58c3ad=='object'&&_0x58c3ad!==null?(_0x3bf8bb=_0x58c3ad,_0x58c3ad=[]):_0x58c3ad=[_0x58c3ad]),_0x55349d(this,_0x2db0da,_0x58c3ad,_0x3bf8bb)):(this['_autoPong']=_0x3bf8bb[_0x75c544(0x232)],this[_0x75c544(0x205)]=!0x0);}get['binaryType'](){const _0x1c5639=_0x2d0983;return this[_0x1c5639(0x110)];}set[_0x2d0983(0x273)](_0x6be5fb){const _0x18055d=_0x2d0983;_0x179f71[_0x18055d(0xfd)](_0x6be5fb)&&(this[_0x18055d(0x110)]=_0x6be5fb,this['_receiver']&&(this['_receiver']['_binaryType']=_0x6be5fb));}get[_0x2d0983(0xd1)](){const _0x1b7fe1=_0x2d0983;return this[_0x1b7fe1(0x122)]?this[_0x1b7fe1(0x122)][_0x1b7fe1(0x126)]['length']+this[_0x1b7fe1(0x1f6)][_0x1b7fe1(0x182)]:this[_0x1b7fe1(0x104)];}get[_0x2d0983(0x27e)](){const _0x7c873f=_0x2d0983;return Object[_0x7c873f(0x260)](this[_0x7c873f(0x21e)])['join']();}get[_0x2d0983(0x268)](){return this['_paused'];}get[_0x2d0983(0xc1)](){return null;}get[_0x2d0983(0x1ae)](){return null;}get[_0x2d0983(0x1de)](){return null;}get[_0x2d0983(0xc2)](){return null;}get[_0x2d0983(0xea)](){const _0x198d53=_0x2d0983;return this[_0x198d53(0x123)];}get['readyState'](){const _0xeeaf92=_0x2d0983;return this[_0xeeaf92(0x105)];}get['url'](){return this['_url'];}[_0x2d0983(0xd8)](_0x97766e,_0x8e9a97,_0x1eb1dd){const _0x5a0ce2=_0x2d0983,_0x69aae0=new _0x12b30c({'allowSynchronousEvents':_0x1eb1dd[_0x5a0ce2(0x214)],'binaryType':this[_0x5a0ce2(0x273)],'extensions':this[_0x5a0ce2(0x21e)],'isServer':this[_0x5a0ce2(0x205)],'maxPayload':_0x1eb1dd[_0x5a0ce2(0x206)],'skipUTF8Validation':_0x1eb1dd[_0x5a0ce2(0x239)]}),_0x2c0762=new _0x26a978(_0x97766e,this['_extensions'],_0x1eb1dd[_0x5a0ce2(0x27c)]);this[_0x5a0ce2(0x1f5)]=_0x69aae0,this[_0x5a0ce2(0x1f6)]=_0x2c0762,this['_socket']=_0x97766e,_0x69aae0[_0x523cbd]=this,_0x2c0762[_0x523cbd]=this,_0x97766e[_0x523cbd]=this,_0x69aae0['on']('conclude',_0x62576a),_0x69aae0['on'](_0x5a0ce2(0x1e9),_0x1b1342),_0x69aae0['on']('error',_0x35ef6e),_0x69aae0['on'](_0x5a0ce2(0x22d),_0x86677b),_0x69aae0['on'](_0x5a0ce2(0x1a0),_0x27029b),_0x69aae0['on'](_0x5a0ce2(0x144),_0x22d914),_0x2c0762['onerror']=_0x1cd297,_0x97766e['setTimeout']&&_0x97766e[_0x5a0ce2(0x133)](0x0),_0x97766e[_0x5a0ce2(0x194)]&&_0x97766e[_0x5a0ce2(0x194)](),_0x8e9a97[_0x5a0ce2(0x21c)]>0x0&&_0x97766e[_0x5a0ce2(0x11a)](_0x8e9a97),_0x97766e['on'](_0x5a0ce2(0x1a1),_0x2a90ea),_0x97766e['on'](_0x5a0ce2(0xfb),_0xe369f3),_0x97766e['on'](_0x5a0ce2(0x148),_0x5f1e41),_0x97766e['on'](_0x5a0ce2(0x1c5),_0x3c602),this[_0x5a0ce2(0x105)]=_0x177c2d[_0x5a0ce2(0x147)],this[_0x5a0ce2(0x1d6)](_0x5a0ce2(0x240));}[_0x2d0983(0x226)](){const _0x5231f3=_0x2d0983;if(!this[_0x5231f3(0x122)]){this[_0x5231f3(0x105)]=_0x177c2d['CLOSED'],this['emit'](_0x5231f3(0x1a1),this[_0x5231f3(0x1b1)],this['_closeMessage']);return;}this[_0x5231f3(0x21e)][_0x2c87ab[_0x5231f3(0x107)]]&&this['_extensions'][_0x2c87ab[_0x5231f3(0x107)]][_0x5231f3(0x166)](),this[_0x5231f3(0x1f5)][_0x5231f3(0x193)](),this[_0x5231f3(0x105)]=_0x177c2d['CLOSED'],this[_0x5231f3(0x1d6)](_0x5231f3(0x1a1),this[_0x5231f3(0x1b1)],this[_0x5231f3(0x282)]);}[_0x2d0983(0x1a1)](_0x3aa982,_0x230500){const _0x27d431=_0x2d0983;if(this['readyState']!==_0x177c2d[_0x27d431(0x1f9)]){if(this[_0x27d431(0x1a6)]===_0x177c2d[_0x27d431(0x1b3)]){_0x28457a(this,this[_0x27d431(0x1f2)],_0x27d431(0x237));return;}if(this[_0x27d431(0x1a6)]===_0x177c2d[_0x27d431(0x121)]){this[_0x27d431(0x1f0)]&&(this[_0x27d431(0x1bf)]||this[_0x27d431(0x1f5)]['_writableState'][_0x27d431(0x157)])&&this[_0x27d431(0x122)][_0x27d431(0x148)]();return;}this[_0x27d431(0x105)]=_0x177c2d['CLOSING'],this[_0x27d431(0x1f6)][_0x27d431(0x1a1)](_0x3aa982,_0x230500,!this[_0x27d431(0x205)],_0x1cb8b6=>{const _0xb1f2dd=_0x27d431;_0x1cb8b6||(this[_0xb1f2dd(0x1f0)]=!0x0,(this[_0xb1f2dd(0x1bf)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0xb1f2dd(0x122)][_0xb1f2dd(0x148)]());}),_0x52229b(this);}}[_0x2d0983(0x1d4)](){const _0x178d19=_0x2d0983;this[_0x178d19(0x1a6)]===_0x177c2d[_0x178d19(0x1b3)]||this[_0x178d19(0x1a6)]===_0x177c2d[_0x178d19(0x1f9)]||(this[_0x178d19(0x111)]=!0x0,this['_socket'][_0x178d19(0x1d4)]());}[_0x2d0983(0x1a0)](_0x4d475e,_0x69e48e,_0x10885f){const _0x3c9d34=_0x2d0983;if(this[_0x3c9d34(0x1a6)]===_0x177c2d[_0x3c9d34(0x1b3)])throw new Error(_0x3c9d34(0x264));if(typeof _0x4d475e==_0x3c9d34(0x25e)?(_0x10885f=_0x4d475e,_0x4d475e=_0x69e48e=void 0x0):typeof _0x69e48e=='function'&&(_0x10885f=_0x69e48e,_0x69e48e=void 0x0),typeof _0x4d475e==_0x3c9d34(0x1cb)&&(_0x4d475e=_0x4d475e[_0x3c9d34(0x25b)]()),this['readyState']!==_0x177c2d[_0x3c9d34(0x147)]){_0x2f32b7(this,_0x4d475e,_0x10885f);return;}_0x69e48e===void 0x0&&(_0x69e48e=!this[_0x3c9d34(0x205)]),this['_sender'][_0x3c9d34(0x1a0)](_0x4d475e||_0x579cea,_0x69e48e,_0x10885f);}[_0x2d0983(0x144)](_0x3d2d1a,_0x1138f0,_0x10ab9d){const _0x5e5487=_0x2d0983;if(this['readyState']===_0x177c2d['CONNECTING'])throw new Error(_0x5e5487(0x264));if(typeof _0x3d2d1a=='function'?(_0x10ab9d=_0x3d2d1a,_0x3d2d1a=_0x1138f0=void 0x0):typeof _0x1138f0=='function'&&(_0x10ab9d=_0x1138f0,_0x1138f0=void 0x0),typeof _0x3d2d1a==_0x5e5487(0x1cb)&&(_0x3d2d1a=_0x3d2d1a[_0x5e5487(0x25b)]()),this[_0x5e5487(0x1a6)]!==_0x177c2d[_0x5e5487(0x147)]){_0x2f32b7(this,_0x3d2d1a,_0x10ab9d);return;}_0x1138f0===void 0x0&&(_0x1138f0=!this['_isServer']),this[_0x5e5487(0x1f6)]['pong'](_0x3d2d1a||_0x579cea,_0x1138f0,_0x10ab9d);}[_0x2d0983(0xe5)](){const _0x4787f0=_0x2d0983;this[_0x4787f0(0x1a6)]===_0x177c2d[_0x4787f0(0x1b3)]||this['readyState']===_0x177c2d['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0x4787f0(0x126)][_0x4787f0(0x15e)]||this[_0x4787f0(0x122)]['resume']());}['send'](_0x5522d4,_0xac5b3f,_0x3169c5){const _0x5f7114=_0x2d0983;if(this[_0x5f7114(0x1a6)]===_0x177c2d[_0x5f7114(0x1b3)])throw new Error(_0x5f7114(0x264));if(typeof _0xac5b3f=='function'&&(_0x3169c5=_0xac5b3f,_0xac5b3f={}),typeof _0x5522d4==_0x5f7114(0x1cb)&&(_0x5522d4=_0x5522d4[_0x5f7114(0x25b)]()),this[_0x5f7114(0x1a6)]!==_0x177c2d[_0x5f7114(0x147)]){_0x2f32b7(this,_0x5522d4,_0x3169c5);return;}const _0x11439c={'binary':typeof _0x5522d4!='string','mask':!this[_0x5f7114(0x205)],'compress':!0x0,'fin':!0x0,..._0xac5b3f};this[_0x5f7114(0x21e)][_0x2c87ab['extensionName']]||(_0x11439c[_0x5f7114(0xf3)]=!0x1),this['_sender'][_0x5f7114(0xfa)](_0x5522d4||_0x579cea,_0x11439c,_0x3169c5);}[_0x2d0983(0x19a)](){const _0x5b31fa=_0x2d0983;if(this[_0x5b31fa(0x1a6)]!==_0x177c2d[_0x5b31fa(0x1f9)]){if(this[_0x5b31fa(0x1a6)]===_0x177c2d[_0x5b31fa(0x1b3)]){_0x28457a(this,this[_0x5b31fa(0x1f2)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5b31fa(0x122)]&&(this[_0x5b31fa(0x105)]=_0x177c2d[_0x5b31fa(0x121)],this[_0x5b31fa(0x122)][_0x5b31fa(0x262)]());}}}Object[_0x2d0983(0x19d)](_0x177c2d,_0x2d0983(0x1b3),{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x1b3))}),Object[_0x2d0983(0x19d)](_0x177c2d[_0x2d0983(0x1d9)],'CONNECTING',{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x1b3))}),Object[_0x2d0983(0x19d)](_0x177c2d,_0x2d0983(0x147),{'enumerable':!0x0,'value':_0x1f8c4a['indexOf'](_0x2d0983(0x147))}),Object[_0x2d0983(0x19d)](_0x177c2d['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x147))}),Object[_0x2d0983(0x19d)](_0x177c2d,'CLOSING',{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x121))}),Object[_0x2d0983(0x19d)](_0x177c2d[_0x2d0983(0x1d9)],_0x2d0983(0x121),{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x121))}),Object[_0x2d0983(0x19d)](_0x177c2d,'CLOSED',{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x1f9))}),Object[_0x2d0983(0x19d)](_0x177c2d[_0x2d0983(0x1d9)],_0x2d0983(0x1f9),{'enumerable':!0x0,'value':_0x1f8c4a[_0x2d0983(0x12f)](_0x2d0983(0x1f9))}),[_0x2d0983(0x273),'bufferedAmount',_0x2d0983(0x27e),_0x2d0983(0x268),'protocol',_0x2d0983(0x1a6),'url']['forEach'](_0xf5bb79=>{const _0x298a8a=_0x2d0983;Object[_0x298a8a(0x19d)](_0x177c2d[_0x298a8a(0x1d9)],_0xf5bb79,{'enumerable':!0x0});}),['open',_0x2d0983(0x1c5),_0x2d0983(0x1a1),_0x2d0983(0x22d)][_0x2d0983(0x1b2)](_0x576e9d=>{const _0x408716=_0x2d0983;Object[_0x408716(0x19d)](_0x177c2d[_0x408716(0x1d9)],'on'+_0x576e9d,{'enumerable':!0x0,'get'(){const _0x2a0292=_0x408716;for(const _0x39793f of this[_0x2a0292(0x18f)](_0x576e9d))if(_0x39793f[_0x1a6a1c])return _0x39793f[_0xd8e4f2];return null;},'set'(_0x29c922){const _0x3e8b73=_0x408716;for(const _0x2cdbc3 of this['listeners'](_0x576e9d))if(_0x2cdbc3[_0x1a6a1c]){this[_0x3e8b73(0x263)](_0x576e9d,_0x2cdbc3);break;}typeof _0x29c922==_0x3e8b73(0x25e)&&this[_0x3e8b73(0x259)](_0x576e9d,_0x29c922,{[_0x1a6a1c]:!0x0});}});}),_0x177c2d[_0x2d0983(0x1d9)]['addEventListener']=_0x2a1726,_0x177c2d[_0x2d0983(0x1d9)][_0x2d0983(0x10d)]=_0x78cf9c,we=_0x177c2d;function _0x55349d(_0x4f1c68,_0x319f87,_0x35e8de,_0x2dfff4){const _0x5b0076=_0x2d0983,_0x596176={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4646d2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2dfff4,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5b0076(0x155),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4f1c68[_0x5b0076(0xde)]=_0x596176[_0x5b0076(0x232)],!_0x4646d2[_0x5b0076(0xfd)](_0x596176['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x596176[_0x5b0076(0x236)]+'\x20(supported\x20versions:\x20'+_0x4646d2['join'](',\x20')+')');let _0x58e4fc;if(_0x319f87 instanceof _0x7311a6)_0x58e4fc=_0x319f87;else try{_0x58e4fc=new _0x7311a6(_0x319f87);}catch{throw new SyntaxError(_0x5b0076(0x238)+_0x319f87);}_0x58e4fc[_0x5b0076(0xea)]===_0x5b0076(0x192)?_0x58e4fc['protocol']='ws:':_0x58e4fc['protocol']===_0x5b0076(0x165)&&(_0x58e4fc[_0x5b0076(0xea)]=_0x5b0076(0x17e)),_0x4f1c68['_url']=_0x58e4fc['href'];const _0x2ef436=_0x58e4fc['protocol']===_0x5b0076(0x17e),_0xbaa7b1=_0x58e4fc[_0x5b0076(0xea)]==='ws+unix:';let _0x454833;if(_0x58e4fc['protocol']!==_0x5b0076(0x13f)&&!_0x2ef436&&!_0xbaa7b1?_0x454833=_0x5b0076(0x1d7):_0xbaa7b1&&!_0x58e4fc[_0x5b0076(0xe4)]?_0x454833=_0x5b0076(0x247):_0x58e4fc['hash']&&(_0x454833=_0x5b0076(0x22c)),_0x454833){const _0x5d376c=new SyntaxError(_0x454833);if(_0x4f1c68[_0x5b0076(0x21b)]===0x0)throw _0x5d376c;_0x54cbc8(_0x4f1c68,_0x5d376c);return;}const _0x1e7fe5=_0x2ef436?0x1bb:0x50,_0x2d34d1=_0x2081bc(0x10)['toString'](_0x5b0076(0x12b)),_0x59782a=_0x2ef436?_0x4a7399[_0x5b0076(0x1d8)]:_0x531106[_0x5b0076(0x1d8)],_0x410aa9=new Set();let _0x3259c5;if(_0x596176[_0x5b0076(0x27d)]=_0x596176[_0x5b0076(0x27d)]||(_0x2ef436?_0x472963:_0x20bf5e),_0x596176['defaultPort']=_0x596176[_0x5b0076(0x21d)]||_0x1e7fe5,_0x596176[_0x5b0076(0x271)]=_0x58e4fc[_0x5b0076(0x271)]||_0x1e7fe5,_0x596176[_0x5b0076(0x23f)]=_0x58e4fc[_0x5b0076(0xef)][_0x5b0076(0x199)]('[')?_0x58e4fc[_0x5b0076(0xef)][_0x5b0076(0x1c2)](0x1,-0x1):_0x58e4fc['hostname'],_0x596176[_0x5b0076(0x137)]={..._0x596176[_0x5b0076(0x137)],'Sec-WebSocket-Version':_0x596176[_0x5b0076(0x236)],'Sec-WebSocket-Key':_0x2d34d1,'Connection':_0x5b0076(0x267),'Upgrade':_0x5b0076(0x153)},_0x596176['path']=_0x58e4fc[_0x5b0076(0xe4)]+_0x58e4fc['search'],_0x596176[_0x5b0076(0x1a8)]=_0x596176[_0x5b0076(0x15f)],_0x596176['perMessageDeflate']&&(_0x3259c5=new _0x2c87ab(_0x596176[_0x5b0076(0x160)]!==!0x0?_0x596176[_0x5b0076(0x160)]:{},!0x1,_0x596176[_0x5b0076(0x206)]),_0x596176[_0x5b0076(0x137)][_0x5b0076(0xf4)]=_0x3c54fd({[_0x2c87ab['extensionName']]:_0x3259c5['offer']()})),_0x35e8de[_0x5b0076(0x21c)]){for(const _0xd9f75a of _0x35e8de){if(typeof _0xd9f75a!=_0x5b0076(0x101)||!_0x246d32['test'](_0xd9f75a)||_0x410aa9[_0x5b0076(0x26d)](_0xd9f75a))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x410aa9[_0x5b0076(0xc3)](_0xd9f75a);}_0x596176[_0x5b0076(0x137)][_0x5b0076(0xe1)]=_0x35e8de[_0x5b0076(0x20b)](',');}if(_0x596176[_0x5b0076(0xf6)]&&(_0x596176[_0x5b0076(0x236)]<0xd?_0x596176['headers'][_0x5b0076(0x223)]=_0x596176[_0x5b0076(0xf6)]:_0x596176[_0x5b0076(0x137)][_0x5b0076(0x195)]=_0x596176[_0x5b0076(0xf6)]),(_0x58e4fc[_0x5b0076(0xcd)]||_0x58e4fc[_0x5b0076(0xed)])&&(_0x596176[_0x5b0076(0x1dd)]=_0x58e4fc[_0x5b0076(0xcd)]+':'+_0x58e4fc['password']),_0xbaa7b1){const _0x16e1b8=_0x596176[_0x5b0076(0x278)][_0x5b0076(0x25c)](':');_0x596176['socketPath']=_0x16e1b8[0x0],_0x596176['path']=_0x16e1b8[0x1];}let _0x11732a;if(_0x596176[_0x5b0076(0x15a)]){if(_0x4f1c68['_redirects']===0x0){_0x4f1c68[_0x5b0076(0xbf)]=_0xbaa7b1,_0x4f1c68['_originalSecure']=_0x2ef436,_0x4f1c68[_0x5b0076(0x1bd)]=_0xbaa7b1?_0x596176[_0x5b0076(0x258)]:_0x58e4fc[_0x5b0076(0x23f)];const _0x33b0b9=_0x2dfff4&&_0x2dfff4['headers'];if(_0x2dfff4={..._0x2dfff4,'headers':{}},_0x33b0b9){for(const [_0x300b82,_0x5bb987]of Object['entries'](_0x33b0b9))_0x2dfff4[_0x5b0076(0x137)][_0x300b82[_0x5b0076(0x1c8)]()]=_0x5bb987;}}else{if(_0x4f1c68[_0x5b0076(0x132)](_0x5b0076(0x120))===0x0){const _0x2d7d66=_0xbaa7b1?_0x4f1c68[_0x5b0076(0xbf)]?_0x596176[_0x5b0076(0x258)]===_0x4f1c68[_0x5b0076(0x1bd)]:!0x1:_0x4f1c68[_0x5b0076(0xbf)]?!0x1:_0x58e4fc[_0x5b0076(0x23f)]===_0x4f1c68['_originalHostOrSocketPath'];(!_0x2d7d66||_0x4f1c68[_0x5b0076(0xc9)]&&!_0x2ef436)&&(delete _0x596176[_0x5b0076(0x137)][_0x5b0076(0x172)],delete _0x596176[_0x5b0076(0x137)][_0x5b0076(0x277)],_0x2d7d66||delete _0x596176['headers'][_0x5b0076(0x23f)],_0x596176[_0x5b0076(0x1dd)]=void 0x0);}}_0x596176[_0x5b0076(0x1dd)]&&!_0x2dfff4['headers'][_0x5b0076(0x172)]&&(_0x2dfff4[_0x5b0076(0x137)][_0x5b0076(0x172)]=_0x5b0076(0x208)+Buffer[_0x5b0076(0x22f)](_0x596176[_0x5b0076(0x1dd)])[_0x5b0076(0x25b)](_0x5b0076(0x12b))),_0x11732a=_0x4f1c68['_req']=_0x59782a(_0x596176),_0x4f1c68['_redirects']&&_0x4f1c68['emit'](_0x5b0076(0x120),_0x4f1c68[_0x5b0076(0x17d)],_0x11732a);}else _0x11732a=_0x4f1c68[_0x5b0076(0x1f2)]=_0x59782a(_0x596176);_0x596176[_0x5b0076(0x1a8)]&&_0x11732a['on'](_0x5b0076(0x1a8),()=>{_0x28457a(_0x4f1c68,_0x11732a,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x11732a['on']('error',_0x167a52=>{const _0x4b08bb=_0x5b0076;_0x11732a===null||_0x11732a[_0x39fa65]||(_0x11732a=_0x4f1c68[_0x4b08bb(0x1f2)]=null,_0x54cbc8(_0x4f1c68,_0x167a52));}),_0x11732a['on']('response',_0x494c15=>{const _0x49d5b5=_0x5b0076,_0x5d8c50=_0x494c15['headers'][_0x49d5b5(0x27b)],_0x104e1f=_0x494c15[_0x49d5b5(0x225)];if(_0x5d8c50&&_0x596176[_0x49d5b5(0x15a)]&&_0x104e1f>=0x12c&&_0x104e1f<0x190){if(++_0x4f1c68[_0x49d5b5(0x21b)]>_0x596176[_0x49d5b5(0x1ff)]){_0x28457a(_0x4f1c68,_0x11732a,_0x49d5b5(0x13d));return;}_0x11732a[_0x49d5b5(0x191)]();let _0x1fb78f;try{_0x1fb78f=new _0x7311a6(_0x5d8c50,_0x319f87);}catch{const _0x334fcd=new SyntaxError(_0x49d5b5(0x238)+_0x5d8c50);_0x54cbc8(_0x4f1c68,_0x334fcd);return;}_0x55349d(_0x4f1c68,_0x1fb78f,_0x35e8de,_0x2dfff4);}else _0x4f1c68[_0x49d5b5(0x1d6)](_0x49d5b5(0x11b),_0x11732a,_0x494c15)||_0x28457a(_0x4f1c68,_0x11732a,_0x49d5b5(0x156)+_0x494c15['statusCode']);}),_0x11732a['on'](_0x5b0076(0x183),(_0x4fd8aa,_0x18d948,_0x428f39)=>{const _0x9ad287=_0x5b0076;if(_0x4f1c68[_0x9ad287(0x1d6)](_0x9ad287(0x183),_0x4fd8aa),_0x4f1c68['readyState']!==_0x177c2d[_0x9ad287(0x1b3)])return;_0x11732a=_0x4f1c68[_0x9ad287(0x1f2)]=null;const _0x264016=_0x4fd8aa[_0x9ad287(0x137)][_0x9ad287(0x183)];if(_0x264016===void 0x0||_0x264016['toLowerCase']()!=='websocket'){_0x28457a(_0x4f1c68,_0x18d948,_0x9ad287(0x18e));return;}const _0x364201=_0x1c2ccc('sha1')['update'](_0x2d34d1+_0x4e75be)[_0x9ad287(0xd4)](_0x9ad287(0x12b));if(_0x4fd8aa[_0x9ad287(0x137)][_0x9ad287(0x200)]!==_0x364201){_0x28457a(_0x4f1c68,_0x18d948,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xbb6977=_0x4fd8aa[_0x9ad287(0x137)][_0x9ad287(0x1fb)];let _0x62d974;if(_0xbb6977!==void 0x0?_0x410aa9[_0x9ad287(0x1d2)]?_0x410aa9[_0x9ad287(0x26d)](_0xbb6977)||(_0x62d974='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x62d974=_0x9ad287(0x1fa):_0x410aa9[_0x9ad287(0x1d2)]&&(_0x62d974='Server\x20sent\x20no\x20subprotocol'),_0x62d974){_0x28457a(_0x4f1c68,_0x18d948,_0x62d974);return;}_0xbb6977&&(_0x4f1c68[_0x9ad287(0x123)]=_0xbb6977);const _0x58d8be=_0x4fd8aa[_0x9ad287(0x137)][_0x9ad287(0x253)];if(_0x58d8be!==void 0x0){if(!_0x3259c5){_0x28457a(_0x4f1c68,_0x18d948,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4d6d94;try{_0x4d6d94=_0x379246(_0x58d8be);}catch{_0x28457a(_0x4f1c68,_0x18d948,_0x9ad287(0x26e));return;}const _0x53150d=Object[_0x9ad287(0x260)](_0x4d6d94);if(_0x53150d['length']!==0x1||_0x53150d[0x0]!==_0x2c87ab['extensionName']){_0x28457a(_0x4f1c68,_0x18d948,_0x9ad287(0x229));return;}try{_0x3259c5[_0x9ad287(0x1c4)](_0x4d6d94[_0x2c87ab[_0x9ad287(0x107)]]);}catch{_0x28457a(_0x4f1c68,_0x18d948,_0x9ad287(0x26e));return;}_0x4f1c68[_0x9ad287(0x21e)][_0x2c87ab['extensionName']]=_0x3259c5;}_0x4f1c68[_0x9ad287(0xd8)](_0x18d948,_0x428f39,{'allowSynchronousEvents':_0x596176['allowSynchronousEvents'],'generateMask':_0x596176['generateMask'],'maxPayload':_0x596176[_0x9ad287(0x206)],'skipUTF8Validation':_0x596176[_0x9ad287(0x239)]});}),_0x596176[_0x5b0076(0xd5)]?_0x596176['finishRequest'](_0x11732a,_0x4f1c68):_0x11732a[_0x5b0076(0x148)]();}function _0x54cbc8(_0x392862,_0x36bb0e){const _0x107f57=_0x2d0983;_0x392862[_0x107f57(0x105)]=_0x177c2d[_0x107f57(0x121)],_0x392862[_0x107f57(0x1f4)]=!0x0,_0x392862[_0x107f57(0x1d6)](_0x107f57(0x1c5),_0x36bb0e),_0x392862['emitClose']();}function _0x20bf5e(_0x330463){const _0x37d0f9=_0x2d0983;return _0x330463['path']=_0x330463['socketPath'],_0x253589[_0x37d0f9(0x127)](_0x330463);}function _0x472963(_0x39b072){const _0x1dde7e=_0x2d0983;return _0x39b072[_0x1dde7e(0x278)]=void 0x0,!_0x39b072[_0x1dde7e(0x1c6)]&&_0x39b072[_0x1dde7e(0x1c6)]!==''&&(_0x39b072[_0x1dde7e(0x1c6)]=_0x253589[_0x1dde7e(0x250)](_0x39b072[_0x1dde7e(0x23f)])?'':_0x39b072[_0x1dde7e(0x23f)]),_0x1e660b['connect'](_0x39b072);}function _0x28457a(_0x35453b,_0x3f6018,_0x114f9a){const _0x526538=_0x2d0983;_0x35453b['_readyState']=_0x177c2d[_0x526538(0x121)];const _0x346958=new Error(_0x114f9a);Error[_0x526538(0x103)](_0x346958,_0x28457a),_0x3f6018[_0x526538(0x10e)]?(_0x3f6018[_0x39fa65]=!0x0,_0x3f6018['abort'](),_0x3f6018[_0x526538(0x115)]&&!_0x3f6018['socket'][_0x526538(0x16b)]&&_0x3f6018[_0x526538(0x115)]['destroy'](),process['nextTick'](_0x54cbc8,_0x35453b,_0x346958)):(_0x3f6018[_0x526538(0x262)](_0x346958),_0x3f6018[_0x526538(0x26c)](_0x526538(0x1c5),_0x35453b[_0x526538(0x1d6)]['bind'](_0x35453b,_0x526538(0x1c5))),_0x3f6018['once'](_0x526538(0x1a1),_0x35453b['emitClose'][_0x526538(0x19f)](_0x35453b)));}function _0x2f32b7(_0x7daa22,_0x3b3129,_0xa9beba){const _0x5565f9=_0x2d0983;if(_0x3b3129){const _0x2795d8=_0x25b68e(_0x3b3129)?_0x3b3129[_0x5565f9(0x1d2)]:_0x2a5cec(_0x3b3129)[_0x5565f9(0x21c)];_0x7daa22[_0x5565f9(0x122)]?_0x7daa22['_sender'][_0x5565f9(0x182)]+=_0x2795d8:_0x7daa22[_0x5565f9(0x104)]+=_0x2795d8;}if(_0xa9beba){const _0xf5a23a=new Error(_0x5565f9(0x170)+_0x7daa22[_0x5565f9(0x1a6)]+'\x20('+_0x1f8c4a[_0x7daa22[_0x5565f9(0x1a6)]]+')');process['nextTick'](_0xa9beba,_0xf5a23a);}}function _0x62576a(_0x30b381,_0x42aec8){const _0x3ddf89=_0x2d0983,_0xdd095d=this[_0x523cbd];_0xdd095d['_closeFrameReceived']=!0x0,_0xdd095d['_closeMessage']=_0x42aec8,_0xdd095d[_0x3ddf89(0x1b1)]=_0x30b381,_0xdd095d['_socket'][_0x523cbd]!==void 0x0&&(_0xdd095d['_socket'][_0x3ddf89(0x263)](_0x3ddf89(0xfb),_0xe369f3),process[_0x3ddf89(0x142)](_0xad53b,_0xdd095d['_socket']),_0x30b381===0x3ed?_0xdd095d['close']():_0xdd095d['close'](_0x30b381,_0x42aec8));}function _0x1b1342(){const _0x296aeb=_0x2d0983,_0xb2bc9e=this[_0x523cbd];_0xb2bc9e[_0x296aeb(0x268)]||_0xb2bc9e[_0x296aeb(0x122)][_0x296aeb(0xe5)]();}function _0x35ef6e(_0x5ac1b6){const _0x157406=_0x2d0983,_0x81fa81=this[_0x523cbd];_0x81fa81['_socket'][_0x523cbd]!==void 0x0&&(_0x81fa81['_socket']['removeListener'](_0x157406(0xfb),_0xe369f3),process[_0x157406(0x142)](_0xad53b,_0x81fa81['_socket']),_0x81fa81[_0x157406(0x1a1)](_0x5ac1b6[_0x8e507b])),_0x81fa81['_errorEmitted']||(_0x81fa81[_0x157406(0x1f4)]=!0x0,_0x81fa81['emit']('error',_0x5ac1b6));}function _0x2e79de(){const _0x33d0af=_0x2d0983;this[_0x523cbd][_0x33d0af(0x226)]();}function _0x86677b(_0x3760fe,_0x2f8f1e){const _0x3e9a99=_0x2d0983;this[_0x523cbd]['emit'](_0x3e9a99(0x22d),_0x3760fe,_0x2f8f1e);}function _0x27029b(_0xf2122e){const _0x5b64d7=_0x2d0983,_0x344bef=this[_0x523cbd];_0x344bef[_0x5b64d7(0xde)]&&_0x344bef[_0x5b64d7(0x144)](_0xf2122e,!this['_isServer'],_0x1ae7c1),_0x344bef[_0x5b64d7(0x1d6)](_0x5b64d7(0x1a0),_0xf2122e);}function _0x22d914(_0x1aa6dd){const _0x5aca7e=_0x2d0983;this[_0x523cbd]['emit'](_0x5aca7e(0x144),_0x1aa6dd);}function _0xad53b(_0x30434c){const _0x20cefd=_0x2d0983;_0x30434c[_0x20cefd(0xe5)]();}function _0x1cd297(_0x4fa303){const _0x251481=_0x2d0983,_0x4d6573=this[_0x523cbd];_0x4d6573[_0x251481(0x1a6)]!==_0x177c2d[_0x251481(0x1f9)]&&(_0x4d6573['readyState']===_0x177c2d['OPEN']&&(_0x4d6573[_0x251481(0x105)]=_0x177c2d[_0x251481(0x121)],_0x52229b(_0x4d6573)),this['_socket'][_0x251481(0x148)](),_0x4d6573['_errorEmitted']||(_0x4d6573[_0x251481(0x1f4)]=!0x0,_0x4d6573[_0x251481(0x1d6)](_0x251481(0x1c5),_0x4fa303)));}function _0x52229b(_0x11fac4){const _0x359dc8=_0x2d0983;_0x11fac4[_0x359dc8(0x26b)]=setTimeout(_0x11fac4['_socket']['destroy'][_0x359dc8(0x19f)](_0x11fac4[_0x359dc8(0x122)]),_0x1f2aad);}function _0x2a90ea(){const _0x2494a8=_0x2d0983,_0x15819a=this[_0x523cbd];this[_0x2494a8(0x263)](_0x2494a8(0x1a1),_0x2a90ea),this[_0x2494a8(0x263)](_0x2494a8(0xfb),_0xe369f3),this[_0x2494a8(0x263)](_0x2494a8(0x148),_0x5f1e41),_0x15819a[_0x2494a8(0x105)]=_0x177c2d[_0x2494a8(0x121)];let _0x4e9334;!this['_readableState'][_0x2494a8(0x1b7)]&&!_0x15819a[_0x2494a8(0x1bf)]&&!_0x15819a['_receiver'][_0x2494a8(0x126)]['errorEmitted']&&(_0x4e9334=_0x15819a['_socket'][_0x2494a8(0x1ad)]())!==null&&_0x15819a[_0x2494a8(0x1f5)][_0x2494a8(0x152)](_0x4e9334),_0x15819a[_0x2494a8(0x1f5)][_0x2494a8(0x148)](),this[_0x523cbd]=void 0x0,clearTimeout(_0x15819a[_0x2494a8(0x26b)]),_0x15819a['_receiver'][_0x2494a8(0x126)]['finished']||_0x15819a['_receiver'][_0x2494a8(0x126)]['errorEmitted']?_0x15819a[_0x2494a8(0x226)]():(_0x15819a[_0x2494a8(0x1f5)]['on'](_0x2494a8(0x1c5),_0x2e79de),_0x15819a[_0x2494a8(0x1f5)]['on'](_0x2494a8(0xc5),_0x2e79de));}function _0xe369f3(_0x748cb9){const _0x870ed8=_0x2d0983;this[_0x523cbd][_0x870ed8(0x1f5)][_0x870ed8(0x152)](_0x748cb9)||this[_0x870ed8(0x1d4)]();}function _0x5f1e41(){const _0x308fab=_0x2d0983,_0x5de5b4=this[_0x523cbd];_0x5de5b4[_0x308fab(0x105)]=_0x177c2d['CLOSING'],_0x5de5b4['_receiver'][_0x308fab(0x148)](),this[_0x308fab(0x148)]();}function _0x3c602(){const _0x2db76e=_0x2d0983,_0x1e2ff3=this[_0x523cbd];this[_0x2db76e(0x263)](_0x2db76e(0x1c5),_0x3c602),this['on'](_0x2db76e(0x1c5),_0x1ae7c1),_0x1e2ff3&&(_0x1e2ff3[_0x2db76e(0x105)]=_0x177c2d[_0x2db76e(0x121)],this[_0x2db76e(0x262)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x554e34}=oe;function _0x32f517(_0x49211d){const _0x1f885e=_0x1750;_0x49211d[_0x1f885e(0x1d6)](_0x1f885e(0x1a1));}function _0x47e804(){const _0x1a370b=_0x1750;!this[_0x1a370b(0x16b)]&&this[_0x1a370b(0x126)]['finished']&&this['destroy']();}function _0x45072d(_0x5eb4ba){const _0x571920=_0x1750;this['removeListener'](_0x571920(0x1c5),_0x45072d),this['destroy'](),this['listenerCount']('error')===0x0&&this[_0x571920(0x1d6)](_0x571920(0x1c5),_0x5eb4ba);}function _0x2d8413(_0x24d16a,_0xf13725){const _0x35cf64=_0x1750;let _0x4ed379=!0x0;const _0x1ee8bd=new _0x554e34({..._0xf13725,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x24d16a['on'](_0x35cf64(0x22d),function(_0x281e5d,_0x44b34c){const _0x57ca1b=_0x35cf64,_0x437ba8=!_0x44b34c&&_0x1ee8bd[_0x57ca1b(0xdd)][_0x57ca1b(0x129)]?_0x281e5d[_0x57ca1b(0x25b)]():_0x281e5d;_0x1ee8bd[_0x57ca1b(0x180)](_0x437ba8)||_0x24d16a[_0x57ca1b(0x1d4)]();}),_0x24d16a[_0x35cf64(0x26c)](_0x35cf64(0x1c5),function(_0x487d45){const _0x59a4b2=_0x35cf64;_0x1ee8bd[_0x59a4b2(0x16b)]||(_0x4ed379=!0x1,_0x1ee8bd[_0x59a4b2(0x262)](_0x487d45));}),_0x24d16a['once'](_0x35cf64(0x1a1),function(){const _0x5c3c03=_0x35cf64;_0x1ee8bd[_0x5c3c03(0x16b)]||_0x1ee8bd['push'](null);}),_0x1ee8bd['_destroy']=function(_0x285ce4,_0x112773){const _0x3174d6=_0x35cf64;if(_0x24d16a[_0x3174d6(0x1a6)]===_0x24d16a[_0x3174d6(0x1f9)]){_0x112773(_0x285ce4),process[_0x3174d6(0x142)](_0x32f517,_0x1ee8bd);return;}let _0x5f27e4=!0x1;_0x24d16a[_0x3174d6(0x26c)](_0x3174d6(0x1c5),function(_0x10ac50){_0x5f27e4=!0x0,_0x112773(_0x10ac50);}),_0x24d16a['once'](_0x3174d6(0x1a1),function(){const _0x7ead30=_0x3174d6;_0x5f27e4||_0x112773(_0x285ce4),process[_0x7ead30(0x142)](_0x32f517,_0x1ee8bd);}),_0x4ed379&&_0x24d16a[_0x3174d6(0x19a)]();},_0x1ee8bd[_0x35cf64(0x13a)]=function(_0x7dd682){const _0x9cbaf=_0x35cf64;if(_0x24d16a[_0x9cbaf(0x1a6)]===_0x24d16a[_0x9cbaf(0x1b3)]){_0x24d16a[_0x9cbaf(0x26c)](_0x9cbaf(0x240),function(){const _0x25279d=_0x9cbaf;_0x1ee8bd[_0x25279d(0x13a)](_0x7dd682);});return;}_0x24d16a[_0x9cbaf(0x122)]!==null&&(_0x24d16a[_0x9cbaf(0x122)]['_writableState']['finished']?(_0x7dd682(),_0x1ee8bd[_0x9cbaf(0xdd)][_0x9cbaf(0x1b7)]&&_0x1ee8bd[_0x9cbaf(0x262)]()):(_0x24d16a[_0x9cbaf(0x122)][_0x9cbaf(0x26c)](_0x9cbaf(0xc5),function(){_0x7dd682();}),_0x24d16a['close']()));},_0x1ee8bd[_0x35cf64(0x283)]=function(){const _0x40ed86=_0x35cf64;_0x24d16a[_0x40ed86(0x268)]&&_0x24d16a[_0x40ed86(0xe5)]();},_0x1ee8bd[_0x35cf64(0x117)]=function(_0x468b0a,_0x4318f0,_0x3b0c95){const _0x143c82=_0x35cf64;if(_0x24d16a['readyState']===_0x24d16a[_0x143c82(0x1b3)]){_0x24d16a[_0x143c82(0x26c)](_0x143c82(0x240),function(){const _0xd13ef2=_0x143c82;_0x1ee8bd[_0xd13ef2(0x117)](_0x468b0a,_0x4318f0,_0x3b0c95);});return;}_0x24d16a['send'](_0x468b0a,_0x3b0c95);},_0x1ee8bd['on']('end',_0x47e804),_0x1ee8bd['on'](_0x35cf64(0x1c5),_0x45072d),_0x1ee8bd;}return Oe=_0x2d8413,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0x3fa8(){const _0x853857=['bind','ping','close','nodebuffer','server','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','readyState','next','timeout','stream','sec-websocket-origin','handleEvent','kAborted','read','onerror','Sec-WebSocket-Extensions:\x20','2iaclQe','_closeCode','forEach','CONNECTING','WS_ERR_UNEXPECTED_RSV_2_3','decompress','Z_DEFAULT_WINDOWBITS','endEmitted','zlibDeflateOptions','byteLength','@univerjs/network','rxjs','@univerjs-pro/collaboration','_originalHostOrSocketPath','noServer','_closeFrameReceived','_maxPayload','toDisposable','slice','unmask','accept','error','servername','pluginName','toLowerCase','concat','_totalPayloadLength','number','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','flush','readUInt32BE','sendFrame','enqueue','opcode','size','arrayBuffer','pause','_payloadLength','emit','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','request','prototype','target','getBlobData','_queue','auth','onopen','https','value','acceptAsServer','getOwnPropertyDescriptor','Unexpected\x20character\x20at\x20index\x20','format','onStarting','verifyClient','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_threshold','drain','charCodeAt','callback','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','controlMessage','listen','pending','_closeFrameSent','Invalid\x20WebSocket\x20frame:\x20','_req','Connection:\x20Upgrade','_errorEmitted','_receiver','_sender','readUInt16BE','completeUpgrade','CLOSED','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-protocol','HTTP/1.1\x20','_options','MASK\x20must\x20be\x20set','maxRedirects','sec-websocket-accept','createError','constructor','\x22\x20must\x20have\x20only\x20a\x20single\x20value','customHeaders','_isServer','maxPayload','268278IKWtRC','Basic\x20','params','4036712XDpzaY','join','byteOffset','HTTPService','conclude','default','WS_ERR_INVALID_CLOSE_CODE','656325mHnynA','kType','UniverCollaborationClientPlugin','allowSynchronousEvents','client_max_window_bits','_compressed','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','\x0d\x0a\x0d\x0a','update','WS_NO_BUFFER_UTIL','_redirects','length','defaultPort','_extensions','_fragmented','get','uncork','DisposableCollection','Sec-WebSocket-Origin','_inflate','statusCode','emitClose','STATUS_CODES','UniverCollaborationClientNodePlugin','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','serverMaxWindowBits','species','The\x20URL\x20contains\x20a\x20fragment\x20identifier','message','kByteLength','from','construct','WS_ERR_UNEXPECTED_MASK','autoPong','isArray','method','address','protocolVersion','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Invalid\x20URL:\x20','skipUTF8Validation','dataMessage','parse','options','_shouldEmitClose','clientMaxWindowBits','host','open','WebSocket','FIN\x20must\x20be\x20set','clientNoContextTakeover','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','The\x20\x22','Plugin','The\x20URL\x27s\x20pathname\x20is\x20empty','The\x20server\x20is\x20not\x20running','kDone','_mask','toStringTag','WS_ERR_EXPECTED_MASK','total-length','client','_decompress','isIP','wsClientError','sha1','sec-websocket-extensions','getPayloadLength64','_skipUTF8Validation','invalid\x20opcode\x200','ILogService','socketPath','addEventListener','kReason','toString','split','WS_ERR_INVALID_OPCODE','function','text/html','keys','WS_ERR_UNEXPECTED_RSV_1','destroy','removeListener','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kTarget','object','Upgrade','isPaused','RSV1\x20must\x20be\x20clear','test','_closeTimer','once','has','Invalid\x20Sec-WebSocket-Extensions\x20header','replace','dequeue','port','_max_window_bits','binaryType','_generateMask','values','alloc','cookie','path','ISnapshotServerService','_registerDependencies','location','generateMask','createConnection','extensions','call','writeUInt16BE','Unexpected\x20end\x20of\x20input','_closeMessage','_read','_originalIpc','dispatch','onclose','onmessage','add','Inject','finish','reset','concurrencyLimit','binary','_originalSecure','21NYZWMv','normalizeParams','acceptAsClient','username','Blob','jobs','Invalid\x20HTTP\x20method','bufferedAmount','invalid\x20opcode\x20','handleProtocols','digest','finishRequest','Invalid\x20value\x20for\x20parameter\x20\x22','listening','setSocket','mask','isInteger','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','createSocket','_readableState','_autoPong','@univerjs/core','zlibInflateOptions','Sec-WebSocket-Protocol','fragments','WS_NO_UTF_8_VALIDATE','pathname','resume','pow','readOnly','delete','getInfo','protocol','sec-websocket-key','setConfig','password','allocUnsafe','hostname','find','code','_loop','compress','Sec-WebSocket-Extensions','writeUIntBE','origin','_no_context_takeover','crypto','consume','send','data','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','includes','startLoop','Module','_masked','string','isServer','captureStackTrace','_bufferedAmount','_readyState','NodeCollaborationSocketService','extensionName','apply','_errored','getMask','permessage-deflate','isView','removeEventListener','setHeader','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_binaryType','_paused','_deflate','client_no_context_takeover','_buffers','socket','invalid\x20status\x20code\x20','_write','File','CollaborationSocketService','unshift','unexpected-response','getPayloadLength16','DependentOn','__esModule','authorized','redirect','CLOSING','_socket','_protocol','_injector','backlog','_writableState','connect','collaboration-client-node.config','objectMode','then','base64','invalid\x20payload\x20length\x20','concurrency','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','indexOf','_fragments','_maskBuffer','listenerCount','setTimeout','@univerjs-pro/collaboration-client','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','type','headers','\x22\x20subprotocol\x20is\x20duplicated','exports','_final','Injector','Observable','Maximum\x20redirects\x20exceeded','events','ws:','serverNoContextTakeover','wasClean','nextTick','800688JaPTrm','pong','Sec-WebSocket-Accept:\x20','reason','OPEN','end','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','\x22:\x20','clientTracking','_server','isBuffer','pipe','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','295934VUTGvj','_removeListeners','write','websocket','kData','GET','Unexpected\x20server\x20response:\x20','errorEmitted','getData','hasOwnProperty','followRedirects','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Disposable','share','needDrain','handshakeTimeout','perMessageDeflate','WS_ERR_INVALID_UTF8','haveLength','threshold','tls','https:','cleanup','set','_messageLength','shouldHandle','net','destroyed','cork','server_max_window_bits','_state','shift','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_configService','authorization','freeze','_fin','handleUpgrade','fin','8223759eBeJPg','env','map','registerHTTPInterceptor','arraybuffer','isValidUTF8','url','wss:','_opcode','push','offer','_bufferedBytes','upgrade','create','408375PXrwPK','server_no_context_takeover','frame','kMessage','createInflateRaw','_httpService','_firstFragment','zlib','invalid\x20UTF-8\x20sequence','Invalid\x20Upgrade\x20header','listeners','blob','abort','http:','removeAllListeners','setNoDelay','Origin','_compress','connection','IConfigService','startsWith','terminate','createDeflateRaw','clients','defineProperty','_allowSynchronousEvents'];_0x3fa8=function(){return _0x853857;};return _0x3fa8();}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x548a6e}=ae();function _0x160436(_0x319731){const _0x51315e=_0x1750,_0x2e9e42=new Set();let _0x20b17b=-0x1,_0x434c90=-0x1,_0x10833d=0x0;for(_0x10833d;_0x10833d<_0x319731[_0x51315e(0x21c)];_0x10833d++){const _0x56e642=_0x319731[_0x51315e(0x1ea)](_0x10833d);if(_0x434c90===-0x1&&_0x548a6e[_0x56e642]===0x1)_0x20b17b===-0x1&&(_0x20b17b=_0x10833d);else{if(_0x10833d!==0x0&&(_0x56e642===0x20||_0x56e642===0x9))_0x434c90===-0x1&&_0x20b17b!==-0x1&&(_0x434c90=_0x10833d);else{if(_0x56e642===0x2c){if(_0x20b17b===-0x1)throw new SyntaxError(_0x51315e(0x1e3)+_0x10833d);_0x434c90===-0x1&&(_0x434c90=_0x10833d);const _0x5cc71f=_0x319731[_0x51315e(0x1c2)](_0x20b17b,_0x434c90);if(_0x2e9e42[_0x51315e(0x26d)](_0x5cc71f))throw new SyntaxError(_0x51315e(0x245)+_0x5cc71f+_0x51315e(0x138));_0x2e9e42[_0x51315e(0xc3)](_0x5cc71f),_0x20b17b=_0x434c90=-0x1;}else throw new SyntaxError(_0x51315e(0x1e3)+_0x10833d);}}}if(_0x20b17b===-0x1||_0x434c90!==-0x1)throw new SyntaxError(_0x51315e(0x281));const _0x2e81fd=_0x319731['slice'](_0x20b17b,_0x10833d);if(_0x2e9e42['has'](_0x2e81fd))throw new SyntaxError(_0x51315e(0x245)+_0x2e81fd+_0x51315e(0x138));return _0x2e9e42[_0x51315e(0xc3)](_0x2e81fd),_0x2e9e42;}return Ce={'parse':_0x160436},Ce;}var Te,rt;function Ft(){const _0x4227ad=_0x34a264;if(rt)return Te;rt=0x1;const _0x11a116=nt,_0x24f67a=ot,{Duplex:_0x3dc5b8}=oe,{createHash:_0x829a2a}=Le,_0x57e506=ct(),_0x3b886e=he(),_0x27c61d=At(),_0x82303b=Pe(),{GUID:_0x4f436c,kWebSocket:_0x4b7520}=H(),_0x36b431=/^[+/0-9A-Za-z]{22}==$/,_0x2aae25=0x0,_0x3a4ee5=0x1,_0x4b94ab=0x2;class _0x17bede extends _0x11a116{constructor(_0x5e06fd,_0x491565){const _0x394c6d=_0x1750;if(super(),_0x5e06fd={'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':_0x82303b,..._0x5e06fd},_0x5e06fd[_0x394c6d(0x271)]==null&&!_0x5e06fd['server']&&!_0x5e06fd[_0x394c6d(0x1be)]||_0x5e06fd[_0x394c6d(0x271)]!=null&&(_0x5e06fd[_0x394c6d(0x1a3)]||_0x5e06fd[_0x394c6d(0x1be)])||_0x5e06fd[_0x394c6d(0x1a3)]&&_0x5e06fd[_0x394c6d(0x1be)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5e06fd['port']!=null?(this['_server']=_0x24f67a['createServer']((_0x50fcf8,_0x5df441)=>{const _0x530698=_0x394c6d,_0x5eac54=_0x24f67a['STATUS_CODES'][0x1aa];_0x5df441['writeHead'](0x1aa,{'Content-Length':_0x5eac54[_0x530698(0x21c)],'Content-Type':'text/plain'}),_0x5df441[_0x530698(0x148)](_0x5eac54);}),this['_server'][_0x394c6d(0x1ee)](_0x5e06fd['port'],_0x5e06fd['host'],_0x5e06fd[_0x394c6d(0x125)],_0x491565)):_0x5e06fd[_0x394c6d(0x1a3)]&&(this[_0x394c6d(0x14c)]=_0x5e06fd[_0x394c6d(0x1a3)]),this['_server']){const _0x597c55=this[_0x394c6d(0x1d6)][_0x394c6d(0x19f)](this,_0x394c6d(0x197));this[_0x394c6d(0x151)]=_0x352e27(this[_0x394c6d(0x14c)],{'listening':this['emit'][_0x394c6d(0x19f)](this,_0x394c6d(0xd7)),'error':this[_0x394c6d(0x1d6)][_0x394c6d(0x19f)](this,'error'),'upgrade':(_0x14074e,_0x1f3415,_0x3f8a77)=>{const _0x2148cb=_0x394c6d;this[_0x2148cb(0x175)](_0x14074e,_0x1f3415,_0x3f8a77,_0x597c55);}});}_0x5e06fd[_0x394c6d(0x160)]===!0x0&&(_0x5e06fd[_0x394c6d(0x160)]={}),_0x5e06fd[_0x394c6d(0x14b)]&&(this[_0x394c6d(0x19c)]=new Set(),this[_0x394c6d(0x23d)]=!0x1),this[_0x394c6d(0x23c)]=_0x5e06fd,this['_state']=_0x2aae25;}[_0x4227ad(0x235)](){const _0x44cacd=_0x4227ad;if(this[_0x44cacd(0x23c)]['noServer'])throw new Error(_0x44cacd(0x1cc));return this[_0x44cacd(0x14c)]?this[_0x44cacd(0x14c)][_0x44cacd(0x235)]():null;}[_0x4227ad(0x1a1)](_0x44738d){const _0xe85158=_0x4227ad;if(this['_state']===_0x4b94ab){_0x44738d&&this['once'](_0xe85158(0x1a1),()=>{const _0x3f0e23=_0xe85158;_0x44738d(new Error(_0x3f0e23(0x248)));}),process[_0xe85158(0x142)](_0x5cc017,this);return;}if(_0x44738d&&this[_0xe85158(0x26c)]('close',_0x44738d),this[_0xe85158(0x16e)]!==_0x3a4ee5){if(this[_0xe85158(0x16e)]=_0x3a4ee5,this['options']['noServer']||this[_0xe85158(0x23c)]['server'])this[_0xe85158(0x14c)]&&(this[_0xe85158(0x151)](),this[_0xe85158(0x151)]=this[_0xe85158(0x14c)]=null),this[_0xe85158(0x19c)]?this['clients'][_0xe85158(0x1d2)]?this[_0xe85158(0x23d)]=!0x0:process[_0xe85158(0x142)](_0x5cc017,this):process['nextTick'](_0x5cc017,this);else{const _0x4e0f53=this[_0xe85158(0x14c)];this['_removeListeners'](),this[_0xe85158(0x151)]=this[_0xe85158(0x14c)]=null,_0x4e0f53[_0xe85158(0x1a1)](()=>{_0x5cc017(this);});}}}['shouldHandle'](_0x2ba70c){const _0x714d3e=_0x4227ad;if(this[_0x714d3e(0x23c)][_0x714d3e(0x278)]){const _0x13f100=_0x2ba70c[_0x714d3e(0x17d)]['indexOf']('?');if((_0x13f100!==-0x1?_0x2ba70c['url'][_0x714d3e(0x1c2)](0x0,_0x13f100):_0x2ba70c[_0x714d3e(0x17d)])!==this[_0x714d3e(0x23c)][_0x714d3e(0x278)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5f3d9a,_0x3178d5,_0x5f48e2,_0x5dd3cb){const _0x573122=_0x4227ad;_0x3178d5['on'](_0x573122(0x1c5),_0x2f8a3a);const _0x3dc198=_0x5f3d9a[_0x573122(0x137)][_0x573122(0xeb)],_0x23af62=_0x5f3d9a[_0x573122(0x137)][_0x573122(0x183)],_0x2514c7=+_0x5f3d9a[_0x573122(0x137)]['sec-websocket-version'];if(_0x5f3d9a[_0x573122(0x234)]!==_0x573122(0x155)){_0x487660(this,_0x5f3d9a,_0x3178d5,0x195,_0x573122(0xd0));return;}if(_0x23af62===void 0x0||_0x23af62['toLowerCase']()!=='websocket'){_0x487660(this,_0x5f3d9a,_0x3178d5,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3dc198===void 0x0||!_0x36b431[_0x573122(0x26a)](_0x3dc198)){_0x487660(this,_0x5f3d9a,_0x3178d5,0x190,_0x573122(0xdb));return;}if(_0x2514c7!==0x8&&_0x2514c7!==0xd){_0x487660(this,_0x5f3d9a,_0x3178d5,0x190,_0x573122(0x15b));return;}if(!this[_0x573122(0x169)](_0x5f3d9a)){_0x353dc4(_0x3178d5,0x190);return;}const _0x50f7a0=_0x5f3d9a[_0x573122(0x137)][_0x573122(0x1fb)];let _0x3b5bea=new Set();if(_0x50f7a0!==void 0x0)try{_0x3b5bea=_0x27c61d[_0x573122(0x23b)](_0x50f7a0);}catch{_0x487660(this,_0x5f3d9a,_0x3178d5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5ab035=_0x5f3d9a[_0x573122(0x137)][_0x573122(0x253)],_0x533d23={};if(this[_0x573122(0x23c)]['perMessageDeflate']&&_0x5ab035!==void 0x0){const _0x58d9cc=new _0x3b886e(this[_0x573122(0x23c)][_0x573122(0x160)],!0x0,this[_0x573122(0x23c)]['maxPayload']);try{const _0x20270e=_0x57e506['parse'](_0x5ab035);_0x20270e[_0x3b886e['extensionName']]&&(_0x58d9cc[_0x573122(0x1c4)](_0x20270e[_0x3b886e[_0x573122(0x107)]]),_0x533d23[_0x3b886e[_0x573122(0x107)]]=_0x58d9cc);}catch{_0x487660(this,_0x5f3d9a,_0x3178d5,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x573122(0x23c)]['verifyClient']){const _0x6a355={'origin':_0x5f3d9a[_0x573122(0x137)][''+(_0x2514c7===0x8?_0x573122(0x1aa):_0x573122(0xf6))],'secure':!!(_0x5f3d9a['socket'][_0x573122(0x11f)]||_0x5f3d9a['socket']['encrypted']),'req':_0x5f3d9a};if(this[_0x573122(0x23c)][_0x573122(0x1e6)]['length']===0x2){this['options'][_0x573122(0x1e6)](_0x6a355,(_0x55f928,_0x2458aa,_0x49e315,_0x1a10a1)=>{const _0x380e52=_0x573122;if(!_0x55f928)return _0x353dc4(_0x3178d5,_0x2458aa||0x191,_0x49e315,_0x1a10a1);this[_0x380e52(0x1f8)](_0x533d23,_0x3dc198,_0x3b5bea,_0x5f3d9a,_0x3178d5,_0x5f48e2,_0x5dd3cb);});return;}if(!this[_0x573122(0x23c)]['verifyClient'](_0x6a355))return _0x353dc4(_0x3178d5,0x191);}this[_0x573122(0x1f8)](_0x533d23,_0x3dc198,_0x3b5bea,_0x5f3d9a,_0x3178d5,_0x5f48e2,_0x5dd3cb);}[_0x4227ad(0x1f8)](_0x18105e,_0x53fabd,_0x57e9be,_0xdfe284,_0x35b63c,_0x463fa3,_0x2d7308){const _0x30d150=_0x4227ad;if(!_0x35b63c['readable']||!_0x35b63c['writable'])return _0x35b63c[_0x30d150(0x262)]();if(_0x35b63c[_0x4b7520])throw new Error(_0x30d150(0x135));if(this[_0x30d150(0x16e)]>_0x2aae25)return _0x353dc4(_0x35b63c,0x1f7);const _0x135ef8=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x30d150(0x1f3),_0x30d150(0x145)+_0x829a2a(_0x30d150(0x252))[_0x30d150(0x219)](_0x53fabd+_0x4f436c)['digest'](_0x30d150(0x12b))],_0x2e61fd=new this['options'][(_0x30d150(0x241))](null,void 0x0,this[_0x30d150(0x23c)]);if(_0x57e9be[_0x30d150(0x1d2)]){const _0x3c9079=this[_0x30d150(0x23c)][_0x30d150(0xd3)]?this[_0x30d150(0x23c)][_0x30d150(0xd3)](_0x57e9be,_0xdfe284):_0x57e9be[_0x30d150(0x275)]()[_0x30d150(0x1a7)]()[_0x30d150(0x1e0)];_0x3c9079&&(_0x135ef8[_0x30d150(0x180)]('Sec-WebSocket-Protocol:\x20'+_0x3c9079),_0x2e61fd[_0x30d150(0x123)]=_0x3c9079);}if(_0x18105e[_0x3b886e[_0x30d150(0x107)]]){const _0x4f2c93=_0x18105e[_0x3b886e[_0x30d150(0x107)]]['params'],_0x3013ad=_0x57e506[_0x30d150(0x1e4)]({[_0x3b886e['extensionName']]:[_0x4f2c93]});_0x135ef8[_0x30d150(0x180)](_0x30d150(0x1af)+_0x3013ad),_0x2e61fd[_0x30d150(0x21e)]=_0x18105e;}this[_0x30d150(0x1d6)](_0x30d150(0x137),_0x135ef8,_0xdfe284),_0x35b63c[_0x30d150(0x152)](_0x135ef8['concat']('\x0d\x0a')[_0x30d150(0x20b)]('\x0d\x0a')),_0x35b63c[_0x30d150(0x263)](_0x30d150(0x1c5),_0x2f8a3a),_0x2e61fd['setSocket'](_0x35b63c,_0x463fa3,{'allowSynchronousEvents':this[_0x30d150(0x23c)][_0x30d150(0x214)],'maxPayload':this[_0x30d150(0x23c)][_0x30d150(0x206)],'skipUTF8Validation':this[_0x30d150(0x23c)][_0x30d150(0x239)]}),this[_0x30d150(0x19c)]&&(this[_0x30d150(0x19c)]['add'](_0x2e61fd),_0x2e61fd['on'](_0x30d150(0x1a1),()=>{const _0x51d337=_0x30d150;this['clients'][_0x51d337(0xe8)](_0x2e61fd),this[_0x51d337(0x23d)]&&!this[_0x51d337(0x19c)][_0x51d337(0x1d2)]&&process[_0x51d337(0x142)](_0x5cc017,this);})),_0x2d7308(_0x2e61fd,_0xdfe284);}}Te=_0x17bede;function _0x352e27(_0x2502a1,_0x35288d){const _0x2cf121=_0x4227ad;for(const _0x48a995 of Object[_0x2cf121(0x260)](_0x35288d))_0x2502a1['on'](_0x48a995,_0x35288d[_0x48a995]);return function(){const _0x223e12=_0x2cf121;for(const _0x24f2ae of Object[_0x223e12(0x260)](_0x35288d))_0x2502a1[_0x223e12(0x263)](_0x24f2ae,_0x35288d[_0x24f2ae]);};}function _0x5cc017(_0x225c6a){const _0x374d1c=_0x4227ad;_0x225c6a[_0x374d1c(0x16e)]=_0x4b94ab,_0x225c6a[_0x374d1c(0x1d6)](_0x374d1c(0x1a1));}function _0x2f8a3a(){const _0x1d3dc5=_0x4227ad;this[_0x1d3dc5(0x262)]();}function _0x353dc4(_0x3ec14f,_0x12f2c9,_0x24976d,_0x2013ef){const _0x2a5146=_0x4227ad;_0x24976d=_0x24976d||_0x24f67a[_0x2a5146(0x227)][_0x12f2c9],_0x2013ef={'Connection':_0x2a5146(0x1a1),'Content-Type':_0x2a5146(0x25f),'Content-Length':Buffer[_0x2a5146(0x1b9)](_0x24976d),..._0x2013ef},_0x3ec14f['once'](_0x2a5146(0xc5),_0x3ec14f['destroy']),_0x3ec14f[_0x2a5146(0x148)](_0x2a5146(0x1fc)+_0x12f2c9+'\x20'+_0x24f67a[_0x2a5146(0x227)][_0x12f2c9]+'\x0d\x0a'+Object[_0x2a5146(0x260)](_0x2013ef)['map'](_0x3fa0f8=>_0x3fa0f8+':\x20'+_0x2013ef[_0x3fa0f8])['join']('\x0d\x0a')+_0x2a5146(0x218)+_0x24976d);}function _0x487660(_0x4b7bde,_0x3de5c1,_0x5d81bc,_0x2943ed,_0xae88ad){const _0x2626f7=_0x4227ad;if(_0x4b7bde[_0x2626f7(0x132)](_0x2626f7(0x251))){const _0x594107=new Error(_0xae88ad);Error[_0x2626f7(0x103)](_0x594107,_0x487660),_0x4b7bde[_0x2626f7(0x1d6)](_0x2626f7(0x251),_0x594107,_0x5d81bc,_0x3de5c1);}else _0x353dc4(_0x5d81bc,_0x2943ed,_0xae88ad);}return Te;}Ft();var jt=Object[_0x34a264(0x1e2)],Wt=(_0x2342dc,_0x5eecdc,_0x1a9f16,_0x424a7f)=>{for(var _0x5af79a=_0x424a7f>0x1?void 0x0:_0x424a7f?jt(_0x5eecdc,_0x1a9f16):_0x5eecdc,_0x31aa01=_0x2342dc['length']-0x1,_0x29e7bc;_0x31aa01>=0x0;_0x31aa01--)(_0x29e7bc=_0x2342dc[_0x31aa01])&&(_0x5af79a=_0x29e7bc(_0x5af79a)||_0x5af79a);return _0x5af79a;},qt=(_0x364088,_0x10c6b8)=>(_0x5a77ff,_0x3ced79)=>_0x10c6b8(_0x5a77ff,_0x3ced79,_0x364088);let ke=class extends A[_0x34a264(0x15c)]{constructor(_0x47ce0c){const _0x31742d=_0x34a264;super(),this[_0x31742d(0x171)]=_0x47ce0c;}['createSocket'](_0x5a7128){const _0x13f82a=_0x34a264;var _0x5dc3cc;const _0x2b8f55=(_0x5dc3cc=this[_0x13f82a(0x171)]['getConfig'](fe))==null?void 0x0:_0x5dc3cc[_0x13f82a(0x204)];try{const _0x2f5304=new $t(_0x5a7128,{'headers':{..._0x2b8f55}}),_0x307be2=new A[(_0x13f82a(0x222))]();return{'URL':_0x5a7128,'close':(_0x374279,_0xe56cab)=>{const _0x414dba=_0x13f82a;_0x2f5304[_0x414dba(0x1a1)](_0x374279,_0xe56cab),_0x307be2['dispose']();},'send':_0x4dc71e=>{_0x2f5304['send'](_0x4dc71e);},'open$':new V[(_0x13f82a(0x13c))](_0x123deb=>{const _0x597eae=_0x13f82a,_0x5ee947=_0x446257=>_0x123deb[_0x597eae(0x1a7)](_0x446257);_0x2f5304[_0x597eae(0x259)](_0x597eae(0x240),_0x5ee947),_0x307be2[_0x597eae(0xc3)](A[_0x597eae(0x1c1)](()=>_0x2f5304[_0x597eae(0x10d)](_0x597eae(0x240),_0x5ee947)));})['pipe'](V[_0x13f82a(0x15d)]()),'close$':new V['Observable'](_0xa6f6f9=>{const _0x4cec4c=_0x13f82a,_0x4872a6=_0x21f081=>_0xa6f6f9[_0x4cec4c(0x1a7)](_0x21f081);_0x2f5304[_0x4cec4c(0x259)](_0x4cec4c(0x1a1),_0x4872a6),_0x307be2[_0x4cec4c(0xc3)](A[_0x4cec4c(0x1c1)](()=>_0x2f5304[_0x4cec4c(0x10d)](_0x4cec4c(0x1a1),_0x4872a6)));})[_0x13f82a(0x14e)](V[_0x13f82a(0x15d)]()),'error$':new V['Observable'](_0x2d0b08=>{const _0x59e096=_0x13f82a,_0x4bcf92=_0x315a48=>_0x2d0b08[_0x59e096(0x1a7)](_0x315a48);_0x2f5304[_0x59e096(0x259)]('error',_0x4bcf92),_0x307be2[_0x59e096(0xc3)](A['toDisposable'](()=>_0x2f5304[_0x59e096(0x10d)](_0x59e096(0x1c5),_0x4bcf92)));})['pipe'](V[_0x13f82a(0x15d)]()),'message$':new V[(_0x13f82a(0x13c))](_0x573cc4=>{const _0xbe8e53=_0x13f82a,_0x9abbf9=_0x421ee5=>_0x573cc4[_0xbe8e53(0x1a7)](_0x421ee5);_0x2f5304['addEventListener'](_0xbe8e53(0x22d),_0x9abbf9),_0x307be2[_0xbe8e53(0xc3)](A[_0xbe8e53(0x1c1)](()=>_0x2f5304[_0xbe8e53(0x10d)](_0xbe8e53(0x22d),_0x9abbf9)));})['pipe'](V[_0x13f82a(0x15d)]())};}catch(_0x48b933){return console[_0x13f82a(0x1c5)](_0x48b933),null;}}};ke=Wt([qt(0x0,A[_0x34a264(0x198)])],ke);var Gt=Object[_0x34a264(0x19d)],Vt=Object[_0x34a264(0x1e2)],Ht=(_0x3a786d,_0x52dec5,_0x58d8ce)=>_0x52dec5 in _0x3a786d?Gt(_0x3a786d,_0x52dec5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58d8ce}):_0x3a786d[_0x52dec5]=_0x58d8ce,zt=(_0x407695,_0x12c305,_0x2bda5a,_0x23ade2)=>{for(var _0x58c08f=_0x23ade2>0x1?void 0x0:_0x23ade2?Vt(_0x12c305,_0x2bda5a):_0x12c305,_0x23be9b=_0x407695['length']-0x1,_0x29f981;_0x23be9b>=0x0;_0x23be9b--)(_0x29f981=_0x407695[_0x23be9b])&&(_0x58c08f=_0x29f981(_0x58c08f)||_0x58c08f);return _0x58c08f;},Ne=(_0x1c8125,_0x34c1bb)=>(_0x1eaae2,_0x2a6b46)=>_0x34c1bb(_0x1eaae2,_0x2a6b46,_0x1c8125),Yt=(_0x4f63a3,_0x2a79a9,_0x598346)=>Ht(_0x4f63a3,_0x2a79a9+'',_0x598346);exports[_0x34a264(0x228)]=class extends A[_0x34a264(0x246)]{constructor(_0x345e33=Ct,_0x42e575,_0x4b1d33,_0x148359){const _0x1830a0=_0x34a264;_0x345e33['customHeaders']||_0x42e575['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x1830a0(0x171)]=_0x4b1d33,this[_0x1830a0(0x124)]=_0x148359,this[_0x1830a0(0x171)][_0x1830a0(0xec)](fe,_0x345e33);}[_0x34a264(0x1e5)](){const _0x1e2f9=_0x34a264;this[_0x1e2f9(0x27a)]();}[_0x34a264(0x27a)](){const _0x58dd0b=_0x34a264;A['registerDependencies'](this[_0x58dd0b(0x124)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x34a264(0x228)],_0x34a264(0x1c7),_0x34a264(0x1ec)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x34a264(0x11d)](st[_0x34a264(0x213)]),Ne(0x1,A[_0x34a264(0x257)]),Ne(0x2,A[_0x34a264(0x198)]),Ne(0x3,A[_0x34a264(0xc4)](A[_0x34a264(0x13b)]))],exports[_0x34a264(0x228)]);var Kt=Object[_0x34a264(0x1e2)],Xt=(_0x3e2ac1,_0x356c03,_0xe5365e,_0x4ccc72)=>{const _0x105a64=_0x34a264;for(var _0x32f799=_0x4ccc72>0x1?void 0x0:_0x4ccc72?Kt(_0x356c03,_0xe5365e):_0x356c03,_0x4666e2=_0x3e2ac1[_0x105a64(0x21c)]-0x1,_0xb14418;_0x4666e2>=0x0;_0x4666e2--)(_0xb14418=_0x3e2ac1[_0x4666e2])&&(_0x32f799=_0xb14418(_0x32f799)||_0x32f799);return _0x32f799;},ne=(_0x249f25,_0x301e58)=>(_0x4e3d00,_0x284e53)=>_0x301e58(_0x4e3d00,_0x284e53,_0x249f25);exports[_0x34a264(0x106)]=class extends st[_0x34a264(0x119)]{constructor(_0x3f1f68,_0x5f2715,_0x329083,_0x4da398,_0x5ddacd){const _0xede6=_0x34a264;super(_0x3f1f68,_0x5f2715,_0x329083,_0x4da398,_0x5ddacd);const _0x535556=this['_configService']['getConfig'](fe);this[_0xede6(0x18a)][_0xede6(0x17a)]({'interceptor':(_0x2d1cc4,_0x456972)=>{const _0x18245b=_0xede6;var _0x2d197c;const _0x3e712f=_0x2d1cc4[_0x18245b(0x137)];return(_0x2d197c=_0x535556==null?void 0x0:_0x535556['customHeaders'])!=null&&_0x2d197c[_0x18245b(0x277)]&&_0x3e712f[_0x18245b(0x167)]('Cookie',_0x535556[_0x18245b(0x204)]['cookie']),_0x456972(_0x2d1cc4);}});}async[_0x34a264(0xdc)](_0x4ada08){return this['_doCreateSocket'](_0x4ada08);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x34a264(0xc4)](A[_0x34a264(0x13b)])),ne(0x1,A[_0x34a264(0xc4)](it[_0x34a264(0x20d)])),ne(0x2,A[_0x34a264(0x198)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x34a264(0x279)])],exports[_0x34a264(0x106)]),exports[_0x34a264(0x10f)]=fe;
|